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

;-| 標?化 |-------------------------------------------------------
[Defaults]
command.time = 15

command.buffer.time = 1

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

;===============================================================================
;-------------------------------------------------------------------------------
;===============================================================================
; "DESPERATION MOVES"
;===============================================================================
[Command]
name = "Diamond Edge"
command = ~D,DF,F,D,DF,F,x
time = 30

[Command]
name = "Diamond Edge"
command = ~D,DF,F,D,DF,F,y
time = 30
;-------------------------------------------------------------------------------
[Command]
name = "MAX Diamond Edge"
command = ~D,DF,F,D,DF,F,c
time = 30
;-------------------------------------------------------------------------------
[Command]
name = "Kula's Rush"
command = ~D,DB,B,D,DF,F,a
time = 30

[Command]
name = "Kula's Rush"
command = ~D,DB,B,D,DF,F,b
time = 30
;-------------------------------------------------------------------------------
[Command]
name = "Ice Shoot"
command = ~D,DB,B,D,DB,B,a
time = 30

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

;===============================================================================
; "LEADER DESPERATION MOVES"
;===============================================================================
[Command]
name = "Freeze Execution"
command = ~D,DB,B,D,DF,F,c
time = 30
;-------------------------------------------------------------------------------
[Command]
name = "Kula Massive's Rush"
command = ~D,DB,B,D,DF,F,a+b
time = 30
;-------------------------------------------------------------------------------
[Command]
name = "Kula & Maxima"
command = ~D,DB,B,D,DF,F,a+x
time = 30
;-------------------------------------------------------------------------------
[Command]
name = "Kula & K'"
command = ~D,DB,B,D,DF,F,b+y
time = 30

;===============================================================================
; "HIDDEN LEADER DESPERATION MOVE"
;===============================================================================
[Command];HLDM Padr縊
name = "Ice Striker Shoot"
command = ~F,D,B,F,c
time = 30

[Command];HLDM Alternativo
name = "Kula Annihilator's Rush"
command = ~F,D,B,F,c
time = 30

;===============================================================================
; "RAY SPIN"
;===============================================================================
[Command]
name = "Ray Spin"
command = ~D,DB,B,a

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

;===============================================================================
; "DIAMOND SHOOT"
;===============================================================================
[Command]
name = "Diamond Shoot"
command = ~D,DF,F,a

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

;===============================================================================
; "COUNTER SHELL"
;===============================================================================
[Command]
name = "Counter Shell"
command = ~D,DB,B,x

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

;===============================================================================
; "CROW BITES"
;===============================================================================
[Command]
name = "Crow Bites"
command = ~F,D,DF,y

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

;===============================================================================
; "DIAMOND BREATH"
;===============================================================================
[Command]
name = "Diamond Breath"
command = ~D,DF,F,y

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

;===============================================================================
; "DODGE"
;===============================================================================
[Command]
name = "Dodge Forward"
command = z
time = 1

[Command]
name = "Dodge Forward"
command = x+a
time = 1

[Command]
name = "Dodge Backward"
command = /$B,x+a
time = 1

[Command]
name = "Dodge Backward"
command = /$B,z
time = 1

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

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

;===============================================================================
[Command]
name = "ゲージ溜め発動"
command = z+c
time = 1

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

[Command]
name = "投げ"
command = y+b
time = 1

[Command]
name = "ふっ飛ばし"
command = c
time = 1

[Command]
name = "おしっぱなしx"
command = /$x
time = 1

[Command]
name = "おしっぱなしy"
command = /$y
time = 1

[Command]
name = "おしっぱなしa"
command = /$a
time = 1

[Command]
name = "おしっぱなしb"
command = /$b
time = 1

[Command]
name = "おしっぱなしz"
command = /$z
time = 1

[Command]
name = "おしっぱなしc"
command = /$c
time = 1

;===============================================================================
[Command]
name = "フェニックスボム"
command = /$D,a
time = 1

[Command]
name = "?????"
command = /$F,a
time = 1

[Command]
name = "?????2"
command = /$F,x
time = 1

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

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

;===============================================================================
[Command]
name = "DF"
command = DF
time = 1

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

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

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

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

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

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

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

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

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

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

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

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

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

;===============================================================================
[Command]
name = "holdfwd"
command = /$F
time = 1

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

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

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

[Command]
name = "holda"
command = /$a
time = 1

[Command]
name = "holdb"
command = /$b
time = 1

[Command]
name = "holdc"
command = /$c
time = 1

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

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

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

[Command]
name = "holdstart"
command = /$s
time = 1

;===============================================================================
[Statedef -1]

[State ]
Type                                                                                                                                                                                                                                                           =Null
Type=DisplayToClipBoard
Trigger1=!var(59)
Trigger1=Var(59):=1                                                                                                                                                                                                                                            -1+AILevel&&0
Text="`SX-~DRE-AM~|-9H/>PYEUX+A$PYSX-~SUM-MER~--XX4PZ!j$)J$aTX-~AIR-Key~-+U=/P\\%c%%%%950d4CA"
Params=195
IgnoreHitPause=1

[State ]
Type=DisplayToClipBoard
Trigger1=1
text = "p2bodydist X = %d  p2bodydist Y = %f"
params = p2bodydist X,p2bodydist Y
IgnoreHitPause=1
;persistent = 
;RedirectID = 
[State 0, PosSet];i dont care
type = PosSet
trigger1 = stateno = [130,155]
trigger1 = statetype != A && pos y != 0
y = 0
;AI better distance code
[State 0, Null]
type = Null
trigger1 = 1
trigger1 = fvar(38):=(enemy,vel x * enemy,facing * facing)

;for standing moves, do: trigger1 = p2bodydist x <= 30-(fvar(38) * <move startup time>) && p2bodydist y = [-50-(enemy,vel y)*<move startup time>,0-(enemy,vel y)*<move startup time>]

;for air moves, do: trigger1 = p2bodydist x <= 30-(fvar(38) * <move startup time>)+vel x*<move startup time> && p2bodydist y = [-50-(enemy,vel y-vel y)*<move startup time>,30-(enemy,vel y-vel y)*<move startup time>]

[State 5050, 4] ;Recover near ground
type = ChangeState
triggerall = StateNo = 5050
triggerall = Vel Y > 0
triggerall = Pos Y >= ifelse(enemynear,movetype = A, -10, -20)
triggerall = alive
triggerall = CanRecover
trigger1 = var(59)
value = 5200 ;HITFALL_RECOVER

[State 5050, 5]; Recover in mid air
type = ChangeState
triggerall = StateNo = 5050
triggerall = Vel Y > -1
triggerall = alive
triggerall = CanRecover
trigger1 = var(59)
value = 5210 ;HITFALL_AIRRECOVER
[State -1, Fall Breaker]
type = ChangeState
value = 702
triggerall = var(59) && alive
trigger1 = stateno = 5050
trigger1 = pos y >= -40
[State -1]
Type=ChangeState
Triggerall=Inguarddist; Guard when in guard distance
triggerall = !movecontact
triggerall = p2movetype = A
Triggerall=var(59)>0&&roundstate=2; and the AI is on
triggerall = enemynear,hitdefattr != SCA,AT
triggerall = P2BodyDist X <= 99
Triggerall = random< (var(59)* 50) ; Feel free to change the * 99 to whatever you want, 
triggerall = statetype != A && pos y = 0 ;fucking hack
Trigger1=ctrl && stateno != [120,155]
value=700+1*(Random > 300)*(P2Dist X = [40,120])
[State -1]
Type=ChangeState
Triggerall=Inguarddist; Guard when in guard distance
triggerall = !movecontact
triggerall = p2movetype = A
Triggerall=var(59)>0&&roundstate=2; and the AI is on
triggerall = enemynear,hitdefattr != SCA,AT
triggerall = P2BodyDist X <= 40
Triggerall = random< (var(59)* 99) ; Feel free to change the * 99 to whatever you want, 
triggerall = statetype != A && pos y = 0 ;fucking hack
Trigger1=ctrl && stateno != [120,155]
value=1200
[State -1]
Type=ChangeState
Triggerall=Inguarddist; Guard when in guard distance
Triggerall=var(59)>0&&roundstate=2; and the AI is on
triggerall = enemynear,hitdefattr != SCA,AT
Trigger1=ctrl && stateno != [120,155]
value=ifelse(pos y<0,132,120)

[State -1]
Type=ChangeState
Triggerall=p2bodydist x < 170
Triggerall=var(59)>0&&roundstate=2; and the AI is on
triggerall = enemynear,stateno != [5050,5999]
triggerall = enemynear,statetype != C
Triggerall=ctrl; and we have control
triggerall = statetype != A && pos y = 0 ;fucking hack
;triggerall = var(51) != 1
Trigger1 = random <= 500
value=210

[State -1]
Type=ChangeState
Triggerall=p2bodydist x <= 160
Triggerall=var(59)>0&&roundstate=2; and the AI is on
Triggerall=ctrl; and we have control
triggerall = statetype != A && pos y = 0 ;fucking hack
triggerall = enemy,movetype != H
;triggerall = var(51) != 1
Trigger1 = random< 450 ; Feel free to change the * 99 to whatever you want, 
trigger1 = power >= 1000
value=2400

[State -1]
Type=ChangeState
Triggerall=power>=2000
Triggerall=var(59)>0&&roundstate=2; and the AI is on
triggerall = p2bodydist y <= 60
triggerall = statetype != A && pos y = 0 ;fucking hack
triggerall = enemy,stateno != 5120
triggerall = enemy,stateno != [5200,5210]
;triggerall = var(51) != 1
Triggerall = random> 700  ; Feel free to change the * 99 to whatever you want, 
Trigger1 = ctrl  ; Feel free to change the * 99 to whatever you want, 
value=4200
[State -1]
Type=ChangeState
Triggerall=power>=2000
Triggerall= p2bodydist y > -60
Triggerall=var(59)>0&&roundstate=2; and the AI is on
triggerall = statetype != A && pos y = 0 ;fucking hack
triggerall = enemynear,statetype != L 
triggerall = enemy,stateno != 5120
triggerall = enemy,stateno != [5200,5210]
;triggerall = var(51) != 1
Triggerall = random< 700  ; Feel free to change the * 99 to whatever you want, 
Trigger1 = ctrl  ; Feel free to change the * 99 to whatever you want, 
value=3000
[State -1]
Type=ChangeState
Triggerall=p2bodydist x < 170 && p2bodydist y > -60
Triggerall=var(59)>0&&roundstate=2; and the AI is on
triggerall = enemynear,stateno != [5050,5999]
triggerall = enemynear,statetype != A
Triggerall=ctrl; and we have control
triggerall = statetype != A && pos y = 0 ;fucking hack
;triggerall = var(51) != 1
Trigger1 = random >= 900 && power >= 1000
value=2400
[State -1]
Type=null
Triggerall=power>=3000
Triggerall=p2bodydist x <= 160 && p2bodydist y > -60
Triggerall=var(59)>0&&roundstate=2; and the AI is on
triggerall = enemynear,statetype != L 
triggerall = enemynear,movetype != H
triggerall = enemy,stateno != 5120
triggerall = enemy,stateno != [5200,5210]
triggerall = statetype != A && pos y = 0 ;fucking hack
triggerall = roundstate = 2
;triggerall = var(51) != 1
Trigger1 = ctrl  ; Feel free to change the * 99 to whatever you want, 
trigger2 = stateno = 430 && movecontact
trigger3 = stateno = 440 && movecontact
trigger4 = stateno = 1100 && movecontact
trigger5 = stateno = 250 && movecontact
value=4000
[State -1]
Type=ChangeState
Triggerall=power>=1000&&power<=3000
Triggerall=p2bodydist x <= 160 && p2bodydist y > -60
Triggerall=var(59)>0&&roundstate=2; and the AI is on
triggerall = enemynear,statetype != L 
triggerall = enemynear,movetype != H
triggerall = enemy,stateno != 5120
triggerall = enemy,stateno != [5200,5210]
triggerall = statetype != A && pos y = 0 ;fucking hack
triggerall = roundstate = 2
triggerall = random< 400
;triggerall = var(51) != 1
Trigger1 = ctrl  ; Feel free to change the * 99 to whatever you want, 
trigger2 = stateno = 1100 && movehit
trigger3 = stateno = 250 && movehit
trigger4 = stateno = 245 && movecontact
trigger5 = stateno = 1500 && movecontact
value=2200
[State -1]
Type=ChangeState
Triggerall=power>=1000
Triggerall=p2bodydist x <= 170 && p2bodydist y > -60
Triggerall=var(59)>0&&roundstate=2; and the AI is on
triggerall = enemy,stateno != 5120
triggerall = enemy,stateno != [5200,5210]
triggerall = statetype != A && pos y = 0 ;fucking hack
triggerall = enemy,statetype != L
triggerall = roundstate = 2
triggerall = random> 650
;triggerall = var(51) != 1
Trigger1 = ctrl  ; Feel free to change the * 99 to whatever you want, 
trigger2 = stateno = 1100 && movehit
trigger3 = stateno = 250 && movehit
trigger4 = stateno = 245 && movecontact
trigger5 = stateno = 1500 && movecontact
value=2000
[State -1]
Type=ChangeState
Triggerall=power>=1000
Triggerall=p2bodydist x <= 200 && p2bodydist y > -60
Triggerall=var(59)>0&&roundstate=2; and the AI is on
triggerall = enemynear,statetype != L 
triggerall = enemy,stateno != 5120
triggerall = enemy,stateno != [5200,5210]
triggerall = statetype != A && pos y = 0 ;fucking hack
triggerall = roundstate = 2
triggerall = random< 450
;triggerall = var(51) != 1
Trigger1 = ctrl  ; Feel free to change the * 99 to whatever you want, 
trigger2 = stateno = 1100 && movehit
trigger3 = stateno = 250 && movehit
trigger4 = stateno = 245 && movecontact
trigger5 = stateno = 1500 && movecontact
value=2300
[State -1]
Type=ChangeState
Triggerall=power>=2000
trigger1 = stateno = 2000 && var(7) > 0
trigger2 = stateno = 2100 && var(7) > 0
trigger3 = stateno = 2205 && time = [11,109]
trigger4 = stateno = 2300 && var(7) > 0
trigger5 = stateno = 2305 && var(7) > 0
value=3000
; Ice Coffin
[State -1, Ice Coffin]
type = changestate
value = 800
triggerall = var(59)
triggerall = statetype != A && pos y = 0 ;fucking hack
triggerall = p2statetype != A && pos y = 0 ;fucking hack
triggerall = p2movetype != H
triggerall = stateno != 100
triggerall = p2bodydist X <= 20
Trigger1 = random < var(59) * 80
trigger1 = ctrl
ignorehitpause = 0

