function home()
{
	parentPathA=path.split("assets");
	parentPath=""
	for(i=0; i<parentPathA.length-1; i++)
	{
		parentPath+=parentPathA[i]
		if(i!==parentPathA.length-2)
			parentPath+="assets";
	}
	window.location.assign(parentPath+"game.html")
}
function back()
{
	localStorage.reloaded="0";
	window.location.assign("../../playmenu.html");
}
var paths=window.location.href.split("assets");
var path="";
for(i=0; i<paths.length-1; i++)
{
	path+=paths[i]+"assets"
}
if(localStorage.reloaded==="1")
{
	home();
}
localStorage.reloaded="1";

@@ -273,24 +273,33 @@
 Storage.
+setItem(%22
 reloaded
 =%220%22;%0A%09w
@@ -294,12 +294,14 @@
 aded
-=
+%22,
 %220%22
+)
 ;%0A%09w
@@ -486,24 +486,33 @@
 Storage.
+getItem(%22
 reloaded
 ===%221%22)%0A
@@ -503,16 +503,18 @@
 reloaded
+%22)
 ===%221%22)%0A
@@ -539,22 +539,31 @@
 Storage.
+setItem(%22
 reloaded
 =%221%22;%0A
@@ -556,14 +556,17 @@
 reloaded
-=
+%22, 
 %221%22
+)
 ;%0A

fix localStorage