switch (argument0) //needs changed to valid variable
{
    //Missiles
    case 52:
    case 53:
    case 54:
    case 55:
    case 56:
    case 57:
    case 60:
    case 100:
    case 101:
    case 102:
    case 104:
    case 105:
    case 106:
    case 107:
    case 109:
    case 111:
    case 150:
    case 151:
    case 152:
    case 153:
    case 154:
    case 155:
    case 156:
    case 159:
    case 161:
    case 163:
    case 202:
    case 203:
    case 204:
    case 205:
    case 208:
    case 210:
    case 211:
    case 214:
    case 250:
    case 252:
    case 255:
    case 257:
    case 259:
    case 303:
    case 304:
    case 307:
    case 308:
    case 309:
    sprite_index = sItemMissile;
    break;
    //Super Missiles
    case 51:
    case 110:
    case 162:
    case 206:
    case 207:
    case 209:
    case 215:
    case 256:
    case 300:
    case 305:
    sprite_index = sItemSuperMissile;
    break;
    //Energy Tanks
    case 50:
    case 103:
    case 108:
    case 157:
    case 158:
    case 200:
    case 201:
    case 251:
    case 254:
    case 306:
    sprite_index = sItemEnergyTank;
    break;
    //Powerbombs
    case 58:
    case 59:
    case 112:
    case 160:
    case 212:
    case 213:
    case 253:
    case 258:
    case 301:
    case 302:
    sprite_index = sItemPowerBomb;
    break;
}
