# Store Boolean

Grammar — Store boolean value as key of section section in bank bank
FlagsNative | Action

Stores a Boolean value to the specified Bank. The Section and Key parameters determine where the value is stored in the bank file, and must be used to load the value later. You must save a bank after storing a value, otherwise the value will not exist to load later.

# Arguments

  • bank — Bank
  • string — Section
  • string — Key
  • bool — Value

Returns — void

native void BankValueSetFromFlag(
	bank b,
	string section,
	string key,
	bool value,
);

Category: [Bank / Store & Load](/galaxy/reference#bank-store &-load)

# Examples

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/tstory01.sc2map/MapScript.galaxy:4570

    BankValueSetFromInt(BankLastCreated(), lv_section, gf_TransitionalBankKey("CurrentRoom"), (gv_currentRoom));
    lv_cantinaBroken = (gv_cantinaState == ge_CantinaStates_Broken);
    BankValueSetFromFlag(BankLastCreated(), lv_section, gf_TransitionalBankKey("CantinaState"), lv_cantinaBroken);
    BankValueSetFromFlag(BankLastCreated(), lv_section, gf_TransitionalBankKey("ArmoryOpenNew"), gv_armoryOpenedNew);
    BankValueSetFromFlag(BankLastCreated(), lv_section, gf_TransitionalBankKey("CantinaOpenNew"), gv_cantinaOpenedNew);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/tstory01.sc2map/MapScript.galaxy:4571

    lv_cantinaBroken = (gv_cantinaState == ge_CantinaStates_Broken);
    BankValueSetFromFlag(BankLastCreated(), lv_section, gf_TransitionalBankKey("CantinaState"), lv_cantinaBroken);
    BankValueSetFromFlag(BankLastCreated(), lv_section, gf_TransitionalBankKey("ArmoryOpenNew"), gv_armoryOpenedNew);
    BankValueSetFromFlag(BankLastCreated(), lv_section, gf_TransitionalBankKey("CantinaOpenNew"), gv_cantinaOpenedNew);
    BankValueSetFromFlag(BankLastCreated(), lv_section, gf_TransitionalBankKey("LabOpenNew"), gv_labOpenedNew);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/tstory01.sc2map/MapScript.galaxy:4572

    BankValueSetFromFlag(BankLastCreated(), lv_section, gf_TransitionalBankKey("CantinaState"), lv_cantinaBroken);
    BankValueSetFromFlag(BankLastCreated(), lv_section, gf_TransitionalBankKey("ArmoryOpenNew"), gv_armoryOpenedNew);
    BankValueSetFromFlag(BankLastCreated(), lv_section, gf_TransitionalBankKey("CantinaOpenNew"), gv_cantinaOpenedNew);
    BankValueSetFromFlag(BankLastCreated(), lv_section, gf_TransitionalBankKey("LabOpenNew"), gv_labOpenedNew);
    BankValueSetFromFlag(BankLastCreated(), lv_section, gf_TransitionalBankKey("LabArtifactClickable"), gv_labArtifactsClickable);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/tstory01.sc2map/MapScript.galaxy:4573

    BankValueSetFromFlag(BankLastCreated(), lv_section, gf_TransitionalBankKey("ArmoryOpenNew"), gv_armoryOpenedNew);
    BankValueSetFromFlag(BankLastCreated(), lv_section, gf_TransitionalBankKey("CantinaOpenNew"), gv_cantinaOpenedNew);
    BankValueSetFromFlag(BankLastCreated(), lv_section, gf_TransitionalBankKey("LabOpenNew"), gv_labOpenedNew);
    BankValueSetFromFlag(BankLastCreated(), lv_section, gf_TransitionalBankKey("LabArtifactClickable"), gv_labArtifactsClickable);
    BankValueSetFromInt(BankLastCreated(), lv_section, gf_TransitionalBankKey("ABChoice"), (gv_abChoiceCurrent));

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/tstory01.sc2map/MapScript.galaxy:4574

    BankValueSetFromFlag(BankLastCreated(), lv_section, gf_TransitionalBankKey("CantinaOpenNew"), gv_cantinaOpenedNew);
    BankValueSetFromFlag(BankLastCreated(), lv_section, gf_TransitionalBankKey("LabOpenNew"), gv_labOpenedNew);
    BankValueSetFromFlag(BankLastCreated(), lv_section, gf_TransitionalBankKey("LabArtifactClickable"), gv_labArtifactsClickable);
    BankValueSetFromInt(BankLastCreated(), lv_section, gf_TransitionalBankKey("ABChoice"), (gv_abChoiceCurrent));
    BankValueSetFromInt(BankLastCreated(), lv_section, gf_TransitionalBankKey("ABChoiceDifficulty"), gf_ConvertDifficultyToInteger(gv_abChoiceDifficulty));

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/tstory01.sc2map/MapScript.galaxy:4580

    BankValueSetFromInt(BankLastCreated(), lv_section, gf_TransitionalBankKey("ResearchConvertedProtoss"), gv_labResearch_ConvertProtoss);
    BankValueSetFromInt(BankLastCreated(), lv_section, gf_TransitionalBankKey("ResearchConvertedZerg"), gv_labResearch_ConvertZerg);
    BankValueSetFromFlag(BankLastCreated(), lv_section, gf_TransitionalBankKey("ResearchUnlockedProtoss"), gv_researchUnlockedProt);
    BankValueSetFromFlag(BankLastCreated(), lv_section, gf_TransitionalBankKey("ResearchUnlockedZerg"), gv_researchUnlockedZerg);
    lv_section = gf_TransitionalBankSection("ResearchNew");

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/tstory01.sc2map/MapScript.galaxy:4581

    BankValueSetFromInt(BankLastCreated(), lv_section, gf_TransitionalBankKey("ResearchConvertedZerg"), gv_labResearch_ConvertZerg);
    BankValueSetFromFlag(BankLastCreated(), lv_section, gf_TransitionalBankKey("ResearchUnlockedProtoss"), gv_researchUnlockedProt);
    BankValueSetFromFlag(BankLastCreated(), lv_section, gf_TransitionalBankKey("ResearchUnlockedZerg"), gv_researchUnlockedZerg);
    lv_section = gf_TransitionalBankSection("ResearchNew");
    auto239ECEE4_i = libCamp_gv_TSC_RESEARCH_FIRST;

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/tstory01.sc2map/MapScript.galaxy:4586

    while (auto239ECEE4_i <= libCamp_gv_TSC_RESEARCH_LAST) {
        lv_indexResearch = libCamp_gv_tS_ResearchID[auto239ECEE4_i];
        BankValueSetFromFlag(BankLastCreated(), lv_section, IntToString((lv_indexResearch)), gv_research_New[(lv_indexResearch)]);
        auto239ECEE4_i = auto239ECEE4_i + 1;
    }

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/tstory01.sc2map/MapScript.galaxy:4590

    }
    lv_section = gf_TransitionalBankSection("Merc");
    BankValueSetFromFlag(BankLastCreated(), lv_section, gf_TransitionalBankKey("MercUnlocked"), gv_mercUnlocked);
    lv_section = gf_TransitionalBankSection("MercNew");
    autoBF2D9604_i = libCamp_gv_TSC_MERC_FIRST;

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/tstory01.sc2map/MapScript.galaxy:4595

    while (autoBF2D9604_i <= libCamp_gv_TSC_MERC_LAST) {
        lv_indexMerc = libCamp_gv_tS_MercID[autoBF2D9604_i];
        BankValueSetFromFlag(BankLastCreated(), lv_section, IntToString((lv_indexMerc)), gv_merc_New[(lv_indexMerc)]);
        autoBF2D9604_i = autoBF2D9604_i + 1;
    }

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/ttutorial01.sc2map/MapScript.galaxy:928

    // Implementation
    BankLoad(gv_tUTORIALBANKPATH, gv_p01_USER);
    BankValueSetFromFlag(BankLastCreated(), lv_section, IntToString((1)), gf_TutorialCompleted(1));
    BankValueSetFromFlag(BankLastCreated(), lv_section, IntToString((5)), gf_TutorialCompleted(5));
    BankValueSetFromFlag(BankLastCreated(), lv_section, IntToString((3)), gf_TutorialCompleted(3));

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/ttutorial01.sc2map/MapScript.galaxy:929

    BankLoad(gv_tUTORIALBANKPATH, gv_p01_USER);
    BankValueSetFromFlag(BankLastCreated(), lv_section, IntToString((1)), gf_TutorialCompleted(1));
    BankValueSetFromFlag(BankLastCreated(), lv_section, IntToString((5)), gf_TutorialCompleted(5));
    BankValueSetFromFlag(BankLastCreated(), lv_section, IntToString((3)), gf_TutorialCompleted(3));
    BankValueSetFromFlag(BankLastCreated(), lv_section, IntToString((4)), gf_TutorialCompleted(4));

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/ttutorial01.sc2map/MapScript.galaxy:930

    BankValueSetFromFlag(BankLastCreated(), lv_section, IntToString((1)), gf_TutorialCompleted(1));
    BankValueSetFromFlag(BankLastCreated(), lv_section, IntToString((5)), gf_TutorialCompleted(5));
    BankValueSetFromFlag(BankLastCreated(), lv_section, IntToString((3)), gf_TutorialCompleted(3));
    BankValueSetFromFlag(BankLastCreated(), lv_section, IntToString((4)), gf_TutorialCompleted(4));
    BankValueSetFromFlag(BankLastCreated(), lv_section, IntToString((2)), gf_TutorialCompleted(2));

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/ttutorial01.sc2map/MapScript.galaxy:931

    BankValueSetFromFlag(BankLastCreated(), lv_section, IntToString((5)), gf_TutorialCompleted(5));
    BankValueSetFromFlag(BankLastCreated(), lv_section, IntToString((3)), gf_TutorialCompleted(3));
    BankValueSetFromFlag(BankLastCreated(), lv_section, IntToString((4)), gf_TutorialCompleted(4));
    BankValueSetFromFlag(BankLastCreated(), lv_section, IntToString((2)), gf_TutorialCompleted(2));
    BankValueSetFromFlag(BankLastCreated(), lv_section, IntToString((6)), gf_TutorialCompleted(6));

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/ttutorial01.sc2map/MapScript.galaxy:932

    BankValueSetFromFlag(BankLastCreated(), lv_section, IntToString((3)), gf_TutorialCompleted(3));
    BankValueSetFromFlag(BankLastCreated(), lv_section, IntToString((4)), gf_TutorialCompleted(4));
    BankValueSetFromFlag(BankLastCreated(), lv_section, IntToString((2)), gf_TutorialCompleted(2));
    BankValueSetFromFlag(BankLastCreated(), lv_section, IntToString((6)), gf_TutorialCompleted(6));
    BankValueSetFromFlag(BankLastCreated(), lv_section, IntToString((7)), gf_TutorialCompleted(7));

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/ttutorial01.sc2map/MapScript.galaxy:933

    BankValueSetFromFlag(BankLastCreated(), lv_section, IntToString((4)), gf_TutorialCompleted(4));
    BankValueSetFromFlag(BankLastCreated(), lv_section, IntToString((2)), gf_TutorialCompleted(2));
    BankValueSetFromFlag(BankLastCreated(), lv_section, IntToString((6)), gf_TutorialCompleted(6));
    BankValueSetFromFlag(BankLastCreated(), lv_section, IntToString((7)), gf_TutorialCompleted(7));
    BankValueSetFromFlag(BankLastCreated(), lv_section, IntToString((0)), gf_TutorialCompleted(0));

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/ttutorial01.sc2map/MapScript.galaxy:934

    BankValueSetFromFlag(BankLastCreated(), lv_section, IntToString((2)), gf_TutorialCompleted(2));
    BankValueSetFromFlag(BankLastCreated(), lv_section, IntToString((6)), gf_TutorialCompleted(6));
    BankValueSetFromFlag(BankLastCreated(), lv_section, IntToString((7)), gf_TutorialCompleted(7));
    BankValueSetFromFlag(BankLastCreated(), lv_section, IntToString((0)), gf_TutorialCompleted(0));
    BankSave(BankLastCreated());

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/ttutorial01.sc2map/MapScript.galaxy:935

    BankValueSetFromFlag(BankLastCreated(), lv_section, IntToString((6)), gf_TutorialCompleted(6));
    BankValueSetFromFlag(BankLastCreated(), lv_section, IntToString((7)), gf_TutorialCompleted(7));
    BankValueSetFromFlag(BankLastCreated(), lv_section, IntToString((0)), gf_TutorialCompleted(0));
    BankSave(BankLastCreated());
}

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tstory01.sc2mapMapScript.galaxy:4570

    BankValueSetFromInt(BankLastCreated(), lv_section, gf_TransitionalBankKey("CurrentRoom"), (gv_currentRoom));
    lv_cantinaBroken = (gv_cantinaState == ge_CantinaStates_Broken);
    BankValueSetFromFlag(BankLastCreated(), lv_section, gf_TransitionalBankKey("CantinaState"), lv_cantinaBroken);
    BankValueSetFromFlag(BankLastCreated(), lv_section, gf_TransitionalBankKey("ArmoryOpenNew"), gv_armoryOpenedNew);
    BankValueSetFromFlag(BankLastCreated(), lv_section, gf_TransitionalBankKey("CantinaOpenNew"), gv_cantinaOpenedNew);

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tstory01.sc2mapMapScript.galaxy:4571

    lv_cantinaBroken = (gv_cantinaState == ge_CantinaStates_Broken);
    BankValueSetFromFlag(BankLastCreated(), lv_section, gf_TransitionalBankKey("CantinaState"), lv_cantinaBroken);
    BankValueSetFromFlag(BankLastCreated(), lv_section, gf_TransitionalBankKey("ArmoryOpenNew"), gv_armoryOpenedNew);
    BankValueSetFromFlag(BankLastCreated(), lv_section, gf_TransitionalBankKey("CantinaOpenNew"), gv_cantinaOpenedNew);
    BankValueSetFromFlag(BankLastCreated(), lv_section, gf_TransitionalBankKey("LabOpenNew"), gv_labOpenedNew);

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tstory01.sc2mapMapScript.galaxy:4572

    BankValueSetFromFlag(BankLastCreated(), lv_section, gf_TransitionalBankKey("CantinaState"), lv_cantinaBroken);
    BankValueSetFromFlag(BankLastCreated(), lv_section, gf_TransitionalBankKey("ArmoryOpenNew"), gv_armoryOpenedNew);
    BankValueSetFromFlag(BankLastCreated(), lv_section, gf_TransitionalBankKey("CantinaOpenNew"), gv_cantinaOpenedNew);
    BankValueSetFromFlag(BankLastCreated(), lv_section, gf_TransitionalBankKey("LabOpenNew"), gv_labOpenedNew);
    BankValueSetFromFlag(BankLastCreated(), lv_section, gf_TransitionalBankKey("LabArtifactClickable"), gv_labArtifactsClickable);

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tstory01.sc2mapMapScript.galaxy:4573

    BankValueSetFromFlag(BankLastCreated(), lv_section, gf_TransitionalBankKey("ArmoryOpenNew"), gv_armoryOpenedNew);
    BankValueSetFromFlag(BankLastCreated(), lv_section, gf_TransitionalBankKey("CantinaOpenNew"), gv_cantinaOpenedNew);
    BankValueSetFromFlag(BankLastCreated(), lv_section, gf_TransitionalBankKey("LabOpenNew"), gv_labOpenedNew);
    BankValueSetFromFlag(BankLastCreated(), lv_section, gf_TransitionalBankKey("LabArtifactClickable"), gv_labArtifactsClickable);
    BankValueSetFromInt(BankLastCreated(), lv_section, gf_TransitionalBankKey("ABChoice"), (gv_abChoiceCurrent));

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tstory01.sc2mapMapScript.galaxy:4574

    BankValueSetFromFlag(BankLastCreated(), lv_section, gf_TransitionalBankKey("CantinaOpenNew"), gv_cantinaOpenedNew);
    BankValueSetFromFlag(BankLastCreated(), lv_section, gf_TransitionalBankKey("LabOpenNew"), gv_labOpenedNew);
    BankValueSetFromFlag(BankLastCreated(), lv_section, gf_TransitionalBankKey("LabArtifactClickable"), gv_labArtifactsClickable);
    BankValueSetFromInt(BankLastCreated(), lv_section, gf_TransitionalBankKey("ABChoice"), (gv_abChoiceCurrent));
    BankValueSetFromInt(BankLastCreated(), lv_section, gf_TransitionalBankKey("ABChoiceDifficulty"), gf_ConvertDifficultyToInteger(gv_abChoiceDifficulty));

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tstory01.sc2mapMapScript.galaxy:4580

    BankValueSetFromInt(BankLastCreated(), lv_section, gf_TransitionalBankKey("ResearchConvertedProtoss"), gv_labResearch_ConvertProtoss);
    BankValueSetFromInt(BankLastCreated(), lv_section, gf_TransitionalBankKey("ResearchConvertedZerg"), gv_labResearch_ConvertZerg);
    BankValueSetFromFlag(BankLastCreated(), lv_section, gf_TransitionalBankKey("ResearchUnlockedProtoss"), gv_researchUnlockedProt);
    BankValueSetFromFlag(BankLastCreated(), lv_section, gf_TransitionalBankKey("ResearchUnlockedZerg"), gv_researchUnlockedZerg);
    lv_section = gf_TransitionalBankSection("ResearchNew");

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tstory01.sc2mapMapScript.galaxy:4581

    BankValueSetFromInt(BankLastCreated(), lv_section, gf_TransitionalBankKey("ResearchConvertedZerg"), gv_labResearch_ConvertZerg);
    BankValueSetFromFlag(BankLastCreated(), lv_section, gf_TransitionalBankKey("ResearchUnlockedProtoss"), gv_researchUnlockedProt);
    BankValueSetFromFlag(BankLastCreated(), lv_section, gf_TransitionalBankKey("ResearchUnlockedZerg"), gv_researchUnlockedZerg);
    lv_section = gf_TransitionalBankSection("ResearchNew");
    auto239ECEE4_i = libCamp_gv_TSC_RESEARCH_FIRST;

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tstory01.sc2mapMapScript.galaxy:4586

    while (auto239ECEE4_i <= libCamp_gv_TSC_RESEARCH_LAST) {
        lv_indexResearch = libCamp_gv_tS_ResearchID[auto239ECEE4_i];
        BankValueSetFromFlag(BankLastCreated(), lv_section, IntToString((lv_indexResearch)), gv_research_New[(lv_indexResearch)]);
        auto239ECEE4_i = auto239ECEE4_i + 1;
    }

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tstory01.sc2mapMapScript.galaxy:4590

    }
    lv_section = gf_TransitionalBankSection("Merc");
    BankValueSetFromFlag(BankLastCreated(), lv_section, gf_TransitionalBankKey("MercUnlocked"), gv_mercUnlocked);
    lv_section = gf_TransitionalBankSection("MercNew");
    autoBF2D9604_i = libCamp_gv_TSC_MERC_FIRST;

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tstory01.sc2mapMapScript.galaxy:4595

    while (autoBF2D9604_i <= libCamp_gv_TSC_MERC_LAST) {
        lv_indexMerc = libCamp_gv_tS_MercID[autoBF2D9604_i];
        BankValueSetFromFlag(BankLastCreated(), lv_section, IntToString((lv_indexMerc)), gv_merc_New[(lv_indexMerc)]);
        autoBF2D9604_i = autoBF2D9604_i + 1;
    }

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/ttutorial01.sc2mapMapScript.galaxy:928

    // Implementation
    BankLoad(gv_tUTORIALBANKPATH, gv_p01_USER);
    BankValueSetFromFlag(BankLastCreated(), lv_section, IntToString((1)), gf_TutorialCompleted(1));
    BankValueSetFromFlag(BankLastCreated(), lv_section, IntToString((5)), gf_TutorialCompleted(5));
    BankValueSetFromFlag(BankLastCreated(), lv_section, IntToString((3)), gf_TutorialCompleted(3));

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/ttutorial01.sc2mapMapScript.galaxy:929

    BankLoad(gv_tUTORIALBANKPATH, gv_p01_USER);
    BankValueSetFromFlag(BankLastCreated(), lv_section, IntToString((1)), gf_TutorialCompleted(1));
    BankValueSetFromFlag(BankLastCreated(), lv_section, IntToString((5)), gf_TutorialCompleted(5));
    BankValueSetFromFlag(BankLastCreated(), lv_section, IntToString((3)), gf_TutorialCompleted(3));
    BankValueSetFromFlag(BankLastCreated(), lv_section, IntToString((4)), gf_TutorialCompleted(4));

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/ttutorial01.sc2mapMapScript.galaxy:930

    BankValueSetFromFlag(BankLastCreated(), lv_section, IntToString((1)), gf_TutorialCompleted(1));
    BankValueSetFromFlag(BankLastCreated(), lv_section, IntToString((5)), gf_TutorialCompleted(5));
    BankValueSetFromFlag(BankLastCreated(), lv_section, IntToString((3)), gf_TutorialCompleted(3));
    BankValueSetFromFlag(BankLastCreated(), lv_section, IntToString((4)), gf_TutorialCompleted(4));
    BankValueSetFromFlag(BankLastCreated(), lv_section, IntToString((2)), gf_TutorialCompleted(2));

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/ttutorial01.sc2mapMapScript.galaxy:931

    BankValueSetFromFlag(BankLastCreated(), lv_section, IntToString((5)), gf_TutorialCompleted(5));
    BankValueSetFromFlag(BankLastCreated(), lv_section, IntToString((3)), gf_TutorialCompleted(3));
    BankValueSetFromFlag(BankLastCreated(), lv_section, IntToString((4)), gf_TutorialCompleted(4));
    BankValueSetFromFlag(BankLastCreated(), lv_section, IntToString((2)), gf_TutorialCompleted(2));
    BankValueSetFromFlag(BankLastCreated(), lv_section, IntToString((6)), gf_TutorialCompleted(6));

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/ttutorial01.sc2mapMapScript.galaxy:932

    BankValueSetFromFlag(BankLastCreated(), lv_section, IntToString((3)), gf_TutorialCompleted(3));
    BankValueSetFromFlag(BankLastCreated(), lv_section, IntToString((4)), gf_TutorialCompleted(4));
    BankValueSetFromFlag(BankLastCreated(), lv_section, IntToString((2)), gf_TutorialCompleted(2));
    BankValueSetFromFlag(BankLastCreated(), lv_section, IntToString((6)), gf_TutorialCompleted(6));
    BankValueSetFromFlag(BankLastCreated(), lv_section, IntToString((7)), gf_TutorialCompleted(7));

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/ttutorial01.sc2mapMapScript.galaxy:933

    BankValueSetFromFlag(BankLastCreated(), lv_section, IntToString((4)), gf_TutorialCompleted(4));
    BankValueSetFromFlag(BankLastCreated(), lv_section, IntToString((2)), gf_TutorialCompleted(2));
    BankValueSetFromFlag(BankLastCreated(), lv_section, IntToString((6)), gf_TutorialCompleted(6));
    BankValueSetFromFlag(BankLastCreated(), lv_section, IntToString((7)), gf_TutorialCompleted(7));
    BankValueSetFromFlag(BankLastCreated(), lv_section, IntToString((0)), gf_TutorialCompleted(0));

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/ttutorial01.sc2mapMapScript.galaxy:934

    BankValueSetFromFlag(BankLastCreated(), lv_section, IntToString((2)), gf_TutorialCompleted(2));
    BankValueSetFromFlag(BankLastCreated(), lv_section, IntToString((6)), gf_TutorialCompleted(6));
    BankValueSetFromFlag(BankLastCreated(), lv_section, IntToString((7)), gf_TutorialCompleted(7));
    BankValueSetFromFlag(BankLastCreated(), lv_section, IntToString((0)), gf_TutorialCompleted(0));
    BankSave(BankLastCreated());

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/ttutorial01.sc2mapMapScript.galaxy:935

    BankValueSetFromFlag(BankLastCreated(), lv_section, IntToString((6)), gf_TutorialCompleted(6));
    BankValueSetFromFlag(BankLastCreated(), lv_section, IntToString((7)), gf_TutorialCompleted(7));
    BankValueSetFromFlag(BankLastCreated(), lv_section, IntToString((0)), gf_TutorialCompleted(0));
    BankSave(BankLastCreated());
}

