This commit is contained in:
Kurt
2024-03-20 23:28:19 -05:00
parent f7900ed8b4
commit 1291a40e21
2 changed files with 2 additions and 2 deletions

View File

@@ -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;

View File

@@ -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()
{