<?xml version="1.0" standalone="no" ?>
<Main>
    <Common 
    	
    	WinGoTOLoc_="loc_07_03"
    	NeedInventory="0"
    	
    	startMessageNum = "-1"
    	finMessageNum = "1"

    	mainCursor = "cursor/cursor"
     	secondCursor="cursor/cursor"
	
	music = "audio/music/L_S_2_5.ogg"
	ambient = "audio/ambient/Minigame_map_and_stones/compound_breeze_paper.ogg"

    	win_counter = "0.5"

    	text = "MiniGame04Text"
    	text_pos = "485,735"
    	text_angle = "0"    	   	
	strPanelText="mg04_textPanel"
	sPanelTextAfterAllDone="mg04_textPanelAfterAllDone"
	ShowAnimAfterAllDone = "mg04/stack_map.xml"
	PictPrize_ = ""
	StartPictIndToHideAfterAllDone = "1"
	ShowAnimAfterSelectPrize_ = ""
	TimePauseBetweenTrunkUnlockAndOpen="0.3"
    />



<Pict  pos = "0,0"  scale = "1" useMask="1" atlas_xml = "mg04/mg04Atlas">
	<Item name="mg04/background" x="0" y="0" fileName="mg04/background"/>
	<Item name="karta/map" x="190" y="82" vis = "0" ForTool="PlaceMap"/>
	<Item name="mg04/anim/12.xml" x="722" y="395" animation = "1" DependOn = "mg04/st12" visibleTypeDepend="1"/>
	<Item name="mg04/anim/12_1_right" x="722" y="395" fileName="mg04/anim/12_1_right" vis = "0"  DependOn = "mg04/st12" visibleTypeDepend="-1"/>
	<Item name="mg04/anim/11.xml" x="503" y="370" animation = "1"  DependOn = "mg04/st11" visibleTypeDepend="1"/>
	<Item name="mg04/anim/11_1_right" x="503" y="370" fileName="mg04/anim/11_1_right" vis = "0"  DependOn = "mg04/st11" visibleTypeDepend="-1"/>
	<Item name="mg04/anim/10.xml" x="338" y="349" animation = "1"  DependOn = "mg04/st10" visibleTypeDepend="1"/>
	<Item name="mg04/anim/10_1_right" x="338" y="349" fileName="mg04/anim/10_1_right" vis = "0"  DependOn = "mg04/st10" visibleTypeDepend="-1"/>
	<Item name="mg04/anim/09.xml" x="145" y="355" animation = "1"  DependOn = "mg04/st9" visibleTypeDepend="1"/>
	<Item name="mg04/anim/09_1_right" x="145" y="355" fileName="mg04/anim/09_1_right" vis = "0"  DependOn = "mg04/st9" visibleTypeDepend="-1"/>
	<Item name="mg04/anim/08.xml" x="717" y="198" animation = "1"  DependOn = "mg04/st8" visibleTypeDepend="1"/>
	<Item name="mg04/anim/08_1_right" x="717" y="198" fileName="mg04/anim/08_1_right" vis = "0"  DependOn = "mg04/st8" visibleTypeDepend="-1"/>
	<Item name="mg04/anim/07.xml" x="522" y="195" animation = "1"  DependOn = "mg04/st7" visibleTypeDepend="1"/>
	<Item name="mg04/anim/07_1_right" x="522" y="195" fileName="mg04/anim/07_1_right" vis = "0"  DependOn = "mg04/st7" visibleTypeDepend="-1"/>
	<Item name="mg04/anim/06.xml" x="320" y="183" animation = "1"  DependOn = "mg04/st6" visibleTypeDepend="1"/>
	<Item name="mg04/anim/06_1_right" x="320" y="183" fileName="mg04/anim/06_1_right" vis = "0"  DependOn = "mg04/st6" visibleTypeDepend="-1"/>
	<Item name="mg04/anim/05.xml" x="142" y="223" animation = "1"  DependOn = "mg04/st5" visibleTypeDepend="1"/>
	<Item name="mg04/anim/05_1_right" x="142" y="223" fileName="mg04/anim/05_1_right" vis = "0"  DependOn = "mg04/st5" visibleTypeDepend="-1"/>
	<Item name="mg04/anim/04.xml" x="670" y="39"  animation = "1"  DependOn = "mg04/st4" visibleTypeDepend="1"/>
	<Item name="mg04/anim/04_1_right" x="670" y="39" fileName="mg04/anim/04_1_right" vis = "0"  DependOn = "mg04/st4" visibleTypeDepend="-1"/>
	<Item name="mg04/anim/03.xml" x="481" y="38"  animation = "1"  DependOn = "mg04/st3" visibleTypeDepend="1"/>
	<Item name="mg04/anim/03_1_right" x="481" y="38" fileName="mg04/anim/03_1_right" vis = "0"  DependOn = "mg04/st3" visibleTypeDepend="-1"/>
	<Item name="mg04/anim/02.xml" x="309" y="30"  animation = "1"  DependOn = "mg04/st2" visibleTypeDepend="1"/>
	<Item name="mg04/anim/02_1_right" x="309" y="30" fileName="mg04/anim/02_1_right" vis = "0"  DependOn = "mg04/st2" visibleTypeDepend="-1"/>
	<Item name="mg04/anim/01.xml" x="124" y="29"  animation = "1"  DependOn = "mg04/st1" visibleTypeDepend="1"/>
	<Item name="mg04/anim/01_1_right" x="124" y="29" fileName="mg04/anim/01_1_right" vis = "0"  DependOn = "mg04/st1" visibleTypeDepend="-1"/>

	<Item name="mg04/st5_"  x="186" y="60" />
	<Item name="mg04/st5"   x="192" y="73" />
	<Item name="mg04/st7_"  x="370" y="75" />
	<Item name="mg04/st7"   x="377" y="87" />
	<Item name="mg04/st11_" x="544" y="84" />
	<Item name="mg04/st11"  x="550" y="97" />
	<Item name="mg04/st9_"  x="764" y="75" />
	<Item name="mg04/st9"   x="771" y="89" />
	<Item name="mg04/st12_" x="189" y="263" />
	<Item name="mg04/st12"  x="195" y="278" />
	<Item name="mg04/st2_"  x="383" y="213" />
	<Item name="mg04/st2"   x="390" y="227" />
	<Item name="mg04/st8_"  x="595" y="219" />
	<Item name="mg04/st8"   x="602" y="233" />
	<Item name="mg04/st3_"  x="780" y="275" />
	<Item name="mg04/st3"   x="787" y="288" />
	<Item name="mg04/st4_"  x="210" y="442" />
	<Item name="mg04/st4"   x="216" y="455" />
	<Item name="mg04/st6_"  x="413" y="433" />
	<Item name="mg04/st6"   x="420" y="446" />
	<Item name="mg04/st1_"  x="605" y="446" />
	<Item name="mg04/st1"   x="610" y="460" />
	<Item name="mg04/st10_" x="787" y="467" />
	<Item name="mg04/st10"  x="800" y="480" />
	<Item name="mg04/st13_" x="46"  y="271" />
	<Item name="mg04/st13"  x="53" y="287" />

	<Item name="mg04/anim/fly12.xml" x="722" y="395" animation = "1"  vis = "0"/>
	<Item name="mg04/anim/fly11.xml" x="503" y="370" animation = "1"  vis = "0"/>
	<Item name="mg04/anim/fly10.xml" x="338" y="349" animation = "1"  vis = "0"/>
	<Item name="mg04/anim/fly09.xml" x="145" y="355" animation = "1"  vis = "0"/>
	<Item name="mg04/anim/fly08.xml" x="717" y="198" animation = "1"  vis = "0"/>
	<Item name="mg04/anim/fly07.xml" x="522" y="195" animation = "1"  vis = "0"/>
	<Item name="mg04/anim/fly06.xml" x="320" y="183" animation = "1"  vis = "0"/>
	<Item name="mg04/anim/fly05.xml" x="142" y="223" animation = "1"  vis = "0"/>
	<Item name="mg04/anim/fly04.xml" x="670" y="39"  animation = "1"  vis = "0"/>
	<Item name="mg04/anim/fly03.xml" x="481" y="38"  animation = "1"  vis = "0"/>
	<Item name="mg04/anim/fly02.xml" x="309" y="30"  animation = "1"  vis = "0"/>
	<Item name="mg04/anim/fly01.xml" x="124" y="29"  animation = "1"  vis = "0"/>

	<Item name="karta/12_-_24" x="714" y="133" vis = "0"/>
	<Item name="karta/16_-_20" x="714" y="170" vis = "0"/>
	<Item name="karta/20_-_20" x="714" y="207" vis = "0"/>
	<Item name="karta/24_-_24" x="714" y="244" vis = "0"/>
	<Item name="karta/28_-_24" x="714" y="281" vis = "0"/>
	<Item name="karta/32_-_28" x="714" y="317" vis = "0"/>
	<Item name="karta/36_-_32" x="714" y="355" vis = "0"/>
	<Item name="karta/40_-_32" x="713" y="392" vis = "0"/>
	<Item name="karta/44_-_36" x="714" y="427" vis = "0"/>
	<Item name="karta/40_-_40" x="713" y="464" vis = "0"/>
	<Item name="karta/40_-_44" x="714" y="501" vis = "0"/>
	<Item name="karta/00" x="260" y="427"   vis = "0" DependOn = "karta/point02" visibleTypeDepend="1"/>
	<Item name="karta/00_1" x="307" y="472" vis = "0" DependOn = "karta/point03" visibleTypeDepend="1"/>
	<Item name="karta/00_2" x="353" y="427" vis = "0" DependOn = "karta/point04" visibleTypeDepend="1"/>
	<Item name="karta/00_3" x="400" y="426" vis = "0" DependOn = "karta/point05" visibleTypeDepend="1"/>
	<Item name="karta/00_4" x="447" y="382" vis = "0" DependOn = "karta/point06" visibleTypeDepend="1"/>
	<Item name="karta/00_5" x="492" y="335" vis = "0" DependOn = "karta/point07" visibleTypeDepend="1"/>
	<Item name="karta/00_6" x="538" y="333" vis = "0" DependOn = "karta/point08" visibleTypeDepend="1"/>
	<Item name="karta/00_7" x="585" y="288" vis = "0" DependOn = "karta/point09" visibleTypeDepend="1"/>
	<Item name="karta/00_8" x="585" y="242" vis = "0" DependOn = "karta/point010" visibleTypeDepend="1"/>
	<Item name="karta/00_9" x="583" y="195" vis = "0" DependOn = "karta/point11" visibleTypeDepend="1"/>
	<Item name="karta/point01" x="254" y="420" vis = "0"/>
	<Item name="karta/point02" x="300" y="466" vis = "0"/>
	<Item name="karta/point03" x="346" y="466" vis = "0"/>
	<Item name="karta/point04" x="393" y="421" vis = "0"/>
	<Item name="karta/point05" x="438" y="420" vis = "0"/>
	<Item name="karta/point06" x="486" y="373" vis = "0"/>
	<Item name="karta/point07" x="532" y="328" vis = "0"/>
	<Item name="karta/point08" x="579" y="327" vis = "0"/>
	<Item name="karta/point09" x="625" y="281" vis = "0"/>
	<Item name="karta/point010" x="578" y="235" vis = "0"/>
	<Item name="karta/point11" x="578" y="188" vis = "0"/>
	<Item name="karta/parus" x="432" y="303" vis = "0"/>
	<Item name="mg04/stack_map.xml" x="340" y="82" vis = "0" animation = "1" Tool="PlaceMap"/>
	</Pict>
	
	
	<MG04Game id = "MG04StoneGame" ProhibitionGameLogicEffect="EFF_PROHIBITION_MG04" 
	strPanelText = "mg04_textPanel1"
	>
		<Items>
			<GameSpace x = "0" y = "0" w = "1020" h = "621"/>
			<CorrectionCoord dx = "10" dy = "10" />
			<Item name="mg04/st13" />
			<Item name="mg04/st1"  placeRect="124;29;204;203"   dependPictEffFinPos = "180;69"/>
			<Item name="mg04/st2"  placeRect="309;30;204;174"   dependPictEffFinPos = "330;68"/>
			<Item name="mg04/st3"  placeRect="481;38;250;157"   dependPictEffFinPos = "470;69"/>
			<Item name="mg04/st4"  placeRect="670;39;201;172"   dependPictEffFinPos = "626;69"/>
			<Item name="mg04/st5"  placeRect="142;223;186;172"  dependPictEffFinPos = "182;237"/>
			<Item name="mg04/st6"  placeRect="320;183;214;177"  dependPictEffFinPos = "339;187"/>
			<Item name="mg04/st7"  placeRect="522;195;202;181"  dependPictEffFinPos = "503;199"/>
			<Item name="mg04/st8"  placeRect="717;198;173;217"  dependPictEffFinPos = "653;206"/>
			<Item name="mg04/st9"  placeRect="145;355;215;256"  dependPictEffFinPos = "182;342"/>
			<Item name="mg04/st10" placeRect="338;349;205;279"  dependPictEffFinPos = "343;319"/>
			<Item name="mg04/st11" placeRect="503;370;249;261"  dependPictEffFinPos = "474;337"/>
			<Item name="mg04/st12" placeRect="722;395;167;236"  dependPictEffFinPos = "659;361"/>
		</Items>
		<AddPictsForLogic>
			<Item name="mg04/anim/01.xml">
				<PlaceInfo Rect = "0;0;25;110" StopAnim="1"/>
				<PlaceInfo Rect = "100;70;20;40"/>
			</Item>
			<Item name="mg04/anim/02.xml">
				<PlaceInfo Rect = "5;0;15;70" StopAnim="1"/>
				<PlaceInfo Rect = "90;65;12;30"/>
			</Item>
			<Item name="mg04/anim/03.xml">
				<PlaceInfo Rect = "10;0;20;60" StopAnim="1"/>
				<PlaceInfo Rect = "100;55;20;15"/>
			</Item>
			<Item name="mg04/anim/04.xml">
				<PlaceInfo Rect = "35;60;10;20" StopAnim="1"/>
				<PlaceInfo Rect = "115;50;30;30"/>
			</Item>
			<Item name="mg04/anim/05.xml">
				<PlaceInfo Rect = "-5;0;20;70" StopAnim="1"/>
				<PlaceInfo Rect = "90;60;15;15"/>
			</Item>
			<Item name="mg04/anim/06.xml">
				<PlaceInfo Rect = "0;10;20;70" StopAnim="1"/>
				<PlaceInfo Rect = "95;10;15;10"/>
			</Item>
			<Item name="mg04/anim/07.xml">
				<PlaceInfo Rect = "0;0;20;70" StopAnim="1"/>
				<PlaceInfo Rect = "90;85;25;15"/>
			</Item>
			<Item name="mg04/anim/08.xml">
				<PlaceInfo Rect = "5;5;30;50" StopAnim="1"/>
				<PlaceInfo Rect = "90;100;60;15"/>
			</Item>
			<Item name="mg04/anim/09.xml">
				<PlaceInfo Rect = "-5;30;25;100" StopAnim="1"/>
				<PlaceInfo Rect = "100;95;20;40"/>
			</Item>
			<Item name="mg04/anim/10.xml">
				<PlaceInfo Rect = "10;10;25;140" StopAnim="1"/>
				<PlaceInfo Rect = "100;90;20;60"/>
			</Item>
			<Item name="mg04/anim/11.xml">
				<PlaceInfo Rect = "30;5;30;140" StopAnim="1"/>
				<PlaceInfo Rect = "120;100;30;50"/>
			</Item>
			<Item name="mg04/anim/12.xml">
				<PlaceInfo Rect = "20;10;15;130" StopAnim="1"/>
				<PlaceInfo Rect = "100;10;20;60"/>
			</Item>
		</AddPictsForLogic>
		<ShowPictsOnFinished showPictsEff = "EffMG04MapAppear">
			<Item name="karta/map"/>
			<Item name="karta/12_-_24"/>
			<Item name="karta/16_-_20"/>
			<Item name="karta/20_-_20"/>
			<Item name="karta/24_-_24"/>
			<Item name="karta/28_-_24"/>
			<Item name="karta/32_-_28"/>
			<Item name="karta/36_-_32"/>
			<Item name="karta/40_-_32"/>
			<Item name="karta/44_-_36"/>
			<Item name="karta/40_-_40"/>
			<Item name="karta/40_-_44"/>
		</ShowPictsOnFinished>
	</MG04Game>

	<MG04Game id = "MG04MapGame" ProhibitionGameLogicEffect__="EFF_PROHIBITION_MG04" strPanelText = "mg04_textPanel2" Ambient="audio/ambient/title_ambient_seagull.ogg">
		<Items obliterateColor="115,100,75,255">
			<GameSpace x = "0" y = "0" w = "1020" h = "621"/>
			<Item name="karta/point01"  obliteratePict = "karta/12_-_24"/>
			<Item name="karta/point02"  obliteratePict = "karta/16_-_20"/>
			<Item name="karta/point03"  obliteratePict = "karta/20_-_20"/>
			<Item name="karta/point04"  obliteratePict = "karta/24_-_24"/>
			<Item name="karta/point05"  obliteratePict = "karta/28_-_24"/>
			<Item name="karta/point06"  obliteratePict = "karta/32_-_28"/>
			<Item name="karta/point07"  obliteratePict = "karta/36_-_32"/>
			<Item name="karta/point08"  obliteratePict = "karta/40_-_32"/>
			<Item name="karta/point09"  obliteratePict = "karta/44_-_36"/>
			<Item name="karta/point010" obliteratePict = "karta/40_-_40"/>
			<Item name="karta/point11"  obliteratePict = "karta/40_-_44"/>
		</Items>
		<AddPictsForLogic>
			<Item name="karta/parus">
				<PlaceInfo Rect = "-55;-68;1;1"/>
			</Item>
		</AddPictsForLogic>
	</MG04Game>
	
	<ParticlesSystem_ textures="assets/particles/textures/" desc="should not contain emitters such as the main game contains one">
      		<Emitter1 file="particles/predmeti_new_show.ptc" positionMode="MAGIC_CHANGE_EMITTER_AND_PARTICLES" loop="MAGIC_NOLOOP"/>
	</ParticlesSystem_>

	<PanelBG name="backgrounds/pane_mg_bg.png" x="131" y="672" />
	<butContinue__ descript="butContinue;440,545,130,26;fonts/arial.mvec;128,128,128,255;255,255,255,255;0;mg04/anim/b_continue_x622_y700;mg04/anim/b_continue_x622_y700_pressed;mg04/anim/b_continue_x622_y700_mouseover"/>
	<butContinue   descript="butContinue;440,695,141,60;fonts/arial.mvec;128,128,128,255;255,255,255,255;0;buttons/b_continue;buttons/b_continue_pressed;buttons/b_continue_mouseover"/>

<GameTutor>
	<item id="MG04OnStartNextMG" time="1000000" OnMinigameEvent="MG04OnStartNextMG">
		<text name= "tut_MG04OnStartNextMG" />
	</item>
	<item id="MG04IncorrectSetMapPoint" time="1000000" OnMinigameEvent="MG04IncorrectSetMapPoint" CanFinish="0">
		<text name= "tut_MG04IncorrectSetMapPoint" />
	</item>
</GameTutor>

<MemoryTools  AppearanceEffect="EffToolAppearance" TextAboutTools="fonts/Kozuka_Mincho_Pro_B.mvec; 23; 740, 240, 201, 70; 20,19,16,255" TextureAboutTools="backgrounds/secrettoolhintbg.png">
	<Tool id = "KeyMedallion" lifeTime = "-1" blinkTime = "0" blinkblinkTime = "0" restoreTime = "5"
		imgCurs = "img_07/07_heart" imgCursComposite = "buttons/tools/07_heart_50x50" cursDx = "0" cursDy = "0" useForScreen="-1"
		sound = "audio/sfx/put.ogg"
		button="buttKey;0,0,96,96;buttons/tools/07_heart_sunduk;buttons/tools/07_heart_sunduk;buttons/tools/07_heart_sunduk;buttons/tools/07_heart_sunduk_silhouette"
		IgnoreSetVisibleForToolsCommand ="true"
		placeRect="-100,-100,64,55"
		CursorPointMiddleImage = "true"
		LeaveButtonInDisableState = "1"
		AutoSetButtonInDisableState = "1"
		autocreate="true" 
		SaveInfo="false"
	/>                        	
	<Tool id = "PlaceMap" lifeTime = "-1" blinkTime = "0" blinkblinkTime = "0" restoreTime = "5"
		imgCurs = "" imgCursComposite = "buttons/tools/mg04_map_50" cursDx = "0" cursDy = "0" useForScreen="-1"
		sound = "audio/sfx/put.ogg"
		button="buttKey;0,0,96,96;buttons/tools/mg04_map_sunduk;buttons/tools/mg04_map_sunduk;buttons/tools/mg04_map_sunduk;buttons/tools/mg04_map_sunduk_sihouette"
		CursorPointMiddleImage = "true"
		IgnoreSetVisibleForToolsCommand="true"
		placeRect="-100,-100,64,55"
		LeaveButtonInDisableState = "1"
	>                        	
		<PictForAppearanceEffect name="mg04/map_in_four" x="340" y="232"/>
        </Tool>
</MemoryTools>
</Main>
