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

;基本動作

;------------------------------------------------------------
;通常立ち
[StateDef 0]
type=U
movetype=U
physics=N
hitdefpersist=!(name="N_Alice")
movehitpersist=!(name="N_Alice")
[State ]
type=Helper
triggerall=PlayerIDExist(ID)
triggerall=name!="N_Alice"
triggerall=p2name="N_Alice"||p4name="N_Alice"
triggerall=numenemy
triggerall=enemy(enemy,name!="N_Alice"),name="N_Alice"
triggerall=enemy(enemy,name!="N_Alice"),palno%6!=[1,4]
triggerall=roundstate=2
trigger1=!ishelper(2000000)
trigger1=ishelper
trigger1=numhelper(2000000)<4
name="bug helper"
stateno=461349666
ID=2000000
helpertype=normal
pos=0,1000
postype=p1
facing=1
keyctrl=0
ownpal=1
ignorehitpause=1
[State ]
type=Helper
triggerall=PlayerIDExist(ID)
triggerall=name!="N_Alice"
triggerall=p2name="N_Alice"||p4name="N_Alice"
triggerall=numenemy
triggerall=enemy(enemy,name!="N_Alice"),name="N_Alice"
triggerall=enemy(enemy,name!="N_Alice"),palno%6!=[1,4]
trigger1=!ishelper&&alive
trigger1=roundstate<4
trigger1=numhelper(3000000)<4
name="bug helper parent is root"
stateno=461349666
ID=3000000
helpertype=normal
pos=0,1000
postype=p1
facing=1
keyctrl=0
ownpal=1
persistent=0
ignorehitpause=1
[State ]
type=ctrlset
trigger1=name!="N_Alice"
value=0
ignorehitpause=1
[State ]
type=HitOverRide
trigger1=name!="N_Alice"
attr=
slot=0
time=0
ignorehitpause=1
[State ]
type=HitOverRide
trigger1=name!="N_Alice"
attr=
slot=1
time=0
ignorehitpause=1
[State ]
type=HitOverRide
trigger1=name!="N_Alice"
attr=
slot=2
time=0
ignorehitpause=1
[State ]
type=HitOverRide
trigger1=name!="N_Alice"
attr=
slot=3
time=0
ignorehitpause=1
[State ]
type=HitOverRide
trigger1=name!="N_Alice"
attr=
slot=4
time=0
ignorehitpause=1
[State ]
type=HitOverRide
trigger1=name!="N_Alice"
attr=
slot=5
time=0
ignorehitpause=1
[State ]
type=HitOverRide
trigger1=name!="N_Alice"
attr=
slot=6
time=0
ignorehitpause=1
[State ]
type=HitOverRide
trigger1=name!="N_Alice"
attr=
slot=7
time=0
ignorehitpause=1
[State ]
type=removeexplod
trigger1=name!="N_Alice"
ID=-1
ignorehitpause=1
[State ]
type=velset
trigger1=name!="N_Alice"
X=0
Y=0
ignorehitpause=1
[State ]
type=posset
trigger1=name!="N_Alice"
X=0
Y=0
ignorehitpause=1
[State ]
type=posset
trigger1=!ishelper&&name!="N_Alice"
trigger1=numenemy&&(p2name="N_Alice"||p4name="N_Alice")
X=enemy(enemy,name!="N_Alice"),pos X
Y=0
ignorehitpause=1
[State ]
type=powerset
trigger1=1
value=0
ignorehitpause=1
[State ]
type=pause
trigger1=!ishelper&&name!="N_Alice"
time=2*!alive
movetime=0
ignorehitpause=1
[State ]
type=superpause
trigger1=!ishelper&&name!="N_Alice"
anim=-1
time=2*!alive
movetime=0
UnHittable=0
darken=0
p2defmul=1
ignorehitpause=1
[State ]
type=lifeset
trigger1=name!="N_Alice"
value=lifemax*(random%2)
ignorehitpause=1
[State ]
type=assertspecial
trigger1=name!="N_Alice"
flag=invisible
flag2=noshadow
ignorehitpause=1
[State ]
type=angledraw
trigger1=name!="N_Alice"
scale=0,0
ignorehitpause=1
[State ]
type=removeexplod
trigger1=name!="N_Alice"
ignorehitpause=1
[State ]
type=Changeanim2
trigger1=!ishelper&&name!="N_Alice"
value=0
ignorehitpause=1
[State ]
type=nothitby
trigger1=!ishelper&&name!="N_Alice"
value=SCA
ignorehitpause=1
[State ]
type=StateTypeSet
trigger1=!ishelper&&name!="N_Alice"
movetype=A
physics=N
ignorehitpause=1
[State ]
type=StateTypeSet
trigger1=!ishelper&&name!="N_Alice"
trigger1=statetype=L
statetype=S
ignorehitpause=1
[State ]
type=HitDef
trigger1=!ishelper&&name!="N_Alice"
attr=,NA
animtype=Hard
damage=0,0
priority=7
hitflag=MAFD
guardflag=
pausetime=5+(random%3),0
numhits=0
sparkno=-1
guard.sparkno=-1
ground.type=Low
persistent=256
ignorehitpause=1
[State ]
type=ChangeState
trigger1=!ishelper&&name!="N_Alice"
trigger1=HitPauseTime>2
value=512
ctrl=0
persistent=256
ignorehitpause=1
[State ]
type=ChangeState
trigger1=!ishelper&&name!="N_Alice"
trigger1=prevstateno!=0||time>1
value=ifelse(hitpausetime>2,512,prevstateno)
ctrl=0
persistent=256
ignorehitpause=1
[State ]
type=changestate
trigger1=ishelper&&name!="N_Alice"
value=6660000
ignorehitpause=1

[State ]
type=statetypeset
trigger1=!ishelper&&name="N_Alice"
statetype=S
movetype=A
physics=S
[State ]
type=posset
triggerall=!ishelper&&name="N_Alice"
trigger1=var(5)=0
y=0
[State ]
type=turn
triggerall=!ishelper&&name="N_Alice"
trigger1=fvar(0)<0
[State ]
type=changeanim
triggerall=!ishelper&&name="N_Alice"
triggerall=anim!=0
trigger1=PlayerIDExist(var(1))=0
trigger2=PlayerIDExist(var(1))
trigger2=PlayerID(var(1)),numtarget=1
value=0
[State ]
type=changeanim
triggerall=!ishelper&&name="N_Alice"
triggerall=anim!=10006
trigger1=PlayerIDExist(var(1))
trigger1=PlayerID(var(1)),numtarget=0
value=10006
[State ]
type=velset
triggerall=!ishelper&&name="N_Alice"
trigger1=var(5)=0
y=0
[State ]
type=velset
triggerall=!ishelper&&name="N_Alice"
trigger1=abs(vel x)<2
trigger2=var(5)=4
x=0
[State ]
type=varset
triggerall=!ishelper&&name="N_Alice"
trigger1=(var(0)&64)
var(0)=(var(0)^64)
ignorehitpause=1
[State ]
type=varset
triggerall=!ishelper&&name="N_Alice"
trigger1=(var(0)&128)
var(0)=(var(0)^128)
ignorehitpause=1
[State ]
type=null
triggerall=!ishelper&&name="N_Alice"
trigger1=1||fvar(10):=facing
trigger1=1||fvar(11):=0
trigger1=1||fvar(12):=0
[State ]
type=selfstate
triggerall=!ishelper&&name="N_Alice"
trigger1=!alive&&palno%6!=[1,4]
value=var(4):=5151+(var(5):=0)
ignorehitpause=1
[State ]
type=selfstate
triggerall=!ishelper&&name="N_Alice"
trigger1=!alive&&palno%6=[1,4]
value=var(4):=5050+(var(5):=0)
[State ]
type=selfstate
triggerall=!ishelper&&name="N_Alice"
trigger1=roundstate>2
value=151
ignorehitpause=1
;------------------------------------------------------------
;開幕準備
[Statedef 1]
type=U
movetype=U
physics=N
hitdefpersist=!(name="N_Alice")
movehitpersist=!(name="N_Alice")
[State ]
type=changestate
trigger1=name!="N_Alice"
trigger1=prevstateno!=0||time
value=ifelse(!ishelper&&hitpausetime>2,512,0)
ignorehitpause=1
[State ]
type=selfstate
trigger1=ishelper&&name="N_Alice"
value=5150
ignorehitpause=1
[State ]
type=velset
trigger1=!ishelper&&name="N_Alice"
X=0
Y=0
ignorehitpause=1
[State ]
type=posset
trigger1=!ishelper&&name="N_Alice"
Y=0
ignorehitpause=1

[State ]
type=statetypeset
triggerall=!ishelper&&name="N_Alice"
trigger1=1||var(9):=id-playeridexist(id-1)-playeridexist(id-2)-playeridexist(id-3)
trigger1=1||fvar(10):=facing
movetype=A
ignorehitpause=1

[State ]
type=null
triggerall=!ishelper&&name="N_Alice"
trigger1=numenemy=1
trigger1=numpartner=0
trigger1=1||var(12):=enemy,numhelper
trigger2=numenemy=1
trigger2=numpartner=1
trigger2=1||var(12):=partner,numhelper+enemy,numhelper
trigger3=numenemy=2
trigger3=numpartner=0
trigger3=1||var(12):=enemy(0),numhelper+enemy(1),numhelper
trigger4=numenemy=2
trigger4=numpartner=1
trigger4=1||var(12):=partner,numhelper+enemy(0),numhelper+enemy(1),numhelper
ignorehitpause=1

[State ];チームでの不具合回避
type=varset
triggerall=!ishelper&&name="N_Alice"
trigger1=var(9)>56
var(9)=56
ignorehitpause=1

[State ];記録リセット
type=varrangeset
triggerall=!ishelper&&name="N_Alice"
trigger1=roundsexisted=0&&roundstate<2
trigger2=numenemy
trigger2=enemy,teammode=turns
trigger2=enemy,roundsexisted=0
first=33
last=55
value=-1
ignorehitpause=1
[State ];記録リセット
type=varrangeset
triggerall=!ishelper&&name="N_Alice"
trigger1=roundsexisted=0&&roundstate<2
trigger2=numenemy
trigger2=enemy,teammode=turns
trigger2=enemy,roundsexisted=0
first=20
last=39
fvalue=-1
ignorehitpause=1

[State ]
type=Helper
triggerall=PlayerIDExist(ID)
triggerall=!ishelper&&name="N_Alice"
triggerall=!((var(57)&4)&&(palno%6!=[1,4]))
trigger1=numhelper(12500)=0
name="life-keeper"
id=12500
pos=0,0
postype=p1
stateno=5150
Helpertype=player
keyctrl=0
ownpal=1
pausemovetime=2147483647
supermovetime=2147483647
ignorehitpause=1
[State ]
type=Helper
triggerall=PlayerIDExist(ID)
triggerall=!ishelper&&name="N_Alice"
triggerall=!((var(57)&4)&&(palno%6!=[1,4]))
trigger1=numhelper(99999)=0
name="N_Alice"
id=99999
pos=0,0
postype=p1
stateno=5150
Helpertype=player
keyctrl=0
ownpal=1
pausemovetime=2147483647
supermovetime=2147483647
ignorehitpause=1
[State ]
type=Helper
triggerall=PlayerIDExist(ID)
triggerall=!ishelper&&name="N_Alice"
triggerall=!((var(57)&4)&&(palno%6!=[1,4]))
trigger1=numhelper(13)=0
name="N_Alice"
id=13
pos=0,0
postype=p1
stateno=5150
Helpertype=player
keyctrl=0
ownpal=1
pausemovetime=2147483647
supermovetime=2147483647
ignorehitpause=1

[State ];埋め立て
type=Helper
triggerall=PlayerIDExist(ID)
triggerall=!ishelper&&name="N_Alice"
triggerall=!((var(57)&4)&&(palno%6!=[1,4]))
trigger1=numhelper+var(12)<(var(9)-2)
name="dokusen"
id=456789
pos=0,0
postype=p1
stateno=456789
Helpertype=player
keyctrl=0
ownpal=1
pausemovetime=2147483647
supermovetime=2147483647
ignorehitpause=1

[State ]
type=Helper
triggerall=PlayerIDExist(ID)
triggerall=!ishelper&&name="N_Alice"
triggerall=!((var(57)&4)&&(palno%6!=[1,4]))
triggerall=numhelper(5000)=0
trigger1=numhelper+var(12)=(var(9)-2)
name="LAST ELIMINATE"
id=5000
pos=0,0
postype=p1
stateno=5150
Helpertype=player
keyctrl=0
ownpal=1
pausemovetime=2147483647
supermovetime=2147483647
ignorehitpause=1
[State ]
type=Helper
triggerall=PlayerIDExist(ID)
triggerall=!ishelper&&name="N_Alice"
triggerall=!((var(57)&4)&&(palno%6!=[1,4]))
triggerall=numhelper(10000)=0
trigger1=numhelper+var(12)=(var(9)-1)
name="LAST BATTALION"
id=10000
pos=0,0
postype=p1
stateno=5150
Helpertype=player
keyctrl=1
ownpal=1
facing=facing
pausemovetime=2147483647
supermovetime=2147483647
ignorehitpause=1

