mirror of
https://github.com/kwsch/PKHeX
synced 2024-11-23 12:33:06 +00:00
Add personal info structure update changes
One field added to indicate the GO species or whatever; the 891/892 meltan values match here. Might not be only for GO species translation, might be for fetching models idk
This commit is contained in:
parent
94c8b348c8
commit
73ee5e5afd
1 changed files with 13 additions and 0 deletions
13
PKHeX.Core/PersonalInfo/PersonalInfoGG.cs
Normal file
13
PKHeX.Core/PersonalInfo/PersonalInfoGG.cs
Normal file
|
@ -0,0 +1,13 @@
|
|||
using System;
|
||||
|
||||
namespace PKHeX.Core
|
||||
{
|
||||
/// <summary>
|
||||
/// <see cref="PersonalInfo"/> class with values from the LGPE games.
|
||||
/// </summary>
|
||||
public class PersonalInfoGG : PersonalInfoSM
|
||||
{
|
||||
public PersonalInfoGG(byte[] data) : base(data) { }
|
||||
public int GoSpecies { get => BitConverter.ToUInt16(Data, 0x48); set => BitConverter.GetBytes((ushort)value).CopyTo(Data, 0x48); }
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue