Bug fix: stop channels from cutting out during battle

This commit is contained in:
dannye 2019-04-14 13:24:55 -05:00
parent b1108ba91e
commit 84e5331fcc
2 changed files with 4 additions and 0 deletions

View file

@ -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

View file

@ -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