; Clark's Moves +
;================
; Clark's super throw attemps
[Statedef 1000]
type    = S
movetype= A
physics = S
juggle  = 10
poweradd= -1000 
ctrl = 0
anim = 900

[State 1000, 1]
type = SuperPause
trigger1 = Time = 0
pos = 33, -98

[State 1000, 2]
type = PlaySnd
trigger1 = Time = 0
value = 0,35
Volume = 40

[State 1000, 3]
type = HitDef
Trigger1 = Time = 1
trigger2 = StateType != A
attr = S, HT
hitflag = M-
Guardflag =-A
priority = 4, Miss
snap = 20, 0, 0, 1
sparkno = -1
p2facing = 1
p1stateno = 1001
p2stateno = 1005
p2getp1state = 1

[State 1000, 5]
type = ChangeState
Trigger1 = AnimTime = 0
value = 0
ctrl = 1

[Statedef 1001]
type    = S
movetype= I
physics = S
anim = 1000
facep2 = 1
velset = 0,0
ctrl = 0

;---------------------------------------------------------------------------
; Clark's super throw success
[State 1001, 2]
type = PlaySnd
Trigger1 = AnimElem = 1
value = 0,25
volume =40

[State 1001, 2]
type = PlaySnd
Trigger1 = AnimElem = 9
value = 0,26
volume =40

[State 1001, 2] 
type = EnvShake
Trigger1 = AnimElem = 9
time = 30

[State 1001, 5]
type = ChangeState
Trigger1 = AnimTime = 0
value = 1002
ctrl = 0

[Statedef 1002]
type    = S
movetype= I
physics = S
anim = 1001
facep2 = 1
ctrl = 0

[State 1002, 1]
type = TargetBind
Trigger1 = AnimElem = 1
pos = 20,-2
time = 4

[State 1002, 2]
type = PlaySnd
Trigger1 = AnimElem = 1
value = 0,37
volume =40

[State 1002, 2]
type = PlaySnd
Trigger1 = AnimElem = 7
value = 0,26
volume =40

[State 1002, 2] 
type = EnvShake
Trigger1 = AnimElem = 7
time = 30

[State 1002, 5]
type = ChangeState
Trigger1 = AnimTime = 0
value = 1003
ctrl = 0

[Statedef 1003]
type    = S
movetype= I
physics = S
anim = 1002
facep2 = 1
ctrl = 0

[State 1003, 1]
type = Width 
Trigger1 = Time >= 107
Trigger1 = Time <= 109
value = 13, -10 

[State 1003, 1]
type = Width 
Trigger1 = Time >= 110
Trigger1 = Time <= 112
value = 26, -10 

[State 1003, 1]
type = Width 
Trigger1 = Time >= 113
Trigger1 = Time <= 115
value = 43, -10 

[State 1003, 1]
type = Width 
Trigger1 = Time >= 116
Trigger1 = Time <= 118
value = 68, -10 

[State 1003, 1]
type = Width 
Trigger1 = Time >= 119
Trigger1 = Time <= 124
value = 88, -10 

[State 1003, 1]
type = Width 
Trigger1 = Time >= 125
Trigger1 = Time <= 127
value = 110, -10 

[State 1003, 1]
type = Sprpriority
Trigger1 = AnimElem >= 8
Value = -1

[State 1003, 1]
type = Sprpriority
Trigger1 = AnimTime = 0
Value = 1
  
[State 1003, 1]
type = TargetBind
Trigger1 = AnimElem = 1
pos = 20,-2
time = 4

[State 1003, 1]
type = TargetBind
Trigger1 = AnimElem = 8
pos = -5,10
time = 4

[State 1003, 1]
type = TargetBind
Trigger1 = AnimElem = 9
pos = 8,5
time = 4

[State 1003, 1]
type = TargetBind
Trigger1 = AnimElem = 10
pos = 25,15
time = 4

[State 1003, 1]
type = TargetBind
Trigger1 = AnimElem = 11
pos = 50,10
time = 4

[State 1003, 1]
type = TargetBind
Trigger1 = AnimElem = 12
pos = 70,5
time = 4

