[Statedef -3]

;This controller plays a sound everytime KFM lands from a jump, or
;from his back-dash.
[State -3, Landing Sound]
type = PlaySnd
triggerall = Time = 1
trigger1 = stateno = 52 ;Jump land
trigger2 = stateno = 106 ;Run-back land
value = 40, 0


[State -3, ai] ;AI
type = varset 
triggerall = var(59) = 0
triggerall = !ishelper 
triggerall = alive 
trigger1 = Command = "AI0" 
trigger2 = Command = "AI1" 
trigger3 = Command = "AI2" 
trigger4 = Command = "AI3" 
trigger5 = Command = "AI4" 
trigger6 = Command = "AI5" 
trigger7 = Command = "AI6" 
trigger8 = Command = "AI7" 
trigger9 = Command = "AI8" 
trigger10 = Command = "AI9" 
trigger11 = Command = "AI10" 
trigger12 = Command = "AI11" 
trigger13 = Command = "AI12" 
trigger14 = Command = "AI13" 
trigger15 = Command = "AI14" 
trigger16 = Command = "AI15" 
trigger17 = Command = "AI16" 
trigger18 = Command = "AI17" 
trigger19 = Command = "AI18" 
trigger20 = Command = "AI19" 
trigger21 = Command = "AI20" 
trigger22 = Command = "AI21" 
trigger23 = Command = "AI22" 
trigger24 = Command = "AI23" 
trigger25 = Command = "AI24" 
trigger26 = Command = "AI25" 
trigger27 = Command = "AI26" 
trigger28 = Command = "AI27" 
trigger29 = Command = "AI28" 
trigger30 = Command = "AI29" 
trigger31 = Command = "AI30" 
trigger32 = Command = "AI31" 
trigger33 = Command = "AI32" 
trigger34 = Command = "AI33" 
trigger35 = Command = "AI34" 
trigger36 = Command = "AI35" 
trigger37 = Command = "AI36" 
trigger38 = Command = "AI37" 
trigger39 = Command = "AI38" 
trigger40 = Command = "AI39" 
trigger41 = Command = "AI40" 
trigger42 = Command = "AI41" 
trigger43 = Command = "AI42" 
trigger44 = Command = "AI43" 
trigger45 = Command = "AI44" 
trigger46 = Command = "AI45" 
trigger47 = Command = "AI46" 
trigger48 = Command = "AI47" 
trigger49 = Command = "AI48" 
trigger50 = Command = "AI49" 
trigger51 = Command = "AI50" 
trigger52 =1
v = 59
value = 10;レベルは今変えても意味無いです




[State -3, 1]
type = PowerAdd
trigger1 = var(10) != 1
value =4

[State -3, 1]
type = PowerAdd
trigger1 = var(23) = 1
value =1

[State -3, 1]
type = PowerAdd
trigger1 = var(29) = 1
value =3

[State -3, 1]
type = PowerAdd
trigger1 = var(30) = 1
value =4


[State -3, 1]
type = PowerAdd
trigger1 = var(10) = 1
value =4




[State -3]
type = varset 
trigger1 = var(25) = 1
trigger1 =  (GameTime%900)=0
var(25) = 0

[State -3]
type = varset 
trigger1 = var(26) = 1
trigger1 =  (GameTime%900)=0
var(26) = 0

[State -3]
type = varset 
trigger1 = var(27) = 1
trigger1 =  (GameTime%900)=0
var(27) = 0

[State -3]
type = varset 
trigger1 = var(28) = 1
trigger1 =  (GameTime%900)=0
var(28) = 0

[State -3]
type = varset 
trigger1 = var(29) = 1
trigger1 =  (GameTime%900)=0
var(29) = 0

[State -3]
type = varset 
trigger1 = var(30) = 1
trigger1 =  (GameTime%900)=0
var(30) = 0


[State -3]
type = varset 
trigger1 = var(31) = 1
trigger1 =  (GameTime%900)=0
var(31) = 0

[State -3]
type = varset 
trigger1 = var(32) = 1
trigger1 =  (GameTime%900)=0
var(32) = 0

[State -3]
type = varset 
trigger1 = RoundState = 3
trigger1 = var(33) = 1
trigger2= RoundState = 4
trigger2 = var(33) = 1
var(33) = 0

[State -3]
type = varset 
trigger1 = var(34) = 1
trigger1 =  (GameTime%450)=0
var(34) = 0

[State -3]
type = varset 
trigger1 = var(35) = 1
trigger1 =  (GameTime%450)=0
var(35) = 0

[State -3]
type = varset 
trigger1 =var(36) = 0
trigger1 = ProjHit10214= 1 
var(36) = 1

[State -3]
type = varset 
trigger1 =var(36) = 1
trigger1 =  (GameTime%900)=0
var(36) = 0

[State -3]
type = varset 
trigger1 =var(37) = 0
trigger1 = ProjHit10216= 1 
var(37) = 1

[State -3]
type = varset 
trigger1 =var(37) = 1
trigger1 =  (GameTime%900)=0
var(37) = 0

[State -3]
type = varset 
trigger1 =var(38) = 1
trigger1 =  (GameTime%900)=0
var(38) = 0


[State -3]
type = varset 
trigger1 =var(39) = 1
trigger1 =  (GameTime%900)=0
var(39) = 0



[State -3]
type = varset 
trigger1 =var(40) = 0
trigger1 = ProjHit10231= 1 
var(40) = 1

[State -3]
type = varset 
trigger1 =var(40) = 1
trigger1 =  (GameTime%900)=0
var(40) = 0

[State -3]
type = varset 
trigger1 =var(41) = 0
trigger1 = ProjHit10234= 1 
var(41) = 1

[State -3]
type = varset 
trigger1 =var(41) = 1
trigger1 =  (GameTime%900)=0
var(41) = 0

[State -3]
type = varset 
trigger1 =var(42) = 1
trigger1 =  (GameTime%900)=0
var(42) = 0







[State -3]
type = Helper
trigger1 = var(10) = 0
trigger1 !=Anim = 10144
stateno = 11000
ID = 11000
pos = -240,-150
postype = right
size.xscale =0.5
size.yscale =0.5
name = "月"
size.shadowoffset =90






[State -3]
type = Explod
trigger1 = ProjHit10182= 1
anim = 10187
ID = 10187
pos = 0, 40
postype = p2
facing = -1
vfacing = 1
bindtime = -1
scale = 1, 1
sprpriority =9
ontop =1
removetime = 100



