From ad0ee431fc6f9b6fb4aa8c5946dff95cc68a8829 Mon Sep 17 00:00:00 2001 From: Hyper <34012267+hyperbx@users.noreply.github.com> Date: Wed, 20 Nov 2024 01:10:29 +0000 Subject: [PATCH] player_patches: added penalty to Unleash Cancel --- UnleashedRecomp/patches/player_patches.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/UnleashedRecomp/patches/player_patches.cpp b/UnleashedRecomp/patches/player_patches.cpp index 8eb2330a..8b987cfd 100644 --- a/UnleashedRecomp/patches/player_patches.cpp +++ b/UnleashedRecomp/patches/player_patches.cpp @@ -86,7 +86,7 @@ void PostUnleashMidAsmHook(PPCRegister& r30) if (m_isUnleashCancelled) { if (auto pEvilSonicContext = (SWA::Player::CEvilSonicContext*)g_memory.Translate(r30.u32)) - pEvilSonicContext->m_DarkGaiaEnergy = m_lastDarkGaiaEnergy; + pEvilSonicContext->m_DarkGaiaEnergy = m_lastDarkGaiaEnergy - 35.0f; m_isUnleashCancelled = false; }