Add indication for invalid wondercards

Should clear up confusion when relearnmoves are all invalid.
This commit is contained in:
Kaphotics 2016-10-23 21:56:14 -07:00
parent bbee007429
commit d4bf111cd7

View File

@ -42,6 +42,9 @@ public LegalityAnalysis(PKM pk)
}
catch { Valid = false; }
Parsed = true;
if (pkm.FatefulEncounter && vRelearn.Any(chk => !chk.Valid) && EncounterMatch == null)
AddLine(Severity.Indeterminate, "Fateful Encounter with no matching Encounter. Has the Mystery Gift data been contributed?", CheckIdentifier.Fateful);
}
private void AddLine(Severity s, string c, CheckIdentifier i)