function wallgun_slot_27() /* entry=396 class_id=0x0A1A 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 (getTargetNPCNumMaybe() == 0) {
      spawn WALLGUN.slot_28(pid, Item.getNPCNum(arg_06), getTargetNPCNumMaybe(), arg_06);
      suspend;
      return;
    }
    else {
      spawn WALLGUN.slot_28(pid, Item.getNPCNum(arg_06), global[0x003C], arg_06);
      suspend;
    }
  }
  return;
}
