Skip to content

Commit

Permalink
Merge pull request pret#2044 from AreaZR/Excessive
Browse files Browse the repository at this point in the history
Fix typo: | should be || in Task_TryFieldPoisonWhiteOut
  • Loading branch information
mrgriffin authored Oct 10, 2024
2 parents 9a24c03 + 9ad0018 commit 6395d55
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/field_poison.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 6395d55

Please sign in to comment.