game.js
// Same as gameOver, but with different text
Same as gameOver, but with different text
Same as gameOver but with different text
function runAway() {
	gameScene.visible = false;
	battleActions.visible = false;
	runAwayScene.visible = true;
	runAwayText.setText(player.name + " has fled! Game Over!\nWaves cleared: " + (wave - 1));
}
function runAway ( ) { gameScene . visible = false ; battleActions . visible = false ; runAwayScene . visible = true ; runAwayText . setText ( player . name + " has fled! Game Over!\nWaves cleared: " + ( wave - 1 ) ) ; }
Same as gameOver, but with different text
Same as gameOver but with different text