
[Remap]
x = x
y = y
z = z
a = a
b = b
c = c
s = s

;-| Default Values |-------------------------------------------------------
[Defaults]
; Default value for the "time" parameter of a Command. Minimum 1.
command.time = 15

; Default value for the "buffer.time" parameter of a Command. Minimum 1,
; maximum 30.
command.buffer.time = 1


[Command]
name = "AI_01"
Command = a, a, a, a, a, a
time = 0

[Command]
name = "AI_02"
Command = b, b, b, b, b, b
time = 0

[Command]
name = "AI_03"
Command = c, c, c, c, c, c
time = 0

[Command]
name = "AI_04"
Command = x, x, x, x, x, x
time = 0

[Command]
name = "AI_05"
Command = y, y, y, y, y, y
time = 0

[Command]
name = "AI_06"
Command = z, z, z, z, z, z
time = 0

[Command]
name = "AI_07"
Command = a, a, a, a, a, a, b
time = 0

[Command]
name = "AI_08"
Command = a, a, a, a, a, a, c
time = 0

[Command]
name = "AI_09"
Command = a, a, a, a, a, a, x
time = 0

[Command]
name = "AI_10"
Command = a, a, a, a, a, a, y
time = 0

[Command]
name = "AI_11"
Command = a, a, a, a, a, a, z
time = 0

[Command]
name = "AI_12"
Command = b, b, b, b, b, b, a
time = 0

[Command]
name = "AI_13"
Command = b, b, b, b, b, b, c
time = 0

[Command]
name = "AI_14"
Command = b, b, b, b, b, b, x
time = 0

[Command]
name = "AI_15"
Command = b, b, b, b, b, b, y
time = 0

[Command]
name = "AI_16"
Command = b, b, b, b, b, b, z
time = 0

[Command]
name = "AI_17"
Command = c, c, c, c, c, c, a
time = 0

[Command]
name = "AI_18"
Command = c, c, c, c, c, c, b
time = 0

[Command]
name = "AI_19"
Command = c, c, c, c, c, c, x
time = 0

[Command]
name = "AI_20"
Command = c, c, c, c, c, c, y
time = 0

[Command]
name = "AI_21"
Command = c, c, c, c, c, c, z
time = 0

[Command]
name = "AI_22"
Command = x, x, x, x, x, x, a
time = 0

[Command]
name = "AI_23"
command = x, x, x, x, x, x, b
time = 0

[Command]
name = "AI_24"
command = x, x, x, x, x, x, c
time = 0

[Command]
name = "AI_25"
command = x, x, x, x, x, x, y
time = 0

[Command]
name = "AI_26"
command = x, x, x, x, x, x, z
time = 0

[Command]
name = "AI_27"
command = y, y, y, y, y, y, a
time = 0

[Command]
name = "AI_28"
command = y, y, y, y, y, y, b
time = 0

[Command]
name = "AI_29"
command = y, y, y, y, y, y, c
time = 0

[Command]
name = "AI_30"
command = y, y, y, y, y, y, x
time = 0

[Command]
name = "AI_31"
command = y, y, y, y, y, y, z
time = 0

[Command]
name = "AI_32"
command = z, z, z, z, z, z, a
time = 0

[Command]
name = "AI_33"
command = z, z, z, z, z, z, b
time = 0

[Command]
name = "AI_34"
command = z, z, z, z, z, z, c
time = 0

[Command]
name = "AI_35"
command = z, z, z, z, z, z, x
time = 0

[Command]
name = "AI_36"
command = z, z, z, z, z, z, y
time = 0

[Command]
name = "AI_37"
command = F, F, F, F, F, F
time = 0

[Command]
name = "AI_38"
command = B, B, B, B, B, B
time = 0

[Command]
name = "AI_39"
command = U, U, U, U, U, U
time = 0

[Command]
name = "AI_40"
command = D, D, D, D, D, D
time = 0

[Command]
name = "AI_41"
command = F, F, F, F, F, F, B
time = 0

[Command]
name = "AI_42"
command = F, F, F, F, F, F, U
time = 0

[Command]
name = "AI_43"
command = F, F, F, F, F, F, D
time = 0

[Command]
name = "AI_44"
command = B, B, B, B, B, B, F
time = 0

[Command]
name = "AI_45"
command = B, B, B, B, B, B, U
time = 0

[Command]
name = "AI_46"
command = B, B, B, B, B, B, D
time = 0

[Command]
name = "AI_47"
command = U, U, U, U, U, U, F
time = 0

[Command]
name = "AI_48"
command = U, U, U, U, U, U, B
time = 0

[Command]
name = "AI_49"
command = U, U, U, U, U, U, D
time = 0

[Command]
name = "AI_50"
command = D, D, D, D, D, D, F
time = 0

;-| Super Motions |--------------------------------------------------------
;The following two have the same name, but different motion.
;Either one will be detected by a "command = TripleKFPalm" trigger.
;Time is set to 20 (instead of default of 15) to make the move
;easier to do.
;


[Command]
name = "Spheno"
command = ~D, DB, B, a+b
[Command]
name = "Spheno"
command = ~D, DB, B, b+c
[Command]
name = "Spheno"
command = ~D, DB, B, a+c
[Command]
name = "Spheno"
command = ~D, DB, B, x


[Command]
name = "Sen"
command = ~D, DF, F, a+b
[Command]
name = "Sen"
command = ~D, DF, F, b+c
[Command]
name = "Sen"
command = ~D, DF, F, a+c
[Command]
name = "Sen"
command = ~D, DF, F, x

;-| Special Motions |------------------------------------------------------
[Command]
name = "mach"
command = ~a,a,a,a,a
time = 30

[Command]
name = "mach"
command = ~b,b,b,b,b
time = 30

[Command]
name = "mach"
command = ~c,c,c,c,c
time = 30

[Command]
name = "upper_a"
command = ~D, D, a
time = 10

[Command]
name = "upper_b"
command = ~D, D, b
time = 10

[Command]
name = "upper_b"
command = ~D, D, c
time = 10

[Command]
name = "enshin1"
command = ~D, DF, F, a

[Command]
name = "enshin1"
command = ~D, DF, F, b

[Command]
name = "enshin1"
command = ~D, DF, F, c


[Command]
name = "pheno1"
command = ~D, DB, B, a

[Command]
name = "pheno2"
command = ~D, DB, B, b

[Command]
name = "pheno2"
command = ~D, DB, B, c


;-| Double Tap |-----------------------------------------------------------
[Command]
name = "FF"     ;Required (do not remove)
command = F, F
time = 10

[Command]
name = "BB"     ;Required (do not remove)
command = B, B
time = 10

;-| 2/3 Button Combination |-----------------------------------------------
[Command]
name = "recovery";Required (do not remove)
command = x+y
time = 1

[Command]
name = "douji"
command = a+b
time = 1

[Command]
name = "douji"
command = b+c
time = 1


[Command]
name = "douji"
command = a+c
time = 1
;-| Dir + Button |---------------------------------------------------------
[Command]
name = "down_a"
command = /$D,a
time = 1

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

