;ヘルパー用
;---------------------------------------------------------------------------
投げ用血液1
[Statedef 840]
type     = A
movetype = I
physics  = N
ctrl     = 0
anim     = 11204
SprPriority = 2

[state 840]
type = velset
trigger1 = 1
x = 0
y = 0

[state 840]
type = destroyself
trigger1 = animtime = 0

;---------------------------------------------------------------------------
;投げ用血液1
[Statedef 841]
type     = A
movetype = I
physics  = N
ctrl     = 0
anim     = 11203
facing = -1
SprPriority = 2

[state 841]
type = veladd
trigger1 = time = 1
x = .5 + (random % 9/10)
y = -3.5 - (random % 27/10)

[state 841]
type = veladd
trigger1 = time > 0
y = .25

[State 841, ステート変更]
type = ChangeState
trigger1 = Pos Y >= 0
value = 840
ctrl = 0

;---------------------------------------------------------------------------
;青海の生首
[Statedef 11300]
type     = A
movetype = I
physics  = N
ctrl     = 0
anim     = 11300
SprPriority = 2

[State 192]
type =  gravity
trigger1 = ! Pos Y >= -9

[State 192]
type =  veladd
trigger1 = time = 1
x=.9
y=-12

[State 192]
type = AngleDraw
trigger1 = 1

[State 192]
type = AngleAdd
trigger1 = ! Pos Y >= -9
value = 10

[State 192]
type = AngleAdd
trigger1 =  Pos Y >= -9
value = -10

[State 192]
type =  velset
trigger1 = Pos Y >= -9
x=0
y=0

[state 192]
type = destroyself
trigger1 = time = 190

;---------------------------------------------------------------------------
;カンフーマンの生首
[Statedef 11301]
type     = A
movetype = I
physics  = N
ctrl     = 0
anim     = 11301
SprPriority = 2

[State 192]
type =  gravity
trigger1 = ! Pos Y >= -12

[State 192]
type =  veladd
trigger1 = time = 1
x=.9
y=-12

[State 192]
type = AngleDraw
trigger1 = 1

[State 192]
type = AngleAdd
trigger1 = ! Pos Y >= -12
value = 10

[State 192]
type = AngleAdd
trigger1 =  Pos Y >= -12
value = -10

[State 192]
type =  velset
trigger1 = Pos Y >= -12
x=0
y=0

[state 192]
type = destroyself
trigger1 = time = 190

;---------------------------------------------------------------------------
;リムルルの生首
[Statedef 11302]
type     = A
movetype = I
physics  = N
ctrl     = 0
anim     = 11302
SprPriority = 2

[State 192]
type =  gravity
trigger1 = ! Pos Y >= -11

[State 192]
type =  veladd
trigger1 = time = 1
x=.9
y=-12

[State 192]
type = AngleDraw
trigger1 = 1

[State 192]
type = AngleAdd
trigger1 = ! Pos Y >= -11
value = 10

[State 192]
type = AngleAdd
trigger1 =  Pos Y >= -11
value = -10

[State 192]
type =  velset
trigger1 = Pos Y >= -11
x=0
y=0

[state 192]
type = destroyself
trigger1 = time = 190

;---------------------------------------------------------------------------
液体弱
[Statedef 3000]
type    = A
movetype= A
physics = N
velset = 0,0
anim = 1011
poweradd = 0
ctrl = 0
sprpriority = 2

[state 3000]
type = playerpush
trigger1 = time >= 0
value = 0

[state 3000]
type = nothitby
trigger1 = time >= 0
value = SCA, NA, SA, HA, NT, ST, HT

[state 3000]
type = gravity
trigger1 = time >= 0

[state 3000]
type = veladd
trigger1 = time = 1
x = 3.1
y = -5.2

[State 3000, ヒット定義]
type = HitDef
trigger1 = time >= 1
attr = S, SA
animtype  = Medium
priority = 1, hit
damage    = 58,0
poweradd = 52,26
guardflag = MA
pausetime = 2,2
sparkno = 1
sparkxy = -4,4
hitsound   = s1030,1
guardsound = s120,0
ground.type = High
ground.slidetime = 9
ground.hittime  = 9
ground.velocity = -1.7,0
air.velocity = -1.7,-.7

[State 3000, ステート変更]
type = ChangeState
trigger1 = movehit
trigger2 = moveguarded
value = 3010
ctrl = 0

[State 3000, ステート変更]
type = ChangeState
trigger1 = Pos Y >= 0
value = 3011
ctrl = 0

;---------------------------------------------------------------------------
液体中
[Statedef 3001]
type    = A
movetype= A
physics = N
velset = 0,0
anim = 1011
poweradd = 0
ctrl = 0
sprpriority = 2

[state 3001]
type = playerpush
trigger1 = time >= 0
value = 0

[state 3001]
type = nothitby
trigger1 = time >= 0
value = SCA, NA, SA, HA, NT, ST, HT

[state 3001]
type = gravity
trigger1 = time >= 0

[state 3001]
type = veladd
trigger1 = time = 1
x = 4.3
y = -6

[State 3001, ヒット定義]
type = HitDef
trigger1 = time >= 1
attr = S, SA
animtype  = Medium
priority = 1, hit
damage    = 64,0
poweradd = 52,26
guardflag = MA
pausetime = 2,2
sparkno = 1
sparkxy = -4,4
hitsound   = s1030,1
guardsound = s120,0
ground.type = High
ground.slidetime = 6
ground.hittime  = 6
ground.velocity = -1.7,0
air.velocity = -1.7,-.7

[State 3001, ステート変更]
type = ChangeState
trigger1 = movehit
trigger2 = moveguarded
value = 3010
ctrl = 0

[State 3001, ステート変更]
type = ChangeState
trigger1 = Pos Y >= 0
value = 3011
ctrl = 0

;---------------------------------------------------------------------------
液体強
[Statedef 3002]
type    = A
movetype= A
physics = N
velset = 0,0
anim = 1011
poweradd = 0
ctrl = 0
sprpriority = 2

[state 3002]
type = playerpush
trigger1 = time >= 0
value = 0

[state 3002]
type = nothitby
trigger1 = time >= 0
value = SCA, NA, SA, HA, NT, ST, HT

[state 3002]
type = gravity
trigger1 = time >= 0

[state 3002]
type = veladd
trigger1 = time = 1
x = 5.2
y = -7.9

[State 3002, ヒット定義]
type = HitDef
trigger1 = time >= 1
attr = S, SA
animtype  = Medium
priority = 1, hit
damage    = 67,0
poweradd = 52,26
guardflag = MA
pausetime = 2,2
sparkno = 1
sparkxy = -4,4
hitsound   = s1030,1
guardsound = s120,0
ground.type = High
ground.slidetime = 5
ground.hittime  = 4
ground.velocity = -1.7,0
air.velocity = -1.7,-.7

[State 3002, ステート変更]
type = ChangeState
trigger1 = movehit
trigger2 = moveguarded
value = 3010
ctrl = 0

[State 3002, ステート変更]
type = ChangeState
trigger1 = Pos Y >= 0
value = 3011
ctrl = 0

;---------------------------------------------------------------------------
破裂する液体
[Statedef 3010]
type    = A
movetype= I
physics = N
velset = 0,0
anim = 1012
poweradd = 0
ctrl = 0
sprpriority = 2

[state 3010]
type = destroyself
trigger1 = animtime = 0

;---------------------------------------------------------------------------
地に落ちた液体
[Statedef 3011]
type    = A
movetype= I
physics = N
velset = 0,0
anim = 196
poweradd = 0
ctrl = 0
sprpriority = 1

[State 3011]
type = Explod
trigger1 = time = 0
sprpriority = 1
anim = 1013
postype = p1
pos = 0, 0
scale = .7,.7
removetime = 30

[State 3011]
type = Explod
trigger1 = time = [30, 41]
sprpriority = 1
anim = 1013
postype = p1
pos = 0, 0
scale = 2.575-(time*.0625),2.575-(time*.0625)
removetime = 1

[State 3011]
type = PlaySnd
trigger1 = time = 0
value = 1030, 2

