summaryrefslogtreecommitdiff
path: root/scripts/silphco5.asm
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/silphco5.asm')
-rwxr-xr-xscripts/silphco5.asm2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/silphco5.asm b/scripts/silphco5.asm
index 080ed963..d09848ba 100755
--- a/scripts/silphco5.asm
+++ b/scripts/silphco5.asm
@@ -9,7 +9,7 @@ SilphCo5Script: ; 19f37 (6:5f37)
ret
SilphCo5Script_19f4d: ; 19f4d (6:5f4d)
- ld hl, wd126
+ ld hl, wCurrentMapScriptFlags
bit 5, [hl]
res 5, [hl]
ret z