summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/poweruphax.S10
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