Add necrozma special forme moves

not present in the levelup movepool like they should be...
This commit is contained in:
Kurt
2017-11-12 09:17:54 -08:00
parent d11b6b09ae
commit 064d18c13f

View File

@@ -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)
{