@Cuprite: ah, thanks for letting me know! I just uploaded v1.2 of
Cae_MenuDisplayOpts with a fix for this. Enable the plugin's new
Release OK Before Choice parameter in the Plugin Manager.
Spoiler: applied fix
JavaScript:
// Instant open safeguards for skipped messages
(function() {
'use strict';
const w = ['ChoiceList', 'NumberInput', 'EventItem'];
const p = '_shouldReleaseOkFirst';
const f = Input.isPressed.bind(Input, 'ok');
// Disable OK if apt
(function(m) {
w.forEach(function(c) {
(function(alias) {
window['Window_' + c].prototype[m] = function() {
if (this[p])
if (!f()) delete this[p];
else return false;
return alias.apply(this, arguments);
};
})(window['Window_' + c].prototype[m]);
});
})('isOkEnabled');
// Set flag if OK is pressed when the window starts
(function(m) {
w.forEach(function(c) {
(function(alias) {
window['Window_' + c].prototype[m] = function() {
if (f()) this[p] = true;
alias.apply(this, arguments);
};
})(window['Window_' + c].prototype[m]);
});
})('start');
})();
Explanation: selectable windows (including the choice window) only respond when they are active AND open. Without plugins, if you press the OK button to skip the message and then keep holding until the choice window is open, it will select that choice. You were seeing the same thing here, except with no delay between "skip message" and "choice window accepts input".
😅