;-| 挻昁嶦媄 |------------------------------------------------------

;被打倒的是你！！
[Command]
name = "DFDF_c"     
command =  D, F, D, F, c
time = 50

;-| 昁嶦媄 |------------------------------------------------------

;僜儕僢僪傾僞僢僋
[Command]
name = "BF_b"
command = B, F, b
time = 30

;僨儞儔僀僟乕僉僢僋
[Command]
name = "DRK"
command = D, F, b
time = 30

;僟僀僫儈僢僋僠儑僢僾

[Command]
name = "DD_c"
command = D, D, c
time = 30

;僪儔僑儞僔儑僢僩僴僀
[Command]
name = "DF_a1"
command = D, F, a
time = 30

[Command]
name = "DF_a2"
command = a
time = 30

[Command]
name = "DF_a3"
command = a
time = 30

;-| 俀夞墴偟媄 |-----------------------------------------------------------
[Command]
name = "FF"     
command = F, F
time = 10

[Command]
name = "BB"     
command = B, B
time = 10

[Command]
name = "DU"
command = D, U
time = 10

;-| 俀丒俁屄偺摨帪墴偟媄 |-----------------------------------------------
[Command]
name = "recovery"
command = a+b
time = 1

;-| 曽岦偲儃僞儞偱弌偡媄 |---------------------------------------------------------
[Command]
name = "down_a"
command = /$D,a
time = 1

[Command]
name = "down_b"
command = /$D,b
time = 1

;-| 儃僞儞愝掕乮偄偠傜側偄乯|---------------------------------------------------------
[Command]
name = "a"
command = a
time = 1

[Command]
name = "b"
command = b
time = 1

[Command]
name = "c"
command = c
time = 1

[Command]
name = "x"
command = x
time = 1

[Command]
name = "y"
command = y
time = 1

[Command]
name = "z"
command = z
time = 1

[Command]
name = "start"
command = s
time = 1

;-| 墴偟偭傁側偟愝掕乮偄偠傜側偄乯-------------------------------------------------------
[Command]
name = "holdfwd"
command = /$F
time = 1

[Command]
name = "holdback"
command = /$B
time = 1

[Command]
name = "holdup" 
command = /$U
time = 1

[Command]
name = "holddown"
command = /$D
time = 1

; 壓偺婰弎伀偼愨懳偵徚偝側偄偱偔偩偝偄丅
[Statedef -1]

;===========================================================================

;---------------------------------------------------------------------------
;---------------------------------------------------------------------------
;儔僀僟乕僉僢僋
[State -1, Rider Kick]
type = ChangeState
value = 3000
triggerall = command = "DFDF_c"
triggerall = power >= 1000
trigger1 = statetype != A
trigger1 = ctrl
trigger2 = (stateno = [200,299]) || (stateno = [400,499])
trigger2 = stateno != 440 ;Except for sweep kick
trigger2 = movecontact

;---------------------------------------------------------------------------
;僟乕僋僱僗儉乕儞僽儗僀僋
[State -1, DMB]
type = ChangeState
value = 900
triggerall = command = "DMB"
trigger1 = statetype != A
trigger1 = ctrl = 1
trigger2 = (stateno = [200,299]) || (stateno = [400,499])
trigger2 = stateno != 440 ;Except for sweep kick
trigger2 = movecontact

;---------------------------------------------------------------------------
;壌偺昁嶦媄part'1
[State -1, A-Slash]
type = ChangeState
value = 1000
triggerall = command = "BF_a"
trigger1 = statetype != A
trigger1 = ctrl = 1
trigger2 = (stateno = [200,299]) || (stateno = [400,499])
trigger2 = stateno != 440 ;Except for sweep kick
trigger2 = movecontact

;---------------------------------------------------------------------------
;壌偺昁嶦媄part'1'
[State -1, A-Slash]
type = ChangeState
value = 1005
triggerall = command = "BF_c"
trigger1 = statetype != A
trigger1 = ctrl = 1
trigger2 = (stateno = [200,299]) || (stateno = [400,499])
trigger2 = stateno != 440 ;Except for sweep kick
trigger2 = movecontact
;---------------------------------------------------------------------------
;僜儕僢僪傾僞僢僋
[State -1, A-Slash]
type = ChangeState
value = 1100
triggerall = command = "BF_b"
trigger1 = statetype != A
trigger1 = ctrl = 1
trigger2 = (stateno = [200,299]) || (stateno = [400,499])
trigger2 = stateno != 440 ;Except for sweep kick
trigger2 = movecontact

;---------------------------------------------------------------------------
;僨儞儔僀僟乕僉僢僋
[State -1, A-Rush]
type = ChangeState
value = 1102
triggerall = (command = "DRK" )
triggerall = stateno = 1101
trigger1 = time = [80,110]
trigger2 = movecontact
trigger2 = time <= 50

;---------------------------------------------------------------------------
;僟僀僫儈僢僋僠儑僢僾庛
[State -1, A-Slash]
type = ChangeState
value = 1200
triggerall = command = "DD_a"
trigger1 = statetype != A
trigger1 = ctrl = 1
trigger2 = (stateno = [200,299]) || (stateno = [400,499])
trigger2 = stateno != 440 ;Except for sweep kick
trigger2 = movecontact

;---------------------------------------------------------------------------
;僟僀僫儈僢僋僠儑僢僾嫮
[State -1, A-Slash]
type = ChangeState
value = 1210
triggerall = command = "DD_c"
trigger1 = statetype != A
trigger1 = ctrl = 1
trigger2 = (stateno = [200,299]) || (stateno = [400,499])
trigger2 = stateno != 440 ;Except for sweep kick
trigger2 = movecontact

;---------------------------------------------------------------------------
;僪儔僑儞僔儑僢僩H
[State -1, A-Rush]
type = ChangeState
value = 1300
triggerall = command = "DF_a1"
trigger1 = statetype != A
trigger1 = ctrl = 1
trigger2 = (stateno = [200,299]) || (stateno = [400,499])
trigger2 = stateno != 440 ;Except for sweep kick
trigger2 = movecontact
;---------------------------------------------------------------------------
;僪儔僑儞僔儑僢僩HH
[State -1, A-Rush]
type = ChangeState
value = 1302
triggerall = (command = "DF_a2" )
triggerall = stateno = 1301
trigger1 = time = [15,25]
trigger2 = movecontact
trigger2 = time <= 25
;---------------------------------------------------------------------------
;僪儔僑儞僔儑僢僩HHH
[State -1, A-Rush]
type = ChangeState
value = 1303
triggerall = (command = "DF_a3" )
triggerall = stateno = 1302
trigger1 = time = [15,25]
trigger2 = movecontact
trigger2 = time <= 25
;---------------------------------------------------------------------------
;僪儔僑儞僔儑僢僩HL
[State -1, A-Rush]
type = ChangeState
value = 1312
triggerall = (command = "DF_b2" )
triggerall = stateno = 1301
trigger1 = time = [15,25]
trigger2 = movecontact
trigger2 = time <= 25
;---------------------------------------------------------------------------
;僪儔僑儞僔儑僢僩HU
[State -1, A-Rush]
type = ChangeState
value = 1322
triggerall = (command = "DF_c2" )
triggerall = stateno = 1301
trigger1 = time = [15,25]
trigger2 = movecontact
trigger2 = time <= 25

;---------------------------------------------------------------------------
;僪儔僑儞僔儑僢僩HHU
[State -1, A-Rush]
type = ChangeState
value = 1323
triggerall = (command = "DF_c3" )
triggerall = stateno = 1302
trigger1 = time = [15,25]
trigger2 = movecontact
trigger2 = time <= 25
;---------------------------------------------------------------------------
;僪儔僑儞僔儑僢僩HHL
[State -1, A-Rush]
type = ChangeState
value = 1313
triggerall = (command = "DF_b3" )
triggerall = stateno = 1302
trigger1 = time = [15,25]
trigger2 = movecontact
trigger2 = time <= 25

;---------------------------------------------------------------------------
;僪儔僑儞僔儑僢僩HHU
[State -1, A-Rush]
type = ChangeState
value = 1323
triggerall = (command = "DF_c3" )
triggerall = stateno = 1312
trigger1 = time = [15,25]
trigger2 = movecontact
trigger2 = time <= 25

