MZ Remove State Icon from Enemy

Hi! I was trying to find a plugin to remove the state icon that appears on top of the enemy in battle, I´ve just found things that added more extra complex stuff, thanks a mil!!
Does it work if you just remove/comment out the lines in the function where it creates the icon sprite? Haven't tested if you should do something more.

Sprite_Enemy.prototype.createStateIconSprite = function() {
// this._stateIconSprite = new Sprite_StateIcon();
// this.addChild(this._stateIconSprite);
};
Does it work if you just remove/comment out the lines in the function where it creates the icon sprite? Haven't tested if you should do something more.

Sprite_Enemy.prototype.createStateIconSprite = function() {
// this._stateIconSprite = new Sprite_StateIcon();
// this.addChild(this._stateIconSprite);
};
Thanks!! though it gives me these errors with a few plugins, though I wonder why they don´t directly affect the states themselves I believe
1750071818998.png

Original thread: https://forums.rpgmakerweb.com/threads/remove-state-icon-from-enemy.178336/