MZ Equipment Skills Menu Change

Hello, all! For my project, I'm using 2 plugins that are compatible technically but not graphically; Fomar0153's Equipment Skills and Visustella's Items Equip Core. They both function the way they're supposed to, but I'm not using sprites in my game and Fomar's plugin changes the equip scene to show a sprite rather than a picture, (Visustells's plugin shows a picture in the equip scene by default, but it gets overridden.)

I wondered if there was someone who could take a look at the code and see if they could adjust Fomar's plugin to not take the picture/bust away? I'd need to keep the adjustments he made to show what skills are attached to the weapons/equipment, but only that. (And ofc, the functionality of equipment adding learnable skills to a character.) Thank you in advance! :yswt2:
my guess is open formar plugin and scroll to the refresh method

Window_EquipStatus.prototype.refresh = function()

than rule out this line with //

this.drawActorCharacter(this._actor, nameRect.x + this.padding, nameRect.height + this.padding);

cannot tell if it works or crash, but this draw the actor/bust so far I can see.
Hey, there! Thank you for the help, doing that took the sprite away but the actor's picture is still missing.
how exactly does the scene look like with that line that is ruled out and without.
and what should be showing?

I know visustella plugins are obfuscated, so it's harder to modify that part or make
changes to it to behave the way you want it too.

you can also try to ask formar if he/she is this active on the forum as I cannot test
the outcome what you look for 🙂
The root of your problem is that Fomar's plugin completely overwrites the window methods instead of aliasing them. That means that, depending on which order you put them in your plugin manager, only one of the plugins will actually execute their code, instead of them getting combined.

You could try removing this whole chunk of the plugin

1729529478125.png


And replacing it with this
Code:
Fomar.EquipStatusRefresh = Window_EquipStatus.prototype.refresh;
Window_EquipStatus.prototype.refresh = function()
{
    Fomar.EquipStatusRefresh.call(this);
    this.drawSkills();
};

But it's hard to know exactly which parts of Fomar's function are actually necessary without delving into the code deeper, and of course VisuStella's is obfuscated to prevent you from seeing what they're doing at all.
The root of your problem is that Fomar's plugin completely overwrites the window methods instead of aliasing them. That means that, depending on which order you put them in your plugin manager, only one of the plugins will actually execute their code, instead of them getting combined.

You could try removing this whole chunk of the plugin

View attachment 321014

And replacing it with this
Code:
Fomar.EquipStatusRefresh = Window_EquipStatus.prototype.refresh;
Window_EquipStatus.prototype.refresh = function()
{
    Fomar.EquipStatusRefresh.call(this);
    this.drawSkills();
};

But it's hard to know exactly which parts of Fomar's function are actually necessary without delving into the code deeper, and of course VisuStella's is obfuscated to prevent you from seeing what they're doing at all.
Awww I see! That's a bummer. I tried taking out that block of code but it returned an error. It's no worries, guys, thank you so much for trying though! (As a side note, I just tried to take a look through Visustella's code and...wow. You were not kidding, that thing is horrible on the eyes! @.@)

@ ShadowDragon: thank you for trying! I wanted there to be a picture (a slightly transparent bust) behind the stats with the skill learning progress bars underneath the default data. But it's alright, I'll just opt to use the standard 'attach skill to equipment' strategy instead! (And pair it with VS's skill mastery haha)

Will report this as closed now~
This thread is closed due to being reported as solved. If you need it reopened, report the thread to let us know. Thank you!

Original thread: https://forums.rpgmakerweb.com/threads/equipment-skills-menu-change.172733/