<princess_bride_fire_swamp_level background="level19" name="19 - The End is Near">
	<rooms>
	
		
		<!--  level  19 - 1-->
		<room pos="1" time="110">
			<ground y="1"  appearance="grass" >
				<spans>
				</spans>
				<gizmos>
					<gizmo type="gate" offset="95" dir="left" closed="true" event="112_bridgedown01" color="0x990000" />
					<gizmo type="goal" offset="100" />
				</gizmos>
				<items>
					<item type="gem" offset="34" height="2" value="1"/>
					<item type="gem" offset="36" height="4" value="3"/>
					<item type="gem" offset="38" height="6" value="2"/>
					
					<item type="gem" offset="42" height="2" value="1"/>
					<item type="gem" offset="44" height="4" value="3"/>
					<item type="gem" offset="46" height="6" value="2"/>
					
					<item type="gem" offset="50" height="2" value="1"/>
					<item type="gem" offset="52" height="4" value="3"/>
					<item type="gem" offset="54" height="6" value="2"/>
					
					<item type="gem" offset="58" height="2" value="1"/>
					<item type="gem" offset="60" height="4" value="3"/>
					<item type="gem" offset="62" height="6" value="2"/>
					
					<item type="gem" offset="66" height="2" value="1"/>
					<item type="gem" offset="68" height="4" value="3"/>
					<item type="gem" offset="70" height="6" value="2"/>
					
					
					<item type="multiplier" offset="25"  height="40" value="3"/>
					
				</items>
			</ground>
			<platforms>
				<platform appearance="grass" x="0"  y="10" width="3" bottomCollision="true">
					<spans>
						<span type="ground" begin="0" end="3" height="50" />						
						
					</spans>
				</platform>
				<!-- goal chamber -->
				<platform appearance="grass" x="95" y="12" width="7">
					<spans>
						<span type="ground" start="0" end="7" height="45" />
					</spans>
				</platform>
				<!-- starting left platform -->
				<platform appearance="grass" x="0" y="20" width="9">
					<gizmos>
						<gizmo type="vine" offset="8" length="11" />
					</gizmos>
				</platform>
				<!-- flame platforms -->
				<platform appearance="grass" x="20" y="20" width="4">
					<gizmos>
						<gizmo type="firespout" offset="2" behavior="pulse" ontime="2" offtime="4" starttime="0" /> 
					</gizmos>
				</platform>
				
				<platform appearance="grass" x="30" y="20" width="4">
					<gizmos>
						<gizmo type="firespout" offset="2" behavior="pulse" ontime="2" offtime="4" starttime="3" /> 
					</gizmos>
				</platform>
				
				<platform appearance="grass" x="40" y="20" width="4">
					<gizmos>
						<gizmo type="firespout" offset="2" behavior="pulse" ontime="2" offtime="4" starttime="0" /> 
					</gizmos>
				</platform>
				
				<platform appearance="grass" x="50" y="20" width="4">
					<gizmos>
						<gizmo type="firespout" offset="2" behavior="pulse" ontime="2" offtime="4" starttime="3" /> 
					</gizmos>
				</platform>
				
				<platform appearance="grass" x="60" y="20" width="4">
					<gizmos>
						<gizmo type="vine" offset="2" length="5" coiled="true" />
					</gizmos>
				</platform>
				
				<platform appearance="grass" x="68" y="20" width="4">
					<gizmos>
						<gizmo type="firespout" offset="2" behavior="pulse" ontime="1" offtime="2" starttime="2" /> 
					</gizmos>
				</platform>
				
				<platform appearance="grass" x="76" y="20" width="4">
					<gizmos>
						<gizmo type="firespout" offset="2" behavior="pulse" ontime="1" offtime="2" starttime="1" /> 
					</gizmos>
				</platform>
				
				<platform appearance="grass" x="84" y="20" width="4">
					<gizmos>
						<gizmo type="firespout" offset="2" behavior="pulse" ontime="1" offtime="2" starttime="0" /> 
					</gizmos>
				</platform>
				
				<platform appearance="grass" x="92" y="20" width="4"/>
				<!-- end fire platforms -->
				
				<!-- 2nd level -->
				<platform appearance="grass" x="3" y="38" width="99" id="112_platform01" >
					<gizmos>
						<gizmo type="vine" offset="12" length="15" coiled="true"/>
						<gizmo type="vine" offset="91" length="15" />
						<gizmo type="switch" offset="40" toggle="true" toggleevent="112_bridgedown01" color="0x990000" />
					</gizmos>
					<spans>
						<span type="ground" begin="30" end="38" height="5" />
					</spans>
				</platform>
				
				
			</platforms>
			
			<mobs>
				<mob type="boulder" platform="112_platform01" offset="55" />
			</mobs>
		
		</room>
		<!-- level 19 - 2: new gate maze -->
		<room pos="2" time="120">
			<ground y="1" appearance="grass">
				<gizmos>
					<gizmo type="switch" toggle="true" offset="25" event="091_switchB" color="0xFFCC00"/>
					<gizmo type="switch" toggle="true" offset="50" event="091_switchE" color="0x946FC8"/>
					<gizmo type="switch" toggle="true" offset="60" event="091_switchA" color="0x990000"/>
					<gizmo type="gate" offset="35" closed="true" toggleevent="091_switchC" color="0x1099EA" />
					<gizmo type="gate" offset="95" closed="true" toggleevent="091_switchA" color="0x990000" />
					<gizmo type="gate" offset="93" closed="true" toggleevent="091_switchB" color="0xFFCC00" />
					<gizmo type="goal" offset="100"/>
				</gizmos>
				<items>
					<item type="multiplier" offset="88"  height="25" value="3"/>
					
					<item type="gem" offset="55" height="40" value="2"/>
					<item type="gem" offset="60" height="40" />
					<item type="gem" offset="65" height="40" value="2"/>
					
					<item type="gem" offset="75" height="17" />
					<item type="gem" offset="75" height="22" />
					<item type="gem" offset="80" height="17" />
					<item type="gem" offset="80" height="22" />
					
					<item type="gem" offset="95" height="25" />
					<item type="gem" offset="95" height="28" value="3"/>
					<item type="gem" offset="95" height="31" />
					
					<item type="gem" offset="50" height="5" value="3"/>
					<item type="gem" offset="55" height="5" value="3"/>
					<item type="gem" offset="60" height="5" value="3"/>
					<item type="gem" offset="65" height="5" value="3"/>
					<item type="gem" offset="70" height="5" value="3"/>
				</items>
			</ground>
			
			<platforms>
				<!-- middle ground -->
				<platform x="15" y="18" width="87" appearance="grass" bottomCollision="false">
					
					<spans>
						<span type="ground" begin="83" end="87" height="60" />
					</spans>
					
					<gizmos>
						<gizmo type="vine" length="10" offset="2" />
						<gizmo type="gate" offset="10" closed="true" toggleevent="091_switchB" color="0xFFCC00" />
						<gizmo type="gate" offset="45" closed="true" toggleevent="091_switchD" color="0x92F907" />
						<gizmo type="gate" offset="47" closed="false" toggleevent="091_switchC" color="0x1099EA" />
						<gizmo type="switch" toggle="true" offset="80" event="091_switchC" color="0x1099EA"/>
						<gizmo type="multiswitch" toggle="true" offset="20" event="091_switchD" id="091_multiswitchD" color="0x92F907"/>
						<gizmo type="multiswitch" toggle="true" offset="35" event="091_switchD" id="091_multiswitchD" color="0x92F907"/>
					</gizmos>
				</platform>
				<!-- top platform left -->
				<platform x="15" y="36" width="25" appearance="grass" id="091_topPlatform" bottomCollision="false">
					<gizmos>
						<gizmo type="vine" length="10" offset="15" />
					</gizmos>
				</platform>
				<!-- top platform right -->
				<platform x="49" y="36" width="40" appearance="grass" id="091_topPlatform" bottomCollision="false" >
					<gizmos>
						<gizmo type="bridge" offset="0" dir="left" closed="false" toggleevent="091_switchD" color="0x92F907"/>
						<gizmo type="gate" offset="25" closed="true" toggleevent="091_switchE" color="0x946FC8" />
						<gizmo type="vine" offset="35" length="10"/>
					</gizmos>
				</platform> 
				<!-- hidden platform -->
				<platform appearance="grass" x="76" y="60" width="3" id="091_hidden">			
					<gizmos>
						<gizmo type="bridge" offset="3" closed="fasle" toggleevent="091_switchC" color="0x1099EA"/>
					</gizmos>
				</platform>
				<!-- over gate E platform -->
				<platform appearance="grass" x="72" y="53" width="4" >
					<spans>
						<span type="ground" begin="0" end="4" height="15" />
					</spans>
				</platform>
				
			</platforms>
			
			<mobs>
				<mob type="boulder" platform="091_topPlatform" offset="7" />
				<mob type="boulder" platform="091_topPlatform" offset="23" />
				<mob type="boulder" platform="091_hidden" offset="12" />
				
			</mobs>
			
		</room>
		<!-- level 19 - 3 new -->
		<room pos="3" time="80">
			<ground y="1" appearance="grass">
				<gizmos>
					<gizmo type="firespout" offset="26" behavior="constant" toggleevent="fireoff"/>
					<gizmo type="switch" offset="50" toggle="true" event="104_switchB" color="0xFFCC00" />
					<gizmo type="gate" offset="90" closed="true" toggleevent="104_switchD" color="0x92F907" />
					<gizmo type="goal" offset="100" />
					
				</gizmos>
				<items>
					<item type="gem" offset="42" height="12" />
					<item type="gem" offset="45" height="12" />
					<item type="gem" offset="48" height="12" />
					
					<item type="gem" offset="63" height="30" value="2"/>
					<item type="gem" offset="66" height="30" value="2"/>
					<item type="gem" offset="69" height="30" value="2"/>
					
					
					<item type="multiplier" offset="60"  height="15" value="3"/>
					
					<item type="gem" offset="16" height="1" value="3"/>
					<item type="gem" offset="16" height="4" value="2"/>
					<item type="gem" offset="16" height="7" value="3"/>
					
					<item type="gem" offset="19" height="1" value="2"/>
					<item type="gem" offset="19" height="4" value="3"/>
					<item type="gem" offset="19" height="7" value="2"/>
					
					<item type="gem" offset="22" height="1" value="3"/>
					<item type="gem" offset="22" height="4" value="2"/>
					<item type="gem" offset="22" height="7" value="3"/>
					
				</items>
				<spans>
					<span type="ground" begin="10" end="13" height="37" />					
				</spans>
				
			</ground>
			
			<platforms>
				<platform appearance="grass" x="-10" y="15" width="5">
					<gizmos>
						<gizmo type="portal" offset="103" id="portal_01" powerless="false" toggleevent="turnOnPortal"/>	
					</gizmos>
				</platform>
				<platform appearance="grass" x="95" y="12" width="5">
					<gizmos>
						<gizmo type="vine" offset="3" length="5" />
					</gizmos>
				</platform>
				
				<!-- bonus room -->
				<platform appearance="grass" x="0" y="39" width="30">
					<spans>
						<span type="water" begin="10" end="15" />
					</spans>
					<gizmos>
						<gizmo type="vine" offset="5" length="30" />
						<gizmo type="bridge" offset="30" dir="right" closed="true" toggleevent="104_switchA" color="0x990000" />
						<gizmo type="switch" offset="20" toggle="false" event="104_switchA" color="0x990000" />
					</gizmos>
					
				</platform>
				<platform appearance="grass" x="22" y="32" width="14" bottomCollision="true">
					<spans>
						<span type="ground" begin="0" end="14" height="5"/>
					</spans>
				</platform>
				<!-- firemoss platfor -->
				<platform appearance="grass" x="23" y="13" width="5" bottomCollision="true">
					<spans>
						<span type="ground" begin="0" end="5" height="2"/>
					</spans>
				</platform>
				<platform appearance="grass" x="12" y="13" width="5" bottomCollision="true">
					<gizmos>						
						<gizmo type="vine" offset="4" length="5" />
					</gizmos>
				</platform>
				<platform appearance="grass" x="23" y="12" width="5"  bottomCollision="true">
					<!--<gizmos>
						<gizmo type="firemoss" offset="3" hang="0" hanging="true" />
						
					</gizmos>-->
				</platform>
				<!-- lower vine platform -->
				<platform appearance="grass" x="50" y="12" width="25" id="194_platform01">
					<gizmos>
						<gizmo type="vine" offset="5" length="4" />
					</gizmos>
				</platform>
				<!-- top bridge platform -->
				<platform appearance="grass" x="36" y="24" width="8" id="104_platform01">
					<gizmos>
						<gizmo type="bridge" offset="8" dir="right" closed="true" toggleevent="104_switchB" color="0xFFCC00" />
					</gizmos>
				</platform>
				<!-- top vine platform -->
				<platform appearance="grass" x="65" y="24" width="20">
					<spans>
						<span type="ground" begin="6" end="20" height="5" />
						<span type="ground" begin="16" end="20" height="8"/>
					</spans>
					<gizmos>
						<gizmo type="vine" offset="2" length="4" />
						<gizmo type="switch" offset="4" toggle="true" event="104_switchC" color="0x1099EA" />
						<gizmo type="gate" offset="19" closed="true" toggleevent="104_switchC" color="0x1099EA" />
					</gizmos>
				</platform>
				<!-- platform above gate D -->
				<platform appearance="grass" x="90" y="20" width="15" >
					<spans>
						<span type="ground" begin="0" end="15" height="20" />
						<span type="ground" begin="7" end="15" height="40" />
					</spans>
					
					<gizmos>
						<gizmo type="portal" offset="7" id="portal_01" powerless="false" toggleevent="turnOnPortal"/>		
						<gizmo type="switch" offset="2" toggle="true" event="104_switchD" color="0x92F907" />
					</gizmos>
				</platform>
				
			</platforms>
			
			<mobs>	
				<mob type="rous" platform="194_platform01" offset="10"/>
				<mob type="boulder" offset="0" platform="104_platform01" />
			</mobs>
		</room>
		
		<!-- level 19 - 4 new -->
		<room pos="4" time="180">
			<ground y="1" appearance="grass">
				<items>	
					<item type="multiplier" offset="15"  height="45" value="3"/>
					
					<item type="gem" offset="61" height="7" value="3"/>
					<item type="gem" offset="62" height="7" value="3"/>					
					<item type="gem" offset="64" height="7" value="3"/>
					<item type="gem" offset="66" height="7" value="3"/>
					<item type="gem" offset="67" height="7" value="3"/>
					
					<item type="gem" offset="61" height="5" value="2"/>
					<item type="gem" offset="62" height="5" value="2"/>					
					<item type="gem" offset="64" height="5" value="1"/>
					<item type="gem" offset="66" height="5" value="2"/>
					<item type="gem" offset="67" height="5" value="2"/>
				</items>
				
				<spans>
					<span type="ground" begin="50" end="53" height="23" />
					<span type="water" begin="60" end="66" height="1" />
					<span type="ground" begin="76" end="79" height="37" />	
				</spans>
				<gizmos>
					<gizmo type="goal" offset="100"/>
					<gizmo type="firespout" offset="30" behavior="pulse" ontime="2" offtime="2" starttime="2"/>
					<gizmo type="firespout" offset="35" behavior="pulse" ontime="2" offtime="2" starttime="1"/>
					<gizmo type="firespout" offset="40" behavior="pulse" ontime="2" offtime="2" starttime="0"/>
					<gizmo type="portal" offset="74" id="200_portal02" />
					<gizmo type="portal" offset="54" id="200_portal01" />
				</gizmos>
				
			</ground>
			<platforms>
				<platform appearance="grass" x="25" y="10" width="3" id="200_platform01"/>
				<platform appearance="grass" x="30" y="13" width="48" id="200_platform02">
					<items>
						<item type="crumbs" platform="200_platform02" offset="18"  noreset="true"/>						
						<item type="stick" offset="36" noreset="true"/>
					</items>
					<gizmos>
						
						<gizmo type="switch" offset="5" toggle="true" event="openbridge2" color="0x990000"/>
						<gizmo type="vine" offset="13" length="5" coiled="true"/>
						
						<gizmo type="firemoss" hanging="false"  offset="26" hang="2"/>	
						<gizmo type="firemoss" hanging="false"  offset="43" hang="2"/>	
					</gizmos>
				</platform>
				<platform appearance="grass" x="15" y="13" width="9" id="200_platform03">
					<gizmos>
						<gizmo type="bridge"  offset="0 " toggle="true" dir="left" closed="true" toggleevent="openbridge2" color="0x990000"/>
					</gizmos>
				</platform>
				<platform appearance="grass" x="5" y="24" width="45" id="200_platform04">
					
					<gizmos>
						<gizmo type="vine" offset="3" length="5" coiled="false"/>
						<gizmo type="vine" offset="20" length="5" coiled="true"/>
						
					</gizmos>
				</platform>
				
				<platform appearance="grass" x="60" y="23" width="10" id="200_platform05"/>
				
				
				<!-- Hidden Platform -->
				<platform appearance="grass" x="-10" y="17" width="5" id="200_platform06">
					<gizmos>
						<gizmo type="portal" offset="72" id="200_portal02" />
					</gizmos>
				</platform>
				<platform appearance="grass" x="-10" y="27" width="5" id="200_platform07">
					<gizmos>
						<gizmo type="portal" offset="80" id="200_portal01" />
					</gizmos>
				</platform>
				<!-- end of hidden platform -->
				<platform appearance="grass" x="12" y="34" width="37" id="200_platform08">
					<gizmos>
						<gizmo type="multiswitch" toggle="true" offset="7" event="200_switchD" color="0x1099EA"/>
						<gizmo type="multiswitch" toggle="true" offset="18" event="200_switchD" color="0x1099EA"/>
						<!--<gizmo type="vine" offset="29" length="4" coiled="true"/>-->
					</gizmos>
				</platform>
				<platform appearance="grass" x="49" y="30" width="4" id="200_platform12"/>
				<platform appearance="grass" x="7" y="45" width="3" id="200_platform09">
					<gizmos>
						<gizmo type="bridge"  offset="3 " toggle="true" dir="right" closed="false" toggleevent="200_switchD" color="0x1099EA"/>						
					</gizmos>
				</platform>
				
				<platform appearance="grass" x="60" y="40" width="25" id="200_platform10">
					<gizmos>
						<gizmo type="bridge"  offset="0 " toggle="true" dir="left" closed="true" toggleevent="200_switchD" color="0x1099EA"/>						
					</gizmos>
				</platform>
				<platform appearance="grass" x="82" y="25" width="20" id="200_platform11">
					<gizmos>
						<gizmo type="firespout" offset="3" behavior="pulse" ontime="2" offtime="3" starttime="0"/>
						<gizmo type="firespout" offset="6" behavior="pulse" ontime="2" offtime="3" starttime="2"/>
						<gizmo type="firespout" offset="12" behavior="pulse" ontime="2" offtime="3" starttime="2"/>
						<gizmo type="firespout" offset="15" behavior="pulse" ontime="2" offtime="3" starttime="0"/>
					</gizmos>
					
					<spans>
						<span type="ground" begin="17" end="20" height="40" />						
					</spans>
				</platform>
				
				
			</platforms>
			<mobs>
				<mob type="boulder" platform="200_platform10" offset="14"/>		
				<mob type="boulder" platform="200_platform09" offset="16"/>	
				
				<mob type="rous" platform="200_platform04" offset="40"/>
				<mob type="flyingrous" platform="200_platform10" offset="10"/>
				<mob type="flyingrous" platform="200_platform10" offset="20"/>
				<mob type="flyingrous" platform="200_platform10" offset="30"/>
			</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="7" />
		<player id="buttercup" room="1" platform="ground" offset="5" />
	
		
	</players>
</princess_bride_fire_swamp_level>