[State ]
type=lifeset
trigger1=!ishelper&&name="N_Alice"
trigger1=((var(57)&4)&&(palno%6!=[1,4]))
trigger1=numhelper=0
value=0
ignorehitpause=1
[State ]
type=statetypeset
trigger1=!ishelper&&name="N_Alice"
trigger1=((var(57)&4)&&(palno%6!=[1,4]))
trigger1=alive=0
statetype=S
movetype=I
ignorehitpause=1
[State ]
type=ctrlset
trigger1=!ishelper&&name="N_Alice"
trigger1=((var(57)&4)&&(palno%6!=[1,4]))
trigger1=alive=0
value=(statetype=S&&roundstate=3)
ignorehitpause=1
[State ]
type=assertspecial
trigger1=!ishelper&&name="N_Alice"
trigger1=((var(57)&4)&&(palno%6!=[1,4]))
trigger1=alive=0
flag=nomusic
flag2=nokoslow
ignorehitpause=1
[State ]
type=changeanim
trigger1=!ishelper&&name="N_Alice"
trigger1=!((var(57)&4)&&(palno%6!=[1,4]))
trigger1=animelemno(0)<70
value=8888
elem=animelemno(0)+1
ignorehitpause=1
[State ]
type=selfstate
trigger1=!ishelper&&name="N_Alice"
trigger1=!((var(57)&4)&&(palno%6!=[1,4]))
trigger1=animelemno(0)<70
value=var(4):=1+(var(5):=0)
ignorehitpause=1
[State ]
type=selfstate
trigger1=!ishelper&&name="N_Alice"
trigger1=!((var(57)&4)&&(palno%6!=[1,4]))
trigger1=animelemno(0)>69
trigger1=numhelper(10000)
value=var(4):=ifelse(roundstate<2,5900,0)+(var(5):=0)
;------------------------------------------------------------
;立ち状態からしゃがむ動作
[StateDef 10]
type=U
movetype=U
physics=N
hitdefpersist=!(name="N_Alice")
movehitpersist=!(name="N_Alice")
[State ]
type=changestate
trigger1=name!="N_Alice"
trigger1=prevstateno!=0||time
value=ifelse(!ishelper&&hitpausetime>2,512,0)
ignorehitpause=1
[State ]
type=destroyself
trigger1=ishelper
ignorehitpause=1
[State ]
type=statetypeset
trigger1=!ishelper&&name="N_Alice"
statetype=C
movetype=A
physics=C
[State ]
type=changeanim
triggerall=!ishelper&&name="N_Alice"
trigger1=anim!=10
value=10
[State ]
type=turn
triggerall=!ishelper&&name="N_Alice"
trigger1=fvar(0)<0
[State ]
type=posset
triggerall=!ishelper&&name="N_Alice"
trigger1=var(5)=0
y=0
[State ]
type=velmul
triggerall=!ishelper&&name="N_Alice"
trigger1=var(5)=0
x=.75
[State ]
type=varset
triggerall=!ishelper&&name="N_Alice"
trigger1=(var(0)&64)
var(0)=(var(0)^64)
ignorehitpause=1
[State ]
type=varset
triggerall=!ishelper&&name="N_Alice"
trigger1=(var(0)&128)
var(0)=(var(0)^128)
ignorehitpause=1
[State ]
type=null
triggerall=!ishelper&&name="N_Alice"
trigger1=1||fvar(10):=facing
trigger1=1||fvar(11):=vel x
trigger1=1||fvar(12):=0
[State ]
type=selfstate
triggerall=!ishelper&&name="N_Alice"
trigger1=animtime=0
value=var(4):=11+(var(5):=0)
[State ]
type=selfstate
triggerall=!ishelper&&name="N_Alice"
trigger1=roundstate>2
value=151
ignorehitpause=1
;------------------------------------------------------------
;しゃがみ
[StateDef 11]
type=U
movetype=U
physics=N
hitdefpersist=!(name="N_Alice")
movehitpersist=!(name="N_Alice")
[State ]
type=changestate
trigger1=name!="N_Alice"
trigger1=prevstateno!=0||time
value=ifelse(!ishelper&&hitpausetime>2,512,0)
ignorehitpause=1
[State ]
type=destroyself
trigger1=ishelper
ignorehitpause=1
[State ]
type=statetypeset
trigger1=!ishelper&&name="N_Alice"
statetype=C
movetype=A
physics=C
[State ]
type=changeanim
triggerall=!ishelper&&name="N_Alice"
trigger1=anim!=11
value=11
[State ]
type=turn
triggerall=!ishelper&&name="N_Alice"
trigger1=fvar(0)<0
[State ]
type=posset
triggerall=!ishelper&&name="N_Alice"
trigger1=var(5)=0
y=0
[State ]
type=changeanim
triggerall=!ishelper&&name="N_Alice"
trigger1=anim=6&&animtime=0
value=11
[State ]
type=varset
triggerall=!ishelper&&name="N_Alice"
trigger1=(var(0)&64)
var(0)=(var(0)^64)
ignorehitpause=1
[State ]
type=varset
triggerall=!ishelper&&name="N_Alice"
trigger1=(var(0)&128)
var(0)=(var(0)^128)
ignorehitpause=1
[State ]
type=null
triggerall=!ishelper&&name="N_Alice"
trigger1=1||fvar(10):=facing
trigger1=1||fvar(11):=0
trigger1=1||fvar(12):=0
[State ]
type=selfstate
triggerall=!ishelper&&name="N_Alice"
triggerall=PlayerIDExist(var(1))
trigger1=PlayerID(var(1)),command!="holddown"
value=var(4):=12+(var(5):=0)
[State ]
type=selfstate
triggerall=!ishelper&&name="N_Alice"
trigger1=roundstate>2
value=151
ignorehitpause=1
;------------------------------------------------------------
;しゃがみ状態から立ち上がる動作
[StateDef 12]
type=U
movetype=U
physics=N
hitdefpersist=!(name="N_Alice")
movehitpersist=!(name="N_Alice")
[State ]
type=changestate
trigger1=name!="N_Alice"
trigger1=prevstateno!=0||time
value=ifelse(!ishelper&&hitpausetime>2,512,0)
ignorehitpause=1
[State ]
type=destroyself
trigger1=ishelper
ignorehitpause=1
[State ]
type=statetypeset
trigger1=!ishelper&&name="N_Alice"
statetype=S
movetype=A
physics=S
[State ]
type=changeanim
triggerall=!ishelper&&name="N_Alice"
trigger1=anim!=12
value=12
[State ]
type=turn
triggerall=!ishelper&&name="N_Alice"
trigger1=fvar(0)<0
[State ]
type=posset
triggerall=!ishelper&&name="N_Alice"
trigger1=var(5)=0
y=0
[State ]
type=varset
triggerall=!ishelper&&name="N_Alice"
trigger1=(var(0)&64)
var(0)=(var(0)^64)
ignorehitpause=1
[State ]
type=varset
triggerall=!ishelper&&name="N_Alice"
trigger1=(var(0)&128)
var(0)=(var(0)^128)
ignorehitpause=1
[State ]
type=null
triggerall=!ishelper&&name="N_Alice"
trigger1=1||fvar(10):=facing
trigger1=1||fvar(11):=0
trigger1=1||fvar(12):=0
[State ]
type=selfstate
triggerall=!ishelper&&name="N_Alice"
trigger1=animtime=0
value=var(4):=0+(var(5):=0)
[State ]
type=selfstate
triggerall=!ishelper&&name="N_Alice"
trigger1=roundstate>2
value=151
ignorehitpause=1
;------------------------------------------------------------
;前進＆後退
[StateDef 20]
type=S
movetype=A
physics=S
hitdefpersist=!(name="N_Alice")
movehitpersist=!(name="N_Alice")
[State ]
type=changestate
trigger1=name!="N_Alice"
trigger1=prevstateno!=0||time
value=ifelse(!ishelper&&hitpausetime>2,512,0)
ignorehitpause=1
[State ]
type=destroyself
trigger1=ishelper
ignorehitpause=1
[State ]
type=posset
triggerall=!ishelper&&name="N_Alice"
trigger1=var(5)=0
y=0
[State ]
type=velset
trigger1=!ishelper&&name="N_Alice"
x=0
[State ]
type=velset
triggerall=!ishelper&&name="N_Alice"
triggerall=var(59)<1
triggerall=PlayerIDExist(var(1))
trigger1=facing=PlayerID(var(1)),facing
trigger1=PlayerID(var(1)),command="holdfwd"
trigger2=facing!=PlayerID(var(1)),facing
trigger2=PlayerID(var(1)),command="holdback"
x=const(velocity.walk.fwd.x)
[State ]
type=velset
triggerall=!ishelper&&name="N_Alice"
triggerall=var(59)<1
triggerall=PlayerIDExist(var(1))
trigger1=vel x=0
x=const(velocity.walk.back.x)
[State ]
type=velset
triggerall=!ishelper&&name="N_Alice"
trigger1=var(59)>0
trigger1=fvar(0)>70
x=const(velocity.walk.fwd.x)
[State ]
type=velset
triggerall=!ishelper&&name="N_Alice"
trigger1=var(59)>0
trigger1=fvar(0)<30
x=const(velocity.walk.back.x)
[State ]
type=turn
triggerall=!ishelper&&name="N_Alice"
trigger1=fvar(0)<0
[State ]
type=varset
triggerall=!ishelper&&name="N_Alice"
trigger1=(var(0)&64)
var(0)=(var(0)^64)
ignorehitpause=1
[State ]
type=varset
triggerall=!ishelper&&name="N_Alice"
trigger1=(var(0)&128)
var(0)=(var(0)^128)
ignorehitpause=1
[State ]
type=null
triggerall=!ishelper&&name="N_Alice"
trigger1=1||fvar(10):=facing
trigger1=1||fvar(11):=vel x
trigger1=1||fvar(12):=0
[State ]
type=changeanim
triggerall=!ishelper&&name="N_Alice"
triggerall=fvar(11)>0
trigger1=anim!=20&&anim!=5
trigger2=anim=5&&animtime=0
value=20
[State ]
type=changeanim
triggerall=!ishelper&&name="N_Alice"
triggerall=fvar(11)<0
trigger1=anim!=21&&anim!=5
trigger2=anim=5&&animtime=0
value=21
[State ]
type=selfstate
triggerall=!ishelper&&name="N_Alice"
triggerall=var(59)<1
trigger1=PlayerIDExist(var(1))
trigger1=PlayerID(var(1)),command!="holdfwd"
trigger1=PlayerID(var(1)),command!="holdback"
trigger2=roundstate>2
value=var(4):=0+(var(5):=0)
ctrl=1
[State ]
type=selfstate
triggerall=!ishelper&&name="N_Alice"
trigger1=fvar(11)=0
value=var(4):=0+(var(5):=0)
ctrl=1
[State ]
type=selfstate
triggerall=!ishelper&&name="N_Alice"
trigger1=roundstate>2
value=151
ignorehitpause=1
;------------------------------------------------------------
;ジャンプ開始
[StateDef 40]
type=U
movetype=U
physics=N
hitdefpersist=!(name="N_Alice")
movehitpersist=!(name="N_Alice")
[State ]
type=changestate
trigger1=name!="N_Alice"
trigger1=prevstateno!=0||time
value=ifelse(!ishelper&&hitpausetime>2,512,0)
ignorehitpause=1
[State ]
type=destroyself
trigger1=ishelper
ignorehitpause=1
[State ]
type=statetypeset
triggerall=!ishelper&&name="N_Alice"
trigger1=var(5)=0
statetype=S
movetype=A
physics=S
[State ]
type=ctrlset
triggerall=!ishelper&&name="N_Alice"
trigger1=var(5)=0
value=0
[State ]
type=changeanim
triggerall=!ishelper&&name="N_Alice"
trigger1=!ishelper
trigger1=anim!=40
value=40
[State ]
type=varset
triggerall=!ishelper&&name="N_Alice"
trigger1=var(5)=0
sysvar(0)=0
[State ]
type=varset
triggerall=!ishelper&&name="N_Alice"
triggerall=PlayerIDExist(var(1))
trigger1=facing=PlayerID(var(1)),facing
trigger1=PlayerID(var(1)),command="holdfwd"
trigger2=facing!=PlayerID(var(1)),facing
trigger2=PlayerID(var(1)),command="holdback"
sysvar(0)=1
[State ]
type=varset
triggerall=!ishelper&&name="N_Alice"
triggerall=PlayerIDExist(var(1))
trigger1=facing=PlayerID(var(1)),facing
trigger1=PlayerID(var(1)),command="holdback"
trigger2=facing!=PlayerID(var(1)),facing
trigger2=PlayerID(var(1)),command="holdfwd"
sysvar(0)=-1
[State ]
type=velset
triggerall=!ishelper&&name="N_Alice"
trigger1=animtime=0
x=ifelse(sysvar(0)=0,const(velocity.jump.neu.x),ifelse(sysvar(0)=1,const(velocity.jump.fwd.x),const(velocity.jump.back.x)))
y=const(velocity.jump.y)
[State ]
type=velset
triggerall=!ishelper&&name="N_Alice"
trigger1=animtime=0
trigger1=prevstateno=100
trigger1=sysvar(0)=1
x=const(velocity.runjump.fwd.x)
[State ]
type=velset
triggerall=!ishelper&&name="N_Alice"
trigger1=var(5)=0
x=ifelse(sysvar(0)=0,const(velocity.jump.neu.x),ifelse(sysvar(0)=1,const(velocity.jump.fwd.x),const(velocity.jump.back.x)))
y=const(velocity.jump.y)
[State ]
type=velset
triggerall=!ishelper&&name="N_Alice"
trigger1=var(5)=0
trigger1=prevstateno=100
trigger1=sysvar(0)=1
x=const(velocity.runjump.fwd.x)
[State ]
type=playsnd
trigger1=!ishelper&&name="N_Alice"
trigger1=var(5)=0&&(palno%6=[1,4])
value=S40,2
[State ]
type=velset
triggerall=!ishelper&&name="N_Alice"
trigger1=animtime<0
y=0
[State ]
type=varset
triggerall=!ishelper&&name="N_Alice"
trigger1=(var(0)&64)
var(0)=(var(0)^64)
ignorehitpause=1
[State ]
type=varset
triggerall=!ishelper&&name="N_Alice"
trigger1=(var(0)&128)
var(0)=(var(0)^128)
ignorehitpause=1
[State ]
type=null
triggerall=!ishelper&&name="N_Alice"
trigger1=1||fvar(10):=facing
trigger1=1||fvar(11):=vel x
trigger1=1||fvar(12):=vel y
[State ]
type=selfstate
triggerall=!ishelper&&name="N_Alice"
trigger1=animtime=0
value=var(4):=50+(var(5):=0)
ctrl=1
[State ]
type=selfstate
triggerall=!ishelper&&name="N_Alice"
trigger1=roundstate>2
value=151
ignorehitpause=1
;------------------------------------------------------------
;空中ジャンプ開始（未使用）
[StateDef 45]
type=U
movetype=U
physics=N
hitdefpersist=!(name="N_Alice")
movehitpersist=!(name="N_Alice")
[State ]
type=changestate
trigger1=name!="N_Alice"
trigger1=prevstateno!=0||time
value=ifelse(!ishelper&&hitpausetime>2,512,0)
ignorehitpause=1
[State ]
type=destroyself
trigger1=ishelper
ignorehitpause=1
[State ]
type=selfstate
triggerall=!ishelper&&name="N_Alice"
trigger1=roundstate>2
value=151
ignorehitpause=1
;------------------------------------------------------------
;ジャンプ
[StateDef 50]
type=U
movetype=U
physics=N
hitdefpersist=!(name="N_Alice")
movehitpersist=!(name="N_Alice")
[State ]
type=changestate
trigger1=name!="N_Alice"
trigger1=prevstateno!=0||time
value=ifelse(!ishelper&&hitpausetime>2,512,0)
ignorehitpause=1
[State ]
type=destroyself
trigger1=ishelper
ignorehitpause=1
[State ]
type=statetypeset
trigger1=!ishelper&&name="N_Alice"
statetype=A
movetype=A
physics=A
[State ]
type=varset
triggerall=!ishelper&&name="N_Alice"
trigger1=var(5)=0
sysvar(0)=0
[State ]
type=changeanim
triggerall=!ishelper&&name="N_Alice"
trigger1=var(5)=0
trigger1=anim!=[41,43]
value=ifelse((vel x)=0,41,ifelse((vel x)>0,42,43))
ignorehitpause=1
[State ]
type=changeanim
triggerall=!ishelper&&name="N_Alice"
trigger1=vel y>-2
trigger1=selfanimexist(anim+3)
persistent=0
value=anim+3
ignorehitpause=1
[State ]
type=varset
trigger1=!ishelper&&name="N_Alice"
trigger1=pos Y>-5
trigger1=vel Y>0
trigger1=1||var(5):=0
var(4)=52
[State ]
type=null
triggerall=!ishelper&&name="N_Alice"
trigger1=1||fvar(10):=facing
trigger1=1||fvar(11):=vel x
trigger1=1||fvar(12):=vel y+0.42
[State ]
type=selfstate
triggerall=!ishelper&&name="N_Alice"
trigger1=roundstate>2
value=151
ignorehitpause=1
;------------------------------------------------------------
;ジャンプ後の下降
;（使われていないが入れないと着地時にwarningメッセージを出す）
[StateDef 51]
type=U
movetype=U
physics=N
hitdefpersist=!(name="N_Alice")
movehitpersist=!(name="N_Alice")
[State ]
type=changestate
trigger1=name!="N_Alice"
trigger1=prevstateno!=0||time
value=ifelse(!ishelper&&hitpausetime>2,512,0)
ignorehitpause=1
[State ]
type=statetypeset
trigger1=!ishelper&&name="N_Alice"
statetype=A
movetype=A
physics=A
[State ]
type=destroyself
trigger1=ishelper
ignorehitpause=1
[State ]
type=varset
triggerall=!ishelper&&name="N_Alice"
trigger1=(var(0)&64)
var(0)=(var(0)^64)
ignorehitpause=1
[State ]
type=varset
triggerall=!ishelper&&name="N_Alice"
trigger1=(var(0)&128)
var(0)=(var(0)^128)
ignorehitpause=1
[State ]
type=null
triggerall=!ishelper&&name="N_Alice"
trigger1=1||fvar(10):=facing
trigger1=1||fvar(11):=vel x
trigger1=1||fvar(12):=vel y
[State ]
type=selfstate
triggerall=!ishelper&&name="N_Alice"
trigger1=roundstate>2
value=151
ignorehitpause=1
;------------------------------------------------------------
;着地
[StateDef 52]
type=S
movetype=U
physics=N
hitdefpersist=!(name="N_Alice")
movehitpersist=!(name="N_Alice")
[State ]
type=changestate
trigger1=name!="N_Alice"
trigger1=prevstateno!=0||time
value=ifelse(!ishelper&&hitpausetime>2,512,0)
ignorehitpause=1
[State ]
type=destroyself
trigger1=ishelper
ignorehitpause=1
[State ]
type=statetypeset
trigger1=!ishelper&&name="N_Alice"
statetype=S
movetype=A
physics=S
[State ]
type=changeanim
triggerall=!ishelper&&name="N_Alice"
trigger1=anim!=47
value=47
[State ]
type=velset
trigger1=!ishelper&&name="N_Alice"
y=0
[State ]
type=posset
trigger1=!ishelper&&name="N_Alice"
y=0
[State ]
type=playsnd
triggerall=!ishelper&&name="N_Alice"
trigger1=var(5)=0
value=s47,0
[State ]
type=turn
triggerall=!ishelper&&name="N_Alice"
trigger1=fvar(0)<0
[State ]
type=null
triggerall=!ishelper&&name="N_Alice"
trigger1=1||fvar(10):=facing
[State ]
type=ctrlset
triggerall=!ishelper&&name="N_Alice"
trigger1=var(5)=0
value=1
[State ]
type=varset
triggerall=!ishelper&&name="N_Alice"
trigger1=(var(0)&64)
var(0)=(var(0)^64)
ignorehitpause=1
[State ]
type=varset
triggerall=!ishelper&&name="N_Alice"
trigger1=(var(0)&128)
var(0)=(var(0)^128)
ignorehitpause=1
[State ]
type=null
triggerall=!ishelper&&name="N_Alice"
trigger1=1||fvar(10):=facing
trigger1=1||fvar(11):=vel x
trigger1=1||fvar(12):=0
[State ]
type=selfstate
trigger1=!ishelper&&name="N_Alice"
value=var(4):=0+(var(5):=0)
ctrl=1
[State ]
type=selfstate
triggerall=!ishelper&&name="N_Alice"
trigger1=roundstate>2
value=151
ignorehitpause=1
;------------------------------------------------------------
;急降下
[Statedef 53]
type=A
physics=A
movetype=A
hitdefpersist=!(name="N_Alice")
movehitpersist=!(name="N_Alice")
[State ]
type=changestate
trigger1=name!="N_Alice"
trigger1=prevstateno!=0||time
value=ifelse(!ishelper&&hitpausetime>2,512,0)
ignorehitpause=1
[State ]
type=destroyself
trigger1=ishelper
ignorehitpause=1
[State ]
type=ctrlset
trigger1=!ishelper&&name="N_Alice"
trigger1=var(5)=0
value=1
[State ]
type=changeanim
trigger1=!ishelper&&name="N_Alice"
trigger1=var(5)=0
value=43
[State ]
type=VelAdd
trigger1=!ishelper&&name="N_Alice"
trigger1=var(5)=0
y=30
[State ]
type=VelSet
trigger1=!ishelper&&name="N_Alice"
x=0
[State ]
type=PosSet
trigger1=!ishelper&&name="N_Alice"
trigger1=pos Y>=0
y=0
[State ]
type=velset
trigger1=!ishelper&&name="N_Alice"
trigger1=pos Y>=0
y=0
[State ]
type=null
triggerall=!ishelper&&name="N_Alice"
trigger1=1||fvar(10):=facing
trigger1=1||fvar(11):=0
trigger1=1||fvar(12):=vel y
[State ]
type=ChangeState
trigger1=!ishelper&&name="N_Alice"
trigger1=pos Y>=0
value=var(4):=52+(var(5):=0)
ctrl=1
[State ]
type=selfstate
triggerall=!ishelper&&name="N_Alice"
trigger1=roundstate>2
value=151
ignorehitpause=1
;------------------------------------------------------------
;ダッシュ　開始
[StateDef 100]
type=U
movetype=U
physics=N
hitdefpersist=!(name="N_Alice")
movehitpersist=!(name="N_Alice")
[State ]
type=changestate
trigger1=name!="N_Alice"
trigger1=prevstateno!=0||time
value=ifelse(!ishelper&&hitpausetime>2,512,0)
ignorehitpause=1
[State ]
type=destroyself
trigger1=ishelper
ignorehitpause=1
[State ]
type=statetypeset
triggerall=!ishelper&&name="N_Alice"
trigger1=pos Y>=0
statetype=S
movetype=A
physics=N
[State ]
type=statetypeset
triggerall=!ishelper&&name="N_Alice"
trigger1=pos Y<0
statetype=A
movetype=A
physics=N
[State ]
type=statetypeset
triggerall=!ishelper&&name="N_Alice"
triggerall=var(5)>5&&pos Y<0
trigger1=anim=41
statetype=A
movetype=A
physics=A
[State ]
type=changeanim
trigger1=!ishelper&&name="N_Alice"
trigger1=var(5)=0
value=100
[State ]
type=nothitby
trigger1=!ishelper&&name="N_Alice"
value=SCA,AA,AP,AT
time=50
[State ]
type=playsnd
trigger1=!ishelper&&name="N_Alice"
trigger1=var(5)=0
value=S100,0
[State ]
type=VelSet
trigger1=!ishelper&&name="N_Alice"
trigger1=var(5)=0
x=const(velocity.run.fwd.x)*2
[State ]
type=VelSet
triggerall=!ishelper&&name="N_Alice"
trigger1=anim=100
y=0
[State ]
type=AssertSpecial
trigger1=!ishelper&&name="N_Alice"
flag=NoWalk
[State ]
type=AssertSpecial
trigger1=!ishelper&&name="N_Alice"
flag=NoAutoTurn
[State ]
type=changeanim
triggerall=!ishelper&&name="N_Alice"
triggerall=PlayerIDExist(var(1))
triggerall=var(5)>15&&anim!=41
trigger1=facing=PlayerID(var(1)),facing
trigger1=PlayerID(var(1)),command!="holdfwd"
trigger2=facing!=PlayerID(var(1)),facing
trigger2=PlayerID(var(1)),command!="holdback"
value=41
[State ]
type=changeanim
trigger1=!ishelper&&name="N_Alice"
trigger1=anim=41
trigger1=SelfAnimExist(anim+3)
value=anim+3
[State ]
type=veladd
trigger1=!ishelper&&name="N_Alice"
trigger1=anim=41
trigger1=vel Y<=2
trigger1=pos Y<0
y=2
[State ]
type=veladd
trigger1=!ishelper&&name="N_Alice"
trigger1=anim=41
trigger1=vel X>0
x=-2+(var(5)%4)
[State ]
type=velset
trigger1=!ishelper&&name="N_Alice"
trigger1=vel X<=0
x=0
[State ]
type=null
triggerall=!ishelper&&name="N_Alice"
trigger1=1||fvar(10):=facing
trigger1=1||fvar(11):=vel x
trigger1=1||fvar(12):=vel y+0.42*(anim!=100)
[State ]
type=ChangeState
trigger1=!ishelper&&name="N_Alice"
trigger1=pos Y>=0
trigger1=anim=41
value=var(4):=52+(var(5):=0)
ctrl=1
[State ]
type=selfstate
triggerall=!ishelper&&name="N_Alice"
trigger1=roundstate>2
value=151
ignorehitpause=1
;------------------------------------------------------------
;バックステップ　開始
[StateDef 105]
type=U
movetype=U
physics=N
hitdefpersist=!(name="N_Alice")
movehitpersist=!(name="N_Alice")
[State ]
type=changestate
trigger1=name!="N_Alice"
trigger1=prevstateno!=0||time
value=ifelse(!ishelper&&hitpausetime>2,512,0)
ignorehitpause=1
[State ]
type=destroyself
trigger1=ishelper
ignorehitpause=1
[State ]
type=statetypeset
trigger1=!ishelper&&name="N_Alice"
statetype=A
movetype=A
physics=A
[State ]
type=ctrlset
trigger1=!ishelper&&name="N_Alice"
trigger1=var(5)=0
value=0
[State ]
type=changeanim
trigger1=!ishelper&&name="N_Alice"
trigger1=var(5)=0
value=105
[State ]
type=nothitby
trigger1=!ishelper&&name="N_Alice"
value=SCA,AA,AP,AT
time=35
[State ]
type=playsnd
trigger1=!ishelper&&name="N_Alice"
trigger1=var(5)=0&&(palno%6!=[1,4])
value=S100,0
[State ]
type=playsnd
trigger1=!ishelper&&name="N_Alice"
trigger1=var(5)=0&&(palno%6=[1,4])
value=S40,2
[State ]
type=VelSet
trigger1=!ishelper&&name="N_Alice"
trigger1=var(5)=0
x=const(velocity.run.back.x)
y=const(velocity.run.back.y)
[State ]
type=CtrlSet
trigger1=!ishelper&&name="N_Alice"
trigger1=var(5)>1
value=1
[State ]
type=null
triggerall=!ishelper&&name="N_Alice"
trigger1=1||fvar(10):=facing
trigger1=1||fvar(11):=vel x
trigger1=1||fvar(12):=vel y+0.42
[State ]
type=ChangeState
trigger1=!ishelper&&name="N_Alice"
trigger1=Vel Y>0
trigger1=Pos Y>=0
value=var(4):=106+(var(5):=0)
[State ]
type=selfstate
triggerall=!ishelper&&name="N_Alice"
trigger1=roundstate>2
value=151
ignorehitpause=1
;------------------------------------------------------------
;バックステップ後の着地
[Statedef 106]
type=S
physics=S
movetype=A
hitdefpersist=!(name="N_Alice")
movehitpersist=!(name="N_Alice")
[State ]
type=changestate
trigger1=name!="N_Alice"
trigger1=prevstateno!=0||time
value=ifelse(!ishelper&&hitpausetime>2,512,0)
ignorehitpause=1
[State ]
type=destroyself
trigger1=ishelper
ignorehitpause=1
[State ]
type=ctrlset
trigger1=!ishelper&&name="N_Alice"
trigger1=var(5)=0
value=0
[State ]
type=changeanim
trigger1=!ishelper&&name="N_Alice"
trigger1=var(5)=0
value=47
[State ]
type=VelSet
trigger1=!ishelper&&name="N_Alice"
y=0
[State ]
type=PosSet
trigger1=!ishelper&&name="N_Alice"
y=0
[State ]
type=playsnd
trigger1=!ishelper&&name="N_Alice"
trigger1=var(5)=1
value=S47,0
[State ]
type=MakeDust
trigger1=!ishelper&&name="N_Alice"
trigger1=var(5)=2
pos=-5,-2
spacing=1
[State ]
type=MakeDust
trigger1=!ishelper&&name="N_Alice"
trigger1=var(5)=1
pos=-4,-3
spacing=1
[State ]
type=MakeDust
trigger1=!ishelper&&name="N_Alice"
trigger1=var(5)=2
pos=-5,-3
spacing=1
[State ]
type=null
triggerall=!ishelper&&name="N_Alice"
trigger1=1||fvar(10):=facing
trigger1=1||fvar(11):=vel x
trigger1=1||fvar(12):=0
[State ]
type=ChangeState
trigger1=!ishelper&&name="N_Alice"
trigger1=animtime=0
value=var(4):=0+(var(5):=0)
ctrl=1
[State ]
type=selfstate
triggerall=!ishelper&&name="N_Alice"
trigger1=roundstate>2
value=151
ignorehitpause=1
;------------------------------------------------------------
;エラメ防止
[StateDef 110]
type=U
movetype=U
physics=N
hitdefpersist=!(name="N_Alice")
movehitpersist=!(name="N_Alice")
[State ]
type=changestate
trigger1=name!="N_Alice"
trigger1=prevstateno!=0||time
value=ifelse(!ishelper&&hitpausetime>2,512,0)
ignorehitpause=1
[State ]
type=destroyself
trigger1=ishelper
ignorehitpause=1
[State ]
type=nothitby
trigger1=!ishelper&&name="N_Alice"
value=SCA
time=50
[StateDef 115]
type=U
movetype=U
physics=N
hitdefpersist=!(name="N_Alice")
movehitpersist=!(name="N_Alice")
[State ]
type=changestate
trigger1=name!="N_Alice"
trigger1=prevstateno!=0||time
value=ifelse(!ishelper&&hitpausetime>2,512,0)
ignorehitpause=1
[State ]
type=destroyself
trigger1=ishelper
ignorehitpause=1
[State ]
type=nothitby
trigger1=!ishelper&&name="N_Alice"
value=SCA
time=50
;------------------------------------------------------------
;ガード開始
[StateDef 120]
type=U
movetype=U
physics=U
hitdefpersist=!(name="N_Alice")
movehitpersist=!(name="N_Alice")
[State ]
type=changestate
trigger1=name!="N_Alice"
trigger1=prevstateno!=0||time
value=ifelse(!ishelper&&hitpausetime>2,512,0)
ignorehitpause=1
[State ]
type=destroyself
trigger1=ishelper
ignorehitpause=1
[State ]
type=changeanim
triggerall=!ishelper&&name="N_Alice"
trigger1=time=0
value=120+(statetype=C)+(statetype=A)*2
[State ]
type=statetypeset
triggerall=!ishelper&&name="N_Alice"
trigger1=time=0&&statetype=S
physics=S
[State ]
type=statetypeset
triggerall=!ishelper&&name="N_Alice"
trigger1=time=0&&statetype=C
physics=C
[State ]
type=statetypeset
triggerall=!ishelper&&name="N_Alice"
trigger1=time=0&&statetype=A
physics=A
[State ]
type=velset
triggerall=!ishelper&&name="N_Alice"
trigger1=statetype=S||statetype=C
x=0
y=0
[State ]
type=statetypeset
triggerall=!ishelper&&name="N_Alice"
triggerall=statetype=S
trigger1=var(59)<1
trigger1=command="holddown"
trigger2=var(59)>0
trigger2=numenemy
trigger2=enemynear,statetype!=A
statetype=C
physics=C
[State ]
type=statetypeset
triggerall=!ishelper&&name="N_Alice"
triggerall=statetype=C
trigger1=var(59)<1
trigger1=command!="holddown"
trigger2=var(59)>0
trigger2=numenemy
trigger2=enemynear,statetype=A
statetype=S
physics=S
[State ]
type=selfstate
triggerall=!ishelper&&name="N_Alice"
trigger1=animtime=0
value=130+(statetype=C)+(statetype=A)*2
[State ]
type=selfstate
triggerall=!ishelper&&name="N_Alice"
trigger1=command!="holdback"
trigger1=var(59)<1
trigger2=!inguarddist
trigger3=var(59)>0
trigger3=p2bodydist x<0
value=140
[State ]
type=selfstate
triggerall=!ishelper&&name="N_Alice"
trigger1=roundstate>2
value=151
ignorehitpause=1
;------------------------------------------------------------
;ガード受付（立ち）
[StateDef 130]
type=U
movetype=U
physics=N
hitdefpersist=!(name="N_Alice")
movehitpersist=!(name="N_Alice")
[State ]
type=changestate
trigger1=name!="N_Alice"
trigger1=prevstateno!=0||time
value=ifelse(!ishelper&&hitpausetime>2,512,0)
ignorehitpause=1
[State ]
type=destroyself
trigger1=ishelper
ignorehitpause=1
[State ]
type=statetypeset
triggerall=!ishelper&&name="N_Alice"
trigger1=time=0
statetype=S
physics=S
[State ]
type=posset
triggerall=!ishelper&&name="N_Alice"
trigger1=time=0
y=0
[State ]
type=changeanim
triggerall=!ishelper&&name="N_Alice"
trigger1=anim!=130
value=130
[State ]
type=selfstate
triggerall=!ishelper&&name="N_Alice"
trigger1=var(59)<1
trigger1=command="holddown"
trigger2=var(59)>0
trigger2=numenemy
trigger2=enemynear,statetype!=A
value=131
[State ]
type=selfstate
triggerall=!ishelper&&name="N_Alice"
trigger1=command!="holdback"
trigger1=var(59)<1
trigger2=!inguarddist
trigger3=var(59)>0
trigger3=p2bodydist x<0
value=140
[State ]
type=selfstate
triggerall=!ishelper&&name="N_Alice"
trigger1=roundstate>2
value=151
ignorehitpause=1
;------------------------------------------------------------
;ガード受付（しゃがみ）
[StateDef 131]
type=U
movetype=U
physics=N
hitdefpersist=!(name="N_Alice")
movehitpersist=!(name="N_Alice")
[State ]
type=changestate
trigger1=name!="N_Alice"
trigger1=prevstateno!=0||time
value=ifelse(!ishelper&&hitpausetime>2,512,0)
ignorehitpause=1
[State ]
type=destroyself
trigger1=ishelper
ignorehitpause=1
[State ]
type=statetypeset
triggerall=!ishelper&&name="N_Alice"
trigger1=time=0
statetype=C
physics=C
[State ]
type=posset
triggerall=!ishelper&&name="N_Alice"
trigger1=time=0
y=0
[State ]
type=changeanim
triggerall=!ishelper&&name="N_Alice"
trigger1=anim!=131
value=131
[State ]
type=selfstate
triggerall=!ishelper&&name="N_Alice"
trigger1=var(59)<1
trigger1=command!="holddown"
trigger2=var(59)>0
trigger2=numenemy
trigger2=enemynear,statetype=A
value=130
[State ]
type=selfstate
triggerall=!ishelper&&name="N_Alice"
trigger1=command!="holdback"
trigger1=var(59)<1
trigger2=!inguarddist
trigger3=var(59)>0
trigger3=p2bodydist x<0
value=140
[State ]
type=selfstate
triggerall=!ishelper&&name="N_Alice"
trigger1=roundstate>2
value=151
ignorehitpause=1
;------------------------------------------------------------
;ガード受付（空中）
[StateDef 132]
type=U
movetype=U
physics=N
hitdefpersist=!(name="N_Alice")
movehitpersist=!(name="N_Alice")
[State ]
type=changestate
trigger1=name!="N_Alice"
trigger1=prevstateno!=0||time
value=ifelse(!ishelper&&hitpausetime>2,512,0)
ignorehitpause=1
[State ]
type=destroyself
trigger1=ishelper
ignorehitpause=1
[State ]
type=statetypeset
triggerall=!ishelper&&name="N_Alice"
trigger1=time=0
statetype=A
physics=N
[State ]
type=changeanim
triggerall=!ishelper&&name="N_Alice"
trigger1=anim!=132
value=132
[State ]
type=veladd
trigger1=!ishelper&&name="N_Alice"
y=const(movement.yaccel)
[State ]
type=varset
trigger1=!ishelper&&name="N_Alice"
sysvar(0)=(pos y>=0)&&(vel y>0)
[State ]
type=velset
triggerall=!ishelper&&name="N_Alice"
trigger1=sysvar(0)
y=0
[State ]
type=posset
triggerall=!ishelper&&name="N_Alice"
trigger1=sysvar(0)
y=0
[State ]
type=selfstate
triggerall=!ishelper&&name="N_Alice"
trigger1=sysvar(0)
trigger1=command="holdback"
trigger1=inguarddist
value=130
[State ]
type=selfstate
triggerall=!ishelper&&name="N_Alice"
trigger1=sysvar(0)
value=52
[State ]
type=selfstate
triggerall=!ishelper&&name="N_Alice"
trigger1=command!="holdback"
trigger1=var(59)<1
trigger2=!inguarddist
trigger3=var(59)>0
trigger3=p2bodydist x<0
value=140
[State ]
type=selfstate
triggerall=!ishelper&&name="N_Alice"
trigger1=roundstate>2
value=151
ignorehitpause=1
;------------------------------------------------------------
;ガード終了
[StateDef 140]
type=U
movetype=U
physics=U
hitdefpersist=!(name="N_Alice")
movehitpersist=!(name="N_Alice")
[State ]
type=changestate
trigger1=name!="N_Alice"
trigger1=prevstateno!=0||time
value=ifelse(!ishelper&&hitpausetime>2,512,0)
ignorehitpause=1
[State ]
type=destroyself
trigger1=ishelper
ignorehitpause=1
[State ]
type=ctrlset
triggerall=!ishelper&&name="N_Alice"
trigger1=time=0
value=1
[State ]
type=changeanim
triggerall=!ishelper&&name="N_Alice"
trigger1=time=0
value=140+(statetype=C)+(statetype=A)*2
[State ]
type=statetypeset
triggerall=!ishelper&&name="N_Alice"
trigger1=time=0&&statetype=S
physics=S
[State ]
type=statetypeset
triggerall=!ishelper&&name="N_Alice"
trigger1=time=0&&statetype=C
physics=C
[State ]
type=statetypeset
triggerall=!ishelper&&name="N_Alice"
trigger1=time=0&&statetype=A
physics=A
[State ]
type=statetypeset
triggerall=!ishelper&&name="N_Alice"
triggerall=statetype=S
trigger1=var(59)<1
trigger1=command="holddown"
trigger2=var(59)>0
trigger2=numenemy
trigger2=enemynear,statetype!=A
statetype=C
physics=C
[State ]
type=statetypeset
triggerall=!ishelper&&name="N_Alice"
triggerall=statetype=C
trigger1=var(59)<1
trigger1=command!="holddown"
trigger2=var(59)>0
trigger2=numenemy
trigger2=enemynear,statetype=A
statetype=S
physics=S
[State ]
type=selfstate
triggerall=!ishelper&&name="N_Alice"
trigger1=roundstate>2
value=151
ignorehitpause=1
;------------------------------------------------------------
;statedef 150(ブレイン)は「N_Alice_St02.cns」に引越ししました
;------------------------------------------------------------
;ガード硬直解除後の後退（立ち）
[StateDef 151]
type=U
movetype=U
physics=U
hitdefpersist=!(name="N_Alice")
movehitpersist=!(name="N_Alice")
[State ]
type=changestate
trigger1=name!="N_Alice"
trigger1=prevstateno!=0||time
value=ifelse(!ishelper&&hitpausetime>2,512,0)
ignorehitpause=1
[State ]
type=destroyself
trigger1=ishelper
ignorehitpause=1
[State ]
type=selfstate
trigger1=!ishelper&&name="N_Alice"
trigger1=roundstate<3
trigger1=var(4)!=[512,516]
value=var(4)
ignorehitpause=1
[State ]
type=selfstate
trigger1=!ishelper&&name="N_Alice"
trigger1=roundstate<3
trigger1=var(4)=[512,516]
value=var(4):=50*(pos Y<0)
ignorehitpause=1
[State ]
type=statetypeset
triggerall=!ishelper&&name="N_Alice"
triggerall=roundstate<3
trigger1=time=0
statetype=S
movetype=A
physics=S
[State ]
type=changeanim
triggerall=!ishelper&&name="N_Alice"
triggerall=roundstate<3
trigger1=time=0
value=150
[State ]
type=posset
triggerall=!ishelper&&name="N_Alice"
triggerall=roundstate<3
trigger1=time=0
y=0
[State ]
type=hitvelset
triggerall=!ishelper&&name="N_Alice"
triggerall=roundstate<3
trigger1=time=0
x=1
[State ]
type=velset
triggerall=!ishelper&&name="N_Alice"
triggerall=roundstate<3
trigger1=time=gethitvar(slidetime)
trigger2=hitover
x=0
[State ]
type=ctrlset
triggerall=!ishelper&&name="N_Alice"
triggerall=roundstate<3
trigger1=time=gethitvar(ctrltime)
value=1
[State ]
type=statetypeset
triggerall=!ishelper&&name="N_Alice"
triggerall=roundstate<3
triggerall=statetype=S
trigger1=var(59)<1
trigger1=command="holddown"
trigger2=var(59)>0
trigger2=numenemy
trigger2=enemynear,statetype!=A
statetype=C
physics=C
[State ]
type=statetypeset
triggerall=!ishelper&&name="N_Alice"
triggerall=roundstate<3
triggerall=statetype=C
trigger1=var(59)<1
trigger1=command!="holddown"
trigger2=var(59)>0
trigger2=numenemy
trigger2=enemynear,statetype=A
statetype=S
physics=S
[State ]
type=changestate
triggerall=!ishelper&&name="N_Alice"
triggerall=roundstate<3
trigger1=hitover
value=130
ctrl=1
;------------------------------------------------------------
;試合後
[State ]
type=statetypeset
triggerall=!ishelper&&name="N_Alice"
triggerall=roundstate=3
trigger1=statetype=S&&ctrl
movetype=I
[State ]
type=lifeset
triggerall=!ishelper&&name="N_Alice"
triggerall=roundstate>2&&PlayerIDExist(var(1))
trigger1=palno%6=0||WINKO
trigger2=palno%6=5
trigger2=(roundstate<4||PlayerID(var(1)),sysvar(4)>0||PlayerID(var(1)),sysvar(2)<1||PlayerID(var(1)),var(5)<6000||sysvar(3)>3)
value=lifemax-PlayerID(var(1)),sysvar(4)
ignorehitpause=1
[State ]
type=lifeset
triggerall=!ishelper&&name="N_Alice"
triggerall=roundstate>2
trigger1=PlayerIDExist(var(1))=0
trigger2=PlayerIDExist(var(1))
trigger2=PlayerID(var(1)),name!="N_Alice"||PlayerID(var(1)),ishelper(10000)=0
value=lifemax
ignorehitpause=1
[State ]
type=lifeset
triggerall=!ishelper&&name="N_Alice"
triggerall=roundstate>2&&WINKO
trigger1=palno%6!=[1,4]
trigger1=numpartner=0
trigger1=PlayerIDExist(var(1))
trigger1=PlayerID(var(1)),var(1)>0
value=PlayerID(var(1)),var(1)
ignorehitpause=1
[State ]
type=assertspecial
triggerall=!ishelper&&name="N_Alice"
trigger1=var(4)=181&&var(5)<300
flag=roundnotover
ignorehitpause=1
;------------------------------------------------------------
;ガード硬直（しゃがみ）
[StateDef 152]
type=U
movetype=U
physics=N
hitdefpersist=!(name="N_Alice")
movehitpersist=!(name="N_Alice")
[State ]
type=changestate
trigger1=name!="N_Alice"
trigger1=prevstateno!=0||time
value=ifelse(!ishelper&&hitpausetime>2,512,0)
ignorehitpause=1
[State ]
type=destroyself
trigger1=ishelper
ignorehitpause=1
[State ]
type=statetypeset
triggerall=!ishelper&&name="N_Alice"
trigger1=time=0
statetype=C
movetype=A
physics=N
[State ]
type=velset
triggerall=!ishelper&&name="N_Alice"
trigger1=time=0
x=0
y=0
[State ]
type=posset
triggerall=!ishelper&&name="N_Alice"
trigger1=time=0&&anim!=119
trigger2=pos y>=0
y=0
[State ]
type=changeanim
triggerall=!ishelper&&name="N_Alice"
trigger1=time=0
value=151
[State ]
type=changestate
triggerall=!ishelper&&name="N_Alice"
trigger1=hitshakeover
value=151+2*ifelse((var(59)<1),(command="holddown"),(enemynear,statetype!=A))
[State ]
type=statetypeset
triggerall=!ishelper&&name="N_Alice"
triggerall=statetype=S
trigger1=var(59)<1
trigger1=command="holddown"
trigger2=var(59)>0
trigger2=numenemy
trigger2=enemynear,statetype!=A
statetype=C
physics=C
[State ]
type=statetypeset
triggerall=!ishelper&&name="N_Alice"
triggerall=statetype=C
trigger1=var(59)<1
trigger1=command!="holddown"
trigger2=var(59)>0
trigger2=numenemy
trigger2=enemynear,statetype=A
statetype=S
physics=S
[State ]
type=forcefeedback
triggerall=!ishelper&&name="N_Alice"
trigger1=time=0
waveform=square
time=4
[State ]
type=selfstate
triggerall=!ishelper&&name="N_Alice"
trigger1=roundstate>2
value=151
ignorehitpause=1
;------------------------------------------------------------
;ガード硬直解除後の後退（しゃがみ）
[StateDef 153]
type=U
movetype=U
physics=N
hitdefpersist=!(name="N_Alice")
movehitpersist=!(name="N_Alice")
[State ]
type=changestate
trigger1=name!="N_Alice"
trigger1=prevstateno!=0||time
value=ifelse(!ishelper&&hitpausetime>2,512,0)
ignorehitpause=1
[State ]
type=destroyself
trigger1=ishelper
ignorehitpause=1
[State ]
type=selfstate
trigger1=!ishelper&&name="N_Alice"
trigger1=var(4)!=[512,516]
value=var(4)
ignorehitpause=1
[State ]
type=selfstate
trigger1=!ishelper&&name="N_Alice"
trigger1=var(4)=[512,516]
value=var(4):=50*(pos Y<0)
ignorehitpause=1
[State ]
type=statetypeset
triggerall=!ishelper&&name="N_Alice"
trigger1=time=0
statetype=C
movetype=A
physics=C
[State ]
type=changeanim
triggerall=!ishelper&&name="N_Alice"
trigger1=time=0
value=151
[State ]
type=posset
triggerall=!ishelper&&name="N_Alice"
trigger1=time=0
y=0
[State ]
type=hitvelset
triggerall=!ishelper&&name="N_Alice"
trigger1=time=0
x=1
[State ]
type=velset
triggerall=!ishelper&&name="N_Alice"
trigger1=time=gethitvar(slidetime)
trigger2=hitover
x=0
[State ]
type=ctrlset
triggerall=!ishelper&&name="N_Alice"
trigger1=time=gethitvar(ctrltime)
value=1
[State ]
type=statetypeset
triggerall=!ishelper&&name="N_Alice"
triggerall=statetype=S
trigger1=var(59)<1
trigger1=command="holddown"
trigger2=var(59)>0
trigger2=numenemy
trigger2=enemynear,statetype!=A
statetype=C
physics=C
[State ]
type=statetypeset
triggerall=!ishelper&&name="N_Alice"
triggerall=statetype=C
trigger1=var(59)<1
trigger1=command!="holddown"
trigger2=var(59)>0
trigger2=numenemy
trigger2=enemynear,statetype=A
statetype=S
physics=S
[State ]
type=changestate
triggerall=!ishelper&&name="N_Alice"
trigger1=hitover
value=131
ctrl=1
[State ]
type=selfstate
triggerall=!ishelper&&name="N_Alice"
trigger1=roundstate>2
value=151
ignorehitpause=1
;------------------------------------------------------------
;ガード硬直（空中）
[StateDef 154]
type=U
movetype=U
physics=N
hitdefpersist=!(name="N_Alice")
movehitpersist=!(name="N_Alice")
[State ]
type=changestate
trigger1=name!="N_Alice"
trigger1=prevstateno!=0||time
value=ifelse(!ishelper&&hitpausetime>2,512,0)
ignorehitpause=1
[State ]
type=destroyself
trigger1=ishelper
ignorehitpause=1
[State ]
type=statetypeset
triggerall=!ishelper&&name="N_Alice"
trigger1=time=0
statetype=A
movetype=A
physics=N
[State ]
type=changeanim
trigger1=!ishelper&&name="N_Alice"
value=152
[State ]
type=velset
triggerall=!ishelper&&name="N_Alice"
trigger1=time=0
x=0
y=0
[State ]
type=changestate
triggerall=!ishelper&&name="N_Alice"
trigger1=hitshakeover
value=155
[State ]
type=forcefeedback
triggerall=!ishelper&&name="N_Alice"
trigger1=time=0
waveform=square
time=4
[State ]
type=selfstate
triggerall=!ishelper&&name="N_Alice"
trigger1=roundstate>2
value=151
ignorehitpause=1
;------------------------------------------------------------
;ガード硬直解除後の後退（空中）
[StateDef 155]
type=U
movetype=U
physics=N
hitdefpersist=!(name="N_Alice")
movehitpersist=!(name="N_Alice")
[State ]
type=changestate
trigger1=name!="N_Alice"
trigger1=prevstateno!=0||time
value=ifelse(!ishelper&&hitpausetime>2,512,0)
ignorehitpause=1
[State ]
type=destroyself
trigger1=ishelper
ignorehitpause=1
[State ]
type=selfstate
trigger1=!ishelper&&name="N_Alice"
trigger1=var(4)!=[512,516]
value=var(4)
ignorehitpause=1
[State ]
type=selfstate
trigger1=!ishelper&&name="N_Alice"
trigger1=var(4)=[512,516]
value=var(4):=50*(pos Y<0)
ignorehitpause=1
[State ]
type=statetypeset
triggerall=!ishelper&&name="N_Alice"
trigger1=time=0
statetype=A
movetype=A
physics=N
[State ]
type=statetypeset
triggerall=!ishelper&&name="N_Alice"
trigger1=pos Y<-30
statetype=A
movetype=A
physics=A
[State ]
type=changeanim
triggerall=!ishelper&&name="N_Alice"
trigger1=time=0
value=152
[State ]
type=hitvelset
triggerall=!ishelper&&name="N_Alice"
trigger1=time=0
x=1
y=1
[State ]
type=veladd
trigger1=!ishelper&&name="N_Alice"
y=const(movement.yaccel)
[State ]
type=ctrlset
triggerall=!ishelper&&name="N_Alice"
trigger1=time=gethitvar(ctrltime)
value=1
[State ]
type=varset
trigger1=!ishelper&&name="N_Alice"
sysvar(0)=(pos y>=0)&&(vel y>0)
[State ]
type=velset
triggerall=!ishelper&&name="N_Alice"
trigger1=sysvar(0)
y=0
[State ]
type=posset
triggerall=!ishelper&&name="N_Alice"
trigger1=sysvar(0)
y=0
[State ]
type=changestate
triggerall=!ishelper&&name="N_Alice"
triggerall=sysvar(0)
triggerall=inguarddist
trigger1=var(59)<1
trigger1=command="holdback"
trigger2=var(59)>0
value=130
[State ]
type=changestate
triggerall=!ishelper&&name="N_Alice"
trigger1=sysvar(0)
value=52
[State ]
type=selfstate
triggerall=!ishelper&&name="N_Alice"
trigger1=roundstate>2
value=151
ignorehitpause=1
;------------------------------------------------------------
; LOSE (Time Over)タイムオーバーで負けた時
[StateDef 170]
type=U
movetype=U
physics=N
hitdefpersist=!(name="N_Alice")
movehitpersist=!(name="N_Alice")
[State ]
type=changestate
trigger1=name!="N_Alice"
trigger1=prevstateno!=0||time
value=ifelse(!ishelper&&hitpausetime>2,512,0)
ignorehitpause=1
[State ]
type=destroyself
trigger1=ishelper
ignorehitpause=1
[State ]
type=selfstate
triggerall=!ishelper&&name="N_Alice"
trigger1=palno%6!=[1,4]
value=175
ignorehitpause=1
[State ]
type=assertspecial
triggerall=!ishelper&&name="N_Alice"
trigger1=var(5)<300
flag=roundnotover
ignorehitpause=1
[State ]
type=statetypeset
triggerall=!ishelper&&name="N_Alice"
trigger1=var(5)=0
statetype=S
[State ]
type=ctrlset
triggerall=!ishelper&&name="N_Alice"
trigger1=var(5)=0
value=0
[State ]
type=velset
triggerall=!ishelper&&name="N_Alice"
trigger1=var(5)=0
x=0
y=0
[State ]
type=changeanim
triggerall=!ishelper&&name="N_Alice"
trigger1=var(5)=0
value=170
[State ]
type=PlaySnd
trigger1=!ishelper&&name="N_Alice"
trigger1=var(5)=0
trigger1=palno%6=[1,4]
value=170,1
channel=4
[State ]
type=nothitby
trigger1=!ishelper&&name="N_Alice"
value=SCA
time=5
[State ]
type=null
triggerall=!ishelper&&name="N_Alice"
trigger1=1||fvar(10):=facing
trigger1=1||fvar(11):=0
trigger1=1||fvar(12):=0
[State ]
type=selfstate
triggerall=!ishelper&&name="N_Alice"
trigger1=roundstate>2
value=151
ignorehitpause=1
;------------------------------------------------------------
; DRAWGAME (Time Over)タイムオーバーで引き分けた時
[StateDef 175]
type=U
movetype=U
physics=N
hitdefpersist=!(name="N_Alice")
movehitpersist=!(name="N_Alice")
[State ]
type=changestate
trigger1=name!="N_Alice"
trigger1=prevstateno!=0||time
value=ifelse(!ishelper&&hitpausetime>2,512,0)
ignorehitpause=1
[State ]
type=destroyself
trigger1=ishelper
ignorehitpause=1
[State ]
type=assertspecial
triggerall=!ishelper&&name="N_Alice"
trigger1=var(5)<300
flag=roundnotover
ignorehitpause=1
[State ]
type=statetypeset
triggerall=!ishelper&&name="N_Alice"
trigger1=var(5)=0
statetype=S
[State ]
type=ctrlset
triggerall=!ishelper&&name="N_Alice"
trigger1=var(5)=0
value=0
[State ]
type=velset
triggerall=!ishelper&&name="N_Alice"
trigger1=var(5)=0
x=0
y=0
[State ]
type=changeanim
triggerall=!ishelper&&name="N_Alice"
trigger1=var(5)=0
value=175
[State ]
type=PlaySnd
trigger1=!ishelper&&name="N_Alice"
trigger1=var(5)=0
trigger1=palno%6=[1,4]
value=5000,13
channel=4
[State ]
type=nothitby
trigger1=!ishelper&&name="N_Alice"
value=SCA
time=5
[State ]
type=null
triggerall=!ishelper&&name="N_Alice"
trigger1=1||fvar(10):=facing
trigger1=1||fvar(11):=0
trigger1=1||fvar(12):=0
[State ]
type=selfstate
triggerall=!ishelper&&name="N_Alice"
trigger1=roundstate>2
value=151
ignorehitpause=1
;------------------------------------------------------------
; WIN
[StateDef 180]
type=U
movetype=U
physics=N
hitdefpersist=!(name="N_Alice")
movehitpersist=!(name="N_Alice")
[State ]
type=changestate
trigger1=name!="N_Alice"
trigger1=prevstateno!=0||time
value=ifelse(!ishelper&&hitpausetime>2,512,0)
ignorehitpause=1
[State ]
type=destroyself
trigger1=ishelper
ignorehitpause=1
[State ]
type=assertspecial
triggerall=!ishelper&&name="N_Alice"
trigger1=var(5)<300
flag=roundnotover
ignorehitpause=1
[State ]
type=null
triggerall=!ishelper&&name="N_Alice"
trigger1=1||fvar(10):=facing
trigger1=1||fvar(11):=0
trigger1=1||fvar(12):=0
[State ]
type=changestate
trigger1=!ishelper&&name="N_Alice"
value=181
ignorehitpause=1
;------------------------------------------------------------
; WIN-1
[StateDef 181]
type=U
movetype=U
physics=N
hitdefpersist=!(name="N_Alice")
movehitpersist=!(name="N_Alice")
[State ]
type=changestate
trigger1=name!="N_Alice"
trigger1=prevstateno!=0||time
value=ifelse(!ishelper&&hitpausetime>2,512,0)
ignorehitpause=1
[State ]
type=destroyself
trigger1=ishelper
ignorehitpause=1
[State ]
type=assertspecial
triggerall=!ishelper&&name="N_Alice"
trigger1=var(5)<240
flag=roundnotover
ignorehitpause=1
[State ]
type=statetypeset
triggerall=!ishelper&&name="N_Alice"
trigger1=var(5)=0
statetype=S
[State ]
type=ctrlset
triggerall=!ishelper&&name="N_Alice"
trigger1=var(5)=0
value=0
[State ]
type=velset
triggerall=!ishelper&&name="N_Alice"
trigger1=var(5)=0
x=0
y=0
[State ]
type=changeanim
triggerall=!ishelper&&name="N_Alice"
trigger1=var(5)=0
value=180
[State ]
type=PlaySnd
trigger1=!ishelper&&name="N_Alice"
trigger1=var(5)=0
trigger1=palno%6=[1,4]
trigger1=(var(0)&16)=0
value=180,3
channel=4
[State ]
type=PlaySnd
trigger1=!ishelper&&name="N_Alice"
trigger1=var(5)=0
trigger1=palno%6=[1,4]
trigger1=(var(0)&16)
value=200,22
channel=4
[State ]
type=PlaySnd
trigger1=!ishelper&&name="N_Alice"
trigger1=var(5)=0
trigger1=palno%6!=[1,4]
trigger1=PlayerIDExist(var(1))
value=2100,0+1*(PlayerID(var(1)),var(5)>1200)+1*(PlayerID(var(1)),var(5)>8000)
channel=4
[State ]
type=nothitby
trigger1=!ishelper&&name="N_Alice"
value=SCA
time=5
[State ]
type=null
triggerall=!ishelper&&name="N_Alice"
trigger1=1||fvar(10):=facing
trigger1=1||fvar(11):=0
trigger1=1||fvar(12):=0
[State ]
type=selfstate
triggerall=!ishelper&&name="N_Alice"
trigger1=roundstate>2
value=151
ignorehitpause=1
;------------------------------------------------------------
;イントロ分岐
[StateDef 190]
type=U
movetype=U
physics=N
hitdefpersist=!(name="N_Alice")
movehitpersist=!(name="N_Alice")
[State ]
type=changestate
trigger1=name!="N_Alice"
trigger1=prevstateno!=0||time
value=ifelse(!ishelper&&hitpausetime>2,512,0)
ignorehitpause=1
[State ]
type=destroyself
trigger1=ishelper
ignorehitpause=1
[State ]
type=assertspecial
trigger1=!ishelper&&name="N_Alice"
flag=intro
[State ]
type=statetypeset
trigger1=!ishelper&&name="N_Alice"
movetype=A
ignorehitpause=1
[State ]
type=null
triggerall=!ishelper&&name="N_Alice"
trigger1=1||fvar(10):=facing
trigger1=1||fvar(11):=0
trigger1=1||fvar(12):=0
[State ]
type=changestate
triggerall=!ishelper&&name="N_Alice"
triggerall=!(p3name="C_Patchouli"||p3name="N_Alice")
trigger1=numenemy=1
trigger1=enemy,name="C_Patchouli"&&enemy,authorname="okihaito"
trigger2=numenemy=2
trigger2=!(enemy,name="C_Patchouli"&&enemy,authorname="okihaito")
trigger2=enemy(1),name="C_Patchouli"&&enemy(1),authorname="okihaito"
trigger3=numenemy=2
trigger3=enemy,name="C_Patchouli"&&enemy,authorname="okihaito"
trigger3=!(enemy(1),name="C_Patchouli"&&enemy(1),authorname="okihaito")
value=var(4):=19002+(var(5):=0)
[State ]
type=changestate
triggerall=!ishelper&&name="N_Alice"
triggerall=numenemy
trigger1=enemy,name="N_Alice"&&enemy,authorname="okihaito"
trigger2=enemy,name="M-Reimu"&&enemy,authorname="okihaito"
trigger3=enemy,name="Crazy-Catastrophe"&&enemy,authorname="okihaito"
trigger4=enemy,name="Phantom Mizuchi Abyss"&&enemy,authorname="okihaito"
trigger5=enemy,name="ONI-MIKO-REIMU"&&!(enemy,SelfAnimExist(19090))
trigger6=enemy,name="Hinako Shijo"&&enemy,authorname="OGko OGWo"
trigger7=enemy,name="Mirror Cube Square"&&enemy,authorname="YANMAR"
trigger8=enemy,name="Karma"&&enemy,authorname="Shishido-Kuon"
trigger9=enemy,name="Legendary Super Saiyan"&&enemy,authorname="kamase"
trigger10=enemy,name="Phantom Mizuchi JP"
trigger11=enemy,name="ALSIEL"
trigger12=enemy,name="Hades"
trigger13=enemy,name="Kanna Binomikoto"&&enemy,authorname="SAMSARA"
trigger14=enemy,name="H-Reimu"&&enemy,authorname="lunatic"
trigger15=enemy,name="MegaMari"&&enemy,authorname="RockMARISA"
trigger16=enemy,name="R-Masamune"&&enemy,authorname="YANMAR"
trigger17=enemy,name="W-Reimu"&&enemy,authorname="KANATA"
trigger18=enemy,name="Byakuya"&&enemy,authorname="blue-eyes"
trigger19=enemy,name="S-Kishima"&&enemy,authorname="mosa"
trigger20=enemy,name="Scarlet Devil"&&enemy,authorname="akakedama"
trigger21=enemy,name="RSP"
trigger22=enemy,name="G-Sakuya"&&enemy,authorname="geese"
trigger23=enemy,name="G OROCHI"
trigger24=enemy,name="rggg"
value=var(4):=19001+(var(5):=0)
[State ]
type=changestate
triggerall=!ishelper&&name="N_Alice"
triggerall=numenemy=2
trigger1=enemy(1),name="N_Alice"&&enemy(1),authorname="okihaito"
trigger2=enemy(1),name="M-Reimu"&&enemy(1),authorname="okihaito"
trigger3=enemy(1),name="Crazy-Catastrophe"&&enemy(1),authorname="okihaito"
trigger4=enemy(1),name="Phantom Mizuchi Abyss"&&enemy(1),authorname="okihaito"
trigger5=enemy(1),name="ONI-MIKO-REIMU"&&!(enemy(1),SelfAnimExist(19090))
trigger6=enemy(1),name="Hinako Shijo"&&enemy(1),authorname="OGko OGWo"
trigger7=enemy(1),name="Mirror Cube Square"&&enemy(1),authorname="YANMAR"
trigger8=enemy(1),name="Karma"&&enemy(1),authorname="Shishido-Kuon"
trigger9=enemy(1),name="Legendary Super Saiyan"&&enemy(1),authorname="kamase"
trigger10=enemy(1),name="Phantom Mizuchi JP"
trigger11=enemy(1),name="ALSIEL"
trigger12=enemy(1),name="Hades"
trigger13=enemy(1),name="Kanna Binomikoto"&&enemy(1),authorname="SAMSARA"
trigger14=enemy(1),name="H-Reimu"&&enemy(1),authorname="lunatic"
trigger15=enemy(1),name="MegaMari"&&enemy(1),authorname="RockMARISA"
trigger16=enemy(1),name="R-Masamune"&&enemy(1),authorname="YANMAR"
trigger17=enemy(1),name="W-Reimu"&&enemy(1),authorname="KANATA"
trigger18=enemy(1),name="Byakuya"&&enemy(1),authorname="blue-eyes"
trigger19=enemy(1),name="S-Kishima"&&enemy(1),authorname="mosa"
trigger20=enemy(1),name="Scarlet Devil"&&enemy(1),authorname="akakedama"
trigger21=enemy(1),name="RSP"
trigger22=enemy(1),name="G-Sakuya"&&enemy(1),authorname="geese"
trigger23=enemy(1),name="G OROCHI"
trigger24=enemy(1),name="rggg"
value=var(4):=19001+(var(5):=0)
[State ]
type=changestate
trigger1=!ishelper&&name="N_Alice"
value=var(4):=192+(var(5):=0)
;------------------------------------------------------------
;特殊イントロ1
[StateDef 19001]
type=U
movetype=U
physics=N
hitdefpersist=!(name="N_Alice")
movehitpersist=!(name="N_Alice")
[State ]
type=changestate
trigger1=name!="N_Alice"
trigger1=prevstateno!=0||time
value=ifelse(!ishelper&&hitpausetime>2,512,0)
ignorehitpause=1
[State ]
type=destroyself
trigger1=ishelper
ignorehitpause=1
[State ]
type=statetypeset
triggerall=!ishelper&&name="N_Alice"
trigger1=var(5)=0
statetype=S
[State ]
type=ctrlset
trigger1=!ishelper&&name="N_Alice"
value=0
[State ]
type=velset
trigger1=!ishelper&&name="N_Alice"
x=0
y=0
[State ]
type=assertspecial
trigger1=!ishelper&&name="N_Alice"
flag=intro
[State ]
type=nothitby
trigger1=!ishelper&&name="N_Alice"
value=SCA
time=1
[State ]
type=changeanim
trigger1=!ishelper&&name="N_Alice"
trigger1=palno%6=[1,4]
trigger1=var(5)<220&&anim!=11
value=11
[State ]
type=changeanim
trigger1=!ishelper&&name="N_Alice"
trigger1=palno%6=[1,4]
trigger1=var(5)=220
value=12
[State ]
type=changeanim
trigger1=!ishelper&&name="N_Alice"
trigger1=palno%6!=[1,4]
trigger1=var(5)<130&&anim!=20
value=20
[State ]
type=changeanim
trigger1=!ishelper&&name="N_Alice"
trigger1=palno%6!=[1,4]
trigger1=var(5)=130
value=0
[State ]
type=changeanim
trigger1=!ishelper&&name="N_Alice"
trigger1=anim=12
trigger1=animtime=0
value=0
[State ]
type=PlaySnd
trigger1=!ishelper&&name="N_Alice"
trigger1=var(5)=80
trigger1=palno%6=[1,4]
value=190,1
channel=4
[State ]
type=PlaySnd
trigger1=!ishelper&&name="N_Alice"
trigger1=var(5)=80
trigger1=palno%6!=[1,4]
value=2101,0
channel=4
[State ]
type=null
triggerall=!ishelper&&name="N_Alice"
trigger1=1||fvar(10):=facing
trigger1=1||fvar(11):=0
trigger1=1||fvar(12):=0
[State ]
type=changestate
trigger1=!ishelper&&name="N_Alice"
trigger1=anim=0
value=var(4):=0+(var(5):=0)
;------------------------------------------------------------
;特殊イントロ2 対パッチェさん
[StateDef 19002]
type=U
movetype=U
physics=N
hitdefpersist=!(name="N_Alice")
movehitpersist=!(name="N_Alice")
[State ]
type=changestate
trigger1=name!="N_Alice"
trigger1=prevstateno!=0||time
value=ifelse(!ishelper&&hitpausetime>2,512,0)
ignorehitpause=1
[State ]
type=destroyself
trigger1=ishelper
ignorehitpause=1
[State ]
type=changestate
trigger1=!ishelper&&name="N_Alice"
trigger1=p2name="C_Patchouli"||p4name="C_Patchouli"
trigger1=numenemy
trigger1=enemy(enemy,name!="C_Patchouli"),stateno!=1
trigger1=enemy(enemy,name!="C_Patchouli"),stateno!=19100
trigger1=var(5)>=130
value=var(4):=0+(var(5):=0)
[State ]
type=statetypeset
triggerall=!ishelper&&name="N_Alice"
trigger1=var(5)=0
statetype=S
[State ]
type=varset
trigger1=!ishelper&&name="N_Alice"
trigger1=palno%6!=[1,4]
var(6)=1
[State ]
type=ctrlset
trigger1=!ishelper&&name="N_Alice"
value=0
[State ]
type=velset
trigger1=!ishelper&&name="N_Alice"
x=0
y=0
[State ]
type=assertspecial
trigger1=!ishelper&&name="N_Alice"
flag=intro
[State ]
type=nothitby
trigger1=!ishelper&&name="N_Alice"
value=SCA
time=1
[State ]
type=changeanim
trigger1=!ishelper&&name="N_Alice"
trigger1=var(5)<130&&anim!=20
value=20
[State ]
type=changeanim
trigger1=!ishelper&&name="N_Alice"
trigger1=var(5)=130
value=0
[State ]
type=changeanim
trigger1=!ishelper&&name="N_Alice"
trigger1=anim=12
trigger1=animtime=0
value=0
[State ]
type=PlaySnd
trigger1=!ishelper&&name="N_Alice"
trigger1=var(5)=20
trigger1=palno%6=[1,4]
value=190,0
channel=4
[State ]
type=changeanim
trigger1=!ishelper&&name="N_Alice"
trigger1=var(5)=270
trigger1=palno%6=[1,4]
value=407
[State ]
type=PlaySnd
trigger1=!ishelper&&name="N_Alice"
trigger1=var(5)=270
trigger1=palno%6=[1,4]
value=195,0
channel=4
[State ]
type=changeanim
triggerall=!ishelper&&name="N_Alice"
triggerall=animtime=0
trigger1=anim=300||anim=407
trigger1=palno%6=[1,4]
value=0
[State ]
type=changeanim
trigger1=!ishelper&&name="N_Alice"
trigger1=var(5)=340||var(5)=660
trigger1=palno%6=[1,4]
value=300
ignorehitpause=1
[State ]
type=helper
triggerall=PlayerIDExist(ID)
trigger1=!ishelper&&name="N_Alice"
trigger1=palno%6=[1,4]
trigger1=anim=300
trigger1=Animelem=4
id=3100
name="match"
pos=16,-66
postype=P1
stateno=3100
helpertype=player
keyctrl=0
ownpal=1
pausemovetime=2147483647
supermovetime=2147483647
ignorehitpause=1
[State ]
type=PlaySnd
trigger1=!ishelper&&name="N_Alice"
trigger1=anim=300
trigger1=AnimElem=4
trigger1=palno%6=[1,4]
value=200,15
channel=4
[State ]
type=changeanim
triggerall=!ishelper&&name="N_Alice"
trigger1=var(5)=570||var(5)=869
trigger1=palno%6=[1,4]
value=170
[State ]
type=PlaySnd
trigger1=!ishelper&&name="N_Alice"
trigger1=var(5)=570
trigger1=palno%6=[1,4]
value=5000,13
channel=4
[State ]
type=PlaySnd
trigger1=!ishelper&&name="N_Alice"
trigger1=var(5)=869
trigger1=palno%6=[1,4]
value=5000,15
channel=4
[State ]
type=changeanim
triggerall=!ishelper&&name="N_Alice"
trigger1=var(5)=950
trigger1=palno%6=[1,4]
value=0
[State ]
type=PlaySnd
trigger1=!ishelper&&name="N_Alice"
trigger1=var(5)=60
trigger1=palno%6!=[1,4]
value=2101,1
channel=4
[State ]
type=changestate
trigger1=!ishelper&&name="N_Alice"
trigger1=palno%6!=[1,4]
trigger1=p2name="C_Patchouli"||p4name="C_Patchouli"
trigger1=numenemy
trigger1=enemy(enemy,name!="C_Patchouli"),palno%6=0
trigger1=var(5)>=130
value=var(4):=0+(var(5):=0)
[State ]
type=changeanim
triggerall=!ishelper&&name="N_Alice"
trigger1=var(5)=140
trigger1=palno%6!=[1,4]
value=304
[State ]
type=Explod
triggerall=!ishelper&&name="N_Alice"
trigger1=palno%6!=[1,4]
trigger1=anim=304
trigger1=var(5)=[(12+140),(33+140)]
trigger1=var(5)%2
anim=2111
id=2111
sprpriority=15
postype=p1
vel=0,0
pos=30+20*(var(5)-(12+140)),-10-6*(var(5)-(12+140))
bindtime=1
ownpal=1
trans=add
pausemovetime=2147483647
supermovetime=2147483647
ignorehitpause=1
[State ]
type=Projectile
triggerall=!ishelper&&name="N_Alice"
trigger1=palno%6!=[1,4]
trigger1=anim=304
trigger1=var(5)=[(12+140),(33+140)]
trigger1=var(5)%2
attr=S,SA
projanim=2112
projremovetime=27
projid=2112
projpriority=99999999
projsprpriority=99999999
projedgebound=220
air.juggle=2
postype=p1
getpower=0,0
offset=30+20*(var(5)-(12+140)),-10-6*(var(5)-(12+140))
velocity=0
damage=9999+random
animtype=hard
hitflag=MAFD
guardflag=
pausetime=0,6
sparkno=-1
guard.sparkno=-1
hitsound=-1
guardsound=-1
ground.type=high
ground.slidetime=80
ground.hittime=80
ground.velocity=-7,-7
air.velocity=-7,-7
air.fall=1
fall=1
fall.recover=0
fall.damage=0+2147483648*!!(var(0)&128);落下蓄積
ownpal=1
pausemovetime=2147483647
supermovetime=2147483647
[State ]
type=Projectile
triggerall=!ishelper&&name="N_Alice"
trigger1=palno%6!=[1,4]
trigger1=anim=304
trigger1=var(5)=[(12+140),(33+140)]
trigger1=var(5)%2
attr=S,SA
projanim=2113
projremovetime=27
projid=2112
projpriority=99999999
projsprpriority=99999999
projedgebound=220
air.juggle=2
postype=p1
getpower=0,0
offset=30+20*(var(5)-(12+140)),-10-6*(var(5)-(12+140))
velocity=0
damage=9999+random
animtype=hard
hitflag=MAFD
guardflag=
pausetime=0,6
sparkno=-1
guard.sparkno=-1
hitsound=-1
guardsound=-1
ground.type=high
ground.slidetime=80
ground.hittime=80
ground.velocity=-7,-7
air.velocity=-7,-7
air.fall=1
fall=1
fall.recover=0
fall.damage=0+2147483648*!!(var(0)&128);落下蓄積
ownpal=1
pausemovetime=2147483647
supermovetime=2147483647
[State ]
type=PlaySnd
triggerall=!ishelper&&name="N_Alice"
trigger1=palno%6!=[1,4]
trigger1=anim=304
trigger1=var(5)=[(12+140),(33+140)]
trigger1=var(5)%2
value=1000,16
[State ]
type=PlaySnd
trigger1=!ishelper&&name="N_Alice"
trigger1=anim=304&&animelem=2
trigger1=palno%6!=[1,4]
value=2102,6+random%2
channel=4
[State ]
type=changeanim
triggerall=!ishelper&&name="N_Alice"
trigger1=anim=304&&animtime=0
trigger1=palno%6!=[1,4]
value=0
[State ]
type=null
triggerall=!ishelper&&name="N_Alice"
trigger1=1||fvar(10):=facing
trigger1=1||fvar(11):=0
trigger1=1||fvar(12):=0
[State ]
type=changestate
triggerall=!ishelper&&name="N_Alice"
triggerall=anim=0
trigger1=var(5)>950&&(palno%6=[1,4])
trigger2=var(5)>150&&(palno%6!=[1,4])
value=var(4):=0+(var(5):=0)
;------------------------------------------------------------
;イントロ
[StateDef 192]
type=U
movetype=U
physics=N
hitdefpersist=!(name="N_Alice")
movehitpersist=!(name="N_Alice")
[State ]
type=changestate
trigger1=name!="N_Alice"
trigger1=prevstateno!=0||time
value=ifelse(!ishelper&&hitpausetime>2,512,0)
ignorehitpause=1
[State ]
type=destroyself
trigger1=ishelper
ignorehitpause=1
[State ]
type=statetypeset
triggerall=!ishelper&&name="N_Alice"
trigger1=var(5)=0
statetype=S
[State ]
type=ctrlset
trigger1=!ishelper&&name="N_Alice"
value=0
[State ]
type=velset
trigger1=!ishelper&&name="N_Alice"
x=0
y=0
[State ]
type=assertspecial
trigger1=!ishelper&&name="N_Alice"
flag=intro
[State ]
type=nothitby
trigger1=!ishelper&&name="N_Alice"
value=SCA
time=1
[State ]
type=changeanim
trigger1=!ishelper&&name="N_Alice"
trigger1=var(5)<60&&anim!=0
value=0
[State ]
type=changeanim
trigger1=!ishelper&&name="N_Alice"
trigger1=var(5)=60
value=192
[State ]
type=PlaySnd
trigger1=!ishelper&&name="N_Alice"
trigger1=var(5)=60
trigger1=palno%6=[1,4]
value=200,23
channel=4
[State ]
type=PlaySnd
trigger1=!ishelper&&name="N_Alice"
trigger1=var(5)=60
trigger1=palno%6!=[1,4]
value=2101,1
channel=4
[State ]
type=null
triggerall=!ishelper&&name="N_Alice"
trigger1=1||fvar(10):=facing
trigger1=1||fvar(11):=0
trigger1=1||fvar(12):=0
[State ]
type=changestate
trigger1=!ishelper&&name="N_Alice"
trigger1=anim=192
trigger1=animtime=0
value=var(4):=0+(var(5):=0)
;------------------------------------------------------------
;立ち食らい
[StateDef 5000]
type=U
movetype=U
physics=N
hitdefpersist=!(name="N_Alice")
movehitpersist=!(name="N_Alice")
[State ]
type=changestate
trigger1=name!="N_Alice"
trigger1=prevstateno!=0||time
value=ifelse(!ishelper&&hitpausetime>2,512,0)
ignorehitpause=1
[State ]
type=destroyself
trigger1=ishelper
ignorehitpause=1
[State ]
type=statetypeset
triggerall=!ishelper&&name="N_Alice"
trigger1=time=0
statetype=S
movetype=A
physics=N
[State ]
type=velset
triggerall=!ishelper&&name="N_Alice"
trigger1=time=0
x=0
y=0
[State ]
type=changeanim
triggerall=!ishelper&&name="N_Alice"
trigger1=time=0
trigger1=gethitvar(animtype)!=[3,5]
value=ifelse((gethitvar(groundtype)=1),5000,5010)+gethitvar(animtype)
[State ]
type=changeanim
triggerall=!ishelper&&name="N_Alice"
trigger1=time=0
trigger1=gethitvar(animtype)=[3,5]
value=5030
[State ]
type=changeanim
triggerall=!ishelper&&name="N_Alice"
trigger1=time=0
trigger1=(gethitvar(animtype)=[4,5])&&(selfanimexist(5047+gethitvar(animtype)))
value=5047+gethitvar(animtype)
[State ]
type=changeanim
triggerall=!ishelper&&name="N_Alice"
trigger1=time>0
value=anim
[State ]
type=statetypeset
triggerall=!ishelper&&name="N_Alice"
trigger1=time=0
trigger1=gethitvar(yvel)!=0||gethitvar(fall)
trigger2=pos y!=0
statetype=A
[State ]
type=changestate
triggerall=!ishelper&&name="N_Alice"
trigger1=hitshakeover
trigger1=gethitvar(yvel)=0&&!gethitvar(fall)
value=5001
[State ]
type=changestate
triggerall=!ishelper&&name="N_Alice"
trigger1=hitshakeover
value=5030
[State ]
type=forcefeedback
triggerall=!ishelper&&name="N_Alice"
trigger1=anim=5000
trigger2=anim=5010
persistent=0
time=6
waveform=square
[State ]
type=forcefeedback
triggerall=!ishelper&&name="N_Alice"
trigger1=anim=5001
trigger2=anim=5011
persistent=0
time=8
waveform=sinesquare
ampl=110,-1,-.3
[State ]
type=forcefeedback
triggerall=!ishelper&&name="N_Alice"
trigger1=anim=5012
trigger2=anim=5002
trigger3=anim=5030
persistent=0
time=15
waveform=sinesquare
ampl=140
;------------------------------------------------------------
;立ち食らい後退
[StateDef 5001]
type=U
movetype=U
physics=N
hitdefpersist=!(name="N_Alice")
movehitpersist=!(name="N_Alice")
[State ]
type=changestate
trigger1=name!="N_Alice"
trigger1=prevstateno!=0||time
value=ifelse(!ishelper&&hitpausetime>2,512,0)
ignorehitpause=1
[State ]
type=destroyself
trigger1=ishelper
ignorehitpause=1
[State ]
type=statetypeset
triggerall=!ishelper&&name="N_Alice"
trigger1=time=0
statetype=S
movetype=A
physics=S
[State ]
type=hitvelset
triggerall=!ishelper&&name="N_Alice"
trigger1=time=0
x=1
[State ]
type=changeanim
triggerall=!ishelper&&name="N_Alice"
trigger1=animtime=0
value=5005+gethitvar(animtype)+(gethitvar(groundtype)=2)*10
[State ]
type=velmul
triggerall=!ishelper&&name="N_Alice"
trigger1=time>=gethitvar(slidetime)
x=.6
[State ]
type=velset
triggerall=!ishelper&&name="N_Alice"
trigger1=hitover
x=0
[State ]
type=changestate
triggerall=!ishelper&&name="N_Alice"
trigger1=hitover
value=0
ctrl=1
;------------------------------------------------------------
;しゃがみ食らい
[StateDef 5010]
type=U
movetype=U
physics=N
hitdefpersist=!(name="N_Alice")
movehitpersist=!(name="N_Alice")
[State ]
type=changestate
trigger1=name!="N_Alice"
trigger1=prevstateno!=0||time
value=ifelse(!ishelper&&hitpausetime>2,512,0)
ignorehitpause=1
[State ]
type=destroyself
trigger1=ishelper
ignorehitpause=1
[State ]
type=statetypeset
triggerall=!ishelper&&name="N_Alice"
trigger1=time=0
statetype=C
movetype=A
physics=N
[State ]
type=velset
triggerall=!ishelper&&name="N_Alice"
trigger1=time=0
x=0
y=0
[State ]
type=changeanim
triggerall=!ishelper&&name="N_Alice"
trigger1=time=0
trigger1=gethitvar(animtype)!=[3,5]
value=5020+gethitvar(animtype)
[State ]
type=changeanim
triggerall=!ishelper&&name="N_Alice"
trigger1=time=0
trigger1=gethitvar(animtype)=[3,5]
value=5030
[State ]
type=changeanim
triggerall=!ishelper&&name="N_Alice"
trigger1=time=0
trigger1=(gethitvar(animtype)=[4,5])&&(selfanimexist(5047+gethitvar(animtype)))
value=5047+gethitvar(animtype)
[State ]
type=changeanim
triggerall=!ishelper&&name="N_Alice"
trigger1=time>0
value=anim
[State ]
type=statetypeset
triggerall=!ishelper&&name="N_Alice"
triggerall=time=0
trigger1=gethitvar(yvel)!=0||gethitvar(fall)
trigger2=pos y!=0
statetype=A
[State ]
type=changestate
triggerall=!ishelper&&name="N_Alice"
trigger1=hitshakeover
trigger1=gethitvar(yvel)=0&&!gethitvar(fall)
value=5011
[State ]
type=changestate
triggerall=!ishelper&&name="N_Alice"
trigger1=hitshakeover
value=5030
[State ]
type=forcefeedback
triggerall=!ishelper&&name="N_Alice"
trigger1=anim=5020
persistent=0
time=6
waveform=square
[State ]
type=forcefeedback
triggerall=!ishelper&&name="N_Alice"
trigger1=anim=5021
persistent=0
time=8
waveform=sinesquare
ampl=110,-1,-.3
[State ]
type=forcefeedback
triggerall=!ishelper&&name="N_Alice"
trigger1=anim=5022
persistent=0
time=15
waveform=sinesquare
ampl=140
;------------------------------------------------------------
;しゃがみ食らい後退
[StateDef 5011]
type=U
movetype=U
physics=N
hitdefpersist=!(name="N_Alice")
movehitpersist=!(name="N_Alice")
[State ]
type=changestate
trigger1=name!="N_Alice"
trigger1=prevstateno!=0||time
value=ifelse(!ishelper&&hitpausetime>2,512,0)
ignorehitpause=1
[State ]
type=destroyself
trigger1=ishelper
ignorehitpause=1
[State ]
type=statetypeset
triggerall=!ishelper&&name="N_Alice"
trigger1=time=0
statetype=C
movetype=A
physics=C
[State ]
type=hitvelset
triggerall=!ishelper&&name="N_Alice"
trigger1=time=0
x=1
[State ]
type=changeanim
triggerall=!ishelper&&name="N_Alice"
trigger1=animtime=0
value=5025+gethitvar(animtype)
[State ]
type=velmul
triggerall=!ishelper&&name="N_Alice"
trigger1=time>=gethitvar(slidetime)
x=.6
[State ]
type=velset
triggerall=!ishelper&&name="N_Alice"
trigger1=hitover
x=0
[State ]
type=changestate
triggerall=!ishelper&&name="N_Alice"
trigger1=hitover
value=11
ctrl=1
;------------------------------------------------------------
;空中食らい
[StateDef 5020]
type=U
movetype=U
physics=N
hitdefpersist=!(name="N_Alice")
movehitpersist=!(name="N_Alice")
[State ]
type=changestate
trigger1=name!="N_Alice"
trigger1=prevstateno!=0||time
value=ifelse(!ishelper&&hitpausetime>2,512,0)
ignorehitpause=1
[State ]
type=destroyself
trigger1=ishelper
ignorehitpause=1
[State ]
type=statetypeset
triggerall=!ishelper&&name="N_Alice"
trigger1=time=0
statetype=A
movetype=A
physics=N
[State ]
type=velset
triggerall=!ishelper&&name="N_Alice"
trigger1=time=0
x=0
y=0
[State ]
type=changeanim
triggerall=!ishelper&&name="N_Alice"
trigger1=time=0
trigger1=gethitvar(animtype)!=[3,5]
value=ifelse((gethitvar(airtype)=1),5000,5010)+gethitvar(animtype)
[State ]
type=changeanim
triggerall=!ishelper&&name="N_Alice"
trigger1=time=0
trigger1=gethitvar(animtype)=[3,5]
value=5030
[State ]
type=changeanim
triggerall=!ishelper&&name="N_Alice"
trigger1=time=0
trigger1=(gethitvar(animtype)=[4,5])&&(selfanimexist(5047+gethitvar(animtype)))
value=5047+gethitvar(animtype)
[State ]
type=changeanim
triggerall=!ishelper&&name="N_Alice"
trigger1=time>0
value=anim
[State ]
type=changestate
triggerall=!ishelper&&name="N_Alice"
trigger1=hitshakeover
value=5030
[State ]
type=forcefeedback
triggerall=!ishelper&&name="N_Alice"
trigger1=anim=5000
trigger2=anim=5010
persistent=0
time=6
waveform=square
[State ]
type=forcefeedback
triggerall=!ishelper&&name="N_Alice"
trigger1=anim=5001
trigger2=anim=5011
persistent=0
time=8
waveform=sinesquare
ampl=110,-1,-.3
[State ]
type=forcefeedback
triggerall=!ishelper&&name="N_Alice"
trigger1=anim=5012
trigger2=anim=5002
trigger3=anim=5030
trigger4=anim=[5051,5059]
persistent=0
time=15
waveform=sinesquare
ampl=140
;------------------------------------------------------------
;吹っ飛び開始
[StateDef 5030]
type=U
movetype=U
physics=N
hitdefpersist=!(name="N_Alice")
movehitpersist=!(name="N_Alice")
[State ]
type=changestate
trigger1=name!="N_Alice"
trigger1=prevstateno!=0||time
value=ifelse(!ishelper&&hitpausetime>2,512,0)
ignorehitpause=1
[State ]
type=destroyself
trigger1=ishelper
ignorehitpause=1
[State ]
type=statetypeset
triggerall=!ishelper&&name="N_Alice"
trigger1=time=0
statetype=A
movetype=A
physics=N
[State ]
type=ctrlset
triggerall=!ishelper&&name="N_Alice"
trigger1=time=0
value=0
[State ]
type=changeanim
triggerall=!ishelper&&name="N_Alice"
trigger1=time=0
trigger1=gethitvar(animtype)!=[3,5]
value=ifelse((gethitvar(airtype)=1),5000,5010)+gethitvar(animtype)
[State ]
type=changeanim
triggerall=!ishelper&&name="N_Alice"
trigger1=time=0
trigger1=gethitvar(animtype)=[3,5]
value=5030
[State ]
type=changeanim
triggerall=!ishelper&&name="N_Alice"
trigger1=time=0
trigger1=(gethitvar(animtype)=[4,5])&&(selfanimexist(5047+gethitvar(animtype)))
value=5047+gethitvar(animtype)
[State ]
type=changeanim
triggerall=!ishelper&&name="N_Alice"
trigger1=time>0
value=anim
[State ]
type=veladd
triggerall=!ishelper&&name="N_Alice"
trigger1=1
y=gethitvar(yaccel)
[State ]
type=hitvelset
triggerall=!ishelper&&name="N_Alice"
trigger1=time=0
x=1
y=1
[State ]
type=changestate
triggerall=!ishelper&&name="N_Alice"
trigger1=!ishelper
trigger1=alive=0
trigger1=anim=903
value=5150
[State ]
type=changestate
triggerall=!ishelper&&name="N_Alice"
triggerall=!hitfall
trigger1=hitover
trigger2=vel y>0
trigger2=pos y>=10
value=5040
[State ]
type=changestate
triggerall=!ishelper&&name="N_Alice"
triggerall=hitfall
trigger1=hitover
trigger2=vel y>0
trigger2=pos y>=10
value=5050
[State ]
type=changestate
triggerall=!ishelper&&name="N_Alice"
trigger1=animtime=0
value=5035
;------------------------------------------------------------
;吹っ飛び（ダウン状態か否かを判断もしている）
[StateDef 5035]
type=U
movetype=U
physics=N
hitdefpersist=!(name="N_Alice")
movehitpersist=!(name="N_Alice")
[State ]
type=changestate
trigger1=name!="N_Alice"
trigger1=prevstateno!=0||time
value=ifelse(!ishelper&&hitpausetime>2,512,0)
ignorehitpause=1
[State ]
type=destroyself
trigger1=ishelper
ignorehitpause=1
[State ]
type=statetypeset
triggerall=!ishelper&&name="N_Alice"
trigger1=time=0
statetype=A
movetype=A
physics=N
[State ]
type=changeanim
triggerall=!ishelper&&name="N_Alice"
trigger1=time=0
trigger1=selfanimexist(5035)
trigger1=anim!=[5051,5059]
trigger1=anim!=5090
value=5035
[State ]
type=veladd
triggerall=!ishelper&&name="N_Alice"
trigger1=1
y=gethitvar(yaccel)
[State ]
type=changestate
triggerall=!ishelper&&name="N_Alice"
triggerall=!hitfall
trigger1=hitover
trigger2=animtime=0
trigger3=vel y>0
trigger3=pos y>=10
trigger4=time=0
trigger4=anim!=5035
value=5040
[State ]
type=changestate
triggerall=!ishelper&&name="N_Alice"
triggerall=hitfall
trigger1=hitover
trigger2=animtime=0
trigger3=vel y>0
trigger3=pos y>=10
trigger4=time=0
trigger4=anim!=5035
value=5050
;------------------------------------------------------------
;吹っ飛びから自動受け身（ダウン状態ではない時）
[StateDef 5040]
type=U
movetype=U
physics=N
hitdefpersist=!(name="N_Alice")
movehitpersist=!(name="N_Alice")
[State ]
type=changestate
trigger1=name!="N_Alice"
trigger1=prevstateno!=0||time
value=ifelse(!ishelper&&hitpausetime>2,512,0)
ignorehitpause=1
[State ]
type=destroyself
trigger1=ishelper
ignorehitpause=1
[State ]
type=statetypeset
triggerall=!ishelper&&name="N_Alice"
trigger1=time=0
statetype=A
movetype=A
physics=N
[State ]
type=changestate
triggerall=!ishelper&&name="N_Alice"
trigger1=!alive
value=5050
[State ]
type=changeanim
triggerall=!ishelper&&name="N_Alice"
trigger1=animtime=0
trigger1=anim!=5040
trigger2=time=0
trigger2=anim!=5035
value=5040
[State ]
type=ctrlset
triggerall=!ishelper&&name="N_Alice"
trigger1=hitover
value=1
[State ]
type=statetypeset
triggerall=!ishelper&&name="N_Alice"
trigger1=hitover
movetype=A
[State ]
type=veladd
triggerall=!ishelper&&name="N_Alice"
trigger1=1
y=gethitvar(yaccel)
[State ]
type=changestate
triggerall=!ishelper&&name="N_Alice"
trigger1=vel y>0
trigger1=pos y>=0
value=52
;------------------------------------------------------------
;吹っ飛び下降
[StateDef 5050]
type=U
movetype=U
physics=N
hitdefpersist=!(name="N_Alice")
movehitpersist=!(name="N_Alice")
[State ]
type=changestate
trigger1=name!="N_Alice"
trigger1=prevstateno!=0||time
value=ifelse(!ishelper&&hitpausetime>2,512,0)
ignorehitpause=1
[State ]
type=destroyself
trigger1=ishelper
ignorehitpause=1
[State ]
type=statetypeset
triggerall=!ishelper&&name="N_Alice"
trigger1=var(5)=0
statetype=A
movetype=A
physics=N
[State ]
type=changeanim
triggerall=!ishelper&&name="N_Alice"
trigger1=animtime=0
trigger1=anim=5035
trigger2=var(5)=0
trigger2=anim!=5035
trigger2=(anim!=[5051,5059])&&(anim!=[5061,5069])
trigger2=anim!=5090
value=5050
[State ]
type=changeanim
triggerall=!ishelper&&name="N_Alice"
trigger1=anim=[5050,5059]
trigger1=vel y>=ifelse(anim=5050,1,-2)
trigger1=selfanimexist(anim+10)
value=anim+10
persistent=0
[State ]
type=veladd
triggerall=!ishelper&&name="N_Alice"
trigger1=1
y=gethitvar(yaccel)
[State ]
type=null
triggerall=!ishelper&&name="N_Alice"
trigger1=1||fvar(10):=facing
trigger1=1||fvar(11):=vel x
trigger1=1||fvar(12):=vel y
[State ]
type=changestate
triggerall=!ishelper&&name="N_Alice"
triggerall=vel y>0
triggerall=pos y>=-20
triggerall=alive
triggerall=canrecover
trigger1=command="AB"||command="XY"
value=5200
[State ]
type=changestate
triggerall=!ishelper&&name="N_Alice"
triggerall=vel y>-1
triggerall=alive
triggerall=canrecover
trigger1=command="AB"||command="XY"
value=5210
[State ]
type=changestate
triggerall=!ishelper&&name="N_Alice"
trigger1=vel y>0
trigger1=pos y>=ifelse((anim=[5051,5059])||(anim=[5061,5069]),0,25)
value=var(4):=5100+(var(5):=0)
;------------------------------------------------------------
;足払いでこける・硬直
[StateDef 5070]
type=U
movetype=U
physics=N
hitdefpersist=!(name="N_Alice")
movehitpersist=!(name="N_Alice")
[State ]
type=changestate
trigger1=name!="N_Alice"
trigger1=prevstateno!=0||time
value=ifelse(!ishelper&&hitpausetime>2,512,0)
ignorehitpause=1
[State ]
type=destroyself
trigger1=ishelper
ignorehitpause=1
[State ]
type=statetypeset
triggerall=!ishelper&&name="N_Alice"
trigger1=time=0
statetype=A
movetype=A
physics=N
[State ]
type=velset
triggerall=!ishelper&&name="N_Alice"
trigger1=time=0
x=0
y=0
[State ]
type=changeanim
triggerall=!ishelper&&name="N_Alice"
trigger1=1
value=5070
[State ]
type=changestate
triggerall=!ishelper&&name="N_Alice"
trigger1=hitshakeover
value=5071
[State ]
type=forcefeedback
triggerall=!ishelper&&name="N_Alice"
trigger1=time=0
time=12
waveform=sinesquare
ampl=140
;------------------------------------------------------------
;足払いでこける
[StateDef 5071]
type=U
movetype=U
physics=N
hitdefpersist=!(name="N_Alice")
movehitpersist=!(name="N_Alice")
[State ]
type=changestate
trigger1=name!="N_Alice"
trigger1=prevstateno!=0||time
value=ifelse(!ishelper&&hitpausetime>2,512,0)
ignorehitpause=1
[State ]
type=destroyself
trigger1=ishelper
ignorehitpause=1
[State ]
type=statetypeset
triggerall=!ishelper&&name="N_Alice"
trigger1=time=0
statetype=A
movetype=A
physics=N
[State ]
type=hitvelset
triggerall=!ishelper&&name="N_Alice"
trigger1=time=0
x=1
y=1
[State ]
type=veladd
triggerall=!ishelper&&name="N_Alice"
trigger1=1
y=gethitvar(yaccel)
[State ]
type=changestate
triggerall=!ishelper&&name="N_Alice"
trigger1=vel y>0
trigger1=pos y>=15
value=5110
;------------------------------------------------------------
;横に倒れている時の食らい・硬直
[StateDef 5080]
type=U
movetype=U
physics=N
hitdefpersist=!(name="N_Alice")
movehitpersist=!(name="N_Alice")
[State ]
type=changestate
trigger1=name!="N_Alice"
trigger1=prevstateno!=0||time
value=ifelse(!ishelper&&hitpausetime>2,512,0)
ignorehitpause=1
[State ]
type=destroyself
trigger1=ishelper
ignorehitpause=1
[State ]
type=statetypeset
triggerall=!ishelper&&name="N_Alice"
trigger1=time=0
statetype=S
movetype=A
physics=N
[State ]
type=velset
triggerall=!ishelper&&name="N_Alice"
trigger1=time=0
x=0
y=0
[State ]
type=varset
triggerall=!ishelper&&name="N_Alice"
trigger1=time=0
sysvar(0)=ifelse(gethitvar(yvel)=0,5080,5090)
[State ]
type=varadd
triggerall=!ishelper&&name="N_Alice"
trigger1=time=0
trigger1=(anim=[5081,5089])||(anim=[5111,5119])
trigger1=selfanimexist(sysvar(0)+(anim%10))
sysvar(0)=anim%10
[State ]
type=varset
triggerall=!ishelper&&name="N_Alice"
trigger1=time=0
trigger1=sysvar(0)=5090
trigger1=!selfanimexist(5090)
sysvar(0)=5030
[State ]
type=changeanim
triggerall=!ishelper&&name="N_Alice"
trigger1=1
value=sysvar(0)
[State ]
type=changestate
triggerall=!ishelper&&name="N_Alice"
trigger1=hitshakeover
trigger1=gethitvar(yvel)=0
value=5081
[State ]
type=changestate
triggerall=!ishelper&&name="N_Alice"
trigger1=hitshakeover
trigger1=gethitvar(yvel)!=0
value=5030
;------------------------------------------------------------
;横に倒れている時の食らい
[StateDef 5081]
type=U
movetype=U
physics=N
hitdefpersist=!(name="N_Alice")
movehitpersist=!(name="N_Alice")
[State ]
type=changestate
trigger1=name!="N_Alice"
trigger1=prevstateno!=0||time
value=ifelse(!ishelper&&hitpausetime>2,512,0)
ignorehitpause=1
[State ]
type=destroyself
trigger1=ishelper
ignorehitpause=1
[State ]
type=statetypeset
triggerall=!ishelper&&name="N_Alice"
trigger1=time=0
statetype=S
movetype=A
physics=C
[State ]
type=hitvelset
triggerall=!ishelper&&name="N_Alice"
trigger1=time=0
x=1
[State ]
type=velset
triggerall=!ishelper&&name="N_Alice"
trigger1=hitover
x=0
[State ]
type=varset
triggerall=!ishelper&&name="N_Alice"
trigger1=time=0
sysvar(0)=1
[State ]
type=changestate
triggerall=!ishelper&&name="N_Alice"
trigger1=hitover
value=5110
;------------------------------------------------------------
;吹っ飛び後地面に激突
[StateDef 5100]
type=U
movetype=U
physics=N
hitdefpersist=!(name="N_Alice")
movehitpersist=!(name="N_Alice")
[State ]
type=changestate
trigger1=name!="N_Alice"
trigger1=prevstateno!=0||time
value=ifelse(!ishelper&&hitpausetime>2,512,0)
ignorehitpause=1
[State ]
type=destroyself
trigger1=ishelper
ignorehitpause=1
[State ]
type=statetypeset
triggerall=!ishelper&&name="N_Alice"
trigger1=var(5)=0
statetype=S
movetype=A
physics=N
[State ]
type=velset
triggerall=!ishelper&&name="N_Alice"
trigger1=var(5)=0
trigger1=gethitvar(fall.yvel)=0
trigger1=vel x>1
x=1
[State ]
type=fallenvshake
triggerall=!ishelper&&name="N_Alice"
trigger1=var(5)=0
[State ]
type=varset
triggerall=!ishelper&&name="N_Alice"
trigger1=var(5)=0
sysvar(0)=floor(vel y)
[State ]
type=changeanim
triggerall=!ishelper&&name="N_Alice"
triggerall=var(5)=0
trigger1=(anim!=[5051,5059])&&(anim!=[5061,5069])
trigger2=!selfanimexist(5100+(anim%10))
value=5100
[State ]
type=changeanim
triggerall=!ishelper&&name="N_Alice"
trigger1=var(5)=0
trigger1=(anim=[5051,5059])||(anim=[5061,5069])
trigger1=selfanimexist(5100+(anim%10))
value=5100+(anim%10)
[State ]
type=posset
triggerall=!ishelper&&name="N_Alice"
trigger1=var(5)=0
y=0
[State ]
type=velset
triggerall=!ishelper&&name="N_Alice"
trigger1=var(5)=0
y=0
[State ]
type=velmul
triggerall=!ishelper&&name="N_Alice"
trigger1=var(5)=0
x=0.75
[State ]
type=null
triggerall=!ishelper&&name="N_Alice"
trigger1=1||fvar(10):=facing
trigger1=1||fvar(11):=vel x
trigger1=1||fvar(12):=vel y
[State ]
type=selfstate
triggerall=!ishelper&&name="N_Alice"
trigger1=var(5)=0
trigger1=gethitvar(fall.yvel)=0
value=var(4):=5110+(var(5):=0)
[State ]
type=selfstate
triggerall=!ishelper&&name="N_Alice"
trigger1=var(5)>0
trigger1=gethitvar(fall.yvel)=0
value=var(4):=5110+(var(5):=0)
[State ]
type=gamemakeanim
triggerall=!ishelper&&name="N_Alice"
trigger1=var(5)=1
value=60+(sysvar(0)>5)+(sysvar(0)>14)
pos=0,0
under=sysvar(0)<=14
[State ]
type=playsnd
triggerall=!ishelper&&name="N_Alice"
trigger1=var(5)=1
value=f7,(sysvar(0)>5)+(sysvar(0)>14)
[State ]
type=posfreeze
triggerall=!ishelper&&name="N_Alice"
trigger1=1
[State ]
type=selfstate
triggerall=!ishelper&&name="N_Alice"
trigger1=animtime=0
value=var(4):=5101+(var(5):=0)
[State ]
type=forcefeedback
triggerall=!ishelper&&name="N_Alice"
trigger1=var(5)=0
waveform=sinesquare
ampl=128,-3,-.2,.005
time=20
;------------------------------------------------------------
;激突後バウンド
[StateDef 5101]
type=U
movetype=U
physics=N
hitdefpersist=!(name="N_Alice")
movehitpersist=!(name="N_Alice")
[State ]
type=changestate
trigger1=name!="N_Alice"
trigger1=prevstateno!=0||time
value=ifelse(!ishelper&&hitpausetime>2,512,0)
ignorehitpause=1
[State ]
type=destroyself
trigger1=ishelper
ignorehitpause=1
[State ]
type=statetypeset
triggerall=!ishelper&&name="N_Alice"
trigger1=var(5)=0
statetype=A
movetype=A
physics=N
[State ]
type=changeanim
triggerall=!ishelper&&name="N_Alice"
triggerall=var(5)=0
trigger1=anim!=[5101,5109]
trigger2=!selfanimexist(5160+(anim%10))
value=5160
[State ]
type=changeanim
triggerall=!ishelper&&name="N_Alice"
triggerall=var(5)=0
trigger1=anim=[5101,5109]
trigger1=selfanimexist(5160+(anim%10))
value=5160+(anim%10)
[State ]
type=hitfallvel
triggerall=!ishelper&&name="N_Alice"
trigger1=var(5)=0
[State ]
type=nothitby
triggerall=!ishelper&&name="N_Alice"
trigger1=1
value=SCA
[State ]
type=posset
triggerall=!ishelper&&name="N_Alice"
trigger1=var(5)=0
y=20
[State ]
type=veladd
triggerall=!ishelper&&name="N_Alice"
trigger1=1
y=.4
[State ]
type=null
triggerall=!ishelper&&name="N_Alice"
trigger1=1||fvar(10):=facing
trigger1=1||fvar(11):=vel x
trigger1=1||fvar(12):=vel y
[State ]
type=selfstate
triggerall=!ishelper&&name="N_Alice"
trigger1=vel y>0
trigger1=pos y>-12
value=var(4):=5110+(var(5):=0)
;------------------------------------------------------------
;横に倒れる
[StateDef 5110]
type=U
movetype=U
physics=N
hitdefpersist=!(name="N_Alice")
movehitpersist=!(name="N_Alice")
[State ]
type=changestate
trigger1=name!="N_Alice"
trigger1=prevstateno!=0||time
value=ifelse(!ishelper&&hitpausetime>2,512,0)
ignorehitpause=1
[State ]
type=destroyself
trigger1=ishelper
ignorehitpause=1
[State ]
type=statetypeset
triggerall=!ishelper&&name="N_Alice"
trigger1=var(5)=0
statetype=S
movetype=A
physics=N
[State ]
type=fallenvshake
triggerall=!ishelper&&name="N_Alice"
trigger1=var(5)=0
[State ]
type=changeanim
persistent=0
triggerall=!ishelper&&name="N_Alice"
trigger1=selfanimexist(5110+(anim%10))
trigger1=anim=[5081,5089]
value=5110+(anim%10)
[State ]
type=changeanim
triggerall=!ishelper&&name="N_Alice"
triggerall=alive
triggerall=var(5)=0
triggerall=anim!=[5110,5119]
trigger1=anim!=[5161,5169]
trigger2=!selfanimexist(5170+(anim%10))
value=5170
[State ]
type=changeanim
triggerall=!ishelper&&name="N_Alice"
triggerall=alive=0
triggerall=var(5)=0
triggerall=anim!=[5110,5119]
trigger1=anim!=[5161,5169]
trigger2=!selfanimexist(5170+(anim%10))
value=5100
[State ]
type=changeanim
triggerall=!ishelper&&name="N_Alice"
triggerall=var(5)=0
triggerall=anim!=[5110,5119]
trigger1=anim=[5161,5169]
trigger1=selfanimexist(5170+(anim%10))
value=5170+(anim%10)
[State ]
type=nothitby
triggerall=!ishelper&&name="N_Alice"
trigger1=1
value=SCA
[State ]
type=posset
triggerall=!ishelper&&name="N_Alice"
trigger1=var(5)=0
y=0
[State ]
type=varset
triggerall=!ishelper&&name="N_Alice"
trigger1=var(5)=0
trigger1=gethitvar(fall.yvel)!=0
sysvar(0)=floor(vel y)
[State ]
type=playsnd
triggerall=!ishelper&&name="N_Alice"
trigger1=var(5)=0
trigger1=!sysvar(0)
value=f7,(sysvar(0)>5)+(sysvar(0)>14)
[State ]
type=gamemakeanim
triggerall=!ishelper&&name="N_Alice"
trigger1=var(5)=0
trigger1=!sysvar(0)
value=60+(sysvar(0)>5)+(sysvar(0)>14)
pos=0,0
under=sysvar(0)<=14
[State ]
type=velset
triggerall=!ishelper&&name="N_Alice"
trigger1=var(5)=0
y=0
[State ]
type=changeanim
persistent=0
triggerall=!ishelper&&name="N_Alice"
triggerall=anim=[5171,5179]
triggerall=selfanimexist(5110+(anim%10))
trigger1=animtime=0
trigger2=sysvar(0)
value=5110+(anim%10)
[State ]
type=changeanim
persistent=0
triggerall=!ishelper&&name="N_Alice"
triggerall=anim!=[5111,5119]
trigger1=animtime=0
trigger2=sysvar(0)
value=5110
[State ]
type=null
triggerall=!ishelper&&name="N_Alice"
trigger1=1||fvar(10):=facing
trigger1=1||fvar(11):=vel x
trigger1=1||fvar(12):=0
[State ]
type=changestate
triggerall=!ishelper&&name="N_Alice"
triggerall=!alive
trigger1=animtime=0
trigger2=sysvar(0)
trigger3=anim=[5110,5119]
value=var(4):=5150+(var(5):=0)
[State ]
type=changestate
triggerall=!ishelper&&name="N_Alice"
triggerall=alive
trigger1=animtime=0
trigger2=anim=[5110,5119]
value=var(4):=5120+(var(5):=0)
[State ]
type=varset
triggerall=!ishelper&&name="N_Alice"
trigger1=sysvar(0)
trigger1=var(5)=0
sysvar(0)=0
[State ]
type=velmul
triggerall=!ishelper&&name="N_Alice"
trigger1=1
x=0.85
[State ]
type=forcefeedback
triggerall=!ishelper&&name="N_Alice"
trigger1=alive
trigger1=var(5)=0
time=8
ampl=240
waveform=sine
[State ]
type=forcefeedback
triggerall=!ishelper&&name="N_Alice"
trigger1=!alive
trigger1=var(5)=0
ampl=200,7,-.467
time=30
waveform=sine
;------------------------------------------------------------
;起き上がる
[StateDef 5120]
type=U
movetype=U
physics=N
hitdefpersist=!(name="N_Alice")
movehitpersist=!(name="N_Alice")
[State ]
type=changestate
trigger1=name!="N_Alice"
trigger1=prevstateno!=0||time
value=ifelse(!ishelper&&hitpausetime>2,512,0)
ignorehitpause=1
[State ]
type=destroyself
trigger1=ishelper
ignorehitpause=1
[State ]
type=statetypeset
triggerall=!ishelper&&name="N_Alice"
trigger1=var(5)=0
statetype=S
movetype=A
physics=N
[State ]
type=changeanim
triggerall=!ishelper&&name="N_Alice"
triggerall=var(5)=0
trigger1=anim!=[5111,5119]
trigger2=!selfanimexist(5120+(anim%10))
value=5120
[State ]
type=changeanim
triggerall=!ishelper&&name="N_Alice"
triggerall=var(5)=0
trigger1=anim=[5111,5119]
trigger1=selfanimexist(5120+(anim%10))
value=5120+(anim%10)
[State ]
type=velset
triggerall=!ishelper&&name="N_Alice"
trigger1=var(5)=0
x=0
[State ]
type=hitfallset
triggerall=!ishelper&&name="N_Alice"
trigger1=animtime=0
value=1
[State ]
type=nothitby
trigger1=!ishelper&&name="N_Alice"
value=SCA
time=12
[State ]
type=nothitby
trigger1=!ishelper&&name="N_Alice"
value2=SCA
time=12
[State ]
type=null
triggerall=!ishelper&&name="N_Alice"
trigger1=1||fvar(10):=facing
trigger1=1||fvar(11):=vel x
trigger1=1||fvar(12):=0
[State ]
type=changestate
triggerall=!ishelper&&name="N_Alice"
trigger1=animtime=0
value=var(4):=0+(var(5):=0)
ctrl=1
;------------------------------------------------------------
[StateDef 5150]
type=U
movetype=U
physics=N
hitdefpersist=!(name="N_Alice")
movehitpersist=1
[State ]
type=ReversalDef
trigger1=name="N_Alice"
trigger1=ishelper(10000)||ishelper(12500)
reversal.attr=SCA,AP,AA,AT
sparkno=-1
numhits=0
fall.damage=2147483648
ignorehitpause=1
[State ]
type=statetypeset
trigger1=name="N_Alice"
trigger1=ishelper(10000)||ishelper(12500)
trigger1=numtarget=0
statetype=A
movetype=A
ignorehitpause=1
[State ]
type=statetypeset
trigger1=ishelper(65536)&&name="N_Alice"
statetype=A
movetype=I
ignorehitpause=1
[State ]
type=hitdef
trigger1=name="N_Alice"
trigger1=ishelper(10000)||ishelper(12500)
trigger1=numtarget=0
attr=,AA
hitflag=MALFD
priority=7,hit
pausetime=0,0
sparkno=-1
hitsound=-1
numhits=0
guard.dist=0
p2stateno=556
fall.damage=0
affectteam=F
ignorehitpause=1
[State ]
type=HitDef
trigger1=ishelper(1051)&&name="N_Alice"
attr=A,NA
damage=10
getpower=0,0
animtype=Light
guardflag=
hitflag=MAFD
priority=7,Hit
pausetime=0,3
sparkno=-1
sparkxy=0,0
hitsound=-1
guard.sparkno=-1
guardsound=-1
ground.type=high
ground.slidetime=55
ground.hittime=55
air.type=Low
air.hittime=30
ground.velocity=-2,-2
airguard.velocity=-2,-2
air.velocity=-2,-2
fall=1
fall.recover=0
fall.damage=0+2147483648*!!(root,var(0)&128);落下蓄積
ground.cornerpush.veloff=0
air.cornerpush.veloff=0
down.cornerpush.veloff=0
guard.cornerpush.veloff=0
airguard.cornerpush.veloff=0
[State ]
type=HitDef
trigger1=ishelper(1052)&&name="N_Alice"
attr=A,NA
damage=10+random%6
getpower=0,0
animtype=Light
guardflag=
hitflag=MAFD
priority=7,Hit
pausetime=0,2
sparkno=-1
sparkxy=0,0
hitsound=-1
guard.sparkno=-1
guardsound=-1
ground.type=high
ground.slidetime=55
ground.hittime=55
air.type=Low
air.hittime=30
ground.velocity=-2,-2
airguard.velocity=-2,-2
air.velocity=-2,-2
fall=1
fall.recover=0
fall.damage=0+2147483648*!!(root,var(0)&128);落下蓄積
ground.cornerpush.veloff=0
air.cornerpush.veloff=0
down.cornerpush.veloff=0
guard.cornerpush.veloff=0
airguard.cornerpush.veloff=0
[State ]
type=hitby
trigger1=ishelper(65536)&&name="N_Alice"
value=SCA,AA,AP,AT
time=2147483647
ignorehitpause=1
[State ]
type=hitby
trigger1=ishelper(65536)&&name="N_Alice"
value2=SCA,AA,AP,AT
time=2147483647
ignorehitpause=1
[State ]
type=destroyself
trigger1=name!="N_Alice"
ignorehitpause=1
[State ]
type=destroyself
triggerall=name="N_Alice"
trigger1=!ishelper(10000);ブレイン
trigger1=!ishelper(5000);マーキング
trigger1=!ishelper(99999);アーマー
trigger1=!ishelper(13);外見へるぱ
trigger1=!ishelper(12500);ライフキーパー
trigger1=!ishelper(456789);占有
trigger1=!ishelper(65536);被弾
trigger1=!ishelper(112233);時止め解除
trigger1=!ishelper(112234);時止め
trigger1=!ishelper(54321);ダークマター
trigger1=!ishelper(54322);ダークマター
trigger1=!ishelper(1050);祓
trigger1=!ishelper(1051);黒宝玉
trigger1=!ishelper(1052);闇輝玉
trigger1=!ishelper(3100);マッチ改
trigger1=!ishelper(3101);自分投げ
trigger1=!ishelper(427310);ブライティスト・シャイン
trigger1=!ishelper(427311);ブライティスト・シャイン
trigger1=!ishelper(427312);ブライティスト・シャイン
ignorehitpause=1
[State ]
type=velset
triggerall=!ishelper&&name="N_Alice"
triggerall=(var(0)&32768)=0
trigger1=var(5)=0
trigger2=anim=5110
trigger3=anim=5150
x=0
y=0
[State ]
type=changeanim
triggerall=!ishelper&&name="N_Alice"
triggerall=(var(0)&32768)=0
triggerall=alive
triggerall=var(5)=0
triggerall=selfanimexist(5140)
trigger1=(anim!=[5111,5119])&&(anim!=[5171,5179])
trigger2=!selfanimexist(5140+(anim%10))
value=5140
[State ]
type=changeanim
triggerall=!ishelper&&name="N_Alice"
triggerall=(var(0)&32768)=0
triggerall=alive
trigger1=var(5)=0
trigger1=(anim=[5111,5119])||(anim=[5171,5179])
trigger1=selfanimexist(5140+(anim%10))
value=5140+(anim%10)
[State ]
type=changeanim
persistent=0
triggerall=!ishelper&&name="N_Alice"
triggerall=(var(0)&32768)=0
triggerall=alive
trigger1=matchover=1
trigger1=anim=[5140,5149]
trigger1=selfanimexist(anim+10)
value=anim+10
[State ]
type=changeanim
triggerall=!ishelper&&name="N_Alice"
triggerall=(var(0)&32768)=0
triggerall=alive
trigger1=var(5)=0
trigger1=anim!=[5140,5159]
trigger1=anim!=[5110,5119]
value=5110
[State ]
type=changeanim
triggerall=!ishelper&&name="N_Alice"
triggerall=(var(0)&32768)=0
triggerall=alive=0
trigger1=anim!=5150
value=5150
[State ]
type=velmul
trigger1=!ishelper&&name="N_Alice"
trigger1=(var(0)&32768)=0
x=0.85
[State ]
type=velset
triggerall=!ishelper&&name="N_Alice"
triggerall=(var(0)&32768)=0
trigger1=vel x<.05
persistent=0
x=0
[State ]
type=selfstate
triggerall=!ishelper&&name="N_Alice"
triggerall=(var(0)&32768)=0
trigger1=vel x=0
trigger1=vel y=0
trigger1=anim!=5150
trigger1=animtime=0
trigger1=alive
value=5120
[State ]
type=nothitby
trigger1=!ishelper&&name="N_Alice"
value=SCA
time=1
[State ]
type=changeanim
triggerall=!ishelper&&name="N_Alice"
trigger1=(var(0)&32768)
value=9999
[State ]
type=statetypeset
triggerall=!ishelper&&name="N_Alice"
trigger1=(var(0)&32768)&&anim=9999
statetype=S
[State ]
type=ctrlset
triggerall=!ishelper&&name="N_Alice"
trigger1=(var(0)&32768)&&anim=9999
value=(statetype=S&&roundstate=3)
[State ]
type=velset
triggerall=!ishelper&&name="N_Alice"
trigger1=(var(0)&32768)
x=0
y=0
[State ]
type=assertspecial
triggerall=!ishelper&&name="N_Alice"
trigger1=(var(0)&32768)
flag=invisible
flag2=noshadow
[State ]
type=AssertSpecial
triggerall=!ishelper&&name="N_Alice"
trigger1=(var(0)&32768)
trigger1=var(5)<241
flag=roundnotover
ignorehitpause=1
[State ]
type=Explod
triggerall=!ishelper&&name="N_Alice"
trigger1=(var(0)&32768)
trigger1=var(5)<120
trigger1=var(5)%2
anim=11000+random%7
id=11000
sprpriority=999999999
postype=p1
Pos=0+ceil(Cos(((var(5)+40)*-5)*pi/180)*(var(5)+40)),0+ceil(Sin(((var(5)+40)*-5)*pi/180)*(var(5)+40))
bindtime=-1
removetime=18
ownpal=1
ontop=0
trans=add
supermove=1
pausemovetime=2147483647
supermovetime=2147483647
[State ]
type=Explod
triggerall=!ishelper&&name="N_Alice"
trigger1=(var(0)&32768)
trigger1=var(5)<120
trigger1=var(5)%2
anim=11000+random%7
id=11000
sprpriority=999999999
postype=p1
Pos=0+ceil(-Cos(((var(5)+40)*-5)*pi/180)*(var(5)+40)),0+ceil(-Sin(((var(5)+40)*-5)*pi/180)*(var(5)+40))
bindtime=-1
removetime=18
ownpal=1
ontop=0
trans=add
supermove=1
pausemovetime=2147483647
supermovetime=2147483647
[State ]
type=Explod
triggerall=!ishelper&&name="N_Alice"
trigger1=(var(0)&32768)
trigger1=var(5)<180
trigger1=var(5)%2
anim=11000+random%7
id=11000
sprpriority=999999999
postype=p1
Pos=0,0
random=30,30
vel=(5+random%3)*cos((random+1)*pi/12),(5+random%3)*sin((random+1)*pi/12)
accel=0,-0.2
bindtime=1
removetime=120
ownpal=1
ontop=0
trans=add
supermove=1
pausemovetime=2147483647
supermovetime=2147483647
[State ]
type=Explod
triggerall=!ishelper&&name="N_Alice"
trigger1=(var(0)&32768)
trigger1=var(5)<180
trigger1=var(5)%2=0
anim=11000+random%7
id=11000
sprpriority=999999999
postype=p1
Pos=0,0
random=30,30
vel=(5+random%3)*cos((random+1)*pi/12),(5+random%3)*sin((random+1)*pi/12)
accel=0,-0.2
bindtime=1
removetime=120
ownpal=1
ontop=0
trans=add
supermove=1
pausemovetime=2147483647
supermovetime=2147483647
[State ]
type=varset
triggerall=!ishelper&&name="N_Alice"
trigger1=(var(0)&32768)
trigger1=var(5)=240
var(57)=(var(57)|4)
ignorehitpause=1
[State ]
type=screenbound
triggerall=!ishelper&&name="N_Alice"
trigger1=(var(0)&32768)
value=0
movecamera=0,0
ignorehitpause=1
[State ]
type=null
triggerall=!ishelper&&name="N_Alice"
trigger1=1||fvar(10):=facing
trigger1=1||fvar(11):=0
trigger1=1||fvar(12):=0
[State ]
type=selfstate
triggerall=!ishelper&&name="N_Alice"
trigger1=roundstate>2
value=151
ignorehitpause=1
;------------------------------------------------------------
;オプション
[State ]
type=ReversalDef
trigger1=ishelper(5000)&&name="N_Alice"
reversal.attr=SCA,AP,AA,AT
sparkno=-1
numhits=0
fall.damage=0+2147483648*!!(root,var(0)&128);落下蓄積
ignorehitpause=1
[State ]
type=ReversalDef
trigger1=ishelper(5000)&&name="N_Alice"
trigger1=root,var(4)=70000&&var(2)!=2
reversal.attr=SCA,AP,AA,AT
pausetime=0,2
sparkno=-1
numhits=0
hitsound=-1
p2stateno=513
fall.damage=2147483648
ignorehitpause=1
[State ]
type=targetdrop
triggerall=ishelper(5000)&&name="N_Alice"
triggerall=numtarget
trigger1=target,ishelper
trigger2=numenemy=2
trigger2=target,alive=0
ignorehitpause=1
[State ]
type=nothitby
trigger1=ishelper(5000)&&name="N_Alice"
trigger1=1||var(1):=(var(1)|1)-1
value=SCA
ignorehitpause=1
[State ]
type=AssertSpecial
trigger1=ishelper(5000)&&name="N_Alice"
flag=Invisible
ignorehitpause=1
[State ]
type=bindtoroot
triggerall=ishelper(5000)&&name="N_Alice"
trigger1=numtarget=0
pos=0,-7
ignorehitpause=1
[State ]
type=PosSet
triggerall=ishelper(5000)&&name="N_Alice"
trigger1=numtarget>0
trigger1=target,ishelper=0
X=Target,Pos X
Y=Target,Pos Y+7
ignorehitpause=1
[State ]
type=turn
triggerall=ishelper(5000)&&name="N_Alice"
trigger1=numtarget>0
trigger1=root,facing!=facing
ignorehitpause=1
[State ]
type=velset
trigger1=ishelper(5000)&&name="N_Alice"
x=0
y=0
ignorehitpause=1
[State ]
type=AttackDist
trigger1=ishelper(5000)&&name="N_Alice"
value=0
ignorehitpause=1
[State ]
type=screenbound
trigger1=ishelper(5000)&&name="N_Alice"
value=0
movecamera=0,0
ignorehitpause=1
[State ]
type=PlayerPush
trigger1=ishelper(5000)&&name="N_Alice"
value=0
ignorehitpause=1
[State ]
type=statetypeset
triggerall=ishelper(5000)&&name="N_Alice"
trigger1=numtarget>0
trigger1=target,ishelper=0
movetype=I
ignorehitpause=1
[State ]
type=HitAdd
triggerall=ishelper(5000)&&name="N_Alice"
trigger1=numtarget>0
trigger1=target,ishelper=0
value=-1000
ignorehitpause=1
[State ]
type=changeanim
triggerall=ishelper(5000)&&name="N_Alice"
trigger1=numtarget=0
trigger1=anim!=10000
value=10000
ignorehitpause=1
[State ]
type=changeanim
triggerall=ishelper(5000)&&name="N_Alice"
triggerall=anim!=9999
trigger1=numtarget
trigger1=target,ishelper=0
value=9999
ignorehitpause=1
[State ]
type=statetypeset
triggerall=ishelper(5000)&&name="N_Alice"
triggerall=numtarget=0
triggerall=numenemy
triggerall=roundstate=2
trigger1=root,movetype=A
trigger1=root,time=1
trigger2=!(enemynear,hitdefattr=SCA,AA,AT,AP)
trigger2=root,ctrl||(enemynear,stateno=110||enemynear,stateno=115||(enemynear,stateno=[5030,5110]))
movetype=A
ignorehitpause=1
[State ]
type=statetypeset
triggerall=ishelper(5000)&&name="N_Alice"
triggerall=numtarget=0
triggerall=numenemy
trigger1=roundstate<2
movetype=A
ignorehitpause=1
[State ]
type=statetypeset
triggerall=ishelper(5000)&&name="N_Alice"
trigger1=numtarget>0
trigger1=target,ishelper=0
movetype=I
ignorehitpause=1
[State ]
type=hitdef
triggerall=ishelper(5000)&&name="N_Alice"
triggerall=numtarget=0
triggerall=numenemy
triggerall=!(enemynear,hitdefattr=SCA,AA,AT,AP)
triggerall=gametime%3=0
triggerall=PlayerIDExist(root,var(1))
trigger1=root,ctrl
trigger1=PlayerID(root,var(1)),var(5)%1200<600
trigger2=roundstate<2||root,palno%6!=[1,4]
trigger3=(enemynear,stateno=110||enemynear,stateno=115||(enemynear,stateno=[5030,5110]))
attr=,AA
damage=10+random%10
hitflag=MALFD
priority=7,hit
pausetime=0,0
sparkno=-1
hitsound=-1
numhits=0
guard.dist=0
p2stateno=ifelse((enemynear,stateno=110||enemynear,stateno=115||(enemynear,stateno=[5030,5110])),511,556)
fall.damage=2147483648*!!(root,var(0)&128);落下蓄積
ignorehitpause=1
[State ]
type=hitdef
triggerall=ishelper(5000)&&name="N_Alice"
triggerall=numtarget=0
triggerall=numenemy
triggerall=!(enemynear,hitdefattr=SCA,AA,AT,AP)
triggerall=gametime%3=1
triggerall=PlayerIDExist(root,var(1))
trigger1=root,ctrl
trigger1=PlayerID(root,var(1)),var(5)%1200<600
trigger2=roundstate<2||root,palno%6!=[1,4]
trigger3=(enemynear,stateno=110||enemynear,stateno=115||(enemynear,stateno=[5030,5110]))
attr=,AT
damage=10+random%10
hitflag=MALFD
priority=7,hit
pausetime=0,0
sparkno=-1
hitsound=-1
numhits=0
guard.dist=0
p2stateno=ifelse((enemynear,stateno=110||enemynear,stateno=115||(enemynear,stateno=[5030,5110])),511,556)
fall.damage=2147483648*!!(root,var(0)&128);落下蓄積
ignorehitpause=1
[State ]
type=hitdef
triggerall=ishelper(5000)&&name="N_Alice"
triggerall=numtarget=0
triggerall=numenemy
triggerall=!(enemynear,hitdefattr=SCA,AA,AT,AP)
triggerall=gametime%3=2
triggerall=PlayerIDExist(root,var(1))
trigger1=root,ctrl
trigger1=PlayerID(root,var(1)),var(5)%1200<600
trigger2=roundstate<2||root,palno%6!=[1,4]
trigger3=(enemynear,stateno=110||enemynear,stateno=115||(enemynear,stateno=[5030,5110]))
attr=,AP
damage=10+random%10
hitflag=MALFD
priority=7,hit
pausetime=0,0
sparkno=-1
hitsound=-1
numhits=0
guard.dist=0
p2stateno=ifelse((enemynear,stateno=110||enemynear,stateno=115||(enemynear,stateno=[5030,5110])),511,556)
fall.damage=2147483648*!!(root,var(0)&128);落下蓄積
ignorehitpause=1
[State ]
type=hitdef
triggerall=ishelper(5000)&&name="N_Alice"
triggerall=numtarget=0
triggerall=numenemy
triggerall=PlayerIDExist(root,var(1))
triggerall=!(enemynear,hitdefattr=SCA,AA,AT,AP)
trigger1=(enemynear,stateno=110||enemynear,stateno=115)
attr=,AT
damage=10+random%10
hitflag=MALFD
priority=7,hit
pausetime=0,0
sparkno=-1
hitsound=-1
numhits=0
guard.dist=0
p2stateno=ifelse((enemynear,stateno=110||enemynear,stateno=115||(enemynear,stateno=[5030,5110])),511,556)
fall.damage=2147483648
ignorehitpause=1
[State ]
type=hitdef
triggerall=ishelper(5000)&&name="N_Alice"
triggerall=numtarget=0
triggerall=numenemy
triggerall=PlayerIDExist(root,var(1))
triggerall=!(enemynear,hitdefattr=SCA,AA,AT,AP)
trigger1=roundstate<2
attr=,AA
hitflag=MALFD
priority=7,hit
pausetime=0,0
sparkno=-1
hitsound=-1
numhits=0
guard.dist=0
p2stateno=ifelse((enemynear,stateno=110||enemynear,stateno=115||(enemynear,stateno=[5030,5110])),511,556)
fall.damage=2147483648*!!(root,var(0)&128);落下蓄積
ignorehitpause=1

[State ];混乱
type=targetfacing
triggerall=ishelper(5000)&&name="N_Alice"
triggerall=root,sysvar(3)>1;HARD以上
triggerall=numtarget
triggerall=root,palno%6!=[1,4]
trigger1=target,ishelper=0
trigger1=target,movetype=A
trigger1=root,facing!=target,facing
value=1
ignorehitpause=1

[State ];ダメージ反射
type=targetlifeadd
triggerall=ishelper(5000)&&name="N_Alice"
triggerall=root,sysvar(3)>2||root,palno%6=0;EXTRA以上か神
triggerall=numtarget
triggerall=root,palno%6!=[1,4]
trigger1=PlayerIDExist(root,var(3))
trigger1=PlayerID(root,var(3)),sysvar(0)>0
value=-PlayerID(root,var(3)),sysvar(0)
absolute=1
ignorehitpause=1
[State ];猛毒
type=targetlifeadd
triggerall=ishelper(5000)&&name="N_Alice"
triggerall=numtarget
trigger1=roundstate>2||((root,palno%6!=[1,4])&&root,var(4)=0&&root,var(5)>13&&!(root,var(0)&2))
trigger2=root,var(4)=70000
trigger2=(root,var(5)=[24,54])||(root,var(5)=[210,220])||root,var(5)=400
trigger3=numhelper(3100)
trigger3=helper(3100),var(2)=1
trigger4=root,var(4)=37564&&root,numexplod(7782)&&root,fvar(0)>0
trigger5=root,var(4)=5000095&&(root,var(5)=[55,290])&&(root,var(5)%18<3)
value=-2147483648
absolute=1
ignorehitpause=1

