summaryrefslogtreecommitdiff
path: root/scripts/route5gate.asm
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/route5gate.asm')
-rwxr-xr-xscripts/route5gate.asm8
1 files changed, 4 insertions, 4 deletions
diff --git a/scripts/route5gate.asm b/scripts/route5gate.asm
index 0e8d0d1c..bee70e77 100755
--- a/scripts/route5gate.asm
+++ b/scripts/route5gate.asm
@@ -10,10 +10,10 @@ Route5GateScriptPointers: ; 1df3f (7:5f3f)
Route5GateScript_1df43: ; 1df43 (7:5f43)
ld a, $40
- ld [wccd3], a
+ ld [wSimulatedJoypadStatesEnd], a
ld a, $1
- ld [wcd38], a
- jp Func_3486
+ ld [wSimulatedJoypadStatesIndex], a
+ jp StartSimulatingJoypadStates
Route5GateScript0: ; 1df50 (7:5f50)
ld a, [wd728]
@@ -51,7 +51,7 @@ CoordsData_1df8f: ; 1df8f (7:5f8f)
db $ff
Route5GateScript1: ; 1df94 (7:5f94)
- ld a, [wcd38]
+ ld a, [wSimulatedJoypadStatesIndex]
and a
ret nz
call Delay3