fade_in = 50;

if (global.loaded_file[? SAVE_CHNUM] > SCENE_TOTAL ) {
	room_goto(rm_ending);
}

if (!global.scene_mode && global.loaded_file[? SAVE_CHNUM] == 0) {	
	global.scene_mode = true;
	global.scene_number = SCENE_TEST;
	timeline_position = 0;
	timeline_index = tml_scene_test;
	timeline_running = true;
}
if (!global.scene_mode && global.loaded_file[? SAVE_CHNUM] == 1) {	
	global.scene_mode = true;
	global.scene_number = SCENE_TEST;
	timeline_position = 0;
	timeline_index = tml_scene_test;
	timeline_running = true;
}
if (!global.scene_mode && global.loaded_file[? SAVE_CHNUM] == 2) {	
	global.scene_mode = true;
	global.scene_number = SCENE_TEST;
	timeline_position = 0;
	timeline_index = tml_scene_test;
	timeline_running = true;
}
if (!global.scene_mode && global.loaded_file[? SAVE_CHNUM] == 3) {	
	global.scene_mode = true;
	global.scene_number = SCENE_TEST;
	timeline_position = 0;
	timeline_index = tml_scene_test;
	timeline_running = true;
}
if (!global.scene_mode && global.loaded_file[? SAVE_CHNUM] == 4) {	
	global.scene_mode = true;
	global.scene_number = SCENE_TEST;
	timeline_position = 0;
	timeline_index = tml_scene_test;
	timeline_running = true;
}
if (!global.scene_mode && global.loaded_file[? SAVE_CHNUM] == 5) {	
	global.scene_mode = true;
	global.scene_number = SCENE_TEST;
	timeline_position = 0;
	timeline_index = tml_scene_test;
	timeline_running = true;
}
if (!global.scene_mode && global.loaded_file[? SAVE_CHNUM] == 6) {	
	global.scene_mode = true;
	global.scene_number = SCENE_TEST;
	timeline_position = 0;
	timeline_index = tml_scene_test;
	timeline_running = true;
}
if (!global.scene_mode && global.loaded_file[? SAVE_CHNUM] == 7) {	
	global.scene_mode = true;
	global.scene_number = SCENE_TEST;
	timeline_position = 0;
	timeline_index = tml_scene_test;
	timeline_running = true;
}


