<?xml version="1.0" ?>
<!DOCTYPE bulletml SYSTEM "../bulletml.dtd">
<bulletml type="vertical"  >
	<action  label="Stop">
		<changeSpeed>
			<speed>
				 0
			</speed>
			<term>
				 1
			</term>
		</changeSpeed>
	</action>
	<action  label="XWay">
		<repeat>
			<times>
				 $1-1
			</times>
			<action>
				<fire>
					<direction  type="sequence">
						$2
					</direction>
					<speed  type="sequence">
						0
					</speed>
					<bullet/>
				</fire>
			</action>
		</repeat>
	</action>
	<bullet  label="Dummy">
		<action>
			<vanish/>
		</action>
	</bullet>
	<bullet  label="blueFan">
		<speed>
			 3
		</speed>
		<action>
			<wait>
				 20
			</wait>
			<actionRef  label="Stop"/>
			<repeat>
				<times>
					 6
				</times>
				<action>
					<fire>
						<direction  type="sequence">
							120+$1*2
						</direction>
						<speed>
							 1.6
						</speed>
						<bullet/>
					</fire>
					<actionRef  label="XWay">
						<param>
							 3
						</param>
						<param>
							 120
						</param>
					</actionRef>
					<repeat>
						<times>
							 6+$rank*6
						</times>
						<action>
							<wait>
								 56/(6+$rank*6)
							</wait>
							<fire>
								<direction  type="sequence">
									120+$1
								</direction>
								<speed>
									 1.6
								</speed>
								<bullet/>
							</fire>
							<actionRef  label="XWay">
								<param>
									 3
								</param>
								<param>
									 120
								</param>
							</actionRef>
						</action>
					</repeat>
					<wait>
						 14
					</wait>
				</action>
			</repeat>
			<vanish/>
		</action>
	</bullet>
	<action  label="singleRedAim">
		<fire>
			<direction  type="aim">
				0
			</direction>
			<speed>
				 2
			</speed>
			<bullet>
				<action/>
			</bullet>
		</fire>
		<repeat>
			<times>
				 15
			</times>
			<action>
				<wait>
					 4
				</wait>
				<fire>
					<direction  type="sequence">
						0
					</direction>
					<speed>
						 2
					</speed>
					<bullet>
						<action/>
					</bullet>
				</fire>
			</action>
		</repeat>
	</action>
	<action  label="doubleRedAim">
		<fire>
			<direction  type="aim">
				-5*$1
			</direction>
			<speed>
				 2
			</speed>
			<bullet>
				<action/>
			</bullet>
		</fire>
		<fire>
			<direction  type="sequence">
				20*$1
			</direction>
			<speed>
				 2
			</speed>
			<bullet>
				<action/>
			</bullet>
		</fire>
		<repeat>
			<times>
				 15
			</times>
			<action>
				<wait>
					 4
				</wait>
				<fire>
					<direction  type="sequence">
						-20*$1
					</direction>
					<speed>
						 2
					</speed>
					<bullet>
						<action/>
					</bullet>
				</fire>
				<fire>
					<direction  type="sequence">
						20*$1
					</direction>
					<speed>
						 2
					</speed>
					<bullet>
						<action/>
					</bullet>
				</fire>
			</action>
		</repeat>
	</action>
	<bullet  label="redAim2">
		<speed>
			 1
		</speed>
		<action>
			<wait>
				 20
			</wait>
			<actionRef  label="Stop"/>
			<wait>
				 100
			</wait>
			<actionRef  label="singleRedAim"/>
			<wait>
				 60
			</wait>
			<actionRef  label="doubleRedAim">
				<param>
					 -1
				</param>
			</actionRef>
			<wait>
				 20
			</wait>
			<actionRef  label="doubleRedAim">
				<param>
					 -1
				</param>
			</actionRef>
			<vanish/>
		</action>
	</bullet>
	<bullet  label="redAim1">
		<speed>
			 1
		</speed>
		<action>
			<wait>
				 20
			</wait>
			<actionRef  label="Stop"/>
			<wait>
				 40
			</wait>
			<actionRef  label="singleRedAim"/>
			<wait>
				 60
			</wait>
			<actionRef  label="doubleRedAim">
				<param>
					 1
				</param>
			</actionRef>
			<wait>
				 80
			</wait>
			<actionRef  label="doubleRedAim">
				<param>
					 1
				</param>
			</actionRef>
			<vanish/>
		</action>
	</bullet>
	<action  label="top">
		<fire>
			<direction  type="absolute">
				90
			</direction>
			<bulletRef  label="blueFan">
				<param>
					 4
				</param>
			</bulletRef>
		</fire>
		<fire>
			<direction  type="absolute">
				-90
			</direction>
			<bulletRef  label="blueFan">
				<param>
					 -4
				</param>
			</bulletRef>
		</fire>
		<fire>
			<direction  type="absolute">
				90
			</direction>
			<bulletRef  label="redAim2"/>
		</fire>
		<fire>
			<direction  type="absolute">
				-90
			</direction>
			<bulletRef  label="redAim1"/>
		</fire>
		<wait>
			 400
		</wait>
	</action>
</bulletml>
