fix rupee messages (#4392)

This commit is contained in:
Pepper0ni 2024-10-11 00:10:58 +01:00 committed by GitHub
parent cd8d40466a
commit 4ba5384810
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -2181,7 +2181,7 @@ void CreateRupeeMessages() {
} }
CustomMessage Randomizer::GetRupeeMessage(u16 rupeeTextId) { CustomMessage Randomizer::GetRupeeMessage(u16 rupeeTextId) {
CustomMessage messageEntry = CustomMessageManager::Instance->RetrieveMessage(Randomizer::rupeeMessageTableID, rupeeTextId); CustomMessage messageEntry = CustomMessageManager::Instance->RetrieveMessage(Randomizer::rupeeMessageTableID, rupeeTextId, MF_AUTO_FORMAT);
messageEntry.Replace("[[rupee]]", CustomMessage(RandomElement(englishRupeeNames), messageEntry.Replace("[[rupee]]", CustomMessage(RandomElement(englishRupeeNames),
RandomElement(germanRupeeNames), RandomElement(germanRupeeNames),
RandomElement(frenchRupeeNames))); RandomElement(frenchRupeeNames)));