MV HP & MP Gauge Size - Main Menu

I'm looking to decrease the size of the HP & MP Bars for my actors in the main menu.
I'm using Yanfly's Core Engine, but there is seemingly only an option for gauge thickness and not the actual distance the gauge travels across the screen.

Could anyone help point me in the direction of how to edit this?
Below is an example of what I have currently, and a quick photoshop of what I want.

1754725644281.png

Untitled.png


Thank you!
Aren't you like modifying the menu with some plugins? Check there what it gives the width to drawActorHp etc.
Hi @Lunar


I'm not at home to test this properly but:

The window is MenuStatusWindow.

Adjust the variable I've called “reduc” (is the actual width gauge - value in pixels)

I've also included the TP bar, even though it's not there on your screen, but that won't have any effect.

Open a text editor, paste the code below.
And call it as you like with the .js extension
Example: ReduceGauge.js

Save it in the plug-in folder, and add it to the menu management plug-ins.

Code:
(function() {

    var reduc = 200;

    Window_MenuStatus.prototype.drawActorHp = function(actor, x, y, width) {
        width = (this.width - reduc);
        Window_Base.prototype.drawActorHp.call(this, actor, x, y, width);
    };

    Window_MenuStatus.prototype.drawActorMp = function(actor, x, y, width) {
        width = (this.width - reduc);
        Window_Base.prototype.drawActorMp.call(this, actor, x, y, width);
    };

    Window_MenuStatus.prototype.drawActorTp = function(actor, x, y, width) {
        width = (this.width - reduc);
        Window_Base.prototype.drawActorTp.call(this, actor, x, y, width);
    };

})();
Thanks so much @alasth
That worked perfectly!

Original thread: https://forums.rpgmakerweb.com/threads/hp-mp-gauge-size-main-menu.179460/