summaryrefslogtreecommitdiff
path: root/scripts/silphco6.asm
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/silphco6.asm')
-rwxr-xr-xscripts/silphco6.asm6
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/silphco6.asm b/scripts/silphco6.asm
index fa199069..406bc373 100755
--- a/scripts/silphco6.asm
+++ b/scripts/silphco6.asm
@@ -3,13 +3,13 @@ SilphCo6Script: ; 1a1a9 (6:61a9)
call EnableAutoTextBoxDrawing
ld hl, SilphCo6TrainerHeaders
ld de, SilphCo6ScriptPointers
- ld a, [W_SILPHCO6CURSCRIPT]
+ ld a, [wSilphCo6CurScript]
call ExecuteCurMapScriptInTable
- ld [W_SILPHCO6CURSCRIPT], a
+ ld [wSilphCo6CurScript], a
ret
SilphCo6Script_1a1bf: ; 1a1bf (6:61bf)
- ld hl, wd126
+ ld hl, wCurrentMapScriptFlags
bit 5, [hl]
res 5, [hl]
ret z