summaryrefslogtreecommitdiff
path: root/src/battle_pike.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/battle_pike.c')
-rw-r--r--src/battle_pike.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/battle_pike.c b/src/battle_pike.c
index 893796790..303146f6a 100644
--- a/src/battle_pike.c
+++ b/src/battle_pike.c
@@ -1611,7 +1611,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)