summaryrefslogtreecommitdiff
path: root/audio.asm
diff options
context:
space:
mode:
Diffstat (limited to 'audio.asm')
-rw-r--r--audio.asm4
1 files changed, 2 insertions, 2 deletions
diff --git a/audio.asm b/audio.asm
index 55bf4a1b..7e28b136 100644
--- a/audio.asm
+++ b/audio.asm
@@ -371,13 +371,13 @@ PlayBattleMusic:: ; 0x90c6
call PlaySound ; stop music
call DelayFrame
ld c, BANK(Music_GymLeaderBattle)
- ld a, [W_GYMLEADERNO]
+ ld a, [wGymLeaderNo]
and a
jr z, .notGymLeaderBattle
ld a, MUSIC_GYM_LEADER_BATTLE
jr .playSong
.notGymLeaderBattle
- ld a, [W_CUROPPONENT]
+ ld a, [wCurOpponent]
cp 200
jr c, .wildBattle
cp OPP_SONY3