<?xml version="1.0" ?>

<DialogFile>
    <Sequence name="INTRO_DIALOG">
		<Action type="PlaySound" sound="intro_track" fade_time="2" loop="1"/>
		<Action type="SetVar" var="game_init" value="1" reset="0"/>
		<Action type="SetVar" var="skip_action" value="skip_cockpit_intro"/>

		<Action type="CommandCharacter" chr="kralek">
			<Job type="SetOrientation" direction="NW"/>
		</Action>


		<Dialog chr="brawe" text="INTRO_00_BRAWE"/>

		<Dialog chr="kralek" text="INTRO_01_KRALEK"/>
		<Job chr="brawe" type="SetOrientation" direction="SE"/>
		<Dialog chr="brawe" text="INTRO_02_BRAWE"/>

		<Action type="SetVar" var="click_to_continue_visible" value="0" reset="0"/>
		<Action type="SetVar" var="click_to_continue_textkey" value="CLICK_TO_CONTINUE_EMPTY_01" reset="0"/>
		<Action type="SendEventToObject" obj_name="LABEL_CLICK_TO_CONTINUE" event="UpdateText"/>

		<Job chr="brawe" type="Move" x="134" y="275"/>
		<Job chr="brawe" type="SetOrientation" direction="S"/>
		
		<Job chr="kralek" type="SetOrientation" direction="W"/>
		<Dialog chr="brawe" text="INTRO_03_BRAWE"/>		
		<Dialog chr="kralek" text="INTRO_04_KRALEK"/>
		<Job chr="brawe" type="SetOrientation" direction="E"/>
		<Dialog chr="brawe" text="INTRO_11_BRAWE"/>
		<Dialog chr="kralek" text="INTRO_12_KRALEK"/>

		<Action type="PlaySound" sound="intercom" loop="1"/>
		<Action type="StopSound" sound="intro_track" fade_time="2"/>
		<Action type="PlaySound" sound="wrag" fade_time="2" loop="1"/>

		<Action type="CommandCharacter" chr="brawe">
			<Job type="Move" x="190" y="280"/>
			<Job type="SetOrientation" direction="NE"/>
		</Action>
		<Action type="CommandCharacter" chr="kralek">
			<Job type="SetOrientation" direction="W"/>
		</Action>
		<Action type="SetVar" var="game_begin" value="1" reset="0"/>

		<Dialog chr="ship_comm" text="INTRO_13_DISTRESS_CALL" /> <!-- 270,150,FF0000 -->

		<Action type="StopSound" sound="intercom" fade_time="0"/>

		<Action type="CommandCharacter" chr="brawe">
			<Job type="Move" x="143" y="270"/>
			<Job type="SetOrientation" direction="SE"/>
		</Action>

		<Dialog chr="brawe" text="INTRO_14_BRAWE"/>
		<Dialog chr="brawe" text="INTRO_15_BRAWE"/>
		<!-- <Job chr="kralek" type="SetOrientation" direction="W"/> -->
		<Dialog chr="kralek" text="INTRO_16_KRALEK"/>
		<Dialog chr="brawe" text="INTRO_17_BRAWE"/>
		<Dialog chr="kralek" text="INTRO_18_KRALEK"/>
		<Dialog chr="brawe" text="INTRO_22_BRAWE"/>
		<Dialog chr="kralek" text="INTRO_23_KRALEK"/>
		<Dialog chr="brawe" text="INTRO_24_BRAWE"/>
		<Dialog chr="kralek" text="INTRO_25_KRALEK"/>
		<Action type="StopSound" sound="wrag" fade_time="2"/>
		<Action type="SetVar" var="skip_action" value="0" reset="0"/>
		<Action type="SetVar" var="skipping_intro" value="1" reset="0"/> <!-- ovo je posudjena funkcionalnost da se Kralek ne okrene -->
		<Action type="SetVar" var="cockpit_music" value="1"/>
		<Redirect to="start_tutorial_root"/>
    </Sequence>

	<Sequence name="SEQ_COCKPIT_SKIP_INTRO">
		<Action type="DebugPrint" text="COCKPIT SKIP INTRO"/>
		<Action type="SetVar" var="skip_action" value="0" reset="0"/>
		<Action type="CommandCharacter" chr="kralek">
			<Job type="SetOrientation" direction="NW"/>
			<Job type="DebugPrint" text="Kralek se okrenuo"/>
		</Action>
		<Action type="CommandCharacter" chr="brawe">
			<Job type="Move" x="143" y="270"/>
			<Job type="SetOrientation" direction="SE"/>
		</Action>
		<Dialog chr="kralek" text="INTRO_25_KRALEK"/>
		<Action type="SetVar" var="game_begin" value="1" reset="0"/>
		<Action type="SetVar" var="cockpit_music" value="1"/>
		<Redirect to="start_tutorial_root"/>
	</Sequence>

	<Sequence name="SEQ_CAPTAINS_CHAIR">
		<Dialog chr="brawe" text="KAPTAINS_CHAIR_BRAWE_01"/>
		<Job condition="not $kralek_in_engine_room and not $kralek_knocked_in_mazslow" chr="kralek" type="SetOrientation" direction="NW"/>
		<Dialog condition="not $kralek_in_engine_room and not $kralek_knocked_in_mazslow" chr="kralek" text="KAPTAINS_CHAIR_KRALEK_01"/>
		<Action type="ResetScene"/>
		<Redirect to="__END__"/>
	</Sequence>

</DialogFile>