Added Steam Engine's overworld effect

This commit is contained in:
Eduardo Quezada D'Ottone 2021-12-06 20:52:32 -03:00
parent dff72b97dd
commit 756700ff4d

View File

@ -876,7 +876,9 @@ u8 GetEggCyclesToSubtract(void)
if (!GetMonData(&gPlayerParty[i], MON_DATA_SANITY_IS_EGG)) if (!GetMonData(&gPlayerParty[i], MON_DATA_SANITY_IS_EGG))
{ {
u16 ability = GetMonAbility(&gPlayerParty[i]); u16 ability = GetMonAbility(&gPlayerParty[i]);
if (ability == ABILITY_MAGMA_ARMOR || ability == ABILITY_FLAME_BODY) if (ability == ABILITY_MAGMA_ARMOR
|| ability == ABILITY_FLAME_BODY
|| ability == ABILITY_STEAM_ENGINE)
return 2; return 2;
} }
} }