From 6874d5d0eadcd3c9946ba740aa5b7455a4b9fb7d Mon Sep 17 00:00:00 2001 From: DustinLin Date: Thu, 18 Jul 2024 15:54:04 -0400 Subject: [PATCH] cleanup --- src/data/move.ts | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/data/move.ts b/src/data/move.ts index 6c8ff26f8fb..4d0b53ec29f 100644 --- a/src/data/move.ts +++ b/src/data/move.ts @@ -2217,9 +2217,7 @@ export class WeatherChangeAttr extends MoveEffectAttr { } getCondition(): MoveConditionFunc { - // adding clause CHILLY_RECEPTION, so move doesn't fail when it's already snowing: since the move still allows a switch out return (user, target, move) => !user.scene.arena.weather || (user.scene.arena.weather.weatherType !== this.weatherType && !user.scene.arena.weather.isImmutable()); - } } @@ -4747,7 +4745,6 @@ export class ForceSwitchOutAttr extends MoveEffectAttr { getCondition(): MoveConditionFunc { return (user, target, move) => (move.category !== MoveCategory.STATUS || this.getSwitchOutCondition()(user, target, move)); - } getFailedText(user: Pokemon, target: Pokemon, move: Move, cancelled: Utils.BooleanHolder): string | null {