# Catalog Entry Count

Grammar — Catalog catalog entry count
FlagsNative | Function

Returns the number of entries in a catalog. Use catalog lookup functions to retrieve a data value or other information from the game data.

# Arguments

Returns — int

native int CatalogEntryCount(int catalog);

Category: Catalog / Lookup

# Examples

campaigns/swarm.sc2campaignbase.sc2maps/maps/campaign/swarm/zstorykorhal.sc2map/MapScript.galaxy:147

    lib281DEC45_gf_BeginStoryMode();
    AchievementTermQuantitySet(1, "KerriganPower70", MinI(libSwaC_gf_StoryKerriganLevel(), 70));
    auto8A275886_ae = CatalogEntryCount(c_gameCatalogMap);
    auto8A275886_ai = 1;
    while (auto8A275886_ai <= auto8A275886_ae) {

campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zstorykorhal.sc2mapMapScript.galaxy:147

    lib281DEC45_gf_BeginStoryMode();
    AchievementTermQuantitySet(1, "KerriganPower70", MinI(libSwaC_gf_StoryKerriganLevel(), 70));
    auto8A275886_ae = CatalogEntryCount(c_gameCatalogMap);
    auto8A275886_ai = 1;
    while (auto8A275886_ai <= auto8A275886_ae) {

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


    // Implementation
    autoD8EB8CD1_ae = CatalogEntryCount(c_gameCatalogMap);
    autoD8EB8CD1_ai = 1;
    while (autoD8EB8CD1_ai <= autoD8EB8CD1_ae) {

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


    // Implementation
    auto4745C134_ae = CatalogEntryCount(c_gameCatalogMap);
    auto4745C134_ai = 1;
    while (auto4745C134_ai <= auto4745C134_ae) {

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

        auto4745C134_ai = auto4745C134_ai + 1;
    }
    auto8F208E85_ae = CatalogEntryCount(c_gameCatalogMap);
    auto8F208E85_ai = 1;
    while (auto8F208E85_ai <= auto8F208E85_ae) {

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


    // Implementation
    auto1444F78C_ae = CatalogEntryCount(c_gameCatalogMap);
    auto1444F78C_ai = 1;
    while (auto1444F78C_ai <= auto1444F78C_ae) {

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


    // Implementation
    autoC9AEF9E3_ae = CatalogEntryCount(c_gameCatalogMap);
    autoC9AEF9E3_ai = 1;
    while (autoC9AEF9E3_ai <= autoC9AEF9E3_ae) {

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

    libSwaC_gf_ZS_LockUnlockMissionIfCondition(false, "ZKorhal2", libSwaC_gf_MissionStatusCheck("ZKorhal1", libSwaC_ge_MissionStatus_Completed));
    libSwaC_gf_ZS_LockUnlockMissionIfCondition(false, "ZKorhal3", libSwaC_gf_MissionStatusCheck("ZKorhal2", libSwaC_ge_MissionStatus_Completed));
    auto42A6041C_ae = CatalogEntryCount(c_gameCatalogMap);
    auto42A6041C_ai = 1;
    while (auto42A6041C_ai <= auto42A6041C_ae) {

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


    libSwaC_gf_ZS_MarkMissionAsStatus(lp_mission, libSwaC_ge_MissionStatus_Completed);
    auto3F2D8473_ae = CatalogEntryCount(c_gameCatalogMap);
    auto3F2D8473_ai = 1;
    while (auto3F2D8473_ai <= auto3F2D8473_ae) {

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

    }

    auto02739C89_ae = CatalogEntryCount(c_gameCatalogMap);
    auto02739C89_ai = 1;
    while (auto02739C89_ai <= auto02739C89_ae) {

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


    libSwaC_gf_UpdateMissionFlow();
    auto094B0175_ae = CatalogEntryCount(c_gameCatalogMap);
    auto094B0175_ai = 1;
    while (auto094B0175_ai <= auto094B0175_ae) {

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

        auto094B0175_ai = auto094B0175_ai + 1;
    }
    autoE012BDD4_ae = CatalogEntryCount(c_gameCatalogMap);
    autoE012BDD4_ai = 1;
    while (autoE012BDD4_ai <= autoE012BDD4_ae) {

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

    }
    lv_index = 1;
    autoE95DCAF2_ae = CatalogEntryCount(c_gameCatalogLocation);
    autoE95DCAF2_ai = 1;
    while (autoE95DCAF2_ai <= autoE95DCAF2_ae) {

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

    }
    else if (auto34BFA6EB_val == lib281DEC45_ge_ZSS_UIMainBottomButtonType_BottomButtonEvolution) {
        autoB514CCD6_ae = CatalogEntryCount(c_gameCatalogArmyCategory);
        autoB514CCD6_ai = 1;
        while (autoB514CCD6_ai <= autoB514CCD6_ae) {

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

            autoB514CCD6_ai = autoB514CCD6_ai + 1;
        }
        auto31596AEB_ae = CatalogEntryCount(c_gameCatalogArmyCategory);
        auto31596AEB_ai = 1;
        while (auto31596AEB_ai <= auto31596AEB_ae) {

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


    // Implementation
    auto1DAFFE31_ae = CatalogEntryCount(c_gameCatalogLocation);
    auto1DAFFE31_ai = 1;
    while (auto1DAFFE31_ai <= auto1DAFFE31_ae) {

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


    // Implementation
    autoEF954F25_ae = CatalogEntryCount(c_gameCatalogMap);
    autoEF954F25_ai = 1;
    while (autoEF954F25_ai <= autoEF954F25_ae) {

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

    lib281DEC45_gf_ShowHideUnitAbs(true, lib281DEC45_gf_CharacterUnit("Evolution Master"));
    lib281DEC45_gf_ShowHideUnitAbs(true, lib281DEC45_gf_CharacterUnit("Kerrigan"));
    autoBD73C094_ae = CatalogEntryCount(c_gameCatalogArmyCategory);
    autoBD73C094_ai = 1;
    while (autoBD73C094_ai <= autoBD73C094_ae) {

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

        }
        if ((UserDataGetInt("StoryStates", "Evolution Scene Played", "value", 1) == 0)) {
            auto64B34819_ae = CatalogEntryCount(c_gameCatalogArmyCategory);
            auto64B34819_ai = 1;
            while (auto64B34819_ai <= auto64B34819_ae) {

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

    else {
    }
    auto7172965F_ae = CatalogEntryCount(c_gameCatalogMap);
    auto7172965F_ai = 1;
    while (auto7172965F_ai <= auto7172965F_ae) {

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

        auto7172965F_ai = auto7172965F_ai + 1;
    }
    auto6E46D5BD_ae = CatalogEntryCount(c_gameCatalogMap);
    auto6E46D5BD_ai = 1;
    while (auto6E46D5BD_ai <= auto6E46D5BD_ae) {

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


    // Implementation
    autoD272FB45_ae = CatalogEntryCount(c_gameCatalogArmyCategory);
    autoD272FB45_ai = 1;
    while (autoD272FB45_ai <= autoD272FB45_ae) {

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


    // Implementation
    autoC216F282_ae = CatalogEntryCount(c_gameCatalogArmyCategory);
    autoC216F282_ai = 1;
    while (autoC216F282_ai <= autoC216F282_ae) {

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

    }
    if ((libVoiC_gf_MissionStatusCheck("PAiur03", libVoiC_ge_MissionStatus_Completed) == true)) {
        auto275A2403_ae = CatalogEntryCount(c_gameCatalogArmyCategory);
        auto275A2403_ai = 1;
        while (auto275A2403_ai <= auto275A2403_ae) {

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

    // Implementation
    libVoiC_gf_PC_UpdateCompletedMissionArray();
    auto53276695_ae = CatalogEntryCount(c_gameCatalogMap);
    auto53276695_ai = 1;
    while (auto53276695_ai <= auto53276695_ae) {

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

    // Implementation
    libVoiC_gv_pC_AchievementDebugToastSuppressed = true;
    auto4A9584B2_ae = CatalogEntryCount(c_gameCatalogMap);
    auto4A9584B2_ai = 1;
    while (auto4A9584B2_ai <= auto4A9584B2_ae) {

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


    // Implementation
    auto5AA06F65_ae = CatalogEntryCount(c_gameCatalogArmyCategory);
    auto5AA06F65_ai = 1;
    while (auto5AA06F65_ai <= auto5AA06F65_ae) {

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

    }

    auto5AC394E2_ae = CatalogEntryCount(c_gameCatalogLocation);
    auto5AC394E2_ai = 1;
    while (auto5AC394E2_ai <= auto5AC394E2_ae) {

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

        auto5AC394E2_ai = auto5AC394E2_ai + 1;
    }
    autoFD1B4A98_ae = CatalogEntryCount(c_gameCatalogMap);
    autoFD1B4A98_ai = 1;
    while (autoFD1B4A98_ai <= autoFD1B4A98_ae) {

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

    TriggerDebugOutput(1, TextExpressionAssemble("Param/Expression/lib_VoiC_542640F3"), false);
    libVoiC_gv_pCX_CurrentLocation = lp_planet;
    auto932100AC_ae = CatalogEntryCount(c_gameCatalogLocation);
    auto932100AC_ai = 1;
    while (auto932100AC_ai <= auto932100AC_ae) {

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


    // Implementation
    auto11EF2CBB_ae = CatalogEntryCount(c_gameCatalogMap);
    auto11EF2CBB_ai = 1;
    while (auto11EF2CBB_ai <= auto11EF2CBB_ae) {

campaigns/voidstory.sc2campaignbase.sc2data/TriggerLibs/VoidCampaignMissionLib.galaxy:1252

    if ((libVoiC_gf_CurrentMap() != "PMoebius01") && (libVoiC_gf_CurrentMap() != "PAiur01") && (libVoiC_gf_CurrentMap() != "PAiur02") && (libVoiC_gf_CurrentMap() != "PAiur03") && (libVoiC_gf_CurrentMap() != "SC2Epilogue01") && (libVoiC_gf_CurrentMap() != "SC2Epilogue02") && (libVoiC_gf_CurrentMap() != "SC2Epilogue03")) {
        libVoiC_gf_PC_StatEventCreate("ArmyChoices");
        autoD86639D2_ae = CatalogEntryCount(c_gameCatalogArmyCategory);
        autoD86639D2_ai = 1;
        while (autoD86639D2_ai <= autoD86639D2_ae) {

campaigns/voidstory.sc2campaignbase.sc2data/TriggerLibs/VoidCampaignMissionLib.galaxy:1305

    }
    libVoiC_gf_PC_StatEventDone(libVoiC_gf_PC_StatEventLast());
    autoC085A94F_ae = CatalogEntryCount(c_gameCatalogArmyCategory);
    autoC085A94F_ai = 1;
    while (autoC085A94F_ai <= autoC085A94F_ae) {

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


    // Implementation
    autoA559A442_ae = CatalogEntryCount(c_gameCatalogLocation);
    autoA559A442_ai = 1;
    while (autoA559A442_ai <= autoA559A442_ae) {

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


    // Implementation
    auto11BEB419_ae = CatalogEntryCount(c_gameCatalogMap);
    auto11BEB419_ai = 1;
    while (auto11BEB419_ai <= auto11BEB419_ae) {

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


    // Implementation
    auto4D578797_ae = CatalogEntryCount(c_gameCatalogLocation);
    auto4D578797_ai = 1;
    while (auto4D578797_ai <= auto4D578797_ae) {

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

    CutsceneRemoveGlobalFilter("Episode3");
    lv_episodeNumber = 1;
    auto44D60EBD_ae = CatalogEntryCount(c_gameCatalogMap);
    auto44D60EBD_ai = 1;
    while (auto44D60EBD_ai <= auto44D60EBD_ae) {

campaigns/voidstory.sc2campaignbase.sc2data/TriggerLibs/VoidCampaignUILib.galaxy:1074


    // Implementation
    auto8399F208_ae = CatalogEntryCount(c_gameCatalogArmyCategory);
    auto8399F208_ai = 1;
    while (auto8399F208_ai <= auto8399F208_ae) {

campaigns/voidstory.sc2campaignbase.sc2data/TriggerLibs/VoidCampaignUILib.galaxy:2926

    libVCUI_gv_pU_StarmapLocations[2] = null;
    lv_index = 1;
    auto07AC2721_ae = CatalogEntryCount(c_gameCatalogLocation);
    auto07AC2721_ai = 1;
    while (auto07AC2721_ai <= auto07AC2721_ae) {

campaigns/voidstory.sc2campaignbase.sc2data/TriggerLibs/VoidCampaignUILib.galaxy:3073


    lv_index = 1;
    auto0A36738A_ae = CatalogEntryCount(c_gameCatalogMap);
    auto0A36738A_ai = 1;
    while (auto0A36738A_ai <= auto0A36738A_ae) {

campaigns/voidstory.sc2campaignbase.sc2data/TriggerLibs/VoidCampaignUILib.galaxy:3141

    PreloadLayout("UI\\Layout\\Custom\\LotV_StarmapUI.SC2Layout", false);
    PreloadAsset("Cutscenes\\UI_Starmap.SC2Cutscene", false);
    auto41CD678F_ae = CatalogEntryCount(c_gameCatalogLocation);
    auto41CD678F_ai = 1;
    while (auto41CD678F_ai <= auto41CD678F_ae) {

campaigns/voidstory.sc2campaignbase.sc2data/TriggerLibs/VoidCampaignUILib.galaxy:3146

        lv_indexLocation = CatalogEntryGet(c_gameCatalogLocation, auto41CD678F_ai);
        if ((libVoiC_gf_StoryPlanetIsAvailable(lv_indexLocation) == true)) {
            auto5CC1E984_ae = CatalogEntryCount(c_gameCatalogMap);
            auto5CC1E984_ai = 1;
            while (auto5CC1E984_ai <= auto5CC1E984_ae) {

campaigns/voidstory.sc2campaignbase.sc2data/TriggerLibs/VoidCampaignUILib.galaxy:6979

    }

    autoD556D0B3_ae = CatalogEntryCount(c_gameCatalogMap);
    autoD556D0B3_ai = 1;
    while (autoD556D0B3_ai <= autoD556D0B3_ae) {

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

    }

    auto5428BB10_ae = CatalogEntryCount(c_gameCatalogSpray);
    lv_itSpray = 1;
    for ( ; ( (auto5428BB10_ai >= 0 && lv_itSpray <= auto5428BB10_ae) || (auto5428BB10_ai < 0 && lv_itSpray >= auto5428BB10_ae) ) ; lv_itSpray += auto5428BB10_ai ) {

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

    }

    autoC8805FFB_ae = CatalogEntryCount(c_gameCatalogBanner);
    lv_itBanner = 1;
    for ( ; ( (autoC8805FFB_ai >= 0 && lv_itBanner <= autoC8805FFB_ae) || (autoC8805FFB_ai < 0 && lv_itBanner >= autoC8805FFB_ae) ) ; lv_itBanner += autoC8805FFB_ai ) {

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

    }

    auto997AC270_ae = CatalogEntryCount(c_gameCatalogAnnouncerPack);
    lv_itAnnouncerPack = 1;
    for ( ; ( (auto997AC270_ai >= 0 && lv_itAnnouncerPack <= auto997AC270_ae) || (auto997AC270_ai < 0 && lv_itAnnouncerPack >= auto997AC270_ae) ) ; lv_itAnnouncerPack += auto997AC270_ai ) {

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

    libCore_gv_dataSkinsSkinCount += 1;
    DataTableSetString(true, "SkinIndex_1", "Default");
    auto10BE01FC_ae = CatalogEntryCount(c_gameCatalogSkin);
    lv_itSkin = 1;
    for ( ; ( (auto10BE01FC_ai >= 0 && lv_itSkin <= auto10BE01FC_ae) || (auto10BE01FC_ai < 0 && lv_itSkin >= auto10BE01FC_ae) ) ; lv_itSkin += auto10BE01FC_ai ) {

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

    // Implementation
    libComC_gv_cC_AchievementDebugToastSuppressed = true;
    auto150C4FE0_ae = CatalogEntryCount(c_gameCatalogMap);
    auto150C4FE0_ai = 1;
    while (auto150C4FE0_ai <= auto150C4FE0_ae) {

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

    // Implementation
    if ((libComC_gf_CurrentLocation() == null)) {
        autoF1F6516C_ae = CatalogEntryCount(c_gameCatalogLocation);
        autoF1F6516C_ai = 1;
        while (autoF1F6516C_ai <= autoF1F6516C_ae) {

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

    }

    autoF09E61B2_ae = CatalogEntryCount(c_gameCatalogLocation);
    autoF09E61B2_ai = 1;
    while (autoF09E61B2_ai <= autoF09E61B2_ae) {

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

        autoF09E61B2_ai = autoF09E61B2_ai + 1;
    }
    auto14830EDC_ae = CatalogEntryCount(c_gameCatalogMap);
    auto14830EDC_ai = 1;
    while (auto14830EDC_ai <= auto14830EDC_ae) {

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

    TriggerDebugOutput(1, TextExpressionAssemble("Param/Expression/lib_ComC_8E00420C"), false);
    libComC_gv_cCX_CurrentLocation = lp_planet;
    auto6A648E96_ae = CatalogEntryCount(c_gameCatalogLocation);
    auto6A648E96_ai = 1;
    while (auto6A648E96_ai <= auto6A648E96_ae) {

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


    // Implementation
    auto86A4F335_ae = CatalogEntryCount(c_gameCatalogMap);
    auto86A4F335_ai = 1;
    while (auto86A4F335_ai <= auto86A4F335_ae) {

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


    // Implementation
    autoB555897C_ae = CatalogEntryCount(c_gameCatalogMap);
    autoB555897C_ai = 1;
    while (autoB555897C_ai <= autoB555897C_ae) {

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


    // Implementation
    auto26D1199E_ae = CatalogEntryCount(c_gameCatalogMap);
    auto26D1199E_ai = 1;
    while (auto26D1199E_ai <= auto26D1199E_ae) {

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


    // Implementation
    auto1753A895_ae = CatalogEntryCount(c_gameCatalogMap);
    auto1753A895_ai = 1;
    while (auto1753A895_ai <= auto1753A895_ae) {

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

    }

    auto47A8543D_ae = CatalogEntryCount(c_gameCatalogMap);
    auto47A8543D_ai = 1;
    while (auto47A8543D_ai <= auto47A8543D_ae) {

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


    // Implementation
    autoEFAAD9DE_ae = CatalogEntryCount(c_gameCatalogLocation);
    autoEFAAD9DE_ai = 1;
    while (autoEFAAD9DE_ai <= autoEFAAD9DE_ae) {

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


    // Implementation
    auto38C52000_ae = CatalogEntryCount(c_gameCatalogMap);
    auto38C52000_ai = 1;
    while (auto38C52000_ai <= auto38C52000_ae) {

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


    // Implementation
    auto2D3FC782_ae = CatalogEntryCount(c_gameCatalogLocation);
    auto2D3FC782_ai = 1;
    while (auto2D3FC782_ai <= auto2D3FC782_ae) {

mods/missionpacks/novacampaign.sc2modbase.sc2data/LibNCUI.galaxy:1560

    // Implementation
    if ((libNCUI_gv_NU_MissionNextMap == null)) {
        autoFD85C9C2_ae = CatalogEntryCount(c_gameCatalogMap);
        autoFD85C9C2_ai = 1;
        while (autoFD85C9C2_ai <= autoFD85C9C2_ae) {

mods/missionpacks/novacampaign.sc2modbase.sc2data/LibNCUI.galaxy:2400


    // Implementation
    auto25FABF7B_ae = CatalogEntryCount(c_gameCatalogArmyCategory);
    auto25FABF7B_ai = 1;
    while (auto25FABF7B_ai <= auto25FABF7B_ae) {

mods/missionpacks/novacampaign.sc2modbase.sc2data/LibNCUI.galaxy:4226

    }

    auto03E7174C_ae = CatalogEntryCount(c_gameCatalogMap);
    auto03E7174C_ai = 1;
    while (auto03E7174C_ai <= auto03E7174C_ae) {

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

    // Implementation
    libComC_gf_CC_UpdateCompletedMissionArray();
    auto11F4A4EE_ae = CatalogEntryCount(c_gameCatalogMap);
    auto11F4A4EE_ai = 1;
    while (auto11F4A4EE_ai <= auto11F4A4EE_ae) {

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


    // Implementation
    auto354DDF56_ae = CatalogEntryCount(c_gameCatalogMap);
    auto354DDF56_ai = 1;
    while (auto354DDF56_ai <= auto354DDF56_ae) {

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

        autoAFABD537_ae = 1;
        autoAFABD537_ai = -1;
        lv_mapIndex = CatalogEntryCount(c_gameCatalogMap);
        for ( ; ( (autoAFABD537_ai >= 0 && lv_mapIndex <= autoAFABD537_ae) || (autoAFABD537_ai <= 0 && lv_mapIndex >= autoAFABD537_ae) ) ; lv_mapIndex += autoAFABD537_ai ) {
            lv_finalMap = ((CatalogEntryGet(c_gameCatalogMap, lv_mapIndex)));

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


    if ((libNovC_gf_NC_ArmyTechItemRequiredObjective(lp_techItem) != null)) {
        autoF020F810_ae = CatalogEntryCount(c_gameCatalogMap);
        autoF020F810_ai = 1;
        while (autoF020F810_ai <= autoF020F810_ae) {

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


    // Implementation
    auto07B2E483_ae = CatalogEntryCount(c_gameCatalogArmyCategory);
    auto07B2E483_ai = 1;
    while (auto07B2E483_ai <= auto07B2E483_ae) {

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


    lv_clickedMission = null;
    auto89C6DF6E_ae = CatalogEntryCount(c_gameCatalogMap);
    auto89C6DF6E_ai = 1;
    while (auto89C6DF6E_ai <= auto89C6DF6E_ae) {

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


    lv_clickedMission = null;
    auto4CD0843D_ae = CatalogEntryCount(c_gameCatalogMap);
    auto4CD0843D_ai = 1;
    while (auto4CD0843D_ai <= auto4CD0843D_ae) {

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

        libNovC_gf_NC_ResetCampaignIndex();
        libNovC_gv_NC_DebugProgressDirectSelectEnabled = true;
        auto6E6C3892_ae = CatalogEntryCount(c_gameCatalogMap);
        auto6E6C3892_ai = 1;
        while (auto6E6C3892_ai <= auto6E6C3892_ae) {

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


    lv_clickedMission = null;
    autoD959977A_ae = CatalogEntryCount(c_gameCatalogMap);
    autoD959977A_ai = 1;
    while (autoD959977A_ai <= autoD959977A_ae) {

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


    lv_clickedMission = null;
    autoD2157CF2_ae = CatalogEntryCount(c_gameCatalogMap);
    autoD2157CF2_ai = 1;
    while (autoD2157CF2_ai <= autoD2157CF2_ae) {

mods/starcoop/starcoop.sc2modbase.sc2data/LibCOMI.galaxy:4207


    // Implementation
    auto0FE65364_ae = CatalogEntryCount(c_gameCatalogAbil);
    auto0FE65364_ai = 1;
    while (auto0FE65364_ai <= auto0FE65364_ae) {

mods/starcoop/starcoop.sc2modbase.sc2data/LibCOMI.galaxy:5186

    }

    lv_count = CatalogEntryCount(lv_catalog);
    autoECD6806E_ae = lv_count;
    lv_index = 1;

mods/starcoop/starcoop.sc2modbase.sc2data/LibCOMI.galaxy:7736

    auto08666BD0_catalog = c_gameCatalogReward;
    auto08666BD0_i = 1;
    for ( ; auto08666BD0_i <= CatalogEntryCount(c_gameCatalogReward) ; auto08666BD0_i += 1 ) {
        lv_itReward = CatalogEntryGet(auto08666BD0_catalog, auto08666BD0_i);
        if ((CatalogEntryScope(c_gameCatalogReward, lv_itReward) == "CRewardVoicePack")) {

mods/starcoop/starcoop.sc2modbase.sc2data/LibCOMI.galaxy:7743

                auto895D551D_catalog = c_gameCatalogReward;
                auto895D551D_i = 1;
                for ( ; auto895D551D_i <= CatalogEntryCount(c_gameCatalogReward) ; auto895D551D_i += 1 ) {
                    lv_appReward = CatalogEntryGet(auto895D551D_catalog, auto895D551D_i);
                    if ((CatalogEntryScope(c_gameCatalogReward, lv_appReward) == "CRewardVoicePack")) {

mods/starcoop/starcoop.sc2modbase.sc2data/LibCOMI.galaxy:7780

    auto3F278324_catalog = c_gameCatalogReward;
    auto3F278324_i = 1;
    for ( ; auto3F278324_i <= CatalogEntryCount(c_gameCatalogReward) ; auto3F278324_i += 1 ) {
        lv_itReward = CatalogEntryGet(auto3F278324_catalog, auto3F278324_i);
        if ((CatalogEntryScope(c_gameCatalogReward, lv_itReward) == "CRewardVoicePack") && (PlayerHasReward(lp_player, lv_itReward) == true) && (CatalogFieldValueGet(c_gameCatalogReward, lv_itReward, "VoicePack", c_playerAny) != "Default")) {

mods/starcoop/starcoop.sc2modbase.sc2data/LibCOMI.galaxy:30108

    autoA7A5BD22_catalog = c_gameCatalogReward;
    autoA7A5BD22_i = 1;
    for ( ; autoA7A5BD22_i <= CatalogEntryCount(c_gameCatalogReward) ; autoA7A5BD22_i += 1 ) {
        lv_itReward = CatalogEntryGet(autoA7A5BD22_catalog, autoA7A5BD22_i);
        if (((CatalogEntryScope(c_gameCatalogReward, lv_itReward) == "CRewardVoicePack") && (StringContains((lv_itReward), ("_" + (libCOOC_gf_ActiveCommanderForPlayer(1))), c_stringAnywhere, c_stringCase) == false))) {

mods/starcoop/starcoop.sc2modbase.sc2data/LibCOMI.galaxy:30119

                auto76AAF890_catalog = c_gameCatalogReward;
                auto76AAF890_i = 1;
                for ( ; auto76AAF890_i <= CatalogEntryCount(c_gameCatalogReward) ; auto76AAF890_i += 1 ) {
                    lv_appReward = CatalogEntryGet(auto76AAF890_catalog, auto76AAF890_i);
                    if ((CatalogEntryScope(c_gameCatalogReward, lv_appReward) == "CRewardVoicePack")) {

mods/starcoop/starcoop.sc2modbase.sc2data/LibCOMU.galaxy:6250

        TechTreeUpgradeAddLevel(lv_indexPlayer, "MutatorLongRange", 1);
    }
    auto91819D2F_ae = CatalogEntryCount(c_gameCatalogUnit);
    lv_i = 1;
    for ( ; ( (auto91819D2F_ai >= 0 && lv_i <= auto91819D2F_ae) || (auto91819D2F_ai < 0 && lv_i >= auto91819D2F_ae) ) ; lv_i += auto91819D2F_ai ) {

mods/starcoop/starcoop.sc2modbase.sc2data/LibCOMU.galaxy:6338

        TechTreeUpgradeAddLevel(lv_indexPlayer, "MutatorShortSighted", 1);
    }
    auto2CAE58D1_ae = CatalogEntryCount(c_gameCatalogUnit);
    lv_catalogIndex = 1;
    for ( ; ( (auto2CAE58D1_ai >= 0 && lv_catalogIndex <= auto2CAE58D1_ae) || (auto2CAE58D1_ai < 0 && lv_catalogIndex >= auto2CAE58D1_ae) ) ; lv_catalogIndex += auto2CAE58D1_ai ) {

mods/starcoop/starcoop.sc2modbase.sc2data/LibCOMU.galaxy:7560

    libCOMU_gf_CT_ToggleTrigger(libCOMU_ge_CT_TriggerType_UpgradeChanged, true);
    GameSetLighting("MutatorVeryDark", 0.0);
    auto9AFF4A66_ae = CatalogEntryCount(c_gameCatalogUnit);
    lv_catalogIndex = 1;
    for ( ; ( (auto9AFF4A66_ai >= 0 && lv_catalogIndex <= auto9AFF4A66_ae) || (auto9AFF4A66_ai < 0 && lv_catalogIndex >= auto9AFF4A66_ae) ) ; lv_catalogIndex += auto9AFF4A66_ai ) {

mods/starcoop/starcoop.sc2modbase.sc2data/LibCOMU.galaxy:7703

    DialogControlSetVisible(DialogControlLastCreated(), PlayerGroupAll(), false);
    libCOMU_gv_cT_FoodHuntAttackLabel = DialogControlLastCreated();
    autoA3DF73CA_ae = CatalogEntryCount(c_gameCatalogUnit);
    lv_catalogIndex = 1;
    for ( ; ( (autoA3DF73CA_ai >= 0 && lv_catalogIndex <= autoA3DF73CA_ae) || (autoA3DF73CA_ai < 0 && lv_catalogIndex >= autoA3DF73CA_ae) ) ; lv_catalogIndex += autoA3DF73CA_ai ) {

mods/starcoop/starcoop.sc2modbase.sc2data/LibCOMU.galaxy:8264

    }

    auto7E88D347_ae = CatalogEntryCount(c_gameCatalogUnit);
    lv_catalogIndex = 1;
    for ( ; ( (auto7E88D347_ai >= 0 && lv_catalogIndex <= auto7E88D347_ae) || (auto7E88D347_ai < 0 && lv_catalogIndex >= auto7E88D347_ae) ) ; lv_catalogIndex += auto7E88D347_ai ) {

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

    // Implementation
    lv_playerCommander = libCOOC_gf_ActiveCommanderForPlayer(lp_player);
    autoC8E789DF_ae = CatalogEntryCount(c_gameCatalogArmyCategory);
    autoC8E789DF_ai = 1;
    while (autoC8E789DF_ai <= autoC8E789DF_ae) {

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


    // Implementation
    auto0502DF11_ae = CatalogEntryCount(c_gameCatalogArmyCategory);
    auto0502DF11_ai = 1;
    while (auto0502DF11_ai <= auto0502DF11_ae) {

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


    // Implementation
    auto06F724AF_ae = CatalogEntryCount(c_gameCatalogArmyCategory);
    auto06F724AF_ai = 1;
    while (auto06F724AF_ai <= auto06F724AF_ae) {

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


    // Implementation
    autoA4FA1EF9_ae = CatalogEntryCount(c_gameCatalogArmyCategory);
    autoA4FA1EF9_ai = 1;
    while (autoA4FA1EF9_ai <= autoA4FA1EF9_ae) {

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


    // Implementation
    auto23F3793C_ae = CatalogEntryCount(c_gameCatalogArmyCategory);
    auto23F3793C_ai = 1;
    while (auto23F3793C_ai <= auto23F3793C_ae) {

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


    // Implementation
    auto08EA5277_ae = CatalogEntryCount(c_gameCatalogArmyCategory);
    auto08EA5277_ai = 1;
    while (auto08EA5277_ai <= auto08EA5277_ae) {

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


    // Implementation
    autoCE15C86D_ae = CatalogEntryCount(c_gameCatalogArmyCategory);
    autoCE15C86D_ai = 1;
    while (autoCE15C86D_ai <= autoCE15C86D_ae) {

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


    // Implementation
    auto6B214DBC_ae = CatalogEntryCount(c_gameCatalogArmyCategory);
    auto6B214DBC_ai = 1;
    while (auto6B214DBC_ai <= auto6B214DBC_ae) {

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

    // Implementation
    lv_playerCommander = libCOOC_gf_ActiveCommanderForPlayer(lp_player);
    auto9EF57A55_ae = CatalogEntryCount(c_gameCatalogArmyCategory);
    auto9EF57A55_ai = 1;
    while (auto9EF57A55_ai <= auto9EF57A55_ae) {

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

        }
    }
    auto1D234705_ae = CatalogEntryCount(c_gameCatalogArmyCategory);
    auto1D234705_ai = 1;
    while (auto1D234705_ai <= auto1D234705_ae) {

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

    // Implementation
    libA3DDD02B_gv_pC_AchievementDebugToastSuppressed = true;
    autoFE16D3B3_ae = CatalogEntryCount(c_gameCatalogMap);
    autoFE16D3B3_ai = 1;
    while (autoFE16D3B3_ai <= autoFE16D3B3_ae) {

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


    // Implementation
    autoD8EB8CD1_ae = CatalogEntryCount(c_gameCatalogMap);
    autoD8EB8CD1_ai = 1;
    while (autoD8EB8CD1_ai <= autoD8EB8CD1_ae) {

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


    // Implementation
    auto4745C134_ae = CatalogEntryCount(c_gameCatalogMap);
    auto4745C134_ai = 1;
    while (auto4745C134_ai <= auto4745C134_ae) {

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


    // Implementation
    auto1444F78C_ae = CatalogEntryCount(c_gameCatalogMap);
    auto1444F78C_ai = 1;
    while (auto1444F78C_ai <= auto1444F78C_ae) {

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


    // Implementation
    autoC9AEF9E3_ae = CatalogEntryCount(c_gameCatalogMap);
    autoC9AEF9E3_ai = 1;
    while (autoC9AEF9E3_ai <= autoC9AEF9E3_ae) {