mirror of
https://github.com/kwsch/PKHeX.git
synced 2026-10-01 23:48:40 -05:00
sav4 dex
This commit is contained in:
@@ -34,6 +34,7 @@ public abstract class SAV4 : SaveFile, IEventFlag37, IDaycareStorage, IDaycareRa
|
||||
protected abstract IReadOnlyList<BlockInfo4> ExtraBlocks { get; }
|
||||
|
||||
public abstract Zukan4 Dex { get; }
|
||||
public sealed override bool HasPokeDex => true;
|
||||
|
||||
protected abstract int EventFlag { get; }
|
||||
protected abstract int EventWork { get; }
|
||||
@@ -92,7 +93,7 @@ public sealed override void CopyChangesFrom(SaveFile sav)
|
||||
public sealed override int BoxCount => 18;
|
||||
public sealed override int MaxEV => EffortValues.Max255;
|
||||
public sealed override byte Generation => 4;
|
||||
public override EntityContext Context => EntityContext.Gen4;
|
||||
public sealed override EntityContext Context => EntityContext.Gen4;
|
||||
public int EventFlagCount => 0xB60; // 2912
|
||||
public int EventWorkCount => (EventFlag - EventWork) >> 1;
|
||||
public sealed override int MaxStringLengthOT => 7;
|
||||
|
||||
@@ -61,7 +61,6 @@ public SAV4Pt(byte[] data) : base(data, GeneralSize, StorageSize, GeneralSize)
|
||||
private const int OFS_VillaFurniture = 0x111F;
|
||||
|
||||
private const int PokeDex = 0x1328;
|
||||
public override bool HasPokeDex => true;
|
||||
|
||||
private void GetSAVOffsets()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user