aboutsummaryrefslogtreecommitdiff
path: root/modes/dungeon.gbasm
diff options
context:
space:
mode:
authorAstatin <[email protected]>2025-08-27 17:04:54 +0200
committerAstatin <[email protected]>2025-08-27 17:04:54 +0200
commit09a173d2f1123b6ac203c247094c312473705802 (patch)
tree83be7ff3a2f804492a9edc7b7234399f12d11534 /modes/dungeon.gbasm
parentfb897a615f65af2ff99dc6070067262c809a2ac4 (diff)
Fix health not updated on death, fix penguin freeze not working on bunny blink, fix entity initial spawn
Diffstat (limited to 'modes/dungeon.gbasm')
-rw-r--r--modes/dungeon.gbasm22
1 files changed, 9 insertions, 13 deletions
diff --git a/modes/dungeon.gbasm b/modes/dungeon.gbasm
index 0386a5f..ae9d052 100644
--- a/modes/dungeon.gbasm
+++ b/modes/dungeon.gbasm
@@ -163,20 +163,16 @@ Dungeon_VBLANK_Entrypoint:
CALL $OAM_DMA_Transfer_routine
- LD A, $mem_current_mode
- BIT 7, A
- JR NZ, =Skip_VBlank_Dungeon_Update
- LD HL, $9d60
- LD A, $mem_bunny_health
- CALL =Print_8bit
+ LD HL, $9d60
+ LD A, $mem_bunny_health
+ CALL =Print_8bit
- LD HL, $9d64
- LD A, $mem_bunny_mana
- CALL =Print_8bit
+ LD HL, $9d64
+ LD A, $mem_bunny_mana
+ CALL =Print_8bit
- CALL =Display_Prepared_Blocks
- CALL =Display_Object
- Skip_VBlank_Dungeon_Update:
+ CALL =Display_Prepared_Blocks
+ CALL =Display_Object
; LYC
.ENABLE_LYC_INTERRUPT
@@ -192,7 +188,7 @@ Dungeon_VBLANK_Entrypoint:
CALL =Entities_Actions
CALL =Object_Interactions_Check
- CALL =Respawn_Entities
+ CALL =Maybe_Respawn_Entity
CALL =Prepare_Scrolling_Map
Skip_Dungeon_Update: