<screen id="MAIN_HALL" src="swfs/screens/Floor1/Main Hall.swf" footstep="Stone">
	<warning id="LOCATION_FLOOR1_MAIN_HALL"/>
	<unlockRoom id="Floor1/MAIN_HALL"/>
	<unlockRoom id="Floor1/RECEPTION"/>
	<unlockMap id="Floor1/MAIN_HALL"/>
	<unlockMap id="Floor1/TOY_ROOM"/>
	<unlockMap id="Floor1/HALLWAY_1"/>
	
	<goal id="TASK_1_4" remove="true" />
	
	<music src="Audio/Music/FLOOR1/DAYCARE.mp3" fadeIn="10000" channel="MUSIC" loop="true"/>
	<music src="Audio/Ambient/FLOOR1/MAIN_HALL.mp3" channel="AMBIENT" fadeIn="5000" loop="true"/>

	<session id="TUTORIAL_1_2"/>
	<session id="TUTORIAL_1_3"/>
	<session id="TUTORIAL_1_4"/>
	<session id="TUTORIAL_1_5"/>
	<session id="TUTORIAL_AUDIOTAPES_1"/>
	<session id="TUTORIAL_AUDIOTAPES_2"/>

	<state>
		<requirement type="session" id="DEMO_MODE" value="true" />		
		<requirement type="session" id="M2_ALICE_EVENT_1_VIEWED" value="false"/>	
		<session id="M2_ALICE_EVENT_1_VIEWED" />
		<property type="frame" value="activate" stop="false" assign="object_window" name="alice_blink" />
		<delay time="900"/>
		<sound src="Audio/SFX/FLOOR1/main_hall_girl_flash.mp3" />
	</state>

	<object name="nav_Entrance" id="NAV_ENTRANCE" cursor="south" tooltip="LOCATION_MAINENTRANCE_TO">
		<event type="clicked">
			<portal target="Outside/MAIN_ENTRANCE_2"/>
		</event> 
		
	</object>

	<state>
		<requirement type="session" id="M1_HALL_VIEWED" value="false"/>		
		<session id="M1_HALL_VIEWED" />
		<goal id="TASK_2_1" priority="1" />
	</state>
	
	
	<!--
	<state>
		<requirement type="session" id="SOLVED_RECEPTION"/>
		<requirement type="session" id="M2_TOY_ROOM_UNLOCKED" value="false" />
		<poi value="on" target="active_screen" object="Hallway_1"/>
		
	</state>
	-->
	
	
	
	<object name="Reception" id="RECEPTION" cursor="hand" tooltip="LOCATION_RECEPTION_TO">
		<state>
			<requirement type="session" id="SOLVED_RECEPTION" value="false"/>
			<!-- <poi value="on" target="active_screen" object="Reception" align="origin"/>  -->
			<object name="Reception" id="RECEPTION" cursor="spyglass"/>
			<poi value="on" target="active_screen" object="Reception"/>
		</state>
		<state>
			<requirement type="session" id="M2_GOT_GATE_KEY" value="false"/>
			<requirement type="session" id="M2_GOT_GLOVES"/>
			<object name="Reception" id="RECEPTION" cursor="spyglass"/>
			<poi value="on" target="active_screen" object="Reception"/>
		</state>
		
		<event type="clicked">
			<requirement type="session" id="SOLVED_RECEPTION" value="false"/>
			<portal target="HO_SCREEN/HO_RECEPTION" hidden_screen="true" />
		</event> 
		<event type="clicked">
			<requirement type="session" id="SOLVED_RECEPTION" value="true"/>
			<requirement type="session" id="SOLVED_RECEPTION_2" value="false"/>
			<requirement type="session" id="SOLVED_DEN" value="true"/>
			<portal target="HO_SCREEN/HO_RECEPTION" hidden_screen="true" />
		</event> 
		
		<event type="clicked">
			<requirement type="session" id="SOLVED_RECEPTION" value="true"/>
			<requirement type="session" id="M2_GOT_GLOVES" value="false" />
			<warning id="MAIN_HALL_RECEPTION"/>
		</event>	
		<event type="clicked">
			<requirement type="session" id="M2_GOT_GATE_KEY" value="true"/>
			<warning id="MAIN_HALL_RECEPTION"/>
		</event>
	</object>
	
	
	<!--<state>
		<requirement type="session" id="SOLVED_RECEPTION_2"/>
		<object name="Reception" id="RECEPTION" cursor="default"/>
	</state>
	<state>
		<requirement type="session" id="SOLVED_RECEPTION" value="true"/>
		<requirement type="session" id="M2_HALLWAY_2_REACHED" value="false"/>
		<object name="Reception" id="RECEPTION" cursor="default"/>
	</state>-->
	
	
	<object name="Hallway_1" id="HALLWAY_1" cursor="north" tooltip="LOCATION_HALLWAY1_TO">
		<event type="clicked">
			<portal target="Floor1/HALLWAY_1"/>
		</event> 
	</object>
	
	
	<state>
		<requirement type="session" id="M2_GOT_PAINTING_2" value="false" />	
		<requirement type="session" id="M2_GOT_LADDER"/>
		<!--<requirement type="session" id="M2_POWER_ROOM_DOOR_CHECKED"/>-->
		<poi value="on" target="active_screen" object="painting" type="single" align="origin" />
	</state>

	<object name="painting" assign="window" basic="true" cursor="hand">
		<state>
			<requirement type="session" id="M2_GOT_PAINTING_2" value="true" />	
			<property type="visible" value="false" assign="object_window" name="painting" />
		</state>
		<event type="clicked">
			<requirement type="session" id="M2_GOT_PAINTING_2" value="false" />		
			<requirement type="session" id="M2_PLACED_LADDER" warning="MAIN_HALL_PICTURE" />	
			<property type="visible" value="false" assign="object_window" name="painting" />
			<item name="painting_2" id="PAINTING_2" src="images/items/painting_2.png" large_src="images/items/painting_2_large.png"/>
			<items_collected>
				<session id="M2_GOT_PAINTING_2"/>
				<requirement type="session" id="M2_GOT_PAINTING_1" value="true" />
				<requirement type="session" id="M2_GOT_PAINTING_3" value="true" />
				<goal id="TASK_2_4" remove="true" />
				<goal id="TASK_2_8" priority="6" />
			</items_collected>
		</event>
	</object>
	
	<object name="ladder_area" assign="window" basic="true" cursor="default">
		<property type="visible" value="false" assign="object_window" name="ladder" />
		<state>
			<requirement type="session" id="M2_PLACED_LADDER" value="true" />	
			<property type="visible" value="true" assign="object_window" name="ladder" />
		</state>
		<event type="clicked">
			<requirement type="session" id="M2_PLACED_LADDER" value="false" />		
			<requirement type="holding_item" id="LADDER" />	
			<property type="visible" value="true" assign="object_window" name="ladder" />
			<session id="M2_PLACED_LADDER"/>
			<sound src="Audio/SFX/FLOOR1/main_hall_ladder.mp3" />
			<item remove="true" id="LADDER" />	
		</event>
		
	</object>
	<object name="ladder_area" id="LADDER_AREA" basic="true" cursor="hand">
		<event type="clicked">
			<requirement type="holding_item" id="LADDER" value="false" />	
			<warning id="MAIN_HALL_ELEVATOR"/>
		</event>		
	</object>
	<!-- 
	<object name="nav_Hallway8" id="NAV_HALLWAY8" cursor="east" tooltip="LOCATION_HALLWAY8_TO">
		<event type="clicked">
			<portal target="Floor1/HALLWAY_8"/>
		</event> 
		
	</object>
	 -->
	<state>
		<requirement type="session" id="M2_GOT_AUDIOTAPE_2" value="false"/>
		<poi value="on" target="active_screen" object="audiotape_2" align="origin" type="single"/>
	</state>
	<object name="audiotape_2" assign="object_window" basic="true" cursor="hand">
		<state>
			<requirement type="session" id="M2_GOT_AUDIOTAPE_2" value="true" />	
			<property type="visible" value="false" assign="object_window" name="audiotape_2" />
		</state>
		<event type="clicked">
			<requirement type="session" id="M2_GOT_AUDIOTAPE_2" value="false" />		
			<property type="visible" value="false" assign="object_window" name="audiotape_2" />
			<unlockAudioTape id="2"/>
			<session id="M2_GOT_AUDIOTAPE_2"/>
			<poi value="off" target="active_screen" object="audiotape_2"/>
			<show_book tab="3"/>
			<sound src="Audio/SFX/GAME/tape_collected.mp3" />
		</event>
	</object>
	
	
		
	<object name="painting" id="PAINTING" basic="true" cursor="hand">
		<event type="clicked">
			<requirement type="session" id="M2_PLACED_LADDER" value="false" />		
			<requirement type="holding_item" id="LADDER" />	
			<property type="visible" value="true" assign="object_window" name="ladder" />
			<session id="M2_PLACED_LADDER"/>
			
			<item remove="true" id="LADDER" />	
		</event>
		<event type="clicked">
			<requirement type="holding_item" id="LADDER" value="false" />	
			<requirement type="session" id="M2_PLACED_LADDER" value="false" />		
			<warning id="MAIN_HALL_HIGH_PICTURE"/>
		</event>		
	</object>
	
	<object name="wheel_chairs" id="WHEEL_CHAIRS" basic="true" cursor="hand">
		<event type="clicked">
			<warning id="MAIN_HALL_WHEEL_CHAIRS"/>
		</event>		
	</object>
</screen>