campaigns/libertystory.sc2campaignbase.sc2data/TriggerLibs/CampaignLib.galaxy:8761

    }
    else {
        BankValueSetFromFlag(lp_bank, lp_section, lp_key, lp_value);
    }
}

campaigns/libertystory.sc2campaignbase.sc2data/TriggerLibs/CampaignLib.galaxy:9855

    // Automatic Variable Declarations
    // Implementation
    BankValueSetFromFlag(libCamp_gv_cP_Bank, ("CampaignCompleted"), "1", libCamp_gv_cPX_CampaignCompleted);
    BankValueSetFromFlag(libCamp_gv_cP_Bank, ("CampaignCompleted"), "2", libCamp_gv_cPX_CampaignCompleted);
    BankSave(libCamp_gv_cP_Bank);

campaigns/libertystory.sc2campaignbase.sc2data/TriggerLibs/CampaignLib.galaxy:9856

    // Implementation
    BankValueSetFromFlag(libCamp_gv_cP_Bank, ("CampaignCompleted"), "1", libCamp_gv_cPX_CampaignCompleted);
    BankValueSetFromFlag(libCamp_gv_cP_Bank, ("CampaignCompleted"), "2", libCamp_gv_cPX_CampaignCompleted);
    BankSave(libCamp_gv_cP_Bank);
}

campaigns/swarmstory.sc2campaignbase.sc2data/TriggerLibs/SwarmCampaignLib.galaxy:13655

    }
    if ((libSwaC_gf_MissionStatusCheck("ZKorhal3", libSwaC_ge_MissionStatus_Completed) == true)) {
        BankValueSetFromFlag(libSwaC_gv_zS_ArchivesBank, "GlobalStates", "CampaignComplete", true);
    }

campaigns/swarmstory.sc2campaignbase.sc2data/TriggerLibs/SwarmCampaignLib.galaxy:13659


    if ((libSwaC_gv_zS_InCompletedCampaign == true) && (libSwaC_gf_StoryMapTypeCheck(libSwaC_gf_CurrentMap(), c_mapKindStory) == true)) {
        BankValueSetFromFlag(libSwaC_gv_zS_ArchivesBank, "GlobalStates", "ArchivesVisited", true);
    }

campaigns/swarmstory.sc2campaignbase.sc2data/TriggerLibs/SwarmCampaignLib.galaxy:14077

    }
    else {
        BankValueSetFromFlag(lp_bank, lp_section, lp_key, lp_value);
    }
}

campaigns/voidstory.sc2campaignbase.sc2data/TriggerLibs/VoidCampaignLib.galaxy:869

    // Implementation
    libVoiC_gf_PC_OpenStoryBank();
    BankValueSetFromFlag(libVoiC_gf_StoryBank(), "Debug", "StartedFirstStorymodeEpisode", lp_state);
    BankSave(libVoiC_gf_StoryBank());
}

campaigns/voidstory.sc2campaignbase.sc2data/TriggerLibs/VoidCampaignLib.galaxy:7505

    }
    if ((((libVoiC_gf_PC_CampaignInEpilogue() == false) && (libVoiC_gf_MissionStatusCheck("PAiur06", libVoiC_ge_MissionStatus_Completed) == true)) || ((libVoiC_gf_PC_CampaignInEpilogue() == true) && (libVoiC_gf_MissionStatusCheck("SC2Epilogue03", libVoiC_ge_MissionStatus_Completed) == true)))) {
        BankValueSetFromFlag(libVoiC_gv_pC_ArchivesBank, "GlobalStates", "CampaignComplete", true);
    }

campaigns/voidstory.sc2campaignbase.sc2data/TriggerLibs/VoidCampaignLib.galaxy:7509


    if ((libVoiC_gf_PC_CampaignIsComplete() == true) && (libVoiC_gf_PC_CampaignMapTypeCheck(libVoiC_gf_CurrentMap(), c_mapKindStory) == true)) {
        BankValueSetFromFlag(libVoiC_gv_pC_ArchivesBank, "GlobalStates", "ArchivesVisited", true);
    }

campaigns/voidstory.sc2campaignbase.sc2data/TriggerLibs/VoidCampaignLib.galaxy:7982

    }
    else {
        BankValueSetFromFlag(lp_bank, lp_section, lp_key, lp_value);
    }
}

mods/heroesdata.stormmodbase.stormdata/TriggerLibs/StartingExperienceLib.galaxy:2486

        else {
            libStEx_gv_sE_TrainingMode = false;
            BankValueSetFromFlag(libGame_gv_players[libStEx_gv_sE_Player].lv_bankData.lv_bank, libStEx_gv_sE_TrainingModeBankSection_C, lv_bankKey, libStEx_gv_sE_TrainingMode);
        }
        auto6F0AEFF1_ae = libStEx_gf_SE_TrainingModeTipCount();

mods/heroesdata.stormmodbase.stormdata/TriggerLibs/StartingExperienceLib.galaxy:2506

        else {
            libStEx_gv_sE_TrainingModeTalentTaught = false;
            BankValueSetFromFlag(libGame_gv_players[libStEx_gv_sE_Player].lv_bankData.lv_bank, libStEx_gv_sE_TrainingModeBankSection_C, lv_bankKey, libStEx_gv_sE_TrainingModeTalentTaught);
        }
    }

mods/heroesdata.stormmodbase.stormdata/TriggerLibs/StartingExperienceLib.galaxy:2552

    libStEx_gv_sE_TrainingModeTalentTaught = true;
    lv_bankKey = libStEx_gv_sE_TrainingModeBankkey_Talent_C;
    BankValueSetFromFlag(libGame_gv_players[libStEx_gv_sE_Player].lv_bankData.lv_bank, libStEx_gv_sE_TrainingModeBankSection_C, lv_bankKey, libStEx_gv_sE_TrainingModeTalentTaught);
    BankSave(libGame_gv_players[libStEx_gv_sE_Player].lv_bankData.lv_bank);
    libGame_gv_xPTrickleEnabled = false;

mods/heroesdata.stormmodbase.stormdata/TriggerLibs/UILib.galaxy:2020

    lv_localBank = libGame_gv_players[lp_localPlayer].lv_bankData.lv_bank;
    BankLoad("PlayerSettings", lp_localPlayer);
    BankValueSetFromFlag(lv_localBank, "Debug Menu Options", "DisableTrickleXPBoolean", libUIUI_gv_uIDebugPanelDisableTrickleXPToggle);
    BankValueSetFromFlag(lv_localBank, "Debug Menu Options", "MinionSpawnsBoolean", libUIUI_gv_uIDebugPanelDisableMinionSpawningToggle);
    BankValueSetFromFlag(lv_localBank, "Debug Menu Options", "CombatTextBoolean", libUIUI_gv_uIDebugPanelFloatingCombatTextToggle);

mods/heroesdata.stormmodbase.stormdata/TriggerLibs/UILib.galaxy:2021

    BankLoad("PlayerSettings", lp_localPlayer);
    BankValueSetFromFlag(lv_localBank, "Debug Menu Options", "DisableTrickleXPBoolean", libUIUI_gv_uIDebugPanelDisableTrickleXPToggle);
    BankValueSetFromFlag(lv_localBank, "Debug Menu Options", "MinionSpawnsBoolean", libUIUI_gv_uIDebugPanelDisableMinionSpawningToggle);
    BankValueSetFromFlag(lv_localBank, "Debug Menu Options", "CombatTextBoolean", libUIUI_gv_uIDebugPanelFloatingCombatTextToggle);
    BankValueSetFromFlag(lv_localBank, "Debug Menu Options", "ShowAllTextBoolean", libUIUI_gv_uIDebugPanelShowAllCombatText);

mods/heroesdata.stormmodbase.stormdata/TriggerLibs/UILib.galaxy:2022

    BankValueSetFromFlag(lv_localBank, "Debug Menu Options", "DisableTrickleXPBoolean", libUIUI_gv_uIDebugPanelDisableTrickleXPToggle);
    BankValueSetFromFlag(lv_localBank, "Debug Menu Options", "MinionSpawnsBoolean", libUIUI_gv_uIDebugPanelDisableMinionSpawningToggle);
    BankValueSetFromFlag(lv_localBank, "Debug Menu Options", "CombatTextBoolean", libUIUI_gv_uIDebugPanelFloatingCombatTextToggle);
    BankValueSetFromFlag(lv_localBank, "Debug Menu Options", "ShowAllTextBoolean", libUIUI_gv_uIDebugPanelShowAllCombatText);
    BankValueSetFromFlag(lv_localBank, "Debug Menu Options", "SpawnAtCamera", libUIUI_gv_uIDebugPanelSpawnAtCamera);

mods/heroesdata.stormmodbase.stormdata/TriggerLibs/UILib.galaxy:2023

    BankValueSetFromFlag(lv_localBank, "Debug Menu Options", "MinionSpawnsBoolean", libUIUI_gv_uIDebugPanelDisableMinionSpawningToggle);
    BankValueSetFromFlag(lv_localBank, "Debug Menu Options", "CombatTextBoolean", libUIUI_gv_uIDebugPanelFloatingCombatTextToggle);
    BankValueSetFromFlag(lv_localBank, "Debug Menu Options", "ShowAllTextBoolean", libUIUI_gv_uIDebugPanelShowAllCombatText);
    BankValueSetFromFlag(lv_localBank, "Debug Menu Options", "SpawnAtCamera", libUIUI_gv_uIDebugPanelSpawnAtCamera);
    BankValueSetFromFlag(lv_localBank, "Debug Menu Options", "SavedHero", libUIUI_gv_uIDebugPanelSavedHero);

