function unhideBattleScreen() {
    for (let i = 1; i <= amountOfCharacters; i++) {
        document.getElementById("player" + i + "HP").style.visibility = "visible";
        document.getElementById("player" + i + "MP").style.visibility = "visible";
        document.getElementById("player" + i + "curHP").style.visibility = "visible";
        document.getElementById("player" + i + "curMP").style.visibility = "visible";
        document.getElementById("player" + i + "HPNumber").style.visibility = "visible";
        document.getElementById("player" + i + "MPNumber").style.visibility = "visible";
        document.getElementById("player" + i + "Name").style.visibility = "visible";
    }
    for (let j = 1; j <= amountOfMonsters; j++) {
        document.getElementById("enemy" + j + "HP").style.visibility = "visible";
        document.getElementById("enemy" + j + "MP").style.visibility = "visible";
        document.getElementById("enemy" + j + "curHP").style.visibility = "visible";
        document.getElementById("enemy" + j + "curMP").style.visibility = "visible";
        document.getElementById("enemy" + j + "HPNumber").style.visibility = "visible";
        document.getElementById("enemy" + j + "MPNumber").style.visibility = "visible";
        document.getElementById("enemy" + j + "Name").style.visibility = "visible";
    }
}
/**
 * Makes the battle screen visible again.
 */
Makes the battle screen visible again.
Makes the battle screen visible again .
function unhideBattleScreen() {
    for (let i = 1; i <= amountOfCharacters; i++) {
        document.getElementById("player" + i + "HP").style.visibility = "visible";
        document.getElementById("player" + i + "MP").style.visibility = "visible";
        document.getElementById("player" + i + "curHP").style.visibility = "visible";
        document.getElementById("player" + i + "curMP").style.visibility = "visible";
        document.getElementById("player" + i + "HPNumber").style.visibility = "visible";
        document.getElementById("player" + i + "MPNumber").style.visibility = "visible";
        document.getElementById("player" + i + "Name").style.visibility = "visible";
    }
    for (let j = 1; j <= amountOfMonsters; j++) {
        document.getElementById("enemy" + j + "HP").style.visibility = "visible";
        document.getElementById("enemy" + j + "MP").style.visibility = "visible";
        document.getElementById("enemy" + j + "curHP").style.visibility = "visible";
        document.getElementById("enemy" + j + "curMP").style.visibility = "visible";
        document.getElementById("enemy" + j + "HPNumber").style.visibility = "visible";
        document.getElementById("enemy" + j + "MPNumber").style.visibility = "visible";
        document.getElementById("enemy" + j + "Name").style.visibility = "visible";
    }
}
function unhideBattleScreen ( ) { for ( let i = 1 ; i <= amountOfCharacters ; i ++ ) { document . getElementById ( "player" + i + "HP" ) . style . visibility = "visible" ; document . getElementById ( "player" + i + "MP" ) . style . visibility = "visible" ; document . getElementById ( "player" + i + "curHP" ) . style . visibility = "visible" ; document . getElementById ( "player" + i + "curMP" ) . style . visibility = "visible" ; document . getElementById ( "player" + i + "HPNumber" ) . style . visibility = "visible" ; document . getElementById ( "player" + i + "MPNumber" ) . style . visibility = "visible" ; document . getElementById ( "player" + i + "Name" ) . style . visibility = "visible" ; } for ( let j = 1 ; j <= amountOfMonsters ; j ++ ) { document . getElementById ( "enemy" + j + "HP" ) . style . visibility = "visible" ; document . getElementById ( "enemy" + j + "MP" ) . style . visibility = "visible" ; document . getElementById ( "enemy" + j + "curHP" ) . style . visibility = "visible" ; document . getElementById ( "enemy" + j + "curMP" ) . style . visibility = "visible" ; document . getElementById ( "enemy" + j + "HPNumber" ) . style . visibility = "visible" ; document . getElementById ( "enemy" + j + "MPNumber" ) . style . visibility = "visible" ; document . getElementById ( "enemy" + j + "Name" ) . style . visibility = "visible" ; } }
Makes the battle screen visible again.
Makes the battle screen visible again .