Not scripted! You can win or lose. Though the game is a bit buggy at the moment due to me hitting the time limit for my jam.