Remove gen 2 moves above max moves in gen 1 for moves learned in gen 2 by tradeback pokemon

This commit is contained in:
javierhimura
2017-02-27 19:50:16 +01:00
parent a9dbf677ae
commit 3f80d07b6f

View File

@@ -1476,6 +1476,8 @@ private static IEnumerable<int> getMoves(PKM pkm, int species, int lvl, int form
}
if (moveTutor)
r.AddRange(getTutorMoves(pkm, species, form, specialTutors, Generation));
if (pkm.Format == 1) //tradeback gen 2 -> gen 1
r = r.Where(m => m <= MaxMoveID_1).ToList();
break;
}
case 6: