;======================================================================
;======================================================================
; Commands file for "Mai Kawasumi"
;======================================================================
;======================================================================

;----------------------------------------------------------------------
; Button remapping and default initialize
;----------------------------------------------------------------------

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

[Defaults]
command.time = 15
command.buffer.time = 1

;----------------------------------------------------------------------
; Artificial Intelligence
;----------------------------------------------------------------------

;----------------------------------------------------------------------
; Super Special Moves
;----------------------------------------------------------------------

[Command]
name = "2141236c"
command = ~D, B, D, F, c
time = 25

[Command]
name = "2363214c"
command = ~D, F, D, B, c
time = 25

[Command]
name = "2141236b"
command = ~D, B, D, F, b
time = 25

[Command]
name = "2363214b"
command = ~D, F, D, B, b
time = 25

[Command]
name = "2141236a"
command = ~D, B, D, F, a
time = 25

[Command]
name = "2363214a"
command = ~D, F, D, B, a
time = 25

[Command]
name = "214214a"
command = ~D, B, D, B, a
time = 25

[Command]
name = "236236a"
command = ~D, F, D, F, a
time = 25

[Command]
name = "236236b"
command = ~D, F, D, F, b
time = 25

[Command]
name = "236236c"
command = ~D, F, D, F, c
time = 25

[Command]
name = "236236z"
command = ~D, F, D, F, z
time = 25

;----------------------------------------------------------------------
; Special Moves
;----------------------------------------------------------------------

[Command]
name = "63214x"
command = ~$F, $D, $B, x
time = 10

[Command]
name = "63214y"
command = ~$F, $D, $B, y
time = 10

[Command]
name = "63214z"
command = ~$F, $D, $B, z
time = 10

[Command]
name = "63214a"
command = ~$F, $D, $B, a
time = 10

[Command]
name = "63214b"
command = ~$F, $D, $B, b
time = 10

[Command]
name = "63214c"
command = ~$F, $D, $B, c
time = 10

[Command]
name = "41236x"
command = ~$B, $D, $F, x
time = 10

[Command]
name = "41236y"
command = ~$B, $D, $F, y
time = 10

[Command]
name = "41236z"
command = ~$B, $D, $F, z
time = 10

[Command]
name = "41236a"
command = ~$B, $D, $F, a
time = 10

[Command]
name = "41236b"
command = ~$B, $D, $F, b
time = 10

[Command]
name = "41236c"
command = ~$B, $D, $F, c
time = 10

[Command]
name = "421a"
command = ~B, D, DB, a
time = 13

[Command]
name = "421b"
command = ~B, D, DB, b
time = 13

[Command]
name = "421c"
command = ~B, D, DB, c
time = 13

[Command]
name = "623a"
command = ~F, D, DF, a
time = 13

[Command]
name = "623b"
command = ~F, D, DF, b
time = 13

[Command]
name = "623c"
command = ~F, D, DF, c
time = 13

[Command]
name = "214bc"
command = ~D, DB, B, b+c
time = 15
buffer.time = 5

[Command]
name = "236bc"
command = ~D, DF, F, b+c
time = 15
buffer.time = 5

[Command]
name = "214a"
command = ~D, DB, B, a
time = 10

[Command]
name = "214b"
command = ~D, DB, B, b
time = 10

[Command]
name = "214c"
command = ~D, DB, B, c
time = 10

[Command]
name = "236a"
command = ~D, DF, F, a
time = 10

[Command]
name = "236b"
command = ~D, DF, F, b
time = 10

[Command]
name = "236c"
command = ~D, DF, F, c
time = 10

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

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

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

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

[Command]
name = "DU" 
command = ~D,$U
time = 7

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

;----------------------------------------------------------------------
; Single Button - Hold
;----------------------------------------------------------------------

[Command]
name = "hold_a"
command = /a
time = 1

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

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

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

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

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

;----------------------------------------------------------------------
; Directions
;----------------------------------------------------------------------

