Skip to content

Instantly share code, notes, and snippets.

@triacontane
Last active December 7, 2019 02:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save triacontane/ac61c1baf777194a3f80a5b0b8b3926a to your computer and use it in GitHub Desktop.
Save triacontane/ac61c1baf777194a3f80a5b0b8b3926a to your computer and use it in GitHub Desktop.
YEP_PartySystem.jsから離脱コマンドを除外
Window_PartyList.prototype.initialize = function(partyWindow) {;
var wy = partyWindow.y + partyWindow.height;
this._detailedWindow = Yanfly.Param.PartyDetailWin;
var ww = this.windowWidth();
var wh = Graphics.boxHeight - wy;
Window_Selectable.prototype.initialize.call(this, 0, wy, ww, wh);
//--- ここを1から0に変える ---
//this.select(1);
this.select(0);
this.deactivate();
this.refresh();
};
Window_PartyList.prototype.makeItemList = function() {
//--- 初期値の0をコメントアウトして空文字で初期化 ---
//this._data = [0];
this._data = [];
this.createActorOrder();
//--- 最後のpushをコメントアウト ---
//this._data.push(0);
};
@triacontane
Copy link
Author

「Window_PartyList.prototype.initialize」「Window_PartyList.prototype.makeItemList」で検索すると修正箇所が見付かります。

@triacontane
Copy link
Author

修正が難しければこのjsファイルを直接プラグインから取り込んでもOKです。その場合はYEP_PartySystem.jsより下に配置します。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment