mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2025-02-23 06:02:08 -05:00
Merge remote-tracking branch 'upstream/rando-next' into rando-navi-tips
This commit is contained in:
commit
44e510e867
@ -911,9 +911,12 @@ void DrawFlagsTab() {
|
|||||||
setMask <<= 1;
|
setMask <<= 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// If playing a Randomizer Save with Shuffle Skull Tokens on anything other than "Off" we don't want to keep
|
||||||
|
// GS Token Count updated, since Gold Skulltulas killed will not correlate to GS Tokens Collected.
|
||||||
|
if (!(gSaveContext.n64ddFlag && OTRGlobals::Instance->gRandomizer->GetRandoSettingValue(RSK_SHUFFLE_TOKENS))) {
|
||||||
static bool keepGsCountUpdated = true;
|
static bool keepGsCountUpdated = true;
|
||||||
ImGui::Checkbox("Keep GS Count Updated", &keepGsCountUpdated);
|
ImGui::Checkbox("Keep GS Count Updated", &keepGsCountUpdated);
|
||||||
InsertHelpHoverText("Automatically adjust the number of gold skulltula tokens acquired based on set flags");
|
InsertHelpHoverText("Automatically adjust the number of gold skulltula tokens acquired based on set flags.");
|
||||||
int32_t gsCount = 0;
|
int32_t gsCount = 0;
|
||||||
if (keepGsCountUpdated) {
|
if (keepGsCountUpdated) {
|
||||||
for (int32_t gsFlagIndex = 0; gsFlagIndex < 6; gsFlagIndex++) {
|
for (int32_t gsFlagIndex = 0; gsFlagIndex < 6; gsFlagIndex++) {
|
||||||
@ -921,6 +924,7 @@ void DrawFlagsTab() {
|
|||||||
}
|
}
|
||||||
gSaveContext.inventory.gsTokens = gsCount;
|
gSaveContext.inventory.gsTokens = gsCount;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
if (ImGui::TreeNode("Event Check Inf Flags")) {
|
if (ImGui::TreeNode("Event Check Inf Flags")) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user