;---------------------------------------------------------------------------
;僪儔僑儞僔儑僢僩L
[State -1, A-Rush]
type = ChangeState
value = 1310
triggerall = command = "DF_b1"
trigger1 = statetype != A
trigger1 = ctrl = 1
trigger2 = (stateno = [200,299]) || (stateno = [400,499])
trigger2 = stateno != 440 ;Except for sweep kick
trigger2 = movecontact
;---------------------------------------------------------------------------
;僪儔僑儞僔儑僢僩LL
[State -1, A-Rush]
type = ChangeState
value = 1312
triggerall = (command = "DF_b2" )
triggerall = stateno = 1311
trigger1 = time = [15,25]
trigger2 = movecontact
trigger2 = time <= 25
;---------------------------------------------------------------------------
;僪儔僑儞僔儑僢僩LLL
[State -1, A-Rush]
type = ChangeState
value = 1313
triggerall = (command = "DF_b3" )
triggerall = stateno = 1312
trigger1 = time = [15,25]
trigger2 = movecontact
trigger2 = time <= 25

;---------------------------------------------------------------------------
;僪儔僑儞僔儑僢僩LH
[State -1, A-Rush]
type = ChangeState
value = 1302
triggerall = (command = "DF_a2" )
triggerall = stateno = 1311
trigger1 = time = [15,25]
trigger2 = movecontact
trigger2 = time <= 25
;---------------------------------------------------------------------------
;僪儔僑儞僔儑僢僩LU
[State -1, A-Rush]
type = ChangeState
value = 1322
triggerall = (command = "DF_c2" )
triggerall = stateno = 1311
trigger1 = time = [15,25]
trigger2 = movecontact
trigger2 = time <= 25
;---------------------------------------------------------------------------
;僪儔僑儞僔儑僢僩LLH
[State -1, A-Rush]
type = ChangeState
value = 1303
triggerall = (command = "DF_a3" )
triggerall = stateno = 1312
trigger1 = time = [15,25]
trigger2 = movecontact
trigger2 = time <= 25
;---------------------------------------------------------------------------
;僪儔僑儞僔儑僢僩LLU
[State -1, A-Rush]
type = ChangeState
value = 1323
triggerall = (command = "DF_c3" )
triggerall = stateno = 1312
trigger1 = time = [15,25]
trigger2 = movecontact
trigger2 = time <= 25
;---------------------------------------------------------------------------
;僪儔僑儞僔儑僢僩U
[State -1, A-Rush]
type = ChangeState
value = 1320
triggerall = command = "DF_c1"
trigger1 = statetype != A
trigger1 = ctrl = 1
trigger2 = (stateno = [200,299]) || (stateno = [400,499])
trigger2 = stateno != 440 ;Except for sweep kick
trigger2 = movecontact
;---------------------------------------------------------------------------
;僪儔僑儞僔儑僢僩UU
[State -1, A-Rush]
type = ChangeState
value = 1322
triggerall = (command = "DF_c2" )
triggerall = stateno = 1321
trigger1 = time = [15,25]
trigger2 = movecontact
trigger2 = time <= 25

;---------------------------------------------------------------------------
;僪儔僑儞僔儑僢僩UH
[State -1, A-Rush]
type = ChangeState
value = 1302
triggerall = (command = "DF_a2" )
triggerall = stateno = 1321
trigger1 = time = [15,25]
trigger2 = movecontact
trigger2 = time <= 25

;---------------------------------------------------------------------------
;僪儔僑儞僔儑僢僩UL
[State -1, A-Rush]
type = ChangeState
value = 1312
triggerall = (command = "DF_b2" )
triggerall = stateno = 1321
trigger1 = time = [15,25]
trigger2 = movecontact
trigger2 = time <= 25

;---------------------------------------------------------------------------
;僪儔僑儞僔儑僢僩UUU
[State -1, A-Rush]
type = ChangeState
value = 1323
triggerall = (command = "DF_c3" )
triggerall = stateno = 1322
trigger1 = time = [15,25]
trigger2 = movecontact
trigger2 = time <= 25
;---------------------------------------------------------------------------
;僪儔僑儞僔儑僢僩HUH
[State -1, A-Rush]
type = ChangeState
value = 1303
triggerall = (command = "DF_a3" )
triggerall = stateno = 1322
trigger1 = time = [15,25]
trigger2 = movecontact
trigger2 = time <= 25
;---------------------------------------------------------------------------
;僪儔僑儞僔儑僢僩HUL
[State -1, A-Rush]
type = ChangeState
value = 1313
triggerall = (command = "DF_b3" )
triggerall = stateno = 1322
trigger1 = time = [15,25]
trigger2 = movecontact
trigger2 = time <= 25
;===========================================================================
;---------------------------------------------------------------------------
;慜曽僟僢僔儏
[State -1, Dash Forward]
type = ChangeState
value = 100
trigger1 = command = "FF"
trigger1 = statetype = S
trigger1 = ctrl
trigger1 = stateno != 100 && stateno != 105

