<data>
	<sprites>
		<!-- -->
		<!-- MONSTERS -->
		<!-- -->
		<sprite r_name="'HydraTemplate'" r_graphic="'rngsdk.display.CdplSpriteSimple'" subgraphic="'ToBeReplaced'">
			<sprite r_name="'subgraphic'" r_graphic="subgraphic" r_xPos="-4" r_yPos="-8"/>
		</sprite>
		<sprite r_name="'Hydra1'" r_template="'HydraTemplate'" subgraphic="'hydre1.png'"/>
		<sprite r_name="'Hydra2'" r_template="'HydraTemplate'" subgraphic="'hydre2.png'"/>
		<sprite r_name="'Hydra3'" r_template="'HydraTemplate'" subgraphic="'hydre3.png'"/>
		<sprite r_name="'Hydra4'" r_template="'HydraTemplate'" subgraphic="'hydre4.png'"/>
		<sprite r_name="'Hydra5'" r_template="'HydraTemplate'" subgraphic="'hydre5.png'"/>
		<sprite r_name="'Hydra6'" r_template="'HydraTemplate'" subgraphic="'hydre6.png'"/>
		<sprite r_name="'Hydra7'" r_template="'HydraTemplate'" subgraphic="'hydre7.png'"/>
		<sprite r_name="'Hydra8'" r_template="'HydraTemplate'" subgraphic="'hydre8.png'"/>
		<sprite r_name="'Hydra9'" r_template="'HydraTemplate'" subgraphic="'hydre9.png'"/>
		<sprite r_name="'Hydra10'" r_template="'HydraTemplate'" subgraphic="'hydre10.png'"/>
		<sprite r_name="'Hydra11'" r_template="'HydraTemplate'" subgraphic="'hydre11.png'"/>
		<sprite r_name="'Hydra12'" r_template="'HydraTemplate'" subgraphic="'hydre12.png'"/>
		
		<sprite r_name="'angel'" r_graphic="'rngsdk.display.CdplSpriteSimple'">
			<sprite r_name="'subgraphic'" r_graphic="'angel.png'" r_xPos="-4" r_yPos="-8"/>
		</sprite>
		<sprite r_name="'demon'" r_graphic="'rngsdk.display.CdplSpriteSimple'">
			<sprite r_name="'subgraphic'" r_graphic="'demon.png'" r_xPos="-4" r_yPos="-8"/>
		</sprite>
		<sprite r_name="'lord'" r_graphic="'rngsdk.display.CdplSpriteSimple'">
			<sprite r_name="'subgraphic'" r_graphic="'lord.png'" r_xPos="-8" r_yPos="-8"/>
		</sprite>
		
		<sprite r_name="'AirElemental'" r_graphic="'rngsdk.display.CdplSpriteSimple'">
			<sprite r_name="'subgraphic'" r_graphic="'el_wind.png'" r_width="32" r_height="32" />
		</sprite>
		<sprite r_name="'EarthElemental'" r_graphic="'rngsdk.display.CdplSpriteSimple'">
			<sprite r_name="'subgraphic'" r_graphic="'el_earth.png'" r_width="32" r_height="32" />
		</sprite>
		<sprite r_name="'FireElemental'" r_graphic="'rngsdk.display.CdplSpriteSimple'">
			<sprite r_name="'subgraphic'" r_graphic="'el_fire.png'" r_width="32" r_height="32" />
		</sprite>
		<sprite r_name="'WaterElemental'" r_graphic="'rngsdk.display.CdplSpriteSimple'">
			<sprite r_name="'subgraphic'" r_graphic="'el_water.png'" r_width="32" r_height="32" />
		</sprite>
		
		<!-- -->
		<!-- Monsters' effects -->
		<!-- -->
		<factory r_name="'monsterEffect_'" r_params="{{'*'}}">
			<sprite r_name="'subgraphic'" r_graphic="'rngsdk.display.CdplSpriteSimple'">
				<sprite r_name="'effectIcon'" r_graphic="w_FP0" r_xPos="24" r_yPos="24" r_scaleX="0.25" r_scaleY="0.25"/>
				<sprite r_name="'overlay'" r_graphic="'monsterEffectOverlay.png'" r_xPos="23" r_yPos="23"/>
			</sprite>
		</factory>
		
		<!-- -->
		<!-- Character animations -->
		<!-- -->
		<spriteTemplate r_name="'animationTemplate'"
										r_graphic="'rngsdk.display.CdplSpriteClip'"
										r_scaleX="(w_FP5=='L')?-1:1"
										r_xPos="(w_FP5=='L')?32:0"
										weaponGraphic="w_FP6"
										offhandGraphic="w_FP7"
										headGraphic="((w_FP3>1)?'h':w_FP0)+w_FP1+'_tete'+w_FP3+'_'+w_FP4+'.png'"
										bodyGraphic="{'h'+w_FP1+'_buste'+w_FP2+'_stand'+w_FP4+'.png'}"
										legsGraphic="'h'+w_FP1+'_jambes'+w_FP2+'_stand'+w_FP4+'.png'"
										frameSpeed="1"
										frameCount="1"
										r_frameCount="frameSpeed*frameCount"
										r_loop="1">
			<spriteTemplate r_name="'frameMainTemplate'"
											r_graphic="'rngsdk.display.CdplSpriteSimple'"
											frameIndex="0"
											r_frameIndex="frameSpeed*frameIndex"
											bodyOffset="0"
											headOffset="0">
				<spriteTemplate r_name="'cloakTemplate'" r_graphic="(w_FP10!='_')?w_FP10:''" r_yPos="bodyOffset"/>
				<spriteTemplate r_name="'wingTemplate'" r_graphic="(w_FP11!='_')?'wings.png':''" r_yPos="bodyOffset"/>
				<spriteTemplate r_name="'jambesTemplate'" r_graphic="legsGraphic"/>
				<spriteTemplate r_name="'weaponTemplate'"
												r_graphic="weaponGraphic"
												r_xPos="(w_FP4=='dos')?((w_FP1=='m')?17:13):((w_FP1=='m')?-3:2)"
												r_yPos="((w_FP4=='dos')?((w_FP1=='m')?28:27):((w_FP1=='m')?10:9))+bodyOffset"
												r_scaleY="(w_FP4=='dos')?-1:1"/>
				<spriteTemplate r_name="'busteTemplate'" r_graphic="bodyGraphic" r_yPos="bodyOffset"/>
				<spriteTemplate r_name="'offhandTemplate'"
												r_graphic="offhandGraphic"
												r_xPos="(w_FP4=='dos')?(((w_FP1=='m')?3:3)+((w_FP9=='b')?0:0)):(((w_FP1=='m')?18:13)+((w_FP9=='b')?-3:0))"
												r_yPos="((w_FP4=='dos')?(((w_FP1=='m')?26:26)+((w_FP9=='b')?-23:0)):(((w_FP1=='m')?8:7))+((w_FP9=='b')?-3:0))+bodyOffset"
												r_scaleY="((w_FP4=='dos')&&(w_FP9!='b'))?-1:1"/>
				<spriteTemplate r_name="'headTemplate'" r_graphic="headGraphic" r_yPos="headOffset"/>
			</spriteTemplate>
			<spriteTemplate r_name="'frameRectoTemplate'" r_template="'frameMainTemplate'">
				<sprite r_name="'cloak'" r_template="'cloakTemplate'"/>
				<sprite r_name="'wing'" r_template="'wingTemplate'"/>
				<sprite r_name="'jambes'" r_template="'jambesTemplate'"/>
				<sprite r_name="'weapon'" r_template="'weaponTemplate'"/>
				<sprite r_name="'buste'" r_template="'busteTemplate'"/>
				<sprite r_name="'offhand'" r_template="'offhandTemplate'"/>
				<sprite r_name="'head'" r_template="'headTemplate'"/>
			</spriteTemplate>
			<spriteTemplate r_name="'frameVersoTemplate'" r_template="'frameMainTemplate'">
				<sprite r_name="'head'" r_template="'headTemplate'"/>
				<sprite r_name="'weapon'" r_template="'weaponTemplate'"/>
				<sprite r_name="'offhand'" r_template="'offhandTemplate'"/>
				<sprite r_name="'jambes'" r_template="'jambesTemplate'"/>
				<sprite r_name="'buste'" r_template="'busteTemplate'"/>
				<sprite r_name="'wing'" r_template="'wingTemplate'"/>
				<sprite r_name="'cloak'" r_template="'cloakTemplate'"/>
			</spriteTemplate>
			<spriteTemplate r_name="'frameTemplate'" r_template="(w_FP4=='dos')?'frameVersoTemplate':'frameRectoTemplate'"/>
		</spriteTemplate>
										
		<sprite r_name="'standAnimationTemplate'" r_template="'animationTemplate'"
						frameCount="6"
						frameSpeed="6">
			<sprite r_name="'frame0'" r_template="'frameTemplate'" frameIndex="0"/>
			<sprite r_name="'frame2'" r_template="'frameTemplate'" frameIndex="1" bodyOffset="-1" headOffset="-1"/>
			<sprite r_name="'frame4'" r_template="'frameTemplate'" frameIndex="2" bodyOffset="-1" headOffset="-1"/>
			<sprite r_name="'frame6'" r_template="'frameTemplate'" frameIndex="3" bodyOffset="-1"/>
			<sprite r_name="'frame8'" r_template="'frameTemplate'" frameIndex="4"/>
			<sprite r_name="'frame10'" r_template="'frameTemplate'" frameIndex="5"/>
		</sprite>

		<sprite r_name="'moveAnimationTemplateMale'" r_template="'animationTemplate'"
						frameCount="6"
						legsGraphicBase="'h'+w_FP1+'_jambes'+w_FP2+'_marche'+w_FP4"
						frameSpeed="2">
			<sprite r_name="'frame0'" r_template="'frameTemplate'" frameIndex="0">
				<sprite r_name="'jambes'" r_graphic="legsGraphicBase+'1.png'"/>
			</sprite>
			<sprite r_name="'frame1'" r_template="'frameTemplate'" frameIndex="1" bodyOffset="-1" headOffset="-1">
				<sprite r_name="'jambes'" r_graphic="legsGraphicBase+'2.png'"/>
			</sprite>
			<sprite r_name="'frame2'" r_template="'frameTemplate'" frameIndex="2" bodyOffset="-1" headOffset="-1">
				<sprite r_name="'jambes'" r_graphic="legsGraphicBase+'3.png'"/>
			</sprite>
			<sprite r_name="'frame3'" r_template="'frameTemplate'" frameIndex="3" bodyOffset="-1">
				<sprite r_name="'jambes'" r_graphic="legsGraphicBase+'4.png'"/>
			</sprite>
			<sprite r_name="'frame4'" r_template="'frameTemplate'" frameIndex="4">
				<sprite r_name="'jambes'" r_graphic="legsGraphicBase+'5.png'"/>
			</sprite>
			<sprite r_name="'frame5'" r_template="'frameTemplate'" frameIndex="5">
				<sprite r_name="'jambes'" r_graphic="legsGraphicBase+'6.png'"/>
			</sprite>
		</sprite>

		<sprite r_name="'moveAnimationTemplateFemale'" r_template="'animationTemplate'"
						frameCount="10"
						legsGraphicBase="'h'+w_FP1+'_jambes'+w_FP2+'_marche'+w_FP4"
						frameSpeed="1">
			<sprite r_name="'frame0'" r_template="'frameTemplate'" frameIndex="0">
				<sprite r_name="'jambes'" r_graphic="legsGraphicBase+'1.png'"/>
			</sprite>
			<sprite r_name="'frame1'" r_template="'frameTemplate'" frameIndex="1" bodyOffset="-1" headOffset="-1">
				<sprite r_name="'jambes'" r_graphic="legsGraphicBase+'2.png'"/>
			</sprite>
			<sprite r_name="'frame2'" r_template="'frameTemplate'" frameIndex="2" bodyOffset="-1" headOffset="-1">
				<sprite r_name="'jambes'" r_graphic="legsGraphicBase+'3.png'"/>
			</sprite>
			<sprite r_name="'frame3'" r_template="'frameTemplate'" frameIndex="3" bodyOffset="-1">
				<sprite r_name="'jambes'" r_graphic="legsGraphicBase+'4.png'"/>
			</sprite>
			<sprite r_name="'frame4'" r_template="'frameTemplate'" frameIndex="4">
				<sprite r_name="'jambes'" r_graphic="legsGraphicBase+'5.png'"/>
			</sprite>
			<sprite r_name="'frame5'" r_template="'frameTemplate'" frameIndex="5">
				<sprite r_name="'jambes'" r_graphic="legsGraphicBase+'6.png'"/>
			</sprite>
			<sprite r_name="'frame6'" r_template="'frameTemplate'" frameIndex="6">
				<sprite r_name="'jambes'" r_graphic="legsGraphicBase+'7.png'"/>
			</sprite>
			<sprite r_name="'frame7'" r_template="'frameTemplate'" frameIndex="7">
				<sprite r_name="'jambes'" r_graphic="legsGraphicBase+'8.png'"/>
			</sprite>
			<sprite r_name="'frame8'" r_template="'frameTemplate'" frameIndex="8">
				<sprite r_name="'jambes'" r_graphic="legsGraphicBase+'9.png'"/>
			</sprite>
			<sprite r_name="'frame9'" r_template="'frameTemplate'" frameIndex="9">
				<sprite r_name="'jambes'" r_graphic="legsGraphicBase+'10.png'"/>
			</sprite>
		</sprite>
		
		<sprite r_name="'attackMHAnimationTemplate'" r_template="'animationTemplate'"
						frameCount="9"
						bodyGraphicBase="'h'+w_FP1+'_buste'+w_FP2+'_attaque1main'+w_FP4"
						frameSpeed="1">
			<sprite r_name="'frame0'" r_template="'frameTemplate'" frameIndex="0" offhandGraphic="''">
				<sprite r_name="'weapon'" r_xPos="(w_FP4=='dos')?((w_FP1=='m')?23:23):((w_FP1=='m')?31:30)" r_yPos="((w_FP4=='dos')?((w_FP1=='m')?16:14):((w_FP1=='m')?17:12))+bodyOffset" r_scaleX="-1" r_scaleY="-1"/>
				<sprite r_name="'buste'" r_graphic="{bodyGraphicBase+'1.png'}"/>
			</sprite>
			<sprite r_name="'frame1'" r_template="'frameTemplate'" frameIndex="1" bodyOffset="-1" offhandGraphic="''">
				<sprite r_name="'weapon'" r_xPos="(w_FP4=='dos')?((w_FP1=='m')?23:23):((w_FP1=='m')?31:30)" r_yPos="((w_FP4=='dos')?((w_FP1=='m')?16:14):((w_FP1=='m')?17:12))+bodyOffset" r_scaleX="-1" r_scaleY="-1"/>
				<sprite r_name="'buste'" r_graphic="{bodyGraphicBase+'1.png'}"/>
				<sprite r_name="'head'" r_yPos="-1"/>
			</sprite>
			<sprite r_name="'frame2'" r_template="'frameTemplate'" frameIndex="2" bodyOffset="-1" offhandGraphic="''">
				<sprite r_name="'weapon'" r_xPos="(w_FP4=='dos')?((w_FP1=='m')?23:23):((w_FP1=='m')?31:30)" r_yPos="((w_FP4=='dos')?((w_FP1=='m')?16:14):((w_FP1=='m')?17:12))+bodyOffset" r_scaleX="-1" r_scaleY="-1"/>
				<sprite r_name="'buste'" r_graphic="{bodyGraphicBase+'1.png'}"/>
				<sprite r_name="'head'" r_yPos="-1"/>
			</sprite>
			<sprite r_name="'frame3'" r_template="'frameTemplate'" frameIndex="3" bodyOffset="-1" weaponGraphic="''" offhandGraphic="''">
				<sprite r_name="'buste'" r_graphic="{bodyGraphicBase+'1.png'}"/>
			</sprite>
			<sprite r_name="'frame4'" r_template="'frameTemplate'" frameIndex="4" weaponGraphic="''" offhandGraphic="''">
				<sprite r_name="'buste'" r_graphic="{bodyGraphicBase+'2.png'}"/>
				<sprite r_name="'head'" r_yPos="1"/>
				<sprite r_name="'slash'" r_graphic="'slash1.png'"/>
			</sprite>
			<sprite r_name="'frame5'" r_template="'frameTemplate'" frameIndex="5" bodyOffset="1" weaponGraphic="''" offhandGraphic="''">
				<sprite r_name="'buste'" r_graphic="{bodyGraphicBase+'2.png'}"/>
				<sprite r_name="'head'" r_yPos="1"/>
				<sprite r_name="'slash'" r_graphic="'slash2.png'"/>
			</sprite>
			<sprite r_name="'frame6'" r_template="'frameTemplate'" frameIndex="6" bodyOffset="1">
				<sprite r_name="'weapon'" r_xPos="(w_FP4=='dos')?((w_FP1=='m')?20:14):((w_FP1=='m')?-6:-1)" r_yPos="((w_FP4=='dos')?((w_FP1=='m')?25:28):((w_FP1=='m')?8:9))+bodyOffset"/>
				<sprite r_name="'buste'" r_graphic="{bodyGraphicBase+'2.png'}"/>
				<sprite r_name="'head'" r_yPos="1"/>
			</sprite>
			<sprite r_name="'frame7'" r_template="'frameTemplate'" frameIndex="7" bodyOffset="1">
				<sprite r_name="'weapon'" r_xPos="(w_FP4=='dos')?((w_FP1=='m')?20:14):((w_FP1=='m')?-6:-1)" r_yPos="((w_FP4=='dos')?((w_FP1=='m')?25:28):((w_FP1=='m')?8:9))+bodyOffset"/>
				<sprite r_name="'buste'" r_graphic="{bodyGraphicBase+'2.png'}"/>
				<sprite r_name="'head'" r_yPos="1"/>
			</sprite>
			<sprite r_name="'frame8'" r_template="'frameTemplate'" frameIndex="8">
				<sprite r_name="'weapon'" r_xPos="(w_FP4=='dos')?((w_FP1=='m')?20:14):((w_FP1=='m')?-6:-1)" r_yPos="((w_FP4=='dos')?((w_FP1=='m')?25:28):((w_FP1=='m')?8:9))+bodyOffset"/>
				<sprite r_name="'buste'" r_graphic="{bodyGraphicBase+'2.png'}"/>
			</sprite>
		</sprite>
		<sprite r_name="'attack2HAnimationTemplate'" r_template="'attackMHAnimationTemplate'"
						bodyGraphicBase="'h'+w_FP1+'_buste'+w_FP2+'_attaque2mains'+w_FP4"/>
		
		<sprite r_name="'attackBowAnimationTemplate'" r_template="'animationTemplate'"
						frameCount="2"
						weaponGraphic="w_FP8"
						offhandGraphic="''"
						bodyGraphicBase="'h'+w_FP1+'_buste'+w_FP2+'_attaquearc'+w_FP4"
						frameSpeed="4">
			<sprite r_name="'frame0'" r_template="'frameTemplate'" frameIndex="0">
				<sprite r_name="'weapon'" r_xPos="(w_FP4=='dos')?18:21" r_yPos="((w_FP4=='dos')?20:3)+bodyOffset"/>
				<sprite r_name="'buste'" r_graphic="{bodyGraphicBase+'1.png'}" r_yPos="(w_FP4=='dos')?1:0" r_childIndex="(w_FP4=='dos')?2:1"/>
				<sprite r_name="'head'" r_yPos="(w_FP4=='dos')?1:0"/>
			</sprite>
			<sprite r_name="'frame1'" r_template="'frameTemplate'" frameIndex="1">
				<sprite r_name="'weapon'" r_xPos="(w_FP4=='dos')?18:21" r_yPos="((w_FP4=='dos')?20:3)+bodyOffset"/>
				<sprite r_name="'buste'" r_graphic="{bodyGraphicBase+'2.png'}" r_yPos="(w_FP4=='dos')?1:0" r_childIndex="(w_FP4=='dos')?2:1"/>
				<sprite r_name="'head'" r_yPos="(w_FP4=='dos')?1:0"/>
			</sprite>
		</sprite>

		<sprite r_name="'attackCrossbowAnimationTemplate'" r_template="'animationTemplate'"
						frameCount="3"
						weaponGraphic="w_FP8"
						offhandGraphic="''"
						bodyGraphicBase="'h'+w_FP1+'_buste'+w_FP2+'_attaquearba'+w_FP4"
						frameSpeed="3">
			<sprite r_name="'frame0'" r_template="'frameTemplate'" frameIndex="0">
				<sprite r_name="'weapon'" r_xPos="(w_FP4=='dos')?7:9" r_yPos="((w_FP4=='dos')?20:2)+bodyOffset"/>
				<sprite r_name="'buste'" r_graphic="{bodyGraphicBase+'.png'}" r_childIndex="(w_FP4=='dos')?2:1"/>
			</sprite>
			<sprite r_name="'frame1'" r_template="'frameTemplate'" frameIndex="1">
				<sprite r_name="'weapon'" r_xPos="(w_FP4=='dos')?6:8" r_yPos="((w_FP4=='dos')?20:2)+bodyOffset"/>
				<sprite r_name="'buste'" r_graphic="{bodyGraphicBase+'.png'}" r_xPos="-1" r_childIndex="(w_FP4=='dos')?2:1"/>
			</sprite>
			<sprite r_name="'frame2'" r_template="'frameTemplate'" frameIndex="2">
				<sprite r_name="'weapon'" r_xPos="(w_FP4=='dos')?7:9" r_yPos="((w_FP4=='dos')?20:2)+bodyOffset"/>
				<sprite r_name="'buste'" r_graphic="{bodyGraphicBase+'.png'}" r_childIndex="(w_FP4=='dos')?2:1"/>
			</sprite>
		</sprite>

		<sprite r_name="'potionAnimationTemplate'" r_template="'animationTemplate'"
						frameCount="4"
						weaponGraphic="''"
						offhandGraphic="''"
						bodyGraphic="{'h'+w_FP1+'_buste'+w_FP2+'_potion.png'}"
						headGraphic="((w_FP3>1)?'h':w_FP0)+w_FP1+'_tete'+w_FP3+'_face.png'"
						legsGraphic="'h'+w_FP1+'_jambes'+w_FP2+'_standface.png'"
						frameSpeed="3">
			<sprite r_name="'frame0'" r_template="'frameTemplate'" frameIndex="0"/>
			<sprite r_name="'frame1'" r_template="'frameTemplate'" frameIndex="1">
				<sprite r_name="'head'" r_graphic="headGraphic" r_yPos="-1"/>
			</sprite>
			<sprite r_name="'frame2'" r_template="'frameTemplate'" frameIndex="2"/>
			<sprite r_name="'frame3'" r_template="'frameTemplate'" frameIndex="3">
				<sprite r_name="'head'" r_graphic="headGraphic" r_yPos="-1"/>
			</sprite>
		</sprite>

		<sprite r_name="'magicAnimationTemplate'" r_template="'animationTemplate'"
						frameCount="5"
						weaponGraphic="''"
						offhandGraphic="''"
						bodyGraphicBase="'h'+w_FP1+'_buste'+w_FP2+'_magie'+w_FP4"
						frameSpeed="3">
			<sprite r_name="'frame0'" r_template="'frameTemplate'" frameIndex="0">
				<sprite r_name="'buste'" r_graphic="{bodyGraphicBase+'1.png'}"/>
				<sprite r_name="'head'" r_yPos="1"/>
			</sprite>
			<sprite r_name="'frame1'" r_template="'frameTemplate'" frameIndex="1">
				<sprite r_name="'buste'" r_graphic="{bodyGraphicBase+'2.png'}"/>
			</sprite>
			<sprite r_name="'frame2'" r_template="'frameTemplate'" frameIndex="2">
				<sprite r_name="'buste'" r_graphic="{bodyGraphicBase+'3.png'}"/>
			</sprite>
			<sprite r_name="'frame3'" r_template="'frameTemplate'" frameIndex="3">
				<sprite r_name="'buste'" r_graphic="{bodyGraphicBase+'4.png'}"/>
			</sprite>
			<sprite r_name="'frame4'" r_template="'frameTemplate'" frameIndex="4">
				<sprite r_name="'buste'" r_graphic="{bodyGraphicBase+'5.png'}"/>
			</sprite>
		</sprite>
	
		<!-- race sex body head face side mainhand offhand ranged isShield cloak -->
		<factory r_name="'stand'" r_params="{{'h','e','d','o','b','ah','ae','ad','ao','ab'},{'m','f'},{'1','2','3'},{'1','2','3'},{'face','dos'},{'L','R'},{'mh_knife.png','mh_dagger.png','mh_stilleto.png','mh_shortsword.png','mh_longsword.png','mh_flamberge.png','mh_greatsword.png','mh_espadon.png','mh_claymore.png','mh_handaxe.png','mh_broadaxe.png','mh_battleaxe.png','mh_splittingmaul.png','mh_greataxe.png','mh_cleaver.png','mh_mace.png','mh_morningstar.png','mh_flail.png','mh_club.png','mh_heavymace.png','mh_twohandedflail.png','mh_spear.png','mh_trident.png','mh_halberd.png','mh_staff.png','mh_quaterstaff.png',''},{'off_knife.png','off_dagger.png','off_stilleto.png','book_0.png','book_1.png','book_2.png','book_3.png','book_4.png','buckler_0.png','buckler_1.png','buckler_2.png','buckler_3.png','shield_0.png','shield_1.png','shield_2.png','shield_3.png','largeshield_0.png','largeshield_1.png','largeshield_2.png','largeshield_3.png','pavois_0.png','pavois_1.png','pavois_2.png','pavois_3.png',''},{'mh_bow.png','mh_longbow.png','mh_compositelongbow.png','mh_lightcrossbow.png','mh_crossbow.png','mh_heavycrossbow.png','mh_throwingdaggers.png','mh_javelins.png','mh_francisca.png',''},{'b','_'},{'cape_0.png','cape_1.png','cape_2.png','cape_3.png','_'},{'w','_'}}">
			<sprite r_template="'standAnimationTemplate'"/>
		</factory>
		<factory r_name="'move'" r_params="{{'h','e','d','o','b','ah','ae','ad','ao','ab'},{'m'},{'1','2','3'},{'1','2','3'},{'face','dos'},{'L','R'},{'mh_knife.png','mh_dagger.png','mh_stilleto.png','mh_shortsword.png','mh_longsword.png','mh_flamberge.png','mh_greatsword.png','mh_espadon.png','mh_claymore.png','mh_handaxe.png','mh_broadaxe.png','mh_battleaxe.png','mh_splittingmaul.png','mh_greataxe.png','mh_cleaver.png','mh_mace.png','mh_morningstar.png','mh_flail.png','mh_club.png','mh_heavymace.png','mh_twohandedflail.png','mh_spear.png','mh_trident.png','mh_halberd.png','mh_staff.png','mh_quaterstaff.png',''},{'off_knife.png','off_dagger.png','off_stilleto.png','book_0.png','book_1.png','book_2.png','book_3.png','book_4.png','buckler_0.png','buckler_1.png','buckler_2.png','buckler_3.png','shield_0.png','shield_1.png','shield_2.png','shield_3.png','largeshield_0.png','largeshield_1.png','largeshield_2.png','largeshield_3.png','pavois_0.png','pavois_1.png','pavois_2.png','pavois_3.png',''},{'mh_bow.png','mh_longbow.png','mh_compositelongbow.png','mh_lightcrossbow.png','mh_crossbow.png','mh_heavycrossbow.png','mh_throwingdaggers.png','mh_javelins.png','mh_francisca.png',''},{'b','_'},{'cape_0.png','cape_1.png','cape_2.png','cape_3.png','_'},{'w','_'}}">
			<sprite r_template="'moveAnimationTemplateMale'"/>
		</factory>
		<factory r_name="'move'" r_params="{{'h','e','d','o','b','ah','ae','ad','ao','ab'},{'f'},{'1','2','3'},{'1','2','3'},{'face','dos'},{'L','R'},{'mh_knife.png','mh_dagger.png','mh_stilleto.png','mh_shortsword.png','mh_longsword.png','mh_flamberge.png','mh_greatsword.png','mh_espadon.png','mh_claymore.png','mh_handaxe.png','mh_broadaxe.png','mh_battleaxe.png','mh_splittingmaul.png','mh_greataxe.png','mh_cleaver.png','mh_mace.png','mh_morningstar.png','mh_flail.png','mh_club.png','mh_heavymace.png','mh_twohandedflail.png','mh_spear.png','mh_trident.png','mh_halberd.png','mh_staff.png','mh_quaterstaff.png',''},{'off_knife.png','off_dagger.png','off_stilleto.png','book_0.png','book_1.png','book_2.png','book_3.png','book_4.png','buckler_0.png','buckler_1.png','buckler_2.png','buckler_3.png','shield_0.png','shield_1.png','shield_2.png','shield_3.png','largeshield_0.png','largeshield_1.png','largeshield_2.png','largeshield_3.png','pavois_0.png','pavois_1.png','pavois_2.png','pavois_3.png',''},{'mh_bow.png','mh_longbow.png','mh_compositelongbow.png','mh_lightcrossbow.png','mh_crossbow.png','mh_heavycrossbow.png','mh_throwingdaggers.png','mh_javelins.png','mh_francisca.png',''},{'b','_'},{'cape_0.png','cape_1.png','cape_2.png','cape_3.png','_'},{'w','_'}}">
			<sprite r_template="'moveAnimationTemplateFemale'"/>
		</factory>
		<factory r_name="'attackMH'" r_params="{{'h','e','d','o','b','ah','ae','ad','ao','ab'},{'m','f'},{'1','2','3'},{'1','2','3'},{'face','dos'},{'L','R'},{'mh_knife.png','mh_dagger.png','mh_stilleto.png','mh_shortsword.png','mh_longsword.png','mh_flamberge.png','mh_greatsword.png','mh_espadon.png','mh_claymore.png','mh_handaxe.png','mh_broadaxe.png','mh_battleaxe.png','mh_splittingmaul.png','mh_greataxe.png','mh_cleaver.png','mh_mace.png','mh_morningstar.png','mh_flail.png','mh_club.png','mh_heavymace.png','mh_twohandedflail.png','mh_spear.png','mh_trident.png','mh_halberd.png','mh_staff.png','mh_quaterstaff.png',''},{'off_knife.png','off_dagger.png','off_stilleto.png','book_0.png','book_1.png','book_2.png','book_3.png','book_4.png','buckler_0.png','buckler_1.png','buckler_2.png','buckler_3.png','shield_0.png','shield_1.png','shield_2.png','shield_3.png','largeshield_0.png','largeshield_1.png','largeshield_2.png','largeshield_3.png','pavois_0.png','pavois_1.png','pavois_2.png','pavois_3.png',''},{'mh_bow.png','mh_longbow.png','mh_compositelongbow.png','mh_lightcrossbow.png','mh_crossbow.png','mh_heavycrossbow.png','mh_throwingdaggers.png','mh_javelins.png','mh_francisca.png',''},{'b','_'},{'cape_0.png','cape_1.png','cape_2.png','cape_3.png','_'},{'w','_'}}">
			<sprite r_template="'attackMHAnimationTemplate'"/>
		</factory>
		<factory r_name="'attack2H'" r_params="{{'h','e','d','o','b','ah','ae','ad','ao','ab'},{'m','f'},{'1','2','3'},{'1','2','3'},{'face','dos'},{'L','R'},{'mh_knife.png','mh_dagger.png','mh_stilleto.png','mh_shortsword.png','mh_longsword.png','mh_flamberge.png','mh_greatsword.png','mh_espadon.png','mh_claymore.png','mh_handaxe.png','mh_broadaxe.png','mh_battleaxe.png','mh_splittingmaul.png','mh_greataxe.png','mh_cleaver.png','mh_mace.png','mh_morningstar.png','mh_flail.png','mh_club.png','mh_heavymace.png','mh_twohandedflail.png','mh_spear.png','mh_trident.png','mh_halberd.png','mh_staff.png','mh_quaterstaff.png',''},{'off_knife.png','off_dagger.png','off_stilleto.png','book_0.png','book_1.png','book_2.png','book_3.png','book_4.png','buckler_0.png','buckler_1.png','buckler_2.png','buckler_3.png','shield_0.png','shield_1.png','shield_2.png','shield_3.png','largeshield_0.png','largeshield_1.png','largeshield_2.png','largeshield_3.png','pavois_0.png','pavois_1.png','pavois_2.png','pavois_3.png',''},{'mh_bow.png','mh_longbow.png','mh_compositelongbow.png','mh_lightcrossbow.png','mh_crossbow.png','mh_heavycrossbow.png','mh_throwingdaggers.png','mh_javelins.png','mh_francisca.png',''},{'b','_'},{'cape_0.png','cape_1.png','cape_2.png','cape_3.png','_'},{'w','_'}}">
			<sprite r_template="'attack2HAnimationTemplate'"/>
		</factory>
		<factory r_name="'attackBow'" r_params="{{'h','e','d','o','b','ah','ae','ad','ao','ab'},{'m','f'},{'1','2','3'},{'1','2','3'},{'face','dos'},{'L','R'},{'mh_knife.png','mh_dagger.png','mh_stilleto.png','mh_shortsword.png','mh_longsword.png','mh_flamberge.png','mh_greatsword.png','mh_espadon.png','mh_claymore.png','mh_handaxe.png','mh_broadaxe.png','mh_battleaxe.png','mh_splittingmaul.png','mh_greataxe.png','mh_cleaver.png','mh_mace.png','mh_morningstar.png','mh_flail.png','mh_club.png','mh_heavymace.png','mh_twohandedflail.png','mh_spear.png','mh_trident.png','mh_halberd.png','mh_staff.png','mh_quaterstaff.png',''},{'off_knife.png','off_dagger.png','off_stilleto.png','book_0.png','book_1.png','book_2.png','book_3.png','book_4.png','buckler_0.png','buckler_1.png','buckler_2.png','buckler_3.png','shield_0.png','shield_1.png','shield_2.png','shield_3.png','largeshield_0.png','largeshield_1.png','largeshield_2.png','largeshield_3.png','pavois_0.png','pavois_1.png','pavois_2.png','pavois_3.png',''},{'mh_bow.png','mh_longbow.png','mh_compositelongbow.png','mh_lightcrossbow.png','mh_crossbow.png','mh_heavycrossbow.png','mh_throwingdaggers.png','mh_javelins.png','mh_francisca.png',''},{'b','_'},{'cape_0.png','cape_1.png','cape_2.png','cape_3.png','_'},{'w','_'}}">
			<sprite r_template="'attackBowAnimationTemplate'"/>
		</factory>
		<factory r_name="'attackCrossbow'" r_params="{{'h','e','d','o','b','ah','ae','ad','ao','ab'},{'m','f'},{'1','2','3'},{'1','2','3'},{'face','dos'},{'L','R'},{'mh_knife.png','mh_dagger.png','mh_stilleto.png','mh_shortsword.png','mh_longsword.png','mh_flamberge.png','mh_greatsword.png','mh_espadon.png','mh_claymore.png','mh_handaxe.png','mh_broadaxe.png','mh_battleaxe.png','mh_splittingmaul.png','mh_greataxe.png','mh_cleaver.png','mh_mace.png','mh_morningstar.png','mh_flail.png','mh_club.png','mh_heavymace.png','mh_twohandedflail.png','mh_spear.png','mh_trident.png','mh_halberd.png','mh_staff.png','mh_quaterstaff.png',''},{'off_knife.png','off_dagger.png','off_stilleto.png','book_0.png','book_1.png','book_2.png','book_3.png','book_4.png','buckler_0.png','buckler_1.png','buckler_2.png','buckler_3.png','shield_0.png','shield_1.png','shield_2.png','shield_3.png','largeshield_0.png','largeshield_1.png','largeshield_2.png','largeshield_3.png','pavois_0.png','pavois_1.png','pavois_2.png','pavois_3.png',''},{'mh_bow.png','mh_longbow.png','mh_compositelongbow.png','mh_lightcrossbow.png','mh_crossbow.png','mh_heavycrossbow.png','mh_throwingdaggers.png','mh_javelins.png','mh_francisca.png',''},{'b','_'},{'cape_0.png','cape_1.png','cape_2.png','cape_3.png','_'},{'w','_'}}">
			<sprite r_template="'attackCrossbowAnimationTemplate'"/>
		</factory>
		<factory r_name="'potion'" r_params="{{'h','e','d','o','b','ah','ae','ad','ao','ab'},{'m','f'},{'1','2','3'},{'1','2','3'},{'face','dos'},{'L','R'},{'mh_knife.png','mh_dagger.png','mh_stilleto.png','mh_shortsword.png','mh_longsword.png','mh_flamberge.png','mh_greatsword.png','mh_espadon.png','mh_claymore.png','mh_handaxe.png','mh_broadaxe.png','mh_battleaxe.png','mh_splittingmaul.png','mh_greataxe.png','mh_cleaver.png','mh_mace.png','mh_morningstar.png','mh_flail.png','mh_club.png','mh_heavymace.png','mh_twohandedflail.png','mh_spear.png','mh_trident.png','mh_halberd.png','mh_staff.png','mh_quaterstaff.png',''},{'off_knife.png','off_dagger.png','off_stilleto.png','book_0.png','book_1.png','book_2.png','book_3.png','book_4.png','buckler_0.png','buckler_1.png','buckler_2.png','buckler_3.png','shield_0.png','shield_1.png','shield_2.png','shield_3.png','largeshield_0.png','largeshield_1.png','largeshield_2.png','largeshield_3.png','pavois_0.png','pavois_1.png','pavois_2.png','pavois_3.png',''},{'mh_bow.png','mh_longbow.png','mh_compositelongbow.png','mh_lightcrossbow.png','mh_crossbow.png','mh_heavycrossbow.png','mh_throwingdaggers.png','mh_javelins.png','mh_francisca.png',''},{'b','_'},{'cape_0.png','cape_1.png','cape_2.png','cape_3.png','_'},{'w','_'}}">
			<sprite r_template="'potionAnimationTemplate'"/>
		</factory>
		<factory r_name="'magic'" r_params="{{'h','e','d','o','b','ah','ae','ad','ao','ab'},{'m','f'},{'1','2','3'},{'1','2','3'},{'face','dos'},{'L','R'},{'mh_knife.png','mh_dagger.png','mh_stilleto.png','mh_shortsword.png','mh_longsword.png','mh_flamberge.png','mh_greatsword.png','mh_espadon.png','mh_claymore.png','mh_handaxe.png','mh_broadaxe.png','mh_battleaxe.png','mh_splittingmaul.png','mh_greataxe.png','mh_cleaver.png','mh_mace.png','mh_morningstar.png','mh_flail.png','mh_club.png','mh_heavymace.png','mh_twohandedflail.png','mh_spear.png','mh_trident.png','mh_halberd.png','mh_staff.png','mh_quaterstaff.png',''},{'off_knife.png','off_dagger.png','off_stilleto.png','book_0.png','book_1.png','book_2.png','book_3.png','book_4.png','buckler_0.png','buckler_1.png','buckler_2.png','buckler_3.png','shield_0.png','shield_1.png','shield_2.png','shield_3.png','largeshield_0.png','largeshield_1.png','largeshield_2.png','largeshield_3.png','pavois_0.png','pavois_1.png','pavois_2.png','pavois_3.png',''},{'mh_bow.png','mh_longbow.png','mh_compositelongbow.png','mh_lightcrossbow.png','mh_crossbow.png','mh_heavycrossbow.png','mh_throwingdaggers.png','mh_javelins.png','mh_francisca.png',''},{'b','_'},{'cape_0.png','cape_1.png','cape_2.png','cape_3.png','_'},{'w','_'}}">
			<sprite r_template="'magicAnimationTemplate'"/>
		</factory>
		
		<!-- -->
		<!-- Grounds -->
		<!-- -->
		<sprite r_name="'grounds_lavacave.png'" r_graphic="'grounds_dungeon.png'"/>
		<sprite r_name="'grounds_forest.png'" r_graphic="'grounds_cave.png'"/>
		<factory r_name="'grounds_'" r_params="{{'cave','desert','dungeon','forest','lavacave','swamp'},{'00','01','02','03','04','05','06','07','08','09','10','11','12','13','14','15','16','17','18','19','20','21','22','23','24','25','26','27','28','29','30','31'},{'_'},{'00','01','02','03','04','05','06','07','08','09','10','11','12','13','14','15','16','17','18','19','20','21','22','23'},{'_'}}">
			<sprite r_name="'ground'" r_graphic="'grounds_'+w_FP0+'.png'" r_cutRectangle="{w_FP1*32,w_FP3*32,32,32}" />
		</factory>
		
		<!-- -->
		<!-- Activables -->
		<!-- -->
		<sprite r_name="'Smoke'" r_graphic="'Smoke.png'" r_alpha="0.5"/>
		<sprite r_name="'cavelight1'" r_graphic="'cavelight1.png'" r_xPos="-16" r_yPos="-96"/>
		<sprite r_name="'cavelight2'" r_graphic="'cavelight2.png'" r_xPos="-16" r_yPos="-96"/>

		<!-- -->
		<!-- HMI -->
		<!-- -->
		<sprite r_name="'vwDropIcon'" r_graphic="'rngsdk.display.CdplSpriteSimple'">
			<sprite r_name="'dropIcon'" r_graphic="'dropIcon.png'" r_xPos="6" r_yPos="6"/>
			<sprite r_name="'invisibleLayer'" r_graphic="'vwInvisibleLayer'" r_width="44" r_height="44"/>
		</sprite>
		
		<sprite r_name="'vwSortIcon'" r_graphic="'rngsdk.display.CdplSpriteSimple'">
			<sprite r_name="'sortIcon'" r_graphic="'sortInventory.png'" r_xPos="10" r_yPos="8"/>
			<sprite r_name="'invisibleLayer'" r_graphic="'vwInvisibleLayer'" r_width="32" r_height="32"/>
		</sprite>

		<sprite r_name="'bigRestButton'" r_graphic="'rngsdk.display.CdplSpriteSimple'">
			<sprite r_name="'restIcon'" r_graphic="'rest.png'" r_xPos="3" r_yPos="3"/>
			<sprite r_name="'invisibleLayer'" r_graphic="'vwInvisibleLayer'" r_width="50" r_height="50"/>
		</sprite>
		
		<sprite r_name="'f_leftBig'" r_graphic="'rngsdk.display.CdplSpriteSimple'">
			<sprite r_name="'arrow'" r_graphic="'f_left.png'" r_xPos="0" r_yPos="0"/>
			<sprite r_name="'invisibleLayer'" r_graphic="'vwInvisibleLayer'" r_xPos="-20" r_yPos="-20" r_width="2*20+18" r_height="2*20+32"/>
		</sprite>

		<sprite r_name="'f_rightBig'" r_graphic="'rngsdk.display.CdplSpriteSimple'">
			<sprite r_name="'arrow'" r_graphic="'f_right.png'" r_xPos="0" r_yPos="0"/>
			<sprite r_name="'invisibleLayer'" r_graphic="'vwInvisibleLayer'" r_xPos="-20" r_yPos="-20" r_width="2*20+18" r_height="2*20+32"/>
		</sprite>
		
		
		<!-- Scroll -->
		<sprite r_name="'scrollTemplate'" r_graphic="'rngsdk.display.CdplSpriteSimple'">
			<sprite r_name="'graphics'" r_graphic="'rngsdk.display.CdplSpriteSimple'" r_instanceName="'pictureGraph'"/>
			<sprite r_name="'mask'" r_graphic="'vwInvisibleLayer'" r_instanceName="'pictureMask'" r_width="100" r_height="100"/> <!-- r_width&r_height to be replaced -->
		</sprite>
		<sprite r_name="'scrollTop'" r_template="'scrollTemplate'">
			<sprite r_name="'graphics'">
				<loop r_name="'graphLoop'" r_loopCondition="10>iLoop" r_loopStep="all({children.@0.iLoop=iLoop,children.@0.r_name=(children.@0.r_name+iLoop),iLoop++})" iLoop="0">
					<sprite r_name="'graphics'" r_graphic="'parcheminTop.png'" r_xPos="(w_initialWidth-1)*iLoop" iLoop="0"/>
				</loop>
			</sprite>
		</sprite>
		<sprite r_name="'scrollBottom'" r_template="'scrollTemplate'">
			<sprite r_name="'graphics'">
				<loop r_name="'graphLoop'" r_loopCondition="10>iLoop" r_loopStep="all({children.@0.iLoop=iLoop,children.@0.r_name=(children.@0.r_name+iLoop),iLoop++})" iLoop="0">
					<sprite r_name="'graphics'" r_graphic="'parcheminBottom.png'" r_xPos="(w_initialWidth-1)*iLoop" iLoop="0"/>
				</loop>
			</sprite>
		</sprite>
		<sprite r_name="'scrollLeft'" r_template="'scrollTemplate'">
			<sprite r_name="'graphics'">
				<loop r_name="'graphLoop'" r_loopCondition="10>iLoop" r_loopStep="all({children.@0.iLoop=iLoop,children.@0.r_name=(children.@0.r_name+iLoop),iLoop++})" iLoop="0">
					<sprite r_name="'graphics'" r_graphic="'parcheminLeft.png'" r_yPos="(w_initialHeight-1)*iLoop" iLoop="0"/>
				</loop>
			</sprite>
		</sprite>
		<sprite r_name="'scrollRight'" r_template="'scrollTemplate'">
			<sprite r_name="'graphics'">
				<loop r_name="'graphLoop'" r_loopCondition="10>iLoop" r_loopStep="all({children.@0.iLoop=iLoop,children.@0.r_name=(children.@0.r_name+iLoop),iLoop++})" iLoop="0">
					<sprite r_name="'graphics'" r_graphic="'parcheminRight.png'" r_yPos="(w_initialHeight-1)*iLoop" iLoop="0"/>
				</loop>
			</sprite>
		</sprite>

		<!-- Buttons -->
		<sprite r_name="'button9_0'" r_graphic="'rngsdk.display.CdplSpriteSimple9'">
			<sprite r_name="'button_top_left'" r_graphic="'button_top_left_0.png'"/>
			<sprite r_name="'button_top'" r_graphic="'button_top_0.png'"/>
			<sprite r_name="'button_top_right'" r_graphic="'button_top_right_0.png'"/>
			<sprite r_name="'button_left'" r_graphic="'button_left_0.png'"/>
			<sprite r_name="'button_center'" r_graphic="'button_center_0.png'"/>
			<sprite r_name="'button_right'" r_graphic="'button_right_0.png'"/>
			<sprite r_name="'button_bottom_left'" r_graphic="'button_bottom_left_0.png'"/>
			<sprite r_name="'button_bottom'" r_graphic="'button_bottom_0.png'"/>
			<sprite r_name="'button_bottom_right'" r_graphic="'button_bottom_right_0.png'"/>
		</sprite>
		<sprite r_name="'button9_1'" r_graphic="'rngsdk.display.CdplSpriteSimple9'">
			<sprite r_name="'button_top_left'" r_graphic="'button_top_left_1.png'"/>
			<sprite r_name="'button_top'" r_graphic="'button_top_1.png'"/>
			<sprite r_name="'button_top_right'" r_graphic="'button_top_right_1.png'"/>
			<sprite r_name="'button_left'" r_graphic="'button_left_1.png'"/>
			<sprite r_name="'button_center'" r_graphic="'button_center_1.png'"/>
			<sprite r_name="'button_right'" r_graphic="'button_right_1.png'"/>
			<sprite r_name="'button_bottom_left'" r_graphic="'button_bottom_left_1.png'"/>
			<sprite r_name="'button_bottom'" r_graphic="'button_bottom_1.png'"/>
			<sprite r_name="'button_bottom_right'" r_graphic="'button_bottom_right_1.png'"/>
		</sprite>
		<sprite r_name="'button9_2'" r_graphic="'rngsdk.display.CdplSpriteSimple9'">
			<sprite r_name="'button_top_left'" r_graphic="'button_top_left_2.png'"/>
			<sprite r_name="'button_top'" r_graphic="'button_top_2.png'"/>
			<sprite r_name="'button_top_right'" r_graphic="'button_top_right_2.png'"/>
			<sprite r_name="'button_left'" r_graphic="'button_left_2.png'"/>
			<sprite r_name="'button_center'" r_graphic="'button_center_2.png'"/>
			<sprite r_name="'button_right'" r_graphic="'button_right_2.png'"/>
			<sprite r_name="'button_bottom_left'" r_graphic="'button_bottom_left_2.png'"/>
			<sprite r_name="'button_bottom'" r_graphic="'button_bottom_2.png'"/>
			<sprite r_name="'button_bottom_right'" r_graphic="'button_bottom_right_2.png'"/>
		</sprite>
		<sprite r_name="'button9_dark'" r_graphic="'rngsdk.display.CdplSpriteSimple9'">
			<sprite r_name="'button_top_left'" r_graphic="'buttondark_top_left.png'"/>
			<sprite r_name="'button_top'" r_graphic="'buttondark_top.png'"/>
			<sprite r_name="'button_top_right'" r_graphic="'buttondark_top_right.png'"/>
			<sprite r_name="'button_left'" r_graphic="'buttondark_left.png'"/>
			<sprite r_name="'button_center'" r_graphic="'buttondark_center.png'"/>
			<sprite r_name="'button_right'" r_graphic="'buttondark_right.png'"/>
			<sprite r_name="'button_bottom_left'" r_graphic="'buttondark_bottom_left.png'"/>
			<sprite r_name="'button_bottom'" r_graphic="'buttondark_bottom.png'"/>
			<sprite r_name="'button_bottom_right'" r_graphic="'buttondark_bottom_right.png'"/>
		</sprite>

		<sprite r_name="'CSBackground'" r_graphic="'rngsdk.display.CdplSpriteSimple9'">
			<sprite r_name="'button_top_left'" r_graphic="'cadre_top_left_1.png'"/>
			<sprite r_name="'button_top'" r_graphic="'cadre_top_1.png'"/>
			<sprite r_name="'button_top_right'" r_graphic="'cadre_top_right_1.png'"/>
			<sprite r_name="'button_left'" r_graphic="'cadre_left_1.png'"/>
			<sprite r_name="'button_center'" r_graphic="'cadre_center_1.png'"/>
			<sprite r_name="'button_right'" r_graphic="'cadre_right_1.png'"/>
			<sprite r_name="'button_bottom_left'" r_graphic="'cadre_bottom_left_1.png'"/>
			<sprite r_name="'button_bottom'" r_graphic="'cadre_bottom_1.png'"/>
			<sprite r_name="'button_bottom_right'" r_graphic="'cadre_bottom_right_1.png'"/>
		</sprite>
		<sprite r_name="'EquipmentFrame'" r_graphic="'rngsdk.display.CdplSpriteSimple9'">
			<sprite r_name="'button_top_left'" r_graphic="'playerstuff_cadre_01.png'"/>
			<sprite r_name="'button_top'" r_graphic="'playerstuff_cadre_02.png'"/>
			<sprite r_name="'button_top_right'" r_graphic="'playerstuff_cadre_03.png'"/>
			<sprite r_name="'button_left'" r_graphic="'playerstuff_cadre_04.png'"/>
			<sprite r_name="'button_center'" r_graphic="'vwInvisibleLayer'"/>
			<sprite r_name="'button_right'" r_graphic="'playerstuff_cadre_06.png'"/>
			<sprite r_name="'button_bottom_left'" r_graphic="'playerstuff_cadre_07.png'"/>
			<sprite r_name="'button_bottom'" r_graphic="'playerstuff_cadre_08.png'"/>
			<sprite r_name="'button_bottom_right'" r_graphic="'playerstuff_cadre_09.png'"/>
		</sprite>
		<sprite r_name="'InventoryFrame'" r_graphic="'rngsdk.display.CdplSpriteSimple9'">
			<sprite r_name="'button_top_left'" r_graphic="'cadreitem_cadre_01.png'"/>
			<sprite r_name="'button_top'" r_graphic="'cadreitem_cadre_02.png'"/>
			<sprite r_name="'button_top_right'" r_graphic="'cadreitem_cadre_03.png'"/>
			<sprite r_name="'button_left'" r_graphic="'cadreitem_cadre_04.png'"/>
			<sprite r_name="'button_center'" r_graphic="'vwInvisibleLayer'"/>
			<sprite r_name="'button_right'" r_graphic="'cadreitem_cadre_06.png'"/>
			<sprite r_name="'button_bottom_left'" r_graphic="'cadreitem_cadre_07.png'"/>
			<sprite r_name="'button_bottom'" r_graphic="'cadreitem_cadre_08.png'"/>
			<sprite r_name="'button_bottom_right'" r_graphic="'cadreitem_cadre_09.png'"/>
		</sprite>
		
		<!-- Hero Stats Frame -->
		<sprite r_name="'vwHeroStatFrame'" r_graphic="'rngsdk.display.CdplSpriteSimple'">
			<sprite r_name="'background'" r_graphic="'herostatsBack.png'"/>
			<sprite r_name="'barExhaustion'" r_graphic="'barExhaustion.png'" r_instanceName="'s_barExhaustion'" r_xPos="2" r_yPos="22"/>
			<sprite r_name="'barFatigue'" r_graphic="'barFatigue.png'" r_instanceName="'s_barFatigue'" r_xPos="2" r_yPos="22"/>
			<sprite r_name="'barHP'" r_graphic="'barLife.png'" r_instanceName="'s_barHP'" r_xPos="2" r_yPos="3"/>
			<sprite r_name="'frame'" r_graphic="'herostats.png'"/>
		</sprite>
		
		<!-- progress bar -->
		<sprite r_name="'vwProgressBar'" r_graphic="'rngsdk.display.CdplSpriteSimple'">
			<sprite r_name="'background'" r_graphic="'LoadingEmptyBar.png'"/>
			<sprite r_name="'bar'" r_graphic="'LoadingFullBar.png'" r_instanceName="'s_bar'" r_xPos="14"/>
			<sprite r_name="'frame'" r_graphic="'LoadingFrame.png'"/>
		</sprite>

		<!-- -->
		<!-- MAP -->
		<!-- -->
		<sprite r_name="'vwMapHexes'" r_graphic="'rngsdk.display.CdplSpriteSimple'">
			<sprite r_name="'coordinate0a'" r_graphic="'rngsdk.display.CdplSpriteSimple'" r_instanceName="'s_coordinate0a'" r_xPos=" 60" r_yPos="219"/>
			<sprite r_name="'coordinate1a'" r_graphic="'rngsdk.display.CdplSpriteSimple'" r_instanceName="'s_coordinate1a'" r_xPos="152" r_yPos="164"/>
			<sprite r_name="'coordinate1b'" r_graphic="'rngsdk.display.CdplSpriteSimple'" r_instanceName="'s_coordinate1b'" r_xPos="152" r_yPos="274"/>
			<sprite r_name="'coordinate2a'" r_graphic="'rngsdk.display.CdplSpriteSimple'" r_instanceName="'s_coordinate2a'" r_xPos="244" r_yPos="109"/>
			<sprite r_name="'coordinate2b'" r_graphic="'rngsdk.display.CdplSpriteSimple'" r_instanceName="'s_coordinate2b'" r_xPos="244" r_yPos="219"/>
			<sprite r_name="'coordinate2c'" r_graphic="'rngsdk.display.CdplSpriteSimple'" r_instanceName="'s_coordinate2c'" r_xPos="244" r_yPos="329"/>
			<sprite r_name="'coordinate3a'" r_graphic="'rngsdk.display.CdplSpriteSimple'" r_instanceName="'s_coordinate3a'" r_xPos="336" r_yPos=" 54"/>
			<sprite r_name="'coordinate3b'" r_graphic="'rngsdk.display.CdplSpriteSimple'" r_instanceName="'s_coordinate3b'" r_xPos="336" r_yPos="164"/>
			<sprite r_name="'coordinate3c'" r_graphic="'rngsdk.display.CdplSpriteSimple'" r_instanceName="'s_coordinate3c'" r_xPos="336" r_yPos="274"/>
			<sprite r_name="'coordinate3d'" r_graphic="'rngsdk.display.CdplSpriteSimple'" r_instanceName="'s_coordinate3d'" r_xPos="336" r_yPos="384"/>
			<sprite r_name="'coordinate4a'" r_graphic="'rngsdk.display.CdplSpriteSimple'" r_instanceName="'s_coordinate4a'" r_xPos="428" r_yPos="109"/>
			<sprite r_name="'coordinate4b'" r_graphic="'rngsdk.display.CdplSpriteSimple'" r_instanceName="'s_coordinate4b'" r_xPos="428" r_yPos="219"/>
			<sprite r_name="'coordinate4c'" r_graphic="'rngsdk.display.CdplSpriteSimple'" r_instanceName="'s_coordinate4c'" r_xPos="428" r_yPos="329"/>
			<sprite r_name="'coordinate5a'" r_graphic="'rngsdk.display.CdplSpriteSimple'" r_instanceName="'s_coordinate5a'" r_xPos="520" r_yPos="164"/>
			<sprite r_name="'coordinate5b'" r_graphic="'rngsdk.display.CdplSpriteSimple'" r_instanceName="'s_coordinate5b'" r_xPos="520" r_yPos="274"/>
			<sprite r_name="'coordinate6a'" r_graphic="'rngsdk.display.CdplSpriteSimple'" r_instanceName="'s_coordinate6a'" r_xPos="612" r_yPos="219"/>
		</sprite>
		
		<!-- -->
		<!-- Layers -->
		<!-- -->
		<sprite r_name="'vwInvisibleLayer'" r_shape="'rectangle'" r_color="0" r_alpha="0" r_width="100" r_height="100"/>
		<sprite r_name="'vwBlackLayer'" r_shape="'rectangle'" r_color="0" r_width="100" r_height="100"/>
		<sprite r_name="'vwGreyLayer'" r_shape="'rectangle'" r_color="8355711" r_width="100" r_height="100"/>
		<sprite r_name="'vwWhiteLayer'" r_shape="'rectangle'" r_color="16777215" r_width="100" r_height="100"/>

		<sprite r_name="'vwInvisibleLayer32'" r_shape="'rectangle'" r_color="0" r_alpha="0" r_width="32" r_height="32"/>
		<sprite r_name="'vwBlackLayer32'" r_shape="'rectangle'" r_color="0" r_width="32" r_height="32"/>
		<sprite r_name="'vwShadowLayer32'" r_shape="'rectangle'" r_color="0" r_alpha="0.5" r_width="32" r_height="32"/>
		<sprite r_name="'vwShadowLayer40'" r_shape="'rectangle'" r_color="0" r_alpha="0.5" r_width="40" r_height="40"/>
		<sprite r_name="'vwShadowLayer50'" r_shape="'rectangle'" r_color="0" r_alpha="0.5" r_width="50" r_height="50"/>

		<sprite r_name="'vwEmptyLayer32'" r_graphic="'rngsdk.display.CdplSpriteSimple'">
			<sprite r_name="'vwInvisibleLayer32'" r_shape="'rectangle'" r_color="0" r_alpha="0" r_width="32" r_height="32"/>
		</sprite>
		<sprite r_name="'vwSlotLayer48'" r_graphic="'rngsdk.display.CdplSpriteSimple'">
			<sprite r_name="'vwInvisibleLayer48'" r_shape="'rectangle'" r_color="0" r_alpha="0" r_width="48" r_height="48" r_xPos="-8" r_yPos="-8"/>
			<sprite r_name="'vwBlackLayer32'" r_shape="'rectangle'" r_color="0" r_width="32" r_height="32"/>
		</sprite>
		
		<spriteTemplate r_name="'encapsulatedButtonTemplate'" r_graphic="'rngsdk.display.CdplSpriteSimple'" buttonSprite="'attackonce.png'">
			<sprite r_name="'vwInvisibleLayer50'" r_shape="'rectangle'" r_color="0" r_alpha="0" r_width="50" r_height="50" r_xPos="-3" r_yPos="-3"/>
			<sprite r_name="'buttonSprite'" r_graphic="buttonSprite"/>
		</spriteTemplate>
		<sprite r_name="'encapsulatedAutoExplore'" r_template="'encapsulatedButtonTemplate'" buttonSprite="'autoexplore.png'"/>
		<sprite r_name="'encapsulatedAttackOnce'" r_template="'encapsulatedButtonTemplate'" buttonSprite="'attackonce.png'"/>
		<sprite r_name="'encapsulatedRest'" r_template="'encapsulatedButtonTemplate'" buttonSprite="'rest.png'"/>
		<sprite r_name="'encapsulatedActivate'" r_template="'encapsulatedButtonTemplate'" buttonSprite="'activateorpick.png'"/>
		<sprite r_name="'encapsulatedStairs'" r_template="'encapsulatedButtonTemplate'" buttonSprite="'button_stairs.png'"/>
		<sprite r_name="'encapsulatedShowPotion'" r_template="'encapsulatedButtonTemplate'" buttonSprite="'secondpots.png'"/>
		<sprite r_name="'encapsulatedShowPermanent'" r_template="'encapsulatedButtonTemplate'" buttonSprite="'secondbuff.png'"/>
			
		<!-- -->
		<!-- Animations -->
		<!-- -->
		<sprite r_name="'animatedBlackLayer32'" r_graphic="'rngsdk.display.CdplSpriteClip'" r_frameCount="10" r_loop="0">
			<loop r_name="'graphLoop'" r_loopCondition="r_frameCount>iLoop" r_loopStep="all({children.@0.iLoop=iLoop,children.@0.r_name=(children.@0.r_name+iLoop),iLoop++})" iLoop="0">
				<sprite r_name="'graphics'" r_template="'vwBlackLayer32'" r_frameIndex="iLoop" iLoop="0" r_alpha="0.5*(iLoop+1)/r_frameCount" />
			</loop>
		</sprite>
		
		<sprite r_name="'blinkTemplate'" r_graphic="'rngsdk.display.CdplSpriteClip'" r_frameCount="30" r_loop="1" graphName="''">
			<sprite r_name="'picture'" r_frameIndex="0" r_graphic="graphName"/>
			<sprite r_name="'nothing'" r_frameIndex="15" r_graphic="'vwInvisibleLayer'" r_width="1" r_height="1" />
		</sprite>
		<sprite r_name="'selectedClass'" r_template="'blinkTemplate'" graphName="'selected.png'"/>
		<sprite r_name="'HexSelected'" r_template="'blinkTemplate'" graphName="'HexSelected.png'"/>

		<spriteTemplate r_name="'auraTemplate'" r_graphic="'rngsdk.display.CdplSpriteClip'" r_frameCount="frameCount*frameStep" r_loop="1" frameStep="3" frameCount="12" graphBaseName="''">
			<loop r_name="'graphLoop'" r_loopCondition="frameCount>iLoop" r_loopStep="all({children.@0.iLoop=iLoop,children.@0.r_name=(children.@0.r_name+iLoop),iLoop++})" iLoop="0">
				<sprite r_name="'graphics'" r_frameIndex="iLoop*frameStep" r_graphic="graphBaseName+(iLoop+1)+'.png'" r_xPos="-4" r_yPos="-4" iLoop="0"/>
			</loop>
		</spriteTemplate>
		<sprite r_name="'aura_bleu'" r_template="'auraTemplate'" graphBaseName="'aura_bleu'"/>
		<sprite r_name="'aura_vert'" r_template="'auraTemplate'" graphBaseName="'aura_vert'"/>
		<sprite r_name="'aura_vio'" r_template="'auraTemplate'" graphBaseName="'aura_vio'"/>
		<sprite r_name="'aura_gold'" r_template="'auraTemplate'" graphBaseName="'aura_gold'"/>

		<spriteTemplate r_name="'simpleAnimationTemplate'" r_graphic="'rngsdk.display.CdplSpriteClip'" r_frameCount="frameCount*frameStep" r_loop="1" frameStep="1" frameCount="1" offset="0" graphBaseName="''">
			<loop r_name="'graphLoop'" r_loopCondition="frameCount>iLoop" r_loopStep="all({children.@0.iLoop=iLoop,children.@0.r_name=(children.@0.r_name+iLoop),iLoop++})" iLoop="0">
				<sprite r_name="'graphics'" r_frameIndex="iLoop*frameStep" r_graphic="graphBaseName+(iLoop+offset)+'.png'" iLoop="0"/>
			</loop>
		</spriteTemplate>

		<spriteTemplate r_name="'waterTemplate'" r_template="'simpleAnimationTemplate'" frameStep="5" frameCount="16" offset="1" r_synchronize="1"/>
		<sprite r_name="'deep_water'" r_template="'waterTemplate'" graphBaseName="'DeepWater'"/>
		<sprite r_name="'lava_water'" r_template="'waterTemplate'" graphBaseName="'LavaWater'" frameCount="11"/>
		<sprite r_name="'murky_water'" r_template="'waterTemplate'" graphBaseName="'MurkyWater'"/>
		<sprite r_name="'oasis_water'" r_template="'waterTemplate'" graphBaseName="'OasisWater'"/>
		<sprite r_name="'shallow_water'" r_template="'waterTemplate'" graphBaseName="'ShallowWater'"/>
		<spriteTemplate r_name="'eauTemplate'" r_template="'simpleAnimationTemplate'" graphBaseName="r_name+'_'" frameStep="5" frameCount="9" offset="1" r_synchronize="1"/>
		<sprite r_name="'eau_0000'" r_template="'eauTemplate'"/>
		<sprite r_name="'eau_0001'" r_template="'eauTemplate'"/>
		<sprite r_name="'eau_0010'" r_template="'eauTemplate'"/>
		<sprite r_name="'eau_0011'" r_template="'eauTemplate'"/>
		<sprite r_name="'eau_0100'" r_template="'eauTemplate'"/>
		<sprite r_name="'eau_0101'" r_template="'eauTemplate'"/>
		<sprite r_name="'eau_0110'" r_template="'eauTemplate'"/>
		<sprite r_name="'eau_0111'" r_template="'eauTemplate'"/>
		<sprite r_name="'eau_1000'" r_template="'eauTemplate'"/>
		<sprite r_name="'eau_1001'" r_template="'eauTemplate'"/>
		<sprite r_name="'eau_1010'" r_template="'eauTemplate'"/>
		<sprite r_name="'eau_1011'" r_template="'eauTemplate'"/>
		<sprite r_name="'eau_1100'" r_template="'eauTemplate'"/>
		<sprite r_name="'eau_1101'" r_template="'eauTemplate'"/>
		<sprite r_name="'eau_1110'" r_template="'eauTemplate'"/>
		<sprite r_name="'eau_1111'" r_template="'eauTemplate'"/>
		
		<spriteTemplate r_name="'areaEffectTemplate'" r_template="'simpleAnimationTemplate'" graphBaseName="'death'" frameStep="3" frameCount="3" offset="1"/>
		<sprite r_name="'deathAreaEffect'" r_template="'areaEffectTemplate'" graphBaseName="'effectdeath'"/>
		<sprite r_name="'holyAreaEffect'" r_template="'areaEffectTemplate'" graphBaseName="'effectholy'"/>
		<sprite r_name="'windAreaEffect'" r_template="'areaEffectTemplate'" graphBaseName="'effectwind'"/>
		<sprite r_name="'earthAreaEffect'" r_template="'areaEffectTemplate'" graphBaseName="'effectearth'"/>
		<sprite r_name="'fireAreaEffect'" r_template="'areaEffectTemplate'" graphBaseName="'effectfire'"/>
		<sprite r_name="'iceAreaEffect'" r_template="'areaEffectTemplate'" graphBaseName="'effectice'"/>

		<spriteTemplate r_name="'featureTemplate'" r_template="'simpleAnimationTemplate'" graphBaseName="r_name+'_'" frameStep="5" frameCount="3"/>
		<sprite r_name="'castle_crack'" r_template="'featureTemplate'"/>
		<sprite r_name="'castle_torch'" r_template="'featureTemplate'"/>
		<sprite r_name="'cave_crack'" r_template="'featureTemplate'"/>
		<sprite r_name="'cave_torch'" r_template="'featureTemplate'"/>
		<sprite r_name="'desert_crack'" r_template="'featureTemplate'"/>
		<sprite r_name="'desert_torch'" r_template="'featureTemplate'"/>
		<sprite r_name="'dungeon_crack'" r_template="'featureTemplate'"/>
		<sprite r_name="'dungeon_torch'" r_template="'featureTemplate'"/>
		<sprite r_name="'forest_crack'" r_template="'featureTemplate'"/>
		<sprite r_name="'forest_torch'" r_template="'featureTemplate'"/>
		<sprite r_name="'lava_crack'" r_template="'featureTemplate'"/>
		<sprite r_name="'lava_torch'" r_template="'featureTemplate'"/>
		<sprite r_name="'ruin_crack'" r_template="'featureTemplate'"/>
		<sprite r_name="'ruin_torch'" r_template="'featureTemplate'"/>
		<sprite r_name="'swamp_crack'" r_template="'featureTemplate'"/>
		<sprite r_name="'swamp_torch'" r_template="'featureTemplate'"/>
		<sprite r_name="'jungle_crack'" r_template="'featureTemplate'"/>
		<sprite r_name="'jungle_torch'" r_template="'featureTemplate'"/>
		<sprite r_name="'temple_crack'" r_template="'featureTemplate'"/>
		<sprite r_name="'temple_torch'" r_template="'featureTemplate'"/>
		<sprite r_name="'mansion_crack'" r_template="'featureTemplate'"/>
		<sprite r_name="'mansion_torch'" r_template="'featureTemplate'"/>
		<sprite r_name="'mountain_crack'" r_template="'featureTemplate'"/>
		<sprite r_name="'mountain_torch'" r_template="'featureTemplate'"/>
		<sprite r_name="'sewer_crack'" r_template="'featureTemplate'"/>
		<sprite r_name="'sewer_torch'" r_template="'featureTemplate'"/>

		<sprite r_name="'sheetselect'" r_template="'simpleAnimationTemplate'" graphBaseName="'sheetselect'" frameStep="5" frameCount="3" offset="1"/>
		
		<sprite r_name="'effecthit'" r_template="'simpleAnimationTemplate'" graphBaseName="'effecthit'" frameStep="1" frameCount="6" offset="1"/>
		<sprite r_name="'effectitem'" r_template="'simpleAnimationTemplate'" graphBaseName="'effectitem'" frameStep="2" frameCount="6" offset="1"/>

		<sprite r_name="'title'" r_template="'simpleAnimationTemplate'" graphBaseName="'title'" frameStep="6" frameCount="15" offset="1"/>
		<sprite r_name="'torche_title'" r_template="'simpleAnimationTemplate'" graphBaseName="'torche'" frameStep="6" frameCount="4" offset="1"/>
		<sprite r_name="'heart'" r_template="'simpleAnimationTemplate'" graphBaseName="'heart'" frameStep="2" frameCount="9" offset="1"/>
		<sprite r_name="'deathR'" r_template="'simpleAnimationTemplate'" graphBaseName="'death'" frameStep="3" frameCount="21" offset="1" r_loop="0"/>
		<sprite r_name="'deathL'" r_template="'deathR'" r_scaleX="-1" r_xPos="32"/>
		
		<!-- Screens -->
		<sprite r_name="'fadingBlackScreen'" r_graphic="'rngsdk.display.CdplSpriteClip'" r_frameCount="60" r_loop="0">
			<loop r_name="'graphLoop'" r_loopCondition="r_frameCount>iLoop" r_loopStep="all({children.@0.iLoop=iLoop,children.@0.r_name=(children.@0.r_name+iLoop),iLoop++})" iLoop="0">
				<sprite r_name="'graphics'"	r_shape="'rectangle'" r_color="0" r_width="globalParameters.w_stageWidth" r_height="globalParameters.w_stageHeight" r_frameIndex="iLoop" iLoop="0" r_alpha="(iLoop+1)/r_frameCount" />
			</loop>
		</sprite>
	</sprites>
</data>