function startBattle() {
    battleIsOver = false;
    onMapScreen = false;
    hideMap();
    findRandomMonsters();
    createBattleScreenElements(createCombatantArray(2, 2));
    addStats();
    sortBySpeed();
    nextUnitsTurn(combatantsSorted);
}
/**
 * Changes from mapScreen to battleScreen.
 */
Changes from mapScreen to battleScreen.
Changes from mapScreen to battleScreen .
function startBattle() {
    battleIsOver = false;
    onMapScreen = false;
    hideMap();
    findRandomMonsters();
    createBattleScreenElements(createCombatantArray(2, 2));
    addStats();
    sortBySpeed();
    nextUnitsTurn(combatantsSorted);
}
function startBattle ( ) { battleIsOver = false ; onMapScreen = false ; hideMap ( ) ; findRandomMonsters ( ) ; createBattleScreenElements ( createCombatantArray ( 2 , 2 ) ) ; addStats ( ) ; sortBySpeed ( ) ; nextUnitsTurn ( combatantsSorted ) ; }
Changes from mapScreen to battleScreen.
Changes from mapScreen to battleScreen .