summaryrefslogtreecommitdiff
path: root/src/battle_pike.c
diff options
context:
space:
mode:
authorDiegoisawesome <Diegoisawesome@users.noreply.github.com>2018-12-22 16:12:27 -0600
committerGitHub <noreply@github.com>2018-12-22 16:12:27 -0600
commitebbe826133661d3faabc17f9167fa565b405514a (patch)
tree52687e79258567b4d88c184b6692e035d0ff3e14 /src/battle_pike.c
parent87fd6b8dc21b37b656f16e3f11832c6951328750 (diff)
parentc805bab48324f946845e1f81002035e4bdb07e62 (diff)
Merge pull request #437 from DizzyEggg/storage
Pokemon Storage System
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)