Fix pk1->pk2 conversion parameters

https://projectpokemon.org/home/forums/topic/52273-replicable-issue-cant-inject-pk1-in-silvercrystal-save/

Thanks Maddaren!
This commit is contained in:
Kurt 2019-04-17 18:35:51 -07:00
parent b8c490ae2e
commit d8f064409f

View file

@ -111,7 +111,7 @@ namespace PKHeX.Core
public PK2 ConvertToPK2()
{
PK2 pk2 = new PK2(null, Japanese) {Species = Species};
PK2 pk2 = new PK2(Japanese) {Species = Species};
Array.Copy(Data, 0x7, pk2.Data, 0x1, 0x1A);
otname.CopyTo(pk2.otname, 0);
nick.CopyTo(pk2.nick, 0);