mirror of
https://github.com/kwsch/PKHeX.git
synced 2026-09-30 17:27:58 -05:00
Fix wc7->pk7 gender determination
needed to reference SM not AO
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user