mirror of
https://github.com/kwsch/PKHeX.git
synced 2026-10-02 01:38:07 -05:00
set gigantamax flag from showdown set (#2469)
This commit is contained in:
@@ -367,6 +367,9 @@ public static void ApplySetDetails(this PKM pk, ShowdownSet Set)
|
||||
b.ResetCalculatedValues();
|
||||
}
|
||||
}
|
||||
|
||||
if (pk is IGigantamax c)
|
||||
c.CanGigantamax = Set.CanGigantamax;
|
||||
|
||||
var legal = new LegalityAnalysis(pk);
|
||||
if (legal.Parsed && legal.Info.Relearn.Any(z => !z.Valid))
|
||||
|
||||
Reference in New Issue
Block a user