mirror of
https://github.com/kwsch/PKHeX.git
synced 2026-06-03 03:24:11 -05:00
fix personalinfo setters
not used in PKHeX, documentation parity with pk3DS
This commit is contained in:
parent
2d5363d7cc
commit
844e1df508
|
|
@ -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; } }
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user