summaryrefslogtreecommitdiff
path: root/scripts/route24.asm
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/route24.asm')
-rwxr-xr-xscripts/route24.asm8
1 files changed, 4 insertions, 4 deletions
diff --git a/scripts/route24.asm b/scripts/route24.asm
index cafb3f8e..89ddeded 100755
--- a/scripts/route24.asm
+++ b/scripts/route24.asm
@@ -38,10 +38,10 @@ Route24Script0: ; 513d5 (14:53d5)
res 1, [hl]
ret z
ld a, $80
- ld [wccd3], a
+ ld [wSimulatedJoypadStatesEnd], a
ld a, $1
- ld [wcd38], a
- call Func_3486
+ ld [wSimulatedJoypadStatesIndex], a
+ call StartSimulatingJoypadStates
ld a, $4
ld [W_ROUTE24CURSCRIPT], a
ld [W_CURMAPSCRIPT], a
@@ -51,7 +51,7 @@ CoordsData_5140e: ; 5140e (14:540e)
db $0F,$0A,$FF
Route24Script4: ; 51411 (14:5411)
- ld a, [wcd38]
+ ld a, [wSimulatedJoypadStatesIndex]
and a
ret nz
call Delay3