;---------------------------------------------------------------------------
; Stand
[Statedef 0]
type = S
physics = S
ctrl=1
sprpriority=ifelse(sysfvar(2)>=3000,2147483647,2)

[state evileye_changestate]
type=changestate
triggerall=(sysfvar(1)!=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id)||(name!="through_Lightning_Shuko")
trigger1=prevstateno=stateno
value=4771893
persistent=256
ignorehitpause=1

[state remove_helper]
type=destroyself
triggerall=ishelper
trigger1=1
ignorehitpause=1

[state change_anim]
type=changeanim
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1=anim!=stateno
value=stateno
ignorehitpause=1

[State 0, 2]
type = VelSet
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1 = animelem=1,=0
y = 0
ignorehitpause=1

[State 0, 2]
type = posset
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1 = animelem=1,=0
y = 0
ignorehitpause=1

[State 0, 3] ;Stop moving if low velocity or 4 ticks pass
type = VelSet
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1 = abs(vel x) < 2
x = 0
ignorehitpause=1

[State 1152, 2]
type = Turn
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1=1
trigger1 = P2Dist X < 0
ignorehitpause=1

[State jump]; -------------------- AI
type=selfstate
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
triggerall=var(59)!=0
triggerall=roundstate<=2
trigger1 = numexplod(893189730)!=0
trigger1 = (random>950)&&(random%10<var(59))
trigger1 = ((fvar(8)<=150)&&(fvar(14)>150)) || ((fvar(8)>150)&&(fvar(14)>fvar(8))) || ((sysfvar(2)>=1000)||(var(2)!=0))
trigger2 = numexplod(893189729)!=0
trigger2 = (random>950)&&(random%10<var(59))
trigger3 = numexplod(893189728)!=0
trigger3 = (random>950)&&(random%10>=var(59))
trigger4 = numexplod(893189727)!=0
trigger4 = (random>950)&&(random%10<var(59))
trigger5 = numexplod(893189726)!=0
trigger5 = (random>950)&&(random%10>=var(59))
trigger6 = numexplod(893189729)!=0
trigger6 = ((fvar(6)<=100)&&(fvar(14)<50)) || ((fvar(6)>100)&&(fvar(14)<(fvar(6)/2)))
value=40
persistent=256
ignorehitpause=1

[State walk]; -------------------- AI
type=selfstate
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
triggerall=var(59)!=0
triggerall=roundstate<=2
trigger1 = numexplod(893189730)!=0
trigger1 = ((fvar(8)<=150)&&(fvar(14)>150)) || ((fvar(8)>150)&&(fvar(14)>fvar(8)))
trigger2 = numexplod(893189729)!=0
trigger2 = ((fvar(6)<=100)&&(fvar(14)>100)) || ((fvar(6)>100)&&(fvar(14)>fvar(6)))
trigger3 = numexplod(893189728)!=0
trigger3 = ((fvar(8)<=100)&&(fvar(14)>(100+(20-var(59))))) || ((fvar(8)>100)&&(fvar(14)>(fvar(8)+(20-var(59)))))
trigger4 = numexplod(893189727)!=0
trigger4 = ((fvar(8)<=100)&&(fvar(14)>100)) || ((fvar(8)>100)&&(fvar(14)>fvar(8)))
trigger5 = numexplod(893189726)!=0
trigger5 = ((fvar(8)<=150)&&(fvar(14)>150)) || ((fvar(8)>150)&&(fvar(14)>fvar(8)))
value=20
persistent=256
ignorehitpause=1

[State walk_back]; -------------------- AI
type=selfstate
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
triggerall=var(59)!=0
triggerall=roundstate<=2
trigger1 = numexplod(893189730)!=0
trigger1 = ((fvar(8)<=50)&&(fvar(14)<50)) || ((fvar(8)>50)&&(fvar(14)<fvar(8)))
trigger2 = numexplod(893189729)!=0
trigger2 = ((fvar(6)<=100)&&(fvar(14)<100)) || ((fvar(6)>100)&&(fvar(14)<fvar(6)))
trigger3 = numexplod(893189728)!=0
trigger3 = ((fvar(8)<=100)&&(fvar(14)<(100-(20-var(59))))) || ((fvar(8)>100)&&(fvar(14)<(fvar(8)-(20-var(59)))))
trigger4 = numexplod(893189727)!=0
trigger4 = ((fvar(8)<=50)&&(fvar(14)<50)) || ((fvar(8)>50)&&(fvar(14)<fvar(8)))
trigger5 = numexplod(893189726)!=0
trigger5 = ((fvar(8)<=50)&&(fvar(14)<50)) || ((fvar(8)>50)&&(fvar(14)<fvar(8)))
value=21
persistent=256
ignorehitpause=1

[State jump]
type=selfstate
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
triggerall=var(59)=0
triggerall=roundstate<=2
trigger1 = command = "holdup"
value=40
persistent=256
ignorehitpause=1

[State crouch]
type=selfstate
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
triggerall=var(59)=0
triggerall=roundstate<=2
trigger1 = command = "holddown"
value=10
persistent=256
ignorehitpause=1

[State walk]
type=selfstate
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
triggerall=var(59)=0
triggerall=roundstate<=2
trigger1 = command = "holdfwd"
value=20
persistent=256
ignorehitpause=1

[State walk_back]
type=selfstate
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
triggerall=var(59)=0
triggerall=roundstate<=2
trigger1 = command = "holdback"
value=21
persistent=256
ignorehitpause=1

[State semi_state_fixing]
type=selfstate
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1=1
value=5150
persistent=256
ignorehitpause=1

;---------------------------------------------------------------------------
; Stand to Crouch
[Statedef 10]
type    = C
physics = C
ctrl=1
sprpriority=ifelse(sysfvar(2)>=3000,2147483647,2)

[state evileye_changestate]
type=changestate
triggerall=(sysfvar(1)!=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id)||(name!="through_Lightning_Shuko")
trigger1=1
value=4771893
persistent=256
ignorehitpause=1


[state change_anim]
type=changeanim
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1=anim!=stateno
value=stateno
ignorehitpause=1

[State 10, 1]
type = VelMul
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1 = Time = 0
x = .75
ignorehitpause=1

[State 0, 2]
type = posset
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1 = animelem=1,=0
y = 0
ignorehitpause=1

[State 1152, 2]
type = Turn
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1=1
trigger1 = P2Dist X < 0
ignorehitpause=1

[State jump]; -------------------- AI
type=selfstate
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
triggerall=var(59)!=0
triggerall=roundstate<=2
trigger1 = numexplod(893189730)!=0
trigger1 = (random>950)&&(random%10<var(59))
trigger1 = ((fvar(8)<=150)&&(fvar(14)>150)) || ((fvar(8)>150)&&(fvar(14)>fvar(8))) || ((sysfvar(2)>=1000)||(var(2)!=0))
trigger2 = numexplod(893189729)!=0
trigger2 = (random>950)&&(random%10<var(59))
trigger3 = numexplod(893189728)!=0
trigger3 = (random>950)&&(random%10>=var(59))
trigger4 = numexplod(893189727)!=0
trigger4 = (random>950)&&(random%10<var(59))
trigger5 = numexplod(893189726)!=0
trigger5 = (random>950)&&(random%10>=var(59))
trigger6 = numexplod(893189729)!=0
trigger6 = ((fvar(6)<=100)&&(fvar(14)<50)) || ((fvar(6)>100)&&(fvar(14)<(fvar(6)/2)))
value=40
persistent=256
ignorehitpause=1

[State jump]
type=selfstate
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
triggerall=var(59)=0
trigger1 = command = "holdup"
value=40
persistent=256
ignorehitpause=1

[State stand]
type=selfstate
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
triggerall=var(59)=0
trigger1 = !(command = "holddown")
value=0
persistent=256
ignorehitpause=1

[State 10, 2]
type = selfstate
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1 = AnimTime = 0
value = 11
persistent=256
ignorehitpause=1

[State semi_state_fixing]
type=selfstate
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1=1
value=5150
persistent=256
ignorehitpause=1

;---------------------------------------------------------------------------
; Crouching
[Statedef 11]
type    = C
physics = C
ctrl=1
sprpriority=ifelse(sysfvar(2)>=3000,2147483647,2)

[state evileye_changestate]
type=changestate
triggerall=(sysfvar(1)!=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id)||(name!="through_Lightning_Shuko")
trigger1=1
value=4771893
persistent=256
ignorehitpause=1


[state change_anim]
type=changeanim
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1=anim!=stateno
value=stateno
ignorehitpause=1

[State 0, 2]
type = posset
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1 = animelem=1,=0
y = 0
ignorehitpause=1

[State 1152, 2]
type = Turn
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1=1
trigger1 = P2Dist X < 0
ignorehitpause=1

[State jump]; -------------------- AI
type=selfstate
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
triggerall=var(59)!=0
triggerall=roundstate<=2
trigger1 = numexplod(893189730)!=0
trigger1 = (random>950)&&(random%10<var(59))
trigger1 = ((fvar(8)<=150)&&(fvar(14)>150)) || ((fvar(8)>150)&&(fvar(14)>fvar(8))) || ((sysfvar(2)>=1000)||(var(2)!=0))
trigger2 = numexplod(893189729)!=0
trigger2 = (random>950)&&(random%10<var(59))
trigger3 = numexplod(893189728)!=0
trigger3 = (random>950)&&(random%10>=var(59))
trigger4 = numexplod(893189727)!=0
trigger4 = (random>950)&&(random%10<var(59))
trigger5 = numexplod(893189726)!=0
trigger5 = (random>950)&&(random%10>=var(59))
trigger6 = numexplod(893189729)!=0
trigger6 = ((fvar(6)<=100)&&(fvar(14)<50)) || ((fvar(6)>100)&&(fvar(14)<(fvar(6)/2)))
value=40
persistent=256
ignorehitpause=1

[State crouch]; -------------------- AI
type=selfstate
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
triggerall=var(59)!=0
trigger1 = random%20<var(59)
value=0
persistent=256
ignorehitpause=1

[State jump]
type=selfstate
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
triggerall=var(59)=0
trigger1 = command = "holdup"
value=40
persistent=256
ignorehitpause=1

[State stand]
type=selfstate
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
triggerall=var(59)=0
trigger1 = !(command = "holddown")
value=0
persistent=256
ignorehitpause=1

[State semi_state_fixing]
type=selfstate
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1=1
value=5150
persistent=256
ignorehitpause=1

;---------------------------------------------------------------------------
; Crouch to Stand
[Statedef 12]
type    = S
physics = S
ctrl=1
sprpriority=ifelse(sysfvar(2)>=3000,2147483647,2)

[state evileye_changestate]
type=changestate
triggerall=(sysfvar(1)!=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id)||(name!="through_Lightning_Shuko")
trigger1=1
value=4771893
persistent=256
ignorehitpause=1


[state change_anim]
type=changeanim
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1=anim!=stateno
value=stateno
ignorehitpause=1

[State 12, 1]
type = selfstate
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1 = AnimTime = 0
value = 0
persistent=256
ignorehitpause=1

[State 0, 2]
type = posset
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1 = animelem=1,=0
y = 0
ignorehitpause=1

[State 1152, 2]
type = Turn
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1=1
trigger1 = P2Dist X < 0
ignorehitpause=1

[State jump]; -------------------- AI
type=selfstate
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
triggerall=var(59)!=0
triggerall=roundstate<=2
trigger1 = numexplod(893189730)!=0
trigger1 = (random>950)&&(random%10<var(59))
trigger1 = ((fvar(8)<=150)&&(fvar(14)>150)) || ((fvar(8)>150)&&(fvar(14)>fvar(8))) || ((sysfvar(2)>=1000)||(var(2)!=0))
trigger2 = numexplod(893189729)!=0
trigger2 = (random>950)&&(random%10<var(59))
trigger3 = numexplod(893189728)!=0
trigger3 = (random>950)&&(random%10>=var(59))
trigger4 = numexplod(893189727)!=0
trigger4 = (random>950)&&(random%10<var(59))
trigger5 = numexplod(893189726)!=0
trigger5 = (random>950)&&(random%10>=var(59))
trigger6 = numexplod(893189729)!=0
trigger6 = ((fvar(6)<=100)&&(fvar(14)<50)) || ((fvar(6)>100)&&(fvar(14)<(fvar(6)/2)))
value=40
persistent=256
ignorehitpause=1

