Typo: SFX_POKEFLUE → SFX_POKEFLUTE

This commit is contained in:
dannye 2017-05-08 02:54:20 -05:00
parent 832c28eaea
commit e9f33ce19c
2 changed files with 3 additions and 3 deletions

View file

@ -194,7 +194,7 @@ ENDM
music_const SFX_SAVE, SFX_Save_1
; AUDIO_1
music_const SFX_POKEFLUE, SFX_Pokeflute
music_const SFX_POKEFLUTE, SFX_Pokeflute
music_const SFX_SAFARI_ZONE_PA, SFX_Safari_Zone_PA
; AUDIO_2

View file

@ -1846,12 +1846,12 @@ PlayedFluteHadEffectText:
; play out-of-battle pokeflute music
ld a,$ff
call PlaySound ; turn off music
ld a, SFX_POKEFLUE
ld a, SFX_POKEFLUTE
ld c, BANK(SFX_Pokeflute)
call PlayMusic
.musicWaitLoop ; wait for music to finish playing
ld a,[wChannelSoundIDs + Ch2]
cp a, SFX_POKEFLUE
cp a, SFX_POKEFLUTE
jr z,.musicWaitLoop
call PlayDefaultMusic ; start playing normal music again
.done