1
0
mirror of https://github.com/Ninjdai1/pokeemerald.git synced 2025-03-24 22:48:35 +01:00

Remove repeated ability check in battle_ai_util.c

This commit is contained in:
Eduardo Quezada D'Ottone 2022-02-17 21:39:15 -03:00
parent eebe664bfc
commit 9a88021448

@ -1505,7 +1505,6 @@ bool32 ShouldSetSandstorm(u8 battler, u16 ability, u16 holdEffect)
if (ability == ABILITY_SAND_VEIL
|| ability == ABILITY_SAND_RUSH
|| ability == ABILITY_SAND_FORCE
|| ability == ABILITY_SAND_FORCE
|| ability == ABILITY_OVERCOAT
|| ability == ABILITY_MAGIC_GUARD
|| holdEffect == HOLD_EFFECT_SAFETY_GOGGLES