<!-- -->
<?xml version="1.0" ?>
<!DOCTYPE bulletml SYSTEM "http://www.asahi-net.or.jp/~cs8k-cyu/bulletml/bulletml.dtd">
<bulletml xmlns="http://www.asahi-net.or.jp/~cs8k-cyu/bulletml">

<action label="top">
	<actionRef label="main">
		<param>5</param>
	</actionRef>
	<wait>80 - $rank * 30</wait>
	<vanish/>
</action>


<!-- メイン -->
<action label="main">
	<fire>
		<bullet>
			<speed>$1</speed>
			<direction type="aim">0</direction>
			<actionRef label="slowdown"/>
		</bullet>
	</fire>
	<fire>
		<bullet>
			<speed>$1</speed>
			<direction type="aim">50</direction>
			<actionRef label="slowdown"/>
		</bullet>
	</fire>
	<fire>
		<bullet>
			<speed>$1</speed>
			<direction type="aim">-50</direction>
			<actionRef label="slowdown"/>
		</bullet>
	</fire>

	<fire>
		<bullet>
			<speed>$1</speed>
			<direction type="aim">190</direction>
			<actionRef label="slowdown"/>
		</bullet>
	</fire>
	<fire>
		<bullet>
			<speed>$1</speed>
			<direction type="aim">170</direction>
			<actionRef label="slowdown"/>
		</bullet>
	</fire>

	<fire>
		<bullet>
			<speed>$1</speed>
			<direction type="aim">-90</direction>
			<actionRef label="slowdown"/>
		</bullet>
	</fire>
	<fire>
		<bullet>
			<speed>$1</speed>
			<direction type="aim">-80</direction>
			<actionRef label="slowdown"/>
		</bullet>
	</fire>
	<fire>
		<bullet>
			<speed>$1</speed>
			<direction type="aim">-100</direction>
			<actionRef label="slowdown"/>
		</bullet>
	</fire>

	<fire>
		<bullet>
			<speed>$1</speed>
			<direction type="aim">90</direction>
			<actionRef label="slowdown"/>
		</bullet>
	</fire>
	<fire>
		<bullet>
			<speed>$1</speed>
			<direction type="aim">80</direction>
			<actionRef label="slowdown"/>
		</bullet>
	</fire>
	<fire>
		<bullet>
			<speed>$1</speed>
			<direction type="aim">100</direction>
			<actionRef label="slowdown"/>
		</bullet>
	</fire>

	<action>
		<repeat>
			<times>15 + $rank * 20</times>
			<action>
				<fire>
					<bullet>
						<speed>0.5 + $rand * 2</speed>
						<direction type="absolute">30 + $rand * 90</direction>
					</bullet>
				</fire>
				<fire>
					<bullet>
						<speed>0.5 + $rand * 2</speed>
						<direction type="absolute">- 30 - $rand * 90</direction>
					</bullet>
				</fire>
			</action>
		</repeat>
	</action>

</action>


<!-- 一時停止して、また動く -->
<action label="slowdown">
	<changeSpeed>
		<speed>0.1</speed>
		<term>20</term>
	</changeSpeed>
	<wait>20</wait>

	<changeSpeed>
		<speed>0.3 + $rank * 1</speed>
		<term>100</term>
	</changeSpeed>
</action>


</bulletml>