[state 3011]
type = assertspecial
trigger1 = time >= 0
flag = noshadow

[state 3011]
type = destroyself
trigger1 = time = 42

;---------------------------------------------------------------------------
滴る謎液
[Statedef 3020]
type    = A
movetype= I
physics = N
velset = 0,0
anim = 1024
poweradd = 0
ctrl = 0
sprpriority = 2

[state 3020]
type = veladd
trigger1 = time = 1
x = 0
y = -1

[state 3020]
type = veladd
trigger1 = time = 2
x = 0
y = 5

[State 3020, ステート変更]
type = ChangeState
trigger1 = Pos Y >= 0
value = 3021
ctrl = 0

;---------------------------------------------------------------------------
地に落ちた謎液
[Statedef 3021]
type    = A
movetype= I
physics = N
velset = 0,0
anim = 196
poweradd = 0
ctrl = 0
sprpriority = 1

[State 3021]
type = Explod
trigger1 = time = 0
sprpriority = 1
anim = 1025
postype = p1
pos = 0, 0
scale = .4,.4
removetime = 30

[State 3021]
type = Explod
trigger1 = time = [30, 36]
sprpriority = 1
anim = 1025
postype = p1
pos = 0, 0
scale = 2.275-(time*.0625),2.275-(time*.0625)
removetime = 1

[State 3021]
type = PlaySnd
trigger1 = time = 0
value = 1030, 2

[state 3021]
type = assertspecial
trigger1 = time >= 0
flag = noshadow

[state 3021]
type = destroyself
trigger1 = time = 37

;---------------------------------------------------------------------------
謎液を出すヘルパー
[Statedef 3022]
type    = A
movetype= I
physics = N
velset = 0,0
anim = 196
poweradd = 0
ctrl = 0
sprpriority = 2

[State 3022, ヘルパーを出す]
type = Helper
trigger1 = Time = 28
Persistent = 0
name = "nazoeki"
stateno = 3020
ID = 3020
pos = 5,-29
postype = p2
keyctrl = 0
ownpal = 1
size.xscale = .4
size.yscale = .48
helpertype = normal

[State 3022, ヘルパーを出す]
type = Helper
trigger1 = Time = 32
Persistent = 0
name = "nazoeki"
stateno = 3020
ID = 3020
pos = 5,-29
postype = p2
keyctrl = 0
ownpal = 1
size.xscale = .4
size.yscale = .48
helpertype = normal

[State 3022, ヘルパーを出す]
type = Helper
trigger1 = Time = 35
Persistent = 0
name = "nazoeki"
stateno = 3020
ID = 3020
pos = 5,-29
postype = p2
keyctrl = 0
ownpal = 1
size.xscale = .4
size.yscale = .48
helpertype = normal

[State 3022, ヘルパーを出す]
type = Helper
trigger1 = Time = 39
Persistent = 0
name = "nazoeki"
stateno = 3020
ID = 3020
pos = 5,-29
postype = p2
keyctrl = 0
ownpal = 1
size.xscale = .4
size.yscale = .48
helpertype = normal

[State 3022, ヘルパーを出す]
type = Helper
trigger1 = Time = 45
Persistent = 0
name = "nazoeki"
stateno = 3020
ID = 3020
pos = 5,-29
postype = p2
keyctrl = 0
ownpal = 1
size.xscale = .4
size.yscale = .48
helpertype = normal

[State 3022, ヘルパーを出す]
type = Helper
trigger1 = Time = 47
Persistent = 0
name = "nazoeki"
stateno = 3020
ID = 3020
pos = 5,-29
postype = p2
keyctrl = 0
ownpal = 1
size.xscale = .4
size.yscale = .48
helpertype = normal

[State 3022, ヘルパーを出す]
type = Helper
trigger1 = Time = 51
Persistent = 0
name = "nazoeki"
stateno = 3020
ID = 3020
pos = 5,-29
postype = p2
keyctrl = 0
ownpal = 1
size.xscale = .4
size.yscale = .48
helpertype = normal

