// Script created by Daniel Gracia Machado for 2D Design group project


if (room = romMenu) {
	if (completedLevel1 == true) {
		objGotoLevel2.sprite_index = sprDoorOpen;
	}
	if (completedLevel2 == true) {
		objGotoLevel3.sprite_index = sprDoorOpen;
	}
	if (completedLevel3 == true) {
		objGotoLevel4.sprite_index = sprDoorOpen;
	}
	if (completedLevel4 == true) {
		objGotoLevel5.sprite_index = sprDoorOpen;
	}
}
