From 039f980a711ced5cdfb6008f7d1c4ae423aaac86 Mon Sep 17 00:00:00 2001 From: innerthunder Date: Mon, 23 Sep 2024 23:43:38 -0700 Subject: [PATCH] More nit fixes --- src/data/move.ts | 3 --- src/phases/switch-phase.ts | 2 +- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/src/data/move.ts b/src/data/move.ts index fb1b8ef10b9..358b148383f 100644 --- a/src/data/move.ts +++ b/src/data/move.ts @@ -5303,9 +5303,6 @@ export class ForceSwitchOutAttr extends MoveEffectAttr { export class ChillyReceptionAttr extends ForceSwitchOutAttr { - - // using inherited constructor - apply(user: Pokemon, target: Pokemon, move: Move, args: any[]): boolean { user.scene.arena.trySetWeather(WeatherType.SNOW, true); return super.apply(user, target, move, args); diff --git a/src/phases/switch-phase.ts b/src/phases/switch-phase.ts index f6c9d838e10..888fb6454fb 100644 --- a/src/phases/switch-phase.ts +++ b/src/phases/switch-phase.ts @@ -18,7 +18,7 @@ export class SwitchPhase extends BattlePhase { /** * Creates a new SwitchPhase * @param scene {@linkcode BattleScene} Current battle scene - * @param switchType The type of switch logic this phase implements + * @param switchType {@linkcode SwitchType} The type of switch logic this phase implements * @param fieldIndex Field index to switch out * @param isModal Indicates if the switch should be forced (true) or is * optional (false).