diff --git a/mods/a_mod_by_alice.js b/mods/a_mod_by_alice.js index 5d30f0bb..9b6168c5 100644 --- a/mods/a_mod_by_alice.js +++ b/mods/a_mod_by_alice.js @@ -3374,11 +3374,19 @@ color1 and color2 spread through striped paint like dye does with itself. col document.body.removeChild(link); } //mod: shift+8 to change cursor shape - if (e.keyCode == 56 && shiftDown) { + if (e.keyCode == 56 && shiftDown == 1) { var currentShapeIndex = shapeOrder.indexOf(currentShape); currentShape = shapeOrder[(currentShapeIndex + 1) % shapeOrder.length]; logMessage(`Current shape: ${currentShape}`) } + //mod: alt+8 to change cursor shape + if (e.keyCode == 56 && shiftDown == 2) { + var currentShapeIndex = shapeOrder.indexOf(currentShape); + var newIndex = (currentShapeIndex - 1) % shapeOrder.length; + if(newIndex < 0) { newIndex = shapeOrder.length - 1 }; + currentShape = shapeOrder[newIndex]; + logMessage(`Current shape: ${currentShape}`) + } // x = explodeAt() /*else if (e.keyCode == 88) {