game.js
// Handles target selection, sends the player to the target select mode if # of enemies  > 1
Handles target selection, sends the player to the target select mode if # of enemies  > 1
Handles target selection sends the player to the target select mode if # of enemies > 1
function targetSelect(enemies) {
	if (enemies.length == 1) {
		target = enemies[0];
	} else {
		target = null;
		state = targetSelectMode;
	}
}
function targetSelect ( enemies ) { if ( enemies . length == 1 ) { target = enemies [ 0 ] ; } else { target = null ; state = targetSelectMode ; } }
Handles target selection, sends the player to the target select mode if # of enemies  > 1
Handles target selection sends the player to the target select mode if # of enemies > 1