Some kind of post mortem lesson thing

Switching rooms in game maker was a hazy mystery to me during the end of LD22. It caused me some headaches at the end of the compo, so I’ve taken some time to understand it and write a sample bit of code for general consumption. Here it is (requires game maker of course). Enjoy, and use freely for whatever :)