function ChackMode{
SetCommonData("EASY_START",0);
SetCommonData("NORMAL_START",0);
SetCommonData("HARD_START",0);
SetCommonData("LUNATIC_START",0);
SetCommonData("BOSSRUSH_START",0);
SetCommonData("EXTRA_START",0);

let x;
let y;
x = ChooseMode();
y = ChooseDifficultly();

let n = x * 10 + y;

if(n == 0){SetCommonData("EASY_START",1);}
else if(n == 1){SetCommonData("NORMAL_START",1);}
else if(n == 2){SetCommonData("HARD_START",1);}
else if(n == 3){SetCommonData("LUNATIC_START",1);}
else if(n == 10){SetCommonData("EASY_START",2);}
else if(n == 11){SetCommonData("NORMAL_START",2);}
else if(n == 12){SetCommonData("HARD_START",2);}
else if(n == 13){SetCommonData("LUNATIC_START",2);}
else if(n == 20){SetCommonData("EASY_START",3);}
else if(n == 21){SetCommonData("NORMAL_START",3);}
else if(n == 22){SetCommonData("HARD_START",3);}
else if(n == 23){SetCommonData("LUNATIC_START",3);}
else if(n == 30){SetCommonData("EASY_START",4);}
else if(n == 31){SetCommonData("NORMAL_START",4);}
else if(n == 32){SetCommonData("HARD_START",4);}
else if(n == 33){SetCommonData("LUNATIC_START",4);}
else if(n == 40){SetCommonData("EASY_START",5);}
else if(n == 41){SetCommonData("NORMAL_START",5);}
else if(n == 42){SetCommonData("HARD_START",5);}
else if(n == 43){SetCommonData("LUNATIC_START",5);}
else if(n == 50){SetCommonData("EASY_START",6);}
else if(n == 51){SetCommonData("NORMAL_START",6);}
else if(n == 52){SetCommonData("HARD_START",6);}
else if(n == 53){SetCommonData("LUNATIC_START",6);}
else if(n == 60){SetCommonData("EASY_START",7);}
else if(n == 61){SetCommonData("NORMAL_START",7);}
else if(n == 62){SetCommonData("HARD_START",7);}
else if(n == 63){SetCommonData("LUNATIC_START",7);}
else if(n == 70){SetCommonData("EASY_START",8);}
else if(n == 71){SetCommonData("NORMAL_START",8);}
else if(n == 72){SetCommonData("HARD_START",8);}
else if(n == 73){SetCommonData("LUNATIC_START",8);}
else if(n == 81){SetCommonData("NORMAL_START",9);}
else if(n == 82){SetCommonData("HARD_START",9);}
else if(n == 83){SetCommonData("LUNATIC_START",9);}
else if(n == 90){SetCommonData("BOSSRUSH_START",1);}
else if(n == 91){SetCommonData("BOSSRUSH_START",2);}
else if(n == 92){SetCommonData("BOSSRUSH_START",3);}
else if(n == 93){SetCommonData("BOSSRUSH_START",4);}
else if(n >= 100&&n <= 103){SetCommonData("EXTRA_START",1);}
}