mirror of
https://github.com/pret/pokeemerald.git
synced 2026-03-21 17:54:57 -05:00
Merge pull request #2044 from AreaZR/Excessive
Some checks are pending
CI / build (push) Waiting to run
Some checks are pending
CI / build (push) Waiting to run
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
Block a user