mirror of
https://github.com/kwsch/PKHeX.git
synced 2026-05-11 14:14:57 -05:00
Update Core.cs
This commit is contained in:
parent
ad6728fb5c
commit
2b4e2a8fa1
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user