mirror of
https://github.com/kwsch/PKHeX
synced 2024-11-10 14:44:24 +00:00
Update egg related legality checks for g4
#1078 unhatched -> hatched when checking a hatched egg faraway check for Pt as well as HGSS.
This commit is contained in:
parent
36515b8178
commit
6bd2e3b20a
2 changed files with 2 additions and 2 deletions
|
@ -627,7 +627,7 @@ namespace PKHeX.Core
|
|||
|
||||
if (pkm.Met_Location != 30001)
|
||||
return new CheckResult(Severity.Invalid, V61, CheckIdentifier.Encounter);
|
||||
return new CheckResult(Severity.Valid, V63, CheckIdentifier.Encounter);
|
||||
return new CheckResult(Severity.Valid, V53, CheckIdentifier.Encounter);
|
||||
}
|
||||
private CheckResult verifyEncounterEgg5()
|
||||
{
|
||||
|
|
|
@ -443,7 +443,7 @@ namespace PKHeX.Core
|
|||
{
|
||||
switch (GenNumber)
|
||||
{
|
||||
case 4: return Legal.EggLocations4.Contains(Egg_Location) || (Species == 490 && Egg_Location == 3001) || (Egg_Location == 3002 && HGSS); // faraway
|
||||
case 4: return Legal.EggLocations4.Contains(Egg_Location) || (Species == 490 && Egg_Location == 3001) || (Egg_Location == 3002 && PtHGSS); // faraway
|
||||
case 5: return Legal.EggLocations5.Contains(Egg_Location);
|
||||
case 6:
|
||||
case 7: return Legal.EggLocations.Contains(Egg_Location);
|
||||
|
|
Loading…
Reference in a new issue