version="1.16.10"
abbrev=""
active_mods="reflection,Rav_Color_Mod,plan_unit_advance"
campaign=""
campaign_define=""
campaign_extra_defines=""
campaign_name=""
campaign_type="multiplayer"
difficulty="NORMAL"
end_credits=yes
end_text=""
end_text_duration=0
era_define=""
era_id="ladder_era"
label="2p — Arcanclave Citadel"
mod_defines=""
oos_debug=no
random_mode=""
scenario_define=""
version="1.16.10"
[multiplayer]
	experience_modifier=70
	hash="ILho.SpsaoxLc6sL-KPEdzA9jk+F+RLbjbD35Z1E9f91yctmgmuB6-7mNivumDgb0aVmw6lnuue5ten8hBegj-sdk1EKCBe>5BJ<ZYtuaHhBiEwQ3m>IT90mo.fRmxxe"
	mp_campaign=""
	mp_countdown=no
	mp_countdown_action_bonus=13
	mp_countdown_init_time=270
	mp_countdown_reservoir_time=330
	mp_countdown_turn_bonus=60
	mp_era_name="Ladder Era"
	mp_fog=yes
	mp_num_turns=-1
	mp_random_start_time=no
	mp_scenario="multiplayer_Arcanclave_Citadel_Ladder_Random"
	mp_scenario_name="2p — Arcanclave Citadel"
	mp_shroud=no
	mp_use_map_settings=no
	mp_village_gold=2
	mp_village_support=1
	observer=yes
	private_replay=no
	random_faction_mode="Independent"
	savegame=no
	scenario="ladder"
	shuffle_sides=no
	side_users="id1:szdik570,id2:ikomizo"
	[options]
		[modification]
			id="plan_unit_advance"
			[option]
				id="pickadvance_force_choice"
				value=no
			[/option]
		[/modification]
		[modification]
			id="Rav_Color_Mod"
			[option]
				id="Rav_Color_Blue"
				value="custom"
			[/option]
			[option]
				id="Rav_Color_Cyan"
				value=yes
			[/option]
			[option]
				id="Rav_Color_Pink"
				value=yes
			[/option]
			[option]
				id="Rav_Color_Purple"
				value=yes
			[/option]
			[option]
				id="Rav_Color_Yellow"
				value=yes
			[/option]
		[/modification]
		[multiplayer]
			id="Ladder_Adventurous_Maps"
			[option]
				id="multiplayer_Aethermaw_Ladder_Random"
				value=yes
			[/option]
			[option]
				id="multiplayer_Arcanclave_Citadel_Ladder_Random"
				value=yes
			[/option]
			[option]
				id="multiplayer_Clearing_Gushes_Ladder_Random"
				value=yes
			[/option]
			[option]
				id="multiplayer_Hellhole_Ladder_Random"
				value=yes
			[/option]
			[option]
				id="multiplayer_Howling_Ghost_Badlands_Ladder_Random"
				value=yes
			[/option]
			[option]
				id="multiplayer_Ruined_Passage_Ladder_Random"
				value=yes
			[/option]
			[option]
				id="multiplayer_Ruphus_Isle_Ladder_Random"
				value=yes
			[/option]
			[option]
				id="multiplayer_Swamp_of_Dread_Ladder_Random"
				value=yes
			[/option]
			[option]
				id="multiplayer_The_Walls_of_Pyrennis_Ladder_Random"
				value=yes
			[/option]
			[option]
				id="multiplayer_Tombs_of_Kesorak_Ladder_Random"
				value=yes
			[/option]
			[option]
				id="multiplayer_elensefar_courtyard_Ladder_Random"
				value=yes
			[/option]
			[option]
				id="multiplayer_thousand_stings_garrison_Ladder_Random"
				value=yes
			[/option]
		[/multiplayer]
	[/options]
	[addon]
		id="Color_Modification"
		min_version="1.2.3"
		name="Color Changer"
		require=no
		version="1.2.3"
		[content]
			id="Rav_Color_Mod"
			name="Color Changer"
			type="modification"
		[/content]
	[/addon]
	[addon]
		id="Ladder_Era"
		min_version="1.0.1"
		name="Ladder Era"
		require=no
		version="1.0.1"
		[content]
			id="multiplayer_Arcanclave_Citadel_Ladder_Random"
			name="2j - Arcanclave fellegvár"
			type="scenario"
		[/content]
		[content]
			id="ladder_era"
			name="Ladder Era"
			type="era"
		[/content]
	[/addon]
	[addon]
		id="Reflection"
		min_version="1.2.4"
		name="Reflections"
		require=no
		version="1.2.4"
		[content]
			id="reflection"
			name="Reflections"
			type="modification"
		[/content]
	[/addon]
	[addon]
		id="mainline"
		name="mainline"
		require=no
		version="1.16.9"
		[content]
			id="plan_unit_advance"
			name="Plan Unit Advance"
			type="modification"
		[/content]
	[/addon]
[/multiplayer]
[statistics]
	mid_scenario=yes
	[scenario]
		scenario="Ladder Adventurous Maps"
	[/scenario]
	[scenario]
		scenario="2p — Arcanclave Citadel"
		[team]
			[recruits]
				1="Ghost"
				2="Skeleton,Vampire Bat Ladder_1"
				3="Skeleton Archer Ladder_1"
				7="Walking Corpse,Dark Adept"
			[/recruits]
			[recalls]
			[/recalls]
			[advances]
			[/advances]
			[deaths]
				1="Ghost,Skeleton,Vampire Bat Ladder_1"
				5="Dark Adept"
				6="Walking Corpse"
			[/deaths]
			[killed]
				1="Goblin Spearman,Orcish Archer Ladder_1,Orcish Grunt,Wolf Rider"
			[/killed]
			[attacks]
				[sequence]
					1="s010,s10"
					_num=40
				[/sequence]
				[sequence]
					1="s01,s111"
					2="s10"
					_num=50
				[/sequence]
				[sequence]
					1="s00,s1,s111"
					2="s100"
					_num=60
				[/sequence]
				[sequence]
					2="s00,s10,s11,s111"
					3="s01"
					_num=70
				[/sequence]
				[sequence]
					2="s11"
					_num=80
				[/sequence]
			[/attacks]
			[defends]
				[sequence]
					23="s"
					_num=0
				[/sequence]
				[sequence]
					1="s110"
					_num=30
				[/sequence]
				[sequence]
					1="s0,s00,s000,s1"
					_num=40
				[/sequence]
				[sequence]
					1="s000,s001,s011,s1,s10"
					2="s00"
					_num=50
				[/sequence]
				[sequence]
					1="s0,s001,s01,s010,s1,s11"
					2="s00"
					4="s10"
					_num=60
				[/sequence]
				[sequence]
					1="s00,s1,s110"
					2="s11"
					_num=70
				[/sequence]
				[sequence]
					1="s01"
					_num=80
				[/sequence]
			[/defends]
			[attacks_taken]
				[sequence]
					9="s"
					_num=0
				[/sequence]
				[sequence]
					1="s00,s100"
					_num=40
				[/sequence]
				[sequence]
					1="s011,s1,s11"
					2="s00"
					_num=50
				[/sequence]
				[sequence]
					1="s,s0,s11"
					2="s1"
					3="s01"
					_num=60
				[/sequence]
			[/attacks_taken]
			[defends_taken]
				[sequence]
					1="s01,s011,s1"
					2="s10"
					3="s11"
					_num=40
				[/sequence]
				[sequence]
					1="s1,s100,s1100"
					2="s00,s01,s011"
					3="s001"
					4="s11"
					5="s10"
					_num=50
				[/sequence]
				[sequence]
					1="s000,s0000,s011,s1,s100,s11"
					2="s101"
					3="s111,s01,s00"
					6="s10"
					_num=60
				[/sequence]
				[sequence]
					1="s101"
					_num=80
				[/sequence]
			[/defends_taken]
			[turn_by_cth_inflicted]
			[/turn_by_cth_inflicted]
			[turn_by_cth_taken]
			[/turn_by_cth_taken]
			recruit_cost=288
			recall_cost=0
			damage_inflicted=354
			damage_taken=473
			expected_damage_inflicted=426400
			expected_damage_taken=472900
			turn_damage_inflicted=0
			turn_damage_taken=0
			turn_expected_damage_inflicted=0
			turn_expected_damage_taken=0
			save_id="id1"
		[/team]
		[team]
			[recruits]
				1="Naga Fighter"
				3="Wolf Rider"
				5="Orcish Archer Ladder_1,Orcish Grunt,Troll Whelp,Goblin Spearman"
			[/recruits]
			[recalls]
			[/recalls]
			[advances]
				1="Goblin Pillager"
			[/advances]
			[deaths]
				1="Goblin Spearman,Orcish Archer Ladder_1,Orcish Grunt,Wolf Rider"
			[/deaths]
			[killed]
				1="Ghost,Skeleton,Vampire Bat Ladder_1"
				5="Dark Adept"
				6="Walking Corpse"
			[/killed]
			[attacks]
				[sequence]
					1="s01,s011,s1"
					2="s10"
					3="s11"
					_num=40
				[/sequence]
				[sequence]
					1="s1,s100,s1100"
					2="s00,s01,s011"
					3="s001"
					4="s11"
					5="s10"
					_num=50
				[/sequence]
				[sequence]
					1="s000,s0000,s011,s1,s100,s11"
					2="s101"
					3="s111,s01,s00"
					6="s10"
					_num=60
				[/sequence]
				[sequence]
					1="s101"
					_num=80
				[/sequence]
			[/attacks]
			[defends]
				[sequence]
					9="s"
					_num=0
				[/sequence]
				[sequence]
					1="s00,s100"
					_num=40
				[/sequence]
				[sequence]
					1="s011,s1,s11"
					2="s00"
					_num=50
				[/sequence]
				[sequence]
					1="s,s0,s11"
					2="s1"
					3="s01"
					_num=60
				[/sequence]
			[/defends]
			[attacks_taken]
				[sequence]
					23="s"
					_num=0
				[/sequence]
				[sequence]
					1="s110"
					_num=30
				[/sequence]
				[sequence]
					1="s0,s00,s000,s1"
					_num=40
				[/sequence]
				[sequence]
					1="s000,s001,s011,s1,s10"
					2="s00"
					_num=50
				[/sequence]
				[sequence]
					1="s0,s001,s01,s010,s1,s11"
					2="s00"
					4="s10"
					_num=60
				[/sequence]
				[sequence]
					1="s00,s1,s110"
					2="s11"
					_num=70
				[/sequence]
				[sequence]
					1="s01"
					_num=80
				[/sequence]
			[/attacks_taken]
			[defends_taken]
				[sequence]
					1="s010,s10"
					_num=40
				[/sequence]
				[sequence]
					1="s01,s111"
					2="s10"
					_num=50
				[/sequence]
				[sequence]
					1="s00,s1,s111"
					2="s100"
					_num=60
				[/sequence]
				[sequence]
					2="s00,s10,s11,s111"
					3="s01"
					_num=70
				[/sequence]
				[sequence]
					2="s11"
					_num=80
				[/sequence]
			[/defends_taken]
			[turn_by_cth_inflicted]
				[hitrate_map_entry]
					cth=40
					[stats]
						hits=7
						strikes=9
					[/stats]
				[/hitrate_map_entry]
				[hitrate_map_entry]
					cth=50
					[stats]
						hits=12
						strikes=20
					[/stats]
				[/hitrate_map_entry]
				[hitrate_map_entry]
					cth=60
					[stats]
						hits=1
						strikes=3
					[/stats]
				[/hitrate_map_entry]
			[/turn_by_cth_inflicted]
			[turn_by_cth_taken]
				[hitrate_map_entry]
					cth=40
					[stats]
						hits=0
						strikes=3
					[/stats]
				[/hitrate_map_entry]
				[hitrate_map_entry]
					cth=50
					[stats]
						hits=3
						strikes=10
					[/stats]
				[/hitrate_map_entry]
				[hitrate_map_entry]
					cth=60
					[stats]
						hits=2
						strikes=4
					[/stats]
				[/hitrate_map_entry]
				[hitrate_map_entry]
					cth=70
					[stats]
						hits=2
						strikes=4
					[/stats]
				[/hitrate_map_entry]
			[/turn_by_cth_taken]
			recruit_cost=305
			recall_cost=0
			damage_inflicted=473
			damage_taken=354
			expected_damage_inflicted=472900
			expected_damage_taken=426400
			turn_damage_inflicted=102
			turn_damage_taken=24
			turn_expected_damage_inflicted=78400
			turn_expected_damage_taken=35800
			save_id="id2"
		[/team]
	[/scenario]
[/statistics]
[carryover_sides]
	next_scenario=""
	next_underlying_unit_id=2
	random_calls=0
	random_seed="99f37e69"
	[variables]
	[/variables]
[/carryover_sides]
[replay_start]
	can_end_turn=yes
	cannot_end_turn_reason=""
	current_time=0
	defeat_music=""
	description="Long ago, countless centuries before the time of Haldric, and far beyond the easternmost reaches of Lintanir Forest, great and terrible wars were fought. The records tell of a powerful battle-mage, a brilliant tactician and practitioner of the arcane arts, who had been given the title of Dauntless by his followers. At the battle of Arcanclave, Dauntless and his armies did battle with a savage race of sorcerer-demons known as the Kah Ruuk. Surrounded by tens of thousands of Kah Ruuk, Dauntless used his magic to summon a powerful earth elemental (who, for unknown reasons, owed Dauntless a debt of gratitude). The elemental raised great stones from deep within the earth, forming them, in mere moments, into the walls and battlements of a massive fortress. Thousands of Kah Ruuk perished in their attempt to overrun Arcanclave Citadel, and Dauntless and his men were victorious that day. More than one thousand years later, the Warrior-Queen Cynsaun the First drove a clan of necromancers from the ruins of Arcanclave Citadel, and, in the years that followed, converted the region into a military stronghold. It is rumored that several powerful artifacts, remnants from the reign of the Great Mage Dauntless, may yet remain hidden, lost somewhere within the granite and obsidian walls of Arcanclave Citadel. Designed by Doc Paterson."
	do_healing=no
	experience_modifier=70
	id="multiplayer_Arcanclave_Citadel_Ladder_Random"
	init_side_done=no
	it_is_a_new_turn=yes
	loaded_resources=""
	map_data="Rr, Gg, Gg, Hh, Hh, Hh^Fds, Hh^Fms, Rr, Rr, Wwf, Wwf, Ww, Wwf, Ww, Ww, Ww, Ww, Ww, Ww, Wwf, Gg, Gg, Gs^Fms, Gs^Fp, Hh^Fds, Hh^Fms, Mm, Hh^Fms, Gg^Fp, Gg, Rr, Rr, Hh^Fp, Hh, Wwf, Wwf, Ww, Wo, Wo, Wo, Ww, Wwf, Wwf, Gg, Hh, Mm, Hh, Gg, Gg
Hh, Rr, Rr, Gg, Gs^Fds, Mm, Mm, Mm, Gg^Fms, Rr, Rr, Wwf, Gg, Wwf, Wwf, Ww, Wwf, Ww, Wwf, Wwf, Gs^Fms, Gg^Fp, Hh, Mm, Hh, Gs^Fds, Gg, Gg, Rr, Rr, Gg, Hh, Gg, Mm, Wwf, Ww, Wo, Wo, Wo, Wo, Ww, Wwf, Gg, Gs^Fms, Gs, Hh^Fp, Gs, Gs^Fds, Gs^Fds
Gg^Fet, Gg, Rr, Gg, Gg, Hh, Gs, Hh^Fp, Gg, Gg, Rr, Gg, Hh^Fms, Gg, Gg, Wwf, Mm, Wwf, Gg, Gg, Gg, Gg^Efm, Gg, Hh^Fms, Rr, Gg, Rr, Rr, Tb^Tf, Gs, Gs^Fms, Gg, Wwf, Wwf, Ww, Ww, Wo, Wo, Ww, Ww, Wwf, Wwf, Hh^Fms, Gg^Efm, Gg^Efm, Gs, Gg, Gg, Gg
Mm, Gg^Fp, Hh^Fds, Rr, Rr, Gg, Gg, Gg, Gg, Gg, Rr, Gg^Fms, Hh, Gg^Efm, Gg, Gs^Tf, Gs^Fp, Hh, Hh, Gg^Fet, Gg, Gg^Tf, Rr, Rr, Gg, Rr, Gg^Fet, Mm, Hh, Hh, Tb^Tf, Wwf, Ww, Ww, Wo, Wo, Wo, Ww, Wwf, Wwf, Mm, Mm, Mm, Gs^Fp, Hh, Hh, Gg^Fet, Gg, Gg
Mm, Hh, Mm, Gg^Efm, Rr, Gg^Vc, Gs^Fp, Gg^Efm, Gg^Tf, Gg, Gg, Rr, Rr, Gg, Gg, Gg^Efm, Gs^Fds, Mm, Gs^Fp, Gg, Rr, Rr, Gg^Tf, Gg, Gs^Fds, Gg, Gs, Gs^Fp, Gg, Gg^Efm, Gg, Wwf, Ww, Ww, Ww, Ww, Ww, Ww, Wwf, Hh, Gs^Fp, Mm, Gs^Fms, Gs^Tf, Gs, Gs^Fp, Gg, Gg, Rr
Gs, Gs^Fp, Gg^Fet, Gg^Tf, Rr, Gg, Hh, Mm, Gs^Fp, Gg, Gg, Gg, Rr, Gg, Gg, Gg, Gg, Hh, Gg, Gg, Rr, Gg, Hh, Mm, Hh, Gs, Gg, Gg, Gg, Gg^Vc, Wwf, Wwf, Wwf, Ww, Wwf, Wwf, Wwf, Wwf, Hh, Gg^Tf, Gs^Efm, Hh, Gs^Fds, Hh, Rr, Gg, Rr, Rr, Gg
Gg, Gs^Fds, Gg, Rr, Gg, Gg, Gg, Hh, Gs, Gs, Gg, Gg^Tf, Gg, Rp^Vhc, Rr, Rr, Rr, Gg, Rr, Rr, Gg, Gg, Gg, Gs^Fp, Gs, Gg^Efm, Gg, Gg, Gg, Gg, Wwf, Wwf, Gg, Wwf, Mm, Hh, Gg, Gg^Fet, Gg, Gs^Fp, Gg, Gg, Rr, Rr, Gg, Rr, Gg^Fet, Gg, Wwf
Gg, Gs, Gg, Rr, Rr, Gg, Gg, Gg, Gs, Gs, Hh, Gg, Gg^Efm, Gg, Gg, Gg, Gg, Rr, Gg, Gg, Gg, Gg, Gg, Gg, Gs, Hh, Hh, Gg, Wwf, Wwf, Gg, Gg, Gs, Gg, Gg, Gg, Gg, Gg, Rr, Gg, Rr, Rp^Vhc, Gg, Gg, Gg, Gg, Wwf, Wwf, Gg
Gs, Gs^Fp, Hh, Gg, Rr, Gg, Kud, Gg, Gg, Gs, Gs^Fp, Mm, Gs^Fms, Gg^Tf, Gg, Gg, Gg, Gg, Cud, Gg, Gg^Tf, Gg, Gg, Gg, Gg, Gs^Fp, Gg, Gg, Wwf, Wwf, Gg, Gs, Gs, Gs, Gg, Gs^Fds, Rr, Rr, Gg, Rr, Gg, Gg, Mm, Hh, Gg^Fms, Wwf, Gg^Tf, Gg, Gg
Gg^Fet, Hh, Mm, Gs^Fp, Rr, Cud, Cud, Gg, Gg, Gg, Gg, Gs^Fds, Gs, Gg, Gg, Gg, Kud, Cud, Xos, Cud, Kud, Xos, Xos, Gg, Cud, Gg, Cud, Wwf, Cud, Wwf, Cud, Gg, Kud, Gg, Cud, Rr, Kud, Gg, Gg, Gg, Gg, Hh, Gg^Efm, Gs^Fp, Wwf, Wwf, Gg, Gg, Gg
Gg, Gg^Fet, Gg^Tf, Gg, Rr, Cud, Gg, Cud, Cud, Gg, Gg, Gg, Gg, Gg, Cud, Cud, Xos, Xos, Ur, Ur, Xos, Cud, Xos, Cud, Xos, Cud, Xos, Cud, Wwf, Cud, Uu^Vud, Cud, Xos, Cud, Xos, Cud, Xos, Cud, Cud, Gg, Gg, Gg, Gg, Gg, Wwf, Gg, Gs, Gg, Gg
Rr, Rr, Rr, Rr, Gg, Gg, Gg, Gg, Gg, Cud, Cud, Gg, Cud, Cud, Rr, Xos, Ur^Tf, Ur, Ur, Ur, Ur^Dr, Xos, Ur, Xos, Ur, Xos, Wwf, Gs^Fp, Wwf, Rr, Ur, Xos, Ur, Xos, Ur^Dr, Xos, Ur^Tf, Ur, Cud, Cud, Cud, Gg, Wwf, Wwf, Gg, Gg^Efm, Gs^Fds, Gs, Gg
Tb^Tf, Gg, Gg, Rr, Rr, Gg^Tf, Gs^Fds, Gg, Gg, Gg, Gg, Kud, Xos, Rr, Ur, Uu^Vud, Ur, Ur, Xos, Ur, Ur, Ur, Ur, Ur, Ur, Ur, Gs^Fp, Wwf, Rr, Rr, Ur, Ur, Ur, Ur, Ur, Uu^Vud, Ur, Ur, Cud, Cud, Kud, Wwf, Cud, Gg, Gg, Gs^Fp, Mm, Mm, Gg
Gs, Gs, Mm, Gg, Rr, Gg, Gg^Efm, Gg^Efm, Gg, Gg, Gg, Cud, Xos, Xos, Ur, Ur, Ur, Xos, Ur, Ur, Ur, Ur, Ur, Xos, Ur, Ur, Xos, Wwf, Rr, Ur, Xos, Ur^Dr, Xos, Ur, Ur, Ur, Xos, Ur, Wwf, Wwf, Cud, Cud, Cud, Gg, Gg, Gs, Hh, Hh, Gg
Gg, Gs^Fp, Hh, Hh, Gg, Rr, Gg, Gs^Fp, Hh, Gg, Gg, Cud, Xos, Ur^Dr, Ur, Ur, Xos, Ur, Ur, Xos, Ur, Ur, Ur, Ur, Xos, Xos, Ur, Wwf, Rp^Vhc, Ur, Ur, Xos, Ur^Dr, Xos, Ur, Xos, Wwf, Wwf, Cud, Cud, Mm, Tb^Tf, Gs^Fds, Gs^Fp, Gg, Gs, Gg^Efm, Gs^Fp, Gg
Gg, Gg^Fet, Gs, Gs^Fp, Gg, Rr, Gg^Tf, Hh, Mm, Gg, Gg, Cud, Ur, Ur, Xos, Ur, Xos, Xos, Ur, Xos, Ur, Xos, Ur, Uh, Ur^Dr, Xos, Ur, Wwf, Wwf, Rr, Rr, Ur, Ur, Xos, Wwf, Wwf, Ur, Wwf, Wwf, Cud, Cud, Hh, Cud, Hh, Gg, Gg, Gg, Gg^Fet, Gg
Gg, Gg, Gg, Gg^Efm, Gg, Rr, Rr, Gs^Fp, Gs, Gs, Gg, Cud, Ur, Ur, Xos, Ur, Ur, Ur, Xos, Ur, Xos, Ur, Ur^Dr, Xos, Xos, Ur, Ur, Xos, Wwf, Xos, Rr, Xos, Wwf, Wwf, Xos, Gs^Fp, Ur, Xos, Xos, Wwf, Wwf, Kud, Cud, Gg, Gg, Gg, Wwf, Gg, Wwf
Gg, Gg, Gg^Tf, Mm, Hh, Gg, Rr, Gg, Gg, Gg, Cud, Kud, Xos, Xos, Ur, Ur, Xos, Xos, Ur, Ur, Xos, Kud, Cud, Xos, Cud, Ur, Xos, Xos, Wwf, Xos, Wwf, Xos, Wwf, Gs^Fms, Ur, Ur, Xos, Ur, Ur, Xos, Rr, Cud, Wwf, Wwf, Wwf, Wwf, Gg, Wwf, Gg
Gg, Gg, Gs, Gs^Fp, Rr, Rr, Gg, Gg, Cud, Cud, Xos, Xos, Ur, Ur, Xos, Uh, Ur, Ur, Xos, Ur, Ur, Xos, Xos, Cud, Xos, Wwf, Wwf, Xos, Wwf, Wwf, Gs^Fp, Wwf, Xos, Ur, Xos, Ur^Dr, Xos, Ur, Ur, Xos, Rr, Cud, Gg, Gg, Gg, Gg, Gg^Tf, Gg, Gg
Gg, Gs, Gs^Fds, Gg, Rr, Gg, Gg, Gg, Cud, Rr, Ur, Ur, Xos, Ur, Ur, Ur, Xos, Xos, Ur^Tf, Xos, Xos, Ur, Rr, Uh, Gs^Fms, Wwf, Wo, Wwf, Xos, Xos, Ur, Ur, Xos, Ur, Ur, Xos, Ur, Ur, Ur, Ur, Rr, Kud, Gg, Mm, Hh, Gg, Gs^Fp, Gs, Gg
Gg, Gg^Efm, Rr, Rr, Gs^Fp, Gg, Gg, Kud, Xos, Ur, Xos, Xos, Ur, Uu^Vud, Ur, Xos, Ur, Xos, Xos, Ur, Rr, Xos, Gg, Hh^Fp, Hh, Gg^Tf, Ww, Xos, Xos, Rr, Rr, Xos, Xos, Xos, Ur^Tf, Uu^Vud, Xos, Ur, Xos, Xos, Rr, Cud, Gg, Gs^Fp, Gg, Gg^Efm, Mm, Gs^Fp, Gg^Fet
Mm, Hh, Rr, Gs^Fp, Mm, Hh, Gg, Cud, Xos, Ur, Ur, Ur, Xos, Ur, Ur, Ur, Ur^Dr, Ur, Rr, Xos, Gg, Gg, Gg, Gg, Gg, Wwf, Wwf, Gs^Fds, Gg, Gg, Gg^Vc, Rr, Xos, Ur, Ur, Ur, Xos, Ur, Ur, Rr, Rr, Cud, Gg, Gg, Gg, Hh, Hh, Hh, Gs
Gg^Fet, Mm, Rr, Gg^Tf, Gs, Gs, Gg, Cud, Rr, Xos, Ur, Xos, Ur, Ur, Ur, Xos, Xos, Xos, Hh, Gg, Gg^Vc, Gg, Gg, Gg, Gg^Tf, Wwf, Wwf, Gg, Gg, Gg, Gg, Gs^Fp, Rr, Ur, Ur, Ur, Xos, Xos, Xos, Rr, Rr, Cud, Gg, Gg, Gg, Gg, Gg, Gs^Fp, Gg
Rr, Rr, Gg, Gg, Gg, Gg^Vc, Gg, Cud, Rr, Ur, Xos, Ur, Xos, Ur, Ur, Ur, Wo, Gs^Fp, Gg, Gg, Gg, Gg, Hh, Gs^Fp, Wwf, Wwf, Mm, Hh, Gg, Gg, Gg, Rr, Cud, Cud, Kud, Cud, Cud, Cud, Kud, Cud, Cud, Cud, Kud, Cud, Cud, Cud, 1 Kud, Gg, Gg
Gg^Fet, Gg, 2 Kud, Gg, Cud, Gg, Kud, Cud, Cud, Cud, Kud, Cud, Cud, Cud, Kud, Cud, Cud, Ww, Gg, Gg, Gg, Gs^Fp, Mm, Tb^Tf, Wwf, Tb^Tf, Hh, Gs^Fp, Gg, Gg, Gg, Kud, Wo, Cud, Ur, Cud, Xos, Cud, Xos, Cud, Rr, Cud, Gg, Gg, Gg, Gg, Gg, Gg, Rr
Gg^Tf, Gg, Gg, Cud, Gg, Cud, Gg, Cud, Rr, Cud, Xos, Cud, Xos, Cud, Ur, Cud, Rr, Kud, Gg, Gg, Gg, Hh, Wwf, Wwf, Gg^Tf, Gs^Fp, Gg, Gg, Gg^Vc, Gg, Hh, Gs^Fp, Xos, Ur, Ur, Ur, Ur, Ur, Ur, Ur, Rr, Cud, Gg, Gg^Vc, Gg, Gg, Rr, Rr, Gg
Gg, Gg, Gg, Gg, Gg, Gg, Gg, Cud, Rr, Rr, Ur, Xos, Xos, Ur, Ur, Ur, Xos, Gs^Fp, Gg^Vc, Gg, Gg, Gg, Wwf, Wwf, Gg, Gg, Gg, Gg, Gg, Gg, Rr, Xos, Ur^Dr, Xos, Ur, Ur, Xos, Xos, Ur, Xos, Xos, Cud, Gg, Gg^Efm, Mm, Gg, Rr, Gg^Tf, Gg
Gg, Gg, Gs^Fp, Gg, Gg, Gg, Gg, Cud, Rr, Rr, Xos, Ur, Xos, Ur, Ur^Tf, Ur, Xos, Rr, Rr, Gg, Xos, Gs^Fds, Ww, Wwf, Hh, Gg, Gg, Gg, Rr, Xos, Xos, Ur, Ur, Ur, Ur, Ur, Ur, Ur, Xos, Ur, Xos, Cud, Gg, Hh, Gs^Fms, Gg^Fp, Rr, Gg, Gg
Mm, Mm, Hh, Gg^Efm, Gs^Fp, Hh, Gg, Cud, Rr, Xos, Ur, Ur, Ur, Uu^Vud, Ur, Xos, Xos, Xos, Ur, Rr, Xos, Xos, Wo, Gg^Tf, Gs^Fms, Hh^Fp, Rr, Xos, Xos, Ur, Ur^Tf, Xos, Xos, Xos, Ur, Uu^Vud, Xos, Xos, Ur, Ur, Cud, Kud, Gg, Gs, Gg, Rr, Gg^Fet, Gg, Mm
Gg^Fet, Hh, Gs^Fp, Gs, Gs, Mm, Gg, Kud, Rr, Ur, Ur, Ur, Xos, Xos, Xos, Ur, Xos, Ur, Gs^Fp, Xos, Wwf, Wwf, Wwf, Wwf, Xos, Uh, Xos, Ur, Ur, Xos, Xos, Xos, Ur, Ur, Xos, Ur, Ur, Ur, Xos, Ur, Cud, Gg, Gg, Gg, Gg, Rr, Gg, Gg, Hh^Fms
Gg^Efm, Gg^Tf, Gg, Gg, Gg, Gg, Wwf, Cud, Rr, Xos, Ur, Ur, Xos, Ur^Dr, Ur, Ur, Wwf, Wwf, Wwf, Wwf, Wwf, Xos, Xos, Wwf, Cud, Cud, Cud, Xos, Xos, Ur, Ur, Ur, Xos, Uh, Ur, Ur, Xos, Xos, Cud, Cud, Gg, Gg, Rr, Rr, Rr, Rr, Gg, Gg, Gg
Wwf, Gg, Wwf, Wwf, Wwf, Wwf, Cud, Cud, Wwf, Xos, Xos, Ur, Ur, Ur, Xos, Gs^Fp, Wwf, Xos, Rr, Xos, Wwf, Xos, Ur, Ur, Xos, Xos, Ur^Dr, Kud, Xos, Ur, Xos, Xos, Ur, Ur, Xos, Xos, Ur, Kud, Gg, Gg, Gg, Rr, Mm, Hh, Gg^Fp, Gg, Gs^Fds, Gg, Gg
Gg, Wwf, Gg^Fet, Gg, Gg, Gg, Cud, Kud, Cud, Wwf, Wwf, Xos, Ur, Gs^Fp, Wwf, Wwf, Ur, Xos, Rr, Xos, Wwf, Xos, Ur, Ur, Ur^Dr, Xos, Ur, Ur, Ur, Ur, Ur, Ur, Xos, Ur, Xos, Ur, Ur, Cud, Gg, Gg, Gg^Tf, Rr, Gg^Fms, Hh, Gg, Gg, Gg, Gg^Efm, Gg
Gg, Gg, Mm, Gs^Fp, Gg, Hh, Gs^Fds, Hh, Mm, Cud, Cud, Wwf, Wwf, Wwf, Ur, Xos, Ur^Dr, Ur, Ur, Rr, Rp^Vhc, Wwf, Ur, Xos, Xos, Uh, Ur, Xos, Ur, Xos, Ur, Xos, Xos, Ur, Ur, Ur, Xos, Cud, Gg, Gg, Gg, Rr, Rr, Gg, Gg, Gg, Gg^Efm, Gg^Fp, Gg^Fet
Gg, Gs, Gg^Efm, Hh, Gg, Gs^Fp, Cud, Tb^Tf, Cud, Cud, Wwf, Wwf, Xos, Xos, Ur, Xos, Xos, Xos, Xos, Ur, Rr, Wwf, Xos, Xos, Ur, Ur, Ur, Ur, Ur, Xos, Ur, Ur, Ur, Ur, Ur, Ur^Dr, Xos, Cud, Gg, Gg, Gg, Gg, Hh, Rr, Gg, Gs^Fp, Mm, Gg^Fp, Gg^Tf
Hh, Hh, Gs^Fp, Gg, Gg, Gg, Cud, Cud, Kud, Wwf, Cud, Ur, Ur, Ur, Ur, Ur, Ur, Ur^Dr, Ur, Ur, Rr, Wwf, Gs^Fp, Ur, Ur, Xos, Ur, Ur, Ur, Ur, Xos, Xos, Ur, Ur, Ur, Xos, Xos, Cud, Gg, Gg, Gg^Tf, Mm, Gg^Fp, Rr, Gg, Hh, Hh, Hh, Gg
Gs^Fp, Mm, Gg, Gg, Gg, Gg, Wwf, Wwf, Cud, Cud, Cud, Ur, Ur^Tf, Uu^Vud, Ur^Dr, Ur, Ur, Ur, Ur, Rr, Wwf, Wwf, Wwf, Ur, Ur, Ur, Ur, Ur, Ur^Dr, Ur, Ur, Ur, Ur^Tf, Uu^Vud, Rr, Rr, Cud, Kud, Cud, Gg, Gg, Gs^Fds, Gg, Rr, Rr, Gs^Fp, Gg, Gg^Efm, Gg^Fms
Gs, Gs^Fp, Gg, Gg, Wwf, Wwf, Gg, Gg, Gg, Cud, Cud, Ur, Xos, Xos, Xos, Xos, Xos, Xos, Uu^Vud, Rr, Wwf, Gs^Fp, Xos, Xos, Xos, Xos, Xos, Xos, Xos, Ur, Ur, Ur, Xos, Xos, Cud, Cud, Gg, Gg, Gg, Cud, Cud, Gg, Gg, Gg, Gg, Rr, Gg^Tf, Gg^Fp, Gs^Fms
Gs, Gs, Gg, Gg^Tf, Wwf, Gg^Efm, Gg^Fms, Gs, Gg, Gg, Gg, Cud, Kud, Cud, Cud, Cud, Kud, Cud, Cud, Cud, Cud, Cud, Cud, Cud, Cud, Cud, Xos, Cud, Kud, Ur, Xos, Xos, Kud, Cud, Gg, Gg, Gg, Gg, Gg, Gg, Gg, Cud, Cud, Cud, Rr, Rr, Mm, Gs^Fms, Hh^Fp
Gg^Fet, Gg, Gg, Wwf, Gg, Gs^Fp, Mm, Hh, Gg, Gg, Rr, Gg, Rr, Rr, Gg, Gg, Gg, Gg, Gg, Wwf, Wwf, Wwf, Gg, Gg, Gg, Gg, Gg, Xos, Gg^Tf, Cud, Cud, Cud, Gg, Gg, Gg, Gg, Gg^Fms, Gg^Fp, Gg^Fms, Gg, Gg, Gg, Kud, Cud, Rr, Gg^Fds, Hh, Hh, Mm
Gg, Gg, Wwf, Wwf, Gg, Hh, Gg, Gg, Rr, Rr, Gg, Rr, Gg, Gs^Fds, Gs, Gg, Gg, Gg, Gg, Wwf, Wwf, Gg, Hh, Gs^Fp, Gs, Gg, Gg, Gg, Gg, Gg, Gg, Gg, Gg, Gg, Gg, Gg^Tf, Gg^Efm, Mm, Hh, Gs, Gg, Gg, Gg, Gg, Gg, Rr, Rr, Gg^Fms, Mm
Wwf, Wwf, Gg, Gg^Fds, Gg, Gg, Rr, Rp^Vhc, Gg, Gg, Gs, Gg, Gg, Gs, Mm, Gg, Gg, Gg, Wwf, Wwf, Gg, Gg, Gs, Hh, Gg^Efm, Gg, Gg, Gg, Gg, Gg, Gg, Gg, Gg, Gg, Gg, Gg, Gg, Gg, Gg, Gs, Gs, Gs, Gs, Gg, Gg, Gg, Gg^Efm, Rr, Rr
Gg, Gg, Rr, Gg, Rr, Rr, Gg^Fms, Gg, Gg^Efm, Gg^Fp, Hh, Gg^Fms, Wwf, Hh, Wwf, Wwf, Wwf, Wwf, Wwf, Gg, Gg, Gg, Gg, Gs, Hh, Gg^Fms, Hh, Gg, Rr, Rr, Rr, Rr, Rr, Gg, Rr, Rp^Vhc, Rr, Gg^Tf, Rr, Gg, Gg^Fms, Hh, Hh, Gs, Gg, Gg, Gg^Fms, Gg^Fds, Rr
Rr, Rr, Gg, Rr, Gg^Efm, Hh, Gs^Fp, Hh, Gs^Fds, Gg^Tf, Wwf, Wwf, Ww, Wwf, Ww, Ww, Ww, Wwf, Gg, Gg^Vc, Gs, Gg, Gg, Gs, Gg^Fp, Mm, Gg^Tf, Rr, Gg, Gg, Gg^Fms, Hh, Gg^Fp, Rr, Gg, Gg, Gg, Rr, Gg, Rr, Gg^Tf, Mm, Gg^Fp, Gs, Gg, Gg^Tf, Mm, Gg^Fet, Mm
Gg, Gg, Gs^Fp, Gg^Fms, Hh, Gg^Tf, Mm, Mm, Mm, Hh, Wwf, Ww, Wo, Ww, Wo, Ww, Ww, Wwf, Tb^Tf, Gs, Hh, Gg^Fms, Gg^Fp, Gg, Gg, Gg^Efm, Rr, Rr, Gg, Gg^Efm, Hh, Mm, Gg^Fet, Gg^Efm, Gg, Gg, Hh, Gg, Gg, Rr, Rr, Gg^Efm, Rr, Gg^Vc, Gg, Gg^Efm, Hh^Fp, Hh, Hh
Gg, Gs, Gs, Hh, Gg^Efm, Gs^Fms, Hh^Fms, Mm, Wwf, Wwf, Ww, Ww, Wo, Wo, Ww, Ww, Wwf, Wwf, Gg^Fp, Hh, Tb^Tf, Mm, Rr, Gg, Rr, Rr, Gg, Gg^Tf, Gg, Gg^Fms, Wwf, Hh, Mm, Gg^Tf, Gg, Gg, Hh^Fms, Gg^Fms, Gs, Gg, Gg, Rr, Gg, Rr, Rr, Gg, Gg, Gs^Fms, Gs
Hh, Gg, Gg, Gg, Gg, Gg^Efm, Gg, Wwf, Ww, Ww, Wo, Wo, Wo, Ww, Wwf, Wwf, Gg, Gg, Gg, Gg, Rr, Rr, Gg, Rr, Hh, Hh^Fms, Hh, Gg, Gg^Fp, Wwf, Ww, Wwf, Wwf, Wwf, Wwf, Gg, Gg, Gs, Gg, Gs, Gg^Fp, Hh^Fms, Mm, Hh, Gg^Fms, Rr, Gg, Gs, Gg
Gs^Fp, Hh, Mm, Hh^Fds, Gs^Fp, Hh, Wwf, Wwf, Ww, Wo, Wo, Wo, Wo, Ww, Wwf, Mm, Hh^Fms, Hh, Rr, Rr, Hh^Fds, Mm, Hh^Fds, Gg^Fms, Gg^Fet, Mm, Gg^Tf, Gg^Fms, Wwf, Wwf, Ww, Ww, Ww, Ww, Ww, Wwf, Wwf, Wwf, Wwf, Gg, Gg^Fms, Mm, Mm, Mm, Tb^Tf, Rr, Tb^Tf, Gg^Efm, Gg^Fet
"
	name="2p — Arcanclave Citadel"
	next_scenario=""
	next_teleport_group_id=0
	next_underlying_unit_id=2
	random_calls=0
	random_seed="99f37e69"
	random_start_time=no
	replay_pos=0
	server_request_number=0
	theme=""
	turn_at=1
	turns=-1
	unit_wml_ids="Dark Sorcerer,Orcish Slayer"
	victory_music=""
	[used_items]
	[/used_items]
	[next_item_name]
		next_item_name=0
	[/next_item_name]
	[event]
		name="prestart"
		[store_side]
			variable="new_side"
			[has_unit]
				id="id1"
			[/has_unit]
		[/store_side]
		[modify_side]
			color="$old_side1.color"
			side="$new_side.side"
			village_gold="$old_side1.village_gold"
		[/modify_side]
		[set_variable]
			name="side$new_side.side|_faction"
			value="$old_side1.faction"
		[/set_variable]
		[clear_variable]
			name="new_side"
		[/clear_variable]
		[store_side]
			variable="new_side"
			[has_unit]
				id="id2"
			[/has_unit]
		[/store_side]
		[modify_side]
			color="$old_side2.color"
			side="$new_side.side"
			village_gold="$old_side2.village_gold"
		[/modify_side]
		[set_variable]
			name="side$new_side.side|_faction"
			value="$old_side2.faction"
		[/set_variable]
		[clear_variable]
			name="new_side"
		[/clear_variable]
		[clear_variable]
			name="old_side1,old_side2,next_scenario"
		[/clear_variable]
	[/event]
	[event]
		name="prestart"
		[set_variable]
			name="maps"
			[join]
				key="name"
				separator="
"
				variable="map_pool"
			[/join]
		[/set_variable]
		[chat]
			message="Map pool:"
			speaker=""
		[/chat]
		[chat]
			message="$maps"
			speaker=""
		[/chat]
		[chat]
			message="/me ctrl+x to clear"
			speaker="Press"
		[/chat]
		[clear_variable]
			name="map_pool,maps"
		[/clear_variable]
	[/event]
	[event]
		name="prestart"
		[music]
			ms_before=12000
			name="knolls.ogg"
		[/music]
		[music]
			append=yes
			ms_before=12000
			name="wanderer.ogg"
		[/music]
		[music]
			append=yes
			ms_before=12000
			name="battle.ogg"
		[/music]
		[music]
			append=yes
			ms_before=12000
			name="transience.ogg"
		[/music]
		[music]
			append=yes
			ms_before=12000
			name="the_king_is_dead.ogg"
		[/music]
		[music]
			append=yes
			ms_before=12000
			name="knalgan_theme.ogg"
		[/music]
		[music]
			append=yes
			ms_before=12000
			name="the_city_falls.ogg"
		[/music]
		[music]
			append=yes
			ms_before=12000
			name="nunc_dimittis.ogg"
		[/music]
		[music]
			append=yes
			ms_before=12000
			name="revelation.ogg"
		[/music]
		[music]
			append=yes
			ms_before=12000
			name="loyalists.ogg"
		[/music]
		[music]
			append=yes
			ms_before=12000
			name="breaking_the_chains.ogg"
		[/music]
		[music]
			append=yes
			ms_before=12000
			name="elvish-theme.ogg"
		[/music]
		[music]
			append=yes
			ms_before=12000
			name="legends_of_the_north.ogg"
		[/music]
		[music]
			append=yes
			ms_before=12000
			name="traveling_minstrels.ogg"
		[/music]
		[music]
			append=yes
			ms_before=12000
			name="underground.ogg"
		[/music]
		[music]
			append=yes
			ms_before=12000
			name="vengeful.ogg"
		[/music]
		[music]
			append=yes
			ms_before=12000
			name="frantic.ogg"
		[/music]
		[music]
			append=yes
			ms_before=12000
			name="the_dangerous_symphony.ogg"
		[/music]
		[music]
			append=yes
			ms_before=12000
			name="heroes_rite.ogg"
		[/music]
		[music]
			append=yes
			ms_before=12000
			name="suspense.ogg"
		[/music]
		[music]
			append=yes
			ms_before=12000
			name="the_deep_path.ogg"
		[/music]
		[music]
			append=yes
			ms_before=12000
			name="siege_of_laurelmor.ogg"
		[/music]
		[music]
			append=yes
			ms_before=12000
			name="casualties_of_war.ogg"
		[/music]
		[music]
			append=yes
			ms_before=12000
			name="silvan_sanctuary.ogg"
		[/music]
		[music]
			append=yes
			ms_before=12000
			name="battle-epic.ogg"
		[/music]
	[/event]
	[event]
		first_time_only=no
		id="reflections_trigger_enterhex"
		name="moveto"
		[filter]
			id="$unit.id"
			[filter_location]
				terrain="Ai,W*"
			[/filter_location]
			[not]
				status="non_reflective"
				[or]
					race="gryphon"
				[/or]
				[or]
					status="has_reflected"
				[/or]
			[/not]
		[/filter]
		[store_unit_type]
			type="$unit.type"
			variable="reflect_unit_type"
		[/store_unit_type]
		[if]
			[variable]
				greater_than_equal_to=1
				name="reflect_unit_type.standing_anim.length"
			[/variable]
			[then]
				[if]
					[variable]
						greater_than_equal_to=2
						name="reflect_unit_type.standing_anim.length"
					[/variable]
					[then]
						[foreach]
							array="reflect_unit_type.standing_anim"
							[do]
								[set_variables]
									name="new_reflection_animations[$i]"
									to_variable="this_item"
								[/set_variables]
								[set_variable]
									name="new_reflection_animations[$i].start_time"
									value=0
								[/set_variable]
								[set_variable]
									name="new_reflection_animations[$i].data_apply_to"
									value="standing_anim"
								[/set_variable]
								[set_variable]
									name="new_reflection_animations[$i].base_score"
									value=2
								[/set_variable]
								[set_variables]
									mode="append"
									name="new_reflection_animations[$i].filter"
									[value]
										[filter_location]
											terrain="Wwt,Ww,Wwg"
										[/filter_location]
									[/value]
								[/set_variables]
								[if]
									[variable]
										greater_than_equal_to=1
										name="new_reflection_animations[$i].if.length"
									[/variable]
									[then]
										[if]
											[variable]
												greater_than_equal_to=2
												name="new_reflection_animations[$i].if.length"
											[/variable]
											[then]
												[foreach]
													array="new_reflection_animations[$i].if"
													index_var="k"
													variable="conditional_item"
													[do]
														[if]
															[variable]
																greater_than_equal_to=2
																name="conditional_item.frame.length"
															[/variable]
															[then]
																[foreach]
																	array="conditional_item.frame"
																	index_var="f"
																	variable="frame_item_temp"
																	[do]
																		[if]
																			[variable]
																				equals=""
																				name="frame_item_temp.image"
																			[/variable]
																			[then]
																				[set_variable]
																					name="frame_item_temp.halo"
																					value="$unit.image:200,$unit.image:200"
																				[/set_variable]
																				[set_variable]
																					name="frame_item_temp.image"
																					value="$unit.image:200,$unit.image:200"
																				[/set_variable]
																				[set_variable]
																					name="frame_item_temp.halo_y"
																					value=29
																				[/set_variable]
																				[set_variable]
																					formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-29))~BL(1)~O(33%)~FL(vertical)')"
																					name="frame_item_temp.halo_mod"
																				[/set_variable]
																			[/then]
																			[else]
																				[set_variable]
																					name="frame_item_temp.halo"
																					value="$frame_item_temp.image:200,$frame_item_temp.image:200"
																				[/set_variable]
																				[set_variable]
																					name="frame_item_temp.image"
																					value="$frame_item_temp.image:200,$frame_item_temp.image:200"
																				[/set_variable]
																				[set_variable]
																					name="frame_item_temp.halo_y"
																					value=29
																				[/set_variable]
																				[set_variable]
																					formula="concatenate('$frame_item_temp.halo_mod|','~CROP(0,0,72,(72-29))~BL(1)~O(33%)~FL(vertical)')"
																					name="frame_item_temp.halo_mod"
																				[/set_variable]
																			[/else]
																		[/if]
																	[/do]
																[/foreach]
															[/then]
															[else]
																[if]
																	[variable]
																		equals=""
																		name="conditional_item.frame.image"
																	[/variable]
																	[then]
																		[set_variable]
																			name="conditional_item.frame.halo"
																			value="$unit.image:200,$unit.image:200"
																		[/set_variable]
																		[set_variable]
																			name="conditional_item.frame.image"
																			value="$unit.image:200,$unit.image:200"
																		[/set_variable]
																		[set_variable]
																			name="conditional_item.frame.halo_y"
																			value=29
																		[/set_variable]
																		[set_variable]
																			formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-29))~BL(1)~O(33%)~FL(vertical)')"
																			name="conditional_item.frame.halo_mod"
																		[/set_variable]
																	[/then]
																	[else]
																		[set_variable]
																			name="conditional_item.frame.halo"
																			value="$conditional_item.frame.image:200,$conditional_item.frame.image:200"
																		[/set_variable]
																		[set_variable]
																			name="conditional_item.frame.image"
																			value="$conditional_item.frame.image:200,$conditional_item.frame.image:200"
																		[/set_variable]
																		[set_variable]
																			name="conditional_item.frame.halo_y"
																			value=29
																		[/set_variable]
																		[set_variable]
																			formula="concatenate('$conditional_item.frame.halo_mod|','~CROP(0,0,72,(72-29))~BL(1)~O(33%)~FL(vertical)')"
																			name="conditional_item.frame.halo_mod"
																		[/set_variable]
																	[/else]
																[/if]
															[/else]
														[/if]
													[/do]
												[/foreach]
											[/then]
											[else]
												[if]
													[variable]
														greater_than_equal_to=2
														name="new_reflection_animations[$i].if.frame.length"
													[/variable]
													[then]
														[foreach]
															array="new_reflection_animations[$i].if.frame"
															index_var="f"
															variable="frame_item_temp"
															[do]
																[if]
																	[variable]
																		equals=""
																		name="frame_item_temp.image"
																	[/variable]
																	[then]
																		[set_variable]
																			name="frame_item_temp.halo"
																			value="$unit.image:200,$unit.image:200"
																		[/set_variable]
																		[set_variable]
																			name="frame_item_temp.image"
																			value="$unit.image:200,$unit.image:200"
																		[/set_variable]
																		[set_variable]
																			name="frame_item_temp.halo_y"
																			value=29
																		[/set_variable]
																		[set_variable]
																			formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-29))~BL(1)~O(33%)~FL(vertical)')"
																			name="frame_item_temp.halo_mod"
																		[/set_variable]
																	[/then]
																	[else]
																		[set_variable]
																			name="frame_item_temp.halo"
																			value="$frame_item_temp.image:200,$frame_item_temp.image:200"
																		[/set_variable]
																		[set_variable]
																			name="frame_item_temp.image"
																			value="$frame_item_temp.image:200,$frame_item_temp.image:200"
																		[/set_variable]
																		[set_variable]
																			name="frame_item_temp.halo_y"
																			value=29
																		[/set_variable]
																		[set_variable]
																			formula="concatenate('$frame_item_temp.halo_mod|','~CROP(0,0,72,(72-29))~BL(1)~O(33%)~FL(vertical)')"
																			name="frame_item_temp.halo_mod"
																		[/set_variable]
																	[/else]
																[/if]
															[/do]
														[/foreach]
													[/then]
													[else]
														[if]
															[variable]
																equals=""
																name="new_reflection_animations[$i].if.frame.image"
															[/variable]
															[then]
																[set_variable]
																	name="new_reflection_animations[$i].if.frame.halo"
																	value="$unit.image:200,$unit.image:200"
																[/set_variable]
																[set_variable]
																	name="new_reflection_animations[$i].if.frame.image"
																	value="$unit.image:200,$unit.image:200"
																[/set_variable]
																[set_variable]
																	name="new_reflection_animations[$i].if.frame.halo_y"
																	value=29
																[/set_variable]
																[set_variable]
																	formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-29))~BL(1)~O(33%)~FL(vertical)')"
																	name="new_reflection_animations[$i].if.frame.halo_mod"
																[/set_variable]
															[/then]
															[else]
																[set_variable]
																	name="new_reflection_animations[$i].if.frame.halo"
																	value="$new_reflection_animations[$i].if.frame.image:200,$new_reflection_animations[$i].if.frame.image:200"
																[/set_variable]
																[set_variable]
																	name="new_reflection_animations[$i].if.frame.image"
																	value="$new_reflection_animations[$i].if.frame.image:200,$new_reflection_animations[$i].if.frame.image:200"
																[/set_variable]
																[set_variable]
																	name="new_reflection_animations[$i].if.frame.halo_y"
																	value=29
																[/set_variable]
																[set_variable]
																	formula="concatenate('$new_reflection_animations[$i].if.frame.halo_mod|','~CROP(0,0,72,(72-29))~BL(1)~O(33%)~FL(vertical)')"
																	name="new_reflection_animations[$i].if.frame.halo_mod"
																[/set_variable]
															[/else]
														[/if]
													[/else]
												[/if]
											[/else]
										[/if]
									[/then]
									[else]
										[if]
											[variable]
												greater_than_equal_to=2
												name="new_reflection_animations[$i].frame.length"
											[/variable]
											[then]
												[foreach]
													array="new_reflection_animations[$i].frame"
													index_var="f"
													variable="frame_item_temp"
													[do]
														[if]
															[variable]
																equals=""
																name="frame_item_temp.image"
															[/variable]
															[then]
																[set_variable]
																	name="frame_item_temp.halo"
																	value="$unit.image:200,$unit.image:200"
																[/set_variable]
																[set_variable]
																	name="frame_item_temp.image"
																	value="$unit.image:200,$unit.image:200"
																[/set_variable]
																[set_variable]
																	name="frame_item_temp.halo_y"
																	value=29
																[/set_variable]
																[set_variable]
																	formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-29))~BL(1)~O(33%)~FL(vertical)')"
																	name="frame_item_temp.halo_mod"
																[/set_variable]
															[/then]
															[else]
																[set_variable]
																	name="frame_item_temp.halo"
																	value="$frame_item_temp.image:200,$frame_item_temp.image:200"
																[/set_variable]
																[set_variable]
																	name="frame_item_temp.image"
																	value="$frame_item_temp.image:200,$frame_item_temp.image:200"
																[/set_variable]
																[set_variable]
																	name="frame_item_temp.halo_y"
																	value=29
																[/set_variable]
																[set_variable]
																	formula="concatenate('$frame_item_temp.halo_mod|','~CROP(0,0,72,(72-29))~BL(1)~O(33%)~FL(vertical)')"
																	name="frame_item_temp.halo_mod"
																[/set_variable]
															[/else]
														[/if]
													[/do]
												[/foreach]
											[/then]
											[else]
												[if]
													[variable]
														equals=""
														name="new_reflection_animations[$i].frame.image"
													[/variable]
													[then]
														[set_variable]
															name="new_reflection_animations[$i].frame.halo"
															value="$unit.image:200,$unit.image:200"
														[/set_variable]
														[set_variable]
															name="new_reflection_animations[$i].frame.image"
															value="$unit.image:200,$unit.image:200"
														[/set_variable]
														[set_variable]
															name="new_reflection_animations[$i].frame.halo_y"
															value=29
														[/set_variable]
														[set_variable]
															formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-29))~BL(1)~O(33%)~FL(vertical)')"
															name="new_reflection_animations[$i].frame.halo_mod"
														[/set_variable]
													[/then]
													[else]
														[set_variable]
															name="new_reflection_animations[$i].frame.halo"
															value="$new_reflection_animations[$i].frame.image:200,$new_reflection_animations[$i].frame.image:200"
														[/set_variable]
														[set_variable]
															name="new_reflection_animations[$i].frame.image"
															value="$new_reflection_animations[$i].frame.image:200,$new_reflection_animations[$i].frame.image:200"
														[/set_variable]
														[set_variable]
															name="new_reflection_animations[$i].frame.halo_y"
															value=29
														[/set_variable]
														[set_variable]
															formula="concatenate('$new_reflection_animations[$i].frame.halo_mod|','~CROP(0,0,72,(72-29))~BL(1)~O(33%)~FL(vertical)')"
															name="new_reflection_animations[$i].frame.halo_mod"
														[/set_variable]
													[/else]
												[/if]
											[/else]
										[/if]
									[/else]
								[/if]
								[if]
									[variable]
										greater_than_equal_to=1
										name="new_reflection_animations[$i].else.length"
									[/variable]
									[then]
										[if]
											[variable]
												greater_than_equal_to=2
												name="new_reflection_animations[$i].else.length"
											[/variable]
											[then]
												[foreach]
													array="new_reflection_animations[$i].else"
													index_var="k"
													variable="conditional_item"
													[do]
														[if]
															[variable]
																greater_than_equal_to=2
																name="conditional_item.frame.length"
															[/variable]
															[then]
																[foreach]
																	array="conditional_item.frame"
																	index_var="f"
																	variable="frame_item_temp"
																	[do]
																		[if]
																			[variable]
																				equals=""
																				name="frame_item_temp.image"
																			[/variable]
																			[then]
																				[set_variable]
																					name="frame_item_temp.halo"
																					value="$unit.image:200,$unit.image:200"
																				[/set_variable]
																				[set_variable]
																					name="frame_item_temp.image"
																					value="$unit.image:200,$unit.image:200"
																				[/set_variable]
																				[set_variable]
																					name="frame_item_temp.halo_y"
																					value=29
																				[/set_variable]
																				[set_variable]
																					formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-29))~BL(1)~O(33%)~FL(vertical)')"
																					name="frame_item_temp.halo_mod"
																				[/set_variable]
																			[/then]
																			[else]
																				[set_variable]
																					name="frame_item_temp.halo"
																					value="$frame_item_temp.image:200,$frame_item_temp.image:200"
																				[/set_variable]
																				[set_variable]
																					name="frame_item_temp.image"
																					value="$frame_item_temp.image:200,$frame_item_temp.image:200"
																				[/set_variable]
																				[set_variable]
																					name="frame_item_temp.halo_y"
																					value=29
																				[/set_variable]
																				[set_variable]
																					formula="concatenate('$frame_item_temp.halo_mod|','~CROP(0,0,72,(72-29))~BL(1)~O(33%)~FL(vertical)')"
																					name="frame_item_temp.halo_mod"
																				[/set_variable]
																			[/else]
																		[/if]
																	[/do]
																[/foreach]
															[/then]
															[else]
																[if]
																	[variable]
																		equals=""
																		name="new_reflection_animations[$i].else[$k].frame.image"
																	[/variable]
																	[then]
																		[set_variable]
																			name="new_reflection_animations[$i].else[$k].frame.halo"
																			value="$unit.image:200,$unit.image:200"
																		[/set_variable]
																		[set_variable]
																			name="new_reflection_animations[$i].else[$k].frame.image"
																			value="$unit.image:200,$unit.image:200"
																		[/set_variable]
																		[set_variable]
																			name="new_reflection_animations[$i].else[$k].frame.halo_y"
																			value=29
																		[/set_variable]
																		[set_variable]
																			formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-29))~BL(1)~O(33%)~FL(vertical)')"
																			name="new_reflection_animations[$i].else[$k].frame.halo_mod"
																		[/set_variable]
																	[/then]
																	[else]
																		[set_variable]
																			name="new_reflection_animations[$i].else[$k].frame.halo"
																			value="$new_reflection_animations[$i].else[$k].frame.image:200,$new_reflection_animations[$i].else[$k].frame.image:200"
																		[/set_variable]
																		[set_variable]
																			name="new_reflection_animations[$i].else[$k].frame.image"
																			value="$new_reflection_animations[$i].else[$k].frame.image:200,$new_reflection_animations[$i].else[$k].frame.image:200"
																		[/set_variable]
																		[set_variable]
																			name="new_reflection_animations[$i].else[$k].frame.halo_y"
																			value=29
																		[/set_variable]
																		[set_variable]
																			formula="concatenate('$new_reflection_animations[$i].else[$k].frame.halo_mod|','~CROP(0,0,72,(72-29))~BL(1)~O(33%)~FL(vertical)')"
																			name="new_reflection_animations[$i].else[$k].frame.halo_mod"
																		[/set_variable]
																	[/else]
																[/if]
															[/else]
														[/if]
													[/do]
												[/foreach]
											[/then]
											[else]
												[if]
													[variable]
														greater_than_equal_to=2
														name="new_reflection_animations[$i].else.frame.length"
													[/variable]
													[then]
														[foreach]
															array="new_reflection_animations[$i].else.frame"
															index_var="f"
															variable="frame_item_temp"
															[do]
																[if]
																	[variable]
																		equals=""
																		name="frame_item_temp.image"
																	[/variable]
																	[then]
																		[set_variable]
																			name="frame_item_temp.halo"
																			value="$unit.image:200,$unit.image:200"
																		[/set_variable]
																		[set_variable]
																			name="frame_item_temp.image"
																			value="$unit.image:200,$unit.image:200"
																		[/set_variable]
																		[set_variable]
																			name="frame_item_temp.halo_y"
																			value=29
																		[/set_variable]
																		[set_variable]
																			formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-29))~BL(1)~O(33%)~FL(vertical)')"
																			name="frame_item_temp.halo_mod"
																		[/set_variable]
																	[/then]
																	[else]
																		[set_variable]
																			name="frame_item_temp.halo"
																			value="$frame_item_temp.image:200,$frame_item_temp.image:200"
																		[/set_variable]
																		[set_variable]
																			name="frame_item_temp.image"
																			value="$frame_item_temp.image:200,$frame_item_temp.image:200"
																		[/set_variable]
																		[set_variable]
																			name="frame_item_temp.halo_y"
																			value=29
																		[/set_variable]
																		[set_variable]
																			formula="concatenate('$frame_item_temp.halo_mod|','~CROP(0,0,72,(72-29))~BL(1)~O(33%)~FL(vertical)')"
																			name="frame_item_temp.halo_mod"
																		[/set_variable]
																	[/else]
																[/if]
															[/do]
														[/foreach]
													[/then]
													[else]
														[if]
															[variable]
																equals=""
																name="new_reflection_animations[$i].else.frame.image"
															[/variable]
															[then]
																[set_variable]
																	name="new_reflection_animations[$i].else.frame.halo"
																	value="$unit.image:200,$unit.image:200"
																[/set_variable]
																[set_variable]
																	name="new_reflection_animations[$i].else.frame.image"
																	value="$unit.image:200,$unit.image:200"
																[/set_variable]
																[set_variable]
																	name="new_reflection_animations[$i].else.frame.halo_y"
																	value=29
																[/set_variable]
																[set_variable]
																	formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-29))~BL(1)~O(33%)~FL(vertical)')"
																	name="new_reflection_animations[$i].else.frame.halo_mod"
																[/set_variable]
															[/then]
															[else]
																[set_variable]
																	name="new_reflection_animations[$i].else.frame.halo"
																	value="$new_reflection_animations[$i].else.frame.image:200,$new_reflection_animations[$i].else.frame.image:200"
																[/set_variable]
																[set_variable]
																	name="new_reflection_animations[$i].else.frame.image"
																	value="$new_reflection_animations[$i].else.frame.image:200,$new_reflection_animations[$i].else.frame.image:200"
																[/set_variable]
																[set_variable]
																	name="new_reflection_animations[$i].else.frame.halo_y"
																	value=29
																[/set_variable]
																[set_variable]
																	formula="concatenate('$new_reflection_animations[$i].else.frame.halo_mod|','~CROP(0,0,72,(72-29))~BL(1)~O(33%)~FL(vertical)')"
																	name="new_reflection_animations[$i].else.frame.halo_mod"
																[/set_variable]
															[/else]
														[/if]
													[/else]
												[/if]
											[/else]
										[/if]
									[/then]
								[/if]
							[/do]
						[/foreach]
					[/then]
					[else]
						[set_variables]
							name="new_reflection_animations"
							to_variable="reflect_unit_type.standing_anim[0]"
						[/set_variables]
						[set_variable]
							name="new_reflection_animations.data_apply_to"
							value="standing_anim"
						[/set_variable]
						[set_variable]
							name="new_reflection_animations.start_time"
							value=0
						[/set_variable]
						[set_variable]
							name="new_reflection_animations.base_score"
							value=2
						[/set_variable]
						[set_variables]
							mode="append"
							name="new_reflection_animations.filter"
							[value]
								[filter_location]
									terrain="Wwt,Ww,Wwg"
								[/filter_location]
							[/value]
						[/set_variables]
						[if]
							[variable]
								greater_than_equal_to=1
								name="reflect_unit_type.standing_anim.if.length"
							[/variable]
							[then]
								[if]
									[variable]
										greater_than_equal_to=2
										name="reflect_unit_type.standing_anim.if.length"
									[/variable]
									[then]
										[foreach]
											array="reflect_unit_type.standing_anim.if"
											index_var="k"
											variable="conditional_item"
											[do]
												[if]
													[variable]
														greater_than_equal_to=2
														name="conditional_item.frame.length"
													[/variable]
													[then]
														[foreach]
															array="conditional_item.frame"
															index_var="f"
															variable="frame_item_temp"
															[do]
																[if]
																	[variable]
																		equals=""
																		name="frame_item_temp.image"
																	[/variable]
																	[then]
																		[set_variable]
																			name="frame_item_temp.halo"
																			value="$unit.image:200,$unit.image:200"
																		[/set_variable]
																		[set_variable]
																			name="frame_item_temp.image"
																			value="$unit.image:200,$unit.image:200"
																		[/set_variable]
																		[set_variable]
																			name="frame_item_temp.halo_y"
																			value=29
																		[/set_variable]
																		[set_variable]
																			formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-29))~BL(1)~O(33%)~FL(vertical)')"
																			name="frame_item_temp.halo_mod"
																		[/set_variable]
																	[/then]
																	[else]
																		[set_variable]
																			name="frame_item_temp.halo"
																			value="$frame_item_temp.image:200,$frame_item_temp.image:200"
																		[/set_variable]
																		[set_variable]
																			name="frame_item_temp.image"
																			value="$frame_item_temp.image:200,$frame_item_temp.image:200"
																		[/set_variable]
																		[set_variable]
																			name="frame_item_temp.halo_y"
																			value=29
																		[/set_variable]
																		[set_variable]
																			formula="concatenate('$frame_item_temp.halo_mod|','~CROP(0,0,72,(72-29))~BL(1)~O(33%)~FL(vertical)')"
																			name="frame_item_temp.halo_mod"
																		[/set_variable]
																	[/else]
																[/if]
															[/do]
														[/foreach]
													[/then]
													[else]
														[if]
															[variable]
																equals=""
																name="new_reflection_animations[0].if[$k].frame.image"
															[/variable]
															[then]
																[set_variable]
																	name="new_reflection_animations[0].if[$k].frame.halo"
																	value="$unit.image:200,$unit.image:200"
																[/set_variable]
																[set_variable]
																	name="new_reflection_animations[0].if[$k].frame.image"
																	value="$unit.image:200,$unit.image:200"
																[/set_variable]
																[set_variable]
																	name="new_reflection_animations[0].if[$k].frame.halo_y"
																	value=29
																[/set_variable]
																[set_variable]
																	formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-29))~BL(1)~O(33%)~FL(vertical)')"
																	name="new_reflection_animations[0].if[$k].frame.halo_mod"
																[/set_variable]
															[/then]
															[else]
																[set_variable]
																	name="new_reflection_animations[0].if[$k].frame.halo"
																	value="$new_reflection_animations[0].if[$k].frame.image:200,$new_reflection_animations[0].if[$k].frame.image:200"
																[/set_variable]
																[set_variable]
																	name="new_reflection_animations[0].if[$k].frame.image"
																	value="$new_reflection_animations[0].if[$k].frame.image:200,$new_reflection_animations[0].if[$k].frame.image:200"
																[/set_variable]
																[set_variable]
																	name="new_reflection_animations[0].if[$k].frame.halo_y"
																	value=29
																[/set_variable]
																[set_variable]
																	formula="concatenate('$new_reflection_animations[0].if[$k].frame.halo_mod|','~CROP(0,0,72,(72-29))~BL(1)~O(33%)~FL(vertical)')"
																	name="new_reflection_animations[0].if[$k].frame.halo_mod"
																[/set_variable]
															[/else]
														[/if]
													[/else]
												[/if]
											[/do]
										[/foreach]
									[/then]
									[else]
										[if]
											[variable]
												greater_than_equal_to=2
												name="reflect_unit_type.standing_anim.if.frame.length"
											[/variable]
											[then]
												[foreach]
													array="reflect_unit_type.standing_anim.if.frame"
													index_var="f"
													variable="frame_item_temp"
													[do]
														[if]
															[variable]
																equals=""
																name="frame_item_temp.image"
															[/variable]
															[then]
																[set_variable]
																	name="frame_item_temp.halo"
																	value="$unit.image:200,$unit.image:200"
																[/set_variable]
																[set_variable]
																	name="frame_item_temp.image"
																	value="$unit.image:200,$unit.image:200"
																[/set_variable]
																[set_variable]
																	name="frame_item_temp.halo_y"
																	value=29
																[/set_variable]
																[set_variable]
																	formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-29))~BL(1)~O(33%)~FL(vertical)')"
																	name="frame_item_temp.halo_mod"
																[/set_variable]
															[/then]
															[else]
																[set_variable]
																	name="frame_item_temp.halo"
																	value="$frame_item_temp.image:200,$frame_item_temp.image:200"
																[/set_variable]
																[set_variable]
																	name="frame_item_temp.image"
																	value="$frame_item_temp.image:200,$frame_item_temp.image:200"
																[/set_variable]
																[set_variable]
																	name="frame_item_temp.halo_y"
																	value=29
																[/set_variable]
																[set_variable]
																	formula="concatenate('$frame_item_temp.halo_mod|','~CROP(0,0,72,(72-29))~BL(1)~O(33%)~FL(vertical)')"
																	name="frame_item_temp.halo_mod"
																[/set_variable]
															[/else]
														[/if]
													[/do]
												[/foreach]
											[/then]
											[else]
												[if]
													[variable]
														equals=""
														name="new_reflection_animations[0].if.frame.image"
													[/variable]
													[then]
														[set_variable]
															name="new_reflection_animations[0].if.frame.halo"
															value="$unit.image:200,$unit.image:200"
														[/set_variable]
														[set_variable]
															name="new_reflection_animations[0].if.frame.image"
															value="$unit.image:200,$unit.image:200"
														[/set_variable]
														[set_variable]
															name="new_reflection_animations[0].if.frame.halo_y"
															value=29
														[/set_variable]
														[set_variable]
															formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-29))~BL(1)~O(33%)~FL(vertical)')"
															name="new_reflection_animations[0].if.frame.halo_mod"
														[/set_variable]
													[/then]
													[else]
														[set_variable]
															name="new_reflection_animations[0].if.frame.halo"
															value="$new_reflection_animations[0].if.frame.image:200,$new_reflection_animations[0].if.frame.image:200"
														[/set_variable]
														[set_variable]
															name="new_reflection_animations[0].if.frame.image"
															value="$new_reflection_animations[0].if.frame.image:200,$new_reflection_animations[0].if.frame.image:200"
														[/set_variable]
														[set_variable]
															name="new_reflection_animations[0].if.frame.halo_y"
															value=29
														[/set_variable]
														[set_variable]
															formula="concatenate('$new_reflection_animations[0].if.frame.halo_mod|','~CROP(0,0,72,(72-29))~BL(1)~O(33%)~FL(vertical)')"
															name="new_reflection_animations[0].if.frame.halo_mod"
														[/set_variable]
													[/else]
												[/if]
											[/else]
										[/if]
									[/else]
								[/if]
							[/then]
							[else]
								[if]
									[variable]
										greater_than_equal_to=2
										name="new_reflection_animations[0].frame.length"
									[/variable]
									[then]
										[foreach]
											array="new_reflection_animations[0].frame"
											index_var="f"
											variable="frame_item_temp"
											[do]
												[if]
													[variable]
														equals=""
														name="frame_item_temp.image"
													[/variable]
													[then]
														[set_variable]
															name="frame_item_temp.halo"
															value="$unit.image:200,$unit.image:200"
														[/set_variable]
														[set_variable]
															name="frame_item_temp.image"
															value="$unit.image:200,$unit.image:200"
														[/set_variable]
														[set_variable]
															name="frame_item_temp.halo_y"
															value=29
														[/set_variable]
														[set_variable]
															formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-29))~BL(1)~O(33%)~FL(vertical)')"
															name="frame_item_temp.halo_mod"
														[/set_variable]
													[/then]
													[else]
														[set_variable]
															name="frame_item_temp.halo"
															value="$frame_item_temp.image:200,$frame_item_temp.image:200"
														[/set_variable]
														[set_variable]
															name="frame_item_temp.image"
															value="$frame_item_temp.image:200,$frame_item_temp.image:200"
														[/set_variable]
														[set_variable]
															name="frame_item_temp.halo_y"
															value=29
														[/set_variable]
														[set_variable]
															formula="concatenate('$frame_item_temp.halo_mod|','~CROP(0,0,72,(72-29))~BL(1)~O(33%)~FL(vertical)')"
															name="frame_item_temp.halo_mod"
														[/set_variable]
													[/else]
												[/if]
											[/do]
										[/foreach]
									[/then]
									[else]
										[if]
											[variable]
												equals=""
												name="new_reflection_animations[0].frame.image"
											[/variable]
											[then]
												[set_variable]
													name="new_reflection_animations[0].frame.halo"
													value="$unit.image:200,$unit.image:200"
												[/set_variable]
												[set_variable]
													name="new_reflection_animations[0].frame.image"
													value="$unit.image:200,$unit.image:200"
												[/set_variable]
												[set_variable]
													name="new_reflection_animations[0].frame.halo_y"
													value=29
												[/set_variable]
												[set_variable]
													formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-29))~BL(1)~O(33%)~FL(vertical)')"
													name="new_reflection_animations[0].frame.halo_mod"
												[/set_variable]
											[/then]
											[else]
												[set_variable]
													name="new_reflection_animations[0].frame.halo"
													value="$new_reflection_animations[0].frame.image:200,$new_reflection_animations[0].frame.image:200"
												[/set_variable]
												[set_variable]
													name="new_reflection_animations[0].frame.image"
													value="$new_reflection_animations[0].frame.image:200,$new_reflection_animations[0].frame.image:200"
												[/set_variable]
												[set_variable]
													name="new_reflection_animations[0].frame.halo_y"
													value=29
												[/set_variable]
												[set_variable]
													formula="concatenate('$new_reflection_animations[0].frame.halo_mod|','~CROP(0,0,72,(72-29))~BL(1)~O(33%)~FL(vertical)')"
													name="new_reflection_animations[0].frame.halo_mod"
												[/set_variable]
											[/else]
										[/if]
									[/else]
								[/if]
							[/else]
						[/if]
						[if]
							[variable]
								greater_than_equal_to=1
								name="reflect_unit_type.standing_anim.else.length"
							[/variable]
							[then]
								[if]
									[variable]
										greater_than_equal_to=2
										name="reflect_unit_type.standing_anim.else.length"
									[/variable]
									[then]
										[foreach]
											array="reflect_unit_type.standing_anim.else"
											index_var="k"
											variable="conditional_item"
											[do]
												[if]
													[variable]
														greater_than_equal_to=2
														name="conditional_item.frame.length"
													[/variable]
													[then]
														[foreach]
															array="conditional_item.frame"
															index_var="f"
															variable="frame_item_temp"
															[do]
																[if]
																	[variable]
																		equals=""
																		name="frame_item_temp.image"
																	[/variable]
																	[then]
																		[set_variable]
																			name="frame_item_temp.halo"
																			value="$unit.image:200,$unit.image:200"
																		[/set_variable]
																		[set_variable]
																			name="frame_item_temp.image"
																			value="$unit.image:200,$unit.image:200"
																		[/set_variable]
																		[set_variable]
																			name="frame_item_temp.halo_y"
																			value=29
																		[/set_variable]
																		[set_variable]
																			formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-29))~BL(1)~O(33%)~FL(vertical)')"
																			name="frame_item_temp.halo_mod"
																		[/set_variable]
																	[/then]
																	[else]
																		[set_variable]
																			name="frame_item_temp.halo"
																			value="$frame_item_temp.image:200,$frame_item_temp.image:200"
																		[/set_variable]
																		[set_variable]
																			name="frame_item_temp.image"
																			value="$frame_item_temp.image:200,$frame_item_temp.image:200"
																		[/set_variable]
																		[set_variable]
																			name="frame_item_temp.halo_y"
																			value=29
																		[/set_variable]
																		[set_variable]
																			formula="concatenate('$frame_item_temp.halo_mod|','~CROP(0,0,72,(72-29))~BL(1)~O(33%)~FL(vertical)')"
																			name="frame_item_temp.halo_mod"
																		[/set_variable]
																	[/else]
																[/if]
															[/do]
														[/foreach]
													[/then]
													[else]
														[if]
															[variable]
																equals=""
																name="new_reflection_animations[0].else[$k].frame.image"
															[/variable]
															[then]
																[set_variable]
																	name="new_reflection_animations[0].else[$k].frame.halo"
																	value="$unit.image:200,$unit.image:200"
																[/set_variable]
																[set_variable]
																	name="new_reflection_animations[0].else[$k].frame.image"
																	value="$unit.image:200,$unit.image:200"
																[/set_variable]
																[set_variable]
																	name="new_reflection_animations[0].else[$k].frame.halo_y"
																	value=29
																[/set_variable]
																[set_variable]
																	formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-29))~BL(1)~O(33%)~FL(vertical)')"
																	name="new_reflection_animations[0].else[$k].frame.halo_mod"
																[/set_variable]
															[/then]
															[else]
																[set_variable]
																	name="new_reflection_animations[0].else[$k].frame.halo"
																	value="$new_reflection_animations[0].else[$k].frame.image:200,$new_reflection_animations[0].else[$k].frame.image:200"
																[/set_variable]
																[set_variable]
																	name="new_reflection_animations[0].else[$k].frame.image"
																	value="$new_reflection_animations[0].else[$k].frame.image:200,$new_reflection_animations[0].else[$k].frame.image:200"
																[/set_variable]
																[set_variable]
																	name="new_reflection_animations[0].else[$k].frame.halo_y"
																	value=29
																[/set_variable]
																[set_variable]
																	formula="concatenate('$new_reflection_animations[0].else[$k].frame.halo_mod|','~CROP(0,0,72,(72-29))~BL(1)~O(33%)~FL(vertical)')"
																	name="new_reflection_animations[0].else[$k].frame.halo_mod"
																[/set_variable]
															[/else]
														[/if]
													[/else]
												[/if]
											[/do]
										[/foreach]
									[/then]
									[else]
										[if]
											[variable]
												greater_than_equal_to=2
												name="reflect_unit_type.standing_anim.else.frame.length"
											[/variable]
											[then]
												[foreach]
													array="reflect_unit_type.standing_anim.else.frame"
													index_var="f"
													variable="frame_item_temp"
													[do]
														[if]
															[variable]
																equals=""
																name="frame_item_temp.image"
															[/variable]
															[then]
																[set_variable]
																	name="frame_item_temp.halo"
																	value="$unit.image:200,$unit.image:200"
																[/set_variable]
																[set_variable]
																	name="frame_item_temp.image"
																	value="$unit.image:200,$unit.image:200"
																[/set_variable]
																[set_variable]
																	name="frame_item_temp.halo_y"
																	value=29
																[/set_variable]
																[set_variable]
																	formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-29))~BL(1)~O(33%)~FL(vertical)')"
																	name="frame_item_temp.halo_mod"
																[/set_variable]
															[/then]
															[else]
																[set_variable]
																	name="frame_item_temp.halo"
																	value="$frame_item_temp.image:200,$frame_item_temp.image:200"
																[/set_variable]
																[set_variable]
																	name="frame_item_temp.image"
																	value="$frame_item_temp.image:200,$frame_item_temp.image:200"
																[/set_variable]
																[set_variable]
																	name="frame_item_temp.halo_y"
																	value=29
																[/set_variable]
																[set_variable]
																	formula="concatenate('$frame_item_temp.halo_mod|','~CROP(0,0,72,(72-29))~BL(1)~O(33%)~FL(vertical)')"
																	name="frame_item_temp.halo_mod"
																[/set_variable]
															[/else]
														[/if]
													[/do]
												[/foreach]
											[/then]
											[else]
												[if]
													[variable]
														equals=""
														name="new_reflection_animations[0].else.frame.image"
													[/variable]
													[then]
														[set_variable]
															name="new_reflection_animations[0].else.frame.halo"
															value="$unit.image:200,$unit.image:200"
														[/set_variable]
														[set_variable]
															name="new_reflection_animations[0].else.frame.image"
															value="$unit.image:200,$unit.image:200"
														[/set_variable]
														[set_variable]
															name="new_reflection_animations[0].else.frame.halo_y"
															value=29
														[/set_variable]
														[set_variable]
															formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-29))~BL(1)~O(33%)~FL(vertical)')"
															name="new_reflection_animations[0].else.frame.halo_mod"
														[/set_variable]
													[/then]
													[else]
														[set_variable]
															name="new_reflection_animations[0].else.frame.halo"
															value="$new_reflection_animations[0].else.frame.image:200,$new_reflection_animations[0].else.frame.image:200"
														[/set_variable]
														[set_variable]
															name="new_reflection_animations[0].else.frame.image"
															value="$new_reflection_animations[0].else.frame.image:200,$new_reflection_animations[0].else.frame.image:200"
														[/set_variable]
														[set_variable]
															name="new_reflection_animations[0].else.frame.halo_y"
															value=29
														[/set_variable]
														[set_variable]
															formula="concatenate('$new_reflection_animations[0].else.frame.halo_mod|','~CROP(0,0,72,(72-29))~BL(1)~O(33%)~FL(vertical)')"
															name="new_reflection_animations[0].else.frame.halo_mod"
														[/set_variable]
													[/else]
												[/if]
											[/else]
										[/if]
									[/else]
								[/if]
							[/then]
						[/if]
					[/else]
				[/if]
			[/then]
			[else]
				[if]
					[variable]
						name="unit.image"
						not_equals=""
					[/variable]
					[then]
						[set_variables]
							name="new_reflection_animations"
							[value]
								apply_to="standing"
								data_apply_to="standing_anim"
								start_time=0
								terrain_type="Wwt,Ww,Wwg"
								[frame]
									halo="$unit.image:200,$unit.image:200"
									halo_mod="~CROP(0,0,72,$(72-29))~BL(1)~O(33%)~FL(vertical)"
									halo_y=29
									image="$unit.image:200,$unit.image:200"
								[/frame]
							[/value]
						[/set_variables]
					[/then]
				[/if]
			[/else]
		[/if]
		[set_variables]
			mode="append"
			name="add_animations_variable"
			to_variable="new_reflection_animations"
		[/set_variables]
		[clear_variable]
			name="new_reflection_animations"
		[/clear_variable]
		[if]
			[variable]
				greater_than_equal_to=1
				name="reflect_unit_type.standing_anim.length"
			[/variable]
			[then]
				[if]
					[variable]
						greater_than_equal_to=2
						name="reflect_unit_type.standing_anim.length"
					[/variable]
					[then]
						[foreach]
							array="reflect_unit_type.standing_anim"
							[do]
								[set_variables]
									name="new_reflection_animations[$i]"
									to_variable="this_item"
								[/set_variables]
								[set_variable]
									name="new_reflection_animations[$i].start_time"
									value=0
								[/set_variable]
								[set_variable]
									name="new_reflection_animations[$i].data_apply_to"
									value="standing_anim"
								[/set_variable]
								[set_variable]
									name="new_reflection_animations[$i].base_score"
									value=2
								[/set_variable]
								[set_variables]
									mode="append"
									name="new_reflection_animations[$i].filter"
									[value]
										[filter_location]
											terrain="Wot,Wo,Wog"
										[/filter_location]
									[/value]
								[/set_variables]
								[if]
									[variable]
										greater_than_equal_to=1
										name="new_reflection_animations[$i].if.length"
									[/variable]
									[then]
										[if]
											[variable]
												greater_than_equal_to=2
												name="new_reflection_animations[$i].if.length"
											[/variable]
											[then]
												[foreach]
													array="new_reflection_animations[$i].if"
													index_var="k"
													variable="conditional_item"
													[do]
														[if]
															[variable]
																greater_than_equal_to=2
																name="conditional_item.frame.length"
															[/variable]
															[then]
																[foreach]
																	array="conditional_item.frame"
																	index_var="f"
																	variable="frame_item_temp"
																	[do]
																		[if]
																			[variable]
																				equals=""
																				name="frame_item_temp.image"
																			[/variable]
																			[then]
																				[set_variable]
																					name="frame_item_temp.halo"
																					value="$unit.image:200,$unit.image:200"
																				[/set_variable]
																				[set_variable]
																					name="frame_item_temp.image"
																					value="$unit.image:200,$unit.image:200"
																				[/set_variable]
																				[set_variable]
																					name="frame_item_temp.halo_y"
																					value=18
																				[/set_variable]
																				[set_variable]
																					formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-36))~BL(1)~O(33%)~FL(vertical)')"
																					name="frame_item_temp.halo_mod"
																				[/set_variable]
																			[/then]
																			[else]
																				[set_variable]
																					name="frame_item_temp.halo"
																					value="$frame_item_temp.image:200,$frame_item_temp.image:200"
																				[/set_variable]
																				[set_variable]
																					name="frame_item_temp.image"
																					value="$frame_item_temp.image:200,$frame_item_temp.image:200"
																				[/set_variable]
																				[set_variable]
																					name="frame_item_temp.halo_y"
																					value=18
																				[/set_variable]
																				[set_variable]
																					formula="concatenate('$frame_item_temp.halo_mod|','~CROP(0,0,72,(72-36))~BL(1)~O(33%)~FL(vertical)')"
																					name="frame_item_temp.halo_mod"
																				[/set_variable]
																			[/else]
																		[/if]
																	[/do]
																[/foreach]
															[/then]
															[else]
																[if]
																	[variable]
																		equals=""
																		name="conditional_item.frame.image"
																	[/variable]
																	[then]
																		[set_variable]
																			name="conditional_item.frame.halo"
																			value="$unit.image:200,$unit.image:200"
																		[/set_variable]
																		[set_variable]
																			name="conditional_item.frame.image"
																			value="$unit.image:200,$unit.image:200"
																		[/set_variable]
																		[set_variable]
																			name="conditional_item.frame.halo_y"
																			value=18
																		[/set_variable]
																		[set_variable]
																			formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-36))~BL(1)~O(33%)~FL(vertical)')"
																			name="conditional_item.frame.halo_mod"
																		[/set_variable]
																	[/then]
																	[else]
																		[set_variable]
																			name="conditional_item.frame.halo"
																			value="$conditional_item.frame.image:200,$conditional_item.frame.image:200"
																		[/set_variable]
																		[set_variable]
																			name="conditional_item.frame.image"
																			value="$conditional_item.frame.image:200,$conditional_item.frame.image:200"
																		[/set_variable]
																		[set_variable]
																			name="conditional_item.frame.halo_y"
																			value=18
																		[/set_variable]
																		[set_variable]
																			formula="concatenate('$conditional_item.frame.halo_mod|','~CROP(0,0,72,(72-36))~BL(1)~O(33%)~FL(vertical)')"
																			name="conditional_item.frame.halo_mod"
																		[/set_variable]
																	[/else]
																[/if]
															[/else]
														[/if]
													[/do]
												[/foreach]
											[/then]
											[else]
												[if]
													[variable]
														greater_than_equal_to=2
														name="new_reflection_animations[$i].if.frame.length"
													[/variable]
													[then]
														[foreach]
															array="new_reflection_animations[$i].if.frame"
															index_var="f"
															variable="frame_item_temp"
															[do]
																[if]
																	[variable]
																		equals=""
																		name="frame_item_temp.image"
																	[/variable]
																	[then]
																		[set_variable]
																			name="frame_item_temp.halo"
																			value="$unit.image:200,$unit.image:200"
																		[/set_variable]
																		[set_variable]
																			name="frame_item_temp.image"
																			value="$unit.image:200,$unit.image:200"
																		[/set_variable]
																		[set_variable]
																			name="frame_item_temp.halo_y"
																			value=18
																		[/set_variable]
																		[set_variable]
																			formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-36))~BL(1)~O(33%)~FL(vertical)')"
																			name="frame_item_temp.halo_mod"
																		[/set_variable]
																	[/then]
																	[else]
																		[set_variable]
																			name="frame_item_temp.halo"
																			value="$frame_item_temp.image:200,$frame_item_temp.image:200"
																		[/set_variable]
																		[set_variable]
																			name="frame_item_temp.image"
																			value="$frame_item_temp.image:200,$frame_item_temp.image:200"
																		[/set_variable]
																		[set_variable]
																			name="frame_item_temp.halo_y"
																			value=18
																		[/set_variable]
																		[set_variable]
																			formula="concatenate('$frame_item_temp.halo_mod|','~CROP(0,0,72,(72-36))~BL(1)~O(33%)~FL(vertical)')"
																			name="frame_item_temp.halo_mod"
																		[/set_variable]
																	[/else]
																[/if]
															[/do]
														[/foreach]
													[/then]
													[else]
														[if]
															[variable]
																equals=""
																name="new_reflection_animations[$i].if.frame.image"
															[/variable]
															[then]
																[set_variable]
																	name="new_reflection_animations[$i].if.frame.halo"
																	value="$unit.image:200,$unit.image:200"
																[/set_variable]
																[set_variable]
																	name="new_reflection_animations[$i].if.frame.image"
																	value="$unit.image:200,$unit.image:200"
																[/set_variable]
																[set_variable]
																	name="new_reflection_animations[$i].if.frame.halo_y"
																	value=18
																[/set_variable]
																[set_variable]
																	formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-36))~BL(1)~O(33%)~FL(vertical)')"
																	name="new_reflection_animations[$i].if.frame.halo_mod"
																[/set_variable]
															[/then]
															[else]
																[set_variable]
																	name="new_reflection_animations[$i].if.frame.halo"
																	value="$new_reflection_animations[$i].if.frame.image:200,$new_reflection_animations[$i].if.frame.image:200"
																[/set_variable]
																[set_variable]
																	name="new_reflection_animations[$i].if.frame.image"
																	value="$new_reflection_animations[$i].if.frame.image:200,$new_reflection_animations[$i].if.frame.image:200"
																[/set_variable]
																[set_variable]
																	name="new_reflection_animations[$i].if.frame.halo_y"
																	value=18
																[/set_variable]
																[set_variable]
																	formula="concatenate('$new_reflection_animations[$i].if.frame.halo_mod|','~CROP(0,0,72,(72-36))~BL(1)~O(33%)~FL(vertical)')"
																	name="new_reflection_animations[$i].if.frame.halo_mod"
																[/set_variable]
															[/else]
														[/if]
													[/else]
												[/if]
											[/else]
										[/if]
									[/then]
									[else]
										[if]
											[variable]
												greater_than_equal_to=2
												name="new_reflection_animations[$i].frame.length"
											[/variable]
											[then]
												[foreach]
													array="new_reflection_animations[$i].frame"
													index_var="f"
													variable="frame_item_temp"
													[do]
														[if]
															[variable]
																equals=""
																name="frame_item_temp.image"
															[/variable]
															[then]
																[set_variable]
																	name="frame_item_temp.halo"
																	value="$unit.image:200,$unit.image:200"
																[/set_variable]
																[set_variable]
																	name="frame_item_temp.image"
																	value="$unit.image:200,$unit.image:200"
																[/set_variable]
																[set_variable]
																	name="frame_item_temp.halo_y"
																	value=18
																[/set_variable]
																[set_variable]
																	formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-36))~BL(1)~O(33%)~FL(vertical)')"
																	name="frame_item_temp.halo_mod"
																[/set_variable]
															[/then]
															[else]
																[set_variable]
																	name="frame_item_temp.halo"
																	value="$frame_item_temp.image:200,$frame_item_temp.image:200"
																[/set_variable]
																[set_variable]
																	name="frame_item_temp.image"
																	value="$frame_item_temp.image:200,$frame_item_temp.image:200"
																[/set_variable]
																[set_variable]
																	name="frame_item_temp.halo_y"
																	value=18
																[/set_variable]
																[set_variable]
																	formula="concatenate('$frame_item_temp.halo_mod|','~CROP(0,0,72,(72-36))~BL(1)~O(33%)~FL(vertical)')"
																	name="frame_item_temp.halo_mod"
																[/set_variable]
															[/else]
														[/if]
													[/do]
												[/foreach]
											[/then]
											[else]
												[if]
													[variable]
														equals=""
														name="new_reflection_animations[$i].frame.image"
													[/variable]
													[then]
														[set_variable]
															name="new_reflection_animations[$i].frame.halo"
															value="$unit.image:200,$unit.image:200"
														[/set_variable]
														[set_variable]
															name="new_reflection_animations[$i].frame.image"
															value="$unit.image:200,$unit.image:200"
														[/set_variable]
														[set_variable]
															name="new_reflection_animations[$i].frame.halo_y"
															value=18
														[/set_variable]
														[set_variable]
															formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-36))~BL(1)~O(33%)~FL(vertical)')"
															name="new_reflection_animations[$i].frame.halo_mod"
														[/set_variable]
													[/then]
													[else]
														[set_variable]
															name="new_reflection_animations[$i].frame.halo"
															value="$new_reflection_animations[$i].frame.image:200,$new_reflection_animations[$i].frame.image:200"
														[/set_variable]
														[set_variable]
															name="new_reflection_animations[$i].frame.image"
															value="$new_reflection_animations[$i].frame.image:200,$new_reflection_animations[$i].frame.image:200"
														[/set_variable]
														[set_variable]
															name="new_reflection_animations[$i].frame.halo_y"
															value=18
														[/set_variable]
														[set_variable]
															formula="concatenate('$new_reflection_animations[$i].frame.halo_mod|','~CROP(0,0,72,(72-36))~BL(1)~O(33%)~FL(vertical)')"
															name="new_reflection_animations[$i].frame.halo_mod"
														[/set_variable]
													[/else]
												[/if]
											[/else]
										[/if]
									[/else]
								[/if]
								[if]
									[variable]
										greater_than_equal_to=1
										name="new_reflection_animations[$i].else.length"
									[/variable]
									[then]
										[if]
											[variable]
												greater_than_equal_to=2
												name="new_reflection_animations[$i].else.length"
											[/variable]
											[then]
												[foreach]
													array="new_reflection_animations[$i].else"
													index_var="k"
													variable="conditional_item"
													[do]
														[if]
															[variable]
																greater_than_equal_to=2
																name="conditional_item.frame.length"
															[/variable]
															[then]
																[foreach]
																	array="conditional_item.frame"
																	index_var="f"
																	variable="frame_item_temp"
																	[do]
																		[if]
																			[variable]
																				equals=""
																				name="frame_item_temp.image"
																			[/variable]
																			[then]
																				[set_variable]
																					name="frame_item_temp.halo"
																					value="$unit.image:200,$unit.image:200"
																				[/set_variable]
																				[set_variable]
																					name="frame_item_temp.image"
																					value="$unit.image:200,$unit.image:200"
																				[/set_variable]
																				[set_variable]
																					name="frame_item_temp.halo_y"
																					value=18
																				[/set_variable]
																				[set_variable]
																					formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-36))~BL(1)~O(33%)~FL(vertical)')"
																					name="frame_item_temp.halo_mod"
																				[/set_variable]
																			[/then]
																			[else]
																				[set_variable]
																					name="frame_item_temp.halo"
																					value="$frame_item_temp.image:200,$frame_item_temp.image:200"
																				[/set_variable]
																				[set_variable]
																					name="frame_item_temp.image"
																					value="$frame_item_temp.image:200,$frame_item_temp.image:200"
																				[/set_variable]
																				[set_variable]
																					name="frame_item_temp.halo_y"
																					value=18
																				[/set_variable]
																				[set_variable]
																					formula="concatenate('$frame_item_temp.halo_mod|','~CROP(0,0,72,(72-36))~BL(1)~O(33%)~FL(vertical)')"
																					name="frame_item_temp.halo_mod"
																				[/set_variable]
																			[/else]
																		[/if]
																	[/do]
																[/foreach]
															[/then]
															[else]
																[if]
																	[variable]
																		equals=""
																		name="new_reflection_animations[$i].else[$k].frame.image"
																	[/variable]
																	[then]
																		[set_variable]
																			name="new_reflection_animations[$i].else[$k].frame.halo"
																			value="$unit.image:200,$unit.image:200"
																		[/set_variable]
																		[set_variable]
																			name="new_reflection_animations[$i].else[$k].frame.image"
																			value="$unit.image:200,$unit.image:200"
																		[/set_variable]
																		[set_variable]
																			name="new_reflection_animations[$i].else[$k].frame.halo_y"
																			value=18
																		[/set_variable]
																		[set_variable]
																			formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-36))~BL(1)~O(33%)~FL(vertical)')"
																			name="new_reflection_animations[$i].else[$k].frame.halo_mod"
																		[/set_variable]
																	[/then]
																	[else]
																		[set_variable]
																			name="new_reflection_animations[$i].else[$k].frame.halo"
																			value="$new_reflection_animations[$i].else[$k].frame.image:200,$new_reflection_animations[$i].else[$k].frame.image:200"
																		[/set_variable]
																		[set_variable]
																			name="new_reflection_animations[$i].else[$k].frame.image"
																			value="$new_reflection_animations[$i].else[$k].frame.image:200,$new_reflection_animations[$i].else[$k].frame.image:200"
																		[/set_variable]
																		[set_variable]
																			name="new_reflection_animations[$i].else[$k].frame.halo_y"
																			value=18
																		[/set_variable]
																		[set_variable]
																			formula="concatenate('$new_reflection_animations[$i].else[$k].frame.halo_mod|','~CROP(0,0,72,(72-36))~BL(1)~O(33%)~FL(vertical)')"
																			name="new_reflection_animations[$i].else[$k].frame.halo_mod"
																		[/set_variable]
																	[/else]
																[/if]
															[/else]
														[/if]
													[/do]
												[/foreach]
											[/then]
											[else]
												[if]
													[variable]
														greater_than_equal_to=2
														name="new_reflection_animations[$i].else.frame.length"
													[/variable]
													[then]
														[foreach]
															array="new_reflection_animations[$i].else.frame"
															index_var="f"
															variable="frame_item_temp"
															[do]
																[if]
																	[variable]
																		equals=""
																		name="frame_item_temp.image"
																	[/variable]
																	[then]
																		[set_variable]
																			name="frame_item_temp.halo"
																			value="$unit.image:200,$unit.image:200"
																		[/set_variable]
																		[set_variable]
																			name="frame_item_temp.image"
																			value="$unit.image:200,$unit.image:200"
																		[/set_variable]
																		[set_variable]
																			name="frame_item_temp.halo_y"
																			value=18
																		[/set_variable]
																		[set_variable]
																			formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-36))~BL(1)~O(33%)~FL(vertical)')"
																			name="frame_item_temp.halo_mod"
																		[/set_variable]
																	[/then]
																	[else]
																		[set_variable]
																			name="frame_item_temp.halo"
																			value="$frame_item_temp.image:200,$frame_item_temp.image:200"
																		[/set_variable]
																		[set_variable]
																			name="frame_item_temp.image"
																			value="$frame_item_temp.image:200,$frame_item_temp.image:200"
																		[/set_variable]
																		[set_variable]
																			name="frame_item_temp.halo_y"
																			value=18
																		[/set_variable]
																		[set_variable]
																			formula="concatenate('$frame_item_temp.halo_mod|','~CROP(0,0,72,(72-36))~BL(1)~O(33%)~FL(vertical)')"
																			name="frame_item_temp.halo_mod"
																		[/set_variable]
																	[/else]
																[/if]
															[/do]
														[/foreach]
													[/then]
													[else]
														[if]
															[variable]
																equals=""
																name="new_reflection_animations[$i].else.frame.image"
															[/variable]
															[then]
																[set_variable]
																	name="new_reflection_animations[$i].else.frame.halo"
																	value="$unit.image:200,$unit.image:200"
																[/set_variable]
																[set_variable]
																	name="new_reflection_animations[$i].else.frame.image"
																	value="$unit.image:200,$unit.image:200"
																[/set_variable]
																[set_variable]
																	name="new_reflection_animations[$i].else.frame.halo_y"
																	value=18
																[/set_variable]
																[set_variable]
																	formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-36))~BL(1)~O(33%)~FL(vertical)')"
																	name="new_reflection_animations[$i].else.frame.halo_mod"
																[/set_variable]
															[/then]
															[else]
																[set_variable]
																	name="new_reflection_animations[$i].else.frame.halo"
																	value="$new_reflection_animations[$i].else.frame.image:200,$new_reflection_animations[$i].else.frame.image:200"
																[/set_variable]
																[set_variable]
																	name="new_reflection_animations[$i].else.frame.image"
																	value="$new_reflection_animations[$i].else.frame.image:200,$new_reflection_animations[$i].else.frame.image:200"
																[/set_variable]
																[set_variable]
																	name="new_reflection_animations[$i].else.frame.halo_y"
																	value=18
																[/set_variable]
																[set_variable]
																	formula="concatenate('$new_reflection_animations[$i].else.frame.halo_mod|','~CROP(0,0,72,(72-36))~BL(1)~O(33%)~FL(vertical)')"
																	name="new_reflection_animations[$i].else.frame.halo_mod"
																[/set_variable]
															[/else]
														[/if]
													[/else]
												[/if]
											[/else]
										[/if]
									[/then]
								[/if]
							[/do]
						[/foreach]
					[/then]
					[else]
						[set_variables]
							name="new_reflection_animations"
							to_variable="reflect_unit_type.standing_anim[0]"
						[/set_variables]
						[set_variable]
							name="new_reflection_animations.data_apply_to"
							value="standing_anim"
						[/set_variable]
						[set_variable]
							name="new_reflection_animations.start_time"
							value=0
						[/set_variable]
						[set_variable]
							name="new_reflection_animations.base_score"
							value=2
						[/set_variable]
						[set_variables]
							mode="append"
							name="new_reflection_animations.filter"
							[value]
								[filter_location]
									terrain="Wot,Wo,Wog"
								[/filter_location]
							[/value]
						[/set_variables]
						[if]
							[variable]
								greater_than_equal_to=1
								name="reflect_unit_type.standing_anim.if.length"
							[/variable]
							[then]
								[if]
									[variable]
										greater_than_equal_to=2
										name="reflect_unit_type.standing_anim.if.length"
									[/variable]
									[then]
										[foreach]
											array="reflect_unit_type.standing_anim.if"
											index_var="k"
											variable="conditional_item"
											[do]
												[if]
													[variable]
														greater_than_equal_to=2
														name="conditional_item.frame.length"
													[/variable]
													[then]
														[foreach]
															array="conditional_item.frame"
															index_var="f"
															variable="frame_item_temp"
															[do]
																[if]
																	[variable]
																		equals=""
																		name="frame_item_temp.image"
																	[/variable]
																	[then]
																		[set_variable]
																			name="frame_item_temp.halo"
																			value="$unit.image:200,$unit.image:200"
																		[/set_variable]
																		[set_variable]
																			name="frame_item_temp.image"
																			value="$unit.image:200,$unit.image:200"
																		[/set_variable]
																		[set_variable]
																			name="frame_item_temp.halo_y"
																			value=18
																		[/set_variable]
																		[set_variable]
																			formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-36))~BL(1)~O(33%)~FL(vertical)')"
																			name="frame_item_temp.halo_mod"
																		[/set_variable]
																	[/then]
																	[else]
																		[set_variable]
																			name="frame_item_temp.halo"
																			value="$frame_item_temp.image:200,$frame_item_temp.image:200"
																		[/set_variable]
																		[set_variable]
																			name="frame_item_temp.image"
																			value="$frame_item_temp.image:200,$frame_item_temp.image:200"
																		[/set_variable]
																		[set_variable]
																			name="frame_item_temp.halo_y"
																			value=18
																		[/set_variable]
																		[set_variable]
																			formula="concatenate('$frame_item_temp.halo_mod|','~CROP(0,0,72,(72-36))~BL(1)~O(33%)~FL(vertical)')"
																			name="frame_item_temp.halo_mod"
																		[/set_variable]
																	[/else]
																[/if]
															[/do]
														[/foreach]
													[/then]
													[else]
														[if]
															[variable]
																equals=""
																name="new_reflection_animations[0].if[$k].frame.image"
															[/variable]
															[then]
																[set_variable]
																	name="new_reflection_animations[0].if[$k].frame.halo"
																	value="$unit.image:200,$unit.image:200"
																[/set_variable]
																[set_variable]
																	name="new_reflection_animations[0].if[$k].frame.image"
																	value="$unit.image:200,$unit.image:200"
																[/set_variable]
																[set_variable]
																	name="new_reflection_animations[0].if[$k].frame.halo_y"
																	value=18
																[/set_variable]
																[set_variable]
																	formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-36))~BL(1)~O(33%)~FL(vertical)')"
																	name="new_reflection_animations[0].if[$k].frame.halo_mod"
																[/set_variable]
															[/then]
															[else]
																[set_variable]
																	name="new_reflection_animations[0].if[$k].frame.halo"
																	value="$new_reflection_animations[0].if[$k].frame.image:200,$new_reflection_animations[0].if[$k].frame.image:200"
																[/set_variable]
																[set_variable]
																	name="new_reflection_animations[0].if[$k].frame.image"
																	value="$new_reflection_animations[0].if[$k].frame.image:200,$new_reflection_animations[0].if[$k].frame.image:200"
																[/set_variable]
																[set_variable]
																	name="new_reflection_animations[0].if[$k].frame.halo_y"
																	value=18
																[/set_variable]
																[set_variable]
																	formula="concatenate('$new_reflection_animations[0].if[$k].frame.halo_mod|','~CROP(0,0,72,(72-36))~BL(1)~O(33%)~FL(vertical)')"
																	name="new_reflection_animations[0].if[$k].frame.halo_mod"
																[/set_variable]
															[/else]
														[/if]
													[/else]
												[/if]
											[/do]
										[/foreach]
									[/then]
									[else]
										[if]
											[variable]
												greater_than_equal_to=2
												name="reflect_unit_type.standing_anim.if.frame.length"
											[/variable]
											[then]
												[foreach]
													array="reflect_unit_type.standing_anim.if.frame"
													index_var="f"
													variable="frame_item_temp"
													[do]
														[if]
															[variable]
																equals=""
																name="frame_item_temp.image"
															[/variable]
															[then]
																[set_variable]
																	name="frame_item_temp.halo"
																	value="$unit.image:200,$unit.image:200"
																[/set_variable]
																[set_variable]
																	name="frame_item_temp.image"
																	value="$unit.image:200,$unit.image:200"
																[/set_variable]
																[set_variable]
																	name="frame_item_temp.halo_y"
																	value=18
																[/set_variable]
																[set_variable]
																	formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-36))~BL(1)~O(33%)~FL(vertical)')"
																	name="frame_item_temp.halo_mod"
																[/set_variable]
															[/then]
															[else]
																[set_variable]
																	name="frame_item_temp.halo"
																	value="$frame_item_temp.image:200,$frame_item_temp.image:200"
																[/set_variable]
																[set_variable]
																	name="frame_item_temp.image"
																	value="$frame_item_temp.image:200,$frame_item_temp.image:200"
																[/set_variable]
																[set_variable]
																	name="frame_item_temp.halo_y"
																	value=18
																[/set_variable]
																[set_variable]
																	formula="concatenate('$frame_item_temp.halo_mod|','~CROP(0,0,72,(72-36))~BL(1)~O(33%)~FL(vertical)')"
																	name="frame_item_temp.halo_mod"
																[/set_variable]
															[/else]
														[/if]
													[/do]
												[/foreach]
											[/then]
											[else]
												[if]
													[variable]
														equals=""
														name="new_reflection_animations[0].if.frame.image"
													[/variable]
													[then]
														[set_variable]
															name="new_reflection_animations[0].if.frame.halo"
															value="$unit.image:200,$unit.image:200"
														[/set_variable]
														[set_variable]
															name="new_reflection_animations[0].if.frame.image"
															value="$unit.image:200,$unit.image:200"
														[/set_variable]
														[set_variable]
															name="new_reflection_animations[0].if.frame.halo_y"
															value=18
														[/set_variable]
														[set_variable]
															formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-36))~BL(1)~O(33%)~FL(vertical)')"
															name="new_reflection_animations[0].if.frame.halo_mod"
														[/set_variable]
													[/then]
													[else]
														[set_variable]
															name="new_reflection_animations[0].if.frame.halo"
															value="$new_reflection_animations[0].if.frame.image:200,$new_reflection_animations[0].if.frame.image:200"
														[/set_variable]
														[set_variable]
															name="new_reflection_animations[0].if.frame.image"
															value="$new_reflection_animations[0].if.frame.image:200,$new_reflection_animations[0].if.frame.image:200"
														[/set_variable]
														[set_variable]
															name="new_reflection_animations[0].if.frame.halo_y"
															value=18
														[/set_variable]
														[set_variable]
															formula="concatenate('$new_reflection_animations[0].if.frame.halo_mod|','~CROP(0,0,72,(72-36))~BL(1)~O(33%)~FL(vertical)')"
															name="new_reflection_animations[0].if.frame.halo_mod"
														[/set_variable]
													[/else]
												[/if]
											[/else]
										[/if]
									[/else]
								[/if]
							[/then]
							[else]
								[if]
									[variable]
										greater_than_equal_to=2
										name="new_reflection_animations[0].frame.length"
									[/variable]
									[then]
										[foreach]
											array="new_reflection_animations[0].frame"
											index_var="f"
											variable="frame_item_temp"
											[do]
												[if]
													[variable]
														equals=""
														name="frame_item_temp.image"
													[/variable]
													[then]
														[set_variable]
															name="frame_item_temp.halo"
															value="$unit.image:200,$unit.image:200"
														[/set_variable]
														[set_variable]
															name="frame_item_temp.image"
															value="$unit.image:200,$unit.image:200"
														[/set_variable]
														[set_variable]
															name="frame_item_temp.halo_y"
															value=18
														[/set_variable]
														[set_variable]
															formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-36))~BL(1)~O(33%)~FL(vertical)')"
															name="frame_item_temp.halo_mod"
														[/set_variable]
													[/then]
													[else]
														[set_variable]
															name="frame_item_temp.halo"
															value="$frame_item_temp.image:200,$frame_item_temp.image:200"
														[/set_variable]
														[set_variable]
															name="frame_item_temp.image"
															value="$frame_item_temp.image:200,$frame_item_temp.image:200"
														[/set_variable]
														[set_variable]
															name="frame_item_temp.halo_y"
															value=18
														[/set_variable]
														[set_variable]
															formula="concatenate('$frame_item_temp.halo_mod|','~CROP(0,0,72,(72-36))~BL(1)~O(33%)~FL(vertical)')"
															name="frame_item_temp.halo_mod"
														[/set_variable]
													[/else]
												[/if]
											[/do]
										[/foreach]
									[/then]
									[else]
										[if]
											[variable]
												equals=""
												name="new_reflection_animations[0].frame.image"
											[/variable]
											[then]
												[set_variable]
													name="new_reflection_animations[0].frame.halo"
													value="$unit.image:200,$unit.image:200"
												[/set_variable]
												[set_variable]
													name="new_reflection_animations[0].frame.image"
													value="$unit.image:200,$unit.image:200"
												[/set_variable]
												[set_variable]
													name="new_reflection_animations[0].frame.halo_y"
													value=18
												[/set_variable]
												[set_variable]
													formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-36))~BL(1)~O(33%)~FL(vertical)')"
													name="new_reflection_animations[0].frame.halo_mod"
												[/set_variable]
											[/then]
											[else]
												[set_variable]
													name="new_reflection_animations[0].frame.halo"
													value="$new_reflection_animations[0].frame.image:200,$new_reflection_animations[0].frame.image:200"
												[/set_variable]
												[set_variable]
													name="new_reflection_animations[0].frame.image"
													value="$new_reflection_animations[0].frame.image:200,$new_reflection_animations[0].frame.image:200"
												[/set_variable]
												[set_variable]
													name="new_reflection_animations[0].frame.halo_y"
													value=18
												[/set_variable]
												[set_variable]
													formula="concatenate('$new_reflection_animations[0].frame.halo_mod|','~CROP(0,0,72,(72-36))~BL(1)~O(33%)~FL(vertical)')"
													name="new_reflection_animations[0].frame.halo_mod"
												[/set_variable]
											[/else]
										[/if]
									[/else]
								[/if]
							[/else]
						[/if]
						[if]
							[variable]
								greater_than_equal_to=1
								name="reflect_unit_type.standing_anim.else.length"
							[/variable]
							[then]
								[if]
									[variable]
										greater_than_equal_to=2
										name="reflect_unit_type.standing_anim.else.length"
									[/variable]
									[then]
										[foreach]
											array="reflect_unit_type.standing_anim.else"
											index_var="k"
											variable="conditional_item"
											[do]
												[if]
													[variable]
														greater_than_equal_to=2
														name="conditional_item.frame.length"
													[/variable]
													[then]
														[foreach]
															array="conditional_item.frame"
															index_var="f"
															variable="frame_item_temp"
															[do]
																[if]
																	[variable]
																		equals=""
																		name="frame_item_temp.image"
																	[/variable]
																	[then]
																		[set_variable]
																			name="frame_item_temp.halo"
																			value="$unit.image:200,$unit.image:200"
																		[/set_variable]
																		[set_variable]
																			name="frame_item_temp.image"
																			value="$unit.image:200,$unit.image:200"
																		[/set_variable]
																		[set_variable]
																			name="frame_item_temp.halo_y"
																			value=18
																		[/set_variable]
																		[set_variable]
																			formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-36))~BL(1)~O(33%)~FL(vertical)')"
																			name="frame_item_temp.halo_mod"
																		[/set_variable]
																	[/then]
																	[else]
																		[set_variable]
																			name="frame_item_temp.halo"
																			value="$frame_item_temp.image:200,$frame_item_temp.image:200"
																		[/set_variable]
																		[set_variable]
																			name="frame_item_temp.image"
																			value="$frame_item_temp.image:200,$frame_item_temp.image:200"
																		[/set_variable]
																		[set_variable]
																			name="frame_item_temp.halo_y"
																			value=18
																		[/set_variable]
																		[set_variable]
																			formula="concatenate('$frame_item_temp.halo_mod|','~CROP(0,0,72,(72-36))~BL(1)~O(33%)~FL(vertical)')"
																			name="frame_item_temp.halo_mod"
																		[/set_variable]
																	[/else]
																[/if]
															[/do]
														[/foreach]
													[/then]
													[else]
														[if]
															[variable]
																equals=""
																name="new_reflection_animations[0].else[$k].frame.image"
															[/variable]
															[then]
																[set_variable]
																	name="new_reflection_animations[0].else[$k].frame.halo"
																	value="$unit.image:200,$unit.image:200"
																[/set_variable]
																[set_variable]
																	name="new_reflection_animations[0].else[$k].frame.image"
																	value="$unit.image:200,$unit.image:200"
																[/set_variable]
																[set_variable]
																	name="new_reflection_animations[0].else[$k].frame.halo_y"
																	value=18
																[/set_variable]
																[set_variable]
																	formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-36))~BL(1)~O(33%)~FL(vertical)')"
																	name="new_reflection_animations[0].else[$k].frame.halo_mod"
																[/set_variable]
															[/then]
															[else]
																[set_variable]
																	name="new_reflection_animations[0].else[$k].frame.halo"
																	value="$new_reflection_animations[0].else[$k].frame.image:200,$new_reflection_animations[0].else[$k].frame.image:200"
																[/set_variable]
																[set_variable]
																	name="new_reflection_animations[0].else[$k].frame.image"
																	value="$new_reflection_animations[0].else[$k].frame.image:200,$new_reflection_animations[0].else[$k].frame.image:200"
																[/set_variable]
																[set_variable]
																	name="new_reflection_animations[0].else[$k].frame.halo_y"
																	value=18
																[/set_variable]
																[set_variable]
																	formula="concatenate('$new_reflection_animations[0].else[$k].frame.halo_mod|','~CROP(0,0,72,(72-36))~BL(1)~O(33%)~FL(vertical)')"
																	name="new_reflection_animations[0].else[$k].frame.halo_mod"
																[/set_variable]
															[/else]
														[/if]
													[/else]
												[/if]
											[/do]
										[/foreach]
									[/then]
									[else]
										[if]
											[variable]
												greater_than_equal_to=2
												name="reflect_unit_type.standing_anim.else.frame.length"
											[/variable]
											[then]
												[foreach]
													array="reflect_unit_type.standing_anim.else.frame"
													index_var="f"
													variable="frame_item_temp"
													[do]
														[if]
															[variable]
																equals=""
																name="frame_item_temp.image"
															[/variable]
															[then]
																[set_variable]
																	name="frame_item_temp.halo"
																	value="$unit.image:200,$unit.image:200"
																[/set_variable]
																[set_variable]
																	name="frame_item_temp.image"
																	value="$unit.image:200,$unit.image:200"
																[/set_variable]
																[set_variable]
																	name="frame_item_temp.halo_y"
																	value=18
																[/set_variable]
																[set_variable]
																	formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-36))~BL(1)~O(33%)~FL(vertical)')"
																	name="frame_item_temp.halo_mod"
																[/set_variable]
															[/then]
															[else]
																[set_variable]
																	name="frame_item_temp.halo"
																	value="$frame_item_temp.image:200,$frame_item_temp.image:200"
																[/set_variable]
																[set_variable]
																	name="frame_item_temp.image"
																	value="$frame_item_temp.image:200,$frame_item_temp.image:200"
																[/set_variable]
																[set_variable]
																	name="frame_item_temp.halo_y"
																	value=18
																[/set_variable]
																[set_variable]
																	formula="concatenate('$frame_item_temp.halo_mod|','~CROP(0,0,72,(72-36))~BL(1)~O(33%)~FL(vertical)')"
																	name="frame_item_temp.halo_mod"
																[/set_variable]
															[/else]
														[/if]
													[/do]
												[/foreach]
											[/then]
											[else]
												[if]
													[variable]
														equals=""
														name="new_reflection_animations[0].else.frame.image"
													[/variable]
													[then]
														[set_variable]
															name="new_reflection_animations[0].else.frame.halo"
															value="$unit.image:200,$unit.image:200"
														[/set_variable]
														[set_variable]
															name="new_reflection_animations[0].else.frame.image"
															value="$unit.image:200,$unit.image:200"
														[/set_variable]
														[set_variable]
															name="new_reflection_animations[0].else.frame.halo_y"
															value=18
														[/set_variable]
														[set_variable]
															formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-36))~BL(1)~O(33%)~FL(vertical)')"
															name="new_reflection_animations[0].else.frame.halo_mod"
														[/set_variable]
													[/then]
													[else]
														[set_variable]
															name="new_reflection_animations[0].else.frame.halo"
															value="$new_reflection_animations[0].else.frame.image:200,$new_reflection_animations[0].else.frame.image:200"
														[/set_variable]
														[set_variable]
															name="new_reflection_animations[0].else.frame.image"
															value="$new_reflection_animations[0].else.frame.image:200,$new_reflection_animations[0].else.frame.image:200"
														[/set_variable]
														[set_variable]
															name="new_reflection_animations[0].else.frame.halo_y"
															value=18
														[/set_variable]
														[set_variable]
															formula="concatenate('$new_reflection_animations[0].else.frame.halo_mod|','~CROP(0,0,72,(72-36))~BL(1)~O(33%)~FL(vertical)')"
															name="new_reflection_animations[0].else.frame.halo_mod"
														[/set_variable]
													[/else]
												[/if]
											[/else]
										[/if]
									[/else]
								[/if]
							[/then]
						[/if]
					[/else]
				[/if]
			[/then]
			[else]
				[if]
					[variable]
						name="unit.image"
						not_equals=""
					[/variable]
					[then]
						[set_variables]
							name="new_reflection_animations"
							[value]
								apply_to="standing"
								data_apply_to="standing_anim"
								start_time=0
								terrain_type="Wot,Wo,Wog"
								[frame]
									halo="$unit.image:200,$unit.image:200"
									halo_mod="~CROP(0,0,72,$(72-36))~BL(1)~O(33%)~FL(vertical)"
									halo_y=18
									image="$unit.image:200,$unit.image:200"
								[/frame]
							[/value]
						[/set_variables]
					[/then]
				[/if]
			[/else]
		[/if]
		[set_variables]
			mode="append"
			name="add_animations_variable"
			to_variable="new_reflection_animations"
		[/set_variables]
		[clear_variable]
			name="new_reflection_animations"
		[/clear_variable]
		[if]
			[variable]
				greater_than_equal_to=1
				name="reflect_unit_type.standing_anim.length"
			[/variable]
			[then]
				[if]
					[variable]
						greater_than_equal_to=2
						name="reflect_unit_type.standing_anim.length"
					[/variable]
					[then]
						[foreach]
							array="reflect_unit_type.standing_anim"
							[do]
								[set_variables]
									name="new_reflection_animations[$i]"
									to_variable="this_item"
								[/set_variables]
								[set_variable]
									name="new_reflection_animations[$i].start_time"
									value=0
								[/set_variable]
								[set_variable]
									name="new_reflection_animations[$i].data_apply_to"
									value="standing_anim"
								[/set_variable]
								[set_variable]
									name="new_reflection_animations[$i].base_score"
									value=2
								[/set_variable]
								[set_variables]
									mode="append"
									name="new_reflection_animations[$i].filter"
									[value]
										[filter_location]
											terrain="Wwf,Wwrg,Wwr,Wwrt"
										[/filter_location]
									[/value]
								[/set_variables]
								[if]
									[variable]
										greater_than_equal_to=1
										name="new_reflection_animations[$i].if.length"
									[/variable]
									[then]
										[if]
											[variable]
												greater_than_equal_to=2
												name="new_reflection_animations[$i].if.length"
											[/variable]
											[then]
												[foreach]
													array="new_reflection_animations[$i].if"
													index_var="k"
													variable="conditional_item"
													[do]
														[if]
															[variable]
																greater_than_equal_to=2
																name="conditional_item.frame.length"
															[/variable]
															[then]
																[foreach]
																	array="conditional_item.frame"
																	index_var="f"
																	variable="frame_item_temp"
																	[do]
																		[if]
																			[variable]
																				equals=""
																				name="frame_item_temp.image"
																			[/variable]
																			[then]
																				[set_variable]
																					name="frame_item_temp.halo"
																					value="$unit.image:200,$unit.image:200"
																				[/set_variable]
																				[set_variable]
																					name="frame_item_temp.image"
																					value="$unit.image:200,$unit.image:200"
																				[/set_variable]
																				[set_variable]
																					name="frame_item_temp.halo_y"
																					value=38
																				[/set_variable]
																				[set_variable]
																					formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-22))~BL(1)~O(33%)~FL(vertical)')"
																					name="frame_item_temp.halo_mod"
																				[/set_variable]
																			[/then]
																			[else]
																				[set_variable]
																					name="frame_item_temp.halo"
																					value="$frame_item_temp.image:200,$frame_item_temp.image:200"
																				[/set_variable]
																				[set_variable]
																					name="frame_item_temp.image"
																					value="$frame_item_temp.image:200,$frame_item_temp.image:200"
																				[/set_variable]
																				[set_variable]
																					name="frame_item_temp.halo_y"
																					value=38
																				[/set_variable]
																				[set_variable]
																					formula="concatenate('$frame_item_temp.halo_mod|','~CROP(0,0,72,(72-22))~BL(1)~O(33%)~FL(vertical)')"
																					name="frame_item_temp.halo_mod"
																				[/set_variable]
																			[/else]
																		[/if]
																	[/do]
																[/foreach]
															[/then]
															[else]
																[if]
																	[variable]
																		equals=""
																		name="conditional_item.frame.image"
																	[/variable]
																	[then]
																		[set_variable]
																			name="conditional_item.frame.halo"
																			value="$unit.image:200,$unit.image:200"
																		[/set_variable]
																		[set_variable]
																			name="conditional_item.frame.image"
																			value="$unit.image:200,$unit.image:200"
																		[/set_variable]
																		[set_variable]
																			name="conditional_item.frame.halo_y"
																			value=38
																		[/set_variable]
																		[set_variable]
																			formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-22))~BL(1)~O(33%)~FL(vertical)')"
																			name="conditional_item.frame.halo_mod"
																		[/set_variable]
																	[/then]
																	[else]
																		[set_variable]
																			name="conditional_item.frame.halo"
																			value="$conditional_item.frame.image:200,$conditional_item.frame.image:200"
																		[/set_variable]
																		[set_variable]
																			name="conditional_item.frame.image"
																			value="$conditional_item.frame.image:200,$conditional_item.frame.image:200"
																		[/set_variable]
																		[set_variable]
																			name="conditional_item.frame.halo_y"
																			value=38
																		[/set_variable]
																		[set_variable]
																			formula="concatenate('$conditional_item.frame.halo_mod|','~CROP(0,0,72,(72-22))~BL(1)~O(33%)~FL(vertical)')"
																			name="conditional_item.frame.halo_mod"
																		[/set_variable]
																	[/else]
																[/if]
															[/else]
														[/if]
													[/do]
												[/foreach]
											[/then]
											[else]
												[if]
													[variable]
														greater_than_equal_to=2
														name="new_reflection_animations[$i].if.frame.length"
													[/variable]
													[then]
														[foreach]
															array="new_reflection_animations[$i].if.frame"
															index_var="f"
															variable="frame_item_temp"
															[do]
																[if]
																	[variable]
																		equals=""
																		name="frame_item_temp.image"
																	[/variable]
																	[then]
																		[set_variable]
																			name="frame_item_temp.halo"
																			value="$unit.image:200,$unit.image:200"
																		[/set_variable]
																		[set_variable]
																			name="frame_item_temp.image"
																			value="$unit.image:200,$unit.image:200"
																		[/set_variable]
																		[set_variable]
																			name="frame_item_temp.halo_y"
																			value=38
																		[/set_variable]
																		[set_variable]
																			formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-22))~BL(1)~O(33%)~FL(vertical)')"
																			name="frame_item_temp.halo_mod"
																		[/set_variable]
																	[/then]
																	[else]
																		[set_variable]
																			name="frame_item_temp.halo"
																			value="$frame_item_temp.image:200,$frame_item_temp.image:200"
																		[/set_variable]
																		[set_variable]
																			name="frame_item_temp.image"
																			value="$frame_item_temp.image:200,$frame_item_temp.image:200"
																		[/set_variable]
																		[set_variable]
																			name="frame_item_temp.halo_y"
																			value=38
																		[/set_variable]
																		[set_variable]
																			formula="concatenate('$frame_item_temp.halo_mod|','~CROP(0,0,72,(72-22))~BL(1)~O(33%)~FL(vertical)')"
																			name="frame_item_temp.halo_mod"
																		[/set_variable]
																	[/else]
																[/if]
															[/do]
														[/foreach]
													[/then]
													[else]
														[if]
															[variable]
																equals=""
																name="new_reflection_animations[$i].if.frame.image"
															[/variable]
															[then]
																[set_variable]
																	name="new_reflection_animations[$i].if.frame.halo"
																	value="$unit.image:200,$unit.image:200"
																[/set_variable]
																[set_variable]
																	name="new_reflection_animations[$i].if.frame.image"
																	value="$unit.image:200,$unit.image:200"
																[/set_variable]
																[set_variable]
																	name="new_reflection_animations[$i].if.frame.halo_y"
																	value=38
																[/set_variable]
																[set_variable]
																	formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-22))~BL(1)~O(33%)~FL(vertical)')"
																	name="new_reflection_animations[$i].if.frame.halo_mod"
																[/set_variable]
															[/then]
															[else]
																[set_variable]
																	name="new_reflection_animations[$i].if.frame.halo"
																	value="$new_reflection_animations[$i].if.frame.image:200,$new_reflection_animations[$i].if.frame.image:200"
																[/set_variable]
																[set_variable]
																	name="new_reflection_animations[$i].if.frame.image"
																	value="$new_reflection_animations[$i].if.frame.image:200,$new_reflection_animations[$i].if.frame.image:200"
																[/set_variable]
																[set_variable]
																	name="new_reflection_animations[$i].if.frame.halo_y"
																	value=38
																[/set_variable]
																[set_variable]
																	formula="concatenate('$new_reflection_animations[$i].if.frame.halo_mod|','~CROP(0,0,72,(72-22))~BL(1)~O(33%)~FL(vertical)')"
																	name="new_reflection_animations[$i].if.frame.halo_mod"
																[/set_variable]
															[/else]
														[/if]
													[/else]
												[/if]
											[/else]
										[/if]
									[/then]
									[else]
										[if]
											[variable]
												greater_than_equal_to=2
												name="new_reflection_animations[$i].frame.length"
											[/variable]
											[then]
												[foreach]
													array="new_reflection_animations[$i].frame"
													index_var="f"
													variable="frame_item_temp"
													[do]
														[if]
															[variable]
																equals=""
																name="frame_item_temp.image"
															[/variable]
															[then]
																[set_variable]
																	name="frame_item_temp.halo"
																	value="$unit.image:200,$unit.image:200"
																[/set_variable]
																[set_variable]
																	name="frame_item_temp.image"
																	value="$unit.image:200,$unit.image:200"
																[/set_variable]
																[set_variable]
																	name="frame_item_temp.halo_y"
																	value=38
																[/set_variable]
																[set_variable]
																	formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-22))~BL(1)~O(33%)~FL(vertical)')"
																	name="frame_item_temp.halo_mod"
																[/set_variable]
															[/then]
															[else]
																[set_variable]
																	name="frame_item_temp.halo"
																	value="$frame_item_temp.image:200,$frame_item_temp.image:200"
																[/set_variable]
																[set_variable]
																	name="frame_item_temp.image"
																	value="$frame_item_temp.image:200,$frame_item_temp.image:200"
																[/set_variable]
																[set_variable]
																	name="frame_item_temp.halo_y"
																	value=38
																[/set_variable]
																[set_variable]
																	formula="concatenate('$frame_item_temp.halo_mod|','~CROP(0,0,72,(72-22))~BL(1)~O(33%)~FL(vertical)')"
																	name="frame_item_temp.halo_mod"
																[/set_variable]
															[/else]
														[/if]
													[/do]
												[/foreach]
											[/then]
											[else]
												[if]
													[variable]
														equals=""
														name="new_reflection_animations[$i].frame.image"
													[/variable]
													[then]
														[set_variable]
															name="new_reflection_animations[$i].frame.halo"
															value="$unit.image:200,$unit.image:200"
														[/set_variable]
														[set_variable]
															name="new_reflection_animations[$i].frame.image"
															value="$unit.image:200,$unit.image:200"
														[/set_variable]
														[set_variable]
															name="new_reflection_animations[$i].frame.halo_y"
															value=38
														[/set_variable]
														[set_variable]
															formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-22))~BL(1)~O(33%)~FL(vertical)')"
															name="new_reflection_animations[$i].frame.halo_mod"
														[/set_variable]
													[/then]
													[else]
														[set_variable]
															name="new_reflection_animations[$i].frame.halo"
															value="$new_reflection_animations[$i].frame.image:200,$new_reflection_animations[$i].frame.image:200"
														[/set_variable]
														[set_variable]
															name="new_reflection_animations[$i].frame.image"
															value="$new_reflection_animations[$i].frame.image:200,$new_reflection_animations[$i].frame.image:200"
														[/set_variable]
														[set_variable]
															name="new_reflection_animations[$i].frame.halo_y"
															value=38
														[/set_variable]
														[set_variable]
															formula="concatenate('$new_reflection_animations[$i].frame.halo_mod|','~CROP(0,0,72,(72-22))~BL(1)~O(33%)~FL(vertical)')"
															name="new_reflection_animations[$i].frame.halo_mod"
														[/set_variable]
													[/else]
												[/if]
											[/else]
										[/if]
									[/else]
								[/if]
								[if]
									[variable]
										greater_than_equal_to=1
										name="new_reflection_animations[$i].else.length"
									[/variable]
									[then]
										[if]
											[variable]
												greater_than_equal_to=2
												name="new_reflection_animations[$i].else.length"
											[/variable]
											[then]
												[foreach]
													array="new_reflection_animations[$i].else"
													index_var="k"
													variable="conditional_item"
													[do]
														[if]
															[variable]
																greater_than_equal_to=2
																name="conditional_item.frame.length"
															[/variable]
															[then]
																[foreach]
																	array="conditional_item.frame"
																	index_var="f"
																	variable="frame_item_temp"
																	[do]
																		[if]
																			[variable]
																				equals=""
																				name="frame_item_temp.image"
																			[/variable]
																			[then]
																				[set_variable]
																					name="frame_item_temp.halo"
																					value="$unit.image:200,$unit.image:200"
																				[/set_variable]
																				[set_variable]
																					name="frame_item_temp.image"
																					value="$unit.image:200,$unit.image:200"
																				[/set_variable]
																				[set_variable]
																					name="frame_item_temp.halo_y"
																					value=38
																				[/set_variable]
																				[set_variable]
																					formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-22))~BL(1)~O(33%)~FL(vertical)')"
																					name="frame_item_temp.halo_mod"
																				[/set_variable]
																			[/then]
																			[else]
																				[set_variable]
																					name="frame_item_temp.halo"
																					value="$frame_item_temp.image:200,$frame_item_temp.image:200"
																				[/set_variable]
																				[set_variable]
																					name="frame_item_temp.image"
																					value="$frame_item_temp.image:200,$frame_item_temp.image:200"
																				[/set_variable]
																				[set_variable]
																					name="frame_item_temp.halo_y"
																					value=38
																				[/set_variable]
																				[set_variable]
																					formula="concatenate('$frame_item_temp.halo_mod|','~CROP(0,0,72,(72-22))~BL(1)~O(33%)~FL(vertical)')"
																					name="frame_item_temp.halo_mod"
																				[/set_variable]
																			[/else]
																		[/if]
																	[/do]
																[/foreach]
															[/then]
															[else]
																[if]
																	[variable]
																		equals=""
																		name="new_reflection_animations[$i].else[$k].frame.image"
																	[/variable]
																	[then]
																		[set_variable]
																			name="new_reflection_animations[$i].else[$k].frame.halo"
																			value="$unit.image:200,$unit.image:200"
																		[/set_variable]
																		[set_variable]
																			name="new_reflection_animations[$i].else[$k].frame.image"
																			value="$unit.image:200,$unit.image:200"
																		[/set_variable]
																		[set_variable]
																			name="new_reflection_animations[$i].else[$k].frame.halo_y"
																			value=38
																		[/set_variable]
																		[set_variable]
																			formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-22))~BL(1)~O(33%)~FL(vertical)')"
																			name="new_reflection_animations[$i].else[$k].frame.halo_mod"
																		[/set_variable]
																	[/then]
																	[else]
																		[set_variable]
																			name="new_reflection_animations[$i].else[$k].frame.halo"
																			value="$new_reflection_animations[$i].else[$k].frame.image:200,$new_reflection_animations[$i].else[$k].frame.image:200"
																		[/set_variable]
																		[set_variable]
																			name="new_reflection_animations[$i].else[$k].frame.image"
																			value="$new_reflection_animations[$i].else[$k].frame.image:200,$new_reflection_animations[$i].else[$k].frame.image:200"
																		[/set_variable]
																		[set_variable]
																			name="new_reflection_animations[$i].else[$k].frame.halo_y"
																			value=38
																		[/set_variable]
																		[set_variable]
																			formula="concatenate('$new_reflection_animations[$i].else[$k].frame.halo_mod|','~CROP(0,0,72,(72-22))~BL(1)~O(33%)~FL(vertical)')"
																			name="new_reflection_animations[$i].else[$k].frame.halo_mod"
																		[/set_variable]
																	[/else]
																[/if]
															[/else]
														[/if]
													[/do]
												[/foreach]
											[/then]
											[else]
												[if]
													[variable]
														greater_than_equal_to=2
														name="new_reflection_animations[$i].else.frame.length"
													[/variable]
													[then]
														[foreach]
															array="new_reflection_animations[$i].else.frame"
															index_var="f"
															variable="frame_item_temp"
															[do]
																[if]
																	[variable]
																		equals=""
																		name="frame_item_temp.image"
																	[/variable]
																	[then]
																		[set_variable]
																			name="frame_item_temp.halo"
																			value="$unit.image:200,$unit.image:200"
																		[/set_variable]
																		[set_variable]
																			name="frame_item_temp.image"
																			value="$unit.image:200,$unit.image:200"
																		[/set_variable]
																		[set_variable]
																			name="frame_item_temp.halo_y"
																			value=38
																		[/set_variable]
																		[set_variable]
																			formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-22))~BL(1)~O(33%)~FL(vertical)')"
																			name="frame_item_temp.halo_mod"
																		[/set_variable]
																	[/then]
																	[else]
																		[set_variable]
																			name="frame_item_temp.halo"
																			value="$frame_item_temp.image:200,$frame_item_temp.image:200"
																		[/set_variable]
																		[set_variable]
																			name="frame_item_temp.image"
																			value="$frame_item_temp.image:200,$frame_item_temp.image:200"
																		[/set_variable]
																		[set_variable]
																			name="frame_item_temp.halo_y"
																			value=38
																		[/set_variable]
																		[set_variable]
																			formula="concatenate('$frame_item_temp.halo_mod|','~CROP(0,0,72,(72-22))~BL(1)~O(33%)~FL(vertical)')"
																			name="frame_item_temp.halo_mod"
																		[/set_variable]
																	[/else]
																[/if]
															[/do]
														[/foreach]
													[/then]
													[else]
														[if]
															[variable]
																equals=""
																name="new_reflection_animations[$i].else.frame.image"
															[/variable]
															[then]
																[set_variable]
																	name="new_reflection_animations[$i].else.frame.halo"
																	value="$unit.image:200,$unit.image:200"
																[/set_variable]
																[set_variable]
																	name="new_reflection_animations[$i].else.frame.image"
																	value="$unit.image:200,$unit.image:200"
																[/set_variable]
																[set_variable]
																	name="new_reflection_animations[$i].else.frame.halo_y"
																	value=38
																[/set_variable]
																[set_variable]
																	formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-22))~BL(1)~O(33%)~FL(vertical)')"
																	name="new_reflection_animations[$i].else.frame.halo_mod"
																[/set_variable]
															[/then]
															[else]
																[set_variable]
																	name="new_reflection_animations[$i].else.frame.halo"
																	value="$new_reflection_animations[$i].else.frame.image:200,$new_reflection_animations[$i].else.frame.image:200"
																[/set_variable]
																[set_variable]
																	name="new_reflection_animations[$i].else.frame.image"
																	value="$new_reflection_animations[$i].else.frame.image:200,$new_reflection_animations[$i].else.frame.image:200"
																[/set_variable]
																[set_variable]
																	name="new_reflection_animations[$i].else.frame.halo_y"
																	value=38
																[/set_variable]
																[set_variable]
																	formula="concatenate('$new_reflection_animations[$i].else.frame.halo_mod|','~CROP(0,0,72,(72-22))~BL(1)~O(33%)~FL(vertical)')"
																	name="new_reflection_animations[$i].else.frame.halo_mod"
																[/set_variable]
															[/else]
														[/if]
													[/else]
												[/if]
											[/else]
										[/if]
									[/then]
								[/if]
							[/do]
						[/foreach]
					[/then]
					[else]
						[set_variables]
							name="new_reflection_animations"
							to_variable="reflect_unit_type.standing_anim[0]"
						[/set_variables]
						[set_variable]
							name="new_reflection_animations.data_apply_to"
							value="standing_anim"
						[/set_variable]
						[set_variable]
							name="new_reflection_animations.start_time"
							value=0
						[/set_variable]
						[set_variable]
							name="new_reflection_animations.base_score"
							value=2
						[/set_variable]
						[set_variables]
							mode="append"
							name="new_reflection_animations.filter"
							[value]
								[filter_location]
									terrain="Wwf,Wwrg,Wwr,Wwrt"
								[/filter_location]
							[/value]
						[/set_variables]
						[if]
							[variable]
								greater_than_equal_to=1
								name="reflect_unit_type.standing_anim.if.length"
							[/variable]
							[then]
								[if]
									[variable]
										greater_than_equal_to=2
										name="reflect_unit_type.standing_anim.if.length"
									[/variable]
									[then]
										[foreach]
											array="reflect_unit_type.standing_anim.if"
											index_var="k"
											variable="conditional_item"
											[do]
												[if]
													[variable]
														greater_than_equal_to=2
														name="conditional_item.frame.length"
													[/variable]
													[then]
														[foreach]
															array="conditional_item.frame"
															index_var="f"
															variable="frame_item_temp"
															[do]
																[if]
																	[variable]
																		equals=""
																		name="frame_item_temp.image"
																	[/variable]
																	[then]
																		[set_variable]
																			name="frame_item_temp.halo"
																			value="$unit.image:200,$unit.image:200"
																		[/set_variable]
																		[set_variable]
																			name="frame_item_temp.image"
																			value="$unit.image:200,$unit.image:200"
																		[/set_variable]
																		[set_variable]
																			name="frame_item_temp.halo_y"
																			value=38
																		[/set_variable]
																		[set_variable]
																			formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-22))~BL(1)~O(33%)~FL(vertical)')"
																			name="frame_item_temp.halo_mod"
																		[/set_variable]
																	[/then]
																	[else]
																		[set_variable]
																			name="frame_item_temp.halo"
																			value="$frame_item_temp.image:200,$frame_item_temp.image:200"
																		[/set_variable]
																		[set_variable]
																			name="frame_item_temp.image"
																			value="$frame_item_temp.image:200,$frame_item_temp.image:200"
																		[/set_variable]
																		[set_variable]
																			name="frame_item_temp.halo_y"
																			value=38
																		[/set_variable]
																		[set_variable]
																			formula="concatenate('$frame_item_temp.halo_mod|','~CROP(0,0,72,(72-22))~BL(1)~O(33%)~FL(vertical)')"
																			name="frame_item_temp.halo_mod"
																		[/set_variable]
																	[/else]
																[/if]
															[/do]
														[/foreach]
													[/then]
													[else]
														[if]
															[variable]
																equals=""
																name="new_reflection_animations[0].if[$k].frame.image"
															[/variable]
															[then]
																[set_variable]
																	name="new_reflection_animations[0].if[$k].frame.halo"
																	value="$unit.image:200,$unit.image:200"
																[/set_variable]
																[set_variable]
																	name="new_reflection_animations[0].if[$k].frame.image"
																	value="$unit.image:200,$unit.image:200"
																[/set_variable]
																[set_variable]
																	name="new_reflection_animations[0].if[$k].frame.halo_y"
																	value=38
																[/set_variable]
																[set_variable]
																	formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-22))~BL(1)~O(33%)~FL(vertical)')"
																	name="new_reflection_animations[0].if[$k].frame.halo_mod"
																[/set_variable]
															[/then]
															[else]
																[set_variable]
																	name="new_reflection_animations[0].if[$k].frame.halo"
																	value="$new_reflection_animations[0].if[$k].frame.image:200,$new_reflection_animations[0].if[$k].frame.image:200"
																[/set_variable]
																[set_variable]
																	name="new_reflection_animations[0].if[$k].frame.image"
																	value="$new_reflection_animations[0].if[$k].frame.image:200,$new_reflection_animations[0].if[$k].frame.image:200"
																[/set_variable]
																[set_variable]
																	name="new_reflection_animations[0].if[$k].frame.halo_y"
																	value=38
																[/set_variable]
																[set_variable]
																	formula="concatenate('$new_reflection_animations[0].if[$k].frame.halo_mod|','~CROP(0,0,72,(72-22))~BL(1)~O(33%)~FL(vertical)')"
																	name="new_reflection_animations[0].if[$k].frame.halo_mod"
																[/set_variable]
															[/else]
														[/if]
													[/else]
												[/if]
											[/do]
										[/foreach]
									[/then]
									[else]
										[if]
											[variable]
												greater_than_equal_to=2
												name="reflect_unit_type.standing_anim.if.frame.length"
											[/variable]
											[then]
												[foreach]
													array="reflect_unit_type.standing_anim.if.frame"
													index_var="f"
													variable="frame_item_temp"
													[do]
														[if]
															[variable]
																equals=""
																name="frame_item_temp.image"
															[/variable]
															[then]
																[set_variable]
																	name="frame_item_temp.halo"
																	value="$unit.image:200,$unit.image:200"
																[/set_variable]
																[set_variable]
																	name="frame_item_temp.image"
																	value="$unit.image:200,$unit.image:200"
																[/set_variable]
																[set_variable]
																	name="frame_item_temp.halo_y"
																	value=38
																[/set_variable]
																[set_variable]
																	formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-22))~BL(1)~O(33%)~FL(vertical)')"
																	name="frame_item_temp.halo_mod"
																[/set_variable]
															[/then]
															[else]
																[set_variable]
																	name="frame_item_temp.halo"
																	value="$frame_item_temp.image:200,$frame_item_temp.image:200"
																[/set_variable]
																[set_variable]
																	name="frame_item_temp.image"
																	value="$frame_item_temp.image:200,$frame_item_temp.image:200"
																[/set_variable]
																[set_variable]
																	name="frame_item_temp.halo_y"
																	value=38
																[/set_variable]
																[set_variable]
																	formula="concatenate('$frame_item_temp.halo_mod|','~CROP(0,0,72,(72-22))~BL(1)~O(33%)~FL(vertical)')"
																	name="frame_item_temp.halo_mod"
																[/set_variable]
															[/else]
														[/if]
													[/do]
												[/foreach]
											[/then]
											[else]
												[if]
													[variable]
														equals=""
														name="new_reflection_animations[0].if.frame.image"
													[/variable]
													[then]
														[set_variable]
															name="new_reflection_animations[0].if.frame.halo"
															value="$unit.image:200,$unit.image:200"
														[/set_variable]
														[set_variable]
															name="new_reflection_animations[0].if.frame.image"
															value="$unit.image:200,$unit.image:200"
														[/set_variable]
														[set_variable]
															name="new_reflection_animations[0].if.frame.halo_y"
															value=38
														[/set_variable]
														[set_variable]
															formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-22))~BL(1)~O(33%)~FL(vertical)')"
															name="new_reflection_animations[0].if.frame.halo_mod"
														[/set_variable]
													[/then]
													[else]
														[set_variable]
															name="new_reflection_animations[0].if.frame.halo"
															value="$new_reflection_animations[0].if.frame.image:200,$new_reflection_animations[0].if.frame.image:200"
														[/set_variable]
														[set_variable]
															name="new_reflection_animations[0].if.frame.image"
															value="$new_reflection_animations[0].if.frame.image:200,$new_reflection_animations[0].if.frame.image:200"
														[/set_variable]
														[set_variable]
															name="new_reflection_animations[0].if.frame.halo_y"
															value=38
														[/set_variable]
														[set_variable]
															formula="concatenate('$new_reflection_animations[0].if.frame.halo_mod|','~CROP(0,0,72,(72-22))~BL(1)~O(33%)~FL(vertical)')"
															name="new_reflection_animations[0].if.frame.halo_mod"
														[/set_variable]
													[/else]
												[/if]
											[/else]
										[/if]
									[/else]
								[/if]
							[/then]
							[else]
								[if]
									[variable]
										greater_than_equal_to=2
										name="new_reflection_animations[0].frame.length"
									[/variable]
									[then]
										[foreach]
											array="new_reflection_animations[0].frame"
											index_var="f"
											variable="frame_item_temp"
											[do]
												[if]
													[variable]
														equals=""
														name="frame_item_temp.image"
													[/variable]
													[then]
														[set_variable]
															name="frame_item_temp.halo"
															value="$unit.image:200,$unit.image:200"
														[/set_variable]
														[set_variable]
															name="frame_item_temp.image"
															value="$unit.image:200,$unit.image:200"
														[/set_variable]
														[set_variable]
															name="frame_item_temp.halo_y"
															value=38
														[/set_variable]
														[set_variable]
															formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-22))~BL(1)~O(33%)~FL(vertical)')"
															name="frame_item_temp.halo_mod"
														[/set_variable]
													[/then]
													[else]
														[set_variable]
															name="frame_item_temp.halo"
															value="$frame_item_temp.image:200,$frame_item_temp.image:200"
														[/set_variable]
														[set_variable]
															name="frame_item_temp.image"
															value="$frame_item_temp.image:200,$frame_item_temp.image:200"
														[/set_variable]
														[set_variable]
															name="frame_item_temp.halo_y"
															value=38
														[/set_variable]
														[set_variable]
															formula="concatenate('$frame_item_temp.halo_mod|','~CROP(0,0,72,(72-22))~BL(1)~O(33%)~FL(vertical)')"
															name="frame_item_temp.halo_mod"
														[/set_variable]
													[/else]
												[/if]
											[/do]
										[/foreach]
									[/then]
									[else]
										[if]
											[variable]
												equals=""
												name="new_reflection_animations[0].frame.image"
											[/variable]
											[then]
												[set_variable]
													name="new_reflection_animations[0].frame.halo"
													value="$unit.image:200,$unit.image:200"
												[/set_variable]
												[set_variable]
													name="new_reflection_animations[0].frame.image"
													value="$unit.image:200,$unit.image:200"
												[/set_variable]
												[set_variable]
													name="new_reflection_animations[0].frame.halo_y"
													value=38
												[/set_variable]
												[set_variable]
													formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-22))~BL(1)~O(33%)~FL(vertical)')"
													name="new_reflection_animations[0].frame.halo_mod"
												[/set_variable]
											[/then]
											[else]
												[set_variable]
													name="new_reflection_animations[0].frame.halo"
													value="$new_reflection_animations[0].frame.image:200,$new_reflection_animations[0].frame.image:200"
												[/set_variable]
												[set_variable]
													name="new_reflection_animations[0].frame.image"
													value="$new_reflection_animations[0].frame.image:200,$new_reflection_animations[0].frame.image:200"
												[/set_variable]
												[set_variable]
													name="new_reflection_animations[0].frame.halo_y"
													value=38
												[/set_variable]
												[set_variable]
													formula="concatenate('$new_reflection_animations[0].frame.halo_mod|','~CROP(0,0,72,(72-22))~BL(1)~O(33%)~FL(vertical)')"
													name="new_reflection_animations[0].frame.halo_mod"
												[/set_variable]
											[/else]
										[/if]
									[/else]
								[/if]
							[/else]
						[/if]
						[if]
							[variable]
								greater_than_equal_to=1
								name="reflect_unit_type.standing_anim.else.length"
							[/variable]
							[then]
								[if]
									[variable]
										greater_than_equal_to=2
										name="reflect_unit_type.standing_anim.else.length"
									[/variable]
									[then]
										[foreach]
											array="reflect_unit_type.standing_anim.else"
											index_var="k"
											variable="conditional_item"
											[do]
												[if]
													[variable]
														greater_than_equal_to=2
														name="conditional_item.frame.length"
													[/variable]
													[then]
														[foreach]
															array="conditional_item.frame"
															index_var="f"
															variable="frame_item_temp"
															[do]
																[if]
																	[variable]
																		equals=""
																		name="frame_item_temp.image"
																	[/variable]
																	[then]
																		[set_variable]
																			name="frame_item_temp.halo"
																			value="$unit.image:200,$unit.image:200"
																		[/set_variable]
																		[set_variable]
																			name="frame_item_temp.image"
																			value="$unit.image:200,$unit.image:200"
																		[/set_variable]
																		[set_variable]
																			name="frame_item_temp.halo_y"
																			value=38
																		[/set_variable]
																		[set_variable]
																			formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-22))~BL(1)~O(33%)~FL(vertical)')"
																			name="frame_item_temp.halo_mod"
																		[/set_variable]
																	[/then]
																	[else]
																		[set_variable]
																			name="frame_item_temp.halo"
																			value="$frame_item_temp.image:200,$frame_item_temp.image:200"
																		[/set_variable]
																		[set_variable]
																			name="frame_item_temp.image"
																			value="$frame_item_temp.image:200,$frame_item_temp.image:200"
																		[/set_variable]
																		[set_variable]
																			name="frame_item_temp.halo_y"
																			value=38
																		[/set_variable]
																		[set_variable]
																			formula="concatenate('$frame_item_temp.halo_mod|','~CROP(0,0,72,(72-22))~BL(1)~O(33%)~FL(vertical)')"
																			name="frame_item_temp.halo_mod"
																		[/set_variable]
																	[/else]
																[/if]
															[/do]
														[/foreach]
													[/then]
													[else]
														[if]
															[variable]
																equals=""
																name="new_reflection_animations[0].else[$k].frame.image"
															[/variable]
															[then]
																[set_variable]
																	name="new_reflection_animations[0].else[$k].frame.halo"
																	value="$unit.image:200,$unit.image:200"
																[/set_variable]
																[set_variable]
																	name="new_reflection_animations[0].else[$k].frame.image"
																	value="$unit.image:200,$unit.image:200"
																[/set_variable]
																[set_variable]
																	name="new_reflection_animations[0].else[$k].frame.halo_y"
																	value=38
																[/set_variable]
																[set_variable]
																	formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-22))~BL(1)~O(33%)~FL(vertical)')"
																	name="new_reflection_animations[0].else[$k].frame.halo_mod"
																[/set_variable]
															[/then]
															[else]
																[set_variable]
																	name="new_reflection_animations[0].else[$k].frame.halo"
																	value="$new_reflection_animations[0].else[$k].frame.image:200,$new_reflection_animations[0].else[$k].frame.image:200"
																[/set_variable]
																[set_variable]
																	name="new_reflection_animations[0].else[$k].frame.image"
																	value="$new_reflection_animations[0].else[$k].frame.image:200,$new_reflection_animations[0].else[$k].frame.image:200"
																[/set_variable]
																[set_variable]
																	name="new_reflection_animations[0].else[$k].frame.halo_y"
																	value=38
																[/set_variable]
																[set_variable]
																	formula="concatenate('$new_reflection_animations[0].else[$k].frame.halo_mod|','~CROP(0,0,72,(72-22))~BL(1)~O(33%)~FL(vertical)')"
																	name="new_reflection_animations[0].else[$k].frame.halo_mod"
																[/set_variable]
															[/else]
														[/if]
													[/else]
												[/if]
											[/do]
										[/foreach]
									[/then]
									[else]
										[if]
											[variable]
												greater_than_equal_to=2
												name="reflect_unit_type.standing_anim.else.frame.length"
											[/variable]
											[then]
												[foreach]
													array="reflect_unit_type.standing_anim.else.frame"
													index_var="f"
													variable="frame_item_temp"
													[do]
														[if]
															[variable]
																equals=""
																name="frame_item_temp.image"
															[/variable]
															[then]
																[set_variable]
																	name="frame_item_temp.halo"
																	value="$unit.image:200,$unit.image:200"
																[/set_variable]
																[set_variable]
																	name="frame_item_temp.image"
																	value="$unit.image:200,$unit.image:200"
																[/set_variable]
																[set_variable]
																	name="frame_item_temp.halo_y"
																	value=38
																[/set_variable]
																[set_variable]
																	formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-22))~BL(1)~O(33%)~FL(vertical)')"
																	name="frame_item_temp.halo_mod"
																[/set_variable]
															[/then]
															[else]
																[set_variable]
																	name="frame_item_temp.halo"
																	value="$frame_item_temp.image:200,$frame_item_temp.image:200"
																[/set_variable]
																[set_variable]
																	name="frame_item_temp.image"
																	value="$frame_item_temp.image:200,$frame_item_temp.image:200"
																[/set_variable]
																[set_variable]
																	name="frame_item_temp.halo_y"
																	value=38
																[/set_variable]
																[set_variable]
																	formula="concatenate('$frame_item_temp.halo_mod|','~CROP(0,0,72,(72-22))~BL(1)~O(33%)~FL(vertical)')"
																	name="frame_item_temp.halo_mod"
																[/set_variable]
															[/else]
														[/if]
													[/do]
												[/foreach]
											[/then]
											[else]
												[if]
													[variable]
														equals=""
														name="new_reflection_animations[0].else.frame.image"
													[/variable]
													[then]
														[set_variable]
															name="new_reflection_animations[0].else.frame.halo"
															value="$unit.image:200,$unit.image:200"
														[/set_variable]
														[set_variable]
															name="new_reflection_animations[0].else.frame.image"
															value="$unit.image:200,$unit.image:200"
														[/set_variable]
														[set_variable]
															name="new_reflection_animations[0].else.frame.halo_y"
															value=38
														[/set_variable]
														[set_variable]
															formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-22))~BL(1)~O(33%)~FL(vertical)')"
															name="new_reflection_animations[0].else.frame.halo_mod"
														[/set_variable]
													[/then]
													[else]
														[set_variable]
															name="new_reflection_animations[0].else.frame.halo"
															value="$new_reflection_animations[0].else.frame.image:200,$new_reflection_animations[0].else.frame.image:200"
														[/set_variable]
														[set_variable]
															name="new_reflection_animations[0].else.frame.image"
															value="$new_reflection_animations[0].else.frame.image:200,$new_reflection_animations[0].else.frame.image:200"
														[/set_variable]
														[set_variable]
															name="new_reflection_animations[0].else.frame.halo_y"
															value=38
														[/set_variable]
														[set_variable]
															formula="concatenate('$new_reflection_animations[0].else.frame.halo_mod|','~CROP(0,0,72,(72-22))~BL(1)~O(33%)~FL(vertical)')"
															name="new_reflection_animations[0].else.frame.halo_mod"
														[/set_variable]
													[/else]
												[/if]
											[/else]
										[/if]
									[/else]
								[/if]
							[/then]
						[/if]
					[/else]
				[/if]
			[/then]
			[else]
				[if]
					[variable]
						name="unit.image"
						not_equals=""
					[/variable]
					[then]
						[set_variables]
							name="new_reflection_animations"
							[value]
								apply_to="standing"
								data_apply_to="standing_anim"
								start_time=0
								terrain_type="Wwf,Wwrg,Wwr,Wwrt"
								[frame]
									halo="$unit.image:200,$unit.image:200"
									halo_mod="~CROP(0,0,72,$(72-22))~BL(1)~O(33%)~FL(vertical)"
									halo_y=38
									image="$unit.image:200,$unit.image:200"
								[/frame]
							[/value]
						[/set_variables]
					[/then]
				[/if]
			[/else]
		[/if]
		[set_variables]
			mode="append"
			name="add_animations_variable"
			to_variable="new_reflection_animations"
		[/set_variables]
		[clear_variable]
			name="new_reflection_animations"
		[/clear_variable]
		[if]
			[variable]
				greater_than_equal_to=1
				name="reflect_unit_type.movement_anim.length"
			[/variable]
			[then]
				[if]
					[variable]
						greater_than_equal_to=2
						name="reflect_unit_type.movement_anim.length"
					[/variable]
					[then]
						[foreach]
							array="reflect_unit_type.movement_anim"
							[do]
								[set_variables]
									name="new_reflection_animations[$i]"
									to_variable="this_item"
								[/set_variables]
								[set_variable]
									name="new_reflection_animations[$i].start_time"
									value=0
								[/set_variable]
								[set_variable]
									name="new_reflection_animations[$i].data_apply_to"
									value="movement_anim"
								[/set_variable]
								[set_variable]
									name="new_reflection_animations[$i].base_score"
									value=2
								[/set_variable]
								[set_variables]
									mode="append"
									name="new_reflection_animations[$i].filter"
									[value]
										[filter_location]
											terrain="Wwt,Ww,Wwg"
										[/filter_location]
									[/value]
								[/set_variables]
								[if]
									[variable]
										greater_than_equal_to=1
										name="new_reflection_animations[$i].if.length"
									[/variable]
									[then]
										[if]
											[variable]
												greater_than_equal_to=2
												name="new_reflection_animations[$i].if.length"
											[/variable]
											[then]
												[foreach]
													array="new_reflection_animations[$i].if"
													index_var="k"
													variable="conditional_item"
													[do]
														[if]
															[variable]
																greater_than_equal_to=2
																name="conditional_item.frame.length"
															[/variable]
															[then]
																[foreach]
																	array="conditional_item.frame"
																	index_var="f"
																	variable="frame_item_temp"
																	[do]
																		[if]
																			[variable]
																				equals=""
																				name="frame_item_temp.image"
																			[/variable]
																			[then]
																				[set_variable]
																					name="frame_item_temp.halo"
																					value="$unit.image:200,$unit.image:200"
																				[/set_variable]
																				[set_variable]
																					name="frame_item_temp.image"
																					value="$unit.image:200,$unit.image:200"
																				[/set_variable]
																				[set_variable]
																					name="frame_item_temp.halo_y"
																					value=29
																				[/set_variable]
																				[set_variable]
																					formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-29))~BL(1)~O(33%)~FL(vertical)')"
																					name="frame_item_temp.halo_mod"
																				[/set_variable]
																			[/then]
																			[else]
																				[set_variable]
																					name="frame_item_temp.halo"
																					value="$frame_item_temp.image:200,$frame_item_temp.image:200"
																				[/set_variable]
																				[set_variable]
																					name="frame_item_temp.image"
																					value="$frame_item_temp.image:200,$frame_item_temp.image:200"
																				[/set_variable]
																				[set_variable]
																					name="frame_item_temp.halo_y"
																					value=29
																				[/set_variable]
																				[set_variable]
																					formula="concatenate('$frame_item_temp.halo_mod|','~CROP(0,0,72,(72-29))~BL(1)~O(33%)~FL(vertical)')"
																					name="frame_item_temp.halo_mod"
																				[/set_variable]
																			[/else]
																		[/if]
																	[/do]
																[/foreach]
															[/then]
															[else]
																[if]
																	[variable]
																		equals=""
																		name="conditional_item.frame.image"
																	[/variable]
																	[then]
																		[set_variable]
																			name="conditional_item.frame.halo"
																			value="$unit.image:200,$unit.image:200"
																		[/set_variable]
																		[set_variable]
																			name="conditional_item.frame.image"
																			value="$unit.image:200,$unit.image:200"
																		[/set_variable]
																		[set_variable]
																			name="conditional_item.frame.halo_y"
																			value=29
																		[/set_variable]
																		[set_variable]
																			formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-29))~BL(1)~O(33%)~FL(vertical)')"
																			name="conditional_item.frame.halo_mod"
																		[/set_variable]
																	[/then]
																	[else]
																		[set_variable]
																			name="conditional_item.frame.halo"
																			value="$conditional_item.frame.image:200,$conditional_item.frame.image:200"
																		[/set_variable]
																		[set_variable]
																			name="conditional_item.frame.image"
																			value="$conditional_item.frame.image:200,$conditional_item.frame.image:200"
																		[/set_variable]
																		[set_variable]
																			name="conditional_item.frame.halo_y"
																			value=29
																		[/set_variable]
																		[set_variable]
																			formula="concatenate('$conditional_item.frame.halo_mod|','~CROP(0,0,72,(72-29))~BL(1)~O(33%)~FL(vertical)')"
																			name="conditional_item.frame.halo_mod"
																		[/set_variable]
																	[/else]
																[/if]
															[/else]
														[/if]
													[/do]
												[/foreach]
											[/then]
											[else]
												[if]
													[variable]
														greater_than_equal_to=2
														name="new_reflection_animations[$i].if.frame.length"
													[/variable]
													[then]
														[foreach]
															array="new_reflection_animations[$i].if.frame"
															index_var="f"
															variable="frame_item_temp"
															[do]
																[if]
																	[variable]
																		equals=""
																		name="frame_item_temp.image"
																	[/variable]
																	[then]
																		[set_variable]
																			name="frame_item_temp.halo"
																			value="$unit.image:200,$unit.image:200"
																		[/set_variable]
																		[set_variable]
																			name="frame_item_temp.image"
																			value="$unit.image:200,$unit.image:200"
																		[/set_variable]
																		[set_variable]
																			name="frame_item_temp.halo_y"
																			value=29
																		[/set_variable]
																		[set_variable]
																			formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-29))~BL(1)~O(33%)~FL(vertical)')"
																			name="frame_item_temp.halo_mod"
																		[/set_variable]
																	[/then]
																	[else]
																		[set_variable]
																			name="frame_item_temp.halo"
																			value="$frame_item_temp.image:200,$frame_item_temp.image:200"
																		[/set_variable]
																		[set_variable]
																			name="frame_item_temp.image"
																			value="$frame_item_temp.image:200,$frame_item_temp.image:200"
																		[/set_variable]
																		[set_variable]
																			name="frame_item_temp.halo_y"
																			value=29
																		[/set_variable]
																		[set_variable]
																			formula="concatenate('$frame_item_temp.halo_mod|','~CROP(0,0,72,(72-29))~BL(1)~O(33%)~FL(vertical)')"
																			name="frame_item_temp.halo_mod"
																		[/set_variable]
																	[/else]
																[/if]
															[/do]
														[/foreach]
													[/then]
													[else]
														[if]
															[variable]
																equals=""
																name="new_reflection_animations[$i].if.frame.image"
															[/variable]
															[then]
																[set_variable]
																	name="new_reflection_animations[$i].if.frame.halo"
																	value="$unit.image:200,$unit.image:200"
																[/set_variable]
																[set_variable]
																	name="new_reflection_animations[$i].if.frame.image"
																	value="$unit.image:200,$unit.image:200"
																[/set_variable]
																[set_variable]
																	name="new_reflection_animations[$i].if.frame.halo_y"
																	value=29
																[/set_variable]
																[set_variable]
																	formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-29))~BL(1)~O(33%)~FL(vertical)')"
																	name="new_reflection_animations[$i].if.frame.halo_mod"
																[/set_variable]
															[/then]
															[else]
																[set_variable]
																	name="new_reflection_animations[$i].if.frame.halo"
																	value="$new_reflection_animations[$i].if.frame.image:200,$new_reflection_animations[$i].if.frame.image:200"
																[/set_variable]
																[set_variable]
																	name="new_reflection_animations[$i].if.frame.image"
																	value="$new_reflection_animations[$i].if.frame.image:200,$new_reflection_animations[$i].if.frame.image:200"
																[/set_variable]
																[set_variable]
																	name="new_reflection_animations[$i].if.frame.halo_y"
																	value=29
																[/set_variable]
																[set_variable]
																	formula="concatenate('$new_reflection_animations[$i].if.frame.halo_mod|','~CROP(0,0,72,(72-29))~BL(1)~O(33%)~FL(vertical)')"
																	name="new_reflection_animations[$i].if.frame.halo_mod"
																[/set_variable]
															[/else]
														[/if]
													[/else]
												[/if]
											[/else]
										[/if]
									[/then]
									[else]
										[if]
											[variable]
												greater_than_equal_to=2
												name="new_reflection_animations[$i].frame.length"
											[/variable]
											[then]
												[foreach]
													array="new_reflection_animations[$i].frame"
													index_var="f"
													variable="frame_item_temp"
													[do]
														[if]
															[variable]
																equals=""
																name="frame_item_temp.image"
															[/variable]
															[then]
																[set_variable]
																	name="frame_item_temp.halo"
																	value="$unit.image:200,$unit.image:200"
																[/set_variable]
																[set_variable]
																	name="frame_item_temp.image"
																	value="$unit.image:200,$unit.image:200"
																[/set_variable]
																[set_variable]
																	name="frame_item_temp.halo_y"
																	value=29
																[/set_variable]
																[set_variable]
																	formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-29))~BL(1)~O(33%)~FL(vertical)')"
																	name="frame_item_temp.halo_mod"
																[/set_variable]
															[/then]
															[else]
																[set_variable]
																	name="frame_item_temp.halo"
																	value="$frame_item_temp.image:200,$frame_item_temp.image:200"
																[/set_variable]
																[set_variable]
																	name="frame_item_temp.image"
																	value="$frame_item_temp.image:200,$frame_item_temp.image:200"
																[/set_variable]
																[set_variable]
																	name="frame_item_temp.halo_y"
																	value=29
																[/set_variable]
																[set_variable]
																	formula="concatenate('$frame_item_temp.halo_mod|','~CROP(0,0,72,(72-29))~BL(1)~O(33%)~FL(vertical)')"
																	name="frame_item_temp.halo_mod"
																[/set_variable]
															[/else]
														[/if]
													[/do]
												[/foreach]
											[/then]
											[else]
												[if]
													[variable]
														equals=""
														name="new_reflection_animations[$i].frame.image"
													[/variable]
													[then]
														[set_variable]
															name="new_reflection_animations[$i].frame.halo"
															value="$unit.image:200,$unit.image:200"
														[/set_variable]
														[set_variable]
															name="new_reflection_animations[$i].frame.image"
															value="$unit.image:200,$unit.image:200"
														[/set_variable]
														[set_variable]
															name="new_reflection_animations[$i].frame.halo_y"
															value=29
														[/set_variable]
														[set_variable]
															formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-29))~BL(1)~O(33%)~FL(vertical)')"
															name="new_reflection_animations[$i].frame.halo_mod"
														[/set_variable]
													[/then]
													[else]
														[set_variable]
															name="new_reflection_animations[$i].frame.halo"
															value="$new_reflection_animations[$i].frame.image:200,$new_reflection_animations[$i].frame.image:200"
														[/set_variable]
														[set_variable]
															name="new_reflection_animations[$i].frame.image"
															value="$new_reflection_animations[$i].frame.image:200,$new_reflection_animations[$i].frame.image:200"
														[/set_variable]
														[set_variable]
															name="new_reflection_animations[$i].frame.halo_y"
															value=29
														[/set_variable]
														[set_variable]
															formula="concatenate('$new_reflection_animations[$i].frame.halo_mod|','~CROP(0,0,72,(72-29))~BL(1)~O(33%)~FL(vertical)')"
															name="new_reflection_animations[$i].frame.halo_mod"
														[/set_variable]
													[/else]
												[/if]
											[/else]
										[/if]
									[/else]
								[/if]
								[if]
									[variable]
										greater_than_equal_to=1
										name="new_reflection_animations[$i].else.length"
									[/variable]
									[then]
										[if]
											[variable]
												greater_than_equal_to=2
												name="new_reflection_animations[$i].else.length"
											[/variable]
											[then]
												[foreach]
													array="new_reflection_animations[$i].else"
													index_var="k"
													variable="conditional_item"
													[do]
														[if]
															[variable]
																greater_than_equal_to=2
																name="conditional_item.frame.length"
															[/variable]
															[then]
																[foreach]
																	array="conditional_item.frame"
																	index_var="f"
																	variable="frame_item_temp"
																	[do]
																		[if]
																			[variable]
																				equals=""
																				name="frame_item_temp.image"
																			[/variable]
																			[then]
																				[set_variable]
																					name="frame_item_temp.halo"
																					value="$unit.image:200,$unit.image:200"
																				[/set_variable]
																				[set_variable]
																					name="frame_item_temp.image"
																					value="$unit.image:200,$unit.image:200"
																				[/set_variable]
																				[set_variable]
																					name="frame_item_temp.halo_y"
																					value=29
																				[/set_variable]
																				[set_variable]
																					formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-29))~BL(1)~O(33%)~FL(vertical)')"
																					name="frame_item_temp.halo_mod"
																				[/set_variable]
																			[/then]
																			[else]
																				[set_variable]
																					name="frame_item_temp.halo"
																					value="$frame_item_temp.image:200,$frame_item_temp.image:200"
																				[/set_variable]
																				[set_variable]
																					name="frame_item_temp.image"
																					value="$frame_item_temp.image:200,$frame_item_temp.image:200"
																				[/set_variable]
																				[set_variable]
																					name="frame_item_temp.halo_y"
																					value=29
																				[/set_variable]
																				[set_variable]
																					formula="concatenate('$frame_item_temp.halo_mod|','~CROP(0,0,72,(72-29))~BL(1)~O(33%)~FL(vertical)')"
																					name="frame_item_temp.halo_mod"
																				[/set_variable]
																			[/else]
																		[/if]
																	[/do]
																[/foreach]
															[/then]
															[else]
																[if]
																	[variable]
																		equals=""
																		name="new_reflection_animations[$i].else[$k].frame.image"
																	[/variable]
																	[then]
																		[set_variable]
																			name="new_reflection_animations[$i].else[$k].frame.halo"
																			value="$unit.image:200,$unit.image:200"
																		[/set_variable]
																		[set_variable]
																			name="new_reflection_animations[$i].else[$k].frame.image"
																			value="$unit.image:200,$unit.image:200"
																		[/set_variable]
																		[set_variable]
																			name="new_reflection_animations[$i].else[$k].frame.halo_y"
																			value=29
																		[/set_variable]
																		[set_variable]
																			formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-29))~BL(1)~O(33%)~FL(vertical)')"
																			name="new_reflection_animations[$i].else[$k].frame.halo_mod"
																		[/set_variable]
																	[/then]
																	[else]
																		[set_variable]
																			name="new_reflection_animations[$i].else[$k].frame.halo"
																			value="$new_reflection_animations[$i].else[$k].frame.image:200,$new_reflection_animations[$i].else[$k].frame.image:200"
																		[/set_variable]
																		[set_variable]
																			name="new_reflection_animations[$i].else[$k].frame.image"
																			value="$new_reflection_animations[$i].else[$k].frame.image:200,$new_reflection_animations[$i].else[$k].frame.image:200"
																		[/set_variable]
																		[set_variable]
																			name="new_reflection_animations[$i].else[$k].frame.halo_y"
																			value=29
																		[/set_variable]
																		[set_variable]
																			formula="concatenate('$new_reflection_animations[$i].else[$k].frame.halo_mod|','~CROP(0,0,72,(72-29))~BL(1)~O(33%)~FL(vertical)')"
																			name="new_reflection_animations[$i].else[$k].frame.halo_mod"
																		[/set_variable]
																	[/else]
																[/if]
															[/else]
														[/if]
													[/do]
												[/foreach]
											[/then]
											[else]
												[if]
													[variable]
														greater_than_equal_to=2
														name="new_reflection_animations[$i].else.frame.length"
													[/variable]
													[then]
														[foreach]
															array="new_reflection_animations[$i].else.frame"
															index_var="f"
															variable="frame_item_temp"
															[do]
																[if]
																	[variable]
																		equals=""
																		name="frame_item_temp.image"
																	[/variable]
																	[then]
																		[set_variable]
																			name="frame_item_temp.halo"
																			value="$unit.image:200,$unit.image:200"
																		[/set_variable]
																		[set_variable]
																			name="frame_item_temp.image"
																			value="$unit.image:200,$unit.image:200"
																		[/set_variable]
																		[set_variable]
																			name="frame_item_temp.halo_y"
																			value=29
																		[/set_variable]
																		[set_variable]
																			formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-29))~BL(1)~O(33%)~FL(vertical)')"
																			name="frame_item_temp.halo_mod"
																		[/set_variable]
																	[/then]
																	[else]
																		[set_variable]
																			name="frame_item_temp.halo"
																			value="$frame_item_temp.image:200,$frame_item_temp.image:200"
																		[/set_variable]
																		[set_variable]
																			name="frame_item_temp.image"
																			value="$frame_item_temp.image:200,$frame_item_temp.image:200"
																		[/set_variable]
																		[set_variable]
																			name="frame_item_temp.halo_y"
																			value=29
																		[/set_variable]
																		[set_variable]
																			formula="concatenate('$frame_item_temp.halo_mod|','~CROP(0,0,72,(72-29))~BL(1)~O(33%)~FL(vertical)')"
																			name="frame_item_temp.halo_mod"
																		[/set_variable]
																	[/else]
																[/if]
															[/do]
														[/foreach]
													[/then]
													[else]
														[if]
															[variable]
																equals=""
																name="new_reflection_animations[$i].else.frame.image"
															[/variable]
															[then]
																[set_variable]
																	name="new_reflection_animations[$i].else.frame.halo"
																	value="$unit.image:200,$unit.image:200"
																[/set_variable]
																[set_variable]
																	name="new_reflection_animations[$i].else.frame.image"
																	value="$unit.image:200,$unit.image:200"
																[/set_variable]
																[set_variable]
																	name="new_reflection_animations[$i].else.frame.halo_y"
																	value=29
																[/set_variable]
																[set_variable]
																	formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-29))~BL(1)~O(33%)~FL(vertical)')"
																	name="new_reflection_animations[$i].else.frame.halo_mod"
																[/set_variable]
															[/then]
															[else]
																[set_variable]
																	name="new_reflection_animations[$i].else.frame.halo"
																	value="$new_reflection_animations[$i].else.frame.image:200,$new_reflection_animations[$i].else.frame.image:200"
																[/set_variable]
																[set_variable]
																	name="new_reflection_animations[$i].else.frame.image"
																	value="$new_reflection_animations[$i].else.frame.image:200,$new_reflection_animations[$i].else.frame.image:200"
																[/set_variable]
																[set_variable]
																	name="new_reflection_animations[$i].else.frame.halo_y"
																	value=29
																[/set_variable]
																[set_variable]
																	formula="concatenate('$new_reflection_animations[$i].else.frame.halo_mod|','~CROP(0,0,72,(72-29))~BL(1)~O(33%)~FL(vertical)')"
																	name="new_reflection_animations[$i].else.frame.halo_mod"
																[/set_variable]
															[/else]
														[/if]
													[/else]
												[/if]
											[/else]
										[/if]
									[/then]
								[/if]
							[/do]
						[/foreach]
					[/then]
					[else]
						[set_variables]
							name="new_reflection_animations"
							to_variable="reflect_unit_type.movement_anim[0]"
						[/set_variables]
						[set_variable]
							name="new_reflection_animations.data_apply_to"
							value="movement_anim"
						[/set_variable]
						[set_variable]
							name="new_reflection_animations.start_time"
							value=0
						[/set_variable]
						[set_variable]
							name="new_reflection_animations.base_score"
							value=2
						[/set_variable]
						[set_variables]
							mode="append"
							name="new_reflection_animations.filter"
							[value]
								[filter_location]
									terrain="Wwt,Ww,Wwg"
								[/filter_location]
							[/value]
						[/set_variables]
						[if]
							[variable]
								greater_than_equal_to=1
								name="reflect_unit_type.movement_anim.if.length"
							[/variable]
							[then]
								[if]
									[variable]
										greater_than_equal_to=2
										name="reflect_unit_type.movement_anim.if.length"
									[/variable]
									[then]
										[foreach]
											array="reflect_unit_type.movement_anim.if"
											index_var="k"
											variable="conditional_item"
											[do]
												[if]
													[variable]
														greater_than_equal_to=2
														name="conditional_item.frame.length"
													[/variable]
													[then]
														[foreach]
															array="conditional_item.frame"
															index_var="f"
															variable="frame_item_temp"
															[do]
																[if]
																	[variable]
																		equals=""
																		name="frame_item_temp.image"
																	[/variable]
																	[then]
																		[set_variable]
																			name="frame_item_temp.halo"
																			value="$unit.image:200,$unit.image:200"
																		[/set_variable]
																		[set_variable]
																			name="frame_item_temp.image"
																			value="$unit.image:200,$unit.image:200"
																		[/set_variable]
																		[set_variable]
																			name="frame_item_temp.halo_y"
																			value=29
																		[/set_variable]
																		[set_variable]
																			formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-29))~BL(1)~O(33%)~FL(vertical)')"
																			name="frame_item_temp.halo_mod"
																		[/set_variable]
																	[/then]
																	[else]
																		[set_variable]
																			name="frame_item_temp.halo"
																			value="$frame_item_temp.image:200,$frame_item_temp.image:200"
																		[/set_variable]
																		[set_variable]
																			name="frame_item_temp.image"
																			value="$frame_item_temp.image:200,$frame_item_temp.image:200"
																		[/set_variable]
																		[set_variable]
																			name="frame_item_temp.halo_y"
																			value=29
																		[/set_variable]
																		[set_variable]
																			formula="concatenate('$frame_item_temp.halo_mod|','~CROP(0,0,72,(72-29))~BL(1)~O(33%)~FL(vertical)')"
																			name="frame_item_temp.halo_mod"
																		[/set_variable]
																	[/else]
																[/if]
															[/do]
														[/foreach]
													[/then]
													[else]
														[if]
															[variable]
																equals=""
																name="new_reflection_animations[0].if[$k].frame.image"
															[/variable]
															[then]
																[set_variable]
																	name="new_reflection_animations[0].if[$k].frame.halo"
																	value="$unit.image:200,$unit.image:200"
																[/set_variable]
																[set_variable]
																	name="new_reflection_animations[0].if[$k].frame.image"
																	value="$unit.image:200,$unit.image:200"
																[/set_variable]
																[set_variable]
																	name="new_reflection_animations[0].if[$k].frame.halo_y"
																	value=29
																[/set_variable]
																[set_variable]
																	formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-29))~BL(1)~O(33%)~FL(vertical)')"
																	name="new_reflection_animations[0].if[$k].frame.halo_mod"
																[/set_variable]
															[/then]
															[else]
																[set_variable]
																	name="new_reflection_animations[0].if[$k].frame.halo"
																	value="$new_reflection_animations[0].if[$k].frame.image:200,$new_reflection_animations[0].if[$k].frame.image:200"
																[/set_variable]
																[set_variable]
																	name="new_reflection_animations[0].if[$k].frame.image"
																	value="$new_reflection_animations[0].if[$k].frame.image:200,$new_reflection_animations[0].if[$k].frame.image:200"
																[/set_variable]
																[set_variable]
																	name="new_reflection_animations[0].if[$k].frame.halo_y"
																	value=29
																[/set_variable]
																[set_variable]
																	formula="concatenate('$new_reflection_animations[0].if[$k].frame.halo_mod|','~CROP(0,0,72,(72-29))~BL(1)~O(33%)~FL(vertical)')"
																	name="new_reflection_animations[0].if[$k].frame.halo_mod"
																[/set_variable]
															[/else]
														[/if]
													[/else]
												[/if]
											[/do]
										[/foreach]
									[/then]
									[else]
										[if]
											[variable]
												greater_than_equal_to=2
												name="reflect_unit_type.movement_anim.if.frame.length"
											[/variable]
											[then]
												[foreach]
													array="reflect_unit_type.movement_anim.if.frame"
													index_var="f"
													variable="frame_item_temp"
													[do]
														[if]
															[variable]
																equals=""
																name="frame_item_temp.image"
															[/variable]
															[then]
																[set_variable]
																	name="frame_item_temp.halo"
																	value="$unit.image:200,$unit.image:200"
																[/set_variable]
																[set_variable]
																	name="frame_item_temp.image"
																	value="$unit.image:200,$unit.image:200"
																[/set_variable]
																[set_variable]
																	name="frame_item_temp.halo_y"
																	value=29
																[/set_variable]
																[set_variable]
																	formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-29))~BL(1)~O(33%)~FL(vertical)')"
																	name="frame_item_temp.halo_mod"
																[/set_variable]
															[/then]
															[else]
																[set_variable]
																	name="frame_item_temp.halo"
																	value="$frame_item_temp.image:200,$frame_item_temp.image:200"
																[/set_variable]
																[set_variable]
																	name="frame_item_temp.image"
																	value="$frame_item_temp.image:200,$frame_item_temp.image:200"
																[/set_variable]
																[set_variable]
																	name="frame_item_temp.halo_y"
																	value=29
																[/set_variable]
																[set_variable]
																	formula="concatenate('$frame_item_temp.halo_mod|','~CROP(0,0,72,(72-29))~BL(1)~O(33%)~FL(vertical)')"
																	name="frame_item_temp.halo_mod"
																[/set_variable]
															[/else]
														[/if]
													[/do]
												[/foreach]
											[/then]
											[else]
												[if]
													[variable]
														equals=""
														name="new_reflection_animations[0].if.frame.image"
													[/variable]
													[then]
														[set_variable]
															name="new_reflection_animations[0].if.frame.halo"
															value="$unit.image:200,$unit.image:200"
														[/set_variable]
														[set_variable]
															name="new_reflection_animations[0].if.frame.image"
															value="$unit.image:200,$unit.image:200"
														[/set_variable]
														[set_variable]
															name="new_reflection_animations[0].if.frame.halo_y"
															value=29
														[/set_variable]
														[set_variable]
															formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-29))~BL(1)~O(33%)~FL(vertical)')"
															name="new_reflection_animations[0].if.frame.halo_mod"
														[/set_variable]
													[/then]
													[else]
														[set_variable]
															name="new_reflection_animations[0].if.frame.halo"
															value="$new_reflection_animations[0].if.frame.image:200,$new_reflection_animations[0].if.frame.image:200"
														[/set_variable]
														[set_variable]
															name="new_reflection_animations[0].if.frame.image"
															value="$new_reflection_animations[0].if.frame.image:200,$new_reflection_animations[0].if.frame.image:200"
														[/set_variable]
														[set_variable]
															name="new_reflection_animations[0].if.frame.halo_y"
															value=29
														[/set_variable]
														[set_variable]
															formula="concatenate('$new_reflection_animations[0].if.frame.halo_mod|','~CROP(0,0,72,(72-29))~BL(1)~O(33%)~FL(vertical)')"
															name="new_reflection_animations[0].if.frame.halo_mod"
														[/set_variable]
													[/else]
												[/if]
											[/else]
										[/if]
									[/else]
								[/if]
							[/then]
							[else]
								[if]
									[variable]
										greater_than_equal_to=2
										name="new_reflection_animations[0].frame.length"
									[/variable]
									[then]
										[foreach]
											array="new_reflection_animations[0].frame"
											index_var="f"
											variable="frame_item_temp"
											[do]
												[if]
													[variable]
														equals=""
														name="frame_item_temp.image"
													[/variable]
													[then]
														[set_variable]
															name="frame_item_temp.halo"
															value="$unit.image:200,$unit.image:200"
														[/set_variable]
														[set_variable]
															name="frame_item_temp.image"
															value="$unit.image:200,$unit.image:200"
														[/set_variable]
														[set_variable]
															name="frame_item_temp.halo_y"
															value=29
														[/set_variable]
														[set_variable]
															formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-29))~BL(1)~O(33%)~FL(vertical)')"
															name="frame_item_temp.halo_mod"
														[/set_variable]
													[/then]
													[else]
														[set_variable]
															name="frame_item_temp.halo"
															value="$frame_item_temp.image:200,$frame_item_temp.image:200"
														[/set_variable]
														[set_variable]
															name="frame_item_temp.image"
															value="$frame_item_temp.image:200,$frame_item_temp.image:200"
														[/set_variable]
														[set_variable]
															name="frame_item_temp.halo_y"
															value=29
														[/set_variable]
														[set_variable]
															formula="concatenate('$frame_item_temp.halo_mod|','~CROP(0,0,72,(72-29))~BL(1)~O(33%)~FL(vertical)')"
															name="frame_item_temp.halo_mod"
														[/set_variable]
													[/else]
												[/if]
											[/do]
										[/foreach]
									[/then]
									[else]
										[if]
											[variable]
												equals=""
												name="new_reflection_animations[0].frame.image"
											[/variable]
											[then]
												[set_variable]
													name="new_reflection_animations[0].frame.halo"
													value="$unit.image:200,$unit.image:200"
												[/set_variable]
												[set_variable]
													name="new_reflection_animations[0].frame.image"
													value="$unit.image:200,$unit.image:200"
												[/set_variable]
												[set_variable]
													name="new_reflection_animations[0].frame.halo_y"
													value=29
												[/set_variable]
												[set_variable]
													formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-29))~BL(1)~O(33%)~FL(vertical)')"
													name="new_reflection_animations[0].frame.halo_mod"
												[/set_variable]
											[/then]
											[else]
												[set_variable]
													name="new_reflection_animations[0].frame.halo"
													value="$new_reflection_animations[0].frame.image:200,$new_reflection_animations[0].frame.image:200"
												[/set_variable]
												[set_variable]
													name="new_reflection_animations[0].frame.image"
													value="$new_reflection_animations[0].frame.image:200,$new_reflection_animations[0].frame.image:200"
												[/set_variable]
												[set_variable]
													name="new_reflection_animations[0].frame.halo_y"
													value=29
												[/set_variable]
												[set_variable]
													formula="concatenate('$new_reflection_animations[0].frame.halo_mod|','~CROP(0,0,72,(72-29))~BL(1)~O(33%)~FL(vertical)')"
													name="new_reflection_animations[0].frame.halo_mod"
												[/set_variable]
											[/else]
										[/if]
									[/else]
								[/if]
							[/else]
						[/if]
						[if]
							[variable]
								greater_than_equal_to=1
								name="reflect_unit_type.movement_anim.else.length"
							[/variable]
							[then]
								[if]
									[variable]
										greater_than_equal_to=2
										name="reflect_unit_type.movement_anim.else.length"
									[/variable]
									[then]
										[foreach]
											array="reflect_unit_type.movement_anim.else"
											index_var="k"
											variable="conditional_item"
											[do]
												[if]
													[variable]
														greater_than_equal_to=2
														name="conditional_item.frame.length"
													[/variable]
													[then]
														[foreach]
															array="conditional_item.frame"
															index_var="f"
															variable="frame_item_temp"
															[do]
																[if]
																	[variable]
																		equals=""
																		name="frame_item_temp.image"
																	[/variable]
																	[then]
																		[set_variable]
																			name="frame_item_temp.halo"
																			value="$unit.image:200,$unit.image:200"
																		[/set_variable]
																		[set_variable]
																			name="frame_item_temp.image"
																			value="$unit.image:200,$unit.image:200"
																		[/set_variable]
																		[set_variable]
																			name="frame_item_temp.halo_y"
																			value=29
																		[/set_variable]
																		[set_variable]
																			formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-29))~BL(1)~O(33%)~FL(vertical)')"
																			name="frame_item_temp.halo_mod"
																		[/set_variable]
																	[/then]
																	[else]
																		[set_variable]
																			name="frame_item_temp.halo"
																			value="$frame_item_temp.image:200,$frame_item_temp.image:200"
																		[/set_variable]
																		[set_variable]
																			name="frame_item_temp.image"
																			value="$frame_item_temp.image:200,$frame_item_temp.image:200"
																		[/set_variable]
																		[set_variable]
																			name="frame_item_temp.halo_y"
																			value=29
																		[/set_variable]
																		[set_variable]
																			formula="concatenate('$frame_item_temp.halo_mod|','~CROP(0,0,72,(72-29))~BL(1)~O(33%)~FL(vertical)')"
																			name="frame_item_temp.halo_mod"
																		[/set_variable]
																	[/else]
																[/if]
															[/do]
														[/foreach]
													[/then]
													[else]
														[if]
															[variable]
																equals=""
																name="new_reflection_animations[0].else[$k].frame.image"
															[/variable]
															[then]
																[set_variable]
																	name="new_reflection_animations[0].else[$k].frame.halo"
																	value="$unit.image:200,$unit.image:200"
																[/set_variable]
																[set_variable]
																	name="new_reflection_animations[0].else[$k].frame.image"
																	value="$unit.image:200,$unit.image:200"
																[/set_variable]
																[set_variable]
																	name="new_reflection_animations[0].else[$k].frame.halo_y"
																	value=29
																[/set_variable]
																[set_variable]
																	formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-29))~BL(1)~O(33%)~FL(vertical)')"
																	name="new_reflection_animations[0].else[$k].frame.halo_mod"
																[/set_variable]
															[/then]
															[else]
																[set_variable]
																	name="new_reflection_animations[0].else[$k].frame.halo"
																	value="$new_reflection_animations[0].else[$k].frame.image:200,$new_reflection_animations[0].else[$k].frame.image:200"
																[/set_variable]
																[set_variable]
																	name="new_reflection_animations[0].else[$k].frame.image"
																	value="$new_reflection_animations[0].else[$k].frame.image:200,$new_reflection_animations[0].else[$k].frame.image:200"
																[/set_variable]
																[set_variable]
																	name="new_reflection_animations[0].else[$k].frame.halo_y"
																	value=29
																[/set_variable]
																[set_variable]
																	formula="concatenate('$new_reflection_animations[0].else[$k].frame.halo_mod|','~CROP(0,0,72,(72-29))~BL(1)~O(33%)~FL(vertical)')"
																	name="new_reflection_animations[0].else[$k].frame.halo_mod"
																[/set_variable]
															[/else]
														[/if]
													[/else]
												[/if]
											[/do]
										[/foreach]
									[/then]
									[else]
										[if]
											[variable]
												greater_than_equal_to=2
												name="reflect_unit_type.movement_anim.else.frame.length"
											[/variable]
											[then]
												[foreach]
													array="reflect_unit_type.movement_anim.else.frame"
													index_var="f"
													variable="frame_item_temp"
													[do]
														[if]
															[variable]
																equals=""
																name="frame_item_temp.image"
															[/variable]
															[then]
																[set_variable]
																	name="frame_item_temp.halo"
																	value="$unit.image:200,$unit.image:200"
																[/set_variable]
																[set_variable]
																	name="frame_item_temp.image"
																	value="$unit.image:200,$unit.image:200"
																[/set_variable]
																[set_variable]
																	name="frame_item_temp.halo_y"
																	value=29
																[/set_variable]
																[set_variable]
																	formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-29))~BL(1)~O(33%)~FL(vertical)')"
																	name="frame_item_temp.halo_mod"
																[/set_variable]
															[/then]
															[else]
																[set_variable]
																	name="frame_item_temp.halo"
																	value="$frame_item_temp.image:200,$frame_item_temp.image:200"
																[/set_variable]
																[set_variable]
																	name="frame_item_temp.image"
																	value="$frame_item_temp.image:200,$frame_item_temp.image:200"
																[/set_variable]
																[set_variable]
																	name="frame_item_temp.halo_y"
																	value=29
																[/set_variable]
																[set_variable]
																	formula="concatenate('$frame_item_temp.halo_mod|','~CROP(0,0,72,(72-29))~BL(1)~O(33%)~FL(vertical)')"
																	name="frame_item_temp.halo_mod"
																[/set_variable]
															[/else]
														[/if]
													[/do]
												[/foreach]
											[/then]
											[else]
												[if]
													[variable]
														equals=""
														name="new_reflection_animations[0].else.frame.image"
													[/variable]
													[then]
														[set_variable]
															name="new_reflection_animations[0].else.frame.halo"
															value="$unit.image:200,$unit.image:200"
														[/set_variable]
														[set_variable]
															name="new_reflection_animations[0].else.frame.image"
															value="$unit.image:200,$unit.image:200"
														[/set_variable]
														[set_variable]
															name="new_reflection_animations[0].else.frame.halo_y"
															value=29
														[/set_variable]
														[set_variable]
															formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-29))~BL(1)~O(33%)~FL(vertical)')"
															name="new_reflection_animations[0].else.frame.halo_mod"
														[/set_variable]
													[/then]
													[else]
														[set_variable]
															name="new_reflection_animations[0].else.frame.halo"
															value="$new_reflection_animations[0].else.frame.image:200,$new_reflection_animations[0].else.frame.image:200"
														[/set_variable]
														[set_variable]
															name="new_reflection_animations[0].else.frame.image"
															value="$new_reflection_animations[0].else.frame.image:200,$new_reflection_animations[0].else.frame.image:200"
														[/set_variable]
														[set_variable]
															name="new_reflection_animations[0].else.frame.halo_y"
															value=29
														[/set_variable]
														[set_variable]
															formula="concatenate('$new_reflection_animations[0].else.frame.halo_mod|','~CROP(0,0,72,(72-29))~BL(1)~O(33%)~FL(vertical)')"
															name="new_reflection_animations[0].else.frame.halo_mod"
														[/set_variable]
													[/else]
												[/if]
											[/else]
										[/if]
									[/else]
								[/if]
							[/then]
						[/if]
					[/else]
				[/if]
			[/then]
			[else]
				[if]
					[variable]
						name="unit.image"
						not_equals=""
					[/variable]
					[then]
						[set_variables]
							name="new_reflection_animations"
							[value]
								apply_to="standing"
								data_apply_to="movement_anim"
								start_time=0
								terrain_type="Wwt,Ww,Wwg"
								[frame]
									halo="$unit.image:200,$unit.image:200"
									halo_mod="~CROP(0,0,72,$(72-29))~BL(1)~O(33%)~FL(vertical)"
									halo_y=29
									image="$unit.image:200,$unit.image:200"
								[/frame]
							[/value]
						[/set_variables]
					[/then]
				[/if]
			[/else]
		[/if]
		[set_variables]
			mode="append"
			name="add_animations_variable"
			to_variable="new_reflection_animations"
		[/set_variables]
		[clear_variable]
			name="new_reflection_animations"
		[/clear_variable]
		[if]
			[variable]
				greater_than_equal_to=1
				name="reflect_unit_type.movement_anim.length"
			[/variable]
			[then]
				[if]
					[variable]
						greater_than_equal_to=2
						name="reflect_unit_type.movement_anim.length"
					[/variable]
					[then]
						[foreach]
							array="reflect_unit_type.movement_anim"
							[do]
								[set_variables]
									name="new_reflection_animations[$i]"
									to_variable="this_item"
								[/set_variables]
								[set_variable]
									name="new_reflection_animations[$i].start_time"
									value=0
								[/set_variable]
								[set_variable]
									name="new_reflection_animations[$i].data_apply_to"
									value="movement_anim"
								[/set_variable]
								[set_variable]
									name="new_reflection_animations[$i].base_score"
									value=2
								[/set_variable]
								[set_variables]
									mode="append"
									name="new_reflection_animations[$i].filter"
									[value]
										[filter_location]
											terrain="Wot,Wo,Wog"
										[/filter_location]
									[/value]
								[/set_variables]
								[if]
									[variable]
										greater_than_equal_to=1
										name="new_reflection_animations[$i].if.length"
									[/variable]
									[then]
										[if]
											[variable]
												greater_than_equal_to=2
												name="new_reflection_animations[$i].if.length"
											[/variable]
											[then]
												[foreach]
													array="new_reflection_animations[$i].if"
													index_var="k"
													variable="conditional_item"
													[do]
														[if]
															[variable]
																greater_than_equal_to=2
																name="conditional_item.frame.length"
															[/variable]
															[then]
																[foreach]
																	array="conditional_item.frame"
																	index_var="f"
																	variable="frame_item_temp"
																	[do]
																		[if]
																			[variable]
																				equals=""
																				name="frame_item_temp.image"
																			[/variable]
																			[then]
																				[set_variable]
																					name="frame_item_temp.halo"
																					value="$unit.image:200,$unit.image:200"
																				[/set_variable]
																				[set_variable]
																					name="frame_item_temp.image"
																					value="$unit.image:200,$unit.image:200"
																				[/set_variable]
																				[set_variable]
																					name="frame_item_temp.halo_y"
																					value=18
																				[/set_variable]
																				[set_variable]
																					formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-36))~BL(1)~O(33%)~FL(vertical)')"
																					name="frame_item_temp.halo_mod"
																				[/set_variable]
																			[/then]
																			[else]
																				[set_variable]
																					name="frame_item_temp.halo"
																					value="$frame_item_temp.image:200,$frame_item_temp.image:200"
																				[/set_variable]
																				[set_variable]
																					name="frame_item_temp.image"
																					value="$frame_item_temp.image:200,$frame_item_temp.image:200"
																				[/set_variable]
																				[set_variable]
																					name="frame_item_temp.halo_y"
																					value=18
																				[/set_variable]
																				[set_variable]
																					formula="concatenate('$frame_item_temp.halo_mod|','~CROP(0,0,72,(72-36))~BL(1)~O(33%)~FL(vertical)')"
																					name="frame_item_temp.halo_mod"
																				[/set_variable]
																			[/else]
																		[/if]
																	[/do]
																[/foreach]
															[/then]
															[else]
																[if]
																	[variable]
																		equals=""
																		name="conditional_item.frame.image"
																	[/variable]
																	[then]
																		[set_variable]
																			name="conditional_item.frame.halo"
																			value="$unit.image:200,$unit.image:200"
																		[/set_variable]
																		[set_variable]
																			name="conditional_item.frame.image"
																			value="$unit.image:200,$unit.image:200"
																		[/set_variable]
																		[set_variable]
																			name="conditional_item.frame.halo_y"
																			value=18
																		[/set_variable]
																		[set_variable]
																			formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-36))~BL(1)~O(33%)~FL(vertical)')"
																			name="conditional_item.frame.halo_mod"
																		[/set_variable]
																	[/then]
																	[else]
																		[set_variable]
																			name="conditional_item.frame.halo"
																			value="$conditional_item.frame.image:200,$conditional_item.frame.image:200"
																		[/set_variable]
																		[set_variable]
																			name="conditional_item.frame.image"
																			value="$conditional_item.frame.image:200,$conditional_item.frame.image:200"
																		[/set_variable]
																		[set_variable]
																			name="conditional_item.frame.halo_y"
																			value=18
																		[/set_variable]
																		[set_variable]
																			formula="concatenate('$conditional_item.frame.halo_mod|','~CROP(0,0,72,(72-36))~BL(1)~O(33%)~FL(vertical)')"
																			name="conditional_item.frame.halo_mod"
																		[/set_variable]
																	[/else]
																[/if]
															[/else]
														[/if]
													[/do]
												[/foreach]
											[/then]
											[else]
												[if]
													[variable]
														greater_than_equal_to=2
														name="new_reflection_animations[$i].if.frame.length"
													[/variable]
													[then]
														[foreach]
															array="new_reflection_animations[$i].if.frame"
															index_var="f"
															variable="frame_item_temp"
															[do]
																[if]
																	[variable]
																		equals=""
																		name="frame_item_temp.image"
																	[/variable]
																	[then]
																		[set_variable]
																			name="frame_item_temp.halo"
																			value="$unit.image:200,$unit.image:200"
																		[/set_variable]
																		[set_variable]
																			name="frame_item_temp.image"
																			value="$unit.image:200,$unit.image:200"
																		[/set_variable]
																		[set_variable]
																			name="frame_item_temp.halo_y"
																			value=18
																		[/set_variable]
																		[set_variable]
																			formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-36))~BL(1)~O(33%)~FL(vertical)')"
																			name="frame_item_temp.halo_mod"
																		[/set_variable]
																	[/then]
																	[else]
																		[set_variable]
																			name="frame_item_temp.halo"
																			value="$frame_item_temp.image:200,$frame_item_temp.image:200"
																		[/set_variable]
																		[set_variable]
																			name="frame_item_temp.image"
																			value="$frame_item_temp.image:200,$frame_item_temp.image:200"
																		[/set_variable]
																		[set_variable]
																			name="frame_item_temp.halo_y"
																			value=18
																		[/set_variable]
																		[set_variable]
																			formula="concatenate('$frame_item_temp.halo_mod|','~CROP(0,0,72,(72-36))~BL(1)~O(33%)~FL(vertical)')"
																			name="frame_item_temp.halo_mod"
																		[/set_variable]
																	[/else]
																[/if]
															[/do]
														[/foreach]
													[/then]
													[else]
														[if]
															[variable]
																equals=""
																name="new_reflection_animations[$i].if.frame.image"
															[/variable]
															[then]
																[set_variable]
																	name="new_reflection_animations[$i].if.frame.halo"
																	value="$unit.image:200,$unit.image:200"
																[/set_variable]
																[set_variable]
																	name="new_reflection_animations[$i].if.frame.image"
																	value="$unit.image:200,$unit.image:200"
																[/set_variable]
																[set_variable]
																	name="new_reflection_animations[$i].if.frame.halo_y"
																	value=18
																[/set_variable]
																[set_variable]
																	formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-36))~BL(1)~O(33%)~FL(vertical)')"
																	name="new_reflection_animations[$i].if.frame.halo_mod"
																[/set_variable]
															[/then]
															[else]
																[set_variable]
																	name="new_reflection_animations[$i].if.frame.halo"
																	value="$new_reflection_animations[$i].if.frame.image:200,$new_reflection_animations[$i].if.frame.image:200"
																[/set_variable]
																[set_variable]
																	name="new_reflection_animations[$i].if.frame.image"
																	value="$new_reflection_animations[$i].if.frame.image:200,$new_reflection_animations[$i].if.frame.image:200"
																[/set_variable]
																[set_variable]
																	name="new_reflection_animations[$i].if.frame.halo_y"
																	value=18
																[/set_variable]
																[set_variable]
																	formula="concatenate('$new_reflection_animations[$i].if.frame.halo_mod|','~CROP(0,0,72,(72-36))~BL(1)~O(33%)~FL(vertical)')"
																	name="new_reflection_animations[$i].if.frame.halo_mod"
																[/set_variable]
															[/else]
														[/if]
													[/else]
												[/if]
											[/else]
										[/if]
									[/then]
									[else]
										[if]
											[variable]
												greater_than_equal_to=2
												name="new_reflection_animations[$i].frame.length"
											[/variable]
											[then]
												[foreach]
													array="new_reflection_animations[$i].frame"
													index_var="f"
													variable="frame_item_temp"
													[do]
														[if]
															[variable]
																equals=""
																name="frame_item_temp.image"
															[/variable]
															[then]
																[set_variable]
																	name="frame_item_temp.halo"
																	value="$unit.image:200,$unit.image:200"
																[/set_variable]
																[set_variable]
																	name="frame_item_temp.image"
																	value="$unit.image:200,$unit.image:200"
																[/set_variable]
																[set_variable]
																	name="frame_item_temp.halo_y"
																	value=18
																[/set_variable]
																[set_variable]
																	formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-36))~BL(1)~O(33%)~FL(vertical)')"
																	name="frame_item_temp.halo_mod"
																[/set_variable]
															[/then]
															[else]
																[set_variable]
																	name="frame_item_temp.halo"
																	value="$frame_item_temp.image:200,$frame_item_temp.image:200"
																[/set_variable]
																[set_variable]
																	name="frame_item_temp.image"
																	value="$frame_item_temp.image:200,$frame_item_temp.image:200"
																[/set_variable]
																[set_variable]
																	name="frame_item_temp.halo_y"
																	value=18
																[/set_variable]
																[set_variable]
																	formula="concatenate('$frame_item_temp.halo_mod|','~CROP(0,0,72,(72-36))~BL(1)~O(33%)~FL(vertical)')"
																	name="frame_item_temp.halo_mod"
																[/set_variable]
															[/else]
														[/if]
													[/do]
												[/foreach]
											[/then]
											[else]
												[if]
													[variable]
														equals=""
														name="new_reflection_animations[$i].frame.image"
													[/variable]
													[then]
														[set_variable]
															name="new_reflection_animations[$i].frame.halo"
															value="$unit.image:200,$unit.image:200"
														[/set_variable]
														[set_variable]
															name="new_reflection_animations[$i].frame.image"
															value="$unit.image:200,$unit.image:200"
														[/set_variable]
														[set_variable]
															name="new_reflection_animations[$i].frame.halo_y"
															value=18
														[/set_variable]
														[set_variable]
															formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-36))~BL(1)~O(33%)~FL(vertical)')"
															name="new_reflection_animations[$i].frame.halo_mod"
														[/set_variable]
													[/then]
													[else]
														[set_variable]
															name="new_reflection_animations[$i].frame.halo"
															value="$new_reflection_animations[$i].frame.image:200,$new_reflection_animations[$i].frame.image:200"
														[/set_variable]
														[set_variable]
															name="new_reflection_animations[$i].frame.image"
															value="$new_reflection_animations[$i].frame.image:200,$new_reflection_animations[$i].frame.image:200"
														[/set_variable]
														[set_variable]
															name="new_reflection_animations[$i].frame.halo_y"
															value=18
														[/set_variable]
														[set_variable]
															formula="concatenate('$new_reflection_animations[$i].frame.halo_mod|','~CROP(0,0,72,(72-36))~BL(1)~O(33%)~FL(vertical)')"
															name="new_reflection_animations[$i].frame.halo_mod"
														[/set_variable]
													[/else]
												[/if]
											[/else]
										[/if]
									[/else]
								[/if]
								[if]
									[variable]
										greater_than_equal_to=1
										name="new_reflection_animations[$i].else.length"
									[/variable]
									[then]
										[if]
											[variable]
												greater_than_equal_to=2
												name="new_reflection_animations[$i].else.length"
											[/variable]
											[then]
												[foreach]
													array="new_reflection_animations[$i].else"
													index_var="k"
													variable="conditional_item"
													[do]
														[if]
															[variable]
																greater_than_equal_to=2
																name="conditional_item.frame.length"
															[/variable]
															[then]
																[foreach]
																	array="conditional_item.frame"
																	index_var="f"
																	variable="frame_item_temp"
																	[do]
																		[if]
																			[variable]
																				equals=""
																				name="frame_item_temp.image"
																			[/variable]
																			[then]
																				[set_variable]
																					name="frame_item_temp.halo"
																					value="$unit.image:200,$unit.image:200"
																				[/set_variable]
																				[set_variable]
																					name="frame_item_temp.image"
																					value="$unit.image:200,$unit.image:200"
																				[/set_variable]
																				[set_variable]
																					name="frame_item_temp.halo_y"
																					value=18
																				[/set_variable]
																				[set_variable]
																					formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-36))~BL(1)~O(33%)~FL(vertical)')"
																					name="frame_item_temp.halo_mod"
																				[/set_variable]
																			[/then]
																			[else]
																				[set_variable]
																					name="frame_item_temp.halo"
																					value="$frame_item_temp.image:200,$frame_item_temp.image:200"
																				[/set_variable]
																				[set_variable]
																					name="frame_item_temp.image"
																					value="$frame_item_temp.image:200,$frame_item_temp.image:200"
																				[/set_variable]
																				[set_variable]
																					name="frame_item_temp.halo_y"
																					value=18
																				[/set_variable]
																				[set_variable]
																					formula="concatenate('$frame_item_temp.halo_mod|','~CROP(0,0,72,(72-36))~BL(1)~O(33%)~FL(vertical)')"
																					name="frame_item_temp.halo_mod"
																				[/set_variable]
																			[/else]
																		[/if]
																	[/do]
																[/foreach]
															[/then]
															[else]
																[if]
																	[variable]
																		equals=""
																		name="new_reflection_animations[$i].else[$k].frame.image"
																	[/variable]
																	[then]
																		[set_variable]
																			name="new_reflection_animations[$i].else[$k].frame.halo"
																			value="$unit.image:200,$unit.image:200"
																		[/set_variable]
																		[set_variable]
																			name="new_reflection_animations[$i].else[$k].frame.image"
																			value="$unit.image:200,$unit.image:200"
																		[/set_variable]
																		[set_variable]
																			name="new_reflection_animations[$i].else[$k].frame.halo_y"
																			value=18
																		[/set_variable]
																		[set_variable]
																			formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-36))~BL(1)~O(33%)~FL(vertical)')"
																			name="new_reflection_animations[$i].else[$k].frame.halo_mod"
																		[/set_variable]
																	[/then]
																	[else]
																		[set_variable]
																			name="new_reflection_animations[$i].else[$k].frame.halo"
																			value="$new_reflection_animations[$i].else[$k].frame.image:200,$new_reflection_animations[$i].else[$k].frame.image:200"
																		[/set_variable]
																		[set_variable]
																			name="new_reflection_animations[$i].else[$k].frame.image"
																			value="$new_reflection_animations[$i].else[$k].frame.image:200,$new_reflection_animations[$i].else[$k].frame.image:200"
																		[/set_variable]
																		[set_variable]
																			name="new_reflection_animations[$i].else[$k].frame.halo_y"
																			value=18
																		[/set_variable]
																		[set_variable]
																			formula="concatenate('$new_reflection_animations[$i].else[$k].frame.halo_mod|','~CROP(0,0,72,(72-36))~BL(1)~O(33%)~FL(vertical)')"
																			name="new_reflection_animations[$i].else[$k].frame.halo_mod"
																		[/set_variable]
																	[/else]
																[/if]
															[/else]
														[/if]
													[/do]
												[/foreach]
											[/then]
											[else]
												[if]
													[variable]
														greater_than_equal_to=2
														name="new_reflection_animations[$i].else.frame.length"
													[/variable]
													[then]
														[foreach]
															array="new_reflection_animations[$i].else.frame"
															index_var="f"
															variable="frame_item_temp"
															[do]
																[if]
																	[variable]
																		equals=""
																		name="frame_item_temp.image"
																	[/variable]
																	[then]
																		[set_variable]
																			name="frame_item_temp.halo"
																			value="$unit.image:200,$unit.image:200"
																		[/set_variable]
																		[set_variable]
																			name="frame_item_temp.image"
																			value="$unit.image:200,$unit.image:200"
																		[/set_variable]
																		[set_variable]
																			name="frame_item_temp.halo_y"
																			value=18
																		[/set_variable]
																		[set_variable]
																			formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-36))~BL(1)~O(33%)~FL(vertical)')"
																			name="frame_item_temp.halo_mod"
																		[/set_variable]
																	[/then]
																	[else]
																		[set_variable]
																			name="frame_item_temp.halo"
																			value="$frame_item_temp.image:200,$frame_item_temp.image:200"
																		[/set_variable]
																		[set_variable]
																			name="frame_item_temp.image"
																			value="$frame_item_temp.image:200,$frame_item_temp.image:200"
																		[/set_variable]
																		[set_variable]
																			name="frame_item_temp.halo_y"
																			value=18
																		[/set_variable]
																		[set_variable]
																			formula="concatenate('$frame_item_temp.halo_mod|','~CROP(0,0,72,(72-36))~BL(1)~O(33%)~FL(vertical)')"
																			name="frame_item_temp.halo_mod"
																		[/set_variable]
																	[/else]
																[/if]
															[/do]
														[/foreach]
													[/then]
													[else]
														[if]
															[variable]
																equals=""
																name="new_reflection_animations[$i].else.frame.image"
															[/variable]
															[then]
																[set_variable]
																	name="new_reflection_animations[$i].else.frame.halo"
																	value="$unit.image:200,$unit.image:200"
																[/set_variable]
																[set_variable]
																	name="new_reflection_animations[$i].else.frame.image"
																	value="$unit.image:200,$unit.image:200"
																[/set_variable]
																[set_variable]
																	name="new_reflection_animations[$i].else.frame.halo_y"
																	value=18
																[/set_variable]
																[set_variable]
																	formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-36))~BL(1)~O(33%)~FL(vertical)')"
																	name="new_reflection_animations[$i].else.frame.halo_mod"
																[/set_variable]
															[/then]
															[else]
																[set_variable]
																	name="new_reflection_animations[$i].else.frame.halo"
																	value="$new_reflection_animations[$i].else.frame.image:200,$new_reflection_animations[$i].else.frame.image:200"
																[/set_variable]
																[set_variable]
																	name="new_reflection_animations[$i].else.frame.image"
																	value="$new_reflection_animations[$i].else.frame.image:200,$new_reflection_animations[$i].else.frame.image:200"
																[/set_variable]
																[set_variable]
																	name="new_reflection_animations[$i].else.frame.halo_y"
																	value=18
																[/set_variable]
																[set_variable]
																	formula="concatenate('$new_reflection_animations[$i].else.frame.halo_mod|','~CROP(0,0,72,(72-36))~BL(1)~O(33%)~FL(vertical)')"
																	name="new_reflection_animations[$i].else.frame.halo_mod"
																[/set_variable]
															[/else]
														[/if]
													[/else]
												[/if]
											[/else]
										[/if]
									[/then]
								[/if]
							[/do]
						[/foreach]
					[/then]
					[else]
						[set_variables]
							name="new_reflection_animations"
							to_variable="reflect_unit_type.movement_anim[0]"
						[/set_variables]
						[set_variable]
							name="new_reflection_animations.data_apply_to"
							value="movement_anim"
						[/set_variable]
						[set_variable]
							name="new_reflection_animations.start_time"
							value=0
						[/set_variable]
						[set_variable]
							name="new_reflection_animations.base_score"
							value=2
						[/set_variable]
						[set_variables]
							mode="append"
							name="new_reflection_animations.filter"
							[value]
								[filter_location]
									terrain="Wot,Wo,Wog"
								[/filter_location]
							[/value]
						[/set_variables]
						[if]
							[variable]
								greater_than_equal_to=1
								name="reflect_unit_type.movement_anim.if.length"
							[/variable]
							[then]
								[if]
									[variable]
										greater_than_equal_to=2
										name="reflect_unit_type.movement_anim.if.length"
									[/variable]
									[then]
										[foreach]
											array="reflect_unit_type.movement_anim.if"
											index_var="k"
											variable="conditional_item"
											[do]
												[if]
													[variable]
														greater_than_equal_to=2
														name="conditional_item.frame.length"
													[/variable]
													[then]
														[foreach]
															array="conditional_item.frame"
															index_var="f"
															variable="frame_item_temp"
															[do]
																[if]
																	[variable]
																		equals=""
																		name="frame_item_temp.image"
																	[/variable]
																	[then]
																		[set_variable]
																			name="frame_item_temp.halo"
																			value="$unit.image:200,$unit.image:200"
																		[/set_variable]
																		[set_variable]
																			name="frame_item_temp.image"
																			value="$unit.image:200,$unit.image:200"
																		[/set_variable]
																		[set_variable]
																			name="frame_item_temp.halo_y"
																			value=18
																		[/set_variable]
																		[set_variable]
																			formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-36))~BL(1)~O(33%)~FL(vertical)')"
																			name="frame_item_temp.halo_mod"
																		[/set_variable]
																	[/then]
																	[else]
																		[set_variable]
																			name="frame_item_temp.halo"
																			value="$frame_item_temp.image:200,$frame_item_temp.image:200"
																		[/set_variable]
																		[set_variable]
																			name="frame_item_temp.image"
																			value="$frame_item_temp.image:200,$frame_item_temp.image:200"
																		[/set_variable]
																		[set_variable]
																			name="frame_item_temp.halo_y"
																			value=18
																		[/set_variable]
																		[set_variable]
																			formula="concatenate('$frame_item_temp.halo_mod|','~CROP(0,0,72,(72-36))~BL(1)~O(33%)~FL(vertical)')"
																			name="frame_item_temp.halo_mod"
																		[/set_variable]
																	[/else]
																[/if]
															[/do]
														[/foreach]
													[/then]
													[else]
														[if]
															[variable]
																equals=""
																name="new_reflection_animations[0].if[$k].frame.image"
															[/variable]
															[then]
																[set_variable]
																	name="new_reflection_animations[0].if[$k].frame.halo"
																	value="$unit.image:200,$unit.image:200"
																[/set_variable]
																[set_variable]
																	name="new_reflection_animations[0].if[$k].frame.image"
																	value="$unit.image:200,$unit.image:200"
																[/set_variable]
																[set_variable]
																	name="new_reflection_animations[0].if[$k].frame.halo_y"
																	value=18
																[/set_variable]
																[set_variable]
																	formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-36))~BL(1)~O(33%)~FL(vertical)')"
																	name="new_reflection_animations[0].if[$k].frame.halo_mod"
																[/set_variable]
															[/then]
															[else]
																[set_variable]
																	name="new_reflection_animations[0].if[$k].frame.halo"
																	value="$new_reflection_animations[0].if[$k].frame.image:200,$new_reflection_animations[0].if[$k].frame.image:200"
																[/set_variable]
																[set_variable]
																	name="new_reflection_animations[0].if[$k].frame.image"
																	value="$new_reflection_animations[0].if[$k].frame.image:200,$new_reflection_animations[0].if[$k].frame.image:200"
																[/set_variable]
																[set_variable]
																	name="new_reflection_animations[0].if[$k].frame.halo_y"
																	value=18
																[/set_variable]
																[set_variable]
																	formula="concatenate('$new_reflection_animations[0].if[$k].frame.halo_mod|','~CROP(0,0,72,(72-36))~BL(1)~O(33%)~FL(vertical)')"
																	name="new_reflection_animations[0].if[$k].frame.halo_mod"
																[/set_variable]
															[/else]
														[/if]
													[/else]
												[/if]
											[/do]
										[/foreach]
									[/then]
									[else]
										[if]
											[variable]
												greater_than_equal_to=2
												name="reflect_unit_type.movement_anim.if.frame.length"
											[/variable]
											[then]
												[foreach]
													array="reflect_unit_type.movement_anim.if.frame"
													index_var="f"
													variable="frame_item_temp"
													[do]
														[if]
															[variable]
																equals=""
																name="frame_item_temp.image"
															[/variable]
															[then]
																[set_variable]
																	name="frame_item_temp.halo"
																	value="$unit.image:200,$unit.image:200"
																[/set_variable]
																[set_variable]
																	name="frame_item_temp.image"
																	value="$unit.image:200,$unit.image:200"
																[/set_variable]
																[set_variable]
																	name="frame_item_temp.halo_y"
																	value=18
																[/set_variable]
																[set_variable]
																	formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-36))~BL(1)~O(33%)~FL(vertical)')"
																	name="frame_item_temp.halo_mod"
																[/set_variable]
															[/then]
															[else]
																[set_variable]
																	name="frame_item_temp.halo"
																	value="$frame_item_temp.image:200,$frame_item_temp.image:200"
																[/set_variable]
																[set_variable]
																	name="frame_item_temp.image"
																	value="$frame_item_temp.image:200,$frame_item_temp.image:200"
																[/set_variable]
																[set_variable]
																	name="frame_item_temp.halo_y"
																	value=18
																[/set_variable]
																[set_variable]
																	formula="concatenate('$frame_item_temp.halo_mod|','~CROP(0,0,72,(72-36))~BL(1)~O(33%)~FL(vertical)')"
																	name="frame_item_temp.halo_mod"
																[/set_variable]
															[/else]
														[/if]
													[/do]
												[/foreach]
											[/then]
											[else]
												[if]
													[variable]
														equals=""
														name="new_reflection_animations[0].if.frame.image"
													[/variable]
													[then]
														[set_variable]
															name="new_reflection_animations[0].if.frame.halo"
															value="$unit.image:200,$unit.image:200"
														[/set_variable]
														[set_variable]
															name="new_reflection_animations[0].if.frame.image"
															value="$unit.image:200,$unit.image:200"
														[/set_variable]
														[set_variable]
															name="new_reflection_animations[0].if.frame.halo_y"
															value=18
														[/set_variable]
														[set_variable]
															formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-36))~BL(1)~O(33%)~FL(vertical)')"
															name="new_reflection_animations[0].if.frame.halo_mod"
														[/set_variable]
													[/then]
													[else]
														[set_variable]
															name="new_reflection_animations[0].if.frame.halo"
															value="$new_reflection_animations[0].if.frame.image:200,$new_reflection_animations[0].if.frame.image:200"
														[/set_variable]
														[set_variable]
															name="new_reflection_animations[0].if.frame.image"
															value="$new_reflection_animations[0].if.frame.image:200,$new_reflection_animations[0].if.frame.image:200"
														[/set_variable]
														[set_variable]
															name="new_reflection_animations[0].if.frame.halo_y"
															value=18
														[/set_variable]
														[set_variable]
															formula="concatenate('$new_reflection_animations[0].if.frame.halo_mod|','~CROP(0,0,72,(72-36))~BL(1)~O(33%)~FL(vertical)')"
															name="new_reflection_animations[0].if.frame.halo_mod"
														[/set_variable]
													[/else]
												[/if]
											[/else]
										[/if]
									[/else]
								[/if]
							[/then]
							[else]
								[if]
									[variable]
										greater_than_equal_to=2
										name="new_reflection_animations[0].frame.length"
									[/variable]
									[then]
										[foreach]
											array="new_reflection_animations[0].frame"
											index_var="f"
											variable="frame_item_temp"
											[do]
												[if]
													[variable]
														equals=""
														name="frame_item_temp.image"
													[/variable]
													[then]
														[set_variable]
															name="frame_item_temp.halo"
															value="$unit.image:200,$unit.image:200"
														[/set_variable]
														[set_variable]
															name="frame_item_temp.image"
															value="$unit.image:200,$unit.image:200"
														[/set_variable]
														[set_variable]
															name="frame_item_temp.halo_y"
															value=18
														[/set_variable]
														[set_variable]
															formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-36))~BL(1)~O(33%)~FL(vertical)')"
															name="frame_item_temp.halo_mod"
														[/set_variable]
													[/then]
													[else]
														[set_variable]
															name="frame_item_temp.halo"
															value="$frame_item_temp.image:200,$frame_item_temp.image:200"
														[/set_variable]
														[set_variable]
															name="frame_item_temp.image"
															value="$frame_item_temp.image:200,$frame_item_temp.image:200"
														[/set_variable]
														[set_variable]
															name="frame_item_temp.halo_y"
															value=18
														[/set_variable]
														[set_variable]
															formula="concatenate('$frame_item_temp.halo_mod|','~CROP(0,0,72,(72-36))~BL(1)~O(33%)~FL(vertical)')"
															name="frame_item_temp.halo_mod"
														[/set_variable]
													[/else]
												[/if]
											[/do]
										[/foreach]
									[/then]
									[else]
										[if]
											[variable]
												equals=""
												name="new_reflection_animations[0].frame.image"
											[/variable]
											[then]
												[set_variable]
													name="new_reflection_animations[0].frame.halo"
													value="$unit.image:200,$unit.image:200"
												[/set_variable]
												[set_variable]
													name="new_reflection_animations[0].frame.image"
													value="$unit.image:200,$unit.image:200"
												[/set_variable]
												[set_variable]
													name="new_reflection_animations[0].frame.halo_y"
													value=18
												[/set_variable]
												[set_variable]
													formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-36))~BL(1)~O(33%)~FL(vertical)')"
													name="new_reflection_animations[0].frame.halo_mod"
												[/set_variable]
											[/then]
											[else]
												[set_variable]
													name="new_reflection_animations[0].frame.halo"
													value="$new_reflection_animations[0].frame.image:200,$new_reflection_animations[0].frame.image:200"
												[/set_variable]
												[set_variable]
													name="new_reflection_animations[0].frame.image"
													value="$new_reflection_animations[0].frame.image:200,$new_reflection_animations[0].frame.image:200"
												[/set_variable]
												[set_variable]
													name="new_reflection_animations[0].frame.halo_y"
													value=18
												[/set_variable]
												[set_variable]
													formula="concatenate('$new_reflection_animations[0].frame.halo_mod|','~CROP(0,0,72,(72-36))~BL(1)~O(33%)~FL(vertical)')"
													name="new_reflection_animations[0].frame.halo_mod"
												[/set_variable]
											[/else]
										[/if]
									[/else]
								[/if]
							[/else]
						[/if]
						[if]
							[variable]
								greater_than_equal_to=1
								name="reflect_unit_type.movement_anim.else.length"
							[/variable]
							[then]
								[if]
									[variable]
										greater_than_equal_to=2
										name="reflect_unit_type.movement_anim.else.length"
									[/variable]
									[then]
										[foreach]
											array="reflect_unit_type.movement_anim.else"
											index_var="k"
											variable="conditional_item"
											[do]
												[if]
													[variable]
														greater_than_equal_to=2
														name="conditional_item.frame.length"
													[/variable]
													[then]
														[foreach]
															array="conditional_item.frame"
															index_var="f"
															variable="frame_item_temp"
															[do]
																[if]
																	[variable]
																		equals=""
																		name="frame_item_temp.image"
																	[/variable]
																	[then]
																		[set_variable]
																			name="frame_item_temp.halo"
																			value="$unit.image:200,$unit.image:200"
																		[/set_variable]
																		[set_variable]
																			name="frame_item_temp.image"
																			value="$unit.image:200,$unit.image:200"
																		[/set_variable]
																		[set_variable]
																			name="frame_item_temp.halo_y"
																			value=18
																		[/set_variable]
																		[set_variable]
																			formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-36))~BL(1)~O(33%)~FL(vertical)')"
																			name="frame_item_temp.halo_mod"
																		[/set_variable]
																	[/then]
																	[else]
																		[set_variable]
																			name="frame_item_temp.halo"
																			value="$frame_item_temp.image:200,$frame_item_temp.image:200"
																		[/set_variable]
																		[set_variable]
																			name="frame_item_temp.image"
																			value="$frame_item_temp.image:200,$frame_item_temp.image:200"
																		[/set_variable]
																		[set_variable]
																			name="frame_item_temp.halo_y"
																			value=18
																		[/set_variable]
																		[set_variable]
																			formula="concatenate('$frame_item_temp.halo_mod|','~CROP(0,0,72,(72-36))~BL(1)~O(33%)~FL(vertical)')"
																			name="frame_item_temp.halo_mod"
																		[/set_variable]
																	[/else]
																[/if]
															[/do]
														[/foreach]
													[/then]
													[else]
														[if]
															[variable]
																equals=""
																name="new_reflection_animations[0].else[$k].frame.image"
															[/variable]
															[then]
																[set_variable]
																	name="new_reflection_animations[0].else[$k].frame.halo"
																	value="$unit.image:200,$unit.image:200"
																[/set_variable]
																[set_variable]
																	name="new_reflection_animations[0].else[$k].frame.image"
																	value="$unit.image:200,$unit.image:200"
																[/set_variable]
																[set_variable]
																	name="new_reflection_animations[0].else[$k].frame.halo_y"
																	value=18
																[/set_variable]
																[set_variable]
																	formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-36))~BL(1)~O(33%)~FL(vertical)')"
																	name="new_reflection_animations[0].else[$k].frame.halo_mod"
																[/set_variable]
															[/then]
															[else]
																[set_variable]
																	name="new_reflection_animations[0].else[$k].frame.halo"
																	value="$new_reflection_animations[0].else[$k].frame.image:200,$new_reflection_animations[0].else[$k].frame.image:200"
																[/set_variable]
																[set_variable]
																	name="new_reflection_animations[0].else[$k].frame.image"
																	value="$new_reflection_animations[0].else[$k].frame.image:200,$new_reflection_animations[0].else[$k].frame.image:200"
																[/set_variable]
																[set_variable]
																	name="new_reflection_animations[0].else[$k].frame.halo_y"
																	value=18
																[/set_variable]
																[set_variable]
																	formula="concatenate('$new_reflection_animations[0].else[$k].frame.halo_mod|','~CROP(0,0,72,(72-36))~BL(1)~O(33%)~FL(vertical)')"
																	name="new_reflection_animations[0].else[$k].frame.halo_mod"
																[/set_variable]
															[/else]
														[/if]
													[/else]
												[/if]
											[/do]
										[/foreach]
									[/then]
									[else]
										[if]
											[variable]
												greater_than_equal_to=2
												name="reflect_unit_type.movement_anim.else.frame.length"
											[/variable]
											[then]
												[foreach]
													array="reflect_unit_type.movement_anim.else.frame"
													index_var="f"
													variable="frame_item_temp"
													[do]
														[if]
															[variable]
																equals=""
																name="frame_item_temp.image"
															[/variable]
															[then]
																[set_variable]
																	name="frame_item_temp.halo"
																	value="$unit.image:200,$unit.image:200"
																[/set_variable]
																[set_variable]
																	name="frame_item_temp.image"
																	value="$unit.image:200,$unit.image:200"
																[/set_variable]
																[set_variable]
																	name="frame_item_temp.halo_y"
																	value=18
																[/set_variable]
																[set_variable]
																	formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-36))~BL(1)~O(33%)~FL(vertical)')"
																	name="frame_item_temp.halo_mod"
																[/set_variable]
															[/then]
															[else]
																[set_variable]
																	name="frame_item_temp.halo"
																	value="$frame_item_temp.image:200,$frame_item_temp.image:200"
																[/set_variable]
																[set_variable]
																	name="frame_item_temp.image"
																	value="$frame_item_temp.image:200,$frame_item_temp.image:200"
																[/set_variable]
																[set_variable]
																	name="frame_item_temp.halo_y"
																	value=18
																[/set_variable]
																[set_variable]
																	formula="concatenate('$frame_item_temp.halo_mod|','~CROP(0,0,72,(72-36))~BL(1)~O(33%)~FL(vertical)')"
																	name="frame_item_temp.halo_mod"
																[/set_variable]
															[/else]
														[/if]
													[/do]
												[/foreach]
											[/then]
											[else]
												[if]
													[variable]
														equals=""
														name="new_reflection_animations[0].else.frame.image"
													[/variable]
													[then]
														[set_variable]
															name="new_reflection_animations[0].else.frame.halo"
															value="$unit.image:200,$unit.image:200"
														[/set_variable]
														[set_variable]
															name="new_reflection_animations[0].else.frame.image"
															value="$unit.image:200,$unit.image:200"
														[/set_variable]
														[set_variable]
															name="new_reflection_animations[0].else.frame.halo_y"
															value=18
														[/set_variable]
														[set_variable]
															formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-36))~BL(1)~O(33%)~FL(vertical)')"
															name="new_reflection_animations[0].else.frame.halo_mod"
														[/set_variable]
													[/then]
													[else]
														[set_variable]
															name="new_reflection_animations[0].else.frame.halo"
															value="$new_reflection_animations[0].else.frame.image:200,$new_reflection_animations[0].else.frame.image:200"
														[/set_variable]
														[set_variable]
															name="new_reflection_animations[0].else.frame.image"
															value="$new_reflection_animations[0].else.frame.image:200,$new_reflection_animations[0].else.frame.image:200"
														[/set_variable]
														[set_variable]
															name="new_reflection_animations[0].else.frame.halo_y"
															value=18
														[/set_variable]
														[set_variable]
															formula="concatenate('$new_reflection_animations[0].else.frame.halo_mod|','~CROP(0,0,72,(72-36))~BL(1)~O(33%)~FL(vertical)')"
															name="new_reflection_animations[0].else.frame.halo_mod"
														[/set_variable]
													[/else]
												[/if]
											[/else]
										[/if]
									[/else]
								[/if]
							[/then]
						[/if]
					[/else]
				[/if]
			[/then]
			[else]
				[if]
					[variable]
						name="unit.image"
						not_equals=""
					[/variable]
					[then]
						[set_variables]
							name="new_reflection_animations"
							[value]
								apply_to="standing"
								data_apply_to="movement_anim"
								start_time=0
								terrain_type="Wot,Wo,Wog"
								[frame]
									halo="$unit.image:200,$unit.image:200"
									halo_mod="~CROP(0,0,72,$(72-36))~BL(1)~O(33%)~FL(vertical)"
									halo_y=18
									image="$unit.image:200,$unit.image:200"
								[/frame]
							[/value]
						[/set_variables]
					[/then]
				[/if]
			[/else]
		[/if]
		[set_variables]
			mode="append"
			name="add_animations_variable"
			to_variable="new_reflection_animations"
		[/set_variables]
		[clear_variable]
			name="new_reflection_animations"
		[/clear_variable]
		[if]
			[variable]
				greater_than_equal_to=1
				name="reflect_unit_type.movement_anim.length"
			[/variable]
			[then]
				[if]
					[variable]
						greater_than_equal_to=2
						name="reflect_unit_type.movement_anim.length"
					[/variable]
					[then]
						[foreach]
							array="reflect_unit_type.movement_anim"
							[do]
								[set_variables]
									name="new_reflection_animations[$i]"
									to_variable="this_item"
								[/set_variables]
								[set_variable]
									name="new_reflection_animations[$i].start_time"
									value=0
								[/set_variable]
								[set_variable]
									name="new_reflection_animations[$i].data_apply_to"
									value="movement_anim"
								[/set_variable]
								[set_variable]
									name="new_reflection_animations[$i].base_score"
									value=2
								[/set_variable]
								[set_variables]
									mode="append"
									name="new_reflection_animations[$i].filter"
									[value]
										[filter_location]
											terrain="Wwf,Wwrg,Wwr,Wwrt"
										[/filter_location]
									[/value]
								[/set_variables]
								[if]
									[variable]
										greater_than_equal_to=1
										name="new_reflection_animations[$i].if.length"
									[/variable]
									[then]
										[if]
											[variable]
												greater_than_equal_to=2
												name="new_reflection_animations[$i].if.length"
											[/variable]
											[then]
												[foreach]
													array="new_reflection_animations[$i].if"
													index_var="k"
													variable="conditional_item"
													[do]
														[if]
															[variable]
																greater_than_equal_to=2
																name="conditional_item.frame.length"
															[/variable]
															[then]
																[foreach]
																	array="conditional_item.frame"
																	index_var="f"
																	variable="frame_item_temp"
																	[do]
																		[if]
																			[variable]
																				equals=""
																				name="frame_item_temp.image"
																			[/variable]
																			[then]
																				[set_variable]
																					name="frame_item_temp.halo"
																					value="$unit.image:200,$unit.image:200"
																				[/set_variable]
																				[set_variable]
																					name="frame_item_temp.image"
																					value="$unit.image:200,$unit.image:200"
																				[/set_variable]
																				[set_variable]
																					name="frame_item_temp.halo_y"
																					value=38
																				[/set_variable]
																				[set_variable]
																					formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-22))~BL(1)~O(33%)~FL(vertical)')"
																					name="frame_item_temp.halo_mod"
																				[/set_variable]
																			[/then]
																			[else]
																				[set_variable]
																					name="frame_item_temp.halo"
																					value="$frame_item_temp.image:200,$frame_item_temp.image:200"
																				[/set_variable]
																				[set_variable]
																					name="frame_item_temp.image"
																					value="$frame_item_temp.image:200,$frame_item_temp.image:200"
																				[/set_variable]
																				[set_variable]
																					name="frame_item_temp.halo_y"
																					value=38
																				[/set_variable]
																				[set_variable]
																					formula="concatenate('$frame_item_temp.halo_mod|','~CROP(0,0,72,(72-22))~BL(1)~O(33%)~FL(vertical)')"
																					name="frame_item_temp.halo_mod"
																				[/set_variable]
																			[/else]
																		[/if]
																	[/do]
																[/foreach]
															[/then]
															[else]
																[if]
																	[variable]
																		equals=""
																		name="conditional_item.frame.image"
																	[/variable]
																	[then]
																		[set_variable]
																			name="conditional_item.frame.halo"
																			value="$unit.image:200,$unit.image:200"
																		[/set_variable]
																		[set_variable]
																			name="conditional_item.frame.image"
																			value="$unit.image:200,$unit.image:200"
																		[/set_variable]
																		[set_variable]
																			name="conditional_item.frame.halo_y"
																			value=38
																		[/set_variable]
																		[set_variable]
																			formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-22))~BL(1)~O(33%)~FL(vertical)')"
																			name="conditional_item.frame.halo_mod"
																		[/set_variable]
																	[/then]
																	[else]
																		[set_variable]
																			name="conditional_item.frame.halo"
																			value="$conditional_item.frame.image:200,$conditional_item.frame.image:200"
																		[/set_variable]
																		[set_variable]
																			name="conditional_item.frame.image"
																			value="$conditional_item.frame.image:200,$conditional_item.frame.image:200"
																		[/set_variable]
																		[set_variable]
																			name="conditional_item.frame.halo_y"
																			value=38
																		[/set_variable]
																		[set_variable]
																			formula="concatenate('$conditional_item.frame.halo_mod|','~CROP(0,0,72,(72-22))~BL(1)~O(33%)~FL(vertical)')"
																			name="conditional_item.frame.halo_mod"
																		[/set_variable]
																	[/else]
																[/if]
															[/else]
														[/if]
													[/do]
												[/foreach]
											[/then]
											[else]
												[if]
													[variable]
														greater_than_equal_to=2
														name="new_reflection_animations[$i].if.frame.length"
													[/variable]
													[then]
														[foreach]
															array="new_reflection_animations[$i].if.frame"
															index_var="f"
															variable="frame_item_temp"
															[do]
																[if]
																	[variable]
																		equals=""
																		name="frame_item_temp.image"
																	[/variable]
																	[then]
																		[set_variable]
																			name="frame_item_temp.halo"
																			value="$unit.image:200,$unit.image:200"
																		[/set_variable]
																		[set_variable]
																			name="frame_item_temp.image"
																			value="$unit.image:200,$unit.image:200"
																		[/set_variable]
																		[set_variable]
																			name="frame_item_temp.halo_y"
																			value=38
																		[/set_variable]
																		[set_variable]
																			formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-22))~BL(1)~O(33%)~FL(vertical)')"
																			name="frame_item_temp.halo_mod"
																		[/set_variable]
																	[/then]
																	[else]
																		[set_variable]
																			name="frame_item_temp.halo"
																			value="$frame_item_temp.image:200,$frame_item_temp.image:200"
																		[/set_variable]
																		[set_variable]
																			name="frame_item_temp.image"
																			value="$frame_item_temp.image:200,$frame_item_temp.image:200"
																		[/set_variable]
																		[set_variable]
																			name="frame_item_temp.halo_y"
																			value=38
																		[/set_variable]
																		[set_variable]
																			formula="concatenate('$frame_item_temp.halo_mod|','~CROP(0,0,72,(72-22))~BL(1)~O(33%)~FL(vertical)')"
																			name="frame_item_temp.halo_mod"
																		[/set_variable]
																	[/else]
																[/if]
															[/do]
														[/foreach]
													[/then]
													[else]
														[if]
															[variable]
																equals=""
																name="new_reflection_animations[$i].if.frame.image"
															[/variable]
															[then]
																[set_variable]
																	name="new_reflection_animations[$i].if.frame.halo"
																	value="$unit.image:200,$unit.image:200"
																[/set_variable]
																[set_variable]
																	name="new_reflection_animations[$i].if.frame.image"
																	value="$unit.image:200,$unit.image:200"
																[/set_variable]
																[set_variable]
																	name="new_reflection_animations[$i].if.frame.halo_y"
																	value=38
																[/set_variable]
																[set_variable]
																	formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-22))~BL(1)~O(33%)~FL(vertical)')"
																	name="new_reflection_animations[$i].if.frame.halo_mod"
																[/set_variable]
															[/then]
															[else]
																[set_variable]
																	name="new_reflection_animations[$i].if.frame.halo"
																	value="$new_reflection_animations[$i].if.frame.image:200,$new_reflection_animations[$i].if.frame.image:200"
																[/set_variable]
																[set_variable]
																	name="new_reflection_animations[$i].if.frame.image"
																	value="$new_reflection_animations[$i].if.frame.image:200,$new_reflection_animations[$i].if.frame.image:200"
																[/set_variable]
																[set_variable]
																	name="new_reflection_animations[$i].if.frame.halo_y"
																	value=38
																[/set_variable]
																[set_variable]
																	formula="concatenate('$new_reflection_animations[$i].if.frame.halo_mod|','~CROP(0,0,72,(72-22))~BL(1)~O(33%)~FL(vertical)')"
																	name="new_reflection_animations[$i].if.frame.halo_mod"
																[/set_variable]
															[/else]
														[/if]
													[/else]
												[/if]
											[/else]
										[/if]
									[/then]
									[else]
										[if]
											[variable]
												greater_than_equal_to=2
												name="new_reflection_animations[$i].frame.length"
											[/variable]
											[then]
												[foreach]
													array="new_reflection_animations[$i].frame"
													index_var="f"
													variable="frame_item_temp"
													[do]
														[if]
															[variable]
																equals=""
																name="frame_item_temp.image"
															[/variable]
															[then]
																[set_variable]
																	name="frame_item_temp.halo"
																	value="$unit.image:200,$unit.image:200"
																[/set_variable]
																[set_variable]
																	name="frame_item_temp.image"
																	value="$unit.image:200,$unit.image:200"
																[/set_variable]
																[set_variable]
																	name="frame_item_temp.halo_y"
																	value=38
																[/set_variable]
																[set_variable]
																	formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-22))~BL(1)~O(33%)~FL(vertical)')"
																	name="frame_item_temp.halo_mod"
																[/set_variable]
															[/then]
															[else]
																[set_variable]
																	name="frame_item_temp.halo"
																	value="$frame_item_temp.image:200,$frame_item_temp.image:200"
																[/set_variable]
																[set_variable]
																	name="frame_item_temp.image"
																	value="$frame_item_temp.image:200,$frame_item_temp.image:200"
																[/set_variable]
																[set_variable]
																	name="frame_item_temp.halo_y"
																	value=38
																[/set_variable]
																[set_variable]
																	formula="concatenate('$frame_item_temp.halo_mod|','~CROP(0,0,72,(72-22))~BL(1)~O(33%)~FL(vertical)')"
																	name="frame_item_temp.halo_mod"
																[/set_variable]
															[/else]
														[/if]
													[/do]
												[/foreach]
											[/then]
											[else]
												[if]
													[variable]
														equals=""
														name="new_reflection_animations[$i].frame.image"
													[/variable]
													[then]
														[set_variable]
															name="new_reflection_animations[$i].frame.halo"
															value="$unit.image:200,$unit.image:200"
														[/set_variable]
														[set_variable]
															name="new_reflection_animations[$i].frame.image"
															value="$unit.image:200,$unit.image:200"
														[/set_variable]
														[set_variable]
															name="new_reflection_animations[$i].frame.halo_y"
															value=38
														[/set_variable]
														[set_variable]
															formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-22))~BL(1)~O(33%)~FL(vertical)')"
															name="new_reflection_animations[$i].frame.halo_mod"
														[/set_variable]
													[/then]
													[else]
														[set_variable]
															name="new_reflection_animations[$i].frame.halo"
															value="$new_reflection_animations[$i].frame.image:200,$new_reflection_animations[$i].frame.image:200"
														[/set_variable]
														[set_variable]
															name="new_reflection_animations[$i].frame.image"
															value="$new_reflection_animations[$i].frame.image:200,$new_reflection_animations[$i].frame.image:200"
														[/set_variable]
														[set_variable]
															name="new_reflection_animations[$i].frame.halo_y"
															value=38
														[/set_variable]
														[set_variable]
															formula="concatenate('$new_reflection_animations[$i].frame.halo_mod|','~CROP(0,0,72,(72-22))~BL(1)~O(33%)~FL(vertical)')"
															name="new_reflection_animations[$i].frame.halo_mod"
														[/set_variable]
													[/else]
												[/if]
											[/else]
										[/if]
									[/else]
								[/if]
								[if]
									[variable]
										greater_than_equal_to=1
										name="new_reflection_animations[$i].else.length"
									[/variable]
									[then]
										[if]
											[variable]
												greater_than_equal_to=2
												name="new_reflection_animations[$i].else.length"
											[/variable]
											[then]
												[foreach]
													array="new_reflection_animations[$i].else"
													index_var="k"
													variable="conditional_item"
													[do]
														[if]
															[variable]
																greater_than_equal_to=2
																name="conditional_item.frame.length"
															[/variable]
															[then]
																[foreach]
																	array="conditional_item.frame"
																	index_var="f"
																	variable="frame_item_temp"
																	[do]
																		[if]
																			[variable]
																				equals=""
																				name="frame_item_temp.image"
																			[/variable]
																			[then]
																				[set_variable]
																					name="frame_item_temp.halo"
																					value="$unit.image:200,$unit.image:200"
																				[/set_variable]
																				[set_variable]
																					name="frame_item_temp.image"
																					value="$unit.image:200,$unit.image:200"
																				[/set_variable]
																				[set_variable]
																					name="frame_item_temp.halo_y"
																					value=38
																				[/set_variable]
																				[set_variable]
																					formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-22))~BL(1)~O(33%)~FL(vertical)')"
																					name="frame_item_temp.halo_mod"
																				[/set_variable]
																			[/then]
																			[else]
																				[set_variable]
																					name="frame_item_temp.halo"
																					value="$frame_item_temp.image:200,$frame_item_temp.image:200"
																				[/set_variable]
																				[set_variable]
																					name="frame_item_temp.image"
																					value="$frame_item_temp.image:200,$frame_item_temp.image:200"
																				[/set_variable]
																				[set_variable]
																					name="frame_item_temp.halo_y"
																					value=38
																				[/set_variable]
																				[set_variable]
																					formula="concatenate('$frame_item_temp.halo_mod|','~CROP(0,0,72,(72-22))~BL(1)~O(33%)~FL(vertical)')"
																					name="frame_item_temp.halo_mod"
																				[/set_variable]
																			[/else]
																		[/if]
																	[/do]
																[/foreach]
															[/then]
															[else]
																[if]
																	[variable]
																		equals=""
																		name="new_reflection_animations[$i].else[$k].frame.image"
																	[/variable]
																	[then]
																		[set_variable]
																			name="new_reflection_animations[$i].else[$k].frame.halo"
																			value="$unit.image:200,$unit.image:200"
																		[/set_variable]
																		[set_variable]
																			name="new_reflection_animations[$i].else[$k].frame.image"
																			value="$unit.image:200,$unit.image:200"
																		[/set_variable]
																		[set_variable]
																			name="new_reflection_animations[$i].else[$k].frame.halo_y"
																			value=38
																		[/set_variable]
																		[set_variable]
																			formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-22))~BL(1)~O(33%)~FL(vertical)')"
																			name="new_reflection_animations[$i].else[$k].frame.halo_mod"
																		[/set_variable]
																	[/then]
																	[else]
																		[set_variable]
																			name="new_reflection_animations[$i].else[$k].frame.halo"
																			value="$new_reflection_animations[$i].else[$k].frame.image:200,$new_reflection_animations[$i].else[$k].frame.image:200"
																		[/set_variable]
																		[set_variable]
																			name="new_reflection_animations[$i].else[$k].frame.image"
																			value="$new_reflection_animations[$i].else[$k].frame.image:200,$new_reflection_animations[$i].else[$k].frame.image:200"
																		[/set_variable]
																		[set_variable]
																			name="new_reflection_animations[$i].else[$k].frame.halo_y"
																			value=38
																		[/set_variable]
																		[set_variable]
																			formula="concatenate('$new_reflection_animations[$i].else[$k].frame.halo_mod|','~CROP(0,0,72,(72-22))~BL(1)~O(33%)~FL(vertical)')"
																			name="new_reflection_animations[$i].else[$k].frame.halo_mod"
																		[/set_variable]
																	[/else]
																[/if]
															[/else]
														[/if]
													[/do]
												[/foreach]
											[/then]
											[else]
												[if]
													[variable]
														greater_than_equal_to=2
														name="new_reflection_animations[$i].else.frame.length"
													[/variable]
													[then]
														[foreach]
															array="new_reflection_animations[$i].else.frame"
															index_var="f"
															variable="frame_item_temp"
															[do]
																[if]
																	[variable]
																		equals=""
																		name="frame_item_temp.image"
																	[/variable]
																	[then]
																		[set_variable]
																			name="frame_item_temp.halo"
																			value="$unit.image:200,$unit.image:200"
																		[/set_variable]
																		[set_variable]
																			name="frame_item_temp.image"
																			value="$unit.image:200,$unit.image:200"
																		[/set_variable]
																		[set_variable]
																			name="frame_item_temp.halo_y"
																			value=38
																		[/set_variable]
																		[set_variable]
																			formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-22))~BL(1)~O(33%)~FL(vertical)')"
																			name="frame_item_temp.halo_mod"
																		[/set_variable]
																	[/then]
																	[else]
																		[set_variable]
																			name="frame_item_temp.halo"
																			value="$frame_item_temp.image:200,$frame_item_temp.image:200"
																		[/set_variable]
																		[set_variable]
																			name="frame_item_temp.image"
																			value="$frame_item_temp.image:200,$frame_item_temp.image:200"
																		[/set_variable]
																		[set_variable]
																			name="frame_item_temp.halo_y"
																			value=38
																		[/set_variable]
																		[set_variable]
																			formula="concatenate('$frame_item_temp.halo_mod|','~CROP(0,0,72,(72-22))~BL(1)~O(33%)~FL(vertical)')"
																			name="frame_item_temp.halo_mod"
																		[/set_variable]
																	[/else]
																[/if]
															[/do]
														[/foreach]
													[/then]
													[else]
														[if]
															[variable]
																equals=""
																name="new_reflection_animations[$i].else.frame.image"
															[/variable]
															[then]
																[set_variable]
																	name="new_reflection_animations[$i].else.frame.halo"
																	value="$unit.image:200,$unit.image:200"
																[/set_variable]
																[set_variable]
																	name="new_reflection_animations[$i].else.frame.image"
																	value="$unit.image:200,$unit.image:200"
																[/set_variable]
																[set_variable]
																	name="new_reflection_animations[$i].else.frame.halo_y"
																	value=38
																[/set_variable]
																[set_variable]
																	formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-22))~BL(1)~O(33%)~FL(vertical)')"
																	name="new_reflection_animations[$i].else.frame.halo_mod"
																[/set_variable]
															[/then]
															[else]
																[set_variable]
																	name="new_reflection_animations[$i].else.frame.halo"
																	value="$new_reflection_animations[$i].else.frame.image:200,$new_reflection_animations[$i].else.frame.image:200"
																[/set_variable]
																[set_variable]
																	name="new_reflection_animations[$i].else.frame.image"
																	value="$new_reflection_animations[$i].else.frame.image:200,$new_reflection_animations[$i].else.frame.image:200"
																[/set_variable]
																[set_variable]
																	name="new_reflection_animations[$i].else.frame.halo_y"
																	value=38
																[/set_variable]
																[set_variable]
																	formula="concatenate('$new_reflection_animations[$i].else.frame.halo_mod|','~CROP(0,0,72,(72-22))~BL(1)~O(33%)~FL(vertical)')"
																	name="new_reflection_animations[$i].else.frame.halo_mod"
																[/set_variable]
															[/else]
														[/if]
													[/else]
												[/if]
											[/else]
										[/if]
									[/then]
								[/if]
							[/do]
						[/foreach]
					[/then]
					[else]
						[set_variables]
							name="new_reflection_animations"
							to_variable="reflect_unit_type.movement_anim[0]"
						[/set_variables]
						[set_variable]
							name="new_reflection_animations.data_apply_to"
							value="movement_anim"
						[/set_variable]
						[set_variable]
							name="new_reflection_animations.start_time"
							value=0
						[/set_variable]
						[set_variable]
							name="new_reflection_animations.base_score"
							value=2
						[/set_variable]
						[set_variables]
							mode="append"
							name="new_reflection_animations.filter"
							[value]
								[filter_location]
									terrain="Wwf,Wwrg,Wwr,Wwrt"
								[/filter_location]
							[/value]
						[/set_variables]
						[if]
							[variable]
								greater_than_equal_to=1
								name="reflect_unit_type.movement_anim.if.length"
							[/variable]
							[then]
								[if]
									[variable]
										greater_than_equal_to=2
										name="reflect_unit_type.movement_anim.if.length"
									[/variable]
									[then]
										[foreach]
											array="reflect_unit_type.movement_anim.if"
											index_var="k"
											variable="conditional_item"
											[do]
												[if]
													[variable]
														greater_than_equal_to=2
														name="conditional_item.frame.length"
													[/variable]
													[then]
														[foreach]
															array="conditional_item.frame"
															index_var="f"
															variable="frame_item_temp"
															[do]
																[if]
																	[variable]
																		equals=""
																		name="frame_item_temp.image"
																	[/variable]
																	[then]
																		[set_variable]
																			name="frame_item_temp.halo"
																			value="$unit.image:200,$unit.image:200"
																		[/set_variable]
																		[set_variable]
																			name="frame_item_temp.image"
																			value="$unit.image:200,$unit.image:200"
																		[/set_variable]
																		[set_variable]
																			name="frame_item_temp.halo_y"
																			value=38
																		[/set_variable]
																		[set_variable]
																			formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-22))~BL(1)~O(33%)~FL(vertical)')"
																			name="frame_item_temp.halo_mod"
																		[/set_variable]
																	[/then]
																	[else]
																		[set_variable]
																			name="frame_item_temp.halo"
																			value="$frame_item_temp.image:200,$frame_item_temp.image:200"
																		[/set_variable]
																		[set_variable]
																			name="frame_item_temp.image"
																			value="$frame_item_temp.image:200,$frame_item_temp.image:200"
																		[/set_variable]
																		[set_variable]
																			name="frame_item_temp.halo_y"
																			value=38
																		[/set_variable]
																		[set_variable]
																			formula="concatenate('$frame_item_temp.halo_mod|','~CROP(0,0,72,(72-22))~BL(1)~O(33%)~FL(vertical)')"
																			name="frame_item_temp.halo_mod"
																		[/set_variable]
																	[/else]
																[/if]
															[/do]
														[/foreach]
													[/then]
													[else]
														[if]
															[variable]
																equals=""
																name="new_reflection_animations[0].if[$k].frame.image"
															[/variable]
															[then]
																[set_variable]
																	name="new_reflection_animations[0].if[$k].frame.halo"
																	value="$unit.image:200,$unit.image:200"
																[/set_variable]
																[set_variable]
																	name="new_reflection_animations[0].if[$k].frame.image"
																	value="$unit.image:200,$unit.image:200"
																[/set_variable]
																[set_variable]
																	name="new_reflection_animations[0].if[$k].frame.halo_y"
																	value=38
																[/set_variable]
																[set_variable]
																	formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-22))~BL(1)~O(33%)~FL(vertical)')"
																	name="new_reflection_animations[0].if[$k].frame.halo_mod"
																[/set_variable]
															[/then]
															[else]
																[set_variable]
																	name="new_reflection_animations[0].if[$k].frame.halo"
																	value="$new_reflection_animations[0].if[$k].frame.image:200,$new_reflection_animations[0].if[$k].frame.image:200"
																[/set_variable]
																[set_variable]
																	name="new_reflection_animations[0].if[$k].frame.image"
																	value="$new_reflection_animations[0].if[$k].frame.image:200,$new_reflection_animations[0].if[$k].frame.image:200"
																[/set_variable]
																[set_variable]
																	name="new_reflection_animations[0].if[$k].frame.halo_y"
																	value=38
																[/set_variable]
																[set_variable]
																	formula="concatenate('$new_reflection_animations[0].if[$k].frame.halo_mod|','~CROP(0,0,72,(72-22))~BL(1)~O(33%)~FL(vertical)')"
																	name="new_reflection_animations[0].if[$k].frame.halo_mod"
																[/set_variable]
															[/else]
														[/if]
													[/else]
												[/if]
											[/do]
										[/foreach]
									[/then]
									[else]
										[if]
											[variable]
												greater_than_equal_to=2
												name="reflect_unit_type.movement_anim.if.frame.length"
											[/variable]
											[then]
												[foreach]
													array="reflect_unit_type.movement_anim.if.frame"
													index_var="f"
													variable="frame_item_temp"
													[do]
														[if]
															[variable]
																equals=""
																name="frame_item_temp.image"
															[/variable]
															[then]
																[set_variable]
																	name="frame_item_temp.halo"
																	value="$unit.image:200,$unit.image:200"
																[/set_variable]
																[set_variable]
																	name="frame_item_temp.image"
																	value="$unit.image:200,$unit.image:200"
																[/set_variable]
																[set_variable]
																	name="frame_item_temp.halo_y"
																	value=38
																[/set_variable]
																[set_variable]
																	formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-22))~BL(1)~O(33%)~FL(vertical)')"
																	name="frame_item_temp.halo_mod"
																[/set_variable]
															[/then]
															[else]
																[set_variable]
																	name="frame_item_temp.halo"
																	value="$frame_item_temp.image:200,$frame_item_temp.image:200"
																[/set_variable]
																[set_variable]
																	name="frame_item_temp.image"
																	value="$frame_item_temp.image:200,$frame_item_temp.image:200"
																[/set_variable]
																[set_variable]
																	name="frame_item_temp.halo_y"
																	value=38
																[/set_variable]
																[set_variable]
																	formula="concatenate('$frame_item_temp.halo_mod|','~CROP(0,0,72,(72-22))~BL(1)~O(33%)~FL(vertical)')"
																	name="frame_item_temp.halo_mod"
																[/set_variable]
															[/else]
														[/if]
													[/do]
												[/foreach]
											[/then]
											[else]
												[if]
													[variable]
														equals=""
														name="new_reflection_animations[0].if.frame.image"
													[/variable]
													[then]
														[set_variable]
															name="new_reflection_animations[0].if.frame.halo"
															value="$unit.image:200,$unit.image:200"
														[/set_variable]
														[set_variable]
															name="new_reflection_animations[0].if.frame.image"
															value="$unit.image:200,$unit.image:200"
														[/set_variable]
														[set_variable]
															name="new_reflection_animations[0].if.frame.halo_y"
															value=38
														[/set_variable]
														[set_variable]
															formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-22))~BL(1)~O(33%)~FL(vertical)')"
															name="new_reflection_animations[0].if.frame.halo_mod"
														[/set_variable]
													[/then]
													[else]
														[set_variable]
															name="new_reflection_animations[0].if.frame.halo"
															value="$new_reflection_animations[0].if.frame.image:200,$new_reflection_animations[0].if.frame.image:200"
														[/set_variable]
														[set_variable]
															name="new_reflection_animations[0].if.frame.image"
															value="$new_reflection_animations[0].if.frame.image:200,$new_reflection_animations[0].if.frame.image:200"
														[/set_variable]
														[set_variable]
															name="new_reflection_animations[0].if.frame.halo_y"
															value=38
														[/set_variable]
														[set_variable]
															formula="concatenate('$new_reflection_animations[0].if.frame.halo_mod|','~CROP(0,0,72,(72-22))~BL(1)~O(33%)~FL(vertical)')"
															name="new_reflection_animations[0].if.frame.halo_mod"
														[/set_variable]
													[/else]
												[/if]
											[/else]
										[/if]
									[/else]
								[/if]
							[/then]
							[else]
								[if]
									[variable]
										greater_than_equal_to=2
										name="new_reflection_animations[0].frame.length"
									[/variable]
									[then]
										[foreach]
											array="new_reflection_animations[0].frame"
											index_var="f"
											variable="frame_item_temp"
											[do]
												[if]
													[variable]
														equals=""
														name="frame_item_temp.image"
													[/variable]
													[then]
														[set_variable]
															name="frame_item_temp.halo"
															value="$unit.image:200,$unit.image:200"
														[/set_variable]
														[set_variable]
															name="frame_item_temp.image"
															value="$unit.image:200,$unit.image:200"
														[/set_variable]
														[set_variable]
															name="frame_item_temp.halo_y"
															value=38
														[/set_variable]
														[set_variable]
															formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-22))~BL(1)~O(33%)~FL(vertical)')"
															name="frame_item_temp.halo_mod"
														[/set_variable]
													[/then]
													[else]
														[set_variable]
															name="frame_item_temp.halo"
															value="$frame_item_temp.image:200,$frame_item_temp.image:200"
														[/set_variable]
														[set_variable]
															name="frame_item_temp.image"
															value="$frame_item_temp.image:200,$frame_item_temp.image:200"
														[/set_variable]
														[set_variable]
															name="frame_item_temp.halo_y"
															value=38
														[/set_variable]
														[set_variable]
															formula="concatenate('$frame_item_temp.halo_mod|','~CROP(0,0,72,(72-22))~BL(1)~O(33%)~FL(vertical)')"
															name="frame_item_temp.halo_mod"
														[/set_variable]
													[/else]
												[/if]
											[/do]
										[/foreach]
									[/then]
									[else]
										[if]
											[variable]
												equals=""
												name="new_reflection_animations[0].frame.image"
											[/variable]
											[then]
												[set_variable]
													name="new_reflection_animations[0].frame.halo"
													value="$unit.image:200,$unit.image:200"
												[/set_variable]
												[set_variable]
													name="new_reflection_animations[0].frame.image"
													value="$unit.image:200,$unit.image:200"
												[/set_variable]
												[set_variable]
													name="new_reflection_animations[0].frame.halo_y"
													value=38
												[/set_variable]
												[set_variable]
													formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-22))~BL(1)~O(33%)~FL(vertical)')"
													name="new_reflection_animations[0].frame.halo_mod"
												[/set_variable]
											[/then]
											[else]
												[set_variable]
													name="new_reflection_animations[0].frame.halo"
													value="$new_reflection_animations[0].frame.image:200,$new_reflection_animations[0].frame.image:200"
												[/set_variable]
												[set_variable]
													name="new_reflection_animations[0].frame.image"
													value="$new_reflection_animations[0].frame.image:200,$new_reflection_animations[0].frame.image:200"
												[/set_variable]
												[set_variable]
													name="new_reflection_animations[0].frame.halo_y"
													value=38
												[/set_variable]
												[set_variable]
													formula="concatenate('$new_reflection_animations[0].frame.halo_mod|','~CROP(0,0,72,(72-22))~BL(1)~O(33%)~FL(vertical)')"
													name="new_reflection_animations[0].frame.halo_mod"
												[/set_variable]
											[/else]
										[/if]
									[/else]
								[/if]
							[/else]
						[/if]
						[if]
							[variable]
								greater_than_equal_to=1
								name="reflect_unit_type.movement_anim.else.length"
							[/variable]
							[then]
								[if]
									[variable]
										greater_than_equal_to=2
										name="reflect_unit_type.movement_anim.else.length"
									[/variable]
									[then]
										[foreach]
											array="reflect_unit_type.movement_anim.else"
											index_var="k"
											variable="conditional_item"
											[do]
												[if]
													[variable]
														greater_than_equal_to=2
														name="conditional_item.frame.length"
													[/variable]
													[then]
														[foreach]
															array="conditional_item.frame"
															index_var="f"
															variable="frame_item_temp"
															[do]
																[if]
																	[variable]
																		equals=""
																		name="frame_item_temp.image"
																	[/variable]
																	[then]
																		[set_variable]
																			name="frame_item_temp.halo"
																			value="$unit.image:200,$unit.image:200"
																		[/set_variable]
																		[set_variable]
																			name="frame_item_temp.image"
																			value="$unit.image:200,$unit.image:200"
																		[/set_variable]
																		[set_variable]
																			name="frame_item_temp.halo_y"
																			value=38
																		[/set_variable]
																		[set_variable]
																			formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-22))~BL(1)~O(33%)~FL(vertical)')"
																			name="frame_item_temp.halo_mod"
																		[/set_variable]
																	[/then]
																	[else]
																		[set_variable]
																			name="frame_item_temp.halo"
																			value="$frame_item_temp.image:200,$frame_item_temp.image:200"
																		[/set_variable]
																		[set_variable]
																			name="frame_item_temp.image"
																			value="$frame_item_temp.image:200,$frame_item_temp.image:200"
																		[/set_variable]
																		[set_variable]
																			name="frame_item_temp.halo_y"
																			value=38
																		[/set_variable]
																		[set_variable]
																			formula="concatenate('$frame_item_temp.halo_mod|','~CROP(0,0,72,(72-22))~BL(1)~O(33%)~FL(vertical)')"
																			name="frame_item_temp.halo_mod"
																		[/set_variable]
																	[/else]
																[/if]
															[/do]
														[/foreach]
													[/then]
													[else]
														[if]
															[variable]
																equals=""
																name="new_reflection_animations[0].else[$k].frame.image"
															[/variable]
															[then]
																[set_variable]
																	name="new_reflection_animations[0].else[$k].frame.halo"
																	value="$unit.image:200,$unit.image:200"
																[/set_variable]
																[set_variable]
																	name="new_reflection_animations[0].else[$k].frame.image"
																	value="$unit.image:200,$unit.image:200"
																[/set_variable]
																[set_variable]
																	name="new_reflection_animations[0].else[$k].frame.halo_y"
																	value=38
																[/set_variable]
																[set_variable]
																	formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-22))~BL(1)~O(33%)~FL(vertical)')"
																	name="new_reflection_animations[0].else[$k].frame.halo_mod"
																[/set_variable]
															[/then]
															[else]
																[set_variable]
																	name="new_reflection_animations[0].else[$k].frame.halo"
																	value="$new_reflection_animations[0].else[$k].frame.image:200,$new_reflection_animations[0].else[$k].frame.image:200"
																[/set_variable]
																[set_variable]
																	name="new_reflection_animations[0].else[$k].frame.image"
																	value="$new_reflection_animations[0].else[$k].frame.image:200,$new_reflection_animations[0].else[$k].frame.image:200"
																[/set_variable]
																[set_variable]
																	name="new_reflection_animations[0].else[$k].frame.halo_y"
																	value=38
																[/set_variable]
																[set_variable]
																	formula="concatenate('$new_reflection_animations[0].else[$k].frame.halo_mod|','~CROP(0,0,72,(72-22))~BL(1)~O(33%)~FL(vertical)')"
																	name="new_reflection_animations[0].else[$k].frame.halo_mod"
																[/set_variable]
															[/else]
														[/if]
													[/else]
												[/if]
											[/do]
										[/foreach]
									[/then]
									[else]
										[if]
											[variable]
												greater_than_equal_to=2
												name="reflect_unit_type.movement_anim.else.frame.length"
											[/variable]
											[then]
												[foreach]
													array="reflect_unit_type.movement_anim.else.frame"
													index_var="f"
													variable="frame_item_temp"
													[do]
														[if]
															[variable]
																equals=""
																name="frame_item_temp.image"
															[/variable]
															[then]
																[set_variable]
																	name="frame_item_temp.halo"
																	value="$unit.image:200,$unit.image:200"
																[/set_variable]
																[set_variable]
																	name="frame_item_temp.image"
																	value="$unit.image:200,$unit.image:200"
																[/set_variable]
																[set_variable]
																	name="frame_item_temp.halo_y"
																	value=38
																[/set_variable]
																[set_variable]
																	formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-22))~BL(1)~O(33%)~FL(vertical)')"
																	name="frame_item_temp.halo_mod"
																[/set_variable]
															[/then]
															[else]
																[set_variable]
																	name="frame_item_temp.halo"
																	value="$frame_item_temp.image:200,$frame_item_temp.image:200"
																[/set_variable]
																[set_variable]
																	name="frame_item_temp.image"
																	value="$frame_item_temp.image:200,$frame_item_temp.image:200"
																[/set_variable]
																[set_variable]
																	name="frame_item_temp.halo_y"
																	value=38
																[/set_variable]
																[set_variable]
																	formula="concatenate('$frame_item_temp.halo_mod|','~CROP(0,0,72,(72-22))~BL(1)~O(33%)~FL(vertical)')"
																	name="frame_item_temp.halo_mod"
																[/set_variable]
															[/else]
														[/if]
													[/do]
												[/foreach]
											[/then]
											[else]
												[if]
													[variable]
														equals=""
														name="new_reflection_animations[0].else.frame.image"
													[/variable]
													[then]
														[set_variable]
															name="new_reflection_animations[0].else.frame.halo"
															value="$unit.image:200,$unit.image:200"
														[/set_variable]
														[set_variable]
															name="new_reflection_animations[0].else.frame.image"
															value="$unit.image:200,$unit.image:200"
														[/set_variable]
														[set_variable]
															name="new_reflection_animations[0].else.frame.halo_y"
															value=38
														[/set_variable]
														[set_variable]
															formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-22))~BL(1)~O(33%)~FL(vertical)')"
															name="new_reflection_animations[0].else.frame.halo_mod"
														[/set_variable]
													[/then]
													[else]
														[set_variable]
															name="new_reflection_animations[0].else.frame.halo"
															value="$new_reflection_animations[0].else.frame.image:200,$new_reflection_animations[0].else.frame.image:200"
														[/set_variable]
														[set_variable]
															name="new_reflection_animations[0].else.frame.image"
															value="$new_reflection_animations[0].else.frame.image:200,$new_reflection_animations[0].else.frame.image:200"
														[/set_variable]
														[set_variable]
															name="new_reflection_animations[0].else.frame.halo_y"
															value=38
														[/set_variable]
														[set_variable]
															formula="concatenate('$new_reflection_animations[0].else.frame.halo_mod|','~CROP(0,0,72,(72-22))~BL(1)~O(33%)~FL(vertical)')"
															name="new_reflection_animations[0].else.frame.halo_mod"
														[/set_variable]
													[/else]
												[/if]
											[/else]
										[/if]
									[/else]
								[/if]
							[/then]
						[/if]
					[/else]
				[/if]
			[/then]
			[else]
				[if]
					[variable]
						name="unit.image"
						not_equals=""
					[/variable]
					[then]
						[set_variables]
							name="new_reflection_animations"
							[value]
								apply_to="standing"
								data_apply_to="movement_anim"
								start_time=0
								terrain_type="Wwf,Wwrg,Wwr,Wwrt"
								[frame]
									halo="$unit.image:200,$unit.image:200"
									halo_mod="~CROP(0,0,72,$(72-22))~BL(1)~O(33%)~FL(vertical)"
									halo_y=38
									image="$unit.image:200,$unit.image:200"
								[/frame]
							[/value]
						[/set_variables]
					[/then]
				[/if]
			[/else]
		[/if]
		[set_variables]
			mode="append"
			name="add_animations_variable"
			to_variable="new_reflection_animations"
		[/set_variables]
		[clear_variable]
			name="new_reflection_animations"
		[/clear_variable]
		[if]
			[variable]
				greater_than_equal_to=1
				name="reflect_unit_type.pre_movement_anim.length"
			[/variable]
			[then]
				[if]
					[variable]
						greater_than_equal_to=2
						name="reflect_unit_type.pre_movement_anim.length"
					[/variable]
					[then]
						[foreach]
							array="reflect_unit_type.pre_movement_anim"
							[do]
								[set_variables]
									name="new_reflection_animations[$i]"
									to_variable="this_item"
								[/set_variables]
								[set_variable]
									name="new_reflection_animations[$i].start_time"
									value=0
								[/set_variable]
								[set_variable]
									name="new_reflection_animations[$i].data_apply_to"
									value="pre_movement_anim"
								[/set_variable]
								[set_variable]
									name="new_reflection_animations[$i].base_score"
									value=2
								[/set_variable]
								[set_variables]
									mode="append"
									name="new_reflection_animations[$i].filter"
									[value]
										[filter_location]
											terrain="Wwt,Ww,Wwg"
										[/filter_location]
									[/value]
								[/set_variables]
								[if]
									[variable]
										greater_than_equal_to=1
										name="new_reflection_animations[$i].if.length"
									[/variable]
									[then]
										[if]
											[variable]
												greater_than_equal_to=2
												name="new_reflection_animations[$i].if.length"
											[/variable]
											[then]
												[foreach]
													array="new_reflection_animations[$i].if"
													index_var="k"
													variable="conditional_item"
													[do]
														[if]
															[variable]
																greater_than_equal_to=2
																name="conditional_item.frame.length"
															[/variable]
															[then]
																[foreach]
																	array="conditional_item.frame"
																	index_var="f"
																	variable="frame_item_temp"
																	[do]
																		[if]
																			[variable]
																				equals=""
																				name="frame_item_temp.image"
																			[/variable]
																			[then]
																				[set_variable]
																					name="frame_item_temp.halo"
																					value="$unit.image:200,$unit.image:200"
																				[/set_variable]
																				[set_variable]
																					name="frame_item_temp.image"
																					value="$unit.image:200,$unit.image:200"
																				[/set_variable]
																				[set_variable]
																					name="frame_item_temp.halo_y"
																					value=29
																				[/set_variable]
																				[set_variable]
																					formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-29))~BL(1)~O(33%)~FL(vertical)')"
																					name="frame_item_temp.halo_mod"
																				[/set_variable]
																			[/then]
																			[else]
																				[set_variable]
																					name="frame_item_temp.halo"
																					value="$frame_item_temp.image:200,$frame_item_temp.image:200"
																				[/set_variable]
																				[set_variable]
																					name="frame_item_temp.image"
																					value="$frame_item_temp.image:200,$frame_item_temp.image:200"
																				[/set_variable]
																				[set_variable]
																					name="frame_item_temp.halo_y"
																					value=29
																				[/set_variable]
																				[set_variable]
																					formula="concatenate('$frame_item_temp.halo_mod|','~CROP(0,0,72,(72-29))~BL(1)~O(33%)~FL(vertical)')"
																					name="frame_item_temp.halo_mod"
																				[/set_variable]
																			[/else]
																		[/if]
																	[/do]
																[/foreach]
															[/then]
															[else]
																[if]
																	[variable]
																		equals=""
																		name="conditional_item.frame.image"
																	[/variable]
																	[then]
																		[set_variable]
																			name="conditional_item.frame.halo"
																			value="$unit.image:200,$unit.image:200"
																		[/set_variable]
																		[set_variable]
																			name="conditional_item.frame.image"
																			value="$unit.image:200,$unit.image:200"
																		[/set_variable]
																		[set_variable]
																			name="conditional_item.frame.halo_y"
																			value=29
																		[/set_variable]
																		[set_variable]
																			formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-29))~BL(1)~O(33%)~FL(vertical)')"
																			name="conditional_item.frame.halo_mod"
																		[/set_variable]
																	[/then]
																	[else]
																		[set_variable]
																			name="conditional_item.frame.halo"
																			value="$conditional_item.frame.image:200,$conditional_item.frame.image:200"
																		[/set_variable]
																		[set_variable]
																			name="conditional_item.frame.image"
																			value="$conditional_item.frame.image:200,$conditional_item.frame.image:200"
																		[/set_variable]
																		[set_variable]
																			name="conditional_item.frame.halo_y"
																			value=29
																		[/set_variable]
																		[set_variable]
																			formula="concatenate('$conditional_item.frame.halo_mod|','~CROP(0,0,72,(72-29))~BL(1)~O(33%)~FL(vertical)')"
																			name="conditional_item.frame.halo_mod"
																		[/set_variable]
																	[/else]
																[/if]
															[/else]
														[/if]
													[/do]
												[/foreach]
											[/then]
											[else]
												[if]
													[variable]
														greater_than_equal_to=2
														name="new_reflection_animations[$i].if.frame.length"
													[/variable]
													[then]
														[foreach]
															array="new_reflection_animations[$i].if.frame"
															index_var="f"
															variable="frame_item_temp"
															[do]
																[if]
																	[variable]
																		equals=""
																		name="frame_item_temp.image"
																	[/variable]
																	[then]
																		[set_variable]
																			name="frame_item_temp.halo"
																			value="$unit.image:200,$unit.image:200"
																		[/set_variable]
																		[set_variable]
																			name="frame_item_temp.image"
																			value="$unit.image:200,$unit.image:200"
																		[/set_variable]
																		[set_variable]
																			name="frame_item_temp.halo_y"
																			value=29
																		[/set_variable]
																		[set_variable]
																			formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-29))~BL(1)~O(33%)~FL(vertical)')"
																			name="frame_item_temp.halo_mod"
																		[/set_variable]
																	[/then]
																	[else]
																		[set_variable]
																			name="frame_item_temp.halo"
																			value="$frame_item_temp.image:200,$frame_item_temp.image:200"
																		[/set_variable]
																		[set_variable]
																			name="frame_item_temp.image"
																			value="$frame_item_temp.image:200,$frame_item_temp.image:200"
																		[/set_variable]
																		[set_variable]
																			name="frame_item_temp.halo_y"
																			value=29
																		[/set_variable]
																		[set_variable]
																			formula="concatenate('$frame_item_temp.halo_mod|','~CROP(0,0,72,(72-29))~BL(1)~O(33%)~FL(vertical)')"
																			name="frame_item_temp.halo_mod"
																		[/set_variable]
																	[/else]
																[/if]
															[/do]
														[/foreach]
													[/then]
													[else]
														[if]
															[variable]
																equals=""
																name="new_reflection_animations[$i].if.frame.image"
															[/variable]
															[then]
																[set_variable]
																	name="new_reflection_animations[$i].if.frame.halo"
																	value="$unit.image:200,$unit.image:200"
																[/set_variable]
																[set_variable]
																	name="new_reflection_animations[$i].if.frame.image"
																	value="$unit.image:200,$unit.image:200"
																[/set_variable]
																[set_variable]
																	name="new_reflection_animations[$i].if.frame.halo_y"
																	value=29
																[/set_variable]
																[set_variable]
																	formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-29))~BL(1)~O(33%)~FL(vertical)')"
																	name="new_reflection_animations[$i].if.frame.halo_mod"
																[/set_variable]
															[/then]
															[else]
																[set_variable]
																	name="new_reflection_animations[$i].if.frame.halo"
																	value="$new_reflection_animations[$i].if.frame.image:200,$new_reflection_animations[$i].if.frame.image:200"
																[/set_variable]
																[set_variable]
																	name="new_reflection_animations[$i].if.frame.image"
																	value="$new_reflection_animations[$i].if.frame.image:200,$new_reflection_animations[$i].if.frame.image:200"
																[/set_variable]
																[set_variable]
																	name="new_reflection_animations[$i].if.frame.halo_y"
																	value=29
																[/set_variable]
																[set_variable]
																	formula="concatenate('$new_reflection_animations[$i].if.frame.halo_mod|','~CROP(0,0,72,(72-29))~BL(1)~O(33%)~FL(vertical)')"
																	name="new_reflection_animations[$i].if.frame.halo_mod"
																[/set_variable]
															[/else]
														[/if]
													[/else]
												[/if]
											[/else]
										[/if]
									[/then]
									[else]
										[if]
											[variable]
												greater_than_equal_to=2
												name="new_reflection_animations[$i].frame.length"
											[/variable]
											[then]
												[foreach]
													array="new_reflection_animations[$i].frame"
													index_var="f"
													variable="frame_item_temp"
													[do]
														[if]
															[variable]
																equals=""
																name="frame_item_temp.image"
															[/variable]
															[then]
																[set_variable]
																	name="frame_item_temp.halo"
																	value="$unit.image:200,$unit.image:200"
																[/set_variable]
																[set_variable]
																	name="frame_item_temp.image"
																	value="$unit.image:200,$unit.image:200"
																[/set_variable]
																[set_variable]
																	name="frame_item_temp.halo_y"
																	value=29
																[/set_variable]
																[set_variable]
																	formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-29))~BL(1)~O(33%)~FL(vertical)')"
																	name="frame_item_temp.halo_mod"
																[/set_variable]
															[/then]
															[else]
																[set_variable]
																	name="frame_item_temp.halo"
																	value="$frame_item_temp.image:200,$frame_item_temp.image:200"
																[/set_variable]
																[set_variable]
																	name="frame_item_temp.image"
																	value="$frame_item_temp.image:200,$frame_item_temp.image:200"
																[/set_variable]
																[set_variable]
																	name="frame_item_temp.halo_y"
																	value=29
																[/set_variable]
																[set_variable]
																	formula="concatenate('$frame_item_temp.halo_mod|','~CROP(0,0,72,(72-29))~BL(1)~O(33%)~FL(vertical)')"
																	name="frame_item_temp.halo_mod"
																[/set_variable]
															[/else]
														[/if]
													[/do]
												[/foreach]
											[/then]
											[else]
												[if]
													[variable]
														equals=""
														name="new_reflection_animations[$i].frame.image"
													[/variable]
													[then]
														[set_variable]
															name="new_reflection_animations[$i].frame.halo"
															value="$unit.image:200,$unit.image:200"
														[/set_variable]
														[set_variable]
															name="new_reflection_animations[$i].frame.image"
															value="$unit.image:200,$unit.image:200"
														[/set_variable]
														[set_variable]
															name="new_reflection_animations[$i].frame.halo_y"
															value=29
														[/set_variable]
														[set_variable]
															formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-29))~BL(1)~O(33%)~FL(vertical)')"
															name="new_reflection_animations[$i].frame.halo_mod"
														[/set_variable]
													[/then]
													[else]
														[set_variable]
															name="new_reflection_animations[$i].frame.halo"
															value="$new_reflection_animations[$i].frame.image:200,$new_reflection_animations[$i].frame.image:200"
														[/set_variable]
														[set_variable]
															name="new_reflection_animations[$i].frame.image"
															value="$new_reflection_animations[$i].frame.image:200,$new_reflection_animations[$i].frame.image:200"
														[/set_variable]
														[set_variable]
															name="new_reflection_animations[$i].frame.halo_y"
															value=29
														[/set_variable]
														[set_variable]
															formula="concatenate('$new_reflection_animations[$i].frame.halo_mod|','~CROP(0,0,72,(72-29))~BL(1)~O(33%)~FL(vertical)')"
															name="new_reflection_animations[$i].frame.halo_mod"
														[/set_variable]
													[/else]
												[/if]
											[/else]
										[/if]
									[/else]
								[/if]
								[if]
									[variable]
										greater_than_equal_to=1
										name="new_reflection_animations[$i].else.length"
									[/variable]
									[then]
										[if]
											[variable]
												greater_than_equal_to=2
												name="new_reflection_animations[$i].else.length"
											[/variable]
											[then]
												[foreach]
													array="new_reflection_animations[$i].else"
													index_var="k"
													variable="conditional_item"
													[do]
														[if]
															[variable]
																greater_than_equal_to=2
																name="conditional_item.frame.length"
															[/variable]
															[then]
																[foreach]
																	array="conditional_item.frame"
																	index_var="f"
																	variable="frame_item_temp"
																	[do]
																		[if]
																			[variable]
																				equals=""
																				name="frame_item_temp.image"
																			[/variable]
																			[then]
																				[set_variable]
																					name="frame_item_temp.halo"
																					value="$unit.image:200,$unit.image:200"
																				[/set_variable]
																				[set_variable]
																					name="frame_item_temp.image"
																					value="$unit.image:200,$unit.image:200"
																				[/set_variable]
																				[set_variable]
																					name="frame_item_temp.halo_y"
																					value=29
																				[/set_variable]
																				[set_variable]
																					formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-29))~BL(1)~O(33%)~FL(vertical)')"
																					name="frame_item_temp.halo_mod"
																				[/set_variable]
																			[/then]
																			[else]
																				[set_variable]
																					name="frame_item_temp.halo"
																					value="$frame_item_temp.image:200,$frame_item_temp.image:200"
																				[/set_variable]
																				[set_variable]
																					name="frame_item_temp.image"
																					value="$frame_item_temp.image:200,$frame_item_temp.image:200"
																				[/set_variable]
																				[set_variable]
																					name="frame_item_temp.halo_y"
																					value=29
																				[/set_variable]
																				[set_variable]
																					formula="concatenate('$frame_item_temp.halo_mod|','~CROP(0,0,72,(72-29))~BL(1)~O(33%)~FL(vertical)')"
																					name="frame_item_temp.halo_mod"
																				[/set_variable]
																			[/else]
																		[/if]
																	[/do]
																[/foreach]
															[/then]
															[else]
																[if]
																	[variable]
																		equals=""
																		name="new_reflection_animations[$i].else[$k].frame.image"
																	[/variable]
																	[then]
																		[set_variable]
																			name="new_reflection_animations[$i].else[$k].frame.halo"
																			value="$unit.image:200,$unit.image:200"
																		[/set_variable]
																		[set_variable]
																			name="new_reflection_animations[$i].else[$k].frame.image"
																			value="$unit.image:200,$unit.image:200"
																		[/set_variable]
																		[set_variable]
																			name="new_reflection_animations[$i].else[$k].frame.halo_y"
																			value=29
																		[/set_variable]
																		[set_variable]
																			formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-29))~BL(1)~O(33%)~FL(vertical)')"
																			name="new_reflection_animations[$i].else[$k].frame.halo_mod"
																		[/set_variable]
																	[/then]
																	[else]
																		[set_variable]
																			name="new_reflection_animations[$i].else[$k].frame.halo"
																			value="$new_reflection_animations[$i].else[$k].frame.image:200,$new_reflection_animations[$i].else[$k].frame.image:200"
																		[/set_variable]
																		[set_variable]
																			name="new_reflection_animations[$i].else[$k].frame.image"
																			value="$new_reflection_animations[$i].else[$k].frame.image:200,$new_reflection_animations[$i].else[$k].frame.image:200"
																		[/set_variable]
																		[set_variable]
																			name="new_reflection_animations[$i].else[$k].frame.halo_y"
																			value=29
																		[/set_variable]
																		[set_variable]
																			formula="concatenate('$new_reflection_animations[$i].else[$k].frame.halo_mod|','~CROP(0,0,72,(72-29))~BL(1)~O(33%)~FL(vertical)')"
																			name="new_reflection_animations[$i].else[$k].frame.halo_mod"
																		[/set_variable]
																	[/else]
																[/if]
															[/else]
														[/if]
													[/do]
												[/foreach]
											[/then]
											[else]
												[if]
													[variable]
														greater_than_equal_to=2
														name="new_reflection_animations[$i].else.frame.length"
													[/variable]
													[then]
														[foreach]
															array="new_reflection_animations[$i].else.frame"
															index_var="f"
															variable="frame_item_temp"
															[do]
																[if]
																	[variable]
																		equals=""
																		name="frame_item_temp.image"
																	[/variable]
																	[then]
																		[set_variable]
																			name="frame_item_temp.halo"
																			value="$unit.image:200,$unit.image:200"
																		[/set_variable]
																		[set_variable]
																			name="frame_item_temp.image"
																			value="$unit.image:200,$unit.image:200"
																		[/set_variable]
																		[set_variable]
																			name="frame_item_temp.halo_y"
																			value=29
																		[/set_variable]
																		[set_variable]
																			formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-29))~BL(1)~O(33%)~FL(vertical)')"
																			name="frame_item_temp.halo_mod"
																		[/set_variable]
																	[/then]
																	[else]
																		[set_variable]
																			name="frame_item_temp.halo"
																			value="$frame_item_temp.image:200,$frame_item_temp.image:200"
																		[/set_variable]
																		[set_variable]
																			name="frame_item_temp.image"
																			value="$frame_item_temp.image:200,$frame_item_temp.image:200"
																		[/set_variable]
																		[set_variable]
																			name="frame_item_temp.halo_y"
																			value=29
																		[/set_variable]
																		[set_variable]
																			formula="concatenate('$frame_item_temp.halo_mod|','~CROP(0,0,72,(72-29))~BL(1)~O(33%)~FL(vertical)')"
																			name="frame_item_temp.halo_mod"
																		[/set_variable]
																	[/else]
																[/if]
															[/do]
														[/foreach]
													[/then]
													[else]
														[if]
															[variable]
																equals=""
																name="new_reflection_animations[$i].else.frame.image"
															[/variable]
															[then]
																[set_variable]
																	name="new_reflection_animations[$i].else.frame.halo"
																	value="$unit.image:200,$unit.image:200"
																[/set_variable]
																[set_variable]
																	name="new_reflection_animations[$i].else.frame.image"
																	value="$unit.image:200,$unit.image:200"
																[/set_variable]
																[set_variable]
																	name="new_reflection_animations[$i].else.frame.halo_y"
																	value=29
																[/set_variable]
																[set_variable]
																	formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-29))~BL(1)~O(33%)~FL(vertical)')"
																	name="new_reflection_animations[$i].else.frame.halo_mod"
																[/set_variable]
															[/then]
															[else]
																[set_variable]
																	name="new_reflection_animations[$i].else.frame.halo"
																	value="$new_reflection_animations[$i].else.frame.image:200,$new_reflection_animations[$i].else.frame.image:200"
																[/set_variable]
																[set_variable]
																	name="new_reflection_animations[$i].else.frame.image"
																	value="$new_reflection_animations[$i].else.frame.image:200,$new_reflection_animations[$i].else.frame.image:200"
																[/set_variable]
																[set_variable]
																	name="new_reflection_animations[$i].else.frame.halo_y"
																	value=29
																[/set_variable]
																[set_variable]
																	formula="concatenate('$new_reflection_animations[$i].else.frame.halo_mod|','~CROP(0,0,72,(72-29))~BL(1)~O(33%)~FL(vertical)')"
																	name="new_reflection_animations[$i].else.frame.halo_mod"
																[/set_variable]
															[/else]
														[/if]
													[/else]
												[/if]
											[/else]
										[/if]
									[/then]
								[/if]
							[/do]
						[/foreach]
					[/then]
					[else]
						[set_variables]
							name="new_reflection_animations"
							to_variable="reflect_unit_type.pre_movement_anim[0]"
						[/set_variables]
						[set_variable]
							name="new_reflection_animations.data_apply_to"
							value="pre_movement_anim"
						[/set_variable]
						[set_variable]
							name="new_reflection_animations.start_time"
							value=0
						[/set_variable]
						[set_variable]
							name="new_reflection_animations.base_score"
							value=2
						[/set_variable]
						[set_variables]
							mode="append"
							name="new_reflection_animations.filter"
							[value]
								[filter_location]
									terrain="Wwt,Ww,Wwg"
								[/filter_location]
							[/value]
						[/set_variables]
						[if]
							[variable]
								greater_than_equal_to=1
								name="reflect_unit_type.pre_movement_anim.if.length"
							[/variable]
							[then]
								[if]
									[variable]
										greater_than_equal_to=2
										name="reflect_unit_type.pre_movement_anim.if.length"
									[/variable]
									[then]
										[foreach]
											array="reflect_unit_type.pre_movement_anim.if"
											index_var="k"
											variable="conditional_item"
											[do]
												[if]
													[variable]
														greater_than_equal_to=2
														name="conditional_item.frame.length"
													[/variable]
													[then]
														[foreach]
															array="conditional_item.frame"
															index_var="f"
															variable="frame_item_temp"
															[do]
																[if]
																	[variable]
																		equals=""
																		name="frame_item_temp.image"
																	[/variable]
																	[then]
																		[set_variable]
																			name="frame_item_temp.halo"
																			value="$unit.image:200,$unit.image:200"
																		[/set_variable]
																		[set_variable]
																			name="frame_item_temp.image"
																			value="$unit.image:200,$unit.image:200"
																		[/set_variable]
																		[set_variable]
																			name="frame_item_temp.halo_y"
																			value=29
																		[/set_variable]
																		[set_variable]
																			formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-29))~BL(1)~O(33%)~FL(vertical)')"
																			name="frame_item_temp.halo_mod"
																		[/set_variable]
																	[/then]
																	[else]
																		[set_variable]
																			name="frame_item_temp.halo"
																			value="$frame_item_temp.image:200,$frame_item_temp.image:200"
																		[/set_variable]
																		[set_variable]
																			name="frame_item_temp.image"
																			value="$frame_item_temp.image:200,$frame_item_temp.image:200"
																		[/set_variable]
																		[set_variable]
																			name="frame_item_temp.halo_y"
																			value=29
																		[/set_variable]
																		[set_variable]
																			formula="concatenate('$frame_item_temp.halo_mod|','~CROP(0,0,72,(72-29))~BL(1)~O(33%)~FL(vertical)')"
																			name="frame_item_temp.halo_mod"
																		[/set_variable]
																	[/else]
																[/if]
															[/do]
														[/foreach]
													[/then]
													[else]
														[if]
															[variable]
																equals=""
																name="new_reflection_animations[0].if[$k].frame.image"
															[/variable]
															[then]
																[set_variable]
																	name="new_reflection_animations[0].if[$k].frame.halo"
																	value="$unit.image:200,$unit.image:200"
																[/set_variable]
																[set_variable]
																	name="new_reflection_animations[0].if[$k].frame.image"
																	value="$unit.image:200,$unit.image:200"
																[/set_variable]
																[set_variable]
																	name="new_reflection_animations[0].if[$k].frame.halo_y"
																	value=29
																[/set_variable]
																[set_variable]
																	formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-29))~BL(1)~O(33%)~FL(vertical)')"
																	name="new_reflection_animations[0].if[$k].frame.halo_mod"
																[/set_variable]
															[/then]
															[else]
																[set_variable]
																	name="new_reflection_animations[0].if[$k].frame.halo"
																	value="$new_reflection_animations[0].if[$k].frame.image:200,$new_reflection_animations[0].if[$k].frame.image:200"
																[/set_variable]
																[set_variable]
																	name="new_reflection_animations[0].if[$k].frame.image"
																	value="$new_reflection_animations[0].if[$k].frame.image:200,$new_reflection_animations[0].if[$k].frame.image:200"
																[/set_variable]
																[set_variable]
																	name="new_reflection_animations[0].if[$k].frame.halo_y"
																	value=29
																[/set_variable]
																[set_variable]
																	formula="concatenate('$new_reflection_animations[0].if[$k].frame.halo_mod|','~CROP(0,0,72,(72-29))~BL(1)~O(33%)~FL(vertical)')"
																	name="new_reflection_animations[0].if[$k].frame.halo_mod"
																[/set_variable]
															[/else]
														[/if]
													[/else]
												[/if]
											[/do]
										[/foreach]
									[/then]
									[else]
										[if]
											[variable]
												greater_than_equal_to=2
												name="reflect_unit_type.pre_movement_anim.if.frame.length"
											[/variable]
											[then]
												[foreach]
													array="reflect_unit_type.pre_movement_anim.if.frame"
													index_var="f"
													variable="frame_item_temp"
													[do]
														[if]
															[variable]
																equals=""
																name="frame_item_temp.image"
															[/variable]
															[then]
																[set_variable]
																	name="frame_item_temp.halo"
																	value="$unit.image:200,$unit.image:200"
																[/set_variable]
																[set_variable]
																	name="frame_item_temp.image"
																	value="$unit.image:200,$unit.image:200"
																[/set_variable]
																[set_variable]
																	name="frame_item_temp.halo_y"
																	value=29
																[/set_variable]
																[set_variable]
																	formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-29))~BL(1)~O(33%)~FL(vertical)')"
																	name="frame_item_temp.halo_mod"
																[/set_variable]
															[/then]
															[else]
																[set_variable]
																	name="frame_item_temp.halo"
																	value="$frame_item_temp.image:200,$frame_item_temp.image:200"
																[/set_variable]
																[set_variable]
																	name="frame_item_temp.image"
																	value="$frame_item_temp.image:200,$frame_item_temp.image:200"
																[/set_variable]
																[set_variable]
																	name="frame_item_temp.halo_y"
																	value=29
																[/set_variable]
																[set_variable]
																	formula="concatenate('$frame_item_temp.halo_mod|','~CROP(0,0,72,(72-29))~BL(1)~O(33%)~FL(vertical)')"
																	name="frame_item_temp.halo_mod"
																[/set_variable]
															[/else]
														[/if]
													[/do]
												[/foreach]
											[/then]
											[else]
												[if]
													[variable]
														equals=""
														name="new_reflection_animations[0].if.frame.image"
													[/variable]
													[then]
														[set_variable]
															name="new_reflection_animations[0].if.frame.halo"
															value="$unit.image:200,$unit.image:200"
														[/set_variable]
														[set_variable]
															name="new_reflection_animations[0].if.frame.image"
															value="$unit.image:200,$unit.image:200"
														[/set_variable]
														[set_variable]
															name="new_reflection_animations[0].if.frame.halo_y"
															value=29
														[/set_variable]
														[set_variable]
															formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-29))~BL(1)~O(33%)~FL(vertical)')"
															name="new_reflection_animations[0].if.frame.halo_mod"
														[/set_variable]
													[/then]
													[else]
														[set_variable]
															name="new_reflection_animations[0].if.frame.halo"
															value="$new_reflection_animations[0].if.frame.image:200,$new_reflection_animations[0].if.frame.image:200"
														[/set_variable]
														[set_variable]
															name="new_reflection_animations[0].if.frame.image"
															value="$new_reflection_animations[0].if.frame.image:200,$new_reflection_animations[0].if.frame.image:200"
														[/set_variable]
														[set_variable]
															name="new_reflection_animations[0].if.frame.halo_y"
															value=29
														[/set_variable]
														[set_variable]
															formula="concatenate('$new_reflection_animations[0].if.frame.halo_mod|','~CROP(0,0,72,(72-29))~BL(1)~O(33%)~FL(vertical)')"
															name="new_reflection_animations[0].if.frame.halo_mod"
														[/set_variable]
													[/else]
												[/if]
											[/else]
										[/if]
									[/else]
								[/if]
							[/then]
							[else]
								[if]
									[variable]
										greater_than_equal_to=2
										name="new_reflection_animations[0].frame.length"
									[/variable]
									[then]
										[foreach]
											array="new_reflection_animations[0].frame"
											index_var="f"
											variable="frame_item_temp"
											[do]
												[if]
													[variable]
														equals=""
														name="frame_item_temp.image"
													[/variable]
													[then]
														[set_variable]
															name="frame_item_temp.halo"
															value="$unit.image:200,$unit.image:200"
														[/set_variable]
														[set_variable]
															name="frame_item_temp.image"
															value="$unit.image:200,$unit.image:200"
														[/set_variable]
														[set_variable]
															name="frame_item_temp.halo_y"
															value=29
														[/set_variable]
														[set_variable]
															formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-29))~BL(1)~O(33%)~FL(vertical)')"
															name="frame_item_temp.halo_mod"
														[/set_variable]
													[/then]
													[else]
														[set_variable]
															name="frame_item_temp.halo"
															value="$frame_item_temp.image:200,$frame_item_temp.image:200"
														[/set_variable]
														[set_variable]
															name="frame_item_temp.image"
															value="$frame_item_temp.image:200,$frame_item_temp.image:200"
														[/set_variable]
														[set_variable]
															name="frame_item_temp.halo_y"
															value=29
														[/set_variable]
														[set_variable]
															formula="concatenate('$frame_item_temp.halo_mod|','~CROP(0,0,72,(72-29))~BL(1)~O(33%)~FL(vertical)')"
															name="frame_item_temp.halo_mod"
														[/set_variable]
													[/else]
												[/if]
											[/do]
										[/foreach]
									[/then]
									[else]
										[if]
											[variable]
												equals=""
												name="new_reflection_animations[0].frame.image"
											[/variable]
											[then]
												[set_variable]
													name="new_reflection_animations[0].frame.halo"
													value="$unit.image:200,$unit.image:200"
												[/set_variable]
												[set_variable]
													name="new_reflection_animations[0].frame.image"
													value="$unit.image:200,$unit.image:200"
												[/set_variable]
												[set_variable]
													name="new_reflection_animations[0].frame.halo_y"
													value=29
												[/set_variable]
												[set_variable]
													formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-29))~BL(1)~O(33%)~FL(vertical)')"
													name="new_reflection_animations[0].frame.halo_mod"
												[/set_variable]
											[/then]
											[else]
												[set_variable]
													name="new_reflection_animations[0].frame.halo"
													value="$new_reflection_animations[0].frame.image:200,$new_reflection_animations[0].frame.image:200"
												[/set_variable]
												[set_variable]
													name="new_reflection_animations[0].frame.image"
													value="$new_reflection_animations[0].frame.image:200,$new_reflection_animations[0].frame.image:200"
												[/set_variable]
												[set_variable]
													name="new_reflection_animations[0].frame.halo_y"
													value=29
												[/set_variable]
												[set_variable]
													formula="concatenate('$new_reflection_animations[0].frame.halo_mod|','~CROP(0,0,72,(72-29))~BL(1)~O(33%)~FL(vertical)')"
													name="new_reflection_animations[0].frame.halo_mod"
												[/set_variable]
											[/else]
										[/if]
									[/else]
								[/if]
							[/else]
						[/if]
						[if]
							[variable]
								greater_than_equal_to=1
								name="reflect_unit_type.pre_movement_anim.else.length"
							[/variable]
							[then]
								[if]
									[variable]
										greater_than_equal_to=2
										name="reflect_unit_type.pre_movement_anim.else.length"
									[/variable]
									[then]
										[foreach]
											array="reflect_unit_type.pre_movement_anim.else"
											index_var="k"
											variable="conditional_item"
											[do]
												[if]
													[variable]
														greater_than_equal_to=2
														name="conditional_item.frame.length"
													[/variable]
													[then]
														[foreach]
															array="conditional_item.frame"
															index_var="f"
															variable="frame_item_temp"
															[do]
																[if]
																	[variable]
																		equals=""
																		name="frame_item_temp.image"
																	[/variable]
																	[then]
																		[set_variable]
																			name="frame_item_temp.halo"
																			value="$unit.image:200,$unit.image:200"
																		[/set_variable]
																		[set_variable]
																			name="frame_item_temp.image"
																			value="$unit.image:200,$unit.image:200"
																		[/set_variable]
																		[set_variable]
																			name="frame_item_temp.halo_y"
																			value=29
																		[/set_variable]
																		[set_variable]
																			formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-29))~BL(1)~O(33%)~FL(vertical)')"
																			name="frame_item_temp.halo_mod"
																		[/set_variable]
																	[/then]
																	[else]
																		[set_variable]
																			name="frame_item_temp.halo"
																			value="$frame_item_temp.image:200,$frame_item_temp.image:200"
																		[/set_variable]
																		[set_variable]
																			name="frame_item_temp.image"
																			value="$frame_item_temp.image:200,$frame_item_temp.image:200"
																		[/set_variable]
																		[set_variable]
																			name="frame_item_temp.halo_y"
																			value=29
																		[/set_variable]
																		[set_variable]
																			formula="concatenate('$frame_item_temp.halo_mod|','~CROP(0,0,72,(72-29))~BL(1)~O(33%)~FL(vertical)')"
																			name="frame_item_temp.halo_mod"
																		[/set_variable]
																	[/else]
																[/if]
															[/do]
														[/foreach]
													[/then]
													[else]
														[if]
															[variable]
																equals=""
																name="new_reflection_animations[0].else[$k].frame.image"
															[/variable]
															[then]
																[set_variable]
																	name="new_reflection_animations[0].else[$k].frame.halo"
																	value="$unit.image:200,$unit.image:200"
																[/set_variable]
																[set_variable]
																	name="new_reflection_animations[0].else[$k].frame.image"
																	value="$unit.image:200,$unit.image:200"
																[/set_variable]
																[set_variable]
																	name="new_reflection_animations[0].else[$k].frame.halo_y"
																	value=29
																[/set_variable]
																[set_variable]
																	formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-29))~BL(1)~O(33%)~FL(vertical)')"
																	name="new_reflection_animations[0].else[$k].frame.halo_mod"
																[/set_variable]
															[/then]
															[else]
																[set_variable]
																	name="new_reflection_animations[0].else[$k].frame.halo"
																	value="$new_reflection_animations[0].else[$k].frame.image:200,$new_reflection_animations[0].else[$k].frame.image:200"
																[/set_variable]
																[set_variable]
																	name="new_reflection_animations[0].else[$k].frame.image"
																	value="$new_reflection_animations[0].else[$k].frame.image:200,$new_reflection_animations[0].else[$k].frame.image:200"
																[/set_variable]
																[set_variable]
																	name="new_reflection_animations[0].else[$k].frame.halo_y"
																	value=29
																[/set_variable]
																[set_variable]
																	formula="concatenate('$new_reflection_animations[0].else[$k].frame.halo_mod|','~CROP(0,0,72,(72-29))~BL(1)~O(33%)~FL(vertical)')"
																	name="new_reflection_animations[0].else[$k].frame.halo_mod"
																[/set_variable]
															[/else]
														[/if]
													[/else]
												[/if]
											[/do]
										[/foreach]
									[/then]
									[else]
										[if]
											[variable]
												greater_than_equal_to=2
												name="reflect_unit_type.pre_movement_anim.else.frame.length"
											[/variable]
											[then]
												[foreach]
													array="reflect_unit_type.pre_movement_anim.else.frame"
													index_var="f"
													variable="frame_item_temp"
													[do]
														[if]
															[variable]
																equals=""
																name="frame_item_temp.image"
															[/variable]
															[then]
																[set_variable]
																	name="frame_item_temp.halo"
																	value="$unit.image:200,$unit.image:200"
																[/set_variable]
																[set_variable]
																	name="frame_item_temp.image"
																	value="$unit.image:200,$unit.image:200"
																[/set_variable]
																[set_variable]
																	name="frame_item_temp.halo_y"
																	value=29
																[/set_variable]
																[set_variable]
																	formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-29))~BL(1)~O(33%)~FL(vertical)')"
																	name="frame_item_temp.halo_mod"
																[/set_variable]
															[/then]
															[else]
																[set_variable]
																	name="frame_item_temp.halo"
																	value="$frame_item_temp.image:200,$frame_item_temp.image:200"
																[/set_variable]
																[set_variable]
																	name="frame_item_temp.image"
																	value="$frame_item_temp.image:200,$frame_item_temp.image:200"
																[/set_variable]
																[set_variable]
																	name="frame_item_temp.halo_y"
																	value=29
																[/set_variable]
																[set_variable]
																	formula="concatenate('$frame_item_temp.halo_mod|','~CROP(0,0,72,(72-29))~BL(1)~O(33%)~FL(vertical)')"
																	name="frame_item_temp.halo_mod"
																[/set_variable]
															[/else]
														[/if]
													[/do]
												[/foreach]
											[/then]
											[else]
												[if]
													[variable]
														equals=""
														name="new_reflection_animations[0].else.frame.image"
													[/variable]
													[then]
														[set_variable]
															name="new_reflection_animations[0].else.frame.halo"
															value="$unit.image:200,$unit.image:200"
														[/set_variable]
														[set_variable]
															name="new_reflection_animations[0].else.frame.image"
															value="$unit.image:200,$unit.image:200"
														[/set_variable]
														[set_variable]
															name="new_reflection_animations[0].else.frame.halo_y"
															value=29
														[/set_variable]
														[set_variable]
															formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-29))~BL(1)~O(33%)~FL(vertical)')"
															name="new_reflection_animations[0].else.frame.halo_mod"
														[/set_variable]
													[/then]
													[else]
														[set_variable]
															name="new_reflection_animations[0].else.frame.halo"
															value="$new_reflection_animations[0].else.frame.image:200,$new_reflection_animations[0].else.frame.image:200"
														[/set_variable]
														[set_variable]
															name="new_reflection_animations[0].else.frame.image"
															value="$new_reflection_animations[0].else.frame.image:200,$new_reflection_animations[0].else.frame.image:200"
														[/set_variable]
														[set_variable]
															name="new_reflection_animations[0].else.frame.halo_y"
															value=29
														[/set_variable]
														[set_variable]
															formula="concatenate('$new_reflection_animations[0].else.frame.halo_mod|','~CROP(0,0,72,(72-29))~BL(1)~O(33%)~FL(vertical)')"
															name="new_reflection_animations[0].else.frame.halo_mod"
														[/set_variable]
													[/else]
												[/if]
											[/else]
										[/if]
									[/else]
								[/if]
							[/then]
						[/if]
					[/else]
				[/if]
			[/then]
			[else]
				[if]
					[variable]
						name="unit.image"
						not_equals=""
					[/variable]
					[then]
						[set_variables]
							name="new_reflection_animations"
							[value]
								apply_to="standing"
								data_apply_to="pre_movement_anim"
								start_time=0
								terrain_type="Wwt,Ww,Wwg"
								[frame]
									halo="$unit.image:200,$unit.image:200"
									halo_mod="~CROP(0,0,72,$(72-29))~BL(1)~O(33%)~FL(vertical)"
									halo_y=29
									image="$unit.image:200,$unit.image:200"
								[/frame]
							[/value]
						[/set_variables]
					[/then]
				[/if]
			[/else]
		[/if]
		[set_variables]
			mode="append"
			name="add_animations_variable"
			to_variable="new_reflection_animations"
		[/set_variables]
		[clear_variable]
			name="new_reflection_animations"
		[/clear_variable]
		[if]
			[variable]
				greater_than_equal_to=1
				name="reflect_unit_type.pre_movement_anim.length"
			[/variable]
			[then]
				[if]
					[variable]
						greater_than_equal_to=2
						name="reflect_unit_type.pre_movement_anim.length"
					[/variable]
					[then]
						[foreach]
							array="reflect_unit_type.pre_movement_anim"
							[do]
								[set_variables]
									name="new_reflection_animations[$i]"
									to_variable="this_item"
								[/set_variables]
								[set_variable]
									name="new_reflection_animations[$i].start_time"
									value=0
								[/set_variable]
								[set_variable]
									name="new_reflection_animations[$i].data_apply_to"
									value="pre_movement_anim"
								[/set_variable]
								[set_variable]
									name="new_reflection_animations[$i].base_score"
									value=2
								[/set_variable]
								[set_variables]
									mode="append"
									name="new_reflection_animations[$i].filter"
									[value]
										[filter_location]
											terrain="Wot,Wo,Wog"
										[/filter_location]
									[/value]
								[/set_variables]
								[if]
									[variable]
										greater_than_equal_to=1
										name="new_reflection_animations[$i].if.length"
									[/variable]
									[then]
										[if]
											[variable]
												greater_than_equal_to=2
												name="new_reflection_animations[$i].if.length"
											[/variable]
											[then]
												[foreach]
													array="new_reflection_animations[$i].if"
													index_var="k"
													variable="conditional_item"
													[do]
														[if]
															[variable]
																greater_than_equal_to=2
																name="conditional_item.frame.length"
															[/variable]
															[then]
																[foreach]
																	array="conditional_item.frame"
																	index_var="f"
																	variable="frame_item_temp"
																	[do]
																		[if]
																			[variable]
																				equals=""
																				name="frame_item_temp.image"
																			[/variable]
																			[then]
																				[set_variable]
																					name="frame_item_temp.halo"
																					value="$unit.image:200,$unit.image:200"
																				[/set_variable]
																				[set_variable]
																					name="frame_item_temp.image"
																					value="$unit.image:200,$unit.image:200"
																				[/set_variable]
																				[set_variable]
																					name="frame_item_temp.halo_y"
																					value=18
																				[/set_variable]
																				[set_variable]
																					formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-36))~BL(1)~O(33%)~FL(vertical)')"
																					name="frame_item_temp.halo_mod"
																				[/set_variable]
																			[/then]
																			[else]
																				[set_variable]
																					name="frame_item_temp.halo"
																					value="$frame_item_temp.image:200,$frame_item_temp.image:200"
																				[/set_variable]
																				[set_variable]
																					name="frame_item_temp.image"
																					value="$frame_item_temp.image:200,$frame_item_temp.image:200"
																				[/set_variable]
																				[set_variable]
																					name="frame_item_temp.halo_y"
																					value=18
																				[/set_variable]
																				[set_variable]
																					formula="concatenate('$frame_item_temp.halo_mod|','~CROP(0,0,72,(72-36))~BL(1)~O(33%)~FL(vertical)')"
																					name="frame_item_temp.halo_mod"
																				[/set_variable]
																			[/else]
																		[/if]
																	[/do]
																[/foreach]
															[/then]
															[else]
																[if]
																	[variable]
																		equals=""
																		name="conditional_item.frame.image"
																	[/variable]
																	[then]
																		[set_variable]
																			name="conditional_item.frame.halo"
																			value="$unit.image:200,$unit.image:200"
																		[/set_variable]
																		[set_variable]
																			name="conditional_item.frame.image"
																			value="$unit.image:200,$unit.image:200"
																		[/set_variable]
																		[set_variable]
																			name="conditional_item.frame.halo_y"
																			value=18
																		[/set_variable]
																		[set_variable]
																			formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-36))~BL(1)~O(33%)~FL(vertical)')"
																			name="conditional_item.frame.halo_mod"
																		[/set_variable]
																	[/then]
																	[else]
																		[set_variable]
																			name="conditional_item.frame.halo"
																			value="$conditional_item.frame.image:200,$conditional_item.frame.image:200"
																		[/set_variable]
																		[set_variable]
																			name="conditional_item.frame.image"
																			value="$conditional_item.frame.image:200,$conditional_item.frame.image:200"
																		[/set_variable]
																		[set_variable]
																			name="conditional_item.frame.halo_y"
																			value=18
																		[/set_variable]
																		[set_variable]
																			formula="concatenate('$conditional_item.frame.halo_mod|','~CROP(0,0,72,(72-36))~BL(1)~O(33%)~FL(vertical)')"
																			name="conditional_item.frame.halo_mod"
																		[/set_variable]
																	[/else]
																[/if]
															[/else]
														[/if]
													[/do]
												[/foreach]
											[/then]
											[else]
												[if]
													[variable]
														greater_than_equal_to=2
														name="new_reflection_animations[$i].if.frame.length"
													[/variable]
													[then]
														[foreach]
															array="new_reflection_animations[$i].if.frame"
															index_var="f"
															variable="frame_item_temp"
															[do]
																[if]
																	[variable]
																		equals=""
																		name="frame_item_temp.image"
																	[/variable]
																	[then]
																		[set_variable]
																			name="frame_item_temp.halo"
																			value="$unit.image:200,$unit.image:200"
																		[/set_variable]
																		[set_variable]
																			name="frame_item_temp.image"
																			value="$unit.image:200,$unit.image:200"
																		[/set_variable]
																		[set_variable]
																			name="frame_item_temp.halo_y"
																			value=18
																		[/set_variable]
																		[set_variable]
																			formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-36))~BL(1)~O(33%)~FL(vertical)')"
																			name="frame_item_temp.halo_mod"
																		[/set_variable]
																	[/then]
																	[else]
																		[set_variable]
																			name="frame_item_temp.halo"
																			value="$frame_item_temp.image:200,$frame_item_temp.image:200"
																		[/set_variable]
																		[set_variable]
																			name="frame_item_temp.image"
																			value="$frame_item_temp.image:200,$frame_item_temp.image:200"
																		[/set_variable]
																		[set_variable]
																			name="frame_item_temp.halo_y"
																			value=18
																		[/set_variable]
																		[set_variable]
																			formula="concatenate('$frame_item_temp.halo_mod|','~CROP(0,0,72,(72-36))~BL(1)~O(33%)~FL(vertical)')"
																			name="frame_item_temp.halo_mod"
																		[/set_variable]
																	[/else]
																[/if]
															[/do]
														[/foreach]
													[/then]
													[else]
														[if]
															[variable]
																equals=""
																name="new_reflection_animations[$i].if.frame.image"
															[/variable]
															[then]
																[set_variable]
																	name="new_reflection_animations[$i].if.frame.halo"
																	value="$unit.image:200,$unit.image:200"
																[/set_variable]
																[set_variable]
																	name="new_reflection_animations[$i].if.frame.image"
																	value="$unit.image:200,$unit.image:200"
																[/set_variable]
																[set_variable]
																	name="new_reflection_animations[$i].if.frame.halo_y"
																	value=18
																[/set_variable]
																[set_variable]
																	formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-36))~BL(1)~O(33%)~FL(vertical)')"
																	name="new_reflection_animations[$i].if.frame.halo_mod"
																[/set_variable]
															[/then]
															[else]
																[set_variable]
																	name="new_reflection_animations[$i].if.frame.halo"
																	value="$new_reflection_animations[$i].if.frame.image:200,$new_reflection_animations[$i].if.frame.image:200"
																[/set_variable]
																[set_variable]
																	name="new_reflection_animations[$i].if.frame.image"
																	value="$new_reflection_animations[$i].if.frame.image:200,$new_reflection_animations[$i].if.frame.image:200"
																[/set_variable]
																[set_variable]
																	name="new_reflection_animations[$i].if.frame.halo_y"
																	value=18
																[/set_variable]
																[set_variable]
																	formula="concatenate('$new_reflection_animations[$i].if.frame.halo_mod|','~CROP(0,0,72,(72-36))~BL(1)~O(33%)~FL(vertical)')"
																	name="new_reflection_animations[$i].if.frame.halo_mod"
																[/set_variable]
															[/else]
														[/if]
													[/else]
												[/if]
											[/else]
										[/if]
									[/then]
									[else]
										[if]
											[variable]
												greater_than_equal_to=2
												name="new_reflection_animations[$i].frame.length"
											[/variable]
											[then]
												[foreach]
													array="new_reflection_animations[$i].frame"
													index_var="f"
													variable="frame_item_temp"
													[do]
														[if]
															[variable]
																equals=""
																name="frame_item_temp.image"
															[/variable]
															[then]
																[set_variable]
																	name="frame_item_temp.halo"
																	value="$unit.image:200,$unit.image:200"
																[/set_variable]
																[set_variable]
																	name="frame_item_temp.image"
																	value="$unit.image:200,$unit.image:200"
																[/set_variable]
																[set_variable]
																	name="frame_item_temp.halo_y"
																	value=18
																[/set_variable]
																[set_variable]
																	formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-36))~BL(1)~O(33%)~FL(vertical)')"
																	name="frame_item_temp.halo_mod"
																[/set_variable]
															[/then]
															[else]
																[set_variable]
																	name="frame_item_temp.halo"
																	value="$frame_item_temp.image:200,$frame_item_temp.image:200"
																[/set_variable]
																[set_variable]
																	name="frame_item_temp.image"
																	value="$frame_item_temp.image:200,$frame_item_temp.image:200"
																[/set_variable]
																[set_variable]
																	name="frame_item_temp.halo_y"
																	value=18
																[/set_variable]
																[set_variable]
																	formula="concatenate('$frame_item_temp.halo_mod|','~CROP(0,0,72,(72-36))~BL(1)~O(33%)~FL(vertical)')"
																	name="frame_item_temp.halo_mod"
																[/set_variable]
															[/else]
														[/if]
													[/do]
												[/foreach]
											[/then]
											[else]
												[if]
													[variable]
														equals=""
														name="new_reflection_animations[$i].frame.image"
													[/variable]
													[then]
														[set_variable]
															name="new_reflection_animations[$i].frame.halo"
															value="$unit.image:200,$unit.image:200"
														[/set_variable]
														[set_variable]
															name="new_reflection_animations[$i].frame.image"
															value="$unit.image:200,$unit.image:200"
														[/set_variable]
														[set_variable]
															name="new_reflection_animations[$i].frame.halo_y"
															value=18
														[/set_variable]
														[set_variable]
															formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-36))~BL(1)~O(33%)~FL(vertical)')"
															name="new_reflection_animations[$i].frame.halo_mod"
														[/set_variable]
													[/then]
													[else]
														[set_variable]
															name="new_reflection_animations[$i].frame.halo"
															value="$new_reflection_animations[$i].frame.image:200,$new_reflection_animations[$i].frame.image:200"
														[/set_variable]
														[set_variable]
															name="new_reflection_animations[$i].frame.image"
															value="$new_reflection_animations[$i].frame.image:200,$new_reflection_animations[$i].frame.image:200"
														[/set_variable]
														[set_variable]
															name="new_reflection_animations[$i].frame.halo_y"
															value=18
														[/set_variable]
														[set_variable]
															formula="concatenate('$new_reflection_animations[$i].frame.halo_mod|','~CROP(0,0,72,(72-36))~BL(1)~O(33%)~FL(vertical)')"
															name="new_reflection_animations[$i].frame.halo_mod"
														[/set_variable]
													[/else]
												[/if]
											[/else]
										[/if]
									[/else]
								[/if]
								[if]
									[variable]
										greater_than_equal_to=1
										name="new_reflection_animations[$i].else.length"
									[/variable]
									[then]
										[if]
											[variable]
												greater_than_equal_to=2
												name="new_reflection_animations[$i].else.length"
											[/variable]
											[then]
												[foreach]
													array="new_reflection_animations[$i].else"
													index_var="k"
													variable="conditional_item"
													[do]
														[if]
															[variable]
																greater_than_equal_to=2
																name="conditional_item.frame.length"
															[/variable]
															[then]
																[foreach]
																	array="conditional_item.frame"
																	index_var="f"
																	variable="frame_item_temp"
																	[do]
																		[if]
																			[variable]
																				equals=""
																				name="frame_item_temp.image"
																			[/variable]
																			[then]
																				[set_variable]
																					name="frame_item_temp.halo"
																					value="$unit.image:200,$unit.image:200"
																				[/set_variable]
																				[set_variable]
																					name="frame_item_temp.image"
																					value="$unit.image:200,$unit.image:200"
																				[/set_variable]
																				[set_variable]
																					name="frame_item_temp.halo_y"
																					value=18
																				[/set_variable]
																				[set_variable]
																					formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-36))~BL(1)~O(33%)~FL(vertical)')"
																					name="frame_item_temp.halo_mod"
																				[/set_variable]
																			[/then]
																			[else]
																				[set_variable]
																					name="frame_item_temp.halo"
																					value="$frame_item_temp.image:200,$frame_item_temp.image:200"
																				[/set_variable]
																				[set_variable]
																					name="frame_item_temp.image"
																					value="$frame_item_temp.image:200,$frame_item_temp.image:200"
																				[/set_variable]
																				[set_variable]
																					name="frame_item_temp.halo_y"
																					value=18
																				[/set_variable]
																				[set_variable]
																					formula="concatenate('$frame_item_temp.halo_mod|','~CROP(0,0,72,(72-36))~BL(1)~O(33%)~FL(vertical)')"
																					name="frame_item_temp.halo_mod"
																				[/set_variable]
																			[/else]
																		[/if]
																	[/do]
																[/foreach]
															[/then]
															[else]
																[if]
																	[variable]
																		equals=""
																		name="new_reflection_animations[$i].else[$k].frame.image"
																	[/variable]
																	[then]
																		[set_variable]
																			name="new_reflection_animations[$i].else[$k].frame.halo"
																			value="$unit.image:200,$unit.image:200"
																		[/set_variable]
																		[set_variable]
																			name="new_reflection_animations[$i].else[$k].frame.image"
																			value="$unit.image:200,$unit.image:200"
																		[/set_variable]
																		[set_variable]
																			name="new_reflection_animations[$i].else[$k].frame.halo_y"
																			value=18
																		[/set_variable]
																		[set_variable]
																			formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-36))~BL(1)~O(33%)~FL(vertical)')"
																			name="new_reflection_animations[$i].else[$k].frame.halo_mod"
																		[/set_variable]
																	[/then]
																	[else]
																		[set_variable]
																			name="new_reflection_animations[$i].else[$k].frame.halo"
																			value="$new_reflection_animations[$i].else[$k].frame.image:200,$new_reflection_animations[$i].else[$k].frame.image:200"
																		[/set_variable]
																		[set_variable]
																			name="new_reflection_animations[$i].else[$k].frame.image"
																			value="$new_reflection_animations[$i].else[$k].frame.image:200,$new_reflection_animations[$i].else[$k].frame.image:200"
																		[/set_variable]
																		[set_variable]
																			name="new_reflection_animations[$i].else[$k].frame.halo_y"
																			value=18
																		[/set_variable]
																		[set_variable]
																			formula="concatenate('$new_reflection_animations[$i].else[$k].frame.halo_mod|','~CROP(0,0,72,(72-36))~BL(1)~O(33%)~FL(vertical)')"
																			name="new_reflection_animations[$i].else[$k].frame.halo_mod"
																		[/set_variable]
																	[/else]
																[/if]
															[/else]
														[/if]
													[/do]
												[/foreach]
											[/then]
											[else]
												[if]
													[variable]
														greater_than_equal_to=2
														name="new_reflection_animations[$i].else.frame.length"
													[/variable]
													[then]
														[foreach]
															array="new_reflection_animations[$i].else.frame"
															index_var="f"
															variable="frame_item_temp"
															[do]
																[if]
																	[variable]
																		equals=""
																		name="frame_item_temp.image"
																	[/variable]
																	[then]
																		[set_variable]
																			name="frame_item_temp.halo"
																			value="$unit.image:200,$unit.image:200"
																		[/set_variable]
																		[set_variable]
																			name="frame_item_temp.image"
																			value="$unit.image:200,$unit.image:200"
																		[/set_variable]
																		[set_variable]
																			name="frame_item_temp.halo_y"
																			value=18
																		[/set_variable]
																		[set_variable]
																			formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-36))~BL(1)~O(33%)~FL(vertical)')"
																			name="frame_item_temp.halo_mod"
																		[/set_variable]
																	[/then]
																	[else]
																		[set_variable]
																			name="frame_item_temp.halo"
																			value="$frame_item_temp.image:200,$frame_item_temp.image:200"
																		[/set_variable]
																		[set_variable]
																			name="frame_item_temp.image"
																			value="$frame_item_temp.image:200,$frame_item_temp.image:200"
																		[/set_variable]
																		[set_variable]
																			name="frame_item_temp.halo_y"
																			value=18
																		[/set_variable]
																		[set_variable]
																			formula="concatenate('$frame_item_temp.halo_mod|','~CROP(0,0,72,(72-36))~BL(1)~O(33%)~FL(vertical)')"
																			name="frame_item_temp.halo_mod"
																		[/set_variable]
																	[/else]
																[/if]
															[/do]
														[/foreach]
													[/then]
													[else]
														[if]
															[variable]
																equals=""
																name="new_reflection_animations[$i].else.frame.image"
															[/variable]
															[then]
																[set_variable]
																	name="new_reflection_animations[$i].else.frame.halo"
																	value="$unit.image:200,$unit.image:200"
																[/set_variable]
																[set_variable]
																	name="new_reflection_animations[$i].else.frame.image"
																	value="$unit.image:200,$unit.image:200"
																[/set_variable]
																[set_variable]
																	name="new_reflection_animations[$i].else.frame.halo_y"
																	value=18
																[/set_variable]
																[set_variable]
																	formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-36))~BL(1)~O(33%)~FL(vertical)')"
																	name="new_reflection_animations[$i].else.frame.halo_mod"
																[/set_variable]
															[/then]
															[else]
																[set_variable]
																	name="new_reflection_animations[$i].else.frame.halo"
																	value="$new_reflection_animations[$i].else.frame.image:200,$new_reflection_animations[$i].else.frame.image:200"
																[/set_variable]
																[set_variable]
																	name="new_reflection_animations[$i].else.frame.image"
																	value="$new_reflection_animations[$i].else.frame.image:200,$new_reflection_animations[$i].else.frame.image:200"
																[/set_variable]
																[set_variable]
																	name="new_reflection_animations[$i].else.frame.halo_y"
																	value=18
																[/set_variable]
																[set_variable]
																	formula="concatenate('$new_reflection_animations[$i].else.frame.halo_mod|','~CROP(0,0,72,(72-36))~BL(1)~O(33%)~FL(vertical)')"
																	name="new_reflection_animations[$i].else.frame.halo_mod"
																[/set_variable]
															[/else]
														[/if]
													[/else]
												[/if]
											[/else]
										[/if]
									[/then]
								[/if]
							[/do]
						[/foreach]
					[/then]
					[else]
						[set_variables]
							name="new_reflection_animations"
							to_variable="reflect_unit_type.pre_movement_anim[0]"
						[/set_variables]
						[set_variable]
							name="new_reflection_animations.data_apply_to"
							value="pre_movement_anim"
						[/set_variable]
						[set_variable]
							name="new_reflection_animations.start_time"
							value=0
						[/set_variable]
						[set_variable]
							name="new_reflection_animations.base_score"
							value=2
						[/set_variable]
						[set_variables]
							mode="append"
							name="new_reflection_animations.filter"
							[value]
								[filter_location]
									terrain="Wot,Wo,Wog"
								[/filter_location]
							[/value]
						[/set_variables]
						[if]
							[variable]
								greater_than_equal_to=1
								name="reflect_unit_type.pre_movement_anim.if.length"
							[/variable]
							[then]
								[if]
									[variable]
										greater_than_equal_to=2
										name="reflect_unit_type.pre_movement_anim.if.length"
									[/variable]
									[then]
										[foreach]
											array="reflect_unit_type.pre_movement_anim.if"
											index_var="k"
											variable="conditional_item"
											[do]
												[if]
													[variable]
														greater_than_equal_to=2
														name="conditional_item.frame.length"
													[/variable]
													[then]
														[foreach]
															array="conditional_item.frame"
															index_var="f"
															variable="frame_item_temp"
															[do]
																[if]
																	[variable]
																		equals=""
																		name="frame_item_temp.image"
																	[/variable]
																	[then]
																		[set_variable]
																			name="frame_item_temp.halo"
																			value="$unit.image:200,$unit.image:200"
																		[/set_variable]
																		[set_variable]
																			name="frame_item_temp.image"
																			value="$unit.image:200,$unit.image:200"
																		[/set_variable]
																		[set_variable]
																			name="frame_item_temp.halo_y"
																			value=18
																		[/set_variable]
																		[set_variable]
																			formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-36))~BL(1)~O(33%)~FL(vertical)')"
																			name="frame_item_temp.halo_mod"
																		[/set_variable]
																	[/then]
																	[else]
																		[set_variable]
																			name="frame_item_temp.halo"
																			value="$frame_item_temp.image:200,$frame_item_temp.image:200"
																		[/set_variable]
																		[set_variable]
																			name="frame_item_temp.image"
																			value="$frame_item_temp.image:200,$frame_item_temp.image:200"
																		[/set_variable]
																		[set_variable]
																			name="frame_item_temp.halo_y"
																			value=18
																		[/set_variable]
																		[set_variable]
																			formula="concatenate('$frame_item_temp.halo_mod|','~CROP(0,0,72,(72-36))~BL(1)~O(33%)~FL(vertical)')"
																			name="frame_item_temp.halo_mod"
																		[/set_variable]
																	[/else]
																[/if]
															[/do]
														[/foreach]
													[/then]
													[else]
														[if]
															[variable]
																equals=""
																name="new_reflection_animations[0].if[$k].frame.image"
															[/variable]
															[then]
																[set_variable]
																	name="new_reflection_animations[0].if[$k].frame.halo"
																	value="$unit.image:200,$unit.image:200"
																[/set_variable]
																[set_variable]
																	name="new_reflection_animations[0].if[$k].frame.image"
																	value="$unit.image:200,$unit.image:200"
																[/set_variable]
																[set_variable]
																	name="new_reflection_animations[0].if[$k].frame.halo_y"
																	value=18
																[/set_variable]
																[set_variable]
																	formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-36))~BL(1)~O(33%)~FL(vertical)')"
																	name="new_reflection_animations[0].if[$k].frame.halo_mod"
																[/set_variable]
															[/then]
															[else]
																[set_variable]
																	name="new_reflection_animations[0].if[$k].frame.halo"
																	value="$new_reflection_animations[0].if[$k].frame.image:200,$new_reflection_animations[0].if[$k].frame.image:200"
																[/set_variable]
																[set_variable]
																	name="new_reflection_animations[0].if[$k].frame.image"
																	value="$new_reflection_animations[0].if[$k].frame.image:200,$new_reflection_animations[0].if[$k].frame.image:200"
																[/set_variable]
																[set_variable]
																	name="new_reflection_animations[0].if[$k].frame.halo_y"
																	value=18
																[/set_variable]
																[set_variable]
																	formula="concatenate('$new_reflection_animations[0].if[$k].frame.halo_mod|','~CROP(0,0,72,(72-36))~BL(1)~O(33%)~FL(vertical)')"
																	name="new_reflection_animations[0].if[$k].frame.halo_mod"
																[/set_variable]
															[/else]
														[/if]
													[/else]
												[/if]
											[/do]
										[/foreach]
									[/then]
									[else]
										[if]
											[variable]
												greater_than_equal_to=2
												name="reflect_unit_type.pre_movement_anim.if.frame.length"
											[/variable]
											[then]
												[foreach]
													array="reflect_unit_type.pre_movement_anim.if.frame"
													index_var="f"
													variable="frame_item_temp"
													[do]
														[if]
															[variable]
																equals=""
																name="frame_item_temp.image"
															[/variable]
															[then]
																[set_variable]
																	name="frame_item_temp.halo"
																	value="$unit.image:200,$unit.image:200"
																[/set_variable]
																[set_variable]
																	name="frame_item_temp.image"
																	value="$unit.image:200,$unit.image:200"
																[/set_variable]
																[set_variable]
																	name="frame_item_temp.halo_y"
																	value=18
																[/set_variable]
																[set_variable]
																	formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-36))~BL(1)~O(33%)~FL(vertical)')"
																	name="frame_item_temp.halo_mod"
																[/set_variable]
															[/then]
															[else]
																[set_variable]
																	name="frame_item_temp.halo"
																	value="$frame_item_temp.image:200,$frame_item_temp.image:200"
																[/set_variable]
																[set_variable]
																	name="frame_item_temp.image"
																	value="$frame_item_temp.image:200,$frame_item_temp.image:200"
																[/set_variable]
																[set_variable]
																	name="frame_item_temp.halo_y"
																	value=18
																[/set_variable]
																[set_variable]
																	formula="concatenate('$frame_item_temp.halo_mod|','~CROP(0,0,72,(72-36))~BL(1)~O(33%)~FL(vertical)')"
																	name="frame_item_temp.halo_mod"
																[/set_variable]
															[/else]
														[/if]
													[/do]
												[/foreach]
											[/then]
											[else]
												[if]
													[variable]
														equals=""
														name="new_reflection_animations[0].if.frame.image"
													[/variable]
													[then]
														[set_variable]
															name="new_reflection_animations[0].if.frame.halo"
															value="$unit.image:200,$unit.image:200"
														[/set_variable]
														[set_variable]
															name="new_reflection_animations[0].if.frame.image"
															value="$unit.image:200,$unit.image:200"
														[/set_variable]
														[set_variable]
															name="new_reflection_animations[0].if.frame.halo_y"
															value=18
														[/set_variable]
														[set_variable]
															formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-36))~BL(1)~O(33%)~FL(vertical)')"
															name="new_reflection_animations[0].if.frame.halo_mod"
														[/set_variable]
													[/then]
													[else]
														[set_variable]
															name="new_reflection_animations[0].if.frame.halo"
															value="$new_reflection_animations[0].if.frame.image:200,$new_reflection_animations[0].if.frame.image:200"
														[/set_variable]
														[set_variable]
															name="new_reflection_animations[0].if.frame.image"
															value="$new_reflection_animations[0].if.frame.image:200,$new_reflection_animations[0].if.frame.image:200"
														[/set_variable]
														[set_variable]
															name="new_reflection_animations[0].if.frame.halo_y"
															value=18
														[/set_variable]
														[set_variable]
															formula="concatenate('$new_reflection_animations[0].if.frame.halo_mod|','~CROP(0,0,72,(72-36))~BL(1)~O(33%)~FL(vertical)')"
															name="new_reflection_animations[0].if.frame.halo_mod"
														[/set_variable]
													[/else]
												[/if]
											[/else]
										[/if]
									[/else]
								[/if]
							[/then]
							[else]
								[if]
									[variable]
										greater_than_equal_to=2
										name="new_reflection_animations[0].frame.length"
									[/variable]
									[then]
										[foreach]
											array="new_reflection_animations[0].frame"
											index_var="f"
											variable="frame_item_temp"
											[do]
												[if]
													[variable]
														equals=""
														name="frame_item_temp.image"
													[/variable]
													[then]
														[set_variable]
															name="frame_item_temp.halo"
															value="$unit.image:200,$unit.image:200"
														[/set_variable]
														[set_variable]
															name="frame_item_temp.image"
															value="$unit.image:200,$unit.image:200"
														[/set_variable]
														[set_variable]
															name="frame_item_temp.halo_y"
															value=18
														[/set_variable]
														[set_variable]
															formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-36))~BL(1)~O(33%)~FL(vertical)')"
															name="frame_item_temp.halo_mod"
														[/set_variable]
													[/then]
													[else]
														[set_variable]
															name="frame_item_temp.halo"
															value="$frame_item_temp.image:200,$frame_item_temp.image:200"
														[/set_variable]
														[set_variable]
															name="frame_item_temp.image"
															value="$frame_item_temp.image:200,$frame_item_temp.image:200"
														[/set_variable]
														[set_variable]
															name="frame_item_temp.halo_y"
															value=18
														[/set_variable]
														[set_variable]
															formula="concatenate('$frame_item_temp.halo_mod|','~CROP(0,0,72,(72-36))~BL(1)~O(33%)~FL(vertical)')"
															name="frame_item_temp.halo_mod"
														[/set_variable]
													[/else]
												[/if]
											[/do]
										[/foreach]
									[/then]
									[else]
										[if]
											[variable]
												equals=""
												name="new_reflection_animations[0].frame.image"
											[/variable]
											[then]
												[set_variable]
													name="new_reflection_animations[0].frame.halo"
													value="$unit.image:200,$unit.image:200"
												[/set_variable]
												[set_variable]
													name="new_reflection_animations[0].frame.image"
													value="$unit.image:200,$unit.image:200"
												[/set_variable]
												[set_variable]
													name="new_reflection_animations[0].frame.halo_y"
													value=18
												[/set_variable]
												[set_variable]
													formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-36))~BL(1)~O(33%)~FL(vertical)')"
													name="new_reflection_animations[0].frame.halo_mod"
												[/set_variable]
											[/then]
											[else]
												[set_variable]
													name="new_reflection_animations[0].frame.halo"
													value="$new_reflection_animations[0].frame.image:200,$new_reflection_animations[0].frame.image:200"
												[/set_variable]
												[set_variable]
													name="new_reflection_animations[0].frame.image"
													value="$new_reflection_animations[0].frame.image:200,$new_reflection_animations[0].frame.image:200"
												[/set_variable]
												[set_variable]
													name="new_reflection_animations[0].frame.halo_y"
													value=18
												[/set_variable]
												[set_variable]
													formula="concatenate('$new_reflection_animations[0].frame.halo_mod|','~CROP(0,0,72,(72-36))~BL(1)~O(33%)~FL(vertical)')"
													name="new_reflection_animations[0].frame.halo_mod"
												[/set_variable]
											[/else]
										[/if]
									[/else]
								[/if]
							[/else]
						[/if]
						[if]
							[variable]
								greater_than_equal_to=1
								name="reflect_unit_type.pre_movement_anim.else.length"
							[/variable]
							[then]
								[if]
									[variable]
										greater_than_equal_to=2
										name="reflect_unit_type.pre_movement_anim.else.length"
									[/variable]
									[then]
										[foreach]
											array="reflect_unit_type.pre_movement_anim.else"
											index_var="k"
											variable="conditional_item"
											[do]
												[if]
													[variable]
														greater_than_equal_to=2
														name="conditional_item.frame.length"
													[/variable]
													[then]
														[foreach]
															array="conditional_item.frame"
															index_var="f"
															variable="frame_item_temp"
															[do]
																[if]
																	[variable]
																		equals=""
																		name="frame_item_temp.image"
																	[/variable]
																	[then]
																		[set_variable]
																			name="frame_item_temp.halo"
																			value="$unit.image:200,$unit.image:200"
																		[/set_variable]
																		[set_variable]
																			name="frame_item_temp.image"
																			value="$unit.image:200,$unit.image:200"
																		[/set_variable]
																		[set_variable]
																			name="frame_item_temp.halo_y"
																			value=18
																		[/set_variable]
																		[set_variable]
																			formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-36))~BL(1)~O(33%)~FL(vertical)')"
																			name="frame_item_temp.halo_mod"
																		[/set_variable]
																	[/then]
																	[else]
																		[set_variable]
																			name="frame_item_temp.halo"
																			value="$frame_item_temp.image:200,$frame_item_temp.image:200"
																		[/set_variable]
																		[set_variable]
																			name="frame_item_temp.image"
																			value="$frame_item_temp.image:200,$frame_item_temp.image:200"
																		[/set_variable]
																		[set_variable]
																			name="frame_item_temp.halo_y"
																			value=18
																		[/set_variable]
																		[set_variable]
																			formula="concatenate('$frame_item_temp.halo_mod|','~CROP(0,0,72,(72-36))~BL(1)~O(33%)~FL(vertical)')"
																			name="frame_item_temp.halo_mod"
																		[/set_variable]
																	[/else]
																[/if]
															[/do]
														[/foreach]
													[/then]
													[else]
														[if]
															[variable]
																equals=""
																name="new_reflection_animations[0].else[$k].frame.image"
															[/variable]
															[then]
																[set_variable]
																	name="new_reflection_animations[0].else[$k].frame.halo"
																	value="$unit.image:200,$unit.image:200"
																[/set_variable]
																[set_variable]
																	name="new_reflection_animations[0].else[$k].frame.image"
																	value="$unit.image:200,$unit.image:200"
																[/set_variable]
																[set_variable]
																	name="new_reflection_animations[0].else[$k].frame.halo_y"
																	value=18
																[/set_variable]
																[set_variable]
																	formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-36))~BL(1)~O(33%)~FL(vertical)')"
																	name="new_reflection_animations[0].else[$k].frame.halo_mod"
																[/set_variable]
															[/then]
															[else]
																[set_variable]
																	name="new_reflection_animations[0].else[$k].frame.halo"
																	value="$new_reflection_animations[0].else[$k].frame.image:200,$new_reflection_animations[0].else[$k].frame.image:200"
																[/set_variable]
																[set_variable]
																	name="new_reflection_animations[0].else[$k].frame.image"
																	value="$new_reflection_animations[0].else[$k].frame.image:200,$new_reflection_animations[0].else[$k].frame.image:200"
																[/set_variable]
																[set_variable]
																	name="new_reflection_animations[0].else[$k].frame.halo_y"
																	value=18
																[/set_variable]
																[set_variable]
																	formula="concatenate('$new_reflection_animations[0].else[$k].frame.halo_mod|','~CROP(0,0,72,(72-36))~BL(1)~O(33%)~FL(vertical)')"
																	name="new_reflection_animations[0].else[$k].frame.halo_mod"
																[/set_variable]
															[/else]
														[/if]
													[/else]
												[/if]
											[/do]
										[/foreach]
									[/then]
									[else]
										[if]
											[variable]
												greater_than_equal_to=2
												name="reflect_unit_type.pre_movement_anim.else.frame.length"
											[/variable]
											[then]
												[foreach]
													array="reflect_unit_type.pre_movement_anim.else.frame"
													index_var="f"
													variable="frame_item_temp"
													[do]
														[if]
															[variable]
																equals=""
																name="frame_item_temp.image"
															[/variable]
															[then]
																[set_variable]
																	name="frame_item_temp.halo"
																	value="$unit.image:200,$unit.image:200"
																[/set_variable]
																[set_variable]
																	name="frame_item_temp.image"
																	value="$unit.image:200,$unit.image:200"
																[/set_variable]
																[set_variable]
																	name="frame_item_temp.halo_y"
																	value=18
																[/set_variable]
																[set_variable]
																	formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-36))~BL(1)~O(33%)~FL(vertical)')"
																	name="frame_item_temp.halo_mod"
																[/set_variable]
															[/then]
															[else]
																[set_variable]
																	name="frame_item_temp.halo"
																	value="$frame_item_temp.image:200,$frame_item_temp.image:200"
																[/set_variable]
																[set_variable]
																	name="frame_item_temp.image"
																	value="$frame_item_temp.image:200,$frame_item_temp.image:200"
																[/set_variable]
																[set_variable]
																	name="frame_item_temp.halo_y"
																	value=18
																[/set_variable]
																[set_variable]
																	formula="concatenate('$frame_item_temp.halo_mod|','~CROP(0,0,72,(72-36))~BL(1)~O(33%)~FL(vertical)')"
																	name="frame_item_temp.halo_mod"
																[/set_variable]
															[/else]
														[/if]
													[/do]
												[/foreach]
											[/then]
											[else]
												[if]
													[variable]
														equals=""
														name="new_reflection_animations[0].else.frame.image"
													[/variable]
													[then]
														[set_variable]
															name="new_reflection_animations[0].else.frame.halo"
															value="$unit.image:200,$unit.image:200"
														[/set_variable]
														[set_variable]
															name="new_reflection_animations[0].else.frame.image"
															value="$unit.image:200,$unit.image:200"
														[/set_variable]
														[set_variable]
															name="new_reflection_animations[0].else.frame.halo_y"
															value=18
														[/set_variable]
														[set_variable]
															formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-36))~BL(1)~O(33%)~FL(vertical)')"
															name="new_reflection_animations[0].else.frame.halo_mod"
														[/set_variable]
													[/then]
													[else]
														[set_variable]
															name="new_reflection_animations[0].else.frame.halo"
															value="$new_reflection_animations[0].else.frame.image:200,$new_reflection_animations[0].else.frame.image:200"
														[/set_variable]
														[set_variable]
															name="new_reflection_animations[0].else.frame.image"
															value="$new_reflection_animations[0].else.frame.image:200,$new_reflection_animations[0].else.frame.image:200"
														[/set_variable]
														[set_variable]
															name="new_reflection_animations[0].else.frame.halo_y"
															value=18
														[/set_variable]
														[set_variable]
															formula="concatenate('$new_reflection_animations[0].else.frame.halo_mod|','~CROP(0,0,72,(72-36))~BL(1)~O(33%)~FL(vertical)')"
															name="new_reflection_animations[0].else.frame.halo_mod"
														[/set_variable]
													[/else]
												[/if]
											[/else]
										[/if]
									[/else]
								[/if]
							[/then]
						[/if]
					[/else]
				[/if]
			[/then]
			[else]
				[if]
					[variable]
						name="unit.image"
						not_equals=""
					[/variable]
					[then]
						[set_variables]
							name="new_reflection_animations"
							[value]
								apply_to="standing"
								data_apply_to="pre_movement_anim"
								start_time=0
								terrain_type="Wot,Wo,Wog"
								[frame]
									halo="$unit.image:200,$unit.image:200"
									halo_mod="~CROP(0,0,72,$(72-36))~BL(1)~O(33%)~FL(vertical)"
									halo_y=18
									image="$unit.image:200,$unit.image:200"
								[/frame]
							[/value]
						[/set_variables]
					[/then]
				[/if]
			[/else]
		[/if]
		[set_variables]
			mode="append"
			name="add_animations_variable"
			to_variable="new_reflection_animations"
		[/set_variables]
		[clear_variable]
			name="new_reflection_animations"
		[/clear_variable]
		[if]
			[variable]
				greater_than_equal_to=1
				name="reflect_unit_type.pre_movement_anim.length"
			[/variable]
			[then]
				[if]
					[variable]
						greater_than_equal_to=2
						name="reflect_unit_type.pre_movement_anim.length"
					[/variable]
					[then]
						[foreach]
							array="reflect_unit_type.pre_movement_anim"
							[do]
								[set_variables]
									name="new_reflection_animations[$i]"
									to_variable="this_item"
								[/set_variables]
								[set_variable]
									name="new_reflection_animations[$i].start_time"
									value=0
								[/set_variable]
								[set_variable]
									name="new_reflection_animations[$i].data_apply_to"
									value="pre_movement_anim"
								[/set_variable]
								[set_variable]
									name="new_reflection_animations[$i].base_score"
									value=2
								[/set_variable]
								[set_variables]
									mode="append"
									name="new_reflection_animations[$i].filter"
									[value]
										[filter_location]
											terrain="Wwf,Wwrg,Wwr,Wwrt"
										[/filter_location]
									[/value]
								[/set_variables]
								[if]
									[variable]
										greater_than_equal_to=1
										name="new_reflection_animations[$i].if.length"
									[/variable]
									[then]
										[if]
											[variable]
												greater_than_equal_to=2
												name="new_reflection_animations[$i].if.length"
											[/variable]
											[then]
												[foreach]
													array="new_reflection_animations[$i].if"
													index_var="k"
													variable="conditional_item"
													[do]
														[if]
															[variable]
																greater_than_equal_to=2
																name="conditional_item.frame.length"
															[/variable]
															[then]
																[foreach]
																	array="conditional_item.frame"
																	index_var="f"
																	variable="frame_item_temp"
																	[do]
																		[if]
																			[variable]
																				equals=""
																				name="frame_item_temp.image"
																			[/variable]
																			[then]
																				[set_variable]
																					name="frame_item_temp.halo"
																					value="$unit.image:200,$unit.image:200"
																				[/set_variable]
																				[set_variable]
																					name="frame_item_temp.image"
																					value="$unit.image:200,$unit.image:200"
																				[/set_variable]
																				[set_variable]
																					name="frame_item_temp.halo_y"
																					value=38
																				[/set_variable]
																				[set_variable]
																					formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-22))~BL(1)~O(33%)~FL(vertical)')"
																					name="frame_item_temp.halo_mod"
																				[/set_variable]
																			[/then]
																			[else]
																				[set_variable]
																					name="frame_item_temp.halo"
																					value="$frame_item_temp.image:200,$frame_item_temp.image:200"
																				[/set_variable]
																				[set_variable]
																					name="frame_item_temp.image"
																					value="$frame_item_temp.image:200,$frame_item_temp.image:200"
																				[/set_variable]
																				[set_variable]
																					name="frame_item_temp.halo_y"
																					value=38
																				[/set_variable]
																				[set_variable]
																					formula="concatenate('$frame_item_temp.halo_mod|','~CROP(0,0,72,(72-22))~BL(1)~O(33%)~FL(vertical)')"
																					name="frame_item_temp.halo_mod"
																				[/set_variable]
																			[/else]
																		[/if]
																	[/do]
																[/foreach]
															[/then]
															[else]
																[if]
																	[variable]
																		equals=""
																		name="conditional_item.frame.image"
																	[/variable]
																	[then]
																		[set_variable]
																			name="conditional_item.frame.halo"
																			value="$unit.image:200,$unit.image:200"
																		[/set_variable]
																		[set_variable]
																			name="conditional_item.frame.image"
																			value="$unit.image:200,$unit.image:200"
																		[/set_variable]
																		[set_variable]
																			name="conditional_item.frame.halo_y"
																			value=38
																		[/set_variable]
																		[set_variable]
																			formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-22))~BL(1)~O(33%)~FL(vertical)')"
																			name="conditional_item.frame.halo_mod"
																		[/set_variable]
																	[/then]
																	[else]
																		[set_variable]
																			name="conditional_item.frame.halo"
																			value="$conditional_item.frame.image:200,$conditional_item.frame.image:200"
																		[/set_variable]
																		[set_variable]
																			name="conditional_item.frame.image"
																			value="$conditional_item.frame.image:200,$conditional_item.frame.image:200"
																		[/set_variable]
																		[set_variable]
																			name="conditional_item.frame.halo_y"
																			value=38
																		[/set_variable]
																		[set_variable]
																			formula="concatenate('$conditional_item.frame.halo_mod|','~CROP(0,0,72,(72-22))~BL(1)~O(33%)~FL(vertical)')"
																			name="conditional_item.frame.halo_mod"
																		[/set_variable]
																	[/else]
																[/if]
															[/else]
														[/if]
													[/do]
												[/foreach]
											[/then]
											[else]
												[if]
													[variable]
														greater_than_equal_to=2
														name="new_reflection_animations[$i].if.frame.length"
													[/variable]
													[then]
														[foreach]
															array="new_reflection_animations[$i].if.frame"
															index_var="f"
															variable="frame_item_temp"
															[do]
																[if]
																	[variable]
																		equals=""
																		name="frame_item_temp.image"
																	[/variable]
																	[then]
																		[set_variable]
																			name="frame_item_temp.halo"
																			value="$unit.image:200,$unit.image:200"
																		[/set_variable]
																		[set_variable]
																			name="frame_item_temp.image"
																			value="$unit.image:200,$unit.image:200"
																		[/set_variable]
																		[set_variable]
																			name="frame_item_temp.halo_y"
																			value=38
																		[/set_variable]
																		[set_variable]
																			formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-22))~BL(1)~O(33%)~FL(vertical)')"
																			name="frame_item_temp.halo_mod"
																		[/set_variable]
																	[/then]
																	[else]
																		[set_variable]
																			name="frame_item_temp.halo"
																			value="$frame_item_temp.image:200,$frame_item_temp.image:200"
																		[/set_variable]
																		[set_variable]
																			name="frame_item_temp.image"
																			value="$frame_item_temp.image:200,$frame_item_temp.image:200"
																		[/set_variable]
																		[set_variable]
																			name="frame_item_temp.halo_y"
																			value=38
																		[/set_variable]
																		[set_variable]
																			formula="concatenate('$frame_item_temp.halo_mod|','~CROP(0,0,72,(72-22))~BL(1)~O(33%)~FL(vertical)')"
																			name="frame_item_temp.halo_mod"
																		[/set_variable]
																	[/else]
																[/if]
															[/do]
														[/foreach]
													[/then]
													[else]
														[if]
															[variable]
																equals=""
																name="new_reflection_animations[$i].if.frame.image"
															[/variable]
															[then]
																[set_variable]
																	name="new_reflection_animations[$i].if.frame.halo"
																	value="$unit.image:200,$unit.image:200"
																[/set_variable]
																[set_variable]
																	name="new_reflection_animations[$i].if.frame.image"
																	value="$unit.image:200,$unit.image:200"
																[/set_variable]
																[set_variable]
																	name="new_reflection_animations[$i].if.frame.halo_y"
																	value=38
																[/set_variable]
																[set_variable]
																	formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-22))~BL(1)~O(33%)~FL(vertical)')"
																	name="new_reflection_animations[$i].if.frame.halo_mod"
																[/set_variable]
															[/then]
															[else]
																[set_variable]
																	name="new_reflection_animations[$i].if.frame.halo"
																	value="$new_reflection_animations[$i].if.frame.image:200,$new_reflection_animations[$i].if.frame.image:200"
																[/set_variable]
																[set_variable]
																	name="new_reflection_animations[$i].if.frame.image"
																	value="$new_reflection_animations[$i].if.frame.image:200,$new_reflection_animations[$i].if.frame.image:200"
																[/set_variable]
																[set_variable]
																	name="new_reflection_animations[$i].if.frame.halo_y"
																	value=38
																[/set_variable]
																[set_variable]
																	formula="concatenate('$new_reflection_animations[$i].if.frame.halo_mod|','~CROP(0,0,72,(72-22))~BL(1)~O(33%)~FL(vertical)')"
																	name="new_reflection_animations[$i].if.frame.halo_mod"
																[/set_variable]
															[/else]
														[/if]
													[/else]
												[/if]
											[/else]
										[/if]
									[/then]
									[else]
										[if]
											[variable]
												greater_than_equal_to=2
												name="new_reflection_animations[$i].frame.length"
											[/variable]
											[then]
												[foreach]
													array="new_reflection_animations[$i].frame"
													index_var="f"
													variable="frame_item_temp"
													[do]
														[if]
															[variable]
																equals=""
																name="frame_item_temp.image"
															[/variable]
															[then]
																[set_variable]
																	name="frame_item_temp.halo"
																	value="$unit.image:200,$unit.image:200"
																[/set_variable]
																[set_variable]
																	name="frame_item_temp.image"
																	value="$unit.image:200,$unit.image:200"
																[/set_variable]
																[set_variable]
																	name="frame_item_temp.halo_y"
																	value=38
																[/set_variable]
																[set_variable]
																	formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-22))~BL(1)~O(33%)~FL(vertical)')"
																	name="frame_item_temp.halo_mod"
																[/set_variable]
															[/then]
															[else]
																[set_variable]
																	name="frame_item_temp.halo"
																	value="$frame_item_temp.image:200,$frame_item_temp.image:200"
																[/set_variable]
																[set_variable]
																	name="frame_item_temp.image"
																	value="$frame_item_temp.image:200,$frame_item_temp.image:200"
																[/set_variable]
																[set_variable]
																	name="frame_item_temp.halo_y"
																	value=38
																[/set_variable]
																[set_variable]
																	formula="concatenate('$frame_item_temp.halo_mod|','~CROP(0,0,72,(72-22))~BL(1)~O(33%)~FL(vertical)')"
																	name="frame_item_temp.halo_mod"
																[/set_variable]
															[/else]
														[/if]
													[/do]
												[/foreach]
											[/then]
											[else]
												[if]
													[variable]
														equals=""
														name="new_reflection_animations[$i].frame.image"
													[/variable]
													[then]
														[set_variable]
															name="new_reflection_animations[$i].frame.halo"
															value="$unit.image:200,$unit.image:200"
														[/set_variable]
														[set_variable]
															name="new_reflection_animations[$i].frame.image"
															value="$unit.image:200,$unit.image:200"
														[/set_variable]
														[set_variable]
															name="new_reflection_animations[$i].frame.halo_y"
															value=38
														[/set_variable]
														[set_variable]
															formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-22))~BL(1)~O(33%)~FL(vertical)')"
															name="new_reflection_animations[$i].frame.halo_mod"
														[/set_variable]
													[/then]
													[else]
														[set_variable]
															name="new_reflection_animations[$i].frame.halo"
															value="$new_reflection_animations[$i].frame.image:200,$new_reflection_animations[$i].frame.image:200"
														[/set_variable]
														[set_variable]
															name="new_reflection_animations[$i].frame.image"
															value="$new_reflection_animations[$i].frame.image:200,$new_reflection_animations[$i].frame.image:200"
														[/set_variable]
														[set_variable]
															name="new_reflection_animations[$i].frame.halo_y"
															value=38
														[/set_variable]
														[set_variable]
															formula="concatenate('$new_reflection_animations[$i].frame.halo_mod|','~CROP(0,0,72,(72-22))~BL(1)~O(33%)~FL(vertical)')"
															name="new_reflection_animations[$i].frame.halo_mod"
														[/set_variable]
													[/else]
												[/if]
											[/else]
										[/if]
									[/else]
								[/if]
								[if]
									[variable]
										greater_than_equal_to=1
										name="new_reflection_animations[$i].else.length"
									[/variable]
									[then]
										[if]
											[variable]
												greater_than_equal_to=2
												name="new_reflection_animations[$i].else.length"
											[/variable]
											[then]
												[foreach]
													array="new_reflection_animations[$i].else"
													index_var="k"
													variable="conditional_item"
													[do]
														[if]
															[variable]
																greater_than_equal_to=2
																name="conditional_item.frame.length"
															[/variable]
															[then]
																[foreach]
																	array="conditional_item.frame"
																	index_var="f"
																	variable="frame_item_temp"
																	[do]
																		[if]
																			[variable]
																				equals=""
																				name="frame_item_temp.image"
																			[/variable]
																			[then]
																				[set_variable]
																					name="frame_item_temp.halo"
																					value="$unit.image:200,$unit.image:200"
																				[/set_variable]
																				[set_variable]
																					name="frame_item_temp.image"
																					value="$unit.image:200,$unit.image:200"
																				[/set_variable]
																				[set_variable]
																					name="frame_item_temp.halo_y"
																					value=38
																				[/set_variable]
																				[set_variable]
																					formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-22))~BL(1)~O(33%)~FL(vertical)')"
																					name="frame_item_temp.halo_mod"
																				[/set_variable]
																			[/then]
																			[else]
																				[set_variable]
																					name="frame_item_temp.halo"
																					value="$frame_item_temp.image:200,$frame_item_temp.image:200"
																				[/set_variable]
																				[set_variable]
																					name="frame_item_temp.image"
																					value="$frame_item_temp.image:200,$frame_item_temp.image:200"
																				[/set_variable]
																				[set_variable]
																					name="frame_item_temp.halo_y"
																					value=38
																				[/set_variable]
																				[set_variable]
																					formula="concatenate('$frame_item_temp.halo_mod|','~CROP(0,0,72,(72-22))~BL(1)~O(33%)~FL(vertical)')"
																					name="frame_item_temp.halo_mod"
																				[/set_variable]
																			[/else]
																		[/if]
																	[/do]
																[/foreach]
															[/then]
															[else]
																[if]
																	[variable]
																		equals=""
																		name="new_reflection_animations[$i].else[$k].frame.image"
																	[/variable]
																	[then]
																		[set_variable]
																			name="new_reflection_animations[$i].else[$k].frame.halo"
																			value="$unit.image:200,$unit.image:200"
																		[/set_variable]
																		[set_variable]
																			name="new_reflection_animations[$i].else[$k].frame.image"
																			value="$unit.image:200,$unit.image:200"
																		[/set_variable]
																		[set_variable]
																			name="new_reflection_animations[$i].else[$k].frame.halo_y"
																			value=38
																		[/set_variable]
																		[set_variable]
																			formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-22))~BL(1)~O(33%)~FL(vertical)')"
																			name="new_reflection_animations[$i].else[$k].frame.halo_mod"
																		[/set_variable]
																	[/then]
																	[else]
																		[set_variable]
																			name="new_reflection_animations[$i].else[$k].frame.halo"
																			value="$new_reflection_animations[$i].else[$k].frame.image:200,$new_reflection_animations[$i].else[$k].frame.image:200"
																		[/set_variable]
																		[set_variable]
																			name="new_reflection_animations[$i].else[$k].frame.image"
																			value="$new_reflection_animations[$i].else[$k].frame.image:200,$new_reflection_animations[$i].else[$k].frame.image:200"
																		[/set_variable]
																		[set_variable]
																			name="new_reflection_animations[$i].else[$k].frame.halo_y"
																			value=38
																		[/set_variable]
																		[set_variable]
																			formula="concatenate('$new_reflection_animations[$i].else[$k].frame.halo_mod|','~CROP(0,0,72,(72-22))~BL(1)~O(33%)~FL(vertical)')"
																			name="new_reflection_animations[$i].else[$k].frame.halo_mod"
																		[/set_variable]
																	[/else]
																[/if]
															[/else]
														[/if]
													[/do]
												[/foreach]
											[/then]
											[else]
												[if]
													[variable]
														greater_than_equal_to=2
														name="new_reflection_animations[$i].else.frame.length"
													[/variable]
													[then]
														[foreach]
															array="new_reflection_animations[$i].else.frame"
															index_var="f"
															variable="frame_item_temp"
															[do]
																[if]
																	[variable]
																		equals=""
																		name="frame_item_temp.image"
																	[/variable]
																	[then]
																		[set_variable]
																			name="frame_item_temp.halo"
																			value="$unit.image:200,$unit.image:200"
																		[/set_variable]
																		[set_variable]
																			name="frame_item_temp.image"
																			value="$unit.image:200,$unit.image:200"
																		[/set_variable]
																		[set_variable]
																			name="frame_item_temp.halo_y"
																			value=38
																		[/set_variable]
																		[set_variable]
																			formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-22))~BL(1)~O(33%)~FL(vertical)')"
																			name="frame_item_temp.halo_mod"
																		[/set_variable]
																	[/then]
																	[else]
																		[set_variable]
																			name="frame_item_temp.halo"
																			value="$frame_item_temp.image:200,$frame_item_temp.image:200"
																		[/set_variable]
																		[set_variable]
																			name="frame_item_temp.image"
																			value="$frame_item_temp.image:200,$frame_item_temp.image:200"
																		[/set_variable]
																		[set_variable]
																			name="frame_item_temp.halo_y"
																			value=38
																		[/set_variable]
																		[set_variable]
																			formula="concatenate('$frame_item_temp.halo_mod|','~CROP(0,0,72,(72-22))~BL(1)~O(33%)~FL(vertical)')"
																			name="frame_item_temp.halo_mod"
																		[/set_variable]
																	[/else]
																[/if]
															[/do]
														[/foreach]
													[/then]
													[else]
														[if]
															[variable]
																equals=""
																name="new_reflection_animations[$i].else.frame.image"
															[/variable]
															[then]
																[set_variable]
																	name="new_reflection_animations[$i].else.frame.halo"
																	value="$unit.image:200,$unit.image:200"
																[/set_variable]
																[set_variable]
																	name="new_reflection_animations[$i].else.frame.image"
																	value="$unit.image:200,$unit.image:200"
																[/set_variable]
																[set_variable]
																	name="new_reflection_animations[$i].else.frame.halo_y"
																	value=38
																[/set_variable]
																[set_variable]
																	formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-22))~BL(1)~O(33%)~FL(vertical)')"
																	name="new_reflection_animations[$i].else.frame.halo_mod"
																[/set_variable]
															[/then]
															[else]
																[set_variable]
																	name="new_reflection_animations[$i].else.frame.halo"
																	value="$new_reflection_animations[$i].else.frame.image:200,$new_reflection_animations[$i].else.frame.image:200"
																[/set_variable]
																[set_variable]
																	name="new_reflection_animations[$i].else.frame.image"
																	value="$new_reflection_animations[$i].else.frame.image:200,$new_reflection_animations[$i].else.frame.image:200"
																[/set_variable]
																[set_variable]
																	name="new_reflection_animations[$i].else.frame.halo_y"
																	value=38
																[/set_variable]
																[set_variable]
																	formula="concatenate('$new_reflection_animations[$i].else.frame.halo_mod|','~CROP(0,0,72,(72-22))~BL(1)~O(33%)~FL(vertical)')"
																	name="new_reflection_animations[$i].else.frame.halo_mod"
																[/set_variable]
															[/else]
														[/if]
													[/else]
												[/if]
											[/else]
										[/if]
									[/then]
								[/if]
							[/do]
						[/foreach]
					[/then]
					[else]
						[set_variables]
							name="new_reflection_animations"
							to_variable="reflect_unit_type.pre_movement_anim[0]"
						[/set_variables]
						[set_variable]
							name="new_reflection_animations.data_apply_to"
							value="pre_movement_anim"
						[/set_variable]
						[set_variable]
							name="new_reflection_animations.start_time"
							value=0
						[/set_variable]
						[set_variable]
							name="new_reflection_animations.base_score"
							value=2
						[/set_variable]
						[set_variables]
							mode="append"
							name="new_reflection_animations.filter"
							[value]
								[filter_location]
									terrain="Wwf,Wwrg,Wwr,Wwrt"
								[/filter_location]
							[/value]
						[/set_variables]
						[if]
							[variable]
								greater_than_equal_to=1
								name="reflect_unit_type.pre_movement_anim.if.length"
							[/variable]
							[then]
								[if]
									[variable]
										greater_than_equal_to=2
										name="reflect_unit_type.pre_movement_anim.if.length"
									[/variable]
									[then]
										[foreach]
											array="reflect_unit_type.pre_movement_anim.if"
											index_var="k"
											variable="conditional_item"
											[do]
												[if]
													[variable]
														greater_than_equal_to=2
														name="conditional_item.frame.length"
													[/variable]
													[then]
														[foreach]
															array="conditional_item.frame"
															index_var="f"
															variable="frame_item_temp"
															[do]
																[if]
																	[variable]
																		equals=""
																		name="frame_item_temp.image"
																	[/variable]
																	[then]
																		[set_variable]
																			name="frame_item_temp.halo"
																			value="$unit.image:200,$unit.image:200"
																		[/set_variable]
																		[set_variable]
																			name="frame_item_temp.image"
																			value="$unit.image:200,$unit.image:200"
																		[/set_variable]
																		[set_variable]
																			name="frame_item_temp.halo_y"
																			value=38
																		[/set_variable]
																		[set_variable]
																			formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-22))~BL(1)~O(33%)~FL(vertical)')"
																			name="frame_item_temp.halo_mod"
																		[/set_variable]
																	[/then]
																	[else]
																		[set_variable]
																			name="frame_item_temp.halo"
																			value="$frame_item_temp.image:200,$frame_item_temp.image:200"
																		[/set_variable]
																		[set_variable]
																			name="frame_item_temp.image"
																			value="$frame_item_temp.image:200,$frame_item_temp.image:200"
																		[/set_variable]
																		[set_variable]
																			name="frame_item_temp.halo_y"
																			value=38
																		[/set_variable]
																		[set_variable]
																			formula="concatenate('$frame_item_temp.halo_mod|','~CROP(0,0,72,(72-22))~BL(1)~O(33%)~FL(vertical)')"
																			name="frame_item_temp.halo_mod"
																		[/set_variable]
																	[/else]
																[/if]
															[/do]
														[/foreach]
													[/then]
													[else]
														[if]
															[variable]
																equals=""
																name="new_reflection_animations[0].if[$k].frame.image"
															[/variable]
															[then]
																[set_variable]
																	name="new_reflection_animations[0].if[$k].frame.halo"
																	value="$unit.image:200,$unit.image:200"
																[/set_variable]
																[set_variable]
																	name="new_reflection_animations[0].if[$k].frame.image"
																	value="$unit.image:200,$unit.image:200"
																[/set_variable]
																[set_variable]
																	name="new_reflection_animations[0].if[$k].frame.halo_y"
																	value=38
																[/set_variable]
																[set_variable]
																	formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-22))~BL(1)~O(33%)~FL(vertical)')"
																	name="new_reflection_animations[0].if[$k].frame.halo_mod"
																[/set_variable]
															[/then]
															[else]
																[set_variable]
																	name="new_reflection_animations[0].if[$k].frame.halo"
																	value="$new_reflection_animations[0].if[$k].frame.image:200,$new_reflection_animations[0].if[$k].frame.image:200"
																[/set_variable]
																[set_variable]
																	name="new_reflection_animations[0].if[$k].frame.image"
																	value="$new_reflection_animations[0].if[$k].frame.image:200,$new_reflection_animations[0].if[$k].frame.image:200"
																[/set_variable]
																[set_variable]
																	name="new_reflection_animations[0].if[$k].frame.halo_y"
																	value=38
																[/set_variable]
																[set_variable]
																	formula="concatenate('$new_reflection_animations[0].if[$k].frame.halo_mod|','~CROP(0,0,72,(72-22))~BL(1)~O(33%)~FL(vertical)')"
																	name="new_reflection_animations[0].if[$k].frame.halo_mod"
																[/set_variable]
															[/else]
														[/if]
													[/else]
												[/if]
											[/do]
										[/foreach]
									[/then]
									[else]
										[if]
											[variable]
												greater_than_equal_to=2
												name="reflect_unit_type.pre_movement_anim.if.frame.length"
											[/variable]
											[then]
												[foreach]
													array="reflect_unit_type.pre_movement_anim.if.frame"
													index_var="f"
													variable="frame_item_temp"
													[do]
														[if]
															[variable]
																equals=""
																name="frame_item_temp.image"
															[/variable]
															[then]
																[set_variable]
																	name="frame_item_temp.halo"
																	value="$unit.image:200,$unit.image:200"
																[/set_variable]
																[set_variable]
																	name="frame_item_temp.image"
																	value="$unit.image:200,$unit.image:200"
																[/set_variable]
																[set_variable]
																	name="frame_item_temp.halo_y"
																	value=38
																[/set_variable]
																[set_variable]
																	formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-22))~BL(1)~O(33%)~FL(vertical)')"
																	name="frame_item_temp.halo_mod"
																[/set_variable]
															[/then]
															[else]
																[set_variable]
																	name="frame_item_temp.halo"
																	value="$frame_item_temp.image:200,$frame_item_temp.image:200"
																[/set_variable]
																[set_variable]
																	name="frame_item_temp.image"
																	value="$frame_item_temp.image:200,$frame_item_temp.image:200"
																[/set_variable]
																[set_variable]
																	name="frame_item_temp.halo_y"
																	value=38
																[/set_variable]
																[set_variable]
																	formula="concatenate('$frame_item_temp.halo_mod|','~CROP(0,0,72,(72-22))~BL(1)~O(33%)~FL(vertical)')"
																	name="frame_item_temp.halo_mod"
																[/set_variable]
															[/else]
														[/if]
													[/do]
												[/foreach]
											[/then]
											[else]
												[if]
													[variable]
														equals=""
														name="new_reflection_animations[0].if.frame.image"
													[/variable]
													[then]
														[set_variable]
															name="new_reflection_animations[0].if.frame.halo"
															value="$unit.image:200,$unit.image:200"
														[/set_variable]
														[set_variable]
															name="new_reflection_animations[0].if.frame.image"
															value="$unit.image:200,$unit.image:200"
														[/set_variable]
														[set_variable]
															name="new_reflection_animations[0].if.frame.halo_y"
															value=38
														[/set_variable]
														[set_variable]
															formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-22))~BL(1)~O(33%)~FL(vertical)')"
															name="new_reflection_animations[0].if.frame.halo_mod"
														[/set_variable]
													[/then]
													[else]
														[set_variable]
															name="new_reflection_animations[0].if.frame.halo"
															value="$new_reflection_animations[0].if.frame.image:200,$new_reflection_animations[0].if.frame.image:200"
														[/set_variable]
														[set_variable]
															name="new_reflection_animations[0].if.frame.image"
															value="$new_reflection_animations[0].if.frame.image:200,$new_reflection_animations[0].if.frame.image:200"
														[/set_variable]
														[set_variable]
															name="new_reflection_animations[0].if.frame.halo_y"
															value=38
														[/set_variable]
														[set_variable]
															formula="concatenate('$new_reflection_animations[0].if.frame.halo_mod|','~CROP(0,0,72,(72-22))~BL(1)~O(33%)~FL(vertical)')"
															name="new_reflection_animations[0].if.frame.halo_mod"
														[/set_variable]
													[/else]
												[/if]
											[/else]
										[/if]
									[/else]
								[/if]
							[/then]
							[else]
								[if]
									[variable]
										greater_than_equal_to=2
										name="new_reflection_animations[0].frame.length"
									[/variable]
									[then]
										[foreach]
											array="new_reflection_animations[0].frame"
											index_var="f"
											variable="frame_item_temp"
											[do]
												[if]
													[variable]
														equals=""
														name="frame_item_temp.image"
													[/variable]
													[then]
														[set_variable]
															name="frame_item_temp.halo"
															value="$unit.image:200,$unit.image:200"
														[/set_variable]
														[set_variable]
															name="frame_item_temp.image"
															value="$unit.image:200,$unit.image:200"
														[/set_variable]
														[set_variable]
															name="frame_item_temp.halo_y"
															value=38
														[/set_variable]
														[set_variable]
															formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-22))~BL(1)~O(33%)~FL(vertical)')"
															name="frame_item_temp.halo_mod"
														[/set_variable]
													[/then]
													[else]
														[set_variable]
															name="frame_item_temp.halo"
															value="$frame_item_temp.image:200,$frame_item_temp.image:200"
														[/set_variable]
														[set_variable]
															name="frame_item_temp.image"
															value="$frame_item_temp.image:200,$frame_item_temp.image:200"
														[/set_variable]
														[set_variable]
															name="frame_item_temp.halo_y"
															value=38
														[/set_variable]
														[set_variable]
															formula="concatenate('$frame_item_temp.halo_mod|','~CROP(0,0,72,(72-22))~BL(1)~O(33%)~FL(vertical)')"
															name="frame_item_temp.halo_mod"
														[/set_variable]
													[/else]
												[/if]
											[/do]
										[/foreach]
									[/then]
									[else]
										[if]
											[variable]
												equals=""
												name="new_reflection_animations[0].frame.image"
											[/variable]
											[then]
												[set_variable]
													name="new_reflection_animations[0].frame.halo"
													value="$unit.image:200,$unit.image:200"
												[/set_variable]
												[set_variable]
													name="new_reflection_animations[0].frame.image"
													value="$unit.image:200,$unit.image:200"
												[/set_variable]
												[set_variable]
													name="new_reflection_animations[0].frame.halo_y"
													value=38
												[/set_variable]
												[set_variable]
													formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-22))~BL(1)~O(33%)~FL(vertical)')"
													name="new_reflection_animations[0].frame.halo_mod"
												[/set_variable]
											[/then]
											[else]
												[set_variable]
													name="new_reflection_animations[0].frame.halo"
													value="$new_reflection_animations[0].frame.image:200,$new_reflection_animations[0].frame.image:200"
												[/set_variable]
												[set_variable]
													name="new_reflection_animations[0].frame.image"
													value="$new_reflection_animations[0].frame.image:200,$new_reflection_animations[0].frame.image:200"
												[/set_variable]
												[set_variable]
													name="new_reflection_animations[0].frame.halo_y"
													value=38
												[/set_variable]
												[set_variable]
													formula="concatenate('$new_reflection_animations[0].frame.halo_mod|','~CROP(0,0,72,(72-22))~BL(1)~O(33%)~FL(vertical)')"
													name="new_reflection_animations[0].frame.halo_mod"
												[/set_variable]
											[/else]
										[/if]
									[/else]
								[/if]
							[/else]
						[/if]
						[if]
							[variable]
								greater_than_equal_to=1
								name="reflect_unit_type.pre_movement_anim.else.length"
							[/variable]
							[then]
								[if]
									[variable]
										greater_than_equal_to=2
										name="reflect_unit_type.pre_movement_anim.else.length"
									[/variable]
									[then]
										[foreach]
											array="reflect_unit_type.pre_movement_anim.else"
											index_var="k"
											variable="conditional_item"
											[do]
												[if]
													[variable]
														greater_than_equal_to=2
														name="conditional_item.frame.length"
													[/variable]
													[then]
														[foreach]
															array="conditional_item.frame"
															index_var="f"
															variable="frame_item_temp"
															[do]
																[if]
																	[variable]
																		equals=""
																		name="frame_item_temp.image"
																	[/variable]
																	[then]
																		[set_variable]
																			name="frame_item_temp.halo"
																			value="$unit.image:200,$unit.image:200"
																		[/set_variable]
																		[set_variable]
																			name="frame_item_temp.image"
																			value="$unit.image:200,$unit.image:200"
																		[/set_variable]
																		[set_variable]
																			name="frame_item_temp.halo_y"
																			value=38
																		[/set_variable]
																		[set_variable]
																			formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-22))~BL(1)~O(33%)~FL(vertical)')"
																			name="frame_item_temp.halo_mod"
																		[/set_variable]
																	[/then]
																	[else]
																		[set_variable]
																			name="frame_item_temp.halo"
																			value="$frame_item_temp.image:200,$frame_item_temp.image:200"
																		[/set_variable]
																		[set_variable]
																			name="frame_item_temp.image"
																			value="$frame_item_temp.image:200,$frame_item_temp.image:200"
																		[/set_variable]
																		[set_variable]
																			name="frame_item_temp.halo_y"
																			value=38
																		[/set_variable]
																		[set_variable]
																			formula="concatenate('$frame_item_temp.halo_mod|','~CROP(0,0,72,(72-22))~BL(1)~O(33%)~FL(vertical)')"
																			name="frame_item_temp.halo_mod"
																		[/set_variable]
																	[/else]
																[/if]
															[/do]
														[/foreach]
													[/then]
													[else]
														[if]
															[variable]
																equals=""
																name="new_reflection_animations[0].else[$k].frame.image"
															[/variable]
															[then]
																[set_variable]
																	name="new_reflection_animations[0].else[$k].frame.halo"
																	value="$unit.image:200,$unit.image:200"
																[/set_variable]
																[set_variable]
																	name="new_reflection_animations[0].else[$k].frame.image"
																	value="$unit.image:200,$unit.image:200"
																[/set_variable]
																[set_variable]
																	name="new_reflection_animations[0].else[$k].frame.halo_y"
																	value=38
																[/set_variable]
																[set_variable]
																	formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-22))~BL(1)~O(33%)~FL(vertical)')"
																	name="new_reflection_animations[0].else[$k].frame.halo_mod"
																[/set_variable]
															[/then]
															[else]
																[set_variable]
																	name="new_reflection_animations[0].else[$k].frame.halo"
																	value="$new_reflection_animations[0].else[$k].frame.image:200,$new_reflection_animations[0].else[$k].frame.image:200"
																[/set_variable]
																[set_variable]
																	name="new_reflection_animations[0].else[$k].frame.image"
																	value="$new_reflection_animations[0].else[$k].frame.image:200,$new_reflection_animations[0].else[$k].frame.image:200"
																[/set_variable]
																[set_variable]
																	name="new_reflection_animations[0].else[$k].frame.halo_y"
																	value=38
																[/set_variable]
																[set_variable]
																	formula="concatenate('$new_reflection_animations[0].else[$k].frame.halo_mod|','~CROP(0,0,72,(72-22))~BL(1)~O(33%)~FL(vertical)')"
																	name="new_reflection_animations[0].else[$k].frame.halo_mod"
																[/set_variable]
															[/else]
														[/if]
													[/else]
												[/if]
											[/do]
										[/foreach]
									[/then]
									[else]
										[if]
											[variable]
												greater_than_equal_to=2
												name="reflect_unit_type.pre_movement_anim.else.frame.length"
											[/variable]
											[then]
												[foreach]
													array="reflect_unit_type.pre_movement_anim.else.frame"
													index_var="f"
													variable="frame_item_temp"
													[do]
														[if]
															[variable]
																equals=""
																name="frame_item_temp.image"
															[/variable]
															[then]
																[set_variable]
																	name="frame_item_temp.halo"
																	value="$unit.image:200,$unit.image:200"
																[/set_variable]
																[set_variable]
																	name="frame_item_temp.image"
																	value="$unit.image:200,$unit.image:200"
																[/set_variable]
																[set_variable]
																	name="frame_item_temp.halo_y"
																	value=38
																[/set_variable]
																[set_variable]
																	formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-22))~BL(1)~O(33%)~FL(vertical)')"
																	name="frame_item_temp.halo_mod"
																[/set_variable]
															[/then]
															[else]
																[set_variable]
																	name="frame_item_temp.halo"
																	value="$frame_item_temp.image:200,$frame_item_temp.image:200"
																[/set_variable]
																[set_variable]
																	name="frame_item_temp.image"
																	value="$frame_item_temp.image:200,$frame_item_temp.image:200"
																[/set_variable]
																[set_variable]
																	name="frame_item_temp.halo_y"
																	value=38
																[/set_variable]
																[set_variable]
																	formula="concatenate('$frame_item_temp.halo_mod|','~CROP(0,0,72,(72-22))~BL(1)~O(33%)~FL(vertical)')"
																	name="frame_item_temp.halo_mod"
																[/set_variable]
															[/else]
														[/if]
													[/do]
												[/foreach]
											[/then]
											[else]
												[if]
													[variable]
														equals=""
														name="new_reflection_animations[0].else.frame.image"
													[/variable]
													[then]
														[set_variable]
															name="new_reflection_animations[0].else.frame.halo"
															value="$unit.image:200,$unit.image:200"
														[/set_variable]
														[set_variable]
															name="new_reflection_animations[0].else.frame.image"
															value="$unit.image:200,$unit.image:200"
														[/set_variable]
														[set_variable]
															name="new_reflection_animations[0].else.frame.halo_y"
															value=38
														[/set_variable]
														[set_variable]
															formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-22))~BL(1)~O(33%)~FL(vertical)')"
															name="new_reflection_animations[0].else.frame.halo_mod"
														[/set_variable]
													[/then]
													[else]
														[set_variable]
															name="new_reflection_animations[0].else.frame.halo"
															value="$new_reflection_animations[0].else.frame.image:200,$new_reflection_animations[0].else.frame.image:200"
														[/set_variable]
														[set_variable]
															name="new_reflection_animations[0].else.frame.image"
															value="$new_reflection_animations[0].else.frame.image:200,$new_reflection_animations[0].else.frame.image:200"
														[/set_variable]
														[set_variable]
															name="new_reflection_animations[0].else.frame.halo_y"
															value=38
														[/set_variable]
														[set_variable]
															formula="concatenate('$new_reflection_animations[0].else.frame.halo_mod|','~CROP(0,0,72,(72-22))~BL(1)~O(33%)~FL(vertical)')"
															name="new_reflection_animations[0].else.frame.halo_mod"
														[/set_variable]
													[/else]
												[/if]
											[/else]
										[/if]
									[/else]
								[/if]
							[/then]
						[/if]
					[/else]
				[/if]
			[/then]
			[else]
				[if]
					[variable]
						name="unit.image"
						not_equals=""
					[/variable]
					[then]
						[set_variables]
							name="new_reflection_animations"
							[value]
								apply_to="standing"
								data_apply_to="pre_movement_anim"
								start_time=0
								terrain_type="Wwf,Wwrg,Wwr,Wwrt"
								[frame]
									halo="$unit.image:200,$unit.image:200"
									halo_mod="~CROP(0,0,72,$(72-22))~BL(1)~O(33%)~FL(vertical)"
									halo_y=38
									image="$unit.image:200,$unit.image:200"
								[/frame]
							[/value]
						[/set_variables]
					[/then]
				[/if]
			[/else]
		[/if]
		[set_variables]
			mode="append"
			name="add_animations_variable"
			to_variable="new_reflection_animations"
		[/set_variables]
		[clear_variable]
			name="new_reflection_animations"
		[/clear_variable]
		[if]
			[variable]
				greater_than_equal_to=1
				name="reflect_unit_type.post_movement_anim.length"
			[/variable]
			[then]
				[if]
					[variable]
						greater_than_equal_to=2
						name="reflect_unit_type.post_movement_anim.length"
					[/variable]
					[then]
						[foreach]
							array="reflect_unit_type.post_movement_anim"
							[do]
								[set_variables]
									name="new_reflection_animations[$i]"
									to_variable="this_item"
								[/set_variables]
								[set_variable]
									name="new_reflection_animations[$i].start_time"
									value=0
								[/set_variable]
								[set_variable]
									name="new_reflection_animations[$i].data_apply_to"
									value="post_movement_anim"
								[/set_variable]
								[set_variable]
									name="new_reflection_animations[$i].base_score"
									value=2
								[/set_variable]
								[set_variables]
									mode="append"
									name="new_reflection_animations[$i].filter"
									[value]
										[filter_location]
											terrain="Wwt,Ww,Wwg"
										[/filter_location]
									[/value]
								[/set_variables]
								[if]
									[variable]
										greater_than_equal_to=1
										name="new_reflection_animations[$i].if.length"
									[/variable]
									[then]
										[if]
											[variable]
												greater_than_equal_to=2
												name="new_reflection_animations[$i].if.length"
											[/variable]
											[then]
												[foreach]
													array="new_reflection_animations[$i].if"
													index_var="k"
													variable="conditional_item"
													[do]
														[if]
															[variable]
																greater_than_equal_to=2
																name="conditional_item.frame.length"
															[/variable]
															[then]
																[foreach]
																	array="conditional_item.frame"
																	index_var="f"
																	variable="frame_item_temp"
																	[do]
																		[if]
																			[variable]
																				equals=""
																				name="frame_item_temp.image"
																			[/variable]
																			[then]
																				[set_variable]
																					name="frame_item_temp.halo"
																					value="$unit.image:200,$unit.image:200"
																				[/set_variable]
																				[set_variable]
																					name="frame_item_temp.image"
																					value="$unit.image:200,$unit.image:200"
																				[/set_variable]
																				[set_variable]
																					name="frame_item_temp.halo_y"
																					value=29
																				[/set_variable]
																				[set_variable]
																					formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-29))~BL(1)~O(33%)~FL(vertical)')"
																					name="frame_item_temp.halo_mod"
																				[/set_variable]
																			[/then]
																			[else]
																				[set_variable]
																					name="frame_item_temp.halo"
																					value="$frame_item_temp.image:200,$frame_item_temp.image:200"
																				[/set_variable]
																				[set_variable]
																					name="frame_item_temp.image"
																					value="$frame_item_temp.image:200,$frame_item_temp.image:200"
																				[/set_variable]
																				[set_variable]
																					name="frame_item_temp.halo_y"
																					value=29
																				[/set_variable]
																				[set_variable]
																					formula="concatenate('$frame_item_temp.halo_mod|','~CROP(0,0,72,(72-29))~BL(1)~O(33%)~FL(vertical)')"
																					name="frame_item_temp.halo_mod"
																				[/set_variable]
																			[/else]
																		[/if]
																	[/do]
																[/foreach]
															[/then]
															[else]
																[if]
																	[variable]
																		equals=""
																		name="conditional_item.frame.image"
																	[/variable]
																	[then]
																		[set_variable]
																			name="conditional_item.frame.halo"
																			value="$unit.image:200,$unit.image:200"
																		[/set_variable]
																		[set_variable]
																			name="conditional_item.frame.image"
																			value="$unit.image:200,$unit.image:200"
																		[/set_variable]
																		[set_variable]
																			name="conditional_item.frame.halo_y"
																			value=29
																		[/set_variable]
																		[set_variable]
																			formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-29))~BL(1)~O(33%)~FL(vertical)')"
																			name="conditional_item.frame.halo_mod"
																		[/set_variable]
																	[/then]
																	[else]
																		[set_variable]
																			name="conditional_item.frame.halo"
																			value="$conditional_item.frame.image:200,$conditional_item.frame.image:200"
																		[/set_variable]
																		[set_variable]
																			name="conditional_item.frame.image"
																			value="$conditional_item.frame.image:200,$conditional_item.frame.image:200"
																		[/set_variable]
																		[set_variable]
																			name="conditional_item.frame.halo_y"
																			value=29
																		[/set_variable]
																		[set_variable]
																			formula="concatenate('$conditional_item.frame.halo_mod|','~CROP(0,0,72,(72-29))~BL(1)~O(33%)~FL(vertical)')"
																			name="conditional_item.frame.halo_mod"
																		[/set_variable]
																	[/else]
																[/if]
															[/else]
														[/if]
													[/do]
												[/foreach]
											[/then]
											[else]
												[if]
													[variable]
														greater_than_equal_to=2
														name="new_reflection_animations[$i].if.frame.length"
													[/variable]
													[then]
														[foreach]
															array="new_reflection_animations[$i].if.frame"
															index_var="f"
															variable="frame_item_temp"
															[do]
																[if]
																	[variable]
																		equals=""
																		name="frame_item_temp.image"
																	[/variable]
																	[then]
																		[set_variable]
																			name="frame_item_temp.halo"
																			value="$unit.image:200,$unit.image:200"
																		[/set_variable]
																		[set_variable]
																			name="frame_item_temp.image"
																			value="$unit.image:200,$unit.image:200"
																		[/set_variable]
																		[set_variable]
																			name="frame_item_temp.halo_y"
																			value=29
																		[/set_variable]
																		[set_variable]
																			formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-29))~BL(1)~O(33%)~FL(vertical)')"
																			name="frame_item_temp.halo_mod"
																		[/set_variable]
																	[/then]
																	[else]
																		[set_variable]
																			name="frame_item_temp.halo"
																			value="$frame_item_temp.image:200,$frame_item_temp.image:200"
																		[/set_variable]
																		[set_variable]
																			name="frame_item_temp.image"
																			value="$frame_item_temp.image:200,$frame_item_temp.image:200"
																		[/set_variable]
																		[set_variable]
																			name="frame_item_temp.halo_y"
																			value=29
																		[/set_variable]
																		[set_variable]
																			formula="concatenate('$frame_item_temp.halo_mod|','~CROP(0,0,72,(72-29))~BL(1)~O(33%)~FL(vertical)')"
																			name="frame_item_temp.halo_mod"
																		[/set_variable]
																	[/else]
																[/if]
															[/do]
														[/foreach]
													[/then]
													[else]
														[if]
															[variable]
																equals=""
																name="new_reflection_animations[$i].if.frame.image"
															[/variable]
															[then]
																[set_variable]
																	name="new_reflection_animations[$i].if.frame.halo"
																	value="$unit.image:200,$unit.image:200"
																[/set_variable]
																[set_variable]
																	name="new_reflection_animations[$i].if.frame.image"
																	value="$unit.image:200,$unit.image:200"
																[/set_variable]
																[set_variable]
																	name="new_reflection_animations[$i].if.frame.halo_y"
																	value=29
																[/set_variable]
																[set_variable]
																	formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-29))~BL(1)~O(33%)~FL(vertical)')"
																	name="new_reflection_animations[$i].if.frame.halo_mod"
																[/set_variable]
															[/then]
															[else]
																[set_variable]
																	name="new_reflection_animations[$i].if.frame.halo"
																	value="$new_reflection_animations[$i].if.frame.image:200,$new_reflection_animations[$i].if.frame.image:200"
																[/set_variable]
																[set_variable]
																	name="new_reflection_animations[$i].if.frame.image"
																	value="$new_reflection_animations[$i].if.frame.image:200,$new_reflection_animations[$i].if.frame.image:200"
																[/set_variable]
																[set_variable]
																	name="new_reflection_animations[$i].if.frame.halo_y"
																	value=29
																[/set_variable]
																[set_variable]
																	formula="concatenate('$new_reflection_animations[$i].if.frame.halo_mod|','~CROP(0,0,72,(72-29))~BL(1)~O(33%)~FL(vertical)')"
																	name="new_reflection_animations[$i].if.frame.halo_mod"
																[/set_variable]
															[/else]
														[/if]
													[/else]
												[/if]
											[/else]
										[/if]
									[/then]
									[else]
										[if]
											[variable]
												greater_than_equal_to=2
												name="new_reflection_animations[$i].frame.length"
											[/variable]
											[then]
												[foreach]
													array="new_reflection_animations[$i].frame"
													index_var="f"
													variable="frame_item_temp"
													[do]
														[if]
															[variable]
																equals=""
																name="frame_item_temp.image"
															[/variable]
															[then]
																[set_variable]
																	name="frame_item_temp.halo"
																	value="$unit.image:200,$unit.image:200"
																[/set_variable]
																[set_variable]
																	name="frame_item_temp.image"
																	value="$unit.image:200,$unit.image:200"
																[/set_variable]
																[set_variable]
																	name="frame_item_temp.halo_y"
																	value=29
																[/set_variable]
																[set_variable]
																	formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-29))~BL(1)~O(33%)~FL(vertical)')"
																	name="frame_item_temp.halo_mod"
																[/set_variable]
															[/then]
															[else]
																[set_variable]
																	name="frame_item_temp.halo"
																	value="$frame_item_temp.image:200,$frame_item_temp.image:200"
																[/set_variable]
																[set_variable]
																	name="frame_item_temp.image"
																	value="$frame_item_temp.image:200,$frame_item_temp.image:200"
																[/set_variable]
																[set_variable]
																	name="frame_item_temp.halo_y"
																	value=29
																[/set_variable]
																[set_variable]
																	formula="concatenate('$frame_item_temp.halo_mod|','~CROP(0,0,72,(72-29))~BL(1)~O(33%)~FL(vertical)')"
																	name="frame_item_temp.halo_mod"
																[/set_variable]
															[/else]
														[/if]
													[/do]
												[/foreach]
											[/then]
											[else]
												[if]
													[variable]
														equals=""
														name="new_reflection_animations[$i].frame.image"
													[/variable]
													[then]
														[set_variable]
															name="new_reflection_animations[$i].frame.halo"
															value="$unit.image:200,$unit.image:200"
														[/set_variable]
														[set_variable]
															name="new_reflection_animations[$i].frame.image"
															value="$unit.image:200,$unit.image:200"
														[/set_variable]
														[set_variable]
															name="new_reflection_animations[$i].frame.halo_y"
															value=29
														[/set_variable]
														[set_variable]
															formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-29))~BL(1)~O(33%)~FL(vertical)')"
															name="new_reflection_animations[$i].frame.halo_mod"
														[/set_variable]
													[/then]
													[else]
														[set_variable]
															name="new_reflection_animations[$i].frame.halo"
															value="$new_reflection_animations[$i].frame.image:200,$new_reflection_animations[$i].frame.image:200"
														[/set_variable]
														[set_variable]
															name="new_reflection_animations[$i].frame.image"
															value="$new_reflection_animations[$i].frame.image:200,$new_reflection_animations[$i].frame.image:200"
														[/set_variable]
														[set_variable]
															name="new_reflection_animations[$i].frame.halo_y"
															value=29
														[/set_variable]
														[set_variable]
															formula="concatenate('$new_reflection_animations[$i].frame.halo_mod|','~CROP(0,0,72,(72-29))~BL(1)~O(33%)~FL(vertical)')"
															name="new_reflection_animations[$i].frame.halo_mod"
														[/set_variable]
													[/else]
												[/if]
											[/else]
										[/if]
									[/else]
								[/if]
								[if]
									[variable]
										greater_than_equal_to=1
										name="new_reflection_animations[$i].else.length"
									[/variable]
									[then]
										[if]
											[variable]
												greater_than_equal_to=2
												name="new_reflection_animations[$i].else.length"
											[/variable]
											[then]
												[foreach]
													array="new_reflection_animations[$i].else"
													index_var="k"
													variable="conditional_item"
													[do]
														[if]
															[variable]
																greater_than_equal_to=2
																name="conditional_item.frame.length"
															[/variable]
															[then]
																[foreach]
																	array="conditional_item.frame"
																	index_var="f"
																	variable="frame_item_temp"
																	[do]
																		[if]
																			[variable]
																				equals=""
																				name="frame_item_temp.image"
																			[/variable]
																			[then]
																				[set_variable]
																					name="frame_item_temp.halo"
																					value="$unit.image:200,$unit.image:200"
																				[/set_variable]
																				[set_variable]
																					name="frame_item_temp.image"
																					value="$unit.image:200,$unit.image:200"
																				[/set_variable]
																				[set_variable]
																					name="frame_item_temp.halo_y"
																					value=29
																				[/set_variable]
																				[set_variable]
																					formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-29))~BL(1)~O(33%)~FL(vertical)')"
																					name="frame_item_temp.halo_mod"
																				[/set_variable]
																			[/then]
																			[else]
																				[set_variable]
																					name="frame_item_temp.halo"
																					value="$frame_item_temp.image:200,$frame_item_temp.image:200"
																				[/set_variable]
																				[set_variable]
																					name="frame_item_temp.image"
																					value="$frame_item_temp.image:200,$frame_item_temp.image:200"
																				[/set_variable]
																				[set_variable]
																					name="frame_item_temp.halo_y"
																					value=29
																				[/set_variable]
																				[set_variable]
																					formula="concatenate('$frame_item_temp.halo_mod|','~CROP(0,0,72,(72-29))~BL(1)~O(33%)~FL(vertical)')"
																					name="frame_item_temp.halo_mod"
																				[/set_variable]
																			[/else]
																		[/if]
																	[/do]
																[/foreach]
															[/then]
															[else]
																[if]
																	[variable]
																		equals=""
																		name="new_reflection_animations[$i].else[$k].frame.image"
																	[/variable]
																	[then]
																		[set_variable]
																			name="new_reflection_animations[$i].else[$k].frame.halo"
																			value="$unit.image:200,$unit.image:200"
																		[/set_variable]
																		[set_variable]
																			name="new_reflection_animations[$i].else[$k].frame.image"
																			value="$unit.image:200,$unit.image:200"
																		[/set_variable]
																		[set_variable]
																			name="new_reflection_animations[$i].else[$k].frame.halo_y"
																			value=29
																		[/set_variable]
																		[set_variable]
																			formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-29))~BL(1)~O(33%)~FL(vertical)')"
																			name="new_reflection_animations[$i].else[$k].frame.halo_mod"
																		[/set_variable]
																	[/then]
																	[else]
																		[set_variable]
																			name="new_reflection_animations[$i].else[$k].frame.halo"
																			value="$new_reflection_animations[$i].else[$k].frame.image:200,$new_reflection_animations[$i].else[$k].frame.image:200"
																		[/set_variable]
																		[set_variable]
																			name="new_reflection_animations[$i].else[$k].frame.image"
																			value="$new_reflection_animations[$i].else[$k].frame.image:200,$new_reflection_animations[$i].else[$k].frame.image:200"
																		[/set_variable]
																		[set_variable]
																			name="new_reflection_animations[$i].else[$k].frame.halo_y"
																			value=29
																		[/set_variable]
																		[set_variable]
																			formula="concatenate('$new_reflection_animations[$i].else[$k].frame.halo_mod|','~CROP(0,0,72,(72-29))~BL(1)~O(33%)~FL(vertical)')"
																			name="new_reflection_animations[$i].else[$k].frame.halo_mod"
																		[/set_variable]
																	[/else]
																[/if]
															[/else]
														[/if]
													[/do]
												[/foreach]
											[/then]
											[else]
												[if]
													[variable]
														greater_than_equal_to=2
														name="new_reflection_animations[$i].else.frame.length"
													[/variable]
													[then]
														[foreach]
															array="new_reflection_animations[$i].else.frame"
															index_var="f"
															variable="frame_item_temp"
															[do]
																[if]
																	[variable]
																		equals=""
																		name="frame_item_temp.image"
																	[/variable]
																	[then]
																		[set_variable]
																			name="frame_item_temp.halo"
																			value="$unit.image:200,$unit.image:200"
																		[/set_variable]
																		[set_variable]
																			name="frame_item_temp.image"
																			value="$unit.image:200,$unit.image:200"
																		[/set_variable]
																		[set_variable]
																			name="frame_item_temp.halo_y"
																			value=29
																		[/set_variable]
																		[set_variable]
																			formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-29))~BL(1)~O(33%)~FL(vertical)')"
																			name="frame_item_temp.halo_mod"
																		[/set_variable]
																	[/then]
																	[else]
																		[set_variable]
																			name="frame_item_temp.halo"
																			value="$frame_item_temp.image:200,$frame_item_temp.image:200"
																		[/set_variable]
																		[set_variable]
																			name="frame_item_temp.image"
																			value="$frame_item_temp.image:200,$frame_item_temp.image:200"
																		[/set_variable]
																		[set_variable]
																			name="frame_item_temp.halo_y"
																			value=29
																		[/set_variable]
																		[set_variable]
																			formula="concatenate('$frame_item_temp.halo_mod|','~CROP(0,0,72,(72-29))~BL(1)~O(33%)~FL(vertical)')"
																			name="frame_item_temp.halo_mod"
																		[/set_variable]
																	[/else]
																[/if]
															[/do]
														[/foreach]
													[/then]
													[else]
														[if]
															[variable]
																equals=""
																name="new_reflection_animations[$i].else.frame.image"
															[/variable]
															[then]
																[set_variable]
																	name="new_reflection_animations[$i].else.frame.halo"
																	value="$unit.image:200,$unit.image:200"
																[/set_variable]
																[set_variable]
																	name="new_reflection_animations[$i].else.frame.image"
																	value="$unit.image:200,$unit.image:200"
																[/set_variable]
																[set_variable]
																	name="new_reflection_animations[$i].else.frame.halo_y"
																	value=29
																[/set_variable]
																[set_variable]
																	formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-29))~BL(1)~O(33%)~FL(vertical)')"
																	name="new_reflection_animations[$i].else.frame.halo_mod"
																[/set_variable]
															[/then]
															[else]
																[set_variable]
																	name="new_reflection_animations[$i].else.frame.halo"
																	value="$new_reflection_animations[$i].else.frame.image:200,$new_reflection_animations[$i].else.frame.image:200"
																[/set_variable]
																[set_variable]
																	name="new_reflection_animations[$i].else.frame.image"
																	value="$new_reflection_animations[$i].else.frame.image:200,$new_reflection_animations[$i].else.frame.image:200"
																[/set_variable]
																[set_variable]
																	name="new_reflection_animations[$i].else.frame.halo_y"
																	value=29
																[/set_variable]
																[set_variable]
																	formula="concatenate('$new_reflection_animations[$i].else.frame.halo_mod|','~CROP(0,0,72,(72-29))~BL(1)~O(33%)~FL(vertical)')"
																	name="new_reflection_animations[$i].else.frame.halo_mod"
																[/set_variable]
															[/else]
														[/if]
													[/else]
												[/if]
											[/else]
										[/if]
									[/then]
								[/if]
							[/do]
						[/foreach]
					[/then]
					[else]
						[set_variables]
							name="new_reflection_animations"
							to_variable="reflect_unit_type.post_movement_anim[0]"
						[/set_variables]
						[set_variable]
							name="new_reflection_animations.data_apply_to"
							value="post_movement_anim"
						[/set_variable]
						[set_variable]
							name="new_reflection_animations.start_time"
							value=0
						[/set_variable]
						[set_variable]
							name="new_reflection_animations.base_score"
							value=2
						[/set_variable]
						[set_variables]
							mode="append"
							name="new_reflection_animations.filter"
							[value]
								[filter_location]
									terrain="Wwt,Ww,Wwg"
								[/filter_location]
							[/value]
						[/set_variables]
						[if]
							[variable]
								greater_than_equal_to=1
								name="reflect_unit_type.post_movement_anim.if.length"
							[/variable]
							[then]
								[if]
									[variable]
										greater_than_equal_to=2
										name="reflect_unit_type.post_movement_anim.if.length"
									[/variable]
									[then]
										[foreach]
											array="reflect_unit_type.post_movement_anim.if"
											index_var="k"
											variable="conditional_item"
											[do]
												[if]
													[variable]
														greater_than_equal_to=2
														name="conditional_item.frame.length"
													[/variable]
													[then]
														[foreach]
															array="conditional_item.frame"
															index_var="f"
															variable="frame_item_temp"
															[do]
																[if]
																	[variable]
																		equals=""
																		name="frame_item_temp.image"
																	[/variable]
																	[then]
																		[set_variable]
																			name="frame_item_temp.halo"
																			value="$unit.image:200,$unit.image:200"
																		[/set_variable]
																		[set_variable]
																			name="frame_item_temp.image"
																			value="$unit.image:200,$unit.image:200"
																		[/set_variable]
																		[set_variable]
																			name="frame_item_temp.halo_y"
																			value=29
																		[/set_variable]
																		[set_variable]
																			formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-29))~BL(1)~O(33%)~FL(vertical)')"
																			name="frame_item_temp.halo_mod"
																		[/set_variable]
																	[/then]
																	[else]
																		[set_variable]
																			name="frame_item_temp.halo"
																			value="$frame_item_temp.image:200,$frame_item_temp.image:200"
																		[/set_variable]
																		[set_variable]
																			name="frame_item_temp.image"
																			value="$frame_item_temp.image:200,$frame_item_temp.image:200"
																		[/set_variable]
																		[set_variable]
																			name="frame_item_temp.halo_y"
																			value=29
																		[/set_variable]
																		[set_variable]
																			formula="concatenate('$frame_item_temp.halo_mod|','~CROP(0,0,72,(72-29))~BL(1)~O(33%)~FL(vertical)')"
																			name="frame_item_temp.halo_mod"
																		[/set_variable]
																	[/else]
																[/if]
															[/do]
														[/foreach]
													[/then]
													[else]
														[if]
															[variable]
																equals=""
																name="new_reflection_animations[0].if[$k].frame.image"
															[/variable]
															[then]
																[set_variable]
																	name="new_reflection_animations[0].if[$k].frame.halo"
																	value="$unit.image:200,$unit.image:200"
																[/set_variable]
																[set_variable]
																	name="new_reflection_animations[0].if[$k].frame.image"
																	value="$unit.image:200,$unit.image:200"
																[/set_variable]
																[set_variable]
																	name="new_reflection_animations[0].if[$k].frame.halo_y"
																	value=29
																[/set_variable]
																[set_variable]
																	formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-29))~BL(1)~O(33%)~FL(vertical)')"
																	name="new_reflection_animations[0].if[$k].frame.halo_mod"
																[/set_variable]
															[/then]
															[else]
																[set_variable]
																	name="new_reflection_animations[0].if[$k].frame.halo"
																	value="$new_reflection_animations[0].if[$k].frame.image:200,$new_reflection_animations[0].if[$k].frame.image:200"
																[/set_variable]
																[set_variable]
																	name="new_reflection_animations[0].if[$k].frame.image"
																	value="$new_reflection_animations[0].if[$k].frame.image:200,$new_reflection_animations[0].if[$k].frame.image:200"
																[/set_variable]
																[set_variable]
																	name="new_reflection_animations[0].if[$k].frame.halo_y"
																	value=29
																[/set_variable]
																[set_variable]
																	formula="concatenate('$new_reflection_animations[0].if[$k].frame.halo_mod|','~CROP(0,0,72,(72-29))~BL(1)~O(33%)~FL(vertical)')"
																	name="new_reflection_animations[0].if[$k].frame.halo_mod"
																[/set_variable]
															[/else]
														[/if]
													[/else]
												[/if]
											[/do]
										[/foreach]
									[/then]
									[else]
										[if]
											[variable]
												greater_than_equal_to=2
												name="reflect_unit_type.post_movement_anim.if.frame.length"
											[/variable]
											[then]
												[foreach]
													array="reflect_unit_type.post_movement_anim.if.frame"
													index_var="f"
													variable="frame_item_temp"
													[do]
														[if]
															[variable]
																equals=""
																name="frame_item_temp.image"
															[/variable]
															[then]
																[set_variable]
																	name="frame_item_temp.halo"
																	value="$unit.image:200,$unit.image:200"
																[/set_variable]
																[set_variable]
																	name="frame_item_temp.image"
																	value="$unit.image:200,$unit.image:200"
																[/set_variable]
																[set_variable]
																	name="frame_item_temp.halo_y"
																	value=29
																[/set_variable]
																[set_variable]
																	formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-29))~BL(1)~O(33%)~FL(vertical)')"
																	name="frame_item_temp.halo_mod"
																[/set_variable]
															[/then]
															[else]
																[set_variable]
																	name="frame_item_temp.halo"
																	value="$frame_item_temp.image:200,$frame_item_temp.image:200"
																[/set_variable]
																[set_variable]
																	name="frame_item_temp.image"
																	value="$frame_item_temp.image:200,$frame_item_temp.image:200"
																[/set_variable]
																[set_variable]
																	name="frame_item_temp.halo_y"
																	value=29
																[/set_variable]
																[set_variable]
																	formula="concatenate('$frame_item_temp.halo_mod|','~CROP(0,0,72,(72-29))~BL(1)~O(33%)~FL(vertical)')"
																	name="frame_item_temp.halo_mod"
																[/set_variable]
															[/else]
														[/if]
													[/do]
												[/foreach]
											[/then]
											[else]
												[if]
													[variable]
														equals=""
														name="new_reflection_animations[0].if.frame.image"
													[/variable]
													[then]
														[set_variable]
															name="new_reflection_animations[0].if.frame.halo"
															value="$unit.image:200,$unit.image:200"
														[/set_variable]
														[set_variable]
															name="new_reflection_animations[0].if.frame.image"
															value="$unit.image:200,$unit.image:200"
														[/set_variable]
														[set_variable]
															name="new_reflection_animations[0].if.frame.halo_y"
															value=29
														[/set_variable]
														[set_variable]
															formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-29))~BL(1)~O(33%)~FL(vertical)')"
															name="new_reflection_animations[0].if.frame.halo_mod"
														[/set_variable]
													[/then]
													[else]
														[set_variable]
															name="new_reflection_animations[0].if.frame.halo"
															value="$new_reflection_animations[0].if.frame.image:200,$new_reflection_animations[0].if.frame.image:200"
														[/set_variable]
														[set_variable]
															name="new_reflection_animations[0].if.frame.image"
															value="$new_reflection_animations[0].if.frame.image:200,$new_reflection_animations[0].if.frame.image:200"
														[/set_variable]
														[set_variable]
															name="new_reflection_animations[0].if.frame.halo_y"
															value=29
														[/set_variable]
														[set_variable]
															formula="concatenate('$new_reflection_animations[0].if.frame.halo_mod|','~CROP(0,0,72,(72-29))~BL(1)~O(33%)~FL(vertical)')"
															name="new_reflection_animations[0].if.frame.halo_mod"
														[/set_variable]
													[/else]
												[/if]
											[/else]
										[/if]
									[/else]
								[/if]
							[/then]
							[else]
								[if]
									[variable]
										greater_than_equal_to=2
										name="new_reflection_animations[0].frame.length"
									[/variable]
									[then]
										[foreach]
											array="new_reflection_animations[0].frame"
											index_var="f"
											variable="frame_item_temp"
											[do]
												[if]
													[variable]
														equals=""
														name="frame_item_temp.image"
													[/variable]
													[then]
														[set_variable]
															name="frame_item_temp.halo"
															value="$unit.image:200,$unit.image:200"
														[/set_variable]
														[set_variable]
															name="frame_item_temp.image"
															value="$unit.image:200,$unit.image:200"
														[/set_variable]
														[set_variable]
															name="frame_item_temp.halo_y"
															value=29
														[/set_variable]
														[set_variable]
															formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-29))~BL(1)~O(33%)~FL(vertical)')"
															name="frame_item_temp.halo_mod"
														[/set_variable]
													[/then]
													[else]
														[set_variable]
															name="frame_item_temp.halo"
															value="$frame_item_temp.image:200,$frame_item_temp.image:200"
														[/set_variable]
														[set_variable]
															name="frame_item_temp.image"
															value="$frame_item_temp.image:200,$frame_item_temp.image:200"
														[/set_variable]
														[set_variable]
															name="frame_item_temp.halo_y"
															value=29
														[/set_variable]
														[set_variable]
															formula="concatenate('$frame_item_temp.halo_mod|','~CROP(0,0,72,(72-29))~BL(1)~O(33%)~FL(vertical)')"
															name="frame_item_temp.halo_mod"
														[/set_variable]
													[/else]
												[/if]
											[/do]
										[/foreach]
									[/then]
									[else]
										[if]
											[variable]
												equals=""
												name="new_reflection_animations[0].frame.image"
											[/variable]
											[then]
												[set_variable]
													name="new_reflection_animations[0].frame.halo"
													value="$unit.image:200,$unit.image:200"
												[/set_variable]
												[set_variable]
													name="new_reflection_animations[0].frame.image"
													value="$unit.image:200,$unit.image:200"
												[/set_variable]
												[set_variable]
													name="new_reflection_animations[0].frame.halo_y"
													value=29
												[/set_variable]
												[set_variable]
													formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-29))~BL(1)~O(33%)~FL(vertical)')"
													name="new_reflection_animations[0].frame.halo_mod"
												[/set_variable]
											[/then]
											[else]
												[set_variable]
													name="new_reflection_animations[0].frame.halo"
													value="$new_reflection_animations[0].frame.image:200,$new_reflection_animations[0].frame.image:200"
												[/set_variable]
												[set_variable]
													name="new_reflection_animations[0].frame.image"
													value="$new_reflection_animations[0].frame.image:200,$new_reflection_animations[0].frame.image:200"
												[/set_variable]
												[set_variable]
													name="new_reflection_animations[0].frame.halo_y"
													value=29
												[/set_variable]
												[set_variable]
													formula="concatenate('$new_reflection_animations[0].frame.halo_mod|','~CROP(0,0,72,(72-29))~BL(1)~O(33%)~FL(vertical)')"
													name="new_reflection_animations[0].frame.halo_mod"
												[/set_variable]
											[/else]
										[/if]
									[/else]
								[/if]
							[/else]
						[/if]
						[if]
							[variable]
								greater_than_equal_to=1
								name="reflect_unit_type.post_movement_anim.else.length"
							[/variable]
							[then]
								[if]
									[variable]
										greater_than_equal_to=2
										name="reflect_unit_type.post_movement_anim.else.length"
									[/variable]
									[then]
										[foreach]
											array="reflect_unit_type.post_movement_anim.else"
											index_var="k"
											variable="conditional_item"
											[do]
												[if]
													[variable]
														greater_than_equal_to=2
														name="conditional_item.frame.length"
													[/variable]
													[then]
														[foreach]
															array="conditional_item.frame"
															index_var="f"
															variable="frame_item_temp"
															[do]
																[if]
																	[variable]
																		equals=""
																		name="frame_item_temp.image"
																	[/variable]
																	[then]
																		[set_variable]
																			name="frame_item_temp.halo"
																			value="$unit.image:200,$unit.image:200"
																		[/set_variable]
																		[set_variable]
																			name="frame_item_temp.image"
																			value="$unit.image:200,$unit.image:200"
																		[/set_variable]
																		[set_variable]
																			name="frame_item_temp.halo_y"
																			value=29
																		[/set_variable]
																		[set_variable]
																			formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-29))~BL(1)~O(33%)~FL(vertical)')"
																			name="frame_item_temp.halo_mod"
																		[/set_variable]
																	[/then]
																	[else]
																		[set_variable]
																			name="frame_item_temp.halo"
																			value="$frame_item_temp.image:200,$frame_item_temp.image:200"
																		[/set_variable]
																		[set_variable]
																			name="frame_item_temp.image"
																			value="$frame_item_temp.image:200,$frame_item_temp.image:200"
																		[/set_variable]
																		[set_variable]
																			name="frame_item_temp.halo_y"
																			value=29
																		[/set_variable]
																		[set_variable]
																			formula="concatenate('$frame_item_temp.halo_mod|','~CROP(0,0,72,(72-29))~BL(1)~O(33%)~FL(vertical)')"
																			name="frame_item_temp.halo_mod"
																		[/set_variable]
																	[/else]
																[/if]
															[/do]
														[/foreach]
													[/then]
													[else]
														[if]
															[variable]
																equals=""
																name="new_reflection_animations[0].else[$k].frame.image"
															[/variable]
															[then]
																[set_variable]
																	name="new_reflection_animations[0].else[$k].frame.halo"
																	value="$unit.image:200,$unit.image:200"
																[/set_variable]
																[set_variable]
																	name="new_reflection_animations[0].else[$k].frame.image"
																	value="$unit.image:200,$unit.image:200"
																[/set_variable]
																[set_variable]
																	name="new_reflection_animations[0].else[$k].frame.halo_y"
																	value=29
																[/set_variable]
																[set_variable]
																	formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-29))~BL(1)~O(33%)~FL(vertical)')"
																	name="new_reflection_animations[0].else[$k].frame.halo_mod"
																[/set_variable]
															[/then]
															[else]
																[set_variable]
																	name="new_reflection_animations[0].else[$k].frame.halo"
																	value="$new_reflection_animations[0].else[$k].frame.image:200,$new_reflection_animations[0].else[$k].frame.image:200"
																[/set_variable]
																[set_variable]
																	name="new_reflection_animations[0].else[$k].frame.image"
																	value="$new_reflection_animations[0].else[$k].frame.image:200,$new_reflection_animations[0].else[$k].frame.image:200"
																[/set_variable]
																[set_variable]
																	name="new_reflection_animations[0].else[$k].frame.halo_y"
																	value=29
																[/set_variable]
																[set_variable]
																	formula="concatenate('$new_reflection_animations[0].else[$k].frame.halo_mod|','~CROP(0,0,72,(72-29))~BL(1)~O(33%)~FL(vertical)')"
																	name="new_reflection_animations[0].else[$k].frame.halo_mod"
																[/set_variable]
															[/else]
														[/if]
													[/else]
												[/if]
											[/do]
										[/foreach]
									[/then]
									[else]
										[if]
											[variable]
												greater_than_equal_to=2
												name="reflect_unit_type.post_movement_anim.else.frame.length"
											[/variable]
											[then]
												[foreach]
													array="reflect_unit_type.post_movement_anim.else.frame"
													index_var="f"
													variable="frame_item_temp"
													[do]
														[if]
															[variable]
																equals=""
																name="frame_item_temp.image"
															[/variable]
															[then]
																[set_variable]
																	name="frame_item_temp.halo"
																	value="$unit.image:200,$unit.image:200"
																[/set_variable]
																[set_variable]
																	name="frame_item_temp.image"
																	value="$unit.image:200,$unit.image:200"
																[/set_variable]
																[set_variable]
																	name="frame_item_temp.halo_y"
																	value=29
																[/set_variable]
																[set_variable]
																	formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-29))~BL(1)~O(33%)~FL(vertical)')"
																	name="frame_item_temp.halo_mod"
																[/set_variable]
															[/then]
															[else]
																[set_variable]
																	name="frame_item_temp.halo"
																	value="$frame_item_temp.image:200,$frame_item_temp.image:200"
																[/set_variable]
																[set_variable]
																	name="frame_item_temp.image"
																	value="$frame_item_temp.image:200,$frame_item_temp.image:200"
																[/set_variable]
																[set_variable]
																	name="frame_item_temp.halo_y"
																	value=29
																[/set_variable]
																[set_variable]
																	formula="concatenate('$frame_item_temp.halo_mod|','~CROP(0,0,72,(72-29))~BL(1)~O(33%)~FL(vertical)')"
																	name="frame_item_temp.halo_mod"
																[/set_variable]
															[/else]
														[/if]
													[/do]
												[/foreach]
											[/then]
											[else]
												[if]
													[variable]
														equals=""
														name="new_reflection_animations[0].else.frame.image"
													[/variable]
													[then]
														[set_variable]
															name="new_reflection_animations[0].else.frame.halo"
															value="$unit.image:200,$unit.image:200"
														[/set_variable]
														[set_variable]
															name="new_reflection_animations[0].else.frame.image"
															value="$unit.image:200,$unit.image:200"
														[/set_variable]
														[set_variable]
															name="new_reflection_animations[0].else.frame.halo_y"
															value=29
														[/set_variable]
														[set_variable]
															formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-29))~BL(1)~O(33%)~FL(vertical)')"
															name="new_reflection_animations[0].else.frame.halo_mod"
														[/set_variable]
													[/then]
													[else]
														[set_variable]
															name="new_reflection_animations[0].else.frame.halo"
															value="$new_reflection_animations[0].else.frame.image:200,$new_reflection_animations[0].else.frame.image:200"
														[/set_variable]
														[set_variable]
															name="new_reflection_animations[0].else.frame.image"
															value="$new_reflection_animations[0].else.frame.image:200,$new_reflection_animations[0].else.frame.image:200"
														[/set_variable]
														[set_variable]
															name="new_reflection_animations[0].else.frame.halo_y"
															value=29
														[/set_variable]
														[set_variable]
															formula="concatenate('$new_reflection_animations[0].else.frame.halo_mod|','~CROP(0,0,72,(72-29))~BL(1)~O(33%)~FL(vertical)')"
															name="new_reflection_animations[0].else.frame.halo_mod"
														[/set_variable]
													[/else]
												[/if]
											[/else]
										[/if]
									[/else]
								[/if]
							[/then]
						[/if]
					[/else]
				[/if]
			[/then]
			[else]
				[if]
					[variable]
						name="unit.image"
						not_equals=""
					[/variable]
					[then]
						[set_variables]
							name="new_reflection_animations"
							[value]
								apply_to="standing"
								data_apply_to="post_movement_anim"
								start_time=0
								terrain_type="Wwt,Ww,Wwg"
								[frame]
									halo="$unit.image:200,$unit.image:200"
									halo_mod="~CROP(0,0,72,$(72-29))~BL(1)~O(33%)~FL(vertical)"
									halo_y=29
									image="$unit.image:200,$unit.image:200"
								[/frame]
							[/value]
						[/set_variables]
					[/then]
				[/if]
			[/else]
		[/if]
		[set_variables]
			mode="append"
			name="add_animations_variable"
			to_variable="new_reflection_animations"
		[/set_variables]
		[clear_variable]
			name="new_reflection_animations"
		[/clear_variable]
		[if]
			[variable]
				greater_than_equal_to=1
				name="reflect_unit_type.post_movement_anim.length"
			[/variable]
			[then]
				[if]
					[variable]
						greater_than_equal_to=2
						name="reflect_unit_type.post_movement_anim.length"
					[/variable]
					[then]
						[foreach]
							array="reflect_unit_type.post_movement_anim"
							[do]
								[set_variables]
									name="new_reflection_animations[$i]"
									to_variable="this_item"
								[/set_variables]
								[set_variable]
									name="new_reflection_animations[$i].start_time"
									value=0
								[/set_variable]
								[set_variable]
									name="new_reflection_animations[$i].data_apply_to"
									value="post_movement_anim"
								[/set_variable]
								[set_variable]
									name="new_reflection_animations[$i].base_score"
									value=2
								[/set_variable]
								[set_variables]
									mode="append"
									name="new_reflection_animations[$i].filter"
									[value]
										[filter_location]
											terrain="Wot,Wo,Wog"
										[/filter_location]
									[/value]
								[/set_variables]
								[if]
									[variable]
										greater_than_equal_to=1
										name="new_reflection_animations[$i].if.length"
									[/variable]
									[then]
										[if]
											[variable]
												greater_than_equal_to=2
												name="new_reflection_animations[$i].if.length"
											[/variable]
											[then]
												[foreach]
													array="new_reflection_animations[$i].if"
													index_var="k"
													variable="conditional_item"
													[do]
														[if]
															[variable]
																greater_than_equal_to=2
																name="conditional_item.frame.length"
															[/variable]
															[then]
																[foreach]
																	array="conditional_item.frame"
																	index_var="f"
																	variable="frame_item_temp"
																	[do]
																		[if]
																			[variable]
																				equals=""
																				name="frame_item_temp.image"
																			[/variable]
																			[then]
																				[set_variable]
																					name="frame_item_temp.halo"
																					value="$unit.image:200,$unit.image:200"
																				[/set_variable]
																				[set_variable]
																					name="frame_item_temp.image"
																					value="$unit.image:200,$unit.image:200"
																				[/set_variable]
																				[set_variable]
																					name="frame_item_temp.halo_y"
																					value=18
																				[/set_variable]
																				[set_variable]
																					formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-36))~BL(1)~O(33%)~FL(vertical)')"
																					name="frame_item_temp.halo_mod"
																				[/set_variable]
																			[/then]
																			[else]
																				[set_variable]
																					name="frame_item_temp.halo"
																					value="$frame_item_temp.image:200,$frame_item_temp.image:200"
																				[/set_variable]
																				[set_variable]
																					name="frame_item_temp.image"
																					value="$frame_item_temp.image:200,$frame_item_temp.image:200"
																				[/set_variable]
																				[set_variable]
																					name="frame_item_temp.halo_y"
																					value=18
																				[/set_variable]
																				[set_variable]
																					formula="concatenate('$frame_item_temp.halo_mod|','~CROP(0,0,72,(72-36))~BL(1)~O(33%)~FL(vertical)')"
																					name="frame_item_temp.halo_mod"
																				[/set_variable]
																			[/else]
																		[/if]
																	[/do]
																[/foreach]
															[/then]
															[else]
																[if]
																	[variable]
																		equals=""
																		name="conditional_item.frame.image"
																	[/variable]
																	[then]
																		[set_variable]
																			name="conditional_item.frame.halo"
																			value="$unit.image:200,$unit.image:200"
																		[/set_variable]
																		[set_variable]
																			name="conditional_item.frame.image"
																			value="$unit.image:200,$unit.image:200"
																		[/set_variable]
																		[set_variable]
																			name="conditional_item.frame.halo_y"
																			value=18
																		[/set_variable]
																		[set_variable]
																			formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-36))~BL(1)~O(33%)~FL(vertical)')"
																			name="conditional_item.frame.halo_mod"
																		[/set_variable]
																	[/then]
																	[else]
																		[set_variable]
																			name="conditional_item.frame.halo"
																			value="$conditional_item.frame.image:200,$conditional_item.frame.image:200"
																		[/set_variable]
																		[set_variable]
																			name="conditional_item.frame.image"
																			value="$conditional_item.frame.image:200,$conditional_item.frame.image:200"
																		[/set_variable]
																		[set_variable]
																			name="conditional_item.frame.halo_y"
																			value=18
																		[/set_variable]
																		[set_variable]
																			formula="concatenate('$conditional_item.frame.halo_mod|','~CROP(0,0,72,(72-36))~BL(1)~O(33%)~FL(vertical)')"
																			name="conditional_item.frame.halo_mod"
																		[/set_variable]
																	[/else]
																[/if]
															[/else]
														[/if]
													[/do]
												[/foreach]
											[/then]
											[else]
												[if]
													[variable]
														greater_than_equal_to=2
														name="new_reflection_animations[$i].if.frame.length"
													[/variable]
													[then]
														[foreach]
															array="new_reflection_animations[$i].if.frame"
															index_var="f"
															variable="frame_item_temp"
															[do]
																[if]
																	[variable]
																		equals=""
																		name="frame_item_temp.image"
																	[/variable]
																	[then]
																		[set_variable]
																			name="frame_item_temp.halo"
																			value="$unit.image:200,$unit.image:200"
																		[/set_variable]
																		[set_variable]
																			name="frame_item_temp.image"
																			value="$unit.image:200,$unit.image:200"
																		[/set_variable]
																		[set_variable]
																			name="frame_item_temp.halo_y"
																			value=18
																		[/set_variable]
																		[set_variable]
																			formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-36))~BL(1)~O(33%)~FL(vertical)')"
																			name="frame_item_temp.halo_mod"
																		[/set_variable]
																	[/then]
																	[else]
																		[set_variable]
																			name="frame_item_temp.halo"
																			value="$frame_item_temp.image:200,$frame_item_temp.image:200"
																		[/set_variable]
																		[set_variable]
																			name="frame_item_temp.image"
																			value="$frame_item_temp.image:200,$frame_item_temp.image:200"
																		[/set_variable]
																		[set_variable]
																			name="frame_item_temp.halo_y"
																			value=18
																		[/set_variable]
																		[set_variable]
																			formula="concatenate('$frame_item_temp.halo_mod|','~CROP(0,0,72,(72-36))~BL(1)~O(33%)~FL(vertical)')"
																			name="frame_item_temp.halo_mod"
																		[/set_variable]
																	[/else]
																[/if]
															[/do]
														[/foreach]
													[/then]
													[else]
														[if]
															[variable]
																equals=""
																name="new_reflection_animations[$i].if.frame.image"
															[/variable]
															[then]
																[set_variable]
																	name="new_reflection_animations[$i].if.frame.halo"
																	value="$unit.image:200,$unit.image:200"
																[/set_variable]
																[set_variable]
																	name="new_reflection_animations[$i].if.frame.image"
																	value="$unit.image:200,$unit.image:200"
																[/set_variable]
																[set_variable]
																	name="new_reflection_animations[$i].if.frame.halo_y"
																	value=18
																[/set_variable]
																[set_variable]
																	formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-36))~BL(1)~O(33%)~FL(vertical)')"
																	name="new_reflection_animations[$i].if.frame.halo_mod"
																[/set_variable]
															[/then]
															[else]
																[set_variable]
																	name="new_reflection_animations[$i].if.frame.halo"
																	value="$new_reflection_animations[$i].if.frame.image:200,$new_reflection_animations[$i].if.frame.image:200"
																[/set_variable]
																[set_variable]
																	name="new_reflection_animations[$i].if.frame.image"
																	value="$new_reflection_animations[$i].if.frame.image:200,$new_reflection_animations[$i].if.frame.image:200"
																[/set_variable]
																[set_variable]
																	name="new_reflection_animations[$i].if.frame.halo_y"
																	value=18
																[/set_variable]
																[set_variable]
																	formula="concatenate('$new_reflection_animations[$i].if.frame.halo_mod|','~CROP(0,0,72,(72-36))~BL(1)~O(33%)~FL(vertical)')"
																	name="new_reflection_animations[$i].if.frame.halo_mod"
																[/set_variable]
															[/else]
														[/if]
													[/else]
												[/if]
											[/else]
										[/if]
									[/then]
									[else]
										[if]
											[variable]
												greater_than_equal_to=2
												name="new_reflection_animations[$i].frame.length"
											[/variable]
											[then]
												[foreach]
													array="new_reflection_animations[$i].frame"
													index_var="f"
													variable="frame_item_temp"
													[do]
														[if]
															[variable]
																equals=""
																name="frame_item_temp.image"
															[/variable]
															[then]
																[set_variable]
																	name="frame_item_temp.halo"
																	value="$unit.image:200,$unit.image:200"
																[/set_variable]
																[set_variable]
																	name="frame_item_temp.image"
																	value="$unit.image:200,$unit.image:200"
																[/set_variable]
																[set_variable]
																	name="frame_item_temp.halo_y"
																	value=18
																[/set_variable]
																[set_variable]
																	formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-36))~BL(1)~O(33%)~FL(vertical)')"
																	name="frame_item_temp.halo_mod"
																[/set_variable]
															[/then]
															[else]
																[set_variable]
																	name="frame_item_temp.halo"
																	value="$frame_item_temp.image:200,$frame_item_temp.image:200"
																[/set_variable]
																[set_variable]
																	name="frame_item_temp.image"
																	value="$frame_item_temp.image:200,$frame_item_temp.image:200"
																[/set_variable]
																[set_variable]
																	name="frame_item_temp.halo_y"
																	value=18
																[/set_variable]
																[set_variable]
																	formula="concatenate('$frame_item_temp.halo_mod|','~CROP(0,0,72,(72-36))~BL(1)~O(33%)~FL(vertical)')"
																	name="frame_item_temp.halo_mod"
																[/set_variable]
															[/else]
														[/if]
													[/do]
												[/foreach]
											[/then]
											[else]
												[if]
													[variable]
														equals=""
														name="new_reflection_animations[$i].frame.image"
													[/variable]
													[then]
														[set_variable]
															name="new_reflection_animations[$i].frame.halo"
															value="$unit.image:200,$unit.image:200"
														[/set_variable]
														[set_variable]
															name="new_reflection_animations[$i].frame.image"
															value="$unit.image:200,$unit.image:200"
														[/set_variable]
														[set_variable]
															name="new_reflection_animations[$i].frame.halo_y"
															value=18
														[/set_variable]
														[set_variable]
															formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-36))~BL(1)~O(33%)~FL(vertical)')"
															name="new_reflection_animations[$i].frame.halo_mod"
														[/set_variable]
													[/then]
													[else]
														[set_variable]
															name="new_reflection_animations[$i].frame.halo"
															value="$new_reflection_animations[$i].frame.image:200,$new_reflection_animations[$i].frame.image:200"
														[/set_variable]
														[set_variable]
															name="new_reflection_animations[$i].frame.image"
															value="$new_reflection_animations[$i].frame.image:200,$new_reflection_animations[$i].frame.image:200"
														[/set_variable]
														[set_variable]
															name="new_reflection_animations[$i].frame.halo_y"
															value=18
														[/set_variable]
														[set_variable]
															formula="concatenate('$new_reflection_animations[$i].frame.halo_mod|','~CROP(0,0,72,(72-36))~BL(1)~O(33%)~FL(vertical)')"
															name="new_reflection_animations[$i].frame.halo_mod"
														[/set_variable]
													[/else]
												[/if]
											[/else]
										[/if]
									[/else]
								[/if]
								[if]
									[variable]
										greater_than_equal_to=1
										name="new_reflection_animations[$i].else.length"
									[/variable]
									[then]
										[if]
											[variable]
												greater_than_equal_to=2
												name="new_reflection_animations[$i].else.length"
											[/variable]
											[then]
												[foreach]
													array="new_reflection_animations[$i].else"
													index_var="k"
													variable="conditional_item"
													[do]
														[if]
															[variable]
																greater_than_equal_to=2
																name="conditional_item.frame.length"
															[/variable]
															[then]
																[foreach]
																	array="conditional_item.frame"
																	index_var="f"
																	variable="frame_item_temp"
																	[do]
																		[if]
																			[variable]
																				equals=""
																				name="frame_item_temp.image"
																			[/variable]
																			[then]
																				[set_variable]
																					name="frame_item_temp.halo"
																					value="$unit.image:200,$unit.image:200"
																				[/set_variable]
																				[set_variable]
																					name="frame_item_temp.image"
																					value="$unit.image:200,$unit.image:200"
																				[/set_variable]
																				[set_variable]
																					name="frame_item_temp.halo_y"
																					value=18
																				[/set_variable]
																				[set_variable]
																					formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-36))~BL(1)~O(33%)~FL(vertical)')"
																					name="frame_item_temp.halo_mod"
																				[/set_variable]
																			[/then]
																			[else]
																				[set_variable]
																					name="frame_item_temp.halo"
																					value="$frame_item_temp.image:200,$frame_item_temp.image:200"
																				[/set_variable]
																				[set_variable]
																					name="frame_item_temp.image"
																					value="$frame_item_temp.image:200,$frame_item_temp.image:200"
																				[/set_variable]
																				[set_variable]
																					name="frame_item_temp.halo_y"
																					value=18
																				[/set_variable]
																				[set_variable]
																					formula="concatenate('$frame_item_temp.halo_mod|','~CROP(0,0,72,(72-36))~BL(1)~O(33%)~FL(vertical)')"
																					name="frame_item_temp.halo_mod"
																				[/set_variable]
																			[/else]
																		[/if]
																	[/do]
																[/foreach]
															[/then]
															[else]
																[if]
																	[variable]
																		equals=""
																		name="new_reflection_animations[$i].else[$k].frame.image"
																	[/variable]
																	[then]
																		[set_variable]
																			name="new_reflection_animations[$i].else[$k].frame.halo"
																			value="$unit.image:200,$unit.image:200"
																		[/set_variable]
																		[set_variable]
																			name="new_reflection_animations[$i].else[$k].frame.image"
																			value="$unit.image:200,$unit.image:200"
																		[/set_variable]
																		[set_variable]
																			name="new_reflection_animations[$i].else[$k].frame.halo_y"
																			value=18
																		[/set_variable]
																		[set_variable]
																			formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-36))~BL(1)~O(33%)~FL(vertical)')"
																			name="new_reflection_animations[$i].else[$k].frame.halo_mod"
																		[/set_variable]
																	[/then]
																	[else]
																		[set_variable]
																			name="new_reflection_animations[$i].else[$k].frame.halo"
																			value="$new_reflection_animations[$i].else[$k].frame.image:200,$new_reflection_animations[$i].else[$k].frame.image:200"
																		[/set_variable]
																		[set_variable]
																			name="new_reflection_animations[$i].else[$k].frame.image"
																			value="$new_reflection_animations[$i].else[$k].frame.image:200,$new_reflection_animations[$i].else[$k].frame.image:200"
																		[/set_variable]
																		[set_variable]
																			name="new_reflection_animations[$i].else[$k].frame.halo_y"
																			value=18
																		[/set_variable]
																		[set_variable]
																			formula="concatenate('$new_reflection_animations[$i].else[$k].frame.halo_mod|','~CROP(0,0,72,(72-36))~BL(1)~O(33%)~FL(vertical)')"
																			name="new_reflection_animations[$i].else[$k].frame.halo_mod"
																		[/set_variable]
																	[/else]
																[/if]
															[/else]
														[/if]
													[/do]
												[/foreach]
											[/then]
											[else]
												[if]
													[variable]
														greater_than_equal_to=2
														name="new_reflection_animations[$i].else.frame.length"
													[/variable]
													[then]
														[foreach]
															array="new_reflection_animations[$i].else.frame"
															index_var="f"
															variable="frame_item_temp"
															[do]
																[if]
																	[variable]
																		equals=""
																		name="frame_item_temp.image"
																	[/variable]
																	[then]
																		[set_variable]
																			name="frame_item_temp.halo"
																			value="$unit.image:200,$unit.image:200"
																		[/set_variable]
																		[set_variable]
																			name="frame_item_temp.image"
																			value="$unit.image:200,$unit.image:200"
																		[/set_variable]
																		[set_variable]
																			name="frame_item_temp.halo_y"
																			value=18
																		[/set_variable]
																		[set_variable]
																			formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-36))~BL(1)~O(33%)~FL(vertical)')"
																			name="frame_item_temp.halo_mod"
																		[/set_variable]
																	[/then]
																	[else]
																		[set_variable]
																			name="frame_item_temp.halo"
																			value="$frame_item_temp.image:200,$frame_item_temp.image:200"
																		[/set_variable]
																		[set_variable]
																			name="frame_item_temp.image"
																			value="$frame_item_temp.image:200,$frame_item_temp.image:200"
																		[/set_variable]
																		[set_variable]
																			name="frame_item_temp.halo_y"
																			value=18
																		[/set_variable]
																		[set_variable]
																			formula="concatenate('$frame_item_temp.halo_mod|','~CROP(0,0,72,(72-36))~BL(1)~O(33%)~FL(vertical)')"
																			name="frame_item_temp.halo_mod"
																		[/set_variable]
																	[/else]
																[/if]
															[/do]
														[/foreach]
													[/then]
													[else]
														[if]
															[variable]
																equals=""
																name="new_reflection_animations[$i].else.frame.image"
															[/variable]
															[then]
																[set_variable]
																	name="new_reflection_animations[$i].else.frame.halo"
																	value="$unit.image:200,$unit.image:200"
																[/set_variable]
																[set_variable]
																	name="new_reflection_animations[$i].else.frame.image"
																	value="$unit.image:200,$unit.image:200"
																[/set_variable]
																[set_variable]
																	name="new_reflection_animations[$i].else.frame.halo_y"
																	value=18
																[/set_variable]
																[set_variable]
																	formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-36))~BL(1)~O(33%)~FL(vertical)')"
																	name="new_reflection_animations[$i].else.frame.halo_mod"
																[/set_variable]
															[/then]
															[else]
																[set_variable]
																	name="new_reflection_animations[$i].else.frame.halo"
																	value="$new_reflection_animations[$i].else.frame.image:200,$new_reflection_animations[$i].else.frame.image:200"
																[/set_variable]
																[set_variable]
																	name="new_reflection_animations[$i].else.frame.image"
																	value="$new_reflection_animations[$i].else.frame.image:200,$new_reflection_animations[$i].else.frame.image:200"
																[/set_variable]
																[set_variable]
																	name="new_reflection_animations[$i].else.frame.halo_y"
																	value=18
																[/set_variable]
																[set_variable]
																	formula="concatenate('$new_reflection_animations[$i].else.frame.halo_mod|','~CROP(0,0,72,(72-36))~BL(1)~O(33%)~FL(vertical)')"
																	name="new_reflection_animations[$i].else.frame.halo_mod"
																[/set_variable]
															[/else]
														[/if]
													[/else]
												[/if]
											[/else]
										[/if]
									[/then]
								[/if]
							[/do]
						[/foreach]
					[/then]
					[else]
						[set_variables]
							name="new_reflection_animations"
							to_variable="reflect_unit_type.post_movement_anim[0]"
						[/set_variables]
						[set_variable]
							name="new_reflection_animations.data_apply_to"
							value="post_movement_anim"
						[/set_variable]
						[set_variable]
							name="new_reflection_animations.start_time"
							value=0
						[/set_variable]
						[set_variable]
							name="new_reflection_animations.base_score"
							value=2
						[/set_variable]
						[set_variables]
							mode="append"
							name="new_reflection_animations.filter"
							[value]
								[filter_location]
									terrain="Wot,Wo,Wog"
								[/filter_location]
							[/value]
						[/set_variables]
						[if]
							[variable]
								greater_than_equal_to=1
								name="reflect_unit_type.post_movement_anim.if.length"
							[/variable]
							[then]
								[if]
									[variable]
										greater_than_equal_to=2
										name="reflect_unit_type.post_movement_anim.if.length"
									[/variable]
									[then]
										[foreach]
											array="reflect_unit_type.post_movement_anim.if"
											index_var="k"
											variable="conditional_item"
											[do]
												[if]
													[variable]
														greater_than_equal_to=2
														name="conditional_item.frame.length"
													[/variable]
													[then]
														[foreach]
															array="conditional_item.frame"
															index_var="f"
															variable="frame_item_temp"
															[do]
																[if]
																	[variable]
																		equals=""
																		name="frame_item_temp.image"
																	[/variable]
																	[then]
																		[set_variable]
																			name="frame_item_temp.halo"
																			value="$unit.image:200,$unit.image:200"
																		[/set_variable]
																		[set_variable]
																			name="frame_item_temp.image"
																			value="$unit.image:200,$unit.image:200"
																		[/set_variable]
																		[set_variable]
																			name="frame_item_temp.halo_y"
																			value=18
																		[/set_variable]
																		[set_variable]
																			formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-36))~BL(1)~O(33%)~FL(vertical)')"
																			name="frame_item_temp.halo_mod"
																		[/set_variable]
																	[/then]
																	[else]
																		[set_variable]
																			name="frame_item_temp.halo"
																			value="$frame_item_temp.image:200,$frame_item_temp.image:200"
																		[/set_variable]
																		[set_variable]
																			name="frame_item_temp.image"
																			value="$frame_item_temp.image:200,$frame_item_temp.image:200"
																		[/set_variable]
																		[set_variable]
																			name="frame_item_temp.halo_y"
																			value=18
																		[/set_variable]
																		[set_variable]
																			formula="concatenate('$frame_item_temp.halo_mod|','~CROP(0,0,72,(72-36))~BL(1)~O(33%)~FL(vertical)')"
																			name="frame_item_temp.halo_mod"
																		[/set_variable]
																	[/else]
																[/if]
															[/do]
														[/foreach]
													[/then]
													[else]
														[if]
															[variable]
																equals=""
																name="new_reflection_animations[0].if[$k].frame.image"
															[/variable]
															[then]
																[set_variable]
																	name="new_reflection_animations[0].if[$k].frame.halo"
																	value="$unit.image:200,$unit.image:200"
																[/set_variable]
																[set_variable]
																	name="new_reflection_animations[0].if[$k].frame.image"
																	value="$unit.image:200,$unit.image:200"
																[/set_variable]
																[set_variable]
																	name="new_reflection_animations[0].if[$k].frame.halo_y"
																	value=18
																[/set_variable]
																[set_variable]
																	formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-36))~BL(1)~O(33%)~FL(vertical)')"
																	name="new_reflection_animations[0].if[$k].frame.halo_mod"
																[/set_variable]
															[/then]
															[else]
																[set_variable]
																	name="new_reflection_animations[0].if[$k].frame.halo"
																	value="$new_reflection_animations[0].if[$k].frame.image:200,$new_reflection_animations[0].if[$k].frame.image:200"
																[/set_variable]
																[set_variable]
																	name="new_reflection_animations[0].if[$k].frame.image"
																	value="$new_reflection_animations[0].if[$k].frame.image:200,$new_reflection_animations[0].if[$k].frame.image:200"
																[/set_variable]
																[set_variable]
																	name="new_reflection_animations[0].if[$k].frame.halo_y"
																	value=18
																[/set_variable]
																[set_variable]
																	formula="concatenate('$new_reflection_animations[0].if[$k].frame.halo_mod|','~CROP(0,0,72,(72-36))~BL(1)~O(33%)~FL(vertical)')"
																	name="new_reflection_animations[0].if[$k].frame.halo_mod"
																[/set_variable]
															[/else]
														[/if]
													[/else]
												[/if]
											[/do]
										[/foreach]
									[/then]
									[else]
										[if]
											[variable]
												greater_than_equal_to=2
												name="reflect_unit_type.post_movement_anim.if.frame.length"
											[/variable]
											[then]
												[foreach]
													array="reflect_unit_type.post_movement_anim.if.frame"
													index_var="f"
													variable="frame_item_temp"
													[do]
														[if]
															[variable]
																equals=""
																name="frame_item_temp.image"
															[/variable]
															[then]
																[set_variable]
																	name="frame_item_temp.halo"
																	value="$unit.image:200,$unit.image:200"
																[/set_variable]
																[set_variable]
																	name="frame_item_temp.image"
																	value="$unit.image:200,$unit.image:200"
																[/set_variable]
																[set_variable]
																	name="frame_item_temp.halo_y"
																	value=18
																[/set_variable]
																[set_variable]
																	formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-36))~BL(1)~O(33%)~FL(vertical)')"
																	name="frame_item_temp.halo_mod"
																[/set_variable]
															[/then]
															[else]
																[set_variable]
																	name="frame_item_temp.halo"
																	value="$frame_item_temp.image:200,$frame_item_temp.image:200"
																[/set_variable]
																[set_variable]
																	name="frame_item_temp.image"
																	value="$frame_item_temp.image:200,$frame_item_temp.image:200"
																[/set_variable]
																[set_variable]
																	name="frame_item_temp.halo_y"
																	value=18
																[/set_variable]
																[set_variable]
																	formula="concatenate('$frame_item_temp.halo_mod|','~CROP(0,0,72,(72-36))~BL(1)~O(33%)~FL(vertical)')"
																	name="frame_item_temp.halo_mod"
																[/set_variable]
															[/else]
														[/if]
													[/do]
												[/foreach]
											[/then]
											[else]
												[if]
													[variable]
														equals=""
														name="new_reflection_animations[0].if.frame.image"
													[/variable]
													[then]
														[set_variable]
															name="new_reflection_animations[0].if.frame.halo"
															value="$unit.image:200,$unit.image:200"
														[/set_variable]
														[set_variable]
															name="new_reflection_animations[0].if.frame.image"
															value="$unit.image:200,$unit.image:200"
														[/set_variable]
														[set_variable]
															name="new_reflection_animations[0].if.frame.halo_y"
															value=18
														[/set_variable]
														[set_variable]
															formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-36))~BL(1)~O(33%)~FL(vertical)')"
															name="new_reflection_animations[0].if.frame.halo_mod"
														[/set_variable]
													[/then]
													[else]
														[set_variable]
															name="new_reflection_animations[0].if.frame.halo"
															value="$new_reflection_animations[0].if.frame.image:200,$new_reflection_animations[0].if.frame.image:200"
														[/set_variable]
														[set_variable]
															name="new_reflection_animations[0].if.frame.image"
															value="$new_reflection_animations[0].if.frame.image:200,$new_reflection_animations[0].if.frame.image:200"
														[/set_variable]
														[set_variable]
															name="new_reflection_animations[0].if.frame.halo_y"
															value=18
														[/set_variable]
														[set_variable]
															formula="concatenate('$new_reflection_animations[0].if.frame.halo_mod|','~CROP(0,0,72,(72-36))~BL(1)~O(33%)~FL(vertical)')"
															name="new_reflection_animations[0].if.frame.halo_mod"
														[/set_variable]
													[/else]
												[/if]
											[/else]
										[/if]
									[/else]
								[/if]
							[/then]
							[else]
								[if]
									[variable]
										greater_than_equal_to=2
										name="new_reflection_animations[0].frame.length"
									[/variable]
									[then]
										[foreach]
											array="new_reflection_animations[0].frame"
											index_var="f"
											variable="frame_item_temp"
											[do]
												[if]
													[variable]
														equals=""
														name="frame_item_temp.image"
													[/variable]
													[then]
														[set_variable]
															name="frame_item_temp.halo"
															value="$unit.image:200,$unit.image:200"
														[/set_variable]
														[set_variable]
															name="frame_item_temp.image"
															value="$unit.image:200,$unit.image:200"
														[/set_variable]
														[set_variable]
															name="frame_item_temp.halo_y"
															value=18
														[/set_variable]
														[set_variable]
															formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-36))~BL(1)~O(33%)~FL(vertical)')"
															name="frame_item_temp.halo_mod"
														[/set_variable]
													[/then]
													[else]
														[set_variable]
															name="frame_item_temp.halo"
															value="$frame_item_temp.image:200,$frame_item_temp.image:200"
														[/set_variable]
														[set_variable]
															name="frame_item_temp.image"
															value="$frame_item_temp.image:200,$frame_item_temp.image:200"
														[/set_variable]
														[set_variable]
															name="frame_item_temp.halo_y"
															value=18
														[/set_variable]
														[set_variable]
															formula="concatenate('$frame_item_temp.halo_mod|','~CROP(0,0,72,(72-36))~BL(1)~O(33%)~FL(vertical)')"
															name="frame_item_temp.halo_mod"
														[/set_variable]
													[/else]
												[/if]
											[/do]
										[/foreach]
									[/then]
									[else]
										[if]
											[variable]
												equals=""
												name="new_reflection_animations[0].frame.image"
											[/variable]
											[then]
												[set_variable]
													name="new_reflection_animations[0].frame.halo"
													value="$unit.image:200,$unit.image:200"
												[/set_variable]
												[set_variable]
													name="new_reflection_animations[0].frame.image"
													value="$unit.image:200,$unit.image:200"
												[/set_variable]
												[set_variable]
													name="new_reflection_animations[0].frame.halo_y"
													value=18
												[/set_variable]
												[set_variable]
													formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-36))~BL(1)~O(33%)~FL(vertical)')"
													name="new_reflection_animations[0].frame.halo_mod"
												[/set_variable]
											[/then]
											[else]
												[set_variable]
													name="new_reflection_animations[0].frame.halo"
													value="$new_reflection_animations[0].frame.image:200,$new_reflection_animations[0].frame.image:200"
												[/set_variable]
												[set_variable]
													name="new_reflection_animations[0].frame.image"
													value="$new_reflection_animations[0].frame.image:200,$new_reflection_animations[0].frame.image:200"
												[/set_variable]
												[set_variable]
													name="new_reflection_animations[0].frame.halo_y"
													value=18
												[/set_variable]
												[set_variable]
													formula="concatenate('$new_reflection_animations[0].frame.halo_mod|','~CROP(0,0,72,(72-36))~BL(1)~O(33%)~FL(vertical)')"
													name="new_reflection_animations[0].frame.halo_mod"
												[/set_variable]
											[/else]
										[/if]
									[/else]
								[/if]
							[/else]
						[/if]
						[if]
							[variable]
								greater_than_equal_to=1
								name="reflect_unit_type.post_movement_anim.else.length"
							[/variable]
							[then]
								[if]
									[variable]
										greater_than_equal_to=2
										name="reflect_unit_type.post_movement_anim.else.length"
									[/variable]
									[then]
										[foreach]
											array="reflect_unit_type.post_movement_anim.else"
											index_var="k"
											variable="conditional_item"
											[do]
												[if]
													[variable]
														greater_than_equal_to=2
														name="conditional_item.frame.length"
													[/variable]
													[then]
														[foreach]
															array="conditional_item.frame"
															index_var="f"
															variable="frame_item_temp"
															[do]
																[if]
																	[variable]
																		equals=""
																		name="frame_item_temp.image"
																	[/variable]
																	[then]
																		[set_variable]
																			name="frame_item_temp.halo"
																			value="$unit.image:200,$unit.image:200"
																		[/set_variable]
																		[set_variable]
																			name="frame_item_temp.image"
																			value="$unit.image:200,$unit.image:200"
																		[/set_variable]
																		[set_variable]
																			name="frame_item_temp.halo_y"
																			value=18
																		[/set_variable]
																		[set_variable]
																			formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-36))~BL(1)~O(33%)~FL(vertical)')"
																			name="frame_item_temp.halo_mod"
																		[/set_variable]
																	[/then]
																	[else]
																		[set_variable]
																			name="frame_item_temp.halo"
																			value="$frame_item_temp.image:200,$frame_item_temp.image:200"
																		[/set_variable]
																		[set_variable]
																			name="frame_item_temp.image"
																			value="$frame_item_temp.image:200,$frame_item_temp.image:200"
																		[/set_variable]
																		[set_variable]
																			name="frame_item_temp.halo_y"
																			value=18
																		[/set_variable]
																		[set_variable]
																			formula="concatenate('$frame_item_temp.halo_mod|','~CROP(0,0,72,(72-36))~BL(1)~O(33%)~FL(vertical)')"
																			name="frame_item_temp.halo_mod"
																		[/set_variable]
																	[/else]
																[/if]
															[/do]
														[/foreach]
													[/then]
													[else]
														[if]
															[variable]
																equals=""
																name="new_reflection_animations[0].else[$k].frame.image"
															[/variable]
															[then]
																[set_variable]
																	name="new_reflection_animations[0].else[$k].frame.halo"
																	value="$unit.image:200,$unit.image:200"
																[/set_variable]
																[set_variable]
																	name="new_reflection_animations[0].else[$k].frame.image"
																	value="$unit.image:200,$unit.image:200"
																[/set_variable]
																[set_variable]
																	name="new_reflection_animations[0].else[$k].frame.halo_y"
																	value=18
																[/set_variable]
																[set_variable]
																	formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-36))~BL(1)~O(33%)~FL(vertical)')"
																	name="new_reflection_animations[0].else[$k].frame.halo_mod"
																[/set_variable]
															[/then]
															[else]
																[set_variable]
																	name="new_reflection_animations[0].else[$k].frame.halo"
																	value="$new_reflection_animations[0].else[$k].frame.image:200,$new_reflection_animations[0].else[$k].frame.image:200"
																[/set_variable]
																[set_variable]
																	name="new_reflection_animations[0].else[$k].frame.image"
																	value="$new_reflection_animations[0].else[$k].frame.image:200,$new_reflection_animations[0].else[$k].frame.image:200"
																[/set_variable]
																[set_variable]
																	name="new_reflection_animations[0].else[$k].frame.halo_y"
																	value=18
																[/set_variable]
																[set_variable]
																	formula="concatenate('$new_reflection_animations[0].else[$k].frame.halo_mod|','~CROP(0,0,72,(72-36))~BL(1)~O(33%)~FL(vertical)')"
																	name="new_reflection_animations[0].else[$k].frame.halo_mod"
																[/set_variable]
															[/else]
														[/if]
													[/else]
												[/if]
											[/do]
										[/foreach]
									[/then]
									[else]
										[if]
											[variable]
												greater_than_equal_to=2
												name="reflect_unit_type.post_movement_anim.else.frame.length"
											[/variable]
											[then]
												[foreach]
													array="reflect_unit_type.post_movement_anim.else.frame"
													index_var="f"
													variable="frame_item_temp"
													[do]
														[if]
															[variable]
																equals=""
																name="frame_item_temp.image"
															[/variable]
															[then]
																[set_variable]
																	name="frame_item_temp.halo"
																	value="$unit.image:200,$unit.image:200"
																[/set_variable]
																[set_variable]
																	name="frame_item_temp.image"
																	value="$unit.image:200,$unit.image:200"
																[/set_variable]
																[set_variable]
																	name="frame_item_temp.halo_y"
																	value=18
																[/set_variable]
																[set_variable]
																	formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-36))~BL(1)~O(33%)~FL(vertical)')"
																	name="frame_item_temp.halo_mod"
																[/set_variable]
															[/then]
															[else]
																[set_variable]
																	name="frame_item_temp.halo"
																	value="$frame_item_temp.image:200,$frame_item_temp.image:200"
																[/set_variable]
																[set_variable]
																	name="frame_item_temp.image"
																	value="$frame_item_temp.image:200,$frame_item_temp.image:200"
																[/set_variable]
																[set_variable]
																	name="frame_item_temp.halo_y"
																	value=18
																[/set_variable]
																[set_variable]
																	formula="concatenate('$frame_item_temp.halo_mod|','~CROP(0,0,72,(72-36))~BL(1)~O(33%)~FL(vertical)')"
																	name="frame_item_temp.halo_mod"
																[/set_variable]
															[/else]
														[/if]
													[/do]
												[/foreach]
											[/then]
											[else]
												[if]
													[variable]
														equals=""
														name="new_reflection_animations[0].else.frame.image"
													[/variable]
													[then]
														[set_variable]
															name="new_reflection_animations[0].else.frame.halo"
															value="$unit.image:200,$unit.image:200"
														[/set_variable]
														[set_variable]
															name="new_reflection_animations[0].else.frame.image"
															value="$unit.image:200,$unit.image:200"
														[/set_variable]
														[set_variable]
															name="new_reflection_animations[0].else.frame.halo_y"
															value=18
														[/set_variable]
														[set_variable]
															formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-36))~BL(1)~O(33%)~FL(vertical)')"
															name="new_reflection_animations[0].else.frame.halo_mod"
														[/set_variable]
													[/then]
													[else]
														[set_variable]
															name="new_reflection_animations[0].else.frame.halo"
															value="$new_reflection_animations[0].else.frame.image:200,$new_reflection_animations[0].else.frame.image:200"
														[/set_variable]
														[set_variable]
															name="new_reflection_animations[0].else.frame.image"
															value="$new_reflection_animations[0].else.frame.image:200,$new_reflection_animations[0].else.frame.image:200"
														[/set_variable]
														[set_variable]
															name="new_reflection_animations[0].else.frame.halo_y"
															value=18
														[/set_variable]
														[set_variable]
															formula="concatenate('$new_reflection_animations[0].else.frame.halo_mod|','~CROP(0,0,72,(72-36))~BL(1)~O(33%)~FL(vertical)')"
															name="new_reflection_animations[0].else.frame.halo_mod"
														[/set_variable]
													[/else]
												[/if]
											[/else]
										[/if]
									[/else]
								[/if]
							[/then]
						[/if]
					[/else]
				[/if]
			[/then]
			[else]
				[if]
					[variable]
						name="unit.image"
						not_equals=""
					[/variable]
					[then]
						[set_variables]
							name="new_reflection_animations"
							[value]
								apply_to="standing"
								data_apply_to="post_movement_anim"
								start_time=0
								terrain_type="Wot,Wo,Wog"
								[frame]
									halo="$unit.image:200,$unit.image:200"
									halo_mod="~CROP(0,0,72,$(72-36))~BL(1)~O(33%)~FL(vertical)"
									halo_y=18
									image="$unit.image:200,$unit.image:200"
								[/frame]
							[/value]
						[/set_variables]
					[/then]
				[/if]
			[/else]
		[/if]
		[set_variables]
			mode="append"
			name="add_animations_variable"
			to_variable="new_reflection_animations"
		[/set_variables]
		[clear_variable]
			name="new_reflection_animations"
		[/clear_variable]
		[if]
			[variable]
				greater_than_equal_to=1
				name="reflect_unit_type.post_movement_anim.length"
			[/variable]
			[then]
				[if]
					[variable]
						greater_than_equal_to=2
						name="reflect_unit_type.post_movement_anim.length"
					[/variable]
					[then]
						[foreach]
							array="reflect_unit_type.post_movement_anim"
							[do]
								[set_variables]
									name="new_reflection_animations[$i]"
									to_variable="this_item"
								[/set_variables]
								[set_variable]
									name="new_reflection_animations[$i].start_time"
									value=0
								[/set_variable]
								[set_variable]
									name="new_reflection_animations[$i].data_apply_to"
									value="post_movement_anim"
								[/set_variable]
								[set_variable]
									name="new_reflection_animations[$i].base_score"
									value=2
								[/set_variable]
								[set_variables]
									mode="append"
									name="new_reflection_animations[$i].filter"
									[value]
										[filter_location]
											terrain="Wwf,Wwrg,Wwr,Wwrt"
										[/filter_location]
									[/value]
								[/set_variables]
								[if]
									[variable]
										greater_than_equal_to=1
										name="new_reflection_animations[$i].if.length"
									[/variable]
									[then]
										[if]
											[variable]
												greater_than_equal_to=2
												name="new_reflection_animations[$i].if.length"
											[/variable]
											[then]
												[foreach]
													array="new_reflection_animations[$i].if"
													index_var="k"
													variable="conditional_item"
													[do]
														[if]
															[variable]
																greater_than_equal_to=2
																name="conditional_item.frame.length"
															[/variable]
															[then]
																[foreach]
																	array="conditional_item.frame"
																	index_var="f"
																	variable="frame_item_temp"
																	[do]
																		[if]
																			[variable]
																				equals=""
																				name="frame_item_temp.image"
																			[/variable]
																			[then]
																				[set_variable]
																					name="frame_item_temp.halo"
																					value="$unit.image:200,$unit.image:200"
																				[/set_variable]
																				[set_variable]
																					name="frame_item_temp.image"
																					value="$unit.image:200,$unit.image:200"
																				[/set_variable]
																				[set_variable]
																					name="frame_item_temp.halo_y"
																					value=38
																				[/set_variable]
																				[set_variable]
																					formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-22))~BL(1)~O(33%)~FL(vertical)')"
																					name="frame_item_temp.halo_mod"
																				[/set_variable]
																			[/then]
																			[else]
																				[set_variable]
																					name="frame_item_temp.halo"
																					value="$frame_item_temp.image:200,$frame_item_temp.image:200"
																				[/set_variable]
																				[set_variable]
																					name="frame_item_temp.image"
																					value="$frame_item_temp.image:200,$frame_item_temp.image:200"
																				[/set_variable]
																				[set_variable]
																					name="frame_item_temp.halo_y"
																					value=38
																				[/set_variable]
																				[set_variable]
																					formula="concatenate('$frame_item_temp.halo_mod|','~CROP(0,0,72,(72-22))~BL(1)~O(33%)~FL(vertical)')"
																					name="frame_item_temp.halo_mod"
																				[/set_variable]
																			[/else]
																		[/if]
																	[/do]
																[/foreach]
															[/then]
															[else]
																[if]
																	[variable]
																		equals=""
																		name="conditional_item.frame.image"
																	[/variable]
																	[then]
																		[set_variable]
																			name="conditional_item.frame.halo"
																			value="$unit.image:200,$unit.image:200"
																		[/set_variable]
																		[set_variable]
																			name="conditional_item.frame.image"
																			value="$unit.image:200,$unit.image:200"
																		[/set_variable]
																		[set_variable]
																			name="conditional_item.frame.halo_y"
																			value=38
																		[/set_variable]
																		[set_variable]
																			formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-22))~BL(1)~O(33%)~FL(vertical)')"
																			name="conditional_item.frame.halo_mod"
																		[/set_variable]
																	[/then]
																	[else]
																		[set_variable]
																			name="conditional_item.frame.halo"
																			value="$conditional_item.frame.image:200,$conditional_item.frame.image:200"
																		[/set_variable]
																		[set_variable]
																			name="conditional_item.frame.image"
																			value="$conditional_item.frame.image:200,$conditional_item.frame.image:200"
																		[/set_variable]
																		[set_variable]
																			name="conditional_item.frame.halo_y"
																			value=38
																		[/set_variable]
																		[set_variable]
																			formula="concatenate('$conditional_item.frame.halo_mod|','~CROP(0,0,72,(72-22))~BL(1)~O(33%)~FL(vertical)')"
																			name="conditional_item.frame.halo_mod"
																		[/set_variable]
																	[/else]
																[/if]
															[/else]
														[/if]
													[/do]
												[/foreach]
											[/then]
											[else]
												[if]
													[variable]
														greater_than_equal_to=2
														name="new_reflection_animations[$i].if.frame.length"
													[/variable]
													[then]
														[foreach]
															array="new_reflection_animations[$i].if.frame"
															index_var="f"
															variable="frame_item_temp"
															[do]
																[if]
																	[variable]
																		equals=""
																		name="frame_item_temp.image"
																	[/variable]
																	[then]
																		[set_variable]
																			name="frame_item_temp.halo"
																			value="$unit.image:200,$unit.image:200"
																		[/set_variable]
																		[set_variable]
																			name="frame_item_temp.image"
																			value="$unit.image:200,$unit.image:200"
																		[/set_variable]
																		[set_variable]
																			name="frame_item_temp.halo_y"
																			value=38
																		[/set_variable]
																		[set_variable]
																			formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-22))~BL(1)~O(33%)~FL(vertical)')"
																			name="frame_item_temp.halo_mod"
																		[/set_variable]
																	[/then]
																	[else]
																		[set_variable]
																			name="frame_item_temp.halo"
																			value="$frame_item_temp.image:200,$frame_item_temp.image:200"
																		[/set_variable]
																		[set_variable]
																			name="frame_item_temp.image"
																			value="$frame_item_temp.image:200,$frame_item_temp.image:200"
																		[/set_variable]
																		[set_variable]
																			name="frame_item_temp.halo_y"
																			value=38
																		[/set_variable]
																		[set_variable]
																			formula="concatenate('$frame_item_temp.halo_mod|','~CROP(0,0,72,(72-22))~BL(1)~O(33%)~FL(vertical)')"
																			name="frame_item_temp.halo_mod"
																		[/set_variable]
																	[/else]
																[/if]
															[/do]
														[/foreach]
													[/then]
													[else]
														[if]
															[variable]
																equals=""
																name="new_reflection_animations[$i].if.frame.image"
															[/variable]
															[then]
																[set_variable]
																	name="new_reflection_animations[$i].if.frame.halo"
																	value="$unit.image:200,$unit.image:200"
																[/set_variable]
																[set_variable]
																	name="new_reflection_animations[$i].if.frame.image"
																	value="$unit.image:200,$unit.image:200"
																[/set_variable]
																[set_variable]
																	name="new_reflection_animations[$i].if.frame.halo_y"
																	value=38
																[/set_variable]
																[set_variable]
																	formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-22))~BL(1)~O(33%)~FL(vertical)')"
																	name="new_reflection_animations[$i].if.frame.halo_mod"
																[/set_variable]
															[/then]
															[else]
																[set_variable]
																	name="new_reflection_animations[$i].if.frame.halo"
																	value="$new_reflection_animations[$i].if.frame.image:200,$new_reflection_animations[$i].if.frame.image:200"
																[/set_variable]
																[set_variable]
																	name="new_reflection_animations[$i].if.frame.image"
																	value="$new_reflection_animations[$i].if.frame.image:200,$new_reflection_animations[$i].if.frame.image:200"
																[/set_variable]
																[set_variable]
																	name="new_reflection_animations[$i].if.frame.halo_y"
																	value=38
																[/set_variable]
																[set_variable]
																	formula="concatenate('$new_reflection_animations[$i].if.frame.halo_mod|','~CROP(0,0,72,(72-22))~BL(1)~O(33%)~FL(vertical)')"
																	name="new_reflection_animations[$i].if.frame.halo_mod"
																[/set_variable]
															[/else]
														[/if]
													[/else]
												[/if]
											[/else]
										[/if]
									[/then]
									[else]
										[if]
											[variable]
												greater_than_equal_to=2
												name="new_reflection_animations[$i].frame.length"
											[/variable]
											[then]
												[foreach]
													array="new_reflection_animations[$i].frame"
													index_var="f"
													variable="frame_item_temp"
													[do]
														[if]
															[variable]
																equals=""
																name="frame_item_temp.image"
															[/variable]
															[then]
																[set_variable]
																	name="frame_item_temp.halo"
																	value="$unit.image:200,$unit.image:200"
																[/set_variable]
																[set_variable]
																	name="frame_item_temp.image"
																	value="$unit.image:200,$unit.image:200"
																[/set_variable]
																[set_variable]
																	name="frame_item_temp.halo_y"
																	value=38
																[/set_variable]
																[set_variable]
																	formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-22))~BL(1)~O(33%)~FL(vertical)')"
																	name="frame_item_temp.halo_mod"
																[/set_variable]
															[/then]
															[else]
																[set_variable]
																	name="frame_item_temp.halo"
																	value="$frame_item_temp.image:200,$frame_item_temp.image:200"
																[/set_variable]
																[set_variable]
																	name="frame_item_temp.image"
																	value="$frame_item_temp.image:200,$frame_item_temp.image:200"
																[/set_variable]
																[set_variable]
																	name="frame_item_temp.halo_y"
																	value=38
																[/set_variable]
																[set_variable]
																	formula="concatenate('$frame_item_temp.halo_mod|','~CROP(0,0,72,(72-22))~BL(1)~O(33%)~FL(vertical)')"
																	name="frame_item_temp.halo_mod"
																[/set_variable]
															[/else]
														[/if]
													[/do]
												[/foreach]
											[/then]
											[else]
												[if]
													[variable]
														equals=""
														name="new_reflection_animations[$i].frame.image"
													[/variable]
													[then]
														[set_variable]
															name="new_reflection_animations[$i].frame.halo"
															value="$unit.image:200,$unit.image:200"
														[/set_variable]
														[set_variable]
															name="new_reflection_animations[$i].frame.image"
															value="$unit.image:200,$unit.image:200"
														[/set_variable]
														[set_variable]
															name="new_reflection_animations[$i].frame.halo_y"
															value=38
														[/set_variable]
														[set_variable]
															formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-22))~BL(1)~O(33%)~FL(vertical)')"
															name="new_reflection_animations[$i].frame.halo_mod"
														[/set_variable]
													[/then]
													[else]
														[set_variable]
															name="new_reflection_animations[$i].frame.halo"
															value="$new_reflection_animations[$i].frame.image:200,$new_reflection_animations[$i].frame.image:200"
														[/set_variable]
														[set_variable]
															name="new_reflection_animations[$i].frame.image"
															value="$new_reflection_animations[$i].frame.image:200,$new_reflection_animations[$i].frame.image:200"
														[/set_variable]
														[set_variable]
															name="new_reflection_animations[$i].frame.halo_y"
															value=38
														[/set_variable]
														[set_variable]
															formula="concatenate('$new_reflection_animations[$i].frame.halo_mod|','~CROP(0,0,72,(72-22))~BL(1)~O(33%)~FL(vertical)')"
															name="new_reflection_animations[$i].frame.halo_mod"
														[/set_variable]
													[/else]
												[/if]
											[/else]
										[/if]
									[/else]
								[/if]
								[if]
									[variable]
										greater_than_equal_to=1
										name="new_reflection_animations[$i].else.length"
									[/variable]
									[then]
										[if]
											[variable]
												greater_than_equal_to=2
												name="new_reflection_animations[$i].else.length"
											[/variable]
											[then]
												[foreach]
													array="new_reflection_animations[$i].else"
													index_var="k"
													variable="conditional_item"
													[do]
														[if]
															[variable]
																greater_than_equal_to=2
																name="conditional_item.frame.length"
															[/variable]
															[then]
																[foreach]
																	array="conditional_item.frame"
																	index_var="f"
																	variable="frame_item_temp"
																	[do]
																		[if]
																			[variable]
																				equals=""
																				name="frame_item_temp.image"
																			[/variable]
																			[then]
																				[set_variable]
																					name="frame_item_temp.halo"
																					value="$unit.image:200,$unit.image:200"
																				[/set_variable]
																				[set_variable]
																					name="frame_item_temp.image"
																					value="$unit.image:200,$unit.image:200"
																				[/set_variable]
																				[set_variable]
																					name="frame_item_temp.halo_y"
																					value=38
																				[/set_variable]
																				[set_variable]
																					formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-22))~BL(1)~O(33%)~FL(vertical)')"
																					name="frame_item_temp.halo_mod"
																				[/set_variable]
																			[/then]
																			[else]
																				[set_variable]
																					name="frame_item_temp.halo"
																					value="$frame_item_temp.image:200,$frame_item_temp.image:200"
																				[/set_variable]
																				[set_variable]
																					name="frame_item_temp.image"
																					value="$frame_item_temp.image:200,$frame_item_temp.image:200"
																				[/set_variable]
																				[set_variable]
																					name="frame_item_temp.halo_y"
																					value=38
																				[/set_variable]
																				[set_variable]
																					formula="concatenate('$frame_item_temp.halo_mod|','~CROP(0,0,72,(72-22))~BL(1)~O(33%)~FL(vertical)')"
																					name="frame_item_temp.halo_mod"
																				[/set_variable]
																			[/else]
																		[/if]
																	[/do]
																[/foreach]
															[/then]
															[else]
																[if]
																	[variable]
																		equals=""
																		name="new_reflection_animations[$i].else[$k].frame.image"
																	[/variable]
																	[then]
																		[set_variable]
																			name="new_reflection_animations[$i].else[$k].frame.halo"
																			value="$unit.image:200,$unit.image:200"
																		[/set_variable]
																		[set_variable]
																			name="new_reflection_animations[$i].else[$k].frame.image"
																			value="$unit.image:200,$unit.image:200"
																		[/set_variable]
																		[set_variable]
																			name="new_reflection_animations[$i].else[$k].frame.halo_y"
																			value=38
																		[/set_variable]
																		[set_variable]
																			formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-22))~BL(1)~O(33%)~FL(vertical)')"
																			name="new_reflection_animations[$i].else[$k].frame.halo_mod"
																		[/set_variable]
																	[/then]
																	[else]
																		[set_variable]
																			name="new_reflection_animations[$i].else[$k].frame.halo"
																			value="$new_reflection_animations[$i].else[$k].frame.image:200,$new_reflection_animations[$i].else[$k].frame.image:200"
																		[/set_variable]
																		[set_variable]
																			name="new_reflection_animations[$i].else[$k].frame.image"
																			value="$new_reflection_animations[$i].else[$k].frame.image:200,$new_reflection_animations[$i].else[$k].frame.image:200"
																		[/set_variable]
																		[set_variable]
																			name="new_reflection_animations[$i].else[$k].frame.halo_y"
																			value=38
																		[/set_variable]
																		[set_variable]
																			formula="concatenate('$new_reflection_animations[$i].else[$k].frame.halo_mod|','~CROP(0,0,72,(72-22))~BL(1)~O(33%)~FL(vertical)')"
																			name="new_reflection_animations[$i].else[$k].frame.halo_mod"
																		[/set_variable]
																	[/else]
																[/if]
															[/else]
														[/if]
													[/do]
												[/foreach]
											[/then]
											[else]
												[if]
													[variable]
														greater_than_equal_to=2
														name="new_reflection_animations[$i].else.frame.length"
													[/variable]
													[then]
														[foreach]
															array="new_reflection_animations[$i].else.frame"
															index_var="f"
															variable="frame_item_temp"
															[do]
																[if]
																	[variable]
																		equals=""
																		name="frame_item_temp.image"
																	[/variable]
																	[then]
																		[set_variable]
																			name="frame_item_temp.halo"
																			value="$unit.image:200,$unit.image:200"
																		[/set_variable]
																		[set_variable]
																			name="frame_item_temp.image"
																			value="$unit.image:200,$unit.image:200"
																		[/set_variable]
																		[set_variable]
																			name="frame_item_temp.halo_y"
																			value=38
																		[/set_variable]
																		[set_variable]
																			formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-22))~BL(1)~O(33%)~FL(vertical)')"
																			name="frame_item_temp.halo_mod"
																		[/set_variable]
																	[/then]
																	[else]
																		[set_variable]
																			name="frame_item_temp.halo"
																			value="$frame_item_temp.image:200,$frame_item_temp.image:200"
																		[/set_variable]
																		[set_variable]
																			name="frame_item_temp.image"
																			value="$frame_item_temp.image:200,$frame_item_temp.image:200"
																		[/set_variable]
																		[set_variable]
																			name="frame_item_temp.halo_y"
																			value=38
																		[/set_variable]
																		[set_variable]
																			formula="concatenate('$frame_item_temp.halo_mod|','~CROP(0,0,72,(72-22))~BL(1)~O(33%)~FL(vertical)')"
																			name="frame_item_temp.halo_mod"
																		[/set_variable]
																	[/else]
																[/if]
															[/do]
														[/foreach]
													[/then]
													[else]
														[if]
															[variable]
																equals=""
																name="new_reflection_animations[$i].else.frame.image"
															[/variable]
															[then]
																[set_variable]
																	name="new_reflection_animations[$i].else.frame.halo"
																	value="$unit.image:200,$unit.image:200"
																[/set_variable]
																[set_variable]
																	name="new_reflection_animations[$i].else.frame.image"
																	value="$unit.image:200,$unit.image:200"
																[/set_variable]
																[set_variable]
																	name="new_reflection_animations[$i].else.frame.halo_y"
																	value=38
																[/set_variable]
																[set_variable]
																	formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-22))~BL(1)~O(33%)~FL(vertical)')"
																	name="new_reflection_animations[$i].else.frame.halo_mod"
																[/set_variable]
															[/then]
															[else]
																[set_variable]
																	name="new_reflection_animations[$i].else.frame.halo"
																	value="$new_reflection_animations[$i].else.frame.image:200,$new_reflection_animations[$i].else.frame.image:200"
																[/set_variable]
																[set_variable]
																	name="new_reflection_animations[$i].else.frame.image"
																	value="$new_reflection_animations[$i].else.frame.image:200,$new_reflection_animations[$i].else.frame.image:200"
																[/set_variable]
																[set_variable]
																	name="new_reflection_animations[$i].else.frame.halo_y"
																	value=38
																[/set_variable]
																[set_variable]
																	formula="concatenate('$new_reflection_animations[$i].else.frame.halo_mod|','~CROP(0,0,72,(72-22))~BL(1)~O(33%)~FL(vertical)')"
																	name="new_reflection_animations[$i].else.frame.halo_mod"
																[/set_variable]
															[/else]
														[/if]
													[/else]
												[/if]
											[/else]
										[/if]
									[/then]
								[/if]
							[/do]
						[/foreach]
					[/then]
					[else]
						[set_variables]
							name="new_reflection_animations"
							to_variable="reflect_unit_type.post_movement_anim[0]"
						[/set_variables]
						[set_variable]
							name="new_reflection_animations.data_apply_to"
							value="post_movement_anim"
						[/set_variable]
						[set_variable]
							name="new_reflection_animations.start_time"
							value=0
						[/set_variable]
						[set_variable]
							name="new_reflection_animations.base_score"
							value=2
						[/set_variable]
						[set_variables]
							mode="append"
							name="new_reflection_animations.filter"
							[value]
								[filter_location]
									terrain="Wwf,Wwrg,Wwr,Wwrt"
								[/filter_location]
							[/value]
						[/set_variables]
						[if]
							[variable]
								greater_than_equal_to=1
								name="reflect_unit_type.post_movement_anim.if.length"
							[/variable]
							[then]
								[if]
									[variable]
										greater_than_equal_to=2
										name="reflect_unit_type.post_movement_anim.if.length"
									[/variable]
									[then]
										[foreach]
											array="reflect_unit_type.post_movement_anim.if"
											index_var="k"
											variable="conditional_item"
											[do]
												[if]
													[variable]
														greater_than_equal_to=2
														name="conditional_item.frame.length"
													[/variable]
													[then]
														[foreach]
															array="conditional_item.frame"
															index_var="f"
															variable="frame_item_temp"
															[do]
																[if]
																	[variable]
																		equals=""
																		name="frame_item_temp.image"
																	[/variable]
																	[then]
																		[set_variable]
																			name="frame_item_temp.halo"
																			value="$unit.image:200,$unit.image:200"
																		[/set_variable]
																		[set_variable]
																			name="frame_item_temp.image"
																			value="$unit.image:200,$unit.image:200"
																		[/set_variable]
																		[set_variable]
																			name="frame_item_temp.halo_y"
																			value=38
																		[/set_variable]
																		[set_variable]
																			formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-22))~BL(1)~O(33%)~FL(vertical)')"
																			name="frame_item_temp.halo_mod"
																		[/set_variable]
																	[/then]
																	[else]
																		[set_variable]
																			name="frame_item_temp.halo"
																			value="$frame_item_temp.image:200,$frame_item_temp.image:200"
																		[/set_variable]
																		[set_variable]
																			name="frame_item_temp.image"
																			value="$frame_item_temp.image:200,$frame_item_temp.image:200"
																		[/set_variable]
																		[set_variable]
																			name="frame_item_temp.halo_y"
																			value=38
																		[/set_variable]
																		[set_variable]
																			formula="concatenate('$frame_item_temp.halo_mod|','~CROP(0,0,72,(72-22))~BL(1)~O(33%)~FL(vertical)')"
																			name="frame_item_temp.halo_mod"
																		[/set_variable]
																	[/else]
																[/if]
															[/do]
														[/foreach]
													[/then]
													[else]
														[if]
															[variable]
																equals=""
																name="new_reflection_animations[0].if[$k].frame.image"
															[/variable]
															[then]
																[set_variable]
																	name="new_reflection_animations[0].if[$k].frame.halo"
																	value="$unit.image:200,$unit.image:200"
																[/set_variable]
																[set_variable]
																	name="new_reflection_animations[0].if[$k].frame.image"
																	value="$unit.image:200,$unit.image:200"
																[/set_variable]
																[set_variable]
																	name="new_reflection_animations[0].if[$k].frame.halo_y"
																	value=38
																[/set_variable]
																[set_variable]
																	formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-22))~BL(1)~O(33%)~FL(vertical)')"
																	name="new_reflection_animations[0].if[$k].frame.halo_mod"
																[/set_variable]
															[/then]
															[else]
																[set_variable]
																	name="new_reflection_animations[0].if[$k].frame.halo"
																	value="$new_reflection_animations[0].if[$k].frame.image:200,$new_reflection_animations[0].if[$k].frame.image:200"
																[/set_variable]
																[set_variable]
																	name="new_reflection_animations[0].if[$k].frame.image"
																	value="$new_reflection_animations[0].if[$k].frame.image:200,$new_reflection_animations[0].if[$k].frame.image:200"
																[/set_variable]
																[set_variable]
																	name="new_reflection_animations[0].if[$k].frame.halo_y"
																	value=38
																[/set_variable]
																[set_variable]
																	formula="concatenate('$new_reflection_animations[0].if[$k].frame.halo_mod|','~CROP(0,0,72,(72-22))~BL(1)~O(33%)~FL(vertical)')"
																	name="new_reflection_animations[0].if[$k].frame.halo_mod"
																[/set_variable]
															[/else]
														[/if]
													[/else]
												[/if]
											[/do]
										[/foreach]
									[/then]
									[else]
										[if]
											[variable]
												greater_than_equal_to=2
												name="reflect_unit_type.post_movement_anim.if.frame.length"
											[/variable]
											[then]
												[foreach]
													array="reflect_unit_type.post_movement_anim.if.frame"
													index_var="f"
													variable="frame_item_temp"
													[do]
														[if]
															[variable]
																equals=""
																name="frame_item_temp.image"
															[/variable]
															[then]
																[set_variable]
																	name="frame_item_temp.halo"
																	value="$unit.image:200,$unit.image:200"
																[/set_variable]
																[set_variable]
																	name="frame_item_temp.image"
																	value="$unit.image:200,$unit.image:200"
																[/set_variable]
																[set_variable]
																	name="frame_item_temp.halo_y"
																	value=38
																[/set_variable]
																[set_variable]
																	formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-22))~BL(1)~O(33%)~FL(vertical)')"
																	name="frame_item_temp.halo_mod"
																[/set_variable]
															[/then]
															[else]
																[set_variable]
																	name="frame_item_temp.halo"
																	value="$frame_item_temp.image:200,$frame_item_temp.image:200"
																[/set_variable]
																[set_variable]
																	name="frame_item_temp.image"
																	value="$frame_item_temp.image:200,$frame_item_temp.image:200"
																[/set_variable]
																[set_variable]
																	name="frame_item_temp.halo_y"
																	value=38
																[/set_variable]
																[set_variable]
																	formula="concatenate('$frame_item_temp.halo_mod|','~CROP(0,0,72,(72-22))~BL(1)~O(33%)~FL(vertical)')"
																	name="frame_item_temp.halo_mod"
																[/set_variable]
															[/else]
														[/if]
													[/do]
												[/foreach]
											[/then]
											[else]
												[if]
													[variable]
														equals=""
														name="new_reflection_animations[0].if.frame.image"
													[/variable]
													[then]
														[set_variable]
															name="new_reflection_animations[0].if.frame.halo"
															value="$unit.image:200,$unit.image:200"
														[/set_variable]
														[set_variable]
															name="new_reflection_animations[0].if.frame.image"
															value="$unit.image:200,$unit.image:200"
														[/set_variable]
														[set_variable]
															name="new_reflection_animations[0].if.frame.halo_y"
															value=38
														[/set_variable]
														[set_variable]
															formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-22))~BL(1)~O(33%)~FL(vertical)')"
															name="new_reflection_animations[0].if.frame.halo_mod"
														[/set_variable]
													[/then]
													[else]
														[set_variable]
															name="new_reflection_animations[0].if.frame.halo"
															value="$new_reflection_animations[0].if.frame.image:200,$new_reflection_animations[0].if.frame.image:200"
														[/set_variable]
														[set_variable]
															name="new_reflection_animations[0].if.frame.image"
															value="$new_reflection_animations[0].if.frame.image:200,$new_reflection_animations[0].if.frame.image:200"
														[/set_variable]
														[set_variable]
															name="new_reflection_animations[0].if.frame.halo_y"
															value=38
														[/set_variable]
														[set_variable]
															formula="concatenate('$new_reflection_animations[0].if.frame.halo_mod|','~CROP(0,0,72,(72-22))~BL(1)~O(33%)~FL(vertical)')"
															name="new_reflection_animations[0].if.frame.halo_mod"
														[/set_variable]
													[/else]
												[/if]
											[/else]
										[/if]
									[/else]
								[/if]
							[/then]
							[else]
								[if]
									[variable]
										greater_than_equal_to=2
										name="new_reflection_animations[0].frame.length"
									[/variable]
									[then]
										[foreach]
											array="new_reflection_animations[0].frame"
											index_var="f"
											variable="frame_item_temp"
											[do]
												[if]
													[variable]
														equals=""
														name="frame_item_temp.image"
													[/variable]
													[then]
														[set_variable]
															name="frame_item_temp.halo"
															value="$unit.image:200,$unit.image:200"
														[/set_variable]
														[set_variable]
															name="frame_item_temp.image"
															value="$unit.image:200,$unit.image:200"
														[/set_variable]
														[set_variable]
															name="frame_item_temp.halo_y"
															value=38
														[/set_variable]
														[set_variable]
															formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-22))~BL(1)~O(33%)~FL(vertical)')"
															name="frame_item_temp.halo_mod"
														[/set_variable]
													[/then]
													[else]
														[set_variable]
															name="frame_item_temp.halo"
															value="$frame_item_temp.image:200,$frame_item_temp.image:200"
														[/set_variable]
														[set_variable]
															name="frame_item_temp.image"
															value="$frame_item_temp.image:200,$frame_item_temp.image:200"
														[/set_variable]
														[set_variable]
															name="frame_item_temp.halo_y"
															value=38
														[/set_variable]
														[set_variable]
															formula="concatenate('$frame_item_temp.halo_mod|','~CROP(0,0,72,(72-22))~BL(1)~O(33%)~FL(vertical)')"
															name="frame_item_temp.halo_mod"
														[/set_variable]
													[/else]
												[/if]
											[/do]
										[/foreach]
									[/then]
									[else]
										[if]
											[variable]
												equals=""
												name="new_reflection_animations[0].frame.image"
											[/variable]
											[then]
												[set_variable]
													name="new_reflection_animations[0].frame.halo"
													value="$unit.image:200,$unit.image:200"
												[/set_variable]
												[set_variable]
													name="new_reflection_animations[0].frame.image"
													value="$unit.image:200,$unit.image:200"
												[/set_variable]
												[set_variable]
													name="new_reflection_animations[0].frame.halo_y"
													value=38
												[/set_variable]
												[set_variable]
													formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-22))~BL(1)~O(33%)~FL(vertical)')"
													name="new_reflection_animations[0].frame.halo_mod"
												[/set_variable]
											[/then]
											[else]
												[set_variable]
													name="new_reflection_animations[0].frame.halo"
													value="$new_reflection_animations[0].frame.image:200,$new_reflection_animations[0].frame.image:200"
												[/set_variable]
												[set_variable]
													name="new_reflection_animations[0].frame.image"
													value="$new_reflection_animations[0].frame.image:200,$new_reflection_animations[0].frame.image:200"
												[/set_variable]
												[set_variable]
													name="new_reflection_animations[0].frame.halo_y"
													value=38
												[/set_variable]
												[set_variable]
													formula="concatenate('$new_reflection_animations[0].frame.halo_mod|','~CROP(0,0,72,(72-22))~BL(1)~O(33%)~FL(vertical)')"
													name="new_reflection_animations[0].frame.halo_mod"
												[/set_variable]
											[/else]
										[/if]
									[/else]
								[/if]
							[/else]
						[/if]
						[if]
							[variable]
								greater_than_equal_to=1
								name="reflect_unit_type.post_movement_anim.else.length"
							[/variable]
							[then]
								[if]
									[variable]
										greater_than_equal_to=2
										name="reflect_unit_type.post_movement_anim.else.length"
									[/variable]
									[then]
										[foreach]
											array="reflect_unit_type.post_movement_anim.else"
											index_var="k"
											variable="conditional_item"
											[do]
												[if]
													[variable]
														greater_than_equal_to=2
														name="conditional_item.frame.length"
													[/variable]
													[then]
														[foreach]
															array="conditional_item.frame"
															index_var="f"
															variable="frame_item_temp"
															[do]
																[if]
																	[variable]
																		equals=""
																		name="frame_item_temp.image"
																	[/variable]
																	[then]
																		[set_variable]
																			name="frame_item_temp.halo"
																			value="$unit.image:200,$unit.image:200"
																		[/set_variable]
																		[set_variable]
																			name="frame_item_temp.image"
																			value="$unit.image:200,$unit.image:200"
																		[/set_variable]
																		[set_variable]
																			name="frame_item_temp.halo_y"
																			value=38
																		[/set_variable]
																		[set_variable]
																			formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-22))~BL(1)~O(33%)~FL(vertical)')"
																			name="frame_item_temp.halo_mod"
																		[/set_variable]
																	[/then]
																	[else]
																		[set_variable]
																			name="frame_item_temp.halo"
																			value="$frame_item_temp.image:200,$frame_item_temp.image:200"
																		[/set_variable]
																		[set_variable]
																			name="frame_item_temp.image"
																			value="$frame_item_temp.image:200,$frame_item_temp.image:200"
																		[/set_variable]
																		[set_variable]
																			name="frame_item_temp.halo_y"
																			value=38
																		[/set_variable]
																		[set_variable]
																			formula="concatenate('$frame_item_temp.halo_mod|','~CROP(0,0,72,(72-22))~BL(1)~O(33%)~FL(vertical)')"
																			name="frame_item_temp.halo_mod"
																		[/set_variable]
																	[/else]
																[/if]
															[/do]
														[/foreach]
													[/then]
													[else]
														[if]
															[variable]
																equals=""
																name="new_reflection_animations[0].else[$k].frame.image"
															[/variable]
															[then]
																[set_variable]
																	name="new_reflection_animations[0].else[$k].frame.halo"
																	value="$unit.image:200,$unit.image:200"
																[/set_variable]
																[set_variable]
																	name="new_reflection_animations[0].else[$k].frame.image"
																	value="$unit.image:200,$unit.image:200"
																[/set_variable]
																[set_variable]
																	name="new_reflection_animations[0].else[$k].frame.halo_y"
																	value=38
																[/set_variable]
																[set_variable]
																	formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-22))~BL(1)~O(33%)~FL(vertical)')"
																	name="new_reflection_animations[0].else[$k].frame.halo_mod"
																[/set_variable]
															[/then]
															[else]
																[set_variable]
																	name="new_reflection_animations[0].else[$k].frame.halo"
																	value="$new_reflection_animations[0].else[$k].frame.image:200,$new_reflection_animations[0].else[$k].frame.image:200"
																[/set_variable]
																[set_variable]
																	name="new_reflection_animations[0].else[$k].frame.image"
																	value="$new_reflection_animations[0].else[$k].frame.image:200,$new_reflection_animations[0].else[$k].frame.image:200"
																[/set_variable]
																[set_variable]
																	name="new_reflection_animations[0].else[$k].frame.halo_y"
																	value=38
																[/set_variable]
																[set_variable]
																	formula="concatenate('$new_reflection_animations[0].else[$k].frame.halo_mod|','~CROP(0,0,72,(72-22))~BL(1)~O(33%)~FL(vertical)')"
																	name="new_reflection_animations[0].else[$k].frame.halo_mod"
																[/set_variable]
															[/else]
														[/if]
													[/else]
												[/if]
											[/do]
										[/foreach]
									[/then]
									[else]
										[if]
											[variable]
												greater_than_equal_to=2
												name="reflect_unit_type.post_movement_anim.else.frame.length"
											[/variable]
											[then]
												[foreach]
													array="reflect_unit_type.post_movement_anim.else.frame"
													index_var="f"
													variable="frame_item_temp"
													[do]
														[if]
															[variable]
																equals=""
																name="frame_item_temp.image"
															[/variable]
															[then]
																[set_variable]
																	name="frame_item_temp.halo"
																	value="$unit.image:200,$unit.image:200"
																[/set_variable]
																[set_variable]
																	name="frame_item_temp.image"
																	value="$unit.image:200,$unit.image:200"
																[/set_variable]
																[set_variable]
																	name="frame_item_temp.halo_y"
																	value=38
																[/set_variable]
																[set_variable]
																	formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-22))~BL(1)~O(33%)~FL(vertical)')"
																	name="frame_item_temp.halo_mod"
																[/set_variable]
															[/then]
															[else]
																[set_variable]
																	name="frame_item_temp.halo"
																	value="$frame_item_temp.image:200,$frame_item_temp.image:200"
																[/set_variable]
																[set_variable]
																	name="frame_item_temp.image"
																	value="$frame_item_temp.image:200,$frame_item_temp.image:200"
																[/set_variable]
																[set_variable]
																	name="frame_item_temp.halo_y"
																	value=38
																[/set_variable]
																[set_variable]
																	formula="concatenate('$frame_item_temp.halo_mod|','~CROP(0,0,72,(72-22))~BL(1)~O(33%)~FL(vertical)')"
																	name="frame_item_temp.halo_mod"
																[/set_variable]
															[/else]
														[/if]
													[/do]
												[/foreach]
											[/then]
											[else]
												[if]
													[variable]
														equals=""
														name="new_reflection_animations[0].else.frame.image"
													[/variable]
													[then]
														[set_variable]
															name="new_reflection_animations[0].else.frame.halo"
															value="$unit.image:200,$unit.image:200"
														[/set_variable]
														[set_variable]
															name="new_reflection_animations[0].else.frame.image"
															value="$unit.image:200,$unit.image:200"
														[/set_variable]
														[set_variable]
															name="new_reflection_animations[0].else.frame.halo_y"
															value=38
														[/set_variable]
														[set_variable]
															formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-22))~BL(1)~O(33%)~FL(vertical)')"
															name="new_reflection_animations[0].else.frame.halo_mod"
														[/set_variable]
													[/then]
													[else]
														[set_variable]
															name="new_reflection_animations[0].else.frame.halo"
															value="$new_reflection_animations[0].else.frame.image:200,$new_reflection_animations[0].else.frame.image:200"
														[/set_variable]
														[set_variable]
															name="new_reflection_animations[0].else.frame.image"
															value="$new_reflection_animations[0].else.frame.image:200,$new_reflection_animations[0].else.frame.image:200"
														[/set_variable]
														[set_variable]
															name="new_reflection_animations[0].else.frame.halo_y"
															value=38
														[/set_variable]
														[set_variable]
															formula="concatenate('$new_reflection_animations[0].else.frame.halo_mod|','~CROP(0,0,72,(72-22))~BL(1)~O(33%)~FL(vertical)')"
															name="new_reflection_animations[0].else.frame.halo_mod"
														[/set_variable]
													[/else]
												[/if]
											[/else]
										[/if]
									[/else]
								[/if]
							[/then]
						[/if]
					[/else]
				[/if]
			[/then]
			[else]
				[if]
					[variable]
						name="unit.image"
						not_equals=""
					[/variable]
					[then]
						[set_variables]
							name="new_reflection_animations"
							[value]
								apply_to="standing"
								data_apply_to="post_movement_anim"
								start_time=0
								terrain_type="Wwf,Wwrg,Wwr,Wwrt"
								[frame]
									halo="$unit.image:200,$unit.image:200"
									halo_mod="~CROP(0,0,72,$(72-22))~BL(1)~O(33%)~FL(vertical)"
									halo_y=38
									image="$unit.image:200,$unit.image:200"
								[/frame]
							[/value]
						[/set_variables]
					[/then]
				[/if]
			[/else]
		[/if]
		[set_variables]
			mode="append"
			name="add_animations_variable"
			to_variable="new_reflection_animations"
		[/set_variables]
		[clear_variable]
			name="new_reflection_animations"
		[/clear_variable]
		[if]
			[variable]
				greater_than_equal_to=1
				name="reflect_unit_type.standing_anim.length"
			[/variable]
			[then]
				[if]
					[variable]
						greater_than_equal_to=2
						name="reflect_unit_type.standing_anim.length"
					[/variable]
					[then]
						[foreach]
							array="reflect_unit_type.standing_anim"
							[do]
								[set_variables]
									name="new_reflection_animations[$i]"
									to_variable="this_item"
								[/set_variables]
								[set_variable]
									name="new_reflection_animations[$i].start_time"
									value=0
								[/set_variable]
								[set_variable]
									name="new_reflection_animations[$i].data_apply_to"
									value="standing_anim"
								[/set_variable]
								[set_variable]
									name="new_reflection_animations[$i].base_score"
									value=2
								[/set_variable]
								[set_variables]
									mode="append"
									name="new_reflection_animations[$i].filter"
									[value]
										[filter_location]
											terrain="Ai"
										[/filter_location]
									[/value]
								[/set_variables]
								[if]
									[variable]
										greater_than_equal_to=1
										name="new_reflection_animations[$i].if.length"
									[/variable]
									[then]
										[if]
											[variable]
												greater_than_equal_to=2
												name="new_reflection_animations[$i].if.length"
											[/variable]
											[then]
												[foreach]
													array="new_reflection_animations[$i].if"
													index_var="k"
													variable="conditional_item"
													[do]
														[if]
															[variable]
																greater_than_equal_to=2
																name="conditional_item.frame.length"
															[/variable]
															[then]
																[foreach]
																	array="conditional_item.frame"
																	index_var="f"
																	variable="frame_item_temp"
																	[do]
																		[if]
																			[variable]
																				equals=""
																				name="frame_item_temp.image"
																			[/variable]
																			[then]
																				[set_variable]
																					name="frame_item_temp.halo"
																					value="$unit.image:200,$unit.image:200"
																				[/set_variable]
																				[set_variable]
																					name="frame_item_temp.image"
																					value="$unit.image:200,$unit.image:200"
																				[/set_variable]
																				[set_variable]
																					name="frame_item_temp.halo_y"
																					value=40
																				[/set_variable]
																				[set_variable]
																					formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-0))~BL(1)~O(33%)~FL(vertical)')"
																					name="frame_item_temp.halo_mod"
																				[/set_variable]
																			[/then]
																			[else]
																				[set_variable]
																					name="frame_item_temp.halo"
																					value="$frame_item_temp.image:200,$frame_item_temp.image:200"
																				[/set_variable]
																				[set_variable]
																					name="frame_item_temp.image"
																					value="$frame_item_temp.image:200,$frame_item_temp.image:200"
																				[/set_variable]
																				[set_variable]
																					name="frame_item_temp.halo_y"
																					value=40
																				[/set_variable]
																				[set_variable]
																					formula="concatenate('$frame_item_temp.halo_mod|','~CROP(0,0,72,(72-0))~BL(1)~O(33%)~FL(vertical)')"
																					name="frame_item_temp.halo_mod"
																				[/set_variable]
																			[/else]
																		[/if]
																	[/do]
																[/foreach]
															[/then]
															[else]
																[if]
																	[variable]
																		equals=""
																		name="conditional_item.frame.image"
																	[/variable]
																	[then]
																		[set_variable]
																			name="conditional_item.frame.halo"
																			value="$unit.image:200,$unit.image:200"
																		[/set_variable]
																		[set_variable]
																			name="conditional_item.frame.image"
																			value="$unit.image:200,$unit.image:200"
																		[/set_variable]
																		[set_variable]
																			name="conditional_item.frame.halo_y"
																			value=40
																		[/set_variable]
																		[set_variable]
																			formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-0))~BL(1)~O(33%)~FL(vertical)')"
																			name="conditional_item.frame.halo_mod"
																		[/set_variable]
																	[/then]
																	[else]
																		[set_variable]
																			name="conditional_item.frame.halo"
																			value="$conditional_item.frame.image:200,$conditional_item.frame.image:200"
																		[/set_variable]
																		[set_variable]
																			name="conditional_item.frame.image"
																			value="$conditional_item.frame.image:200,$conditional_item.frame.image:200"
																		[/set_variable]
																		[set_variable]
																			name="conditional_item.frame.halo_y"
																			value=40
																		[/set_variable]
																		[set_variable]
																			formula="concatenate('$conditional_item.frame.halo_mod|','~CROP(0,0,72,(72-0))~BL(1)~O(33%)~FL(vertical)')"
																			name="conditional_item.frame.halo_mod"
																		[/set_variable]
																	[/else]
																[/if]
															[/else]
														[/if]
													[/do]
												[/foreach]
											[/then]
											[else]
												[if]
													[variable]
														greater_than_equal_to=2
														name="new_reflection_animations[$i].if.frame.length"
													[/variable]
													[then]
														[foreach]
															array="new_reflection_animations[$i].if.frame"
															index_var="f"
															variable="frame_item_temp"
															[do]
																[if]
																	[variable]
																		equals=""
																		name="frame_item_temp.image"
																	[/variable]
																	[then]
																		[set_variable]
																			name="frame_item_temp.halo"
																			value="$unit.image:200,$unit.image:200"
																		[/set_variable]
																		[set_variable]
																			name="frame_item_temp.image"
																			value="$unit.image:200,$unit.image:200"
																		[/set_variable]
																		[set_variable]
																			name="frame_item_temp.halo_y"
																			value=40
																		[/set_variable]
																		[set_variable]
																			formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-0))~BL(1)~O(33%)~FL(vertical)')"
																			name="frame_item_temp.halo_mod"
																		[/set_variable]
																	[/then]
																	[else]
																		[set_variable]
																			name="frame_item_temp.halo"
																			value="$frame_item_temp.image:200,$frame_item_temp.image:200"
																		[/set_variable]
																		[set_variable]
																			name="frame_item_temp.image"
																			value="$frame_item_temp.image:200,$frame_item_temp.image:200"
																		[/set_variable]
																		[set_variable]
																			name="frame_item_temp.halo_y"
																			value=40
																		[/set_variable]
																		[set_variable]
																			formula="concatenate('$frame_item_temp.halo_mod|','~CROP(0,0,72,(72-0))~BL(1)~O(33%)~FL(vertical)')"
																			name="frame_item_temp.halo_mod"
																		[/set_variable]
																	[/else]
																[/if]
															[/do]
														[/foreach]
													[/then]
													[else]
														[if]
															[variable]
																equals=""
																name="new_reflection_animations[$i].if.frame.image"
															[/variable]
															[then]
																[set_variable]
																	name="new_reflection_animations[$i].if.frame.halo"
																	value="$unit.image:200,$unit.image:200"
																[/set_variable]
																[set_variable]
																	name="new_reflection_animations[$i].if.frame.image"
																	value="$unit.image:200,$unit.image:200"
																[/set_variable]
																[set_variable]
																	name="new_reflection_animations[$i].if.frame.halo_y"
																	value=40
																[/set_variable]
																[set_variable]
																	formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-0))~BL(1)~O(33%)~FL(vertical)')"
																	name="new_reflection_animations[$i].if.frame.halo_mod"
																[/set_variable]
															[/then]
															[else]
																[set_variable]
																	name="new_reflection_animations[$i].if.frame.halo"
																	value="$new_reflection_animations[$i].if.frame.image:200,$new_reflection_animations[$i].if.frame.image:200"
																[/set_variable]
																[set_variable]
																	name="new_reflection_animations[$i].if.frame.image"
																	value="$new_reflection_animations[$i].if.frame.image:200,$new_reflection_animations[$i].if.frame.image:200"
																[/set_variable]
																[set_variable]
																	name="new_reflection_animations[$i].if.frame.halo_y"
																	value=40
																[/set_variable]
																[set_variable]
																	formula="concatenate('$new_reflection_animations[$i].if.frame.halo_mod|','~CROP(0,0,72,(72-0))~BL(1)~O(33%)~FL(vertical)')"
																	name="new_reflection_animations[$i].if.frame.halo_mod"
																[/set_variable]
															[/else]
														[/if]
													[/else]
												[/if]
											[/else]
										[/if]
									[/then]
									[else]
										[if]
											[variable]
												greater_than_equal_to=2
												name="new_reflection_animations[$i].frame.length"
											[/variable]
											[then]
												[foreach]
													array="new_reflection_animations[$i].frame"
													index_var="f"
													variable="frame_item_temp"
													[do]
														[if]
															[variable]
																equals=""
																name="frame_item_temp.image"
															[/variable]
															[then]
																[set_variable]
																	name="frame_item_temp.halo"
																	value="$unit.image:200,$unit.image:200"
																[/set_variable]
																[set_variable]
																	name="frame_item_temp.image"
																	value="$unit.image:200,$unit.image:200"
																[/set_variable]
																[set_variable]
																	name="frame_item_temp.halo_y"
																	value=40
																[/set_variable]
																[set_variable]
																	formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-0))~BL(1)~O(33%)~FL(vertical)')"
																	name="frame_item_temp.halo_mod"
																[/set_variable]
															[/then]
															[else]
																[set_variable]
																	name="frame_item_temp.halo"
																	value="$frame_item_temp.image:200,$frame_item_temp.image:200"
																[/set_variable]
																[set_variable]
																	name="frame_item_temp.image"
																	value="$frame_item_temp.image:200,$frame_item_temp.image:200"
																[/set_variable]
																[set_variable]
																	name="frame_item_temp.halo_y"
																	value=40
																[/set_variable]
																[set_variable]
																	formula="concatenate('$frame_item_temp.halo_mod|','~CROP(0,0,72,(72-0))~BL(1)~O(33%)~FL(vertical)')"
																	name="frame_item_temp.halo_mod"
																[/set_variable]
															[/else]
														[/if]
													[/do]
												[/foreach]
											[/then]
											[else]
												[if]
													[variable]
														equals=""
														name="new_reflection_animations[$i].frame.image"
													[/variable]
													[then]
														[set_variable]
															name="new_reflection_animations[$i].frame.halo"
															value="$unit.image:200,$unit.image:200"
														[/set_variable]
														[set_variable]
															name="new_reflection_animations[$i].frame.image"
															value="$unit.image:200,$unit.image:200"
														[/set_variable]
														[set_variable]
															name="new_reflection_animations[$i].frame.halo_y"
															value=40
														[/set_variable]
														[set_variable]
															formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-0))~BL(1)~O(33%)~FL(vertical)')"
															name="new_reflection_animations[$i].frame.halo_mod"
														[/set_variable]
													[/then]
													[else]
														[set_variable]
															name="new_reflection_animations[$i].frame.halo"
															value="$new_reflection_animations[$i].frame.image:200,$new_reflection_animations[$i].frame.image:200"
														[/set_variable]
														[set_variable]
															name="new_reflection_animations[$i].frame.image"
															value="$new_reflection_animations[$i].frame.image:200,$new_reflection_animations[$i].frame.image:200"
														[/set_variable]
														[set_variable]
															name="new_reflection_animations[$i].frame.halo_y"
															value=40
														[/set_variable]
														[set_variable]
															formula="concatenate('$new_reflection_animations[$i].frame.halo_mod|','~CROP(0,0,72,(72-0))~BL(1)~O(33%)~FL(vertical)')"
															name="new_reflection_animations[$i].frame.halo_mod"
														[/set_variable]
													[/else]
												[/if]
											[/else]
										[/if]
									[/else]
								[/if]
								[if]
									[variable]
										greater_than_equal_to=1
										name="new_reflection_animations[$i].else.length"
									[/variable]
									[then]
										[if]
											[variable]
												greater_than_equal_to=2
												name="new_reflection_animations[$i].else.length"
											[/variable]
											[then]
												[foreach]
													array="new_reflection_animations[$i].else"
													index_var="k"
													variable="conditional_item"
													[do]
														[if]
															[variable]
																greater_than_equal_to=2
																name="conditional_item.frame.length"
															[/variable]
															[then]
																[foreach]
																	array="conditional_item.frame"
																	index_var="f"
																	variable="frame_item_temp"
																	[do]
																		[if]
																			[variable]
																				equals=""
																				name="frame_item_temp.image"
																			[/variable]
																			[then]
																				[set_variable]
																					name="frame_item_temp.halo"
																					value="$unit.image:200,$unit.image:200"
																				[/set_variable]
																				[set_variable]
																					name="frame_item_temp.image"
																					value="$unit.image:200,$unit.image:200"
																				[/set_variable]
																				[set_variable]
																					name="frame_item_temp.halo_y"
																					value=40
																				[/set_variable]
																				[set_variable]
																					formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-0))~BL(1)~O(33%)~FL(vertical)')"
																					name="frame_item_temp.halo_mod"
																				[/set_variable]
																			[/then]
																			[else]
																				[set_variable]
																					name="frame_item_temp.halo"
																					value="$frame_item_temp.image:200,$frame_item_temp.image:200"
																				[/set_variable]
																				[set_variable]
																					name="frame_item_temp.image"
																					value="$frame_item_temp.image:200,$frame_item_temp.image:200"
																				[/set_variable]
																				[set_variable]
																					name="frame_item_temp.halo_y"
																					value=40
																				[/set_variable]
																				[set_variable]
																					formula="concatenate('$frame_item_temp.halo_mod|','~CROP(0,0,72,(72-0))~BL(1)~O(33%)~FL(vertical)')"
																					name="frame_item_temp.halo_mod"
																				[/set_variable]
																			[/else]
																		[/if]
																	[/do]
																[/foreach]
															[/then]
															[else]
																[if]
																	[variable]
																		equals=""
																		name="new_reflection_animations[$i].else[$k].frame.image"
																	[/variable]
																	[then]
																		[set_variable]
																			name="new_reflection_animations[$i].else[$k].frame.halo"
																			value="$unit.image:200,$unit.image:200"
																		[/set_variable]
																		[set_variable]
																			name="new_reflection_animations[$i].else[$k].frame.image"
																			value="$unit.image:200,$unit.image:200"
																		[/set_variable]
																		[set_variable]
																			name="new_reflection_animations[$i].else[$k].frame.halo_y"
																			value=40
																		[/set_variable]
																		[set_variable]
																			formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-0))~BL(1)~O(33%)~FL(vertical)')"
																			name="new_reflection_animations[$i].else[$k].frame.halo_mod"
																		[/set_variable]
																	[/then]
																	[else]
																		[set_variable]
																			name="new_reflection_animations[$i].else[$k].frame.halo"
																			value="$new_reflection_animations[$i].else[$k].frame.image:200,$new_reflection_animations[$i].else[$k].frame.image:200"
																		[/set_variable]
																		[set_variable]
																			name="new_reflection_animations[$i].else[$k].frame.image"
																			value="$new_reflection_animations[$i].else[$k].frame.image:200,$new_reflection_animations[$i].else[$k].frame.image:200"
																		[/set_variable]
																		[set_variable]
																			name="new_reflection_animations[$i].else[$k].frame.halo_y"
																			value=40
																		[/set_variable]
																		[set_variable]
																			formula="concatenate('$new_reflection_animations[$i].else[$k].frame.halo_mod|','~CROP(0,0,72,(72-0))~BL(1)~O(33%)~FL(vertical)')"
																			name="new_reflection_animations[$i].else[$k].frame.halo_mod"
																		[/set_variable]
																	[/else]
																[/if]
															[/else]
														[/if]
													[/do]
												[/foreach]
											[/then]
											[else]
												[if]
													[variable]
														greater_than_equal_to=2
														name="new_reflection_animations[$i].else.frame.length"
													[/variable]
													[then]
														[foreach]
															array="new_reflection_animations[$i].else.frame"
															index_var="f"
															variable="frame_item_temp"
															[do]
																[if]
																	[variable]
																		equals=""
																		name="frame_item_temp.image"
																	[/variable]
																	[then]
																		[set_variable]
																			name="frame_item_temp.halo"
																			value="$unit.image:200,$unit.image:200"
																		[/set_variable]
																		[set_variable]
																			name="frame_item_temp.image"
																			value="$unit.image:200,$unit.image:200"
																		[/set_variable]
																		[set_variable]
																			name="frame_item_temp.halo_y"
																			value=40
																		[/set_variable]
																		[set_variable]
																			formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-0))~BL(1)~O(33%)~FL(vertical)')"
																			name="frame_item_temp.halo_mod"
																		[/set_variable]
																	[/then]
																	[else]
																		[set_variable]
																			name="frame_item_temp.halo"
																			value="$frame_item_temp.image:200,$frame_item_temp.image:200"
																		[/set_variable]
																		[set_variable]
																			name="frame_item_temp.image"
																			value="$frame_item_temp.image:200,$frame_item_temp.image:200"
																		[/set_variable]
																		[set_variable]
																			name="frame_item_temp.halo_y"
																			value=40
																		[/set_variable]
																		[set_variable]
																			formula="concatenate('$frame_item_temp.halo_mod|','~CROP(0,0,72,(72-0))~BL(1)~O(33%)~FL(vertical)')"
																			name="frame_item_temp.halo_mod"
																		[/set_variable]
																	[/else]
																[/if]
															[/do]
														[/foreach]
													[/then]
													[else]
														[if]
															[variable]
																equals=""
																name="new_reflection_animations[$i].else.frame.image"
															[/variable]
															[then]
																[set_variable]
																	name="new_reflection_animations[$i].else.frame.halo"
																	value="$unit.image:200,$unit.image:200"
																[/set_variable]
																[set_variable]
																	name="new_reflection_animations[$i].else.frame.image"
																	value="$unit.image:200,$unit.image:200"
																[/set_variable]
																[set_variable]
																	name="new_reflection_animations[$i].else.frame.halo_y"
																	value=40
																[/set_variable]
																[set_variable]
																	formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-0))~BL(1)~O(33%)~FL(vertical)')"
																	name="new_reflection_animations[$i].else.frame.halo_mod"
																[/set_variable]
															[/then]
															[else]
																[set_variable]
																	name="new_reflection_animations[$i].else.frame.halo"
																	value="$new_reflection_animations[$i].else.frame.image:200,$new_reflection_animations[$i].else.frame.image:200"
																[/set_variable]
																[set_variable]
																	name="new_reflection_animations[$i].else.frame.image"
																	value="$new_reflection_animations[$i].else.frame.image:200,$new_reflection_animations[$i].else.frame.image:200"
																[/set_variable]
																[set_variable]
																	name="new_reflection_animations[$i].else.frame.halo_y"
																	value=40
																[/set_variable]
																[set_variable]
																	formula="concatenate('$new_reflection_animations[$i].else.frame.halo_mod|','~CROP(0,0,72,(72-0))~BL(1)~O(33%)~FL(vertical)')"
																	name="new_reflection_animations[$i].else.frame.halo_mod"
																[/set_variable]
															[/else]
														[/if]
													[/else]
												[/if]
											[/else]
										[/if]
									[/then]
								[/if]
							[/do]
						[/foreach]
					[/then]
					[else]
						[set_variables]
							name="new_reflection_animations"
							to_variable="reflect_unit_type.standing_anim[0]"
						[/set_variables]
						[set_variable]
							name="new_reflection_animations.data_apply_to"
							value="standing_anim"
						[/set_variable]
						[set_variable]
							name="new_reflection_animations.start_time"
							value=0
						[/set_variable]
						[set_variable]
							name="new_reflection_animations.base_score"
							value=2
						[/set_variable]
						[set_variables]
							mode="append"
							name="new_reflection_animations.filter"
							[value]
								[filter_location]
									terrain="Ai"
								[/filter_location]
							[/value]
						[/set_variables]
						[if]
							[variable]
								greater_than_equal_to=1
								name="reflect_unit_type.standing_anim.if.length"
							[/variable]
							[then]
								[if]
									[variable]
										greater_than_equal_to=2
										name="reflect_unit_type.standing_anim.if.length"
									[/variable]
									[then]
										[foreach]
											array="reflect_unit_type.standing_anim.if"
											index_var="k"
											variable="conditional_item"
											[do]
												[if]
													[variable]
														greater_than_equal_to=2
														name="conditional_item.frame.length"
													[/variable]
													[then]
														[foreach]
															array="conditional_item.frame"
															index_var="f"
															variable="frame_item_temp"
															[do]
																[if]
																	[variable]
																		equals=""
																		name="frame_item_temp.image"
																	[/variable]
																	[then]
																		[set_variable]
																			name="frame_item_temp.halo"
																			value="$unit.image:200,$unit.image:200"
																		[/set_variable]
																		[set_variable]
																			name="frame_item_temp.image"
																			value="$unit.image:200,$unit.image:200"
																		[/set_variable]
																		[set_variable]
																			name="frame_item_temp.halo_y"
																			value=40
																		[/set_variable]
																		[set_variable]
																			formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-0))~BL(1)~O(33%)~FL(vertical)')"
																			name="frame_item_temp.halo_mod"
																		[/set_variable]
																	[/then]
																	[else]
																		[set_variable]
																			name="frame_item_temp.halo"
																			value="$frame_item_temp.image:200,$frame_item_temp.image:200"
																		[/set_variable]
																		[set_variable]
																			name="frame_item_temp.image"
																			value="$frame_item_temp.image:200,$frame_item_temp.image:200"
																		[/set_variable]
																		[set_variable]
																			name="frame_item_temp.halo_y"
																			value=40
																		[/set_variable]
																		[set_variable]
																			formula="concatenate('$frame_item_temp.halo_mod|','~CROP(0,0,72,(72-0))~BL(1)~O(33%)~FL(vertical)')"
																			name="frame_item_temp.halo_mod"
																		[/set_variable]
																	[/else]
																[/if]
															[/do]
														[/foreach]
													[/then]
													[else]
														[if]
															[variable]
																equals=""
																name="new_reflection_animations[0].if[$k].frame.image"
															[/variable]
															[then]
																[set_variable]
																	name="new_reflection_animations[0].if[$k].frame.halo"
																	value="$unit.image:200,$unit.image:200"
																[/set_variable]
																[set_variable]
																	name="new_reflection_animations[0].if[$k].frame.image"
																	value="$unit.image:200,$unit.image:200"
																[/set_variable]
																[set_variable]
																	name="new_reflection_animations[0].if[$k].frame.halo_y"
																	value=40
																[/set_variable]
																[set_variable]
																	formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-0))~BL(1)~O(33%)~FL(vertical)')"
																	name="new_reflection_animations[0].if[$k].frame.halo_mod"
																[/set_variable]
															[/then]
															[else]
																[set_variable]
																	name="new_reflection_animations[0].if[$k].frame.halo"
																	value="$new_reflection_animations[0].if[$k].frame.image:200,$new_reflection_animations[0].if[$k].frame.image:200"
																[/set_variable]
																[set_variable]
																	name="new_reflection_animations[0].if[$k].frame.image"
																	value="$new_reflection_animations[0].if[$k].frame.image:200,$new_reflection_animations[0].if[$k].frame.image:200"
																[/set_variable]
																[set_variable]
																	name="new_reflection_animations[0].if[$k].frame.halo_y"
																	value=40
																[/set_variable]
																[set_variable]
																	formula="concatenate('$new_reflection_animations[0].if[$k].frame.halo_mod|','~CROP(0,0,72,(72-0))~BL(1)~O(33%)~FL(vertical)')"
																	name="new_reflection_animations[0].if[$k].frame.halo_mod"
																[/set_variable]
															[/else]
														[/if]
													[/else]
												[/if]
											[/do]
										[/foreach]
									[/then]
									[else]
										[if]
											[variable]
												greater_than_equal_to=2
												name="reflect_unit_type.standing_anim.if.frame.length"
											[/variable]
											[then]
												[foreach]
													array="reflect_unit_type.standing_anim.if.frame"
													index_var="f"
													variable="frame_item_temp"
													[do]
														[if]
															[variable]
																equals=""
																name="frame_item_temp.image"
															[/variable]
															[then]
																[set_variable]
																	name="frame_item_temp.halo"
																	value="$unit.image:200,$unit.image:200"
																[/set_variable]
																[set_variable]
																	name="frame_item_temp.image"
																	value="$unit.image:200,$unit.image:200"
																[/set_variable]
																[set_variable]
																	name="frame_item_temp.halo_y"
																	value=40
																[/set_variable]
																[set_variable]
																	formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-0))~BL(1)~O(33%)~FL(vertical)')"
																	name="frame_item_temp.halo_mod"
																[/set_variable]
															[/then]
															[else]
																[set_variable]
																	name="frame_item_temp.halo"
																	value="$frame_item_temp.image:200,$frame_item_temp.image:200"
																[/set_variable]
																[set_variable]
																	name="frame_item_temp.image"
																	value="$frame_item_temp.image:200,$frame_item_temp.image:200"
																[/set_variable]
																[set_variable]
																	name="frame_item_temp.halo_y"
																	value=40
																[/set_variable]
																[set_variable]
																	formula="concatenate('$frame_item_temp.halo_mod|','~CROP(0,0,72,(72-0))~BL(1)~O(33%)~FL(vertical)')"
																	name="frame_item_temp.halo_mod"
																[/set_variable]
															[/else]
														[/if]
													[/do]
												[/foreach]
											[/then]
											[else]
												[if]
													[variable]
														equals=""
														name="new_reflection_animations[0].if.frame.image"
													[/variable]
													[then]
														[set_variable]
															name="new_reflection_animations[0].if.frame.halo"
															value="$unit.image:200,$unit.image:200"
														[/set_variable]
														[set_variable]
															name="new_reflection_animations[0].if.frame.image"
															value="$unit.image:200,$unit.image:200"
														[/set_variable]
														[set_variable]
															name="new_reflection_animations[0].if.frame.halo_y"
															value=40
														[/set_variable]
														[set_variable]
															formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-0))~BL(1)~O(33%)~FL(vertical)')"
															name="new_reflection_animations[0].if.frame.halo_mod"
														[/set_variable]
													[/then]
													[else]
														[set_variable]
															name="new_reflection_animations[0].if.frame.halo"
															value="$new_reflection_animations[0].if.frame.image:200,$new_reflection_animations[0].if.frame.image:200"
														[/set_variable]
														[set_variable]
															name="new_reflection_animations[0].if.frame.image"
															value="$new_reflection_animations[0].if.frame.image:200,$new_reflection_animations[0].if.frame.image:200"
														[/set_variable]
														[set_variable]
															name="new_reflection_animations[0].if.frame.halo_y"
															value=40
														[/set_variable]
														[set_variable]
															formula="concatenate('$new_reflection_animations[0].if.frame.halo_mod|','~CROP(0,0,72,(72-0))~BL(1)~O(33%)~FL(vertical)')"
															name="new_reflection_animations[0].if.frame.halo_mod"
														[/set_variable]
													[/else]
												[/if]
											[/else]
										[/if]
									[/else]
								[/if]
							[/then]
							[else]
								[if]
									[variable]
										greater_than_equal_to=2
										name="new_reflection_animations[0].frame.length"
									[/variable]
									[then]
										[foreach]
											array="new_reflection_animations[0].frame"
											index_var="f"
											variable="frame_item_temp"
											[do]
												[if]
													[variable]
														equals=""
														name="frame_item_temp.image"
													[/variable]
													[then]
														[set_variable]
															name="frame_item_temp.halo"
															value="$unit.image:200,$unit.image:200"
														[/set_variable]
														[set_variable]
															name="frame_item_temp.image"
															value="$unit.image:200,$unit.image:200"
														[/set_variable]
														[set_variable]
															name="frame_item_temp.halo_y"
															value=40
														[/set_variable]
														[set_variable]
															formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-0))~BL(1)~O(33%)~FL(vertical)')"
															name="frame_item_temp.halo_mod"
														[/set_variable]
													[/then]
													[else]
														[set_variable]
															name="frame_item_temp.halo"
															value="$frame_item_temp.image:200,$frame_item_temp.image:200"
														[/set_variable]
														[set_variable]
															name="frame_item_temp.image"
															value="$frame_item_temp.image:200,$frame_item_temp.image:200"
														[/set_variable]
														[set_variable]
															name="frame_item_temp.halo_y"
															value=40
														[/set_variable]
														[set_variable]
															formula="concatenate('$frame_item_temp.halo_mod|','~CROP(0,0,72,(72-0))~BL(1)~O(33%)~FL(vertical)')"
															name="frame_item_temp.halo_mod"
														[/set_variable]
													[/else]
												[/if]
											[/do]
										[/foreach]
									[/then]
									[else]
										[if]
											[variable]
												equals=""
												name="new_reflection_animations[0].frame.image"
											[/variable]
											[then]
												[set_variable]
													name="new_reflection_animations[0].frame.halo"
													value="$unit.image:200,$unit.image:200"
												[/set_variable]
												[set_variable]
													name="new_reflection_animations[0].frame.image"
													value="$unit.image:200,$unit.image:200"
												[/set_variable]
												[set_variable]
													name="new_reflection_animations[0].frame.halo_y"
													value=40
												[/set_variable]
												[set_variable]
													formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-0))~BL(1)~O(33%)~FL(vertical)')"
													name="new_reflection_animations[0].frame.halo_mod"
												[/set_variable]
											[/then]
											[else]
												[set_variable]
													name="new_reflection_animations[0].frame.halo"
													value="$new_reflection_animations[0].frame.image:200,$new_reflection_animations[0].frame.image:200"
												[/set_variable]
												[set_variable]
													name="new_reflection_animations[0].frame.image"
													value="$new_reflection_animations[0].frame.image:200,$new_reflection_animations[0].frame.image:200"
												[/set_variable]
												[set_variable]
													name="new_reflection_animations[0].frame.halo_y"
													value=40
												[/set_variable]
												[set_variable]
													formula="concatenate('$new_reflection_animations[0].frame.halo_mod|','~CROP(0,0,72,(72-0))~BL(1)~O(33%)~FL(vertical)')"
													name="new_reflection_animations[0].frame.halo_mod"
												[/set_variable]
											[/else]
										[/if]
									[/else]
								[/if]
							[/else]
						[/if]
						[if]
							[variable]
								greater_than_equal_to=1
								name="reflect_unit_type.standing_anim.else.length"
							[/variable]
							[then]
								[if]
									[variable]
										greater_than_equal_to=2
										name="reflect_unit_type.standing_anim.else.length"
									[/variable]
									[then]
										[foreach]
											array="reflect_unit_type.standing_anim.else"
											index_var="k"
											variable="conditional_item"
											[do]
												[if]
													[variable]
														greater_than_equal_to=2
														name="conditional_item.frame.length"
													[/variable]
													[then]
														[foreach]
															array="conditional_item.frame"
															index_var="f"
															variable="frame_item_temp"
															[do]
																[if]
																	[variable]
																		equals=""
																		name="frame_item_temp.image"
																	[/variable]
																	[then]
																		[set_variable]
																			name="frame_item_temp.halo"
																			value="$unit.image:200,$unit.image:200"
																		[/set_variable]
																		[set_variable]
																			name="frame_item_temp.image"
																			value="$unit.image:200,$unit.image:200"
																		[/set_variable]
																		[set_variable]
																			name="frame_item_temp.halo_y"
																			value=40
																		[/set_variable]
																		[set_variable]
																			formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-0))~BL(1)~O(33%)~FL(vertical)')"
																			name="frame_item_temp.halo_mod"
																		[/set_variable]
																	[/then]
																	[else]
																		[set_variable]
																			name="frame_item_temp.halo"
																			value="$frame_item_temp.image:200,$frame_item_temp.image:200"
																		[/set_variable]
																		[set_variable]
																			name="frame_item_temp.image"
																			value="$frame_item_temp.image:200,$frame_item_temp.image:200"
																		[/set_variable]
																		[set_variable]
																			name="frame_item_temp.halo_y"
																			value=40
																		[/set_variable]
																		[set_variable]
																			formula="concatenate('$frame_item_temp.halo_mod|','~CROP(0,0,72,(72-0))~BL(1)~O(33%)~FL(vertical)')"
																			name="frame_item_temp.halo_mod"
																		[/set_variable]
																	[/else]
																[/if]
															[/do]
														[/foreach]
													[/then]
													[else]
														[if]
															[variable]
																equals=""
																name="new_reflection_animations[0].else[$k].frame.image"
															[/variable]
															[then]
																[set_variable]
																	name="new_reflection_animations[0].else[$k].frame.halo"
																	value="$unit.image:200,$unit.image:200"
																[/set_variable]
																[set_variable]
																	name="new_reflection_animations[0].else[$k].frame.image"
																	value="$unit.image:200,$unit.image:200"
																[/set_variable]
																[set_variable]
																	name="new_reflection_animations[0].else[$k].frame.halo_y"
																	value=40
																[/set_variable]
																[set_variable]
																	formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-0))~BL(1)~O(33%)~FL(vertical)')"
																	name="new_reflection_animations[0].else[$k].frame.halo_mod"
																[/set_variable]
															[/then]
															[else]
																[set_variable]
																	name="new_reflection_animations[0].else[$k].frame.halo"
																	value="$new_reflection_animations[0].else[$k].frame.image:200,$new_reflection_animations[0].else[$k].frame.image:200"
																[/set_variable]
																[set_variable]
																	name="new_reflection_animations[0].else[$k].frame.image"
																	value="$new_reflection_animations[0].else[$k].frame.image:200,$new_reflection_animations[0].else[$k].frame.image:200"
																[/set_variable]
																[set_variable]
																	name="new_reflection_animations[0].else[$k].frame.halo_y"
																	value=40
																[/set_variable]
																[set_variable]
																	formula="concatenate('$new_reflection_animations[0].else[$k].frame.halo_mod|','~CROP(0,0,72,(72-0))~BL(1)~O(33%)~FL(vertical)')"
																	name="new_reflection_animations[0].else[$k].frame.halo_mod"
																[/set_variable]
															[/else]
														[/if]
													[/else]
												[/if]
											[/do]
										[/foreach]
									[/then]
									[else]
										[if]
											[variable]
												greater_than_equal_to=2
												name="reflect_unit_type.standing_anim.else.frame.length"
											[/variable]
											[then]
												[foreach]
													array="reflect_unit_type.standing_anim.else.frame"
													index_var="f"
													variable="frame_item_temp"
													[do]
														[if]
															[variable]
																equals=""
																name="frame_item_temp.image"
															[/variable]
															[then]
																[set_variable]
																	name="frame_item_temp.halo"
																	value="$unit.image:200,$unit.image:200"
																[/set_variable]
																[set_variable]
																	name="frame_item_temp.image"
																	value="$unit.image:200,$unit.image:200"
																[/set_variable]
																[set_variable]
																	name="frame_item_temp.halo_y"
																	value=40
																[/set_variable]
																[set_variable]
																	formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-0))~BL(1)~O(33%)~FL(vertical)')"
																	name="frame_item_temp.halo_mod"
																[/set_variable]
															[/then]
															[else]
																[set_variable]
																	name="frame_item_temp.halo"
																	value="$frame_item_temp.image:200,$frame_item_temp.image:200"
																[/set_variable]
																[set_variable]
																	name="frame_item_temp.image"
																	value="$frame_item_temp.image:200,$frame_item_temp.image:200"
																[/set_variable]
																[set_variable]
																	name="frame_item_temp.halo_y"
																	value=40
																[/set_variable]
																[set_variable]
																	formula="concatenate('$frame_item_temp.halo_mod|','~CROP(0,0,72,(72-0))~BL(1)~O(33%)~FL(vertical)')"
																	name="frame_item_temp.halo_mod"
																[/set_variable]
															[/else]
														[/if]
													[/do]
												[/foreach]
											[/then]
											[else]
												[if]
													[variable]
														equals=""
														name="new_reflection_animations[0].else.frame.image"
													[/variable]
													[then]
														[set_variable]
															name="new_reflection_animations[0].else.frame.halo"
															value="$unit.image:200,$unit.image:200"
														[/set_variable]
														[set_variable]
															name="new_reflection_animations[0].else.frame.image"
															value="$unit.image:200,$unit.image:200"
														[/set_variable]
														[set_variable]
															name="new_reflection_animations[0].else.frame.halo_y"
															value=40
														[/set_variable]
														[set_variable]
															formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-0))~BL(1)~O(33%)~FL(vertical)')"
															name="new_reflection_animations[0].else.frame.halo_mod"
														[/set_variable]
													[/then]
													[else]
														[set_variable]
															name="new_reflection_animations[0].else.frame.halo"
															value="$new_reflection_animations[0].else.frame.image:200,$new_reflection_animations[0].else.frame.image:200"
														[/set_variable]
														[set_variable]
															name="new_reflection_animations[0].else.frame.image"
															value="$new_reflection_animations[0].else.frame.image:200,$new_reflection_animations[0].else.frame.image:200"
														[/set_variable]
														[set_variable]
															name="new_reflection_animations[0].else.frame.halo_y"
															value=40
														[/set_variable]
														[set_variable]
															formula="concatenate('$new_reflection_animations[0].else.frame.halo_mod|','~CROP(0,0,72,(72-0))~BL(1)~O(33%)~FL(vertical)')"
															name="new_reflection_animations[0].else.frame.halo_mod"
														[/set_variable]
													[/else]
												[/if]
											[/else]
										[/if]
									[/else]
								[/if]
							[/then]
						[/if]
					[/else]
				[/if]
			[/then]
			[else]
				[if]
					[variable]
						name="unit.image"
						not_equals=""
					[/variable]
					[then]
						[set_variables]
							name="new_reflection_animations"
							[value]
								apply_to="standing"
								data_apply_to="standing_anim"
								start_time=0
								terrain_type="Ai"
								[frame]
									halo="$unit.image:200,$unit.image:200"
									halo_mod="~CROP(0,0,72,$(72-0))~BL(1)~O(33%)~FL(vertical)"
									halo_y=40
									image="$unit.image:200,$unit.image:200"
								[/frame]
							[/value]
						[/set_variables]
					[/then]
				[/if]
			[/else]
		[/if]
		[set_variables]
			mode="append"
			name="add_animations_variable"
			to_variable="new_reflection_animations"
		[/set_variables]
		[clear_variable]
			name="new_reflection_animations"
		[/clear_variable]
		[if]
			[variable]
				greater_than_equal_to=1
				name="reflect_unit_type.movement_anim.length"
			[/variable]
			[then]
				[if]
					[variable]
						greater_than_equal_to=2
						name="reflect_unit_type.movement_anim.length"
					[/variable]
					[then]
						[foreach]
							array="reflect_unit_type.movement_anim"
							[do]
								[set_variables]
									name="new_reflection_animations[$i]"
									to_variable="this_item"
								[/set_variables]
								[set_variable]
									name="new_reflection_animations[$i].start_time"
									value=0
								[/set_variable]
								[set_variable]
									name="new_reflection_animations[$i].data_apply_to"
									value="movement_anim"
								[/set_variable]
								[set_variable]
									name="new_reflection_animations[$i].base_score"
									value=2
								[/set_variable]
								[set_variables]
									mode="append"
									name="new_reflection_animations[$i].filter"
									[value]
										[filter_location]
											terrain="Ai"
										[/filter_location]
									[/value]
								[/set_variables]
								[if]
									[variable]
										greater_than_equal_to=1
										name="new_reflection_animations[$i].if.length"
									[/variable]
									[then]
										[if]
											[variable]
												greater_than_equal_to=2
												name="new_reflection_animations[$i].if.length"
											[/variable]
											[then]
												[foreach]
													array="new_reflection_animations[$i].if"
													index_var="k"
													variable="conditional_item"
													[do]
														[if]
															[variable]
																greater_than_equal_to=2
																name="conditional_item.frame.length"
															[/variable]
															[then]
																[foreach]
																	array="conditional_item.frame"
																	index_var="f"
																	variable="frame_item_temp"
																	[do]
																		[if]
																			[variable]
																				equals=""
																				name="frame_item_temp.image"
																			[/variable]
																			[then]
																				[set_variable]
																					name="frame_item_temp.halo"
																					value="$unit.image:200,$unit.image:200"
																				[/set_variable]
																				[set_variable]
																					name="frame_item_temp.image"
																					value="$unit.image:200,$unit.image:200"
																				[/set_variable]
																				[set_variable]
																					name="frame_item_temp.halo_y"
																					value=40
																				[/set_variable]
																				[set_variable]
																					formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-0))~BL(1)~O(33%)~FL(vertical)')"
																					name="frame_item_temp.halo_mod"
																				[/set_variable]
																			[/then]
																			[else]
																				[set_variable]
																					name="frame_item_temp.halo"
																					value="$frame_item_temp.image:200,$frame_item_temp.image:200"
																				[/set_variable]
																				[set_variable]
																					name="frame_item_temp.image"
																					value="$frame_item_temp.image:200,$frame_item_temp.image:200"
																				[/set_variable]
																				[set_variable]
																					name="frame_item_temp.halo_y"
																					value=40
																				[/set_variable]
																				[set_variable]
																					formula="concatenate('$frame_item_temp.halo_mod|','~CROP(0,0,72,(72-0))~BL(1)~O(33%)~FL(vertical)')"
																					name="frame_item_temp.halo_mod"
																				[/set_variable]
																			[/else]
																		[/if]
																	[/do]
																[/foreach]
															[/then]
															[else]
																[if]
																	[variable]
																		equals=""
																		name="conditional_item.frame.image"
																	[/variable]
																	[then]
																		[set_variable]
																			name="conditional_item.frame.halo"
																			value="$unit.image:200,$unit.image:200"
																		[/set_variable]
																		[set_variable]
																			name="conditional_item.frame.image"
																			value="$unit.image:200,$unit.image:200"
																		[/set_variable]
																		[set_variable]
																			name="conditional_item.frame.halo_y"
																			value=40
																		[/set_variable]
																		[set_variable]
																			formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-0))~BL(1)~O(33%)~FL(vertical)')"
																			name="conditional_item.frame.halo_mod"
																		[/set_variable]
																	[/then]
																	[else]
																		[set_variable]
																			name="conditional_item.frame.halo"
																			value="$conditional_item.frame.image:200,$conditional_item.frame.image:200"
																		[/set_variable]
																		[set_variable]
																			name="conditional_item.frame.image"
																			value="$conditional_item.frame.image:200,$conditional_item.frame.image:200"
																		[/set_variable]
																		[set_variable]
																			name="conditional_item.frame.halo_y"
																			value=40
																		[/set_variable]
																		[set_variable]
																			formula="concatenate('$conditional_item.frame.halo_mod|','~CROP(0,0,72,(72-0))~BL(1)~O(33%)~FL(vertical)')"
																			name="conditional_item.frame.halo_mod"
																		[/set_variable]
																	[/else]
																[/if]
															[/else]
														[/if]
													[/do]
												[/foreach]
											[/then]
											[else]
												[if]
													[variable]
														greater_than_equal_to=2
														name="new_reflection_animations[$i].if.frame.length"
													[/variable]
													[then]
														[foreach]
															array="new_reflection_animations[$i].if.frame"
															index_var="f"
															variable="frame_item_temp"
															[do]
																[if]
																	[variable]
																		equals=""
																		name="frame_item_temp.image"
																	[/variable]
																	[then]
																		[set_variable]
																			name="frame_item_temp.halo"
																			value="$unit.image:200,$unit.image:200"
																		[/set_variable]
																		[set_variable]
																			name="frame_item_temp.image"
																			value="$unit.image:200,$unit.image:200"
																		[/set_variable]
																		[set_variable]
																			name="frame_item_temp.halo_y"
																			value=40
																		[/set_variable]
																		[set_variable]
																			formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-0))~BL(1)~O(33%)~FL(vertical)')"
																			name="frame_item_temp.halo_mod"
																		[/set_variable]
																	[/then]
																	[else]
																		[set_variable]
																			name="frame_item_temp.halo"
																			value="$frame_item_temp.image:200,$frame_item_temp.image:200"
																		[/set_variable]
																		[set_variable]
																			name="frame_item_temp.image"
																			value="$frame_item_temp.image:200,$frame_item_temp.image:200"
																		[/set_variable]
																		[set_variable]
																			name="frame_item_temp.halo_y"
																			value=40
																		[/set_variable]
																		[set_variable]
																			formula="concatenate('$frame_item_temp.halo_mod|','~CROP(0,0,72,(72-0))~BL(1)~O(33%)~FL(vertical)')"
																			name="frame_item_temp.halo_mod"
																		[/set_variable]
																	[/else]
																[/if]
															[/do]
														[/foreach]
													[/then]
													[else]
														[if]
															[variable]
																equals=""
																name="new_reflection_animations[$i].if.frame.image"
															[/variable]
															[then]
																[set_variable]
																	name="new_reflection_animations[$i].if.frame.halo"
																	value="$unit.image:200,$unit.image:200"
																[/set_variable]
																[set_variable]
																	name="new_reflection_animations[$i].if.frame.image"
																	value="$unit.image:200,$unit.image:200"
																[/set_variable]
																[set_variable]
																	name="new_reflection_animations[$i].if.frame.halo_y"
																	value=40
																[/set_variable]
																[set_variable]
																	formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-0))~BL(1)~O(33%)~FL(vertical)')"
																	name="new_reflection_animations[$i].if.frame.halo_mod"
																[/set_variable]
															[/then]
															[else]
																[set_variable]
																	name="new_reflection_animations[$i].if.frame.halo"
																	value="$new_reflection_animations[$i].if.frame.image:200,$new_reflection_animations[$i].if.frame.image:200"
																[/set_variable]
																[set_variable]
																	name="new_reflection_animations[$i].if.frame.image"
																	value="$new_reflection_animations[$i].if.frame.image:200,$new_reflection_animations[$i].if.frame.image:200"
																[/set_variable]
																[set_variable]
																	name="new_reflection_animations[$i].if.frame.halo_y"
																	value=40
																[/set_variable]
																[set_variable]
																	formula="concatenate('$new_reflection_animations[$i].if.frame.halo_mod|','~CROP(0,0,72,(72-0))~BL(1)~O(33%)~FL(vertical)')"
																	name="new_reflection_animations[$i].if.frame.halo_mod"
																[/set_variable]
															[/else]
														[/if]
													[/else]
												[/if]
											[/else]
										[/if]
									[/then]
									[else]
										[if]
											[variable]
												greater_than_equal_to=2
												name="new_reflection_animations[$i].frame.length"
											[/variable]
											[then]
												[foreach]
													array="new_reflection_animations[$i].frame"
													index_var="f"
													variable="frame_item_temp"
													[do]
														[if]
															[variable]
																equals=""
																name="frame_item_temp.image"
															[/variable]
															[then]
																[set_variable]
																	name="frame_item_temp.halo"
																	value="$unit.image:200,$unit.image:200"
																[/set_variable]
																[set_variable]
																	name="frame_item_temp.image"
																	value="$unit.image:200,$unit.image:200"
																[/set_variable]
																[set_variable]
																	name="frame_item_temp.halo_y"
																	value=40
																[/set_variable]
																[set_variable]
																	formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-0))~BL(1)~O(33%)~FL(vertical)')"
																	name="frame_item_temp.halo_mod"
																[/set_variable]
															[/then]
															[else]
																[set_variable]
																	name="frame_item_temp.halo"
																	value="$frame_item_temp.image:200,$frame_item_temp.image:200"
																[/set_variable]
																[set_variable]
																	name="frame_item_temp.image"
																	value="$frame_item_temp.image:200,$frame_item_temp.image:200"
																[/set_variable]
																[set_variable]
																	name="frame_item_temp.halo_y"
																	value=40
																[/set_variable]
																[set_variable]
																	formula="concatenate('$frame_item_temp.halo_mod|','~CROP(0,0,72,(72-0))~BL(1)~O(33%)~FL(vertical)')"
																	name="frame_item_temp.halo_mod"
																[/set_variable]
															[/else]
														[/if]
													[/do]
												[/foreach]
											[/then]
											[else]
												[if]
													[variable]
														equals=""
														name="new_reflection_animations[$i].frame.image"
													[/variable]
													[then]
														[set_variable]
															name="new_reflection_animations[$i].frame.halo"
															value="$unit.image:200,$unit.image:200"
														[/set_variable]
														[set_variable]
															name="new_reflection_animations[$i].frame.image"
															value="$unit.image:200,$unit.image:200"
														[/set_variable]
														[set_variable]
															name="new_reflection_animations[$i].frame.halo_y"
															value=40
														[/set_variable]
														[set_variable]
															formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-0))~BL(1)~O(33%)~FL(vertical)')"
															name="new_reflection_animations[$i].frame.halo_mod"
														[/set_variable]
													[/then]
													[else]
														[set_variable]
															name="new_reflection_animations[$i].frame.halo"
															value="$new_reflection_animations[$i].frame.image:200,$new_reflection_animations[$i].frame.image:200"
														[/set_variable]
														[set_variable]
															name="new_reflection_animations[$i].frame.image"
															value="$new_reflection_animations[$i].frame.image:200,$new_reflection_animations[$i].frame.image:200"
														[/set_variable]
														[set_variable]
															name="new_reflection_animations[$i].frame.halo_y"
															value=40
														[/set_variable]
														[set_variable]
															formula="concatenate('$new_reflection_animations[$i].frame.halo_mod|','~CROP(0,0,72,(72-0))~BL(1)~O(33%)~FL(vertical)')"
															name="new_reflection_animations[$i].frame.halo_mod"
														[/set_variable]
													[/else]
												[/if]
											[/else]
										[/if]
									[/else]
								[/if]
								[if]
									[variable]
										greater_than_equal_to=1
										name="new_reflection_animations[$i].else.length"
									[/variable]
									[then]
										[if]
											[variable]
												greater_than_equal_to=2
												name="new_reflection_animations[$i].else.length"
											[/variable]
											[then]
												[foreach]
													array="new_reflection_animations[$i].else"
													index_var="k"
													variable="conditional_item"
													[do]
														[if]
															[variable]
																greater_than_equal_to=2
																name="conditional_item.frame.length"
															[/variable]
															[then]
																[foreach]
																	array="conditional_item.frame"
																	index_var="f"
																	variable="frame_item_temp"
																	[do]
																		[if]
																			[variable]
																				equals=""
																				name="frame_item_temp.image"
																			[/variable]
																			[then]
																				[set_variable]
																					name="frame_item_temp.halo"
																					value="$unit.image:200,$unit.image:200"
																				[/set_variable]
																				[set_variable]
																					name="frame_item_temp.image"
																					value="$unit.image:200,$unit.image:200"
																				[/set_variable]
																				[set_variable]
																					name="frame_item_temp.halo_y"
																					value=40
																				[/set_variable]
																				[set_variable]
																					formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-0))~BL(1)~O(33%)~FL(vertical)')"
																					name="frame_item_temp.halo_mod"
																				[/set_variable]
																			[/then]
																			[else]
																				[set_variable]
																					name="frame_item_temp.halo"
																					value="$frame_item_temp.image:200,$frame_item_temp.image:200"
																				[/set_variable]
																				[set_variable]
																					name="frame_item_temp.image"
																					value="$frame_item_temp.image:200,$frame_item_temp.image:200"
																				[/set_variable]
																				[set_variable]
																					name="frame_item_temp.halo_y"
																					value=40
																				[/set_variable]
																				[set_variable]
																					formula="concatenate('$frame_item_temp.halo_mod|','~CROP(0,0,72,(72-0))~BL(1)~O(33%)~FL(vertical)')"
																					name="frame_item_temp.halo_mod"
																				[/set_variable]
																			[/else]
																		[/if]
																	[/do]
																[/foreach]
															[/then]
															[else]
																[if]
																	[variable]
																		equals=""
																		name="new_reflection_animations[$i].else[$k].frame.image"
																	[/variable]
																	[then]
																		[set_variable]
																			name="new_reflection_animations[$i].else[$k].frame.halo"
																			value="$unit.image:200,$unit.image:200"
																		[/set_variable]
																		[set_variable]
																			name="new_reflection_animations[$i].else[$k].frame.image"
																			value="$unit.image:200,$unit.image:200"
																		[/set_variable]
																		[set_variable]
																			name="new_reflection_animations[$i].else[$k].frame.halo_y"
																			value=40
																		[/set_variable]
																		[set_variable]
																			formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-0))~BL(1)~O(33%)~FL(vertical)')"
																			name="new_reflection_animations[$i].else[$k].frame.halo_mod"
																		[/set_variable]
																	[/then]
																	[else]
																		[set_variable]
																			name="new_reflection_animations[$i].else[$k].frame.halo"
																			value="$new_reflection_animations[$i].else[$k].frame.image:200,$new_reflection_animations[$i].else[$k].frame.image:200"
																		[/set_variable]
																		[set_variable]
																			name="new_reflection_animations[$i].else[$k].frame.image"
																			value="$new_reflection_animations[$i].else[$k].frame.image:200,$new_reflection_animations[$i].else[$k].frame.image:200"
																		[/set_variable]
																		[set_variable]
																			name="new_reflection_animations[$i].else[$k].frame.halo_y"
																			value=40
																		[/set_variable]
																		[set_variable]
																			formula="concatenate('$new_reflection_animations[$i].else[$k].frame.halo_mod|','~CROP(0,0,72,(72-0))~BL(1)~O(33%)~FL(vertical)')"
																			name="new_reflection_animations[$i].else[$k].frame.halo_mod"
																		[/set_variable]
																	[/else]
																[/if]
															[/else]
														[/if]
													[/do]
												[/foreach]
											[/then]
											[else]
												[if]
													[variable]
														greater_than_equal_to=2
														name="new_reflection_animations[$i].else.frame.length"
													[/variable]
													[then]
														[foreach]
															array="new_reflection_animations[$i].else.frame"
															index_var="f"
															variable="frame_item_temp"
															[do]
																[if]
																	[variable]
																		equals=""
																		name="frame_item_temp.image"
																	[/variable]
																	[then]
																		[set_variable]
																			name="frame_item_temp.halo"
																			value="$unit.image:200,$unit.image:200"
																		[/set_variable]
																		[set_variable]
																			name="frame_item_temp.image"
																			value="$unit.image:200,$unit.image:200"
																		[/set_variable]
																		[set_variable]
																			name="frame_item_temp.halo_y"
																			value=40
																		[/set_variable]
																		[set_variable]
																			formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-0))~BL(1)~O(33%)~FL(vertical)')"
																			name="frame_item_temp.halo_mod"
																		[/set_variable]
																	[/then]
																	[else]
																		[set_variable]
																			name="frame_item_temp.halo"
																			value="$frame_item_temp.image:200,$frame_item_temp.image:200"
																		[/set_variable]
																		[set_variable]
																			name="frame_item_temp.image"
																			value="$frame_item_temp.image:200,$frame_item_temp.image:200"
																		[/set_variable]
																		[set_variable]
																			name="frame_item_temp.halo_y"
																			value=40
																		[/set_variable]
																		[set_variable]
																			formula="concatenate('$frame_item_temp.halo_mod|','~CROP(0,0,72,(72-0))~BL(1)~O(33%)~FL(vertical)')"
																			name="frame_item_temp.halo_mod"
																		[/set_variable]
																	[/else]
																[/if]
															[/do]
														[/foreach]
													[/then]
													[else]
														[if]
															[variable]
																equals=""
																name="new_reflection_animations[$i].else.frame.image"
															[/variable]
															[then]
																[set_variable]
																	name="new_reflection_animations[$i].else.frame.halo"
																	value="$unit.image:200,$unit.image:200"
																[/set_variable]
																[set_variable]
																	name="new_reflection_animations[$i].else.frame.image"
																	value="$unit.image:200,$unit.image:200"
																[/set_variable]
																[set_variable]
																	name="new_reflection_animations[$i].else.frame.halo_y"
																	value=40
																[/set_variable]
																[set_variable]
																	formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-0))~BL(1)~O(33%)~FL(vertical)')"
																	name="new_reflection_animations[$i].else.frame.halo_mod"
																[/set_variable]
															[/then]
															[else]
																[set_variable]
																	name="new_reflection_animations[$i].else.frame.halo"
																	value="$new_reflection_animations[$i].else.frame.image:200,$new_reflection_animations[$i].else.frame.image:200"
																[/set_variable]
																[set_variable]
																	name="new_reflection_animations[$i].else.frame.image"
																	value="$new_reflection_animations[$i].else.frame.image:200,$new_reflection_animations[$i].else.frame.image:200"
																[/set_variable]
																[set_variable]
																	name="new_reflection_animations[$i].else.frame.halo_y"
																	value=40
																[/set_variable]
																[set_variable]
																	formula="concatenate('$new_reflection_animations[$i].else.frame.halo_mod|','~CROP(0,0,72,(72-0))~BL(1)~O(33%)~FL(vertical)')"
																	name="new_reflection_animations[$i].else.frame.halo_mod"
																[/set_variable]
															[/else]
														[/if]
													[/else]
												[/if]
											[/else]
										[/if]
									[/then]
								[/if]
							[/do]
						[/foreach]
					[/then]
					[else]
						[set_variables]
							name="new_reflection_animations"
							to_variable="reflect_unit_type.movement_anim[0]"
						[/set_variables]
						[set_variable]
							name="new_reflection_animations.data_apply_to"
							value="movement_anim"
						[/set_variable]
						[set_variable]
							name="new_reflection_animations.start_time"
							value=0
						[/set_variable]
						[set_variable]
							name="new_reflection_animations.base_score"
							value=2
						[/set_variable]
						[set_variables]
							mode="append"
							name="new_reflection_animations.filter"
							[value]
								[filter_location]
									terrain="Ai"
								[/filter_location]
							[/value]
						[/set_variables]
						[if]
							[variable]
								greater_than_equal_to=1
								name="reflect_unit_type.movement_anim.if.length"
							[/variable]
							[then]
								[if]
									[variable]
										greater_than_equal_to=2
										name="reflect_unit_type.movement_anim.if.length"
									[/variable]
									[then]
										[foreach]
											array="reflect_unit_type.movement_anim.if"
											index_var="k"
											variable="conditional_item"
											[do]
												[if]
													[variable]
														greater_than_equal_to=2
														name="conditional_item.frame.length"
													[/variable]
													[then]
														[foreach]
															array="conditional_item.frame"
															index_var="f"
															variable="frame_item_temp"
															[do]
																[if]
																	[variable]
																		equals=""
																		name="frame_item_temp.image"
																	[/variable]
																	[then]
																		[set_variable]
																			name="frame_item_temp.halo"
																			value="$unit.image:200,$unit.image:200"
																		[/set_variable]
																		[set_variable]
																			name="frame_item_temp.image"
																			value="$unit.image:200,$unit.image:200"
																		[/set_variable]
																		[set_variable]
																			name="frame_item_temp.halo_y"
																			value=40
																		[/set_variable]
																		[set_variable]
																			formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-0))~BL(1)~O(33%)~FL(vertical)')"
																			name="frame_item_temp.halo_mod"
																		[/set_variable]
																	[/then]
																	[else]
																		[set_variable]
																			name="frame_item_temp.halo"
																			value="$frame_item_temp.image:200,$frame_item_temp.image:200"
																		[/set_variable]
																		[set_variable]
																			name="frame_item_temp.image"
																			value="$frame_item_temp.image:200,$frame_item_temp.image:200"
																		[/set_variable]
																		[set_variable]
																			name="frame_item_temp.halo_y"
																			value=40
																		[/set_variable]
																		[set_variable]
																			formula="concatenate('$frame_item_temp.halo_mod|','~CROP(0,0,72,(72-0))~BL(1)~O(33%)~FL(vertical)')"
																			name="frame_item_temp.halo_mod"
																		[/set_variable]
																	[/else]
																[/if]
															[/do]
														[/foreach]
													[/then]
													[else]
														[if]
															[variable]
																equals=""
																name="new_reflection_animations[0].if[$k].frame.image"
															[/variable]
															[then]
																[set_variable]
																	name="new_reflection_animations[0].if[$k].frame.halo"
																	value="$unit.image:200,$unit.image:200"
																[/set_variable]
																[set_variable]
																	name="new_reflection_animations[0].if[$k].frame.image"
																	value="$unit.image:200,$unit.image:200"
																[/set_variable]
																[set_variable]
																	name="new_reflection_animations[0].if[$k].frame.halo_y"
																	value=40
																[/set_variable]
																[set_variable]
																	formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-0))~BL(1)~O(33%)~FL(vertical)')"
																	name="new_reflection_animations[0].if[$k].frame.halo_mod"
																[/set_variable]
															[/then]
															[else]
																[set_variable]
																	name="new_reflection_animations[0].if[$k].frame.halo"
																	value="$new_reflection_animations[0].if[$k].frame.image:200,$new_reflection_animations[0].if[$k].frame.image:200"
																[/set_variable]
																[set_variable]
																	name="new_reflection_animations[0].if[$k].frame.image"
																	value="$new_reflection_animations[0].if[$k].frame.image:200,$new_reflection_animations[0].if[$k].frame.image:200"
																[/set_variable]
																[set_variable]
																	name="new_reflection_animations[0].if[$k].frame.halo_y"
																	value=40
																[/set_variable]
																[set_variable]
																	formula="concatenate('$new_reflection_animations[0].if[$k].frame.halo_mod|','~CROP(0,0,72,(72-0))~BL(1)~O(33%)~FL(vertical)')"
																	name="new_reflection_animations[0].if[$k].frame.halo_mod"
																[/set_variable]
															[/else]
														[/if]
													[/else]
												[/if]
											[/do]
										[/foreach]
									[/then]
									[else]
										[if]
											[variable]
												greater_than_equal_to=2
												name="reflect_unit_type.movement_anim.if.frame.length"
											[/variable]
											[then]
												[foreach]
													array="reflect_unit_type.movement_anim.if.frame"
													index_var="f"
													variable="frame_item_temp"
													[do]
														[if]
															[variable]
																equals=""
																name="frame_item_temp.image"
															[/variable]
															[then]
																[set_variable]
																	name="frame_item_temp.halo"
																	value="$unit.image:200,$unit.image:200"
																[/set_variable]
																[set_variable]
																	name="frame_item_temp.image"
																	value="$unit.image:200,$unit.image:200"
																[/set_variable]
																[set_variable]
																	name="frame_item_temp.halo_y"
																	value=40
																[/set_variable]
																[set_variable]
																	formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-0))~BL(1)~O(33%)~FL(vertical)')"
																	name="frame_item_temp.halo_mod"
																[/set_variable]
															[/then]
															[else]
																[set_variable]
																	name="frame_item_temp.halo"
																	value="$frame_item_temp.image:200,$frame_item_temp.image:200"
																[/set_variable]
																[set_variable]
																	name="frame_item_temp.image"
																	value="$frame_item_temp.image:200,$frame_item_temp.image:200"
																[/set_variable]
																[set_variable]
																	name="frame_item_temp.halo_y"
																	value=40
																[/set_variable]
																[set_variable]
																	formula="concatenate('$frame_item_temp.halo_mod|','~CROP(0,0,72,(72-0))~BL(1)~O(33%)~FL(vertical)')"
																	name="frame_item_temp.halo_mod"
																[/set_variable]
															[/else]
														[/if]
													[/do]
												[/foreach]
											[/then]
											[else]
												[if]
													[variable]
														equals=""
														name="new_reflection_animations[0].if.frame.image"
													[/variable]
													[then]
														[set_variable]
															name="new_reflection_animations[0].if.frame.halo"
															value="$unit.image:200,$unit.image:200"
														[/set_variable]
														[set_variable]
															name="new_reflection_animations[0].if.frame.image"
															value="$unit.image:200,$unit.image:200"
														[/set_variable]
														[set_variable]
															name="new_reflection_animations[0].if.frame.halo_y"
															value=40
														[/set_variable]
														[set_variable]
															formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-0))~BL(1)~O(33%)~FL(vertical)')"
															name="new_reflection_animations[0].if.frame.halo_mod"
														[/set_variable]
													[/then]
													[else]
														[set_variable]
															name="new_reflection_animations[0].if.frame.halo"
															value="$new_reflection_animations[0].if.frame.image:200,$new_reflection_animations[0].if.frame.image:200"
														[/set_variable]
														[set_variable]
															name="new_reflection_animations[0].if.frame.image"
															value="$new_reflection_animations[0].if.frame.image:200,$new_reflection_animations[0].if.frame.image:200"
														[/set_variable]
														[set_variable]
															name="new_reflection_animations[0].if.frame.halo_y"
															value=40
														[/set_variable]
														[set_variable]
															formula="concatenate('$new_reflection_animations[0].if.frame.halo_mod|','~CROP(0,0,72,(72-0))~BL(1)~O(33%)~FL(vertical)')"
															name="new_reflection_animations[0].if.frame.halo_mod"
														[/set_variable]
													[/else]
												[/if]
											[/else]
										[/if]
									[/else]
								[/if]
							[/then]
							[else]
								[if]
									[variable]
										greater_than_equal_to=2
										name="new_reflection_animations[0].frame.length"
									[/variable]
									[then]
										[foreach]
											array="new_reflection_animations[0].frame"
											index_var="f"
											variable="frame_item_temp"
											[do]
												[if]
													[variable]
														equals=""
														name="frame_item_temp.image"
													[/variable]
													[then]
														[set_variable]
															name="frame_item_temp.halo"
															value="$unit.image:200,$unit.image:200"
														[/set_variable]
														[set_variable]
															name="frame_item_temp.image"
															value="$unit.image:200,$unit.image:200"
														[/set_variable]
														[set_variable]
															name="frame_item_temp.halo_y"
															value=40
														[/set_variable]
														[set_variable]
															formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-0))~BL(1)~O(33%)~FL(vertical)')"
															name="frame_item_temp.halo_mod"
														[/set_variable]
													[/then]
													[else]
														[set_variable]
															name="frame_item_temp.halo"
															value="$frame_item_temp.image:200,$frame_item_temp.image:200"
														[/set_variable]
														[set_variable]
															name="frame_item_temp.image"
															value="$frame_item_temp.image:200,$frame_item_temp.image:200"
														[/set_variable]
														[set_variable]
															name="frame_item_temp.halo_y"
															value=40
														[/set_variable]
														[set_variable]
															formula="concatenate('$frame_item_temp.halo_mod|','~CROP(0,0,72,(72-0))~BL(1)~O(33%)~FL(vertical)')"
															name="frame_item_temp.halo_mod"
														[/set_variable]
													[/else]
												[/if]
											[/do]
										[/foreach]
									[/then]
									[else]
										[if]
											[variable]
												equals=""
												name="new_reflection_animations[0].frame.image"
											[/variable]
											[then]
												[set_variable]
													name="new_reflection_animations[0].frame.halo"
													value="$unit.image:200,$unit.image:200"
												[/set_variable]
												[set_variable]
													name="new_reflection_animations[0].frame.image"
													value="$unit.image:200,$unit.image:200"
												[/set_variable]
												[set_variable]
													name="new_reflection_animations[0].frame.halo_y"
													value=40
												[/set_variable]
												[set_variable]
													formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-0))~BL(1)~O(33%)~FL(vertical)')"
													name="new_reflection_animations[0].frame.halo_mod"
												[/set_variable]
											[/then]
											[else]
												[set_variable]
													name="new_reflection_animations[0].frame.halo"
													value="$new_reflection_animations[0].frame.image:200,$new_reflection_animations[0].frame.image:200"
												[/set_variable]
												[set_variable]
													name="new_reflection_animations[0].frame.image"
													value="$new_reflection_animations[0].frame.image:200,$new_reflection_animations[0].frame.image:200"
												[/set_variable]
												[set_variable]
													name="new_reflection_animations[0].frame.halo_y"
													value=40
												[/set_variable]
												[set_variable]
													formula="concatenate('$new_reflection_animations[0].frame.halo_mod|','~CROP(0,0,72,(72-0))~BL(1)~O(33%)~FL(vertical)')"
													name="new_reflection_animations[0].frame.halo_mod"
												[/set_variable]
											[/else]
										[/if]
									[/else]
								[/if]
							[/else]
						[/if]
						[if]
							[variable]
								greater_than_equal_to=1
								name="reflect_unit_type.movement_anim.else.length"
							[/variable]
							[then]
								[if]
									[variable]
										greater_than_equal_to=2
										name="reflect_unit_type.movement_anim.else.length"
									[/variable]
									[then]
										[foreach]
											array="reflect_unit_type.movement_anim.else"
											index_var="k"
											variable="conditional_item"
											[do]
												[if]
													[variable]
														greater_than_equal_to=2
														name="conditional_item.frame.length"
													[/variable]
													[then]
														[foreach]
															array="conditional_item.frame"
															index_var="f"
															variable="frame_item_temp"
															[do]
																[if]
																	[variable]
																		equals=""
																		name="frame_item_temp.image"
																	[/variable]
																	[then]
																		[set_variable]
																			name="frame_item_temp.halo"
																			value="$unit.image:200,$unit.image:200"
																		[/set_variable]
																		[set_variable]
																			name="frame_item_temp.image"
																			value="$unit.image:200,$unit.image:200"
																		[/set_variable]
																		[set_variable]
																			name="frame_item_temp.halo_y"
																			value=40
																		[/set_variable]
																		[set_variable]
																			formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-0))~BL(1)~O(33%)~FL(vertical)')"
																			name="frame_item_temp.halo_mod"
																		[/set_variable]
																	[/then]
																	[else]
																		[set_variable]
																			name="frame_item_temp.halo"
																			value="$frame_item_temp.image:200,$frame_item_temp.image:200"
																		[/set_variable]
																		[set_variable]
																			name="frame_item_temp.image"
																			value="$frame_item_temp.image:200,$frame_item_temp.image:200"
																		[/set_variable]
																		[set_variable]
																			name="frame_item_temp.halo_y"
																			value=40
																		[/set_variable]
																		[set_variable]
																			formula="concatenate('$frame_item_temp.halo_mod|','~CROP(0,0,72,(72-0))~BL(1)~O(33%)~FL(vertical)')"
																			name="frame_item_temp.halo_mod"
																		[/set_variable]
																	[/else]
																[/if]
															[/do]
														[/foreach]
													[/then]
													[else]
														[if]
															[variable]
																equals=""
																name="new_reflection_animations[0].else[$k].frame.image"
															[/variable]
															[then]
																[set_variable]
																	name="new_reflection_animations[0].else[$k].frame.halo"
																	value="$unit.image:200,$unit.image:200"
																[/set_variable]
																[set_variable]
																	name="new_reflection_animations[0].else[$k].frame.image"
																	value="$unit.image:200,$unit.image:200"
																[/set_variable]
																[set_variable]
																	name="new_reflection_animations[0].else[$k].frame.halo_y"
																	value=40
																[/set_variable]
																[set_variable]
																	formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-0))~BL(1)~O(33%)~FL(vertical)')"
																	name="new_reflection_animations[0].else[$k].frame.halo_mod"
																[/set_variable]
															[/then]
															[else]
																[set_variable]
																	name="new_reflection_animations[0].else[$k].frame.halo"
																	value="$new_reflection_animations[0].else[$k].frame.image:200,$new_reflection_animations[0].else[$k].frame.image:200"
																[/set_variable]
																[set_variable]
																	name="new_reflection_animations[0].else[$k].frame.image"
																	value="$new_reflection_animations[0].else[$k].frame.image:200,$new_reflection_animations[0].else[$k].frame.image:200"
																[/set_variable]
																[set_variable]
																	name="new_reflection_animations[0].else[$k].frame.halo_y"
																	value=40
																[/set_variable]
																[set_variable]
																	formula="concatenate('$new_reflection_animations[0].else[$k].frame.halo_mod|','~CROP(0,0,72,(72-0))~BL(1)~O(33%)~FL(vertical)')"
																	name="new_reflection_animations[0].else[$k].frame.halo_mod"
																[/set_variable]
															[/else]
														[/if]
													[/else]
												[/if]
											[/do]
										[/foreach]
									[/then]
									[else]
										[if]
											[variable]
												greater_than_equal_to=2
												name="reflect_unit_type.movement_anim.else.frame.length"
											[/variable]
											[then]
												[foreach]
													array="reflect_unit_type.movement_anim.else.frame"
													index_var="f"
													variable="frame_item_temp"
													[do]
														[if]
															[variable]
																equals=""
																name="frame_item_temp.image"
															[/variable]
															[then]
																[set_variable]
																	name="frame_item_temp.halo"
																	value="$unit.image:200,$unit.image:200"
																[/set_variable]
																[set_variable]
																	name="frame_item_temp.image"
																	value="$unit.image:200,$unit.image:200"
																[/set_variable]
																[set_variable]
																	name="frame_item_temp.halo_y"
																	value=40
																[/set_variable]
																[set_variable]
																	formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-0))~BL(1)~O(33%)~FL(vertical)')"
																	name="frame_item_temp.halo_mod"
																[/set_variable]
															[/then]
															[else]
																[set_variable]
																	name="frame_item_temp.halo"
																	value="$frame_item_temp.image:200,$frame_item_temp.image:200"
																[/set_variable]
																[set_variable]
																	name="frame_item_temp.image"
																	value="$frame_item_temp.image:200,$frame_item_temp.image:200"
																[/set_variable]
																[set_variable]
																	name="frame_item_temp.halo_y"
																	value=40
																[/set_variable]
																[set_variable]
																	formula="concatenate('$frame_item_temp.halo_mod|','~CROP(0,0,72,(72-0))~BL(1)~O(33%)~FL(vertical)')"
																	name="frame_item_temp.halo_mod"
																[/set_variable]
															[/else]
														[/if]
													[/do]
												[/foreach]
											[/then]
											[else]
												[if]
													[variable]
														equals=""
														name="new_reflection_animations[0].else.frame.image"
													[/variable]
													[then]
														[set_variable]
															name="new_reflection_animations[0].else.frame.halo"
															value="$unit.image:200,$unit.image:200"
														[/set_variable]
														[set_variable]
															name="new_reflection_animations[0].else.frame.image"
															value="$unit.image:200,$unit.image:200"
														[/set_variable]
														[set_variable]
															name="new_reflection_animations[0].else.frame.halo_y"
															value=40
														[/set_variable]
														[set_variable]
															formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-0))~BL(1)~O(33%)~FL(vertical)')"
															name="new_reflection_animations[0].else.frame.halo_mod"
														[/set_variable]
													[/then]
													[else]
														[set_variable]
															name="new_reflection_animations[0].else.frame.halo"
															value="$new_reflection_animations[0].else.frame.image:200,$new_reflection_animations[0].else.frame.image:200"
														[/set_variable]
														[set_variable]
															name="new_reflection_animations[0].else.frame.image"
															value="$new_reflection_animations[0].else.frame.image:200,$new_reflection_animations[0].else.frame.image:200"
														[/set_variable]
														[set_variable]
															name="new_reflection_animations[0].else.frame.halo_y"
															value=40
														[/set_variable]
														[set_variable]
															formula="concatenate('$new_reflection_animations[0].else.frame.halo_mod|','~CROP(0,0,72,(72-0))~BL(1)~O(33%)~FL(vertical)')"
															name="new_reflection_animations[0].else.frame.halo_mod"
														[/set_variable]
													[/else]
												[/if]
											[/else]
										[/if]
									[/else]
								[/if]
							[/then]
						[/if]
					[/else]
				[/if]
			[/then]
			[else]
				[if]
					[variable]
						name="unit.image"
						not_equals=""
					[/variable]
					[then]
						[set_variables]
							name="new_reflection_animations"
							[value]
								apply_to="standing"
								data_apply_to="movement_anim"
								start_time=0
								terrain_type="Ai"
								[frame]
									halo="$unit.image:200,$unit.image:200"
									halo_mod="~CROP(0,0,72,$(72-0))~BL(1)~O(33%)~FL(vertical)"
									halo_y=40
									image="$unit.image:200,$unit.image:200"
								[/frame]
							[/value]
						[/set_variables]
					[/then]
				[/if]
			[/else]
		[/if]
		[set_variables]
			mode="append"
			name="add_animations_variable"
			to_variable="new_reflection_animations"
		[/set_variables]
		[clear_variable]
			name="new_reflection_animations"
		[/clear_variable]
		[if]
			[variable]
				greater_than_equal_to=1
				name="reflect_unit_type.pre_movement_anim.length"
			[/variable]
			[then]
				[if]
					[variable]
						greater_than_equal_to=2
						name="reflect_unit_type.pre_movement_anim.length"
					[/variable]
					[then]
						[foreach]
							array="reflect_unit_type.pre_movement_anim"
							[do]
								[set_variables]
									name="new_reflection_animations[$i]"
									to_variable="this_item"
								[/set_variables]
								[set_variable]
									name="new_reflection_animations[$i].start_time"
									value=0
								[/set_variable]
								[set_variable]
									name="new_reflection_animations[$i].data_apply_to"
									value="pre_movement_anim"
								[/set_variable]
								[set_variable]
									name="new_reflection_animations[$i].base_score"
									value=2
								[/set_variable]
								[set_variables]
									mode="append"
									name="new_reflection_animations[$i].filter"
									[value]
										[filter_location]
											terrain="Ai"
										[/filter_location]
									[/value]
								[/set_variables]
								[if]
									[variable]
										greater_than_equal_to=1
										name="new_reflection_animations[$i].if.length"
									[/variable]
									[then]
										[if]
											[variable]
												greater_than_equal_to=2
												name="new_reflection_animations[$i].if.length"
											[/variable]
											[then]
												[foreach]
													array="new_reflection_animations[$i].if"
													index_var="k"
													variable="conditional_item"
													[do]
														[if]
															[variable]
																greater_than_equal_to=2
																name="conditional_item.frame.length"
															[/variable]
															[then]
																[foreach]
																	array="conditional_item.frame"
																	index_var="f"
																	variable="frame_item_temp"
																	[do]
																		[if]
																			[variable]
																				equals=""
																				name="frame_item_temp.image"
																			[/variable]
																			[then]
																				[set_variable]
																					name="frame_item_temp.halo"
																					value="$unit.image:200,$unit.image:200"
																				[/set_variable]
																				[set_variable]
																					name="frame_item_temp.image"
																					value="$unit.image:200,$unit.image:200"
																				[/set_variable]
																				[set_variable]
																					name="frame_item_temp.halo_y"
																					value=40
																				[/set_variable]
																				[set_variable]
																					formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-0))~BL(1)~O(33%)~FL(vertical)')"
																					name="frame_item_temp.halo_mod"
																				[/set_variable]
																			[/then]
																			[else]
																				[set_variable]
																					name="frame_item_temp.halo"
																					value="$frame_item_temp.image:200,$frame_item_temp.image:200"
																				[/set_variable]
																				[set_variable]
																					name="frame_item_temp.image"
																					value="$frame_item_temp.image:200,$frame_item_temp.image:200"
																				[/set_variable]
																				[set_variable]
																					name="frame_item_temp.halo_y"
																					value=40
																				[/set_variable]
																				[set_variable]
																					formula="concatenate('$frame_item_temp.halo_mod|','~CROP(0,0,72,(72-0))~BL(1)~O(33%)~FL(vertical)')"
																					name="frame_item_temp.halo_mod"
																				[/set_variable]
																			[/else]
																		[/if]
																	[/do]
																[/foreach]
															[/then]
															[else]
																[if]
																	[variable]
																		equals=""
																		name="conditional_item.frame.image"
																	[/variable]
																	[then]
																		[set_variable]
																			name="conditional_item.frame.halo"
																			value="$unit.image:200,$unit.image:200"
																		[/set_variable]
																		[set_variable]
																			name="conditional_item.frame.image"
																			value="$unit.image:200,$unit.image:200"
																		[/set_variable]
																		[set_variable]
																			name="conditional_item.frame.halo_y"
																			value=40
																		[/set_variable]
																		[set_variable]
																			formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-0))~BL(1)~O(33%)~FL(vertical)')"
																			name="conditional_item.frame.halo_mod"
																		[/set_variable]
																	[/then]
																	[else]
																		[set_variable]
																			name="conditional_item.frame.halo"
																			value="$conditional_item.frame.image:200,$conditional_item.frame.image:200"
																		[/set_variable]
																		[set_variable]
																			name="conditional_item.frame.image"
																			value="$conditional_item.frame.image:200,$conditional_item.frame.image:200"
																		[/set_variable]
																		[set_variable]
																			name="conditional_item.frame.halo_y"
																			value=40
																		[/set_variable]
																		[set_variable]
																			formula="concatenate('$conditional_item.frame.halo_mod|','~CROP(0,0,72,(72-0))~BL(1)~O(33%)~FL(vertical)')"
																			name="conditional_item.frame.halo_mod"
																		[/set_variable]
																	[/else]
																[/if]
															[/else]
														[/if]
													[/do]
												[/foreach]
											[/then]
											[else]
												[if]
													[variable]
														greater_than_equal_to=2
														name="new_reflection_animations[$i].if.frame.length"
													[/variable]
													[then]
														[foreach]
															array="new_reflection_animations[$i].if.frame"
															index_var="f"
															variable="frame_item_temp"
															[do]
																[if]
																	[variable]
																		equals=""
																		name="frame_item_temp.image"
																	[/variable]
																	[then]
																		[set_variable]
																			name="frame_item_temp.halo"
																			value="$unit.image:200,$unit.image:200"
																		[/set_variable]
																		[set_variable]
																			name="frame_item_temp.image"
																			value="$unit.image:200,$unit.image:200"
																		[/set_variable]
																		[set_variable]
																			name="frame_item_temp.halo_y"
																			value=40
																		[/set_variable]
																		[set_variable]
																			formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-0))~BL(1)~O(33%)~FL(vertical)')"
																			name="frame_item_temp.halo_mod"
																		[/set_variable]
																	[/then]
																	[else]
																		[set_variable]
																			name="frame_item_temp.halo"
																			value="$frame_item_temp.image:200,$frame_item_temp.image:200"
																		[/set_variable]
																		[set_variable]
																			name="frame_item_temp.image"
																			value="$frame_item_temp.image:200,$frame_item_temp.image:200"
																		[/set_variable]
																		[set_variable]
																			name="frame_item_temp.halo_y"
																			value=40
																		[/set_variable]
																		[set_variable]
																			formula="concatenate('$frame_item_temp.halo_mod|','~CROP(0,0,72,(72-0))~BL(1)~O(33%)~FL(vertical)')"
																			name="frame_item_temp.halo_mod"
																		[/set_variable]
																	[/else]
																[/if]
															[/do]
														[/foreach]
													[/then]
													[else]
														[if]
															[variable]
																equals=""
																name="new_reflection_animations[$i].if.frame.image"
															[/variable]
															[then]
																[set_variable]
																	name="new_reflection_animations[$i].if.frame.halo"
																	value="$unit.image:200,$unit.image:200"
																[/set_variable]
																[set_variable]
																	name="new_reflection_animations[$i].if.frame.image"
																	value="$unit.image:200,$unit.image:200"
																[/set_variable]
																[set_variable]
																	name="new_reflection_animations[$i].if.frame.halo_y"
																	value=40
																[/set_variable]
																[set_variable]
																	formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-0))~BL(1)~O(33%)~FL(vertical)')"
																	name="new_reflection_animations[$i].if.frame.halo_mod"
																[/set_variable]
															[/then]
															[else]
																[set_variable]
																	name="new_reflection_animations[$i].if.frame.halo"
																	value="$new_reflection_animations[$i].if.frame.image:200,$new_reflection_animations[$i].if.frame.image:200"
																[/set_variable]
																[set_variable]
																	name="new_reflection_animations[$i].if.frame.image"
																	value="$new_reflection_animations[$i].if.frame.image:200,$new_reflection_animations[$i].if.frame.image:200"
																[/set_variable]
																[set_variable]
																	name="new_reflection_animations[$i].if.frame.halo_y"
																	value=40
																[/set_variable]
																[set_variable]
																	formula="concatenate('$new_reflection_animations[$i].if.frame.halo_mod|','~CROP(0,0,72,(72-0))~BL(1)~O(33%)~FL(vertical)')"
																	name="new_reflection_animations[$i].if.frame.halo_mod"
																[/set_variable]
															[/else]
														[/if]
													[/else]
												[/if]
											[/else]
										[/if]
									[/then]
									[else]
										[if]
											[variable]
												greater_than_equal_to=2
												name="new_reflection_animations[$i].frame.length"
											[/variable]
											[then]
												[foreach]
													array="new_reflection_animations[$i].frame"
													index_var="f"
													variable="frame_item_temp"
													[do]
														[if]
															[variable]
																equals=""
																name="frame_item_temp.image"
															[/variable]
															[then]
																[set_variable]
																	name="frame_item_temp.halo"
																	value="$unit.image:200,$unit.image:200"
																[/set_variable]
																[set_variable]
																	name="frame_item_temp.image"
																	value="$unit.image:200,$unit.image:200"
																[/set_variable]
																[set_variable]
																	name="frame_item_temp.halo_y"
																	value=40
																[/set_variable]
																[set_variable]
																	formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-0))~BL(1)~O(33%)~FL(vertical)')"
																	name="frame_item_temp.halo_mod"
																[/set_variable]
															[/then]
															[else]
																[set_variable]
																	name="frame_item_temp.halo"
																	value="$frame_item_temp.image:200,$frame_item_temp.image:200"
																[/set_variable]
																[set_variable]
																	name="frame_item_temp.image"
																	value="$frame_item_temp.image:200,$frame_item_temp.image:200"
																[/set_variable]
																[set_variable]
																	name="frame_item_temp.halo_y"
																	value=40
																[/set_variable]
																[set_variable]
																	formula="concatenate('$frame_item_temp.halo_mod|','~CROP(0,0,72,(72-0))~BL(1)~O(33%)~FL(vertical)')"
																	name="frame_item_temp.halo_mod"
																[/set_variable]
															[/else]
														[/if]
													[/do]
												[/foreach]
											[/then]
											[else]
												[if]
													[variable]
														equals=""
														name="new_reflection_animations[$i].frame.image"
													[/variable]
													[then]
														[set_variable]
															name="new_reflection_animations[$i].frame.halo"
															value="$unit.image:200,$unit.image:200"
														[/set_variable]
														[set_variable]
															name="new_reflection_animations[$i].frame.image"
															value="$unit.image:200,$unit.image:200"
														[/set_variable]
														[set_variable]
															name="new_reflection_animations[$i].frame.halo_y"
															value=40
														[/set_variable]
														[set_variable]
															formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-0))~BL(1)~O(33%)~FL(vertical)')"
															name="new_reflection_animations[$i].frame.halo_mod"
														[/set_variable]
													[/then]
													[else]
														[set_variable]
															name="new_reflection_animations[$i].frame.halo"
															value="$new_reflection_animations[$i].frame.image:200,$new_reflection_animations[$i].frame.image:200"
														[/set_variable]
														[set_variable]
															name="new_reflection_animations[$i].frame.image"
															value="$new_reflection_animations[$i].frame.image:200,$new_reflection_animations[$i].frame.image:200"
														[/set_variable]
														[set_variable]
															name="new_reflection_animations[$i].frame.halo_y"
															value=40
														[/set_variable]
														[set_variable]
															formula="concatenate('$new_reflection_animations[$i].frame.halo_mod|','~CROP(0,0,72,(72-0))~BL(1)~O(33%)~FL(vertical)')"
															name="new_reflection_animations[$i].frame.halo_mod"
														[/set_variable]
													[/else]
												[/if]
											[/else]
										[/if]
									[/else]
								[/if]
								[if]
									[variable]
										greater_than_equal_to=1
										name="new_reflection_animations[$i].else.length"
									[/variable]
									[then]
										[if]
											[variable]
												greater_than_equal_to=2
												name="new_reflection_animations[$i].else.length"
											[/variable]
											[then]
												[foreach]
													array="new_reflection_animations[$i].else"
													index_var="k"
													variable="conditional_item"
													[do]
														[if]
															[variable]
																greater_than_equal_to=2
																name="conditional_item.frame.length"
															[/variable]
															[then]
																[foreach]
																	array="conditional_item.frame"
																	index_var="f"
																	variable="frame_item_temp"
																	[do]
																		[if]
																			[variable]
																				equals=""
																				name="frame_item_temp.image"
																			[/variable]
																			[then]
																				[set_variable]
																					name="frame_item_temp.halo"
																					value="$unit.image:200,$unit.image:200"
																				[/set_variable]
																				[set_variable]
																					name="frame_item_temp.image"
																					value="$unit.image:200,$unit.image:200"
																				[/set_variable]
																				[set_variable]
																					name="frame_item_temp.halo_y"
																					value=40
																				[/set_variable]
																				[set_variable]
																					formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-0))~BL(1)~O(33%)~FL(vertical)')"
																					name="frame_item_temp.halo_mod"
																				[/set_variable]
																			[/then]
																			[else]
																				[set_variable]
																					name="frame_item_temp.halo"
																					value="$frame_item_temp.image:200,$frame_item_temp.image:200"
																				[/set_variable]
																				[set_variable]
																					name="frame_item_temp.image"
																					value="$frame_item_temp.image:200,$frame_item_temp.image:200"
																				[/set_variable]
																				[set_variable]
																					name="frame_item_temp.halo_y"
																					value=40
																				[/set_variable]
																				[set_variable]
																					formula="concatenate('$frame_item_temp.halo_mod|','~CROP(0,0,72,(72-0))~BL(1)~O(33%)~FL(vertical)')"
																					name="frame_item_temp.halo_mod"
																				[/set_variable]
																			[/else]
																		[/if]
																	[/do]
																[/foreach]
															[/then]
															[else]
																[if]
																	[variable]
																		equals=""
																		name="new_reflection_animations[$i].else[$k].frame.image"
																	[/variable]
																	[then]
																		[set_variable]
																			name="new_reflection_animations[$i].else[$k].frame.halo"
																			value="$unit.image:200,$unit.image:200"
																		[/set_variable]
																		[set_variable]
																			name="new_reflection_animations[$i].else[$k].frame.image"
																			value="$unit.image:200,$unit.image:200"
																		[/set_variable]
																		[set_variable]
																			name="new_reflection_animations[$i].else[$k].frame.halo_y"
																			value=40
																		[/set_variable]
																		[set_variable]
																			formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-0))~BL(1)~O(33%)~FL(vertical)')"
																			name="new_reflection_animations[$i].else[$k].frame.halo_mod"
																		[/set_variable]
																	[/then]
																	[else]
																		[set_variable]
																			name="new_reflection_animations[$i].else[$k].frame.halo"
																			value="$new_reflection_animations[$i].else[$k].frame.image:200,$new_reflection_animations[$i].else[$k].frame.image:200"
																		[/set_variable]
																		[set_variable]
																			name="new_reflection_animations[$i].else[$k].frame.image"
																			value="$new_reflection_animations[$i].else[$k].frame.image:200,$new_reflection_animations[$i].else[$k].frame.image:200"
																		[/set_variable]
																		[set_variable]
																			name="new_reflection_animations[$i].else[$k].frame.halo_y"
																			value=40
																		[/set_variable]
																		[set_variable]
																			formula="concatenate('$new_reflection_animations[$i].else[$k].frame.halo_mod|','~CROP(0,0,72,(72-0))~BL(1)~O(33%)~FL(vertical)')"
																			name="new_reflection_animations[$i].else[$k].frame.halo_mod"
																		[/set_variable]
																	[/else]
																[/if]
															[/else]
														[/if]
													[/do]
												[/foreach]
											[/then]
											[else]
												[if]
													[variable]
														greater_than_equal_to=2
														name="new_reflection_animations[$i].else.frame.length"
													[/variable]
													[then]
														[foreach]
															array="new_reflection_animations[$i].else.frame"
															index_var="f"
															variable="frame_item_temp"
															[do]
																[if]
																	[variable]
																		equals=""
																		name="frame_item_temp.image"
																	[/variable]
																	[then]
																		[set_variable]
																			name="frame_item_temp.halo"
																			value="$unit.image:200,$unit.image:200"
																		[/set_variable]
																		[set_variable]
																			name="frame_item_temp.image"
																			value="$unit.image:200,$unit.image:200"
																		[/set_variable]
																		[set_variable]
																			name="frame_item_temp.halo_y"
																			value=40
																		[/set_variable]
																		[set_variable]
																			formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-0))~BL(1)~O(33%)~FL(vertical)')"
																			name="frame_item_temp.halo_mod"
																		[/set_variable]
																	[/then]
																	[else]
																		[set_variable]
																			name="frame_item_temp.halo"
																			value="$frame_item_temp.image:200,$frame_item_temp.image:200"
																		[/set_variable]
																		[set_variable]
																			name="frame_item_temp.image"
																			value="$frame_item_temp.image:200,$frame_item_temp.image:200"
																		[/set_variable]
																		[set_variable]
																			name="frame_item_temp.halo_y"
																			value=40
																		[/set_variable]
																		[set_variable]
																			formula="concatenate('$frame_item_temp.halo_mod|','~CROP(0,0,72,(72-0))~BL(1)~O(33%)~FL(vertical)')"
																			name="frame_item_temp.halo_mod"
																		[/set_variable]
																	[/else]
																[/if]
															[/do]
														[/foreach]
													[/then]
													[else]
														[if]
															[variable]
																equals=""
																name="new_reflection_animations[$i].else.frame.image"
															[/variable]
															[then]
																[set_variable]
																	name="new_reflection_animations[$i].else.frame.halo"
																	value="$unit.image:200,$unit.image:200"
																[/set_variable]
																[set_variable]
																	name="new_reflection_animations[$i].else.frame.image"
																	value="$unit.image:200,$unit.image:200"
																[/set_variable]
																[set_variable]
																	name="new_reflection_animations[$i].else.frame.halo_y"
																	value=40
																[/set_variable]
																[set_variable]
																	formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-0))~BL(1)~O(33%)~FL(vertical)')"
																	name="new_reflection_animations[$i].else.frame.halo_mod"
																[/set_variable]
															[/then]
															[else]
																[set_variable]
																	name="new_reflection_animations[$i].else.frame.halo"
																	value="$new_reflection_animations[$i].else.frame.image:200,$new_reflection_animations[$i].else.frame.image:200"
																[/set_variable]
																[set_variable]
																	name="new_reflection_animations[$i].else.frame.image"
																	value="$new_reflection_animations[$i].else.frame.image:200,$new_reflection_animations[$i].else.frame.image:200"
																[/set_variable]
																[set_variable]
																	name="new_reflection_animations[$i].else.frame.halo_y"
																	value=40
																[/set_variable]
																[set_variable]
																	formula="concatenate('$new_reflection_animations[$i].else.frame.halo_mod|','~CROP(0,0,72,(72-0))~BL(1)~O(33%)~FL(vertical)')"
																	name="new_reflection_animations[$i].else.frame.halo_mod"
																[/set_variable]
															[/else]
														[/if]
													[/else]
												[/if]
											[/else]
										[/if]
									[/then]
								[/if]
							[/do]
						[/foreach]
					[/then]
					[else]
						[set_variables]
							name="new_reflection_animations"
							to_variable="reflect_unit_type.pre_movement_anim[0]"
						[/set_variables]
						[set_variable]
							name="new_reflection_animations.data_apply_to"
							value="pre_movement_anim"
						[/set_variable]
						[set_variable]
							name="new_reflection_animations.start_time"
							value=0
						[/set_variable]
						[set_variable]
							name="new_reflection_animations.base_score"
							value=2
						[/set_variable]
						[set_variables]
							mode="append"
							name="new_reflection_animations.filter"
							[value]
								[filter_location]
									terrain="Ai"
								[/filter_location]
							[/value]
						[/set_variables]
						[if]
							[variable]
								greater_than_equal_to=1
								name="reflect_unit_type.pre_movement_anim.if.length"
							[/variable]
							[then]
								[if]
									[variable]
										greater_than_equal_to=2
										name="reflect_unit_type.pre_movement_anim.if.length"
									[/variable]
									[then]
										[foreach]
											array="reflect_unit_type.pre_movement_anim.if"
											index_var="k"
											variable="conditional_item"
											[do]
												[if]
													[variable]
														greater_than_equal_to=2
														name="conditional_item.frame.length"
													[/variable]
													[then]
														[foreach]
															array="conditional_item.frame"
															index_var="f"
															variable="frame_item_temp"
															[do]
																[if]
																	[variable]
																		equals=""
																		name="frame_item_temp.image"
																	[/variable]
																	[then]
																		[set_variable]
																			name="frame_item_temp.halo"
																			value="$unit.image:200,$unit.image:200"
																		[/set_variable]
																		[set_variable]
																			name="frame_item_temp.image"
																			value="$unit.image:200,$unit.image:200"
																		[/set_variable]
																		[set_variable]
																			name="frame_item_temp.halo_y"
																			value=40
																		[/set_variable]
																		[set_variable]
																			formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-0))~BL(1)~O(33%)~FL(vertical)')"
																			name="frame_item_temp.halo_mod"
																		[/set_variable]
																	[/then]
																	[else]
																		[set_variable]
																			name="frame_item_temp.halo"
																			value="$frame_item_temp.image:200,$frame_item_temp.image:200"
																		[/set_variable]
																		[set_variable]
																			name="frame_item_temp.image"
																			value="$frame_item_temp.image:200,$frame_item_temp.image:200"
																		[/set_variable]
																		[set_variable]
																			name="frame_item_temp.halo_y"
																			value=40
																		[/set_variable]
																		[set_variable]
																			formula="concatenate('$frame_item_temp.halo_mod|','~CROP(0,0,72,(72-0))~BL(1)~O(33%)~FL(vertical)')"
																			name="frame_item_temp.halo_mod"
																		[/set_variable]
																	[/else]
																[/if]
															[/do]
														[/foreach]
													[/then]
													[else]
														[if]
															[variable]
																equals=""
																name="new_reflection_animations[0].if[$k].frame.image"
															[/variable]
															[then]
																[set_variable]
																	name="new_reflection_animations[0].if[$k].frame.halo"
																	value="$unit.image:200,$unit.image:200"
																[/set_variable]
																[set_variable]
																	name="new_reflection_animations[0].if[$k].frame.image"
																	value="$unit.image:200,$unit.image:200"
																[/set_variable]
																[set_variable]
																	name="new_reflection_animations[0].if[$k].frame.halo_y"
																	value=40
																[/set_variable]
																[set_variable]
																	formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-0))~BL(1)~O(33%)~FL(vertical)')"
																	name="new_reflection_animations[0].if[$k].frame.halo_mod"
																[/set_variable]
															[/then]
															[else]
																[set_variable]
																	name="new_reflection_animations[0].if[$k].frame.halo"
																	value="$new_reflection_animations[0].if[$k].frame.image:200,$new_reflection_animations[0].if[$k].frame.image:200"
																[/set_variable]
																[set_variable]
																	name="new_reflection_animations[0].if[$k].frame.image"
																	value="$new_reflection_animations[0].if[$k].frame.image:200,$new_reflection_animations[0].if[$k].frame.image:200"
																[/set_variable]
																[set_variable]
																	name="new_reflection_animations[0].if[$k].frame.halo_y"
																	value=40
																[/set_variable]
																[set_variable]
																	formula="concatenate('$new_reflection_animations[0].if[$k].frame.halo_mod|','~CROP(0,0,72,(72-0))~BL(1)~O(33%)~FL(vertical)')"
																	name="new_reflection_animations[0].if[$k].frame.halo_mod"
																[/set_variable]
															[/else]
														[/if]
													[/else]
												[/if]
											[/do]
										[/foreach]
									[/then]
									[else]
										[if]
											[variable]
												greater_than_equal_to=2
												name="reflect_unit_type.pre_movement_anim.if.frame.length"
											[/variable]
											[then]
												[foreach]
													array="reflect_unit_type.pre_movement_anim.if.frame"
													index_var="f"
													variable="frame_item_temp"
													[do]
														[if]
															[variable]
																equals=""
																name="frame_item_temp.image"
															[/variable]
															[then]
																[set_variable]
																	name="frame_item_temp.halo"
																	value="$unit.image:200,$unit.image:200"
																[/set_variable]
																[set_variable]
																	name="frame_item_temp.image"
																	value="$unit.image:200,$unit.image:200"
																[/set_variable]
																[set_variable]
																	name="frame_item_temp.halo_y"
																	value=40
																[/set_variable]
																[set_variable]
																	formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-0))~BL(1)~O(33%)~FL(vertical)')"
																	name="frame_item_temp.halo_mod"
																[/set_variable]
															[/then]
															[else]
																[set_variable]
																	name="frame_item_temp.halo"
																	value="$frame_item_temp.image:200,$frame_item_temp.image:200"
																[/set_variable]
																[set_variable]
																	name="frame_item_temp.image"
																	value="$frame_item_temp.image:200,$frame_item_temp.image:200"
																[/set_variable]
																[set_variable]
																	name="frame_item_temp.halo_y"
																	value=40
																[/set_variable]
																[set_variable]
																	formula="concatenate('$frame_item_temp.halo_mod|','~CROP(0,0,72,(72-0))~BL(1)~O(33%)~FL(vertical)')"
																	name="frame_item_temp.halo_mod"
																[/set_variable]
															[/else]
														[/if]
													[/do]
												[/foreach]
											[/then]
											[else]
												[if]
													[variable]
														equals=""
														name="new_reflection_animations[0].if.frame.image"
													[/variable]
													[then]
														[set_variable]
															name="new_reflection_animations[0].if.frame.halo"
															value="$unit.image:200,$unit.image:200"
														[/set_variable]
														[set_variable]
															name="new_reflection_animations[0].if.frame.image"
															value="$unit.image:200,$unit.image:200"
														[/set_variable]
														[set_variable]
															name="new_reflection_animations[0].if.frame.halo_y"
															value=40
														[/set_variable]
														[set_variable]
															formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-0))~BL(1)~O(33%)~FL(vertical)')"
															name="new_reflection_animations[0].if.frame.halo_mod"
														[/set_variable]
													[/then]
													[else]
														[set_variable]
															name="new_reflection_animations[0].if.frame.halo"
															value="$new_reflection_animations[0].if.frame.image:200,$new_reflection_animations[0].if.frame.image:200"
														[/set_variable]
														[set_variable]
															name="new_reflection_animations[0].if.frame.image"
															value="$new_reflection_animations[0].if.frame.image:200,$new_reflection_animations[0].if.frame.image:200"
														[/set_variable]
														[set_variable]
															name="new_reflection_animations[0].if.frame.halo_y"
															value=40
														[/set_variable]
														[set_variable]
															formula="concatenate('$new_reflection_animations[0].if.frame.halo_mod|','~CROP(0,0,72,(72-0))~BL(1)~O(33%)~FL(vertical)')"
															name="new_reflection_animations[0].if.frame.halo_mod"
														[/set_variable]
													[/else]
												[/if]
											[/else]
										[/if]
									[/else]
								[/if]
							[/then]
							[else]
								[if]
									[variable]
										greater_than_equal_to=2
										name="new_reflection_animations[0].frame.length"
									[/variable]
									[then]
										[foreach]
											array="new_reflection_animations[0].frame"
											index_var="f"
											variable="frame_item_temp"
											[do]
												[if]
													[variable]
														equals=""
														name="frame_item_temp.image"
													[/variable]
													[then]
														[set_variable]
															name="frame_item_temp.halo"
															value="$unit.image:200,$unit.image:200"
														[/set_variable]
														[set_variable]
															name="frame_item_temp.image"
															value="$unit.image:200,$unit.image:200"
														[/set_variable]
														[set_variable]
															name="frame_item_temp.halo_y"
															value=40
														[/set_variable]
														[set_variable]
															formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-0))~BL(1)~O(33%)~FL(vertical)')"
															name="frame_item_temp.halo_mod"
														[/set_variable]
													[/then]
													[else]
														[set_variable]
															name="frame_item_temp.halo"
															value="$frame_item_temp.image:200,$frame_item_temp.image:200"
														[/set_variable]
														[set_variable]
															name="frame_item_temp.image"
															value="$frame_item_temp.image:200,$frame_item_temp.image:200"
														[/set_variable]
														[set_variable]
															name="frame_item_temp.halo_y"
															value=40
														[/set_variable]
														[set_variable]
															formula="concatenate('$frame_item_temp.halo_mod|','~CROP(0,0,72,(72-0))~BL(1)~O(33%)~FL(vertical)')"
															name="frame_item_temp.halo_mod"
														[/set_variable]
													[/else]
												[/if]
											[/do]
										[/foreach]
									[/then]
									[else]
										[if]
											[variable]
												equals=""
												name="new_reflection_animations[0].frame.image"
											[/variable]
											[then]
												[set_variable]
													name="new_reflection_animations[0].frame.halo"
													value="$unit.image:200,$unit.image:200"
												[/set_variable]
												[set_variable]
													name="new_reflection_animations[0].frame.image"
													value="$unit.image:200,$unit.image:200"
												[/set_variable]
												[set_variable]
													name="new_reflection_animations[0].frame.halo_y"
													value=40
												[/set_variable]
												[set_variable]
													formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-0))~BL(1)~O(33%)~FL(vertical)')"
													name="new_reflection_animations[0].frame.halo_mod"
												[/set_variable]
											[/then]
											[else]
												[set_variable]
													name="new_reflection_animations[0].frame.halo"
													value="$new_reflection_animations[0].frame.image:200,$new_reflection_animations[0].frame.image:200"
												[/set_variable]
												[set_variable]
													name="new_reflection_animations[0].frame.image"
													value="$new_reflection_animations[0].frame.image:200,$new_reflection_animations[0].frame.image:200"
												[/set_variable]
												[set_variable]
													name="new_reflection_animations[0].frame.halo_y"
													value=40
												[/set_variable]
												[set_variable]
													formula="concatenate('$new_reflection_animations[0].frame.halo_mod|','~CROP(0,0,72,(72-0))~BL(1)~O(33%)~FL(vertical)')"
													name="new_reflection_animations[0].frame.halo_mod"
												[/set_variable]
											[/else]
										[/if]
									[/else]
								[/if]
							[/else]
						[/if]
						[if]
							[variable]
								greater_than_equal_to=1
								name="reflect_unit_type.pre_movement_anim.else.length"
							[/variable]
							[then]
								[if]
									[variable]
										greater_than_equal_to=2
										name="reflect_unit_type.pre_movement_anim.else.length"
									[/variable]
									[then]
										[foreach]
											array="reflect_unit_type.pre_movement_anim.else"
											index_var="k"
											variable="conditional_item"
											[do]
												[if]
													[variable]
														greater_than_equal_to=2
														name="conditional_item.frame.length"
													[/variable]
													[then]
														[foreach]
															array="conditional_item.frame"
															index_var="f"
															variable="frame_item_temp"
															[do]
																[if]
																	[variable]
																		equals=""
																		name="frame_item_temp.image"
																	[/variable]
																	[then]
																		[set_variable]
																			name="frame_item_temp.halo"
																			value="$unit.image:200,$unit.image:200"
																		[/set_variable]
																		[set_variable]
																			name="frame_item_temp.image"
																			value="$unit.image:200,$unit.image:200"
																		[/set_variable]
																		[set_variable]
																			name="frame_item_temp.halo_y"
																			value=40
																		[/set_variable]
																		[set_variable]
																			formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-0))~BL(1)~O(33%)~FL(vertical)')"
																			name="frame_item_temp.halo_mod"
																		[/set_variable]
																	[/then]
																	[else]
																		[set_variable]
																			name="frame_item_temp.halo"
																			value="$frame_item_temp.image:200,$frame_item_temp.image:200"
																		[/set_variable]
																		[set_variable]
																			name="frame_item_temp.image"
																			value="$frame_item_temp.image:200,$frame_item_temp.image:200"
																		[/set_variable]
																		[set_variable]
																			name="frame_item_temp.halo_y"
																			value=40
																		[/set_variable]
																		[set_variable]
																			formula="concatenate('$frame_item_temp.halo_mod|','~CROP(0,0,72,(72-0))~BL(1)~O(33%)~FL(vertical)')"
																			name="frame_item_temp.halo_mod"
																		[/set_variable]
																	[/else]
																[/if]
															[/do]
														[/foreach]
													[/then]
													[else]
														[if]
															[variable]
																equals=""
																name="new_reflection_animations[0].else[$k].frame.image"
															[/variable]
															[then]
																[set_variable]
																	name="new_reflection_animations[0].else[$k].frame.halo"
																	value="$unit.image:200,$unit.image:200"
																[/set_variable]
																[set_variable]
																	name="new_reflection_animations[0].else[$k].frame.image"
																	value="$unit.image:200,$unit.image:200"
																[/set_variable]
																[set_variable]
																	name="new_reflection_animations[0].else[$k].frame.halo_y"
																	value=40
																[/set_variable]
																[set_variable]
																	formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-0))~BL(1)~O(33%)~FL(vertical)')"
																	name="new_reflection_animations[0].else[$k].frame.halo_mod"
																[/set_variable]
															[/then]
															[else]
																[set_variable]
																	name="new_reflection_animations[0].else[$k].frame.halo"
																	value="$new_reflection_animations[0].else[$k].frame.image:200,$new_reflection_animations[0].else[$k].frame.image:200"
																[/set_variable]
																[set_variable]
																	name="new_reflection_animations[0].else[$k].frame.image"
																	value="$new_reflection_animations[0].else[$k].frame.image:200,$new_reflection_animations[0].else[$k].frame.image:200"
																[/set_variable]
																[set_variable]
																	name="new_reflection_animations[0].else[$k].frame.halo_y"
																	value=40
																[/set_variable]
																[set_variable]
																	formula="concatenate('$new_reflection_animations[0].else[$k].frame.halo_mod|','~CROP(0,0,72,(72-0))~BL(1)~O(33%)~FL(vertical)')"
																	name="new_reflection_animations[0].else[$k].frame.halo_mod"
																[/set_variable]
															[/else]
														[/if]
													[/else]
												[/if]
											[/do]
										[/foreach]
									[/then]
									[else]
										[if]
											[variable]
												greater_than_equal_to=2
												name="reflect_unit_type.pre_movement_anim.else.frame.length"
											[/variable]
											[then]
												[foreach]
													array="reflect_unit_type.pre_movement_anim.else.frame"
													index_var="f"
													variable="frame_item_temp"
													[do]
														[if]
															[variable]
																equals=""
																name="frame_item_temp.image"
															[/variable]
															[then]
																[set_variable]
																	name="frame_item_temp.halo"
																	value="$unit.image:200,$unit.image:200"
																[/set_variable]
																[set_variable]
																	name="frame_item_temp.image"
																	value="$unit.image:200,$unit.image:200"
																[/set_variable]
																[set_variable]
																	name="frame_item_temp.halo_y"
																	value=40
																[/set_variable]
																[set_variable]
																	formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-0))~BL(1)~O(33%)~FL(vertical)')"
																	name="frame_item_temp.halo_mod"
																[/set_variable]
															[/then]
															[else]
																[set_variable]
																	name="frame_item_temp.halo"
																	value="$frame_item_temp.image:200,$frame_item_temp.image:200"
																[/set_variable]
																[set_variable]
																	name="frame_item_temp.image"
																	value="$frame_item_temp.image:200,$frame_item_temp.image:200"
																[/set_variable]
																[set_variable]
																	name="frame_item_temp.halo_y"
																	value=40
																[/set_variable]
																[set_variable]
																	formula="concatenate('$frame_item_temp.halo_mod|','~CROP(0,0,72,(72-0))~BL(1)~O(33%)~FL(vertical)')"
																	name="frame_item_temp.halo_mod"
																[/set_variable]
															[/else]
														[/if]
													[/do]
												[/foreach]
											[/then]
											[else]
												[if]
													[variable]
														equals=""
														name="new_reflection_animations[0].else.frame.image"
													[/variable]
													[then]
														[set_variable]
															name="new_reflection_animations[0].else.frame.halo"
															value="$unit.image:200,$unit.image:200"
														[/set_variable]
														[set_variable]
															name="new_reflection_animations[0].else.frame.image"
															value="$unit.image:200,$unit.image:200"
														[/set_variable]
														[set_variable]
															name="new_reflection_animations[0].else.frame.halo_y"
															value=40
														[/set_variable]
														[set_variable]
															formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-0))~BL(1)~O(33%)~FL(vertical)')"
															name="new_reflection_animations[0].else.frame.halo_mod"
														[/set_variable]
													[/then]
													[else]
														[set_variable]
															name="new_reflection_animations[0].else.frame.halo"
															value="$new_reflection_animations[0].else.frame.image:200,$new_reflection_animations[0].else.frame.image:200"
														[/set_variable]
														[set_variable]
															name="new_reflection_animations[0].else.frame.image"
															value="$new_reflection_animations[0].else.frame.image:200,$new_reflection_animations[0].else.frame.image:200"
														[/set_variable]
														[set_variable]
															name="new_reflection_animations[0].else.frame.halo_y"
															value=40
														[/set_variable]
														[set_variable]
															formula="concatenate('$new_reflection_animations[0].else.frame.halo_mod|','~CROP(0,0,72,(72-0))~BL(1)~O(33%)~FL(vertical)')"
															name="new_reflection_animations[0].else.frame.halo_mod"
														[/set_variable]
													[/else]
												[/if]
											[/else]
										[/if]
									[/else]
								[/if]
							[/then]
						[/if]
					[/else]
				[/if]
			[/then]
			[else]
				[if]
					[variable]
						name="unit.image"
						not_equals=""
					[/variable]
					[then]
						[set_variables]
							name="new_reflection_animations"
							[value]
								apply_to="standing"
								data_apply_to="pre_movement_anim"
								start_time=0
								terrain_type="Ai"
								[frame]
									halo="$unit.image:200,$unit.image:200"
									halo_mod="~CROP(0,0,72,$(72-0))~BL(1)~O(33%)~FL(vertical)"
									halo_y=40
									image="$unit.image:200,$unit.image:200"
								[/frame]
							[/value]
						[/set_variables]
					[/then]
				[/if]
			[/else]
		[/if]
		[set_variables]
			mode="append"
			name="add_animations_variable"
			to_variable="new_reflection_animations"
		[/set_variables]
		[clear_variable]
			name="new_reflection_animations"
		[/clear_variable]
		[if]
			[variable]
				greater_than_equal_to=1
				name="reflect_unit_type.post_movement_anim.length"
			[/variable]
			[then]
				[if]
					[variable]
						greater_than_equal_to=2
						name="reflect_unit_type.post_movement_anim.length"
					[/variable]
					[then]
						[foreach]
							array="reflect_unit_type.post_movement_anim"
							[do]
								[set_variables]
									name="new_reflection_animations[$i]"
									to_variable="this_item"
								[/set_variables]
								[set_variable]
									name="new_reflection_animations[$i].start_time"
									value=0
								[/set_variable]
								[set_variable]
									name="new_reflection_animations[$i].data_apply_to"
									value="post_movement_anim"
								[/set_variable]
								[set_variable]
									name="new_reflection_animations[$i].base_score"
									value=2
								[/set_variable]
								[set_variables]
									mode="append"
									name="new_reflection_animations[$i].filter"
									[value]
										[filter_location]
											terrain="Ai"
										[/filter_location]
									[/value]
								[/set_variables]
								[if]
									[variable]
										greater_than_equal_to=1
										name="new_reflection_animations[$i].if.length"
									[/variable]
									[then]
										[if]
											[variable]
												greater_than_equal_to=2
												name="new_reflection_animations[$i].if.length"
											[/variable]
											[then]
												[foreach]
													array="new_reflection_animations[$i].if"
													index_var="k"
													variable="conditional_item"
													[do]
														[if]
															[variable]
																greater_than_equal_to=2
																name="conditional_item.frame.length"
															[/variable]
															[then]
																[foreach]
																	array="conditional_item.frame"
																	index_var="f"
																	variable="frame_item_temp"
																	[do]
																		[if]
																			[variable]
																				equals=""
																				name="frame_item_temp.image"
																			[/variable]
																			[then]
																				[set_variable]
																					name="frame_item_temp.halo"
																					value="$unit.image:200,$unit.image:200"
																				[/set_variable]
																				[set_variable]
																					name="frame_item_temp.image"
																					value="$unit.image:200,$unit.image:200"
																				[/set_variable]
																				[set_variable]
																					name="frame_item_temp.halo_y"
																					value=40
																				[/set_variable]
																				[set_variable]
																					formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-0))~BL(1)~O(33%)~FL(vertical)')"
																					name="frame_item_temp.halo_mod"
																				[/set_variable]
																			[/then]
																			[else]
																				[set_variable]
																					name="frame_item_temp.halo"
																					value="$frame_item_temp.image:200,$frame_item_temp.image:200"
																				[/set_variable]
																				[set_variable]
																					name="frame_item_temp.image"
																					value="$frame_item_temp.image:200,$frame_item_temp.image:200"
																				[/set_variable]
																				[set_variable]
																					name="frame_item_temp.halo_y"
																					value=40
																				[/set_variable]
																				[set_variable]
																					formula="concatenate('$frame_item_temp.halo_mod|','~CROP(0,0,72,(72-0))~BL(1)~O(33%)~FL(vertical)')"
																					name="frame_item_temp.halo_mod"
																				[/set_variable]
																			[/else]
																		[/if]
																	[/do]
																[/foreach]
															[/then]
															[else]
																[if]
																	[variable]
																		equals=""
																		name="conditional_item.frame.image"
																	[/variable]
																	[then]
																		[set_variable]
																			name="conditional_item.frame.halo"
																			value="$unit.image:200,$unit.image:200"
																		[/set_variable]
																		[set_variable]
																			name="conditional_item.frame.image"
																			value="$unit.image:200,$unit.image:200"
																		[/set_variable]
																		[set_variable]
																			name="conditional_item.frame.halo_y"
																			value=40
																		[/set_variable]
																		[set_variable]
																			formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-0))~BL(1)~O(33%)~FL(vertical)')"
																			name="conditional_item.frame.halo_mod"
																		[/set_variable]
																	[/then]
																	[else]
																		[set_variable]
																			name="conditional_item.frame.halo"
																			value="$conditional_item.frame.image:200,$conditional_item.frame.image:200"
																		[/set_variable]
																		[set_variable]
																			name="conditional_item.frame.image"
																			value="$conditional_item.frame.image:200,$conditional_item.frame.image:200"
																		[/set_variable]
																		[set_variable]
																			name="conditional_item.frame.halo_y"
																			value=40
																		[/set_variable]
																		[set_variable]
																			formula="concatenate('$conditional_item.frame.halo_mod|','~CROP(0,0,72,(72-0))~BL(1)~O(33%)~FL(vertical)')"
																			name="conditional_item.frame.halo_mod"
																		[/set_variable]
																	[/else]
																[/if]
															[/else]
														[/if]
													[/do]
												[/foreach]
											[/then]
											[else]
												[if]
													[variable]
														greater_than_equal_to=2
														name="new_reflection_animations[$i].if.frame.length"
													[/variable]
													[then]
														[foreach]
															array="new_reflection_animations[$i].if.frame"
															index_var="f"
															variable="frame_item_temp"
															[do]
																[if]
																	[variable]
																		equals=""
																		name="frame_item_temp.image"
																	[/variable]
																	[then]
																		[set_variable]
																			name="frame_item_temp.halo"
																			value="$unit.image:200,$unit.image:200"
																		[/set_variable]
																		[set_variable]
																			name="frame_item_temp.image"
																			value="$unit.image:200,$unit.image:200"
																		[/set_variable]
																		[set_variable]
																			name="frame_item_temp.halo_y"
																			value=40
																		[/set_variable]
																		[set_variable]
																			formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-0))~BL(1)~O(33%)~FL(vertical)')"
																			name="frame_item_temp.halo_mod"
																		[/set_variable]
																	[/then]
																	[else]
																		[set_variable]
																			name="frame_item_temp.halo"
																			value="$frame_item_temp.image:200,$frame_item_temp.image:200"
																		[/set_variable]
																		[set_variable]
																			name="frame_item_temp.image"
																			value="$frame_item_temp.image:200,$frame_item_temp.image:200"
																		[/set_variable]
																		[set_variable]
																			name="frame_item_temp.halo_y"
																			value=40
																		[/set_variable]
																		[set_variable]
																			formula="concatenate('$frame_item_temp.halo_mod|','~CROP(0,0,72,(72-0))~BL(1)~O(33%)~FL(vertical)')"
																			name="frame_item_temp.halo_mod"
																		[/set_variable]
																	[/else]
																[/if]
															[/do]
														[/foreach]
													[/then]
													[else]
														[if]
															[variable]
																equals=""
																name="new_reflection_animations[$i].if.frame.image"
															[/variable]
															[then]
																[set_variable]
																	name="new_reflection_animations[$i].if.frame.halo"
																	value="$unit.image:200,$unit.image:200"
																[/set_variable]
																[set_variable]
																	name="new_reflection_animations[$i].if.frame.image"
																	value="$unit.image:200,$unit.image:200"
																[/set_variable]
																[set_variable]
																	name="new_reflection_animations[$i].if.frame.halo_y"
																	value=40
																[/set_variable]
																[set_variable]
																	formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-0))~BL(1)~O(33%)~FL(vertical)')"
																	name="new_reflection_animations[$i].if.frame.halo_mod"
																[/set_variable]
															[/then]
															[else]
																[set_variable]
																	name="new_reflection_animations[$i].if.frame.halo"
																	value="$new_reflection_animations[$i].if.frame.image:200,$new_reflection_animations[$i].if.frame.image:200"
																[/set_variable]
																[set_variable]
																	name="new_reflection_animations[$i].if.frame.image"
																	value="$new_reflection_animations[$i].if.frame.image:200,$new_reflection_animations[$i].if.frame.image:200"
																[/set_variable]
																[set_variable]
																	name="new_reflection_animations[$i].if.frame.halo_y"
																	value=40
																[/set_variable]
																[set_variable]
																	formula="concatenate('$new_reflection_animations[$i].if.frame.halo_mod|','~CROP(0,0,72,(72-0))~BL(1)~O(33%)~FL(vertical)')"
																	name="new_reflection_animations[$i].if.frame.halo_mod"
																[/set_variable]
															[/else]
														[/if]
													[/else]
												[/if]
											[/else]
										[/if]
									[/then]
									[else]
										[if]
											[variable]
												greater_than_equal_to=2
												name="new_reflection_animations[$i].frame.length"
											[/variable]
											[then]
												[foreach]
													array="new_reflection_animations[$i].frame"
													index_var="f"
													variable="frame_item_temp"
													[do]
														[if]
															[variable]
																equals=""
																name="frame_item_temp.image"
															[/variable]
															[then]
																[set_variable]
																	name="frame_item_temp.halo"
																	value="$unit.image:200,$unit.image:200"
																[/set_variable]
																[set_variable]
																	name="frame_item_temp.image"
																	value="$unit.image:200,$unit.image:200"
																[/set_variable]
																[set_variable]
																	name="frame_item_temp.halo_y"
																	value=40
																[/set_variable]
																[set_variable]
																	formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-0))~BL(1)~O(33%)~FL(vertical)')"
																	name="frame_item_temp.halo_mod"
																[/set_variable]
															[/then]
															[else]
																[set_variable]
																	name="frame_item_temp.halo"
																	value="$frame_item_temp.image:200,$frame_item_temp.image:200"
																[/set_variable]
																[set_variable]
																	name="frame_item_temp.image"
																	value="$frame_item_temp.image:200,$frame_item_temp.image:200"
																[/set_variable]
																[set_variable]
																	name="frame_item_temp.halo_y"
																	value=40
																[/set_variable]
																[set_variable]
																	formula="concatenate('$frame_item_temp.halo_mod|','~CROP(0,0,72,(72-0))~BL(1)~O(33%)~FL(vertical)')"
																	name="frame_item_temp.halo_mod"
																[/set_variable]
															[/else]
														[/if]
													[/do]
												[/foreach]
											[/then]
											[else]
												[if]
													[variable]
														equals=""
														name="new_reflection_animations[$i].frame.image"
													[/variable]
													[then]
														[set_variable]
															name="new_reflection_animations[$i].frame.halo"
															value="$unit.image:200,$unit.image:200"
														[/set_variable]
														[set_variable]
															name="new_reflection_animations[$i].frame.image"
															value="$unit.image:200,$unit.image:200"
														[/set_variable]
														[set_variable]
															name="new_reflection_animations[$i].frame.halo_y"
															value=40
														[/set_variable]
														[set_variable]
															formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-0))~BL(1)~O(33%)~FL(vertical)')"
															name="new_reflection_animations[$i].frame.halo_mod"
														[/set_variable]
													[/then]
													[else]
														[set_variable]
															name="new_reflection_animations[$i].frame.halo"
															value="$new_reflection_animations[$i].frame.image:200,$new_reflection_animations[$i].frame.image:200"
														[/set_variable]
														[set_variable]
															name="new_reflection_animations[$i].frame.image"
															value="$new_reflection_animations[$i].frame.image:200,$new_reflection_animations[$i].frame.image:200"
														[/set_variable]
														[set_variable]
															name="new_reflection_animations[$i].frame.halo_y"
															value=40
														[/set_variable]
														[set_variable]
															formula="concatenate('$new_reflection_animations[$i].frame.halo_mod|','~CROP(0,0,72,(72-0))~BL(1)~O(33%)~FL(vertical)')"
															name="new_reflection_animations[$i].frame.halo_mod"
														[/set_variable]
													[/else]
												[/if]
											[/else]
										[/if]
									[/else]
								[/if]
								[if]
									[variable]
										greater_than_equal_to=1
										name="new_reflection_animations[$i].else.length"
									[/variable]
									[then]
										[if]
											[variable]
												greater_than_equal_to=2
												name="new_reflection_animations[$i].else.length"
											[/variable]
											[then]
												[foreach]
													array="new_reflection_animations[$i].else"
													index_var="k"
													variable="conditional_item"
													[do]
														[if]
															[variable]
																greater_than_equal_to=2
																name="conditional_item.frame.length"
															[/variable]
															[then]
																[foreach]
																	array="conditional_item.frame"
																	index_var="f"
																	variable="frame_item_temp"
																	[do]
																		[if]
																			[variable]
																				equals=""
																				name="frame_item_temp.image"
																			[/variable]
																			[then]
																				[set_variable]
																					name="frame_item_temp.halo"
																					value="$unit.image:200,$unit.image:200"
																				[/set_variable]
																				[set_variable]
																					name="frame_item_temp.image"
																					value="$unit.image:200,$unit.image:200"
																				[/set_variable]
																				[set_variable]
																					name="frame_item_temp.halo_y"
																					value=40
																				[/set_variable]
																				[set_variable]
																					formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-0))~BL(1)~O(33%)~FL(vertical)')"
																					name="frame_item_temp.halo_mod"
																				[/set_variable]
																			[/then]
																			[else]
																				[set_variable]
																					name="frame_item_temp.halo"
																					value="$frame_item_temp.image:200,$frame_item_temp.image:200"
																				[/set_variable]
																				[set_variable]
																					name="frame_item_temp.image"
																					value="$frame_item_temp.image:200,$frame_item_temp.image:200"
																				[/set_variable]
																				[set_variable]
																					name="frame_item_temp.halo_y"
																					value=40
																				[/set_variable]
																				[set_variable]
																					formula="concatenate('$frame_item_temp.halo_mod|','~CROP(0,0,72,(72-0))~BL(1)~O(33%)~FL(vertical)')"
																					name="frame_item_temp.halo_mod"
																				[/set_variable]
																			[/else]
																		[/if]
																	[/do]
																[/foreach]
															[/then]
															[else]
																[if]
																	[variable]
																		equals=""
																		name="new_reflection_animations[$i].else[$k].frame.image"
																	[/variable]
																	[then]
																		[set_variable]
																			name="new_reflection_animations[$i].else[$k].frame.halo"
																			value="$unit.image:200,$unit.image:200"
																		[/set_variable]
																		[set_variable]
																			name="new_reflection_animations[$i].else[$k].frame.image"
																			value="$unit.image:200,$unit.image:200"
																		[/set_variable]
																		[set_variable]
																			name="new_reflection_animations[$i].else[$k].frame.halo_y"
																			value=40
																		[/set_variable]
																		[set_variable]
																			formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-0))~BL(1)~O(33%)~FL(vertical)')"
																			name="new_reflection_animations[$i].else[$k].frame.halo_mod"
																		[/set_variable]
																	[/then]
																	[else]
																		[set_variable]
																			name="new_reflection_animations[$i].else[$k].frame.halo"
																			value="$new_reflection_animations[$i].else[$k].frame.image:200,$new_reflection_animations[$i].else[$k].frame.image:200"
																		[/set_variable]
																		[set_variable]
																			name="new_reflection_animations[$i].else[$k].frame.image"
																			value="$new_reflection_animations[$i].else[$k].frame.image:200,$new_reflection_animations[$i].else[$k].frame.image:200"
																		[/set_variable]
																		[set_variable]
																			name="new_reflection_animations[$i].else[$k].frame.halo_y"
																			value=40
																		[/set_variable]
																		[set_variable]
																			formula="concatenate('$new_reflection_animations[$i].else[$k].frame.halo_mod|','~CROP(0,0,72,(72-0))~BL(1)~O(33%)~FL(vertical)')"
																			name="new_reflection_animations[$i].else[$k].frame.halo_mod"
																		[/set_variable]
																	[/else]
																[/if]
															[/else]
														[/if]
													[/do]
												[/foreach]
											[/then]
											[else]
												[if]
													[variable]
														greater_than_equal_to=2
														name="new_reflection_animations[$i].else.frame.length"
													[/variable]
													[then]
														[foreach]
															array="new_reflection_animations[$i].else.frame"
															index_var="f"
															variable="frame_item_temp"
															[do]
																[if]
																	[variable]
																		equals=""
																		name="frame_item_temp.image"
																	[/variable]
																	[then]
																		[set_variable]
																			name="frame_item_temp.halo"
																			value="$unit.image:200,$unit.image:200"
																		[/set_variable]
																		[set_variable]
																			name="frame_item_temp.image"
																			value="$unit.image:200,$unit.image:200"
																		[/set_variable]
																		[set_variable]
																			name="frame_item_temp.halo_y"
																			value=40
																		[/set_variable]
																		[set_variable]
																			formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-0))~BL(1)~O(33%)~FL(vertical)')"
																			name="frame_item_temp.halo_mod"
																		[/set_variable]
																	[/then]
																	[else]
																		[set_variable]
																			name="frame_item_temp.halo"
																			value="$frame_item_temp.image:200,$frame_item_temp.image:200"
																		[/set_variable]
																		[set_variable]
																			name="frame_item_temp.image"
																			value="$frame_item_temp.image:200,$frame_item_temp.image:200"
																		[/set_variable]
																		[set_variable]
																			name="frame_item_temp.halo_y"
																			value=40
																		[/set_variable]
																		[set_variable]
																			formula="concatenate('$frame_item_temp.halo_mod|','~CROP(0,0,72,(72-0))~BL(1)~O(33%)~FL(vertical)')"
																			name="frame_item_temp.halo_mod"
																		[/set_variable]
																	[/else]
																[/if]
															[/do]
														[/foreach]
													[/then]
													[else]
														[if]
															[variable]
																equals=""
																name="new_reflection_animations[$i].else.frame.image"
															[/variable]
															[then]
																[set_variable]
																	name="new_reflection_animations[$i].else.frame.halo"
																	value="$unit.image:200,$unit.image:200"
																[/set_variable]
																[set_variable]
																	name="new_reflection_animations[$i].else.frame.image"
																	value="$unit.image:200,$unit.image:200"
																[/set_variable]
																[set_variable]
																	name="new_reflection_animations[$i].else.frame.halo_y"
																	value=40
																[/set_variable]
																[set_variable]
																	formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-0))~BL(1)~O(33%)~FL(vertical)')"
																	name="new_reflection_animations[$i].else.frame.halo_mod"
																[/set_variable]
															[/then]
															[else]
																[set_variable]
																	name="new_reflection_animations[$i].else.frame.halo"
																	value="$new_reflection_animations[$i].else.frame.image:200,$new_reflection_animations[$i].else.frame.image:200"
																[/set_variable]
																[set_variable]
																	name="new_reflection_animations[$i].else.frame.image"
																	value="$new_reflection_animations[$i].else.frame.image:200,$new_reflection_animations[$i].else.frame.image:200"
																[/set_variable]
																[set_variable]
																	name="new_reflection_animations[$i].else.frame.halo_y"
																	value=40
																[/set_variable]
																[set_variable]
																	formula="concatenate('$new_reflection_animations[$i].else.frame.halo_mod|','~CROP(0,0,72,(72-0))~BL(1)~O(33%)~FL(vertical)')"
																	name="new_reflection_animations[$i].else.frame.halo_mod"
																[/set_variable]
															[/else]
														[/if]
													[/else]
												[/if]
											[/else]
										[/if]
									[/then]
								[/if]
							[/do]
						[/foreach]
					[/then]
					[else]
						[set_variables]
							name="new_reflection_animations"
							to_variable="reflect_unit_type.post_movement_anim[0]"
						[/set_variables]
						[set_variable]
							name="new_reflection_animations.data_apply_to"
							value="post_movement_anim"
						[/set_variable]
						[set_variable]
							name="new_reflection_animations.start_time"
							value=0
						[/set_variable]
						[set_variable]
							name="new_reflection_animations.base_score"
							value=2
						[/set_variable]
						[set_variables]
							mode="append"
							name="new_reflection_animations.filter"
							[value]
								[filter_location]
									terrain="Ai"
								[/filter_location]
							[/value]
						[/set_variables]
						[if]
							[variable]
								greater_than_equal_to=1
								name="reflect_unit_type.post_movement_anim.if.length"
							[/variable]
							[then]
								[if]
									[variable]
										greater_than_equal_to=2
										name="reflect_unit_type.post_movement_anim.if.length"
									[/variable]
									[then]
										[foreach]
											array="reflect_unit_type.post_movement_anim.if"
											index_var="k"
											variable="conditional_item"
											[do]
												[if]
													[variable]
														greater_than_equal_to=2
														name="conditional_item.frame.length"
													[/variable]
													[then]
														[foreach]
															array="conditional_item.frame"
															index_var="f"
															variable="frame_item_temp"
															[do]
																[if]
																	[variable]
																		equals=""
																		name="frame_item_temp.image"
																	[/variable]
																	[then]
																		[set_variable]
																			name="frame_item_temp.halo"
																			value="$unit.image:200,$unit.image:200"
																		[/set_variable]
																		[set_variable]
																			name="frame_item_temp.image"
																			value="$unit.image:200,$unit.image:200"
																		[/set_variable]
																		[set_variable]
																			name="frame_item_temp.halo_y"
																			value=40
																		[/set_variable]
																		[set_variable]
																			formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-0))~BL(1)~O(33%)~FL(vertical)')"
																			name="frame_item_temp.halo_mod"
																		[/set_variable]
																	[/then]
																	[else]
																		[set_variable]
																			name="frame_item_temp.halo"
																			value="$frame_item_temp.image:200,$frame_item_temp.image:200"
																		[/set_variable]
																		[set_variable]
																			name="frame_item_temp.image"
																			value="$frame_item_temp.image:200,$frame_item_temp.image:200"
																		[/set_variable]
																		[set_variable]
																			name="frame_item_temp.halo_y"
																			value=40
																		[/set_variable]
																		[set_variable]
																			formula="concatenate('$frame_item_temp.halo_mod|','~CROP(0,0,72,(72-0))~BL(1)~O(33%)~FL(vertical)')"
																			name="frame_item_temp.halo_mod"
																		[/set_variable]
																	[/else]
																[/if]
															[/do]
														[/foreach]
													[/then]
													[else]
														[if]
															[variable]
																equals=""
																name="new_reflection_animations[0].if[$k].frame.image"
															[/variable]
															[then]
																[set_variable]
																	name="new_reflection_animations[0].if[$k].frame.halo"
																	value="$unit.image:200,$unit.image:200"
																[/set_variable]
																[set_variable]
																	name="new_reflection_animations[0].if[$k].frame.image"
																	value="$unit.image:200,$unit.image:200"
																[/set_variable]
																[set_variable]
																	name="new_reflection_animations[0].if[$k].frame.halo_y"
																	value=40
																[/set_variable]
																[set_variable]
																	formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-0))~BL(1)~O(33%)~FL(vertical)')"
																	name="new_reflection_animations[0].if[$k].frame.halo_mod"
																[/set_variable]
															[/then]
															[else]
																[set_variable]
																	name="new_reflection_animations[0].if[$k].frame.halo"
																	value="$new_reflection_animations[0].if[$k].frame.image:200,$new_reflection_animations[0].if[$k].frame.image:200"
																[/set_variable]
																[set_variable]
																	name="new_reflection_animations[0].if[$k].frame.image"
																	value="$new_reflection_animations[0].if[$k].frame.image:200,$new_reflection_animations[0].if[$k].frame.image:200"
																[/set_variable]
																[set_variable]
																	name="new_reflection_animations[0].if[$k].frame.halo_y"
																	value=40
																[/set_variable]
																[set_variable]
																	formula="concatenate('$new_reflection_animations[0].if[$k].frame.halo_mod|','~CROP(0,0,72,(72-0))~BL(1)~O(33%)~FL(vertical)')"
																	name="new_reflection_animations[0].if[$k].frame.halo_mod"
																[/set_variable]
															[/else]
														[/if]
													[/else]
												[/if]
											[/do]
										[/foreach]
									[/then]
									[else]
										[if]
											[variable]
												greater_than_equal_to=2
												name="reflect_unit_type.post_movement_anim.if.frame.length"
											[/variable]
											[then]
												[foreach]
													array="reflect_unit_type.post_movement_anim.if.frame"
													index_var="f"
													variable="frame_item_temp"
													[do]
														[if]
															[variable]
																equals=""
																name="frame_item_temp.image"
															[/variable]
															[then]
																[set_variable]
																	name="frame_item_temp.halo"
																	value="$unit.image:200,$unit.image:200"
																[/set_variable]
																[set_variable]
																	name="frame_item_temp.image"
																	value="$unit.image:200,$unit.image:200"
																[/set_variable]
																[set_variable]
																	name="frame_item_temp.halo_y"
																	value=40
																[/set_variable]
																[set_variable]
																	formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-0))~BL(1)~O(33%)~FL(vertical)')"
																	name="frame_item_temp.halo_mod"
																[/set_variable]
															[/then]
															[else]
																[set_variable]
																	name="frame_item_temp.halo"
																	value="$frame_item_temp.image:200,$frame_item_temp.image:200"
																[/set_variable]
																[set_variable]
																	name="frame_item_temp.image"
																	value="$frame_item_temp.image:200,$frame_item_temp.image:200"
																[/set_variable]
																[set_variable]
																	name="frame_item_temp.halo_y"
																	value=40
																[/set_variable]
																[set_variable]
																	formula="concatenate('$frame_item_temp.halo_mod|','~CROP(0,0,72,(72-0))~BL(1)~O(33%)~FL(vertical)')"
																	name="frame_item_temp.halo_mod"
																[/set_variable]
															[/else]
														[/if]
													[/do]
												[/foreach]
											[/then]
											[else]
												[if]
													[variable]
														equals=""
														name="new_reflection_animations[0].if.frame.image"
													[/variable]
													[then]
														[set_variable]
															name="new_reflection_animations[0].if.frame.halo"
															value="$unit.image:200,$unit.image:200"
														[/set_variable]
														[set_variable]
															name="new_reflection_animations[0].if.frame.image"
															value="$unit.image:200,$unit.image:200"
														[/set_variable]
														[set_variable]
															name="new_reflection_animations[0].if.frame.halo_y"
															value=40
														[/set_variable]
														[set_variable]
															formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-0))~BL(1)~O(33%)~FL(vertical)')"
															name="new_reflection_animations[0].if.frame.halo_mod"
														[/set_variable]
													[/then]
													[else]
														[set_variable]
															name="new_reflection_animations[0].if.frame.halo"
															value="$new_reflection_animations[0].if.frame.image:200,$new_reflection_animations[0].if.frame.image:200"
														[/set_variable]
														[set_variable]
															name="new_reflection_animations[0].if.frame.image"
															value="$new_reflection_animations[0].if.frame.image:200,$new_reflection_animations[0].if.frame.image:200"
														[/set_variable]
														[set_variable]
															name="new_reflection_animations[0].if.frame.halo_y"
															value=40
														[/set_variable]
														[set_variable]
															formula="concatenate('$new_reflection_animations[0].if.frame.halo_mod|','~CROP(0,0,72,(72-0))~BL(1)~O(33%)~FL(vertical)')"
															name="new_reflection_animations[0].if.frame.halo_mod"
														[/set_variable]
													[/else]
												[/if]
											[/else]
										[/if]
									[/else]
								[/if]
							[/then]
							[else]
								[if]
									[variable]
										greater_than_equal_to=2
										name="new_reflection_animations[0].frame.length"
									[/variable]
									[then]
										[foreach]
											array="new_reflection_animations[0].frame"
											index_var="f"
											variable="frame_item_temp"
											[do]
												[if]
													[variable]
														equals=""
														name="frame_item_temp.image"
													[/variable]
													[then]
														[set_variable]
															name="frame_item_temp.halo"
															value="$unit.image:200,$unit.image:200"
														[/set_variable]
														[set_variable]
															name="frame_item_temp.image"
															value="$unit.image:200,$unit.image:200"
														[/set_variable]
														[set_variable]
															name="frame_item_temp.halo_y"
															value=40
														[/set_variable]
														[set_variable]
															formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-0))~BL(1)~O(33%)~FL(vertical)')"
															name="frame_item_temp.halo_mod"
														[/set_variable]
													[/then]
													[else]
														[set_variable]
															name="frame_item_temp.halo"
															value="$frame_item_temp.image:200,$frame_item_temp.image:200"
														[/set_variable]
														[set_variable]
															name="frame_item_temp.image"
															value="$frame_item_temp.image:200,$frame_item_temp.image:200"
														[/set_variable]
														[set_variable]
															name="frame_item_temp.halo_y"
															value=40
														[/set_variable]
														[set_variable]
															formula="concatenate('$frame_item_temp.halo_mod|','~CROP(0,0,72,(72-0))~BL(1)~O(33%)~FL(vertical)')"
															name="frame_item_temp.halo_mod"
														[/set_variable]
													[/else]
												[/if]
											[/do]
										[/foreach]
									[/then]
									[else]
										[if]
											[variable]
												equals=""
												name="new_reflection_animations[0].frame.image"
											[/variable]
											[then]
												[set_variable]
													name="new_reflection_animations[0].frame.halo"
													value="$unit.image:200,$unit.image:200"
												[/set_variable]
												[set_variable]
													name="new_reflection_animations[0].frame.image"
													value="$unit.image:200,$unit.image:200"
												[/set_variable]
												[set_variable]
													name="new_reflection_animations[0].frame.halo_y"
													value=40
												[/set_variable]
												[set_variable]
													formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-0))~BL(1)~O(33%)~FL(vertical)')"
													name="new_reflection_animations[0].frame.halo_mod"
												[/set_variable]
											[/then]
											[else]
												[set_variable]
													name="new_reflection_animations[0].frame.halo"
													value="$new_reflection_animations[0].frame.image:200,$new_reflection_animations[0].frame.image:200"
												[/set_variable]
												[set_variable]
													name="new_reflection_animations[0].frame.image"
													value="$new_reflection_animations[0].frame.image:200,$new_reflection_animations[0].frame.image:200"
												[/set_variable]
												[set_variable]
													name="new_reflection_animations[0].frame.halo_y"
													value=40
												[/set_variable]
												[set_variable]
													formula="concatenate('$new_reflection_animations[0].frame.halo_mod|','~CROP(0,0,72,(72-0))~BL(1)~O(33%)~FL(vertical)')"
													name="new_reflection_animations[0].frame.halo_mod"
												[/set_variable]
											[/else]
										[/if]
									[/else]
								[/if]
							[/else]
						[/if]
						[if]
							[variable]
								greater_than_equal_to=1
								name="reflect_unit_type.post_movement_anim.else.length"
							[/variable]
							[then]
								[if]
									[variable]
										greater_than_equal_to=2
										name="reflect_unit_type.post_movement_anim.else.length"
									[/variable]
									[then]
										[foreach]
											array="reflect_unit_type.post_movement_anim.else"
											index_var="k"
											variable="conditional_item"
											[do]
												[if]
													[variable]
														greater_than_equal_to=2
														name="conditional_item.frame.length"
													[/variable]
													[then]
														[foreach]
															array="conditional_item.frame"
															index_var="f"
															variable="frame_item_temp"
															[do]
																[if]
																	[variable]
																		equals=""
																		name="frame_item_temp.image"
																	[/variable]
																	[then]
																		[set_variable]
																			name="frame_item_temp.halo"
																			value="$unit.image:200,$unit.image:200"
																		[/set_variable]
																		[set_variable]
																			name="frame_item_temp.image"
																			value="$unit.image:200,$unit.image:200"
																		[/set_variable]
																		[set_variable]
																			name="frame_item_temp.halo_y"
																			value=40
																		[/set_variable]
																		[set_variable]
																			formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-0))~BL(1)~O(33%)~FL(vertical)')"
																			name="frame_item_temp.halo_mod"
																		[/set_variable]
																	[/then]
																	[else]
																		[set_variable]
																			name="frame_item_temp.halo"
																			value="$frame_item_temp.image:200,$frame_item_temp.image:200"
																		[/set_variable]
																		[set_variable]
																			name="frame_item_temp.image"
																			value="$frame_item_temp.image:200,$frame_item_temp.image:200"
																		[/set_variable]
																		[set_variable]
																			name="frame_item_temp.halo_y"
																			value=40
																		[/set_variable]
																		[set_variable]
																			formula="concatenate('$frame_item_temp.halo_mod|','~CROP(0,0,72,(72-0))~BL(1)~O(33%)~FL(vertical)')"
																			name="frame_item_temp.halo_mod"
																		[/set_variable]
																	[/else]
																[/if]
															[/do]
														[/foreach]
													[/then]
													[else]
														[if]
															[variable]
																equals=""
																name="new_reflection_animations[0].else[$k].frame.image"
															[/variable]
															[then]
																[set_variable]
																	name="new_reflection_animations[0].else[$k].frame.halo"
																	value="$unit.image:200,$unit.image:200"
																[/set_variable]
																[set_variable]
																	name="new_reflection_animations[0].else[$k].frame.image"
																	value="$unit.image:200,$unit.image:200"
																[/set_variable]
																[set_variable]
																	name="new_reflection_animations[0].else[$k].frame.halo_y"
																	value=40
																[/set_variable]
																[set_variable]
																	formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-0))~BL(1)~O(33%)~FL(vertical)')"
																	name="new_reflection_animations[0].else[$k].frame.halo_mod"
																[/set_variable]
															[/then]
															[else]
																[set_variable]
																	name="new_reflection_animations[0].else[$k].frame.halo"
																	value="$new_reflection_animations[0].else[$k].frame.image:200,$new_reflection_animations[0].else[$k].frame.image:200"
																[/set_variable]
																[set_variable]
																	name="new_reflection_animations[0].else[$k].frame.image"
																	value="$new_reflection_animations[0].else[$k].frame.image:200,$new_reflection_animations[0].else[$k].frame.image:200"
																[/set_variable]
																[set_variable]
																	name="new_reflection_animations[0].else[$k].frame.halo_y"
																	value=40
																[/set_variable]
																[set_variable]
																	formula="concatenate('$new_reflection_animations[0].else[$k].frame.halo_mod|','~CROP(0,0,72,(72-0))~BL(1)~O(33%)~FL(vertical)')"
																	name="new_reflection_animations[0].else[$k].frame.halo_mod"
																[/set_variable]
															[/else]
														[/if]
													[/else]
												[/if]
											[/do]
										[/foreach]
									[/then]
									[else]
										[if]
											[variable]
												greater_than_equal_to=2
												name="reflect_unit_type.post_movement_anim.else.frame.length"
											[/variable]
											[then]
												[foreach]
													array="reflect_unit_type.post_movement_anim.else.frame"
													index_var="f"
													variable="frame_item_temp"
													[do]
														[if]
															[variable]
																equals=""
																name="frame_item_temp.image"
															[/variable]
															[then]
																[set_variable]
																	name="frame_item_temp.halo"
																	value="$unit.image:200,$unit.image:200"
																[/set_variable]
																[set_variable]
																	name="frame_item_temp.image"
																	value="$unit.image:200,$unit.image:200"
																[/set_variable]
																[set_variable]
																	name="frame_item_temp.halo_y"
																	value=40
																[/set_variable]
																[set_variable]
																	formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-0))~BL(1)~O(33%)~FL(vertical)')"
																	name="frame_item_temp.halo_mod"
																[/set_variable]
															[/then]
															[else]
																[set_variable]
																	name="frame_item_temp.halo"
																	value="$frame_item_temp.image:200,$frame_item_temp.image:200"
																[/set_variable]
																[set_variable]
																	name="frame_item_temp.image"
																	value="$frame_item_temp.image:200,$frame_item_temp.image:200"
																[/set_variable]
																[set_variable]
																	name="frame_item_temp.halo_y"
																	value=40
																[/set_variable]
																[set_variable]
																	formula="concatenate('$frame_item_temp.halo_mod|','~CROP(0,0,72,(72-0))~BL(1)~O(33%)~FL(vertical)')"
																	name="frame_item_temp.halo_mod"
																[/set_variable]
															[/else]
														[/if]
													[/do]
												[/foreach]
											[/then]
											[else]
												[if]
													[variable]
														equals=""
														name="new_reflection_animations[0].else.frame.image"
													[/variable]
													[then]
														[set_variable]
															name="new_reflection_animations[0].else.frame.halo"
															value="$unit.image:200,$unit.image:200"
														[/set_variable]
														[set_variable]
															name="new_reflection_animations[0].else.frame.image"
															value="$unit.image:200,$unit.image:200"
														[/set_variable]
														[set_variable]
															name="new_reflection_animations[0].else.frame.halo_y"
															value=40
														[/set_variable]
														[set_variable]
															formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-0))~BL(1)~O(33%)~FL(vertical)')"
															name="new_reflection_animations[0].else.frame.halo_mod"
														[/set_variable]
													[/then]
													[else]
														[set_variable]
															name="new_reflection_animations[0].else.frame.halo"
															value="$new_reflection_animations[0].else.frame.image:200,$new_reflection_animations[0].else.frame.image:200"
														[/set_variable]
														[set_variable]
															name="new_reflection_animations[0].else.frame.image"
															value="$new_reflection_animations[0].else.frame.image:200,$new_reflection_animations[0].else.frame.image:200"
														[/set_variable]
														[set_variable]
															name="new_reflection_animations[0].else.frame.halo_y"
															value=40
														[/set_variable]
														[set_variable]
															formula="concatenate('$new_reflection_animations[0].else.frame.halo_mod|','~CROP(0,0,72,(72-0))~BL(1)~O(33%)~FL(vertical)')"
															name="new_reflection_animations[0].else.frame.halo_mod"
														[/set_variable]
													[/else]
												[/if]
											[/else]
										[/if]
									[/else]
								[/if]
							[/then]
						[/if]
					[/else]
				[/if]
			[/then]
			[else]
				[if]
					[variable]
						name="unit.image"
						not_equals=""
					[/variable]
					[then]
						[set_variables]
							name="new_reflection_animations"
							[value]
								apply_to="standing"
								data_apply_to="post_movement_anim"
								start_time=0
								terrain_type="Ai"
								[frame]
									halo="$unit.image:200,$unit.image:200"
									halo_mod="~CROP(0,0,72,$(72-0))~BL(1)~O(33%)~FL(vertical)"
									halo_y=40
									image="$unit.image:200,$unit.image:200"
								[/frame]
							[/value]
						[/set_variables]
					[/then]
				[/if]
			[/else]
		[/if]
		[set_variables]
			mode="append"
			name="add_animations_variable"
			to_variable="new_reflection_animations"
		[/set_variables]
		[clear_variable]
			name="new_reflection_animations"
		[/clear_variable]
		[if]
			[variable]
				greater_than_equal_to=1
				name="reflect_unit_type.idle_anim.length"
			[/variable]
			[then]
				[if]
					[variable]
						greater_than_equal_to=2
						name="reflect_unit_type.idle_anim.length"
					[/variable]
					[then]
						[foreach]
							array="reflect_unit_type.idle_anim"
							[do]
								[set_variables]
									name="new_reflection_animations[$i]"
									to_variable="this_item"
								[/set_variables]
								[set_variable]
									name="new_reflection_animations[$i].start_time"
									value=0
								[/set_variable]
								[set_variable]
									name="new_reflection_animations[$i].data_apply_to"
									value="idle_anim"
								[/set_variable]
								[set_variable]
									name="new_reflection_animations[$i].base_score"
									value=2
								[/set_variable]
								[set_variables]
									mode="append"
									name="new_reflection_animations[$i].filter"
									[value]
										[filter_location]
											terrain="Ai"
										[/filter_location]
									[/value]
								[/set_variables]
								[if]
									[variable]
										greater_than_equal_to=1
										name="new_reflection_animations[$i].if.length"
									[/variable]
									[then]
										[if]
											[variable]
												greater_than_equal_to=2
												name="new_reflection_animations[$i].if.length"
											[/variable]
											[then]
												[foreach]
													array="new_reflection_animations[$i].if"
													index_var="k"
													variable="conditional_item"
													[do]
														[if]
															[variable]
																greater_than_equal_to=2
																name="conditional_item.frame.length"
															[/variable]
															[then]
																[foreach]
																	array="conditional_item.frame"
																	index_var="f"
																	variable="frame_item_temp"
																	[do]
																		[if]
																			[variable]
																				equals=""
																				name="frame_item_temp.image"
																			[/variable]
																			[then]
																				[set_variable]
																					name="frame_item_temp.halo"
																					value="$unit.image:200,$unit.image:200"
																				[/set_variable]
																				[set_variable]
																					name="frame_item_temp.image"
																					value="$unit.image:200,$unit.image:200"
																				[/set_variable]
																				[set_variable]
																					name="frame_item_temp.halo_y"
																					value=40
																				[/set_variable]
																				[set_variable]
																					formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-0))~BL(1)~O(33%)~FL(vertical)')"
																					name="frame_item_temp.halo_mod"
																				[/set_variable]
																			[/then]
																			[else]
																				[set_variable]
																					name="frame_item_temp.halo"
																					value="$frame_item_temp.image:200,$frame_item_temp.image:200"
																				[/set_variable]
																				[set_variable]
																					name="frame_item_temp.image"
																					value="$frame_item_temp.image:200,$frame_item_temp.image:200"
																				[/set_variable]
																				[set_variable]
																					name="frame_item_temp.halo_y"
																					value=40
																				[/set_variable]
																				[set_variable]
																					formula="concatenate('$frame_item_temp.halo_mod|','~CROP(0,0,72,(72-0))~BL(1)~O(33%)~FL(vertical)')"
																					name="frame_item_temp.halo_mod"
																				[/set_variable]
																			[/else]
																		[/if]
																	[/do]
																[/foreach]
															[/then]
															[else]
																[if]
																	[variable]
																		equals=""
																		name="conditional_item.frame.image"
																	[/variable]
																	[then]
																		[set_variable]
																			name="conditional_item.frame.halo"
																			value="$unit.image:200,$unit.image:200"
																		[/set_variable]
																		[set_variable]
																			name="conditional_item.frame.image"
																			value="$unit.image:200,$unit.image:200"
																		[/set_variable]
																		[set_variable]
																			name="conditional_item.frame.halo_y"
																			value=40
																		[/set_variable]
																		[set_variable]
																			formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-0))~BL(1)~O(33%)~FL(vertical)')"
																			name="conditional_item.frame.halo_mod"
																		[/set_variable]
																	[/then]
																	[else]
																		[set_variable]
																			name="conditional_item.frame.halo"
																			value="$conditional_item.frame.image:200,$conditional_item.frame.image:200"
																		[/set_variable]
																		[set_variable]
																			name="conditional_item.frame.image"
																			value="$conditional_item.frame.image:200,$conditional_item.frame.image:200"
																		[/set_variable]
																		[set_variable]
																			name="conditional_item.frame.halo_y"
																			value=40
																		[/set_variable]
																		[set_variable]
																			formula="concatenate('$conditional_item.frame.halo_mod|','~CROP(0,0,72,(72-0))~BL(1)~O(33%)~FL(vertical)')"
																			name="conditional_item.frame.halo_mod"
																		[/set_variable]
																	[/else]
																[/if]
															[/else]
														[/if]
													[/do]
												[/foreach]
											[/then]
											[else]
												[if]
													[variable]
														greater_than_equal_to=2
														name="new_reflection_animations[$i].if.frame.length"
													[/variable]
													[then]
														[foreach]
															array="new_reflection_animations[$i].if.frame"
															index_var="f"
															variable="frame_item_temp"
															[do]
																[if]
																	[variable]
																		equals=""
																		name="frame_item_temp.image"
																	[/variable]
																	[then]
																		[set_variable]
																			name="frame_item_temp.halo"
																			value="$unit.image:200,$unit.image:200"
																		[/set_variable]
																		[set_variable]
																			name="frame_item_temp.image"
																			value="$unit.image:200,$unit.image:200"
																		[/set_variable]
																		[set_variable]
																			name="frame_item_temp.halo_y"
																			value=40
																		[/set_variable]
																		[set_variable]
																			formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-0))~BL(1)~O(33%)~FL(vertical)')"
																			name="frame_item_temp.halo_mod"
																		[/set_variable]
																	[/then]
																	[else]
																		[set_variable]
																			name="frame_item_temp.halo"
																			value="$frame_item_temp.image:200,$frame_item_temp.image:200"
																		[/set_variable]
																		[set_variable]
																			name="frame_item_temp.image"
																			value="$frame_item_temp.image:200,$frame_item_temp.image:200"
																		[/set_variable]
																		[set_variable]
																			name="frame_item_temp.halo_y"
																			value=40
																		[/set_variable]
																		[set_variable]
																			formula="concatenate('$frame_item_temp.halo_mod|','~CROP(0,0,72,(72-0))~BL(1)~O(33%)~FL(vertical)')"
																			name="frame_item_temp.halo_mod"
																		[/set_variable]
																	[/else]
																[/if]
															[/do]
														[/foreach]
													[/then]
													[else]
														[if]
															[variable]
																equals=""
																name="new_reflection_animations[$i].if.frame.image"
															[/variable]
															[then]
																[set_variable]
																	name="new_reflection_animations[$i].if.frame.halo"
																	value="$unit.image:200,$unit.image:200"
																[/set_variable]
																[set_variable]
																	name="new_reflection_animations[$i].if.frame.image"
																	value="$unit.image:200,$unit.image:200"
																[/set_variable]
																[set_variable]
																	name="new_reflection_animations[$i].if.frame.halo_y"
																	value=40
																[/set_variable]
																[set_variable]
																	formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-0))~BL(1)~O(33%)~FL(vertical)')"
																	name="new_reflection_animations[$i].if.frame.halo_mod"
																[/set_variable]
															[/then]
															[else]
																[set_variable]
																	name="new_reflection_animations[$i].if.frame.halo"
																	value="$new_reflection_animations[$i].if.frame.image:200,$new_reflection_animations[$i].if.frame.image:200"
																[/set_variable]
																[set_variable]
																	name="new_reflection_animations[$i].if.frame.image"
																	value="$new_reflection_animations[$i].if.frame.image:200,$new_reflection_animations[$i].if.frame.image:200"
																[/set_variable]
																[set_variable]
																	name="new_reflection_animations[$i].if.frame.halo_y"
																	value=40
																[/set_variable]
																[set_variable]
																	formula="concatenate('$new_reflection_animations[$i].if.frame.halo_mod|','~CROP(0,0,72,(72-0))~BL(1)~O(33%)~FL(vertical)')"
																	name="new_reflection_animations[$i].if.frame.halo_mod"
																[/set_variable]
															[/else]
														[/if]
													[/else]
												[/if]
											[/else]
										[/if]
									[/then]
									[else]
										[if]
											[variable]
												greater_than_equal_to=2
												name="new_reflection_animations[$i].frame.length"
											[/variable]
											[then]
												[foreach]
													array="new_reflection_animations[$i].frame"
													index_var="f"
													variable="frame_item_temp"
													[do]
														[if]
															[variable]
																equals=""
																name="frame_item_temp.image"
															[/variable]
															[then]
																[set_variable]
																	name="frame_item_temp.halo"
																	value="$unit.image:200,$unit.image:200"
																[/set_variable]
																[set_variable]
																	name="frame_item_temp.image"
																	value="$unit.image:200,$unit.image:200"
																[/set_variable]
																[set_variable]
																	name="frame_item_temp.halo_y"
																	value=40
																[/set_variable]
																[set_variable]
																	formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-0))~BL(1)~O(33%)~FL(vertical)')"
																	name="frame_item_temp.halo_mod"
																[/set_variable]
															[/then]
															[else]
																[set_variable]
																	name="frame_item_temp.halo"
																	value="$frame_item_temp.image:200,$frame_item_temp.image:200"
																[/set_variable]
																[set_variable]
																	name="frame_item_temp.image"
																	value="$frame_item_temp.image:200,$frame_item_temp.image:200"
																[/set_variable]
																[set_variable]
																	name="frame_item_temp.halo_y"
																	value=40
																[/set_variable]
																[set_variable]
																	formula="concatenate('$frame_item_temp.halo_mod|','~CROP(0,0,72,(72-0))~BL(1)~O(33%)~FL(vertical)')"
																	name="frame_item_temp.halo_mod"
																[/set_variable]
															[/else]
														[/if]
													[/do]
												[/foreach]
											[/then]
											[else]
												[if]
													[variable]
														equals=""
														name="new_reflection_animations[$i].frame.image"
													[/variable]
													[then]
														[set_variable]
															name="new_reflection_animations[$i].frame.halo"
															value="$unit.image:200,$unit.image:200"
														[/set_variable]
														[set_variable]
															name="new_reflection_animations[$i].frame.image"
															value="$unit.image:200,$unit.image:200"
														[/set_variable]
														[set_variable]
															name="new_reflection_animations[$i].frame.halo_y"
															value=40
														[/set_variable]
														[set_variable]
															formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-0))~BL(1)~O(33%)~FL(vertical)')"
															name="new_reflection_animations[$i].frame.halo_mod"
														[/set_variable]
													[/then]
													[else]
														[set_variable]
															name="new_reflection_animations[$i].frame.halo"
															value="$new_reflection_animations[$i].frame.image:200,$new_reflection_animations[$i].frame.image:200"
														[/set_variable]
														[set_variable]
															name="new_reflection_animations[$i].frame.image"
															value="$new_reflection_animations[$i].frame.image:200,$new_reflection_animations[$i].frame.image:200"
														[/set_variable]
														[set_variable]
															name="new_reflection_animations[$i].frame.halo_y"
															value=40
														[/set_variable]
														[set_variable]
															formula="concatenate('$new_reflection_animations[$i].frame.halo_mod|','~CROP(0,0,72,(72-0))~BL(1)~O(33%)~FL(vertical)')"
															name="new_reflection_animations[$i].frame.halo_mod"
														[/set_variable]
													[/else]
												[/if]
											[/else]
										[/if]
									[/else]
								[/if]
								[if]
									[variable]
										greater_than_equal_to=1
										name="new_reflection_animations[$i].else.length"
									[/variable]
									[then]
										[if]
											[variable]
												greater_than_equal_to=2
												name="new_reflection_animations[$i].else.length"
											[/variable]
											[then]
												[foreach]
													array="new_reflection_animations[$i].else"
													index_var="k"
													variable="conditional_item"
													[do]
														[if]
															[variable]
																greater_than_equal_to=2
																name="conditional_item.frame.length"
															[/variable]
															[then]
																[foreach]
																	array="conditional_item.frame"
																	index_var="f"
																	variable="frame_item_temp"
																	[do]
																		[if]
																			[variable]
																				equals=""
																				name="frame_item_temp.image"
																			[/variable]
																			[then]
																				[set_variable]
																					name="frame_item_temp.halo"
																					value="$unit.image:200,$unit.image:200"
																				[/set_variable]
																				[set_variable]
																					name="frame_item_temp.image"
																					value="$unit.image:200,$unit.image:200"
																				[/set_variable]
																				[set_variable]
																					name="frame_item_temp.halo_y"
																					value=40
																				[/set_variable]
																				[set_variable]
																					formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-0))~BL(1)~O(33%)~FL(vertical)')"
																					name="frame_item_temp.halo_mod"
																				[/set_variable]
																			[/then]
																			[else]
																				[set_variable]
																					name="frame_item_temp.halo"
																					value="$frame_item_temp.image:200,$frame_item_temp.image:200"
																				[/set_variable]
																				[set_variable]
																					name="frame_item_temp.image"
																					value="$frame_item_temp.image:200,$frame_item_temp.image:200"
																				[/set_variable]
																				[set_variable]
																					name="frame_item_temp.halo_y"
																					value=40
																				[/set_variable]
																				[set_variable]
																					formula="concatenate('$frame_item_temp.halo_mod|','~CROP(0,0,72,(72-0))~BL(1)~O(33%)~FL(vertical)')"
																					name="frame_item_temp.halo_mod"
																				[/set_variable]
																			[/else]
																		[/if]
																	[/do]
																[/foreach]
															[/then]
															[else]
																[if]
																	[variable]
																		equals=""
																		name="new_reflection_animations[$i].else[$k].frame.image"
																	[/variable]
																	[then]
																		[set_variable]
																			name="new_reflection_animations[$i].else[$k].frame.halo"
																			value="$unit.image:200,$unit.image:200"
																		[/set_variable]
																		[set_variable]
																			name="new_reflection_animations[$i].else[$k].frame.image"
																			value="$unit.image:200,$unit.image:200"
																		[/set_variable]
																		[set_variable]
																			name="new_reflection_animations[$i].else[$k].frame.halo_y"
																			value=40
																		[/set_variable]
																		[set_variable]
																			formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-0))~BL(1)~O(33%)~FL(vertical)')"
																			name="new_reflection_animations[$i].else[$k].frame.halo_mod"
																		[/set_variable]
																	[/then]
																	[else]
																		[set_variable]
																			name="new_reflection_animations[$i].else[$k].frame.halo"
																			value="$new_reflection_animations[$i].else[$k].frame.image:200,$new_reflection_animations[$i].else[$k].frame.image:200"
																		[/set_variable]
																		[set_variable]
																			name="new_reflection_animations[$i].else[$k].frame.image"
																			value="$new_reflection_animations[$i].else[$k].frame.image:200,$new_reflection_animations[$i].else[$k].frame.image:200"
																		[/set_variable]
																		[set_variable]
																			name="new_reflection_animations[$i].else[$k].frame.halo_y"
																			value=40
																		[/set_variable]
																		[set_variable]
																			formula="concatenate('$new_reflection_animations[$i].else[$k].frame.halo_mod|','~CROP(0,0,72,(72-0))~BL(1)~O(33%)~FL(vertical)')"
																			name="new_reflection_animations[$i].else[$k].frame.halo_mod"
																		[/set_variable]
																	[/else]
																[/if]
															[/else]
														[/if]
													[/do]
												[/foreach]
											[/then]
											[else]
												[if]
													[variable]
														greater_than_equal_to=2
														name="new_reflection_animations[$i].else.frame.length"
													[/variable]
													[then]
														[foreach]
															array="new_reflection_animations[$i].else.frame"
															index_var="f"
															variable="frame_item_temp"
															[do]
																[if]
																	[variable]
																		equals=""
																		name="frame_item_temp.image"
																	[/variable]
																	[then]
																		[set_variable]
																			name="frame_item_temp.halo"
																			value="$unit.image:200,$unit.image:200"
																		[/set_variable]
																		[set_variable]
																			name="frame_item_temp.image"
																			value="$unit.image:200,$unit.image:200"
																		[/set_variable]
																		[set_variable]
																			name="frame_item_temp.halo_y"
																			value=40
																		[/set_variable]
																		[set_variable]
																			formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-0))~BL(1)~O(33%)~FL(vertical)')"
																			name="frame_item_temp.halo_mod"
																		[/set_variable]
																	[/then]
																	[else]
																		[set_variable]
																			name="frame_item_temp.halo"
																			value="$frame_item_temp.image:200,$frame_item_temp.image:200"
																		[/set_variable]
																		[set_variable]
																			name="frame_item_temp.image"
																			value="$frame_item_temp.image:200,$frame_item_temp.image:200"
																		[/set_variable]
																		[set_variable]
																			name="frame_item_temp.halo_y"
																			value=40
																		[/set_variable]
																		[set_variable]
																			formula="concatenate('$frame_item_temp.halo_mod|','~CROP(0,0,72,(72-0))~BL(1)~O(33%)~FL(vertical)')"
																			name="frame_item_temp.halo_mod"
																		[/set_variable]
																	[/else]
																[/if]
															[/do]
														[/foreach]
													[/then]
													[else]
														[if]
															[variable]
																equals=""
																name="new_reflection_animations[$i].else.frame.image"
															[/variable]
															[then]
																[set_variable]
																	name="new_reflection_animations[$i].else.frame.halo"
																	value="$unit.image:200,$unit.image:200"
																[/set_variable]
																[set_variable]
																	name="new_reflection_animations[$i].else.frame.image"
																	value="$unit.image:200,$unit.image:200"
																[/set_variable]
																[set_variable]
																	name="new_reflection_animations[$i].else.frame.halo_y"
																	value=40
																[/set_variable]
																[set_variable]
																	formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-0))~BL(1)~O(33%)~FL(vertical)')"
																	name="new_reflection_animations[$i].else.frame.halo_mod"
																[/set_variable]
															[/then]
															[else]
																[set_variable]
																	name="new_reflection_animations[$i].else.frame.halo"
																	value="$new_reflection_animations[$i].else.frame.image:200,$new_reflection_animations[$i].else.frame.image:200"
																[/set_variable]
																[set_variable]
																	name="new_reflection_animations[$i].else.frame.image"
																	value="$new_reflection_animations[$i].else.frame.image:200,$new_reflection_animations[$i].else.frame.image:200"
																[/set_variable]
																[set_variable]
																	name="new_reflection_animations[$i].else.frame.halo_y"
																	value=40
																[/set_variable]
																[set_variable]
																	formula="concatenate('$new_reflection_animations[$i].else.frame.halo_mod|','~CROP(0,0,72,(72-0))~BL(1)~O(33%)~FL(vertical)')"
																	name="new_reflection_animations[$i].else.frame.halo_mod"
																[/set_variable]
															[/else]
														[/if]
													[/else]
												[/if]
											[/else]
										[/if]
									[/then]
								[/if]
							[/do]
						[/foreach]
					[/then]
					[else]
						[set_variables]
							name="new_reflection_animations"
							to_variable="reflect_unit_type.idle_anim[0]"
						[/set_variables]
						[set_variable]
							name="new_reflection_animations.data_apply_to"
							value="idle_anim"
						[/set_variable]
						[set_variable]
							name="new_reflection_animations.start_time"
							value=0
						[/set_variable]
						[set_variable]
							name="new_reflection_animations.base_score"
							value=2
						[/set_variable]
						[set_variables]
							mode="append"
							name="new_reflection_animations.filter"
							[value]
								[filter_location]
									terrain="Ai"
								[/filter_location]
							[/value]
						[/set_variables]
						[if]
							[variable]
								greater_than_equal_to=1
								name="reflect_unit_type.idle_anim.if.length"
							[/variable]
							[then]
								[if]
									[variable]
										greater_than_equal_to=2
										name="reflect_unit_type.idle_anim.if.length"
									[/variable]
									[then]
										[foreach]
											array="reflect_unit_type.idle_anim.if"
											index_var="k"
											variable="conditional_item"
											[do]
												[if]
													[variable]
														greater_than_equal_to=2
														name="conditional_item.frame.length"
													[/variable]
													[then]
														[foreach]
															array="conditional_item.frame"
															index_var="f"
															variable="frame_item_temp"
															[do]
																[if]
																	[variable]
																		equals=""
																		name="frame_item_temp.image"
																	[/variable]
																	[then]
																		[set_variable]
																			name="frame_item_temp.halo"
																			value="$unit.image:200,$unit.image:200"
																		[/set_variable]
																		[set_variable]
																			name="frame_item_temp.image"
																			value="$unit.image:200,$unit.image:200"
																		[/set_variable]
																		[set_variable]
																			name="frame_item_temp.halo_y"
																			value=40
																		[/set_variable]
																		[set_variable]
																			formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-0))~BL(1)~O(33%)~FL(vertical)')"
																			name="frame_item_temp.halo_mod"
																		[/set_variable]
																	[/then]
																	[else]
																		[set_variable]
																			name="frame_item_temp.halo"
																			value="$frame_item_temp.image:200,$frame_item_temp.image:200"
																		[/set_variable]
																		[set_variable]
																			name="frame_item_temp.image"
																			value="$frame_item_temp.image:200,$frame_item_temp.image:200"
																		[/set_variable]
																		[set_variable]
																			name="frame_item_temp.halo_y"
																			value=40
																		[/set_variable]
																		[set_variable]
																			formula="concatenate('$frame_item_temp.halo_mod|','~CROP(0,0,72,(72-0))~BL(1)~O(33%)~FL(vertical)')"
																			name="frame_item_temp.halo_mod"
																		[/set_variable]
																	[/else]
																[/if]
															[/do]
														[/foreach]
													[/then]
													[else]
														[if]
															[variable]
																equals=""
																name="new_reflection_animations[0].if[$k].frame.image"
															[/variable]
															[then]
																[set_variable]
																	name="new_reflection_animations[0].if[$k].frame.halo"
																	value="$unit.image:200,$unit.image:200"
																[/set_variable]
																[set_variable]
																	name="new_reflection_animations[0].if[$k].frame.image"
																	value="$unit.image:200,$unit.image:200"
																[/set_variable]
																[set_variable]
																	name="new_reflection_animations[0].if[$k].frame.halo_y"
																	value=40
																[/set_variable]
																[set_variable]
																	formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-0))~BL(1)~O(33%)~FL(vertical)')"
																	name="new_reflection_animations[0].if[$k].frame.halo_mod"
																[/set_variable]
															[/then]
															[else]
																[set_variable]
																	name="new_reflection_animations[0].if[$k].frame.halo"
																	value="$new_reflection_animations[0].if[$k].frame.image:200,$new_reflection_animations[0].if[$k].frame.image:200"
																[/set_variable]
																[set_variable]
																	name="new_reflection_animations[0].if[$k].frame.image"
																	value="$new_reflection_animations[0].if[$k].frame.image:200,$new_reflection_animations[0].if[$k].frame.image:200"
																[/set_variable]
																[set_variable]
																	name="new_reflection_animations[0].if[$k].frame.halo_y"
																	value=40
																[/set_variable]
																[set_variable]
																	formula="concatenate('$new_reflection_animations[0].if[$k].frame.halo_mod|','~CROP(0,0,72,(72-0))~BL(1)~O(33%)~FL(vertical)')"
																	name="new_reflection_animations[0].if[$k].frame.halo_mod"
																[/set_variable]
															[/else]
														[/if]
													[/else]
												[/if]
											[/do]
										[/foreach]
									[/then]
									[else]
										[if]
											[variable]
												greater_than_equal_to=2
												name="reflect_unit_type.idle_anim.if.frame.length"
											[/variable]
											[then]
												[foreach]
													array="reflect_unit_type.idle_anim.if.frame"
													index_var="f"
													variable="frame_item_temp"
													[do]
														[if]
															[variable]
																equals=""
																name="frame_item_temp.image"
															[/variable]
															[then]
																[set_variable]
																	name="frame_item_temp.halo"
																	value="$unit.image:200,$unit.image:200"
																[/set_variable]
																[set_variable]
																	name="frame_item_temp.image"
																	value="$unit.image:200,$unit.image:200"
																[/set_variable]
																[set_variable]
																	name="frame_item_temp.halo_y"
																	value=40
																[/set_variable]
																[set_variable]
																	formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-0))~BL(1)~O(33%)~FL(vertical)')"
																	name="frame_item_temp.halo_mod"
																[/set_variable]
															[/then]
															[else]
																[set_variable]
																	name="frame_item_temp.halo"
																	value="$frame_item_temp.image:200,$frame_item_temp.image:200"
																[/set_variable]
																[set_variable]
																	name="frame_item_temp.image"
																	value="$frame_item_temp.image:200,$frame_item_temp.image:200"
																[/set_variable]
																[set_variable]
																	name="frame_item_temp.halo_y"
																	value=40
																[/set_variable]
																[set_variable]
																	formula="concatenate('$frame_item_temp.halo_mod|','~CROP(0,0,72,(72-0))~BL(1)~O(33%)~FL(vertical)')"
																	name="frame_item_temp.halo_mod"
																[/set_variable]
															[/else]
														[/if]
													[/do]
												[/foreach]
											[/then]
											[else]
												[if]
													[variable]
														equals=""
														name="new_reflection_animations[0].if.frame.image"
													[/variable]
													[then]
														[set_variable]
															name="new_reflection_animations[0].if.frame.halo"
															value="$unit.image:200,$unit.image:200"
														[/set_variable]
														[set_variable]
															name="new_reflection_animations[0].if.frame.image"
															value="$unit.image:200,$unit.image:200"
														[/set_variable]
														[set_variable]
															name="new_reflection_animations[0].if.frame.halo_y"
															value=40
														[/set_variable]
														[set_variable]
															formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-0))~BL(1)~O(33%)~FL(vertical)')"
															name="new_reflection_animations[0].if.frame.halo_mod"
														[/set_variable]
													[/then]
													[else]
														[set_variable]
															name="new_reflection_animations[0].if.frame.halo"
															value="$new_reflection_animations[0].if.frame.image:200,$new_reflection_animations[0].if.frame.image:200"
														[/set_variable]
														[set_variable]
															name="new_reflection_animations[0].if.frame.image"
															value="$new_reflection_animations[0].if.frame.image:200,$new_reflection_animations[0].if.frame.image:200"
														[/set_variable]
														[set_variable]
															name="new_reflection_animations[0].if.frame.halo_y"
															value=40
														[/set_variable]
														[set_variable]
															formula="concatenate('$new_reflection_animations[0].if.frame.halo_mod|','~CROP(0,0,72,(72-0))~BL(1)~O(33%)~FL(vertical)')"
															name="new_reflection_animations[0].if.frame.halo_mod"
														[/set_variable]
													[/else]
												[/if]
											[/else]
										[/if]
									[/else]
								[/if]
							[/then]
							[else]
								[if]
									[variable]
										greater_than_equal_to=2
										name="new_reflection_animations[0].frame.length"
									[/variable]
									[then]
										[foreach]
											array="new_reflection_animations[0].frame"
											index_var="f"
											variable="frame_item_temp"
											[do]
												[if]
													[variable]
														equals=""
														name="frame_item_temp.image"
													[/variable]
													[then]
														[set_variable]
															name="frame_item_temp.halo"
															value="$unit.image:200,$unit.image:200"
														[/set_variable]
														[set_variable]
															name="frame_item_temp.image"
															value="$unit.image:200,$unit.image:200"
														[/set_variable]
														[set_variable]
															name="frame_item_temp.halo_y"
															value=40
														[/set_variable]
														[set_variable]
															formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-0))~BL(1)~O(33%)~FL(vertical)')"
															name="frame_item_temp.halo_mod"
														[/set_variable]
													[/then]
													[else]
														[set_variable]
															name="frame_item_temp.halo"
															value="$frame_item_temp.image:200,$frame_item_temp.image:200"
														[/set_variable]
														[set_variable]
															name="frame_item_temp.image"
															value="$frame_item_temp.image:200,$frame_item_temp.image:200"
														[/set_variable]
														[set_variable]
															name="frame_item_temp.halo_y"
															value=40
														[/set_variable]
														[set_variable]
															formula="concatenate('$frame_item_temp.halo_mod|','~CROP(0,0,72,(72-0))~BL(1)~O(33%)~FL(vertical)')"
															name="frame_item_temp.halo_mod"
														[/set_variable]
													[/else]
												[/if]
											[/do]
										[/foreach]
									[/then]
									[else]
										[if]
											[variable]
												equals=""
												name="new_reflection_animations[0].frame.image"
											[/variable]
											[then]
												[set_variable]
													name="new_reflection_animations[0].frame.halo"
													value="$unit.image:200,$unit.image:200"
												[/set_variable]
												[set_variable]
													name="new_reflection_animations[0].frame.image"
													value="$unit.image:200,$unit.image:200"
												[/set_variable]
												[set_variable]
													name="new_reflection_animations[0].frame.halo_y"
													value=40
												[/set_variable]
												[set_variable]
													formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-0))~BL(1)~O(33%)~FL(vertical)')"
													name="new_reflection_animations[0].frame.halo_mod"
												[/set_variable]
											[/then]
											[else]
												[set_variable]
													name="new_reflection_animations[0].frame.halo"
													value="$new_reflection_animations[0].frame.image:200,$new_reflection_animations[0].frame.image:200"
												[/set_variable]
												[set_variable]
													name="new_reflection_animations[0].frame.image"
													value="$new_reflection_animations[0].frame.image:200,$new_reflection_animations[0].frame.image:200"
												[/set_variable]
												[set_variable]
													name="new_reflection_animations[0].frame.halo_y"
													value=40
												[/set_variable]
												[set_variable]
													formula="concatenate('$new_reflection_animations[0].frame.halo_mod|','~CROP(0,0,72,(72-0))~BL(1)~O(33%)~FL(vertical)')"
													name="new_reflection_animations[0].frame.halo_mod"
												[/set_variable]
											[/else]
										[/if]
									[/else]
								[/if]
							[/else]
						[/if]
						[if]
							[variable]
								greater_than_equal_to=1
								name="reflect_unit_type.idle_anim.else.length"
							[/variable]
							[then]
								[if]
									[variable]
										greater_than_equal_to=2
										name="reflect_unit_type.idle_anim.else.length"
									[/variable]
									[then]
										[foreach]
											array="reflect_unit_type.idle_anim.else"
											index_var="k"
											variable="conditional_item"
											[do]
												[if]
													[variable]
														greater_than_equal_to=2
														name="conditional_item.frame.length"
													[/variable]
													[then]
														[foreach]
															array="conditional_item.frame"
															index_var="f"
															variable="frame_item_temp"
															[do]
																[if]
																	[variable]
																		equals=""
																		name="frame_item_temp.image"
																	[/variable]
																	[then]
																		[set_variable]
																			name="frame_item_temp.halo"
																			value="$unit.image:200,$unit.image:200"
																		[/set_variable]
																		[set_variable]
																			name="frame_item_temp.image"
																			value="$unit.image:200,$unit.image:200"
																		[/set_variable]
																		[set_variable]
																			name="frame_item_temp.halo_y"
																			value=40
																		[/set_variable]
																		[set_variable]
																			formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-0))~BL(1)~O(33%)~FL(vertical)')"
																			name="frame_item_temp.halo_mod"
																		[/set_variable]
																	[/then]
																	[else]
																		[set_variable]
																			name="frame_item_temp.halo"
																			value="$frame_item_temp.image:200,$frame_item_temp.image:200"
																		[/set_variable]
																		[set_variable]
																			name="frame_item_temp.image"
																			value="$frame_item_temp.image:200,$frame_item_temp.image:200"
																		[/set_variable]
																		[set_variable]
																			name="frame_item_temp.halo_y"
																			value=40
																		[/set_variable]
																		[set_variable]
																			formula="concatenate('$frame_item_temp.halo_mod|','~CROP(0,0,72,(72-0))~BL(1)~O(33%)~FL(vertical)')"
																			name="frame_item_temp.halo_mod"
																		[/set_variable]
																	[/else]
																[/if]
															[/do]
														[/foreach]
													[/then]
													[else]
														[if]
															[variable]
																equals=""
																name="new_reflection_animations[0].else[$k].frame.image"
															[/variable]
															[then]
																[set_variable]
																	name="new_reflection_animations[0].else[$k].frame.halo"
																	value="$unit.image:200,$unit.image:200"
																[/set_variable]
																[set_variable]
																	name="new_reflection_animations[0].else[$k].frame.image"
																	value="$unit.image:200,$unit.image:200"
																[/set_variable]
																[set_variable]
																	name="new_reflection_animations[0].else[$k].frame.halo_y"
																	value=40
																[/set_variable]
																[set_variable]
																	formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-0))~BL(1)~O(33%)~FL(vertical)')"
																	name="new_reflection_animations[0].else[$k].frame.halo_mod"
																[/set_variable]
															[/then]
															[else]
																[set_variable]
																	name="new_reflection_animations[0].else[$k].frame.halo"
																	value="$new_reflection_animations[0].else[$k].frame.image:200,$new_reflection_animations[0].else[$k].frame.image:200"
																[/set_variable]
																[set_variable]
																	name="new_reflection_animations[0].else[$k].frame.image"
																	value="$new_reflection_animations[0].else[$k].frame.image:200,$new_reflection_animations[0].else[$k].frame.image:200"
																[/set_variable]
																[set_variable]
																	name="new_reflection_animations[0].else[$k].frame.halo_y"
																	value=40
																[/set_variable]
																[set_variable]
																	formula="concatenate('$new_reflection_animations[0].else[$k].frame.halo_mod|','~CROP(0,0,72,(72-0))~BL(1)~O(33%)~FL(vertical)')"
																	name="new_reflection_animations[0].else[$k].frame.halo_mod"
																[/set_variable]
															[/else]
														[/if]
													[/else]
												[/if]
											[/do]
										[/foreach]
									[/then]
									[else]
										[if]
											[variable]
												greater_than_equal_to=2
												name="reflect_unit_type.idle_anim.else.frame.length"
											[/variable]
											[then]
												[foreach]
													array="reflect_unit_type.idle_anim.else.frame"
													index_var="f"
													variable="frame_item_temp"
													[do]
														[if]
															[variable]
																equals=""
																name="frame_item_temp.image"
															[/variable]
															[then]
																[set_variable]
																	name="frame_item_temp.halo"
																	value="$unit.image:200,$unit.image:200"
																[/set_variable]
																[set_variable]
																	name="frame_item_temp.image"
																	value="$unit.image:200,$unit.image:200"
																[/set_variable]
																[set_variable]
																	name="frame_item_temp.halo_y"
																	value=40
																[/set_variable]
																[set_variable]
																	formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-0))~BL(1)~O(33%)~FL(vertical)')"
																	name="frame_item_temp.halo_mod"
																[/set_variable]
															[/then]
															[else]
																[set_variable]
																	name="frame_item_temp.halo"
																	value="$frame_item_temp.image:200,$frame_item_temp.image:200"
																[/set_variable]
																[set_variable]
																	name="frame_item_temp.image"
																	value="$frame_item_temp.image:200,$frame_item_temp.image:200"
																[/set_variable]
																[set_variable]
																	name="frame_item_temp.halo_y"
																	value=40
																[/set_variable]
																[set_variable]
																	formula="concatenate('$frame_item_temp.halo_mod|','~CROP(0,0,72,(72-0))~BL(1)~O(33%)~FL(vertical)')"
																	name="frame_item_temp.halo_mod"
																[/set_variable]
															[/else]
														[/if]
													[/do]
												[/foreach]
											[/then]
											[else]
												[if]
													[variable]
														equals=""
														name="new_reflection_animations[0].else.frame.image"
													[/variable]
													[then]
														[set_variable]
															name="new_reflection_animations[0].else.frame.halo"
															value="$unit.image:200,$unit.image:200"
														[/set_variable]
														[set_variable]
															name="new_reflection_animations[0].else.frame.image"
															value="$unit.image:200,$unit.image:200"
														[/set_variable]
														[set_variable]
															name="new_reflection_animations[0].else.frame.halo_y"
															value=40
														[/set_variable]
														[set_variable]
															formula="concatenate('$unit.halo_mod|','~CROP(0,0,72,(72-0))~BL(1)~O(33%)~FL(vertical)')"
															name="new_reflection_animations[0].else.frame.halo_mod"
														[/set_variable]
													[/then]
													[else]
														[set_variable]
															name="new_reflection_animations[0].else.frame.halo"
															value="$new_reflection_animations[0].else.frame.image:200,$new_reflection_animations[0].else.frame.image:200"
														[/set_variable]
														[set_variable]
															name="new_reflection_animations[0].else.frame.image"
															value="$new_reflection_animations[0].else.frame.image:200,$new_reflection_animations[0].else.frame.image:200"
														[/set_variable]
														[set_variable]
															name="new_reflection_animations[0].else.frame.halo_y"
															value=40
														[/set_variable]
														[set_variable]
															formula="concatenate('$new_reflection_animations[0].else.frame.halo_mod|','~CROP(0,0,72,(72-0))~BL(1)~O(33%)~FL(vertical)')"
															name="new_reflection_animations[0].else.frame.halo_mod"
														[/set_variable]
													[/else]
												[/if]
											[/else]
										[/if]
									[/else]
								[/if]
							[/then]
						[/if]
					[/else]
				[/if]
			[/then]
			[else]
				[if]
					[variable]
						name="unit.image"
						not_equals=""
					[/variable]
					[then]
						[set_variables]
							name="new_reflection_animations"
							[value]
								apply_to="standing"
								data_apply_to="idle_anim"
								start_time=0
								terrain_type="Ai"
								[frame]
									halo="$unit.image:200,$unit.image:200"
									halo_mod="~CROP(0,0,72,$(72-0))~BL(1)~O(33%)~FL(vertical)"
									halo_y=40
									image="$unit.image:200,$unit.image:200"
								[/frame]
							[/value]
						[/set_variables]
					[/then]
				[/if]
			[/else]
		[/if]
		[set_variables]
			mode="append"
			name="add_animations_variable"
			to_variable="new_reflection_animations"
		[/set_variables]
		[clear_variable]
			name="new_reflection_animations"
		[/clear_variable]
		[foreach]
			array="add_animations_variable"
			[do]
				[object]
					id="reflecting_object"
					take_only_once=no
					[effect]
						apply_to="new_animation"
						[insert_tag]
							name="$this_item.data_apply_to"
							variable="this_item"
						[/insert_tag]
					[/effect]
					[effect]
						add="has_reflected"
						apply_to="status"
					[/effect]
				[/object]
			[/do]
		[/foreach]
		[clear_variable]
			name="new_reflection_animations,reflect_unit_type,add_animations_variable"
		[/clear_variable]
		[select_unit]
			fire_event=no
			highlight=no
			id="$unit.id"
		[/select_unit]
	[/event]
	[event]
		first_time_only=no
		name="post_advance"
		[filter]
			status="has_reflected"
		[/filter]
		[remove_object]
			id="$unit.id"
			object_id="reflecting_object"
		[/remove_object]
		[modify_unit]
			[filter]
				id="$unit.id"
			[/filter]
			[effect]
				apply_to="status"
				remove="has_reflected"
			[/effect]
		[/modify_unit]
		[fire_event]
			id="reflections_trigger_enterhex"
			[primary_unit]
				id="$unit.id"
			[/primary_unit]
		[/fire_event]
	[/event]
	[event]
		first_time_only=no
		name="unit_placed"
		[filter]
			[not]
				status="non_reflective"
			[/not]
		[/filter]
		[remove_object]
			id="$unit.id"
			object_id="reflecting_object"
		[/remove_object]
		[modify_unit]
			[filter]
				id="$unit.id"
			[/filter]
			[effect]
				apply_to="status"
				remove="has_reflected"
			[/effect]
		[/modify_unit]
		[fire_event]
			id="reflections_trigger_enterhex"
			[primary_unit]
				id="$unit.id"
			[/primary_unit]
		[/fire_event]
	[/event]
	[event]
		first_time_only=yes
		id="Rav_Color_Mod_prestart"
		name="prestart"
		[switch]
			variable="Rav_Color_Blue"
			[case]
				value="custom"
				[set_variable]
					name="Rav_Color_custom_Blue"
					value=yes
				[/set_variable]
			[/case]
			[case]
				value="core"
				[set_variable]
					name="Rav_Color_Light_Blue"
					value=yes
				[/set_variable]
			[/case]
		[/switch]
		[lua]
			code="

local Rav_Color_Yellow = wesnoth.get_variable ""Rav_Color_Yellow""
local Rav_Color_Blue = wesnoth.get_variable ""Rav_Color_custom_Blue""
local Rav_Color_Light_Blue = wesnoth.get_variable ""Rav_Color_Light_Blue""
local Rav_Color_Purple = wesnoth.get_variable ""Rav_Color_Purple""
local Rav_Color_Cyan = wesnoth.get_variable ""Rav_Color_Cyan""
local Rav_Color_Pink = wesnoth.get_variable ""Rav_Color_Pink""

-- Not unsetting those variables, so that I can see them from ageless unsynced menu
-- wesnoth.set_variable ""Rav_Color_Yellow""
-- NOTE the WML ""Rav_Color_Blue"" is now not required for this Lua script
-- And Rav_Color_custom_Blue is not needed for ageless, and info of Rav_Color_Light_Blue can be seen from Rav_Color_Blue now
wesnoth.set_variable ""Rav_Color_custom_Blue""
wesnoth.set_variable ""Rav_Color_Light_Blue""
-- wesnoth.set_variable ""Rav_Color_Purple""
-- wesnoth.set_variable ""Rav_Color_Cyan""
-- wesnoth.set_variable ""Rav_Color_Pink""

-- https://wiki.wesnoth.org/LuaWML/Sides#wesnoth.set_side_id
for i,v in ipairs(wesnoth.sides) do
	if(v.color == ""brown"" or v.color == ""6"") then
		if(Rav_Color_Yellow) then
			wesnoth.set_side_id(i,"""",""Rav_yellow"")
		else
			wesnoth.set_side_id(i,"""",""gold"")
		end
	end
	if(v.color == ""blue"" or v.color == ""2"") then
		if(Rav_Color_Blue) then
			wesnoth.set_side_id(i,"""",""Rav_blue_light"")
		elseif(Rav_Color_Light_Blue) then
			wesnoth.set_side_id(i,"""",""lightblue"")
		end
	end
	if(v.color == ""teal"" or v.color == ""9"") then
		if(Rav_Color_Cyan) then
			wesnoth.set_side_id(i,"""",""Rav_cyan"")
		end
	end
	if(v.color == ""purple"" or v.color == ""4"") then
		if(Rav_Color_Purple) then
			wesnoth.set_side_id(i,"""",""Rav_purple_light"")
		end
	end
	if(v.color == ""black"" or v.color == ""5"") then
		if(Rav_Color_Pink) then
			wesnoth.set_side_id(i,"""",""Rav_pink"")
		end
	end	
end
			"
		[/lua]
	[/event]
	[event]
		first_time_only=no
		name="preload"
		[lua]
			code="-- pickadvance_dialog

pickadvance = {}
local T = wml.tag
local _ = wesnoth.textdomain ""wesnoth""

function pickadvance.show_dialog_unsynchronized(advance_info, unit)
-- dialog exit codes --
	local cancel_code = -2
	local single_unit_code = -1
--
	local unit_type_options = advance_info.type_advances
	local options = {}
	for _, ut in ipairs(unit_type_options) do
		options[#options + 1] = wesnoth.unit_types[ut]
	end

	local unit_override_one = (advance_info.unit_override or {})[2] == nil
		and (advance_info.unit_override or {})[1] or nil
	local game_override_one = (advance_info.game_override or {})[2] == nil
		and (advance_info.game_override or {})[1] or nil

	local description_row = T.row {
		T.column {
			border = ""all"",
			border_size = 5,
			horizontal_alignment = ""left"",
			T.label {
				definition = ""title"",
				label = _ ""Plan Advancement""
			}
		},
	}

	local list_row_definition = T.grid {
		T.row {
			T.column {
				border = ""all"",
				border_size = 5,
				grow_factor = 0,
				horizontal_alignment = ""left"",
				T.image {
					id = ""the_icon"",
					linked_group = ""image""
				}
			},
			T.column {
				border = ""all"",
				border_size = 5,
				grow_factor = 1,
				horizontal_alignment = ""left"",
				T.label {
					use_markup = true,
					id = ""the_label"",
					linked_group = ""type""
				}
			},
			T.column {
				border = ""all"",
				border_size = 5,
				horizontal_alignment = ""center"",
				vertical_alignment = ""center"",
				T.image {
					id = ""global_icon"",
					linked_group = ""global_icon"",
					label = ""icons/action/editor-tool-unit_30-pressed.png"",
					tooltip = _ ""This advancement is currently the default for all units of the same type""
				}
			}
		}
	}

	local listbox = T.listbox {
		id = ""the_list"",
		has_minimum = true,
		T.list_definition {
			T.row {
				T.column {
					horizontal_grow = true,
					vertical_grow = true,
					T.toggle_panel {
						return_value = single_unit_code,
						list_row_definition
					}
				}
			}
		}
	}

-- main dialog definition
	local dialog = {
		T.tooltip {
			id = ""tooltip""
		},
		T.helptip {
			id = ""tooltip""
		},
		T.linked_group {
			id = ""image"",
			fixed_width = true
		},
		T.linked_group {
			id = ""type"",
			fixed_width = true
		},
		T.linked_group {
			id = ""global_icon"",
			fixed_width = true
		},
		T.grid {
			description_row,
			T.row {
				grow_factor = 1,
				T.column {
					border = ""all"",
					border_size = 5,
					horizontal_grow = true,
					listbox
				}
			},
			T.row {
				grow_factor = 0,
				T.column {
					border = ""all"",
					border_size = 5,
					horizontal_alignment = ""left"",
					T.toggle_button {
						id = ""apply_to_all"",
						label = _ ""Apply to all units of this type""
					}
				}
			},
			T.row {
				T.column {
					horizontal_alignment = ""right"",
					T.grid {
						T.row {
							grow_factor = 0,
							T.column {
								border = ""all"",
								border_size = 5,
								horizontal_alignment = ""right"",
								T.button {
									return_value = single_unit_code,
									label = _ ""Save""
								}
							},
							T.column {
								border = ""all"",
								border_size = 5,
								horizontal_alignment = ""right"",
								T.button {
									id = ""cancel"",
									label = _ ""Cancel""
								}
							}
						}
					}
				}
			}
		}
	}

-- dialog preshow function
	local function preshow(window)
		window.apply_to_all.visible = not unit.canrecruit

		local selection = 0

		local empty_icon_unit = ""misc/blank-hex.png""

		local null_row = window.the_list[1]
		null_row.the_icon.label = empty_icon_unit
		null_row.the_label.label = _ ""No planned advancement""
		null_row.global_icon.visible = false

		for i, advance_type in ipairs(options) do
			local n = i + 1
			local text = advance_type.name
			if advance_type.id == game_override_one or advance_type.id == unit_override_one then
				selection = n
			end
			local this_row = window.the_list[n]
			this_row.the_label.label = text
			local img = advance_type.__cfg.image
			if img then
				img = (""%s~TC(%d,%s)""):format(img, unit.side, advance_type.__cfg.flag_rgb or ""magenta"")
			else
				img = empty_icon_unit
			end
			this_row.the_icon.label = img
			this_row.global_icon.visible = not not (advance_type.id == game_override_one) or ""hidden""
		end

		window.the_list:focus()
		if selection > 0 then
			window.the_list.selected_index = selection
		end
	end

-- dialog postshow function
	local item_result
	local apply_to_all
	local function postshow(window)
		item_result = window.the_list.selected_index - 1
		apply_to_all = window.apply_to_all.selected
	end

	local dialog_exit_code = gui.show_dialog(dialog, preshow, postshow)

	if dialog_exit_code == cancel_code then
		return { ignore = true }
	end

-- determine the choice made
	local is_reset = item_result == 0
	return {
		ignore = false,
		is_unit_override = not apply_to_all,
		unit_override = not is_reset and options[item_result].id or table.concat(unit_type_options, "",""),

		is_game_override = apply_to_all,
		game_override = apply_to_all and (not is_reset and options[item_result].id) or nil,
	}
end

-- "
		[/lua]
		[lua]
			code="-- pick_advance/main.lua

local on_event = wesnoth.require ""on_event""
local F = wesnoth.require ""functional""
local T = wml.tag
local _ = wesnoth.textdomain ""wesnoth""

wesnoth.wml_actions.set_menu_item {
	id = ""pickadvance"",
	description = _ ""Plan Advancement"",
	T.show_if {
		T.lua {
			code = ""return pickadvance.menu_available()""
		},
	},
	T.command {
		T.lua {
			code = ""pickadvance.pick_advance()""
		}
	}
}

-- replace any non-alphanumeric characters with an underscore
local function clean_type_func(unit_type)
	return string.gsub(unit_type, ""[^a-zA-Z0-9]"", ""_"")
end

-- splits a comma delimited string of unit types
-- returns a table of unit types that aren't blank, ""null"", and that exist
local function split_comma_units(string_to_split)
	return F.filter(
		stringx.split(string_to_split or """"),
		function(s) return s ~= """" and s ~= ""null"" and wesnoth.unit_types[s] end
	)
end

-- returns a table of the original unit types
--         a comma delimited string containing the same values
local function original_advances(unit)
	local clean_type = clean_type_func(unit.type)
	local variable = unit.variables[""pickadvance_orig_"" .. clean_type] or """"
	return split_comma_units(variable), clean_type_func(variable)
end

-- replace the unit's current advancements with the new set of units via object/effect
local function set_advances(unit, array)
	unit:add_modification(""object"", {
		pickadvance = true,
		take_only_once = false,
		T.effect {
			apply_to = ""new_advancement"",
			replace = true,
			types = array
		}
	})
end

-- for table ""arr"" containing sets of [index,unit_type]
-- return table containing sets of [unit_type,true]
local function array_to_set(arr)
	local result = {}
	for _, v in ipairs(arr) do
		result[v] = true
	end
	return result
end

-- works as anti-cheat and fixes tricky bugs in [male]/[female]/undead variation overrides
local function filter_overrides(unit, overrides)
	local possible_advances_array = original_advances(unit)
	local possible_advances = array_to_set(possible_advances_array)
	local filtered = F.filter(overrides, function(e) return possible_advances[e] end)
	return #filtered > 0 and filtered or possible_advances_array
end

-- returns a table with the unit's original advancements
--         the unit's currently overridden advancement or nil if not set
--         the unit's currently overridden advancement or nil if not set, but set by some other mechanism from the current game
local function get_advance_info(unit)
	local type_advances, orig_options_sanitized = original_advances(unit)
	local game_override_key = ""pickadvance_side"" .. unit.side .. ""_"" .. orig_options_sanitized
	local game_override = wml.variables[game_override_key]
	local function correct(override)
		return override and #override > 0 and #override < #type_advances and override or nil
	end

	return {
		type_advances = type_advances,
		unit_override = correct(unit.advances_to),
		game_override = correct(split_comma_units(game_override)),
	}
end

-- true if there's a unit at the selected hex
--      the unit has advancements
--      the unit is on a local human controlled side
--      the unit has multiple options in either its original set of advancements or current set of advancements
function pickadvance.menu_available()
	local unit = wesnoth.units.get(wml.variables.x1, wml.variables.y1)
	return unit and
		#unit.advances_to > 0
		and wesnoth.sides[unit.side].is_local and wesnoth.sides[unit.side].controller == ""human""
		and (#original_advances(unit) > 1 or #unit.advances_to > 1)
end

-- if the unit doesn't have a set of original advancements present, remove any existing ""pickadvance"" object
-- set the unit's original advancements in its variables
-- and then set the unit's advancement to either a game-provided override or its default advancements
local function initialize_unit(unit)
	local clean_type = clean_type_func(unit.type)
	if unit.variables[""pickadvance_orig_"" .. clean_type] == nil then
		unit:remove_modifications{
			pickadvance = true
		}
		unit.variables[""pickadvance_orig_"" .. clean_type] = table.concat(unit.advances_to, "","")
		local advance_info = get_advance_info(unit)
		local desired = advance_info.game_override or unit.advances_to
		desired = filter_overrides(unit, desired)
		set_advances(unit, desired)
	end
end

-- let the player select the unit's advancement via dialog
function pickadvance.pick_advance(unit)
	unit = unit or wesnoth.units.get(wml.variables.x1, wml.variables.y1)
	if not unit then
		return
	end
	initialize_unit(unit)
	local _, orig_options_sanitized = original_advances(unit)
	local dialog_result = wesnoth.sync.evaluate_single(function()
		local local_result = pickadvance.show_dialog_unsynchronized(get_advance_info(unit), unit)
		return local_result
	end, function() return { is_ai = true } end)
	if dialog_result.ignore or dialog_result.is_ai then
		return
	end
	dialog_result.unit_override = split_comma_units(dialog_result.unit_override)
	dialog_result.game_override = split_comma_units(dialog_result.game_override)
	dialog_result.unit_override = filter_overrides(unit, dialog_result.unit_override)
	dialog_result.game_override = filter_overrides(unit, dialog_result.game_override)
	if dialog_result.is_unit_override then
		set_advances(unit, dialog_result.unit_override)
	end
	if dialog_result.is_game_override then
		local key = ""pickadvance_side"" .. unit.side .. ""_"" .. orig_options_sanitized
		wml.variables[key] = table.concat(dialog_result.game_override, "","")
	end
end

-- make unit advancement tree viewable in the ingame help
local known_units = {}
local function make_unit_known(unit)  -- can be both unit or unit type
	local type = unit.type or unit.id
	if known_units[type] then return end
	known_units[type] = true
	wesnoth.add_known_unit(type)
	for _, advance in ipairs(unit.advances_to) do
		make_unit_known(wesnoth.unit_types[advance])
	end
end

-- initialize a unit for picking an advancement
-- make its advancements viewable
-- force picking an advancement if it has multiple and the force option was specified
local function initialize_unit_x1y1(ctx)
	local unit = wesnoth.units.get(ctx.x1, ctx.y1)
	if not unit then
		return
	end
	if not wesnoth.sides[unit.side].__cfg.allow_player then return end
	initialize_unit(unit)
	make_unit_known(unit)
	if #unit.advances_to > 1 and wml.variables.pickadvance_force_choice and unit.side == wesnoth.current.side then
		pickadvance.pick_advance(unit)
	end
end

-- return true if the side can be played and has either a recruit list set or non-leader units
local function humans_can_recruit()
	for _, side in ipairs(wesnoth.sides) do
		local units = wesnoth.units.find_on_map { side = side.side, canrecruit = false }
		if side.__cfg.allow_player and (#side.recruit ~= 0 or #units > 0) then
			return true
		end
	end
end
-- return true if any keeps exist
local function map_has_keeps()
	for x, y in wesnoth.current.map:iter() do
		local terr = wesnoth.current.map[{x, y}]
		local info = wesnoth.terrain_types[terr]
		if info.keep then
			return true
		end
	end
end

-- on start determine whether choosing an advancement is force for each unit
on_event(""start"", function()
	local map_has_recruits = humans_can_recruit() and map_has_keeps()
	wml.variables.pickadvance_force_choice = wml.variables.pickadvance_force_choice or not map_has_recruits
end)

-- set ""fresh_turn"" for the moveto event at the start of each side turn
local fresh_turn = false
on_event(""turn refresh"", function()
	fresh_turn = true
end)

-- the first time a unit moves at the start of each side's turn, check if there are any new units that need to be forced to make an advancement choice
on_event(""moveto"", function()
	if fresh_turn then
		fresh_turn = false
		if not wesnoth.sides[wesnoth.current.side].__cfg.allow_player then return end
		for _, unit in ipairs(wesnoth.units.find_on_map { side = wesnoth.current.side }) do
			if #unit.advances_to > 1 and wml.variables.pickadvance_force_choice and wesnoth.current.turn > 1 then
				pickadvance.pick_advance(unit)
				if #unit.advances_to > 1 then
					local len = #unit.advances_to
					local rand = mathx.random(len)
					unit.advances_to = { unit.advances_to[rand] }
				end
			else
				initialize_unit(unit)
			end
		end
	end
end)

-- initialize units on recruit and after advancing, forcing another advancement choice if required
on_event(""recruit"", initialize_unit_x1y1)
on_event(""post advance"", initialize_unit_x1y1)


-- "
		[/lua]
	[/event]
	[event]
		name="prestart"
		[chat]
			message="/me version 1.0.1"
			speaker="Ladder Era"
		[/chat]
	[/event]
	[event]
		name="time_over"
		[lua]
			code=" wesnoth.require(""multiplayer/eras.lua"").turns_over_advantage() "
		[/lua]
	[/event]
	[event]
		name="prestart"
		[lua]
			code=" wesnoth.require(""multiplayer/eras.lua"").quick_4mp_leaders(...) "
			[args]
				[trait]
					female_name="female^quick"
					help_text="<italic>text='Quick'</italic> units have 1 extra movement point, but 5% less hitpoints than usual." +
						_"

Quick is the most noticeable trait, particularly in slower moving units such as trolls or heavy infantry. Units with the quick trait often have greatly increased mobility in rough terrain, which can be important to consider when deploying your forces. Also, quick units aren’t quite as tough as units without this trait and are subsequently less good at holding contested positions."
					id="quick"
					male_name="quick"
					[effect]
						apply_to="movement"
						increase=1
					[/effect]
					[effect]
						apply_to="hitpoints"
						increase_total="-5%"
					[/effect]
				[/trait]
			[/args]
		[/lua]
	[/event]
	[event]
		name="prestart"
		[lua]
			code=" wesnoth.require(""~add-ons/Ladder_Era/lua/slow_6mp_leaders.lua"").slow_6mp_leaders(...) "
			[args]
				[trait]
					female_name="female^slow"
					help_text="<italic>text='Slow'</italic> units have 1 less movement point but 5% more hitpoints." +
						_"

Thick-bodied and clumsy, slow individuals of goblins and other species take a movement penalty but are compensated for it with a slight increase in endurance."
					id="slow"
					male_name="slow"
					[effect]
						apply_to="movement"
						increase=-1
					[/effect]
					[effect]
						apply_to="hitpoints"
						increase_total="5%"
					[/effect]
				[/trait]
			[/args]
		[/lua]
	[/event]
	[event]
		first_time_only=no
		name="side_turn"
		[modify_unit]
			resting=yes
			[filter]
				side="$side_number"
				status="poisoned"
				trait="hardy"
				[filter_location]
					terrain="!,*^V*,*^Do"
				[/filter_location]
				[not]
					[filter_adjacent]
						ability_type="heals"
						is_enemy=no
					[/filter_adjacent]
				[/not]
			[/filter]
		[/modify_unit]
	[/event]
	[event]
		name="prestart"
		[set_menu_item]
			description="Ladder Era Summary"
			id="0_summary"
			[command]
				[message]
					image="ladder-icon.png"
					message="Changes comparing to the Default Era.

Leaders
- Leaders with 6 movement points receive slow trait (similar to how 4 mp leaders receive quick trait, which is inherited from the Default Era)
- Pikeman, Red Mage, White Mage, Elvish Sorceress, Trapper and Rogue removed from the leader pools
- Removed leaders from the manual selection pool that are not present in the random selection pool

Drakes
- Drake Fighter: 30% defense in shallow water
- Drake Burner: -50% cold resistance

Knalgan Alliance
- Dwarves have 3 traits, hardy trait (always rest heal if poisoned) is mandatory, healthy trait is removed.
- Footpad: melee blade 5-2
- Poacher: 32 hitpoints
- Ulfserker: 20 gold
- Thunderer: 16 gold
- Guardsman: ranged attack 6-1

Loyalists
- Spearman: ranged attack 5-1
- Bowman: melee attack 5-2
- Cavalryman: 18 gold
- Heavy Infantryman: -10% cold resistance

Northerners
- Orcish Archer: ranged pierce attack 5-3

Rebels
- Elvish Shaman: no dextrous trait, ranged attack 3-2
- Merman Hunter: 32 hitpoints, 60% defense in deep water

Undead
- Vampire bat: no intelligent trait
- Skeleton Archer: 15 gold"
					side_for="$side_number"
					speaker="narrator"
				[/message]
			[/command]
		[/set_menu_item]
	[/event]
	[event]
		name="prestart"
		[set_menu_item]
			description="Ladder Era Changelog"
			id="1_changelog"
			[command]
				[message]
					image="ladder-icon.png"
					message="Version 1.0.1
- Created Ladder Test Era

Version 1.0.0
- Release for Wesnoth 1.16
- Ghost and Wose were changed in Default Era of Wesnoth 1.16 and they became the same as in Ladder Era
- Ladder Era DOES NOT include Drake Burner, Heavy Infantryman, Elvish Shaman, Merman Hunter and Poacher changes from Default Era 1.16. Ladder Era versions of those units comparing to Default Era:
    -- Drake Burner: -50% cold resistance
    -- Heavy Infantryman: -10% cold resistance
    -- Elvish Shaman: no dextrous trait, ranged attack 3-2
    -- Merman Hunter: 32 hitpoints, 60% defense in deep water
    -- Poacher: 32 hitpoints

Version 0.1.17
- Created Ladder Test Era with Dwarvish Thunderer 9-2 ranged attack and 17 gold

Version 0.1.16
- Dwarvish Thunderer back to 18-1 ranged attack and 16 gold

Version 0.1.15
- Dwarvish Thunderer removed 18-1 ranged attack, 9-2 is left

Version 0.1.14
- Dwarvish Thunderer cost from 16 to 17

Version 0.1.13
- Fixed changelog displayed for both players

Version 0.1.12
- Added new ranged attack which shot twice to Dwarvish Thunderer line for testing purposes

Version 0.1.11
- Fixed Footpad animation bug

Version 0.1.10
- Made add-on compatible with older versions
- Updated all Footpad sprites

Version 0.1.9
- Added Competitive Map Pack
- Minor map updates to Den of Onis and Fallenstar Lake

Version 0.1.8
- Pikeman and Rogue removed from leader pools
- Removed dextrous trait from Poacher
- Dwarvish Ulfserker cost from 19 to 20
- Dwarvish Thunderer cost from 17 to 16
- Dwarvish Guardsman ranged attack from 5-1 to 6-1
- Dwarvish Steelclad hitpoints from 59 to 57
- Bowman melee attack from 4-2 to 5-2
- Skeleton Archer cost from 14 to 15
- Cavalry reverted movement from 7 to 8, cost changed from 17 to 18 gold
- Footpad sprite update

Version 0.1.7
- Reverted Dwarvish Ulfserker and Berserker arcane resistance back to 10% as in the Default Era

Version 0.1.6
- Fixed map picker Hornshark Island bug. Units on the map should depend on player's faction

Version 0.1.5
- Removed Elvish Sorceress from the leaders pool
- Removed Hornshark Island from the classic map pool

Version 0.1.4
- Updated map pickers: map pool is printed to the chat area

Version 0.1.3
- Improved map pickers code
- Added add-on documentation

Version 0.1.2
- Allowed 2v2 maps to be played with the Ladder Era
- Prevent map pickers to load if less than 2 maps are present in the map pool

Version 0.1.1
- Added feature to the map pickers to configure the pool of maps

Version 0.1.0
- Added modified versions of Den of Onis, Hamlets, Silverhead Crossing and The Freelands maps
- Created map pickers for selecting random map from a pool of approved maps
- Implemented Ladder Era with the next changes comparing to the Default Era:
    -- Leaders
        --- Leaders with 6 movement points receive slow trait (similar to how 4 mp leaders receive quick trait, which is inherited from the Default Era)
        --- Red Mage, White Mage and Trapper removed from the leaders pool
        --- Removed leaders from the manual selection pool that are not present in the random selection pool
    -- Drakes
        --- Drake Fighter: 30% defense in shallow water
    -- Knalgan Alliance
        --- Dwarves have 3 traits, hardy trait (always rest heal if poisoned) is mandatory, healthy trait is removed
        --- Dwarvish Ulfserker: -20% arcane resistance
        --- Poacher: can have dextrous trait
        --- Footpad: melee blade 5-2
    -- Loyalists
        --- Spearman: ranged attack 5-1
        --- Cavalryman: 7 movement points
    -- Northerners
        --- Orcish Archer: ranged pierce attack 5-3
    -- Rebels
        --- Elvish Shaman: no dextrous trait
        --- Wose: 0% cold resistance
        --- Merman Hunter: +2 hitpoints and 60% defense in deep water
    -- Undead
        --- Vampire bat: no intelligent trait
        --- Ghost: 19 gold"
					side_for="$side_number"
					speaker="narrator"
				[/message]
			[/command]
		[/set_menu_item]
	[/event]
	[menu_item]
		description="Ladder Era Summary"
		id="0_summary"
		image=""
		synced=yes
		use_hotkey=yes
		[command]
			first_time_only=no
			id="0_summary"
			name="menu item 0_summary"
			[message]
				image="ladder-icon.png"
				message="Changes comparing to the Default Era.

Leaders
- Leaders with 6 movement points receive slow trait (similar to how 4 mp leaders receive quick trait, which is inherited from the Default Era)
- Pikeman, Red Mage, White Mage, Elvish Sorceress, Trapper and Rogue removed from the leader pools
- Removed leaders from the manual selection pool that are not present in the random selection pool

Drakes
- Drake Fighter: 30% defense in shallow water
- Drake Burner: -50% cold resistance

Knalgan Alliance
- Dwarves have 3 traits, hardy trait (always rest heal if poisoned) is mandatory, healthy trait is removed.
- Footpad: melee blade 5-2
- Poacher: 32 hitpoints
- Ulfserker: 20 gold
- Thunderer: 16 gold
- Guardsman: ranged attack 6-1

Loyalists
- Spearman: ranged attack 5-1
- Bowman: melee attack 5-2
- Cavalryman: 18 gold
- Heavy Infantryman: -10% cold resistance

Northerners
- Orcish Archer: ranged pierce attack 5-3

Rebels
- Elvish Shaman: no dextrous trait, ranged attack 3-2
- Merman Hunter: 32 hitpoints, 60% defense in deep water

Undead
- Vampire bat: no intelligent trait
- Skeleton Archer: 15 gold"
				side_for="$side_number"
				speaker="narrator"
			[/message]
		[/command]
	[/menu_item]
	[menu_item]
		description="Ladder Era Changelog"
		id="1_changelog"
		image=""
		synced=yes
		use_hotkey=yes
		[command]
			first_time_only=no
			id="1_changelog"
			name="menu item 1_changelog"
			[message]
				image="ladder-icon.png"
				message="Version 1.0.1
- Created Ladder Test Era

Version 1.0.0
- Release for Wesnoth 1.16
- Ghost and Wose were changed in Default Era of Wesnoth 1.16 and they became the same as in Ladder Era
- Ladder Era DOES NOT include Drake Burner, Heavy Infantryman, Elvish Shaman, Merman Hunter and Poacher changes from Default Era 1.16. Ladder Era versions of those units comparing to Default Era:
    -- Drake Burner: -50% cold resistance
    -- Heavy Infantryman: -10% cold resistance
    -- Elvish Shaman: no dextrous trait, ranged attack 3-2
    -- Merman Hunter: 32 hitpoints, 60% defense in deep water
    -- Poacher: 32 hitpoints

Version 0.1.17
- Created Ladder Test Era with Dwarvish Thunderer 9-2 ranged attack and 17 gold

Version 0.1.16
- Dwarvish Thunderer back to 18-1 ranged attack and 16 gold

Version 0.1.15
- Dwarvish Thunderer removed 18-1 ranged attack, 9-2 is left

Version 0.1.14
- Dwarvish Thunderer cost from 16 to 17

Version 0.1.13
- Fixed changelog displayed for both players

Version 0.1.12
- Added new ranged attack which shot twice to Dwarvish Thunderer line for testing purposes

Version 0.1.11
- Fixed Footpad animation bug

Version 0.1.10
- Made add-on compatible with older versions
- Updated all Footpad sprites

Version 0.1.9
- Added Competitive Map Pack
- Minor map updates to Den of Onis and Fallenstar Lake

Version 0.1.8
- Pikeman and Rogue removed from leader pools
- Removed dextrous trait from Poacher
- Dwarvish Ulfserker cost from 19 to 20
- Dwarvish Thunderer cost from 17 to 16
- Dwarvish Guardsman ranged attack from 5-1 to 6-1
- Dwarvish Steelclad hitpoints from 59 to 57
- Bowman melee attack from 4-2 to 5-2
- Skeleton Archer cost from 14 to 15
- Cavalry reverted movement from 7 to 8, cost changed from 17 to 18 gold
- Footpad sprite update

Version 0.1.7
- Reverted Dwarvish Ulfserker and Berserker arcane resistance back to 10% as in the Default Era

Version 0.1.6
- Fixed map picker Hornshark Island bug. Units on the map should depend on player's faction

Version 0.1.5
- Removed Elvish Sorceress from the leaders pool
- Removed Hornshark Island from the classic map pool

Version 0.1.4
- Updated map pickers: map pool is printed to the chat area

Version 0.1.3
- Improved map pickers code
- Added add-on documentation

Version 0.1.2
- Allowed 2v2 maps to be played with the Ladder Era
- Prevent map pickers to load if less than 2 maps are present in the map pool

Version 0.1.1
- Added feature to the map pickers to configure the pool of maps

Version 0.1.0
- Added modified versions of Den of Onis, Hamlets, Silverhead Crossing and The Freelands maps
- Created map pickers for selecting random map from a pool of approved maps
- Implemented Ladder Era with the next changes comparing to the Default Era:
    -- Leaders
        --- Leaders with 6 movement points receive slow trait (similar to how 4 mp leaders receive quick trait, which is inherited from the Default Era)
        --- Red Mage, White Mage and Trapper removed from the leaders pool
        --- Removed leaders from the manual selection pool that are not present in the random selection pool
    -- Drakes
        --- Drake Fighter: 30% defense in shallow water
    -- Knalgan Alliance
        --- Dwarves have 3 traits, hardy trait (always rest heal if poisoned) is mandatory, healthy trait is removed
        --- Dwarvish Ulfserker: -20% arcane resistance
        --- Poacher: can have dextrous trait
        --- Footpad: melee blade 5-2
    -- Loyalists
        --- Spearman: ranged attack 5-1
        --- Cavalryman: 7 movement points
    -- Northerners
        --- Orcish Archer: ranged pierce attack 5-3
    -- Rebels
        --- Elvish Shaman: no dextrous trait
        --- Wose: 0% cold resistance
        --- Merman Hunter: +2 hitpoints and 60% defense in deep water
    -- Undead
        --- Vampire bat: no intelligent trait
        --- Ghost: 19 gold"
				side_for="$side_number"
				speaker="narrator"
			[/message]
		[/command]
	[/menu_item]
	[menu_item]
		description="Plan Advancement"
		id="pickadvance"
		image=""
		synced=yes
		use_hotkey=yes
		[show_if]
			[lua]
				code="return pickadvance.menu_available()"
			[/lua]
		[/show_if]
		[command]
			first_time_only=no
			id="pickadvance"
			name="menu item pickadvance"
			[lua]
				code="pickadvance.pick_advance()"
			[/lua]
		[/command]
	[/menu_item]
	[side]
		action_bonus_count=0
		allow_player=yes
		auto_shroud=yes
		carryover_add=no
		carryover_bonus=1
		carryover_gold=0
		carryover_percentage=80
		chose_random=no
		color="red"
		controller="human"
		countdown_time=0
		current_player="szdik570"
		defeat_condition="no_leader_left"
		disallow_observers=no
		faction="Custom"
		faction_name="Custom"
		flag=""
		flag_icon=""
		fog=yes
		fog_data=""
		gold=175
		hidden=no
		id="id1"
		income=0
		lost=no
		no_leader=yes
		objectives="<big>Győzöl, ha:</big>
<span color='#00ff00'>• Legyőzöd az (összes) ellenfél vezérét</span>"
		objectives_changed=yes
		persistent=yes
		recall_cost=20
		recruit="Dark Adept,Ghost,Ghoul,Skeleton,Skeleton Archer Ladder_1,Vampire Bat Ladder_1,Walking Corpse"
		save_id="id1"
		scroll_to_leader=yes
		share_vision="all"
		shroud=no
		shroud_data=""
		side=1
		side_name=""
		start_gold=175
		suppress_end_turn_confirmation=no
		team_name="Team 1"
		user_team_name="Csapat 1"
		village_gold=1
		village_support=1
		[ai]
#textdomain wesnoth-lib
			description=_"Multiplayer_AI^Default AI (RCA)"
			id="ai_default_rca"
			mp_rank=1000
			[stage]
				id="main_loop"
				name="ai_default_rca::candidate_action_evaluation_loop"
				[candidate_action]
					engine="cpp"
					id="goto"
					max_score=200000
					name="ai_default_rca::goto_phase"
					score=200000
				[/candidate_action]
				[candidate_action]
					engine="lua"
					id="retreat_injured"
					location="ai/lua/ca_retreat_injured.lua"
					max_score=192000
					name="ai_default_rca::retreat_injured"
				[/candidate_action]
				[candidate_action]
					engine="lua"
					id="spread_poison"
					location="ai/lua/ca_spread_poison.lua"
					max_score=190000
					name="ai_default_rca::spread_poison"
				[/candidate_action]
				[candidate_action]
					engine="cpp"
					id="recruitment"
					max_score=180000
					name="default_recruitment::recruitment"
					score=180000
				[/candidate_action]
				[candidate_action]
					engine="cpp"
					id="move_leader_to_goals"
					max_score=140000
					name="ai_default_rca::move_leader_to_goals_phase"
					score=140000
				[/candidate_action]
				[candidate_action]
					engine="cpp"
					id="move_leader_to_keep"
					max_score=120000
					name="ai_default_rca::move_leader_to_keep_phase"
					score=120000
				[/candidate_action]
				[candidate_action]
					engine="lua"
					id="high_xp_attack"
					location="ai/lua/ca_high_xp_attack.lua"
					max_score=100010
					name="ai_default_rca::high_xp_attack"
				[/candidate_action]
				[candidate_action]
					engine="cpp"
					id="combat"
					max_score=100000
					name="ai_default_rca::combat_phase"
					score=100000
				[/candidate_action]
				[candidate_action]
					engine="lua"
					id="place_healers"
					location="ai/lua/ca_place_healers.lua"
					max_score=96000
					name="ai_default_rca::place_healers"
				[/candidate_action]
				[candidate_action]
					engine="cpp"
					id="healing"
					max_score=80000
					name="ai_default_rca::get_healing_phase"
					score=80000
				[/candidate_action]
				[candidate_action]
					engine="cpp"
					id="villages"
					max_score=60000
					name="ai_default_rca::get_villages_phase"
					score=60000
				[/candidate_action]
				[candidate_action]
					engine="cpp"
					id="move_to_targets"
					max_score=20000
					name="ai_default_rca::move_to_targets_phase"
					score=20000
				[/candidate_action]
				[candidate_action]
					engine="cpp"
					id="leader_shares_keep"
					max_score=10000
					name="ai_default_rca::leader_shares_keep_phase"
					score=10000
				[/candidate_action]
				[candidate_action]
					engine="lua"
					id="move_to_any_enemy"
					location="ai/lua/ca_move_to_any_enemy.lua"
					max_score=1000
					name="ai_default_rca::move_to_any_enemy"
				[/candidate_action]
			[/stage]
			[aspect]
				engine="cpp"
				id="advancements"
				name="composite_aspect"
				[default]
					engine="cpp"
					name="standard_aspect"
				[/default]
			[/aspect]
			[aspect]
				engine="cpp"
				id="aggression"
				name="composite_aspect"
				[default]
					engine="cpp"
					name="standard_aspect"
					value=0.4
				[/default]
			[/aspect]
			[aspect]
				engine="cpp"
				id="attacks"
				invalidate_on_gamestate_change=yes
				name="composite_aspect"
				[default]
					engine="cpp"
					invalidate_on_gamestate_change=yes
					name="ai_default_rca::aspect_attacks"
				[/default]
			[/aspect]
			[aspect]
				engine="cpp"
				id="avoid"
				name="composite_aspect"
				[default]
					engine="cpp"
					name="standard_aspect"
					[value]
						[not]
						[/not]
					[/value]
				[/default]
			[/aspect]
			[aspect]
				engine="cpp"
				id="caution"
				name="composite_aspect"
				[default]
					engine="cpp"
					name="standard_aspect"
					value=0.25
				[/default]
			[/aspect]
			[aspect]
				engine="cpp"
				id="grouping"
				name="composite_aspect"
				[default]
					engine="cpp"
					name="standard_aspect"
					value="offensive"
				[/default]
			[/aspect]
			[aspect]
				engine="cpp"
				id="leader_aggression"
				name="composite_aspect"
				[default]
					engine="cpp"
					name="standard_aspect"
					value="-4.0"
				[/default]
			[/aspect]
			[aspect]
				engine="cpp"
				id="leader_goal"
				name="composite_aspect"
				[default]
					engine="cpp"
					name="standard_aspect"
				[/default]
			[/aspect]
			[aspect]
				engine="cpp"
				id="leader_ignores_keep"
				name="composite_aspect"
				[default]
					engine="cpp"
					name="standard_aspect"
					value=no
				[/default]
			[/aspect]
			[aspect]
				engine="cpp"
				id="leader_value"
				name="composite_aspect"
				[default]
					engine="cpp"
					name="standard_aspect"
					value="3.0"
				[/default]
			[/aspect]
			[aspect]
				engine="cpp"
				id="passive_leader"
				name="composite_aspect"
				[default]
					engine="cpp"
					name="standard_aspect"
					value=no
				[/default]
			[/aspect]
			[aspect]
				engine="cpp"
				id="passive_leader_shares_keep"
				name="composite_aspect"
				[default]
					engine="cpp"
					name="standard_aspect"
					value=no
				[/default]
			[/aspect]
			[aspect]
				engine="cpp"
				id="recruitment_diversity"
				name="composite_aspect"
				[default]
					engine="cpp"
					name="standard_aspect"
					value="2.0"
				[/default]
			[/aspect]
			[aspect]
				engine="cpp"
				id="recruitment_instructions"
				name="composite_aspect"
				[default]
					engine="cpp"
					name="standard_aspect"
					[value]
						[recruit]
							importance=0
						[/recruit]
					[/value]
				[/default]
			[/aspect]
			[aspect]
				engine="cpp"
				id="recruitment_more"
				name="composite_aspect"
				[default]
					engine="cpp"
					name="standard_aspect"
				[/default]
			[/aspect]
			[aspect]
				engine="cpp"
				id="recruitment_pattern"
				name="composite_aspect"
				[default]
					engine="cpp"
					name="standard_aspect"
				[/default]
			[/aspect]
			[aspect]
				engine="cpp"
				id="recruitment_randomness"
				name="composite_aspect"
				[default]
					engine="cpp"
					name="standard_aspect"
					value=50
				[/default]
			[/aspect]
			[aspect]
				engine="cpp"
				id="recruitment_save_gold"
				name="composite_aspect"
				[default]
					engine="cpp"
					name="standard_aspect"
					[value]
						active=0
					[/value]
				[/default]
			[/aspect]
			[aspect]
				engine="cpp"
				id="retreat_enemy_weight"
				name="composite_aspect"
				[default]
					engine="cpp"
					name="standard_aspect"
					value="1.0"
				[/default]
			[/aspect]
			[aspect]
				engine="cpp"
				id="retreat_factor"
				name="composite_aspect"
				[default]
					engine="cpp"
					name="standard_aspect"
					value=0.25
				[/default]
			[/aspect]
			[aspect]
				engine="cpp"
				id="scout_village_targeting"
				name="composite_aspect"
				[default]
					engine="cpp"
					name="standard_aspect"
					value=3
				[/default]
			[/aspect]
			[aspect]
				engine="cpp"
				id="simple_targeting"
				name="composite_aspect"
				[default]
					engine="cpp"
					name="standard_aspect"
					value=no
				[/default]
			[/aspect]
			[aspect]
				engine="cpp"
				id="support_villages"
				name="composite_aspect"
				[default]
					engine="cpp"
					name="standard_aspect"
					value=no
				[/default]
			[/aspect]
			[aspect]
				engine="cpp"
				id="village_value"
				name="composite_aspect"
				[default]
					engine="cpp"
					name="standard_aspect"
					value="1.0"
				[/default]
			[/aspect]
			[aspect]
				engine="cpp"
				id="villages_per_scout"
				name="composite_aspect"
				[default]
					engine="cpp"
					name="standard_aspect"
					value=4
				[/default]
				[facet]
					engine="cpp"
					name="standard_aspect"
					time_of_day=""
					turns=""
					value=12
				[/facet]
			[/aspect]
		[/ai]
		[unit]
			advances_to="Lich,Necromancer"
			alignment="chaotic"
			attacks_left=1
			canrecruit=yes
			cost=33
			experience=0
			extra_recruit=""
			facing="n"
			flag_rgb="magenta"
			gender="female"
			generate_name=yes
			goto_x=0
			goto_y=0
			halo=""
			hidden=no
			hitpoints=48
			id="id1"
			image="units/undead-necromancers/dark-sorcerer+female.png"
			image_icon=""
			jamming=0
#textdomain wesnoth-units
			language_name=_"Dark Sorceress"
			level=2
			max_attacks=1
			max_experience=63
			max_hitpoints=48
			max_moves=5
			moves=5
			name="szdik570"
			overlays=""
			profile="portraits/humans/necromancer+female.png"
			race="human"
			random_traits=no
			recall_cost=-1
			resting=no
			role=""
			side=1
			small_profile=""
			type="Dark Sorcerer"
			undead_variation=""
			underlying_id=1
			unrenamable=no
			upkeep="full"
			usage="mixed fighter"
			variation=""
			vision=-1
			x=46
			y=23
			zoc=yes
			[movement_costs]
				castle=1
				cave=2
				flat=1
				forest=2
				frozen=3
				fungus=2
				hills=2
				mountains=3
				reef=2
				sand=2
				shallow_water=3
				swamp_water=3
				village=1
			[/movement_costs]
			[defense]
				castle=40
				cave=60
				flat=60
				forest=50
				frozen=80
				fungus=50
				hills=50
				mountains=40
				reef=70
				sand=70
				shallow_water=80
				swamp_water=80
				village=40
			[/defense]
			[resistance]
				arcane=80
				blade=100
				cold=100
				fire=100
				impact=100
				pierce=100
			[/resistance]
			[attack]
				accuracy=0
				attack_weight=1
				damage=4
				defense_weight=1
				description="staff"
				icon="attacks/staff-necromantic.png"
				max_range=1
				min_range=1
				movement_used=100000
				name="staff"
				number=3
				parry=0
				range="melee"
				type="impact"
				[specials]
				[/specials]
			[/attack]
			[attack]
				accuracy=0
				attack_weight=1
				damage=13
				defense_weight=1
				description="chill wave"
				icon="attacks/iceball.png"
				max_range=1
				min_range=1
				movement_used=100000
				name="chill wave"
				number=2
				parry=0
				range="ranged"
				type="cold"
				[specials]
					[chance_to_hit]
						cumulative=no
						description="This attack always has a 70% chance to hit regardless of the defensive ability of the unit being attacked."
						id="magical"
						name="magical"
						special_note="This unit has magical attacks, which always have a high chance of hitting an opponent."
						value=70
					[/chance_to_hit]
				[/specials]
			[/attack]
			[attack]
				accuracy=0
				attack_weight=1
				damage=9
				defense_weight=1
				description="shadow wave"
				icon="attacks/dark-missile.png"
				max_range=1
				min_range=1
				movement_used=100000
				name="shadow wave"
				number=2
				parry=0
				range="ranged"
				type="arcane"
				[specials]
					[chance_to_hit]
						cumulative=no
						description="This attack always has a 70% chance to hit regardless of the defensive ability of the unit being attacked."
						id="magical"
						name="magical"
						special_note="This unit has magical attacks, which always have a high chance of hitting an opponent."
						value=70
					[/chance_to_hit]
				[/specials]
			[/attack]
			[variables]
			[/variables]
			[filter_recall]
			[/filter_recall]
			[status]
			[/status]
			[modifications]
			[/modifications]
			[abilities]
			[/abilities]
		[/unit]
	[/side]
	[side]
		action_bonus_count=0
		allow_player=yes
		auto_shroud=yes
		carryover_add=no
		carryover_bonus=1
		carryover_gold=0
		carryover_percentage=80
		chose_random=no
		color="blue"
		controller="human"
		countdown_time=0
		current_player="ikomizo"
		defeat_condition="no_leader_left"
		disallow_observers=no
		faction="Custom"
		faction_name="Custom"
		flag=""
		flag_icon=""
		fog=yes
		fog_data=""
		gold=175
		hidden=no
		id="id2"
		income=0
		lost=no
		no_leader=yes
		objectives="<big>Győzöl, ha:</big>
<span color='#00ff00'>• Legyőzöd az (összes) ellenfél vezérét</span>"
		objectives_changed=yes
		persistent=yes
		recall_cost=20
		recruit="Goblin Spearman,Naga Fighter,Orcish Archer Ladder_1,Orcish Assassin,Orcish Grunt,Troll Whelp,Wolf Rider"
		save_id="id2"
		scroll_to_leader=yes
		share_vision="all"
		shroud=no
		shroud_data=""
		side=2
		side_name=""
		start_gold=175
		suppress_end_turn_confirmation=no
		team_name="Team 2"
		user_team_name="Csapat 2"
		village_gold=1
		village_support=1
		[ai]
#textdomain wesnoth-lib
			description=_"Multiplayer_AI^Default AI (RCA)"
			id="ai_default_rca"
			mp_rank=1000
			[stage]
				id="main_loop"
				name="ai_default_rca::candidate_action_evaluation_loop"
				[candidate_action]
					engine="cpp"
					id="goto"
					max_score=200000
					name="ai_default_rca::goto_phase"
					score=200000
				[/candidate_action]
				[candidate_action]
					engine="lua"
					id="retreat_injured"
					location="ai/lua/ca_retreat_injured.lua"
					max_score=192000
					name="ai_default_rca::retreat_injured"
				[/candidate_action]
				[candidate_action]
					engine="lua"
					id="spread_poison"
					location="ai/lua/ca_spread_poison.lua"
					max_score=190000
					name="ai_default_rca::spread_poison"
				[/candidate_action]
				[candidate_action]
					engine="cpp"
					id="recruitment"
					max_score=180000
					name="default_recruitment::recruitment"
					score=180000
				[/candidate_action]
				[candidate_action]
					engine="cpp"
					id="move_leader_to_goals"
					max_score=140000
					name="ai_default_rca::move_leader_to_goals_phase"
					score=140000
				[/candidate_action]
				[candidate_action]
					engine="cpp"
					id="move_leader_to_keep"
					max_score=120000
					name="ai_default_rca::move_leader_to_keep_phase"
					score=120000
				[/candidate_action]
				[candidate_action]
					engine="lua"
					id="high_xp_attack"
					location="ai/lua/ca_high_xp_attack.lua"
					max_score=100010
					name="ai_default_rca::high_xp_attack"
				[/candidate_action]
				[candidate_action]
					engine="cpp"
					id="combat"
					max_score=100000
					name="ai_default_rca::combat_phase"
					score=100000
				[/candidate_action]
				[candidate_action]
					engine="lua"
					id="place_healers"
					location="ai/lua/ca_place_healers.lua"
					max_score=96000
					name="ai_default_rca::place_healers"
				[/candidate_action]
				[candidate_action]
					engine="cpp"
					id="healing"
					max_score=80000
					name="ai_default_rca::get_healing_phase"
					score=80000
				[/candidate_action]
				[candidate_action]
					engine="cpp"
					id="villages"
					max_score=60000
					name="ai_default_rca::get_villages_phase"
					score=60000
				[/candidate_action]
				[candidate_action]
					engine="cpp"
					id="move_to_targets"
					max_score=20000
					name="ai_default_rca::move_to_targets_phase"
					score=20000
				[/candidate_action]
				[candidate_action]
					engine="cpp"
					id="leader_shares_keep"
					max_score=10000
					name="ai_default_rca::leader_shares_keep_phase"
					score=10000
				[/candidate_action]
				[candidate_action]
					engine="lua"
					id="move_to_any_enemy"
					location="ai/lua/ca_move_to_any_enemy.lua"
					max_score=1000
					name="ai_default_rca::move_to_any_enemy"
				[/candidate_action]
			[/stage]
			[aspect]
				engine="cpp"
				id="advancements"
				name="composite_aspect"
				[default]
					engine="cpp"
					name="standard_aspect"
				[/default]
			[/aspect]
			[aspect]
				engine="cpp"
				id="aggression"
				name="composite_aspect"
				[default]
					engine="cpp"
					name="standard_aspect"
					value=0.4
				[/default]
			[/aspect]
			[aspect]
				engine="cpp"
				id="attacks"
				invalidate_on_gamestate_change=yes
				name="composite_aspect"
				[default]
					engine="cpp"
					invalidate_on_gamestate_change=yes
					name="ai_default_rca::aspect_attacks"
				[/default]
			[/aspect]
			[aspect]
				engine="cpp"
				id="avoid"
				name="composite_aspect"
				[default]
					engine="cpp"
					name="standard_aspect"
					[value]
						[not]
						[/not]
					[/value]
				[/default]
			[/aspect]
			[aspect]
				engine="cpp"
				id="caution"
				name="composite_aspect"
				[default]
					engine="cpp"
					name="standard_aspect"
					value=0.25
				[/default]
			[/aspect]
			[aspect]
				engine="cpp"
				id="grouping"
				name="composite_aspect"
				[default]
					engine="cpp"
					name="standard_aspect"
					value="offensive"
				[/default]
			[/aspect]
			[aspect]
				engine="cpp"
				id="leader_aggression"
				name="composite_aspect"
				[default]
					engine="cpp"
					name="standard_aspect"
					value="-4.0"
				[/default]
			[/aspect]
			[aspect]
				engine="cpp"
				id="leader_goal"
				name="composite_aspect"
				[default]
					engine="cpp"
					name="standard_aspect"
				[/default]
			[/aspect]
			[aspect]
				engine="cpp"
				id="leader_ignores_keep"
				name="composite_aspect"
				[default]
					engine="cpp"
					name="standard_aspect"
					value=no
				[/default]
			[/aspect]
			[aspect]
				engine="cpp"
				id="leader_value"
				name="composite_aspect"
				[default]
					engine="cpp"
					name="standard_aspect"
					value="3.0"
				[/default]
			[/aspect]
			[aspect]
				engine="cpp"
				id="passive_leader"
				name="composite_aspect"
				[default]
					engine="cpp"
					name="standard_aspect"
					value=no
				[/default]
			[/aspect]
			[aspect]
				engine="cpp"
				id="passive_leader_shares_keep"
				name="composite_aspect"
				[default]
					engine="cpp"
					name="standard_aspect"
					value=no
				[/default]
			[/aspect]
			[aspect]
				engine="cpp"
				id="recruitment_diversity"
				name="composite_aspect"
				[default]
					engine="cpp"
					name="standard_aspect"
					value="2.0"
				[/default]
			[/aspect]
			[aspect]
				engine="cpp"
				id="recruitment_instructions"
				name="composite_aspect"
				[default]
					engine="cpp"
					name="standard_aspect"
					[value]
						[recruit]
							importance=0
						[/recruit]
					[/value]
				[/default]
			[/aspect]
			[aspect]
				engine="cpp"
				id="recruitment_more"
				name="composite_aspect"
				[default]
					engine="cpp"
					name="standard_aspect"
				[/default]
			[/aspect]
			[aspect]
				engine="cpp"
				id="recruitment_pattern"
				name="composite_aspect"
				[default]
					engine="cpp"
					name="standard_aspect"
				[/default]
			[/aspect]
			[aspect]
				engine="cpp"
				id="recruitment_randomness"
				name="composite_aspect"
				[default]
					engine="cpp"
					name="standard_aspect"
					value=50
				[/default]
			[/aspect]
			[aspect]
				engine="cpp"
				id="recruitment_save_gold"
				name="composite_aspect"
				[default]
					engine="cpp"
					name="standard_aspect"
					[value]
						active=0
					[/value]
				[/default]
			[/aspect]
			[aspect]
				engine="cpp"
				id="retreat_enemy_weight"
				name="composite_aspect"
				[default]
					engine="cpp"
					name="standard_aspect"
					value="1.0"
				[/default]
			[/aspect]
			[aspect]
				engine="cpp"
				id="retreat_factor"
				name="composite_aspect"
				[default]
					engine="cpp"
					name="standard_aspect"
					value=0.25
				[/default]
			[/aspect]
			[aspect]
				engine="cpp"
				id="scout_village_targeting"
				name="composite_aspect"
				[default]
					engine="cpp"
					name="standard_aspect"
					value=3
				[/default]
			[/aspect]
			[aspect]
				engine="cpp"
				id="simple_targeting"
				name="composite_aspect"
				[default]
					engine="cpp"
					name="standard_aspect"
					value=no
				[/default]
			[/aspect]
			[aspect]
				engine="cpp"
				id="support_villages"
				name="composite_aspect"
				[default]
					engine="cpp"
					name="standard_aspect"
					value=no
				[/default]
			[/aspect]
			[aspect]
				engine="cpp"
				id="village_value"
				name="composite_aspect"
				[default]
					engine="cpp"
					name="standard_aspect"
					value="1.0"
				[/default]
			[/aspect]
			[aspect]
				engine="cpp"
				id="villages_per_scout"
				name="composite_aspect"
				[default]
					engine="cpp"
					name="standard_aspect"
					value=4
				[/default]
				[facet]
					engine="cpp"
					name="standard_aspect"
					time_of_day=""
					turns=""
					value=12
				[/facet]
			[/aspect]
		[/ai]
		[village]
			x=5
			y=4
		[/village]
		[village]
			x=7
			y=41
		[/village]
		[unit]
			alignment="chaotic"
			attacks_left=1
			canrecruit=yes
			cost=26
			experience=0
			extra_recruit=""
			facing="s"
			flag_rgb="magenta"
			gender="male"
			generate_name=yes
			goto_x=0
			goto_y=0
			halo=""
			hidden=no
			hitpoints=38
			id="id2"
			image="units/orcs/slayer.png"
			image_icon=""
			jamming=0
#textdomain wesnoth-units
			language_name=_"Orcish Slayer"
			level=2
			max_attacks=1
			max_experience=70
			max_hitpoints=38
			max_moves=5
			moves=5
			name="ikomizo"
			overlays=""
			profile="portraits/orcs/slayer.png"
			race="orc"
			random_traits=no
			recall_cost=-1
			resting=no
			role=""
			side=2
			small_profile=""
			type="Orcish Slayer"
			undead_variation=""
			underlying_id=2
			unrenamable=no
			upkeep="full"
			usage="mixed fighter"
			variation=""
			vision=5
			x=2
			y=24
			zoc=yes
			[movement_costs]
				castle=1
				cave=2
				flat=1
				forest=2
				frozen=2
				fungus=2
				hills=2
				mountains=3
				reef=2
				sand=2
				shallow_water=2
				swamp_water=2
				village=1
			[/movement_costs]
			[defense]
				castle=30
				cave=50
				flat=40
				forest=30
				frozen=60
				fungus=30
				hills=30
				mountains=30
				reef=50
				sand=60
				shallow_water=60
				swamp_water=60
				village=30
			[/defense]
			[resistance]
				arcane=100
				blade=130
				cold=100
				fire=100
				impact=120
				pierce=120
			[/resistance]
			[attack]
				accuracy=0
				attack_weight=1
				damage=9
				defense_weight=1
				description="dagger"
				icon="attacks/dagger-orcish.png"
				max_range=1
				min_range=1
				movement_used=100000
				name="dagger"
				number=2
				parry=0
				range="melee"
				type="blade"
				[specials]
				[/specials]
			[/attack]
			[attack]
				accuracy=0
				attack_weight=1
				damage=6
				defense_weight=1
				description="throwing knives"
				icon="attacks/dagger-thrown-poison-orcish.png"
				max_range=1
				min_range=1
				movement_used=100000
				name="throwing knives"
				number=3
				parry=0
				range="ranged"
				type="blade"
				[specials]
					[chance_to_hit]
						active_on="offense"
						cumulative=yes
						description="When used offensively, this attack always has at least a 60% chance to hit."
						id="marksman"
						name="marksman"
						special_note="This unit’s marksmanship gives it a high chance of hitting targeted enemies, but only on the attack."
						value=60
					[/chance_to_hit]
					[poison]
						description="This attack poisons living targets. Poisoned units lose 8 HP every turn until they are cured or are reduced to 1 HP. Poison cannot, of itself, kill a unit."
						id="poison"
						name="poison"
						special_note="The victims of this unit’s poison will continually take damage until they can be cured in town or by a unit which cures."
					[/poison]
				[/specials]
			[/attack]
			[modifications]
				[trait]
					female_name="female^slow"
					help_text="<italic>text='Slow'</italic> units have 1 less movement point but 5% more hitpoints." +
#textdomain wesnoth
						_"

Thick-bodied and clumsy, slow individuals of goblins and other species take a movement penalty but are compensated for it with a slight increase in endurance."
					id="slow"
					male_name="slow"
					[effect]
						apply_to="movement"
						increase=-1
					[/effect]
					[effect]
						apply_to="hitpoints"
						increase_total="5%"
					[/effect]
				[/trait]
			[/modifications]
			[advancement]
				description="Max HP bonus +3, Max XP +20%"
				id="amla_default"
				image="icons/amla-default.png"
				max_times=100
				strict_amla=yes
				[effect]
					apply_to="hitpoints"
					heal_full=yes
					increase_total=3
				[/effect]
				[effect]
					apply_to="max_experience"
					increase="20%"
				[/effect]
				[effect]
					apply_to="status"
					remove="poisoned"
				[/effect]
				[effect]
					apply_to="status"
					remove="slowed"
				[/effect]
			[/advancement]
			[variables]
			[/variables]
			[filter_recall]
			[/filter_recall]
			[status]
			[/status]
			[abilities]
			[/abilities]
		[/unit]
	[/side]
	[time]
		blue=0
		green=-15
		id="dawn"
		image="misc/time-schedules/default/schedule-dawn.png"
		lawful_bonus=0
		name="Dawn"
		red=-25
		sound="ambient/morning.ogg"
	[/time]
	[time]
		blue=0
		green=0
		id="morning"
		image="misc/time-schedules/default/schedule-morning.png"
		lawful_bonus=25
		name="Morning"
		red=0
	[/time]
	[time]
		blue=0
		green=0
		id="afternoon"
		image="misc/time-schedules/default/schedule-afternoon.png"
		lawful_bonus=25
		name="Afternoon"
		red=0
	[/time]
	[time]
		blue=-35
		green=-20
		id="dusk"
		image="misc/time-schedules/default/schedule-dusk.png"
		lawful_bonus=0
		name="Dusk"
		red=10
		sound="ambient/night.ogg"
	[/time]
	[time]
		blue=-13
		green=-45
		id="first_watch"
		image="misc/time-schedules/default/schedule-firstwatch.png"
		lawful_bonus=-25
		name="First Watch"
		red=-75
	[/time]
	[time]
		blue=-13
		green=-45
		id="second_watch"
		image="misc/time-schedules/default/schedule-secondwatch.png"
		lawful_bonus=-25
		name="Second Watch"
		red=-75
	[/time]
	[variables]
		Rav_Color_Blue="custom"
		Rav_Color_Cyan=yes
		Rav_Color_Pink=yes
		Rav_Color_Purple=yes
		Rav_Color_Yellow=yes
		next_scenario="multiplayer_Arcanclave_Citadel_Ladder_Random"
		pickadvance_force_choice=no
		turn_number=1
		x1=0
		x2=0
		y1=0
		y2=0
		[old_side1]
			action_bonus_count=0
			allow_player=yes
			auto_shroud=yes
			base_income=2
			carryover_add=no
			carryover_bonus=1
			carryover_gold=0
			carryover_percentage=80
			chose_random=yes
			color="blue"
			controller="human"
			countdown_time=0
			current_player="szdik570"
			defeat_condition="no_leader_left"
			disallow_observers=no
			expenses=0
			faction="Ladder Undead"
			faction_name="Undead"
			flag=""
			flag_icon=""
			fog=yes
			fog_data=""
			gold=100
			hidden=no
			id="id1"
			income=2
			lost=no
			net_income=2
			no_leader=no
			num_units=1
			num_villages=0
			objectives="<big>Győzöl, ha:</big>
<span color='#00ff00'>• Legyőzöd az (összes) ellenfél vezérét</span>"
			objectives_changed=yes
			persistent=yes
			recall_cost=20
			recruit="Dark Adept,Ghost,Ghoul,Skeleton,Skeleton Archer Ladder_1,Vampire Bat Ladder_1,Walking Corpse"
			save_id="id1"
			scroll_to_leader=yes
			share_vision="all"
			shroud=no
			shroud_data=""
			side=1
			side_name=""
			start_gold=100
			suppress_end_turn_confirmation=no
			team_name="team1"
			total_upkeep=0
			user_team_name="teamname^1"
			village_gold=2
			village_support=1
			[ai]
				description="Multiplayer_AI^Default AI (RCA)"
				id="ai_default_rca"
				mp_rank=1000
				[stage]
					id="main_loop"
					name="ai_default_rca::candidate_action_evaluation_loop"
					[candidate_action]
						engine="cpp"
						id="goto"
						max_score=200000
						name="ai_default_rca::goto_phase"
						score=200000
					[/candidate_action]
					[candidate_action]
						engine="lua"
						id="retreat_injured"
						location="ai/lua/ca_retreat_injured.lua"
						max_score=192000
						name="ai_default_rca::retreat_injured"
					[/candidate_action]
					[candidate_action]
						engine="lua"
						id="spread_poison"
						location="ai/lua/ca_spread_poison.lua"
						max_score=190000
						name="ai_default_rca::spread_poison"
					[/candidate_action]
					[candidate_action]
						engine="cpp"
						id="recruitment"
						max_score=180000
						name="default_recruitment::recruitment"
						score=180000
					[/candidate_action]
					[candidate_action]
						engine="cpp"
						id="move_leader_to_goals"
						max_score=140000
						name="ai_default_rca::move_leader_to_goals_phase"
						score=140000
					[/candidate_action]
					[candidate_action]
						engine="cpp"
						id="move_leader_to_keep"
						max_score=120000
						name="ai_default_rca::move_leader_to_keep_phase"
						score=120000
					[/candidate_action]
					[candidate_action]
						engine="lua"
						id="high_xp_attack"
						location="ai/lua/ca_high_xp_attack.lua"
						max_score=100010
						name="ai_default_rca::high_xp_attack"
					[/candidate_action]
					[candidate_action]
						engine="cpp"
						id="combat"
						max_score=100000
						name="ai_default_rca::combat_phase"
						score=100000
					[/candidate_action]
					[candidate_action]
						engine="lua"
						id="place_healers"
						location="ai/lua/ca_place_healers.lua"
						max_score=96000
						name="ai_default_rca::place_healers"
					[/candidate_action]
					[candidate_action]
						engine="cpp"
						id="healing"
						max_score=80000
						name="ai_default_rca::get_healing_phase"
						score=80000
					[/candidate_action]
					[candidate_action]
						engine="cpp"
						id="villages"
						max_score=60000
						name="ai_default_rca::get_villages_phase"
						score=60000
					[/candidate_action]
					[candidate_action]
						engine="cpp"
						id="move_to_targets"
						max_score=20000
						name="ai_default_rca::move_to_targets_phase"
						score=20000
					[/candidate_action]
					[candidate_action]
						engine="cpp"
						id="leader_shares_keep"
						max_score=10000
						name="ai_default_rca::leader_shares_keep_phase"
						score=10000
					[/candidate_action]
					[candidate_action]
						engine="lua"
						id="move_to_any_enemy"
						location="ai/lua/ca_move_to_any_enemy.lua"
						max_score=1000
						name="ai_default_rca::move_to_any_enemy"
					[/candidate_action]
				[/stage]
				[aspect]
					engine="cpp"
					id="advancements"
					name="composite_aspect"
					[default]
						engine="cpp"
						name="standard_aspect"
					[/default]
				[/aspect]
				[aspect]
					engine="cpp"
					id="aggression"
					name="composite_aspect"
					[default]
						engine="cpp"
						name="standard_aspect"
						value=0.4
					[/default]
				[/aspect]
				[aspect]
					engine="cpp"
					id="attacks"
					invalidate_on_gamestate_change=yes
					name="composite_aspect"
					[default]
						engine="cpp"
						invalidate_on_gamestate_change=yes
						name="ai_default_rca::aspect_attacks"
					[/default]
				[/aspect]
				[aspect]
					engine="cpp"
					id="avoid"
					name="composite_aspect"
					[default]
						engine="cpp"
						name="standard_aspect"
						[value]
							[not]
							[/not]
						[/value]
					[/default]
				[/aspect]
				[aspect]
					engine="cpp"
					id="caution"
					name="composite_aspect"
					[default]
						engine="cpp"
						name="standard_aspect"
						value=0.25
					[/default]
				[/aspect]
				[aspect]
					engine="cpp"
					id="grouping"
					name="composite_aspect"
					[default]
						engine="cpp"
						name="standard_aspect"
						value="offensive"
					[/default]
				[/aspect]
				[aspect]
					engine="cpp"
					id="leader_aggression"
					name="composite_aspect"
					[default]
						engine="cpp"
						name="standard_aspect"
						value="-4.0"
					[/default]
				[/aspect]
				[aspect]
					engine="cpp"
					id="leader_goal"
					name="composite_aspect"
					[default]
						engine="cpp"
						name="standard_aspect"
					[/default]
				[/aspect]
				[aspect]
					engine="cpp"
					id="leader_ignores_keep"
					name="composite_aspect"
					[default]
						engine="cpp"
						name="standard_aspect"
						value=no
					[/default]
				[/aspect]
				[aspect]
					engine="cpp"
					id="leader_value"
					name="composite_aspect"
					[default]
						engine="cpp"
						name="standard_aspect"
						value="3.0"
					[/default]
				[/aspect]
				[aspect]
					engine="cpp"
					id="passive_leader"
					name="composite_aspect"
					[default]
						engine="cpp"
						name="standard_aspect"
						value=no
					[/default]
				[/aspect]
				[aspect]
					engine="cpp"
					id="passive_leader_shares_keep"
					name="composite_aspect"
					[default]
						engine="cpp"
						name="standard_aspect"
						value=no
					[/default]
				[/aspect]
				[aspect]
					engine="cpp"
					id="recruitment_diversity"
					name="composite_aspect"
					[default]
						engine="cpp"
						name="standard_aspect"
						value="2.0"
					[/default]
				[/aspect]
				[aspect]
					engine="cpp"
					id="recruitment_instructions"
					name="composite_aspect"
					[default]
						engine="cpp"
						name="standard_aspect"
						[value]
							[recruit]
								importance=0
							[/recruit]
						[/value]
					[/default]
				[/aspect]
				[aspect]
					engine="cpp"
					id="recruitment_more"
					name="composite_aspect"
					[default]
						engine="cpp"
						name="standard_aspect"
					[/default]
				[/aspect]
				[aspect]
					engine="cpp"
					id="recruitment_pattern"
					name="composite_aspect"
					[default]
						engine="cpp"
						name="standard_aspect"
					[/default]
					[facet]
						engine="cpp"
						name="standard_aspect"
						time_of_day=""
						turns=""
						value="fighter,fighter,archer,fighter,scout,archer"
					[/facet]
				[/aspect]
				[aspect]
					engine="cpp"
					id="recruitment_randomness"
					name="composite_aspect"
					[default]
						engine="cpp"
						name="standard_aspect"
						value=50
					[/default]
				[/aspect]
				[aspect]
					engine="cpp"
					id="recruitment_save_gold"
					name="composite_aspect"
					[default]
						engine="cpp"
						name="standard_aspect"
						[value]
							active=0
						[/value]
					[/default]
				[/aspect]
				[aspect]
					engine="cpp"
					id="retreat_enemy_weight"
					name="composite_aspect"
					[default]
						engine="cpp"
						name="standard_aspect"
						value="1.0"
					[/default]
				[/aspect]
				[aspect]
					engine="cpp"
					id="retreat_factor"
					name="composite_aspect"
					[default]
						engine="cpp"
						name="standard_aspect"
						value=0.25
					[/default]
				[/aspect]
				[aspect]
					engine="cpp"
					id="scout_village_targeting"
					name="composite_aspect"
					[default]
						engine="cpp"
						name="standard_aspect"
						value=3
					[/default]
				[/aspect]
				[aspect]
					engine="cpp"
					id="simple_targeting"
					name="composite_aspect"
					[default]
						engine="cpp"
						name="standard_aspect"
						value=no
					[/default]
				[/aspect]
				[aspect]
					engine="cpp"
					id="support_villages"
					name="composite_aspect"
					[default]
						engine="cpp"
						name="standard_aspect"
						value=no
					[/default]
				[/aspect]
				[aspect]
					engine="cpp"
					id="village_value"
					name="composite_aspect"
					[default]
						engine="cpp"
						name="standard_aspect"
						value="1.0"
					[/default]
				[/aspect]
				[aspect]
					engine="cpp"
					id="villages_per_scout"
					name="composite_aspect"
					[default]
						engine="cpp"
						name="standard_aspect"
						value=4
					[/default]
				[/aspect]
			[/ai]
		[/old_side1]
		[old_side2]
			action_bonus_count=0
			allow_player=yes
			auto_shroud=yes
			base_income=2
			carryover_add=no
			carryover_bonus=1
			carryover_gold=0
			carryover_percentage=80
			chose_random=yes
			color="red"
			controller="human"
			countdown_time=0
			current_player="ikomizo"
			defeat_condition="no_leader_left"
			disallow_observers=no
			expenses=0
			faction="Ladder Northerners"
			faction_name="Northerners"
			flag=""
			flag_icon=""
			fog=yes
			fog_data=""
			gold=100
			hidden=no
			id="id2"
			income=2
			lost=no
			net_income=2
			no_leader=no
			num_units=1
			num_villages=0
			objectives="<big>Győzöl, ha:</big>
<span color='#00ff00'>• Legyőzöd az (összes) ellenfél vezérét</span>"
			objectives_changed=yes
			persistent=yes
			recall_cost=20
			recruit="Goblin Spearman,Naga Fighter,Orcish Archer Ladder_1,Orcish Assassin,Orcish Grunt,Troll Whelp,Wolf Rider"
			save_id="id2"
			scroll_to_leader=yes
			share_vision="all"
			shroud=no
			shroud_data=""
			side=2
			side_name=""
			start_gold=100
			suppress_end_turn_confirmation=no
			team_name="team2"
			total_upkeep=0
			user_team_name="teamname^2"
			village_gold=2
			village_support=1
			[ai]
				description="Multiplayer_AI^Default AI (RCA)"
				id="ai_default_rca"
				mp_rank=1000
				[stage]
					id="main_loop"
					name="ai_default_rca::candidate_action_evaluation_loop"
					[candidate_action]
						engine="cpp"
						id="goto"
						max_score=200000
						name="ai_default_rca::goto_phase"
						score=200000
					[/candidate_action]
					[candidate_action]
						engine="lua"
						id="retreat_injured"
						location="ai/lua/ca_retreat_injured.lua"
						max_score=192000
						name="ai_default_rca::retreat_injured"
					[/candidate_action]
					[candidate_action]
						engine="lua"
						id="spread_poison"
						location="ai/lua/ca_spread_poison.lua"
						max_score=190000
						name="ai_default_rca::spread_poison"
					[/candidate_action]
					[candidate_action]
						engine="cpp"
						id="recruitment"
						max_score=180000
						name="default_recruitment::recruitment"
						score=180000
					[/candidate_action]
					[candidate_action]
						engine="cpp"
						id="move_leader_to_goals"
						max_score=140000
						name="ai_default_rca::move_leader_to_goals_phase"
						score=140000
					[/candidate_action]
					[candidate_action]
						engine="cpp"
						id="move_leader_to_keep"
						max_score=120000
						name="ai_default_rca::move_leader_to_keep_phase"
						score=120000
					[/candidate_action]
					[candidate_action]
						engine="lua"
						id="high_xp_attack"
						location="ai/lua/ca_high_xp_attack.lua"
						max_score=100010
						name="ai_default_rca::high_xp_attack"
					[/candidate_action]
					[candidate_action]
						engine="cpp"
						id="combat"
						max_score=100000
						name="ai_default_rca::combat_phase"
						score=100000
					[/candidate_action]
					[candidate_action]
						engine="lua"
						id="place_healers"
						location="ai/lua/ca_place_healers.lua"
						max_score=96000
						name="ai_default_rca::place_healers"
					[/candidate_action]
					[candidate_action]
						engine="cpp"
						id="healing"
						max_score=80000
						name="ai_default_rca::get_healing_phase"
						score=80000
					[/candidate_action]
					[candidate_action]
						engine="cpp"
						id="villages"
						max_score=60000
						name="ai_default_rca::get_villages_phase"
						score=60000
					[/candidate_action]
					[candidate_action]
						engine="cpp"
						id="move_to_targets"
						max_score=20000
						name="ai_default_rca::move_to_targets_phase"
						score=20000
					[/candidate_action]
					[candidate_action]
						engine="cpp"
						id="leader_shares_keep"
						max_score=10000
						name="ai_default_rca::leader_shares_keep_phase"
						score=10000
					[/candidate_action]
					[candidate_action]
						engine="lua"
						id="move_to_any_enemy"
						location="ai/lua/ca_move_to_any_enemy.lua"
						max_score=1000
						name="ai_default_rca::move_to_any_enemy"
					[/candidate_action]
				[/stage]
				[aspect]
					engine="cpp"
					id="advancements"
					name="composite_aspect"
					[default]
						engine="cpp"
						name="standard_aspect"
					[/default]
				[/aspect]
				[aspect]
					engine="cpp"
					id="aggression"
					name="composite_aspect"
					[default]
						engine="cpp"
						name="standard_aspect"
						value=0.4
					[/default]
				[/aspect]
				[aspect]
					engine="cpp"
					id="attacks"
					invalidate_on_gamestate_change=yes
					name="composite_aspect"
					[default]
						engine="cpp"
						invalidate_on_gamestate_change=yes
						name="ai_default_rca::aspect_attacks"
					[/default]
				[/aspect]
				[aspect]
					engine="cpp"
					id="avoid"
					name="composite_aspect"
					[default]
						engine="cpp"
						name="standard_aspect"
						[value]
							[not]
							[/not]
						[/value]
					[/default]
				[/aspect]
				[aspect]
					engine="cpp"
					id="caution"
					name="composite_aspect"
					[default]
						engine="cpp"
						name="standard_aspect"
						value=0.25
					[/default]
				[/aspect]
				[aspect]
					engine="cpp"
					id="grouping"
					name="composite_aspect"
					[default]
						engine="cpp"
						name="standard_aspect"
						value="offensive"
					[/default]
				[/aspect]
				[aspect]
					engine="cpp"
					id="leader_aggression"
					name="composite_aspect"
					[default]
						engine="cpp"
						name="standard_aspect"
						value="-4.0"
					[/default]
				[/aspect]
				[aspect]
					engine="cpp"
					id="leader_goal"
					name="composite_aspect"
					[default]
						engine="cpp"
						name="standard_aspect"
					[/default]
				[/aspect]
				[aspect]
					engine="cpp"
					id="leader_ignores_keep"
					name="composite_aspect"
					[default]
						engine="cpp"
						name="standard_aspect"
						value=no
					[/default]
				[/aspect]
				[aspect]
					engine="cpp"
					id="leader_value"
					name="composite_aspect"
					[default]
						engine="cpp"
						name="standard_aspect"
						value="3.0"
					[/default]
				[/aspect]
				[aspect]
					engine="cpp"
					id="passive_leader"
					name="composite_aspect"
					[default]
						engine="cpp"
						name="standard_aspect"
						value=no
					[/default]
				[/aspect]
				[aspect]
					engine="cpp"
					id="passive_leader_shares_keep"
					name="composite_aspect"
					[default]
						engine="cpp"
						name="standard_aspect"
						value=no
					[/default]
				[/aspect]
				[aspect]
					engine="cpp"
					id="recruitment_diversity"
					name="composite_aspect"
					[default]
						engine="cpp"
						name="standard_aspect"
						value="2.0"
					[/default]
				[/aspect]
				[aspect]
					engine="cpp"
					id="recruitment_instructions"
					name="composite_aspect"
					[default]
						engine="cpp"
						name="standard_aspect"
						[value]
							[recruit]
								importance=0
							[/recruit]
						[/value]
					[/default]
				[/aspect]
				[aspect]
					engine="cpp"
					id="recruitment_more"
					name="composite_aspect"
					[default]
						engine="cpp"
						name="standard_aspect"
					[/default]
				[/aspect]
				[aspect]
					engine="cpp"
					id="recruitment_pattern"
					name="composite_aspect"
					[default]
						engine="cpp"
						name="standard_aspect"
					[/default]
					[facet]
						engine="cpp"
						name="standard_aspect"
						time_of_day=""
						turns=""
						value="fighter,fighter,fighter,mixed fighter,archer,scout"
					[/facet]
				[/aspect]
				[aspect]
					engine="cpp"
					id="recruitment_randomness"
					name="composite_aspect"
					[default]
						engine="cpp"
						name="standard_aspect"
						value=50
					[/default]
				[/aspect]
				[aspect]
					engine="cpp"
					id="recruitment_save_gold"
					name="composite_aspect"
					[default]
						engine="cpp"
						name="standard_aspect"
						[value]
							active=0
						[/value]
					[/default]
				[/aspect]
				[aspect]
					engine="cpp"
					id="retreat_enemy_weight"
					name="composite_aspect"
					[default]
						engine="cpp"
						name="standard_aspect"
						value="1.0"
					[/default]
				[/aspect]
				[aspect]
					engine="cpp"
					id="retreat_factor"
					name="composite_aspect"
					[default]
						engine="cpp"
						name="standard_aspect"
						value=0.25
					[/default]
				[/aspect]
				[aspect]
					engine="cpp"
					id="scout_village_targeting"
					name="composite_aspect"
					[default]
						engine="cpp"
						name="standard_aspect"
						value=3
					[/default]
				[/aspect]
				[aspect]
					engine="cpp"
					id="simple_targeting"
					name="composite_aspect"
					[default]
						engine="cpp"
						name="standard_aspect"
						value=no
					[/default]
				[/aspect]
				[aspect]
					engine="cpp"
					id="support_villages"
					name="composite_aspect"
					[default]
						engine="cpp"
						name="standard_aspect"
						value=no
					[/default]
				[/aspect]
				[aspect]
					engine="cpp"
					id="village_value"
					name="composite_aspect"
					[default]
						engine="cpp"
						name="standard_aspect"
						value="1.0"
					[/default]
				[/aspect]
				[aspect]
					engine="cpp"
					id="villages_per_scout"
					name="composite_aspect"
					[default]
						engine="cpp"
						name="standard_aspect"
						value=4
					[/default]
				[/aspect]
			[/ai]
		[/old_side2]
		[map_pool]
			id="multiplayer_Aethermaw_Ladder_Random"
			name="Aethermaw"
		[/map_pool]
		[map_pool]
			id="multiplayer_Arcanclave_Citadel_Ladder_Random"
			name="Arcanclave Citadel"
		[/map_pool]
		[map_pool]
			id="multiplayer_Clearing_Gushes_Ladder_Random"
			name="Clearing Gushes"
		[/map_pool]
		[map_pool]
			id="multiplayer_elensefar_courtyard_Ladder_Random"
			name="Elensefar Courtyard"
		[/map_pool]
		[map_pool]
			id="multiplayer_Hellhole_Ladder_Random"
			name="Hellhole"
		[/map_pool]
		[map_pool]
			id="multiplayer_Howling_Ghost_Badlands_Ladder_Random"
			name="Howling Ghost Badlands"
		[/map_pool]
		[map_pool]
			id="multiplayer_Ruined_Passage_Ladder_Random"
			name="Ruined Passage"
		[/map_pool]
		[map_pool]
			id="multiplayer_Ruphus_Isle_Ladder_Random"
			name="Ruphus Isle"
		[/map_pool]
		[map_pool]
			id="multiplayer_Swamp_of_Dread_Ladder_Random"
			name="Swamp of Dread"
		[/map_pool]
		[map_pool]
			id="multiplayer_The_Walls_of_Pyrennis_Ladder_Random"
			name="The Walls of Pyrennis"
		[/map_pool]
		[map_pool]
			id="multiplayer_thousand_stings_garrison_Ladder_Random"
			name="Thousand Stings Garrison"
		[/map_pool]
		[map_pool]
			id="multiplayer_Tombs_of_Kesorak_Ladder_Random"
			name="Tombs of Kesorak"
		[/map_pool]
	[/variables]
	[undo_stack]
		committed=no
		side=1
	[/undo_stack]
	[display]
		color_adjust_blue=0
		color_adjust_green=0
		color_adjust_red=0
		view_locked=no
		[location]
			x=16
			y=7
		[/location]
	[/display]
	[music]
		ms_after=0
		ms_before=12000
		name="knolls.ogg"
		shuffle=yes
	[/music]
	[music]
		append=yes
		ms_after=0
		ms_before=12000
		name="wanderer.ogg"
		shuffle=yes
	[/music]
	[music]
		append=yes
		ms_after=0
		ms_before=12000
		name="battle.ogg"
		shuffle=yes
	[/music]
	[music]
		append=yes
		ms_after=0
		ms_before=12000
		name="transience.ogg"
		shuffle=yes
	[/music]
	[music]
		append=yes
		ms_after=0
		ms_before=12000
		name="the_king_is_dead.ogg"
		shuffle=yes
	[/music]
	[music]
		append=yes
		ms_after=0
		ms_before=12000
		name="knalgan_theme.ogg"
		shuffle=yes
	[/music]
	[music]
		append=yes
		ms_after=0
		ms_before=12000
		name="the_city_falls.ogg"
		shuffle=yes
	[/music]
	[music]
		append=yes
		ms_after=0
		ms_before=12000
		name="nunc_dimittis.ogg"
		shuffle=yes
	[/music]
	[music]
		append=yes
		ms_after=0
		ms_before=12000
		name="revelation.ogg"
		shuffle=yes
	[/music]
	[music]
		append=yes
		ms_after=0
		ms_before=12000
		name="loyalists.ogg"
		shuffle=yes
	[/music]
	[music]
		append=yes
		ms_after=0
		ms_before=12000
		name="breaking_the_chains.ogg"
		shuffle=yes
	[/music]
	[music]
		append=yes
		ms_after=0
		ms_before=12000
		name="elvish-theme.ogg"
		shuffle=yes
	[/music]
	[music]
		append=yes
		ms_after=0
		ms_before=12000
		name="legends_of_the_north.ogg"
		shuffle=yes
	[/music]
	[music]
		append=yes
		ms_after=0
		ms_before=12000
		name="traveling_minstrels.ogg"
		shuffle=yes
	[/music]
	[music]
		append=yes
		ms_after=0
		ms_before=12000
		name="underground.ogg"
		shuffle=yes
	[/music]
	[music]
		append=yes
		ms_after=0
		ms_before=12000
		name="vengeful.ogg"
		shuffle=yes
	[/music]
	[music]
		append=yes
		ms_after=0
		ms_before=12000
		name="frantic.ogg"
		shuffle=yes
	[/music]
	[music]
		append=yes
		ms_after=0
		ms_before=12000
		name="the_dangerous_symphony.ogg"
		shuffle=yes
	[/music]
	[music]
		append=yes
		ms_after=0
		ms_before=12000
		name="heroes_rite.ogg"
		shuffle=yes
	[/music]
	[music]
		append=yes
		ms_after=0
		ms_before=12000
		name="suspense.ogg"
		shuffle=yes
	[/music]
	[music]
		append=yes
		ms_after=0
		ms_before=12000
		name="the_deep_path.ogg"
		shuffle=yes
	[/music]
	[music]
		append=yes
		ms_after=0
		ms_before=12000
		name="siege_of_laurelmor.ogg"
		shuffle=yes
	[/music]
	[music]
		append=yes
		ms_after=0
		ms_before=12000
		name="casualties_of_war.ogg"
		shuffle=yes
	[/music]
	[music]
		append=yes
		ms_after=0
		ms_before=12000
		name="silvan_sanctuary.ogg"
		shuffle=yes
	[/music]
	[music]
		append=yes
		ms_after=0
		ms_before=12000
		name="battle-epic.ogg"
		shuffle=yes
	[/music]
[/replay_start]
[replay]
	[upload_log]
		[ai_log]
			ai_id1="ai_default_rca"
			ai_id2="ai_default_rca"
			version="1.16.10"
			[turn_info]
				event="TURN_START"
				gold=175
				side=1
				turn=1
				units=1
				units_cost=33
				villages=0
			[/turn_info]
			[turn_info]
				event="TURN_START"
				gold=175
				side=2
				turn=1
				units=1
				units_cost=26
				villages=2
			[/turn_info]
			[turn_info]
				event="TURN_START"
				gold=23
				side=1
				turn=2
				units=14
				units_cost=185
				villages=1
			[/turn_info]
			[turn_info]
				event="TURN_START"
				gold=59
				side=2
				turn=2
				units=10
				units_cost=142
				villages=3
			[/turn_info]
			[turn_info]
				event="TURN_START"
				gold=3
				side=1
				turn=3
				units=15
				units_cost=204
				villages=13
			[/turn_info]
			[turn_info]
				event="TURN_START"
				gold=37
				side=2
				turn=3
				units=12
				units_cost=168
				villages=12
			[/turn_info]
			[turn_info]
				event="TURN_START"
				gold=2
				side=1
				turn=4
				units=17
				units_cost=233
				villages=13
			[/turn_info]
			[turn_info]
				event="TURN_START"
				gold=0
				side=2
				turn=4
				units=17
				units_cost=231
				villages=13
			[/turn_info]
			[turn_info]
				event="TURN_START"
				gold=0
				side=1
				turn=5
				units=19
				units_cost=263
				villages=13
			[/turn_info]
			[turn_info]
				event="TURN_START"
				gold=2
				side=2
				turn=5
				units=17
				units_cost=234
				villages=12
			[/turn_info]
			[turn_info]
				event="TURN_START"
				gold=0
				side=1
				turn=6
				units=19
				units_cost=259
				villages=14
			[/turn_info]
			[turn_info]
				event="TURN_START"
				gold=0
				side=2
				turn=6
				units=17
				units_cost=232
				villages=12
			[/turn_info]
			[turn_info]
				event="TURN_START"
				gold=0
				side=1
				turn=7
				units=15
				units_cost=206
				villages=14
			[/turn_info]
			[turn_info]
				event="TURN_START"
				gold=0
				side=2
				turn=7
				units=19
				units_cost=268
				villages=9
			[/turn_info]
			[turn_info]
				event="TURN_START"
				gold=30
				side=1
				turn=8
				units=13
				units_cost=183
				villages=17
			[/turn_info]
			[turn_info]
				event="TURN_START"
				gold=0
				side=2
				turn=8
				units=20
				units_cost=281
				villages=8
			[/turn_info]
			[turn_info]
				event="TURN_START"
				gold=66
				side=1
				turn=9
				units=11
				units_cost=162
				villages=18
			[/turn_info]
		[/ai_log]
	[/upload_log]
	[command]
		sent=yes
		[start]
		[/start]
		[checkup]
			[result]
				next_unit_id=3
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		sent=yes
		[init_side]
			side_number=1
		[/init_side]
		[checkup]
			[result]
				next_unit_id=3
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		sent=yes
		undo=no
		[speak]
			id="szdik570"
			message="hf"
			side=1
			time=1700064468
		[/speak]
	[/command]
	[command]
		undo=no
		[speak]
			id="ikomizo"
			message="viszont kívánom"
			side=2
			time=1700064481
		[/speak]
	[/command]
	[command]
		undo=no
		[speak]
			id="ikomizo"
			message="de rég láttam ezt a térképet jó ég :D"
			side=2
			time=1700064499
		[/speak]
	[/command]
	[command]
		sent=yes
		undo=no
		[speak]
			id="szdik570"
			message="én is"
			side=1
			time=1700064502
		[/speak]
	[/command]
	[command]
		sent=yes
		undo=no
		[speak]
			id="server"
			message="Lord_Jahoo has logged into the lobby"
			time=1700064544
		[/speak]
	[/command]
	[command]
		sent=yes
		undo=no
		[speak]
			id="server"
			message="Mitos has logged into the lobby"
			time=1700064548
		[/speak]
	[/command]
	[command]
		sent=yes
		undo=no
		[speak]
			id="server"
			message="Vogelsang has logged into the lobby"
			time=1700064582
		[/speak]
	[/command]
	[command]
		sent=yes
		undo=no
		[speak]
			id="server"
			message="gougoule has logged into the lobby"
			time=1700064587
		[/speak]
	[/command]
	[command]
		from_side=1
		sent=yes
		[recruit]
			type="Walking Corpse"
			x=35
			y=37
			[from]
				x=46
				y=23
			[/from]
		[/recruit]
		[checkup]
			[result]
				checksum="cfb.B7f-Bc9n7cdkii0q9r670jjgk6H6p8fr3k>paofYiKDV+dM09Df9rJnM-golSlXb8s+30gV0e348UyKU.xu.bL+yt2hMmWRG83ADy8UUJy-uN5pciHAzLU<-gKMO"
			[/result]
			[result]
				next_unit_id=4
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		from_side=1
		sent=yes
		[recruit]
			type="Walking Corpse"
			x=31
			y=24
			[from]
				x=46
				y=23
			[/from]
		[/recruit]
		[checkup]
			[result]
				checksum="cfb.B7f-Bc9n7cdkii0q9r670jjgk6H6p8fr3k>paofYiKDV+dM09Df9rJnM-golSlXb8s+30gV0e348UyKU.xu.bL+yt2hMmWRG83ADy8UUJy-uN5pciHAzLU<-gKMO"
			[/result]
			[result]
				next_unit_id=5
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		from_side=1
		sent=yes
		[recruit]
			type="Walking Corpse"
			x=32
			y=23
			[from]
				x=46
				y=23
			[/from]
		[/recruit]
		[checkup]
			[result]
				checksum="cfb.B7f-Bc9n7cdkii0q9r670jjgk6H6p8fr3k>paofYiKDV+dM09Df9rJnM-golSlXb8s+30gV0e348UyKU.xu.bL+yt2hMmWRG83ADy8UUJy-uN5pciHAzLU<-gKMO"
			[/result]
			[result]
				next_unit_id=6
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		from_side=1
		sent=yes
		[recruit]
			type="Walking Corpse"
			x=35
			y=23
			[from]
				x=46
				y=23
			[/from]
		[/recruit]
		[checkup]
			[result]
				checksum="cfb.B7f-Bc9n7cdkii0q9r670jjgk6H6p8fr3k>paofYiKDV+dM09Df9rJnM-golSlXb8s+30gV0e348UyKU.xu.bL+yt2hMmWRG83ADy8UUJy-uN5pciHAzLU<-gKMO"
			[/result]
			[result]
				next_unit_id=7
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		from_side=1
		sent=yes
		[recruit]
			type="Walking Corpse"
			x=35
			y=24
			[from]
				x=46
				y=23
			[/from]
		[/recruit]
		[checkup]
			[result]
				checksum="cfb.B7f-Bc9n7cdkii0q9r670jjgk6H6p8fr3k>paofYiKDV+dM09Df9rJnM-golSlXb8s+30gV0e348UyKU.xu.bL+yt2hMmWRG83ADy8UUJy-uN5pciHAzLU<-gKMO"
			[/result]
			[result]
				next_unit_id=8
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		from_side=1
		sent=yes
		[recruit]
			type="Walking Corpse"
			x=38
			y=12
			[from]
				x=46
				y=23
			[/from]
		[/recruit]
		[checkup]
			[result]
				checksum="cfb.B7f-Bc9n7cdkii0q9r670jjgk6H6p8fr3k>paofYiKDV+dM09Df9rJnM-golSlXb8s+30gV0e348UyKU.xu.bL+yt2hMmWRG83ADy8UUJy-uN5pciHAzLU<-gKMO"
			[/result]
			[result]
				next_unit_id=9
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		from_side=1
		sent=yes
		[recruit]
			type="Walking Corpse"
			x=31
			y=10
			[from]
				x=46
				y=23
			[/from]
		[/recruit]
		[checkup]
			[result]
				checksum="cfb.B7f-Bc9n7cdkii0q9r670jjgk6H6p8fr3k>paofYiKDV+dM09Df9rJnM-golSlXb8s+30gV0e348UyKU.xu.bL+yt2hMmWRG83ADy8UUJy-uN5pciHAzLU<-gKMO"
			[/result]
			[result]
				next_unit_id=10
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		from_side=1
		sent=yes
		[recruit]
			type="Dark Adept"
			x=42
			y=39
			[from]
				x=46
				y=23
			[/from]
		[/recruit]
		[checkup]
			[result]
				checksum="sNA8oMzReKN5Oq9ztvrFoIAO9wyxQTotsJUQRRFflocGrDgV>Htxr6B1M+qyf7,naC+EVKDB1R8ItQnpJ>JnxRva,O6ucwzkOeQ6Nj+Sh8RvIg8j-uoMpcHl9EBn<+9f"
			[/result]
			[result]
				next_unit_id=11
				random_calls=23
			[/result]
		[/checkup]
	[/command]
	[command]
		dependent=yes
		from_side="server"
		sent=yes
		[random_seed]
			new_seed="81ca0ac6"
		[/random_seed]
	[/command]
	[command]
		from_side=1
		sent=yes
		[recruit]
			type="Dark Adept"
			x=31
			y=39
			[from]
				x=46
				y=23
			[/from]
		[/recruit]
		[checkup]
			[result]
				checksum="sNA8oMzRhKN5Oq9ztvrFoIAO9wyxQTotsJUQRRFflocGrDgV>Htxr6B1M+qyf7,naC+EVKDB1R8IsUnpJ>JnxRva,O6ucwzkOeQ6Nj+Sh8RvIg8j-uoMpcHl9EBn<-df"
			[/result]
			[result]
				next_unit_id=12
				random_calls=23
			[/result]
		[/checkup]
	[/command]
	[command]
		dependent=yes
		from_side="server"
		sent=yes
		[random_seed]
			new_seed="8834f7b7"
		[/random_seed]
	[/command]
	[command]
		from_side=1
		sent=yes
		[recruit]
			type="Dark Adept"
			x=33
			y=24
			[from]
				x=46
				y=23
			[/from]
		[/recruit]
		[checkup]
			[result]
				checksum="GTDQI6fwdKx<HTIENs,rEooIwo1nFDHU9wMHPxTuvj5L6EHp5s1LCqp1S>p3rt.87naC+EVKDB1R8ItOnpJ>JnxRva,O6ucwzkOeQ6Nj+Sh8RvIg9k-uoMpcHl9EBn<+"
			[/result]
			[result]
				next_unit_id=13
				random_calls=23
			[/result]
		[/checkup]
	[/command]
	[command]
		dependent=yes
		from_side="server"
		sent=yes
		[random_seed]
			new_seed="4388da12"
		[/random_seed]
	[/command]
	[command]
		from_side=1
		sent=yes
		[recruit]
			type="Dark Adept"
			x=38
			y=10
			[from]
				x=46
				y=23
			[/from]
		[/recruit]
		[checkup]
			[result]
				checksum="sNA8oMzRhKN5Oq9ztvrFoIAO9wyxQTotsJUQRRFflocGrDgV>Htxr6B1M+qyf7,naC+EVKDB1R8ItRnpJ>JnxRva,O6ucwzkOeQ6Nj+Sh8RvIg9k-uoMpcHl9EBn<+8f"
			[/result]
			[result]
				next_unit_id=14
				random_calls=23
			[/result]
		[/checkup]
	[/command]
	[command]
		dependent=yes
		from_side="server"
		sent=yes
		[random_seed]
			new_seed="a3deff46"
		[/random_seed]
	[/command]
	[command]
		from_side=1
		sent=yes
		[recruit]
			type="Dark Adept"
			x=30
			y=9
			[from]
				x=46
				y=23
			[/from]
		[/recruit]
		[checkup]
			[result]
				checksum="sNA8oMzReKN5Oq9ztvrFoIAO9wyxQTotsJUQRRFflocGrDgV>Htxr6B1M+qyf7,naC+EVKDB1R8ItQnpJ>JnxRva,O6ucwzkOeQ6Nj+Sh8RvIg8j-uoMpcHl9EBn<+9f"
			[/result]
			[result]
				next_unit_id=15
				random_calls=23
			[/result]
		[/checkup]
	[/command]
	[command]
		dependent=yes
		from_side="server"
		sent=yes
		[random_seed]
			new_seed="67818c1e"
		[/random_seed]
	[/command]
	[command]
		from_side=1
		sent=yes
		[recruit]
			type="Dark Adept"
			x=29
			y=10
			[from]
				x=46
				y=23
			[/from]
		[/recruit]
		[checkup]
			[result]
				checksum="MTDQI6fwdKx<HTIENs,rEooIwo1nFDHU9wMHPxTuvj5L6EHp5s1LCqp1S>p3rt.87naC+EVKDB1R8IsUnpJ>JnxRva,O6ucwzkOeQ6Nj+Sh8RvIg8j-uoMpcHl9EBn<-"
			[/result]
			[result]
				next_unit_id=16
				random_calls=23
			[/result]
		[/checkup]
	[/command]
	[command]
		dependent=yes
		from_side="server"
		sent=yes
		[random_seed]
			new_seed="b4aa27f4"
		[/random_seed]
	[/command]
	[command]
		undo=no
		[label]
			category=""
			color="107,140,255"
			immutable=no
			side=2
			team_name="Team 2"
			text=1
			tooltip=""
			visible_in_fog=yes
			visible_in_shroud=no
			x=19
			y=43
		[/label]
	[/command]
	[command]
		undo=no
		[label]
			category=""
			color="107,140,255"
			immutable=no
			side=2
			team_name="Team 2"
			text=2
			tooltip=""
			visible_in_fog=yes
			visible_in_shroud=no
			x=13
			y=36
		[/label]
	[/command]
	[command]
		from_side=1
		sent=yes
		[move]
			x="46,45,44,43"
			y="23,24,24,25"
		[/move]
		[checkup]
			[result]
				final_hex_x=43
				final_hex_y=25
				stopped_early=no
			[/result]
			[result]
				next_unit_id=16
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		undo=no
		[label]
			category=""
			color="107,140,255"
			immutable=no
			side=2
			team_name="Team 2"
			text=3
			tooltip=""
			visible_in_fog=yes
			visible_in_shroud=no
			x=18
			y=37
		[/label]
	[/command]
	[command]
		sent=yes
		[end_turn]
			next_player_number=2
		[/end_turn]
		[checkup1]
			[result]
				next_unit_id=16
				random_calls=0
			[/result]
		[/checkup1]
	[/command]
	[command]
		[init_side]
			side_number=2
		[/init_side]
		[checkup]
			[result]
				next_unit_id=16
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		from_side=2
		[recruit]
			type="Wolf Rider"
			x=20
			y=38
			[from]
				x=2
				y=24
			[/from]
		[/recruit]
		[checkup]
			[result]
				checksum="rutBXf0bL4gaxEhk3t9n5Yc1,Q4da>,<JjYfj6jNhZ9a4,10+Ld+k5rd+ldojpf+k8h7iW50E71,HX,oc3a+lm7d<6fh+473<<e>5cZQily1F8GH7C08QFbOu5EdtGM>"
			[/result]
			[result]
				next_unit_id=17
				random_calls=22
			[/result]
		[/checkup]
	[/command]
	[command]
		dependent=yes
		from_side="server"
		sent=yes
		[random_seed]
			new_seed="19678ab6"
		[/random_seed]
	[/command]
	[command]
		from_side=2
		[recruit]
			type="Wolf Rider"
			x=15
			y=10
			[from]
				x=2
				y=24
			[/from]
		[/recruit]
		[checkup]
			[result]
				checksum="rutBXf0bL4gaxEdk3t9n5Yc1,Q4da>,<JjYfj6jNhZ9a4,10+Ld+k5rd+ldojpf+k8h7iW50E71,HX,oc3a+lm7d<6fh+873<<e>5cZQily1F8GH6C08QFbOu5EdtGM>"
			[/result]
			[result]
				next_unit_id=18
				random_calls=22
			[/result]
		[/checkup]
	[/command]
	[command]
		dependent=yes
		from_side="server"
		sent=yes
		[random_seed]
			new_seed="4778eaf3"
		[/random_seed]
	[/command]
	[command]
		from_side=2
		[recruit]
			type="Orcish Grunt"
			x=17
			y=25
			[from]
				x=2
				y=24
			[/from]
		[/recruit]
		[checkup]
			[result]
				checksum="5cbU7.h<DfoAe<>g94xfeW.wg1-1fEl4X,hk-<VH7MYbpXifhe8ir>a>519+Bg>-j0ce0lfeia9i3o.e.Xk36,T8d<NGfgQ6IR0+bivwZIFC<4f2rCsEbKQA2d+PSP3w"
			[/result]
			[result]
				next_unit_id=19
				random_calls=22
			[/result]
		[/checkup]
	[/command]
	[command]
		dependent=yes
		from_side="server"
		sent=yes
		[random_seed]
			new_seed="bdc21827"
		[/random_seed]
	[/command]
	[command]
		from_side=2
		[recruit]
			type="Orcish Grunt"
			x=13
			y=25
			[from]
				x=2
				y=24
			[/from]
		[/recruit]
		[checkup]
			[result]
				checksum="5cbU7.h<DgoAe<>g94xfeW.wg1-1fEl4X,hk-<VH7MYbpXifhe8ir>a>519+Bg>-j0ce0lfeia9i3j+e.Xk36,T8d<NGfgQ6IR0+bivwZIFC<4f2rCsEbKQA2d+PSP0v"
			[/result]
			[result]
				next_unit_id=20
				random_calls=22
			[/result]
		[/checkup]
	[/command]
	[command]
		dependent=yes
		from_side="server"
		sent=yes
		[random_seed]
			new_seed="db0cd946"
		[/random_seed]
	[/command]
	[command]
		from_side=2
		[recruit]
			type="Orcish Grunt"
			x=13
			y=24
			[from]
				x=2
				y=24
			[/from]
		[/recruit]
		[checkup]
			[result]
				checksum="5cbU7.h<DgoAe<>g94xfeW.wg1-1fEl4X,hk-<VH7MYbpXifhe8ir>a>519+Bg>-j0ce0lfeia9i3j+e.Xk36,T8d<NGfgQ6IR0+bivwZIFC<4f2rCsEbKQA2d+PSP0v"
			[/result]
			[result]
				next_unit_id=21
				random_calls=22
			[/result]
		[/checkup]
	[/command]
	[command]
		dependent=yes
		from_side="server"
		sent=yes
		[random_seed]
			new_seed="1efc71f3"
		[/random_seed]
	[/command]
	[command]
		from_side=2
		[recruit]
			type="Orcish Archer Ladder_1"
			x=16
			y=24
			[from]
				x=2
				y=24
			[/from]
		[/recruit]
		[checkup]
			[result]
				checksum="MMN0W7,CmenOi-ig8.phaf.g3-1q41-1fEl4X,hk-<VH7MYbpXgfhe8ir>a>519+Bg>-j0ce0lfeia9i3o6e.Xk36,T8d<NGWEfQAK+U3N7wZIyC<4f2zCsEbKQA2duP"
			[/result]
			[result]
				next_unit_id=22
				random_calls=22
			[/result]
		[/checkup]
	[/command]
	[command]
		dependent=yes
		from_side="server"
		sent=yes
		[random_seed]
			new_seed="0c57fba3"
		[/random_seed]
	[/command]
	[command]
		from_side=2
		[recruit]
			type="Goblin Spearman"
			x=14
			y=10
			[from]
				x=2
				y=24
			[/from]
		[/recruit]
		[checkup]
			[result]
				checksum="N1tqvroboxQg7Mt9Cki.byOHAueLwwxTFmLzHxQgJqoPMVnEpI2xrn8EALUPcA4ICpGRNqTvLeJJmyxEKAqvxvHINxPMKGOnurwHH8MMIAz5ic>d1H,.c397c34W-e0j"
			[/result]
			[result]
				next_unit_id=23
				random_calls=21
			[/result]
		[/checkup]
	[/command]
	[command]
		dependent=yes
		from_side="server"
		sent=yes
		[random_seed]
			new_seed="d0690cf4"
		[/random_seed]
	[/command]
	[command]
		from_side=2
		[recruit]
			type="Goblin Spearman"
			x=10
			y=35
			[from]
				x=2
				y=24
			[/from]
		[/recruit]
		[checkup]
			[result]
				checksum="N1tqvroboxQg7Mt9Cki.byOHAueLwwxTFmLzHxQgJqoPMVnEpI2xrn8EALUPcA4ICpGRNqTvLeJJmyxEKAqvxvHINxPMKGOnurwHH8MMIAz5ic>d1H,.c397c34W-e0j"
			[/result]
			[result]
				next_unit_id=24
				random_calls=21
			[/result]
		[/checkup]
	[/command]
	[command]
		sent=yes
		undo=no
		[speak]
			id="server"
			message="mari77 has logged into the lobby"
			time=1700064948
		[/speak]
	[/command]
	[command]
		dependent=yes
		from_side="server"
		sent=yes
		[random_seed]
			new_seed="79de518c"
		[/random_seed]
	[/command]
	[command]
		from_side=2
		[recruit]
			type="Naga Fighter"
			x=19
			y=38
			[from]
				x=2
				y=24
			[/from]
		[/recruit]
		[checkup]
			[result]
				checksum="+whO>bfaIg9Q02boFei5b7Nm80ehp8i<>bg2lB>51-8e-eV>lf3<+k.p5xmF0bpcaY6YZcv.,>mdan6h-n0o1,uc5bi<NfP2sSyy0PQm>G>PggoEGdVbWRPvvRRIF2in"
			[/result]
			[result]
				next_unit_id=25
				random_calls=23
			[/result]
		[/checkup]
	[/command]
	[command]
		dependent=yes
		from_side="server"
		sent=yes
		[random_seed]
			new_seed="4479eab2"
		[/random_seed]
	[/command]
	[command]
		from_side=2
		[move]
			x="2,3,4,5"
			y="24,24,23,23"
		[/move]
		[checkup]
			[result]
				final_hex_x=5
				final_hex_y=23
				stopped_early=no
			[/result]
			[result]
				next_unit_id=25
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		[end_turn]
			next_player_number=3
		[/end_turn]
		[checkup1]
			[result]
				next_unit_id=25
				random_calls=0
			[/result]
		[/checkup1]
		[checkup2]
			[result]
				next_unit_id=25
				random_calls=0
			[/result]
		[/checkup2]
	[/command]
	[command]
		sent=yes
		[init_side]
			side_number=1
		[/init_side]
		[checkup]
			[result]
				next_unit_id=25
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		from_side=1
		sent=yes
		[move]
			x="42,42,42,43,43,43"
			y="39,40,41,42,43,44"
		[/move]
		[checkup]
			[result]
				final_hex_x=43
				final_hex_y=44
				stopped_early=no
			[/result]
			[result]
				next_unit_id=25
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		from_side=1
		sent=yes
		[move]
			x="35,34,33"
			y="37,36,36"
		[/move]
		[checkup]
			[result]
				final_hex_x=33
				final_hex_y=36
				stopped_early=no
			[/result]
			[result]
				next_unit_id=25
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		from_side=1
		sent=yes
		[move]
			x="31,32,33,34,34,35"
			y="39,39,40,40,41,42"
		[/move]
		[checkup]
			[result]
				final_hex_x=35
				final_hex_y=42
				stopped_early=no
			[/result]
			[result]
				next_unit_id=25
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		from_side=1
		sent=yes
		[move]
			x="35,35,35,35,35"
			y="24,25,26,27,28"
		[/move]
		[checkup]
			[result]
				final_hex_x=35
				final_hex_y=28
				stopped_early=no
			[/result]
			[result]
				next_unit_id=25
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		from_side=1
		sent=yes
		[move]
			x="35,35,35,35"
			y="23,22,21,20"
		[/move]
		[checkup]
			[result]
				final_hex_x=35
				final_hex_y=20
				stopped_early=no
			[/result]
			[result]
				next_unit_id=25
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		from_side=1
		sent=yes
		[move]
			x="32,31,30,29,28"
			y="23,24,24,25,25"
		[/move]
		[checkup]
			[result]
				final_hex_x=28
				final_hex_y=25
				stopped_early=no
			[/result]
			[result]
				next_unit_id=25
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		from_side=1
		sent=yes
		[move]
			x="31,31,30,30"
			y="24,23,22,21"
		[/move]
		[checkup]
			[result]
				final_hex_x=30
				final_hex_y=21
				stopped_early=no
			[/result]
			[result]
				next_unit_id=25
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		from_side=1
		sent=yes
		[move]
			x="33,32,31,30,29,28,27"
			y="24,23,24,23,23,22,22"
		[/move]
		[checkup]
			[result]
				final_hex_x=27
				final_hex_y=22
				stopped_early=no
			[/result]
			[result]
				next_unit_id=25
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		from_side=1
		sent=yes
		[move]
			x="38,39,39,40,40,41"
			y="10,10,9,8,7,7"
		[/move]
		[checkup]
			[result]
				final_hex_x=41
				final_hex_y=7
				stopped_early=no
			[/result]
			[result]
				next_unit_id=25
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		from_side=1
		sent=yes
		[move]
			x="38,37,36,35"
			y="12,12,12,12"
		[/move]
		[checkup]
			[result]
				final_hex_x=35
				final_hex_y=12
				stopped_early=no
			[/result]
			[result]
				next_unit_id=25
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		from_side=1
		sent=yes
		[move]
			x="31,30"
			y="10,10"
		[/move]
		[checkup]
			[result]
				final_hex_x=30
				final_hex_y=10
				stopped_early=no
			[/result]
			[result]
				next_unit_id=25
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		from_side=1
		sent=yes
		[move]
			x="29,29,29,29,29,28"
			y="10,11,12,13,14,14"
		[/move]
		[checkup]
			[result]
				final_hex_x=28
				final_hex_y=14
				stopped_early=no
			[/result]
			[result]
				next_unit_id=25
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		from_side=1
		sent=yes
		[move]
			x="30,30,30,30,30,29"
			y="9,8,7,6,5,5"
		[/move]
		[checkup]
			[result]
				final_hex_x=29
				final_hex_y=5
				stopped_early=no
			[/result]
			[result]
				next_unit_id=25
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		from_side=1
		sent=yes
		[move]
			x="43,42,41,40,39,38"
			y="25,24,24,23,24,23"
		[/move]
		[checkup]
			[result]
				final_hex_x=38
				final_hex_y=23
				stopped_early=no
			[/result]
			[result]
				next_unit_id=25
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		sent=yes
		undo=no
		[speak]
			id="server"
			message="simone has logged into the lobby"
			time=1700065086
		[/speak]
	[/command]
	[command]
		from_side=1
		sent=yes
		[recruit]
			type="Ghost"
			x=24
			y=9
			[from]
				x=38
				y=23
			[/from]
		[/recruit]
		[checkup]
			[result]
				checksum=".3tnxFGR8KAdAETQIH<FtIuqo9JR6xsRFAMBUxupkFoGNyL3vOxK06hNsZPnmhmpEI3byDtU>xLDQZnFVxEww7HjIfAblamGhn,OpJav1XlmW>rfAIqoYKsOI9vwQNAF"
			[/result]
			[result]
				next_unit_id=26
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		sent=yes
		undo=no
		[speak]
			id="server"
			message="timvang has logged into the lobby"
			time=1700065090
		[/speak]
	[/command]
	[command]
		sent=yes
		[end_turn]
			next_player_number=2
		[/end_turn]
		[checkup1]
			[result]
				next_unit_id=26
				random_calls=0
			[/result]
		[/checkup1]
	[/command]
	[command]
		[init_side]
			side_number=2
		[/init_side]
		[checkup]
			[result]
				next_unit_id=26
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		undo=no
		[speak]
			id="ikomizo"
			message="na csak kihagytam egy falvat xD"
			side=2
			time=1700065107
		[/speak]
	[/command]
	[command]
		from_side=2
		[move]
			x="10,11,12,13"
			y="35,36,35,36"
		[/move]
		[checkup]
			[result]
				final_hex_x=13
				final_hex_y=36
				stopped_early=no
			[/result]
			[result]
				next_unit_id=26
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		undo=no
		[clear_labels]
			force=no
			team_name="Team 2"
		[/clear_labels]
	[/command]
	[command]
		from_side=2
		[move]
			x="19,20,20,21,21,21,20"
			y="38,37,36,36,35,34,33"
		[/move]
		[checkup]
			[result]
				final_hex_x=20
				final_hex_y=33
				stopped_early=no
			[/result]
			[result]
				next_unit_id=26
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		from_side=2
		[move]
			x="20,20,20,20,20,19"
			y="38,39,40,41,42,43"
		[/move]
		[checkup]
			[result]
				final_hex_x=19
				final_hex_y=43
				stopped_early=no
			[/result]
			[result]
				next_unit_id=26
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		from_side=2
		[move]
			x="17,18,19,19,20"
			y="25,24,24,23,22"
		[/move]
		[checkup]
			[result]
				final_hex_x=20
				final_hex_y=22
				stopped_early=no
			[/result]
			[result]
				next_unit_id=26
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		from_side=2
		[move]
			x="16,17,18,18"
			y="24,25,25,26"
		[/move]
		[checkup]
			[result]
				final_hex_x=18
				final_hex_y=26
				stopped_early=no
			[/result]
			[result]
				next_unit_id=26
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		from_side=2
		[move]
			x="13,13,13,13,13"
			y="24,23,22,21,20"
		[/move]
		[checkup]
			[result]
				final_hex_x=13
				final_hex_y=20
				stopped_early=no
			[/result]
			[result]
				next_unit_id=26
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		from_side=2
		[move]
			x="13,13,13,13"
			y="25,26,27,28"
		[/move]
		[checkup]
			[result]
				final_hex_x=13
				final_hex_y=28
				stopped_early=no
			[/result]
			[result]
				next_unit_id=26
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		from_side=2
		[move]
			x="14,14,15"
			y="10,11,12"
		[/move]
		[checkup]
			[result]
				final_hex_x=15
				final_hex_y=12
				stopped_early=no
			[/result]
			[result]
				next_unit_id=26
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		from_side=2
		[move]
			x="15,15,15,14,14,13"
			y="10,9,8,7,6,6"
		[/move]
		[checkup]
			[result]
				final_hex_x=13
				final_hex_y=6
				stopped_early=no
			[/result]
			[result]
				next_unit_id=26
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		from_side=2
		[move]
			x="5,6,7,7,7"
			y="23,22,22,21,20"
		[/move]
		[checkup]
			[result]
				final_hex_x=7
				final_hex_y=20
				stopped_early=no
			[/result]
			[result]
				next_unit_id=26
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		from_side=2
		[recruit]
			type="Troll Whelp"
			x=17
			y=25
			[from]
				x=7
				y=20
			[/from]
		[/recruit]
		[checkup]
			[result]
				checksum="-ocl14NvE<.nsSBHjy4f+63L18ip4.b>>x-+36.<kdkcs67Pmp32DkA2>2bggN8l2.>s6bz4mfQ<4c.bt5ke5.ln9eF7et.kMdxh2Gdv6,Uo<bsIhZYi-VT-s<-iEowr"
			[/result]
			[result]
				next_unit_id=27
				random_calls=22
			[/result]
		[/checkup]
	[/command]
	[command]
		sent=yes
		undo=no
		[speak]
			id="server"
			message="gantic has logged into the lobby"
			time=1700065192
		[/speak]
	[/command]
	[command]
		dependent=yes
		from_side="server"
		sent=yes
		[random_seed]
			new_seed="6a54eea8"
		[/random_seed]
	[/command]
	[command]
		from_side=2
		[recruit]
			type="Troll Whelp"
			x=19
			y=38
			[from]
				x=7
				y=20
			[/from]
		[/recruit]
		[checkup]
			[result]
				checksum="-ocl14NzE<.nsSBHjy4f+63L18ip4.b>>x-+36.<kdkcs67Pmp32DkA2>2bggN8l2.>s6bz4mfQ<4c.bt5ke5.hn9eF7et.kMdxh2Gdv6,Up<bsIhZYi-VT-s<-iEowr"
			[/result]
			[result]
				next_unit_id=28
				random_calls=22
			[/result]
		[/checkup]
	[/command]
	[command]
		dependent=yes
		from_side="server"
		sent=yes
		[random_seed]
			new_seed="8f652c03"
		[/random_seed]
	[/command]
	[command]
		[end_turn]
			next_player_number=3
		[/end_turn]
		[checkup1]
			[result]
				next_unit_id=28
				random_calls=0
			[/result]
		[/checkup1]
		[checkup2]
			[result]
				next_unit_id=28
				random_calls=0
			[/result]
		[/checkup2]
	[/command]
	[command]
		sent=yes
		[init_side]
			side_number=1
		[/init_side]
		[checkup]
			[result]
				next_unit_id=28
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		from_side=1
		sent=yes
		[move]
			x="43,42,41,40,39,38"
			y="44,44,44,44,44,43"
		[/move]
		[checkup]
			[result]
				final_hex_x=38
				final_hex_y=43
				stopped_early=no
			[/result]
			[result]
				next_unit_id=28
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		from_side=1
		sent=yes
		[move]
			x="35,34,33,32,31,30,29"
			y="42,41,41,41,41,40,41"
		[/move]
		[checkup]
			[result]
				final_hex_x=29
				final_hex_y=41
				stopped_early=no
			[/result]
			[result]
				next_unit_id=28
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		from_side=1
		sent=yes
		[move]
			x="33,32,31,30,29"
			y="36,35,36,36,36"
		[/move]
		[checkup]
			[result]
				final_hex_x=29
				final_hex_y=36
				stopped_early=no
			[/result]
			[result]
				next_unit_id=28
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		from_side=1
		sent=yes
		[move]
			x="24,23,22,21,20,19,18,17"
			y="9,9,8,8,7,7,6,6"
		[/move]
		[checkup]
			[result]
				final_hex_x=22
				final_hex_y=8
				stopped_early=yes
			[/result]
			[result]
				next_unit_id=28
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		from_side=1
		sent=yes
		[move]
			x="22,21,20,19,18,17"
			y="8,8,7,7,6,6"
		[/move]
		[checkup]
			[result]
				final_hex_x=21
				final_hex_y=8
				stopped_early=yes
			[/result]
			[result]
				next_unit_id=28
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		from_side=1
		sent=yes
		[move]
			x="21,20,19,18,17"
			y="8,7,7,6,6"
		[/move]
		[checkup]
			[result]
				final_hex_x=17
				final_hex_y=6
				stopped_early=no
			[/result]
			[result]
				next_unit_id=28
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		from_side=1
		sent=yes
		[recruit]
			type="Dark Adept"
			x=24
			y=9
			[from]
				x=38
				y=23
			[/from]
		[/recruit]
		[checkup]
			[result]
				checksum="sNA8oMzRhKN5Oq9ztvrFoIAO9wyxQTotsJUQRRFflocGrDgV>Htxr6B1M+qyf7,naC+EVKDB1R8IsUnpJ>JnxRva,O6ucwzkOeQ6Nj+Sh8RvIg8j-uoMpcHl9EBn<-df"
			[/result]
			[result]
				next_unit_id=29
				random_calls=23
			[/result]
		[/checkup]
	[/command]
	[command]
		dependent=yes
		from_side="server"
		sent=yes
		[random_seed]
			new_seed="9a3fa136"
		[/random_seed]
	[/command]
	[command]
		from_side=1
		sent=yes
		[move]
			x="29,28,27,26,25,24"
			y="5,5,6,6,6,6"
		[/move]
		[checkup]
			[result]
				final_hex_x=24
				final_hex_y=6
				stopped_early=no
			[/result]
			[result]
				next_unit_id=29
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		from_side=1
		sent=yes
		[recruit]
			type="Vampire Bat Ladder_1"
			x=23
			y=10
			[from]
				x=38
				y=23
			[/from]
		[/recruit]
		[checkup]
			[result]
				checksum=">5lY.f8XNY6QY4j3kzcxp>WGj00n9<ah7+0+-1S3nhI5oioK7xqaG-47dZW>b>f+14,Hcd0>Ihdeb300x6W-MQ<bgROo2FtAKwp<AbJ6woEm..WI0k+Y3dxPg>i53fam"
			[/result]
			[result]
				next_unit_id=30
				random_calls=1
			[/result]
		[/checkup]
	[/command]
	[command]
		dependent=yes
		from_side="server"
		sent=yes
		[random_seed]
			new_seed="b4656036"
		[/random_seed]
	[/command]
	[command]
		from_side=1
		sent=yes
		[move]
			x="28,27,26,25,25,24,23"
			y="14,15,15,16,17,17,18"
		[/move]
		[checkup]
			[result]
				final_hex_x=23
				final_hex_y=18
				stopped_early=no
			[/result]
			[result]
				next_unit_id=30
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		from_side=1
		sent=yes
		[move]
			x="30,29,28,27,26"
			y="21,21,21,22,21"
		[/move]
		[checkup]
			[result]
				final_hex_x=26
				final_hex_y=21
				stopped_early=no
			[/result]
			[result]
				next_unit_id=30
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		from_side=1
		sent=yes
		[move]
			x="27,26,25,24,23,22,21"
			y="22,22,22,21,22,21,22"
		[/move]
		[checkup]
			[result]
				final_hex_x=24
				final_hex_y=21
				stopped_early=yes
			[/result]
			[result]
				next_unit_id=30
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		from_side=1
		sent=yes
		[move]
			x="24,23,23"
			y="21,21,20"
		[/move]
		[checkup]
			[result]
				final_hex_x=23
				final_hex_y=20
				stopped_early=no
			[/result]
			[result]
				next_unit_id=30
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		from_side=1
		sent=yes
		[move]
			x="28,28,28,28,27"
			y="25,24,23,22,22"
		[/move]
		[checkup]
			[result]
				final_hex_x=27
				final_hex_y=22
				stopped_early=no
			[/result]
			[result]
				next_unit_id=30
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		from_side=1
		sent=yes
		[move]
			x="35,34,33,32,31"
			y="12,12,12,11,12"
		[/move]
		[checkup]
			[result]
				final_hex_x=31
				final_hex_y=12
				stopped_early=no
			[/result]
			[result]
				next_unit_id=30
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		from_side=1
		sent=yes
		[move]
			x="30,29,28,27,26"
			y="10,11,11,12,11"
		[/move]
		[checkup]
			[result]
				final_hex_x=26
				final_hex_y=11
				stopped_early=no
			[/result]
			[result]
				next_unit_id=30
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		from_side=1
		sent=yes
		[move]
			x="41,40,39,38,37,36,35"
			y="7,7,8,8,9,9,9"
		[/move]
		[checkup]
			[result]
				final_hex_x=35
				final_hex_y=9
				stopped_early=no
			[/result]
			[result]
				next_unit_id=30
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		from_side=1
		sent=yes
		[move]
			x="35,35,34,33,32"
			y="20,21,21,22,22"
		[/move]
		[checkup]
			[result]
				final_hex_x=32
				final_hex_y=22
				stopped_early=no
			[/result]
			[result]
				next_unit_id=30
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		from_side=1
		sent=yes
		[move]
			x="38,37,36,35,34"
			y="23,23,23,23,23"
		[/move]
		[checkup]
			[result]
				final_hex_x=34
				final_hex_y=23
				stopped_early=no
			[/result]
			[result]
				next_unit_id=30
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		from_side=1
		sent=yes
		[move]
			x="34,33"
			y="23,24"
		[/move]
		[checkup]
			[result]
				final_hex_x=33
				final_hex_y=24
				stopped_early=no
			[/result]
			[result]
				next_unit_id=30
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		from_side=1
		sent=yes
		[move]
			x="35,34,33,32,31"
			y="28,27,27,27,27"
		[/move]
		[checkup]
			[result]
				final_hex_x=31
				final_hex_y=27
				stopped_early=no
			[/result]
			[result]
				next_unit_id=30
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		sent=yes
		[end_turn]
			next_player_number=2
		[/end_turn]
		[checkup1]
			[result]
				next_unit_id=30
				random_calls=0
			[/result]
		[/checkup1]
	[/command]
	[command]
		[init_side]
			side_number=2
		[/init_side]
		[checkup]
			[result]
				next_unit_id=30
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		from_side=2
		[move]
			x="7,8,8,9,10,11"
			y="20,19,18,18,17,17"
		[/move]
		[checkup]
			[result]
				final_hex_x=11
				final_hex_y=17
				stopped_early=no
			[/result]
			[result]
				next_unit_id=30
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		from_side=2
		[move]
			x="19,20,21,22,23"
			y="43,42,42,42,42"
		[/move]
		[checkup]
			[result]
				final_hex_x=20
				final_hex_y=42
				stopped_early=yes
			[/result]
			[result]
				next_unit_id=30
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		from_side=2
		[move]
			x="20,21,22,23"
			y="42,42,42,42"
		[/move]
		[checkup]
			[result]
				final_hex_x=23
				final_hex_y=42
				stopped_early=no
			[/result]
			[result]
				next_unit_id=30
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		from_side=2
		[move]
			x="19,18"
			y="38,37"
		[/move]
		[checkup]
			[result]
				final_hex_x=18
				final_hex_y=37
				stopped_early=no
			[/result]
			[result]
				next_unit_id=30
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		from_side=2
		[move]
			x="23,22"
			y="42,41"
		[/move]
		[checkup]
			[result]
				final_hex_x=22
				final_hex_y=41
				stopped_early=no
			[/result]
			[result]
				next_unit_id=30
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		from_side=2
		[move]
			x="22,21"
			y="41,41"
		[/move]
		[checkup]
			[result]
				final_hex_x=21
				final_hex_y=41
				stopped_early=no
			[/result]
			[result]
				next_unit_id=30
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		from_side=2
		[move]
			x="20,20,20,20,20,21"
			y="33,32,31,30,29,29"
		[/move]
		[checkup]
			[result]
				final_hex_x=21
				final_hex_y=29
				stopped_early=no
			[/result]
			[result]
				next_unit_id=30
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		from_side=2
		[move]
			x="21,22,22"
			y="29,28,27"
		[/move]
		[checkup]
			[result]
				final_hex_x=22
				final_hex_y=27
				stopped_early=no
			[/result]
			[result]
				next_unit_id=30
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		from_side=2
		[move]
			x="17,18,19,20,21,22"
			y="25,24,24,23,23,23"
		[/move]
		[checkup]
			[result]
				final_hex_x=22
				final_hex_y=23
				stopped_early=no
			[/result]
			[result]
				next_unit_id=30
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		from_side=2
		[move]
			x="13,14,15,16,17,18"
			y="20,20,21,21,21,21"
		[/move]
		[checkup]
			[result]
				final_hex_x=18
				final_hex_y=21
				stopped_early=no
			[/result]
			[result]
				next_unit_id=30
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		from_side=2
		[move]
			x="13,13,14,14,14"
			y="36,35,34,33,32"
		[/move]
		[checkup]
			[result]
				final_hex_x=14
				final_hex_y=32
				stopped_early=no
			[/result]
			[result]
				next_unit_id=30
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		from_side=2
		[recruit]
			type="Orcish Archer Ladder_1"
			x=6
			y=8
			[from]
				x=11
				y=17
			[/from]
		[/recruit]
		[checkup]
			[result]
				checksum="MMN7W7,CmenOi-ig8.phaf.g3-1q41-1fEl4X,hk-<VH7MYbpXgfhe8ir>a>519+Bg>-j0ce0lfeia9i3o1e.Xk36,T8d<NGWEfQAK+U3N7wZIyC<4f5xCsEbKQA2duP"
			[/result]
			[result]
				next_unit_id=31
				random_calls=22
			[/result]
		[/checkup]
	[/command]
	[command]
		dependent=yes
		from_side="server"
		sent=yes
		[random_seed]
			new_seed="215f35ab"
		[/random_seed]
	[/command]
	[command]
		from_side=2
		[move]
			x="13,14,15,15,16,17"
			y="28,28,29,30,30,30"
		[/move]
		[checkup]
			[result]
				final_hex_x=17
				final_hex_y=30
				stopped_early=no
			[/result]
			[result]
				next_unit_id=31
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		from_side=2
		[recruit]
			type="Orcish Archer Ladder_1"
			x=19
			y=38
			[from]
				x=11
				y=17
			[/from]
		[/recruit]
		[checkup]
			[result]
				checksum="MMN5W7,CmenOi,ig8.phaf.g3-1q41-1fEl4X,hk-<VH7MYbpXgfhe8ir>a>519+Bg>-j0ce0lfeia9i3o-e.Xk36,T8d<NGXEfQAK+U3N7wZIyC<4f2zCsEbKQA2duP"
			[/result]
			[result]
				next_unit_id=32
				random_calls=22
			[/result]
		[/checkup]
	[/command]
	[command]
		dependent=yes
		from_side="server"
		sent=yes
		[random_seed]
			new_seed="4d4aaf89"
		[/random_seed]
	[/command]
	[command]
		from_side=2
		[recruit]
			type="Wolf Rider"
			x=17
			y=25
			[from]
				x=11
				y=17
			[/from]
		[/recruit]
		[checkup]
			[result]
				checksum="rutBXf0bL4gaxEak3t9n5Yc1.Q4da>,<JjYfj6jNhZ9a4,10+Ld+k5rd+ldojpf+k8h7iW50E71,HX,oc3a+lm7d<6fh+773<<e>5cZQily1F8GH7C08QFbOu5EdtGM>"
			[/result]
			[result]
				next_unit_id=33
				random_calls=22
			[/result]
		[/checkup]
	[/command]
	[command]
		dependent=yes
		from_side="server"
		sent=yes
		[random_seed]
			new_seed="7e2b7166"
		[/random_seed]
	[/command]
	[command]
		sent=yes
		undo=no
		[speak]
			id="server"
			message="WorshipTheFallen has logged into the lobby"
			time=1700065573
		[/speak]
	[/command]
	[command]
		from_side=2
		[recruit]
			type="Goblin Spearman"
			x=11
			y=16
			[from]
				x=11
				y=17
			[/from]
		[/recruit]
		[checkup]
			[result]
				checksum="N1tqvroboxQg6Mt9Cki.byPHAueLwwxTFmLzHxQgJqoPMVnEpI2xrn8EALUPcA4ICpGRNqTvLeJJmyxEKAqvxvHINxPNKGOnurwHH8MMIAz5ic>d1H,.c397c34W-j0j"
			[/result]
			[result]
				next_unit_id=34
				random_calls=21
			[/result]
		[/checkup]
	[/command]
	[command]
		dependent=yes
		from_side="server"
		sent=yes
		[random_seed]
			new_seed="ff9687ba"
		[/random_seed]
	[/command]
	[command]
		from_side=2
		[recruit]
			type="Goblin Spearman"
			x=11
			y=15
			[from]
				x=11
				y=17
			[/from]
		[/recruit]
		[checkup]
			[result]
				checksum="N1tqvroboxQg6Mt9Cki.byPHAueLwwxTFmLzHxQgJqoPMVnEpI2xrn8EALUPcA4ICpGRNqTvLeJJmyxEKAqvxvHINxPNKGOnurwHH8MMIAz5ic>d1H,.c397c34W-j0j"
			[/result]
			[result]
				next_unit_id=35
				random_calls=21
			[/result]
		[/checkup]
	[/command]
	[command]
		dependent=yes
		from_side="server"
		sent=yes
		[random_seed]
			new_seed="b1666ffe"
		[/random_seed]
	[/command]
	[command]
		[end_turn]
			next_player_number=3
		[/end_turn]
		[checkup1]
			[result]
				next_unit_id=35
				random_calls=0
			[/result]
		[/checkup1]
		[checkup2]
			[result]
				next_unit_id=35
				random_calls=0
			[/result]
		[/checkup2]
	[/command]
	[command]
		sent=yes
		[init_side]
			side_number=1
		[/init_side]
		[checkup]
			[result]
				next_unit_id=35
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		sent=yes
		undo=no
		[speak]
			id="server"
			message="ElvishRiceCooker has logged into the lobby"
			time=1700065610
		[/speak]
	[/command]
	[command]
		from_side=1
		sent=yes
		[move]
			x="17,16,15,14,13,12,11,10"
			y="6,5,5,4,4,3,3,3"
		[/move]
		[checkup]
			[result]
				final_hex_x=14
				final_hex_y=4
				stopped_early=yes
			[/result]
			[result]
				next_unit_id=35
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		sent=yes
		undo=no
		[speak]
			id="server"
			message="catbegemot has logged into the lobby"
			time=1700065631
		[/speak]
	[/command]
	[command]
		from_side=1
		sent=yes
		[move]
			x="24,23,22,21,20,19"
			y="6,7,6,6,6,6"
		[/move]
		[checkup]
			[result]
				final_hex_x=19
				final_hex_y=6
				stopped_early=no
			[/result]
			[result]
				next_unit_id=35
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		from_side=1
		sent=yes
		[move]
			x="24,23,22,21,20,19,18"
			y="9,9,8,8,7,8,8"
		[/move]
		[checkup]
			[result]
				final_hex_x=18
				final_hex_y=8
				stopped_early=no
			[/result]
			[result]
				next_unit_id=35
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		sent=yes
		undo=no
		[speak]
			id="server"
			message="staskolisnyk has logged into the lobby"
			time=1700065646
		[/speak]
	[/command]
	[command]
		from_side=1
		sent=yes
		[move]
			x="14,13,12,12"
			y="4,4,4,5"
		[/move]
		[checkup]
			[result]
				final_hex_x=12
				final_hex_y=5
				stopped_early=no
			[/result]
			[result]
				next_unit_id=35
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		from_side=1
		sent=yes
		[attack]
			attacker_lvl=1
			attacker_type="Ghost"
			defender_lvl=1
			defender_type="Wolf Rider"
			defender_weapon=-1
			tod="dusk"
			turn=4
			weapon=1
			[source]
				x=12
				y=5
			[/source]
			[destination]
				x=13
				y=6
			[/destination]
		[/attack]
		[checkup]
			[result]
				chance=50
				damage=3
				hits=yes
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				chance=50
				damage=3
				hits=yes
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				chance=50
				damage=3
				hits=yes
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				next_unit_id=35
				random_calls=3
			[/result]
		[/checkup]
	[/command]
	[command]
		dependent=yes
		from_side="server"
		sent=yes
		[random_seed]
			new_seed="ac7be275"
		[/random_seed]
	[/command]
	[command]
		from_side=1
		sent=yes
		[move]
			x="23,22,21,21,20,19,18"
			y="18,17,17,16,15,16,15"
		[/move]
		[checkup]
			[result]
				final_hex_x=18
				final_hex_y=15
				stopped_early=no
			[/result]
			[result]
				next_unit_id=35
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		from_side=1
		sent=yes
		[move]
			x="26,25,24,23,22"
			y="11,12,12,12,12"
		[/move]
		[checkup]
			[result]
				final_hex_x=22
				final_hex_y=12
				stopped_early=no
			[/result]
			[result]
				next_unit_id=35
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		from_side=1
		sent=yes
		[move]
			x="23,22,21,20,19,19,19"
			y="20,19,19,18,18,17,16"
		[/move]
		[checkup]
			[result]
				final_hex_x=19
				final_hex_y=16
				stopped_early=no
			[/result]
			[result]
				next_unit_id=35
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		from_side=1
		sent=yes
		[move]
			x="31,30,29,28"
			y="27,26,26,25"
		[/move]
		[checkup]
			[result]
				final_hex_x=28
				final_hex_y=25
				stopped_early=no
			[/result]
			[result]
				next_unit_id=35
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		from_side=1
		sent=yes
		[move]
			x="38,37,36,35,34,33"
			y="43,43,42,42,42,42"
		[/move]
		[checkup]
			[result]
				final_hex_x=33
				final_hex_y=42
				stopped_early=no
			[/result]
			[result]
				next_unit_id=35
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		from_side=1
		sent=yes
		[move]
			x="29,28,27,26"
			y="41,41,41,41"
		[/move]
		[checkup]
			[result]
				final_hex_x=28
				final_hex_y=41
				stopped_early=yes
			[/result]
			[result]
				next_unit_id=35
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		from_side=1
		sent=yes
		[move]
			x="29,29,29,29,29"
			y="36,37,38,39,40"
		[/move]
		[checkup]
			[result]
				final_hex_x=29
				final_hex_y=40
				stopped_early=no
			[/result]
			[result]
				next_unit_id=35
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		from_side=1
		sent=yes
		[move]
			x="28,27,26,25"
			y="41,42,41,42"
		[/move]
		[checkup]
			[result]
				final_hex_x=25
				final_hex_y=42
				stopped_early=no
			[/result]
			[result]
				next_unit_id=35
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		from_side=1
		sent=yes
		[move]
			x="33,32,31"
			y="24,23,24"
		[/move]
		[checkup]
			[result]
				final_hex_x=31
				final_hex_y=24
				stopped_early=no
			[/result]
			[result]
				next_unit_id=35
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		from_side=1
		sent=yes
		[recruit]
			type="Skeleton Archer Ladder_1"
			x=29
			y=39
			[from]
				x=31
				y=24
			[/from]
		[/recruit]
		[checkup]
			[result]
				checksum="H5P5.ZS9OrzMlE.+i4>Q4qGL>cMfMNl<Y5f<,B2zPSv44.dE8ibjPf2Rev0HEMLYKaxQm-0l56<<zH+6N0fWqrBo>9088c<,ugNP>mJfZ4q3IVezvdyHqBW.6FwXcau4"
			[/result]
			[result]
				next_unit_id=36
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		from_side=1
		sent=yes
		[move]
			x="23,23,22,21,20,19,19,18"
			y="10,9,8,8,8,9,10,10"
		[/move]
		[checkup]
			[result]
				final_hex_x=18
				final_hex_y=10
				stopped_early=no
			[/result]
			[result]
				next_unit_id=36
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		sent=yes
		undo=no
		[speak]
			id="server"
			message="Conscience has logged into the lobby"
			time=1700065793
		[/speak]
	[/command]
	[command]
		sent=yes
		undo=no
		[speak]
			id="server"
			message="isaac85 has logged into the lobby"
			time=1700065816
		[/speak]
	[/command]
	[command]
		from_side=1
		sent=yes
		[recruit]
			type="Skeleton Archer Ladder_1"
			x=24
			y=9
			[from]
				x=31
				y=24
			[/from]
		[/recruit]
		[checkup]
			[result]
				checksum="H5P5.ZS9OrzMlE.+i4>Q4qGL>cMfMNl<Y5f<,B2zPSv44.dE8ibjPf2Rev0HEMLYKaxQm-0l56<<zH+6N0fWqrBo>9088c<,ugNP>mJfZ4q3IVezvdyHqBW.6FwXcau4"
			[/result]
			[result]
				next_unit_id=37
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		from_side=1
		sent=yes
		[move]
			x="35,34,33,32,31,30,29"
			y="9,9,10,9,10,10,11"
		[/move]
		[checkup]
			[result]
				final_hex_x=29
				final_hex_y=11
				stopped_early=no
			[/result]
			[result]
				next_unit_id=37
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		from_side=1
		sent=yes
		[move]
			x="31,30,29,29,28"
			y="12,12,13,14,14"
		[/move]
		[checkup]
			[result]
				final_hex_x=28
				final_hex_y=14
				stopped_early=no
			[/result]
			[result]
				next_unit_id=37
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		from_side=1
		sent=yes
		[move]
			x="32,31,30"
			y="22,22,21"
		[/move]
		[checkup]
			[result]
				final_hex_x=30
				final_hex_y=21
				stopped_early=no
			[/result]
			[result]
				next_unit_id=37
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		from_side=1
		sent=yes
		[move]
			x="27,28,28,28,27"
			y="22,22,23,24,25"
		[/move]
		[checkup]
			[result]
				final_hex_x=27
				final_hex_y=25
				stopped_early=no
			[/result]
			[result]
				next_unit_id=37
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		sent=yes
		undo=no
		[speak]
			id="server"
			message="Sigm4 has logged into the lobby"
			time=1700065866
		[/speak]
	[/command]
	[command]
		from_side=1
		sent=yes
		[move]
			x="26,27,28,28,28"
			y="21,22,22,23,24"
		[/move]
		[checkup]
			[result]
				final_hex_x=28
				final_hex_y=24
				stopped_early=no
			[/result]
			[result]
				next_unit_id=37
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		sent=yes
		[end_turn]
			next_player_number=2
		[/end_turn]
		[checkup1]
			[result]
				next_unit_id=37
				random_calls=0
			[/result]
		[/checkup1]
	[/command]
	[command]
		[init_side]
			side_number=2
		[/init_side]
		[checkup]
			[result]
				next_unit_id=37
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		from_side=2
		[move]
			x="11,12,13,13,14,15"
			y="16,15,15,14,13,13"
		[/move]
		[checkup]
			[result]
				final_hex_x=14
				final_hex_y=13
				stopped_early=yes
			[/result]
			[result]
				next_unit_id=37
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		from_side=2
		[move]
			x="14,15"
			y="13,13"
		[/move]
		[checkup]
			[result]
				final_hex_x=15
				final_hex_y=13
				stopped_early=no
			[/result]
			[result]
				next_unit_id=37
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		from_side=2
		[move]
			x="11,12,13,14,15"
			y="15,15,15,14,15"
		[/move]
		[checkup]
			[result]
				final_hex_x=15
				final_hex_y=15
				stopped_early=no
			[/result]
			[result]
				next_unit_id=37
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		from_side=2
		[move]
			x="15,16,16,17,18"
			y="12,12,13,14,14"
		[/move]
		[checkup]
			[result]
				final_hex_x=17
				final_hex_y=14
				stopped_early=yes
			[/result]
			[result]
				next_unit_id=37
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		from_side=2
		[move]
			x="17,18"
			y="14,14"
		[/move]
		[checkup]
			[result]
				final_hex_x=18
				final_hex_y=14
				stopped_early=no
			[/result]
			[result]
				next_unit_id=37
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		from_side=2
		[attack]
			attacker_lvl=0
			attacker_type="Goblin Spearman"
			defender_lvl=1
			defender_type="Dark Adept"
			defender_weapon=-1
			tod="dusk"
			turn=4
			weapon=0
			[source]
				x=18
				y=14
			[/source]
			[destination]
				x=18
				y=15
			[/destination]
		[/attack]
		[checkup]
			[result]
				chance=60
				damage=6
				hits=yes
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				chance=60
				damage=6
				hits=yes
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				chance=60
				damage=6
				hits=yes
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				next_unit_id=37
				random_calls=3
			[/result]
		[/checkup]
	[/command]
	[command]
		dependent=yes
		from_side="server"
		sent=yes
		[random_seed]
			new_seed="94fe63b2"
		[/random_seed]
	[/command]
	[command]
		from_side=2
		[recruit]
			type="Orcish Grunt"
			x=14
			y=10
			[from]
				x=11
				y=17
			[/from]
		[/recruit]
		[checkup]
			[result]
				checksum="5cbU7.h<DfoAe<>g94xfeW.wg1-1fEl4X,hk-<VH7MYbpXifhe8ir>a>519+Bg>-j0ce0lfeia9i3o.e.Xk36,T8d<NGfgQ6IR0+bivwZIFC<4f2rCsEbKQA2d+PSP3w"
			[/result]
			[result]
				next_unit_id=38
				random_calls=22
			[/result]
		[/checkup]
	[/command]
	[command]
		dependent=yes
		from_side="server"
		sent=yes
		[random_seed]
			new_seed="abbf2905"
		[/random_seed]
	[/command]
	[command]
		from_side=2
		[move]
			x="13,13,14,14,14,14,14,15"
			y="6,7,7,8,9,10,11,12"
		[/move]
		[checkup]
			[result]
				final_hex_x=15
				final_hex_y=12
				stopped_early=no
			[/result]
			[result]
				next_unit_id=38
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		from_side=2
		[recruit]
			type="Orcish Archer Ladder_1"
			x=19
			y=9
			[from]
				x=11
				y=17
			[/from]
		[/recruit]
		[checkup]
			[result]
				checksum="MMN8W7,CmenOi,ig8.phaf.g3-1q41-1fEl4X,hk-<VH7MYbpXgfhe8ir>a>519+Bg>-j0ce0lfeia9i3o<e.Xk36,T8d<NGXEfQAK+U3N7wZIyC<4f5xCsEbKQA2duP"
			[/result]
			[result]
				next_unit_id=39
				random_calls=22
			[/result]
		[/checkup]
	[/command]
	[command]
		dependent=yes
		from_side="server"
		sent=yes
		[random_seed]
			new_seed="18371af4"
		[/random_seed]
	[/command]
	[command]
		from_side=2
		[move]
			x="6,6,6,6,5,5"
			y="8,7,6,5,5,4"
		[/move]
		[checkup]
			[result]
				final_hex_x=5
				final_hex_y=4
				stopped_early=no
			[/result]
			[result]
				next_unit_id=39
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		from_side=2
		[move]
			x="20,20,21,22,22,21,20"
			y="22,21,21,20,19,19,18"
		[/move]
		[checkup]
			[result]
				final_hex_x=22
				final_hex_y=20
				stopped_early=yes
			[/result]
			[result]
				next_unit_id=39
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		from_side=2
		[move]
			x="22,22,21,20"
			y="20,19,19,18"
		[/move]
		[checkup]
			[result]
				final_hex_x=20
				final_hex_y=18
				stopped_early=no
			[/result]
			[result]
				next_unit_id=39
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		from_side=2
		[move]
			x="22,23,24,25"
			y="23,24,24,24"
		[/move]
		[checkup]
			[result]
				final_hex_x=23
				final_hex_y=24
				stopped_early=yes
			[/result]
			[result]
				next_unit_id=39
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		from_side=2
		[move]
			x="17,18,19,20,21"
			y="25,25,26,26,26"
		[/move]
		[checkup]
			[result]
				final_hex_x=21
				final_hex_y=26
				stopped_early=no
			[/result]
			[result]
				next_unit_id=39
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		sent=yes
		undo=no
		[speak]
			id="server"
			message="GoldenAxe has logged into the lobby"
			time=1700066034
		[/speak]
	[/command]
	[command]
		from_side=2
		[move]
			x="11,11,11,11,11,11"
			y="17,16,15,14,13,12"
		[/move]
		[checkup]
			[result]
				final_hex_x=11
				final_hex_y=12
				stopped_early=no
			[/result]
			[result]
				next_unit_id=39
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		from_side=2
		[move]
			x="19,19,19,19,19,19"
			y="38,39,40,41,42,43"
		[/move]
		[checkup]
			[result]
				final_hex_x=19
				final_hex_y=43
				stopped_early=no
			[/result]
			[result]
				next_unit_id=39
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		from_side=2
		[move]
			x="21,21,21,21,21,22,23,23"
			y="41,40,39,38,37,36,36,35"
		[/move]
		[checkup]
			[result]
				final_hex_x=23
				final_hex_y=35
				stopped_early=no
			[/result]
			[result]
				next_unit_id=39
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		from_side=2
		[move]
			x="18,19,20,21,21,22"
			y="37,38,38,39,40,40"
		[/move]
		[checkup]
			[result]
				final_hex_x=22
				final_hex_y=40
				stopped_early=no
			[/result]
			[result]
				next_unit_id=39
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		from_side=2
		[move]
			x="14,15,16,17,18"
			y="32,32,32,33,33"
		[/move]
		[checkup]
			[result]
				final_hex_x=18
				final_hex_y=33
				stopped_early=no
			[/result]
			[result]
				next_unit_id=39
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		from_side=2
		[move]
			x="18,17,16,15,14,14"
			y="21,21,21,21,20,19"
		[/move]
		[checkup]
			[result]
				final_hex_x=14
				final_hex_y=19
				stopped_early=no
			[/result]
			[result]
				next_unit_id=39
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		from_side=2
		[move]
			x="21,21,21,21,21"
			y="26,25,24,23,22"
		[/move]
		[checkup]
			[result]
				final_hex_x=21
				final_hex_y=22
				stopped_early=no
			[/result]
			[result]
				next_unit_id=39
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		from_side=2
		[move]
			x="17,18,18,18,19,20"
			y="30,30,31,32,33,33"
		[/move]
		[checkup]
			[result]
				final_hex_x=20
				final_hex_y=33
				stopped_early=no
			[/result]
			[result]
				next_unit_id=39
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		from_side=2
		[move]
			x="18,18,18,19,19,20"
			y="26,25,24,24,23,22"
		[/move]
		[checkup]
			[result]
				final_hex_x=20
				final_hex_y=22
				stopped_early=no
			[/result]
			[result]
				next_unit_id=39
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		sent=yes
		undo=no
		[speak]
			id="server"
			message="Killy has logged into the lobby"
			time=1700066177
		[/speak]
	[/command]
	[command]
		from_side=2
		[move]
			x="22,22,21"
			y="27,28,29"
		[/move]
		[checkup]
			[result]
				final_hex_x=21
				final_hex_y=29
				stopped_early=no
			[/result]
			[result]
				next_unit_id=39
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		[end_turn]
			next_player_number=3
		[/end_turn]
		[checkup1]
			[result]
				next_unit_id=39
				random_calls=0
			[/result]
		[/checkup1]
		[checkup2]
			[result]
				next_unit_id=39
				random_calls=0
			[/result]
		[/checkup2]
	[/command]
	[command]
		sent=yes
		[init_side]
			side_number=1
		[/init_side]
		[checkup]
			[result]
				next_unit_id=39
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		from_side=1
		sent=yes
		[move]
			x="28,27,26,25,24"
			y="24,25,25,26,26"
		[/move]
		[checkup]
			[result]
				final_hex_x=24
				final_hex_y=26
				stopped_early=no
			[/result]
			[result]
				next_unit_id=39
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		from_side=1
		sent=yes
		[move]
			x="27,26,25,24,23"
			y="25,25,26,26,27"
		[/move]
		[checkup]
			[result]
				final_hex_x=23
				final_hex_y=27
				stopped_early=no
			[/result]
			[result]
				next_unit_id=39
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		from_side=1
		sent=yes
		[move]
			x="30,29,28,27,26"
			y="21,21,21,22,21"
		[/move]
		[checkup]
			[result]
				final_hex_x=26
				final_hex_y=21
				stopped_early=no
			[/result]
			[result]
				next_unit_id=39
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		from_side=1
		sent=yes
		[move]
			x="28,27,26,25"
			y="25,26,26,27"
		[/move]
		[checkup]
			[result]
				final_hex_x=25
				final_hex_y=27
				stopped_early=no
			[/result]
			[result]
				next_unit_id=39
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		sent=yes
		undo=no
		[speak]
			id="server"
			message="Swedarker has logged into the lobby"
			time=1700066270
		[/speak]
	[/command]
	[command]
		from_side=1
		sent=yes
		[move]
			x="19,20,20,20,19,18,17"
			y="16,15,14,13,13,13,14"
		[/move]
		[checkup]
			[result]
				final_hex_x=17
				final_hex_y=14
				stopped_early=no
			[/result]
			[result]
				next_unit_id=39
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		from_side=1
		sent=yes
		[attack]
			attacker_lvl=1
			attacker_type="Dark Adept"
			defender_lvl=0
			defender_type="Goblin Spearman"
			defender_weapon=1
			tod="first_watch"
			turn=5
			weapon=0
			[source]
				x=17
				y=14
			[/source]
			[destination]
				x=18
				y=14
			[/destination]
		[/attack]
		[checkup]
			[result]
				chance=70
				damage=0
				hits=no
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				chance=60
				damage=4
				hits=yes
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				chance=70
				damage=12
				hits=yes
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				next_unit_id=39
				random_calls=3
			[/result]
		[/checkup]
	[/command]
	[command]
		dependent=yes
		from_side="server"
		sent=yes
		[random_seed]
			new_seed="8ee6fb05"
		[/random_seed]
	[/command]
	[command]
		from_side=1
		sent=yes
		[move]
			x="22,21,20,19,18"
			y="12,13,13,13,13"
		[/move]
		[checkup]
			[result]
				final_hex_x=18
				final_hex_y=13
				stopped_early=no
			[/result]
			[result]
				next_unit_id=39
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		from_side=1
		sent=yes
		[attack]
			attacker_lvl=0
			attacker_type="Walking Corpse"
			defender_lvl=0
			defender_type="Goblin Spearman"
			defender_weapon=0
			tod="first_watch"
			turn=5
			weapon=0
			[source]
				x=18
				y=13
			[/source]
			[destination]
				x=18
				y=14
			[/destination]
		[/attack]
		[checkup]
			[result]
				chance=60
				damage=7
				hits=yes
			[/result]
			[result]
				dies=yes
			[/result]
			[result]
				next_unit_id=40
				random_calls=1
			[/result]
		[/checkup]
	[/command]
	[command]
		dependent=yes
		from_side="server"
		sent=yes
		[random_seed]
			new_seed="c1b94cd8"
		[/random_seed]
	[/command]
	[command]
		sent=yes
		undo=no
		[speak]
			id="server"
			message="Swedarker has logged into the lobby"
			time=1700066288
		[/speak]
	[/command]
	[command]
		from_side=1
		sent=yes
		[move]
			x="18,17"
			y="8,8"
		[/move]
		[checkup]
			[result]
				final_hex_x=17
				final_hex_y=8
				stopped_early=no
			[/result]
			[result]
				next_unit_id=40
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		from_side=1
		sent=yes
		[move]
			x="19,19,18,18"
			y="6,7,7,8"
		[/move]
		[checkup]
			[result]
				final_hex_x=18
				final_hex_y=8
				stopped_early=no
			[/result]
			[result]
				next_unit_id=40
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		from_side=1
		sent=yes
		[attack]
			attacker_lvl=1
			attacker_type="Dark Adept"
			defender_lvl=1
			defender_type="Orcish Archer Ladder_1"
			defender_weapon=1
			tod="first_watch"
			turn=5
			weapon=0
			[source]
				x=18
				y=8
			[/source]
			[destination]
				x=19
				y=9
			[/destination]
		[/attack]
		[checkup]
			[result]
				chance=70
				damage=0
				hits=no
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				chance=40
				damage=6
				hits=yes
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				chance=70
				damage=12
				hits=yes
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				chance=40
				damage=0
				hits=no
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				chance=40
				damage=0
				hits=no
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				next_unit_id=40
				random_calls=5
			[/result]
		[/checkup]
	[/command]
	[command]
		dependent=yes
		from_side="server"
		sent=yes
		[random_seed]
			new_seed="1fbba4f3"
		[/random_seed]
	[/command]
	[command]
		from_side=1
		sent=yes
		[move]
			x="17,18,19,20,20"
			y="8,7,7,7,8"
		[/move]
		[checkup]
			[result]
				final_hex_x=20
				final_hex_y=8
				stopped_early=no
			[/result]
			[result]
				next_unit_id=40
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		from_side=1
		sent=yes
		[attack]
			attacker_lvl=1
			attacker_type="Dark Adept"
			defender_lvl=1
			defender_type="Orcish Archer Ladder_1"
			defender_weapon=2
			tod="first_watch"
			turn=5
			weapon=0
			[source]
				x=20
				y=8
			[/source]
			[destination]
				x=19
				y=9
			[/destination]
		[/attack]
		[checkup]
			[result]
				chance=70
				damage=12
				hits=yes
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				chance=50
				damage=9
				hits=yes
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				chance=70
				damage=12
				hits=yes
			[/result]
			[result]
				dies=yes
			[/result]
			[result]
				next_unit_id=40
				random_calls=3
			[/result]
		[/checkup]
	[/command]
	[command]
		dependent=yes
		from_side="server"
		sent=yes
		[random_seed]
			new_seed="073f6dab"
		[/random_seed]
	[/command]
	[command]
		sent=yes
		undo=no
		[speak]
			id="server"
			message="rafaman has logged into the lobby"
			time=1700066418
		[/speak]
	[/command]
	[command]
		from_side=1
		sent=yes
		[move]
			x="24,23,22,21,20,19"
			y="9,9,8,8,7,8"
		[/move]
		[checkup]
			[result]
				final_hex_x=19
				final_hex_y=8
				stopped_early=no
			[/result]
			[result]
				next_unit_id=40
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		from_side=1
		sent=yes
		[move]
			x="29,28,27,26,25,24,23"
			y="11,11,12,11,12,11,12"
		[/move]
		[checkup]
			[result]
				final_hex_x=23
				final_hex_y=12
				stopped_early=no
			[/result]
			[result]
				next_unit_id=40
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		from_side=1
		sent=yes
		[move]
			x="12,13,14,15,16,16,17"
			y="5,6,6,7,7,8,9"
		[/move]
		[checkup]
			[result]
				final_hex_x=17
				final_hex_y=9
				stopped_early=no
			[/result]
			[result]
				next_unit_id=40
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		sent=yes
		undo=no
		[speak]
			id="server"
			message="fontebranda has logged into the lobby"
			time=1700066427
		[/speak]
	[/command]
	[command]
		from_side=1
		sent=yes
		[move]
			x="18,19,19,18,17,16,15,14,13"
			y="10,10,9,8,8,7,7,6,6"
		[/move]
		[checkup]
			[result]
				final_hex_x=13
				final_hex_y=6
				stopped_early=no
			[/result]
			[result]
				next_unit_id=40
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		sent=yes
		undo=no
		[speak]
			id="server"
			message="Linux has logged into the lobby"
			time=1700066429
		[/speak]
	[/command]
	[command]
		sent=yes
		undo=no
		[speak]
			id="server"
			message="skYend has logged into the lobby"
			time=1700066460
		[/speak]
	[/command]
	[command]
		sent=yes
		undo=no
		[speak]
			id="server"
			message="aliguneyilmaz has logged into the lobby"
			time=1700066463
		[/speak]
	[/command]
	[command]
		from_side=1
		sent=yes
		[move]
			x="28,27,27,26"
			y="14,14,13,12"
		[/move]
		[checkup]
			[result]
				final_hex_x=26
				final_hex_y=12
				stopped_early=no
			[/result]
			[result]
				next_unit_id=40
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		from_side=1
		sent=yes
		[move]
			x="18,18,18,19,20,21,22"
			y="15,14,13,13,12,12,11"
		[/move]
		[checkup]
			[result]
				final_hex_x=22
				final_hex_y=11
				stopped_early=no
			[/result]
			[result]
				next_unit_id=40
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		from_side=1
		sent=yes
		[move]
			x="33,32,31,30,29,28"
			y="42,41,41,40,41,40"
		[/move]
		[checkup]
			[result]
				final_hex_x=28
				final_hex_y=40
				stopped_early=no
			[/result]
			[result]
				next_unit_id=40
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		from_side=1
		sent=yes
		[move]
			x="25,24,24,23"
			y="42,41,40,40"
		[/move]
		[checkup]
			[result]
				final_hex_x=23
				final_hex_y=40
				stopped_early=no
			[/result]
			[result]
				next_unit_id=40
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		from_side=1
		sent=yes
		[attack]
			attacker_lvl=1
			attacker_type="Dark Adept"
			defender_lvl=1
			defender_type="Troll Whelp"
			defender_weapon=-1
			tod="first_watch"
			turn=5
			weapon=0
			[source]
				x=23
				y=40
			[/source]
			[destination]
				x=22
				y=40
			[/destination]
		[/attack]
		[checkup]
			[result]
				chance=70
				damage=12
				hits=yes
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				chance=70
				damage=12
				hits=yes
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				next_unit_id=40
				random_calls=2
			[/result]
		[/checkup]
	[/command]
	[command]
		dependent=yes
		from_side="server"
		sent=yes
		[random_seed]
			new_seed="3d3dbd58"
		[/random_seed]
	[/command]
	[command]
		from_side=1
		sent=yes
		[move]
			x="29,28,27,26,25"
			y="40,40,40,39,40"
		[/move]
		[checkup]
			[result]
				final_hex_x=25
				final_hex_y=40
				stopped_early=no
			[/result]
			[result]
				next_unit_id=40
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		from_side=1
		sent=yes
		[recruit]
			type="Vampire Bat Ladder_1"
			x=28
			y=38
			[from]
				x=31
				y=24
			[/from]
		[/recruit]
		[checkup]
			[result]
				checksum=">5lY.f8XNY6QY4j3kzcxp>WGj00n9<ah7+0+-1S3nhI5oioK7xqaG-47dZW>b>f+14,Hcd0>Hadeb300x6W-MQ<bgRRo2FtAKwp<AbJ6woEm..WI0k+Y3dxPg0p53fam"
			[/result]
			[result]
				next_unit_id=41
				random_calls=1
			[/result]
		[/checkup]
	[/command]
	[command]
		dependent=yes
		from_side="server"
		sent=yes
		[random_seed]
			new_seed=52054726
		[/random_seed]
	[/command]
	[command]
		sent=yes
		undo=no
		[speak]
			id="server"
			message="Hacke has logged into the lobby"
			time=1700066537
		[/speak]
	[/command]
	[command]
		from_side=1
		sent=yes
		[move]
			x="29,29,29,29,28,27"
			y="39,38,37,36,35,35"
		[/move]
		[checkup]
			[result]
				final_hex_x=27
				final_hex_y=35
				stopped_early=no
			[/result]
			[result]
				next_unit_id=41
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		sent=yes
		undo=no
		[speak]
			id="server"
			message="bionabbo has logged into the lobby"
			time=1700066661
		[/speak]
	[/command]
	[command]
		from_side=1
		sent=yes
		[recruit]
			type="Skeleton Archer Ladder_1"
			x=24
			y=9
			[from]
				x=31
				y=24
			[/from]
		[/recruit]
		[checkup]
			[result]
				checksum="H5P5.ZS9OrzMlE.+i4>Q4qGL>cMfMNl<Y5f<,B2zPSv44.dE8ibjPf2Rev0HEMLYKaxQm-0l56<<zH+6N0fWqrBo>9088c<,ugNP>mJfZ4q3IVezvdyHqBW.6FwXcau4"
			[/result]
			[result]
				next_unit_id=42
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		sent=yes
		[end_turn]
			next_player_number=2
		[/end_turn]
		[checkup1]
			[result]
				next_unit_id=42
				random_calls=0
			[/result]
		[/checkup1]
	[/command]
	[command]
		[init_side]
			side_number=2
		[/init_side]
		[checkup]
			[result]
				next_unit_id=42
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		sent=yes
		undo=no
		[speak]
			id="server"
			message="Vogelsang has logged into the lobby"
			time=1700066709
		[/speak]
	[/command]
	[command]
		from_side=2
		[move]
			x="15,15,16,17,18"
			y="15,16,16,16,15"
		[/move]
		[checkup]
			[result]
				final_hex_x=18
				final_hex_y=15
				stopped_early=no
			[/result]
			[result]
				next_unit_id=42
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		from_side=2
		[attack]
			attacker_lvl=0
			attacker_type="Goblin Spearman"
			defender_lvl=0
			defender_type="Walking Corpse"
			defender_weapon=0
			tod="first_watch"
			turn=5
			weapon=0
			[source]
				x=18
				y=15
			[/source]
			[destination]
				x=18
				y=14
			[/destination]
		[/attack]
		[checkup]
			[result]
				chance=60
				damage=7
				hits=yes
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				chance=60
				damage=0
				hits=no
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				chance=60
				damage=7
				hits=yes
			[/result]
			[result]
				dies=yes
			[/result]
			[result]
				next_unit_id=42
				random_calls=3
			[/result]
		[/checkup]
	[/command]
	[command]
		dependent=yes
		from_side="server"
		sent=yes
		[random_seed]
			new_seed=10513500
		[/random_seed]
	[/command]
	[command]
		sent=yes
		undo=no
		[speak]
			id="server"
			message="bionabbo has logged into the lobby"
			time=1700066765
		[/speak]
	[/command]
	[command]
		from_side=2
		[move]
			x="20,19,19,19,18,18"
			y="18,18,17,16,15,14"
		[/move]
		[checkup]
			[result]
				final_hex_x=18
				final_hex_y=14
				stopped_early=no
			[/result]
			[result]
				next_unit_id=42
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		from_side=2
		[attack]
			attacker_lvl=1
			attacker_type="Orcish Grunt"
			defender_lvl=1
			defender_type="Dark Adept"
			defender_weapon=-1
			tod="first_watch"
			turn=5
			weapon=0
			[source]
				x=18
				y=14
			[/source]
			[destination]
				x=17
				y=14
			[/destination]
		[/attack]
		[checkup]
			[result]
				chance=60
				damage=0
				hits=no
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				chance=60
				damage=0
				hits=no
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				next_unit_id=42
				random_calls=2
			[/result]
		[/checkup]
	[/command]
	[command]
		dependent=yes
		from_side="server"
		sent=yes
		[random_seed]
			new_seed="475b6e25"
		[/random_seed]
	[/command]
	[command]
		from_side=2
		[move]
			x="14,15,15,15,15"
			y="19,19,18,17,16"
		[/move]
		[checkup]
			[result]
				final_hex_x=15
				final_hex_y=16
				stopped_early=no
			[/result]
			[result]
				next_unit_id=42
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		from_side=2
		[move]
			x="11,12,13,14,15,16"
			y="12,11,11,10,10,9"
		[/move]
		[checkup]
			[result]
				final_hex_x=16
				final_hex_y=9
				stopped_early=no
			[/result]
			[result]
				next_unit_id=42
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		from_side=2
		[attack]
			attacker_lvl=2
			attacker_type="Orcish Slayer"
			defender_lvl=1
			defender_type="Ghost"
			defender_weapon=1
			tod="first_watch"
			turn=5
			weapon=1
			[source]
				x=16
				y=9
			[/source]
			[destination]
				x=17
				y=9
			[/destination]
		[/attack]
		[checkup]
			[result]
				chance=60
				damage=0
				hits=no
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				chance=30
				damage=4
				hits=yes
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				chance=60
				damage=4
				hits=yes
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				chance=30
				damage=4
				hits=yes
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				chance=60
				damage=4
				hits=yes
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				chance=30
				damage=0
				hits=no
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				next_unit_id=42
				random_calls=6
			[/result]
		[/checkup]
	[/command]
	[command]
		dependent=yes
		from_side="server"
		sent=yes
		[random_seed]
			new_seed="e1151658"
		[/random_seed]
	[/command]
	[command]
		from_side=2
		[recruit]
			type="Orcish Archer Ladder_1"
			x=19
			y=9
			[from]
				x=16
				y=9
			[/from]
		[/recruit]
		[checkup]
			[result]
				checksum="MMN5W7,CmenOi,ig8.phaf.g3-1q41-1fEl4X,hk-<VH7MYbpXgfhe8ir>a>519+Bg>-j0ce0lfeia9i3o-e.Xk36,T8d<NGXEfQAK+U3N7wZIyC<4f2zCsEbKQA2duP"
			[/result]
			[result]
				next_unit_id=43
				random_calls=22
			[/result]
		[/checkup]
	[/command]
	[command]
		dependent=yes
		from_side="server"
		sent=yes
		[random_seed]
			new_seed="faccab4e"
		[/random_seed]
	[/command]
	[command]
		from_side=2
		[move]
			x="14,15,15,15,16,17,18"
			y="10,10,9,8,7,7,7"
		[/move]
		[checkup]
			[result]
				final_hex_x=18
				final_hex_y=7
				stopped_early=no
			[/result]
			[result]
				next_unit_id=43
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		from_side=2
		[attack]
			attacker_lvl=1
			attacker_type="Orcish Grunt"
			defender_lvl=1
			defender_type="Dark Adept"
			defender_weapon=-1
			tod="first_watch"
			turn=5
			weapon=0
			[source]
				x=18
				y=7
			[/source]
			[destination]
				x=18
				y=8
			[/destination]
		[/attack]
		[checkup]
			[result]
				chance=40
				damage=12
				hits=yes
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				chance=40
				damage=12
				hits=yes
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				next_unit_id=43
				random_calls=2
			[/result]
		[/checkup]
	[/command]
	[command]
		dependent=yes
		from_side="server"
		sent=yes
		[random_seed]
			new_seed="404efaf4"
		[/random_seed]
	[/command]
	[command]
		from_side=2
		[move]
			x="15,14,14,15,15,15,16,17"
			y="12,11,10,10,9,8,7,8"
		[/move]
		[checkup]
			[result]
				final_hex_x=17
				final_hex_y=8
				stopped_early=no
			[/result]
			[result]
				next_unit_id=43
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		from_side=2
		[attack]
			attacker_lvl=1
			attacker_type="Wolf Rider"
			defender_lvl=1
			defender_type="Dark Adept"
			defender_weapon=-1
			tod="first_watch"
			turn=5
			weapon=0
			[source]
				x=17
				y=8
			[/source]
			[destination]
				x=18
				y=8
			[/destination]
		[/attack]
		[checkup]
			[result]
				chance=40
				damage=7
				hits=yes
			[/result]
			[result]
				dies=yes
			[/result]
			[result]
				next_unit_id=43
				random_calls=1
			[/result]
		[/checkup]
	[/command]
	[command]
		dependent=yes
		from_side="server"
		sent=yes
		[random_seed]
			new_seed="268478e7"
		[/random_seed]
	[/command]
	[command]
		from_side=2
		[recruit]
			type="Troll Whelp"
			x=18
			y=8
			[from]
				x=16
				y=9
			[/from]
		[/recruit]
		[checkup]
			[result]
				checksum="-ocl14NvE<.nsSBHjy4f+63L18ip4.b>>x-+36.<kdkcs67Pmp32DkA2>2bggN8l2.>s6bz4mfQ<4c.bt5ke5.ln9eF7et.kMdxh2Gdv6,Uo<bsIhZYi-VT-s<-iEowr"
			[/result]
			[result]
				next_unit_id=44
				random_calls=22
			[/result]
		[/checkup]
	[/command]
	[command]
		dependent=yes
		from_side="server"
		sent=yes
		[random_seed]
			new_seed="712341c6"
		[/random_seed]
	[/command]
	[command]
		from_side=2
		[move]
			x="23,23,22,21,21,22,22"
			y="35,36,36,37,38,38,39"
		[/move]
		[checkup]
			[result]
				final_hex_x=22
				final_hex_y=39
				stopped_early=no
			[/result]
			[result]
				next_unit_id=44
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		from_side=2
		[attack]
			attacker_lvl=1
			attacker_type="Wolf Rider"
			defender_lvl=1
			defender_type="Dark Adept"
			defender_weapon=-1
			tod="first_watch"
			turn=5
			weapon=0
			[source]
				x=22
				y=39
			[/source]
			[destination]
				x=23
				y=40
			[/destination]
		[/attack]
		[checkup]
			[result]
				chance=50
				damage=0
				hits=no
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				chance=50
				damage=0
				hits=no
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				chance=50
				damage=6
				hits=yes
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				next_unit_id=44
				random_calls=3
			[/result]
		[/checkup]
	[/command]
	[command]
		dependent=yes
		from_side="server"
		sent=yes
		[random_seed]
			new_seed="f354f5cc"
		[/random_seed]
	[/command]
	[command]
		sent=yes
		undo=no
		[speak]
			id="server"
			message="GoldenAxe has logged into the lobby"
			time=1700066898
		[/speak]
	[/command]
	[command]
		from_side=2
		[attack]
			attacker_lvl=1
			attacker_type="Troll Whelp"
			defender_lvl=1
			defender_type="Dark Adept"
			defender_weapon=-1
			tod="first_watch"
			turn=5
			weapon=0
			[source]
				x=22
				y=40
			[/source]
			[destination]
				x=23
				y=40
			[/destination]
		[/attack]
		[checkup]
			[result]
				chance=50
				damage=10
				hits=yes
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				chance=50
				damage=10
				hits=yes
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				next_unit_id=44
				random_calls=2
			[/result]
		[/checkup]
	[/command]
	[command]
		dependent=yes
		from_side="server"
		sent=yes
		[random_seed]
			new_seed="bf1c3cf9"
		[/random_seed]
	[/command]
	[command]
		from_side=2
		[move]
			x="19,20,21,22,23"
			y="43,42,42,41,41"
		[/move]
		[checkup]
			[result]
				final_hex_x=23
				final_hex_y=41
				stopped_early=no
			[/result]
			[result]
				next_unit_id=44
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		from_side=2
		[attack]
			attacker_lvl=1
			attacker_type="Orcish Archer Ladder_1"
			defender_lvl=1
			defender_type="Dark Adept"
			defender_weapon=0
			tod="first_watch"
			turn=5
			weapon=1
			[source]
				x=23
				y=41
			[/source]
			[destination]
				x=23
				y=40
			[/destination]
		[/attack]
		[checkup]
			[result]
				chance=50
				damage=0
				hits=no
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				chance=70
				damage=12
				hits=yes
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				chance=50
				damage=6
				hits=yes
			[/result]
			[result]
				dies=yes
			[/result]
			[result]
				next_unit_id=44
				random_calls=3
			[/result]
		[/checkup]
	[/command]
	[command]
		dependent=yes
		from_side="server"
		sent=yes
		[random_seed]
			new_seed="0117a973"
		[/random_seed]
	[/command]
	[command]
		from_side=2
		[move]
			x="20,20,20,20,20,21"
			y="33,34,35,36,37,38"
		[/move]
		[checkup]
			[result]
				final_hex_x=21
				final_hex_y=38
				stopped_early=no
			[/result]
			[result]
				next_unit_id=44
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		from_side=2
		[move]
			x="18,19,20"
			y="33,34,33"
		[/move]
		[checkup]
			[result]
				final_hex_x=20
				final_hex_y=33
				stopped_early=no
			[/result]
			[result]
				next_unit_id=44
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		from_side=2
		[move]
			x="23,23,24"
			y="24,25,25"
		[/move]
		[checkup]
			[result]
				final_hex_x=24
				final_hex_y=25
				stopped_early=no
			[/result]
			[result]
				next_unit_id=44
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		from_side=2
		[attack]
			attacker_lvl=1
			attacker_type="Troll Whelp"
			defender_lvl=0
			defender_type="Walking Corpse"
			defender_weapon=0
			tod="first_watch"
			turn=5
			weapon=0
			[source]
				x=24
				y=25
			[/source]
			[destination]
				x=24
				y=26
			[/destination]
		[/attack]
		[checkup]
			[result]
				chance=60
				damage=0
				hits=no
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				chance=50
				damage=0
				hits=no
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				chance=60
				damage=0
				hits=no
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				chance=50
				damage=0
				hits=no
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				next_unit_id=44
				random_calls=4
			[/result]
		[/checkup]
	[/command]
	[command]
		dependent=yes
		from_side="server"
		sent=yes
		[random_seed]
			new_seed="31f6b814"
		[/random_seed]
	[/command]
	[command]
		from_side=2
		[move]
			x="21,22,22,22"
			y="29,28,27,26"
		[/move]
		[checkup]
			[result]
				final_hex_x=22
				final_hex_y=26
				stopped_early=no
			[/result]
			[result]
				next_unit_id=44
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		from_side=2
		[attack]
			attacker_lvl=1
			attacker_type="Naga Fighter"
			defender_lvl=0
			defender_type="Walking Corpse"
			defender_weapon=0
			tod="first_watch"
			turn=5
			weapon=0
			[source]
				x=22
				y=26
			[/source]
			[destination]
				x=23
				y=27
			[/destination]
		[/attack]
		[checkup]
			[result]
				chance=60
				damage=0
				hits=no
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				chance=40
				damage=0
				hits=no
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				chance=60
				damage=0
				hits=no
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				chance=40
				damage=0
				hits=no
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				chance=60
				damage=0
				hits=no
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				chance=60
				damage=0
				hits=no
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				next_unit_id=44
				random_calls=6
			[/result]
		[/checkup]
	[/command]
	[command]
		dependent=yes
		from_side="server"
		sent=yes
		[random_seed]
			new_seed="2c1ccd03"
		[/random_seed]
	[/command]
	[command]
		sent=yes
		undo=no
		[speak]
			id="server"
			message="luisenrique has logged into the lobby"
			time=1700066964
		[/speak]
	[/command]
	[command]
		from_side=2
		[move]
			x="20,20,20,21,22,23"
			y="22,23,24,25,25,26"
		[/move]
		[checkup]
			[result]
				final_hex_x=23
				final_hex_y=26
				stopped_early=no
			[/result]
			[result]
				next_unit_id=44
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		from_side=2
		[attack]
			attacker_lvl=1
			attacker_type="Orcish Archer Ladder_1"
			defender_lvl=0
			defender_type="Walking Corpse"
			defender_weapon=-1
			tod="first_watch"
			turn=5
			weapon=2
			[source]
				x=23
				y=26
			[/source]
			[destination]
				x=23
				y=27
			[/destination]
		[/attack]
		[checkup]
			[result]
				chance=60
				damage=9
				hits=yes
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				chance=60
				damage=0
				hits=no
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				next_unit_id=44
				random_calls=2
			[/result]
		[/checkup]
	[/command]
	[command]
		dependent=yes
		from_side="server"
		sent=yes
		[random_seed]
			new_seed="38eb436f"
		[/random_seed]
	[/command]
	[command]
		from_side=2
		[move]
			x="15,16"
			y="13,13"
		[/move]
		[checkup]
			[result]
				final_hex_x=16
				final_hex_y=13
				stopped_early=no
			[/result]
			[result]
				next_unit_id=44
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		from_side=2
		[attack]
			attacker_lvl=0
			attacker_type="Goblin Spearman"
			defender_lvl=1
			defender_type="Dark Adept"
			defender_weapon=-1
			tod="first_watch"
			turn=5
			weapon=0
			[source]
				x=16
				y=13
			[/source]
			[destination]
				x=17
				y=14
			[/destination]
		[/attack]
		[checkup]
			[result]
				chance=60
				damage=7
				hits=yes
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				chance=60
				damage=7
				hits=yes
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				chance=60
				damage=7
				hits=yes
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				next_unit_id=44
				random_calls=3
			[/result]
		[/checkup]
	[/command]
	[command]
		dependent=yes
		from_side="server"
		sent=yes
		[random_seed]
			new_seed="d9554aff"
		[/random_seed]
	[/command]
	[command]
		from_side=2
		[move]
			x="21,21,22,22,22,22,22"
			y="22,23,23,24,25,26,27"
		[/move]
		[checkup]
			[result]
				final_hex_x=22
				final_hex_y=27
				stopped_early=no
			[/result]
			[result]
				next_unit_id=44
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		from_side=2
		[attack]
			attacker_lvl=1
			attacker_type="Wolf Rider"
			defender_lvl=0
			defender_type="Walking Corpse"
			defender_weapon=0
			tod="first_watch"
			turn=5
			weapon=0
			[source]
				x=22
				y=27
			[/source]
			[destination]
				x=23
				y=27
			[/destination]
		[/attack]
		[checkup]
			[result]
				chance=60
				damage=0
				hits=no
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				chance=80
				damage=0
				hits=no
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				chance=60
				damage=0
				hits=no
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				chance=80
				damage=7
				hits=yes
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				chance=60
				damage=0
				hits=no
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				next_unit_id=44
				random_calls=5
			[/result]
		[/checkup]
	[/command]
	[command]
		dependent=yes
		from_side="server"
		sent=yes
		[random_seed]
			new_seed="02854838"
		[/random_seed]
	[/command]
	[command]
		from_side=2
		[fire_event]
			raise="menu item pickadvance"
			[source]
				x=22
				y=27
			[/source]
		[/fire_event]
		[checkup]
			[result]
				next_unit_id=44
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		dependent=yes
		from_side=2
		[input]
			ignore=yes
		[/input]
	[/command]
	[command]
		sent=yes
		undo=no
		[speak]
			id="server"
			message="Linux has logged into the lobby"
			time=1700067042
		[/speak]
	[/command]
	[command]
		sent=yes
		undo=no
		[speak]
			id="server"
			message="kedar has logged into the lobby"
			time=1700067067
		[/speak]
	[/command]
	[command]
		[end_turn]
			next_player_number=3
		[/end_turn]
		[checkup1]
			[result]
				next_unit_id=44
				random_calls=0
			[/result]
		[/checkup1]
		[checkup2]
			[result]
				next_unit_id=44
				random_calls=0
			[/result]
		[/checkup2]
	[/command]
	[command]
		sent=yes
		[init_side]
			side_number=1
		[/init_side]
		[checkup]
			[result]
				next_unit_id=44
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		from_side=1
		sent=yes
		[move]
			x="24,23,22,21,20,19"
			y="9,9,8,8,7,7"
		[/move]
		[checkup]
			[result]
				final_hex_x=19
				final_hex_y=7
				stopped_early=no
			[/result]
			[result]
				next_unit_id=44
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		from_side=1
		sent=yes
		[attack]
			attacker_lvl=1
			attacker_type="Skeleton Archer Ladder_1"
			defender_lvl=1
			defender_type="Orcish Grunt"
			defender_weapon=-1
			tod="second_watch"
			turn=6
			weapon=1
			[source]
				x=19
				y=7
			[/source]
			[destination]
				x=18
				y=7
			[/destination]
		[/attack]
		[checkup]
			[result]
				chance=60
				damage=7
				hits=yes
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				chance=60
				damage=0
				hits=no
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				chance=60
				damage=0
				hits=no
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				next_unit_id=44
				random_calls=3
			[/result]
		[/checkup]
	[/command]
	[command]
		dependent=yes
		from_side="server"
		sent=yes
		[random_seed]
			new_seed="ecb1c049"
		[/random_seed]
	[/command]
	[command]
		from_side=1
		sent=yes
		[move]
			x="20,20,20,19,18"
			y="8,7,6,6,6"
		[/move]
		[checkup]
			[result]
				final_hex_x=18
				final_hex_y=6
				stopped_early=no
			[/result]
			[result]
				next_unit_id=44
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		from_side=1
		sent=yes
		[attack]
			attacker_lvl=1
			attacker_type="Dark Adept"
			defender_lvl=1
			defender_type="Orcish Grunt"
			defender_weapon=-1
			tod="second_watch"
			turn=6
			weapon=0
			[source]
				x=18
				y=6
			[/source]
			[destination]
				x=18
				y=7
			[/destination]
		[/attack]
		[checkup]
			[result]
				chance=70
				damage=12
				hits=yes
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				chance=70
				damage=0
				hits=no
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				next_unit_id=44
				random_calls=2
			[/result]
		[/checkup]
	[/command]
	[command]
		dependent=yes
		from_side="server"
		sent=yes
		[random_seed]
			new_seed="1a6cecd8"
		[/random_seed]
	[/command]
	[command]
		from_side=1
		sent=yes
		[attack]
			attacker_lvl=1
			attacker_type="Skeleton Archer Ladder_1"
			defender_lvl=1
			defender_type="Orcish Grunt"
			defender_weapon=-1
			tod="second_watch"
			turn=6
			weapon=1
			[source]
				x=19
				y=8
			[/source]
			[destination]
				x=18
				y=7
			[/destination]
		[/attack]
		[checkup]
			[result]
				chance=60
				damage=7
				hits=yes
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				chance=60
				damage=7
				hits=yes
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				chance=60
				damage=7
				hits=yes
			[/result]
			[result]
				dies=yes
			[/result]
			[result]
				next_unit_id=44
				random_calls=3
			[/result]
		[/checkup]
	[/command]
	[command]
		dependent=yes
		from_side="server"
		sent=yes
		[random_seed]
			new_seed="ac074acf"
		[/random_seed]
	[/command]
	[command]
		from_side=1
		sent=yes
		[attack]
			attacker_lvl=1
			attacker_type="Ghost"
			defender_lvl=1
			defender_type="Troll Whelp"
			defender_weapon=0
			tod="second_watch"
			turn=6
			weapon=0
			[source]
				x=17
				y=9
			[/source]
			[destination]
				x=18
				y=8
			[/destination]
		[/attack]
		[checkup]
			[result]
				chance=60
				damage=5
				hits=yes
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				chance=50
				damage=0
				hits=no
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				chance=60
				damage=0
				hits=no
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				chance=50
				damage=0
				hits=no
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				chance=60
				damage=0
				hits=no
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				next_unit_id=44
				random_calls=5
			[/result]
		[/checkup]
	[/command]
	[command]
		dependent=yes
		from_side="server"
		sent=yes
		[random_seed]
			new_seed="c9b33186"
		[/random_seed]
	[/command]
	[command]
		from_side=1
		sent=yes
		[attack]
			attacker_lvl=1
			attacker_type="Dark Adept"
			defender_lvl=0
			defender_type="Goblin Spearman"
			defender_weapon=1
			tod="second_watch"
			turn=6
			weapon=0
			[source]
				x=17
				y=14
			[/source]
			[destination]
				x=16
				y=13
			[/destination]
		[/attack]
		[checkup]
			[result]
				chance=70
				damage=12
				hits=yes
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				chance=60
				damage=4
				hits=yes
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				chance=70
				damage=0
				hits=no
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				next_unit_id=44
				random_calls=3
			[/result]
		[/checkup]
	[/command]
	[command]
		sent=yes
		undo=no
		[speak]
			id="server"
			message="Vaultier has logged into the lobby"
			time=1700067244
		[/speak]
	[/command]
	[command]
		dependent=yes
		from_side="server"
		sent=yes
		[random_seed]
			new_seed="e396f05f"
		[/random_seed]
	[/command]
	[command]
		from_side=1
		sent=yes
		[move]
			x="22,23,24,25,26,27,28"
			y="11,12,12,12,11,12,12"
		[/move]
		[checkup]
			[result]
				final_hex_x=28
				final_hex_y=12
				stopped_early=no
			[/result]
			[result]
				next_unit_id=44
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		from_side=1
		sent=yes
		[move]
			x="23,24,25,26,27,27"
			y="12,12,13,12,13,14"
		[/move]
		[checkup]
			[result]
				final_hex_x=27
				final_hex_y=14
				stopped_early=no
			[/result]
			[result]
				next_unit_id=44
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		from_side=1
		sent=yes
		[move]
			x="18,19,19,19,19"
			y="13,13,12,11,10"
		[/move]
		[checkup]
			[result]
				final_hex_x=19
				final_hex_y=10
				stopped_early=no
			[/result]
			[result]
				next_unit_id=44
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		from_side=1
		sent=yes
		[attack]
			attacker_lvl=0
			attacker_type="Walking Corpse"
			defender_lvl=1
			defender_type="Orcish Archer Ladder_1"
			defender_weapon=0
			tod="second_watch"
			turn=6
			weapon=0
			[source]
				x=19
				y=10
			[/source]
			[destination]
				x=19
				y=9
			[/destination]
		[/attack]
		[checkup]
			[result]
				chance=40
				damage=7
				hits=yes
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				chance=60
				damage=0
				hits=no
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				chance=40
				damage=0
				hits=no
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				chance=60
				damage=4
				hits=yes
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				next_unit_id=44
				random_calls=4
			[/result]
		[/checkup]
	[/command]
	[command]
		dependent=yes
		from_side="server"
		sent=yes
		[random_seed]
			new_seed="eb8d1990"
		[/random_seed]
	[/command]
	[command]
		from_side=1
		sent=yes
		[move]
			x="26,27,27,27,26"
			y="12,13,14,15,15"
		[/move]
		[checkup]
			[result]
				final_hex_x=26
				final_hex_y=15
				stopped_early=no
			[/result]
			[result]
				next_unit_id=44
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		from_side=1
		sent=yes
		[move]
			x="26,25,24,23,22"
			y="21,21,21,21,20"
		[/move]
		[checkup]
			[result]
				final_hex_x=22
				final_hex_y=20
				stopped_early=no
			[/result]
			[result]
				next_unit_id=44
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		from_side=1
		sent=yes
		[move]
			x="25,24,23"
			y="27,27,28"
		[/move]
		[checkup]
			[result]
				final_hex_x=23
				final_hex_y=28
				stopped_early=no
			[/result]
			[result]
				next_unit_id=44
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		from_side=1
		sent=yes
		[attack]
			attacker_lvl=0
			attacker_type="Walking Corpse"
			defender_lvl=1
			defender_type="Wolf Rider"
			defender_weapon=0
			tod="second_watch"
			turn=6
			weapon=0
			[source]
				x=23
				y=28
			[/source]
			[destination]
				x=22
				y=27
			[/destination]
		[/attack]
		[checkup]
			[result]
				chance=80
				damage=7
				hits=yes
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				chance=50
				damage=0
				hits=no
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				chance=80
				damage=7
				hits=yes
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				chance=50
				damage=6
				hits=yes
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				chance=50
				damage=6
				hits=yes
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				next_unit_id=44
				random_calls=5
			[/result]
		[/checkup]
	[/command]
	[command]
		dependent=yes
		from_side="server"
		sent=yes
		[random_seed]
			new_seed="75c54509"
		[/random_seed]
	[/command]
	[command]
		from_side=1
		sent=yes
		[attack]
			attacker_lvl=0
			attacker_type="Walking Corpse"
			defender_lvl=1
			defender_type="Wolf Rider"
			defender_weapon=0
			tod="second_watch"
			turn=6
			weapon=0
			[source]
				x=23
				y=27
			[/source]
			[destination]
				x=22
				y=27
			[/destination]
		[/attack]
		[checkup]
			[result]
				chance=80
				damage=7
				hits=yes
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				chance=60
				damage=0
				hits=no
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				chance=80
				damage=7
				hits=yes
			[/result]
			[result]
				dies=yes
			[/result]
			[result]
				next_unit_id=45
				random_calls=3
			[/result]
		[/checkup]
	[/command]
	[command]
		dependent=yes
		from_side="server"
		sent=yes
		[random_seed]
			new_seed="b02052c1"
		[/random_seed]
	[/command]
	[command]
		from_side=1
		sent=yes
		[attack]
			attacker_lvl=0
			attacker_type="Walking Corpse"
			defender_lvl=1
			defender_type="Orcish Archer Ladder_1"
			defender_weapon=0
			tod="second_watch"
			turn=6
			weapon=0
			[source]
				x=24
				y=26
			[/source]
			[destination]
				x=23
				y=26
			[/destination]
		[/attack]
		[checkup]
			[result]
				chance=60
				damage=0
				hits=no
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				chance=60
				damage=0
				hits=no
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				chance=60
				damage=0
				hits=no
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				chance=60
				damage=5
				hits=yes
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				next_unit_id=45
				random_calls=4
			[/result]
		[/checkup]
	[/command]
	[command]
		dependent=yes
		from_side="server"
		sent=yes
		[random_seed]
			new_seed="6d4e729b"
		[/random_seed]
	[/command]
	[command]
		undo=no
		[speak]
			id="ikomizo"
			message="ó bakker most nézem mit hibáztam"
			side=2
			time=1700067342
		[/speak]
	[/command]
	[command]
		sent=yes
		undo=no
		[speak]
			id="server"
			message="booner has logged into the lobby"
			time=1700067343
		[/speak]
	[/command]
	[command]
		sent=yes
		undo=no
		[speak]
			id="szdik570"
			message="mit"
			side=1
			time=1700067355
		[/speak]
	[/command]
	[command]
		from_side=1
		sent=yes
		[move]
			x="28,27,26,25,24"
			y="40,41,41,42,41"
		[/move]
		[checkup]
			[result]
				final_hex_x=24
				final_hex_y=41
				stopped_early=no
			[/result]
			[result]
				next_unit_id=45
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		from_side=1
		sent=yes
		[attack]
			attacker_lvl=1
			attacker_type="Dark Adept"
			defender_lvl=1
			defender_type="Orcish Archer Ladder_1"
			defender_weapon=2
			tod="second_watch"
			turn=6
			weapon=0
			[source]
				x=24
				y=41
			[/source]
			[destination]
				x=23
				y=41
			[/destination]
		[/attack]
		[checkup]
			[result]
				chance=70
				damage=0
				hits=no
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				chance=60
				damage=0
				hits=no
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				chance=70
				damage=0
				hits=no
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				chance=60
				damage=9
				hits=yes
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				next_unit_id=45
				random_calls=4
			[/result]
		[/checkup]
	[/command]
	[command]
		dependent=yes
		from_side="server"
		sent=yes
		[random_seed]
			new_seed="b5b99b76"
		[/random_seed]
	[/command]
	[command]
		sent=yes
		undo=no
		[speak]
			id="ikomizo"
			message="a nagát a vízbe rakhattam volna"
			side=2
			time=1700067373
		[/speak]
	[/command]
	[command]
		from_side=1
		sent=yes
		[move]
			x="25,24,23"
			y="40,39,40"
		[/move]
		[checkup]
			[result]
				final_hex_x=23
				final_hex_y=40
				stopped_early=no
			[/result]
			[result]
				next_unit_id=45
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		from_side=1
		sent=yes
		[attack]
			attacker_lvl=0
			attacker_type="Walking Corpse"
			defender_lvl=1
			defender_type="Orcish Archer Ladder_1"
			defender_weapon=0
			tod="second_watch"
			turn=6
			weapon=0
			[source]
				x=23
				y=40
			[/source]
			[destination]
				x=23
				y=41
			[/destination]
		[/attack]
		[checkup]
			[result]
				chance=50
				damage=7
				hits=yes
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				chance=50
				damage=0
				hits=no
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				chance=50
				damage=0
				hits=no
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				chance=50
				damage=0
				hits=no
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				next_unit_id=45
				random_calls=4
			[/result]
		[/checkup]
	[/command]
	[command]
		dependent=yes
		from_side="server"
		sent=yes
		[random_seed]
			new_seed="856c72d8"
		[/random_seed]
	[/command]
	[command]
		from_side=1
		sent=yes
		[move]
			x="27,26,25,24,23"
			y="35,35,36,35,36"
		[/move]
		[checkup]
			[result]
				final_hex_x=24
				final_hex_y=35
				stopped_early=yes
			[/result]
			[result]
				next_unit_id=45
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		from_side=1
		sent=yes
		[move]
			x="24,23"
			y="35,36"
		[/move]
		[checkup]
			[result]
				final_hex_x=23
				final_hex_y=36
				stopped_early=no
			[/result]
			[result]
				next_unit_id=45
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		from_side=1
		sent=yes
		[move]
			x="28,28,27,26,25,25,24,23"
			y="38,39,40,40,41,42,42,42"
		[/move]
		[checkup]
			[result]
				final_hex_x=23
				final_hex_y=42
				stopped_early=no
			[/result]
			[result]
				next_unit_id=45
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		from_side=1
		sent=yes
		[attack]
			attacker_lvl=0
			attacker_type="Vampire Bat Ladder_1"
			defender_lvl=1
			defender_type="Orcish Archer Ladder_1"
			defender_weapon=0
			tod="second_watch"
			turn=6
			weapon=0
			[source]
				x=23
				y=42
			[/source]
			[destination]
				x=23
				y=41
			[/destination]
		[/attack]
		[checkup]
			[result]
				chance=50
				damage=0
				hits=no
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				chance=40
				damage=0
				hits=no
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				chance=50
				damage=6
				hits=yes
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				chance=40
				damage=0
				hits=no
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				next_unit_id=45
				random_calls=4
			[/result]
		[/checkup]
	[/command]
	[command]
		dependent=yes
		from_side="server"
		sent=yes
		[random_seed]
			new_seed="708108e1"
		[/random_seed]
	[/command]
	[command]
		sent=yes
		undo=no
		[speak]
			id="server"
			message="Rob_Roy has logged into the lobby"
			time=1700067472
		[/speak]
	[/command]
	[command]
		from_side=1
		sent=yes
		[recruit]
			type="Skeleton"
			x=23
			y=10
			[from]
				x=31
				y=24
			[/from]
		[/recruit]
		[checkup]
			[result]
				checksum="rGswozct3,K0OgqG>bPvTQKYJH+wioWCB9mZ8sTNICDRcHa+>mJJQA1Nryq+mH,DmF219WN7zo.fOFsIvTD72PLYVCLjics2m5NLkwZ1nMzQ8jeCCdnsBj.mhLm8i-0k"
			[/result]
			[result]
				next_unit_id=46
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		from_side=1
		sent=yes
		[recruit]
			type="Skeleton"
			x=24
			y=9
			[from]
				x=31
				y=24
			[/from]
		[/recruit]
		[checkup]
			[result]
				checksum="rGswozct3,K0OgqG>bPvTQKYJH+wioWCB9mZ8sTNICDRcHa+>mJJQA1Nryq+mH,DmF219WN7zo.fOFsIvTD72PLYVCLjics2m5NLkwZ1nMzQ8jeCCdnsBj.mhLm8i-0k"
			[/result]
			[result]
				next_unit_id=47
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		from_side=1
		sent=yes
		[move]
			x="31,30,29,28"
			y="24,24,25,25"
		[/move]
		[checkup]
			[result]
				final_hex_x=28
				final_hex_y=25
				stopped_early=no
			[/result]
			[result]
				next_unit_id=47
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		undo=no
		[speak]
			id="ikomizo"
			message="így a kutyust megölettem"
			side=2
			time=1700067517
		[/speak]
	[/command]
	[command]
		sent=yes
		undo=no
		[speak]
			id="server"
			message="pokmahon has logged into the lobby"
			time=1700067569
		[/speak]
	[/command]
	[command]
		from_side=1
		sent=yes
		[move]
			x="28,27"
			y="25,26"
		[/move]
		[checkup]
			[result]
				final_hex_x=27
				final_hex_y=26
				stopped_early=no
			[/result]
			[result]
				next_unit_id=47
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		sent=yes
		[end_turn]
			next_player_number=2
		[/end_turn]
		[checkup1]
			[result]
				next_unit_id=47
				random_calls=0
			[/result]
		[/checkup1]
	[/command]
	[command]
		[init_side]
			side_number=2
		[/init_side]
		[checkup]
			[result]
				next_unit_id=47
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		from_side=2
		[move]
			x="24,25,25,24"
			y="25,26,27,27"
		[/move]
		[checkup]
			[result]
				final_hex_x=24
				final_hex_y=27
				stopped_early=no
			[/result]
			[result]
				next_unit_id=47
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		from_side=2
		[attack]
			attacker_lvl=1
			attacker_type="Troll Whelp"
			defender_lvl=0
			defender_type="Walking Corpse"
			defender_weapon=0
			tod="second_watch"
			turn=6
			weapon=0
			[source]
				x=24
				y=27
			[/source]
			[destination]
				x=23
				y=27
			[/destination]
		[/attack]
		[checkup]
			[result]
				chance=60
				damage=0
				hits=no
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				chance=50
				damage=7
				hits=yes
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				chance=60
				damage=9
				hits=yes
			[/result]
			[result]
				dies=yes
			[/result]
			[result]
				next_unit_id=47
				random_calls=3
			[/result]
		[/checkup]
	[/command]
	[command]
		dependent=yes
		from_side="server"
		sent=yes
		[random_seed]
			new_seed="33d4e823"
		[/random_seed]
	[/command]
	[command]
		from_side=2
		[attack]
			attacker_lvl=0
			attacker_type="Goblin Spearman"
			defender_lvl=1
			defender_type="Dark Adept"
			defender_weapon=-1
			tod="second_watch"
			turn=6
			weapon=0
			[source]
				x=16
				y=13
			[/source]
			[destination]
				x=17
				y=14
			[/destination]
		[/attack]
		[checkup]
			[result]
				chance=60
				damage=7
				hits=yes
			[/result]
			[result]
				dies=yes
			[/result]
			[result]
				next_unit_id=47
				random_calls=1
			[/result]
		[/checkup]
	[/command]
	[command]
		dependent=yes
		from_side="server"
		sent=yes
		[random_seed]
			new_seed="856d05da"
		[/random_seed]
	[/command]
	[command]
		from_side=2
		[move]
			x="21,22,23,24,25,25"
			y="38,38,39,39,40,41"
		[/move]
		[checkup]
			[result]
				final_hex_x=25
				final_hex_y=41
				stopped_early=no
			[/result]
			[result]
				next_unit_id=47
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		from_side=2
		[attack]
			attacker_lvl=1
			attacker_type="Orcish Grunt"
			defender_lvl=1
			defender_type="Dark Adept"
			defender_weapon=-1
			tod="second_watch"
			turn=6
			weapon=0
			[source]
				x=25
				y=41
			[/source]
			[destination]
				x=24
				y=41
			[/destination]
		[/attack]
		[checkup]
			[result]
				chance=60
				damage=0
				hits=no
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				chance=60
				damage=0
				hits=no
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				next_unit_id=47
				random_calls=2
			[/result]
		[/checkup]
	[/command]
	[command]
		dependent=yes
		from_side="server"
		sent=yes
		[random_seed]
			new_seed="eb7e9028"
		[/random_seed]
	[/command]
	[command]
		from_side=2
		[move]
			x="22,22,22,22,23,24"
			y="39,40,41,42,43,42"
		[/move]
		[checkup]
			[result]
				final_hex_x=24
				final_hex_y=42
				stopped_early=no
			[/result]
			[result]
				next_unit_id=47
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		from_side=2
		[attack]
			attacker_lvl=1
			attacker_type="Wolf Rider"
			defender_lvl=1
			defender_type="Dark Adept"
			defender_weapon=-1
			tod="second_watch"
			turn=6
			weapon=0
			[source]
				x=24
				y=42
			[/source]
			[destination]
				x=24
				y=41
			[/destination]
		[/attack]
		[checkup]
			[result]
				chance=60
				damage=6
				hits=yes
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				chance=60
				damage=6
				hits=yes
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				chance=60
				damage=6
				hits=yes
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				next_unit_id=47
				random_calls=3
			[/result]
		[/checkup]
	[/command]
	[command]
		dependent=yes
		from_side="server"
		sent=yes
		[random_seed]
			new_seed="8ddb939a"
		[/random_seed]
	[/command]
	[command]
		from_side=2
		[move]
			x="18,18,19,19,19,18"
			y="14,13,13,12,11,10"
		[/move]
		[checkup]
			[result]
				final_hex_x=18
				final_hex_y=10
				stopped_early=no
			[/result]
			[result]
				next_unit_id=47
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		from_side=2
		[attack]
			attacker_lvl=1
			attacker_type="Orcish Grunt"
			defender_lvl=0
			defender_type="Walking Corpse"
			defender_weapon=0
			tod="second_watch"
			turn=6
			weapon=0
			[source]
				x=18
				y=10
			[/source]
			[destination]
				x=19
				y=10
			[/destination]
		[/attack]
		[checkup]
			[result]
				chance=60
				damage=12
				hits=yes
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				chance=60
				damage=0
				hits=no
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				chance=60
				damage=0
				hits=no
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				chance=60
				damage=0
				hits=no
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				next_unit_id=47
				random_calls=4
			[/result]
		[/checkup]
	[/command]
	[command]
		dependent=yes
		from_side="server"
		sent=yes
		[random_seed]
			new_seed="fdd452ba"
		[/random_seed]
	[/command]
	[command]
		from_side=2
		[move]
			x="18,18,18,19,19,19"
			y="15,14,13,13,12,11"
		[/move]
		[checkup]
			[result]
				final_hex_x=19
				final_hex_y=11
				stopped_early=no
			[/result]
			[result]
				next_unit_id=47
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		from_side=2
		[attack]
			attacker_lvl=0
			attacker_type="Goblin Spearman"
			defender_lvl=0
			defender_type="Walking Corpse"
			defender_weapon=0
			tod="second_watch"
			turn=6
			weapon=0
			[source]
				x=19
				y=11
			[/source]
			[destination]
				x=19
				y=10
			[/destination]
		[/attack]
		[checkup]
			[result]
				chance=60
				damage=0
				hits=no
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				chance=60
				damage=7
				hits=yes
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				chance=60
				damage=7
				hits=yes
			[/result]
			[result]
				dies=yes
			[/result]
			[result]
				next_unit_id=47
				random_calls=3
			[/result]
		[/checkup]
	[/command]
	[command]
		dependent=yes
		from_side="server"
		sent=yes
		[random_seed]
			new_seed="7fccf314"
		[/random_seed]
	[/command]
	[command]
		from_side=2
		[move]
			x="15,15,14,13,13,13"
			y="16,17,17,18,19,20"
		[/move]
		[checkup]
			[result]
				final_hex_x=13
				final_hex_y=20
				stopped_early=no
			[/result]
			[result]
				next_unit_id=47
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		from_side=2
		[move]
			x="18,18"
			y="8,7"
		[/move]
		[checkup]
			[result]
				final_hex_x=18
				final_hex_y=7
				stopped_early=no
			[/result]
			[result]
				next_unit_id=47
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		from_side=2
		[attack]
			attacker_lvl=1
			attacker_type="Troll Whelp"
			defender_lvl=1
			defender_type="Dark Adept"
			defender_weapon=-1
			tod="second_watch"
			turn=6
			weapon=0
			[source]
				x=18
				y=7
			[/source]
			[destination]
				x=18
				y=6
			[/destination]
		[/attack]
		[checkup]
			[result]
				chance=60
				damage=9
				hits=yes
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				chance=60
				damage=0
				hits=no
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				next_unit_id=47
				random_calls=2
			[/result]
		[/checkup]
	[/command]
	[command]
		sent=yes
		undo=no
		[speak]
			id="server"
			message="Etiru44 has logged into the lobby"
			time=1700067887
		[/speak]
	[/command]
	[command]
		dependent=yes
		from_side="server"
		sent=yes
		[random_seed]
			new_seed="0f545979"
		[/random_seed]
	[/command]
	[command]
		from_side=2
		[move]
			x="19,18"
			y="9,8"
		[/move]
		[checkup]
			[result]
				final_hex_x=18
				final_hex_y=8
				stopped_early=no
			[/result]
			[result]
				next_unit_id=47
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		from_side=2
		[attack]
			attacker_lvl=1
			attacker_type="Orcish Archer Ladder_1"
			defender_lvl=1
			defender_type="Ghost"
			defender_weapon=1
			tod="second_watch"
			turn=6
			weapon=2
			[source]
				x=18
				y=8
			[/source]
			[destination]
				x=17
				y=9
			[/destination]
		[/attack]
		[checkup]
			[result]
				chance=50
				damage=8
				hits=yes
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				chance=40
				damage=4
				hits=yes
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				chance=50
				damage=8
				hits=yes
			[/result]
			[result]
				dies=yes
			[/result]
			[result]
				next_unit_id=47
				random_calls=3
			[/result]
		[/checkup]
	[/command]
	[command]
		dependent=yes
		from_side="server"
		sent=yes
		[random_seed]
			new_seed="07796a76"
		[/random_seed]
	[/command]
	[command]
		from_side=2
		[recruit]
			type="Troll Whelp"
			x=19
			y=9
			[from]
				x=16
				y=9
			[/from]
		[/recruit]
		[checkup]
			[result]
				checksum="-ocl14NvE<.nsSBHjy4f+63L18ip4.b>>x-+36.<kdkcs67Pmp32DkA2>2bggN8l2.>s6bz4mfQ<4c.bt5ke5.ln9eF7et.kMdxh2Gdv6,Uo<bsIhZYi-VT-s<-iEowr"
			[/result]
			[result]
				next_unit_id=48
				random_calls=22
			[/result]
		[/checkup]
	[/command]
	[command]
		dependent=yes
		from_side="server"
		sent=yes
		[random_seed]
			new_seed="069b9dd5"
		[/random_seed]
	[/command]
	[command]
		from_side=2
		[move]
			x="17,17"
			y="8,7"
		[/move]
		[checkup]
			[result]
				final_hex_x=17
				final_hex_y=7
				stopped_early=no
			[/result]
			[result]
				next_unit_id=48
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		from_side=2
		[attack]
			attacker_lvl=1
			attacker_type="Wolf Rider"
			defender_lvl=1
			defender_type="Dark Adept"
			defender_weapon=-1
			tod="second_watch"
			turn=6
			weapon=0
			[source]
				x=17
				y=7
			[/source]
			[destination]
				x=18
				y=6
			[/destination]
		[/attack]
		[checkup]
			[result]
				chance=60
				damage=7
				hits=yes
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				chance=60
				damage=0
				hits=no
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				chance=60
				damage=7
				hits=yes
			[/result]
			[result]
				dies=yes
			[/result]
			[result]
				next_unit_id=48
				random_calls=3
			[/result]
		[/checkup]
	[/command]
	[command]
		dependent=yes
		from_side="server"
		sent=yes
		[random_seed]
			new_seed="98d6235e"
		[/random_seed]
	[/command]
	[command]
		dependent=yes
		from_side=2
		[choose]
			value=1
		[/choose]
	[/command]
	[command]
		sent=yes
		undo=no
		[speak]
			id="server"
			message="Lornk has logged into the lobby"
			time=1700067927
		[/speak]
	[/command]
	[command]
		sent=yes
		undo=no
		[speak]
			id="server"
			message="Jalijara has logged into the lobby"
			time=1700067929
		[/speak]
	[/command]
	[command]
		from_side=2
		[recruit]
			type="Orcish Grunt"
			x=17
			y=25
			[from]
				x=16
				y=9
			[/from]
		[/recruit]
		[checkup]
			[result]
				checksum="5cbU7.h<DgoAe<>g94xfeW.wg1-1fEl4X,hk-<VH7MYbpXifhe8ir>a>519+Bg>-j0ce0lfeia9i3o7e.Xk36,T8d<NGfgQ6IR0+bivwZIFC<4f2BCsEbKQA2d+PSP3y"
			[/result]
			[result]
				next_unit_id=49
				random_calls=22
			[/result]
		[/checkup]
	[/command]
	[command]
		dependent=yes
		from_side="server"
		sent=yes
		[random_seed]
			new_seed="eea09e8f"
		[/random_seed]
	[/command]
	[command]
		from_side=2
		[move]
			x="16,15,14,14,15"
			y="9,10,10,11,12"
		[/move]
		[checkup]
			[result]
				final_hex_x=15
				final_hex_y=12
				stopped_early=no
			[/result]
			[result]
				next_unit_id=49
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		from_side=2
		[move]
			x="22,21"
			y="40,41"
		[/move]
		[checkup]
			[result]
				final_hex_x=21
				final_hex_y=41
				stopped_early=no
			[/result]
			[result]
				next_unit_id=49
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		sent=yes
		undo=no
		[speak]
			id="server"
			message="Hacke has logged into the lobby"
			time=1700067973
		[/speak]
	[/command]
	[command]
		from_side=2
		[move]
			x="23,22"
			y="41,40"
		[/move]
		[checkup]
			[result]
				final_hex_x=22
				final_hex_y=40
				stopped_early=no
			[/result]
			[result]
				next_unit_id=49
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		from_side=2
		[attack]
			attacker_lvl=1
			attacker_type="Orcish Archer Ladder_1"
			defender_lvl=0
			defender_type="Walking Corpse"
			defender_weapon=-1
			tod="second_watch"
			turn=6
			weapon=2
			[source]
				x=22
				y=40
			[/source]
			[destination]
				x=23
				y=40
			[/destination]
		[/attack]
		[checkup]
			[result]
				chance=50
				damage=9
				hits=yes
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				chance=50
				damage=0
				hits=no
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				next_unit_id=49
				random_calls=2
			[/result]
		[/checkup]
	[/command]
	[command]
		dependent=yes
		from_side="server"
		sent=yes
		[random_seed]
			new_seed="4b4f1400"
		[/random_seed]
	[/command]
	[command]
		from_side=2
		[move]
			x="21,22,23"
			y="41,40,41"
		[/move]
		[checkup]
			[result]
				final_hex_x=23
				final_hex_y=41
				stopped_early=no
			[/result]
			[result]
				next_unit_id=49
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		from_side=2
		[attack]
			attacker_lvl=1
			attacker_type="Troll Whelp"
			defender_lvl=1
			defender_type="Dark Adept"
			defender_weapon=-1
			tod="second_watch"
			turn=6
			weapon=0
			[source]
				x=23
				y=41
			[/source]
			[destination]
				x=24
				y=41
			[/destination]
		[/attack]
		[checkup]
			[result]
				chance=60
				damage=0
				hits=no
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				chance=60
				damage=10
				hits=yes
			[/result]
			[result]
				dies=yes
			[/result]
			[result]
				next_unit_id=49
				random_calls=2
			[/result]
		[/checkup]
	[/command]
	[command]
		dependent=yes
		from_side="server"
		sent=yes
		[random_seed]
			new_seed="171642ae"
		[/random_seed]
	[/command]
	[command]
		sent=yes
		undo=no
		[speak]
			id="server"
			message="Camomille575 has logged into the lobby"
			time=1700067991
		[/speak]
	[/command]
	[command]
		from_side=2
		[move]
			x="22,23"
			y="26,27"
		[/move]
		[checkup]
			[result]
				final_hex_x=23
				final_hex_y=27
				stopped_early=no
			[/result]
			[result]
				next_unit_id=49
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		from_side=2
		[attack]
			attacker_lvl=1
			attacker_type="Naga Fighter"
			defender_lvl=0
			defender_type="Walking Corpse"
			defender_weapon=0
			tod="second_watch"
			turn=6
			weapon=0
			[source]
				x=23
				y=27
			[/source]
			[destination]
				x=23
				y=28
			[/destination]
		[/attack]
		[checkup]
			[result]
				chance=50
				damage=4
				hits=yes
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				chance=40
				damage=0
				hits=no
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				chance=50
				damage=4
				hits=yes
			[/result]
			[result]
				dies=yes
			[/result]
			[result]
				next_unit_id=49
				random_calls=3
			[/result]
		[/checkup]
	[/command]
	[command]
		dependent=yes
		from_side="server"
		sent=yes
		[random_seed]
			new_seed="98a432d0"
		[/random_seed]
	[/command]
	[command]
		sent=yes
		undo=no
		[speak]
			id="server"
			message="Calmugyr has logged into the lobby"
			time=1700068039
		[/speak]
	[/command]
	[command]
		from_side=2
		[move]
			x="23,22,21"
			y="26,26,27"
		[/move]
		[checkup]
			[result]
				final_hex_x=21
				final_hex_y=27
				stopped_early=no
			[/result]
			[result]
				next_unit_id=49
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		from_side=2
		[attack]
			attacker_lvl=1
			attacker_type="Orcish Archer Ladder_1"
			defender_lvl=0
			defender_type="Walking Corpse"
			defender_weapon=-1
			tod="second_watch"
			turn=6
			weapon=1
			[source]
				x=21
				y=27
			[/source]
			[destination]
				x=22
				y=27
			[/destination]
		[/attack]
		[checkup]
			[result]
				chance=80
				damage=6
				hits=yes
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				chance=80
				damage=0
				hits=no
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				chance=80
				damage=6
				hits=yes
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				next_unit_id=49
				random_calls=3
			[/result]
		[/checkup]
	[/command]
	[command]
		dependent=yes
		from_side="server"
		sent=yes
		[random_seed]
			new_seed="4e394314"
		[/random_seed]
	[/command]
	[command]
		sent=yes
		undo=no
		[speak]
			id="server"
			message="Adjida has logged into the lobby"
			time=1700068052
		[/speak]
	[/command]
	[command]
		[end_turn]
			next_player_number=3
		[/end_turn]
		[checkup1]
			[result]
				next_unit_id=49
				random_calls=0
			[/result]
		[/checkup1]
		[checkup2]
			[result]
				next_unit_id=49
				random_calls=0
			[/result]
		[/checkup2]
	[/command]
	[command]
		sent=yes
		[init_side]
			side_number=1
		[/init_side]
		[checkup]
			[result]
				next_unit_id=49
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		sent=yes
		undo=no
		[speak]
			id="server"
			message="binaire has logged into the lobby"
			time=1700068089
		[/speak]
	[/command]
	[command]
		from_side=1
		sent=yes
		[move]
			x="19,18"
			y="7,6"
		[/move]
		[checkup]
			[result]
				final_hex_x=18
				final_hex_y=6
				stopped_early=no
			[/result]
			[result]
				next_unit_id=49
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		from_side=1
		sent=yes
		[attack]
			attacker_lvl=1
			attacker_type="Skeleton Archer Ladder_1"
			defender_lvl=1
			defender_type="Troll Whelp"
			defender_weapon=-1
			tod="dawn"
			turn=7
			weapon=1
			[source]
				x=18
				y=6
			[/source]
			[destination]
				x=18
				y=7
			[/destination]
		[/attack]
		[checkup]
			[result]
				chance=70
				damage=5
				hits=yes
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				chance=70
				damage=5
				hits=yes
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				chance=70
				damage=5
				hits=yes
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				next_unit_id=49
				random_calls=3
			[/result]
		[/checkup]
	[/command]
	[command]
		dependent=yes
		from_side="server"
		sent=yes
		[random_seed]
			new_seed="8305e250"
		[/random_seed]
	[/command]
	[command]
		from_side=1
		sent=yes
		[move]
			x="19,19"
			y="8,7"
		[/move]
		[checkup]
			[result]
				final_hex_x=19
				final_hex_y=7
				stopped_early=no
			[/result]
			[result]
				next_unit_id=49
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		from_side=1
		sent=yes
		[attack]
			attacker_lvl=1
			attacker_type="Skeleton Archer Ladder_1"
			defender_lvl=1
			defender_type="Troll Whelp"
			defender_weapon=-1
			tod="dawn"
			turn=7
			weapon=1
			[source]
				x=19
				y=7
			[/source]
			[destination]
				x=18
				y=7
			[/destination]
		[/attack]
		[checkup]
			[result]
				chance=70
				damage=5
				hits=yes
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				chance=70
				damage=5
				hits=yes
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				chance=70
				damage=5
				hits=yes
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				next_unit_id=49
				random_calls=3
			[/result]
		[/checkup]
	[/command]
	[command]
		dependent=yes
		from_side="server"
		sent=yes
		[random_seed]
			new_seed="3f6e7340"
		[/random_seed]
	[/command]
	[command]
		from_side=1
		sent=yes
		[move]
			x="23,23,22,21,20,19"
			y="10,9,8,8,7,8"
		[/move]
		[checkup]
			[result]
				final_hex_x=19
				final_hex_y=8
				stopped_early=no
			[/result]
			[result]
				next_unit_id=49
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		from_side=1
		sent=yes
		[attack]
			attacker_lvl=1
			attacker_type="Skeleton"
			defender_lvl=1
			defender_type="Orcish Archer Ladder_1"
			defender_weapon=0
			tod="dawn"
			turn=7
			weapon=0
			[source]
				x=19
				y=8
			[/source]
			[destination]
				x=18
				y=8
			[/destination]
		[/attack]
		[checkup]
			[result]
				chance=40
				damage=0
				hits=no
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				chance=60
				damage=2
				hits=yes
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				chance=40
				damage=7
				hits=yes
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				chance=60
				damage=2
				hits=yes
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				chance=40
				damage=0
				hits=no
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				next_unit_id=49
				random_calls=5
			[/result]
		[/checkup]
	[/command]
	[command]
		dependent=yes
		from_side="server"
		sent=yes
		[random_seed]
			new_seed="98c15ad3"
		[/random_seed]
	[/command]
	[command]
		sent=yes
		undo=no
		[speak]
			id="server"
			message="Jalijara has logged into the lobby"
			time=1700068120
		[/speak]
	[/command]
	[command]
		sent=yes
		undo=no
		[speak]
			id="server"
			message="Peixeira has logged into the lobby"
			time=1700068126
		[/speak]
	[/command]
	[command]
		from_side=1
		sent=yes
		[move]
			x="24,23,22,21,20"
			y="9,9,8,8,8"
		[/move]
		[checkup]
			[result]
				final_hex_x=20
				final_hex_y=8
				stopped_early=no
			[/result]
			[result]
				next_unit_id=49
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		from_side=1
		sent=yes
		[move]
			x="22,21,21,20"
			y="20,21,22,22"
		[/move]
		[checkup]
			[result]
				final_hex_x=20
				final_hex_y=22
				stopped_early=no
			[/result]
			[result]
				next_unit_id=49
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		from_side=1
		sent=yes
		[move]
			x="28,29,29,30"
			y="12,12,11,10"
		[/move]
		[checkup]
			[result]
				final_hex_x=30
				final_hex_y=10
				stopped_early=no
			[/result]
			[result]
				next_unit_id=49
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		from_side=1
		sent=yes
		[move]
			x="27,26,26,25,25,24,23"
			y="14,14,15,16,17,17,18"
		[/move]
		[checkup]
			[result]
				final_hex_x=23
				final_hex_y=18
				stopped_early=no
			[/result]
			[result]
				next_unit_id=49
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		from_side=1
		sent=yes
		[move]
			x="26,26,25,25,25"
			y="15,16,17,18,19"
		[/move]
		[checkup]
			[result]
				final_hex_x=25
				final_hex_y=19
				stopped_early=no
			[/result]
			[result]
				next_unit_id=49
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		from_side=1
		sent=yes
		[move]
			x="27,26,26,25"
			y="26,26,27,28"
		[/move]
		[checkup]
			[result]
				final_hex_x=25
				final_hex_y=28
				stopped_early=no
			[/result]
			[result]
				next_unit_id=49
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		from_side=1
		sent=yes
		[attack]
			attacker_lvl=2
			attacker_type="Dark Sorcerer"
			defender_lvl=1
			defender_type="Troll Whelp"
			defender_weapon=-1
			tod="dawn"
			turn=7
			weapon=1
			[source]
				x=25
				y=28
			[/source]
			[destination]
				x=24
				y=27
			[/destination]
		[/attack]
		[checkup]
			[result]
				chance=70
				damage=0
				hits=no
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				chance=70
				damage=0
				hits=no
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				next_unit_id=49
				random_calls=2
			[/result]
		[/checkup]
	[/command]
	[command]
		dependent=yes
		from_side="server"
		sent=yes
		[random_seed]
			new_seed="68bb0c49"
		[/random_seed]
	[/command]
	[command]
		sent=yes
		undo=no
		[speak]
			id="server"
			message="Jalijara has logged into the lobby"
			time=1700068198
		[/speak]
	[/command]
	[command]
		from_side=1
		sent=yes
		[move]
			x="23,22,21,20,19,18"
			y="36,36,36,36,37,37"
		[/move]
		[checkup]
			[result]
				final_hex_x=18
				final_hex_y=37
				stopped_early=no
			[/result]
			[result]
				next_unit_id=49
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		from_side=1
		sent=yes
		[move]
			x="23,22,21,20,19"
			y="42,42,43,42,43"
		[/move]
		[checkup]
			[result]
				final_hex_x=19
				final_hex_y=43
				stopped_early=no
			[/result]
			[result]
				next_unit_id=49
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		from_side=1
		sent=yes
		[attack]
			attacker_lvl=0
			attacker_type="Walking Corpse"
			defender_lvl=1
			defender_type="Orcish Archer Ladder_1"
			defender_weapon=0
			tod="dawn"
			turn=7
			weapon=0
			[source]
				x=23
				y=40
			[/source]
			[destination]
				x=22
				y=40
			[/destination]
		[/attack]
		[checkup]
			[result]
				chance=50
				damage=6
				hits=yes
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				chance=50
				damage=3
				hits=yes
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				chance=50
				damage=0
				hits=no
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				chance=50
				damage=3
				hits=yes
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				next_unit_id=49
				random_calls=4
			[/result]
		[/checkup]
	[/command]
	[command]
		dependent=yes
		from_side="server"
		sent=yes
		[random_seed]
			new_seed="2600eb46"
		[/random_seed]
	[/command]
	[command]
		sent=yes
		undo=no
		[speak]
			id="server"
			message="xx1 has logged into the lobby"
			time=1700068221
		[/speak]
	[/command]
	[command]
		sent=yes
		undo=no
		[speak]
			id="server"
			message="Serine has logged into the lobby"
			time=1700068234
		[/speak]
	[/command]
	[command]
		sent=yes
		undo=no
		[speak]
			id="server"
			message="emiml has logged into the lobby"
			time=1700068238
		[/speak]
	[/command]
	[command]
		from_side=1
		sent=yes
		[move]
			x="24,25,26,27,28"
			y="26,26,25,26,25"
		[/move]
		[checkup]
			[result]
				final_hex_x=28
				final_hex_y=25
				stopped_early=no
			[/result]
			[result]
				next_unit_id=49
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		from_side=1
		sent=yes
		[move]
			x="22,22,22"
			y="27,28,29"
		[/move]
		[checkup]
			[result]
				final_hex_x=22
				final_hex_y=29
				stopped_early=no
			[/result]
			[result]
				next_unit_id=49
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		sent=yes
		undo=no
		[speak]
			id="server"
			message="Ignis7 has logged into the lobby"
			time=1700068261
		[/speak]
	[/command]
	[command]
		sent=yes
		undo=no
		[speak]
			id="server"
			message="xx2 has logged into the lobby"
			time=1700068275
		[/speak]
	[/command]
	[command]
		sent=yes
		[end_turn]
			next_player_number=2
		[/end_turn]
		[checkup1]
			[result]
				next_unit_id=49
				random_calls=0
			[/result]
		[/checkup1]
	[/command]
	[command]
		[init_side]
			side_number=2
		[/init_side]
		[checkup]
			[result]
				next_unit_id=49
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		from_side=2
		[move]
			x="25,24,23,22,21,20"
			y="41,41,41,41,42,42"
		[/move]
		[checkup]
			[result]
				final_hex_x=20
				final_hex_y=42
				stopped_early=no
			[/result]
			[result]
				next_unit_id=49
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		from_side=2
		[attack]
			attacker_lvl=1
			attacker_type="Orcish Grunt"
			defender_lvl=0
			defender_type="Vampire Bat Ladder_1"
			defender_weapon=0
			tod="dawn"
			turn=7
			weapon=0
			[source]
				x=20
				y=42
			[/source]
			[destination]
				x=19
				y=43
			[/destination]
		[/attack]
		[checkup]
			[result]
				chance=50
				damage=0
				hits=no
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				chance=60
				damage=5
				hits=yes
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				chance=50
				damage=0
				hits=no
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				chance=60
				damage=0
				hits=no
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				next_unit_id=49
				random_calls=4
			[/result]
		[/checkup]
	[/command]
	[command]
		dependent=yes
		from_side="server"
		sent=yes
		[random_seed]
			new_seed="72c44e42"
		[/random_seed]
	[/command]
	[command]
		from_side=2
		[move]
			x="22,23,24,24"
			y="40,41,40,39"
		[/move]
		[checkup]
			[result]
				final_hex_x=24
				final_hex_y=39
				stopped_early=no
			[/result]
			[result]
				next_unit_id=49
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		from_side=2
		[attack]
			attacker_lvl=1
			attacker_type="Orcish Archer Ladder_1"
			defender_lvl=0
			defender_type="Walking Corpse"
			defender_weapon=-1
			tod="dawn"
			turn=7
			weapon=1
			[source]
				x=24
				y=39
			[/source]
			[destination]
				x=23
				y=40
			[/destination]
		[/attack]
		[checkup]
			[result]
				chance=50
				damage=0
				hits=no
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				chance=50
				damage=0
				hits=no
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				chance=50
				damage=5
				hits=yes
			[/result]
			[result]
				dies=yes
			[/result]
			[result]
				next_unit_id=49
				random_calls=3
			[/result]
		[/checkup]
	[/command]
	[command]
		dependent=yes
		from_side="server"
		sent=yes
		[random_seed]
			new_seed="be20e079"
		[/random_seed]
	[/command]
	[command]
		from_side=2
		[move]
			x="23,22,21,20,20,19"
			y="41,40,40,39,38,38"
		[/move]
		[checkup]
			[result]
				final_hex_x=19
				final_hex_y=38
				stopped_early=no
			[/result]
			[result]
				next_unit_id=49
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		from_side=2
		[attack]
			attacker_lvl=1
			attacker_type="Troll Whelp"
			defender_lvl=1
			defender_type="Skeleton Archer Ladder_1"
			defender_weapon=0
			tod="dawn"
			turn=7
			weapon=0
			[source]
				x=19
				y=38
			[/source]
			[destination]
				x=18
				y=37
			[/destination]
		[/attack]
		[checkup]
			[result]
				chance=40
				damage=10
				hits=yes
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				chance=60
				damage=3
				hits=yes
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				chance=40
				damage=0
				hits=no
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				chance=60
				damage=0
				hits=no
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				next_unit_id=49
				random_calls=4
			[/result]
		[/checkup]
	[/command]
	[command]
		dependent=yes
		from_side="server"
		sent=yes
		[random_seed]
			new_seed="5e40981c"
		[/random_seed]
	[/command]
	[command]
		from_side=2
		[move]
			x="24,23,22,21,20,19,18"
			y="42,43,43,43,43,44,43"
		[/move]
		[checkup]
			[result]
				final_hex_x=18
				final_hex_y=43
				stopped_early=no
			[/result]
			[result]
				next_unit_id=49
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		from_side=2
		[attack]
			attacker_lvl=1
			attacker_type="Wolf Rider"
			defender_lvl=0
			defender_type="Vampire Bat Ladder_1"
			defender_weapon=0
			tod="dawn"
			turn=7
			weapon=0
			[source]
				x=18
				y=43
			[/source]
			[destination]
				x=19
				y=43
			[/destination]
		[/attack]
		[checkup]
			[result]
				chance=50
				damage=0
				hits=no
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				chance=60
				damage=5
				hits=yes
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				chance=50
				damage=0
				hits=no
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				chance=60
				damage=5
				hits=yes
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				chance=50
				damage=5
				hits=yes
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				next_unit_id=49
				random_calls=5
			[/result]
		[/checkup]
	[/command]
	[command]
		dependent=yes
		from_side="server"
		sent=yes
		[random_seed]
			new_seed="e8966850"
		[/random_seed]
	[/command]
	[command]
		from_side=2
		[move]
			x="17,18,19,20"
			y="25,24,24,23"
		[/move]
		[checkup]
			[result]
				final_hex_x=20
				final_hex_y=23
				stopped_early=no
			[/result]
			[result]
				next_unit_id=49
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		from_side=2
		[attack]
			attacker_lvl=1
			attacker_type="Orcish Grunt"
			defender_lvl=0
			defender_type="Walking Corpse"
			defender_weapon=0
			tod="dawn"
			turn=7
			weapon=0
			[source]
				x=20
				y=23
			[/source]
			[destination]
				x=20
				y=22
			[/destination]
		[/attack]
		[checkup]
			[result]
				chance=40
				damage=0
				hits=no
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				chance=60
				damage=0
				hits=no
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				chance=40
				damage=10
				hits=yes
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				chance=60
				damage=0
				hits=no
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				next_unit_id=49
				random_calls=4
			[/result]
		[/checkup]
	[/command]
	[command]
		dependent=yes
		from_side="server"
		sent=yes
		[random_seed]
			new_seed="9173a43e"
		[/random_seed]
	[/command]
	[command]
		sent=yes
		undo=no
		[speak]
			id="server"
			message="godgolden has logged into the lobby"
			time=1700068359
		[/speak]
	[/command]
	[command]
		from_side=2
		[move]
			x="24,24,25,26,26"
			y="27,26,26,26,27"
		[/move]
		[checkup]
			[result]
				final_hex_x=26
				final_hex_y=27
				stopped_early=no
			[/result]
			[result]
				next_unit_id=49
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		from_side=2
		[attack]
			attacker_lvl=1
			attacker_type="Troll Whelp"
			defender_lvl=2
			defender_type="Dark Sorcerer"
			defender_weapon=0
			tod="dawn"
			turn=7
			weapon=0
			[source]
				x=26
				y=27
			[/source]
			[destination]
				x=25
				y=28
			[/destination]
		[/attack]
		[checkup]
			[result]
				chance=50
				damage=0
				hits=no
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				chance=70
				damage=4
				hits=yes
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				chance=50
				damage=7
				hits=yes
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				chance=70
				damage=4
				hits=yes
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				chance=70
				damage=0
				hits=no
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				next_unit_id=49
				random_calls=5
			[/result]
		[/checkup]
	[/command]
	[command]
		dependent=yes
		from_side="server"
		sent=yes
		[random_seed]
			new_seed="8c745164"
		[/random_seed]
	[/command]
	[command]
		from_side=2
		[move]
			x="23,23,24"
			y="27,28,28"
		[/move]
		[checkup]
			[result]
				final_hex_x=24
				final_hex_y=28
				stopped_early=no
			[/result]
			[result]
				next_unit_id=49
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		from_side=2
		[attack]
			attacker_lvl=1
			attacker_type="Naga Fighter"
			defender_lvl=2
			defender_type="Dark Sorcerer"
			defender_weapon=0
			tod="dawn"
			turn=7
			weapon=0
			[source]
				x=24
				y=28
			[/source]
			[destination]
				x=25
				y=28
			[/destination]
		[/attack]
		[checkup]
			[result]
				chance=50
				damage=4
				hits=yes
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				chance=60
				damage=0
				hits=no
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				chance=50
				damage=4
				hits=yes
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				chance=60
				damage=0
				hits=no
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				chance=50
				damage=0
				hits=no
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				chance=60
				damage=4
				hits=yes
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				chance=50
				damage=0
				hits=no
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				next_unit_id=49
				random_calls=7
			[/result]
		[/checkup]
	[/command]
	[command]
		sent=yes
		undo=no
		[speak]
			id="server"
			message="Sigm4 has logged into the lobby"
			time=1700068385
		[/speak]
	[/command]
	[command]
		dependent=yes
		from_side="server"
		sent=yes
		[random_seed]
			new_seed="2dde8bb4"
		[/random_seed]
	[/command]
	[command]
		from_side=2
		[move]
			x="21,22,23,24"
			y="27,26,27,27"
		[/move]
		[checkup]
			[result]
				final_hex_x=24
				final_hex_y=27
				stopped_early=no
			[/result]
			[result]
				next_unit_id=49
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		from_side=2
		[attack]
			attacker_lvl=1
			attacker_type="Orcish Archer Ladder_1"
			defender_lvl=2
			defender_type="Dark Sorcerer"
			defender_weapon=0
			tod="dawn"
			turn=7
			weapon=0
			[source]
				x=24
				y=27
			[/source]
			[destination]
				x=25
				y=28
			[/destination]
		[/attack]
		[checkup]
			[result]
				chance=50
				damage=0
				hits=no
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				chance=50
				damage=0
				hits=no
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				chance=50
				damage=0
				hits=no
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				chance=50
				damage=0
				hits=no
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				chance=50
				damage=4
				hits=yes
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				next_unit_id=49
				random_calls=5
			[/result]
		[/checkup]
	[/command]
	[command]
		dependent=yes
		from_side="server"
		sent=yes
		[random_seed]
			new_seed="0ae0f888"
		[/random_seed]
	[/command]
	[command]
		from_side=2
		[move]
			x="20,21,22,22,23"
			y="33,33,32,31,31"
		[/move]
		[checkup]
			[result]
				final_hex_x=23
				final_hex_y=31
				stopped_early=no
			[/result]
			[result]
				next_unit_id=49
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		from_side=2
		[move]
			x="13,14,15,16,17,18"
			y="20,20,21,21,21,21"
		[/move]
		[checkup]
			[result]
				final_hex_x=18
				final_hex_y=21
				stopped_early=no
			[/result]
			[result]
				next_unit_id=49
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		from_side=2
		[move]
			x="15,14,14,15,16"
			y="12,11,10,10,9"
		[/move]
		[checkup]
			[result]
				final_hex_x=16
				final_hex_y=9
				stopped_early=no
			[/result]
			[result]
				next_unit_id=49
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		sent=yes
		undo=no
		[speak]
			id="server"
			message="simone has logged into the lobby"
			time=1700068459
		[/speak]
	[/command]
	[command]
		sent=yes
		undo=no
		[speak]
			id="server"
			message="Caritas has logged into the lobby"
			time=1700068464
		[/speak]
	[/command]
	[command]
		from_side=2
		[move]
			x="17,16"
			y="7,6"
		[/move]
		[checkup]
			[result]
				final_hex_x=16
				final_hex_y=6
				stopped_early=no
			[/result]
			[result]
				next_unit_id=49
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		from_side=2
		[move]
			x="18,17"
			y="7,7"
		[/move]
		[checkup]
			[result]
				final_hex_x=17
				final_hex_y=7
				stopped_early=no
			[/result]
			[result]
				next_unit_id=49
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		from_side=2
		[attack]
			attacker_lvl=1
			attacker_type="Troll Whelp"
			defender_lvl=1
			defender_type="Skeleton Archer Ladder_1"
			defender_weapon=0
			tod="dawn"
			turn=7
			weapon=0
			[source]
				x=17
				y=7
			[/source]
			[destination]
				x=18
				y=6
			[/destination]
		[/attack]
		[checkup]
			[result]
				chance=60
				damage=8
				hits=yes
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				chance=70
				damage=3
				hits=yes
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				chance=60
				damage=0
				hits=no
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				chance=70
				damage=3
				hits=yes
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				next_unit_id=49
				random_calls=4
			[/result]
		[/checkup]
	[/command]
	[command]
		dependent=yes
		from_side="server"
		sent=yes
		[random_seed]
			new_seed="8c7e674f"
		[/random_seed]
	[/command]
	[command]
		sent=yes
		undo=no
		[speak]
			id="szdik570"
			message="az én hibám egyértelmű :D"
			side=1
			time=1700068484
		[/speak]
	[/command]
	[command]
		from_side=2
		[recruit]
			type="Troll Whelp"
			x=20
			y=9
			[from]
				x=16
				y=9
			[/from]
		[/recruit]
		[checkup]
			[result]
				checksum="-ocl14NBE<.nsSBHjz4f+63L18ip4.b>>x-+36.<kdkcs67Pmp32DkA2>2bggN8l2.>s6bz4mfQ<4c.bt5ke5.fn9eF7et.kMdxh2Gdv6,Up<bsIhZYi-VT-s<-iEowr"
			[/result]
			[result]
				next_unit_id=50
				random_calls=22
			[/result]
		[/checkup]
	[/command]
	[command]
		dependent=yes
		from_side="server"
		sent=yes
		[random_seed]
			new_seed="872098b9"
		[/random_seed]
	[/command]
	[command]
		from_side=2
		[move]
			x="16,16,15"
			y="13,12,12"
		[/move]
		[checkup]
			[result]
				final_hex_x=15
				final_hex_y=12
				stopped_early=no
			[/result]
			[result]
				next_unit_id=50
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		from_side=2
		[move]
			x="18,19,20,21,22,23,24"
			y="10,11,11,12,12,12,12"
		[/move]
		[checkup]
			[result]
				final_hex_x=21
				final_hex_y=12
				stopped_early=yes
			[/result]
			[result]
				next_unit_id=50
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		from_side=2
		[move]
			x="21,22,23,24"
			y="12,12,12,12"
		[/move]
		[checkup]
			[result]
				final_hex_x=23
				final_hex_y=12
				stopped_early=yes
			[/result]
			[result]
				next_unit_id=50
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		from_side=2
		[move]
			x="23,24"
			y="12,12"
		[/move]
		[checkup]
			[result]
				final_hex_x=24
				final_hex_y=12
				stopped_early=no
			[/result]
			[result]
				next_unit_id=50
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		sent=yes
		undo=no
		[speak]
			id="server"
			message="Godbeast has logged into the lobby"
			time=1700068510
		[/speak]
	[/command]
	[command]
		from_side=2
		[move]
			x="19,20,21,22,23"
			y="11,11,12,12,12"
		[/move]
		[checkup]
			[result]
				final_hex_x=23
				final_hex_y=12
				stopped_early=no
			[/result]
			[result]
				next_unit_id=50
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		sent=yes
		undo=no
		[speak]
			id="server"
			message="WorshipTheFallen has logged into the lobby"
			time=1700068517
		[/speak]
	[/command]
	[command]
		sent=yes
		undo=no
		[speak]
			id="server"
			message="Swedarker has logged into the lobby"
			time=1700068519
		[/speak]
	[/command]
	[command]
		from_side=2
		[attack]
			attacker_lvl=1
			attacker_type="Orcish Archer Ladder_1"
			defender_lvl=1
			defender_type="Skeleton"
			defender_weapon=-1
			tod="dawn"
			turn=7
			weapon=2
			[source]
				x=18
				y=8
			[/source]
			[destination]
				x=19
				y=8
			[/destination]
		[/attack]
		[checkup]
			[result]
				chance=60
				damage=8
				hits=yes
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				chance=60
				damage=0
				hits=no
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				next_unit_id=50
				random_calls=2
			[/result]
		[/checkup]
	[/command]
	[command]
		dependent=yes
		from_side="server"
		sent=yes
		[random_seed]
			new_seed="fb2ea0da"
		[/random_seed]
	[/command]
	[command]
		from_side=2
		[attack]
			attacker_lvl=1
			attacker_type="Troll Whelp"
			defender_lvl=1
			defender_type="Skeleton"
			defender_weapon=0
			tod="dawn"
			turn=7
			weapon=0
			[source]
				x=19
				y=9
			[/source]
			[destination]
				x=19
				y=8
			[/destination]
		[/attack]
		[checkup]
			[result]
				chance=60
				damage=8
				hits=yes
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				chance=60
				damage=0
				hits=no
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				chance=60
				damage=0
				hits=no
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				chance=60
				damage=6
				hits=yes
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				chance=60
				damage=0
				hits=no
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				next_unit_id=50
				random_calls=5
			[/result]
		[/checkup]
	[/command]
	[command]
		dependent=yes
		from_side="server"
		sent=yes
		[random_seed]
			new_seed="a4d07767"
		[/random_seed]
	[/command]
	[command]
		from_side=2
		[move]
			x="16,16,17,18"
			y="6,7,8,7"
		[/move]
		[checkup]
			[result]
				final_hex_x=18
				final_hex_y=7
				stopped_early=no
			[/result]
			[result]
				next_unit_id=50
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		from_side=2
		[attack]
			attacker_lvl=2
			attacker_type="Goblin Pillager"
			defender_lvl=1
			defender_type="Skeleton"
			defender_weapon=0
			tod="dawn"
			turn=7
			weapon=1
			[source]
				x=18
				y=7
			[/source]
			[destination]
				x=19
				y=8
			[/destination]
		[/attack]
		[checkup]
			[result]
				chance=60
				damage=10
				hits=yes
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				chance=60
				damage=7
				hits=yes
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				chance=60
				damage=0
				hits=no
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				chance=60
				damage=0
				hits=no
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				chance=60
				damage=10
				hits=yes
			[/result]
			[result]
				dies=yes
			[/result]
			[result]
				next_unit_id=50
				random_calls=5
			[/result]
		[/checkup]
	[/command]
	[command]
		dependent=yes
		from_side="server"
		sent=yes
		[random_seed]
			new_seed="ac928e74"
		[/random_seed]
	[/command]
	[command]
		[end_turn]
			next_player_number=3
		[/end_turn]
		[checkup1]
			[result]
				next_unit_id=50
				random_calls=0
			[/result]
		[/checkup1]
		[checkup2]
			[result]
				next_unit_id=50
				random_calls=0
			[/result]
		[/checkup2]
	[/command]
	[command]
		sent=yes
		[init_side]
			side_number=1
		[/init_side]
		[checkup]
			[result]
				next_unit_id=50
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		from_side=1
		sent=yes
		[move]
			x="25,25"
			y="28,29"
		[/move]
		[checkup]
			[result]
				final_hex_x=25
				final_hex_y=29
				stopped_early=no
			[/result]
			[result]
				next_unit_id=50
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		from_side=1
		sent=yes
		[attack]
			attacker_lvl=2
			attacker_type="Dark Sorcerer"
			defender_lvl=1
			defender_type="Naga Fighter"
			defender_weapon=-1
			tod="morning"
			turn=8
			weapon=1
			[source]
				x=25
				y=29
			[/source]
			[destination]
				x=24
				y=28
			[/destination]
		[/attack]
		[checkup]
			[result]
				chance=70
				damage=0
				hits=no
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				chance=70
				damage=10
				hits=yes
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				next_unit_id=50
				random_calls=2
			[/result]
		[/checkup]
	[/command]
	[command]
		dependent=yes
		from_side="server"
		sent=yes
		[random_seed]
			new_seed="14f987bc"
		[/random_seed]
	[/command]
	[command]
		from_side=1
		sent=yes
		[move]
			x="22,23,24"
			y="29,30,30"
		[/move]
		[checkup]
			[result]
				final_hex_x=24
				final_hex_y=30
				stopped_early=no
			[/result]
			[result]
				next_unit_id=50
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		from_side=1
		sent=yes
		[move]
			x="24,25"
			y="30,30"
		[/move]
		[checkup]
			[result]
				final_hex_x=25
				final_hex_y=30
				stopped_early=no
			[/result]
			[result]
				next_unit_id=50
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		from_side=1
		sent=yes
		[move]
			x="18,18,18,19,19,20"
			y="37,36,35,35,34,33"
		[/move]
		[checkup]
			[result]
				final_hex_x=20
				final_hex_y=33
				stopped_early=no
			[/result]
			[result]
				next_unit_id=50
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		from_side=1
		sent=yes
		[move]
			x="23,24,25,25,25,25"
			y="18,17,18,19,20,21"
		[/move]
		[checkup]
			[result]
				final_hex_x=25
				final_hex_y=21
				stopped_early=no
			[/result]
			[result]
				next_unit_id=50
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		sent=yes
		undo=no
		[speak]
			id="server"
			message="Sir-Lancelot has logged into the lobby"
			time=1700068663
		[/speak]
	[/command]
	[command]
		from_side=1
		sent=yes
		[move]
			x="25,25,25,25"
			y="19,20,21,22"
		[/move]
		[checkup]
			[result]
				final_hex_x=25
				final_hex_y=22
				stopped_early=no
			[/result]
			[result]
				next_unit_id=50
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		from_side=1
		sent=yes
		[move]
			x="20,21,22,23,24,25"
			y="8,8,8,9,9,10"
		[/move]
		[checkup]
			[result]
				final_hex_x=25
				final_hex_y=10
				stopped_early=no
			[/result]
			[result]
				next_unit_id=50
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		from_side=1
		sent=yes
		[move]
			x="19,20,21,22,23,24"
			y="7,7,8,8,9,9"
		[/move]
		[checkup]
			[result]
				final_hex_x=24
				final_hex_y=9
				stopped_early=no
			[/result]
			[result]
				next_unit_id=50
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		from_side=1
		sent=yes
		[move]
			x="18,18,17,16"
			y="6,5,5,4"
		[/move]
		[checkup]
			[result]
				final_hex_x=16
				final_hex_y=4
				stopped_early=no
			[/result]
			[result]
				next_unit_id=50
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		from_side=1
		sent=yes
		[move]
			x="30,30,30,29,29,28"
			y="10,11,12,13,14,14"
		[/move]
		[checkup]
			[result]
				final_hex_x=28
				final_hex_y=14
				stopped_early=no
			[/result]
			[result]
				next_unit_id=50
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		sent=yes
		[end_turn]
			next_player_number=2
		[/end_turn]
		[checkup1]
			[result]
				next_unit_id=50
				random_calls=0
			[/result]
		[/checkup1]
	[/command]
	[command]
		[init_side]
			side_number=2
		[/init_side]
		[checkup]
			[result]
				next_unit_id=50
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		from_side=2
		[move]
			x="19,19,19,20,21,21"
			y="38,37,36,35,35,34"
		[/move]
		[checkup]
			[result]
				final_hex_x=21
				final_hex_y=34
				stopped_early=no
			[/result]
			[result]
				next_unit_id=50
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		from_side=2
		[attack]
			attacker_lvl=1
			attacker_type="Troll Whelp"
			defender_lvl=1
			defender_type="Skeleton Archer Ladder_1"
			defender_weapon=0
			tod="morning"
			turn=8
			weapon=0
			[source]
				x=21
				y=34
			[/source]
			[destination]
				x=20
				y=33
			[/destination]
		[/attack]
		[checkup]
			[result]
				chance=40
				damage=7
				hits=yes
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				chance=70
				damage=2
				hits=yes
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				chance=40
				damage=7
				hits=yes
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				chance=70
				damage=2
				hits=yes
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				next_unit_id=50
				random_calls=4
			[/result]
		[/checkup]
	[/command]
	[command]
		dependent=yes
		from_side="server"
		sent=yes
		[random_seed]
			new_seed="3627b232"
		[/random_seed]
	[/command]
	[command]
		from_side=2
		[move]
			x="24,23,23,24"
			y="28,29,30,30"
		[/move]
		[checkup]
			[result]
				final_hex_x=24
				final_hex_y=30
				stopped_early=no
			[/result]
			[result]
				next_unit_id=50
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		from_side=2
		[attack]
			attacker_lvl=1
			attacker_type="Naga Fighter"
			defender_lvl=0
			defender_type="Walking Corpse"
			defender_weapon=0
			tod="morning"
			turn=8
			weapon=0
			[source]
				x=24
				y=30
			[/source]
			[destination]
				x=25
				y=30
			[/destination]
		[/attack]
		[checkup]
			[result]
				chance=40
				damage=0
				hits=no
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				chance=50
				damage=6
				hits=yes
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				chance=40
				damage=4
				hits=yes
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				chance=50
				damage=0
				hits=no
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				chance=40
				damage=4
				hits=yes
			[/result]
			[result]
				dies=yes
			[/result]
			[result]
				next_unit_id=50
				random_calls=5
			[/result]
		[/checkup]
	[/command]
	[command]
		dependent=yes
		from_side="server"
		sent=yes
		[random_seed]
			new_seed="92ec96d4"
		[/random_seed]
	[/command]
	[command]
		from_side=2
		[move]
			x="23,24,25"
			y="31,30,30"
		[/move]
		[checkup]
			[result]
				final_hex_x=25
				final_hex_y=30
				stopped_early=no
			[/result]
			[result]
				next_unit_id=50
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		from_side=2
		[attack]
			attacker_lvl=0
			attacker_type="Goblin Spearman"
			defender_lvl=2
			defender_type="Dark Sorcerer"
			defender_weapon=0
			tod="morning"
			turn=8
			weapon=0
			[source]
				x=25
				y=30
			[/source]
			[destination]
				x=25
				y=29
			[/destination]
		[/attack]
		[checkup]
			[result]
				chance=50
				damage=0
				hits=no
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				chance=40
				damage=0
				hits=no
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				chance=50
				damage=5
				hits=yes
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				chance=40
				damage=0
				hits=no
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				chance=50
				damage=5
				hits=yes
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				chance=40
				damage=0
				hits=no
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				next_unit_id=50
				random_calls=6
			[/result]
		[/checkup]
	[/command]
	[command]
		dependent=yes
		from_side="server"
		sent=yes
		[random_seed]
			new_seed=10073611
		[/random_seed]
	[/command]
	[command]
		from_side=2
		[move]
			x="20,20,21,22,23,24"
			y="23,24,25,25,26,26"
		[/move]
		[checkup]
			[result]
				final_hex_x=24
				final_hex_y=26
				stopped_early=no
			[/result]
			[result]
				next_unit_id=50
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		from_side=2
		[move]
			x="26,25"
			y="27,28"
		[/move]
		[checkup]
			[result]
				final_hex_x=25
				final_hex_y=28
				stopped_early=no
			[/result]
			[result]
				next_unit_id=50
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		from_side=2
		[attack]
			attacker_lvl=1
			attacker_type="Troll Whelp"
			defender_lvl=2
			defender_type="Dark Sorcerer"
			defender_weapon=0
			tod="morning"
			turn=8
			weapon=0
			[source]
				x=25
				y=28
			[/source]
			[destination]
				x=25
				y=29
			[/destination]
		[/attack]
		[checkup]
			[result]
				chance=50
				damage=5
				hits=yes
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				chance=50
				damage=0
				hits=no
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				chance=50
				damage=0
				hits=no
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				chance=50
				damage=0
				hits=no
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				chance=50
				damage=0
				hits=no
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				next_unit_id=50
				random_calls=5
			[/result]
		[/checkup]
	[/command]
	[command]
		dependent=yes
		from_side="server"
		sent=yes
		[random_seed]
			new_seed="9b0517c2"
		[/random_seed]
	[/command]
	[command]
		from_side=2
		[move]
			x="24,24"
			y="27,28"
		[/move]
		[checkup]
			[result]
				final_hex_x=24
				final_hex_y=28
				stopped_early=no
			[/result]
			[result]
				next_unit_id=50
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		from_side=2
		[attack]
			attacker_lvl=1
			attacker_type="Orcish Archer Ladder_1"
			defender_lvl=2
			defender_type="Dark Sorcerer"
			defender_weapon=0
			tod="morning"
			turn=8
			weapon=0
			[source]
				x=24
				y=28
			[/source]
			[destination]
				x=25
				y=29
			[/destination]
		[/attack]
		[checkup]
			[result]
				chance=50
				damage=3
				hits=yes
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				chance=50
				damage=0
				hits=no
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				chance=50
				damage=0
				hits=no
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				chance=50
				damage=3
				hits=yes
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				chance=50
				damage=3
				hits=yes
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				next_unit_id=50
				random_calls=5
			[/result]
		[/checkup]
	[/command]
	[command]
		dependent=yes
		from_side="server"
		sent=yes
		[random_seed]
			new_seed="9df61fe0"
		[/random_seed]
	[/command]
	[command]
		from_side=2
		[move]
			x="18,18,19,20,20,21"
			y="21,22,23,23,24,25"
		[/move]
		[checkup]
			[result]
				final_hex_x=21
				final_hex_y=25
				stopped_early=no
			[/result]
			[result]
				next_unit_id=50
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		from_side=2
		[recruit]
			type="Goblin Spearman"
			x=17
			y=25
			[from]
				x=16
				y=9
			[/from]
		[/recruit]
		[checkup]
			[result]
				checksum="N1tqvroboxQg7Mt9Cki.byOHAueLwwxTFmLzHxQgJqoPMVnEpI2xrn8EALUPcA4ICpGRNqTvLeJJmyxEKAqvxvHINxPMKGOnurwHH8MMIAz5ic>d1H,.c397c34W-e0j"
			[/result]
			[result]
				next_unit_id=51
				random_calls=21
			[/result]
		[/checkup]
	[/command]
	[command]
		dependent=yes
		from_side="server"
		sent=yes
		[random_seed]
			new_seed="63bd44ca"
		[/random_seed]
	[/command]
	[command]
		sent=yes
		undo=no
		[speak]
			id="server"
			message="soundwave712 has logged into the lobby"
			time=1700068858
		[/speak]
	[/command]
	[command]
		sent=yes
		undo=no
		[speak]
			id="szdik570"
			message="mekkora hülye voltam"
			side=1
			time=1700068857
		[/speak]
	[/command]
	[command]
		from_side=2
		[move]
			x="16,15,14,14,13,12"
			y="9,9,8,7,7,6"
		[/move]
		[checkup]
			[result]
				final_hex_x=12
				final_hex_y=6
				stopped_early=no
			[/result]
			[result]
				next_unit_id=51
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		from_side=2
		[attack]
			attacker_lvl=2
			attacker_type="Orcish Slayer"
			defender_lvl=0
			defender_type="Vampire Bat Ladder_1"
			defender_weapon=-1
			tod="morning"
			turn=8
			weapon=1
			[source]
				x=12
				y=6
			[/source]
			[destination]
				x=13
				y=6
			[/destination]
		[/attack]
		[checkup]
			[result]
				chance=60
				damage=5
				hits=yes
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				chance=60
				damage=0
				hits=no
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				chance=60
				damage=0
				hits=no
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				next_unit_id=51
				random_calls=3
			[/result]
		[/checkup]
	[/command]
	[command]
		dependent=yes
		from_side="server"
		sent=yes
		[random_seed]
			new_seed="f191eea3"
		[/random_seed]
	[/command]
	[command]
		from_side=2
		[move]
			x="19,18,18,18,18,17"
			y="9,8,7,6,5,5"
		[/move]
		[checkup]
			[result]
				final_hex_x=17
				final_hex_y=5
				stopped_early=no
			[/result]
			[result]
				next_unit_id=51
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		from_side=2
		[attack]
			attacker_lvl=1
			attacker_type="Troll Whelp"
			defender_lvl=1
			defender_type="Skeleton Archer Ladder_1"
			defender_weapon=0
			tod="morning"
			turn=8
			weapon=0
			[source]
				x=17
				y=5
			[/source]
			[destination]
				x=16
				y=4
			[/destination]
		[/attack]
		[checkup]
			[result]
				chance=50
				damage=6
				hits=yes
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				chance=50
				damage=0
				hits=no
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				chance=50
				damage=0
				hits=no
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				chance=50
				damage=0
				hits=no
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				next_unit_id=51
				random_calls=4
			[/result]
		[/checkup]
	[/command]
	[command]
		dependent=yes
		from_side="server"
		sent=yes
		[random_seed]
			new_seed="df2e2e82"
		[/random_seed]
	[/command]
	[command]
		from_side=2
		[move]
			x="17,16,15,14"
			y="7,6,6,5"
		[/move]
		[checkup]
			[result]
				final_hex_x=14
				final_hex_y=5
				stopped_early=no
			[/result]
			[result]
				next_unit_id=51
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		from_side=2
		[attack]
			attacker_lvl=1
			attacker_type="Troll Whelp"
			defender_lvl=0
			defender_type="Vampire Bat Ladder_1"
			defender_weapon=0
			tod="morning"
			turn=8
			weapon=0
			[source]
				x=14
				y=5
			[/source]
			[destination]
				x=13
				y=6
			[/destination]
		[/attack]
		[checkup]
			[result]
				chance=50
				damage=6
				hits=yes
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				chance=70
				damage=0
				hits=no
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				chance=50
				damage=6
				hits=yes
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				chance=70
				damage=0
				hits=no
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				next_unit_id=51
				random_calls=4
			[/result]
		[/checkup]
	[/command]
	[command]
		dependent=yes
		from_side="server"
		sent=yes
		[random_seed]
			new_seed="4332ffe5"
		[/random_seed]
	[/command]
	[command]
		from_side=2
		[move]
			x="18,17,16,15,14"
			y="8,8,7,7,6"
		[/move]
		[checkup]
			[result]
				final_hex_x=14
				final_hex_y=6
				stopped_early=no
			[/result]
			[result]
				next_unit_id=51
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		from_side=2
		[attack]
			attacker_lvl=1
			attacker_type="Orcish Archer Ladder_1"
			defender_lvl=0
			defender_type="Vampire Bat Ladder_1"
			defender_weapon=-1
			tod="morning"
			turn=8
			weapon=1
			[source]
				x=14
				y=6
			[/source]
			[destination]
				x=13
				y=6
			[/destination]
		[/attack]
		[checkup]
			[result]
				chance=50
				damage=4
				hits=yes
			[/result]
			[result]
				dies=yes
			[/result]
			[result]
				next_unit_id=51
				random_calls=1
			[/result]
		[/checkup]
	[/command]
	[command]
		dependent=yes
		from_side="server"
		sent=yes
		[random_seed]
			new_seed="0b70f4ac"
		[/random_seed]
	[/command]
	[command]
		from_side=2
		[move]
			x="24,25,26,27,27"
			y="12,13,12,13,14"
		[/move]
		[checkup]
			[result]
				final_hex_x=27
				final_hex_y=14
				stopped_early=no
			[/result]
			[result]
				next_unit_id=51
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		from_side=2
		[attack]
			attacker_lvl=1
			attacker_type="Orcish Grunt"
			defender_lvl=1
			defender_type="Dark Adept"
			defender_weapon=-1
			tod="morning"
			turn=8
			weapon=0
			[source]
				x=27
				y=14
			[/source]
			[destination]
				x=28
				y=14
			[/destination]
		[/attack]
		[checkup]
			[result]
				chance=40
				damage=8
				hits=yes
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				chance=40
				damage=8
				hits=yes
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				next_unit_id=51
				random_calls=2
			[/result]
		[/checkup]
	[/command]
	[command]
		dependent=yes
		from_side="server"
		sent=yes
		[random_seed]
			new_seed="4041009b"
		[/random_seed]
	[/command]
	[command]
		sent=yes
		undo=no
		[speak]
			id="server"
			message="Peixinho20 has logged into the lobby"
			time=1700068935
		[/speak]
	[/command]
	[command]
		sent=yes
		undo=no
		[speak]
			id="szdik570"
			message="na gg"
			side=1
			time=1700068936
		[/speak]
	[/command]
	[command]
		from_side=2
		[move]
			x="20,19,19,20,21"
			y="9,10,11,11,12"
		[/move]
		[checkup]
			[result]
				final_hex_x=21
				final_hex_y=12
				stopped_early=no
			[/result]
			[result]
				next_unit_id=51
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		from_side=2
		[move]
			x="5,6,7,8,9,10"
			y="4,3,4,3,4,4"
		[/move]
		[checkup]
			[result]
				final_hex_x=10
				final_hex_y=4
				stopped_early=no
			[/result]
			[result]
				next_unit_id=51
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		from_side=2
		[move]
			x="15,16,17,18,19,20"
			y="12,12,12,11,12,12"
		[/move]
		[checkup]
			[result]
				final_hex_x=20
				final_hex_y=12
				stopped_early=no
			[/result]
			[result]
				next_unit_id=51
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		sent=yes
		undo=no
		[speak]
			id="server"
			message="boda91 has logged into the lobby"
			time=1700068956
		[/speak]
	[/command]
	[command]
		undo=no
		[speak]
			id="ikomizo"
			message="biztos?"
			side=2
			time=1700068963
		[/speak]
	[/command]
	[command]
		from_side=2
		[attack]
			attacker_lvl=1
			attacker_type="Orcish Grunt"
			defender_lvl=0
			defender_type="Vampire Bat Ladder_1"
			defender_weapon=0
			tod="morning"
			turn=8
			weapon=0
			[source]
				x=20
				y=42
			[/source]
			[destination]
				x=19
				y=43
			[/destination]
		[/attack]
		[checkup]
			[result]
				chance=50
				damage=8
				hits=yes
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				chance=60
				damage=0
				hits=no
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				chance=50
				damage=0
				hits=no
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				chance=60
				damage=4
				hits=yes
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				next_unit_id=51
				random_calls=4
			[/result]
		[/checkup]
	[/command]
	[command]
		dependent=yes
		from_side="server"
		sent=yes
		[random_seed]
			new_seed=73232234
		[/random_seed]
	[/command]
	[command]
		sent=yes
		undo=no
		[speak]
			id="szdik570"
			message="persze"
			side=1
			time=1700068970
		[/speak]
	[/command]
	[command]
		from_side=2
		[move]
			x="24,24,23,22,21,21,20"
			y="39,40,41,41,42,43,43"
		[/move]
		[checkup]
			[result]
				final_hex_x=20
				final_hex_y=43
				stopped_early=no
			[/result]
			[result]
				next_unit_id=51
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		from_side=2
		[attack]
			attacker_lvl=1
			attacker_type="Orcish Archer Ladder_1"
			defender_lvl=0
			defender_type="Vampire Bat Ladder_1"
			defender_weapon=-1
			tod="morning"
			turn=8
			weapon=1
			[source]
				x=20
				y=43
			[/source]
			[destination]
				x=19
				y=43
			[/destination]
		[/attack]
		[checkup]
			[result]
				chance=50
				damage=4
				hits=yes
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				chance=50
				damage=0
				hits=no
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				chance=50
				damage=0
				hits=no
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				next_unit_id=51
				random_calls=3
			[/result]
		[/checkup]
	[/command]
	[command]
		dependent=yes
		from_side="server"
		sent=yes
		[random_seed]
			new_seed="9c5d4d15"
		[/random_seed]
	[/command]
	[command]
		sent=yes
		undo=no
		[speak]
			id="server"
			message="Nekro has logged into the lobby"
			time=1700068980
		[/speak]
	[/command]
	[command]
		from_side=2
		[move]
			x="18,18"
			y="43,42"
		[/move]
		[checkup]
			[result]
				final_hex_x=18
				final_hex_y=42
				stopped_early=no
			[/result]
			[result]
				next_unit_id=51
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		from_side=2
		[attack]
			attacker_lvl=1
			attacker_type="Wolf Rider"
			defender_lvl=0
			defender_type="Vampire Bat Ladder_1"
			defender_weapon=0
			tod="morning"
			turn=8
			weapon=0
			[source]
				x=18
				y=42
			[/source]
			[destination]
				x=19
				y=43
			[/destination]
		[/attack]
		[checkup]
			[result]
				chance=50
				damage=0
				hits=no
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				chance=60
				damage=4
				hits=yes
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				chance=50
				damage=4
				hits=yes
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				chance=60
				damage=0
				hits=no
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				chance=50
				damage=4
				hits=yes
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				next_unit_id=51
				random_calls=5
			[/result]
		[/checkup]
	[/command]
	[command]
		dependent=yes
		from_side="server"
		sent=yes
		[random_seed]
			new_seed="4187270e"
		[/random_seed]
	[/command]
	[command]
		sent=yes
		undo=no
		[speak]
			id="szdik570"
			message="az a vezér nem szabadul onnan"
			side=1
			time=1700068996
		[/speak]
	[/command]
	[command]
		from_side=2
		[move]
			x="18,19,20,21,22,23,24,25,25"
			y="7,8,7,8,8,8,7,8,9"
		[/move]
		[checkup]
			[result]
				final_hex_x=25
				final_hex_y=9
				stopped_early=no
			[/result]
			[result]
				next_unit_id=51
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		from_side=2
		[attack]
			attacker_lvl=2
			attacker_type="Goblin Pillager"
			defender_lvl=1
			defender_type="Skeleton"
			defender_weapon=-1
			tod="morning"
			turn=8
			weapon=2
			[source]
				x=25
				y=9
			[/source]
			[destination]
				x=25
				y=10
			[/destination]
		[/attack]
		[checkup]
			[result]
				chance=40
				damage=5
				hits=yes
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				chance=40
				damage=0
				hits=no
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				next_unit_id=51
				random_calls=2
			[/result]
		[/checkup]
	[/command]
	[command]
		dependent=yes
		from_side="server"
		sent=yes
		[random_seed]
			new_seed="b7fe5534"
		[/random_seed]
	[/command]
	[command]
		from_side=2
		[move]
			x="23,24,25,26,27,28"
			y="12,12,12,11,12,12"
		[/move]
		[checkup]
			[result]
				final_hex_x=28
				final_hex_y=12
				stopped_early=no
			[/result]
			[result]
				next_unit_id=51
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		[end_turn]
			next_player_number=3
		[/end_turn]
		[checkup1]
			[result]
				next_unit_id=51
				random_calls=0
			[/result]
		[/checkup1]
		[checkup2]
			[result]
				next_unit_id=51
				random_calls=0
			[/result]
		[/checkup2]
	[/command]
	[command]
		sent=yes
		[init_side]
			side_number=1
		[/init_side]
		[checkup]
			[result]
				next_unit_id=51
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		undo=no
		[speak]
			id="ikomizo"
			message="szerintem még túlélheted"
			side=2
			time=1700069045
		[/speak]
	[/command]
	[command]
		sent=yes
		undo=no
		[speak]
			id="server"
			message="bettergosleep has logged into the lobby"
			time=1700069049
		[/speak]
	[/command]
	[command]
		undo=no
		[speak]
			id="ikomizo"
			message="vagy várj"
			side=2
			time=1700069051
		[/speak]
	[/command]
	[command]
		undo=no
		[speak]
			id="ikomizo"
			message="bocsi benéztem"
			side=2
			time=1700069056
		[/speak]
	[/command]
	[command]
		undo=no
		[speak]
			id="ikomizo"
			message="akkor gg ugye?"
			side=2
			time=1700069096
		[/speak]
	[/command]
	[command]
		sent=yes
		undo=no
		[speak]
			id="server"
			message="Gravyhell has logged into the lobby"
			time=1700069104
		[/speak]
	[/command]
	[command]
		sent=yes
		undo=no
		[speak]
			id="server"
			message="kingofwars has logged into the lobby"
			time=1700069159
		[/speak]
	[/command]
	[command]
		sent=yes
		undo=no
		[speak]
			id="server"
			message="GoldenAxe has logged into the lobby"
			time=1700069161
		[/speak]
	[/command]
	[command]
		sent=yes
		undo=no
		[speak]
			id="server"
			message="hardmasa has logged into the lobby"
			time=1700069174
		[/speak]
	[/command]
	[command]
		undo=no
		[speak]
			id="ikomizo"
			message="szdik570"
			side=2
			time=1700069221
		[/speak]
	[/command]
	[command]
		sent=yes
		undo=no
		[speak]
			id="szdik570"
			message="gg"
			side=1
			time=1700069224
		[/speak]
	[/command]
	[command]
		undo=no
		[speak]
			id="ikomizo"
			message="oké"
			side=2
			time=1700069230
		[/speak]
	[/command]
	[command]
		undo=no
		[speak]
			id="ikomizo"
			message="visszajátszást kell menteni?"
			side=2
			time=1700069266
		[/speak]
	[/command]
[/replay]

