I'm thinking about making a story mode game, and here is the engine for you to use! It is very small right now, but you can expand it. I have made it very easy to use. Good luck with your story mode games!
Note: the background is just a chart of the endings and is not a functional part of the engine.