[State -3]
type = Explod
trigger1 = ProjHit10188= 1
anim = 10187
ID = 10187
pos = 0, 40
postype = p2
facing = -1
vfacing = 1
bindtime = -1
scale = 1, 1
sprpriority =9
ontop =1
removetime = 150


[State -3]
type = Explod
trigger1 = ProjHit10190= 1
anim = 10191
ID = 10191
pos = 0, 40
postype = p2
facing = -1
vfacing = 1
bindtime = -1
scale = 1, 1
sprpriority =9
ontop =1
removetime = 200

[State -3]
type = Explod
trigger1 = ProjHit10191= 1
anim = 10191
ID = 10191
pos = 0, 40
postype = p2
facing = -1
vfacing = 1
bindtime = -1
scale = 1, 1
sprpriority =9
ontop =1
removetime = 200


[State -3]
type = AssertSpecial
trigger1 = var(11) = 1
flag = nomusic



[State -3]
type = ChangeState
triggerall = TeamMode = Single
trigger1 = RoundsExisted = 1
trigger1 = RoundState = 0
trigger1 = var(33) = 0
trigger2 = RoundsExisted = 2
trigger2 = RoundState = 0
trigger2 = var(33) = 0
trigger3 = RoundsExisted = 3
trigger3 = RoundState = 0
trigger3 = var(33) = 0
trigger4 = RoundsExisted = 4
trigger4 = RoundState = 0
trigger4 = var(33) = 0
trigger5 = RoundsExisted = 5
trigger5 = RoundState = 0
trigger5 = var(33) = 0
trigger6 = RoundsExisted = 6
trigger6 = RoundState = 0
trigger6 = var(33) = 0
trigger7 = RoundsExisted = 7
trigger7 = RoundState = 0
trigger7 = var(33) = 0
trigger8 = RoundsExisted = 8
trigger8 = RoundState = 0
trigger8 = var(33) = 0
trigger9 = RoundsExisted = 9
trigger9 = RoundState = 0
trigger9 = var(33) = 0
trigger10 = RoundsExisted = 10
trigger10= RoundState = 0
trigger10 = var(33) = 0
value = 10001




[State -3]
type = Projectile
trigger1 = var(34) = 1
trigger1 =  (GameTime%30)=0
damage = 40, 5  
Attr =SCA,HP
HitFlag =MAF
guardflag =MA
AnimType =Hard
projID = 10211
projanim = 10211
projscale = 0.5,0.5
projremove = 0
projremovetime = 90
velocity = 0, 0
remvelocity = 0, 0
accel = 0, 0
velmul = 0, 0
projhits = 1
projmisstime = 0
projpriority = 4
projsprpriority = 1
projedgebound = 20
projstagebound = 20
projheightbound = -240, 1
offset = 10, 30
postype = p1
sparkno = 0                      
sparkxy = -10, -76               
hitsound = 5, 4                  
guardsound = 6, 0                
ground.type = High               
ground.slidetime = 5            
ground.hittime  = 10             
ground.velocity = -4             
airguard.velocity = -4.9,-.9     
air.type = High                 
air.velocity = -4.4,-5          
air.hittime = 12                
supermove =99999
supermovetime = 99999
pausemovetime = 99999
fall =1



[State -3]
type = Projectile
trigger1 = var(35) = 1
trigger1 =  (GameTime%30)=0
damage = 40, 5  
Attr =SCA,HP
HitFlag =MAF
guardflag =MA
AnimType =Hard
projID = 10212
projanim = 10212
projscale = 0.5,0.5
projremove = 0
projremovetime = 90
velocity = 0, 0
remvelocity = 0, 0
accel = 0, 0
velmul = 0, 0
projhits = 1
projmisstime = 0
projpriority = 8
projsprpriority = 8
projedgebound = 20
projstagebound = 20
projheightbound = -240, 1
offset = 10, 30
postype = p1
sparkno = 0                      
sparkxy = -10, -76               
hitsound = 5, 4                  
guardsound = 6, 0                
ground.type = High               
ground.slidetime = 5            
ground.hittime  = 10             
ground.velocity = -4             
airguard.velocity = -4.9,-.9     
air.type = High                 
air.velocity = -4.4,-5          
air.hittime = 12                
supermove =99999
supermovetime = 99999
pausemovetime = 99999
fall =1







[State -3]
type = Projectile
trigger1 = var(36) = 1
trigger1 = var(37) = 0
trigger1 =  (GameTime%30)=0
damage = 10, 10  
Attr =SCA,HP
HitFlag =MAF
guardflag =MA
AnimType =light
projID = 10215
projanim = 10215
projscale = 0.5,0.5
projremove = 0
projremovetime = 30
velocity = 0, 0
remvelocity = 0, 0
accel = 0, 0
velmul = 0, 0
projhits = 1
projmisstime = 0
projpriority = 8
projsprpriority = 8
projedgebound = 20
projstagebound = 20
projheightbound = -240, 1
offset = 0, -30
postype = p2
sparkno = 0                      
sparkxy = -10, -76               
hitsound = 5, 0                  
guardsound = 6, 0                
ground.type = Low               
ground.slidetime = 5            
ground.hittime  = 9             
ground.velocity = 0.1           
airguard.velocity = -0.1,0     
air.type = Low                 
air.velocity = 0.1,0          
air.hittime = 12                
supermove =99999
supermovetime = 99999
pausemovetime = 99999
fall =0



[State -3]
type = Projectile
trigger1 = var(36) = 1
trigger1 = var(37) = 1
trigger1 =  (GameTime%30)=0
damage = 15, 15  
Attr =SCA,HP
HitFlag =MAF
guardflag =MA
AnimType =light
projID = 10215
projanim = 10215
projscale = 0.5,0.5
projremove = 0
projremovetime = 30
velocity = 0, 0
remvelocity = 0, 0
accel = 0, 0
velmul = 0, 0
projhits = 1
projmisstime = 0
projpriority = 8
projsprpriority = 8
projedgebound = 20
projstagebound = 20
projheightbound = -240, 1
offset = 0, -30
postype = p2
sparkno = 0                      
sparkxy = -10, -76               
hitsound = 5, 0                  
guardsound = 6, 0                
ground.type = Low               
ground.slidetime = 5            
ground.hittime  = 9             
ground.velocity = 0.1           
airguard.velocity = -0.1,0     
air.type = Low                 
air.velocity = 0.1,0          
air.hittime = 12                
supermove =99999
supermovetime = 99999
pausemovetime = 99999
fall =0




[State -3]
type = Projectile
trigger1 = var(40) = 1
trigger1 =  (GameTime%130)=0
damage = 0, 0  
Attr =SCA,HP
HitFlag =MAF
guardflag =MA
AnimType =light
projID = 10218
projanim = 10218
projscale = 0.5,0.5
projremove = 0
projremovetime = 30
velocity = 0, 0
remvelocity = 0, 0
accel = 0, 0
velmul = 0, 0
projhits = 1
projmisstime = 0
projpriority = 8
projsprpriority = 8
projedgebound = 20
projstagebound = 20
projheightbound = -240, 1
offset = 0, -30
postype = p2
sparkno = 0                      
sparkxy = -10, -76               
hitsound = 5, 0                  
guardsound = 6, 0                
ground.type = Low               
ground.slidetime = 5            
ground.hittime  = 9             
ground.velocity = 0.1           
airguard.velocity = -0.1,0     
air.type = Low                 
air.velocity = 0.1,0          
air.hittime = 12                
supermove =99999
supermovetime = 99999
pausemovetime = 99999
fall =0
pausetime =0,50


[State -3]
type = Projectile
trigger1 = var(41) = 1
trigger1 =  (GameTime%30)=0
damage = 10, 10  
Attr =SCA,HP
HitFlag =MAF
guardflag =MA
AnimType =light
projID = 10215
projanim = 10215
projscale = 0.5,0.5
projremove = 0
projremovetime = 30
velocity = 0, 0
remvelocity = 0, 0
accel = 0, 0
velmul = 0, 0
projhits = 1
projmisstime = 0
projpriority = 8
projsprpriority = 8
projedgebound = 20
projstagebound = 20
projheightbound = -240, 1
offset = 0, -30
postype = p2
sparkno = 0                      
sparkxy = -10, -76               
hitsound = 5, 0                  
guardsound = 6, 0                
ground.type = Low               
ground.slidetime = 5            
ground.hittime  = 9             
ground.velocity = 0.1           
airguard.velocity = -0.1,0     
air.type = Low                 
air.velocity = 0.1,0          
air.hittime = 12                
supermove =99999
supermovetime = 99999
pausemovetime = 99999
fall =0



[State -3]
type = Projectile
trigger1 = var(42) = 1
trigger1 =  (GameTime%25)=0
damage = 100, 1 
Attr =SCA,HP
HitFlag =MAF
guardflag =MA
AnimType =hard 
projID = 10236
projanim = 10236
projscale = 1, 1
projremove = 0
projremovetime = 35
velocity = 0, 0
remvelocity = 0, 0
accel = 0, 0
velmul = 0, 0
projhits = 1
projmisstime = 0
projpriority = 4
projsprpriority = 8
projedgebound = 20
projstagebound = 20
projheightbound = -240, 1
offset = 15, 100
postype = p1
sparkno = 0                      
sparkxy = -10, -76               
hitsound = 5, 4                  
guardsound = 6, 0                
ground.type = High               
ground.slidetime = 5            
ground.hittime  = 10             
ground.velocity = -4,-4             
airguard.velocity = -4,-4    
air.type = High                 
air.velocity = -4,-4          
air.hittime = 12                
fall =1

[State -3]
type = DefenceMulSet
trigger1 = var(38) = 1
value = 0.8




;===========================================================================
;1↓AI

;万能アタック
[State -1, 万能アタック]
type = ChangeState
value = 200
triggerall= var(59) != 0 && roundstate = 2
triggerall= var(10) = 1
triggerall = power >= 2000
triggerall = statetype = S
triggerall = ctrl && random<var(59)*99 
trigger1  = stateno != 200&&Time >= 190
trigger1  = power <= 2500


;不適に微笑む
[State -1, 不適に微笑む]
type = ChangeState
value = 210
triggerall= var(59) != 0 && roundstate = 2
triggerall= var(10) != 1
triggerall = power >= 500
trigger1 = statetype = S
trigger1 = ctrl && random<var(59)*98 
trigger1  = stateno != 210&&Time >= 150


;アギ
[State -1, アギ]
type = ChangeState
value = 220
triggerall= var(59) != 0 && roundstate = 2
triggerall= var(10) = 1
triggerall = power >= 500
triggerall  = stateno != 260
triggerall  = stateno != 270
triggerall  = statetype = S
triggerall = ctrl && random<var(59)*97 
trigger1 = var(11) = 1
trigger1 = var(12) = 0
trigger1  = stateno != 220&&Time >= 80
trigger1  = power <= 1000
trigger2  = power <= 1000
trigger2 = var(20) = 1
trigger2 = var(21) = 0
trigger2  = stateno != 220&&Time >= 80




;火炎ガードキル
[State -1, 火炎ガードキル]
type = ChangeState
value = 230
triggerall= var(59) != 0 && roundstate = 2
triggerall= var(10) = 1
triggerall= var(25) != 1
triggerall = power >= 1000
triggerall = statetype = S
triggerall = ctrl && random<var(59)*96 
trigger1 = var(11) = 1
trigger1 = var(12) = 0
trigger1  = stateno != 230&&Time >= 950
trigger1  = power <= 1500
trigger2 = var(23) = 1
trigger2 = var(24) = 0
trigger2  = stateno != 230&&Time >= 950
trigger2  = power <= 1500
trigger3 = var(23) = 1
trigger3 = var(24) = 1
trigger3  = stateno != 230&&Time >= 950
trigger3  = power <= 1500



;アギラオ
[State -1, アギ]
type = ChangeState
value = 240
triggerall= var(59) != 0 && roundstate = 2
triggerall= var(10) = 1
triggerall = power >= 700
triggerall = statetype = S
triggerall = ctrl && random<var(59)*95 
trigger1 = var(11) = 1
trigger1 = var(12) = 0
trigger1  = stateno != 240&&Time >= 250
trigger1  = power <= 1500
trigger2 = var(20) = 1
trigger2 = var(21) = 0
trigger2  = stateno != 240&&Time >= 250
trigger2  = power <= 1500

