mirror of
https://github.com/kwsch/PKHeX.git
synced 2026-08-26 08:04:07 -05:00
Check if the specified move is valid as Sketch move
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user