School adviser: Gunman a loner who felt no pain