[State ]
type=targetstate
triggerall=ishelper(5000)&&name="N_Alice"
triggerall=numtarget&&roundstate=2
triggerall=var(8)!=2||(var(9)=[512,516])
trigger1=root,var(4)=70000
trigger1=root,var(5)<24||(root,var(5)=[54,130])||(root,var(5)=[210,220])||root,var(5)>360
trigger2=numhelper(3100)
trigger2=helper(3100),var(2)=1
trigger3=root,var(4)=169995&&root,anim=405
trigger4=root,var(4)=22122&&(root,var(5)=[47,92])
trigger5=root,var(4)=37564&&root,numexplod(7782)&&root,fvar(0)>0
trigger6=root,var(4)=42731&&root,numexplod(427317781)&&gametime%15=0
trigger7=root,var(4)=169995&&(root,var(5)=[150,250])&&(root,var(5)%50=0)
trigger8=root,var(4)=5000095&&(root,var(5)=[55,290])&&(root,var(5)%3=1)
value=511+0*(var(1):=(var(1)|1))
ignorehitpause=1
[State ]
type=targetstate
triggerall=ishelper(5000)&&name="N_Alice"
triggerall=numtarget&&roundstate=2
triggerall=!(var(8)!=2||(var(9)=[512,516]))
trigger1=root,var(4)=70000
trigger1=root,var(5)<24||(root,var(5)=[54,130])||(root,var(5)=[210,220])||root,var(5)>360
trigger2=numhelper(3100)
trigger2=helper(3100),var(2)=1
trigger3=root,var(4)=169995&&root,anim=405
trigger4=root,var(4)=22122&&(root,var(5)=[47,92])
trigger5=root,var(4)=37564&&root,numexplod(7782)&&root,fvar(0)>0
trigger6=root,var(4)=42731&&root,numexplod(427317781)&&gametime%15=0
trigger7=root,var(4)=169995&&(root,var(5)=[150,250])&&(root,var(5)%50=0)
trigger8=root,var(4)=5000095&&(root,var(5)=[55,290])&&(root,var(5)%3=1)
value=var(9)+0*(var(1):=(var(1)|1))
ignorehitpause=1

