summaryrefslogtreecommitdiff
path: root/scripts/agatha.asm
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/agatha.asm')
-rwxr-xr-xscripts/agatha.asm2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/agatha.asm b/scripts/agatha.asm
index 1216f53a..674bbcdc 100755
--- a/scripts/agatha.asm
+++ b/scripts/agatha.asm
@@ -10,7 +10,7 @@ AgathaScript: ; 7642d (1d:642d)
AgathaShowOrHideExitBlock: ; 76443 (1d:6443)
; Blocks or clears the exit to the next room.
- ld hl, wd126
+ ld hl, wCurrentMapScriptFlags
bit 5, [hl]
res 5, [hl]
ret z