if(time==0){
let xsize=640;
let ysize=480;
	HIBG=(Obj_Create(OBJ_EFFECT));
	Obj_SetPosition(HIBG,320,240);
	ObjEffect_SetScale(HIBG,1,1);
	ObjEffect_SetLayer(HIBG,8); ObjEffect_SetTexture(HIBG,BGhighscore); ObjEffect_SetRenderState(HIBG,ALPHA);
	ObjEffect_SetPrimitiveType(HIBG,PRIMITIVE_TRIANGLESTRIP); ObjEffect_CreateVertex(HIBG,4);
	ObjEffect_SetVertexXY(HIBG,0,-(xsize/2),-(ysize/2)); ObjEffect_SetVertexUV(HIBG,0,0,0);
	ObjEffect_SetVertexXY(HIBG,1,(xsize/2),-(ysize/2)); ObjEffect_SetVertexUV(HIBG,1,xsize,0);
	ObjEffect_SetVertexXY(HIBG,2,-xsize/2,ysize/2); ObjEffect_SetVertexUV(HIBG,2,0,ysize);
	ObjEffect_SetVertexXY(HIBG,3,(xsize/2),ysize/2); ObjEffect_SetVertexUV(HIBG,3,xsize,ysize);
	ObjEffect_SetVertexColor(HIBG,0,255,255,255,255); ObjEffect_SetVertexColor(HIBG,1,255,255,255,255);
	ObjEffect_SetVertexColor(HIBG,2,255,255,255,255); ObjEffect_SetVertexColor(HIBG,3,255,255,255,255);
let xsize=180;
let ysize=40;
	EFselection=(Obj_Create(OBJ_EFFECT));
	Obj_SetPosition(EFselection,320,240);
	ObjEffect_SetScale(EFselection,1,1);
	ObjEffect_SetLayer(EFselection,8); ObjEffect_SetTexture(EFselection,HIselection); ObjEffect_SetRenderState(EFselection,ALPHA);
	ObjEffect_SetPrimitiveType(EFselection,PRIMITIVE_TRIANGLESTRIP); ObjEffect_CreateVertex(EFselection,4);
	ObjEffect_SetVertexXY(EFselection,0,-(xsize/2),-(ysize/2)); ObjEffect_SetVertexUV(EFselection,0,0,0);
	ObjEffect_SetVertexXY(EFselection,1,(xsize/2),-(ysize/2)); ObjEffect_SetVertexUV(EFselection,1,xsize,0);
	ObjEffect_SetVertexXY(EFselection,2,-xsize/2,ysize/2); ObjEffect_SetVertexUV(EFselection,2,0,ysize);
	ObjEffect_SetVertexXY(EFselection,3,(xsize/2),ysize/2); ObjEffect_SetVertexUV(EFselection,3,xsize,ysize);
	ObjEffect_SetVertexColor(EFselection,0,255,255,255,255); ObjEffect_SetVertexColor(EFselection,1,255,255,255,255);
	ObjEffect_SetVertexColor(EFselection,2,255,255,255,255); ObjEffect_SetVertexColor(EFselection,3,255,255,255,255);
let xsize=20;
let ysize=24;
loop(12){
	EFpoint=(Obj_Create(OBJ_EFFECT));
	Obj_SetPosition(EFpoint,320,240);
	ObjEffect_SetScale(EFpoint,1,1);
	ObjEffect_SetLayer(EFpoint,8); ObjEffect_SetTexture(EFpoint,HIpoints); ObjEffect_SetRenderState(EFpoint,ALPHA);
	ObjEffect_SetPrimitiveType(EFpoint,PRIMITIVE_TRIANGLESTRIP); ObjEffect_CreateVertex(EFpoint,4);
	ObjEffect_SetVertexXY(EFpoint,0,-(xsize/2),-(ysize/2)); ObjEffect_SetVertexUV(EFpoint,0,0,0);
	ObjEffect_SetVertexXY(EFpoint,1,(xsize/2),-(ysize/2)); ObjEffect_SetVertexUV(EFpoint,1,xsize,0);
	ObjEffect_SetVertexXY(EFpoint,2,-xsize/2,ysize/2); ObjEffect_SetVertexUV(EFpoint,2,0,ysize);
	ObjEffect_SetVertexXY(EFpoint,3,(xsize/2),ysize/2); ObjEffect_SetVertexUV(EFpoint,3,xsize,ysize);
	ObjEffect_SetVertexColor(EFpoint,0,255,255,255,255); ObjEffect_SetVertexColor(EFpoint,1,255,255,255,255);
	ObjEffect_SetVertexColor(EFpoint,2,255,255,255,255); ObjEffect_SetVertexColor(EFpoint,3,255,255,255,255);
	EFpointseasy=EFpointseasy~[EFpoint];
	}
loop(12){
	EFpoint=(Obj_Create(OBJ_EFFECT));
	Obj_SetPosition(EFpoint,320,240);
	ObjEffect_SetScale(EFpoint,1,1);
	ObjEffect_SetLayer(EFpoint,8); ObjEffect_SetTexture(EFpoint,HIpoints); ObjEffect_SetRenderState(EFpoint,ALPHA);
	ObjEffect_SetPrimitiveType(EFpoint,PRIMITIVE_TRIANGLESTRIP); ObjEffect_CreateVertex(EFpoint,4);
	ObjEffect_SetVertexXY(EFpoint,0,-(xsize/2),-(ysize/2)); ObjEffect_SetVertexUV(EFpoint,0,0,0);
	ObjEffect_SetVertexXY(EFpoint,1,(xsize/2),-(ysize/2)); ObjEffect_SetVertexUV(EFpoint,1,xsize,0);
	ObjEffect_SetVertexXY(EFpoint,2,-xsize/2,ysize/2); ObjEffect_SetVertexUV(EFpoint,2,0,ysize);
	ObjEffect_SetVertexXY(EFpoint,3,(xsize/2),ysize/2); ObjEffect_SetVertexUV(EFpoint,3,xsize,ysize);
	ObjEffect_SetVertexColor(EFpoint,0,255,255,255,255); ObjEffect_SetVertexColor(EFpoint,1,255,255,255,255);
	ObjEffect_SetVertexColor(EFpoint,2,255,255,255,255); ObjEffect_SetVertexColor(EFpoint,3,255,255,255,255);
	EFpointsnormal=EFpointsnormal~[EFpoint];
	}
loop(12){
	EFpoint=(Obj_Create(OBJ_EFFECT));
	Obj_SetPosition(EFpoint,320,240);
	ObjEffect_SetScale(EFpoint,1,1);
	ObjEffect_SetLayer(EFpoint,8); ObjEffect_SetTexture(EFpoint,HIpoints); ObjEffect_SetRenderState(EFpoint,ALPHA);
	ObjEffect_SetPrimitiveType(EFpoint,PRIMITIVE_TRIANGLESTRIP); ObjEffect_CreateVertex(EFpoint,4);
	ObjEffect_SetVertexXY(EFpoint,0,-(xsize/2),-(ysize/2)); ObjEffect_SetVertexUV(EFpoint,0,0,0);
	ObjEffect_SetVertexXY(EFpoint,1,(xsize/2),-(ysize/2)); ObjEffect_SetVertexUV(EFpoint,1,xsize,0);
	ObjEffect_SetVertexXY(EFpoint,2,-xsize/2,ysize/2); ObjEffect_SetVertexUV(EFpoint,2,0,ysize);
	ObjEffect_SetVertexXY(EFpoint,3,(xsize/2),ysize/2); ObjEffect_SetVertexUV(EFpoint,3,xsize,ysize);
	ObjEffect_SetVertexColor(EFpoint,0,255,255,255,255); ObjEffect_SetVertexColor(EFpoint,1,255,255,255,255);
	ObjEffect_SetVertexColor(EFpoint,2,255,255,255,255); ObjEffect_SetVertexColor(EFpoint,3,255,255,255,255);
	EFpointshard=EFpointshard~[EFpoint];
	}
loop(12){
	EFpoint=(Obj_Create(OBJ_EFFECT));
	Obj_SetPosition(EFpoint,320,240);
	ObjEffect_SetScale(EFpoint,1,1);
	ObjEffect_SetLayer(EFpoint,8); ObjEffect_SetTexture(EFpoint,HIpoints); ObjEffect_SetRenderState(EFpoint,ALPHA);
	ObjEffect_SetPrimitiveType(EFpoint,PRIMITIVE_TRIANGLESTRIP); ObjEffect_CreateVertex(EFpoint,4);
	ObjEffect_SetVertexXY(EFpoint,0,-(xsize/2),-(ysize/2)); ObjEffect_SetVertexUV(EFpoint,0,0,0);
	ObjEffect_SetVertexXY(EFpoint,1,(xsize/2),-(ysize/2)); ObjEffect_SetVertexUV(EFpoint,1,xsize,0);
	ObjEffect_SetVertexXY(EFpoint,2,-xsize/2,ysize/2); ObjEffect_SetVertexUV(EFpoint,2,0,ysize);
	ObjEffect_SetVertexXY(EFpoint,3,(xsize/2),ysize/2); ObjEffect_SetVertexUV(EFpoint,3,xsize,ysize);
	ObjEffect_SetVertexColor(EFpoint,0,255,255,255,255); ObjEffect_SetVertexColor(EFpoint,1,255,255,255,255);
	ObjEffect_SetVertexColor(EFpoint,2,255,255,255,255); ObjEffect_SetVertexColor(EFpoint,3,255,255,255,255);
	EFpointslunatic=EFpointslunatic~[EFpoint];
	}
loop(12){
	EFpoint=(Obj_Create(OBJ_EFFECT));
	Obj_SetPosition(EFpoint,320,240);
	ObjEffect_SetScale(EFpoint,1,1);
	ObjEffect_SetLayer(EFpoint,8); ObjEffect_SetTexture(EFpoint,HIpoints); ObjEffect_SetRenderState(EFpoint,ALPHA);
	ObjEffect_SetPrimitiveType(EFpoint,PRIMITIVE_TRIANGLESTRIP); ObjEffect_CreateVertex(EFpoint,4);
	ObjEffect_SetVertexXY(EFpoint,0,-(xsize/2),-(ysize/2)); ObjEffect_SetVertexUV(EFpoint,0,0,0);
	ObjEffect_SetVertexXY(EFpoint,1,(xsize/2),-(ysize/2)); ObjEffect_SetVertexUV(EFpoint,1,xsize,0);
	ObjEffect_SetVertexXY(EFpoint,2,-xsize/2,ysize/2); ObjEffect_SetVertexUV(EFpoint,2,0,ysize);
	ObjEffect_SetVertexXY(EFpoint,3,(xsize/2),ysize/2); ObjEffect_SetVertexUV(EFpoint,3,xsize,ysize);
	ObjEffect_SetVertexColor(EFpoint,0,255,255,255,255); ObjEffect_SetVertexColor(EFpoint,1,255,255,255,255);
	ObjEffect_SetVertexColor(EFpoint,2,255,255,255,255); ObjEffect_SetVertexColor(EFpoint,3,255,255,255,255);
	EFpointsextra=EFpointsextra~[EFpoint];
	}
loop(12){
	EFpoint=(Obj_Create(OBJ_EFFECT));
	Obj_SetPosition(EFpoint,320,240);
	ObjEffect_SetScale(EFpoint,1,1);
	ObjEffect_SetLayer(EFpoint,8); ObjEffect_SetTexture(EFpoint,HIpoints); ObjEffect_SetRenderState(EFpoint,ALPHA);
	ObjEffect_SetPrimitiveType(EFpoint,PRIMITIVE_TRIANGLESTRIP); ObjEffect_CreateVertex(EFpoint,4);
	ObjEffect_SetVertexXY(EFpoint,0,-(xsize/2),-(ysize/2)); ObjEffect_SetVertexUV(EFpoint,0,0,0);
	ObjEffect_SetVertexXY(EFpoint,1,(xsize/2),-(ysize/2)); ObjEffect_SetVertexUV(EFpoint,1,xsize,0);
	ObjEffect_SetVertexXY(EFpoint,2,-xsize/2,ysize/2); ObjEffect_SetVertexUV(EFpoint,2,0,ysize);
	ObjEffect_SetVertexXY(EFpoint,3,(xsize/2),ysize/2); ObjEffect_SetVertexUV(EFpoint,3,xsize,ysize);
	ObjEffect_SetVertexColor(EFpoint,0,255,255,255,255); ObjEffect_SetVertexColor(EFpoint,1,255,255,255,255);
	ObjEffect_SetVertexColor(EFpoint,2,255,255,255,255); ObjEffect_SetVertexColor(EFpoint,3,255,255,255,255);
	EFpointsnightmare=EFpointsnightmare~[EFpoint];
	}
loop(12){
	EFpoint=(Obj_Create(OBJ_EFFECT));
	Obj_SetPosition(EFpoint,320,240);
	ObjEffect_SetScale(EFpoint,1,1);
	ObjEffect_SetLayer(EFpoint,8); ObjEffect_SetTexture(EFpoint,HIpoints); ObjEffect_SetRenderState(EFpoint,ALPHA);
	ObjEffect_SetPrimitiveType(EFpoint,PRIMITIVE_TRIANGLESTRIP); ObjEffect_CreateVertex(EFpoint,4);
	ObjEffect_SetVertexXY(EFpoint,0,-(xsize/2),-(ysize/2)); ObjEffect_SetVertexUV(EFpoint,0,0,0);
	ObjEffect_SetVertexXY(EFpoint,1,(xsize/2),-(ysize/2)); ObjEffect_SetVertexUV(EFpoint,1,xsize,0);
	ObjEffect_SetVertexXY(EFpoint,2,-xsize/2,ysize/2); ObjEffect_SetVertexUV(EFpoint,2,0,ysize);
	ObjEffect_SetVertexXY(EFpoint,3,(xsize/2),ysize/2); ObjEffect_SetVertexUV(EFpoint,3,xsize,ysize);
	ObjEffect_SetVertexColor(EFpoint,0,255,255,255,255); ObjEffect_SetVertexColor(EFpoint,1,255,255,255,255);
	ObjEffect_SetVertexColor(EFpoint,2,255,255,255,255); ObjEffect_SetVertexColor(EFpoint,3,255,255,255,255);
	EFpointstrumpcards=EFpointstrumpcards~[EFpoint];
	}
}

