Last active
December 7, 2019 02:05
-
-
Save triacontane/ac61c1baf777194a3f80a5b0b8b3926a to your computer and use it in GitHub Desktop.
YEP_PartySystem.jsから離脱コマンドを除外
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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); | |
}; |
修正が難しければこのjsファイルを直接プラグインから取り込んでもOKです。その場合はYEP_PartySystem.jsより下に配置します。
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
「Window_PartyList.prototype.initialize」「Window_PartyList.prototype.makeItemList」で検索すると修正箇所が見付かります。