Update Core.cs

This commit is contained in:
Kurt 2020-08-05 10:57:07 -07:00
parent ad6728fb5c
commit 2b4e2a8fa1

View File

@ -261,7 +261,7 @@ internal static bool IsEvolutionValidWithMove(PKM pkm, LegalInfo info)
LearnLevel = Math.Min(LearnLevel, info.EncounterMatch.LevelMin);
// If the encounter is a player hatched egg check if the move could be an egg move or inherited level up move
if (info.EncounterMatch is EncounterEgg)
if (info.EncounterMatch is EncounterEgg && allowegg)
{
if (IsMoveInherited(pkm, info, moves))
LearnLevel = Math.Min(LearnLevel, gen <= 3 ? 6 : 2);