From 623986662d631c124ea61f96b44f3de410b4e052 Mon Sep 17 00:00:00 2001 From: Treeki Date: Sun, 3 Mar 2013 02:52:30 +0100 Subject: fix the broken fireball setup --- src/randomcrap.S | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'src/randomcrap.S') diff --git a/src/randomcrap.S b/src/randomcrap.S index 2956300..ff5f1ba 100644 --- a/src/randomcrap.S +++ b/src/randomcrap.S @@ -287,6 +287,18 @@ ExitStageReal: stwu r1, -0x20(r1) b ExitStageRealRest + +.global FixFireballSensorSetup +.extern ContinueFromFixFireballSensorSetup +FixFireballSensorSetup: + mr r3, r30 + lwz r12, 0x60(r3) + lwz r12, 0x11C(r12) + mtctr r12 + bctrl + mr r3, r30 + b ContinueFromFixFireballSensorSetup + .data .global BGScaleFront, BGScaleBack, BGScaleEnabled BGScale: -- cgit v1.2.3