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
|
@ -92,6 +92,9 @@ static void Task_TryFieldPoisonWhiteOut(u8 taskId)
|
|||
// Battle facilities have their own white out script to handle the challenge loss
|
||||
if (InBattlePyramid() | InBattlePike() || InTrainerHillChallenge())
|
||||
gSpecialVar_Result = FLDPSN_FRONTIER_WHITEOUT;
|
||||
else
|
||||
gSpecialVar_Result = FLDPSN_WHITEOUT;
|
||||
}
|
||||
else
|
||||
{
|
||||
gSpecialVar_Result = FLDPSN_NO_WHITEOUT;
|
||||
|
@ -102,7 +105,6 @@ static void Task_TryFieldPoisonWhiteOut(u8 taskId)
|
|||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#undef tState
|
||||
#undef tPartyIdx
|
||||
|
|
Loading…
Reference in a new issue