mirror of
https://github.com/thornAvery/kep-hack.git
synced 2025-09-17 02:40:50 +12:00
Fix sound reset in PlayBattleMusic
the id check bandaid in _PlayMusic is no longer necessary
This commit is contained in:
parent
5eff10358e
commit
218993bd19
|
@ -4,7 +4,7 @@ PlayBattleMusic::
|
|||
ld [wLowHealthAlarm], a
|
||||
dec a ; SFX_STOP_ALL_MUSIC
|
||||
; ld [wNewSoundID], a
|
||||
call PlayMusic
|
||||
call PlaySound
|
||||
call DelayFrame
|
||||
ld c, 0 ; BANK(Music_GymLeaderBattle)
|
||||
ld a, [wGymLeaderNo]
|
||||
|
|
|
@ -2442,8 +2442,6 @@ SetLRTracks:
|
|||
ret
|
||||
|
||||
_PlayMusic::
|
||||
cp NUM_SONGS
|
||||
ret nc ; sfx
|
||||
; load music
|
||||
call MusicOff
|
||||
ld hl, wMusicID
|
||||
|
|
Loading…
Reference in a new issue