task ef(x,y,angle,delay){
	let obj_ef=Obj_Create(OBJ_SHOT);
	Obj_SetX(obj_ef,x);
	Obj_SetY(obj_ef,y);
	Obj_SetSpeed(obj_ef,0);
	Obj_SetAngle(obj_ef,angle);
	ObjShot_SetGraphic(obj_ef,255);
	Obj_SetCollisionToPlayer(obj_ef,false);
	ObjShot_SetDelay(obj_ef,delay);
	loop(32){yield;}
	Obj_Delete(obj_ef);
}

function attributeB{

	if(BeVanished==false){
	PlaySE(tama);
	loop(po){
	CreateItem(ITEM_SCORE,GetPlayerX,GetPlayerY);
	}
	CollectItems;

		let ef1=6;
		let ef2=rand(0,360);
		let ef3=0;
		let ef4=rand(5,20);
		let ef5=0;
		let ef6=rand(10,20);
		loop(ef1){
		//ef(GetX+cos(ef2)*ef3,GetY+sin(ef2)*ef3,ef2,ef5);

			let obj_ef=Obj_Create(OBJ_SHOT);
			CreateShotA(obj_ef,GetX+cos(ef2)*ef3,GetY+sin(ef2)*ef3,ef5);
			SetShotDirectionType(ABSOLUTE);
			Obj_SetCollisionToPlayer(obj_ef,false);
			SetShotDataA(obj_ef,0,0,ef2,0,0,0,255);
			SetShotKillTime(obj_ef,32);
			FireShot(obj_ef);
		ef2+=ef4;
		ef3+=ef6;
		ef5+=2;

		}

	}

	}


