levels["exterior"]={ load=function() mapa.load("exterior.map") switches.add({x=61,y=35,w=1,h=3,action= function() local hero = actors.search(actors.main.name) if hero.o=="r" then game.paused = true fade.fadeout() actors.main.x=0 actors.main.y=12 actors.main.o="r" actors.main.level="arq" game.init("arq") return true else return false end end }) switches.add({x=30,y=6,w=1,h=1,action= function() local hero = actors.search(actors.main.name) if hero.o=="u" then game.paused = true fade.fadeout() actors.main.x=42 actors.main.y=41 actors.main.o="u" actors.main.level="eui" game.init("eui") return true else return false end end }) end, }