mirror of
https://github.com/kwsch/PKHeX
synced 2024-11-14 16:27:21 +00:00
Set pk2 time of day for EncounterEgg ctor
This commit is contained in:
parent
7cbde296f8
commit
05d43cef7c
1 changed files with 1 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue