MV Weapon sprites in front of player sprite

This is probably an odd request since I don't think many people would have a use for it, but is there a plugin that makes it so the Weapon Sprites that appear in side-view battle mode appear in front of the player sprites instead of behind them?

For example, if this is how weapon sprites normally show up in sideview battle mode...
1748388598936.png


...I'm looking for a plugin that will make them appear in front of the player sprite, similar to this example.
1748388914670.png


The reason why I'm asking is that I'm working on making my own weapon sprites, and instead of having it look like the characters are holding the weapons when they use them, I want to have a stylized animation show in front of the character when they attack.
On a basic level, you could accomplish this by switching the order of the draw functions in Sprite_Actor's initMembers function:

JavaScript:
Sprite_Actor.prototype.initMembers = function() {
    Sprite_Battler.prototype.initMembers.call(this);
    this._battlerName = '';
    this._motion = null;
    this._motionCount = 0;
    this._pattern = 0;
    this.createShadowSprite();
    this.createWeaponSprite();
    this.createMainSprite();
    this.createStateSprite();
};

Because createWeaponSprite is called before createMainSprite, the main sprite comes after and is therefore drawn on top. If you switch the order of the two, the weapon sprite will be drawn after.
On a basic level, you could accomplish this by switching the order of the draw functions in Sprite_Actor's initMembers function:

JavaScript:
Sprite_Actor.prototype.initMembers = function() {
    Sprite_Battler.prototype.initMembers.call(this);
    this._battlerName = '';
    this._motion = null;
    this._motionCount = 0;
    this._pattern = 0;
    this.createShadowSprite();
    this.createWeaponSprite();
    this.createMainSprite();
    this.createStateSprite();
};

Because createWeaponSprite is called before createMainSprite, the main sprite comes after and is therefore drawn on top. If you switch the order of the two, the weapon sprite will be drawn after.
Thank you, it worked just like ya said. Just what I was hoping for 😀
This thread is closed due to being reported as solved. If you need it reopened, report it to let us know. Thank you!

Original thread: https://forums.rpgmakerweb.com/threads/weapon-sprites-in-front-of-player-sprite.177968/