<Scene name="dlg_Bedroom" image="Bedroom" type="StripesUI_DialogScene" hide_ui="1" dialog="BEDROOM_DIALOG" music_volume_multiplier="0.3" auto_advance="0" portraits="0">

	<Audio source="Chapter1"/>
	<Action name="dlg_Bedroom_finish" type="SwitchScene" scene="Bedroom" effect="none"/>

	<Object type="ImageBox" image="SCENE_door_open" x="468" y="187" />

	<Object type="ImageBox" image="ADD_light_door" x="523" y="216" click_through="1" reset_animators="0">
		<Animator type="AlphaChanger" periods="-1" function="sine" offset="200" amplitude="55" speed="0.25"/>
	</Object>
	<Object type="ImageBox" image="scene_anim_branch" x="0" y="112" center_x="0" center_y="0" reset_animators="0">
		<Animator type="Rotator" periods="-1" function="sine" offset="0" amplitude="1" speed="0.25"/>
	</Object>
	<Object type="ImageBox" image="scene_mask_window" x="0" y="107" />
	<Object type="ImageBox" image="ADD_light_0" x="0" y="79" click_through="1" reset_animators="0">
		<Animator type="AlphaChanger" periods="-1" function="sine" offset="200" amplitude="55" speed="0.25"/>
	</Object>
	<Object type="ImageBox" image="ADD_light_1" x="0" y="215" click_through="1" reset_animators="0">
		<Animator type="AlphaChanger" periods="-1" function="sine" offset="200" amplitude="55" speed="0.25"/>
	</Object>
	<Object type="ImageBox" image="ADD_light_2" x="755" y="126" click_through="1" reset_animators="0">
		<Animator type="ScalerX" periods="-1" function="sine" offset="1" amplitude="0.05" speed="1"/>
		<Animator type="ScalerY" periods="-1" function="sine" offset="1" amplitude="0.05" speed="1"/>
	</Object>


	<!-- Mother anim -->
	<Object type="Container" x="0" y="0" w="1024" h="768" center_x="550" center_y="290" reset_animators="0">

		<Object type="ImageBox" image="add_mother_glow" x="454" y="105" alpha="0">
			<Animator type="AlphaChanger" periods="-1" function="sine" timer="0.75" offset="50" amplitude="50" speed="1"/>
			<Animator type="ScalerX" periods="-1" function="saw" timer="0.5" offset="1" amplitude="0.5" speed="1"/>
		</Object>

		<Object type="ImageBox" image="add_mother_glow" x="454" y="105" alpha="0">
			<Animator type="AlphaChanger" periods="-1" function="sine" timer="0.25" offset="50" amplitude="50" speed="1"/>
			<Animator type="ScalerX" periods="-1" function="saw" offset="1" amplitude="0.5" speed="1"/>
		</Object>

		<Object type="ImageBox" image="add_mother_glow" x="454" y="105" alpha="0">
			<Animator type="AlphaChanger" periods="-1" function="sine" timer="0.125" offset="50" amplitude="50" speed="1"/>
			<Animator type="ScalerX" periods="-1" function="saw" offset="2" amplitude="0.5" speed="1"/>
		</Object>

		<Animator type="AlphaChanger" offset="0" amplitude="255" speed="1"/>

	</Object>

	<if t="$dialog_counter == 1">
		<Action type="PlaySound" sound="mother_appear"/>
		<Object type="ImageBox" image="add_mother" click_through="1" x="490" y="137" alpha="0" reset_animators="0">
			<Animator type="AlphaChanger" offset="0" amplitude="255" speed="1" delay="1"/>
			<Animator type="ScalerX" periods="0.25" function="sine" offset="0.85" amplitude="0.15" speed="0.25" delay="1"/>
			<Animator type="ScalerY" periods="0.25" function="sine" offset="0.85" amplitude="0.15" speed="0.25" delay="1"/>
		</Object>
		<Action type="UnlockScene"/>
	</if>
	<if t="$dialog_counter } 1">
		<Object type="ImageBox" image="add_mother" click_through="1" x="490" y="137" alpha="255"/>
		<Action type="SetVar" var="dlg_tutorial_ok" value="1" reset="0"/>
	</if>



</Scene>