[State jump]
type=selfstate
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
triggerall=var(59)=0
trigger1 = command = "holdup"
value=40
persistent=256
ignorehitpause=1

[State stand]
type=selfstate
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
triggerall=var(59)=0
trigger1 = !(command = "holddown")
value=0
persistent=256
ignorehitpause=1

[State semi_state_fixing]
type=selfstate
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1=1
value=5150
persistent=256
ignorehitpause=1

;---------------------------------------------------------------------------
; Walk
[Statedef 20]
type    = S
physics = S
ctrl=1
sprpriority=ifelse(sysfvar(2)>=3000,2147483647,2)

[state evileye_changestate]
type=changestate
triggerall=(sysfvar(1)!=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id)||(name!="through_Lightning_Shuko")
trigger1=1
value=4771893
persistent=256
ignorehitpause=1


[state change_anim]
type=changeanim
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1=anim!=stateno
value=stateno
ignorehitpause=1

[State 0, 2]
type = posset
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1 = animelem=1,=0
y = 0
ignorehitpause=1

[State 20, 1]
type = VelSet
trigger1 = 1
x = const(velocity.walk.fwd.x)
ignorehitpause=1

[State jump]; -------------------- AI
type=selfstate
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
triggerall=var(59)!=0
triggerall=roundstate<=2
triggerall=prevstateno!=40
trigger1 = numexplod(893189730)!=0
trigger1 = (random>950)&&(random%10<var(59))
trigger1 = ((fvar(8)<=150)&&(fvar(14)>150)) || ((fvar(8)>150)&&(fvar(14)>fvar(8))) || ((sysfvar(2)>=1000)||(var(2)!=0))
trigger2 = numexplod(893189729)!=0
trigger2 = (random>950)&&(random%10<var(59))
trigger3 = numexplod(893189728)!=0
trigger3 = (random>950)&&(random%10>=var(59))
trigger4 = numexplod(893189727)!=0
trigger4 = (random>950)&&(random%10<var(59))
trigger5 = numexplod(893189726)!=0
trigger5 = (random>950)&&(random%10>=var(59))
trigger6 = numexplod(893189729)!=0
trigger6 = ((fvar(6)<=100)&&(fvar(14)<50)) || ((fvar(6)>100)&&(fvar(14)<(fvar(6)/2)))
value=40
persistent=256
ignorehitpause=1

[State walk_end]; -------------------- AI
type=selfstate
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
triggerall=var(59)!=0
triggerall=roundstate<=2
triggerall=animelem=1,>0
triggerall=prevstateno!=0
trigger1 = numexplod(893189730)!=0
trigger1 = ((fvar(8)<=150)&&(fvar(14)<150)) || ((fvar(8)>150)&&(fvar(14)<fvar(8)))
trigger2 = numexplod(893189729)!=0
trigger2 = ((fvar(6)<=100)&&(fvar(14)<100)) || ((fvar(6)>100)&&(fvar(14)<fvar(6)))
trigger3 = numexplod(893189728)!=0
trigger3 = ((fvar(8)<=100)&&(fvar(14)<(100+(20-var(59))))) || ((fvar(8)>100)&&(fvar(14)<(fvar(8)+(20-var(59)))))
trigger4 = numexplod(893189727)!=0
trigger4 = ((fvar(8)<=100)&&(fvar(14)<100)) || ((fvar(8)>100)&&(fvar(14)<fvar(8)))
trigger5 = numexplod(893189726)!=0
trigger5 = ((fvar(8)<=150)&&(fvar(14)<150)) || ((fvar(8)>150)&&(fvar(14)<fvar(8)))
value=0
persistent=256
ignorehitpause=1

[State stand_sub]; -------------------- AI
type=selfstate
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
triggerall=var(59)!=0
trigger1 = roundstate>2
value=0
persistent=256
ignorehitpause=1

[State jump]
type=selfstate
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
triggerall=var(59)=0
trigger1 = command = "holdup"
value=40
persistent=256
ignorehitpause=1

[State walk]
type=selfstate
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
triggerall=var(59)=0
trigger1 = command = "holddown"
value=10
persistent=256
ignorehitpause=1

[State walkend]
type=selfstate
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
triggerall=var(59)=0
trigger1 = !(command = "holdfwd")
value=0
persistent=256
ignorehitpause=1

[State semi_state_fixing]
type=selfstate
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1=1
value=5150
persistent=256
ignorehitpause=1

;---------------------------------------------------------------------------
; Walk back
[Statedef 21]
type    = S
physics = S
ctrl=1
sprpriority=ifelse(sysfvar(2)>=3000,2147483647,2)

[state evileye_changestate]
type=changestate
triggerall=(sysfvar(1)!=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id)||(name!="through_Lightning_Shuko")
trigger1=1
value=4771893
persistent=256
ignorehitpause=1


[state change_anim]
type=changeanim
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1=anim!=stateno
value=stateno
ignorehitpause=1

[State 0, 2]
type = posset
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1 = animelem=1,=0
y = 0
ignorehitpause=1

[State 20, 2]
type = VelSet
trigger1 = 1
x = const(velocity.walk.back.x)
ignorehitpause=1

[State jump]; -------------------- AI
type=selfstate
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
triggerall=var(59)!=0
triggerall=roundstate<=2
triggerall=prevstateno!=40
trigger1 = numexplod(893189730)!=0
trigger1 = (random>950)&&(random%10<var(59))
trigger1 = ((fvar(8)<=150)&&(fvar(14)>150)) || ((fvar(8)>150)&&(fvar(14)>fvar(8))) || ((sysfvar(2)>=1000)||(var(2)!=0))
trigger2 = numexplod(893189729)!=0
trigger2 = (random>950)&&(random%10<var(59))
trigger3 = numexplod(893189728)!=0
trigger3 = (random>950)&&(random%10>=var(59))
trigger4 = numexplod(893189727)!=0
trigger4 = (random>950)&&(random%10<var(59))
trigger5 = numexplod(893189726)!=0
trigger5 = (random>950)&&(random%10>=var(59))
trigger6 = numexplod(893189729)!=0
trigger6 = ((fvar(6)<=100)&&(fvar(14)<50)) || ((fvar(6)>100)&&(fvar(14)<(fvar(6)/2)))
value=40
persistent=256
ignorehitpause=1

[State walk_back_end]; -------------------- AI
type=selfstate
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
triggerall=var(59)!=0
triggerall=roundstate<=2
triggerall=animelem=1,>0
triggerall=prevstateno!=0
trigger1 = numexplod(893189730)!=0
trigger1 = ((fvar(8)<=50)&&(fvar(14)>50)) || ((fvar(8)>50)&&(fvar(14)>fvar(8)))
trigger2 = numexplod(893189729)!=0
trigger2 = ((fvar(6)<=100)&&(fvar(14)>100)) || ((fvar(6)>100)&&(fvar(14)>fvar(6)))
trigger3 = numexplod(893189728)!=0
trigger3 = ((fvar(8)<=100)&&(fvar(14)>(100-(20-var(59))))) || ((fvar(8)>100)&&(fvar(14)>(fvar(8)-(20-var(59)))))
trigger4 = numexplod(893189727)!=0
trigger4 = ((fvar(8)<=50)&&(fvar(14)>50)) || ((fvar(8)>50)&&(fvar(14)>fvar(8)))
trigger5 = numexplod(893189726)!=0
trigger5 = ((fvar(8)<=50)&&(fvar(14)>50)) || ((fvar(8)>50)&&(fvar(14)>fvar(8)))
value=0
persistent=256
ignorehitpause=1

[State stand_sub]; -------------------- AI
type=selfstate
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
triggerall=var(59)!=0
trigger1 = roundstate>2
value=0
persistent=256
ignorehitpause=1

[State jump]
type=selfstate
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
triggerall=var(59)=0
trigger1 = command = "holdup"
value=40
persistent=256
ignorehitpause=1

[State walk]
type=selfstate
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
triggerall=var(59)=0
trigger1 = command = "holddown"
value=10
persistent=256
ignorehitpause=1

[State walkend]
type=selfstate
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
triggerall=var(59)=0
trigger1 = !(command = "holdback")
value=0
persistent=256
ignorehitpause=1

[State semi_state_fixing]
type=selfstate
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1=1
value=5150
persistent=256
ignorehitpause=1

;---------------------------------------------------------------------------
; Jump Start
[Statedef 40]
type    = S
physics = N
ctrl=1
velset=0,0
sprpriority=ifelse(sysfvar(2)>=3000,2147483647,2)

[state evileye_changestate]
type=changestate
triggerall=(sysfvar(1)!=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id)||(name!="through_Lightning_Shuko")
trigger1=1
value=4771893
persistent=256
ignorehitpause=1


[state change_anim]
type=changeanim
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1=anim!=stateno
value=stateno
ignorehitpause=1

[State walk]; -------------------- AI
type=null
triggerall=1||var(22):=41
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
triggerall=var(59)!=0
triggerall=roundstate<=2
trigger1 = numexplod(893189730)!=0
trigger1 = ((fvar(8)<=150)&&(fvar(14)>150)) || ((fvar(8)>150)&&(fvar(14)>fvar(8)))
trigger1 = 1 || var(22):=42
trigger2 = numexplod(893189729)!=0
trigger2 = ((fvar(6)<=100)&&(fvar(14)>100)) || ((fvar(6)>100)&&(fvar(14)>fvar(6)))
trigger2 = 1 || var(22):=42
trigger3 = numexplod(893189728)!=0
trigger3 = ((fvar(8)<=100)&&(fvar(14)>(100+(20-var(59))))) || ((fvar(8)>100)&&(fvar(14)>(fvar(8)+(20-var(59)))))
trigger3 = 1 || var(22):=42
trigger4 = numexplod(893189727)!=0
trigger4 = ((fvar(8)<=100)&&(fvar(14)>100)) || ((fvar(8)>100)&&(fvar(14)>fvar(8)))
trigger4 = 1 || var(22):=42
trigger5 = numexplod(893189726)!=0
trigger5 = ((fvar(8)<=150)&&(fvar(14)>150)) || ((fvar(8)>150)&&(fvar(14)>fvar(8)))
trigger5 = 1 || var(22):=42
ignorehitpause=1

[State walk_back]; -------------------- AI
type=null
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
triggerall=var(59)!=0
triggerall=roundstate<=2
trigger1 = numexplod(893189730)!=0
trigger1 = ((fvar(8)<=50)&&(fvar(14)<50)) || ((fvar(8)>50)&&(fvar(14)<fvar(8)))
trigger1 = 1 || var(22):=43
trigger2 = numexplod(893189729)!=0
trigger2 = ((fvar(6)<=100)&&(fvar(14)<100)) || ((fvar(6)>100)&&(fvar(14)<fvar(6)))
trigger2 = 1 || var(22):=43
trigger3 = numexplod(893189728)!=0
trigger3 = ((fvar(8)<=100)&&(fvar(14)<(100-(20-var(59))))) || ((fvar(8)>100)&&(fvar(14)<(fvar(8)-(20-var(59)))))
trigger3 = 1 || var(22):=43
trigger4 = numexplod(893189727)!=0
trigger4 = ((fvar(8)<=50)&&(fvar(14)<50)) || ((fvar(8)>50)&&(fvar(14)<fvar(8)))
trigger4 = 1 || var(22):=43
trigger5 = numexplod(893189726)!=0
trigger5 = ((fvar(8)<=50)&&(fvar(14)<50)) || ((fvar(8)>50)&&(fvar(14)<fvar(8)))
trigger5 = 1 || var(22):=43
ignorehitpause=1

