diff options
author | Colin Noga <Tempus@chronometry.ca> | 2012-03-06 21:50:10 -0600 |
---|---|---|
committer | Colin Noga <Tempus@chronometry.ca> | 2012-03-06 21:50:10 -0600 |
commit | 19632e9b183402bb9a05030e12d0f1003765c31a (patch) | |
tree | 36fd2cd8141539e2811ed016f3e2f85de6055eb4 /src/soundPlayer.S | |
parent | 31fa0c0911000444af0e3b668caf51f061517689 (diff) | |
download | kamek-19632e9b183402bb9a05030e12d0f1003765c31a.tar.gz kamek-19632e9b183402bb9a05030e12d0f1003765c31a.zip |
Improvements to ThwompaDomp, game.h, added Poodle, topman sprite
Diffstat (limited to 'src/soundPlayer.S')
-rw-r--r-- | src/soundPlayer.S | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/src/soundPlayer.S b/src/soundPlayer.S index 8866460..1cf7cbd 100644 --- a/src/soundPlayer.S +++ b/src/soundPlayer.S @@ -137,3 +137,31 @@ StopSound: mtlr r0 blr + + + + +# No where else to put this at the time, fuckit +.global KnockMarioBack +KnockMarioBack: + + stwu r1, -0x10(r1) + mflr r0 + stw r0, 0x14(r1) + stw r31, 0xC(r1) + stw r30, 0x8(r1) + + lwz r3, 4(r3) + mr r4, r4 + li r5, 3 + lwz r12, 0x60(r3) + lwz r12, 0x3F4(r12) + mtctr r12 + bctrl + + lwz r0, 0x14(r1) + lwz r4, 0xC(r1) + lwz r3, 0x8(r1) + mtlr r0 + addi r1, r1, 0x10 + blr
\ No newline at end of file |