function gatgunew_equip() /* entry=54 class_id=0x0113 slot=0x0A */
{
  set_info(0x0211, *(arg_06));
  process_exclude();
  if (World.getControlledNPCNum() == 0) {
    spawn WALLGUN.slot_24(pid, arg_0A, World.getControlledNPCNum(), arg_06);
    suspend;
    return;
  }
  else {
    spawn WALLGUN.slot_24(pid, arg_0A, global[0x001E], arg_06);
    suspend;
  }
  return;
}
