From 9534a0a6dc0bde85c397fe2bca2bbca0a6b69f6e Mon Sep 17 00:00:00 2001 From: Treeki Date: Sat, 28 Apr 2012 18:09:21 +0200 Subject: powerup texture fixed for toad --- src/poweruphax.S | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'src') 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 -- cgit v1.2.3