aboutsummaryrefslogtreecommitdiff
path: root/main.gbasm
diff options
context:
space:
mode:
authorAstatin <[email protected]>2025-02-28 16:18:56 +0900
committerAstatin <[email protected]>2025-02-28 16:18:56 +0900
commitafc683fd953bee5b7c9bed2439492cc7c1f87a49 (patch)
tree1c32128b51ca7cabed22f6d582a6d21cd4bcb7f3 /main.gbasm
parent398c9d42b691bc633d22dff85bc2ac29ed635efa (diff)
Fix entity corruption on spawn entity right after entity cancel from collision in dungeon init
Diffstat (limited to 'main.gbasm')
-rw-r--r--main.gbasm7
1 files changed, 1 insertions, 6 deletions
diff --git a/main.gbasm b/main.gbasm
index a30bb36..24090ca 100644
--- a/main.gbasm
+++ b/main.gbasm
@@ -168,8 +168,7 @@ VBLANK_Entrypoint:
LD $reg_bg_palette, A
LD HL, $9d72
- LD A, $dbg_VBLANK_STATE
- LD A, $mem_bunny_x
+ LD A, $dbg_var
CALL =Print_8bit
CALL $OAM_DMA_Transfer_routine
@@ -193,10 +192,6 @@ VBLANK_Entrypoint:
CALL =Copy_Dialogue_Buffer
CALL =Display_dialogue_cursor
- LD A, $reg_lcd_status
- AND $03
- LD $dbg_VBLANK_STATE, A
-
; LYC
LD A, $0a
LD $reg_lyc, A