Move centre of the map to the side

Okay, next question: I decided to make my game so there's a Large frame on the right side of the screen. The character currently being played would be displayed inside of their frame including Hunger-, Health- and Managauges. I'm doing this with HUD Maker Ultra and Show Picture though, meaning the part of the map the frame covers is still rendered, and the playable character will always be at the centre of the entire screen, rather than the centre of just the visible map.
So I wonder how you can move the centre of the map, or where the player is displayed, to the left.
this will require a custom plugin because you need to reprogram the coordinate, and they need to fit your specific frame.

so when you post in plugin requests, please include the specific measuring of your screen size and H(UD area.
Not the best solution, but based on this:
You could try something like:
JavaScript:
/*:
 * @target MZ
 * @plugindesc Change the camera rest position.
 * @author Caethyril
 * @url https://forums.rpgmakerweb.com/threads/168111/
 * @help Free to use and/or modify for any project, no credit required.
 */
;void (alias => {
  Game_Player.prototype.centerX = function() {
    return alias.apply(this, arguments) - 3;  // move center left by 3 tiles
  };
})(Game_Player.prototype.centerX);
With this approach you would still need to add a margin of impassable tiles on the right-hand side of all your maps, to avoid being able to walk behind your HUD.
Not the best solution, but based on this:
You could try something like:
JavaScript:
/*:
 * @target MZ
 * @plugindesc Change the camera rest position.
 * @author Caethyril
 * @url https://forums.rpgmakerweb.com/threads/168111/
 * @help Free to use and/or modify for any project, no credit required.
 */
;void (alias => {
  Game_Player.prototype.centerX = function() {
    return alias.apply(this, arguments) - 3;  // move center left by 3 tiles
  };
})(Game_Player.prototype.centerX);
With this approach you would still need to add a margin of impassable tiles on the right-hand side of all your maps, to avoid being able to walk behind your HUD.
Works like a charm, thanks!

Original thread: https://forums.rpgmakerweb.com/threads/move-centre-of-the-map-to-the-side.168111/