mirror of
https://github.com/kwsch/PKHeX.git
synced 2026-10-01 02:06:46 -05:00
Update LevelVerifier.cs
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user