Fixed field_poison.c error from master merge.

This commit is contained in:
Ariel A 2022-10-15 15:03:41 -04:00
parent 1c011a9c1c
commit f970057930

View file

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