@@ -9,6 +9,7 @@
|
|||||||
|
|
||||||
extern "C" {
|
extern "C" {
|
||||||
#include <variables.h>
|
#include <variables.h>
|
||||||
|
extern PlayState* gPlayState;
|
||||||
}
|
}
|
||||||
|
|
||||||
void BuildWaterSwitchMessage(uint16_t* textId, bool* loadFromMessageTable) {
|
void BuildWaterSwitchMessage(uint16_t* textId, bool* loadFromMessageTable) {
|
||||||
@@ -40,14 +41,16 @@ void BuildShootingGalleryNoBowMessage(uint16_t* textId, bool* loadFromMessageTab
|
|||||||
}
|
}
|
||||||
|
|
||||||
void BuildFixedMallonAtCastleMessage(uint16_t* textId, bool* loadFromMessageTable) {
|
void BuildFixedMallonAtCastleMessage(uint16_t* textId, bool* loadFromMessageTable) {
|
||||||
CustomMessage msg =
|
if (gPlayState->sceneNum == SCENE_HYRULE_CASTLE) {
|
||||||
CustomMessage("Looks like my dad already went back to the %rranch%w. You should come visit sometime!",
|
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!",
|
"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!");
|
"On dirait que père est déjà rentré au %rranch%w. Tu devrais nous rendre visite à l'occasion!");
|
||||||
msg.AutoFormat();
|
msg.AutoFormat();
|
||||||
msg.LoadIntoFont();
|
msg.LoadIntoFont();
|
||||||
*loadFromMessageTable = false;
|
*loadFromMessageTable = false;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
void RegisterMiscellaneousMessages() {
|
void RegisterMiscellaneousMessages() {
|
||||||
COND_ID_HOOK(OnOpenText, TEXT_LAKE_HYLIA_WATER_SWITCH_NAVI, IS_RANDO, BuildWaterSwitchMessage);
|
COND_ID_HOOK(OnOpenText, TEXT_LAKE_HYLIA_WATER_SWITCH_NAVI, IS_RANDO, BuildWaterSwitchMessage);
|
||||||
|
|||||||
Reference in New Issue
Block a user