	#搶曽抏枊晽
	#Title[杮婥乽僄僞乕僫儖儈乕嘓乿]
	#Text[婥崌]
	#Image[]
	#ScriptVersion[2]
	#BGM[.\BGM3.mp3]
	#Player[FREE]
	script_enemy_main
	{
		let c=0;

		let angle=90;
		let cx=GetCenterX();
		let cy=GetCenterY();
		let p=0;
		@Initialize
		{
			CutIn(YOUMU, "杮婥乽僄僞乕僫儖儈乕嘓乿", "", 0, 0, 0, 0);
			SetLife(2000);
			SetMovePosition02(cx,cy,60);
			SetTimer(5);
        		SetScore(4000000);
			SetGraphicRect(1,1,48,48);
			LoadGraphic("script\img\2127578.png");
		}
			
		@MainLoop
		{
			
			


			if(c==60)
			{	
				CreateShot01(GetX(),GetY(),4,rand(0,360),BLUE32,30);
				CreateShot01(GetX(),GetY(),3,rand(0,360),BLUE04,30);
				CreateShot01(GetX(),GetY(),2,rand(0,360),BLUE22,30);
				CreateShot01(GetX(),GetY(),1,rand(0,360),BLUE05,30);
				c=59;
			}	
			
				SetCollisionB(GetX(),GetY(),24);
				c++;
		}

		@DrawLoop
		{
			
			SetTexture("script\img\2127578.png");
			DrawGraphic(GetX(),GetY());
		}
		
		@Finalize
		{
			loop(24) {
        		let x = GetX + rand(-64, 64);
       	 		let y = GetY + rand(-64, 64);
        		CreateItem(ITEM_SCORE, x, y);
			}
			DeleteGraphic("script\img\2127578.png");
		}
	}
  
