From ce53cd704dcf4803b945faad0dac667f42ad96d1 Mon Sep 17 00:00:00 2001 From: Kaphotics Date: Sat, 23 Apr 2016 10:12:52 -0700 Subject: [PATCH] XY Battle Resort egg met location Hatched eggs would have to be Link Trade. --- Legality/Checks.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Legality/Checks.cs b/Legality/Checks.cs index f8d1b349e..1ee26d10c 100644 --- a/Legality/Checks.cs +++ b/Legality/Checks.cs @@ -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.");