This is a monstrosity:I love stuff like that. Mike Bithell had a great talk about how you shouldn't try to impress anyone with your code when it's the game itself that matters. If it works, it works.
https://github.com/TerryCavanagh/VVVVVV/blob/e18dd195babfa1676785c17263c33df2699c26ee/desktop_version/src/Game.cpp#L708
Although that is definitely a monstrosity haha. For some reason I think the text dialogue being hard coded irked me the most.