diff --git a/functions/functions.js b/functions/functions.js
index 45630f2..4374cec 100644
--- a/functions/functions.js
+++ b/functions/functions.js
@@ -92,6 +92,17 @@ function mapReload() {
setup();
}
+// Go to the menu
function toMenu() {
- window.location.href = "./menu.html";
+ window.location.href = "./index.html";
+}
+
+// Go to the level player!
+function initiateLevelPlay() {
+ window.location.href = "./play.html";
+}
+
+// Go to the custom landing page!
+function customLevelLoad() {
+ console.log('Here relies the custom level loader!');
}
\ No newline at end of file
diff --git a/functions/levelHandler.js b/functions/levelHandler.js
index dd5cfe9..5ddd46b 100644
--- a/functions/levelHandler.js
+++ b/functions/levelHandler.js
@@ -32,7 +32,7 @@ function preload() {
mapOutline = loadStrings(`./assets/levels/level${levelId}.txt`);
// Load the buttonStyles JSON file
- buttonStyles = loadJSON('./assets/json/buttonStyles.json');
+ buttonStyles = loadJSON('./assets/json/levelButtonStyles.json');
}
function setup() {
diff --git a/index.html b/index.html
index b385ae6..1215f47 100644
--- a/index.html
+++ b/index.html
@@ -13,13 +13,8 @@
-
-
-
-
-
-
-
+
+