From 9a37eda9bae1e1007dc3f4033d7ebf9ce9ff9597 Mon Sep 17 00:00:00 2001 From: Oliver Garcia Date: Tue, 10 May 2016 17:03:51 +0100 Subject: [PATCH] Check if the specified move is valid as Sketch move --- Legality/Core.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Legality/Core.cs b/Legality/Core.cs index 974d91a32..2f1574ceb 100644 --- a/Legality/Core.cs +++ b/Legality/Core.cs @@ -376,6 +376,8 @@ internal static bool getCanLearnMove(PK6 pk6, int move, int version = -1) } internal static bool getCanKnowMove(PK6 pk6, int move, int version = -1) { + if (pk6.Species == 235 && !Legal.InvalidSketch.Contains(move)) + return true; return getValidMoves(pk6, Version: version, LVL: true, Relearn: true, Tutor: true, Machine: true).Contains(move); }