aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/BrunosRoom.asm
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/BrunosRoom.asm')
-rw-r--r--scripts/BrunosRoom.asm4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/BrunosRoom.asm b/scripts/BrunosRoom.asm
index 94ec7d17..6d7fde6e 100644
--- a/scripts/BrunosRoom.asm
+++ b/scripts/BrunosRoom.asm
@@ -11,8 +11,8 @@ BrunosRoom_Script:
BrunoShowOrHideExitBlock:
; 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_BRUNOS_ROOM_TRAINER_0
jr z, .blockExitToNextRoom