;\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
;---------------------------------------------------------------------------
;||                          AI by Ahuron/Nova                            ||
;---------------------------------------------------------------------------
;\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\

;----------------------------| AI |----------------------------
[Command]
name = "AI_0"
command = a,a,a,a
time = 0
[Command]
name = "AI_1"
command = a,a,a,a
time = 0
[Command]
name = "AI_2"
command = a,a,a,b
time = 0
[Command]
name = "AI_3"
command = a,a,a,c
time = 0
[Command]
name = "AI_4"
command = a,a,b,a
time = 0
[Command]
name = "AI_5"
command = a,a,b,b
time = 0
[Command]
name = "AI_6"
command = a,a,b,c
time = 0
[Command]
name = "AI_7"
command = a,a,c,a
time = 0
[Command]
name = "AI_8"
command = a,a,c,b
time = 0
[Command]
name = "AI_9"
command = a,a,c,c
time = 0
[Command]
name = "AI_10"
command = a,b,a,a
time = 0
[Command]
name = "AI_11"
command = a,b,a,b
time = 0
[Command]
name = "AI_12"
command = a,b,a,c
time = 0
[Command]
name = "AI_13"
command = a,b,b,a
time = 0
[Command]
name = "AI_14"
command = a,b,b,b
time = 0
[Command]
name = "AI_15"
command = a,b,b,c
time = 0
[Command]
name = "AI_16"
command = a,b,c,a
time = 0
[Command]
name = "AI_17"
command = a,b,c,b
time = 0
[Command]
name = "AI_18"
command = a,b,c,c
time = 0
[Command]
name = "AI_19"
command = a,c,a,a
time = 0
[Command]
name = "AI_20"
command = a,c,a,b
time = 0
[Command]
name = "AI_21"
command = a,c,a,c
time = 0
[Command]
name = "AI_22"
command = a,c,b,a
time = 0
[Command]
name = "AI_23"
command = a,c,b,b
time = 0
[Command]
name = "AI_24"
command = a,b,b,c
time = 0
[Command]
name = "AI_25"
command = a,c,c,a
time = 0
[Command]
name = "AI_26"
command = a,c,c,b
time = 0
[Command]
name = "AI_27"
command = a,c,c,c
time = 0
[Command]
name = "AI_28"
command = b,a,a,a
time = 0
[Command]
name = "AI_29"
command = b,a,a,b
time = 0
[Command]
name = "AI_30"
command = b,a,a,c
time = 0
[Command]
name = "AI_31"
command = b,a,b,a
time = 0
[Command]
name = "AI_32"
command = b,a,b,b
time = 0
[Command]
name = "AI_33"
command = b,a,b,c
time = 0
[Command]
name = "AI_34"
command = b,a,c,a
time = 0
[Command]
name = "AI_35"
command = b,a,c,b
time = 0
[Command]
name = "AI_36"
command = b,a,c,c
time = 0
[Command]
name = "AI_37"
command = b,b,a,a
time = 0
[Command]
name = "AI_38"
command = b,b,a,b
time = 0
[Command]
name = "AI_39"
command = b,b,a,c
time = 0
[Command]
name = "AI_40"
command = b,b,b,a
time = 0
[Command]
name = "AI_41"
command = b,b,b,b
time = 0
[Command]
name = "AI_42"
command = b,b,b,c
time = 0
[Command]
name = "AI_43"
command = b,b,c,a
time = 0
[Command]
name = "AI_44"
command = b,b,c,b
time = 0
[Command]
name = "AI_45"
command = b,b,c,c
time = 0
[Command]
name = "AI_46"
command = b,c,a,a
time = 0
[Command]
name = "AI_47"
command = b,c,a,b
time = 0
[Command]
name = "AI_48"
command = b,c,a,c
time = 0
[Command]
name = "AI_49"
command = b,c,b,a
time = 0
[Command]
name = "AI_50"
command = b,c,b,b
time = 0

;-| Skill |--------------------------------------------------------
[Command]
name = "FTorment"
command = ~D,F,a
time = 30

[Command]
name = "Angra Manyu" ; "Brava Angra"
command = ~D,F,D,F, c
time = 30

[Command]
name = "Ahura Mazda"
command = ~D,B,D,F, c
time = 30

[Command]
name = "Cronos"
command = ~D,F,D,B, c
time = 30

[Command]
name = "Shungoku"
command = ~D,F,D,B, c ; Akula Shungokusatsu
time = 30

[Command]
name = "Heaven Slicer"
command = ~D,D, z+x
time = 30

[Command]
name = "Ray"
command = ~D,D, c+x
time = 30

[Command]
name = "Bloody Tear"
command = ~D,D, z+c
time = 30

[Command]
name = "Dustiness"
command = ~D,F,D,F, s
time = 30

[Command]
name = "Reppuken"
command = ~D,F,D,F, c
time = 30

[Command]
name = "Jahad"
command = ~D,D, a+c
time = 30

[Command]
name = "Pitch"
command = ~D,D, y+c
time = 30

[Command]
name = "Eyes"
command = ~D,F,D,F, y
time = 30

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

[Command]
name = "Dark Beam"
command = ~D,B,D,B, x
time = 30

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

[Command]
name =  "blackhole"
command = ~D,D, y+z
time = 30

[Command]
name =  "Celestial"
command = ~D,D, b+z
time = 30

[Command]
name =  "Gaia"
command = ~D,D, c+b
time = 30

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

[Command]
name = "Infernal Light"
command = ~D,F,D,F, b
time = 30

[Command]
name = "Doppel"
command = ~D,F, s
time = 30

;-| Normal |------------------------------------------------------
[Command]
name = "Dust"
command = ~D,DF, s
time = 25

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

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

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

[Command]
name = "Pillar2"
command = ~F,D,B, y
time = 25

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

[Command]
name = "Pillar0"
command = ~F,D,B, x
time = 25

[Command]
name = "Dash"
command = ~B,D,DB, c
time = 25

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

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

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

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

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

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

[Command]
name = "sign"
command = ~B,D,DB, x

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

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

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

[Command]
name = "Dark Pillar"
command = ~D,F, x

[Command]
name = "Dark Strike"
command = ~D,F, y

[Command]
name = "Soul"
command = ~F,D,B, s
time = 25

[Command]
name = "Breath"
command = ~D,D, s

[Command]
name = "Teleport"
command = ~D,D, x

