mirror of
https://github.com/kwsch/PKHeX.git
synced 2026-05-09 12:35:20 -05:00
parent
ec7fc8e2f0
commit
916ac84a98
|
|
@ -315,7 +315,14 @@ public static void ApplySetDetails(this PKM pk, ShowdownSet Set)
|
|||
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 New Issue
Block a user