mirror of
https://github.com/kwsch/PKHeX.git
synced 2026-08-26 18:15:43 -05:00
Add Keldeo move mismatch
Probably going to move to a form check later.
This commit is contained in:
@@ -227,6 +227,11 @@ private LegalityCheck[] verifyMoves()
|
||||
if (Moves[0] == 0)
|
||||
res[0] = new LegalityCheck(Severity.Invalid, "Invalid Move.");
|
||||
|
||||
|
||||
if (pk6.Species == 647) // Keldeo
|
||||
if (pk6.AltForm == 1 ^ pk6.Moves.Contains(533))
|
||||
res[0] = new LegalityCheck(Severity.Invalid, "Sacred Sword / Resolute Keldeo Mismatch.");
|
||||
|
||||
// Duplicate Moves Check
|
||||
for (int i = 0; i < 4; i++)
|
||||
if (Moves.Count(m => m != 0 && m == Moves[i]) > 1)
|
||||
|
||||
Reference in New Issue
Block a user