aboutsummaryrefslogtreecommitdiff
path: root/main.gbasm
diff options
context:
space:
mode:
authorAstatin <[email protected]>2024-11-11 17:56:54 +0900
committerAstatin <[email protected]>2024-11-11 17:56:54 +0900
commitd605c2900ae7c62f1937e250a2ae489678d99214 (patch)
tree4c1fc76f3b9e50b5f8461784fc349bff685e465a /main.gbasm
parent5eb8b27696e9fa2f60fd75ffb1b31fe049fcc772 (diff)
Add dungeon menu choice selection mode
Diffstat (limited to 'main.gbasm')
-rw-r--r--main.gbasm7
1 files changed, 7 insertions, 0 deletions
diff --git a/main.gbasm b/main.gbasm
index 27d9ac7..a888b70 100644
--- a/main.gbasm
+++ b/main.gbasm
@@ -84,6 +84,10 @@ New_Dungeon:
LD A, $00
LD $mem_display_flag, A
+ LD A, $enum_dungeon_mode
+ LD $mem_current_mode, A
+ LD $mem_requested_mode, A
+
.ENABLE_WINDOW_NO_WAIT_HBLANK
.ENABLE_VBLANK_INTERRUPTS
EI
@@ -108,6 +112,7 @@ VBLANK_Entrypoint:
CALL =Display_Prepared_Block
CALL =Display_Object
CALL =Copy_Dialogue_Buffer
+ CALL =Display_dialogue_cursor
CALL $OAM_DMA_Transfer_routine
; LYC
@@ -130,6 +135,8 @@ VBLANK_Entrypoint:
Skip_Dungeon_Update:
CALL =Update_Animation_Steps
+ CALL =Move_dialogue_cursor
+ CALL =Check_dialogue_action
CALL =Display_Entities
.ENABLE_VBLANK_INTERRUPTS