diff --git a/libs/events.js b/libs/events.js index c4846bf8..bfd97a79 100644 --- a/libs/events.js +++ b/libs/events.js @@ -1153,7 +1153,7 @@ events.prototype.keyDownSwitchs = function (keycode) { } if (keycode==40) { core.status.event.selection++; - if (core.status.event.selection>=choices.length) core.status.event.selection=choices.length; + if (core.status.event.selection>=choices.length) core.status.event.selection=choices.length-1; core.ui.drawChoices(core.status.event.ui.text, core.status.event.ui.choices); } } @@ -1230,7 +1230,7 @@ events.prototype.keyDownSettings = function (keycode) { } if (keycode==40) { core.status.event.selection++; - if (core.status.event.selection>=choices.length) core.status.event.selection=choices.length; + if (core.status.event.selection>=choices.length) core.status.event.selection=choices.length-1; core.ui.drawChoices(core.status.event.ui.text, core.status.event.ui.choices); } } @@ -1295,7 +1295,7 @@ events.prototype.keyDownSyncSave = function (keycode) { } if (keycode==40) { core.status.event.selection++; - if (core.status.event.selection>=choices.length) core.status.event.selection=choices.length; + if (core.status.event.selection>=choices.length) core.status.event.selection=choices.length-1; core.ui.drawChoices(core.status.event.ui.text, core.status.event.ui.choices); } } diff --git a/快捷键说明.txt b/快捷键说明.txt index 5d1d2c4d..6af4ef36 100644 --- a/快捷键说明.txt +++ b/快捷键说明.txt @@ -2,6 +2,7 @@ === 全局 === [↑][↓][←][→] 移动勇士 +[CTRL] 跳过对话 [X] 打开/关闭怪物手册 [G] 打开/关闭楼层传送器 [S] 打开/关闭存档页面