diff options
Diffstat (limited to 'src/poweruphax.S')
-rw-r--r-- | src/poweruphax.S | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/poweruphax.S b/src/poweruphax.S index f8d1c2a..cf6ecb6 100644 --- a/src/poweruphax.S +++ b/src/poweruphax.S @@ -612,6 +612,16 @@ gotHammerStatus: +.extern continueToadPowerupSet +.global ToadPowerupFix +ToadPowerupFix: + lis r8, PowerupTextures@h + ori r8, r8, PowerupTextures@l + slwi r9, r4, 2 + lfsx f1, r8, r9 + fadds f31, f31, f1 + b continueToadPowerupSet + .data |