task HoTo{
let CLOSS=1;  we=1;

		objShot3 = Obj_Create(OBJ_SHOT);
		Obj_SetX(objShot3, GetPlayerX);//x座標設定
		Obj_SetY(objShot3, GetPlayerY-30);//y座標設定;
		Obj_SetSpeed(objShot3, CLOSS);//速度設定
		ObjShot_SetGraphic(objShot3, 55);//画像設定
		ObjShot_SetDamage(objShot3, 40);//ダメージを設定
		ObjShot_SetPenetration(objShot3, 1);//貫通力は適当に大きく
	    PlaySE("\koukaonn\se04.wav");
	loop(10){
			let toAngle=atan2(GetEnemyY()-Obj_GetY(objShot3), GetEnemyX()-Obj_GetX(objShot3));
                        if(GetEnemyNum==0){toAngle=270;}		
			Obj_SetAngle(objShot3, toAngle);
                        Obj_SetSpeed(objShot3, CLOSS);
			yield;
                       CLOSS=CLOSS+2;
if(Obj_BeDeleted(objShot3)){break;}
		}

we=0;

      

             yield;


 
}