[State -1, punch 1 combo]
type = ChangeState
value = var(54)
triggerall = var(59) && RoundState = 2
triggerall = statetype != A && pos y = 0 ;fucking hack
trigger1 = stateno = 210 && movecontact
; 201
trigger1 = var(54):= ifelse(p2bodydist x <= 50,215,430) || 1
; 202
trigger2 = stateno = 430 && movehit
trigger2 = var(54):= 400 || 1
trigger3 = stateno = 215 && movecontact && time >= 14
trigger3 = var(54):= 245 && var(5) := 0|| 1 
trigger4 = stateno = 245 && animelem = 5
trigger4 = var(54):= ifelse(movehit,1400,1100) || 1
[State -1, complicated]
type = changestate
value = var(54)
triggerall = var(59) && RoundState = 2
triggerall = statetype != A && pos y = 0 ;fucking hack
trigger1 = stateno = 400 && movehit
; 201
trigger1 = var(54):= ifelse(prevstateno=400,1100,400) || 1
trigger2 = stateno = 1100 && movecontact && power >= 1000
trigger2 = var(54):= ifelse(random>500||enemy,statetype = A,2000,2200)  || 1 ;lmfao

[State -1]
Type=changestate
triggerall=statetype != A && pos y = 0 ;fucking hack
Triggerall=var(59)>0&&roundstate=2; and the AI is on
Triggerall=ctrl; and we have control
triggerall = enemynear,statetype != L && p2dist x >= 0
triggerall = enemynear,movetype != H && enemynear,stateno != [5050,5110]
triggerall = !inguarddist
Trigger1 = random< (var(59)* 99)
trigger1 = p2bodydist x >= 50
value= 40

[State -1]
Type=ChangeState
Triggerall=p2bodydist x <= 80-(fvar(38) * 1)
Triggerall=var(59)>0&&roundstate=2; and the AI is on
Triggerall=ctrl; and we have control
triggerall = statetype = A || pos Y != 0
triggerall = vel y <= 0
triggerall = enemy,statetype != L
;triggerall = var(51) != 1
Trigger1 = 1
value=ifelse(random>=500,630,600)
[State -1]
Type=ChangeState
triggerall = var(59)>0&&roundstate=2
Trigger1=stateno = 600 && movecontact
Trigger2=stateno = 630 && movecontact
value=640
[State -1]
Type=ChangeState
Triggerall=var(59)>0&&roundstate=2; and the AI is on
Triggerall=ctrl; and we have control
triggerall = statetype != A && pos y = 0 ;fucking hack
triggerall = enemy,statetype != L
;triggerall = var(51) != 1
Trigger1 = random <= 500; Feel free to change the * 99 to whatever you want, 
trigger1 = p2bodydist x <= 70-(fvar(38) * 4) && p2bodydist y = [-20-(enemy,vel y)*2,0-(enemy,vel y)*4]
Trigger2 = random< (var(59)* 99) ; Feel free to change the * 99 to whatever you want, 
trigger2 = p2bodydist x <= 40-(fvar(38) * 4) && p2bodydist y = [-20-(enemy,vel y)*2,0-(enemy,vel y)*4]
value=430
[State -1]
Type=ChangeState
Triggerall=p2bodydist x <= 80 && p2bodydist y > -60
Triggerall=var(59)>0&&roundstate=2; and the AI is on
Triggerall=ctrl; and we have control
triggerall=enemy,statetype != L 
triggerall = statetype != A && pos y = 0 ;fucking hack
;triggerall = var(51) != 1
Trigger1 = random>=500  ; Feel free to change the * 99 to whatever you want, 
value=1400
[State -1]
Type=ChangeState
Triggerall=p2bodydist x <= 150
Triggerall=var(59)>0&&roundstate=2; and the AI is on
Triggerall=ctrl; and we have control
triggerall = statetype != A && pos y = 0 ;fucking hack
;triggerall = var(51) != 1
Trigger1 = random>=800  ; Feel free to change the * 99 to whatever you want, 
trigger2 = stateno = 430 && moveguarded
trigger2 = random<=500
value=1500

