Apologies for the slow reply, and don't mind me if you've already figured it out, but the endings are determined by when you decide to "look back"
Cheers