summaryrefslogtreecommitdiff
path: root/engine/battle/core.asm
diff options
context:
space:
mode:
authorRangi <remy.oukaour+rangi42@gmail.com>2020-08-31 10:58:41 -0400
committerRangi <remy.oukaour+rangi42@gmail.com>2020-08-31 10:58:41 -0400
commit8ce20e5c31ed2255e708e6a38c7b75d3d8bee48c (patch)
tree8c4770326f0b1b347a84f7adf4e7d3f447a51992 /engine/battle/core.asm
parentbfd9f617c96af851ad4100b752ea967ef8989edc (diff)
Define a constant for the ghost Marowak (hard-coded throughout the engine, like the starters)
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 4f35ba39..8289ecc9 100755
--- a/engine/battle/core.asm
+++ b/engine/battle/core.asm
@@ -6784,7 +6784,7 @@ InitWildBattle:
call LoadEnemyMonData
call DoBattleTransitionAndInitBattleVariables
ld a, [wCurOpponent]
- cp MAROWAK
+ cp GHOST_MON
jr z, .isGhost
call IsGhostBattle
jr nz, .isNoGhost