summaryrefslogtreecommitdiff
path: root/scripts/route25.asm
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/route25.asm')
-rwxr-xr-xscripts/route25.asm6
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/route25.asm b/scripts/route25.asm
index 49580ba6..15b52b81 100755
--- a/scripts/route25.asm
+++ b/scripts/route25.asm
@@ -3,13 +3,13 @@ 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
ret
Route25Script_515e1: ; 515e1 (14:55e1)
- ld hl, wd126
+ ld hl, wCurrentMapScriptFlags
bit 6, [hl]
res 6, [hl]
ret z