[State 3022, ヘルパーを出す]
type = Helper
trigger1 = Time = 55
Persistent = 0
name = "nazoeki"
stateno = 3020
ID = 3020
pos = 5,-29
postype = p2
keyctrl = 0
ownpal = 1
size.xscale = .4
size.yscale = .48
helpertype = normal

[State 3022, ヘルパーを出す]
type = Helper
trigger1 = Time = 60
Persistent = 0
name = "nazoeki"
stateno = 3020
ID = 3020
pos = 5,-29
postype = p2
keyctrl = 0
ownpal = 1
size.xscale = .4
size.yscale = .48
helpertype = normal

[state 3022]
type = destroyself
trigger1 = time = 70

;---------------------------------------------------------------------------
;郁紀
[Statedef 1063]
type     = S
movetype = A
physics  = S
ctrl     = 0
anim     = 1030
SprPriority = 0

[state 1063]
type = turn
trigger1 = p2dist x < -3

[State 1063]
type = PlaySnd
trigger1 = Time = 0
value = 1050, 1+(Random % 2)

[State 1063]
type = PlaySnd
trigger1 = AnimElem = 12
value = 1050, 3+(Random % 2)

[State 1063, ヒット定義]
type = HitDef
trigger1 = AnimElem = 12
attr = S, SA
damage = 145,10
poweradd = 110,20
guardflag = MA
hitflag = MA
priority = 5
pausetime = 18,18
guard.pausetime = 3,3
sparkno = s11201
sparkxy = 0,-30
hitsound   = s190,3
guardsound = s1050,7
animtype = Hard
envshake.time = 28
envshake.ampl = 8
envshake.freq = 120
ground.type = High
ground.slidetime = 30
ground.hittime  = 30
ground.velocity = -5.4,-3.8
air.velocity = -5,-3
fall = 1
air.fall = 1
kill = 1
guard.kill = 1
fall.recover = 1

[State 810, ヘルパーを出す]
type = Helper
trigger1 = movehit
Persistent = 0
name = "blood"
stateno = 841
ID = 841
pos = -5+(random%30),-50-(random%13)
postype = p2
keyctrl = 0
facing = 1
ownpal = 1
ignorehitpause=1
size.xscale = .7
size.yscale = .7
helpertype = normal

[State 810, ヘルパーを出す]
type = Helper
trigger1 = movehit
Persistent = 0
name = "blood"
stateno = 841
ID = 841
pos = -5+(random%30),-50-(random%13)
postype = p2
keyctrl = 0
facing = -1
ownpal = 1
ignorehitpause=1
size.xscale = .7
size.yscale = .7
helpertype = normal

[State 1063]
type = PlaySnd
trigger1 = AnimElem = 15
trigger1 = movehit
value = 1050, 5

[State 1063]
type = PlaySnd
trigger1 = AnimElem = 15
trigger1 = movehit !
value = 1050, 6

[State 1063]
type = Explod
trigger1 = Animelem = 12
anim = 1031
pos = 0,0
postype = p1
sprpriority = 3
ownpal = 1
ontop = 0
bindtime = 1

[state 1063]
type = destroyself
trigger1 = time = 204

;---------------------------------------------------------------------------
;郁紀(ガーキャン)
[Statedef 1071]
type     = S
movetype = A
physics  = S
ctrl     = 0
anim     = 1040
SprPriority = 1

[State 1071]
type = NotHitBy
trigger1 = AnimElem = 1
value = SCA
time = 9999

[State 1071]
type = PlaySnd
trigger1 = Time = 0
value = 1070, 0

[State 1071]
type = PlaySnd
trigger1 = Animelem = 10
value = 1070, 1

[State 810, ヘルパーを出す]
type = Helper
trigger1 = movehit
Persistent = 0
name = "blood"
stateno = 841
ID = 841
pos = -5+(random%30),-50-(random%13)
postype = p2
keyctrl = 0
facing = 1
ownpal = 1
ignorehitpause=1
size.xscale = .7
size.yscale = .7
helpertype = normal

