
	
task Die(tobj){
	
	loop(1){
		yield;
		DeleteShotAll(TYPE_ALL, TYPE_ITEM);
		//ObjSprite2D_SetSourceRect(objBoss, 128*2, 128*3, 128*3, 128*4);
		//ObjMove_SetDestAtFrame(tobj, GetStgFrameWidth+120, 40, 60);
		}
	
	Obj_Delete(tobj);	
	
	loop(100){
		yield;
		}
	
	CloseScript(GetOwnScriptID());
	}