;---------------------------------------------------------------------------
;ふぁいえるん！上段
[state -1]
type=changestate
value=1000
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,ishelper(100000)&&root,palno>=7&&root,palno<=12)
triggerall=sysvar(1)=1
triggerall=statetype!=a
triggerall=numprojid(1000)=0
triggerall=numprojid(1025)=0
trigger1=ctrl
trigger2=stateno=200
trigger2=movecontact
trigger3=stateno=210
trigger3=movecontact
trigger4=stateno=230
trigger4=movecontact
trigger5=stateno=240
trigger5=movecontact

trigger6=var(58)=1
trigger6=movecontact
trigger6=stateno=1050||stateno=1060
trigger7=var(58)=1
trigger7=movecontact
trigger7=stateno=1020
trigger7=animelem=12,>=0
trigger7=animelem=14,<=0
trigger8=var(58)=1
trigger8=movecontact
trigger8=stateno=1030||stateno=1031
trigger9=var(58)=1
trigger9=movecontact
trigger9=stateno=[1050,1062]

;---------------------------------------------------------------------------
;ふぁいえるん！下段
[state -1]
type=changestate
value=1010
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,ishelper(100000)&&root,palno>=7&&root,palno<=12)
triggerall=sysvar(1)=1
triggerall=statetype!=a
triggerall=numprojid(1000)=0
triggerall=numprojid(1025)=0
trigger1=ctrl
trigger2=stateno=200
trigger2=movecontact
trigger3=stateno=210
trigger3=movecontact
trigger4=stateno=230
trigger4=movecontact
trigger5=stateno=240
trigger5=movecontact

trigger6=var(58)=1
trigger6=movecontact
trigger6=stateno=1050||stateno=1060
trigger7=var(58)=1
trigger7=movecontact
trigger7=stateno=1020
trigger7=animelem=12,>=0
trigger7=animelem=14,<=0
trigger8=var(58)=1
trigger8=movecontact
trigger8=stateno=1030||stateno=1031


;---------------------------------------------------------------------------
;ネガ　ジェネシス
[state -1]
type=changestate
value=1020
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,ishelper(100000)&&root,palno>=7&&root,palno<=12)
triggerall=sysvar(1)=1
triggerall=statetype!=a
trigger1=ctrl
trigger2=stateno=200
trigger2=movecontact
trigger3=stateno=210
trigger3=movecontact
trigger4=stateno=230
trigger4=movecontact
trigger5=stateno=240
trigger5=movecontact

trigger6=var(58)=1
trigger6=movecontact
trigger6=stateno=1050||stateno=1060
trigger7=var(58)=1
trigger7=movecontact
trigger7=stateno=1030||stateno=1031

;---------------------------------------------------------------------------
;チェーンブレイド　トランスアキシャル　スライス
[state -1]
type=changestate
value=1030
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,ishelper(100000)&&root,palno>=7&&root,palno<=12)
triggerall=sysvar(1)=1
triggerall=statetype!=a
trigger1=ctrl
trigger2=stateno=200
trigger2=movecontact
trigger3=stateno=210
trigger3=movecontact
trigger4=stateno=230
trigger4=movecontact
trigger5=stateno=240
trigger5=movecontact

trigger6=var(58)=1
trigger6=movecontact
trigger6=stateno=1020
trigger6=animelem=12,>=0
trigger6=animelem=14,<=0
trigger7=var(58)=1
trigger7=movecontact
trigger7=stateno=[1050,1062]

;---------------------------------------------------------------------------
;チェーンブレイド　トランスアキシャル　スライス
[state -1]
type=changestate
value=1031
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,ishelper(100000)&&root,palno>=7&&root,palno<=12)
triggerall=sysvar(1)=1
triggerall=statetype!=a
trigger1=ctrl
trigger2=stateno=200
trigger2=movecontact
trigger3=stateno=210
trigger3=movecontact
trigger4=stateno=230
trigger4=movecontact
trigger5=stateno=240
trigger5=movecontact

trigger6=var(58)=1
trigger6=movecontact
trigger6=stateno=1020
trigger6=animelem=12,>=0
trigger6=animelem=14,<=0
trigger7=var(58)=1
trigger7=movecontact
trigger7=stateno=[1050,1062]

;---------------------------------------------------------------------------
;ヴォイドブレイズ
[state -1]
type=changestate
value=1040
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,ishelper(100000)&&root,palno>=7&&root,palno<=12)
triggerall=sysvar(1)=1
triggerall=statetype!=a
trigger1=ctrl
trigger2=stateno=200
trigger2=movecontact
trigger3=stateno=210
trigger3=movecontact
trigger4=stateno=230
trigger4=movecontact
trigger5=stateno=240
trigger5=movecontact

trigger6=var(58)=1
trigger6=movecontact
trigger6=stateno=1020
trigger6=animelem=12,>=0
trigger6=animelem=14,<=0
trigger7=var(58)=1
trigger7=movecontact
trigger7=stateno=1030||stateno=1031

;---------------------------------------------------------------------------
;チェーンブレイド　サジタルエッジ　スライス弱
[state -1]
type=changestate
value=1050
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,ishelper(100000)&&root,palno>=7&&root,palno<=12)
triggerall=sysvar(1)=1
triggerall=statetype!=a
trigger1=ctrl
trigger2=stateno=200
trigger2=movecontact
trigger3=stateno=210
trigger3=movecontact
trigger4=stateno=230
trigger4=movecontact
trigger5=stateno=240
trigger5=movecontact

trigger6=var(58)=1
trigger6=movecontact
trigger6=stateno=1020
trigger6=animelem=12,>=0
trigger6=animelem=14,<=0
trigger7=var(58)=1
trigger7=movecontact
trigger7=stateno=1030||stateno=1031

;---------------------------------------------------------------------------
;チェーンブレイド　サジタルエッジ　スライス強
[state -1]
type=changestate
value=1060
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,ishelper(100000)&&root,palno>=7&&root,palno<=12)
triggerall=sysvar(1)=1
triggerall=statetype!=a
trigger1=ctrl
trigger2=stateno=200
trigger2=movecontact
trigger3=stateno=210
trigger3=movecontact
trigger4=stateno=230
trigger4=movecontact
trigger5=stateno=240
trigger5=movecontact

trigger6=var(58)=1
trigger6=movecontact
trigger6=stateno=1020
trigger6=animelem=12,>=0
trigger6=animelem=14,<=0
trigger7=var(58)=1
trigger7=movecontact
trigger7=stateno=1030||stateno=1031

;---------------------------------------------------------------------------
;深淵の煉獄α
[state -1]
type=changestate
value=1100
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,ishelper(100000)&&root,palno>=7&&root,palno<=12)
triggerall=sysvar(1)=1
triggerall=statetype!=a
trigger1=ctrl
trigger2=stateno=200
trigger2=movecontact
trigger3=stateno=210
trigger3=movecontact
trigger4=stateno=230
trigger4=movecontact
trigger5=stateno=240
trigger5=movecontact

trigger6=var(58)=1
trigger6=movecontact
trigger6=stateno=1020
trigger6=animelem=12,>=0
trigger6=animelem=14,<=0
trigger7=var(58)=1
trigger7=movecontact
trigger7=stateno=1030||stateno=1031

;---------------------------------------------------------------------------
;深淵の煉獄β
[state -1]
type=changestate
value=1110
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,ishelper(100000)&&root,palno>=7&&root,palno<=12)
triggerall=sysvar(1)=1
triggerall=statetype!=a
trigger1=ctrl
trigger2=stateno=200
trigger2=movecontact
trigger3=stateno=210
trigger3=movecontact
trigger4=stateno=230
trigger4=movecontact
trigger5=stateno=240
trigger5=movecontact

trigger6=var(58)=1
trigger6=movecontact
trigger6=stateno=1020
trigger6=animelem=12,>=0
trigger6=animelem=14,<=0
trigger7=var(58)=1
trigger7=movecontact
trigger7=stateno=1030||stateno=1031

;---------------------------------------------------------------------------
;深淵の煉獄γ
[state -1]
type=changestate
value=1120
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,ishelper(100000)&&root,palno>=7&&root,palno<=12)
triggerall=sysvar(1)=1
triggerall=statetype!=a
trigger1=ctrl
trigger2=stateno=200
trigger2=movecontact
trigger3=stateno=210
trigger3=movecontact
trigger4=stateno=230
trigger4=movecontact
trigger5=stateno=240
trigger5=movecontact

