Making the choice window a bit higher

Hey,

i got rpg maker mv a couple of days ago on steam sale and i ran into a "problem" to which i couldnt find a solution or thread. I have an [yep] plugin, which allows me to display the name of whos talking right now. But when there is a choice window, those two overlapp and the last choiche cannot be read anymore.

Does anyone know if and how i can move the choice window like .. 50 pixels or so upwards?
This shouldn't be the case - by default the name window is on the left of the text window so that the name and portrait are next to each other.

Since the choice window is on the right, there should be no conflict unless you're intentionally using the \nr tag (I presume your "an plugin" is Yanfly's Message Core. Please always specify the plugin you're using and provide a link 🙂).

If you are using (and really want to use) the nr for names to be on the right, you could simply move the choices window using the drop-down selection in the Show Choices event command (it has Left/Middle/Right options).

If you really really want the name and choices to both be on the same side, you take this function:
Code:
Window_ChoiceList.prototype.updatePlacement = function() {
    var positionType = $gameMessage.choicePositionType();
    var messageY = this._messageWindow.y+this._messageWindow._nameWindow ? this._messageWindow._nameWindow.y : 0;
    this.width = this.windowWidth();
    this.height = this.windowHeight();
    switch (positionType) {
    case 0:
        this.x = 0;
        break;
    case 1:
        this.x = (Graphics.boxWidth - this.width) / 2;
        break;
    case 2:
        this.x = Graphics.boxWidth - this.width;
        break;
    }
    if (messageY >= Graphics.boxHeight / 2) {
        this.y = messageY - this.height;
    } else {
        this.y = messageY + this._messageWindow.height;
    }
};

Paste that into a text editor, save as a *.js file and include it as a plugin in your project. It should automatically adjust the placement of the choices window if a name window is present.
Oh, first of all thanks for clearifying that plugin names should be used as well as a link, didn't know that yet, but i will keep it in mind for future questions!
Just tested it, seems to solve the issue, thank you very much.

If i wanted to write that (plugin?) you just posted myself, what exactly would i need to learn for that?
RPG Maker MV uses JavaScript. You can find many free tutorials online. I like the w3schools, starting with the Statements chapter.
I like the website of modzilla to look up javascript. It is not a tutorial where you first learn the basics and then just learn something new everytime. It is more like a javascript diftionary, where you find the meaning of each function and how to use them. (It has tutorials too, but that is not why I like this database).

You can find this here:

There is also a list available with all kind of script calls specifically to be used in RPG maker MV. This is very nice, because is covers a large part of things you want to do.

This list can be found here:
Hey,
sorry for the late awnser from my side, i didn't see that you awnsered bevor.

@ATT_Turan Thanks, I'll look by w3schools. Seems usefull to know a bit more about JavaScript. Thanks for the fast reply, even if i missed it..

@JohnDoeNews That side seems really usefull, when i know a bit about JacaScript, I'll definitly look through that more and see what i can do! Thanks a lot!

Original thread: https://forums.rpgmakerweb.com/threads/making-the-choice-window-a-bit-higher.156175/