2022-07-14 00:41:04 -04:00
|
|
|
|
#include "randomizer_custom_messages.h"
|
2022-07-13 23:35:45 -04:00
|
|
|
|
#include <variables.h>
|
|
|
|
|
|
|
|
|
|
using namespace std::literals::string_literals;
|
|
|
|
|
|
|
|
|
|
std::string Randomizer::GetCustomGetItemMessage(GetItemID giid) {
|
|
|
|
|
if (!gSaveContext.n64ddFlag) {
|
|
|
|
|
return "Not Randomized.";
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
switch (giid) {
|
|
|
|
|
default:
|
|
|
|
|
switch (gSaveContext.language) {
|
|
|
|
|
case LANGUAGE_FRA:
|
|
|
|
|
return "Il n'y a pas de message personnalis<69> pour cet <20>l<EFBFBD>ment.";
|
|
|
|
|
case LANGUAGE_GER:
|
|
|
|
|
return "F<EFBFBD>r diesen Artikel gibt es keine benutzerdefinierte Nachricht.";
|
|
|
|
|
case LANGUAGE_ENG:
|
|
|
|
|
default:
|
|
|
|
|
return "There is no custom message for this item.";
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
std::string MESSAGE_END() {
|
|
|
|
|
return "\x02"s;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
std::string ITEM_OBTAINED(uint8_t x) {
|
|
|
|
|
return "\x08\x13"s + char(x);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
std::string NEWLINE() {
|
|
|
|
|
return "\x02"s;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
std::string COLOR(uint8_t x) {
|
|
|
|
|
return "\x05"s + char(x);
|
|
|
|
|
}
|