public bool checkIfEnded() //checks if ended { return(currMode.Equals(ScriptMode.END)); //the "big" done }