[VISUMZ MENU CORE] Adjust HP/MP?

Hello all! Happy holidays! I've been having a small issue with the VisuMZ menu core plugin and am finally at the point where I don't know what else to do besides turn to the community for help.

I'm trying to adjust where the HP and MP meters sit on the VisuMZ menu core. It currently sits extremely high on the window and for some of the shorter characters, completely blocks their faces. I was hoping someone here could help me figure out what I'm doing wrong. My game won't utilize TP, so I've removed the TP meter.

This is what the system looks like normally after install:
No Edits.PNG


This is what I'd like to eventually get the system to look like. Essentially, shift everything down by like 20% and tighten it up:
End.png

I've had some success adjusting the HP gauge, but the MP one won't budge.

This is the standard, out of the box code for the portrait style:
Code:
// Declare Constants
const actor = arguments[0];
const rect = arguments[1];

// Make Constants
const lineHeight = this.lineHeight();
const gaugeLineHeight = this.gaugeLineHeight();
const totalHeight = (lineHeight * 4.5) + (gaugeLineHeight * ($dataSystem.optDisplayTp ? 3 : 2));

// Draw Actor Graphic
const gw = rect.width;
const gh = rect.height;
const gx = rect.x;
const gy = rect.y;
this.drawItemActorMenuImage(actor, gx, gy, gw, gh);

// Draw Dark Rectangle
let sx = rect.x;
let sy = Math.max(rect.y, rect.y + (rect.height - totalHeight));
let sw = rect.width;
let sh = rect.y + rect.height - sy;
this.contents.fillRect(sx+1, sy+lineHeight/2, sw-2, sh-1-lineHeight/2, ColorManager.dimColor1());
this.contents.gradientFillRect(sx+1, sy-lineHeight/2, sw-2, lineHeight, ColorManager.dimColor2(), ColorManager.dimColor1(), true);

// Draw Actor Name
this.drawText(actor.name(), sx, sy, sw, 'center');

// Draw Actor Level
sx = rect.x + Math.round((rect.width - 128) / 2);
sy += lineHeight;
this.drawActorLevel(actor, sx, sy);

// Draw Actor Class
const className = actor.currentClass().name;
sx = rect.x + Math.round((rect.width - this.textSizeEx(className).width) / 2);
sy += lineHeight;
this.drawTextEx(className, sx, sy, sw);

// Draw Actor Icons
sx = rect.x + Math.round((rect.width - 128) / 2);
sy += lineHeight;
this.drawActorIcons(actor, sx, sy);

// Draw Gauges
sx = rect.x + Math.round((rect.width - 128) / 2);
sy += lineHeight;
this.placeGauge(actor, "hp", sx, sy);
sy += gaugeLineHeight;
this.placeGauge(actor, "mp", sx, sy);
sy += gaugeLineHeight;
if ($dataSystem.optDisplayTp) {
    this.placeGauge(actor, "tp", sx, sy);
}

Does anyone know what code adjustments I'd need to make in order to move everything down slightly?
Remove TP and push everything down
Spoiler: Default
Menu1.png
Spoiler: Edit
Menu2.png
Spoiler: Replace With This
Code:
// Declare Constants
const actor = arguments[0];
const rect = arguments[1];

// Make Constants
const lineHeight = this.lineHeight();
const gaugeLineHeight = this.gaugeLineHeight();
const totalHeight = (lineHeight * 4.5) + (gaugeLineHeight * ($dataSystem.optDisplayTp ? 3 : 2));

// Draw Actor Graphic
const gw = rect.width;
const gh = rect.height;
const gx = rect.x;
const gy = rect.y;
this.drawItemActorMenuImage(actor, gx, gy, gw, gh);

// Draw Dark Rectangle
let sx = rect.x;
let sy = Math.max(rect.y, rect.y + (rect.height - totalHeight));
let sw = rect.width;
let sh = rect.y + rect.height - sy;
this.contents.fillRect(sx+1, sy+lineHeight/2, sw-2, sh-1-lineHeight/2, ColorManager.dimColor1());
this.contents.gradientFillRect(sx+1, sy-lineHeight/2, sw-2, lineHeight, ColorManager.dimColor2(), ColorManager.dimColor1(), true);

// Draw Actor Name
sy += lineHeight;
this.drawText(actor.name(), sx, sy, sw, 'center');

// Draw Actor Level
sx = rect.x + Math.round((rect.width - 128) / 2);
sy += lineHeight;
this.drawActorLevel(actor, sx, sy);

// Draw Actor Class
const className = actor.currentClass().name;
sx = rect.x + Math.round((rect.width - this.textSizeEx(className).width) / 2);
sy += lineHeight;
this.drawTextEx(className, sx, sy, sw);

// Draw Actor Icons
sx = rect.x + Math.round((rect.width - 128) / 2);
sy += lineHeight;
this.drawActorIcons(actor, sx, sy);

// Draw Gauges
sx = rect.x + Math.round((rect.width - 128) / 2);
sy += lineHeight;
this.placeGauge(actor, "hp", sx, sy);
sy += gaugeLineHeight;
this.placeGauge(actor, "mp", sx, sy);
Remove TP and push everything down
Spoiler: Default
Spoiler: Edit
Spoiler: Replace With This
Code:
// Declare Constants
const actor = arguments[0];
const rect = arguments[1];

// Make Constants
const lineHeight = this.lineHeight();
const gaugeLineHeight = this.gaugeLineHeight();
const totalHeight = (lineHeight * 4.5) + (gaugeLineHeight * ($dataSystem.optDisplayTp ? 3 : 2));

// Draw Actor Graphic
const gw = rect.width;
const gh = rect.height;
const gx = rect.x;
const gy = rect.y;
this.drawItemActorMenuImage(actor, gx, gy, gw, gh);

// Draw Dark Rectangle
let sx = rect.x;
let sy = Math.max(rect.y, rect.y + (rect.height - totalHeight));
let sw = rect.width;
let sh = rect.y + rect.height - sy;
this.contents.fillRect(sx+1, sy+lineHeight/2, sw-2, sh-1-lineHeight/2, ColorManager.dimColor1());
this.contents.gradientFillRect(sx+1, sy-lineHeight/2, sw-2, lineHeight, ColorManager.dimColor2(), ColorManager.dimColor1(), true);

// Draw Actor Name
sy += lineHeight;
this.drawText(actor.name(), sx, sy, sw, 'center');

// Draw Actor Level
sx = rect.x + Math.round((rect.width - 128) / 2);
sy += lineHeight;
this.drawActorLevel(actor, sx, sy);

// Draw Actor Class
const className = actor.currentClass().name;
sx = rect.x + Math.round((rect.width - this.textSizeEx(className).width) / 2);
sy += lineHeight;
this.drawTextEx(className, sx, sy, sw);

// Draw Actor Icons
sx = rect.x + Math.round((rect.width - 128) / 2);
sy += lineHeight;
this.drawActorIcons(actor, sx, sy);

// Draw Gauges
sx = rect.x + Math.round((rect.width - 128) / 2);
sy += lineHeight;
this.placeGauge(actor, "hp", sx, sy);
sy += gaugeLineHeight;
this.placeGauge(actor, "mp", sx, sy);
I'm confused tho. I put the code in and it DID push stuff down, but how is this any different from the original code just without the TP guage?
Starting line position

Code:
// Draw Actor Name
sy += lineHeight;
this.drawText(actor.name(), sx, sy, sw, 'center');
Spoiler: Without position change
Menu3.png

Also removing status icons
Spoiler: No TP, No Status
Menu4.png
Spoiler: New Code
Code:
// Declare Constants
const actor = arguments[0];
const rect = arguments[1];

// Make Constants
const lineHeight = this.lineHeight();
const gaugeLineHeight = this.gaugeLineHeight();
const totalHeight = (lineHeight * 4.5) + (gaugeLineHeight * ($dataSystem.optDisplayTp ? 3 : 2));

// Draw Actor Graphic
const gw = rect.width;
const gh = rect.height;
const gx = rect.x;
const gy = rect.y;
this.drawItemActorMenuImage(actor, gx, gy, gw, gh);

// Draw Dark Rectangle
let sx = rect.x;
let sy = Math.max(rect.y, rect.y + (rect.height - totalHeight));
let sw = rect.width;
let sh = rect.y + rect.height - sy;
this.contents.fillRect(sx+1, sy+lineHeight/2, sw-2, sh-1-lineHeight/2, ColorManager.dimColor1());
this.contents.gradientFillRect(sx+1, sy-lineHeight/2, sw-2, lineHeight, ColorManager.dimColor2(), ColorManager.dimColor1(), true);

// Draw Actor Name
sy += lineHeight * 2;
this.drawText(actor.name(), sx, sy, sw, 'center');

// Draw Actor Level
sx = rect.x + Math.round((rect.width - 128) / 2);
sy += lineHeight;
this.drawActorLevel(actor, sx, sy);

// Draw Actor Class
const className = actor.currentClass().name;
sx = rect.x + Math.round((rect.width - this.textSizeEx(className).width) / 2);
sy += lineHeight;
this.drawTextEx(className, sx, sy, sw);

// Draw Gauges
sx = rect.x + Math.round((rect.width - 128) / 2);
sy += lineHeight;
this.placeGauge(actor, "hp", sx, sy);
sy += gaugeLineHeight;
this.placeGauge(actor, "mp", sx, sy);

Notice the starting line is what sets the entire position.
Code:
// Draw Actor Name
sy += lineHeight * 2;
this.drawText(actor.name(), sx, sy, sw, 'center');
Also know that this relates to dark rectangle start position. So, to change the dark area will also change the placement of its contents.
which can be done from here:
Code:
// Draw Dark Rectangle
let sx = rect.x;
let sy = Math.max(rect.y, rect.y + (rect.height - totalHeight));
let sw = rect.width;
let sh = rect.y + rect.height - sy;
this.contents.fillRect(sx+1, sy+lineHeight/2, sw-2, sh-1-lineHeight/2, ColorManager.dimColor1());
this.contents.gradientFillRect(sx+1, sy-lineHeight/2, sw-2, lineHeight, ColorManager.dimColor2(), ColorManager.dimColor1(), true);
Starting line position

Code:
// Draw Actor Name
sy += lineHeight;
this.drawText(actor.name(), sx, sy, sw, 'center');
Spoiler: Without position change

Also removing status icons
Spoiler: No TP, No Status
Spoiler: New Code
Code:
// Declare Constants
const actor = arguments[0];
const rect = arguments[1];

// Make Constants
const lineHeight = this.lineHeight();
const gaugeLineHeight = this.gaugeLineHeight();
const totalHeight = (lineHeight * 4.5) + (gaugeLineHeight * ($dataSystem.optDisplayTp ? 3 : 2));

// Draw Actor Graphic
const gw = rect.width;
const gh = rect.height;
const gx = rect.x;
const gy = rect.y;
this.drawItemActorMenuImage(actor, gx, gy, gw, gh);

// Draw Dark Rectangle
let sx = rect.x;
let sy = Math.max(rect.y, rect.y + (rect.height - totalHeight));
let sw = rect.width;
let sh = rect.y + rect.height - sy;
this.contents.fillRect(sx+1, sy+lineHeight/2, sw-2, sh-1-lineHeight/2, ColorManager.dimColor1());
this.contents.gradientFillRect(sx+1, sy-lineHeight/2, sw-2, lineHeight, ColorManager.dimColor2(), ColorManager.dimColor1(), true);

// Draw Actor Name
sy += lineHeight * 2;
this.drawText(actor.name(), sx, sy, sw, 'center');

// Draw Actor Level
sx = rect.x + Math.round((rect.width - 128) / 2);
sy += lineHeight;
this.drawActorLevel(actor, sx, sy);

// Draw Actor Class
const className = actor.currentClass().name;
sx = rect.x + Math.round((rect.width - this.textSizeEx(className).width) / 2);
sy += lineHeight;
this.drawTextEx(className, sx, sy, sw);

// Draw Gauges
sx = rect.x + Math.round((rect.width - 128) / 2);
sy += lineHeight;
this.placeGauge(actor, "hp", sx, sy);
sy += gaugeLineHeight;
this.placeGauge(actor, "mp", sx, sy);

Notice the starting line is what sets the entire position.
Code:
// Draw Actor Name
sy += lineHeight * 2;
this.drawText(actor.name(), sx, sy, sw, 'center');
YOU ARE AN ANGEL! Thank you!
Welcome, have fun!

Original thread: https://forums.rpgmakerweb.com/threads/visumz-menu-core-adjust-hp-mp.143285/