Add sketch check for bdsp legends signature moves

Can't learn these yet
This commit is contained in:
Kurt 2021-12-23 01:57:53 -08:00
parent 46f5a9c29a
commit 42d24ad183
2 changed files with 12 additions and 1 deletions

View file

@ -127,7 +127,7 @@ namespace PKHeX.Core
return false;
if (generation is 6 && move is ((int)ThousandArrows or (int)ThousandWaves))
return false;
if (generation is 8 && DummiedMoves_BDSP.Contains(move)) // can't Sketch unusable moves in BDSP
if (generation is 8 && (SignatureSketch_BDSP.Contains(move) || DummiedMoves_BDSP.Contains(move))) // can't Sketch unusable moves in BDSP
return false;
return move <= GetMaxMoveID(generation);
}

View file

@ -217,6 +217,17 @@ namespace PKHeX.Core
(int)Move.DracoMeteor,
};
/// <summary>
/// Unavailable Sketch Moves that are only learnable once certain species are distributed / made accessible.
/// </summary>
public static readonly HashSet<int> SignatureSketch_BDSP = new()
{
(int)Move.PsychoBoost, // Deoxys
(int)Move.SeedFlare, // Shaymin
(int)Move.DarkVoid, // Darkrai
(int)Move.Judgment, // Arceus
};
/// <summary>
/// Moves that are kill
/// </summary>