;============================================================
;=================== Shao Kahn ==============================
;------------------------------------------------------------
[Statedef 7040]
type    = A
movetype= I
physics = N
anim = 172
velset = 0,15
ctrl = 0
sprpriority = 2

[State 0, AssertSpecial]
type = AssertSpecial
trigger1 = time < 260 && var(23) != 0
trigger2 = time < 340 && var(23) = 0
flag = roundnotover

[State 0, VelAdd]
type = VelAdd
trigger1 = pos Y < -20
y = .2

[State 0, VelSet]
type = VelSet
trigger1 = pos Y > 0
y = 0

[State 0, PosSet]
type = PosSet
trigger1 = pos Y > 0
y = 0

[State 0, ChangeAnim]
type = ChangeAnim
trigger1 = pos Y = 0 && anim != 173 && anim != 174 && anim != 1752
value = 173

[State 0, PlaySnd]
type = PlaySnd
trigger1 = anim = 173 && animelem = 1
value = S3,0
volume = 200

[State 0, ChangeAnim]
type = ChangeAnim
trigger1 = anim = 173 && time > 45 && anim != 174
value = 174

[State 0, VarRandom]
type = VarRandom
trigger1 = time = 0
v = 23
range = 0,2

[State 0, PlaySnd]
type = PlaySnd
trigger1 = anim = 174 && animelem = 1
value = 18,var(23)
volume = 200
channel = 2

;[State 0, VarSet]
;type = VarSet
;trigger1 = anim = 174 && animelem = 2
;v = 23
;value = 4

[State 0, ChangeAnim]
type = ChangeAnim
triggerall = anim = 174
trigger1 = time > 205 && var(23) = 0
trigger2 = time > 135 && var(23) = 1
trigger3 = time > 135 && var(23) = 2
value = 1752

[State 0, PlaySnd]
type = PlaySnd
trigger1 = anim = 1752 && animelem = 2
value = 18,3
volume = 200
channel = 2