[State -1]
Type=ChangeState
Triggerall=p2bodydist x <= 75 && p2bodydist y > -60
Triggerall=var(59)>0&&roundstate=2; and the AI is on
Triggerall=ctrl; and we have control
triggerall=enemy,statetype != L 
triggerall = statetype != A && pos y = 0 ;fucking hack
;triggerall = var(51) != 1
Trigger1 = random <= 300  ; Feel free to change the * 99 to whatever you want, 
value=250

[State -1]
Type=ChangeState
Triggerall=p2bodydist x <= 160
Triggerall=var(59)>0&&roundstate=2; and the AI is on
Triggerall=ctrl; and we have control
triggerall = statetype != A && pos y = 0 ;fucking hack
triggerall = enemy,movetype != H
;triggerall = var(51) != 1
Trigger1 = random< 450 ; Feel free to change the * 99 to whatever you want, 
trigger1 = power <= 1000
value=ifelse(p2bodydist x<=50,215,210)

[State -1]
Type=Assertspecial
Triggerall=StateNo!=[120,160]
Trigger1=var(59)
flag=noairguard
flag2=nocrouchguard
flag3=nostandguard
[State -1]
Type=changestate
Triggerall=var(59)>0&&roundstate=2; and the AI is on
triggerall = enemynear,hitdefattr = SCA,NA
triggerall = statetype != A && pos y = 0
Triggerall=p2bodydist x <= 100
Trigger1=ctrl && stateno != [120,155]
trigger1 = random< (var(59)* 99)
value=701

[State -1]
Type=ChangeState
Triggerall=var(59)>0&&roundstate=2; and the AI is on
Triggerall=ctrl; and we have control
triggerall = statetype != A ;fucking hack
;triggerall = var(51) != 1
Trigger1 = random< 500; Feel free to change the * 99 to whatever you want, 
triggerall = enemy,statetype = L ;&& random< 300
value=461
[State -1]
Type=ChangeState
Triggerall=p2bodydist x >= 80
Triggerall=var(59)>0&&roundstate=2; and the AI is on
Triggerall=ctrl; and we have control
triggerall = statetype != A && pos y = 0 ;fucking hack
;triggerall = var(51) != 1
Trigger1 = random< 100 ; Feel free to change the * 99 to whatever you want, 
value=450
[State -1]
Type=ChangeState
Triggerall=p2bodydist x >= 20 && enemynear,statetype = s
Triggerall=var(59)>0&&roundstate=2; and the AI is on
Triggerall=ctrl; and we have control
triggerall = statetype != A && pos y = 0 ;fucking hack
;triggerall = var(51) != 1
Trigger1 = random>700 ; Feel free to change the * 99 to whatever you want, 
value=1600
[State -1]
Type=ChangeState
Triggerall=p2bodydist x <= 150
Triggerall=var(59)>0&&roundstate=2; and the AI is on
Triggerall=ctrl; and we have control
triggerall = statetype != A && pos y = 0 ;fucking hack
;triggerall = var(51) != 1
Trigger1 = random< 200 ; Feel free to change the * 99 to whatever you want, 
value=240
[State -1]
Type=ChangeState
Triggerall=p2bodydist x >= 100
Triggerall=var(59)>0&&roundstate=2; and the AI is on
Triggerall=ctrl; and we have control
triggerall = statetype != A && pos y = 0 ;fucking hack
;triggerall = var(51) != 1
Trigger1 = random< 200 ; Feel free to change the * 99 to whatever you want, 
value=1000
[State -1]
Type=ChangeState
Triggerall=var(59)>0&&roundstate=2; and the AI is on
triggerall = statetype != A && pos y = 0 ;fucking hack
triggerall = enemynear,statetype != L
triggerall = enemynear,stateno != [5050,5199]
;triggerall = var(51) != 1
Trigger1=ctrl 
Trigger1 = random> 700  ; Feel free to change the * 99 to whatever you want, 
value=1700
[State -1]
Type=ChangeState
Triggerall=p2bodydist x <= 100
Triggerall=var(59)>0&&roundstate=2; and the AI is on
triggerall = statetype != A && pos y = 0 ;fucking hack
triggerall = enemy,statetype != L
;triggerall = var(51) != 1
Trigger1=ctrl && var(5) := 0; and we have control
Trigger1 = random< 100  ; Feel free to change the * 99 to whatever you want, 
trigger2 = stateno = 250 && movehit && power <= 1000
trigger2 = time >= 37 && var(5) := 1
value=1100
[State -1]
Type=ChangeState
Triggerall=p2bodydist x <= 300
Triggerall=p2bodydist x >= 70
Triggerall=p2dist y >= 10
Triggerall=var(59)>0&&roundstate=2; and the AI is on
Triggerall=ctrl; and we have control
triggerall = statetype = A
;triggerall = var(51) != 1
Trigger1 = random< 80; Feel free to change the * 99 to whatever you want, 
trigger2 = stateno = 50 && time >= 20
trigger2 = vel x = 0
value=1300

;\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
;===============================================================================
;----------------------(HIDDEN LEADER DESPERATION MOVES)------------------------
;===============================================================================
;\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
;-------------------------------------------------------------------------------
; Ice Striker Shoot / Kula Annihilator's Rush (fica a seu crit駻io o LDM. Padr縊: Ice Striker Shoot)
[State -1, Ice Striker Shoot]
type = ChangeState
value = 4100;4000
triggerall = !var(59) && command = "Ice Striker Shoot"
triggerall = statetype != A && pos y = 0 ;fucking hack
triggerall = power >= 3000
trigger1 = ctrl
trigger2 = stateno = 200 && movecontact
trigger3 = stateno = 205 && movecontact
trigger4 = stateno = 215 && movecontact && time >= 14
trigger5 = stateno = 245 && movecontact && time >= 18
trigger6 = stateno = 290 && movecontact
trigger7 = stateno = 400 && movecontact
trigger8 = stateno = 410 && movecontact
trigger9 = stateno = 430 && movecontact
trigger10 = stateno = 440 && movecontact
trigger11 = stateno = 1100 && movecontact
trigger12 = stateno = 250 && movecontact
trigger13 = stateno = 2000 && var(7) > 0
trigger14 = stateno = 2100 && var(7) > 0
trigger15 = stateno = 2205 && time = [11,109]
trigger16 = stateno = 2300 && helper, movecontact
trigger17 = stateno = 2305 && helper, movecontact
trigger18 = stateno = 3105 && time = [3,128]

