mirror of
https://github.com/kwsch/pk3DS.git
synced 2026-10-01 13:26:39 -05:00
add nature
This commit is contained in:
@@ -83,6 +83,11 @@ public int[] RelearnMoves
|
||||
BitConverter.GetBytes((ushort)value[i]).CopyTo(Data, 0xC + i * 2);
|
||||
}
|
||||
}
|
||||
public int Nature
|
||||
{
|
||||
get => Data[0x14];
|
||||
set => Data[0x14] = (byte)value;
|
||||
}
|
||||
|
||||
public int[] IVs
|
||||
{
|
||||
@@ -125,6 +130,8 @@ public string GetSummary()
|
||||
str += $"Gender = {Gender - 1}, ";
|
||||
if (HeldItem != 0)
|
||||
str += $"HeldItem = {HeldItem}, ";
|
||||
if (Nature != 0)
|
||||
str += $"Nature = {Nature - 1}, ";
|
||||
|
||||
str = str.Trim() + " },";
|
||||
return str;
|
||||
|
||||
Reference in New Issue
Block a user