<princess_bride_fire_swamp_level background="level16" name="16 - Portal Peril">
	<rooms>
		<!--  16- 1 - portals intro -->
		<room pos="1" time="30">
			<ground y="1"  appearance="grass">
				<spans>
					<span type="ground" begin="35" end="45" height="60"/>
					<span type="ground" begin="85" end="92" height="30"/>
				</spans>
				<items>
					<item type="gem" offset="51" height="27" value="3"/>
					<item type="gem" offset="55" height="27" value="3"/>
					
					<!--<item type="gem" offset="63" height="43"/>
					<item type="gem" offset="63" height="38"/>
					<item type="gem" offset="63" height="33"/>-->
					<item type="multiplier" offset="66" height="7"  value="3"/>
				</items>
				<gizmos>
					<gizmo type="portal" offset="46" id="r1_portal_01" powerless="false" toggleevent="turnOnPortal"/>
					
					<gizmo type="portal" offset="84" id="r1_portal_02" powerless="false" toggleevent="turnOnPortal"/>
				</gizmos>
			</ground>
		
			
		
		<platforms>
			<platform   x="0" y="32" width="5" appearance="grass">
				<spans>
					<span type="ground" begin="0" end="5" height="30"/>	
				</spans>
			</platform>
			
			<platform x="5" y="30" width="31"  appearance="grass">
				<spans>
					<span type="ground" begin="0" end="5" height="20"/>
				</spans>
				
				<gizmos>
					<gizmo type="portal" offset="29" id="r1_portal_01" powerless="false" toggleevent="turnOnPortal"/>
					<gizmo type="vine" offset="13" length="20" coiled="false" />
					<gizmo type="portal" offset="6" id="r1_portal_03" powerless="false" toggleevent="turnOnPortal"/>
				</gizmos>
			</platform>
			<platform x="44" y="20" width="43"  appearance="grass">
				
				
				<gizmos>
					<gizmo type="portal" offset="40" id="r1_portal_03" powerless="false" toggleevent="turnOnPortal"/>
					<!--<gizmo type="vine" offset="20" length="10" coiled="false" />-->
				</gizmos>
			</platform>
			<platform x="50" y="28" width="6"  appearance="grass"/>
			<platform x="60" y="36" width="43"  appearance="grass">
				<items>
					<item type="gem" offset="0" height="3" value="1"/>
					<item type="gem" offset="5" height="3" value="1"/>
					<item type="gem" offset="10" height="5" value="2"/>
					<item type="gem" offset="15" height="3" value="1"/>
					<item type="gem" offset="20" height="3" value="1"/>
				</items>
				<spans>
					<span type="ground" begin="22" end="25" height="12"/>
				</spans>
				
				<gizmos>
					<gizmo type="portal" offset="26" id="r1_portal_02" powerless="false" toggleevent="turnOnPortal"/>
					<gizmo type="goal" offset="40"/>
				</gizmos>
			</platform>
			<platform x="77" y="42" width="4"  appearance="grass"/>
		</platforms>	
		
		<mobs>
			<mob type="rous" platform="ground" offset="60"/>
			
		</mobs>
		</room>
		<!--  16- 2 -  -->
		<room pos="2" time="60">
			<ground y="1"  appearance="grass">
				
				<items>
					
					<item type="gem" offset="5" height="15" value="1"/>
					<item type="gem" offset="5" height="17" value="1"/>
					<item type="gem" offset="5" height="19" value="2"/>
					<item type="gem" offset="5" height="21" value="2"/>
					<item type="gem" offset="5" height="23" value="3"/>
					<!--<item type="multiplier" offset="75"  height="3"/>-->
				</items>
				<spans>
					<!--<span type="ground" begin="39" end="42" height="13"/>-->
					<span type="ground" begin="59" end="62" height="13"/>
					<span type="ground" begin="79" end="82" height="13"/>
				</spans>
				<gizmos>
					<gizmo type="goal" offset="100"/>
					<gizmo type="portal" offset="38" id="r2_portal_01" powerless="false" toggleevent="turnOnPortal"/>					
					<gizmo type="portal" offset="45" id="r2_portal_03" powerless="false" toggleevent="turnOnPortal"/>
					<gizmo type="portal" offset="66" id="r2_portal_04" powerless="false" toggleevent="turnOnPortal"/>
					
					<gizmo type="switch" offset="58" event="fireoff_01" toggle="true" color="0xFFCC00"/>
					
				</gizmos>
			</ground>
			
			<platforms>
				<!-- hidden platfrom for portal 2 -->
				<platform x="-10" y="50" width="5"  appearance="grass">
					<gizmos>
						<gizmo type="portal" offset="14" id="r2_portal_01" powerless="false" toggleevent="turnOnPortal"/>					
					</gizmos>
				</platform>
				<!-- end of hidden platform -->
				<platform x="0" y="36" width="17"  appearance="grass"/>
				<!-- hidden platfrom for portal 2 -->
				<platform x="-10" y="30" width="3"  appearance="grass">
					<gizmos>
						<gizmo type="portal" offset="15" id="r2_portal_02" powerless="false" toggleevent="turnOnPortal"/>	
							
					</gizmos>	
				</platform>
				<!-- end of hidden platform -->
				
				<platform x="26" y="36" width="20"  appearance="grass">
					<gizmos>
						<gizmo type="vine" offset="5" length="8" coiled="false" />	
						<gizmo type="portal" offset="10" id="r2_portal_03" powerless="false" toggleevent="turnOnPortal"/>
						<gizmo type="portal" offset="18" id="r2_portal_04" powerless="false" toggleevent="turnOnPortal"/>
					</gizmos>
					
				</platform>
				<platform x="50" y="36" width="15"  appearance="grass">
					<gizmos>
						<gizmo type="portal" offset="5" id="r2_portal_02" powerless="false" toggleevent="turnOnPortal"/>
					</gizmos>
				</platform>
				<platform x="76" y="36" width="10"  appearance="grass">
					<gizmos>
						<gizmo type="portal" offset="8" id="r2_portal_05" powerless="false" toggleevent="turnOnPortal"/>
					</gizmos>
				</platform>
					
				
				
				<platform x="39" y="25" width="3"  appearance="grass">
					<spans>
						<span type="ground" begin="0" end="3" height="25"/>
					</spans>
				</platform>
				<platform x="59" y="35" width="3"  appearance="grass">
					<spans>
						<span type="ground" begin="0" end="3" height="15"/>
					</spans>
				</platform>
				<platform x="79" y="25" width="3"  appearance="grass">
					<spans>
						<span type="ground" begin="0" end="3" height="25"/>
					</spans>
				</platform>
				
				
				
				<platform x="30" y="16" width="18"  appearance="grass" id="centerGround"/>
					
				
				<platform x="56" y="16" width="40"  appearance="grass">
					<gizmos>
						<gizmo type="firespout" offset="5" behavior="constant" toggleevent="fireoff_01"/>
						<gizmo type="vine" offset="15" length="8" coiled="false" />	
						<gizmo type="firespout" offset="25" behavior="constant" toggleevent="fireoff_02"/>
						<gizmo type="switch" offset="35" event="fireoff_02" toggle="true" color="0xFFCC00"/>
					</gizmos>
				</platform>
				<platform x="39" y="0" width="3"  appearance="grass">
					<spans>
						<span type="ground" begin="0" end="3" height="15"/>		
					</spans>
				</platform>
				<platform x="70" y="25" width="5"  appearance="grass"/>
				<platform x="70" y="34" width="5"  appearance="grass">
					<gizmos>
						<gizmo type="portal" offset="3" id="r2_portal_05" powerless="false" toggleevent="turnOnPortal"/>
					</gizmos>
				</platform>
				
				<platform x="39" y="50" width="40"  appearance="grass">
					
				</platform>
			</platforms>	
			
			<mobs>
				<!--<mob type="rous" platform="ground" offset="60"/>-->	
				<mob type="boulder" platform="centerGround" offset="11" />
			</mobs>
		</room>
		<room pos="3" time="60">
			<ground y="1"  appearance="grass">
				
				<items>
					<item type="stick" platform="ground" offset="15" noreset="true"/>
					<item type="gem" offset="5" height="20" value="1"/>
					<item type="gem" offset="5" height="23" value="1"/>
					<item type="gem" offset="5" height="26" value="2"/>
					<item type="gem" offset="5" height="29" value="2"/>
					<item type="gem" offset="5" height="31" value="3"/>
					<item type="multiplier" offset="50"  height="3" value="3"/>
				</items>
				<spans>
					
					<span type="ground" begin="35" end="40" height="14"/>
					<span type="ground" begin="60" end="65" height="14"/>
				</spans>
				<gizmos>
					<gizmo type="goal" offset="100"/>
					<gizmo type="portal" offset="34" id="r3_portal_01" powerless="false" toggleevent="turnOnPortal"/>					
					<gizmo type="portal" offset="42" id="r3_portal_02" powerless="false" toggleevent="turnOnPortal"/>
										
				</gizmos>
			</ground>
			
			<platforms>
				<!-- hidden platfrom for portal 1 -->
				<platform x="-10" y="37" width="5"  appearance="grass">
					<gizmos>
						<gizmo type="portal" offset="35" id="r3_portal_01" powerless="false" toggleevent="turnOnPortal"/>						
					</gizmos>
				</platform>
				<platform x="-10" y="37" width="5"  appearance="grass">
					<gizmos>						
						<gizmo type="portal" offset="75" id="r3_portal_02" powerless="false" toggleevent="turnOnPortal"/>
					</gizmos>
				</platform>
				
				<!-- end of hidden platform -->
				
				
				<platform x="10" y="15" width="55"  appearance="grass">
					<spans>
						<span type="water" begin="3" end="9" height="1"/>
					</spans>
					<gizmos>
						<gizmo type="vine" offset="45" length="8" coiled="false" />	
						<gizmo type="switch" offset="20" toggle="true" event="openbridge1" color="0x990000"/>
					</gizmos>
					
				</platform>
				<platform x="10" y="35" width="75"  appearance="grass" id="flyROUS">
					<gizmos>
						<gizmo type="vine" offset="45" length="12" coiled="true" />
						<gizmo type="firespout" offset="73" behavior="constant" toggleevent="fireoff"/>
					</gizmos>
					
				</platform>
					
				<platform x="10" y="15" width="3"  appearance="grass">
					<spans>
						<span type="ground" begin="0" end="3" height="20"/>
					</spans>
				</platform>
				
				
				<platform x="85" y="15" width="3"  appearance="grass">
					<spans>
						<span type="ground" begin="0" end="3" height="20"/>
					</spans>
				</platform>
				
				<platform x="35" y="25" width="15"  appearance="grass" id="boulder_01"/>
				
				
				<platform x="79" y="15" width="6"  appearance="grass">
					<gizmos>
						<gizmo type="bridge"  offset="1" dir="left" closed="false" toggleevent="openbridge1"  color="0x990000"/>	
					</gizmos>
					
					
				</platform>
					
				
				
				
			</platforms>	
			
			<mobs>
				<mob type="flyingrous" platform="flyROUS" offset="60"/>
				<mob type="flyingrous" platform="flyROUS" offset="70"/>
				<mob type="flyingrous" platform="flyROUS" offset="50"/>
				<mob type="boulder" platform="boulder_01" offset="3" />
			</mobs>
		</room>
			</rooms>
	<players>
		<!--<player id="westley" room="1" platform="npcStart" offset="10" />
		<player id="buttercup" room="1" platform="npcStart" offset="5" />
		-->
		<player id="westley" room="1" platform="ground" offset="10" />
		<player id="buttercup" room="1" platform="ground" offset="5" />
		
	</players>
</princess_bride_fire_swamp_level>