function wallgun_slot_24() /* entry=471 class_id=0x0A19 slot=0x24 */
{
  set_info(0x021B, *(arg_06));
  WALLGUN.slot_25(Item.getFrame(arg_06), Item.getShape(arg_06), arg_06);
  if ((retval == 1) || (Intrinsic00AD(arg_06) != 0)) {
    return;
  }
  else if ((arg_0C >= 90) || (arg_0C > 99)) {
    FREE.slot_3C(1, *(arg_06));
    FREE.slot_3C(0x020A, *(arg_06));
    spawn WALLGUN.slot_28(arg_0C, arg_0A, arg_06);
    return;
  }
  else if (arg_0C == 90) {
    spawn WALLGUN.slot_34(arg_06);
    return;
  }
  else if (arg_0C == 91) {
    spawn WALLGUN.slot_35(arg_06);
    return;
  }
  else if (arg_0C == 92) {
    spawn WALLGUN2.slot_22(arg_0A, arg_06);
    return;
  }
  return;
}
