Skip to content

Commit

Permalink
Fix encounter find for passed egg moves
Browse files Browse the repository at this point in the history
  • Loading branch information
kwsch committed Feb 8, 2020
1 parent fe092ce commit e9e1e5e
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -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
Expand Down

0 comments on commit e9e1e5e

Please sign in to comment.