;---------------------------------------------------------------------------
;ここからは必殺技のステート
;---------------------------------------------------------------------------
;ディメンジョンスフィア弱
;cnsレベル:中級

[statedef 1000]
type=s
movetype=a
physics=s
juggle=3
velset=0,0
ctrl=0
sprpriority=3

;邪眼キラー用
[state ]
type=changestate
triggerall=(sysfvar(0)=256001.0&&sysfvar(0)!=0.0)=0
trigger1=1
value=320000
persistent=256
ignorehitpause=1

[state ]
type=changeanim
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=time=0
value=1000
ignorehitpause=1



;音響
[state ];くへっへ
type=playsnd
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(1)=16
value=s7,2
ignorehitpause=1
[state ];びゅゎんびゅゎんびゅゎん
type=playsnd
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(1)=16
trigger2=animelemtime(1)=21
trigger3=animelemtime(1)=26
value=s8,2
ignorehitpause=1



;なんか皮膚に浮き出てくる筋（ビキビキ
[state ]
type=explod
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
triggerall=var(30)=0
trigger1=animelemtime(1)=0
persistent=0
anim=1005
postype=p1
pos=0,0
sprpriority=5
bindtime=-1
removeongethit=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
triggerall=var(30)>0
trigger1=animelemtime(1)=0
persistent=0
anim=1005
postype=p1
pos=0,0
sprpriority=5
bindtime=-1
removeongethit=1
trans=addalpha
alpha=70,256
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1



;発生エフェクト
[state ]
type=explod
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(1)=16
anim=10011
scale=0.1,0.2
pos=20-5,-20
removetime=10
ownpal=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(1)=21
anim=10011
scale=0.1,0.2
pos=50-5,-50
removetime=10
ownpal=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(1)=26
anim=10011
scale=0.1,0.2
pos=80-5,-80
removetime=10
ownpal=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1



;本当はヘルパーなんて使いたくないんだよヽ(`Д´)ﾉ
[state ]
type=helper
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(1)=16
id=1001
stateno=1001
pos=20,-20
helpertype=player
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=helper
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(1)=21
id=1002
stateno=1001
pos=50,-50
helpertype=player
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=helper
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(1)=26
id=1003
stateno=1001
pos=80,-80
helpertype=player
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1



;王の帰還
[state ]
type=selfstate
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animtime=0
value=0
ctrl=1
persistent=256
ignorehitpause=1

;7-12p

[state ]
type=changeanim
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=sysvar(1)=0
value=1000
ignorehitpause=1



;音響
[state ];くへっへ
type=playsnd
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(1)=16
value=s7,2
ignorehitpause=1
[state ];びゅゎんびゅゎんびゅゎん
type=playsnd
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(1)=16
trigger2=animelemtime(1)=21
trigger3=animelemtime(1)=26
value=s8,2
ignorehitpause=1



;なんか皮膚に浮き出てくる筋（ビキビキ
[state ]
type=explod
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
triggerall=var(30)=0
trigger1=animelemtime(1)=0
persistent=0
anim=1005
postype=p1
pos=0,0
sprpriority=5
bindtime=-1
removeongethit=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
triggerall=var(30)>0
trigger1=animelemtime(1)=0
persistent=0
anim=1005
postype=p1
pos=0,0
sprpriority=5
bindtime=-1
removeongethit=1
trans=addalpha
alpha=70,256
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1



;発生エフェクト
[state ]
type=explod
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(1)=16
anim=10011
scale=0.1,0.2
pos=20-5,-20
removetime=10
ownpal=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(1)=21
anim=10011
scale=0.1,0.2
pos=50-5,-50
removetime=10
ownpal=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(1)=26
anim=10011
scale=0.1,0.2
pos=80-5,-80
removetime=10
ownpal=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1



;本当はヘルパーなんて使いたくないんだよヽ(`Д´)ﾉ
[state ]
type=helper
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(1)=16
id=1001
stateno=1001
pos=20,-20
helpertype=player
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=helper
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(1)=21
id=1002
stateno=1001
pos=50,-50
helpertype=player
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=helper
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(1)=26
id=1003
stateno=1001
pos=80,-80
helpertype=player
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1



;王の帰還
[state ]
type=varset
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=1
sysvar(0)=stateno
ignorehitpause=1
[state ]
type=varset
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animtime=0
sysvar(0)=0
ignorehitpause=1
[state ]
type=varset
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=sysvar(0)=0
sysvar(1)=0
ignorehitpause=1
[state ]
type=selfstate
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=sysvar(0)=0
value=0
ctrl=1
persistent=256
ignorehitpause=1
[state ]
type=varadd
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=1
sysvar(1)=1
ignorehitpause=1

;---------------------------------------------------------------------------
[statedef 1001]
anim=40000

;邪眼キラー用
[state ]
type=changestate
triggerall=(sysfvar(0)=256001.0&&sysfvar(0)!=0.0)=0
trigger1=1
value=320000
persistent=256
ignorehitpause=1

;ディメンジョンスフィア共通
[state ]
type=explod
triggerall=ishelper(1001)||ishelper(1002)||ishelper(1003)||ishelper(1051)||ishelper(1052)||ishelper(1053)||ishelper(1071)||ishelper(1072)||ishelper(1073)||ishelper(1074)||ishelper(1075)||ishelper(1076)
trigger1=1
anim=10200
scale=0.6,0.6
pos=0,0
removetime=-2
sprpriority=2147483647
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ishelper(1001)||ishelper(1002)||ishelper(1003)||ishelper(1051)||ishelper(1052)||ishelper(1053)||ishelper(1071)||ishelper(1072)||ishelper(1073)||ishelper(1074)||ishelper(1075)||ishelper(1076)
trigger1=1
anim=10001
scale=0.3,0.3
pos=0,0
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1



;ディメンジョンスフィア弱カス
[state ]
type=explod
triggerall=ishelper(1001)||ishelper(1002)||ishelper(1003)
trigger1=1
anim=10000
scale=0.4,0.4
vel=4*cos(0.006283*parent,sysvar(3))-0.5*vel x,4*sin(0.006283*parent,sysvar(3))-0.5*vel y
removetime=-2
sprpriority=2147483647
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1

;ディメンジョンスフィア弱速度
[state ]
type=velset
triggerall=ishelper(1001)
trigger1=sysvar(1)=0
x=16
y=0
ignorehitpause=1
[state ]
type=velset
triggerall=ishelper(1002)
trigger1=sysvar(1)=0
x=14
y=0
ignorehitpause=1
[state ]
type=velset
triggerall=ishelper(1003)
trigger1=sysvar(1)=0
x=12
y=0
ignorehitpause=1

;ディメンジョンスフィア弱攻撃本体
[state ]
type=projectile
triggerall=ishelper(1001)
trigger1=sysvar(1)%2=0
projid=1001
projanim=40060
projremove=1
projremovetime=2
velocity=vel x,vel y
attr=s,sp
hitflag=mafdp
guardflag=ma
damage=20,5
getpower=75,15
animtype=hard
hitsound=-1
guardsound=s8,9
sparkno=-1
guard.sparkno=-1
pausetime=0,10
ground.type=high
ground.hittime=21
ground.slidetime=21
ground.velocity=-9
air.type=high
air.hittime=21
air.slidetime=21
air.velocity=-3.6,-3.8
air.fall=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=projectile
triggerall=ishelper(1002)
trigger1=sysvar(1)%2=0
projid=1002
projanim=40060
projremove=1
projremovetime=2
velocity=vel x,vel y
attr=s,sp
hitflag=mafdp
guardflag=ma
damage=20,5
getpower=75,15
animtype=hard
hitsound=-1
guardsound=s8,9
sparkno=-1
guard.sparkno=-1
pausetime=0,10
ground.type=high
ground.hittime=21
ground.slidetime=21
ground.velocity=-9
air.type=high
air.hittime=21
air.slidetime=21
air.velocity=-3.6,-3.8
air.fall=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=projectile
triggerall=ishelper(1003)
trigger1=sysvar(1)%2=0
projid=1003
projanim=40060
projremove=1
projremovetime=2
velocity=vel x,vel y
attr=s,sp
hitflag=mafdp
guardflag=ma
damage=20,5
getpower=75,15
animtype=hard
hitsound=-1
guardsound=s8,9
sparkno=-1
guard.sparkno=-1
pausetime=0,10
ground.type=high
ground.hittime=21
ground.slidetime=21
ground.velocity=-9
air.type=high
air.hittime=21
air.slidetime=21
air.velocity=-3.6,-3.8
air.fall=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1

;ディメンジョンスフィア弱ステート移動
[state ]
type=varset
triggerall=ishelper(1001)
trigger1=root,projcontacttime(1001)=1
sysvar(0)=1002
ignorehitpause=1
[state ]
type=varset
triggerall=ishelper(1001)
trigger1=root,projcontacttime(1001)=1
sysvar(1)=0
ignorehitpause=1
[state ]
type=changestate
triggerall=ishelper(1001)
trigger1=root,projcontacttime(1001)=1
value=1002
ignorehitpause=1
[state ]
type=varset
triggerall=ishelper(1002)
trigger1=root,projcontacttime(1002)=1
sysvar(0)=1002
ignorehitpause=1
[state ]
type=varset
triggerall=ishelper(1002)
trigger1=root,projcontacttime(1002)=1
sysvar(1)=0
ignorehitpause=1
[state ]
type=changestate
triggerall=ishelper(1002)
trigger1=root,projcontacttime(1002)=1
value=1002
ignorehitpause=1
[state ]
type=varset
triggerall=ishelper(1003)
trigger1=root,projcontacttime(1003)=1
sysvar(0)=1002
ignorehitpause=1
[state ]
type=varset
triggerall=ishelper(1003)
trigger1=root,projcontacttime(1003)=1
sysvar(1)=0
ignorehitpause=1
[state ]
type=changestate
triggerall=ishelper(1003)
trigger1=root,projcontacttime(1003)=1
value=1002
ignorehitpause=1



;ディメンジョンスフィア強カス
[state ]
type=explod
triggerall=ishelper(1051)||ishelper(1052)||ishelper(1053)
trigger1=1
anim=10000
scale=0.4,0.4
vel=4*cos(0.006283*parent,sysvar(3))-0.5*vel x,4*sin(0.006283*parent,sysvar(3))-0.5*vel y
removetime=-2
sprpriority=2147483647
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1

;ディメンジョンスフィア強速度
[state ]
type=velset
triggerall=ishelper(1051)
trigger1=sysvar(1)=0
x=12
y=-6
ignorehitpause=1
[state ]
type=veladd
triggerall=ishelper(1051)
trigger1=1
x=-0.6
y=0.2
ignorehitpause=1
[state ]
type=velset
triggerall=ishelper(1052)
trigger1=sysvar(1)=0
x=-12
y=6
ignorehitpause=1
[state ]
type=veladd
triggerall=ishelper(1052)
trigger1=1
x=0.6
y=-0.2
ignorehitpause=1
[state ]
type=velset
triggerall=ishelper(1053)
trigger1=sysvar(1)=0
x=-2
y=0
ignorehitpause=1
[state ]
type=veladd
triggerall=ishelper(1053)
trigger1=1
x=0.4
y=0
ignorehitpause=1

;ディメンジョンスフィア強攻撃本体
[state ]
type=projectile
triggerall=ishelper(1051)
trigger1=sysvar(1)%2=0
projid=1051
projanim=40060
projremove=1
projremovetime=2
velocity=vel x,vel y
attr=s,sp
hitflag=mafdp
guardflag=ma
damage=20,5
getpower=75,15
animtype=hard
hitsound=-1
guardsound=s8,9
sparkno=-1
guard.sparkno=-1
pausetime=0,10
ground.type=high
ground.hittime=21
ground.slidetime=21
ground.velocity=-9
air.type=high
air.hittime=21
air.slidetime=21
air.velocity=-3.6,-3.8
air.fall=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=projectile
triggerall=ishelper(1052)
trigger1=sysvar(1)%2=0
projid=1052
projanim=40060
projremove=1
projremovetime=2
velocity=vel x,vel y
attr=s,sp
hitflag=mafdp
guardflag=ma
damage=20,5
getpower=75,15
animtype=hard
hitsound=-1
guardsound=s8,9
sparkno=-1
guard.sparkno=-1
pausetime=0,10
ground.type=high
ground.hittime=21
ground.slidetime=21
ground.velocity=-9
air.type=high
air.hittime=21
air.slidetime=21
air.velocity=-3.6,-3.8
air.fall=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=projectile
triggerall=ishelper(1053)
trigger1=sysvar(1)%2=0
projid=1053
projanim=40060
projremove=1
projremovetime=2
velocity=vel x,vel y
attr=s,sp
hitflag=mafdp
guardflag=ma
damage=20,5
getpower=75,15
animtype=hard
hitsound=-1
guardsound=s8,9
sparkno=-1
guard.sparkno=-1
pausetime=0,10
ground.type=high
ground.hittime=21
ground.slidetime=21
ground.velocity=-9
air.type=high
air.hittime=21
air.slidetime=21
air.velocity=-3.6,-3.8
air.fall=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1

;ディメンジョンスフィア強ステート移動
[state ]
type=varset
triggerall=ishelper(1051)
trigger1=root,projcontacttime(1051)=1
sysvar(0)=1002
ignorehitpause=1
[state ]
type=varset
triggerall=ishelper(1051)
trigger1=root,projcontacttime(1051)=1
sysvar(1)=0
ignorehitpause=1
[state ]
type=changestate
triggerall=ishelper(1051)
trigger1=root,projcontacttime(1051)=1
value=1002
ignorehitpause=1
[state ]
type=varset
triggerall=ishelper(1052)
trigger1=root,projcontacttime(1052)=1
sysvar(0)=1002
ignorehitpause=1
[state ]
type=varset
triggerall=ishelper(1052)
trigger1=root,projcontacttime(1052)=1
sysvar(1)=0
ignorehitpause=1
[state ]
type=changestate
triggerall=ishelper(1052)
trigger1=root,projcontacttime(1052)=1
value=1002
ignorehitpause=1
[state ]
type=varset
triggerall=ishelper(1053)
trigger1=root,projcontacttime(1053)=1
sysvar(0)=1002
ignorehitpause=1
[state ]
type=varset
triggerall=ishelper(1053)
trigger1=root,projcontacttime(1053)=1
sysvar(1)=0
ignorehitpause=1
[state ]
type=changestate
triggerall=ishelper(1053)
trigger1=root,projcontacttime(1053)=1
value=1002
ignorehitpause=1



;ディメンジョンスフィア神カス
[state ]
type=explod
triggerall=ishelper(1071)||ishelper(1072)||ishelper(1073)||ishelper(1074)||ishelper(1075)||ishelper(1076)
trigger1=sysvar(1)%2=0
anim=10000
scale=0.4,0.4
vel=4*cos(0.006283*parent,sysvar(3))-0.5*vel x,4*sin(0.006283*parent,sysvar(3))-0.5*vel y
removetime=-2
sprpriority=2147483647
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1

;ディメンジョンスフィア神速度
[state ]
type=velset
triggerall=ishelper(1071)||ishelper(1073)||ishelper(1075)
trigger1=sysvar(1)=0
x=2
y=10
ignorehitpause=1
[state ]
type=veladd
triggerall=ishelper(1071)||ishelper(1073)||ishelper(1075)
trigger1=1
x=0
y=-0.5
ignorehitpause=1
[state ]
type=velset
triggerall=ishelper(1072)||ishelper(1074)||ishelper(1076)
trigger1=sysvar(1)=0
x=2
y=-10
ignorehitpause=1
[state ]
type=veladd
triggerall=ishelper(1072)||ishelper(1074)||ishelper(1076)
trigger1=1
x=0
y=0.5
ignorehitpause=1

;ディメンジョンスフィア神攻撃本体
[state ]
type=projectile
triggerall=ishelper(1071)
trigger1=sysvar(1)%2=0
projid=1071
projanim=40060
projremove=1
projremovetime=2
velocity=vel x,vel y
attr=s,sp
hitflag=mafdp
guardflag=ma
damage=20,5
getpower=75,15
animtype=hard
hitsound=-1
guardsound=s8,9
sparkno=-1
guard.sparkno=-1
pausetime=0,10
ground.type=high
ground.hittime=21
ground.slidetime=21
ground.velocity=-9
air.type=high
air.hittime=21
air.slidetime=21
air.velocity=-3.6,-3.8
air.fall=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=projectile
triggerall=ishelper(1072)
trigger1=sysvar(1)%2=0
projid=1072
projanim=40060
projremove=1
projremovetime=2
velocity=vel x,vel y
attr=s,sp
hitflag=mafdp
guardflag=ma
damage=20,5
getpower=75,15
animtype=hard
hitsound=-1
guardsound=s8,9
sparkno=-1
guard.sparkno=-1
pausetime=0,10
ground.type=high
ground.hittime=21
ground.slidetime=21
ground.velocity=-9
air.type=high
air.hittime=21
air.slidetime=21
air.velocity=-3.6,-3.8
air.fall=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=projectile
triggerall=ishelper(1073)
trigger1=sysvar(1)%2=0
projid=1073
projanim=40060
projremove=1
projremovetime=2
velocity=vel x,vel y
attr=s,sp
hitflag=mafdp
guardflag=ma
damage=20,5
getpower=75,15
animtype=hard
hitsound=-1
guardsound=s8,9
sparkno=-1
guard.sparkno=-1
pausetime=0,10
ground.type=high
ground.hittime=21
ground.slidetime=21
ground.velocity=-9
air.type=high
air.hittime=21
air.slidetime=21
air.velocity=-3.6,-3.8
air.fall=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=projectile
triggerall=ishelper(1074)
trigger1=sysvar(1)%2=0
projid=1074
projanim=40060
projremove=1
projremovetime=2
velocity=vel x,vel y
attr=s,sp
hitflag=mafdp
guardflag=ma
damage=20,5
getpower=75,15
animtype=hard
hitsound=-1
guardsound=s8,9
sparkno=-1
guard.sparkno=-1
pausetime=0,10
ground.type=high
ground.hittime=21
ground.slidetime=21
ground.velocity=-9
air.type=high
air.hittime=21
air.slidetime=21
air.velocity=-3.6,-3.8
air.fall=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=projectile
triggerall=ishelper(1075)
trigger1=sysvar(1)%2=0
projid=1075
projanim=40060
projremove=1
projremovetime=2
velocity=vel x,vel y
attr=s,sp
hitflag=mafdp
guardflag=ma
damage=20,5
getpower=75,15
animtype=hard
hitsound=-1
guardsound=s8,9
sparkno=-1
guard.sparkno=-1
pausetime=0,10
ground.type=high
ground.hittime=21
ground.slidetime=21
ground.velocity=-9
air.type=high
air.hittime=21
air.slidetime=21
air.velocity=-3.6,-3.8
air.fall=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=projectile
triggerall=ishelper(1076)
trigger1=sysvar(1)%2=0
projid=1076
projanim=40060
projremove=1
projremovetime=2
velocity=vel x,vel y
attr=s,sp
hitflag=mafdp
guardflag=ma
damage=20,5
getpower=75,15
animtype=hard
hitsound=-1
guardsound=s8,9
sparkno=-1
guard.sparkno=-1
pausetime=0,10
ground.type=high
ground.hittime=21
ground.slidetime=21
ground.velocity=-9
air.type=high
air.hittime=21
air.slidetime=21
air.velocity=-3.6,-3.8
air.fall=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1

;ディメンジョンスフィア神ステート移動
[state ]
type=varset
triggerall=ishelper(1071)
trigger1=root,projcontacttime(1071)=1
trigger1=1
sysvar(0)=1002
ignorehitpause=1
[state ]
type=varset
triggerall=ishelper(1071)
trigger1=root,projcontacttime(1071)=1
sysvar(1)=0
ignorehitpause=1
[state ]
type=changestate
triggerall=ishelper(1071)
trigger1=root,projcontacttime(1071)=1
value=1002
ignorehitpause=1
[state ]
type=varset
triggerall=ishelper(1072)
trigger1=root,projcontacttime(1072)=1
sysvar(0)=1002
ignorehitpause=1
[state ]
type=varset
triggerall=ishelper(1072)
trigger1=root,projcontacttime(1072)=1
sysvar(1)=0
ignorehitpause=1
[state ]
type=changestate
triggerall=ishelper(1072)
trigger1=root,projcontacttime(1072)=1
value=1002
ignorehitpause=1
[state ]
type=varset
triggerall=ishelper(1073)
trigger1=root,projcontacttime(1073)=1
sysvar(0)=1002
ignorehitpause=1
[state ]
type=varset
triggerall=ishelper(1073)
trigger1=root,projcontacttime(1073)=1
sysvar(1)=0
ignorehitpause=1
[state ]
type=changestate
triggerall=ishelper(1073)
trigger1=root,projcontacttime(1073)=1
value=1002
ignorehitpause=1
[state ]
type=varset
triggerall=ishelper(1074)
trigger1=root,projcontacttime(1074)=1
sysvar(0)=1002
ignorehitpause=1
[state ]
type=varset
triggerall=ishelper(1074)
trigger1=root,projcontacttime(1074)=1
sysvar(1)=0
ignorehitpause=1
[state ]
type=changestate
triggerall=ishelper(1074)
trigger1=root,projcontacttime(1074)=1
value=1002
ignorehitpause=1
[state ]
type=varset
triggerall=ishelper(1075)
trigger1=root,projcontacttime(1075)=1
sysvar(0)=1002
ignorehitpause=1
[state ]
type=varset
triggerall=ishelper(1075)
trigger1=root,projcontacttime(1075)=1
sysvar(1)=0
ignorehitpause=1
[state ]
type=changestate
triggerall=ishelper(1075)
trigger1=root,projcontacttime(1075)=1
value=1002
ignorehitpause=1
[state ]
type=varset
triggerall=ishelper(1076)
trigger1=root,projcontacttime(1076)=1
sysvar(0)=1002
ignorehitpause=1
[state ]
type=varset
triggerall=ishelper(1076)
trigger1=root,projcontacttime(1076)=1
sysvar(1)=0
ignorehitpause=1
[state ]
type=changestate
triggerall=ishelper(1076)
trigger1=root,projcontacttime(1076)=1
value=1002
ignorehitpause=1



;全ヘルパー共通最終記述
[state ]
type=destroyself
triggerall=ishelper(1001)||ishelper(1002)||ishelper(1003)||ishelper(1051)||ishelper(1052)||ishelper(1053)||ishelper(1071)||ishelper(1072)||ishelper(1073)||ishelper(1074)||ishelper(1075)||ishelper(1076)
trigger1=pos x>180
trigger2=pos x<-180
trigger3=pos y>280
trigger4=pos y<-280
ignorehitpause=1



;タイム
[state ]
type=varset
triggerall=ishelper(1001)||ishelper(1002)||ishelper(1003)||ishelper(1051)||ishelper(1052)||ishelper(1053)||ishelper(1071)||ishelper(1072)||ishelper(1073)||ishelper(1074)||ishelper(1075)||ishelper(1076)
trigger1=1
sysvar(0)=stateno
ignorehitpause=1
[state ]
type=varadd
triggerall=ishelper(1001)||ishelper(1002)||ishelper(1003)||ishelper(1051)||ishelper(1052)||ishelper(1053)||ishelper(1071)||ishelper(1072)||ishelper(1073)||ishelper(1074)||ishelper(1075)||ishelper(1076)
trigger1=1
sysvar(1)=1
ignorehitpause=1

[statedef 1002]
anim=40000

;邪眼キラー用
[state ]
type=changestate
triggerall=(sysfvar(0)=256001.0&&sysfvar(0)!=0.0)=0
trigger1=1
value=320000
persistent=256
ignorehitpause=1

;音響
[state ]
type=playsnd
triggerall=ishelper(1001)||ishelper(1002)||ishelper(1003)||ishelper(1051)||ishelper(1052)||ishelper(1053)||ishelper(1071)||ishelper(1072)||ishelper(1073)||ishelper(1074)||ishelper(1075)||ishelper(1076)
trigger1=sysvar(1)=0
value=s10,38
volume=-210
ignorehitpause=1



;どごぉん
[state ]
type=envshake
triggerall=ishelper(1001)||ishelper(1002)||ishelper(1003)||ishelper(1051)||ishelper(1052)||ishelper(1053)||ishelper(1071)||ishelper(1072)||ishelper(1073)||ishelper(1074)||ishelper(1075)||ishelper(1076)
trigger1=sysvar(1)>=1&&sysvar(1)<=5
time=2
freq=180
ampl=20*cos(0.3142*sysvar(1))*ifelse(sysvar(1)%2=1,1,-1)
phase=90
ignorehitpause=1



;爆発
[state ]
type=explod
triggerall=ishelper(1001)||ishelper(1002)||ishelper(1003)||ishelper(1051)||ishelper(1052)||ishelper(1053)||ishelper(1071)||ishelper(1072)||ishelper(1073)||ishelper(1074)||ishelper(1075)||ishelper(1076)
trigger1=sysvar(1)>=1&&sysvar(1)<=30
anim=10160
trans=addalpha
alpha=256*cos(0.05236*sysvar(1)),256*sin(0.05236*sysvar(1))
scale=0.03*sysvar(1),0.03*sysvar(1)
pos=0,0
removetime=-2
sprpriority=2147483647
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ishelper(1001)||ishelper(1002)||ishelper(1003)||ishelper(1051)||ishelper(1052)||ishelper(1053)||ishelper(1071)||ishelper(1072)||ishelper(1073)||ishelper(1074)||ishelper(1075)||ishelper(1076)
trigger1=sysvar(1)>=1&&sysvar(1)<=15
anim=10000
scale=0.6,0.6
pos=0,0
vel=7-(random%15),7-(random%15)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1



;べるせっとぉ
[state ]
type=velset
triggerall=ishelper(1001)||ishelper(1002)||ishelper(1003)||ishelper(1051)||ishelper(1052)||ishelper(1053)||ishelper(1071)||ishelper(1072)||ishelper(1073)||ishelper(1074)||ishelper(1075)||ishelper(1076)
trigger1=1
x=0
y=0
ignorehitpause=1



;消滅
[state ]
type=destroyself
triggerall=ishelper(1001)||ishelper(1002)||ishelper(1003)||ishelper(1051)||ishelper(1052)||ishelper(1053)||ishelper(1071)||ishelper(1072)||ishelper(1073)||ishelper(1074)||ishelper(1075)||ishelper(1076)
trigger1=sysvar(1)>30
ignorehitpause=1
[state ]
type=varset
triggerall=ishelper(1001)||ishelper(1002)||ishelper(1003)||ishelper(1051)||ishelper(1052)||ishelper(1053)||ishelper(1071)||ishelper(1072)||ishelper(1073)||ishelper(1074)||ishelper(1075)||ishelper(1076)
trigger1=1
sysvar(0)=stateno
ignorehitpause=1
[state ]
type=varadd
triggerall=ishelper(1001)||ishelper(1002)||ishelper(1003)||ishelper(1051)||ishelper(1052)||ishelper(1053)||ishelper(1071)||ishelper(1072)||ishelper(1073)||ishelper(1074)||ishelper(1075)||ishelper(1076)
trigger1=1
sysvar(1)=1
ignorehitpause=1

[statedef 1003]
anim=40000

;邪眼キラー用
[state ]
type=changestate
triggerall=(sysfvar(0)=256001.0&&sysfvar(0)!=0.0)=0
trigger1=1
value=320000
persistent=256
ignorehitpause=1

;ディメンジョンスフィア共通
[state ]
type=explod
triggerall=ishelper(1001)||ishelper(1002)||ishelper(1003)||ishelper(1051)||ishelper(1052)||ishelper(1053)||ishelper(1071)||ishelper(1072)||ishelper(1073)||ishelper(1074)||ishelper(1075)||ishelper(1076)
trigger1=1
anim=10200
scale=0.6,0.6
pos=0,0
removetime=-2
sprpriority=2147483647
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ishelper(1001)||ishelper(1002)||ishelper(1003)||ishelper(1051)||ishelper(1052)||ishelper(1053)||ishelper(1071)||ishelper(1072)||ishelper(1073)||ishelper(1074)||ishelper(1075)||ishelper(1076)
trigger1=1
anim=10001
scale=0.3,0.3
pos=0,0
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ishelper(1001)||ishelper(1002)||ishelper(1003)||ishelper(1051)||ishelper(1052)||ishelper(1053)||ishelper(1071)||ishelper(1072)||ishelper(1073)||ishelper(1074)||ishelper(1075)||ishelper(1076)
trigger1=1
anim=10004
scale=0.4,0.4
vel=4*cos(0.006283*parent,sysvar(3))-0.5*vel x,4*sin(0.006283*parent,sysvar(3))-0.5*vel y
removetime=-2
sprpriority=2147483647
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1



;座標設定
[state ]
type=posset
triggerall=ishelper(1001)||ishelper(1002)||ishelper(1003)||ishelper(1051)||ishelper(1052)||ishelper(1053)||ishelper(1071)||ishelper(1072)||ishelper(1073)||ishelper(1074)||ishelper(1075)||ishelper(1076)
trigger1=sysvar(1)=0
x=facing*(-160-120+40+random%240)
y=-480
ignorehitpause=1
[state ]
type=velset
triggerall=ishelper(1001)||ishelper(1002)||ishelper(1003)||ishelper(1051)||ishelper(1052)||ishelper(1053)||ishelper(1071)||ishelper(1072)||ishelper(1073)||ishelper(1074)||ishelper(1075)||ishelper(1076)
trigger1=sysvar(1)=0
x=4
y=16
ignorehitpause=1



;ディメンジョンスフィア共通
[state ]
type=varset
triggerall=ishelper(1001)||ishelper(1002)||ishelper(1003)||ishelper(1051)||ishelper(1052)||ishelper(1053)||ishelper(1071)||ishelper(1072)||ishelper(1073)||ishelper(1074)||ishelper(1075)||ishelper(1076)
trigger1=pos y>=0
sysvar(0)=1004
ignorehitpause=1
[state ]
type=varset
triggerall=ishelper(1001)||ishelper(1002)||ishelper(1003)||ishelper(1051)||ishelper(1052)||ishelper(1053)||ishelper(1071)||ishelper(1072)||ishelper(1073)||ishelper(1074)||ishelper(1075)||ishelper(1076)
trigger1=pos y>=0
sysvar(1)=0
ignorehitpause=1
[state ]
type=velset
triggerall=ishelper(1001)||ishelper(1002)||ishelper(1003)||ishelper(1051)||ishelper(1052)||ishelper(1053)||ishelper(1071)||ishelper(1072)||ishelper(1073)||ishelper(1074)||ishelper(1075)||ishelper(1076)
trigger1=pos y>=0
x=0
y=0
ignorehitpause=1
[state ]
type=changestate
triggerall=ishelper(1001)||ishelper(1002)||ishelper(1003)||ishelper(1051)||ishelper(1052)||ishelper(1053)||ishelper(1071)||ishelper(1072)||ishelper(1073)||ishelper(1074)||ishelper(1075)||ishelper(1076)
trigger1=pos y>=0
value=1004
ignorehitpause=1



;タイムタイム
[state ]
type=varset
triggerall=ishelper(1001)||ishelper(1002)||ishelper(1003)||ishelper(1051)||ishelper(1052)||ishelper(1053)||ishelper(1071)||ishelper(1072)||ishelper(1073)||ishelper(1074)||ishelper(1075)||ishelper(1076)
trigger1=1
sysvar(0)=stateno
ignorehitpause=1
[state ]
type=varadd
triggerall=ishelper(1001)||ishelper(1002)||ishelper(1003)||ishelper(1051)||ishelper(1052)||ishelper(1053)||ishelper(1071)||ishelper(1072)||ishelper(1073)||ishelper(1074)||ishelper(1075)||ishelper(1076)
trigger1=1
sysvar(1)=1
ignorehitpause=1

[statedef 1004]
anim=40000

;邪眼キラー用
[state ]
type=changestate
triggerall=(sysfvar(0)=256001.0&&sysfvar(0)!=0.0)=0
trigger1=1
value=320000
persistent=256
ignorehitpause=1



;音響
[state ];ドゥゥゥム・・・
type=playsnd
triggerall=ishelper(1001)||ishelper(1002)||ishelper(1003)||ishelper(1051)||ishelper(1052)||ishelper(1053)||ishelper(1071)||ishelper(1072)||ishelper(1073)||ishelper(1074)||ishelper(1075)||ishelper(1076)||ishelper(1401)
trigger1=sysvar(1)=0
value=s10,1
volume=255
freqmul=0.8
ignorehitpause=1