;アギダイン
[State -1, アギ]
type = ChangeState
value = 250
triggerall= var(59) != 0 && roundstate = 2
triggerall= var(10) = 1
triggerall = power >= 1000
triggerall = statetype = S
triggerall = ctrl && random<var(59)*94 
trigger1 = var(11) = 1
trigger1 = var(12) = 0
trigger1 = stateno != 250&&Time >= 260
trigger1  = power <= 2000
trigger2  = stateno != 250&&Time >= 260
trigger2  = power <= 2000
trigger2 = var(20) = 1
trigger2 = var(21) = 0
trigger3 = var(23) = 1
trigger3 = var(24) = 0
trigger3  = stateno != 250&&Time >= 260
trigger3  = power <= 2000
trigger4 = var(23) = 1
trigger4 = var(24) = 1
trigger4  = stateno != 250&&Time >= 260
trigger4  = power <= 2000

;マハラギ
[State -1, マハラギ]
type = ChangeState
value = 260
triggerall= var(59) != 0 && roundstate = 2
triggerall= var(10) = 1
triggerall = power >= 800
triggerall = statetype = S
triggerall = ctrl && random<var(59)*93 
trigger1 = var(11) = 1
trigger1 = var(12) = 0
trigger1  = stateno != 240&&Time >= 150
trigger1  = power <= 1700
trigger2 = var(20) = 1
trigger2 = var(21) = 0
trigger2  = stateno != 260&&Time >= 150
trigger2  = power <= 1700


;マハラギオン
[State -1, マハオン]
type = ChangeState
value = 270
triggerall= var(59) != 0 && roundstate = 2
triggerall= var(10) = 1
triggerall = power >= 1300
triggerall = statetype = S
triggerall = ctrl && random<var(59)*92 
trigger1 = var(11) = 1
trigger1 = var(12) = 0
trigger1  = stateno != 270&&Time >= 150
trigger1  = power <= 2000
trigger2 = var(20) = 1
trigger2 = var(21) = 0
trigger2  = stateno != 270&&Time >= 150
trigger2  = power <= 2000

;マハラギダイン
[State -1, マハラギダイン]
type = ChangeState
value = 280
triggerall= var(59) != 0 && roundstate = 2
triggerall= var(10) = 1
triggerall = power >= 1800
triggerall = statetype = S
triggerall = ctrl && random<var(59)*91 
trigger1 = var(11) = 1
trigger1 = var(12) = 0
trigger1  = stateno != 280&&Time >= 150
trigger1  = power <= 3000
trigger2 = var(20) = 1
trigger2 = var(21) = 0
trigger2  = stateno != 280&&Time >= 150
trigger2  = power <= 3000
trigger3 = var(23) = 1
trigger3 = var(24) = 0
trigger3  = stateno != 280&&Time >= 150
trigger3  = power <= 2300
trigger4 = var(23) = 1
trigger4 = var(24) = 1
trigger4  = stateno != 280&&Time >= 150
trigger4  = power <= 2300


;===========================================================================
;2
;氷結ガードキル
[State -1, 氷結ガードキル]
type = ChangeState
value = 290
triggerall= var(59) != 0 && roundstate = 2
triggerall= var(10) = 1
triggerall= var(26) != 1
triggerall = power >= 1000
trigger1 = statetype = S
trigger1 = ctrl
trigger1 = var(12) = 1
trigger1 = var(13) = 0
trigger1  = power <= 1500
trigger2 = statetype = S
trigger2 = ctrl
trigger2 = var(23) = 1
trigger2 = var(24) = 0
trigger2  = power <= 1500
trigger3 = statetype = S
trigger3 = ctrl
trigger3 = var(23) = 1
trigger3 = var(24) = 1
trigger3  = power <= 1500

;ブフ
[State -1, ブフ]
type = ChangeState
value = 300
triggerall= var(59) != 0 && roundstate = 2
triggerall= var(10) = 1
triggerall = power >= 500
triggerall  = stateno != 260
triggerall  = stateno != 270
trigger1 = statetype = S
trigger1 = ctrl
trigger1 = var(12) = 1
trigger1 = var(13) = 0
trigger1  = power <= 1000
trigger2  = power <= 1000
trigger2 = statetype = S
trigger2 = ctrl
trigger2 = var(20) = 1
trigger2 = var(21) = 0

;ブフーラ
[State -1, ブフーラ]
type = ChangeState
value = 310
triggerall= var(59) != 0 && roundstate = 2
triggerall= var(10) = 1
triggerall = power >= 700
trigger1 = statetype = S
trigger1 = ctrl
trigger1 = var(12) = 1
trigger1 = var(13) = 0
trigger1  = power <= 1500
trigger2  = power <= 1500
trigger2 = statetype = S
trigger2 = ctrl
trigger2 = var(20) = 1
trigger2 = var(21) = 0

;ブフダイン
[State -1, ブフ]
type = ChangeState
value = 320
triggerall= var(59) != 0 && roundstate = 2
triggerall= var(10) = 1
triggerall = power >= 1000
triggerall = command != "holddown"
triggerall = statetype = S
triggerall = ctrl
trigger1 = var(12) = 1
trigger1 = var(13) = 0
trigger1  = power <= 2000
trigger2 = var(20) = 1
trigger2 = var(21) = 0
trigger2  = power <= 2000
trigger3 = var(23) = 1
trigger3 = var(24) = 0
trigger3  = power <= 2000
trigger4 = var(23) = 1
trigger4 = var(24) = 1
trigger4  = power <= 2000



;マハブフ
[State -1, マハブフ]
type = ChangeState
value = 330
triggerall= var(59) != 0 && roundstate = 2
triggerall= var(10) = 1
triggerall = power >= 800
trigger1 = ctrl
trigger1 = var(12) = 1
trigger1 = var(13) = 0
trigger1  = power <= 1700
trigger1 = statetype = S
trigger2 = ctrl
trigger2 = var(20) = 1
trigger2 = var(21) = 0
trigger2 = statetype = S
trigger2  = power <= 1700



;マハブフーラ
[State -1, マハブフーラ]
type = ChangeState
value = 340
triggerall= var(59) != 0 && roundstate = 2
triggerall= var(10) = 1
triggerall = power >= 1300
triggerall= statetype = S
trigger1 = ctrl
trigger1 = var(12) = 1
trigger1 = var(13) = 0
trigger1  = power <= 2000
trigger2  = power <= 2000
trigger2 = ctrl
trigger2 = var(20) = 1
trigger2 = var(21) = 0


