Fix Malon text on Lon Lon Ranch in rando (#6308)

Missed in #6299
This commit is contained in:
Philip Dubé
2026-02-28 16:33:16 +00:00
committed by GitHub
parent d841357fd4
commit a547d51abb

View File

@@ -9,6 +9,7 @@
extern "C" {
#include <variables.h>
extern PlayState* gPlayState;
}
void BuildWaterSwitchMessage(uint16_t* textId, bool* loadFromMessageTable) {
@@ -40,13 +41,15 @@ void BuildShootingGalleryNoBowMessage(uint16_t* textId, bool* loadFromMessageTab
}
void BuildFixedMallonAtCastleMessage(uint16_t* textId, bool* loadFromMessageTable) {
CustomMessage msg =
CustomMessage("Looks like my dad already went back to the %rranch%w. You should come visit sometime!",
"Mein Vater ist wohl schon wieder auf der %rFarm%w, du solltest ihn mal besuchen kommen!",
"On dirait que père est déjà rentré au %rranch%w. Tu devrais nous rendre visite à l'occasion!");
msg.AutoFormat();
msg.LoadIntoFont();
*loadFromMessageTable = false;
if (gPlayState->sceneNum == SCENE_HYRULE_CASTLE) {
CustomMessage msg = CustomMessage(
"Looks like my dad already went back to the %rranch%w. You should come visit sometime!",
"Mein Vater ist wohl schon wieder auf der %rFarm%w, du solltest ihn mal besuchen kommen!",
"On dirait que père est déjà rentré au %rranch%w. Tu devrais nous rendre visite à l'occasion!");
msg.AutoFormat();
msg.LoadIntoFont();
*loadFromMessageTable = false;
}
}
void RegisterMiscellaneousMessages() {