From 635b9c4cab523100a797b17b28788281159371c0 Mon Sep 17 00:00:00 2001 From: Sylvie <35663410+Rangi42@users.noreply.github.com> Date: Tue, 24 Sep 2024 11:39:44 -0400 Subject: Identify `wCurrentMapScriptFlags` bits (#467) --- scripts/AgathasRoom.asm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'scripts/AgathasRoom.asm') 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 -- cgit v1.3.1-sl0p