mirror of
https://github.com/kwsch/PKHeX
synced 2024-11-23 20:43:07 +00:00
parent
e9cd03d72f
commit
75d460e502
1 changed files with 6 additions and 9 deletions
|
@ -131,15 +131,6 @@ namespace PKHeX.Core
|
|||
{
|
||||
if (pk.Version > Legal.MaxGameID_6)
|
||||
return true;
|
||||
if (pk.Geo1_Country != 0)
|
||||
return false;
|
||||
|
||||
int lvl = pk.CurrentLevel;
|
||||
if (lvl < 100 && pk.EncounterType != 0)
|
||||
return false;
|
||||
if (pk.EncounterType > 24)
|
||||
return true;
|
||||
|
||||
if (pk.Enjoyment != 0 || pk.Fullness != 0)
|
||||
return false;
|
||||
|
||||
|
@ -155,6 +146,12 @@ namespace PKHeX.Core
|
|||
if (pk.HeldItem > Legal.MaxItemID_6_AO)
|
||||
return true;
|
||||
|
||||
int lvl = pk.CurrentLevel;
|
||||
if (lvl < 100 && pk.EncounterType != 0)
|
||||
return false;
|
||||
if (pk.EncounterType > 24)
|
||||
return true;
|
||||
|
||||
return false; // 6
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue