Adds option for shorter biggoron quest
This commit is contained in:
@@ -96,10 +96,18 @@ u16 EnGo_GetTextID(GlobalContext* globalCtx, Actor* thisx) {
|
||||
if (gSaveContext.bgsFlag) {
|
||||
return 0x305E;
|
||||
} else if (INV_CONTENT(ITEM_TRADE_ADULT) >= ITEM_CLAIM_CHECK) {
|
||||
if (Environment_GetBgsDayCount() >= 3) {
|
||||
return 0x305E;
|
||||
if (CVar_GetS32("gBiggoronShortQuest", 0) != 0) {
|
||||
if (Environment_GetBgsDayCount() >= 2) {
|
||||
return 0x305E;
|
||||
} else {
|
||||
return 0x305D;
|
||||
}
|
||||
} else {
|
||||
return 0x305D;
|
||||
if (Environment_GetBgsDayCount() >= 3) {
|
||||
return 0x305E;
|
||||
} else {
|
||||
return 0x305D;
|
||||
}
|
||||
}
|
||||
} else if (INV_CONTENT(ITEM_TRADE_ADULT) >= 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)) {
|
||||
if (func_8002F368(globalCtx) == EXCH_ITEM_CLAIM_CHECK) {
|
||||
if (Environment_GetBgsDayCount() >= 3) {
|
||||
textId = 0x305E;
|
||||
} else {
|
||||
if (CVar_GetS32("gBiggoronShortQuest", 0) != 0) {
|
||||
if (Environment_GetBgsDayCount() >= 2) {
|
||||
textId = 0x305E;
|
||||
} else {
|
||||
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 {
|
||||
if (Environment_GetBgsDayCount() >= 3) {
|
||||
textId = 0x3002;
|
||||
if (CVar_GetS32("gBiggoronShortQuest", 0) != 0) {
|
||||
if (Environment_GetBgsDayCount() >= 2) {
|
||||
textId = 0x3002;
|
||||
} else {
|
||||
textId = 0x305D;
|
||||
}
|
||||
this->actor.textId = textId;
|
||||
} 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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user