summaryrefslogtreecommitdiff
path: root/scripts/route16gate.asm
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/route16gate.asm')
-rwxr-xr-xscripts/route16gate.asm10
1 files changed, 5 insertions, 5 deletions
diff --git a/scripts/route16gate.asm b/scripts/route16gate.asm
index 5af4e0b2..df478b1f 100755
--- a/scripts/route16gate.asm
+++ b/scripts/route16gate.asm
@@ -2,7 +2,7 @@ Route16GateScript:
ld hl, wd732
res 5, [hl]
call EnableAutoTextBoxDrawing
- ld a, [W_ROUTE16GATECURSCRIPT]
+ ld a, [wRoute16GateCurScript]
ld hl, Route16GateScriptPointers
jp JumpTable
@@ -36,11 +36,11 @@ Route16GateScript0:
call FillMemory
call StartSimulatingJoypadStates
ld a, $1
- ld [W_ROUTE16GATECURSCRIPT], a
+ ld [wRoute16GateCurScript], a
ret
.asm_4970e
ld a, $2
- ld [W_ROUTE16GATECURSCRIPT], a
+ ld [wRoute16GateCurScript], a
ret
CoordsData_49714:
@@ -67,7 +67,7 @@ Route16GateScript2:
ld [wSimulatedJoypadStatesEnd], a
call StartSimulatingJoypadStates
ld a, $3
- ld [W_ROUTE16GATECURSCRIPT], a
+ ld [wRoute16GateCurScript], a
ret
Route16GateScript3:
@@ -79,7 +79,7 @@ Route16GateScript3:
ld hl, wd730
res 7, [hl]
ld a, $0
- ld [W_ROUTE16GATECURSCRIPT], a
+ ld [wRoute16GateCurScript], a
ret
Route16GateScript_49755: