mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2024-11-15 14:05:06 -05:00
%RUPEE% -> #RUPEE#
This commit is contained in:
parent
50b3038a13
commit
2283471b7b
@ -4628,16 +4628,16 @@ void CreateRupeeMessages() {
|
||||
for (u8 rupee : rupees) {
|
||||
switch (rupee) {
|
||||
case TEXT_BLUE_RUPEE:
|
||||
rupeeText = "\x05\x03 5 %RUPEE%\x05\x00";
|
||||
rupeeText = "\x05\x03 5 #RUPEE#\x05\x00";
|
||||
break;
|
||||
case TEXT_RED_RUPEE:
|
||||
rupeeText = "\x05\x01 20 %RUPEE%\x05\x00";
|
||||
rupeeText = "\x05\x01 20 #RUPEE#\x05\x00";
|
||||
break;
|
||||
case TEXT_PURPLE_RUPEE:
|
||||
rupeeText = "\x05\x05 50 %RUPEE%\x05\x00";
|
||||
rupeeText = "\x05\x05 50 #RUPEE#\x05\x00";
|
||||
break;
|
||||
case TEXT_HUGE_RUPEE:
|
||||
rupeeText = "\x05\x06 200 %RUPEE%\x05\x00";
|
||||
rupeeText = "\x05\x06 200 #RUPEE#\x05\x00";
|
||||
break;
|
||||
}
|
||||
customMessageManager->CreateMessage(Randomizer::rupeeMessageTableID, rupee,
|
||||
@ -4682,7 +4682,7 @@ std::string Randomizer::InsertRupeeName(std::string message, int language) {
|
||||
replaceWith = frenchRupeeNames[randomIndex];
|
||||
break;
|
||||
}
|
||||
std::string replaceString = "%RUPEE%";
|
||||
std::string replaceString = "#RUPEE#";
|
||||
size_t pos = message.find(replaceString);
|
||||
size_t len = replaceString.length();
|
||||
message.replace(pos, len, replaceWith);
|
||||
|
Loading…
Reference in New Issue
Block a user