# Load Integer Value

Grammar — Load key of section section from bank bank as integer value
FlagsNative | Function

Returns an Integer value contained in the chosen Bank at the specified Key of the specified Section.

# Arguments

  • bank — Bank
  • string — Section
  • string — Key

Returns — int

native int BankValueGetAsInt(
	bank b,
	string section,
	string key,
);

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

# Examples

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

    BankLoad(gv_transitionalBankName, 1);
    lv_section = gf_TransitionalBankSection("General");
    gv_currentRoom = gf_RoomFromIndex(BankValueGetAsInt(BankLastCreated(), lv_section, gf_TransitionalBankKey("CurrentRoom")));
    gv_currentLocation = gf_RoomLocation(gv_currentRoom);
    lv_cantinaBroken = BankValueGetAsFlag(BankLastCreated(), lv_section, gf_TransitionalBankKey("CantinaState"));

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

    gv_labOpenedNew = BankValueGetAsFlag(BankLastCreated(), lv_section, gf_TransitionalBankKey("LabOpenNew"));
    gv_labArtifactsClickable = BankValueGetAsFlag(BankLastCreated(), lv_section, gf_TransitionalBankKey("LabArtifactClickable"));
    lv_abChoice = BankValueGetAsInt(BankLastCreated(), lv_section, gf_TransitionalBankKey("ABChoice"));
    gv_abChoiceCurrent = lv_abChoice;
    gv_abChoiceDifficulty = gf_ConvertIntegerToDifficulty(BankValueGetAsInt(BankLastCreated(), lv_section, gf_TransitionalBankKey("ABChoiceDifficulty")));

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

    lv_abChoice = BankValueGetAsInt(BankLastCreated(), lv_section, gf_TransitionalBankKey("ABChoice"));
    gv_abChoiceCurrent = lv_abChoice;
    gv_abChoiceDifficulty = gf_ConvertIntegerToDifficulty(BankValueGetAsInt(BankLastCreated(), lv_section, gf_TransitionalBankKey("ABChoiceDifficulty")));
    lv_section = gf_TransitionalBankSection("Research");
    gv_labResearch_ConvertProtoss = BankValueGetAsInt(BankLastCreated(), lv_section, gf_TransitionalBankKey("ResearchConvertedProtoss"));

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

    gv_abChoiceDifficulty = gf_ConvertIntegerToDifficulty(BankValueGetAsInt(BankLastCreated(), lv_section, gf_TransitionalBankKey("ABChoiceDifficulty")));
    lv_section = gf_TransitionalBankSection("Research");
    gv_labResearch_ConvertProtoss = BankValueGetAsInt(BankLastCreated(), lv_section, gf_TransitionalBankKey("ResearchConvertedProtoss"));
    gv_labResearch_ConvertZerg = BankValueGetAsInt(BankLastCreated(), lv_section, gf_TransitionalBankKey("ResearchConvertedZerg"));
    gv_researchUnlockedProt = BankValueGetAsFlag(BankLastCreated(), lv_section, gf_TransitionalBankKey("ResearchUnlockedProtoss"));

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

    lv_section = gf_TransitionalBankSection("Research");
    gv_labResearch_ConvertProtoss = BankValueGetAsInt(BankLastCreated(), lv_section, gf_TransitionalBankKey("ResearchConvertedProtoss"));
    gv_labResearch_ConvertZerg = BankValueGetAsInt(BankLastCreated(), lv_section, gf_TransitionalBankKey("ResearchConvertedZerg"));
    gv_researchUnlockedProt = BankValueGetAsFlag(BankLastCreated(), lv_section, gf_TransitionalBankKey("ResearchUnlockedProtoss"));
    gv_researchUnlockedZerg = BankValueGetAsFlag(BankLastCreated(), lv_section, gf_TransitionalBankKey("ResearchUnlockedZerg"));

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


    BankLoad("DebugCinematic", 1);
    gv_cinematicDebugValue = BankValueGetAsInt(BankLastCreated(), "DebugCinematicShow", "Value");
    gv_cinematicDebugPlaylist[1] = gt_Scene01RaynorIntro;
    gv_cinematicDebugPlaylist[2] = null;

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

    BankLoad(gv_transitionalBankName, 1);
    lv_section = gf_TransitionalBankSection("General");
    gv_currentRoom = gf_RoomFromIndex(BankValueGetAsInt(BankLastCreated(), lv_section, gf_TransitionalBankKey("CurrentRoom")));
    gv_currentLocation = gf_RoomLocation(gv_currentRoom);
    lv_cantinaBroken = BankValueGetAsFlag(BankLastCreated(), lv_section, gf_TransitionalBankKey("CantinaState"));

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

    gv_labOpenedNew = BankValueGetAsFlag(BankLastCreated(), lv_section, gf_TransitionalBankKey("LabOpenNew"));
    gv_labArtifactsClickable = BankValueGetAsFlag(BankLastCreated(), lv_section, gf_TransitionalBankKey("LabArtifactClickable"));
    lv_abChoice = BankValueGetAsInt(BankLastCreated(), lv_section, gf_TransitionalBankKey("ABChoice"));
    gv_abChoiceCurrent = lv_abChoice;
    gv_abChoiceDifficulty = gf_ConvertIntegerToDifficulty(BankValueGetAsInt(BankLastCreated(), lv_section, gf_TransitionalBankKey("ABChoiceDifficulty")));

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

    lv_abChoice = BankValueGetAsInt(BankLastCreated(), lv_section, gf_TransitionalBankKey("ABChoice"));
    gv_abChoiceCurrent = lv_abChoice;
    gv_abChoiceDifficulty = gf_ConvertIntegerToDifficulty(BankValueGetAsInt(BankLastCreated(), lv_section, gf_TransitionalBankKey("ABChoiceDifficulty")));
    lv_section = gf_TransitionalBankSection("Research");
    gv_labResearch_ConvertProtoss = BankValueGetAsInt(BankLastCreated(), lv_section, gf_TransitionalBankKey("ResearchConvertedProtoss"));

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

    gv_abChoiceDifficulty = gf_ConvertIntegerToDifficulty(BankValueGetAsInt(BankLastCreated(), lv_section, gf_TransitionalBankKey("ABChoiceDifficulty")));
    lv_section = gf_TransitionalBankSection("Research");
    gv_labResearch_ConvertProtoss = BankValueGetAsInt(BankLastCreated(), lv_section, gf_TransitionalBankKey("ResearchConvertedProtoss"));
    gv_labResearch_ConvertZerg = BankValueGetAsInt(BankLastCreated(), lv_section, gf_TransitionalBankKey("ResearchConvertedZerg"));
    gv_researchUnlockedProt = BankValueGetAsFlag(BankLastCreated(), lv_section, gf_TransitionalBankKey("ResearchUnlockedProtoss"));

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

    lv_section = gf_TransitionalBankSection("Research");
    gv_labResearch_ConvertProtoss = BankValueGetAsInt(BankLastCreated(), lv_section, gf_TransitionalBankKey("ResearchConvertedProtoss"));
    gv_labResearch_ConvertZerg = BankValueGetAsInt(BankLastCreated(), lv_section, gf_TransitionalBankKey("ResearchConvertedZerg"));
    gv_researchUnlockedProt = BankValueGetAsFlag(BankLastCreated(), lv_section, gf_TransitionalBankKey("ResearchUnlockedProtoss"));
    gv_researchUnlockedZerg = BankValueGetAsFlag(BankLastCreated(), lv_section, gf_TransitionalBankKey("ResearchUnlockedZerg"));

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


    BankLoad("DebugCinematic", 1);
    gv_cinematicDebugValue = BankValueGetAsInt(BankLastCreated(), "DebugCinematicShow", "Value");
    gv_cinematicDebugPlaylist[1] = gt_Scene01RaynorIntro;
    gv_cinematicDebugPlaylist[2] = null;

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

    }
    else {
        return BankValueGetAsInt(lp_bank, lp_section, lp_key);
    }
}

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

    }
    lv__SectionName = libCamp_gf_TS_BankSectionName("TutorialHistory");
    lv_count = BankValueGetAsInt(lp_sourceBank, lv__SectionName, IntToString(0));
    auto4D414022_ae = lv_count;
    lv_index = 1;

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

    // Implementation
    if ((BankKeyExists(lp_bank, lv__SectionName, IntToString((lp_missionA))) == true)) {
        lv_aAge = BankValueGetAsInt(BankLastCreated(), lv__SectionName, IntToString((lp_missionA)));
    }
    else {

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

    }
    if ((BankKeyExists(lp_bank, lv__SectionName, IntToString((lp_missionB))) == true)) {
        lv_bAge = BankValueGetAsInt(BankLastCreated(), lv__SectionName, IntToString((lp_missionB)));
    }
    else {

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

    }
    else {
        return BankValueGetAsInt(lp_bank, lp_section, lp_key);
    }
}

