mirror of
https://github.com/Ninjdai1/pokeemerald.git
synced 2025-03-19 12:08:34 +01:00
Revert "Fix overworld poison not working on newer generations config"
This reverts commit e1beb55a51406ab9f9932b82dbc5b668b3aa9287.
This commit is contained in:
parent
e1beb55a51
commit
d57d8e6e71
@ -565,11 +565,13 @@ 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