[State ];被弾
type=Helper
triggerall=PlayerIDExist(ID)
triggerall=ishelper(5000)&&name="N_Alice"
triggerall=numtarget
triggerall=numhelper(65536)=0&&roundstate<4
triggerall=target,ishelper=0
trigger1=target,stateno=511||target,stateno=0
name="gethit"
id=65536
pos=0,0
postype=p1
stateno=65536
Helpertype=player
keyctrl=0
ownpal=1
pausemovetime=2147483647
supermovetime=2147483647
ignorehitpause=1

[State ]
type=parentvarset
triggerall=ishelper(5000)&&name="N_Alice"
trigger1=parent,id=root,id
trigger1=root,var(2)<ID
var(2)=ID
ignorehitpause=1
[State ]
type=selfstate
triggerall=ishelper(5000)&&name="N_Alice"
trigger1=numhelper(5000)>1
value=1966613490
ignorehitpause=1
[State ]
type=varset
triggerall=ishelper(5000)&&name="N_Alice"
trigger1=numtarget
var(2)=ifelse((target,ishelper),1,2)
ignorehitpause=1
[State ]
type=varset
triggerall=ishelper(5000)&&name="N_Alice"
trigger1=numtarget
trigger1=target,ishelper=0
var(4)=target,life
ignorehitpause=1
[State ]
type=varset
triggerall=ishelper(5000)&&name="N_Alice"
trigger1=numtarget
trigger1=target,ishelper=0
var(5)=target,lifemax
ignorehitpause=1
[State ]
type=varset
triggerall=ishelper(5000)&&name="N_Alice"
trigger1=numtarget
trigger1=target,ishelper=0
var(6)=target,stateno
ignorehitpause=1
[State ]
type=varset
triggerall=ishelper(5000)&&name="N_Alice"
trigger1=numtarget
trigger1=target,ishelper=0
var(7)=target,time
ignorehitpause=1
[State ]
type=varset
triggerall=ishelper(5000)&&name="N_Alice"
trigger1=numtarget
trigger1=target,ishelper=0
var(8)=target,hitpausetime
ignorehitpause=1
[State ];Parent-Bug耐性
type=null
triggerall=ishelper(5000)&&name="N_Alice"
triggerall=PlayerIDExist(root,var(1))
trigger1=1||var(20):=-PlayerID(root,var(1)),var(20)
trigger1=1||var(21):=-PlayerID(root,var(1)),var(21)
trigger1=1||var(22):=-PlayerID(root,var(1)),var(22)
trigger1=1||var(23):=-PlayerID(root,var(1)),var(23)
trigger1=1||var(24):=-PlayerID(root,var(1)),var(24)
trigger1=1||var(25):=-PlayerID(root,var(1)),var(25)
trigger1=1||var(26):=-PlayerID(root,var(1)),var(26)
trigger1=1||var(27):=-PlayerID(root,var(1)),var(27)
trigger1=1||var(28):=-PlayerID(root,var(1)),var(28)
trigger1=1||var(29):=-PlayerID(root,var(1)),var(29)
trigger1=(fvar(39)+fvar(38)+fvar(37)=0)&&roundstate<2
trigger1=1||fvar(39):=874632||fvar(38):=-554411||fvar(37):=632.8878
ignorehitpause=1
;--------------------------------------------------------------------
;アーマー
[State ]
type=statetypeset
trigger1=ishelper(99999)&&name="N_Alice"
statetype=A
movetype=I
physics=N
ignorehitpause=1
[State ]
type=AttackDist
trigger1=ishelper(99999)&&name="N_Alice"
value=0
ignorehitpause=1
[State ]
type=screenbound
trigger1=ishelper(99999)&&name="N_Alice"
value=0
movecamera=0,0
ignorehitpause=1
[State ]
type=velset
trigger1=ishelper(99999)&&name="N_Alice"
x=0
y=0
ignorehitpause=1
[State ]
type=parentvarset
trigger1=ishelper(99999)&&name="N_Alice"
trigger1=parent,ID=root,ID
var(3)=ID
ignorehitpause=1
[State ]
type=nothitby
trigger1=ishelper(99999)&&name="N_Alice"
trigger1=roundstate>2&&root,stateno!=510
value=SCA,AA,AT,AP
time=1
ignorehitpause=1
[State ]
type=nothitby
trigger1=ishelper(99999)&&name="N_Alice"
trigger1=gethitvar(damage)>0
value=SCA,AA,AT,AP
time=1
ignorehitpause=1
[State ]
type=BindToRoot
trigger1=ishelper(99999)&&name="N_Alice"
facing=1
ignorehitpause=1
[State ]
type=varset
trigger1=ishelper(99999)&&name="N_Alice"
sysvar(0)=gethitvar(damage)
ignorehitpause=1
[State ]
type=HitOverride
trigger1=ishelper(99999)&&name="N_Alice"
time=-1
attr=SCA,AA,AP,AT
slot=gametime%8
stateno=5150
ignorehitpause=1
[State ]
type=ChangeAnim
trigger1=ishelper(99999)&&name="N_Alice"
trigger1=SelfAnimExist(root,anim)
value=root,anim
elem=root,animelemno(0)
ignorehitpause=1
[State ]
type=ChangeAnim
triggerall=ishelper(99999)&&name="N_Alice"
triggerall=PlayerIDExist(root,var(1))
triggerall=root,sysvar(3)=0||PlayerID(root,var(1)),sysvar(2)>9900
trigger1=root,var(4)=70000;インフェルノ・ゲート
trigger2=root,var(4)=24640;フェイタルグラビティー
trigger3=root,var(4)=169995;ヘレティック・レイ
trigger4=root,var(4)=22122;ブラック・サンクチュアリ
;trigger1=root,var(4)=37564;エリミネイト・ジャッジ
trigger5=root,var(4)=42731;ブライティスト・シャイン
trigger6=root,var(4)=5000095;カラミティ・ノヴァ
value=600
ignorehitpause=1
[State ]
type=ChangeAnim
trigger1=ishelper(99999)&&name="N_Alice"
trigger1=root,stateno=510
value=10003
ignorehitpause=1
[State ]
type=attackmulset
trigger1=ishelper(99999)&&name="N_Alice"
value=1
ignorehitpause=1
[State ];ダメージ反射
type=Projectile
triggerall=PlayerIDExist(ID)
trigger1=ishelper(99999)&&name="N_Alice"
trigger1=gethitvar(damage)&&root,palno%6!=[1,4]
trigger1=root,sysvar(3)>2;EXTRA以上
attr=SCA,AA,AT,AP
projanim=10000
projhitanim=-1
projid=12345
projpriority=99999
projsprpriority=-1
projremove=0
projremovetime=1
projhits=99999
projmisstime=0
projscale=0,0
postype=p1
offset=0,0
velocity=0
animtype=hard
damage=abs(gethitvar(damage))%350
getpower=0,0
givepower=0,0
guardflag=
hitflag=MAFD
pausetime=0
guard.pausetime=0,0
sparkno=-1
sparkxy=0,0
guard.sparkno=-1
ground.type=high
ground.slidetime=100
ground.hittime=100
ground.velocity=-10,15
guard.velocity=-10
air.velocity=-10,15
fall=1
fall.recover=0
fall.damage=2147483648*!!(root,var(0)&128);落下蓄積
ID=20000
nochainID=11000,20000
pausemovetime=2147483647
supermovetime=2147483647

