Files

31 lines
1.2 KiB
JavaScript

/*:
* @target MZ MV
* @plugindesc メッセージを常に瞬間表示し、文章中のウェイトを無効化します。
* @author GameLauncher
*
* @help
* メッセージウィンドウの文字送りを常に瞬間表示にし、文章中のウェイト制御文字(\. や \|)をスキップします。
* ※プレイヤーが読むためのボタン入力待ち(\! やページ末尾)は通常通り機能します。
*/
(() => {
'use strict';
if (typeof Window_Message !== 'undefined') {
const _Window_Message_startMessage = Window_Message.prototype.startMessage;
Window_Message.prototype.startMessage = function() {
_Window_Message_startMessage.call(this);
this._showFast = true;
};
const _Window_Message_updateShowFast = Window_Message.prototype.updateShowFast;
Window_Message.prototype.updateShowFast = function() {
_Window_Message_updateShowFast.call(this);
this._showFast = true;
};
const _Window_Message_startWait = Window_Message.prototype.startWait;
Window_Message.prototype.startWait = function(count) {
// ウェイトをスキップ
};
}
})();