diff --git a/PKHeX.Core/Saves/Access/SaveBlockAccessorSWSH.cs b/PKHeX.Core/Saves/Access/SaveBlockAccessorSWSH.cs index 7dcd132de..7759c63f9 100644 --- a/PKHeX.Core/Saves/Access/SaveBlockAccessorSWSH.cs +++ b/PKHeX.Core/Saves/Access/SaveBlockAccessorSWSH.cs @@ -17,6 +17,8 @@ public class SaveBlockAccessorSWSH : ISaveBlockAccessor, ISaveBlock8Mai public Daycare8 Daycare { get; } public Record8 Records { get; } public TrainerCard8 TrainerCard{ get; } + public FashionUnlock8 Fashion { get; } + public RaidSpawnList8 Raid { get; } public SaveBlockAccessorSWSH(SAV8SWSH sav) { @@ -33,6 +35,8 @@ public SaveBlockAccessorSWSH(SAV8SWSH sav) Fused = new Fused8(sav, GetBlock(IFused)); Daycare = new Daycare8(sav, GetBlock(IDaycare)); Records = new Record8(sav, GetBlock(IRecord), Core.Records.MaxType_SWSH); + Fashion = new FashionUnlock8(sav, GetBlock(IFashionUnlock)); + Raid = new RaidSpawnList8(sav, GetBlock(IRaidSpawnList)); } private const int IBox = 143; // Box Data @@ -47,6 +51,7 @@ public SaveBlockAccessorSWSH(SAV8SWSH sav) private const int IZukan = 699; // PokeDex private const int ITrainerCard = 1259; // Trainer Card private const int IPlayTime = 1302; // Time Played + private const int IRaidSpawnList = 1326; // Nest current values (hash, seed, meta) private const int IRepel = 1469; private const int IFused = 1789; // Fused PKM (*3) private const int IFashionUnlock = 1989; // Fashion unlock bool array (owned for (each apparel type) * 0x80, then another array for "new") diff --git a/PKHeX.Core/Saves/Substructures/Gen8/FashionUnlock8.cs b/PKHeX.Core/Saves/Substructures/Gen8/FashionUnlock8.cs new file mode 100644 index 000000000..d4615834e --- /dev/null +++ b/PKHeX.Core/Saves/Substructures/Gen8/FashionUnlock8.cs @@ -0,0 +1,7 @@ +namespace PKHeX.Core +{ + public sealed class FashionUnlock8 : SaveBlock + { + public FashionUnlock8(SaveFile sav, SCBlock block) : base(sav, block.Data) { } + } +} \ No newline at end of file diff --git a/PKHeX.Core/Saves/Substructures/Gen8/RaidSpawnList8.cs b/PKHeX.Core/Saves/Substructures/Gen8/RaidSpawnList8.cs new file mode 100644 index 000000000..30d9b3163 --- /dev/null +++ b/PKHeX.Core/Saves/Substructures/Gen8/RaidSpawnList8.cs @@ -0,0 +1,7 @@ +namespace PKHeX.Core +{ + public sealed class RaidSpawnList8 : SaveBlock + { + public RaidSpawnList8(SaveFile sav, SCBlock block) : base(sav, block.Data) { } + } +} \ No newline at end of file