diff options
author | Astatin <[email protected]> | 2025-08-12 13:17:58 +0200 |
---|---|---|
committer | Astatin <[email protected]> | 2025-08-12 13:17:58 +0200 |
commit | c70b3cb2cab64d550a585dcfbc166bf30c0ea955 (patch) | |
tree | ef41d8f22129ab84e112bc7e78a6ce3ceb97dc83 /playerattacks | |
parent | 41b5858e855c68e01bf388e54abd82661e846585 (diff) |
Add jump, damage, earcoptr and hop sound effects
Diffstat (limited to 'playerattacks')
-rw-r--r-- | playerattacks/earcoptr.gbasm | 8 | ||||
-rw-r--r-- | playerattacks/hop.gbasm | 1 |
2 files changed, 8 insertions, 1 deletions
diff --git a/playerattacks/earcoptr.gbasm b/playerattacks/earcoptr.gbasm index 721692e..818471b 100644 --- a/playerattacks/earcoptr.gbasm +++ b/playerattacks/earcoptr.gbasm @@ -17,10 +17,13 @@ Earcoptr_Attack_Loading_Regular: SLA A SLA A SLA A - INC A LD L, A LD A, (HL+) + CP $00 + RET Z + + LD A, (HL+) LD E, A LD A, $mem_bunny_x @@ -57,6 +60,7 @@ Earcoptr_Attack_Loading_Regular: LD A, $1f SUB B LD $mem_blinking_animation_counter, A + .SET_SOUND_EFFECT =_sound_effect_Damage LD A, (HL) SUB $01 @@ -91,6 +95,8 @@ Earcoptr_Attack: POP DE POP BC + .SET_SOUND_EFFECT =_sound_effect_Earcoptr + LD BC, =Earcoptr_Attack_Loading_VBlank LD A, B LD $mem_loading_mode_vblank_func_pointer_high, A diff --git a/playerattacks/hop.gbasm b/playerattacks/hop.gbasm index 30c673f..7549774 100644 --- a/playerattacks/hop.gbasm +++ b/playerattacks/hop.gbasm @@ -97,6 +97,7 @@ Hop_Attack_Loading_Regular: LD $mem_current_mode, A LD $mem_requested_mode, A CALL =Update_VBlank_Handler + .SET_SOUND_EFFECT =_sound_effect_Jump LD A, $mem_bunny_direction OR $08 LD $mem_bunny_direction, A |