diff options
author | Astatin <[email protected]> | 2025-04-08 13:13:21 +0200 |
---|---|---|
committer | Astatin <[email protected]> | 2025-04-08 13:13:21 +0200 |
commit | 85c478d0c2368c0a38fa3e6aa4d4e9070ea63fc3 (patch) | |
tree | bebf24df46c6520f27f70c2fc932bc132d252e63 /map/objects.gbasm | |
parent | fb8e853fd0c6660696e762f67877b4d24a9f4c22 (diff) |
Add loading screen with the floor count on dungeon generation
Diffstat (limited to 'map/objects.gbasm')
-rw-r--r-- | map/objects.gbasm | 19 |
1 files changed, 5 insertions, 14 deletions
diff --git a/map/objects.gbasm b/map/objects.gbasm index 80832a7..ae2b60f 100644 --- a/map/objects.gbasm +++ b/map/objects.gbasm @@ -142,18 +142,10 @@ Object_Interaction_Jump_table: JP =Restore_EP_Action Stairs_Action: - DI - LD A, $00 - LD $reg_interrupt_flags, A - .Wait_VBlank: - LD A, $reg_lcd_status - AND $03 - CP $01 - JR NZ, =.Wait_VBlank - - ; LCDC - XOR A - LD $reg_lcd_controller, A + LD A, $enum_dungeon_generation_mode + LD $mem_current_mode, A + LD $mem_requested_mode, A + CALL =Update_VBlank_Handler LD A, $mem_floor_count INC A @@ -163,8 +155,7 @@ Stairs_Action: LD $mem_floor_count, A .skip_update_floor_count: - CALL =Reset_Map - JP =New_Dungeon + RET Heal_Action: LD A, $mem_bunny_health |