Add event flags

This commit is contained in:
2025-05-19 22:53:17 -05:00
parent 057ed10851
commit 7cd96e20d2
9 changed files with 229 additions and 7 deletions

View File

@@ -61,7 +61,11 @@ func _on_Battle_pressed():
print("Battle pressed")
func _on_Event_pressed():
print("Event pressed")
close()
if UI.EVENT_FLAG_MENU.isOpen():
UI.EVENT_FLAG_MENU.close()
else:
UI.EVENT_FLAG_MENU.open()
func _on_Inventory_pressed():
close()