[State 1003, 1]
type = TargetBind
Trigger1 = AnimElem = 13
pos = 70,25
time = 4

[State 1003, 1]
type = TargetBind
Trigger1 = AnimElem = 14
pos = 90,-90
time = 4

[State 1003, 2]
type = PlaySnd
Trigger1 = AnimElem = 1
value = 0,37
volume =40

[State 1003, 2]
type = PlaySnd
Trigger1 = AnimElem = 7
value = 0,26
volume =40

[State 1003, 2]
type = PlaySnd
Trigger1 = AnimElem = 10
value = 0,38
volume =40

[State 1003, 2] 
type = EnvShake
Trigger1 = AnimElem = 7
time = 30

[State 1003, 3] 
type = Turn
Trigger1 = AnimElem = 7
value = 1

[State 1003, 4] 
type = GameMakeAnim
trigger1 = AnimElem = 14
value = 15
pos = 90, 0
under = 1

[State 1003, 5]
type = ChangeState
Trigger1 = AnimTime = 0
value = 1016
ctrl = 0

[Statedef 1016]
type    = S
movetype= I 
physics = S
ctrl = 0
velset = 0,0

[State 1016, 1]
type = ChangeAnim
Trigger1 = Time = 0
value = 5120

[State 1016, 1]
type = PosAdd
Trigger1 = AnimElem = 1
x = 33

[State 1016, 1]
type = PosAdd
Trigger1 = AnimElem = 2
x = -25
y = -5

[State 1016, 1]
type = PosAdd
Trigger1 = AnimElem = 3
x = -25
y = 5

[State 1016, 1]
type = PosAdd
Trigger1 = AnimElem = 4
x = 25

[State 1016, 3] 
type = Turn
Trigger1 = Time = 0
value = 1

[State 1016, 3] 
type = Turn
Trigger1 = AnimElem = 4
value = 1

[State 1016, 2]
type = ChangeState
Trigger1 = AnimTime = 0
value = 0
ctrl = 1

;---------------------------------------------------------------------------
; Thrown by clark's super throw 
[Statedef 1005]
type    = A
movetype= H 
physics = N
ctrl = 0
velset = 0,0

[State 1005, 1]
type = ChangeAnim2
Trigger1 = Time = 0
value = 902

[State 1005, 2]
type = AngleSet
Trigger1 = Time >= 11
Trigger1 = Time <= 13
value = -120

[State 1005, 2]
type = AngleSet
Trigger1 = Time >= 14
Trigger1 = Time <= 16
value = -170

[State 1005, 3]
type = AngleDraw
Trigger1 = Time >= 11
Trigger1 = Time <= 13
Trigger2 = Time >= 14
Trigger2 = Time <= 16

[State 1005, 4]
type = ChangeState
Trigger1 = AnimTime = 0
value = 1017
ctrl = 0

[Statedef 1017]
type    = A
movetype= H 
physics = N
ctrl = 0

[State 1017, 1]
type = ChangeAnim2
Trigger1 = Time = 0
value = 905

[State 1017, 2]
type = VelAdd
Trigger1 = Time = 0
y = -7.86

[State 1017, 3]
type = ChangeState
Trigger1 = Time = 23
value = 1006
ctrl = 0

[Statedef 1006]
type    = A
movetype= H
physics = N
ctrl = 0

[State 1006, 1]
type = ChangeAnim2
Trigger1 = Time = 0
value = 903

[State 1006, 2]
type = PosAdd
Trigger1 = Time = 0
x = 22

[State 1006, 3]
type = VelAdd
Trigger1 = Time = 0
y = 15

[State 1006, 4]
type = ChangeState
Trigger1 = Time = 34
value = 1007
ctrl = 0

[Statedef 1007]
type    = A
movetype= H
physics = N
velset = 0,0
ctrl = 0

[State 1007, 1]
type = ChangeAnim2
Trigger1 = Time = 0
value = 1007

[State 1007, 2]
type = LifeAdd
Trigger1 = Time = 0
value = -70

[State 1007, 2] 
type = GameMakeAnim
trigger1 = Time = 0
value = 7
pos = -15, -155

