mirror of
https://github.com/Ninjdai1/pokeemerald.git
synced 2025-03-30 01:09:34 +01:00
Remove repeated ability check in battle_ai_util.c
This commit is contained in:
parent
eebe664bfc
commit
9a88021448
@ -1505,7 +1505,6 @@ bool32 ShouldSetSandstorm(u8 battler, u16 ability, u16 holdEffect)
|
|||||||
if (ability == ABILITY_SAND_VEIL
|
if (ability == ABILITY_SAND_VEIL
|
||||||
|| ability == ABILITY_SAND_RUSH
|
|| ability == ABILITY_SAND_RUSH
|
||||||
|| ability == ABILITY_SAND_FORCE
|
|| ability == ABILITY_SAND_FORCE
|
||||||
|| ability == ABILITY_SAND_FORCE
|
|
||||||
|| ability == ABILITY_OVERCOAT
|
|| ability == ABILITY_OVERCOAT
|
||||||
|| ability == ABILITY_MAGIC_GUARD
|
|| ability == ABILITY_MAGIC_GUARD
|
||||||
|| holdEffect == HOLD_EFFECT_SAFETY_GOGGLES
|
|| holdEffect == HOLD_EFFECT_SAFETY_GOGGLES
|
||||||
|
Loading…
x
Reference in New Issue
Block a user