mirror of
https://github.com/kwsch/PKHeX
synced 2024-11-27 06:20:25 +00:00
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:
parent
b8c490ae2e
commit
d8f064409f
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue