you can change this same state you use for p2stateno in hitdef. dividing it to phases, for example, phase 1 will have statetype = U (unchanged), then depending on the statetype it was before (statetype = A, S or C) you can send him to 3 different states as followup (phase 2).