diff options
author | Astatin <[email protected]> | 2025-03-07 15:01:07 +0900 |
---|---|---|
committer | Astatin <[email protected]> | 2025-03-07 15:01:07 +0900 |
commit | 3649b73eca599701db818dbbf470b1b17e660083 (patch) | |
tree | e2116939c2cfa66806cb039fb68ee236eef21658 /main.gbasm | |
parent | b04c85f5316b58a60b5ae161e9bbf3a20cf1b084 (diff) |
Fix walk on deleted objects + fix out of vblank on dialogue close and object draw
Diffstat (limited to 'main.gbasm')
-rw-r--r-- | main.gbasm | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -65,6 +65,9 @@ .END .MACRODEF ENABLE_VBLANK_INTERRUPTS + LD A, $reg_interrupt_flags + RES 0, A + LD $reg_interrupt_flags, A LD A, $03 LD $reg_interrupt_enable, A .END @@ -154,7 +157,6 @@ New_Dungeon: .SET_WINDOW_LCDC_E .ENABLE_TOP_BAR .ENABLE_VBLANK_INTERRUPTS - .HBLANK_WAIT EI Wait_for_Interrupt.loop: HALT @@ -162,7 +164,6 @@ New_Dungeon: JP =Wait_for_Interrupt.loop VBLANK_Entrypoint: - DBG .SET_WINDOW_LCDC_E .ENABLE_TOP_BAR @@ -202,7 +203,6 @@ VBLANK_Entrypoint: .skip_stop: LD $dbg_var A - DBG ; LYC LD A, $0a LD $reg_lyc, A |