if(GetKeyState(VK_DOWN)==KEY_PUSH){ HIselected++; PlaySE(SEmenumove1); }
if(GetKeyState(VK_UP)==KEY_PUSH){ HIselected--; PlaySE(SEmenumove1); }
if(HIselected<1){ HIselected=6; }
if(HIselected>6){ HIselected=1; }

Obj_SetPosition(EFselection,125,61+((HIselected-1)*38));


//SCORE EASY
let score=GetCommonData("HighScoreEasy")[HIselected];
let digit=0;
let i=0;
let numberxpos=0;
loop(12){
	Obj_SetPosition(EFpointseasy[i],440+numberxpos,100);
		if(i==11){ digit=floor(score)%10; }
		if(i==10){ digit=floor(score/10)%10; }
		if(i==9){ digit=floor(score/100)%10; }
		if(i==8){ digit=floor(score/1000)%10; }
		if(i==7){ digit=floor(score/10000)%10; }
		if(i==6){ digit=floor(score/100000)%10; }
		if(i==5){ digit=floor(score/1000000)%10; }
		if(i==4){ digit=floor(score/10000000)%10; }
		if(i==3){ digit=floor(score/100000000)%10; }
		if(i==2){ digit=floor(score/1000000000)%10; }
		if(i==1){ digit=floor(score/10000000000)%10; }
		if(i==0){ digit=floor(score/100000000000)%10; }
	ObjEffect_SetVertexUV(EFpointseasy[i],0,0+(digit*20),24); ObjEffect_SetVertexUV(EFpointseasy[i],1,20+(digit*20),24);
	ObjEffect_SetVertexUV(EFpointseasy[i],2,0+(digit*20),48); ObjEffect_SetVertexUV(EFpointseasy[i],3,20+(digit*20),48);
	numberxpos+=15;
	i++;
}
//SCORE NORMAL
let score=GetCommonData("HighScoreNormal")[HIselected];
let digit=0;
let i=0;
let numberxpos=0;
loop(12){
	Obj_SetPosition(EFpointsnormal[i],440+numberxpos,138);
		if(i==11){ digit=floor(score)%10; }
		if(i==10){ digit=floor(score/10)%10; }
		if(i==9){ digit=floor(score/100)%10; }
		if(i==8){ digit=floor(score/1000)%10; }
		if(i==7){ digit=floor(score/10000)%10; }
		if(i==6){ digit=floor(score/100000)%10; }
		if(i==5){ digit=floor(score/1000000)%10; }
		if(i==4){ digit=floor(score/10000000)%10; }
		if(i==3){ digit=floor(score/100000000)%10; }
		if(i==2){ digit=floor(score/1000000000)%10; }
		if(i==1){ digit=floor(score/10000000000)%10; }
		if(i==0){ digit=floor(score/100000000000)%10; }
	ObjEffect_SetVertexUV(EFpointsnormal[i],0,0+(digit*20),24); ObjEffect_SetVertexUV(EFpointsnormal[i],1,20+(digit*20),24);
	ObjEffect_SetVertexUV(EFpointsnormal[i],2,0+(digit*20),48); ObjEffect_SetVertexUV(EFpointsnormal[i],3,20+(digit*20),48);
	numberxpos+=15;
	i++;
}
//SCORE HARD
let score=GetCommonData("HighScoreHard")[HIselected];
let digit=0;
let i=0;
let numberxpos=0;
loop(12){
	Obj_SetPosition(EFpointshard[i],440+numberxpos,176);
		if(i==11){ digit=floor(score)%10; }
		if(i==10){ digit=floor(score/10)%10; }
		if(i==9){ digit=floor(score/100)%10; }
		if(i==8){ digit=floor(score/1000)%10; }
		if(i==7){ digit=floor(score/10000)%10; }
		if(i==6){ digit=floor(score/100000)%10; }
		if(i==5){ digit=floor(score/1000000)%10; }
		if(i==4){ digit=floor(score/10000000)%10; }
		if(i==3){ digit=floor(score/100000000)%10; }
		if(i==2){ digit=floor(score/1000000000)%10; }
		if(i==1){ digit=floor(score/10000000000)%10; }
		if(i==0){ digit=floor(score/100000000000)%10; }
	ObjEffect_SetVertexUV(EFpointshard[i],0,0+(digit*20),24); ObjEffect_SetVertexUV(EFpointshard[i],1,20+(digit*20),24);
	ObjEffect_SetVertexUV(EFpointshard[i],2,0+(digit*20),48); ObjEffect_SetVertexUV(EFpointshard[i],3,20+(digit*20),48);
	numberxpos+=15;
	i++;
}
//SCORE LUNATIC
let score=GetCommonData("HighScoreLunatic")[HIselected];
let digit=0;
let i=0;
let numberxpos=0;
loop(12){
	Obj_SetPosition(EFpointslunatic[i],440+numberxpos,214);
		if(i==11){ digit=floor(score)%10; }
		if(i==10){ digit=floor(score/10)%10; }
		if(i==9){ digit=floor(score/100)%10; }
		if(i==8){ digit=floor(score/1000)%10; }
		if(i==7){ digit=floor(score/10000)%10; }
		if(i==6){ digit=floor(score/100000)%10; }
		if(i==5){ digit=floor(score/1000000)%10; }
		if(i==4){ digit=floor(score/10000000)%10; }
		if(i==3){ digit=floor(score/100000000)%10; }
		if(i==2){ digit=floor(score/1000000000)%10; }
		if(i==1){ digit=floor(score/10000000000)%10; }
		if(i==0){ digit=floor(score/100000000000)%10; }
	ObjEffect_SetVertexUV(EFpointslunatic[i],0,0+(digit*20),24); ObjEffect_SetVertexUV(EFpointslunatic[i],1,20+(digit*20),24);
	ObjEffect_SetVertexUV(EFpointslunatic[i],2,0+(digit*20),48); ObjEffect_SetVertexUV(EFpointslunatic[i],3,20+(digit*20),48);
	numberxpos+=15;
	i++;
}
//SCORE EXTRA
let score=GetCommonDataDefault("HighScoreExtra",0);
let digit=0;
let i=0;
let numberxpos=0;
loop(12){
	Obj_SetPosition(EFpointsextra[i],394+numberxpos,342);
		if(i==11){ digit=floor(score)%10; }
		if(i==10){ digit=floor(score/10)%10; }
		if(i==9){ digit=floor(score/100)%10; }
		if(i==8){ digit=floor(score/1000)%10; }
		if(i==7){ digit=floor(score/10000)%10; }
		if(i==6){ digit=floor(score/100000)%10; }
		if(i==5){ digit=floor(score/1000000)%10; }
		if(i==4){ digit=floor(score/10000000)%10; }
		if(i==3){ digit=floor(score/100000000)%10; }
		if(i==2){ digit=floor(score/1000000000)%10; }
		if(i==1){ digit=floor(score/10000000000)%10; }
		if(i==0){ digit=floor(score/100000000000)%10; }
	ObjEffect_SetVertexUV(EFpointsextra[i],0,0+(digit*20),24); ObjEffect_SetVertexUV(EFpointsextra[i],1,20+(digit*20),24);
	ObjEffect_SetVertexUV(EFpointsextra[i],2,0+(digit*20),48); ObjEffect_SetVertexUV(EFpointsextra[i],3,20+(digit*20),48);
	numberxpos+=15;
	i++;
}
//SCORE NIGHTMARE
let score=GetCommonDataDefault("HighScoreNightmare",0);
let digit=0;
let i=0;
let numberxpos=0;
loop(12){
	Obj_SetPosition(EFpointsnightmare[i],394+numberxpos,380);
		if(i==11){ digit=floor(score)%10; }
		if(i==10){ digit=floor(score/10)%10; }
		if(i==9){ digit=floor(score/100)%10; }
		if(i==8){ digit=floor(score/1000)%10; }
		if(i==7){ digit=floor(score/10000)%10; }
		if(i==6){ digit=floor(score/100000)%10; }
		if(i==5){ digit=floor(score/1000000)%10; }
		if(i==4){ digit=floor(score/10000000)%10; }
		if(i==3){ digit=floor(score/100000000)%10; }
		if(i==2){ digit=floor(score/1000000000)%10; }
		if(i==1){ digit=floor(score/10000000000)%10; }
		if(i==0){ digit=floor(score/100000000000)%10; }
	ObjEffect_SetVertexUV(EFpointsnightmare[i],0,0+(digit*20),24); ObjEffect_SetVertexUV(EFpointsnightmare[i],1,20+(digit*20),24);
	ObjEffect_SetVertexUV(EFpointsnightmare[i],2,0+(digit*20),48); ObjEffect_SetVertexUV(EFpointsnightmare[i],3,20+(digit*20),48);
	numberxpos+=15;
	i++;
}
//SCORE TRUMP CARDS
let score=0;
let i=0;
	loop(18){
	score+=GetCommonDataDefault("HighScoreTrumpCards",0)[i];
	i++;
	}
let digit=0;
let i=0;
let numberxpos=0;
loop(12){
	Obj_SetPosition(EFpointstrumpcards[i],394+numberxpos,418);
		if(i==11){ digit=floor(score)%10; }
		if(i==10){ digit=floor(score/10)%10; }
		if(i==9){ digit=floor(score/100)%10; }
		if(i==8){ digit=floor(score/1000)%10; }
		if(i==7){ digit=floor(score/10000)%10; }
		if(i==6){ digit=floor(score/100000)%10; }
		if(i==5){ digit=floor(score/1000000)%10; }
		if(i==4){ digit=floor(score/10000000)%10; }
		if(i==3){ digit=floor(score/100000000)%10; }
		if(i==2){ digit=floor(score/1000000000)%10; }
		if(i==1){ digit=floor(score/10000000000)%10; }
		if(i==0){ digit=floor(score/100000000000)%10; }
	ObjEffect_SetVertexUV(EFpointstrumpcards[i],0,0+(digit*20),24); ObjEffect_SetVertexUV(EFpointstrumpcards[i],1,20+(digit*20),24);
	ObjEffect_SetVertexUV(EFpointstrumpcards[i],2,0+(digit*20),48); ObjEffect_SetVertexUV(EFpointstrumpcards[i],3,20+(digit*20),48);
	numberxpos+=15;
	i++;
}


if(GetKeyState(VK_BOMB)==KEY_PUSH && time>0){ mainmenu=1; time=-1; frame=-1; PlaySE(SEmenucancel1); }

SetPlayerX(cx);
SetPlayerY(400);

SetCommonData("InEvent",1);

if(mainmenu!=4){
	Obj_Delete(HIBG);
	Obj_Delete(EFselection);
	Obj_Delete(EFpoint);

	let i=0; while(i<length(EFpointseasy)){ Obj_Delete(EFpointseasy[i]); i++; }
	let i=0; while(i<length(EFpointsnormal)){ Obj_Delete(EFpointsnormal[i]); i++; }
	let i=0; while(i<length(EFpointshard)){ Obj_Delete(EFpointshard[i]); i++; }
	let i=0; while(i<length(EFpointslunatic)){ Obj_Delete(EFpointslunatic[i]); i++; }
	let i=0; while(i<length(EFpointsextra)){ Obj_Delete(EFpointsextra[i]); i++; }
	let i=0; while(i<length(EFpointsnightmare)){ Obj_Delete(EFpointsnightmare[i]); i++; }
	let i=0; while(i<length(EFpointstrumpcards)){ Obj_Delete(EFpointstrumpcards[i]); i++; }

	while(length(EFpointseasy)>0){ EFpointseasy=erase(EFpointseasy,0); }
	while(length(EFpointsnormal)>0){ EFpointsnormal=erase(EFpointsnormal,0); }
	while(length(EFpointshard)>0){ EFpointshard=erase(EFpointshard,0); }
	while(length(EFpointslunatic)>0){ EFpointslunatic=erase(EFpointslunatic,0); }
	while(length(EFpointsextra)>0){ EFpointsextra=erase(EFpointsextra,0); }
	while(length(EFpointsnightmare)>0){ EFpointsnightmare=erase(EFpointsnightmare,0); }
	while(length(EFpointstrumpcards)>0){ EFpointstrumpcards=erase(EFpointstrumpcards,0); }
}