sign hints: add gtg, display destination not source (#5850)

This commit is contained in:
Philip Dubé 2025-10-17 15:17:53 +00:00 committed by GitHub
parent 6ef8be58d7
commit 1cd2f60e24
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 5 additions and 1 deletions

View file

@ -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,

View file

@ -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);
}
}
}