;記録準備
[State ]
type=varrangeset
trigger1=ishelper(99999)&&name="N_Alice"
trigger1=parent,id=root,id
trigger1=(root,var(0)&2)=0
value=-1
ignorehitpause=1
[State ]
type=varset
trigger1=ishelper(99999)&&name="N_Alice"
trigger1=parent,id=root,id
trigger1=fvar(0)!=[0,58]
fvar(0)=ifelse(fvar(0)<0,0,59)
ignorehitpause=1

;記録
[State ]
type=varset
trigger1=ishelper(99999)&&name="N_Alice"
trigger1=parent,id=root,id
trigger1=root,sysvar(2)>-1
trigger1=fvar(0)=[0,59]
trigger1=var(floor(fvar(0)))=-1
trigger1=root,sysvar(2)!=var(0)
trigger1=root,sysvar(2)!=var(1)
trigger1=root,sysvar(2)!=var(2)
trigger1=root,sysvar(2)!=var(3)
trigger1=root,sysvar(2)!=var(4)
trigger1=root,sysvar(2)!=var(5)
trigger1=root,sysvar(2)!=var(6)
trigger1=root,sysvar(2)!=var(7)
trigger1=root,sysvar(2)!=var(8)
trigger1=root,sysvar(2)!=var(9)
trigger1=root,sysvar(2)!=var(10)
trigger1=root,sysvar(2)!=var(11)
trigger1=root,sysvar(2)!=var(12)
trigger1=root,sysvar(2)!=var(13)
trigger1=root,sysvar(2)!=var(14)
trigger1=root,sysvar(2)!=var(15)
trigger1=root,sysvar(2)!=var(16)
trigger1=root,sysvar(2)!=var(17)
trigger1=root,sysvar(2)!=var(18)
trigger1=root,sysvar(2)!=var(19)
trigger1=root,sysvar(2)!=var(20)
trigger1=root,sysvar(2)!=var(21)
trigger1=root,sysvar(2)!=var(22)
trigger1=root,sysvar(2)!=var(23)
trigger1=root,sysvar(2)!=var(24)
trigger1=root,sysvar(2)!=var(25)
trigger1=root,sysvar(2)!=var(26)
trigger1=root,sysvar(2)!=var(27)
trigger1=root,sysvar(2)!=var(28)
trigger1=root,sysvar(2)!=var(29)
trigger1=root,sysvar(2)!=var(30)
trigger1=root,sysvar(2)!=var(31)
trigger1=root,sysvar(2)!=var(32)
trigger1=root,sysvar(2)!=var(33)
trigger1=root,sysvar(2)!=var(34)
trigger1=root,sysvar(2)!=var(35)
trigger1=root,sysvar(2)!=var(36)
trigger1=root,sysvar(2)!=var(37)
trigger1=root,sysvar(2)!=var(38)
trigger1=root,sysvar(2)!=var(39)
trigger1=root,sysvar(2)!=var(40)
trigger1=root,sysvar(2)!=var(41)
trigger1=root,sysvar(2)!=var(42)
trigger1=root,sysvar(2)!=var(43)
trigger1=root,sysvar(2)!=var(44)
trigger1=root,sysvar(2)!=var(45)
trigger1=root,sysvar(2)!=var(46)
trigger1=root,sysvar(2)!=var(47)
trigger1=root,sysvar(2)!=var(48)
trigger1=root,sysvar(2)!=var(49)
trigger1=root,sysvar(2)!=var(50)
trigger1=root,sysvar(2)!=var(51)
trigger1=root,sysvar(2)!=var(52)
trigger1=root,sysvar(2)!=var(53)
trigger1=root,sysvar(2)!=var(54)
trigger1=root,sysvar(2)!=var(55)
trigger1=root,sysvar(2)!=var(56)
trigger1=root,sysvar(2)!=var(57)
trigger1=root,sysvar(2)!=var(58)
trigger1=root,sysvar(2)!=var(59)
trigger1=root,sysvar(2)!=[10,12]
var(floor(fvar(0)))=root,sysvar(2)
ignorehitpause=1
[State ]
type=varadd
trigger1=ishelper(99999)&&name="N_Alice"
trigger1=parent,id=root,id
trigger1=fvar(0)=[0,58]
trigger1=var(floor(fvar(0)))>-1
fvar(0)=1
ignorehitpause=1

;整理
[State ]
type=null
triggerall=ishelper(99999)&&name="N_Alice"
trigger1=var(1-1)=-1
trigger1=var(1)!=-1
trigger1=var(1-1):=var(1)||1
trigger1=var(1):=-1||1
trigger2=var(2-1)=-1
trigger2=var(2)!=-1
trigger2=var(2-1):=var(2)||1
trigger2=var(2):=-1||1
trigger3=var(3-1)=-1
trigger3=var(3)!=-1
trigger3=var(3-1):=var(3)||1
trigger3=var(3):=-1||1
trigger4=var(4-1)=-1
trigger4=var(4)!=-1
trigger4=var(4-1):=var(4)||1
trigger4=var(4):=-1||1
trigger5=var(5-1)=-1
trigger5=var(5)!=-1
trigger5=var(5-1):=var(5)||1
trigger5=var(5):=-1||1
trigger6=var(6-1)=-1
trigger6=var(6)!=-1
trigger6=var(6-1):=var(6)||1
trigger6=var(6):=-1||1
trigger7=var(7-1)=-1
trigger7=var(7)!=-1
trigger7=var(7-1):=var(7)||1
trigger7=var(7):=-1||1
trigger8=var(8-1)=-1
trigger8=var(8)!=-1
trigger8=var(8-1):=var(8)||1
trigger8=var(8):=-1||1
trigger9=var(9-1)=-1
trigger9=var(9)!=-1
trigger9=var(9-1):=var(9)||1
trigger9=var(9):=-1||1
trigger10=var(10-1)=-1
trigger10=var(10)!=-1
trigger10=var(10-1):=var(10)||1
trigger10=var(10):=-1||1
trigger11=var(11-1)=-1
trigger11=var(11)!=-1
trigger11=var(11-1):=var(11)||1
trigger11=var(11):=-1||1
trigger12=var(12-1)=-1
trigger12=var(12)!=-1
trigger12=var(12-1):=var(12)||1
trigger12=var(12):=-1||1
trigger13=var(13-1)=-1
trigger13=var(13)!=-1
trigger13=var(13-1):=var(13)||1
trigger13=var(13):=-1||1
trigger14=var(14-1)=-1
trigger14=var(14)!=-1
trigger14=var(14-1):=var(14)||1
trigger14=var(14):=-1||1
trigger15=var(15-1)=-1
trigger15=var(15)!=-1
trigger15=var(15-1):=var(15)||1
trigger15=var(15):=-1||1
trigger16=var(16-1)=-1
trigger16=var(16)!=-1
trigger16=var(16-1):=var(16)||1
trigger16=var(16):=-1||1
trigger17=var(17-1)=-1
trigger17=var(17)!=-1
trigger17=var(17-1):=var(17)||1
trigger17=var(17):=-1||1
trigger18=var(18-1)=-1
trigger18=var(18)!=-1
trigger18=var(18-1):=var(18)||1
trigger18=var(18):=-1||1
trigger19=var(19-1)=-1
trigger19=var(19)!=-1
trigger19=var(19-1):=var(19)||1
trigger19=var(19):=-1||1
trigger20=var(20-1)=-1
trigger20=var(20)!=-1
trigger20=var(20-1):=var(20)||1
trigger20=var(20):=-1||1
trigger21=var(21-1)=-1
trigger21=var(21)!=-1
trigger21=var(21-1):=var(21)||1
trigger21=var(21):=-1||1
trigger22=var(22-1)=-1
trigger22=var(22)!=-1
trigger22=var(22-1):=var(22)||1
trigger22=var(22):=-1||1
trigger23=var(23-1)=-1
trigger23=var(23)!=-1
trigger23=var(23-1):=var(23)||1
trigger23=var(23):=-1||1
trigger24=var(24-1)=-1
trigger24=var(24)!=-1
trigger24=var(24-1):=var(24)||1
trigger24=var(24):=-1||1
trigger25=var(25-1)=-1
trigger25=var(25)!=-1
trigger25=var(25-1):=var(25)||1
trigger25=var(25):=-1||1
trigger26=var(26-1)=-1
trigger26=var(26)!=-1
trigger26=var(26-1):=var(26)||1
trigger26=var(26):=-1||1
trigger27=var(27-1)=-1
trigger27=var(27)!=-1
trigger27=var(27-1):=var(27)||1
trigger27=var(27):=-1||1
trigger28=var(28-1)=-1
trigger28=var(28)!=-1
trigger28=var(28-1):=var(28)||1
trigger28=var(28):=-1||1
trigger29=var(29-1)=-1
trigger29=var(29)!=-1
trigger29=var(29-1):=var(29)||1
trigger29=var(29):=-1||1
trigger30=var(30-1)=-1
trigger30=var(30)!=-1
trigger30=var(30-1):=var(30)||1
trigger30=var(30):=-1||1
trigger31=var(31-1)=-1
trigger31=var(31)!=-1
trigger31=var(31-1):=var(31)||1
trigger31=var(31):=-1||1
trigger32=var(32-1)=-1
trigger32=var(32)!=-1
trigger32=var(32-1):=var(32)||1
trigger32=var(32):=-1||1
trigger33=var(33-1)=-1
trigger33=var(33)!=-1
trigger33=var(33-1):=var(33)||1
trigger33=var(33):=-1||1
trigger34=var(34-1)=-1
trigger34=var(34)!=-1
trigger34=var(34-1):=var(34)||1
trigger34=var(34):=-1||1
trigger35=var(35-1)=-1
trigger35=var(35)!=-1
trigger35=var(35-1):=var(35)||1
trigger35=var(35):=-1||1
trigger36=var(36-1)=-1
trigger36=var(36)!=-1
trigger36=var(36-1):=var(36)||1
trigger36=var(36):=-1||1
trigger37=var(37-1)=-1
trigger37=var(37)!=-1
trigger37=var(37-1):=var(37)||1
trigger37=var(37):=-1||1
trigger38=var(38-1)=-1
trigger38=var(38)!=-1
trigger38=var(38-1):=var(38)||1
trigger38=var(38):=-1||1
trigger39=var(39-1)=-1
trigger39=var(39)!=-1
trigger39=var(39-1):=var(39)||1
trigger39=var(39):=-1||1
trigger40=var(40-1)=-1
trigger40=var(40)!=-1
trigger40=var(40-1):=var(40)||1
trigger40=var(40):=-1||1
trigger41=var(41-1)=-1
trigger41=var(41)!=-1
trigger41=var(41-1):=var(41)||1
trigger41=var(41):=-1||1
trigger42=var(42-1)=-1
trigger42=var(42)!=-1
trigger42=var(42-1):=var(42)||1
trigger42=var(42):=-1||1
trigger43=var(43-1)=-1
trigger43=var(43)!=-1
trigger43=var(43-1):=var(43)||1
trigger43=var(43):=-1||1
trigger44=var(44-1)=-1
trigger44=var(44)!=-1
trigger44=var(44-1):=var(44)||1
trigger44=var(44):=-1||1
trigger45=var(45-1)=-1
trigger45=var(45)!=-1
trigger45=var(45-1):=var(45)||1
trigger45=var(45):=-1||1
trigger46=var(46-1)=-1
trigger46=var(46)!=-1
trigger46=var(46-1):=var(46)||1
trigger46=var(46):=-1||1
trigger47=var(47-1)=-1
trigger47=var(47)!=-1
trigger47=var(47-1):=var(47)||1
trigger47=var(47):=-1||1
trigger48=var(48-1)=-1
trigger48=var(48)!=-1
trigger48=var(48-1):=var(48)||1
trigger48=var(48):=-1||1
trigger49=var(49-1)=-1
trigger49=var(49)!=-1
trigger49=var(49-1):=var(49)||1
trigger49=var(49):=-1||1
trigger50=var(50-1)=-1
trigger50=var(50)!=-1
trigger50=var(50-1):=var(50)||1
trigger50=var(50):=-1||1
trigger51=var(51-1)=-1
trigger51=var(51)!=-1
trigger51=var(51-1):=var(51)||1
trigger51=var(51):=-1||1
trigger52=var(52-1)=-1
trigger52=var(52)!=-1
trigger52=var(52-1):=var(52)||1
trigger52=var(52):=-1||1
trigger53=var(53-1)=-1
trigger53=var(53)!=-1
trigger53=var(53-1):=var(53)||1
trigger53=var(53):=-1||1
trigger54=var(54-1)=-1
trigger54=var(54)!=-1
trigger54=var(54-1):=var(54)||1
trigger54=var(54):=-1||1
trigger55=var(55-1)=-1
trigger55=var(55)!=-1
trigger55=var(55-1):=var(55)||1
trigger55=var(55):=-1||1
trigger56=var(56-1)=-1
trigger56=var(56)!=-1
trigger56=var(56-1):=var(56)||1
trigger56=var(56):=-1||1
trigger57=var(57-1)=-1
trigger57=var(57)!=-1
trigger57=var(57-1):=var(57)||1
trigger57=var(57):=-1||1
trigger58=var(58-1)=-1
trigger58=var(58)!=-1
trigger58=var(58-1):=var(58)||1
trigger58=var(58):=-1||1
trigger59=var(59-1)=-1
trigger59=var(59)!=-1
trigger59=var(59-1):=var(59)||1
trigger59=var(59):=-1||1
ignorehitpause=1

