;Thrown by Kung Fu Throw - thrown into the air
; (a custom gethit state)
; Description: This state has the opponent flying through the air and
; falling down onto the ground. The SelfState controller sets the
; opponent back using to his own state file when he his the ground.
; Controllers 821,2 and 821,3 allow the opponent to recover by
; hitting his recovery command when he is falling.
[Statedef 821]
type = A
movetype= H
physics = N
velset = 2.8,-7
poweradd = 40
[State 821, 1] ;Gravity
type = VelAdd
Trigger1 = 1
y = .4
[State 821, 2] ; Recover near ground (use ChangeState)
type = ChangeState
triggerall = Vel Y > 0
triggerall = Pos Y >= -20
triggerall = alive
triggerall = CanRecover
trigger1 = Command = "recovery"
value = 5200 ;HITFALL_RECOVER
[State 821, 3] ; Recover in mid air (use SelfState)
type = SelfState
triggerall = Vel Y > 0
triggerall = alive
triggerall = CanRecover
trigger1 = Command = "recovery"
value = 5210 ;HITFALL_AIRRECOVER
[State 821, 4] ;Hit ground
type = SelfState
trigger1 = Vel Y > 0
trigger1 = Pos Y >= 0
value = 5100 ;Hit ground