[State 810, ヘルパーを出す]
type = Helper
trigger1 = movehit
Persistent = 0
name = "blood"
stateno = 841
ID = 841
pos = -5+(random%30),-50-(random%13)
postype = p2
keyctrl = 0
facing = -1
ownpal = 1
ignorehitpause=1
size.xscale = .7
size.yscale = .7
helpertype = normal

[State 1071, ヒット定義]
type = HitDef
trigger1 = AnimElem = 7
attr = S, SA
damage = 100,6
poweradd = 60,30
guardflag = MA
hitflag = MA
priority = 8
pausetime = 12,12
guard.pausetime = 4,4
sparkno = s11201
sparkxy = 0,-30
hitsound   = s190,3
guardsound = s1050,7
animtype = Hard
envshake.time = 14
envshake.ampl = 5
envshake.freq = 90
ground.type = High
ground.slidetime = 30
ground.hittime  = 30
ground.velocity = -4.7,-3.2
air.velocity = -4.7,-2.4
fall = 1
air.fall = 1
kill = 1
guard.kill = 1
fall.recover = 0

[State 1071]
type = Explod
trigger1 = Animelem = 7
anim = 1031
pos = 0,0
postype = p1
sprpriority = 3
ownpal = 1
ontop = 0
bindtime = 1

[state 1071]
type = destroyself
trigger1 = animtime = 0

;---------------------------------------------------------------------------
;郁紀(超必)
[Statedef 2015]
type     = S
movetype = A
physics  = S
ctrl     = 0
anim     = 2022
SprPriority = 1

[State 1063]
type = PlaySnd
trigger1 = Time = 0
value = 2010, 2

[State 1063]
type = PlaySnd
trigger1 = AnimElem = 12
value = 2010, 0+(Random % 2)

[State 810, ヘルパーを出す]
type = Helper
triggerall = movehit
trigger1 = animelem = 12
Persistent = 0
name = "blood"
stateno = 841
ID = 841
pos = -5+(random%30),-50-(random%13)
postype = p2
keyctrl = 0
facing = 1
ownpal = 1
ignorehitpause=1
size.xscale = .7
size.yscale = .7
helpertype = normal

[State 810, ヘルパーを出す]
type = Helper
triggerall = movehit
trigger1 = animelem = 12
Persistent = 0
name = "blood"
stateno = 841
ID = 841
pos = -5+(random%30),-50-(random%13)
postype = p2
keyctrl = 0
facing = -1
ownpal = 1
ignorehitpause=1
size.xscale = .7
size.yscale = .7
helpertype = normal

[State 2015, ヒット定義]
type = HitDef
trigger1 = AnimElem = 12
attr = S, HA
damage = 40,2
poweradd = 0,0
guardflag = MA
hitflag = MA
priority = 8
pausetime = 3,3
guard.pausetime = 3,3
sparkno = s11201
sparkxy = 0,-30
hitsound   = s190,3
guardsound = s1050,7
animtype = Hard
envshake.time = 12
envshake.ampl = 5
envshake.freq = 35
ground.type = High
ground.slidetime = 30
ground.hittime  = 999999
ground.velocity = 0,0
air.velocity = 0,0
fall = 0
air.fall = 0
kill = 0
guard.kill = 0

[State 1063]
type = Explod
trigger1 = Animelem = 12
anim = 1031
pos = 0,0
postype = p1
sprpriority = 3
ownpal = 1
ontop = 0
bindtime = 1

[State 810, ヘルパーを出す]
type = Helper
triggerall = movehit
trigger1 = animelem = 19
Persistent = 0
name = "blood"
stateno = 841
ID = 841
pos = -5+(random%30),-50-(random%13)
postype = p2
keyctrl = 0
facing = 1
ownpal = 1
ignorehitpause=1
size.xscale = .7
size.yscale = .7
helpertype = normal

[State 810, ヘルパーを出す]
type = Helper
triggerall = movehit
trigger1 = animelem = 19
Persistent = 0
name = "blood"
stateno = 841
ID = 841
pos = -5+(random%30),-50-(random%13)
postype = p2
keyctrl = 0
facing = -1
ownpal = 1
ignorehitpause=1
size.xscale = .7
size.yscale = .7
helpertype = normal

