summaryrefslogtreecommitdiff
path: root/src/battle_pike.c
diff options
context:
space:
mode:
authorDizzyEggg <jajkodizzy@wp.pl>2018-12-15 23:58:47 +0100
committerDizzyEggg <jajkodizzy@wp.pl>2018-12-15 23:58:47 +0100
commitf1421d94c384c1bd76304fcb961ca28d7f0e7e20 (patch)
treea261fe44f0517e34f733a7f3672dc081834bf10f /src/battle_pike.c
parent59a69eb62769003a81c0f9f50be5ec5abde96242 (diff)
Up to sub 0x80ce580
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 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)