Fixed field_poison.c error from master merge.
This commit is contained in:
parent
1c011a9c1c
commit
f970057930
1 changed files with 9 additions and 7 deletions
|
@ -93,14 +93,16 @@ static void Task_TryFieldPoisonWhiteOut(u8 taskId)
|
|||
if (InBattlePyramid() | InBattlePike() || InTrainerHillChallenge())
|
||||
gSpecialVar_Result = FLDPSN_FRONTIER_WHITEOUT;
|
||||
else
|
||||
{
|
||||
gSpecialVar_Result = FLDPSN_NO_WHITEOUT;
|
||||
UpdateFollowingPokemon();
|
||||
}
|
||||
ScriptContext_Enable();
|
||||
DestroyTask(taskId);
|
||||
break;
|
||||
gSpecialVar_Result = FLDPSN_WHITEOUT;
|
||||
}
|
||||
else
|
||||
{
|
||||
gSpecialVar_Result = FLDPSN_NO_WHITEOUT;
|
||||
UpdateFollowingPokemon();
|
||||
}
|
||||
ScriptContext_Enable();
|
||||
DestroyTask(taskId);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue