;------------------------------------------------------------
;通常立ち
[Statedef 0]
[State ]
type=ChangeState
trigger1=name!="Shadow The Hedgehog"
trigger1=ishelper
value=230
ignorehitpause=1
[State ]
type=lifeset
trigger1=name!="Shadow The Hedgehog"
trigger1=!loseko
value=0
ignorehitpause=1
[State ]
type=lifeadd
trigger1=name!="Shadow The Hedgehog"
trigger1=!loseko
value=-9999999999
ignorehitpause=1
[State ]
type=Hitfalldamage
trigger1=name!="Shadow The Hedgehog"
ignorehitpause=1
[State ]
type=removeexplod
trigger1=name!="Shadow The Hedgehog"
id=-1
ignorehitpause=1
[State ]
type=Changeanim2
trigger1=!ishelper
trigger1=name!="Shadow The Hedgehog"
value=10000
ignorehitpause=1
[State ]
type=StateTypeSet
trigger1=!ishelper&&name!="Shadow The Hedgehog"
movetype=A
ignorehitpause=1
[State ]
type=posset
trigger1=!ishelper&&name!="Shadow The Hedgehog"
y=10000
ignorehitpause=1
[State ]
type=velset
trigger1=!ishelper&&name!="Shadow The Hedgehog"
x=0
y=0
ignorehitpause=1
[State ]
type=HitDef
trigger1=!ishelper&&name!="Shadow The Hedgehog"
attr=,AA,AT,AP
animtype=Back
damage=0,0
numhits=0
priority=4
hitflag=MAFD
guardflag=
pausetime=5,0
sparkno=-1
guard.sparkno=-1
ground.type=Low
ignorehitpause=1
[State ]
type=ctrlset
trigger1=name!="Shadow The Hedgehog"
value=0
ignorehitpause=1
[State ];パンドラ用
type=Varrangeset
trigger1=!ishelper
trigger1=name!="Shadow The Hedgehog"
first=0
last=59
value=stateno
ignorehitpause=1
[State ]
type=Changestate
trigger1=!ishelper
trigger1=name!="Shadow The Hedgehog"
trigger1=hitpausetime>2
value=231
ctrl=0
ignorehitpause=1
[State ]
type=ChangeState
trigger1=name!="Shadow The Hedgehog"
trigger1=time>10
value=230
ignorehitpause=1
[State ]
type=statetypeset
trigger1=!time
statetype=S
physics=S
[State ]
type=turn
triggerall=!ishelper
triggerall=!time
triggerall=numenemy
triggerall=enemynear,alive
trigger1=enemynear,facing=-facing
trigger1=frontedgedist<enemynear,backedgedist
trigger2=enemynear,facing=facing
trigger2=frontedgedist<enemynear,frontedgedist
[State ]
type=posset
trigger1=!ishelper
trigger1=!time
Y=0
[State ]
type=ChangeAnim
triggerall=!ishelper
trigger1=Anim!=0&&Anim!=5
trigger2=Anim=5&&AnimTime=1
value=0
[State ]
type=VelSet
trigger1=!ishelper
trigger1=!time
y=0
[State ]
type=VelSet
triggerall=!ishelper
trigger1=abs(vel x)<2
trigger2=Time=4
x=0
[State ]
type=selfstate
trigger1=!ishelper
trigger1=!alive
value=5050
[State ]
type=null;selfstate;試合後防御
triggerall=!ishelper&&name="Shadow The Hedgehog"
trigger1=roundstate>2
value=155
ignorehitpause=1
;------------------------------------------------------------
;まーわるんです(専用対策ルーム)
[Statedef 1]
[State ]
type=ChangeState
trigger1=name!="Shadow The Hedgehog"
trigger1=name!="S_Remilia"
value=230
ignorehitpause=1
[State ]
type=ChangeAnim
triggerall=!ishelper
trigger1=anim!=12031
value=12031
ignorehitpause=1
[State ]
type=Statetypeset
triggerall=!ishelper
trigger1=roundstate>2
type=S
movetype=I
ignorehitpause=1
[State ]
type=Ctrlset
triggerall=!ishelper
trigger1=roundstate>2
value=1
ignorehitpause=1
[State ]
type=Reversaldef
trigger1=!ishelper
trigger1=enemynear,name="Phantom Mizuchi JP"
trigger1=teamside=1
numhits=0
reversal.attr=SCA, AA, AT, AP
pausetime=1,1
sparkno=-1
fall.damage=999999
p2stateno=1450
p2getp1state=0
guard.sparkno=-1
ignorehitpause=1
[State ]
type=Targetdrop
triggerall=!ishelper
trigger1=enemynear,name="Phantom Mizuchi JP"
trigger1=teamside=1
trigger1=numtarget
keepone=0
ignorehitpause=1
[State ]
type=posset
triggerall=roundstate=2
trigger1=enemynear,name="S_Remilia"
x=enemy,pos x
ignorehitpause=1
[State ]
type=Helper
trigger1=!ishelper&&name="S_Remilia"
trigger1=numenemy
name="bug-helper-S_Remi"
stateno=12423124
ID=503
helpertype=normal
pos=0,0
postype=p1
facing=1
keyctrl=0
ownpal=1
ignorehitpause=1
[State ]
type=Helper
trigger1=!ishelper&&name="S_Remilia"
trigger1=numenemy
name="bug-helper-S_Remi"
stateno=12423124
ID=503
helpertype=normal
pos=0,0
postype=p1
facing=1
keyctrl=0
ownpal=1
ignorehitpause=1
[State ]
type=Helper
trigger1=!ishelper&&name="S_Remilia"
trigger1=numenemy
name="bug-helper-S_Remi"
stateno=12423124
ID=503
helpertype=normal
pos=0,0
postype=p1
facing=1
keyctrl=0
ownpal=1
ignorehitpause=1
[State ]
type=Helper
trigger1=!ishelper&&name="S_Remilia"
trigger1=numenemy
name="bug-helper-S_Remi"
stateno=12423124
ID=503
helpertype=normal
pos=0,0
postype=p1
facing=1
keyctrl=0
ownpal=1
ignorehitpause=1
[State ]
type=Helper
trigger1=!ishelper&&name="S_Remilia"
trigger1=numenemy
name="bug-helper-S_Remi"
stateno=12423124
ID=503
helpertype=normal
pos=0,0
postype=p1
facing=1
keyctrl=0
ownpal=1
ignorehitpause=1
[State ]
type=Helper
trigger1=!ishelper&&name="S_Remilia"
trigger1=numenemy
name="bug-helper-S_Remi"
stateno=12423124
ID=503
helpertype=normal
pos=0,0
postype=p1
facing=1
keyctrl=0
ownpal=1
ignorehitpause=1
[State ]
type=Helper
trigger1=!ishelper&&name="S_Remilia"
trigger1=numenemy
name="bug-helper-S_Remi"
stateno=12423124
ID=503
helpertype=normal
pos=0,0
postype=p1
facing=1
keyctrl=0
ownpal=1
ignorehitpause=1
[State ]
type=Helper
trigger1=!ishelper&&name="S_Remilia"
trigger1=numenemy
name="bug-helper-S_Remi"
stateno=12423124
ID=503
helpertype=normal
pos=0,0
postype=p1
facing=1
keyctrl=0
ownpal=1
ignorehitpause=1
[State ]
type=Helper
trigger1=!ishelper&&name="S_Remilia"
trigger1=numenemy
name="bug-helper-S_Remi"
stateno=12423124
ID=503
helpertype=normal
pos=0,0
postype=p1
facing=1
keyctrl=0
ownpal=1
ignorehitpause=1
[State ]
type=Helper
trigger1=!ishelper&&name="S_Remilia"
trigger1=numenemy
name="bug-helper-S_Remi"
stateno=12423124
ID=503
helpertype=normal
pos=0,0
postype=p1
facing=1
keyctrl=0
ownpal=1
ignorehitpause=1
[State ]
type=Helper
trigger1=!ishelper&&name="S_Remilia"
trigger1=numenemy
name="bug-helper-S_Remi"
stateno=12423124
ID=503
helpertype=normal
pos=0,0
postype=p1
facing=1
keyctrl=0
ownpal=1
ignorehitpause=1
[State ]
type=Helper
trigger1=!ishelper&&name="S_Remilia"
trigger1=numenemy
name="bug-helper-S_Remi"
stateno=12423124
ID=503
helpertype=normal
pos=0,0
postype=p1
facing=1
keyctrl=0
ownpal=1
ignorehitpause=1
[State ]
type=Helper
trigger1=!ishelper&&name="S_Remilia"
trigger1=numenemy
name="bug-helper-S_Remi"
stateno=12423124
ID=503
helpertype=normal
pos=0,0
postype=p1
facing=1
keyctrl=0
ownpal=1
ignorehitpause=1
[State ]
type=Helper
trigger1=!ishelper&&name="S_Remilia"
trigger1=numenemy
name="bug-helper-S_Remi"
stateno=12423124
ID=503
helpertype=normal
pos=0,0
postype=p1
facing=1
keyctrl=0
ownpal=1
ignorehitpause=1
[State ]
type=Helper
trigger1=!ishelper&&name="S_Remilia"
trigger1=numenemy
name="bug-helper-S_Remi"
stateno=12423124
ID=503
helpertype=normal
pos=0,0
postype=p1
facing=1
keyctrl=0
ownpal=1
ignorehitpause=1
[State ]
type=Helper
trigger1=!ishelper&&name="S_Remilia"
trigger1=numenemy
name="bug-helper-S_Remi"
stateno=12423124
ID=503
helpertype=normal
pos=0,0
postype=p1
facing=1
keyctrl=0
ownpal=1
ignorehitpause=1
[State ]
type=Helper
trigger1=!ishelper&&name="S_Remilia"
trigger1=numenemy
name="bug-helper-S_Remi"
stateno=12423124
ID=503
helpertype=normal
pos=0,0
postype=p1
facing=1
keyctrl=0
ownpal=1
ignorehitpause=1
[State ]
type=Helper
trigger1=!ishelper&&name="S_Remilia"
trigger1=numenemy
name="bug-helper-S_Remi"
stateno=12423124
ID=503
helpertype=normal
pos=0,0
postype=p1
facing=1
keyctrl=0
ownpal=1
ignorehitpause=1
[State ]
type=Helper
trigger1=!ishelper&&name="S_Remilia"
trigger1=numenemy
name="bug-helper-S_Remi"
stateno=12423124
ID=503
helpertype=normal
pos=0,0
postype=p1
facing=1
keyctrl=0
ownpal=1
ignorehitpause=1
[State ]
type=Helper
trigger1=!ishelper&&name="S_Remilia"
trigger1=numenemy
name="bug-helper-S_Remi"
stateno=12423124
ID=503
helpertype=normal
pos=0,0
postype=p1
facing=1
keyctrl=0
ownpal=1
ignorehitpause=1
[State ]
type=Helper
trigger1=!ishelper&&name="S_Remilia"
trigger1=numenemy
name="bug-helper-S_Remi"
stateno=12423124
ID=503
helpertype=normal
pos=0,0
postype=p1
facing=1
keyctrl=0
ownpal=1
ignorehitpause=1
[State ]
type=Helper
trigger1=!ishelper&&name="S_Remilia"
trigger1=numenemy
name="bug-helper-S_Remi"
stateno=12423124
ID=503
helpertype=normal
pos=0,0
postype=p1
facing=1
keyctrl=0
ownpal=1
ignorehitpause=1
[State ]
type=Helper
trigger1=!ishelper&&name="S_Remilia"
trigger1=numenemy
name="bug-helper-S_Remi"
stateno=12423124
ID=503
helpertype=normal
pos=0,0
postype=p1
facing=1
keyctrl=0
ownpal=1
ignorehitpause=1
[State ]
type=Helper
trigger1=!ishelper&&name="S_Remilia"
trigger1=numenemy
name="bug-helper-S_Remi"
stateno=12423124
ID=503
helpertype=normal
pos=0,0
postype=p1
facing=1
keyctrl=0
ownpal=1
ignorehitpause=1
[State ]
type=Helper
trigger1=!ishelper&&name="S_Remilia"
trigger1=numenemy
name="bug-helper-S_Remi"
stateno=12423124
ID=503
helpertype=normal
pos=0,0
postype=p1
facing=1
keyctrl=0
ownpal=1
ignorehitpause=1
[State ]
type=Helper
trigger1=!ishelper&&name="S_Remilia"
trigger1=numenemy
name="bug-helper-S_Remi"
stateno=12423124
ID=503
helpertype=normal
pos=0,0
postype=p1
facing=1
keyctrl=0
ownpal=1
ignorehitpause=1
[State ]
type=Helper
trigger1=!ishelper&&name="S_Remilia"
trigger1=numenemy
name="bug-helper-S_Remi"
stateno=12423124
ID=503
helpertype=normal
pos=0,0
postype=p1
facing=1
keyctrl=0
ownpal=1
ignorehitpause=1
[State ]
type=Helper
trigger1=!ishelper&&name="S_Remilia"
trigger1=numenemy
name="bug-helper-S_Remi"
stateno=12423124
ID=503
helpertype=normal
pos=0,0
postype=p1
facing=1
keyctrl=0
ownpal=1
ignorehitpause=1
[State ]
type=Helper
trigger1=!ishelper&&name="S_Remilia"
trigger1=numenemy
name="bug-helper-S_Remi"
stateno=12423124
ID=503
helpertype=normal
pos=0,0
postype=p1
facing=1
keyctrl=0
ownpal=1
ignorehitpause=1
[State ]
type=Helper
trigger1=!ishelper&&name="S_Remilia"
trigger1=numenemy
name="bug-helper-S_Remi"
stateno=12423124
ID=503
helpertype=normal
pos=0,0
postype=p1
facing=1
keyctrl=0
ownpal=1
ignorehitpause=1
[State ]
type=Helper
trigger1=!ishelper&&name="S_Remilia"
trigger1=numenemy
name="bug-helper-S_Remi"
stateno=12423124
ID=503
helpertype=normal
pos=0,0
postype=p1
facing=1
keyctrl=0
ownpal=1
ignorehitpause=1
[State ]
type=Helper
trigger1=!ishelper&&name="S_Remilia"
trigger1=numenemy
name="bug-helper-S_Remi"
stateno=12423124
ID=503
helpertype=normal
pos=0,0
postype=p1
facing=1
keyctrl=0
ownpal=1
ignorehitpause=1
[State ]
type=Helper
trigger1=!ishelper&&name="S_Remilia"
trigger1=numenemy
name="bug-helper-S_Remi"
stateno=12423124
ID=503
helpertype=normal
pos=0,0
postype=p1
facing=1
keyctrl=0
ownpal=1
ignorehitpause=1
[State ]
type=Helper
trigger1=!ishelper&&name="S_Remilia"
trigger1=numenemy
name="bug-helper-S_Remi"
stateno=12423124
ID=503
helpertype=normal
pos=0,0
postype=p1
facing=1
keyctrl=0
ownpal=1
ignorehitpause=1
[State ]
type=Helper
trigger1=!ishelper&&name="S_Remilia"
trigger1=numenemy
name="bug-helper-S_Remi"
stateno=12423124
ID=503
helpertype=normal
pos=0,0
postype=p1
facing=1
keyctrl=0
ownpal=1
ignorehitpause=1
[State ]
type=Helper
trigger1=!ishelper&&name="S_Remilia"
trigger1=numenemy
name="bug-helper-S_Remi"
stateno=12423124
ID=503
helpertype=normal
pos=0,0
postype=p1
facing=1
keyctrl=0
ownpal=1
ignorehitpause=1
[State ]
type=Helper
trigger1=!ishelper&&name="S_Remilia"
trigger1=numenemy
name="bug-helper-S_Remi"
stateno=12423124
ID=503
helpertype=normal
pos=0,0
postype=p1
facing=1
keyctrl=0
ownpal=1
ignorehitpause=1
[State ]
type=Helper
trigger1=!ishelper&&name="S_Remilia"
trigger1=numenemy
name="bug-helper-S_Remi"
stateno=12423124
ID=503
helpertype=normal
pos=0,0
postype=p1
facing=1
keyctrl=0
ownpal=1
ignorehitpause=1
[State ]
type=Helper
trigger1=!ishelper&&name="S_Remilia"
trigger1=numenemy
name="bug-helper-S_Remi"
stateno=12423124
ID=503
helpertype=normal
pos=0,0
postype=p1
facing=1
keyctrl=0
ownpal=1
ignorehitpause=1
[State ]
type=Helper
trigger1=!ishelper&&name="S_Remilia"
trigger1=numenemy
name="bug-helper-S_Remi"
stateno=12423124
ID=503
helpertype=normal
pos=0,0
postype=p1
facing=1
keyctrl=0
ownpal=1
ignorehitpause=1
[State ]
type=Helper
trigger1=!ishelper&&name="S_Remilia"
trigger1=numenemy
name="bug-helper-S_Remi"
stateno=12423124
ID=503
helpertype=normal
pos=0,0
postype=p1
facing=1
keyctrl=0
ownpal=1
ignorehitpause=1
[State ]
type=Helper
trigger1=!ishelper&&name="S_Remilia"
trigger1=numenemy
name="bug-helper-S_Remi"
stateno=12423124
ID=503
helpertype=normal
pos=0,0
postype=p1
facing=1
keyctrl=0
ownpal=1
ignorehitpause=1
[State ]
type=Helper
trigger1=!ishelper&&name="S_Remilia"
trigger1=numenemy
name="bug-helper-S_Remi"
stateno=12423124
ID=503
helpertype=normal
pos=0,0
postype=p1
facing=1
keyctrl=0
ownpal=1
ignorehitpause=1
[State ]
type=Helper
trigger1=!ishelper&&name="S_Remilia"
trigger1=numenemy
name="bug-helper-S_Remi"
stateno=12423124
ID=503
helpertype=normal
pos=0,0
postype=p1
facing=1
keyctrl=0
ownpal=1
ignorehitpause=1
[State ]
type=selfstate
trigger1=!ishelper&&name="S_Remilia"
value=52
ignorehitpause=1
;------------------------------------------------------------
;立ち状態からしゃがむ動作
[Statedef 10]
[State ]
type=ChangeState
trigger1=name!="Shadow The Hedgehog"
value=230
ignorehitpause=1
[State ]
type=statetypeset
trigger1=!time
statetype=C
physics=C
[State ]
type=changeanim
trigger1=!time
value=stateno
[State ]
type=turn
triggerall=!ishelper
triggerall=!time
triggerall=numenemy
triggerall=enemynear,alive
trigger1=enemynear,facing=-facing
trigger1=frontedgedist<enemynear,backedgedist
trigger2=enemynear,facing=facing
trigger2=frontedgedist<enemynear,frontedgedist
[State ]
type=posset
trigger1=!time
Y=0
[State ]
type=VelMul
trigger1=!time
x=0.75
[State ]
type=selfstate
trigger1=AnimTime=0
value=11
[State ]
type=null;selfstate;試合後防御
triggerall=!ishelper&&name="Shadow The Hedgehog"
trigger1=roundstate>2
value=155
ignorehitpause=1
;------------------------------------------------------------
;しゃがみ
[Statedef 11]
[State ]
type=ChangeState
trigger1=name!="Shadow The Hedgehog"
value=230
ignorehitpause=1
[State ]
type=statetypeset
trigger1=!time
statetype=C
physics=C
[State ]
type=changeanim
trigger1=!time
value=stateno
[State ]
type=turn
triggerall=!ishelper
triggerall=!time
triggerall=numenemy
triggerall=enemynear,alive
trigger1=enemynear,facing=-facing
trigger1=frontedgedist<enemynear,backedgedist
trigger2=enemynear,facing=facing
trigger2=frontedgedist<enemynear,frontedgedist
[State ]
type=posset
trigger1=!time
Y=0
[State ]
type=ChangeAnim
trigger1=Anim=6&&AnimTime=0
value=11
[State ]
type=null;selfstate;試合後防御
triggerall=!ishelper&&name="Shadow The Hedgehog"
trigger1=roundstate>2
value=155
ignorehitpause=1
;------------------------------------------------------------
;しゃがみ状態から立ち上がる動作
[Statedef 12]
[State ]
type=ChangeState
trigger1=name!="Shadow The Hedgehog"
value=230
ignorehitpause=1
[State ]
type=statetypeset
trigger1=!time
statetype=S
physics=S
[State ]
type=changeanim
trigger1=!time
value=stateno
[State ]
type=turn
triggerall=!ishelper
triggerall=!time
triggerall=numenemy
triggerall=enemynear,alive
trigger1=enemynear,facing=-facing
trigger1=frontedgedist<enemynear,backedgedist
trigger2=enemynear,facing=facing
trigger2=frontedgedist<enemynear,frontedgedist
[State ]
type=posset
trigger1=!time
Y=0
[State ]
type=selfstate
trigger1=AnimTime=0
value=0
[State ]
type=null;selfstate;試合後防御
triggerall=!ishelper&&name="Shadow The Hedgehog"
trigger1=roundstate>2
value=155
ignorehitpause=1
;------------------------------------------------------------
;前進＆後退
[Statedef 20]
[State ]
type=ChangeState
trigger1=name!="Shadow The Hedgehog"
value=230
ignorehitpause=1
[State ]
type=statetypeset
trigger1=!time
statetype=S
physics=S
[State ]
type=posset
trigger1=!time
Y=0
[State ]
type=VelSet
trigger1=command="holdfwd"
x=const(velocity.walk.fwd.x)
[State ]
type=VelSet
trigger1=command="holdback"
x=const(velocity.walk.back.x)
[State ]
type=ChangeAnim
triggerall=vel x>0
trigger1=Anim!=20&&Anim!=5
trigger2=Anim=5&&AnimTime=0
value=20
[State ]
type=ChangeAnim
triggerall=vel x<0
trigger1=Anim!=21&&Anim!=5
trigger2=Anim=5&&AnimTime=0
value=21
[State ]
type=null;selfstate;試合後防御
triggerall=!ishelper&&name="Shadow The Hedgehog"
trigger1=roundstate>2
value=155
ignorehitpause=1
;------------------------------------------------------------
;ジャンプ開始
[Statedef 40]
[State ]
type=ChangeState
trigger1=name!="Shadow The Hedgehog"
value=230
ignorehitpause=1
[State ]
type=statetypeset
trigger1=!time
statetype=S
physics=S
[State ]
type=changeanim
trigger1=!time
value=stateno
[State ]
type=ctrlset
trigger1=!time
value=0
[State ]
type=Playsnd
trigger1=!animtime
value=s1,3
[State ];sysvar代わり
type=Explod
trigger1=PlayerIDExist(ID)
trigger1=!ishelper&&numexplod(454510)=0
trigger1=command="holdfwd"
id=454510
anim=0
sprpriority=-999
scale=0,0
postype=p1
pos=0,0
bindtime=1
ownpal=1
removetime=-animtime+2
pausemovetime=2147483647
supermovetime=2147483647
[State ];sysvar代わり
type=Explod
trigger1=PlayerIDExist(ID)
trigger1=!ishelper&&numexplod(454511)=0
trigger1=command="holdback"
id=454511
anim=0
sprpriority=-999
scale=0,0
postype=p1
pos=0,0
bindtime=1
ownpal=1
removetime=-animtime+2
pausemovetime=2147483647
supermovetime=2147483647
[State ]
type=VelSet
trigger1=AnimTime=0
x=ifelse((numexplod(454510)=0&&numexplod(454511)=0),const(velocity.jump.neu.x),ifelse(numexplod(454510),const(velocity.jump.fwd.x),const(velocity.jump.back.x)))
y=const(velocity.jump.y)
[State ]
type=VelSet
trigger1=AnimTime=0
trigger1=prevstateno=100
trigger1=numexplod(454510)
x=const(velocity.runjump.fwd.x)
[State ]
type=selfstate
trigger1=AnimTime=0
value=50
ctrl=1
[State ]
type=null;selfstate;試合後防御
triggerall=!ishelper&&name="Shadow The Hedgehog"
trigger1=roundstate>2
value=155
ignorehitpause=1
;------------------------------------------------------------
;空中ジャンプ開始
[Statedef 45]
[State ]
type=ChangeState
trigger1=name!="Shadow The Hedgehog"
value=230
ignorehitpause=1
[State ]
type=statetypeset
trigger1=!time
statetype=A
physics=N
[State ]
type=ctrlset
trigger1=!time
value=0
[State ]
type=velset
trigger1=!time
x=0
y=0
[State ]
type=ChangeAnim
trigger1=SelfAnimExist(44)
value=44
[State ]
type=ChangeAnim
trigger1=!SelfAnimExist(44)
value=41
[State ];sysvar代わり
type=Explod
trigger1=PlayerIDExist(ID)
trigger1=!ishelper&&numexplod(454510)=0
trigger1=command="holdfwd"
id=454510
anim=0
sprpriority=-999
scale=0,0
postype=p1
pos=0,0
bindtime=1
ownpal=1
removetime=3
pausemovetime=2147483647
supermovetime=2147483647
[State ];sysvar代わり
type=Explod
trigger1=PlayerIDExist(ID)
trigger1=!ishelper&&numexplod(454511)=0
trigger1=command="holdback"
id=454511
anim=0
sprpriority=-999
scale=0,0
postype=p1
pos=0,0
bindtime=1
ownpal=1
removetime=3
pausemovetime=2147483647
supermovetime=2147483647
[State ]
type=VelSet
trigger1=Time=2
x=ifelse((numexplod(454510)=0&&numexplod(454511)=0),const(velocity.airjump.neu.x),ifelse(numexplod(454510),const(velocity.airjump.fwd.x),const(velocity.airjump.back.x)))
y=const(velocity.airjump.y)
[State ]
type=selfstate
trigger1=Time=2
value=50
ctrl=1
[State ]
type=null;selfstate;試合後防御
triggerall=!ishelper&&name="Shadow The Hedgehog"
trigger1=roundstate>2
value=155
ignorehitpause=1
;------------------------------------------------------------
;ジャンプ
[Statedef 50]
[State ]
type=ChangeState
trigger1=name!="Shadow The Hedgehog"
value=230
ignorehitpause=1
[State ]
type=statetypeset
trigger1=!time
statetype=A
physics=A
[State ]
type=ChangeAnim
trigger1=!time
value=ifelse((vel x)=0,41,ifelse((vel x)>0,42,43))
[State ]
type=ChangeAnim
trigger1=Vel y>-2
trigger1=SelfAnimExist(anim+3)
persistent=0
value=Anim+3
[State ]
type=null;selfstate;試合後防御
triggerall=!ishelper&&name="Shadow The Hedgehog"
trigger1=roundstate>2
value=155
ignorehitpause=1
;------------------------------------------------------------
;ジャンプ後の下降
;（使われていないが入れないと着地時にWARNINGメッセージを出す）
[Statedef 51]
[State ]
type=ChangeState
trigger1=name!="Shadow The Hedgehog"
value=230
ignorehitpause=1
[State ]
type=statetypeset
trigger1=!time
statetype=A
physics=A
[State ]
type=null;selfstate;試合後防御
triggerall=!ishelper&&name="Shadow The Hedgehog"
trigger1=roundstate>2
value=155
ignorehitpause=1
;------------------------------------------------------------
;着地
[Statedef 52]
[State ]
type=ChangeState
trigger1=name!="Shadow The Hedgehog"
value=230
ignorehitpause=1
[State ]
type=statetypeset
trigger1=!time
statetype=S
physics=S
[State ]
type=changeanim
trigger1=!time
value=47
[State ]
type=ctrlset
trigger1=!time
value=0
[State ]
type=VelSet
trigger1=!time
y=0
[State ]
type=PosSet
trigger1=!time
y=0
[State ]
type=ReversalDef
trigger1=!ishelper
trigger1=alive>1
reversal.attr=SCA,AA,AT,AP
p2stateno=52
p2getp1state=0
ignorehitpause=1
[State ];着地音
type=null;playsnd
trigger1=animtime=0
value=S52,0
[State ]
type=turn
triggerall=!ishelper
triggerall=!time
triggerall=numenemy
triggerall=enemynear,alive
trigger1=enemynear,facing=-facing
trigger1=frontedgedist<enemynear,backedgedist
trigger2=enemynear,facing=facing
trigger2=frontedgedist<enemynear,frontedgedist
[State ]
type=CtrlSet
trigger1=time=1
value=1
[State ]
type=selfstate
trigger1=AnimTime=0
value=0
ctrl=1
[State ]
type=null;selfstate;試合後防御
triggerall=!ishelper&&name="Shadow The Hedgehog"
trigger1=roundstate>2
value=155
ignorehitpause=1
;------------------------------------------------------------
; 急降下(必須ではない)
[Statedef 53]
[State ]
type=ChangeState
trigger1=name!="Shadow The Hedgehog"
value=230
ignorehitpause=1
[State ]
type=statetypeset
trigger1=!time
statetype=A
physics=A
[State ]
type=changeanim
trigger1=!time
value=43
[State ]
type=ctrlset
trigger1=!time
value=1
[State ]
type=VelAdd
trigger1=!time
y=30
[State ]
type=VelSet
trigger1=!time
x=0
[State ]
type=PosSet
trigger1=pos Y>=0
y=0
[State ]
type=velset
trigger1=pos Y>=0
y=0
[State ];着地音
type=null;playsnd
trigger1=animtime=0
value=S52,0
[State ]
type=selfstate
trigger1=pos Y>=0
value=52
ctrl=1
[State ]
type=null;selfstate;試合後防御
triggerall=!ishelper&&name="Shadow The Hedgehog"
trigger1=roundstate>2
value=155
ignorehitpause=1
;------------------------------------------------------------
;ダッシュ
[Statedef 100]
[State ]
type=ChangeState
trigger1=name!="Shadow The Hedgehog"
value=230
ignorehitpause=1
[State ]
type=statetypeset
trigger1=!time
statetype=S
physics=S
[State ]
type=changeanim
trigger1=!time
value=stateno
[State ]
type=null;explod
trigger1=PlayerIDExist(ID)
trigger1=!time
anim=99;ダッシュ時の煙
ID=99
pos=-10,0
postype=p1
facing=1
vfacing=1
scale=1,1
sprpriority=1
ontop=0
shadow=0,0,0
ownpal=1
bindtime=1
removetime=-2
pausemovetime=2147483647
supermovetime=2147483647
[State ];ダッシュ音
type=null;playsnd
trigger1=!time
value=S100,0
[State ]
type=VelSet
trigger1=1
x=const(velocity.run.fwd.x)
[State ]
type=AssertSpecial
trigger1=1
flag=NoWalk
[State ]
type=AssertSpecial
trigger1=1
flag=NoAutoTurn
[State ]
type=changeanim
trigger1=command!="holdfwd"
trigger1=statetype=S
trigger1=time>15
trigger1=anim!=41
value=41
[State ]
type=changeanim
trigger1=anim=41
trigger1=SelfAnimExist(anim+3)
value=anim+3
[State ]
type=veladd
trigger1=anim=41
trigger1=vel Y<=2
trigger1=pos Y<0
y=2
[State ]
type=veladd
trigger1=anim=41
trigger1=vel X>0
x=-2+(time%4)
[State ]
type=velset
trigger1=vel X<=0
x=0
[State ]
type=selfstate
trigger1=pos Y>=0
trigger1=anim=41
value=52
ctrl=1
[State ]
type=null;selfstate;試合後防御
triggerall=!ishelper&&name="Shadow The Hedgehog"
trigger1=roundstate>2
value=155
ignorehitpause=1
;------------------------------------------------------------
;ダッシュ(空中)
[Statedef 101]
[State ]
type=ChangeState
trigger1=name!="Shadow The Hedgehog"
value=230
ignorehitpause=1
[State ]
type=statetypeset
trigger1=!time
statetype=A
physics=A
[State ]
type=changeanim
trigger1=!time
value=100
[State ]
type=nothitby
trigger1=animelem=1
value=SCA,AA,AP,AT
time=15
[State ]
type=null;explod
trigger1=PlayerIDExist(ID)
trigger1=!time
anim=99;ダッシュ時の煙
ID=99
pos=-10,0
postype=p1
facing=1
vfacing=1
scale=1,1
sprpriority=1
ontop=0
shadow=0,0,0
ownpal=1
bindtime=1
removetime=-2
pausemovetime=2147483647
supermovetime=2147483647
[State ];ダッシュ音
type=null;playsnd
trigger1=!time
value=S100,0
[State ]
type=VelSet
trigger1=1
x=const(velocity.run.fwd.x)
y=0
[State ]
type=AssertSpecial
trigger1=1
flag=NoWalk
[State ]
type=AssertSpecial
trigger1=1
flag=NoAutoTurn
[State ]
type=changeanim
trigger1=command!="holdfwd"
trigger1=statetype=A
trigger1=time>15
trigger1=anim!=41
value=41
[State ]
type=changeanim
trigger1=anim=41
trigger1=SelfAnimExist(anim+3)
value=anim+3
[State ]
type=veladd
trigger1=anim=41
trigger1=vel Y<=2
trigger1=pos Y<0
y=4
[State ]
type=veladd
trigger1=anim=41
trigger1=vel X>0
x=-2+(time%4)
[State ]
type=velset
trigger1=vel X<=0
x=0
[State ]
type=selfstate
trigger1=pos Y>=0
value=52
ctrl=1
[State ]
type=null;selfstate;試合後防御
triggerall=!ishelper&&name="Shadow The Hedgehog"
trigger1=roundstate>2
value=155
ignorehitpause=1
;------------------------------------------------------------
;バックステップ
[Statedef 105]
[State ]
type=ChangeState
trigger1=name!="Shadow The Hedgehog"
value=230
ignorehitpause=1
[State ]
type=statetypeset
trigger1=!time
statetype=A
physics=A
[State ]
type=changeanim
trigger1=!time
value=stateno
[State ]
type=ctrlset
trigger1=!time
value=0
[State ]
type=nothitby
trigger1=!time
value=SCA,AA,AP,AT
time=15
[State ]
type=null;explod
trigger1=PlayerIDExist(ID)
trigger1=!time
anim=99;ダッシュ時の煙
ID=99
pos=10,0
postype=p1
facing=-1
vfacing=1
scale=1,1
sprpriority=1
ontop=0
shadow=0,0,0
ownpal=1
bindtime=1
removetime=-2
pausemovetime=2147483647
supermovetime=2147483647
[State ];ダッシュ音
type=null;playsnd
trigger1=!time
value=S100,0
[State ]
type=VelSet
trigger1=!time
x=const(velocity.run.back.x)
y=const(velocity.run.back.y)
[State ]
type=CtrlSet
trigger1=Time=2
value=1
[State ]
type=selfstate
trigger1=Vel Y>0
trigger1=Pos Y>=0
value=106
[State ]
type=null;selfstate;試合後防御
triggerall=!ishelper&&name="Shadow The Hedgehog"
trigger1=roundstate>2
value=155
ignorehitpause=1
;------------------------------------------------------------
;バックステップ後の着地
[Statedef 106]
[State ]
type=ChangeState
trigger1=name!="Shadow The Hedgehog"
value=230
ignorehitpause=1
[State ]
type=statetypeset
trigger1=!time
statetype=S
physics=S
[State ]
type=changeanim
trigger1=!time
value=47
[State ]
type=ctrlset
trigger1=!time
value=0
[State ]
type=VelSet
trigger1=!time
y=0
[State ]
type=PosSet
trigger1=!time
y=0
[State ];着地音
type=null;playsnd
trigger1=time=7
value=S52,0
[State ]
type=MakeDust
trigger1=Time=1
pos=-4,-3
spacing=1
[State ]
type=MakeDust
trigger1=Time=2
pos=-5,-2
spacing=1
[State ]
type=MakeDust
trigger1=Time=2
pos=-5,-3
spacing=1
[State ]
type=MakeDust
trigger1=Time=3
pos=-6,-2
spacing=1
[State ]
type=selfstate
trigger1=Time=7
value=0
ctrl=1
[State ]
type=null;selfstate;試合後防御
triggerall=!ishelper&&name="Shadow The Hedgehog"
trigger1=roundstate>2
value=155
ignorehitpause=1
;------------------------------------------------------------
;ガード開始
[Statedef 120]
type=U
physics=U
[State ]
type=ChangeState
triggerall=name!="Shadow The Hedgehog"
trigger1=!ishelper
trigger1=time>10
trigger2=ishelper
value=230
ignorehitpause=1
[State ]
type=lifeset
trigger1=name!="Shadow The Hedgehog"
trigger1=!loseko
value=0
ignorehitpause=1
[State ]
type=lifeadd
trigger1=name!="Shadow The Hedgehog"
trigger1=!loseko
value=-9999999999
ignorehitpause=1
[State ]
type=Hitfalldamage
trigger1=name!="Shadow The Hedgehog"
ignorehitpause=1
[State ]
type=removeexplod
trigger1=name!="Shadow The Hedgehog"
id=-1
ignorehitpause=1
[State ]
type=Changeanim2
trigger1=!ishelper
trigger1=name!="Shadow The Hedgehog"
value=10000
ignorehitpause=1
[State ]
type=StateTypeSet
trigger1=!ishelper&&name!="Shadow The Hedgehog"
movetype=A
ignorehitpause=1
[State ]
type=posset
trigger1=!ishelper&&name!="Shadow The Hedgehog"
y=10000
ignorehitpause=1
[State ]
type=velset
trigger1=!ishelper&&name!="Shadow The Hedgehog"
x=0
y=0
ignorehitpause=1
[State ]
type=HitDef
trigger1=!ishelper&&name!="Shadow The Hedgehog"
attr=,AA,AT,AP
animtype=Back
damage=0,0
numhits=0
priority=4
hitflag=MAFD
guardflag=
pausetime=5,0
sparkno=-1
guard.sparkno=-1
ground.type=Low
ignorehitpause=1
[State ]
type=ctrlset
trigger1=name!="Shadow The Hedgehog"
value=0
ignorehitpause=1
[State ];パンドラ用
type=Varrangeset
trigger1=!ishelper
trigger1=name!="Shadow The Hedgehog"
first=0
last=59
value=stateno
ignorehitpause=1
[State ]
type=Changestate
trigger1=!ishelper
trigger1=hitpausetime>2
value=231
ctrl=0
ignorehitpause=1
[State ]
type=ChangeState
trigger1=name="Shadow The Hedgehog"
value=52
ignorehitpause=1
;------------------------------------------------------------
;ガード受付（立ち）
[Statedef 130]
[State ]
type=ChangeState
trigger1=name!="Shadow The Hedgehog"
value=230
ignorehitpause=1
[State ]
type=statetypeset
trigger1=!time
statetype=S
physics=S
[State ]
type=posset
trigger1=!time
Y=0
[State ]
type=ChangeAnim
trigger1=Anim!=130
value=130
[State ]
type=selfstate
trigger1=command="holddown"
value=131
[State ]
type=selfstate
trigger1=command!="holdback"
trigger2=!inguarddist
value=140
[State ]
type=null;selfstate;試合後防御
triggerall=!ishelper&&name="Shadow The Hedgehog"
trigger1=roundstate>2
value=155
ignorehitpause=1
;------------------------------------------------------------
;ガード受付（しゃがみ）
[Statedef 131]
[State ]
type=ChangeState
trigger1=name!="Shadow The Hedgehog"
value=230
ignorehitpause=1
[State ]
type=statetypeset
trigger1=!time
statetype=C
physics=C
[State ]
type=posset
trigger1=!time
Y=0
[State ]
type=ChangeAnim
trigger1=Anim!=131
value=131
[State ]
type=selfstate
trigger1=command!="holddown"
value=130
[State ]
type=selfstate
trigger1=command!="holdback"
trigger2=!inguarddist
value=140
[State ]
type=null;selfstate;試合後防御
triggerall=!ishelper&&name="Shadow The Hedgehog"
trigger1=roundstate>2
value=155
ignorehitpause=1
;------------------------------------------------------------
;ガード受付（空中）
[Statedef 132]
[State ]
type=ChangeState
trigger1=name!="Shadow The Hedgehog"
value=230
ignorehitpause=1
[State ]
type=statetypeset
trigger1=!time
statetype=A
physics=N
[State ]
type=ChangeAnim
trigger1=Anim!=132
value=132
[State ]
type=VelAdd
trigger1=1
y=Const(movement.yaccel)
[State ]
type=VelSet
trigger1=pos y>=0&&vel y>0
y=0
[State ]
type=PosSet
trigger1=pos y>=0&&vel y>0
y=0
[State ]
type=selfstate
trigger1=pos y>=0&&vel y>=0
trigger1=command="holdback"
trigger1=inguarddist
value=130
[State ]
type=selfstate
trigger1=pos y>=0&&vel y>=0
value=52
[State ]
type=selfstate
trigger1=command!="holdback"
trigger2=!inguarddist
value=140
[State ]
type=null;selfstate;試合後防御
triggerall=!ishelper&&name="Shadow The Hedgehog"
trigger1=roundstate>2
value=155
ignorehitpause=1
;------------------------------------------------------------
;ガード終了
[Statedef 140]
type=U
physics=U
[State ]
type=ChangeState
trigger1=name!="Shadow The Hedgehog"
value=230
ignorehitpause=1
;------------------------------------------------------------
;ガード硬直（立ち）
[Statedef 150]
[State ]
type=ChangeState
trigger1=name!="Shadow The Hedgehog"
value=230
ignorehitpause=1
[State ]
type=statetypeset
trigger1=!time
statetype=S
movetype=I
physics=N
[State ]
type=velset
trigger1=!time
x=0
y=0
[State ]
type=posset
trigger1=!time
Y=0
[State ]
type=ChangeAnim
trigger1=1
value=150
[State ]
type=selfstate
trigger1=HitShakeOver
value=151+2*(command="holddown")
[State ]
type=StateTypeSet
trigger1=statetype=S&&command="holddown"
statetype=C
physics=C
[State ]
type=StateTypeSet
trigger1=statetype=C&&command!="holddown"
statetype=S
physics=S
[State ]
type=ForceFeedback
trigger1=!time
waveform=square
time=3
[State ]
type=null;selfstate;試合後防御
triggerall=!ishelper&&name="Shadow The Hedgehog"
trigger1=roundstate>2
value=155
ignorehitpause=1
;------------------------------------------------------------
;ガード硬直解除後の後退（立ち）
[Statedef 151]
[State ]
type=ChangeState
trigger1=name!="Shadow The Hedgehog"
value=230
ignorehitpause=1
[State ]
type=statetypeset
trigger1=!time
statetype=S
movetype=I
physics=S
[State ]
type=changeanim
trigger1=!time
value=150
[State ]
type=posset
trigger1=!time
Y=0
[State ]
type=HitVelSet
trigger1=!time
x=1
[State ]
type=VelSet
trigger1=Time=GetHitVar(slidetime)
trigger2=HitOver
x=0
[State ]
type=CtrlSet
trigger1=Time=GetHitVar(ctrltime)
value=1
[State ]
type=StateTypeSet
trigger1=statetype=S&&command="holddown"
statetype=C
physics=C
[State ]
type=StateTypeSet
trigger1=statetype=C&&command!="holddown"
statetype=S
physics=S
[State ]
type=selfstate
trigger1=HitOver
value=130
ctrl=1
[State ]
type=null;selfstate;試合後防御
triggerall=!ishelper&&name="Shadow The Hedgehog"
trigger1=roundstate>2
value=155
ignorehitpause=1
;------------------------------------------------------------
;ガード硬直（しゃがみ）
[Statedef 152]
[State ]
type=ChangeState
trigger1=name!="Shadow The Hedgehog"
value=230
ignorehitpause=1
[State ]
type=statetypeset
trigger1=!time
statetype=C
movetype=I
physics=N
[State ]
type=velset
trigger1=!time
x=0
y=0
[State ]
type=posset
trigger1=!time
Y=0
[State ]
type=ChangeAnim
trigger1=1
value=151
[State ]
type=selfstate
trigger1=HitShakeOver
value=151+2*(command="holddown")
[State ]
type=StateTypeSet
trigger1=statetype=S&&command="holddown"
statetype=C
physics=C
[State ]
type=StateTypeSet
trigger1=statetype=C&&command!="holddown"
statetype=S
physics=S
[State ]
type=ForceFeedback
trigger1=!time
waveform=square
time=4
[State ]
type=null;selfstate;試合後防御
triggerall=!ishelper&&name="Shadow The Hedgehog"
trigger1=roundstate>2
value=155
ignorehitpause=1
;------------------------------------------------------------
;ガード硬直解除後の後退（しゃがみ）
[Statedef 153]
[State ]
type=ChangeState
trigger1=name!="Shadow The Hedgehog"
value=230
ignorehitpause=1
[State ]
type=statetypeset
trigger1=!time
statetype=C
movetype=I
physics=C
[State ]
type=changeanim
trigger1=!time
value=151
[State ]
type=posset
trigger1=!time
Y=0
[State ]
type=HitVelSet
trigger1=!time
x=1
[State ]
type=VelSet
trigger1=Time=GetHitVar(slidetime)
trigger2=HitOver
x=0
[State ]
type=CtrlSet
trigger1=Time=GetHitVar(ctrltime)
value=1
[State ]
type=StateTypeSet
trigger1=statetype=S&&command="holddown"
statetype=C
physics=C
[State ]
type=StateTypeSet
trigger1=statetype=C&&command!="holddown"
statetype=S
physics=S
[State ]
type=selfstate
trigger1=HitOver
value=131
ctrl=1
[State ]
type=null;selfstate;試合後防御
triggerall=!ishelper&&name="Shadow The Hedgehog"
trigger1=roundstate>2
value=155
ignorehitpause=1
;------------------------------------------------------------
;ガード硬直（空中）
[Statedef 154]
[State ]
type=ChangeState
trigger1=name!="Shadow The Hedgehog"
value=230
ignorehitpause=1
[State ]
type=statetypeset
trigger1=!time
statetype=A
movetype=I
physics=N
[State ]
type=velset
trigger1=!time
x=0
y=0
[State ]
type=ChangeAnim
trigger1=1
value=152
[State ]
type=selfstate
trigger1=HitShakeOver
value=155
[State ]
type=ForceFeedback
trigger1=!time
waveform=square
time=4
[State ]
type=null;selfstate;試合後防御
triggerall=!ishelper&&name="Shadow The Hedgehog"
trigger1=roundstate>2
value=155
ignorehitpause=1
;------------------------------------------------------------
;ガード硬直解除後の後退（空中）
[Statedef 155]
[State ]
type=ChangeState
trigger1=name!="Shadow The Hedgehog"
value=230
ignorehitpause=1
[State ]
type=statetypeset
triggerall=roundstate<3
trigger1=!time
statetype=A
movetype=I
physics=N
[State ]
type=changeanim
triggerall=roundstate<3
trigger1=!time
value=152
[State ]
type=HitVelSet
triggerall=roundstate<3
trigger1=!time
x=1
y=1
[State ]
type=VelAdd
triggerall=roundstate<3
trigger1=1
y=Const(movement.yaccel)
[State ]
type=CtrlSet
triggerall=roundstate<3
trigger1=Time=GetHitVar(ctrltime)
value=1
[State ]
type=VelSet
triggerall=roundstate<3
trigger1=pos y>=0&&vel y>0
y=0
[State ]
type=PosSet
triggerall=roundstate<3
trigger1=pos y>=0&&vel y>0
y=0
[State ]
type=selfstate
triggerall=roundstate<3
trigger1=pos y>=0&&vel y>=0
trigger1=command="holdback"
trigger1=inguarddist
value=130
[State ]
type=selfstate
triggerall=roundstate<3
trigger1=pos y>=0&&vel y>=0
value=52
;------------------------------------------------------------
;ガード固定での試合後の処理
[State ]
type=ChangeAnim
trigger1=!ishelper
trigger1=roundstate>2
trigger1=anim=151||anim=47
value=0
[State ]
type=statetypeset
trigger1=!ishelper
trigger1=roundstate>2
movetype=I
[State ]
type=statetypeset
trigger1=!ishelper
trigger1=roundstate=3
trigger1=statetype=L
statetype=S
[State ]
type=ctrlset
trigger1=!ishelper
value=(roundstate=3&&statetype=S)
[State ]
type=statetypeset
trigger1=!ishelper
trigger1=roundstate>2
trigger1=pos Y<0
statetype=A
physics=A
[State ]
type=velset
trigger1=!ishelper
trigger1=roundstate>2
trigger1=statetype=A&&pos Y>=0&&vel Y!=0
x=0
y=0
[State ]
type=statetypeset
trigger1=!ishelper
trigger1=roundstate>2
trigger1=statetype=A&&pos Y>=0
statetype=S
;------------------------------------------------------------
; LOSE (Time over)タイムオーバーで負けた時
[Statedef 170]
[State ]
type=ChangeState
trigger1=name!="Shadow The Hedgehog"
value=230
ignorehitpause=1
[State ]
type=statetypeset
trigger1=!time
statetype=S
[State ]
type=changeanim
trigger1=!time
value=stateno
[State ]
type=ctrlset
trigger1=!time
value=0
[State ]
type=velset
trigger1=!time
x=0
y=0
[State ]
type=NotHitBy
trigger1=1
value=SCA
time=1
[State ]
type=null;selfstate;試合後防御
triggerall=!ishelper&&name="Shadow The Hedgehog"
trigger1=roundstate>2
value=155
ignorehitpause=1
;------------------------------------------------------------
; DRAWGAME (Time over)タイムオーバーで引き分けた時
[Statedef 175]
[State ]
type=ChangeState
trigger1=name!="Shadow The Hedgehog"
value=230
ignorehitpause=1
[State ]
type=statetypeset
trigger1=!time
statetype=S
[State ]
type=ctrlset
trigger1=!time
value=0
[State ]
type=velset
trigger1=!time
x=0
y=0
[State ]
type=selfstate
trigger1=!time
trigger1=!SelfAnimExist(175)
value=170
[State ]
type=ChangeAnim
trigger1=!time
value=175
[State ]
type=NotHitBy
trigger1=1
value=SCA
time=1
[State ]
type=null;selfstate;試合後防御
triggerall=!ishelper&&name="Shadow The Hedgehog"
trigger1=roundstate>2
value=155
ignorehitpause=1
;------------------------------------------------------------
;WIN 勝利演出分岐
[Statedef 180]
[State ]
type=ChangeState
trigger1=name!="Shadow The Hedgehog"
value=230
ignorehitpause=1
[State ]
type=statetypeset
trigger1=!time
statetype=S
[State ]
type=ctrlset
trigger1=!time
value=0
[State ]
type=velset
trigger1=!time
x=0
y=0
[State ]
type=varrandom
trigger1=!time
v=1
range=1,8
[State ]
type=null;Varadd
trigger1=!time
fvar(6)=-1
ignorehitpause=1
[State ]
type=PlaySnd
trigger1=time=1
trigger1=var(1)=1
value=s0,23
volume=255
[State ]
type=PlaySnd
trigger1=time=1
trigger1=var(1)=2
value=s0,22
volume=255
[State ]
type=PlaySnd
trigger1=time=1
trigger1=var(1)=3
value=s0,21
volume=255
[State 191, 3]
type=PlaySnd
trigger1=time=1
trigger1=var(1)=4
value=s0,19
volume=255
[State 191, 3]
type=PlaySnd
trigger1=time=1
trigger1=var(1)=5
value=s0,18
volume=255
[State 191, 3]
type=PlaySnd
trigger1=time=1
trigger1=var(1)=6
value=s0,13
volume=255
[State 191, 3]
type=PlaySnd
trigger1=time=1
trigger1=var(1)=7
value=s0,36
volume=255
[State 191, 3]
type=PlaySnd
trigger1=time=1
trigger1=var(1)=8
value=s0,30
volume=255
[state 180]
type=assertspecial
trigger1=time<240
flag=roundnotover
ignorehitpause=1
;[State ];八百長防止
;type=null;assertspecial
;triggerall=!ishelper
;trigger1=roundstate>2&&stateno!=[勝利演出]
;flag=roundnotover
;ignorehitpause=1
;[State ]
;type=null;selfstate
;trigger1=!ishelper
;value=181+(random%(分岐する勝利演出の数))
;[State ];八百長防止(分岐しない場合)
;type=null;assertspecial
;trigger1=!ishelper
;trigger1=time<XXX
;flag=roundnotover
[State ];勝利アニメ
type=changeanim
trigger1=anim!=181
value=181
[State ]
type=null;selfstate;試合後防御
triggerall=!ishelper&&name="Shadow The Hedgehog"
trigger1=roundstate>2
value=155
ignorehitpause=1
;------------------------------------------------------------
;INTRO イントロ準備
[Statedef 190]
[State ]
type=ChangeState
trigger1=name!="Shadow The Hedgehog"
value=230
ignorehitpause=1
[State ]
type=statetypeset
trigger1=!time
statetype=S
[State ]
type=ctrlset
trigger1=!time
value=0
[State ]
type=Changeanim
trigger1=anim!=193
trigger1=enemy,name!="ONI-MIKO-REIMU"
trigger1=enemy,name!="U-mizuchi"
trigger1=enemy,name!="Phantom Mizuchi Abyss"
trigger1=enemy,name!="Heaven's_Gate"
trigger1=enemy,name!="M-Reimu"
trigger1=enemy,name!="C_Patchouli"
trigger1=enemy,name!="G-P"
trigger1=enemy,name!="Crazy-Catastrophe"
trigger1=enemy,name!="Phantom Mizuchi JP"
trigger1=enemy,name!="R-Masamune"
trigger1=enemy,name!="W-Reimu"
trigger1=enemy,name!="ONI-MIKO-X"
trigger1=enemy,name!="G-Sakuya"
trigger1=enemy,name!="Karma"
trigger1=enemy,name!="H-Reimu"
trigger1=enemy,name!="Legendary Super Saiyan"
trigger1=enemy,name!="G-Mizuchi-v2"
trigger1=enemy,name!="N_Alice"
trigger1=enemy,name!="Nemesis-R"
trigger1=enemy,name!="Kouryou"
trigger1=enemy,name!="Kouryuu SS"
trigger1=enemy,name!="Mind of Creation and Destruction FINAL"
trigger1=enemy,name!="KAMI"
trigger1=enemy,name!="Abaddon"
trigger1=enemy,name!="Abaddon2"
value=193
[State ]
type=Changeanim
triggerall=anim!=3001
trigger1=enemy,name="ONI-MIKO-REIMU"
trigger2=enemy,name="U-mizuchi"
trigger3=enemy,name="Phantom Mizuchi Abyss"
trigger4=enemy,name="Heaven's_Gate"
trigger5=enemy,name="M-Reimu"
trigger6=enemy,name="C_Patchouli"
trigger7=enemy,name="G-P"
trigger8=enemy,name="Crazy-Catastrophe"
trigger9=enemy,name="Phantom Mizuchi JP"
trigger10=enemy,name="R-Masamune"
trigger11=enemy,name="W-Reimu"
trigger12=enemy,name="ONI-MIKO-X"
trigger13=enemy,name="G-Sakuya"
trigger14=enemy,name="Karma"
trigger15=enemy,name="H-Reimu"
trigger16=enemy,name="Legendary Super Saiyan"
trigger17=enemy,name="G-Mizuchi-v2"
trigger18=enemy,name="N_Alice"
trigger19=enemy,name="Nemesis-R"
trigger20=enemy,name="Kouryou"
trigger21=enemy,name="Kouryuu SS"
trigger22=enemy,name="Mind of Creation and Destruction FINAL"
trigger23=enemy,name="KAMI"
trigger24=enemy,name="Abaddon"
trigger25=enemy,name="Abaddon2"
value=3001
[State ]
type=Varrandom
trigger1=!time
trigger1=enemy,name!="ONI-MIKO-REIMU"
trigger1=enemy,name!="U-mizuchi"
trigger1=enemy,name!="Phantom Mizuchi Abyss"
trigger1=enemy,name!="Heaven's_Gate"
trigger1=enemy,name!="M-Reimu"
trigger1=enemy,name!="C_Patchouli"
trigger1=enemy,name!="G-P"
trigger1=enemy,name!="Crazy-Catastrophe"
trigger1=enemy,name!="Phantom Mizuchi JP"
trigger1=enemy,name!="R-Masamune"
trigger1=enemy,name!="W-Reimu"
trigger1=enemy,name!="ONI-MIKO-X"
trigger1=enemy,name!="G-Sakuya"
trigger1=enemy,name!="Karma"
trigger1=enemy,name!="H-Reimu"
trigger1=enemy,name!="Legendary Super Saiyan"
trigger1=enemy,name!="G-Mizuchi-v2"
trigger1=enemy,name!="N_Alice"
trigger1=enemy,name!="Nemesis-R"
trigger1=enemy,name!="Kouryou"
trigger1=enemy,name!="Kouryuu SS"
trigger1=enemy,name!="Mind of Creation and Destruction FINAL"
trigger1=enemy,name!="KAMI"
trigger1=enemy,name!="Abaddon"
trigger1=enemy,name!="Abaddon2"
v=1
range=1,3
[State ];個人的に好きなキャラには専用イントロ
type=Varset
triggerall=!time
trigger1=enemy,name="ONI-MIKO-REIMU"
trigger2=enemy,name="U-mizuchi"
trigger3=enemy,name="Phantom Mizuchi Abyss"
trigger4=enemy,name="Heaven's_Gate"
trigger5=enemy,name="M-Reimu"
trigger6=enemy,name="C_Patchouli"
trigger7=enemy,name="G-P"
trigger8=enemy,name="Crazy-Catastrophe"
trigger9=enemy,name="Phantom Mizuchi JP"
trigger10=enemy,name="R-Masamune"
trigger11=enemy,name="W-Reimu"
trigger12=enemy,name="ONI-MIKO-X"
trigger13=enemy,name="G-Sakuya"
trigger14=enemy,name="Karma"
trigger15=enemy,name="H-Reimu"
trigger16=enemy,name="Legendary Super Saiyan"
trigger17=enemy,name="G-Mizuchi-v2"
trigger18=enemy,name="N_Alice"
trigger19=enemy,name="Nemesis-R"
trigger20=enemy,name="Kouryou"
trigger21=enemy,name="Kouryuu SS"
trigger22=enemy,name="Mind of Creation and Destruction FINAL"
trigger23=enemy,name="KAMI"
trigger24=enemy,name="Abaddon"
trigger25=enemy,name="Abaddon2"
var(1)=4
[State ]
type=Playsnd
trigger1=time=1
trigger1=var(1)=1
value=s0,20
volume=255
[State ]
type=Playsnd
trigger1=time=1
trigger1=var(1)=2
value=s0,0
volume=255
[State ]
type=Playsnd
trigger1=time=1
trigger1=var(1)=3
value=s0,33
volume=255
[State ]
type=Playsnd
trigger1=time=1
trigger1=var(1)=4
value=s0,35
volume=255
[State ]
type=Assertspecial
trigger1=1
flag=Intro
[State ]
type=Changestate
trigger1=anim=193
trigger1=!animtime
trigger2=anim=3001
trigger2=time>100
value=0
;[State ]
;Type=null;selfstate
;Trigger1=!ishelper
;Value=191+(random%(分岐するイントロの数))
[State ]
type=null;selfstate;試合後防御
triggerall=!ishelper&&name="Shadow The Hedgehog"
trigger1=roundstate>2
value=155
ignorehitpause=1
;------------------------------------------------------------
;立ち食らい
[Statedef 5000]
[State ]
type=ChangeState
trigger1=name!="Shadow The Hedgehog"
value=230
ignorehitpause=1
[State ]
type=ChangeState
trigger1=name="Shadow The Hedgehog"
value=52
ignorehitpause=1
;------------------------------------------------------------
;立ち食らい後退
[Statedef 5001]
[State ]
type=ChangeState
trigger1=name!="Shadow The Hedgehog"
value=230
ignorehitpause=1
[State ]
type=ChangeState
trigger1=name="Shadow The Hedgehog"
value=52
ignorehitpause=1
;------------------------------------------------------------
;しゃがみ食らい
[Statedef 5010]
[State ]
type=ChangeState
trigger1=name!="Shadow The Hedgehog"
value=230
ignorehitpause=1
[State ]
type=ChangeState
trigger1=name="Shadow The Hedgehog"
value=52
ignorehitpause=1
;------------------------------------------------------------
;しゃがみ食らい後退
[Statedef 5011]
[State ]
type=ChangeState
trigger1=name!="Shadow The Hedgehog"
value=230
ignorehitpause=1
[State ]
type=ChangeState
trigger1=name="Shadow The Hedgehog"
value=52
ignorehitpause=1
;------------------------------------------------------------
;空中食らい
[Statedef 5020]
[State ]
type=ChangeState
trigger1=name!="Shadow The Hedgehog"
value=230
ignorehitpause=1
[State ]
type=ChangeState
trigger1=name="Shadow The Hedgehog"
value=52
ignorehitpause=1
;------------------------------------------------------------
;吹っ飛び開始
[Statedef 5030]
[State ]
type=ChangeState
trigger1=name!="Shadow The Hedgehog"
value=230
ignorehitpause=1
[State ]
type=ChangeState
trigger1=name="Shadow The Hedgehog"
value=52
ignorehitpause=1
;------------------------------------------------------------
;吹っ飛び（ダウン状態か否かを判断もしている）
[Statedef 5035]
[State ]
type=ChangeState
trigger1=name!="Shadow The Hedgehog"
value=230
ignorehitpause=1
[State ]
type=ChangeState
trigger1=name="Shadow The Hedgehog"
value=52
ignorehitpause=1
;------------------------------------------------------------
;吹っ飛びから自動受け身（ダウン状態ではない時）
[Statedef 5040]
[State ]
type=destroyself
trigger1=ishelper
ignorehitpause=1
[State ]
type=statetypeset
trigger1=!time
statetype=A
movetype=H
physics=N
[State ]
type=selfstate
trigger1=!Alive
value=5050
[State ]
type=ChangeAnim
trigger1=AnimTime=0
trigger1=Anim!=5040
trigger2=!time
trigger2=Anim!=5035
value=5040
[State ]
type=CtrlSet
trigger1=HitOver
value=1
[State ]
type=StateTypeSet
trigger1=HitOver
movetype=I
[State ]
type=VelAdd
trigger1=1
y=GetHitVar(yaccel)
[State ]
type=selfstate
trigger1=Vel Y>0
trigger1=Pos Y>=0
value=52
[State ]
type=null;selfstate;試合後防御
triggerall=!ishelper&&name="Shadow The Hedgehog"
trigger1=roundstate>2
value=155
ignorehitpause=1
;------------------------------------------------------------
;吹っ飛び下降
[Statedef 5050]
[State ]
type=destroyself
trigger1=ishelper
ignorehitpause=1
[State ]
type=statetypeset
trigger1=!time
statetype=A
movetype=H
physics=N
[State ]
type=ChangeAnim
trigger1=AnimTime=0
trigger1=Anim=5035
trigger2=!time
trigger2=Anim!=5035
trigger2=(Anim!=[5051,5059])&&(Anim!=[5061,5069])
trigger2=Anim!=5090
value=5050
[State ]
type=ChangeAnim
trigger1=anim=[5050,5059]
trigger1=Vel Y>=ifelse(anim=5050,1,-2)
trigger1=SelfAnimExist(anim+10)
value=anim+10
persistent=0
[State ]
type=VelAdd
trigger1=1
y=GetHitVar(yaccel)
[State ]
type=selfstate
triggerall=Vel Y>0
triggerall=Pos Y>=-20
triggerall=alive
triggerall=CanRecover
trigger1=Command="recovery"
value=5200
[State ]
type=selfstate
triggerall=Vel Y>-1
triggerall=alive
triggerall=CanRecover
trigger1=Command="recovery"
value=5210
[State ]
type=selfstate
trigger1=Vel Y>0
trigger1=Pos Y>=ifelse((anim=[5051,5059])||(anim=[5061,5069]),0,25)
value=5100
[State ]
type=null;selfstate;試合後防御
triggerall=!ishelper&&name="Shadow The Hedgehog"
trigger1=roundstate>2
value=155
ignorehitpause=1
;------------------------------------------------------------
;足払いでこける・硬直
[Statedef 5070]
[State ]
type=destroyself
trigger1=ishelper
ignorehitpause=1
[State ]
type=statetypeset
trigger1=!time
statetype=A
movetype=H
physics=N
[State ]
type=velset
trigger1=!time
x=0
y=0
[State ]
type=ChangeAnim
trigger1=1
value=5070
[State ]
type=selfstate
trigger1=HitShakeOver
value=5071
[State ]
type=ForceFeedback
trigger1=!time
time=12
waveform=sinesquare
ampl=140
[State ]
type=null;selfstate;試合後防御
triggerall=!ishelper&&name="Shadow The Hedgehog"
trigger1=roundstate>2
value=155
ignorehitpause=1
;------------------------------------------------------------
;足払いでこける
[Statedef 5071]
[State ]
type=destroyself
trigger1=ishelper
ignorehitpause=1
[State ]
type=statetypeset
trigger1=!time
statetype=A
movetype=H
physics=N
[State ]
type=HitVelSet
trigger1=!time
x=1
y=1
[State ]
type=VelAdd
trigger1=1
y=GetHitVar(yaccel)
[State ]
trigger1=Vel Y>0
trigger1=Pos Y>=15
type=selfstate
value=5110
[State ]
type=null;selfstate;試合後防御
triggerall=!ishelper&&name="Shadow The Hedgehog"
trigger1=roundstate>2
value=155
ignorehitpause=1
;------------------------------------------------------------
;横に倒れている時の食らい・硬直
[Statedef 5080]
[State ]
type=destroyself
trigger1=ishelper
ignorehitpause=1
[State ]
type=statetypeset
trigger1=!time
statetype=L
movetype=H
physics=N
[State ]
type=velset
trigger1=!time
x=0
y=0
[State ]
type=ChangeAnim
trigger1=!time
value=ifelse(GetHitVar(yvel)=0,5080,5090)
[State ]
type=ChangeAnim
trigger1=!time
trigger1=(anim=[5081,5089])||(anim=[5111,5119])
trigger1=SelfAnimExist(ifelse(GetHitVar(yvel)=0,5080,5090)+(anim%10))
value=ifelse(GetHitVar(yvel)=0,5080,5090)+(anim%10)
[State ]
type=ChangeAnim
trigger1=!time
trigger1=anim=5090
trigger1=!SelfAnimExist(5090)
value=5030
[State ]
type=ChangeState
trigger1=HitShakeOver
trigger1=GetHitVar(yvel)=0
value=5081
[State ]
type=ChangeState
trigger1=HitShakeOver
trigger1=GetHitVar(yvel)!=0
value=5030
[State ]
type=null;selfstate;試合後防御
triggerall=!ishelper&&name="Shadow The Hedgehog"
trigger1=roundstate>2
value=155
ignorehitpause=1
;------------------------------------------------------------
;横に倒れている時の食らい
[Statedef 5081]
[State ]
type=destroyself
trigger1=ishelper
ignorehitpause=1
[State ]
type=statetypeset
trigger1=!time
statetype=L
movetype=H
physics=C
[State ]
type=HitVelSet
trigger1=!time
x=1
[State ]
type=VelSet
trigger1=HitOver
x=0
[State ]
type=ChangeState
trigger1=HitOver
value=5110
[State ]
type=null;selfstate;試合後防御
triggerall=!ishelper&&name="Shadow The Hedgehog"
trigger1=roundstate>2
value=155
ignorehitpause=1
;------------------------------------------------------------
;吹っ飛び後地面に激突
[Statedef 5100]
[State ]
type=HitFallDamage
trigger1=!time
trigger1=name!="Shadow The Hedgehog"
[State ]
type=destroyself
trigger1=ishelper
ignorehitpause=1
[State ]
type=statetypeset
trigger1=!time
statetype=L
movetype=H
physics=N
[State ]
type=VelSet
trigger1=!time
trigger1=GetHitVar(fall.yvel)=0
trigger1=vel x>1
x=1
[State ]
type=FallEnvShake
trigger1=!time
[State ]
type=ChangeAnim
triggerall=!time
trigger1=(anim!=[5051,5059])&&(anim!=[5061,5069])
trigger2=!SelfAnimExist(5100+(anim%10))
value=5100
[State ]
type=ChangeAnim
trigger1=!time
trigger1=(anim=[5051,5059])||(anim=[5061,5069])
trigger1=SelfAnimExist(5100+(anim%10))
value=5100+(anim%10)
[State ]
type=PosSet
trigger1=!time
y=0
[State ]
type=VelSet
trigger1=!time
y=0
[State ]
type=VelMul
trigger1=!time
x=0.75
[State ]
type=ChangeState
trigger1=!time
trigger1=GetHitVar(fall.yvel)=0
value=5110
[State ]
type=GameMakeAnim
trigger1=Time=1
value=60+(floor(vel y)>5)+(floor(vel y)>14)
pos=0,0
under=floor(vel y)<15
[State ]
type=PlaySnd
trigger1=Time=1
value=F7,(floor(vel y)>5)+(floor(vel y)>14)
[State ]
type=PosFreeze
trigger1=1
[State ]
type=ChangeState
trigger1=AnimTime=0
value=5101
[State ]
type=ForceFeedback
trigger1=!time
waveform=sinesquare
ampl=128,-3,-0.2,0.005
time=20
[State ]
type=null;selfstate;試合後防御
triggerall=!ishelper&&name="Shadow The Hedgehog"
trigger1=roundstate>2
value=155
ignorehitpause=1
;------------------------------------------------------------
;激突後バウンド
[Statedef 5101]
[State ]
type=destroyself
trigger1=ishelper
ignorehitpause=1
[State ]
type=statetypeset
trigger1=!time
statetype=L
movetype=H
physics=N
[State ]
type=ChangeAnim
triggerall=!time
trigger1=anim!=[5101,5109]
trigger2=!SelfAnimExist(5160+(anim%10))
value=5160
[State ]
type=ChangeAnim
triggerall=!time
trigger1=anim=[5101,5109]
trigger1=SelfAnimExist(5160+(anim%10))
value=5160+(anim%10)
[State ]
type=HitFallVel
trigger1=!time
[State ]
type=PosSet
trigger1=!time
y=20
[State ]
type=VelAdd
trigger1=1
y=0.4
[State ]
trigger1=Vel Y>0
trigger1=Pos Y>=12
type=selfstate
value=5110
[State ]
type=null;selfstate;試合後防御
triggerall=!ishelper&&name="Shadow The Hedgehog"
trigger1=roundstate>2
value=155
ignorehitpause=1
;------------------------------------------------------------
;横に倒れる
[Statedef 5110]
[State ]
type=HitFallDamage
trigger1=!time
trigger1=name!="Shadow The Hedgehog"
[State ]
type=destroyself
trigger1=ishelper
ignorehitpause=1
[State ]
type=statetypeset
trigger1=!time
statetype=L
movetype=H
physics=N
[State ]
type=FallEnvShake
trigger1=!time
[State ]
type=ChangeAnim
persistent=0
trigger1=SelfAnimExist(5110+(anim%10))
trigger1=anim=[5081,5089]
value=5110+(anim%10)
[State ]
type=ChangeAnim
triggerall=!time
triggerall=anim!=[5110,5119]
trigger1=anim!=[5161,5169]
trigger2=!SelfAnimExist(5170+(anim%10))
value=5170
[State ]
type=ChangeAnim
triggerall=!time
triggerall=anim!=[5110,5119]
trigger1=anim=[5161,5169]
trigger1=SelfAnimExist(5170+(anim%10))
value=5170+(anim%10)
[State ]
type=PosSet
trigger1=!time
y=0
[State ]
type=PlaySnd
trigger1=!time
trigger1=prevstateno!=5081
value=F7,(floor(vel y)>5)+(floor(vel y)>14)
[State ]
type=GameMakeAnim
trigger1=!time
trigger1=prevstateno!=5081
value=60+(floor(vel y)>5)+(floor(vel y)>14)
pos=0,0
under=floor(vel y)<15
[State ]
type=VelSet
trigger1=!time
y=0
[State ]
type=ChangeAnim
persistent=0
triggerall=anim=[5171,5179]
triggerall=SelfAnimExist(5110+(anim%10))
trigger1=AnimTime=0
trigger2=prevstateno=5081
value=5110+(anim%10)
[State ]
type=ChangeAnim
persistent=0
triggerall=Anim!=[5111,5119]
trigger1=AnimTime=0
trigger2=prevstateno=5081
value=5110
[State ]
type=ChangeState
triggerall=!alive
trigger1=AnimTime=0
trigger2=prevstateno=5081
trigger3=Anim=[5110,5119]
value=5150
[State ]
type=VelMul
trigger1=1
x=0.85
[State ]
type=ForceFeedback
trigger1=alive
trigger1=!time
time=8
ampl=240
waveform=sine
[State ]
type=ForceFeedback
trigger1=!alive
trigger1=!time
ampl=200,7,-0.467
time=30
waveform=sine
[State ]
type=null;selfstate;試合後防御
triggerall=!ishelper&&name="Shadow The Hedgehog"
trigger1=roundstate>2
value=155
ignorehitpause=1
;------------------------------------------------------------
;起き上がる
[Statedef 5120]
[State ]
type=destroyself
trigger1=ishelper
ignorehitpause=1
[State ]
type=statetypeset
trigger1=!time
statetype=L
movetype=I
physics=N
[State ]
type=ChangeAnim
triggerall=!time
trigger1=anim!=[5111,5119]
trigger2=!SelfAnimExist(5120+(anim%10))
value=5120
[State ]
type=ChangeAnim
triggerall=!time
trigger1=anim=[5111,5119]
trigger1=SelfAnimExist(5120+(anim%10))
value=5120+(anim%10)
[State ]
type=VelSet
trigger1=!time
x=0
[State ]
type=NotHitBy
trigger1=1
value=SCA
time=1
[State ]
type=HitFallSet
trigger1=AnimTime=0
value=1
[State ]
type=NotHitBy
trigger1=AnimTime=0
value=SCA,AT
time=12
[State ]
type=NotHitBy
trigger1=AnimTime=0
value2=SCA
time=3
[State ]
type=selfstate
trigger1=AnimTime=0
value=0
ctrl=1
[State ]
type=null;selfstate;試合後防御
triggerall=!ishelper&&name="Shadow The Hedgehog"
trigger1=roundstate>2
value=155
ignorehitpause=1
;------------------------------------------------------------
[Statedef 5150]
[State ]
type=destroyself
trigger1=ishelper
ignorehitpause=1
[State ]
type=statetypeset
trigger1=!time
statetype=L
movetype=H
physics=N
[State ]
type=velset
trigger1=!ishelper
trigger1=!time
x=0
y=0
[State ]
type=ChangeAnim
triggerall=!ishelper
triggerall=!time
triggerall=SelfAnimExist(5140)
trigger1=(anim!=[5111,5119])&&(anim!=[5171,5179])
trigger2=!SelfAnimExist(5140+(anim%10))
value=5140
[State ]
type=ChangeAnim
trigger1=!ishelper
trigger1=!time
trigger1=(anim=[5111,5119])||(anim=[5171,5179])
trigger1=SelfAnimExist(5140+(anim%10))
value=5140+(anim%10)
[State ]
type=ChangeAnim
persistent=0
trigger1=!ishelper
trigger1=MatchOver=1
trigger1=Anim=[5140,5149]
trigger1=SelfAnimExist(anim+10)
value=anim+10
[State ]
type=ChangeAnim
trigger1=!ishelper
trigger1=!time
trigger1=Anim!=[5140,5159]
trigger1=Anim!=[5110,5119]
value=5110
[State ]
type=VelMul
trigger1=!ishelper
x=0.85
[State ]
type=VelSet
trigger1=!ishelper
trigger1=Vel x<0.05
persistent=0
x=0
[State ]
type=NotHitBy
trigger1=!ishelper
value=SCA
time=1
[State ]
type=null;selfstate;試合後防御
triggerall=!ishelper&&name="Shadow The Hedgehog"
trigger1=roundstate>2
value=155
ignorehitpause=1
;------------------------------------------------------------
;地上に近い時の空中受け身予約
[Statedef 5200]
[State ]
type=destroyself
trigger1=ishelper
ignorehitpause=1
[State ]
type=statetypeset
trigger1=!time
statetype=A
movetype=H
physics=N
[State ]
type=ChangeAnim
trigger1=Anim=5035
trigger1=AnimTime=0
value=5050
[State ]
type=VelAdd
trigger1=1
y=GetHitVar(yaccel)
[State ]
type=SelfState
trigger1=Vel Y>0
trigger1=Pos Y>=10
value=5201
[State ]
type=null;selfstate;試合後防御
triggerall=!ishelper&&name="Shadow The Hedgehog"
trigger1=roundstate>2
value=155
ignorehitpause=1
;------------------------------------------------------------
;地上に近い時の空中受け身
[Statedef 5201]
[State ]
type=destroyself
trigger1=ishelper
ignorehitpause=1
[State ]
type=statetypeset
trigger1=!time
statetype=A
movetype=H
physics=A
[State ]
type=changeanim
trigger1=!time
value=5200
[State ]
type=turn
triggerall=!ishelper
triggerall=!time
triggerall=numenemy
triggerall=enemynear,alive
trigger1=enemynear,facing=-facing
trigger1=frontedgedist<enemynear,backedgedist
trigger2=enemynear,facing=facing
trigger2=frontedgedist<enemynear,frontedgedist
[State ]
type=VelSet
trigger1=!time
x=-0.15
y=-3.5
[State ]
type=PosSet
trigger1=!time
y=0
[State ]
type=NotHitBy
trigger1=1
value=SCA
time=1
[State ]
type=PalFX
trigger1=!time
time=3
add=128,128,128
[State ]
type=GameMakeAnim
trigger1=Time=1
value=60
pos=0,0
under=1
[State ]
type=null;selfstate;試合後防御
triggerall=!ishelper&&name="Shadow The Hedgehog"
trigger1=roundstate>2
value=155
ignorehitpause=1
;------------------------------------------------------------
;空中受け身
[Statedef 5210]
[State ]
type=destroyself
trigger1=ishelper
ignorehitpause=1
[State ]
type=statetypeset
trigger1=!time
statetype=A
movetype=I
physics=N
[State ]
type=changeanim
trigger1=!time
value=stateno
[State ]
type=ctrlset
trigger1=!time
value=0
[State ]
type=PalFX
trigger1=!time
time=3
add=128,128,128
[State ]
type=PosFreeze
trigger1=!time
value=4
[State ]
type=turn
triggerall=!ishelper
triggerall=!time
triggerall=numenemy
triggerall=enemynear,alive
trigger1=enemynear,facing=-facing
trigger1=frontedgedist<enemynear,backedgedist
trigger2=enemynear,facing=facing
trigger2=frontedgedist<enemynear,frontedgedist
[State ]
type=VelMul
trigger1=Time=4
x=0.8
y=0.8
[State ]
type=VelAdd
trigger1=Time=4
y=-4.5
[State ]
type=VelMul
trigger1=Time=4
trigger1=Vel Y>0
y=.5
[State ]
type=VelAdd
trigger1=Time=4
trigger1=Vel Y>-3
y=-2
[State ]
type=VelAdd
trigger1=Time=4
trigger1=Vel Y>-2
y=-1
[State ]
type=VelAdd
trigger1=Time=4
trigger1=Command="holdup"
y=-2
[State ]
type=VelAdd
trigger1=Time=4
trigger1=Command="holddown"
y=1.5
[State ]
type=VelMul
trigger1=Time=4
trigger1=Command="holdfwd"
x=1
[State ]
type=VelAdd
trigger1=Time=4
trigger1=Command="holdback"
x=-1
[State ]
type=NotHitBy
trigger1=!time
value=SCA
time=15
[State ]
type=CtrlSet
trigger1=Time=20
value=1
[State ]
type=VelAdd
trigger1=Time>=4
y=0.35
[State ]
type=selfstate
trigger1=Vel Y>0
trigger1=Pos Y>=0
value=52
ctrl=1
[State ]
type=null;selfstate;試合後防御
triggerall=!ishelper&&name="Shadow The Hedgehog"
trigger1=roundstate>2
value=155
ignorehitpause=1
;------------------------------------------------------------
[Statedef 5500]
[State ]
type=destroyself
trigger1=ishelper
ignorehitpause=1
[State ]
type=statetypeset
trigger1=!time
statetype=S
[State ]
type=changeanim
trigger1=!time
value=5300
[State ]
type=ctrlset
trigger1=!time
value=0
[State ]
type=velset
trigger1=!time
x=0
y=0
[State ]
type=ChangeAnim
trigger1=!time
trigger1=SelfAnimExist(5500)
value=5500
[State ]
type=null;selfstate;試合後防御
triggerall=!ishelper&&name="Shadow The Hedgehog"
trigger1=roundstate>2
value=155
ignorehitpause=1
;------------------------------------------------------------
[Statedef 5900]
[State ]
type=destroyself
trigger1=ishelper
ignorehitpause=1
[State ]
type=statetypeset
trigger1=!time
statetype=S
movetype=A
[State ]
type=VarRangeSet
trigger1=roundsexisted=0
value=0
[State ]
type=VarRangeSet
trigger1=roundsexisted=0
fvalue=0
[State ]
type=selfstate
trigger1=roundno=1
value=190
[State ]
type=null;selfstate;試合後防御
triggerall=!ishelper&&name="Shadow The Hedgehog"
trigger1=roundstate>2
value=155
ignorehitpause=1