task BuCa{
let CLOSS=10;   

		objShot3 = Obj_Create(OBJ_SHOT);
                Obj_SetAngle(objShot3, 270);
		Obj_SetX(objShot3, GetPlayerX);//x座標設定
		Obj_SetY(objShot3, GetPlayerY);//y座標設定;
		ObjShot_SetGraphic(objShot3, 56);//画像設定
		ObjShot_SetDamage(objShot3, 6);//ダメージを設定
		ObjShot_SetPenetration(objShot3, 100);//貫通力は適当に大きく
                 PlaySE("\koukaonn\sword2.wav");
                loop(20){we=1;
		Obj_SetX(objShot3, GetPlayerX);//x座標設定
		Obj_SetY(objShot3, Obj_GetY(objShot3)-10);
                yield;

}
                loop(10){we=1;
		Obj_SetX(objShot3, GetPlayerX);//x座標設定
		Obj_SetY(objShot3, Obj_GetY(objShot3)-5);
                yield;
}
                loop(8){we=1;
		Obj_SetX(objShot3, GetPlayerX);//x座標設定
		Obj_SetY(objShot3, Obj_GetY(objShot3)-3);
                yield;
}
 PlaySE("\koukaonn\sword2.wav");

                loop(60){
		Obj_SetX(objShot3, GetPlayerX);//x座標設定
		Obj_SetY(objShot3, Obj_GetY(objShot3)+10);
             if(Obj_GetY(objShot3)>GetPlayerY){Obj_Delete(objShot3);break;}

yield;
}

we=0;
             yield;


 
}