[data]
life=1000
attack=100
defence=100
power=4000
fall.defence_up=50
liedown.time=60
airjuggle=15
sparkno=2
guard.sparkno=709
ko.echo=0
volume=0
intpersistindex=59
floatpersistindex=40

[size]
xscale=1;horizontalscalingfactor.
yscale=1;verticalscalingfactor.
ground.back=15;playerwidth(back,ground)
ground.front=16;playerwidth(front,ground)
air.back=12;playerwidth(back,air)
air.front=12;playerwidth(front,air)
height=60;heightofplayer(foropponenttojumpover)
attack.dist=160;defaultattackdistance
proj.attack.dist=90;defaultattackdistanceforprojectiles
proj.doscale=0;setto1toscaleprojectilestoo
head.pos=-18,-95;approximatepositionofhead
mid.pos=-5,-60;approximatepositionofmidsection
shadowoffset=0;numberofpixelstoverticallyoffsettheshadow
draw.offset=0,0;playerdragoffsetinpixels(x,y)

[velocity]
walk.fwd=2.4;walkforward
walk.back=-2.2;walkbackward
run.fwd=6,0;runforward(x,y)
run.back=-4.5,-3.8;hopbackward(x,y)
jump.neu=0,-8;neutraljumpingvelocity(x,y)
jump.back=-2.55;jumpbackspeed(x,y)
jump.fwd=2.5;jumpforwardspeed(x,y)
runjump.back=-2.55,-8.1;runningjumpspeeds(opt)
runjump.fwd=4,-8.1;.
airjump.neu=0,-8.1;.
airjump.back=-2.55;airjumpspeeds(opt)
airjump.fwd=2.5;.

[movement]
airjump.num=0;numberofairjumpsallowed(opt)
airjump.height=35;minimumdistancefromgroundbeforeyoucanairjump(opt)
yaccel=.46;verticalacceleration
stand.friction=.85;frictioncoefficientwhenstanding
crouch.friction=.82;frictioncoefficientwhencrouching

;---------------------------------------------------------------------------
;format:
;[statedef stateno]
;type=?s/c/a/lstand/crouch/air/liedown
;movetype=?i/a/hidle/attack/gethit
;physics=?s/c/a/nstand/crouch/air/none
;juggle=?airjugglepointsmoverequires
;
;[state stateno,?]?-anynumberyouchoose
;type=?
;...

[statedef 170]
type=s
ctrl=0
velset=0,0

;邪眼キラー用
[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=170
ignorehitpause=1

;7-12p

[state ]
type=changeanim
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=sysvar(1)=0
value=170
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=varadd
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=1
sysvar(1)=1
ignorehitpause=1

[statedef 180]
type=s
ctrl=0
velset=0,0

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

[state ]
type=changeanim
trigger1=ifelse(!ishelper,palno>=1&&palno<=6&&time=0,ishelper(100000)&&root,palno>=7&&root,palno<=12&&sysvar(1)=0)
value=180
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=animelemtime(1)=0
trigger1=1000*life/lifemax>=300&&1000*life/lifemax<=1000
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=animelemtime(1)=0
trigger1=1000*life/lifemax=1000
value=181
ignorehitpause=1
[state ];かすった程度
type=changestate
triggerall=animelemtime(1)=0
trigger1=1000*life/lifemax>=800&&1000*life/lifemax<1000
value=182
ignorehitpause=1
[state ];まだまだ元気
type=changestate
triggerall=animelemtime(1)=0
trigger1=1000*life/lifemax>=600&&1000*life/lifemax<800
value=183
ignorehitpause=1
[state ];人は何かを為すために（ｒｙ
type=changestate
triggerall=animelemtime(1)=0
trigger1=1000*life/lifemax>=300&&1000*life/lifemax<600
value=184
ignorehitpause=1
[state ]
type=assertspecial
trigger1=ifelse(!ishelper,palno>=1&&palno<=6&&time>=0&&time<=209,ishelper(100000)&&root,palno>=7&&root,palno<=12&&sysvar(1)>=0&&sysvar(1)<=209)
flag=roundnotover
ignorehitpause=1
[state ]
type=playsnd
trigger1=animelemtime(1)=0
value=s0,18
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 181]
type=s
ctrl=0
velset=0,0

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

[state ]
type=changeanim
trigger1=ifelse(!ishelper,palno>=1&&palno<=6&&time=0,ishelper(100000)&&root,palno>=7&&root,palno<=12&&sysvar(1)=0)
value=180
ignorehitpause=1
[state ]
type=assertspecial
trigger1=ifelse(!ishelper,palno>=1&&palno<=6&&time>=0&&time<=189,ishelper(100000)&&root,palno>=7&&root,palno<=12&&sysvar(1)>=0&&sysvar(1)<=189)
flag=roundnotover
ignorehitpause=1
[state ]
type=playsnd
trigger1=animelemtime(1)=0
value=s10,50
volume=255
ignorehitpause=1
[state ]
type=playsnd
trigger1=animelemtime(1)=0
value=s10,50
volume=255
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=varadd
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=1
sysvar(1)=1
ignorehitpause=1

[statedef 182]
type=s
ctrl=0
velset=0,0

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

[state ]
type=changeanim
trigger1=ifelse(!ishelper,palno>=1&&palno<=6&&time=0,ishelper(100000)&&root,palno>=7&&root,palno<=12&&sysvar(1)=0)
value=30240
ignorehitpause=1
[state ]
type=assertspecial
trigger1=ifelse(!ishelper,palno>=1&&palno<=6&&time>=0&&time<=329,ishelper(100000)&&root,palno>=7&&root,palno<=12&&sysvar(1)>=0&&sysvar(1)<=329)
flag=roundnotover
ignorehitpause=1
[state ]
type=playsnd
trigger1=animelemtime(1)=0
value=s10,51
volume=255
ignorehitpause=1
[state ]
type=playsnd
trigger1=animelemtime(1)=0
value=s10,51
volume=255
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=varadd
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=1
sysvar(1)=1
ignorehitpause=1

[statedef 183]
type=s
ctrl=0
velset=0,0

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

[state ]
type=changeanim
trigger1=ifelse(!ishelper,palno>=1&&palno<=6&&time=0,ishelper(100000)&&root,palno>=7&&root,palno<=12&&sysvar(1)=0)
value=181
ignorehitpause=1
[state ]
type=assertspecial
trigger1=ifelse(!ishelper,palno>=1&&palno<=6&&time>=0&&time<=119,ishelper(100000)&&root,palno>=7&&root,palno<=12&&sysvar(1)>=0&&sysvar(1)<=119)
flag=roundnotover
ignorehitpause=1
[state ]
type=playsnd
trigger1=animelemtime(1)=0
value=s10,52
volume=255
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=varadd
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=1
sysvar(1)=1
ignorehitpause=1

[statedef 184]
type=s
ctrl=0
velset=0,0

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

[state ]
type=changeanim
trigger1=ifelse(!ishelper,palno>=1&&palno<=6&&time=0,ishelper(100000)&&root,palno>=7&&root,palno<=12&&sysvar(1)=0)
value=30250
ignorehitpause=1
[state ]
type=assertspecial
trigger1=ifelse(!ishelper,palno>=1&&palno<=6&&time>=0&&time<=449,ishelper(100000)&&root,palno>=7&&root,palno<=12&&sysvar(1)>=0&&sysvar(1)<=449)
flag=roundnotover
ignorehitpause=1
[state ]
type=playsnd
trigger1=animelemtime(1)=0
value=s0,25
ignorehitpause=1
[state ]
type=playsnd
trigger1=animelemtime(1)=350
value=s10,47
ignorehitpause=1

[state ]
type=explod
trigger1=animelemtime(1)=299
id=184
anim=30260
facing=2*((frontedgedist<backedgedist)-0.5)
scale=1,1
pos=0,-59
vel=-0.5*2*(((frontedgedist<backedgedist)-0.5)),0
removetime=70
pausemovetime=2147483647*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
trigger1=animelemtime(1)>=351&&animelemtime(1)<=360
id=184
trans=addalpha
alpha=256-256*sin((pi/2/10)*(animelemtime(1)-350)),256*sin((pi/2/10)*(animelemtime(1)-350))
scale=1-0.1*(animelemtime(1)-350),1+0.15*(animelemtime(1)-350)
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=varadd
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=1
sysvar(1)=1
ignorehitpause=1

[statedef 191]
type=s
ctrl=0
velset=0,0

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

[state ]
type=changestate
trigger1=numenemy=1
trigger1=enemy(0),sysfvar(0)=256001.0&&enemy(0),sysfvar(0)!=0.0
value=192
ignorehitpause=1
[state ]
type=changeanim
trigger1=ifelse(!ishelper,palno>=1&&palno<=6&&time=0,ishelper(100000)&&root,palno>=7&&root,palno<=12&&sysvar(1)=0)
value=190
ignorehitpause=1
[state ]
type=changeanim
trigger1=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12&&anim=190&&animtime=0)
value=0
ignorehitpause=1



;演出
[state ]
type=assertspecial
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,ishelper(100000)&&root,palno>=7&&root,palno<=12&&anim=190)
trigger1=1
flag=intro
ignorehitpause=1
[state ]
type=playsnd
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,ishelper(100000)&&root,palno>=7&&root,palno<=12&&anim=190)
trigger1=animelemtime(1)=3
value=s0,0
channel=2
ignorehitpause=1
[state ]
type=playsnd
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,ishelper(100000)&&root,palno>=7&&root,palno<=12&&anim=190)
trigger1=animelemtime(8)=0
value=s0,1
ignorehitpause=1



;通常カラーの帰還
[state ]
type=changestate
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animtime=0
value=0
ctrl=1
persistent=256
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=roundstate=2
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
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 192]
type=s
ctrl=0
velset=0,0

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

[state ]
type=changeanim
trigger1=ifelse(!ishelper,palno>=1&&palno<=6&&time=0,ishelper(100000)&&root,palno>=7&&root,palno<=12&&sysvar(1)=0)
value=30080
ignorehitpause=1
[state ]
type=changeanim
trigger1=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12&&anim=30080&&animtime=0)
value=0
ignorehitpause=1



;イントロフラグ
[state ]
type=assertspecial
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,ishelper(100000)&&root,palno>=7&&root,palno<=12&&anim=30080)
trigger1=1
flag=intro
ignorehitpause=1



;音響
[state ];ボォォォ
type=playsnd
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,ishelper(100000)&&root,palno>=7&&root,palno<=12&&anim=30080)
trigger1=animelemtime(1)>=1&&animelemtime(1)<=90
value=s10,3
freqmul=0.3+0.01*animelemtime(1)
ignorehitpause=1
[state ];ぷちょーん
type=playsnd
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,ishelper(100000)&&root,palno>=7&&root,palno<=12&&anim=30080)
trigger1=animelemtime(1)=90
value=s0,27
ignorehitpause=1
[state ];シャワン
type=playsnd
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,ishelper(100000)&&root,palno>=7&&root,palno<=12&&anim=30080)
trigger1=animelemtime(1)=90
trigger2=animelemtime(1)=136
trigger3=animelemtime(1)=156
trigger4=animelemtime(1)=176
value=s10,22
ignorehitpause=1
[state ];バシャシャシャン
type=playsnd
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,ishelper(100000)&&root,palno>=7&&root,palno<=12&&anim=30080)
trigger1=animelemtime(1)=90
trigger2=animelemtime(1)=136
trigger3=animelemtime(1)=156
trigger4=animelemtime(1)=176
value=s10,23
ignorehitpause=1
[state ];ダガゴン・・・
type=playsnd
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,ishelper(100000)&&root,palno>=7&&root,palno<=12&&anim=30080)
trigger1=animelemtime(1)=206
value=s10,5
ignorehitpause=1
[state ];ブッシュウィー
type=playsnd
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,ishelper(100000)&&root,palno>=7&&root,palno<=12&&anim=30080)
trigger1=animelemtime(1)=206
value=s10,7
ignorehitpause=1
[state ];ブヲワー
type=playsnd
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,ishelper(100000)&&root,palno>=7&&root,palno<=12&&anim=30080)
trigger1=animelemtime(1)=206
value=s10,21
freqmul=0.7
ignorehitpause=1
[state ];ホワー
type=playsnd
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,ishelper(100000)&&root,palno>=7&&root,palno<=12&&anim=30080)
trigger1=animelemtime(1)=226
value=s0,36
volume=255
ignorehitpause=1
[state ];ぷちょーん
type=playsnd
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,ishelper(100000)&&root,palno>=7&&root,palno<=12&&anim=30080)
trigger1=animelemtime(1)=310
value=s0,27
ignorehitpause=1
[state ];ヴァオーン！
type=playsnd
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,ishelper(100000)&&root,palno>=7&&root,palno<=12&&anim=30080)
trigger1=animelemtime(1)=310
trigger2=animelemtime(1)=330
value=s10,1
volume=100
ignorehitpause=1
[state ];ホワー
type=playsnd
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,ishelper(100000)&&root,palno>=7&&root,palno<=12&&anim=30080)
trigger1=animelemtime(1)=350
value=s0,36
volume=255
ignorehitpause=1
[state ];ヴァオーン！
type=playsnd
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,ishelper(100000)&&root,palno>=7&&root,palno<=12&&anim=30080)
trigger1=animelemtime(1)=445
value=s10,1
volume=100
ignorehitpause=1
[state ];さ、はじめようか・・・
type=playsnd
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,ishelper(100000)&&root,palno>=7&&root,palno<=12&&anim=30080)
trigger1=animelemtime(1)=540
value=s10,24
volume=255
ignorehitpause=1



;画面ライダーｗｗｗｗｗｗｗｗｗｗｗｗ
[state ]
type=envshake
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,ishelper(100000)&&root,palno>=7&&root,palno<=12&&anim=30080)
trigger1=animelemtime(1)>=1&&animelemtime(1)<=90
trigger1=animelemtime(1)%2=1
time=2
ampl=4
freq=160
ignorehitpause=1
[state ]
type=envshake
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,ishelper(100000)&&root,palno>=7&&root,palno<=12&&anim=30080)
trigger1=animelemtime(1)=91
trigger2=animelemtime(1)=206
time=5
ampl=21
freq=160
ignorehitpause=1
[state ]
type=envshake
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,ishelper(100000)&&root,palno>=7&&root,palno<=12&&anim=30080)
trigger1=animelemtime(1)>=207&&animelemtime(1)<=310
trigger1=animelemtime(1)%2=1
time=2
ampl=8
freq=160
ignorehitpause=1
[state ]
type=envshake
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,ishelper(100000)&&root,palno>=7&&root,palno<=12&&anim=30080)
trigger1=animelemtime(1)=310
time=5
ampl=21
freq=160
ignorehitpause=1
[state ]
type=envshake
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,ishelper(100000)&&root,palno>=7&&root,palno<=12&&anim=30080)
trigger1=animelemtime(1)>=331&&animelemtime(1)<=445
trigger1=animelemtime(1)%2=1
time=2
ampl=11
freq=160
ignorehitpause=1
[state ]
type=envshake
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,ishelper(100000)&&root,palno>=7&&root,palno<=12&&anim=30080)
trigger1=animelemtime(1)=445
time=20
ampl=31
freq=160
ignorehitpause=1
[state ]
type=bgpalfx
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,ishelper(100000)&&root,palno>=7&&root,palno<=12&&anim=30080)
trigger1=animelemtime(1)>=1&&animelemtime(1)<=660
time=2
mul=64,64,64
ignorehitpause=1
[state ]
type=bgpalfx
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,ishelper(100000)&&root,palno>=7&&root,palno<=12&&anim=30080)
trigger1=animelemtime(1)>=661&&animelemtime(1)<=760
time=2
mul=64+floor(1.92*(animelemtime(1)-660)),64+floor(1.92*(animelemtime(1)-660)),64+floor(1.92*(animelemtime(1)-660))
ignorehitpause=1



;弾（こっちから見て左、ゆらゆら）
[state ]
type=explod
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,ishelper(100000)&&root,palno>=7&&root,palno<=12&&anim=30080)
trigger1=animelemtime(1)>=1&&animelemtime(1)<=90
anim=10060
scale=0.15+0.03*cos(sysvar(3)),0.15+0.03*sin(sysvar(3))
pos=-15,-58-12
removetime=1
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,ishelper(100000)&&root,palno>=7&&root,palno<=12&&anim=30080)
trigger1=animelemtime(1)>=1&&animelemtime(1)<=90
anim=10000
scale=0.15+0.03*cos(sysvar(3)),0.15+0.03*sin(sysvar(3))
pos=-15,-58-12
removetime=1
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,ishelper(100000)&&root,palno>=7&&root,palno<=12&&anim=30080)
trigger1=animelemtime(1)>=1&&animelemtime(1)<=90
anim=10060
scale=0.15+0.03*cos(sysvar(3)),0.15+0.03*sin(sysvar(3))
pos=30,-68-12
removetime=1
ontop=1
pausemovetime=2147483646
supermovetime=2147483646
ignorehitpause=1
[state ]
type=explod
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,ishelper(100000)&&root,palno>=7&&root,palno<=12&&anim=30080)
trigger1=animelemtime(1)>=1&&animelemtime(1)<=90
anim=10000
scale=0.15+0.03*cos(sysvar(3)),0.15+0.03*sin(sysvar(3))
pos=30,-68-12
removetime=1
ontop=1
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1



;でんでらりゅうばー
[state ]
type=explod
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,ishelper(100000)&&root,palno>=7&&root,palno<=12&&anim=30080)
trigger1=animelemtime(1)>=91&&animelemtime(1)<=130
anim=10150
trans=addalpha
alpha=256-6.4*(animelemtime(1)-90),6.4*(animelemtime(1)-90)
scale=0.1*(animelemtime(1)-90),0.1*(animelemtime(1)-90)
pos=-15,-58-12
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,ishelper(100000)&&root,palno>=7&&root,palno<=12&&anim=30080)
trigger1=animelemtime(1)>=91&&animelemtime(1)<=130
anim=10150
trans=addalpha
alpha=256-6.4*(animelemtime(1)-90),6.4*(animelemtime(1)-90)
scale=0.1*(animelemtime(1)-90),0.1*(animelemtime(1)-90)
pos=30,-68-12
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,ishelper(100000)&&root,palno>=7&&root,palno<=12&&anim=30080)
trigger1=animelemtime(1)>=91&&animelemtime(1)<=136
anim=10060
scale=0.15+0.01*cos(sysvar(3)),0.15+0.01*sin(sysvar(3))
pos=-15-9*(animelemtime(1)-90)+0.225*(animelemtime(1)-90)*(animelemtime(1)-90),-58-12+1.75*(animelemtime(1)-90)+0.2222*(9*(animelemtime(1)-90)-0.225*(animelemtime(1)-90)*(animelemtime(1)-90))
removetime=10
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,ishelper(100000)&&root,palno>=7&&root,palno<=12&&anim=30080)
trigger1=animelemtime(1)>=91&&animelemtime(1)<=136
anim=10000
scale=0.15+0.01*cos(sysvar(3)),0.15+0.01*sin(sysvar(3))
pos=-15-9*(animelemtime(1)-90)+0.225*(animelemtime(1)-90)*(animelemtime(1)-90),-58-12+1.75*(animelemtime(1)-90)+0.2222*(9*(animelemtime(1)-90)-0.225*(animelemtime(1)-90)*(animelemtime(1)-90))
removetime=10
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,ishelper(100000)&&root,palno>=7&&root,palno<=12&&anim=30080)
trigger1=animelemtime(1)>=91&&animelemtime(1)<=136
anim=10060
scale=0.15+0.01*cos(sysvar(3)),0.15+0.01*sin(sysvar(3))
pos=30+9*(animelemtime(1)-90)-0.225*(animelemtime(1)-90)*(animelemtime(1)-90),-68-12+2*(animelemtime(1)-90)+0.2222*(-9*(animelemtime(1)-90)+0.225*(animelemtime(1)-90)*(animelemtime(1)-90))
removetime=10
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,ishelper(100000)&&root,palno>=7&&root,palno<=12&&anim=30080)
trigger1=animelemtime(1)>=91&&animelemtime(1)<=136
anim=10000
scale=0.15+0.01*cos(sysvar(3)),0.15+0.01*sin(sysvar(3))
pos=30+9*(animelemtime(1)-90)-0.225*(animelemtime(1)-90)*(animelemtime(1)-90),-68-12+2*(animelemtime(1)-90)+0.2222*(-9*(animelemtime(1)-90)+0.225*(animelemtime(1)-90)*(animelemtime(1)-90))
removetime=10
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,ishelper(100000)&&root,palno>=7&&root,palno<=12&&anim=30080)
trigger1=animelemtime(1)>=137&&animelemtime(1)<=176
anim=10060
scale=0.15+0.01*cos(sysvar(3)),0.15+0.01*sin(sysvar(3))
pos=7.5-60*sin(0.1571*(animelemtime(1)-136)),0-2.7*(animelemtime(1)-136)+15*sin(0.1571*(animelemtime(1)-136))
removetime=10
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,ishelper(100000)&&root,palno>=7&&root,palno<=12&&anim=30080)
trigger1=animelemtime(1)>=137&&animelemtime(1)<=176
anim=10000
scale=0.15+0.01*cos(sysvar(3)),0.15+0.01*sin(sysvar(3))
pos=7.5-60*sin(0.1571*(animelemtime(1)-136)),0-2.7*(animelemtime(1)-136)+15*sin(0.1571*(animelemtime(1)-136))
removetime=10
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,ishelper(100000)&&root,palno>=7&&root,palno<=12&&anim=30080)
trigger1=animelemtime(1)>=137&&animelemtime(1)<=176
anim=10060
scale=0.15+0.01*cos(sysvar(3)),0.15+0.01*sin(sysvar(3))
pos=7.5+60*sin(0.1571*(animelemtime(1)-136)),0-2.7*(animelemtime(1)-136)-15*sin(0.1571*(animelemtime(1)-136))
removetime=10
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,ishelper(100000)&&root,palno>=7&&root,palno<=12&&anim=30080)
trigger1=animelemtime(1)>=137&&animelemtime(1)<=176
anim=10000
scale=0.15+0.01*cos(sysvar(3)),0.15+0.01*sin(sysvar(3))
pos=7.5+60*sin(0.1571*(animelemtime(1)-136)),0-2.7*(animelemtime(1)-136)-15*sin(0.1571*(animelemtime(1)-136))
removetime=10
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,ishelper(100000)&&root,palno>=7&&root,palno<=12&&anim=30080)
trigger1=animelemtime(1)>=177&&animelemtime(1)<=206
anim=10060
scale=0.15+0.01*cos(sysvar(3)),0.15+0.01*sin(sysvar(3))
pos=7.5-140*sin(0.1571*40+0.1047*(animelemtime(1)-176)),0-108-2.7*(animelemtime(1)-176)+45*sin(2*0.1571*40+2*0.1047*(animelemtime(1)-176))
removetime=10
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,ishelper(100000)&&root,palno>=7&&root,palno<=12&&anim=30080)
trigger1=animelemtime(1)>=177&&animelemtime(1)<=206
anim=10000
scale=0.15+0.01*cos(sysvar(3)),0.15+0.01*sin(sysvar(3))
pos=7.5-140*sin(0.1571*40+0.1047*(animelemtime(1)-176)),0-108-2.7*(animelemtime(1)-176)+45*sin(2*0.1571*40+2*0.1047*(animelemtime(1)-176))
removetime=10
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,ishelper(100000)&&root,palno>=7&&root,palno<=12&&anim=30080)
trigger1=animelemtime(1)>=177&&animelemtime(1)<=206
anim=10060
scale=0.15+0.01*cos(sysvar(3)),0.15+0.01*sin(sysvar(3))
pos=7.5+140*sin(0.1571*40+0.1047*(animelemtime(1)-176)),0-108-2.7*(animelemtime(1)-176)-45*sin(2*0.1571*40+2*0.1047*(animelemtime(1)-176))
removetime=10
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,ishelper(100000)&&root,palno>=7&&root,palno<=12&&anim=30080)
trigger1=animelemtime(1)>=177&&animelemtime(1)<=206
anim=10000
scale=0.15+0.01*cos(sysvar(3)),0.15+0.01*sin(sysvar(3))
pos=7.5+140*sin(0.1571*40+0.1047*(animelemtime(1)-176)),0-108-2.7*(animelemtime(1)-176)-45*sin(2*0.1571*40+2*0.1047*(animelemtime(1)-176))
removetime=10
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,ishelper(100000)&&root,palno>=7&&root,palno<=12&&anim=30080)
trigger1=animelemtime(1)>=207&&animelemtime(1)<=246
anim=10150
trans=addalpha
alpha=256-6.4*(animelemtime(1)-206),6.4*(animelemtime(1)-206)
scale=0.2*(animelemtime(1)-206),0.2*(animelemtime(1)-206)
pos=8,-189
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,ishelper(100000)&&root,palno>=7&&root,palno<=12&&anim=30080)
trigger1=animelemtime(1)>=207&&animelemtime(1)<=310
anim=10060
scale=0.015*(animelemtime(1)-206)+0.001*(animelemtime(1)-206)*cos(sysvar(3)),0.015*(animelemtime(1)-206)+0.001*(animelemtime(1)-206)*sin(sysvar(3))
pos=8,-189-0.8*(animelemtime(1)-207)
removetime=1
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,ishelper(100000)&&root,palno>=7&&root,palno<=12&&anim=30080)
trigger1=animelemtime(1)>=207&&animelemtime(1)<=310
anim=10000
scale=0.015*(animelemtime(1)-206)+0.001*(animelemtime(1)-206)*cos(sysvar(3)),0.015*(animelemtime(1)-206)+0.001*(animelemtime(1)-206)*sin(sysvar(3))
pos=8,-189-0.8*(animelemtime(1)-207)
removetime=1
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,ishelper(100000)&&root,palno>=7&&root,palno<=12&&anim=30080)
trigger1=animelemtime(1)>=311&&animelemtime(1)<=330
anim=10060
scale=1.56,1.56
pos=8+0.01667*p2dist x*(animelemtime(1)-310),-271+0.01667*p2dist x*(animelemtime(1)-310)
removetime=1
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,ishelper(100000)&&root,palno>=7&&root,palno<=12&&anim=30080)
trigger1=animelemtime(1)>=311&&animelemtime(1)<=330
anim=10000
scale=1.56,1.56
pos=8+0.01667*p2dist x*(animelemtime(1)-310),-271+0.01667*p2dist x*(animelemtime(1)-310)
removetime=1
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,ishelper(100000)&&root,palno>=7&&root,palno<=12&&anim=30080)
trigger1=animelemtime(1)>=331&&animelemtime(1)<=370
anim=10150
trans=addalpha
alpha=256-6.4*(animelemtime(1)-330),6.4*(animelemtime(1)-330)
scale=0.2*(animelemtime(1)-330),0.2*(animelemtime(1)-330)
pos=8+0.01667*p2dist x*20,-271+0.01667*p2dist x*20
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,ishelper(100000)&&root,palno>=7&&root,palno<=12&&anim=30080)
trigger1=animelemtime(1)>=331&&animelemtime(1)<=445
anim=10060
scale=1.56,1.56
pos=8+0.01667*p2dist x*20+10*cos(sysvar(3)),-271+0.01667*p2dist x*20+10*sin(sysvar(3))
removetime=1
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,ishelper(100000)&&root,palno>=7&&root,palno<=12&&anim=30080)
trigger1=animelemtime(1)>=331&&animelemtime(1)<=445
anim=10000
scale=1.56,1.56
pos=8+0.01667*p2dist x*20+10*cos(sysvar(3)),-271+0.01667*p2dist x*20+10*sin(sysvar(3))
removetime=1
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,ishelper(100000)&&root,palno>=7&&root,palno<=12&&anim=30080)
trigger1=animelemtime(1)>=446&&animelemtime(1)<=485
anim=10150
trans=addalpha
alpha=256-6.4*(animelemtime(1)-445),6.4*(animelemtime(1)-445)
scale=1.56+0.15*(animelemtime(1)-445),1.56+0.15*(animelemtime(1)-445)
pos=8+0.01667*p2dist x*20,-271+0.01667*p2dist x*20
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=selfstate
triggerall=ifelse(!ishelper,palno>=1&&palno<=6,0)
trigger1=animtime=0
value=0
ctrl=1
persistent=256
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=roundstate=2
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
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

;---------------------------------------------------------------------------
;taunt
;cnsdifficulty:easy
[statedef 195]
type=s
ctrl=0
anim=195
velset=0,0
movetype=i
physics=s
sprpriority=2

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

[state 195,2]
type=null;changestate
trigger1=time=0
value=183

[state 191,1]
type=playsnd
trigger1=time=3
trigger1=sysvar(3)=[0,899]
value=s0,20
channel=4

[state 191,1]
type=playsnd
trigger1=time=3
trigger1=sysvar(3)=[900,999]
value=s10,38
volume=190
channel=4

[state 195,1]
type=ctrlset
trigger1=time=50
value=1

[state 195,2]
type=changestate
trigger1=animtime=0
value=0
ctrl=1

;---------------------------------------------------------------------------
[statedef 0];stand
type=s
physics=s
sprpriority=0
velset=0

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

[state 0,1]
type=changeanim
triggerall=var(58)=0
trigger1=anim!=0&&anim!=5
trigger2=anim=5&&animtime=0;turnanimover
value=0

[state 0,1]
type=changeanim
triggerall=var(58)=1
trigger1=anim!=2520&&anim!=5
trigger2=anim=5&&animtime=0;turnanimover
value=2520

[state 0,2]
type=velset
trigger1=time=0
y=0

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

[state ]
type=selfstate
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=roundstate>=0&&roundstate<=1
trigger1=roundno=1
value=190
ignorehitpause=1
[state ]
type=selfstate
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=roundstate=4
trigger1=win
value=180
ignorehitpause=1
[state ]
type=selfstate
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=roundstate=4
trigger1=lose
value=170
ignorehitpause=1
[state ]
type=selfstate
triggerall=ifelse(!ishelper,0,ishelper(100000)&&root,palno>=7&&root,palno<=12)
trigger1=roundstate=4
trigger1=drawgame
value=170
ignorehitpause=1

[state 0,4];areyoudead?
type=changestate
trigger1=!alive
value=5050

;---------------------------------------------------------------------------
[statedef 105];バックステップ
type=s
physics=s
anim=105
velset=0
ctrl=0

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

[state 105,1]
type=changestate
trigger1=animtime=0
value=106

[statedef 106]
type=a
physics=n
anim=106
ctrl=0

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