campaigns/swarmstoryutil.sc2modbase.sc2data/Lib281DEC45.galaxy:468

        lv_character = UserDataInstance("Character", auto4FB8B176_ai);
        lv__SectionName = "CharacterUnlocked";
        UserDataSetInt("Character", lv_character, "Unlocked", 1, BankValueGetAsInt(lv_storyBank, lv__SectionName, (lv_character)));
        lv__SectionName = "CharacterAmbient";
        lib281DEC45_gf_ZSS_CharacterSetAmbient(lv_character, (BankValueGetAsInt(lv_storyBank, lv__SectionName, (lv_character)) == 1));

campaigns/swarmstoryutil.sc2modbase.sc2data/Lib281DEC45.galaxy:470

        UserDataSetInt("Character", lv_character, "Unlocked", 1, BankValueGetAsInt(lv_storyBank, lv__SectionName, (lv_character)));
        lv__SectionName = "CharacterAmbient";
        lib281DEC45_gf_ZSS_CharacterSetAmbient(lv_character, (BankValueGetAsInt(lv_storyBank, lv__SectionName, (lv_character)) == 1));
        lv__SectionName = "CharacterNew";
        lib281DEC45_gf_SetCharacterNew(lv_character, (BankValueGetAsInt(lv_storyBank, lv__SectionName, (lv_character)) == 1));

campaigns/swarmstoryutil.sc2modbase.sc2data/Lib281DEC45.galaxy:472

        lib281DEC45_gf_ZSS_CharacterSetAmbient(lv_character, (BankValueGetAsInt(lv_storyBank, lv__SectionName, (lv_character)) == 1));
        lv__SectionName = "CharacterNew";
        lib281DEC45_gf_SetCharacterNew(lv_character, (BankValueGetAsInt(lv_storyBank, lv__SectionName, (lv_character)) == 1));
        auto4FB8B176_ai = auto4FB8B176_ai+1;
    }

campaigns/swarmstoryutil.sc2modbase.sc2data/Lib281DEC45.galaxy:491

            lib281DEC45_gf_ZSS_CharacterSetAmbient(lv_character, !(ConversationDataCanRun(lib281DEC45_gf_ZSS_CharacterConversation(lv_character), false)));
            lib281DEC45_gf_SetCharacterNew(lv_character, ConversationDataCanRun(lib281DEC45_gf_ZSS_CharacterConversation(lv_character), true));
            UserDataSetInt("Character", lv_character, "Unlocked", 1, BankValueGetAsInt(lv_storyBank, lv__SectionName, (lv_character)));
            auto2DC3C7B3_ai = auto2DC3C7B3_ai+1;
        }

campaigns/swarmstoryutil.sc2modbase.sc2data/Lib281DEC45.galaxy:600

    for ( ; ( (autoA64B39DA_ai >= 0 && lv_index <= autoA64B39DA_ae) || (autoA64B39DA_ai <= 0 && lv_index >= autoA64B39DA_ae) ) ; lv_index += autoA64B39DA_ai ) {
        lv_indexState = UserDataInstance("WriterStates", lv_index);
        if ((UserDataGetInt("WriterStates", lv_indexState, "Value", 1) == BankValueGetAsInt(libSwaC_gf_StoryBank(), ("WriterStateSnapshot"), (lv_indexState)))) {
            UserDataLoadInstance("WriterStates", lv_indexState, lib281DEC45_gf_ZSS_TempConversationBank(), ("WriterStates"));
        }

campaigns/swarmstoryutil.sc2modbase.sc2data/Lib281DEC45.galaxy:718

    BankLoad(lib281DEC45_gv_zSS_TransitionBankName, 1);
    lv__SectionName = "StorySet";
    lib281DEC45_gv_zSS_CurrentRoom = lib281DEC45_gf_ZSS_RoomFromIndex(BankValueGetAsInt(BankLastCreated(), lv__SectionName, "CurrentRoom"));
    if ((lib281DEC45_gv_zSS_CurrentRoom != lib281DEC45_ge_Rooms_StoryRoomEggRoom)) {
        lib281DEC45_gv_zSS_CurrentRoom = lib281DEC45_ge_Rooms_StoryRoomMainSet;

campaigns/void.sc2campaignbase.sc2maps/maps/campaign/sc2tutorial.sc2map/MapScript.galaxy:2448

    BankLoad("SC2Tutorial", gv_p01_USER);
    gv_tutorialBankSave = BankLastCreated();
    gv_tutorialProgress = BankValueGetAsInt(gv_tutorialBankSave, "General", "Progress");
    GameCheatAllow(c_gameCheatVictory, false);
    GameCheatAllow(c_gameCheatDefeat, false);

campaigns/void.sc2campaign/base.sc2maps/maps/campaign/sc2tutorial.sc2mapMapScript.galaxy:2448

    BankLoad("SC2Tutorial", gv_p01_USER);
    gv_tutorialBankSave = BankLastCreated();
    gv_tutorialProgress = BankValueGetAsInt(gv_tutorialBankSave, "General", "Progress");
    GameCheatAllow(c_gameCheatVictory, false);
    GameCheatAllow(c_gameCheatDefeat, false);

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

    // Implementation
    if ((BankKeyExists(lp_bank, lv__SectionName, IntToString((lp_missionA))) == true)) {
        lv_aAge = BankValueGetAsInt(BankLastCreated(), lv__SectionName, IntToString((lp_missionA)));
    }
    else {

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

    }
    if ((BankKeyExists(lp_bank, lv__SectionName, IntToString((lp_missionB))) == true)) {
        lv_bAge = BankValueGetAsInt(BankLastCreated(), lv__SectionName, IntToString((lp_missionB)));
    }
    else {

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

    }
    else {
        return BankValueGetAsInt(lp_bank, lp_section, lp_key);
    }
}

campaigns/voidstory.sc2campaignbase.sc2data/TriggerLibs/VoidCampaignStoryLib.galaxy:696

        lv__SectionName = "ClickableType";
        if ((libVCST_gf_PS_ClickableType(lv_indexClickable) != libVCST_ge_ClickableType_RoomChange) && (libVCST_gf_PS_ClickableType(lv_indexClickable) != libVCST_ge_ClickableType_Custom)) {
            libVCST_gf_ClickableSetType(lv_indexClickable, libVCST_gf_PS_ClickableIntToType(BankValueGetAsInt(lv_storyBank, lv__SectionName, (lv_indexClickable))));
        }

campaigns/voidstory.sc2campaignbase.sc2data/TriggerLibs/VoidCampaignStoryLib.galaxy:700


        lv__SectionName = "CharacterNew";
        libVCST_gf_ClickableSetNew(lv_indexClickable, (BankValueGetAsInt(lv_storyBank, lv__SectionName, (lv_indexClickable)) == 1));
        auto792D16C3_ai = auto792D16C3_ai+1;
    }

