mirror of
https://github.com/HarbourMasters/Shipwright
synced 2026-06-27 19:13:00 -04:00
[Bugfix] Token count off-by-1 (#6819)
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user