mirror of
https://github.com/Ninjdai1/pokeemerald.git
synced 2025-01-19 09:54:19 +01:00
Fix overworld poison not working on newer generations config
This commit is contained in:
parent
a870883610
commit
e1beb55a51
@ -565,13 +565,11 @@ static bool8 TryStartStepCountScript(u16 metatileBehavior)
|
|||||||
|
|
||||||
if (!(gPlayerAvatar.flags & PLAYER_AVATAR_FLAG_FORCED_MOVE) && !MetatileBehavior_IsForcedMovementTile(metatileBehavior))
|
if (!(gPlayerAvatar.flags & PLAYER_AVATAR_FLAG_FORCED_MOVE) && !MetatileBehavior_IsForcedMovementTile(metatileBehavior))
|
||||||
{
|
{
|
||||||
#if OW_POISON_DAMAGE < GEN_5
|
|
||||||
if (UpdatePoisonStepCounter() == TRUE)
|
if (UpdatePoisonStepCounter() == TRUE)
|
||||||
{
|
{
|
||||||
ScriptContext_SetupScript(EventScript_FieldPoison);
|
ScriptContext_SetupScript(EventScript_FieldPoison);
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
if (ShouldEggHatch())
|
if (ShouldEggHatch())
|
||||||
{
|
{
|
||||||
IncrementGameStat(GAME_STAT_HATCHED_EGGS);
|
IncrementGameStat(GAME_STAT_HATCHED_EGGS);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user