Fix missing parentheses
This commit is contained in:
parent
8b3a40162b
commit
186822ed0c
1 changed files with 2 additions and 2 deletions
|
@ -3081,12 +3081,12 @@ u8 AbilityBattleEffects(u8 caseID, u8 battler, u8 ability, u8 special, u16 moveA
|
||||||
gBattlescriptCurrInstr = BattleScript_SoundproofProtected;
|
gBattlescriptCurrInstr = BattleScript_SoundproofProtected;
|
||||||
effect = 1;
|
effect = 1;
|
||||||
}
|
}
|
||||||
else if ((gLastUsedAbility == ABILITY_DAZZLING
|
else if (((gLastUsedAbility == ABILITY_DAZZLING
|
||||||
|| (IsBattlerAlive(battler ^= BIT_FLANK) && GetBattlerAbility(battler) == ABILITY_DAZZLING)
|
|| (IsBattlerAlive(battler ^= BIT_FLANK) && GetBattlerAbility(battler) == ABILITY_DAZZLING)
|
||||||
)
|
)
|
||||||
|| (gLastUsedAbility == ABILITY_QUEENLY_MAJESTY
|
|| (gLastUsedAbility == ABILITY_QUEENLY_MAJESTY
|
||||||
|| (IsBattlerAlive(battler ^= BIT_FLANK) && GetBattlerAbility(battler) == ABILITY_QUEENLY_MAJESTY)
|
|| (IsBattlerAlive(battler ^= BIT_FLANK) && GetBattlerAbility(battler) == ABILITY_QUEENLY_MAJESTY)
|
||||||
)
|
))
|
||||||
&& GetChosenMovePriority(battler) > 0
|
&& GetChosenMovePriority(battler) > 0
|
||||||
&& GetBattlerSide(gBattlerAttacker) != GetBattlerSide(battler))
|
&& GetBattlerSide(gBattlerAttacker) != GetBattlerSide(battler))
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue