diff options
author | Astatin <[email protected]> | 2024-11-07 17:22:34 +0900 |
---|---|---|
committer | Astatin <[email protected]> | 2024-11-07 17:22:34 +0900 |
commit | c7be90f10a2b8bca27edab06c0bc8e164d4a7d9a (patch) | |
tree | 5a2175b943b288072496404341f6f8a2d342b769 /main.gbasm | |
parent | 6c8f7c72cb96ce59ffcda5279225381ecb394b4f (diff) |
Fix out of VBlank VRAM update + add pause actions toggle on OpenDialogue
Diffstat (limited to 'main.gbasm')
-rw-r--r-- | main.gbasm | 17 |
1 files changed, 13 insertions, 4 deletions
@@ -107,6 +107,7 @@ VBLANK_Entrypoint: CALL =Display_Prepared_Block CALL =Display_Object + CALL =Copy_Dialogue_Buffer CALL $OAM_DMA_Transfer_routine ; LYC @@ -116,14 +117,21 @@ VBLANK_Entrypoint: .RESET_STAT_INTERRUPT EI - CALL =Object_Interactions_Check - CALL =Pad_Button_Check - CALL =Entities_Actions - CALL =Update_Animation_Steps + LD A, $mem_current_mode + CP $enum_dungeon_mode + JR NZ, =Skip_Dungeon_Update + + CALL =Object_Interactions_Check + CALL =Entities_Actions CALL =Prepare_Scrolling_Map + + Skip_Dungeon_Update: + + CALL =Update_Animation_Steps CALL =Display_Entities + .ENABLE_VBLANK_INTERRUPTS RET @@ -181,5 +189,6 @@ STAT_Entrypoint: .INCLUDE "entity/actions.gbasm" .INCLUDE "entity/collisions.gbasm" .INCLUDE "entity/display.gbasm" +.INCLUDE "gui.gbasm" .INCLUDE "tileset.gbasm" .INCLUDE "dialogues.gbasm" |