Fixed B_SHADOW_TAG_ESCAPE use for Gen 3 config

This commit is contained in:
Eduardo Quezada 2022-09-05 14:49:40 -04:00
parent e253a87bc5
commit cb97f93ef6

View File

@ -6055,7 +6055,7 @@ u32 IsAbilityPreventingEscape(u32 battlerId)
#if B_SHADOW_TAG_ESCAPE >= GEN_4
if ((id = IsAbilityOnOpposingSide(battlerId, ABILITY_SHADOW_TAG)) && GetBattlerAbility(battlerId) != ABILITY_SHADOW_TAG)
#else
if (id = IsAbilityOnOpposingSide(battlerId, ABILITY_SHADOW_TAG))
if ((id = IsAbilityOnOpposingSide(battlerId, ABILITY_SHADOW_TAG)))
#endif
return id;
if ((id = IsAbilityOnOpposingSide(battlerId, ABILITY_ARENA_TRAP)) && IsBattlerGrounded(battlerId))