Need Help With Editing Plugin Script

Hi all! I was just wondering if somebody could help me edit a minor script in Mog Hunter's Battle hud plugin. I am using this in conjuction with yanfly's battle engine core and action seq packs.


I tried contacting Mog Hunter tru email but havent received any response yet.


The problem is, how can I forcefully hide or show the battle hud during battle mode?  If I am not using Mog Hunter's battle hud plugin, I can easily hide or show the default battle hud using yanfly's notetag "show battle hud" or "hide battle hud". 


I am very new to javascript and I have no idea on how to make this work. If anyone could help me, that would be greatly appreciated!


https://atelierrgss.wordpress.com/rmv-battle-hud/

Original thread: https://forums.rpgmakerweb.com/threads/need-help-with-editing-plugin-script.61108/