Add Keldeo move mismatch

Probably going to move to a form check later.
This commit is contained in:
Kaphotics 2016-03-14 23:54:13 -07:00
parent 6b410dd65c
commit 1a2aee930d

View file

@ -227,6 +227,11 @@ namespace PKHeX
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)