Display a big block of text from Main Menu

I want to have a Help item on the Main menu where I can display a cheat-sheet of what state icons mean, so that new players have a reference. I want it to be a close to full-screen window, ideally user-scrollable. I want to display Icon, name, and description.

I had a look at VisuStella Main Menu Core, which allows me to add a Help menu option, but I can't figure out how to make it display a screen of custom text via the menu. CGMZ Encyclopedia seemed promising, but I didn't care for the layout or how you had to "Discover" states before they would display.

Is there an obvious simple way I'm missing?

SOLUTION:
Although CGMZ Encyclopedia has a good pretty decent State viewer, you have to navigate it state by state to see the icons, and I want to see all states at once then narrow down on them for a description. I also decided against anything which shows a picture, because I'd have to regenerate it every time I made a new state.

I took the code from @rpgLord69 and modified it to get the look I was after. I added categories for good and bad states to break them up visually. I'm calling the scene from the main menu via the VisuStella MainMenuCore. I might add a grouping notetag later to change the display order.

1767956336180.png


Spoiler: Plugin Code
JavaScript:
/*:
 * @target MZ
 * @plugindesc VisuStella compatible multi-column State Menu with Positive/Negative/Neutral Categories.
 * @help
 * 1. Add <Help: Your description here> to your State notes.
 * 2. Add <Category: Good> or <Category: Bad> to your State notes.
 * 3. Call via: SceneManager.push(Scene_HelpMenu);
 */

(() => {
    //========================================
    // Scene_HelpMenu
    //========================================

    class Scene_HelpMenu extends Scene_MenuBase {

        create() {
            super.create();
            this.createHelpWindow();
            this.createHelpList();
        }

        createHelpWindow() {
            const rect = this.helpWindowRect();
            this._helpWindow = new Window_Help(rect);
            this.addWindow(this._helpWindow);
        }

        helpWindowRect() {
            const ww = Graphics.boxWidth;
            const wh = this.calcWindowHeight(3, false);
            return new Rectangle(0, 0, ww, wh);
        }

        createHelpList() {
            const rect = this.helpListRect();
            this._helpList = new Window_HelpList(rect);
            this._helpList.setHandler("cancel", this.popScene.bind(this));
            this._helpList.setHelpWindow(this._helpWindow);
            this.addWindow(this._helpList);
        }

        helpListRect() {
            const wy = this._helpWindow.height;
            const footerGap = this.calcWindowHeight(1, false);
            const wh = Graphics.boxHeight - wy - footerGap + 8;
            return new Rectangle(0, wy, Graphics.boxWidth, wh);
        }

        terminate() {
            super.terminate();
            if (this._helpList) {
                this._helpList.clearData();
                this._helpList = null;
            }
        }
    }

    //========================================
    // Window_HelpList
    //========================================

    class Window_HelpList extends Window_Selectable {

        initialize(rect) {
            super.initialize(rect);
            this._lastIndex = -1;
            this.buildStateList();
            this.refresh();
            this.activate();
            this.selectDefault();
        }

        maxCols() { return 4; } // Change if required
        maxItems() { return this._data.length; }
        item() { return this._data[this.index()]; }

        //----------------------------------------
        // Build State Data
        //----------------------------------------

        buildStateList() {
            const allStates = $dataStates.filter(s => s && s.iconIndex > 0);

            const sortByName = (a, b) =>
                a.name.toLowerCase().localeCompare(b.name.toLowerCase());

            const good = allStates
                .filter(s => s.note.includes("<Category: Good>"))
                .sort(sortByName);

            const bad = allStates
                .filter(s => s.note.includes("<Category: Bad>"))
                .sort(sortByName);

            const other = allStates
                .filter(s => !good.includes(s) && !bad.includes(s))
                .sort(sortByName);

            this._data = [];
            this.addCategory("Positive States", good);
            this.addCategory("Negative States", bad);
            this.addCategory("Neutral States", other);
        }

        addCategory(label, list) {
            if (list.length === 0) return;

            const cols = this.maxCols();

            // Header row
            this._data.push({ name: label, isHeader: true });
            while (this._data.length % cols !== 0) {
                this._data.push({ isSpacer: true });
            }

            // Items
            this._data.push(...list);

            // Pad final row
            while (this._data.length % cols !== 0) {
                this._data.push({ isSpacer: true });
            }
        }
        //----------------------------------------
        // Navigation
        //----------------------------------------

        isSelectable(index) {
            const item = this._data[index];
            return item && !item.isHeader && !item.isSpacer;
        }

        findNextSelectable(index, step) {
            let next = index + step;
            while (next >= 0 && next < this.maxItems()) {
                if (this.isSelectable(next)) return next;
                next += step;
            }
            return index;
        }

        cursorDown(wrap) {
            const index = this.index();
            const maxCols = this.maxCols();
            const next = this.findNextSelectable(index, maxCols);
            
            if (next !== index) {
                this.select(next);
                this.ensureCursorVisible();
            } else if (wrap) {
                // If we're at the last item, move to the top
                this.selectDefault();
                this.setTopRow(0);
            }
        }

        cursorUp(wrap) {
            const index = this.index();
            const maxCols = this.maxCols();
            const next = this.findNextSelectable(index, -maxCols);
            const row = Math.floor(next / maxCols);
            
            if (next !== index) {
                this.select(next);
                this.ensureCursorVisible();
            }
            // If we moved into the second row (row 1), show the header (row 0)
            if (row === 1) {
                this.setTopRow(0);
            }
        }

        cursorRight(wrap) {
            const index = this.index();
            const next = this.findNextSelectable(index, 1);
            
            if (next !== index) {
                this.select(next);
                this.ensureCursorVisible();
            }
        }

        cursorLeft(wrap) {
            const index = this.index();
            const next = this.findNextSelectable(index, -1);
            const maxCols = this.maxCols();
            const row = Math.floor(next / maxCols);
            
            if (next !== index) {
                this.select(next);
                this.ensureCursorVisible();
            }
            // If we moved into the second row (row 1), show the header (row 0)
            if (row === 1) {
                this.setTopRow(0);
            }
        }

        selectDefault() {
            const idx = this._data.findIndex(i => this.isSelectable(this._data.indexOf(i)));
            this.select(idx > -1 ? idx : 0);
        }

        //----------------------------------------
        // Drawing
        //----------------------------------------

        drawItem(index) {
            const item = this._data[index];
            if (!item || item.isSpacer) return;
            const rect = this.itemRect(index);

            if (item.isHeader) {
                this.contents.fillRect(0, rect.y, this.innerWidth, rect.height, ColorManager.textColor(7));
                this.changeTextColor(ColorManager.textColor(0));
                this.drawText(item.name, 0, rect.y, this.innerWidth, "center");
                this.resetTextColor();
            } else {
                this.drawIcon(item.iconIndex, rect.x, rect.y + 2);
                this.drawText(item.name, rect.x + 40, rect.y, rect.width - 44);
            }
        }

        //----------------------------------------
        // Help Window
        //----------------------------------------

        update() {
            super.update();
            if (this.index() !== this._lastIndex) {
                this._lastIndex = this.index();
                this.updateHelp();
            }
        }

        updateHelp() {
            const state = this.item();
            if (!state || state.isHeader || state.isSpacer) {
                this._helpWindow.clear();
                return;
            }

            // Extract help text safely
            const match = state.note.match(/<Help:\s*([\s\S]*?)>/i);
            const help = match ? match[1] : "";

            // Duration formatting
            let duration = "";
            if (state.autoRemovalTiming !== 0) {
                const turns = (state.minTurns === state.maxTurns)
                    ? `${state.minTurns} turns`
                    : `${state.minTurns}–${state.maxTurns} turns`;
                    
                duration = `Duration: ${turns}`;
                
                if (state.removeByDamage) {
                    duration += state.chanceByDamage === 100
                        ? " or removed by physical damage."
                        : ` or ${state.chanceByDamage}% chance removed by physical damage.`;
                }
            }

            const text = `${help}<br>\\C[4]${duration}\\C[0]`;
            this._helpWindow.setItem({ description: text });
        }

        clearData() {
            this._data.length = 0;
            this._data = null;
        }
    }

    window.Scene_HelpMenu = Scene_HelpMenu;
})();
using CGMZ can let you enable true (always visible).

there are also tooltips for icons to show the description on hover.
I think AB_HelpScene if is there for one for MZ to do it that way (pages)
but require images.

I do have a tutorial book (for MV) but may not work in MZ without modification
to to let it work in MZ and I have no idea how too.

but there are plugins that work better in MZ to accomplish what you want.
you could also event it if you want too as there are nice work arounds to
seek what you need.

but if you really want a plugin, use CGMZ as that one where you can add a lot
or tooltip plugin (PKD or another one that can work out)
There are several plugins that let you add entries to the main menu. I am not familiar with the VisuStela one, but they nearly all work by letting you call a common event from the new menu entry. You could have a series of "Show Text" editor commands in the common event, but another way would be to use the "Show Picture" editor command. (You would have to prepare the picture yourself, using something like GIMP or Photoshop.)

If you did decide to use a series of "Show Text" messages, remember that you can use the code "\I[n]" (where 'n' is a number), to show whichever icon is number 'n'.

Edit: This is for Yanfly's Main Menu Manager (which does work on MZ), but the plugin parameters might be similar for VisuStela:

Screenshot 2026-01-04 121325.png

The '16' is the number of the common event for it to call. Note that because I want the Credits to be accessible anytime during the game "Show" and "Enabled" are both true.
If you get like VS State Tooltips to add descriptions to your states, then here I imitated the base code to make new scene and new window that gives a selectable list of states in two columns and show the description in the help window (this need VS State Tooltips for the description or it will crash).

[EDIT: Not sure if all below would even be necessary, or if it would just inherit some correctly, but anyway.]

You can activate it with script SceneManager.push(Scene_States);


function Scene_States() {
this.initialize(...arguments);
}

Scene_States.prototype = Object.create(Scene_ItemBase.prototype);
Scene_States.prototype.constructor = Scene_States;

Scene_States.prototype.initialize = function() {
Scene_ItemBase.prototype.initialize.call(this);
};

Scene_States.prototype.create = function() {
Scene_ItemBase.prototype.create.call(this);
this.createHelpWindow();
this.createStateListWindow();
this._StateListWindow.activate();
this._StateListWindow.selectLast();
this._StateListWindow.refresh();
};

Scene_States.prototype.createStateListWindow = function() {
const rect = this.StateListWindowRect();
this._StateListWindow = new Window_StateList(rect);
this._StateListWindow.setHelpWindow(this._helpWindow);
this._StateListWindow.setHandler("cancel", this.popScene.bind(this));
this.addWindow(this._StateListWindow);
};

Scene_States.prototype.StateListWindowRect = function() {
const wx = 0;
const wy = this._helpWindow.height;
const ww = Graphics.boxWidth;
const wh = Graphics.boxHeight - wy;
return new Rectangle(wx, wy, ww, wh);
};

Scene_States.prototype.helpAreaTop = function() {
return 0;
};

Scene_States.prototype.createButtonAssistWindow = function() {

};


function Window_StateList() {
this.initialize(...arguments);
}

Window_StateList.prototype = Object.create(Window_Selectable.prototype);
Window_StateList.prototype.constructor = Window_StateList;

Window_StateList.prototype.initialize = function(rect) {
Window_Selectable.prototype.initialize.call(this, rect);
this._data = $dataStates.slice(1);
};

Window_StateList.prototype.maxCols = function() {
return 2;
};

Window_StateList.prototype.colSpacing = function() {
return 16;
};

Window_StateList.prototype.maxItems = function() {
return this._data ? this._data.length : 1;
};

Window_StateList.prototype.item = function() {
return this.itemAt(this.index());
};

Window_StateList.prototype.itemAt = function(index) {
return this._data && index >= 0 ? this._data[index] : null;
};

Window_StateList.prototype.selectLast = function() {
this.forceSelect(0);
};

Window_StateList.prototype.drawItem = function(index) {
const item = this.itemAt(index);
if (item) {
const rect = this.itemLineRect(index);
this.drawItemName(item, rect.x, rect.y, rect.width);
}
};

Window_StateList.prototype.updateHelp = function() {
this.setHelpWindowItem(this.item());
};

Window_StateList.prototype.refresh = function() {
Window_Selectable.prototype.refresh.call(this);
};
If you want to do it manually with a common event and Show Text like Piyan Glupak described, you can use the NovelMessage dlc plugin to turn the text box into a fullscreen window.
If you get like VS State Tooltips to add descriptions to your states, then here I imitated the base code to make new scene and new window that gives a selectable list of states in two columns and show the description in the help window (this need VS State Tooltips for the description or it will crash).

[EDIT: Not sure if all below would even be necessary, or if it would just inherit some correctly, but anyway.]

You can activate it with script SceneManager.push(Scene_States);


function Scene_States() {
this.initialize(...arguments);
}

Scene_States.prototype = Object.create(Scene_ItemBase.prototype);
Scene_States.prototype.constructor = Scene_States;

Scene_States.prototype.initialize = function() {
Scene_ItemBase.prototype.initialize.call(this);
};