;マハブフダイン
[State -1, マハブフダイン]
type = ChangeState
value = 350
triggerall= var(59) != 0 && roundstate = 2
triggerall= var(10) = 1
triggerall = power >= 1800
trigger1 = statetype = S
trigger1 = ctrl
trigger1 = var(12) = 1
trigger1 = var(13) = 0
trigger1  = power <= 3000
trigger2  = power <= 3000
trigger2 = ctrl
trigger2 = var(20) = 1
trigger2 = var(21) = 0
trigger2 = statetype = S
trigger3 = statetype = S
trigger3 = ctrl
trigger3 = var(23) = 1
trigger3 = var(24) = 0
trigger3  = power <= 2300
trigger4  = power <= 2300
trigger4 = statetype = S
trigger4 = ctrl
trigger4 = var(23) = 1
trigger4 = var(24) = 1

;===========================================================================
;3
;疾風ガードキル
[State -1, 疾風ガードキル]
type = ChangeState
value = 360
triggerall= var(59) != 0 && roundstate = 2
triggerall= var(10) = 1
triggerall= var(27) != 1
triggerall = power >= 1000
trigger1 = statetype = S
trigger1 = ctrl
trigger1 = var(13) = 1
trigger1 = var(14) = 0
trigger1  = command = "c"
trigger1  = power <= 1500
trigger2  = power <= 1500
trigger2 = statetype = S
trigger2 = ctrl
trigger2 = var(23) = 1
trigger2 = var(24) = 0
trigger3 = statetype = S
trigger3 = ctrl
trigger3 = var(23) = 1
trigger3 = var(24) = 1
trigger3  = power <= 1500



;ガル
[State -1, ガル]
type = ChangeState
value = 370
triggerall= var(59) != 0 && roundstate = 2
triggerall= var(10) = 1
triggerall = power >= 500
triggerall  = stateno != 260
triggerall  = stateno != 270
trigger1 = statetype = S
trigger1 = ctrl
trigger1 = var(13) = 1
trigger1 = var(14) = 0
trigger1 = statetype = S
trigger1  = power <= 1000
trigger2  = power <= 1000
trigger2 = ctrl
trigger2 = var(20) = 1
trigger2 = var(21) = 0

;ガルーラ
[State -1, ガルーラ]
type = ChangeState
value = 380
triggerall= var(59) != 0 && roundstate = 2
triggerall= var(10) = 1
triggerall = power >= 700
trigger1 = statetype = S
trigger1 = ctrl
trigger1 = var(13) = 1
trigger1 = var(14) = 0
trigger1  = power <= 1500
trigger2  = power <= 1500
trigger2 = statetype = S
trigger2 = ctrl
trigger2 = var(20) = 1
trigger2 = var(21) = 0

;ガルダイン
[State -1, ガルダイン]
type = ChangeState
value = 390
triggerall= var(59) != 0 && roundstate = 2
triggerall= var(10) = 1
triggerall = power >= 1000
triggerall = command != "holddown"
trigger1 = statetype = S
trigger1 = ctrl
trigger1 = var(13) = 1
trigger1 = var(14) = 0
trigger1  = power <= 2000
trigger2  = power <= 2000
trigger2 = statetype = S
trigger2 = ctrl
trigger2 = var(20) = 1
trigger2 = var(21) = 0
trigger3 = statetype = S
trigger3 = ctrl
trigger3 = var(23) = 1
trigger3 = var(24) = 0
trigger3  = power <= 2000
trigger4  = power <= 2000
trigger4 = statetype = S
trigger4 = ctrl
trigger4 = var(23) = 1
trigger4 = var(24) = 1


;マハガル
[State -1, マハガル]
type = ChangeState
value = 400
triggerall= var(59) != 0 && roundstate = 2
triggerall= var(10) = 1
triggerall = power >= 800
trigger1 = ctrl
trigger1 = var(13) = 1
trigger1 = var(14) = 0
trigger1 = statetype = S
trigger1  = power <= 1700
trigger2  = power <= 1700
trigger2 = ctrl
trigger2 = var(20) = 1
trigger2 = var(21) = 0
trigger2 = statetype = S

;マハガルーラ
[State -1, マハガルーラ]
type = ChangeState
value = 410
triggerall= var(59) != 0 && roundstate = 2
triggerall= var(10) = 1
triggerall = power >= 1300
trigger1 = ctrl
trigger1 = var(13) = 1
trigger1 = var(14) = 0
trigger1  = power <= 2000
trigger2  = power <= 2000
trigger2 = ctrl
trigger2 = var(20) = 1
trigger2 = var(21) = 0


;マハガルダイン
[State -1, マハガルダイン]
type = ChangeState
value = 420
triggerall= var(59) != 0 && roundstate = 2
triggerall= var(10) = 1
triggerall = power >= 1800
trigger1 = ctrl
trigger1 = var(13) = 1
trigger1 = var(14) = 0
trigger1 = statetype = S
trigger1  = power <= 3000
trigger2  = power <= 3000
trigger2 = ctrl
trigger2 = var(20) = 1
trigger2 = var(21) = 0
trigger2 = statetype = S
trigger3 = statetype = S
trigger3 = ctrl
trigger3 = var(23) = 1
trigger3 = var(24) = 0
trigger3  = power <= 2300
trigger4  = power <= 2300
trigger4 = statetype = S
trigger4 = ctrl
trigger4 = var(23) = 1
trigger4 = var(24) = 1

;===========================================================================
;3
;電撃ガードキル
[State -1, 電撃ガードキル]
type = ChangeState
value = 430
triggerall= var(59) != 0 && roundstate = 2
triggerall= var(10) = 1
triggerall= var(28) != 1
triggerall = power >= 1000
trigger1 = statetype = S
trigger1 = ctrl
trigger1 = var(14) = 1
trigger1 = var(15) = 0
trigger1  = power <= 1500
trigger2  = power <= 1500
trigger2 = statetype = S
trigger2 = ctrl
trigger2 = var(23) = 1
trigger2 = var(24) = 0
trigger3 = statetype = S
trigger3 = ctrl
trigger3 = var(23) = 1
trigger3 = var(24) = 1
trigger3  = power <= 1500


;ジオ
[State -1, ジオ]
type = ChangeState
value = 440
triggerall= var(59) != 0 && roundstate = 2
triggerall= var(10) = 1
triggerall = power >= 500
triggerall  = stateno != 260
triggerall  = stateno != 270
trigger1 = statetype = S
trigger1 = ctrl
trigger1 = var(14) = 1
trigger1 = var(15) = 0
trigger1  = power <= 1000
trigger2  = power <= 1000
trigger2 = statetype = S
trigger2 = ctrl
trigger2 = var(20) = 1
trigger2 = var(21) = 0


