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