[state 170,1]
type=nothitby
trigger1=1
trigger1=var(5)=1
value=sca,aa,ap,at
time=2

[state -3,5]
type=playsnd
trigger1=var(5)=0
trigger1=time=0
value=s0,15
volume=255

[state 106,0]
type=velset
trigger1=var(5)=0
trigger1=time=0
x=-8
y=-2.7

[state 106,0]
type=velset
trigger1=var(5)=1
trigger1=time=0
x=-18
y=-2

[state 106,0]
type=velset
trigger1=var(5)=1
trigger1=time=1
x=-4.5
y=-2

[state 840,2]
type=afterimage
trigger1=time=0
trigger1=var(5)=1
trigger1=palno!=12
time=20
length=7
palbright=70,70,70
paladd=0,0,50
framegap=5
ignorehitpause=1

[state 840,2]
type=afterimagetime
trigger1=1
trigger1=var(5)=1
time=2

[state 106,0]
type=null;velset
trigger1=var(5)=1
trigger1=time=3
x=-3

[state 106,1]
type=veladd
trigger1=time>2
trigger1=var(5)=0
x=.2
y=.5

[state 106,1]
type=veladd
trigger1=time>1
trigger1=var(5)=1
x=.03
y=.23

[state 106,1]
type=veladd
trigger1=time>9
trigger1=var(5)=1
x=.22

[state 106,3]
type=changestate
trigger1=vel y>0
trigger1=pos y>=0
value=107

[statedef 107]
type=s
physics=s
anim=107
velset=0,0

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

[state 107,0]
type=posset
trigger1=time=0
y=0

[state 107,1]
type=playsnd
trigger1=var(5)=0
trigger1=time=0
value=s0,16
volume=255

[state 107,2]
type=changestate
trigger1=animtime=0
trigger1=var(5)=1
value=2005

[state 170,1]
type=nothitby
trigger1=1
trigger1=var(5)=1
value=sca,aa,ap,at
time=2

[state 107,2]
type=changestate
trigger1=animtime=0
trigger1=var(5)=0
value=0
ctrl=1

;---------------------------------------------------------------------
[statedef 5201];ダウン回避
type=s
physics=n
movetype=i
anim=5200
ctrl=0
facep2=1

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

[state 4000,palfx]
type=palfx
trigger1=time=0
time=0
add=0,0,0

[state 5201,0]
type=velset
trigger1=time=0
x=-2.0
y=0

[state 5201,2]
type=velset
trigger1=time>23
trigger1=vel x>=0
x=0
y=0

[state 5201,3]
type=posset
trigger1=time=0
y=0

[state 5201,4]
type=nothitby
trigger1=1
value=sca
time=2

[state 5201,5]
type=changestate
trigger1=animtime=0
value=0
ctrl=1

;---------------------------------------------------------------------------
[statedef 200];弱パンチ
type=s
movetype=a
physics=s
juggle=5
velset=0,0
ctrl=0
anim=200
poweradd=0
sprpriority=2
juggle=2

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

[state 821,4]
type=playsnd
trigger1=random<=500
trigger1=time=0
value=s0,24

[state 200,1]
type=hitdef
trigger1=animelem=3
attr=s,na
damage=23,0
animtype=light
guardflag=ma
hitflag=maf
priority=3,hit
pausetime=4,3
sparkno=s500
guard.sparkno=s505
sparkxy=-10,-76
hitsound=s0,6
guardsound=s0,10
ground.type=high
ground.slidetime=5
ground.hittime=4
ground.velocity=-5
airguard.velocity=-5,-.8
air.type=high
air.velocity=-1.4,-3
air.hittime=12

[state 191,1]
type=playsnd
trigger1=time=0
value=s0,4

[state 200,7]
type=changestate
trigger1=animtime=0
value=0
ctrl=1

;---------------------------------------------------------------------------
[statedef 210];強パンチ
type=s
movetype=a
physics=s
juggle=5
poweradd=0
ctrl=0
velset=0,0
anim=200
sprpriority=2
juggle=3

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

[state 191,1]
type=playsnd
trigger1=time=0
value=s0,21
;channel=0

[state 191,1]
type=playsnd
trigger1=time=0
value=s0,4

[state 210,2]
type=hitdef
trigger1=animelem=3
attr=s,na
animtype=hard
damage=57
guardflag=ma
pausetime=10,17
sparkno=s501
guard.sparkno=s506
sparkxy=-10,-70
hitsound=s0,7
guardsound=s0,10
ground.type=high
ground.slidetime=10
ground.hittime=10
ground.velocity=-9.3
airguard.velocity=-5,-.8
air.type=high
air.velocity=-1.4,-3
air.hittime=12

[state 210,5]
type=changestate
trigger1=animtime=0
value=0
ctrl=1

;---------------------------------------------------------------------------
[statedef 230];弱キック
type=s
movetype=a
physics=s
juggle=5
poweradd=0
ctrl=0
velset=0,0
anim=210
sprpriority=2
juggle=2

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

[state 821,4]
type=playsnd
trigger1=random<=500
trigger1=time=0
value=s0,24

[state 191,1]
type=playsnd
trigger1=time=0
value=s0,5

[state 230,2]
type=hitdef
trigger1=animelem=4
attr=s,na
animtype=medium
damage=26
guardflag=ma
pausetime=3,3
sparkno=s500
guard.sparkno=s505
sparkxy=-10,-57
hitsound=s0,8
guardsound=s0,10
ground.type=low
ground.slidetime=10
ground.hittime=12
ground.velocity=-5
air.velocity=-2.5,-3.5

[state 230,3]
type=changestate
trigger1=animtime=0
value=0
ctrl=1

;---------------------------------------------------------------------------
[statedef 240];強キック
type=s
movetype=a
physics=s
juggle=5
poweradd=0
ctrl=0
velset=0,0
anim=210
sprpriority=2
juggle=3

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

[state 191,1]
type=playsnd
trigger1=time=0
value=s0,21
;channel=0

[state 191,1]
type=playsnd
trigger1=time=0
value=s0,5

[state 240,2]
type=hitdef
trigger1=animelem=2
attr=s,na
animtype=medium
damage=63
guardflag=ma
pausetime=3,3
sparkno=s501
guard.sparkno=s506
sparkxy=-10,-60
hitsound=s0,9
guardsound=s0,10
ground.type=low
ground.slidetime=10
ground.hittime=12
ground.velocity=-5
air.velocity=-2.5,-3.5

[state 240,4]
type=changestate
trigger1=animtime=0
value=0
ctrl=1

;---------------------------------------------------------------------------
[statedef 500];ふっ飛ばし
type=s
movetype=a
physics=s
ctrl=0
velset=0,0
anim=220
sprpriority=2
juggle=15
poweradd=ifelse((prevstateno=150||prevstateno=152),-500,0)

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

[state 240,4]
type=explod
trigger1=time=0&&(prevstateno=150||prevstateno=152)
anim=514
postype=p1
pos=0,-78
sprpriority=4

[state 840,0]
type=playerpush
trigger1=time>=0
value=0

[state 840,0]
type=envcolor
trigger1=time=0&&(prevstateno=150||prevstateno=152)
time=2
value=255,255,255

[state 820,1]
type=nothitby
trigger1=time=0&&(prevstateno=150||prevstateno=152)
value=sca,aa,ap
time=10

[state 820,2]
type=pause
trigger1=time=0&&(prevstateno=150||prevstateno=152)
time=6
movetime=6

[state 191,1]
type=varrandom
trigger1=1
v=1
range=1,3

[state 191,1]
type=playsnd
trigger1=time=0
trigger1=var(1)=1
value=s0,21
channel=0

[state 191,1]
type=playsnd
trigger1=time=0
value=s0,5

[state 240,2]
type=hitdef
trigger1=animelem=12
attr=s,na
animtype=medium
damage=ifelse((prevstateno=150||prevstateno=152),0,40)
guardflag=m
pausetime=7,15
sparkno=s502
guard.sparkno=s506
sparkxy=-10,-60
hitsound=s0,17
guardsound=s0,10
ground.type=low
ground.slidetime=9
ground.hittime=9
ground.velocity=-1,-4
air.velocity=-1.2,-3.2
fall.recover=0
fall=1

[state 240,2]
type=hitdef
trigger1=animelem=17
attr=s,na
animtype=medium
damage=ifelse((prevstateno=150||prevstateno=152),0,40)
guardflag=m
pausetime=2,12
sparkno=s502
guard.sparkno=s506
sparkxy=-10,-60
hitsound=s0,17
guardsound=s0,10
ground.type=low
ground.slidetime=9
ground.hittime=9
ground.velocity=-6,7
air.velocity=-6,3.5
fall=1
fall.recover=0

[state 240,4]
type=changestate
trigger1=animtime=0
value=0
ctrl=1

-----------------
;jumplightpunch
[statedef 600]
type=a
movetype=a
physics=a
juggle=2
poweradd=11
ctrl=0
anim=600
sprpriority=2

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

[state 821,4]
type=playsnd
trigger1=random<=500
trigger1=time=0
value=s0,24

[state 600,1]
type=playsnd
trigger1=time=1
value=s0,4

[state 600,2]
type=hitdef
trigger1=animelem=1
attr=a,na
damage=20
guardflag=ha
priority=3
pausetime=7,8
sparkno=s500
guard.sparkno=s505
sparkxy=-10,-58
hitsound=s0,6
guardsound=s0,10
ground.type=high
ground.slidetime=5
ground.hittime=5
ground.velocity=-4
air.velocity=-1.3,-3

;---------------------------------------------------------------------------
;jumpstrongpunch
[statedef 610]
type=a
movetype=a
physics=a
juggle=4
poweradd=65
ctrl=0
anim=600
sprpriority=2

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

[state 191,1]
type=playsnd
trigger1=time=0
value=s0,21
channel=0

[state 600,1]
type=playsnd
trigger1=time=1
value=s0,4

[state 610,3]
type=hitdef
trigger1=time=0
attr=a,na
damage=72
guardflag=ha
priority=4
pausetime=12,12
sparkno=s501
guard.sparkno=s506
sparkxy=-10,-55
hitsound=s0,7
guardsound=s0,10
animtype=med
ground.type=high
ground.slidetime=17
ground.hittime=17
ground.velocity=-5
air.velocity=-3,-4

;---------------------------------------------------------------------------
;jumplightkick
;cnsdifficulty:easy
[statedef 630]
type=a
movetype=a
physics=a
juggle=3
poweradd=20
ctrl=0
anim=600
sprpriority=2

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

[state 821,4]
type=playsnd
trigger1=random<=500
trigger1=time=0
value=s0,24

[state 630,1]
type=playsnd
trigger1=time=1
value=s0,5

[state 630,2]
type=hitdef
trigger1=time=0
attr=a,na
damage=26
guardflag=ha
priority=3
pausetime=8,8
sparkno=s500
guard.sparkno=s505
sparkxy=-5,-35
hitsound=s0,8
guardsound=s0,10
ground.type=high
ground.slidetime=6
ground.hittime=6
ground.velocity=-4
air.velocity=-2,-3

;---------------------------------------------------------------------------
;jumpstrongkick
;cnsdifficulty:easy
[statedef 640]
type=a
movetype=a
physics=a
juggle=4
poweradd=65
ctrl=0
anim=600
sprpriority=2

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

[state 191,1]
type=playsnd
trigger1=time=0
value=s0,21
channel=0

[state 630,1]
type=playsnd
trigger1=time=1
value=s0,5

[state 640,3]
type=hitdef
trigger1=time=0
attr=a,na
damage=70
guardflag=ha
priority=4
pausetime=12,12
sparkno=s502
guard.sparkno=s506
sparkxy=-10,-40
hitsound=s0,9
guardsound=s0,10
animtype=med
ground.type=high
ground.slidetime=15
ground.hittime=15
ground.velocity=-5
air.velocity=-3,-4

;---------------------------------------------------------------------------
[statedef 510];ジャンプふっ飛ばし
type=a
movetype=a
physics=a
juggle=4
poweradd=0
ctrl=0
anim=600
sprpriority=2

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

[state 191,1]
type=varrandom
trigger1=1
v=1
range=1,3

[state 191,1]
type=playsnd
trigger1=time=0
trigger1=var(1)=1
value=s0,21
channel=0

[state 630,1]
type=playsnd
trigger1=time=1
value=s0,5

[state 640,3]
type=hitdef
trigger1=animelem=2
attr=a,na
damage=80
guardflag=h
priority=4
animtype=hard
pausetime=15,15
sparkno=s502
guard.sparkno=s506
sparkxy=-10,-40
hitsound=s0,17
guardsound=s0,10
ground.type=high
ground.slidetime=15
ground.hittime=15
ground.velocity=-5,-5
air.velocity=0
fall=1
p2stateno=511
p2facing=1

[state 191,1]
type=null;targetstate
trigger1=movehit
;trigger1=hitshakeover=1
value=511
ignorehitpause=1
persistent=0

;---------------------------------------------------------------------------
[statedef 800];d投げ
type=s
movetype=a
physics=s
juggle=0
velset=0,0
ctrl=0
anim=800
sprpriority=2

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

[state 800,1]
type=hitdef
trigger1=time=0
pausetime=0,0
attr=s,nt
hitflag=m-
priority=1,miss
sparkno=-1
sprpriority=1
p2facing=1
p1stateno=801
p2stateno=802
guard.dist=0
fall=1
fall.recover=0

[state 800,2]
type=changestate
trigger1=animtime=0
value=240

;---------------------------------------------------------------------------
[statedef 801]
type=s
movetype=a
physics=n
anim=801
poweradd=60

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

[state 701,1]
type=width
trigger1=1
edge=60,0

[state 701,1]
type=width
trigger1=1
edge=0,30

[state 810,bind1]
type=targetbind
trigger1=animelem=1
pos=40,0

[state 810,bind1]
type=targetbind
trigger1=animelem=10
pos=40,-30

[state 810,bind1]
type=targetbind
trigger1=animelem=11
pos=40,-40

[state 810,bind1]
type=targetbind
trigger1=animelem=12
pos=0,-50

[state 810,bind1]
type=targetbind
trigger1=animelem=13
pos=-20,-65

[state 810,bind1]
type=targetstate
trigger1=animelem=13
value=803

[state 810,bind1]
type=targetlifeadd
trigger1=animelem=13
value=ifelse((var(58)=1),floor(-90*1.35),-90)

[state 810,stateend]
type=changestate
trigger1=animtime=0
value=0
ctrl=1

[statedef 802]
type=s
movetype=h
physics=n
velset=0,0

;邪眼キラー用
[state ]
type=changestate
triggerall=(sysfvar(0)=256002.0&&sysfvar(0)!=0.0)=0
trigger1=enemy(0),sysfvar(0)=256002.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)=256002.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 820,1]
type=changeanim2
trigger1=time=0
value=802

[state 810,]
type=null;changestate
trigger1=time=20
value=803

;---------------------------------------------------------------------------
[statedef 803]
type=a
movetype=h
physics=n
velset=3,-7

;邪眼キラー用
[state ]
type=changestate
triggerall=(sysfvar(0)=256002.0&&sysfvar(0)!=0.0)=0
trigger1=enemy(0),sysfvar(0)=256002.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)=256002.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 820,1]
type=changeanim2
trigger1=time=0
value=803

[state 820,1]
type=null;lifeadd
trigger1=time=5
value=-90

[state 821,1]
type=turn
trigger1=animelem=1
value=1

[state 821,1];gravity
type=veladd
trigger1=time>0
y=.4
x=-.01

[state 821,4]
type=selfstate
trigger1=vel y>0
trigger1=pos y>=0
value=5100

;----------------------------------------------------------------
[statedef 1000];ふぁいえるん！上段
type=s
movetype=a
physics=s
juggle=15
poweradd=ifelse(!ishelper,palno>=1&&palno<=6&&110,1)
velset=0,0
ctrl=0
sprpriority=2

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

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



;ムテキング
[state ]
type=nothitby
trigger1=animelemtime(1)>=10
value2=sca
ignorehitpause=1



;音響
[state ];ふぁいえるん！
type=playsnd
trigger1=animelemtime(1)=0
value=s0,26
channel=0
ignorehitpause=1
[state ];ばちゅーN
type=playsnd
trigger1=animelemtime(1)=10
value=s0,27
ignorehitpause=1



;画面＼(＾o＾)／
[state ]
type=envshake
trigger1=animelemtime(1)=10
time=5
ampl=14
freq=180
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
add=-255,-255,-255
sinadd=255,255,255,80
time=20
ignorehitpause=1



;発生による衝撃波・・・的な？
[state ]
type=explod
trigger1=animelemtime(1)>=1&&animelemtime(1)<=30
anim=10150
trans=addalpha
alpha=256-17.07*animelemtime(1),8.53*animelemtime(1)
scale=0.06*animelemtime(1),0.2*animelemtime(1)
pos=64,-87
removetime=-2
sprpriority=2147483645
pausemovetime=2147483647*ifelse(!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)>=1&&animelemtime(1)<=10
anim=10000
scale=0.03*animelemtime(1),0.03*animelemtime(1)
pos=64,-87
removetime=1
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
trigger1=animelemtime(1)>=1&&animelemtime(1)<=10
anim=10060
scale=0.03*animelemtime(1),0.03*animelemtime(1)
pos=64,-87
removetime=1
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
trigger1=animelemtime(1)>=11&&animelemtime(1)<=20
anim=10000
scale=0.3+0.02*(animelemtime(1)-10),0.3+0.02*(animelemtime(1)-10)
pos=64,-87
removetime=1
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
trigger1=animelemtime(1)>=11&&animelemtime(1)<=20
anim=10060
scale=0.3+0.02*(animelemtime(1)-10),0.3+0.02*(animelemtime(1)-10)
pos=64,-87
removetime=1
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
trigger1=animelemtime(1)>=21&&animelemtime(1)<=30
anim=10000
scale=0.5-0.05*(animelemtime(1)-20),0.5-0.05*(animelemtime(1)-20)
pos=64,-87
removetime=1
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
trigger1=animelemtime(1)>=21&&animelemtime(1)<=30
anim=10060
scale=0.5-0.05*(animelemtime(1)-20),0.5-0.05*(animelemtime(1)-20)
pos=64,-87
removetime=1
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
trigger1=animelemtime(1)>=1&&animelemtime(1)<=10
anim=10010
scale=0.1*animelemtime(1),0.015*animelemtime(1)
pos=64,-87
removetime=1
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
trigger1=animelemtime(1)>=1&&animelemtime(1)<=10
anim=10070
scale=0.1*animelemtime(1),0.015*animelemtime(1)
pos=64,-87
removetime=1
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
trigger1=animelemtime(1)>=11&&animelemtime(1)<=15
anim=10010
scale=1,0.15+0.01*(animelemtime(1)-10)
pos=64,-87
removetime=1
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
trigger1=animelemtime(1)>=11&&animelemtime(1)<=15
anim=10070
scale=1,0.15+0.01*(animelemtime(1)-10)
pos=64,-87
removetime=1
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
trigger1=animelemtime(1)>=16&&animelemtime(1)<=25
anim=10010
scale=1,0.2-0.02*(animelemtime(1)-15)
pos=64,-87
removetime=1
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
trigger1=animelemtime(1)>=16&&animelemtime(1)<=25
anim=10070
scale=1,0.2-0.02*(animelemtime(1)-15)
pos=64,-87
removetime=1
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
trigger1=animelemtime(1)>=1&&animelemtime(1)<=24
anim=10021
scale=0.5,0.5
pos=64,-87
vel=5*cos(sysvar(3))+3*cos(sysvar(3)**2)+3.5,3*sin(sysvar(3))+3*cos(sysvar(3)**2)
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
trigger1=animelemtime(1)>=1&&animelemtime(1)<=24
anim=10081
scale=0.5,0.5
pos=64,-87
vel=5*cos(sysvar(3))+3*cos(sysvar(3)**2)+3.5,3*sin(sysvar(3))+3*cos(sysvar(3)**2)
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=projectile
trigger1=animelemtime(1)=10
projanim=40060
projremove=1
projremovetime=15
offset=64,-87
attr=s,sp
hitflag=mafp
guardflag=ma
damage=45,5
sparkno=-1
numhits=1
ground.type=high
ground.hittime=21
ground.slidetime=21
ground.velocity=-2,-8
fall=1
air.type=high
air.hittime=21
air.slidetime=21
air.velocity=-2,-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=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
trigger1=animtime=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];ふぁいえるん！上段（CPU用01）
type=s
movetype=a
physics=s
juggle=15
poweradd=ifelse(!ishelper,palno>=1&&palno<=6&&110,1)
velset=0,0
ctrl=0
sprpriority=2
[state ]
type=changestate
triggerall=(sysfvar(0)=256002.0&&sysfvar(0)!=0.0)=0
trigger1=1
value=320000
persistent=256
ignorehitpause=1
[state ]
type=changeanim
trigger1=ifelse(!ishelper,palno>=1&&palno<=6&&time=0,ishelper(100000)&&root,palno>=7&&root,palno<=12&&sysvar(1)=0)
value=30000
ignorehitpause=1
[state ]
type=nothitby
trigger1=animelemtime(1)>=10
value2=sca
ignorehitpause=1
[state ];ふぁいえるん！
type=playsnd
trigger1=animelemtime(1)=0
value=s0,26
channel=0
ignorehitpause=1
[state ];ばちゅーN
type=playsnd
trigger1=animelemtime(1)=10
value=s0,27
ignorehitpause=1
[state ]
type=envshake
trigger1=animelemtime(1)=10
time=5
ampl=14
freq=180
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
add=-255,-255,-255
sinadd=255,255,255,80
time=20
ignorehitpause=1
[state ]
type=explod
trigger1=animelemtime(1)>=1&&animelemtime(1)<=30
anim=10150
trans=addalpha
alpha=256-17.07*animelemtime(1),8.53*animelemtime(1)
scale=0.06*animelemtime(1),0.2*animelemtime(1)
pos=64,-87
removetime=-2
sprpriority=2147483645
pausemovetime=2147483647*ifelse(!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)>=1&&animelemtime(1)<=10
anim=10000
scale=0.03*animelemtime(1),0.03*animelemtime(1)
pos=64,-87
removetime=1
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
trigger1=animelemtime(1)>=1&&animelemtime(1)<=10
anim=10060
scale=0.03*animelemtime(1),0.03*animelemtime(1)
pos=64,-87
removetime=1
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
trigger1=animelemtime(1)>=11&&animelemtime(1)<=20
anim=10000
scale=0.3+0.02*(animelemtime(1)-10),0.3+0.02*(animelemtime(1)-10)
pos=64,-87
removetime=1
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
trigger1=animelemtime(1)>=11&&animelemtime(1)<=20
anim=10060
scale=0.3+0.02*(animelemtime(1)-10),0.3+0.02*(animelemtime(1)-10)
pos=64,-87
removetime=1
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
trigger1=animelemtime(1)>=21&&animelemtime(1)<=30
anim=10000
scale=0.5-0.05*(animelemtime(1)-20),0.5-0.05*(animelemtime(1)-20)
pos=64,-87
removetime=1
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
trigger1=animelemtime(1)>=21&&animelemtime(1)<=30
anim=10060
scale=0.5-0.05*(animelemtime(1)-20),0.5-0.05*(animelemtime(1)-20)
pos=64,-87
removetime=1
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
trigger1=animelemtime(1)>=1&&animelemtime(1)<=10
anim=10010
scale=0.1*animelemtime(1),0.015*animelemtime(1)
pos=64,-87
removetime=1
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
trigger1=animelemtime(1)>=1&&animelemtime(1)<=10
anim=10070
scale=0.1*animelemtime(1),0.015*animelemtime(1)
pos=64,-87
removetime=1
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
trigger1=animelemtime(1)>=11&&animelemtime(1)<=15
anim=10010
scale=1,0.15+0.01*(animelemtime(1)-10)
pos=64,-87
removetime=1
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
trigger1=animelemtime(1)>=11&&animelemtime(1)<=15
anim=10070
scale=1,0.15+0.01*(animelemtime(1)-10)
pos=64,-87
removetime=1
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
trigger1=animelemtime(1)>=16&&animelemtime(1)<=25
anim=10010
scale=1,0.2-0.02*(animelemtime(1)-15)
pos=64,-87
removetime=1
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
trigger1=animelemtime(1)>=16&&animelemtime(1)<=25
anim=10070
scale=1,0.2-0.02*(animelemtime(1)-15)
pos=64,-87
removetime=1
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
trigger1=animelemtime(1)>=1&&animelemtime(1)<=24
anim=10021
scale=0.5,0.5
pos=64,-87
vel=5*cos(sysvar(3))+3*cos(sysvar(3)**2)+3.5,3*sin(sysvar(3))+3*cos(sysvar(3)**2)
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
trigger1=animelemtime(1)>=1&&animelemtime(1)<=24
anim=10081
scale=0.5,0.5
pos=64,-87
vel=5*cos(sysvar(3))+3*cos(sysvar(3)**2)+3.5,3*sin(sysvar(3))+3*cos(sysvar(3)**2)
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=projectile
trigger1=animelemtime(1)=10
projanim=40060
projremove=1
projremovetime=15
offset=64,-87
attr=s,sp
hitflag=mafp
guardflag=ma
damage=45,5
sparkno=-1
numhits=1
ground.type=high
ground.hittime=21
ground.slidetime=21
ground.velocity=-2,-8
fall=1
air.type=high
air.hittime=21
air.slidetime=21
air.velocity=-2,-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=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
trigger1=animtime=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 1002];ふぁいえるん！上段（CPU用02）
type=s
movetype=a
physics=s
juggle=15
poweradd=ifelse(!ishelper,palno>=1&&palno<=6&&110,1)
velset=0,0
ctrl=0
sprpriority=2
[state ]
type=changestate
triggerall=(sysfvar(0)=256002.0&&sysfvar(0)!=0.0)=0
trigger1=1
value=320000
persistent=256
ignorehitpause=1
[state ]
type=changeanim
trigger1=ifelse(!ishelper,palno>=1&&palno<=6&&time=0,ishelper(100000)&&root,palno>=7&&root,palno<=12&&sysvar(1)=0)
value=30000
ignorehitpause=1
[state ]
type=nothitby
trigger1=animelemtime(1)>=10
value2=sca
ignorehitpause=1
[state ];ふぁいえるん！
type=playsnd
trigger1=animelemtime(1)=0
value=s0,26
channel=0
ignorehitpause=1
[state ];ばちゅーN
type=playsnd
trigger1=animelemtime(1)=10
value=s0,27
ignorehitpause=1
[state ]
type=envshake
trigger1=animelemtime(1)=10
time=5
ampl=14
freq=180
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
add=-255,-255,-255
sinadd=255,255,255,80
time=20
ignorehitpause=1
[state ]
type=explod
trigger1=animelemtime(1)>=1&&animelemtime(1)<=30
anim=10150
trans=addalpha
alpha=256-17.07*animelemtime(1),8.53*animelemtime(1)
scale=0.06*animelemtime(1),0.2*animelemtime(1)
pos=64,-87
removetime=-2
sprpriority=2147483645
pausemovetime=2147483647*ifelse(!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)>=1&&animelemtime(1)<=10
anim=10000
scale=0.03*animelemtime(1),0.03*animelemtime(1)
pos=64,-87
removetime=1
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
trigger1=animelemtime(1)>=1&&animelemtime(1)<=10
anim=10060
scale=0.03*animelemtime(1),0.03*animelemtime(1)
pos=64,-87
removetime=1
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
trigger1=animelemtime(1)>=11&&animelemtime(1)<=20
anim=10000
scale=0.3+0.02*(animelemtime(1)-10),0.3+0.02*(animelemtime(1)-10)
pos=64,-87
removetime=1
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
trigger1=animelemtime(1)>=11&&animelemtime(1)<=20
anim=10060
scale=0.3+0.02*(animelemtime(1)-10),0.3+0.02*(animelemtime(1)-10)
pos=64,-87
removetime=1
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
trigger1=animelemtime(1)>=21&&animelemtime(1)<=30
anim=10000
scale=0.5-0.05*(animelemtime(1)-20),0.5-0.05*(animelemtime(1)-20)
pos=64,-87
removetime=1
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
trigger1=animelemtime(1)>=21&&animelemtime(1)<=30
anim=10060
scale=0.5-0.05*(animelemtime(1)-20),0.5-0.05*(animelemtime(1)-20)
pos=64,-87
removetime=1
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
trigger1=animelemtime(1)>=1&&animelemtime(1)<=10
anim=10010
scale=0.1*animelemtime(1),0.015*animelemtime(1)
pos=64,-87
removetime=1
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
trigger1=animelemtime(1)>=1&&animelemtime(1)<=10
anim=10070
scale=0.1*animelemtime(1),0.015*animelemtime(1)
pos=64,-87
removetime=1
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
trigger1=animelemtime(1)>=11&&animelemtime(1)<=15
anim=10010
scale=1,0.15+0.01*(animelemtime(1)-10)
pos=64,-87
removetime=1
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
trigger1=animelemtime(1)>=11&&animelemtime(1)<=15
anim=10070
scale=1,0.15+0.01*(animelemtime(1)-10)
pos=64,-87
removetime=1
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
trigger1=animelemtime(1)>=16&&animelemtime(1)<=25
anim=10010
scale=1,0.2-0.02*(animelemtime(1)-15)
pos=64,-87
removetime=1
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
trigger1=animelemtime(1)>=16&&animelemtime(1)<=25
anim=10070
scale=1,0.2-0.02*(animelemtime(1)-15)
pos=64,-87
removetime=1
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
trigger1=animelemtime(1)>=1&&animelemtime(1)<=24
anim=10021
scale=0.5,0.5
pos=64,-87
vel=5*cos(sysvar(3))+3*cos(sysvar(3)**2)+3.5,3*sin(sysvar(3))+3*cos(sysvar(3)**2)
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
trigger1=animelemtime(1)>=1&&animelemtime(1)<=24
anim=10081
scale=0.5,0.5
pos=64,-87
vel=5*cos(sysvar(3))+3*cos(sysvar(3)**2)+3.5,3*sin(sysvar(3))+3*cos(sysvar(3)**2)
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=projectile
trigger1=animelemtime(1)=10
projanim=40060
projremove=1
projremovetime=15
offset=64,-87
attr=s,sp
hitflag=mafp
guardflag=ma
damage=45,5
sparkno=-1
numhits=1
ground.type=high
ground.hittime=21
ground.slidetime=21
ground.velocity=-2,-8
fall=1
air.type=high
air.hittime=21
air.slidetime=21
air.velocity=-2,-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=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
trigger1=animtime=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 1010];ふぁいえるん！下段
type=s
movetype=a
physics=s
juggle=15
poweradd=ifelse(!ishelper,palno>=1&&palno<=6&&110,1)
velset=0,0
ctrl=0
sprpriority=2

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

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



