mirror of
https://github.com/kwsch/PKHeX.git
synced 2026-10-01 21:46:59 -05:00
Revert change in form parameter in getValidMoves
This commit is contained in:
@@ -1162,7 +1162,7 @@ private static IEnumerable<int> getValidMoves(PKM pkm, GameVersion Version, IEnu
|
||||
}
|
||||
|
||||
foreach (DexLevel evo in vs)
|
||||
r.AddRange(getMoves(pkm, evo.Species, evo.Level, evo.Form, moveTutor, Version, LVL, Tutor, Machine, Generation, MoveReminder));
|
||||
r.AddRange(getMoves(pkm, evo.Species, evo.Level, pkm.AltForm, moveTutor, Version, LVL, Tutor, Machine, Generation, MoveReminder));
|
||||
|
||||
if (pkm.Format <= 3)
|
||||
return r.Distinct().ToArray();
|
||||
|
||||
Reference in New Issue
Block a user