Remove duplicate CanBePoisoned condition (#2988)

This commit is contained in:
Salem 2023-05-11 00:16:57 +02:00 committed by GitHub
parent 9081f74546
commit 8fc4aa9dcd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -6413,7 +6413,6 @@ bool32 CanBePoisoned(u8 battlerAttacker, u8 battlerTarget)
|| ability == ABILITY_IMMUNITY
|| ability == ABILITY_COMATOSE
|| IsAbilityOnSide(battlerTarget, ABILITY_PASTEL_VEIL)
|| gBattleMons[battlerTarget].status1 & STATUS1_ANY
|| IsAbilityStatusProtected(battlerTarget)
|| IsBattlerTerrainAffected(battlerTarget, STATUS_FIELD_MISTY_TERRAIN))
return FALSE;