;ムテキング
[state ]
type=nothitby
trigger1=animelemtime(1)>=10
value2=sca
ignorehitpause=1



;音響
[state ];ふぁいえるん！
type=playsnd
trigger1=animelemtime(1)=0
trigger1=sysvar(3)=[0,899]
value=s0,26
channel=0
ignorehitpause=1
[state ];足元注意だ
type=playsnd
trigger1=animelemtime(1)=0
trigger1=sysvar(3)=[900,999]
value=s10,0
volume=255
ignorehitpause=1
[state ];足元注意だ
type=playsnd
trigger1=animelemtime(1)=0
trigger1=sysvar(3)=[900,999]
value=s10,0
volume=255
ignorehitpause=1
[state ];足元注意だ
type=playsnd
trigger1=animelemtime(1)=0
trigger1=sysvar(3)=[900,999]
value=s10,0
volume=255
ignorehitpause=1
[state ];ばちゅーN
type=playsnd
trigger1=animelemtime(1)=10
value=s0,27
ignorehitpause=1



;画面＼(＾o＾)／
[state ]
type=envshake
trigger1=animelemtime(1)=10
time=5
ampl=14
freq=180
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
add=-255,-255,-255
sinadd=255,255,255,80
time=20
ignorehitpause=1



;ビーム１
[state ]
type=explod
trigger1=animelemtime(1)>=1&&animelemtime(1)<=30
anim=10150
trans=addalpha
alpha=256-17.07*animelemtime(1),8.53*animelemtime(1)
scale=0.06*animelemtime(1),0.2*animelemtime(1)
pos=68,-38
removetime=-2
sprpriority=2147483642
pausemovetime=2147483647*ifelse(!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)>=1&&animelemtime(1)<=10
anim=10000
scale=0.03*animelemtime(1),0.03*animelemtime(1)
pos=68,-38
removetime=1
sprpriority=2147483644
pausemovetime=2147483647*ifelse(!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)>=1&&animelemtime(1)<=10
anim=10060
scale=0.03*animelemtime(1),0.03*animelemtime(1)
pos=68,-38
removetime=1
sprpriority=2147483643
pausemovetime=2147483647*ifelse(!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)>=11&&animelemtime(1)<=20
anim=10000
scale=0.3+0.02*(animelemtime(1)-10),0.3+0.02*(animelemtime(1)-10)
pos=68,-38
removetime=1
sprpriority=2147483644
pausemovetime=2147483647*ifelse(!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)>=11&&animelemtime(1)<=20
anim=10060
scale=0.3+0.02*(animelemtime(1)-10),0.3+0.02*(animelemtime(1)-10)
pos=68,-38
removetime=1
sprpriority=2147483643
pausemovetime=2147483647*ifelse(!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)>=21&&animelemtime(1)<=30
anim=10000
scale=0.5-0.05*(animelemtime(1)-20),0.5-0.05*(animelemtime(1)-20)
pos=68,-38
removetime=1
sprpriority=2147483644
pausemovetime=2147483647*ifelse(!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)>=21&&animelemtime(1)<=30
anim=10060
scale=0.5-0.05*(animelemtime(1)-20),0.5-0.05*(animelemtime(1)-20)
pos=68,-38
removetime=1
sprpriority=2147483643
pausemovetime=2147483647*ifelse(!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)>=1&&animelemtime(1)<=10
anim=10010
scale=0.1*animelemtime(1),0.015*animelemtime(1)
pos=68,-38
removetime=1
sprpriority=2147483644
pausemovetime=2147483647*ifelse(!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)>=1&&animelemtime(1)<=10
anim=10070
scale=0.1*animelemtime(1),0.015*animelemtime(1)
pos=68,-38
removetime=1
sprpriority=2147483643
pausemovetime=2147483647*ifelse(!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)>=11&&animelemtime(1)<=15
anim=10010
scale=1,0.15+0.01*(animelemtime(1)-10)
pos=68,-38
removetime=1
sprpriority=2147483644
pausemovetime=2147483647*ifelse(!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)>=11&&animelemtime(1)<=15
anim=10070
scale=1,0.15+0.01*(animelemtime(1)-10)
pos=68,-38
removetime=1
sprpriority=2147483643
pausemovetime=2147483647*ifelse(!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(1)<=25
anim=10010
scale=1,0.2-0.02*(animelemtime(1)-15)
pos=68,-38
removetime=1
sprpriority=2147483644
pausemovetime=2147483647*ifelse(!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(1)<=25
anim=10070
scale=1,0.2-0.02*(animelemtime(1)-15)
pos=68,-38
removetime=1
sprpriority=2147483643
pausemovetime=2147483647*ifelse(!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)>=1&&animelemtime(1)<=24
anim=10021
scale=0.5,0.5
pos=68,-38
vel=5*cos(sysvar(3))+3*cos(sysvar(3)**2)+3.5,3*sin(sysvar(3))+3*cos(sysvar(3)**2)
removetime=-2
sprpriority=2147483644
pausemovetime=2147483647*ifelse(!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)>=1&&animelemtime(1)<=24
anim=10081
scale=0.5,0.5
pos=68,-38
vel=5*cos(sysvar(3))+3*cos(sysvar(3)**2)+3.5,3*sin(sysvar(3))+3*cos(sysvar(3)**2)
removetime=-2
sprpriority=2147483643
pausemovetime=2147483647*ifelse(!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)>=1&&animelemtime(1)<=30
anim=10150
trans=addalpha
alpha=256-17.07*animelemtime(1),8.53*animelemtime(1)
scale=0.06*animelemtime(1),0.2*animelemtime(1)
pos=53,-13
removetime=-2
sprpriority=2147483645
pausemovetime=2147483647*ifelse(!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)>=1&&animelemtime(1)<=10
anim=10000
scale=0.03*animelemtime(1),0.03*animelemtime(1)
pos=53,-13
removetime=1
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
trigger1=animelemtime(1)>=1&&animelemtime(1)<=10
anim=10060
scale=0.03*animelemtime(1),0.03*animelemtime(1)
pos=53,-13
removetime=1
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
trigger1=animelemtime(1)>=11&&animelemtime(1)<=20
anim=10000
scale=0.3+0.02*(animelemtime(1)-10),0.3+0.02*(animelemtime(1)-10)
pos=53,-13
removetime=1
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
trigger1=animelemtime(1)>=11&&animelemtime(1)<=20
anim=10060
scale=0.3+0.02*(animelemtime(1)-10),0.3+0.02*(animelemtime(1)-10)
pos=53,-13
removetime=1
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
trigger1=animelemtime(1)>=21&&animelemtime(1)<=30
anim=10000
scale=0.5-0.05*(animelemtime(1)-20),0.5-0.05*(animelemtime(1)-20)
pos=53,-13
removetime=1
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
trigger1=animelemtime(1)>=21&&animelemtime(1)<=30
anim=10060
scale=0.5-0.05*(animelemtime(1)-20),0.5-0.05*(animelemtime(1)-20)
pos=53,-13
removetime=1
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
trigger1=animelemtime(1)>=1&&animelemtime(1)<=10
anim=10010
scale=0.1*animelemtime(1),0.015*animelemtime(1)
pos=53,-13
removetime=1
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
trigger1=animelemtime(1)>=1&&animelemtime(1)<=10
anim=10070
scale=0.1*animelemtime(1),0.015*animelemtime(1)
pos=53,-13
removetime=1
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
trigger1=animelemtime(1)>=11&&animelemtime(1)<=15
anim=10010
scale=1,0.15+0.01*(animelemtime(1)-10)
pos=53,-13
removetime=1
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
trigger1=animelemtime(1)>=11&&animelemtime(1)<=15
anim=10070
scale=1,0.15+0.01*(animelemtime(1)-10)
pos=53,-13
removetime=1
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
trigger1=animelemtime(1)>=16&&animelemtime(1)<=25
anim=10010
scale=1,0.2-0.02*(animelemtime(1)-15)
pos=53,-13
removetime=1
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
trigger1=animelemtime(1)>=16&&animelemtime(1)<=25
anim=10070
scale=1,0.2-0.02*(animelemtime(1)-15)
pos=53,-13
removetime=1
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
trigger1=animelemtime(1)>=1&&animelemtime(1)<=24
anim=10021
scale=0.5,0.5
pos=53,-13
vel=5*cos(sysvar(3))+3*cos(sysvar(3)**2)+3.5,3*sin(sysvar(3))+3*cos(sysvar(3)**2)
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
trigger1=animelemtime(1)>=1&&animelemtime(1)<=24
anim=10081
scale=0.5,0.5
pos=53,-13
vel=5*cos(sysvar(3))+3*cos(sysvar(3)**2)+3.5,3*sin(sysvar(3))+3*cos(sysvar(3)**2)
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=projectile
trigger1=animelemtime(1)=10
projanim=40060
projremove=1
projremovetime=15
offset=68,-38
attr=s,sp
hitflag=mafdp
guardflag=l
damage=35,5
sparkno=-1
numhits=1
ground.type=high
ground.hittime=21
ground.slidetime=21
ground.velocity=-2,-8
fall=1
air.type=high
air.hittime=21
air.slidetime=21
air.velocity=-2,-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
trigger1=animelemtime(1)=10
projanim=40060
projremove=1
projremovetime=15
offset=53,-13
attr=s,sp
hitflag=mafdp
guardflag=l
damage=35,5
sparkno=-1
numhits=1
ground.type=high
ground.hittime=21
ground.slidetime=21
ground.velocity=-2,-8
fall=1
air.type=high
air.hittime=21
air.slidetime=21
air.velocity=-2,-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=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
trigger1=animtime=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 1011];ふぁいえるん！下段（CPU01）
type=s
movetype=a
physics=s
juggle=15
poweradd=ifelse(!ishelper,palno>=1&&palno<=6&&110,1)
velset=0,0
ctrl=0
sprpriority=2
[state ]
type=changestate
triggerall=(sysfvar(0)=256002.0&&sysfvar(0)!=0.0)=0
trigger1=1
value=320000
persistent=256
ignorehitpause=1
[state ]
type=changeanim
trigger1=ifelse(!ishelper,palno>=1&&palno<=6&&time=0,ishelper(100000)&&root,palno>=7&&root,palno<=12&&sysvar(1)=0)
value=30010
ignorehitpause=1
[state ]
type=nothitby
trigger1=animelemtime(1)>=10
value2=sca
ignorehitpause=1
[state ];ふぁいえるん！
type=playsnd
trigger1=animelemtime(1)=0
trigger1=sysvar(3)=[0,899]
value=s0,26
channel=0
ignorehitpause=1
[state ];足元注意だ
type=playsnd
trigger1=animelemtime(1)=0
trigger1=sysvar(3)=[900,999]
value=s10,0
volume=255
ignorehitpause=1
[state ];足元注意だ
type=playsnd
trigger1=animelemtime(1)=0
trigger1=sysvar(3)=[900,999]
value=s10,0
volume=255
ignorehitpause=1
[state ];足元注意だ
type=playsnd
trigger1=animelemtime(1)=0
trigger1=sysvar(3)=[900,999]
value=s10,0
volume=255
ignorehitpause=1
[state ];ばちゅーN
type=playsnd
trigger1=animelemtime(1)=10
value=s0,27
ignorehitpause=1
[state ]
type=envshake
trigger1=animelemtime(1)=10
time=5
ampl=14
freq=180
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
add=-255,-255,-255
sinadd=255,255,255,80
time=20
ignorehitpause=1
[state ]
type=explod
trigger1=animelemtime(1)>=1&&animelemtime(1)<=30
anim=10150
trans=addalpha
alpha=256-17.07*animelemtime(1),8.53*animelemtime(1)
scale=0.06*animelemtime(1),0.2*animelemtime(1)
pos=68,-38
removetime=-2
sprpriority=2147483642
pausemovetime=2147483647*ifelse(!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)>=1&&animelemtime(1)<=10
anim=10000
scale=0.03*animelemtime(1),0.03*animelemtime(1)
pos=68,-38
removetime=1
sprpriority=2147483644
pausemovetime=2147483647*ifelse(!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)>=1&&animelemtime(1)<=10
anim=10060
scale=0.03*animelemtime(1),0.03*animelemtime(1)
pos=68,-38
removetime=1
sprpriority=2147483643
pausemovetime=2147483647*ifelse(!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)>=11&&animelemtime(1)<=20
anim=10000
scale=0.3+0.02*(animelemtime(1)-10),0.3+0.02*(animelemtime(1)-10)
pos=68,-38
removetime=1
sprpriority=2147483644
pausemovetime=2147483647*ifelse(!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)>=11&&animelemtime(1)<=20
anim=10060
scale=0.3+0.02*(animelemtime(1)-10),0.3+0.02*(animelemtime(1)-10)
pos=68,-38
removetime=1
sprpriority=2147483643
pausemovetime=2147483647*ifelse(!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)>=21&&animelemtime(1)<=30
anim=10000
scale=0.5-0.05*(animelemtime(1)-20),0.5-0.05*(animelemtime(1)-20)
pos=68,-38
removetime=1
sprpriority=2147483644
pausemovetime=2147483647*ifelse(!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)>=21&&animelemtime(1)<=30
anim=10060
scale=0.5-0.05*(animelemtime(1)-20),0.5-0.05*(animelemtime(1)-20)
pos=68,-38
removetime=1
sprpriority=2147483643
pausemovetime=2147483647*ifelse(!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)>=1&&animelemtime(1)<=10
anim=10010
scale=0.1*animelemtime(1),0.015*animelemtime(1)
pos=68,-38
removetime=1
sprpriority=2147483644
pausemovetime=2147483647*ifelse(!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)>=1&&animelemtime(1)<=10
anim=10070
scale=0.1*animelemtime(1),0.015*animelemtime(1)
pos=68,-38
removetime=1
sprpriority=2147483643
pausemovetime=2147483647*ifelse(!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)>=11&&animelemtime(1)<=15
anim=10010
scale=1,0.15+0.01*(animelemtime(1)-10)
pos=68,-38
removetime=1
sprpriority=2147483644
pausemovetime=2147483647*ifelse(!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)>=11&&animelemtime(1)<=15
anim=10070
scale=1,0.15+0.01*(animelemtime(1)-10)
pos=68,-38
removetime=1
sprpriority=2147483643
pausemovetime=2147483647*ifelse(!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(1)<=25
anim=10010
scale=1,0.2-0.02*(animelemtime(1)-15)
pos=68,-38
removetime=1
sprpriority=2147483644
pausemovetime=2147483647*ifelse(!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(1)<=25
anim=10070
scale=1,0.2-0.02*(animelemtime(1)-15)
pos=68,-38
removetime=1
sprpriority=2147483643
pausemovetime=2147483647*ifelse(!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)>=1&&animelemtime(1)<=24
anim=10021
scale=0.5,0.5
pos=68,-38
vel=5*cos(sysvar(3))+3*cos(sysvar(3)**2)+3.5,3*sin(sysvar(3))+3*cos(sysvar(3)**2)
removetime=-2
sprpriority=2147483644
pausemovetime=2147483647*ifelse(!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)>=1&&animelemtime(1)<=24
anim=10081
scale=0.5,0.5
pos=68,-38
vel=5*cos(sysvar(3))+3*cos(sysvar(3)**2)+3.5,3*sin(sysvar(3))+3*cos(sysvar(3)**2)
removetime=-2
sprpriority=2147483643
pausemovetime=2147483647*ifelse(!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)>=1&&animelemtime(1)<=30
anim=10150
trans=addalpha
alpha=256-17.07*animelemtime(1),8.53*animelemtime(1)
scale=0.06*animelemtime(1),0.2*animelemtime(1)
pos=53,-13
removetime=-2
sprpriority=2147483645
pausemovetime=2147483647*ifelse(!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)>=1&&animelemtime(1)<=10
anim=10000
scale=0.03*animelemtime(1),0.03*animelemtime(1)
pos=53,-13
removetime=1
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
trigger1=animelemtime(1)>=1&&animelemtime(1)<=10
anim=10060
scale=0.03*animelemtime(1),0.03*animelemtime(1)
pos=53,-13
removetime=1
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
trigger1=animelemtime(1)>=11&&animelemtime(1)<=20
anim=10000
scale=0.3+0.02*(animelemtime(1)-10),0.3+0.02*(animelemtime(1)-10)
pos=53,-13
removetime=1
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
trigger1=animelemtime(1)>=11&&animelemtime(1)<=20
anim=10060
scale=0.3+0.02*(animelemtime(1)-10),0.3+0.02*(animelemtime(1)-10)
pos=53,-13
removetime=1
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
trigger1=animelemtime(1)>=21&&animelemtime(1)<=30
anim=10000
scale=0.5-0.05*(animelemtime(1)-20),0.5-0.05*(animelemtime(1)-20)
pos=53,-13
removetime=1
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
trigger1=animelemtime(1)>=21&&animelemtime(1)<=30
anim=10060
scale=0.5-0.05*(animelemtime(1)-20),0.5-0.05*(animelemtime(1)-20)
pos=53,-13
removetime=1
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
trigger1=animelemtime(1)>=1&&animelemtime(1)<=10
anim=10010
scale=0.1*animelemtime(1),0.015*animelemtime(1)
pos=53,-13
removetime=1
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
trigger1=animelemtime(1)>=1&&animelemtime(1)<=10
anim=10070
scale=0.1*animelemtime(1),0.015*animelemtime(1)
pos=53,-13
removetime=1
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
trigger1=animelemtime(1)>=11&&animelemtime(1)<=15
anim=10010
scale=1,0.15+0.01*(animelemtime(1)-10)
pos=53,-13
removetime=1
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
trigger1=animelemtime(1)>=11&&animelemtime(1)<=15
anim=10070
scale=1,0.15+0.01*(animelemtime(1)-10)
pos=53,-13
removetime=1
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
trigger1=animelemtime(1)>=16&&animelemtime(1)<=25
anim=10010
scale=1,0.2-0.02*(animelemtime(1)-15)
pos=53,-13
removetime=1
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
trigger1=animelemtime(1)>=16&&animelemtime(1)<=25
anim=10070
scale=1,0.2-0.02*(animelemtime(1)-15)
pos=53,-13
removetime=1
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
trigger1=animelemtime(1)>=1&&animelemtime(1)<=24
anim=10021
scale=0.5,0.5
pos=53,-13
vel=5*cos(sysvar(3))+3*cos(sysvar(3)**2)+3.5,3*sin(sysvar(3))+3*cos(sysvar(3)**2)
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
trigger1=animelemtime(1)>=1&&animelemtime(1)<=24
anim=10081
scale=0.5,0.5
pos=53,-13
vel=5*cos(sysvar(3))+3*cos(sysvar(3)**2)+3.5,3*sin(sysvar(3))+3*cos(sysvar(3)**2)
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=projectile
trigger1=animelemtime(1)=10
projanim=40060
projremove=1
projremovetime=15
offset=68,-38
attr=s,sp
hitflag=mafdp
guardflag=l
damage=35,5
sparkno=-1
numhits=1
ground.type=high
ground.hittime=21
ground.slidetime=21
ground.velocity=-2,-8
fall=1
air.type=high
air.hittime=21
air.slidetime=21
air.velocity=-2,-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
trigger1=animelemtime(1)=10
projanim=40060
projremove=1
projremovetime=15
offset=53,-13
attr=s,sp
hitflag=mafdp
guardflag=l
damage=35,5
sparkno=-1
numhits=1
ground.type=high
ground.hittime=21
ground.slidetime=21
ground.velocity=-2,-8
fall=1
air.type=high
air.hittime=21
air.slidetime=21
air.velocity=-2,-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=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
trigger1=animtime=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 810];c投げ
type=s
movetype=a
physics=s
juggle=0
velset=0,0
ctrl=0
anim=800
sprpriority=2

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

[state 800,1]
type=hitdef
trigger1=time=0
animtype=up
attr=s,nt
hitflag=m-
priority=1,miss
sparkno=-1
sprpriority=1
p2facing=1
p1stateno=811
p2stateno=812
guard.dist=0
fall=1
fall.recover=0

[state 800,2]
type=changestate
trigger1=animtime=0
value=210

;---------------------------------------------------------------------------
[statedef 811]
type=s
movetype=a
physics=n
anim=810
poweradd=60
sprpriority=2

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

[state 240,4]
type=explod
trigger1=animelem=2
anim=511
postype=p1
pos=45,-78
sprpriority=4

[state 701,1]
type=playsnd
trigger1=animelem=2
value=s0,11

[state 701,1]
type=width
trigger1=1
edge=60,0

[state 810,bind1]
type=targetbind
trigger1=animelem=1
pos=48,0

[state 810,bind1]
type=targetbind
trigger1=animelem=2
pos=48,0

[state 810,bind1]
type=targetbind
trigger1=animelem=3
pos=42,-81

[state 810,bind1]
type=targetbind
trigger1=animelem=4
pos=38,-81

[state 810,bind1]
type=targetbind
trigger1=animelem=5
pos=35,-98

[state 810,bind1]
type=targetbind
trigger1=animelem=6
pos=29,-101

[state 810,bind1]
type=targetbind
trigger1=animelem=7
pos=27,-104

[state 810,bind1]
type=targetbind
trigger1=animelem=8
pos=26,-104

[state 810,bind1]
type=targetbind
trigger1=animelem=9
pos=25,-106

[state 810,bind1]
type=targetbind
trigger1=animelem=10
pos=23,-115

[state 810,bind1]
type=targetbind
trigger1=animelem=11
pos=20,-124

[state 810,bind1]
type=targetbind
trigger1=animelem=12
pos=15,-130

[state 810,bind1]
type=targetbind
trigger1=animelem=13
pos=0,-126

[state 810,bind1]
type=targetstate
trigger1=animelem=13
value=814

[state 810,bind1]
type=targetbind
trigger1=animelem=14
pos=0,-100

[state 810,bind1]
type=targetbind
trigger1=animelem=15
pos=20,-63

[state 810,bind1]
type=targetstate
trigger1=animelem=16
value=813

[state 701,1]
type=playsnd
trigger1=animelem=18
value=s0,13

[state 810,bind1]
type=targetlifeadd
trigger1=animelem=18
value=ifelse((var(58)=1),floor(-90*1.35),-90)

[state 240,4]
type=explod
trigger1=animelem=18
anim=518
postype=p1
pos=63,0
sprpriority=-1

[state 240,4]
type=explod
trigger1=animelem=18
anim=515
postype=p1
pos=63,0
sprpriority=6

[state 240,4]
type=envshake
trigger1=animelem=18
time=20

[state 240,4]
type=explod
trigger1=animelem=18
anim=516
postype=p1
pos=63,0
sprpriority=-2

[state 810,stateend]
type=changestate
trigger1=animtime=0
value=0
ctrl=1

;---------------------------------------------------------------------------
[statedef 812]
type=a
movetype=h
physics=n
velset=0,0
;anim=811
sprpriority=-1

;邪眼キラー用
[state ]
type=changestate
triggerall=(sysfvar(0)=256002.0&&sysfvar(0)!=0.0)=0
trigger1=enemy(0),sysfvar(0)=256002.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)=256002.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 9000,1]
type=screenbound
trigger1=1
movecamera=1,0

[state 5050,1]
type=changeanim2
trigger1=time=0
value=811

[statedef 814]
type=a
movetype=h
physics=n
velset=0,0
;anim=811
sprpriority=5

;邪眼キラー用
[state ]
type=changestate
triggerall=(sysfvar(0)=256002.0&&sysfvar(0)!=0.0)=0
trigger1=enemy(0),sysfvar(0)=256002.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)=256002.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 9000,1]
type=screenbound
trigger1=1
movecamera=1,0

[state 5050,1]
type=changeanim2
trigger1=time=0
value=813


[statedef 813]
type=a
movetype=h
physics=n
velset=0,0
;anim=811
sprpriority=4

;邪眼キラー用
[state ]
type=changestate
triggerall=(sysfvar(0)=256002.0&&sysfvar(0)!=0.0)=0
trigger1=enemy(0),sysfvar(0)=256002.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)=256002.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 170,1]
type=nothitby
trigger1=1
value=sca
time=1

[state 9000,1]
type=screenbound
trigger1=1
movecamera=1,0

[state 5050,1]
type=sprpriority
trigger1=time=0
value=5

[state 5050,1]
type=changeanim
trigger1=time=0
trigger1=animexist(5101)
value=5101

[state 5050,1]
type=changeanim
trigger1=time=0
trigger1=!animexist(5101)&&animexist(5102)
value=5102

[state 5050,1]
type=changeanim2
trigger1=time=0
trigger1=!animexist(5101)&&!animexist(5102)
value=814;11

[state 5050,3]
type=velset
trigger1=time>=0
y=11
x=-6

[state 5050,3]
type=velset
trigger1=vel y>0
trigger1=pos y>=0
x=-2

[state 820,1]
type=null;lifeadd
trigger1=vel y>0
trigger1=pos y>=0
value=-90

[state 5050,6]
type=selfstate
trigger1=!animexist(5102)||!animexist(5101)
trigger1=vel y>0
trigger1=pos y>=0
value=5100

[state 5050,6]
type=selfstate
trigger1=animexist(5102)||animexist(5101)
trigger1=vel y>0
trigger1=pos y>=0
value=5101

;-------------------------------------------------------------
[statedef 900];緊急回避前
type=s
movetype=i
physics=s
velset=0,0
ctrl=0
sprpriority=1
poweradd=ifelse((prevstateno=150||prevstateno=152),-500,0)

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

[state ]
type=changeanim
trigger1=ifelse(!ishelper,palno>=1&&palno<=6&&time=0,ishelper(100000)&&root,palno>=7&&root,palno<=12&&sysvar(1)=0)
value=900
ignorehitpause=1
[state ]
type=explod
trigger1=animelemtime(1)=0&&(prevstateno=150||prevstateno=152)
anim=514
postype=p1
pos=0,-78
sprpriority=4
ignorehitpause=1
[state ]
type=playerpush
trigger1=1
value=0
ignorehitpause=1
[state ]
type=envcolor
trigger1=animelemtime(1)=0&&(prevstateno=150||prevstateno=152)
time=2
value=255,255,255
ignorehitpause=1
[state ]
type=nothitby
trigger1=animelemtime(1)=0
value=sca
time=25
ignorehitpause=1
[state ]
type=sprpriority
trigger1=animelemtime(1)=0
value=-1
ignorehitpause=1
[state ]
type=velset
trigger1=animelemtime(3)=0
trigger2=animelemtime(4)=0
trigger3=animelemtime(5)=0
trigger4=animelemtime(6)=0
x=7.2
ignorehitpause=1
[state ]
type=velset
trigger1=animtime=0
x=0
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
trigger1=animtime=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 910];緊急回避後
type=s
movetype=i
physics=s
velset=0,0
ctrl=0
sprpriority=1
poweradd=ifelse((prevstateno=150||prevstateno=152),-500,0)

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

[state ]
type=changeanim
trigger1=ifelse(!ishelper,palno>=1&&palno<=6&&time=0,ishelper(100000)&&root,palno>=7&&root,palno<=12&&sysvar(1)=0)
value=910
ignorehitpause=1
[state ]
type=explod
trigger1=animelemtime(1)=0&&(prevstateno=150||prevstateno=152)
anim=514
postype=p1
pos=0,-78
sprpriority=4
ignorehitpause=1
[state ]
type=playerpush
trigger1=1
value=0
ignorehitpause=1
[state ]
type=envcolor
trigger1=animelemtime(1)=0&&(prevstateno=150||prevstateno=152)
time=2
value=255,255,255
ignorehitpause=1
[state ]
type=nothitby
trigger1=animelemtime(1)=0
value=sca
time=25
ignorehitpause=1
[state ]
type=sprpriority
trigger1=animelemtime(1)=0
value=-1
ignorehitpause=1
[state ]
type=velset
trigger1=animelemtime(3)=0
trigger2=animelemtime(4)=0
trigger3=animelemtime(5)=0
trigger4=animelemtime(6)=0
x=-6.2
ignorehitpause=1
[state ]
type=velset
trigger1=animtime=0
x=0
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
trigger1=animtime=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 1020];ネガ　ジェネシス
type=s
movetype=a
physics=s
juggle=3
poweradd=65
ctrl=0
velset=0,0
anim=221
sprpriority=2

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

[state 170,1]
type=varset
trigger1=time=0
var(10)=0

[state 191,1]
type=varrandom
trigger1=1
v=1
range=1,2

[state 191,1]
type=playsnd
trigger1=time=0
trigger1=var(1)=1
value=s0,21
channel=0

[state 191,1]
type=playsnd
trigger1=time=0
value=s0,5

[state 191,1]
type=envcolor
trigger1=movecontact=1
value=255,255,255
time=1
persistent=0
ignorehitpause=1
under=-1

[state 3021,1]
type=projectile
trigger1=moveguarded
trigger1=animelem=12,>=0
trigger1=animelem=13,<=0
trigger1=numprojid(1020)=0
projid=1020
attr=s,sa
guardflag=n
hitflag=m
numhits=0
projanim=2033
sparkno=-1
p2stateno=1026
persistent=0
ignorehitpause=1
projremovetime=1
p2facing=1

[state 240,2]
type=hitdef
trigger1=animelem=12
attr=s,na
animtype=medium
damage=70,10
getpower=30,10
guardflag=ma
pausetime=7,0
sparkno=s502
guard.sparkno=s506
sparkxy=-10,-60
hitsound=s0,17
guardsound=s0,10
ground.type=low
ground.slidetime=0
ground.hittime=0
ground.velocity=0
air.velocity=0
p2facing=1
;p2stateno=1021
fall=1
fall.recover=0
;snap=20,-40
ignorehitpause=1
absolute=0
id=1020

[state 240,4]
type=targetstate
trigger1=movehit
trigger1=numtarget(1020)>=1
value=1021
persistent=0
ignorehitpause=1

[state 240,2]
type=hitdef
trigger1=animelem=18
trigger1=p2stateno!=1021
trigger1=p2stateno!=1022
trigger1=p2stateno!=1026
attr=s,na
getpower=30,10
animtype=medium
damage=73,5
guardflag=ma
pausetime=2,6
sparkno=s502
guard.sparkno=s506
sparkxy=-10,-60
hitsound=s0,17
guardsound=s0,10
ground.type=low
ground.slidetime=9
ground.hittime=9
ground.velocity=-6,5
air.velocity=-6,2.5
fall=1
fall.recover=0
absolute=0

[state 1034,2]
type=null;projectile
projid=2029
trigger1=animelem=9
projremove=1
projremovetime=10
projhits=0
projremanim=-1
projhitanim=-1
projpriority=999999999
projanim=2029
offset=0,0;35,-105
velocity=0,0
attr=s,sp
sparkno=-1

[state 1034,2]
type=null;projectile
projid=2030
trigger1=animelem=9
projremove=1
projremovetime=10
projhits=0
projremanim=-1
projhitanim=-1
projpriority=999999999
projanim=2029
offset=0,0;35,-105
velocity=0,0
attr=s,sp
sparkno=-1

[state 240,4]
type=changestate
trigger1=var(10)>=1
triggerall=animelem=13||animelem=14
value=1025

[state 240,4]
type=null;changestate
triggerall=animelem=12
trigger1=numprojid(2029)=0
trigger2=numprojid(2030)=0
value=1025

[state 240,4]
type=changestate
trigger1=animtime=0
value=0;1027
ctrl=1

[statedef 1021];相手
type=a
movetype=h
physics=n
velset=0,0;-13,-.5
sprpriority=-3

;邪眼キラー用
[state ]
type=changestate
triggerall=(sysfvar(0)=256002.0&&sysfvar(0)!=0.0)=0
trigger1=enemy(0),sysfvar(0)=256002.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)=256002.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 820,1]
type=hitfallset
trigger1=time=0
value=0

[state 820,1]
type=changeanim2
trigger1=time=0
value=913

[state 1021,0]
type=turn
trigger1=frontedgedist<=0
trigger1=time>=15
value=1

[state 1021,0]
type=velset
trigger1=time=15
x=-13
y=-.7

[state 840,2]
type=afterimage
trigger1=time=15
time=20
length=3
palbright=0,0,0
palcontrast=255,255,255
paladd=0,0,0
palmul=1,1,1
framegap=2
ignorehitpause=1

[state 9000,1]
type=screenbound
trigger1=1
movecamera=1,0

[state 821,1]
type=veladd
trigger1=time>19
y=.14

[state 820,1]
type=changeanim2
trigger1=time=15
value=912

[state 1021,0]
type=posadd
trigger1=time=0
y=-10

[state 190]
type=changestate
triggerall=time>=15
trigger1=backedgedist<=0
trigger2=frontedgedist<=0
value=1022

[state 3040,3]
type=changestate
trigger1=vel y>0
trigger1=pos y>=0
value=512

[statedef 1022];相手2
type=a
movetype=h
physics=n
velset=3.5,-8.2

;邪眼キラー用
[state ]
type=changestate
triggerall=(sysfvar(0)=256002.0&&sysfvar(0)!=0.0)=0
trigger1=enemy(0),sysfvar(0)=256002.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)=256002.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 820,1]
type=changeanim2
trigger1=time=0
value=912

[state 9000,1]
type=null;screenbound
trigger1=1
movecamera=1,0

[state 9000,1]
type=turn
trigger1=time=0
value=1

[state 821,1]
type=veladd
trigger1=time>3
y=.45
x=.05

[state 821,4]
type=selfstate
trigger1=vel y>0
trigger1=pos y>=0
value=5100

[statedef 1025];ネガ　ジェネシス2
type=s
movetype=a
physics=s
juggle=5
poweradd=65
ctrl=0
velset=0,0
anim=2031
sprpriority=2
juggle=15

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

[state 191,1]
type=playsnd
trigger1=time=0
value=s0,64

[state 1034,2]
type=projectile
projid=1021
trigger1=animelem=2
projremove=1
projhits=1
projremanim=-1
projhitanim=812
;projmisstime=2
projpriority=5
;projremove=1344
projanim=2030
offset=30,-100
velocity=14,0
attr=s,sp
damage=100,10
animtype=hard
hitflag=maf
guardflag=m
sparkno=s502
guard.sparkno=s507
sparkxy=30,0
hitsound=s0,17
guardsound=s0,10
pausetime=0,10
ground.type=high
ground.slidetime=15
ground.hittime=15
guard.hittime=15
ground.velocity=-5,-6
air.velocity=-5,-5
fall=1
fall.recover=0

[state 240,4]
type=changestate
trigger1=animtime=0
value=0
ctrl=1

[statedef 1026];相手ガード崩し
type=s
movetype=h
physics=n
velset=0,0

;邪眼キラー用
[state ]
type=changestate
triggerall=(sysfvar(0)=256002.0&&sysfvar(0)!=0.0)=0
trigger1=enemy(0),sysfvar(0)=256002.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)=256002.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 820,1]
type=changeanim2
trigger1=time=0
value=2032

[state 820,1]
type=posadd
trigger1=time=[3,15]
x=-3

[state 240,4]
type=selfstate
trigger1=animtime=0
value=0
ctrl=1

[statedef 1027];ネガ　ジェネシス2
type=s
movetype=a
physics=s
juggle=5
poweradd=65
ctrl=0
velset=0,0
anim=222
sprpriority=2
juggle=15

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

[state 240,4]
type=changestate
trigger1=animtime=0
value=0
ctrl=1

;-------------------------------------------------------------
[statedef 1030];チェーンブレイド　トランスアキシャル　スライス弱
type=s
movetype=a
physics=s
juggle=10
poweradd=65
ctrl=0
velset=0,0
anim=1030
sprpriority=2

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

[state 240,4]
type=playsnd
trigger1=time=0
value=s0,29
channel=0

[state 240,4]
type=playsnd
trigger1=animelem=7
value=s0,30
channel=1

[state 240,4]
type=explod
triggerall=movehit
trigger1=animelem=7
trigger2=animelem=8
trigger3=animelem=9
trigger4=animelem=10
trigger5=animelem=11
trigger6=animelem=12
trigger7=animelem=13
anim=510
postype=p2
pos=-10,-78
sprpriority=4

[state 200,1]
type=hitdef
trigger1=animelem=7
trigger2=animelem=8
trigger3=animelem=9
trigger4=animelem=10
trigger5=animelem=11
trigger6=animelem=12
;trigger7=animelem=13
attr=s,sa
getpower=200,150
damage=11,8
animtype=hard
guardflag=m
hitflag=maf
;priority=3,hit
pausetime=3,3
sparkno=s509
guard.sparkno=s507
sparkxy=-10,-76
hitsound=s0,31
guardsound=s0,10
ground.type=high
ground.slidetime=15
ground.hittime=12
ground.velocity=-6.5
air.type=high
air.velocity=0,-5
air.hittime=12
air.fall=1
absolute=0
ground.cornerpush.veloff=-.5
fall.recover=0

[state 200,1]
type=hitdef
trigger1=animelem=13
attr=s,sa
getpower=200,150
damage=20,8
animtype=hard
guardflag=m
hitflag=maf
;priority=3,hit
pausetime=4,3
sparkno=s509
guard.sparkno=s507
sparkxy=-10,-76
hitsound=s0,31
guardsound=s0,10
ground.type=high
ground.slidetime=15
ground.hittime=12
ground.velocity=-8.5
air.type=high
air.velocity=0,-5
air.hittime=12
air.fall=1
absolute=0
ground.cornerpush.veloff=-20
fall.recover=0

[state 240,4]
type=changestate
trigger1=animtime=0
value=0
ctrl=1

;-------------------------------------------------------------
[statedef 1031];チェーンブレイド　トランスアキシャル　スライス強
type=s
movetype=a
physics=s
juggle=5
poweradd=65
ctrl=0
velset=0,0
anim=1031
sprpriority=2

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

[state 170,1]
type=nothitby
trigger1=time=0
trigger1=var(58)=1
value=sca
time=10

[state 240,4]
type=posadd
trigger1=animelem=7
x=20

[state 240,4]
type=posadd
trigger1=animelem=8
x=10

[state 240,4]
type=posadd
trigger1=animelem=9
x=10

[state 240,4]
type=playsnd
trigger1=time=0
value=s0,29
channel=0

[state 240,4]
type=playsnd
trigger1=animelem=7
value=s0,30
channel=1

[state 240,4]
type=explod
triggerall=movehit
trigger1=animelem=7
trigger2=animelem=8
trigger3=animelem=9
trigger4=animelem=10
trigger5=animelem=11
trigger6=animelem=12
trigger7=animelem=13
anim=510
postype=p2
pos=-10,-78
sprpriority=4

[state 200,1]
type=hitdef
trigger1=animelem=7
trigger2=animelem=8
trigger3=animelem=9
trigger4=animelem=10
trigger5=animelem=11
trigger6=animelem=12
getpower=200,150
attr=s,sa
damage=15,8
animtype=hard
guardflag=m
hitflag=maf
;priority=3,hit
pausetime=2,3
sparkno=s509
guard.sparkno=s507
sparkxy=-10,-76
hitsound=s0,31
guardsound=s0,10
ground.type=high
ground.slidetime=5
ground.hittime=12
ground.velocity=-4
guard.velocity=-14
airguard.velocity=-.1,-.8
air.type=high
air.velocity=-.1,-3
air.hittime=12
air.fall=1
fall.recover=0
absolute=0
ground.cornerpush.veloff=0
air.cornerpush.veloff=0
guard.cornerpush.veloff=-8

[state 191,1]
type=envcolor
trigger1=movehit
trigger1=animelem=13
value=255,255,255
time=1
persistent=0
ignorehitpause=1

[state 200,1]
type=hitdef
trigger1=animelem=13
attr=s,sa
damage=20,8
animtype=up
getpower=200,150
guardflag=ma
hitflag=maf
;priority=3,hit
pausetime=2,3
sparkno=s502
guard.sparkno=s507
sparkxy=-10,-80
hitsound=s0,31
guardsound=s0,10
ground.type=high
ground.slidetime=5
ground.hittime=12
ground.velocity=0,-11
guard.velocity=-14
air.type=high
air.velocity=0,-10
air.hittime=12
yaccel=.44
fall=1
fall.recover=0
absolute=0

[state 240,4]
type=changestate
trigger1=animtime=0
value=0
ctrl=1

;-------------------------------------------------------------
[statedef 1040];ヴォイドブレイズ
type=s
movetype=a
physics=s
juggle=15
poweradd=ifelse(!ishelper,palno>=1&&palno<=6&&110,1)
velset=0,0
ctrl=0
sprpriority=2

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

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



;ムテキング
[state ]
type=nothitby
trigger1=animelemtime(1)>=9
value2=sca
ignorehitpause=1



;音響
[state ];舞え――
type=playsnd
trigger1=animelemtime(1)=0
value=s0,44
channel=0
ignorehitpause=1
[state ];ばちゅーN
type=playsnd
trigger1=animelemtime(1)=9
value=s0,27
ignorehitpause=1
[state ];ぶしゅーーーうん
type=playsnd
trigger1=animelemtime(1)=9
value=s10,2
ignorehitpause=1



;画面＼(＾o＾)／
[state ]
type=envshake
trigger1=animelemtime(1)=9
time=5
ampl=7
freq=180
ignorehitpause=1
[state ]
type=bgpalfx
trigger1=animelemtime(1)=0
sinadd=-255,-255,-255,60
time=15
ignorehitpause=1
[state ]
type=bgpalfx
trigger1=animelemtime(1)=15
add=-255,-255,-255
sinadd=255,255,255,240
time=60
ignorehitpause=1



;発生による衝撃波・・・的な？
[state ]
type=explod
trigger1=animelemtime(1)>=10&&animelemtime(1)<=29
anim=10150
trans=addalpha
alpha=256-12.8*(animelemtime(1)-9),12.8*(animelemtime(1)-9)
scale=0.025*(animelemtime(1)-9),0.1*(animelemtime(1)-9)
pos=-backedgedist,-66
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
trigger1=animelemtime(1)>=20&&animelemtime(1)<=39
anim=10150
trans=addalpha
alpha=256-12.8*(animelemtime(1)-19),12.8*(animelemtime(1)-19)
scale=0.025*(animelemtime(1)-19),0.1*(animelemtime(1)-19)
pos=-backedgedist,-66
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
trigger1=animelemtime(1)>=10&&animelemtime(1)<=29
anim=10250
scale=2,3.4-0.17*(animelemtime(1)-9)
pos=-backedgedist,-66
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
trigger1=animelemtime(1)>=10&&animelemtime(1)<=29
anim=10250
scale=2,3.4-0.17*(animelemtime(1)-9)
pos=-backedgedist,-66
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
trigger1=animelemtime(1)>=10&&animelemtime(1)<=29
anim=10260
scale=2,3.4-0.17*(animelemtime(1)-9)
pos=-backedgedist,-66
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
trigger1=animelemtime(1)>=10&&animelemtime(1)<=29
anim=10260
scale=2,3.4-0.17*(animelemtime(1)-9)
pos=-backedgedist,-66
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
trigger1=animelemtime(1)>=10&&animelemtime(1)<=25
anim=10023
scale=0.7,0.7
vel=(3+3*abs(cos(sysvar(3)**2)))*cos(2.618+0.001047*sysvar(3)),(3+3*abs(cos(sysvar(3)**3)))*sin(2.618+0.001047*sysvar(3))
pos=-backedgedist+20*(animelemtime(1)-9),-66
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
trigger1=animelemtime(1)>=10&&animelemtime(1)<=25
anim=10083
scale=0.7,0.7
vel=(3+3*abs(cos(sysvar(3)**2)))*cos(2.618+0.001047*sysvar(3)),(3+3*abs(cos(sysvar(3)**3)))*sin(2.618+0.001047*sysvar(3))
pos=-backedgedist+20*(animelemtime(1)-9),-66
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
trigger1=animelemtime(1)>=10&&animelemtime(1)<=25
anim=10023
scale=0.7,0.7
vel=(3+3*abs(cos(sysvar(3)**4)))*cos(2.618+0.001047*sysvar(3)),(3+3*abs(cos(sysvar(3)**5)))*sin(2.618+0.001047*sysvar(3))
pos=-backedgedist-10+20*(animelemtime(1)-9),-66
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
trigger1=animelemtime(1)>=10&&animelemtime(1)<=25
anim=10083
scale=0.7,0.7
vel=(3+3*abs(cos(sysvar(3)**4)))*cos(2.618+0.001047*sysvar(3)),(3+3*abs(cos(sysvar(3)**5)))*sin(2.618+0.001047*sysvar(3))
pos=-backedgedist-10+20*(animelemtime(1)-9),-66
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
trigger1=animelemtime(1)=10
projanim=40150
projid=1041
projremove=1
projremovetime=10
offset=-backedgedist,-66
attr=s,sp
hitflag=mafp
guardflag=ma
damage=0,5
sparkno=-1
numhits=1
ground.type=high
ground.hittime=21
ground.slidetime=21
ground.velocity=0,0
fall=1
air.type=high
air.hittime=21
air.slidetime=21
air.velocity=0,0
air.fall=1
p2facing=1
p2stateno=1041
pausemovetime=2147483647*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
trigger1=animtime=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 1041]
type=a
movetype=h
physics=n

;邪眼キラー用
[state ]
type=changestate
triggerall=(sysfvar(0)=256002.0&&sysfvar(0)!=0.0)=0
trigger1=enemy(0),sysfvar(0)=256002.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)=256002.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=1
value=20000
ignorehitpause=1
[state ]
type=nothitby
trigger1=1
value=sca
ignorehitpause=1
[state ]
type=width
trigger1=1
edge=0,-99999
ignorehitpause=1
[state ]
type=velset
trigger1=1
x=-20
y=0
ignorehitpause=1
[state ]
type=changestate
trigger1=backedgedist<0
value=1042
persistent=256
ignorehitpause=1

[statedef 1042]
type=a
movetype=h
physics=n

;邪眼キラー用
[state ]
type=changestate
triggerall=(sysfvar(0)=256002.0&&sysfvar(0)!=0.0)=0
trigger1=enemy(0),sysfvar(0)=256002.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)=256002.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=nothitby
trigger1=1
value=sca
ignorehitpause=1
[state ]
type=width
trigger1=1
edge=0,-99999
ignorehitpause=1
[state ]
type=turn
trigger1=1
ignorehitpause=1
[state ]
type=velset
trigger1=1
x=-3
y=-7
ignorehitpause=1
[state ]
type=explod
trigger1=1
anim=f72
pos=const(size.mid.pos.x),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=lifeadd
trigger1=1
value=-49
ignorehitpause=1
[state ]
type=selfstate
trigger1=1
value=5050
ignorehitpause=1

;-------------------------------------------------------------
[statedef 1060];チェーンブレイド　サジタルエッジ　スライス強
type=s
movetype=a
physics=s
juggle=10
poweradd=50
ctrl=0
velset=0,0
anim=1060
sprpriority=2

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

[state 170,1]
type=nothitby
trigger1=time=0
value=sca,aa,ap,at
time=15

[state 240,4]
type=playsnd
trigger1=time=0
value=s0,22
channel=0

[state 240,4]
type=playsnd
trigger1=animelem=9
value=s0,30
channel=1

[state 240,4]
type=stopsnd
trigger1=movehit
channel=1

[state 240,4]
type=explod
triggerall=movehit
trigger1=animelem=8
trigger2=animelem=9
trigger3=animelem=10
anim=510
postype=p2
pos=-10,-58
sprpriority=4

[state 240,4]
type=explod
triggerall=movehit
trigger1=animelem=9
anim=502
postype=p2
pos=-10,-58
sprpriority=5
ignorehitpause=1
persistent=0

[state 191,1]
type=envcolor
trigger1=movehit
trigger3=animelem=10
value=255,255,255
time=1
persistent=0
ignorehitpause=1
under=-1

[state 191,1]
type=envcolor
trigger1=movehit
trigger1=animelem=8
value=255,255,255
time=1
persistent=0
ignorehitpause=1
under=-1

[state 200,1]
type=hitdef
trigger1=animelem=8
trigger2=animelem=9
trigger3=animelem=10
attr=s,sa
damage=10,8
animtype=hard
getpower=200,150
guardflag=m
hitflag=maf
;priority=3,hit
pausetime=5,7
sparkno=s509
guard.sparkno=s507
sparkxy=-10,-76
hitsound=s0,31
guardsound=s0,10
ground.type=high
ground.slidetime=5
ground.hittime=12
ground.velocity=-2
air.type=high
air.velocity=-1.4,-5
air.hittime=12
air.fall=1
fall.recover=0
absolute=0
guard.velocity=-17
air.cornerpush.veloff=0
ground.cornerpush.veloff=-2
guard.cornerpush.veloff=-20

[state 821,1]
type=varset
trigger1=time=0
var(2)=0

[state 240,4]
type=changestate
trigger1=animtime=0
value=1061

[statedef 1061];空中
type=a
movetype=a
physics=n
poweradd=0
ctrl=0
velset=.5,-7
anim=1061
sprpriority=2

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

[state 240,4]
type=explod
triggerall=movehit
trigger1=animelem=1
trigger2=animelem=2
trigger3=animelem=3
trigger4=animelem=4
trigger5=animelem=5
anim=510
postype=p2
pos=-10,-58
sprpriority=4

[state 240,4]
type=explod
triggerall=movehit
trigger1=animelem=5
anim=503
postype=p2
pos=-10,-58
sprpriority=4

[state 240,4]
type=explod
triggerall=movehit
triggerall=var(2)=0
trigger1=animelem=9
trigger2=animelem=10
anim=510
postype=p2
pos=-10,-58
sprpriority=4

[state 191,1]
type=envcolor
trigger1=movehit
trigger1=animelem=5
value=255,255,255
time=1
persistent=0
ignorehitpause=1

[state 200,1]
type=hitdef
trigger1=animelem=1
trigger2=animelem=2
trigger3=animelem=3
trigger4=animelem=4
trigger5=animelem=5
getpower=200,150
attr=a,sa
damage=10,8
animtype=up
guardflag=m
hitflag=maf
;priority=3,hit
pausetime=2,2
sparkno=s509
guard.sparkno=s507
sparkxy=-10,-76
hitsound=s0,31
guardsound=s0,10
ground.type=high
ground.slidetime=5
ground.hittime=12
ground.velocity=-1,-8.5
air.type=high
air.velocity=-1,-8
air.hittime=12
fall=1
fall.recover=0
guard.velocity=-15
air.cornerpush.veloff=0
guard.cornerpush.veloff=-13

[state 200,1]
type=hitdef
triggerall=var(2)=0
trigger1=animelem=9
trigger2=animelem=10
attr=a,sa
damage=25,8
getpower=200,150
animtype=up
guardflag=m
hitflag=maf
;priority=3,hit
pausetime=1,3
sparkno=s509
guard.sparkno=s507
sparkxy=-10,-76
hitsound=s0,31
guardsound=s0,10
ground.type=high
ground.slidetime=5
ground.hittime=12
ground.velocity=-1,-8
air.type=high
air.velocity=-1,-8
air.hittime=12
fall=1
fall.recover=0
yaccel=.5
absolute=0
guard.cornerpush.veloff=-20
air.cornerpush.veloff=-20
guard.velocity=-15
guard.cornerpush.veloff=-14

[state 821,1]
type=varset
trigger1=movehit
trigger1=animelem=5
var(2)=1

[state 821,1]
type=veladd
trigger1=time>5
y=.55

[state 821,4]
type=changestate
trigger1=vel y>0
trigger1=pos y>=0
value=1062

[statedef 1062];地上
type=s
movetype=a
physics=s
poweradd=0
ctrl=0
velset=0,0
anim=1062
sprpriority=2

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

[state 240,4]
type=explod
triggerall=movehit
trigger1=animelem=3
trigger2=animelem=4
anim=510
postype=p2
pos=2,-28
sprpriority=4

[state 240,4]
type=explod
triggerall=movehit
trigger1=animelem=3
trigger2=animelem=4
anim=509
postype=p2
pos=5,-28
sprpriority=4

[state 240,4]
type=explod
triggerall=movehit
triggerall=var(2)=0
trigger1=animelem=1
trigger2=animelem=2
trigger3=animelem=3
trigger4=animelem=4
trigger5=animelem=5
anim=510
postype=p2
pos=-1,-58
sprpriority=4

[state 240,4]
type=explod
triggerall=movehit
triggerall=var(2)=0
trigger1=animelem=1
trigger2=animelem=2
trigger3=animelem=3
trigger4=animelem=4
trigger5=animelem=5
anim=509
postype=p2
pos=5,-58
sprpriority=4

[state 200,1]
type=hitdef
triggerall=var(2)=0
trigger1=animelem=1
trigger2=animelem=2
trigger3=animelem=3
trigger4=animelem=4
trigger5=animelem=5
attr=s,sa
getpower=200,150
damage=20,8
animtype=up
guardflag=m
hitflag=af
;priority=3,hit
pausetime=2,6
sparkno=-1;s509
guard.sparkno=s507
sparkxy=-10,-76
hitsound=s0,31
guardsound=s0,10
ground.type=high
ground.slidetime=5
ground.hittime=12
ground.velocity=-2,-5
air.type=high
air.velocity=-2,-5
air.hittime=12
fall=1
fall.recover=0
guard.velocity=-15
guard.cornerpush.veloff=-15

[state 200,1]
type=hitdef
trigger1=animelem=3
trigger2=animelem=4
getpower=200,150
attr=a,sa
damage=20,8
animtype=up
guardflag=m
hitflag=af
;priority=3,hit
pausetime=2,6
sparkno=-1;s509
guard.sparkno=s507
sparkxy=-10,-76
hitsound=s0,31
guardsound=s0,10
ground.type=high
ground.slidetime=5
ground.hittime=12
ground.velocity=-2,-5
air.type=high
air.velocity=-4,-4
air.hittime=12
fall=1
fall.recover=0
guard.velocity=-15
guard.cornerpush.veloff=-15


[state 821,1]
type=varset
trigger1=animelem=7
var(2)=0

[state 240,4]
type=playsnd
trigger1=time=0
value=s0,16

[state 821,1]
type=posset
trigger1=time=0
y=0

[state 240,4]
type=changestate
trigger1=animtime=0
value=0
ctrl=1

;-------------------------------------------------------------
[statedef 1050];チェーンブレイド　サジタルエッジ　スライス弱
type=s
movetype=a
physics=s
juggle=10
poweradd=50
ctrl=0
velset=0,0
anim=1050
sprpriority=2

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

[state 170,1]
type=nothitby
trigger1=time=0
value=sca,aa,ap,at
time=10

[state 240,4]
type=playsnd
trigger1=time=0
value=s0,22
channel=0

[state 240,4]
type=playsnd
trigger1=animelem=9
value=s0,30
channel=1

[state 240,4]
type=stopsnd
trigger1=movehit
channel=1

[state 240,4]
type=explod
triggerall=movehit
trigger1=animelem=9
trigger2=animelem=10
anim=510
postype=p2
pos=-10,-78
sprpriority=4

[state 200,1]
type=hitdef
triggerall=var(58)=0
trigger1=animelem=9
trigger2=animelem=10
attr=s,sa
damage=20,8
animtype=hard
guardflag=m
hitflag=maf
;priority=3,hit
pausetime=3,3
sparkno=s509
guard.sparkno=s507
sparkxy=-10,-76
hitsound=s0,31
guardsound=s0,10
ground.type=high
ground.slidetime=5
ground.hittime=12
ground.velocity=-2
guard.velocity=-15
air.type=high
air.velocity=-1.4,-5
air.hittime=12
air.fall=1
fall.recover=0
getpower=200,150

[state 240,4]
type=changestate
trigger1=animtime=0
value=1051

[statedef 1051];空中
type=a
movetype=a
physics=n
poweradd=0
ctrl=0
velset=.4,-4.5
anim=1051
sprpriority=2

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

[state 240,4]
type=explod
triggerall=movehit
trigger1=animelem=1
trigger2=animelem=4
trigger3=animelem=5
anim=510
postype=p2
pos=-10,-78
sprpriority=4

[state 200,1]
type=hitdef
trigger1=animelem=1
trigger2=animelem=4
trigger3=animelem=5
attr=a,sa
damage=20,8
animtype=up
guardflag=m
hitflag=maf
;priority=3,hit
pausetime=2,4
sparkno=s509
guard.sparkno=s507
sparkxy=-10,-76
hitsound=s0,31
guardsound=s0,10
ground.type=high
ground.slidetime=5
ground.hittime=12
ground.velocity=-2,-6
air.type=high
air.velocity=-2,-6
air.hittime=12
fall=1
fall.recover=0
getpower=200,150
guard.cornerpush.veloff=-13
air.cornerpush.veloff=-4
guard.velocity=-15

[state 821,1]
type=veladd
trigger1=time>5
y=.5

[state 821,4]
type=changestate
trigger1=vel y>0
trigger1=pos y>=0
value=1052

[statedef 1052];地上
type=s
movetype=a
physics=s
poweradd=0
ctrl=0
velset=0,0
anim=1052
sprpriority=2

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

[state 240,4]
type=playsnd
trigger1=time=0
value=s0,16

[state 821,1]
type=posset
trigger1=time=0
y=0

[state 240,4]
type=changestate
trigger1=animtime=0
value=0
ctrl=1

;----------------------------------------------------------------
[statedef 1100];深淵の煉獄α
type=s
movetype=a
physics=s
juggle=15
poweradd=ifelse(!ishelper,palno>=1&&palno<=6&&110,1)
velset=0,0
ctrl=0
sprpriority=2

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

[state ]
type=changeanim
trigger1=ifelse(!ishelper,palno>=1&&palno<=6&&time=0,ishelper(100000)&&root,palno>=7&&root,palno<=12&&sysvar(1)=0)
value=30280
ignorehitpause=1
[state ]
type=changeanim
trigger1=anim=30280
trigger1=animtime=0
trigger2=ifelse(!ishelper,palno>=1&&palno<=6&&time>=0&&time<=79,ishelper(100000)&&root,palno>=7&&root,palno<=12&&sysvar(1)>=0&&sysvar(1)<=79)
trigger2=anim=30290
trigger2=animelemtime(1)>=8&&animelemtime(1)<=19
trigger2=command="x"||ifelse(!ishelper,palno>=1&&palno<=6&&sysvar(1)=1,ishelper(100000)&&root,palno>=7&&root,palno<=12)&&p2dist x<=65
trigger3=ifelse(!ishelper,palno>=1&&palno<=6&&time>=0&&time<=79,ishelper(100000)&&root,palno>=7&&root,palno<=12&&sysvar(1)>=0&&sysvar(1)<=79)
trigger3=anim=30290
trigger3=animelemtime(1)>=8&&animelemtime(1)<=19
trigger3=command="y"||ifelse(!ishelper,palno>=1&&palno<=6&&sysvar(1)=1,ishelper(100000)&&root,palno>=7&&root,palno<=12)&&p2dist x>=85&&p2dist x<=115
trigger4=ifelse(!ishelper,palno>=1&&palno<=6&&time>=0&&time<=79,ishelper(100000)&&root,palno>=7&&root,palno<=12&&sysvar(1)>=0&&sysvar(1)<=79)
trigger4=anim=30290
trigger4=animelemtime(1)>=8&&animelemtime(1)<=19
trigger4=command="a"||ifelse(!ishelper,palno>=1&&palno<=6&&sysvar(1)=1,ishelper(100000)&&root,palno>=7&&root,palno<=12)&&p2dist x>=135&&p2dist x<=165
trigger5=ifelse(!ishelper,palno>=1&&palno<=6&&time>=0&&time<=79,ishelper(100000)&&root,palno>=7&&root,palno<=12&&sysvar(1)>=0&&sysvar(1)<=79)
trigger5=anim=30290
trigger5=animelemtime(1)>=8&&animelemtime(1)<=19
trigger5=command="b"||ifelse(!ishelper,palno>=1&&palno<=6&&sysvar(1)=1,ishelper(100000)&&root,palno>=7&&root,palno<=12)&&p2dist x>=185
value=30290
ignorehitpause=1



;音響
[state ];舞え――
type=playsnd
trigger1=anim=30280
trigger1=animelemtime(1)=0
value=s0,44
channel=0
ignorehitpause=1
[state ];ハーッ！
type=playsnd
trigger1=anim=30280
trigger1=animelemtime(1)=0
value=s10,53
ignorehitpause=1
[state ];ドゥン！
type=playsnd
trigger1=anim=30290
trigger1=animelemtime(1)=0
value=s0,13
ignorehitpause=1
[state ];ばちゅーN
type=playsnd
trigger1=anim=30290
trigger1=animelemtime(1)=0
value=s10,7
ignorehitpause=1