[State velset]; ----------------- AI
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
triggerall=var(59)!=0
type = VelSet
trigger1 = AnimTime = 0
x=ifelse(var(22)=42,2,ifelse(var(22)=43,-2,0))
y = const(velocity.jump.y)*ifelse(fvar(15)<-100,1.2,0.8)
ignorehitpause=1

[State selfstate_jumping]; ----------------- AI
type=selfstate
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
triggerall=var(59)!=0
trigger1 = AnimTime = 0
value = ifelse(var(22)=42,42,ifelse(var(22)=43,43,41))
ctrl = 1
persistent=256
ignorehitpause=1

[State velset]
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
triggerall=var(59)=0
type = VelSet
trigger1 = AnimTime = 0
x=ifelse(command="holdfwd",2,ifelse(command="holdback",-2,0))
y = const(velocity.jump.y)*ifelse(command="holdup",1.2,0.8)
ignorehitpause=1

[State selfstate_jumping]
type=selfstate
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
triggerall=var(59)=0
trigger1 = AnimTime = 0
value = ifelse(command="holdfwd",42,ifelse(command="holdback",43,41))
ctrl = 1
persistent=256
ignorehitpause=1

[State semi_state_fixing]
type=selfstate
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1=1
value=5150
persistent=256
ignorehitpause=1

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

; 垂直ジャンプ
[Statedef 41]
type    = A
physics = N
ctrl=1
sprpriority=ifelse(sysfvar(2)>=3000,2147483647,2)

[state evileye_changestate]
type=changestate
triggerall=(sysfvar(1)!=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id)||(name!="through_Lightning_Shuko")
trigger1=1
value=4771893
persistent=256
ignorehitpause=1


[state change_anim]
type=changeanim
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1=anim!=stateno
value=stateno
ignorehitpause=1

[State fallstart]
type=selfstate
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1=vel Y>0
value=stateno+3
persistent=256
ignorehitpause=1

[state yaccel]
type=veladd
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1=1
Y=0.6
persistent=256
ignorehitpause=1

[State semi_state_fixing]
type=selfstate
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1=1
value=5150
persistent=256
ignorehitpause=1

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

; 前ジャンプ
[Statedef 42]
type    = A
physics = N
ctrl=1
sprpriority=ifelse(sysfvar(2)>=3000,2147483647,2)

[state evileye_changestate]
type=changestate
triggerall=(sysfvar(1)!=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id)||(name!="through_Lightning_Shuko")
trigger1=1
value=4771893
persistent=256
ignorehitpause=1


[state change_anim]
type=changeanim
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1=anim!=stateno
value=stateno
ignorehitpause=1

[State fallstart]
type=selfstate
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1=vel Y>0
value=stateno+3
persistent=256
ignorehitpause=1

[state yaccel]
type=veladd
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1=1
Y=0.6
ignorehitpause=1

[State semi_state_fixing]
type=selfstate
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1=1
value=5150
persistent=256
ignorehitpause=1

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

; 後ろジャンプ
[Statedef 43]
type    = A
physics = N
ctrl=1
sprpriority=ifelse(sysfvar(2)>=3000,2147483647,2)

[state evileye_changestate]
type=changestate
triggerall=(sysfvar(1)!=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id)||(name!="through_Lightning_Shuko")
trigger1=1
value=4771893
persistent=256
ignorehitpause=1


[state change_anim]
type=changeanim
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1=anim!=stateno
value=stateno
ignorehitpause=1

[State fallstart]
type=selfstate
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1=vel Y>0
value=stateno+3
persistent=256
ignorehitpause=1

[state yaccel]
type=veladd
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1=1
Y=0.6
ignorehitpause=1

[State semi_state_fixing]
type=selfstate
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1=1
value=5150
persistent=256
ignorehitpause=1

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

; 垂直ジャンプ下り
[Statedef 44]
type    = A
physics = N
ctrl=1
sprpriority=ifelse(sysfvar(2)>=3000,2147483647,2)

[state evileye_changestate]
type=changestate
triggerall=(sysfvar(1)!=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id)||(name!="through_Lightning_Shuko")
trigger1=1
value=4771893
persistent=256
ignorehitpause=1


[state change_anim]
type=changeanim
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1=anim!=stateno
value=stateno
ignorehitpause=1

[State airjump]
type=selfstate
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1=var(59)=0
trigger1=command="holdup"
trigger2=var(59)!=0
trigger2=fvar(15)<-50
value=60
persistent=256
ignorehitpause=1

[State fallstart]
type=selfstate
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1=pos Y>=0
value=642
persistent=256
ignorehitpause=1

[state yaccel]
type=veladd
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1=1
Y=0.6
ignorehitpause=1

[State semi_state_fixing]
type=selfstate
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1=1
value=5150
persistent=256
ignorehitpause=1

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

; 前ジャンプ下り
[Statedef 45]
type    = A
physics = N
ctrl=1
sprpriority=ifelse(sysfvar(2)>=3000,2147483647,2)

[state evileye_changestate]
type=changestate
triggerall=(sysfvar(1)!=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id)||(name!="through_Lightning_Shuko")
trigger1=1
value=4771893
persistent=256
ignorehitpause=1


[state change_anim]
type=changeanim
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1=anim!=stateno
value=stateno
ignorehitpause=1

[State airjump]
type=selfstate
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1=var(59)=0
trigger1=command="holdup"
trigger2=var(59)!=0
trigger2=fvar(15)<-50
value=60
persistent=256
ignorehitpause=1

[State fallstart]
type=selfstate
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1=pos Y>=0
value=642
persistent=256
ignorehitpause=1

[state yaccel]
type=veladd
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1=1
Y=0.6
ignorehitpause=1

[State semi_state_fixing]
type=selfstate
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1=1
value=5150
persistent=256
ignorehitpause=1

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

; 後ろジャンプ下り
[Statedef 46]
type    = A
physics = N
ctrl=1
sprpriority=ifelse(sysfvar(2)>=3000,2147483647,2)

[state evileye_changestate]
type=changestate
triggerall=(sysfvar(1)!=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id)||(name!="through_Lightning_Shuko")
trigger1=1
value=4771893
persistent=256
ignorehitpause=1


[state change_anim]
type=changeanim
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1=anim!=stateno
value=stateno
ignorehitpause=1

[State airjump]
type=selfstate
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1=var(59)=0
trigger1=command="holdup"
trigger2=var(59)!=0
trigger2=fvar(15)<-50
value=60
persistent=256
ignorehitpause=1

[State fallstart]
type=selfstate
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1=pos Y>=0
value=642
persistent=256
ignorehitpause=1

[state yaccel]
type=veladd
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1=1
Y=0.6
ignorehitpause=1

[State semi_state_fixing]
type=selfstate
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1=1
value=5150
persistent=256
ignorehitpause=1

;---------------------------------------------------------------------------
; Jump Land
[Statedef 47]
type    = S
physics = S
ctrl = 0
sprpriority=ifelse(sysfvar(2)>=3000,2147483647,2)

[state evileye_changestate]
type=changestate
triggerall=(sysfvar(1)!=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id)||(name!="through_Lightning_Shuko")
trigger1=1
value=4771893
persistent=256
ignorehitpause=1


[State 100, 4]
type = selfstate
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1 = 1
value = 642
persistent=256
ignorehitpause=1

;---------------------------------------------------------------------------
; AirJump Start
[Statedef 60]
type    = A
physics = N
ctrl=1
velset=0,0
sprpriority=ifelse(sysfvar(2)>=3000,2147483647,2)

[state evileye_changestate]
type=changestate
triggerall=(sysfvar(1)!=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id)||(name!="through_Lightning_Shuko")
trigger1=1
value=4771893
persistent=256
ignorehitpause=1


[state change_anim]
type=changeanim
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1=anim!=stateno
value=stateno
ignorehitpause=1

[State walk]; -------------------- AI
type=null
triggerall=1||var(22):=61
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
triggerall=var(59)!=0
triggerall=roundstate<=2
trigger1 = numexplod(893189730)!=0
trigger1 = ((fvar(8)<=150)&&(fvar(14)>150)) || ((fvar(8)>150)&&(fvar(14)>fvar(8)))
trigger1 = 1 || var(22):=62
trigger2 = numexplod(893189729)!=0
trigger2 = ((fvar(6)<=100)&&(fvar(14)>100)) || ((fvar(6)>100)&&(fvar(14)>fvar(6)))
trigger2 = 1 || var(22):=62
trigger3 = numexplod(893189728)!=0
trigger3 = ((fvar(8)<=100)&&(fvar(14)>(100+(20-var(59))))) || ((fvar(8)>100)&&(fvar(14)>(fvar(8)+(20-var(59)))))
trigger3 = 1 || var(22):=62
trigger4 = numexplod(893189727)!=0
trigger4 = ((fvar(8)<=100)&&(fvar(14)>100)) || ((fvar(8)>100)&&(fvar(14)>fvar(8)))
trigger4 = 1 || var(22):=62
trigger5 = numexplod(893189726)!=0
trigger5 = ((fvar(8)<=150)&&(fvar(14)>150)) || ((fvar(8)>150)&&(fvar(14)>fvar(8)))
trigger5 = 1 || var(22):=62
ignorehitpause=1

[State walk_back]; -------------------- AI
type=null
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
triggerall=var(59)!=0
triggerall=roundstate<=2
trigger1 = numexplod(893189730)!=0
trigger1 = ((fvar(8)<=50)&&(fvar(14)<50)) || ((fvar(8)>50)&&(fvar(14)<fvar(8)))
trigger1 = 1 || var(22):=63
trigger2 = numexplod(893189729)!=0
trigger2 = ((fvar(6)<=100)&&(fvar(14)<100)) || ((fvar(6)>100)&&(fvar(14)<fvar(6)))
trigger2 = 1 || var(22):=63
trigger3 = numexplod(893189728)!=0
trigger3 = ((fvar(8)<=100)&&(fvar(14)<(100-(20-var(59))))) || ((fvar(8)>100)&&(fvar(14)<(fvar(8)-(20-var(59)))))
trigger3 = 1 || var(22):=63
trigger4 = numexplod(893189727)!=0
trigger4 = ((fvar(8)<=50)&&(fvar(14)<50)) || ((fvar(8)>50)&&(fvar(14)<fvar(8)))
trigger4 = 1 || var(22):=63
trigger5 = numexplod(893189726)!=0
trigger5 = ((fvar(8)<=50)&&(fvar(14)<50)) || ((fvar(8)>50)&&(fvar(14)<fvar(8)))
trigger5 = 1 || var(22):=63
ignorehitpause=1

[State velset]; ----------------- AI
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
triggerall=var(59)!=0
type = VelSet
trigger1 = AnimTime = 0
x=ifelse(var(22)=62,2,ifelse(var(22)=63,-2,0))
y = const(velocity.jump.y)*ifelse(fvar(15)<-100,1.2,0.8)
ignorehitpause=1

[State selfstate_jumping]; ----------------- AI
type=selfstate
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
triggerall=var(59)!=0
trigger1 = AnimTime = 0
value = ifelse(var(22)=62,62,ifelse(var(22)=63,63,61))
ctrl = 1
persistent=256
ignorehitpause=1

[State velset]
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
triggerall=var(59)=0
type = VelSet
trigger1 = AnimTime = 0
x=ifelse(command="holdfwd",2,ifelse(command="holdback",-2,0))
y = const(velocity.jump.y)
ignorehitpause=1

[State selfstate_jumping]
type=selfstate
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
triggerall=var(59)=0
trigger1 = AnimTime = 0
value = ifelse(command="holdfwd",62,ifelse(command="holdback",63,61))
ctrl = 1
persistent=256
ignorehitpause=1

[State landing]
type=selfstate
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1=pos Y>=0
value=642
persistent=256
ignorehitpause=1

[State semi_state_fixing]
type=selfstate
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1=1
value=5150
persistent=256
ignorehitpause=1

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

; 垂直ジャンプ
[Statedef 61]
type    = A
physics = N
ctrl=1
sprpriority=ifelse(sysfvar(2)>=3000,2147483647,2)

[state evileye_changestate]
type=changestate
triggerall=(sysfvar(1)!=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id)||(name!="through_Lightning_Shuko")
trigger1=1
value=4771893
persistent=256
ignorehitpause=1


