<?xml version="1.0" standalone="no" ?>
<Main>
    <Common 
    	
    	NeedInventory="0"
    	startMessageNum = "-1"
	ShowFinalMessageBox="1"
    	mainCursor = "cursor/cursor"
     	secondCursor="cursor/cursor"
	
	music = "audio/music/loc_22_23.ogg"
	ambient = ""
    	win_counter = "0.2"

    	text = "MiniGame08Text"
    	text_pos = "485,735"
    	text_angle = "0"    	   	
	strPanelText="mg08_textPanel"
	sPanelTextAfterAllDone="mg08_textPanelAfterAllDone"
	StartPictIndToHideAfterAllDone = "3"
	TimePauseBetweenTrunkUnlockAndOpen="0.3"
	ShowAnimAfterAllDone = "mg08/back_of_keyhole.xml"
	HidePictAfterAllDone = "mg08/gray_square"
	ExitToMiniGame = "scripts/mg09window.lua"
    />


<Pict  pos = "0,0"  scale = "1" useMask="1" atlas_xml = "mg08/mg08Atlas">
	<Item name="mg08/back" x="0" y="0" fileName="mg08/back"/>
	<Item name="mg08/black_square" x="480" y="281" fileName="mg08/black_square"/>
	<Item name="mg08/back_of_keyhole.xml" x="470" y="281" animation = "1" vis = "0" HideOnEndAnimation = "1"/> 
	<Item name="mg08/gray_square" x="465" y="280" />
	<Item name="mg08/rotate_center" x="416" y="230" />
	<Item name="mg08/for_rotate_center" x="424" y="237" />
	<Item name="mg08/rotate_right" x="603" y="230" />
	<Item name="mg08/for_rotate_right" x="609" y="236" />
	<Item name="mg08/rotate_top" x="416" y="42" />
	<Item name="mg08/for_rotate_top" x="422" y="48" />
	<Item name="mg08/rotate_left" x="228" y="230" />
	<Item name="mg08/for_rotate_left" x="234" y="236" />
	<Item name="mg08/rotate_bottom" x="416" y="418" />
	<Item name="mg08/for_rotate_bottom" x="422" y="424" />

	<Item name="mg08/12" x="505" y="225" />
	<Item name="mg08/11" x="458" y="237" />
	<Item name="mg08/10" x="423" y="272" />
	<Item name="mg08/9" x="411" y="319" />
	<Item name="mg08/8" x="423" y="366" />
	<Item name="mg08/7" x="458" y="400" />
	<Item name="mg08/6" x="505" y="413" />
	<Item name="mg08/5" x="551" y="400" />
	<Item name="mg08/4" x="586" y="366" />
	<Item name="mg08/3" x="598" y="319" />
	<Item name="mg08/2" x="586" y="272" />
	<Item name="mg08/1" x="551" y="237" />
	<Item name="mg08/12_copy" x="317" y="225" />
	<Item name="mg08/11_copy" x="270" y="237" />
	<Item name="mg08/10_copy" x="235" y="272" />
	<Item name="mg08/9_copy" x="223" y="319" />
	<Item name="mg08/8_copy" x="235" y="366" />
	<Item name="mg08/7_copy" x="270" y="400" />
	<Item name="mg08/6_copy" x="317" y="413" />
	<Item name="mg08/5_copy" x="363" y="400" />
	<Item name="mg08/4_copy" x="398" y="366" />
	<Item name="mg08/3_copy" x="410" y="319" />
	<Item name="mg08/2_copy" x="398" y="272" />
	<Item name="mg08/1_copy" x="363" y="237" />
	<Item name="mg08/12_copy2" x="692" y="225" />
	<Item name="mg08/11_copy2" x="645" y="237" />
	<Item name="mg08/10_copy2" x="610" y="272" />
	<Item name="mg08/9_copy2" x="598" y="319" />
	<Item name="mg08/8_copy2" x="610" y="366" />
	<Item name="mg08/7_copy2" x="645" y="400" />
	<Item name="mg08/6_copy2" x="692" y="413" />
	<Item name="mg08/5_copy2" x="738" y="400" />
	<Item name="mg08/4_copy2" x="773" y="366" />
	<Item name="mg08/3_copy2" x="785" y="319" />
	<Item name="mg08/2_copy2" x="773" y="272" />
	<Item name="mg08/1_copy2" x="738" y="237" />
	<Item name="mg08/12_copy3" x="505" y="37" />
	<Item name="mg08/11_copy3" x="458" y="49" />
	<Item name="mg08/10_copy3" x="423" y="84" />
	<Item name="mg08/9_copy3" x="411" y="131" />
	<Item name="mg08/8_copy3" x="423" y="178" />
	<Item name="mg08/7_copy3" x="458" y="212" />
	<Item name="mg08/6_copy3" x="505" y="225" />
	<Item name="mg08/5_copy3" x="551" y="212" />
	<Item name="mg08/4_copy3" x="586" y="178" />
	<Item name="mg08/3_copy3" x="598" y="131" />
	<Item name="mg08/2_copy3" x="586" y="84" />
	<Item name="mg08/1_copy3" x="551" y="49" />
	<Item name="mg08/12_copy4" x="505" y="413" />
	<Item name="mg08/11_copy4" x="458" y="425" />
	<Item name="mg08/10_copy4" x="423" y="460" />
	<Item name="mg08/9_copy4" x="411" y="507" />
	<Item name="mg08/8_copy4" x="423" y="554" />
	<Item name="mg08/7_copy4" x="458" y="588" />
	<Item name="mg08/6_copy4" x="505" y="601" />
	<Item name="mg08/5_copy4" x="551" y="588" />
	<Item name="mg08/4_copy4" x="586" y="554" />
	<Item name="mg08/3_copy4" x="598" y="507" />
	<Item name="mg08/2_copy4" x="586" y="460" />
	<Item name="mg08/1_copy4" x="551" y="425" />
	<Item name="mg08/bright_12" x="499" y="219" vis = "0"/>
	<Item name="mg08/bright_11" x="452" y="232" vis = "0" />
	<Item name="mg08/bright_10" x="418" y="266" vis = "0" />
	<Item name="mg08/bright_9" x="405" y="313" vis = "0" />
	<Item name="mg08/bright_8" x="418" y="360" vis = "0" />
	<Item name="mg08/bright_7" x="452" y="394" vis = "0" />
	<Item name="mg08/bright_6" x="499" y="407" vis = "0" />
	<Item name="mg08/bright_5" x="546" y="394" vis = "0" />
	<Item name="mg08/bright_4" x="580" y="360" vis = "0" />
	<Item name="mg08/bright_3" x="593" y="313" vis = "0" />
	<Item name="mg08/bright_2" x="580" y="266" vis = "0" />
	<Item name="mg08/bright_1" x="546" y="232" vis = "0" />
