MV Moghunter Battle Commands: small change needed

I'm looking for help with doing a small change to MOG_BattleCommands!

I want the battle commands that currently aren't selected to not lower their opacity, I need them to stay fully visible.
Would be amazing if someone could point out to me where/what I'd need to change in the code.
I've been looking through it myself but my javascript isn't good enough to make it work 😅

Thank you so much!
Hmmm, I Ctrl-F:d opacity, and I think it compares the opacity to the translucent opacity value to decide if it starts gradually increasing/decreasing it when the index isn't selected.

So try putting (in the second method I just replaced the translucent method with a value 160. Don't know if it's necessary since maybe MOG seemed to have some own checks for when they weren't enabled):

Window_ActorCommand.prototype.translucentOpacity = function() {
return 255;
};

Window_ActorCommand.prototype.changePaintOpacity = function(enabled) {
this.contents.paintOpacity = enabled ? 255 : 160;
};
Adding the first function to the script worked!
Thank you very much.

Original thread: https://forums.rpgmakerweb.com/threads/moghunter-battle-commands-small-change-needed.182275/