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 /animation.gbasm | |
parent | 57326c9acf9cbb025d54093fb90fd70614659400 (diff) |
Add laser enemy attack
Diffstat (limited to 'animation.gbasm')
-rw-r--r-- | animation.gbasm | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/animation.gbasm b/animation.gbasm index 1307796..7bc997a 100644 --- a/animation.gbasm +++ b/animation.gbasm @@ -1,3 +1,18 @@ +Animation_Wait_Mode: + LD A, $mem_current_mode + CP $enum_animation_wait_mode + RET NZ + + LD A, $mem_animation_wait_frames + DEC A + LD $mem_animation_wait_frames, A + CP $00 + RET NZ + LD A, $enum_dungeon_mode + LD $mem_current_mode, A + LD $mem_requested_mode, A + RET + Display_Animation_List: LD HL, $mem_animation_list CALL =Display_Animation @@ -87,6 +102,10 @@ Animation_Jump_table: JP =Rotating_Ball_Animation NOP + ; 03 + JP =Laser_Animation + NOP + .INCLUDE "animations/sparkles.gbasm" .INCLUDE "animations/rotatingball.gbasm" .INCLUDE "animations/laser.gbasm" |