function CreatePointItem(x,y,drop,num){
let a = GetCommonData("ITEM_POINT");
let X;	let Y;
loop(drop){
	if(drop == 1){X = x;	Y = y;}
	else if(drop >= 2){X = x + rand(-num,num);
		Y = y + rand(-num,num);
		}
	a = a ~ [X,Y];
	}
}

function CreateMasicPointItem(x,y,drop,num){
let a = GetCommonData("ITEM_MASICPOINT");
let X;	let Y;
loop(drop){
	if(drop == 1){X = x;	Y = y;}
	else if(drop >= 2){X = x + rand(-num,num);
		Y = y + rand(-num,num);
		}
	a = a ~ [X,Y];
	}
}

task MasicPointAdd{
loop{
let MP = GetCommonData("MP");
MP += GetHitCount();
SetCommonData("MP",MP);
yield;
}
}