;===========================================================================
;Lv2超必殺技
;===========================================================================
;---------------------------------------------------------------------------
;光線を撃つ
[Statedef 3000]
type    = S
movetype = A
physics = S
velset = 0,0
ctrl = 0
anim = 3050
poweradd = -2000
sprpriority = 10

[State 3000]
type = playsnd
trigger1 = Anim = 3050
trigger1 = Time = 0
value = 2,10
freqmul = 0.85
volume = -25
[State 3000]
type = playsnd
trigger1 = Anim = 3050
trigger1 = Time = 0
value = 2,11
freqmul = 1.2
volume = -25
[State 3000]
type = playsnd
trigger1 = Anim = 3050
trigger1 = Time = 0
value = 2,12
freqmul = 1.1
volume = 255
[State 3000]
type = playsnd
trigger1 = Anim = 3050
trigger1 = Time = 0
value = 2,12
freqmul = 1.5
volume = 255

[State 2000]
type = Explod
trigger1 = Anim = 3050
trigger1 = Time = 0
trigger2 = Time = 10
trigger3 = Time = 20
trigger4 = Time = 30
anim = 1002
postype = p1
pos = -25,-122
scale = 0.5,0.5
sprpriority = 15
removetime = -2
bindtime = -1

[State 3000]
type = Explod
trigger1 = Anim = 3050
trigger1 = Time = 0
anim = 4009
postype = p1
pos = -25,-122
scale = 0.3,0.3
sprpriority = 15
removetime = -2
bindtime = -1
[State 3000]
type = Explod
trigger1 = Anim = 3050
trigger1 = Time = 0
anim = 4009
postype = p1
pos = -25,-122
scale = 0.5,0.5
sprpriority = 5
removetime = -2
bindtime = -1

[State 3050]
type = BGPalFX
trigger1 = 1
time = 2
mul = 25,25,25
invertall = 1
color = 0

[State 3000]
type = Projectile
trigger1 = Anim = 3050
trigger1 = Time = [50,150]
projanim = 3202
projID = 3000
projremovetime = 2
projscale = 1,1
pausetime = 100,100
offset = 45,-100
attr = S,HA
damage = 999999999999*ifelse(random%2=0,1,-1),999999999999*ifelse(random%2=0,1,-1)
animtype = Medium
guardflag = 
sparkxy = 999999,9999999
ground.slidetime = 999
ground.hittime = 999
fall = 1
ignorehitpause = 1

[State 3000]
type = Explod
trigger1 = Anim = 3050
trigger1 = Time = 50
anim = 3201
postype = p1
pos = 45,-100
scale = 0.6,0.6
sprpriority = 15
removetime = 100
bindtime = -1
[State 3000]
type = Explod
trigger1 = Anim = 3050
trigger1 = Time = 50
anim = 3201
postype = p1
pos = 45,-100
scale = 0.3,0.3
sprpriority = 15
removetime = 105
bindtime = -1
[State 3000]
type = Explod
trigger1 = Anim = 3050
trigger1 = Time = 50
anim = 3201
postype = p1
pos = 45,-100
scale = 0.15,0.15
sprpriority = 15
removetime = 110
bindtime = -1

[State 3000]
type = playsnd
trigger1 = Anim = 3050
trigger1 = Time = 50
trigger2 = Anim = 3200
trigger2 = Time = 171
value = 2,34
freqmul = 1.12
volume = -25
[State 3000]
type = playsnd
trigger1 = Anim = 3050
trigger1 = Time = 50
trigger2 = Anim = 3200
trigger2 = Time = 171
value = 2,33
freqmul = 2.7
volume = -25
[State 3000]
type = playsnd
trigger1 = Anim = 3050
trigger1 = Time = 50
trigger2 = Anim = 3200
trigger2 = Time = 171
value = 2,32
freqmul = 0.5
volume = 125
[State 3000]
type = playsnd
trigger1 = Anim = 3050
trigger1 = Time = 50
trigger2 = Anim = 3200
trigger2 = Time = 171
value = 2,32
freqmul = 0.75
volume = 125
[State 3000]
type = playsnd
trigger1 = Anim = 3050
trigger1 = Time = 50
trigger2 = Anim = 3200
trigger2 = Time = 171
value = 2,32
freqmul = 1.0
volume = 125

[State 3000]
type = Explod
trigger1 = Anim = 3050
trigger1 = Time = [50,150]
anim = 1+random%3
postype = p1
pos = 45,-100
random = 50,50
velocity = (random%3)*5,0
scale = fvar(0),fvar(0)
accel = fvar(1)*2,0
removetime = -2
sprpriority = random%21
trans = Addalpha
alpha = random%257,256
[State 3000]
type = Explod
trigger1 = Anim = 3050
trigger1 = Time = [50,150]
anim = 1+random%3
postype = p1
pos = 45,-100
random = 50,50
velocity = (random%3)*5,0
scale = fvar(0),fvar(0)
accel = fvar(1)*2,0
removetime = -2
sprpriority = random%21
trans = Addalpha
alpha = random%257,256

[State 3000]
type = Explod
trigger1 = Anim = 3050
trigger1 = Time = [50,150]
trigger1 = Time%5 = 0
anim = 1002
postype = p1
pos = 45,-100
scale = 0.125,0.5
sprpriority = 15
removetime = -2
bindtime = -1

[State 3000]
type = ChangeAnim
trigger1 = Anim = 3050
trigger1 = Time > 150
value = 3200

[State 3000]
type = Projectile
trigger1 = Anim = 3200
trigger1 = Time = [171,271]
projanim = 3203
projID = 3000
projremovetime = 2
projscale = 1,1
offset = 60,-75
attr = S,HA
damage = 0,0
animtype = Medium
guardflag = 
sparkxy = 999999,9999999
ground.slidetime = 999
ground.hittime = 999
p2stateno = 100000
fall = 1
ignorehitpause = 1

[State 3000]
type = Explod
trigger1 = Anim = 3200
trigger1 = Time = 171
anim = 3201
postype = p1
pos = 60,-75
scale = 0.8,0.8
sprpriority = 15
removetime = 100
bindtime = -1
[State 3000]
type = Explod
trigger1 = Anim = 3200
trigger1 = Time = 171
anim = 3201
postype = p1
pos = 60,-75
scale = 0.4,0.4
sprpriority = 15
removetime = 105
bindtime = -1
[State 3000]
type = Explod
trigger1 = Anim = 3200
trigger1 = Time = 171
anim = 3201
postype = p1
pos = 60,-75
scale = 0.2,0.2
sprpriority = 15
removetime = 110
bindtime = -1

[State 3000]
type = Explod
trigger1 = Anim = 3200
trigger1 = Time = [171,271]
anim = 1+random%3
postype = p1
pos = 60,-75
random = 65,65
velocity = (random%3)*5,0
scale = fvar(0),fvar(0)
accel = fvar(1)*2,0
removetime = -2
sprpriority = random%21
trans = Addalpha
alpha = random%257,256
[State 3000]
type = Explod
trigger1 = Anim = 3200
trigger1 = Time = [171,271]
anim = 1+random%3
postype = p1
pos = 60,-75
random = 65,65
velocity = (random%3)*5,0
scale = fvar(0),fvar(0)
accel = fvar(1)*2,0
removetime = -2
sprpriority = random%21
trans = Addalpha
alpha = random%257,256

[State 3000]
type = Explod
trigger1 = Anim = 3200
trigger1 = Time = [171,271]
trigger1 = Time%5 = 0
anim = 1002
postype = p1
pos = 60,-75
scale = 0.125,0.5
sprpriority = 15
removetime = -2
bindtime = -1

[State 3000]
type = Projectile
trigger1 = Anim = 3200
trigger1 = Time = [309,409]
projanim = 3204
projID = 3000
projremovetime = 2
projscale = 1,1
offset = 15,-90
attr = S,HA
damage = 0,0
animtype = Medium
guardflag = 
sparkxy = 999999,9999999
ground.slidetime = 999
ground.hittime = 999
p2stateno = 100010
fall = 1
ignorehitpause = 1

[state 3000]
type = helper
trigger1 = numhelper(100011) = 0
trigger1 = Anim = 3200
trigger1 = Time = 309
stateno = 100011
helpertype = player
name = "HyperKill-Reversal"
id = 100011
pos = 0,0
postype = p1
ownpal = 0
keyctrl = 0
ignorehitpause = 1
pausemovetime = 99999
supermovetime = 99999

[State 3000]
type = playsnd
trigger1 = Anim = 3200
trigger1 = Time = 309
value = 2,34
freqmul = 1.0
volume = -25
[State 3000]
type = playsnd
trigger1 = Anim = 3200
trigger1 = Time = 309
value = 2,34
freqmul = 1.2
volume = -25
[State 3000]
type = playsnd
trigger1 = Anim = 3200
trigger1 = Time = 309
value = 2,34
freqmul = 1.4
volume = -25
[State 3000]
type = playsnd
trigger1 = Anim = 3200
trigger1 = Time = 309
value = 2,33
freqmul = 1.75
volume = -25

[State 3000]
type = Explod
trigger1 = Anim = 3200
trigger1 = Time = 309
anim = 3201
postype = p1
pos = 15,-90
scale = 1,1
sprpriority = 15
removetime = 100
bindtime = -1
[State 3000]
type = Explod
trigger1 = Anim = 3200
trigger1 = Time = 309
anim = 3201
postype = p1
pos = 15,-90
scale = 0.5,0.5
sprpriority = 15
removetime = 105
bindtime = -1
[State 3000]
type = Explod
trigger1 = Anim = 3200
trigger1 = Time = 309
anim = 3201
postype = p1
pos = 15,-90
scale = 0.25,0.25
sprpriority = 15
removetime = 105
bindtime = -1

[State 3000]
type = Explod
trigger1 = Anim = 3200
trigger1 = Time = [309,409]
anim = 1+random%3
postype = p1
pos = 15,-90
random = 70,70
velocity = (random%3)*5,0
scale = fvar(0),fvar(0)
accel = fvar(1)*2,0
removetime = -2
sprpriority = random%21
trans = Addalpha
alpha = random%257,256
[State 3000]
type = Explod
trigger1 = Anim = 3200
trigger1 = Time = [309,409]
anim = 1+random%3
postype = p1
pos = 15,-90
random = 70,70
velocity = (random%3)*5,0
scale = fvar(0),fvar(0)
accel = fvar(1)*2,0
removetime = -2
sprpriority = random%21
trans = Addalpha
alpha = random%257,256

[State 3000]
type = Explod
trigger1 = Anim = 3200
trigger1 = Time = [309,409]
trigger1 = Time%5 = 0
anim = 1002
postype = p1
pos = 15,-90
scale = 0.125,0.5
sprpriority = 15
removetime = -2
bindtime = -1

[State 3000]
type = ChangeState
trigger1 = Anim = 3200
trigger1 = AnimTime = 0
value = 0
ctrl = 1
;---------------------------------------------------------------------------
;光を浴びせる
[Statedef 3050]
type    = S
movetype = A
physics = S
velset = 0,0
ctrl = 0
anim = 3000
poweradd = -2000
sprpriority = 10

[State 3050]
type = playsnd
trigger1 = Time = 0
value = 2,10
freqmul = 0.85
volume = -25
[State 3050]
type = playsnd
trigger1 = Time = 0
value = 2,11
freqmul = 1.2
volume = -25
[State 3050]
type = playsnd
trigger1 = Time = 0
value = 2,12
freqmul = 1.1
volume = 255
[State 3050]
type = playsnd
trigger1 = Time = 0
value = 2,12
freqmul = 1.5
volume = 255

