diff --git a/src/data/arena-tag.ts b/src/data/arena-tag.ts index 86f27856495..9c222dac485 100644 --- a/src/data/arena-tag.ts +++ b/src/data/arena-tag.ts @@ -1243,7 +1243,7 @@ export class SuppressAbilitiesTag extends ArenaTag { for (const fieldPokemon of globalScene.getField()) { if (fieldPokemon && fieldPokemon.id !== pokemon.id) { - [ true, false ].forEach((v) => applyOnLoseAbAttrs(fieldPokemon, v)); + [ true, false ].forEach((passive) => applyOnLoseAbAttrs(fieldPokemon, passive)); } } } @@ -1274,7 +1274,7 @@ export class SuppressAbilitiesTag extends ArenaTag { for (const pokemon of globalScene.getField()) { // There is only one pokemon with this attr on the field on removal, so its abilities are already active if (pokemon && !pokemon.hasAbilityWithAttr(PreLeaveFieldRemoveSuppressAbilitiesSourceAbAttr, false)) { - [ true, false ].forEach((v) => applyOnGainAbAttrs(pokemon, v)); + [ true, false ].forEach((passive) => applyOnGainAbAttrs(pokemon, passive)); } } } diff --git a/src/field/pokemon.ts b/src/field/pokemon.ts index 5f4834595b5..4f7be67213b 100644 --- a/src/field/pokemon.ts +++ b/src/field/pokemon.ts @@ -1503,7 +1503,7 @@ export default abstract class Pokemon extends Phaser.GameObjects.Container { */ public suppressAbility() { this.summonData.abilitySuppressed = true; - [ true, false ].forEach((v) => applyOnLoseAbAttrs(this, v)); + [ true, false ].forEach((passive) => applyOnLoseAbAttrs(this, passive)); } /**