Switch Money Icon with Value

Okay, so basically all I want to do is, in the party screen where you see your party, commands, money etc. I want to make so that the Money Icon shows and then the value of how much you have, cause as of default it shows the Value first then the Icon to the right. Any help is much appreciated.
Code:
Window_Base.prototype.drawCurrencyValue = function(value, unit, x, y, width) {
    var unitWidth = Math.min(80, this.textWidth(unit));
    this.resetTextColor(); #clear
    this.drawText(value, x, y, width - unitWidth - 6, 'right'); #draw money
    this.changeTextColor(this.systemColor()); #change color
    this.drawText(unit, x + width - unitWidth, y, unitWidth, 'right'); #draw currency symbol
};

Code:
Window_Base.prototype.drawCurrencyValue = function(value, unit, x, y, width) {
    var unitWidth = Math.min(80, this.textWidth(unit));
    this.resetTextColor();
    this.changeTextColor(this.systemColor());
    this.drawIcon(IconIndex, x, 0); #draw icon
    this.drawText(value, x, y, width - unitWidth - 6 + 32, 'right'); #draw money offset by icon size
    #no symbol
};

if you want to draw the icon and then the money, you literally first draw the icon, and then the money.
Code:
Window_Base.prototype.drawCurrencyValue = function(value, unit, x, y, width) {
var unitWidth = Math.min(80, this.textWidth(unit));
this.resetTextColor(); #clear
this.drawText(value, x, y, width - unitWidth - 6, 'right'); #draw money
this.changeTextColor(this.systemColor()); #change color
this.drawText(unit, x + width - unitWidth, y, unitWidth, 'right'); #draw currency symbol
};

Code:
Window_Base.prototype.drawCurrencyValue = function(value, unit, x, y, width) {
var unitWidth = Math.min(80, this.textWidth(unit));
this.resetTextColor();
this.changeTextColor(this.systemColor());
this.drawIcon(IconIndex, x, 0); #draw icon
this.drawText(value, x, y, width - unitWidth - 6 + 32, 'right'); #draw money offset by icon size
#no symbol
};

if you want to draw the icon and then the money, you literally first draw the icon, and then the money.

Thanks for the reply, I don't really know coding all that well, So I don't know how to implement this.
Also about an hour after I posted this I found SRDude's HUD Maker, i'll prob just end up disabling the gold in that menu and making it appear on the screen somewhere 🙂 , but If you still want to explain how to change this, for anyone else who might want to just change that and not make a completely new hud then go for it. 🙂 anyways thanks again for the fast reply.

Original thread: https://forums.rpgmakerweb.com/threads/switch-money-icon-with-value.87708/