[State 2015, ヒット定義]
type = HitDef
trigger1 = AnimElem = 19
attr = S, HA
damage = 40,2
poweradd = 0,0
guardflag = MA
hitflag = MA
priority = 8
pausetime = 3,3
guard.pausetime = 3,3
sparkno = s11201
sparkxy = 0,-30
hitsound   = s190,3
guardsound = s1050,7
animtype = Hard
envshake.time = 12
envshake.ampl = 5
envshake.freq = 35
ground.type = High
ground.slidetime = 30
ground.hittime  = 999999
ground.velocity = 0,0
air.velocity = 0,0
fall = 0
air.fall = 0
kill = 0
guard.kill = 0

[State 1063]
type = Explod
trigger1 = Animelem = 19
anim = 1031
pos = 0,0
postype = p1
sprpriority = 3
ownpal = 1
ontop = 0
bindtime = 1

[State 810, ヘルパーを出す]
type = Helper
triggerall = movehit
trigger1 = animelem = 26
Persistent = 0
name = "blood"
stateno = 841
ID = 841
pos = -5+(random%30),-50-(random%13)
postype = p2
keyctrl = 0
facing = 1
ownpal = 1
ignorehitpause=1
size.xscale = .7
size.yscale = .7
helpertype = normal

[State 810, ヘルパーを出す]
type = Helper
triggerall = movehit
trigger1 = animelem = 26
Persistent = 0
name = "blood"
stateno = 841
ID = 841
pos = -5+(random%30),-50-(random%13)
postype = p2
keyctrl = 0
facing = -1
ownpal = 1
ignorehitpause=1
size.xscale = .7
size.yscale = .7
helpertype = normal

[State 810, ヘルパーを出す]
type = Helper
triggerall = movehit
trigger1 = animelem = 26
Persistent = 0
name = "blood"
stateno = 841
ID = 841
pos = -5+(random%30),-50-(random%13)
postype = p2
keyctrl = 0
facing = -1
ownpal = 1
ignorehitpause=1
size.xscale = .7
size.yscale = .7
helpertype = normal

[State 2015, ヒット定義]
type = HitDef
trigger1 = AnimElem = 26
attr = S, HA
damage = 85,10
poweradd = 0,0
guardflag = MA
hitflag = MA
priority = 8
pausetime = 35,35
guard.pausetime = 35,35
sparkno = s11201
sparkxy = 0,-30
hitsound   = s190,3
guardsound = s1050,7
animtype = Hard
envshake.time = 30
envshake.ampl = 12
envshake.freq = 160
ground.type = High
ground.slidetime = 30
ground.hittime  = 30
ground.velocity = -.15,-13
air.velocity = -.15,-13
fall = 1
air.fall = 1
kill = 0
guard.kill = 0
fall.recover = 0

[State 1063]
type = Explod
trigger1 = Animelem = 26
anim = 1031
pos = 0,0
postype = p1
sprpriority = 3
ownpal = 1
ontop = 0
bindtime = 1

[state 2015]
type = destroyself
trigger1 = AnimTime = 0

;---------------------------------------------------------------------------
;旧カットイン
[Statedef 4000]
type     = S
movetype = I
physics  = N
ctrl     = 0
anim     = 4000 + var(3)
SprPriority = -1

[state 4000]
type = velset
trigger1 = Animelem = 1
x = 8.5

[state 4000]
type = velset
trigger1 = Animelem = 7
x = 0

[state 4000]
type = velset
trigger1 = Animelem = 8
x = 8.5

[state 4000]
type = destroyself
trigger1 = Time = 60

;---------------------------------------------------------------------------
;新カットイン
[Statedef 4001]
type     = S
movetype = I
physics  = N
ctrl     = 0
anim     = 4002
SprPriority = -1

[state 4000]
type = velset
trigger1 = Animelem = 1
x = 8.5

[state 4000]
type = velset
trigger1 = Animelem = 7
x = 0

[state 4000]
type = velset
trigger1 = Animelem = 8
x = 8.5

[state 4000]
type = destroyself
trigger1 = Time = 60
