diff options
author | Astatin <[email protected]> | 2025-01-24 18:08:33 +0900 |
---|---|---|
committer | Astatin <[email protected]> | 2025-01-24 18:08:33 +0900 |
commit | 1a6621e5b1da42ee4b6b9132790ec744efc009c2 (patch) | |
tree | 89aeb457555655d2e4ed74a0fe32bfca74851a26 /main.gbasm | |
parent | 57326c9acf9cbb025d54093fb90fd70614659400 (diff) |
Add laser enemy attack
Diffstat (limited to 'main.gbasm')
-rw-r--r-- | main.gbasm | 14 |
1 files changed, 10 insertions, 4 deletions
@@ -116,10 +116,6 @@ VBLANK_Entrypoint: LD A, $palette_bold_font LD $reg_bg_palette, A - LD HL, $9c00 - LD A, $mem_bunny_health - CALL =Print_8bit - LD HL, $9c12 LD A, $dbg_VBLANK_STATE CALL =Print_8bit @@ -130,6 +126,10 @@ VBLANK_Entrypoint: LD A, $mem_current_mode CP $enum_dungeon_mode JR NZ, =Skip_VBlank_Dungeon_Update + LD HL, $9c00 + LD A, $mem_bunny_health + CALL =Print_8bit + CALL =Display_Prepared_Block CALL =Display_Object Skip_VBlank_Dungeon_Update: @@ -160,9 +160,15 @@ VBLANK_Entrypoint: CALL =Respawn_Entities CALL =Prepare_Scrolling_Map + LD A, $mem_current_mode + LD B, A + LD A, $mem_animation_wait_frames + Skip_Dungeon_Update: + LD A, $mem_current_mode CALL =Loading_Mode_Regular + CALL =Animation_Wait_Mode CALL =Update_Animation_Steps CALL =Check_Open_Menu_button CALL =Move_dialogue_cursor |