mirror of
https://github.com/kwsch/PKHeX.git
synced 2026-08-26 11:34:28 -05:00
grab correct evo stage 1 from evocriteria list (#2503)
EncounterMovesetGenerator was using the de-evolution order in the passed evocriteria list
This commit is contained in:
@@ -139,7 +139,7 @@ private static IEnumerable<int> GetMovesForGeneration(PKM pk, IReadOnlyList<EvoC
|
||||
IEnumerable<int> moves = Legal.GetValidMoves(pk, dl, generation);
|
||||
if (generation >= 8)
|
||||
{
|
||||
var evo = dl[0];
|
||||
var evo = dl[dl.Count - 1];
|
||||
var shared = MoveEgg.GetEggMoves(pk, evo.Species, evo.Form, GameVersion.SW);
|
||||
moves = moves.Concat(shared);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user