campaigns/voidstory.sc2campaignbase.sc2data/TriggerLibs/VoidCampaignStoryLib.galaxy:1009

    BankLoad(libVCST_gv_pS_TransitionBankName, 1);
    lv__SectionName = "StorySet";
    libVCST_gv_pS_CurrentRoom = (BankValueGetAsInt(BankLastCreated(), lv__SectionName, "CurrentRoom"));
    if ((libVCST_gv_pS_CurrentRoom != libVCST_ge_Rooms_StoryRoomBridge) && (libVCST_gv_pS_CurrentRoom != libVCST_ge_Rooms_StoryRoomWarCouncil) && (libVCST_gv_pS_CurrentRoom != libVCST_ge_Rooms_StoryRoomShip)) {
        libVCST_gv_pS_CurrentRoom = libVCST_ge_Rooms_StoryRoomBridge;

mods/challenges.sc2modbase.sc2data/LibChal.galaxy:1843

    libChal_gf_CHL_InitChallengeBank();
    if ((BankExists(libChal_gv_cHLC_BANKNAME, 1) == true) && (libChal_gv_cHL_DefaultChallengeBank != null)) {
        return BankValueGetAsInt(libChal_gv_cHL_DefaultChallengeBank, libChal_gf_ChallengeName(lp_challengeType), libChal_gv_cHLC_KEYAWARD);
    }
    else {

mods/heroesdata.stormmodbase.stormdata/TriggerLibs/GameLib.galaxy:10697

        	lv_itPlayer = PlayerGroupNextPlayer(auto6879AF6E_g, lv_itPlayer);
        	if (lv_itPlayer<0) { break; }
        	if ((lv_itPlayer == 1) && (libCore_gv_dEBUGDebuggingEnabled == true) && (BankValueGetAsFlag(libGame_gv_players[lv_itPlayer].lv_bankData.lv_bank, "Debug Menu Options", "SavedHero") == true) && (BankValueGetAsInt(libGame_gv_players[lv_itPlayer].lv_bankData.lv_bank, "Debug Menu Options", "TrueHeroIndex") != 0) && (BankValueGetAsInt(libGame_gv_players[lv_itPlayer].lv_bankData.lv_bank, "Debug Menu Options", "TrueSkinIndex") != 0) && (BankValueGetAsInt(libGame_gv_players[lv_itPlayer].lv_bankData.lv_bank, "Debug Menu Options", "TrueMountIndex") != 0)) {
            libGame_gv_players[lv_itPlayer].lv_heroIndex = BankValueGetAsInt(libGame_gv_players[lv_itPlayer].lv_bankData.lv_bank, "Debug Menu Options", "TrueHeroIndex");
            libGame_gv_players[lv_itPlayer].lv_selectedSkin = BankValueGetAsInt(libGame_gv_players[lv_itPlayer].lv_bankData.lv_bank, "Debug Menu Options", "TrueSkinIndex");

mods/heroesdata.stormmodbase.stormdata/TriggerLibs/GameLib.galaxy:10697

        	lv_itPlayer = PlayerGroupNextPlayer(auto6879AF6E_g, lv_itPlayer);
        	if (lv_itPlayer<0) { break; }
        	if ((lv_itPlayer == 1) && (libCore_gv_dEBUGDebuggingEnabled == true) && (BankValueGetAsFlag(libGame_gv_players[lv_itPlayer].lv_bankData.lv_bank, "Debug Menu Options", "SavedHero") == true) && (BankValueGetAsInt(libGame_gv_players[lv_itPlayer].lv_bankData.lv_bank, "Debug Menu Options", "TrueHeroIndex") != 0) && (BankValueGetAsInt(libGame_gv_players[lv_itPlayer].lv_bankData.lv_bank, "Debug Menu Options", "TrueSkinIndex") != 0) && (BankValueGetAsInt(libGame_gv_players[lv_itPlayer].lv_bankData.lv_bank, "Debug Menu Options", "TrueMountIndex") != 0)) {
            libGame_gv_players[lv_itPlayer].lv_heroIndex = BankValueGetAsInt(libGame_gv_players[lv_itPlayer].lv_bankData.lv_bank, "Debug Menu Options", "TrueHeroIndex");
            libGame_gv_players[lv_itPlayer].lv_selectedSkin = BankValueGetAsInt(libGame_gv_players[lv_itPlayer].lv_bankData.lv_bank, "Debug Menu Options", "TrueSkinIndex");

mods/heroesdata.stormmodbase.stormdata/TriggerLibs/GameLib.galaxy:10697

        	lv_itPlayer = PlayerGroupNextPlayer(auto6879AF6E_g, lv_itPlayer);
        	if (lv_itPlayer<0) { break; }
        	if ((lv_itPlayer == 1) && (libCore_gv_dEBUGDebuggingEnabled == true) && (BankValueGetAsFlag(libGame_gv_players[lv_itPlayer].lv_bankData.lv_bank, "Debug Menu Options", "SavedHero") == true) && (BankValueGetAsInt(libGame_gv_players[lv_itPlayer].lv_bankData.lv_bank, "Debug Menu Options", "TrueHeroIndex") != 0) && (BankValueGetAsInt(libGame_gv_players[lv_itPlayer].lv_bankData.lv_bank, "Debug Menu Options", "TrueSkinIndex") != 0) && (BankValueGetAsInt(libGame_gv_players[lv_itPlayer].lv_bankData.lv_bank, "Debug Menu Options", "TrueMountIndex") != 0)) {
            libGame_gv_players[lv_itPlayer].lv_heroIndex = BankValueGetAsInt(libGame_gv_players[lv_itPlayer].lv_bankData.lv_bank, "Debug Menu Options", "TrueHeroIndex");
            libGame_gv_players[lv_itPlayer].lv_selectedSkin = BankValueGetAsInt(libGame_gv_players[lv_itPlayer].lv_bankData.lv_bank, "Debug Menu Options", "TrueSkinIndex");

mods/heroesdata.stormmodbase.stormdata/TriggerLibs/GameLib.galaxy:10698

        	if (lv_itPlayer<0) { break; }
        	if ((lv_itPlayer == 1) && (libCore_gv_dEBUGDebuggingEnabled == true) && (BankValueGetAsFlag(libGame_gv_players[lv_itPlayer].lv_bankData.lv_bank, "Debug Menu Options", "SavedHero") == true) && (BankValueGetAsInt(libGame_gv_players[lv_itPlayer].lv_bankData.lv_bank, "Debug Menu Options", "TrueHeroIndex") != 0) && (BankValueGetAsInt(libGame_gv_players[lv_itPlayer].lv_bankData.lv_bank, "Debug Menu Options", "TrueSkinIndex") != 0) && (BankValueGetAsInt(libGame_gv_players[lv_itPlayer].lv_bankData.lv_bank, "Debug Menu Options", "TrueMountIndex") != 0)) {
            libGame_gv_players[lv_itPlayer].lv_heroIndex = BankValueGetAsInt(libGame_gv_players[lv_itPlayer].lv_bankData.lv_bank, "Debug Menu Options", "TrueHeroIndex");
            libGame_gv_players[lv_itPlayer].lv_selectedSkin = BankValueGetAsInt(libGame_gv_players[lv_itPlayer].lv_bankData.lv_bank, "Debug Menu Options", "TrueSkinIndex");
            libGame_gv_players[lv_itPlayer].lv_selectedMount = BankValueGetAsInt(libGame_gv_players[lv_itPlayer].lv_bankData.lv_bank, "Debug Menu Options", "TrueMountIndex");

mods/heroesdata.stormmodbase.stormdata/TriggerLibs/GameLib.galaxy:10699

        	if ((lv_itPlayer == 1) && (libCore_gv_dEBUGDebuggingEnabled == true) && (BankValueGetAsFlag(libGame_gv_players[lv_itPlayer].lv_bankData.lv_bank, "Debug Menu Options", "SavedHero") == true) && (BankValueGetAsInt(libGame_gv_players[lv_itPlayer].lv_bankData.lv_bank, "Debug Menu Options", "TrueHeroIndex") != 0) && (BankValueGetAsInt(libGame_gv_players[lv_itPlayer].lv_bankData.lv_bank, "Debug Menu Options", "TrueSkinIndex") != 0) && (BankValueGetAsInt(libGame_gv_players[lv_itPlayer].lv_bankData.lv_bank, "Debug Menu Options", "TrueMountIndex") != 0)) {
            libGame_gv_players[lv_itPlayer].lv_heroIndex = BankValueGetAsInt(libGame_gv_players[lv_itPlayer].lv_bankData.lv_bank, "Debug Menu Options", "TrueHeroIndex");
            libGame_gv_players[lv_itPlayer].lv_selectedSkin = BankValueGetAsInt(libGame_gv_players[lv_itPlayer].lv_bankData.lv_bank, "Debug Menu Options", "TrueSkinIndex");
            libGame_gv_players[lv_itPlayer].lv_selectedMount = BankValueGetAsInt(libGame_gv_players[lv_itPlayer].lv_bankData.lv_bank, "Debug Menu Options", "TrueMountIndex");
        }

mods/heroesdata.stormmodbase.stormdata/TriggerLibs/GameLib.galaxy:10700

            libGame_gv_players[lv_itPlayer].lv_heroIndex = BankValueGetAsInt(libGame_gv_players[lv_itPlayer].lv_bankData.lv_bank, "Debug Menu Options", "TrueHeroIndex");
            libGame_gv_players[lv_itPlayer].lv_selectedSkin = BankValueGetAsInt(libGame_gv_players[lv_itPlayer].lv_bankData.lv_bank, "Debug Menu Options", "TrueSkinIndex");
            libGame_gv_players[lv_itPlayer].lv_selectedMount = BankValueGetAsInt(libGame_gv_players[lv_itPlayer].lv_bankData.lv_bank, "Debug Menu Options", "TrueMountIndex");
        }

mods/heroesdata.stormmodbase.stormdata/TriggerLibs/GameLib.galaxy:10723

        }

        if ((lv_itPlayer == 1) && (libCore_gv_dEBUGDebuggingEnabled == true) && (BankValueGetAsFlag(libGame_gv_players[lv_itPlayer].lv_bankData.lv_bank, "Debug Menu Options", "SavedHero") == true) && (BankValueGetAsInt(libGame_gv_players[lv_itPlayer].lv_bankData.lv_bank, "Debug Menu Options", "TrueHeroIndex") != 0) && (BankValueGetAsInt(libGame_gv_players[lv_itPlayer].lv_bankData.lv_bank, "Debug Menu Options", "TrueSkinIndex") != 0) && (BankValueGetAsInt(libGame_gv_players[lv_itPlayer].lv_bankData.lv_bank, "Debug Menu Options", "TrueMountIndex") != 0)) {
            libUIUI_gv_uIPartyFrameMaxLevelForTeam[lp_team] = 0;
            libGame_gf_GrantXPToPlayer(BankValueGetAsFixed(libGame_gv_players[lv_itPlayer].lv_bankData.lv_bank, "Debug Menu Options", "HeroLevelXP"), lv_itPlayer, libGame_ge_XPSources_Debug);

mods/heroesdata.stormmodbase.stormdata/TriggerLibs/GameLib.galaxy:10723

        }

        if ((lv_itPlayer == 1) && (libCore_gv_dEBUGDebuggingEnabled == true) && (BankValueGetAsFlag(libGame_gv_players[lv_itPlayer].lv_bankData.lv_bank, "Debug Menu Options", "SavedHero") == true) && (BankValueGetAsInt(libGame_gv_players[lv_itPlayer].lv_bankData.lv_bank, "Debug Menu Options", "TrueHeroIndex") != 0) && (BankValueGetAsInt(libGame_gv_players[lv_itPlayer].lv_bankData.lv_bank, "Debug Menu Options", "TrueSkinIndex") != 0) && (BankValueGetAsInt(libGame_gv_players[lv_itPlayer].lv_bankData.lv_bank, "Debug Menu Options", "TrueMountIndex") != 0)) {
            libUIUI_gv_uIPartyFrameMaxLevelForTeam[lp_team] = 0;
            libGame_gf_GrantXPToPlayer(BankValueGetAsFixed(libGame_gv_players[lv_itPlayer].lv_bankData.lv_bank, "Debug Menu Options", "HeroLevelXP"), lv_itPlayer, libGame_ge_XPSources_Debug);

mods/heroesdata.stormmodbase.stormdata/TriggerLibs/GameLib.galaxy:10723

        }

        if ((lv_itPlayer == 1) && (libCore_gv_dEBUGDebuggingEnabled == true) && (BankValueGetAsFlag(libGame_gv_players[lv_itPlayer].lv_bankData.lv_bank, "Debug Menu Options", "SavedHero") == true) && (BankValueGetAsInt(libGame_gv_players[lv_itPlayer].lv_bankData.lv_bank, "Debug Menu Options", "TrueHeroIndex") != 0) && (BankValueGetAsInt(libGame_gv_players[lv_itPlayer].lv_bankData.lv_bank, "Debug Menu Options", "TrueSkinIndex") != 0) && (BankValueGetAsInt(libGame_gv_players[lv_itPlayer].lv_bankData.lv_bank, "Debug Menu Options", "TrueMountIndex") != 0)) {
            libUIUI_gv_uIPartyFrameMaxLevelForTeam[lp_team] = 0;
            libGame_gf_GrantXPToPlayer(BankValueGetAsFixed(libGame_gv_players[lv_itPlayer].lv_bankData.lv_bank, "Debug Menu Options", "HeroLevelXP"), lv_itPlayer, libGame_ge_XPSources_Debug);

mods/heroesdata.stormmodbase.stormdata/TriggerLibs/GameLib.galaxy:12648

            libGame_gv_players[lv_itPlayer].lv_bankData.lv_bank = BankLastCreated();
            if ((libCore_gv_mAPMapStringID != "") && (BankKeyExists(libGame_gv_players[lv_itPlayer].lv_bankData.lv_bank, "MapPlayCounts", libCore_gv_mAPMapStringID) == true)) {
                libGame_gv_players[lv_itPlayer].lv_bankData.lv_mapPlayCount = BankValueGetAsInt(libGame_gv_players[lv_itPlayer].lv_bankData.lv_bank, "MapPlayCounts", libCore_gv_mAPMapStringID);
            }

mods/heroesdata.stormmodbase.stormdata/TriggerLibs/HeroesLib.galaxy:2982

    // Implementation
    if ((BankKeyExists(lp_bank, lp_section, lp_key) == true)) {
        return BankValueGetAsInt(lp_bank, lp_section, lp_key);
    }
    else {

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

    lv_bankKey = libStEx_gv_sE_TrainingModeBankkey_RefCard_C;
    if ((BankKeyExists(libGame_gv_players[libStEx_gv_sE_Player].lv_bankData.lv_bank, libStEx_gv_sE_TrainingModeBankSection_C, lv_bankKey) == true)) {
        libStEx_gv_sE_TrainingModeRefCardTimes = BankValueGetAsInt(libGame_gv_players[libStEx_gv_sE_Player].lv_bankData.lv_bank, libStEx_gv_sE_TrainingModeBankSection_C, lv_bankKey);
    }
    else {

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

            lv_bankKey = (libStEx_gv_sE_TrainingModeBankkey_Tip_C + IntToString((libStEx_gv_sE_TrainingModeTips[lv_itNewUserTip].lv_iD)));
            if ((BankKeyExists(libGame_gv_players[libStEx_gv_sE_Player].lv_bankData.lv_bank, libStEx_gv_sE_TrainingModeBankSection_C, lv_bankKey) == true)) {
                libStEx_gv_sE_TrainingModeTips[lv_itNewUserTip].lv_doneTimes = BankValueGetAsInt(libGame_gv_players[libStEx_gv_sE_Player].lv_bankData.lv_bank, libStEx_gv_sE_TrainingModeBankSection_C, lv_bankKey);
            }
            else {

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

    }
    else {
        return BankValueGetAsInt(lp_bank, lp_section, lp_key);
    }
}

mods/missionpacks/novacampaign.sc2modbase.sc2data/LibNCST.galaxy:618

        lv__SectionName = "ClickableType";
        if ((libNCST_gf_NS_ClickableType(lv_indexClickable) != libNCST_ge_ClickableType_RoomChange) && (libNCST_gf_NS_ClickableType(lv_indexClickable) != libNCST_ge_ClickableType_Custom)) {
            libNCST_gf_ClickableSetType(lv_indexClickable, libNCST_gf_NS_ClickableIntToType(BankValueGetAsInt(lv_storyBank, lv__SectionName, (lv_indexClickable))));
        }

mods/missionpacks/novacampaign.sc2modbase.sc2data/LibNCST.galaxy:622


        lv__SectionName = "CharacterNew";
        libNCST_gf_ClickableSetNew(lv_indexClickable, (BankValueGetAsInt(lv_storyBank, lv__SectionName, (lv_indexClickable)) == 1));
        auto792D16C3_ai = auto792D16C3_ai+1;
    }

mods/missionpacks/novacampaign.sc2modbase.sc2data/LibNCST.galaxy:909

    BankLoad(libNCST_gv_nS_TransitionBankName, 1);
    lv__SectionName = "StorySet";
    libNCST_gv_nS_CurrentRoom = (BankValueGetAsInt(BankLastCreated(), lv__SectionName, "CurrentRoom"));
    if ((libNCST_gv_nS_CurrentRoom != libNCST_ge_Rooms_StoryRoomMissionScreen)) {
        libNCST_gv_nS_CurrentRoom = libNCST_ge_Rooms_StoryRoomMissionScreen;

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

    }
    else {
        return BankValueGetAsInt(lp_bank, lp_section, lp_key);
    }
}

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

    }
    else {
        return BankValueGetAsInt(lp_bank, lp_section, lp_key);
    }
}