mirror of
https://github.com/kwsch/PKHeX
synced 2024-11-10 14:44:24 +00:00
parent
a9892203c7
commit
ec491cdd52
1 changed files with 1 additions and 1 deletions
|
@ -300,7 +300,7 @@ namespace PKHeX.Core
|
|||
public int Badges
|
||||
{
|
||||
get => BitConverter.ToUInt16(Data, Offsets.JohtoBadges);
|
||||
set { if (value < 0) return; BitConverter.GetBytes(value).CopyTo(Data, Offsets.JohtoBadges); }
|
||||
set { if (value < 0) return; BitConverter.GetBytes((ushort)value).CopyTo(Data, Offsets.JohtoBadges); }
|
||||
}
|
||||
private byte Options
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue