mirror of
https://github.com/kwsch/PKHeX
synced 2024-11-10 14:44:24 +00:00
Reset CP on import
This commit is contained in:
parent
8f70aa0113
commit
0cc82edc48
1 changed files with 2 additions and 1 deletions
|
@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue