The mapdata table stores map data including location (/16) and whether you can exit each compass direction.
The change_map function is responsible for picking which map you go to after walking in a correct direction.
I'd love to see a concept like this in an adventure game of sorts where one room is the escape and the others are puzzles.
BTW, spooky subplot with the crossroads (both of them (yes, there are 2)) - talk to the bald man and then look at the statue.
Yes, I am giving you the cart. No, that doesn't mean "go look at all the code and find the secrets MineRobber stayed up all night programming in." That means "play it with the actual PICO-8 client in fullscreen with the lights off and the volume up."
Here it is.