From 8393cb484eadc076d366d86ed39dd39e4ece6f3c Mon Sep 17 00:00:00 2001 From: geeilhan <107366005+geeilhan@users.noreply.github.com> Date: Mon, 4 Nov 2024 10:05:45 +0100 Subject: [PATCH] Update src/field/pokemon.ts Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com> --- src/field/pokemon.ts | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/field/pokemon.ts b/src/field/pokemon.ts index b2938299c38..ab886e6fdcb 100644 --- a/src/field/pokemon.ts +++ b/src/field/pokemon.ts @@ -352,11 +352,6 @@ export default abstract class Pokemon extends Phaser.GameObjects.Container { return challengeAllowed.value; } - /** - * Checks if the Pokemon is allowed to be in battle and if it is on the field - * @param onField overrides if this Pokemon is on the field or not - * @returns returns false if there is no scene otherwise it returns true - */ isActive(onField?: boolean): boolean { if (!this.scene) { return false;