Fix displayed token count (#6441)

This commit is contained in:
Chris
2026-03-29 12:45:48 -04:00
committed by GitHub
parent 4729eef7c8
commit ebea14f297

View File

@@ -24,7 +24,7 @@ void BuildSkulltulaMessage(uint16_t* textId, bool* loadFromMessageTable) {
// Auto dismiss textbox after 0x3C (60) frames (about 3 seconds for OoT)
msg = msg + "\x0E\x3C";
}
int16_t gsCount = gSaveContext.inventory.gsTokens + (IS_RANDO ? 1 : 0);
int16_t gsCount = gSaveContext.inventory.gsTokens;
msg.Replace("[[gsCount]]", std::to_string(gsCount));
msg.AutoFormat(ITEM_SKULL_TOKEN);
msg.LoadIntoFont();