Remove part of my menu

Hello everyone,

So here I would like to delete the part with the red cross from the menu. How can I proceed?

menu remove.jpg


THANKS
that part is the status window, but I don't own MZ< so I cannot make
a snippet for you for it to rule it out or what it's called in MZ.

once you find it into the scene, you can copy paste that section or the
part that create its and rule it out and it wont be drawed.

this is a quick hardcode overwrite, so I cannot test if it working
and maybe more code is required to adjust the rest, depends what you exactly seek.

if it does work what you need, no need to credit me 🙂
that part is the status window, but I don't own MZ< so I cannot make
a snippet for you for it to rule it out or what it's called in MZ.

once you find it into the scene, you can copy paste that section or the
part that create its and rule it out and it wont be drawed.

this is a quick hardcode overwrite, so I cannot test if it working
and maybe more code is required to adjust the rest, depends what you exactly seek.

if it does work what you need, no need to credit me 🙂
I had to comment this out as well:

JavaScript:
Scene_Menu.prototype.start = function() {
    Scene_MenuBase.prototype.start.call(this);
    //this._statusWindow.refresh();
};

But it worked for me on MZ with those two steps and minimal testing at least(basically I opened the menu and it was gone).

fwiw I just edited the core files for testing purposes and have barely above zero JS knowledge. There may be an issue caused with these edits I just don't know about. If so hopefully someone who actually knows will chime in.
I cannot test without MZ, but if that requires as well for basic to work.
than it's good, I re-upload with your code attached.

but it also probably need at target MZ to get rid of the error.
I might do that tomorrow or anyone with MZ to alter it better.

as there is a better way to assign it so it wouldn't conflict with any
menu plugins if he/she is using one.
I cannot test without MZ, but if that requires as well for basic to work.
than it's good, I re-upload with your code attached.

but it also probably need at target MZ to get rid of the error.
I might do that tomorrow or anyone with MZ to alter it better.

as there is a better way to assign it so it wouldn't conflict with any
menu plugins if he/she is using one.

Needs a bit more code to work as I figured it would. Breaks every other scene that has the actor drawn(status, skills, etc.)

Mr.Trivel has a plugin for MV(not sure if it works in MZ). Google "Mr.Trivel Empty Menu plugin" if you want to try it out and see.
fwiw I just edited the core files for testing purposes and have barely above zero JS knowledge.
You should avoid ever doing that.

The entire point of the plugin system is to never edit the core files - just copy whatever function you need to change into a plugin file, like ShadowDragon did.

Especially if it's testing purposes and you have very little knowledge of what you're doing, you don't want to accidentally change something you don't remember.

Needs a bit more code to work as I figured it would. Breaks every other scene that has the actor drawn(status, skills, etc.)
You probably don't want to prevent the window from being created entirely, but instead just not open it in the initial menu. Or something...I'm not sure from your posts what you want everything to look like.
You should avoid ever doing that.

The entire point of the plugin system is to never edit the core files - just copy whatever function you need to change into a plugin file, like ShadowDragon did.

Especially if it's testing purposes and you have very little knowledge of what you're doing, you don't want to accidentally change something you don't remember.


You probably don't want to prevent the window from being created entirely, but instead just not open it in the initial menu. Or something...I'm not sure from your posts what you want everything to look like.

Yeah I get all that. That's why any "playing" is done in a dedicated Test project. Was quickly trying something out. Didn't care about the project. Fixed it up anyways.

Hopefully OP looks into Trivel's plugin, and it works for them.
Hopefully OP looks into Trivel's plugin, and it works for them.
It's worth looking, but it's quite unlikely. One of the few places where the MZ code is different from MV is in how it makes windows. So anything that's designed to modify windows/scenes/menus is probably not going to function.

But I've never looked at that, I don't know exactly what it does.
@ATT_Turan @spiderbob @ShadowDragon Hello and sorry for the late,

Thank a lot for your advice.

From your discussions should I conclude that I should definitely not touch Windows js? I must say that I am still a beginner in pure code.
Again, you are never supposed to edit the core js files. That's why the plugin system exists and that's why ShadowDragon already gave you the changes in a plugin file.

Beyond that, I can't offer any more advice unless you say whether the code given to you in the first reply does what you want or not.

Original thread: https://forums.rpgmakerweb.com/threads/remove-part-of-my-menu.170553/