summaryrefslogtreecommitdiff
path: root/audio.asm
diff options
context:
space:
mode:
authorRangi <remy.oukaour+rangi42@gmail.com>2019-07-07 00:44:21 -0400
committerRangi <remy.oukaour+rangi42@gmail.com>2019-07-07 00:44:21 -0400
commitf99a715fae311d2611ec4a714b002e103c4642ca (patch)
tree55c3b2f36f037ab192777755fe7e4b8f5a22131d /audio.asm
parent725b86ebbec23bd1f53fd60bf0201c904fee951d (diff)
Replace some hard-coded values with constants
Diffstat (limited to 'audio.asm')
-rw-r--r--audio.asm2
1 files changed, 1 insertions, 1 deletions
diff --git a/audio.asm b/audio.asm
index 70cf06fc..ff7b721d 100644
--- a/audio.asm
+++ b/audio.asm
@@ -371,7 +371,7 @@ PlayBattleMusic::
jr .playSong
.notGymLeaderBattle
ld a, [wCurOpponent]
- cp 200
+ cp OPP_ID_OFFSET
jr c, .wildBattle
cp OPP_SONY3
jr z, .finalBattle