Reset CP on import

This commit is contained in:
Kurt 2018-11-20 23:57:38 -08:00
parent 8f70aa0113
commit 0cc82edc48

View file

@ -317,10 +317,11 @@ namespace PKHeX.Core
if (pk is IAwakened a)
{
a.SetSuggestedAwakenedValues(pk);
if (pk is PB7)
if (pk is PB7 b)
{
for (int i = 0; i < 6; i++)
pk.SetEV(i, 0);
b.ResetCalculatedValues();
}
}