From 865dcb5a0bc073985b819cd4a4d705bf49ab8137 Mon Sep 17 00:00:00 2001 From: frutescens Date: Tue, 3 Sep 2024 09:54:58 -0700 Subject: [PATCH] Added Sketch to the conditional --- src/phases/learn-move-phase.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/phases/learn-move-phase.ts b/src/phases/learn-move-phase.ts index 8a375b2205e..6b60abfba2c 100644 --- a/src/phases/learn-move-phase.ts +++ b/src/phases/learn-move-phase.ts @@ -30,7 +30,7 @@ export class LearnMovePhase extends PlayerPartyMemberPokemonPhase { const currentMoveset = pokemon.getMoveset(); // The game first checks if the Pokemon already has the move and ends the phase if it does. - const hasMoveAlready = currentMoveset.some(m => m?.moveId === move.id); + const hasMoveAlready = currentMoveset.some(m => m?.moveId === move.id) && this.moveId !== Moves.SKETCH; if (hasMoveAlready) { return this.end(); }