MZ (+Fossil) YEP_EquipBattleSkills issues

To put it shortly, I've been using Fossil + YEP_BattleSkills together with VisuMZ plugins to implement equippable skills. But it featured stat compare window which I didn't liked, so I removed it by commenting every stat compare line. However, that resulted in a bug, which makes initial skill menu look like you already choosing skills (which is not, and actually really confusing)
I'd want to remove that bug, while also keeping stat compare window out of the picture.
Here's the videos of demonstrating separate issues, and plugin js file with changes I done. Hope it helps

Plugin file removed. Yanfly's terms of use do not permit general redistribution.

Instead, here is a link to the (paid) plugin in question:
Moderator note: Plugin file removed. Yanfly's terms of use do not permit general redistribution. Instead, here is a link to the (paid) plugin in question:
Okay, sorry for trouble, I just thought it would be better if you could see what exactly I done (to put in text, I just commented EVERY instance of "statCompare" related line, and it somehow broke display of menu as a whole, which is weird)
I just commented EVERY instance of "statCompare" related line, and it somehow broke display of menu as a whole
😅 Yes, you'd also need to replace every reference to the now-absent window instance.

Since the stat compare window is non-interactive, what about if you revert your edits to Yanfly's plugin (e.g. by re-downloading it) and simply move the stat compare window out of sight? That should be relatively easy to do as a separate plugin, loaded after YEP_EquipBattleSkills. E.g. (untested):
Spoiler: plugin code
JavaScript:
/*:
 * @target MV MZ
 * @plugindesc Hide YEP_EquipBattleSkills stat compare window.
 * @author Caethyril
 * @url https://forums.rpgmakerweb.com/threads/161961/
 * @base YEP_EquipBattleSkills
 * @orderAfter YEP_EquipBattleSkills
 * @help Free to use and/or modify for any project, no credit required.
 */
;void (function(alias) {
  Scene_Skill.prototype.createCompareWindow = function() {
    alias.apply(this, arguments);
    this._compareWindow.x = Graphics.width;  // off-screen
  };
})(Scene_Skill.prototype.createCompareWindow);
It actually worked out, great! Thanks you a lot, that was a really clever way to get rid of it
1697205444442.png
😤 You're welcome~

Original thread: https://forums.rpgmakerweb.com/threads/fossil-yep_equipbattleskills-issues.161961/