PKHeX/PKHeX.Core/Saves/Substructures/Gen7/FieldMenu7.cs
Kurt 1b028198ad
Split gen5-7 saves with inheritance (#2319)
refer to pull request comments for summary
2019-06-08 19:56:11 -07:00

14 lines
No EOL
376 B
C#

namespace PKHeX.Core
{
public sealed class FieldMenu7 : SaveBlock
{
public FieldMenu7(SAV7 sav, int offset) : base(sav) => Offset = offset;
// USUM ONLY
public string RotomOT
{
get => SAV.GetString(Offset + 0x30, 0x1A);
set => SAV.SetString(value, SAV.OTLength).CopyTo(Data, Offset + 0x30);
}
}
}