From efe0f5e0cfb18f7eb8b8bc7d0881a047fe2e57f5 Mon Sep 17 00:00:00 2001 From: Kurt Date: Tue, 5 Mar 2024 10:04:04 -0600 Subject: [PATCH] Update WB7Records.cs --- PKHeX.Core/Saves/Substructures/Gen7/LGPE/WB7Records.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/PKHeX.Core/Saves/Substructures/Gen7/LGPE/WB7Records.cs b/PKHeX.Core/Saves/Substructures/Gen7/LGPE/WB7Records.cs index 717d2ac13..8971d1654 100644 --- a/PKHeX.Core/Saves/Substructures/Gen7/LGPE/WB7Records.cs +++ b/PKHeX.Core/Saves/Substructures/Gen7/LGPE/WB7Records.cs @@ -7,8 +7,8 @@ public sealed class WB7Records(SAV7b sav, Memory raw) : SaveBlock(s private const int CardStart = 0; private const int FlagStart = (MaxCardsPresent * WR7.Size); - private const int MaxCardsPresent = 10; // 0xE90 > (0x140 * 0xA = 0xC80), not sure what final 0x210 bytes are used for - private const int MaxReceivedFlag = 0x1C00; // (7168) end of the block? + private const int MaxCardsPresent = 10; // 0xE90 > (0x140 * 0xA = 0xC80) + private const int MaxReceivedFlag = 0x1080; // (4224) end of the block -- max ever distributed was 2001 (Mew) public void ClearReceivedFlags() => Data[..(MaxReceivedFlag / 8)].Clear();