MZ Actor Battle Windows position

Ok I got problems
I'm using free visuMZ plugins, so I can have fancy menu like this, but it requires to make UI Area Hight less, which resulted in Actor Battle Window moving up, which looks bad. I need to find a way to lower it (and no, increasing UI Area Hight doesn't help, because then it ruins menu)

Ok, I did a bit of digging in the rmmz_scenes, and managed to get it halfway through, by moving the command window.
Scene_Battle.prototype.createActorCommandWindow = function() { const rect = this.actorCommandWindowRect(); const commandWindow = new Window_ActorCommand(rect); commandWindow.y = 70 + Graphics.boxHeight - commandWindow.height; commandWindow.setHandler("attack", this.commandAttack.bind(this)); commandWindow.setHandler("skill", this.commandSkill.bind(this)); commandWindow.setHandler("guard", this.commandGuard.bind(this)); commandWindow.setHandler("item", this.commandItem.bind(this)); commandWindow.setHandler("cancel", this.commandCancel.bind(this)); this.addWindow(commandWindow); this._actorCommandWindow = commandWindow; };
With that thing being the main factor
commandWindow.y = 70 + Graphics.boxHeight - commandWindow.height;
Close to this part of code was this one
Scene_Battle.prototype.createPartyCommandWindow = function() { const rect = this.partyCommandWindowRect(); const commandWindow = new Window_PartyCommand(rect); commandWindow.setHandler("fight", this.commandFight.bind(this)); commandWindow.setHandler("escape", this.commandEscape.bind(this)); commandWindow.deselect(); this.addWindow(commandWindow); this._partyCommandWindow = commandWindow; };
And I believe it should be responsible for the display of actor window? Not really sure, but it's the best bet I got currently. So I would be glad if someone could edit in the "y" parameter, so I could move it up/down
It's considered incorrect practice to edit code directly in your rmmz_ files. You should save your changes to a new *.js file and include it as a plugin instead.

For one, it's much harder to keep track of your changes; for another, anything there will be overwritten by plugins, such as...whichever VisuStella plugin gives you your "fancy menu" (you don't say which it is).

I thought most of the VisuStella UI plugins provided you with plugin parameters containing the JavaScript for the window positioning and such - that's not in the plugin for you?

As a tip, it's good that you used the CODE tag, but somehow all of the line breaks got lost so that's really hard to read. Please make sure line breaks and indentations are preserved if you want other people to read through code you're posting.
It's considered incorrect practice to edit code directly in your rmmz_ files. You should save your changes to a new *.js file and include it as a plugin instead.

For one, it's much harder to keep track of your changes; for another, anything there will be overwritten by plugins, such as...whichever VisuStella plugin gives you your "fancy menu" (you don't say which it is).

I thought most of the VisuStella UI plugins provided you with plugin parameters containing the JavaScript for the window positioning and such - that's not in the plugin for you?

As a tip, it's good that you used the CODE tag, but somehow all of the line breaks got lost so that's really hard to read. Please make sure line breaks and indentations are preserved if you want other people to read through code you're posting.
Okay, I tried to separate it (still kind of janky: I remember seeing people post code much more nicely, like on image below, but I don't really know how they do it)
1697808267263.png

It's a nice idea of not editing js code directly, I will remember it. And on the topic of VisuMZ, I didn't found anything about moving actor window here (BattleCore), only gauges, other free plugins didn't seem to give any insight either. And that "fancy" menu is a menu created by using VisuMZ MainMenuCore Portrait style. It doesn't really have anything to do with battle display, beside blocking me of just changing the UI size (which resulted in me seeking other ways of changing it)
@Jobhob I have merged your double post. A double post is when two or more forum posts are made in succession without another party responding first. You can use the "Edit" function on your posts to add additional information you've forgotten or respond to multiple people. You can review our forum rules here. Thank you.
I remember seeing people post code much more nicely, like on image below, but I don't really know how they do it)
When you click the button for the CODE tag, in the window that pops up there's a huge drop-down menu box that's the first thing you see. You can select JavaScript there and it will provide the text coloring.

I personally don't think that's very important, but basic line breaks and indentations are definitely necessary for readability.

And that "fancy" menu is a menu created by using VisuMZ MainMenuCore Portrait style. It doesn't really have anything to do with battle display, beside blocking me of just changing the UI size
That was my point, that you should be able to configure the main menu to look the way you want without having to change the entire UI size.

I should think. But I'll let someone who's versed with the plugin offer better advice.
Good news (First Image) - I managed to get it done, through changing rmmz_scenes Scene_Battle "Y" properties on some code, which I then made into "js" format.

Bad news (Second Image) - It doesn't work with VisuMZ BattleCore, since it simply reverts it to how it was. I guess I will look to it, but for now things seem grim, knowing VisuMZ code is obfuscated, so every inch of help would be immensely nice to have.

Also I attached js file with changes I made

image.png
image.png

Original thread: https://forums.rpgmakerweb.com/threads/actor-battle-windows-position.162180/