deleted
MV deleted
Javascript/Plugin SupportTry placing this as a plugin to overwrite what is in the corescript (place below the Yanfly stuff):
JavaScript:
Window_ChoiceList.prototype.updatePlacement = function() {
var positionType = $gameMessage.choicePositionType();
var messageY = this._messageWindow.y;
this.width = this.windowWidth();
this.height = this.windowHeight();
switch (positionType) {
case 0:
this.x = 96;
break;
case 1:
this.x = (Graphics.boxWidth - this.width) / 2;
break;
case 2:
this.x = Graphics.boxWidth - this.width - 96;
break;
}
if (messageY >= Graphics.boxHeight / 2) {
this.y = messageY - this.height;
} else {
this.y = messageY + this._messageWindow.height;
}
};
Mind you this is a quick fix.
Edit: sorry, just try this edit for now and let me know.
deleted
Unfortunately, I would not be able to implement it with a plugin command without thoroughly testing, which is why I am only modifying what is there. You should be able to just use "left" or "right" alignment in your choices event command (default RPG MV event commands).
Here is the final modification you can use:
JavaScript:
Window_ChoiceList.prototype.updatePlacement = function() {
var positionType = $gameMessage.choicePositionType();
var messageY = this._messageWindow.y;
this.width = this.windowWidth();
this.height = this.windowHeight();
switch (positionType) {
case 0:
this.x = (Graphics.boxWidth - $gameSystem.messageWidth()) / 2;
break;
case 1:
this.x = (Graphics.boxWidth - this.width) / 2;
break;
case 2:
this.x = Graphics.boxWidth - this.width - (Graphics.boxWidth - $gameSystem.messageWidth()) / 2;
break;
}
if (messageY >= Graphics.boxHeight / 2) {
this.y = messageY - this.height;
} else {
this.y = messageY + this._messageWindow.height;
}
};
It should work with the regular Show Choices event command.
deleted
Original thread: https://forums.rpgmakerweb.com/threads/deleted.171160/