aboutsummaryrefslogtreecommitdiffstats
path: root/engine/battle/core.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 /engine/battle/core.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 'engine/battle/core.asm')
-rwxr-xr-xengine/battle/core.asm2
1 files changed, 1 insertions, 1 deletions
diff --git a/engine/battle/core.asm b/engine/battle/core.asm
index 056a9588..04336810 100755
--- a/engine/battle/core.asm
+++ b/engine/battle/core.asm
@@ -6867,7 +6867,7 @@ InitBattleCommon:
res 1, [hl]
callab InitBattleVariables
ld a, [wEnemyMonSpecies2]
- sub 200
+ sub OPP_ID_OFFSET
jp c, InitWildBattle
ld [wTrainerClass], a
call GetTrainerInformation