You have to use the spirit box when you find the second letter. Then it'll give you an option to sleep in the theatre. And then you can get the good ending. Hope this helps!