<?xml version="1.0" ?>

<Scene name="Outro02_paper" hide_ui="1">

	<Audio source="Chapter4"/>

	<if t="$close_outro_paper == 0">
		<Action type="LockScene"/>
		<Object type="ImageBox" image="scene_address" x="280" y="222" alpha="0">
			<Animator type="ScalerX" periods="0.25" function="sine" offset="2" amplitude="-1" speed="0.25" delay="0.5"/>
			<Animator type="ScalerY" periods="0.25" function="sine" offset="2" amplitude="-1" speed="0.25" delay="0.5"/>
			<Animator type="MoverY" periods="0.25" function="sine" offset="444" amplitude="-222" speed="0.25" delay="0.5"/>
			<Animator type="AlphaChanger" periods="0.25" function="sine" offset="0" amplitude="255" speed="0.25" delay="0.5"/>
		</Object>

		<Object type="Label" name="LABEL_OUTRO_PAPER" text_key="$outro_paper_text" effect="border" font="normal:1.2" text_color="FFFFFF" horz_formatting="center_wrapped" vert_formatting="top" x="0" y="600" w="1024" h="400" alpha="0">
			<Animator type="AlphaChanger" offset="0" amplitude="255" speed="2" delay="1.5"/>
		</Object>

		<Animator type="DelayedAction" time="1.5">
			<Action type="SetVar" var="outro_paper_text" value="OUTRO_PAPER" reset="0"/>
			<Action type="SendEventToObject" obj_name="LABEL_OUTRO_PAPER" event="UpdateText"/>
			<Action type="UnlockScene"/>
		</Animator>
	<else>
		<Object type="ImageBox" image="scene_address" x="280" y="222" alpha="255">
			<Animator type="ScalerX" periods="0.25" function="sine" offset="1" amplitude="1" speed="0.25"/>
			<Animator type="ScalerY" periods="0.25" function="sine" offset="1" amplitude="1" speed="0.25"/>
			<Animator type="MoverY" periods="0.25" function="sine" offset="222" amplitude="222" speed="0.25"/>
			<Animator type="AlphaChanger" periods="0.25" function="sine" offset="255" amplitude="-255" speed="0.25"/>
		</Object>
		<Object type="Label" name="LABEL_OUTRO_PAPER2" text_key="OUTRO_PAPER" effect="border" font="normal:1.2" text_color="FFFFFF" horz_formatting="center_wrapped" vert_formatting="top" x="0" y="600" w="1024" h="400" alpha="0">
			<Animator type="AlphaChanger" offset="255" amplitude="-255" speed="2"/>
		</Object>
		<Action type="UnlockAchievement" achievement="finish_p3"/>
		<Action type="SwitchScene" scene="Yard" fade_time="1"/>
	</else>
	</if>

	<Action color="00000000" condition="$close_outro_paper == 0" type="Composite">
		<Action type="SetVar" var="close_outro_paper" value="1"/>
	</Action>

	<if t="$is_widescreen == 1">
		<Object type="ImageBox" image="0x000000" x="0" y="0" w="1024" h="141"/>
		<Object type="ImageBox" image="0x000000" x="0" y="684" w="1024" h="84"/>
	<else>
		<Object type="ImageBox" image="0x000000" x="0" y="0" w="1024" h="84"/>
		<Object type="ImageBox" image="0x000000" x="0" y="684" w="1024" h="84"/>
	</else>
	</if>

	<Action type="PlaySound" sound="sfx_paper1"/>

</Scene>