Added a check for friendliness to character switch code so you cn't switch to an enemy on the same team as you.  That can still happen when you die, though.  viewscreen::input() and viewscreen::continuous_input() may need to be fixed for that.