;ジオンガ
[State -1, ジオンガ]
type = ChangeState
value = 450
triggerall= var(59) != 0 && roundstate = 2
triggerall= var(10) = 1
triggerall = power >= 700
triggerall = command != "holddown"
trigger1 = statetype = S
trigger1 = ctrl
trigger1 = var(14) = 1
trigger1 = var(15) = 0
trigger1  = power <= 1500
trigger2  = power <= 1500
trigger2 = statetype = S
trigger2 = ctrl
trigger2 = var(20) = 1
trigger2 = var(21) = 0


;ジオダイン
[State -1, ジオダイン]
type = ChangeState
value = 460
triggerall= var(59) != 0 && roundstate = 2
triggerall= var(10) = 1
triggerall = power >= 1000
trigger1 = statetype = S
trigger1 = ctrl
trigger1 = var(14) = 1
trigger1 = var(15) = 0
trigger1  = power <= 2000
trigger2  = power <= 2000
trigger2 = statetype = S
trigger2 = ctrl
trigger2 = var(20) = 1
trigger2 = var(21) = 0
trigger3 = statetype = S
trigger3 = ctrl
trigger3 = var(23) = 1
trigger3 = var(24) = 0
trigger3  = power <= 2000
trigger4  = power <= 2000
trigger4 = statetype = S
trigger4 = ctrl
trigger4 = var(23) = 1
trigger4 = var(24) = 1



;マハジオ
[State -1, マハジオ]
type = ChangeState
value = 470
triggerall= var(59) != 0 && roundstate = 2
triggerall= var(10) = 1
triggerall = power >= 800
trigger1 = ctrl
trigger1 = var(14) = 1
trigger1 = var(15) = 0
trigger1 = statetype = S
trigger1  = power <= 2000
trigger2  = power <= 2000
trigger2 = ctrl
trigger2 = var(20) = 1
trigger2 = var(21) = 0
trigger2 = statetype = S




;マハジオンガ
[State -1, マハジオンガ]
type = ChangeState
value = 480
triggerall= var(59) != 0 && roundstate = 2
triggerall= var(10) = 1
triggerall = power >= 1300
trigger1 = ctrl
trigger1 = var(14) = 1
trigger1 = var(15) = 0
trigger1 = statetype = S
trigger1  = power <= 2000
trigger2  = power <= 2000
trigger2 = ctrl
trigger2 = var(20) = 1
trigger2 = var(21) = 0
trigger2 = statetype = S



;マハジオダイン
[State -1, マハジオダイン]
type = ChangeState
value = 490
triggerall= var(59) != 0 && roundstate = 2
triggerall= var(10) = 1
triggerall = power >= 1800
trigger1 = ctrl
trigger1 = var(14) = 1
trigger1 = var(15) = 0
trigger1 = statetype = S
trigger1  = power <= 3000
trigger2  = power <= 3000
trigger2 = ctrl
trigger2 = var(20) = 1
trigger2 = var(21) = 0
trigger2 = statetype = S
trigger3 = statetype = S
trigger3 = ctrl
trigger3 = var(23) = 1
trigger3 = var(24) = 0
trigger3  = power <= 2300
trigger4  = power <= 2300
trigger4 = statetype = S
trigger4 = ctrl
trigger4 = var(23) = 1
trigger4 = var(24) = 1


;---------------------------------------------------------------------------
;===========================================================================
;4




;デッドエンド
[State -1, デッドエンド]
type = ChangeState
value = 500
triggerall= var(59) != 0 && roundstate = 2
triggerall= var(10) = 1
triggerall = power >= 1000
triggerall  = stateno != 260
triggerall  = stateno != 270
trigger1 = statetype = S
trigger1 = ctrl
trigger1 = var(15) = 1
trigger1 = var(16) = 0
trigger1  = power <= 1300


;パスタアタック
[State -1, パスタアタック]
type = ChangeState
value = 510
triggerall= var(59) != 0 && roundstate = 2
triggerall= var(10) = 1
triggerall = power >= 1000
trigger1 = ctrl
trigger1 = var(15) = 1
trigger1 = var(16) = 0
trigger1 = statetype = S
trigger1  = power <= 1600


;リベリオン
[State -1, リベリオン]
type = ChangeState
value = 520
triggerall= var(59) != 0 && roundstate = 2
triggerall= var(10) = 1
triggerall = power >= 1000
trigger1 = statetype = S
trigger1 = ctrl
trigger1 = var(15) = 1
trigger1 = var(16) = 0
trigger1  = power <= 2000



;レボリューション
[State -1, レボリューション]
type = ChangeState
value = 530
triggerall= var(59) != 0 && roundstate = 2
triggerall= var(10) = 1
triggerall = power >= 2000
trigger1 = statetype = S
trigger1 = ctrl
trigger1 = var(15) = 1
trigger1 = var(16) = 0
trigger1  = power <= 3000




;---------------------------------------------------------------------------
;===========================================================================
;５
;エンジェルアロー
[State -1, エンジェルアロー]
type = ChangeState
value = 540
triggerall= var(59) != 0 && roundstate = 2
triggerall= var(10) = 1
triggerall = power >= 500
triggerall  = stateno != 260
triggerall  = stateno != 270
trigger1 = statetype = S
trigger1 = ctrl
trigger1 = var(16) = 1
trigger1 = var(17) = 0
trigger1  = power <= 1200


;マリンカリン
[State -1, マリンカリン]
type = ChangeState
value = 550
triggerall= var(59) != 0 && roundstate = 2
triggerall= var(10) = 1
triggerall = power >= 1000
trigger1 = ctrl
trigger1 = var(16) = 1
trigger1 = var(17) = 0
trigger1 = statetype = S
trigger1  = power <= 1700

;テンタラフー
[State -1, テンタラフー]
type = ChangeState
value = 560
triggerall= var(59) != 0 && roundstate = 2
triggerall= var(10) = 1
triggerall = power >= 2000
trigger1 = statetype = S
trigger1 = ctrl
trigger1 = var(16) = 1
trigger1 = var(17) = 0
trigger1  = power <= 3000
trigger2 = statetype = S
trigger2 = ctrl
trigger2 = var(19) = 1
trigger2 = var(20) = 0
trigger2  = power <= 3000


