Commits

Anonymous committed b424c13

add new dialog message for when kicks are put on

  • Participants
  • Parent commits da83f6a

Comments (0)

Files changed (2)

     var dialogElement = document.getElementById("speech");
     var currentMessage = -1;
     var messages = [
-        "Hello Stranger, I am Character. Please help me escape. I will explain. Switch the CAMERA to AUGMENTED. (Make sure you've authorized your browser to use the camera)",
+        "Hello Stranger, I am Character. Please help me escape. I will explain how. Switch the CAMERA to AUGMENTED. (Make sure you've authorized your browser to use the camera)",
         "Please show marker #1 to the camera. You will see me through the WARPHOLE it creates.",
         "You've found me! Hold me steady! Do do you see the SPACE SUIT on the shelf? Select the SPACE SUIT by clicking on it, then click WARPHOLE #1 and send it to me.",
         "I see it. Please move my character onto the SPACE SUIT so that I may pick it up. WASD or IJKL will move me.",
         "Tada! I wonder, do you see where my SHADES are? Please, let's walk there and get them.",
         "Thank you. These SHADES are very useful. They see SHADOWLAND as it is. Let's go back to that tree. Then switch the CAMERA to AUGMENTED and pull me back into THREE SPACE.",
         "Ok, and now put me through WARPHOLE #3. We're going to try and get my KICKS back.",
-        "Tada! Set the CAMERA back to VIRTUAL and walk around until we find where my KICKS are. They are sealed in a cave by a SHADOW WALL. You'll have to use the SHADES in the SHADOW WORLD to gain entry.",
-        "Very good! These KICKS are made for dancing. They've been known to work some magic. Put them on and then step like this: LEFT-LEFT-RIGHT-RIGHT-RIGHT-RIGHT-LEFT-LEFT-DOWN-DOWN.",
+        "Tada! Set the CAMERA back to VIRTUAL and walk around until we find where my KICKS are. They are sealed in a cave by a SHADOW WALL. You'll have to use the SHADES in the SHADOWLAND to gain entry.",
+        "Very good! These KICKS are made for dancing. They've been known to work some magic. Let's put them on.",
+        "I know a simple dance, it goes like this: LEFT-LEFT-RIGHT-RIGHT-RIGHT-RIGHT-LEFT-LEFT-DOWN-DOWN.",
         "The magic dance produced a note! Let's pick it up...",
-        "You can read the note by pushing it's BUTTON in the THINGS section."
+        "You can read the note by pushing its BUTTON in the THINGS section."
     ]
 
-    return {
+    return {                    
         getMessage: function(id) {
             if( id === currentMessage+1 ) {
                 currentMessage+=1
     var danceShoesToggled = function(state) {
         isWearingDanceShoes = state;
         if( state ) {
+            dialog.getMessage(13);
             var rootAction = input.getRootAction();
             rootAction.clear();
             rootAction.add(1, ["RIGHT"]);
             return;
         }
         if( item.name === "note") {
-            dialog.getMessage(14);
+            dialog.getMessage(15);
             kit.addButton("read note #1", noteButtonPressed);
             return;
         }
                 case "COMBO_START": that.comboStartPosition = {x:that.mapPosition.x+1, y:that.mapPosition.y};
                     break;
                 case "COMBO_END": 
-                    dialog.getMessage(13);
+                    dialog.getMessage(14);
                     var item = inventory.getItem(5);
                     map.setItem( that.comboStartPosition, item ); 
                     map.reRenderItems();