I just use the first level to play my code out. I want to make it so that when it displays the enemy name associated with the wave.
enemy1 = ["dragon"]
var wave = 1
var choice = prompt("an " + enemy(wave) + " appears, what do you do? attack defend heal run").toLowerCase();
I want the code to read this line as, enemy(wave number). so if it's wave #1, it activates enemy1. if it's wave 2, it does enemy2, etc
sorry if this was a bad explanation.