mirror of
https://github.com/kwsch/PKHeX
synced 2024-11-16 09:08:02 +00:00
Add Gender to Gen 8 Trainer Card (#2694)
This commit is contained in:
parent
cb5d8186fd
commit
acb9cc2a9d
1 changed files with 6 additions and 0 deletions
|
@ -92,6 +92,12 @@ namespace PKHeX.Core
|
||||||
set => Data[Offset + 0x30] = (byte)(value ? 1 : 0);
|
set => Data[Offset + 0x30] = (byte)(value ? 1 : 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public int Gender
|
||||||
|
{
|
||||||
|
get => Data[0x38];
|
||||||
|
set => Data[0x38] = (byte)value;
|
||||||
|
}
|
||||||
|
|
||||||
public string Number
|
public string Number
|
||||||
{
|
{
|
||||||
get => Encoding.ASCII.GetString(Data, 0x39, 3);
|
get => Encoding.ASCII.GetString(Data, 0x39, 3);
|
||||||
|
|
Loading…
Reference in a new issue