How to Change Sprite During Battle

I'm not sure if this is in the right location, and I'm pretty new, so I'm sorry if somebody has already given an answer on this.

So I created a pretty simple swinging animation for the sword accessory from Ice's Generator Parts, and got it to work using
one of Yanfly's plugins. What I'm stuck on is how to remove or change accessories whenever a character attacks, since right now it just looks like this, showing the weapon in his hand and on his back.
Project Citris Beta 2_4_2022 8_11_10 PM (1).png

I've tried to find some plugins or something to do this but I can't find anything that can do just specifically this. How could I possibly get this to work?

Original thread: https://forums.rpgmakerweb.com/threads/how-to-change-sprite-during-battle.144641/