@Walruslui: Hey. I fiddled around with it a bit this afternoon, and I solved it:
[State -2, VarSet]
type = VarSet
trigger1 = P2MoveType != H || P2StateNo = (insert Dizzy State # here)
var(7) = 0
It worked on both Ryu and Captain Commando on my end. Let me know how it works for you.
Just as an extra addition, we are having a bit of a setback with the SP, so it may be a while before work can be resumed on it. We'll keep you updated on it.