Add hot spring wynaut OT memory case

Adding 60004 to the "WasEgg" check qualifies the pkm to be checked for
having egg relearn moves; since this was a gift egg it wasn't a
daycareEgg.
This commit is contained in:
Kaphotics 2016-08-03 00:10:38 -07:00
parent 3e7d694128
commit 8d6525dfe9

View file

@ -710,7 +710,7 @@ namespace PKHeX
switch (pk6.OT_Memory) switch (pk6.OT_Memory)
{ {
case 2: // {0} hatched from an Egg and saw {1} for the first time at... {2}. {4} that {3}. case 2: // {0} hatched from an Egg and saw {1} for the first time at... {2}. {4} that {3}.
if (!pk6.WasEgg) if (!pk6.WasEgg && pk6.Egg_Location != 60004)
return new LegalityCheck(Severity.Invalid, "OT Memory: OT did not hatch this."); return new LegalityCheck(Severity.Invalid, "OT Memory: OT did not hatch this.");
return new LegalityCheck(Severity.Valid, "OT Memory is valid."); return new LegalityCheck(Severity.Valid, "OT Memory is valid.");
case 4: // {0} became {1}s friend when it arrived via Link Trade at... {2}. {4} that {3}. case 4: // {0} became {1}s friend when it arrived via Link Trade at... {2}. {4} that {3}.