mirror of
https://github.com/kwsch/PKHeX.git
synced 2026-05-14 08:00:33 -05:00
Fix wc7->pk7 gender determination
needed to reference SM not AO
This commit is contained in:
parent
8c78afe499
commit
925a720b4c
|
|
@ -305,7 +305,7 @@ public override PKM convertToPKM(SaveFile SAV)
|
|||
SID = SID,
|
||||
Met_Level = metLevel,
|
||||
Nature = Nature != 0xFF ? Nature : (int)(Util.rnd32() % 25),
|
||||
Gender = PersonalTable.AO[Species].Gender == 255 ? 2 : (Gender != 3 ? Gender : PersonalTable.AO[Species].RandomGender),
|
||||
Gender = PersonalTable.SM[Species].Gender == 255 ? 2 : (Gender != 3 ? Gender : PersonalTable.SM[Species].RandomGender),
|
||||
AltForm = Form,
|
||||
EncryptionConstant = EncryptionConstant == 0 ? Util.rnd32() : EncryptionConstant,
|
||||
Version = OriginGame == 0 ? SAV.Game : OriginGame,
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user