1 if(! ("world" in state)) {
2 state.world <- "levels/world1/worldmap.stwm";
5 // load worldmap and wait till it is displayed
6 load_worldmap(state.world);
7 wait_for_screenswitch();
10 worldthread <- get_current_thread();
11 // wait for worldchanges
15 load_worldmap(state.world);