diff options
author | Astatin <[email protected]> | 2025-08-19 15:57:51 +0200 |
---|---|---|
committer | Astatin <[email protected]> | 2025-08-19 15:57:51 +0200 |
commit | bbc5ab6ad02dbabcb79e1e83195288c0fb8cf1d1 (patch) | |
tree | 619cda5870860164fd8bddcb4e0ed741cf63ca49 /music/soundeffects/jump.gbasm | |
parent | c70b3cb2cab64d550a585dcfbc166bf30c0ea955 (diff) |
Add insect bite & frog grab sound effects + disallow 2 sound effects at once
Diffstat (limited to 'music/soundeffects/jump.gbasm')
-rw-r--r-- | music/soundeffects/jump.gbasm | 19 |
1 files changed, 1 insertions, 18 deletions
diff --git a/music/soundeffects/jump.gbasm b/music/soundeffects/jump.gbasm index 7ae9a58..13c21c0 100644 --- a/music/soundeffects/jump.gbasm +++ b/music/soundeffects/jump.gbasm @@ -14,8 +14,6 @@ _sound_effect_Jump: SET 2, A LD $mem_sound_flags, A - LD HL, =_sound_effect_Jump_slide_data - LD A, $80 LD ($19), A LD A, $3f @@ -23,22 +21,7 @@ _sound_effect_Jump: LD A, $a2 LD ($17), A - .loop: - LD A, (HL+) - LD ($18), A - - LD A, (HL+) - LD ($19), A - - .RET_WAIT_NEXT_FRAME_SAVE_HL - - LD A, H - CP high(=_sound_effect_Jump_slide_data.end) - JR NZ, =.loop - LD A, L - CP low(=_sound_effect_Jump_slide_data.end) - JR NZ, =.loop - .end: + .CHANNEL_2_SOUND_EFFECT_LOOP =_sound_effect_Jump_slide_data =_sound_effect_Jump_slide_data.end LD A, $mem_sound_flags AND 0b11000001 |