From 8ce20e5c31ed2255e708e6a38c7b75d3d8bee48c Mon Sep 17 00:00:00 2001 From: Rangi Date: Mon, 31 Aug 2020 10:58:41 -0400 Subject: Define a constant for the ghost Marowak (hard-coded throughout the engine, like the starters) --- engine/battle/core.asm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engine/battle/core.asm') 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 -- cgit v1.2.3