mirror of
https://github.com/kwsch/PKHeX
synced 2024-11-10 14:44:24 +00:00
Update EncounterSlot9.cs
This commit is contained in:
parent
2aec7572f8
commit
513a0d6b7a
1 changed files with 2 additions and 0 deletions
|
@ -162,6 +162,8 @@ public sealed record EncounterSlot9(EncounterArea9 Parent, ushort Species, byte
|
|||
return form;
|
||||
if (form == EncounterUtil.FormVivillon)
|
||||
return Vivillon3DS.FancyFormID; // Fancy Vivillon
|
||||
if (Species == (int)Core.Species.Minior)
|
||||
return (byte)Util.Rand.Next(7, 14);
|
||||
// flagged as totally random
|
||||
return (byte)Util.Rand.Next(PersonalTable.SV[Species].FormCount);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue