mirror of
https://github.com/kwsch/PKHeX
synced 2024-11-14 00:07:15 +00:00
Update CaptureRecords.cs
Co-Authored-By: Matt <17801814+sora10pls@users.noreply.github.com>
This commit is contained in:
parent
0a6534a208
commit
a71940bf75
1 changed files with 2 additions and 2 deletions
|
@ -98,7 +98,7 @@ namespace PKHeX.Core
|
|||
uint total = 0;
|
||||
for (int i = 0; i < ENTRY_COUNT; i++)
|
||||
total += GetCapturedCountIndex(i);
|
||||
return total;
|
||||
return Math.Min(total, MAX_COUNT_TOTAL);
|
||||
}
|
||||
|
||||
public uint CalculateTotalTransferred()
|
||||
|
@ -106,7 +106,7 @@ namespace PKHeX.Core
|
|||
uint total = 0;
|
||||
for (int i = 0; i < ENTRY_COUNT; i++)
|
||||
total += GetTransferredCountIndex(i);
|
||||
return total;
|
||||
return Math.Min(total, MAX_COUNT_TOTAL);
|
||||
}
|
||||
|
||||
public void SetAllCaptured(uint count = MAX_COUNT_ENTRY_CAPTURE, Zukan7b? dex = null)
|
||||
|
|
Loading…
Reference in a new issue