;-| Super Motions |--------------------------------------------------------
[Command]
name = "especial1"
command = ~D, DF, F, D, F, y
time = 30

[Command]
name = "especial2"
command = ~D, DB, B, D, B, y
time = 30

[Command]
name = "especial3"
command = ~D, DB, B, D, B, b
time = 30

[Command]
name = "especial4"
command = ~D, DB, B, D, B, a
time = 30

[Command]
name = "especial5"
command = ~D, DF, F, D, F, b
time = 30

[Command]
name = "especial6"
command = ~D, DF, F, D, DF, F, a
time = 30

[Command]
name = "especial7"
command = ~D, DF, F, D, DF, F, a
time = 30

[Command]
name = "especial8"
command = ~D, DF, F, D, DF, F, x
time = 30

[Command]
name = "especial9"
command = ~D, DB, B, D, DB, B, x
time = 30

[Command]
name = "especial10"
command = ~D, DF, F, D, DF, F, x
time = 30

[Command]
name = "especial11"
command = ~D, DB, B, D, DF, F, y
time = 30

;-| Special Motions |------------------------------------------------------
;-----------------
; QCF
[Command]
name = "QCF_a"
command = ~D, DF, F, a

[Command]
name = "QCF_b"
command = ~B, F, b

[Command]
name = "super_soco"
command = ~B, F, a

[Command]
name = "rising_punch"
command = ~U, a

[Command]
name = "stomp_kick"
command = /D, b

[Command]
name = "downwards_fireball"
command = /D, y

[Command]
name = "upwards_fireball"
command = /U, y

[Command]
name = "seeker_fireball"
command = ~D, DB, B, y

[Command]
name = "kiai_ho"
command = ~B, F, y

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

[Command]
name = "masenko"
command = ~B, D, F, y

[Command]
name = "masenko1"
command = ~B, D, F, y

[Command]
name = "ki_burn"
command = ~D, U, y
time = 50

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

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

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

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

[Command]
name = "QCF_y"
command = ~D, DF, F, y

[Command]
name = "QCF_ya"
command = ~D, DF, F, y

[Command]
name = "QCF_z"
command = ~D, DF, F, z

;-----------------
; QCB
[Command]
name = "QCB_a"
command = ~D, DB, B, a

[Command]
name = "fly"
command = a+b

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

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

[Command]
name = "QCB_y"
command = ~D, DB, B, F, y

[Command]
name = "QCB_z"
command = ~D, DB, B, z

;-----------------
; Uppercut
[Command]
name = "uppercut_a"
command = ~F, D, DF, a

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

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

[Command]
name = "uppercut_x"
command = ~F, D, DF, x

[Command]
name = "uppercut_y"
command = ~F, D, DF, y

[Command]
name = "uppercut_z"
command = ~F, D, DF, z


;--------------------
;Charge_Down_up
[Command]
name = "chargedownup_a"
command = ~60$D, U, a
time = 10

[Command]
name = "chargedownup_b"
command = ~60$D, U, b
time = 10

[Command]
name = "chargedownup_c"
command = ~60$D, U, c
time = 10

[Command]
name = "chargedownup_x"
command = ~60$D, U, x
time = 10

[Command]
name = "chargedownup_y"
command = ~60$D, U, y
time = 10

[Command]
name = "chargedownup_z"
command = ~60$D, U, z
time = 10

;--------------------
;Charge_Back_fwd
[Command]
name = "chargebackfwd_a"
command = ~60$B, F, a
time = 10

[Command]
name = "chargebackfwd_b"
command = ~60$B, F, b
time = 10

[Command]
name = "chargedownup_c"
command = ~60$D, U, c
time = 10

[Command]
name = "chargedownup_x"
command = ~60$D, U, x
time = 10

[Command]
name = "chargedownup_y"
command = ~60$D, U, y
time = 10

[Command]
name = "chargedownup_z"
command = ~60$D, U, z
time = 10



;-| 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 = "DD";Required (do not remove)
command = D, D
time = 10

[Command]
name = "DU";Required (do not remove)
command = D, U
time = 10

[Command]
name = "DUF";Required (do not remove)
command = D, UF
time = 10

[Command]
name = "DUB";Required (do not remove)
command = D, UB
time = 10

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

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

[Command]
name = "ax"
command = a+x

[Command]
name = "by"
command = b+y

[Command]
name = "xy"
command = x+y
time = 1

;-| Dir + Button |---------------------------------------------------------
[Command]
name = "fwd_a"
command = /F,a
time = 1

[Command]
name = "fwd_b"
command = /F,b
time = 1

[Command]
name = "fwd_c"
command = /F,c
time = 1

[Command]
name = "fwd_x"
command = /F,x
time = 1

[Command]
name = "fwd_y"
command = /F,y
time = 1

[Command]
name = "fwd_z"
command = /F,z
time = 1

[Command]
name = "back_a"
command = /B,a
time = 1

[Command]
name = "back_b"
command = /B,b
time = 1

[Command]
name = "back_c"
command = /B,c
time = 1

[Command]
name = "back_x"
command = /B,x
time = 1

[Command]
name = "down_a"
command = /$D,a
time = 1

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

[Command]
name = "down_c"
command = /$D,c
time = 1

[Command]
name = "fwd_ab"
command = /F, a+b
time = 1

[Command]
name = "back_ab"
command = /B, a+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 = "charge"
command = /c
time = 1

[Command]
name = "charge1"
command = /D, c
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

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

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

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

[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 = "cima"
command = /$U, U
time = 10

[Command]
name = "relfwd"
command = ~F
time = 1

[Command]
name = "relback"
command = ~B
time = 1

[Command]
name = "relup"
command = ~U
time = 1

[Command]
name = "reldown"
command = ~D
time = 1

;-| AI activation |--------------------------------------------------------

[Command]
name = "ai1"
command = U, U, U, D, D, D, D, F, x+a+y, F, B, BF, a+z, D
time = 1

[Command]
name = "ai2"
command = U, U, U, D, D, D, D, F, b+a+y, F, B, BF, a+z, D
time = 1

[Command]
name = "ai3"
command = U, U, U, D, D, D, D, F, c+a+y, F, B, BF, a+z, D
time = 1

[Command]
name = "ai4"
command = U, U, U, D, D, D, D, F, z+a+y, F, B, BF, a+z, D
time = 1

[Command]
name = "ai5"
command = U, U, U, D, D, D, D, F, x+b+y, F, B, BF, a+z, D
time = 1

[Command]
name = "ai6"
command = U, U, U, D, D, D, D, F, x+c+y, F, B, BF, a+z, D
time = 1

[Command]
name = "ai7"
command = U, U, U, D, D, x+a+y, F, B, BF, a
time = 1

[Command]
name = "ai8"
command = U, U, U, D, B, B, U, F, x+a+y, a+z, D
time = 1

[Command]
name = "ai9"
command = U, U, U, F, D, D, F, s+a+y, c, B, BF, a+z, D
time = 1

[Command]
name = "ai10"
command = B, D, UF, F, x+a+b, U, B, BF, a+z, D
time = 1

[Command]
name = "ai11"
command = U, U, U, D, D, D, D, F, x+a+y, F, B, BF, a+c, y
time = 1

[Command]
name = "ai12"
command = U, U, U, D, D, F, x+b, F, B, BF, a, D
time = 1

[Command]
name = "ai13"
command = U, U, U, D, y, z, D, c, x+a+y, F, s, b, a+z, D
time = 1

[Command]
name = "ai14"
command = U, UB, B, b, D, c, D, F, c+x+z, F, B, BF, a+z, D
time = 1

[Command]
name = "ai15"
command = U, U, F, D, c, D, b+x, F, x+a+y, F, B, a+z, D
time = 1

[Command]
name = "ai16"
command = D, DF, F, a, D, D, a, D, F, x+a+y, c, B, BF, a+z, D
time = 1

[Command]
name = "ai17"
command = U, UF, DF, y+x, a, b, c, F, x+a+y, F, B, BF, a+z, D
time = 1

[Command]
name = "ai18"
command = U, U, c, D, D, b, D, F, a
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]                  ;Don't change this
;   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]

