aboutsummaryrefslogtreecommitdiffstats
path: root/engine/cable_club.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/cable_club.asm
parentfixed names (diff)
downloadpokeyellow-2b018159997e3b580efd114ff4e3548a0de3cbc5.tar.gz
pokeyellow-2b018159997e3b580efd114ff4e3548a0de3cbc5.tar.xz
pokeyellow-2b018159997e3b580efd114ff4e3548a0de3cbc5.zip
commented audio code
Diffstat (limited to 'engine/cable_club.asm')
-rwxr-xr-xengine/cable_club.asm16
1 files changed, 8 insertions, 8 deletions
diff --git a/engine/cable_club.asm b/engine/cable_club.asm
index 078ae5c2..dec18fe3 100755
--- a/engine/cable_club.asm
+++ b/engine/cable_club.asm
@@ -824,12 +824,12 @@ TradeCenter_Trade:
add hl, bc
ld a, [hl]
ld [wTradedEnemyMonSpecies], a
- ld a, $a
- ld [wMusicHeaderPointer], a
+ ld a, 10
+ ld [wAudioFadeOutControl], a
ld a, $2
- ld [wc0f0], a
+ ld [wAudioSavedROMBank], a
ld a, MUSIC_SAFARI_ZONE
- ld [wc0ee], a
+ ld [wNewSoundID], a
call PlaySound
ld c, 100
call DelayFrames
@@ -915,12 +915,12 @@ CableClub_Run: ; 5a5f (1:5a5f)
inc a ; LINK_STATE_IN_CABLE_CLUB
ld [wLinkState], a
ld [$ffb5], a
- ld a, $a
- ld [wMusicHeaderPointer], a
+ ld a, 10
+ ld [wAudioFadeOutControl], a
ld a, BANK(Music_Celadon)
- ld [wc0f0], a
+ ld [wAudioSavedROMBank], a
ld a, MUSIC_CELADON
- ld [wc0ee], a
+ ld [wNewSoundID], a
jp PlaySound
EmptyFunc3: ; 5aaf (1:5aaf)