mirror of
https://github.com/kwsch/PKHeX
synced 2024-11-30 15:59:13 +00:00
e21d108fb2
All logic in PokeCrypto is separate from the rest of the PKHeX.Core library; makes it easy to just rip this portion out and reuse in other projects without needing the entirety of PKHeX.Core logic optimize out the CheckEncrypted to the actual path, separate methods. Only usages of this method were with hardcoded Format values, so no impact
13 lines
No EOL
332 B
C#
13 lines
No EOL
332 B
C#
namespace PKHeX.Core
|
|
{
|
|
public sealed class Party8 : SaveBlock
|
|
{
|
|
public Party8(SaveFile sav, SCBlock block) : base(sav, block.Data) { }
|
|
|
|
public int PartyCount
|
|
{
|
|
get => Data[6 * PokeCrypto.SIZE_8PARTY];
|
|
set => Data[6 * PokeCrypto.SIZE_8PARTY] = (byte)value;
|
|
}
|
|
}
|
|
} |