mods/heroesdata.stormmodbase.stormdata/TriggerLibs/UILib.galaxy:2024

    BankValueSetFromFlag(lv_localBank, "Debug Menu Options", "CombatTextBoolean", libUIUI_gv_uIDebugPanelFloatingCombatTextToggle);
    BankValueSetFromFlag(lv_localBank, "Debug Menu Options", "ShowAllTextBoolean", libUIUI_gv_uIDebugPanelShowAllCombatText);
    BankValueSetFromFlag(lv_localBank, "Debug Menu Options", "SpawnAtCamera", libUIUI_gv_uIDebugPanelSpawnAtCamera);
    BankValueSetFromFlag(lv_localBank, "Debug Menu Options", "SavedHero", libUIUI_gv_uIDebugPanelSavedHero);
    BankValueSetFromFixed(lv_localBank, "Debug Menu Options", "HeroLevelXP", libCore_gf_GetTotalXPForLevel(FixedToInt(libNtve_gf_DialogItemValue(libUIUI_gv_uIDebugPanel.lv_levelSlider, lp_localPlayer))));

mods/heroesdata.stormmodbase.stormdata/TriggerLibs/UILib.galaxy:2025

    BankValueSetFromFlag(lv_localBank, "Debug Menu Options", "ShowAllTextBoolean", libUIUI_gv_uIDebugPanelShowAllCombatText);
    BankValueSetFromFlag(lv_localBank, "Debug Menu Options", "SpawnAtCamera", libUIUI_gv_uIDebugPanelSpawnAtCamera);
    BankValueSetFromFlag(lv_localBank, "Debug Menu Options", "SavedHero", libUIUI_gv_uIDebugPanelSavedHero);
    BankValueSetFromFixed(lv_localBank, "Debug Menu Options", "HeroLevelXP", libCore_gf_GetTotalXPForLevel(FixedToInt(libNtve_gf_DialogItemValue(libUIUI_gv_uIDebugPanel.lv_levelSlider, lp_localPlayer))));
    BankValueSetFromInt(lv_localBank, "Debug Menu Options", "HeroIndex", DialogControlGetSelectedItem(libUIUI_gv_uIDebugPanel.lv_heroDropdown, 1));

mods/missionpacks/campaigncommon.sc2modbase.sc2data/LibComC.galaxy:3552

    }
    if ((libComC_gf_CampaignIsComplete() == true)) {
        BankValueSetFromFlag(libComC_gv_cC_ArchivesBank, "GlobalStates", "CampaignComplete", true);
        if ((libComC_gf_CampaignMapTypeCheck(libComC_gf_CurrentMap(), c_mapKindStory) == true)) {
            BankValueSetFromFlag(libComC_gv_cC_ArchivesBank, "GlobalStates", "ArchivesVisited", true);

mods/missionpacks/campaigncommon.sc2modbase.sc2data/LibComC.galaxy:3554

        BankValueSetFromFlag(libComC_gv_cC_ArchivesBank, "GlobalStates", "CampaignComplete", true);
        if ((libComC_gf_CampaignMapTypeCheck(libComC_gf_CurrentMap(), c_mapKindStory) == true)) {
            BankValueSetFromFlag(libComC_gv_cC_ArchivesBank, "GlobalStates", "ArchivesVisited", true);
        }

mods/missionpacks/campaigncommon.sc2modbase.sc2data/LibComC.galaxy:3892

    }
    else {
        BankValueSetFromFlag(lp_bank, lp_section, lp_key, lp_value);
    }
}

mods/missionpacks/novacampaign.sc2modbase.sc2data/LibNovC.galaxy:780

void libNovC_gf_NC_DebugProgressSetFirstStorymodeEpisode (bool lp_state) {
    // Implementation
    BankValueSetFromFlag(libComC_gf_CC_StoryBank(), "Debug", "StartedFirstStorymodeEpisode", lp_state);
    BankSave(libComC_gf_CC_StoryBank());
}

mods/starcoop/starcoop.sc2modbase.sc2data/LibCOOC.galaxy:4853

    }
    else {
        BankValueSetFromFlag(lp_bank, lp_section, lp_key, lp_value);
    }
}

mods/voidprologue.sc2modbase.sc2data/LibA3DDD02B.galaxy:6504

    }
    if ((libA3DDD02B_gf_MissionStatusCheck("VoidPrologue03", libA3DDD02B_ge_MissionStatus_Completed) == true)) {
        BankValueSetFromFlag(libA3DDD02B_gv_pC_ArchivesBank, "GlobalStates", "CampaignComplete", true);
    }

mods/voidprologue.sc2modbase.sc2data/LibA3DDD02B.galaxy:6508


    if ((libA3DDD02B_gv_pP_InCompletedCampaign == true) && (libA3DDD02B_gf_StoryMapTypeCheck(libA3DDD02B_gf_CurrentMap(), c_mapKindStory) == true)) {
        BankValueSetFromFlag(libA3DDD02B_gv_pC_ArchivesBank, "GlobalStates", "ArchivesVisited", true);
    }

mods/voidprologue.sc2modbase.sc2data/LibA3DDD02B.galaxy:6792

    }
    else {
        BankValueSetFromFlag(lp_bank, lp_section, lp_key, lp_value);
    }
}