diff --git a/soh/soh/Enhancements/custom-message/CustomMessageTypes.h b/soh/soh/Enhancements/custom-message/CustomMessageTypes.h index 1b04e5780..86d0d4856 100644 --- a/soh/soh/Enhancements/custom-message/CustomMessageTypes.h +++ b/soh/soh/Enhancements/custom-message/CustomMessageTypes.h @@ -100,6 +100,7 @@ typedef enum { TEXT_LA_LAB_SIGN = 0x0318, TEXT_GV_SIGN = 0x0319, TEXT_GF_HBA_SIGN = 0x031A, + TEXT_GF_GTG_SIGN = 0x031B, TEXT_KF_SHOP_SIGN = 0x031E, TEXT_LINKS_HOUSE_SIGN = 0x031F, TEXT_KOKIRI_EXIT_SIGN = 0x0320, diff --git a/soh/soh/OTRGlobals.cpp b/soh/soh/OTRGlobals.cpp index 342808e89..ad4beb829 100644 --- a/soh/soh/OTRGlobals.cpp +++ b/soh/soh/OTRGlobals.cpp @@ -2326,6 +2326,9 @@ extern "C" int CustomMessage_RetrieveIfExists(PlayState* play) { case TEXT_HF_ZR_SIGN: entrance = ENTR_ZORAS_RIVER_WEST_EXIT; break; + case TEXT_GF_GTG_SIGN: + entrance = ENTR_GERUDO_TRAINING_GROUND_ENTRANCE; + break; case TEXT_KF_SHOP_SIGN: entrance = ENTR_KOKIRI_SHOP_0; break; @@ -2401,7 +2404,7 @@ extern "C" int CustomMessage_RetrieveIfExists(PlayState* play) { auto data = GetEntranceData(overrideIndex); font->charTexBuf[0] = (TEXTBOX_TYPE_WOODEN << 4) | TEXTBOX_POS_BOTTOM; return msgCtx->msgLength = font->msgLength = SohUtils::CopyStringToCharBuffer( - buffer, data->source + CustomMessage::MESSAGE_END(), maxBufferSize); + buffer, data->destination + CustomMessage::MESSAGE_END(), maxBufferSize); } } }