diff options
| author | Malkierian <malkierian@gmail.com> | 2023-12-31 11:58:31 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-12-31 13:58:31 -0500 |
| commit | fa8a0e2a7686ab3b120d767e477f016da715b417 (patch) | |
| tree | 1e7a2e7f6d525da09aba8c011d0d6bcf81511bad /soh/src/code/debug_malloc.c | |
| parent | 60faf3f750e29643ffa688b9b5fe752a9d2162c0 (diff) | |
[Rando] Fix Check Tracker Area Totals (#3758)
* Fix the calculation of `areaChecksGotten` to account for flags functionality setting invisible checks.
Change `areaChecksTotal` to dynamic calculation based on tracker visibility, now that all checks are being added to `checksByArea`.
Both are updated in realtime when either "Show all GS locations" or "Hide right side shop items" are toggled.
Reformat all remaining unencapsulated if statements.
* Changed helper variable change and call to `RecalculateAreaTotals()` to when the options are toggled instead of checking every frame.
Removed redundant if...else.
Clarified areaChecksGotten increment/decrement functionality based on current status and incoming status change.
* Removed unused code.
Diffstat (limited to 'soh/src/code/debug_malloc.c')
0 files changed, 0 insertions, 0 deletions
