IS_BATTLER_OF_TYPE
This commit is contained in:
@@ -446,9 +446,7 @@ static bool8 ShouldSwitch(void)
|
||||
return FALSE;
|
||||
if (ABILITY_ON_FIELD2(ABILITY_MAGNET_PULL))
|
||||
{
|
||||
if (gBattleMons[gActiveBattler].type1 == TYPE_STEEL)
|
||||
return FALSE;
|
||||
if (gBattleMons[gActiveBattler].type2 == TYPE_STEEL)
|
||||
if (IS_BATTLER_OF_TYPE(gActiveBattler, TYPE_STEEL))
|
||||
return FALSE;
|
||||
}
|
||||
if (gBattleTypeFlags & BATTLE_TYPE_ARENA)
|
||||
|
||||
Reference in New Issue
Block a user