Script - original code:
///room_goto_transition(room,transition,[steps],[col],[jam]);
///change room based on time - original code
if room == room_test1 {
room_goto_transition(room_test2,next_transition,10+irandom(80),choose(c_lime,c_yellow,c_white,c_black,c_gray),true);
}
Script - modified code:
///transition_effect(room,transition,[steps]);
///Change room - modified code
if room == rm_mission_cloud {
transition_effect(rm_mission_city,next_transition,30);
}
//Slide down - original code
if kind == transition.slide_down {
if room != next_room {
room_goto(next_room);
}
draw_surface_stretched_ext(surface_from,0,current_step/length*__gui_height,__gui_width,__gui_height,c_white,1);
}
///Slide down effect - modified code
if kind == transition.slide_down {
if room != next_room {
room_goto(next_room);
}
draw_surface_stretched(surface_from,0,length*__gui_height,__gui_width,__gui_height);
}