mirror of
https://github.com/kwsch/PKHeX
synced 2024-11-10 06:34:19 +00:00
Allow HGSS hatch location Global Terminal
https://projectpokemon.org/home/forums/topic/65420-hgss-encounter-met-location-error-global-terminal/ only allow cross-version hatch locations if the egg location indicates it was traded
This commit is contained in:
parent
27407aae60
commit
298a0e6291
2 changed files with 2 additions and 2 deletions
|
@ -65,7 +65,7 @@ public static class EggHatchLocation4
|
|||
7, 3, 3, 3, 3, 2, 0, 3, 3, 3,
|
||||
3, 3, 3, 3, 3, 3, 3, 3, 3, 3,
|
||||
3, 3, 3, 3, 3, 3, 3, 3, 3, 3,
|
||||
3, 3, 6, 6, 6, 6, 6, 2, 2, 2,
|
||||
3, 3, 6, 6, 6, 6, 6, 2, 6, 2,
|
||||
2, 2, 2, 2, 2, 2, 4, 4, 4, 4,
|
||||
4, 4, 4, 4, 4, 4, 4, 4, 4, 4,
|
||||
4, 4, 4, 4, 4, 4, 4, 4, 4, 4,
|
||||
|
|
|
@ -182,7 +182,7 @@ public static class EncounterVerifier
|
|||
return GetValid(LEggLocation);
|
||||
|
||||
// Version isn't updated when hatching on a different game. Check any game.
|
||||
if (EggHatchLocation4.IsValidMet4Any(met))
|
||||
if (pk.EggLocation == Locations.LinkTrade4 && EggHatchLocation4.IsValidMet4Any(met))
|
||||
return GetValid(LEggLocationTrade);
|
||||
return GetInvalid(LEggLocationInvalid);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue