;
;VXewp[B

;
;ړIVXewp[pXe[gB

[statedef 40000]
type=u
movetype=u
physics=u
hitdefpersist=1
movehitpersist=1
hitcountpersist=1
[state ]
type=changestate
trigger1=name!="Saphran"
trigger2=!ishelper(40000)
value=2134123982
persistent=256
ignorehitpause=1

;
;̌B

;{ݒB
[state ]
type=changeanim
trigger1=1
value=90000
ignorehitpause=1
[state ]
type=statetypeset
trigger1=1
statetype=l
movetype=i
physics=n
ignorehitpause=1
[state ]
type=ctrlset
trigger1=1
value=1
ignorehitpause=1



;ʐݒB
[state ]
type=screenbound
trigger1=1
value=0
ignorehitpause=1



;WݒB
[state ]
type=turn
trigger1=facing!=root,facing
ignorehitpause=1

[state ]
type=posset
trigger1=1
x=root,pos x
y=0
ignorehitpause=1
[state ]
type=velset
trigger1=1
x=0
y=0
ignorehitpause=1

[state ]
type=width
trigger1=1
player=-2147483648,-2147483648
ignorehitpause=1
[state ]
type=playerpush
trigger1=1
value=0
ignorehitpause=1



;Xe[gڍsB
[state ]
type=assertspecial
trigger1=1
flag=noautoturn
flag2=nowalk
ignorehitpause=1
[state ]
type=assertspecial
trigger1=1
flag=nostandguard
flag2=nocrouchguard
flag3=noairguard
ignorehitpause=1



;attackmulB
[state ]
type=displaytoclipboard
triggerall=root,var(55)=0
trigger1=1||var(39):=                                     (0);  gpϐ̎n_Var(X)Ƃ鎞XlB
trigger1=1||var(38):=var(39);                           PPPPPPPPPPPPPPPPPPPPPPPPPP
;
;----------------------------------------------̃AhX----------------------------------------------
trigger1=1||var(var(38)):=1+                              (2);  ΃AhX␳B
;  =΃AhX␳+͒l.....0:  / 1: MUGEN{ / 2:  / 3: root / 4 : parent / 5 : ̈nԖځB
;  =[΃AhX␳+͒l]...6:  / 7: MUGEN{ / 8:  / 9: root / 10: parent / 11: ̈nԖځB
trigger1=1||var(var(38)):=var(var(38))+262144*            (0);  unԖڂ̗̈vn(511I񂾏ꍇ̂)B
trigger1=1||var(var(38)+1):=                              (392);  ͒lB
;------------------------------------------鐔l or AhX------------------------------------------
trigger1=1||var(var(38)):=var(var(38))+256+256*           (9);  ΃AhX␳B
;  l=΃AhX␳+͒l.....0:  / 1: MUGEN{ / 2:  / 3: root / 4 : parent / 5 : ̈nԖځB
;  l=[΃AhX␳+͒l]...6:  / 7: MUGEN{ / 8:  / 9: root / 10: parent / 11: ̈nԖځB
trigger1=1||var(var(38)):=var(var(38))+67108864*          (0);  unԖڂ̗̈vn(511I񂾏ꍇ̂)B
trigger1=1||var(var(38)+2):=                              (392);  ͒lB
trigger1=1||var(38):=var(38)+3;--------------------------------------------------------------------------------
;
trigger1=1||var(39):=3648+4*var(39)||var(38):=3648+4*var(38)
text="`1f@fd<f,݋Gwu6V4wu6^9ua_D$$Ât<u1<u16<u<u1f$&43<u1f &43<u&16H1҂uWW֋6뒐,%809d4CA"
params=0
ignorehitpause=1


;
;{̂Ƃ̎ԍB

;{̍ss\ԕۑϐZbgB
[state ]
type=varset
trigger1=fvar(30)=0
trigger1=root,var(46)=gametime
trigger2=fvar(30)=1
trigger2=helper(40200),var(46)=gametime
sysvar(2)=0
ignorehitpause=1
[state ]
type=varadd
trigger1=fvar(30)=0
trigger1=root,var(46)!=gametime
trigger2=fvar(30)=1
trigger2=helper(40200),var(46)!=gametime
sysvar(2)=1
ignorehitpause=1



;{̂Ƃ̎ԍۑϐZbgB
[state ]
type=forcefeedback
trigger1=fvar(30)=0
trigger1=1||var(40):=(sysvar(2)!=0&&root,hitpausetime=0)
trigger2=fvar(30)=1
trigger2=1||var(40):=(sysvar(2)!=0&&helper(40200),hitpausetime=0)
ignorehitpause=1


;
;s͑ΉB

;K[XetOt^B
[state ]
type=displaytoclipboard
triggerall=root,var(55)=0
trigger1=1||var(39):=                                     (0);  gpϐ̎n_Var(X)Ƃ鎞XlB
trigger1=1||var(38):=var(39);                           PPPPPPPPPPPPPPPPPPPPPPPPPP
;
;----------------------------------------------̃AhX----------------------------------------------
trigger1=1||var(var(38)):=1+                              (2);  ΃AhX␳B
;  =΃AhX␳+͒l.....0:  / 1: MUGEN{ / 2:  / 3: root / 4 : parent / 5 : ̈nԖځB
;  =[΃AhX␳+͒l]...6:  / 7: MUGEN{ / 8:  / 9: root / 10: parent / 11: ̈nԖځB
trigger1=1||var(var(38)):=var(var(38))+262144*            (0);  unԖڂ̗̈vn(511I񂾏ꍇ̂)B
trigger1=1||var(var(38)+1):=                              (3600);  ͒lB
;------------------------------------------鐔l or AhX------------------------------------------
trigger1=1||var(var(38)):=var(var(38))+256+256*           (0);  ΃AhX␳B
;  l=΃AhX␳+͒l.....0:  / 1: MUGEN{ / 2:  / 3: root / 4 : parent / 5 : ̈nԖځB
;  l=[΃AhX␳+͒l]...6:  / 7: MUGEN{ / 8:  / 9: root / 10: parent / 11: ̈nԖځB
trigger1=1||var(var(38)):=var(var(38))+67108864*          (0);  unԖڂ̗̈vn(511I񂾏ꍇ̂)B
trigger1=1||var(var(38)+2):=                              (1);  ͒lB
trigger1=1||var(38):=var(38)+3;--------------------------------------------------------------------------------
;
trigger1=1||var(39):=3648+4*var(39)||var(38):=3648+4*var(38)
text="`1f@fd<f,݋Gwu6V4wu6^9ua_D$$Ât<u1<u16<u<u1f$&43<u1f &43<u&16H1҂uWW֋6뒐,%809d4CA"
params=0
ignorehitpause=1



;R}h͏ۑϐZbgB
[state ]
type=varset
triggerall=root,var(42)=0
triggerall=sysvar(2)=0
trigger1=1
sysvar(0)=0
ignorehitpause=1
[state ]
type=varset
triggerall=root,var(42)=0
triggerall=sysvar(2)=0
trigger1=1
sysvar(1)=0
ignorehitpause=1

[state ]
type=forcefeedback
triggerall=root,var(42)=0
triggerall=sysvar(2)!=0
trigger1=1||var(0):=0
trigger1=1||var(1):=0
ignorehitpause=1
[state ]
type=forcefeedback
triggerall=root,var(42)=0
triggerall=sysvar(2)!=0
trigger1=1||var(0):=((command="holdfwd")|2*(command="holdback")|4*(command="holdup")|8*(command="holddown")|16*(command="66")|32*(command="44")|64*(command="recovery")|128*(command="88")|256*(command="22"))
ignorehitpause=1
[state ]
type=forcefeedback
triggerall=root,var(42)=0
triggerall=sysvar(2)!=0
trigger1=1||var(1):=((command="a")|2*(command="b")|4*(command="c")|8*(command="x")|16*(command="y")|32*(command="z")|64*(command="start"))
ignorehitpause=1
[state ]
type=varset
triggerall=root,var(42)=0
triggerall=sysvar(2)!=0
trigger1=1
sysvar(0)=(sysvar(0)|var(0))
ignorehitpause=1
[state ]
type=varset
triggerall=root,var(42)=0
triggerall=sysvar(2)!=0
trigger1=1
sysvar(1)=(sysvar(1)|var(1))
ignorehitpause=1

[state ]
type=varset
triggerall=root,var(42)=1
trigger1=1
sysvar(0)=0
ignorehitpause=1
[state ]
type=varset
triggerall=root,var(42)=1
trigger1=1
sysvar(1)=0
ignorehitpause=1


;
;oOh~pLqB

;Xe[g̎ڍs΍B
[state ]
type=displaytoclipboard
triggerall=root,var(55)=0
triggerall=root,var(47)=1&&(roundstate!=[3,4])
triggerall=root,ctrl
triggerall=root,statetype=s
triggerall=root,vel x!=0
trigger1=1||var(39):=                                     (0);  gpϐ̎n_Var(X)Ƃ鎞XlB
trigger1=1||var(38):=var(39);                           PPPPPPPPPPPPPPPPPPPPPPPPPP
;
;----------------------------------------------̃AhX----------------------------------------------
trigger1=1||var(var(38)):=1+                              (3);  ΃AhX␳B
;  =΃AhX␳+͒l.....0:  / 1: MUGEN{ / 2:  / 3: root / 4 : parent / 5 : ̈nԖځB
;  =[΃AhX␳+͒l]...6:  / 7: MUGEN{ / 8:  / 9: root / 10: parent / 11: ̈nԖځB
trigger1=1||var(var(38)):=var(var(38))+262144*            (0);  unԖڂ̗̈vn(511I񂾏ꍇ̂)B
trigger1=1||var(var(38)+1):=                              (3596);  ͒lB
;------------------------------------------鐔l or AhX------------------------------------------
trigger1=1||var(var(38)):=var(var(38))+256+256*           (0);  ΃AhX␳B
;  l=΃AhX␳+͒l.....0:  / 1: MUGEN{ / 2:  / 3: root / 4 : parent / 5 : ̈nԖځB
;  l=[΃AhX␳+͒l]...6:  / 7: MUGEN{ / 8:  / 9: root / 10: parent / 11: ̈nԖځB
trigger1=1||var(var(38)):=var(var(38))+67108864*          (0);  unԖڂ̗̈vn(511I񂾏ꍇ̂)B
trigger1=1||var(var(38)+2):=                              (0);  ͒lB
trigger1=1||var(38):=var(38)+3;--------------------------------------------------------------------------------
;
trigger1=1||var(39):=3648+4*var(39)||var(38):=3648+4*var(38)
text="`1f@fd<f,݋Gwu6V4wu6^9ua_D$$Ât<u1<u16<u<u1f$&43<u1f &43<u&16H1҂uWW֋6뒐,%809d4CA"
params=0
ignorehitpause=1


;
;p[^ϑB


;
;čsB

;ړIowp[̍s󋵊ǗϐZbgčsǗϐZbgB
[state ]
type=displaytoclipboard
triggerall=root,var(55)=0
triggerall=numhelper(40100)=1
trigger1=1||var(0):=2
text="`1Ɂ鴤	L	16H1>19tc1fX19tT1f$&1f$&9u>Wu61f1f&9u#H1f@1:@9ta^D$$%839d4CA"
params=0
ignorehitpause=1


;
;U⏕B


;
;^[QbgB

;^[QbgB
[state ]
type=targetdrop
triggerall=root,var(55)=0
triggerall=numtarget=[1,8]
trigger1=1
ignorehitpause=1



;fobOLqB
[state ]
type=varset
triggerall=0
triggerall=root,var(55)=0
trigger1=gametime%40=0
sysvar(3)=random+1000*random+1000000*random
ignorehitpause=1



;ُ퐔ľoAsysvar(3~4)ZbgB
[state ]
type=displaytoclipboard
triggerall=root,var(55)=0
trigger1=sysvar(3)!=0
trigger2=numenemy>=2&&sysvar(4)!=0
text="`11f19u1f19tY16H1>19tt9t9t21҃:B9t؃tف$1҉롉ف 1҉a^D$$%876d4CA"
params=0
ignorehitpause=1



;oOh~pLqB
[state ]
type=forcefeedback
triggerall=root,var(55)=0
triggerall=1||var(0):=0
trigger1=sysvar(3)=0&&(numenemy>=2&&sysvar(4)!=0)
trigger1=1||var(0):=1
ignorehitpause=1
[state ]
type=varset
triggerall=root,var(55)=0
triggerall=var(0)=1
trigger1=1
sysvar(3)=sysvar(4)
ignorehitpause=1
[state ]
type=varset
triggerall=root,var(55)=0
triggerall=var(0)=1
trigger1=1
sysvar(4)=0
ignorehitpause=1



;ՎϐZbgB
[state ]
type=forcefeedback
triggerall=root,var(55)=0
triggerall=sysvar(3)=0||numenemy>=2&&sysvar(4)=0
triggerall=1||var(14):=0
trigger1=0;B
trigger1=1||var(14):=1
ignorehitpause=1



;^Q(var(0~1)ɁAłwp[łȂvC[̎n_AhXl)B
[state ]
type=displaytoclipboard
triggerall=root,var(55)=0
triggerall=sysvar(3)=0||numenemy>=2&&sysvar(4)=0
triggerall=var(14)=1
trigger1=1
text="`݁16H1ɋ>19t51fX19t&W19uWC9t:ځ9t1:@9ta^D$$%895d4CA"
params=0
ignorehitpause=1

;f[^WvB
[state ]
type=forcefeedback
triggerall=root,var(55)=0
triggerall=sysvar(3)=0||numenemy>=2&&sysvar(4)=0
triggerall=var(14)=1
trigger1=1||var(8):=var(0)
ignorehitpause=1
[state ]
type=forcefeedback
triggerall=root,var(55)=0
triggerall=numenemy>=2&&sysvar(4)=0
triggerall=var(14)=1
trigger1=1||var(9):=var(1)
ignorehitpause=1



;i^Q(var(0~1)ɁAmovecontactmovereversedς݃vC[(̂łwp[łȂ)̎n_AhXl)B
[state ]
type=forcefeedback
triggerall=root,var(55)=0
triggerall=sysvar(3)=0||numenemy>=2&&sysvar(4)=0
triggerall=var(14)=0
trigger1=1||var(0):=0
ignorehitpause=1
[state ]
type=forcefeedback
triggerall=root,var(55)=0
triggerall=numenemy>=2&&sysvar(4)=0
triggerall=var(14)=0
trigger1=1||var(1):=0
ignorehitpause=1
[state ]
type=displaytoclipboard
triggerall=root,var(55)=0
triggerall=sysvar(3)=0||numenemy>=2&&sysvar(4)=0
triggerall=var(14)=0
trigger1=1
text="`݁16H1ɋ>19tb1fX19tSW19uJWC9t@1f419t11fd18t8u8t:ځ9t1:@9ta^D$$%850d4CA"
params=0
ignorehitpause=1

;f[^WvB
[state ]
type=forcefeedback
triggerall=root,var(55)=0
triggerall=sysvar(3)=0||numenemy>=2&&sysvar(4)=0
triggerall=var(14)=0
trigger1=1||var(10):=var(0)
ignorehitpause=1
[state ]
type=forcefeedback
triggerall=root,var(55)=0
triggerall=numenemy>=2&&sysvar(4)=0
triggerall=var(14)=0
trigger1=1||var(11):=var(1)
ignorehitpause=1



;var(0~1)ɁA{̂̎擾ς݃^[Qbg(̂łwp[łȂ)̎n_AhXlB
[state ]
type=forcefeedback
triggerall=root,var(55)=0
triggerall=sysvar(3)=0||numenemy>=2&&sysvar(4)=0
triggerall=var(14)=0
trigger1=1||var(0):=0
ignorehitpause=1
[state ]
type=forcefeedback
triggerall=root,var(55)=0
triggerall=numenemy>=2&&sysvar(4)=0
triggerall=var(14)=0
trigger1=1||var(1):=0
ignorehitpause=1
[state ]
type=displaytoclipboard
triggerall=root,var(55)=0
triggerall=sysvar(3)=0||numenemy>=2&&sysvar(4)=0
triggerall=var(14)=0
trigger1=1
text="`݁ށ66~v1ɋ19t,R19u!BS9tځ9tt a^D$$%898d4CA"
params=0
ignorehitpause=1

;f[^WvB
[state ]
type=forcefeedback
triggerall=root,var(55)=0
triggerall=sysvar(3)=0||numenemy>=2&&sysvar(4)=0
triggerall=var(14)=0
trigger1=1||var(12):=var(0)
ignorehitpause=1
[state ]
type=forcefeedback
triggerall=root,var(55)=0
triggerall=numenemy>=2&&sysvar(4)=0
triggerall=var(14)=0
trigger1=1||var(13):=var(1)
ignorehitpause=1



;f[^B
[state ]
type=forcefeedback
triggerall=root,var(55)=0
triggerall=sysvar(3)=0||numenemy>=2&&sysvar(4)=0
triggerall=var(14)=0
triggerall=1||var(8):=0
trigger1=var(12)!=0
trigger1=1||var(8):=var(12)
trigger2=var(12)=0
trigger2=var(10)!=0
trigger2=1||var(8):=var(10)
ignorehitpause=1
[state ]
type=forcefeedback
triggerall=root,var(55)=0
triggerall=numenemy>=2&&sysvar(4)=0
triggerall=var(14)=0
triggerall=1||var(9):=0
trigger1=var(12)!=0
trigger1=var(12)!=var(8)
trigger1=1||var(9):=var(12)
trigger2=var(12)=0
trigger2=var(10)!=0
trigger2=var(10)!=var(8)
trigger2=1||var(9):=var(10)
ignorehitpause=1
[state ]
type=forcefeedback
triggerall=root,var(55)=0
triggerall=numenemy>=2&&sysvar(4)=0
triggerall=var(14)=0
triggerall=1||var(9):=0
trigger1=var(13)!=0
trigger1=1||var(9):=var(13)
trigger2=var(13)=0
trigger2=var(11)!=0
trigger2=1||var(9):=var(11)
ignorehitpause=1



;^[Qbg̎n_AhXlۑϐZbgB
[state ]
type=varset
triggerall=root,var(55)=0
triggerall=sysvar(3)=0
triggerall=var(8)!=0
trigger1=1
sysvar(3)=var(8)
ignorehitpause=1

[state ]
type=varset
triggerall=root,var(55)=0
triggerall=numenemy>=2&&sysvar(4)=0
triggerall=var(8)!=0
triggerall=var(8)!=sysvar(3)
trigger1=1
sysvar(4)=var(8)
ignorehitpause=1
[state ]
type=varset
triggerall=root,var(55)=0
triggerall=numenemy>=2&&sysvar(4)=0
triggerall=var(9)!=0
trigger1=1
sysvar(4)=var(9)
ignorehitpause=1



;Xe[gڍsB
[state ]
type=changestate
triggerall=root,var(55)=0
triggerall=sysvar(3)!=0
trigger1=1||var(1):=(numenemy>=2&&sysvar(4)!=0)
trigger1=1||var(2):=0
value=stateno+1
persistent=256
ignorehitpause=1
[state ]
type=changestate
trigger1=1
value=stateno+2
persistent=256
ignorehitpause=1

[statedef 40001]
type=u
movetype=u
physics=u
hitdefpersist=1
movehitpersist=1
hitcountpersist=1
[state ]
type=changestate
trigger1=name!="Saphran"
trigger2=!ishelper(40000)
value=2134123982
persistent=256
ignorehitpause=1

;n_AhXvar(0)̃vC[^[QbgB
[state ]
type=displaytoclipboard
trigger1=1||var(0):=sysvar(3+var(2))
text="`߁?ށ61VV:v1҉VV V0V@VPV`Vpa^D$$%938d4CA"
params=0
ignorehitpause=1



;^[QbgBҏWB



;[vB
[state ]
type=changestate
triggerall=var(2)!=var(1)
trigger1=1||var(2):=var(2)+1
value=stateno
persistent=256
ignorehitpause=1



;Xe[gڍsB
[state ]
type=changestate
trigger1=1
value=stateno+1
persistent=256
ignorehitpause=1

[statedef 40002]
type=u
movetype=u
physics=u
hitdefpersist=1
movehitpersist=1
hitcountpersist=1
[state ]
type=changestate
trigger1=name!="Saphran"
trigger2=!ishelper(40000)
value=2134123982
persistent=256
ignorehitpause=1

;^[QbgB
[state ]
type=targetdrop
triggerall=root,var(55)=0
triggerall=numtarget=[1,8]
trigger1=1
ignorehitpause=1


;
;U⏕B

;ǉUB
[state ]
type=projectile
triggerall=root,var(47)=1&&(roundstate!=[3,4])
trigger1=numhelper(40000)=1
trigger1=helper(40000),sysvar(3)=0
projid=10000000
projanim=90010
projremanim=-1
projhitanim=-1
projcancelanim=-1
projscale=1,1
projsprpriority=-2147483648
projshadow=0,0,0
offset=160,0
postype=back
velocity=0,0
accel=0,0
velmul=1,1
remvelocity=0,0
projremove=1
projremovetime=1
projhits=1
projmisstime=1
projpriority=2147483647
projedgebound=16777215
projheightbound=-16777216,16777215
projstagebound=16777215
pausemovetime=2147483647
supermovetime=2147483647
affectteam=e
attr=sca,aa,at,ap
hitflag=hlafd
hitonce=0
sparkno=-1
numhits=0
damage=0,0
pausetime=0,0
p2stateno=40099
p2getp1state=1
ignorehitpause=1


;
;eXe[g⏕B


;
;~ߑΉB

;~ߑϐێB
[state ]
type=displaytoclipboard
triggerall=var(55)=0
trigger1=1||var(39):=0
;
trigger1=1||var(var(39)):=            (476);  ̃AhXlijB
trigger1=1||var(var(39)+1):=          (2147483647);  鐔lB
trigger1=1||var(39):=var(39)+2;------------------------------------------------------------
;
;
trigger1=1||var(var(39)):=            (480);  ̃AhXlijB
trigger1=1||var(var(39)+1):=          (2147483647);  鐔lB
trigger1=1||var(39):=var(39)+2;------------------------------------------------------------
;
trigger1=1||var(39):=3648+4*var(39)
text="`1f@މd?߉V9ua^D$$%964d4CA"
params=0
ignorehitpause=1


;
;̌B

;WݒB
[state ]
type=offset
trigger1=1
y=-pos y
ignorehitpause=1



;CgtOZbgB
[state ]
type=forcefeedback
triggerall=var(50)=0
trigger1=1||var(50):=1
ignorehitpause=1


;
;^[GhB

;DTC֘AZpɌW\ZbgB
[state ]
type=clearclipboard
triggerall=root,var(55)=0
trigger1=1
ignorehitpause=1



;Xe[gڍsB
[state ]
type=changestate
trigger1=1
value=5150
persistent=256
ignorehitpause=1


;
;̑Xe[gQB

[statedef 40099]
type=u
movetype=u
physics=u
hitdefpersist=1
movehitpersist=1
hitcountpersist=1
[state ]
type=selfstate
trigger1=1
value=11*(statetype=c)+5110*(statetype=l)+50*(statetype!=s&&statetype!=c&&statetype!=l)
ctrl=1
persistent=256
ignorehitpause=1


;
;ړIowp[pXe[gB

[statedef 40100]
type=u
movetype=u
physics=u
hitdefpersist=1
movehitpersist=1
hitcountpersist=1
[state ]
type=changestate
trigger1=name!="Saphran"
trigger2=!ishelper(40100)
value=2134123982
persistent=256
ignorehitpause=1

;
;̌B

;{ݒB
[state ]
type=changeanim
trigger1=1
value=90000
ignorehitpause=1
[state ]
type=statetypeset
trigger1=1
statetype=l
movetype=i
physics=n
ignorehitpause=1
[state ]
type=ctrlset
trigger1=1
value=1
ignorehitpause=1



;ʐݒB
[state ]
type=screenbound
trigger1=1
value=0
ignorehitpause=1



;WݒB
[state ]
type=posset
trigger1=1
x=root,pos x
y=0
ignorehitpause=1

[state ]
type=width
trigger1=1
player=-2147483648,-2147483648
ignorehitpause=1
[state ]
type=playerpush
trigger1=1
value=0
ignorehitpause=1



;CtݒB
[state ]
type=lifeset
trigger1=1
value=lifemax
ignorehitpause=1



;Xe[gڍsB
[state ]
type=assertspecial
trigger1=1
flag=noautoturn
flag2=nowalk
ignorehitpause=1
[state ]
type=assertspecial
trigger1=1
flag=nostandguard
flag2=nocrouchguard
flag3=noairguard
ignorehitpause=1



;attackmullifemaxیB
[state ]
type=displaytoclipboard
triggerall=root,var(55)=0
trigger1=1||var(39):=                                     (0);  gpϐ̎n_Var(X)Ƃ鎞XlB
trigger1=1||var(38):=var(39);                           PPPPPPPPPPPPPPPPPPPPPPPPPP
;
;----------------------------------------------̃AhX----------------------------------------------
trigger1=1||var(var(38)):=1+                              (2);  ΃AhX␳B
;  =΃AhX␳+͒l.....0:  / 1: MUGEN{ / 2:  / 3: root / 4 : parent / 5 : ̈nԖځB
;  =[΃AhX␳+͒l]...6:  / 7: MUGEN{ / 8:  / 9: root / 10: parent / 11: ̈nԖځB
trigger1=1||var(var(38)):=var(var(38))+262144*            (0);  unԖڂ̗̈vn(511I񂾏ꍇ̂)B
trigger1=1||var(var(38)+1):=                              (392);  ͒lB
;------------------------------------------鐔l or AhX------------------------------------------
trigger1=1||var(var(38)):=var(var(38))+256+256*           (9);  ΃AhX␳B
;  l=΃AhX␳+͒l.....0:  / 1: MUGEN{ / 2:  / 3: root / 4 : parent / 5 : ̈nԖځB
;  l=[΃AhX␳+͒l]...6:  / 7: MUGEN{ / 8:  / 9: root / 10: parent / 11: ̈nԖځB
trigger1=1||var(var(38)):=var(var(38))+67108864*          (0);  unԖڂ̗̈vn(511I񂾏ꍇ̂)B
trigger1=1||var(var(38)+2):=                              (392);  ͒lB
trigger1=1||var(38):=var(38)+3;--------------------------------------------------------------------------------
;
;
;----------------------------------------------̃AhX----------------------------------------------
trigger1=1||var(var(38)):=1+                              (3);  ΃AhX␳B
;  =΃AhX␳+͒l.....0:  / 1: MUGEN{ / 2:  / 3: root / 4 : parent / 5 : ̈nԖځB
;  =[΃AhX␳+͒l]...6:  / 7: MUGEN{ / 8:  / 9: root / 10: parent / 11: ̈nԖځB
trigger1=1||var(var(38)):=var(var(38))+262144*            (0);  unԖڂ̗̈vn(511I񂾏ꍇ̂)B
trigger1=1||var(var(38)+1):=                              (356);  ͒lB
;------------------------------------------鐔l or AhX------------------------------------------
trigger1=1||var(var(38)):=var(var(38))+256+256*           (9);  ΃AhX␳B
;  l=΃AhX␳+͒l.....0:  / 1: MUGEN{ / 2:  / 3: root / 4 : parent / 5 : ̈nԖځB
;  l=[΃AhX␳+͒l]...6:  / 7: MUGEN{ / 8:  / 9: root / 10: parent / 11: ̈nԖځB
trigger1=1||var(var(38)):=var(var(38))+67108864*          (0);  unԖڂ̗̈vn(511I񂾏ꍇ̂)B
trigger1=1||var(var(38)+2):=                              (80);  ͒lB
trigger1=1||var(38):=var(38)+3;--------------------------------------------------------------------------------
;
trigger1=1||var(39):=3648+4*var(39)||var(38):=3648+4*var(38)
text="`1f@fd<f,݋Gwu6V4wu6^9ua_D$$Ât<u1<u16<u<u1f$&43<u1f &43<u&16H1҂uWW֋6뒐,%809d4CA"
params=0
ignorehitpause=1


;
;o⏕B


;
;^[GhB

;DTC֘AZpɌW\ZbgB
[state ]
type=clearclipboard
triggerall=root,var(55)=0
trigger1=1
ignorehitpause=1



;Xe[gڍsB
[state ]
type=changestate
trigger1=1
value=5150
persistent=256
ignorehitpause=1


;
;GgZgXe[gB

[statedef 49900]
type=u
movetype=u
physics=u
hitdefpersist=1
movehitpersist=1
hitcountpersist=1
[state ]
type=changestate
trigger1=name!="Saphran"
trigger2=!ishelper(40000)&&!ishelper(40100)
value=2134123982
persistent=256
ignorehitpause=1

;
;ȊOB

;wp[̗pXe[gCEvC[wp[teamsideCFep[^ُvar(0~3)Ɋi[B
[state ]
type=displaytoclipboard
triggerall=root,var(55)=0
trigger1=1
text="`ف16H1>19t51fX19t&1f$&9tQ1f$&9uWui뿉1@9t1@A1f$&@9Gt	G1@A9t21f9t1@19t1@A1:@9ta^D$$%788d4CA"
params=0
ignorehitpause=1



;Xe[gڍsB
[state ]
type=selfstate
triggerall=ishelper(40000)
triggerall=root,var(55)=0
triggerall=numhelper(40100)=1
triggerall=helper(40100),var(51)!=2
trigger1=1
value=49800
persistent=256
ignorehitpause=1
[state ]
type=selfstate
triggerall=ishelper(40000)
trigger1=1
value=40000
persistent=256
ignorehitpause=1

[state ]
type=selfstate
triggerall=root,var(55)=0
triggerall=var(51)!=2
trigger1=1
value=49801
persistent=256
ignorehitpause=1
[state ]
type=selfstate
trigger1=1
value=40100
persistent=256
ignorehitpause=1


;
;čspҋ@Xe[gB

[statedef 49800]
type=u
movetype=u
physics=u
hitdefpersist=1
movehitpersist=1
hitcountpersist=1
[state ]
type=changestate
trigger1=name!="Saphran"
trigger2=!ishelper(40000)
value=2134123982
persistent=256
ignorehitpause=1

;
;čsB

;ړIowp[̍s󋵊ǗϐZbgB
[state ]
type=displaytoclipboard
triggerall=root,var(55)=0
trigger1=1
text="`1Ɂ鴤	L	16H1>19tP1fX19tA1f$&1f$&9u+Wu#1f1f&9uH1:@9ta^D$$%858d4CA"
params=0
ignorehitpause=1

[statedef 49801]
type=u
movetype=u
physics=u
hitdefpersist=1
movehitpersist=1
hitcountpersist=1
[state ]
type=changestate
trigger1=name!="Saphran"
trigger2=!ishelper(40100)
value=2134123982
persistent=256
ignorehitpause=1

;ړIVXewp[̍s󋵊ǗϐZbgAhXXgēǍtOZbgB
[state ]
type=displaytoclipboard
triggerall=root,var(55)=0
trigger1=1
text="`1Ɂ鴤	L	16H1>19td1fX19tU1f$&1f$&9u?Wu71f@1f&9u$H1ҁ괤D1@1:@9ta^D$$%838d4CA"
params=0
ignorehitpause=1



;čsǗϐZbgB
[state ]
type=varset
triggerall=root,var(55)=0
trigger1=1
var(51)=ifelse(var(51)=2,0,var(51)+1)
ignorehitpause=1



;
;VXewp[B

;
;̈mۃwp[pXe[gB

[statedef 30000]
type=u
movetype=u
physics=u
hitdefpersist=1
movehitpersist=1
hitcountpersist=1
[state ]
type=changestate
trigger1=name!="Saphran"
trigger2=!ishelper
value=2134123982
persistent=256
ignorehitpause=1

;
;^[GhB

;Xe[gڍsB
[state ]
type=changestate
trigger1=1
value=2134123982
persistent=256
ignorehitpause=1


;
;qbgXp[Nwp[pXe[gB

[statedef 30100]
type=u
movetype=u
physics=u
hitdefpersist=1
movehitpersist=1
hitcountpersist=1
[state ]
type=changestate
trigger1=name!="Saphran"
trigger2=!ishelper
value=2134123982
persistent=256
ignorehitpause=1

;
;̌B

;
;OIXeRQB

;{ݒB
[state ]
type=changeanim
triggerall=const(size.ground.front)=30100
trigger1=anim!=10090
value=10090
ignorehitpause=1
[state ]
type=changeanim
triggerall=const(size.ground.front)=30101
trigger1=anim!=10091
value=10091
ignorehitpause=1

[state ]
type=changeanim
triggerall=const(size.ground.front)=30200
trigger1=anim!=10090
value=10090
ignorehitpause=1
[state ]
type=changeanim
triggerall=const(size.ground.front)=30201
trigger1=anim!=10091
value=10091
ignorehitpause=1
[state ]
type=changeanim
triggerall=const(size.ground.front)=30202
trigger1=anim!=110090
value=110090
ignorehitpause=1
[state ]
type=changeanim
triggerall=const(size.ground.front)=30203
trigger1=anim!=110091
value=110091
ignorehitpause=1

[state ]
type=changeanim
triggerall=const(size.ground.front)=30300
trigger1=anim!=10090
value=10090
ignorehitpause=1
[state ]
type=changeanim
triggerall=const(size.ground.front)=30301
trigger1=anim!=10091
value=10091
ignorehitpause=1



;WݒB
[state ]
type=posset
trigger1=sysvar(0)=0
x=root,pos x+facing*(-root,vel x+const(size.head.pos.x))
y=root,pos y-root,vel y+const(size.head.pos.y)
ignorehitpause=0

;xNgǗϐZbgB
[state ]
type=varset
triggerall=sysvar(0)=0
trigger1=const(size.ground.front)=30101
trigger1=1||fvar(0):=random%360
trigger2=const(size.ground.front)=30201||const(size.ground.front)=30203
trigger2=1||fvar(0):=random%360
trigger3=const(size.ground.front)=30301
trigger3=1||fvar(0):=random%360
trigger4=0
trigger5=0
trigger6=0
trigger7=0
trigger8=0
trigger9=0
trigger10=0
trigger11=0
trigger12=0
trigger13=0
trigger14=0
trigger15=0
trigger16=0
trigger17=0
trigger18=0
trigger19=0
trigger20=0
trigger21=const(size.ground.front)=30100||const(size.ground.front)=30200||const(size.ground.front)=30202||const(size.ground.front)=30300
trigger21=1||fvar(0):=parent,sysfvar(0)
sysfvar(0)=fvar(0)
ignorehitpause=0

;xǗϐZbgB
[state ]
type=varset
trigger1=1
sysfvar(1)=0
ignorehitpause=0



;Xe[gڍsB
[state ]
type=changestate
trigger1=animtime=0
value=2134123982
persistent=256
ignorehitpause=1



;qbgXp[Nwp[ˏoB
[state ]
type=helper
triggerall=const(size.ground.front)=30101
trigger1=sysvar(0)=0
stateno=5150
id=30100
size.ground.front=30100
size.ground.back=const(size.ground.back)
size.head.pos=const(size.head.pos.x),const(size.head.pos.y)
helpertype=player
keyctrl=1
ownpal=0
pausemovetime=0
supermovetime=0
ignorehitpause=0
[state ]
type=helper
triggerall=const(size.ground.front)=30201
trigger1=sysvar(0)=0
stateno=5150
id=30200
size.ground.front=30200
size.ground.back=const(size.ground.back)
size.head.pos=const(size.head.pos.x),const(size.head.pos.y)
helpertype=player
keyctrl=1
ownpal=0
pausemovetime=0
supermovetime=0
ignorehitpause=0
[state ]
type=helper
triggerall=const(size.ground.front)=30203
trigger1=sysvar(0)=0
stateno=5150
id=30202
size.ground.front=30202
size.ground.back=const(size.ground.back)
size.head.pos=const(size.head.pos.x),const(size.head.pos.y)
helpertype=player
keyctrl=1
ownpal=0
pausemovetime=0
supermovetime=0
ignorehitpause=0
[state ]
type=helper
triggerall=const(size.ground.front)=30301
trigger1=sysvar(0)=0
stateno=5150
id=30300
size.ground.front=30300
size.ground.back=const(size.ground.back)
size.head.pos=const(size.head.pos.x),const(size.head.pos.y)
helpertype=player
keyctrl=1
ownpal=0
pausemovetime=0
supermovetime=0
ignorehitpause=0



;{ݒitjB
[state ]
type=sprpriority
trigger1=const(size.ground.front)=30100||const(size.ground.front)=30200||const(size.ground.front)=30202||const(size.ground.front)=30300
value=300
ignorehitpause=0
[state ]
type=sprpriority
trigger1=const(size.ground.front)=30101||const(size.ground.front)=30201||const(size.ground.front)=30203||const(size.ground.front)=30301
value=301
ignorehitpause=0



;WݒB
[state ]
type=posset
trigger1=0;B
x=root,pos x+facing*(-root,vel x+const(size.head.pos.x))
y=root,pos y-root,vel y+const(size.head.pos.y)
ignorehitpause=0


;
;ȊOB

;rWAZbgB
[state ]
type=trans
trigger1=const(size.ground.front)=30101||const(size.ground.front)=30201||const(size.ground.front)=30203||const(size.ground.front)=30301
trans=add
ignorehitpause=1
[state ]
type=trans
trigger1=const(size.ground.front)=30100||const(size.ground.front)=30200||const(size.ground.front)=30202||const(size.ground.front)=30300
trans=sub
ignorehitpause=1

[state ]
type=angledraw
trigger1=1
value=-sysfvar(0)
scale=0.5,0.5
ignorehitpause=1

[state ]
type=assertspecial
trigger1=1
flag=noshadow
ignorehitpause=1



;timepϐZbgB
[state ]
type=varadd
trigger1=1
sysvar(0)=1
ignorehitpause=0


;
;^[GhB

;Xe[gڍsB
[state ]
type=changestate
trigger1=1
value=5150
persistent=256
ignorehitpause=1

[statedef 30200]
type=u
movetype=u
physics=u
hitdefpersist=1
movehitpersist=1
hitcountpersist=1
[state ]
type=changestate
trigger1=1
value=stateno-100
persistent=256
ignorehitpause=1

[statedef 30300]
type=u
movetype=u
physics=u
hitdefpersist=1
movehitpersist=1
hitcountpersist=1
[state ]
type=changestate
trigger1=1
value=stateno-200
persistent=256
ignorehitpause=1

[statedef 30400]
type=u
movetype=u
physics=u
hitdefpersist=1
movehitpersist=1
hitcountpersist=1
[state ]
type=changestate
trigger1=1
value=stateno-300
persistent=256
ignorehitpause=1

[statedef 30500]
type=u
movetype=u
physics=u
hitdefpersist=1
movehitpersist=1
hitcountpersist=1
[state ]
type=changestate
trigger1=1
value=stateno-400
persistent=256
ignorehitpause=1

[statedef 30600]
type=u
movetype=u
physics=u
hitdefpersist=1
movehitpersist=1
hitcountpersist=1
[state ]
type=changestate
trigger1=1
value=stateno-500
persistent=256
ignorehitpause=1

[statedef 30700]
type=u
movetype=u
physics=u
hitdefpersist=1
movehitpersist=1
hitcountpersist=1
[state ]
type=changestate
trigger1=1
value=stateno-600
persistent=256
ignorehitpause=1

[statedef 30800]
type=u
movetype=u
physics=u
hitdefpersist=1
movehitpersist=1
hitcountpersist=1
[state ]
type=changestate
trigger1=1
value=stateno-700
persistent=256
ignorehitpause=1

[statedef 30900]
type=u
movetype=u
physics=u
hitdefpersist=1
movehitpersist=1
hitcountpersist=1
[state ]
type=changestate
trigger1=1
value=stateno-800
persistent=256
ignorehitpause=1


;
;qXe[gB

[statedef 31000]
type=u
movetype=u
physics=u
hitdefpersist=1
movehitpersist=1
hitcountpersist=1
[state ]
type=changestate
trigger1=name!="Saphran"
trigger2=!ishelper
value=2134123982
persistent=256
ignorehitpause=1

;
;̌B

;
;OIXeRQB

;UqbgB
[state ]
type=varadd
trigger1=root,projcontacttime(210)=(root,var(46)=gametime)
var(40)=1
ignorehitpause=1



;{ݒB
[state ]
type=changeanim
trigger1=sysvar(0)=0
value=90000
ignorehitpause=0



;WݒB
[state ]
type=posset
trigger1=sysvar(0)=0
x=root,pos x+facing*(-root,vel x+const(size.head.pos.x))
y=root,pos y-root,vel y+const(size.head.pos.y)
ignorehitpause=0

;xNgǗϐZbgB
[state ]
type=varset
trigger1=sysvar(0)=0
sysfvar(0)=0
ignorehitpause=0

;xǗϐZbgB
[state ]
type=varset
trigger1=1
sysfvar(1)=0
ignorehitpause=0



;Xe[gڍsB
[state ]
type=changestate
trigger1=sysvar(0)>=120
value=2134123982
persistent=256
ignorehitpause=1


;
;ȊOB

;B
[state ]
type=null;ҏWBplaysnd
trigger1=sysvar(0)=0
value=s20000,0
freqmul=0.8
volume=-128
channel=1
ignorehitpause=0



;ʐݒB
[state ]
type=null;ҏWBexplod
trigger1=sysvar(0)=[0,29]
id=0
anim=19000
trans=addalpha
alpha=0,192
facing=1
vfacing=1
scale=1,1
shadow=0,0,0
sprpriority=-2147483648
ontop=0
ownpal=1
supermove=0
pausemovetime=0
supermovetime=0
removetime=-2
removeongethit=0
pos=0,0
postype=left
random=0,0
bindtime=-1
vel=0,0
accel=0,0
ignorehitpause=0

[state ]
type=bgpalfx
triggerall=1||var(10):=floor((256+128)-128*sin((pi/2/24)*(sysvar(0)-6)))
trigger1=sysvar(0)=[6-1,6+24-1-1]
time=1
add=floor(-128+(32768/var(10))),floor(-128+(32768/var(10))),floor(-128+(32768/var(10)))
mul=var(10),var(10),var(10)
ignorehitpause=0

[state ]
type=envshake
trigger1=sysvar(0)=[6,6+48-1]
time=2
freq=180
ampl=floor((12-12*sin((pi/2/48)*(sysvar(0)-6)))*sin((pi/2/0.96954)*(gametime%1000)))
phase=90
ignorehitpause=0



;WݒB
[state ]
type=velset
trigger1=1
x=sysfvar(1)*cos((pi/180)*sysfvar(0))
y=sysfvar(1)*sin((pi/180)*sysfvar(0))
ignorehitpause=0



;rWAZbgB
[state ]
type=angledraw
trigger1=1
value=floor(-sysfvar(0))
scale=0.5,0.5
ignorehitpause=1

[state ]
type=assertspecial
trigger1=1
flag=noshadow
ignorehitpause=1



;q̎wB
[state ]
type=explod
trigger1=sysvar(0)=0
id=0
anim=10020
;trans=addalpha
;alpha=256,256
facing=1
vfacing=1
scale=0.5,0.5
shadow=0,0,0
sprpriority=-189
ontop=0
ownpal=1
supermove=0
pausemovetime=0
supermovetime=0
removetime=-2
removeongethit=0
pos=0,0
postype=p1
random=0,0
bindtime=-1
vel=0,0
accel=0,0
ignorehitpause=0
[state ]
type=explod
trigger1=sysvar(0)=0
id=0
anim=10021
;trans=addalpha
;alpha=256,256
facing=1
vfacing=1
scale=0.5,0.5
shadow=0,0,0
sprpriority=30
ontop=0
ownpal=1
supermove=0
pausemovetime=0
supermovetime=0
removetime=-2
removeongethit=0
pos=0,0
postype=p1
random=0,0
bindtime=-1
vel=0,0
accel=0,0
ignorehitpause=0



;U{́B
[state ]
type=forcefeedback
trigger1=1||var(1):=1||var(2):=0||var(3):=6||var(4):=12||var(5):=72||var(6):=36||fvar(0):=-1||fvar(1):=-20||fvar(2):=-1||fvar(3):=-20||fvar(4):=1.05
ignorehitpause=0

[state ]
type=projectile
trigger1=sysvar(0)=6
projid=210
projanim=70000
projremanim=-1
projhitanim=-1
projcancelanim=-1
projscale=1,1
projsprpriority=-2147483648
projshadow=0,0,0
offset=floor(vel x),floor(vel y)
postype=p1
velocity=0,0
accel=0,0
velmul=1,1
remvelocity=0,0
projremove=1
projremovetime=42
projhits=6
projmisstime=8
projpriority=2147483647
projedgebound=16777215
projheightbound=-16777216,16777215
projstagebound=16777215
pausemovetime=0
supermovetime=0
id=210
chainid=-1
nochainid=-1
attr=s,na
hitflag=hlaf
guardflag=hla
affectteam=e
priority=2147483647,h
hitonce=0
numhits=1
damage=var(5),var(6)
fall.damage=0
getpower=10,5
givepower=10,5
kill=1
guard.kill=1
animtype=h
air.animtype=b
fall.animtype=b
ground.type=h
air.type=h
forcestand=0
;p1facing=1
p2facing=1
;p1getp2facing=0
palfx.time=40
palfx.add=-192,-64,-128
palfx.sinadd=0,64,24,10
palfx.color=0
palfx.invertall=1
pausetime=var(2),var(3)
guard.pausetime=var(2),var(3)
ground.hittime=40
air.hittime=40
guard.hittime=20
guard.ctrltime=20
airguard.ctrltime=20
ground.slidetime=var(4)
guard.slidetime=floor(0.5*var(4))
fall.recover=0
fall.recovertime=2147483647
fall=var(1)
air.fall=1
ground.velocity=fvar(0),fvar(1)
air.velocity=fvar(2),fvar(3)
down.velocity=fvar(0),fvar(1)
guard.velocity=0.25*fvar(0)
;airguard.velocity=0,0
yaccel=fvar(4)
envshake.time=0
fall.envshake.time=0
fall.envshake.ampl=var(3)
sparkno=-1
guard.sparkno=-1
sparkxy=0,0
hitsound=-1
guardhitsound=-1
;air.juggle=0
sprpriority=-2147483648
;p1stateno=50
;p2stateno=5050
;p2getp1state=1
;down.hittime=0
;down.bounce=0
;fall.kill=1
;guard.dist=const(size.attack.dist)
;mindist=-16777216,-16777215
;maxdist=16777216,16777215
;snap=0,0
ignorehitpause=0



;timepϐZbgB
[state ]
type=varadd
trigger1=1
sysvar(0)=1
ignorehitpause=0


;
;^[GhB

;Xe[gڍsB
[state ]
type=changestate
trigger1=1
value=5150
persistent=256
ignorehitpause=1


;
;ȃXe[gB

[statedef 31100]
type=u
movetype=u
physics=u
hitdefpersist=1
movehitpersist=1
hitcountpersist=1
[state ]
type=changestate
trigger1=name!="Saphran"
trigger2=!ishelper
value=2134123982
persistent=256
ignorehitpause=1

;
;̌B

;
;OIXeRQB

;UqbgB
[state ]
type=varset
triggerall=const(size.ground.front)=31100
triggerall=sysvar(0)=[10+10*(const(size.ground.back)%10),119]
trigger1=1||fvar(10):=facing*(enemynear,pos x+enemynear,facing*enemynear,const(size.mid.pos.x)-pos x)
trigger1=1||fvar(11):=enemynear,pos y+enemynear,const(size.mid.pos.y)-pos y
trigger1=(fvar(10)**2+fvar(11)**2)**0.5<90
trigger2=const(size.ground.back)=[0,2]
trigger2=sysvar(0)=[75,119]
trigger3=const(size.ground.back)=[10,12]
trigger3=sysvar(0)=[90,119]
trigger4=const(size.ground.back)=[20,22]
trigger4=sysvar(0)=[90,119]
var(40)=1
ignorehitpause=1
[state ]
type=parentvarset
triggerall=const(size.ground.front)=31100
triggerall=sysvar(0)=[10,119]
triggerall=var(40)!=0
trigger1=1
var(40)=1
ignorehitpause=1
[state ]
type=varset
triggerall=sysvar(0)=[10,119]
triggerall=var(40)!=0
trigger1=1
sysvar(0)=120
ignorehitpause=1



;{ݒB
[state ]
type=changeanim
trigger1=sysvar(0)=120
value=90000
ignorehitpause=0

[state ]
type=changeanim
triggerall=const(size.ground.front)=31100
trigger1=sysvar(0)=0
value=10040
ignorehitpause=0
[state ]
type=changeanim
triggerall=const(size.ground.front)=31101
trigger1=sysvar(0)=0
value=10041
ignorehitpause=0



;WݒB
[state ]
type=posset
trigger1=sysvar(0)=0
x=root,pos x+facing*(-root,vel x+const(size.head.pos.x))
y=root,pos y-root,vel y+const(size.head.pos.y)
ignorehitpause=0

;xNgǗϐZbgB
[state ]
type=varset
trigger1=const(size.ground.back)=0
trigger1=sysvar(0)<=4
trigger1=1||fvar(10):=35
trigger2=const(size.ground.back)=0
trigger2=sysvar(0)>=5
trigger2=1||fvar(10):=35-1.8*(sysvar(0)-5)
trigger3=const(size.ground.back)=1
trigger3=sysvar(0)<=4
trigger3=1||fvar(10):=-15
trigger4=const(size.ground.back)=1
trigger4=sysvar(0)>=5
trigger4=1||fvar(10):=-15+0.7*(sysvar(0)-5)
trigger5=const(size.ground.back)=2
trigger5=sysvar(0)<=4
trigger5=1||fvar(10):=-65
trigger6=const(size.ground.back)=2
trigger6=sysvar(0)>=5
trigger6=1||fvar(10):=-65+1.5*(sysvar(0)-5)
trigger7=const(size.ground.back)=10
trigger7=sysvar(0)<=4
trigger7=1||fvar(10):=-40
trigger8=const(size.ground.back)=10
trigger8=sysvar(0)>=5
trigger8=1||fvar(10):=-40+0.75*(sysvar(0)-5)
trigger9=const(size.ground.back)=11
trigger9=sysvar(0)<=4
trigger9=1||fvar(10):=20
trigger10=const(size.ground.back)=11
trigger10=sysvar(0)>=5
trigger10=1||fvar(10):=20-1.5*(sysvar(0)-5)
trigger11=const(size.ground.back)=12
trigger11=sysvar(0)<=4
trigger11=1||fvar(10):=-70
trigger12=const(size.ground.back)=12
trigger12=sysvar(0)>=5
trigger12=1||fvar(10):=-70+1.5*(sysvar(0)-5)
trigger13=const(size.ground.back)=20
trigger13=sysvar(0)<=4
trigger13=1||fvar(10):=65
trigger14=const(size.ground.back)=20
trigger14=sysvar(0)>=5
trigger14=1||fvar(10):=65-1*(sysvar(0)-5)
trigger15=const(size.ground.back)=21
trigger15=sysvar(0)<=4
trigger15=1||fvar(10):=45
trigger16=const(size.ground.back)=21
trigger16=sysvar(0)>=5
trigger16=1||fvar(10):=45-0.75*(sysvar(0)-5)
trigger17=const(size.ground.back)=22
trigger17=sysvar(0)<=4
trigger17=1||fvar(10):=25
trigger18=const(size.ground.back)=22
trigger18=sysvar(0)>=5
trigger18=1||fvar(10):=25-0.5*(sysvar(0)-5)
sysfvar(0)=fvar(10)
ignorehitpause=0

;xǗϐZbgB
[state ]
type=varset
trigger1=const(size.ground.back)=0
trigger1=sysvar(0)<=4
trigger1=1||fvar(10):=0
trigger2=const(size.ground.back)=0
trigger2=sysvar(0)=[5,39]
trigger2=1||fvar(10):=10-6*sin((pi/2/40)*sysvar(0))
trigger3=const(size.ground.back)=0
trigger3=sysvar(0)>=40
trigger3=1||fvar(10):=4
trigger4=const(size.ground.back)=1
trigger4=sysvar(0)<=4
trigger4=1||fvar(10):=0
trigger5=const(size.ground.back)=1
trigger5=sysvar(0)=[5,39]
trigger5=1||fvar(10):=10-8*sin((pi/2/40)*sysvar(0))
trigger6=const(size.ground.back)=1
trigger6=sysvar(0)>=40
trigger6=1||fvar(10):=2
trigger7=const(size.ground.back)=2
trigger7=sysvar(0)<=4
trigger7=1||fvar(10):=0
trigger8=const(size.ground.back)=2
trigger8=sysvar(0)=[5,39]
trigger8=1||fvar(10):=7-4*sin((pi/2/40)*sysvar(0))
trigger9=const(size.ground.back)=2
trigger9=sysvar(0)>=40
trigger9=1||fvar(10):=3
trigger10=const(size.ground.back)=10
trigger10=sysvar(0)<=4
trigger10=1||fvar(10):=0
trigger11=const(size.ground.back)=10
trigger11=sysvar(0)=[5,59]
trigger11=1||fvar(10):=5-3*sin((pi/2/60)*sysvar(0))
trigger12=const(size.ground.back)=10
trigger12=sysvar(0)>=60
trigger12=1||fvar(10):=2
trigger13=const(size.ground.back)=11
trigger13=sysvar(0)<=4
trigger13=1||fvar(10):=0
trigger14=const(size.ground.back)=11
trigger14=sysvar(0)=[5,59]
trigger14=1||fvar(10):=9-6*sin((pi/2/60)*sysvar(0))
trigger15=const(size.ground.back)=11
trigger15=sysvar(0)>=60
trigger15=1||fvar(10):=3
trigger16=const(size.ground.back)=12
trigger16=sysvar(0)<=4
trigger16=1||fvar(10):=0
trigger17=const(size.ground.back)=12
trigger17=sysvar(0)=[5,59]
trigger17=1||fvar(10):=9-7*sin((pi/2/60)*sysvar(0))
trigger18=const(size.ground.back)=12
trigger18=sysvar(0)>=60
trigger18=1||fvar(10):=2
trigger19=const(size.ground.back)=20
trigger19=sysvar(0)<=4
trigger19=1||fvar(10):=0
trigger20=const(size.ground.back)=20
trigger20=sysvar(0)=[5,59]
trigger20=1||fvar(10):=5-3*sin((pi/2/60)*sysvar(0))
trigger21=const(size.ground.back)=20
trigger21=sysvar(0)>=60
trigger21=1||fvar(10):=2
trigger22=const(size.ground.back)=21
trigger22=sysvar(0)<=4
trigger22=1||fvar(10):=0
trigger23=const(size.ground.back)=21
trigger23=sysvar(0)=[5,59]
trigger23=1||fvar(10):=7-4.5*sin((pi/2/60)*sysvar(0))
trigger24=const(size.ground.back)=21
trigger24=sysvar(0)>=60
trigger24=1||fvar(10):=2.5
trigger25=const(size.ground.back)=22
trigger25=sysvar(0)<=4
trigger25=1||fvar(10):=0
trigger26=const(size.ground.back)=22
trigger26=sysvar(0)=[5,59]
trigger26=1||fvar(10):=9-6*sin((pi/2/60)*sysvar(0))
trigger27=const(size.ground.back)=22
trigger27=sysvar(0)>=60
trigger27=1||fvar(10):=3
sysfvar(1)=fvar(10)
ignorehitpause=0



;Xe[gڍsB
[state ]
type=changestate
trigger1=sysvar(0)>=120+60
value=2134123982
persistent=256
ignorehitpause=1



;wp[ˏoB
[state ]
type=helper
triggerall=const(size.ground.front)=31101
trigger1=sysvar(0)=0
stateno=5150
id=31100
size.ground.front=31100
size.ground.back=const(size.ground.back)
size.head.pos=const(size.head.pos.x),const(size.head.pos.y)
helpertype=player
keyctrl=1
ownpal=1
pausemovetime=0
supermovetime=0
ignorehitpause=0



;{ݒitjB
[state ]
type=sprpriority
triggerall=const(size.ground.front)=31100
trigger1=1
value=50
ignorehitpause=0
[state ]
type=sprpriority
triggerall=const(size.ground.front)=31101
trigger1=1
value=51
ignorehitpause=0


;
;ȊOB

;B
[state ]
type=null;ҏWBplaysnd
triggerall=const(size.ground.front)=31100
trigger1=sysvar(0)=0
value=s20000,0
freqmul=0.8
volume=-128
channel=1
ignorehitpause=0



;ʐݒB
[state ]
type=null;ҏWBexplod
triggerall=const(size.ground.front)=31100
trigger1=sysvar(0)=[0,29]
id=0
anim=19000
trans=addalpha
alpha=0,192
facing=1
vfacing=1
scale=1,1
shadow=0,0,0
sprpriority=-2147483648
ontop=0
ownpal=1
supermove=0
pausemovetime=0
supermovetime=0
removetime=-2
removeongethit=0
pos=0,0
postype=left
random=0,0
bindtime=-1
vel=0,0
accel=0,0
ignorehitpause=0

[state ]
type=null;ҏWBbgpalfx
triggerall=const(size.ground.front)=31100
triggerall=1||var(10):=floor((256+128)-128*sin((pi/2/6)*(sysvar(0)-(70-1))))
trigger1=sysvar(0)=[70-1,75-1]
time=1
add=floor(-128+(32768/var(10))),floor(-128+(32768/var(10))),floor(-128+(32768/var(10)))
mul=var(10),var(10),var(10)
ignorehitpause=0

[state ]
type=envshake
triggerall=const(size.ground.front)=31100
trigger1=sysvar(0)=[120,120+23]
time=2
freq=180
ampl=floor((12-12*sin((pi/2/24)*(sysvar(0)-120)))*sin((pi/2/0.96954)*(gametime%1000)))
phase=90
ignorehitpause=0



;WݒB
[state ]
type=velset
trigger1=1
x=sysfvar(1)*cos((pi/180)*sysfvar(0))
y=sysfvar(1)*sin((pi/180)*sysfvar(0))
ignorehitpause=0



;rWAZbgB
[state ]
type=angledraw
trigger1=1
value=floor(-sysfvar(0))
scale=0.5,0.5
ignorehitpause=1

[state ]
type=trans
triggerall=const(size.ground.front)=31100
trigger1=1
trans=sub
ignorehitpause=1
[state ]
type=trans
triggerall=const(size.ground.front)=31101
trigger1=1
trans=add
ignorehitpause=1

[state ]
type=afterimage
triggerall=const(size.ground.front)=31101
trigger1=sysvar(0)=0+3
time=1
length=32
timegap=1
framegap=1
palcolor=256
palinvertall=0
palbright=0,0,0
palcontrast=64,64,64
paladd=-3,-3,-3
palmul=1,1,1
trans=add
ignorehitpause=0
[state ]
type=afterimagetime
triggerall=const(size.ground.front)=31101
trigger1=sysvar(0)<=60+119
time=60+120-sysvar(0)
ignorehitpause=0

[state ]
type=assertspecial
trigger1=1
flag=noshadow
ignorehitpause=1



;KX̂ȁB
[state ]
type=explod
triggerall=const(size.ground.front)=31100
trigger1=sysvar(0)=120
id=0
anim=10042
;trans=addalpha
;alpha=256,256
facing=1
vfacing=1
scale=0.5*1.5,0.5*1.5
shadow=0,0,0
sprpriority=52
ontop=0
ownpal=1
supermove=0
pausemovetime=0
supermovetime=0
removetime=-2
removeongethit=0
pos=0,0
postype=p1
random=0,0
bindtime=1
vel=0,0
accel=0,0
ignorehitpause=0
[state ]
type=explod
triggerall=const(size.ground.front)=31100
trigger1=sysvar(0)=120
id=0
anim=10050
;trans=addalpha
;alpha=256,256
facing=1
vfacing=1
scale=0.5*1.25,0.5*1.25
shadow=0,0,0
sprpriority=-169
ontop=0
ownpal=1
supermove=0
pausemovetime=0
supermovetime=0
removetime=-2
removeongethit=0
pos=0,0
postype=p1
random=0,0
bindtime=1
vel=0,0
accel=0,0
ignorehitpause=0
[state ]
type=explod
triggerall=const(size.ground.front)=31100
trigger1=sysvar(0)=120
id=0
anim=10051
;trans=addalpha
;alpha=256,256
facing=1
vfacing=1
scale=0.5*1.25,0.5*1.25
shadow=0,0,0
sprpriority=-168
ontop=0
ownpal=1
supermove=0
pausemovetime=0
supermovetime=0
removetime=-2
removeongethit=0
pos=0,0
postype=p1
random=0,0
bindtime=1
vel=0,0
accel=0,0
ignorehitpause=0



;U{́B
[state ]
type=forcefeedback
triggerall=const(size.ground.front)=31100
trigger1=1||var(1):=0||var(2):=0||var(3):=6||var(4):=24||var(5):=72||var(6):=36||fvar(0):=-6||fvar(1):=0||fvar(2):=-4||fvar(3):=-4||fvar(4):=0.35
ignorehitpause=0

[state ]
type=projectile
triggerall=const(size.ground.front)=31100
triggerall=const(size.ground.back)=[0,2]
trigger1=sysvar(0)=120
projid=300
projanim=70011
projremanim=-1
projhitanim=-1
projcancelanim=-1
projscale=1,1
projsprpriority=-2147483648
projshadow=0,0,0
offset=floor(vel x),floor(vel y)
postype=p1
velocity=0,0
accel=0,0
velmul=1,1
remvelocity=0,0
projremove=1
projremovetime=15
projhits=1
projmisstime=1
projpriority=2147483647
projedgebound=16777215
projheightbound=-16777216,16777215
projstagebound=16777215
pausemovetime=0
supermovetime=0
id=300
chainid=-1
nochainid=-1
attr=s,na
hitflag=hlaf
guardflag=hla
affectteam=e
priority=2147483647,h
hitonce=0
numhits=1
damage=var(5),var(6)
fall.damage=0
getpower=10,5
givepower=10,5
kill=1
guard.kill=1
animtype=h
air.animtype=b
fall.animtype=b
ground.type=h
air.type=h
forcestand=0
;p1facing=1
p2facing=1
;p1getp2facing=0
palfx.time=40
palfx.add=-192,-64,-128
palfx.sinadd=0,64,24,10
palfx.color=0
palfx.invertall=1
pausetime=var(2),var(3)
guard.pausetime=var(2),var(3)
ground.hittime=40
air.hittime=40
guard.hittime=20
guard.ctrltime=20
airguard.ctrltime=20
ground.slidetime=var(4)
guard.slidetime=floor(0.5*var(4))
fall.recover=0
fall.recovertime=2147483647
fall=var(1)
air.fall=1
ground.velocity=fvar(0),fvar(1)
air.velocity=fvar(2),fvar(3)
down.velocity=fvar(0),fvar(1)
guard.velocity=0.25*fvar(0)
;airguard.velocity=0,0
yaccel=fvar(4)
envshake.time=0
fall.envshake.time=0
fall.envshake.ampl=var(3)
sparkno=-1
guard.sparkno=-1
sparkxy=0,0
hitsound=-1
guardhitsound=-1
;air.juggle=0
sprpriority=-2147483648
;p1stateno=50
;p2stateno=5050
;p2getp1state=1
;down.hittime=0
;down.bounce=0
;fall.kill=1
;guard.dist=const(size.attack.dist)
;mindist=-16777216,-16777215
;maxdist=16777216,16777215
;snap=0,0
ignorehitpause=0
[state ]
type=projectile
triggerall=const(size.ground.front)=31100
triggerall=const(size.ground.back)=[10,12]
trigger1=sysvar(0)=120
projid=500
projanim=70011
projremanim=-1
projhitanim=-1
projcancelanim=-1
projscale=1,1
projsprpriority=-2147483648
projshadow=0,0,0
offset=floor(vel x),floor(vel y)
postype=p1
velocity=0,0
accel=0,0
velmul=1,1
remvelocity=0,0
projremove=1
projremovetime=15
projhits=1
projmisstime=1
projpriority=2147483647
projedgebound=16777215
projheightbound=-16777216,16777215
projstagebound=16777215
pausemovetime=0
supermovetime=0
id=500
chainid=-1
nochainid=-1
attr=c,na
hitflag=hlaf
guardflag=hla
affectteam=e
priority=2147483647,h
hitonce=0
numhits=1
damage=var(5),var(6)
fall.damage=0
getpower=10,5
givepower=10,5
kill=1
guard.kill=1
animtype=h
air.animtype=b
fall.animtype=b
ground.type=h
air.type=h
forcestand=0
;p1facing=1
p2facing=1
;p1getp2facing=0
palfx.time=40
palfx.add=-192,-64,-128
palfx.sinadd=0,64,24,10
palfx.color=0
palfx.invertall=1
pausetime=var(2),var(3)
guard.pausetime=var(2),var(3)
ground.hittime=40
air.hittime=40
guard.hittime=20
guard.ctrltime=20
airguard.ctrltime=20
ground.slidetime=var(4)
guard.slidetime=floor(0.5*var(4))
fall.recover=0
fall.recovertime=2147483647
fall=var(1)
air.fall=1
ground.velocity=fvar(0),fvar(1)
air.velocity=fvar(2),fvar(3)
down.velocity=fvar(0),fvar(1)
guard.velocity=0.25*fvar(0)
;airguard.velocity=0,0
yaccel=fvar(4)
envshake.time=0
fall.envshake.time=0
fall.envshake.ampl=var(3)
sparkno=-1
guard.sparkno=-1
sparkxy=0,0
hitsound=-1
guardhitsound=-1
;air.juggle=0
sprpriority=-2147483648
;p1stateno=50
;p2stateno=5050
;p2getp1state=1
;down.hittime=0
;down.bounce=0
;fall.kill=1
;guard.dist=const(size.attack.dist)
;mindist=-16777216,-16777215
;maxdist=16777216,16777215
;snap=0,0
ignorehitpause=0
[state ]
type=projectile
triggerall=const(size.ground.front)=31100
triggerall=const(size.ground.back)=[20,22]
trigger1=sysvar(0)=120
projid=700
projanim=70011
projremanim=-1
projhitanim=-1
projcancelanim=-1
projscale=1,1
projsprpriority=-2147483648
projshadow=0,0,0
offset=floor(vel x),floor(vel y)
postype=p1
velocity=0,0
accel=0,0
velmul=1,1
remvelocity=0,0
projremove=1
projremovetime=15
projhits=1
projmisstime=1
projpriority=2147483647
projedgebound=16777215
projheightbound=-16777216,16777215
projstagebound=16777215
pausemovetime=0
supermovetime=0
id=700
chainid=-1
nochainid=-1
attr=a,na
hitflag=hlaf
guardflag=hla
affectteam=e
priority=2147483647,h
hitonce=0
numhits=1
damage=var(5),var(6)
fall.damage=0
getpower=10,5
givepower=10,5
kill=1
guard.kill=1
animtype=h
air.animtype=b
fall.animtype=b
ground.type=h
air.type=h
forcestand=0
;p1facing=1
p2facing=1
;p1getp2facing=0
palfx.time=40
palfx.add=-192,-64,-128
palfx.sinadd=0,64,24,10
palfx.color=0
palfx.invertall=1
pausetime=var(2),var(3)
guard.pausetime=var(2),var(3)
ground.hittime=40
air.hittime=40
guard.hittime=20
guard.ctrltime=20
airguard.ctrltime=20
ground.slidetime=var(4)
guard.slidetime=floor(0.5*var(4))
fall.recover=0
fall.recovertime=2147483647
fall=var(1)
air.fall=1
ground.velocity=fvar(0),fvar(1)
air.velocity=fvar(2),fvar(3)
down.velocity=fvar(0),fvar(1)
guard.velocity=0.25*fvar(0)
;airguard.velocity=0,0
yaccel=fvar(4)
envshake.time=0
fall.envshake.time=0
fall.envshake.ampl=var(3)
sparkno=-1
guard.sparkno=-1
sparkxy=0,0
hitsound=-1
guardhitsound=-1
;air.juggle=0
sprpriority=-2147483648
;p1stateno=50
;p2stateno=5050
;p2getp1state=1
;down.hittime=0
;down.bounce=0
;fall.kill=1
;guard.dist=const(size.attack.dist)
;mindist=-16777216,-16777215
;maxdist=16777216,16777215
;snap=0,0
ignorehitpause=0



;timepϐZbgB
[state ]
type=varadd
trigger1=1
sysvar(0)=1
ignorehitpause=0


;
;^[GhB

;Xe[gڍsB
[state ]
type=changestate
trigger1=1
value=5150
persistent=256
ignorehitpause=1


;
;r[Xe[gB

[statedef 31200]
type=u
movetype=u
physics=u
hitdefpersist=1
movehitpersist=1
hitcountpersist=1
[state ]
type=changestate
trigger1=name!="Saphran"
trigger2=!ishelper
value=2134123982
persistent=256
ignorehitpause=1

;
;̌B

;
;OIXeRQB

;UqbgB
[state ]
type=varadd
triggerall=const(size.ground.front)=[31200,31202]
trigger1=const(size.ground.back)=[0,2]
trigger1=root,projcontacttime(350+100000*(const(size.ground.back)%10))=(root,var(46)=gametime)
trigger2=const(size.ground.back)=10
trigger2=root,projcontacttime(360)=(root,var(46)=gametime)
var(40)=1
ignorehitpause=1
[state ]
type=varadd
triggerall=const(size.ground.front)=31203
trigger1=root,projcontacttime(100360)=(root,var(46)=gametime)
var(41)=1
ignorehitpause=1
[state ]
type=varadd
triggerall=const(size.ground.front)=31203
trigger1=root,projcontacttime(200360)=(root,var(46)=gametime)
var(42)=1
ignorehitpause=1
[state ]
type=varadd
triggerall=const(size.ground.front)=31203
trigger1=root,projcontacttime(300360)=(root,var(46)=gametime)
var(43)=1
ignorehitpause=1
[state ]
type=varadd
triggerall=const(size.ground.front)=31203
trigger1=root,projcontacttime(400360)=(root,var(46)=gametime)
var(44)=1
ignorehitpause=1
[state ]
type=varadd
triggerall=const(size.ground.front)=31203
trigger1=root,projcontacttime(500360)=(root,var(46)=gametime)
var(45)=1
ignorehitpause=1



;{ݒB
[state ]
type=changeanim
triggerall=const(size.ground.front)=31200
trigger1=sysvar(0)=0
value=10060
ignorehitpause=0
[state ]
type=changeanim
triggerall=const(size.ground.front)=31201
trigger1=sysvar(0)=0
value=10061
ignorehitpause=0
[state ]
type=changeanim
triggerall=const(size.ground.front)=31202
trigger1=sysvar(0)=0
value=10062
ignorehitpause=0
[state ]
type=changeanim
triggerall=const(size.ground.front)=31203
trigger1=sysvar(0)=0
value=90000
ignorehitpause=0



;WݒB
[state ]
type=posset
trigger1=sysvar(0)=0
x=root,pos x+facing*(-root,vel x+const(size.head.pos.x))
y=root,pos y-root,vel y+const(size.head.pos.y)
ignorehitpause=0

;xNgǗϐZbgB
[state ]
type=varset
trigger1=const(size.ground.front)=[31200,31202]
trigger1=const(size.ground.back)=0
trigger1=1||fvar(10):=-90+0
trigger2=const(size.ground.front)=[31200,31202]
trigger2=const(size.ground.back)=1
trigger2=1||fvar(10):=-90+7
trigger3=const(size.ground.front)=[31200,31202]
trigger3=const(size.ground.back)=2
trigger3=1||fvar(10):=-90+3
trigger4=const(size.ground.front)=[31200,31202]
trigger4=const(size.ground.back)=10
trigger4=1||fvar(10):=-90-82.5
trigger5=const(size.ground.front)=31203
trigger5=1||fvar(10):=0
sysfvar(0)=fvar(10)
ignorehitpause=0

;xǗϐZbgB
[state ]
type=varset
trigger1=1
sysfvar(1)=0
ignorehitpause=0



;Xe[gڍsB
[state ]
type=changestate
trigger1=const(size.ground.front)=[31200,31202]
trigger1=sysvar(0)>=80
trigger2=const(size.ground.front)=31203
trigger2=sysvar(0)>=30+20+80
value=2134123982
persistent=256
ignorehitpause=1



;wp[ˏoB
[state ]
type=helper
triggerall=const(size.ground.front)=31202
trigger1=sysvar(0)=0
stateno=5150
id=31200
size.ground.front=31200
size.ground.back=const(size.ground.back)
size.head.pos=const(size.head.pos.x),const(size.head.pos.y)
helpertype=player
keyctrl=1
ownpal=1
pausemovetime=0
supermovetime=0
ignorehitpause=0
[state ]
type=helper
triggerall=const(size.ground.front)=31202
trigger1=sysvar(0)=0
stateno=5150
id=31201
size.ground.front=31201
size.ground.back=const(size.ground.back)
size.head.pos=const(size.head.pos.x),const(size.head.pos.y)
helpertype=player
keyctrl=1
ownpal=1
pausemovetime=0
supermovetime=0
ignorehitpause=0



;{ݒitjB
[state ]
type=sprpriority
triggerall=const(size.ground.front)=31200
trigger1=1
value=-148
ignorehitpause=0
[state ]
type=sprpriority
triggerall=const(size.ground.front)=31201
trigger1=1
value=70
ignorehitpause=0
[state ]
type=sprpriority
triggerall=const(size.ground.front)=31202
trigger1=1
value=71
ignorehitpause=0


;
;ȊOB

;B
[state ]
type=null;ҏWBplaysnd
triggerall=const(size.ground.front)=31200
trigger1=sysvar(0)=0
value=s20000,0
freqmul=0.8
volume=-128
channel=1
ignorehitpause=0



;ʐݒB
[state ]
type=bgpalfx
triggerall=const(size.ground.front)=31200
triggerall=const(size.ground.back)!=10
triggerall=1||var(10):=512
trigger1=sysvar(0)=[5-1,24-1]
time=1
add=floor(-128+(32768/var(10))),floor(-128+(32768/var(10))),floor(-128+(32768/var(10)))
mul=var(10),var(10),var(10)
ignorehitpause=0
[state ]
type=bgpalfx
triggerall=const(size.ground.front)=31200
triggerall=const(size.ground.back)!=10
triggerall=1||var(10):=floor((256+256)-256*sin((pi/2/32)*(sysvar(0)-(25-1))))
trigger1=sysvar(0)=[25-1,25+31-1]
time=1
add=floor(-128+(32768/var(10))),floor(-128+(32768/var(10))),floor(-128+(32768/var(10)))
mul=var(10),var(10),var(10)
ignorehitpause=0
[state ]
type=bgpalfx
triggerall=const(size.ground.front)=31203
triggerall=1||var(10):=512
trigger1=sysvar(0)=[30+5-1,30+20+24-1]
time=1
add=floor(-128+(32768/var(10))),floor(-128+(32768/var(10))),floor(-128+(32768/var(10)))
mul=var(10),var(10),var(10)
ignorehitpause=0
[state ]
type=bgpalfx
triggerall=const(size.ground.front)=31203
triggerall=1||var(10):=floor((256+256)-256*sin((pi/2/32)*(sysvar(0)-(30+20+25-1))))
trigger1=sysvar(0)=[30+20+25-1,30+20+25+31-1]
time=1
add=floor(-128+(32768/var(10))),floor(-128+(32768/var(10))),floor(-128+(32768/var(10)))
mul=var(10),var(10),var(10)
ignorehitpause=0

[state ]
type=envshake
triggerall=const(size.ground.front)=31200
trigger1=sysvar(0)=[5,5+31]
time=2
freq=180
ampl=floor((9-9*sin((pi/2/32)*(sysvar(0)-5)))*sin((pi/2/0.96954)*(gametime%1000)))
phase=90
ignorehitpause=0
[state ]
type=envshake
triggerall=const(size.ground.front)=31203
trigger1=sysvar(0)=[30+5,30+5+31]
time=2
freq=180
ampl=floor((9-9*sin((pi/2/32)*(sysvar(0)-(30+5))))*sin((pi/2/0.96954)*(gametime%1000)))
phase=90
ignorehitpause=0
[state ]
type=envshake
triggerall=const(size.ground.front)=31203
trigger1=sysvar(0)=[30+5+5,30+5+5+31]
time=2
freq=180
ampl=floor((9-9*sin((pi/2/32)*(sysvar(0)-(30+5+5))))*sin((pi/2/0.96954)*(gametime%1000)))
phase=90
ignorehitpause=0
[state ]
type=envshake
triggerall=const(size.ground.front)=31203
trigger1=sysvar(0)=[30+10+5,30+10+5+31]
time=2
freq=180
ampl=floor((9-9*sin((pi/2/32)*(sysvar(0)-(30+10+5))))*sin((pi/2/0.96954)*(gametime%1000)))
phase=90
ignorehitpause=0
[state ]
type=envshake
triggerall=const(size.ground.front)=31203
trigger1=sysvar(0)=[30+15+5,30+15+5+31]
time=2
freq=180
ampl=floor((9-9*sin((pi/2/32)*(sysvar(0)-(30+15+5))))*sin((pi/2/0.96954)*(gametime%1000)))
phase=90
ignorehitpause=0
[state ]
type=envshake
triggerall=const(size.ground.front)=31203
trigger1=sysvar(0)=[30+20+5,30+20+5+31]
time=2
freq=180
ampl=floor((9-9*sin((pi/2/32)*(sysvar(0)-(30+20+5))))*sin((pi/2/0.96954)*(gametime%1000)))
phase=90
ignorehitpause=0

[state ]
type=assertspecial
triggerall=const(size.ground.front)=31200
triggerall=const(size.ground.back)=10
trigger1=sysvar(0)=[35,59]
flag=nobardisplay
ignorehitpause=1



;WݒB
[state ]
type=velset
trigger1=1
x=sysfvar(1)*cos((pi/180)*sysfvar(0))
y=sysfvar(1)*sin((pi/180)*sysfvar(0))
ignorehitpause=0



;rWAZbgB
[state ]
type=angledraw
triggerall=const(size.ground.front)=[31200,31202]
trigger1=1
value=floor(-sysfvar(0))
scale=0.5,0.5
ignorehitpause=1

[state ]
type=trans
triggerall=const(size.ground.front)=31200
trigger1=1
trans=sub
ignorehitpause=1
[state ]
type=trans
triggerall=const(size.ground.front)=31201
trigger1=1
trans=add
ignorehitpause=1
[state ]
type=trans
triggerall=const(size.ground.front)=31202
trigger1=1
trans=add
ignorehitpause=1

[state ]
type=assertspecial
triggerall=const(size.ground.front)=[31200,31202]
trigger1=1
flag=noshadow
ignorehitpause=1



;tbVB
[state ]
type=explod
triggerall=const(size.ground.front)=31200
triggerall=const(size.ground.back)=10
trigger1=sysvar(0)=10
id=360
anim=10110
;trans=addalpha
;alpha=256,256
facing=1
vfacing=1
scale=0.5,0.5
shadow=0,0,0
sprpriority=-149
ontop=0
ownpal=1
supermove=0
pausemovetime=0
supermovetime=0
removetime=-2
removeongethit=0
pos=160,-60
postype=back
random=0,0
bindtime=-1
vel=0,0
accel=0,0
ignorehitpause=0
[state ]
type=explod
triggerall=const(size.ground.front)=31200
triggerall=const(size.ground.back)=10
trigger1=sysvar(0)=10
id=100360
anim=10110
;trans=addalpha
;alpha=256,256
facing=1
vfacing=1
scale=0.5,0.5
shadow=0,0,0
sprpriority=-149
ontop=0
ownpal=1
supermove=0
pausemovetime=0
supermovetime=0
removetime=-2
removeongethit=0
pos=160,-60
postype=back
random=0,0
bindtime=-1
vel=0,0
accel=0,0
ignorehitpause=0

[state ]
type=modifyexplod
triggerall=const(size.ground.front)=31200
triggerall=const(size.ground.back)=10
triggerall=numexplod(360)>=1
trigger1=sysvar(0)=[10,34]
id=360
trans=addalpha
alpha=floor(160*(1-cos((pi/2/25)*(sysvar(0)-10))**0.5)),256
ignorehitpause=0
[state ]
type=modifyexplod
triggerall=const(size.ground.front)=31200
triggerall=const(size.ground.back)=10
triggerall=numexplod(360)>=1
trigger1=sysvar(0)=[35,39]
id=360
trans=addalpha
alpha=160,256
ignorehitpause=0
[state ]
type=modifyexplod
triggerall=const(size.ground.front)=31200
triggerall=const(size.ground.back)=10
triggerall=numexplod(360)>=1
trigger1=sysvar(0)=[40,64]
id=360
trans=addalpha
alpha=floor(160*(1-sin((pi/2/25)*(sysvar(0)-40))**2)),256
ignorehitpause=0
[state ]
type=modifyexplod
triggerall=const(size.ground.front)=31200
triggerall=const(size.ground.back)=10
triggerall=numexplod(100360)>=1
trigger1=sysvar(0)=[10,34]
id=100360
trans=addalpha
alpha=floor(160*(1-cos((pi/2/25)*(sysvar(0)-10))**0.5)),256
ignorehitpause=0
[state ]
type=modifyexplod
triggerall=const(size.ground.front)=31200
triggerall=const(size.ground.back)=10
triggerall=numexplod(100360)>=1
trigger1=sysvar(0)=[35,39]
id=100360
trans=addalpha
alpha=160,256
ignorehitpause=0
[state ]
type=modifyexplod
triggerall=const(size.ground.front)=31200
triggerall=const(size.ground.back)=10
triggerall=numexplod(100360)>=1
trigger1=sysvar(0)=[40,79]
id=100360
trans=addalpha
alpha=floor(160*(1-sin((pi/2/40)*(sysvar(0)-40))**2)),256
ignorehitpause=0



;ՎϐZbgB
[state ]
type=forcefeedback
triggerall=const(size.ground.front)=31203
trigger1=sysvar(0)=30
trigger1=1||fvar(30):=-60
trigger1=1||fvar(31):=40
trigger1=1||fvar(32):=-110
trigger1=1||fvar(33):=130
trigger1=1||fvar(34):=0
ignorehitpause=0



;[U[B
[state ]
type=explod
triggerall=const(size.ground.front)=31203
trigger1=sysvar(0)=30
id=0
anim=10060
;trans=addalpha
;alpha=256,256
facing=1
vfacing=1
scale=0.5,0.5
shadow=0,0,0
sprpriority=-148
ontop=0
ownpal=1
supermove=0
pausemovetime=0
supermovetime=0
removetime=-2
removeongethit=0
pos=160+floor(fvar(30)),-20
postype=back
random=0,0
bindtime=-1
vel=0,0
accel=0,0
ignorehitpause=0
[state ]
type=explod
triggerall=const(size.ground.front)=31203
trigger1=sysvar(0)=30
id=0
anim=10061
;trans=addalpha
;alpha=256,256
facing=1
vfacing=1
scale=0.5,0.5
shadow=0,0,0
sprpriority=70
ontop=0
ownpal=1
supermove=0
pausemovetime=0
supermovetime=0
removetime=-2
removeongethit=0
pos=160+floor(fvar(30)),-20
postype=back
random=0,0
bindtime=-1
vel=0,0
accel=0,0
ignorehitpause=0
[state ]
type=explod
triggerall=const(size.ground.front)=31203
trigger1=sysvar(0)=30
id=0
anim=10062
;trans=addalpha
;alpha=256,256
facing=1
vfacing=1
scale=0.5,0.5
shadow=0,0,0
sprpriority=71
ontop=0
ownpal=1
supermove=0
pausemovetime=0
supermovetime=0
removetime=-2
removeongethit=0
pos=160+floor(fvar(30)),-20
postype=back
random=0,0
bindtime=-1
vel=0,0
accel=0,0
ignorehitpause=0

[state ]
type=explod
triggerall=const(size.ground.front)=31203
trigger1=sysvar(0)=35
id=0
anim=10060
;trans=addalpha
;alpha=256,256
facing=1
vfacing=1
scale=0.5,0.5
shadow=0,0,0
sprpriority=-148
ontop=0
ownpal=1
supermove=0
pausemovetime=0
supermovetime=0
removetime=-2
removeongethit=0
pos=160+floor(fvar(31)),-20
postype=back
random=0,0
bindtime=-1
vel=0,0
accel=0,0
ignorehitpause=0
[state ]
type=explod
triggerall=const(size.ground.front)=31203
trigger1=sysvar(0)=35
id=0
anim=10061
;trans=addalpha
;alpha=256,256
facing=1
vfacing=1
scale=0.5,0.5
shadow=0,0,0
sprpriority=70
ontop=0
ownpal=1
supermove=0
pausemovetime=0
supermovetime=0
removetime=-2
removeongethit=0
pos=160+floor(fvar(31)),-20
postype=back
random=0,0
bindtime=-1
vel=0,0
accel=0,0
ignorehitpause=0
[state ]
type=explod
triggerall=const(size.ground.front)=31203
trigger1=sysvar(0)=35
id=0
anim=10062
;trans=addalpha
;alpha=256,256
facing=1
vfacing=1
scale=0.5,0.5
shadow=0,0,0
sprpriority=71
ontop=0
ownpal=1
supermove=0
pausemovetime=0
supermovetime=0
removetime=-2
removeongethit=0
pos=160+floor(fvar(31)),-20
postype=back
random=0,0
bindtime=-1
vel=0,0
accel=0,0
ignorehitpause=0

[state ]
type=explod
triggerall=const(size.ground.front)=31203
trigger1=sysvar(0)=40
id=0
anim=10060
;trans=addalpha
;alpha=256,256
facing=1
vfacing=1
scale=0.5,0.5
shadow=0,0,0
sprpriority=-148
ontop=0
ownpal=1
supermove=0
pausemovetime=0
supermovetime=0
removetime=-2
removeongethit=0
pos=160+floor(fvar(32)),-20
postype=back
random=0,0
bindtime=-1
vel=0,0
accel=0,0
ignorehitpause=0
[state ]
type=explod
triggerall=const(size.ground.front)=31203
trigger1=sysvar(0)=40
id=0
anim=10061
;trans=addalpha
;alpha=256,256
facing=1
vfacing=1
scale=0.5,0.5
shadow=0,0,0
sprpriority=70
ontop=0
ownpal=1
supermove=0
pausemovetime=0
supermovetime=0
removetime=-2
removeongethit=0
pos=160+floor(fvar(32)),-20
postype=back
random=0,0
bindtime=-1
vel=0,0
accel=0,0
ignorehitpause=0
[state ]
type=explod
triggerall=const(size.ground.front)=31203
trigger1=sysvar(0)=40
id=0
anim=10062
;trans=addalpha
;alpha=256,256
facing=1
vfacing=1
scale=0.5,0.5
shadow=0,0,0
sprpriority=71
ontop=0
ownpal=1
supermove=0
pausemovetime=0
supermovetime=0
removetime=-2
removeongethit=0
pos=160+floor(fvar(32)),-20
postype=back
random=0,0
bindtime=-1
vel=0,0
accel=0,0
ignorehitpause=0

[state ]
type=explod
triggerall=const(size.ground.front)=31203
trigger1=sysvar(0)=45
id=0
anim=10060
;trans=addalpha
;alpha=256,256
facing=1
vfacing=1
scale=0.5,0.5
shadow=0,0,0
sprpriority=-148
ontop=0
ownpal=1
supermove=0
pausemovetime=0
supermovetime=0
removetime=-2
removeongethit=0
pos=160+floor(fvar(33)),-20
postype=back
random=0,0
bindtime=-1
vel=0,0
accel=0,0
ignorehitpause=0
[state ]
type=explod
triggerall=const(size.ground.front)=31203
trigger1=sysvar(0)=45
id=0
anim=10061
;trans=addalpha
;alpha=256,256
facing=1
vfacing=1
scale=0.5,0.5
shadow=0,0,0
sprpriority=70
ontop=0
ownpal=1
supermove=0
pausemovetime=0
supermovetime=0
removetime=-2
removeongethit=0
pos=160+floor(fvar(33)),-20
postype=back
random=0,0
bindtime=-1
vel=0,0
accel=0,0
ignorehitpause=0
[state ]
type=explod
triggerall=const(size.ground.front)=31203
trigger1=sysvar(0)=45
id=0
anim=10062
;trans=addalpha
;alpha=256,256
facing=1
vfacing=1
scale=0.5,0.5
shadow=0,0,0
sprpriority=71
ontop=0
ownpal=1
supermove=0
pausemovetime=0
supermovetime=0
removetime=-2
removeongethit=0
pos=160+floor(fvar(33)),-20
postype=back
random=0,0
bindtime=-1
vel=0,0
accel=0,0
ignorehitpause=0

[state ]
type=explod
triggerall=const(size.ground.front)=31203
trigger1=sysvar(0)=50
id=0
anim=10060
;trans=addalpha
;alpha=256,256
facing=1
vfacing=1
scale=0.5,0.5
shadow=0,0,0
sprpriority=-148
ontop=0
ownpal=1
supermove=0
pausemovetime=0
supermovetime=0
removetime=-2
removeongethit=0
pos=160+floor(fvar(34)),-20
postype=back
random=0,0
bindtime=-1
vel=0,0
accel=0,0
ignorehitpause=0
[state ]
type=explod
triggerall=const(size.ground.front)=31203
trigger1=sysvar(0)=50
id=0
anim=10061
;trans=addalpha
;alpha=256,256
facing=1
vfacing=1
scale=0.5,0.5
shadow=0,0,0
sprpriority=70
ontop=0
ownpal=1
supermove=0
pausemovetime=0
supermovetime=0
removetime=-2
removeongethit=0
pos=160+floor(fvar(34)),-20
postype=back
random=0,0
bindtime=-1
vel=0,0
accel=0,0
ignorehitpause=0
[state ]
type=explod
triggerall=const(size.ground.front)=31203
trigger1=sysvar(0)=50
id=0
anim=10062
;trans=addalpha
;alpha=256,256
facing=1
vfacing=1
scale=0.5,0.5
shadow=0,0,0
sprpriority=71
ontop=0
ownpal=1
supermove=0
pausemovetime=0
supermovetime=0
removetime=-2
removeongethit=0
pos=160+floor(fvar(34)),-20
postype=back
random=0,0
bindtime=-1
vel=0,0
accel=0,0
ignorehitpause=0



;U{́B
[state ]
type=forcefeedback
trigger1=const(size.ground.front)=31200
trigger1=(const(size.ground.back)=[0,2])
trigger1=1||var(1):=0||var(2):=0||var(3):=3||var(4):=54||var(5):=27||var(6):=12||fvar(0):=-12||fvar(1):=0||fvar(2):=-4||fvar(3):=-4||fvar(4):=0.35
trigger2=const(size.ground.front)=31200
trigger2=const(size.ground.back)=10
trigger2=1||var(1):=1||var(2):=0||var(3):=6||var(4):=54||var(5):=27||var(6):=12||fvar(0):=-1.5||fvar(1):=-8||fvar(2):=-1.5||fvar(3):=-8||fvar(4):=0.35
trigger3=const(size.ground.front)=31203
trigger3=1||var(1):=1||var(2):=0||var(3):=7||var(4):=54||var(5):=27||var(6):=12||fvar(0):=-1.5||fvar(1):=16||fvar(2):=-1.5||fvar(3):=16||fvar(4):=0.35
ignorehitpause=0

[state ]
type=projectile
triggerall=const(size.ground.front)=31200
triggerall=const(size.ground.back)=[0,2]
trigger1=sysvar(0)=[5,5+23]
trigger1=(sysvar(0)-5)%8=0
projid=350+100000*(const(size.ground.back)%10)
projanim=70020
projremanim=-1
projhitanim=-1
projcancelanim=-1
projscale=1,1
projsprpriority=-2147483648
projshadow=0,0,0
offset=floor(vel x-90*cos((pi/180)*(sysfvar(0)+90))),floor(vel y-90*sin((pi/180)*(sysfvar(0)+90)))
postype=p1
velocity=90*cos((pi/180)*(sysfvar(0)+90)),90*sin((pi/180)*(sysfvar(0)+90))
accel=0,0
velmul=1,1
remvelocity=0,0
projremove=1
projremovetime=20
projhits=1
projmisstime=1
projpriority=2147483647
projedgebound=16777215
projheightbound=-16777216,16777215
projstagebound=16777215
pausemovetime=0
supermovetime=0
id=350+100000*(const(size.ground.back)%10)
chainid=-1
nochainid=-1
attr=s,na
hitflag=hlaf
guardflag=hla
affectteam=e
priority=2147483647,h
hitonce=0
numhits=1
damage=var(5),var(6)
fall.damage=0
getpower=10,5
givepower=10,5
kill=1
guard.kill=1
animtype=h
air.animtype=b
fall.animtype=b
ground.type=h
air.type=h
forcestand=0
;p1facing=1
p2facing=1
;p1getp2facing=0
palfx.time=40
palfx.add=-192,-64,-128
palfx.sinadd=0,64,24,10
palfx.color=0
palfx.invertall=1
pausetime=var(2),var(3)
guard.pausetime=var(2),var(3)
ground.hittime=40
air.hittime=40
guard.hittime=20
guard.ctrltime=20
airguard.ctrltime=20
ground.slidetime=var(4)
guard.slidetime=floor(0.5*var(4))
fall.recover=0
fall.recovertime=2147483647
fall=var(1)
air.fall=1
ground.velocity=fvar(0),fvar(1)
air.velocity=fvar(2),fvar(3)
down.velocity=fvar(0),fvar(1)
guard.velocity=0.25*fvar(0)
;airguard.velocity=0,0
yaccel=fvar(4)
envshake.time=0
fall.envshake.time=0
fall.envshake.ampl=var(3)
sparkno=-1
guard.sparkno=-1
sparkxy=0,0
hitsound=-1
guardhitsound=-1
;air.juggle=0
sprpriority=-2147483648
;p1stateno=50
;p2stateno=5050
;p2getp1state=1
;down.hittime=0
;down.bounce=0
;fall.kill=1
;guard.dist=const(size.attack.dist)
;mindist=-16777216,-16777215
;maxdist=16777216,16777215
;snap=0,0
ignorehitpause=0

[state ]
type=projectile
triggerall=const(size.ground.front)=31200
triggerall=const(size.ground.back)=10
trigger1=sysvar(0)=[5,5+23]
trigger1=(sysvar(0)-5)%8=0
projid=360+100000*(const(size.ground.back)%10)
projanim=70020
projremanim=-1
projhitanim=-1
projcancelanim=-1
projscale=1,1
projsprpriority=-2147483648
projshadow=0,0,0
offset=floor(vel x-90*cos((pi/180)*(sysfvar(0)+90))),floor(vel y-90*sin((pi/180)*(sysfvar(0)+90)))
postype=p1
velocity=90*cos((pi/180)*(sysfvar(0)+90)),90*sin((pi/180)*(sysfvar(0)+90))
accel=0,0
velmul=1,1
remvelocity=0,0
projremove=1
projremovetime=20
projhits=1
projmisstime=1
projpriority=2147483647
projedgebound=16777215
projheightbound=-16777216,16777215
projstagebound=16777215
pausemovetime=0
supermovetime=0
id=360+100000*(const(size.ground.back)%10)
chainid=-1
nochainid=-1
attr=s,na
hitflag=hlaf
guardflag=hla
affectteam=e
priority=2147483647,h
hitonce=0
numhits=1
damage=var(5),var(6)
fall.damage=0
getpower=10,5
givepower=10,5
kill=1
guard.kill=1
animtype=h
air.animtype=b
fall.animtype=b
ground.type=h
air.type=h
forcestand=0
;p1facing=1
p2facing=1
;p1getp2facing=0
palfx.time=40
palfx.add=-192,-64,-128
palfx.sinadd=0,64,24,10
palfx.color=0
palfx.invertall=1
pausetime=var(2),var(3)
guard.pausetime=var(2),var(3)
ground.hittime=40
air.hittime=40
guard.hittime=20
guard.ctrltime=20
airguard.ctrltime=20
ground.slidetime=var(4)
guard.slidetime=floor(0.5*var(4))
fall.recover=0
fall.recovertime=2147483647
fall=var(1)
air.fall=1
ground.velocity=fvar(0),fvar(1)
air.velocity=fvar(2),fvar(3)
down.velocity=fvar(0),fvar(1)
guard.velocity=0.25*fvar(0)
;airguard.velocity=0,0
yaccel=fvar(4)
envshake.time=0
fall.envshake.time=0
fall.envshake.ampl=var(3)
sparkno=-1
guard.sparkno=-1
sparkxy=0,0
hitsound=-1
guardhitsound=-1
;air.juggle=0
sprpriority=-2147483648
;p1stateno=50
;p2stateno=5050
;p2getp1state=1
;down.hittime=0
;down.bounce=0
;fall.kill=1
;guard.dist=const(size.attack.dist)
;mindist=-16777216,-16777215
;maxdist=16777216,16777215
;snap=0,0
ignorehitpause=0

[state ]
type=projectile
triggerall=const(size.ground.front)=31203
trigger1=sysvar(0)=[30+5,30+5+23]
trigger1=(sysvar(0)-(30+5))%8=0
projid=100360
projanim=70021
projremanim=-1
projhitanim=-1
projcancelanim=-1
projscale=1,1
projsprpriority=-2147483648
projshadow=0,0,0
offset=floor(160+fvar(30)+vel x),floor(pos y-screenpos y+vel y)
postype=back
velocity=0,0
accel=0,0
velmul=1,1
remvelocity=0,0
projremove=1
projremovetime=8
projhits=1
projmisstime=1
projpriority=2147483647
projedgebound=16777215
projheightbound=-16777216,16777215
projstagebound=16777215
pausemovetime=0
supermovetime=0
id=100360
chainid=-1
nochainid=-1
attr=s,na
hitflag=hlaf
guardflag=hla
affectteam=e
priority=2147483647,h
hitonce=0
numhits=1
damage=var(5),var(6)
fall.damage=0
getpower=10,5
givepower=10,5
kill=1
guard.kill=1
animtype=h
air.animtype=b
fall.animtype=b
ground.type=h
air.type=h
forcestand=0
;p1facing=1
p2facing=1
;p1getp2facing=0
palfx.time=40
palfx.add=-192,-64,-128
palfx.sinadd=0,64,24,10
palfx.color=0
palfx.invertall=1
pausetime=var(2),var(3)
guard.pausetime=var(2),var(3)
ground.hittime=40
air.hittime=40
guard.hittime=20
guard.ctrltime=20
airguard.ctrltime=20
ground.slidetime=var(4)
guard.slidetime=floor(0.5*var(4))
fall.recover=0
fall.recovertime=2147483647
fall=var(1)
air.fall=1
ground.velocity=fvar(0),fvar(1)
air.velocity=fvar(2),fvar(3)
down.velocity=fvar(0),fvar(1)
guard.velocity=0.25*fvar(0)
;airguard.velocity=0,0
yaccel=fvar(4)
envshake.time=0
fall.envshake.time=0
fall.envshake.ampl=var(3)
sparkno=-1
guard.sparkno=-1
sparkxy=0,0
hitsound=-1
guardhitsound=-1
;air.juggle=0
sprpriority=-2147483648
;p1stateno=50
;p2stateno=5050
;p2getp1state=1
;down.hittime=0
;down.bounce=0
;fall.kill=1
;guard.dist=const(size.attack.dist)
;mindist=-16777216,-16777215
;maxdist=16777216,16777215
;snap=0,0
ignorehitpause=0
[state ]
type=projectile
triggerall=const(size.ground.front)=31203
trigger1=sysvar(0)=[30+5+5,30+5+5+23]
trigger1=(sysvar(0)-(30+5+5))%8=0
projid=200360
projanim=70021
projremanim=-1
projhitanim=-1
projcancelanim=-1
projscale=1,1
projsprpriority=-2147483648
projshadow=0,0,0
offset=floor(160+fvar(31)+vel x),floor(pos y-screenpos y+vel y)
postype=back
velocity=0,0
accel=0,0
velmul=1,1
remvelocity=0,0
projremove=1
projremovetime=8
projhits=1
projmisstime=1
projpriority=2147483647
projedgebound=16777215
projheightbound=-16777216,16777215
projstagebound=16777215
pausemovetime=0
supermovetime=0
id=200360
chainid=-1
nochainid=-1
attr=s,na
hitflag=hlaf
guardflag=hla
affectteam=e
priority=2147483647,h
hitonce=0
numhits=1
damage=var(5),var(6)
fall.damage=0
getpower=10,5
givepower=10,5
kill=1
guard.kill=1
animtype=h
air.animtype=b
fall.animtype=b
ground.type=h
air.type=h
forcestand=0
;p1facing=1
p2facing=1
;p1getp2facing=0
palfx.time=40
palfx.add=-192,-64,-128
palfx.sinadd=0,64,24,10
palfx.color=0
palfx.invertall=1
pausetime=var(2),var(3)
guard.pausetime=var(2),var(3)
ground.hittime=40
air.hittime=40
guard.hittime=20
guard.ctrltime=20
airguard.ctrltime=20
ground.slidetime=var(4)
guard.slidetime=floor(0.5*var(4))
fall.recover=0
fall.recovertime=2147483647
fall=var(1)
air.fall=1
ground.velocity=fvar(0),fvar(1)
air.velocity=fvar(2),fvar(3)
down.velocity=fvar(0),fvar(1)
guard.velocity=0.25*fvar(0)
;airguard.velocity=0,0
yaccel=fvar(4)
envshake.time=0
fall.envshake.time=0
fall.envshake.ampl=var(3)
sparkno=-1
guard.sparkno=-1
sparkxy=0,0
hitsound=-1
guardhitsound=-1
;air.juggle=0
sprpriority=-2147483648
;p1stateno=50
;p2stateno=5050
;p2getp1state=1
;down.hittime=0
;down.bounce=0
;fall.kill=1
;guard.dist=const(size.attack.dist)
;mindist=-16777216,-16777215
;maxdist=16777216,16777215
;snap=0,0
ignorehitpause=0
[state ]
type=projectile
triggerall=const(size.ground.front)=31203
trigger1=sysvar(0)=[30+10+5,30+10+5+23]
trigger1=(sysvar(0)-(30+10+5))%8=0
projid=300360
projanim=70021
projremanim=-1
projhitanim=-1
projcancelanim=-1
projscale=1,1
projsprpriority=-2147483648
projshadow=0,0,0
offset=floor(160+fvar(32)+vel x),floor(pos y-screenpos y+vel y)
postype=back
velocity=0,0
accel=0,0
velmul=1,1
remvelocity=0,0
projremove=1
projremovetime=8
projhits=1
projmisstime=1
projpriority=2147483647
projedgebound=16777215
projheightbound=-16777216,16777215
projstagebound=16777215
pausemovetime=0
supermovetime=0
id=300360
chainid=-1
nochainid=-1
attr=s,na
hitflag=hlaf
guardflag=hla
affectteam=e
priority=2147483647,h
hitonce=0
numhits=1
damage=var(5),var(6)
fall.damage=0
getpower=10,5
givepower=10,5
kill=1
guard.kill=1
animtype=h
air.animtype=b
fall.animtype=b
ground.type=h
air.type=h
forcestand=0
;p1facing=1
p2facing=1
;p1getp2facing=0
palfx.time=40
palfx.add=-192,-64,-128
palfx.sinadd=0,64,24,10
palfx.color=0
palfx.invertall=1
pausetime=var(2),var(3)
guard.pausetime=var(2),var(3)
ground.hittime=40
air.hittime=40
guard.hittime=20
guard.ctrltime=20
airguard.ctrltime=20
ground.slidetime=var(4)
guard.slidetime=floor(0.5*var(4))
fall.recover=0
fall.recovertime=2147483647
fall=var(1)
air.fall=1
ground.velocity=fvar(0),fvar(1)
air.velocity=fvar(2),fvar(3)
down.velocity=fvar(0),fvar(1)
guard.velocity=0.25*fvar(0)
;airguard.velocity=0,0
yaccel=fvar(4)
envshake.time=0
fall.envshake.time=0
fall.envshake.ampl=var(3)
sparkno=-1
guard.sparkno=-1
sparkxy=0,0
hitsound=-1
guardhitsound=-1
;air.juggle=0
sprpriority=-2147483648
;p1stateno=50
;p2stateno=5050
;p2getp1state=1
;down.hittime=0
;down.bounce=0
;fall.kill=1
;guard.dist=const(size.attack.dist)
;mindist=-16777216,-16777215
;maxdist=16777216,16777215
;snap=0,0
ignorehitpause=0
[state ]
type=projectile
triggerall=const(size.ground.front)=31203
trigger1=sysvar(0)=[30+15+5,30+15+5+23]
trigger1=(sysvar(0)-(30+15+5))%8=0
projid=400360
projanim=70021
projremanim=-1
projhitanim=-1
projcancelanim=-1
projscale=1,1
projsprpriority=-2147483648
projshadow=0,0,0
offset=floor(160+fvar(33)+vel x),floor(pos y-screenpos y+vel y)
postype=back
velocity=0,0
accel=0,0
velmul=1,1
remvelocity=0,0
projremove=1
projremovetime=8
projhits=1
projmisstime=1
projpriority=2147483647
projedgebound=16777215
projheightbound=-16777216,16777215
projstagebound=16777215
pausemovetime=0
supermovetime=0
id=400360
chainid=-1
nochainid=-1
attr=s,na
hitflag=hlaf
guardflag=hla
affectteam=e
priority=2147483647,h
hitonce=0
numhits=1
damage=var(5),var(6)
fall.damage=0
getpower=10,5
givepower=10,5
kill=1
guard.kill=1
animtype=h
air.animtype=b
fall.animtype=b
ground.type=h
air.type=h
forcestand=0
;p1facing=1
p2facing=1
;p1getp2facing=0
palfx.time=40
palfx.add=-192,-64,-128
palfx.sinadd=0,64,24,10
palfx.color=0
palfx.invertall=1
pausetime=var(2),var(3)
guard.pausetime=var(2),var(3)
ground.hittime=40
air.hittime=40
guard.hittime=20
guard.ctrltime=20
airguard.ctrltime=20
ground.slidetime=var(4)
guard.slidetime=floor(0.5*var(4))
fall.recover=0
fall.recovertime=2147483647
fall=var(1)
air.fall=1
ground.velocity=fvar(0),fvar(1)
air.velocity=fvar(2),fvar(3)
down.velocity=fvar(0),fvar(1)
guard.velocity=0.25*fvar(0)
;airguard.velocity=0,0
yaccel=fvar(4)
envshake.time=0
fall.envshake.time=0
fall.envshake.ampl=var(3)
sparkno=-1
guard.sparkno=-1
sparkxy=0,0
hitsound=-1
guardhitsound=-1
;air.juggle=0
sprpriority=-2147483648
;p1stateno=50
;p2stateno=5050
;p2getp1state=1
;down.hittime=0
;down.bounce=0
;fall.kill=1
;guard.dist=const(size.attack.dist)
;mindist=-16777216,-16777215
;maxdist=16777216,16777215
;snap=0,0
ignorehitpause=0
[state ]
type=projectile
triggerall=const(size.ground.front)=31203
trigger1=sysvar(0)=[30+20+5,30+20+5+23]
trigger1=(sysvar(0)-(30+20+5))%8=0
projid=500360
projanim=70021
projremanim=-1
projhitanim=-1
projcancelanim=-1
projscale=1,1
projsprpriority=-2147483648
projshadow=0,0,0
offset=floor(160+fvar(34)+vel x),floor(pos y-screenpos y+vel y)
postype=back
velocity=0,0
accel=0,0
velmul=1,1
remvelocity=0,0
projremove=1
projremovetime=8
projhits=1
projmisstime=1
projpriority=2147483647
projedgebound=16777215
projheightbound=-16777216,16777215
projstagebound=16777215
pausemovetime=0
supermovetime=0
id=500360
chainid=-1
nochainid=-1
attr=s,na
hitflag=hlaf
guardflag=hla
affectteam=e
priority=2147483647,h
hitonce=0
numhits=1
damage=var(5),var(6)
fall.damage=0
getpower=10,5
givepower=10,5
kill=1
guard.kill=1
animtype=h
air.animtype=b
fall.animtype=b
ground.type=h
air.type=h
forcestand=0
;p1facing=1
p2facing=1
;p1getp2facing=0
palfx.time=40
palfx.add=-192,-64,-128
palfx.sinadd=0,64,24,10
palfx.color=0
palfx.invertall=1
pausetime=var(2),var(3)
guard.pausetime=var(2),var(3)
ground.hittime=40
air.hittime=40
guard.hittime=20
guard.ctrltime=20
airguard.ctrltime=20
ground.slidetime=var(4)
guard.slidetime=floor(0.5*var(4))
fall.recover=0
fall.recovertime=2147483647
fall=var(1)
air.fall=1
ground.velocity=fvar(0),fvar(1)
air.velocity=fvar(2),fvar(3)
down.velocity=fvar(0),fvar(1)
guard.velocity=0.25*fvar(0)
;airguard.velocity=0,0
yaccel=fvar(4)
envshake.time=0
fall.envshake.time=0
fall.envshake.ampl=var(3)
sparkno=-1
guard.sparkno=-1
sparkxy=0,0
hitsound=-1
guardhitsound=-1
;air.juggle=0
sprpriority=-2147483648
;p1stateno=50
;p2stateno=5050
;p2getp1state=1
;down.hittime=0
;down.bounce=0
;fall.kill=1
;guard.dist=const(size.attack.dist)
;mindist=-16777216,-16777215
;maxdist=16777216,16777215
;snap=0,0
ignorehitpause=0



;timepϐZbgB
[state ]
type=varadd
trigger1=1
sysvar(0)=1
ignorehitpause=0


;
;^[GhB

;Xe[gڍsB
[state ]
type=changestate
trigger1=1
value=5150
persistent=256
ignorehitpause=1


;
;̗Xe[gB

[statedef 31300]
type=u
movetype=u
physics=u
hitdefpersist=1
movehitpersist=1
hitcountpersist=1
[state ]
type=changestate
trigger1=name!="Saphran"
trigger2=!ishelper
value=2134123982
persistent=256
ignorehitpause=1

;
;̌B

;
;OIXeRQB

;{ݒB
[state ]
type=changeanim
trigger1=sysvar(0)=0
value=10140
ignorehitpause=0



;WݒB
[state ]
type=posset
trigger1=sysvar(0)=0
x=root,pos x+facing*(-root,vel x+const(size.head.pos.x))
y=root,pos y-root,vel y+const(size.head.pos.y)
ignorehitpause=0

;xNgǗϐZbgB
[state ]
type=varset
trigger1=const(size.ground.back)=0
trigger1=1||fvar(10):=-28
trigger2=const(size.ground.back)=1
trigger2=1||fvar(10):=14
sysfvar(0)=fvar(10)
ignorehitpause=0

;xǗϐZbgB
[state ]
type=varset
trigger1=1
sysfvar(1)=40
ignorehitpause=0



;Xe[gڍsB
[state ]
type=changestate
trigger1=animtime=0
value=2134123982
persistent=256
ignorehitpause=1



;{ݒitjB
[state ]
type=sprpriority
trigger1=1
value=-119
ignorehitpause=0


;
;ȊOB

;B
[state ]
type=null;ҏWBplaysnd
trigger1=sysvar(0)=[0+5,29+5]
trigger1=(sysvar(0)-(0+5))%10=0
value=s1760,0
freqmul=0.9
volume=255
channel=1
ignorehitpause=0



;ʐݒB
[state ]
type=explod
trigger1=sysvar(0)=[0,9]
id=0
anim=19000
trans=addalpha
alpha=0,floor(192+64*cos((pi/2/10)*sysvar(0)))
facing=1
vfacing=1
scale=1,1
shadow=0,0,0
sprpriority=-2147483648
ontop=0
ownpal=1
supermove=0
pausemovetime=0
supermovetime=0
removetime=-2
removeongethit=0
pos=0,0
postype=left
random=0,0
bindtime=-1
vel=0,0
accel=0,0
ignorehitpause=0
[state ]
type=explod
trigger1=sysvar(0)=[10,39]
id=0
anim=19000
trans=addalpha
alpha=0,192
facing=1
vfacing=1
scale=1,1
shadow=0,0,0
sprpriority=-2147483648
ontop=0
ownpal=1
supermove=0
pausemovetime=0
supermovetime=0
removetime=-2
removeongethit=0
pos=0,0
postype=left
random=0,0
bindtime=-1
vel=0,0
accel=0,0
ignorehitpause=0
[state ]
type=explod
trigger1=sysvar(0)=[40,79]
id=0
anim=19000
trans=addalpha
alpha=0,floor(192+64*sin((pi/2/40)*(sysvar(0)-40)))
facing=1
vfacing=1
scale=1,1
shadow=0,0,0
sprpriority=-2147483648
ontop=0
ownpal=1
supermove=0
pausemovetime=0
supermovetime=0
removetime=-2
removeongethit=0
pos=0,0
postype=left
random=0,0
bindtime=-1
vel=0,0
accel=0,0
ignorehitpause=0

[state ]
type=explod
trigger1=sysvar(0)=[10,39]
trigger1=(sysvar(0)-10)%6=[0,1]
id=0
anim=19000
trans=addalpha
alpha=32,256
facing=1
vfacing=1
scale=1,1
shadow=0,0,0
sprpriority=-2147483647
ontop=0
ownpal=1
supermove=0
pausemovetime=0
supermovetime=0
removetime=-2
removeongethit=0
pos=0,0
postype=left
random=0,0
bindtime=-1
vel=0,0
accel=0,0
ignorehitpause=0

[state ]
type=bgpalfx
triggerall=1||var(10):=floor(256-128*sin((pi/2/9)*(sysvar(0)-(1-1))))
trigger1=sysvar(0)=[1-1,9-1]
time=1
add=floor(-128+(32768/var(10))),floor(-128+(32768/var(10))),floor(-128+(32768/var(10)))
mul=var(10),var(10),var(10)
ignorehitpause=0
[state ]
type=bgpalfx
triggerall=1||var(10):=128
trigger1=sysvar(0)=[10-1,39-1]
time=1
add=floor(-128+(32768/var(10))),floor(-128+(32768/var(10))),floor(-128+(32768/var(10)))
mul=var(10),var(10),var(10)
ignorehitpause=0
[state ]
type=bgpalfx
triggerall=1||var(10):=floor(256-128*cos((pi/2/30)*(sysvar(0)-(40-1))))
trigger1=sysvar(0)=[40-1,69-1]
time=1
add=floor(-128+(32768/var(10))),floor(-128+(32768/var(10))),floor(-128+(32768/var(10)))
mul=var(10),var(10),var(10)
ignorehitpause=0

[state ]
type=envshake
trigger1=sysvar(0)=[0,29]
time=2
freq=180
ampl=floor(6*sin((pi/2/0.96954)*(gametime%1000)))
phase=90
ignorehitpause=0
[state ]
type=envshake
trigger1=sysvar(0)=[30,39]
time=2
freq=180
ampl=floor((12-12*sin((pi/2/10)*(sysvar(0)-30)))*sin((pi/2/0.96954)*(gametime%1000)))
phase=90
ignorehitpause=0



;ՎϐZbgB
[state ]
type=forcefeedback
triggerall=sysvar(0)=[10,39]
triggerall=(sysvar(0)-10)%3=0
trigger1=const(size.ground.back)=0
trigger1=1||var(10):=10071
trigger2=const(size.ground.back)=1
trigger2=1||var(10):=10070
ignorehitpause=0
[state ]
type=forcefeedback
triggerall=sysvar(0)=[10,39]
triggerall=(sysvar(0)-10)%3=0
trigger1=1||fvar(12):=0
trigger1=1||fvar(13):=(60-60*0.0333*(sysvar(0)-10))*sin((2*pi/17)*sysvar(0))
trigger1=1||fvar(10):=fvar(12)*cos((pi/180)*sysfvar(0))-fvar(13)*sin((pi/180)*sysfvar(0))
trigger1=1||fvar(11):=fvar(12)*sin((pi/180)*sysfvar(0))+fvar(13)*cos((pi/180)*sysfvar(0))
ignorehitpause=0



;O\[hB
[state ]
type=explod
trigger1=sysvar(0)=[10,39]
trigger1=(sysvar(0)-10)%3=0
id=0
anim=var(10)
;trans=addalpha
;alpha=256,256
facing=1
vfacing=1
scale=0.5,0.5
shadow=0,0,0
sprpriority=100+2*(floor((sysvar(0)-10)/3)%5)
ontop=0
ownpal=1
supermove=0
pausemovetime=0
supermovetime=0
removetime=-2
removeongethit=0
pos=floor(fvar(10)),floor(fvar(11))
postype=p1
random=0,0
bindtime=1
vel=sysfvar(1)*cos((pi/180)*sysfvar(0)),sysfvar(1)*sin((pi/180)*sysfvar(0))
accel=0,0
ignorehitpause=0
[state ]
type=explod
trigger1=sysvar(0)=[10,39]
trigger1=(sysvar(0)-10)%3=0
id=0
anim=var(10)+5
;trans=addalpha
;alpha=256,256
facing=1
vfacing=1
scale=0.5,0.5
shadow=0,0,0
sprpriority=101+2*(floor((sysvar(0)-10)/3)%5)
ontop=0
ownpal=1
supermove=0
pausemovetime=0
supermovetime=0
removetime=-2
removeongethit=0
pos=floor(fvar(10)),floor(fvar(11))
postype=p1
random=0,0
bindtime=1
vel=sysfvar(1)*cos((pi/180)*sysfvar(0)),sysfvar(1)*sin((pi/180)*sysfvar(0))
accel=0,0
ignorehitpause=0



;rWAZbgB
[state ]
type=angledraw
trigger1=1
value=-sysfvar(0)
scale=0.5,0.5
ignorehitpause=1

[state ]
type=trans
trigger1=1
trans=sub
ignorehitpause=1

[state ]
type=assertspecial
trigger1=1
flag=noshadow
ignorehitpause=1



;U{́B
[state ]
type=forcefeedback
trigger1=1||var(1):=0||var(2):=0||var(3):=3||var(4):=18||var(5):=30||var(6):=30||fvar(0):=-5||fvar(1):=0||fvar(2):=-4||fvar(3):=-4||fvar(4):=0.35
ignorehitpause=0

[state ]
type=projectile
triggerall=const(size.ground.back)=0
trigger1=sysvar(0)=[10,39]
trigger1=(sysvar(0)-10)%3=0
projid=370
projanim=70030
projremanim=-1
projhitanim=-1
projcancelanim=-1
projscale=1,1
projsprpriority=-2147483648
projshadow=0,0,0
offset=floor(vel x+fvar(10)-60*cos((pi/180)*sysfvar(0))),floor(vel y+fvar(11)-60*sin((pi/180)*sysfvar(0)))
postype=p1
velocity=sysfvar(1)*cos((pi/180)*sysfvar(0)),sysfvar(1)*sin((pi/180)*sysfvar(0))
accel=0,0
velmul=1,1
remvelocity=0,0
projremove=1
projremovetime=20
projhits=1
projmisstime=1
projpriority=2147483647
projedgebound=16777215
projheightbound=-16777216,16777215
projstagebound=16777215
pausemovetime=0
supermovetime=0
id=320
chainid=-1
nochainid=-1
attr=s,sp
hitflag=hlaf
guardflag=hla
affectteam=e
priority=2147483647,h
hitonce=0
numhits=1
damage=var(5),var(6)
fall.damage=0
getpower=10,5
givepower=10,5
kill=1
guard.kill=1
animtype=h
air.animtype=b
fall.animtype=b
ground.type=h
air.type=h
forcestand=0
;p1facing=1
p2facing=1
;p1getp2facing=0
palfx.time=0
pausetime=var(2),var(3)
guard.pausetime=var(2),var(3)
ground.hittime=40
air.hittime=40
guard.hittime=20
guard.ctrltime=20
airguard.ctrltime=20
ground.slidetime=var(4)
guard.slidetime=floor(0.5*var(4))
fall.recover=0
fall.recovertime=2147483647
fall=var(1)
air.fall=1
ground.velocity=fvar(0),fvar(1)
air.velocity=fvar(2),fvar(3)
down.velocity=fvar(0),fvar(1)
guard.velocity=0.25*fvar(0)
;airguard.velocity=0,0
yaccel=fvar(4)
envshake.time=0
fall.envshake.time=0
fall.envshake.ampl=var(3)
sparkno=-1
guard.sparkno=-1
sparkxy=0,0
hitsound=-1
guardhitsound=-1
;air.juggle=0
sprpriority=-2147483648
;p1stateno=50
;p2stateno=5050
;p2getp1state=1
;down.hittime=0
;down.bounce=0
;fall.kill=1
;guard.dist=const(size.attack.dist)
;mindist=-16777216,-16777215
;maxdist=16777216,16777215
;snap=0,0
ignorehitpause=0
[state ]
type=projectile
triggerall=const(size.ground.back)=1
trigger1=sysvar(0)=[10,39]
trigger1=(sysvar(0)-10)%3=0
projid=720
projanim=70030
projremanim=-1
projhitanim=-1
projcancelanim=-1
projscale=1,1
projsprpriority=-2147483648
projshadow=0,0,0
offset=floor(vel x+fvar(10)-60*cos((pi/180)*sysfvar(0))),floor(vel y+fvar(11)-60*sin((pi/180)*sysfvar(0)))
postype=p1
velocity=sysfvar(1)*cos((pi/180)*sysfvar(0)),sysfvar(1)*sin((pi/180)*sysfvar(0))
accel=0,0
velmul=1,1
remvelocity=0,0
projremove=1
projremovetime=20
projhits=1
projmisstime=1
projpriority=2147483647
projedgebound=16777215
projheightbound=-16777216,16777215
projstagebound=16777215
pausemovetime=0
supermovetime=0
id=770
chainid=-1
nochainid=-1
attr=a,sp
hitflag=hlaf
guardflag=hla
affectteam=e
priority=2147483647,h
hitonce=0
numhits=1
damage=var(5),var(6)
fall.damage=0
getpower=10,5
givepower=10,5
kill=1
guard.kill=1
animtype=h
air.animtype=b
fall.animtype=b
ground.type=h
air.type=h
forcestand=0
;p1facing=1
p2facing=1
;p1getp2facing=0
palfx.time=0
pausetime=var(2),var(3)
guard.pausetime=var(2),var(3)
ground.hittime=40
air.hittime=40
guard.hittime=20
guard.ctrltime=20
airguard.ctrltime=20
ground.slidetime=var(4)
guard.slidetime=floor(0.5*var(4))
fall.recover=0
fall.recovertime=2147483647
fall=var(1)
air.fall=1
ground.velocity=fvar(0),fvar(1)
air.velocity=fvar(2),fvar(3)
down.velocity=fvar(0),fvar(1)
guard.velocity=0.25*fvar(0)
;airguard.velocity=0,0
yaccel=fvar(4)
envshake.time=0
fall.envshake.time=0
fall.envshake.ampl=var(3)
sparkno=-1
guard.sparkno=-1
sparkxy=0,0
hitsound=-1
guardhitsound=-1
;air.juggle=0
sprpriority=-2147483648
;p1stateno=50
;p2stateno=5050
;p2getp1state=1
;down.hittime=0
;down.bounce=0
;fall.kill=1
;guard.dist=const(size.attack.dist)
;mindist=-16777216,-16777215
;maxdist=16777216,16777215
;snap=0,0
ignorehitpause=0



;timepϐZbgB
[state ]
type=varadd
trigger1=1
sysvar(0)=1
ignorehitpause=0


;
;^[GhB

;Xe[gڍsB
[state ]
type=changestate
trigger1=1
value=5150
persistent=256
ignorehitpause=1


;
;ubNz[Xe[gB

[statedef 31400]
type=u
movetype=u
physics=u
hitdefpersist=1
movehitpersist=1
hitcountpersist=1
[state ]
type=changestate
trigger1=name!="Saphran"
trigger2=!ishelper
value=2134123982
persistent=256
ignorehitpause=1

;
;̌B

;
;OIXeRQB

;{ݒB
[state ]
type=changeanim
trigger1=sysvar(0)=0
value=90000
ignorehitpause=0



;WݒB
[state ]
type=posset
trigger1=sysvar(0)=0
x=root,pos x+facing*(-root,vel x+const(size.head.pos.x))
y=root,pos y-root,vel y+const(size.head.pos.y)
ignorehitpause=0

;xNgǗϐZbgB
[state ]
type=varset
trigger1=const(size.ground.back)=0
trigger1=1||fvar(10):=120
trigger2=const(size.ground.back)=1
trigger2=1||fvar(10):=-90
trigger3=const(size.ground.back)=2
trigger3=1||fvar(10):=45
sysfvar(0)=fvar(10)
ignorehitpause=0

;xǗϐZbgB
[state ]
type=varset
trigger1=sysvar(0)=[0,4]
trigger1=1||fvar(10):=0
trigger2=sysvar(0)>=5
trigger2=1||fvar(10):=0.2
sysfvar(1)=fvar(10)
ignorehitpause=0



;Xe[gڍsB
[state ]
type=changestate
trigger1=sysvar(0)>=205
value=2134123982
persistent=256
ignorehitpause=1


;
;ȊOB

;B
[state ]
type=null;ҏWBplaysnd
trigger1=sysvar(0)=0
value=s20000,0
freqmul=0.8
volume=-128
channel=1
ignorehitpause=0



;ʐݒB
[state ]
type=bgpalfx
triggerall=1||var(10):=128
trigger1=sysvar(0)=[10-1,39-1]
time=1
add=floor(-128+(32768/var(10))),floor(-128+(32768/var(10))),floor(-128+(32768/var(10)))
mul=var(10),var(10),var(10)
ignorehitpause=0
[state ]
type=bgpalfx
triggerall=1||var(10):=floor(128+128*sin((pi/2/32)*(sysvar(0)-(40-1))))
trigger1=sysvar(0)=[40-1,40+31-1]
time=1
add=floor(-128+(32768/var(10))),floor(-128+(32768/var(10))),floor(-128+(32768/var(10)))
mul=var(10),var(10),var(10)
ignorehitpause=0

[state ]
type=envshake
trigger1=sysvar(0)=[10,10+31]
time=2
freq=180
ampl=floor((12-12*sin((pi/2/32)*(sysvar(0)-10)))*sin((pi/2/0.96954)*(gametime%1000)))
phase=90
ignorehitpause=0



;WݒB
[state ]
type=velset
trigger1=1
x=sysfvar(1)*cos((pi/180)*sysfvar(0))
y=sysfvar(1)*sin((pi/180)*sysfvar(0))
ignorehitpause=0



;ubNz[B
[state ]
type=modifyexplod
triggerall=const(size.ground.back)=[0,2]
triggerall=numexplod(310)>=1
trigger1=sysvar(0)=[0,4]
id=310
scale=0,0
ignorehitpause=0
[state ]
type=modifyexplod
triggerall=const(size.ground.back)=[0,2]
triggerall=numexplod(310)>=1
trigger1=sysvar(0)=[5,19]
id=310
scale=0.5*0.75*sin((pi/2/15)*(sysvar(0)-5)),0.5*0.75*sin((pi/2/15)*(sysvar(0)-5))
ignorehitpause=0
[state ]
type=modifyexplod
triggerall=const(size.ground.back)=[0,2]
triggerall=numexplod(310)>=1
trigger1=sysvar(0)>=20
id=310
scale=0.5*0.75,0.5*0.75
ignorehitpause=0
[state ]
type=explod
triggerall=const(size.ground.back)=[0,2]
trigger1=sysvar(0)=0
id=310
anim=10080
;trans=addalpha
;alpha=256,256
facing=1
vfacing=1
scale=0,0
shadow=0,0,0
sprpriority=-157
ontop=0
ownpal=1
supermove=0
pausemovetime=0
supermovetime=0
removetime=-2
removeongethit=0
pos=0,0
postype=p1
random=0,0
bindtime=-1
vel=0,0
accel=0,0
ignorehitpause=0
[state ]
type=explod
triggerall=const(size.ground.back)=[0,2]
trigger1=sysvar(0)=0
id=310
anim=10081
;trans=addalpha
;alpha=256,256
facing=1
vfacing=1
scale=0,0
shadow=0,0,0
sprpriority=60
ontop=0
ownpal=1
supermove=0
pausemovetime=0
supermovetime=0
removetime=-2
removeongethit=0
pos=0,0
postype=p1
random=0,0
bindtime=-1
vel=0,0
accel=0,0
ignorehitpause=0



;U{́B
[state ]
type=forcefeedback
trigger1=1||var(1):=0||var(2):=0||var(3):=1||var(4):=18||var(5):=9||var(6):=12||fvar(0):=-5||fvar(1):=0||fvar(2):=-4||fvar(3):=-4||fvar(4):=0.35
ignorehitpause=0

[state ]
type=projectile
triggerall=const(size.ground.back)=[0,2]
trigger1=sysvar(0)=[10,10+159]
trigger1=(sysvar(0)-10)%4=0
projid=310
projanim=70040
projremanim=-1
projhitanim=-1
projcancelanim=-1
projscale=1,1
projsprpriority=-2147483648
projshadow=0,0,0
offset=floor(vel x),floor(vel y)
postype=p1
velocity=0,0
accel=0,0
velmul=1,1
remvelocity=0,0
projremove=1
projremovetime=1
projhits=1
projmisstime=1
projpriority=2147483647
projedgebound=16777215
projheightbound=-16777216,16777215
projstagebound=16777215
pausemovetime=0
supermovetime=0
id=310
chainid=-1
nochainid=-1
attr=s,sa
hitflag=hlaf
guardflag=hla
affectteam=e
priority=2147483647,h
hitonce=0
numhits=1
damage=var(5),var(6)
fall.damage=0
getpower=10,5
givepower=10,5
kill=1
guard.kill=1
animtype=h
air.animtype=b
fall.animtype=b
ground.type=h
air.type=h
forcestand=0
;p1facing=1
p2facing=1
;p1getp2facing=0
palfx.time=40
palfx.add=-192,-64,-128
palfx.sinadd=0,64,24,10
palfx.color=0
palfx.invertall=1
pausetime=var(2),var(3)
guard.pausetime=var(2),var(3)
ground.hittime=40
air.hittime=40
guard.hittime=20
guard.ctrltime=20
airguard.ctrltime=20
ground.slidetime=var(4)
guard.slidetime=floor(0.5*var(4))
fall.recover=0
fall.recovertime=2147483647
fall=var(1)
air.fall=1
ground.velocity=fvar(0),fvar(1)
air.velocity=fvar(2),fvar(3)
down.velocity=fvar(0),fvar(1)
guard.velocity=0.25*fvar(0)
;airguard.velocity=0,0
yaccel=fvar(4)
envshake.time=0
fall.envshake.time=0
fall.envshake.ampl=var(3)
sparkno=-1
guard.sparkno=-1
sparkxy=0,0
hitsound=-1
guardhitsound=-1
;air.juggle=0
sprpriority=-2147483648
;p1stateno=50
;p2stateno=5050
;p2getp1state=1
;down.hittime=0
;down.bounce=0
;fall.kill=1
;guard.dist=const(size.attack.dist)
;mindist=-16777216,-16777215
;maxdist=16777216,16777215
;snap=0,0
ignorehitpause=0



;timepϐZbgB
[state ]
type=varadd
trigger1=1
sysvar(0)=1
ignorehitpause=0


;
;^[GhB

;Xe[gڍsB
[state ]
type=changestate
trigger1=1
value=5150
persistent=256
ignorehitpause=1


;
;傤ӂXe[gB

[statedef 31500]
type=u
movetype=u
physics=u
hitdefpersist=1
movehitpersist=1
hitcountpersist=1
[state ]
type=changestate
trigger1=name!="Saphran"
trigger2=!ishelper
value=2134123982
persistent=256
ignorehitpause=1

;
;̌B

;
;OIXeRQB

;{ݒB
[state ]
type=changeanim
trigger1=sysvar(0)=0
value=10200
ignorehitpause=0



;WݒB
[state ]
type=posset
trigger1=sysvar(0)=0
x=root,pos x+facing*(-root,vel x+const(size.head.pos.x))
y=root,pos y-root,vel y+const(size.head.pos.y)
ignorehitpause=0

;xNgǗϐZbgB
[state ]
type=varset
trigger1=sysvar(0)=0
sysfvar(0)=50
ignorehitpause=0

;xǗϐZbgB
[state ]
type=varset
trigger1=1
sysfvar(1)=0
ignorehitpause=0



;Xe[gڍsB
[state ]
type=changestate
trigger1=animtime=0
value=2134123982
persistent=256
ignorehitpause=1



;wp[ˏoB
[state ]
type=helper
trigger1=sysvar(0)=0
stateno=5150
id=31600
size.ground.front=31600
size.ground.back=0+10*const(size.ground.back)
size.head.pos=const(size.head.pos.x)-25,const(size.head.pos.y)
helpertype=player
keyctrl=1
ownpal=1
pausemovetime=0
supermovetime=0
ignorehitpause=0
[state ]
type=helper
trigger1=sysvar(0)=0
stateno=5150
id=31600
size.ground.front=31600
size.ground.back=1+10*const(size.ground.back)
size.head.pos=const(size.head.pos.x)-25,const(size.head.pos.y)
helpertype=player
keyctrl=1
ownpal=1
pausemovetime=0
supermovetime=0
ignorehitpause=0
[state ]
type=helper
trigger1=sysvar(0)=0
stateno=5150
id=31600
size.ground.front=31600
size.ground.back=2+10*const(size.ground.back)
size.head.pos=const(size.head.pos.x)-25,const(size.head.pos.y)
helpertype=player
keyctrl=1
ownpal=1
pausemovetime=0
supermovetime=0
ignorehitpause=0
[state ]
type=helper
trigger1=sysvar(0)=0
stateno=5150
id=31600
size.ground.front=31600
size.ground.back=3+10*const(size.ground.back)
size.head.pos=const(size.head.pos.x)-25,const(size.head.pos.y)
helpertype=player
keyctrl=1
ownpal=1
pausemovetime=0
supermovetime=0
ignorehitpause=0
[state ]
type=helper
trigger1=sysvar(0)=0
stateno=5150
id=31600
size.ground.front=31600
size.ground.back=4+10*const(size.ground.back)
size.head.pos=const(size.head.pos.x)-25,const(size.head.pos.y)
helpertype=player
keyctrl=1
ownpal=1
pausemovetime=0
supermovetime=0
ignorehitpause=0
[state ]
type=helper
trigger1=sysvar(0)=0
stateno=5150
id=31600
size.ground.front=31600
size.ground.back=5+10*const(size.ground.back)
size.head.pos=const(size.head.pos.x)-25,const(size.head.pos.y)
helpertype=player
keyctrl=1
ownpal=1
pausemovetime=0
supermovetime=0
ignorehitpause=0



;{ݒitjB
[state ]
type=sprpriority
trigger1=1
value=-149
ignorehitpause=0


;
;ȊOB

;B
[state ]
type=null;ҏWBplaysnd
trigger1=sysvar(0)=0
value=s20000,0
freqmul=0.8
volume=-128
channel=1
ignorehitpause=0



;WݒB
[state ]
type=velset
trigger1=1
x=sysfvar(1)*cos((pi/180)*sysfvar(0))
y=sysfvar(1)*sin((pi/180)*sysfvar(0))
ignorehitpause=0



;rWAZbgB
[state ]
type=angledraw
trigger1=1
value=floor(-sysfvar(0))
scale=0.5,0.5
ignorehitpause=1

[state ]
type=trans
trigger1=1
trans=add
ignorehitpause=1

[state ]
type=assertspecial
trigger1=1
flag=noshadow
ignorehitpause=1



;timepϐZbgB
[state ]
type=varadd
trigger1=1
sysvar(0)=1
ignorehitpause=0


;
;^[GhB

;Xe[gڍsB
[state ]
type=changestate
trigger1=1
value=5150
persistent=256
ignorehitpause=1


;
;E[bC{[Xe[gB

[statedef 31600]
type=u
movetype=u
physics=u
hitdefpersist=1
movehitpersist=1
hitcountpersist=1
[state ]
type=changestate
trigger1=name!="Saphran"
trigger2=!ishelper
value=2134123982
persistent=256
ignorehitpause=1

;
;̌B

;
;OIXeRQB

;ՎϐZbgB
[state ]
type=forcefeedback
trigger1=1||var(50):=10||var(51):=30||var(52):=5||var(53):=45||var(54):=30
ignorehitpause=0



;UqbgB
[state ]
type=varadd
trigger1=root,projcontacttime(320*(floor(const(size.ground.back)/10)=0)+720*(floor(const(size.ground.back)/10)=1)+100000*(const(size.ground.back)%10))=(root,var(46)=gametime)
var(40)=1
ignorehitpause=1
[state ]
type=varadd
trigger1=root,projcontacttime(1000320*(floor(const(size.ground.back)/10)=0)+1000720*(floor(const(size.ground.back)/10)=1)+100000*(const(size.ground.back)%10))=(root,var(46)=gametime)
var(41)=1
ignorehitpause=1
[state ]
type=varadd
trigger1=root,projcontacttime(2000320*(floor(const(size.ground.back)/10)=0)+2000720*(floor(const(size.ground.back)/10)=1)+100000*(const(size.ground.back)%10))=(root,var(46)=gametime)
var(42)=1
ignorehitpause=1
[state ]
type=varadd
trigger1=root,projcontacttime(3000320*(floor(const(size.ground.back)/10)=0)+3000720*(floor(const(size.ground.back)/10)=1)+100000*(const(size.ground.back)%10))=(root,var(46)=gametime)
var(43)=1
ignorehitpause=1
[state ]
type=varadd
trigger1=root,projcontacttime(4000320*(floor(const(size.ground.back)/10)=0)+4000720*(floor(const(size.ground.back)/10)=1)+100000*(const(size.ground.back)%10))=(root,var(46)=gametime)
var(44)=1
ignorehitpause=1



;{ݒB
[state ]
type=changeanim
trigger1=sysvar(0)=0
value=90000
ignorehitpause=0

[state ]
type=changeanim
trigger1=sysvar(0)=var(50)
trigger2=sysvar(0)=var(50)+var(51)+6*(const(size.ground.back)%10)
trigger3=sysvar(0)=var(50)+var(51)+6*var(52)+6*(const(size.ground.back)%10)
trigger4=sysvar(0)=var(50)+var(51)+12*var(52)+var(53)+6*(const(size.ground.back)%10)
trigger5=sysvar(0)=var(50)+var(51)+18*var(52)+var(53)+6*(const(size.ground.back)%10)
value=10210+100000*(const(size.ground.back)%10)
ignorehitpause=0
[state ]
type=changeanim
trigger1=sysvar(0)=var(50)+var(51)+18*var(52)+var(53)+6*(const(size.ground.back)%10)+var(54)
value=90000
ignorehitpause=0



;WݒB
[state ]
type=posset
trigger1=sysvar(0)=0
x=root,pos x+facing*(-root,vel x+const(size.head.pos.x))
y=root,pos y-root,vel y+const(size.head.pos.y)
ignorehitpause=0
[state ]
type=posset
triggerall=sysvar(0)=var(50)+var(51)+6*(const(size.ground.back)%10)
triggerall=1||fvar(11):=20
trigger1=(const(size.ground.back)%10)=0
trigger1=1||fvar(10):=-90+fvar(11)+15*cos(random)
trigger2=(const(size.ground.back)%10)=1
trigger2=1||fvar(10):=180-90+fvar(11)+15*cos(random)
trigger3=(const(size.ground.back)%10)=2
trigger3=1||fvar(10):=-90+60+fvar(11)+15*cos(random)
trigger4=(const(size.ground.back)%10)=3
trigger4=1||fvar(10):=180-90+60+fvar(11)+15*cos(random)
trigger5=(const(size.ground.back)%10)=4
trigger5=1||fvar(10):=-90+120+fvar(11)+15*cos(random)
trigger6=(const(size.ground.back)%10)=5
trigger6=1||fvar(10):=180-90+120+fvar(11)+15*cos(random)
x=enemynear,pos x+enemynear,facing*enemynear,const(size.mid.pos.x)+400*cos((pi/180)*fvar(10))
y=enemynear,pos y+enemynear,const(size.mid.pos.y)+400*sin((pi/180)*fvar(10))
ignorehitpause=0
[state ]
type=posset
triggerall=sysvar(0)=var(50)+var(51)+6*var(52)+6*(const(size.ground.back)%10)
triggerall=1||fvar(11):=20+180
trigger1=(const(size.ground.back)%10)=0
trigger1=1||fvar(10):=-90+fvar(11)+15*cos(random)
trigger2=(const(size.ground.back)%10)=1
trigger2=1||fvar(10):=180-90+fvar(11)+15*cos(random)
trigger3=(const(size.ground.back)%10)=2
trigger3=1||fvar(10):=-90+60+fvar(11)+15*cos(random)
trigger4=(const(size.ground.back)%10)=3
trigger4=1||fvar(10):=180-90+60+fvar(11)+15*cos(random)
trigger5=(const(size.ground.back)%10)=4
trigger5=1||fvar(10):=-90+120+fvar(11)+15*cos(random)
trigger6=(const(size.ground.back)%10)=5
trigger6=1||fvar(10):=180-90+120+fvar(11)+15*cos(random)
x=enemynear,pos x+enemynear,facing*enemynear,const(size.mid.pos.x)+400*cos((pi/180)*fvar(10))
y=enemynear,pos y+enemynear,const(size.mid.pos.y)+400*sin((pi/180)*fvar(10))
ignorehitpause=0
[state ]
type=posset
triggerall=sysvar(0)=var(50)+var(51)+12*var(52)+var(53)+6*(const(size.ground.back)%10)
triggerall=1||fvar(11):=40
trigger1=(const(size.ground.back)%10)=0
trigger1=1||fvar(10):=-90+fvar(11)+15*cos(random)
trigger2=(const(size.ground.back)%10)=1
trigger2=1||fvar(10):=180-90+fvar(11)+15*cos(random)
trigger3=(const(size.ground.back)%10)=2
trigger3=1||fvar(10):=-90+60+fvar(11)+15*cos(random)
trigger4=(const(size.ground.back)%10)=3
trigger4=1||fvar(10):=180-90+60+fvar(11)+15*cos(random)
trigger5=(const(size.ground.back)%10)=4
trigger5=1||fvar(10):=-90+120+fvar(11)+15*cos(random)
trigger6=(const(size.ground.back)%10)=5
trigger6=1||fvar(10):=180-90+120+fvar(11)+15*cos(random)
x=enemynear,pos x+enemynear,facing*enemynear,const(size.mid.pos.x)+400*cos((pi/180)*fvar(10))
y=enemynear,pos y+enemynear,const(size.mid.pos.y)+400*sin((pi/180)*fvar(10))
ignorehitpause=0
[state ]
type=posset
triggerall=sysvar(0)=var(50)+var(51)+18*var(52)+var(53)+6*(const(size.ground.back)%10)
triggerall=1||fvar(11):=40+180
trigger1=(const(size.ground.back)%10)=0
trigger1=1||fvar(10):=-90+fvar(11)+15*cos(random)
trigger2=(const(size.ground.back)%10)=1
trigger2=1||fvar(10):=180-90+fvar(11)+15*cos(random)
trigger3=(const(size.ground.back)%10)=2
trigger3=1||fvar(10):=-90+60+fvar(11)+15*cos(random)
trigger4=(const(size.ground.back)%10)=3
trigger4=1||fvar(10):=180-90+60+fvar(11)+15*cos(random)
trigger5=(const(size.ground.back)%10)=4
trigger5=1||fvar(10):=-90+120+fvar(11)+15*cos(random)
trigger6=(const(size.ground.back)%10)=5
trigger6=1||fvar(10):=180-90+120+fvar(11)+15*cos(random)
x=enemynear,pos x+enemynear,facing*enemynear,const(size.mid.pos.x)+400*cos((pi/180)*fvar(10))
y=enemynear,pos y+enemynear,const(size.mid.pos.y)+400*sin((pi/180)*fvar(10))
ignorehitpause=0

;xNgǗϐZbgB
[state ]
type=varset
triggerall=sysvar(0)=0
trigger1=(const(size.ground.back)%10)=0
trigger1=1||fvar(10):=-70
trigger2=(const(size.ground.back)%10)=1
trigger2=1||fvar(10):=-60
trigger3=(const(size.ground.back)%10)=2
trigger3=1||fvar(10):=-50
trigger4=(const(size.ground.back)%10)=3
trigger4=1||fvar(10):=-40
trigger5=(const(size.ground.back)%10)=4
trigger5=1||fvar(10):=-30
trigger6=(const(size.ground.back)%10)=5
trigger6=1||fvar(10):=-20
sysfvar(0)=fvar(10)
ignorehitpause=0
[state ]
type=varset
triggerall=sysvar(0)=var(50)+var(51)+6*(const(size.ground.back)%10)
triggerall=1||var(10):=random
triggerall=1||fvar(10):=facing*(enemynear,pos x+enemynear,facing*enemynear,const(size.mid.pos.x)-pos x)+60*cos(var(10)**2)*cos(var(10))
triggerall=1||fvar(11):=enemynear,pos y+enemynear,const(size.mid.pos.y)-pos y+60*cos(var(10)**2)*sin(var(10))
triggerall=1||fvar(12):=(fvar(10)**2+fvar(11)**2)**0.5
trigger1=fvar(12)=0
trigger1=1||fvar(13):=0
trigger2=1||fvar(13):=(1-2*(fvar(11)<0))*acos(fvar(10)/fvar(12))
sysfvar(0)=fvar(13)*(180/pi)
ignorehitpause=0
[state ]
type=varset
triggerall=sysvar(0)=var(50)+var(51)+6*var(52)+6*(const(size.ground.back)%10)
triggerall=1||var(10):=random
triggerall=1||fvar(10):=facing*(enemynear,pos x+enemynear,facing*enemynear,const(size.mid.pos.x)-pos x)+60*cos(var(10)**2)*cos(var(10))
triggerall=1||fvar(11):=enemynear,pos y+enemynear,const(size.mid.pos.y)-pos y+60*cos(var(10)**2)*sin(var(10))
triggerall=1||fvar(12):=(fvar(10)**2+fvar(11)**2)**0.5
trigger1=fvar(12)=0
trigger1=1||fvar(13):=0
trigger2=1||fvar(13):=(1-2*(fvar(11)<0))*acos(fvar(10)/fvar(12))
sysfvar(0)=fvar(13)*(180/pi)
ignorehitpause=0
[state ]
type=varset
triggerall=sysvar(0)=var(50)+var(51)+12*var(52)+var(53)+6*(const(size.ground.back)%10)
triggerall=1||var(10):=random
triggerall=1||fvar(10):=facing*(enemynear,pos x+enemynear,facing*enemynear,const(size.mid.pos.x)-pos x)+60*cos(var(10)**2)*cos(var(10))
triggerall=1||fvar(11):=enemynear,pos y+enemynear,const(size.mid.pos.y)-pos y+60*cos(var(10)**2)*sin(var(10))
triggerall=1||fvar(12):=(fvar(10)**2+fvar(11)**2)**0.5
trigger1=fvar(12)=0
trigger1=1||fvar(13):=0
trigger2=1||fvar(13):=(1-2*(fvar(11)<0))*acos(fvar(10)/fvar(12))
sysfvar(0)=fvar(13)*(180/pi)
ignorehitpause=0
[state ]
type=varset
triggerall=sysvar(0)=var(50)+var(51)+18*var(52)+var(53)+6*(const(size.ground.back)%10)
triggerall=1||var(10):=random
triggerall=1||fvar(10):=facing*(enemynear,pos x+enemynear,facing*enemynear,const(size.mid.pos.x)-pos x)+60*cos(var(10)**2)*cos(var(10))
triggerall=1||fvar(11):=enemynear,pos y+enemynear,const(size.mid.pos.y)-pos y+60*cos(var(10)**2)*sin(var(10))
triggerall=1||fvar(12):=(fvar(10)**2+fvar(11)**2)**0.5
trigger1=fvar(12)=0
trigger1=1||fvar(13):=0
trigger2=1||fvar(13):=(1-2*(fvar(11)<0))*acos(fvar(10)/fvar(12))
sysfvar(0)=fvar(13)*(180/pi)
ignorehitpause=0

;xǗϐZbgB
[state ]
type=varset
trigger1=sysvar(0)<=9
trigger1=1||fvar(10):=0
trigger2=sysvar(0)>=10
trigger2=1||fvar(10):=40
sysfvar(1)=fvar(10)
ignorehitpause=0



;Xe[gڍsB
[state ]
type=changestate
trigger1=sysvar(0)=var(50)+var(51)+18*var(52)+var(53)+6*(const(size.ground.back)%10)+var(54)+32
value=2134123982
persistent=256
ignorehitpause=1



;{ݒitjB
[state ]
type=sprpriority
trigger1=sysvar(0)<=var(50)+var(51)+6*(const(size.ground.back)%10)-1
value=-145
ignorehitpause=0
[state ]
type=sprpriority
trigger1=sysvar(0)>=var(50)+var(51)+6*(const(size.ground.back)%10)
value=78
ignorehitpause=0


;
;ȊOB

;B
[state ]
type=null;ҏWBplaysnd
trigger1=sysvar(0)=0
value=s20000,0
freqmul=0.8
volume=-128
channel=1
ignorehitpause=0



;ʐݒB
[state ]
type=null;ҏWBexplod
trigger1=sysvar(0)=[0,29]
id=0
anim=19000
trans=addalpha
alpha=0,192
facing=1
vfacing=1
scale=1,1
shadow=0,0,0
sprpriority=-2147483648
ontop=0
ownpal=1
supermove=0
pausemovetime=0
supermovetime=0
removetime=-2
removeongethit=0
pos=0,0
postype=left
random=0,0
bindtime=-1
vel=0,0
accel=0,0
ignorehitpause=0

[state ]
type=null;ҏWBbgpalfx
triggerall=1||var(10):=floor((256+128)-128*sin((pi/2/6)*(sysvar(0)-(70-1))))
trigger1=sysvar(0)=[70-1,75-1]
time=1
add=floor(-128+(32768/var(10))),floor(-128+(32768/var(10))),floor(-128+(32768/var(10)))
mul=var(10),var(10),var(10)
ignorehitpause=0



;WݒB
[state ]
type=velset
trigger1=1
x=sysfvar(1)*cos((pi/180)*sysfvar(0))
y=sysfvar(1)*sin((pi/180)*sysfvar(0))
ignorehitpause=0



;rWAZbgB
[state ]
type=angledraw
trigger1=1
value=floor(-sysfvar(0))
scale=0.5,0.5
ignorehitpause=1

[state ]
type=trans
trigger1=1
trans=add
ignorehitpause=1

[state ]
type=afterimage
trigger1=sysvar(0)=10
time=1
length=32
timegap=1
framegap=1
palcolor=256
palinvertall=0
palbright=0,0,0
palcontrast=64,64,64
paladd=-3,-3,-3
palmul=1,1,1
trans=sub
ignorehitpause=0
[state ]
type=afterimagetime
trigger1=sysvar(0)<=var(50)+var(51)+18*var(52)+var(53)+6*(const(size.ground.back)%10)+var(54)+31
time=var(50)+var(51)+18*var(52)+var(53)+6*(const(size.ground.back)%10)+var(54)+32-sysvar(0)
ignorehitpause=0

[state ]
type=assertspecial
trigger1=1
flag=noshadow
ignorehitpause=1



;U{́B
[state ]
type=forcefeedback
trigger1=1||var(1):=0||var(2):=0||var(3):=4||var(4):=24||var(5):=18||var(6):=9||fvar(0):=-6||fvar(1):=0||fvar(2):=-2||fvar(3):=-5||fvar(4):=0.35
ignorehitpause=0

[state ]
type=projectile
triggerall=floor(const(size.ground.back)/10)=0
triggerall=var(40)=0
trigger1=sysvar(0)=[var(50),var(50)+var(51)+6*(const(size.ground.back)%10)-1]
projid=320+100000*(const(size.ground.back)%10)
projanim=70060
projremanim=-1
projhitanim=-1
projcancelanim=-1
projscale=1,1
projsprpriority=-2147483648
projshadow=0,0,0
offset=floor(vel x+100*cos((pi/180)*sysfvar(0))),floor(vel y+100*sin((pi/180)*sysfvar(0)))
postype=p1
velocity=0,0
accel=0,0
velmul=1,1
remvelocity=0,0
projremove=1
projremovetime=1
projhits=1
projmisstime=1
projpriority=2147483647
projedgebound=16777215
projheightbound=-16777216,16777215
projstagebound=16777215
pausemovetime=0
supermovetime=0
id=320+100000*(const(size.ground.back)%10)
chainid=-1
nochainid=-1
attr=s,sa
hitflag=hlaf
guardflag=hla
affectteam=e
priority=2147483647,h
hitonce=0
numhits=1
damage=var(5),var(6)
fall.damage=0
getpower=10,5
givepower=10,5
kill=1
guard.kill=1
animtype=h
air.animtype=b
fall.animtype=b
ground.type=h
air.type=h
forcestand=0
;p1facing=1
p2facing=1
;p1getp2facing=0
palfx.time=40
palfx.add=-192,-64,-128
palfx.sinadd=0,64,24,10
palfx.color=0
palfx.invertall=1
pausetime=var(2),var(3)
guard.pausetime=var(2),var(3)
ground.hittime=40
air.hittime=40
guard.hittime=20
guard.ctrltime=20
airguard.ctrltime=20
ground.slidetime=var(4)
guard.slidetime=floor(0.5*var(4))
fall.recover=0
fall.recovertime=2147483647
fall=var(1)
air.fall=1
ground.velocity=fvar(0),fvar(1)
air.velocity=fvar(2),fvar(3)
down.velocity=fvar(0),fvar(1)
guard.velocity=0.25*fvar(0)
;airguard.velocity=0,0
yaccel=fvar(4)
envshake.time=0
fall.envshake.time=0
fall.envshake.ampl=var(3)
sparkno=-1
guard.sparkno=-1
sparkxy=0,0
hitsound=-1
guardhitsound=-1
;air.juggle=0
sprpriority=-2147483648
;p1stateno=50
;p2stateno=5050
;p2getp1state=1
;down.hittime=0
;down.bounce=0
;fall.kill=1
;guard.dist=const(size.attack.dist)
;mindist=-16777216,-16777215
;maxdist=16777216,16777215
;snap=0,0
ignorehitpause=0
[state ]
type=projectile
triggerall=floor(const(size.ground.back)/10)=0
triggerall=var(41)=0
trigger1=sysvar(0)=[var(50)+var(51)+6*(const(size.ground.back)%10),var(50)+var(51)+6*var(52)+6*(const(size.ground.back)%10)-1]
projid=1000320+100000*(const(size.ground.back)%10)
projanim=70060
projremanim=-1
projhitanim=-1
projcancelanim=-1
projscale=1,1
projsprpriority=-2147483648
projshadow=0,0,0
offset=floor(vel x+100*cos((pi/180)*sysfvar(0))),floor(vel y+100*sin((pi/180)*sysfvar(0)))
postype=p1
velocity=0,0
accel=0,0
velmul=1,1
remvelocity=0,0
projremove=1
projremovetime=1
projhits=1
projmisstime=1
projpriority=2147483647
projedgebound=16777215
projheightbound=-16777216,16777215
projstagebound=16777215
pausemovetime=0
supermovetime=0
id=1000320+100000*(const(size.ground.back)%10)
chainid=-1
nochainid=-1
attr=s,sa
hitflag=hlaf
guardflag=hla
affectteam=e
priority=2147483647,h
hitonce=0
numhits=1
damage=var(5),var(6)
fall.damage=0
getpower=10,5
givepower=10,5
kill=1
guard.kill=1
animtype=h
air.animtype=b
fall.animtype=b
ground.type=h
air.type=h
forcestand=0
;p1facing=1
p2facing=1
;p1getp2facing=0
palfx.time=40
palfx.add=-192,-64,-128
palfx.sinadd=0,64,24,10
palfx.color=0
palfx.invertall=1
pausetime=var(2),var(3)
guard.pausetime=var(2),var(3)
ground.hittime=40
air.hittime=40
guard.hittime=20
guard.ctrltime=20
airguard.ctrltime=20
ground.slidetime=var(4)
guard.slidetime=floor(0.5*var(4))
fall.recover=0
fall.recovertime=2147483647
fall=var(1)
air.fall=1
ground.velocity=fvar(0),fvar(1)
air.velocity=fvar(2),fvar(3)
down.velocity=fvar(0),fvar(1)
guard.velocity=0.25*fvar(0)
;airguard.velocity=0,0
yaccel=fvar(4)
envshake.time=0
fall.envshake.time=0
fall.envshake.ampl=var(3)
sparkno=-1
guard.sparkno=-1
sparkxy=0,0
hitsound=-1
guardhitsound=-1
;air.juggle=0
sprpriority=-2147483648
;p1stateno=50
;p2stateno=5050
;p2getp1state=1
;down.hittime=0
;down.bounce=0
;fall.kill=1
;guard.dist=const(size.attack.dist)
;mindist=-16777216,-16777215
;maxdist=16777216,16777215
;snap=0,0
ignorehitpause=0
[state ]
type=projectile
triggerall=floor(const(size.ground.back)/10)=0
triggerall=var(42)=0
trigger1=sysvar(0)=[var(50)+var(51)+6*var(52)+6*(const(size.ground.back)%10),var(50)+var(51)+12*var(52)+var(53)+6*(const(size.ground.back)%10)-1]
projid=2000320+100000*(const(size.ground.back)%10)
projanim=70060
projremanim=-1
projhitanim=-1
projcancelanim=-1
projscale=1,1
projsprpriority=-2147483648
projshadow=0,0,0
offset=floor(vel x+100*cos((pi/180)*sysfvar(0))),floor(vel y+100*sin((pi/180)*sysfvar(0)))
postype=p1
velocity=0,0
accel=0,0
velmul=1,1
remvelocity=0,0
projremove=1
projremovetime=1
projhits=1
projmisstime=1
projpriority=2147483647
projedgebound=16777215
projheightbound=-16777216,16777215
projstagebound=16777215
pausemovetime=0
supermovetime=0
id=2000320+100000*(const(size.ground.back)%10)
chainid=-1
nochainid=-1
attr=s,sa
hitflag=hlaf
guardflag=hla
affectteam=e
priority=2147483647,h
hitonce=0
numhits=1
damage=var(5),var(6)
fall.damage=0
getpower=10,5
givepower=10,5
kill=1
guard.kill=1
animtype=h
air.animtype=b
fall.animtype=b
ground.type=h
air.type=h
forcestand=0
;p1facing=1
p2facing=1
;p1getp2facing=0
palfx.time=40
palfx.add=-192,-64,-128
palfx.sinadd=0,64,24,10
palfx.color=0
palfx.invertall=1
pausetime=var(2),var(3)
guard.pausetime=var(2),var(3)
ground.hittime=40
air.hittime=40
guard.hittime=20
guard.ctrltime=20
airguard.ctrltime=20
ground.slidetime=var(4)
guard.slidetime=floor(0.5*var(4))
fall.recover=0
fall.recovertime=2147483647
fall=var(1)
air.fall=1
ground.velocity=fvar(0),fvar(1)
air.velocity=fvar(2),fvar(3)
down.velocity=fvar(0),fvar(1)
guard.velocity=0.25*fvar(0)
;airguard.velocity=0,0
yaccel=fvar(4)
envshake.time=0
fall.envshake.time=0
fall.envshake.ampl=var(3)
sparkno=-1
guard.sparkno=-1
sparkxy=0,0
hitsound=-1
guardhitsound=-1
;air.juggle=0
sprpriority=-2147483648
;p1stateno=50
;p2stateno=5050
;p2getp1state=1
;down.hittime=0
;down.bounce=0
;fall.kill=1
;guard.dist=const(size.attack.dist)
;mindist=-16777216,-16777215
;maxdist=16777216,16777215
;snap=0,0
ignorehitpause=0
[state ]
type=projectile
triggerall=floor(const(size.ground.back)/10)=0
triggerall=var(43)=0
trigger1=sysvar(0)=[var(50)+var(51)+12*var(52)+var(53)+6*(const(size.ground.back)%10),var(50)+var(51)+18*var(52)+var(53)+6*(const(size.ground.back)%10)-1]
projid=3000320+100000*(const(size.ground.back)%10)
projanim=70060
projremanim=-1
projhitanim=-1
projcancelanim=-1
projscale=1,1
projsprpriority=-2147483648
projshadow=0,0,0
offset=floor(vel x+100*cos((pi/180)*sysfvar(0))),floor(vel y+100*sin((pi/180)*sysfvar(0)))
postype=p1
velocity=0,0
accel=0,0
velmul=1,1
remvelocity=0,0
projremove=1
projremovetime=1
projhits=1
projmisstime=1
projpriority=2147483647
projedgebound=16777215
projheightbound=-16777216,16777215
projstagebound=16777215
pausemovetime=0
supermovetime=0
id=3000320+100000*(const(size.ground.back)%10)
chainid=-1
nochainid=-1
attr=s,sa
hitflag=hlaf
guardflag=hla
affectteam=e
priority=2147483647,h
hitonce=0
numhits=1
damage=var(5),var(6)
fall.damage=0
getpower=10,5
givepower=10,5
kill=1
guard.kill=1
animtype=h
air.animtype=b
fall.animtype=b
ground.type=h
air.type=h
forcestand=0
;p1facing=1
p2facing=1
;p1getp2facing=0
palfx.time=40
palfx.add=-192,-64,-128
palfx.sinadd=0,64,24,10
palfx.color=0
palfx.invertall=1
pausetime=var(2),var(3)
guard.pausetime=var(2),var(3)
ground.hittime=40
air.hittime=40
guard.hittime=20
guard.ctrltime=20
airguard.ctrltime=20
ground.slidetime=var(4)
guard.slidetime=floor(0.5*var(4))
fall.recover=0
fall.recovertime=2147483647
fall=var(1)
air.fall=1
ground.velocity=fvar(0),fvar(1)
air.velocity=fvar(2),fvar(3)
down.velocity=fvar(0),fvar(1)
guard.velocity=0.25*fvar(0)
;airguard.velocity=0,0
yaccel=fvar(4)
envshake.time=0
fall.envshake.time=0
fall.envshake.ampl=var(3)
sparkno=-1
guard.sparkno=-1
sparkxy=0,0
hitsound=-1
guardhitsound=-1
;air.juggle=0
sprpriority=-2147483648
;p1stateno=50
;p2stateno=5050
;p2getp1state=1
;down.hittime=0
;down.bounce=0
;fall.kill=1
;guard.dist=const(size.attack.dist)
;mindist=-16777216,-16777215
;maxdist=16777216,16777215
;snap=0,0
ignorehitpause=0
[state ]
type=projectile
triggerall=floor(const(size.ground.back)/10)=0
triggerall=var(44)=0
trigger1=sysvar(0)=[var(50)+var(51)+18*var(52)+var(53)+6*(const(size.ground.back)%10),var(50)+var(51)+18*var(52)+var(53)+6*(const(size.ground.back)%10)+var(54)-1]
projid=4000320+100000*(const(size.ground.back)%10)
projanim=70060
projremanim=-1
projhitanim=-1
projcancelanim=-1
projscale=1,1
projsprpriority=-2147483648
projshadow=0,0,0
offset=floor(vel x+100*cos((pi/180)*sysfvar(0))),floor(vel y+100*sin((pi/180)*sysfvar(0)))
postype=p1
velocity=0,0
accel=0,0
velmul=1,1
remvelocity=0,0
projremove=1
projremovetime=1
projhits=1
projmisstime=1
projpriority=2147483647
projedgebound=16777215
projheightbound=-16777216,16777215
projstagebound=16777215
pausemovetime=0
supermovetime=0
id=4000320+100000*(const(size.ground.back)%10)
chainid=-1
nochainid=-1
attr=s,sa
hitflag=hlaf
guardflag=hla
affectteam=e
priority=2147483647,h
hitonce=0
numhits=1
damage=var(5),var(6)
fall.damage=0
getpower=10,5
givepower=10,5
kill=1
guard.kill=1
animtype=h
air.animtype=b
fall.animtype=b
ground.type=h
air.type=h
forcestand=0
;p1facing=1
p2facing=1
;p1getp2facing=0
palfx.time=40
palfx.add=-192,-64,-128
palfx.sinadd=0,64,24,10
palfx.color=0
palfx.invertall=1
pausetime=var(2),var(3)
guard.pausetime=var(2),var(3)
ground.hittime=40
air.hittime=40
guard.hittime=20
guard.ctrltime=20
airguard.ctrltime=20
ground.slidetime=var(4)
guard.slidetime=floor(0.5*var(4))
fall.recover=0
fall.recovertime=2147483647
fall=var(1)
air.fall=1
ground.velocity=fvar(0),fvar(1)
air.velocity=fvar(2),fvar(3)
down.velocity=fvar(0),fvar(1)
guard.velocity=0.25*fvar(0)
;airguard.velocity=0,0
yaccel=fvar(4)
envshake.time=0
fall.envshake.time=0
fall.envshake.ampl=var(3)
sparkno=-1
guard.sparkno=-1
sparkxy=0,0
hitsound=-1
guardhitsound=-1
;air.juggle=0
sprpriority=-2147483648
;p1stateno=50
;p2stateno=5050
;p2getp1state=1
;down.hittime=0
;down.bounce=0
;fall.kill=1
;guard.dist=const(size.attack.dist)
;mindist=-16777216,-16777215
;maxdist=16777216,16777215
;snap=0,0
ignorehitpause=0

[state ]
type=projectile
triggerall=floor(const(size.ground.back)/10)=1
triggerall=var(40)=0
trigger1=sysvar(0)=[var(50),var(50)+var(51)+6*(const(size.ground.back)%10)-1]
projid=720+100000*(const(size.ground.back)%10)
projanim=70060
projremanim=-1
projhitanim=-1
projcancelanim=-1
projscale=1,1
projsprpriority=-2147483648
projshadow=0,0,0
offset=floor(vel x+100*cos((pi/180)*sysfvar(0))),floor(vel y+100*sin((pi/180)*sysfvar(0)))
postype=p1
velocity=0,0
accel=0,0
velmul=1,1
remvelocity=0,0
projremove=1
projremovetime=1
projhits=1
projmisstime=1
projpriority=2147483647
projedgebound=16777215
projheightbound=-16777216,16777215
projstagebound=16777215
pausemovetime=0
supermovetime=0
id=720+100000*(const(size.ground.back)%10)
chainid=-1
nochainid=-1
attr=a,sa
hitflag=hlaf
guardflag=hla
affectteam=e
priority=2147483647,h
hitonce=0
numhits=1
damage=var(5),var(6)
fall.damage=0
getpower=10,5
givepower=10,5
kill=1
guard.kill=1
animtype=h
air.animtype=b
fall.animtype=b
ground.type=h
air.type=h
forcestand=0
;p1facing=1
p2facing=1
;p1getp2facing=0
palfx.time=40
palfx.add=-192,-64,-128
palfx.sinadd=0,64,24,10
palfx.color=0
palfx.invertall=1
pausetime=var(2),var(3)
guard.pausetime=var(2),var(3)
ground.hittime=40
air.hittime=40
guard.hittime=20
guard.ctrltime=20
airguard.ctrltime=20
ground.slidetime=var(4)
guard.slidetime=floor(0.5*var(4))
fall.recover=0
fall.recovertime=2147483647
fall=var(1)
air.fall=1
ground.velocity=fvar(0),fvar(1)
air.velocity=fvar(2),fvar(3)
down.velocity=fvar(0),fvar(1)
guard.velocity=0.25*fvar(0)
;airguard.velocity=0,0
yaccel=fvar(4)
envshake.time=0
fall.envshake.time=0
fall.envshake.ampl=var(3)
sparkno=-1
guard.sparkno=-1
sparkxy=0,0
hitsound=-1
guardhitsound=-1
;air.juggle=0
sprpriority=-2147483648
;p1stateno=50
;p2stateno=5050
;p2getp1state=1
;down.hittime=0
;down.bounce=0
;fall.kill=1
;guard.dist=const(size.attack.dist)
;mindist=-16777216,-16777215
;maxdist=16777216,16777215
;snap=0,0
ignorehitpause=0
[state ]
type=projectile
triggerall=floor(const(size.ground.back)/10)=1
triggerall=var(41)=0
trigger1=sysvar(0)=[var(50)+var(51)+6*(const(size.ground.back)%10),var(50)+var(51)+6*var(52)+6*(const(size.ground.back)%10)-1]
projid=1000720+100000*(const(size.ground.back)%10)
projanim=70060
projremanim=-1
projhitanim=-1
projcancelanim=-1
projscale=1,1
projsprpriority=-2147483648
projshadow=0,0,0
offset=floor(vel x+100*cos((pi/180)*sysfvar(0))),floor(vel y+100*sin((pi/180)*sysfvar(0)))
postype=p1
velocity=0,0
accel=0,0
velmul=1,1
remvelocity=0,0
projremove=1
projremovetime=1
projhits=1
projmisstime=1
projpriority=2147483647
projedgebound=16777215
projheightbound=-16777216,16777215
projstagebound=16777215
pausemovetime=0
supermovetime=0
id=1000720+100000*(const(size.ground.back)%10)
chainid=-1
nochainid=-1
attr=a,sa
hitflag=hlaf
guardflag=hla
affectteam=e
priority=2147483647,h
hitonce=0
numhits=1
damage=var(5),var(6)
fall.damage=0
getpower=10,5
givepower=10,5
kill=1
guard.kill=1
animtype=h
air.animtype=b
fall.animtype=b
ground.type=h
air.type=h
forcestand=0
;p1facing=1
p2facing=1
;p1getp2facing=0
palfx.time=40
palfx.add=-192,-64,-128
palfx.sinadd=0,64,24,10
palfx.color=0
palfx.invertall=1
pausetime=var(2),var(3)
guard.pausetime=var(2),var(3)
ground.hittime=40
air.hittime=40
guard.hittime=20
guard.ctrltime=20
airguard.ctrltime=20
ground.slidetime=var(4)
guard.slidetime=floor(0.5*var(4))
fall.recover=0
fall.recovertime=2147483647
fall=var(1)
air.fall=1
ground.velocity=fvar(0),fvar(1)
air.velocity=fvar(2),fvar(3)
down.velocity=fvar(0),fvar(1)
guard.velocity=0.25*fvar(0)
;airguard.velocity=0,0
yaccel=fvar(4)
envshake.time=0
fall.envshake.time=0
fall.envshake.ampl=var(3)
sparkno=-1
guard.sparkno=-1
sparkxy=0,0
hitsound=-1
guardhitsound=-1
;air.juggle=0
sprpriority=-2147483648
;p1stateno=50
;p2stateno=5050
;p2getp1state=1
;down.hittime=0
;down.bounce=0
;fall.kill=1
;guard.dist=const(size.attack.dist)
;mindist=-16777216,-16777215
;maxdist=16777216,16777215
;snap=0,0
ignorehitpause=0
[state ]
type=projectile
triggerall=floor(const(size.ground.back)/10)=1
triggerall=var(42)=0
trigger1=sysvar(0)=[var(50)+var(51)+6*var(52)+6*(const(size.ground.back)%10),var(50)+var(51)+12*var(52)+var(53)+6*(const(size.ground.back)%10)-1]
projid=2000720+100000*(const(size.ground.back)%10)
projanim=70060
projremanim=-1
projhitanim=-1
projcancelanim=-1
projscale=1,1
projsprpriority=-2147483648
projshadow=0,0,0
offset=floor(vel x+100*cos((pi/180)*sysfvar(0))),floor(vel y+100*sin((pi/180)*sysfvar(0)))
postype=p1
velocity=0,0
accel=0,0
velmul=1,1
remvelocity=0,0
projremove=1
projremovetime=1
projhits=1
projmisstime=1
projpriority=2147483647
projedgebound=16777215
projheightbound=-16777216,16777215
projstagebound=16777215
pausemovetime=0
supermovetime=0
id=2000720+100000*(const(size.ground.back)%10)
chainid=-1
nochainid=-1
attr=a,sa
hitflag=hlaf
guardflag=hla
affectteam=e
priority=2147483647,h
hitonce=0
numhits=1
damage=var(5),var(6)
fall.damage=0
getpower=10,5
givepower=10,5
kill=1
guard.kill=1
animtype=h
air.animtype=b
fall.animtype=b
ground.type=h
air.type=h
forcestand=0
;p1facing=1
p2facing=1
;p1getp2facing=0
palfx.time=40
palfx.add=-192,-64,-128
palfx.sinadd=0,64,24,10
palfx.color=0
palfx.invertall=1
pausetime=var(2),var(3)
guard.pausetime=var(2),var(3)
ground.hittime=40
air.hittime=40
guard.hittime=20
guard.ctrltime=20
airguard.ctrltime=20
ground.slidetime=var(4)
guard.slidetime=floor(0.5*var(4))
fall.recover=0
fall.recovertime=2147483647
fall=var(1)
air.fall=1
ground.velocity=fvar(0),fvar(1)
air.velocity=fvar(2),fvar(3)
down.velocity=fvar(0),fvar(1)
guard.velocity=0.25*fvar(0)
;airguard.velocity=0,0
yaccel=fvar(4)
envshake.time=0
fall.envshake.time=0
fall.envshake.ampl=var(3)
sparkno=-1
guard.sparkno=-1
sparkxy=0,0
hitsound=-1
guardhitsound=-1
;air.juggle=0
sprpriority=-2147483648
;p1stateno=50
;p2stateno=5050
;p2getp1state=1
;down.hittime=0
;down.bounce=0
;fall.kill=1
;guard.dist=const(size.attack.dist)
;mindist=-16777216,-16777215
;maxdist=16777216,16777215
;snap=0,0
ignorehitpause=0
[state ]
type=projectile
triggerall=floor(const(size.ground.back)/10)=1
triggerall=var(43)=0
trigger1=sysvar(0)=[var(50)+var(51)+12*var(52)+var(53)+6*(const(size.ground.back)%10),var(50)+var(51)+18*var(52)+var(53)+6*(const(size.ground.back)%10)-1]
projid=3000720+100000*(const(size.ground.back)%10)
projanim=70060
projremanim=-1
projhitanim=-1
projcancelanim=-1
projscale=1,1
projsprpriority=-2147483648
projshadow=0,0,0
offset=floor(vel x+100*cos((pi/180)*sysfvar(0))),floor(vel y+100*sin((pi/180)*sysfvar(0)))
postype=p1
velocity=0,0
accel=0,0
velmul=1,1
remvelocity=0,0
projremove=1
projremovetime=1
projhits=1
projmisstime=1
projpriority=2147483647
projedgebound=16777215
projheightbound=-16777216,16777215
projstagebound=16777215
pausemovetime=0
supermovetime=0
id=3000720+100000*(const(size.ground.back)%10)
chainid=-1
nochainid=-1
attr=a,sa
hitflag=hlaf
guardflag=hla
affectteam=e
priority=2147483647,h
hitonce=0
numhits=1
damage=var(5),var(6)
fall.damage=0
getpower=10,5
givepower=10,5
kill=1
guard.kill=1
animtype=h
air.animtype=b
fall.animtype=b
ground.type=h
air.type=h
forcestand=0
;p1facing=1
p2facing=1
;p1getp2facing=0
palfx.time=40
palfx.add=-192,-64,-128
palfx.sinadd=0,64,24,10
palfx.color=0
palfx.invertall=1
pausetime=var(2),var(3)
guard.pausetime=var(2),var(3)
ground.hittime=40
air.hittime=40
guard.hittime=20
guard.ctrltime=20
airguard.ctrltime=20
ground.slidetime=var(4)
guard.slidetime=floor(0.5*var(4))
fall.recover=0
fall.recovertime=2147483647
fall=var(1)
air.fall=1
ground.velocity=fvar(0),fvar(1)
air.velocity=fvar(2),fvar(3)
down.velocity=fvar(0),fvar(1)
guard.velocity=0.25*fvar(0)
;airguard.velocity=0,0
yaccel=fvar(4)
envshake.time=0
fall.envshake.time=0
fall.envshake.ampl=var(3)
sparkno=-1
guard.sparkno=-1
sparkxy=0,0
hitsound=-1
guardhitsound=-1
;air.juggle=0
sprpriority=-2147483648
;p1stateno=50
;p2stateno=5050
;p2getp1state=1
;down.hittime=0
;down.bounce=0
;fall.kill=1
;guard.dist=const(size.attack.dist)
;mindist=-16777216,-16777215
;maxdist=16777216,16777215
;snap=0,0
ignorehitpause=0
[state ]
type=projectile
triggerall=floor(const(size.ground.back)/10)=1
triggerall=var(44)=0
trigger1=sysvar(0)=[var(50)+var(51)+18*var(52)+var(53)+6*(const(size.ground.back)%10),var(50)+var(51)+18*var(52)+var(53)+6*(const(size.ground.back)%10)+var(54)-1]
projid=4000720+100000*(const(size.ground.back)%10)
projanim=70060
projremanim=-1
projhitanim=-1
projcancelanim=-1
projscale=1,1
projsprpriority=-2147483648
projshadow=0,0,0
offset=floor(vel x+100*cos((pi/180)*sysfvar(0))),floor(vel y+100*sin((pi/180)*sysfvar(0)))
postype=p1
velocity=0,0
accel=0,0
velmul=1,1
remvelocity=0,0
projremove=1
projremovetime=1
projhits=1
projmisstime=1
projpriority=2147483647
projedgebound=16777215
projheightbound=-16777216,16777215
projstagebound=16777215
pausemovetime=0
supermovetime=0
id=4000720+100000*(const(size.ground.back)%10)
chainid=-1
nochainid=-1
attr=a,sa
hitflag=hlaf
guardflag=hla
affectteam=e
priority=2147483647,h
hitonce=0
numhits=1
damage=var(5),var(6)
fall.damage=0
getpower=10,5
givepower=10,5
kill=1
guard.kill=1
animtype=h
air.animtype=b
fall.animtype=b
ground.type=h
air.type=h
forcestand=0
;p1facing=1
p2facing=1
;p1getp2facing=0
palfx.time=40
palfx.add=-192,-64,-128
palfx.sinadd=0,64,24,10
palfx.color=0
palfx.invertall=1
pausetime=var(2),var(3)
guard.pausetime=var(2),var(3)
ground.hittime=40
air.hittime=40
guard.hittime=20
guard.ctrltime=20
airguard.ctrltime=20
ground.slidetime=var(4)
guard.slidetime=floor(0.5*var(4))
fall.recover=0
fall.recovertime=2147483647
fall=var(1)
air.fall=1
ground.velocity=fvar(0),fvar(1)
air.velocity=fvar(2),fvar(3)
down.velocity=fvar(0),fvar(1)
guard.velocity=0.25*fvar(0)
;airguard.velocity=0,0
yaccel=fvar(4)
envshake.time=0
fall.envshake.time=0
fall.envshake.ampl=var(3)
sparkno=-1
guard.sparkno=-1
sparkxy=0,0
hitsound=-1
guardhitsound=-1
;air.juggle=0
sprpriority=-2147483648
;p1stateno=50
;p2stateno=5050
;p2getp1state=1
;down.hittime=0
;down.bounce=0
;fall.kill=1
;guard.dist=const(size.attack.dist)
;mindist=-16777216,-16777215
;maxdist=16777216,16777215
;snap=0,0
ignorehitpause=0



;timepϐZbgB
[state ]
type=varadd
trigger1=1
sysvar(0)=1
ignorehitpause=0


;
;^[GhB

;Xe[gڍsB
[state ]
type=changestate
trigger1=1
value=5150
persistent=256
ignorehitpause=1


;
;NbNXe[gB

[statedef 31700]
type=u
movetype=u
physics=u
hitdefpersist=1
movehitpersist=1
hitcountpersist=1
[state ]
type=changestate
trigger1=name!="Saphran"
trigger2=!ishelper
value=2134123982
persistent=256
ignorehitpause=1

;
;̌B

;
;OIXeRQB

;{ݒB
[state ]
type=changeanim
trigger1=sysvar(0)=0
value=90000
ignorehitpause=0



;WݒB
[state ]
type=posset
trigger1=sysvar(0)=0
x=root,pos x+facing*(-root,vel x+const(size.head.pos.x))
y=root,pos y-root,vel y+const(size.head.pos.y)
ignorehitpause=0

;xNgǗϐZbgB
[state ]
type=varset
triggerall=sysvar(0)=0
triggerall=1||fvar(10):=facing*(enemynear,pos x+enemynear,facing*enemynear,const(size.mid.pos.x)-pos x)
triggerall=1||fvar(11):=enemynear,pos y+enemynear,const(size.mid.pos.y)-pos y
triggerall=1||fvar(12):=(fvar(10)**2+fvar(11)**2)**0.5
trigger1=fvar(12)=0
trigger1=1||fvar(13):=0
trigger2=1||fvar(13):=(1-2*(fvar(11)<0))*acos(fvar(10)/fvar(12))
sysfvar(0)=fvar(13)*(180/pi)

;xǗϐZbgB
[state ]
type=varset
trigger1=sysvar(0)=[0,39]
trigger1=1||fvar(10):=0
trigger2=sysvar(0)=[40,59]
trigger2=1||fvar(10):=0.05*(sysvar(0)-40)
trigger3=sysvar(0)>=60
trigger3=1||fvar(10):=1
sysfvar(1)=fvar(10)
ignorehitpause=0



;Xe[gڍsB
[state ]
type=changestate
trigger1=sysvar(0)>=180
value=2134123982
persistent=256
ignorehitpause=1


;
;ȊOB

;B
[state ]
type=null;ҏWBplaysnd
trigger1=sysvar(0)=0
value=s20000,0
freqmul=0.8
volume=-128
channel=1
ignorehitpause=0



;ʐݒB
[state ]
type=bgpalfx
triggerall=1||var(10):=128
trigger1=sysvar(0)=[1-1,31-1]
trigger1=(sysvar(0)+1)%3=[0,1]
time=1
add=floor(-128+(32768/var(10))),floor(-128+(32768/var(10))),floor(-128+(32768/var(10)))
mul=var(10),var(10),var(10)
ignorehitpause=0

[state ]
type=envshake
trigger1=sysvar(0)=[0,31]
time=2
freq=180
ampl=floor((12-12*sin((pi/2/32)*sysvar(0)))*sin((pi/2/0.96954)*(gametime%1000)))
phase=90
ignorehitpause=0



;WݒB
[state ]
type=velset
trigger1=1
x=sysfvar(1)*cos((pi/180)*sysfvar(0))
y=sysfvar(1)*sin((pi/180)*sysfvar(0))
ignorehitpause=0



;NbN
[state ]
type=explod
trigger1=sysvar(0)=0
id=0
anim=10220
;trans=addalpha
;alpha=256,256
facing=1
vfacing=1
scale=0.5,0.5
shadow=0,0,0
sprpriority=-139
ontop=0
ownpal=1
supermove=0
pausemovetime=0
supermovetime=0
removetime=-2
removeongethit=0
pos=0,0
postype=p1
random=0,0
bindtime=-1
vel=0,0
accel=0,0
ignorehitpause=0
[state ]
type=explod
trigger1=sysvar(0)=0
id=0
anim=10221
;trans=addalpha
;alpha=256,256
facing=1
vfacing=1
scale=0.5,0.5
shadow=0,0,0
sprpriority=-138
ontop=0
ownpal=1
supermove=0
pausemovetime=0
supermovetime=0
removetime=-2
removeongethit=0
pos=0,0
postype=p1
random=0,0
bindtime=-1
vel=0,0
accel=0,0
ignorehitpause=0



;U{́B
[state ]
type=forcefeedback
trigger1=1||var(1):=0||var(2):=0||var(3):=1||var(4):=18||var(5):=9||var(6):=12||fvar(0):=-5||fvar(1):=0||fvar(2):=-4||fvar(3):=-4||fvar(4):=0.35
ignorehitpause=0

[state ]
type=null;ҏWBprojectile
trigger1=sysvar(0)=[10,10+159]
projid=710
projanim=70070
projremanim=-1
projhitanim=-1
projcancelanim=-1
projscale=1,1
projsprpriority=-2147483648
projshadow=0,0,0
offset=floor(vel x),floor(vel y)
postype=p1
velocity=0,0
accel=0,0
velmul=1,1
remvelocity=0,0
projremove=1
projremovetime=1
projhits=1
projmisstime=1
projpriority=2147483647
projedgebound=16777215
projheightbound=-16777216,16777215
projstagebound=16777215
pausemovetime=0
supermovetime=0
id=710
chainid=-1
nochainid=-1
attr=a,sa
hitflag=hlaf
guardflag=hla
affectteam=e
priority=2147483647,h
hitonce=0
numhits=1
damage=var(5),var(6)
fall.damage=0
getpower=10,5
givepower=10,5
kill=1
guard.kill=1
animtype=h
air.animtype=b
fall.animtype=b
ground.type=h
air.type=h
forcestand=0
;p1facing=1
p2facing=1
;p1getp2facing=0
palfx.time=40
palfx.add=-192,-64,-128
palfx.sinadd=0,64,24,10
palfx.color=0
palfx.invertall=1
pausetime=var(2),var(3)
guard.pausetime=var(2),var(3)
ground.hittime=40
air.hittime=40
guard.hittime=20
guard.ctrltime=20
airguard.ctrltime=20
ground.slidetime=var(4)
guard.slidetime=floor(0.5*var(4))
fall.recover=0
fall.recovertime=2147483647
fall=var(1)
air.fall=1
ground.velocity=fvar(0),fvar(1)
air.velocity=fvar(2),fvar(3)
down.velocity=fvar(0),fvar(1)
guard.velocity=0.25*fvar(0)
;airguard.velocity=0,0
yaccel=fvar(4)
envshake.time=0
fall.envshake.time=0
fall.envshake.ampl=var(3)
sparkno=-1
guard.sparkno=-1
sparkxy=0,0
hitsound=-1
guardhitsound=-1
;air.juggle=0
sprpriority=-2147483648
;p1stateno=50
;p2stateno=5050
;p2getp1state=1
;down.hittime=0
;down.bounce=0
;fall.kill=1
;guard.dist=const(size.attack.dist)
;mindist=-16777216,-16777215
;maxdist=16777216,16777215
;snap=0,0
ignorehitpause=0



;timepϐZbgB
[state ]
type=varadd
trigger1=1
sysvar(0)=1
ignorehitpause=0


;
;^[GhB

;Xe[gڍsB
[state ]
type=changestate
trigger1=1
value=5150
persistent=256
ignorehitpause=1









