Force clear EVs on showdown import pb7

Closes #2173
This commit is contained in:
Kurt 2018-11-19 18:26:46 -08:00
parent ec7fc8e2f0
commit 916ac84a98

View file

@ -315,7 +315,14 @@ namespace PKHeX.Core
pk.SetRandomEC();
if (pk is IAwakened a)
{
a.SetSuggestedAwakenedValues(pk);
if (pk is PB7)
{
for (int i = 0; i < 6; i++)
pk.SetEV(i, 0);
}
}
var legal = new LegalityAnalysis(pk);
if (legal.Parsed && legal.Info.Relearn.Any(z => !z.Valid))