[SOLVED] Showing all message choices

Hi all. This one is driving me nuts, can't figure what plugin to modify...

I'm using Yanfly message core.

When positioning my message box at the top of the screen, all 6 message choices do show up.
Spoiler
6.png

But when I position the message box in the middle, only 4 options show up.
Spoiler
4.png

What I want to do is to position the message box about 200px from the top of the screen, have 4 lines of text and then when message options show up, show ALL of them, not truncated to max 4 message options.

I don't mind hard-coding stuff in the plugins... I just can't find which one I need to modify.

Is anyone able to help?

Thanks!
Can you modify the choices position so It's at the top of the message box?

Edit: what happens if you press down a bunch? Does it scroll to the other choices?
Ideally no. This, made with image editor (Gimp) is what I want to achieve:

all.jpg
So your magic schools are: Red, Gold, Green, Birch and Obscurus? Ooooh! can you grow tree's with the birch shcool of magic?
The main text window is Window_Message; the choice window is Window_ChoiceList. The code for both of these is found in rpg_windows.js. 🙂

I think this is the method you're seeking:
Spoiler: Window_ChoiceList > numVisibleRows
JavaScript:
Window_ChoiceList.prototype.numVisibleRows = function() {
    var messageY = this._messageWindow.y;
    var messageHeight = this._messageWindow.height;
    var centerY = Graphics.boxHeight / 2;
    var choices = $gameMessage.choices();
    var numLines = choices.length;
    var maxLines = 8;
    if (messageY < centerY && messageY + messageHeight > centerY) {
        maxLines = 4;   // <-- This line!
    }
    if (numLines > maxLines) {
        numLines = maxLines;
    }
    return numLines;
};
You could try copying that method into a plugin, with the maxLines = 4 if clause removed. 😮‍💨
So your magic schools are: Red, Gold, Green, Birch and Obscurus? Ooooh! can you grow tree's with the birch shcool of magic?

Schools of Magic
Following the end of The Great War a few centuries ago, the Mage Council decided that only the following five schools shall be allowed to be taught:

  • Rubeus (Red): Raw power, fire, destruction.
  • Aurum (Yellow): Energy, electricity, balance.
  • Viridis (Green): Nature, protection, growth.
  • Caerulus (Blue): Mind, control, retribution.
  • Obscurus (Purple): Life, death, underworld.





The main text window is Window_Message; the choice window is Window_ChoiceList. The code for both of these is found in rpg_windows.js. 🙂
[SNIP]
You could try copying that method into a plugin, with the maxLines = 4 if clause removed. 😮‍💨


THANK YOU!!! I wasn't even looking in the right folder, no wonder why I could not find it!

This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.

Original thread: https://forums.rpgmakerweb.com/threads/solved-showing-all-message-choices.124906/