diff options
| author | Qlonever <42286723+Qlonever@users.noreply.github.com> | 2024-12-26 15:40:25 -0500 |
|---|---|---|
| committer | Alejandro Asenjo Nitti <96613413+sonicdcer@users.noreply.github.com> | 2024-12-27 15:59:27 -0500 |
| commit | 8954d28dc482e84881f69073f9371c23ca6f754f (patch) | |
| tree | 78e3ec45c0998fda262bdf4ad940079d82a2d9f4 /include | |
| parent | b133f925e60d6c08bc2803161beae4f894570756 (diff) | |
reorder manually-constructed ranking data
Diffstat (limited to 'include')
| -rw-r--r-- | include/sf64save.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/sf64save.h b/include/sf64save.h index e3ae8bf2..dd1ce7e2 100644 --- a/include/sf64save.h +++ b/include/sf64save.h @@ -32,7 +32,7 @@ typedef struct PlanetStats { #define PLANET_STATS(hitCount, planetId, peppyAlive, falcoAlive, slippyAlive) \ (hitCount > 255 ? hitCount - 256 : hitCount), \ - ((planetId << 4) | ((hitCount > 255 ? 1 : 0) << 3) | (peppyAlive << 2) | (falcoAlive << 1) | (slippyAlive)) + ((planetId) | ((hitCount > 255 ? 1 : 0) << 4) | (peppyAlive << 5) | (falcoAlive << 6) | (slippyAlive << 7)) typedef struct SaveData { /* 0x00 */ PlanetData planet[16]; |