[State -1, AI Ativation]
type = VarSet
triggerall = var(59) != 1
triggerall = RoundState != 3
trigger1 = command = "ai1"
trigger2 = command = "ai2"
trigger3 = command = "ai3"
trigger4 = command = "ai4"
trigger5 = command = "ai5"
trigger6 = command = "ai6"
trigger7 = command = "ai7"
trigger8 = command = "ai8"
trigger9 = command = "ai9"
trigger10 = command = "ai10"
trigger11 = command = "ai11"
trigger12 = command = "ai12"
trigger13 = command = "ai13"
trigger14 = command = "ai14"
trigger15 = command = "ai15"
trigger16 = command = "ai16"
trigger17 = command = "ai17"
trigger18 = command = "ai18"
v=59
value=1

[State -1,AI.Sair.do.Voa]
type = ChangeState
triggerall = var(59) = 1
triggerall = stateno = 2000
triggerall = MoveType != A 
trigger1 = p2statetype = S
trigger1 = p2bodydist Y > 30
value = 50
ctrl = 1

[State -1, AI Stand to Crouch Guard Transition]
type = ChangeState
triggerall = var(59) = 1
triggerall = stateno != [100,105]
triggerall = inguarddist && StateType != A && P2statetype = C && P2Movetype = A
triggerall = Pos Y != [-1,-999]
trigger1 = stateno = 150
trigger1 = 1
value = 152

[State -1, AI Crouch to Stand Guard Transition]
type = ChangeState
triggerall = var(59) = 1
triggerall = (stateno != [100,105]) && Statetype != A && P2statetype != C && P2Movetype = A
trigger1 = 1
trigger1 = stateno = 152
value = 150

[State -1]
type = ChangeState
triggerall = var(59) = 1 
triggerall = stateno != [100,105]
triggerall = (Ctrl) && (p2movetype = A) && (statetype = A)
trigger1 = (p2bodydist X <= 500) && (random <= 800)
value = 132

[State -1]
type = ChangeState
triggerall = var(59) = 1 
triggerall = stateno != [100,105]
triggerall = (Ctrl) && (p2movetype = A) && (statetype = C)
trigger1 = (p2bodydist X <= 500) && (random <= 800)
value = 131

[State -1]
type = ChangeState
triggerall = var(59) = 1
triggerall = stateno != [100,105]
triggerall = (Ctrl) && (p2movetype = A) && (statetype = S) && (p2statetype != C)
trigger1 = (p2bodydist X <= 500) && (random <= 800)
value = 130


[State -1, AI run]
type=changestate
value=100
triggerall = roundstate = 2
triggerall=var(59)=1 && statetype=S && ctrl && random < 149
triggerall = p2bodydist y =[-270,0]
trigger1= ((stateno!=[100,105]) && p2movetype!=A && (p2bodydist x=[150,788]))||(p2movetype=H && p2statetype=A&&(stateno!=[100,105]) && p2bodydist x >35)

[State -1, AIRun Back]
type = ChangeState
value = 105
triggerall = var(59)=1
triggerall = stateno !=105
triggerall = statetype != A
triggerall = random < 149
triggerall = var(58)!=2
triggerall = roundstate = 2
triggerall = ctrl
trigger1 = (p2statetype =L || p2movetype = A) && (p2bodydist x=[-99,15])

[State -1, AI5]
Type = ChangeState
Triggerall = (RoundState = 2) && (var(59)=1)
Triggerall = StateType !=A
triggerall = stateno != [800,3999]
Triggerall = (P2BodyDist Y = [-65,0])&&enemy,vel y >=0
Triggerall = Random <= 600
triggerall = p2bodydist x = [0,35]
triggerall = p2statetype != L
triggerall = p2stateno !=[120,150]
triggerall = movetype !=H
Triggerall = stateno !=410
Triggerall = stateno !=200
trigger1 = ctrl
value =200

[State -1, AI5]
Type = ChangeState
Triggerall = (RoundState = 2) && (var(59) = 1)
triggerall = stateno != [3000,8000]
triggerall = (prevstateno != [3000,8000])
trigger1 = stateno = 200
trigger1 = (animelemtime(3)>0) && movecontact
value = 220

[State -1, AI9]
Type = ChangeState
Triggerall = (RoundState = 2) && (var(59)=1)
Triggerall = StateType !=A
trigger1 = ctrl
triggerall = stateno != [800,3999]
Triggerall = Random < 600
Triggerall = (P2BodyDist Y = [-65,0])&&enemy,vel y >=0
triggerall = p2statetype != L
triggerall = p2stateno !=[120,150]
triggerall = p2bodydist x = [0,30]
triggerall = movetype !=H
trigger1 = ctrl
trigger2= stateno = 200 && movecontact && animelemtime(2)>0
trigger3= stateno = 230 && movecontact && animelemtime(3)>0
value =ifelse(p2bodydist x <=25,225,210)

[State -1, AI5]
Type = ChangeState
Triggerall = (RoundState = 2) && (var(59)=1)
Triggerall = StateType !=A
triggerall = stateno != [800,3999]
Triggerall = (P2BodyDist Y = [-65,0])&&enemy,vel y >=0
triggerall = (p2bodydist x = [0,15])||((p2bodydist x=[0,25])&&p2statetype=A)
Triggerall = Random < 600
triggerall = p2statetype != L
triggerall = movetype !=H
trigger1 = ctrl
trigger2= stateno = 200 && movecontact && animelemtime(2)>0
trigger3= stateno = 225 && movecontact && animelemtime(3)>0
trigger4 = p2statetype !=C && (p2stateno = [120,155]) && ctrl
triggerall = p2stateno !=[120,150]
value = 400

