;エレキテル
[statedef 1000]
type=S
movetype=A
physics=S
ctrl=0
[state ]
type=changeanim
trigger1=anim!=stateno
value=stateno
ignorehitpause=1
[state ]
type=playsnd
trigger1=animelem=2
value=s5030,6
[state ]
type=playsnd
trigger1=animelemtime(1)=[20,120]
trigger1=animelemtime(1)%20=0
value=s5000,2
[state ]
type=explod
trigger1=animelem=9
postype =p1
bindtime = -1
pos = 0,-165
anim = 30400
id = 30400
ontop = 3
removetime = -1
ownpal = 1
scale=1,1
trans = add
[state ]
type=explod
trigger1=animelem=9
postype =p1
bindtime = -1
pos = 0,-165
anim = 30401
id = 30400
ontop = 3
removetime = -1
ownpal = 1
scale=1,1
trans = add
supermovetime=2147483647
pausemovetime=2147483647
[state ]
type=explod
trigger1=animelem=7
postype =p1
bindtime = -1
pos = 0,-165
anim = 30400
id = 30400
ontop = 3
removetime = -1
ownpal = 1
scale=1,1
trans = add
supermovetime=2147483647
pausemovetime=2147483647
[state ]
type=explod
trigger1=animelem=8
postype =p1
bindtime = -1
pos = 0,-165
anim = 30401
id = 30400
ontop = 3
removetime = -1
ownpal = 1
scale=1,1
trans = add
supermovetime=2147483647
pausemovetime=2147483647
[state ]
type=removeexplod
trigger1=animelemtime(1)=140
id=30400
[state ]
type=projectile
trigger1=animelemtime(1)=[10,120]
trigger1=gametime%10=0
projid=1002
projanim=1002
projremove=0
projremovetime=40
projhitanim=-1
postype=p1
offset=0,0
attr=S,SA
damage=38, 0
getpower=61,61
animtype=light
guardflag=MA
hitflag=MAF
priority=3,hit
pausetime=0,10
sparkno=-1
sparkxy=-5,-89
hitsound=s5030,5
guard.sparkno=-1
guardsound=s120,0
ground.type=high
ground.slidetime=9
ground.hittime=9
ground.velocity=-6
airguard.velocity=-1.9,-2
air.type=low
air.velocity=-1.4,-3
air.hittime=12
[state ]
type=changestate
trigger1=animelemtime(1)>140
value=1001
[state ]
type=changestate
trigger1=!var(9)
value=153
ignorehitpause=1
[statedef 1001]
type=U
movetype=I
physics=U
[state ]
type=changeanim
trigger1=anim!=stateno
value=stateno
ignorehitpause=1
[state ]
type=changestate
trigger1=animtime=0
value=0
ctrl=1
[state ]
type=changestate
trigger1=!var(9)
value=153
ignorehitpause=1
;==========================================================================
;ライトニングボール
[statedef 1100]
type=S
movetype=A
physics=S
ctrl=0
[state ]
type=changeanim
trigger1=anim!=stateno
value=stateno
ignorehitpause=1
[state ]
type=playsnd
trigger1=animelemtime(1)=14
value=s1200,0
[state ]
type=playsnd
trigger1=animelemtime(1)=20
value=s5030,4
[state ]
type=changestate
trigger1=animtime=0
value=0
ctrl=1
[state ]
type=changestate
trigger1=!var(9)
value=153
ignorehitpause=1
;==========================================================================
;スタンショック
[statedef 1200]
type=S
movetype=A
physics=S
ctrl=0
[state ]
type=changeanim
trigger1=anim!=stateno
value=stateno
ignorehitpause=1
[state ]
type=playsnd
trigger1=animelem=5
value=s1200,0
[state ]
type=changestate
trigger1=animtime=0
value=0
ctrl=1
[state ]
type=changestate
trigger1=!var(9)
value=153
ignorehitpause=1
;==========================================================================
;オーバースタンショック
[statedef 1210]
type=S
movetype=A
physics=S
ctrl=0
[state ]
type=changeanim
trigger1=anim!=stateno
value=stateno
ignorehitpause=1
[state ]
type=playsnd
trigger1=animelem=6
value=s1200,0
[state ]
type=changestate
trigger1=animtime=0
value=0
ctrl=1
[state ]
type=changestate
trigger1=!var(9)
value=153
ignorehitpause=1
;==========================================================================