[#1613] Resolve double message issue for gold skulltula tokens after you've spoken to skulltula parent (#1616)

This commit is contained in:
Garrett Cox 2022-09-27 12:44:52 -05:00 committed by GitHub
parent 58c097cfb9
commit 7fb8902e7f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1716,7 +1716,7 @@ void Message_OpenText(GlobalContext* globalCtx, u16 textId) {
textId += (gSaveContext.inventory.questItems & 0xF0000000 & 0xF0000000) >> 0x1C;
} else if (!gSaveContext.n64ddFlag && (msgCtx->textId == 0xC && CHECK_OWNED_EQUIP(EQUIP_SWORD, 2))) {
textId = 0xB; // Traded Giant's Knife for Biggoron Sword
} else if (msgCtx->textId == 0xB4 && (gSaveContext.eventChkInf[9] & 0x40)) {
} else if (!gSaveContext.n64ddFlag && (msgCtx->textId == 0xB4 && (gSaveContext.eventChkInf[9] & 0x40))) {
textId = 0xB5; // Destroyed Gold Skulltula
}
// Ocarina Staff + Dialog