;画面操作
[state ]
type=assertspecial
triggerall=ishelper(1001)||ishelper(1002)||ishelper(1003)||ishelper(1051)||ishelper(1052)||ishelper(1053)||ishelper(1071)||ishelper(1072)||ishelper(1073)||ishelper(1074)||ishelper(1075)||ishelper(1076)||ishelper(1401)
trigger1=sysvar(1)>=0&&sysvar(1)<=35
flag=nofg
flag2=globalnoshadow
ignorehitpause=1
[state ]
type=envshake
triggerall=ishelper(1001)||ishelper(1002)||ishelper(1003)||ishelper(1051)||ishelper(1052)||ishelper(1053)||ishelper(1071)||ishelper(1072)||ishelper(1073)||ishelper(1074)||ishelper(1075)||ishelper(1076)
trigger1=sysvar(1)>=1&&sysvar(1)<=5
time=2
freq=180
ampl=5*cos(0.3142*sysvar(1))*ifelse(sysvar(1)%2=1,1,-1)
phase=90
ignorehitpause=1
[state ]
type=envshake
triggerall=ishelper(1401)
trigger1=sysvar(1)>=1&&sysvar(1)<=5
time=2
freq=180
ampl=100*cos(0.3142*sysvar(1))*ifelse(sysvar(1)%2=1,1,-1)
phase=90
ignorehitpause=1
[state ]
type=bgpalfx
triggerall=ishelper(1001)||ishelper(1002)||ishelper(1003)||ishelper(1051)||ishelper(1052)||ishelper(1053)||ishelper(1071)||ishelper(1072)||ishelper(1073)||ishelper(1074)||ishelper(1075)||ishelper(1076)||ishelper(1401)
trigger1=sysvar(1)=0
sinadd=255,255,255,40
time=10
ignorehitpause=1
[state ]
type=bgpalfx
triggerall=ishelper(1001)||ishelper(1002)||ishelper(1003)||ishelper(1051)||ishelper(1052)||ishelper(1053)||ishelper(1071)||ishelper(1072)||ishelper(1073)||ishelper(1074)||ishelper(1075)||ishelper(1076)||ishelper(1401)
trigger1=sysvar(1)>=10&&sysvar(1)<=35
add=255,255,255
time=2
ignorehitpause=1
[state ]
type=bgpalfx
triggerall=ishelper(1001)||ishelper(1002)||ishelper(1003)||ishelper(1051)||ishelper(1052)||ishelper(1053)||ishelper(1071)||ishelper(1072)||ishelper(1073)||ishelper(1074)||ishelper(1075)||ishelper(1076)||ishelper(1401)
trigger1=sysvar(1)=35
add=255,255,255
sinadd=-255,-255,-255,200
time=50
ignorehitpause=1



;柱
[state ]
type=explod
triggerall=ishelper(1001)||ishelper(1002)||ishelper(1003)||ishelper(1051)||ishelper(1052)||ishelper(1053)||ishelper(1071)||ishelper(1072)||ishelper(1073)||ishelper(1074)||ishelper(1075)||ishelper(1076)||ishelper(1401)
trigger1=sysvar(1)>=1&&sysvar(1)<=10
anim=10022
scale=0.05*sysvar(1),0.2*sysvar(1)
pos=0,100
removetime=-2
sprpriority=2147483647
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ishelper(1001)||ishelper(1002)||ishelper(1003)||ishelper(1051)||ishelper(1052)||ishelper(1053)||ishelper(1071)||ishelper(1072)||ishelper(1073)||ishelper(1074)||ishelper(1075)||ishelper(1076)||ishelper(1401)
trigger1=sysvar(1)>=11&&sysvar(1)<=30
anim=10022
scale=0.5-0.025*(sysvar(1)-10),2+0.2*(sysvar(1)-10)
pos=0,100
removetime=-2
sprpriority=2147483647
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ishelper(1001)||ishelper(1002)||ishelper(1003)||ishelper(1051)||ishelper(1052)||ishelper(1053)||ishelper(1071)||ishelper(1072)||ishelper(1073)||ishelper(1074)||ishelper(1075)||ishelper(1076)||ishelper(1401)
trigger1=sysvar(1)>=1&&sysvar(1)<=20
anim=10020
trans=addalpha
alpha=256-12.8*sysvar(1),12.8*sysvar(1)
scale=0.1*sysvar(1),0.025*sysvar(1)
pos=0,0
removetime=-2
sprpriority=-2147483647
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ishelper(1001)||ishelper(1002)||ishelper(1003)||ishelper(1051)||ishelper(1052)||ishelper(1053)||ishelper(1071)||ishelper(1072)||ishelper(1073)||ishelper(1074)||ishelper(1075)||ishelper(1076)||ishelper(1401)
trigger1=sysvar(1)>=11&&sysvar(1)<=30
anim=10020
trans=addalpha
alpha=256-12.8*(sysvar(1)-10),12.8*(sysvar(1)-10)
scale=0.1*(sysvar(1)-10),0.025*(sysvar(1)-10)
pos=0,0
removetime=-2
sprpriority=-2147483647
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ishelper(1001)||ishelper(1002)||ishelper(1003)||ishelper(1051)||ishelper(1052)||ishelper(1053)||ishelper(1071)||ishelper(1072)||ishelper(1073)||ishelper(1074)||ishelper(1075)||ishelper(1076)||ishelper(1401)
trigger1=sysvar(1)>=21&&sysvar(1)<=40
anim=10020
trans=addalpha
alpha=256-12.8*(sysvar(1)-20),12.8*(sysvar(1)-20)
scale=0.1*(sysvar(1)-20),0.025*(sysvar(1)-20)
pos=0,0
removetime=-2
sprpriority=-2147483647
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ishelper(1001)||ishelper(1002)||ishelper(1003)||ishelper(1051)||ishelper(1052)||ishelper(1053)||ishelper(1071)||ishelper(1072)||ishelper(1073)||ishelper(1074)||ishelper(1075)||ishelper(1076)||ishelper(1401)
trigger1=sysvar(1)>=1&&sysvar(1)<=15
anim=10004
scale=0.6,0.6
pos=0,100
random=40,0
vel=2.7*cos(random),-12+6*cos(random)
accel=0,-0.1
removetime=-2
sprpriority=2147483647
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ishelper(1001)||ishelper(1002)||ishelper(1003)||ishelper(1051)||ishelper(1052)||ishelper(1053)||ishelper(1071)||ishelper(1072)||ishelper(1073)||ishelper(1074)||ishelper(1075)||ishelper(1076)||ishelper(1401)
trigger1=sysvar(1)>=1&&sysvar(1)<=15
anim=10004
scale=0.6,0.6
pos=0,100
random=40,0
vel=2.7*cos(random),-12+6*cos(random)
accel=0,-0.1
removetime=-2
sprpriority=2147483647
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1



;ひそかに攻撃
[state ]
type=projectile
triggerall=ishelper(1001)||ishelper(1002)||ishelper(1003)||ishelper(1051)||ishelper(1052)||ishelper(1053)||ishelper(1071)||ishelper(1072)||ishelper(1073)||ishelper(1074)||ishelper(1075)||ishelper(1076)||ishelper(1401)
trigger1=sysvar(1)=0
projanim=40150
projremove=0
projremovetime=15
offset=0,0
attr=s,sp
hitflag=maf
guardflag=m
damage=20,0
getpower=10,10
animtype=hard
hitsound=-1
guardsound=-1
sparkno=-1
guard.sparkno=-1
pausetime=0,10
ground.type=high
ground.hittime=21
ground.slidetime=21
ground.velocity=-2,-10
air.type=high
air.hittime=21
air.slidetime=21
air.velocity=-2,-10
fall=1
air.fall=1
palfx.time=60
palfx.add=0,0,0
palfx.mul=50,50,50
palfx.sinadd=100,100,100,15
palfx.color=0
palfx.invertall=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1



;死　　　ね
[state ]
type=destroyself
triggerall=ishelper(1001)||ishelper(1002)||ishelper(1003)||ishelper(1051)||ishelper(1052)||ishelper(1053)||ishelper(1071)||ishelper(1072)||ishelper(1073)||ishelper(1074)||ishelper(1075)||ishelper(1076)||ishelper(1401)
trigger1=sysvar(1)>=40
ignorehitpause=1
[state ]
type=varset
triggerall=ishelper(1001)||ishelper(1002)||ishelper(1003)||ishelper(1051)||ishelper(1052)||ishelper(1053)||ishelper(1071)||ishelper(1072)||ishelper(1073)||ishelper(1074)||ishelper(1075)||ishelper(1076)||ishelper(1401)
trigger1=1
sysvar(0)=stateno
ignorehitpause=1
[state ]
type=varadd
triggerall=ishelper(1001)||ishelper(1002)||ishelper(1003)||ishelper(1051)||ishelper(1052)||ishelper(1053)||ishelper(1071)||ishelper(1072)||ishelper(1073)||ishelper(1074)||ishelper(1075)||ishelper(1076)||ishelper(1401)
trigger1=1
sysvar(1)=1
ignorehitpause=1

;---------------------------------------------------------------------------
;ディメンジョンスフィア強
;cnsレベル:中級

[statedef 1050]
type=s
movetype=a
physics=s
juggle=3
velset=0,0
ctrl=0
sprpriority=3

;邪眼キラー用
[state ]
type=changestate
triggerall=(sysfvar(0)=256001.0&&sysfvar(0)!=0.0)=0
trigger1=1
value=320000
persistent=256
ignorehitpause=1

[state ]
type=changeanim
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=time=0
value=1000
ignorehitpause=1



;音響
[state ];くへっへ
type=playsnd
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(1)=16
value=s7,2
ignorehitpause=1
[state ];びゅゎんびゅゎんびゅゎん
type=playsnd
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(1)=16
trigger2=animelemtime(1)=21
trigger3=animelemtime(1)=26
value=s8,2
ignorehitpause=1



;なんか皮膚に浮き出てくる筋（ビキビキ
[state ]
type=explod
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
triggerall=var(30)=0
trigger1=animelemtime(1)=0
persistent=0
anim=1005
postype=p1
pos=0,0
sprpriority=5
bindtime=-1
removeongethit=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
triggerall=var(30)>0
trigger1=animelemtime(1)=0
persistent=0
anim=1005
postype=p1
pos=0,0
sprpriority=5
bindtime=-1
removeongethit=1
trans=addalpha
alpha=70,256
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1



;発生エフェクト
[state ]
type=explod
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(1)=16
anim=10011
scale=0.1,0.2
pos=50-5,-20
removetime=10
ownpal=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(1)=21
anim=10011
scale=0.1,0.2
pos=100-5,-120
removetime=10
ownpal=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(1)=26
anim=10011
scale=0.1,0.2
pos=75-5,-70
removetime=10
ownpal=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1



;本当はヘルパーなんて使いたくないんだよヽ(`Д´)ﾉ
[state ]
type=helper
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(1)=16
id=1051
stateno=1001
pos=50,-20
helpertype=player
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=helper
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(1)=21
id=1052
stateno=1001
pos=100,-120
helpertype=player
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=helper
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(1)=26
id=1053
stateno=1001
pos=75,-70
helpertype=player
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1



;王の帰還
[state ]
type=selfstate
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animtime=0
value=0
ctrl=1
persistent=256
ignorehitpause=1

;7-12p

[state ]
type=changeanim
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=sysvar(1)=0
value=1000
ignorehitpause=1



;音響
[state ];くへっへ
type=playsnd
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(1)=16
value=s7,2
ignorehitpause=1
[state ];びゅゎんびゅゎんびゅゎん
type=playsnd
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(1)=16
trigger2=animelemtime(1)=21
trigger3=animelemtime(1)=26
value=s8,2
ignorehitpause=1



;なんか皮膚に浮き出てくる筋（ビキビキ
[state ]
type=explod
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
triggerall=var(30)=0
trigger1=animelemtime(1)=0
persistent=0
anim=1005
postype=p1
pos=0,0
sprpriority=5
bindtime=-1
removeongethit=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
triggerall=var(30)>0
trigger1=animelemtime(1)=0
persistent=0
anim=1005
postype=p1
pos=0,0
sprpriority=5
bindtime=-1
removeongethit=1
trans=addalpha
alpha=70,256
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1



;発生エフェクト
[state ]
type=explod
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(1)=16
anim=10011
scale=0.1,0.2
pos=50-5,-20
removetime=10
ownpal=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(1)=21
anim=10011
scale=0.1,0.2
pos=100-5,-120
removetime=10
ownpal=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(1)=26
anim=10011
scale=0.1,0.2
pos=75-5,-70
removetime=10
ownpal=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1



;本当はヘルパーなんて使いたくないんだよヽ(`Д´)ﾉ
[state ]
type=helper
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(1)=16
id=1051
stateno=1001
pos=50,-20
helpertype=player
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=helper
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(1)=21
id=1052
stateno=1001
pos=100,-120
helpertype=player
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=helper
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(1)=26
id=1053
stateno=1001
pos=75,-70
helpertype=player
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1



;王の帰還
[state ]
type=varset
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=1
sysvar(0)=stateno
ignorehitpause=1
[state ]
type=varset
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animtime=0
sysvar(0)=0
ignorehitpause=1
[state ]
type=varset
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=sysvar(0)=0
sysvar(1)=0
ignorehitpause=1
[state ]
type=selfstate
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=sysvar(0)=0
value=0
ctrl=1
persistent=256
ignorehitpause=1
[state ]
type=varadd
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=1
sysvar(1)=1
ignorehitpause=1

;---------------------------------------------------------------------------
;ディメンジョンスフィア神
;cnsレベル:中級

[statedef 1070]
type=s
movetype=a
physics=s
juggle=3
velset=0,0
ctrl=0
sprpriority=3

;邪眼キラー用
[state ]
type=changestate
triggerall=(sysfvar(0)=256001.0&&sysfvar(0)!=0.0)=0
trigger1=1
value=320000
persistent=256
ignorehitpause=1

[state ]
type=changeanim
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=time=0
value=1000
ignorehitpause=1



;音響
[state ];くへっへ
type=playsnd
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(1)=16
value=s7,2
ignorehitpause=1
[state ];びゅゎんびゅゎんびゅゎん
type=playsnd
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(1)=16
trigger2=animelemtime(1)=21
trigger3=animelemtime(1)=26
value=s8,2
ignorehitpause=1



;なんか皮膚に浮き出てくる筋（ビキビキ
[state ]
type=explod
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
triggerall=var(30)=0
trigger1=animelemtime(1)=0
persistent=0
anim=1005
postype=p1
pos=0,0
sprpriority=5
bindtime=-1
removeongethit=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
triggerall=var(30)>0
trigger1=animelemtime(1)=0
persistent=0
anim=1005
postype=p1
pos=0,0
sprpriority=5
bindtime=-1
removeongethit=1
trans=addalpha
alpha=70,256
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1



;発生エフェクト
[state ]
type=explod
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(1)=16
anim=10011
scale=0.2,0.1
pos=40,-100
removetime=10
ownpal=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(1)=21
anim=10011
scale=0.2,0.1
pos=90,-100
removetime=10
ownpal=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(1)=26
anim=10011
scale=0.2,0.1
pos=140,-100
removetime=10
ownpal=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1



;本当はヘルパーなんて使いたくないんだよヽ(`Д´)ﾉ
[state ]
type=helper
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(1)=16
id=1071
stateno=1001
pos=40,-100
helpertype=player
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=helper
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(1)=16
id=1072
stateno=1001
pos=40,-100
helpertype=player
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=helper
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(1)=21
id=1073
stateno=1001
pos=90,-100
helpertype=player
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=helper
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(1)=21
id=1074
stateno=1001
pos=90,-100
helpertype=player
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=helper
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(1)=26
id=1075
stateno=1001
pos=140,-100
helpertype=player
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=helper
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(1)=26
id=1076
stateno=1001
pos=140,-100
helpertype=player
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1



;王の帰還
[state ]
type=selfstate
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animtime=0
value=0
ctrl=1
persistent=256
ignorehitpause=1

;7-12p

[state ]
type=changeanim
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=sysvar(1)=0
value=1000
ignorehitpause=1



;音響
[state ];くへっへ
type=playsnd
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(1)=16
value=s7,2
ignorehitpause=1
[state ];びゅゎんびゅゎんびゅゎん
type=playsnd
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(1)=16
trigger2=animelemtime(1)=21
trigger3=animelemtime(1)=26
value=s8,2
ignorehitpause=1



;なんか皮膚に浮き出てくる筋（ビキビキ
[state ]
type=explod
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
triggerall=var(30)=0
trigger1=animelemtime(1)=0
persistent=0
anim=1005
postype=p1
pos=0,0
sprpriority=5
bindtime=-1
removeongethit=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
triggerall=var(30)>0
trigger1=animelemtime(1)=0
persistent=0
anim=1005
postype=p1
pos=0,0
sprpriority=5
bindtime=-1
removeongethit=1
trans=addalpha
alpha=70,256
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1



;発生エフェクト
[state ]
type=explod
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(1)=16
anim=10011
scale=0.2,0.1
pos=40,-100
removetime=10
ownpal=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(1)=21
anim=10011
scale=0.2,0.1
pos=90,-100
removetime=10
ownpal=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(1)=26
anim=10011
scale=0.2,0.1
pos=140,-100
removetime=10
ownpal=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1



;本当はヘルパーなんて使いたくないんだよヽ(`Д´)ﾉ
[state ]
type=helper
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(1)=16
id=1071
stateno=1001
pos=40,-100
helpertype=player
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=helper
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(1)=16
id=1072
stateno=1001
pos=40,-100
helpertype=player
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=helper
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(1)=21
id=1073
stateno=1001
pos=90,-100
helpertype=player
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=helper
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(1)=21
id=1074
stateno=1001
pos=90,-100
helpertype=player
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=helper
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(1)=26
id=1075
stateno=1001
pos=140,-100
helpertype=player
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=helper
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(1)=26
id=1076
stateno=1001
pos=140,-100
helpertype=player
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1



;王の帰還
[state ]
type=varset
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=1
sysvar(0)=stateno
ignorehitpause=1
[state ]
type=varset
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animtime=0
sysvar(0)=0
ignorehitpause=1
[state ]
type=varset
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=sysvar(0)=0
sysvar(1)=0
ignorehitpause=1
[state ]
type=selfstate
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=sysvar(0)=0
value=0
ctrl=1
persistent=256
ignorehitpause=1
[state ]
type=varadd
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=1
sysvar(1)=1
ignorehitpause=1

;---------------------------------------------------------------------------
;ディメンジョンクロー弱

[statedef 1100]
type=a
movetype=a
physics=s
juggle=5
poweradd=100
velset=0,0
anim=1100
ctrl=0
sprpriority=5

;邪眼キラー用
[state ]
type=changestate
triggerall=(sysfvar(0)=256001.0&&sysfvar(0)!=0.0)=0
trigger1=1
value=320000
persistent=256
ignorehitpause=1



;ムテキング
[state ]
type=nothitby
trigger1=1
value=sca
time=1
ignorehitpause=1



;音響
[state ]
type=playsnd
trigger1=animelemtime(1)=4
value=s10,0
ignorehitpause=1
[state ]
type=playsnd
trigger1=animelemtime(1)=20
value=s7,3
channel=4
ignorehitpause=1
[state ]
type=playsnd
trigger1=animelemtime(1)=23
value=s10,3
ignorehitpause=1
[state ]
type=playsnd
trigger1=animelemtime(1)=23
value=s10,4
ignorehitpause=1



;びーじーぱるふっくす
[state ]
type=assertspecial
trigger1=animelemtime(1)>=20&&animelemtime(15)<=0
flag=nofg
flag2=globalnoshadow
ignorehitpause=1
[state ]
type=bgpalfx
trigger1=animelemtime(1)=0
sinadd=255,255,255,80
time=20
ignorehitpause=1
[state ]
type=bgpalfx
trigger1=animelemtime(1)>=20&&animelemtime(15)<=0
add=255,255,255
time=2
ignorehitpause=1
[state ]
type=bgpalfx
trigger1=animelemtime(15)=0
add=255,255,255
sinadd=-255,-255,-255,300
time=75
ignorehitpause=1



;トランス
[state ]
type=trans
trigger1=animelemtime(1)>=1&&animelemtime(1)<=20
trans=addalpha
alpha=256*cos(0.07854*animelemtime(1)),256*sin(0.07854*animelemtime(1))
ignorehitpause=1
[state ]
type=trans
trigger1=animelemtime(1)>=20&&animelemtime(15)<=0
trans=addalpha
alpha=0,256
ignorehitpause=1
[state ]
type=trans
trigger1=animelemtime(15)>=1&&animelemtime(15)<=20
trans=addalpha
alpha=256*sin(0.07854*animelemtime(15)),256*cos(0.07854*animelemtime(15))
ignorehitpause=1



;座標関係
[state ]
type=playerpush
trigger1=animelemtime(1)>=20&&animelemtime(15)<=0
value=0
ignorehitpause=1



;闇ゾーン・・・
[state ]
type=explod
trigger1=animelemtime(1)>=6&&animelemtime(1)<=25
anim=10020
scale=0.25*sin(0.07854*(animelemtime(1)-5)),1*sin(0.07854*(animelemtime(1)-5))
pos=133,-100
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
trigger1=animelemtime(1)>=6&&animelemtime(1)<=25
anim=10020
scale=0.25*sin(0.07854*(animelemtime(1)-5)),1*sin(0.07854*(animelemtime(1)-5))
pos=133,-100
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
trigger1=animelemtime(1)>=26&&animelemtime(15)<=0
anim=10020
scale=0.25,1
pos=133,-100
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
trigger1=animelemtime(1)>=26&&animelemtime(15)<=0
anim=10020
scale=0.25,1
pos=133,-100
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
trigger1=animelemtime(15)>=1&&animelemtime(15)<=20
anim=10020
scale=0.25*cos(0.07854*animelemtime(15)),1*cos(0.07854*animelemtime(15))
pos=133,-100
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
trigger1=animelemtime(15)>=1&&animelemtime(15)<=20
anim=10020
scale=0.25*cos(0.07854*animelemtime(15)),1*cos(0.07854*animelemtime(15))
pos=133,-100
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1



;闇ゾーンから迸る（？）闇
[state ]
type=explod
trigger1=animelemtime(1)>=16&&animelemtime(15)<=0
anim=10203
scale=0.4,0.4
pos=133+floor(20*cos(sysvar(3))),-100+floor(80*sin(sysvar(3)))
vel=6,1-(random%3)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1



;手がー！？
[state ]
type=explod
trigger1=animelemtime(1)=20
id=1100
anim=1115
pos=100,0
removetime=-2
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1



;攻撃本体
[state ]
type=projectile
trigger1=animelemtime(13)=0
projanim=51100
projremove=1
projremovetime=11
projid=51100
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
attr=s,st
hitflag=mafd
priority=1,miss
sparkno=s4040
sparkxy=161,-103
p1sprpriority=8
p2sprpriority=7
p2facing=1
p2stateno=1102
fall=1
numhits=0
ignorehitpause=1



;ステート移動
[state ]
type=selfstate
trigger1=ishelper(100000)
trigger1=root,projhittime(51100)=1
value=1101
ignorehitpause=1
[state ]
type=selfstate
trigger1=!ishelper(100000)
trigger1=projhittime(51100)=1
value=1101
ignorehitpause=1



;帰還
[state ]
type=changestate
trigger1=animtime=0
value=0
ctrl=1
persistent=256
ignorehitpause=1

[statedef 1101]
type=a
movetype=a
physics=s
juggle=0
poweradd=0
velset=0,0
anim=30250
ctrl=0

;邪眼キラー用
[state ]
type=changestate
triggerall=(sysfvar(0)=256001.0&&sysfvar(0)!=0.0)=0
trigger1=1
value=320000
persistent=256
ignorehitpause=1



;こわい音響
[state ]
type=playsnd
trigger1=animelemtime(1)=0
value=s10,1
ignorehitpause=1
[state ]
type=playsnd
trigger1=animelemtime(1)=20
value=s10,5
volume=255
ignorehitpause=1
[state ]
type=playsnd
trigger1=animelemtime(1)>=41&&animelemtime(1)<=80
trigger1=animelemtime(1)%5=1
value=s10,24
channel=1
ignorehitpause=1
[state ]
type=playsnd
trigger1=animelemtime(1)=80
value=s10,3
ignorehitpause=1
[state ]
type=playsnd
trigger1=animelemtime(1)=80
value=s10,4
ignorehitpause=1



;がめーん・・・
[state ]
type=assertspecial
trigger1=animelemtime(1)>=0&&animelemtime(1)<=120
flag=nofg
flag2=globalnoshadow
ignorehitpause=1
[state ]
type=envcolor
trigger1=animelemtime(1)>=41&&animelemtime(1)<=80
trigger1=animelemtime(1)%5=1
value=255,0,0
time=2
ignorehitpause=1
[state ]
type=bgpalfx
trigger1=animelemtime(1)>=0&&animelemtime(1)<=120
add=255,255,255
time=2
ignorehitpause=1
[state ]
type=bgpalfx
trigger1=animelemtime(1)=120
add=255,255,255
sinadd=-255,-255,-255,300
time=75
ignorehitpause=1



;トランス
[state ]
type=trans
trigger1=animelemtime(2)>=0&&animelemtime(2)<=39
trans=addalpha
alpha=256*sin(0.03927*(animelemtime(2)+1)),256*cos(0.03927*(animelemtime(2)+1))
ignorehitpause=1



;闇ゾーン
[state ]
type=explod
trigger1=animelemtime(1)>=0&&animelemtime(1)<=39
anim=10020
scale=0.25*cos(0.03927*(animelemtime(1)+1)),1*cos(0.03927*(animelemtime(1)+1))
pos=133,-100
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
trigger1=animelemtime(1)>=0&&animelemtime(1)<=39
anim=10020
scale=0.25*cos(0.03927*(animelemtime(1)+1)),1*cos(0.03927*(animelemtime(1)+1))
pos=133,-100
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
trigger1=animelemtime(1)>=81&&animelemtime(1)<=160
anim=10020
scale=1*sin(0.03927*(animelemtime(1)-80)),0.25*sin(0.03927*(animelemtime(1)-80))
pos=133,0
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
trigger1=animelemtime(1)>=81&&animelemtime(1)<=160
anim=10020
scale=1*sin(0.03927*(animelemtime(1)-80)),0.25*sin(0.03927*(animelemtime(1)-80))
pos=133,0
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1



;闇ゾーンから迸る（？）闇
[state ]
type=explod
trigger1=animelemtime(1)>=91&&animelemtime(1)<=140
anim=10203
scale=0.4,0.4
pos=133+floor(80*cos(sysvar(3))),floor(20*sin(sysvar(3)))
vel=1-(random%3),-6
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1



;手を消す
[state ]
type=removeexplod
trigger1=animelemtime(1)=0
id=1100
ignorehitpause=1



;帰還
[state ]
type=changestate
trigger1=animtime=0
value=0
ctrl=1
persistent=256
ignorehitpause=1

[statedef 1102]
type=a
movetype=h
physics=n
velset=0,0

;邪眼キラー用
[state ]
type=changestate
triggerall=(sysfvar(0)=256001.0&&sysfvar(0)!=0.0)=0
trigger1=enemy(0),sysfvar(0)=256001.0&&enemy(0),sysfvar(0)!=0.0
trigger1=enemy(0),palno>=7&&enemy(0),palno<=12
trigger1=enemy(0),sysvar(2)=floor(2.0**1)*floor(enemy(0),sysvar(2)/floor(2.0**1))+enemy(0),sysvar(2)%floor(2.0**0)+floor(2.0**0)
trigger2=enemy(1),sysfvar(0)=256001.0&&enemy(1),sysfvar(0)!=0.0
trigger2=enemy(1),palno>=7&&enemy(1),palno<=12
trigger2=enemy(1),sysvar(2)=floor(2.0**1)*floor(enemy(1),sysvar(2)/floor(2.0**1))+enemy(1),sysvar(2)%floor(2.0**0)+floor(2.0**0)
value=320000
persistent=256
ignorehitpause=1

;アニメ
[state ]
type=changeanim2
trigger1=time=0
value=20020
ignorehitpause=1
[state ]
type=changeanim
trigger1=time=80
trigger1=selfanimexist(5052)
value=5052
ignorehitpause=1
[state ]
type=changeanim2
trigger1=time=80
trigger1=!selfanimexist(5052)
value=20030
ignorehitpause=1
[state ]
type=changeanim
trigger1=time=100
trigger1=selfanimexist(5062)
value=5062
ignorehitpause=1
[state ]
type=changeanim2
trigger1=time=100
trigger1=!selfanimexist(5062)
value=20040
ignorehitpause=1
[state ]
type=nothitby
trigger1=1
value=sca
time=1
ignorehitpause=1

;透過
[state ]
type=trans
trigger1=time>=1&&time<=40
trans=addalpha
alpha=256*cos(0.03927*time),256*sin(0.03927*time)
ignorehitpause=1

;画面
[state ]
type=screenbound
trigger1=1
value=1
movecamera=1,0
ignorehitpause=1
[state ]
type=posset
trigger1=time=0
x=ifelse(numenemy=1,enemy(0),pos x+164*enemy(0),facing,ifelse(enemy(0),name="G-Magaki_v2",enemy(0),pos x+164*enemy(0),facing,enemy(1),pos x+164*enemy(0),facing))
y=-100
ignorehitpause=1
[state ]
type=posadd
trigger1=time>=1&&time<=40
x=0.5
y=0
ignorehitpause=1
[state ]
type=posset
trigger1=time=80
y=-const(size.mid.pos.y)
ignorehitpause=1
[state ]
type=velset
trigger1=time=80
x=-2
y=-14
ignorehitpause=1
[state ]
type=veladd
trigger1=time>=80
y=0.4
ignorehitpause=1

;ライフ減少
[state ]
type=lifeadd
trigger1=time>=41&&time<=75
trigger1=time%5=1
value=-19
kill=0
ignorehitpause=1
[state ]
type=lifeadd
trigger1=time>=76&&time<=80
trigger1=time%5=1
value=-19
kill=1
ignorehitpause=1

;リリィィイイス
[state ]
type=selfstate
trigger1=vel y>0
trigger1=pos y>=0
trigger1=time>=100
value=5100
persistent=256
ignorehitpause=1
[state ]
type=selfstate
trigger1=time>=301
value=5050
persistent=256
ignorehitpause=1

;---------------------------------------------------------------------------
;ディメンジョンクロー強

[statedef 1150]
type=a
movetype=a
physics=s
juggle=5
poweradd=100
velset=0,0
anim=1180
ctrl=0
sprpriority=5

;邪眼キラー用
[state ]
type=changestate
triggerall=(sysfvar(0)=256001.0&&sysfvar(0)!=0.0)=0
trigger1=1
value=320000
persistent=256
ignorehitpause=1



;ムテキング
[state ]
type=nothitby
trigger1=1
value=sca
time=1
ignorehitpause=1



;音響
[state ]
type=playsnd
trigger1=animelemtime(1)=4
value=s10,0
ignorehitpause=1
[state ]
type=playsnd
trigger1=animelemtime(1)=20
value=s7,3
channel=4
ignorehitpause=1
[state ]
type=playsnd
trigger1=animelemtime(1)=23
value=s10,3
ignorehitpause=1
[state ]
type=playsnd
trigger1=animelemtime(1)=23
value=s10,4
ignorehitpause=1



;びーじーぱるふっくす
[state ]
type=assertspecial
trigger1=animelemtime(1)>=20&&animelemtime(15)<=0
flag=nofg
flag2=globalnoshadow
ignorehitpause=1
[state ]
type=bgpalfx
trigger1=animelemtime(1)=0
sinadd=255,255,255,80
time=20
ignorehitpause=1
[state ]
type=bgpalfx
trigger1=animelemtime(1)>=20&&animelemtime(15)<=0
add=255,255,255
time=2
ignorehitpause=1
[state ]
type=bgpalfx
trigger1=animelemtime(15)=0
add=255,255,255
sinadd=-255,-255,-255,300
time=75
ignorehitpause=1



