summaryrefslogtreecommitdiff
path: root/src/egg_hatch.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/egg_hatch.c
parent59a69eb62769003a81c0f9f50be5ec5abde96242 (diff)
Up to sub 0x80ce580
Diffstat (limited to 'src/egg_hatch.c')
-rw-r--r--src/egg_hatch.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/egg_hatch.c b/src/egg_hatch.c
index 77296c707..9c1d6fdd8 100644
--- a/src/egg_hatch.c
+++ b/src/egg_hatch.c
@@ -876,7 +876,7 @@ u8 GetEggStepsToSubtract(void)
u8 count, i;
for (count = CalculatePlayerPartyCount(), i = 0; i < count; i++)
{
- if (!GetMonData(&gPlayerParty[i], MON_DATA_SANITY_BIT3))
+ if (!GetMonData(&gPlayerParty[i], MON_DATA_SANITY_IS_EGG))
{
u8 ability = GetMonAbility(&gPlayerParty[i]);
if (ability == ABILITY_MAGMA_ARMOR || ability == ABILITY_FLAME_BODY)