Description
//you must execute this script in order to play the level for immersive experience! (function () { for (let j = 0; j < switchable.length; j++) { if (switchable[j] && switchable[j].length > 0) { leverSwitch(j); } } const original = window.draw; const spot = 90; window.draw = function () { original.apply(this, arguments); if (menuScreen === 3 && typeof char !== 'undefined' && char[0]) { ctxReal.save(); const sx = char[0].x - cameraX + shakeX; const sy = (char[0].y - char[0].h / 2) - cameraY + shakeY; ctxReal.beginPath(); ctxReal.rect(0, 0, cwidth, cheight); ctxReal.moveTo(sx + spot, sy); ctxReal.arc(sx, sy, spot, 0, Math.PI * 2, true); ctxReal.fillStyle = '#000000'; ctxReal.fill('evenodd'); ctxReal.restore(); } }; })();