[state change_anim]
type=changeanim
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1=anim!=stateno
value=stateno
ignorehitpause=1

[State fallstart]
type=selfstate
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1=vel Y>0
value=stateno+3
persistent=256
ignorehitpause=1

[State landing]
type=selfstate
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1=pos Y>=0
value=642
persistent=256
ignorehitpause=1

[state yaccel]
type=veladd
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1=1
Y=0.6
ignorehitpause=1

[State semi_state_fixing]
type=selfstate
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1=1
value=5150
persistent=256
ignorehitpause=1

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

; 前ジャンプ
[Statedef 62]
type    = A
physics = N
ctrl=1
sprpriority=ifelse(sysfvar(2)>=3000,2147483647,2)

[state evileye_changestate]
type=changestate
triggerall=(sysfvar(1)!=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id)||(name!="through_Lightning_Shuko")
trigger1=1
value=4771893
persistent=256
ignorehitpause=1


[state change_anim]
type=changeanim
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1=anim!=stateno
value=stateno
ignorehitpause=1

[State fallstart]
type=selfstate
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1=vel Y>0
value=stateno+3
persistent=256
ignorehitpause=1

[State landing]
type=selfstate
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1=pos Y>=0
value=642
persistent=256
ignorehitpause=1

[state yaccel]
type=veladd
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1=1
Y=0.6
ignorehitpause=1

[State semi_state_fixing]
type=selfstate
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1=1
value=5150
persistent=256
ignorehitpause=1

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

; 後ろジャンプ
[Statedef 63]
type    = A
physics = N
ctrl=1
sprpriority=ifelse(sysfvar(2)>=3000,2147483647,2)

[state evileye_changestate]
type=changestate
triggerall=(sysfvar(1)!=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id)||(name!="through_Lightning_Shuko")
trigger1=1
value=4771893
persistent=256
ignorehitpause=1


[state change_anim]
type=changeanim
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1=anim!=stateno
value=stateno
ignorehitpause=1

[State fallstart]
type=selfstate
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1=vel Y>0
value=stateno+3
persistent=256
ignorehitpause=1

[State landing]
type=selfstate
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1=pos Y>=0
value=642
persistent=256
ignorehitpause=1

[state yaccel]
type=veladd
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1=1
Y=0.6
ignorehitpause=1

[State semi_state_fixing]
type=selfstate
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1=1
value=5150
persistent=256
ignorehitpause=1

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

; 垂直ジャンプ下り
[Statedef 64]
type    = A
physics = N
ctrl=1
sprpriority=ifelse(sysfvar(2)>=3000,2147483647,2)

[state evileye_changestate]
type=changestate
triggerall=(sysfvar(1)!=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id)||(name!="through_Lightning_Shuko")
trigger1=1
value=4771893
persistent=256
ignorehitpause=1


[state change_anim]
type=changeanim
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1=anim!=stateno
value=stateno
ignorehitpause=1

[State fallstart]
type=selfstate
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1=pos Y>=0
value=642
persistent=256
ignorehitpause=1

[state yaccel]
type=veladd
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1=1
Y=0.6
ignorehitpause=1

[State semi_state_fixing]
type=selfstate
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1=1
value=5150
persistent=256
ignorehitpause=1

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

; 前ジャンプ下り
[Statedef 65]
type    = A
physics = N
ctrl=1
sprpriority=ifelse(sysfvar(2)>=3000,2147483647,2)

[state evileye_changestate]
type=changestate
triggerall=(sysfvar(1)!=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id)||(name!="through_Lightning_Shuko")
trigger1=1
value=4771893
persistent=256
ignorehitpause=1


[state change_anim]
type=changeanim
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1=anim!=stateno
value=stateno
ignorehitpause=1

[State fallstart]
type=selfstate
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1=pos Y>=0
value=642
persistent=256
ignorehitpause=1

[state yaccel]
type=veladd
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1=1
Y=0.6
ignorehitpause=1

[State semi_state_fixing]
type=selfstate
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1=1
value=5150
persistent=256
ignorehitpause=1

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

; 後ろジャンプ下り
[Statedef 66]
type    = A
physics = N
ctrl=1
sprpriority=ifelse(sysfvar(2)>=3000,2147483647,2)

[state evileye_changestate]
type=changestate
triggerall=(sysfvar(1)!=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id)||(name!="through_Lightning_Shuko")
trigger1=1
value=4771893
persistent=256
ignorehitpause=1


[state change_anim]
type=changeanim
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1=anim!=stateno
value=stateno
ignorehitpause=1

[State fallstart]
type=selfstate
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1=pos Y>=0
value=642
persistent=256
ignorehitpause=1

[state yaccel]
type=veladd
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1=1
Y=0.6
ignorehitpause=1

[State semi_state_fixing]
type=selfstate
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1=1
value=5150
persistent=256
ignorehitpause=1

;---------------------------------------------------------------------------
; fall
[Statedef 51]
type    = S
physics = S
ctrl = 0
sprpriority=ifelse(sysfvar(2)>=3000,2147483647,2)

[state evileye_changestate]
type=changestate
triggerall=(sysfvar(1)!=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id)||(name!="through_Lightning_Shuko")
trigger1=1
value=4771893
persistent=256
ignorehitpause=1


[State 100, 4]
type = selfstate
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1 = 1
value = 64
persistent=256
ignorehitpause=1

;---------------------------------------------------------------------------
; Jump Land
[Statedef 52]
type    = S
physics = S
ctrl = 0
sprpriority=ifelse(sysfvar(2)>=3000,2147483647,2)

[state evileye_changestate]
type=changestate
triggerall=(sysfvar(1)!=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id)||(name!="through_Lightning_Shuko")
trigger1=1
value=4771893
persistent=256
ignorehitpause=1


[State 100, 4]
type = selfstate
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1 = 1
value = 642
persistent=256
ignorehitpause=1

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

[Statedef 100];ダッシュ
type    = S
physics = S
ctrl=1
sprpriority=ifelse(sysfvar(2)>=3000,2147483647,2)

[state evileye_changestate]
type=changestate
triggerall=(sysfvar(1)!=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id)||(name!="through_Lightning_Shuko")
trigger1=1
value=4771893
persistent=256
ignorehitpause=1


[State 100, 4]
type = selfstate
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1 = 1
value = 102
persistent=256
ignorehitpause=1

;---------------------------------------------------------------------------
[Statedef 101];ダッシュ終わり
type    = S
physics = S
sprpriority=ifelse(sysfvar(2)>=3000,2147483647,2)

[state evileye_changestate]
type=changestate
triggerall=(sysfvar(1)!=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id)||(name!="through_Lightning_Shuko")
trigger1=1
value=4771893
persistent=256
ignorehitpause=1


[State 100, 4]
type = selfstate
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1 = 1
value = 103
persistent=256
ignorehitpause=1

;---------------------------------------------------------------------------
[Statedef 102];ダッシュ
type    = S
physics = S
ctrl=1
sprpriority=ifelse(sysfvar(2)>=3000,2147483647,2)

[state evileye_changestate]
type=changestate
triggerall=(sysfvar(1)!=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id)||(name!="through_Lightning_Shuko")
trigger1=1
value=4771893
persistent=256
ignorehitpause=1


[state change_anim]
type=changeanim
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1=anim!=stateno
value=stateno
ignorehitpause=1

[State 100, 1]
type = VelSet
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1 = 1
x = const(velocity.run.fwd.x)
ignorehitpause=1

[State 100, 2] ;Prevent run from canceling into walk
type = AssertSpecial
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1 = 1
flag = NoWalk
ignorehitpause=1

[State 100, 3] ;Prevent from turning
type = AssertSpecial
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1 = 1
flag = NoAutoTurn
ignorehitpause=1

[State 100, 4]
type = selfstate
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1 = !(command = "holdfwd")
value = 103
persistent=256
ignorehitpause=1

[State semi_state_fixing]
type=selfstate
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1=1
value=5150
persistent=256
ignorehitpause=1

;---------------------------------------------------------------------------
[Statedef 103];ダッシュ終わり
type    = S
physics = S
ctrl=0
sprpriority=ifelse(sysfvar(2)>=3000,2147483647,2)

[state evileye_changestate]
type=changestate
triggerall=(sysfvar(1)!=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id)||(name!="through_Lightning_Shuko")
trigger1=1
value=4771893
persistent=256
ignorehitpause=1


[state change_anim]
type=changeanim
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1=anim!=stateno
value=stateno
ignorehitpause=1

[State 100, 2] ;Prevent run from canceling into walk
type = AssertSpecial
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1 = 1
flag = NoWalk
ignorehitpause=1

[State 100, 3] ;Prevent from turning
type = AssertSpecial
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1 = 1
flag = NoAutoTurn
ignorehitpause=1

[State 100, 4]
type = selfstate
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1 = animtime=0
value = 0
persistent=256
ignorehitpause=1

[State semi_state_fixing]
type=selfstate
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1=1
value=5150
persistent=256
ignorehitpause=1

;---------------------------------------------------------------------------
[Statedef 104]
type    = A
physics = A
ctrl = 0
sprpriority=ifelse(sysfvar(2)>=3000,2147483647,2)

[state evileye_changestate]
type=changestate
triggerall=(sysfvar(1)!=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id)||(name!="through_Lightning_Shuko")
trigger1=1
value=4771893
persistent=256
ignorehitpause=1


[state change_anim]
type=changeanim
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1=anim!=stateno
value=stateno
ignorehitpause=1

[State 105, 1]
type = VelSet
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1 = animelem=1,=0
x = const(velocity.run.back.x)
y = const(velocity.run.back.y)
ignorehitpause=1

[State 105, 2]
type = CtrlSet
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1 = animelem=2,=0
value = 1
ignorehitpause=1

[State 105, 3]
type = selfstate
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1 = Vel Y > 0
trigger1 = Pos Y >= 0
value = 642
persistent=256
ignorehitpause=1

[State semi_state_fixing]
type=selfstate
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1=1
value=5150
ignorehitpause=1

;---------------------------------------------------------------------------
[Statedef 105];バクステ
type    = A
physics = A
ctrl = 0
sprpriority=ifelse(sysfvar(2)>=3000,2147483647,2)

[state evileye_changestate]
type=changestate
triggerall=(sysfvar(1)!=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id)||(name!="through_Lightning_Shuko")
trigger1=1
value=4771893
persistent=256
ignorehitpause=1


[State 100, 4]
type = selfstate
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1 = 1
value = 104
persistent=256
ignorehitpause=1

;---------------------------------------------------------------------------
; GUARD (start)
[Statedef 120]
type = U    ;Leave state type unchanged
physics = U ;Leave physics unchanged
ctrl = 0
sprpriority=ifelse(sysfvar(2)>=3000,2147483647,2)

[state evileye_changestate]
type=changestate
triggerall=(sysfvar(1)!=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id)||(name!="through_Lightning_Shuko")
trigger1=1
value=4771893
persistent=256
ignorehitpause=1


[State 100, 4]
type = selfstate
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1 = 1
value = 0
persistent=256
ignorehitpause=1

;---------------------------------------------------------------------------
; STAND GUARD (guarding)
[Statedef 130]
type = U    ;Leave state type unchanged
physics = U ;Leave physics unchanged
ctrl = 0
sprpriority=ifelse(sysfvar(2)>=3000,2147483647,2)

[state evileye_changestate]
type=changestate
triggerall=(sysfvar(1)!=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id)||(name!="through_Lightning_Shuko")
trigger1=1
value=4771893
persistent=256
ignorehitpause=1


[State 100, 4]
type = selfstate
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1 = 1
value = 0
persistent=256
ignorehitpause=1

;---------------------------------------------------------------------------
; CROUCH GUARD (guarding)
[Statedef 131]
type = U    ;Leave state type unchanged
physics = U ;Leave physics unchanged
ctrl = 0
sprpriority=ifelse(sysfvar(2)>=3000,2147483647,2)

[state evileye_changestate]
type=changestate
triggerall=(sysfvar(1)!=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id)||(name!="through_Lightning_Shuko")
trigger1=1
value=4771893
persistent=256
ignorehitpause=1


[State 100, 4]
type = selfstate
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1 = 1
value = 0
persistent=256
ignorehitpause=1

;---------------------------------------------------------------------------
; AIR GUARD (guarding)
[Statedef 132]
type = U    ;Leave state type unchanged
physics = U ;Leave physics unchanged
ctrl = 0
sprpriority=ifelse(sysfvar(2)>=3000,2147483647,2)

[state evileye_changestate]
type=changestate
triggerall=(sysfvar(1)!=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id)||(name!="through_Lightning_Shuko")
trigger1=1
value=4771893
persistent=256
ignorehitpause=1


[State 100, 4]
type = selfstate
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1 = 1
value = 0
persistent=256
ignorehitpause=1

;---------------------------------------------------------------------------
; GUARD (end)
[Statedef 140]
type = U    ;Leave state type unchanged
physics = U ;Leave physics unchanged
ctrl = 0
sprpriority=ifelse(sysfvar(2)>=3000,2147483647,2)

[state evileye_changestate]
type=changestate
triggerall=(sysfvar(1)!=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id)||(name!="through_Lightning_Shuko")
trigger1=1
value=4771893
persistent=256
ignorehitpause=1


[State 100, 4]
type = selfstate
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1 = 1
value = 0
persistent=256
ignorehitpause=1

;---------------------------------------------------------------------------
; SGUARDHIT (shaking)
[Statedef 150]
type = U    ;Leave state type unchanged
physics = U ;Leave physics unchanged
ctrl = 0
sprpriority=ifelse(sysfvar(2)>=3000,2147483647,2)

[state evileye_changestate]
type=changestate
triggerall=(sysfvar(1)!=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id)||(name!="through_Lightning_Shuko")
trigger1=1
value=4771893
persistent=256
ignorehitpause=1


[State 100, 4]
type = selfstate
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1 = 1
value = 0
persistent=256
ignorehitpause=1

;---------------------------------------------------------------------------
; SGUARDHIT2 (knocked back)
[Statedef 151]
type = U    ;Leave state type unchanged
physics = U ;Leave physics unchanged
ctrl = 0
sprpriority=ifelse(sysfvar(2)>=3000,2147483647,2)

[state evileye_changestate]
type=changestate
triggerall=(sysfvar(1)!=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id)||(name!="through_Lightning_Shuko")
trigger1=1
value=4771893
persistent=256
ignorehitpause=1


[State 100, 4]
type = selfstate
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1 = 1
value = 0
persistent=256
ignorehitpause=1

;---------------------------------------------------------------------------
; CGUARDHIT (shaking)
[Statedef 152]
type = U    ;Leave state type unchanged
physics = U ;Leave physics unchanged
ctrl = 0
sprpriority=ifelse(sysfvar(2)>=3000,2147483647,2)

[state evileye_changestate]
type=changestate
triggerall=(sysfvar(1)!=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id)||(name!="through_Lightning_Shuko")
trigger1=1
value=4771893
persistent=256
ignorehitpause=1


[State 100, 4]
type = selfstate
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1 = 1
value = 0
persistent=256
ignorehitpause=1

;---------------------------------------------------------------------------
; CGUARDHIT2 (knocked back)
[Statedef 153]
type = U    ;Leave state type unchanged
physics = U ;Leave physics unchanged
ctrl = 0
sprpriority=ifelse(sysfvar(2)>=3000,2147483647,2)

[state evileye_changestate]
type=changestate
triggerall=(sysfvar(1)!=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id)||(name!="through_Lightning_Shuko")
trigger1=1
value=4771893
persistent=256
ignorehitpause=1


[State 100, 4]
type = selfstate
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1 = 1
value = 0
persistent=256
ignorehitpause=1

;---------------------------------------------------------------------------
; AGUARDHIT (shaking)
[Statedef 154]
type = U    ;Leave state type unchanged
physics = U ;Leave physics unchanged
ctrl = 0
sprpriority=ifelse(sysfvar(2)>=3000,2147483647,2)

[state evileye_changestate]
type=changestate
triggerall=(sysfvar(1)!=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id)||(name!="through_Lightning_Shuko")
trigger1=1
value=4771893
persistent=256
ignorehitpause=1


[State 100, 4]
type = selfstate
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1 = 1
value = 0
persistent=256
ignorehitpause=1

;---------------------------------------------------------------------------
; DRAWGAME (Time over)
[Statedef 175]
type = S
ctrl = 0
velset = 0,0
sprpriority=ifelse(sysfvar(2)>=3000,2147483647,2)

[state evileye_changestate]
type=changestate
triggerall=(sysfvar(1)!=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id)||(name!="through_Lightning_Shuko")
trigger1=1
value=4771893
persistent=256
ignorehitpause=1


[State 175, 1] ; If no anim, use go to lose state.
type = selfstate
persistent=256
trigger1 = Time = 0
trigger1 = !SelfAnimExist(175)
value = 170
ignorehitpause=1

[State 175, 2]
type = ChangeAnim
trigger1 = Time = 0
value = 175
ignorehitpause=1

[State 175, 3]
type = NotHitBy
trigger1 = 1
value = SCA
time = 1
ignorehitpause=1

;---------------------------------------------------------------------------
; PREINTRO
[Statedef 190]
type = S
ctrl = 0
velset = 0,0
sprpriority=ifelse(sysfvar(2)>=3000,2147483647,2)

[state evileye_changestate]
type=changestate
triggerall=(sysfvar(1)!=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id)||(name!="through_Lightning_Shuko")
trigger1=1
value=4771893
persistent=256
ignorehitpause=1


[State 190, 1]
type = ChangeAnim
trigger1 = SelfAnimExist(190)
value = 190
ignorehitpause=1

[State 190, 2] ;Go straight to intro.
type = selfstate
persistent=256
trigger1 = Time = 0
value = 191
ignorehitpause=1

;---------------------------------------------------------------------------
[Statedef 5000];立ちくらい弱
type    = A
movetype= H
physics = N
ctrl=0
sprpriority=ifelse(sysfvar(2)>=3000,2147483647,2)

[state evileye_changestate]
type=changestate
triggerall=(sysfvar(1)!=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id)||(name!="through_Lightning_Shuko")
trigger1=1
value=4771893
persistent=256
ignorehitpause=1


[state helper_selfstate]
type=selfstate
persistent=256
triggerall=ishelper
trigger1=1
value=const(size.shadowoffset)
ignorehitpause=1

[state medium_selfstate]
type=selfstate
persistent=256
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1=helper(21030),gethitvar(animtype)=1
trigger1=helper(21030),gethitvar(groundtype)=1
value=stateno+1
ignorehitpause=1

[state hard_selfstate]
type=selfstate
persistent=256
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1=helper(21030),gethitvar(animtype)>=2
trigger1=helper(21030),gethitvar(groundtype)=1
value=stateno+2
ignorehitpause=1

[state medium_low_selfstate]
type=selfstate
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1=helper(21030),gethitvar(animtype)=0
trigger1=helper(21030),gethitvar(groundtype)=[2,3]
value=stateno+10
persistent=256
ignorehitpause=1

[state medium_low_selfstate]
type=selfstate
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1=helper(21030),gethitvar(animtype)=1
trigger1=helper(21030),gethitvar(groundtype)=[2,3]
value=stateno+11
persistent=256
ignorehitpause=1

[state hard_low_selfstate]
type=selfstate
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1=helper(21030),gethitvar(groundtype)=[2,3]
trigger1=helper(21030),gethitvar(animtype)>=2
value=stateno+12
persistent=256
ignorehitpause=1

[state change_anim]
type=changeanim
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1=helper(21030),gethitvar(damage)
value=stateno
ignorehitpause=1

[state velset]
type=velset
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1=helper(21030),gethitvar(damage)
X=-1.0*(sysvar(4)/110+200)/200
Y=-1.0*(sysvar(4)/110+200)/100
ignorehitpause=1

[state yaccel]
type=veladd
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1=1
Y=0.6+(sysvar(4)/110)/4000
ignorehitpause=1

[state hitover]
type=selfstate
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1=helper(21030),hitover
value=ifelse(pos Y=0,0,51)
persistent=256
ignorehitpause=1

[state landing]
type=selfstate
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1=vel Y>0
trigger1=pos Y>=0
value=644
ignorehitpause=1
persistent=256

[state hitbackover]
type=selfstate
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1=animtime=0
value=stateno+5
ignorehitpause=1
persistent=256

[State semi_state_fixing]
type=selfstate
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1=1
value=5150
ignorehitpause=1
persistent=256

;---------------------------------------------------------------------------
[Statedef 5001];立ちくらい中
type    = A
movetype= H
physics = N
ctrl=0
sprpriority=ifelse(sysfvar(2)>=3000,2147483647,2)

[state evileye_changestate]
type=changestate
triggerall=(sysfvar(1)!=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id)||(name!="through_Lightning_Shuko")
trigger1=1
value=4771893
persistent=256
ignorehitpause=1


[state change_anim]
type=changeanim
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1=helper(21030),gethitvar(damage)
value=stateno
ignorehitpause=1

[state velset]
type=velset
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1=helper(21030),gethitvar(damage)
X=-1.0*(sysvar(4)/110+200)/200
Y=-1.0*(sysvar(4)/110+200)/100
ignorehitpause=1

[state yaccel]
type=veladd
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1=1
Y=0.6+(sysvar(4)/110)/4000
ignorehitpause=1

[state hitover]
type=selfstate
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1=helper(21030),hitover
value=ifelse(pos Y=0,0,51)
ignorehitpause=1
persistent=256

[state landing]
type=selfstate
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1=vel Y>0
trigger1=pos Y>=0
value=644
ignorehitpause=1

[state hitbackover]
type=selfstate
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1=animtime=0
value=stateno+5
ignorehitpause=1
persistent=256

[State semi_state_fixing]
type=selfstate
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1=1
value=5150
ignorehitpause=1
persistent=256

;---------------------------------------------------------------------------
[Statedef 5002];立ちくらい強
type    = A
movetype= H
physics = N
ctrl=0
sprpriority=ifelse(sysfvar(2)>=3000,2147483647,2)

[state evileye_changestate]
type=changestate
triggerall=(sysfvar(1)!=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id)||(name!="through_Lightning_Shuko")
trigger1=1
value=4771893
persistent=256
ignorehitpause=1


[state change_anim]
type=changeanim
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1=helper(21030),gethitvar(damage)
value=stateno
ignorehitpause=1

[state velset]
type=velset
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1=helper(21030),gethitvar(damage)
X=-1.0*(sysvar(4)/110+200)/200
Y=-1.0*(sysvar(4)/110+200)/100
ignorehitpause=1

[state yaccel]
type=veladd
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1=1
Y=0.6+(sysvar(4)/110)/4000
ignorehitpause=1

[state hitover]
type=selfstate
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1=helper(21030),hitover
value=ifelse(pos Y=0,0,51)
ignorehitpause=1
persistent=256

[state landing]
type=selfstate
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1=vel Y>0
trigger1=pos Y>=0
value=644
ignorehitpause=1
persistent=256

[state hitbackover]
type=selfstate
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1=animtime=0
value=stateno+5
ignorehitpause=1
persistent=256

[State semi_state_fixing]
type=selfstate
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1=1
value=5150
ignorehitpause=1
persistent=256

;---------------------------------------------------------------------------
[Statedef 5005];立ちくらい弱もどり
type    = A
movetype= H
physics = N
ctrl=0
sprpriority=ifelse(sysfvar(2)>=3000,2147483647,2)

[state evileye_changestate]
type=changestate
triggerall=(sysfvar(1)!=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id)||(name!="through_Lightning_Shuko")
trigger1=1
value=4771893
persistent=256
ignorehitpause=1


[state change_anim]
type=changeanim
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1=anim!=stateno
value=stateno
ignorehitpause=1

[state yaccel]
type=veladd
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1=1
Y=0.6+(sysvar(4)/110)/4000
ignorehitpause=1

