mirror of
https://github.com/kwsch/PKHeX
synced 2024-11-27 06:20:25 +00:00
Change OT_Class to have an expression body (#2759)
This commit is contained in:
parent
6f0c3c1205
commit
8a1e73e5b3
2 changed files with 3 additions and 3 deletions
|
@ -34,7 +34,7 @@ namespace PKHeX.Core
|
|||
set => BitConverter.GetBytes(value).CopyTo(Data, Offset + 9);
|
||||
}
|
||||
|
||||
public int OT_Class { get => Data[Offset + 9] % 5; }
|
||||
public int OT_Class => Data[Offset + 9] % 5;
|
||||
public int Language { get => Data[Offset + 0x0D]; set => Data[Offset + 0x0D] = (byte)value; }
|
||||
public int _E { get => Data[Offset + 0x0E]; set => Data[Offset + 0x0E] = (byte)value; }
|
||||
public int _F { get => Data[Offset + 0x0F]; set => Data[Offset + 0x0F] = (byte)value; }
|
||||
|
|
|
@ -232,9 +232,9 @@ namespace PKHeX.WinForms
|
|||
}
|
||||
|
||||
SAV.BP = ushort.Parse(TB_BP.Text);
|
||||
// Set Current PokéMiles
|
||||
// Set Current PokéMiles
|
||||
SAV.SetRecord(63, Util.ToInt32(TB_PM.Text));
|
||||
// Set Max Obtained Pokémiles
|
||||
// Set Max Obtained Pokémiles
|
||||
SAV.SetRecord(64, Util.ToInt32(TB_PM.Text));
|
||||
sit.Style = byte.Parse(TB_Style.Text);
|
||||
|
||||
|
|
Loading…
Reference in a new issue