Fill bank 11 gap

This commit is contained in:
earthoul 2026-03-05 00:01:21 +09:00
parent 66f4d850cf
commit 5f7d5ec7f9
No known key found for this signature in database
GPG Key ID: 9049439C902677E4

View File

@ -285,9 +285,21 @@ MusicFadeOut:
or a
jr nz, .loop
ret
; 0x4498c
SECTION "Bank 11@499e", ROMX[$499e], BANK[$11]
; a = frames for audio volume decrement
SteppedMusicFadeOut:
ld c, a
ld b, a
ld a, AUDVOL_FULL_VOLUME
.loop_wait
call DoFrame
dec c
jr nz, .loop_wait
call SetVolume
dec a
ret z
ld c, b
jr .loop_wait
WaitForSFXToFinish::
.loop_wait