Add new SWSH blocks (#2918)

For anybody interested in this League Card block structure: https://pastebin.com/1gkyHe9Q

Also correct the game version record block location.
This commit is contained in:
CanoeHope 2020-07-02 22:28:04 -04:00 committed by GitHub
parent afdd40bcee
commit 0dc4166e67
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -81,6 +81,7 @@ public SaveBlockAccessor8SWSH(SAV8SWSH sav)
private const uint KMyStatus = 0xf25c070e; // Trainer Details
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
// Rental Teams - Objects (Blocks) (Incrementing internal names?)
private const uint KRentalTeam1 = 0x149A1DD0;
@ -138,7 +139,8 @@ public SaveBlockAccessor8SWSH(SAV8SWSH sav)
public const uint KVolumePokémonCries = 0x1D482A63; // U32 0-10
public const uint KRecordCramorantRobo = 0xB9C0ECFC; // cormorant_robo (Cram-o-matic uses)
public const uint KRecordBattleVersion = 0xBB1DE8EF; // battle_rom_mark (Past-gen Pokémon reset for battling in Ranked)
public const uint KRecordBattleVersion = 0x7A9EF7D9; // battle_rom_mark (Past-gen Pokémon reset for battling in Ranked)
public const uint KRecordSparringTypesCleared = 0xBB1DE8EF; // Number of Types cleared in Restricted Sparring
public const uint KOptionTextSpeed = 0x92EB0306; // U32 TextSpeedOption
public const uint KOptionBattleEffects = 0xCCC153CD; // U32 OptOut (Show effects by default)