PKHeX/PKHeX.Core/Saves/Substructures/Gen9/Party9.cs

13 lines
298 B
C#
Raw Normal View History

namespace PKHeX.Core;
public sealed class Party9 : SaveBlock<SAV9SV>
{
public Party9(SAV9SV sav, SCBlock block) : base(sav, block.Data) { }
public int PartyCount
{
get => Data[6 * PokeCrypto.SIZE_9PARTY];
set => Data[6 * PokeCrypto.SIZE_9PARTY] = (byte)value;
}
}