From f1421d94c384c1bd76304fcb961ca28d7f0e7e20 Mon Sep 17 00:00:00 2001 From: DizzyEggg Date: Sat, 15 Dec 2018 23:58:47 +0100 Subject: Up to sub 0x80ce580 --- src/battle_pike.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/battle_pike.c') diff --git a/src/battle_pike.c b/src/battle_pike.c index d86677e48..4b2a1574d 100644 --- a/src/battle_pike.c +++ b/src/battle_pike.c @@ -1613,7 +1613,7 @@ static void sub_81A8830(void) static bool8 CanEncounterWildMon(u8 enemyMonLevel) { - if (!GetMonData(&gPlayerParty[0], MON_DATA_SANITY_BIT3)) + if (!GetMonData(&gPlayerParty[0], MON_DATA_SANITY_IS_EGG)) { u8 monAbility = GetMonAbility(&gPlayerParty[0]); if (monAbility == ABILITY_KEEN_EYE || monAbility == ABILITY_INTIMIDATE) -- cgit v1.2.3