[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

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

;----------------------------------------------------------------------
; Others
;----------------------------------------------------------------------

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

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

[Command]
name = "ac"
command = a+c
time = 1

;----------------------------------------------------------------------
; System Required
;----------------------------------------------------------------------

[Command]
name = "FF"
command = F, F
time = 10

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

[Command]
name = "DD"
command = D, D
time = 10

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

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

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

[Command]
name = "recovery"
command = a
time = 1

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

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

;======================================================================
;======================================================================
; Statedef -1
;======================================================================
;======================================================================

[Statedef -1]

;----------------------------------------------------------------------
; Hyper Special Moves
;----------------------------------------------------------------------

[State -1, 236236Z]
type = ChangeState
triggerall = command = "236236z"
triggerall = StateType != A
triggerall = Alive
triggerall = RoundState = 2
triggerall = !isHelper
triggerall = Power >= 3000
triggerall = var(17) = 0
triggerall = var(10) = 0
trigger1 = Ctrl
trigger2 = (StateNo = [200,329])
trigger3 = (StateNo = [600,999])
trigger4 = (StateNo = [6000,6090])
value = 7000

[State -1, 2141236A]
type = ChangeState
triggerall = command = "2141236a"
triggerall = StateType != A
triggerall = Alive
triggerall = RoundState = 2
triggerall = !isHelper
triggerall = Power >= 1000
triggerall = var(17) > 0
trigger1 = Ctrl
trigger2 = (StateNo = [200,329])
trigger3 = (StateNo = [600,999])
trigger4 = (StateNo = [6000,6090])
value = 7020

[State -1, 2141236B]
type = ChangeState
triggerall = command = "2141236b"
triggerall = StateType != A
triggerall = Alive
triggerall = RoundState = 2
triggerall = !isHelper
triggerall = Power >= 1000
triggerall = var(17) > 0
trigger1 = Ctrl
trigger2 = (StateNo = [200,329])
trigger3 = (StateNo = [600,999])
trigger4 = (StateNo = [6000,6090])
value = 7010

[State -1, 2141236C]
type = ChangeState
triggerall = command = "2141236c"
triggerall = StateType != A
triggerall = Alive
triggerall = RoundState = 2
triggerall = !isHelper
triggerall = Power >= 1000
triggerall = var(17) > 0
trigger1 = Ctrl
trigger2 = (StateNo = [200,329])
trigger3 = (StateNo = [600,999])
trigger4 = (StateNo = [6000,6090])
value = 7030

[State -1, 2363214A]
type = ChangeState
triggerall = command = "2363214a"
triggerall = StateType != A
triggerall = Alive
triggerall = RoundState = 2
triggerall = !isHelper
triggerall = Power >= 1000
triggerall = var(17) > 0
trigger1 = Ctrl
trigger2 = (StateNo = [200,329])
trigger3 = (StateNo = [600,999])
trigger4 = (StateNo = [6000,6090])
value = 7040

;----------------------------------------------------------------------
; Super Special Moves
;----------------------------------------------------------------------

[State -1, 236236A]
type = ChangeState
triggerall = command = "236236a"
triggerall = StateType != A
triggerall = Alive
triggerall = RoundState = 2
triggerall = !isHelper
triggerall = Power >= 1000 
trigger1 = Ctrl
trigger2 = (StateNo = [200,329])
trigger3 = (StateNo = [600,999])
trigger4 = (StateNo = [6000,6090])
value = 6500

[State -1, 236236B]
type = ChangeState
triggerall = command = "236236b"
triggerall = StateType != A
triggerall = Alive
triggerall = RoundState = 2
triggerall = !isHelper
triggerall = Power >= 2000 
trigger1 = Ctrl
trigger2 = (StateNo = [200,329])
trigger3 = (StateNo = [600,999])
trigger4 = (StateNo = [6000,6090])
value = 6510

[State -1, 236236B]
type = ChangeState
triggerall = command = "236236c"
triggerall = StateType != A
triggerall = Alive
triggerall = RoundState = 2
triggerall = !isHelper
triggerall = Power >= 3000 
trigger1 = Ctrl
trigger2 = (StateNo = [200,329])
trigger3 = (StateNo = [600,999])
trigger4 = (StateNo = [6000,6090])
value = 6520

;----------------------------------------------------------------------
; RainForce
;----------------------------------------------------------------------

[State -1, 236BC]
type = ChangeState
triggerall = command = "236bc"
triggerall = StateType != A
triggerall = Alive
triggerall = RoundState = 2
triggerall = !isHelper
triggerall = (fvar(31) = 2 && fvar(30) > 100) || fvar(31) = 3 
trigger1 = Ctrl
trigger2 = (StateNo = [200,329]) && (var(2) = [1,2])
value = 6000

[State -1, 214BC]
type = ChangeState
triggerall = command = "214bc"
triggerall = StateType != A
triggerall = Alive
triggerall = RoundState = 2
triggerall = !isHelper
triggerall = (fvar(31) = 2 && fvar(30) > 100) || fvar(31) = 3 
trigger1 = Ctrl
trigger2 = (StateNo = [200,329]) && (var(2) = [1,2])
value = 6020

;----------------------------------------------------------------------
; Super Moves
;----------------------------------------------------------------------

[State -1, 41236A]
type = ChangeState
triggerall = command = "41236a"
triggerall = StateType != A
triggerall = Alive
triggerall = RoundState = 2
triggerall = !isHelper
triggerall = NumHelper(1000) = 0
triggerall = var(10) = 0
triggerall = var(17) = 0
triggerall = fvar(34) = 0
trigger1 = Ctrl
trigger2 = (StateNo = [200,329]) && (var(2) = [1,2])
value = 710

[State -1, 41236B]
type = ChangeState
triggerall = command = "41236b"
triggerall = StateType != A
triggerall = Alive
triggerall = RoundState = 2
triggerall = !isHelper
triggerall = NumHelper(1000) = 0
triggerall = var(10) = 0
triggerall = var(17) = 0
triggerall = fvar(34) = 0
trigger1 = Ctrl
trigger2 = (StateNo = [200,329]) && (var(2) = [1,2])
value = 720

[State -1, 41236C]
type = ChangeState
triggerall = command = "41236c"
triggerall = StateType != A
triggerall = Alive
triggerall = RoundState = 2
triggerall = !isHelper
triggerall = NumHelper(1000) = 0
triggerall = var(10) = 0
triggerall = var(17) = 0
triggerall = fvar(34) = 0
trigger1 = Ctrl
trigger2 = (StateNo = [200,329]) && (var(2) = [1,2])
value = 730

[State -1, 63214A]
type = ChangeState
triggerall = command = "63214a"
triggerall = StateType != A
triggerall = Alive
triggerall = RoundState = 2
triggerall = !isHelper
triggerall = NumHelper(1000) = 0
triggerall = var(10) = 0
triggerall = var(17) = 0
triggerall = fvar(34) = 0
trigger1 = Ctrl
trigger2 = (StateNo = [200,329]) && (var(2) = [1,2])
value = 740

[State -1, 63214B]
type = ChangeState
triggerall = command = "63214b"
triggerall = StateType != A
triggerall = Alive
triggerall = RoundState = 2
triggerall = !isHelper
triggerall = NumHelper(1000) = 0
triggerall = var(10) = 0
triggerall = var(17) = 0
triggerall = fvar(34) = 0
trigger1 = Ctrl
trigger2 = (StateNo = [200,329]) && (var(2) = [1,2])
value = 750

[State -1, 63214C]
type = ChangeState
triggerall = command = "63214c"
triggerall = StateType != A
triggerall = Alive
triggerall = RoundState = 2
triggerall = !isHelper
triggerall = NumHelper(1000) = 0
triggerall = var(10) = 0
triggerall = var(17) = 0
triggerall = fvar(34) = 0
trigger1 = Ctrl
trigger2 = (StateNo = [200,329]) && (var(2) = [1,2])
value = 760

[State -1, 623a]
type = ChangeState
triggerall = StateType != A
triggerall = Alive
triggerall = RoundState = 2
triggerall = !isHelper
triggerall = NumHelper(1000) = 0
triggerall = var(10) = 0
triggerall = fvar(31) = 3 
triggerall = fvar(34) = 0
triggerall = StateNo != 125
triggerall = StateNo = [120,155]
trigger1 = command = "623a"
trigger2 = command = "623b"
trigger3 = command = "623c"
value = 706

[State -1, 421A]
type = ChangeState
triggerall = command = "421a"
triggerall = StateType != A
triggerall = Alive
triggerall = RoundState = 2
triggerall = !isHelper
trigger1 = Ctrl
trigger2 = (StateNo = [200,329]) && (var(2) = [1,2])
value = 660

[State -1, 421A]
type = ChangeState
triggerall = command = "421a"
triggerall = StateType = A
triggerall = Alive
triggerall = RoundState = 2
triggerall = !isHelper
trigger1 = Ctrl
trigger2 = (StateNo = [400,420]) && (var(2) = [1,2])
value = 665

[State -1, 421B]
type = ChangeState
triggerall = command = "421b"
triggerall = StateType != A
triggerall = Alive
triggerall = RoundState = 2
triggerall = !isHelper
trigger1 = Ctrl
trigger2 = (StateNo = [200,329]) && (var(2) = [1,2])
value = 670

[State -1, 421B]
type = ChangeState
triggerall = command = "421b"
triggerall = StateType = A
triggerall = Alive
triggerall = RoundState = 2
triggerall = !isHelper
trigger1 = Ctrl
trigger2 = (StateNo = [400,420]) && (var(2) = [1,2])
value = 675

[State -1, 421C]
type = ChangeState
triggerall = command = "421c"
triggerall = StateType != A
triggerall = Alive
triggerall = RoundState = 2
triggerall = !isHelper
trigger1 = Ctrl
trigger2 = (StateNo = [200,329]) && (var(2) = [1,2])
value = 680

[State -1, 421C]
type = ChangeState
triggerall = command = "421c"
triggerall = StateType = A
triggerall = Alive
triggerall = RoundState = 2
triggerall = !isHelper
trigger1 = Ctrl
trigger2 = (StateNo = [400,420]) && (var(2) = [1,2])
value = 685

[State -1, 214A]
type = ChangeState
triggerall = command = "214a"
triggerall = StateType != A
triggerall = Alive
triggerall = RoundState = 2
triggerall = !isHelper
trigger1 = Ctrl
trigger2 = (StateNo = [200,329]) && (var(2) = [1,2])
value = 630

[State -1, 214B]
type = ChangeState
triggerall = command = "214b"
triggerall = StateType != A
triggerall = Alive
triggerall = RoundState = 2
triggerall = !isHelper
trigger1 = Ctrl
trigger2 = (StateNo = [200,329]) && (var(2) = [1,2])
value = 640

[State -1, 214C]
type = ChangeState
triggerall = command = "214c"
triggerall = StateType != A
triggerall = Alive
triggerall = RoundState = 2
triggerall = !isHelper
trigger1 = Ctrl
trigger2 = (StateNo = [200,329]) && (var(2) = [1,2])
value = 650

[State -1, 236A]
type = ChangeState
triggerall = command = "236a"
triggerall = StateType != A
triggerall = Alive
triggerall = RoundState = 2
triggerall = !isHelper
trigger1 = Ctrl
trigger2 = (StateNo = [200,329]) && (var(2) = [1,2])
value = 600

[State -1, 236B]
type = ChangeState
triggerall = command = "236b"
triggerall = StateType != A
triggerall = Alive
triggerall = RoundState = 2
triggerall = !isHelper
trigger1 = Ctrl
trigger2 = (StateNo = [200,329]) && (var(2) = [1,2])
value = 610

[State -1, 236C]
type = ChangeState
triggerall = command = "236c"
triggerall = StateType != A
triggerall = Alive
triggerall = RoundState = 2
triggerall = !isHelper
trigger1 = Ctrl
trigger2 = (StateNo = [200,329]) && (var(2) = [1,2])
value = 620

[State -1, 22A]
type = ChangeState
triggerall = command = "22a"
triggerall = StateType != A
triggerall = Alive
triggerall = RoundState = 2
triggerall = !isHelper
triggerall = (var(9) = 0) || (var(9) = 2)
trigger1 = Ctrl
trigger2 = (StateNo = [200,329]) && (var(2) = [1,2])
value = 690

[State -1, 22B]
type = ChangeState
triggerall = command = "22b"
triggerall = StateType != A
triggerall = Alive
triggerall = RoundState = 2
triggerall = !isHelper
trigger1 = Ctrl
trigger2 = (StateNo = [200,329]) && (var(2) = [1,2])
value = 695

[State -1, 22C]
type = ChangeState
triggerall = command = "22c"
triggerall = StateType != A
triggerall = Alive
triggerall = RoundState = 2
triggerall = !isHelper
trigger1 = Ctrl
trigger2 = (StateNo = [200,329]) && (var(2) = [1,2])
value = 770

;----------------------------------------------------------------------
; Special Moves
;----------------------------------------------------------------------

[State -1, Dash]
type = ChangeState
triggerall = command = "FF"
triggerall = StateType != A
triggerall = Alive
triggerall = RoundState = 2
triggerall = !isHelper
triggerall = StateNo != [100,106]
trigger1 = Ctrl
value = 100

[State -1, Back Dash]
type = ChangeState
triggerall = command = "BB"
triggerall = StateType != A
triggerall = Alive
triggerall = RoundState = 2
triggerall = !isHelper
triggerall = StateNo != [100,106]
trigger1 = Ctrl
value = 105

[State -1, Air Dash]
type = ChangeState
triggerall = command = "FF"
triggerall = StateType = A
triggerall = Alive
triggerall = RoundState = 2
triggerall = !isHelper
triggerall = var(7) < 2
trigger1 = Ctrl
trigger2 = (StateNo = [110,115]) && (Time >= 7)
trigger3 = (StateNo = [400,420]) && (var(2) = [1,2])
value = 110

[State -1, Air Back Dash]
type = ChangeState
triggerall = command = "BB"
triggerall = StateType = A
triggerall = Alive
triggerall = RoundState = 2
triggerall = !isHelper
triggerall = var(7) < 2
trigger1 = Ctrl
trigger2 = (StateNo = [110,115]) && (Time >= 7)
trigger3 = (StateNo = [400,420]) && (var(2) = [1,2])
value = 115

[State -1, Air Jump]
type = ChangeState
triggerall = StateType = A
triggerall = Alive
triggerall = RoundState = 2
triggerall = !isHelper
triggerall = var(5) < 1
triggerall = ctrl
trigger1 = var(6) = 1
value = 45

[State -1, Throw - in Ground]
type = ChangeState
triggerall = command = "c"
triggerall = StateType = S
triggerall = MoveType = I
triggerall = P2BodyDist X < 20
triggerall = P2MoveType != H
triggerall = P2StateType != A
triggerall = Alive
triggerall = RoundState = 2
triggerall = !isHelper
triggerall = ctrl
trigger1 = command = "holdfwd"
trigger2 = command = "holdback"
value = 500

[State -1, Throw - in Ariel]
type = ChangeState
triggerall = command = "ab"
triggerall = StateType = A
triggerall = P2StateType = A
triggerall = P2BodyDist X < 20
triggerall = Alive
triggerall = !isHelper
triggerall = (command = "holdfwd") || (command = "holdback")
triggerall = P2StateNo != [120,155]
trigger1 = ctrl
trigger2 = (StateNo = [400,420]) && (var(2) = [1,2])
value = 505

[State -1, Advancing Guard(Standing)]
type = ChangeState
triggerall = Alive
triggerall = RoundState = 2
triggerall = !isHelper
triggerall = (stateno = 150) || (stateno = 151)
trigger1 = command = "ab"
trigger2 = command = "bc"
trigger3 = command = "ac"
value = 510

[State -1, Advancing Guard(Crouching)]
type = ChangeState
triggerall = Alive
triggerall = RoundState = 2
triggerall = !isHelper
triggerall = (stateno = 152) || (stateno = 153)
trigger1 = command = "ab"
trigger2 = command = "bc"
trigger3 = command = "ac"
value = 511

[State -1, Advancing Guard(Ariel)]
type = ChangeState
triggerall = Alive
triggerall = RoundState = 2
triggerall = !isHelper
triggerall = (stateno = 154) || (stateno = 155)
trigger1 = command = "ab"
trigger2 = command = "bc"
trigger3 = command = "ac"
value = 512

[State -1, Super Jump(Newtral)]
type = ChangeState
triggerall = Alive
triggerall = RoundState = 2
triggerall = !isHelper
triggerall = command = "DU"
triggerall = command != "holdfwd"
triggerall = command != "holdback"
triggerall = StateType != A
trigger1 = ctrl
value = 520

[State -1, Super Jump(Forward)]
type = ChangeState
triggerall = Alive
triggerall = RoundState = 2
triggerall = !isHelper
triggerall = command = "DU"
triggerall = command = "holdfwd"
triggerall = command != "holdback"
triggerall = StateType != A
trigger1 = ctrl
value = 521

[State -1, Super Jump(Back)]
type = ChangeState
triggerall = Alive
triggerall = RoundState = 2
triggerall = !isHelper
triggerall = command = "DU"
triggerall = command != "holdfwd"
triggerall = command = "holdback"
triggerall = StateType != A
trigger1 = ctrl
value = 522

[State -1, Jump Cancel - in Ground]
type = ChangeState
triggerall = command = "up"
triggerall = StateType != A
triggerall = Alive
triggerall = RoundState = 2
triggerall = !isHelper
triggerall = var(2) = [1,2]
trigger1 = StateNo = [200,329]
trigger2 = StateNo = 600
value = 40

[State -1, Jump Cancel - in Air]
type = ChangeState
triggerall = command = "up"
triggerall = StateType = A
triggerall = Alive
triggerall = RoundState = 2
triggerall = !isHelper
triggerall = StateNo = [400,430]
triggerall = var(5) < 1
trigger1 = var(2) = [1,2]
value = 45

[State -1, Falling Down]
type = ChangeState
triggerall = command = "DD"
triggerall = statetype = A
triggerall = stateno != 523
triggerall = Alive
triggerall = RoundState = 2
triggerall = !isHelper
trigger1 = ctrl
value = 523
ignorehitpause = 1

[State -1, Counter Attack]
type = ChangeState
triggerall = (command = "a") || (command = "b") || (command = "c")
triggerall = Alive
triggerall = RoundState = 2
triggerall = !isHelper
triggerall = stateno = [150,153] 
trigger1 = P2StateNo = var(20)
trigger1 = var(20) != 0
trigger2 = P2StateNo = var(21)
trigger2 = var(21) != 0
trigger3 = P2StateNo = var(22)
trigger3 = var(22) != 0
trigger4 = P2StateNo = var(23)
trigger4 = var(23) != 0
trigger5 = P2StateNo = var(24)
trigger5 = var(24) != 0
trigger6 = P2StateNo = var(25)
trigger6 = var(25) != 0
trigger7 = P2StateNo = var(26)
trigger7 = var(26) != 0
trigger8 = P2StateNo = var(27)
trigger8 = var(27) != 0
trigger9 = P2StateNo = var(28)
trigger9 = var(28) != 0
trigger10 = P2StateNo = var(29)
trigger10 = var(29) != 0
value = 697

[State -1, Instant Charge]
type = ChangeState
triggerall = command = "22z"
triggerall = StateType != A
triggerall = Alive
triggerall = RoundState = 2
triggerall = !isHelper
triggerall = (fvar(31) = 2 && fvar(30) > 100) || fvar(31) = 3
triggerall = StateNo != [6020,6029]
trigger1 = (StateNo = [200,420]) && (var(2) = [1,2])
trigger2 = (StateNo = [600,6509]) && (var(2) = [1,2])
value = 530

[State -1, Flicker Instant Charge]
type = ChangeState
triggerall = (command = "ab") || (command = "bc") || (command = "ac")
triggerall = StateType != A
triggerall = Alive
triggerall = RoundState = 2
triggerall = !isHelper
triggerall = (fvar(31) = 2 && fvar(30) > 100) || fvar(31) = 3 
trigger1 = var(16) = 1
value = 530

[State -1, Instant Charge]
type = ChangeState
triggerall = command = "22z"
triggerall = StateType = A
triggerall = Alive
triggerall = RoundState = 2
triggerall = !isHelper
triggerall = (fvar(31) = 2 && fvar(30) > 100) || fvar(31) = 3 
trigger1 = (StateNo = [200,420]) && (var(2) = [1,2])
trigger2 = (StateNo = [600,6509]) && (var(2) = [1,2])
trigger3 = var(16) = 1
value = 531

[State -1, Safe Standing]
type = ChangeState
triggerall = command = "22z"
triggerall = StateType != A
triggerall = Alive
triggerall = RoundState = 2
triggerall = !isHelper
triggerall = fvar(31) = 3 
trigger1 = (StateNo = [5110,5120])
value = 532

;----------------------------------------------------------------------
; Stand Move
;----------------------------------------------------------------------

[State -1, Stand ON]
type = ChangeState
triggerall = command = "z"
triggerall = StateType != A
triggerall = Alive
triggerall = RoundState = 2
triggerall = !isHelper
triggerall = NumHelper(1000) = 0
triggerall = var(10) = 0
triggerall = var(17) = 0
triggerall = fvar(34) = 0
trigger1 = Ctrl
value = 700

[State -1, Stand OFF]
type = ChangeState
triggerall = command = "z"
triggerall = StateType != A
triggerall = Alive
triggerall = RoundState = 2
triggerall = !isHelper
triggerall = NumHelper(1000) > 0
triggerall = var(10) = 1
triggerall = var(12) = 0
trigger1 = Ctrl
value = 701

;----------------------------------------------------------------------
; Basic Attacks
;----------------------------------------------------------------------

[State -1, Stand Light Attack (Hold Forward)]
type = ChangeState
triggerall = command = "a"
triggerall = command = "holdfwd"
triggerall = command != "holddown"
triggerall = StateType != A
triggerall = Alive
triggerall = RoundState = 2
triggerall = !isHelper
trigger1 = Ctrl
trigger2 = StateNo = 200 && (var(2) = [1,2])
trigger3 = StateNo = 300 && (var(2) = [1,2])
trigger4 = StateNo = 301 && (var(2) = [1,2])
value = 210

[State -1, Stand Light Attack]
type = ChangeState
triggerall = command = "a"
triggerall = command != "holdfwd"
triggerall = command != "holddown"
triggerall = StateType != A
triggerall = Alive
triggerall = RoundState = 2
triggerall = !isHelper
trigger1 = Ctrl
trigger2 = (StateNo = 200) && (AnimElemTime(3) > 0)
value = 200

[State -1, Stand Medium Attack (Hold Forward)]
type = ChangeState
triggerall = command = "b"
triggerall = command = "holdfwd"
triggerall = command != "holddown"
triggerall = StateType != A
triggerall = Alive
triggerall = RoundState = 2
triggerall = !isHelper
trigger1 = Ctrl
trigger2 = StateNo = 200 && (var(2) = [1,2])
trigger3 = StateNo = 210 && (var(2) = [1,2])
trigger4 = StateNo = 220 && (var(2) = [1,2])
trigger5 = StateNo = 300 && (var(2) = [1,2])
trigger6 = StateNo = 301 && (var(2) = [1,2])
trigger7 = StateNo = 310 && (var(2) = [1,2])
trigger8 = StateNo = 311 && (var(2) = [1,2])
value = 250

[State -1, Stand Medium Attack]
type = ChangeState
triggerall = command = "b"
triggerall = command != "holdfwd"
triggerall = command != "holddown"
triggerall = StateType != A
triggerall = Alive
triggerall = RoundState = 2
triggerall = !isHelper
trigger1 = Ctrl
trigger2 = StateNo = 200 && (var(2) = [1,2])
trigger3 = StateNo = 210 && (var(2) = [1,2])
trigger4 = StateNo = 300 && (var(2) = [1,2])
trigger5 = StateNo = 301 && (var(2) = [1,2])
value = 220

[State -1, Stand Strong Attack]
type = ChangeState
triggerall = command = "c"
triggerall = command = "holdfwd"
triggerall = command != "holddown"
triggerall = StateType != A
triggerall = Alive
triggerall = RoundState = 2
triggerall = !isHelper
trigger1 = Ctrl
trigger2 = StateNo = 200 && (var(2) = [1,2])
trigger3 = StateNo = 210 && (var(2) = [1,2])
trigger4 = StateNo = 220 && (var(2) = [1,2])
trigger5 = StateNo = 230 && (var(2) = [1,2])
trigger6 = StateNo = 250 && (var(2) = [1,2])
trigger7 = StateNo = 300 && (var(2) = [1,2])
trigger8 = StateNo = 301 && (var(2) = [1,2])
trigger9 = StateNo = 310 && (var(2) = [1,2])
trigger10 = StateNo = 311 && (var(2) = [1,2])
value = 240

[State -1, Stand Strong Attack]
type = ChangeState
triggerall = command = "c"
triggerall = command != "holdfwd"
triggerall = command != "holddown"
triggerall = StateType != A
triggerall = Alive
triggerall = RoundState = 2
triggerall = !isHelper
trigger1 = Ctrl
trigger2 = StateNo = 200 && (var(2) = [1,2])
trigger3 = StateNo = 210 && (var(2) = [1,2])
trigger4 = StateNo = 220 && (var(2) = [1,2])
trigger5 = StateNo = 250 && (var(2) = [1,2])
trigger6 = StateNo = 300 && (var(2) = [1,2])
trigger7 = StateNo = 301 && (var(2) = [1,2])
trigger8 = StateNo = 310 && (var(2) = [1,2])
trigger9 = StateNo = 311 && (var(2) = [1,2])
value = 230

[State -1, Crouch Light Attack]
type = ChangeState
triggerall = command = "a"
triggerall = command = "holddown"
triggerall = StateType != A
triggerall = Alive
triggerall = RoundState = 2
triggerall = !isHelper
triggerall = StateNo != 10
trigger1 = Ctrl
trigger2 = (StateNo = 300) && (AnimElemTime(2) > 0)
trigger3 = (StateNo = 301) && (AnimElemTime(2) > 0)
value = 300

[State -1, Crouch Medium Attack]
type = ChangeState
triggerall = command = "b"
triggerall = command = "holddown"
triggerall = StateType != A
triggerall = Alive
triggerall = RoundState = 2
triggerall = !isHelper
triggerall = StateNo != 10
trigger1 = Ctrl
trigger2 = (StateNo = 200) && (var(2) = [1,2])
trigger3 = (StateNo = 210) && (var(2) = [1,2])
trigger4 = (StateNo = 300) && (var(2) = [1,2])
trigger5 = (StateNo = 301) && (var(2) = [1,2])
value = 310

[State -1, Crouch Strong Attack]
type = ChangeState
triggerall = command = "c"
triggerall = command = "holddown"
triggerall = StateType != A
triggerall = Alive
triggerall = RoundState = 2
triggerall = !isHelper
triggerall = StateNo != 10
trigger1 = Ctrl
trigger2 = (StateNo = 200) && (var(2) = [1,2])
trigger3 = (StateNo = 210) && (var(2) = [1,2])
trigger4 = (StateNo = 220) && (var(2) = [1,2])
trigger5 = (StateNo = 250) && (var(2) = [1,2])
trigger6 = (StateNo = 300) && (var(2) = [1,2])
trigger7 = (StateNo = 301) && (var(2) = [1,2])
trigger8 = (StateNo = 310) && (var(2) = [1,2])
trigger9 = (StateNo = 311) && (var(2) = [1,2])
value = 320

[State -1, Ariel Light Attack]
type = ChangeState
triggerall = command = "a"
triggerall = StateType = A
triggerall = Alive
triggerall = RoundState = 2
triggerall = !isHelper
trigger1 = Ctrl
value = 400

[State -1, Ariel Medium Attack]
type = ChangeState
triggerall = command = "b"
triggerall = StateType = A
triggerall = Alive
triggerall = RoundState = 2
triggerall = !isHelper
trigger1 = Ctrl
trigger2 = StateNo = 400 && (var(2) = [1,2])
value = 410

[State -1, Ariel Strong Attack]
type = ChangeState
triggerall = command = "c"
triggerall = StateType = A
triggerall = Alive
triggerall = RoundState = 2
triggerall = !isHelper
trigger1 = Ctrl
trigger2 = StateNo = 400 && (var(2) = [1,2])
trigger3 = StateNo = 410 && (var(2) = [1,2])
value = 420
