aboutsummaryrefslogtreecommitdiff
path: root/gui.gbasm
diff options
context:
space:
mode:
Diffstat (limited to 'gui.gbasm')
-rw-r--r--gui.gbasm3
1 files changed, 3 insertions, 0 deletions
diff --git a/gui.gbasm b/gui.gbasm
index a3e89e1..1cc94c4 100644
--- a/gui.gbasm
+++ b/gui.gbasm
@@ -299,6 +299,9 @@ Check_dialogue_action:
RET
Check_Open_Menu_button:
+ LD A, $mem_dungeon_flags
+ BIT 4, A
+ RET Z
LD A, $mem_current_mode
CP $enum_dungeon_mode
RET NZ