[State 1007, 3]
type = PosAdd
Trigger1 = Time = 0
x = -49
y = -60

[State 1007, 4]
type = ChangeState
Trigger1 = AnimTime = 0
value = 1008
ctrl = 0

[Statedef 1008]
type    = A
movetype= H 
physics = N
ctrl = 0
velset = 0,0

[State 1008, 1]
type = ChangeAnim2
Trigger1 = Time = 0
value = 902

[State 1008, 2]
type = AngleSet
Trigger1 = Time >= 11
Trigger1 = Time <= 13
value = -120

[State 1008, 2]
type = AngleSet
Trigger1 = Time >= 14
Trigger1 = Time <= 16
value = -170

[State 1008, 3]
type = AngleDraw
Trigger1 = Time >= 11
Trigger1 = Time <= 13
Trigger2 = Time >= 14
Trigger2 = Time <= 16

[State 1008, 4]
type = ChangeState
Trigger1 = AnimTime = 0
value = 1018
ctrl = 0

[Statedef 1018]
type    = A
movetype= H 
physics = N
ctrl = 0

[State 1018, 1]
type = ChangeAnim2
Trigger1 = Time = 0
value = 905

[State 1018, 2]
type = VelAdd
Trigger1 = Time = 0
y = -7.86

[State 1018, 3]
type = ChangeState
Trigger1 = Time = 23
value = 1009
ctrl = 0

[Statedef 1009]
type    = A
movetype= H
physics = N
ctrl = 0

[State 1009, 1]
type = ChangeAnim2
Trigger1 = Time = 0
value = 903

[State 1009, 2]
type = PosAdd
Trigger1 = Time = 0
x = 22

[State 1009, 3]
type = VelAdd
Trigger1 = Time = 0
y = 15

[State 1009, 4]
type = ChangeState
Trigger1 = Time = 34
value = 1010
ctrl = 0

[Statedef 1010]
type    = A
movetype= H
physics = N
velset = 0,0
ctrl = 0

[State 1010, 1]
type = ChangeAnim2
Trigger1 = Time = 0
value = 1007

[State 1010, 2]
type = LifeAdd
Trigger1 = Time = 0
value = -70

[State 1010, 2] 
type = GameMakeAnim
trigger1 = Time = 0
value = 7
pos = -15, -155

[State 1010, 3]
type = PosAdd
Trigger1 = Time = 0
x = -49
y = -60

[State 1010, 4]
type = ChangeState
Trigger1 = AnimTime = 0
value = 1011
ctrl = 0

[Statedef 1011]
type    = A
movetype= H 
physics = N
ctrl = 0
velset = 0,0

[State 1011, 1]
type = ChangeAnim2
Trigger1 = Time = 0
value = 902

[State 1011, 2]
type = AngleSet
Trigger1 = Time >= 11
Trigger1 = Time <= 13
value = -120

[State 1011, 2]
type = AngleSet
Trigger1 = Time >= 14
Trigger1 = Time <= 16
value = -170

[State 1011, 3]
type = AngleDraw
Trigger1 = Time >= 11
Trigger1 = Time <= 13
Trigger2 = Time >= 14
Trigger2 = Time <= 16

[State 1011, 4]
type = ChangeState
Trigger1 = AnimTime = 0
value = 1019
ctrl = 0

[Statedef 1019]
type    = A
movetype= H 
physics = N
ctrl = 0

[State 1019, 1]
type = ChangeAnim2
Trigger1 = Time = 0
value = 905

[State 1019, 2]
type = VelAdd
Trigger1 = Time = 0
y = -7.86

[State 1019, 3]
type = ChangeState
Trigger1 = Time = 23
value = 1012
ctrl = 0

[Statedef 1012]
type    = A
movetype= H
physics = N
ctrl = 0

[State 1012, 1]
type = ChangeAnim2
Trigger1 = Time = 0
value = 903

[State 1012, 2]
type = PosAdd
Trigger1 = Time = 0
x = 22

[State 1012, 3]
type = VelAdd
Trigger1 = Time = 0
y = 15