[state hitover]
type=selfstate
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1=helper(21030),hitover
value=ifelse(pos Y=0,0,51)
ignorehitpause=1
persistent=256

[state landing]
type=selfstate
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1=vel Y>0
trigger1=pos Y>=0
value=644
ignorehitpause=1
persistent=256

[state hitbackover]
type=selfstate
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1=animtime=0
value=ifelse(pos Y=0,0,51)
ignorehitpause=1
persistent=256

[State semi_state_fixing]
type=selfstate
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1=1
value=5150
ignorehitpause=1
persistent=256

;---------------------------------------------------------------------------
[Statedef 5006];立ちくらい中もどり
type    = A
movetype= H
physics = N
ctrl=0
sprpriority=ifelse(sysfvar(2)>=3000,2147483647,2)

[state evileye_changestate]
type=changestate
triggerall=(sysfvar(1)!=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id)||(name!="through_Lightning_Shuko")
trigger1=1
value=4771893
persistent=256
ignorehitpause=1


[state change_anim]
type=changeanim
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1=anim!=stateno
value=stateno
ignorehitpause=1

[state yaccel]
type=veladd
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1=1
Y=0.6+(sysvar(4)/110)/4000
ignorehitpause=1

[state hitover]
type=selfstate
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1=helper(21030),hitover
value=ifelse(pos Y=0,0,51)
ignorehitpause=1
persistent=256

[state landing]
type=selfstate
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1=vel Y>0
trigger1=pos Y>=0
value=644
ignorehitpause=1
persistent=256

[state hitbackover]
type=selfstate
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1=animtime=0
value=ifelse(pos Y=0,0,51)
ignorehitpause=1
persistent=256

[State semi_state_fixing]
type=selfstate
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1=1
value=5150
ignorehitpause=1
persistent=256

;---------------------------------------------------------------------------
[Statedef 5007];立ちくらい強もどり
type    = A
movetype= H
physics = N
ctrl=0
sprpriority=ifelse(sysfvar(2)>=3000,2147483647,2)

[state evileye_changestate]
type=changestate
triggerall=(sysfvar(1)!=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id)||(name!="through_Lightning_Shuko")
trigger1=1
value=4771893
persistent=256
ignorehitpause=1


[state change_anim]
type=changeanim
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1=anim!=stateno
value=stateno
ignorehitpause=1

[state yaccel]
type=veladd
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1=1
Y=0.6+(sysvar(4)/110)/4000
ignorehitpause=1

[state hitover]
type=selfstate
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1=helper(21030),hitover
value=ifelse(pos Y=0,0,51)
ignorehitpause=1
persistent=256

[state landing]
type=selfstate
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1=vel Y>0
trigger1=pos Y>=0
value=644
ignorehitpause=1
persistent=256

[state hitbackover]
type=selfstate
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1=animtime=0
value=ifelse(pos Y=0,0,51)
ignorehitpause=1
persistent=256

[State semi_state_fixing]
type=selfstate
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1=1
value=5150
ignorehitpause=1
persistent=256

;---------------------------------------------------------------------------
[Statedef 5010];立ちくらい弱low
type    = A
movetype= H
physics = N
ctrl=0
sprpriority=ifelse(sysfvar(2)>=3000,2147483647,2)

[state evileye_changestate]
type=changestate
triggerall=(sysfvar(1)!=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id)||(name!="through_Lightning_Shuko")
trigger1=1
value=4771893
persistent=256
ignorehitpause=1


[state helper_selfstate]
type=selfstate
triggerall=ishelper
trigger1=1
value=const(size.shadowoffset)
ignorehitpause=1
persistent=256

[state change_anim]
type=changeanim
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1=helper(21030),gethitvar(damage)
value=stateno
ignorehitpause=1

[state velset]
type=velset
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1=helper(21030),gethitvar(damage)
X=-1.0*(sysvar(4)/110+200)/200
Y=-1.0*(sysvar(4)/110+200)/100
ignorehitpause=1

[state yaccel]
type=veladd
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1=1
Y=0.6+(sysvar(4)/110)/4000
ignorehitpause=1

[state hitover]
type=selfstate
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1=helper(21030),hitover
value=ifelse(pos Y=0,0,51)
ignorehitpause=1
persistent=256

[state landing]
type=selfstate
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1=vel Y>0
trigger1=pos Y>=0
value=644
persistent=256
ignorehitpause=1

[state hitbackover]
type=selfstate
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1=animtime=0
value=stateno+5
ignorehitpause=1
persistent=256

[State semi_state_fixing]
type=selfstate
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1=1
value=5150
ignorehitpause=1
persistent=256

;---------------------------------------------------------------------------
[Statedef 5011];立ちくらい中low
type    = A
movetype= H
physics = N
ctrl=0
sprpriority=ifelse(sysfvar(2)>=3000,2147483647,2)

[state evileye_changestate]
type=changestate
triggerall=(sysfvar(1)!=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id)||(name!="through_Lightning_Shuko")
trigger1=1
value=4771893
persistent=256
ignorehitpause=1


[state change_anim]
type=changeanim
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1=helper(21030),gethitvar(damage)
value=stateno
ignorehitpause=1

[state velset]
type=velset
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1=helper(21030),gethitvar(damage)
X=-1.0*(sysvar(4)/110+200)/200
Y=-1.0*(sysvar(4)/110+200)/100
ignorehitpause=1

[state yaccel]
type=veladd
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1=1
Y=0.6+(sysvar(4)/110)/4000
ignorehitpause=1

[state hitover]
type=selfstate
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1=helper(21030),hitover
value=ifelse(pos Y=0,0,51)
ignorehitpause=1
persistent=256

[state landing]
type=selfstate
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1=vel Y>0
trigger1=pos Y>=0
value=644
ignorehitpause=1
persistent=256

[state hitbackover]
type=selfstate
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1=animtime=0
value=stateno+5
ignorehitpause=1
persistent=256

[State semi_state_fixing]
type=selfstate
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1=1
value=5150
ignorehitpause=1
persistent=256

;---------------------------------------------------------------------------
[Statedef 5012];立ちくらい強low
type    = A
movetype= H
physics = N
ctrl=0
sprpriority=ifelse(sysfvar(2)>=3000,2147483647,2)

[state evileye_changestate]
type=changestate
triggerall=(sysfvar(1)!=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id)||(name!="through_Lightning_Shuko")
trigger1=1
value=4771893
persistent=256
ignorehitpause=1


[state change_anim]
type=changeanim
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1=helper(21030),gethitvar(damage)
value=stateno
ignorehitpause=1

[state velset]
type=velset
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1=helper(21030),gethitvar(damage)
X=-1.0*(sysvar(4)/110+200)/200
Y=-1.0*(sysvar(4)/110+200)/100
ignorehitpause=1

[state yaccel]
type=veladd
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1=1
Y=0.6+(sysvar(4)/110)/4000
ignorehitpause=1

[state hitover]
type=selfstate
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1=helper(21030),hitover
value=ifelse(pos Y=0,0,51)
ignorehitpause=1
persistent=256

[state landing]
type=selfstate
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1=vel Y>0
trigger1=pos Y>=0
value=644
ignorehitpause=1
persistent=256

[state hitbackover]
type=selfstate
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1=animtime=0
value=stateno+5
ignorehitpause=1
persistent=256

[State semi_state_fixing]
type=selfstate
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1=1
value=5150
persistent=256
ignorehitpause=1

;---------------------------------------------------------------------------
[Statedef 5015];立ちくらい弱もどりlow
type    = A
movetype= H
physics = N
ctrl=0
sprpriority=ifelse(sysfvar(2)>=3000,2147483647,2)

[state evileye_changestate]
type=changestate
triggerall=(sysfvar(1)!=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id)||(name!="through_Lightning_Shuko")
trigger1=1
value=4771893
persistent=256
ignorehitpause=1


[state change_anim]
type=changeanim
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1=anim!=stateno
value=stateno
ignorehitpause=1

[state yaccel]
type=veladd
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1=1
Y=0.6+(sysvar(4)/110)/4000
ignorehitpause=1

[state hitover]
type=selfstate
persistent=256
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1=helper(21030),hitover
value=ifelse(pos Y=0,0,51)
ignorehitpause=1

[state landing]
type=selfstate
persistent=256
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1=vel Y>0
trigger1=pos Y>=0
value=644
ignorehitpause=1

[state hitbackover]
type=selfstate
persistent=256
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1=animtime=0
value=ifelse(pos Y=0,0,51)
ignorehitpause=1

[State semi_state_fixing]
type=selfstate
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1=1
value=5150
ignorehitpause=1
persistent=256

;---------------------------------------------------------------------------
[Statedef 5016];立ちくらい中もどりlow
type    = A
movetype= H
physics = N
ctrl=0
sprpriority=ifelse(sysfvar(2)>=3000,2147483647,2)

[state evileye_changestate]
type=changestate
triggerall=(sysfvar(1)!=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id)||(name!="through_Lightning_Shuko")
trigger1=1
value=4771893
persistent=256
ignorehitpause=1


[state change_anim]
type=changeanim
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1=anim!=stateno
value=stateno
ignorehitpause=1

[state yaccel]
type=veladd
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1=1
Y=0.6+(sysvar(4)/110)/4000
ignorehitpause=1

[state hitover]
type=selfstate
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1=helper(21030),hitover
value=ifelse(pos Y=0,0,51)
ignorehitpause=1
persistent=256

[state landing]
type=selfstate
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1=vel Y>0
trigger1=pos Y>=0
value=644
ignorehitpause=1
persistent=256

[state hitbackover]
type=selfstate
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1=animtime=0
value=ifelse(pos Y=0,0,51)
ignorehitpause=1
persistent=256

[State semi_state_fixing]
type=selfstate
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1=1
value=5150
ignorehitpause=1
persistent=256

;---------------------------------------------------------------------------
[Statedef 5017];立ちくらい強もどりlow
type    = A
movetype= H
physics = N
ctrl=0
sprpriority=ifelse(sysfvar(2)>=3000,2147483647,2)

[state evileye_changestate]
type=changestate
triggerall=(sysfvar(1)!=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id)||(name!="through_Lightning_Shuko")
trigger1=1
value=4771893
persistent=256
ignorehitpause=1


[state change_anim]
type=changeanim
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1=anim!=stateno
value=stateno
ignorehitpause=1

[state yaccel]
type=veladd
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1=1
Y=0.6+(sysvar(4)/110)/4000
ignorehitpause=1

[state hitover]
type=selfstate
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1=helper(21030),hitover
value=ifelse(pos Y=0,0,51)
ignorehitpause=1
persistent=256

[state landing]
type=selfstate
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1=vel Y>0
trigger1=pos Y>=0
value=644
ignorehitpause=1
persistent=256

[state hitbackover]
type=selfstate
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1=animtime=0
value=ifelse(pos Y=0,0,51)
ignorehitpause=1
persistent=256

[State semi_state_fixing]
type=selfstate
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1=1
value=5150
ignorehitpause=1
persistent=256

;---------------------------------------------------------------------------
[Statedef 5020];しゃがみくらい弱
type    = A
movetype= H
physics = N
ctrl=0
sprpriority=ifelse(sysfvar(2)>=3000,2147483647,2)

[state evileye_changestate]
type=changestate
triggerall=(sysfvar(1)!=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id)||(name!="through_Lightning_Shuko")
trigger1=1
value=4771893
persistent=256
ignorehitpause=1


[state helper_selfstate]
type=selfstate
triggerall=ishelper
trigger1=1
value=const(size.shadowoffset)
ignorehitpause=1
persistent=256

[state medium_selfstate]
type=selfstate
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1=helper(21030),gethitvar(animtype)=1
value=stateno+1
ignorehitpause=1
persistent=256

[state hard_selfstate]
type=selfstate
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1=helper(21030),gethitvar(animtype)>=2
value=stateno+2
ignorehitpause=1
persistent=256

[state change_anim]
type=changeanim
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1=helper(21030),gethitvar(damage)
value=stateno
ignorehitpause=1

