diff options
author | DizzyEggg <jajkodizzy@wp.pl> | 2018-12-15 23:58:47 +0100 |
---|---|---|
committer | DizzyEggg <jajkodizzy@wp.pl> | 2018-12-15 23:58:47 +0100 |
commit | f1421d94c384c1bd76304fcb961ca28d7f0e7e20 (patch) | |
tree | a261fe44f0517e34f733a7f3672dc081834bf10f /src/battle_pike.c | |
parent | 59a69eb62769003a81c0f9f50be5ec5abde96242 (diff) |
Up to sub 0x80ce580
Diffstat (limited to 'src/battle_pike.c')
-rw-r--r-- | src/battle_pike.c | 2 |
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) |