;---------------------------------------------------------------------------
;屻戅僟僢僔儏
[State -1, Run Back]
type = ChangeState
value = 105
trigger1 = command = "BB"
trigger1 = statetype = S
trigger1 = ctrl

;---------------------------------------------------------------------------
;搳偘
[State -1, Throw]
type = ChangeState
value = 800
triggerall = command = "c"
triggerall = statetype = S
triggerall = ctrl
triggerall = stateno != 100
trigger1 = command = "holdfwd"
trigger1 = p2bodydist X < 3
trigger1 = (p2statetype = S) || (p2statetype = C)
trigger1 = p2movetype != H
trigger2 = command = "holdback"
trigger2 = p2bodydist X < 5
trigger2 = (p2statetype = S) || (p2statetype = C)
trigger2 = p2movetype != H

;===========================================================================
;---------------------------------------------------------------------------
;棫偪僷儞僠
[State -1, Stand Panch]
type = ChangeState
value = 200
triggerall = command = "a"
triggerall = command != "holddown"
trigger1 = statetype = S
trigger1 = ctrl
trigger2 = (Stateno = 400) && movecontact = 1

;---------------------------------------------------------------------------
;棫偪僉僢僋
[State -1, Stand Kick]
type = ChangeState
value = 210
triggerall = command = "b"
triggerall = command != "holddown"
trigger1 = statetype = S
trigger1 = ctrl
trigger2 = (Stateno = 200) && movecontact = 1
trigger3 = (Stateno = 400) && movecontact = 1
trigger4 = (Stateno = 410) && movecontact = 1

;---------------------------------------------------------------------------
;棫偪嫮峌寕
[State -1, Standing Strong Attack]
type = ChangeState
value = 220
triggerall = command = "c"
triggerall = command != "holddown"
trigger1 = statetype = S
trigger1 = ctrl
trigger2 = (Stateno = 200) && movecontact = 1
trigger3 = (Stateno = 210) && movecontact = 1
trigger4 = (Stateno = 400) && movecontact = 1
trigger5 = (Stateno = 410) && movecontact = 1
trigger6 = (Stateno = 420) && movecontact = 1

;---------------------------------------------------------------------------
;偟傖偑傒僷儞僠
[State -1, Crouching Panch]
type = ChangeState
value = 400
triggerall = command = "a"
triggerall = command = "holddown"
trigger1 = statetype = C
trigger1 = ctrl
trigger2 = (Stateno = 200) && movecontact = 1

;---------------------------------------------------------------------------
;偟傖偑傒僉僢僋
[State -1, Crouching Kick]
type = ChangeState
value = 410
triggerall = command = "b"
triggerall = command = "holddown"
trigger1 = statetype = C
trigger1 = ctrl
trigger2 = (Stateno = 200) && movecontact = 1
trigger3 = (Stateno = 210) && movecontact = 1
trigger4 = (Stateno = 400) && movecontact = 1

;---------------------------------------------------------------------------
;偟傖偑傒嫮峌寕
[State -1, Crouching Strong Attack]
type = ChangeState
value = 420
triggerall = command = "c"
triggerall = command = "holddown"
trigger1 = statetype = C
trigger1 = ctrl
trigger2 = (Stateno = 200) && movecontact = 1
trigger3 = (Stateno = 210) && movecontact = 1
trigger4 = (Stateno = 220) && movecontact = 1
trigger5 = (Stateno = 400) && movecontact = 1
trigger6 = (Stateno = 410) && movecontact = 1

;---------------------------------------------------------------------------
;僕儍儞僾僷儞僠
[State -1, Jump Panch]
type = ChangeState
value = 600
triggerall = command = "a"
trigger1 = statetype = A
trigger1 = ctrl

;---------------------------------------------------------------------------
;僕儍儞僾僉僢僋
[State -1, Jump Kick]
type = ChangeState
value = 610
triggerall = command = "b"
trigger1 = statetype = A
trigger1 = ctrl
trigger2 = (Stateno = 600) && movecontact = 1

;---------------------------------------------------------------------------
;僕儍儞僾嫮峌寕
[State -1, Jump Strong Attack]
type = ChangeState
value = 620
triggerall = command = "c"
trigger1 = statetype = A
trigger1 = ctrl
trigger2 = (Stateno = 600) && movecontact = 1
trigger3 = (Stateno = 610) && movecontact = 1

