From e8ce7bedcf48f8b24063645ab43ec272ef3af204 Mon Sep 17 00:00:00 2001 From: frutescens Date: Wed, 6 Nov 2024 12:50:53 -0800 Subject: [PATCH] Added check for Struggle. --- src/data/move.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/data/move.ts b/src/data/move.ts index f0dd7bca7b9..f848a7b4855 100644 --- a/src/data/move.ts +++ b/src/data/move.ts @@ -6749,7 +6749,7 @@ export class SketchAttr extends MoveEffectAttr { } const targetMove = target.getMoveHistory().filter(m => !m.virtual).at(-1); - if (!targetMove || (targetMove.result === MoveResult.FAIL || targetMove.result === MoveResult.OTHER)) { + if (!targetMove || (targetMove.result === MoveResult.FAIL || targetMove.result === MoveResult.OTHER) || targetMove.move === Moves.STRUGGLE) { return false; }