summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTreeki <treeki@gmail.com>2012-04-28 18:09:21 +0200
committerTreeki <treeki@gmail.com>2012-04-28 18:09:21 +0200
commit9534a0a6dc0bde85c397fe2bca2bbca0a6b69f6e (patch)
treed64fae9d65d12236ecbe93d9c7c23f615041e69a /src
parentc60dbb8bcdb585753980cadda66f012ffb71f1ec (diff)
downloadkamek-9534a0a6dc0bde85c397fe2bca2bbca0a6b69f6e.tar.gz
kamek-9534a0a6dc0bde85c397fe2bca2bbca0a6b69f6e.zip
powerup texture fixed for toad
Diffstat (limited to '')
-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