mirror of
https://github.com/kwsch/PKHeX.git
synced 2026-09-14 17:05:16 -05: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:
@@ -627,7 +627,7 @@ private CheckResult verifyEncounterEgg4()
|
||||
|
||||
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 @@ public virtual bool WasEgg
|
||||
{
|
||||
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);
|
||||
|
||||
Reference in New Issue
Block a user