;====================================================================
;-| Special section |---------------------------------
[command]
name = "impossible1"
command = B,D,a+c,z,c+b,s
time = 1

[command]
name = "impossible2"
command = B,F,c+b,z,c+z,x,s
time = 1

[command]
name = "impossible3"
command = B,D,a+b,y,c+y,s,z,D
time = 1

[command]
name = "impossible4"
command = B,B,a+y,c,z+x,s
time = 1

[command]
name = "impossible5"
command = B,B,a+b,z,c+b,s
time = 1

[command]
name = "impossible6"
command = D,B,z+b,z,c+x,s
time = 1

[command]
name = "impossible7"
command = B,F,a+b,z,c+x,s
time = 1

[command]
name = "impossible8"
command = B,F,a+b,c,c+x,s
time = 1

[command]
name = "impossible9"
command = B,F,a+b,c,c+x,s
time = 1

[command]
name = "impossible10"
command = B,F,a+b,c,c+x,s
time = 1




;====================================================================
;-| Super Motions |--------------------------------------------------------
[Command]
name = "captain_sword"
command = ~D, F, x+y
time = 15

name = "captain_sword"
command = ~D, F, y+z
time = 15

name = "captain_sword"
command = ~D, F, x+z
time = 15

[Command]
name = "captain_storm"
command = ~D, F, a+b
time = 15

name = "captain_storm"
command = ~D, F, b+c
time = 15

name = "captain_storm"
command = ~D, F, a+c
time = 15

;-| Special Motions |------------------------------------------------------
[Command]
name = "captain_fire"
command = ~D, F, x
time = 15

[Command]
name = "captain_fire"
command = ~D, F, y
time = 15

[Command]
name = "captain_fire"
command = ~D, F, z
time = 15

[Command]
name = "captain_coreder"
command = ~D, B, x
time = 15

[Command]
name = "captain_coreder1"
command = ~D, B, y
time = 15

[Command]
name = "captain_coreder2"
command = ~D, B, z
time = 15


[Command]
name = "guard_coreder"
command = ~B, D, x
time = 15

[Command]
name = "guard_coreder"
command = ~B, D, y
time = 15

[Command]
name = "guard_coreder"
command = ~B, D, z
time = 15

[Command]
name = "captain_kick"
command = ~D, B, a
time = 15

[Command]
name = "captain_kick1"
command = ~D, B, b
time = 15

[Command]
name = "captain_kick2"
command = ~D, B, c
time = 15

[Command]
name = "striker_shoe"
command = ~D, F, a
time = 15

[Command]
name = "striker_hoover"
command = ~D, F, b
time = 15

[Command]
name = "striker_Jenity"
command = ~D, F, c
time = 15

[Command]
name = "striker_saki"
command = a+x
time = 15

;-| 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

[Command]
name = "longjump"
command = D, $U

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

[Command]
name = "recovery";Required (do not remove)
command = x+y
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

;-| 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