trigger6=var(58)=1
trigger6=movecontact
trigger6=stateno=1020
trigger6=animelem=12,>=0
trigger6=animelem=14,<=0
trigger7=var(58)=1
trigger7=movecontact
trigger7=stateno=1030||stateno=1031

;---------------------------------------------------------------------------
;深淵の煉獄Δ
[state -1]
type=changestate
value=1130
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,ishelper(100000)&&root,palno>=7&&root,palno<=12)
triggerall=sysvar(1)=1
triggerall=statetype!=a
trigger1=ctrl
trigger2=stateno=200
trigger2=movecontact
trigger3=stateno=210
trigger3=movecontact
trigger4=stateno=230
trigger4=movecontact
trigger5=stateno=240
trigger5=movecontact

trigger6=var(58)=1
trigger6=movecontact
trigger6=stateno=1020
trigger6=animelem=12,>=0
trigger6=animelem=14,<=0
trigger7=var(58)=1
trigger7=movecontact
trigger7=stateno=1030||stateno=1031

;---------------------------------------------------------------------------
;ブレイズシュート
[state -1]
type=changestate
value=1140
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,ishelper(100000)&&root,palno>=7&&root,palno<=12)
triggerall=sysvar(1)=1
triggerall=statetype!=a
trigger1=ctrl
trigger2=stateno=200
trigger2=movecontact
trigger3=stateno=210
trigger3=movecontact
trigger4=stateno=230
trigger4=movecontact
trigger5=stateno=240
trigger5=movecontact

trigger6=var(58)=1
trigger6=movecontact
trigger6=stateno=1020
trigger6=animelem=12,>=0
trigger6=animelem=14,<=0
trigger7=var(58)=1
trigger7=movecontact
trigger7=stateno=1030||stateno=1031

;---------------------------------------------------------------------------
;ネスツ式対生成α
[state -1]
type=changestate
value=1150
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,ishelper(100000)&&root,palno>=7&&root,palno<=12)
triggerall=sysvar(1)=1
triggerall=statetype!=a
trigger1=ctrl
trigger2=stateno=200
trigger2=movecontact
trigger3=stateno=210
trigger3=movecontact
trigger4=stateno=230
trigger4=movecontact
trigger5=stateno=240
trigger5=movecontact

trigger6=var(58)=1
trigger6=movecontact
trigger6=stateno=1020
trigger6=animelem=12,>=0
trigger6=animelem=14,<=0
trigger7=var(58)=1
trigger7=movecontact
trigger7=stateno=1030||stateno=1031

;---------------------------------------------------------------------------
;ネスツ式対生成β
[state -1]
type=changestate
value=1160
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,ishelper(100000)&&root,palno>=7&&root,palno<=12)
triggerall=sysvar(1)=1
triggerall=statetype!=a
trigger1=ctrl
trigger2=stateno=200
trigger2=movecontact
trigger3=stateno=210
trigger3=movecontact
trigger4=stateno=230
trigger4=movecontact
trigger5=stateno=240
trigger5=movecontact

trigger6=var(58)=1
trigger6=movecontact
trigger6=stateno=1020
trigger6=animelem=12,>=0
trigger6=animelem=14,<=0
trigger7=var(58)=1
trigger7=movecontact
trigger7=stateno=1030||stateno=1031

;---------------------------------------------------------------------------
;煉獄シザーα
[state -1]
type=changestate
value=1170
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,ishelper(100000)&&root,palno>=7&&root,palno<=12)
triggerall=sysvar(1)=1
triggerall=statetype!=a
trigger1=ctrl
trigger2=stateno=200
trigger2=movecontact
trigger3=stateno=210
trigger3=movecontact
trigger4=stateno=230
trigger4=movecontact
trigger5=stateno=240
trigger5=movecontact

trigger6=var(58)=1
trigger6=movecontact
trigger6=stateno=1020
trigger6=animelem=12,>=0
trigger6=animelem=14,<=0
trigger7=var(58)=1
trigger7=movecontact
trigger7=stateno=1030||stateno=1031

