mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2024-11-29 21:02:18 -05:00
Adds option for shorter biggoron quest
This commit is contained in:
parent
076887e71f
commit
9f82457830
@ -679,6 +679,8 @@ namespace SohImGui {
|
|||||||
Tooltip("Allows equiping the tunic and boots to c-buttons");
|
Tooltip("Allows equiping the tunic and boots to c-buttons");
|
||||||
EnhancementCheckbox("MM Bunny Hood", "gMMBunnyHood");
|
EnhancementCheckbox("MM Bunny Hood", "gMMBunnyHood");
|
||||||
Tooltip("Wearing the Bunny Hood grants a speed increase like in Majora's Mask");
|
Tooltip("Wearing the Bunny Hood grants a speed increase like in Majora's Mask");
|
||||||
|
EnhancementCheckbox("2 Day Biggoron Quest", "gBiggoronShortQuest");
|
||||||
|
Tooltip("Makes you wait 2 days instead of 3 to forge the Biggoron Sword");
|
||||||
|
|
||||||
ImGui::EndMenu();
|
ImGui::EndMenu();
|
||||||
}
|
}
|
||||||
|
@ -96,10 +96,18 @@ u16 EnGo_GetTextID(GlobalContext* globalCtx, Actor* thisx) {
|
|||||||
if (gSaveContext.bgsFlag) {
|
if (gSaveContext.bgsFlag) {
|
||||||
return 0x305E;
|
return 0x305E;
|
||||||
} else if (INV_CONTENT(ITEM_TRADE_ADULT) >= ITEM_CLAIM_CHECK) {
|
} else if (INV_CONTENT(ITEM_TRADE_ADULT) >= ITEM_CLAIM_CHECK) {
|
||||||
if (Environment_GetBgsDayCount() >= 3) {
|
if (CVar_GetS32("gBiggoronShortQuest", 0) != 0) {
|
||||||
return 0x305E;
|
if (Environment_GetBgsDayCount() >= 2) {
|
||||||
|
return 0x305E;
|
||||||
|
} else {
|
||||||
|
return 0x305D;
|
||||||
|
}
|
||||||
} else {
|
} else {
|
||||||
return 0x305D;
|
if (Environment_GetBgsDayCount() >= 3) {
|
||||||
|
return 0x305E;
|
||||||
|
} else {
|
||||||
|
return 0x305D;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
} else if (INV_CONTENT(ITEM_TRADE_ADULT) >= ITEM_EYEDROPS) {
|
} else if (INV_CONTENT(ITEM_TRADE_ADULT) >= ITEM_EYEDROPS) {
|
||||||
player->exchangeItemId = EXCH_ITEM_EYEDROPS;
|
player->exchangeItemId = EXCH_ITEM_EYEDROPS;
|
||||||
|
@ -1021,19 +1021,37 @@ void EnGo2_BiggoronSetTextId(EnGo2* this, GlobalContext* globalCtx, Player* play
|
|||||||
|
|
||||||
} else if (!gSaveContext.bgsFlag && (INV_CONTENT(ITEM_TRADE_ADULT) == ITEM_CLAIM_CHECK)) {
|
} else if (!gSaveContext.bgsFlag && (INV_CONTENT(ITEM_TRADE_ADULT) == ITEM_CLAIM_CHECK)) {
|
||||||
if (func_8002F368(globalCtx) == EXCH_ITEM_CLAIM_CHECK) {
|
if (func_8002F368(globalCtx) == EXCH_ITEM_CLAIM_CHECK) {
|
||||||
if (Environment_GetBgsDayCount() >= 3) {
|
if (CVar_GetS32("gBiggoronShortQuest", 0) != 0) {
|
||||||
textId = 0x305E;
|
if (Environment_GetBgsDayCount() >= 2) {
|
||||||
} else {
|
textId = 0x305E;
|
||||||
|
} else {
|
||||||
textId = 0x305D;
|
textId = 0x305D;
|
||||||
|
}
|
||||||
|
this->actor.textId = textId;
|
||||||
|
} else {
|
||||||
|
if (Environment_GetBgsDayCount() >= 3) {
|
||||||
|
textId = 0x305E;
|
||||||
|
} else {
|
||||||
|
textId = 0x305D;
|
||||||
|
}
|
||||||
|
this->actor.textId = textId;
|
||||||
}
|
}
|
||||||
this->actor.textId = textId;
|
|
||||||
} else {
|
} else {
|
||||||
if (Environment_GetBgsDayCount() >= 3) {
|
if (CVar_GetS32("gBiggoronShortQuest", 0) != 0) {
|
||||||
textId = 0x3002;
|
if (Environment_GetBgsDayCount() >= 2) {
|
||||||
|
textId = 0x3002;
|
||||||
|
} else {
|
||||||
|
textId = 0x305D;
|
||||||
|
}
|
||||||
|
this->actor.textId = textId;
|
||||||
} else {
|
} else {
|
||||||
textId = 0x305D;
|
if (Environment_GetBgsDayCount() >= 3) {
|
||||||
|
textId = 0x3002;
|
||||||
|
} else {
|
||||||
|
textId = 0x305D;
|
||||||
|
}
|
||||||
|
this->actor.textId = textId;
|
||||||
}
|
}
|
||||||
this->actor.textId = textId;
|
|
||||||
}
|
}
|
||||||
player->actor.textId = this->actor.textId;
|
player->actor.textId = this->actor.textId;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user