Pull map scripts out of main.asm