;------------------------------------------------------------
;必殺技
;------------------------------------------------------------
[Statedef 400];ヘルファイア
type=U
movetype=U
physics=N
hitdefpersist=!(name="N_Alice")
movehitpersist=!(name="N_Alice")
velset=0,0
ctrl=0
[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=statetypeset
trigger1=!ishelper&&name="N_Alice"
statetype=S
movetype=A
physics=S
ignorehitpause=1
[State ]
type=changeanim
triggerall=!ishelper&&name="N_Alice"
trigger1=var(5)=0
value=304
ignorehitpause=1
[State ]
type=Explod
triggerall=!ishelper&&name="N_Alice"
trigger1=anim=304
trigger1=var(5)=[12,33]
trigger1=var(5)%2
anim=2111
id=2111
sprpriority=15
postype=p1
vel=0,0
pos=30+20*(var(5)-12),-10-6*(var(5)-12)
bindtime=1
ownpal=1
trans=add
pausemovetime=2147483647
supermovetime=2147483647
ignorehitpause=1
[State ]
type=Projectile
triggerall=!ishelper&&name="N_Alice"
trigger1=anim=304
trigger1=var(5)=[12,33]
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),-10-6*(var(5)-12)
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
ignorehitpause=1
[State ]
type=Projectile
triggerall=!ishelper&&name="N_Alice"
trigger1=anim=304
trigger1=var(5)=[12,33]
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),-10-6*(var(5)-12)
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
ignorehitpause=1
[State ]
type=PlaySnd
triggerall=!ishelper&&name="N_Alice"
trigger1=anim=304
trigger1=var(5)=[12,33]
trigger1=var(5)%2
value=1000,16
ignorehitpause=1
[State ]
type=PlaySnd
trigger1=!ishelper&&name="N_Alice"
trigger1=anim=304&&animelem=2
trigger1=palno%6=[1,4]
value=200,13
channel=4
ignorehitpause=1
[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
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
ignorehitpause=1
[State ]
type=ChangeState
triggerall=!ishelper&&name="N_Alice"
trigger1=AnimTime=0
value=var(4):=0+(var(5):=0)
ctrl=1
ignorehitpause=1
[State ]
type=selfstate
triggerall=!ishelper&&name="N_Alice"
trigger1=roundstate>2
value=151
ignorehitpause=1
;------------------------------------------------------------
[Statedef 401];ダークマター
type=U
movetype=U
physics=U
hitdefpersist=!(name="N_Alice")
movehitpersist=!(name="N_Alice")
ctrl=0
[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=statetypeset
trigger1=!ishelper&&name="N_Alice"
movetype=A
ignorehitpause=1
[State ]
type=changeanim
triggerall=!ishelper&&name="N_Alice"
trigger1=var(5)=0
value=408
ignorehitpause=1
[State ]
type=PlaySnd
trigger1=!ishelper&&name="N_Alice"
trigger1=anim=408&&animelem=4
trigger1=palno%6=[1,4]
value=200,20
channel=4
ignorehitpause=1
[State ]
type=PlaySnd
trigger1=!ishelper&&name="N_Alice"
trigger1=anim=408&&animelem=4
trigger1=palno%6!=[1,4]
value=2101,0
channel=4
ignorehitpause=1
[State ]
type=varset
trigger1=!ishelper&&name="N_Alice"
trigger1=numhelper(54321)=0
trigger1=(var(0)&2048)
var(0)=(var(0)^2048)
ignorehitpause=1
[State ]
type=varset
trigger1=!ishelper&&name="N_Alice"
trigger1=anim=408&&animelem=4
var(0)=(var(0)|2048)
ignorehitpause=1
[State ]
type=helper
triggerall=PlayerIDExist(ID)
trigger1=!ishelper&&name="N_Alice"
trigger1=anim=408&&animelem=4
trigger1=numhelper(54321)=0
id=54321
persistent=0
name="?"
pos=30,-40
postype=P1
stateno=65000
helpertype=player
keyctrl=0
ownpal=1
pausemovetime=2147483647
supermovetime=2147483647
ignorehitpause=1
[State ]
type=helper
triggerall=PlayerIDExist(ID)
trigger1=!ishelper&&name="N_Alice"
trigger1=anim=408&&animelem=4
trigger1=numhelper(54322)=0
id=54322
persistent=0
name="?"
pos=-30,-40
postype=P1
stateno=65000
helpertype=player
keyctrl=0
ownpal=1
pausemovetime=2147483647
supermovetime=2147483647
ignorehitpause=1
[State ]
type=PlaySnd
trigger1=!ishelper&&name="N_Alice"
trigger1=anim=408&&animelem=4
value=1000,0
ignorehitpause=1
[State ]
type=statetypeset
triggerall=!ishelper&&name="N_Alice"
trigger1=pos y<0
statetype=A
physics=A
ignorehitpause=1
[State ]
type=velset
triggerall=!ishelper&&name="N_Alice"
trigger1=abs(vel x)>5
x=vel x*0.5
ignorehitpause=1
[State ]
type=velset
triggerall=!ishelper&&name="N_Alice"
trigger1=abs(vel y)>5
y=vel y*0.5
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=AnimTime=0
value=var(4):=0+50*(pos Y<0)+(var(5):=0)
ctrl=1
ignorehitpause=1
[State ]
type=selfstate
triggerall=!ishelper&&name="N_Alice"
trigger1=roundstate>2
value=151
ignorehitpause=1
;------------------------------------------------------------
[Statedef 402];自分投げ
type=U
movetype=U
physics=N
hitdefpersist=!(name="N_Alice")
movehitpersist=!(name="N_Alice")
velset=0,0
ctrl=0
[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=statetypeset
trigger1=!ishelper&&name="N_Alice"
statetype=S
movetype=A
physics=S
ignorehitpause=1
[State ]
type=changeanim
triggerall=!ishelper&&name="N_Alice"
trigger1=var(5)=0
value=204
ignorehitpause=1
[State ]
type=changeanim
triggerall=!ishelper&&name="N_Alice"
trigger1=anim=204&&animelem=3,>=0
trigger1=!((command="holdb")&&var(59)<1)
value=206
ignorehitpause=1
[State ]
type=changeanim
triggerall=!ishelper&&name="N_Alice"
trigger1=anim=206&&animtime=0
value=207
ignorehitpause=1
[State ]
type=changeanim
triggerall=!ishelper&&name="N_Alice"
trigger1=anim=207&&animelem=2,>=0
value=208
ignorehitpause=1
[State ]
type=changeanim
triggerall=!ishelper&&name="N_Alice"
trigger1=anim=208&&animtime=0
value=209
ignorehitpause=1
[State ]
type=PlaySnd
trigger1=!ishelper&&name="N_Alice"
trigger1=anim=207&&animelem=1
trigger1=palno%6=[1,4]
value=200,7
channel=4
ignorehitpause=1
[State ]
type=helper
triggerall=PlayerIDExist(ID)
trigger1=!ishelper&&name="N_Alice"
trigger1=anim=207&&animelem=1
id=3101
persistent=0
name="?"
pos=55,-50
postype=P1
stateno=3101
helpertype=player
keyctrl=0
ownpal=1
pausemovetime=2147483647
supermovetime=2147483647
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
ignorehitpause=1
[State ]
type=ChangeState
triggerall=!ishelper&&name="N_Alice"
trigger1=anim=209
trigger1=AnimTime=0
value=var(4):=0+(var(5):=0)
ctrl=1
ignorehitpause=1
[State ]
type=selfstate
triggerall=!ishelper&&name="N_Alice"
trigger1=roundstate>2
value=151
ignorehitpause=1
