Fix skulltula hints ending text too soon (#6516)

This commit is contained in:
Philip Dubé
2026-04-16 15:59:14 +00:00
committed by GitHub
parent cb71e22a79
commit 1876435e98
@@ -140,7 +140,7 @@ void BuildSkulltulaPeopleMessage(uint16_t* textId, bool* loadFromMessageTable) {
"et j'aurai quelque chose à te donner! [[color]]([[1]])%w");
msg.InsertNumber(count);
msg.Replace("[[color]]", item.GetColor());
msg.InsertNames({ item.GetHint().GetHintMessage().GetForCurrentLanguage() });
msg.InsertNames({ item.GetHint().GetHintMessage() });
msg.AutoFormat();
msg.LoadIntoFont();
*loadFromMessageTable = false;
@@ -158,7 +158,7 @@ void Build100SkullsHintMessage(uint16_t* textId, bool* loadFromMessageTable) {
Rando::Item& item =
Rando::StaticData::RetrieveItem(RAND_GET_ITEM_LOC(RC_KAK_100_GOLD_SKULLTULA_REWARD)->GetPlacedRandomizerGet());
msg.Replace("[[color]]", item.GetColor());
msg.InsertNames({ item.GetHint().GetHintMessage().GetForCurrentLanguage() });
msg.InsertNames({ item.GetHint().GetHintMessage() });
msg.AutoFormat();
msg.LoadIntoFont();
*loadFromMessageTable = false;