<!-- 8方に弾を発射。その弾が卵を落としていく。卵は一定時間後に移動しだす。 -->

<?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">
	<fire>
		<speed>5</speed>
		<direction type="absolute">150</direction>
		<bulletRef label="fall"></bulletRef>
	</fire>
	<fire>
		<speed>5</speed>
		<direction type="absolute">-150</direction>
		<bulletRef label="fall"></bulletRef>
	</fire>
	<fire>
		<speed>5</speed>
		<direction type="absolute">120</direction>
		<bulletRef label="fall"></bulletRef>
	</fire>
	<fire>
		<speed>5</speed>
		<direction type="absolute">-120</direction>
		<bulletRef label="fall"></bulletRef>
	</fire>
	<fire>
		<speed>5</speed>
		<direction type="absolute">260</direction>
		<bulletRef label="fall"></bulletRef>
	</fire>
	<fire>
		<speed>5</speed>
		<direction type="absolute">-260</direction>
		<bulletRef label="fall"></bulletRef>
	</fire>
	<fire>
		<speed>5</speed>
		<direction type="absolute">300</direction>
		<bulletRef label="fall"></bulletRef>
	</fire>
	<fire>
		<speed>5</speed>
		<direction type="absolute">-300</direction>
		<bulletRef label="fall"></bulletRef>
	</fire>

	<wait>250</wait>
	<vanish/>
</action>


<!-- 卵を産む -->
<bullet label="fall">
	<action>
		<wait>10</wait>
		<repeat>
			<times>9999</times>
			<action>
				<repeat>
					<times>1 + $rank * 2</times>
					<action>
						<fire>
							<direction type="absolute">0</direction>
							<speed>0</speed>
							<bulletRef label="wakeup"/>
						</fire>
					</action>
				</repeat>
			</action>
			<wait>11</wait>
		</repeat>
	</action>
</bullet>


<!-- しばらくして下へ向かって行く -->
<bullet label="wakeup">
	<action>
		<wait>100 + $rand * 100</wait>
		<changeSpeed>
			<speed>0.3 + $rank * 0.5 + $rand * 0.2</speed>
			<term>50</term>
		</changeSpeed>
		<changeDirection>
			<direction type="absolute">91 + $rand * 180</direction>
			<term>0</term>
		</changeDirection>
	</action>
</bullet>



</bulletml>
