mirror of
https://github.com/kwsch/PKHeX.git
synced 2026-05-20 12:48:30 -05:00
Fix encounter find for passed egg moves
https://projectpokemon.org/home/forums/topic/56188-encounter-database-froslass-error/
This commit is contained in:
parent
fe092ce043
commit
e9e1e5e166
|
|
@ -137,7 +137,7 @@ private static int[] GetNeededMoves(PKM pk, IEnumerable<int> moves, IReadOnlyLis
|
|||
private static IEnumerable<int> GetMovesForGeneration(PKM pk, IReadOnlyList<EvoCriteria> dl, int generation)
|
||||
{
|
||||
IEnumerable<int> moves = Legal.GetValidMoves(pk, dl, generation);
|
||||
if (generation >= 8)
|
||||
if (pk.GenNumber >= 8)
|
||||
{
|
||||
// Shared Egg Moves via daycare
|
||||
// Any egg move can be obtained
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user