Handle DLC1 records

Accessible in block editor, not as the usual trainer records.

Closes #2913 , ty @CanoeHope!

Co-Authored-By: canoehope <canoehope@users.noreply.github.com>
This commit is contained in:
Kurt 2020-06-30 23:00:48 -05:00
parent 0198179133
commit 9da5263a52
2 changed files with 8 additions and 3 deletions

View file

@ -137,6 +137,9 @@ namespace PKHeX.Core
public const uint KVolumeSoundEffects = 0x62F05895; // U32 0-10
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 KOptionTextSpeed = 0x92EB0306; // U32 TextSpeedOption
public const uint KOptionBattleEffects = 0xCCC153CD; // U32 OptOut (Show effects by default)
public const uint KOptionBattleStyle = 0x765468C3; // U32 OptOut (Allow Switch by default)

View file

@ -161,7 +161,6 @@ namespace PKHeX.Core
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0,
};
public static readonly Dictionary<int, string> RecordList_6 = new Dictionary<int, string>
@ -584,9 +583,12 @@ namespace PKHeX.Core
/* 48 */ {G8BattleTowerDoubleWin, "battle_tower_double_win"},
{49, "now_money"},
// The Records Block only stores 50 entries.
// Record IDs for future expansion content is instead handled separately.
// DLC
{50, "cormorant_robo"},
{51, "battle_rom_mark"},
{50, "cormorant_robo"}, // saved in B9C0ECFC
{51, "battle_rom_mark"}, // saved in BB1DE8EF
};
public const int G8BattleTowerSingleWin = 47;