Allow hatched Gift2 eggs to have met info

Closes #3985
This commit is contained in:
Kurt
2023-09-11 01:00:24 -07:00
parent e3f8091971
commit fe7012c3eb

View File

@@ -269,7 +269,7 @@ public void VerifyMiscG1(LegalityAnalysis data)
var time = t.Met_TimeOfDay;
bool valid = data.EncounterOriginal switch
{
EncounterGift2 => time == 0,
EncounterGift2 g2 when (!g2.EggEncounter || pk.IsEgg) => time == 0,
EncounterTrade2 => time == 0,
_ => time is 1 or 2 or 3,
};