summaryrefslogtreecommitdiff
path: root/src/randomcrap.S
diff options
context:
space:
mode:
Diffstat (limited to 'src/randomcrap.S')
-rw-r--r--src/randomcrap.S16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/randomcrap.S b/src/randomcrap.S
index ff5f1ba..a5f6751 100644
--- a/src/randomcrap.S
+++ b/src/randomcrap.S
@@ -187,6 +187,7 @@ HeapChangeAttempt:
.global UniversalFunctionLog
UniversalFunctionLog:
stwu r1, -0x10(r1)
+ mflr r0
stw r0, 0x14(r1)
stw r31, 0xC(r1)
stw r30, 0x8(r1)
@@ -299,6 +300,21 @@ FixFireballSensorSetup:
mr r3, r30
b ContinueFromFixFireballSensorSetup
+.global BigMetSlidingFix
+BigMetSlidingFix:
+ stwu r1, -0x10(r1)
+ mflr r0
+ stw r0, 0x14(r1)
+ lwz r4, 4(r5)
+ lwz r12, 0x60(r3)
+ lwz r12, 0x220(r12)
+ mtctr r12
+ bctrl
+ li r3, 1
+ lwz r0, 0x14(r1)
+ mtlr r0
+ addi r1, r1, 0x10
+ blr
.data
.global BGScaleFront, BGScaleBack, BGScaleEnabled
BGScale: