Fix displayed token count (#6428)

This commit is contained in:
Chris 2026-03-28 10:19:38 -04:00 committed by GitHub
parent c7180762d9
commit 9f61e635d2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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();