ref: e9f33ce19c3f573cc7fb312d6869e711d5d9de4f
parent: 832c28eaea1efa8c64765da88ffce661da9426a8
author: dannye <corrnondacqb@yahoo.com>
date: Sun May 7 22:54:20 EDT 2017
Typo: SFX_POKEFLUE → SFX_POKEFLUTE
--- a/constants/music_constants.asm
+++ b/constants/music_constants.asm
@@ -194,7 +194,7 @@
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
--- a/engine/items/items.asm
+++ b/engine/items/items.asm
@@ -1846,12 +1846,12 @@
; 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