mirror of
https://github.com/kwsch/PKHeX
synced 2024-11-10 14:44:24 +00:00
Add sketch check for bdsp legends signature moves
Can't learn these yet
This commit is contained in:
parent
46f5a9c29a
commit
42d24ad183
2 changed files with 12 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue