Java Script for displaying money

Modifying Moghunter's time progression mod I got this box in my upper-left corner:

a-nICzhMDu.1506258190.png


I would like it to also display player's current amount of money. I have no idea about JS, but I'm guessing it's probably just one simple line that I don't know.

Could anyone please help me out? 🙂
$gameParty._gold
Thanks a lot! It works, but it doesn't seem to refresh too well. I mean, I earn more gold, but it doesn't refresh there. I need to go to menu, where it checks a new amount, then when I get out of the menu, the amount in the corner gets updated.

Any way to have it refresh automatically?
I can't help precisely, because I can't find the plugin for some reason. However, the reason why the text doesn't update is because youneed to add it to the update unction if the plugin has it.
Here's the file if that helps: https://we.tl/KaPzhihUYh - because I understand what you are saying, but my skillset doesn't allow me to do anything with that information 😛

The section at the very bottom is where I've done terrible things to what's supposed to display. It will probably have some comedic value to you 😉
Is this the update section that I need to add it to?

//==============================
// * Update
//==============================
var _alias_mog_timesystem_scmap_update = Scene_Map.prototype.update;
Scene_Map.prototype.update = function() {
$gameSystem._refresh_window_time = false;
$gameSystem.update_time_system()
_alias_mog_timesystem_scmap_update.call(this);

};
Haha, I just changed the "false" from that quote to "true" and it worked like a charm. No idea what I did exactly, but solved - I guess 😀

Original thread: https://forums.rpgmakerweb.com/threads/java-script-for-displaying-money.84793/