Set pk2 time of day for EncounterEgg ctor

This commit is contained in:
Kurt 2022-09-24 19:23:52 -07:00
parent 7cbde296f8
commit 05d43cef7c

View file

@ -59,6 +59,7 @@ public sealed record EncounterEgg(ushort Species, byte Form, byte Level, int Gen
{
pk.Met_Location = Locations.HatchLocationC;
pk.Met_Level = 1;
((PK2)pk).Met_TimeOfDay = Util.Rand.Next(1, 4); // Morning | Day | Night
}
return pk;
}