MV [Resolved]Force SRD_BattleStatusCustomizer.js HUD Update

So I have this tutorial in my game, where one character explains ability costs... But no matter what I do, SRD_BattleStatusCustomizer.js's HUD just refuses to show that the character has spent MP before showing the rest of the dialog.

I even went so far as to use events to manually update the MP value.
I don't have this plugin, however, this script call should refresh all of your windows on the scene no matter of it's an RPG Maker original game window or a custom one from a plugin:

JavaScript:
SceneManager._scene._windowLayer.children
    .filter(gameWindow => gameWindow.refresh)
    .forEach(gameWindow => gameWindow.refresh());
I don't have this plugin, however, this script call should refresh all of your windows on the scene no matter of it's an RPG Maker original game window or a custom one from a plugin:

JavaScript:
SceneManager._scene._windowLayer.children
    .filter(gameWindow => gameWindow.refresh)
    .forEach(gameWindow => gameWindow.refresh());
Thank you... Eh... I'm running a bit of a fever in real life right now... So as dumb as it is I have to ask how I use this.
On event page 3, go to "script", and paste it 🙂
On event page 3, go to "script", and paste it 🙂
Thank, thank you... I'll test it when I feel a little better.

This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.

Original thread: https://forums.rpgmakerweb.com/threads/resolved-force-srd_battlestatuscustomizer-js-hud-update.183819/