mirror of
https://github.com/kwsch/PKHeX.git
synced 2026-10-02 04:19:13 -05:00
XY Battle Resort egg met location
Hatched eggs would have to be Link Trade.
This commit is contained in:
@@ -249,6 +249,8 @@ private LegalityCheck verifyEncounter()
|
||||
}
|
||||
if (pk6.XY)
|
||||
{
|
||||
if (pk6.Egg_Location == 318)
|
||||
return new LegalityCheck(Severity.Invalid, "Invalid X/Y egg location.");
|
||||
return Legal.ValidMet_XY.Contains(pk6.Met_Location)
|
||||
? new LegalityCheck(Severity.Valid, "Valid X/Y hatched egg.")
|
||||
: new LegalityCheck(Severity.Invalid, "Invalid X/Y location for hatched egg.");
|
||||
|
||||
Reference in New Issue
Block a user