(Yanfly) value = 0 removal?

Didn't know how to word the title. Anyway! Here's the tag I'm using for "Wall of Spears".


<Custom Predamage Effect>


if (this.isPhysical()) {


a.gainHp(-origin.atk);


value = 0;


a.startAnimation(827);


a.startDamagePopup();


a.clearResult();


if (a.isDead()) a.performCollapse();


}


</Custom Predamage Effect>


It's used on an enemy and if that enemy uses a normal attack the damage to myself is negated and the enemy instead takes damage. The issue is I don't know how to stop the "0" from popping up on my character.
Did you try removing the  "a.startDamagePopup();"?
Since the state is on the enemy the a.startDamagePopup() would be the enemy in this case, though I removed it just to see if it had any interaction with the origin and it turns out I didn't need the popup anyway. Still shows the damage on the enemy. I still have the issue with it showing "0" on my character when he attacks me, though.

Original thread: https://forums.rpgmakerweb.com/threads/yanfly-value-0-removal.61034/