;画面＼(＾o＾)／
[state ]
type=envshake
trigger1=anim=30290
trigger1=animelemtime(1)=0
time=5
ampl=7
freq=180
ignorehitpause=1
[state ]
type=envcolor
trigger1=anim=30290
trigger1=animelemtime(1)=0
value=255,255,255
time=1
ignorehitpause=1
[state ]
type=bgpalfx
trigger1=anim=30280
trigger1=animelemtime(1)=0
sinadd=-255,-255,-255,120
time=30
ignorehitpause=1
[state ]
type=bgpalfx
trigger1=anim=30290
trigger1=animelemtime(1)=0
add=-255,-255,-255
sinadd=255,255,255,240
time=60
ignorehitpause=1



;ヘルパーは妥協(ｷﾘｯ
[state ]
type=helper
trigger1=anim=30290
trigger1=animelemtime(1)=0
trigger1=command!="x"
trigger1=command!="y"
trigger1=command!="a"
trigger1=command!="b"
id=1101
stateno=1101
pos=50,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
trigger1=anim=30290
trigger1=animelemtime(1)=0
trigger1=command="x"||ifelse(!ishelper,palno>=1&&palno<=6&&sysvar(1)=1,ishelper(100000)&&root,palno>=7&&root,palno<=12)&&p2dist x<=65
id=1101
stateno=1101
pos=50-50+(random%101),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
trigger1=anim=30290
trigger1=animelemtime(1)=0
trigger1=command="y"||ifelse(!ishelper,palno>=1&&palno<=6&&sysvar(1)=1,ishelper(100000)&&root,palno>=7&&root,palno<=12)&&p2dist x>=85&&p2dist x<=115
id=1101
stateno=1101
pos=100-50+(random%101),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
trigger1=anim=30290
trigger1=animelemtime(1)=0
trigger1=command="a"||ifelse(!ishelper,palno>=1&&palno<=6&&sysvar(1)=1,ishelper(100000)&&root,palno>=7&&root,palno<=12)&&p2dist x>=135&&p2dist x<=165
id=1101
stateno=1101
pos=150-50+(random%101),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
trigger1=anim=30290
trigger1=animelemtime(1)=0
trigger1=command="b"||ifelse(!ishelper,palno>=1&&palno<=6&&sysvar(1)=1,ishelper(100000)&&root,palno>=7&&root,palno<=12)&&p2dist x>=185
id=1101
stateno=1101
pos=200-50+(random%101),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=anim=30290
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
trigger1=anim=30290
trigger1=animtime=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 1101]
anim=40000

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

;発生による衝撃波・・・的な？
[state ]
type=explod
triggerall=ishelper(1101)
trigger1=sysvar(1)>=1&&sysvar(1)<=20
anim=10150
trans=addalpha
alpha=256-12.8*sysvar(1),12.8*sysvar(1)
scale=0.1*sysvar(1),0.025*sysvar(1)
pos=0,0
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(1101)
trigger1=sysvar(1)>=1&&sysvar(1)<=20
anim=10230
scale=2-0.1*sysvar(1),2
pos=0,0
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=ishelper(1101)
trigger1=sysvar(1)>=1&&sysvar(1)<=20
anim=10240
scale=2-0.1*sysvar(1),2
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(1101)
trigger1=sysvar(1)>=1&&sysvar(1)<=15
anim=10023
scale=0.7,0.7
vel=(3+3*abs(cos(parent,sysvar(3)**2)))*cos(1.047+0.001047*parent,sysvar(3)),(3+3*abs(cos(parent,sysvar(3)**3)))*sin(1.047+0.001047*parent,sysvar(3))
pos=0,-15*sysvar(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(1101)
trigger1=sysvar(1)>=1&&sysvar(1)<=15
anim=10083
scale=0.7,0.7
vel=(3+3*abs(cos(parent,sysvar(3)**2)))*cos(1.047+0.001047*parent,sysvar(3)),(3+3*abs(cos(parent,sysvar(3)**3)))*sin(1.047+0.001047*parent,sysvar(3))
pos=0,-15*sysvar(1)
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=projectile
triggerall=ishelper(1101)
trigger1=sysvar(1)=0
projanim=40070
projremove=1
projremovetime=10
offset=0,0
attr=s,sp
hitflag=map
guardflag=ma
damage=70,10
sparkno=-1
numhits=1
ground.type=high
ground.hittime=21
ground.slidetime=21
ground.velocity=-2,-8
fall=1
air.type=high
air.hittime=21
air.slidetime=21
air.velocity=-2,-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=destroyself
triggerall=ishelper(1101)
trigger1=sysvar(1)>=20
ignorehitpause=1
[state ]
type=varset
triggerall=ishelper(1101)
trigger1=1
sysvar(0)=stateno
ignorehitpause=1
[state ]
type=varadd
triggerall=ishelper(1101)
trigger1=1
sysvar(1)=1
ignorehitpause=1

;----------------------------------------------------------------
[statedef 1110];深淵の煉獄β
type=s
movetype=a
physics=s
juggle=15
poweradd=ifelse(!ishelper,palno>=1&&palno<=6&&110,1)
velset=0,0
ctrl=0
sprpriority=2

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

[state ]
type=changeanim
trigger1=ifelse(!ishelper,palno>=1&&palno<=6&&time=0,ishelper(100000)&&root,palno>=7&&root,palno<=12&&sysvar(1)=0)
value=30280
ignorehitpause=1
[state ]
type=changeanim
trigger1=anim=30280
trigger1=animtime=0
trigger2=ifelse(!ishelper,palno>=1&&palno<=6&&time>=0&&time<=79,ishelper(100000)&&root,palno>=7&&root,palno<=12&&sysvar(1)>=0&&sysvar(1)<=79)
trigger2=anim=30290
trigger2=animelemtime(1)>=8&&animelemtime(1)<=19
trigger2=command="x"||ifelse(!ishelper,palno>=1&&palno<=6&&sysvar(1)=1,ishelper(100000)&&root,palno>=7&&root,palno<=12)&&p2dist x<=65
trigger3=ifelse(!ishelper,palno>=1&&palno<=6&&time>=0&&time<=79,ishelper(100000)&&root,palno>=7&&root,palno<=12&&sysvar(1)>=0&&sysvar(1)<=79)
trigger3=anim=30290
trigger3=animelemtime(1)>=8&&animelemtime(1)<=19
trigger3=command="y"||ifelse(!ishelper,palno>=1&&palno<=6&&sysvar(1)=1,ishelper(100000)&&root,palno>=7&&root,palno<=12)&&p2dist x>=85&&p2dist x<=115
trigger4=ifelse(!ishelper,palno>=1&&palno<=6&&time>=0&&time<=79,ishelper(100000)&&root,palno>=7&&root,palno<=12&&sysvar(1)>=0&&sysvar(1)<=79)
trigger4=anim=30290
trigger4=animelemtime(1)>=8&&animelemtime(1)<=19
trigger4=command="a"||ifelse(!ishelper,palno>=1&&palno<=6&&sysvar(1)=1,ishelper(100000)&&root,palno>=7&&root,palno<=12)&&p2dist x>=135&&p2dist x<=165
trigger5=ifelse(!ishelper,palno>=1&&palno<=6&&time>=0&&time<=79,ishelper(100000)&&root,palno>=7&&root,palno<=12&&sysvar(1)>=0&&sysvar(1)<=79)
trigger5=anim=30290
trigger5=animelemtime(1)>=8&&animelemtime(1)<=19
trigger5=command="b"||ifelse(!ishelper,palno>=1&&palno<=6&&sysvar(1)=1,ishelper(100000)&&root,palno>=7&&root,palno<=12)&&p2dist x>=185
value=30290
ignorehitpause=1



;音響
[state ];舞え――
type=playsnd
trigger1=anim=30280
trigger1=animelemtime(1)=0
value=s0,44
channel=0
ignorehitpause=1
[state ];ハーッ！
type=playsnd
trigger1=anim=30280
trigger1=animelemtime(1)=0
value=s10,53
ignorehitpause=1
[state ];ドゥン！
type=playsnd
trigger1=anim=30290
trigger1=animelemtime(1)=0
value=s0,13
ignorehitpause=1
[state ];ばちゅーN
type=playsnd
trigger1=anim=30290
trigger1=animelemtime(1)=0
value=s10,7
ignorehitpause=1



;画面＼(＾o＾)／
[state ]
type=envshake
trigger1=anim=30290
trigger1=animelemtime(1)=0
time=5
ampl=7
freq=180
ignorehitpause=1
[state ]
type=envcolor
trigger1=anim=30290
trigger1=animelemtime(1)=0
value=255,255,255
time=1
ignorehitpause=1
[state ]
type=bgpalfx
trigger1=anim=30280
trigger1=animelemtime(1)=0
sinadd=-255,-255,-255,120
time=30
ignorehitpause=1
[state ]
type=bgpalfx
trigger1=anim=30290
trigger1=animelemtime(1)=0
add=-255,-255,-255
sinadd=255,255,255,240
time=60
ignorehitpause=1



;ヘルパーは妥協(ｷﾘｯ
[state ]
type=helper
trigger1=anim=30290
trigger1=animelemtime(1)=0
trigger1=command!="x"
trigger1=command!="y"
trigger1=command!="a"
trigger1=command!="b"
id=1101
stateno=1101
pos=100,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
trigger1=anim=30290
trigger1=animelemtime(1)=0
trigger1=command="x"||ifelse(!ishelper,palno>=1&&palno<=6&&sysvar(1)=1,ishelper(100000)&&root,palno>=7&&root,palno<=12)&&p2dist x<=65
id=1101
stateno=1101
pos=50-50+(random%101),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
trigger1=anim=30290
trigger1=animelemtime(1)=0
trigger1=command="y"||ifelse(!ishelper,palno>=1&&palno<=6&&sysvar(1)=1,ishelper(100000)&&root,palno>=7&&root,palno<=12)&&p2dist x>=85&&p2dist x<=115
id=1101
stateno=1101
pos=100-50+(random%101),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
trigger1=anim=30290
trigger1=animelemtime(1)=0
trigger1=command="a"||ifelse(!ishelper,palno>=1&&palno<=6&&sysvar(1)=1,ishelper(100000)&&root,palno>=7&&root,palno<=12)&&p2dist x>=135&&p2dist x<=165
id=1101
stateno=1101
pos=150-50+(random%101),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
trigger1=anim=30290
trigger1=animelemtime(1)=0
trigger1=command="b"||ifelse(!ishelper,palno>=1&&palno<=6&&sysvar(1)=1,ishelper(100000)&&root,palno>=7&&root,palno<=12)&&p2dist x>=185
id=1101
stateno=1101
pos=200-50+(random%101),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=anim=30290
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
trigger1=anim=30290
trigger1=animtime=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 1120];深淵の煉獄γ
type=s
movetype=a
physics=s
juggle=15
poweradd=ifelse(!ishelper,palno>=1&&palno<=6&&110,1)
velset=0,0
ctrl=0
sprpriority=2

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

[state ]
type=changeanim
trigger1=ifelse(!ishelper,palno>=1&&palno<=6&&time=0,ishelper(100000)&&root,palno>=7&&root,palno<=12&&sysvar(1)=0)
value=30280
ignorehitpause=1
[state ]
type=changeanim
trigger1=anim=30280
trigger1=animtime=0
trigger2=ifelse(!ishelper,palno>=1&&palno<=6&&time>=0&&time<=79,ishelper(100000)&&root,palno>=7&&root,palno<=12&&sysvar(1)>=0&&sysvar(1)<=79)
trigger2=anim=30290
trigger2=animelemtime(1)>=8&&animelemtime(1)<=19
trigger2=command="x"||ifelse(!ishelper,palno>=1&&palno<=6&&sysvar(1)=1,ishelper(100000)&&root,palno>=7&&root,palno<=12)&&p2dist x<=65
trigger3=ifelse(!ishelper,palno>=1&&palno<=6&&time>=0&&time<=79,ishelper(100000)&&root,palno>=7&&root,palno<=12&&sysvar(1)>=0&&sysvar(1)<=79)
trigger3=anim=30290
trigger3=animelemtime(1)>=8&&animelemtime(1)<=19
trigger3=command="y"||ifelse(!ishelper,palno>=1&&palno<=6&&sysvar(1)=1,ishelper(100000)&&root,palno>=7&&root,palno<=12)&&p2dist x>=85&&p2dist x<=115
trigger4=ifelse(!ishelper,palno>=1&&palno<=6&&time>=0&&time<=79,ishelper(100000)&&root,palno>=7&&root,palno<=12&&sysvar(1)>=0&&sysvar(1)<=79)
trigger4=anim=30290
trigger4=animelemtime(1)>=8&&animelemtime(1)<=19
trigger4=command="a"||ifelse(!ishelper,palno>=1&&palno<=6&&sysvar(1)=1,ishelper(100000)&&root,palno>=7&&root,palno<=12)&&p2dist x>=135&&p2dist x<=165
trigger5=ifelse(!ishelper,palno>=1&&palno<=6&&time>=0&&time<=79,ishelper(100000)&&root,palno>=7&&root,palno<=12&&sysvar(1)>=0&&sysvar(1)<=79)
trigger5=anim=30290
trigger5=animelemtime(1)>=8&&animelemtime(1)<=19
trigger5=command="b"||ifelse(!ishelper,palno>=1&&palno<=6&&sysvar(1)=1,ishelper(100000)&&root,palno>=7&&root,palno<=12)&&p2dist x>=185
value=30290
ignorehitpause=1



;音響
[state ];舞え――
type=playsnd
trigger1=anim=30280
trigger1=animelemtime(1)=0
value=s0,44
channel=0
ignorehitpause=1
[state ];ハーッ！
type=playsnd
trigger1=anim=30280
trigger1=animelemtime(1)=0
value=s10,53
ignorehitpause=1
[state ];ドゥン！
type=playsnd
trigger1=anim=30290
trigger1=animelemtime(1)=0
value=s0,13
ignorehitpause=1
[state ];ばちゅーN
type=playsnd
trigger1=anim=30290
trigger1=animelemtime(1)=0
value=s10,7
ignorehitpause=1



;画面＼(＾o＾)／
[state ]
type=envshake
trigger1=anim=30290
trigger1=animelemtime(1)=0
time=5
ampl=7
freq=180
ignorehitpause=1
[state ]
type=envcolor
trigger1=anim=30290
trigger1=animelemtime(1)=0
value=255,255,255
time=1
ignorehitpause=1
[state ]
type=bgpalfx
trigger1=anim=30280
trigger1=animelemtime(1)=0
sinadd=-255,-255,-255,120
time=30
ignorehitpause=1
[state ]
type=bgpalfx
trigger1=anim=30290
trigger1=animelemtime(1)=0
add=-255,-255,-255
sinadd=255,255,255,240
time=60
ignorehitpause=1



;ヘルパーは妥協(ｷﾘｯ
[state ]
type=helper
trigger1=anim=30290
trigger1=animelemtime(1)=0
trigger1=command!="x"
trigger1=command!="y"
trigger1=command!="a"
trigger1=command!="b"
id=1101
stateno=1101
pos=150,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
trigger1=anim=30290
trigger1=animelemtime(1)=0
trigger1=command="x"||ifelse(!ishelper,palno>=1&&palno<=6&&sysvar(1)=1,ishelper(100000)&&root,palno>=7&&root,palno<=12)&&p2dist x<=65
id=1101
stateno=1101
pos=50-50+(random%101),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
trigger1=anim=30290
trigger1=animelemtime(1)=0
trigger1=command="y"||ifelse(!ishelper,palno>=1&&palno<=6&&sysvar(1)=1,ishelper(100000)&&root,palno>=7&&root,palno<=12)&&p2dist x>=85&&p2dist x<=115
id=1101
stateno=1101
pos=100-50+(random%101),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
trigger1=anim=30290
trigger1=animelemtime(1)=0
trigger1=command="a"||ifelse(!ishelper,palno>=1&&palno<=6&&sysvar(1)=1,ishelper(100000)&&root,palno>=7&&root,palno<=12)&&p2dist x>=135&&p2dist x<=165
id=1101
stateno=1101
pos=150-50+(random%101),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
trigger1=anim=30290
trigger1=animelemtime(1)=0
trigger1=command="b"||ifelse(!ishelper,palno>=1&&palno<=6&&sysvar(1)=1,ishelper(100000)&&root,palno>=7&&root,palno<=12)&&p2dist x>=185
id=1101
stateno=1101
pos=200-50+(random%101),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=anim=30290
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
trigger1=anim=30290
trigger1=animtime=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 1130];深淵の煉獄Δ
type=s
movetype=a
physics=s
juggle=15
poweradd=ifelse(!ishelper,palno>=1&&palno<=6&&110,1)
velset=0,0
ctrl=0
sprpriority=2

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

[state ]
type=changeanim
trigger1=ifelse(!ishelper,palno>=1&&palno<=6&&time=0,ishelper(100000)&&root,palno>=7&&root,palno<=12&&sysvar(1)=0)
value=30280
ignorehitpause=1
[state ]
type=changeanim
trigger1=anim=30280
trigger1=animtime=0
trigger2=ifelse(!ishelper,palno>=1&&palno<=6&&time>=0&&time<=79,ishelper(100000)&&root,palno>=7&&root,palno<=12&&sysvar(1)>=0&&sysvar(1)<=79)
trigger2=anim=30290
trigger2=animelemtime(1)>=8&&animelemtime(1)<=19
trigger2=command="x"||ifelse(!ishelper,palno>=1&&palno<=6&&sysvar(1)=1,ishelper(100000)&&root,palno>=7&&root,palno<=12)&&p2dist x<=65
trigger3=ifelse(!ishelper,palno>=1&&palno<=6&&time>=0&&time<=79,ishelper(100000)&&root,palno>=7&&root,palno<=12&&sysvar(1)>=0&&sysvar(1)<=79)
trigger3=anim=30290
trigger3=animelemtime(1)>=8&&animelemtime(1)<=19
trigger3=command="y"||ifelse(!ishelper,palno>=1&&palno<=6&&sysvar(1)=1,ishelper(100000)&&root,palno>=7&&root,palno<=12)&&p2dist x>=85&&p2dist x<=115
trigger4=ifelse(!ishelper,palno>=1&&palno<=6&&time>=0&&time<=79,ishelper(100000)&&root,palno>=7&&root,palno<=12&&sysvar(1)>=0&&sysvar(1)<=79)
trigger4=anim=30290
trigger4=animelemtime(1)>=8&&animelemtime(1)<=19
trigger4=command="a"||ifelse(!ishelper,palno>=1&&palno<=6&&sysvar(1)=1,ishelper(100000)&&root,palno>=7&&root,palno<=12)&&p2dist x>=135&&p2dist x<=165
trigger5=ifelse(!ishelper,palno>=1&&palno<=6&&time>=0&&time<=79,ishelper(100000)&&root,palno>=7&&root,palno<=12&&sysvar(1)>=0&&sysvar(1)<=79)
trigger5=anim=30290
trigger5=animelemtime(1)>=8&&animelemtime(1)<=19
trigger5=command="b"||ifelse(!ishelper,palno>=1&&palno<=6&&sysvar(1)=1,ishelper(100000)&&root,palno>=7&&root,palno<=12)&&p2dist x>=185
value=30290
ignorehitpause=1



;音響
[state ];舞え――
type=playsnd
trigger1=anim=30280
trigger1=animelemtime(1)=0
value=s0,44
channel=0
ignorehitpause=1
[state ];ハーッ！
type=playsnd
trigger1=anim=30280
trigger1=animelemtime(1)=0
value=s10,53
ignorehitpause=1
[state ];ドゥン！
type=playsnd
trigger1=anim=30290
trigger1=animelemtime(1)=0
value=s0,13
ignorehitpause=1
[state ];ばちゅーN
type=playsnd
trigger1=anim=30290
trigger1=animelemtime(1)=0
value=s10,7
ignorehitpause=1



;画面＼(＾o＾)／
[state ]
type=envshake
trigger1=anim=30290
trigger1=animelemtime(1)=0
time=5
ampl=7
freq=180
ignorehitpause=1
[state ]
type=envcolor
trigger1=anim=30290
trigger1=animelemtime(1)=0
value=255,255,255
time=1
ignorehitpause=1
[state ]
type=bgpalfx
trigger1=anim=30280
trigger1=animelemtime(1)=0
sinadd=-255,-255,-255,120
time=30
ignorehitpause=1
[state ]
type=bgpalfx
trigger1=anim=30290
trigger1=animelemtime(1)=0
add=-255,-255,-255
sinadd=255,255,255,240
time=60
ignorehitpause=1



;ヘルパーは妥協(ｷﾘｯ
[state ]
type=helper
trigger1=anim=30290
trigger1=animelemtime(1)=0
trigger1=command!="x"
trigger1=command!="y"
trigger1=command!="a"
trigger1=command!="b"
id=1101
stateno=1101
pos=200,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
trigger1=anim=30290
trigger1=animelemtime(1)=0
trigger1=command="x"||ifelse(!ishelper,palno>=1&&palno<=6&&sysvar(1)=1,ishelper(100000)&&root,palno>=7&&root,palno<=12)&&p2dist x<=65
id=1101
stateno=1101
pos=50-50+(random%101),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
trigger1=anim=30290
trigger1=animelemtime(1)=0
trigger1=command="y"||ifelse(!ishelper,palno>=1&&palno<=6&&sysvar(1)=1,ishelper(100000)&&root,palno>=7&&root,palno<=12)&&p2dist x>=85&&p2dist x<=115
id=1101
stateno=1101
pos=100-50+(random%101),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
trigger1=anim=30290
trigger1=animelemtime(1)=0
trigger1=command="a"||ifelse(!ishelper,palno>=1&&palno<=6&&sysvar(1)=1,ishelper(100000)&&root,palno>=7&&root,palno<=12)&&p2dist x>=135&&p2dist x<=165
id=1101
stateno=1101
pos=150-50+(random%101),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
trigger1=anim=30290
trigger1=animelemtime(1)=0
trigger1=command="b"||ifelse(!ishelper,palno>=1&&palno<=6&&sysvar(1)=1,ishelper(100000)&&root,palno>=7&&root,palno<=12)&&p2dist x>=185
id=1101
stateno=1101
pos=200-50+(random%101),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=anim=30290
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
trigger1=anim=30290
trigger1=animtime=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 1150];ネスツ式対生成α
type=s
movetype=a
physics=s
juggle=15
poweradd=ifelse(!ishelper,palno>=1&&palno<=6&&110,1)
velset=0,0
ctrl=0
sprpriority=2

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

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



;ムテキング
[state ]
type=nothitby
trigger1=animelemtime(1)>=20
value2=sca
ignorehitpause=1



;音響
[state ];笑止ィ――
type=playsnd
trigger1=animelemtime(1)=0
value=s0,28
channel=0
ignorehitpause=1
[state ];ばちゅーN
type=playsnd
trigger1=animelemtime(1)=0
value=s10,2
ignorehitpause=1
[state ];ぽわぁおん
type=playsnd
trigger1=animelemtime(1)=20
value=s10,3
volume=-30
ignorehitpause=1
[state ];ババリバリッシュ！
type=playsnd
trigger1=animelemtime(1)=20
value=s10,4
volume=-50
ignorehitpause=1
[state ];どがごきえふぃｗｍふぉｗｍｆ
type=playsnd
trigger1=animelemtime(1)=20
value=s10,5
volume=255
ignorehitpause=1



;画面＼(＾o＾)／
[state ]
type=envshake
trigger1=animelemtime(1)=20
time=15
ampl=7
freq=180
ignorehitpause=1
[state ]
type=envcolor
trigger1=animelemtime(1)=18
value=255,255,255
time=2
under=0
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(1)<=40
add=-255,-255,-255
time=2
ignorehitpause=1
[state ]
type=bgpalfx
trigger1=animelemtime(1)=40
add=-255,-255,-255
sinadd=255,255,255,400
time=100
ignorehitpause=1



;衝突する2つの弾
[state ]
type=explod
trigger1=animelemtime(1)>=1&&animelemtime(1)<=20
anim=10060
scale=0.3-0.015*animelemtime(1),0.3-0.015*animelemtime(1)
pos=33+100,-61+300
vel=-5,-15
removetime=21
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
trigger1=animelemtime(1)>=1&&animelemtime(1)<=20
anim=10060
scale=0.3-0.015*animelemtime(1),0.3-0.015*animelemtime(1)
pos=33+100+3,-61+300+8
vel=-5,-15
removetime=21
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
trigger1=animelemtime(1)>=1&&animelemtime(1)<=20
anim=10000
scale=0.3-0.015*animelemtime(1),0.3-0.015*animelemtime(1)
pos=33+100,-61+300
vel=-5,-15
removetime=21
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
trigger1=animelemtime(1)>=1&&animelemtime(1)<=20
anim=10000
scale=0.3-0.015*animelemtime(1),0.3-0.015*animelemtime(1)
pos=33+100+3,-61+300+8
vel=-5,-15
removetime=21
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
trigger1=animelemtime(1)>=1&&animelemtime(1)<=20
anim=10060
scale=0.3-0.015*animelemtime(1),0.3-0.015*animelemtime(1)
pos=33-100,-61-300
vel=5,15
removetime=21
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
trigger1=animelemtime(1)>=1&&animelemtime(1)<=20
anim=10060
scale=0.3-0.015*animelemtime(1),0.3-0.015*animelemtime(1)
pos=33-100-3,-61-300-8
vel=5,15
removetime=21
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
trigger1=animelemtime(1)>=1&&animelemtime(1)<=20
anim=10000
scale=0.3-0.015*animelemtime(1),0.3-0.015*animelemtime(1)
pos=33-100,-61-300
vel=5,15
removetime=21
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
trigger1=animelemtime(1)>=1&&animelemtime(1)<=20
anim=10000
scale=0.3-0.015*animelemtime(1),0.3-0.015*animelemtime(1)
pos=33-100-3,-61-300-8
vel=5,15
removetime=21
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
trigger1=animelemtime(1)>=21&&animelemtime(1)<=40
anim=10150
trans=addalpha
alpha=256-12.8*(animelemtime(1)-20),12.8*(animelemtime(1)-20)
scale=0.1*(animelemtime(1)-20),0.1*(animelemtime(1)-20)
pos=33,-61
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
trigger1=animelemtime(1)>=21&&animelemtime(1)<=40
anim=10083
scale=0.6,0.6
pos=33,-61
vel=8*cos(sysvar(3))+4*cos(sysvar(3)**2),8*sin(sysvar(3))+4*cos(sysvar(3)**2)
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
trigger1=animelemtime(1)>=21&&animelemtime(1)<=40
anim=10083
scale=0.6,0.6
pos=33,-61
vel=-8*cos(sysvar(3))-4*cos(sysvar(3)**2),-8*sin(sysvar(3))-4*cos(sysvar(3)**2)
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
trigger1=animelemtime(1)>=21&&animelemtime(1)<=40
anim=10023
scale=0.6,0.6
pos=33,-61
vel=8*cos(sysvar(3))+4*cos(sysvar(3)**2),8*sin(sysvar(3))+4*cos(sysvar(3)**2)
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
trigger1=animelemtime(1)>=21&&animelemtime(1)<=40
anim=10023
scale=0.6,0.6
pos=33,-61
vel=-8*cos(sysvar(3))-4*cos(sysvar(3)**2),-8*sin(sysvar(3))-4*cos(sysvar(3)**2)
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
trigger1=animelemtime(1)>=21&&animelemtime(1)<=40
anim=10060
scale=0.3-0.015*(animelemtime(1)-20),0.3-0.015*(animelemtime(1)-20)
pos=33,-61
vel=15,-5
removetime=21
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
trigger1=animelemtime(1)>=21&&animelemtime(1)<=40
anim=10060
scale=0.3-0.015*(animelemtime(1)-20),0.3-0.015*(animelemtime(1)-20)
pos=33-8,-61+3
vel=15,-5
removetime=21
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
trigger1=animelemtime(1)>=21&&animelemtime(1)<=40
anim=10000
scale=0.3-0.015*(animelemtime(1)-20),0.3-0.015*(animelemtime(1)-20)
pos=33,-61
vel=15,-5
removetime=21
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
trigger1=animelemtime(1)>=21&&animelemtime(1)<=40
anim=10000
scale=0.3-0.015*(animelemtime(1)-20),0.3-0.015*(animelemtime(1)-20)
pos=33-8,-61+3
vel=15,-5
removetime=21
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
trigger1=animelemtime(1)>=21&&animelemtime(1)<=40
anim=10060
scale=0.3-0.015*(animelemtime(1)-20),0.3-0.015*(animelemtime(1)-20)
pos=33,-61
vel=-15,5
removetime=21
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
trigger1=animelemtime(1)>=21&&animelemtime(1)<=40
anim=10060
scale=0.3-0.015*(animelemtime(1)-20),0.3-0.015*(animelemtime(1)-20)
pos=33+8,-61-3
vel=-15,5
removetime=21
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
trigger1=animelemtime(1)>=21&&animelemtime(1)<=40
anim=10000
scale=0.3-0.015*(animelemtime(1)-20),0.3-0.015*(animelemtime(1)-20)
pos=33,-61
vel=-15,5
removetime=21
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
trigger1=animelemtime(1)>=21&&animelemtime(1)<=40
anim=10000
scale=0.3-0.015*(animelemtime(1)-20),0.3-0.015*(animelemtime(1)-20)
pos=33+8,-61-3
vel=-15,5
removetime=21
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
trigger1=animelemtime(1)=0
projanim=40110
projremove=1
projremovetime=20
projedgebound=99999
offset=33+100,-61+300
velocity=-5,-15
attr=s,sp
hitflag=mafdp
guardflag=ma
damage=30,4
sparkno=-1
numhits=1
ground.type=high
ground.hittime=21
ground.slidetime=21
ground.velocity=-2,-8
fall=1
air.type=high
air.hittime=21
air.slidetime=21
air.velocity=-2,-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
trigger1=animelemtime(1)=0
projanim=40110
projremove=1
projremovetime=20
projedgebound=99999
offset=33-100,-61-300
velocity=5,15
attr=s,sp
hitflag=mafdp
guardflag=ma
damage=30,4
sparkno=-1
numhits=1
ground.type=high
ground.hittime=21
ground.slidetime=21
ground.velocity=-2,-8
fall=1
air.type=high
air.hittime=21
air.slidetime=21
air.velocity=-2,-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
trigger1=animelemtime(1)=20
projanim=40110
projremove=1
projremovetime=20
projedgebound=99999
offset=33,-61
velocity=15,-5
attr=s,sp
hitflag=mafdp
guardflag=ma
damage=30,4
sparkno=-1
numhits=1
ground.type=high
ground.hittime=21
ground.slidetime=21
ground.velocity=-2,-8
fall=1
air.type=high
air.hittime=21
air.slidetime=21
air.velocity=-2,-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
trigger1=animelemtime(1)=20
projanim=40110
projremove=1
projremovetime=20
projedgebound=99999
offset=33,-61
velocity=-15,5
attr=s,sp
hitflag=mafdp
guardflag=ma
damage=30,4
sparkno=-1
numhits=1
ground.type=high
ground.hittime=21
ground.slidetime=21
ground.velocity=-2,-8
fall=1
air.type=high
air.hittime=21
air.slidetime=21
air.velocity=-2,-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=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
trigger1=animtime=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 1160];ネスツ式対生成β
type=s
movetype=a
physics=s
juggle=15
poweradd=ifelse(!ishelper,palno>=1&&palno<=6&&110,1)
velset=0,0
ctrl=0
sprpriority=2

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

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



