Board Thread:M.U.G.E.N Help/@comment-10227639-20150611182850/@comment-3495717-20150611233627

[State 200, Recoil] ;Failsafe in case Blue is moving for some reason type = VelSet trigger1 = time = 0 x = 0

[State 200, Recoil] ;The actual recoil type = VelSet trigger1 = animelem = ;The frame on which you want Blue to start moving backwards. You can use time = if you want the recoil to start at a specific time x = ;How much you want Blue to move backwards, taking deceleration distance into account

[State 200, Recoil] ;Deceleration type = VelAdd trigger1 = vel x < 0 ;Blue is moving backwards, so naturally we want the VelAdd to only work while he's doing that, else he'll start moving forward :P x = 0.01 ;Rate at which Blue decelerates. 0.01 is a pretty good value

[State 200, Recoil] ;Stop moving type = VelSet trigger1 = vel x >= 0 ;Always use >= as a failsafe in case the velocity does go into positive values x = 0