;超即死じゃないので削除
[State ]
type=varset
trigger1=ishelper(99999)&&name="N_Alice"
trigger1=parent,id=root,id
trigger1=var(0)>-1&&PlayerIDExist(root,var(8))
trigger1=var(0)=PlayerID(root,var(8)),var(0+gametime%(1+floor(PlayerID(root,var(8)),fvar(0))))
trigger1=1||fvar(0):=fvar(0)-1
var(0)=-1
ignorehitpause=1
[State ]
type=varset
trigger1=ishelper(99999)&&name="N_Alice"
trigger1=parent,id=root,id
trigger1=var(1)>-1&&PlayerIDExist(root,var(8))
trigger1=var(1)=PlayerID(root,var(8)),var(0+gametime%(1+floor(PlayerID(root,var(8)),fvar(0))))
trigger1=1||fvar(0):=fvar(0)-1
var(1)=-1
ignorehitpause=1
[State ]
type=varset
trigger1=ishelper(99999)&&name="N_Alice"
trigger1=parent,id=root,id
trigger1=var(2)>-1&&PlayerIDExist(root,var(8))
trigger1=var(2)=PlayerID(root,var(8)),var(0+gametime%(1+floor(PlayerID(root,var(8)),fvar(0))))
trigger1=1||fvar(0):=fvar(0)-1
var(2)=-1
ignorehitpause=1
[State ]
type=varset
trigger1=ishelper(99999)&&name="N_Alice"
trigger1=parent,id=root,id
trigger1=var(3)>-1&&PlayerIDExist(root,var(8))
trigger1=var(3)=PlayerID(root,var(8)),var(0+gametime%(1+floor(PlayerID(root,var(8)),fvar(0))))
trigger1=1||fvar(0):=fvar(0)-1
var(3)=-1
ignorehitpause=1
[State ]
type=varset
trigger1=ishelper(99999)&&name="N_Alice"
trigger1=parent,id=root,id
trigger1=var(4)>-1&&PlayerIDExist(root,var(8))
trigger1=var(4)=PlayerID(root,var(8)),var(0+gametime%(1+floor(PlayerID(root,var(8)),fvar(0))))
trigger1=1||fvar(0):=fvar(0)-1
var(4)=-1
ignorehitpause=1
[State ]
type=varset
trigger1=ishelper(99999)&&name="N_Alice"
trigger1=parent,id=root,id
trigger1=var(5)>-1&&PlayerIDExist(root,var(8))
trigger1=var(5)=PlayerID(root,var(8)),var(0+gametime%(1+floor(PlayerID(root,var(8)),fvar(0))))
trigger1=1||fvar(0):=fvar(0)-1
var(5)=-1
ignorehitpause=1
[State ]
type=varset
trigger1=ishelper(99999)&&name="N_Alice"
trigger1=parent,id=root,id
trigger1=var(6)>-1&&PlayerIDExist(root,var(8))
trigger1=var(6)=PlayerID(root,var(8)),var(0+gametime%(1+floor(PlayerID(root,var(8)),fvar(0))))
trigger1=1||fvar(0):=fvar(0)-1
var(6)=-1
ignorehitpause=1
[State ]
type=varset
trigger1=ishelper(99999)&&name="N_Alice"
trigger1=parent,id=root,id
trigger1=var(7)>-1&&PlayerIDExist(root,var(8))
trigger1=var(7)=PlayerID(root,var(8)),var(0+gametime%(1+floor(PlayerID(root,var(8)),fvar(0))))
trigger1=1||fvar(0):=fvar(0)-1
var(7)=-1
ignorehitpause=1
[State ]
type=varset
trigger1=ishelper(99999)&&name="N_Alice"
trigger1=parent,id=root,id
trigger1=var(8)>-1&&PlayerIDExist(root,var(8))
trigger1=var(8)=PlayerID(root,var(8)),var(0+gametime%(1+floor(PlayerID(root,var(8)),fvar(0))))
trigger1=1||fvar(0):=fvar(0)-1
var(8)=-1
ignorehitpause=1
[State ]
type=varset
trigger1=ishelper(99999)&&name="N_Alice"
trigger1=parent,id=root,id
trigger1=var(9)>-1&&PlayerIDExist(root,var(8))
trigger1=var(9)=PlayerID(root,var(8)),var(0+gametime%(1+floor(PlayerID(root,var(8)),fvar(0))))
trigger1=1||fvar(0):=fvar(0)-1
var(9)=-1
ignorehitpause=1
[State ]
type=varset
trigger1=ishelper(99999)&&name="N_Alice"
trigger1=parent,id=root,id
trigger1=var(10)>-1&&PlayerIDExist(root,var(8))
trigger1=var(10)=PlayerID(root,var(8)),var(0+gametime%(1+floor(PlayerID(root,var(8)),fvar(0))))
trigger1=1||fvar(0):=fvar(0)-1
var(10)=-1
ignorehitpause=1
[State ]
type=varset
trigger1=ishelper(99999)&&name="N_Alice"
trigger1=parent,id=root,id
trigger1=var(11)>-1&&PlayerIDExist(root,var(8))
trigger1=var(11)=PlayerID(root,var(8)),var(0+gametime%(1+floor(PlayerID(root,var(8)),fvar(0))))
trigger1=1||fvar(0):=fvar(0)-1
var(11)=-1
ignorehitpause=1
[State ]
type=varset
trigger1=ishelper(99999)&&name="N_Alice"
trigger1=parent,id=root,id
trigger1=var(12)>-1&&PlayerIDExist(root,var(8))
trigger1=var(12)=PlayerID(root,var(8)),var(0+gametime%(1+floor(PlayerID(root,var(8)),fvar(0))))
trigger1=1||fvar(0):=fvar(0)-1
var(12)=-1
ignorehitpause=1
[State ]
type=varset
trigger1=ishelper(99999)&&name="N_Alice"
trigger1=parent,id=root,id
trigger1=var(13)>-1&&PlayerIDExist(root,var(8))
trigger1=var(13)=PlayerID(root,var(8)),var(0+gametime%(1+floor(PlayerID(root,var(8)),fvar(0))))
trigger1=1||fvar(0):=fvar(0)-1
var(13)=-1
ignorehitpause=1
[State ]
type=varset
trigger1=ishelper(99999)&&name="N_Alice"
trigger1=parent,id=root,id
trigger1=var(14)>-1&&PlayerIDExist(root,var(8))
trigger1=var(14)=PlayerID(root,var(8)),var(0+gametime%(1+floor(PlayerID(root,var(8)),fvar(0))))
trigger1=1||fvar(0):=fvar(0)-1
var(14)=-1
ignorehitpause=1
[State ]
type=varset
trigger1=ishelper(99999)&&name="N_Alice"
trigger1=parent,id=root,id
trigger1=var(15)>-1&&PlayerIDExist(root,var(8))
trigger1=var(15)=PlayerID(root,var(8)),var(0+gametime%(1+floor(PlayerID(root,var(8)),fvar(0))))
trigger1=1||fvar(0):=fvar(0)-1
var(15)=-1
ignorehitpause=1
[State ]
type=varset
trigger1=ishelper(99999)&&name="N_Alice"
trigger1=parent,id=root,id
trigger1=var(16)>-1&&PlayerIDExist(root,var(8))
trigger1=var(16)=PlayerID(root,var(8)),var(0+gametime%(1+floor(PlayerID(root,var(8)),fvar(0))))
trigger1=1||fvar(0):=fvar(0)-1
var(16)=-1
ignorehitpause=1
[State ]
type=varset
trigger1=ishelper(99999)&&name="N_Alice"
trigger1=parent,id=root,id
trigger1=var(17)>-1&&PlayerIDExist(root,var(8))
trigger1=var(17)=PlayerID(root,var(8)),var(0+gametime%(1+floor(PlayerID(root,var(8)),fvar(0))))
trigger1=1||fvar(0):=fvar(0)-1
var(17)=-1
ignorehitpause=1
[State ]
type=varset
trigger1=ishelper(99999)&&name="N_Alice"
trigger1=parent,id=root,id
trigger1=var(18)>-1&&PlayerIDExist(root,var(8))
trigger1=var(18)=PlayerID(root,var(8)),var(0+gametime%(1+floor(PlayerID(root,var(8)),fvar(0))))
trigger1=1||fvar(0):=fvar(0)-1
var(18)=-1
ignorehitpause=1
[State ]
type=varset
trigger1=ishelper(99999)&&name="N_Alice"
trigger1=parent,id=root,id
trigger1=var(19)>-1&&PlayerIDExist(root,var(8))
trigger1=var(19)=PlayerID(root,var(8)),var(0+gametime%(1+floor(PlayerID(root,var(8)),fvar(0))))
trigger1=1||fvar(0):=fvar(0)-1
var(19)=-1
ignorehitpause=1
[State ]
type=varset
trigger1=ishelper(99999)&&name="N_Alice"
trigger1=parent,id=root,id
trigger1=var(20)>-1&&PlayerIDExist(root,var(8))
trigger1=var(20)=PlayerID(root,var(8)),var(0+gametime%(1+floor(PlayerID(root,var(8)),fvar(0))))
trigger1=1||fvar(0):=fvar(0)-1
var(20)=-1
ignorehitpause=1
[State ]
type=varset
trigger1=ishelper(99999)&&name="N_Alice"
trigger1=parent,id=root,id
trigger1=var(21)>-1&&PlayerIDExist(root,var(8))
trigger1=var(21)=PlayerID(root,var(8)),var(0+gametime%(1+floor(PlayerID(root,var(8)),fvar(0))))
trigger1=1||fvar(0):=fvar(0)-1
var(21)=-1
ignorehitpause=1
[State ]
type=varset
trigger1=ishelper(99999)&&name="N_Alice"
trigger1=parent,id=root,id
trigger1=var(22)>-1&&PlayerIDExist(root,var(8))
trigger1=var(22)=PlayerID(root,var(8)),var(0+gametime%(1+floor(PlayerID(root,var(8)),fvar(0))))
trigger1=1||fvar(0):=fvar(0)-1
var(22)=-1
ignorehitpause=1
[State ]
type=varset
trigger1=ishelper(99999)&&name="N_Alice"
trigger1=parent,id=root,id
trigger1=var(23)>-1&&PlayerIDExist(root,var(8))
trigger1=var(23)=PlayerID(root,var(8)),var(0+gametime%(1+floor(PlayerID(root,var(8)),fvar(0))))
trigger1=1||fvar(0):=fvar(0)-1
var(23)=-1
ignorehitpause=1
[State ]
type=varset
trigger1=ishelper(99999)&&name="N_Alice"
trigger1=parent,id=root,id
trigger1=var(24)>-1&&PlayerIDExist(root,var(8))
trigger1=var(24)=PlayerID(root,var(8)),var(0+gametime%(1+floor(PlayerID(root,var(8)),fvar(0))))
trigger1=1||fvar(0):=fvar(0)-1
var(24)=-1
ignorehitpause=1
[State ]
type=varset
trigger1=ishelper(99999)&&name="N_Alice"
trigger1=parent,id=root,id
trigger1=var(25)>-1&&PlayerIDExist(root,var(8))
trigger1=var(25)=PlayerID(root,var(8)),var(0+gametime%(1+floor(PlayerID(root,var(8)),fvar(0))))
trigger1=1||fvar(0):=fvar(0)-1
var(25)=-1
ignorehitpause=1
[State ]
type=varset
trigger1=ishelper(99999)&&name="N_Alice"
trigger1=parent,id=root,id
trigger1=var(26)>-1&&PlayerIDExist(root,var(8))
trigger1=var(26)=PlayerID(root,var(8)),var(0+gametime%(1+floor(PlayerID(root,var(8)),fvar(0))))
trigger1=1||fvar(0):=fvar(0)-1
var(26)=-1
ignorehitpause=1
[State ]
type=varset
trigger1=ishelper(99999)&&name="N_Alice"
trigger1=parent,id=root,id
trigger1=var(27)>-1&&PlayerIDExist(root,var(8))
trigger1=var(27)=PlayerID(root,var(8)),var(0+gametime%(1+floor(PlayerID(root,var(8)),fvar(0))))
trigger1=1||fvar(0):=fvar(0)-1
var(27)=-1
ignorehitpause=1
[State ]
type=varset
trigger1=ishelper(99999)&&name="N_Alice"
trigger1=parent,id=root,id
trigger1=var(28)>-1&&PlayerIDExist(root,var(8))
trigger1=var(28)=PlayerID(root,var(8)),var(0+gametime%(1+floor(PlayerID(root,var(8)),fvar(0))))
trigger1=1||fvar(0):=fvar(0)-1
var(28)=-1
ignorehitpause=1
[State ]
type=varset
trigger1=ishelper(99999)&&name="N_Alice"
trigger1=parent,id=root,id
trigger1=var(29)>-1&&PlayerIDExist(root,var(8))
trigger1=var(29)=PlayerID(root,var(8)),var(0+gametime%(1+floor(PlayerID(root,var(8)),fvar(0))))
trigger1=1||fvar(0):=fvar(0)-1
var(29)=-1
ignorehitpause=1
[State ]
type=varset
trigger1=ishelper(99999)&&name="N_Alice"
trigger1=parent,id=root,id
trigger1=var(30)>-1&&PlayerIDExist(root,var(8))
trigger1=var(30)=PlayerID(root,var(8)),var(0+gametime%(1+floor(PlayerID(root,var(8)),fvar(0))))
trigger1=1||fvar(0):=fvar(0)-1
var(30)=-1
ignorehitpause=1
[State ]
type=varset
trigger1=ishelper(99999)&&name="N_Alice"
trigger1=parent,id=root,id
trigger1=var(31)>-1&&PlayerIDExist(root,var(8))
trigger1=var(31)=PlayerID(root,var(8)),var(0+gametime%(1+floor(PlayerID(root,var(8)),fvar(0))))
trigger1=1||fvar(0):=fvar(0)-1
var(31)=-1
ignorehitpause=1
[State ]
type=varset
trigger1=ishelper(99999)&&name="N_Alice"
trigger1=parent,id=root,id
trigger1=var(32)>-1&&PlayerIDExist(root,var(8))
trigger1=var(32)=PlayerID(root,var(8)),var(0+gametime%(1+floor(PlayerID(root,var(8)),fvar(0))))
trigger1=1||fvar(0):=fvar(0)-1
var(32)=-1
ignorehitpause=1
[State ]
type=varset
trigger1=ishelper(99999)&&name="N_Alice"
trigger1=parent,id=root,id
trigger1=var(33)>-1&&PlayerIDExist(root,var(8))
trigger1=var(33)=PlayerID(root,var(8)),var(0+gametime%(1+floor(PlayerID(root,var(8)),fvar(0))))
trigger1=1||fvar(0):=fvar(0)-1
var(33)=-1
ignorehitpause=1
[State ]
type=varset
trigger1=ishelper(99999)&&name="N_Alice"
trigger1=parent,id=root,id
trigger1=var(34)>-1&&PlayerIDExist(root,var(8))
trigger1=var(34)=PlayerID(root,var(8)),var(0+gametime%(1+floor(PlayerID(root,var(8)),fvar(0))))
trigger1=1||fvar(0):=fvar(0)-1
var(34)=-1
ignorehitpause=1
[State ]
type=varset
trigger1=ishelper(99999)&&name="N_Alice"
trigger1=parent,id=root,id
trigger1=var(35)>-1&&PlayerIDExist(root,var(8))
trigger1=var(35)=PlayerID(root,var(8)),var(0+gametime%(1+floor(PlayerID(root,var(8)),fvar(0))))
trigger1=1||fvar(0):=fvar(0)-1
var(35)=-1
ignorehitpause=1
[State ]
type=varset
trigger1=ishelper(99999)&&name="N_Alice"
trigger1=parent,id=root,id
trigger1=var(36)>-1&&PlayerIDExist(root,var(8))
trigger1=var(36)=PlayerID(root,var(8)),var(0+gametime%(1+floor(PlayerID(root,var(8)),fvar(0))))
trigger1=1||fvar(0):=fvar(0)-1
var(36)=-1
ignorehitpause=1
[State ]
type=varset
trigger1=ishelper(99999)&&name="N_Alice"
trigger1=parent,id=root,id
trigger1=var(37)>-1&&PlayerIDExist(root,var(8))
trigger1=var(37)=PlayerID(root,var(8)),var(0+gametime%(1+floor(PlayerID(root,var(8)),fvar(0))))
trigger1=1||fvar(0):=fvar(0)-1
var(37)=-1
ignorehitpause=1
[State ]
type=varset
trigger1=ishelper(99999)&&name="N_Alice"
trigger1=parent,id=root,id
trigger1=var(38)>-1&&PlayerIDExist(root,var(8))
trigger1=var(38)=PlayerID(root,var(8)),var(0+gametime%(1+floor(PlayerID(root,var(8)),fvar(0))))
trigger1=1||fvar(0):=fvar(0)-1
var(38)=-1
ignorehitpause=1
[State ]
type=varset
trigger1=ishelper(99999)&&name="N_Alice"
trigger1=parent,id=root,id
trigger1=var(39)>-1&&PlayerIDExist(root,var(8))
trigger1=var(39)=PlayerID(root,var(8)),var(0+gametime%(1+floor(PlayerID(root,var(8)),fvar(0))))
trigger1=1||fvar(0):=fvar(0)-1
var(39)=-1
ignorehitpause=1
[State ]
type=varset
trigger1=ishelper(99999)&&name="N_Alice"
trigger1=parent,id=root,id
trigger1=var(40)>-1&&PlayerIDExist(root,var(8))
trigger1=var(40)=PlayerID(root,var(8)),var(0+gametime%(1+floor(PlayerID(root,var(8)),fvar(0))))
trigger1=1||fvar(0):=fvar(0)-1
var(40)=-1
ignorehitpause=1
[State ]
type=varset
trigger1=ishelper(99999)&&name="N_Alice"
trigger1=parent,id=root,id
trigger1=var(41)>-1&&PlayerIDExist(root,var(8))
trigger1=var(41)=PlayerID(root,var(8)),var(0+gametime%(1+floor(PlayerID(root,var(8)),fvar(0))))
trigger1=1||fvar(0):=fvar(0)-1
var(41)=-1
ignorehitpause=1
[State ]
type=varset
trigger1=ishelper(99999)&&name="N_Alice"
trigger1=parent,id=root,id
trigger1=var(42)>-1&&PlayerIDExist(root,var(8))
trigger1=var(42)=PlayerID(root,var(8)),var(0+gametime%(1+floor(PlayerID(root,var(8)),fvar(0))))
trigger1=1||fvar(0):=fvar(0)-1
var(42)=-1
ignorehitpause=1
[State ]
type=varset
trigger1=ishelper(99999)&&name="N_Alice"
trigger1=parent,id=root,id
trigger1=var(43)>-1&&PlayerIDExist(root,var(8))
trigger1=var(43)=PlayerID(root,var(8)),var(0+gametime%(1+floor(PlayerID(root,var(8)),fvar(0))))
trigger1=1||fvar(0):=fvar(0)-1
var(43)=-1
ignorehitpause=1
[State ]
type=varset
trigger1=ishelper(99999)&&name="N_Alice"
trigger1=parent,id=root,id
trigger1=var(44)>-1&&PlayerIDExist(root,var(8))
trigger1=var(44)=PlayerID(root,var(8)),var(0+gametime%(1+floor(PlayerID(root,var(8)),fvar(0))))
trigger1=1||fvar(0):=fvar(0)-1
var(44)=-1
ignorehitpause=1
[State ]
type=varset
trigger1=ishelper(99999)&&name="N_Alice"
trigger1=parent,id=root,id
trigger1=var(45)>-1&&PlayerIDExist(root,var(8))
trigger1=var(45)=PlayerID(root,var(8)),var(0+gametime%(1+floor(PlayerID(root,var(8)),fvar(0))))
trigger1=1||fvar(0):=fvar(0)-1
var(45)=-1
ignorehitpause=1
[State ]
type=varset
trigger1=ishelper(99999)&&name="N_Alice"
trigger1=parent,id=root,id
trigger1=var(46)>-1&&PlayerIDExist(root,var(8))
trigger1=var(46)=PlayerID(root,var(8)),var(0+gametime%(1+floor(PlayerID(root,var(8)),fvar(0))))
trigger1=1||fvar(0):=fvar(0)-1
var(46)=-1
ignorehitpause=1
[State ]
type=varset
trigger1=ishelper(99999)&&name="N_Alice"
trigger1=parent,id=root,id
trigger1=var(47)>-1&&PlayerIDExist(root,var(8))
trigger1=var(47)=PlayerID(root,var(8)),var(0+gametime%(1+floor(PlayerID(root,var(8)),fvar(0))))
trigger1=1||fvar(0):=fvar(0)-1
var(47)=-1
ignorehitpause=1
[State ]
type=varset
trigger1=ishelper(99999)&&name="N_Alice"
trigger1=parent,id=root,id
trigger1=var(48)>-1&&PlayerIDExist(root,var(8))
trigger1=var(48)=PlayerID(root,var(8)),var(0+gametime%(1+floor(PlayerID(root,var(8)),fvar(0))))
trigger1=1||fvar(0):=fvar(0)-1
var(48)=-1
ignorehitpause=1
[State ]
type=varset
trigger1=ishelper(99999)&&name="N_Alice"
trigger1=parent,id=root,id
trigger1=var(49)>-1&&PlayerIDExist(root,var(8))
trigger1=var(49)=PlayerID(root,var(8)),var(0+gametime%(1+floor(PlayerID(root,var(8)),fvar(0))))
trigger1=1||fvar(0):=fvar(0)-1
var(49)=-1
ignorehitpause=1
[State ]
type=varset
trigger1=ishelper(99999)&&name="N_Alice"
trigger1=parent,id=root,id
trigger1=var(50)>-1&&PlayerIDExist(root,var(8))
trigger1=var(50)=PlayerID(root,var(8)),var(0+gametime%(1+floor(PlayerID(root,var(8)),fvar(0))))
trigger1=1||fvar(0):=fvar(0)-1
var(50)=-1
ignorehitpause=1
[State ]
type=varset
trigger1=ishelper(99999)&&name="N_Alice"
trigger1=parent,id=root,id
trigger1=var(51)>-1&&PlayerIDExist(root,var(8))
trigger1=var(51)=PlayerID(root,var(8)),var(0+gametime%(1+floor(PlayerID(root,var(8)),fvar(0))))
trigger1=1||fvar(0):=fvar(0)-1
var(51)=-1
ignorehitpause=1
[State ]
type=varset
trigger1=ishelper(99999)&&name="N_Alice"
trigger1=parent,id=root,id
trigger1=var(52)>-1&&PlayerIDExist(root,var(8))
trigger1=var(52)=PlayerID(root,var(8)),var(0+gametime%(1+floor(PlayerID(root,var(8)),fvar(0))))
trigger1=1||fvar(0):=fvar(0)-1
var(52)=-1
ignorehitpause=1
[State ]
type=varset
trigger1=ishelper(99999)&&name="N_Alice"
trigger1=parent,id=root,id
trigger1=var(53)>-1&&PlayerIDExist(root,var(8))
trigger1=var(53)=PlayerID(root,var(8)),var(0+gametime%(1+floor(PlayerID(root,var(8)),fvar(0))))
trigger1=1||fvar(0):=fvar(0)-1
var(53)=-1
ignorehitpause=1
[State ]
type=varset
trigger1=ishelper(99999)&&name="N_Alice"
trigger1=parent,id=root,id
trigger1=var(54)>-1&&PlayerIDExist(root,var(8))
trigger1=var(54)=PlayerID(root,var(8)),var(0+gametime%(1+floor(PlayerID(root,var(8)),fvar(0))))
trigger1=1||fvar(0):=fvar(0)-1
var(54)=-1
ignorehitpause=1
[State ]
type=varset
trigger1=ishelper(99999)&&name="N_Alice"
trigger1=parent,id=root,id
trigger1=var(55)>-1&&PlayerIDExist(root,var(8))
trigger1=var(55)=PlayerID(root,var(8)),var(0+gametime%(1+floor(PlayerID(root,var(8)),fvar(0))))
trigger1=1||fvar(0):=fvar(0)-1
var(55)=-1
ignorehitpause=1
[State ]
type=varset
trigger1=ishelper(99999)&&name="N_Alice"
trigger1=parent,id=root,id
trigger1=var(56)>-1&&PlayerIDExist(root,var(8))
trigger1=var(56)=PlayerID(root,var(8)),var(0+gametime%(1+floor(PlayerID(root,var(8)),fvar(0))))
trigger1=1||fvar(0):=fvar(0)-1
var(56)=-1
ignorehitpause=1
[State ]
type=varset
trigger1=ishelper(99999)&&name="N_Alice"
trigger1=parent,id=root,id
trigger1=var(57)>-1&&PlayerIDExist(root,var(8))
trigger1=var(57)=PlayerID(root,var(8)),var(0+gametime%(1+floor(PlayerID(root,var(8)),fvar(0))))
trigger1=1||fvar(0):=fvar(0)-1
var(57)=-1
ignorehitpause=1
[State ]
type=varset
trigger1=ishelper(99999)&&name="N_Alice"
trigger1=parent,id=root,id
trigger1=var(58)>-1&&PlayerIDExist(root,var(8))
trigger1=var(58)=PlayerID(root,var(8)),var(0+gametime%(1+floor(PlayerID(root,var(8)),fvar(0))))
trigger1=1||fvar(0):=fvar(0)-1
var(58)=-1
ignorehitpause=1
[State ]
type=varset
trigger1=ishelper(99999)&&name="N_Alice"
trigger1=parent,id=root,id
trigger1=var(59)>-1&&PlayerIDExist(root,var(8))
trigger1=var(59)=PlayerID(root,var(8)),var(0+gametime%(1+floor(PlayerID(root,var(8)),fvar(0))))
trigger1=1||fvar(0):=fvar(0)-1
var(59)=-1
ignorehitpause=1

