Added a variable to keep track of what the player is doing in the
current battle.