/// get_loadout(loadout_id)
loadout = argument0;
switch (loadout) {
    case 0:
        global.morphball = 1;
        global.jumpball = 0;
        global.powergrip = 1;
        global.spacejump = 0;
        global.screwattack = 0;
        global.hijump = 0;
        global.spiderball = 0;
        global.speedbooster = 0;
        global.bomb = 0;
        global.ibeam = 0;
        global.wbeam = 0;
        global.pbeam = 0;
        global.sbeam = 0;
        global.cbeam = 0;
        global.missiles = 30;
        global.missiles = oControl.mod_Mstartingcount;
        global.smissiles = 0;
        global.pbombs = 0;
        global.maxmissiles = 30;
        global.maxsmissiles = 0;
        global.maxpbombs = 0;
        global.currentsuit = 0;
        global.playerhealth = 99;
        global.maxhealth = 99;
        global.etanks = 0;
        global.mtanks = 0;
        global.stanks = 0;
        global.ptanks = 0;
        break;
    case 1:
        global.morphball = 1;
        global.jumpball = 0;
        global.powergrip = 1;
        global.spacejump = 0;
        global.screwattack = 0;
        global.hijump = 0;
        global.spiderball = 1;
        global.speedbooster = 0;
        global.bomb = 1;
        global.ibeam = 1;
        global.wbeam = 0;
        global.pbeam = 0;
        global.sbeam = 0;
        global.cbeam = 1;
        global.missiles = 65;
        global.smissiles = 0;
        global.pbombs = 0;
        global.maxmissiles = 65;
        global.maxsmissiles = 0;
        global.maxpbombs = 0;
        global.currentsuit = 0;
        global.playerhealth = 299;
        global.maxhealth = 299;
        global.etanks = 2;
        global.mtanks = 7;
        global.stanks = 0;
        global.ptanks = 0;
        break;
    case 2:
        global.item[0] = 1;
        global.item[1] = 1;
        global.item[2] = 1;
        global.item[3] = 1;
        global.item[4] = 1;
        global.item[5] = 1;
        global.item[6] = 0;
        global.item[7] = 0;
        global.item[8] = 0;
        global.item[9] = 0;
        global.item[10] = 1;
        global.item[11] = 1;
        global.item[12] = 1;
        global.item[13] = 0;
        global.item[14] = 0;
        global.morphball = 1;
        global.jumpball = 1;
        global.powergrip = 1;
        global.spacejump = 0;
        global.screwattack = 0;
        global.hijump = 1;
        global.spiderball = 1;
        global.speedbooster = 0;
        global.bomb = 1;
        global.ibeam = 1;
        global.wbeam = 1;
        global.pbeam = 0;
        global.sbeam = 0;
        global.cbeam = 1;
        global.missiles = 110;
        global.smissiles = 0;
        global.pbombs = 0;
        global.maxmissiles = 110;
        global.maxsmissiles = 0;
        global.maxpbombs = 0;
        global.currentsuit = 1;
        global.playerhealth = 499;
        global.maxhealth = 499;
        global.etanks = 4;
        global.mtanks = 15;
        global.stanks = 0;
        global.ptanks = 0;
        global.lavastate = 3;
        break;
    case 3:
        global.item[0] = 1;
        global.item[1] = 1;
        global.item[2] = 1;
        global.item[3] = 1;
        global.item[4] = 1;
        global.item[5] = 1;
        global.item[6] = 1;
        global.item[7] = 1;
        global.item[8] = 0;
        global.item[9] = 0;
        global.item[10] = 1;
        global.item[11] = 1;
        global.item[12] = 1;
        global.item[13] = 1;
        global.item[14] = 0;
        global.morphball = 1;
        global.jumpball = 1;
        global.powergrip = 1;
        global.spacejump = 1;
        global.screwattack = 0;
        global.hijump = 1;
        global.spiderball = 1;
        global.speedbooster = 1;
        global.bomb = 1;
        global.ibeam = 1;
        global.wbeam = 1;
        global.pbeam = 0;
        global.sbeam = 1;
        global.cbeam = 1;
        global.missiles = 110;
        global.smissiles = 10;
        global.pbombs = 0;
        global.maxmissiles = 110;
        global.maxsmissiles = 10;
        global.maxpbombs = 0;
        global.currentsuit = 1;
        global.playerhealth = 699;
        global.maxhealth = 699;
        global.etanks = 6;
        global.mtanks = 15;
        global.stanks = 0;
        global.ptanks = 0;
        break;
    case 4:
        global.item[0] = 1;
        global.item[1] = 1;
        global.item[2] = 1;
        global.item[3] = 1;
        global.item[4] = 1;
        global.item[5] = 1;
        global.item[6] = 1;
        global.item[7] = 1;
        global.item[8] = 0;
        global.item[9] = 0;
        global.item[10] = 1;
        global.item[11] = 0;
        global.item[12] = 1;
        global.item[13] = 1;
        global.item[14] = 1;
        global.morphball = 1;
        global.jumpball = 1;
        global.powergrip = 1;
        global.spacejump = 1;
        global.screwattack = 0;
        global.hijump = 1;
        global.spiderball = 1;
        global.speedbooster = 1;
        global.bomb = 1;
        global.ibeam = 0;
        global.wbeam = 1;
        global.pbeam = 1;
        global.sbeam = 1;
        global.cbeam = 1;
        global.missiles = 110;
        global.smissiles = 10;
        global.pbombs = 2;
        global.maxmissiles = 110;
        global.maxsmissiles = 10;
        global.maxpbombs = 2;
        global.currentsuit = 1;
        global.playerhealth = 699;
        global.maxhealth = 699;
        global.etanks = 6;
        global.mtanks = 15;
        global.stanks = 5;
        global.ptanks = 1;
        global.lavastate = 7;
        break;
    case 5:
        global.item[0] = 1;
        global.item[1] = 1;
        global.item[2] = 1;
        global.item[3] = 1;
        global.item[4] = 1;
        global.item[5] = 1;
        global.item[6] = 1;
        global.item[7] = 1;
        global.item[8] = 1;
        global.item[9] = 1;
        global.item[10] = 1;
        global.item[11] = 1;
        global.item[12] = 1;
        global.item[13] = 1;
        global.item[14] = 1;
        global.morphball = 1;
        global.jumpball = 1;
        global.powergrip = 1;
        global.spacejump = 1;
        global.screwattack = 1;
        global.hijump = 1;
        global.spiderball = 1;
        global.speedbooster = 1;
        global.bomb = 1;
        global.ibeam = 1;
        global.wbeam = 1;
        global.pbeam = 1;
        global.sbeam = 1;
        global.cbeam = 1;
        global.missiles = 110;
        global.smissiles = 10;
        global.pbombs = 2;
        global.maxmissiles = 110;
        global.maxsmissiles = 10;
        global.maxpbombs = 2;
        global.currentsuit = 2;
        global.playerhealth = 699;
        global.maxhealth = 699;
        global.etanks = 6;
        global.mtanks = 15;
        global.stanks = 5;
        global.ptanks = 1;
        global.lavastate = 7;
        break;
    case 10:
        global.morphball = 1;
        global.jumpball = 1;
        global.powergrip = 1;
        global.spacejump = 1;
        global.screwattack = 1;
        global.hijump = 1;
        global.spiderball = 1;
        global.speedbooster = 1;
        global.bomb = 1;
        global.ibeam = 1;
        global.wbeam = 1;
        global.pbeam = 1;
        global.sbeam = 1;
        global.cbeam = 1;
        global.missiles = 250;
        global.smissiles = 20;
        global.pbombs = 20;
        global.maxmissiles = 250;
        global.maxsmissiles = 20;
        global.maxpbombs = 20;
        global.currentsuit = 2;
        global.playerhealth = 1099;
        global.maxhealth = 1099;
        global.etanks = 10;
        global.mtanks = 44;
        global.stanks = 10;
        global.ptanks = 10;
        global.event[0] = 1;
        global.event[1] = 1;
        global.event[2] = 1;
        global.event[50] = 1;
        global.event[51] = 1;
        global.event[52] = 1;
        global.event[53] = 1;
        global.event[54] = 1;
        global.event[55] = 1;
        global.monstersleft = 34;
        global.monstersarea = 7;
        global.item[0] = 1;
        global.item[1] = 1;
        global.item[2] = 1;
        global.item[3] = 1;
        global.item[4] = 1;
        global.item[5] = 1;
        global.item[6] = 1;
        global.item[7] = 1;
        global.item[8] = 1;
        global.item[9] = 1;
        global.item[10] = 1;
        global.item[11] = 1;
        global.item[12] = 1;
        global.item[13] = 1;
        global.item[14] = 1;
        global.item[100] = 1;
        global.item[101] = 1;
        global.item[102] = 1;
        global.item[103] = 1;
        global.item[104] = 1;
        global.item[105] = 0;
        global.item[106] = 0;
        global.item[107] = 0;
        global.item[108] = 0;
        break;
} // switch (loadout)
