Skip to content

Commit

Permalink
Fix order of auto equip message (#2931)
Browse files Browse the repository at this point in the history
French text was being displayed in English and vice versa due to incorrectly ordered parameters.
  • Loading branch information
jbodner09 committed Jun 2, 2023
1 parent 2957dc6 commit 6bf42fd
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions soh/soh/OTRGlobals.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1739,12 +1739,12 @@ extern "C" void* getN64WeirdFrame(s32 i) {

extern "C" int GetEquipNowMessage(char* buffer, char* src, const int maxBufferSize) {
CustomMessage customMessage("\x04\x1A\x08"
"D\x96sirez-vous l'\x96quiper maintenant?"
"Would you like to equip it now?"
"\x09&&"
"\x1B%g"
"Oui"
"Yes"
"&"
"Non"
"No"
"%w\x02",
"\x04\x1A\x08"
"M"
Expand All @@ -1756,13 +1756,13 @@ extern "C" int GetEquipNowMessage(char* buffer, char* src, const int maxBufferSi
"&"
"Nein!"
"%w\x02",
"\x04\x1A\x08"
"Would you like to equip it now?"
"\x04\x1A\x08"
"D\x96sirez-vous l'\x96quiper maintenant?"
"\x09&&"
"\x1B%g"
"Yes"
"Oui"
"&"
"No"
"Non"
"%w\x02");
customMessage.Format();

Expand Down Expand Up @@ -2098,4 +2098,4 @@ extern "C" void Gfx_RegisterBlendedTexture(const char* name, u8* mask, u8* repla

extern "C" void SaveManager_ThreadPoolWait() {
SaveManager::Instance->ThreadPoolWait();
}
}

0 comments on commit 6bf42fd

Please sign in to comment.