[State 1012, 4]
type = ChangeState
Trigger1 = Time = 34
value = 1013
ctrl = 0

[Statedef 1013]
type    = A
movetype= H
physics = N
velset = 0,0
ctrl = 0

[State 1013, 1]
type = ChangeAnim2
Trigger1 = Time = 0
value = 1007

[State 1013, 2]
type = PosAdd
Trigger1 = Time = 0
x = -49
y = -60

[State 1013, 3]
type = LifeAdd
Trigger1 = Time = 0
value = -70

[State 1013, 2] 
type = GameMakeAnim
trigger1 = Time = 0
value = 7
pos = 35, -100

[State 1013, 10]
type = ChangeState
Trigger1 = AnimTime = 0
value = 1014

[Statedef 1014]
type    = A
movetype= H
physics = N
velset = 0,0
ctrl = 0

[State 1014, 1]
type = ChangeAnim2
Trigger1 = Time = 0
value = 1008

[State 1014, 1]
type = Width 
Trigger1 = Time >= 0
Trigger1 = Time <= 20
value = 20, -30 

[State 1014, 1]
type = AngleSet
Trigger1 = Time >= 0
Trigger1 = Time <= 2
value = 22.5

[State 1014, 1]
type = AngleSet
Trigger1 = Time >= 3
Trigger1 = Time <= 5
value = 30

[State 1014, 1]
type = AngleSet
Trigger1 = Time >= 6
Trigger1 = Time <= 11
value = 60

[State 1014, 1]
type = AngleSet
Trigger1 = Time >= 12
Trigger1 = Time <= 17
value = 90

[State 1014, 1]
type = AngleSet
Trigger1 = Time >= 18
Trigger1 = Time <= 20
value = 180

[State 1014, 1]
type = AngleDraw
Trigger1 = Time >= 0
Trigger1 = Time <= 2
Trigger2 = Time >= 3
Trigger2 = Time <= 5
Trigger3 = Time >= 6
Trigger3 = Time <= 11
Trigger4 = Time >= 12
Trigger4 = Time <= 17
Trigger5 = Time >= 18
Trigger5 = Time <= 20

[State 1014, 2]
type = LifeAdd
Trigger1 = AnimElem = 7
value = -100

[State 1014, 2] 
type = EnvShake
Trigger1 = AnimElem = 7
time = 30

[State 1014, 2] 
type = GameMakeAnim
trigger1 = AnimElem = 7
value = 7
pos = 5, 85

[State 1014, 3]
type = ChangeState
Trigger1 = AnimTime = 0
value = 1020
ctrl = 0

[Statedef 1020]
type    = A
movetype= H
physics = N
ctrl = 0

[State 1020, 1]
type = ChangeAnim2
Trigger1 = Time = 0
value = 1010

[State 1020, 1]
type = Width 
Trigger1 = Time >= 0
Trigger1 = Time <= 19
value = 35, -30 

[State 1020, 2]
type = VelAdd
Trigger1 = Time >= 0
x = 0.5

[State 1020, 2]
type = PosAdd
Trigger1 = AnimTime >= 0
y = 90

[State 1020, 3]
type = ChangeState
Trigger1 = AnimTime = 0
value = 1015
ctrl = 0

[Statedef 1015]
type    = A
movetype= H
physics = N
velset = 0,0
ctrl = 0

[State 1015, 1]
type = ChangeAnim2
Trigger1 = Time = 0
value = 1009

[State 1015, 1]
type = ChangeState
Trigger1 = AnimTime = 0
Trigger1 = Life >= 1
value = 924
ctrl = 1

[State 1015, 1]
type = ChangeState
Trigger1 = AnimTime = 0
Trigger1 = Life <= 1
value = 1021
ctrl = 0

[Statedef 1021]
type    = L
movetype = H
physics = N
velset = 0,0
facep2 = 1

[State 1021, 1]
Trigger1 = AnimTime = 0
type = PosSet
y = 0

[State 1021, 1]
Trigger1 = AnimTime = 0
type = PosAdd
x = 0

[State 1021, 2]
Trigger1 = AnimTime = 0
type = SelfState
value = 5150