Commits

Anonymous committed 518c37c

extend required dance steps, LRRRRDD

  • Participants
  • Parent commits eec8721

Comments (0)

Files changed (1)

                 .add(1,["RIGHT"])
                 .add(3,["LEFT"])
                 .add(3,["LEFT"])
-                .add(5,["JUMP","COMBO_END"]);
-            rootAction.add(2, ["UP"]);
-            rootAction.add(4, ["DOWN"]);
+                .add(2,["DOWN"])
+                .add(2,["DOWN","COMBO_END"]);
+            rootAction.add(2, ["DOWN"]);
+            rootAction.add(4, ["UP"]);
         }
         else {
             var rootAction = input.getRootAction();
             rootAction.clear();
             rootAction.add(1, ["RIGHT"]);
             rootAction.add(3, ["LEFT"]);
-            rootAction.add(2, ["UP"]);
-            rootAction.add(4, ["DOWN"]);
+            rootAction.add(2, ["DOWN"]);
+            rootAction.add(4, ["UP"]);
         }
         playerObjects.rerender();
     }
             switch(action) {
                 case "RIGHT": newPosition.x+=1; break;
                 case "LEFT": newPosition.x-=1; break;
-                case "UP": newPosition.y+=1; break;
-                case "DOWN": newPosition.y-=1; break;
-                case "COMBO_START": that.comboStartPosition = {x:that.mapPosition.x, y:that.mapPosition.y}; break;
+                case "DOWN": newPosition.y+=1; break;
+                case "UP": newPosition.y-=1; break;
+                case "COMBO_START": that.comboStartPosition = {x:that.mapPosition.x+1, y:that.mapPosition.y};
+                    break;
                 case "COMBO_END": 
                     var item = inventory.getItem(5);
                     map.setItem( that.comboStartPosition, item ); 
     rootAction.clear();
     rootAction.add(1, ["RIGHT"]);
     rootAction.add(3, ["LEFT"]);
-    rootAction.add(2, ["UP"]);
-    rootAction.add(4, ["DOWN"]);
+    rootAction.add(2, ["DOWN"]);
+    rootAction.add(4, ["UP"]);
     input.playInput.enable();
 
     return that;