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
|
ld [wLowHealthAlarm], a
|
||||||
dec a ; SFX_STOP_ALL_MUSIC
|
dec a ; SFX_STOP_ALL_MUSIC
|
||||||
; ld [wNewSoundID], a
|
; ld [wNewSoundID], a
|
||||||
call PlayMusic
|
call PlaySound
|
||||||
call DelayFrame
|
call DelayFrame
|
||||||
ld c, 0 ; BANK(Music_GymLeaderBattle)
|
ld c, 0 ; BANK(Music_GymLeaderBattle)
|
||||||
ld a, [wGymLeaderNo]
|
ld a, [wGymLeaderNo]
|
||||||
|
|
|
@ -2442,8 +2442,6 @@ SetLRTracks:
|
||||||
ret
|
ret
|
||||||
|
|
||||||
_PlayMusic::
|
_PlayMusic::
|
||||||
cp NUM_SONGS
|
|
||||||
ret nc ; sfx
|
|
||||||
; load music
|
; load music
|
||||||
call MusicOff
|
call MusicOff
|
||||||
ld hl, wMusicID
|
ld hl, wMusicID
|
||||||
|
|
Loading…
Reference in a new issue