[State 2050]
type = Explod
trigger1 = Time = 0
trigger2 = Time = 10
trigger3 = Time = 20
trigger4 = Time = 30
anim = 1002
postype = p1
pos = 2,-130
scale = 0.5,0.5
sprpriority = 15
removetime = -2
bindtime = -1

[State 3050]
type = Explod
trigger1 = Time = 0
anim = 4009
postype = p1
pos = 2,-130
scale = 0.3,0.3
sprpriority = 15
removetime = -2
bindtime = -1
[State 3050]
type = Explod
trigger1 = Time = 0
anim = 4009
postype = p1
pos = 2,-130
scale = 0.5,0.5
sprpriority = 5
removetime = -2
bindtime = -1

[State 3050]
type = BGPalFX
trigger1 = 1
time = 2
mul = 25,25,25
invertall = 1
color = 0

[State 3050]
type = Explod
trigger1 = Time = 50
anim = 3250
postype = left
pos = 0,0
scale = 0.5,0.5
sprpriority = 99999
removetime = -2
bindtime = -1

[State 3050]
type = Explod
trigger1 = Time = 52
anim = 3250
postype = left
pos = 0,0
scale = 0.5,0.5
sprpriority = 99999
trans = Addalpha
alpha = 128,256
removetime = -2
bindtime = -1

[State 3050]
type = playsnd
trigger1 = Time = 50
value = 2,35
freqmul = 0.8
[State 3050]
type = playsnd
trigger1 = Time = 50
value = 2,35
freqmul = 0.9
[State 3050]
type = playsnd
trigger1 = Time = 50
value = 2,35
freqmul = 1.0
[State 3050]
type = playsnd
trigger1 = Time = 50
value = 2,35
freqmul = 1.1
[State 3050]
type = playsnd
trigger1 = Time = 50
value = 2,35
freqmul = 1.2

[State 3050]
type = helper
trigger1 = Time = 50
trigger1 = numhelper(100020) = 0
stateno = 100020
helpertype = player
name = "OTHKiller-Revarsal"
id = 100020
pos = 0,0
postype = p1
ownpal = 0
[State 3050]
type = helper
trigger1 = Time = 50
trigger1 = numhelper(100021) = 0
stateno = 100021
helpertype = player
name = "OTHKiller-Damege"
id = 100021
pos = 0,0
postype = p1
ownpal = 0
[State 3050]
type = helper
trigger1 = Time = 50
trigger1 = numhelper(100011) = 0
stateno = 100011
helpertype = player
name = "HyperKill-Revarsal"
id = 100011
pos = 0,0
postype = p1
ownpal = 0
[State 3050]
type = helper
trigger1 = Time = 50
trigger1 = numhelper(100030) = 0
stateno = 100030
helpertype = player
name = "ShredderKiller-HitDef"
id = 100030
pos = 0,0
postype = p1
ownpal = 0

[State 3050]
type = Projectile
trigger1 = Time = [50,220]
projanim = 6000
projID = 3000
projremovetime = 2
projscale = 1,1
offset = 0,0
attr = S,HA
damage = 0,0
animtype = Medium
guardflag = 
sparkxy = 999999,9999999
ground.slidetime = 999
ground.hittime = 999
p2stateno = 100010
ignorehitpause = 1

[State 3050]
type = ChangeState
trigger1 = time = 240
value = 3051
ctrl = 0
;---------------------------------------------------------------------------
;光を浴びせる：終了
[Statedef 3051]
type    = S
movetype = A
physics = S
velset = 0,0
ctrl = 0
anim = 3003
poweradd = 0
sprpriority = 10

[State 3051]
type = ChangeState
trigger1 = AnimTime = 0
value = 0
ctrl = 1
;---------------------------------------------------------------------------