mirror of
https://github.com/HarbourMasters/Shipwright
synced 2026-04-23 08:14:31 +00:00
sign hints: add gtg, display destination not source (#5850)
This commit is contained in:
parent
6ef8be58d7
commit
1cd2f60e24
|
|
@ -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,
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue