mirror of
https://github.com/Ninjdai1/pokeemerald.git
synced 2025-02-05 10:52:35 +01:00
Added Steam Engine's overworld effect
This commit is contained in:
parent
dff72b97dd
commit
756700ff4d
@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user