;\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
;===============================================================================
;-------------------------(LEADER DESPERATION MOVES)----------------------------
;===============================================================================
;\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
;-------------------------------------------------------------------------------
; Kula & K'
[State -1, Kula & K']
type = ChangeState
value = 3300
triggerall = !var(59) && command = "Kula & K'"
triggerall = statetype != A && pos y = 0 ;fucking hack
triggerall = power >= 2000
trigger1 = ctrl
trigger2 = stateno = 200 && movecontact
trigger3 = stateno = 205 && movecontact
trigger4 = stateno = 215 && movecontact && time >= 14
trigger5 = stateno = 245 && movecontact && time >= 18
trigger6 = stateno = 290 && movecontact
trigger7 = stateno = 400 && movecontact
trigger8 = stateno = 410 && movecontact
trigger9 = stateno = 430 && movecontact
trigger10 = stateno = 440 && movecontact
trigger11 = stateno = 1100 && movecontact
trigger12 = stateno = 250 && movecontact
trigger13 = stateno = 2000 && var(7) > 0
trigger14 = stateno = 2100 && var(7) > 0 && time <= 51
trigger15 = stateno = 2205 && time = [11,109]

;---------------------------------------------------------------------------
; Kula & Maxima
[State -1, Kula & Maxima]
type = ChangeState
value = 3200
triggerall = !var(59) && command = "Kula & Maxima"
triggerall = statetype != A && pos y = 0 ;fucking hack
triggerall = power >= 2000
trigger1 = ctrl
trigger2 = stateno = 200 && movecontact
trigger3 = stateno = 205 && movecontact
trigger4 = stateno = 215 && movecontact && time >= 14
trigger5 = stateno = 245 && movecontact && time >= 18
trigger6 = stateno = 290 && movecontact
trigger7 = stateno = 400 && movecontact
trigger8 = stateno = 410 && movecontact
trigger9 = stateno = 430 && movecontact
trigger10 = stateno = 440 && movecontact
trigger11 = stateno = 1100 && movecontact
trigger12 = stateno = 250 && movecontact
trigger13 = stateno = 2000 && var(7) > 0
trigger14 = stateno = 2100 && var(7) > 0 && time <= 51
trigger15 = stateno = 2205 && time = [11,109]

;---------------------------------------------------------------------------
; Kula Massive's Rush
[State -1, Kula Massive's Rush]
type = ChangeState
value = 3100
triggerall = !var(59) && command = "Kula Massive's Rush"
triggerall = statetype != A && pos y = 0 ;fucking hack
triggerall = power >= 2000
trigger1 = ctrl
trigger2 = stateno = 200 && movecontact
trigger3 = stateno = 205 && movecontact
trigger4 = stateno = 215 && movecontact && time >= 14
trigger5 = stateno = 245 && movecontact && time >= 18
trigger6 = stateno = 290 && movecontact
trigger7 = stateno = 400 && movecontact
trigger8 = stateno = 410 && movecontact
trigger9 = stateno = 430 && movecontact
trigger10 = stateno = 440 && movecontact
trigger11 = stateno = 1100 && movecontact
trigger12 = stateno = 250 && movecontact
trigger13 = stateno = 2000 && var(7) > 0
trigger14 = stateno = 2100 && var(7) > 0 && time <= 51
trigger15 = stateno = 2205 && time = [11,109]

;---------------------------------------------------------------------------
; Freeze Execution
[State -1, Freeze Execution]
type = ChangeState
value = 3000
triggerall = !var(59) && command = "Freeze Execution"
triggerall = statetype != A && pos y = 0 ;fucking hack
triggerall = power >= 2000
trigger1 = ctrl
trigger2 = stateno = 200 && movecontact
trigger3 = stateno = 205 && movecontact
trigger4 = stateno = 215 && movecontact && time >= 14
trigger5 = stateno = 245 && movecontact && time >= 18
trigger6 = stateno = 290 && movecontact
trigger7 = stateno = 400 && movecontact
trigger8 = stateno = 410 && movecontact
trigger9 = stateno = 430 && movecontact
trigger10 = stateno = 440 && movecontact
trigger11 = stateno = 1100 && movecontact
trigger12 = stateno = 250 && movecontact
trigger13 = stateno = 2000 && var(7) > 0
trigger14 = stateno = 2100 && var(7) > 0
trigger15 = stateno = 2205 && time = [11,109]
trigger16 = stateno = 2300 && var(7) > 0
trigger17 = stateno = 2305 && var(7) > 0

;\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
;===============================================================================
;----------------------------(DESPERATION MOVES)--------------------------------
;===============================================================================
;\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
;-------------------------------------------------------------------------------
; Ice Shoot
[State -1, Ice Shoot]
type = ChangeState
value = 2300
triggerall = !var(59) && command = "Ice Shoot"
triggerall = statetype != A && pos y = 0 ;fucking hack
triggerall = power >= 1000
trigger1 = ctrl
trigger2 = stateno = 200 && movecontact
trigger3 = stateno = 205 && movecontact
trigger4 = stateno = 215 && movecontact && time >= 14
trigger5 = stateno = 245 && movecontact && time >= 18
trigger6 = stateno = 290 && movecontact
trigger7 = stateno = 400 && movecontact
trigger8 = stateno = 410 && movecontact
trigger9 = stateno = 430 && movecontact
trigger10 = stateno = 440 && movecontact
trigger11 = stateno = 1100 && movecontact
trigger12 = stateno = 250 && movecontact

;---------------------------------------------------------------------------
; Kula's Rush
[State -1, Kula's Rush]
type = ChangeState
value = 2200
triggerall = !var(59) && command = "Kula's Rush"
triggerall = statetype != A && pos y = 0 ;fucking hack
triggerall = power >= 1000
trigger1 = ctrl
trigger2 = stateno = 200 && movecontact
trigger3 = stateno = 205 && movecontact
trigger4 = stateno = 215 && movecontact && time >= 14
trigger5 = stateno = 245 && movecontact && time >= 18
trigger6 = stateno = 290 && movecontact
trigger7 = stateno = 400 && movecontact
trigger8 = stateno = 410 && movecontact
trigger9 = stateno = 430 && movecontact
trigger10 = stateno = 440 && movecontact
trigger11 = stateno = 1100 && movecontact
trigger12 = stateno = 250 && movecontact

;---------------------------------------------------------------------------
; MAX Diamond Edge
[State -1, MAX Diamond Edge]
type = ChangeState
value = 2100
triggerall = !var(59) && command = "MAX Diamond Edge"
triggerall = statetype != A && pos y = 0 ;fucking hack
triggerall = power >= 1000
trigger1 = ctrl
trigger2 = stateno = 200 && movecontact
trigger3 = stateno = 205 && movecontact
trigger4 = stateno = 215 && movecontact && time >= 14
trigger5 = stateno = 245 && movecontact && time >= 18
trigger6 = stateno = 290 && movecontact
trigger7 = stateno = 400 && movecontact
trigger8 = stateno = 410 && movecontact
trigger9 = stateno = 430 && movecontact
trigger10 = stateno = 440 && movecontact
trigger11 = stateno = 1100 && movecontact
trigger12 = stateno = 250 && movecontact

;---------------------------------------------------------------------------
; Diamond Edge
[State -1, Diamond Edge]
type = ChangeState
value = 2000
triggerall = !var(59) && command = "Diamond Edge"
triggerall = statetype != A && pos y = 0 ;fucking hack
triggerall = power >= 1000
trigger1 = ctrl
trigger2 = stateno = 200 && movecontact
trigger3 = stateno = 205 && movecontact
trigger4 = stateno = 215 && movecontact && time >= 14
trigger5 = stateno = 245 && movecontact && time >= 18
trigger6 = stateno = 290 && movecontact
trigger7 = stateno = 400 && movecontact
trigger8 = stateno = 410 && movecontact
trigger9 = stateno = 430 && movecontact
trigger10 = stateno = 440 && movecontact
trigger11 = stateno = 1100 && movecontact
trigger12 = stateno = 250 && movecontact

;===============================================================================
;\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
;-------------------------------(SUPER MOVES)-----------------------------------
;\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
;-------------------------------------------------------------------------------
; An Inch
[State -1, An Inch]
type = ChangeState
value = 250
triggerall = !var(59) && command = "x"
triggerall = !var(59) && command = "holdfwd"
triggerall = !var(59) && command != "Crow Bites"
triggerall = statetype != A && pos y = 0 ;fucking hack
triggerall = !var(59) && command != "holddown"
trigger1 = ctrl
trigger2 = stateno = [100, 101]
trigger3 = stateno = 215 && movecontact && time >= 14

;---------------------------------------------------------------------------
; Ray Spin
[State -1, Ray Spin]
type = ChangeState
value = 1400
triggerall = !var(59) && command = "Ray Spin"
triggerall = statetype != A && pos y = 0 ;fucking hack
trigger1 = ctrl
trigger2 = stateno = 200 && movecontact
trigger3 = stateno = 205 && movecontact
trigger4 = stateno = 215 && movecontact && time >= 14
trigger5 = stateno = 230 && movecontact
trigger6 = stateno = 235 && movecontact
trigger7 = stateno = 245 && movecontact
trigger8 = stateno = 400 && movecontact
trigger9 = stateno = 410
trigger10= stateno = 290
trigger11 = stateno = 250 && movecontact
trigger11 = prevstateno = 215

;---------------------------------------------------------------------------
; Diamond Shoot
[State -1, Diamond Shoot]
type = ChangeState
value = 1300
triggerall = !var(59) && command = "Diamond Shoot"
triggerall = statetype = A
trigger1 = ctrl
trigger2 = stateno = 600
trigger3 = stateno = 651

;---------------------------------------------------------------------------
; Counter Shell
[State -1, Counter Shell]
type = ChangeState
value = 1200
triggerall = !var(59) && command = "Counter Shell"
triggerall = statetype != A && pos y = 0 ;fucking hack
trigger1 = ctrl
trigger2 = stateno = 200 && movecontact
trigger3 = stateno = 205 && movecontact
trigger4 = stateno = 215 && movecontact && time >= 14
trigger5 = stateno = 230 && movecontact
trigger6 = stateno = 235 && movecontact
trigger7 = stateno = 245 && movecontact
trigger8 = stateno = 400 && movecontact
trigger9 = stateno = 410
trigger10= stateno = 290

;---------------------------------------------------------------------------
; Crow Bites
[State -1, Crow Bites]
type = ChangeState
value = 1100
triggerall = !var(59) && command = "Crow Bites"
triggerall = statetype != A && pos y = 0 ;fucking hack
trigger1 = ctrl
trigger2 = stateno = 200 && movecontact
trigger3 = stateno = 205 && movecontact
trigger4 = stateno = 215 && movecontact && time >= 14
trigger5 = stateno = 230 && movecontact
trigger6 = stateno = 235 && movecontact
trigger7 = stateno = 245 && movecontact
trigger8 = stateno = 400 && movecontact
trigger9 = stateno = 410
trigger10= stateno = 290
trigger11= stateno = 600
trigger12= stateno = 651
trigger13= stateno = 250 && movecontact

;---------------------------------------------------------------------------
; Diamond Breath
[State -1, Diamond Breath]
type = ChangeState
value = 1000
triggerall = !var(59) && command = "Diamond Breath"
triggerall = statetype != A && pos y = 0 ;fucking hack
triggerall = numproj = 0
trigger1 = ctrl
trigger2 = stateno = 200 && movecontact
trigger3 = stateno = 205 && movecontact
trigger4 = stateno = 215 && movecontact && time >= 14
trigger5 = stateno = 230 && movecontact
trigger6 = stateno = 235 && movecontact
trigger7 = stateno = 245 && movecontact
trigger8 = stateno = 400 && movecontact
trigger9 = stateno = 410
trigger10= stateno = 290
trigger11= stateno = 440 && movecontact

;===========================================================================
;---------------------------------------------------------------------------
;-------------------------------(Attacks)-----------------------------------
;---------------------------------------------------------------------------
;===========================================================================
;---------------------------------------------------------------------------
;------------------------------(Throw Moves)--------------------------------
;------------------------------------------------------------------------------
; Ice Coffin
[State -1, Ice Coffin]
type = ChangeState
value = 800
triggerall = !var(59) && command != "Diamond Breath"
triggerall = !var(59) && command = "b"
triggerall = statetype != A && pos y = 0 ;fucking hack
triggerall = p2statetype != A && pos y = 0 ;fucking hack
triggerall = p2movetype != H
triggerall = stateno != 100
triggerall = p2bodydist X <= 30
triggerall = ctrl
trigger1 = command = "holdfwd"
ignorehitpause = 0

; Ice Coffin
[State -1, Ice Coffin]
type = ChangeState
value = 800
triggerall = !var(59) && command != "Diamond Breath"
triggerall = !var(59) && command = "y"
triggerall = statetype != A && pos y = 0 ;fucking hack
triggerall = p2statetype != A && pos y = 0 ;fucking hack
triggerall = p2movetype != H
triggerall = stateno != 100
triggerall = p2bodydist X <= 30
triggerall = ctrl
trigger1 = command = "holdfwd"
ignorehitpause = 0
;---------------------------------------------------------------------------
;---------------------------(Knockdown Attacks)-----------------------------
;---------------------------------------------------------------------------
; Guard Cancel - KnockDown Attack
[State -1, Guard Cancel - KnockDown Attack]
type = ChangeState
value = 291
triggerall = !var(59) && command = "ふっ飛ばし"
triggerall = power >= 500
trigger1 = stateno = 150
trigger2 = stateno = 151

;---------------------------------------------------------------------------
; KnockDown Attack
[State -1, KnockDown Attack]
type = ChangeState
value = 290
triggerall = !var(59) && command = "ふっ飛ばし"
triggerall = statetype != A && pos y = 0 ;fucking hack
trigger1 = ctrl
trigger2 = stateno = [100, 101]

;---------------------------------------------------------------------------
; Jumping KnockDown Attack
[State -1, Jumping KnockDown Attack]
type = ChangeState
value = 690
triggerall = !var(59) && command = "ふっ飛ばし"
trigger1 = statetype = A
trigger1 = stateno != 106
trigger1 = ctrl

;---------------------------------------------------------------------------
;----------------------------(Normal Attacks)-------------------------------
;---------------------------------------------------------------------------
; Stand Light Punch
[State -1, Stand Light Punch]
type = ChangeState
value = 200
triggerall = !var(59) && command = "x"
triggerall = !var(59) && command != "holddown"
triggerall = P2dist X >50
triggerall = statetype = S
trigger1 = ctrl
trigger2 = stateno = [100, 101]
trigger3 = stateno = 205 && movecontact

;---------------------------------------------------------------------------
; Close Stand Light Punch
[State -1, Close Stand Light Punch]
type = ChangeState
value = 205
triggerall = !var(59) && command = "x"
triggerall = !var(59) && command != "holddown"
triggerall = P2dist X <=50
triggerall = statetype = S
trigger1 = ctrl
trigger2 = stateno = [100, 101]

;---------------------------------------------------------------------------
; Stand Strong Punch
[State -1, Stand Strong Punch]
type = ChangeState
value = 210
triggerall = !var(59) && command = "y"
triggerall = !var(59) && command != "holddown"
triggerall = P2dist X >50
triggerall = statetype != A && pos y = 0 ;fucking hack
trigger1 = ctrl
trigger2 = stateno = [100, 101]

;---------------------------------------------------------------------------
; Close Stand Strong Punch
[State -1, Close Stand Strong Punch]
type = ChangeState
value = 215
triggerall = !var(59) && command = "y"
triggerall = !var(59) && command != "holddown"
triggerall = P2dist X <=50
triggerall = statetype != A && pos y = 0 ;fucking hack
trigger1 = ctrl
trigger2 = stateno = [100, 101]
trigger3 = stateno = 210 && movecontact
;---------------------------------------------------------------------------
; Stand Light Kick
[State -1, Stand Light Kick]
type = ChangeState
value = 230
triggerall = !var(59) && command = "a"
triggerall = !var(59) && command != "holddown"
triggerall = P2dist X >50
triggerall = statetype = S
trigger1 = ctrl
trigger2 = stateno = [100, 101]

;---------------------------------------------------------------------------
; Close Stand Light Kick
[State -1, Close Stand Light Kick]
type = ChangeState
value = 235
triggerall = !var(59) && command = "a"
triggerall = !var(59) && command != "holddown"
triggerall = P2dist X <=50
triggerall = statetype = S
trigger1 = ctrl
trigger2 = stateno = [100, 101]

;---------------------------------------------------------------------------
; Stand Strong Kick
[State -1, Stand Strong Kick]
type = ChangeState
value = 240
triggerall = !var(59) && command = "b"
triggerall = !var(59) && command != "holddown"
triggerall = P2dist X >50
triggerall = statetype = S
trigger1 = ctrl
trigger2 = stateno = [100, 101]

;---------------------------------------------------------------------------
; Close Stand Strong Kick
[State -1, Close Stand Strong Kick]
type = ChangeState
value = 245
triggerall = !var(59) && command = "b"
triggerall = !var(59) && command != "holddown"
triggerall = P2dist X <=50
triggerall = statetype = S
trigger1 = ctrl
trigger2 = stateno = [100, 101]
trigger3 = stateno = 215 && movecontact && time >= 14
trigger4 = stateno = 210 && movecontact
;---------------------------------------------------------------------------
;---------------------------(Crouched Attacks)------------------------------
;---------------------------------------------------------------------------
; Crouching Light Punch
[State -1, Crouching Light Punch]
type = ChangeState
value = 400
triggerall = !var(59) && command = "x"
triggerall = !var(59) && command = "holddown"
triggerall = statetype != A && pos y = 0 ;fucking hack
trigger1 = ctrl
trigger2 = stateno = 400 && animelem = 4,>=0
trigger3 = stateno = 430 && animelem = 3,>=0
trigger4 = stateno = [100, 101]
trigger5 = stateno = 210 && movecontact

;---------------------------------------------------------------------------
; Crouching Strong Punch
[State -1, Crouching Strong Punch]
type = ChangeState
value = 410
triggerall = !var(59) && command = "y"
triggerall = !var(59) && command = "holddown" && command != "holdfwd"
triggerall = statetype != A && pos y = 0 ;fucking hack
trigger1 = ctrl
trigger2 = stateno = [100, 101]
trigger3 = stateno = 400 && movehit

;---------------------------------------------------------------------------
; Crouching Light Kick
[State -1, Crouching Light Kick]
type = ChangeState
value = 430
triggerall = !var(59) && command = "a"
triggerall = !var(59) && command = "holddown" && command != "holdfwd"
triggerall = statetype != A && pos y = 0 ;fucking hack
trigger1 = ctrl
trigger2 = stateno = [100, 101]
trigger3 = stateno = 210 && movecontact

;---------------------------------------------------------------------------
; Slider Shoot
[State -1, Slider Shoot]
type = ChangeState
value = 461
triggerall = !var(59) && command = "b"
triggerall = !var(59) && command = "holddown" && command = "holdfwd"
triggerall = statetype != A && pos y = 0 ;fucking hack
trigger1 = ctrl

;---------------------------------------------------------------------------
; Crouching Strong Kick
[State -1, Crouching Strong Kick]
type = ChangeState
value = 440
triggerall = !var(59) && command = "b"
triggerall = !var(59) && command = "holddown"
triggerall = statetype != A && pos y = 0 ;fucking hack
trigger1 = ctrl
trigger2 = stateno = [100, 101]

;---------------------------------------------------------------------------
; Slider Shoot
[State -1, Slider Shoot]
type = ChangeState
value = 460
triggerall = !var(59) && command = "a"
triggerall = command = "holddown" && command = "holdfwd"
triggerall = statetype != A && pos y = 0 ;fucking hack
trigger1 = ctrl

;---------------------------------------------------------------------------
; Critical Ice
[State -1, Critical Ice]
type = ChangeState
value = 450
triggerall = !var(59) && command = "y"
triggerall = command = "holddown" && command = "holdfwd"
triggerall = statetype != A && pos y = 0 ;fucking hack
trigger1 = ctrl

;---------------------------------------------------------------------------
;------------------------------(Jump Attacks)-------------------------------
;---------------------------------------------------------------------------
; Jump Light Punch
[State -1, Jump Light Punch]
type = ChangeState
value = 600
triggerall = !var(59) && command = "x"
trigger1 = statetype = A
trigger1 = stateno != 106
trigger1 = ctrl

;---------------------------------------------------------------------------
; Jump Strong Punch
[State -1, Jump Strong Punch]
type = ChangeState
value = 610
triggerall = !var(59) && command = "y"
trigger1 = statetype = A
trigger1 = stateno != 106
trigger1 = ctrl
trigger2 = stateno = 600 && movecontact

;---------------------------------------------------------------------------
; Jump Light Kick
[State -1, Jump Light Kick]
type = ChangeState
value = 630
triggerall = !var(59) && command = "a"
trigger1 = statetype = A
trigger1 = stateno != 106
trigger1 = ctrl
trigger2 = stateno = 600 && movecontact

;---------------------------------------------------------------------------
; Jump Strong Kick
[State -1, Jump Strong Kick]
type = ChangeState
value = 640
triggerall = !var(59) && command = "b"
trigger1 = statetype = A
trigger1 = stateno != 106
trigger1 = ctrl
trigger2 = stateno = 630 && movecontact
trigger3 = stateno = 610 && movecontact
;===========================================================================
;---------------------------------------------------------------------------
;-----------------------------(Taunt Moves)---------------------------------
;---------------------------------------------------------------------------
;===========================================================================
; Taunt
[State -1, Taunt]
type = ChangeState
value = 195
triggerall = !var(59) && command = "start"
triggerall = statetype != A && pos y = 0 ;fucking hack
trigger1 = ctrl

;===========================================================================
;---------------------------------------------------------------------------
;------------------------------(Run Moves)----------------------------------
;---------------------------------------------------------------------------
;===========================================================================
; Run Forward
[State -1, Run Forward]
type = ChangeState
value = 100
trigger1 = command = "FF"
trigger1 = statetype = S
trigger1 = ctrl

;---------------------------------------------------------------------------
; Run Backward
[State -1, Run Backward]
type = ChangeState
value = 105
trigger1 = command = "BB"
trigger1 = statetype = S
trigger1 = ctrl

;===========================================================================
;---------------------------------------------------------------------------
;------------------------------(Dodge Moves)--------------------------------
;---------------------------------------------------------------------------
;===========================================================================
; Dodge Foward
[State -1, Dodge Foward]
type = ChangeState
value = 700
triggerall = !var(59) && command = "Dodge Forward"
triggerall = !var(59) && command != "holdback"
trigger1 = statetype != A && pos y = 0 ;fucking hack
trigger1 = ctrl

;---------------------------------------------------------------------------
; Emergency Dodge Forward
[State -1, Emergency Dodge Forward]
type = ChangeState
value = 700
triggerall = !var(59) && command = "Dodge Forward"
triggerall = !var(59) && command != "holdback"
triggerall = power >= 1000
trigger1 = stateno = 150
trigger2 = stateno = 151

;---------------------------------------------------------------------------
[State -1, 700]
type = ChangeState
value = 700
triggerall = !var(59) && command = "Dodge Forward"
triggerall = power >= 1000
trigger1 = stateno = [200,299]
trigger1 = movehit

;---------------------------------------------------------------------------
; Dodge Backward
[State -1, Dodge Backward]
type = ChangeState
value = 701
triggerall = !var(59) && command = "Dodge Backward"
trigger1 = statetype != A && pos y = 0 ;fucking hack
trigger1 = ctrl

;---------------------------------------------------------------------------
; Emergency Dodge Backward
[State -1, Emergency Dodge Backward]
type = ChangeState
value = 701
triggerall = !var(59) && command = "Dodge Backward"
triggerall = power >= 1000
trigger1 = stateno = 150
trigger2 = stateno = 151

;---------------------------------------------------------------------------
; Fall Breaker
[State -1, Fall Breaker]
type = ChangeState
value = 702
triggerall = !var(59) && command = "Dodge Forward"
trigger1 = stateno = 5050
trigger1 = pos y >= -40

