mirror of
https://github.com/kwsch/PKHeX
synced 2024-11-15 00:37:11 +00:00
parent
ec7fc8e2f0
commit
916ac84a98
1 changed files with 7 additions and 0 deletions
|
@ -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))
|
||||
|
|
Loading…
Reference in a new issue