;ムテキング
[state ]
type=nothitby
trigger1=animelemtime(1)>=20
value2=sca
ignorehitpause=1



;音響
[state ];笑止ィ――
type=playsnd
trigger1=animelemtime(1)=0
value=s0,28
channel=0
ignorehitpause=1
[state ];ばちゅーN
type=playsnd
trigger1=animelemtime(1)=0
value=s10,2
ignorehitpause=1
[state ];ぽわぁおん
type=playsnd
trigger1=animelemtime(1)=20
value=s10,3
volume=-30
ignorehitpause=1
[state ];ババリバリッシュ！
type=playsnd
trigger1=animelemtime(1)=20
value=s10,4
volume=-50
ignorehitpause=1
[state ];どがごきえふぃｗｍふぉｗｍｆ
type=playsnd
trigger1=animelemtime(1)=20
value=s10,5
volume=255
ignorehitpause=1



;画面＼(＾o＾)／
[state ]
type=envshake
trigger1=animelemtime(1)=20
time=15
ampl=7
freq=180
ignorehitpause=1
[state ]
type=envcolor
trigger1=animelemtime(1)=18
value=255,255,255
time=2
under=0
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(1)<=40
add=-255,-255,-255
time=2
ignorehitpause=1
[state ]
type=bgpalfx
trigger1=animelemtime(1)=40
add=-255,-255,-255
sinadd=255,255,255,400
time=100
ignorehitpause=1



;衝突する2つの弾
[state ]
type=explod
trigger1=animelemtime(1)>=1&&animelemtime(1)<=20
anim=10060
scale=0.3-0.015*animelemtime(1),0.3-0.015*animelemtime(1)
pos=181-300,-111-100
vel=15,5
removetime=21
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
trigger1=animelemtime(1)>=1&&animelemtime(1)<=20
anim=10060
scale=0.3-0.015*animelemtime(1),0.3-0.015*animelemtime(1)
pos=181-300-8,-111-100-3
vel=15,5
removetime=21
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
trigger1=animelemtime(1)>=1&&animelemtime(1)<=20
anim=10000
scale=0.3-0.015*animelemtime(1),0.3-0.015*animelemtime(1)
pos=181-300,-111-100
vel=15,5
removetime=21
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
trigger1=animelemtime(1)>=1&&animelemtime(1)<=20
anim=10000
scale=0.3-0.015*animelemtime(1),0.3-0.015*animelemtime(1)
pos=181-300-8,-111-100-3
vel=15,5
removetime=21
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
trigger1=animelemtime(1)>=1&&animelemtime(1)<=20
anim=10060
scale=0.3-0.015*animelemtime(1),0.3-0.015*animelemtime(1)
pos=181+300,-111+100
vel=-15,-5
removetime=21
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
trigger1=animelemtime(1)>=1&&animelemtime(1)<=20
anim=10060
scale=0.3-0.015*animelemtime(1),0.3-0.015*animelemtime(1)
pos=181+300+8,-111+100+3
vel=-15,-5
removetime=21
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
trigger1=animelemtime(1)>=1&&animelemtime(1)<=20
anim=10000
scale=0.3-0.015*animelemtime(1),0.3-0.015*animelemtime(1)
pos=181+300,-111+100
vel=-15,-5
removetime=21
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
trigger1=animelemtime(1)>=1&&animelemtime(1)<=20
anim=10000
scale=0.3-0.015*animelemtime(1),0.3-0.015*animelemtime(1)
pos=181+300+8,-111+100+3
vel=-15,-5
removetime=21
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
trigger1=animelemtime(1)>=21&&animelemtime(1)<=40
anim=10150
trans=addalpha
alpha=256-12.8*(animelemtime(1)-20),12.8*(animelemtime(1)-20)
scale=0.1*(animelemtime(1)-20),0.1*(animelemtime(1)-20)
pos=181,-111
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
trigger1=animelemtime(1)>=21&&animelemtime(1)<=40
anim=10083
scale=0.6,0.6
pos=181,-111
vel=8*cos(sysvar(3))+4*cos(sysvar(3)**2),8*sin(sysvar(3))+4*cos(sysvar(3)**2)
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
trigger1=animelemtime(1)>=21&&animelemtime(1)<=40
anim=10083
scale=0.6,0.6
pos=181,-111
vel=-8*cos(sysvar(3))-4*cos(sysvar(3)**2),-8*sin(sysvar(3))-4*cos(sysvar(3)**2)
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
trigger1=animelemtime(1)>=21&&animelemtime(1)<=40
anim=10023
scale=0.6,0.6
pos=181,-111
vel=8*cos(sysvar(3))+4*cos(sysvar(3)**2),8*sin(sysvar(3))+4*cos(sysvar(3)**2)
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
trigger1=animelemtime(1)>=21&&animelemtime(1)<=40
anim=10023
scale=0.6,0.6
pos=181,-111
vel=-8*cos(sysvar(3))-4*cos(sysvar(3)**2),-8*sin(sysvar(3))-4*cos(sysvar(3)**2)
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
trigger1=animelemtime(1)>=21&&animelemtime(1)<=40
anim=10060
scale=0.3-0.015*(animelemtime(1)-20),0.3-0.015*(animelemtime(1)-20)
pos=181,-111
vel=5,-15
removetime=21
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
trigger1=animelemtime(1)>=21&&animelemtime(1)<=40
anim=10060
scale=0.3-0.015*(animelemtime(1)-20),0.3-0.015*(animelemtime(1)-20)
pos=181-3,-111+8
vel=5,-15
removetime=21
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
trigger1=animelemtime(1)>=21&&animelemtime(1)<=40
anim=10000
scale=0.3-0.015*(animelemtime(1)-20),0.3-0.015*(animelemtime(1)-20)
pos=181,-111
vel=5,-15
removetime=21
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
trigger1=animelemtime(1)>=21&&animelemtime(1)<=40
anim=10000
scale=0.3-0.015*(animelemtime(1)-20),0.3-0.015*(animelemtime(1)-20)
pos=181-3,-111+8
vel=5,-15
removetime=21
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
trigger1=animelemtime(1)>=21&&animelemtime(1)<=40
anim=10060
scale=0.3-0.015*(animelemtime(1)-20),0.3-0.015*(animelemtime(1)-20)
pos=181,-111
vel=-5,15
removetime=21
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
trigger1=animelemtime(1)>=21&&animelemtime(1)<=40
anim=10060
scale=0.3-0.015*(animelemtime(1)-20),0.3-0.015*(animelemtime(1)-20)
pos=181+3,-111-8
vel=-5,15
removetime=21
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
trigger1=animelemtime(1)>=21&&animelemtime(1)<=40
anim=10000
scale=0.3-0.015*(animelemtime(1)-20),0.3-0.015*(animelemtime(1)-20)
pos=181,-111
vel=-5,15
removetime=21
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
trigger1=animelemtime(1)>=21&&animelemtime(1)<=40
anim=10000
scale=0.3-0.015*(animelemtime(1)-20),0.3-0.015*(animelemtime(1)-20)
pos=181+3,-111-8
vel=-5,15
removetime=21
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
trigger1=animelemtime(1)=0
projanim=40110
projremove=1
projremovetime=20
projedgebound=99999
offset=181-300,-111-100
velocity=15,5
attr=s,sp
hitflag=mafdp
guardflag=ma
damage=30,4
sparkno=-1
numhits=1
ground.type=high
ground.hittime=21
ground.slidetime=21
ground.velocity=-2,-8
fall=1
air.type=high
air.hittime=21
air.slidetime=21
air.velocity=-2,-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
trigger1=animelemtime(1)=0
projanim=40110
projremove=1
projremovetime=20
projedgebound=99999
offset=181+300,-111+100
velocity=-15,-5
attr=s,sp
hitflag=mafdp
guardflag=ma
damage=30,4
sparkno=-1
numhits=1
ground.type=high
ground.hittime=21
ground.slidetime=21
ground.velocity=-2,-8
fall=1
air.type=high
air.hittime=21
air.slidetime=21
air.velocity=-2,-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
trigger1=animelemtime(1)=20
projanim=40110
projremove=1
projremovetime=20
projedgebound=99999
offset=181,-111
velocity=5,-15
attr=s,sp
hitflag=mafdp
guardflag=ma
damage=30,4
sparkno=-1
numhits=1
ground.type=high
ground.hittime=21
ground.slidetime=21
ground.velocity=-2,-8
fall=1
air.type=high
air.hittime=21
air.slidetime=21
air.velocity=-2,-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
trigger1=animelemtime(1)=20
projanim=40110
projremove=1
projremovetime=20
projedgebound=99999
offset=181,-111
velocity=-5,15
attr=s,sp
hitflag=mafdp
guardflag=ma
damage=30,4
sparkno=-1
numhits=1
ground.type=high
ground.hittime=21
ground.slidetime=21
ground.velocity=-2,-8
fall=1
air.type=high
air.hittime=21
air.slidetime=21
air.velocity=-2,-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=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
trigger1=animtime=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 1170];煉獄シザーα
type=s
movetype=a
physics=s
juggle=15
poweradd=ifelse(!ishelper,palno>=1&&palno<=6&&110,1)
velset=0,0
ctrl=0
sprpriority=2

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

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



;ムテキング
[state ]
type=nothitby
trigger1=animelemtime(1)>=10
value2=sca
ignorehitpause=1



;音響
[state ];ふぁいえるん！
type=playsnd
trigger1=animelemtime(1)=0
value=s0,26
channel=0
ignorehitpause=1
[state ];ばちゅーN
type=playsnd
trigger1=animelemtime(1)=10
value=s0,27
ignorehitpause=1



;画面＼(＾o＾)／
[state ]
type=envshake
trigger1=animelemtime(1)=10
time=15
ampl=7
freq=180
ignorehitpause=1
[state ]
type=bgpalfx
trigger1=animelemtime(1)=0
sinadd=-255,-255,-255,80
time=40
ignorehitpause=1



;緋色の弾（？）
[state ]
type=explod
trigger1=animelemtime(1)>=1&&animelemtime(1)<=10
anim=10060
scale=0.02*animelemtime(1),0.6*animelemtime(1)
pos=40,0
removetime=4
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
trigger1=animelemtime(1)>=11&&animelemtime(1)<=20
anim=10060
scale=0.2,6
pos=40+18*(animelemtime(1)-10),0
removetime=4
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
trigger1=animelemtime(1)>=21&&animelemtime(1)<=35
anim=10060
scale=0.2,6
pos=220+1*(animelemtime(1)-20),0
removetime=4
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
trigger1=animelemtime(1)>=1&&animelemtime(1)<=10
anim=10060
scale=0.02*animelemtime(1),0.6*animelemtime(1)
pos=200,0
removetime=4
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
trigger1=animelemtime(1)>=11&&animelemtime(1)<=20
anim=10060
scale=0.2,6
pos=200-18*(animelemtime(1)-10),0
removetime=4
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
trigger1=animelemtime(1)>=21&&animelemtime(1)<=35
anim=10060
scale=0.2,6
pos=20-1*(animelemtime(1)-20),0
removetime=4
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
trigger1=animelemtime(1)>=1&&animelemtime(1)<=10
anim=10000
scale=0.02*animelemtime(1),0.6*animelemtime(1)
pos=40,0
removetime=4
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
trigger1=animelemtime(1)>=11&&animelemtime(1)<=20
anim=10000
scale=0.2,6
pos=40+18*(animelemtime(1)-10),0
removetime=4
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
trigger1=animelemtime(1)>=21&&animelemtime(1)<=35
anim=10000
scale=0.2,6
pos=220+1*(animelemtime(1)-20),0
removetime=4
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
trigger1=animelemtime(1)>=1&&animelemtime(1)<=10
anim=10000
scale=0.02*animelemtime(1),0.6*animelemtime(1)
pos=200,0
removetime=4
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
trigger1=animelemtime(1)>=11&&animelemtime(1)<=20
anim=10000
scale=0.2,6
pos=200-18*(animelemtime(1)-10),0
removetime=4
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
trigger1=animelemtime(1)>=21&&animelemtime(1)<=35
anim=10000
scale=0.2,6
pos=20-1*(animelemtime(1)-20),0
removetime=4
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
trigger1=animelemtime(1)=10
projanim=40070
projremove=1
projremovetime=10
offset=40,0
velocity=18,0
attr=s,sp
hitflag=map
guardflag=ma
damage=36,6
sparkno=-1
numhits=1
ground.type=high
ground.hittime=21
ground.slidetime=21
ground.velocity=-2,-8
fall=1
air.type=high
air.hittime=21
air.slidetime=21
air.velocity=-2,-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
trigger1=animelemtime(1)=10
projanim=40070
projremove=1
projremovetime=10
offset=200,0
velocity=-18,0
attr=s,sp
hitflag=map
guardflag=ma
damage=36,6
sparkno=-1
numhits=1
ground.type=high
ground.hittime=21
ground.slidetime=21
ground.velocity=-2,-8
fall=1
air.type=high
air.hittime=21
air.slidetime=21
air.velocity=-2,-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=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
trigger1=animtime=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 1180];煉獄シザーβ
type=s
movetype=a
physics=s
juggle=15
poweradd=ifelse(!ishelper,palno>=1&&palno<=6&&110,1)
velset=0,0
ctrl=0
sprpriority=2

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

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



;ムテキング
[state ]
type=nothitby
trigger1=animelemtime(1)>=10
value2=sca
ignorehitpause=1



;音響
[state ];ふぁいえるん！
type=playsnd
trigger1=animelemtime(1)=0
value=s0,26
channel=0
ignorehitpause=1
[state ];ばちゅーN
type=playsnd
trigger1=animelemtime(1)=10
value=s0,27
ignorehitpause=1



;画面＼(＾o＾)／
[state ]
type=envshake
trigger1=animelemtime(1)=10
time=15
ampl=7
freq=180
ignorehitpause=1
[state ]
type=bgpalfx
trigger1=animelemtime(1)=0
sinadd=-255,-255,-255,80
time=40
ignorehitpause=1



;緋色の弾（？）
[state ]
type=explod
trigger1=animelemtime(1)>=1&&animelemtime(1)<=10
anim=10060
scale=0.9*animelemtime(1),0.02*animelemtime(1)
pos=-backedgedist,-40
removetime=4
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
trigger1=animelemtime(1)>=11&&animelemtime(1)<=20
anim=10060
scale=9,0.2
pos=-backedgedist,-40-12*(animelemtime(1)-10)
removetime=4
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
trigger1=animelemtime(1)>=21&&animelemtime(1)<=35
anim=10060
scale=9,0.2
pos=-backedgedist,-160-1*(animelemtime(1)-20)
removetime=4
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
trigger1=animelemtime(1)>=1&&animelemtime(1)<=10
anim=10060
scale=0.9*animelemtime(1),0.02*animelemtime(1)
pos=-backedgedist,-140
removetime=4
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
trigger1=animelemtime(1)>=11&&animelemtime(1)<=20
anim=10060
scale=9,0.2
pos=-backedgedist,-140+12*(animelemtime(1)-10)
removetime=4
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
trigger1=animelemtime(1)>=21&&animelemtime(1)<=35
anim=10060
scale=9,0.2
pos=-backedgedist,-20+1*(animelemtime(1)-20)
removetime=4
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
trigger1=animelemtime(1)>=1&&animelemtime(1)<=10
anim=10000
scale=0.9*animelemtime(1),0.02*animelemtime(1)
pos=-backedgedist,-40
removetime=4
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
trigger1=animelemtime(1)>=11&&animelemtime(1)<=20
anim=10000
scale=9,0.2
pos=-backedgedist,-40-12*(animelemtime(1)-10)
removetime=4
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
trigger1=animelemtime(1)>=21&&animelemtime(1)<=35
anim=10000
scale=9,0.2
pos=-backedgedist,-160-1*(animelemtime(1)-20)
removetime=4
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
trigger1=animelemtime(1)>=1&&animelemtime(1)<=10
anim=10000
scale=0.9*animelemtime(1),0.02*animelemtime(1)
pos=-backedgedist,-140
removetime=4
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
trigger1=animelemtime(1)>=11&&animelemtime(1)<=20
anim=10000
scale=9,0.2
pos=-backedgedist,-140+12*(animelemtime(1)-10)
removetime=4
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
trigger1=animelemtime(1)>=21&&animelemtime(1)<=35
anim=10000
scale=9,0.2
pos=-backedgedist,-20+1*(animelemtime(1)-20)
removetime=4
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
trigger1=animelemtime(1)=10
projanim=40060
projremove=1
projremovetime=10
offset=-backedgedist,-40
velocity=0,-12
attr=s,sp
hitflag=map
guardflag=ma
damage=36,6
sparkno=-1
numhits=1
ground.type=high
ground.hittime=21
ground.slidetime=21
ground.velocity=-2,-8
fall=1
air.type=high
air.hittime=21
air.slidetime=21
air.velocity=-2,-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
trigger1=animelemtime(1)=10
projanim=40060
projremove=1
projremovetime=10
offset=-backedgedist,-140
velocity=0,12
attr=s,sp
hitflag=map
guardflag=ma
damage=36,6
sparkno=-1
numhits=1
ground.type=high
ground.hittime=21
ground.slidetime=21
ground.velocity=-2,-8
fall=1
air.type=high
air.hittime=21
air.slidetime=21
air.velocity=-2,-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=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
trigger1=animtime=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 1190];玩具のナイヴズα
type=s
movetype=a
physics=s
juggle=15
poweradd=ifelse(!ishelper,palno>=1&&palno<=6&&110,1)
velset=0,0
ctrl=0
sprpriority=2

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

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



;ムテキング
[state ]
type=nothitby
trigger1=animelemtime(1)>=0
value2=sca
ignorehitpause=1



;音響
[state ];ッサ――
type=playsnd
trigger1=animelemtime(1)=0
value=s0,29
channel=0
ignorehitpause=1
[state ];しゃきーん
type=playsnd
trigger1=animelemtime(1)=9
trigger2=animelemtime(1)=15
value=s10,15
volume=-50
ignorehitpause=1
[state ];ビシュッ
type=playsnd
trigger1=animelemtime(1)=30
value=s10,16
volume=-50
ignorehitpause=1



;画面＼(＾o＾)／
[state ]
type=envshake
trigger1=animelemtime(1)=10
time=15
ampl=7
freq=180
ignorehitpause=1
[state ]
type=bgpalfx
trigger1=animelemtime(1)=0
sinadd=-255,-255,-255,140
time=35
ignorehitpause=1
[state ]
type=bgpalfx
trigger1=animelemtime(1)=35
add=-255,-255,-255
sinadd=255,255,255,140
time=35
ignorehitpause=1



;座標関連
[state ]
type=playerpush
trigger1=1
value=0
ignorehitpause=1



;発生による衝撃波・・・的な？
[state ]
type=explod
trigger1=animelemtime(1)>=9&&animelemtime(1)<=28
anim=10150
trans=addalpha
alpha=256-12.8*(animelemtime(1)-8),12.8*(animelemtime(1)-8)
scale=0.1*(animelemtime(1)-8),0.1*(animelemtime(1)-8)
pos=80,-8
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
trigger1=animelemtime(1)>=13&&animelemtime(1)<=32
anim=10150
trans=addalpha
alpha=256-12.8*(animelemtime(1)-12),12.8*(animelemtime(1)-12)
scale=0.1*(animelemtime(1)-12),0.1*(animelemtime(1)-12)
pos=115,-59
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
trigger1=animelemtime(1)>=17&&animelemtime(1)<=36
anim=10150
trans=addalpha
alpha=256-12.8*(animelemtime(1)-16),12.8*(animelemtime(1)-16)
scale=0.1*(animelemtime(1)-16),0.1*(animelemtime(1)-16)
pos=150,-110
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



;ナイフ01下段
[state ]
type=explod
trigger1=animelemtime(1)>=9&&animelemtime(1)<=30
anim=10170
scale=0.6,0.6
pos=80,-8
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
trigger1=animelemtime(1)>=9&&animelemtime(1)<=30
anim=10160
scale=0.48,0.48
pos=80,-8
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
trigger1=animelemtime(1)>=9&&animelemtime(1)<=30
anim=10170
scale=0.6,0.6
pos=80,-8
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
trigger1=animelemtime(1)>=9&&animelemtime(1)<=30
anim=10160
scale=0.48,0.48
pos=80,-8
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

;ナイフ01中段
[state ]
type=explod
trigger1=animelemtime(1)>=13&&animelemtime(1)<=30
anim=10170
scale=0.6,0.6
pos=115,-59
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
trigger1=animelemtime(1)>=13&&animelemtime(1)<=30
anim=10160
scale=0.48,0.48
pos=115,-59
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
trigger1=animelemtime(1)>=13&&animelemtime(1)<=30
anim=10170
scale=0.6,0.6
pos=115,-59
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
trigger1=animelemtime(1)>=13&&animelemtime(1)<=30
anim=10160
scale=0.48,0.48
pos=115,-59
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

;ナイフ01上段
[state ]
type=explod
trigger1=animelemtime(1)>=17&&animelemtime(1)<=30
anim=10170
scale=0.6,0.6
pos=150,-110
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
trigger1=animelemtime(1)>=17&&animelemtime(1)<=30
anim=10160
scale=0.48,0.48
pos=150,-110
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
trigger1=animelemtime(1)>=17&&animelemtime(1)<=30
anim=10170
scale=0.6,0.6
pos=150,-110
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
trigger1=animelemtime(1)>=17&&animelemtime(1)<=30
anim=10160
scale=0.48,0.48
pos=150,-110
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



;ナイフ01発射
[state ]
type=explod
trigger1=animelemtime(1)>=31&&animelemtime(1)<=44
anim=10170
scale=0.6,0.6
pos=80+floor(17.8*(animelemtime(1)-30)),-8
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
trigger1=animelemtime(1)>=31&&animelemtime(1)<=44
anim=10160
scale=0.48,0.48
pos=80+floor(17.8*(animelemtime(1)-30)),-8
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
trigger1=animelemtime(1)>=31&&animelemtime(1)<=44
anim=10170
scale=0.6,0.6
pos=80+floor(17.8*(animelemtime(1)-30)),-8
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
trigger1=animelemtime(1)>=31&&animelemtime(1)<=44
anim=10160
scale=0.48,0.48
pos=80+floor(17.8*(animelemtime(1)-30)),-8
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
trigger1=animelemtime(1)>=31&&animelemtime(1)<=44
anim=10180
scale=0.48,0.48
pos=80+floor(17.8*(animelemtime(1)-30)),-8
removetime=-2
sprpriority=2147483643
pausemovetime=2147483647*ifelse(!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)>=31&&animelemtime(1)<=44
anim=10021
scale=0.4,0.4
pos=80+floor(17.8*(animelemtime(1)-30)),-8
vel=2*cos(sysvar(3)),2*sin(sysvar(3))
removetime=-2
sprpriority=2147483645
pausemovetime=2147483647*ifelse(!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)>=31&&animelemtime(1)<=44
anim=10081
scale=0.4,0.4
pos=80+floor(17.8*(animelemtime(1)-30)),-8
vel=2*cos(sysvar(3)),2*sin(sysvar(3))
removetime=-2
sprpriority=2147483644
pausemovetime=2147483647*ifelse(!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)>=31&&animelemtime(1)<=44
anim=10021
scale=0.4,0.4
pos=80+floor(17.8*(animelemtime(1)-30)),-8
vel=2*cos(sysvar(3)**2),2*sin(sysvar(3)**2)
removetime=-2
sprpriority=2147483645
pausemovetime=2147483647*ifelse(!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)>=31&&animelemtime(1)<=44
anim=10081
scale=0.4,0.4
pos=80+floor(17.8*(animelemtime(1)-30)),-8
vel=2*cos(sysvar(3)**2),2*sin(sysvar(3)**2)
removetime=-2
sprpriority=2147483644
pausemovetime=2147483647*ifelse(!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)>=31&&animelemtime(1)<=44
anim=10170
scale=0.6,0.6
pos=115+floor(17.8*(animelemtime(1)-30)),-59
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
trigger1=animelemtime(1)>=31&&animelemtime(1)<=44
anim=10160
scale=0.48,0.48
pos=115+floor(17.8*(animelemtime(1)-30)),-59
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
trigger1=animelemtime(1)>=31&&animelemtime(1)<=44
anim=10170
scale=0.6,0.6
pos=115+floor(17.8*(animelemtime(1)-30)),-59
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
trigger1=animelemtime(1)>=31&&animelemtime(1)<=44
anim=10160
scale=0.48,0.48
pos=115+floor(17.8*(animelemtime(1)-30)),-59
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
trigger1=animelemtime(1)>=31&&animelemtime(1)<=44
anim=10180
scale=0.48,0.48
pos=115+floor(17.8*(animelemtime(1)-30)),-59
removetime=-2
sprpriority=2147483643
pausemovetime=2147483647*ifelse(!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)>=31&&animelemtime(1)<=44
anim=10021
scale=0.4,0.4
pos=115+floor(17.8*(animelemtime(1)-30)),-59
vel=2*cos(sysvar(3)),2*sin(sysvar(3))
removetime=-2
sprpriority=2147483645
pausemovetime=2147483647*ifelse(!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)>=31&&animelemtime(1)<=44
anim=10081
scale=0.4,0.4
pos=115+floor(17.8*(animelemtime(1)-30)),-59
vel=2*cos(sysvar(3)),2*sin(sysvar(3))
removetime=-2
sprpriority=2147483644
pausemovetime=2147483647*ifelse(!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)>=31&&animelemtime(1)<=44
anim=10021
scale=0.4,0.4
pos=115+floor(17.8*(animelemtime(1)-30)),-59
vel=2*cos(sysvar(3)**2),2*sin(sysvar(3)**2)
removetime=-2
sprpriority=2147483645
pausemovetime=2147483647*ifelse(!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)>=31&&animelemtime(1)<=44
anim=10081
scale=0.4,0.4
pos=115+floor(17.8*(animelemtime(1)-30)),-59
vel=2*cos(sysvar(3)**2),2*sin(sysvar(3)**2)
removetime=-2
sprpriority=2147483644
pausemovetime=2147483647*ifelse(!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)>=31&&animelemtime(1)<=44
anim=10170
scale=0.6,0.6
pos=150+floor(17.8*(animelemtime(1)-30)),-110
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
trigger1=animelemtime(1)>=31&&animelemtime(1)<=44
anim=10160
scale=0.48,0.48
pos=150+floor(17.8*(animelemtime(1)-30)),-110
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
trigger1=animelemtime(1)>=31&&animelemtime(1)<=44
anim=10170
scale=0.6,0.6
pos=150+floor(17.8*(animelemtime(1)-30)),-110
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
trigger1=animelemtime(1)>=31&&animelemtime(1)<=44
anim=10160
scale=0.48,0.48
pos=150+floor(17.8*(animelemtime(1)-30)),-110
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
trigger1=animelemtime(1)>=31&&animelemtime(1)<=44
anim=10180
scale=0.48,0.48
pos=150+floor(17.8*(animelemtime(1)-30)),-110
removetime=-2
sprpriority=2147483643
pausemovetime=2147483647*ifelse(!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)>=31&&animelemtime(1)<=44
anim=10021
scale=0.4,0.4
pos=150+floor(17.8*(animelemtime(1)-30)),-110
vel=2*cos(sysvar(3)),2*sin(sysvar(3))
removetime=-2
sprpriority=2147483645
pausemovetime=2147483647*ifelse(!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)>=31&&animelemtime(1)<=44
anim=10081
scale=0.4,0.4
pos=150+floor(17.8*(animelemtime(1)-30)),-110
vel=2*cos(sysvar(3)),2*sin(sysvar(3))
removetime=-2
sprpriority=2147483644
pausemovetime=2147483647*ifelse(!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)>=31&&animelemtime(1)<=44
anim=10021
scale=0.4,0.4
pos=150+floor(17.8*(animelemtime(1)-30)),-110
vel=2*cos(sysvar(3)**2),2*sin(sysvar(3)**2)
removetime=-2
sprpriority=2147483645
pausemovetime=2147483647*ifelse(!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)>=31&&animelemtime(1)<=44
anim=10081
scale=0.4,0.4
pos=150+floor(17.8*(animelemtime(1)-30)),-110
vel=2*cos(sysvar(3)**2),2*sin(sysvar(3)**2)
removetime=-2
sprpriority=2147483644
pausemovetime=2147483647*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(1)>=31&&animelemtime(1)<=44
projanim=40120
projremove=1
projremovetime=1
offset=80+floor(17.8*(animelemtime(1)-30)),-8
velocity=3,0
attr=s,sp
hitflag=mafp
guardflag=ma
damage=15,1
sparkno=-1
numhits=1
hitsound=s10,17
guardsound=s10,17
ground.type=high
ground.hittime=21
ground.slidetime=21
ground.velocity=-2,-4
fall=1
air.type=high
air.hittime=21
air.slidetime=21
air.velocity=-2.4,-4
air.fall=1
p2facing=1
p2stateno=1191
pausemovetime=2147483647*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(1)>=31&&animelemtime(1)<=44
projanim=40120
projremove=1
projremovetime=1
offset=115+floor(17.8*(animelemtime(1)-30)),-59
velocity=3,0
attr=s,sp
hitflag=mafp
guardflag=ma
damage=15,1
sparkno=-1
numhits=1
hitsound=s10,17
guardsound=s10,17
ground.type=high
ground.hittime=21
ground.slidetime=21
ground.velocity=-2,-4
fall=1
air.type=high
air.hittime=21
air.slidetime=21
air.velocity=-2.4,-4
air.fall=1
p2facing=1
p2stateno=1191
pausemovetime=2147483647*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(1)>=31&&animelemtime(1)<=44
projanim=40120
projremove=1
projremovetime=1
offset=150+floor(17.8*(animelemtime(1)-30)),-110
velocity=3,0
attr=s,sp
hitflag=mafp
guardflag=ma
damage=15,1
sparkno=-1
numhits=1
hitsound=s10,17
guardsound=s10,17
ground.type=high
ground.hittime=21
ground.slidetime=21
ground.velocity=-2,-4
fall=1
air.type=high
air.hittime=21
air.slidetime=21
air.velocity=-2.4,-4
air.fall=1
p2facing=1
p2stateno=1191
pausemovetime=2147483647*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
trigger1=animtime=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 1191]
type=a
movetype=h
physics=n
anim=5030

