[Bugfix] Token count off-by-1 (#6819)

This commit is contained in:
Chris
2026-06-27 11:28:54 -04:00
committed by GitHub
parent 003a009ebc
commit 3ac67f14cc
@@ -26,6 +26,9 @@ void BuildSkulltulaMessage(uint16_t* textId, bool* loadFromMessageTable) {
msg = msg + "\x0E\x3C";
}
int16_t gsCount = gSaveContext.inventory.gsTokens;
if (IS_RANDO && RAND_GET_OPTION(RSK_SHUFFLE_TOKENS)) {
gsCount += 1;
}
msg.InsertNumber(static_cast<uint8_t>(gsCount));
msg.AutoFormat(ITEM_SKULL_TOKEN);
msg.LoadIntoFont();