mirror of
https://github.com/thornAvery/kep-hack.git
synced 2025-10-17 04:26:28 +13:00
Bug fix: stop channels from cutting out during battle
This commit is contained in:
parent
b1108ba91e
commit
84e5331fcc
|
@ -92,6 +92,8 @@ const_value = 1
|
|||
const MUSIC_MEET_FEMALE_TRAINER
|
||||
const MUSIC_MEET_MALE_TRAINER
|
||||
|
||||
const NUM_SONGS
|
||||
|
||||
|
||||
const_value = 1
|
||||
; AUDIO_1 AUDIO_3
|
||||
|
|
|
@ -2515,6 +2515,8 @@ _PlayMusic:: ; e8b30
|
|||
ld a, e
|
||||
and a
|
||||
jp z, _SoundRestart
|
||||
cp NUM_SONGS
|
||||
ret nc ; sfx
|
||||
; load music
|
||||
call MusicOff
|
||||
ld hl, MusicID
|
||||
|
|
Loading…
Reference in a new issue