;トランス
[state ]
type=trans
trigger1=animelemtime(1)>=1&&animelemtime(1)<=20
trans=addalpha
alpha=256*cos(0.07854*animelemtime(1)),256*sin(0.07854*animelemtime(1))
ignorehitpause=1
[state ]
type=trans
trigger1=animelemtime(1)>=20&&animelemtime(15)<=0
trans=addalpha
alpha=0,256
ignorehitpause=1
[state ]
type=trans
trigger1=animelemtime(15)>=1&&animelemtime(15)<=20
trans=addalpha
alpha=256*sin(0.07854*animelemtime(15)),256*cos(0.07854*animelemtime(15))
ignorehitpause=1



;闇ゾーン・・・
[state ]
type=explod
trigger1=animelemtime(1)>=6&&animelemtime(1)<=25
anim=10020
scale=0.25*sin(0.07854*(animelemtime(1)-5)),1*sin(0.07854*(animelemtime(1)-5))
pos=233,-100
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
trigger1=animelemtime(1)>=6&&animelemtime(1)<=25
anim=10020
scale=0.25*sin(0.07854*(animelemtime(1)-5)),1*sin(0.07854*(animelemtime(1)-5))
pos=233,-100
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
trigger1=animelemtime(1)>=26&&animelemtime(15)<=0
anim=10020
scale=0.25,1
pos=233,-100
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
trigger1=animelemtime(1)>=26&&animelemtime(15)<=0
anim=10020
scale=0.25,1
pos=233,-100
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
trigger1=animelemtime(15)>=1&&animelemtime(15)<=20
anim=10020
scale=0.25*cos(0.07854*animelemtime(15)),1*cos(0.07854*animelemtime(15))
pos=233,-100
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
trigger1=animelemtime(15)>=1&&animelemtime(15)<=20
anim=10020
scale=0.25*cos(0.07854*animelemtime(15)),1*cos(0.07854*animelemtime(15))
pos=233,-100
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1



;闇ゾーンから迸る（？）闇
[state ]
type=explod
trigger1=animelemtime(1)>=16&&animelemtime(15)<=0
anim=10203
scale=0.4,0.4
pos=233+floor(20*cos(sysvar(3))),-100+floor(80*sin(sysvar(3)))
vel=6,1-(random%3)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1



;手がー！？
[state ]
type=explod
trigger1=animelemtime(1)=20
id=1100
anim=1115
pos=200,0
removetime=-2
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1



;攻撃本体
[state ]
type=projectile
trigger1=animelemtime(13)=0
projanim=51180
projremove=1
projremovetime=11
projid=51180
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
attr=s,st
hitflag=mafd
priority=1,miss
sparkno=s4040
sparkxy=261,-103
p1sprpriority=8
p2sprpriority=7
p2facing=1
p2stateno=1152
fall=1
numhits=0
ignorehitpause=1



;ステート移動
[state ]
type=selfstate
trigger1=ishelper(100000)
trigger1=root,projhittime(51180)=1
value=1151
ignorehitpause=1
[state ]
type=selfstate
trigger1=!ishelper(100000)
trigger1=projhittime(51180)=1
value=1151
ignorehitpause=1



;帰還
[state ]
type=changestate
trigger1=animtime=0
value=0
ctrl=1
persistent=256
ignorehitpause=1

[statedef 1151]
type=a
movetype=a
physics=s
juggle=0
poweradd=0
velset=0,0
anim=30250
ctrl=0

;邪眼キラー用
[state ]
type=changestate
triggerall=(sysfvar(0)=256001.0&&sysfvar(0)!=0.0)=0
trigger1=1
value=320000
persistent=256
ignorehitpause=1



;こわい音響
[state ]
type=playsnd
trigger1=animelemtime(1)=0
value=s10,1
ignorehitpause=1
[state ]
type=playsnd
trigger1=animelemtime(1)=20
value=s10,5
volume=255
ignorehitpause=1
[state ]
type=playsnd
trigger1=animelemtime(1)>=41&&animelemtime(1)<=80
trigger1=animelemtime(1)%5=1
value=s10,24
channel=1
ignorehitpause=1
[state ]
type=playsnd
trigger1=animelemtime(1)=80
value=s10,3
ignorehitpause=1
[state ]
type=playsnd
trigger1=animelemtime(1)=80
value=s10,4
ignorehitpause=1



;がめーん・・・
[state ]
type=assertspecial
trigger1=animelemtime(1)>=0&&animelemtime(1)<=120
flag=nofg
flag2=globalnoshadow
ignorehitpause=1
[state ]
type=envcolor
trigger1=animelemtime(1)>=41&&animelemtime(1)<=80
trigger1=animelemtime(1)%5=1
value=255,0,0
time=2
ignorehitpause=1
[state ]
type=bgpalfx
trigger1=animelemtime(1)>=0&&animelemtime(1)<=120
add=255,255,255
time=2
ignorehitpause=1
[state ]
type=bgpalfx
trigger1=animelemtime(1)=120
add=255,255,255
sinadd=-255,-255,-255,300
time=75
ignorehitpause=1



;トランス
[state ]
type=trans
trigger1=animelemtime(2)>=0&&animelemtime(2)<=39
trans=addalpha
alpha=256*sin(0.03927*(animelemtime(2)+1)),256*cos(0.03927*(animelemtime(2)+1))
ignorehitpause=1



;闇ゾーン
[state ]
type=explod
trigger1=animelemtime(1)>=0&&animelemtime(1)<=39
anim=10020
scale=0.25*cos(0.03927*(animelemtime(1)+1)),1*cos(0.03927*(animelemtime(1)+1))
pos=233,-100
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
trigger1=animelemtime(1)>=0&&animelemtime(1)<=39
anim=10020
scale=0.25*cos(0.03927*(animelemtime(1)+1)),1*cos(0.03927*(animelemtime(1)+1))
pos=233,-100
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
trigger1=animelemtime(1)>=81&&animelemtime(1)<=160
anim=10020
scale=1*sin(0.03927*(animelemtime(1)-80)),0.25*sin(0.03927*(animelemtime(1)-80))
pos=233,0
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
trigger1=animelemtime(1)>=81&&animelemtime(1)<=160
anim=10020
scale=1*sin(0.03927*(animelemtime(1)-80)),0.25*sin(0.03927*(animelemtime(1)-80))
pos=233,0
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1



;闇ゾーンから迸る（？）闇
[state ]
type=explod
trigger1=animelemtime(1)>=91&&animelemtime(1)<=140
anim=10203
scale=0.4,0.4
pos=233+floor(80*cos(sysvar(3))),floor(20*sin(sysvar(3)))
vel=1-(random%3),-6
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1



;手を消す
[state ]
type=removeexplod
trigger1=animelemtime(1)=0
id=1100
ignorehitpause=1



;帰還
[state ]
type=changestate
trigger1=animtime=0
value=0
ctrl=1
persistent=256
ignorehitpause=1

[statedef 1152]
type=a
movetype=h
physics=n
velset=0,0

;邪眼キラー用
[state ]
type=changestate
triggerall=(sysfvar(0)=256001.0&&sysfvar(0)!=0.0)=0
trigger1=enemy(0),sysfvar(0)=256001.0&&enemy(0),sysfvar(0)!=0.0
trigger1=enemy(0),palno>=7&&enemy(0),palno<=12
trigger1=enemy(0),sysvar(2)=floor(2.0**1)*floor(enemy(0),sysvar(2)/floor(2.0**1))+enemy(0),sysvar(2)%floor(2.0**0)+floor(2.0**0)
trigger2=enemy(1),sysfvar(0)=256001.0&&enemy(1),sysfvar(0)!=0.0
trigger2=enemy(1),palno>=7&&enemy(1),palno<=12
trigger2=enemy(1),sysvar(2)=floor(2.0**1)*floor(enemy(1),sysvar(2)/floor(2.0**1))+enemy(1),sysvar(2)%floor(2.0**0)+floor(2.0**0)
value=320000
persistent=256
ignorehitpause=1

;アニメ
[state ]
type=changeanim2
trigger1=time=0
value=20020
ignorehitpause=1
[state ]
type=changeanim
trigger1=time=80
trigger1=selfanimexist(5052)
value=5052
ignorehitpause=1
[state ]
type=changeanim2
trigger1=time=80
trigger1=!selfanimexist(5052)
value=20030
ignorehitpause=1
[state ]
type=changeanim
trigger1=time=100
trigger1=selfanimexist(5062)
value=5062
ignorehitpause=1
[state ]
type=changeanim2
trigger1=time=100
trigger1=!selfanimexist(5062)
value=20040
ignorehitpause=1
[state ]
type=nothitby
trigger1=1
value=sca
time=1
ignorehitpause=1

;透過
[state ]
type=trans
trigger1=time>=1&&time<=40
trans=addalpha
alpha=256*cos(0.03927*time),256*sin(0.03927*time)
ignorehitpause=1

;画面
[state ]
type=screenbound
trigger1=1
value=1
movecamera=1,0
ignorehitpause=1
[state ]
type=posset
trigger1=time=0
x=ifelse(numenemy=1,enemy(0),pos x+264*enemy(0),facing,ifelse(enemy(0),name="G-Magaki_v2",enemy(0),pos x+264*enemy(0),facing,enemy(1),pos x+264*enemy(0),facing))
y=-100
ignorehitpause=1
[state ]
type=posadd
trigger1=time>=1&&time<=40
x=0.5
y=0
ignorehitpause=1
[state ]
type=posset
trigger1=time=80
y=-const(size.mid.pos.y)
ignorehitpause=1
[state ]
type=velset
trigger1=time=80
x=-2
y=-14
ignorehitpause=1
[state ]
type=veladd
trigger1=time>=80
y=0.4
ignorehitpause=1

;ライフ減少
[state ]
type=lifeadd
trigger1=time>=41&&time<=75
trigger1=time%5=1
value=-19
kill=0
ignorehitpause=1
[state ]
type=lifeadd
trigger1=time>=76&&time<=80
trigger1=time%5=1
value=-19
kill=1
ignorehitpause=1

;リリィィイイス
[state ]
type=selfstate
trigger1=vel y>0
trigger1=pos y>=0
trigger1=time>=100
value=5100
persistent=256
ignorehitpause=1
[state ]
type=selfstate
trigger1=time>=301
value=5050
persistent=256
ignorehitpause=1

;---------------------------------------------------------------------------
;エクスプローディングスフィア弱
;cnsレベル:中級

[statedef 1200]
type=s
movetype=a
physics=s
juggle=5
velset=0,0
ctrl=0
sprpriority=1

;邪眼キラー用
[state ]
type=changestate
triggerall=(sysfvar(0)=256001.0&&sysfvar(0)!=0.0)=0
trigger1=1
value=320000
persistent=256
ignorehitpause=1

[state ]
type=changeanim
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=time=0
value=1200
ignorehitpause=1



;音響
[state ];爆発
type=playsnd
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(1)=11
value=s7,1
channel=4
ignorehitpause=1
[state ];ボムンッ☆
type=playsnd
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(1)=12
trigger2=animelemtime(1)=14
trigger3=animelemtime(1)=16
value=s8,1
ignorehitpause=1



;なんか皮膚に浮き出てくる筋（ビキビキ
[state ]
type=explod
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
triggerall=var(30)=0
trigger1=animelemtime(1)=0
persistent=0
anim=1205
postype=p1
pos=0,0
sprpriority=2
bindtime=-1
removeongethit=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
triggerall=var(30)>0
trigger1=animelemtime(1)=0
persistent=0
anim=1205
postype=p1
pos=0,0
sprpriority=2
bindtime=-1
removeongethit=1
trans=addalpha
alpha=70,256
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1



;爆発のエフェクト
[state ]
type=explod
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(1)=12
anim=10000
scale=0.7,0.7
pos=20,-80
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(1)=13
anim=10000
scale=0.7,0.7
pos=60,-160
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(1)=14
anim=10000
scale=0.7,0.7
pos=30,-20
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(1)=15
anim=10000
scale=0.7,0.7
pos=30,-130
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(1)=16
anim=10000
scale=0.7,0.7
pos=50,-55
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(1)=12
anim=10000
scale=0.7,0.7
pos=20,-80
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(1)=13
anim=10000
scale=0.7,0.7
pos=60,-160
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(1)=14
anim=10000
scale=0.7,0.7
pos=30,-20
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(1)=15
anim=10000
scale=0.7,0.7
pos=30,-130
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(1)=16
anim=10000
scale=0.7,0.7
pos=50,-55
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(1)=12
anim=10000
scale=0.7,0.7
pos=20,-80
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(1)=13
anim=10000
scale=0.7,0.7
pos=60,-160
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(1)=14
anim=10000
scale=0.7,0.7
pos=30,-20
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(1)=15
anim=10000
scale=0.7,0.7
pos=30,-130
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(1)=16
anim=10000
scale=0.7,0.7
pos=50,-55
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(1)=12
anim=10000
scale=0.7,0.7
pos=20,-80
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(1)=13
anim=10000
scale=0.7,0.7
pos=60,-160
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(1)=14
anim=10000
scale=0.7,0.7
pos=30,-20
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(1)=15
anim=10000
scale=0.7,0.7
pos=30,-130
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(1)=16
anim=10000
scale=0.7,0.7
pos=50,-55
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(1)=12
anim=10000
scale=0.7,0.7
pos=20,-80
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(1)=13
anim=10000
scale=0.7,0.7
pos=60,-160
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(1)=14
anim=10000
scale=0.7,0.7
pos=30,-20
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(1)=15
anim=10000
scale=0.7,0.7
pos=30,-130
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(1)=16
anim=10000
scale=0.7,0.7
pos=50,-55
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(1)=12
anim=10000
scale=0.7,0.7
pos=20,-80
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(1)=13
anim=10000
scale=0.7,0.7
pos=60,-160
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(1)=14
anim=10000
scale=0.7,0.7
pos=30,-20
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(1)=15
anim=10000
scale=0.7,0.7
pos=30,-130
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(1)=16
anim=10000
scale=0.7,0.7
pos=50,-55
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(1)=12
anim=10000
scale=0.7,0.7
pos=20,-80
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(1)=13
anim=10000
scale=0.7,0.7
pos=60,-160
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(1)=14
anim=10000
scale=0.7,0.7
pos=30,-20
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(1)=15
anim=10000
scale=0.7,0.7
pos=30,-130
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(1)=16
anim=10000
scale=0.7,0.7
pos=50,-55
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(1)=12
anim=10000
scale=0.7,0.7
pos=20,-80
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(1)=13
anim=10000
scale=0.7,0.7
pos=60,-160
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(1)=14
anim=10000
scale=0.7,0.7
pos=30,-20
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(1)=15
anim=10000
scale=0.7,0.7
pos=30,-130
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(1)=16
anim=10000
scale=0.7,0.7
pos=50,-55
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(1)=12
anim=10000
scale=0.7,0.7
pos=20,-80
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(1)=13
anim=10000
scale=0.7,0.7
pos=60,-160
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(1)=14
anim=10000
scale=0.7,0.7
pos=30,-20
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(1)=15
anim=10000
scale=0.7,0.7
pos=30,-130
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(1)=16
anim=10000
scale=0.7,0.7
pos=50,-55
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(1)=12
anim=10000
scale=0.7,0.7
pos=20,-80
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(1)=13
anim=10000
scale=0.7,0.7
pos=60,-160
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(1)=14
anim=10000
scale=0.7,0.7
pos=30,-20
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(1)=15
anim=10000
scale=0.7,0.7
pos=30,-130
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(1)=16
anim=10000
scale=0.7,0.7
pos=50,-55
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(1)=12
anim=10000
scale=0.7,0.7
pos=20,-80
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(1)=13
anim=10000
scale=0.7,0.7
pos=60,-160
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(1)=14
anim=10000
scale=0.7,0.7
pos=30,-20
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(1)=15
anim=10000
scale=0.7,0.7
pos=30,-130
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(1)=16
anim=10000
scale=0.7,0.7
pos=50,-55
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(1)=12
anim=10000
scale=0.7,0.7
pos=20,-80
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(1)=13
anim=10000
scale=0.7,0.7
pos=60,-160
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(1)=14
anim=10000
scale=0.7,0.7
pos=30,-20
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(1)=15
anim=10000
scale=0.7,0.7
pos=30,-130
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(1)=16
anim=10000
scale=0.7,0.7
pos=50,-55
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(1)=12
anim=10000
scale=0.7,0.7
pos=20,-80
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(1)=13
anim=10000
scale=0.7,0.7
pos=60,-160
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(1)=14
anim=10000
scale=0.7,0.7
pos=30,-20
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(1)=15
anim=10000
scale=0.7,0.7
pos=30,-130
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(1)=16
anim=10000
scale=0.7,0.7
pos=50,-55
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(1)=12
anim=10000
scale=0.7,0.7
pos=20,-80
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(1)=13
anim=10000
scale=0.7,0.7
pos=60,-160
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(1)=14
anim=10000
scale=0.7,0.7
pos=30,-20
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(1)=15
anim=10000
scale=0.7,0.7
pos=30,-130
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(1)=16
anim=10000
scale=0.7,0.7
pos=50,-55
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(1)=12
anim=10000
scale=0.7,0.7
pos=20,-80
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(1)=13
anim=10000
scale=0.7,0.7
pos=60,-160
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(1)=14
anim=10000
scale=0.7,0.7
pos=30,-20
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(1)=15
anim=10000
scale=0.7,0.7
pos=30,-130
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(1)=16
anim=10000
scale=0.7,0.7
pos=50,-55
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1



;攻撃本体
[state ]
type=projectile
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(1)=12
projid=1200
projanim=40070
projremove=0
projpriority=1
projhitanim=-1
projremanim=-1
projsprpriority=4
projshadow=0,0,0
projremovetime=24
numhits=2
getpower=20
ownpal=0
offset=20,-80
velocity=0,0
attr=s,sp
animtype=up
damage=20,4
hitflag=maf
guardflag=m
hitsound=s1,1
guardsound=s2,1
pausetime=0,3
sparkno=s4020
guard.sparkno=s4120
sparkxy=20,0
ground.type=high
ground.hittime=20
ground.slidetime=20
ground.velocity=-4.5,-4.8
air.juggle=2
air.velocity=-4.5,-4.8
fall=1
fall.recover=0
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=projectile
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(1)=13
projid=1200
projanim=40070
projremove=0
projpriority=1
projhitanim=-1
projremanim=-1
projsprpriority=4
projshadow=0,0,0
projremovetime=24
numhits=2
getpower=20
ownpal=0
offset=60,-160
velocity=0,0
attr=s,sp
animtype=up
damage=20,4
hitflag=maf
guardflag=m
hitsound=s1,1
guardsound=s2,1
pausetime=0,3
sparkno=s4020
guard.sparkno=s4120
sparkxy=20,0
ground.type=high
ground.hittime=20
ground.slidetime=20
ground.velocity=-4.5,-4.8
air.juggle=2
air.velocity=-4.5,-4.8
fall=1
fall.recover=0
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=projectile
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(1)=14
projid=1200
projanim=40070
projremove=0
projpriority=1
projhitanim=-1
projremanim=-1
projsprpriority=4
projshadow=0,0,0
projremovetime=24
numhits=2
getpower=20
ownpal=0
offset=30,-20
velocity=0,0
attr=s,sp
animtype=up
damage=20,4
hitflag=maf
guardflag=m
hitsound=s1,1
guardsound=s2,1
pausetime=0,3
sparkno=s4020
guard.sparkno=s4120
sparkxy=20,0
ground.type=high
ground.hittime=20
ground.slidetime=20
ground.velocity=-4.5,-4.8
air.juggle=2
air.velocity=-4.5,-4.8
fall=1
fall.recover=0
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=projectile
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(1)=15
projid=1200
projanim=40070
projremove=0
projpriority=1
projhitanim=-1
projremanim=-1
projsprpriority=4
projshadow=0,0,0
projremovetime=24
numhits=2
getpower=20
ownpal=0
offset=30,-130
velocity=0,0
attr=s,sp
animtype=up
damage=20,4
hitflag=maf
guardflag=m
hitsound=s1,1
guardsound=s2,1
pausetime=0,3
sparkno=s4020
guard.sparkno=s4120
sparkxy=20,0
ground.type=high
ground.hittime=20
ground.slidetime=20
ground.velocity=-4.5,-4.8
air.juggle=2
air.velocity=-4.5,-4.8
fall=1
fall.recover=0
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=projectile
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(1)=16
projid=1200
projanim=40070
projremove=0
projpriority=1
projhitanim=-1
projremanim=-1
projsprpriority=4
projshadow=0,0,0
projremovetime=24
numhits=2
getpower=20
ownpal=0
offset=50,-55
velocity=0,0
attr=s,sp
animtype=up
damage=20,4
hitflag=maf
guardflag=m
hitsound=s1,1
guardsound=s2,1
pausetime=0,3
sparkno=s4020
guard.sparkno=s4120
sparkxy=20,0
ground.type=high
ground.hittime=20
ground.slidetime=20
ground.velocity=-4.5,-4.8
air.juggle=2
air.velocity=-4.5,-4.8
fall=1
fall.recover=0
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1



;王の帰還
[state ]
type=selfstate
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animtime=0
value=0
ctrl=1
persistent=256
ignorehitpause=1

;7-12p

[state ]
type=changeanim
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=sysvar(1)=0
value=1200
ignorehitpause=1



;音響
[state ];爆発
type=playsnd
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(1)=11
value=s7,1
channel=4
ignorehitpause=1
[state ];ボムンッ☆
type=playsnd
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(1)=12
trigger2=animelemtime(1)=14
trigger3=animelemtime(1)=16
value=s8,1
ignorehitpause=1



;なんか皮膚に浮き出てくる筋（ビキビキ
[state ]
type=explod
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
triggerall=var(30)=0
trigger1=animelemtime(1)=0
persistent=0
anim=1205
postype=p1
pos=0,0
sprpriority=2
bindtime=-1
removeongethit=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
triggerall=var(30)>0
trigger1=animelemtime(1)=0
persistent=0
anim=1205
postype=p1
pos=0,0
sprpriority=2
bindtime=-1
removeongethit=1
trans=addalpha
alpha=70,256
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1



;爆発のエフェクト
[state ]
type=explod
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(1)=12
anim=10000
scale=0.7,0.7
pos=20,-80
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(1)=13
anim=10000
scale=0.7,0.7
pos=60,-160
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(1)=14
anim=10000
scale=0.7,0.7
pos=30,-20
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(1)=15
anim=10000
scale=0.7,0.7
pos=30,-130
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(1)=16
anim=10000
scale=0.7,0.7
pos=50,-55
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(1)=12
anim=10000
scale=0.7,0.7
pos=20,-80
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(1)=13
anim=10000
scale=0.7,0.7
pos=60,-160
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(1)=14
anim=10000
scale=0.7,0.7
pos=30,-20
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(1)=15
anim=10000
scale=0.7,0.7
pos=30,-130
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(1)=16
anim=10000
scale=0.7,0.7
pos=50,-55
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(1)=12
anim=10000
scale=0.7,0.7
pos=20,-80
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(1)=13
anim=10000
scale=0.7,0.7
pos=60,-160
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(1)=14
anim=10000
scale=0.7,0.7
pos=30,-20
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(1)=15
anim=10000
scale=0.7,0.7
pos=30,-130
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(1)=16
anim=10000
scale=0.7,0.7
pos=50,-55
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(1)=12
anim=10000
scale=0.7,0.7
pos=20,-80
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(1)=13
anim=10000
scale=0.7,0.7
pos=60,-160
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(1)=14
anim=10000
scale=0.7,0.7
pos=30,-20
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(1)=15
anim=10000
scale=0.7,0.7
pos=30,-130
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(1)=16
anim=10000
scale=0.7,0.7
pos=50,-55
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(1)=12
anim=10000
scale=0.7,0.7
pos=20,-80
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(1)=13
anim=10000
scale=0.7,0.7
pos=60,-160
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(1)=14
anim=10000
scale=0.7,0.7
pos=30,-20
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(1)=15
anim=10000
scale=0.7,0.7
pos=30,-130
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(1)=16
anim=10000
scale=0.7,0.7
pos=50,-55
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(1)=12
anim=10000
scale=0.7,0.7
pos=20,-80
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(1)=13
anim=10000
scale=0.7,0.7
pos=60,-160
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(1)=14
anim=10000
scale=0.7,0.7
pos=30,-20
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(1)=15
anim=10000
scale=0.7,0.7
pos=30,-130
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(1)=16
anim=10000
scale=0.7,0.7
pos=50,-55
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(1)=12
anim=10000
scale=0.7,0.7
pos=20,-80
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(1)=13
anim=10000
scale=0.7,0.7
pos=60,-160
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(1)=14
anim=10000
scale=0.7,0.7
pos=30,-20
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(1)=15
anim=10000
scale=0.7,0.7
pos=30,-130
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(1)=16
anim=10000
scale=0.7,0.7
pos=50,-55
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(1)=12
anim=10000
scale=0.7,0.7
pos=20,-80
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(1)=13
anim=10000
scale=0.7,0.7
pos=60,-160
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(1)=14
anim=10000
scale=0.7,0.7
pos=30,-20
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(1)=15
anim=10000
scale=0.7,0.7
pos=30,-130
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(1)=16
anim=10000
scale=0.7,0.7
pos=50,-55
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(1)=12
anim=10000
scale=0.7,0.7
pos=20,-80
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(1)=13
anim=10000
scale=0.7,0.7
pos=60,-160
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(1)=14
anim=10000
scale=0.7,0.7
pos=30,-20
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(1)=15
anim=10000
scale=0.7,0.7
pos=30,-130
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(1)=16
anim=10000
scale=0.7,0.7
pos=50,-55
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(1)=12
anim=10000
scale=0.7,0.7
pos=20,-80
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(1)=13
anim=10000
scale=0.7,0.7
pos=60,-160
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(1)=14
anim=10000
scale=0.7,0.7
pos=30,-20
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(1)=15
anim=10000
scale=0.7,0.7
pos=30,-130
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(1)=16
anim=10000
scale=0.7,0.7
pos=50,-55
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(1)=12
anim=10000
scale=0.7,0.7
pos=20,-80
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(1)=13
anim=10000
scale=0.7,0.7
pos=60,-160
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(1)=14
anim=10000
scale=0.7,0.7
pos=30,-20
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(1)=15
anim=10000
scale=0.7,0.7
pos=30,-130
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(1)=16
anim=10000
scale=0.7,0.7
pos=50,-55
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(1)=12
anim=10000
scale=0.7,0.7
pos=20,-80
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(1)=13
anim=10000
scale=0.7,0.7
pos=60,-160
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(1)=14
anim=10000
scale=0.7,0.7
pos=30,-20
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(1)=15
anim=10000
scale=0.7,0.7
pos=30,-130
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(1)=16
anim=10000
scale=0.7,0.7
pos=50,-55
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(1)=12
anim=10000
scale=0.7,0.7
pos=20,-80
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(1)=13
anim=10000
scale=0.7,0.7
pos=60,-160
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(1)=14
anim=10000
scale=0.7,0.7
pos=30,-20
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(1)=15
anim=10000
scale=0.7,0.7
pos=30,-130
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(1)=16
anim=10000
scale=0.7,0.7
pos=50,-55
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(1)=12
anim=10000
scale=0.7,0.7
pos=20,-80
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(1)=13
anim=10000
scale=0.7,0.7
pos=60,-160
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(1)=14
anim=10000
scale=0.7,0.7
pos=30,-20
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(1)=15
anim=10000
scale=0.7,0.7
pos=30,-130
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(1)=16
anim=10000
scale=0.7,0.7
pos=50,-55
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(1)=12
anim=10000
scale=0.7,0.7
pos=20,-80
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(1)=13
anim=10000
scale=0.7,0.7
pos=60,-160
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(1)=14
anim=10000
scale=0.7,0.7
pos=30,-20
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(1)=15
anim=10000
scale=0.7,0.7
pos=30,-130
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(1)=16
anim=10000
scale=0.7,0.7
pos=50,-55
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1



;攻撃本体
[state ]
type=projectile
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(1)=12
projid=1200
projanim=40070
projremove=0
projpriority=1
projhitanim=-1
projremanim=-1
projsprpriority=4
projshadow=0,0,0
projremovetime=24
numhits=2
getpower=20
ownpal=0
offset=20,-80
velocity=0,0
attr=s,sp
animtype=up
damage=20,4
hitflag=maf
guardflag=m
hitsound=s1,1
guardsound=s2,1
pausetime=0,3
sparkno=s4020
guard.sparkno=s4120
sparkxy=20,0
ground.type=high
ground.hittime=20
ground.slidetime=20
ground.velocity=-4.5,-4.8
air.juggle=2
air.velocity=-4.5,-4.8
fall=1
fall.recover=0
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=projectile
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(1)=13
projid=1200
projanim=40070
projremove=0
projpriority=1
projhitanim=-1
projremanim=-1
projsprpriority=4
projshadow=0,0,0
projremovetime=24
numhits=2
getpower=20
ownpal=0
offset=60,-160
velocity=0,0
attr=s,sp
animtype=up
damage=20,4
hitflag=maf
guardflag=m
hitsound=s1,1
guardsound=s2,1
pausetime=0,3
sparkno=s4020
guard.sparkno=s4120
sparkxy=20,0
ground.type=high
ground.hittime=20
ground.slidetime=20
ground.velocity=-4.5,-4.8
air.juggle=2
air.velocity=-4.5,-4.8
fall=1
fall.recover=0
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=projectile
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(1)=14
projid=1200
projanim=40070
projremove=0
projpriority=1
projhitanim=-1
projremanim=-1
projsprpriority=4
projshadow=0,0,0
projremovetime=24
numhits=2
getpower=20
ownpal=0
offset=30,-20
velocity=0,0
attr=s,sp
animtype=up
damage=20,4
hitflag=maf
guardflag=m
hitsound=s1,1
guardsound=s2,1
pausetime=0,3
sparkno=s4020
guard.sparkno=s4120
sparkxy=20,0
ground.type=high
ground.hittime=20
ground.slidetime=20
ground.velocity=-4.5,-4.8
air.juggle=2
air.velocity=-4.5,-4.8
fall=1
fall.recover=0
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=projectile
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(1)=15
projid=1200
projanim=40070
projremove=0
projpriority=1
projhitanim=-1
projremanim=-1
projsprpriority=4
projshadow=0,0,0
projremovetime=24
numhits=2
getpower=20
ownpal=0
offset=30,-130
velocity=0,0
attr=s,sp
animtype=up
damage=20,4
hitflag=maf
guardflag=m
hitsound=s1,1
guardsound=s2,1
pausetime=0,3
sparkno=s4020
guard.sparkno=s4120
sparkxy=20,0
ground.type=high
ground.hittime=20
ground.slidetime=20
ground.velocity=-4.5,-4.8
air.juggle=2
air.velocity=-4.5,-4.8
fall=1
fall.recover=0
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=projectile
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(1)=16
projid=1200
projanim=40070
projremove=0
projpriority=1
projhitanim=-1
projremanim=-1
projsprpriority=4
projshadow=0,0,0
projremovetime=24
numhits=2
getpower=20
ownpal=0
offset=50,-55
velocity=0,0
attr=s,sp
animtype=up
damage=20,4
hitflag=maf
guardflag=m
hitsound=s1,1
guardsound=s2,1
pausetime=0,3
sparkno=s4020
guard.sparkno=s4120
sparkxy=20,0
ground.type=high
ground.hittime=20
ground.slidetime=20
ground.velocity=-4.5,-4.8
air.juggle=2
air.velocity=-4.5,-4.8
fall=1
fall.recover=0
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1

;王の帰還
[state ]
type=varset
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=1
sysvar(0)=stateno
ignorehitpause=1
[state ]
type=varset
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animtime=0
sysvar(0)=0
ignorehitpause=1
[state ]
type=varset
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=sysvar(0)=0
sysvar(1)=0
ignorehitpause=1
[state ]
type=selfstate
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=sysvar(0)=0
value=0
ctrl=1
persistent=256
ignorehitpause=1
[state ]
type=varadd
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=1
sysvar(1)=1
ignorehitpause=1

;---------------------------------------------------------------------------
;エクスプローディングスフィア強
;cnsレベル:中級

[statedef 1250]
type=s
movetype=a
physics=s
juggle=5
velset=0,0
ctrl=0
sprpriority=1

;邪眼キラー用
[state ]
type=changestate
triggerall=(sysfvar(0)=256001.0&&sysfvar(0)!=0.0)=0
trigger1=1
value=320000
persistent=256
ignorehitpause=1

