mirror of
https://github.com/thornAvery/kep-hack.git
synced 2025-12-06 03:11:01 +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_FEMALE_TRAINER
|
||||||
const MUSIC_MEET_MALE_TRAINER
|
const MUSIC_MEET_MALE_TRAINER
|
||||||
|
|
||||||
|
const NUM_SONGS
|
||||||
|
|
||||||
|
|
||||||
const_value = 1
|
const_value = 1
|
||||||
; AUDIO_1 AUDIO_3
|
; AUDIO_1 AUDIO_3
|
||||||
|
|
|
||||||
|
|
@ -2515,6 +2515,8 @@ _PlayMusic:: ; e8b30
|
||||||
ld a, e
|
ld a, e
|
||||||
and a
|
and a
|
||||||
jp z, _SoundRestart
|
jp z, _SoundRestart
|
||||||
|
cp NUM_SONGS
|
||||||
|
ret nc ; sfx
|
||||||
; load music
|
; load music
|
||||||
call MusicOff
|
call MusicOff
|
||||||
ld hl, MusicID
|
ld hl, MusicID
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue