From df6da69f7d9bc484af08d5837cfedee2cf47c83b Mon Sep 17 00:00:00 2001 From: briaguya <70942617+briaguya-ai@users.noreply.github.com> Date: Fri, 24 Feb 2023 03:20:24 -0500 Subject: [PATCH] add greg bridge altar text (#2524) Co-authored-by: briaguya --- soh/soh/Enhancements/randomizer/3drando/hint_list.cpp | 7 +++++++ soh/soh/Enhancements/randomizer/3drando/hints.cpp | 3 +++ soh/soh/Enhancements/randomizer/3drando/keys.hpp | 1 + 3 files changed, 11 insertions(+) diff --git a/soh/soh/Enhancements/randomizer/3drando/hint_list.cpp b/soh/soh/Enhancements/randomizer/3drando/hint_list.cpp index 0151548e1..d080411ff 100644 --- a/soh/soh/Enhancements/randomizer/3drando/hint_list.cpp +++ b/soh/soh/Enhancements/randomizer/3drando/hint_list.cpp @@ -2714,6 +2714,13 @@ void HintTable_Init() { /*spanish*/ "Los sabios aguardarán a que el héroe&obtenga #%d |símbolo|símbolos| de&skulltula dorada#." }, }); + hintTable[BRIDGE_GREG_HINT] = HintText::Bridge({ + // obscure text + Text{ "The awakened ones will await&for the Hero to find %gGreg%w.", + /*french*/ "The awakened ones will await&for the Hero to find %gGreg%w.", + /*spanish*/ "The awakened ones will await&for the Hero to find %gGreg%w." }, + }); + /*-------------------------- | GANON BOSS KEY HINT TEXT | ---------------------------*/ diff --git a/soh/soh/Enhancements/randomizer/3drando/hints.cpp b/soh/soh/Enhancements/randomizer/3drando/hints.cpp index 5028f8c89..5b6be555b 100644 --- a/soh/soh/Enhancements/randomizer/3drando/hints.cpp +++ b/soh/soh/Enhancements/randomizer/3drando/hints.cpp @@ -627,6 +627,9 @@ static Text BuildBridgeReqsText() { } else if (Bridge.Is(RAINBOWBRIDGE_TOKENS)) { bridgeText = BuildCountReq(BRIDGE_TOKENS_HINT, BridgeTokenCount); + + } else if (Bridge.Is(RAINBOWBRIDGE_GREG)) { + bridgeText = Hint(BRIDGE_GREG_HINT).GetText(); } return Text()+"$l"+bridgeText+"^"; diff --git a/soh/soh/Enhancements/randomizer/3drando/keys.hpp b/soh/soh/Enhancements/randomizer/3drando/keys.hpp index 13d0325c0..5536265b3 100644 --- a/soh/soh/Enhancements/randomizer/3drando/keys.hpp +++ b/soh/soh/Enhancements/randomizer/3drando/keys.hpp @@ -1768,6 +1768,7 @@ typedef enum { BRIDGE_REWARDS_HINT, BRIDGE_DUNGEONS_HINT, BRIDGE_TOKENS_HINT, + BRIDGE_GREG_HINT, GANON_BK_START_WITH_HINT, GANON_BK_VANILLA_HINT,