<scene name="Room34" numVictoryConditions="1">
	<inventory>
		<object name="Key" memberName="HUD_Key" acquired="0" visible="1"/>
		<object name="VHSEmpty" memberName="HUD_VHSEmpty" acquired="0" visible="1"/>
		<object name="VHSFull" memberName="HUD_VHSFull" acquired="0" visible="0"/>
	</inventory>
<!--	
	<zoomWindows>
		<zoomWindow name="VideoCaseWindow" file="ZoomWindows\Room34_VideoCaseWindow.dir" x="245" y="365" visible="0"/>
		<zoomWindow name="Drawer1Window" file="ZoomWindows\Room34_Drawer1Window.dir" x="100" y="350" visible="0"/>
		<zoomWindow name="Drawer2Window" file="ZoomWindows\Room34_Drawer2Window.dir" x="100" y="490" visible="0"/>
		<zoomWindow name="Drawer3Window" file="ZoomWindows\Room34_Drawer3Window.dir" x="200" y="375" visible="0"/>
		<zoomWindow name="Drawer4Window" file="ZoomWindows\Room34_Drawer4Window.dir" x="250" y="360" visible="0"/>
		<zoomWindow name="Drawer5Window" file="ZoomWindows\Room34_Drawer5Window.dir" x="360" y="330" visible="0"/>
		<zoomWindow name="Drawer6Window" file="ZoomWindows\Room34_Drawer6Window.dir" x="360" y="390" visible="0"/>
		<zoomWindow name="Drawer7Window" file="ZoomWindows\Room34_Drawer7Window.dir" x="430" y="350" visible="0"/>
		<zoomWindow name="Drawer8Window" file="ZoomWindows\Room34_Drawer8Window.dir" x="435" y="400" visible="0"/>
		<zoomWindow name="Drawer9Window" file="ZoomWindows\Room34_Drawer9Window.dir" x="600" y="455" visible="0"/>
		<zoomWindow name="Drawer10Window" file="ZoomWindows\Room34_Drawer10Window.dir" x="510" y="465" visible="0"/>
		<zoomWindow name="VideoConsoleWindow" file="ZoomWindows\Room34_VideoConsoleWindow.dir" x="245" y="365" visible="0"/>
	</zoomWindows>
-->	
	<zoomWindows>		
		<zoomWindow name="Drawer1Window" file="ZoomWindows\Room34_Drawer1Window.dir" x="330" y="300" visible="0"/>
		<zoomWindow name="Drawer2Window" file="ZoomWindows\Room34_Drawer2Window.dir" x="330" y="300" visible="0"/>
		<zoomWindow name="Drawer3Window" file="ZoomWindows\Room34_Drawer3Window.dir" x="330" y="300" visible="0"/>
		<zoomWindow name="Drawer4Window" file="ZoomWindows\Room34_Drawer4Window.dir" x="330" y="300" visible="0"/>
		<zoomWindow name="Drawer5Window" file="ZoomWindows\Room34_Drawer5Window.dir" x="330" y="300" visible="0"/>
		<zoomWindow name="Drawer6Window" file="ZoomWindows\Room34_Drawer6Window.dir" x="330" y="300" visible="0"/>
		<zoomWindow name="Drawer7Window" file="ZoomWindows\Room34_Drawer7Window.dir" x="330" y="300" visible="0"/>
		<zoomWindow name="Drawer8Window" file="ZoomWindows\Room34_Drawer8Window.dir" x="330" y="300" visible="0"/>
		<zoomWindow name="Drawer9Window" file="ZoomWindows\Room34_Drawer9Window.dir" x="330" y="300" visible="0"/>
		<zoomWindow name="Drawer10Window" file="ZoomWindows\Room34_Drawer10Window.dir" x="330" y="300" visible="0"/>
		<zoomWindow name="VideoCaseWindow" file="ZoomWindows\Room34_VideoCaseWindow.dir" x="245" y="365" visible="0"/>
		<zoomWindow name="VideoConsoleWindow" file="ZoomWindows\Room34_VideoConsoleWindow.dir" x="245" y="365" visible="0"/>
	</zoomWindows>
	
	<animations>
		<animation name="TapeAnim" type="loop" xpos="304" ypos="249" zpos="30">
			<frames>
				<frame memberName="tape1_anim" frameDelay="4"/>
				<frame memberName="tape2_anim" frameDelay="4"/>
				<frame memberName="tape3_anim" frameDelay="4"/>
				<frame memberName="tape4_anim" frameDelay="4"/>
				<frame memberName="tape5_anim" frameDelay="4"/>
				<frame memberName="tape6_anim" frameDelay="4"/>
				<frame memberName="tape7_anim" frameDelay="4"/>
				<frame memberName="tape8_anim" frameDelay="4"/>
				<frame memberName="tape9_anim" frameDelay="4"/>
				<frame memberName="tape10_anim" frameDelay="4"/>
				<frame memberName="tape11_anim" frameDelay="4"/>
				<frame memberName="tape12_anim" frameDelay="4"/>
				<frame memberName="tape13_anim" frameDelay="4"/>
				<frame memberName="tape14_anim" frameDelay="4"/>
				<frame memberName="tape15_anim" frameDelay="4"/>
				<frame memberName="tape16_anim" frameDelay="4"/>
				<frame memberName="tape17_anim" frameDelay="4"/>
				<frame memberName="tape18_anim" frameDelay="4"/>
				<frame memberName="tape19_anim" frameDelay="4"/>
				<frame memberName="tape20_anim" frameDelay="4"/>
				<frame memberName="tape21_anim" frameDelay="4"/>
				<frame memberName="tape22_anim" frameDelay="4"/>
				<frame memberName="tape23_anim" frameDelay="4"/>
			</frames>
		</animation>
		
		<animation name="GrateAnim" type="tween" xpos="330" ypos="209" zpos="21" duration="1800">
			<frames>
				<frame memberName="grate_anim" frameDelay="30" yoffset="198"/>
			</frames>
		</animation>
	</animations>
	
	<objects>
		<object name="Drawer1">
			<clickStrategy type="rect" left="30" top="357" right="90" bottom="385"/>
			<states>
				<state name="clickable">
					<onStateEnter>
						<action target="Scene" name="HideLayer" param="Drawer1"/>
						<action target="Scene" name="PlaySound" param="indoor_small"/>
						<action target="Scene" name="PlaySound" param="beeps"/>
					</onStateEnter>
					
					<onMouseOver>
						<action target="Scene" name="SetCursor" param="zoom"/>
					</onMouseOver>
					
					<onClick>
						<action target="Drawer1" name="SendEvent" param="closeWindow"/>
						<action target="Drawer2" name="SendEvent" param="closeWindow"/>
						<action target="Drawer3" name="SendEvent" param="closeWindow"/>
						<action target="Drawer4" name="SendEvent" param="closeWindow"/>
						<action target="Drawer5" name="SendEvent" param="closeWindow"/>
						<action target="Drawer6" name="SendEvent" param="closeWindow"/>
						<action target="Drawer7" name="SendEvent" param="closeWindow"/>
						<action target="Drawer8" name="SendEvent" param="closeWindow"/>
						<action target="Drawer9" name="SendEvent" param="closeWindow"/>
						<action target="Drawer10" name="SendEvent" param="closeWindow"/>
						
						<action target="Scene" name="OpenWindow" param="Drawer1Window"/>
						<action target="Drawer1" name="SetState" param="open"/>
						<action target="Scene" name="PlaySound" param="open_drawer"/>
					</onClick>
				</state>
				
				<state name="open">
					<onStateEnter>
						<action target="Scene" name="ShowLayer" param="Drawer1"/>
					</onStateEnter>
					
					<onClick>
						<action target="Scene" name="OpenWindow" param="Drawer1Window"/>
					</onClick>
					
					<onEvent name="closeWindow">
						<action target="Scene" name="CloseWindow" param="Drawer1Window"/>
						<action target="Drawer1" name="SetState" param="clickable"/>
					</onEvent>
				</state>
			</states>
		</object>
		
		<object name="Drawer2">
			<clickStrategy type="rect" left="30" top="386" right="90" bottom="410"/>
			<states>
				<state name="clickable">
					<onStateEnter>
						<action target="Scene" name="HideLayer" param="Drawer2"/>
					</onStateEnter>
					
					<onMouseOver>
						<action target="Scene" name="SetCursor" param="zoom"/>
					</onMouseOver>
					
					<onClick>
						<action target="Drawer1" name="SendEvent" param="closeWindow"/>
						<action target="Drawer2" name="SendEvent" param="closeWindow"/>
						<action target="Drawer3" name="SendEvent" param="closeWindow"/>
						<action target="Drawer4" name="SendEvent" param="closeWindow"/>
						<action target="Drawer5" name="SendEvent" param="closeWindow"/>
						<action target="Drawer6" name="SendEvent" param="closeWindow"/>
						<action target="Drawer7" name="SendEvent" param="closeWindow"/>
						<action target="Drawer8" name="SendEvent" param="closeWindow"/>
						<action target="Drawer9" name="SendEvent" param="closeWindow"/>
						<action target="Drawer10" name="SendEvent" param="closeWindow"/>
											
						<action target="Scene" name="OpenWindow" param="Drawer2Window"/>
						<action target="Drawer2" name="SetState" param="open"/>
						<action target="Scene" name="PlaySound" param="open_drawer"/>
					</onClick>
				</state>
				
				<state name="open">
					<onStateEnter>
						<action target="Scene" name="ShowLayer" param="Drawer2"/>
					</onStateEnter>
					
					<onClick>
						<action target="Scene" name="OpenWindow" param="Drawer2Window"/>
					</onClick>
					
					<onEvent name="closeWindow">
						<action target="Scene" name="CloseWindow" param="Drawer2Window"/>
						<action target="Drawer2" name="SetState" param="clickable"/>
					</onEvent>
				</state>
			</states>
		</object>
		
		<object name="Drawer3">
			<clickStrategy type="rect" left="138" top="343" right="174" bottom="356"/>
			<states>
				<state name="clickable">
					<onStateEnter>
						<action target="Scene" name="HideLayer" param="Drawer3"/>
					</onStateEnter>
					
					<onMouseOver>
						<action target="Scene" name="SetCursor" param="zoom"/>
					</onMouseOver>
					
					<onClick>
						<action target="Drawer1" name="SendEvent" param="closeWindow"/>
						<action target="Drawer2" name="SendEvent" param="closeWindow"/>
						<action target="Drawer3" name="SendEvent" param="closeWindow"/>
						<action target="Drawer4" name="SendEvent" param="closeWindow"/>
						<action target="Drawer5" name="SendEvent" param="closeWindow"/>
						<action target="Drawer6" name="SendEvent" param="closeWindow"/>
						<action target="Drawer7" name="SendEvent" param="closeWindow"/>
						<action target="Drawer8" name="SendEvent" param="closeWindow"/>
						<action target="Drawer9" name="SendEvent" param="closeWindow"/>
						<action target="Drawer10" name="SendEvent" param="closeWindow"/>						
						
						<action target="Scene" name="OpenWindow" param="Drawer3Window"/>
						<action target="Drawer3" name="SetState" param="open"/>
						<action target="Scene" name="PlaySound" param="open_drawer"/>
					</onClick>
				</state>
				
				<state name="open">
					<onStateEnter>
						<action target="Scene" name="ShowLayer" param="Drawer3"/>
					</onStateEnter>
					
					<onClick>
						<action target="Scene" name="OpenWindow" param="Drawer3Window"/>
					</onClick>
					
					<onEvent name="closeWindow">
						<action target="Scene" name="CloseWindow" param="Drawer3Window"/>
						<action target="Drawer3" name="SetState" param="clickable"/>
					</onEvent>
				</state>
			</states>
		</object>
	
		<object name="Drawer4">
			<clickStrategy type="rect" left="179" top="339" right="213" bottom="349"/>
			<states>
				<state name="clickable">
					<onStateEnter>
						<action target="Scene" name="HideLayer" param="Drawer4"/>
					</onStateEnter>
					
					<onMouseOver>
						<action target="Scene" name="SetCursor" param="zoom"/>
					</onMouseOver>
					
					<onClick>
						<action target="Drawer1" name="SendEvent" param="closeWindow"/>
						<action target="Drawer2" name="SendEvent" param="closeWindow"/>
						<action target="Drawer3" name="SendEvent" param="closeWindow"/>
						<action target="Drawer4" name="SendEvent" param="closeWindow"/>
						<action target="Drawer5" name="SendEvent" param="closeWindow"/>
						<action target="Drawer6" name="SendEvent" param="closeWindow"/>
						<action target="Drawer7" name="SendEvent" param="closeWindow"/>
						<action target="Drawer8" name="SendEvent" param="closeWindow"/>
						<action target="Drawer9" name="SendEvent" param="closeWindow"/>
						<action target="Drawer10" name="SendEvent" param="closeWindow"/>						
						
						<action target="Scene" name="OpenWindow" param="Drawer4Window"/>
						<action target="Drawer4" name="SetState" param="open"/>
						<action target="Scene" name="PlaySound" param="open_drawer"/>
					</onClick>
				</state>
				
				<state name="open">
					<onStateEnter>
						<action target="Scene" name="ShowLayer" param="Drawer4"/>
					</onStateEnter>
					
					<onMouseOver>
						<action target="Scene" name="SetCursor" param="zoom"/>
					</onMouseOver>
					
					<onClick>
						<action target="Scene" name="OpenWindow" param="Drawer4Window"/>
					</onClick>
					
					<onEvent name="closeWindow">
						<action target="Scene" name="CloseWindow" param="Drawer4Window"/>
						<action target="Drawer4" name="SetState" param="clickable"/>
					</onEvent>
				</state>
				
				<state name="noKey">
					<onStateEnter>
						<action target="Scene" name="CloseWindow" param="Drawer4Window" delay="60"/>
						<action target="Scene" name="ShowLayer" param="Drawer4"/>
						<action target="Scene" name="PlaySound" param="take_a_key"/>
					</onStateEnter>
					
					<onMouseOver>
						<action target="Scene" name="SetCursor" param="zoom"/>
					</onMouseOver>
					
					<onClick>
						<action target="Scene" name="OpenWindow" param="Drawer4Window"/>
					</onClick>
				</state>
			</states>
		</object>
	
		<object name="Drawer5">
			<clickStrategy type="rect" left="275" top="315" right="300" bottom="335"/>
			<states>
				<state name="clickable">
					<onStateEnter>
						<action target="Scene" name="HideLayer" param="Drawer5"/>
					</onStateEnter>
					
					<onMouseOver>
						<action target="Scene" name="SetCursor" param="zoom"/>
					</onMouseOver>
					
					<onClick>
						<action target="Drawer1" name="SendEvent" param="closeWindow"/>
						<action target="Drawer2" name="SendEvent" param="closeWindow"/>
						<action target="Drawer3" name="SendEvent" param="closeWindow"/>
						<action target="Drawer4" name="SendEvent" param="closeWindow"/>
						<action target="Drawer5" name="SendEvent" param="closeWindow"/>
						<action target="Drawer6" name="SendEvent" param="closeWindow"/>
						<action target="Drawer7" name="SendEvent" param="closeWindow"/>
						<action target="Drawer8" name="SendEvent" param="closeWindow"/>
						<action target="Drawer9" name="SendEvent" param="closeWindow"/>
						<action target="Drawer10" name="SendEvent" param="closeWindow"/>						
						
						<action target="Scene" name="OpenWindow" param="Drawer5Window"/>
						<action target="Drawer5" name="SetState" param="open"/>
						<action target="Scene" name="PlaySound" param="open_drawer"/>
					</onClick>
				</state>
				
				<state name="open">
					<onStateEnter>
						<action target="Scene" name="ShowLayer" param="Drawer5"/>
					</onStateEnter>
					
					<onClick>
						<action target="Scene" name="OpenWindow" param="Drawer5Window"/>
					</onClick>
					
					<onEvent name="closeWindow">
						<action target="Scene" name="CloseWindow" param="Drawer5Window"/>
						<action target="Drawer5" name="SetState" param="clickable"/>
					</onEvent>
				</state>
			</states>
		</object>
	
		<object name="Drawer6">
			<clickStrategy type="rect" left="275" top="359" right="300" bottom="377"/>
			<states>
				<state name="clickable">
					<onStateEnter>
						<action target="Scene" name="HideLayer" param="Drawer6"/>
					</onStateEnter>
					
					<onMouseOver>
						<action target="Scene" name="SetCursor" param="zoom"/>
					</onMouseOver>
					
					<onClick>
						<action target="Drawer1" name="SendEvent" param="closeWindow"/>
						<action target="Drawer2" name="SendEvent" param="closeWindow"/>
						<action target="Drawer3" name="SendEvent" param="closeWindow"/>
						<action target="Drawer4" name="SendEvent" param="closeWindow"/>
						<action target="Drawer5" name="SendEvent" param="closeWindow"/>
						<action target="Drawer6" name="SendEvent" param="closeWindow"/>
						<action target="Drawer7" name="SendEvent" param="closeWindow"/>
						<action target="Drawer8" name="SendEvent" param="closeWindow"/>
						<action target="Drawer9" name="SendEvent" param="closeWindow"/>
						<action target="Drawer10" name="SendEvent" param="closeWindow"/>
												
						<action target="Scene" name="OpenWindow" param="Drawer6Window"/>
						<action target="Drawer6" name="SetState" param="open"/>
						<action target="Scene" name="PlaySound" param="open_drawer"/>
					</onClick>
				</state>
				
				<state name="open">
					<onStateEnter>
						<action target="Scene" name="ShowLayer" param="Drawer6"/>
					</onStateEnter>
					
					<onClick>
						<action target="Scene" name="OpenWindow" param="Drawer6Window"/>
					</onClick>
					
					<onEvent name="closeWindow">
						<action target="Scene" name="CloseWindow" param="Drawer6Window"/>
						<action target="Drawer6" name="SetState" param="clickable"/>
					</onEvent>
				</state>
			</states>
		</object>
	
		<object name="Drawer7">
			<clickStrategy type="rect" left="325" top="323" right="350" bottom="344"/>
			<states>
				<state name="clickable">
					<onStateEnter>
						<action target="Scene" name="HideLayer" param="Drawer7"/>
					</onStateEnter>
					
					<onMouseOver>
						<action target="Scene" name="SetCursor" param="zoom"/>
					</onMouseOver>
					
					<onClick>
						<action target="Drawer1" name="SendEvent" param="closeWindow"/>
						<action target="Drawer2" name="SendEvent" param="closeWindow"/>
						<action target="Drawer3" name="SendEvent" param="closeWindow"/>
						<action target="Drawer4" name="SendEvent" param="closeWindow"/>
						<action target="Drawer5" name="SendEvent" param="closeWindow"/>
						<action target="Drawer6" name="SendEvent" param="closeWindow"/>
						<action target="Drawer7" name="SendEvent" param="closeWindow"/>
						<action target="Drawer8" name="SendEvent" param="closeWindow"/>
						<action target="Drawer9" name="SendEvent" param="closeWindow"/>
						<action target="Drawer10" name="SendEvent" param="closeWindow"/>

						<action target="Scene" name="OpenWindow" param="Drawer7Window"/>
						<action target="Drawer7" name="SetState" param="open"/>
						<action target="Scene" name="PlaySound" param="open_drawer"/>
					</onClick>
				</state>
				
				<state name="open">
					<onStateEnter>
						<action target="Scene" name="ShowLayer" param="Drawer7"/>
					</onStateEnter>
					
					<onClick>
						<action target="Scene" name="OpenWindow" param="Drawer7Window"/>
					</onClick>
					
					<onEvent name="closeWindow">
						<action target="Scene" name="CloseWindow" param="Drawer7Window"/>
						<action target="Drawer7" name="SetState" param="clickable"/>
					</onEvent>
				</state>
			</states>
		</object>
	
		<object name="Drawer8">
			<clickStrategy type="rect" left="328" top="362" right="350" bottom="388"/>
			<states>
				<state name="clickable">
					<onStateEnter>
						<action target="Scene" name="HideLayer" param="Drawer8"/>
					</onStateEnter>
					
					<onMouseOver>
						<action target="Scene" name="SetCursor" param="zoom"/>
					</onMouseOver>
					
					<onClick>				
						<action target="Drawer1" name="SendEvent" param="closeWindow"/>
						<action target="Drawer2" name="SendEvent" param="closeWindow"/>
						<action target="Drawer3" name="SendEvent" param="closeWindow"/>
						<action target="Drawer4" name="SendEvent" param="closeWindow"/>
						<action target="Drawer5" name="SendEvent" param="closeWindow"/>
						<action target="Drawer6" name="SendEvent" param="closeWindow"/>
						<action target="Drawer7" name="SendEvent" param="closeWindow"/>
						<action target="Drawer8" name="SendEvent" param="closeWindow"/>
						<action target="Drawer9" name="SendEvent" param="closeWindow"/>
						<action target="Drawer10" name="SendEvent" param="closeWindow"/>						
						
						<action target="Scene" name="OpenWindow" param="Drawer8Window"/>
						<action target="Drawer8" name="SetState" param="open"/>
						<action target="Scene" name="PlaySound" param="open_drawer"/>
					</onClick>
				</state>
				
				<state name="open">
					<onStateEnter>
						<action target="Scene" name="ShowLayer" param="Drawer8"/>
					</onStateEnter>
					
					<onClick>
						<action target="Scene" name="OpenWindow" param="Drawer8Window"/>
					</onClick>
					
					<onEvent name="closeWindow">
						<action target="Scene" name="CloseWindow" param="Drawer8Window"/>
						<action target="Drawer8" name="SetState" param="clickable"/>
					</onEvent>
				</state>
			</states>
		</object>
	
		<object name="Drawer9">	
			<clickStrategy type="rect" left="432" top="407" right="492" bottom="432"/>
			<states>
				<state name="clickable">
					<onStateEnter>
						<action target="Scene" name="HideLayer" param="Drawer9"/>
					</onStateEnter>
					
					<onMouseOver>
						<action target="Scene" name="SetCursor" param="zoom"/>
					</onMouseOver>
					
					<onClick>
						<action target="Drawer1" name="SendEvent" param="closeWindow"/>
						<action target="Drawer2" name="SendEvent" param="closeWindow"/>
						<action target="Drawer3" name="SendEvent" param="closeWindow"/>
						<action target="Drawer4" name="SendEvent" param="closeWindow"/>
						<action target="Drawer5" name="SendEvent" param="closeWindow"/>
						<action target="Drawer6" name="SendEvent" param="closeWindow"/>
						<action target="Drawer7" name="SendEvent" param="closeWindow"/>
						<action target="Drawer8" name="SendEvent" param="closeWindow"/>
						<action target="Drawer9" name="SendEvent" param="closeWindow"/>
						<action target="Drawer10" name="SendEvent" param="closeWindow"/>						
						
						<action target="Scene" name="OpenWindow" param="Drawer9Window"/>
						<action target="Drawer9" name="SetState" param="open"/>
						<action target="Scene" name="PlaySound" param="open_drawer"/>
					</onClick>
				</state>
				
				<state name="open">
					<onStateEnter>
						<action target="Scene" name="ShowLayer" param="Drawer9"/>
					</onStateEnter>
					
					<onClick>
						<action target="Scene" name="OpenWindow" param="Drawer9Window"/>
					</onClick>
					
					<onEvent name="closeWindow">
						<action target="Scene" name="CloseWindow" param="Drawer9Window"/>
						<action target="Drawer9" name="SetState" param="clickable"/>
					</onEvent>
				</state>
			</states>
		</object>
	
		<object name="Drawer10">
			<clickStrategy type="rect" left="379" top="413" right="431" bottom="435"/>
			<states>
				<state name="clickable">
					<onStateEnter>
						<action target="Scene" name="HideLayer" param="Drawer10"/>
					</onStateEnter>
					
					<onMouseOver>
						<action target="Scene" name="SetCursor" param="zoom"/>
					</onMouseOver>
					
					<onClick>
						<action target="Drawer1" name="SendEvent" param="closeWindow"/>
						<action target="Drawer2" name="SendEvent" param="closeWindow"/>
						<action target="Drawer3" name="SendEvent" param="closeWindow"/>
						<action target="Drawer4" name="SendEvent" param="closeWindow"/>
						<action target="Drawer5" name="SendEvent" param="closeWindow"/>
						<action target="Drawer6" name="SendEvent" param="closeWindow"/>
						<action target="Drawer7" name="SendEvent" param="closeWindow"/>
						<action target="Drawer8" name="SendEvent" param="closeWindow"/>
						<action target="Drawer9" name="SendEvent" param="closeWindow"/>
						<action target="Drawer10" name="SendEvent" param="closeWindow"/>						
						
						<action target="Scene" name="OpenWindow" param="Drawer10Window"/>
						<action target="Drawer10" name="SetState" param="open"/>
						<action target="Scene" name="PlaySound" param="open_drawer"/>
					</onClick>
				</state>
				
				<state name="open">
					<onStateEnter>
						<action target="Scene" name="ShowLayer" param="Drawer10"/>
					</onStateEnter>
					
					<onClick>
						<action target="Scene" name="OpenWindow" param="Drawer10Window"/>
					</onClick>
					
					<onEvent name="closeWindow">
						<action target="Scene" name="CloseWindow" param="Drawer10Window"/>
						<action target="Drawer10" name="SetState" param="clickable"/>
					</onEvent>
				</state>
			</states>
		</object>
	
	
		<object name="VideoCase">
			<clickStrategy type="alpha" layer="VideoCase"/>
			<states>
				<state name="closed">
					<onStateEnter>
						<action target="Scene" name="HideLayer" param="VideoCase"/>
					</onStateEnter>
					
					<onMouseOver>
						<action target="Scene" name="SetCursor" param="zoom"/>
					</onMouseOver>
					
					<onClick>
						<action target="Scene" name="OpenWindow" param="VideoCaseWindow"/>						
					</onClick>
					
					<onUseObject name="Key">
						<action target="Scene" name="OpenWindow" param="VideoCaseWindow"/>
						<action target="Scene" name="RemoveFromInventory" param="Key"/>
						<action target="VideoCase" name="SetState" param="openWithTape"/>
					</onUseObject>
				</state>
				
				<state name="openWithTape">
					<onStateEnter>
						<action target="Scene" name="ShowLayer" param="VideoCase"/>
					</onStateEnter>
					
					<onMouseOver>
						<action target="Scene" name="SetCursor" param="zoom"/>
					</onMouseOver>
					
					<onClick>
						<action target="Scene" name="OpenWindow" param="VideoCaseWindow"/>
					</onClick>
				</state>
				
				<state name="openNoTape">
					<onStateEnter>
						<action target="Scene" name="CloseWindow" param="VideoCaseWindow" delay="60"/>
						<action target="Scene" name="ShowLayer" param="VideoCase"/>
						<action target="Scene" name="PlaySound" param="take_tape"/>
					</onStateEnter>
				</state>
			</states>
		</object>
		
		<object name="VideoConsole">
			<clickStrategy type="rect" left="100" top="204" right="166" bottom="308"/>
			<states>
				<state name="idle">
					<onStateEnter>
						<action target="Scene" name="HideLayer" param="VHS1Full"/>
						<action target="Scene" name="HideLayer" param="VHS2Full"/>
						<!--<action target="Scene" name="StartAnimation" param="TapeAnim"/>-->
					</onStateEnter>
					
					<onMouseOver>
						<action target="Scene" name="SetCursor" param="zoom"/>
					</onMouseOver>
					
					<onClick>
						<action target="Scene" name="OpenWindow" param="VideoConsoleWindow"/>
						<action target="Scene" name="ShowDialog" param="vcr_click"/>
					</onClick>
					
					<onUseObject name="VHSEmpty">
						<action target="VideoConsole" name="SetState" param="withEmptyTape"/>
						<action target="Scene" name="RemoveFromInventory" param="VHSEmpty"/>
						<action target="Scene" name="OpenWindow" param="VideoConsoleWindow"/>
						<action target="Scene" name="PlaySound" param="load_tape"/>
					</onUseObject>
				</state>
				
				<state name="withEmptyTape">
					<onStateEnter>
						<action target="Scene" name="ShowLayer" param="VHS1Full"/>
						<action target="Scene" name="HideLayer" param="VHS2Full"/>
					</onStateEnter>
					
					<onMouseOver>
						<action target="Scene" name="SetCursor" param="zoom"/>
					</onMouseOver>
										
					<onClick>
						<action target="Scene" name="OpenWindow" param="VideoConsoleWindow"/>
					</onClick>
				</state>
				
				<state name="recording">
					<onStateEnter>
						<action target="Scene" name="ShowLayer" param="VHS1Full"/>
						<action target="Scene" name="HideLayer" param="VHS2Full"/>
					</onStateEnter>
					
					<onMouseOver>
						<action target="Scene" name="SetCursor" param="zoom"/>
					</onMouseOver>					
					
					<onClick>
						<action target="Scene" name="OpenWindow" param="VideoConsoleWindow"/>
					</onClick>
				</state>
				
				<state name="ejecting">
					<onStateEnter>
						<action target="Scene" name="HideLayer" param="VHS1Full"/>
						<action target="Scene" name="HideLayer" param="VHS2Full"/>
						<action target="Scene" name="PlaySound" param="unload_tape"/>
					</onStateEnter>
					
					<onMouseOver>
						<action target="Scene" name="SetCursor" param="zoom"/>
					</onMouseOver>					
					
					<onClick>
						<action target="Scene" name="OpenWindow" param="VideoConsoleWindow"/>
					</onClick>
				</state>
				
				<state name="empty">
					<onStateEnter>
						<action target="Scene" name="HideLayer" param="VHS1Full"/>
						<action target="Scene" name="HideLayer" param="VHS2Full"/>
					</onStateEnter>
					
					<onMouseOver>
						<action target="Scene" name="SetCursor" param="zoom"/>
					</onMouseOver>					
					
					<onUseObject name="VHSFull">
						<action target="VideoConsole" name="SetState" param="withFullTape"/>
						<action target="Scene" name="RemoveFromInventory" param="VHSFull"/>
						<action target="Scene" name="OpenWindow" param="VideoConsoleWindow"/>
						<action target="Scene" name="PlaySound" param="load_tape"/>
					</onUseObject>
					
					<onClick>
						<action target="Scene" name="OpenWindow" param="VideoConsoleWindow"/>
					</onClick>
				</state>
				
				<state name="withFullTape">
					<onStateEnter>
						<action target="Scene" name="HideLayer" param="VHS1Full"/>
						<action target="Scene" name="ShowLayer" param="VHS2Full"/>
					</onStateEnter>
					
					<onMouseOver>
						<action target="Scene" name="SetCursor" param="zoom"/>
					</onMouseOver>
										
					<onClick>
						<action target="Scene" name="OpenWindow" param="VideoConsoleWindow"/>
					</onClick>
				</state>
				
				<state name="playing">
					<onStateEnter>
						<action target="Scene" name="CloseWindow" param="VideoConsoleWindow" delay="60"/>
						<action target="Scene" name="HideLayer" param="VHS1Full"/>
						<action target="Scene" name="ShowLayer" param="VHS2Full"/>
						<action target="Door" name="SendEvent" param="unlockDoor"/>
						<action target="Scene" name="ShowDialog" param="tape_playing"/>
					</onStateEnter>
				</state>
			</states>
		</object>
		
		<object name="Door">
			<clickStrategy type="alpha" layer="Door"/>
			<states>
				<state name="secured">
					<onStateEnter>
						<action target="Scene" name="StartAnimation" param="GrateAnim"/>
					</onStateEnter>
					
					<onMouseOver>
						<action target="Scene" name="SetCursor" param="noExit"/>
					</onMouseOver>
					
					<onClick>
						<action target="Scene" name="ShowDialog" param="door_click"/>
					</onClick>
					
					<onEvent name="unlockDoor">
						<action target="Door" name="SetState" param="unlocked"/>
					</onEvent>
					
					<onEvent name="grateDown">
						<action target="Door" name="SetState" param="secured_grateDown"/>
					</onEvent>
				</state>
				
				<state name="secured_grateDown">
					<onMouseOver>
						<action target="Scene" name="SetCursor" param="noExit"/>
					</onMouseOver>
					
					<onClick>
						<action target="Scene" name="ShowDialog" param="door_click"/>
					</onClick>
					
					<onEvent name="unlockDoor">
						<action target="Door" name="SetState" param="unlocked_grateDown"/>
					</onEvent>
					
					<onEvent name="grateRaised">
						<action target="Door" name="SetState" param="secured"/>
					</onEvent>
				</state>
				
				<state name="unlocked">
					<onMouseOver>
						<action target="Scene" name="SetCursor" param="exit"/>
					</onMouseOver>
					
					<onClick>
						<action target="Scene" name="RegisterVictoryCondition" param=""/>
					</onClick>
					
					<onEvent name="grateDown">
						<action target="Door" name="SetState" param="unlocked_grateDown"/>
					</onEvent>
				</state>
				
				<state name="unlocked_grateDown">
					<onMouseOver>
						<action target="Scene" name="SetCursor" param="noExit"/>
					</onMouseOver>
					
					<onEvent name="grateRaised">
						<action target="Door" name="SetState" param="unlocked"/>
					</onEvent>
				</state>
			</states>
		</object>
		
		<object name="LightLevel1">
			<states>
				<state name="off">
					<onStateEnter>
						<action target="Scene" name="ShowLayer" param="LightLevel1"/>
					</onStateEnter>
				</state>
				
				<state name="on">
					<onStateEnter>
						<action target="Scene" name="HideLayer" param="LightLevel1"/>
					</onStateEnter>
				</state>				
			</states>
		</object>
		
		<object name="LightLevel2">
			<states>
				<state name="off">
					<onStateEnter>
						<action target="Scene" name="ShowLayer" param="LightLevel2"/>
					</onStateEnter>
				</state>
				
				<state name="on">
					<onStateEnter>
						<action target="Scene" name="HideLayer" param="LightLevel2"/>
					</onStateEnter>
				</state>
			</states>
		</object>
	</objects>
</scene>

