mirror of
https://github.com/kwsch/PKHeX
synced 2024-11-15 00:37:11 +00:00
parent
b81cad84ab
commit
cb0ae14a50
1 changed files with 9 additions and 2 deletions
|
@ -223,11 +223,18 @@ namespace PKHeX.Core
|
|||
{
|
||||
gender = Math.Min(2, Math.Max(0, gender));
|
||||
if (pk.Format <= 2)
|
||||
{
|
||||
pk.SetATKIVGender(gender);
|
||||
else if (pk.Format <= 4)
|
||||
}
|
||||
else if (pk.Format <= 5)
|
||||
{
|
||||
pk.SetPIDGender(gender);
|
||||
else
|
||||
pk.Gender = gender;
|
||||
}
|
||||
else
|
||||
{
|
||||
pk.Gender = gender;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
|
Loading…
Reference in a new issue