;プリンパ
[State -1, プリンパ]
type = ChangeState
value = 570
triggerall= var(59) != 0 && roundstate = 2
triggerall= var(10) = 1
triggerall = power >= 1500
trigger1 = statetype = S
trigger1 = ctrl
trigger1 = var(16) = 1
trigger1 = var(17) = 0
trigger1  = power <= 2000


;---------------------------------------------------------------------------
;===========================================================================
;6
;チャージ
[State -1, チャージ]
type = ChangeState
value = 580
triggerall= var(59) != 0 && roundstate = 2
triggerall= var(10) = 1
triggerall= var(31) != 1
triggerall = power >= 1000
trigger1 = statetype = S
trigger1 = ctrl
trigger1 = var(17) = 1
trigger1 = var(18) = 0
trigger1  = power <= 1500
trigger2 = statetype = S
trigger2 = ctrl
trigger2 = var(21) = 1
trigger2 = var(22) = 0
trigger2  = power <= 1500
trigger3 = statetype = S
trigger3 = ctrl
trigger3 = var(23) = 1
trigger3 = var(24) = 0
trigger3  = power <= 1500
trigger4 = statetype = S
trigger4 = ctrl
trigger4 = var(23) = 1
trigger4 = var(24) = 1
trigger4  = power <= 1500

;ゴットハンド
[State -1, ゴットハンド]
type = ChangeState
value = 590
triggerall= var(59) != 0 && roundstate = 2
triggerall= var(10) = 1
triggerall = power >= 1500
trigger1 = ctrl
trigger1 = var(17) = 1
trigger1 = var(18) = 0
trigger1 = statetype = S
trigger1  = power <= 2000



;ヒートウェイブ
[State -1, ヒートウェイブ]
type = ChangeState
value = 600
triggerall= var(59) != 0 && roundstate = 2
triggerall= var(10) = 1
triggerall = power >= 1500
trigger1 = statetype = S
trigger1 = ctrl
trigger1 = var(17) = 1
trigger1 = var(18) = 0
trigger1  = power <= 3000

;---------------------------------------------------------------------------
;===========================================================================
;7
;タカルジャ
[State -1, タカルジャ]
type = ChangeState
value = 610
triggerall= var(59) != 0 && roundstate = 2
triggerall= var(10) = 1
triggerall= var(32) != 1
triggerall = power >= 500
trigger1 = statetype = S
trigger1 = ctrl
trigger1 = var(18) = 1
trigger1 = var(19) = 0
trigger1  = power <= 1500
trigger2 = statetype = S
trigger2 = ctrl
trigger2 = var(23) = 1
trigger2 = var(24) = 0
trigger2  = power <= 1500
trigger3 = statetype = S
trigger3 = ctrl
trigger3 = var(23) = 1
trigger3 = var(24) = 1
trigger3  = power <= 1500



;マハンマ
[State -1, マハンマ]
type = ChangeState
value = 620
triggerall= var(59) != 0 && roundstate = 2
triggerall= var(10) = 1
triggerall = power >= 1500
trigger1 = ctrl
trigger1 = var(18) = 1
trigger1 = var(19) = 0
trigger1 = statetype = S
trigger1  = power <= 3000
trigger1  = stateno != 620&&Time >= 250



;ハマオン
[State -1, ハマオン]
type = ChangeState
value = 630
triggerall= var(59) != 0 && roundstate = 2
triggerall= var(10) = 1
triggerall = power >= 1500
trigger1 = statetype = S
trigger1 = ctrl
trigger1 = var(18) = 1
trigger1 = var(19) = 0
trigger1  = power <= 3000
trigger1  = stateno != 630&&Time >= 250

;---------------------------------------------------------------------------
;===========================================================================
;9

;テトラカーン
[State -1, テトラカーン]
type = ChangeState
value = 640
triggerall= var(59) != 0 && roundstate = 2
triggerall= var(10) = 1
triggerall= var(34) = 0
triggerall = power >= 1000
triggerall  = stateno != 260
triggerall  = stateno != 270
trigger1 = statetype = S
trigger1 = ctrl
trigger1 = var(19) = 1
trigger1 = var(20) = 0
trigger1  = power <= 1500

;マララカーン
[State -1, マララカーン]
type = ChangeState
value = 650
triggerall= var(59) != 0 && roundstate = 2
triggerall= var(10) = 1
triggerall= var(35) = 0
triggerall = power >= 1000
triggerall
trigger1 = ctrl
trigger1 = var(19) = 1
trigger1 = var(20) = 0
trigger1 = statetype = S
trigger1  = power <= 1500


;ムドオン
[State -1, ムドオン]
type = ChangeState
value = 660
triggerall= var(59) != 0 && roundstate = 2
triggerall= var(10) = 1
triggerall = power >= 1000
trigger1 = statetype = S
trigger1 = ctrl
trigger1 = var(19) = 1
trigger1 = var(20) = 0
trigger1  = power <= 2000
trigger1  = stateno != 660&&Time >= 250
trigger2  = stateno != 660&&Time >= 250
trigger2  = power <= 2000
trigger2 = statetype = S
trigger2 = ctrl
trigger2 = var(22) = 1
trigger2 = var(23) = 0


;マハムド
[State -1, マハムド]
type = ChangeState
value = 670
triggerall= var(59) != 0 && roundstate = 2
triggerall= var(10) = 1
triggerall = power >= 1500
trigger1 = ctrl
trigger1 = var(19) = 1
trigger1 = var(20) = 0
trigger1 = statetype = S
trigger1  = power <= 3000
trigger1  = stateno != 670&&Time >= 250



;ポイズマ
[State -1, ポイズマ]
type = ChangeState
value = 680
triggerall= var(59) != 0 && roundstate = 2
triggerall= var(36) = 0
triggerall= var(10) = 1
triggerall = power >= 500
trigger1 = ctrl
trigger1 = var(19) = 1
trigger1 = var(20) = 0
trigger1 = statetype = S
trigger1  = power <= 1500



