
;永続ターゲット

;永続タゲ用ヘルパーステート
[Statedef 112233]
type=U
movetype=U
physics=N
movehitpersist=1
hitdefpersist=1
[State 112233]
type=Changestate
trigger1=name!="Kain"
value=5150
ignorehitpause=1
[State 112233]
type=Changeanim
trigger1=ishelper(112233)
trigger1=anim!=666000
value=666000
ignorehitpause=1
[State 112233]
type=Statetypeset
trigger1=ishelper(112233)
statetype=S
movetype=A
physics=S
ignorehitpause=1
[State 112233]
type=Ctrlset
trigger1=ishelper(112233)
value=0
ignorehitpause=1
[State 112233]
type=Lifeset
trigger1=ishelper(112233)
value=99999999999999999999999
ignorehitpause=1
[state 112233]
type=assertspecial
trigger1=ishelper(112233)
flag=invisible
flag2=noshadow
ignorehitpause=1
[state 112233]
type=bindtoroot
trigger1=ishelper(112233)
ignorehitpause=1
[State 112233]
type=screenbound
trigger1=ishelper(112233)
value=0
movecamera=0,0
ignorehitpause=1
[state 112233]
type=PlayerPush
trigger1=ishelper(112233)
value=0
ignorehitpause=1
[State 112233]
type=Parentvarset
triggerall=ishelper(112233)
trigger1=roundstate<1
var(53)=0
ignorehitpause=1
[State 112233]
type=Parentvarset
triggerall=ishelper(112233)
triggerall=numtarget
trigger1=!target,ishelper
var(53)=1
ignorehitpause=1
[State 112233]
type=Targetdrop
triggerall=ishelper(112233)
triggerall=numtarget
trigger1=target,ishelper
ignorehitpause=1
[state 112233]
type=Reversaldef
trigger1=ishelper(112233)
reversal.attr=SCA,AA,AT,AP
priority=9999999999999999999999999999999
pausetime=0,0
sparkno=-1
guard.sparkno=-1
ignorehitpause=1
[State 112233]
type=Targetlifeadd
triggerall=ishelper(112233)
triggerall=root,var(53)=1
triggerall=numtarget
triggerall=Roundstate=2
trigger1=enemynear,movetype!=H
trigger2=root,gethitvar(damage)
value=-5
absolute=1
ignorehitpause=1
[State 112233]
type=Targetlifeadd
triggerall=ishelper(112233)
triggerall=root,var(53)=1
trigger1=numtarget
trigger1=Roundstate!=2
value=-99999999999999999999999999999
absolute=1
ignorehitpause=1
[State 112233, ヘルパー消去]
type=Destroyself
triggerall=ishelper(112233)
trigger1=Roundstate>4
ignorehitpause=1

;-----------------------------------------

[Statedef 1801]
type=U
movetype=U
physics=N
movehitpersist=1
hitdefpersist=1
[State ]
type=Changestate
trigger1=name!="Kain"
value=5150
ignorehitpause=1
[State ]
type=Changeanim
trigger1=ishelper(1801)
trigger1=anim!=6091
value=6091
ignorehitpause=1
[state ]
type=hitoverride
trigger1=ishelper(1801)
time=-1
attr=SCA,AA,AT,AP
slot=1
stateno=1801
ignorehitpause=1
[State ]
type=NotHitby
trigger1=ishelper(1801)
value=SCA
[State ]
type=VelAdd
trigger1=ishelper(1801)
trigger1=P2BodyDist X >=1
x=1
[State ]
type=VelAdd
trigger1=ishelper(1801)
trigger1=P2BodyDist X <=-1
x=-1
[State ]
type=Playsnd
trigger1=ishelper(1801)
trigger1=AnimElem=1
value=3000,5
ignorehitpause=1
[State ]
type=Statetypeset
trigger1=ishelper(1801)
statetype=S
movetype=A
physics=S
ignorehitpause=1
[State ]
type=Ctrlset
trigger1=ishelper(1801)
value=0
ignorehitpause=1
[State ]
type=Lifeset
trigger1=ishelper(1801)
value=99999999999999999999999
ignorehitpause=1
[State ]
type=screenbound
trigger1=ishelper(1801)
value=0
movecamera=0,0
ignorehitpause=1
[state ]
type=PlayerPush
trigger1=ishelper(1801)
value=0
ignorehitpause=1
[state 1801]
type=Reversaldef
trigger1=ishelper(1801)
reversal.attr=SCA,AA,AT,AP
priority=9999999999999999999999999999999
pausetime=0,5
sparkno=-1
guard.sparkno=-1
ignorehitpause=1
[State ]
type=Projectile
trigger1=enemynear,movetype!=H
projanim=276
projscale=1,1
projhits=1
guardflag=MA
projID=12201220
projremovetime=1
projsprpriority=1
projheightbound=-500,500
projedgebound=500
projstagebound=500
offset=0,0
velocity=0
attr=S,SP
hitflag=MAF
hitsound=s2,5
guardsound=s2,0
damage=0,1
givepower=-1
fall=1
fall.damage=20
priority=7,hit
projpriority=99999999999
animtype=heavy
sparkno=-1
guard.sparkno=-1
supermovetime=9999999999999
pausemovetime=9999999999999
ignorehitpause=1
[State ]
type=Destroyself
triggerall=ishelper(1801)
trigger1=time=120
ignorehitpause=1
