[State -1, AI9]
Type = ChangeState
Triggerall = (RoundState = 2) && (var(59)=1)
Triggerall = StateType !=A
trigger1 = ctrl
triggerall = stateno != [800,3999]
Triggerall = P2BodyDist X = [0,40]
triggerall = p2statetype != L && p2statetype !=A
Triggerall = Random < 600
triggerall = movetype !=H
trigger1 = ctrl
trigger2= stateno = 200 && movecontact && animelemtime(2)>0
trigger3= stateno = 210 && movecontact && animelemtime(3)>0
trigger4 = p2statetype !=C && (p2stateno = [120,155]) && ctrl
triggerall = p2stateno !=[120,150]
value = 410

;Jump Light Punch
;‹ó’†Žãƒpƒ“ƒ`
[State -1, AI9]
type = ChangeState
value = 600
triggerall = (var(59)=1)
triggerall = statetype = A
triggerall = stateno !=610
triggerall = stateno !=640
triggerall = var(50) =1
triggerall = vel y >=0||p2statetype=A
Triggerall = (P2BodyDist X = [0,60])
triggerall = p2bodydist y = [-30,50]
Triggerall = Random <= 500
triggerall = roundstate = 2
trigger1 = ctrl


;Jump Light Kick
[State -1, AI9]
type = ChangeState
value = 610
triggerall = (var(59)=1)
triggerall = statetype = A
triggerall = stateno !=610
triggerall = stateno !=640
triggerall = var(50) =1
triggerall = vel y >=0||p2statetype=A
Triggerall = (P2BodyDist X = [0,65])
triggerall = p2bodydist y = [-30,70]
Triggerall = Random <= 500
triggerall = roundstate = 2
trigger1 = ctrl

[State -1,Grab]
type = ChangeState
value = 4000
triggerall = (var(59) = 1)
triggerall = stateno != [3000,8000]
triggerall = (prevstateno != [3000,8000])
triggerall = power >=200
trigger1 =  random <= 400 && stateno != [100,107]
trigger1 = p2stateno != 131 && p2stateno != 130 && P2bodydist X <= 30 && p2stateno != 1302 && statetype != A && p2statetype != A && p2statetype != L && p2stateno != 5120
trigger1 = p2movetype != H && p2movetype != A && ctrl


[State -1, AIfireball]
type = ChangeState
value = 230
triggerall = (var(59)=1) && roundstate = 2 && statetype !=A
triggerall = (p2stateno!=[120,155])
Triggerall = (P2BodyDist Y = [-45,0]) &&enemy,vel y >=0
triggerall = var(11) <= 12
triggerall = movetype !=H
trigger1 =  ctrl
triggerall = numhelper(1001) < 2
triggerall = p2statetype != L
triggerall = random < 11
triggerall = p2bodydist x > 70
triggerall = stateno != [800,3999]

[State -1, AItriple fireball]
type = ChangeState
value = 1010
triggerall = (var(59)=1) && roundstate = 2 && statetype !=A
triggerall = (p2stateno!=[120,155])
Triggerall = (P2BodyDist Y = [-45,0]) &&enemy,vel y >=0
triggerall = p2statetype != L
triggerall = movetype !=H
triggerall = var(11) <= 12
trigger1 =  ctrl
triggerall = numhelper(1001) < 2
triggerall = random < 11
triggerall = p2bodydist x > 70
triggerall = stateno != [800,3999]

[State -1, AI fireball]
type = ChangeState
value = ifelse(random<300,7025,7030)
triggerall = stateno != [3000,8000]
triggerall = (prevstateno != [3000,8000])
Triggerall = numhelper(7200) < 1
triggerall = (roundstate = 2) && (var(59) = 1)
triggerall = (Ctrl) && (Statetype = S) && (random = [0,100])
trigger1 = ((p2bodydist x >= 90)) && (prevstateno != 5120) && (p2movetype != H) && (statetype != A)

[State -1,Aerial kicks]
type = ChangeState
value = 1600
triggerall = stateno != [3000, 3914]
triggerall = (var(59)=1)
triggerall = pos y <= -92
trigger1 = statetype = A && ctrl && stateno != 672 && (p2bodydist x = [45,80]) 
trigger1 = random <= 100 && var(15) <= 0 
trigger2 = stateno = 610 && animelemtime(3) > 0 && movecontact && p2bodydist y <= 80 && var(15) <= 0

[State -1, AI9]
Type = ChangeState
triggerall = var(59) = 1 && roundstate = 2 && statetype !=L
triggerall = (p2stateno!=[120,155]) && (p2statetype!=L)
triggerall = stateno != [3000,8000]
triggerall = (prevstateno != [3000,8000])
triggerall = p2bodydist x = [0,50]
triggerall = movetype != H
triggerall = stateno !=[800,899]
triggerall = stateno !=440
triggerall = enemynear,statetype !=L  || enemynear,stateno!=5120
trigger1 =ctrl && (random = [12,36])
trigger2 = (stateno= [200,410]) && movehit &&(random = [12,36])
trigger3 = ((stateno= [600,610]) && movecontact &&(random = [12,36])) && (enemy,gethitvar(hitcount) > 2)
value = 7060

[State -1, Ki explode]
type = ChangeState
triggerall = stateno != 7060
triggerall = stateno != 1200 || stateno != 3000 || stateno != 1600
triggerall = stateno != 7025 || stateno != 7030 || stateno!= 9300 || stateno != 1010 || stateno != 325 || stateno != 205
triggerall = stateno!= 1550 || stateno != 1439844 || stateno != 1444425 || stateno != 1204387 || stateno != 10035799 || stateno != 100300111
triggerall = stateno != 80005
triggerall = stateno != 102100
triggerall = prevstateno != 7060
triggerall = prevstateno != 1200 || prevstateno != 3000 || prevstateno != 1600
triggerall = prevstateno != 9300 || prevstateno != 7025 || prevstateno!= 7030 || prevstateno != 1010 || prevstateno != 325 || stateno != 205
triggerall = prevstateno!= 1200 || prevstateno != 1550 || prevstateno != 3000 || stateno != 1204387 || stateno != 10035799 || stateno != 100300111
triggerall = prevstateno != 80005
triggerall = prevstateno != 102100
;triggerall = random = [10,50]
triggerall = var(9) = 1
triggerall = var(59)=1
triggerall = pos y >= -2
triggerall = numhelper(3020) = 0
trigger1 = P2dist y <= -5&& p2dist x <= 100 && random = [20,70]
value = 9300

[State -1, AI4]
type = ChangeState
value = ifelse(random<300,325,205)
triggerall = var(59) = 1 && roundstate =2 &&statetype!=L
triggerall = stateno != [3000,8000]
triggerall = (prevstateno != [3000,8000])
triggerall = (p2stateno!=[120,155])
triggerall = p2bodydist x = [117,130]
triggerall = movetype != H
triggerall = stateno !=[800,899]
triggerall = stateno !=440
triggerall = p2statetype !=L || enemynear,stateno!=5120
trigger1 = ctrl &&(random = [65,90])
trigger2 = (stateno= [200,435]) && movehit &&(random = [65,100])
trigger3 = ((stateno= [600,635]) && movecontact &&(random = [65,100])) && (enemy,gethitvar(hitcount) > 2)

[State -1, AI DASH knee UP]
type = ChangeState
value = 1200
triggerall = var(59) = 1 && StateType != A
triggerall = stateno!=1200
triggerall = prevstateno!=1200
triggerall = roundstate = 2
trigger3 = (p2bodydist y < -1)&&  (random = [47,84])
triggerall = p2bodydist x<=40
triggerall = stateno !=[800,4999]
triggerall = !(EnemyNear,IsHelper)
triggerall = stateno !=440
triggerall = movetype != H
triggerall = p2statetype != L
triggerall = var(7) < 8
trigger2 = (stateno=[200,435])&&movehit   &&  (random = [47,55])
trigger1= ctrl &&  (random = [47,55])
triggerall = p2stateno !=[120,150]

[State -1] ;Super 3
type = ChangeState
triggerall = (roundstate = 2) && (var(59) = 1)
triggerall = (Ctrl=1) && (Statetype != A) && (p2statetype != A)
triggerall = stateno < 4900 ;Add to avoid chaining hypes
trigger1 = prevstateno != 5120
triggerall = p2bodydist X >= 70
trigger1 = (power = [1000,2500]) && (random = [0,100])
value = 3000

[State -1, Explosions]
type = ChangeState
value = 9350
triggerall = (var(59)=1)  && StateType != A && power >=2000
triggerall = roundstate = 2
triggerall = stateno !=[800,899]
triggerall = stateno !=9350
trigger1 = ctrl
triggerall = p2bodydist x<=50&&random<80 && enemy, movetype != A
triggerall = p2statetype != L
trigger2 = movehit


[State -1,meteor]
type = ChangeState
value = 1550
triggerall = var(59) = 1 && (stateno != [3000,8000])
triggerall = (prevstateno != [3000,8000])
triggerall = power >= 2800
triggerall = statetype != A && enemynear,Vel Y >= 0
triggerall = p2bodydist X >= 100
triggerall =  (var(8) = [-20,20])
triggerall = random < 200
triggerall = p2statetype != L && p2stateno != 5120
trigger1 = ctrl
trigger2 = Movehit && random < 255
trigger3 = stateno = [1000, 1025]
trigger3 = movecontact

;===========================================================================
;SSJ4
[State -1]
type = ChangeState
value = 9904
triggerall = Var(7) = 0
triggerall = command = "especial11";Place name of command here
;triggerall = command != "holddown";Standing moves should have this line
 ;The following is true if Player is in stand state, and has control
triggerall = power >= 3000 
trigger1 = Life  <= 50
trigger1 = statetype = S
trigger1 = ctrl = 1
 ;Uncomment the following if you want to be able to do a Stand_A rapidly
;trigger2 = stateno = 2000
;trigger2 = time >= 7
;---------------------------------------------------------------------------
;Piccolo
[State -1]
type = ChangeState
value = 9000
triggerall = Var(7) = 0
triggerall = command = "especial9";Place name of command here
;triggerall = command != "holddown";Standing moves should have this line
 ;The following is true if Player is in stand state, and has control
triggerall = power >= 3000 
trigger1 = statetype = S
trigger1 = ctrl = 1
 ;Uncomment the following if you want to be able to do a Stand_A rapidly
;trigger2 = stateno = 2000
;trigger2 = time >= 7
trigerall = Var(7) = 0
;---------------------------------------------------------------------------
;Especial Terremoto
[State -1]
type = ChangeState
value = 9350
triggerall = Var(7) = 0
triggerall = command = "especial10";Place name of command here
;triggerall = command != "holddown";Standing moves should have this line
 ;The following is true if Player is in stand state, and has control
triggerall = power >= 2000 
trigger1 = statetype = S
trigger1 = ctrl = 1
 ;Uncomment the following if you want to be able to do a Stand_A rapidly
;trigger2 = stateno = 2000
;trigger2 = time >= 7

;---------------------------------------------------------------------------
[State -1]
type = ChangeState
value = 5999
triggerall = Var(7) = 0
triggerall = command = "especial8";Place name of command here
;triggerall = command != "holddown";Standing moves should have this line
 ;The following is true if Player is in stand state, and has control
triggerall = power >= 2000
trigger1 = stateno = 2000 
;trigger2 = statetype = A
;trigger1 = ctrl = 1
 ;Uncomment the following if you want to be able to do a Stand_A rapidly

;---------------------------------------------------------------------------
[State -1]
type = ChangeState
value = 1650
triggerall = Var(7) = 0
triggerall = command = "especial6";Place name of command here
;triggerall = command != "holddown";Standing moves should have this line
 ;The following is true if Player is in stand state, and has control
triggerall = power >= 1000 
;trigger1 = statetype = A
;trigger1 = ctrl = 1
 ;Uncomment the following if you want to be able to do a Stand_A rapidly
trigger1 = stateno = 2000

;---------------------------------------------------------------------------
;Especial De Combos
[State -1]
type = ChangeState
value = 1550
triggerall = Var(7) = 0
triggerall = command = "especial5";Place name of command here
;triggerall = command != "holddown";Standing moves should have this line
 ;The following is true if Player is in stand state, and has control
triggerall = power >= 2000 
trigger1 = statetype = S
trigger1 = ctrl = 1
 ;Uncomment the following if you want to be able to do a Stand_A rapidly
;trigger2 = stateno = 2000
;trigger2 = time >= 7

;---------------------------------------------------------------------------
;Especial Super Sayjins
[State -1]
type = ChangeState
value = 1520
triggerall = Var(7) = 0
triggerall = command = "especial4";Place name of command here
;triggerall = command != "holddown";Standing moves should have this line
 ;The following is true if Player is in stand state, and has control
triggerall = power >= 3000 
trigger1 = statetype = S
trigger1 = ctrl = 1
 ;Uncomment the following if you want to be able to do a Stand_A rapidly
;trigger2 = stateno = 2000
;trigger2 = time >= 7

;---------------------------------------------------------------------------
;Especial Super Sayjins
[State -1]
type = ChangeState
value = 1510
triggerall = Var(7) = 0
triggerall = command = "especial3";Place name of command here
;triggerall = command != "holddown";Standing moves should have this line
 ;The following is true if Player is in stand state, and has control
triggerall = power >= 2000 
trigger1 = statetype = S
trigger1 = ctrl = 1
 ;Uncomment the following if you want to be able to do a Stand_A rapidly
;trigger2 = stateno = 2000
;trigger2 = time >= 7

;---------------------------------------------------------------------------
;Especial Super Sayjins
[State -1]
type = ChangeState
value = 1500
triggerall = Var(7) = 0
triggerall = command = "especial2";Place name of command here
;triggerall = command != "holddown";Standing moves should have this line
 ;The following is true if Player is in stand state, and has control
triggerall = power >= 1000 
trigger1 = statetype = S
trigger1 = ctrl = 1
 ;Uncomment the following if you want to be able to do a Stand_A rapidly
;trigger2 = stateno = 2000
;trigger2 = time >= 7

;---------------------------------------------------------------------------
;Especial Fireballs
[State -1]
type = ChangeState
value = 1000
triggerall = Var(7) = 0
triggerall = command = "especial1";Place name of command here
;triggerall = command != "holddown";Standing moves should have this line
 ;The following is true if Player is in stand state, and has control
triggerall = power >= 1000 
trigger1 = statetype = S
trigger1 = ctrl = 1
 ;Uncomment the following if you want to be able to do a Stand_A rapidly
trigger2 = stateno = 2000
;trigger2 = time >= 7

;---------------------------------------------------------------------------
[State -1]
type = ChangeState
value = 3000
triggerall = Var(7) = 0
triggerall = command = "especial7";Place name of command here
;triggerall = command != "holddown";Standing moves should have this line
 ;The following is true if Player is in stand state, and has control
triggerall = power >= 2000 
trigger1 = statetype = S
trigger1 = ctrl = 1
 ;Uncomment the following if you want to be able to do a Stand_A rapidly
;trigger2 = time >= 7
;---------------------------------------------------------------------------
[State -1]
type = ChangeState
value = 7115
triggerall = Var(7) = 0
triggerall = command = "ab"
triggerall = pos y < 0
triggerall = P2MoveType = A
triggerall = MoveType = H
triggerall = GetHitVar(hitcount) < 6
triggerall = GetHitVar(hittime) < 40
triggerall = GetHitVar(slidetime) < 40
trigger1 = stateno = 5000
trigger2 = stateno = 5001
trigger3 = stateno = 5002
trigger4 = stateno = 5010
trigger5 = stateno = 5011
trigger6 = stateno = 5012
trigger7 = stateno = 5030
trigger8 = stateno = 5020

;---------------------------------------------------------------------------
[State -1]
type = ChangeState
value = 7120
triggerall = Var(7) = 0
triggerall = command = "xy";Place name of command here
triggerall = command != "holddown";Standing moves should have this line
triggerall = P2StateType != A
triggerall = P2MoveType = A
triggerall = MoveType = H
triggerall = GetHitVar(hitcount) < 6
triggerall = GetHitVar(hittime) < 40
triggerall = GetHitVar(slidetime) < 40
 ;The following is true if Player is in stand state, and has control
trigger1 = statetype = S
trigger1 = ctrl = 1
trigger2 = stateno = 5000
trigger3 = stateno = 5001
trigger4 = stateno = 5002
trigger5 = stateno = 5010
trigger6 = stateno = 5011
trigger7 = stateno = 5012
;Uncomment the following if you want to be able to do a Stand_A rapidly
trigger8 = stateno = 2000
;trigger2 = time >= 7

;---------------------------------------------------------------------------
[State -1]
type = ChangeState
value = 7100
triggerall = Var(7) = 0
triggerall = command = "ab";Place name of command here
triggerall = command != "holddown";Standing moves should have this line
triggerall = P2StateType != A
triggerall = P2MoveType = A
triggerall = MoveType = H
triggerall = GetHitVar(hitcount) < 6
triggerall = GetHitVar(hittime) < 40
triggerall = GetHitVar(slidetime) < 40
 ;The following is true if Player is in stand state, and has control
trigger1 = statetype = S
trigger1 = ctrl = 1
trigger2 = stateno = 5000
trigger3 = stateno = 5001
trigger4 = stateno = 5002
trigger5 = stateno = 5010
trigger6 = stateno = 5011
trigger7 = stateno = 5012
;Uncomment the following if you want to be able to do a Stand_A rapidly
;trigger2 = stateno = 2000
;trigger2 = time >= 7

;---------------------------------------------------------------------------
[State -1]
type = ChangeState
value = 7110
triggerall = Var(7) = 0
triggerall = command = "xy";Place name of command here
triggerall = command != "holddown";Standing moves should have this line
triggerall = P2StateType != A
triggerall = P2MoveType = A
triggerall = MoveType = H
triggerall = GetHitVar(hitcount) < 6
triggerall = GetHitVar(hittime) < 40
triggerall = GetHitVar(slidetime) < 40
 ;The following is true if Player is in stand state, and has control
trigger1 = statetype = S
trigger1 = ctrl = 1
trigger2 = stateno = 150
 ;Uncomment the following if you want to be able to do a Stand_A rapidly
;trigger2 = stateno = 2000
;trigger2 = time >= 7


;---------------------------------------------------------------------------
[State -1]
type = ChangeState
value = 7060
triggerall = Var(7) = 0
triggerall = command = "super_soco";Place name of command here
triggerall = command != "holddown";Standing moves should have this line
 ;The following is true if Player is in stand state, and has control
trigger1 = statetype = S
trigger1 = ctrl = 1
 ;Uncomment the following if you want to be able to do a Stand_A rapidly
trigger2 = stateno = 2000
;trigger2 = time >= 7

;---------------------------------------------------------------------------
[State -1]
type = ChangeState
value = 9300
triggerall = Var(7) = 0
triggerall = command = "terremoto";Place name of command here
triggerall = command != "holddown";Standing moves should have this line
 ;The following is true if Player is in stand state, and has control
trigger1 = statetype = S
trigger1 = ctrl = 1
 ;Uncomment the following if you want to be able to do a Stand_A rapidly
;trigger2 = stateno = 2000
;trigger2 = time >= 7

;---------------------------------------------------------------------------
[State -1]
type = ChangeState
value = 7050
triggerall = Var(7) = 0
triggerall = command = "ki_burn";Place name of command here
triggerall = command != "holddown";Standing moves should have this line
 ;The following is true if Player is in stand state, and has control
trigger1 = statetype = S
trigger1 = ctrl = 1
 ;Uncomment the following if you want to be able to do a Stand_A rapidly
trigger2 = stateno = 2000
;trigger2 = time >= 7

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

[State -1]
type = ChangeState
value = 7040
triggerall = Var(7) = 0
triggerall = command = "masenko1";Place name of command here
;triggerall = command != "holddown";Standing moves should have this line
 ;The following is true if Player is in stand state, and has control
trigger1 = statetype = A
trigger1 = ctrl = 1
 ;Uncomment the following if you want to be able to do a Stand_A rapidly
trigger2 = stateno = 2000
;trigger2 = time >= 7

;---------------------------------------------------------------------------
[State -1]
type = ChangeState
value = 7035
triggerall = Var(7) = 0
triggerall = command = "masenko";Place name of command here
triggerall = command != "holddown";Standing moves should have this line
 ;The following is true if Player is in stand state, and has control
trigger1 = statetype = S
trigger1 = ctrl = 1
 ;Uncomment the following if you want to be able to do a Stand_A rapidly
;trigger2 = stateno = 2000
;trigger2 = time >= 7

;---------------------------------------------------------------------------
[State -1]
type = ChangeState
value = 7030
triggerall = Var(7) = 0
triggerall = command = "kiai_ho";Place name of command here
triggerall = command != "holddown";Standing moves should have this line
 ;The following is true if Player is in stand state, and has control
trigger1 = statetype = S
trigger1 = ctrl = 1
 ;Uncomment the following if you want to be able to do a Stand_A rapidly
trigger2 = stateno = 2000
;trigger2 = time >= 7

;---------------------------------------------------------------------------
[State -1]
type = ChangeState
value = 7025
triggerall = Var(7) = 0
triggerall = command = "seeker_fireball";Place name of command here
triggerall = command != "holddown";Standing moves should have this line
 ;The following is true if Player is in stand state, and has control
trigger1 = statetype = S
trigger1 = ctrl = 1
 ;Uncomment the following if you want to be able to do a Stand_A rapidly
trigger2 = stateno = 2000
;trigger2 = time >= 7

;---------------------------------------------------------------------------
[State -1]
type = ChangeState
value = 7015
triggerall = Var(7) = 0
triggerall = command = "downwards_fireball";Place name of command here
;triggerall = command != "holddown";Standing moves should have this line
 ;The following is true if Player is in stand state, and has control
;trigger1 = statetype = A
;trigger1 = ctrl = 1
 ;Uncomment the following if you want to be able to do a Stand_A rapidly
trigger1 = stateno = 2000
;trigger2 = time >= 7

;---------------------------------------------------------------------------
[State -1]
type = ChangeState
value = 7020
triggerall = Var(7) = 0
triggerall = command = "upwards_fireball";Place name of command here
;triggerall = command != "holddown";Standing moves should have this line
 ;The following is true if Player is in stand state, and has control
;trigger1 = statetype = A
;trigger1 = ctrl = 1
 ;Uncomment the following if you want to be able to do a Stand_A rapidly
trigger1 = stateno = 2000
;trigger2 = time >= 7

;---------------------------------------------------------------------------
[State -1]
type = ChangeState
value = 7010
triggerall = Var(7) = 0
triggerall = command = "stomp_kick";Place name of command here
;triggerall = command != "holddown";Standing moves should have this line
 ;The following is true if Player is in stand state, and has control
;trigger1 = statetype = A
;trigger1 = ctrl = 1
 ;Uncomment the following if you want to be able to do a Stand_A rapidly
trigger1 = stateno = 2000
;trigger2 = time >= 7

;---------------------------------------------------------------------------
[State -1]
type = ChangeState
value = 7000
triggerall = Var(7) = 0
triggerall = command = "rising_punch";Place name of command here
;triggerall = command != "holddown";Standing moves should have this line
 ;The following is true if Player is in stand state, and has control
;trigger1 = statetype = A
;trigger1 = ctrl = 1
 ;Uncomment the following if you want to be able to do a Stand_A rapidly
trigger1 = stateno = 2000
;trigger2 = time >= 7

;---------------------------------------------------------------------------
[State -1]
type = ChangeState
value = 1200
triggerall = Var(7) = 0
triggerall = command = "QCF_b3";Place name of command here
;triggerall = command != "holddown";Standing moves should have this line
 ;The following is true if Player is in stand state, and has control
trigger1 = statetype = S
trigger1 = ctrl = 1
 ;Uncomment the following if you want to be able to do a Stand_A rapidly
trigger2 = stateno = 2000
;trigger2 = time >= 7

;---------------------------------------------------------------------------
[State -1]
type = ChangeState
value = 1100
triggerall = Var(7) = 0
triggerall = command = "QCF_a1";Place name of command here
;triggerall = command != "holddown";Standing moves should have this line
 ;The following is true if Player is in stand state, and has control
trigger1 = statetype = S
trigger1 = ctrl = 1
 ;Uncomment the following if you want to be able to do a Stand_A rapidly
trigger2 = stateno = 2000
;trigger2 = time >= 7

;---------------------------------------------------------------------------
[State -1]
type = ChangeState
value = 1600
triggerall = Var(7) = 0
triggerall = command = "QCF_b2";Place name of command here
;triggerall = command != "holddown";Standing moves should have this line
 ;The following is true if Player is in stand state, and has control
trigger1 = statetype = A
trigger1 = ctrl = 1
 ;Uncomment the following if you want to be able to do a Stand_A rapidly
trigger2 = stateno = 2000
;trigger2 = time >= 7

;---------------------------------------------------------------------------
[State -1]
type = ChangeState
value = 350
triggerall = Var(7) = 0
triggerall = command = "QCF_b";Place name of command here
;triggerall = command != "holddown";Standing moves should have this line
 ;The following is true if Player is in stand state, and has control
trigger1 = statetype = S
trigger1 = ctrl = 1
 ;Uncomment the following if you want to be able to do a Stand_A rapidly
trigger2 = stateno = 2000
;trigger2 = time >= 7

;---------------------------------------------------------------------------
;Triangle Illusion
[State -1]
type = ChangeState
value = 325
triggerall = Var(7) = 0
triggerall = command = "xy";Place name of command here
;triggerall = command != "holddown";Standing moves should have this line
 ;The following is true if Player is in stand state, and has control
trigger1 = statetype = S
trigger1 = ctrl = 1
 ;Uncomment the following if you want to be able to do a Stand_A rapidly
;trigger2 = stateno = 1010
;trigger2 = time >= 7

;---------------------------------------------------------------------------
;Triangle Illusion
[State -1]
type = ChangeState
value = 320
triggerall = Var(7) = 0
triggerall = command = "ab";Place name of command here
;triggerall = command != "holddown";Standing moves should have this line
 ;The following is true if Player is in stand state, and has control
trigger1 = statetype = S
trigger1 = ctrl = 1
 ;Uncomment the following if you want to be able to do a Stand_A rapidly
;trigger2 = stateno = 1010
;trigger2 = time >= 7

;---------------------------------------------------------------------------
;Combo De Socos
[State -1]
type = ChangeState
value = 205
triggerall = Var(7) = 0
triggerall = command = "QCF_a";Place name of command here
;triggerall = command != "holddown";Standing moves should have this line
 ;The following is true if Player is in stand state, and has control
trigger1 = statetype = S
trigger1 = ctrl = 1
 ;Uncomment the following if you want to be able to do a Stand_A rapidly
trigger2 = stateno = 2000
;trigger2 = time >= 7

;---------------------------------------------------------------------------
;Três FireBalls
[State -1]
type = ChangeState
value = 1010
triggerall = Var(7) = 0
triggerall = command = "QCF_y";Place name of command here
;triggerall = command != "holddown";Standing moves should have this line
 ;The following is true if Player is in stand state, and has control
trigger1 = statetype = S
trigger1 = ctrl = 1
 ;Uncomment the following if you want to be able to do a Stand_A rapidly
trigger2 = stateno = 2000
;trigger2 = time >= 7

;---------------------------------------------------------------------------
;Três FireBalls
[State -1]
type = ChangeState
value = 1015
triggerall = Var(7) = 0
triggerall = command = "QCF_ya";Place name of command here
;triggerall = command != "holddown";Standing moves should have this line
 ;The following is true if Player is in stand state, and has control
trigger1 = statetype = A
trigger1 = ctrl = 1
 ;Uncomment the following if you want to be able to do a Stand_A rapidly
;trigger2 = stateno = 1010
;trigger2 = time >= 7

;---------------------------------------------------------------------------
;Zanzoken
[State -1]
type = ChangeState
value = 1800
triggerall = Var(7) = 0
triggerall = command = "by";Place name of command here
triggerall = command != "holddown";Standing moves should have this line
 ;The following is true if Player is in stand state, and has control
trigger1 = statetype = S
trigger1 = ctrl = 1
 ;Uncomment the following if you want to be able to do a Stand_A rapidly
;trigger2 = stateno = 1010
;trigger2 = time >= 7

;---------------------------------------------------------------------------
;Zanzoken
[State -1]
type = ChangeState
value = 1700
triggerall = Var(7) = 0
triggerall = command = "ax";Place name of command here
triggerall = command != "holddown";Standing moves should have this line
 ;The following is true if Player is in stand state, and has control
trigger1 = statetype = S
trigger1 = ctrl = 1
 ;Uncomment the following if you want to be able to do a Stand_A rapidly
;trigger2 = stateno = 1010
;trigger2 = time >= 7

;---------------------------------------------------------------------------
; CHARGE
[State -1]
type = ChangeState
value = 735
triggerall = Var(7) = 0
triggerall = statetype = S
triggerall = Power < 3000
triggerall = ctrl = 1
trigger2 = stateno = 2000
trigger1 = command = "charge"

;---------------------------------------------------------------------------
; CHARGE
[State -1]
type = ChangeState
value = 745
triggerall = Var(7) = 0
;triggerall = statetype = A
triggerall = Power < 3000
triggerall = ctrl = 1
trigger1 = command = "hold_c"
trigger1 = stateno = 2000

;---------------------------------------------------------------------------
;RunFwd
[State -1]
type = ChangeState
value = 100
triggerall = Var(7) = 0
trigger1 = command = "FF"
trigger1 = statetype = S
trigger1 = ctrl = 1

;---------------------------------------------------------------------------
;RunBack
[State -1]
type = ChangeState
value = 105
triggerall = Var(7) = 0
trigger1 = command = "BB"
trigger1 = statetype = S
trigger1 = ctrl = 1

;---------------------------------------------------------------------------
;Air Dash (Frente)
[State -1]
type = ChangeState
value = 1001
triggerall = Var(7) = 0
trigger1 = command = "FF"
trigger1 = statetype = A
trigger1 = ctrl = 1

;---------------------------------------------------------------------------
;Air Dash (Trás)
[State -1]
type = ChangeState
value = 1051
triggerall = Var(7) = 0
trigger1 = command = "BB"
trigger1 = statetype = A
trigger1 = ctrl = 1

;---------------------------------------------------------------------------
;Instant Fall
[State -1]
type = ChangeState
value = 106
triggerall = command = "DD"
trigger1 = statetype = A
trigger1 = ctrl = 1
trigger2 = stateno = 2000
;---------------------------------------------------------------------------
;Super Jump Trás
[State -1]
type = ChangeState
value = 1008
triggerall = Var(7) = 0
triggerall = statetype != A
trigger1 = command = "DUB"
trigger1 = ctrl = 1

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

;Super Jump Frente
[State -1]
type = ChangeState
value = 1007
triggerall = Var(7) = 0
triggerall = statetype != A
trigger1 = command = "DUF"
trigger1 = ctrl = 1

;---------------------------------------------------------------------------
;Super Jump
[State -1]
type = ChangeState
value = 1005
triggerall = Var(7) = 0
trigger1 = command = "DU"
trigger1 = statetype = S
trigger1 = ctrl = 1

;---------------------------------------------------------------------------
;Stand_Throw (close dir+x)
; Complicated? Skip the throws and look at stand_a, etc, first.
; This is disabled right now. Remove the "null;" below when you
; want to use it.
[State -1]
type = ChangeState
value = 4000
triggerall = Var(7) = 0
triggerall = statetype = S
triggerall = ctrl = 1
triggerall = p2bodydist X < 5 ;Near P2
trigger1 = command = "fwd_x";p2 stand
trigger1 = stateno != 100    ;Not running
trigger1 = p2statetype = S
trigger1 = p2movetype != H
trigger2 = command = "fwd_x";p2 crouch
trigger2 = stateno != 100    ;Not running
trigger2 = p2statetype = C
trigger2 = p2movetype != H

;---------------------------------------------------------------------------
;Air_Throw1 (close dir+b)
; This is disabled right now. Remove the "null;" below when you
; want to use it.
[State -1]
type = null; ChangeState
value = 950
triggerall = Var(7) = 0
triggerall = statetype = A
triggerall = ctrl = 1
triggerall = p2bodydist X < 9
triggerall = p2bodydist Y > -22
triggerall = p2bodydist Y < 22
triggerall = p2statetype = A
triggerall = p2movetype != H
trigger1 = command = "fwd_b"
trigger2 = command = "back_b"

;Voar (No Chão)
[State -1]
type = ChangeState
value = 2100
triggerall = Var(7) = 0
trigger1 = statetype != A
trigger1 = ctrl = 1
trigger1 = command = "z"

;Voar
[State -1]
type = ChangeState
value = 2000
triggerall = Var(7) = 0
trigger1 = statetype = A
trigger1 = ctrl = 1
trigger1 = Pos Y < 0
trigger1 = command = "z"

;===========================================================================
;---------------------------------------------------------------------------
;Stand_Y
[State -1]
type = ChangeState
value = 230
triggerall = Var(7) = 0
triggerall = command = "y";Place name of command here
triggerall = command != "holddown";Standing moves should have this line
 ;The following is true if Player is in stand state, and has control
trigger1 = statetype = S
trigger1 = ctrl = 1
 ;Uncomment the following if you want to be able to do a Stand_A rapidly
trigger2 = stateno = 2000
;trigger2 = time >= 7

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

;Stand_X
[State -1]
type = ChangeState
value = 220
triggerall = Var(7) = 0
triggerall = command = "x";Place name of command here
triggerall = command != "holddown";Standing moves should have this line
 ;The following is true if Player is in stand state, and has control
trigger1 = statetype = S
trigger1 = ctrl = 1
 ;Uncomment the following if you want to be able to do a Stand_A rapidly
trigger2 = stateno = 2000

;---------------------------------------------------------------------------
;Stand_B (CLOSE)
[State -1]
type = ChangeState
value = 225
triggerall = Var(7) = 0
triggerall = command = "b";Place name of command here
triggerall = command != "holddown";Standing moves should have this line
 ;The following is true if Player is in stand state, and has control
trigger1 = statetype = S
trigger1 = ctrl = 1
 ;Uncomment the following if you want to be able to do a Stand_A rapidly
trigger2 = stateno = 2000
;trigger2 = time >= 7
triggerall = p2bodydist X < 5

;---------------------------------------------------------------------------
;Stand_A (CLOSE)
[State -1]
type = ChangeState
value = 201
triggerall = Var(7) = 0
triggerall = command = "a";Place name of command here
triggerall = command != "holddown";Standing moves should have this line
 ;The following is true if Player is in stand state, and has control
trigger1 = statetype = S
trigger1 = ctrl = 1
 ;Uncomment the following if you want to be able to do a Stand_A rapidly
trigger2 = stateno = 2000
;trigger2 = time >= 7
triggerall = p2bodydist X < 5

;---------------------------------------------------------------------------
;Stand_A
[State -1]
type = ChangeState
value = 200
triggerall = Var(7) = 0
triggerall = command = "a";Place name of command here
triggerall = command != "holddown";Standing moves should have this line
 ;The following is true if Player is in stand state, and has control
trigger1 = statetype = S
trigger1 = ctrl = 1
 ;Uncomment the following if you want to be able to do a Stand_A rapidly
trigger2 = stateno = 2000
;trigger2 = time >= 7

;---------------------------------------------------------------------------
;Stand_B
[State -1]
type = ChangeState
value = 210
triggerall = Var(7) = 0
triggerall = command = "b"
triggerall = command != "holddown"
trigger1 = statetype = S
trigger1 = ctrl = 1
trigger2 = stateno = 2000

;---------------------------------------------------------------------------
;Crouch_Y
[State -1]
type = ChangeState
value = 430
triggerall = Var(7) = 0
triggerall = command = "y"
triggerall = command = "holddown"
trigger1 = statetype = C
trigger1 = ctrl = 1

;---------------------------------------------------------------------------
;Crouch_X
[State -1]
type = ChangeState
value = 420
triggerall = Var(7) = 0
triggerall = command = "x"
triggerall = command = "holddown"
trigger1 = statetype = C
trigger1 = ctrl = 1

;---------------------------------------------------------------------------
;Crouch_A
[State -1]
type = ChangeState
value = 400
triggerall = Var(7) = 0
triggerall = command = "a"
triggerall = command = "holddown"
trigger1 = statetype = C
trigger1 = ctrl = 1

;---------------------------------------------------------------------------
;Crouch_B
[State -1]
type = ChangeState
value = 410
triggerall = Var(7) = 0
triggerall = command = "b"
triggerall = command = "holddown"
trigger1 = statetype = C
trigger1 = ctrl = 1

;---------------------------------------------------------------------------
;Jump_X
[State -1]
type = ChangeState
value = 640
triggerall = Var(7) = 0
trigger1 = command = "x"
trigger1 = statetype = A
trigger1 = ctrl = 1

;---------------------------------------------------------------------------
;Jump_Y
[State -1]
type = ChangeState
value = 620
triggerall = Var(7) = 0
trigger1 = command = "y"
trigger1 = statetype = A
trigger1 = ctrl = 1

;---------------------------------------------------------------------------
;Jump_A
[State -1]
type = ChangeState
value = 600
triggerall = Var(7) = 0
trigger1 = command = "a"
trigger1 = statetype = A
trigger1 = ctrl = 1

;---------------------------------------------------------------------------
;Jump_B
[State -1]
type = ChangeState
value = 610
triggerall = Var(7) = 0
trigger1 = command = "b"
trigger1 = statetype = A
trigger1 = ctrl = 1

;---------------------------------------------------------------------------
;---------------------------------------------------------------------------;
;Gohan Super Sayjin 4
;---------------------------------------------------------------------------
;Stand_A
[State -1]
type = ChangeState
value = 10200
triggerall = Var(7) = 1
triggerall = command = "a";Place name of command here
triggerall = command != "holddown";Standing moves should have this line
 ;The following is true if Player is in stand state, and has control
trigger1 = statetype = S
trigger1 = ctrl = 1
 ;Uncomment the following if you want to be able to do a Stand_A rapidly
trigger2 = stateno = 2000
;trigger2 = time >= 7

;---------------------------------------------------------------------------
;Stand_B
[State -1]
type = ChangeState
value = 10210
triggerall = Var(7) = 1
triggerall = command = "b";Place name of command here
triggerall = command != "holddown";Standing moves should have this line
 ;The following is true if Player is in stand state, and has control
trigger1 = statetype = S
trigger1 = ctrl = 1
 ;Uncomment the following if you want to be able to do a Stand_A rapidly
trigger2 = stateno = 2000
;trigger2 = time >= 7

;---------------------------------------------------------------------------
;Stand_Y
[State -1]
type = ChangeState
value = 10230
triggerall = Var(7) = 1
triggerall = command = "y";Place name of command here
triggerall = command != "holddown";Standing moves should have this line
 ;The following is true if Player is in stand state, and has control
trigger1 = statetype = S
trigger1 = ctrl = 1
 ;Uncomment the following if you want to be able to do a Stand_A rapidly
trigger2 = stateno = 2000
;trigger2 = time >= 7

;---------------------------------------------------------------------------
;Stand_X
[State -1]
type = ChangeState
value = 10220
triggerall = Var(7) = 1
triggerall = command = "x";Place name of command here
triggerall = command != "holddown";Standing moves should have this line
 ;The following is true if Player is in stand state, and has control
trigger1 = statetype = S
trigger1 = ctrl = 1
 ;Uncomment the following if you want to be able to do a Stand_A rapidly
trigger2 = stateno = 2000
;trigger2 = time >= 7
;---------------------------------------------------------------------------
;Crouch_A
[State -1]
type = ChangeState
value = 10400
triggerall = Var(7) = 1
triggerall = command = "a"
triggerall = command = "holddown"
trigger1 = statetype = C
trigger1 = ctrl = 1
;---------------------------------------------------------------------------
;Crouch_X
[State -1]
type = ChangeState
value = 10420
triggerall = Var(7) = 1
triggerall = command = "x"
triggerall = command = "holddown"
trigger1 = statetype = C
trigger1 = ctrl = 1
;---------------------------------------------------------------------------
;Crouch_Y
[State -1]
type = ChangeState
value = 10430
triggerall = Var(7) = 1
triggerall = command = "y"
triggerall = command = "holddown"
trigger1 = statetype = C
trigger1 = ctrl = 1
;---------------------------------------------------------------------------
;Crouch_B
[State -1]
type = ChangeState
value = 10410
triggerall = Var(7) = 1
triggerall = command = "b"
triggerall = command = "holddown"
trigger1 = statetype = C
trigger1 = ctrl = 1
;---------------------------------------------------------------------------
;Jump_A
[State -1]
type = ChangeState
value = 10600
triggerall = Var(7) = 1
trigger1 = command = "a"
trigger1 = statetype = A
trigger1 = ctrl = 1
;---------------------------------------------------------------------------
;Jump_B
[State -1]
type = ChangeState
value = 10610
triggerall = Var(7) = 1
trigger1 = command = "b"
trigger1 = statetype = A
trigger1 = ctrl = 1