;---------------------------------------------------------------------------
;煉獄シザーβ
[state -1]
type=changestate
value=1180
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,ishelper(100000)&&root,palno>=7&&root,palno<=12)
triggerall=sysvar(1)=1
triggerall=statetype!=a
trigger1=ctrl
trigger2=stateno=200
trigger2=movecontact
trigger3=stateno=210
trigger3=movecontact
trigger4=stateno=230
trigger4=movecontact
trigger5=stateno=240
trigger5=movecontact

trigger6=var(58)=1
trigger6=movecontact
trigger6=stateno=1020
trigger6=animelem=12,>=0
trigger6=animelem=14,<=0
trigger7=var(58)=1
trigger7=movecontact
trigger7=stateno=1030||stateno=1031

;---------------------------------------------------------------------------
;どっくんどっくんα
[state -1]
type=changestate
value=1190
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,ishelper(100000)&&root,palno>=7&&root,palno<=12)
triggerall=sysvar(1)=1
triggerall=statetype!=a
trigger1=ctrl
trigger2=stateno=200
trigger2=movecontact
trigger3=stateno=210
trigger3=movecontact
trigger4=stateno=230
trigger4=movecontact
trigger5=stateno=240
trigger5=movecontact

trigger6=var(58)=1
trigger6=movecontact
trigger6=stateno=1020
trigger6=animelem=12,>=0
trigger6=animelem=14,<=0
trigger7=var(58)=1
trigger7=movecontact
trigger7=stateno=1030||stateno=1031

;---------------------------------------------------------------------------
;どっくんどっくんβ
[state -1]
type=changestate
value=1200
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,ishelper(100000)&&root,palno>=7&&root,palno<=12)
triggerall=sysvar(1)=1
triggerall=statetype!=a
trigger1=ctrl
trigger2=stateno=200
trigger2=movecontact
trigger3=stateno=210
trigger3=movecontact
trigger4=stateno=230
trigger4=movecontact
trigger5=stateno=240
trigger5=movecontact

trigger6=var(58)=1
trigger6=movecontact
trigger6=stateno=1020
trigger6=animelem=12,>=0
trigger6=animelem=14,<=0
trigger7=var(58)=1
trigger7=movecontact
trigger7=stateno=1030||stateno=1031

;---------------------------------------------------------------------------
;地面から炎がズビャァン！
[state -1]
type=changestate
value=1210
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,ishelper(100000)&&root,palno>=7&&root,palno<=12)
triggerall=sysvar(1)=1
triggerall=statetype!=a
trigger1=ctrl
trigger2=stateno=200
trigger2=movecontact
trigger3=stateno=210
trigger3=movecontact
trigger4=stateno=230
trigger4=movecontact
trigger5=stateno=240
trigger5=movecontact

trigger6=var(58)=1
trigger6=movecontact
trigger6=stateno=1020
trigger6=animelem=12,>=0
trigger6=animelem=14,<=0
trigger7=var(58)=1
trigger7=movecontact
trigger7=stateno=1030||stateno=1031

;---------------------------------------------------------------------------
;ドナドナα
[state -1]
type=changestate
value=1220
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,ishelper(100000)&&root,palno>=7&&root,palno<=12)
triggerall=sysvar(1)=1
triggerall=statetype!=a
trigger1=ctrl
trigger2=stateno=200
trigger2=movecontact
trigger3=stateno=210
trigger3=movecontact
trigger4=stateno=230
trigger4=movecontact
trigger5=stateno=240
trigger5=movecontact

trigger6=var(58)=1
trigger6=movecontact
trigger6=stateno=1020
trigger6=animelem=12,>=0
trigger6=animelem=14,<=0
trigger7=var(58)=1
trigger7=movecontact
trigger7=stateno=1030||stateno=1031

;---------------------------------------------------------------------------
;ドナドナβ
[state -1]
type=changestate
value=1230
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,ishelper(100000)&&root,palno>=7&&root,palno<=12)
triggerall=sysvar(1)=1
triggerall=statetype!=a
trigger1=ctrl
trigger2=stateno=200
trigger2=movecontact
trigger3=stateno=210
trigger3=movecontact
trigger4=stateno=230
trigger4=movecontact
trigger5=stateno=240
trigger5=movecontact

trigger6=var(58)=1
trigger6=movecontact
trigger6=stateno=1020
trigger6=animelem=12,>=0
trigger6=animelem=14,<=0
trigger7=var(58)=1
trigger7=movecontact
trigger7=stateno=1030||stateno=1031