;邪眼キラー用
[state ]
type=changestate
triggerall=(sysfvar(0)=256002.0&&sysfvar(0)!=0.0)=0
trigger1=enemy(0),sysfvar(0)=256002.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)=256002.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=nothitby
trigger1=1
value=sca
ignorehitpause=1

[state ]
type=velset
trigger1=1
x=-1*abs(gethitvar(xvel))
y=gethitvar(yvel)
ignorehitpause=1

[state ]
type=selfstate
trigger1=time>0
value=5020
ignorehitpause=1

;----------------------------------------------------------------
[statedef 1200];玩具のナイヴズβ
type=s
movetype=a
physics=s
juggle=15
poweradd=ifelse(!ishelper,palno>=1&&palno<=6&&110,1)
velset=0,0
ctrl=0
sprpriority=2

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

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



;ムテキング
[state ]
type=nothitby
trigger1=animelemtime(1)>=0
value2=sca
ignorehitpause=1



;音響
[state ];ッサ――
type=playsnd
trigger1=animelemtime(1)=0
value=s0,29
channel=0
ignorehitpause=1
[state ];しゃきーん
type=playsnd
trigger1=animelemtime(1)=9
trigger2=animelemtime(1)=15
trigger3=animelemtime(1)=21
trigger4=animelemtime(1)=27
trigger5=animelemtime(1)=33
trigger6=animelemtime(1)=39
value=s10,15
volume=-50
ignorehitpause=1
[state ];ビシュッ
type=playsnd
trigger1=animelemtime(1)=50
trigger2=animelemtime(1)=65
trigger3=animelemtime(1)=80
value=s10,16
volume=-50
ignorehitpause=1



;画面＼(＾o＾)／
[state ]
type=envshake
trigger1=animelemtime(1)=10
time=15
ampl=7
freq=180
ignorehitpause=1
[state ]
type=bgpalfx
trigger1=animelemtime(1)=0
sinadd=-255,-255,-255,300
time=75
ignorehitpause=1
[state ]
type=bgpalfx
trigger1=animelemtime(1)=75
add=-255,-255,-255
sinadd=255,255,255,300
time=75
ignorehitpause=1



;座標関連
[state ]
type=playerpush
trigger1=1
value=0
ignorehitpause=1



;発生による衝撃波・・・的な？
[state ]
type=explod
trigger1=animelemtime(1)>=9&&animelemtime(1)<=28
anim=10150
trans=addalpha
alpha=256-12.8*(animelemtime(1)-8),12.8*(animelemtime(1)-8)
scale=0.1*(animelemtime(1)-8),0.1*(animelemtime(1)-8)
pos=80,-8
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
trigger1=animelemtime(1)>=13&&animelemtime(1)<=32
anim=10150
trans=addalpha
alpha=256-12.8*(animelemtime(1)-12),12.8*(animelemtime(1)-12)
scale=0.1*(animelemtime(1)-12),0.1*(animelemtime(1)-12)
pos=115,-59
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
trigger1=animelemtime(1)>=17&&animelemtime(1)<=36
anim=10150
trans=addalpha
alpha=256-12.8*(animelemtime(1)-16),12.8*(animelemtime(1)-16)
scale=0.1*(animelemtime(1)-16),0.1*(animelemtime(1)-16)
pos=150,-110
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
trigger1=animelemtime(1)>=21&&animelemtime(1)<=40
anim=10150
trans=addalpha
alpha=256-12.8*(animelemtime(1)-20),12.8*(animelemtime(1)-20)
scale=0.1*(animelemtime(1)-20),0.1*(animelemtime(1)-20)
pos=152,-38
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
trigger1=animelemtime(1)>=25&&animelemtime(1)<=44
anim=10150
trans=addalpha
alpha=256-12.8*(animelemtime(1)-24),12.8*(animelemtime(1)-24)
scale=0.1*(animelemtime(1)-24),0.1*(animelemtime(1)-24)
pos=139,-102
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
trigger1=animelemtime(1)>=29&&animelemtime(1)<=48
anim=10150
trans=addalpha
alpha=256-12.8*(animelemtime(1)-28),12.8*(animelemtime(1)-28)
scale=0.1*(animelemtime(1)-28),0.1*(animelemtime(1)-28)
pos=126,-166
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
trigger1=animelemtime(1)>=33&&animelemtime(1)<=52
anim=10150
trans=addalpha
alpha=256-12.8*(animelemtime(1)-32),12.8*(animelemtime(1)-32)
scale=0.1*(animelemtime(1)-32),0.1*(animelemtime(1)-32)
pos=54,-64+25
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
trigger1=animelemtime(1)>=37&&animelemtime(1)<=56
anim=10150
trans=addalpha
alpha=256-12.8*(animelemtime(1)-36),12.8*(animelemtime(1)-36)
scale=0.1*(animelemtime(1)-36),0.1*(animelemtime(1)-36)
pos=103,-112+25
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
trigger1=animelemtime(1)>=41&&animelemtime(1)<=60
anim=10150
trans=addalpha
alpha=256-12.8*(animelemtime(1)-40),12.8*(animelemtime(1)-40)
scale=0.1*(animelemtime(1)-40),0.1*(animelemtime(1)-40)
pos=152,-160+25
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






;ナイフ01下段
[state ]
type=explod
trigger1=animelemtime(1)>=9&&animelemtime(1)<=50
anim=10170
scale=0.6,0.6
pos=80,-8
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
trigger1=animelemtime(1)>=9&&animelemtime(1)<=50
anim=10160
scale=0.48,0.48
pos=80,-8
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
trigger1=animelemtime(1)>=9&&animelemtime(1)<=50
anim=10170
scale=0.6,0.6
pos=80,-8
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
trigger1=animelemtime(1)>=9&&animelemtime(1)<=50
anim=10160
scale=0.48,0.48
pos=80,-8
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

;ナイフ01中段
[state ]
type=explod
trigger1=animelemtime(1)>=13&&animelemtime(1)<=50
anim=10170
scale=0.6,0.6
pos=115,-59
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
trigger1=animelemtime(1)>=13&&animelemtime(1)<=50
anim=10160
scale=0.48,0.48
pos=115,-59
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
trigger1=animelemtime(1)>=13&&animelemtime(1)<=50
anim=10170
scale=0.6,0.6
pos=115,-59
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
trigger1=animelemtime(1)>=13&&animelemtime(1)<=50
anim=10160
scale=0.48,0.48
pos=115,-59
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

;ナイフ01上段
[state ]
type=explod
trigger1=animelemtime(1)>=17&&animelemtime(1)<=50
anim=10170
scale=0.6,0.6
pos=150,-110
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
trigger1=animelemtime(1)>=17&&animelemtime(1)<=50
anim=10160
scale=0.48,0.48
pos=150,-110
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
trigger1=animelemtime(1)>=17&&animelemtime(1)<=50
anim=10170
scale=0.6,0.6
pos=150,-110
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
trigger1=animelemtime(1)>=17&&animelemtime(1)<=50
anim=10160
scale=0.48,0.48
pos=150,-110
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



;ナイフ02下段
[state ]
type=explod
trigger1=animelemtime(1)>=21&&animelemtime(1)<=65
anim=10170
scale=0.6,0.6
pos=152,-38
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
trigger1=animelemtime(1)>=21&&animelemtime(1)<=65
anim=10160
scale=0.48,0.48
pos=152,-38
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
trigger1=animelemtime(1)>=21&&animelemtime(1)<=65
anim=10170
scale=0.6,0.6
pos=152,-38
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
trigger1=animelemtime(1)>=21&&animelemtime(1)<=65
anim=10160
scale=0.48,0.48
pos=152,-38
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

;ナイフ02中段
[state ]
type=explod
trigger1=animelemtime(1)>=25&&animelemtime(1)<=65
anim=10170
scale=0.6,0.6
pos=139,-102
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
trigger1=animelemtime(1)>=25&&animelemtime(1)<=65
anim=10160
scale=0.48,0.48
pos=139,-102
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
trigger1=animelemtime(1)>=25&&animelemtime(1)<=65
anim=10170
scale=0.6,0.6
pos=139,-102
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
trigger1=animelemtime(1)>=25&&animelemtime(1)<=65
anim=10160
scale=0.48,0.48
pos=139,-102
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

;ナイフ02上段
[state ]
type=explod
trigger1=animelemtime(1)>=29&&animelemtime(1)<=65
anim=10170
scale=0.6,0.6
pos=126,-166
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
trigger1=animelemtime(1)>=29&&animelemtime(1)<=65
anim=10160
scale=0.48,0.48
pos=126,-166
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
trigger1=animelemtime(1)>=29&&animelemtime(1)<=65
anim=10170
scale=0.6,0.6
pos=126,-166
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
trigger1=animelemtime(1)>=29&&animelemtime(1)<=65
anim=10160
scale=0.48,0.48
pos=126,-166
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



;ナイフ03下段
[state ]
type=explod
trigger1=animelemtime(1)>=33&&animelemtime(1)<=80
anim=10170
scale=0.6,0.6
pos=54,-64+25
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
trigger1=animelemtime(1)>=33&&animelemtime(1)<=80
anim=10160
scale=0.48,0.48
pos=54,-64+25
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
trigger1=animelemtime(1)>=33&&animelemtime(1)<=80
anim=10170
scale=0.6,0.6
pos=54,-64+25
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
trigger1=animelemtime(1)>=33&&animelemtime(1)<=80
anim=10160
scale=0.48,0.48
pos=54,-64+25
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

;ナイフ03中段
[state ]
type=explod
trigger1=animelemtime(1)>=37&&animelemtime(1)<=80
anim=10170
scale=0.6,0.6
pos=103,-112+25
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
trigger1=animelemtime(1)>=37&&animelemtime(1)<=80
anim=10160
scale=0.48,0.48
pos=103,-112+25
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
trigger1=animelemtime(1)>=37&&animelemtime(1)<=80
anim=10170
scale=0.6,0.6
pos=103,-112+25
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
trigger1=animelemtime(1)>=37&&animelemtime(1)<=80
anim=10160
scale=0.48,0.48
pos=103,-112+25
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

;ナイフ03上段
[state ]
type=explod
trigger1=animelemtime(1)>=41&&animelemtime(1)<=80
anim=10170
scale=0.6,0.6
pos=152,-160+25
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
trigger1=animelemtime(1)>=41&&animelemtime(1)<=80
anim=10160
scale=0.48,0.48
pos=152,-160+25
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
trigger1=animelemtime(1)>=41&&animelemtime(1)<=80
anim=10170
scale=0.6,0.6
pos=152,-160+25
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
trigger1=animelemtime(1)>=41&&animelemtime(1)<=80
anim=10160
scale=0.48,0.48
pos=152,-160+25
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



;ナイフ01発射
[state ]
type=explod
trigger1=animelemtime(1)>=51&&animelemtime(1)<=65
anim=10170
scale=0.6,0.6
pos=80+floor(17.8*(animelemtime(1)-50)),-8
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
trigger1=animelemtime(1)>=51&&animelemtime(1)<=65
anim=10160
scale=0.48,0.48
pos=80+floor(17.8*(animelemtime(1)-50)),-8
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
trigger1=animelemtime(1)>=51&&animelemtime(1)<=65
anim=10170
scale=0.6,0.6
pos=80+floor(17.8*(animelemtime(1)-50)),-8
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
trigger1=animelemtime(1)>=51&&animelemtime(1)<=65
anim=10160
scale=0.48,0.48
pos=80+floor(17.8*(animelemtime(1)-50)),-8
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
trigger1=animelemtime(1)>=51&&animelemtime(1)<=65
anim=10180
scale=0.48,0.48
pos=80+floor(17.8*(animelemtime(1)-50)),-8
removetime=-2
sprpriority=2147483643
pausemovetime=2147483647*ifelse(!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)>=51&&animelemtime(1)<=65
anim=10021
scale=0.4,0.4
pos=80+floor(17.8*(animelemtime(1)-50)),-8
vel=2*cos(sysvar(3)),2*sin(sysvar(3))
removetime=-2
sprpriority=2147483645
pausemovetime=2147483647*ifelse(!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)>=51&&animelemtime(1)<=65
anim=10081
scale=0.4,0.4
pos=80+floor(17.8*(animelemtime(1)-50)),-8
vel=2*cos(sysvar(3)),2*sin(sysvar(3))
removetime=-2
sprpriority=2147483644
pausemovetime=2147483647*ifelse(!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)>=51&&animelemtime(1)<=65
anim=10021
scale=0.4,0.4
pos=80+floor(17.8*(animelemtime(1)-50)),-8
vel=2*cos(sysvar(3)**2),2*sin(sysvar(3)**2)
removetime=-2
sprpriority=2147483645
pausemovetime=2147483647*ifelse(!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)>=51&&animelemtime(1)<=65
anim=10081
scale=0.4,0.4
pos=80+floor(17.8*(animelemtime(1)-50)),-8
vel=2*cos(sysvar(3)**2),2*sin(sysvar(3)**2)
removetime=-2
sprpriority=2147483644
pausemovetime=2147483647*ifelse(!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)>=51&&animelemtime(1)<=65
anim=10170
scale=0.6,0.6
pos=115+floor(17.8*(animelemtime(1)-50)),-59
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
trigger1=animelemtime(1)>=51&&animelemtime(1)<=65
anim=10160
scale=0.48,0.48
pos=115+floor(17.8*(animelemtime(1)-50)),-59
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
trigger1=animelemtime(1)>=51&&animelemtime(1)<=65
anim=10170
scale=0.6,0.6
pos=115+floor(17.8*(animelemtime(1)-50)),-59
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
trigger1=animelemtime(1)>=51&&animelemtime(1)<=65
anim=10160
scale=0.48,0.48
pos=115+floor(17.8*(animelemtime(1)-50)),-59
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
trigger1=animelemtime(1)>=51&&animelemtime(1)<=65
anim=10180
scale=0.48,0.48
pos=115+floor(17.8*(animelemtime(1)-50)),-59
removetime=-2
sprpriority=2147483643
pausemovetime=2147483647*ifelse(!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)>=51&&animelemtime(1)<=65
anim=10021
scale=0.4,0.4
pos=115+floor(17.8*(animelemtime(1)-50)),-59
vel=2*cos(sysvar(3)),2*sin(sysvar(3))
removetime=-2
sprpriority=2147483645
pausemovetime=2147483647*ifelse(!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)>=51&&animelemtime(1)<=65
anim=10081
scale=0.4,0.4
pos=115+floor(17.8*(animelemtime(1)-50)),-59
vel=2*cos(sysvar(3)),2*sin(sysvar(3))
removetime=-2
sprpriority=2147483644
pausemovetime=2147483647*ifelse(!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)>=51&&animelemtime(1)<=65
anim=10021
scale=0.4,0.4
pos=115+floor(17.8*(animelemtime(1)-50)),-59
vel=2*cos(sysvar(3)**2),2*sin(sysvar(3)**2)
removetime=-2
sprpriority=2147483645
pausemovetime=2147483647*ifelse(!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)>=51&&animelemtime(1)<=65
anim=10081
scale=0.4,0.4
pos=115+floor(17.8*(animelemtime(1)-50)),-59
vel=2*cos(sysvar(3)**2),2*sin(sysvar(3)**2)
removetime=-2
sprpriority=2147483644
pausemovetime=2147483647*ifelse(!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)>=51&&animelemtime(1)<=65
anim=10170
scale=0.6,0.6
pos=150+floor(17.8*(animelemtime(1)-50)),-110
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
trigger1=animelemtime(1)>=51&&animelemtime(1)<=65
anim=10160
scale=0.48,0.48
pos=150+floor(17.8*(animelemtime(1)-50)),-110
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
trigger1=animelemtime(1)>=51&&animelemtime(1)<=65
anim=10170
scale=0.6,0.6
pos=150+floor(17.8*(animelemtime(1)-50)),-110
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
trigger1=animelemtime(1)>=51&&animelemtime(1)<=65
anim=10160
scale=0.48,0.48
pos=150+floor(17.8*(animelemtime(1)-50)),-110
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
trigger1=animelemtime(1)>=51&&animelemtime(1)<=65
anim=10180
scale=0.48,0.48
pos=150+floor(17.8*(animelemtime(1)-50)),-110
removetime=-2
sprpriority=2147483643
pausemovetime=2147483647*ifelse(!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)>=51&&animelemtime(1)<=65
anim=10021
scale=0.4,0.4
pos=150+floor(17.8*(animelemtime(1)-50)),-110
vel=2*cos(sysvar(3)),2*sin(sysvar(3))
removetime=-2
sprpriority=2147483645
pausemovetime=2147483647*ifelse(!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)>=51&&animelemtime(1)<=65
anim=10081
scale=0.4,0.4
pos=150+floor(17.8*(animelemtime(1)-50)),-110
vel=2*cos(sysvar(3)),2*sin(sysvar(3))
removetime=-2
sprpriority=2147483644
pausemovetime=2147483647*ifelse(!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)>=51&&animelemtime(1)<=65
anim=10021
scale=0.4,0.4
pos=150+floor(17.8*(animelemtime(1)-50)),-110
vel=2*cos(sysvar(3)**2),2*sin(sysvar(3)**2)
removetime=-2
sprpriority=2147483645
pausemovetime=2147483647*ifelse(!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)>=51&&animelemtime(1)<=65
anim=10081
scale=0.4,0.4
pos=150+floor(17.8*(animelemtime(1)-50)),-110
vel=2*cos(sysvar(3)**2),2*sin(sysvar(3)**2)
removetime=-2
sprpriority=2147483644
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1



;ナイフ02発射
[state ]
type=explod
trigger1=animelemtime(1)>=66&&animelemtime(1)<=125
anim=10170
scale=0.6,0.6
pos=152+floor(17.8*(animelemtime(1)-65)),-38
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
trigger1=animelemtime(1)>=66&&animelemtime(1)<=80
anim=10160
scale=0.48,0.48
pos=152+floor(17.8*(animelemtime(1)-65)),-38
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
trigger1=animelemtime(1)>=66&&animelemtime(1)<=80
anim=10170
scale=0.6,0.6
pos=152+floor(17.8*(animelemtime(1)-65)),-38
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
trigger1=animelemtime(1)>=66&&animelemtime(1)<=80
anim=10160
scale=0.48,0.48
pos=152+floor(17.8*(animelemtime(1)-65)),-38
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
trigger1=animelemtime(1)>=66&&animelemtime(1)<=80
anim=10180
scale=0.48,0.48
pos=152+floor(17.8*(animelemtime(1)-65)),-38
removetime=-2
sprpriority=2147483643
pausemovetime=2147483647*ifelse(!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)>=66&&animelemtime(1)<=80
anim=10021
scale=0.4,0.4
pos=152+floor(17.8*(animelemtime(1)-65)),-38
vel=2*cos(sysvar(3)),2*sin(sysvar(3))
removetime=-2
sprpriority=2147483645
pausemovetime=2147483647*ifelse(!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)>=66&&animelemtime(1)<=80
anim=10081
scale=0.4,0.4
pos=152+floor(17.8*(animelemtime(1)-65)),-38
vel=2*cos(sysvar(3)),2*sin(sysvar(3))
removetime=-2
sprpriority=2147483644
pausemovetime=2147483647*ifelse(!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)>=66&&animelemtime(1)<=80
anim=10021
scale=0.4,0.4
pos=152+floor(17.8*(animelemtime(1)-65)),-38
vel=2*cos(sysvar(3)**2),2*sin(sysvar(3)**2)
removetime=-2
sprpriority=2147483645
pausemovetime=2147483647*ifelse(!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)>=66&&animelemtime(1)<=80
anim=10081
scale=0.4,0.4
pos=152+floor(17.8*(animelemtime(1)-65)),-38
vel=2*cos(sysvar(3)**2),2*sin(sysvar(3)**2)
removetime=-2
sprpriority=2147483644
pausemovetime=2147483647*ifelse(!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)>=66&&animelemtime(1)<=80
anim=10170
scale=0.6,0.6
pos=139+floor(17.8*(animelemtime(1)-65)),-102
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
trigger1=animelemtime(1)>=66&&animelemtime(1)<=80
anim=10160
scale=0.48,0.48
pos=139+floor(17.8*(animelemtime(1)-65)),-102
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
trigger1=animelemtime(1)>=66&&animelemtime(1)<=80
anim=10170
scale=0.6,0.6
pos=139+floor(17.8*(animelemtime(1)-65)),-102
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
trigger1=animelemtime(1)>=66&&animelemtime(1)<=80
anim=10160
scale=0.48,0.48
pos=139+floor(17.8*(animelemtime(1)-65)),-102
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
trigger1=animelemtime(1)>=66&&animelemtime(1)<=80
anim=10180
scale=0.48,0.48
pos=139+floor(17.8*(animelemtime(1)-65)),-102
removetime=-2
sprpriority=2147483643
pausemovetime=2147483647*ifelse(!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)>=66&&animelemtime(1)<=80
anim=10021
scale=0.4,0.4
pos=139+floor(17.8*(animelemtime(1)-65)),-102
vel=2*cos(sysvar(3)),2*sin(sysvar(3))
removetime=-2
sprpriority=2147483645
pausemovetime=2147483647*ifelse(!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)>=66&&animelemtime(1)<=80
anim=10081
scale=0.4,0.4
pos=139+floor(17.8*(animelemtime(1)-65)),-102
vel=2*cos(sysvar(3)),2*sin(sysvar(3))
removetime=-2
sprpriority=2147483644
pausemovetime=2147483647*ifelse(!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)>=66&&animelemtime(1)<=80
anim=10021
scale=0.4,0.4
pos=139+floor(17.8*(animelemtime(1)-65)),-102
vel=2*cos(sysvar(3)**2),2*sin(sysvar(3)**2)
removetime=-2
sprpriority=2147483645
pausemovetime=2147483647*ifelse(!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)>=66&&animelemtime(1)<=80
anim=10081
scale=0.4,0.4
pos=139+floor(17.8*(animelemtime(1)-65)),-102
vel=2*cos(sysvar(3)**2),2*sin(sysvar(3)**2)
removetime=-2
sprpriority=2147483644
pausemovetime=2147483647*ifelse(!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)>=66&&animelemtime(1)<=80
anim=10170
scale=0.6,0.6
pos=126+floor(17.8*(animelemtime(1)-65)),-166
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
trigger1=animelemtime(1)>=66&&animelemtime(1)<=80
anim=10160
scale=0.48,0.48
pos=126+floor(17.8*(animelemtime(1)-65)),-166
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
trigger1=animelemtime(1)>=66&&animelemtime(1)<=80
anim=10170
scale=0.6,0.6
pos=126+floor(17.8*(animelemtime(1)-65)),-166
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
trigger1=animelemtime(1)>=66&&animelemtime(1)<=80
anim=10160
scale=0.48,0.48
pos=126+floor(17.8*(animelemtime(1)-65)),-166
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
trigger1=animelemtime(1)>=66&&animelemtime(1)<=80
anim=10180
scale=0.48,0.48
pos=126+floor(17.8*(animelemtime(1)-65)),-166
removetime=-2
sprpriority=2147483643
pausemovetime=2147483647*ifelse(!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)>=66&&animelemtime(1)<=80
anim=10021
scale=0.4,0.4
pos=126+floor(17.8*(animelemtime(1)-65)),-166
vel=2*cos(sysvar(3)),2*sin(sysvar(3))
removetime=-2
sprpriority=2147483645
pausemovetime=2147483647*ifelse(!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)>=66&&animelemtime(1)<=80
anim=10081
scale=0.4,0.4
pos=126+floor(17.8*(animelemtime(1)-65)),-166
vel=2*cos(sysvar(3)),2*sin(sysvar(3))
removetime=-2
sprpriority=2147483644
pausemovetime=2147483647*ifelse(!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)>=66&&animelemtime(1)<=80
anim=10021
scale=0.4,0.4
pos=126+floor(17.8*(animelemtime(1)-65)),-166
vel=2*cos(sysvar(3)**2),2*sin(sysvar(3)**2)
removetime=-2
sprpriority=2147483645
pausemovetime=2147483647*ifelse(!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)>=66&&animelemtime(1)<=80
anim=10081
scale=0.4,0.4
pos=126+floor(17.8*(animelemtime(1)-65)),-166
vel=2*cos(sysvar(3)**2),2*sin(sysvar(3)**2)
removetime=-2
sprpriority=2147483644
pausemovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
supermovetime=2147483647*ifelse(!ishelper,0,root,palno>=10&&root,palno<=12)
ignorehitpause=1



