Skip to content

Commit

Permalink
Update LevelVerifier.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
kwsch committed Mar 25, 2023
1 parent a68165c commit 081a48b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions PKHeX.Core/Legality/Verifiers/LevelVerifier.cs
Expand Up @@ -125,9 +125,9 @@ private static bool IsTradeEvolutionRequired(LegalityAnalysis data, IEncounterTe
var moves = data.Info.Moves;
// Gen2 stuff can be traded between Gen2 games holding an Everstone, assuming it hasn't been transferred to Gen1 for special moves.
if (enc.Generation == 2)
return Array.Exists(moves, z => z.Generation != 2);
return Array.Exists(moves, z => z.Generation == 1);
// Gen1 stuff can only be un-evolved if it was never traded from the OT.
if (Array.Exists(moves, z => z.Generation != 1))
if (Array.Exists(moves, z => z.Generation == 2))
return true; // traded to Gen2 for special moves
if (pk.Format != 1)
return true; // traded to Gen2 (current state)
Expand Down

0 comments on commit 081a48b

Please sign in to comment.