mirror of
https://github.com/pret/poketcg2.git
synced 2026-03-21 17:45:06 -05:00
Fill bank 11 gap
This commit is contained in:
parent
66f4d850cf
commit
5f7d5ec7f9
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user