[Statedef 10000]
anim=9999
ctrl=0
;========================================================================================
;AIxݒ
;========================================================================================
[State 10000, AIlevel]
type = parentvarset
trigger1 = 1
V = 58
Value = 3 ;@̒lύX邱ƂAIxݒ肷邱Ƃł܂

;0:AIȂ
;1:AIxNormal
;2:AIxHard
;3:AIxVeryHard
;4:AIxBoss

;========================================================================================




















[State 10000,G]
type = nothitby
value = SCA
trigger1 = 1

[State 10000,ԈႢŖ{̂痧ֈڍs]
type=selfstate
trigger1=!ishelper
value=0

[State 10000,vC[]
type=varset
TriggerAll=root,Ctrl
trigger1=command="up"&&root,command="up"
trigger2=command="down"&&root,command="down"
trigger3=command="back"&&root,command="back"
trigger4=command="fwd"&&root,command="fwd"
trigger5=command="a"&&root,command="a"
trigger6=command="b"&&root,command="b"
trigger7=command="c"&&root,command="c"
trigger8=command="x"&&root,command="x"
trigger9=command="y"&&root,command="y"
trigger10=command="z"&&root,command="z"
trigger11=command="start"&&root,command="start"
var(59)=-1

[State 10000,]
Type = DestroySelf
triggerAll = isHelper
TriggerAll=root,Ctrl
Trigger1 = root,var(59)||var(59)=-1
trigger2=command="up"&&root,command="up"
trigger3=command="down"&&root,command="down"
trigger4=command="back"&&root,command="back"
trigger5=command="fwd"&&root,command="fwd"
trigger6=command="a"&&root,command="a"
trigger7=command="b"&&root,command="b"
trigger8=command="c"&&root,command="c"
trigger9=command="x"&&root,command="x"
trigger10=command="y"&&root,command="y"
trigger11=command="z"&&root,command="z"
trigger12=command="start"&&root,command="start"

[State 10000,׸ON]
type=varset
triggerall=var(59)!=-1
TriggerAll=root,Ctrl
trigger1=command="up"&&root,command!="up"
trigger2=command="down"&&root,command!="down"
trigger3=command="back"&&root,command!="back"
trigger4=command="fwd"&&root,command!="fwd"
trigger5=command="a"&&root,command!="a"
trigger6=command="b"&&root,command!="b"
trigger7=command="c"&&root,command!="c"
trigger8=command="x"&&root,command!="x"
trigger9=command="y"&&root,command!="y"
trigger10=command="z"&&root,command!="z"
trigger11=command="start"&&root,command!="start"
var(59)=1