;-| Single Button |---------------------------------------------------------
[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="fwd"
command=F
time=1

[command]
name="back"
command=B
time=1

[command]
name="up"
command=U
time=1

[command]
name="down"
command=D
time=1

;-| Hold Dir |--------------------------------------------------------------
[Command]
name = "holdfwd";Required (do not remove)
command = /$F
time = 1

[Command]
name = "holdback";Required (do not remove)
command = /$B
time = 1

[Command]
name = "holdup" ;Required (do not remove)
command = /$U
time = 1

[Command]
name = "holddown";Required (do not remove)
command = /$D
time = 1


; Don't remove the following line. It's required by the CMD standard.
[Statedef -1]

;
; ^bO`[[h֘ALq TAG TEAM MODE
;
[State -1, tag LV3]
type = ChangeState
value = 46000
triggerall = var(59) < 1
triggerall = command = "holddown" && command = "c" && command = "z"
triggerall = Var(51) = 1
triggerall = partner, life > 0
triggerall = NumHelper(2000) = 1 || NumHelper(2001) = 1 || power >= 3000
trigger1 = (StateType != A) && (Ctrl = 1)

[State -1, tag]
type = ChangeState
value = 45100
triggerall = var(59) < 1
triggerall = command = "c" && command = "z"
triggerall = Var(51) = 1
triggerall = partner, life > 0
trigger1 = (StateType != A) && (Ctrl = 1)
;
; I END
;
;===========================================================================

[State -1, tFmmNbV]
type = ChangeState
value = 3300
triggerall = var(59) < 1
triggerall = command = "Spheno"
triggerall = NumHelper(2000) = 1
triggerall = statetype != A
trigger1 = ctrl
trigger2 = hitdefattr = SC, NA, SA, HA
trigger2 = stateno != [1000,4000]
trigger2 = movecontact
trigger3= stateno = 150 || stateno = 151
trigger4 = stateno = 152 || stateno = 153

[State -1, tFmmNbV]
type = ChangeState
value = 3300
triggerall = var(59) < 1
triggerall = command = "Spheno"
triggerall = power >= 2000
triggerall = statetype != A
trigger1 = ctrl
trigger2 = hitdefattr = SC, NA, SA, HA
trigger2 = stateno != [1000,4000]
trigger2 = movecontact
trigger3= stateno = 150 || stateno = 151
trigger4 = stateno = 152 || stateno = 153
;---------------------------------------------------------------------------

[State -1, SAE]
type = ChangeState
value = 3000
triggerall = var(59) < 1
triggerall = command = "Sen"
triggerall = statetype != A
triggerall = NumHelper(2000) = 1
trigger1 = ctrl
trigger2 = statetype != A
trigger2 = hitdefattr = SC, NA, SA, HA
trigger2 = stateno != [1000,4000]
trigger2 = movecontact
trigger3 = stateno = 150 || stateno = 151
trigger4 = stateno = 152 || stateno = 153

[State -1, SAE]
type = ChangeState
value = 3000
triggerall = var(59) < 1
triggerall = command = "Sen"
triggerall = statetype != A
triggerall = power >= 2000
trigger1 = ctrl
trigger2 = statetype != A
trigger2 = hitdefattr = SC, NA, SA, HA
trigger2 = stateno != [1000,4000]
trigger2 = movecontact
trigger3 = stateno = 150 || stateno = 151
trigger4 = stateno = 152 || stateno = 153
;===========================================================================
;This is not a move, but it sets up var(1) to be 1 if conditions are right
;for a combo into a special move (used below).
;Since a lot of special moves rely on the same conditions, this reduces
;redundant logic.
[State -1, Combo condition Reset]
type = VarSet
trigger1 = 1
var(1) = 0

[State -1, Combo condition Check]
type = VarSet
trigger1 = statetype != A
trigger1 = ctrl
trigger2 = (stateno = [200,299]) || (stateno = [400,499])
trigger2 = stateno != 440 ;Except for sweep kick
trigger2 = movecontact
var(1) = 1

;---------------------------------------------------------------------------

[State -1, Sjӌ]
type = ChangeState
value = 1000
triggerall = var(59) < 1
triggerall = command = "enshin1"
trigger1 = var(1) ;Use combo condition (above)
trigger2 = stateno = 150 || stateno = 151
trigger3 = stateno = 152 || stateno = 153

[State -1, }bnWu]
type = ChangeState
value = 1500
triggerall = var(59) < 1
triggerall = command = "mach"
triggerall = command != "holddown"
trigger1 = var(1) ;Use combo condition (above)
trigger2 = stateno = 150 || stateno = 151
trigger3 = stateno = 152 || stateno = 153
trigger4 = stateno = 1500
trigger4 = AnimElem = 10

;---------------------------------------------------------------------------

[State -1, P~JCpNg()]
type = ChangeState
value = 1200
triggerall = var(59) < 1
triggerall = command = "upper_a"
trigger1 = var(1) ;Use combo condition (above)
trigger2 = stateno = 150 || stateno = 151
trigger3 = stateno = 152 || stateno = 153

;---------------------------------------------------------------------------
;Strong Kung Fu Blow
[State -1, P~JCpNg()()]
type = ChangeState
value = 1250
triggerall = var(59) < 1
triggerall = command = "upper_b"
trigger1 = var(1) ;Use combo condition (above)

;---------------------------------------------------------------------------
[State -1, 󒆃tFmmNbV()]
type = ChangeState
value = 1400
triggerall = var(59) < 1
triggerall = StateType = A
trigger1 = command = "pheno1"
trigger1 = ctrl

[State -1, 󒆃tFmmNbV()()]
type = ChangeState
value = 1450
triggerall = var(59) < 1
triggerall = StateType = A
trigger1 = command = "pheno2"
trigger1 = ctrl

[State -1, tFmmNbV()]
type = ChangeState
value = 1300
triggerall = var(59) < 1
triggerall = command = "pheno1"
trigger1 = var(1) ;Use combo condition (above)
trigger2 = stateno = 150 || stateno = 151
trigger3 = stateno = 152 || stateno = 153

[State -1, tFmmNbV()()]
type = ChangeState
value = 1349
triggerall = var(59) < 1
triggerall = command = "pheno2"
trigger1 = var(1) ;Use combo condition (above)
trigger2 = stateno = 150 || stateno = 151
trigger3 = stateno = 152 || stateno = 153

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

;_bV
[State -1, ʏ_bV]
type = ChangeState
value = 100
triggerall = var(59) < 1
triggerall = command = "FF"
trigger1 = stateno != 100
trigger1 = statetype = S
trigger1 = ctrl

[State -1, LZ_bV]
type = ChangeState
value = 100
triggerall = var(59) < 1
triggerall = command = "FF"
triggerall = movecontact < 5
triggerall = movecontact > 0
trigger1 = stateno = 200 || stateno = 210 || stateno = 220
trigger2 = stateno = 400 || stateno = 410 || stateno = 420

;---------------------------------------------------------------------------

;ރ_bV
[State -1, Run Back]
type = ChangeState
value = 105
triggerall = var(59) < 1
trigger1 = command = "BB"
trigger1 = statetype = S
trigger1 = ctrl

;---------------------------------------------------------------------------

;
[State -1, Kung Fu Throw]
type = ChangeState
value = 800
triggerall = var(59) < 1
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, WvJE^[U]
type = ChangeState
value = 650
triggerall = var(59) < 1
triggerall = command = "douji"
trigger1 = statetype = A
trigger1 = ctrl
trigger2 = stateno = 600 || stateno = 610 ;jump_x or jump_a
trigger2 = movecontact
trigger3 = stateno = 1350 ;Air blocking

;===========================================================================
[State -1, _bV()()]
type = ChangeState
value = 230
triggerall = var(59) < 1
triggerall = command != "holddown"
triggerall = stateno = 100
trigger1 = ctrl
trigger1 = command = "a"
trigger2 = ctrl
trigger2 = command = "b"

;---------------------------------------------------------------------------
[State -1, _bV()]
type = ChangeState
value = 240
triggerall = var(59) < 1
triggerall = command != "holddown"
triggerall = stateno = 100
trigger1 = ctrl
trigger1 = command = "c"

[State -1, o[ꋭU]
type = ChangeState
value = 260
triggerall = var(59) < 1
triggerall = command = "holdfwd"
triggerall = command = "c"
triggerall = statetype != A
trigger1 = ctrl

[State -1, Ⴊ݃JE^[]
type = ChangeState
value = 450
triggerall = var(59) < 1
triggerall = command = "holddown"
trigger1 = command = "x"
trigger1 = statetype = C
trigger1 = ctrl
trigger2 = command = "x"
trigger2 = stateno = 200
trigger2 = movecontact && time > 3
trigger3 = command = "x"
trigger3 = stateno = 400
trigger3 = movecontact && time > 3
trigger4 = command = "douji"
trigger4 = statetype = C
trigger4 = ctrl
trigger5 = command = "douji"
trigger5 = stateno = 200
trigger5 = movecontact && time > 3
trigger6 = command = "douji"
trigger6 = stateno = 400
trigger6 = movecontact && time > 3

[State -1, (A)]
type = ChangeState
value = 210
triggerall = var(59) < 1
triggerall = command = "a"
triggerall = command != "holddown"
triggerall = command ="holdfwd"
trigger1 = statetype = S
trigger1 = ctrl
trigger2 = stateno = 200
trigger2 = movecontact && time > 3
trigger3 = stateno = 400
trigger3 = movecontact && time > 3

[State -1, (B)]
type = ChangeState
value = 210
triggerall = var(59) < 1
triggerall = command = "b"
triggerall = command != "holddown"
trigger1 = statetype = S
trigger1 = ctrl
trigger2 = stateno = 200
trigger2 = movecontact && time > 3
trigger3 = stateno = 400
trigger3 = movecontact && time > 3

[State -1, Ⴊݒ]
type = ChangeState
value = 410
triggerall = var(59) < 1
triggerall = command = "a"
triggerall = command = "holddown"
triggerall = command ="holdfwd"
trigger1 = statetype = C
trigger1 = ctrl
trigger2 = stateno = 200
trigger2 = movecontact && time > 3
trigger3 = stateno = 400
trigger3 = movecontact && time > 3

[State -1, Wv]
type = ChangeState
value = 610
triggerall = var(59) < 1
triggerall = command = "a"
triggerall = command ="holdfwd"
trigger1 = statetype = A
trigger1 = ctrl
trigger2 = stateno = 600
trigger2 = movecontact
trigger3 = stateno = 1350 ;Air blocking

;---------------------------------------------------------------------------

[State -1, ]
type = ChangeState
value = 200
triggerall = var(59) < 1
triggerall = command = "a"
triggerall = command != "holddown"
trigger1 = statetype = S
trigger1 = ctrl
trigger2 = stateno = 200
trigger2 = movecontact && time > 3
trigger3 = stateno = 400
trigger3 = movecontact && time > 3

[State -1, JE^[U]
type = ChangeState
value = 250
triggerall = var(59) < 1
triggerall = command != "holddown"
trigger1 = command = "x"
trigger1 = statetype = S
trigger1 = ctrl
trigger2 = command = "x"
trigger2 = stateno = 200
trigger2 = movecontact && time > 3
trigger3 = command = "x"
trigger3 = stateno = 400
trigger3 = movecontact && time > 3
trigger4 = command = "douji"
trigger4 = statetype = S
trigger4 = ctrl
trigger5 = command = "douji"
trigger5 = stateno = 200
trigger5 = movecontact && time > 3
trigger6 = command = "douji"
trigger6 = stateno = 400
trigger6 = movecontact && time > 3

;---------------------------------------------------------------------------

[State -1, ]
type = ChangeState
value = 220
triggerall = var(59) < 1
triggerall = command = "c"
triggerall = command != "holddown"
trigger1 = statetype = S
trigger1 = ctrl
trigger2 = stateno = 200
trigger2 = movecontact && time > 3
trigger3 = stateno = 210
trigger3 = movecontact && time > 5
trigger4 = stateno = 400
trigger4 = movecontact && time > 3
trigger5 = stateno = 410
trigger5 = movecontact && time > 5

;---------------------------------------------------------------------------

[State -1, Standing Strong Kick]
type = ChangeState
value = 240
triggerall = var(59) < 1
triggerall = command = "b"
triggerall = command != "holddown"
trigger1 = statetype = S
trigger1 = ctrl
trigger2 = (stateno = 200) && time > 5
trigger3 = (stateno = 230) && time > 6

;---------------------------------------------------------------------------

[State -1, Ⴊݎ]
type = ChangeState
value = 400
triggerall = var(59) < 1
triggerall = command = "a"
triggerall = command = "holddown"
trigger1 = statetype = C
trigger1 = ctrl
trigger2 = stateno = 200
trigger2 = movecontact && time > 3
trigger3 = stateno = 400
trigger3 = movecontact && time > 3

;---------------------------------------------------------------------------

[State -1, Ⴊݒ]
type = ChangeState
value = 410
triggerall = var(59) < 1
triggerall = command = "b"
triggerall = command = "holddown"
trigger1 = statetype = C
trigger1 = ctrl
trigger2 = stateno = 200
trigger2 = movecontact && time > 3
trigger3 = stateno = 400
trigger3 = movecontact && time > 3

;---------------------------------------------------------------------------

[State -1, Ⴊ݋]
type = ChangeState
value = 420
triggerall = var(59) < 1
triggerall = command = "c"
triggerall = command = "holddown"
trigger1 = statetype = C
trigger1 = ctrl
trigger2 = stateno = 200
trigger2 = movecontact && time > 3
trigger3 = stateno = 210
trigger3 = movecontact && time > 5
trigger4 = stateno = 400
trigger4 = movecontact && time > 3
trigger5 = stateno = 410
trigger5 = movecontact && time > 5

;---------------------------------------------------------------------------

[State -1, Wv]
type = ChangeState
value = 600
triggerall = var(59) < 1
triggerall = command = "a"
trigger1 = statetype = A
trigger1 = ctrl
trigger2 = stateno = 600
trigger2 = statetime >= 4
trigger3 = stateno = 1350 ;Air blocking

;---------------------------------------------------------------------------

[State -1, Wv]
type = ChangeState
value = 610
triggerall = var(59) < 1
triggerall = command = "b"
trigger1 = statetype = A
trigger1 = ctrl
trigger2 = stateno = 600
trigger2 = movecontact
trigger3 = stateno = 1350 ;Air blocking

;---------------------------------------------------------------------------
[State -1, WvO]
type = ChangeState
value = 660
triggerall = var(59) < 1
triggerall = command = "c"
triggerall = command = "holdfwd"
trigger1 = statetype = A
trigger1 = ctrl
trigger2 = stateno = 600
trigger2 = movecontact
trigger3 = stateno = 610
trigger3 = movecontact
trigger4 = stateno = 1350 ;Air blocking

[State -1, Wv]
type = ChangeState
value = 620
triggerall = var(59) < 1
triggerall = command = "c"
trigger1 = statetype = A
trigger1 = ctrl
trigger2 = stateno = 600
trigger2 = movecontact
trigger3 = stateno = 610
trigger3 = movecontact
trigger4 = stateno = 1350 ;Air blocking

;---------------------------------------------------------------------------
;Jump Strong Kick
;󒆋LbN
[State -1, Jump Strong Kick]
type = ChangeState
value = 640
triggerall = var(59) < 1
triggerall = command = "b"
trigger1 = statetype = A
trigger1 = ctrl
trigger2 = stateno = 600 || stateno = 630 ;jump_x or jump_a
trigger2 = movecontact
trigger3 = stateno = 1350 ;Air blocking


[State -1, WvJE^[U]
type = ChangeState
value = 650
triggerall = var(59) < 1
triggerall = command = "x"
trigger1 = statetype = A
trigger1 = ctrl
trigger2 = stateno = 600 || stateno = 630 ;jump_x or jump_a
trigger2 = movecontact
trigger3 = stateno = 1350 ;Air blocking


[State -1, WvLZ]
type = ChangeState
value = 40
triggerall = var(59) < 1
triggerall = command = "holdup"
triggerall = movecontact
trigger1 = stateno = 200
trigger2 = stateno = 210
trigger3 = stateno = 220
trigger4 = stateno = 230
trigger5 = stateno = 240
trigger6 = stateno = 400
trigger7 = stateno = 410
trigger8 = stateno = 420


[State -1, 󒆐Wv]
type = ChangeState
value = 900
triggerall = var(59) < 1
triggerall = var(9) != 1
triggerall = var(15) = 1
triggerall = command = "holdup"
triggerall = Pos Y <= -30
trigger1 = ctrl = 1
trigger1 = Pos Y <= -40
trigger2 = ctrl = 1
trigger2 = Vel Y >= 0
trigger3 = stateno = 600 || stateno = 610
trigger3 = movecontact
trigger4 = stateno = 620
trigger4 = movecontact

[State -1, 󒆑OWv]
type = ChangeState
value = 901
triggerall = var(59) < 1
triggerall = var(9) != 1
triggerall = var(15) = 1
triggerall = command = "holdup"
triggerall = command ="holdfwd"
triggerall = Pos Y <= -30
trigger1 = ctrl = 1
trigger1 = Pos Y <= -40
trigger2 = ctrl = 1
trigger2 = Vel Y >= 0
trigger3 = stateno = 600 || stateno = 610
trigger3 = movecontact
trigger4 = stateno = 620
trigger4 = movecontact

[State -1, 󒆌Wv]
type = ChangeState
value = 902
triggerall = var(59) < 1
triggerall = var(9) != 1
triggerall = var(15) = 1
triggerall = command = "holdback"
triggerall = command ="holdup"
triggerall = Pos Y <= -30
trigger1 = ctrl = 1
trigger1 = Pos Y <= -40
trigger2 = ctrl = 1
trigger2 = Vel Y >= 0
trigger3 = stateno = 600 || stateno = 610
trigger3 = movecontact
trigger4 = stateno = 620
trigger4 = movecontact

[State -3, 3]
type = VarSet
trigger1 = StateType != A
var(9) = 0

[State 40, 2]
type = VarSet
trigger1 = command != "holdup"
trigger1 = Pos Y <=0
var(15) = 1

[State 40, 2]
type = VarSet
trigger1 = command = "holdup"
trigger1 = Pos Y <=0
var(15) = 0

[State 40, 2]
type = VarSet
trigger1 = Pos Y >=0
var(15) = 0

;---------------------------------------------------------------------------

[State -1, ]
type = ChangeState
value = 195
triggerall = var(59) < 1
triggerall = command = "start"
trigger1 = statetype != A
trigger1 = ctrl

;---------------------------------------------------------------------------