diff --git a/src/data/arena-tag.ts b/src/data/arena-tag.ts index d8adec26840..4a22b25fd9b 100644 --- a/src/data/arena-tag.ts +++ b/src/data/arena-tag.ts @@ -17,21 +17,7 @@ export enum ArenaTagSide { ENEMY } -export abstract class ArenaTag {activateTrap(pokemon: Pokemon): boolean { - if (pokemon.isOfType(Type.POISON) && pokemon.isGrounded()) { - this.neutralized = true; - if (pokemon.scene.arena.removeTag(this.tagType)) { - pokemon.scene.queueMessage(getPokemonMessage(pokemon, ` absorbed the ${this.getMoveName()}!`)); - return true; - } - } - else if (!pokemon.status && pokemon.isGrounded()) { - const toxic = this.layers > 1; - if (pokemon.trySetStatus(!toxic ? StatusEffect.POISON : StatusEffect.TOXIC, true, null, `the ${this.getMoveName()}`)) - return true; - } - return false; - } +export abstract class ArenaTag { public tagType: ArenaTagType; public turnCount: integer; public sourceMove: Moves;