aboutsummaryrefslogtreecommitdiffstats
path: root/audio.asm
diff options
context:
space:
mode:
authorDaniel Harding <33dannye@gmail.com>2019-07-17 17:30:53 -0500
committerGitHub <noreply@github.com>2019-07-17 17:30:53 -0500
commit36597a7917144bbf5d9ae63a0f9d537f6f58eb74 (patch)
treee478588912070f759c95b8c276c03dc7a296c9d2 /audio.asm
parentMerge pull request #201 from SatoMew/master (diff)
parentMerge branch 'master' of https://github.com/pret/pokered (diff)
downloadpokeyellow-36597a7917144bbf5d9ae63a0f9d537f6f58eb74.tar.gz
pokeyellow-36597a7917144bbf5d9ae63a0f9d537f6f58eb74.tar.xz
pokeyellow-36597a7917144bbf5d9ae63a0f9d537f6f58eb74.zip
Merge pull request #220 from Rangi42/master
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