Once each character is assigned a command, the characters and enemies perform their actions in a set order, determined by character speed. Whenever a character receives damage, the HP box gradually "rolls" down, similar to an odometer. This allows players an opportunity to heal the character or win the battle before the counter hits zero, after which the character is knocked unconscious.[nb 2] If all characters are rendered unconscious, the game transitions to an endgame screen, asking if the player wants to continue.