sub MenuDraw
{
		SetFontColor(255,255,255,50,50,255);
		if(StageState==Menu)
		{
/////////////////////////////////////////////////////////////////////////////
////////////////////////メニュー描画部/////////////////////////////////////
/////////////////////////////////////////////////////////////////////////////
		if(MenuState==Menu)
		{
			if(Select==Start)
			{
		SelectBer(100);
				GameStartDisplay(180,100,255,255,255,255);
			}
			else
			{
				GameStartDisplay(180,100,150,255,255,255);
			}

			if(Select==Extra)
			{
			//	DrawText("Extra",80,120,32,255);
			//	DrawText("Extraモードで開始します",80,360,18,255);
			}
			else
			{
			//	DrawText("Extra",80,120,18,255);
			}

			if(Select==Practice)
			{
		SelectBer(150);
				PracticeDisplay(150,150,255,255,255,255);
		//		DrawText("プラクティスを開始します",80,360,18,255);
			}
			else
			{
				PracticeDisplay(150,150,150,255,255,255);
			}

			if(Select==Result)
			{
		SelectBer(200);
				ResultDisplay(132,200,255,255,255,255);
		//		DrawText("色々な記録が見れます",80,360,18,255);
			}
			else
			{
				ResultDisplay(132,200,150,255,255,255);
			}

			if(Select==Quit)
			{
		SelectBer(250);
				QuitDisplay(115,250,255,255,255,255);
		//		DrawText("普通に終了します",80,360,18,255);
			}
			else
			{
				QuitDisplay(115,250,150,255,255,255);
			}
		}
/////////////////////////////////////////////////////////////////////////////////////////
/////////////////////////////////難易度選択描画部/////////////////////////////////////////
/////////////////////////////////////////////////////////////////////////////////////
		if(MenuState==MenuDifficult)
		{
		//	DrawText("Choose Level",120,28,32,255);
			if(Select==EASY)
			{
		SelectBer(120);
				ModerateDisplay(GetCenterX,120,255,255,255,255);
		//		DrawText("普通の難易度",80,360,18,255);
			}
			else
			{
				ModerateDisplay(GetCenterX,120,150,255,255,255);
			}

			if(Select==NORMAL)
			{
		SelectBer(185);
				ExtreamDisplay(GetCenterX,185,255,255,255,255);
		//		DrawText("過激な難易度",80,360,18,255);
			}
			else
			{
				ExtreamDisplay(GetCenterX,185,150,255,250,255);
			}

			if(Select==HARD)
			{
		SelectBer(250);
			ApocalypseDisplay(GetCenterX,250,255,255,255,255);
		//	DrawText("終末的な難易度",80,360,18,255);
			}
			else
			{
			ApocalypseDisplay(GetCenterX,250,150,255,255,255);
			}

			if(Select==LUNATIC)
			{
			//	DrawText("Lunatic",80,200,32,255);
			//	DrawText("かなり難しい",80,360,18,255);
			}
			else
			{
			//	DrawText("Lunatic",80,200,18,255);
			}
		}
//////////////////////////////////////////////////////////////////////////////////////////
////////////////////////////////プラクティス描画部///////////////////////////////////////
/////////////////////////////////////////////////////////////////////////////////////////
		if(MenuState==MenuPractice)
		{
		//	DrawText("Choose Level",120,28,32,255);
			if(Select==EASYPRACTICE)
			{
		SelectBer(120);
				ModerateDisplay(GetCenterX,120,255,255,255,255);
		//		DrawText("普通の難易度",80,360,18,255);
			}
			else
			{
				ModerateDisplay(GetCenterX,120,150,255,255,255);
			}

			if(Select==NORMALPRACTICE)
			{
		SelectBer(185);
				ExtreamDisplay(GetCenterX,185,255,255,255,255);
		//		DrawText("過激な難易度",80,360,18,255);
			}
			else
			{
				ExtreamDisplay(GetCenterX,185,150,255,250,255);
			}

			if(Select==HARDPRACTICE)
			{
		SelectBer(250);
			ApocalypseDisplay(GetCenterX,250,255,255,255,255);
		//	DrawText("終末的な難易度",80,360,18,255);
			}
			else
			{
			ApocalypseDisplay(GetCenterX,250,150,255,255,255);
			}

			if(Select==LUNATICPRACTICE)
			{
			//	DrawText("Lunatic",80,200,32,255);
			//	DrawText("Lunaticのプラクティスを開始",80,360,18,255);
			}
			else
			{
			//	DrawText("Lunatic",80,200,18,255);
			}

		}
		if(MenuState==MenuPracticeStage)
		{
		//	DrawText("Choose Stage",120,28,32,255);
			if(Select==STAGE1)
			{
		SelectBer(100);
				PracticeStageDisplay(GetCenterX-16,100,255,255,255,255);
				PracticeStageNumDisplay(GetCenterX-16+75,100,255,255,255,255,1);
			//	DrawText("STAGE1",80,80,32,255);
			//	DrawText("STAGE1のプラクティスを開始",80,360,18,255);
			}
			else
			{
				PracticeStageDisplay(GetCenterX-16,100,150,255,255,255);
				PracticeStageNumDisplay(GetCenterX-16+75,100,150,255,255,255,1);
			//	DrawText("STAGE1",80,80,18,255);
			}

			if(Select==STAGE2)
			{
		SelectBer(160);
				PracticeStageDisplay(GetCenterX-16,160,255,255,255,255);
				PracticeStageNumDisplay(GetCenterX-16+75,160,255,255,255,255,2);
			//	DrawText("STAGE2",80,120,32,255);
			//	DrawText("STAGE2のプラクティスを開始",80,360,18,255);
			}
			else
			{
				PracticeStageDisplay(GetCenterX-16,160,150,255,255,255);
				PracticeStageNumDisplay(GetCenterX-16+75,160,150,255,255,255,2);
			//	DrawText("STAGE2",80,120,18,255);
			}

			if(Select==STAGE3)
			{
		SelectBer(220);
				PracticeStageDisplay(GetCenterX-16,220,255,255,255,255);
				PracticeStageNumDisplay(GetCenterX-16+75,220,255,255,255,255,3);
			//	DrawText("STAGE3",80,160,32,255);
			//	DrawText("STAGE3のプラクティスを開始",80,360,18,255);
			}
			else
			{
				PracticeStageDisplay(GetCenterX-16,220,150,255,255,255);
				PracticeStageNumDisplay(GetCenterX-16+75,220,150,255,255,255,3);
			//	DrawText("STAGE3",80,160,18,255);
			}

			if(Select==STAGE4)
			{
		SelectBer(280);
				PracticeStageDisplay(GetCenterX-16,280,255,255,255,255);
				PracticeStageNumDisplay(GetCenterX-16+75,280,255,255,255,255,4);
			//	DrawText("STAGE4",80,200,32,255);
			//	DrawText("STAGE4のプラクティスを開始",80,360,18,255);
			}
			else
			{
				PracticeStageDisplay(GetCenterX-16,280,150,255,255,255);
				PracticeStageNumDisplay(GetCenterX-16+75,280,150,255,255,255,4);
			//	DrawText("STAGE4",80,200,18,255);
			}
			if(Select==STAGE5)
			{
		SelectBer(340);
				PracticeStageDisplay(GetCenterX-16,340,255,255,255,255);
				PracticeStageNumDisplay(GetCenterX-16+75,340,255,255,255,255,5);
			//	DrawText("STAGE5",80,240,32,255);
			//	DrawText("STAGE5のプラクティスを開始",80,360,18,255);
			}
			else
			{
				PracticeStageDisplay(GetCenterX-16,340,150,255,255,255);
				PracticeStageNumDisplay(GetCenterX-16+75,340,150,255,255,255,5);
			//	DrawText("STAGE5",80,240,18,255);
			}
			if(Select==STAGE6)
			{
			//	DrawText("STAGE6",80,280,32,255);
			//	DrawText("STAGE6のプラクティスを開始",80,360,18,255);
			}
			else
			{
			//	DrawText("STAGE6",80,280,18,255);
			}
		}
//////////////////////////////////////////////////////////////////////////////////////
/////////////////////////////スペルカードプラクティス描画部///////////////////////////
//////////////////////////////////////////////////////////////////////////////////////

//////////////////////////////////////////////////////////////////////////////////////////
////////////////////////////////リザルト描画部//////////////////////////////////////////
//////////////////////////////////////////////////////////////////////////////////////////
		if(MenuState==MenuResult)
		{
		//	DrawText("Choose Result",120,28,32,255);
			if(Select==ResultSCORE)
			{
		SelectBer(120);
			//	DrawText("SCORE",80,120,32,255);
				ScoreDisplay(GetCenterX,120,255,255,255,255);
		//		DrawText("ハイスコアなどが見れます",80,360,18,255);
			}
			else
			{
			//	DrawText("SCORE",80,120,18,255);

				ScoreDisplay(GetCenterX,120,150,255,255,255);
			}

			if(Select==ResultSPELL)
			{
		SelectBer(200);
				AchievementDisplay(GetCenterX,200,255,255,255,255);
			}
			else
			{

				AchievementDisplay(GetCenterX,200,150,255,255,255);
			}

			if(Select==ResultOTHERS)
			{
		SelectBer(280);
			//	DrawText("OTHERS",80,200,32,255);

				OthersDisplay(GetCenterX,280,255,255,255,255);
		//		DrawText("その他の記録が見れます",80,360,18,255);
			}
			else
			{
			//	DrawText("OTHERS",80,200,18,255);

				OthersDisplay(GetCenterX,280,150,255,255,255);
			}
		}
/////////////////////////////////////////////////////////////////////////////////
//////////////////////////////スコア描画部/////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////////
		let ScoreDrawX=260;
		if(MenuState==ViewResultScore)
		{
		//	DrawText("決定キーでスペルカード戦歴へ",80,420,12,255);
		//	DrawText("ScoreHistory",120,30,32,255);
		//	DrawText("No",120,130,14,255);
			NoDisplay(120,135,255,255,255,255);
		//	DrawText("SCORE",ScoreDrawX,130,14,255);
			ScoreLetterDisplay(260,135,255,255,255,255);
		//	DrawText("STAGE",295,130,14,255);
			ascent(let i in 0..10)
			{		
			//	DrawText(NumToString(i+1),35,150+i*25,14,255);
				ResultHiscoreDisPlay2(ScoreDrawX-130,160+i*25,i+1,0);
			}
		}
		alternative(ResultScoreState)
		case(ResultEASYP1)
		{
				//DrawText("EASY",180,70,32,255);
				ModerateDisplay(GetCenterX,85,255,255,255,255);
			//	DrawText(DrawDefinedPlayer1,150,105,18,255);
				MarisaADisplay(GetCenterX-164*0.4,115,255,255,255,255);
				ascent(let i in 0..10)
				{
					ResultHiscoreDisPlay(ScoreDrawX+60,160+i*25,GetCommonDataDefaultEx(NsScore,NsHiScoreReimuAEasy[i],0),GetCommonDataDefaultEx(NsScore,NsHiScoreReimuAEasy2[i],0));
					if(GetCommonDataDefaultEx(NsScore,NsHiScoreReimuAEasy2[i],0)!=0)
					{
						ResultHiscoreDisPlay2(ScoreDrawX-0,160+i*25,GetCommonDataDefaultEx(NsScore,NsHiScoreReimuAEasy2[i],0),0);
					}
				}
		}

		case(ResultEASYP2)
		{
			//	DrawText("EASY",180,70,32,255);
				ModerateDisplay(GetCenterX,85,255,255,255,255);
				MarisaBDisplay(GetCenterX-164*0.4,115,255,255,255,255);
				ascent(let i in 0..10)
				{
					//DrawText(NumToString(GetCommonDataDefaultEx(NsScore,NsHiScoreReimuBEasy[i],0)),ScoreDrawX-45,150+i*25,14,255);
					ResultHiscoreDisPlay(ScoreDrawX+60,160+i*25,GetCommonDataDefaultEx(NsScore,NsHiScoreReimuBEasy[i],0),GetCommonDataDefaultEx(NsScore,NsHiScoreReimuBEasy2[i],0));
					if(GetCommonDataDefaultEx(NsScore,NsHiScoreReimuBEasy2[i],0)!=0)
					{
					//	DrawText(NumToString(GetCommonDataDefaultEx(NsScore,NsHiScoreReimuBEasy2[i],0)),ScoreDrawX-93,150+i*25,14,255);
						ResultHiscoreDisPlay2(ScoreDrawX-0,160+i*25,GetCommonDataDefaultEx(NsScore,NsHiScoreReimuBEasy2[i],0),0);
					}
				}
		}	
//--------------------------------------------------------------------------------------------------------------------------
		case(ResultNORMALP1)
		{
				ExtreamDisplay(GetCenterX,85,255,255,255,255);
			//	DrawText(DrawDefinedPlayer1,150,105,18,255);
				MarisaADisplay(GetCenterX-164*0.4,115,255,255,255,255);
				ascent(let i in 0..10)
				{
				//	DrawText(NumToString(GetCommonDataDefaultEx(NsScore,NsHiScoreReimuANormal[i],0)),ScoreDrawX-45,150+i*25,14,255);
					ResultHiscoreDisPlay(ScoreDrawX+60,160+i*25,GetCommonDataDefaultEx(NsScore,NsHiScoreReimuANormal[i],0),GetCommonDataDefaultEx(NsScore,NsHiScoreReimuANormal2[i],0));
					if(GetCommonDataDefaultEx(NsScore,NsHiScoreReimuANormal2[i],0)!=0)
					{
				//		DrawText(NumToString(GetCommonDataDefaultEx(NsScore,NsHiScoreReimuANormal2[i],0)),ScoreDrawX-93,150+i*25,14,255);
						ResultHiscoreDisPlay2(ScoreDrawX-0,160+i*25,GetCommonDataDefaultEx(NsScore,NsHiScoreReimuANormal2[i],0),0);
					}
				}
		}

		case(ResultNORMALP2)
		{
				ExtreamDisplay(GetCenterX,85,255,255,255,255);
			//	DrawText(DrawDefinedPlayer2,150,105,18,255);
				MarisaBDisplay(GetCenterX-164*0.4,115,255,255,255,255);
				ascent(let i in 0..10)
				{
				//	DrawText(NumToString(GetCommonDataDefaultEx(NsScore,NsHiScoreReimuBNormal[i],0)),ScoreDrawX-45,150+i*25,14,255);
					ResultHiscoreDisPlay(ScoreDrawX+60,160+i*25,GetCommonDataDefaultEx(NsScore,NsHiScoreReimuBNormal[i],0),GetCommonDataDefaultEx(NsScore,NsHiScoreReimuBNormal2[i],0));
					if(GetCommonDataDefaultEx(NsScore,NsHiScoreReimuBNormal2[i],0)!=0)
					{
				//		DrawText(NumToString(GetCommonDataDefaultEx(NsScore,NsHiScoreReimuBNormal2[i],0)),ScoreDrawX-93,150+i*25,14,255);
						ResultHiscoreDisPlay2(ScoreDrawX-0,160+i*25,GetCommonDataDefaultEx(NsScore,NsHiScoreReimuBNormal2[i],0),0);
					}
				}
		}	

//-------------------------------------------------------------------------------------------------------------------------
		case(ResultHARDP1)
		{
				ApocalypseDisplay(GetCenterX,85,255,255,255,255);
			//	DrawText(DrawDefinedPlayer1,150,105,18,255);
				MarisaADisplay(GetCenterX-164*0.4,115,255,255,255,255);
				ascent(let i in 0..10)
				{
				//	DrawText(NumToString(GetCommonDataDefaultEx(NsScore,NsHiScoreReimuAHard[i],0)),ScoreDrawX-45,150+i*25,14,255);
					ResultHiscoreDisPlay(ScoreDrawX+60,160+i*25,GetCommonDataDefaultEx(NsScore,NsHiScoreReimuAHard[i],0),GetCommonDataDefaultEx(NsScore,NsHiScoreReimuAHard2[i],0));
					if(GetCommonDataDefaultEx(NsScore,NsHiScoreReimuAHard2[i],0)!=0)
					{
				//		DrawText(NumToString(GetCommonDataDefaultEx(NsScore,NsHiScoreReimuAHard2[i],0)),ScoreDrawX-93,150+i*25,14,255);
						ResultHiscoreDisPlay2(ScoreDrawX-0,160+i*25,GetCommonDataDefaultEx(NsScore,NsHiScoreReimuAHard2[i],0),0);
					}
				}
		}

		case(ResultHARDP2)
		{
				ApocalypseDisplay(GetCenterX,85,255,255,255,255);
			//	DrawText(DrawDefinedPlayer2,150,105,18,255);
				MarisaBDisplay(GetCenterX-164*0.4,115,255,255,255,255);
				ascent(let i in 0..10)
				{
				//	DrawText(NumToString(GetCommonDataDefaultEx(NsScore,NsHiScoreReimuBHard[i],0)),ScoreDrawX-45,150+i*25,14,255);
					ResultHiscoreDisPlay(ScoreDrawX+60,160+i*25,GetCommonDataDefaultEx(NsScore,NsHiScoreReimuBHard[i],0),GetCommonDataDefaultEx(NsScore,NsHiScoreReimuBHard2[i],0));
					if(GetCommonDataDefaultEx(NsScore,NsHiScoreReimuBHard2[i],0)!=0)
					{
				//		DrawText(NumToString(GetCommonDataDefaultEx(NsScore,NsHiScoreReimuBHard2[i],0)),ScoreDrawX-93,150+i*25,14,255);
						ResultHiscoreDisPlay2(ScoreDrawX-0,160+i*25,GetCommonDataDefaultEx(NsScore,NsHiScoreReimuBHard2[i],0),0);
					}
				}
		}	

//-----------------------------------------------------------------------------------------------------------------------
	
///////////////////////////////////////////////////////////////////////////////////
//////////////////////////////実績描画部///////////////////////////////////////////////
//////////////////////////////////////////////////////////////////////////////////////////
		if(MenuState==ViewAchievement)
		{
			let x=50;
			let y=80;
			let Sy=80;
			let ComY=400;
			let yadd=30;
			if(AchievementState==100)
			{
		SelectBerA(y+yadd*0);
				if(GetCommonDataDefaultEx(NsScore,NsAchievement[0],0))
				{
				AtypeClear(x,y,255);
				CommentAtypeClear(x,ComY,255);
				}
				else
				{
				QuestionDisplay(x,y,255);
				//QuestionDisplay(x,ComY,255);
				}
			}
			else if(floor(AchievementState/10)==10)
			{
				if(GetCommonDataDefaultEx(NsScore,NsAchievement[0],0))
				{
				AtypeClear(x,y,150);
				}
				else
				{
				QuestionDisplay(x,y,150);
				}
			}	
			if(AchievementState==101)
			{
		SelectBerA(y+yadd*1);
				if(GetCommonDataDefaultEx(NsScore,NsAchievement[1],0))
				{
				BtypeClear(x,y+yadd*1,255);
				CommentBtypeClear(x,ComY,255);
				}
				else
				{
				QuestionDisplay(x,y+yadd*1,255);
				//QuestionDisplay(x,ComY,255);
				}
			}
			else if(floor(AchievementState/10)==10)
			{
				if(GetCommonDataDefaultEx(NsScore,NsAchievement[1],0))
				{
				BtypeClear(x,y+yadd*1,150);
				}
				else
				{
				QuestionDisplay(x,y+yadd*1,150);
				}
			}
			if(AchievementState==102)
			{
		SelectBerA(y+yadd*2);
				if(GetCommonDataDefaultEx(NsScore,NsAchievement[2],0))
				{
				MdClear(x,y+yadd*2,255);
				CommentMdClear(x,ComY,255);
				}
				else
				{
				QuestionDisplay(x,y+yadd*2,255);
				}
			}
			else if(floor(AchievementState/10)==10)
			{
				if(GetCommonDataDefaultEx(NsScore,NsAchievement[2],0))
				{
				MdClear(x,y+yadd*2,150);
				}
				else
				{
				QuestionDisplay(x,y+yadd*2,150);
				}
			}
			if(AchievementState==103)
			{
		SelectBerA(y+yadd*3);
				if(GetCommonDataDefaultEx(NsScore,NsAchievement[3],0))
				{
				MdNCClear(x,y+yadd*3,255);
				CommentMdNCClear(x,ComY,255);
				}
				else
				{
				QuestionDisplay(x,y+yadd*3,255);
				}
			}
			else if(floor(AchievementState/10)==10)
			{
				if(GetCommonDataDefaultEx(NsScore,NsAchievement[3],0))
				{
				MdNCClear(x,y+yadd*3,150);
				}
				else
				{
				QuestionDisplay(x,y+yadd*3,150);
				}
			}
			if(AchievementState==104)
			{
		SelectBerA(y+yadd*4);
				if(GetCommonDataDefaultEx(NsScore,NsAchievement[4],0))
				{
				ExClear(x,y+yadd*4,255);
				CommentExClear(x,ComY,255);
				}
				else
				{
				QuestionDisplay(x,y+yadd*4,255);
				}
			}
			else if(floor(AchievementState/10)==10)
			{
				if(GetCommonDataDefaultEx(NsScore,NsAchievement[4],0))
				{
				ExClear(x,y+yadd*4,150);
				}
				else
				{
				QuestionDisplay(x,y+yadd*4,150);
				}
			}
			if(AchievementState==105)
			{
		SelectBerA(y+yadd*5);
				if(GetCommonDataDefaultEx(NsScore,NsAchievement[5],0))
				{
				ExNCClear(x,y+yadd*5,255);
				CommentExNCClear(x,ComY,255);
				}
				else
				{
				QuestionDisplay(x,y+yadd*5,255);
				}
			}
			else if(floor(AchievementState/10)==10)
			{
				if(GetCommonDataDefaultEx(NsScore,NsAchievement[5],0))
				{
				ExNCClear(x,y+yadd*5,150);
				}
				else
				{
				QuestionDisplay(x,y+yadd*5,150);
				}
			}
			if(AchievementState==106)
			{
		SelectBerA(y+yadd*6);
				if(GetCommonDataDefaultEx(NsScore,NsAchievement[6],0))
				{
				ApClear(x,y+yadd*6,255);
				CommentApClear(x,ComY,255);
				}
				else
				{
				QuestionDisplay(x,y+yadd*6,255);
				}
			}
			else if(floor(AchievementState/10)==10)
			{
				if(GetCommonDataDefaultEx(NsScore,NsAchievement[6],0))
				{
				ApClear(x,y+yadd*6,150);
				}
				else
				{
				QuestionDisplay(x,y+yadd*6,150);
				}
			}
			if(AchievementState==107)
			{
		SelectBerA(y+yadd*7);
				if(GetCommonDataDefaultEx(NsScore,NsAchievement[7],0))
				{
				ApNCClear(x,y+yadd*7,255);
				CommentApNCClear(x,ComY,255);
				}
				else
				{
				QuestionDisplay(x,y+yadd*7,255);
				}
			}
			else if(floor(AchievementState/10)==10)
			{
				if(GetCommonDataDefaultEx(NsScore,NsAchievement[7],0))
				{
				ApNCClear(x,y+yadd*7,150);
				}
				else
				{
				QuestionDisplay(x,y+yadd*7,150);
				}
			}
			if(AchievementState==108)
			{
		SelectBerA(y+yadd*8);
				if(GetCommonDataDefaultEx(NsScore,NsAchievement[8],0))
				{
				//ExtraBossDefeat(x,y+yadd*8,255);
				//CommentExtraBossDefeat(x,ComY,255);
				GetBombUp(x,y+yadd*8,255);
				CommentGetBombUp(x,ComY,255);
				}
				else
				{
				QuestionDisplay(x,y+yadd*8,255);
				}
			}
			else if(floor(AchievementState/10)==10)
			{
				if(GetCommonDataDefaultEx(NsScore,NsAchievement[8],0))
				{
				//ExtraBossDefeat(x,y+yadd*8,150);
				GetBombUp(x,y+yadd*8,150);
				}
				else
				{
				QuestionDisplay(x,y+yadd*8,150);
				}
			}
			if(AchievementState==109)
			{
		SelectBerA(y+yadd*9);
				if(GetCommonDataDefaultEx(NsScore,NsAchievement[9],0))
				{
				//TrueBossDefeat(x,y+yadd*9,255);
				//CommentTrueBossDefeat(x,ComY,255);
				GetLifeUp(x,y+yadd*9,255);
				CommentGetLifeUp(x,ComY,255);
				}
				else
				{
				QuestionDisplay(x,y+yadd*9,255);
				}
			}
			else if(floor(AchievementState/10)==10)
			{
				if(GetCommonDataDefaultEx(NsScore,NsAchievement[9],0))
				{
				GetLifeUp(x,y+yadd*9,150);
				}
				else
				{
				QuestionDisplay(x,y+yadd*9,150);
				}
			}
/////////////////////////////////////////////////////////////////////////////////////////////
			if(AchievementState==200)
			{
		SelectBerA(y+yadd*0);
				if(GetCommonDataDefaultEx(NsScore,NsAchievement[10],0))
				{
				ten_okutoppa(x,y+yadd*0,255);
				Commentten_okutoppa(x,ComY,255);
				}
				else
				{
				QuestionDisplay(x,y+yadd*0,255);
				}
			}
			else if(floor(AchievementState/10)==20)
			{
				if(GetCommonDataDefaultEx(NsScore,NsAchievement[10],0))
				{
				ten_okutoppa(x,y+yadd*0,150);
				}
				else
				{
				QuestionDisplay(x,y+yadd*0,150);
				}
			}
			if(AchievementState==201)
			{
		SelectBerA(y+yadd*1);
				if(GetCommonDataDefaultEx(NsScore,NsAchievement[11],0))
				{
				fifty_okutoppa(x,y+yadd*1,255);
				Commentfifty_okutoppa(x,ComY,255);
				}
				else
				{
				QuestionDisplay(x,y+yadd*1,255);
				}
			}
			else if(floor(AchievementState/10)==20)
			{
				if(GetCommonDataDefaultEx(NsScore,NsAchievement[11],0))
				{
				fifty_okutoppa(x,y+yadd*1,150);
				}
				else
				{
				QuestionDisplay(x,y+yadd*1,150);
				}
			}
			if(AchievementState==202)
			{
		SelectBerA(y+yadd*2);
				if(GetCommonDataDefaultEx(NsScore,NsAchievement[12],0))
				{
				onehandred_okutoppa(x,y+yadd*2,255);
				Commentonehandred_okutoppa(x,ComY,255);
				}
				else
				{
				QuestionDisplay(x,y+yadd*2,255);
				}
			}
			else if(floor(AchievementState/10)==20)
			{
				if(GetCommonDataDefaultEx(NsScore,NsAchievement[12],0))
				{
				onehandred_okutoppa(x,y+yadd*2,150);
				}
				else
				{
				QuestionDisplay(x,y+yadd*2,150);
				}
			}
			if(AchievementState==203)
			{
		SelectBerA(y+yadd*3);
				if(GetCommonDataDefaultEx(NsScore,NsAchievement[13],0))
				{
				kaimaku(x,y+yadd*3,255);
				Commentkaimaku(x,ComY,255);
				}
				else
				{
				QuestionDisplay(x,y+yadd*3,255);
				}
			}
			else if(floor(AchievementState/10)==20)
			{
				if(GetCommonDataDefaultEx(NsScore,NsAchievement[13],0))
				{
				kaimaku(x,y+yadd*3,150);
				}
				else
				{
				QuestionDisplay(x,y+yadd*3,150);
				}
			}
			if(AchievementState==204)
			{
		SelectBerA(y+yadd*4);
				if(GetCommonDataDefaultEx(NsScore,NsAchievement[14],0))
				{
				hutuM(x,y+yadd*4,255);
				CommenthutuM(x,ComY,255);
				}
				else
				{
				QuestionDisplay(x,y+yadd*4,255);
				}
			}
			else if(floor(AchievementState/10)==20)
			{
				if(GetCommonDataDefaultEx(NsScore,NsAchievement[14],0))
				{
				hutuM(x,y+yadd*4,150);
				}
				else
				{
				QuestionDisplay(x,y+yadd*4,150);
				}
			}
			if(AchievementState==205)
			{
		SelectBerA(y+yadd*5);
				if(GetCommonDataDefaultEx(NsScore,NsAchievement[15],0))
				{
				daiM(x,y+yadd*5,255);
				CommentdaiM(x,ComY,255);
				}
				else
				{
				QuestionDisplay(x,y+yadd*5,255);
				}
			}
			else if(floor(AchievementState/10)==20)
			{
				if(GetCommonDataDefaultEx(NsScore,NsAchievement[15],0))
				{
				daiM(x,y+yadd*5,150);
				}
				else
				{
				QuestionDisplay(x,y+yadd*5,150);
				}
			}
			if(AchievementState==206)
			{
		SelectBerA(y+yadd*6);
				if(GetCommonDataDefaultEx(NsScore,NsAchievement[16],0))
				{
				kenjya(x,y+yadd*6,255);
				Commentkenjya(x,ComY,255);
				}
				else
				{
				QuestionDisplay(x,y+yadd*6,255);
				}
			}
			else if(floor(AchievementState/10)==20)
			{
				if(GetCommonDataDefaultEx(NsScore,NsAchievement[16],0))
				{
				kenjya(x,y+yadd*6,150);
				}
				else
				{
				QuestionDisplay(x,y+yadd*6,150);
				}
			}
			if(AchievementState==207)
			{
		SelectBerA(y+yadd*7);
				if(GetCommonDataDefaultEx(NsScore,NsAchievement[17],0))
				{
				collecter(x,y+yadd*7,255);
				Commentcollecter(x,ComY,255);
				}
				else
				{
				QuestionDisplay(x,y+yadd*7,255);
				}
			}
			else if(floor(AchievementState/10)==20)
			{
				if(GetCommonDataDefaultEx(NsScore,NsAchievement[17],0))
				{
				collecter(x,y+yadd*7,150);
				}
				else
				{
				QuestionDisplay(x,y+yadd*7,150);
				}
			}
			if(AchievementState==208)
			{
		SelectBerA(y+yadd*8);
				if(GetCommonDataDefaultEx(NsScore,NsAchievement[18],0))
				{
				daicollecter(x,y+yadd*8,255);
				Commentdaicollecter(x,ComY,255);
				}
				else
				{
				QuestionDisplay(x,y+yadd*8,255);
				}
			}
			else if(floor(AchievementState/10)==20)
			{
				if(GetCommonDataDefaultEx(NsScore,NsAchievement[18],0))
				{
				daicollecter(x,y+yadd*8,150);
				}
				else
				{
				QuestionDisplay(x,y+yadd*8,150);
				}
			}
			if(AchievementState==209)
			{
		SelectBerA(y+yadd*9);
				if(GetCommonDataDefaultEx(NsScore,NsAchievement[19],0))
				{
				kujikenu(x,y+yadd*9,255);
				Commentkujikenu(x,ComY,255);
				}
				else
				{
				QuestionDisplay(x,y+yadd*9,255);
				}
			}
			else if(floor(AchievementState/10)==20)
			{
				if(GetCommonDataDefaultEx(NsScore,NsAchievement[19],0))
				{
				kujikenu(x,y+yadd*9,150);
				}
				else
				{
				QuestionDisplay(x,y+yadd*9,150);
				}
			}
///////////////////////////////////////////////////////////////////////////////////////////////////
			if(AchievementState==300)
			{
		SelectBerA(y+yadd*0);
				if(GetCommonDataDefaultEx(NsScore,NsAchievement[20],0))
				{
				heiwa(x,y+yadd*0,255);
				Commentheiwa(x,ComY,255);
				}
				else
				{
				QuestionDisplay(x,y+yadd*0,255);
				}
			}
			else if(floor(AchievementState/10)==30)
			{
				if(GetCommonDataDefaultEx(NsScore,NsAchievement[20],0))
				{
				heiwa(x,y+yadd*0,150);
				}
				else
				{
				QuestionDisplay(x,y+yadd*0,150);
				}
			}
			if(AchievementState==301)
			{
		SelectBerA(y+yadd*1);
				if(GetCommonDataDefaultEx(NsScore,NsAchievement[21],0))
				{
				setuytaku(x,y+yadd*1,255);
				Commentsetuytaku(x,ComY,255);
				}
				else
				{
				QuestionDisplay(x,y+yadd*1,255);
				}
			}
			else if(floor(AchievementState/10)==30)
			{
				if(GetCommonDataDefaultEx(NsScore,NsAchievement[21],0))
				{
				setuytaku(x,y+yadd*1,150);
				}
				else
				{
				QuestionDisplay(x,y+yadd*1,150);
				}
			}
			if(AchievementState==302)
			{
		SelectBerA(y+yadd*2);
				if(GetCommonDataDefaultEx(NsScore,NsAchievement[22],0))
				{
				tukauna(x,y+yadd*2,255);
				Commenttukauna(x,ComY,255);
				}
				else
				{
				QuestionDisplay(x,y+yadd*2,255);
				}
			}
			else if(floor(AchievementState/10)==30)
			{
				if(GetCommonDataDefaultEx(NsScore,NsAchievement[22],0))
				{
				tukauna(x,y+yadd*2,150);
				}
				else
				{
				QuestionDisplay(x,y+yadd*2,150);
				}
			}
			if(AchievementState==303)
			{
		SelectBerA(y+yadd*3);
				if(GetCommonDataDefaultEx(NsScore,NsAchievement[23],0))
				{
				iranu(x,y+yadd*3,255);
				Commentiranu(x,ComY,255);
				}
				else
				{
				QuestionDisplay(x,y+yadd*3,255);
				}
			}
			else if(floor(AchievementState/10)==30)
			{
				if(GetCommonDataDefaultEx(NsScore,NsAchievement[23],0))
				{
				iranu(x,y+yadd*3,150);
				}
				else
				{
				QuestionDisplay(x,y+yadd*3,150);
				}
			}
			if(AchievementState==304)
			{
		SelectBerA(y+yadd*4);
				if(GetCommonDataDefaultEx(NsScore,NsAchievement[24],0))
				{
				AutoBomb(x,y+yadd*4,255);
				CommentAutoBomb(x,ComY,255);
				}
				else
				{
				QuestionDisplay(x,y+yadd*4,255);
				}
			}
			else if(floor(AchievementState/10)==30)
			{
				if(GetCommonDataDefaultEx(NsScore,NsAchievement[24],0))
				{
				AutoBomb(x,y+yadd*4,150);
				}
				else
				{
				QuestionDisplay(x,y+yadd*4,150);
				}
			}
			if(AchievementState==305)
			{
		SelectBerA(y+yadd*5);
				if(GetCommonDataDefaultEx(NsScore,NsAchievement[25],0))
				{
				Initial(x,y+yadd*5,255);
				CommentInitial(x,ComY,255);
				}
				else
				{
				QuestionDisplay(x,y+yadd*5,255);
				}
			}
			else if(floor(AchievementState/10)==30)
			{
				if(GetCommonDataDefaultEx(NsScore,NsAchievement[25],0))
				{
				Initial(x,y+yadd*5,150);
				}
				else
				{
				QuestionDisplay(x,y+yadd*5,150);
				}
			}
			if(AchievementState==306)
			{
		SelectBerA(y+yadd*6);
				if(GetCommonDataDefaultEx(NsScore,NsAchievement[26],0))
				{
				spiral(x,y+yadd*6,255);
				Commentspiral(x,ComY,255);
				}
				else
				{
				QuestionDisplay(x,y+yadd*6,255);
				}
			}
			else if(floor(AchievementState/10)==30)
			{
				if(GetCommonDataDefaultEx(NsScore,NsAchievement[26],0))
				{
				spiral(x,y+yadd*6,150);
				}
				else
				{
				QuestionDisplay(x,y+yadd*6,150);
				}
			}
			if(AchievementState==307)
			{
		SelectBerA(y+yadd*7);
				if(GetCommonDataDefaultEx(NsScore,NsAchievement[27],0))
				{
				danmakupower(x,y+yadd*7,255);
				Commentdanmakupower(x,ComY,255);
				}
				else
				{
				QuestionDisplay(x,y+yadd*7,255);
				}
			}
			else if(floor(AchievementState/10)==30)
			{
				if(GetCommonDataDefaultEx(NsScore,NsAchievement[27],0))
				{
				danmakupower(x,y+yadd*7,150);
				}
				else
				{
				QuestionDisplay(x,y+yadd*7,150);
				}
			}
			if(AchievementState==308)
			{
		SelectBerA(y+yadd*8);
				if(GetCommonDataDefaultEx(NsScore,NsAchievement[28],0))
				{
				danmakubrain(x,y+yadd*8,255);
				Commentdanmakubrain(x,ComY,255);
				}
				else
				{
				QuestionDisplay(x,y+yadd*8,255);
				}
			}
			else if(floor(AchievementState/10)==30)
			{
				if(GetCommonDataDefaultEx(NsScore,NsAchievement[28],0))
				{
				danmakubrain(x,y+yadd*8,150);
				}
				else
				{
				QuestionDisplay(x,y+yadd*8,150);
				}
			}
			if(AchievementState==309)
			{
		SelectBerA(y+yadd*9);
				if(GetCommonDataDefaultEx(NsScore,NsAchievement[29],0))
				{
				thankyou(x,y+yadd*9,255);
				Commentthankyou(x,ComY,255);
				}
				else
				{
				QuestionDisplay(x,y+yadd*9,255);
				}
			}
			else if(floor(AchievementState/10)==30)
			{
				if(GetCommonDataDefaultEx(NsScore,NsAchievement[29],0))
				{
				thankyou(x,y+yadd*9,150);
				}
				else
				{
				QuestionDisplay(x,y+yadd*9,150);
				}
			}			
			
/*
			UpTimeDisplay(50,110,255,255,255,255);
			ResultHiscoreNumDisplay(230,110,11,255,200,200,255);
			ResultHiscoreNumDisplay(260,110,11,255,200,200,255);
			ResultNumberDisPlay(220,105,UpTime/3600,255,200,200,255);
			ResultNumberDisPlay(250,105,UpTime/60%60,255,200,200,255);
			ResultNumberDisPlay(280,105,UpTime%60,255,200,200,255);
	*/	}



///////////////////////////////////////////////////////////////////////////////////
//////////////////////////////その他描画部///////////////////////////////////////////////
//////////////////////////////////////////////////////////////////////////////////////////
		if(MenuState==ResultOTHERS)
		{
		//	DrawText("PlayerHistory",120,40,32,255);

			UpTimeDisplay(50,110,255,255,255,255);
			ResultHiscoreNumDisplay(230,110,11,255,200,200,255);
			ResultHiscoreNumDisplay(260,110,11,255,200,200,255);
			ResultNumberDisPlay(220,105,UpTime/3600,255,200,200,255);
			ResultNumberDisPlay(250,105,UpTime/60%60,255,200,200,255);
			ResultNumberDisPlay(280,105,UpTime%60,255,200,200,255);

			PlayTimeDisplay(50,140,255,255,255,255);
			ResultHiscoreNumDisplay(230,140,11,255,200,200,255);
			ResultHiscoreNumDisplay(260,140,11,255,200,200,255);
			ResultNumberDisPlay(220,135,PlayTime/3600,255,200,200,255);
			ResultNumberDisPlay(250,135,PlayTime/60%60,255,200,200,255);
			ResultNumberDisPlay(280,135,PlayTime%60,255,200,200,255);


			PlayNumDisplay(50,180,255,255,255,255);
			MarisaADisplay(50,210,255,255,255,255);
			MarisaBDisplay(50,240,255,255,255,255);
			ZenPlayerDisplay(50,285,255,255,255,255);


			MdDisplay(GetCenterX-10,180,255,255,255,255);
			ExDisplay(GetCenterX+45,180,255,255,255,255);
			ApDisplay(GetCenterX+100,182,255,255,255,255);

			let RAE=GetCommonDataDefaultEx(NsScore,NsFrequencyReimuAEasy,0);
			let RBE=GetCommonDataDefaultEx(NsScore,NsFrequencyReimuBEasy,0);
			let TE=RAE+RBE;

			let RAN=GetCommonDataDefaultEx(NsScore,NsFrequencyReimuANormal,0);
			let RBN=GetCommonDataDefaultEx(NsScore,NsFrequencyReimuBNormal,0);
			let TN=RAN+RBN;


			let RAH=GetCommonDataDefaultEx(NsScore,NsFrequencyReimuAHard,0);
			let RBH=GetCommonDataDefaultEx(NsScore,NsFrequencyReimuBHard,0);
			let TH=RAH+RBH;

			let TRA=RAE+RAN+RAH;
			let TRB=RBE+RBN+RBH;
			
			let TOTAL=TE+TN+TH;

			TotalDisplay(355,180,255,255,255,255);

			if(RAE>9999){RAE=9999;}//9999でカンスト
			if(RBE>9999){RBE=9999;}
			if(TE>9999){TE=9999;}
			if(RAN>9999){RAN=9999;}
			if(RBN>9999){RBN=9999;}
			if(TN>9999){TN=9999;}
			if(RAH>9999){RAH=9999;}
			if(RBH>9999){RBH=9999;}
			if(TH>9999){TH=9999;}
			if(TRA>9999){TRA=9999;}
			if(TRB>9999){TRB=9999;}
			if(TOTAL>9999){TOTAL=9999;}

			ResultNumberDisPlay(230,205,RAE,255,200,200,255);
			ResultNumberDisPlay(230,235,RBE,255,200,200,255);
			ResultNumberDisPlay(230,280,TE,255,200,200,255);

			ResultNumberDisPlay(285,205,RAN,255,200,200,255);
			ResultNumberDisPlay(285,235,RBN,255,200,200,255);
			ResultNumberDisPlay(285,280,TN,255,200,200,255);

			ResultNumberDisPlay(340,205,RAH,255,200,200,255);
			ResultNumberDisPlay(340,235,RBH,255,200,200,255);
			ResultNumberDisPlay(340,280,TH,255,200,200,255);

			ResultNumberDisPlay(395,205,TRA,255,200,200,255);
			ResultNumberDisPlay(395,235,TRB,255,200,200,255);
			ResultNumberDisPlay(395,280,TOTAL,255,200,200,255);

			let AllFragmentResult=GetCommonDataDefaultEx(NsScore,NsAllFragment,0);
			let AllFragmentResult2=GetCommonDataDefaultEx(NsScore,NsAllFragment2,0);
			if(AllFragmentResult2>=1)
			{
				AllFragmentResult+=1000000;
			}
			ALLFragmentDisplay(50,350,255,255,255,255);
			ResultNumberDisPlayFragment(395,345,AllFragmentResult,255,200,200,255);
			if(AllFragmentResult2!=0)
			{
			ResultNumberDisPlay(395-72,345,AllFragmentResult2,255,200,200,255);
			}


		}
//////////////////////////////////////////////////////////////////////////////////
		}
}	
