diff --git a/PKHeX.Core/PersonalInfo/Info/PersonalInfo9SV.cs b/PKHeX.Core/PersonalInfo/Info/PersonalInfo9SV.cs index 1958ac9ff..8ce82c7fa 100644 --- a/PKHeX.Core/PersonalInfo/Info/PersonalInfo9SV.cs +++ b/PKHeX.Core/PersonalInfo/Info/PersonalInfo9SV.cs @@ -109,8 +109,10 @@ public void SetAllLearnTM(Span result) public bool IsRecordPermitted(int index) => GetIsLearnTM(index); + private const int COUNT_RECORD_BASE = 200; // Up to 200 TM flags, but not all are used. + private const int COUNT_RECORD_DLC = 104; // 13 additional bytes allocated for DLC1/2 TM Flags public ReadOnlySpan RecordPermitIndexes => TM_SV; - public int RecordCountTotal => 202; + public int RecordCountTotal => COUNT_RECORD_BASE + COUNT_RECORD_DLC; public int RecordCountUsed => CountTM; private static ReadOnlySpan TM_SV =>