MZ RMMZ Message Box Margin/Padding

Hi experts, does anyone know how to increase the message box's left padding or margin? I would like to adjust the text so that the message starts same line with the name in the name box.
Screenshot 2021-11-26 164855.png
Moved to: Plugin Requests

Are you using any plugins that affect the message box? Which one?
I am using Yanfly Message Core and Galv Message Busts. Both MZ version.
sup bro copy this in new js file
Window_Message.prototype.newLineX = function(textState) {
const faceExists = $gameMessage.faceName() !== "";
const faceWidth = ImageManager.faceWidth;
const spacing = 20;
const margin = faceExists ? faceWidth + spacing : 50;
return textState.rtl ? this.innerWidth - margin : margin;
};

replace 50 by what u want :XP02:
sup bro copy this in new js file


replace 50 by what u want :XP02:
Heyo! Just tried it for RPG Maker MZ, but it said that the plugin wasn't compatible with it. Is there any way to fix this? Thanks for the original code btw 😀
Heyo! Just tried it for RPG Maker MZ, but it said that the plugin wasn't compatible with it. Is there any way to fix this? Thanks for the original code btw 😀
You can add a @target MZ to it, but that warning doesn't mean anything. If it's working, then it works.

Original thread: https://forums.rpgmakerweb.com/threads/rmmz-message-box-margin-padding.142474/