;淀んだ吐息
[State -1, 淀んだ吐息]
type = ChangeState
value = 690
triggerall= var(59) != 0 && roundstate = 2
triggerall= var(37) = 0
triggerall= var(10) = 1
triggerall = power >= 1000
trigger1 = ctrl
trigger1 = var(19) = 1
trigger1 = var(20) = 0
trigger1 = statetype = S
trigger1  = power <= 1500
;---------------------------------------------------------------------------
;===========================================================================
;10
;ラクンダ
[State -1, ラクンダ]
type = ChangeState
value = 700
triggerall= var(59) != 0 && roundstate = 2
triggerall= var(10) = 1
triggerall= var(38) = 0
triggerall = power >= 500
triggerall  = stateno != 260
triggerall  = stateno != 270
trigger1 = statetype = S
trigger1 = ctrl
trigger1 = var(21) = 1
trigger1 = var(22) = 0
trigger1  = power <= 1500


;五月雨斬り
[State -1, 五月雨斬り]
type = ChangeState
value = 710
triggerall= var(59) != 0 && roundstate = 2
triggerall= var(10) = 1
triggerall = power >= 1500
trigger1 = ctrl
trigger1 = var(21) = 1
trigger1 = var(22) = 0
trigger1 = statetype = S
trigger1  = power <= 2500


;デスバウンド
[State -1, デスバウンド]
type = ChangeState
value = 720
triggerall= var(59) != 0 && roundstate = 2
triggerall= var(10) = 1
triggerall = power >= 1500
trigger1 = statetype = S
trigger1 = ctrl
trigger1 = var(21) = 1
trigger1 = var(22) = 0
trigger1  = power <= 2500
;---------------------------------------------------------------------------
;===========================================================================
;10

[State -1, ムド]
type = ChangeState
value = 730
triggerall= var(59) != 0 && roundstate = 2
triggerall= var(10) = 1
triggerall = power >= 700
triggerall  = stateno != 260
triggerall  = stateno != 270
trigger1 = statetype = S
trigger1 = ctrl
trigger1 = var(22) = 1
trigger1 = var(23) = 0
trigger1  = power <= 1500
trigger1  = stateno != 730&&Time >= 250

;コンセントレート
[State -1, コンセントレート]
type = ChangeState
value = 740
triggerall= var(59) != 0 && roundstate = 2
triggerall= var(10) = 1
triggerall= var(39) != 1
triggerall = power >= 1000
trigger1 = statetype = S
trigger1 = ctrl
trigger1 = var(22) = 1
trigger1 = var(23) = 0
trigger1  = power <= 1900
trigger2 = statetype = S
trigger2 = ctrl
trigger2 = var(23) = 1
trigger2 = var(24) = 0
trigger2  = power <= 1900
trigger3  = power <= 1900
trigger3 = statetype = S
trigger3 = ctrl
trigger3 = var(23) = 1
trigger3 = var(24) = 1




;メギドラ
[State -1, メギドラ]
type = ChangeState
value = 750
triggerall= var(59) != 0 && roundstate = 2
triggerall= var(10) = 1
triggerall = power >= 3000
triggerall  = stateno != 260
triggerall  = stateno != 270
trigger1 = statetype = S
trigger1 = ctrl
trigger1 = var(23) = 1
trigger1 = var(24) = 0
trigger2 = statetype = S
trigger2 = ctrl
trigger2 = var(23) = 1
trigger2 = var(24) = 1


;デビルタッチ
[State -1, デビルタッチ]
type = ChangeState
value = 760
triggerall= var(59) != 0 && roundstate = 2
triggerall= var(10) = 1
triggerall = power >= 1000
trigger1 = ctrl
trigger1 = var(23) = 1
trigger1 = var(24) = 0
trigger1 = statetype = S
trigger1  = power <= 2500

;---------------------------------------------------------------------------
;===========================================================================
;11

;夜の女王
[State -1, 夜の女王]
type = ChangeState
value = 770
triggerall= var(59) != 0 && roundstate = 2
triggerall= var(10) = 1
triggerall = power >= 3000
triggerall = Life <= 750
triggerall  = stateno != 260
triggerall  = stateno != 270
trigger1 = statetype = S
trigger1 = ctrl
trigger1 = var(23) = 1
trigger1 = var(24) = 0
trigger2 = statetype = S
trigger2 = ctrl
trigger2 = var(23) = 1
trigger2 = var(24) = 1



;ポイズンミスト
[State -1, ポイズンミスト]
type = ChangeState
value = 780
triggerall= var(59) != 0 && roundstate = 2
triggerall= var(10) = 1
triggerall= var(41) != 1
triggerall = power >= 1500
triggerall  = stateno != 260
triggerall  = stateno != 270
trigger1 = statetype = S
trigger1 = ctrl
trigger1 = var(23) = 1
trigger1 = var(24) = 0
trigger1  = power <= 2500
trigger2 = statetype = S
trigger2 = ctrl
trigger2 = var(23) = 1
trigger2 = var(24) = 1
trigger2  = power <= 2500




;闇夜のドレス
[State -1, 闇夜のドレス]
type = ChangeState
value = 790
triggerall= var(59) != 0 && roundstate = 2
triggerall= var(10) = 1
triggerall= var(42) != 1
triggerall = power >= 3000
triggerall  = stateno != 260
triggerall  = stateno != 270
trigger1 = statetype = S
trigger1 = ctrl
trigger1 = var(23) = 1
trigger1 = var(24) = 0
trigger2 = statetype = S
trigger2 = ctrl
trigger2 = var(23) = 1
trigger2 = var(24) = 1

;マハラクンダ
[State -1, マハラクンダ]
type = ChangeState
value = 800
triggerall= var(59) != 0 && roundstate = 2
triggerall= var(10) = 1
triggerall = power >= 1000
trigger1 = ctrl
trigger1 = var(23) = 1
trigger1 = var(24) = 0
trigger1 = statetype = S
trigger1  = power <= 1500
trigger1  = power <= 1500
trigger2 = ctrl
trigger2 = var(23) = 1
trigger2 = var(24) = 1
trigger2 = statetype = S



;デビルスマイル
[State -1, デビルスマイル]
type = ChangeState
value = 810
triggerall= var(59) != 0 && roundstate = 2
triggerall= var(10) = 1
triggerall = power >= 1500
trigger1 = statetype = S
trigger1 = ctrl
trigger1 = var(23) = 1
trigger1 = var(24) = 0
trigger1  = power <= 2500
trigger1  = power <= 2500
trigger2 = statetype = S
trigger2 = ctrl
trigger2 = var(23) = 1
trigger2 = var(24) = 1
;---------------------------------------------------------------------------
;===========================================================================

