From 5722905e5d566d623c58ceac09e556d84f1abc98 Mon Sep 17 00:00:00 2001 From: CanoeHope <43196464+CanoeHope@users.noreply.github.com> Date: Sun, 25 Oct 2020 21:09:23 -0400 Subject: [PATCH] Added Crown Tundra Block Data (#3047) The Tundra League Card block literally only stores the Normal and Rare Peony League Cards, and nothing more. --- PKHeX.Core/Saves/Access/SaveBlockAccessor8SWSH.cs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/PKHeX.Core/Saves/Access/SaveBlockAccessor8SWSH.cs b/PKHeX.Core/Saves/Access/SaveBlockAccessor8SWSH.cs index f50d89dbc..ecb187b30 100644 --- a/PKHeX.Core/Saves/Access/SaveBlockAccessor8SWSH.cs +++ b/PKHeX.Core/Saves/Access/SaveBlockAccessor8SWSH.cs @@ -85,6 +85,7 @@ namespace PKHeX.Core private const uint KFriendLeagueCards = 0x28e707f5; // League Cards received from other players private const uint KNPCLeagueCards = 0xb1c26fb0; // League Cards received from NPCs private const uint KNPCLeagueCardsR1 = 0xb868ee77; // League Cards received from NPCs on The Isle of Armor + private const uint KNPCLeagueCardsR2 = 0xB968F00A; // League Cards received from NPCs on The Crown Tundra // Rental Teams - Objects (Blocks) (Incrementing internal names?) private const uint KRentalTeam1 = 0x149A1DD0; @@ -416,6 +417,11 @@ namespace PKHeX.Core public const uint KSparringFairyPartySlot1Sweet = 0xB14624FF; // U32 Alcremie Sweet ID if 1st PKM used in party, otherwise -1 public const uint KSparringFairyPartySlot2Sweet = 0xB046236C; // U32 Alcremie Sweet ID if 2nd PKM used in party, otherwise -1 public const uint KSparringFairyPartySlot3Sweet = 0xB3462825; // U32 Alcremie Sweet ID if 3rd PKM used in party, otherwise -1 + + public const uint KCobalionFootprintPercentage = 0x4D50B655; // U32 Footprints of Cobalion collected on Crown Tundra; values go from 0-100 + public const uint KTerrakionFootprintPercentage = 0x771E4C88; // U32 Footprints of Terrakion collected on Crown Tundra; values from 0-100 + public const uint KVirizionFootprintPercentage = 0xAD67A297; // U32 Footprints of Virizion collected on Crown Tundra; values go from 0-100 + public const uint KPlayersInteractedOnline = 0x31A13425; // U32 Number of Players interacted with online } } #pragma warning restore IDE0051 // Remove unused private members