<?xml version="1.0" ?>
<!DOCTYPE bulletml SYSTEM "../barrage.dtd">

<barrage>

<barrageInfo>
	<filename>MDA_scales9</filename>
	<group>MDA</group>
	<title>鱗弾9</title>
	<description>9箇所に配置された弾源から半円形→鱗型の配置の弾が出ます。撃つタイミングにちょっとランダムが入っていて、後半になるほどタイミングがずれてゆきます。</description>
	<capture>自分で作っておきながら有効な回避法がわかりません。気を付けながら動き回るしかないと思うのです。レベルが上がると連射力と尖り具合がアップ。</capture>
</barrageInfo>

<barrageStyle>
	<bulletLanguage name="bulletml"/>
</barrageStyle>

<bulletml type="vertical" xmlns="http://www.asahi-net.or.jp/~cs8k-cyu/bulletml">

<action label="top">
	<changeDirection>
		<direction type="absolute">180</direction>
		<term>1</term>
	</changeDirection>
	<changeSpeed>
		<speed>2</speed>
		<term>1</term>
	</changeSpeed>
	<wait>30</wait>
	<changeSpeed>
		<speed>0</speed>
		<term>1</term>
	</changeSpeed>

	<fireRef label="seed"><param>0</param><param>0</param></fireRef>
	<fireRef label="seed"><param>90</param><param>0</param></fireRef>
	<fireRef label="seed"><param>180</param><param>0</param></fireRef>
	<fireRef label="seed"><param>270</param><param>0</param></fireRef>
	<fireRef label="seed"><param>45</param><param>1</param></fireRef>
	<fireRef label="seed"><param>135</param><param>1</param></fireRef>
	<fireRef label="seed"><param>225</param><param>1</param></fireRef>
	<fireRef label="seed"><param>315</param><param>1</param></fireRef>
	<wait>35</wait>

	<actionRef label="seedCircle"/>
	<wait>200</wait>
</action>

<fire label="seed">
	<direction type="absolute">$1</direction>
	<speed>2*(1+(0.4*$2))</speed>
	<bullet>
		<action>
			<wait>35</wait>
			<changeSpeed>
				<speed>0</speed>
				<term>1</term>
			</changeSpeed>
			<actionRef label="seedCircle"/>
			<vanish/>
		</action>
	</bullet>
</fire>


<action label="seedCircle">
	<repeat>
		<times>3+($rank*10)</times>
		<action>
			<wait>60*(2-($rank*1))*(0.9+($rand*0.2))</wait>
			<fire>
				<direction type="aim">0</direction>
				<speed>0</speed>
				<bullet>
					<action>
						<changeSpeed>
							<speed>0</speed>
							<term>30</term>
						</changeSpeed>
						<wait>30</wait>
						<actionRef label="fireCircle"><param>45-(0.5*90)</param></actionRef>
						<vanish/>
					</action>
				</bullet>
			</fire>
		</action>
	</repeat>
</action>

<action label="fireCircle">
	<fireRef label="circle"><param>$1+(40*2.0)</param><param>(-40*2.0)</param><param>1</param></fireRef>
	<fireRef label="circle"><param>$1+(40*1.5)</param><param>(-40*1.5)</param><param>2</param></fireRef>
	<fireRef label="circle"><param>$1+(40*1.0)</param><param>(-40*1.0)</param><param>3</param></fireRef>
	<fireRef label="circle"><param>$1+(40*0.5)</param><param>(-40*0.5)</param><param>4</param></fireRef>
	<fireRef label="circle"><param>$1+(40*0.0)</param><param>(-40*0.0)</param><param>5</param></fireRef>
	<fireRef label="circle"><param>$1+(40*8.5)</param><param>(-40*8.5)</param><param>4</param></fireRef>
	<fireRef label="circle"><param>$1+(40*8.0)</param><param>(-40*8.0)</param><param>3</param></fireRef>
	<fireRef label="circle"><param>$1+(40*7.5)</param><param>(-40*7.5)</param><param>2</param></fireRef>
	<fireRef label="circle"><param>$1+(40*7.0)</param><param>(-40*7.0)</param><param>1</param></fireRef>
</action>

<fire label="circle">
	<direction type="aim">$1</direction>
	<speed>0.25</speed>
	<bullet>
		<action>
			<wait>40</wait>
			<fire>
				<direction type="relative">$2</direction>
				<speed>2+($3*(0.01+($rank*0.05)))</speed>
				<bullet/>
			</fire>
			<vanish/>
		</action>
	</bullet>
</fire>

</bulletml>

</barrage>