<tutorial>
	<step id="0" activate="unlock_window_close" complete="tower_built">
		<condition level="0" episode="0" shop="-1"/>
		<show folder="stage2">
			<text place="stage2/_text" string="stage2_text"/>
		</show>
		<cmds>
			<cmd param="pause" value="1"/>
			<cmd param="blockUI" value="2"/>
			<cmd param="spot" value="9"/>
		</cmds>
		<onComplete>
			<cmd param="blockUI" value="1"/>
			<cmd param="spot" value="-1"/>
		</onComplete>
	</step>

	<step id="1" activate="tower_built" complete="game_play">
		<condition level="0" episode="0" shop="-1"/>
		<show folder="stage3">
			<text place="stage3/_text" string="stage3_text"/>
		</show>
		<cmds>
			<cmd param="dropChanceOverride" value="1"/>
		</cmds>
		<onComplete>
			<cmd param="pause" value="0"/>
			<cmd param="blockUI" value="0"/>
		</onComplete>
	</step>

	<step id="2" activate="gem_dropped" complete="gem_collected">
		<condition level="0" episode="0" shop="-1"/>
		<show folder="stage4">
			<text place="stage4/_text" string="stage4_text"/>
		</show>
		<cmds>
			<cmd param="dropChanceOverride" value="0"/>
			<cmd param="pause" value="1"/>
		</cmds>
		<onComplete>
			<cmd param="pause" value="0"/>
		</onComplete>
	</step>	

	<step id="3" activate="shop_open" complete="shop_upgrade_bought">
		<condition level="-1" episode="-1" shop="1"/>
		<show folder="stage5">
			<text place="stage5/_text" string="stage5_text"/>
		</show>
		<cmds>
			<cmd param="addGems" value="4"/>
			<cmd param="blockShop" value="1"/>
		</cmds>
		<onComplete>
			<cmd param="blockShop" value="0"/>
		</onComplete>
	</step>	

	<step id="4" activate="shop_upgrade_bought" complete="shop_state_changed">
		<condition level="-1" episode="-1" shop="1"/>
		<show folder="stage6">
			<text place="stage6/_text" string="stage6_text"/>
		</show>
	</step>	

	<step id="5" activate="wave_vanish_2" complete="buildspot_bought">
		<condition level="0" episode="0" shop="-1"/>
		<show folder="stage7">
			<text place="stage7/_text" string="stage7_text"/>
		</show>
		<cmds>
			<cmd param="pause" value="1"/>
			<cmd param="addGems" value="2"/>
			<cmd param="blockUI" value="2"/>
			<cmd param="spot" value="5"/>
		</cmds>
		<onComplete>
			<cmd param="blockUI" value="0"/>
			<cmd param="pause" value="0"/>
			<cmd param="spot" value="-1"/>
		</onComplete>
	</step>	

	<step id="51" activate="buildspot_bought" complete="tower_built">
		<condition level="0" episode="0" shop="-1"/>
		<show folder="stage7_1">
			<text place="stage7_1/_text" string="stage7_1_text"/>
		</show>
		<cmds>
			<cmd param="addMoney" value="50"/>
			<cmd param="pause" value="1"/>
			<cmd param="blockUI" value="1"/>
			<cmd param="spot" value="5"/>
		</cmds>
		<onComplete>
			<cmd param="blockUI" value="0"/>
			<cmd param="pause" value="0"/>
			<cmd param="spot" value="-1"/>
		</onComplete>
	</step>		

	<step id="6" activate="wave_vanish_1" complete="wave_forced">
		<condition level="0" episode="0" shop="-1"/>
		<show folder="stage8">
			<text place="stage8/_text02" string="stage8_text02"/>
			<text place="stage8/_text01" string="stage8_text01"/>
		</show>
		<cmds>
			<cmd param="pause" value="1"/>
			<cmd param="blockUI" value="3"/>
		</cmds>
		<onComplete>
			<cmd param="pause" value="0"/>
			<cmd param="blockUI" value="0"/>
		</onComplete>
	</step>

	<step id="7" activate="wave_1_spawned_2" complete="tower_upgraded">
		<condition level="0" episode="0" shop="-1"/>
		<show folder="stage9">
			<text place="stage9/_text" string="stage9_text"/>
		</show>
		<cmds>
			<cmd param="addMoney" value="200"/>
			<cmd param="blockUI" value="1"/>
			<cmd param="pause" value="1"/>
			<cmd param="spot" value="9"/>
		</cmds>
		<onComplete>
			<cmd param="spot" value="-1"/>
			<cmd param="blockUI" value="0"/>
			<cmd param="pause" value="0"/>
		</onComplete>
	</step>

	<step id="8" activate="wave_1_spawned_2" complete="spell_casted">
		<condition level="2" episode="0" shop="-1"/>
		<show folder="stage11">
			<text place="stage11/_text" string="stage11_text"/>
		</show>
		<cmds>
			<cmd param="pause" value="1"/>
			<cmd param="resetSpell" value="1"/>
		</cmds>
		<onComplete>
			<cmd param="pause" value="0"/>
		</onComplete>
	</step>

</tutorial>