function wallgun_slot_27() /* entry=471 class_id=0x0A19 slot=0x27 */
{
  set_info(0x0001, *(arg_06));
  WALLGUN.slot_25(Item.getFrame(arg_06), Item.getShape(arg_06), arg_06);
  if (!retval) {
    return;
  }
  else {
    WALLGUN.slot_29(arg_06);
    if (!retval) {
    }
    if (World.getControlledNPCNum() == 0) {
      spawn WALLGUN.slot_28(pid, Item.getNpcNum(arg_06), World.getControlledNPCNum(), arg_06);
      suspend;
      return;
    }
    else {
      spawn WALLGUN.slot_28(pid, Item.getNpcNum(arg_06), global[0x001E], arg_06);
      suspend;
    }
  }
  return;
}
