From 3ac67f14cc023b6d7201c3d124c2ea0d74c881a2 Mon Sep 17 00:00:00 2001 From: Chris Date: Sat, 27 Jun 2026 11:28:54 -0400 Subject: [PATCH] [Bugfix] Token count off-by-1 (#6819) --- soh/soh/Enhancements/Items/InjectItemCounts.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/soh/soh/Enhancements/Items/InjectItemCounts.cpp b/soh/soh/Enhancements/Items/InjectItemCounts.cpp index 2b52a20e5c..5bd7c6ee69 100644 --- a/soh/soh/Enhancements/Items/InjectItemCounts.cpp +++ b/soh/soh/Enhancements/Items/InjectItemCounts.cpp @@ -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(gsCount)); msg.AutoFormat(ITEM_SKULL_TOKEN); msg.LoadIntoFont();