summaryrefslogtreecommitdiff
path: root/scripts/route25.asm
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/route25.asm')
-rwxr-xr-xscripts/route25.asm8
1 files changed, 4 insertions, 4 deletions
diff --git a/scripts/route25.asm b/scripts/route25.asm
index 20dcc890..8df84d95 100755
--- a/scripts/route25.asm
+++ b/scripts/route25.asm
@@ -2,9 +2,9 @@ Route25Script: ; 515cb (14:55cb)
call EnableAutoTextBoxDrawing
ld hl, Route25TrainerHeaders
ld de, Route25ScriptPointers
- ld a, [W_ROUTE25CURSCRIPT]
+ ld a, [wRoute25CurScript]
call ExecuteCurMapScriptInTable
- ld [W_ROUTE25CURSCRIPT], a
+ ld [wRoute25CurScript], a
call Route25Script_515e1
ret
@@ -15,8 +15,8 @@ Route25Script_515e1: ; 515e1 (14:55e1)
res 4, [hl]
res 7, [hl]
xor a
- ld [W_BILLSHOUSECURSCRIPT], a
- ld hl, wd126
+ ld [wBillsHouseCurScript], a
+ ld hl, wCurrentMapScriptFlags
bit 6, [hl]
res 6, [hl]
ret z