sign hints: add gtg, display destination not source (#5850)
This commit is contained in:
@@ -100,6 +100,7 @@ typedef enum {
|
|||||||
TEXT_LA_LAB_SIGN = 0x0318,
|
TEXT_LA_LAB_SIGN = 0x0318,
|
||||||
TEXT_GV_SIGN = 0x0319,
|
TEXT_GV_SIGN = 0x0319,
|
||||||
TEXT_GF_HBA_SIGN = 0x031A,
|
TEXT_GF_HBA_SIGN = 0x031A,
|
||||||
|
TEXT_GF_GTG_SIGN = 0x031B,
|
||||||
TEXT_KF_SHOP_SIGN = 0x031E,
|
TEXT_KF_SHOP_SIGN = 0x031E,
|
||||||
TEXT_LINKS_HOUSE_SIGN = 0x031F,
|
TEXT_LINKS_HOUSE_SIGN = 0x031F,
|
||||||
TEXT_KOKIRI_EXIT_SIGN = 0x0320,
|
TEXT_KOKIRI_EXIT_SIGN = 0x0320,
|
||||||
|
|||||||
@@ -2326,6 +2326,9 @@ extern "C" int CustomMessage_RetrieveIfExists(PlayState* play) {
|
|||||||
case TEXT_HF_ZR_SIGN:
|
case TEXT_HF_ZR_SIGN:
|
||||||
entrance = ENTR_ZORAS_RIVER_WEST_EXIT;
|
entrance = ENTR_ZORAS_RIVER_WEST_EXIT;
|
||||||
break;
|
break;
|
||||||
|
case TEXT_GF_GTG_SIGN:
|
||||||
|
entrance = ENTR_GERUDO_TRAINING_GROUND_ENTRANCE;
|
||||||
|
break;
|
||||||
case TEXT_KF_SHOP_SIGN:
|
case TEXT_KF_SHOP_SIGN:
|
||||||
entrance = ENTR_KOKIRI_SHOP_0;
|
entrance = ENTR_KOKIRI_SHOP_0;
|
||||||
break;
|
break;
|
||||||
@@ -2401,7 +2404,7 @@ extern "C" int CustomMessage_RetrieveIfExists(PlayState* play) {
|
|||||||
auto data = GetEntranceData(overrideIndex);
|
auto data = GetEntranceData(overrideIndex);
|
||||||
font->charTexBuf[0] = (TEXTBOX_TYPE_WOODEN << 4) | TEXTBOX_POS_BOTTOM;
|
font->charTexBuf[0] = (TEXTBOX_TYPE_WOODEN << 4) | TEXTBOX_POS_BOTTOM;
|
||||||
return msgCtx->msgLength = font->msgLength = SohUtils::CopyStringToCharBuffer(
|
return msgCtx->msgLength = font->msgLength = SohUtils::CopyStringToCharBuffer(
|
||||||
buffer, data->source + CustomMessage::MESSAGE_END(), maxBufferSize);
|
buffer, data->destination + CustomMessage::MESSAGE_END(), maxBufferSize);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user