MV Mog main menu gold display help

I have no JavaScript experience whatsoever, and very very minimal coding experience. Just thought I should lead with that.

I find it kind of annoying that MogHunter's main menu scene plugin uses number graphics specifically for the gold display while time and location use text, and I thought to ask how I might go about fixing that... So, how do I do that? Can I even do it, like, legally? I can't seem to find Mog's website so I can't check their terms on editing plugins for personal use.

It's just a really weird design quirk that I have no clue why they did it.
Mog's plugins are free for both free and commercial use.

I remember doing this for my games but I can't remember the details.
Mog's plugins are free for both free and commercial use.

I remember doing this for my games but I can't remember the details.
i ctrl+F'd for the gameParty.gold thing in the plugin and found what i think? is the right code that loads the thing

1703680279191.png


why it's labeled as "Create HP Number" is beyond me, typo maybe?

if you've edited it in a similar way to what i'm looking for before, i hope seeing the base code again helps you remember

EDIT: i think doing away with the number graphics would also need editing this "Refresh Number" section since it seems to be (Read: "it's what I'll wildly assume is") what's called to, well, refresh the numbers based on the graphic. Checking the files again, it also uses a graphic for the HP, MP and Level numbers, so that's 4 different things that really don't need to use distinct number graphics like this

the fact it uses "img_data" and "setFrame" does make me pretty secure in thinking it's what processes the number sprites, but who knows

1703720001861.png
You're on the right track, but you don't want to mess with refresh_number because it's used by so many other things (HP, MP, etc).

This is what I ended up doing for the gold:

Code:
//==============================
// * create Gold
//==============================
// Scene_Menu.prototype.createGold = function() {
//     this._gold_number = [];
//  this._GoldData = [this._goldImg.width / 10,this._goldImg.height]
//  var x = Moghunter.scMenu_GoldNumberX;
//  var y = Moghunter.scMenu_GoldNumberY;
//  for (var i = 0; i < 9; i++) {
//       this._gold_number[i] = new Sprite(this._goldImg);
//       this._gold_number[i].visible = false;
//       this._gold_number[i].opacity = 255;
//       this._gold_number[i].x = x ;
//       this._gold_number[i].y = y ;
//       this._field.addChild(this._gold_number[i]);       
//  };
//  this.refresh_number(this._gold_number,$gameParty.gold(),this._GoldData,x)
// };
//==============================
// * create Gold
//==============================
Scene_Menu.prototype.createGold = function() {
    this._goldNumber = new Sprite(new Bitmap(150,32));
    this._goldNumber.x = Moghunter.scMenu_GoldNumberX;
    this._goldNumber.y = Moghunter.scMenu_GoldNumberY;
    this._goldNumber.bitmap.fontSize = Moghunter.scMenu_locationFontSize;
    this._field.addChild(this._goldNumber);
    this._gold_number = $gameParty.gold();
    this.refreshGold();
};
//==============================
// * refresh Gold
//==============================
Scene_Menu.prototype.refreshGold = function() {
    this._goldNumber.bitmap.clear();
    this._gold_number = $gameParty.gold();
    this._goldNumber.bitmap.textColor = '#c5e7e5';
    this._goldNumber.bitmap.drawText(this._gold_number,0,0,150,32,"right");
};

WindRyder_MainMenu_Remake.jpg

Original thread: https://forums.rpgmakerweb.com/threads/mog-main-menu-gold-display-help.164195/