[state ]
type=changeanim
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=time=0
value=1200
ignorehitpause=1



;音響
[state ];爆発
type=playsnd
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(1)=11
value=s7,1
channel=4
ignorehitpause=1
[state ];ボムンッ☆
type=playsnd
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(1)=12
trigger2=animelemtime(1)=16
trigger3=animelemtime(1)=20
value=s8,1
ignorehitpause=1



;なんか皮膚に浮き出てくる筋（ビキビキ
[state ]
type=explod
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
triggerall=var(30)=0
trigger1=animelemtime(1)=0
persistent=0
anim=1205
postype=p1
pos=0,0
sprpriority=2
bindtime=-1
removeongethit=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
triggerall=var(30)>0
trigger1=animelemtime(1)=0
persistent=0
anim=1205
postype=p1
pos=0,0
sprpriority=2
bindtime=-1
removeongethit=1
trans=addalpha
alpha=70,256
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1



;爆発のエフェクト
[state ]
type=explod
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(1)=12
anim=10000
scale=0.7,0.7
pos=30,-70
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(1)=14
anim=10000
scale=0.7,0.7
pos=60,-35
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(1)=16
anim=10000
scale=0.7,0.7
pos=70,-90
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(1)=18
anim=10000
scale=0.7,0.7
pos=105,-45
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(1)=20
anim=10000
scale=0.7,0.7
pos=160,-60
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(1)=12
anim=10000
scale=0.7,0.7
pos=30,-70
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(1)=14
anim=10000
scale=0.7,0.7
pos=60,-35
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(1)=16
anim=10000
scale=0.7,0.7
pos=70,-90
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(1)=18
anim=10000
scale=0.7,0.7
pos=105,-45
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(1)=20
anim=10000
scale=0.7,0.7
pos=160,-60
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(1)=12
anim=10000
scale=0.7,0.7
pos=30,-70
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(1)=14
anim=10000
scale=0.7,0.7
pos=60,-35
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(1)=16
anim=10000
scale=0.7,0.7
pos=70,-90
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(1)=18
anim=10000
scale=0.7,0.7
pos=105,-45
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(1)=20
anim=10000
scale=0.7,0.7
pos=160,-60
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(1)=12
anim=10000
scale=0.7,0.7
pos=30,-70
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(1)=14
anim=10000
scale=0.7,0.7
pos=60,-35
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(1)=16
anim=10000
scale=0.7,0.7
pos=70,-90
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(1)=18
anim=10000
scale=0.7,0.7
pos=105,-45
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(1)=20
anim=10000
scale=0.7,0.7
pos=160,-60
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(1)=12
anim=10000
scale=0.7,0.7
pos=30,-70
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(1)=14
anim=10000
scale=0.7,0.7
pos=60,-35
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(1)=16
anim=10000
scale=0.7,0.7
pos=70,-90
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(1)=18
anim=10000
scale=0.7,0.7
pos=105,-45
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(1)=20
anim=10000
scale=0.7,0.7
pos=160,-60
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(1)=12
anim=10000
scale=0.7,0.7
pos=30,-70
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(1)=14
anim=10000
scale=0.7,0.7
pos=60,-35
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(1)=16
anim=10000
scale=0.7,0.7
pos=70,-90
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(1)=18
anim=10000
scale=0.7,0.7
pos=105,-45
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(1)=20
anim=10000
scale=0.7,0.7
pos=160,-60
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(1)=12
anim=10000
scale=0.7,0.7
pos=30,-70
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(1)=14
anim=10000
scale=0.7,0.7
pos=60,-35
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(1)=16
anim=10000
scale=0.7,0.7
pos=70,-90
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(1)=18
anim=10000
scale=0.7,0.7
pos=105,-45
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(1)=20
anim=10000
scale=0.7,0.7
pos=160,-60
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(1)=12
anim=10000
scale=0.7,0.7
pos=30,-70
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(1)=14
anim=10000
scale=0.7,0.7
pos=60,-35
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(1)=16
anim=10000
scale=0.7,0.7
pos=70,-90
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(1)=18
anim=10000
scale=0.7,0.7
pos=105,-45
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(1)=20
anim=10000
scale=0.7,0.7
pos=160,-60
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(1)=12
anim=10000
scale=0.7,0.7
pos=30,-70
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(1)=14
anim=10000
scale=0.7,0.7
pos=60,-35
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(1)=16
anim=10000
scale=0.7,0.7
pos=70,-90
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(1)=18
anim=10000
scale=0.7,0.7
pos=105,-45
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(1)=20
anim=10000
scale=0.7,0.7
pos=160,-60
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(1)=12
anim=10000
scale=0.7,0.7
pos=30,-70
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(1)=14
anim=10000
scale=0.7,0.7
pos=60,-35
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(1)=16
anim=10000
scale=0.7,0.7
pos=70,-90
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(1)=18
anim=10000
scale=0.7,0.7
pos=105,-45
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(1)=20
anim=10000
scale=0.7,0.7
pos=160,-60
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(1)=12
anim=10000
scale=0.7,0.7
pos=30,-70
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(1)=14
anim=10000
scale=0.7,0.7
pos=60,-35
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(1)=16
anim=10000
scale=0.7,0.7
pos=70,-90
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(1)=18
anim=10000
scale=0.7,0.7
pos=105,-45
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(1)=20
anim=10000
scale=0.7,0.7
pos=160,-60
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(1)=12
anim=10000
scale=0.7,0.7
pos=30,-70
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(1)=14
anim=10000
scale=0.7,0.7
pos=60,-35
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(1)=16
anim=10000
scale=0.7,0.7
pos=70,-90
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(1)=18
anim=10000
scale=0.7,0.7
pos=105,-45
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(1)=20
anim=10000
scale=0.7,0.7
pos=160,-60
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1



;攻撃本体
[state ]
type=projectile
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(1)=12
projid=1200
projanim=40070
projremove=0
projpriority=1
projhitanim=-1
projremanim=-1
projsprpriority=4
projshadow=0,0,0
projremovetime=24
numhits=2
getpower=20
ownpal=0
offset=30,-70
velocity=0,0
attr=s,sp
animtype=up
damage=20,4
hitflag=maf
guardflag=m
hitsound=s1,1
guardsound=s2,1
pausetime=0,3
sparkno=s4020
guard.sparkno=s4120
sparkxy=20,0
ground.type=high
ground.hittime=20
ground.slidetime=20
ground.velocity=-4.5,-4.8
air.juggle=2
air.velocity=-4.5,-4.8
fall=1
fall.recover=0
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=projectile
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(1)=14
projid=1200
projanim=40070
projremove=0
projpriority=1
projhitanim=-1
projremanim=-1
projsprpriority=4
projshadow=0,0,0
projremovetime=24
numhits=2
getpower=20
ownpal=0
offset=60,-35
velocity=0,0
attr=s,sp
animtype=up
damage=20,4
hitflag=maf
guardflag=m
hitsound=s1,1
guardsound=s2,1
pausetime=0,3
sparkno=s4020
guard.sparkno=s4120
sparkxy=20,0
ground.type=high
ground.hittime=20
ground.slidetime=20
ground.velocity=-4.5,-4.8
air.juggle=2
air.velocity=-4.5,-4.8
fall=1
fall.recover=0
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=projectile
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(1)=16
projid=1200
projanim=40070
projremove=0
projpriority=1
projhitanim=-1
projremanim=-1
projsprpriority=4
projshadow=0,0,0
projremovetime=24
numhits=2
getpower=20
ownpal=0
offset=70,-90
velocity=0,0
attr=s,sp
animtype=up
damage=20,4
hitflag=maf
guardflag=m
hitsound=s1,1
guardsound=s2,1
pausetime=0,3
sparkno=s4020
guard.sparkno=s4120
sparkxy=20,0
ground.type=high
ground.hittime=20
ground.slidetime=20
ground.velocity=-4.5,-4.8
air.juggle=2
air.velocity=-4.5,-4.8
fall=1
fall.recover=0
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=projectile
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(1)=18
projid=1200
projanim=40070
projremove=0
projpriority=1
projhitanim=-1
projremanim=-1
projsprpriority=4
projshadow=0,0,0
projremovetime=24
numhits=2
getpower=20
ownpal=0
offset=105,-45
velocity=0,0
attr=s,sp
animtype=up
damage=20,4
hitflag=maf
guardflag=m
hitsound=s1,1
guardsound=s2,1
pausetime=0,3
sparkno=s4020
guard.sparkno=s4120
sparkxy=20,0
ground.type=high
ground.hittime=20
ground.slidetime=20
ground.velocity=-4.5,-4.8
air.juggle=2
air.velocity=-4.5,-4.8
fall=1
fall.recover=0
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=projectile
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(1)=20
projid=1200
projanim=40070
projremove=0
projpriority=1
projhitanim=-1
projremanim=-1
projsprpriority=4
projshadow=0,0,0
projremovetime=24
numhits=2
getpower=20
ownpal=0
offset=160,-60
velocity=0,0
attr=s,sp
animtype=up
damage=20,4
hitflag=maf
guardflag=m
hitsound=s1,1
guardsound=s2,1
pausetime=0,3
sparkno=s4020
guard.sparkno=s4120
sparkxy=20,0
ground.type=high
ground.hittime=20
ground.slidetime=20
ground.velocity=-4.5,-4.8
air.juggle=2
air.velocity=-4.5,-4.8
fall=1
fall.recover=0
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1



;王の帰還
[state ]
type=selfstate
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animtime=0
value=0
ctrl=1
persistent=256
ignorehitpause=1

;7-12p

[state ]
type=changeanim
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=sysvar(1)=0
value=1200
ignorehitpause=1



;音響
[state ];爆発
type=playsnd
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(1)=11
value=s7,1
channel=4
ignorehitpause=1
[state ];ボムンッ☆
type=playsnd
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(1)=12
trigger2=animelemtime(1)=16
trigger3=animelemtime(1)=20
value=s8,1
ignorehitpause=1



;なんか皮膚に浮き出てくる筋（ビキビキ
[state ]
type=explod
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
triggerall=var(30)=0
trigger1=animelemtime(1)=0
persistent=0
anim=1205
postype=p1
pos=0,0
sprpriority=2
bindtime=-1
removeongethit=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
triggerall=var(30)>0
trigger1=animelemtime(1)=0
persistent=0
anim=1205
postype=p1
pos=0,0
sprpriority=2
bindtime=-1
removeongethit=1
trans=addalpha
alpha=70,256
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1



;爆発のエフェクト
[state ]
type=explod
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(1)=12
anim=10000
scale=0.7,0.7
pos=30,-70
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(1)=14
anim=10000
scale=0.7,0.7
pos=60,-35
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(1)=16
anim=10000
scale=0.7,0.7
pos=70,-90
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(1)=18
anim=10000
scale=0.7,0.7
pos=105,-45
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(1)=20
anim=10000
scale=0.7,0.7
pos=160,-60
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(1)=12
anim=10000
scale=0.7,0.7
pos=30,-70
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(1)=14
anim=10000
scale=0.7,0.7
pos=60,-35
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(1)=16
anim=10000
scale=0.7,0.7
pos=70,-90
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(1)=18
anim=10000
scale=0.7,0.7
pos=105,-45
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(1)=20
anim=10000
scale=0.7,0.7
pos=160,-60
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(1)=12
anim=10000
scale=0.7,0.7
pos=30,-70
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(1)=14
anim=10000
scale=0.7,0.7
pos=60,-35
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(1)=16
anim=10000
scale=0.7,0.7
pos=70,-90
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(1)=18
anim=10000
scale=0.7,0.7
pos=105,-45
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(1)=20
anim=10000
scale=0.7,0.7
pos=160,-60
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(1)=12
anim=10000
scale=0.7,0.7
pos=30,-70
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(1)=14
anim=10000
scale=0.7,0.7
pos=60,-35
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(1)=16
anim=10000
scale=0.7,0.7
pos=70,-90
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(1)=18
anim=10000
scale=0.7,0.7
pos=105,-45
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(1)=20
anim=10000
scale=0.7,0.7
pos=160,-60
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(1)=12
anim=10000
scale=0.7,0.7
pos=30,-70
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(1)=14
anim=10000
scale=0.7,0.7
pos=60,-35
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(1)=16
anim=10000
scale=0.7,0.7
pos=70,-90
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(1)=18
anim=10000
scale=0.7,0.7
pos=105,-45
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(1)=20
anim=10000
scale=0.7,0.7
pos=160,-60
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(1)=12
anim=10000
scale=0.7,0.7
pos=30,-70
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(1)=14
anim=10000
scale=0.7,0.7
pos=60,-35
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(1)=16
anim=10000
scale=0.7,0.7
pos=70,-90
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(1)=18
anim=10000
scale=0.7,0.7
pos=105,-45
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(1)=20
anim=10000
scale=0.7,0.7
pos=160,-60
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(1)=12
anim=10000
scale=0.7,0.7
pos=30,-70
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(1)=14
anim=10000
scale=0.7,0.7
pos=60,-35
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(1)=16
anim=10000
scale=0.7,0.7
pos=70,-90
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(1)=18
anim=10000
scale=0.7,0.7
pos=105,-45
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(1)=20
anim=10000
scale=0.7,0.7
pos=160,-60
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(1)=12
anim=10000
scale=0.7,0.7
pos=30,-70
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(1)=14
anim=10000
scale=0.7,0.7
pos=60,-35
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(1)=16
anim=10000
scale=0.7,0.7
pos=70,-90
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(1)=18
anim=10000
scale=0.7,0.7
pos=105,-45
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(1)=20
anim=10000
scale=0.7,0.7
pos=160,-60
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(1)=12
anim=10000
scale=0.7,0.7
pos=30,-70
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(1)=14
anim=10000
scale=0.7,0.7
pos=60,-35
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(1)=16
anim=10000
scale=0.7,0.7
pos=70,-90
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(1)=18
anim=10000
scale=0.7,0.7
pos=105,-45
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(1)=20
anim=10000
scale=0.7,0.7
pos=160,-60
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(1)=12
anim=10000
scale=0.7,0.7
pos=30,-70
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(1)=14
anim=10000
scale=0.7,0.7
pos=60,-35
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(1)=16
anim=10000
scale=0.7,0.7
pos=70,-90
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(1)=18
anim=10000
scale=0.7,0.7
pos=105,-45
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(1)=20
anim=10000
scale=0.7,0.7
pos=160,-60
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(1)=12
anim=10000
scale=0.7,0.7
pos=30,-70
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(1)=14
anim=10000
scale=0.7,0.7
pos=60,-35
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(1)=16
anim=10000
scale=0.7,0.7
pos=70,-90
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(1)=18
anim=10000
scale=0.7,0.7
pos=105,-45
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(1)=20
anim=10000
scale=0.7,0.7
pos=160,-60
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(1)=12
anim=10000
scale=0.7,0.7
pos=30,-70
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(1)=14
anim=10000
scale=0.7,0.7
pos=60,-35
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(1)=16
anim=10000
scale=0.7,0.7
pos=70,-90
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(1)=18
anim=10000
scale=0.7,0.7
pos=105,-45
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(1)=20
anim=10000
scale=0.7,0.7
pos=160,-60
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1



;攻撃本体
[state ]
type=projectile
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(1)=12
projid=1200
projanim=40070
projremove=0
projpriority=1
projhitanim=-1
projremanim=-1
projsprpriority=4
projshadow=0,0,0
projremovetime=24
numhits=2
getpower=20
ownpal=0
offset=30,-70
velocity=0,0
attr=s,sp
animtype=up
damage=20,4
hitflag=maf
guardflag=m
hitsound=s1,1
guardsound=s2,1
pausetime=0,3
sparkno=s4020
guard.sparkno=s4120
sparkxy=20,0
ground.type=high
ground.hittime=20
ground.slidetime=20
ground.velocity=-4.5,-4.8
air.juggle=2
air.velocity=-4.5,-4.8
fall=1
fall.recover=0
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=projectile
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(1)=14
projid=1200
projanim=40070
projremove=0
projpriority=1
projhitanim=-1
projremanim=-1
projsprpriority=4
projshadow=0,0,0
projremovetime=24
numhits=2
getpower=20
ownpal=0
offset=60,-35
velocity=0,0
attr=s,sp
animtype=up
damage=20,4
hitflag=maf
guardflag=m
hitsound=s1,1
guardsound=s2,1
pausetime=0,3
sparkno=s4020
guard.sparkno=s4120
sparkxy=20,0
ground.type=high
ground.hittime=20
ground.slidetime=20
ground.velocity=-4.5,-4.8
air.juggle=2
air.velocity=-4.5,-4.8
fall=1
fall.recover=0
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=projectile
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(1)=16
projid=1200
projanim=40070
projremove=0
projpriority=1
projhitanim=-1
projremanim=-1
projsprpriority=4
projshadow=0,0,0
projremovetime=24
numhits=2
getpower=20
ownpal=0
offset=70,-90
velocity=0,0
attr=s,sp
animtype=up
damage=20,4
hitflag=maf
guardflag=m
hitsound=s1,1
guardsound=s2,1
pausetime=0,3
sparkno=s4020
guard.sparkno=s4120
sparkxy=20,0
ground.type=high
ground.hittime=20
ground.slidetime=20
ground.velocity=-4.5,-4.8
air.juggle=2
air.velocity=-4.5,-4.8
fall=1
fall.recover=0
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=projectile
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(1)=18
projid=1200
projanim=40070
projremove=0
projpriority=1
projhitanim=-1
projremanim=-1
projsprpriority=4
projshadow=0,0,0
projremovetime=24
numhits=2
getpower=20
ownpal=0
offset=105,-45
velocity=0,0
attr=s,sp
animtype=up
damage=20,4
hitflag=maf
guardflag=m
hitsound=s1,1
guardsound=s2,1
pausetime=0,3
sparkno=s4020
guard.sparkno=s4120
sparkxy=20,0
ground.type=high
ground.hittime=20
ground.slidetime=20
ground.velocity=-4.5,-4.8
air.juggle=2
air.velocity=-4.5,-4.8
fall=1
fall.recover=0
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=projectile
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(1)=20
projid=1200
projanim=40070
projremove=0
projpriority=1
projhitanim=-1
projremanim=-1
projsprpriority=4
projshadow=0,0,0
projremovetime=24
numhits=2
getpower=20
ownpal=0
offset=160,-60
velocity=0,0
attr=s,sp
animtype=up
damage=20,4
hitflag=maf
guardflag=m
hitsound=s1,1
guardsound=s2,1
pausetime=0,3
sparkno=s4020
guard.sparkno=s4120
sparkxy=20,0
ground.type=high
ground.hittime=20
ground.slidetime=20
ground.velocity=-4.5,-4.8
air.juggle=2
air.velocity=-4.5,-4.8
fall=1
fall.recover=0
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1

;王の帰還
[state ]
type=varset
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=1
sysvar(0)=stateno
ignorehitpause=1
[state ]
type=varset
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animtime=0
sysvar(0)=0
ignorehitpause=1
[state ]
type=varset
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=sysvar(0)=0
sysvar(1)=0
ignorehitpause=1
[state ]
type=selfstate
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=sysvar(0)=0
value=0
ctrl=1
persistent=256
ignorehitpause=1
[state ]
type=varadd
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=1
sysvar(1)=1
ignorehitpause=1

;---------------------------------------------------------------------------
;エクスプローディングスフィア神
;cnsレベル:中級

[statedef 1270]
type=s
movetype=a
physics=s
juggle=5
velset=0,0
ctrl=0
sprpriority=1

;邪眼キラー用
[state ]
type=changestate
triggerall=(sysfvar(0)=256001.0&&sysfvar(0)!=0.0)=0
trigger1=1
value=320000
persistent=256
ignorehitpause=1

[state ]
type=changeanim
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=time=0
value=1200
ignorehitpause=1



;音響
[state ];爆発
type=playsnd
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(1)=11
value=s7,1
channel=4
ignorehitpause=1
[state ];ボムンッ☆
type=playsnd
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(1)=12
trigger2=animelemtime(1)=16
trigger3=animelemtime(1)=20
value=s8,1
ignorehitpause=1



;なんか皮膚に浮き出てくる筋（ビキビキ
[state ]
type=explod
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
triggerall=var(30)=0
trigger1=animelemtime(1)=0
persistent=0
anim=1205
postype=p1
pos=0,0
sprpriority=2
bindtime=-1
removeongethit=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
triggerall=var(30)>0
trigger1=animelemtime(1)=0
persistent=0
anim=1205
postype=p1
pos=0,0
sprpriority=2
bindtime=-1
removeongethit=1
trans=addalpha
alpha=70,256
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1



;爆発のエフェクト
[state ]
type=explod
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(1)=12
anim=10000
scale=0.7,0.7
pos=-20,0
postype=p2
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(1)=14
anim=10000
scale=0.7,0.7
pos=20,-50
postype=p2
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(1)=16
anim=10000
scale=0.7,0.7
pos=-20,-100
postype=p2
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(1)=18
anim=10000
scale=0.7,0.7
pos=20,-150
postype=p2
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(1)=20
anim=10000
scale=0.7,0.7
pos=-20,-200
postype=p2
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(1)=12
anim=10000
scale=0.7,0.7
pos=-20,0
postype=p2
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(1)=14
anim=10000
scale=0.7,0.7
pos=20,-50
postype=p2
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(1)=16
anim=10000
scale=0.7,0.7
pos=-20,-100
postype=p2
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(1)=18
anim=10000
scale=0.7,0.7
pos=20,-150
postype=p2
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(1)=20
anim=10000
scale=0.7,0.7
pos=-20,-200
postype=p2
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(1)=12
anim=10000
scale=0.7,0.7
pos=-20,0
postype=p2
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(1)=14
anim=10000
scale=0.7,0.7
pos=20,-50
postype=p2
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(1)=16
anim=10000
scale=0.7,0.7
pos=-20,-100
postype=p2
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(1)=18
anim=10000
scale=0.7,0.7
pos=20,-150
postype=p2
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(1)=20
anim=10000
scale=0.7,0.7
pos=-20,-200
postype=p2
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(1)=12
anim=10000
scale=0.7,0.7
pos=-20,0
postype=p2
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(1)=14
anim=10000
scale=0.7,0.7
pos=20,-50
postype=p2
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(1)=16
anim=10000
scale=0.7,0.7
pos=-20,-100
postype=p2
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(1)=18
anim=10000
scale=0.7,0.7
pos=20,-150
postype=p2
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(1)=20
anim=10000
scale=0.7,0.7
pos=-20,-200
postype=p2
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(1)=12
anim=10000
scale=0.7,0.7
pos=-20,0
postype=p2
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(1)=14
anim=10000
scale=0.7,0.7
pos=20,-50
postype=p2
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(1)=16
anim=10000
scale=0.7,0.7
pos=-20,-100
postype=p2
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(1)=18
anim=10000
scale=0.7,0.7
pos=20,-150
postype=p2
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(1)=20
anim=10000
scale=0.7,0.7
pos=-20,-200
postype=p2
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(1)=12
anim=10000
scale=0.7,0.7
pos=-20,0
postype=p2
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(1)=14
anim=10000
scale=0.7,0.7
pos=20,-50
postype=p2
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(1)=16
anim=10000
scale=0.7,0.7
pos=-20,-100
postype=p2
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(1)=18
anim=10000
scale=0.7,0.7
pos=20,-150
postype=p2
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(1)=20
anim=10000
scale=0.7,0.7
pos=-20,-200
postype=p2
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(1)=12
anim=10000
scale=0.7,0.7
pos=-20,0
postype=p2
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(1)=14
anim=10000
scale=0.7,0.7
pos=20,-50
postype=p2
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(1)=16
anim=10000
scale=0.7,0.7
pos=-20,-100
postype=p2
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(1)=18
anim=10000
scale=0.7,0.7
pos=20,-150
postype=p2
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(1)=20
anim=10000
scale=0.7,0.7
pos=-20,-200
postype=p2
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(1)=12
anim=10000
scale=0.7,0.7
pos=-20,0
postype=p2
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(1)=14
anim=10000
scale=0.7,0.7
pos=20,-50
postype=p2
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(1)=16
anim=10000
scale=0.7,0.7
pos=-20,-100
postype=p2
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(1)=18
anim=10000
scale=0.7,0.7
pos=20,-150
postype=p2
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(1)=20
anim=10000
scale=0.7,0.7
pos=-20,-200
postype=p2
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(1)=12
anim=10000
scale=0.7,0.7
pos=-20,0
postype=p2
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(1)=14
anim=10000
scale=0.7,0.7
pos=20,-50
postype=p2
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(1)=16
anim=10000
scale=0.7,0.7
pos=-20,-100
postype=p2
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(1)=18
anim=10000
scale=0.7,0.7
pos=20,-150
postype=p2
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(1)=20
anim=10000
scale=0.7,0.7
pos=-20,-200
postype=p2
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(1)=12
anim=10000
scale=0.7,0.7
pos=-20,0
postype=p2
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(1)=14
anim=10000
scale=0.7,0.7
pos=20,-50
postype=p2
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(1)=16
anim=10000
scale=0.7,0.7
pos=-20,-100
postype=p2
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(1)=18
anim=10000
scale=0.7,0.7
pos=20,-150
postype=p2
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(1)=20
anim=10000
scale=0.7,0.7
pos=-20,-200
postype=p2
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(1)=12
anim=10000
scale=0.7,0.7
pos=-20,0
postype=p2
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(1)=14
anim=10000
scale=0.7,0.7
pos=20,-50
postype=p2
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(1)=16
anim=10000
scale=0.7,0.7
pos=-20,-100
postype=p2
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(1)=18
anim=10000
scale=0.7,0.7
pos=20,-150
postype=p2
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(1)=20
anim=10000
scale=0.7,0.7
pos=-20,-200
postype=p2
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(1)=12
anim=10000
scale=0.7,0.7
pos=-20,0
postype=p2
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(1)=14
anim=10000
scale=0.7,0.7
pos=20,-50
postype=p2
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(1)=16
anim=10000
scale=0.7,0.7
pos=-20,-100
postype=p2
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(1)=18
anim=10000
scale=0.7,0.7
pos=20,-150
postype=p2
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(1)=20
anim=10000
scale=0.7,0.7
pos=-20,-200
postype=p2
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1



;攻撃本体
[state ]
type=projectile
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(1)=12
projid=1200
projanim=40070
projremove=0
projpriority=1
projhitanim=-1
projremanim=-1
projsprpriority=4
projshadow=0,0,0
projremovetime=24
numhits=2
getpower=20
ownpal=0
offset=-20,0
postype=p2
velocity=0,0
attr=s,sp
animtype=up
damage=20,4
hitflag=maf
guardflag=m
hitsound=s1,1
guardsound=s2,1
pausetime=0,3
sparkno=s4020
guard.sparkno=s4120
sparkxy=20,0
ground.type=high
ground.hittime=20
ground.slidetime=20
ground.velocity=-4.5,-4.8
air.juggle=2
air.velocity=-4.5,-4.8
fall=1
fall.recover=0
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=projectile
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(1)=14
projid=1200
projanim=40070
projremove=0
projpriority=1
projhitanim=-1
projremanim=-1
projsprpriority=4
projshadow=0,0,0
projremovetime=24
numhits=2
getpower=20
ownpal=0
offset=20,-50
postype=p2
velocity=0,0
attr=s,sp
animtype=up
damage=20,4
hitflag=maf
guardflag=m
hitsound=s1,1
guardsound=s2,1
pausetime=0,3
sparkno=s4020
guard.sparkno=s4120
sparkxy=20,0
ground.type=high
ground.hittime=20
ground.slidetime=20
ground.velocity=-4.5,-4.8
air.juggle=2
air.velocity=-4.5,-4.8
fall=1
fall.recover=0
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=projectile
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(1)=16
projid=1200
projanim=40070
projremove=0
projpriority=1
projhitanim=-1
projremanim=-1
projsprpriority=4
projshadow=0,0,0
projremovetime=24
numhits=2
getpower=20
ownpal=0
offset=-20,-100
postype=p2
velocity=0,0
attr=s,sp
animtype=up
damage=20,4
hitflag=maf
guardflag=m
hitsound=s1,1
guardsound=s2,1
pausetime=0,3
sparkno=s4020
guard.sparkno=s4120
sparkxy=20,0
ground.type=high
ground.hittime=20
ground.slidetime=20
ground.velocity=-4.5,-4.8
air.juggle=2
air.velocity=-4.5,-4.8
fall=1
fall.recover=0
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=projectile
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(1)=18
projid=1200
projanim=40070
projremove=0
projpriority=1
projhitanim=-1
projremanim=-1
projsprpriority=4
projshadow=0,0,0
projremovetime=24
numhits=2
getpower=20
ownpal=0
offset=20,-150
postype=p2
velocity=0,0
attr=s,sp
animtype=up
damage=20,4
hitflag=maf
guardflag=m
hitsound=s1,1
guardsound=s2,1
pausetime=0,3
sparkno=s4020
guard.sparkno=s4120
sparkxy=20,0
ground.type=high
ground.hittime=20
ground.slidetime=20
ground.velocity=-4.5,-4.8
air.juggle=2
air.velocity=-4.5,-4.8
fall=1
fall.recover=0
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=projectile
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(1)=20
projid=1200
projanim=40070
projremove=0
projpriority=1
projhitanim=-1
projremanim=-1
projsprpriority=4
projshadow=0,0,0
projremovetime=24
numhits=2
getpower=20
ownpal=0
offset=-20,-200
postype=p2
velocity=0,0
attr=s,sp
animtype=up
damage=20,4
hitflag=maf
guardflag=m
hitsound=s1,1
guardsound=s2,1
pausetime=0,3
sparkno=s4020
guard.sparkno=s4120
sparkxy=20,0
ground.type=high
ground.hittime=20
ground.slidetime=20
ground.velocity=-4.5,-4.8
air.juggle=2
air.velocity=-4.5,-4.8
fall=1
fall.recover=0
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1



;王の帰還
[state ]
type=selfstate
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animtime=0
value=0
ctrl=1
persistent=256
ignorehitpause=1

;7-12p

[state ]
type=changeanim
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=sysvar(1)=0
value=1200
ignorehitpause=1



;音響
[state ];爆発
type=playsnd
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(1)=11
value=s7,1
channel=4
ignorehitpause=1
[state ];ボムンッ☆
type=playsnd
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(1)=12
trigger2=animelemtime(1)=16
trigger3=animelemtime(1)=20
value=s8,1
ignorehitpause=1



;なんか皮膚に浮き出てくる筋（ビキビキ
[state ]
type=explod
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
triggerall=var(30)=0
trigger1=animelemtime(1)=0
persistent=0
anim=1205
postype=p1
pos=0,0
sprpriority=2
bindtime=-1
removeongethit=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
triggerall=var(30)>0
trigger1=animelemtime(1)=0
persistent=0
anim=1205
postype=p1
pos=0,0
sprpriority=2
bindtime=-1
removeongethit=1
trans=addalpha
alpha=70,256
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1