;ナイフ03発射
[state ]
type=explod
trigger1=animelemtime(1)>=81&&animelemtime(1)<=95
anim=10170
scale=0.6,0.6
pos=54+floor(17.8*(animelemtime(1)-80)),-64+25
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
trigger1=animelemtime(1)>=81&&animelemtime(1)<=95
anim=10160
scale=0.48,0.48
pos=54+floor(17.8*(animelemtime(1)-80)),-64+25
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
trigger1=animelemtime(1)>=81&&animelemtime(1)<=95
anim=10170
scale=0.6,0.6
pos=54+floor(17.8*(animelemtime(1)-80)),-64+25
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
trigger1=animelemtime(1)>=81&&animelemtime(1)<=95
anim=10160
scale=0.48,0.48
pos=54+floor(17.8*(animelemtime(1)-80)),-64+25
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
trigger1=animelemtime(1)>=81&&animelemtime(1)<=95
anim=10180
scale=0.48,0.48
pos=54+floor(17.8*(animelemtime(1)-80)),-64+25
removetime=-2
sprpriority=2147483643
pausemovetime=2147483647*ifelse(!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)<=95
anim=10021
scale=0.4,0.4
pos=54+floor(17.8*(animelemtime(1)-80)),-64+25
vel=2*cos(sysvar(3)),2*sin(sysvar(3))
removetime=-2
sprpriority=2147483645
pausemovetime=2147483647*ifelse(!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)<=95
anim=10081
scale=0.4,0.4
pos=54+floor(17.8*(animelemtime(1)-80)),-64+25
vel=2*cos(sysvar(3)),2*sin(sysvar(3))
removetime=-2
sprpriority=2147483644
pausemovetime=2147483647*ifelse(!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)<=95
anim=10021
scale=0.4,0.4
pos=54+floor(17.8*(animelemtime(1)-80)),-64+25
vel=2*cos(sysvar(3)**2),2*sin(sysvar(3)**2)
removetime=-2
sprpriority=2147483645
pausemovetime=2147483647*ifelse(!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)<=95
anim=10081
scale=0.4,0.4
pos=54+floor(17.8*(animelemtime(1)-80)),-64+25
vel=2*cos(sysvar(3)**2),2*sin(sysvar(3)**2)
removetime=-2
sprpriority=2147483644
pausemovetime=2147483647*ifelse(!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)<=95
anim=10170
scale=0.6,0.6
pos=103+floor(17.8*(animelemtime(1)-80)),-112+25
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
trigger1=animelemtime(1)>=81&&animelemtime(1)<=95
anim=10160
scale=0.48,0.48
pos=103+floor(17.8*(animelemtime(1)-80)),-112+25
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
trigger1=animelemtime(1)>=81&&animelemtime(1)<=95
anim=10170
scale=0.6,0.6
pos=103+floor(17.8*(animelemtime(1)-80)),-112+25
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
trigger1=animelemtime(1)>=81&&animelemtime(1)<=95
anim=10160
scale=0.48,0.48
pos=103+floor(17.8*(animelemtime(1)-80)),-112+25
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
trigger1=animelemtime(1)>=81&&animelemtime(1)<=95
anim=10180
scale=0.48,0.48
pos=103+floor(17.8*(animelemtime(1)-80)),-112+25
removetime=-2
sprpriority=2147483643
pausemovetime=2147483647*ifelse(!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)<=95
anim=10021
scale=0.4,0.4
pos=103+floor(17.8*(animelemtime(1)-80)),-112+25
vel=2*cos(sysvar(3)),2*sin(sysvar(3))
removetime=-2
sprpriority=2147483645
pausemovetime=2147483647*ifelse(!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)<=95
anim=10081
scale=0.4,0.4
pos=103+floor(17.8*(animelemtime(1)-80)),-112+25
vel=2*cos(sysvar(3)),2*sin(sysvar(3))
removetime=-2
sprpriority=2147483644
pausemovetime=2147483647*ifelse(!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)<=95
anim=10021
scale=0.4,0.4
pos=103+floor(17.8*(animelemtime(1)-80)),-112+25
vel=2*cos(sysvar(3)**2),2*sin(sysvar(3)**2)
removetime=-2
sprpriority=2147483645
pausemovetime=2147483647*ifelse(!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)<=95
anim=10081
scale=0.4,0.4
pos=103+floor(17.8*(animelemtime(1)-80)),-112+25
vel=2*cos(sysvar(3)**2),2*sin(sysvar(3)**2)
removetime=-2
sprpriority=2147483644
pausemovetime=2147483647*ifelse(!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)<=95
anim=10170
scale=0.6,0.6
pos=152+floor(17.8*(animelemtime(1)-80)),-160+25
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
trigger1=animelemtime(1)>=81&&animelemtime(1)<=95
anim=10160
scale=0.48,0.48
pos=152+floor(17.8*(animelemtime(1)-80)),-160+25
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
trigger1=animelemtime(1)>=81&&animelemtime(1)<=95
anim=10170
scale=0.6,0.6
pos=152+floor(17.8*(animelemtime(1)-80)),-160+25
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
trigger1=animelemtime(1)>=81&&animelemtime(1)<=95
anim=10160
scale=0.48,0.48
pos=152+floor(17.8*(animelemtime(1)-80)),-160+25
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
trigger1=animelemtime(1)>=81&&animelemtime(1)<=95
anim=10180
scale=0.48,0.48
pos=152+floor(17.8*(animelemtime(1)-80)),-160+25
removetime=-2
sprpriority=2147483643
pausemovetime=2147483647*ifelse(!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)<=95
anim=10021
scale=0.4,0.4
pos=152+floor(17.8*(animelemtime(1)-80)),-160+25
vel=2*cos(sysvar(3)),2*sin(sysvar(3))
removetime=-2
sprpriority=2147483645
pausemovetime=2147483647*ifelse(!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)<=95
anim=10081
scale=0.4,0.4
pos=152+floor(17.8*(animelemtime(1)-80)),-160+25
vel=2*cos(sysvar(3)),2*sin(sysvar(3))
removetime=-2
sprpriority=2147483644
pausemovetime=2147483647*ifelse(!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)<=95
anim=10021
scale=0.4,0.4
pos=152+floor(17.8*(animelemtime(1)-80)),-160+25
vel=2*cos(sysvar(3)**2),2*sin(sysvar(3)**2)
removetime=-2
sprpriority=2147483645
pausemovetime=2147483647*ifelse(!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)<=95
anim=10081
scale=0.4,0.4
pos=152+floor(17.8*(animelemtime(1)-80)),-160+25
vel=2*cos(sysvar(3)**2),2*sin(sysvar(3)**2)
removetime=-2
sprpriority=2147483644
pausemovetime=2147483647*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(1)>=51&&animelemtime(1)<=65
projanim=40120
projremove=1
projremovetime=1
offset=80+floor(17.8*(animelemtime(1)-50)),-8
velocity=3,0
attr=s,sp
hitflag=mafp
guardflag=ma
damage=15,1
sparkno=-1
numhits=1
hitsound=s10,17
guardsound=s10,17
ground.type=high
ground.hittime=21
ground.slidetime=21
ground.velocity=-2,-4
fall=1
air.type=high
air.hittime=21
air.slidetime=21
air.velocity=-2.4,-4
air.fall=1
p2facing=1
p2stateno=1191
pausemovetime=2147483647*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(1)>=51&&animelemtime(1)<=65
projanim=40120
projremove=1
projremovetime=1
offset=115+floor(17.8*(animelemtime(1)-50)),-59
velocity=3,0
attr=s,sp
hitflag=mafp
guardflag=ma
damage=15,1
sparkno=-1
numhits=1
hitsound=s10,17
guardsound=s10,17
ground.type=high
ground.hittime=21
ground.slidetime=21
ground.velocity=-2,-4
fall=1
air.type=high
air.hittime=21
air.slidetime=21
air.velocity=-2.4,-4
air.fall=1
p2facing=1
p2stateno=1191
pausemovetime=2147483647*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(1)>=51&&animelemtime(1)<=65
projanim=40120
projremove=1
projremovetime=1
offset=150+floor(17.8*(animelemtime(1)-50)),-110
velocity=3,0
attr=s,sp
hitflag=mafp
guardflag=ma
damage=15,1
sparkno=-1
numhits=1
hitsound=s10,17
guardsound=s10,17
ground.type=high
ground.hittime=21
ground.slidetime=21
ground.velocity=-2,-4
fall=1
air.type=high
air.hittime=21
air.slidetime=21
air.velocity=-2.4,-4
air.fall=1
p2facing=1
p2stateno=1191
pausemovetime=2147483647*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(1)>=66&&animelemtime(1)<=80
projanim=40120
projremove=1
projremovetime=1
offset=152+floor(17.8*(animelemtime(1)-65)),-38
velocity=3,0
attr=s,sp
hitflag=mafp
guardflag=ma
damage=15,1
sparkno=-1
numhits=1
hitsound=s10,17
guardsound=s10,17
ground.type=high
ground.hittime=21
ground.slidetime=21
ground.velocity=-2,-4
fall=1
air.type=high
air.hittime=21
air.slidetime=21
air.velocity=-2.4,-4
air.fall=1
p2facing=1
p2stateno=1191
pausemovetime=2147483647*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(1)>=66&&animelemtime(1)<=80
projanim=40120
projremove=1
projremovetime=1
offset=139+floor(17.8*(animelemtime(1)-65)),-102
velocity=3,0
attr=s,sp
hitflag=mafp
guardflag=ma
damage=15,1
sparkno=-1
numhits=1
hitsound=s10,17
guardsound=s10,17
ground.type=high
ground.hittime=21
ground.slidetime=21
ground.velocity=-2,-4
fall=1
air.type=high
air.hittime=21
air.slidetime=21
air.velocity=-2.4,-4
air.fall=1
p2facing=1
p2stateno=1191
pausemovetime=2147483647*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(1)>=66&&animelemtime(1)<=80
projanim=40120
projremove=1
projremovetime=1
offset=126+floor(17.8*(animelemtime(1)-65)),-166
velocity=3,0
attr=s,sp
hitflag=mafp
guardflag=ma
damage=15,1
sparkno=-1
numhits=1
hitsound=s10,17
guardsound=s10,17
ground.type=high
ground.hittime=21
ground.slidetime=21
ground.velocity=-2,-4
fall=1
air.type=high
air.hittime=21
air.slidetime=21
air.velocity=-2.4,-4
air.fall=1
p2facing=1
p2stateno=1191
pausemovetime=2147483647*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(1)>=81&&animelemtime(1)<=95
projanim=40120
projremove=1
projremovetime=1
offset=54+floor(17.8*(animelemtime(1)-80)),-64+25
velocity=3,0
attr=s,sp
hitflag=mafp
guardflag=ma
damage=15,1
sparkno=-1
numhits=1
hitsound=s10,17
guardsound=s10,17
ground.type=high
ground.hittime=21
ground.slidetime=21
ground.velocity=-2,-4
fall=1
air.type=high
air.hittime=21
air.slidetime=21
air.velocity=-2.4,-4
air.fall=1
p2facing=1
p2stateno=1191
pausemovetime=2147483647*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(1)>=81&&animelemtime(1)<=95
projanim=40120
projremove=1
projremovetime=1
offset=103+floor(17.8*(animelemtime(1)-80)),-112+25
velocity=3,0
attr=s,sp
hitflag=mafp
guardflag=ma
damage=15,1
sparkno=-1
numhits=1
hitsound=s10,17
guardsound=s10,17
ground.type=high
ground.hittime=21
ground.slidetime=21
ground.velocity=-2,-4
fall=1
air.type=high
air.hittime=21
air.slidetime=21
air.velocity=-2.4,-4
air.fall=1
p2facing=1
p2stateno=1191
pausemovetime=2147483647*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(1)>=81&&animelemtime(1)<=95
projanim=40120
projremove=1
projremovetime=1
offset=152+floor(17.8*(animelemtime(1)-80)),-160+25
velocity=3,0
attr=s,sp
hitflag=mafp
guardflag=ma
damage=15,1
sparkno=-1
numhits=1
hitsound=s10,17
guardsound=s10,17
ground.type=high
ground.hittime=21
ground.slidetime=21
ground.velocity=-2,-4
fall=1
air.type=high
air.hittime=21
air.slidetime=21
air.velocity=-2.4,-4
air.fall=1
p2facing=1
p2stateno=1191
pausemovetime=2147483647*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
trigger1=animtime=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 1210];地面から炎がズビャァン！
type=s
movetype=a
physics=s
juggle=15
poweradd=ifelse(!ishelper,palno>=1&&palno<=6&&110,1)
velset=0,0
ctrl=0
sprpriority=2

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

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



;ムテキング
[state ]
type=nothitby
trigger1=animelemtime(1)>=10
value2=sca
ignorehitpause=1



;音響
[state ];はァ・・・
type=playsnd
trigger1=animelemtime(1)=10
value=s0,22
channel=0
ignorehitpause=1
[state ];ぐわーぉんがちゃこっ
type=playsnd
trigger1=animelemtime(1)=20
value=s10,6
ignorehitpause=1
[state ];ぶしゃぁぁあんびくびくびくびく
type=playsnd
trigger1=animelemtime(1)=20
value=s10,7
ignorehitpause=1



;画面＼(＾o＾)／
[state ]
type=envshake
trigger1=animelemtime(1)=20
time=15
ampl=11
freq=180
ignorehitpause=1
[state ]
type=bgpalfx
trigger1=animelemtime(1)=0
sinadd=-255,-255,-255,80
time=40
ignorehitpause=1



;魔法陣的な
[state ]
type=explod
trigger1=animelemtime(1)>=21&&animelemtime(1)<=40
anim=10150
trans=addalpha
alpha=256-12.8*(animelemtime(1)-20),12.8*(animelemtime(1)-20)
scale=0.6+0.2*(animelemtime(1)-20),0.15+0.05*(animelemtime(1)-20)
pos=-20,0
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
trigger1=animelemtime(1)>=26&&animelemtime(1)<=45
anim=10150
trans=addalpha
alpha=256-12.8*(animelemtime(1)-25),12.8*(animelemtime(1)-25)
scale=0.6+0.2*(animelemtime(1)-25),0.15+0.05*(animelemtime(1)-25)
pos=-20,0
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
trigger1=animelemtime(1)>=31&&animelemtime(1)<=50
anim=10150
trans=addalpha
alpha=256-12.8*(animelemtime(1)-30),12.8*(animelemtime(1)-30)
scale=0.6+0.2*(animelemtime(1)-30),0.15+0.05*(animelemtime(1)-30)
pos=-20,0
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
trigger1=animelemtime(1)>=21&&animelemtime(1)<=40
anim=10060
scale=0.7-0.035*(animelemtime(1)-20),20
pos=-20,-100
removetime=1
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
trigger1=animelemtime(1)>=21&&animelemtime(1)<=40
anim=10000
scale=0.7-0.035*(animelemtime(1)-20),20
pos=-20,-100
removetime=1
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
trigger1=animelemtime(1)=20
projanim=40100
projremove=1
projremovetime=20
offset=-20,0
attr=s,sp
hitflag=map
guardflag=ma
damage=70,30
sparkno=-1
numhits=1
ground.type=high
ground.hittime=21
ground.slidetime=21
ground.velocity=-16,-3
fall=1
air.type=high
air.hittime=21
air.slidetime=21
air.velocity=-16,-3
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=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
trigger1=animtime=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 1220];ドナドナα
type=s
movetype=a
physics=s
juggle=15
poweradd=ifelse(!ishelper,palno>=1&&palno<=6&&110,1)
velset=0,0
ctrl=0
sprpriority=2

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

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



;ムテキング
[state ]
type=nothitby
trigger1=animelemtime(1)>=0
value2=sca
ignorehitpause=1



;音響
[state ];どろろろん☆
type=playsnd
trigger1=animelemtime(1)=9
value=s10,10
ignorehitpause=1



;画面制御
[state ]
type=bgpalfx
trigger1=animelemtime(1)=0
sinadd=-255,-255,-255,60
time=15
ignorehitpause=1
[state ]
type=bgpalfx
trigger1=animelemtime(1)=15
add=-255,-255,-255
sinadd=255,255,255,160
time=40
ignorehitpause=1



;発生時のエフェクト１
[state ]
type=explod
trigger1=animelemtime(1)>=5&&animelemtime(1)<=29
anim=10150
trans=addalpha
alpha=256*cos(0.06283*(animelemtime(1)-4)),256*sin(0.06283*(animelemtime(1)-4))
scale=sin(0.06283*(animelemtime(1)-4)),sin(0.06283*(animelemtime(1)-4))
pos=100,-35
removetime=-2
sprpriority=2147483644
pausemovetime=2147483647*ifelse(!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)>=15&&animelemtime(1)<=39
anim=10150
trans=addalpha
alpha=256*cos(0.06283*(animelemtime(1)-14)),256*sin(0.06283*(animelemtime(1)-14))
scale=sin(0.06283*(animelemtime(1)-14)),sin(0.06283*(animelemtime(1)-14))
pos=100,-35
removetime=-2
sprpriority=2147483644
pausemovetime=2147483647*ifelse(!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)>=5&&animelemtime(1)<=24
anim=10210
trans=addalpha
alpha=256*cos(0.07854*(animelemtime(1)-4)),256*sin(0.07854*(animelemtime(1)-4))
scale=sin(0.07854*(animelemtime(1)-4)),sin(0.07854*(animelemtime(1)-4))
pos=100,-35
removetime=-2
sprpriority=2147483645
pausemovetime=2147483647*ifelse(!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)>=10&&animelemtime(1)<=29
anim=10220
facing=-1
trans=addalpha
alpha=256*cos(0.07854*(animelemtime(1)-9)),256*sin(0.07854*(animelemtime(1)-9))
scale=sin(0.07854*(animelemtime(1)-9)),sin(0.07854*(animelemtime(1)-9))
pos=100,-35
removetime=-2
sprpriority=2147483645
pausemovetime=2147483647*ifelse(!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)>=15&&animelemtime(1)<=34
anim=10210
facing=-1
trans=addalpha
alpha=256*cos(0.07854*(animelemtime(1)-14)),256*sin(0.07854*(animelemtime(1)-14))
scale=sin(0.07854*(animelemtime(1)-14)),sin(0.07854*(animelemtime(1)-14))
pos=100,-35
removetime=-2
sprpriority=2147483645
pausemovetime=2147483647*ifelse(!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&&animelemtime(1)<=39
anim=10220
facing=-1
trans=addalpha
alpha=256*cos(0.07854*(animelemtime(1)-19)),256*sin(0.07854*(animelemtime(1)-19))
scale=sin(0.07854*(animelemtime(1)-19)),sin(0.07854*(animelemtime(1)-19))
pos=100,-35
removetime=-2
sprpriority=2147483645
pausemovetime=2147483647*ifelse(!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&&animelemtime(1)<=39
anim=10021
scale=0.4,0.4
pos=100,-35
vel=2*cos(sysvar(3)),2*sin(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=explod
trigger1=animelemtime(1)>=20&&animelemtime(1)<=39
anim=10081
scale=0.4,0.4
pos=100,-35
vel=2*cos(sysvar(3)),2*sin(sysvar(3))
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
trigger1=animelemtime(1)>=5&&animelemtime(1)<=29
anim=10150
trans=addalpha
alpha=256*cos(0.06283*(animelemtime(1)-4)),256*sin(0.06283*(animelemtime(1)-4))
scale=sin(0.06283*(animelemtime(1)-4)),sin(0.06283*(animelemtime(1)-4))
pos=50,-225
removetime=-2
sprpriority=2147483644
pausemovetime=2147483647*ifelse(!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)>=15&&animelemtime(1)<=39
anim=10150
trans=addalpha
alpha=256*cos(0.06283*(animelemtime(1)-14)),256*sin(0.06283*(animelemtime(1)-14))
scale=sin(0.06283*(animelemtime(1)-14)),sin(0.06283*(animelemtime(1)-14))
pos=50,-225
removetime=-2
sprpriority=2147483644
pausemovetime=2147483647*ifelse(!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)>=5&&animelemtime(1)<=24
anim=10210
trans=addalpha
alpha=256*cos(0.07854*(animelemtime(1)-4)),256*sin(0.07854*(animelemtime(1)-4))
scale=sin(0.07854*(animelemtime(1)-4)),sin(0.07854*(animelemtime(1)-4))
pos=50,-225
removetime=-2
sprpriority=2147483645
pausemovetime=2147483647*ifelse(!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)>=10&&animelemtime(1)<=29
anim=10220
facing=-1
trans=addalpha
alpha=256*cos(0.07854*(animelemtime(1)-9)),256*sin(0.07854*(animelemtime(1)-9))
scale=sin(0.07854*(animelemtime(1)-9)),sin(0.07854*(animelemtime(1)-9))
pos=50,-225
removetime=-2
sprpriority=2147483645
pausemovetime=2147483647*ifelse(!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)>=15&&animelemtime(1)<=34
anim=10210
facing=-1
trans=addalpha
alpha=256*cos(0.07854*(animelemtime(1)-14)),256*sin(0.07854*(animelemtime(1)-14))
scale=sin(0.07854*(animelemtime(1)-14)),sin(0.07854*(animelemtime(1)-14))
pos=50,-225
removetime=-2
sprpriority=2147483645
pausemovetime=2147483647*ifelse(!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&&animelemtime(1)<=39
anim=10220
facing=-1
trans=addalpha
alpha=256*cos(0.07854*(animelemtime(1)-19)),256*sin(0.07854*(animelemtime(1)-19))
scale=sin(0.07854*(animelemtime(1)-19)),sin(0.07854*(animelemtime(1)-19))
pos=50,-225
removetime=-2
sprpriority=2147483645
pausemovetime=2147483647*ifelse(!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&&animelemtime(1)<=39
anim=10021
scale=0.4,0.4
pos=50,-225
vel=2*cos(sysvar(3)),2*sin(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=explod
trigger1=animelemtime(1)>=20&&animelemtime(1)<=39
anim=10081
scale=0.4,0.4
pos=50,-225
vel=2*cos(sysvar(3)),2*sin(sysvar(3))
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=helper
trigger1=animelemtime(1)=9
id=1221
stateno=1221
pos=100,-35
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
trigger1=animelemtime(1)=9
id=1222
stateno=1221
pos=50,-225
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
trigger1=animtime=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 1221]
anim=40000

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

;速度設定☆
[state ]
type=velset
triggerall=ishelper(1221)
trigger1=sysvar(1)=0
x=3
y=0
ignorehitpause=1
[state ]
type=velset
triggerall=ishelper(1222)
trigger1=sysvar(1)=0
x=3
y=2
ignorehitpause=1
[state ]
type=velset
triggerall=ishelper(1231)||ishelper(1232)
trigger1=sysvar(1)=0
x=2
y=4
ignorehitpause=1



;赤黒い弾
[state ]
type=explod
triggerall=ishelper(1221)||ishelper(1222)||ishelper(1231)||ishelper(1232)
trigger1=1
anim=10000
scale=0.2+0.04*cos(parent,sysvar(3)),0.2+0.04*sin(parent,sysvar(3))
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(1221)||ishelper(1222)||ishelper(1231)||ishelper(1232)
trigger1=1
anim=10060
scale=0.2+0.04*cos(parent,sysvar(3)),0.2+0.04*sin(parent,sysvar(3))
pos=0,0
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=ishelper(1221)||ishelper(1222)||ishelper(1231)||ishelper(1232)
trigger1=1
anim=10021
scale=0.75,0.75
pos=0,0
vel=2*cos(parent,sysvar(3)),2*sin(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=explod
triggerall=ishelper(1221)||ishelper(1222)||ishelper(1231)||ishelper(1232)
trigger1=1
anim=10081
scale=0.75,0.75
pos=0,0
vel=2*cos(parent,sysvar(3)),2*sin(parent,sysvar(3))
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=projectile
triggerall=ishelper(1221)||ishelper(1222)||ishelper(1231)||ishelper(1232)
trigger1=1
projanim=40110
projremove=1
projremovetime=1
offset=0,0
velocity=3,0
attr=s,sp
hitflag=mafdp
guardflag=ma
damage=10,1
sparkno=-1
numhits=1
hitsound=s10,14
guardsound=s0,10
ground.type=high
ground.hittime=21
ground.slidetime=21
ground.velocity=-2.4,0
air.type=high
air.hittime=21
air.slidetime=21
air.velocity=-2.4,-1
palfx.time=60
palfx.add=0,0,0
palfx.mul=100,5,5
palfx.sinadd=100,0,0,15
palfx.color=256
palfx.invertall=0
p2facing=1
p2stateno=1222
pausemovetime=2147483647*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(1221)||ishelper(1222)||ishelper(1231)||ishelper(1232)
trigger1=pos x>180
trigger2=pos x<-180
trigger3=pos y>280
trigger4=pos y<-280
ignorehitpause=1
[state ]
type=varset
triggerall=ishelper(1221)||ishelper(1222)||ishelper(1231)||ishelper(1232)
trigger1=1
sysvar(0)=stateno
ignorehitpause=1
[state ]
type=varadd
triggerall=ishelper(1221)||ishelper(1222)||ishelper(1231)||ishelper(1232)
trigger1=1
sysvar(1)=1
ignorehitpause=1

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

;邪眼キラー用
[state ]
type=changestate
triggerall=(sysfvar(0)=256002.0&&sysfvar(0)!=0.0)=0
trigger1=enemy(0),sysfvar(0)=256002.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)=256002.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=nothitby
trigger1=1
value=sca
ignorehitpause=1

[state ]
type=velset
trigger1=1
x=-1*abs(gethitvar(xvel))
y=gethitvar(yvel)
ignorehitpause=1

[state ]
type=selfstate
trigger1=time>10
value=5020
ignorehitpause=1

;----------------------------------------------------------------
[statedef 1230];ドナドナβ
type=s
movetype=a
physics=s
juggle=15
poweradd=ifelse(!ishelper,palno>=1&&palno<=6&&110,1)
velset=0,0
ctrl=0
sprpriority=2

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

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



;ムテキング
[state ]
type=nothitby
trigger1=animelemtime(1)>=0
value2=sca
ignorehitpause=1



;音響
[state ];どろろろん☆
type=playsnd
trigger1=animelemtime(1)=9
value=s10,10
ignorehitpause=1



;画面制御
[state ]
type=bgpalfx
trigger1=animelemtime(1)=0
sinadd=-255,-255,-255,60
time=15
ignorehitpause=1
[state ]
type=bgpalfx
trigger1=animelemtime(1)=15
add=-255,-255,-255
sinadd=255,255,255,160
time=40
ignorehitpause=1



;発生時のエフェクト１
[state ]
type=explod
trigger1=animelemtime(1)>=5&&animelemtime(1)<=29
anim=10150
trans=addalpha
alpha=256*cos(0.06283*(animelemtime(1)-4)),256*sin(0.06283*(animelemtime(1)-4))
scale=sin(0.06283*(animelemtime(1)-4)),sin(0.06283*(animelemtime(1)-4))
pos=60,-225
removetime=-2
sprpriority=2147483644
pausemovetime=2147483647*ifelse(!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)>=15&&animelemtime(1)<=39
anim=10150
trans=addalpha
alpha=256*cos(0.06283*(animelemtime(1)-14)),256*sin(0.06283*(animelemtime(1)-14))
scale=sin(0.06283*(animelemtime(1)-14)),sin(0.06283*(animelemtime(1)-14))
pos=60,-225
removetime=-2
sprpriority=2147483644
pausemovetime=2147483647*ifelse(!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)>=5&&animelemtime(1)<=24
anim=10210
trans=addalpha
alpha=256*cos(0.07854*(animelemtime(1)-4)),256*sin(0.07854*(animelemtime(1)-4))
scale=sin(0.07854*(animelemtime(1)-4)),sin(0.07854*(animelemtime(1)-4))
pos=60,-225
removetime=-2
sprpriority=2147483645
pausemovetime=2147483647*ifelse(!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)>=10&&animelemtime(1)<=29
anim=10220
facing=-1
trans=addalpha
alpha=256*cos(0.07854*(animelemtime(1)-9)),256*sin(0.07854*(animelemtime(1)-9))
scale=sin(0.07854*(animelemtime(1)-9)),sin(0.07854*(animelemtime(1)-9))
pos=60,-225
removetime=-2
sprpriority=2147483645
pausemovetime=2147483647*ifelse(!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)>=15&&animelemtime(1)<=34
anim=10210
facing=-1
trans=addalpha
alpha=256*cos(0.07854*(animelemtime(1)-14)),256*sin(0.07854*(animelemtime(1)-14))
scale=sin(0.07854*(animelemtime(1)-14)),sin(0.07854*(animelemtime(1)-14))
pos=60,-225
removetime=-2
sprpriority=2147483645
pausemovetime=2147483647*ifelse(!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&&animelemtime(1)<=39
anim=10220
facing=-1
trans=addalpha
alpha=256*cos(0.07854*(animelemtime(1)-19)),256*sin(0.07854*(animelemtime(1)-19))
scale=sin(0.07854*(animelemtime(1)-19)),sin(0.07854*(animelemtime(1)-19))
pos=60,-225
removetime=-2
sprpriority=2147483645
pausemovetime=2147483647*ifelse(!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&&animelemtime(1)<=39
anim=10021
scale=0.4,0.4
pos=60,-225
vel=2*cos(sysvar(3)),2*sin(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=explod
trigger1=animelemtime(1)>=20&&animelemtime(1)<=39
anim=10081
scale=0.4,0.4
pos=60,-225
vel=2*cos(sysvar(3)),2*sin(sysvar(3))
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
trigger1=animelemtime(1)>=5&&animelemtime(1)<=29
anim=10150
trans=addalpha
alpha=256*cos(0.06283*(animelemtime(1)-4)),256*sin(0.06283*(animelemtime(1)-4))
scale=sin(0.06283*(animelemtime(1)-4)),sin(0.06283*(animelemtime(1)-4))
pos=160,-225
removetime=-2
sprpriority=2147483644
pausemovetime=2147483647*ifelse(!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)>=15&&animelemtime(1)<=39
anim=10150
trans=addalpha
alpha=256*cos(0.06283*(animelemtime(1)-14)),256*sin(0.06283*(animelemtime(1)-14))
scale=sin(0.06283*(animelemtime(1)-14)),sin(0.06283*(animelemtime(1)-14))
pos=160,-225
removetime=-2
sprpriority=2147483644
pausemovetime=2147483647*ifelse(!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)>=5&&animelemtime(1)<=24
anim=10210
trans=addalpha
alpha=256*cos(0.07854*(animelemtime(1)-4)),256*sin(0.07854*(animelemtime(1)-4))
scale=sin(0.07854*(animelemtime(1)-4)),sin(0.07854*(animelemtime(1)-4))
pos=160,-225
removetime=-2
sprpriority=2147483645
pausemovetime=2147483647*ifelse(!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)>=10&&animelemtime(1)<=29
anim=10220
facing=-1
trans=addalpha
alpha=256*cos(0.07854*(animelemtime(1)-9)),256*sin(0.07854*(animelemtime(1)-9))
scale=sin(0.07854*(animelemtime(1)-9)),sin(0.07854*(animelemtime(1)-9))
pos=160,-225
removetime=-2
sprpriority=2147483645
pausemovetime=2147483647*ifelse(!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)>=15&&animelemtime(1)<=34
anim=10210
facing=-1
trans=addalpha
alpha=256*cos(0.07854*(animelemtime(1)-14)),256*sin(0.07854*(animelemtime(1)-14))
scale=sin(0.07854*(animelemtime(1)-14)),sin(0.07854*(animelemtime(1)-14))
pos=160,-225
removetime=-2
sprpriority=2147483645
pausemovetime=2147483647*ifelse(!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&&animelemtime(1)<=39
anim=10220
facing=-1
trans=addalpha
alpha=256*cos(0.07854*(animelemtime(1)-19)),256*sin(0.07854*(animelemtime(1)-19))
scale=sin(0.07854*(animelemtime(1)-19)),sin(0.07854*(animelemtime(1)-19))
pos=160,-225
removetime=-2
sprpriority=2147483645
pausemovetime=2147483647*ifelse(!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&&animelemtime(1)<=39
anim=10021
scale=0.4,0.4
pos=160,-225
vel=2*cos(sysvar(3)),2*sin(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=explod
trigger1=animelemtime(1)>=20&&animelemtime(1)<=39
anim=10081
scale=0.4,0.4
pos=160,-225
vel=2*cos(sysvar(3)),2*sin(sysvar(3))
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=helper
trigger1=animelemtime(1)=9
id=1231
stateno=1221
pos=60,-225
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
trigger1=animelemtime(1)=9
id=1232
stateno=1221
pos=160,-225
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
trigger1=animtime=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

;---------------------------------------------------------------------------
;overridecommonstates(usesamenumbertooverride):
;---------------------------------------------------------------------------
[statedef 1895]
type=l
movetype=h
physics=n
juggle=0
anim=5110
ctrl=0
sprpriority=2

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

[state 5110,envshake]
type=fallenvshake
trigger1=time=0

[state 5110,1]
type=changeanim
persistent=0
trigger1=var(57)=1
value=5111

[state 5110,4]
type=hitfalldamage
trigger1=time=0

[state 5110,5]
type=posset
trigger1=time=0
y=0

[state 5110,var];getfallvelocity
type=varset
trigger1=time=0
trigger1=gethitvar(fall.yvel)!=0
var(51)=floor(vel y)

[state 5110,6]
type=playsnd
trigger1=time=0
trigger1=!var(50)
value=f7,(var(51)>5)+(var(51)>14)

[state 5110,7]
type=gamemakeanim
trigger1=time=0
trigger1=!var(50)
value=60+(var(51)>5)+(var(51)>14)
pos=0,0
under=var(51)<=14

[state 5110,8]
type=velset
trigger1=time=0
y=0

[state 5110,13];friction
type=velmul
trigger1=1
x=0.85

[state 5110,14]
type=forcefeedback
trigger1=alive
trigger1=time=0
time=8
ampl=240
waveform=sine

[state 5110,15]
type=forcefeedback
trigger1=!alive
trigger1=time=0
ampl=200,7,-.467
time=30
waveform=sine

[state 5110,11];ifjustdied
type=changestate
triggerall=!alive
trigger1=animtime=0
value=5150

[state 5110,11];ifjustdied
type=changestate
triggerall=alive
trigger1=time=35
value=5120

;ジャンプ
[statedef 40]
type=s
physics=s
anim=40
ctrl=0
velset=0,0
sprpriority=1

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

[state 40]
type=varset
trigger1=time=0
var(52)=command="Hjump"||prevstateno=[100,102]

[state 40]
type=varset
trigger1=time=0
var(51)=command="holdfwd"-command="holdback"

[state 40,varset]
type=varset
trigger1=time=0
var(53)=0

;普通
[state 40]
type=velset
trigger1=animtime=0
x=ifelse(var(51)=0,0,ifelse(var(51)=1,const(velocity.jump.fwd.x),const(velocity.jump.back.x)))
y=const(velocity.jump.y)

;大
[state 40]
type=velset
trigger1=animtime=0&&var(52)&&!var(53)
x=ifelse(var(51)=0,0,ifelse(var(51)=1,4.1,-3.1))
y=-8.6

[state 40,changestate]
type=changestate
trigger1=animtime=0
value=50
ctrl=1

;-----------------------------
[statedef 50]
type=a
physics=a

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

[state 1020,1]
type=playsnd
trigger1=time=0&&var(52)&&!var(53)
value=s0,66

[state 1020,1]
type=playsnd
trigger1=time=0&&!var(52)&&!var(53)
value=s0,65

[state 50,1]
type=varset
trigger1=time=0
var(51)=0

[state 50]
type=changeanim
trigger1=time=0&&var(52)&&!var(53)
value=41+(vel x>0)+(vel x<0)*2

[state 50,afterimage]
type=afterimage
trigger1=time=0&&var(52)&&!var(53);&&vel x
time=15
length=9
framegap=4
trans=add1
palcontrast=100,100,100
;paladd=0,0,0
palmul=1,1,1

[state 50]
type=changeanim
trigger1=time=0
value=41+(vel x>0)+(vel x<0)*2