[Command]
name = "Teleport"
command = ~D,D, y

[Command]
name = "Teleport"
command = ~D,D, z

[Command]
name = "Teleport"
command = ~D,D, a

[Command]
name = "Teleport"
command = ~D,D, b

[Command]
name = "Teleport"
command = ~D,D, c

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

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

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

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

;-------------------------------------------------------------------------------
;-| Common |--------------------------------------------------------------------
[Command]
name = "FF"     ;Common1.cns
command = F, F
time = 10

[Command]
name = "BB"     ;Common1.cns
command = B, B
time = 10

;-------------------------------------------------------------------------------
;-| Common2 |-------------------------------------------------------------------
[Command]
name = "recovery"   ;Common1.cns
command = x+y
time = 1

[Command]
name = "recovery"   ;Common1.cns
command = a+b
time = 1

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

[Command]
name = "Dark-qi"
command = c
time = 1

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

;-------------------------------------------------------------------------------
;-| Common3 |-------------------------------------------------------------------
[Command]
name = "down_a"
command = /$D,a
time = 1

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

;-------------------------------------------------------------------------------
;-| Key |-----------------------------------------------------------------------
[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 = "hold_c"
command = /c

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

[Command]
name = "holdback"  ;Common1.cns
command = /$B
time = 1

[Command]
name = "holdup"    ;Common1.cns
command = /$U
time = 1

[Command]
name = "holddown"  ;Common1.cns
command = /$D
time = 1

[Command]
name = "fwd"  ;Required (do not remove)
command = /F
time = 1

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

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

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

;===========================================================================;
;***=====================================================================***;
;***---------------------------------------------------------------------***;
;***----------------------Skill Trigger----------------------------------***;
;***---------------------------------------------------------------------***;
;***=====================================================================***;
;===========================================================================;
[Statedef -1]

;Prevstateno 105
[State -3]
type = ChangeState
value = 105
triggerall = roundstate = 2
triggerall = Alive = 1
triggerall = var(30) = 1
triggerall = enemy,alive
triggerall = statetype != A && stateno != 105
triggerall = p2statetype=L||p2statetype!=A&&p2StateNo=5120||EnemyNear,statetype!=A&&EnemyNear,HitDefAttr=SC,NT,ST,HT||(EnemyNear,statetype=S||EnemyNear,statetype=C)
triggerall = BackEdgeBodyDist >= 30
triggerall = p2BodyDist X = [-90,90]
triggerall = Ctrl = 1
trigger1 = Random <= (IfElse((EnemyNear,HitDefAttr = SC,NT,ST,HT),900,300)) + 30
trigger2 = p2statetype = L && Random <= 100
trigger3 = (prevstateno=1260||prevstateno=1100||prevstateno=12300||prevstateno=18100||prevstateno=1450)
trigger3 = Random <= 100-((EnemyNear,movetype=H)*90)

;Prevstateno 25555
[State -3]
type = ChangeState
value = 25555
triggerall = Alive   = 1
triggerall = var(30) = 1
triggerall = statetype  != A
triggerall = enemy,alive
triggerall = P2BodyDist X = [0,70]
triggerall = p2movetype = H
trigger1 = Ctrl        = 1
trigger1 = prevstateno = 22121
trigger1 = Random <= 500

;Super killer
[State -3]
type = ChangeState
value = 1008000
triggerall = !ishelper
triggerall = statetype  != A
triggerall = p2name != "G_Saber_varsion_etarnal_TEST"
triggerall = p2name != "Kyuketsuki"
triggerall = p2name != ""
triggerall = p2name != "MUAHAHAHAHAHAHAHAHA"
triggerall = p2name != "genjitsu"
trigger1 = numhelper(6400000)
trigger1 = roundstate <= 2
trigger1 = helper(6400000),var(2) < 50
trigger1 = stateno = 0 || roundno>1&&helper(6400000),gethitvar(damage)>0
trigger1 = stateno != 1008000
trigger1 = ctrl = 0
trigger1 = movetype = I
trigger1 = helper(6400000),gethitvar(damage)>0

;Akuma killer code
[State 1]
type=changestate
value=6999
triggerall= palno = [1,6]
triggerall= palno != [7,12]
triggerall= numenemy && !ishelper(1)
triggerall= stateno!=6999 && roundstate=2
trigger1= var(35)>=1800
trigger2= enemy,name="F1" && enemy,authorname="Thomas Hsieh" 
trigger3= enemy,name="Neo-Sephiroth"
trigger4= enemy,name="RYUKO" && enemy,authorname="OGGY"
;trigger5= enemy,name="Chuck_Norris" && enemy,authorname="Gaelik" 
trigger5= enemy,name="Neo Dark Mai"
trigger6= enemy,name="ABOMB_MK2"
trigger7= enemy,name="Dark Orochi"
trigger8= enemy,name="Mizuchi No Daimao"
trigger9= enemy,name="ABOMB_MK2"
;trigger10= enemy,authorname="Zelgadis"
trigger11= enemy,authorname="Metroker"
trigger12= enemy,authorname="FAKE Sh4dy@REN-RENSIA"
trigger13= enemy,authorname="Geese"
;trigger14= enemy,authorname="AHURON"
trigger14= enemy,authorname="FAKE Shady@R3N-RENSIA"
trigger15= enemy,authorname="qwert"
trigger16= enemy,authorname="Chii-Chan"
trigger17= enemy,authorname="Lucifer666"
trigger18= enemy,authorname=""
trigger19= enemy,authorname="HeilMugen"

;Superpause
[State 1]
Type       = SuperPause
triggerall = !ishelper
triggerall = enemy,name = "genjitsu"
Trigger1   = win
trigger2   = enemy,alive = 0
Time       = 4000
MoveTime   = 4000
Anim       = -1
Darken     = 0
P2DefMul   = 1
IgnoreHitPause = 1

;Pause
[State 1]
Type       = Pause
triggerall = !ishelper
triggerall = enemy,name = "genjitsu"
Trigger1   = win
trigger2   = enemy,alive = 0
Time       = 4000
MoveTime   = 4000
IgnoreHitPause = 1

;Forever Guide - Lucifer Seeks
[State -1]
type = ChangeState
value = 2200
triggerall = palno = 12
triggerall = command = "Eyes"
triggerall = var(30) != 1
triggerall = power >= 6000
trigger1 = statetype != A
trigger1 = ctrl
trigger2 = stateno = 200
trigger3 = stateno = 205
trigger4 = stateno = 235
trigger5 = stateno = 240
trigger6 = stateno = 245
trigger7 = stateno = 400
trigger8 = stateno = 410
trigger9 = stateno = 430
trigger10= stateno = 440
trigger11= stateno = 700 && animelem = 3,>=0
trigger12= stateno = 1150 && movecontact
trigger13= stateno = 1250 && movecontact

;Lord Of Vermillion
[State -1]
type = ChangeState
value = 92450
triggerall = command = "FTorment"
triggerall = power >= 2000
triggerall = palno != 12 ;in pallete 12, she wont use this skill. Reason? i put the '!' sign.
trigger1 = statetype = A
trigger1 = ctrl
trigger2 = stateno = 600 && movecontact
trigger3 = stateno = 610 && movecontact
trigger4 = stateno = 630 && movecontact
trigger5 = stateno = 635 && movecontact
trigger6 = stateno = 640 && movecontact
trigger7 = stateno = 645 && movecontact
trigger8 = stateno = 650 && movecontact
trigger9 = stateno = 2080 && movecontact
trigger10 = stateno = 2086 && movecontact

;Forbidden Torment
[State -1]
type = ChangeState
value = 33100
triggerall = command = "FTorment"
triggerall = p2bodydist x < 50
triggerall = palno != 12
triggerall = statetype != A
triggerall = p2statetype != L && p2statetype != A
triggerall = power >= 2000
trigger1 = ctrl
trigger2 = movecontact
trigger2 = stateno = 220
trigger3 = movecontact
trigger3 = stateno = 200
trigger4 = movecontact
trigger4 = stateno = 210
trigger5 = movecontact
trigger5 = stateno = 400
trigger6 = movecontact
trigger6 = stateno = 410
trigger7 = movecontact
trigger7 = stateno = 420
trigger8 = movecontact
trigger8 = stateno = 240
trigger9 = movecontact
trigger9 = stateno = 202
;trigger2 = stateno = 700 && animelem = 3,>=0

[State -1, Shungokusatsu]
type=changestate
value=4000
triggerall= palno!=[7,12]
triggerall= palno=[1,6]
triggerall= command="Shungoku"
triggerall= var(59)<=0 && !ishelper(1) && roundstate=2 && (power>=3000 || var(20))
trigger1= ctrl
trigger2= (stateno=[200,4999]) && time>=2 && !numhelper(7500)
trigger2= (stateno!=[800,899]) && (stateno!=[1320,1339]) && (stateno!=[4000,4099]) && (stateno!=[4900,4999])

[State -1,Shungokusatsu]
type = ChangeState
value = 13200
triggerall = palno = 12
triggerall = command = "Shungoku"
triggerall = var(30) != 1
triggerall = power >= 7000
trigger1 = statetype != A
trigger1 = ctrl
trigger2 = stateno = 200
trigger3 = stateno = 205
trigger4 = stateno = 235
trigger5 = stateno = 240
trigger6 = stateno = 245
trigger7 = stateno = 400
trigger8 = stateno = 410
trigger9 = stateno = 430
trigger10= stateno = 440
trigger11= stateno = 700 && animelem = 3,>=0
trigger12= stateno = 1150 && movecontact
trigger13= stateno = 1250 && movecontact

;Heaven Slicer
[State -1]
type = ChangeState
value = 1111111200
triggerall = palno = [7,11]
triggerall = palno != 12
triggerall = command = "Heaven Slicer"
triggerall = var(30) != 1
triggerall = power >= 6000
trigger1 = statetype != A
trigger1 = ctrl
trigger2 = stateno = 200
trigger3 = stateno = 205
trigger4 = stateno = 235
trigger5 = stateno = 240
trigger6 = stateno = 245
trigger7 = stateno = 400
trigger8 = stateno = 410
trigger9 = stateno = 430
trigger10= stateno = 440
trigger11= stateno = 700 && animelem = 3,>=0
trigger12= stateno = 1150 && movecontact
trigger13= stateno = 1250 && movecontact

;Celestial Hole
[State -1]
type = ChangeState
value = 19200
triggerall = palno = [11,12]
triggerall = command = "Celestial"
triggerall = var(30) != 1
triggerall = power >= 6000
trigger1 = statetype != A
trigger1 = ctrl
trigger2 = stateno = 200
trigger3 = stateno = 205
trigger4 = stateno = 235
trigger5 = stateno = 240
trigger6 = stateno = 245
trigger7 = stateno = 400
trigger8 = stateno = 410
trigger9 = stateno = 430
trigger10= stateno = 440
trigger11= stateno = 700 && animelem = 3,>=0
trigger12= stateno = 1150 && movecontact
trigger13= stateno = 1250 && movecontact

;Celestial Hole
[State -1]
type = ChangeState
value = 19202
triggerall = palno = [7,10]
triggerall = palno !=[11,12]
triggerall = command = "Celestial"
triggerall = var(30) != 1
triggerall = power >= 6000
trigger1 = statetype != A
trigger1 = ctrl
trigger2 = stateno = 200
trigger3 = stateno = 205
trigger4 = stateno = 235
trigger5 = stateno = 240
trigger6 = stateno = 245
trigger7 = stateno = 400
trigger8 = stateno = 410
trigger9 = stateno = 430
trigger10= stateno = 440
trigger11= stateno = 700 && animelem = 3,>=0
trigger12= stateno = 1150 && movecontact
trigger13= stateno = 1250 && movecontact

;Ogru Jahad
[State -1]
type = ChangeState
value = 2300
triggerall = command = "Jahad"
triggerall = var(30) != 1
triggerall = palno = [7,12]
triggerall = power >= 6000
trigger1 = statetype != A
trigger1 = ctrl
trigger2 = stateno = 200
trigger3 = stateno = 205
trigger4 = stateno = 235
trigger5 = stateno = 240
trigger6 = stateno = 245
trigger7 = stateno = 400
trigger8 = stateno = 410
trigger9 = stateno = 430
trigger10= stateno = 440
trigger11= stateno = 700 && animelem = 3,>=0
trigger12= stateno = 1150 && movecontact
trigger13= stateno = 1250 && movecontact

;Chronos
[State -1]
type = ChangeState
value = 1009991
triggerall = command = "Cronos"
triggerall = var(30) != 1
triggerall = palno = [11,12]
triggerall = power >= 6000
trigger1 = statetype != A
trigger1 = ctrl
trigger2 = stateno = 200
trigger3 = stateno = 205
trigger4 = stateno = 235
trigger5 = stateno = 240
trigger6 = stateno = 245
trigger7 = stateno = 400
trigger8 = stateno = 410
trigger9 = stateno = 430
trigger10= stateno = 440
trigger11= stateno = 700 && animelem = 3,>=0
trigger12= stateno = 1150 && movecontact
trigger13= stateno = 1250 && movecontact

;Pitch Black
[State -1]
type = ChangeState
value = 14000
triggerall = palno = [7,12]
triggerall = command = "Pitch"
triggerall = var(30) != 1
triggerall = power >= 5000
trigger1 = statetype != A
trigger1 = ctrl
trigger2 = stateno = 200
trigger3 = stateno = 205
trigger4 = stateno = 235
trigger5 = stateno = 240
trigger6 = stateno = 245
trigger7 = stateno = 400
trigger8 = stateno = 410
trigger9 = stateno = 430
trigger10= stateno = 440
trigger11= stateno = 700 && animelem = 3,>=0
trigger12= stateno = 1150 && movecontact
trigger13= stateno = 1250 && movecontact

;Gaia Root
[State -1]
type = ChangeState
value = 19150
triggerall = palno = [11,12]
triggerall = command = "Gaia"
triggerall = var(30) != 1
triggerall = power >= 5000
trigger1 = statetype != A
trigger1 = ctrl
trigger2 = stateno = 200
trigger3 = stateno = 205
trigger4 = stateno = 235
trigger5 = stateno = 240
trigger6 = stateno = 245
trigger7 = stateno = 400
trigger8 = stateno = 410
trigger9 = stateno = 430
trigger10= stateno = 440
trigger11= stateno = 700 && animelem = 3,>=0
trigger12= stateno = 1150 && movecontact
trigger13= stateno = 1250 && movecontact

;Infernal Light
[State -1]
type = ChangeState
value = 4400
triggerall = palno = [7,12]
triggerall = command = "Infernal Light"
triggerall = var(30) != 1
triggerall = power >= 5000
trigger1 = statetype != A
trigger1 = ctrl
trigger2 = stateno = 200
trigger3 = stateno = 205
trigger4 = stateno = 235
trigger5 = stateno = 240
trigger6 = stateno = 245
trigger7 = stateno = 400
trigger8 = stateno = 410
trigger9 = stateno = 430
trigger10= stateno = 440
trigger11= stateno = 700 && animelem = 3,>=0
trigger12= stateno = 1150 && movecontact
trigger13= stateno = 1250 && movecontact

;Corrupted Sentinel
[State -1]
type = ChangeState
value = 3000
triggerall = palno != [7,12]
triggerall = command = "Infernal Light"
triggerall = var(30) != 1
triggerall = power >= 2000
trigger1 = statetype != A
trigger1 = ctrl
trigger2 = stateno = 200
trigger3 = stateno = 205
trigger4 = stateno = 235
trigger5 = stateno = 240
trigger6 = stateno = 245
trigger7 = stateno = 400
trigger8 = stateno = 410
trigger9 = stateno = 430
trigger10= stateno = 440
trigger11= stateno = 700 && animelem = 3,>=0
trigger12= stateno = 1150 && movecontact
trigger13= stateno = 1250 && movecontact

;Reppuken
[State -1]
type = ChangeState
value = 7100
triggerall = palno != [7,12]
triggerall = command = "Reppuken"
triggerall = var(30) != 1
triggerall = power >= 4000
trigger1 = statetype != A
trigger1 = ctrl
trigger2 = stateno = 200
trigger3 = stateno = 205
trigger4 = stateno = 235
trigger5 = stateno = 240
trigger6 = stateno = 245
trigger7 = stateno = 400
trigger8 = stateno = 410
trigger9 = stateno = 430
trigger10= stateno = 440
trigger11= stateno = 700 && animelem = 3,>=0
trigger12= stateno = 1150 && movecontact
trigger13= stateno = 1250 && movecontact

;Ray Light
[State -1]
type = ChangeState
value = 33500
triggerall = palno = [7,12]
triggerall = command = "Ray"
triggerall = var(30) != 1
triggerall = power >= 3000
trigger1 = statetype != A
trigger1 = ctrl
trigger2 = stateno = 200
trigger3 = stateno = 205
trigger4 = stateno = 235
trigger5 = stateno = 240
trigger6 = stateno = 245
trigger7 = stateno = 400
trigger8 = stateno = 410
trigger9 = stateno = 430
trigger10= stateno = 440
trigger11= stateno = 700 && animelem = 3,>=0
trigger12= stateno = 1150 && movecontact
trigger13= stateno = 1250 && movecontact

;Shadow Stalk
[State -1]
type = ChangeState
value = 2450
triggerall = palno != [7,12]
triggerall = command = "Ray"
triggerall = var(30) != 1
triggerall = power >= 1000
trigger1 = statetype != A
trigger1 = ctrl
trigger2 = stateno = 200
trigger3 = stateno = 205
trigger4 = stateno = 235
trigger5 = stateno = 240
trigger6 = stateno = 245
trigger7 = stateno = 400
trigger8 = stateno = 410
trigger9 = stateno = 430
trigger10= stateno = 440
trigger11= stateno = 700 && animelem = 3,>=0
trigger12= stateno = 1150 && movecontact
trigger13= stateno = 1250 && movecontact

;Celestial Destruction
[State -1]
type = ChangeState
value = 19500
triggerall = palno = [7,11]
triggerall = palno != 12
triggerall = command = "Ceres"
triggerall = var(30) != 1
triggerall = power >= 3000
trigger1 = statetype != A
trigger1 = ctrl
trigger2 = stateno = 200
trigger3 = stateno = 205
trigger4 = stateno = 235
trigger5 = stateno = 240
trigger6 = stateno = 245
trigger7 = stateno = 400
trigger8 = stateno = 410
trigger9 = stateno = 430
trigger10= stateno = 440
trigger11= stateno = 700 && animelem = 3,>=0
trigger12= stateno = 1150 && movecontact
trigger13= stateno = 1250 && movecontact

[State -1, Dark Hole]
type = ChangeState
value = 30080
triggerall = command = "blackhole"
triggerall = palno = [7,12]
triggerall = power >= 4000
trigger1 = statetype != A
trigger1 = ctrl

[State -1, Soul Buster]
type = ChangeState
value = 4501
triggerall = palno = 12
triggerall = command = "Ahura Mazda"
triggerall = var(30) != 1
triggerall = power >= 5000
trigger1 = statetype != A
trigger1 = ctrl
trigger2 = stateno = 200
trigger3 = stateno = 205
trigger4 = stateno = 235
trigger5 = stateno = 240
trigger6 = stateno = 245
trigger7 = stateno = 400
trigger8 = stateno = 410
trigger9 = stateno = 430
trigger10= stateno = 440
trigger11= stateno = 700 && animelem = 3,>=0
trigger12= stateno = 1150 && movecontact
trigger13= stateno = 1250 && movecontact

[State -1, Beam]
type = ChangeState
value = 34300
triggerall = palno = 11
triggerall = palno != 12
triggerall = command = "Angra Manyu"
triggerall = var(30) != 1
triggerall = power >= 5000
trigger1 = statetype != A
trigger1 = ctrl
trigger2 = stateno = 200
trigger3 = stateno = 205
trigger4 = stateno = 235
trigger5 = stateno = 240
trigger6 = stateno = 245
trigger7 = stateno = 400
trigger8 = stateno = 410
trigger9 = stateno = 430
trigger10= stateno = 440
trigger11= stateno = 700 && animelem = 3,>=0
trigger12= stateno = 1150 && movecontact
trigger13= stateno = 1250 && movecontact

[State -1, Yamisutga]
type = ChangeState
value = 11220
triggerall = palno = [7,12]
triggerall = command = "Yamisutga"
triggerall = var(30) != 1
triggerall = power >= 3000
trigger1 = statetype != A
trigger1 = ctrl
trigger2 = stateno = 200
trigger3 = stateno = 205
trigger4 = stateno = 235
trigger5 = stateno = 240
trigger6 = stateno = 245
trigger7 = stateno = 400
trigger8 = stateno = 410
trigger9 = stateno = 430
trigger10= stateno = 440
trigger11= stateno = 700 && animelem = 3,>=0
trigger12= stateno = 1150 && movecontact
trigger13= stateno = 1250 && movecontact

;Nullist
[State -1]
type = ChangeState
value = 1007000
triggerall = palno = [11,12]
triggerall = command = "Null"
triggerall = var(30) != 1
triggerall = power >= 4000
trigger1 = statetype != A
trigger1 = ctrl
trigger2 = stateno = 200
trigger3 = stateno = 205
trigger4 = stateno = 235
trigger5 = stateno = 240
trigger6 = stateno = 245
trigger7 = stateno = 400
trigger8 = stateno = 410
trigger9 = stateno = 430
trigger10= stateno = 440
trigger11= stateno = 700 && animelem = 3,>=0
trigger12= stateno = 1150 && movecontact
trigger13= stateno = 1250 && movecontact

;Null-normal
[State -1]
type = ChangeState
value = 3250
triggerall = palno != [11,12]
triggerall = command = "Null"
triggerall = var(30) != 1
triggerall = power >= 4000
trigger1 = statetype != A
trigger1 = ctrl
trigger2 = stateno = 200
trigger3 = stateno = 205
trigger4 = stateno = 235
trigger5 = stateno = 240
trigger6 = stateno = 245
trigger7 = stateno = 400
trigger8 = stateno = 410
trigger9 = stateno = 430
trigger10= stateno = 440
trigger11= stateno = 700 && animelem = 3,>=0
trigger12= stateno = 1150 && movecontact
trigger13= stateno = 1250 && movecontact

;Bloody Tear
[State -1]
type = ChangeState
value = 11000
triggerall = palno = [7,12]
triggerall = command = "Bloody Tear"
triggerall = var(30) != 1
triggerall = power >= 2000
trigger1 = statetype != A
trigger1 = ctrl
trigger2 = stateno = 200
trigger3 = stateno = 205
trigger4 = stateno = 235
trigger5 = stateno = 240
trigger6 = stateno = 245
trigger7 = stateno = 400
trigger8 = stateno = 410
trigger9 = stateno = 430
trigger10= stateno = 440
trigger11= stateno = 700 && animelem = 3,>=0
trigger12= stateno = 1150 && movecontact
trigger13= stateno = 1250 && movecontact

;Dark Beam
[State -1]
type = ChangeState
value = 10120
triggerall = command = "Dark Beam"
triggerall = var(30) != 1
triggerall = power >= 2000
triggerall = palno != 12
trigger1 = statetype != A
trigger1 = ctrl
trigger2 = stateno = 200
trigger3 = stateno = 205
trigger4 = stateno = 235
trigger5 = stateno = 240
trigger6 = stateno = 245
trigger7 = stateno = 400
trigger8 = stateno = 410
trigger9 = stateno = 430
trigger10= stateno = 440
trigger11= stateno = 700 && animelem = 3,>=0
trigger12= stateno = 1150 && movecontact
trigger13= stateno = 1250 && movecontact

;Yami Beam
[State -1]
type = ChangeState
value = 4300
triggerall = command = "Dark Beam"
triggerall = var(30) != 1
triggerall = palno = 12
triggerall = power >= 2000
trigger1 = statetype != A
trigger1 = ctrl
trigger2 = stateno = 200
trigger3 = stateno = 205
trigger4 = stateno = 235
trigger5 = stateno = 240
trigger6 = stateno = 245
trigger7 = stateno = 400
trigger8 = stateno = 410
trigger9 = stateno = 430
trigger10= stateno = 440
trigger11= stateno = 700 && animelem = 3,>=0
trigger12= stateno = 1150 && movecontact
trigger13= stateno = 1250 && movecontact

;Dustiness
[State -1]
type = ChangeState
value = 300800
triggerall = palno != [7,12]
triggerall = command = "Dustiness"
triggerall = var(30) != 1
triggerall = power >= 3000
trigger1 = statetype != A
trigger1 = ctrl
trigger2 = stateno = 200
trigger3 = stateno = 205
trigger4 = stateno = 235
trigger5 = stateno = 240
trigger6 = stateno = 245
trigger7 = stateno = 400
trigger8 = stateno = 410
trigger9 = stateno = 430
trigger10= stateno = 440
trigger11= stateno = 700 && animelem = 3,>=0
trigger12= stateno = 1150 && movecontact
trigger13= stateno = 1250 && movecontact

;Dustiness
[State -1]
type = ChangeState
value = 13400
triggerall = palno != [7,12]
triggerall = command = "Dustiness"
triggerall = var(30) != 1
triggerall = power >= 3000
trigger1 = statetype != A
trigger1 = ctrl
trigger2 = stateno = 200
trigger3 = stateno = 205
trigger4 = stateno = 235
trigger5 = stateno = 240
trigger6 = stateno = 245
trigger7 = stateno = 400
trigger8 = stateno = 410
trigger9 = stateno = 430
trigger10= stateno = 440
trigger11= stateno = 700 && animelem = 3,>=0
trigger12= stateno = 1150 && movecontact
trigger13= stateno = 1250 && movecontact

;Dustiness-normal
[State -1]
type = ChangeState
value = 11800
triggerall = palno != [7,12]
triggerall = command = "Dustiness"
triggerall = var(30) != 1
triggerall = power >= 3000
trigger1 = statetype != A
trigger1 = ctrl
trigger2 = stateno = 200
trigger3 = stateno = 205
trigger4 = stateno = 235
trigger5 = stateno = 240
trigger6 = stateno = 245
trigger7 = stateno = 400
trigger8 = stateno = 410
trigger9 = stateno = 430
trigger10= stateno = 440
trigger11= stateno = 700 && animelem = 3,>=0
trigger12= stateno = 1150 && movecontact
trigger13= stateno = 1250 && movecontact

;Doppelganger
[State -1]
type = ChangeState
value = 1030
triggerall = palno != [7,12]
triggerall = command = "Doppel"
triggerall = var(30) != 1
triggerall = power >= 1000
trigger1 = statetype != A
trigger1 = ctrl
trigger2 = stateno = 200
trigger3 = stateno = 205
trigger4 = stateno = 235
trigger5 = stateno = 240
trigger6 = stateno = 245
trigger7 = stateno = 400
trigger8 = stateno = 410
trigger9 = stateno = 430
trigger10= stateno = 440
trigger11= stateno = 700 && animelem = 3,>=0
trigger12= stateno = 1150 && movecontact
trigger13= stateno = 1250 && movecontact

;Pillar
[State -1]
type = ChangeState
value = 1450
triggerall =  (command = "Pillar0")||(command = "Pillar1")||(command = "Pillar2")||(command = "Pillar3")||(command = "Pillar4")
triggerall = statetype != A
triggerall = var(30) != 1
trigger1 = ctrl
trigger2 = stateno = 200
trigger3 = stateno = 205
trigger4 = stateno = 235
trigger5 = stateno = 240
trigger6 = stateno = 245
trigger7 = stateno = 400
trigger8 = stateno = 410
trigger9 = stateno = 430
trigger10= stateno = 440
trigger11= stateno = 700 && animelem = 3,>=0

;Lotus Gear
[State -1]
type = ChangeState
value = 1050
triggerall = command = "Lotus Gear"
triggerall = enemy,stateno != 1205
triggerall = numhelper(1050) = 0
triggerall = statetype != A
triggerall = var(30) != 1
trigger1 = ctrl
trigger2 = stateno = 200
trigger3 = stateno = 205
trigger4 = stateno = 235
trigger5 = stateno = 240
trigger6 = stateno = 245
trigger7 = stateno = 400
trigger8 = stateno = 410
trigger9 = stateno = 430
trigger10= stateno = 440
trigger11= stateno = 700 && animelem = 3,>=0

;Lotus Gear2
[State -1]
type = ChangeState
value = 11610
triggerall = command = "Lotus Gear2"
triggerall = enemy,stateno != 1205
triggerall = statetype != A
triggerall = var(30) != 1
trigger1 = ctrl
trigger2 = stateno = 200
trigger3 = stateno = 205
trigger4 = stateno = 235
trigger5 = stateno = 240
trigger6 = stateno = 245
trigger7 = stateno = 400
trigger8 = stateno = 410
trigger9 = stateno = 430
trigger10= stateno = 440
trigger11= stateno = 700 && animelem = 3,>=0

;Lotus Gear3
[State -1]
type = ChangeState
value = 3001
triggerall = command = "Lotus Gear3"
triggerall = enemy,stateno != 1205
triggerall = numhelper(3002) = 0
triggerall = statetype != A
triggerall = var(30) != 1
trigger1 = ctrl
trigger2 = stateno = 200
trigger3 = stateno = 205
trigger4 = stateno = 235
trigger5 = stateno = 240
trigger6 = stateno = 245
trigger7 = stateno = 400
trigger8 = stateno = 410
trigger9 = stateno = 430
trigger10= stateno = 440
trigger11= stateno = 700 && animelem = 3,>=0

;Teleport
[State -1]
type = ChangeState
value = 1950
triggerall = command = "Teleport"
triggerall = statetype != A 
;triggerall = statetype = A ;Change her teleport function into air type~
triggerall = var(30) != 1
trigger1 = ctrl
trigger2 = stateno = 200
trigger3 = stateno = 205
trigger4 = stateno = 235
trigger5 = stateno = 240
trigger6 = stateno = 245
trigger7 = stateno = 400
trigger8 = stateno = 410
trigger9 = stateno = 430
trigger10= stateno = 440
trigger11= stateno = 700 && animelem = 3,>=0

;Teleport 1
[State -1]
type = ChangeState
value = 1950
triggerall = command = "Teleport"
;triggerall = statetype != A ;Change her teleport function into land type~
triggerall = statetype = A 
triggerall = var(30) != 1
trigger1 = ctrl
trigger2 = stateno = 200
trigger3 = stateno = 205
trigger4 = stateno = 235
trigger5 = stateno = 240
trigger6 = stateno = 245
trigger7 = stateno = 400
trigger8 = stateno = 410
trigger9 = stateno = 430
trigger10= stateno = 440
trigger11= stateno = 700 && animelem = 3,>=0

;Dash
[State -1]
type = ChangeState
value = 22115
triggerall = palno = [7,12]
triggerall = command = "Dash"
triggerall = statetype != A
triggerall = var(30) != 1
trigger1 = ctrl
trigger2 = stateno = 200
trigger3 = stateno = 205
trigger4 = stateno = 235
trigger5 = stateno = 240
trigger6 = stateno = 245
trigger7 = stateno = 400
trigger8 = stateno = 410
trigger9 = stateno = 430
trigger10= stateno = 440
trigger11= stateno = 700 && animelem = 3,>=0

;Dash-normal
[State -1]
type = ChangeState
value = 22118
triggerall = palno != [7,12]
triggerall = command = "Dash"
triggerall = statetype != A
triggerall = var(30) != 1
trigger1 = ctrl
trigger2 = stateno = 200
trigger3 = stateno = 205
trigger4 = stateno = 235
trigger5 = stateno = 240
trigger6 = stateno = 245
trigger7 = stateno = 400
trigger8 = stateno = 410
trigger9 = stateno = 430
trigger10= stateno = 440
trigger11= stateno = 700 && animelem = 3,>=0

;Feather Dust
[State -1]
type = ChangeState
value = 18100
triggerall = command = "Feather"
triggerall = numhelper(18101) = 0
triggerall = enemy,stateno != 1205
triggerall = statetype != A
triggerall = var(30) != 1
trigger1 = ctrl
trigger2 = stateno = 200
trigger3 = stateno = 205
trigger4 = stateno = 235
trigger5 = stateno = 240
trigger6 = stateno = 245
trigger7 = stateno = 400
trigger8 = stateno = 410
trigger9 = stateno = 430
trigger10= stateno = 440
trigger11= stateno = 700 && animelem = 3,>=0

;Sacred heart
[State -1]
type = ChangeState
value = 1700
triggerall = command = "sign"
triggerall = numhelper(1720) = 0
triggerall = statetype != A
triggerall = var(30) != 1
trigger1 = ctrl
trigger2 = stateno = 200
trigger3 = stateno = 205
trigger4 = stateno = 235
trigger5 = stateno = 240
trigger6 = stateno = 245
trigger7 = stateno = 400
trigger8 = stateno = 410
trigger9 = stateno = 430
trigger10= stateno = 440
trigger11= stateno = 700 && animelem = 3,>=0

;Dark Pillar
[State -1]
type = ChangeState
value = 1800
triggerall = command = "Dark Pillar"
triggerall = statetype != A
triggerall = var(30) != 1
trigger1 = ctrl
trigger2 = stateno = 200
trigger3 = stateno = 205
trigger4 = stateno = 235
trigger5 = stateno = 240
trigger6 = stateno = 245
trigger7 = stateno = 400
trigger8 = stateno = 410
trigger9 = stateno = 430
trigger10= stateno = 440
trigger11= stateno = 700 && animelem = 3,>=0

;Mirror-normal
[State -1]
type = ChangeState
value = 1210
triggerall = palno != [7,12]
triggerall = command = "Mirror"
triggerall = statetype != A
triggerall = var(30) != 1
trigger1 = ctrl
trigger2 = stateno = 200
trigger3 = stateno = 205
trigger4 = stateno = 235
trigger5 = stateno = 240
trigger6 = stateno = 245
trigger7 = stateno = 400
trigger8 = stateno = 410
trigger9 = stateno = 430
trigger10= stateno = 440
trigger11= stateno = 700 && animelem = 3,>=0

;Mirror
[State -1]
type = ChangeState
value = 32600
triggerall = palno = [7,12]
triggerall = command = "Mirror"
triggerall = statetype != A
triggerall = var(30) != 1
trigger1 = ctrl
trigger2 = stateno = 200
trigger3 = stateno = 205
trigger4 = stateno = 235
trigger5 = stateno = 240
trigger6 = stateno = 245
trigger7 = stateno = 400
trigger8 = stateno = 410
trigger9 = stateno = 430
trigger10= stateno = 440
trigger11= stateno = 700 && animelem = 3,>=0

;Dark Strike
[State -1]
type = ChangeState
value = 1080
triggerall = command = "Dark Strike"
triggerall = statetype != A
triggerall = var(30) != 1
trigger1 = ctrl
trigger2 = stateno = 200
trigger3 = stateno = 205
trigger4 = stateno = 235
trigger5 = stateno = 240
trigger6 = stateno = 245
trigger7 = stateno = 400
trigger8 = stateno = 410
trigger9 = stateno = 430
trigger10= stateno = 440
trigger11= stateno = 700 && animelem = 3,>=0

;Kissu no Kaasu
[State -1]
type = ChangeState
value = 11600
triggerall = command = "Breath"
triggerall = statetype != A
triggerall = var(30) != 1
trigger1 = ctrl
trigger2 = stateno = 200
trigger3 = stateno = 205
trigger4 = stateno = 235
trigger5 = stateno = 240
trigger6 = stateno = 245
trigger7 = stateno = 400
trigger8 = stateno = 410
trigger9 = stateno = 430
trigger10= stateno = 440
trigger11= stateno = 700 && animelem = 3,>=0

;Aura Slash
[State -1]
type = ChangeState
value = 1100
triggerall = command = "Slash"
triggerall = statetype != A
triggerall = var(30) != 1
trigger1 = ctrl
trigger2 = stateno = 200
trigger3 = stateno = 205
trigger4 = stateno = 235
trigger5 = stateno = 240
trigger6 = stateno = 245
trigger7 = stateno = 400
trigger8 = stateno = 410
trigger9 = stateno = 430
trigger10= stateno = 440
trigger11= stateno = 700 && animelem = 3,>=0

;Dust
[State -1]
type = ChangeState
value = 1250
triggerall = command = "Dust"
triggerall = statetype != A
triggerall = var(30) != 1
trigger1 = ctrl
trigger2 = stateno = 200
trigger3 = stateno = 205
trigger4 = stateno = 235
trigger5 = stateno = 240
trigger6 = stateno = 245
trigger7 = stateno = 400
trigger8 = stateno = 410
trigger9 = stateno = 430
trigger10= stateno = 440
trigger11= stateno = 700 && animelem = 3,>=0

;Soul Strike
[State -1]
type = ChangeState
value = 12300
triggerall = command = "Soul"
triggerall = numhelper(12310) = 0
triggerall = statetype != A
triggerall = var(30) != 1
trigger1 = ctrl
trigger2 = stateno = 200
trigger3 = stateno = 205
trigger4 = stateno = 235
trigger5 = stateno = 240
trigger6 = stateno = 245
trigger7 = stateno = 400
trigger8 = stateno = 410
trigger9 = stateno = 430
trigger10= stateno = 440
trigger11= stateno = 700 && animelem = 3,>=0

;Demon Dust
[State -1]
type = ChangeState
value = 11101
triggerall = command = "Demon Dust"
triggerall = statetype != A
triggerall = var(30) != 1
trigger1 = ctrl
trigger2 = stateno = 200
trigger3 = stateno = 205
trigger4 = stateno = 235
trigger5 = stateno = 240
trigger6 = stateno = 245
trigger7 = stateno = 400
trigger8 = stateno = 410
trigger9 = stateno = 430
trigger10= stateno = 440
trigger11= stateno = 700 && animelem = 3,>=0

;Soul Link
[State -1]
type = ChangeState
value = 11500
triggerall = command = "Soul Link"
triggerall = numhelper(11500) = 0
triggerall = statetype != A
triggerall = var(30) != 1
trigger1 = ctrl
trigger2 = stateno = 200
trigger3 = stateno = 205
trigger4 = stateno = 235
trigger5 = stateno = 240
trigger6 = stateno = 245
trigger7 = stateno = 400
trigger8 = stateno = 410
trigger9 = stateno = 430
trigger10= stateno = 440
trigger11= stateno = 700 && animelem = 3,>=0

;Lure
[State -1]
type = ChangeState
value = 25555
triggerall = command = "Lure"
triggerall = statetype != A
triggerall = var(30) != 1
trigger1 = ctrl
trigger2 = stateno = 200
trigger3 = stateno = 205
trigger4 = stateno = 235
trigger5 = stateno = 240
trigger6 = stateno = 245
trigger7 = stateno = 400
trigger8 = stateno = 410
trigger9 = stateno = 430
trigger10= stateno = 440
trigger11= stateno = 700 && animelem = 3,>=0

;Soul dust
[State -1]
type = ChangeState
value = 800
triggerall = command = "y"
triggerall = command = "holdfwd" || command = "holdback"
triggerall = statetype != A
trigger1 = p2bodydist X < 20
trigger1 = p2statetype != A && p2movetype != H
trigger1 = ctrl

;Dark-qi
[State -1]
type = ChangeState
value = 290
triggerall = var(30) != 1
triggerall = command = "Dark-qi"
triggerall = statetype = S
trigger1 = ctrl

;Dark-Qi
[State -1]
type = ChangeState
value = 690
triggerall = var(30) != 1
triggerall = command = "Dark-qi"
trigger1 = statetype = A
trigger1 = ctrl

;NDash
[State -1]
type = ChangeState
value = 701
triggerall = var(30) != 1
triggerall = command = "NDash"
trigger1 = statetype != A
trigger1 = ctrl

;NDash
[State -1]
type = ChangeState
value = 701
triggerall = var(30) != 1
triggerall = command = "NDash"
trigger1 = stateno = 150
trigger2 = stateno = 151

;Run
[State -1, Run Fwd]
type = ChangeState
value = 100
triggerall = var(30) != 1
trigger1 = command = "FF"
trigger1 = statetype = S
trigger1 = ctrl

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

;BDash
[State -1]
type = ChangeState
value = 700
triggerall = var(30) != 1
triggerall = var(30) = 0
triggerall = command = "BDash"
trigger1 = statetype != A
trigger1 = ctrl

;BDash
[State -1]
type = ChangeState
value = 700
triggerall = var(30) != 1
triggerall = command = "BDash"
trigger1 = stateno = 150
trigger2 = stateno = 151

;BDash
[State -1]
type = ChangeState
value = 702
triggerall = var(30) != 1
triggerall = command = "BDash"
trigger1 = stateno = 5050
trigger1 = pos y >=-40

;Normal attack
[State -1]
type = ChangeState
value = 200
triggerall = command = "a"
trigger1 = statetype = S
trigger1 = ctrl
trigger1 = var(30) = 0

;Normal attack
[State -1]
type = ChangeState
value = 210
triggerall = command = "b"
trigger1 = statetype = S
trigger1 = ctrl
trigger1 = var(30) = 0

;Normal attack
[State -1]
type = ChangeState
value = 230
triggerall = command = "x"
trigger1 = statetype = S
trigger1 = ctrl
trigger1 = var(30) = 0

;Normal attack
[State -1]
type = ChangeState
value = 240
triggerall = command = "y"
trigger1 = statetype = S
trigger1 = ctrl
trigger1 = var(30) = 0

;Normal attack
[State -1]
type = ChangeState
value = 400
triggerall = command = "a"
trigger1 = statetype = C
trigger1 = ctrl
trigger1 = var(30) = 0

;Normal attack
[State -1]
type = ChangeState
value = 410
triggerall = command = "b"
trigger1 = statetype = C
trigger1 = ctrl
trigger1 = var(30) = 0

;Normal attack
[State -1]
type = ChangeState
value = 430
triggerall = command = "x"
trigger1 = statetype = C
trigger1 = ctrl
trigger1 = var(30) = 0

;Normal attack
[State -1]
type = ChangeState
value = 440
triggerall = command = "y"
trigger1 = statetype = C
trigger1 = ctrl
trigger1 = var(30) = 0

;Normal attack
[State -1]
type = ChangeState
value = 440
triggerall = command = "z"
trigger1 = statetype = C
trigger1 = ctrl
trigger1 = var(30) = 0

;Normal attack
[State -1]
type = ChangeState
value = 600
triggerall = command = "a"
trigger1 = statetype = A
trigger1 = ctrl
trigger1 = var(30) = 0

;Normal attack
[State -1]
type = ChangeState
value = 610
triggerall = command = "b"
trigger1 = statetype = A
trigger1 = ctrl
trigger1 = var(30) = 0

;Normal attack
[State -1]
type = ChangeState
value = 630
triggerall = command = "c"
trigger1 = statetype = A
trigger1 = ctrl
trigger1 = var(30) = 0

;Normal attack
[State -1]
type = ChangeState
value = 640
triggerall = command = "x"
trigger1 = statetype = A
trigger1 = ctrl
trigger1 = var(30) = 0

;Normal attack
[State -1]
type = ChangeState
value = 640
triggerall = command = "y"
trigger1 = statetype = A
trigger1 = ctrl
trigger1 = var(30) = 0

;Normal attack
[State -1]
type = ChangeState
value = 640
triggerall = command = "z"
trigger1 = statetype = A
trigger1 = ctrl
trigger1 = var(30) = 0

;Normal attack
[State -1]
type = ChangeState
value= 11050
triggerall = command = "start"
triggerall = statetype != A
trigger1 = ctrl
trigger1 = var(30) = 0