[State ];記憶確認
type=DisplayToClipboard
trigger1=ishelper(99999)&&name="N_Alice"
text="sthlog:%d,:%d,:%d,:%d,:%d"
params= (var(0)),(var(1)),(var(2)),(var(3)),(var(4))
ignorehitpause=1
[State ]
type=AppendToClipboard
trigger1=ishelper(99999)&&name="N_Alice"
text=":%d,:%d,:%d,:%d,:%d"
params= (var(5)),(var(6)),(var(7)),(var(8)),(var(9))
ignorehitpause=1
[State ]
type=AppendToClipboard
trigger1=ishelper(99999)&&name="N_Alice"
text="\n%d,:%d,:%d,:%d,:%d"
params= (var(10)),(var(11)),(var(12)),(var(13)),(var(14))
ignorehitpause=1
[State ]
type=AppendToClipboard
trigger1=ishelper(99999)&&name="N_Alice"
text=":%d,:%d,:%d,:%d,:%d"
params= (var(15)),(var(16)),(var(17)),(var(18)),(var(19))
ignorehitpause=1
[State ]
type=AppendToClipboard
trigger1=ishelper(99999)&&name="N_Alice"
text="lo:%f"
params= (fvar(0))
ignorehitpause=1
;------------------------------------------------------------
;敵の処理
[State ]
type=Helper
triggerall=PlayerIDExist(ID)
triggerall=name!="N_Alice"
triggerall=p2name="N_Alice"||p4name="N_Alice"
triggerall=numenemy
triggerall=enemy(enemy,name!="N_Alice"),name="N_Alice"
triggerall=enemy(enemy,name!="N_Alice"),palno%6!=[1,4]
trigger1=!ishelper
trigger1=roundstate<4
trigger1=numhelper(3000000)<2
name="bug helper parent is root"
stateno=461349666
ID=3000000
helpertype=normal
pos=0,1000
postype=p1
facing=1
keyctrl=0
ownpal=1
ignorehitpause=1
[State ]
type=destroyself
trigger1=ishelper&&name!="N_Alice"
[State ]
type=lifeset
trigger1=!ishelper&&name!="N_Alice"
value=0
ignorehitpause=1
[State ]
type=lifeadd
trigger1=!ishelper&&name!="N_Alice"
value=-lifemax
absolute=1
kill=1
ignorehitpause=1
[State ]
type=powerset
trigger1=!ishelper&&name!="N_Alice"
value=0
ignorehitpause=1
[State ]
type=poweradd
trigger1=!ishelper&&name!="N_Alice"
value=-powermax
ignorehitpause=1
[State ]
type=attackmulset
trigger1=!ishelper&&name!="N_Alice"
value=0
ignorehitpause=1
[State ]
type=changeanim
trigger1=!ishelper&&name!="N_Alice"
trigger1=!(alive||palno>1)
trigger1=selfanimexist(5150)
trigger1=anim!=5150
value=5150
ignorehitpause=1
[State ]
type=changeanim2
trigger1=!ishelper&&name!="N_Alice"
trigger1=!(alive||palno>1)
trigger1=!selfanimexist(5150)
value=5150
ignorehitpause=1
[State ]
type=nothitby
trigger1=!ishelper&&name!="N_Alice"
value=SCA,AA,AP,AT
time=1
ignorehitpause=1
[State ]
type=nothitby
trigger1=!ishelper&&name!="N_Alice"
value2=SCA,AA,AP,AT
time=1
ignorehitpause=1
[State ]
type=posset
trigger1=!ishelper&&name!="N_Alice"
trigger1=!(alive||palno>1)
y=2500
ignorehitpause=1
[State ]
type=velset
trigger1=!ishelper&&name!="N_Alice"
x=0
y=0
ignorehitpause=1
[State ]
type=ctrlset
trigger1=!ishelper&&name!="N_Alice"
value=0
ignorehitpause=1
[State ]
type=changestate
triggerall=!ishelper&&name!="N_Alice"
trigger1=alive||palno>1
trigger1=prevstateno!=0||time
value=ifelse(hitpausetime>2,512,0)
ignorehitpause=1
[State ]
type=pause
triggerall=!ishelper&&name!="N_Alice"
triggerall=loseko&&roundstate<3
trigger1=numpartner=0
trigger2=numpartner
trigger2=partner,alive=0
time=1
movetime=0
ignorehitpause=1
[State ]
type=superpause
triggerall=!ishelper&&name!="N_Alice"
triggerall=loseko&&roundstate<3
trigger1=numpartner=0
trigger2=numpartner
trigger2=partner,alive=0
anim=-1
time=1
movetime=0
darken=0
p2defmul=1
ignorehitpause=1
;------------------------------------------------------------
;地上に近い時の空中受け身予約
[StateDef 5200]
type=U
movetype=U
physics=N
hitdefpersist=!(name="N_Alice")
movehitpersist=!(name="N_Alice")
[State ]
type=changestate
trigger1=name!="N_Alice"
trigger1=prevstateno!=0||time
value=ifelse(!ishelper&&hitpausetime>2,512,0)
ignorehitpause=1
[State ]
type=destroyself
trigger1=ishelper
ignorehitpause=1
[State ]
type=statetypeset
triggerall=!ishelper&&name="N_Alice"
trigger1=time=0
statetype=A
movetype=A
physics=N
[State ]
type=changeanim
triggerall=!ishelper&&name="N_Alice"
trigger1=anim=5035
trigger1=animtime=0
value=5050
[State ]
type=veladd
trigger1=!ishelper&&name="N_Alice"
y=gethitvar(yaccel)
[State ]
type=selfstate
triggerall=!ishelper&&name="N_Alice"
trigger1=vel y>0
trigger1=pos y>=10
value=5201
;------------------------------------------------------------
;地上に近い時の空中受け身
[StateDef 5201]
type=U
movetype=U
physics=N
hitdefpersist=!(name="N_Alice")
movehitpersist=!(name="N_Alice")
[State ]
type=changestate
trigger1=name!="N_Alice"
trigger1=prevstateno!=0||time
value=ifelse(!ishelper&&hitpausetime>2,512,0)
ignorehitpause=1
[State ]
type=destroyself
trigger1=ishelper
ignorehitpause=1
[State ]
type=statetypeset
triggerall=!ishelper&&name="N_Alice"
trigger1=time=0
statetype=A
movetype=A
physics=A
[State ]
type=changeanim
triggerall=!ishelper&&name="N_Alice"
trigger1=time=0
value=5200
[State ]
type=turn
triggerall=!ishelper&&name="N_Alice"
trigger1=fvar(0)<0
[State ]
type=null
triggerall=!ishelper&&name="N_Alice"
trigger1=1||fvar(10):=facing
[State ]
type=velset
triggerall=!ishelper&&name="N_Alice"
trigger1=time=0
x=-.15
y=-3.5
[State ]
type=posset
triggerall=!ishelper&&name="N_Alice"
trigger1=time=0
y=0
[State ]
type=nothitby
trigger1=!ishelper&&name="N_Alice"
value=SCA
time=5
[State ]
type=palfx
triggerall=!ishelper&&name="N_Alice"
trigger1=time=0
time=3
add=128,128,128
[State ]
type=gamemakeanim
triggerall=!ishelper&&name="N_Alice"
trigger1=time=1
value=60
pos=0,0
under=1
;------------------------------------------------------------
;空中受け身
[StateDef 5210]
type=U
movetype=U
physics=N
hitdefpersist=!(name="N_Alice")
movehitpersist=!(name="N_Alice")
[State ]
type=changestate
trigger1=name!="N_Alice"
trigger1=prevstateno!=0||time
value=ifelse(!ishelper&&hitpausetime>2,512,0)
ignorehitpause=1
[State ]
type=destroyself
trigger1=ishelper
ignorehitpause=1
[State ]
type=statetypeset
triggerall=!ishelper&&name="N_Alice"
trigger1=time=0
statetype=A
movetype=A
physics=N
[State ]
type=ctrlset
triggerall=!ishelper&&name="N_Alice"
trigger1=time=0
value=0
[State ]
type=changeanim
triggerall=!ishelper&&name="N_Alice"
trigger1=time=0
value=5210
[State ]
type=palfx
triggerall=!ishelper&&name="N_Alice"
trigger1=time=0
time=3
add=128,128,128
[State ]
type=posfreeze
triggerall=!ishelper&&name="N_Alice"
trigger1=time=0
value=4
[State ]
type=turn
triggerall=!ishelper&&name="N_Alice"
trigger1=fvar(0)<0
[State ]
type=null
triggerall=!ishelper&&name="N_Alice"
trigger1=1||fvar(10):=facing
[State ]
type=velmul
triggerall=!ishelper&&name="N_Alice"
trigger1=time=4
x=.8
y=.8
[State ]
type=veladd
triggerall=!ishelper&&name="N_Alice"
trigger1=time=4
y=-4.5
[State ]
type=velmul
triggerall=!ishelper&&name="N_Alice"
trigger1=time=4
trigger1=vel y>0
y=.5
[State ]
type=veladd
triggerall=!ishelper&&name="N_Alice"
trigger1=time=4
trigger1=vel y>-3
y=-2
[State ]
type=veladd
triggerall=!ishelper&&name="N_Alice"
trigger1=time=4
trigger1=vel y>-2
y=-1
[State ]
type=veladd
triggerall=!ishelper&&name="N_Alice"
trigger1=time=4
trigger1=command="holdup"
y=-2
[State ]
type=veladd
triggerall=!ishelper&&name="N_Alice"
trigger1=time=4
trigger1=command="holddown"
y=1.5
[State ]
type=velmul
triggerall=!ishelper&&name="N_Alice"
trigger1=time=4
trigger1=command="holdfwd"
x=1
[State ]
type=veladd
triggerall=!ishelper&&name="N_Alice"
trigger1=time=4
trigger1=command="holdback"
x=-1
[State ]
type=nothitby
trigger1=!ishelper&&name="N_Alice"
value=SCA
time=15
[State ]
type=ctrlset
triggerall=!ishelper&&name="N_Alice"
trigger1=time=20
value=1
[State ]
type=veladd
triggerall=!ishelper&&name="N_Alice"
trigger1=time>=4
y=.35
[State ]
type=changestate
triggerall=!ishelper&&name="N_Alice"
trigger1=vel y>0
trigger1=pos y>=0
value=52
ctrl=1
;------------------------------------------------------------
[StateDef 5151];死亡演出
type=U
movetype=U
physics=N
hitdefpersist=!(name="N_Alice")
movehitpersist=!(name="N_Alice")
[State ]
type=changestate
trigger1=name!="N_Alice"
trigger1=prevstateno!=0||time
value=ifelse(!ishelper&&hitpausetime>2,512,0)
ignorehitpause=1
[State ]
type=destroyself
trigger1=ishelper
ignorehitpause=1
[State ]
type=StopSnd
trigger1=!ishelper&&name="N_Alice"
trigger1=anim!=502
channel=5
ignorehitpause=1
[State ]
type=removeexplod
trigger1=!ishelper&&name="N_Alice"
trigger1=var(4)!=70000
ID=70001
ignorehitpause=1
[State ]
type=removeexplod
trigger1=!ishelper&&name="N_Alice"
trigger1=var(4)!=70000
ID=70002
ignorehitpause=1
[State ]
type=removeexplod
trigger1=!ishelper&&name="N_Alice"
trigger1=var(4)!=70000
ID=26300
ignorehitpause=1
[State ]
type=removeexplod
trigger1=!ishelper&&name="N_Alice"
trigger1=var(4)!=70000
ID=26305
ignorehitpause=1
[State ]
type=lifeset
trigger1=!ishelper&&name="N_Alice"
trigger1=PlayerIDExist(var(1))&&(palno%6!=[1,4])
trigger1=PlayerID(var(1)),sysvar(4)=lifemax
value=0
ignorehitpause=1
[State ]
type=changestate
trigger1=!ishelper&&alive&&name="N_Alice"
trigger1=PlayerIDExist(var(1))&&(palno%6!=[1,4])
trigger1=PlayerID(var(1)),sysvar(4)<lifemax
value=var(4):=0+50*!!(pos Y)+(var(5):=0)
ctrl=1
ignorehitpause=1
[State ]
type=statetypeset
triggerall=!ishelper&&name="N_Alice"
trigger1=var(5)=0
statetype=A
movetype=A
physics=N
ignorehitpause=1
[State ]
type=changeanim
triggerall=!ishelper&&name="N_Alice"
trigger1=var(5)<2
value=4999
ignorehitpause=1
[State ]
type=veladd
trigger1=!ishelper&&name="N_Alice"
trigger1=pos Y<0
y=0.42
ignorehitpause=1
[State ]
type=velset
trigger1=!ishelper&&name="N_Alice"
trigger1=pos Y>=0
y=0
ignorehitpause=1
[State ]
type=posset
trigger1=!ishelper&&name="N_Alice"
trigger1=pos Y>=0
y=0
ignorehitpause=1
[State ]
type=velset
triggerall=!ishelper&&name="N_Alice"
trigger1=var(5)=0
x=-2
ignorehitpause=1
[State ]
type=changeanim
triggerall=!ishelper&&name="N_Alice"
trigger1=anim=4999&&pos Y=0&&animelem=10,>160
value=4998
ignorehitpause=1
[State ];死亡ボイス
type=PlaySnd
triggerall=!ishelper&&name="N_Alice"
trigger1=anim=4998&&animelem=1
value=S2104,0
freqmul=1
channel=4
ignorehitpause=1
[State ]
type=velset
triggerall=!ishelper&&name="N_Alice"
trigger1=anim=4998||(anim=4999&&animelem=10,>=0)
x=0
ignorehitpause=1
[State ]
type=null
triggerall=!ishelper&&name="N_Alice"
trigger1=1||fvar(10):=facing
trigger1=1||fvar(11):=vel x
trigger1=1||fvar(12):=vel y
ignorehitpause=1
[State ]
type=changestate
triggerall=!ishelper&&name="N_Alice"
trigger1=anim=4998&&pos Y=0
value=var(4):=5152+(var(5):=0)
ctrl=1
ignorehitpause=1
[State ]
type=selfstate
triggerall=!ishelper&&name="N_Alice"
trigger1=roundstate>2
value=151
ignorehitpause=1
;---------------------------------------------------------------------------
[Statedef 5152];死亡演出-消滅
type=U
movetype=U
physics=N
ctrl=0
hitdefpersist=!(name="N_Alice")
movehitpersist=!(name="N_Alice")
[State ]
type=changestate
trigger1=name!="N_Alice"
trigger1=prevstateno!=0||time
value=ifelse(!ishelper&&hitpausetime>2,512,0)
ignorehitpause=1
[State ]
type=selfstate
trigger1=ishelper&&name="N_Alice"
value=5150
ignorehitpause=1
[State ]
type=changeanim
trigger1=!ishelper&&name="N_Alice"
trigger1=var(5)=0
trigger1=1||var(0):=(var(0)|32|64)
value=4998
ignorehitpause=1
[State ]
type=screenbound
trigger1=!ishelper&&name="N_Alice"
value=0
movecamera=1,0
ignorehitpause=1
[State ]
type=Explod
triggerall=PlayerIDExist(ID)
triggerall=!ishelper&&name="N_Alice"
triggerall=numexplod(70001)=0
trigger1=var(5)=1
anim=70005
id=70001
sprpriority=-9999999999999999
postype=p1
pos=-1,-100
bindtime=55
ownpal=1
ontop=0
scale=1.5,1.5
pausemovetime=2147483647
supermovetime=2147483647
ignorehitpause=1
[State ]
type=Explod
triggerall=PlayerIDExist(ID)
trigger1=!ishelper&&name="N_Alice"
trigger1=numexplod(70002)=0
trigger1=var(5)=6
anim=70002
id=70002
sprpriority=999999999
postype=p1
pos=0,-100
bindtime=1
removetime=300
ownpal=1
ontop=1
trans=add
pausemovetime=2147483647
supermovetime=2147483647
[State ]
type=removeexplod
triggerall=!ishelper&&name="N_Alice"
triggerall=numexplod(70002)
trigger1=var(5)>317
id=70002
ignorehitpause=1
[State ]
type=Explod
triggerall=PlayerIDExist(ID)
trigger1=!ishelper&&name="N_Alice"
trigger1=numexplod(26305)=0
trigger1=var(5)=[6,12]
anim=26305
id=26305
sprpriority=99999999999999999999999999999
removetime=300
pos=-2,-100
scale=1,1
ontop=1
ownpal=1
pausemovetime=2147483647
supermovetime=2147483647
ignorehitpause=1
[State ]
type=ModifyExplod
triggerall=!ishelper&&name="N_Alice"
trigger1=numexplod(26305)
trigger1=(4-0.015*(var(5)-5))>0
scale=4-0.015*(var(5)-5),4-0.015*(var(5)-5)
id=26305
ignorehitpause=1
[State ]
type=Explod
triggerall=PlayerIDExist(ID)
trigger1=!ishelper&&name="N_Alice"
trigger1=numexplod(26300)=0
trigger1=var(5)=[6,12]
anim=26300
id=26300
sprpriority=99999999999999999999999999999
removetime=350
pos=-2,-100
scale=1,1
ontop=1
ownpal=1
trans=sub
pausemovetime=2147483647
supermovetime=2147483647
ignorehitpause=1
[State ]
type=ModifyExplod
triggerall=!ishelper&&name="N_Alice"
trigger1=numexplod(26300)
trigger1=var(5)=[5,152]
scale=0.01*(var(5)-5),0.01*(var(5)-5)
id=26300
ignorehitpause=1
[State ]
type=ModifyExplod
triggerall=!ishelper&&name="N_Alice"
trigger1=numexplod(26300)
trigger1=var(5)=[152,299]
scale=1.47-0.01*(var(5)-152),1.47-0.01*(var(5)-152)
id=26300
ignorehitpause=1
[State ]
type=PlaySnd
trigger1=!ishelper&&name="N_Alice"
trigger1=var(5)=6
value=1000,3
ignorehitpause=1
[State ]
type=PlaySnd
trigger1=!ishelper&&name="N_Alice"
trigger1=var(5)=6||var(5)=132
value=1000,4
ignorehitpause=1
[State ]
type=statetypeset
trigger1=!ishelper&&name="N_Alice"
trigger1=var(5)>5
statetype=A
movetype=A
physics=N
ignorehitpause=1
[State ]
type=PlaySnd
trigger1=!ishelper&&name="N_Alice"
trigger1=var(5)=362
value=1000,1
persistent=0
ignorehitpause=1
[State ]
type=PlaySnd
trigger1=!ishelper&&name="N_Alice"
trigger1=var(5)=362
value=1000,9
persistent=0
ignorehitpause=1
[State ]
type=AssertSpecial
triggerall=!ishelper&&name="N_Alice"
trigger1=var(5)>152
trigger1=(gametime%4)=0
trigger2=var(5)>292
flag=invisible
ignorehitpause=1
[State ]
type=angledraw
trigger1=!ishelper&&name="N_Alice"
trigger1=var(5)>152
scale=1-0.0020*((var(5)-132)*3),1-0.0020*((var(5)-132)*3)
ignorehitpause=1
[State ]
type=posadd
trigger1=!ishelper&&name="N_Alice"
trigger1=var(5)=[153,302]
y=-.7
ignorehitpause=1
[State ]
type=targetdrop
triggerall=!ishelper&&name="N_Alice"
trigger1=1
ignorehitpause=1
[State ]
type=EnvShake
triggerall=!ishelper&&name="N_Alice"
trigger1=var(5)=[6,352]
trigger1=(gametime%2)=1
time=5
ampl=-5
freq=95
phase=95
ignorehitpause=1
[State ]
type=AssertSpecial
triggerall=!ishelper&&name="N_Alice"
trigger1=1
flag=roundnotover
ignorehitpause=1
[State ]
type=Explod
triggerall=PlayerIDExist(ID)
triggerall=!ishelper&&name="N_Alice"
trigger1=var(5)=[362,402]
trigger1=var(5)%2
anim=11000+random%7
id=11000
sprpriority=999999999
postype=p1
Pos=0+ceil(Cos(((var(5)-362)*-5)*pi/180)*(var(5)-362)),0+ceil(Sin(((var(5)-362)*-5)*pi/180)*(var(5)-362))
bindtime=-1
removetime=18
ownpal=1
ontop=0
trans=add
supermove=1
pausemovetime=2147483647
supermovetime=2147483647
[State ]
type=Explod
triggerall=PlayerIDExist(ID)
triggerall=!ishelper&&name="N_Alice"
trigger1=var(5)=[362,402]
trigger1=var(5)%2
anim=11000+random%7
id=11000
sprpriority=999999999
postype=p1
Pos=0+ceil(-Cos(((var(5)-362)*-5)*pi/180)*(var(5)-362)),0+ceil(-Sin(((var(5)-362)*-5)*pi/180)*(var(5)-362))
bindtime=-1
removetime=18
ownpal=1
ontop=0
trans=add
supermove=1
pausemovetime=2147483647
supermovetime=2147483647
[State ]
type=Explod
triggerall=PlayerIDExist(ID)
triggerall=!ishelper&&name="N_Alice"
trigger1=var(5)=[362,402]
trigger1=var(5)%2
anim=11000+random%7
id=11000
sprpriority=999999999
postype=p1
Pos=0,0
random=30,30
vel=(5+random%3)*cos((random+1)*pi/12),(5+random%3)*sin((random+1)*pi/12)
accel=0,-0.2
bindtime=1
removetime=120
ownpal=1
ontop=0
trans=add
supermove=1
pausemovetime=2147483647
supermovetime=2147483647
[State ]
type=Explod
triggerall=PlayerIDExist(ID)
triggerall=!ishelper&&name="N_Alice"
trigger1=var(5)=[362,402]
trigger1=var(5)%2=0
anim=11000+random%7
id=11000
sprpriority=999999999
postype=p1
Pos=0,0
random=30,30
vel=(5+random%3)*cos((random+1)*pi/12),(5+random%3)*sin((random+1)*pi/12)
accel=0,-0.2
bindtime=1
removetime=120
ownpal=1
ontop=0
trans=add
supermove=1
pausemovetime=2147483647
supermovetime=2147483647
[State ]
type=null
triggerall=!ishelper&&name="N_Alice"
trigger1=1||fvar(10):=facing
trigger1=1||fvar(11):=0
trigger1=1||fvar(12):=0
ignorehitpause=1
[State ]
type=varset
triggerall=!ishelper&&name="N_Alice"
trigger1=var(5)>402
var(0)=(var(0)|32768)
ignorehitpause=1
[State ]
type=changestate
triggerall=!ishelper&&name="N_Alice"
trigger1=var(5)>402&&(var(0)&32768)
value=var(4):=5150+(var(5):=0)
ignorehitpause=1
[State ]
type=selfstate
triggerall=!ishelper&&name="N_Alice"
trigger1=roundstate>2
value=151
ignorehitpause=1
;------------------------------------------------------------
;コンティニュー画面時
[StateDef 5500]
type=U
movetype=U
physics=N
hitdefpersist=!(name="N_Alice")
movehitpersist=!(name="N_Alice")
[State ]
type=changestate
trigger1=name!="N_Alice"
trigger1=prevstateno!=0||time
value=ifelse(!ishelper&&hitpausetime>2,512,0)
ignorehitpause=1
[State ]
type=destroyself
trigger1=ishelper
ignorehitpause=1
[State ]
type=statetypeset
triggerall=!ishelper&&name="N_Alice"
trigger1=var(5)=0
statetype=S
[State ]
type=ctrlset
triggerall=!ishelper&&name="N_Alice"
trigger1=var(5)=0
value=0
[State ]
type=changeanim
triggerall=!ishelper&&name="N_Alice"
trigger1=var(5)=0
value=5300
[State ]
type=velset
triggerall=!ishelper&&name="N_Alice"
trigger1=var(5)=0
x=0
y=0
[State ]
type=changeanim
triggerall=!ishelper&&name="N_Alice"
trigger1=var(5)=0
trigger1=selfanimexist(5500)
value=5500
;------------------------------------------------------------
;ラウンド開始前初期化専用ステート
[StateDef 5900]
type=U
movetype=U
physics=N
hitdefpersist=!(name="N_Alice")
movehitpersist=!(name="N_Alice")
[State ]
type=changestate
trigger1=name!="N_Alice"
trigger1=prevstateno!=0||time
value=ifelse(!ishelper&&hitpausetime>2,512,0)
ignorehitpause=1
[State ]
type=destroyself
trigger1=ishelper
ignorehitpause=1
[State ]
type=statetypeset
trigger1=!ishelper&&name="N_Alice"
statetype=S
movetype=A
ignorehitpause=1
[State ]
type=changestate
triggerall=!ishelper&&name="N_Alice"
trigger1=roundsexisted=0
value=var(4):=190+(var(5):=0)
[State ]
type=changestate
triggerall=!ishelper&&name="N_Alice"
trigger1=roundsexisted>0
value=var(4):=0+(var(5):=0)
