MZ VisuStella "Window Button Assist" - How to add buttons in a custom Scene?

Hi!
I'm using VisuStella 0 and 1 plugins in my project. As I created a new custom Scene for my game, it only shows the "Ok" and "Back" in the helper window.
1780962457805.png

I'd like it to show the PgUp/PgDown and the Tab button too in this Scene, but I couldn't find any control over the buttons that are shown... maybe if I someone know which function I could call and prototype another over in one plugin of mine, it should work too!

Thanks!
You can override the buttonAssistKey and buttonAssistText methods in your class. There are 5 of them distinguished by their number appended to their map name:

Code:
Scene_Custom.prototype.buttonAssistKey1 = function() {
  return "PageUp/PageDown";
}

Scene_Custom.prototype.buttonAssistText1 = function() {
  return "swap page";
}

... repeat for 2, 3, 4, 5 or skip if not needed

EDIT: typo
Yeah I think it divides the window in 5 slots and draws according to what's in the stuff Aerosys posted (there's spelling mistake Asset instead of Assist for text). Many of the text ones just return empty strings in many scenes. If you have longer descriptions you might need to change the font size too.
Oh, it worked like a charm! Thank you very much guys!
And I even saw that I could use the button codes like: <Page up button>/<Page down button> from the MessageCore plugin, in case of the player change key bindings in options menu. Right now, it's like this:
1781013488048.png

The texts are a little overlapped and I'm thinking of using icons instead of reducing the font size.

The one thing that let me intrigued is why the Ok and Cancel don't seem to be possible to change it's icons... Is it possible to inject some logic in the "unlisted format key" string to capture the Ok and Cancel and change them to some \i[xx]?
1781013646137.png
Hmmm, doesn't it normally show ok and cancel as z and x? You can change in the list how z and x keys are shown, put icon text code \I[48]
Oh yes, it was like that. But I thought: what if the player change them to other letters? Doesn't it lose the icons I put on Z and X?
Thinking of that, I removed the letter key bindings Z and X, so the engine automatically showed the (enter) and (esc).
PS: The (esc) was a little more troubling, because of keymapper 96 (numpad0) and 45 (insert) also pointing do cancel keybinds... which I removed manually in the keymapper.

But only then I noticed that I couldn't change the esc and enter... hehe!

Original thread: https://forums.rpgmakerweb.com/threads/visustella-window-button-assist-how-to-add-buttons-in-a-custom-scene.183957/