mirror of
https://github.com/kwsch/PKHeX.git
synced 2026-09-12 17:35:21 -05:00
fix personalinfo setters
not used in PKHeX, documentation parity with pk3DS
This commit is contained in:
@@ -56,8 +56,8 @@ public override int[] Items
|
||||
{
|
||||
if (value?.Length != 3) return;
|
||||
BitConverter.GetBytes((short)value[0]).CopyTo(Data, 0xC);
|
||||
BitConverter.GetBytes((short)value[0]).CopyTo(Data, 0xE);
|
||||
BitConverter.GetBytes((short)value[0]).CopyTo(Data, 0x10);
|
||||
BitConverter.GetBytes((short)value[1]).CopyTo(Data, 0xE);
|
||||
BitConverter.GetBytes((short)value[2]).CopyTo(Data, 0x10);
|
||||
}
|
||||
}
|
||||
public override int Gender { get { return Data[0x12]; } set { Data[0x12] = (byte)value; } }
|
||||
|
||||
@@ -51,7 +51,7 @@ public override int[] Items
|
||||
{
|
||||
if (value?.Length != 2) return;
|
||||
BitConverter.GetBytes((short)value[0]).CopyTo(Data, 0xC);
|
||||
BitConverter.GetBytes((short)value[0]).CopyTo(Data, 0xE);
|
||||
BitConverter.GetBytes((short)value[1]).CopyTo(Data, 0xE);
|
||||
}
|
||||
}
|
||||
public override int Gender { get { return Data[0x10]; } set { Data[0x10] = (byte)value; } }
|
||||
|
||||
Reference in New Issue
Block a user