How do you think this was done?

In this (awesome) game the map changes depending on which way Link leaves the map. So if he goes right, he finds himself in that part of town, etc etc.