Scene_States.prototype.create = function() {
Scene_ItemBase.prototype.create.call(this);
this.createHelpWindow();
this.createStateListWindow();
this._StateListWindow.activate();
this._StateListWindow.selectLast();
this._StateListWindow.refresh();
};

Scene_States.prototype.createStateListWindow = function() {
const rect = this.StateListWindowRect();
this._StateListWindow = new Window_StateList(rect);
this._StateListWindow.setHelpWindow(this._helpWindow);
this._StateListWindow.setHandler("cancel", this.popScene.bind(this));
this.addWindow(this._StateListWindow);
};

Scene_States.prototype.StateListWindowRect = function() {
const wx = 0;
const wy = this._helpWindow.height;
const ww = Graphics.boxWidth;
const wh = Graphics.boxHeight - wy;
return new Rectangle(wx, wy, ww, wh);
};

Scene_States.prototype.helpAreaTop = function() {
return 0;
};

Scene_States.prototype.createButtonAssistWindow = function() {

};


function Window_StateList() {
this.initialize(...arguments);
}

Window_StateList.prototype = Object.create(Window_Selectable.prototype);
Window_StateList.prototype.constructor = Window_StateList;

Window_StateList.prototype.initialize = function(rect) {
Window_Selectable.prototype.initialize.call(this, rect);
this._data = $dataStates.slice(1);
};

Window_StateList.prototype.maxCols = function() {
return 2;
};

Window_StateList.prototype.colSpacing = function() {
return 16;
};

Window_StateList.prototype.maxItems = function() {
return this._data ? this._data.length : 1;
};

Window_StateList.prototype.item = function() {
return this.itemAt(this.index());
};

Window_StateList.prototype.itemAt = function(index) {
return this._data && index >= 0 ? this._data[index] : null;
};

Window_StateList.prototype.selectLast = function() {
this.forceSelect(0);
};

Window_StateList.prototype.drawItem = function(index) {
const item = this.itemAt(index);
if (item) {
const rect = this.itemLineRect(index);
this.drawItemName(item, rect.x, rect.y, rect.width);
}
};

Window_StateList.prototype.updateHelp = function() {
this.setHelpWindowItem(this.item());
};

Window_StateList.prototype.refresh = function() {
Window_Selectable.prototype.refresh.call(this);
};
This is the direction I was going in. I had something similar, generated by Gemini. I often use AI as a teaching tool, writing code which I then pick it apart to get my head around it. I thought there might have been a simple command in RPG Maker MZ that I'd somehow missed to achieve this, but it seems not to be the case.

I'm unfamiliar with the concept of "scenes" in this context. When I first heard it, I thought it was referring to a cutscene.
If you want to do it manually with a common event and Show Text like Piyan Glupak described, you can use the NovelMessage dlc plugin to turn the text box into a fullscreen window.
Is this the plugin you mean?
This is the direction I was going in. I had something similar, generated by Gemini. I often use AI as a teaching tool, writing code which I then pick it apart to get my head around it. I thought there might have been a simple command in RPG Maker MZ that I'd somehow missed to achieve this, but it seems not to be the case.

I'm unfamiliar with the concept of "scenes" in this context. When I first heard it, I thought it was referring to a cutscene.
don't use AI to write plugins and scenes are created to make windows work with it.

just windows without the scene leave it empty.

scenes create windows and its content you use there, and link that to the window
to show it up.

you can get the hang of it, but AI can be good for fixing some grammar in the helpfile,
which I used 2x at the moment to read it nicely, user friendly and avoid double meanings.

and english isn't my strong suit, it helps or with a regex that I need and the reason
why it is made like that to understand the regex which I used one.

but I never let it make a plugin as human coding is better and even humans make mistakes.
This is the direction I was going in. I had something similar, generated by Gemini. I often use AI as a teaching tool, writing code which I then pick it apart to get my head around it. I thought there might have been a simple command in RPG Maker MZ that I'd somehow missed to achieve this, but it seems not to be the case.

I'm unfamiliar with the concept of "scenes" in this context. When I first heard it, I thought it was referring to a cutscene.

I don't know what the technical definition is, just some kind of game state. And graphic object holder?

I made that code by copying from the base files another Scene and another Window codes, removing one unnecessary window and altering other window's size, changing the escape button to exit the scene instead of activating the removed window, changing the window._data to hold the dataStates and also making small changes / removing some unnecessary lines from multiple methods.

Original thread: https://forums.rpgmakerweb.com/threads/display-a-big-block-of-text-from-main-menu.181762/