aboutsummaryrefslogtreecommitdiffstats
path: root/engine/overworld/pokecenter.asm
diff options
context:
space:
mode:
authorYamaArashi <shadow962@live.com>2015-08-08 22:32:44 -0700
committerYamaArashi <shadow962@live.com>2015-08-08 22:32:44 -0700
commit2b018159997e3b580efd114ff4e3548a0de3cbc5 (patch)
treec43e657b2b5734db05e01fe31e1cb12c4fa987ad /engine/overworld/pokecenter.asm
parentfixed names (diff)
downloadpokeyellow-2b018159997e3b580efd114ff4e3548a0de3cbc5.tar.gz
pokeyellow-2b018159997e3b580efd114ff4e3548a0de3cbc5.tar.xz
pokeyellow-2b018159997e3b580efd114ff4e3548a0de3cbc5.zip
commented audio code
Diffstat (limited to 'engine/overworld/pokecenter.asm')
-rwxr-xr-xengine/overworld/pokecenter.asm12
1 files changed, 6 insertions, 6 deletions
diff --git a/engine/overworld/pokecenter.asm b/engine/overworld/pokecenter.asm
index 5b2e4cbb..f302d994 100755
--- a/engine/overworld/pokecenter.asm
+++ b/engine/overworld/pokecenter.asm
@@ -24,12 +24,12 @@ DisplayPokemonCenterDialogue_: ; 6fe6 (1:6fe6)
predef HealParty
callba AnimateHealingMachine ; do the healing machine animation
xor a
- ld [wMusicHeaderPointer], a
- ld a, [wc0f0]
- ld [wc0ef], a
- ld a, [wd35b]
- ld [wcfca], a
- ld [wc0ee], a
+ ld [wAudioFadeOutControl], a
+ ld a, [wAudioSavedROMBank]
+ ld [wAudioROMBank], a
+ ld a, [wMapMusicSoundID]
+ ld [wLastMusicSoundID], a
+ ld [wNewSoundID], a
call PlaySound
ld hl, PokemonFightingFitText
call PrintText