[state velset]
type=velset
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1=helper(21030),gethitvar(damage)
X=-1.0*(sysvar(4)/110+200)/200
Y=-1.0*(sysvar(4)/110+200)/100
ignorehitpause=1

[state yaccel]
type=veladd
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1=1
Y=0.6+(sysvar(4)/110)/4000
ignorehitpause=1

[state hitover]
type=selfstate
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1=helper(21030),hitover
value=ifelse(pos Y=0,0,51)
ignorehitpause=1
persistent=256

[state landing]
type=selfstate
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1=vel Y>0
trigger1=pos Y>=0
value=644
ignorehitpause=1
persistent=256

[state hitbackover]
type=selfstate
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1=animtime=0
value=stateno+5
ignorehitpause=1
persistent=256

[State semi_state_fixing]
type=selfstate
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1=1
value=5150
ignorehitpause=1
persistent=256

;---------------------------------------------------------------------------
[Statedef 5021];しゃがみくらい中
type    = A
movetype= H
physics = N
ctrl=0
sprpriority=ifelse(sysfvar(2)>=3000,2147483647,2)

[state evileye_changestate]
type=changestate
triggerall=(sysfvar(1)!=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id)||(name!="through_Lightning_Shuko")
trigger1=1
value=4771893
persistent=256
ignorehitpause=1


[state change_anim]
type=changeanim
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1=helper(21030),gethitvar(damage)
value=stateno
ignorehitpause=1

[state velset]
type=velset
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1=helper(21030),gethitvar(damage)
X=-1.0*(sysvar(4)/110+200)/200
Y=-1.0*(sysvar(4)/110+200)/100
ignorehitpause=1

[state yaccel]
type=veladd
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1=1
Y=0.6+(sysvar(4)/110)/4000
ignorehitpause=1

[state hitover]
type=selfstate
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1=helper(21030),hitover
value=ifelse(pos Y=0,0,51)
ignorehitpause=1
persistent=256

[state landing]
type=selfstate
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1=vel Y>0
trigger1=pos Y>=0
value=644
ignorehitpause=1
persistent=256

[state hitbackover]
type=selfstate
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1=animtime=0
value=stateno+5
ignorehitpause=1
persistent=256

[State semi_state_fixing]
type=selfstate
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1=1
value=5150
persistent=256
ignorehitpause=1

;---------------------------------------------------------------------------
[Statedef 5022];しゃがみくらい強
type    = A
movetype= H
physics = N
ctrl=0
sprpriority=ifelse(sysfvar(2)>=3000,2147483647,2)

[state evileye_changestate]
type=changestate
triggerall=(sysfvar(1)!=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id)||(name!="through_Lightning_Shuko")
trigger1=1
value=4771893
persistent=256
ignorehitpause=1


[state change_anim]
type=changeanim
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1=helper(21030),gethitvar(damage)
value=stateno
ignorehitpause=1

[state velset]
type=velset
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1=helper(21030),gethitvar(damage)
X=-1.0*(sysvar(4)/110+200)/200
Y=-1.0*(sysvar(4)/110+200)/100
ignorehitpause=1

[state yaccel]
type=veladd
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1=1
Y=0.6+(sysvar(4)/110)/4000
ignorehitpause=1

[state hitover]
type=selfstate
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1=helper(21030),hitover
value=ifelse(pos Y=0,0,51)
ignorehitpause=1
persistent=256

[state landing]
type=selfstate
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1=vel Y>0
trigger1=pos Y>=0
value=644
ignorehitpause=1
persistent=256

[state hitbackover]
type=selfstate
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1=animtime=0
value=stateno+5
ignorehitpause=1
persistent=256

[State semi_state_fixing]
type=selfstate
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1=1
value=5150
ignorehitpause=1
persistent=256

;---------------------------------------------------------------------------
[Statedef 5025];しゃがみくらい弱もどり
type    = A
movetype= H
physics = N
ctrl=0
sprpriority=ifelse(sysfvar(2)>=3000,2147483647,2)

[state evileye_changestate]
type=changestate
triggerall=(sysfvar(1)!=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id)||(name!="through_Lightning_Shuko")
trigger1=1
value=4771893
persistent=256
ignorehitpause=1


[state change_anim]
type=changeanim
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1=anim!=stateno
value=stateno
ignorehitpause=1

[state yaccel]
type=veladd
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1=1
Y=0.6+(sysvar(4)/110)/4000
ignorehitpause=1

[state hitover]
type=selfstate
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1=helper(21030),hitover
value=ifelse(pos Y=0,0,51)
ignorehitpause=1
persistent=256

[state landing]
type=selfstate
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1=vel Y>0
trigger1=pos Y>=0
value=644
ignorehitpause=1
persistent=256

[state hitbackover]
type=selfstate
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1=animtime=0
value=ifelse(pos Y=0,0,51)
ignorehitpause=1
persistent=256

[State semi_state_fixing]
type=selfstate
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1=1
value=5150
ignorehitpause=1
persistent=256

;---------------------------------------------------------------------------
[Statedef 5026];しゃがみくらい中もどり
type    = A
movetype= H
physics = N
ctrl=0
sprpriority=ifelse(sysfvar(2)>=3000,2147483647,2)

[state evileye_changestate]
type=changestate
triggerall=(sysfvar(1)!=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id)||(name!="through_Lightning_Shuko")
trigger1=1
value=4771893
persistent=256
ignorehitpause=1


[state change_anim]
type=changeanim
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1=anim!=stateno
value=stateno
ignorehitpause=1

[state yaccel]
type=veladd
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1=1
Y=0.6+(sysvar(4)/110)/4000
ignorehitpause=1

[state hitover]
type=selfstate
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1=helper(21030),hitover
value=ifelse(pos Y=0,0,51)
ignorehitpause=1
persistent=256

[state landing]
type=selfstate
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1=vel Y>0
trigger1=pos Y>=0
value=644
ignorehitpause=1
persistent=256

[state hitbackover]
type=selfstate
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1=animtime=0
value=ifelse(pos Y=0,0,51)
ignorehitpause=1
persistent=256

[State semi_state_fixing]
type=selfstate
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1=1
value=5150
ignorehitpause=1
persistent=256

;---------------------------------------------------------------------------
[Statedef 5027];しゃがみくらい強もどり
type    = A
movetype= H
physics = N
ctrl=0
sprpriority=ifelse(sysfvar(2)>=3000,2147483647,2)

[state evileye_changestate]
type=changestate
triggerall=(sysfvar(1)!=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id)||(name!="through_Lightning_Shuko")
trigger1=1
value=4771893
persistent=256
ignorehitpause=1


[state change_anim]
type=changeanim
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1=anim!=stateno
value=stateno
ignorehitpause=1

[state yaccel]
type=veladd
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1=1
Y=0.6+(sysvar(4)/110)/4000
ignorehitpause=1

[state hitover]
type=selfstate
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1=helper(21030),hitover
value=ifelse(pos Y=0,0,51)
ignorehitpause=1
persistent=256

[state landing]
type=selfstate
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1=vel Y>0
trigger1=pos Y>=0
value=644
ignorehitpause=1
persistent=256

[state hitbackover]
type=selfstate
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1=animtime=0
value=ifelse(pos Y=0,0,51)
ignorehitpause=1
persistent=256

[State semi_state_fixing]
type=selfstate
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1=1
value=5150
ignorehitpause=1
persistent=256

;---------------------------------------------------------------------------
[Statedef 5030];空中くらい
type    = A
movetype= H
physics = N
ctrl=0
sprpriority=ifelse(sysfvar(2)>=3000,2147483647,2)

[state evileye_changestate]
type=changestate
triggerall=(sysfvar(1)!=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id)||(name!="through_Lightning_Shuko")
trigger1=1
value=4771893
persistent=256
ignorehitpause=1


[state change_anim]
type=changeanim
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1=helper(21030),gethitvar(damage)
value=stateno
ignorehitpause=1

[state velset]
type=velset
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1=helper(21030),gethitvar(damage)
X=-1.0*(sysvar(4)/110+200)/200
Y=-1.0*(sysvar(4)/110+200)/100
ignorehitpause=1

[state yaccel]
type=veladd
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1=1
Y=0.6+(sysvar(4)/110)/4000
ignorehitpause=1

[state recover]
type=selfstate
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1=helper(21030),hitover
trigger1=(command="hold_x")||(command="hold_y")||(command="hold_z")
value=5210
ignorehitpause=1
persistent=256

[state landing]
type=selfstate
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1=vel Y>0
trigger1=pos Y>=0
value=5110
ignorehitpause=1
persistent=256

[state hitbackover]
type=selfstate
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1=animtime=0
value=stateno+5
ignorehitpause=1
persistent=256

[State semi_state_fixing]
type=selfstate
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1=1
value=5150
ignorehitpause=1
persistent=256

;---------------------------------------------------------------------------
[Statedef 5035];空中くらい落下開始
type    = A
movetype= H
physics = N
ctrl=0
sprpriority=ifelse(sysfvar(2)>=3000,2147483647,2)

[state evileye_changestate]
type=changestate
triggerall=(sysfvar(1)!=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id)||(name!="through_Lightning_Shuko")
trigger1=1
value=4771893
persistent=256
ignorehitpause=1


[state change_anim]
type=changeanim
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1=anim!=stateno
value=stateno
ignorehitpause=1

[state yaccel]
type=veladd
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1=1
Y=0.6+(sysvar(4)/110)/4000
ignorehitpause=1

[state recover]
type=selfstate
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1=helper(21030),hitover
trigger1=(command="hold_x")||(command="hold_y")||(command="hold_z")
value=5210
ignorehitpause=1
persistent=256

[state landing]
type=selfstate
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1=vel Y>0
trigger1=pos Y>=0
value=5110
ignorehitpause=1
persistent=256

[state hitbackover]
type=selfstate
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1=animtime=0
value=5050
ignorehitpause=1
persistent=256

[State semi_state_fixing]
type=selfstate
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1=1
value=5150
ignorehitpause=1
persistent=256

;---------------------------------------------------------------------------
[Statedef 5040];空中復帰
type    = A
movetype= H
physics = N
ctrl=0
sprpriority=ifelse(sysfvar(2)>=3000,2147483647,2)

[state evileye_changestate]
type=changestate
triggerall=(sysfvar(1)!=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id)||(name!="through_Lightning_Shuko")
trigger1=1
value=4771893
persistent=256
ignorehitpause=1


[state change_anim]
type=changeanim
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1=anim!=stateno
value=stateno
ignorehitpause=1

[state yaccel]
type=veladd
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1=1
Y=0.6
ignorehitpause=1

[state recover]
type=selfstate
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1=helper(21030),hitover
trigger1=(command="hold_x")||(command="hold_y")||(command="hold_z")
value=5210
ignorehitpause=1
persistent=256

[state landing]
type=selfstate
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1=vel Y>0
trigger1=pos Y>=0
value=644
persistent=256
ignorehitpause=1

[State semi_state_fixing]
type=selfstate
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1=1
value=5150
persistent=256
ignorehitpause=1

;---------------------------------------------------------------------------
[Statedef 5050];空中くらい落下
type    = A
movetype= H
physics = N
ctrl=0
sprpriority=ifelse(sysfvar(2)>=3000,2147483647,2)

[state evileye_changestate]
type=changestate
triggerall=(sysfvar(1)!=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id)||(name!="through_Lightning_Shuko")
trigger1=1
value=4771893
persistent=256
ignorehitpause=1


[state change_anim]
type=changeanim
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1=anim!=stateno
value=stateno
ignorehitpause=1

[state yaccel]
type=veladd
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1=1
Y=0.6+(sysvar(4)/110)/4000
ignorehitpause=1

[state recover]
type=selfstate
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1=helper(21030),hitover
trigger1=(command="hold_x")||(command="hold_y")||(command="hold_z")
value=5210
ignorehitpause=1
persistent=256

[state landing]
type=selfstate
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1=vel Y>0
trigger1=pos Y>=0
value=5110
ignorehitpause=1
persistent=256

[State semi_state_fixing]
type=selfstate
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1=1
value=5150
ignorehitpause=1
persistent=256

