	#e
	#Title[]uЂ̐@v]
	#Text[]
	#Image[]
	#ScriptVersion[2]
	#BGM[.\BGM3.mp3]
	#Player[FREE]
	script_enemy_main
	{
		let c01=0;
		let c02=0;
		let angle=90;
		let cx=GetCenterX();
		let cy=GetCenterY();
		let p=0;
		@Initialize
		{
			CutIn(YOUMU, "]uЂ̐@v", "", 0, 0, 0, 0);
			SetLife(2000);
			SetMovePosition02(cx,cy,60);
			SetTimer(30);
        		SetScore(4000000);
			SetGraphicRect(1,1,48,48);
			LoadGraphic("script\img\2127578.png");
		}
			
		@MainLoop
		{
			
			


			if(c01==60)
			{	
				if(p==3){
					loop(6){			
						CreateShot01(GetX(),GetY(),3,angle+10,BLUE01,30);
						CreateShot01(GetX(),GetY(),3,angle+5,BLUE01,30);
						CreateShot01(GetX(),GetY(),3,angle,BLUE01,30);
						CreateShot01(GetX(),GetY(),3,angle-5,BLUE01,30);
						CreateShot01(GetX(),GetY(),3,angle-10,BLUE01,30);
						angle-=65;
						}
					c01=55;	
					}
				if(p==2){
					loop(6){			
						CreateShot01(GetX(),GetY(),3,angle+5,BLUE01,30);
						CreateShot01(GetX(),GetY(),3,angle,BLUE01,30);
						CreateShot01(GetX(),GetY(),3,angle-5,BLUE01,30);
						angle+=65;
						}
					c01=55;	
					}
				if(p==1){	
					loop(6){			
						CreateShot01(GetX(),GetY(),3,angle,BLUE01,30);
						angle-=65;
						}
					c01=55;	
					}	
				if(p==0){	
					loop(3){			
						CreateShot01(GetX(),GetY(),3,angle,BLUE01,30);
						angle-=125;
						}
					c01=55;	
					}
			}	
			
			if(c02==120){p=1;}
			if(c02==240){p=2;}
			if(c02==360){p=3;}
			if(c02==420){p=0;c02=0;}
				SetCollisionA(GetX(),GetY(),32);
				SetCollisionB(GetX(),GetY(),24);
				c01++;
				c02++;
		}

		@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");
		}
	}
  