;爆発のエフェクト
[state ]
type=explod
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(1)=12
anim=10000
scale=0.7,0.7
pos=-20,0
postype=p2
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(1)=14
anim=10000
scale=0.7,0.7
pos=20,-50
postype=p2
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(1)=16
anim=10000
scale=0.7,0.7
pos=-20,-100
postype=p2
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(1)=18
anim=10000
scale=0.7,0.7
pos=20,-150
postype=p2
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(1)=20
anim=10000
scale=0.7,0.7
pos=-20,-200
postype=p2
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(1)=12
anim=10000
scale=0.7,0.7
pos=-20,0
postype=p2
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(1)=14
anim=10000
scale=0.7,0.7
pos=20,-50
postype=p2
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(1)=16
anim=10000
scale=0.7,0.7
pos=-20,-100
postype=p2
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(1)=18
anim=10000
scale=0.7,0.7
pos=20,-150
postype=p2
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(1)=20
anim=10000
scale=0.7,0.7
pos=-20,-200
postype=p2
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(1)=12
anim=10000
scale=0.7,0.7
pos=-20,0
postype=p2
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(1)=14
anim=10000
scale=0.7,0.7
pos=20,-50
postype=p2
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(1)=16
anim=10000
scale=0.7,0.7
pos=-20,-100
postype=p2
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(1)=18
anim=10000
scale=0.7,0.7
pos=20,-150
postype=p2
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(1)=20
anim=10000
scale=0.7,0.7
pos=-20,-200
postype=p2
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(1)=12
anim=10000
scale=0.7,0.7
pos=-20,0
postype=p2
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(1)=14
anim=10000
scale=0.7,0.7
pos=20,-50
postype=p2
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(1)=16
anim=10000
scale=0.7,0.7
pos=-20,-100
postype=p2
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(1)=18
anim=10000
scale=0.7,0.7
pos=20,-150
postype=p2
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(1)=20
anim=10000
scale=0.7,0.7
pos=-20,-200
postype=p2
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(1)=12
anim=10000
scale=0.7,0.7
pos=-20,0
postype=p2
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(1)=14
anim=10000
scale=0.7,0.7
pos=20,-50
postype=p2
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(1)=16
anim=10000
scale=0.7,0.7
pos=-20,-100
postype=p2
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(1)=18
anim=10000
scale=0.7,0.7
pos=20,-150
postype=p2
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(1)=20
anim=10000
scale=0.7,0.7
pos=-20,-200
postype=p2
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(1)=12
anim=10000
scale=0.7,0.7
pos=-20,0
postype=p2
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(1)=14
anim=10000
scale=0.7,0.7
pos=20,-50
postype=p2
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(1)=16
anim=10000
scale=0.7,0.7
pos=-20,-100
postype=p2
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(1)=18
anim=10000
scale=0.7,0.7
pos=20,-150
postype=p2
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(1)=20
anim=10000
scale=0.7,0.7
pos=-20,-200
postype=p2
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(1)=12
anim=10000
scale=0.7,0.7
pos=-20,0
postype=p2
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(1)=14
anim=10000
scale=0.7,0.7
pos=20,-50
postype=p2
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(1)=16
anim=10000
scale=0.7,0.7
pos=-20,-100
postype=p2
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(1)=18
anim=10000
scale=0.7,0.7
pos=20,-150
postype=p2
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(1)=20
anim=10000
scale=0.7,0.7
pos=-20,-200
postype=p2
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(1)=12
anim=10000
scale=0.7,0.7
pos=-20,0
postype=p2
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(1)=14
anim=10000
scale=0.7,0.7
pos=20,-50
postype=p2
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(1)=16
anim=10000
scale=0.7,0.7
pos=-20,-100
postype=p2
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(1)=18
anim=10000
scale=0.7,0.7
pos=20,-150
postype=p2
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(1)=20
anim=10000
scale=0.7,0.7
pos=-20,-200
postype=p2
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(1)=12
anim=10000
scale=0.7,0.7
pos=-20,0
postype=p2
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(1)=14
anim=10000
scale=0.7,0.7
pos=20,-50
postype=p2
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(1)=16
anim=10000
scale=0.7,0.7
pos=-20,-100
postype=p2
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(1)=18
anim=10000
scale=0.7,0.7
pos=20,-150
postype=p2
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(1)=20
anim=10000
scale=0.7,0.7
pos=-20,-200
postype=p2
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(1)=12
anim=10000
scale=0.7,0.7
pos=-20,0
postype=p2
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(1)=14
anim=10000
scale=0.7,0.7
pos=20,-50
postype=p2
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(1)=16
anim=10000
scale=0.7,0.7
pos=-20,-100
postype=p2
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(1)=18
anim=10000
scale=0.7,0.7
pos=20,-150
postype=p2
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(1)=20
anim=10000
scale=0.7,0.7
pos=-20,-200
postype=p2
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(1)=12
anim=10000
scale=0.7,0.7
pos=-20,0
postype=p2
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(1)=14
anim=10000
scale=0.7,0.7
pos=20,-50
postype=p2
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(1)=16
anim=10000
scale=0.7,0.7
pos=-20,-100
postype=p2
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(1)=18
anim=10000
scale=0.7,0.7
pos=20,-150
postype=p2
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(1)=20
anim=10000
scale=0.7,0.7
pos=-20,-200
postype=p2
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(1)=12
anim=10000
scale=0.7,0.7
pos=-20,0
postype=p2
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(1)=14
anim=10000
scale=0.7,0.7
pos=20,-50
postype=p2
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(1)=16
anim=10000
scale=0.7,0.7
pos=-20,-100
postype=p2
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(1)=18
anim=10000
scale=0.7,0.7
pos=20,-150
postype=p2
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(1)=20
anim=10000
scale=0.7,0.7
pos=-20,-200
postype=p2
vel=0.01*(random-500),0.01*(random-500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1



;攻撃本体
[state ]
type=projectile
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(1)=12
projid=1200
projanim=40070
projremove=0
projpriority=1
projhitanim=-1
projremanim=-1
projsprpriority=4
projshadow=0,0,0
projremovetime=24
numhits=2
getpower=20
ownpal=0
offset=-20,0
postype=p2
velocity=0,0
attr=s,sp
animtype=up
damage=20,4
hitflag=maf
guardflag=m
hitsound=s1,1
guardsound=s2,1
pausetime=0,3
sparkno=s4020
guard.sparkno=s4120
sparkxy=20,0
ground.type=high
ground.hittime=20
ground.slidetime=20
ground.velocity=-4.5,-4.8
air.juggle=2
air.velocity=-4.5,-4.8
fall=1
fall.recover=0
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=projectile
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(1)=14
projid=1200
projanim=40070
projremove=0
projpriority=1
projhitanim=-1
projremanim=-1
projsprpriority=4
projshadow=0,0,0
projremovetime=24
numhits=2
getpower=20
ownpal=0
offset=20,-50
postype=p2
velocity=0,0
attr=s,sp
animtype=up
damage=20,4
hitflag=maf
guardflag=m
hitsound=s1,1
guardsound=s2,1
pausetime=0,3
sparkno=s4020
guard.sparkno=s4120
sparkxy=20,0
ground.type=high
ground.hittime=20
ground.slidetime=20
ground.velocity=-4.5,-4.8
air.juggle=2
air.velocity=-4.5,-4.8
fall=1
fall.recover=0
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=projectile
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(1)=16
projid=1200
projanim=40070
projremove=0
projpriority=1
projhitanim=-1
projremanim=-1
projsprpriority=4
projshadow=0,0,0
projremovetime=24
numhits=2
getpower=20
ownpal=0
offset=-20,-100
postype=p2
velocity=0,0
attr=s,sp
animtype=up
damage=20,4
hitflag=maf
guardflag=m
hitsound=s1,1
guardsound=s2,1
pausetime=0,3
sparkno=s4020
guard.sparkno=s4120
sparkxy=20,0
ground.type=high
ground.hittime=20
ground.slidetime=20
ground.velocity=-4.5,-4.8
air.juggle=2
air.velocity=-4.5,-4.8
fall=1
fall.recover=0
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=projectile
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(1)=18
projid=1200
projanim=40070
projremove=0
projpriority=1
projhitanim=-1
projremanim=-1
projsprpriority=4
projshadow=0,0,0
projremovetime=24
numhits=2
getpower=20
ownpal=0
offset=20,-150
postype=p2
velocity=0,0
attr=s,sp
animtype=up
damage=20,4
hitflag=maf
guardflag=m
hitsound=s1,1
guardsound=s2,1
pausetime=0,3
sparkno=s4020
guard.sparkno=s4120
sparkxy=20,0
ground.type=high
ground.hittime=20
ground.slidetime=20
ground.velocity=-4.5,-4.8
air.juggle=2
air.velocity=-4.5,-4.8
fall=1
fall.recover=0
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=projectile
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(1)=20
projid=1200
projanim=40070
projremove=0
projpriority=1
projhitanim=-1
projremanim=-1
projsprpriority=4
projshadow=0,0,0
projremovetime=24
numhits=2
getpower=20
ownpal=0
offset=-20,-200
postype=p2
velocity=0,0
attr=s,sp
animtype=up
damage=20,4
hitflag=maf
guardflag=m
hitsound=s1,1
guardsound=s2,1
pausetime=0,3
sparkno=s4020
guard.sparkno=s4120
sparkxy=20,0
ground.type=high
ground.hittime=20
ground.slidetime=20
ground.velocity=-4.5,-4.8
air.juggle=2
air.velocity=-4.5,-4.8
fall=1
fall.recover=0
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1



;王の帰還
[state ]
type=varset
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=1
sysvar(0)=stateno
ignorehitpause=1
[state ]
type=varset
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animtime=0
sysvar(0)=0
ignorehitpause=1
[state ]
type=varset
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=sysvar(0)=0
sysvar(1)=0
ignorehitpause=1
[state ]
type=selfstate
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=sysvar(0)=0
value=0
ctrl=1
persistent=256
ignorehitpause=1
[state ]
type=varadd
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=1
sysvar(1)=1
ignorehitpause=1

;---------------------------------------------------------------------------
;ファントムスフィアx
;cnsレベル:中級

[statedef 1300]
type=s
movetype=a
physics=s
juggle=3
velset=0,0
ctrl=0
sprpriority=3

;邪眼キラー用
[state ]
type=changestate
triggerall=(sysfvar(0)=256001.0&&sysfvar(0)!=0.0)=0
trigger1=1
value=320000
persistent=256
ignorehitpause=1

[state ]
type=changeanim
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=time=0
value=1300
ignorehitpause=1



;音響
[state ];――見えるか？
type=playsnd
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(1)=22
value=s7,0
ignorehitpause=1
[state ];ぶごぶごぶごッ・・・
type=playsnd
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(1)=22
value=s8,0
ignorehitpause=1



;なんか皮膚に浮き出てくる筋（ビキビキ
[state ]
type=explod
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
triggerall=var(30)=0
trigger1=animelemtime(1)=0
persistent=0
anim=1305
postype=p1
pos=0,0
sprpriority=5
bindtime=-1
removeongethit=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
triggerall=var(30)>0
trigger1=animelemtime(1)=0
persistent=0
anim=1305
postype=p1
pos=0,0
sprpriority=5
bindtime=-1
removeongethit=1
trans=addalpha
alpha=70,256
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1



;発生エフェクト
[state ]
type=explod
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(1)=22
anim=10012
scale=0.1,0.2
pos=-140-5,-20
postype=p2
removetime=10
ownpal=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(1)=27
anim=10012
scale=0.1,0.2
pos=-170-5,-50
postype=p2
removetime=10
ownpal=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(1)=32
anim=10012
scale=0.1,0.2
pos=-200-5,-100
postype=p2
removetime=10
ownpal=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1



;本当はヘルパーなんて使いたくないんだよヽ(`Д´)ﾉ
[state ]
type=helper
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(1)=22
id=1301
stateno=1301
pos=facing*(enemynear,screenpos x-screenpos x)+140,-20
helpertype=player
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=helper
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(1)=27
id=1302
stateno=1301
pos=facing*(enemynear,screenpos x-screenpos x)+170,-50
helpertype=player
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=helper
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(1)=32
id=1303
stateno=1301
pos=facing*(enemynear,screenpos x-screenpos x)+200,-100
helpertype=player
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1



;王の帰還
[state ]
type=selfstate
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animtime=0
value=0
ctrl=1
persistent=256
ignorehitpause=1

;7-12p

[state ]
type=changeanim
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=sysvar(1)=0
value=1300
ignorehitpause=1



;音響
[state ];――見えるか？
type=playsnd
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(1)=22
value=s7,0
ignorehitpause=1
[state ];ぶごぶごぶごッ・・・
type=playsnd
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(1)=22
value=s8,0
ignorehitpause=1



;なんか皮膚に浮き出てくる筋（ビキビキ
[state ]
type=explod
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
triggerall=var(30)=0
trigger1=animelemtime(1)=0
persistent=0
anim=1305
postype=p1
pos=0,0
sprpriority=5
bindtime=-1
removeongethit=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
triggerall=var(30)>0
trigger1=animelemtime(1)=0
persistent=0
anim=1305
postype=p1
pos=0,0
sprpriority=5
bindtime=-1
removeongethit=1
trans=addalpha
alpha=70,256
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1



;発生エフェクト
[state ]
type=explod
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(1)=22
anim=10012
scale=0.1,0.2
pos=-140-5,-20
postype=p2
removetime=10
ownpal=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(1)=27
anim=10012
scale=0.1,0.2
pos=-170-5,-50
postype=p2
removetime=10
ownpal=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(1)=32
anim=10012
scale=0.1,0.2
pos=-200-5,-100
postype=p2
removetime=10
ownpal=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1



;本当はヘルパーなんて使いたくないんだよヽ(`Д´)ﾉ
[state ]
type=helper
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(1)=22
id=1301
stateno=1301
pos=facing*(enemynear,screenpos x-screenpos x)+140,-20
helpertype=player
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=helper
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(1)=27
id=1302
stateno=1301
pos=facing*(enemynear,screenpos x-screenpos x)+170,-50
helpertype=player
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=helper
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(1)=32
id=1303
stateno=1301
pos=facing*(enemynear,screenpos x-screenpos x)+200,-100
helpertype=player
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1



;王の帰還
[state ]
type=varset
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=1
sysvar(0)=stateno
ignorehitpause=1
[state ]
type=varset
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animtime=0
sysvar(0)=0
ignorehitpause=1
[state ]
type=varset
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=sysvar(0)=0
sysvar(1)=0
ignorehitpause=1
[state ]
type=selfstate
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=sysvar(0)=0
value=0
ctrl=1
persistent=256
ignorehitpause=1
[state ]
type=varadd
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=1
sysvar(1)=1
ignorehitpause=1

;---------------------------------------------------------------------------
[statedef 1301]
anim=40000

;邪眼キラー用
[state ]
type=changestate
triggerall=(sysfvar(0)=256001.0&&sysfvar(0)!=0.0)=0
trigger1=1
value=320000
persistent=256
ignorehitpause=1

;ファントムスフィア共通
[state ]
type=explod
triggerall=ishelper(1301)||ishelper(1302)||ishelper(1303)||ishelper(1311)||ishelper(1312)||ishelper(1313)||ishelper(1314)||ishelper(1321)||ishelper(1322)||ishelper(1323)||ishelper(1324)
trigger1=1
anim=10201
scale=0.6,0.6
pos=0,0
removetime=-2
sprpriority=2147483647
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ishelper(1301)||ishelper(1302)||ishelper(1303)||ishelper(1311)||ishelper(1312)||ishelper(1313)||ishelper(1314)||ishelper(1321)||ishelper(1322)||ishelper(1323)||ishelper(1324)
trigger1=1
anim=10000
scale=0.3,0.3
pos=0,0
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ishelper(1301)||ishelper(1302)||ishelper(1303)||ishelper(1311)||ishelper(1312)||ishelper(1313)||ishelper(1314)||ishelper(1321)||ishelper(1322)||ishelper(1323)||ishelper(1324)
trigger1=1
anim=10001
scale=0.4,0.4
vel=4*cos(0.006283*parent,sysvar(3))-0.5*vel x,4*sin(0.006283*parent,sysvar(3))-0.5*vel y
removetime=-2
sprpriority=2147483647
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1



;ファントムスフィアX速度
[state ]
type=velset
triggerall=ishelper(1301)
trigger1=sysvar(1)=0
x=-14
y=0
ignorehitpause=1
[state ]
type=velset
triggerall=ishelper(1302)
trigger1=sysvar(1)=0
x=-14
y=0
ignorehitpause=1
[state ]
type=velset
triggerall=ishelper(1303)
trigger1=sysvar(1)=0
x=-14
y=0
ignorehitpause=1

;ファントムスフィアX攻撃本体
[state ]
type=projectile
triggerall=ishelper(1301)
trigger1=sysvar(1)%2=0
projid=1301
projanim=40060
projremove=1
projremovetime=2
velocity=vel x,vel y
attr=s,sp
hitflag=mafdp
guardflag=ma
damage=20,5
getpower=75,15
animtype=hard
hitsound=-1
guardsound=s8,9
sparkno=-1
guard.sparkno=-1
pausetime=0,10
ground.type=high
ground.hittime=21
ground.slidetime=21
ground.velocity=-9
air.type=high
air.hittime=21
air.slidetime=21
air.velocity=-3.6,-3.8
air.fall=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=projectile
triggerall=ishelper(1302)
trigger1=sysvar(1)%2=0
projid=1302
projanim=40060
projremove=1
projremovetime=2
velocity=vel x,vel y
attr=s,sp
hitflag=mafdp
guardflag=ma
damage=20,5
getpower=75,15
animtype=hard
hitsound=-1
guardsound=s8,9
sparkno=-1
guard.sparkno=-1
pausetime=0,10
ground.type=high
ground.hittime=21
ground.slidetime=21
ground.velocity=-9
air.type=high
air.hittime=21
air.slidetime=21
air.velocity=-3.6,-3.8
air.fall=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=projectile
triggerall=ishelper(1303)
trigger1=sysvar(1)%2=0
projid=1303
projanim=40060
projremove=1
projremovetime=2
velocity=vel x,vel y
attr=s,sp
hitflag=mafdp
guardflag=ma
damage=20,5
getpower=75,15
animtype=hard
hitsound=-1
guardsound=s8,9
sparkno=-1
guard.sparkno=-1
pausetime=0,10
ground.type=high
ground.hittime=21
ground.slidetime=21
ground.velocity=-9
air.type=high
air.hittime=21
air.slidetime=21
air.velocity=-3.6,-3.8
air.fall=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1

;ファントムスフィアXステート移動
[state ]
type=varset
triggerall=ishelper(1301)
trigger1=root,projcontacttime(1301)=1
sysvar(0)=1302
ignorehitpause=1
[state ]
type=varset
triggerall=ishelper(1301)
trigger1=root,projcontacttime(1301)=1
sysvar(1)=0
ignorehitpause=1
[state ]
type=changestate
triggerall=ishelper(1301)
trigger1=root,projcontacttime(1301)=1
value=1302
ignorehitpause=1
[state ]
type=varset
triggerall=ishelper(1302)
trigger1=root,projcontacttime(1302)=1
sysvar(0)=1302
ignorehitpause=1
[state ]
type=varset
triggerall=ishelper(1302)
trigger1=root,projcontacttime(1302)=1
sysvar(1)=0
ignorehitpause=1
[state ]
type=changestate
triggerall=ishelper(1302)
trigger1=root,projcontacttime(1302)=1
value=1302
ignorehitpause=1
[state ]
type=varset
triggerall=ishelper(1303)
trigger1=root,projcontacttime(1303)=1
sysvar(0)=1302
ignorehitpause=1
[state ]
type=varset
triggerall=ishelper(1303)
trigger1=root,projcontacttime(1303)=1
sysvar(1)=0
ignorehitpause=1
[state ]
type=changestate
triggerall=ishelper(1303)
trigger1=root,projcontacttime(1303)=1
value=1302
ignorehitpause=1



;ファントムスフィアY速度
[state ]
type=velset
triggerall=ishelper(1311)||ishelper(1313)
trigger1=sysvar(1)=0
x=0
y=22.5
ignorehitpause=1
[state ]
type=velset
triggerall=ishelper(1312)||ishelper(1314)
trigger1=sysvar(1)=0
x=0
y=-22.5
ignorehitpause=1

;ファントムスフィアY攻撃本体
[state ]
type=projectile
triggerall=ishelper(1311)
trigger1=sysvar(1)%2=0
projid=1311
projanim=40060
projremove=1
projremovetime=2
velocity=vel x,vel y
attr=s,sp
hitflag=mafdp
guardflag=ma
damage=20,5
getpower=75,15
animtype=hard
hitsound=-1
guardsound=s8,9
sparkno=-1
guard.sparkno=-1
pausetime=0,10
ground.type=high
ground.hittime=21
ground.slidetime=21
ground.velocity=-9
air.type=high
air.hittime=21
air.slidetime=21
air.velocity=-3.6,-3.8
air.fall=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=projectile
triggerall=ishelper(1312)
trigger1=sysvar(1)%2=0
projid=1312
projanim=40060
projremove=1
projremovetime=2
velocity=vel x,vel y
attr=s,sp
hitflag=mafdp
guardflag=ma
damage=20,5
getpower=75,15
animtype=hard
hitsound=-1
guardsound=s8,9
sparkno=-1
guard.sparkno=-1
pausetime=0,10
ground.type=high
ground.hittime=21
ground.slidetime=21
ground.velocity=-9
air.type=high
air.hittime=21
air.slidetime=21
air.velocity=-3.6,-3.8
air.fall=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=projectile
triggerall=ishelper(1313)
trigger1=sysvar(1)%2=0
projid=1313
projanim=40060
projremove=1
projremovetime=2
velocity=vel x,vel y
attr=s,sp
hitflag=mafdp
guardflag=ma
damage=20,5
getpower=75,15
animtype=hard
hitsound=-1
guardsound=s8,9
sparkno=-1
guard.sparkno=-1
pausetime=0,10
ground.type=high
ground.hittime=21
ground.slidetime=21
ground.velocity=-9
air.type=high
air.hittime=21
air.slidetime=21
air.velocity=-3.6,-3.8
air.fall=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=projectile
triggerall=ishelper(1314)
trigger1=sysvar(1)%2=0
projid=1314
projanim=40060
projremove=1
projremovetime=2
velocity=vel x,vel y
attr=s,sp
hitflag=mafdp
guardflag=ma
damage=20,5
getpower=75,15
animtype=hard
hitsound=-1
guardsound=s8,9
sparkno=-1
guard.sparkno=-1
pausetime=0,10
ground.type=high
ground.hittime=21
ground.slidetime=21
ground.velocity=-9
air.type=high
air.hittime=21
air.slidetime=21
air.velocity=-3.6,-3.8
air.fall=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1

;ファントムスフィアYステート移動
[state ]
type=varset
triggerall=ishelper(1311)
trigger1=root,projcontacttime(1311)=1
sysvar(0)=1302
ignorehitpause=1
[state ]
type=varset
triggerall=ishelper(1311)
trigger1=root,projcontacttime(1311)=1
sysvar(1)=0
ignorehitpause=1
[state ]
type=changestate
triggerall=ishelper(1311)
trigger1=root,projcontacttime(1311)=1
value=1302
ignorehitpause=1
[state ]
type=varset
triggerall=ishelper(1312)
trigger1=root,projcontacttime(1312)=1
sysvar(0)=1302
ignorehitpause=1
[state ]
type=varset
triggerall=ishelper(1312)
trigger1=root,projcontacttime(1312)=1
sysvar(1)=0
ignorehitpause=1
[state ]
type=changestate
triggerall=ishelper(1312)
trigger1=root,projcontacttime(1312)=1
value=1302
ignorehitpause=1
[state ]
type=varset
triggerall=ishelper(1313)
trigger1=root,projcontacttime(1313)=1
sysvar(0)=1302
ignorehitpause=1
[state ]
type=varset
triggerall=ishelper(1313)
trigger1=root,projcontacttime(1313)=1
sysvar(1)=0
ignorehitpause=1
[state ]
type=changestate
triggerall=ishelper(1313)
trigger1=root,projcontacttime(1313)=1
value=1302
ignorehitpause=1
[state ]
type=varset
triggerall=ishelper(1314)
trigger1=root,projcontacttime(1314)=1
sysvar(0)=1302
ignorehitpause=1
[state ]
type=varset
triggerall=ishelper(1314)
trigger1=root,projcontacttime(1314)=1
sysvar(1)=0
ignorehitpause=1
[state ]
type=changestate
triggerall=ishelper(1314)
trigger1=root,projcontacttime(1314)=1
value=1302
ignorehitpause=1



;ファントムスフィアZ速度
[state ]
type=velset
triggerall=ishelper(1321)||ishelper(1323)
trigger1=sysvar(1)=0
x=14
y=-7
ignorehitpause=1
[state ]
type=velset
triggerall=ishelper(1322)||ishelper(1324)
trigger1=sysvar(1)=0
x=14
y=7
ignorehitpause=1

;ファントムスフィアZ攻撃本体
[state ]
type=projectile
triggerall=ishelper(1321)
trigger1=sysvar(1)%2=0
projid=1321
projanim=40060
projremove=1
projremovetime=2
velocity=vel x,vel y
attr=s,sp
hitflag=mafdp
guardflag=ma
damage=20,5
getpower=75,15
animtype=hard
hitsound=-1
guardsound=s8,9
sparkno=-1
guard.sparkno=-1
pausetime=0,10
ground.type=high
ground.hittime=21
ground.slidetime=21
ground.velocity=-9
air.type=high
air.hittime=21
air.slidetime=21
air.velocity=-3.6,-3.8
air.fall=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=projectile
triggerall=ishelper(1322)
trigger1=sysvar(1)%2=0
projid=1322
projanim=40060
projremove=1
projremovetime=2
velocity=vel x,vel y
attr=s,sp
hitflag=mafdp
guardflag=ma
damage=20,5
getpower=75,15
animtype=hard
hitsound=-1
guardsound=s8,9
sparkno=-1
guard.sparkno=-1
pausetime=0,10
ground.type=high
ground.hittime=21
ground.slidetime=21
ground.velocity=-9
air.type=high
air.hittime=21
air.slidetime=21
air.velocity=-3.6,-3.8
air.fall=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=projectile
triggerall=ishelper(1323)
trigger1=sysvar(1)%2=0
projid=1323
projanim=40060
projremove=1
projremovetime=2
velocity=vel x,vel y
attr=s,sp
hitflag=mafdp
guardflag=ma
damage=20,5
getpower=75,15
animtype=hard
hitsound=-1
guardsound=s8,9
sparkno=-1
guard.sparkno=-1
pausetime=0,10
ground.type=high
ground.hittime=21
ground.slidetime=21
ground.velocity=-9
air.type=high
air.hittime=21
air.slidetime=21
air.velocity=-3.6,-3.8
air.fall=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=projectile
triggerall=ishelper(1324)
trigger1=sysvar(1)%2=0
projid=1324
projanim=40060
projremove=1
projremovetime=2
velocity=vel x,vel y
attr=s,sp
hitflag=mafdp
guardflag=ma
damage=20,5
getpower=75,15
animtype=hard
hitsound=-1
guardsound=s8,9
sparkno=-1
guard.sparkno=-1
pausetime=0,10
ground.type=high
ground.hittime=21
ground.slidetime=21
ground.velocity=-9
air.type=high
air.hittime=21
air.slidetime=21
air.velocity=-3.6,-3.8
air.fall=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1

;ファントムスフィアZステート移動
[state ]
type=varset
triggerall=ishelper(1321)
trigger1=root,projcontacttime(1321)=1
sysvar(0)=1302
ignorehitpause=1
[state ]
type=varset
triggerall=ishelper(1321)
trigger1=root,projcontacttime(1321)=1
sysvar(1)=0
ignorehitpause=1
[state ]
type=changestate
triggerall=ishelper(1321)
trigger1=root,projcontacttime(1321)=1
value=1302
ignorehitpause=1
[state ]
type=varset
triggerall=ishelper(1322)
trigger1=root,projcontacttime(1322)=1
sysvar(0)=1302
ignorehitpause=1
[state ]
type=varset
triggerall=ishelper(1322)
trigger1=root,projcontacttime(1322)=1
sysvar(1)=0
ignorehitpause=1
[state ]
type=changestate
triggerall=ishelper(1322)
trigger1=root,projcontacttime(1322)=1
value=1302
ignorehitpause=1
[state ]
type=varset
triggerall=ishelper(1323)
trigger1=root,projcontacttime(1323)=1
sysvar(0)=1302
ignorehitpause=1
[state ]
type=varset
triggerall=ishelper(1323)
trigger1=root,projcontacttime(1323)=1
sysvar(1)=0
ignorehitpause=1
[state ]
type=changestate
triggerall=ishelper(1323)
trigger1=root,projcontacttime(1323)=1
value=1302
ignorehitpause=1
[state ]
type=varset
triggerall=ishelper(1324)
trigger1=root,projcontacttime(1324)=1
sysvar(0)=1302
ignorehitpause=1
[state ]
type=varset
triggerall=ishelper(1324)
trigger1=root,projcontacttime(1324)=1
sysvar(1)=0
ignorehitpause=1
[state ]
type=changestate
triggerall=ishelper(1324)
trigger1=root,projcontacttime(1324)=1
value=1302
ignorehitpause=1



;全ヘルパー共通最終記述
[state ]
type=destroyself
triggerall=ishelper(1301)||ishelper(1302)||ishelper(1303)||ishelper(1311)||ishelper(1312)||ishelper(1313)||ishelper(1314)||ishelper(1321)||ishelper(1322)||ishelper(1323)||ishelper(1324)
trigger1=pos x>180
trigger2=pos x<-180
trigger3=pos y>280
trigger4=pos y<-280
ignorehitpause=1



;タイム
[state ]
type=varset
triggerall=ishelper(1301)||ishelper(1302)||ishelper(1303)||ishelper(1311)||ishelper(1312)||ishelper(1313)||ishelper(1314)||ishelper(1321)||ishelper(1322)||ishelper(1323)||ishelper(1324)
trigger1=1
sysvar(0)=stateno
ignorehitpause=1
[state ]
type=varadd
triggerall=ishelper(1301)||ishelper(1302)||ishelper(1303)||ishelper(1311)||ishelper(1312)||ishelper(1313)||ishelper(1314)||ishelper(1321)||ishelper(1322)||ishelper(1323)||ishelper(1324)
trigger1=1
sysvar(1)=1
ignorehitpause=1

[statedef 1302]

;邪眼キラー用
[state ]
type=changestate
triggerall=(sysfvar(0)=256001.0&&sysfvar(0)!=0.0)=0
trigger1=1
value=320000
persistent=256
ignorehitpause=1

;音響
[state ]
type=playsnd
triggerall=ishelper(1301)||ishelper(1302)||ishelper(1303)||ishelper(1311)||ishelper(1312)||ishelper(1313)||ishelper(1314)||ishelper(1321)||ishelper(1322)||ishelper(1323)||ishelper(1324)
trigger1=sysvar(1)=0
value=s10,38
volume=-210
ignorehitpause=1



;どごぉん
[state ]
type=envshake
triggerall=ishelper(1301)||ishelper(1302)||ishelper(1303)||ishelper(1311)||ishelper(1312)||ishelper(1313)||ishelper(1314)||ishelper(1321)||ishelper(1322)||ishelper(1323)||ishelper(1324)
trigger1=sysvar(1)>=1&&sysvar(1)<=5
time=2
freq=180
ampl=20*cos(0.3142*sysvar(1))*ifelse(sysvar(1)%2=1,1,-1)
phase=90
ignorehitpause=1



;爆発
[state ]
type=explod
triggerall=ishelper(1301)||ishelper(1302)||ishelper(1303)||ishelper(1311)||ishelper(1312)||ishelper(1313)||ishelper(1314)||ishelper(1321)||ishelper(1322)||ishelper(1323)||ishelper(1324)
trigger1=sysvar(1)>=1&&sysvar(1)<=30
anim=10020
trans=addalpha
alpha=256*cos(0.05236*sysvar(1)),256*sin(0.05236*sysvar(1))
scale=0.03*sysvar(1),0.03*sysvar(1)
pos=0,0
removetime=-2
sprpriority=2147483647
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ishelper(1301)||ishelper(1302)||ishelper(1303)||ishelper(1311)||ishelper(1312)||ishelper(1313)||ishelper(1314)||ishelper(1321)||ishelper(1322)||ishelper(1323)||ishelper(1324)
trigger1=sysvar(1)>=1&&sysvar(1)<=15
anim=10001
scale=0.6,0.6
pos=0,0
vel=7-(random%15),7-(random%15)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1



;べるせっとぉ
[state ]
type=velset
triggerall=ishelper(1301)||ishelper(1302)||ishelper(1303)||ishelper(1311)||ishelper(1312)||ishelper(1313)||ishelper(1314)||ishelper(1321)||ishelper(1322)||ishelper(1323)||ishelper(1324)
trigger1=sysvar(1)=0
x=0
y=0
ignorehitpause=1



;消滅
[state ]
type=destroyself
triggerall=ishelper(1301)||ishelper(1302)||ishelper(1303)||ishelper(1311)||ishelper(1312)||ishelper(1313)||ishelper(1314)||ishelper(1321)||ishelper(1322)||ishelper(1323)||ishelper(1324)
trigger1=sysvar(1)>30
ignorehitpause=1
[state ]
type=varset
triggerall=ishelper(1301)||ishelper(1302)||ishelper(1303)||ishelper(1311)||ishelper(1312)||ishelper(1313)||ishelper(1314)||ishelper(1321)||ishelper(1322)||ishelper(1323)||ishelper(1324)
trigger1=1
sysvar(0)=stateno
ignorehitpause=1
[state ]
type=varadd
triggerall=ishelper(1301)||ishelper(1302)||ishelper(1303)||ishelper(1311)||ishelper(1312)||ishelper(1313)||ishelper(1314)||ishelper(1321)||ishelper(1322)||ishelper(1323)||ishelper(1324)
trigger1=1
sysvar(1)=1
ignorehitpause=1

[statedef 1303]
anim=40000

;邪眼キラー用
[state ]
type=changestate
triggerall=(sysfvar(0)=256001.0&&sysfvar(0)!=0.0)=0
trigger1=1
value=320000
persistent=256
ignorehitpause=1

;ファントムスフィア共通
[state ]
type=explod
triggerall=ishelper(1301)||ishelper(1302)||ishelper(1303)||ishelper(1311)||ishelper(1312)||ishelper(1313)||ishelper(1314)||ishelper(1321)||ishelper(1322)||ishelper(1323)||ishelper(1324)
trigger1=1
anim=10201
scale=0.6,0.6
pos=0,0
removetime=-2
sprpriority=2147483647
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ishelper(1301)||ishelper(1302)||ishelper(1303)||ishelper(1311)||ishelper(1312)||ishelper(1313)||ishelper(1314)||ishelper(1321)||ishelper(1322)||ishelper(1323)||ishelper(1324)
trigger1=1
anim=10000
scale=0.3,0.3
pos=0,0
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ishelper(1301)||ishelper(1302)||ishelper(1303)||ishelper(1311)||ishelper(1312)||ishelper(1313)||ishelper(1314)||ishelper(1321)||ishelper(1322)||ishelper(1323)||ishelper(1324)
trigger1=1
anim=10005
scale=0.4,0.4
vel=4*cos(0.006283*parent,sysvar(3))-0.5*vel x,4*sin(0.006283*parent,sysvar(3))-0.5*vel y
removetime=-2
sprpriority=2147483647
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1



;座標設定
[state ]
type=posset
triggerall=ishelper(1301)||ishelper(1302)||ishelper(1303)||ishelper(1311)||ishelper(1312)||ishelper(1313)||ishelper(1314)||ishelper(1321)||ishelper(1322)||ishelper(1323)||ishelper(1324)
trigger1=sysvar(1)=0
x=facing*(160+120-40-random%240)
y=-480
ignorehitpause=1
[state ]
type=velset
triggerall=ishelper(1301)||ishelper(1302)||ishelper(1303)||ishelper(1311)||ishelper(1312)||ishelper(1313)||ishelper(1314)||ishelper(1321)||ishelper(1322)||ishelper(1323)||ishelper(1324)
trigger1=sysvar(1)=0
x=-4
y=16
ignorehitpause=1



;ディメンジョンスフィア共通
[state ]
type=varset
triggerall=ishelper(1301)||ishelper(1302)||ishelper(1303)||ishelper(1311)||ishelper(1312)||ishelper(1313)||ishelper(1314)||ishelper(1321)||ishelper(1322)||ishelper(1323)||ishelper(1324)
trigger1=pos y>=0
sysvar(0)=1304
ignorehitpause=1
[state ]
type=varset
triggerall=ishelper(1301)||ishelper(1302)||ishelper(1303)||ishelper(1311)||ishelper(1312)||ishelper(1313)||ishelper(1314)||ishelper(1321)||ishelper(1322)||ishelper(1323)||ishelper(1324)
trigger1=pos y>=0
sysvar(1)=0
ignorehitpause=1
[state ]
type=velset
triggerall=ishelper(1301)||ishelper(1302)||ishelper(1303)||ishelper(1311)||ishelper(1312)||ishelper(1313)||ishelper(1314)||ishelper(1321)||ishelper(1322)||ishelper(1323)||ishelper(1324)
trigger1=pos y>=0
x=0
y=0
ignorehitpause=1
[state ]
type=changestate
triggerall=ishelper(1301)||ishelper(1302)||ishelper(1303)||ishelper(1311)||ishelper(1312)||ishelper(1313)||ishelper(1314)||ishelper(1321)||ishelper(1322)||ishelper(1323)||ishelper(1324)
trigger1=pos y>=0
value=1304
ignorehitpause=1



;タイムタイム
[state ]
type=varset
triggerall=ishelper(1301)||ishelper(1302)||ishelper(1303)||ishelper(1311)||ishelper(1312)||ishelper(1313)||ishelper(1314)||ishelper(1321)||ishelper(1322)||ishelper(1323)||ishelper(1324)
trigger1=1
sysvar(0)=stateno
ignorehitpause=1
[state ]
type=varadd
triggerall=ishelper(1301)||ishelper(1302)||ishelper(1303)||ishelper(1311)||ishelper(1312)||ishelper(1313)||ishelper(1314)||ishelper(1321)||ishelper(1322)||ishelper(1323)||ishelper(1324)
trigger1=1
sysvar(1)=1
ignorehitpause=1

[statedef 1304]
anim=40000

;邪眼キラー用
[state ]
type=changestate
triggerall=(sysfvar(0)=256001.0&&sysfvar(0)!=0.0)=0
trigger1=1
value=320000
persistent=256
ignorehitpause=1



;音響
[state ];ぽーん
type=playsnd
triggerall=ishelper(1301)||ishelper(1302)||ishelper(1303)||ishelper(1311)||ishelper(1312)||ishelper(1313)||ishelper(1314)||ishelper(1321)||ishelper(1322)||ishelper(1323)||ishelper(1324)
trigger1=sysvar(1)=0
value=s10,13
ignorehitpause=1
[state ];ぶひゅぃひゅいひゅぃひゅん
type=playsnd
triggerall=ishelper(1301)||ishelper(1302)||ishelper(1303)||ishelper(1311)||ishelper(1312)||ishelper(1313)||ishelper(1314)||ishelper(1321)||ishelper(1322)||ishelper(1323)||ishelper(1324)
trigger1=sysvar(1)=0
value=s10,45
ignorehitpause=1



;画面操作
[state ]
type=assertspecial
triggerall=ishelper(1301)||ishelper(1302)||ishelper(1303)||ishelper(1311)||ishelper(1312)||ishelper(1313)||ishelper(1314)||ishelper(1321)||ishelper(1322)||ishelper(1323)||ishelper(1324)
trigger1=sysvar(1)>=0&&sysvar(1)<=35
flag=nofg
flag2=globalnoshadow
ignorehitpause=1
[state ]
type=envshake
triggerall=ishelper(1301)||ishelper(1302)||ishelper(1303)||ishelper(1311)||ishelper(1312)||ishelper(1313)||ishelper(1314)||ishelper(1321)||ishelper(1322)||ishelper(1323)||ishelper(1324)
trigger1=sysvar(1)>=1&&sysvar(1)<=5
time=2
freq=180
ampl=5*cos(0.3142*sysvar(1))*ifelse(sysvar(1)%2=1,1,-1)
phase=90
ignorehitpause=1
[state ]
type=envshake
triggerall=ishelper(1401)
trigger1=sysvar(1)>=1&&sysvar(1)<=5
time=2
freq=180
ampl=100*cos(0.3142*sysvar(1))*ifelse(sysvar(1)%2=1,1,-1)
phase=90
ignorehitpause=1
[state ]
type=bgpalfx
triggerall=ishelper(1301)||ishelper(1302)||ishelper(1303)||ishelper(1311)||ishelper(1312)||ishelper(1313)||ishelper(1314)||ishelper(1321)||ishelper(1322)||ishelper(1323)||ishelper(1324)
trigger1=sysvar(1)=0
sinadd=-255,-255,-255,40
time=10
ignorehitpause=1
[state ]
type=bgpalfx
triggerall=ishelper(1301)||ishelper(1302)||ishelper(1303)||ishelper(1311)||ishelper(1312)||ishelper(1313)||ishelper(1314)||ishelper(1321)||ishelper(1322)||ishelper(1323)||ishelper(1324)
trigger1=sysvar(1)>=10&&sysvar(1)<=35
add=-255,-255,-255
time=2
ignorehitpause=1
[state ]
type=bgpalfx
triggerall=ishelper(1301)||ishelper(1302)||ishelper(1303)||ishelper(1311)||ishelper(1312)||ishelper(1313)||ishelper(1314)||ishelper(1321)||ishelper(1322)||ishelper(1323)||ishelper(1324)
trigger1=sysvar(1)=35
add=-255,-255,-255
sinadd=255,255,255,200
time=50
ignorehitpause=1



;柱
[state ]
type=explod
triggerall=ishelper(1301)||ishelper(1302)||ishelper(1303)||ishelper(1311)||ishelper(1312)||ishelper(1313)||ishelper(1314)||ishelper(1321)||ishelper(1322)||ishelper(1323)||ishelper(1324)
trigger1=sysvar(1)>=1&&sysvar(1)<=10
anim=10023
scale=0.05*sysvar(1),0.2*sysvar(1)
pos=0,100
removetime=-2
sprpriority=2147483647
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ishelper(1301)||ishelper(1302)||ishelper(1303)||ishelper(1311)||ishelper(1312)||ishelper(1313)||ishelper(1314)||ishelper(1321)||ishelper(1322)||ishelper(1323)||ishelper(1324)
trigger1=sysvar(1)>=11&&sysvar(1)<=30
anim=10023
scale=0.5-0.025*(sysvar(1)-10),2+0.2*(sysvar(1)-10)
pos=0,100
removetime=-2
sprpriority=2147483647
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ishelper(1301)||ishelper(1302)||ishelper(1303)||ishelper(1311)||ishelper(1312)||ishelper(1313)||ishelper(1314)||ishelper(1321)||ishelper(1322)||ishelper(1323)||ishelper(1324)
trigger1=sysvar(1)>=1&&sysvar(1)<=20
anim=10160
trans=addalpha
alpha=256-12.8*sysvar(1),12.8*sysvar(1)
scale=0.1*sysvar(1),0.025*sysvar(1)
pos=0,0
removetime=-2
sprpriority=-2147483647
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ishelper(1301)||ishelper(1302)||ishelper(1303)||ishelper(1311)||ishelper(1312)||ishelper(1313)||ishelper(1314)||ishelper(1321)||ishelper(1322)||ishelper(1323)||ishelper(1324)
trigger1=sysvar(1)>=11&&sysvar(1)<=30
anim=10160
trans=addalpha
alpha=256-12.8*(sysvar(1)-10),12.8*(sysvar(1)-10)
scale=0.1*(sysvar(1)-10),0.025*(sysvar(1)-10)
pos=0,0
removetime=-2
sprpriority=-2147483647
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ishelper(1301)||ishelper(1302)||ishelper(1303)||ishelper(1311)||ishelper(1312)||ishelper(1313)||ishelper(1314)||ishelper(1321)||ishelper(1322)||ishelper(1323)||ishelper(1324)
trigger1=sysvar(1)>=21&&sysvar(1)<=40
anim=10160
trans=addalpha
alpha=256-12.8*(sysvar(1)-20),12.8*(sysvar(1)-20)
scale=0.1*(sysvar(1)-20),0.025*(sysvar(1)-20)
pos=0,0
removetime=-2
sprpriority=-2147483647
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ishelper(1301)||ishelper(1302)||ishelper(1303)||ishelper(1311)||ishelper(1312)||ishelper(1313)||ishelper(1314)||ishelper(1321)||ishelper(1322)||ishelper(1323)||ishelper(1324)
trigger1=sysvar(1)>=1&&sysvar(1)<=15
anim=10005
scale=0.6,0.6
pos=0,100
random=40,0
vel=2.7*cos(random),-12+6*cos(random)
accel=0,-0.1
removetime=-2
sprpriority=2147483647
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ishelper(1301)||ishelper(1302)||ishelper(1303)||ishelper(1311)||ishelper(1312)||ishelper(1313)||ishelper(1314)||ishelper(1321)||ishelper(1322)||ishelper(1323)||ishelper(1324)
trigger1=sysvar(1)>=1&&sysvar(1)<=15
anim=10005
scale=0.6,0.6
pos=0,100
random=40,0
vel=2.7*cos(random),-12+6*cos(random)
accel=0,-0.1
removetime=-2
sprpriority=2147483647
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1



;ひそかに攻撃
[state ]
type=projectile
triggerall=ishelper(1301)||ishelper(1302)||ishelper(1303)||ishelper(1311)||ishelper(1312)||ishelper(1313)||ishelper(1314)||ishelper(1321)||ishelper(1322)||ishelper(1323)||ishelper(1324)
trigger1=sysvar(1)=0
projanim=40150
projremove=0
projremovetime=15
offset=0,0
attr=s,sp
hitflag=maf
guardflag=m
damage=20,0
getpower=10,10
animtype=hard
hitsound=-1
guardsound=-1
sparkno=-1
guard.sparkno=-1
pausetime=0,10
ground.type=high
ground.hittime=21
ground.slidetime=21
ground.velocity=-2,-10
air.type=high
air.hittime=21
air.slidetime=21
air.velocity=-2,-10
fall=1
air.fall=1
palfx.time=60
palfx.add=100,100,100
palfx.mul=255,255,255
palfx.sinadd=100,100,100,15
palfx.color=0
palfx.invertall=0
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1



;死　　　ね
[state ]
type=destroyself
triggerall=ishelper(1301)||ishelper(1302)||ishelper(1303)||ishelper(1311)||ishelper(1312)||ishelper(1313)||ishelper(1314)||ishelper(1321)||ishelper(1322)||ishelper(1323)||ishelper(1324)
trigger1=sysvar(1)>=40
ignorehitpause=1
[state ]
type=varset
triggerall=ishelper(1301)||ishelper(1302)||ishelper(1303)||ishelper(1311)||ishelper(1312)||ishelper(1313)||ishelper(1314)||ishelper(1321)||ishelper(1322)||ishelper(1323)||ishelper(1324)
trigger1=1
sysvar(0)=stateno
ignorehitpause=1
[state ]
type=varadd
triggerall=ishelper(1301)||ishelper(1302)||ishelper(1303)||ishelper(1311)||ishelper(1312)||ishelper(1313)||ishelper(1314)||ishelper(1321)||ishelper(1322)||ishelper(1323)||ishelper(1324)
trigger1=1
sysvar(1)=1
ignorehitpause=1

;---------------------------------------------------------------------------
;ファントムスフィアy
;cnsレベル:中級

[statedef 1310]
type=s
movetype=a
physics=s
juggle=3
velset=0,0
ctrl=0
sprpriority=3

;邪眼キラー用
[state ]
type=changestate
triggerall=(sysfvar(0)=256001.0&&sysfvar(0)!=0.0)=0
trigger1=1
value=320000
persistent=256
ignorehitpause=1

[state ]
type=changeanim
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=time=0
value=1300
ignorehitpause=1



;音響
[state ];――見えるか？
type=playsnd
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(1)=22
value=s7,0
ignorehitpause=1
[state ];ぶごぶごぶごッ・・・
type=playsnd
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(1)=22
value=s8,0
ignorehitpause=1



;なんか皮膚に浮き出てくる筋（ビキビキ
[state ]
type=explod
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
triggerall=var(30)=0
trigger1=animelemtime(1)=0
persistent=0
anim=1305
postype=p1
pos=0,0
sprpriority=5
bindtime=-1
removeongethit=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
triggerall=var(30)>0
trigger1=animelemtime(1)=0
persistent=0
anim=1305
postype=p1
pos=0,0
sprpriority=5
bindtime=-1
removeongethit=1
trans=addalpha
alpha=70,256
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1



;本当はヘルパーなんて使いたくないんだよヽ(`Д´)ﾉ
[state ]
type=helper
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(1)=22
id=1311
stateno=1301
pos=50,-280
helpertype=player
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=helper
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(1)=23
id=1312
stateno=1301
pos=120,280
helpertype=player
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=helper
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(1)=24
id=1313
stateno=1301
pos=190,-280
helpertype=player
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=helper
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(1)=25
id=1314
stateno=1301
pos=260,280
helpertype=player
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1



;王の帰還
[state ]
type=selfstate
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animtime=0
value=0
ctrl=1
persistent=256
ignorehitpause=1

;7-12p

[state ]
type=changeanim
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=sysvar(1)=0
value=1300
ignorehitpause=1



;音響
[state ];――見えるか？
type=playsnd
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(1)=22
value=s7,0
ignorehitpause=1
[state ];ぶごぶごぶごッ・・・
type=playsnd
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(1)=22
value=s8,0
ignorehitpause=1



;なんか皮膚に浮き出てくる筋（ビキビキ
[state ]
type=explod
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
triggerall=var(30)=0
trigger1=animelemtime(1)=0
persistent=0
anim=1305
postype=p1
pos=0,0
sprpriority=5
bindtime=-1
removeongethit=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
triggerall=var(30)>0
trigger1=animelemtime(1)=0
persistent=0
anim=1305
postype=p1
pos=0,0
sprpriority=5
bindtime=-1
removeongethit=1
trans=addalpha
alpha=70,256
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1



;本当はヘルパーなんて使いたくないんだよヽ(`Д´)ﾉ
[state ]
type=helper
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(1)=22
id=1311
stateno=1301
pos=50,-280
helpertype=player
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=helper
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(1)=23
id=1312
stateno=1301
pos=120,280
helpertype=player
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=helper
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(1)=24
id=1313
stateno=1301
pos=190,-280
helpertype=player
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=helper
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(1)=25
id=1314
stateno=1301
pos=260,280
helpertype=player
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1



;王の帰還
[state ]
type=varset
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=1
sysvar(0)=stateno
ignorehitpause=1
[state ]
type=varset
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animtime=0
sysvar(0)=0
ignorehitpause=1
[state ]
type=varset
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=sysvar(0)=0
sysvar(1)=0
ignorehitpause=1
[state ]
type=selfstate
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=sysvar(0)=0
value=0
ctrl=1
persistent=256
ignorehitpause=1
[state ]
type=varadd
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=1
sysvar(1)=1
ignorehitpause=1

;---------------------------------------------------------------------------
;ファントムスフィアz
;cnsレベル:中級

[statedef 1320]
type=s
movetype=a
physics=s
juggle=3
velset=0,0
ctrl=0
sprpriority=3

;邪眼キラー用
[state ]
type=changestate
triggerall=(sysfvar(0)=256001.0&&sysfvar(0)!=0.0)=0
trigger1=1
value=320000
persistent=256
ignorehitpause=1

[state ]
type=changeanim
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=time=0
value=1300
ignorehitpause=1



;音響
[state ];――見えるか？
type=playsnd
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(1)=22
value=s7,0
ignorehitpause=1
[state ];ぶごぶごぶごッ・・・
type=playsnd
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(1)=22
value=s8,0
ignorehitpause=1



;なんか皮膚に浮き出てくる筋（ビキビキ
[state ]
type=explod
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
triggerall=var(30)=0
trigger1=animelemtime(1)=0
persistent=0
anim=1305
postype=p1
pos=0,0
sprpriority=5
bindtime=-1
removeongethit=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
triggerall=var(30)>0
trigger1=animelemtime(1)=0
persistent=0
anim=1305
postype=p1
pos=0,0
sprpriority=5
bindtime=-1
removeongethit=1
trans=addalpha
alpha=70,256
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1



;発生エフェクト
[state ]
type=explod
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(1)=22
anim=10012
scale=0.2,0.2
pos=90,0
removetime=10
ownpal=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(1)=22
anim=10012
scale=0.2,0.2
pos=90,-200
removetime=10
ownpal=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1



;本当はヘルパーなんて使いたくないんだよヽ(`Д´)ﾉ
[state ]
type=helper
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(1)=22
id=1321
stateno=1301
pos=90,0
helpertype=player
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=helper
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(1)=22
id=1322
stateno=1301
pos=90,-200
helpertype=player
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=helper
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(1)=27
id=1323
stateno=1301
pos=90,0
helpertype=player
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=helper
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(1)=27
id=1324
stateno=1301
pos=90,-200
helpertype=player
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1



;王の帰還
[state ]
type=selfstate
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animtime=0
value=0
ctrl=1
persistent=256
ignorehitpause=1

;7-12p

[state ]
type=changeanim
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=sysvar(1)=0
value=1300
ignorehitpause=1



;音響
[state ];――見えるか？
type=playsnd
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(1)=22
value=s7,0
ignorehitpause=1
[state ];ぶごぶごぶごッ・・・
type=playsnd
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(1)=22
value=s8,0
ignorehitpause=1



;なんか皮膚に浮き出てくる筋（ビキビキ
[state ]
type=explod
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
triggerall=var(30)=0
trigger1=animelemtime(1)=0
persistent=0
anim=1305
postype=p1
pos=0,0
sprpriority=5
bindtime=-1
removeongethit=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
triggerall=var(30)>0
trigger1=animelemtime(1)=0
persistent=0
anim=1305
postype=p1
pos=0,0
sprpriority=5
bindtime=-1
removeongethit=1
trans=addalpha
alpha=70,256
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1



;発生エフェクト
[state ]
type=explod
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(1)=22
anim=10012
scale=0.2,0.2
pos=90,0
removetime=10
ownpal=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(1)=22
anim=10012
scale=0.2,0.2
pos=90,-200
removetime=10
ownpal=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1



;本当はヘルパーなんて使いたくないんだよヽ(`Д´)ﾉ
[state ]
type=helper
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(1)=22
id=1321
stateno=1301
pos=90,0
helpertype=player
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=helper
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(1)=22
id=1322
stateno=1301
pos=90,-200
helpertype=player
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=helper
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(1)=27
id=1323
stateno=1301
pos=90,0
helpertype=player
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=helper
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(1)=27
id=1324
stateno=1301
pos=90,-200
helpertype=player
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1



;王の帰還
[state ]
type=varset
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=1
sysvar(0)=stateno
ignorehitpause=1
[state ]
type=varset
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animtime=0
sysvar(0)=0
ignorehitpause=1
[state ]
type=varset
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=sysvar(0)=0
sysvar(1)=0
ignorehitpause=1
[state ]
type=selfstate
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=sysvar(0)=0
value=0
ctrl=1
persistent=256
ignorehitpause=1
[state ]
type=varadd
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=1
sysvar(1)=1
ignorehitpause=1

;--------------------------------------------------------------------------
;サムウェアホールX

[statedef 1400]
type=s
movetype=i
physics=s
ctrl=0
velset=0,0
sprpriority=1

;邪眼キラー用
[state ]
type=changestate
triggerall=(sysfvar(0)=256001.0&&sysfvar(0)!=0.0)=0
trigger1=1
value=320000
persistent=256
ignorehitpause=1

[state ]
type=changeanim
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=time=0
value=30270
ignorehitpause=1



;座標移動
[state ]
type=posset
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(10)=0
x=-100
y=0
ignorehitpause=1



;本当はヘルパーなんて使いたくないんだよヽ(`Д´)ﾉ
[state ]
type=helper
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(1)=0
id=1401
stateno=1004
pos=0,0
helpertype=player
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=helper
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(10)=0
id=1401
stateno=1004
pos=0,0
helpertype=player
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1



;帰還
[state ]
type=changestate
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animtime=0
value=0
ctrl=1
ignorehitpause=1

;7-12p

[state ]
type=changeanim
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=sysvar(1)=0
value=30270
ignorehitpause=1



;座標移動
[state ]
type=posset
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(10)=0
x=-100
y=0
ignorehitpause=1



;本当はヘルパーなんて使いたくないんだよヽ(`Д´)ﾉ
[state ]
type=helper
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(1)=0
id=1401
stateno=1004
pos=0,0
helpertype=player
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=helper
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(10)=0
id=1401
stateno=1004
pos=0,0
helpertype=player
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1



;帰還
[state ]
type=varset
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=1
sysvar(0)=stateno
ignorehitpause=1
[state ]
type=varset
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animtime=0
sysvar(0)=0
ignorehitpause=1
[state ]
type=varset
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=sysvar(0)=0
sysvar(1)=0
ignorehitpause=1
[state ]
type=changestate
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=sysvar(0)=0
value=0
ctrl=1
[state ]
type=varadd
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=1
sysvar(1)=1
ignorehitpause=1

;--------------------------------------------------------------------------
;サムウェアホールY

[statedef 1410]
type=s
movetype=i
physics=s
ctrl=0
velset=0,0
sprpriority=1

;邪眼キラー用
[state ]
type=changestate
triggerall=(sysfvar(0)=256001.0&&sysfvar(0)!=0.0)=0
trigger1=1
value=320000
persistent=256
ignorehitpause=1

[state ]
type=changeanim
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=time=0
value=30270
ignorehitpause=1



;座標移動
[state ]
type=posset
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(10)=0
x=100
y=0
ignorehitpause=1



;本当はヘルパーなんて使いたくないんだよヽ(`Д´)ﾉ
[state ]
type=helper
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(1)=0
id=1401
stateno=1004
pos=0,0
helpertype=player
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=helper
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(10)=0
id=1401
stateno=1004
pos=0,0
helpertype=player
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1



;帰還
[state ]
type=changestate
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animtime=0
value=0
ctrl=1
ignorehitpause=1

;7-12p

[state ]
type=changeanim
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=sysvar(1)=0
value=30270
ignorehitpause=1



;座標移動
[state ]
type=posset
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(10)=0
x=100
y=0
ignorehitpause=1



;本当はヘルパーなんて使いたくないんだよヽ(`Д´)ﾉ
[state ]
type=helper
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(1)=0
id=1401
stateno=1004
pos=0,0
helpertype=player
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=helper
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(10)=0
id=1401
stateno=1004
pos=0,0
helpertype=player
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1



;帰還
[state ]
type=varset
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=1
sysvar(0)=stateno
ignorehitpause=1
[state ]
type=varset
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animtime=0
sysvar(0)=0
ignorehitpause=1
[state ]
type=varset
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=sysvar(0)=0
sysvar(1)=0
ignorehitpause=1
[state ]
type=changestate
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=sysvar(0)=0
value=0
ctrl=1
[state ]
type=varadd
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=1
sysvar(1)=1
ignorehitpause=1

;--------------------------------------------------------------------------
;サムウェアホールA

[statedef 1420]
type=s
movetype=i
physics=s
ctrl=0
velset=0,0
sprpriority=1

;邪眼キラー用
[state ]
type=changestate
triggerall=(sysfvar(0)=256001.0&&sysfvar(0)!=0.0)=0
trigger1=1
value=320000
persistent=256
ignorehitpause=1

[state ]
type=changeanim
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=time=0
value=30270
ignorehitpause=1



;座標移動
[state ]
type=posset
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(10)=0
x=0
y=0
ignorehitpause=1



;本当はヘルパーなんて使いたくないんだよヽ(`Д´)ﾉ
[state ]
type=helper
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(1)=0
id=1401
stateno=1004
pos=0,0
helpertype=player
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=helper
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(10)=0
id=1401
stateno=1004
pos=0,0
helpertype=player
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1



;帰還
[state ]
type=changestate
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animtime=0
value=0
ctrl=1
ignorehitpause=1

;7-12p

[state ]
type=changeanim
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=sysvar(1)=0
value=30270
ignorehitpause=1



;座標移動
[state ]
type=posset
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(10)=0
x=0
y=0
ignorehitpause=1



;本当はヘルパーなんて使いたくないんだよヽ(`Д´)ﾉ
[state ]
type=helper
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(1)=0
id=1401
stateno=1004
pos=0,0
helpertype=player
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=helper
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(10)=0
id=1401
stateno=1004
pos=0,0
helpertype=player
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1



;帰還
[state ]
type=varset
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=1
sysvar(0)=stateno
ignorehitpause=1
[state ]
type=varset
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animtime=0
sysvar(0)=0
ignorehitpause=1
[state ]
type=varset
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=sysvar(0)=0
sysvar(1)=0
ignorehitpause=1
[state ]
type=changestate
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=sysvar(0)=0
value=0
ctrl=1
[state ]
type=varadd
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=1
sysvar(1)=1
ignorehitpause=1

;--------------------------------------------------------------------------
;サムウェアホールB

[statedef 1430]
type=s
movetype=i
physics=s
ctrl=0
velset=0,0
sprpriority=1

;邪眼キラー用
[state ]
type=changestate
triggerall=(sysfvar(0)=256001.0&&sysfvar(0)!=0.0)=0
trigger1=1
value=320000
persistent=256
ignorehitpause=1

[state ]
type=changeanim
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=time=0
value=30270
ignorehitpause=1



;座標移動
[state ]
type=posadd
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(1)=10
x=floor(p2bodydist x)+100
ignorehitpause=1
[state ]
type=posset
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(10)=0
y=0
ignorehitpause=1



;本当はヘルパーなんて使いたくないんだよヽ(`Д´)ﾉ
[state ]
type=helper
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(1)=0
id=1401
stateno=1004
pos=0,0
helpertype=player
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=helper
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(10)=0
id=1401
stateno=1004
pos=0,0
helpertype=player
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1



;帰還
[state ]
type=changestate
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animtime=0
value=0
ctrl=1
ignorehitpause=1

;7-12p

[state ]
type=changeanim
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=sysvar(1)=0
value=30270
ignorehitpause=1



;座標移動
[state ]
type=posadd
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(1)=10
x=floor(p2bodydist x)+100
ignorehitpause=1
[state ]
type=posset
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(10)=0
y=0
ignorehitpause=1



;本当はヘルパーなんて使いたくないんだよヽ(`Д´)ﾉ
[state ]
type=helper
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(1)=0
id=1401
stateno=1004
pos=0,0
helpertype=player
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=helper
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(10)=0
id=1401
stateno=1004
pos=0,0
helpertype=player
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1



;帰還
[state ]
type=varset
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=1
sysvar(0)=stateno
ignorehitpause=1
[state ]
type=varset
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animtime=0
sysvar(0)=0
ignorehitpause=1
[state ]
type=varset
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=sysvar(0)=0
sysvar(1)=0
ignorehitpause=1
[state ]
type=changestate
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=sysvar(0)=0
value=0
ctrl=1
[state ]
type=varadd
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=1
sysvar(1)=1
ignorehitpause=1

;この下、一行以上空ける事…

[statedef 1500]
type=s
movetype=a
physics=s
juggle=5
velset=0,0
ctrl=0
sprpriority=1

;邪眼キラー用
[state ]
type=changestate
triggerall=(sysfvar(0)=256001.0&&sysfvar(0)!=0.0)=0
trigger1=1
value=320000
persistent=256
ignorehitpause=1

[state ]
type=changeanim
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=time=0
value=1300
ignorehitpause=1



;音響
[state ];ハァァッ――
type=playsnd
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(1)=0
value=s10,0
ignorehitpause=1
[state ];爆ぜよッ――
type=playsnd
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(6)=0
value=s7,1
ignorehitpause=1
[state ];ドゥゥゥム・・・
type=playsnd
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(6)=0
value=s10,1
volume=255
freqmul=0.8
ignorehitpause=1



;地面ゆるゆり
[state ]
type=assertspecial
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(1)>21
trigger1=animelemtime(1)<=51
flag=nofg
flag2=globalnoshadow
ignorehitpause=1
[state ]
type=envshake
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(6)>=1&&animelemtime(6)<=20
time=2
freq=180
ampl=10*cos(0.07854*animelemtime(6))*ifelse(animelemtime(6)%2=1,1,-1)
phase=90
ignorehitpause=1
[state ]
type=bgpalfx
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(1)=0
sinadd=255,255,255,84
time=21
ignorehitpause=1
[state ]
type=bgpalfx
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(1)>=21
trigger1=animelemtime(1)<=51
add=255,255,255
time=2
ignorehitpause=1
[state ]
type=bgpalfx
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(1)=51
add=255,255,255
sinadd=-255,-255,-255,84
time=21
ignorehitpause=1



;なんか皮膚に浮き出てくる筋（ビキビキ
[state ]
type=explod
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
triggerall=var(30)=0
trigger1=animelemtime(1)=0
persistent=0
anim=1305
postype=p1
pos=0,0
sprpriority=5
bindtime=-1
removeongethit=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
triggerall=var(30)>0
trigger1=animelemtime(1)=0
persistent=0
anim=1305
postype=p1
pos=0,0
sprpriority=5
bindtime=-1
removeongethit=1
trans=addalpha
alpha=70,256
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1



;土台波紋
[state ]
type=explod
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(6)>-10
trigger1=animelemtime(6)<=10
anim=10020
trans=addalpha
alpha=256-12.8*(animelemtime(6)+10),12.8*(animelemtime(6)+10)
scale=2*sin(0.07854*(animelemtime(6)+10)),0.5*sin(0.07854*(animelemtime(6)+10))
pos=70,0
removetime=-2
sprpriority=-2147483647
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(6)>0
trigger1=animelemtime(6)<=20
anim=10020
trans=addalpha
alpha=256-12.8*animelemtime(6),12.8*animelemtime(6)
scale=2*sin(0.07854*animelemtime(6)),0.5*sin(0.07854*animelemtime(6))
pos=70,0
removetime=-2
sprpriority=-2147483647
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(6)>10
trigger1=animelemtime(6)<=30
anim=10020
trans=addalpha
alpha=256-12.8*(animelemtime(6)-10),12.8*(animelemtime(6)-10)
scale=2*sin(0.07854*(animelemtime(6)-10)),0.5*sin(0.07854*(animelemtime(6)-10))
pos=70,0
removetime=-2
sprpriority=-2147483647
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1



;土台
[state ]
type=explod
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(6)>-20
trigger1=animelemtime(6)<=0
anim=10020
scale=0.84*sin(0.07854*(animelemtime(6)+20)),0.21*sin(0.07854*(animelemtime(6)+20))
pos=70,0
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(6)>-20
trigger1=animelemtime(6)<=0
anim=10020
scale=0.84*sin(0.07854*(animelemtime(6)+20)),0.21*sin(0.07854*(animelemtime(6)+20))
pos=70,0
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(6)>0
trigger1=animelemtime(6)<=20
anim=10020
scale=0.84,0.21
pos=70,0
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(6)>0
trigger1=animelemtime(6)<=20
anim=10020
scale=0.84,0.21
pos=70,0
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(6)>20
trigger1=animelemtime(6)<=35
anim=10020
scale=0.84*cos(0.1047*(animelemtime(6)-20)),0.21*cos(0.1047*(animelemtime(6)-20))
pos=70,0
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(6)>20
trigger1=animelemtime(6)<=35
anim=10020
scale=0.84*cos(0.1047*(animelemtime(6)-20)),0.21*cos(0.1047*(animelemtime(6)-20))
pos=70,0
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1



;柱
[state ]
type=explod
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(6)>0
trigger1=animelemtime(6)<=15
anim=10030
scale=0.6+0.15*sin(animelemtime(1)),1
pos=70,0
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(6)>15
trigger1=animelemtime(6)<=30
anim=10030
scale=0.6-0.04*(animelemtime(6)-15),1
pos=70,0
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1



;カスがぁー！！
[state ]
type=explod
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(6)>-10
trigger1=animelemtime(6)<=30
anim=10203
scale=0.4,0.4
pos=70+floor(50.4*cos(sysvar(3))),floor(12.6*sin(sysvar(3)))
vel=1-(random%3),-9
accel=0,-0.6
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1



;攻撃本体
[state ]
type=projectile
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(6)=0
projanim=40080
projremove=0
projremovetime=15
offset=70,0
attr=s,sp
hitflag=ma-
guardflag=m
damage=100,0
getpower=100,10
animtype=hard
hitsound=-1
guardsound=-1
sparkno=-1
guard.sparkno=-1
pausetime=0,10
ground.type=high
ground.hittime=21
ground.slidetime=21
ground.velocity=-2,-10
air.type=high
air.hittime=21
air.slidetime=21
air.velocity=-2,-10
fall=1
air.fall=1
palfx.time=60
palfx.add=0,0,0
palfx.mul=50,50,50
palfx.sinadd=100,100,100,15
palfx.color=0
palfx.invertall=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1



;王の帰還
[state ]
type=selfstate
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animtime=0
value=0
ctrl=1
persistent=256
ignorehitpause=1

;7-12p

[state ]
type=changeanim
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=sysvar(1)=0
value=1300
ignorehitpause=1



;音響
[state ];ハァァッ――
type=playsnd
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(1)=0
value=s10,0
ignorehitpause=1
[state ];爆ぜよッ――
type=playsnd
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(6)=0
value=s7,1
ignorehitpause=1
[state ];ドゥゥゥム・・・
type=playsnd
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(6)=0
value=s10,1
volume=255
freqmul=0.8
ignorehitpause=1



;地面ゆるゆり
[state ]
type=assertspecial
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(1)>21
trigger1=animelemtime(1)<=51
flag=nofg
flag2=globalnoshadow
ignorehitpause=1
[state ]
type=envshake
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(6)>=1&&animelemtime(6)<=20
time=2
freq=180
ampl=10*cos(0.07854*animelemtime(6))*ifelse(animelemtime(6)%2=1,1,-1)
phase=90
ignorehitpause=1
[state ]
type=bgpalfx
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(1)=0
sinadd=255,255,255,84
time=21
ignorehitpause=1
[state ]
type=bgpalfx
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(1)>=21
trigger1=animelemtime(1)<=51
add=255,255,255
time=2
ignorehitpause=1
[state ]
type=bgpalfx
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(1)=51
add=255,255,255
sinadd=-255,-255,-255,84
time=21
ignorehitpause=1



;なんか皮膚に浮き出てくる筋（ビキビキ
[state ]
type=explod
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
triggerall=var(30)=0
trigger1=animelemtime(1)=0
persistent=0
anim=1305
postype=p1
pos=0,0
sprpriority=5
bindtime=-1
removeongethit=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
triggerall=var(30)>0
trigger1=animelemtime(1)=0
persistent=0
anim=1305
postype=p1
pos=0,0
sprpriority=5
bindtime=-1
removeongethit=1
trans=addalpha
alpha=70,256
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1



;土台波紋
[state ]
type=explod
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(6)>-10
trigger1=animelemtime(6)<=10
anim=10020
trans=addalpha
alpha=256-12.8*(animelemtime(6)+10),12.8*(animelemtime(6)+10)
scale=2*sin(0.07854*(animelemtime(6)+10)),0.5*sin(0.07854*(animelemtime(6)+10))
pos=70,0
removetime=-2
sprpriority=-2147483647
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(6)>0
trigger1=animelemtime(6)<=20
anim=10020
trans=addalpha
alpha=256-12.8*animelemtime(6),12.8*animelemtime(6)
scale=2*sin(0.07854*animelemtime(6)),0.5*sin(0.07854*animelemtime(6))
pos=70,0
removetime=-2
sprpriority=-2147483647
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(6)>10
trigger1=animelemtime(6)<=30
anim=10020
trans=addalpha
alpha=256-12.8*(animelemtime(6)-10),12.8*(animelemtime(6)-10)
scale=2*sin(0.07854*(animelemtime(6)-10)),0.5*sin(0.07854*(animelemtime(6)-10))
pos=70,0
removetime=-2
sprpriority=-2147483647
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1



;土台
[state ]
type=explod
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(6)>-20
trigger1=animelemtime(6)<=0
anim=10020
scale=0.84*sin(0.07854*(animelemtime(6)+20)),0.21*sin(0.07854*(animelemtime(6)+20))
pos=70,0
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(6)>-20
trigger1=animelemtime(6)<=0
anim=10020
scale=0.84*sin(0.07854*(animelemtime(6)+20)),0.21*sin(0.07854*(animelemtime(6)+20))
pos=70,0
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(6)>0
trigger1=animelemtime(6)<=20
anim=10020
scale=0.84,0.21
pos=70,0
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(6)>0
trigger1=animelemtime(6)<=20
anim=10020
scale=0.84,0.21
pos=70,0
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(6)>20
trigger1=animelemtime(6)<=35
anim=10020
scale=0.84*cos(0.1047*(animelemtime(6)-20)),0.21*cos(0.1047*(animelemtime(6)-20))
pos=70,0
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(6)>20
trigger1=animelemtime(6)<=35
anim=10020
scale=0.84*cos(0.1047*(animelemtime(6)-20)),0.21*cos(0.1047*(animelemtime(6)-20))
pos=70,0
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1



;柱
[state ]
type=explod
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(6)>0
trigger1=animelemtime(6)<=15
anim=10030
scale=0.6+0.15*sin(animelemtime(1)),1
pos=70,0
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(6)>15
trigger1=animelemtime(6)<=30
anim=10030
scale=0.6-0.04*(animelemtime(6)-15),1
pos=70,0
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1



;カスがぁー！！
[state ]
type=explod
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(6)>-10
trigger1=animelemtime(6)<=30
anim=10203
scale=0.4,0.4
pos=70+floor(50.4*cos(sysvar(3))),floor(12.6*sin(sysvar(3)))
vel=1-(random%3),-9
accel=0,-0.6
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1



;攻撃本体
[state ]
type=projectile
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(6)=0
projanim=40080
projremove=0
projremovetime=15
offset=70,0
attr=s,sp
hitflag=ma-
guardflag=m
damage=100,0
getpower=100,10
animtype=hard
hitsound=-1
guardsound=-1
sparkno=-1
guard.sparkno=-1
pausetime=0,10
ground.type=high
ground.hittime=21
ground.slidetime=21
ground.velocity=-2,-10
air.type=high
air.hittime=21
air.slidetime=21
air.velocity=-2,-10
fall=1
air.fall=1
palfx.time=60
palfx.add=0,0,0
palfx.mul=50,50,50
palfx.sinadd=100,100,100,15
palfx.color=0
palfx.invertall=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1



;王の帰還
[state ]
type=varset
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=1
sysvar(0)=stateno
ignorehitpause=1
[state ]
type=varset
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animtime=0
sysvar(0)=0
ignorehitpause=1
[state ]
type=varset
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=sysvar(0)=0
sysvar(1)=0
ignorehitpause=1
[state ]
type=selfstate
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=sysvar(0)=0
value=0
ctrl=1
persistent=256
ignorehitpause=1
[state ]
type=varadd
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=1
sysvar(1)=1
ignorehitpause=1

[statedef 1510]
type=s
movetype=a
physics=s
juggle=5
velset=0,0
ctrl=0
sprpriority=1

;邪眼キラー用
[state ]
type=changestate
triggerall=(sysfvar(0)=256001.0&&sysfvar(0)!=0.0)=0
trigger1=1
value=320000
persistent=256
ignorehitpause=1

[state ]
type=changeanim
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=time=0
value=1300
ignorehitpause=1



;音響
[state ];ハァァッ――
type=playsnd
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(1)=0
value=s10,0
ignorehitpause=1
[state ];爆ぜよッ――
type=playsnd
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(6)=0
value=s7,1
ignorehitpause=1
[state ];ドゥゥゥム・・・
type=playsnd
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(6)=0
value=s10,1
volume=255
freqmul=0.8
ignorehitpause=1



;地面ゆるゆり
[state ]
type=assertspecial
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(1)>21
trigger1=animelemtime(1)<=51
flag=nofg
flag2=globalnoshadow
ignorehitpause=1
[state ]
type=envshake
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(6)>=1&&animelemtime(6)<=20
time=2
freq=180
ampl=10*cos(0.07854*animelemtime(6))*ifelse(animelemtime(6)%2=1,1,-1)
phase=90
ignorehitpause=1
[state ]
type=bgpalfx
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(1)=0
sinadd=255,255,255,84
time=21
ignorehitpause=1
[state ]
type=bgpalfx
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(1)>=21
trigger1=animelemtime(1)<=51
add=255,255,255
time=2
ignorehitpause=1
[state ]
type=bgpalfx
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(1)=51
add=255,255,255
sinadd=-255,-255,-255,84
time=21
ignorehitpause=1



;なんか皮膚に浮き出てくる筋（ビキビキ
[state ]
type=explod
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
triggerall=var(30)=0
trigger1=animelemtime(1)=0
persistent=0
anim=1305
postype=p1
pos=0,0
sprpriority=5
bindtime=-1
removeongethit=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
triggerall=var(30)>0
trigger1=animelemtime(1)=0
persistent=0
anim=1305
postype=p1
pos=0,0
sprpriority=5
bindtime=-1
removeongethit=1
trans=addalpha
alpha=70,256
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1



;土台波紋
[state ]
type=explod
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(6)>-10
trigger1=animelemtime(6)<=10
anim=10020
trans=addalpha
alpha=256-12.8*(animelemtime(6)+10),12.8*(animelemtime(6)+10)
scale=2*sin(0.07854*(animelemtime(6)+10)),0.5*sin(0.07854*(animelemtime(6)+10))
pos=140,0
removetime=-2
sprpriority=-2147483647
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(6)>0
trigger1=animelemtime(6)<=20
anim=10020
trans=addalpha
alpha=256-12.8*animelemtime(6),12.8*animelemtime(6)
scale=2*sin(0.07854*animelemtime(6)),0.5*sin(0.07854*animelemtime(6))
pos=140,0
removetime=-2
sprpriority=-2147483647
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(6)>10
trigger1=animelemtime(6)<=30
anim=10020
trans=addalpha
alpha=256-12.8*(animelemtime(6)-10),12.8*(animelemtime(6)-10)
scale=2*sin(0.07854*(animelemtime(6)-10)),0.5*sin(0.07854*(animelemtime(6)-10))
pos=140,0
removetime=-2
sprpriority=-2147483647
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1



;土台
[state ]
type=explod
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(6)>-20
trigger1=animelemtime(6)<=0
anim=10020
scale=0.84*sin(0.07854*(animelemtime(6)+20)),0.21*sin(0.07854*(animelemtime(6)+20))
pos=140,0
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(6)>-20
trigger1=animelemtime(6)<=0
anim=10020
scale=0.84*sin(0.07854*(animelemtime(6)+20)),0.21*sin(0.07854*(animelemtime(6)+20))
pos=140,0
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(6)>0
trigger1=animelemtime(6)<=20
anim=10020
scale=0.84,0.21
pos=140,0
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(6)>0
trigger1=animelemtime(6)<=20
anim=10020
scale=0.84,0.21
pos=140,0
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(6)>20
trigger1=animelemtime(6)<=35
anim=10020
scale=0.84*cos(0.1047*(animelemtime(6)-20)),0.21*cos(0.1047*(animelemtime(6)-20))
pos=140,0
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(6)>20
trigger1=animelemtime(6)<=35
anim=10020
scale=0.84*cos(0.1047*(animelemtime(6)-20)),0.21*cos(0.1047*(animelemtime(6)-20))
pos=140,0
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1



;柱
[state ]
type=explod
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(6)>0
trigger1=animelemtime(6)<=15
anim=10030
scale=0.6+0.15*sin(animelemtime(1)),1
pos=140,0
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(6)>15
trigger1=animelemtime(6)<=30
anim=10030
scale=0.6-0.04*(animelemtime(6)-15),1
pos=140,0
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1



;カスがぁー！！
[state ]
type=explod
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(6)>-10
trigger1=animelemtime(6)<=30
anim=10203
scale=0.4,0.4
pos=140+floor(50.4*cos(sysvar(3))),floor(12.6*sin(sysvar(3)))
vel=1-(random%3),-9
accel=0,-0.6
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1



;攻撃本体
[state ]
type=projectile
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(6)=0
projanim=40080
projremove=0
projremovetime=15
offset=140,0
attr=s,sp
hitflag=ma-
guardflag=m
damage=100,0
getpower=100,10
animtype=hard
hitsound=-1
guardsound=-1
sparkno=-1
guard.sparkno=-1
pausetime=0,10
ground.type=high
ground.hittime=21
ground.slidetime=21
ground.velocity=-2,-10
air.type=high
air.hittime=21
air.slidetime=21
air.velocity=-2,-10
fall=1
air.fall=1
palfx.time=60
palfx.add=0,0,0
palfx.mul=50,50,50
palfx.sinadd=100,100,100,15
palfx.color=0
palfx.invertall=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1



;王の帰還
[state ]
type=selfstate
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animtime=0
value=0
ctrl=1
persistent=256
ignorehitpause=1

;7-12p

[state ]
type=changeanim
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=sysvar(1)=0
value=1300
ignorehitpause=1



;音響
[state ];ハァァッ――
type=playsnd
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(1)=0
value=s10,0
ignorehitpause=1
[state ];爆ぜよッ――
type=playsnd
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(6)=0
value=s7,1
ignorehitpause=1
[state ];ドゥゥゥム・・・
type=playsnd
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(6)=0
value=s10,1
volume=255
freqmul=0.8
ignorehitpause=1



;地面ゆるゆり
[state ]
type=assertspecial
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(1)>21
trigger1=animelemtime(1)<=51
flag=nofg
flag2=globalnoshadow
ignorehitpause=1
[state ]
type=envshake
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(6)>=1&&animelemtime(6)<=20
time=2
freq=180
ampl=10*cos(0.07854*animelemtime(6))*ifelse(animelemtime(6)%2=1,1,-1)
phase=90
ignorehitpause=1
[state ]
type=bgpalfx
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(1)=0
sinadd=255,255,255,84
time=21
ignorehitpause=1
[state ]
type=bgpalfx
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(1)>=21
trigger1=animelemtime(1)<=51
add=255,255,255
time=2
ignorehitpause=1
[state ]
type=bgpalfx
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(1)=51
add=255,255,255
sinadd=-255,-255,-255,84
time=21
ignorehitpause=1



;なんか皮膚に浮き出てくる筋（ビキビキ
[state ]
type=explod
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
triggerall=var(30)=0
trigger1=animelemtime(1)=0
persistent=0
anim=1305
postype=p1
pos=0,0
sprpriority=5
bindtime=-1
removeongethit=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
triggerall=var(30)>0
trigger1=animelemtime(1)=0
persistent=0
anim=1305
postype=p1
pos=0,0
sprpriority=5
bindtime=-1
removeongethit=1
trans=addalpha
alpha=70,256
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1



;土台波紋
[state ]
type=explod
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(6)>-10
trigger1=animelemtime(6)<=10
anim=10020
trans=addalpha
alpha=256-12.8*(animelemtime(6)+10),12.8*(animelemtime(6)+10)
scale=2*sin(0.07854*(animelemtime(6)+10)),0.5*sin(0.07854*(animelemtime(6)+10))
pos=140,0
removetime=-2
sprpriority=-2147483647
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(6)>0
trigger1=animelemtime(6)<=20
anim=10020
trans=addalpha
alpha=256-12.8*animelemtime(6),12.8*animelemtime(6)
scale=2*sin(0.07854*animelemtime(6)),0.5*sin(0.07854*animelemtime(6))
pos=140,0
removetime=-2
sprpriority=-2147483647
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(6)>10
trigger1=animelemtime(6)<=30
anim=10020
trans=addalpha
alpha=256-12.8*(animelemtime(6)-10),12.8*(animelemtime(6)-10)
scale=2*sin(0.07854*(animelemtime(6)-10)),0.5*sin(0.07854*(animelemtime(6)-10))
pos=140,0
removetime=-2
sprpriority=-2147483647
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1



;土台
[state ]
type=explod
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(6)>-20
trigger1=animelemtime(6)<=0
anim=10020
scale=0.84*sin(0.07854*(animelemtime(6)+20)),0.21*sin(0.07854*(animelemtime(6)+20))
pos=140,0
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(6)>-20
trigger1=animelemtime(6)<=0
anim=10020
scale=0.84*sin(0.07854*(animelemtime(6)+20)),0.21*sin(0.07854*(animelemtime(6)+20))
pos=140,0
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(6)>0
trigger1=animelemtime(6)<=20
anim=10020
scale=0.84,0.21
pos=140,0
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(6)>0
trigger1=animelemtime(6)<=20
anim=10020
scale=0.84,0.21
pos=140,0
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(6)>20
trigger1=animelemtime(6)<=35
anim=10020
scale=0.84*cos(0.1047*(animelemtime(6)-20)),0.21*cos(0.1047*(animelemtime(6)-20))
pos=140,0
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(6)>20
trigger1=animelemtime(6)<=35
anim=10020
scale=0.84*cos(0.1047*(animelemtime(6)-20)),0.21*cos(0.1047*(animelemtime(6)-20))
pos=140,0
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1



;柱
[state ]
type=explod
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(6)>0
trigger1=animelemtime(6)<=15
anim=10030
scale=0.6+0.15*sin(animelemtime(1)),1
pos=140,0
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(6)>15
trigger1=animelemtime(6)<=30
anim=10030
scale=0.6-0.04*(animelemtime(6)-15),1
pos=140,0
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1



;カスがぁー！！
[state ]
type=explod
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(6)>-10
trigger1=animelemtime(6)<=30
anim=10203
scale=0.4,0.4
pos=140+floor(50.4*cos(sysvar(3))),floor(12.6*sin(sysvar(3)))
vel=1-(random%3),-9
accel=0,-0.6
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1



;攻撃本体
[state ]
type=projectile
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(6)=0
projanim=40080
projremove=0
projremovetime=15
offset=140,0
attr=s,sp
hitflag=ma-
guardflag=m
damage=100,0
getpower=100,10
animtype=hard
hitsound=-1
guardsound=-1
sparkno=-1
guard.sparkno=-1
pausetime=0,10
ground.type=high
ground.hittime=21
ground.slidetime=21
ground.velocity=-2,-10
air.type=high
air.hittime=21
air.slidetime=21
air.velocity=-2,-10
fall=1
air.fall=1
palfx.time=60
palfx.add=0,0,0
palfx.mul=50,50,50
palfx.sinadd=100,100,100,15
palfx.color=0
palfx.invertall=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1



;王の帰還
[state ]
type=varset
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=1
sysvar(0)=stateno
ignorehitpause=1
[state ]
type=varset
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animtime=0
sysvar(0)=0
ignorehitpause=1
[state ]
type=varset
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=sysvar(0)=0
sysvar(1)=0
ignorehitpause=1
[state ]
type=selfstate
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=sysvar(0)=0
value=0
ctrl=1
persistent=256
ignorehitpause=1
[state ]
type=varadd
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=1
sysvar(1)=1
ignorehitpause=1

[statedef 1520]
type=s
movetype=a
physics=s
juggle=5
velset=0,0
ctrl=0
sprpriority=1

;邪眼キラー用
[state ]
type=changestate
triggerall=(sysfvar(0)=256001.0&&sysfvar(0)!=0.0)=0
trigger1=1
value=320000
persistent=256
ignorehitpause=1

[state ]
type=changeanim
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=time=0
value=1300
ignorehitpause=1



;音響
[state ];ハァァッ――
type=playsnd
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(1)=0
value=s10,0
ignorehitpause=1
[state ];爆ぜよッ――
type=playsnd
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(6)=0
value=s7,1
ignorehitpause=1
[state ];ドゥゥゥム・・・
type=playsnd
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(6)=0
value=s10,1
volume=255
freqmul=0.8
ignorehitpause=1



;地面ゆるゆり
[state ]
type=assertspecial
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(1)>21
trigger1=animelemtime(1)<=51
flag=nofg
flag2=globalnoshadow
ignorehitpause=1
[state ]
type=envshake
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(6)>=1&&animelemtime(6)<=20
time=2
freq=180
ampl=10*cos(0.07854*animelemtime(6))*ifelse(animelemtime(6)%2=1,1,-1)
phase=90
ignorehitpause=1
[state ]
type=bgpalfx
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(1)=0
sinadd=255,255,255,84
time=21
ignorehitpause=1
[state ]
type=bgpalfx
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(1)>=21
trigger1=animelemtime(1)<=51
add=255,255,255
time=2
ignorehitpause=1
[state ]
type=bgpalfx
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(1)=51
add=255,255,255
sinadd=-255,-255,-255,84
time=21
ignorehitpause=1



;なんか皮膚に浮き出てくる筋（ビキビキ
[state ]
type=explod
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
triggerall=var(30)=0
trigger1=animelemtime(1)=0
persistent=0
anim=1305
postype=p1
pos=0,0
sprpriority=5
bindtime=-1
removeongethit=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
triggerall=var(30)>0
trigger1=animelemtime(1)=0
persistent=0
anim=1305
postype=p1
pos=0,0
sprpriority=5
bindtime=-1
removeongethit=1
trans=addalpha
alpha=70,256
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1



;土台波紋
[state ]
type=explod
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(6)>-10
trigger1=animelemtime(6)<=10
anim=10020
trans=addalpha
alpha=256-12.8*(animelemtime(6)+10),12.8*(animelemtime(6)+10)
scale=2*sin(0.07854*(animelemtime(6)+10)),0.5*sin(0.07854*(animelemtime(6)+10))
pos=210,0
removetime=-2
sprpriority=-2147483647
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(6)>0
trigger1=animelemtime(6)<=20
anim=10020
trans=addalpha
alpha=256-12.8*animelemtime(6),12.8*animelemtime(6)
scale=2*sin(0.07854*animelemtime(6)),0.5*sin(0.07854*animelemtime(6))
pos=210,0
removetime=-2
sprpriority=-2147483647
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(6)>10
trigger1=animelemtime(6)<=30
anim=10020
trans=addalpha
alpha=256-12.8*(animelemtime(6)-10),12.8*(animelemtime(6)-10)
scale=2*sin(0.07854*(animelemtime(6)-10)),0.5*sin(0.07854*(animelemtime(6)-10))
pos=210,0
removetime=-2
sprpriority=-2147483647
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1



;土台
[state ]
type=explod
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(6)>-20
trigger1=animelemtime(6)<=0
anim=10020
scale=0.84*sin(0.07854*(animelemtime(6)+20)),0.21*sin(0.07854*(animelemtime(6)+20))
pos=210,0
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(6)>-20
trigger1=animelemtime(6)<=0
anim=10020
scale=0.84*sin(0.07854*(animelemtime(6)+20)),0.21*sin(0.07854*(animelemtime(6)+20))
pos=210,0
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(6)>0
trigger1=animelemtime(6)<=20
anim=10020
scale=0.84,0.21
pos=210,0
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(6)>0
trigger1=animelemtime(6)<=20
anim=10020
scale=0.84,0.21
pos=210,0
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(6)>20
trigger1=animelemtime(6)<=35
anim=10020
scale=0.84*cos(0.1047*(animelemtime(6)-20)),0.21*cos(0.1047*(animelemtime(6)-20))
pos=210,0
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(6)>20
trigger1=animelemtime(6)<=35
anim=10020
scale=0.84*cos(0.1047*(animelemtime(6)-20)),0.21*cos(0.1047*(animelemtime(6)-20))
pos=210,0
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1



;柱
[state ]
type=explod
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(6)>0
trigger1=animelemtime(6)<=15
anim=10030
scale=0.6+0.15*sin(animelemtime(1)),1
pos=210,0
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(6)>15
trigger1=animelemtime(6)<=30
anim=10030
scale=0.6-0.04*(animelemtime(6)-15),1
pos=210,0
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1



;カスがぁー！！
[state ]
type=explod
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(6)>-10
trigger1=animelemtime(6)<=30
anim=10203
scale=0.4,0.4
pos=210+floor(50.4*cos(sysvar(3))),floor(12.6*sin(sysvar(3)))
vel=1-(random%3),-9
accel=0,-0.6
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1



;攻撃本体
[state ]
type=projectile
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(6)=0
projanim=40080
projremove=0
projremovetime=15
offset=210,0
attr=s,sp
hitflag=ma-
guardflag=m
damage=100,0
getpower=100,10
animtype=hard
hitsound=-1
guardsound=-1
sparkno=-1
guard.sparkno=-1
pausetime=0,10
ground.type=high
ground.hittime=21
ground.slidetime=21
ground.velocity=-2,-10
air.type=high
air.hittime=21
air.slidetime=21
air.velocity=-2,-10
fall=1
air.fall=1
palfx.time=60
palfx.add=0,0,0
palfx.mul=50,50,50
palfx.sinadd=100,100,100,15
palfx.color=0
palfx.invertall=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1



;王の帰還
[state ]
type=selfstate
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animtime=0
value=0
ctrl=1
persistent=256
ignorehitpause=1

;7-12p

[state ]
type=changeanim
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=sysvar(1)=0
value=1300
ignorehitpause=1



;音響
[state ];ハァァッ――
type=playsnd
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(1)=0
value=s10,0
ignorehitpause=1
[state ];爆ぜよッ――
type=playsnd
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(6)=0
value=s7,1
ignorehitpause=1
[state ];ドゥゥゥム・・・
type=playsnd
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(6)=0
value=s10,1
volume=255
freqmul=0.8
ignorehitpause=1



;地面ゆるゆり
[state ]
type=assertspecial
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(1)>21
trigger1=animelemtime(1)<=51
flag=nofg
flag2=globalnoshadow
ignorehitpause=1
[state ]
type=envshake
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(6)>=1&&animelemtime(6)<=20
time=2
freq=180
ampl=10*cos(0.07854*animelemtime(6))*ifelse(animelemtime(6)%2=1,1,-1)
phase=90
ignorehitpause=1
[state ]
type=bgpalfx
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(1)=0
sinadd=255,255,255,84
time=21
ignorehitpause=1
[state ]
type=bgpalfx
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(1)>=21
trigger1=animelemtime(1)<=51
add=255,255,255
time=2
ignorehitpause=1
[state ]
type=bgpalfx
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(1)=51
add=255,255,255
sinadd=-255,-255,-255,84
time=21
ignorehitpause=1



;なんか皮膚に浮き出てくる筋（ビキビキ
[state ]
type=explod
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
triggerall=var(30)=0
trigger1=animelemtime(1)=0
persistent=0
anim=1305
postype=p1
pos=0,0
sprpriority=5
bindtime=-1
removeongethit=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
triggerall=var(30)>0
trigger1=animelemtime(1)=0
persistent=0
anim=1305
postype=p1
pos=0,0
sprpriority=5
bindtime=-1
removeongethit=1
trans=addalpha
alpha=70,256
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1



;土台波紋
[state ]
type=explod
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(6)>-10
trigger1=animelemtime(6)<=10
anim=10020
trans=addalpha
alpha=256-12.8*(animelemtime(6)+10),12.8*(animelemtime(6)+10)
scale=2*sin(0.07854*(animelemtime(6)+10)),0.5*sin(0.07854*(animelemtime(6)+10))
pos=210,0
removetime=-2
sprpriority=-2147483647
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(6)>0
trigger1=animelemtime(6)<=20
anim=10020
trans=addalpha
alpha=256-12.8*animelemtime(6),12.8*animelemtime(6)
scale=2*sin(0.07854*animelemtime(6)),0.5*sin(0.07854*animelemtime(6))
pos=210,0
removetime=-2
sprpriority=-2147483647
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(6)>10
trigger1=animelemtime(6)<=30
anim=10020
trans=addalpha
alpha=256-12.8*(animelemtime(6)-10),12.8*(animelemtime(6)-10)
scale=2*sin(0.07854*(animelemtime(6)-10)),0.5*sin(0.07854*(animelemtime(6)-10))
pos=210,0
removetime=-2
sprpriority=-2147483647
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1



;土台
[state ]
type=explod
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(6)>-20
trigger1=animelemtime(6)<=0
anim=10020
scale=0.84*sin(0.07854*(animelemtime(6)+20)),0.21*sin(0.07854*(animelemtime(6)+20))
pos=210,0
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(6)>-20
trigger1=animelemtime(6)<=0
anim=10020
scale=0.84*sin(0.07854*(animelemtime(6)+20)),0.21*sin(0.07854*(animelemtime(6)+20))
pos=210,0
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(6)>0
trigger1=animelemtime(6)<=20
anim=10020
scale=0.84,0.21
pos=210,0
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(6)>0
trigger1=animelemtime(6)<=20
anim=10020
scale=0.84,0.21
pos=210,0
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(6)>20
trigger1=animelemtime(6)<=35
anim=10020
scale=0.84*cos(0.1047*(animelemtime(6)-20)),0.21*cos(0.1047*(animelemtime(6)-20))
pos=210,0
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(6)>20
trigger1=animelemtime(6)<=35
anim=10020
scale=0.84*cos(0.1047*(animelemtime(6)-20)),0.21*cos(0.1047*(animelemtime(6)-20))
pos=210,0
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1



;柱
[state ]
type=explod
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(6)>0
trigger1=animelemtime(6)<=15
anim=10030
scale=0.6+0.15*sin(animelemtime(1)),1
pos=210,0
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(6)>15
trigger1=animelemtime(6)<=30
anim=10030
scale=0.6-0.04*(animelemtime(6)-15),1
pos=210,0
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1



;カスがぁー！！
[state ]
type=explod
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(6)>-10
trigger1=animelemtime(6)<=30
anim=10203
scale=0.4,0.4
pos=210+floor(50.4*cos(sysvar(3))),floor(12.6*sin(sysvar(3)))
vel=1-(random%3),-9
accel=0,-0.6
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1



;攻撃本体
[state ]
type=projectile
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(6)=0
projanim=40080
projremove=0
projremovetime=15
offset=210,0
attr=s,sp
hitflag=ma-
guardflag=m
damage=100,0
getpower=100,10
animtype=hard
hitsound=-1
guardsound=-1
sparkno=-1
guard.sparkno=-1
pausetime=0,10
ground.type=high
ground.hittime=21
ground.slidetime=21
ground.velocity=-2,-10
air.type=high
air.hittime=21
air.slidetime=21
air.velocity=-2,-10
fall=1
air.fall=1
palfx.time=60
palfx.add=0,0,0
palfx.mul=50,50,50
palfx.sinadd=100,100,100,15
palfx.color=0
palfx.invertall=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1



;王の帰還
[state ]
type=varset
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=1
sysvar(0)=stateno
ignorehitpause=1
[state ]
type=varset
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animtime=0
sysvar(0)=0
ignorehitpause=1
[state ]
type=varset
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=sysvar(0)=0
sysvar(1)=0
ignorehitpause=1
[state ]
type=selfstate
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=sysvar(0)=0
value=0
ctrl=1
persistent=256
ignorehitpause=1
[state ]
type=varadd
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=1
sysvar(1)=1
ignorehitpause=1

[statedef 1600]
type=s
movetype=a
physics=s
juggle=3
velset=0,0
ctrl=0
sprpriority=3

;邪眼キラー用
[state ]
type=changestate
triggerall=(sysfvar(0)=256001.0&&sysfvar(0)!=0.0)=0
trigger1=1
value=320000
persistent=256
ignorehitpause=1

[state ]
type=changeanim
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=time=0
value=1300
ignorehitpause=1



;音響
[state ];――ッかァァ！
type=playsnd
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(1)=22
value=s7,4
ignorehitpause=1
[state ];でろんっ♪
type=playsnd
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(1)=22
value=s8,2
ignorehitpause=1
[state ];ボムンッ！！
type=playsnd
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(1)=22
value=s8,3
ignorehitpause=1



;なんか皮膚に浮き出てくる筋（ビキビキ
[state ]
type=explod
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
triggerall=var(30)=0
trigger1=animelemtime(1)=0
persistent=0
anim=1305
postype=p1
pos=0,0
sprpriority=5
bindtime=-1
removeongethit=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
triggerall=var(30)>0
trigger1=animelemtime(1)=0
persistent=0
anim=1305
postype=p1
pos=0,0
sprpriority=5
bindtime=-1
removeongethit=1
trans=addalpha
alpha=70,256
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1



;出てくる感じのエフェクト
[state ]
type=explod
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(1)>=22&&animelemtime(1)<=51
anim=10160
trans=addalpha
alpha=256*cos(0.05236*(animelemtime(1)-21)),256*sin(0.05236*(animelemtime(1)-21))
scale=0.03*(animelemtime(1)-21),0.06*(animelemtime(1)-21)
pos=32,-85
removetime=-2
sprpriority=2147483646
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(1)>=22&&animelemtime(1)<=41
anim=10004
scale=1,1
pos=32,-85
vel=3-(random%7),15-(random%31)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1



;本当はヘルパーなんて使いたくないんだよヽ(`Д´)ﾉ
[state ]
type=helper
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(1)=22
id=1601
stateno=1601
pos=32,-85
helpertype=player
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1



;王の帰還
[state ]
type=selfstate
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animtime=0
value=0
ctrl=1
persistent=256
ignorehitpause=1

;7-12p

[state ]
type=changeanim
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=sysvar(1)=0
value=1300
ignorehitpause=1



;音響
[state ];――ッかァァ！
type=playsnd
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(1)=22
value=s7,4
ignorehitpause=1
[state ];でろんっ♪
type=playsnd
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(1)=22
value=s8,2
ignorehitpause=1
[state ];ボムンッ！！
type=playsnd
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(1)=22
value=s8,3
ignorehitpause=1



;なんか皮膚に浮き出てくる筋（ビキビキ
[state ]
type=explod
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
triggerall=var(30)=0
trigger1=animelemtime(1)=0
persistent=0
anim=1305
postype=p1
pos=0,0
sprpriority=5
bindtime=-1
removeongethit=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
triggerall=var(30)>0
trigger1=animelemtime(1)=0
persistent=0
anim=1305
postype=p1
pos=0,0
sprpriority=5
bindtime=-1
removeongethit=1
trans=addalpha
alpha=70,256
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1



;出てくる感じのエフェクト
[state ]
type=explod
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(1)>=22&&animelemtime(1)<=51
anim=10160
trans=addalpha
alpha=256*cos(0.05236*(animelemtime(1)-21)),256*sin(0.05236*(animelemtime(1)-21))
scale=0.03*(animelemtime(1)-21),0.06*(animelemtime(1)-21)
pos=32,-85
removetime=-2
sprpriority=2147483646
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(1)>=22&&animelemtime(1)<=41
anim=10004
scale=1,1
pos=32,-85
vel=3-(random%7),15-(random%31)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1



;本当はヘルパーなんて使いたくないんだよヽ(`Д´)ﾉ
[state ]
type=helper
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(1)=22
id=1601
stateno=1601
pos=32,-85
helpertype=player
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1



;王の帰還
[state ]
type=varset
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=1
sysvar(0)=stateno
ignorehitpause=1
[state ]
type=varset
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animtime=0
sysvar(0)=0
ignorehitpause=1
[state ]
type=varset
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=sysvar(0)=0
sysvar(1)=0
ignorehitpause=1
[state ]
type=selfstate
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=sysvar(0)=0
value=0
ctrl=1
persistent=256
ignorehitpause=1
[state ]
type=varadd
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=1
sysvar(1)=1
ignorehitpause=1

;---------------------------------------------------------------------------
[statedef 1601]
anim=40000

;邪眼キラー用
[state ]
type=changestate
triggerall=(sysfvar(0)=256001.0&&sysfvar(0)!=0.0)=0
trigger1=1
value=320000
persistent=256
ignorehitpause=1

;かげボールA
[state ]
type=explod
triggerall=ishelper(1601)
trigger1=sysvar(1)>=1&&sysvar(1)<=5
anim=10020
scale=0.1*sysvar(1),0.1*sysvar(1)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ishelper(1601)
trigger1=sysvar(1)>=6&&sysvar(1)<=100
anim=10020
scale=0.5,0.5
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ishelper(1601)
trigger1=sysvar(1)>=101&&sysvar(1)<=120
anim=10020
scale=0.5-0.025*(sysvar(1)-100),0.5-0.025*(sysvar(1)-100)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ishelper(1601)
trigger1=sysvar(1)>=1&&sysvar(1)<=100
trigger1=sysvar(1)%2=1
anim=10202
scale=0.1+0.1*(parent,sysvar(3)%5),0.1+0.1*(parent,sysvar(3)%5)
pos=floor(120*cos(0.01745*parent,sysvar(3))+vel x),floor(120*sin(0.01745*parent,sysvar(3))+vel y)
vel=-8*cos(0.01745*parent,sysvar(3))+vel x,-8*sin(0.01745*parent,sysvar(3))+vel y
removetime=15
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=velset
triggerall=ishelper(1601)
trigger1=1
x=0.04*facing*(enemynear,screenpos x-screenpos x)
y=0.04*(enemynear,screenpos y-screenpos y+enemynear,const(size.mid.pos.y))
ignorehitpause=1
[state ]
type=projectile
triggerall=ishelper(1601)
trigger1=sysvar(1)%2=0
projid=1601
projanim=40090
projremove=1
projremovetime=2
attr=s,sp
hitflag=mafpd
guardflag=m
damage=12,1
getpower=20,2
animtype=hard
hitsound=s10,2
guardsound=s10,2
sparkno=-1
guard.sparkno=-1
pausetime=0,10
ground.type=high
ground.hittime=21
ground.slidetime=21
ground.velocity=-4,-0.5
fall=1
air.type=high
air.hittime=21
air.slidetime=21
air.velocity=-4,-0.5
air.fall=1
envshake.time=4
envshake.freq=180
envshake.ampl=6
palfx.time=60
palfx.add=64,64,128
palfx.mul=256,256,256
palfx.sinadd=150,150,150,5
palfx.color=0
palfx.invertall=0
p2facing=1
p2stateno=1602
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=destroyself
triggerall=ishelper(1601)
trigger1=sysvar(1)>120
ignorehitpause=1



;かげボールB
[state ]
type=playsnd
triggerall=ishelper(1611)
trigger1=sysvar(1)>=81&&sysvar(1)<=200
trigger1=sysvar(1)%10=1
value=s8,1
volume=-240
ignorehitpause=1
[state ]
type=playsnd
triggerall=ishelper(1611)
trigger1=sysvar(1)>=81&&sysvar(1)<=200
trigger1=sysvar(1)%10=1
value=s10,41
volume=-240
ignorehitpause=1
[state ]
type=varset
triggerall=ishelper(1611)
trigger1=sysvar(1)=0
sysvar(2)=facing*(enemynear,screenpos x-screenpos x)
ignorehitpause=1
[state ]
type=velset
triggerall=ishelper(1611)
trigger1=sysvar(1)>=1&&sysvar(1)<=20
x=0.05*sysvar(2)
y=0
ignorehitpause=1
[state ]
type=velset
triggerall=ishelper(1611)
trigger1=sysvar(1)>=21
x=0
y=0
ignorehitpause=1
[state ]
type=explod
triggerall=ishelper(1611)
trigger1=sysvar(1)>=1&&sysvar(1)<=20
anim=10020
scale=0.05*sysvar(1),0.0125*sysvar(1)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ishelper(1611)
trigger1=sysvar(1)>=21&&sysvar(1)<=140
anim=10020
scale=1,0.25
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ishelper(1611)
trigger1=sysvar(1)>=141&&sysvar(1)<=160
anim=10020
scale=1-0.05*(sysvar(1)-140),0.25-0.0125*(sysvar(1)-140)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ishelper(1611)
trigger1=sysvar(1)>=11&&sysvar(1)<=150
trigger1=sysvar(1)%2=1
anim=10203
scale=0.4,0.4
pos=floor(80*cos(parent,sysvar(3))),floor(20*sin(parent,sysvar(3)))
vel=1-(random%3),-6
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ishelper(1611)
trigger1=sysvar(1)>=21&&sysvar(1)<=140
trigger1=sysvar(1)%5=1
id=1611
anim=10202
scale=1,1
pos=60*cos(parent,sysvar(3)),15*cos(parent,sysvar(3))
vel=0.002*(parent,sysvar(3)-500),-0.002*(parent,sysvar(3)+500)
removetime=60
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ishelper(1611)
trigger1=sysvar(1)>=21&&sysvar(1)<=140
trigger1=sysvar(1)%5=1
id=1612
anim=10003
scale=0.4,0.4
pos=60*cos(parent,sysvar(3)),15*cos(parent,sysvar(3))
vel=0.002*(parent,sysvar(3)-500),-0.002*(parent,sysvar(3)+500)
removetime=60
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ishelper(1611)
trigger1=sysvar(1)>=21&&sysvar(1)<=140
trigger1=sysvar(1)%5=1
anim=10014
scale=0.4,0.4
pos=60*cos(parent,sysvar(3)),15*cos(parent,sysvar(3))
vel=0.002*(parent,sysvar(3)-500),-0.002*(parent,sysvar(3)+500)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ishelper(1611)
trigger1=sysvar(1)>=21&&sysvar(1)<=140
trigger1=sysvar(1)%5=1
anim=10006
scale=1,1
pos=60*cos(parent,sysvar(3))+0.12*(parent,sysvar(3)-500)-60*(7-(parent,sysvar(3)%15)),15*cos(parent,sysvar(3))-0.12*(parent,sysvar(3)+500)-60*(7-((parent,sysvar(3)**2)%15))
vel=7-(parent,sysvar(3)%15),7-((parent,sysvar(3)**2)%15)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ishelper(1611)
trigger1=sysvar(1)>=21&&sysvar(1)<=140
trigger1=sysvar(1)%5=1
anim=10006
scale=1,1
pos=60*cos(parent,sysvar(3))+0.12*(parent,sysvar(3)-500)-60*(7-((parent,sysvar(3)**3)%15)),15*cos(parent,sysvar(3))-0.12*(parent,sysvar(3)+500)-60*(7-((parent,sysvar(3)**4)%15))
vel=7-((parent,sysvar(3)**3)%15),7-((parent,sysvar(3)**4)%15)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ishelper(1611)
trigger1=sysvar(1)>=21&&sysvar(1)<=140
trigger1=sysvar(1)%5=1
anim=10006
scale=1,1
pos=60*cos(parent,sysvar(3))+0.12*(parent,sysvar(3)-500)-60*(7-((parent,sysvar(3)**5)%15)),15*cos(parent,sysvar(3))-0.12*(parent,sysvar(3)+500)-60*(7-((parent,sysvar(3)**6)%15))
vel=7-((parent,sysvar(3)**5)%15),7-((parent,sysvar(3)**6)%15)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ishelper(1611)
trigger1=sysvar(1)>=21&&sysvar(1)<=140
trigger1=sysvar(1)%5=1
anim=10006
scale=1,1
pos=60*cos(parent,sysvar(3))+0.12*(parent,sysvar(3)-500)-60*(7-((parent,sysvar(3)**7)%15)),15*cos(parent,sysvar(3))-0.12*(parent,sysvar(3)+500)-60*(7-((parent,sysvar(3)**8)%15))
vel=7-((parent,sysvar(3)**7)%15),7-((parent,sysvar(3)**8)%15)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ishelper(1611)
trigger1=sysvar(1)>=21&&sysvar(1)<=140
trigger1=sysvar(1)%5=1
anim=10006
scale=1,1
pos=60*cos(parent,sysvar(3))+0.12*(parent,sysvar(3)-500)-60*(7-((parent,sysvar(3)**9)%15)),15*cos(parent,sysvar(3))-0.12*(parent,sysvar(3)+500)-60*(7-((parent,sysvar(3)**10)%15))
vel=7-((parent,sysvar(3)**9)%15),7-((parent,sysvar(3)**10)%15)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ishelper(1611)
trigger1=sysvar(1)>=21&&sysvar(1)<=140
trigger1=sysvar(1)%5=1
anim=10006
scale=1,1
pos=60*cos(parent,sysvar(3))+0.12*(parent,sysvar(3)-500)+60*(7-(parent,sysvar(3)%15)),15*cos(parent,sysvar(3))-0.12*(parent,sysvar(3)+500)+60*(7-((parent,sysvar(3)**2)%15))
vel=-7+(parent,sysvar(3)%15),-7+((parent,sysvar(3)**2)%15)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ishelper(1611)
trigger1=sysvar(1)>=21&&sysvar(1)<=140
trigger1=sysvar(1)%5=1
anim=10006
scale=1,1
pos=60*cos(parent,sysvar(3))+0.12*(parent,sysvar(3)-500)+60*(7-((parent,sysvar(3)**3)%15)),15*cos(parent,sysvar(3))-0.12*(parent,sysvar(3)+500)+60*(7-((parent,sysvar(3)**4)%15))
vel=-7+((parent,sysvar(3)**3)%15),-7+((parent,sysvar(3)**4)%15)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ishelper(1611)
trigger1=sysvar(1)>=21&&sysvar(1)<=140
trigger1=sysvar(1)%5=1
anim=10006
scale=1,1
pos=60*cos(parent,sysvar(3))+0.12*(parent,sysvar(3)-500)+60*(7-((parent,sysvar(3)**5)%15)),15*cos(parent,sysvar(3))-0.12*(parent,sysvar(3)+500)+60*(7-((parent,sysvar(3)**6)%15))
vel=-7+((parent,sysvar(3)**5)%15),-7+((parent,sysvar(3)**6)%15)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ishelper(1611)
trigger1=sysvar(1)>=21&&sysvar(1)<=140
trigger1=sysvar(1)%5=1
anim=10006
scale=1,1
pos=60*cos(parent,sysvar(3))+0.12*(parent,sysvar(3)-500)+60*(7-((parent,sysvar(3)**7)%15)),15*cos(parent,sysvar(3))-0.12*(parent,sysvar(3)+500)+60*(7-((parent,sysvar(3)**8)%15))
vel=-7+((parent,sysvar(3)**7)%15),-7+((parent,sysvar(3)**8)%15)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ishelper(1611)
trigger1=sysvar(1)>=21&&sysvar(1)<=140
trigger1=sysvar(1)%5=1
anim=10006
scale=1,1
pos=60*cos(parent,sysvar(3))+0.12*(parent,sysvar(3)-500)+60*(7-((parent,sysvar(3)**9)%15)),15*cos(parent,sysvar(3))-0.12*(parent,sysvar(3)+500)+60*(7-((parent,sysvar(3)**10)%15))
vel=-7+((parent,sysvar(3)**9)%15),-7+((parent,sysvar(3)**10)%15)
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=modifyexplod
triggerall=ishelper(1611)
trigger1=1
id=1611
scale=0.8+0.24*cos(random),0.8+0.24*cos(random)
ignorehitpause=1
[state ]
type=modifyexplod
triggerall=ishelper(1611)
trigger1=1
id=1612
scale=0.36+0.096*cos(random),0.36+0.096*cos(random)
ignorehitpause=1
[state ]
type=projectile
triggerall=ishelper(1611)
trigger1=sysvar(1)>=21&&sysvar(1)<=140
trigger1=sysvar(1)%5=1
projid=1611
projanim=40060
projremove=0
projremovetime=60
offset=60*cos(parent,sysvar(3)),15*cos(parent,sysvar(3))
velocity=0.002*(parent,sysvar(3)-500),-0.002*(parent,sysvar(3)+500)
attr=s,sp
hitflag=mafpd
guardflag=m
damage=4,0
getpower=20,8
animtype=hard
hitsound=-1
guardsound=-1
sparkno=-1
guard.sparkno=-1
pausetime=0,10
ground.type=high
ground.hittime=21
ground.slidetime=21
ground.velocity=-0.05,-1
fall=1
air.type=high
air.hittime=21
air.slidetime=21
air.velocity=-0.05,-1
air.fall=1
envshake.time=4
envshake.freq=180
envshake.ampl=3
p2stateno=1611
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=destroyself
triggerall=ishelper(1611)
trigger1=sysvar(1)>200
ignorehitpause=1



;かげボールC
[state ]
type=explod
triggerall=ishelper(1621)||ishelper(1622)||ishelper(1623)
trigger1=1
anim=10200
scale=0.6,0.6
pos=0,0
removetime=-2
sprpriority=2147483647
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ishelper(1621)||ishelper(1622)||ishelper(1623)
trigger1=1
anim=10001
scale=0.3,0.3
pos=0,0
removetime=-2
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ishelper(1621)||ishelper(1622)||ishelper(1623)
trigger1=1
anim=10000
scale=0.4,0.4
vel=4*cos(0.006283*parent,sysvar(3)),4*sin(0.006283*parent,sysvar(3))
removetime=-2
sprpriority=2147483647
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=velset
triggerall=ishelper(1621)
trigger1=sysvar(1)=0
x=1.2
y=0
ignorehitpause=1
[state ]
type=posset
triggerall=ishelper(1621)
trigger1=1
y=const(size.mid.pos.y)+floor(90*sin(0.01745*6*sysvar(1)))
ignorehitpause=1
[state ]
type=velset
triggerall=ishelper(1622)
trigger1=sysvar(1)=0
x=2.7
y=0
ignorehitpause=1
[state ]
type=posset
triggerall=ishelper(1622)
trigger1=1
y=const(size.mid.pos.y)+floor(90*cos(0.01745*6*sysvar(1)))
ignorehitpause=1
[state ]
type=velset
triggerall=ishelper(1623)
trigger1=sysvar(1)=0
x=4.5
y=0
ignorehitpause=1
[state ]
type=posset
triggerall=ishelper(1623)
trigger1=1
y=const(size.mid.pos.y)+floor(90*sin(0.01745*6*sysvar(1)))
ignorehitpause=1
[state ]
type=projectile
triggerall=ishelper(1621)
trigger1=sysvar(1)%2=0
projid=1621
projanim=40060
projremove=1
projremovetime=2
attr=s,sp
hitflag=mafpd
guardflag=m
damage=6,1
getpower=14,8
animtype=hard
hitsound=s8,3
guardsound=s8,9
sparkno=-1
guard.sparkno=-1
pausetime=0,10
ground.type=high
ground.hittime=21
ground.slidetime=21
ground.velocity=1,-0.5
fall=1
air.type=high
air.hittime=21
air.slidetime=21
air.velocity=1,-0.5
air.fall=1
envshake.time=4
envshake.freq=180
envshake.ampl=3
p2stateno=1611
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=projectile
triggerall=ishelper(1622)
trigger1=sysvar(1)%2=0
projid=1622
projanim=40060
projremove=1
projremovetime=2
attr=s,sp
hitflag=mafpd
guardflag=m
damage=6,1
getpower=14,8
animtype=hard
hitsound=s8,3
guardsound=s8,9
sparkno=-1
guard.sparkno=-1
pausetime=0,10
ground.type=high
ground.hittime=21
ground.slidetime=21
ground.velocity=1,-0.5
fall=1
air.type=high
air.hittime=21
air.slidetime=21
air.velocity=1,-0.5
air.fall=1
envshake.time=4
envshake.freq=180
envshake.ampl=3
p2stateno=1611
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=projectile
triggerall=ishelper(1623)
trigger1=sysvar(1)%2=0
projid=1623
projanim=40060
projremove=1
projremovetime=2
attr=s,sp
hitflag=mafpd
guardflag=m
damage=6,1
getpower=14,8
animtype=hard
hitsound=s8,3
guardsound=s8,9
sparkno=-1
guard.sparkno=-1
pausetime=0,10
ground.type=high
ground.hittime=21
ground.slidetime=21
ground.velocity=1,-0.5
fall=1
air.type=high
air.hittime=21
air.slidetime=21
air.velocity=1,-0.5
air.fall=1
envshake.time=4
envshake.freq=180
envshake.ampl=3
p2stateno=1611
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=destroyself
triggerall=ishelper(1621)||ishelper(1622)||ishelper(1623)
trigger1=pos x>180
trigger2=pos x<-180
trigger3=pos y>280
trigger4=pos y<-280
ignorehitpause=1



;全ヘルパー共通最終記述
[state ]
type=varset
triggerall=ishelper(1601)||ishelper(1611)||ishelper(1621)||ishelper(1622)||ishelper(1623)
trigger1=1
sysvar(0)=stateno
ignorehitpause=1
[state ]
type=varadd
triggerall=ishelper(1601)||ishelper(1611)||ishelper(1621)||ishelper(1622)||ishelper(1623)
trigger1=1
sysvar(1)=1
ignorehitpause=1

[statedef 1602]
type=a
movetype=h
physics=n
anim=5030

;邪眼キラー用
[state ]
type=changestate
triggerall=(sysfvar(0)=256001.0&&sysfvar(0)!=0.0)=0
trigger1=enemy(0),sysfvar(0)=256001.0&&enemy(0),sysfvar(0)!=0.0
trigger1=enemy(0),palno>=7&&enemy(0),palno<=12
trigger1=enemy(0),sysvar(2)=floor(2.0**1)*floor(enemy(0),sysvar(2)/floor(2.0**1))+enemy(0),sysvar(2)%floor(2.0**0)+floor(2.0**0)
trigger2=enemy(1),sysfvar(0)=256001.0&&enemy(1),sysfvar(0)!=0.0
trigger2=enemy(1),palno>=7&&enemy(1),palno<=12
trigger2=enemy(1),sysvar(2)=floor(2.0**1)*floor(enemy(1),sysvar(2)/floor(2.0**1))+enemy(1),sysvar(2)%floor(2.0**0)+floor(2.0**0)
value=320000
persistent=256
ignorehitpause=1

[state ]
type=velset
trigger1=1
x=-1*abs(gethitvar(xvel))
y=gethitvar(yvel)
ignorehitpause=1
[state ]
type=nothitby
trigger1=1
value=sca
ignorehitpause=1
[state ]
type=selfstate
trigger1=time>10
value=5020
ignorehitpause=1

[statedef 1610]
type=s
movetype=a
physics=s
juggle=3
velset=0,0
ctrl=0
sprpriority=3

;邪眼キラー用
[state ]
type=changestate
triggerall=(sysfvar(0)=256001.0&&sysfvar(0)!=0.0)=0
trigger1=1
value=320000
persistent=256
ignorehitpause=1

[state ]
type=changeanim
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=time=0
value=1300
ignorehitpause=1



;音響
[state ];無ゥ駄ァだぁなァ
type=playsnd
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(1)=22
value=s7,5
ignorehitpause=1
[state ];ぼわーん
type=playsnd
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(1)=22
value=s10,3
ignorehitpause=1
[state ];ばわんばわん・・・
type=playsnd
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(1)=22
value=s10,4
ignorehitpause=1



;なんか皮膚に浮き出てくる筋（ビキビキ
[state ]
type=explod
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
triggerall=var(30)=0
trigger1=animelemtime(1)=0
persistent=0
anim=1305
postype=p1
pos=0,0
sprpriority=5
bindtime=-1
removeongethit=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
triggerall=var(30)>0
trigger1=animelemtime(1)=0
persistent=0
anim=1305
postype=p1
pos=0,0
sprpriority=5
bindtime=-1
removeongethit=1
trans=addalpha
alpha=70,256
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1



;本当はヘルパーなんて使いたくないんだよヽ(`Д´)ﾉ
[state ]
type=helper
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(1)=22
id=1611
stateno=1601
pos=32,0
helpertype=player
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1



;王の帰還
[state ]
type=selfstate
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animtime=0
value=0
ctrl=1
persistent=256
ignorehitpause=1

;7-12p

[state ]
type=changeanim
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=sysvar(1)=0
value=1300
ignorehitpause=1



;音響
[state ];無ゥ駄ァだぁなァ
type=playsnd
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(1)=22
value=s7,5
ignorehitpause=1
[state ];ぼわーん
type=playsnd
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(1)=22
value=s10,3
ignorehitpause=1
[state ];ばわんばわん・・・
type=playsnd
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(1)=22
value=s10,4
ignorehitpause=1



;なんか皮膚に浮き出てくる筋（ビキビキ
[state ]
type=explod
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
triggerall=var(30)=0
trigger1=animelemtime(1)=0
persistent=0
anim=1305
postype=p1
pos=0,0
sprpriority=5
bindtime=-1
removeongethit=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
triggerall=var(30)>0
trigger1=animelemtime(1)=0
persistent=0
anim=1305
postype=p1
pos=0,0
sprpriority=5
bindtime=-1
removeongethit=1
trans=addalpha
alpha=70,256
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1



;本当はヘルパーなんて使いたくないんだよヽ(`Д´)ﾉ
[state ]
type=helper
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(1)=22
id=1611
stateno=1601
pos=32,0
helpertype=player
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1



;王の帰還
[state ]
type=varset
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=1
sysvar(0)=stateno
ignorehitpause=1
[state ]
type=varset
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animtime=0
sysvar(0)=0
ignorehitpause=1
[state ]
type=varset
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=sysvar(0)=0
sysvar(1)=0
ignorehitpause=1
[state ]
type=selfstate
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=sysvar(0)=0
value=0
ctrl=1
persistent=256
ignorehitpause=1
[state ]
type=varadd
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=1
sysvar(1)=1
ignorehitpause=1

[statedef 1611]
type=a
movetype=h
physics=n
anim=5030

;邪眼キラー用
[state ]
type=changestate
triggerall=(sysfvar(0)=256001.0&&sysfvar(0)!=0.0)=0
trigger1=enemy(0),sysfvar(0)=256001.0&&enemy(0),sysfvar(0)!=0.0
trigger1=enemy(0),palno>=7&&enemy(0),palno<=12
trigger1=enemy(0),sysvar(2)=floor(2.0**1)*floor(enemy(0),sysvar(2)/floor(2.0**1))+enemy(0),sysvar(2)%floor(2.0**0)+floor(2.0**0)
trigger2=enemy(1),sysfvar(0)=256001.0&&enemy(1),sysfvar(0)!=0.0
trigger2=enemy(1),palno>=7&&enemy(1),palno<=12
trigger2=enemy(1),sysvar(2)=floor(2.0**1)*floor(enemy(1),sysvar(2)/floor(2.0**1))+enemy(1),sysvar(2)%floor(2.0**0)+floor(2.0**0)
value=320000
persistent=256
ignorehitpause=1

[state ]
type=velset
trigger1=1
x=-1*abs(gethitvar(xvel))
y=gethitvar(yvel)
ignorehitpause=1
[state ]
type=nothitby
trigger1=1
value=sca
ignorehitpause=1
[state ]
type=selfstate
trigger1=time>0
value=5020
ignorehitpause=1

[statedef 1620]
type=s
movetype=a
physics=s
juggle=3
velset=0,0
ctrl=0
sprpriority=3

;邪眼キラー用
[state ]
type=changestate
triggerall=(sysfvar(0)=256001.0&&sysfvar(0)!=0.0)=0
trigger1=1
value=320000
persistent=256
ignorehitpause=1

[state ]
type=changeanim
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=time=0
value=1300
ignorehitpause=1



;音響
[state ];ひっへっへっへ――
type=playsnd
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(1)=22
value=s7,8
ignorehitpause=1
[state ];ぶじゅんっ
type=playsnd
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(1)=22
value=s8,5
ignorehitpause=1
[state ];ばおんっ
type=playsnd
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(1)=22
value=s8,6
ignorehitpause=1
[state ];ばわんばわん・・・
type=playsnd
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(1)=22
value=s10,4
ignorehitpause=1


;なんか皮膚に浮き出てくる筋（ビキビキ
[state ]
type=explod
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
triggerall=var(30)=0
trigger1=animelemtime(1)=0
persistent=0
anim=1305
postype=p1
pos=0,0
sprpriority=5
bindtime=-1
removeongethit=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
triggerall=var(30)>0
trigger1=animelemtime(1)=0
persistent=0
anim=1305
postype=p1
pos=0,0
sprpriority=5
bindtime=-1
removeongethit=1
trans=addalpha
alpha=70,256
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1



;本当はヘルパーなんて使いたくないんだよヽ(`Д´)ﾉ
[state ]
type=helper
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(1)=22
id=1621
stateno=1601
pos=32,-85
helpertype=player
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=helper
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(1)=22
id=1622
stateno=1601
pos=32,-85
helpertype=player
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=helper
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animelemtime(1)=22
id=1623
stateno=1601
pos=32,-85
helpertype=player
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1



;王の帰還
[state ]
type=selfstate
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animtime=0
value=0
ctrl=1
persistent=256
ignorehitpause=1

;7-12p

[state ]
type=changeanim
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=sysvar(1)=0
value=1300
ignorehitpause=1



;音響
[state ];ひっへっへっへ――
type=playsnd
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(1)=22
value=s7,8
ignorehitpause=1
[state ];ぶじゅんっ
type=playsnd
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(1)=22
value=s8,5
ignorehitpause=1
[state ];ばおんっ
type=playsnd
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(1)=22
value=s8,6
ignorehitpause=1
[state ];ばわんばわん・・・
type=playsnd
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(1)=22
value=s10,4
ignorehitpause=1



;なんか皮膚に浮き出てくる筋（ビキビキ
[state ]
type=explod
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
triggerall=var(30)=0
trigger1=animelemtime(1)=0
persistent=0
anim=1305
postype=p1
pos=0,0
sprpriority=5
bindtime=-1
removeongethit=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
triggerall=var(30)>0
trigger1=animelemtime(1)=0
persistent=0
anim=1305
postype=p1
pos=0,0
sprpriority=5
bindtime=-1
removeongethit=1
trans=addalpha
alpha=70,256
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1



;本当はヘルパーなんて使いたくないんだよヽ(`Д´)ﾉ
[state ]
type=helper
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(1)=22
id=1621
stateno=1601
pos=32,-85
helpertype=player
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=helper
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(1)=22
id=1622
stateno=1601
pos=32,-85
helpertype=player
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1
[state ]
type=helper
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animelemtime(1)=22
id=1623
stateno=1601
pos=32,-85
helpertype=player
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1



;王の帰還
[state ]
type=varset
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=1
sysvar(0)=stateno
ignorehitpause=1
[state ]
type=varset
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=animtime=0
sysvar(0)=0
ignorehitpause=1
[state ]
type=varset
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=sysvar(0)=0
sysvar(1)=0
ignorehitpause=1
[state ]
type=selfstate
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=sysvar(0)=0
value=0
ctrl=1
persistent=256
ignorehitpause=1
[state ]
type=varadd
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=1
sysvar(1)=1
ignorehitpause=1
