mirror of
https://github.com/kwsch/PKHeX.git
synced 2026-08-18 15:31:19 -05:00
Update EggVerifier.cs
This commit is contained in:
@@ -82,7 +82,10 @@ private void VerifyEggBreedingChain(LegalityAnalysis data, PKM pk, IEncounterEgg
|
||||
{
|
||||
// Check if we have any moves that are as a result of breeding chain.
|
||||
Span<ushort> moves = stackalloc ushort[4];
|
||||
pk.GetMoves(moves);
|
||||
if (egg.Generation >= 6)
|
||||
pk.GetRelearnMoves(moves);
|
||||
else
|
||||
pk.GetMoves(moves);
|
||||
var personal = GameData.GetPersonal(egg.Version)[egg.Species, egg.Form];
|
||||
var includeInheritedLevelUp = personal.OnlyFemale
|
||||
&& !Breeding.IsGenderSpeciesDetermination(egg.Species);
|
||||
|
||||
Reference in New Issue
Block a user