From b27b28693d38c0834faf121889a6990547a11f14 Mon Sep 17 00:00:00 2001 From: Treeki Date: Sun, 7 Oct 2012 23:06:58 +0200 Subject: more climb sound fixes shit --- src/randomcrap.S | 29 +++++++++++++++++++++++++++-- 1 file changed, 27 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/randomcrap.S b/src/randomcrap.S index 64e98c1..1653ce7 100644 --- a/src/randomcrap.S +++ b/src/randomcrap.S @@ -41,8 +41,33 @@ DontDoThis: blr .global newClimbSounds -.extern StagePtr newClimbSounds: + li r7, 0x134 + b effectNewClimbSounds +.global newClimbSoundsJump +newClimbSoundsJump: + li r7, 0x136 + b effectNewClimbSounds +.global newClimbSoundsJumpS +newClimbSoundsJumpS: + li r7, 0x137 + b effectNewClimbSounds +.global newClimbSoundsJumpSS +newClimbSoundsJumpSS: + li r7, 0x138 + b effectNewClimbSounds +.global newClimbSoundsLand +newClimbSoundsLand: + li r7, 0x139 + b effectNewClimbSounds +.global newClimbSoundsAttack +newClimbSoundsAttack: + li r7, 0x13A + b effectNewClimbSounds + + +.extern StagePtr +effectNewClimbSounds: lis r6, StagePtr@h ori r6, r6, StagePtr@l lwz r6, 0(r6) @@ -54,7 +79,7 @@ newClimbSounds: beq pngn cmpwi r6, 0x40E beq climb - li r4, 0x134 + mr r4, r7 blr pngn: li r4, 0xE1 -- cgit v1.2.3