task Setting
{
	while(GetCommonDataDefault("MSDSetting",false)==false){yield;}
	wait(1);
	Power=GetCommonData("PracticeStartBurstCounter");
	MagicCounter=GetCommonData("PracticeStartMagicCounter");
	if(MagicCounter>100000)
	{
		MagicCounterLimit=MagicCounter;
		MagicCounter=MagicCounterLimit;
	}
	BurstRank=GetCommonData("PracticeStartBurstRank");
	RushGauge=GetCommonData("PracticeStartRushGauge");

	SetInitialBombCount(GetCommonData("InitialBomb"));

	LightMode=GetCommonData("LightMode");

	if(BurstRank>=10000)
	{
	BurstRank=10000;
	}

	let SetRushGauge=trunc(RushGauge/10000);
	RushGauge=RushGauge%10000;
	if(SetRushGauge%2==1){RushGauge*=-1;}

	if(GetCommonDataDefault("MagicalSingularDay",false))
	{
//		SetGrazeCircle(0);//自機のかすり判定
	}
	if(GetCommonDataDefault("LightMode_PlayerIntervalEffect",0)==0)
	{
	SetAutoEffect(false);
	}

}

	function NumToStringNoComplete(let num)
	{
		if(num==0)
		{
			num=0.1;
		}
		let leng = trunc(log10(num))+1;//整数部分の桁数を求める
		let string = ToString(num);//数字を文字列に変える
		return string[0..leng];//文字列をスライシングして返す
	}
