Fix pk1->pk2 conversion

This commit is contained in:
Kurt 2018-09-29 21:03:34 -07:00
parent 827d7f8fb3
commit 78c7535dea

View file

@ -110,8 +110,8 @@ namespace PKHeX.Core
{
PK2 pk2 = new PK2(null, Identifier, Japanese) {Species = Species};
Array.Copy(Data, 0x7, pk2.Data, 0x1, 0x1A);
otname.CopyTo(pk2.otname, otname.Length);
nick.CopyTo(pk2.nick, nick.Length);
otname.CopyTo(pk2.otname, 0);
nick.CopyTo(pk2.nick, 0);
pk2.HeldItem = ItemConverter.GetG2ItemTransfer(pk2.HeldItem);
pk2.CurrentFriendship = pk2.PersonalInfo.BaseFriendship;