mirror of
https://github.com/kwsch/PKHeX.git
synced 2026-08-28 03:44:10 -05:00
Add necrozma special forme moves
not present in the levelup movepool like they should be...
This commit is contained in:
@@ -1692,12 +1692,22 @@ private static IEnumerable<int> GetValidMoves(PKM pkm, GameVersion Version, DexL
|
||||
if (pkm.Format <= 3)
|
||||
return r.Distinct();
|
||||
if (LVL)
|
||||
{
|
||||
if (species == 479 && Generation >= 4) // Rotom
|
||||
r.Add(RotomMoves[pkm.AltForm]);
|
||||
|
||||
if (species == 718 && Generation == 7) // Zygarde
|
||||
r.AddRange(ZygardeMoves);
|
||||
{
|
||||
switch (species)
|
||||
{
|
||||
case 479 when Generation >= 4: // rotom
|
||||
r.Add(RotomMoves[pkm.AltForm]);
|
||||
break;
|
||||
case 718 when Generation == 7: // zygarde
|
||||
r.AddRange(ZygardeMoves);
|
||||
break;
|
||||
case 800 when pkm.AltForm == 1: // Sun Necrozma
|
||||
r.Add(713);
|
||||
break;
|
||||
case 800 when pkm.AltForm == 2: // Moon Necrozma
|
||||
r.Add(714);
|
||||
break;
|
||||
}
|
||||
}
|
||||
if (Tutor)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user