mirror of https://github.com/pret/pokeemerald.git
Merge pull request #2044 from AreaZR/Excessive
Fix typo: | should be || in Task_TryFieldPoisonWhiteOut
This commit is contained in:
commit
6395d55b43
|
@ -89,7 +89,11 @@ static void Task_TryFieldPoisonWhiteOut(u8 taskId)
|
|||
if (AllMonsFainted())
|
||||
{
|
||||
// Battle facilities have their own white out script to handle the challenge loss
|
||||
#ifdef BUGFIX
|
||||
if (InBattlePyramid() || InBattlePike() || InTrainerHillChallenge())
|
||||
#else
|
||||
if (InBattlePyramid() | InBattlePike() || InTrainerHillChallenge())
|
||||
#endif
|
||||
gSpecialVar_Result = FLDPSN_FRONTIER_WHITEOUT;
|
||||
else
|
||||
gSpecialVar_Result = FLDPSN_WHITEOUT;
|
||||
|
|
Loading…
Reference in New Issue