;---------------------------------------------------------------------------
; 2. State entry
; --------------
; This is where you define what commands bring you to what states.
;
; Each state entry block looks like:
;   [State -1, Label]           ;Change Label to any name you want to use to
;                               ;identify the state with.
;   type = ChangeState          ;Don't change this
;   value = new_state_number
;   trigger1 = command = command_name
;   . . .  (any additional triggers)
;
; - new_state_number is the number of the state to change to
; - command_name is the name of the command (from the section above)
; - Useful triggers to know:
;   - statetype
;       S, C or A : current state-type of player (stand, crouch, air)
;   - ctrl
;       0 or 1 : 1 if player has control. Unless "interrupting" another
;                move, you'll want ctrl = 1
;   - stateno
;       number of state player is in - useful for "move interrupts"
;   - movecontact
;       0 or 1 : 1 if player's last attack touched the opponent
;                useful for "move interrupts"
;
; Note: The order of state entry is important.
;   State entry with a certain command must come before another state
;   entry with a command that is the subset of the first.
;   For example, command "fwd_a" must be listed before "a", and
;   "fwd_ab" should come before both of the others.
;
; For reference on triggers, see CNS documentation.
;
; Just for your information (skip if you're not interested):
; This part is an extension of the CNS. "State -1" is a special state
; that is executed once every game-tick, regardless of what other state
; you are in.


; Don't remove the following line. It's required by the CMD standard.
;===========================================================================
[Statedef -1]
; Guard cancel roll (backwards)
[State -1]
type = ChangeState
value = 2260
triggerall = stateno >= 150
triggerall = stateno <= 151
triggerall = power >= 1000
triggerall = command = "holdback"
trigger1 = command = "recovery"


; Guard cancel roll (forward)
[State -1]
type = ChangeState
value = 2250
triggerall = stateno >= 150
triggerall = stateno <= 151
triggerall = power >= 1000
trigger1 = command = "recovery"

; Guard cancel attack
[State -1]
type = ChangeState
value = 2270
triggerall = stateno >= 150
triggerall = stateno <= 151
triggerall = power >= 1000
trigger1 = command = "captain_fire"

; Guard cancel attack
[State -1]
type = ChangeState
value = 2270
triggerall = stateno >= 150
triggerall = stateno <= 151
triggerall = power >= 1000
trigger1 = Var(17) >= 1

; Guard cancel attack
[State -1]
type = ChangeState
value = 2280
triggerall = stateno >= 150
triggerall = stateno <= 151
triggerall = power >= 1000
trigger1 = Var(17) >= 1

; Guard cancel attack
[State -1]
type = ChangeState
value = 2280
triggerall = stateno >= 150
triggerall = stateno <= 151
triggerall = power >= 1000
trigger1 = command = "guard_coreder"


;================================
;ai

[State -1]
type = ChangeState
value = 132
triggerall = Var(17) >= 1
triggerall = statetype != S
triggerall = statetype = A
triggerall = p2movetype = A
triggerall = movetype != A
triggerall = P2bodydist X < 40
trigger1 = ctrl = 1

[State -1]
type = ChangeState
value = 130
triggerall = Var(17) >= 1
triggerall = statetype = S
triggerall = statetype != A
triggerall = p2movetype = A
triggerall = movetype != A
triggerall = p2statetype != c
triggerall = P2bodydist X < 40
trigger1 = ctrl = 1

[State -1]
type = ChangeState
value = 131
triggerall = Var(17) >= 1
triggerall = p2statetype = c
triggerall = p2movetype = A
triggerall = movetype != A
triggerall = p2statetype != s
triggerall = statetype != A
triggerall = P2bodydist X < 40
trigger1 = ctrl = 1


[State -1];무신옥쇄권
type = ChangeState
value = 200
triggerall = Var(17) >= 1
triggerall = statetype = S
triggerall = ctrl = 1
trigger1 = P2bodydist X < 30
trigger1 = P2statetype != L
trigger1 = P2statetype != A

[State -1,캡틴 코레더 ai];캡틴 코레더
type = ChangeState
value = 1103
triggerall = Var(17) >= 1
triggerall = statetype = S
triggerall = statetype != A
triggerall = ctrl = 1
trigger1 = P2bodydist X < 100
trigger1 = P2statetype != S
trigger1 = P2statetype != L
trigger1 = P2stateno != 5030
trigger1 = P2stateno != 5020
trigger1 = P2stateno != 5050
trigger1 = P2statetype = A

[State -1, 캡틴 파이어ai];캡틴 파이어
type = ChangeState
value = 1000
triggerall = Var(17) >= 1
triggerall = statetype = S
triggerall = P2bodydist X = [55,200]
triggerall = ctrl = 1
triggerall = random > 500
;trigger1 = P2dist Y = (-60,-50)
trigger1 = P2statetype = S
;trigger1 = P2movetype != H
;trigger1 = P2movetype = A
triggerall = P2Movetype != A  
triggerall = P2StateType != L  
triggerall = P2StateNo != 5050  
triggerall = P2StateNo != 5070  
triggerall = P2StateNo != 5100  
triggerall = P2StateNo != 5110  
triggerall = P2StateNo != 5120  
triggerall = P2StateNo != 5160  
triggerall = P2StateNo != 5170  

[State -1, 코만도 스트라이크ai];코만도 스트라이크 후버
type = ChangeState
value = 1300
triggerall = Var(17) >= 1
triggerall = statetype = S
triggerall = P2bodydist X = [55,200]
triggerall = ctrl = 1
triggerall = random < 500
triggerall = numhelper(1311) != 1
triggerall = numhelper(1301) != 1
triggerall = numhelper(1329) != 1
triggerall = numhelper(7005) != 1
triggerall = numhelper(7006) != 1
triggerall = numhelper(7007) != 1
;trigger1 = P2dist Y = (-60,-50)
trigger1 = P2statetype = S
;trigger1 = P2movetype != H
;trigger1 = P2movetype = A

;ai
[State -1, 코만도 스트라이크ai];코만도 스트라이크 후버
type = ChangeState
value = 1320
triggerall = Var(17) >= 1
triggerall = statetype = S
triggerall = P2bodydist X = [35,100]
triggerall = ctrl = 1
triggerall = random < 500
triggerall = numhelper(1311) != 1
triggerall = numhelper(1301) != 1
triggerall = numhelper(1329) != 1
triggerall = numhelper(1321) != 1
triggerall = numhelper(7005) != 1
triggerall = numhelper(7006) != 1
triggerall = numhelper(7007) != 1

;trigger1 = P2dist Y = (-60,-50)
trigger1 = P2statetype = S
;trigger1 = P2movetype != H
;trigger1 = P2movetype = A

;---------------------------------------------------------------------------
;Taunt
[State -1, Taunt]
type = ChangeState
value = 195
triggerall = command = "start"
trigger1 = statetype != A
trigger1 = ctrl = 1

;---------------------------------------------------------------------------
; Run foward
[State -1]
type = ChangeState
value = 100
triggerall = stateno != 100
trigger1 = command = "FF"
trigger1 = statetype = S
trigger1 = ctrl = 1

;---------------------------------------------------------------------------
; Step back
[State -1]
type = ChangeState
value = 105
triggerall = stateno != 105
trigger1 = command = "BB"
trigger1 = statetype = S
trigger1 = ctrl = 1


;===========================================================================
;captain sword
[State -1, captain sword]
type = ChangeState
value = 7000
triggerall = command = "captain_sword"
triggerall = numhelper(1301) != 1
triggerall = numhelper(1311) != 1
triggerall = numhelper(1301) != 1
triggerall = numhelper(1329) != 1
triggerall = numhelper(7005) != 1
triggerall = numhelper(7006) != 1
triggerall = numhelper(7007) != 1
triggerall = power >= 1000
trigger1 = statetype = S
trigger1 = ctrl = 1
trigger2 = stateno = 200
trigger2 = movecontact = 1
trigger3 = stateno = 230
trigger3 = movecontact = 1
trigger4 = stateno = 240
trigger4 = movecontact = 1
trigger5 = stateno = 400
trigger5 = movecontact = 1
trigger6 = stateno = 410
trigger6 = movecontact = 1
trigger7 = stateno = 430
trigger7 = movecontact = 1
trigger8 = stateno = 440
trigger8 = movecontact = 1
trigger9 = stateno = 210
trigger9 = movecontact = 1
trigger10 = stateno = 250
trigger10 = movecontact = 1
trigger11 = stateno = 420
trigger11 = movecontact = 1
trigger12 = stateno = 450
trigger12 = movecontact = 1
trigger13 = stateno = 220
trigger13 = movecontact = 1

trigger14 = stateno = 1000
trigger14 = projcontact = 1
trigger15 = stateno = 1100
trigger15 = projcontact = 1
trigger16 = stateno = 1101
trigger16 = projcontact = 1
trigger17 = stateno = 1102
trigger17 = projcontact = 1
trigger18 = stateno = 1110
trigger18 = projcontact = 1
trigger19 = stateno = 1111
trigger19 = projcontact = 1
trigger20 = stateno = 1112
trigger20 = projcontact = 1

trigger21 = stateno = 251
trigger21 = movecontact = 1
trigger21 = statetype = A

;captain storm
[State -1, captain storm]
type = ChangeState
value = 8000
triggerall = command = "captain_storm"
triggerall = numhelper(1301) != 1
triggerall = numhelper(1311) != 1
triggerall = numhelper(1301) != 1
triggerall = numhelper(1329) != 1
triggerall = numhelper(7005) != 1
triggerall = numhelper(7006) != 1
triggerall = numhelper(7007) != 1
triggerall = power >= 1000
trigger1 = statetype = S
trigger1 = ctrl = 1
trigger2 = stateno = 200
trigger2 = movecontact = 1
trigger3 = stateno = 230
trigger3 = movecontact = 1
trigger4 = stateno = 240
trigger4 = movecontact = 1
trigger5 = stateno = 400
trigger5 = movecontact = 1
trigger6 = stateno = 410
trigger6 = movecontact = 1
trigger7 = stateno = 430
trigger7 = movecontact = 1
trigger8 = stateno = 440
trigger8 = movecontact = 1
trigger9 = stateno = 210
trigger9 = movecontact = 1
trigger10 = stateno = 250
trigger10 = movecontact = 1
trigger11 = stateno = 420
trigger11 = movecontact = 1
trigger12 = stateno = 450
trigger12 = movecontact = 1
trigger13 = stateno = 220
trigger13 = movecontact = 1

trigger14 = stateno = 1000
trigger14 = projcontact = 1
trigger15 = stateno = 1100
trigger15 =projcontact = 1
trigger16 = stateno = 1101
trigger16 = projcontact = 1
trigger17 = stateno = 1102
trigger17 = projcontact = 1
trigger18 = stateno = 1110
trigger18 = projcontact = 1
trigger19 = stateno = 1111
trigger19 = projcontact = 1
trigger20 = stateno = 1112
trigger20 = projcontact = 1

;===========================================================================
;captain fire
[State -1, captain fire]
type = ChangeState
value = 1000
triggerall = command = "captain_fire"
trigger1 = statetype = S
trigger1 = ctrl = 1
trigger2 = stateno = 200
trigger2 = movecontact = 1
trigger3 = stateno = 230
trigger3 = movecontact = 1
trigger4 = stateno = 240
trigger4 = movecontact = 1
trigger5 = stateno = 400
trigger5 = movecontact = 1
trigger6 = stateno = 410
trigger6 = movecontact = 1
trigger7 = stateno = 430
trigger7 = movecontact = 1
trigger8 = stateno = 440
trigger8 = movecontact = 1
trigger9 = stateno = 210
trigger9 = movecontact = 1
trigger10 = stateno = 250
trigger10 = movecontact = 1
trigger11 = stateno = 420
trigger11 = movecontact = 1
trigger12 = stateno = 450
trigger12 = movecontact = 1
trigger13 = stateno = 220
trigger13 = movecontact = 1

trigger14 = stateno = 1000
trigger14 = movecontact = 1
trigger15 = stateno = 1100
trigger15 = projcontact = 1
trigger16 = stateno = 1101
trigger16 = projcontact = 1
trigger17 = stateno = 1102
trigger17 = projcontact = 1
trigger18 = stateno = 1110
trigger18 = projcontact = 1
trigger19 = stateno = 1111
trigger19 = projcontact = 1
trigger20 = stateno = 1112
trigger20 = projcontact = 1

[State -1, captain_coreder];green
type = ChangeState
value = 1112
triggerall = command = "captain_coreder2"
triggerall = palno = 4
trigger1 = statetype = S
trigger1 = ctrl = 1
trigger2 = stateno = 200
trigger2 = movecontact = 1
trigger3 = stateno = 230
trigger3 = movecontact = 1
trigger4 = stateno = 240
trigger4 = movecontact = 1
trigger5 = stateno = 400
trigger5 = movecontact = 1
trigger6 = stateno = 410
trigger6 = movecontact = 1
trigger7 = stateno = 430
trigger7 = movecontact = 1
trigger8 = stateno = 440
trigger8 = movecontact = 1
trigger9 = stateno = 210
trigger9 = movecontact = 1
trigger10 = stateno = 250
trigger10 = movecontact = 1
trigger11 = stateno = 420
trigger11 = movecontact = 1
trigger12 = stateno = 450
trigger12 = movecontact = 1
trigger13 = stateno = 220
trigger13 = movecontact = 1

[State -1, captain_coreder];green
type = ChangeState
value = 1111
triggerall = command = "captain_coreder1"
triggerall = palno = 4
trigger1 = statetype = S
trigger1 = ctrl = 1
trigger2 = stateno = 200
trigger2 = movecontact = 1
trigger3 = stateno = 230
trigger3 = movecontact = 1
trigger4 = stateno = 240
trigger4 = movecontact = 1
trigger5 = stateno = 400
trigger5 = movecontact = 1
trigger6 = stateno = 410
trigger6 = movecontact = 1
trigger7 = stateno = 430
trigger7 = movecontact = 1
trigger8 = stateno = 440
trigger8 = movecontact = 1
trigger9 = stateno = 210
trigger9 = movecontact = 1
trigger10 = stateno = 250
trigger10 = movecontact = 1
trigger11 = stateno = 420
trigger11 = movecontact = 1
trigger12 = stateno = 450
trigger12 = movecontact = 1
trigger13 = stateno = 220
trigger13 = movecontact = 1


[State -1, captain_coreder];green
type = ChangeState
value = 1110
triggerall = command = "captain_coreder"
triggerall = palno = 4
trigger1 = statetype = S
trigger1 = ctrl = 1
trigger2 = stateno = 200
trigger2 = movecontact = 1
trigger3 = stateno = 230
trigger3 = movecontact = 1
trigger4 = stateno = 240
trigger4 = movecontact = 1
trigger5 = stateno = 400
trigger5 = movecontact = 1
trigger6 = stateno = 410
trigger6 = movecontact = 1
trigger7 = stateno = 430
trigger7 = movecontact = 1
trigger8 = stateno = 440
trigger8 = movecontact = 1
trigger9 = stateno = 210
trigger9 = movecontact = 1
trigger10 = stateno = 250
trigger10 = movecontact = 1
trigger11 = stateno = 420
trigger11 = movecontact = 1
trigger12 = stateno = 450
trigger12 = movecontact = 1
trigger13 = stateno = 220
trigger13 = movecontact = 1


[State -1, captain_coreder]
type = ChangeState
value = 1102
triggerall = command = "captain_coreder2"
trigger1 = statetype = S
trigger1 = ctrl = 1
trigger2 = stateno = 200
trigger2 = movecontact = 1
trigger3 = stateno = 230
trigger3 = movecontact = 1
trigger4 = stateno = 240
trigger4 = movecontact = 1
trigger5 = stateno = 400
trigger5 = movecontact = 1
trigger6 = stateno = 410
trigger6 = movecontact = 1
trigger7 = stateno = 430
trigger7 = movecontact = 1
trigger8 = stateno = 440
trigger8 = movecontact = 1
trigger9 = stateno = 210
trigger9 = movecontact = 1
trigger10 = stateno = 250
trigger10 = movecontact = 1
trigger11 = stateno = 420
trigger11 = movecontact = 1
trigger12 = stateno = 450
trigger12 = movecontact = 1
trigger13 = stateno = 220
trigger13 = movecontact = 1

[State -1, captain_coreder]
type = ChangeState
value = 1101
triggerall = command = "captain_coreder1"
trigger1 = statetype = S
trigger1 = ctrl = 1
trigger2 = stateno = 200
trigger2 = movecontact = 1
trigger3 = stateno = 230
trigger3 = movecontact = 1
trigger4 = stateno = 240
trigger4 = movecontact = 1
trigger5 = stateno = 400
trigger5 = movecontact = 1
trigger6 = stateno = 410
trigger6 = movecontact = 1
trigger7 = stateno = 430
trigger7 = movecontact = 1
trigger8 = stateno = 440
trigger8 = movecontact = 1
trigger9 = stateno = 210
trigger9 = movecontact = 1
trigger10 = stateno = 250
trigger10 = movecontact = 1
trigger11 = stateno = 420
trigger11 = movecontact = 1
trigger12 = stateno = 450
trigger12 = movecontact = 1
trigger13 = stateno = 220
trigger13 = movecontact = 1

[State -1, captain_coreder]
type = ChangeState
value = 1100
triggerall = command = "captain_coreder"
trigger1 = palno != 3
trigger1 = statetype = S
trigger1 = ctrl = 1
trigger2 = stateno = 200
trigger2 = movecontact = 1
trigger3 = stateno = 230
trigger3 = movecontact = 1
trigger4 = stateno = 240
trigger4 = movecontact = 1
trigger5 = stateno = 400
trigger5 = movecontact = 1
trigger6 = stateno = 410
trigger6 = movecontact = 1
trigger7 = stateno = 430
trigger7 = movecontact = 1
trigger8 = stateno = 440
trigger8 = movecontact = 1
trigger9 = stateno = 210
trigger9 = movecontact = 1
trigger10 = stateno = 250
trigger10 = movecontact = 1
trigger11 = stateno = 420
trigger11 = movecontact = 1
trigger12 = stateno = 450
trigger12 = movecontact = 1
trigger13 = stateno = 220
trigger13 = movecontact = 1


[State -1, captain_kick air]
type = ChangeState
value = 1221
triggerall = command = "captain_kick2"
trigger1 = statetype = A
trigger1 = ctrl = 1
trigger2 = stateno = 251
trigger2 = movecontact = 1
trigger3 = stateno = 600
trigger3 = movecontact = 1
trigger4 = stateno = 610
trigger4 = movecontact = 1
trigger5 = stateno = 620
trigger5 = movecontact = 1
trigger6 = stateno = 630
trigger6 = movecontact = 1
trigger7 = stateno = 640
trigger7 = movecontact = 1
trigger8 = stateno = 650
trigger8 = movecontact = 1

[State -1, captain_kick air]
type = ChangeState
value = 1211
triggerall = command = "captain_kick1"
trigger1 = statetype = A
trigger1 = ctrl = 1
trigger2 = stateno = 251
trigger2 = movecontact = 1
trigger3 = stateno = 600
trigger3 = movecontact = 1
trigger4 = stateno = 610
trigger4 = movecontact = 1
trigger5 = stateno = 620
trigger5 = movecontact = 1
trigger6 = stateno = 630
trigger6 = movecontact = 1
trigger7 = stateno = 640
trigger7 = movecontact = 1
trigger8 = stateno = 650
trigger8 = movecontact = 1

[State -1, captain_kick air]
type = ChangeState
value = 1201
triggerall = command = "captain_kick"
trigger1 = statetype = A
trigger1 = ctrl = 1
trigger2 = stateno = 251
trigger2 = movecontact = 1
trigger3 = stateno = 600
trigger3 = movecontact = 1
trigger4 = stateno = 610
trigger4 = movecontact = 1
trigger5 = stateno = 620
trigger5 = movecontact = 1
trigger6 = stateno = 630
trigger6 = movecontact = 1
trigger7 = stateno = 640
trigger7 = movecontact = 1
trigger8 = stateno = 650
trigger8 = movecontact = 1



[State -1, captain_kick]
type = ChangeState
value = 1220
triggerall = command = "captain_kick2"
triggerall = statetype != A
trigger1 = statetype = S
trigger1 = ctrl = 1
trigger2 = stateno = 200
trigger2 = movecontact = 1
trigger3 = stateno = 230
trigger3 = movecontact = 1
trigger4 = stateno = 240
trigger4 = movecontact = 1
trigger5 = stateno = 400
trigger5 = movecontact = 1
trigger6 = stateno = 410
trigger6 = movecontact = 1
trigger7 = stateno = 430
trigger7 = movecontact = 1
trigger8 = stateno = 440
trigger8 = movecontact = 1
trigger9 = stateno = 210
trigger9 = movecontact = 1
trigger10 = stateno = 250
trigger10 = movecontact = 1
trigger11 = stateno = 420
trigger11 = movecontact = 1
trigger12 = stateno = 450
trigger12 = movecontact = 1
trigger13 = stateno = 220
trigger13 = movecontact = 1


[State -1, captain_kick]
type = ChangeState
value = 1210
triggerall = command = "captain_kick1"
triggerall = statetype != A
trigger1 = statetype = S
trigger1 = ctrl = 1
trigger2 = stateno = 200
trigger2 = movecontact = 1
trigger3 = stateno = 230
trigger3 = movecontact = 1
trigger4 = stateno = 240
trigger4 = movecontact = 1
trigger5 = stateno = 400
trigger5 = movecontact = 1
trigger6 = stateno = 410
trigger6 = movecontact = 1
trigger7 = stateno = 430
trigger7 = movecontact = 1
trigger8 = stateno = 440
trigger8 = movecontact = 1
trigger9 = stateno = 210
trigger9 = movecontact = 1
trigger10 = stateno = 250
trigger10 = movecontact = 1
trigger11 = stateno = 420
trigger11 = movecontact = 1
trigger12 = stateno = 450
trigger12 = movecontact = 1
trigger13 = stateno = 220
trigger13 = movecontact = 1

[State -1, captain_kick]
type = ChangeState
value = 1200
triggerall = command = "captain_kick"
triggerall = statetype != A
trigger1 = statetype = S
trigger1 = ctrl = 1
trigger2 = stateno = 200
trigger2 = movecontact = 1
trigger3 = stateno = 230
trigger3 = movecontact = 1
trigger4 = stateno = 240
trigger4 = movecontact = 1
trigger5 = stateno = 400
trigger5 = movecontact = 1
trigger6 = stateno = 410
trigger6 = movecontact = 1
trigger7 = stateno = 430
trigger7 = movecontact = 1
trigger8 = stateno = 440
trigger8 = movecontact = 1
trigger9 = stateno = 210
trigger9 = movecontact = 1
trigger10 = stateno = 250
trigger10 = movecontact = 1
trigger11 = stateno = 420
trigger11 = movecontact = 1
trigger12 = stateno = 450
trigger12 = movecontact = 1
trigger13 = stateno = 220
trigger13 = movecontact = 1


[State -1, commando strike]
type = ChangeState
value = 1300
triggerall = command = "striker_shoe"
triggerall = numhelper(1301) = 0
triggerall = numhelper(1311) != 1
triggerall = numhelper(1301) != 1
triggerall = numhelper(1329) != 1
triggerall = numhelper(7005) != 1
triggerall = numhelper(7006) != 1
triggerall = numhelper(7007) != 1
trigger1 = statetype = S
trigger1 = ctrl = 1
trigger2 = stateno = 200
trigger2 = movecontact = 1
trigger3 = stateno = 230
trigger3 = movecontact = 1
trigger4 = stateno = 240
trigger4 = movecontact = 1
trigger5 = stateno = 400
trigger5 = movecontact = 1
trigger6 = stateno = 410
trigger6 = movecontact = 1
trigger7 = stateno = 430
trigger7 = movecontact = 1
trigger8 = stateno = 440
trigger8 = movecontact = 1
trigger9 = stateno = 210
trigger9 = movecontact = 1
trigger10 = stateno = 250
trigger10 = movecontact = 1
trigger11 = stateno = 420
trigger11 = movecontact = 1
trigger12 = stateno = 450
trigger12 = movecontact = 1
trigger13 = stateno = 220
trigger13 = movecontact = 1

[State -1, commando strike]
type = ChangeState
value = 1320
triggerall = command = "striker_Jenity"
triggerall = numhelper(1311) = 0
triggerall = numhelper(1321) != 1
triggerall = numhelper(1301) != 1
triggerall = numhelper(1329) != 1
triggerall = numhelper(7005) != 1
triggerall = numhelper(7006) != 1
triggerall = numhelper(7007) != 1
trigger1 = statetype = S
trigger1 = ctrl = 1
trigger2 = stateno = 200
trigger2 = movecontact = 1
trigger3 = stateno = 230
trigger3 = movecontact = 1
trigger4 = stateno = 240
trigger4 = movecontact = 1
trigger5 = stateno = 400
trigger5 = movecontact = 1
trigger6 = stateno = 410
trigger6 = movecontact = 1
trigger7 = stateno = 430
trigger7 = movecontact = 1
trigger8 = stateno = 440
trigger8 = movecontact = 1
trigger9 = stateno = 210
trigger9 = movecontact = 1
trigger10 = stateno = 250
trigger10 = movecontact = 1
trigger11 = stateno = 420
trigger11 = movecontact = 1
trigger12 = stateno = 450
trigger12 = movecontact = 1
trigger13 = stateno = 220
trigger13 = movecontact = 1

[State -1, commando strike]
type = ChangeState
value = 1310
triggerall = command = "striker_hoover"
triggerall = numhelper(1321) = 0
triggerall = numhelper(1311) != 1
triggerall = numhelper(1301) != 1
triggerall = numhelper(1329) != 1
triggerall = numhelper(7005) != 1
triggerall = numhelper(7006) != 1
triggerall = numhelper(7007) != 1
trigger1 = statetype = S
trigger1 = ctrl = 1
trigger2 = stateno = 200
trigger2 = movecontact = 1
trigger3 = stateno = 230
trigger3 = movecontact = 1
trigger4 = stateno = 240
trigger4 = movecontact = 1
trigger5 = stateno = 400
trigger5 = movecontact = 1
trigger6 = stateno = 410
trigger6 = movecontact = 1
trigger7 = stateno = 430
trigger7 = movecontact = 1
trigger8 = stateno = 440
trigger8 = movecontact = 1
trigger9 = stateno = 210
trigger9 = movecontact = 1
trigger10 = stateno = 250
trigger10 = movecontact = 1
trigger11 = stateno = 420
trigger11 = movecontact = 1
trigger12 = stateno = 450
trigger12 = movecontact = 1
trigger13 = stateno = 220
trigger13 = movecontact = 1

[State -1, commando strike]
type = ChangeState
value = 1400
triggerall = command = "striker_saki"
triggerall = numhelper(1410) != 1
trigger1 = statetype = S
trigger1 = ctrl = 1

;---------------------------------------------------------------------------
;captain fire air
[State -1, captain fire]
type = ChangeState
value = 1001
triggerall = command = "captain_fire"
trigger1 = statetype = A
trigger1 = ctrl = 1
trigger2 = stateno = 600
trigger2 = movecontact = 1
trigger3 = stateno = 610
trigger3 = movecontact = 1
trigger4 = stateno = 620
trigger4 = movecontact = 1
trigger5 = stateno = 630
trigger5 = movecontact = 1
trigger6 = stateno = 640
trigger6 = movecontact = 1
trigger7 = stateno = 650
trigger7 = movecontact = 1


;===========================================================================
;---------------------------------------------------------------------------
;Stand Light Punch
[State -1, Stand Light Punch]
type = ChangeState
value = 200
triggerall = command = "x"
triggerall = command != "holddown"
trigger1 = statetype = S
trigger1 = ctrl
trigger2 = stateno = 430
trigger2 = movecontact = 1
trigger3 = stateno = 400
trigger3 = movecontact = 1


;---------------------------------------------------------------------------
;Stand Middle Punch
[State -1, Stand Strong Punch]
type = ChangeState
value = 210
triggerall = command = "y"
triggerall = command != "holddown"
trigger1 = statetype = S
trigger1 = ctrl = 1

trigger2 = stateno = 200
trigger2 = movecontact = 1
trigger3 = stateno = 230
trigger3 = movecontact = 1
trigger4 = stateno = 240
trigger4 = movecontact = 1
trigger5 = stateno = 400
trigger5 = movecontact = 1
trigger6 = stateno = 430
trigger6 = movecontact = 1
trigger7 = stateno = 410
trigger7 = movecontact = 1
trigger8 = stateno = 440
trigger8 = movecontact = 1


;---------------------------------------------------------------------------
;Stand Strong Punch
[State -1, Stand Strong Punch]
type = ChangeState
value = 220
triggerall = command = "z"
triggerall = command != "holddown"
trigger1 = statetype = S
trigger1 = ctrl = 1

trigger2 = stateno = 200
trigger2 = movecontact = 1
trigger3 = stateno = 230
trigger3 = movecontact = 1
trigger4 = stateno = 240
trigger4 = movecontact = 1
trigger5 = stateno = 400
trigger5 = movecontact = 1
trigger6 = stateno = 410
trigger6 = movecontact = 1
trigger7 = stateno = 430
trigger7 = movecontact = 1
trigger8 = stateno = 440
trigger8 = movecontact = 1

trigger9 = stateno = 210
trigger9 = movecontact = 1
trigger10 = stateno = 250
trigger10 = movecontact = 1

trigger11 = stateno = 420
trigger11 = movecontact = 1
trigger12 = stateno = 450
trigger12 = movecontact = 1

;---------------------------------------------------------------------------
;Stand Light Kick
[State -1, Stand Light Kick]
type = ChangeState
value = 230
triggerall = command = "a"
triggerall = command != "holddown"
trigger1 = statetype = S
trigger1 = ctrl = 1

trigger2 = stateno = 200
trigger2 = movecontact = 1
trigger3 = stateno = 400
trigger3 = movecontact = 1
trigger4 = stateno = 430
trigger4 = movecontact = 1



;---------------------------------------------------------------------------
;Standing middle Kick
[State -1, Standing Strong Kick]
type = ChangeState
value = 240
triggerall = command = "b"
triggerall = command != "holddown"
trigger1 = statetype = S
trigger1 = ctrl = 1

trigger2 = stateno = 200
trigger2 = movecontact = 1
trigger3 = stateno = 230
trigger3 = movecontact = 1
trigger4 = stateno = 210
trigger4 = movecontact = 1
trigger5 = stateno = 400
trigger5 = movecontact = 1
trigger6 = stateno = 430
trigger6 = movecontact = 1
trigger7 = stateno = 410
trigger7 = movecontact = 1
trigger8 = stateno = 440
trigger8 = movecontact = 1

;---------------------------------------------------------------------------
;Standing Strong Kick
[State -1, Standing Strong Kick]
type = ChangeState
value = 250
triggerall = command = "c"
triggerall = command != "holddown"
trigger1 = statetype = S
trigger1 = ctrl = 1

trigger2 = stateno = 200
trigger2 = movecontact = 1
trigger3 = stateno = 230
trigger3 = movecontact = 1
trigger4 = stateno = 240
trigger4 = movecontact = 1
trigger5 = stateno = 400
trigger5 = movecontact = 1
trigger6 = stateno = 410
trigger6 = movecontact = 1
trigger7 = stateno = 430
trigger7 = movecontact = 1
trigger8 = stateno = 440
trigger8 = movecontact = 1

trigger9 = stateno = 210
trigger9 = movecontact = 1
trigger10 = stateno = 220
trigger10 = movecontact = 1

trigger11 = stateno = 420
trigger11 = movecontact = 1
trigger12 = stateno = 450
trigger12 = movecontact = 1

;---------------------------------------------------------------------------
;Crouching Light Punch
[State -1, Crouching Light Punch]
type = ChangeState
value = 400
triggerall = command = "x"
triggerall = command = "holddown"
trigger1 = statetype = C
trigger1 = ctrl = 1
trigger2 = stateno = 430
trigger2 = movecontact = 1
trigger3 = stateno = 400
trigger3 = movecontact = 1


;---------------------------------------------------------------------------
;Crouching Middle Punch
[State -1, Crouching Strong Punch]
type = ChangeState
value = 410
triggerall = command = "y"
triggerall = command = "holddown"
trigger1 = statetype = C
trigger1 = ctrl = 1
trigger2 = stateno = 200
trigger2 = movecontact = 1
trigger3 = stateno = 230
trigger3 = movecontact = 1
trigger4 = stateno = 210
trigger4 = movecontact = 1
trigger5 = stateno = 400
trigger5 = movecontact = 1
trigger6 = stateno = 430
trigger6 = movecontact = 1
trigger7 = stateno = 220
trigger7 = movecontact = 1
trigger8 = stateno = 440
trigger8 = movecontact = 1

;---------------------------------------------------------------------------
;Crouching strong Punch
[State -1, Crouching Strong Punch]
type = ChangeState
value = 420
triggerall = command = "z"
triggerall = command = "holddown"
trigger1 = statetype = C
trigger1 = ctrl = 1
trigger2 = stateno = 200
trigger2 = movecontact = 1
trigger3 = stateno = 230
trigger3 = movecontact = 1
trigger4 = stateno = 240
trigger4 = movecontact = 1
trigger5 = stateno = 400
trigger5 = movecontact = 1
trigger6 = stateno = 410
trigger6 = movecontact = 1
trigger7 = stateno = 430
trigger7 = movecontact = 1
trigger8 = stateno = 440
trigger8 = movecontact = 1

trigger9 = stateno = 210
trigger9 = movecontact = 1
trigger10 = stateno = 220
trigger10 = movecontact = 1

trigger11 = stateno = 250
trigger11 = movecontact = 1
trigger12 = stateno = 450
trigger12 = movecontact = 1

;---------------------------------------------------------------------------
;Crouching Light Kick
[State -1, Crouching Light Kick]
type = ChangeState
value = 430
triggerall = command = "a"
triggerall = command = "holddown"
trigger1 = statetype = C
trigger1 = ctrl = 1
trigger2 = stateno = 430
trigger2 = movecontact = 1
trigger3 = stateno = 400
trigger3 = movecontact = 1

;---------------------------------------------------------------------------
;Crouching Middle Kick
[State -1, Crouching MIddle Kick]
type = ChangeState
value = 440
triggerall = command = "b"
triggerall = command = "holddown"
trigger1 = statetype = C
trigger1 = ctrl = 1
trigger2 = stateno = 200
trigger2 = movecontact = 1
trigger3 = stateno = 230
trigger3 = movecontact = 1
trigger4 = stateno = 210
trigger4 = movecontact = 1
trigger5 = stateno = 400
trigger5 = movecontact = 1
trigger6 = stateno = 430
trigger6 = movecontact = 1
trigger7 = stateno = 220
trigger7 = movecontact = 1
trigger8 = stateno = 410
trigger8 = movecontact = 1

;---------------------------------------------------------------------------
;Crouching Strong Kick
[State -1, Crouching Strong Kick]
type = ChangeState
value = 450
triggerall = command = "c"
triggerall = command = "holddown"
trigger1 = statetype = C
trigger1 = ctrl = 1
trigger2 = stateno = 200
trigger2 = movecontact = 1
trigger3 = stateno = 230
trigger3 = movecontact = 1
trigger4 = stateno = 240
trigger4 = movecontact = 1
trigger5 = stateno = 400
trigger5 = movecontact = 1
trigger6 = stateno = 410
trigger6 = movecontact = 1
trigger7 = stateno = 430
trigger7 = movecontact = 1
trigger8 = stateno = 440
trigger8 = movecontact = 1

trigger9 = stateno = 210
trigger9 = movecontact = 1
trigger10 = stateno = 220
trigger10 = movecontact = 1

trigger11 = stateno = 250
trigger11 = movecontact = 1
trigger12 = stateno = 420
trigger12 = movecontact = 1


;---------------------------------------------------------------------------
;Jump Light Punch
[State -1, Jump Light Punch]
type = ChangeState
value = 600
triggerall = command = "x"
trigger1 = statetype = A
trigger1 = ctrl = 1
trigger2 = stateno = 610
trigger2 = movecontact = 1

;---------------------------------------------------------------------------
;Jump middle Punch
[State -1, Jump Strong Punch]
type = ChangeState
value = 610
triggerall = command = "y"
trigger1 = statetype = A
trigger1 = ctrl = 1
trigger2 = stateno = 600
trigger2 = movecontact = 1
trigger3 = stateno = 620
trigger3 = movecontact = 1
trigger4 = stateno = 630
trigger4 = movecontact = 1

;---------------------------------------------------------------------------
;Jump Strong Punch
[State -1, Jump Strong Punch]
type = ChangeState
value = 620
triggerall = command = "z"
trigger1 = statetype = A
trigger1 = ctrl = 1
trigger2 = stateno = 600
trigger2 = movecontact = 1
trigger3 = stateno = 610
trigger3 = movecontact = 1
trigger4 = stateno = 630
trigger4 = movecontact = 1
trigger5 = stateno = 640
trigger5 = movecontact = 1

;---------------------------------------------------------------------------
;Jump Light Kick
[State -1, Jump Light Kick]
type = ChangeState
value = 630
triggerall = command = "a"
trigger1 = statetype = A
trigger1 = ctrl = 1
trigger2 = stateno = 600
trigger2 = movecontact = 1

;---------------------------------------------------------------------------
;Jump Middle Kick
[State -1, Jump Strong Kick]
type = ChangeState
value = 640
triggerall = command = "b"
trigger1 = statetype = A
trigger1 = ctrl = 1
trigger2 = stateno = 600
trigger2 = movecontact = 1
trigger3 = stateno = 610
trigger3 = movecontact = 1
trigger4 = stateno = 630
trigger4 = movecontact = 1
trigger5 = stateno = 640
trigger5 = movecontact = 1

;---------------------------------------------------------------------------
;Jump Strong Kick
[State -1, Jump Strong Kick]
type = ChangeState
value = 650
triggerall = command = "c"
trigger1 = statetype = A
trigger1 = ctrl = 1
trigger2 = stateno = 600
trigger2 = movecontact = 1
trigger3 = stateno = 610
trigger3 = movecontact = 1
trigger4 = stateno = 620
trigger4 = movecontact = 1
trigger5 = stateno = 630
trigger5 = movecontact = 1
trigger6 = stateno = 640
trigger6 = movecontact = 1




