mirror of
https://github.com/kwsch/PKHeX
synced 2024-11-26 14:00:21 +00:00
Update Roaming8bRNG.cs
This commit is contained in:
parent
a4ac8240b8
commit
608f7ebe12
1 changed files with 4 additions and 0 deletions
|
@ -20,6 +20,10 @@ public static class Roaming8bRNG
|
|||
if (flawless == -1)
|
||||
flawless = 0;
|
||||
|
||||
// Since the inner methods do not set Gender (only fixed Genders are applicable) and Nature (assume Synchronize used), set them here.
|
||||
pk.Gender = pk.Species == (int)Species.Cresselia ? 1 : 2; // Mesprit
|
||||
pk.Nature = pk.StatNature = (int)criteria.GetNature();
|
||||
|
||||
int ctr = 0;
|
||||
var rnd = Util.Rand;
|
||||
do
|
||||
|
|
Loading…
Reference in a new issue