</Pict>
	
	
	<MG08Game id = "MG02Switchers" strPanelText = "mg08_textPanel1" stepsShuffle="32">
		<CursorQuestPush name="cursor/quest/cursor_quest_hand.xml" x="0" y="0" animation="1" typeDraw = "3"/>
		<Items>
			<GameSpace x = "2" y = "2" w = "1015" h = "680"/>
        		<Item name="mg08/rotate_center" addPict="mg08/gray_square">
				<CellItem name="mg08/1"  correctPosPict="mg08/bright_1"/>
				<CellItem name="mg08/2"  correctPosPict="mg08/bright_2"/>
				<CellItem name="mg08/3"  correctPosPict="mg08/bright_3"/>
				<CellItem name="mg08/4"  correctPosPict="mg08/bright_4"/>
				<CellItem name="mg08/5"  correctPosPict="mg08/bright_5"/>
				<CellItem name="mg08/6"  correctPosPict="mg08/bright_6"/>
				<CellItem name="mg08/7"  correctPosPict="mg08/bright_7"/>
				<CellItem name="mg08/8"  correctPosPict="mg08/bright_8"/>
				<CellItem name="mg08/9"  correctPosPict="mg08/bright_9"/>
				<CellItem name="mg08/10" correctPosPict="mg08/bright_10"/>
				<CellItem name="mg08/11" correctPosPict="mg08/bright_11"/>
				<CellItem name="mg08/12" correctPosPict="mg08/bright_12"/>
        		</Item>
			<Item name="mg08/rotate_left">
				<CellItem name="mg08/1_copy"  correctPosPict="mg08/bright_1"/>
				<CellItem name="mg08/2_copy"  correctPosPict="mg08/bright_2"/>
				<CellItem name="mg08/9"       correctPosPict="mg08/bright_9"/>
				<CellItem name="mg08/4_copy"  correctPosPict="mg08/bright_4"/>
				<CellItem name="mg08/5_copy"  correctPosPict="mg08/bright_5"/>
				<CellItem name="mg08/6_copy"  correctPosPict="mg08/bright_6"/>
				<CellItem name="mg08/7_copy"  correctPosPict="mg08/bright_7"/>
				<CellItem name="mg08/8_copy"  correctPosPict="mg08/bright_8"/>
				<CellItem name="mg08/9_copy"  correctPosPict="mg08/bright_9"/>
				<CellItem name="mg08/10_copy" correctPosPict="mg08/bright_10"/>
				<CellItem name="mg08/11_copy" correctPosPict="mg08/bright_11"/>
				<CellItem name="mg08/12_copy" correctPosPict="mg08/bright_12"/>
        		</Item>
			<Item name="mg08/rotate_right">
				<CellItem name="mg08/1_copy2"  correctPosPict="mg08/bright_1"/>
				<CellItem name="mg08/2_copy2"  correctPosPict="mg08/bright_2"/>
				<CellItem name="mg08/3_copy2"  correctPosPict="mg08/bright_3"/>
				<CellItem name="mg08/4_copy2"  correctPosPict="mg08/bright_4"/>
				<CellItem name="mg08/5_copy2"  correctPosPict="mg08/bright_5"/>
				<CellItem name="mg08/6_copy2"  correctPosPict="mg08/bright_6"/>
				<CellItem name="mg08/7_copy2"  correctPosPict="mg08/bright_7"/>
				<CellItem name="mg08/8_copy2"  correctPosPict="mg08/bright_8"/>
				<CellItem name="mg08/3"        correctPosPict="mg08/bright_3"/>
				<CellItem name="mg08/10_copy2" correctPosPict="mg08/bright_10"/>
				<CellItem name="mg08/11_copy2" correctPosPict="mg08/bright_11"/>
				<CellItem name="mg08/12_copy2" correctPosPict="mg08/bright_12"/>
        		</Item>
        		<Item name="mg08/rotate_top">
				<CellItem name="mg08/1_copy3"  correctPosPict="mg08/bright_1"/>
				<CellItem name="mg08/2_copy3"  correctPosPict="mg08/bright_2"/>
				<CellItem name="mg08/3_copy3"  correctPosPict="mg08/bright_3"/>
				<CellItem name="mg08/4_copy3"  correctPosPict="mg08/bright_4"/>
				<CellItem name="mg08/5_copy3"  correctPosPict="mg08/bright_5"/>
				<CellItem name="mg08/12"       correctPosPict="mg08/bright_12"/>
				<CellItem name="mg08/7_copy3"  correctPosPict="mg08/bright_7"/>
				<CellItem name="mg08/8_copy3"  correctPosPict="mg08/bright_8"/>
				<CellItem name="mg08/9_copy3"  correctPosPict="mg08/bright_9"/>
				<CellItem name="mg08/10_copy3" correctPosPict="mg08/bright_10"/>
				<CellItem name="mg08/11_copy3" correctPosPict="mg08/bright_11"/>
				<CellItem name="mg08/12_copy3" correctPosPict="mg08/bright_12"/>
        		</Item>
        		<Item name="mg08/rotate_bottom">
				<CellItem name="mg08/1_copy4"  correctPosPict="mg08/bright_1"/>
				<CellItem name="mg08/2_copy4"  correctPosPict="mg08/bright_2"/>
				<CellItem name="mg08/3_copy4"  correctPosPict="mg08/bright_3"/>
				<CellItem name="mg08/4_copy4"  correctPosPict="mg08/bright_4"/>
				<CellItem name="mg08/5_copy4"  correctPosPict="mg08/bright_5"/>
				<CellItem name="mg08/6_copy4"  correctPosPict="mg08/bright_6"/>
				<CellItem name="mg08/7_copy4"  correctPosPict="mg08/bright_7"/>
				<CellItem name="mg08/8_copy4"  correctPosPict="mg08/bright_8"/>
				<CellItem name="mg08/9_copy4"  correctPosPict="mg08/bright_9"/>
				<CellItem name="mg08/10_copy4" correctPosPict="mg08/bright_10"/>
				<CellItem name="mg08/11_copy4" correctPosPict="mg08/bright_11"/>
				<CellItem name="mg08/6"        correctPosPict="mg08/bright_6"/>
        		</Item>
		</Items>
	</MG08Game>

	<PanelBG name="backgrounds/pane_mg_bg.png" x="131" y="672" />
	<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>
</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"
		AutoSetButtonInDisableState = "1"
		autocreate="true" 
		SaveInfo="false"
	/>

	<Tool id = "PlaceShip" lifeTime = "-1" blinkTime = "0" blinkblinkTime = "0" restoreTime = "5"
		imgCurs = "buttons/tools/ship_big_cursor" imgCursComposite = "buttons/tools/ship_small_cursor" cursDx = "0" cursDy = "0" useForScreen="1"
		sound = "audio/sfx/put.ogg"
		button="buttKey;0,0,96,96;buttons/tools/ship_small;buttons/tools/ship_small;buttons/tools/ship_small;buttons/tools/ship_small_silhouette"
		CursorPointMiddleImage = "true"
		IgnoreSetVisibleForToolsCommand="true"
		placeRect="-100,-100,64,55"
		LeaveButtonInDisableState = "1"
		AutoSetButtonInDisableState = "1"
		autocreate="true" 
		SaveInfo="false"
	/>                        	
</MemoryTools>

</Main>
