Define a constant for the ghost Marowak (hard-coded throughout the engine, like the starters)

This commit is contained in:
Rangi 2020-08-31 10:58:41 -04:00
parent bfd9f617c9
commit 8ce20e5c31
8 changed files with 14 additions and 9 deletions

View file

@ -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