mirror of
https://github.com/Ninjdai1/pokeemerald.git
synced 2025-02-20 19:23:38 +01:00
Merge pull request #2059 from AsparagusEduardo/BE_SandForce
Remove repeated ability check in battle_ai_util.c
This commit is contained in:
commit
4b769901bc
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user