removed brackets
This commit is contained in:
parent
23870a40a8
commit
f96fc60ac4
1 changed files with 0 additions and 2 deletions
|
@ -2458,9 +2458,7 @@ static bool32 PartyBattlerShouldAvoidHazards(u8 currBattler, u8 switchBattler)
|
|||
return FALSE;
|
||||
|
||||
if (flags & SIDE_STATUS_STEALTH_ROCK)
|
||||
{
|
||||
hazardDamage += GetStealthHazardDamageByTypesAndHP(gBattleMoves[MOVE_STEALTH_ROCK].type, type1, type2, maxHp);
|
||||
}
|
||||
|
||||
if (flags & SIDE_STATUS_SPIKES && ((type1 != TYPE_FLYING && type2 != TYPE_FLYING
|
||||
&& ability != ABILITY_LEVITATE && holdEffect != HOLD_EFFECT_AIR_BALLOON)
|
||||
|
|
Loading…
Reference in a new issue