A rough template of what a turn-based RPG in the manner of Final Fantasy would be like. There's an overworld phase and a battle phase. If I ever go back to this website, maybe I'll try to make a better version. <overworld> arrows to move <battle> mouse to select buttons and press them
room changing code by @Mcnatty everything else by me.