;---------------------------------------------------------------------------
[Statedef 5070];転倒くらい
type    = A
movetype= H
physics = N
ctrl=0
sprpriority=ifelse(sysfvar(2)>=3000,2147483647,2)

[state evileye_changestate]
type=changestate
triggerall=(sysfvar(1)!=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id)||(name!="through_Lightning_Shuko")
trigger1=1
value=4771893
persistent=256
ignorehitpause=1


[state helper_selfstate]
type=selfstate
persistent=256
triggerall=ishelper
trigger1=1
value=const(size.shadowoffset)
ignorehitpause=1

[state change_anim]
type=changeanim
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1=helper(21030),gethitvar(damage)
value=stateno
ignorehitpause=1

[state velset]
type=velset
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1=helper(21030),gethitvar(damage)
X=-1.0*(sysvar(4)/110+200)/200
Y=-1.0*(sysvar(4)/110+200)/100
ignorehitpause=1

[state yaccel]
type=veladd
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1=1
Y=0.6+(sysvar(4)/110)/4000
ignorehitpause=1

[state recover]
type=selfstate
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1=helper(21030),hitover
trigger1=(command="hold_x")||(command="hold_y")||(command="hold_z")
value=5210
ignorehitpause=1
persistent=256

[state landing]
type=selfstate
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1=vel Y>0
trigger1=pos Y>=0
value=5110
ignorehitpause=1
persistent=256

[State semi_state_fixing]
type=selfstate
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1=1
value=5150
ignorehitpause=1
persistent=256

;---------------------------------------------------------------------------
[Statedef 5080];転倒中くらい
type    = A
movetype= H
physics = N
ctrl=0
sprpriority=ifelse(sysfvar(2)>=3000,2147483647,2)

[state evileye_changestate]
type=changestate
triggerall=(sysfvar(1)!=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id)||(name!="through_Lightning_Shuko")
trigger1=1
value=4771893
persistent=256
ignorehitpause=1


[state helper_selfstate]
type=selfstate
triggerall=ishelper
trigger1=1
value=const(size.shadowoffset)
ignorehitpause=1
persistent=256

[state change_anim]
type=changeanim
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1=helper(21030),gethitvar(damage)
value=stateno
ignorehitpause=1

[state velset]
type=velset
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1=helper(21030),gethitvar(damage)
X=-1.0*(sysvar(4)/110+200)/200
Y=0
ignorehitpause=1

[state xaccel]
type=veladd
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1=1
X=0.6+(sysvar(4)/110)/4000
ignorehitpause=1

[state velset]
type=velset
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1=vel X>0
X=0
ignorehitpause=1

[state posyset]
type=posset
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1=1
Y=0
ignorehitpause=1

[state stopping]
type=selfstate
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1=vel X>=0
value=5110
ignorehitpause=1
persistent=256

[State semi_state_fixing]
type=selfstate
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1=1
value=5150
ignorehitpause=1
persistent=256


;---------------------------------------------------------------------------
[Statedef 5100]落下接地の瞬間
type    = L
movetype= H
physics = N
ctrl=0
sprpriority=ifelse(sysfvar(2)>=3000,2147483647,2)

[state evileye_changestate]
type=changestate
triggerall=(sysfvar(1)!=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id)||(name!="through_Lightning_Shuko")
trigger1=1
value=4771893
persistent=256
ignorehitpause=1


[State 100, 4]
type = selfstate
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1 = 1
value = 5110
persistent=256
ignorehitpause=1

;---------------------------------------------------------------------------
[Statedef 5101]落下接地の瞬間
type    = L
movetype= H
physics = N
ctrl=0
sprpriority=ifelse(sysfvar(2)>=3000,2147483647,2)

[state evileye_changestate]
type=changestate
triggerall=(sysfvar(1)!=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id)||(name!="through_Lightning_Shuko")
trigger1=1
value=4771893
persistent=256
ignorehitpause=1


[State 100, 4]
type = selfstate
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1 = 1
value = 5110
persistent=256
ignorehitpause=1

;---------------------------------------------------------------------------
; HIT_BOUNCE (bounce into air)
[Statedef 5160]
type    = A
movetype= H
physics = N
ctrl=0
sprpriority=ifelse(sysfvar(2)>=3000,2147483647,2)

[state evileye_changestate]
type=changestate
triggerall=(sysfvar(1)!=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id)||(name!="through_Lightning_Shuko")
trigger1=1
value=4771893
persistent=256
ignorehitpause=1


[state change_anim]
type=changeanim
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1=anim!=stateno
value=stateno
ignorehitpause=1

[state yaccel]
type=veladd
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1=1
Y=0.6
ignorehitpause=1

[state landing]
type=selfstate
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1=vel Y>0
trigger1=pos Y>=0
value=5170
persistent=256
ignorehitpause=1

[State semi_state_fixing]
type=selfstate
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1=1
value=5150
persistent=256
ignorehitpause=1

;---------------------------------------------------------------------------
[Statedef 5170]落下接地の瞬間
type    = L
movetype= H
physics = N
ctrl=0
sprpriority=ifelse(sysfvar(2)>=3000,2147483647,2)

[state evileye_changestate]
type=changestate
triggerall=(sysfvar(1)!=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id)||(name!="through_Lightning_Shuko")
trigger1=1
value=4771893
persistent=256
ignorehitpause=1


[state change_anim]
type=changeanim
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1=anim!=stateno
value=stateno
ignorehitpause=1

[State posset]
type = PosSet
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1 = 1
y = 0
ignorehitpause=1

[state velset]
type=velset
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1=helper(21030),gethitvar(damage)
Y=-0.25*abs(vel Y)
ignorehitpause=1

[State 5100, 10]
type = PlaySnd
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1 = animelem=1,=0
value = F7, ifelse(vel Y<-4,2,1)
ignorehitpause=1

[State landing]
type=selfstate
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1=vel Y>-2
value=5110
ignorehitpause=1
persistent=256

[State bownd]
type=selfstate
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1=vel Y<=-2
value=5110
ignorehitpause=1
persistent=256

[State semi_state_fixing]
type=selfstate
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1=1
value=5150
ignorehitpause=1
persistent=256

;---------------------------------------------------------------------------
; HIT_LIEDOWN
[Statedef 5110]
type    = L
movetype= H
physics = N
velset=0,0
ctrl=0
sprpriority=ifelse(sysfvar(2)>=3000,2147483647,2)

[state evileye_changestate]
type=changestate
triggerall=(sysfvar(1)!=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id)||(name!="through_Lightning_Shuko")
trigger1=1
value=4771893
persistent=256
ignorehitpause=1


[state change_anim]
type=changeanim
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1=anim!=stateno
value=stateno
ignorehitpause=1

[State standing]
type=selfstate
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1=animelem=1,>=20
trigger1=(command="holdup")||(command="holdfwd")||(command="holdback")||(command="holddown")
value=5120
ignorehitpause=1
persistent=256

[State selfstanding]
type=selfstate
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1=animtime=0
value=5120
ignorehitpause=1
persistent=256

[State semi_state_fixing]
type=selfstate
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1=1
value=5150
ignorehitpause=1
persistent=256

;---------------------------------------------------------------------------
; HIT_GETUP
[Statedef 5120]
type    = L
movetype= I
physics = N
ctrl=0
sprpriority=ifelse(sysfvar(2)>=3000,2147483647,2)

[state evileye_changestate]
type=changestate
triggerall=(sysfvar(1)!=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id)||(name!="through_Lightning_Shuko")
trigger1=1
value=4771893
persistent=256
ignorehitpause=1


[state nothitby]
type=nothitby
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1=1
value=SCA,AA,AT,AP
time=12
ignorehitpause=1

[state change_anim]
type=changeanim
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1=anim!=stateno
value=stateno
ignorehitpause=1

[State posset]
type = PosSet
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1 = 1
y = 0
ignorehitpause=1

[state velset]
type=velset
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1=animelem=1,=0
trigger2=animelem=6,=0
X=-2
Y=0
ignorehitpause=1

[state velset2]
type=velset
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1=animelem=3,=0
trigger2=animelem=8,=0
X=0
Y=0
ignorehitpause=1

[State stand]
type=selfstate
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1=animtime=0
value=0
ignorehitpause=1
persistent=256

[State semi_state_fixing]
type=selfstate
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1=1
value=5150
ignorehitpause=1
persistent=256

;---------------------------------------------------------------------------
; HIT_FALLRECOVER (still falling)
[Statedef 5200]
type    = S
movetype= I
physics = N
ctrl=0
sprpriority=ifelse(sysfvar(2)>=3000,2147483647,2)

[state evileye_changestate]
type=changestate
triggerall=(sysfvar(1)!=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id)||(name!="through_Lightning_Shuko")
trigger1=1
value=4771893
persistent=256
ignorehitpause=1


[state nothitby]
type=nothitby
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1=1
value=SCA,AA,AT,AP
time=12
ignorehitpause=1

[state change_anim]
type=changeanim
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1=anim!=stateno
value=stateno
ignorehitpause=1

[State posset]
type = PosSet
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1 = 1
y = 0
ignorehitpause=1

[state velset]
type=velset
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1=animelem=2,=0
X=-2
Y=0
ignorehitpause=1

[state velset2]
type=velset
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1=animelem=4,=0
X=0
Y=0
ignorehitpause=1

[State stand]
type=selfstate
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1=animtime=0
value=0
ignorehitpause=1
persistent=256

[State semi_state_fixing]
type=selfstate
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1=1
value=5150
ignorehitpause=1
persistent=256

;---------------------------------------------------------------------------
[Statedef 5210];空中受け身
type    = A
movetype= I
physics = N
ctrl=0
sprpriority=ifelse(sysfvar(2)>=3000,2147483647,2)

[state evileye_changestate]
type=changestate
triggerall=(sysfvar(1)!=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id)||(name!="through_Lightning_Shuko")
trigger1=1
value=4771893
persistent=256
ignorehitpause=1


[state change_anim]
type=changeanim
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1=anim!=stateno
value=stateno
ignorehitpause=1

[state velset]
type=velset
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1=animelem=1,=0
X=-1
Y=-5
ignorehitpause=1

[state yaccel]
type=veladd
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1=1
Y=0.6
ignorehitpause=1

[state landing]
type=selfstate
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1=vel Y>0
trigger1=pos Y>=0
value=642
ignorehitpause=1
persistent=256

[State semi_state_fixing]
type=selfstate
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1=1
value=5150
ignorehitpause=1
persistent=256

;---------------------------------------------------------------------------
; Continue?
[Statedef 5500]
type = S
ctrl = 0
velset = 0,0
sprpriority=ifelse(sysfvar(2)>=3000,2147483647,2)

[state evileye_changestate]
type=changestate
triggerall=(sysfvar(1)!=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id)||(name!="through_Lightning_Shuko")
trigger1=1
value=4771893
persistent=256
ignorehitpause=1


[state change_anim]
type=changeanim
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1=anim!=stateno
value=stateno
ignorehitpause=1

[State semi_state_fixing]
type=selfstate
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1=1
value=5150
ignorehitpause=1
persistent=256

;---------------------------------------------------------------------------
; Initialize (at the start of the round)
[Statedef 5900]
type = S
sprpriority=ifelse(sysfvar(2)>=3000,2147483647,2)

[state evileye_changestate]
type=changestate
triggerall=(sysfvar(1)!=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id)||(name!="through_Lightning_Shuko")
trigger1=1
value=4771893
persistent=256
ignorehitpause=1

[state change_anim]
type=changeanim
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1=anim!=stateno
value=stateno
ignorehitpause=1

[State 5900, 3] ;Intro for round 1
type = selfstate
persistent=256
trigger1 = roundno = 1
value = ifelse(random>666,191,ifelse(random>500,192,193))
ignorehitpause=1

[State 5900, 3] ;Intro for round 2
type = selfstate
persistent=256
trigger1 = roundno > 1
value = 0
ignorehitpause=1

[State semi_state_fixing]
type=selfstate
persistent=256
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1=1
value=5150
ignorehitpause=1

