Slip Damage Questions

Thanks.  I'll put out a separate thread asking if anyone can fix that basic problem in Yanfly's script.
Koi, you should try this fix instead of mine. Hopefully it will work the same way, and cater for multiple states with slip damage.
I think I did something really wrong because everything just messed up in the script... Something that I didn't even touch in the script got really messed up and I have no idea what's going on. I think I might have implemented the script fix wrong.

Can someone explain how to implement the fix in like... a step-by-step, super obvious way?

Original thread: https://forums.rpgmakerweb.com/threads/slip-damage-questions.35595/