mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2024-12-25 09:39:00 -05:00
Renamed function
This commit is contained in:
parent
e2633c9be1
commit
684cd862f1
@ -4670,7 +4670,7 @@ void CreateRupeeMessages() {
|
||||
}
|
||||
}
|
||||
|
||||
std::string Randomizer::InsertRupeeName(std::string message, int language) {
|
||||
std::string Randomizer::RandomizeRupeeName(std::string message, int language) {
|
||||
int randomIndex;
|
||||
std::string replaceWith;
|
||||
switch (language) {
|
||||
@ -4698,9 +4698,9 @@ std::string Randomizer::InsertRupeeName(std::string message, int language) {
|
||||
CustomMessageEntry Randomizer::GetRupeeMessage(u16 rupeeTextId) {
|
||||
CustomMessageEntry messageEntry =
|
||||
CustomMessageManager::Instance->RetrieveMessage(Randomizer::rupeeMessageTableID, rupeeTextId);
|
||||
messageEntry.english = Randomizer::InsertRupeeName(messageEntry.english, LANGUAGE_ENG);
|
||||
messageEntry.german = Randomizer::InsertRupeeName(messageEntry.german, LANGUAGE_GER);
|
||||
messageEntry.french = Randomizer::InsertRupeeName(messageEntry.french, LANGUAGE_FRA);
|
||||
messageEntry.english = Randomizer::RandomizeRupeeName(messageEntry.english, LANGUAGE_ENG);
|
||||
messageEntry.german = Randomizer::RandomizeRupeeName(messageEntry.german, LANGUAGE_GER);
|
||||
messageEntry.french = Randomizer::RandomizeRupeeName(messageEntry.french, LANGUAGE_FRA);
|
||||
return messageEntry;
|
||||
}
|
||||
|
||||
|
@ -48,7 +48,7 @@ class Randomizer {
|
||||
GetItemID GetRandomizedItemIdFromKnownCheck(RandomizerCheck randomizerCheck, GetItemID ogId);
|
||||
GetItemID GetRandomizedItemId(GetItemID ogId, s16 actorId, s16 actorParams, s16 sceneNum);
|
||||
static void CreateCustomMessages();
|
||||
static std::string InsertRupeeName(std::string message, int language);
|
||||
static std::string RandomizeRupeeName(std::string message, int language);
|
||||
static CustomMessageEntry GetRupeeMessage(u16 rupeeTextId);
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user