;劕劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劥劥劥
;劔侖攪偄婑傞塭丅

;婎杮愝掕丅
[state ]
type=changeanim
trigger1=1
value=10070
ignorehitpause=1
[state ]
type=sprpriority
trigger1=1
value=6
ignorehitpause=1



;嵗昗愝掕丅
[state ]
type=turn
triggerall=var(40)=10
trigger1=fvar(20)=0
trigger1=facing!=root,facing
trigger2=fvar(20)=1
trigger2=facing!=helper(40200),facing
ignorehitpause=1

;椪帪曄悢僙僢僩丅
[state ]
type=forcefeedback
trigger1=fvar(20)=0
trigger1=1||fvar(0):=ifelse(facing=1,root,screenpos x,320-root,screenpos x)
trigger2=fvar(20)=1
trigger2=1||fvar(0):=ifelse(facing=1,helper(40200),screenpos x,320-helper(40200),screenpos x)
ignorehitpause=1
[state ]
type=forcefeedback
trigger1=1||fvar(1):=0.75
trigger1=1||fvar(2):=120
trigger1=1||fvar(3):=(320+fvar(2))/320
ignorehitpause=1

;嵗昗愝掕乮媡弴張棟乯丅
[state ]
type=posset
trigger1=1
x=floor(-160+screenpos x+facing*fvar(0)/(320/fvar(2)))
y=pos y-screenpos y
ignorehitpause=1



;價僕儏傾儖僙僢僩丅
[state ]
type=palfx
trigger1=1
time=1
mul=floor(256*sin((pi/2/10)*(10-var(40)))),floor(256*sin((pi/2/10)*(10-var(40)))),floor(256*sin((pi/2/10)*(10-var(40))))
ignorehitpause=1

[state ]
type=trans
trigger1=1
trans=sub
ignorehitpause=1
[state ]
type=angledraw
trigger1=1
scale=fvar(3)*(320*(1-fvar(1))+fvar(1)*fvar(0))/640,0.5
ignorehitpause=1
[state ]
type=assertspecial
trigger1=1
flag=noshadow
ignorehitpause=1



;椪帪曄悢僙僢僩丅
[state ]
type=forcefeedback
triggerall=var(40)=[1,11]
trigger1=fvar(20)=0
trigger1=facing=root,facing
trigger1=1||var(40):=var(40)-1
trigger2=fvar(20)=1
trigger2=facing=helper(40200),facing
trigger2=1||var(40):=var(40)-1
ignorehitpause=1
[state ]
type=forcefeedback
triggerall=var(40)=[0,10]
trigger1=fvar(20)=0
trigger1=facing!=root,facing
trigger1=1||var(40):=var(40)+1
trigger2=fvar(20)=1
trigger2=facing!=helper(40200),facing
trigger2=1||var(40):=var(40)+1
ignorehitpause=1









