aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/AgathasRoom.asm
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/AgathasRoom.asm')
-rw-r--r--scripts/AgathasRoom.asm4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/AgathasRoom.asm b/scripts/AgathasRoom.asm
index 0f3acc18..2d0dca08 100644
--- a/scripts/AgathasRoom.asm
+++ b/scripts/AgathasRoom.asm
@@ -11,8 +11,8 @@ AgathasRoom_Script:
AgathaShowOrHideExitBlock:
; Blocks or clears the exit to the next room.
ld hl, wCurrentMapScriptFlags
- bit 5, [hl]
- res 5, [hl]
+ bit BIT_CUR_MAP_LOADED_1, [hl]
+ res BIT_CUR_MAP_LOADED_1, [hl]
ret z
CheckEvent EVENT_BEAT_AGATHAS_ROOM_TRAINER_0
jr z, .blockExitToNextRoom