mirror of
https://github.com/kwsch/PKHeX
synced 2025-02-17 13:58:33 +00: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:
parent
27754afea8
commit
f96eafa682
1 changed files with 1 additions and 1 deletions
|
@ -139,7 +139,7 @@ namespace PKHeX.Core
|
|||
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);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue