if(length(GetCommonDataDefault("SpellcardData",0))==0){
let arraysize=GetCommonDataDefault("SpellcardData",[0]);
	loop(85){											// 85 spellcards (0 is incompletable, like nonspells)
	arraysize=arraysize~[0];							// max difficulty cleared, standard set to 0
	SetCommonData("SpellcardData",arraysize);
	}
}

if(length(GetCommonDataDefault("TrumpCardUnlocked",0))==0){
let arraysize=GetCommonDataDefault("TrumpCardUnlocked",[0]);
	loop(18){						//not using 0
	arraysize=arraysize~[0];
	SetCommonData("TrumpCardUnlocked",arraysize);
	}
}

if(length(GetCommonDataDefault("NewTrumpCardsUnlocked",0))==0){
let arraysize=GetCommonDataDefault("NewTrumpCardsUnlocked",[0]);
	loop(18){
	arraysize=arraysize~[0];
	SetCommonData("NewTrumpCardsUnlocked",arraysize);
	}
}

if(length(GetCommonDataDefault("HighScoreEasy",0))==0){
let arraysize=GetCommonDataDefault("HighScoreEasy",[0]);
	loop(7){
	arraysize=arraysize~[0];
	SetCommonData("HighScoreEasy",arraysize);
	}
}
if(length(GetCommonDataDefault("HighScoreNormal",0))==0){
let arraysize=GetCommonDataDefault("HighScoreNormal",[0]);
	loop(7){
	arraysize=arraysize~[0];
	SetCommonData("HighScoreNormal",arraysize);
	}
}
if(length(GetCommonDataDefault("HighScoreHard",0))==0){
let arraysize=GetCommonDataDefault("HighScoreHard",[0]);
	loop(7){
	arraysize=arraysize~[0];
	SetCommonData("HighScoreHard",arraysize);
	}
}
if(length(GetCommonDataDefault("HighScoreLunatic",0))==0){
let arraysize=GetCommonDataDefault("HighScoreLunatic",[0]);
	loop(7){
	arraysize=arraysize~[0];
	SetCommonData("HighScoreLunatic",arraysize);
	}
}
if(length(GetCommonDataDefault("HighScoreTrumpCards",0))==0){
let arraysize=GetCommonDataDefault("HighScoreTrumpCards",[0]);
	loop(19){
	arraysize=arraysize~[0];
	SetCommonData("HighScoreTrumpCards",arraysize);
	}
}
