LOL... You nearly had me quit. Nice idea and very nicely breaking the 4th wall. ... And I was very happy when it did not kick me back to the beginning anymore.
I think using ink here would have been a great thing. You can do really nice story branching and weaves with it... and it's all free. https://www.inklestudios.com/ink/ There are easy branches when you hit a node for the n-th time and other fun stuff.