Merge pull request #2059 from AsparagusEduardo/BE_SandForce

Remove repeated ability check in battle_ai_util.c
This commit is contained in:
BuffelSaft 2022-03-26 15:40:47 +13:00 committed by GitHub
commit 4b769901bc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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