;究極の一撃(溜め)
[Statedef 3006]
type    = S
movetype= I
physics = S
poweradd= -1000
velset = 0,0
anim = 3004
ctrl = 0
sprpriority = 6

[State 3000, エフェクト]
type = SuperPause
trigger1 = time = 0
time = 60
sound = S400,0
pos = 0,0

[State 1020, エフェクト]
type = Explod
trigger1 = time = 0
anim = 20000
pos = 0,250
postype = back 
sprpriority = -3
bindtime = 100
supermove = 1

[State 3000, 超必殺技暗転時間停止]
type = PalFX
trigger1 = time = 130
trigger1 = var(13) = 0
time = 10
add = 0,0,0
mul = 256,256,256
sinadd = 256,256,0,50
invertall = 0
color = 256

[State 3000, 超必殺技暗転時間停止]
type = PalFX
trigger1 = time = 150
trigger1 = var(13) = 0
time = 10
add = 0,0,0
mul = 256,256,256
sinadd = 256,256,0,50
invertall = 0
color = 256

[State 3000, 超必殺技暗転時間停止]
type = PalFX
trigger1 = time = 170
trigger1 = var(13) = 0
time = 10
add = 0,0,0
mul = 256,256,256
sinadd = 256,256,0,50
invertall = 0
color = 256

[State 3000, 超必殺技暗転時間停止]
type = PalFX
trigger1 = time = 190
trigger1 = var(13) = 0
time = 10
add = 0,0,0
mul = 256,256,256
sinadd = 256,256,0,50
invertall = 0
color = 256

[State 1300, ステート変更]
type = ChangeState
trigger1 = command != "hold_x+y"
value = 3004
ctrl = 0

[State 1300, ステート変更]
type = ChangeState
trigger1 = time >= 200
value = 3005
ctrl = 0

;究極の一撃(飛び上がる)
[Statedef 3005]
type    = A
movetype= A
physics = S
juggle  = 1
velset = 0,-4
ctrl = 0
anim = 41
poweradd = 0
sprpriority = 2
facep2 = 1

[State 200, ステート変更]
type = ChangeState
trigger1 = Time = 15
value = 3000
ctrl = 0

;究極の一撃
[Statedef 3000]
type    = A
movetype= A
physics = S
juggle  = 1
velset = 0,0
ctrl = 0
anim = 3000
poweradd = 0
sprpriority = 2
facep2 = 1

[State 1300, ヘルパーを出す];放り投げるまでの板（※１０）
type = Helper
trigger1 = AnimElem = 1
Persistent = 0
name = "kama"
stateno = 3002
pos = 0,0
postype = p1
keyctrl = 0
ownpal = 0
size.xscale = 1.3
size.yscale = 1.3
ID = 3000

[State 200, 音を鳴らす]
type = PlaySnd
trigger1 = Time = 1
value = 0, 0

[State 200, ヒット定義]
type = HitDef
trigger1 = AnimElem = 1
attr = S, NA ;立ち通常打撃（Standing, Normal Attack）
damage = 1000, 0
animtype = Light
guardflag = MA
hitflag = MAF
priority = 3, Hit
pausetime = 0, 0
sparkno = 0
sparkxy = -10, -76
hitsound = 5, 0
guardsound = 6, 0
ground.type = High
ground.slidetime = 5
ground.hittime  = 10
ground.velocity = -4
airguard.velocity = -1.9,-.8
air.type = High
air.velocity = -1.4,-3
air.hittime = 12
p2stateno = 3001
getpower = 0,0
id = 3000

[State 200, ステート変更]
type = TargetBind
trigger1 = 1
time = 1
ID = 3000
pos = 30, -10

[State 181, EnvColor]
type = Bgpalfx
trigger1 = (MoveHit)
time = 50
invertall = 1
color = 0
ignorehitpause = 1

[State 200, ステート変更]
type = ChangeState
trigger1 = (MoveHit)
value = 3003
ctrl = 0

[State 200, ステート変更]
type = ChangeState
trigger1 = AnimTime = 0
value = 51
ctrl = 1

;究極の一撃(飛び上がる)
[Statedef 3004]
type    = A
movetype= A
physics = S
juggle  = 1
velset = 0,-4
ctrl = 0
anim = 41
poweradd = 0
sprpriority = 2
facep2 = 1

[State 200, ステート変更]
type = ChangeState
trigger1 = Time = 15
value = 3007
ctrl = 0

;究極の一撃
[Statedef 3007]
type    = A
movetype= A
physics = S
juggle  = 1
velset = 0,0
ctrl = 0
anim = 3000
poweradd = 0
sprpriority = 2
facep2 = 1

[State 1300, ヘルパーを出す];放り投げるまでの板（※１０）
type = Helper
trigger1 = AnimElem = 1
Persistent = 0
name = "kama"
stateno = 3002
pos = 0,0
postype = p1
keyctrl = 0
ownpal = 0
size.xscale = 1.3
size.yscale = 1.3
ID = 3000

[State 200, 音を鳴らす]
type = PlaySnd
trigger1 = Time = 1
value = 0, 0

[State 200, ヒット定義]
type = HitDef
trigger1 = AnimElem = 1
attr = S, NA ;立ち通常打撃（Standing, Normal Attack）
damage = 300, 0
animtype = Light
guardflag = MA
hitflag = MAF
priority = 3, Hit
pausetime = 0, 0
sparkno = 0
sparkxy = -10, -76
hitsound = 5, 0
guardsound = 6, 0
ground.type = High
ground.slidetime = 5
ground.hittime  = 10
ground.velocity = -4
airguard.velocity = -1.9,-.8
air.type = High
air.velocity = -1.4,-3
air.hittime = 12
p2stateno = 3001
getpower = 0,0
id = 3000

[State 200, ステート変更]
type = TargetBind
trigger1 = 1
time = 1
ID = 3000
pos = 30, -10

[State 181, EnvColor]
type = Bgpalfx
trigger1 = (MoveHit)
time = 50
invertall = 1
color = 0
ignorehitpause = 1

[State 200, ステート変更]
type = ChangeState
trigger1 = (MoveHit)
value = 3003
ctrl = 0

[State 200, ステート変更]
type = ChangeState
trigger1 = AnimTime = 0
value = 51
ctrl = 1

;究極の一撃(ヒット後)
[Statedef 3003]
type    = A
movetype= I
physics = S
juggle  = 1
velset = 0,0
ctrl = 0
anim = 3003
poweradd = 0
sprpriority = 2
facep2 = 1

[State 200, ステート変更]
type = ChangeState
trigger1 = AnimTime = 0
value = 51
ctrl = 1

;究極の一撃(鎌の先端部)
[Statedef 3002]
type    = S
movetype= A
physics = S
juggle  = 1
velset = 0,0
ctrl = 0
anim = 3001
poweradd = 0
sprpriority = 0
facep2 = 1

[State 191, 2] 
type = velset
trigger1 = 1
x = parent,vel x
y = parent,vel y

[State 30019]
type = NotHitBy
trigger1 = 1
value = SCA

[State 1065, 3]
type = bindtoparent
trigger1 = 1
pos = 0,0
time = 1
PauseMoveTime = 4

[State 1301, ヘルパーを消す]
type = DestroySelf
trigger1 = parent,anim != 3000
trigger1 = parent,anim != 3003

;究極の一撃(相手のやられステート)
[Statedef 3001]
type    = S
movetype= H
physics = S
juggle  = 1
velset = 0,0
ctrl = 0
sprpriority = 1

[State 820, 相手のアニメ変更]
type = ChangeAnim2
trigger1 = Time = 0
value = 3002

[State 821, 相手ステートに戻す]
type = SelfState
trigger1 = AnimTime = 0
value = 5050
ctrl = 0
;--------------------------------------------------------------
;----------------------------------------------------------------
;敵操り
[Statedef 3200]
type    = S
movetype= A
physics = S
juggle  = 1
velset = 0,0
ctrl = 0
anim = 3201
poweradd = -1000
sprpriority = 2
facep2 = 1

[State 3000, エフェクト]
type = SuperPause
trigger1 = time = 0
time = 60
sound = S400,0
pos = 0,0

[State 1020, エフェクト]
type = Explod
trigger1 = time = 0
anim = 20000
pos = 0,250
postype = back 
sprpriority = -3
bindtime = 100
supermove = 1

[State 230, 3]
type = varset
trigger1 = Time = 0
v = 30
value = 1

[State 200, ヒット定義]
type = HitDef
trigger1 = 1
attr = S, NA ;立ち通常打撃（Standing, Normal Attack）
damage = 0, 0
animtype = Light
guardflag = MA
hitflag = MAF
priority = 3, Hit
pausetime = 0, 0
sparkno = S220
sparkxy = -10, -76
hitsound = S25, 0
guardsound = S16, 0
ground.type = High
ground.slidetime = 5
ground.hittime  = 10
ground.velocity = 4
airguard.velocity = 4,4
air.type = High
air.velocity = 4,4
air.hittime = 12
p2stateno = 3201
id = 3200

[State 1300, ヘルパーを出す];放り投げるまでの板（※１０）
type = Helper
trigger1 = AnimElem = 1
Persistent = 0
name = "kama"
stateno = 3202
pos = 0,0
postype = p1
keyctrl = 0
ownpal = 0
size.xscale = 1.3
size.yscale = 1.3
ID = 3202

[State 200, ステート変更]
type = TargetBind
trigger1 = 1
time = 1
ID = 3200
pos = 25, -60

[State 200, ステート変更]
type = ChangeState
trigger1 = AnimTime = 0
value = 0
ctrl = 1

[Statedef 3201]
type    = A
movetype= H
physics = S
juggle  = 1
velset = 0,0
ctrl = 0
anim = 0
poweradd = 0
sprpriority = 3

[State 820, 相手のアニメ変更]
type = ChangeAnim2
trigger1 = Time = 0
value = 3200

[State 821, 相手ステートに戻す]
type = SelfState
trigger1  = Enemy,var(30) = 0
value = 5050
ctrl = 0

;判定ヘルパー
[Statedef 3202]
type    = S
movetype= I
physics = S
poweradd= 0
velset = 0,0
anim = 6001
ctrl = 0
sprpriority = -5

[State 1301, ヘルパーを消す]
type = DestroySelf
trigger1 = time >= 300

;立ち弱パンチ(敵操り)
[Statedef 3300]
type    = S
movetype= A
physics = S
juggle  = 1
velset = 0,0
ctrl = 0
anim = 3301
poweradd = 20
sprpriority = 2
facep2 = 1

[State 200, 音を鳴らす]
type = PlaySnd
trigger1 = Time = 1
value = 0, 0

[State 810, 掴んだ相手のステート変更]
type = TargetState
trigger1 = AnimElem = 1
value = 3301
ID = 3200

[State 810, 掴んだ相手のステート変更]
type = TargetLifeAdd
trigger1 = time = 0
value = -10
ID = 3200

[State 200, ヒット定義]
type = HitDef
trigger1 = AnimElem = 2
attr = S, NA ;立ち通常打撃（Standing, Normal Attack）
damage = 23, 0
animtype = Light
guardflag = MA
hitflag = MAF
priority = 3, Hit
pausetime = 0, 0
sparkno = 0
sparkxy = -10, -76
hitsound = 5, 0
guardsound = 6, 0
ground.type = High
ground.slidetime = 5
ground.hittime  = 10
ground.velocity = -4
airguard.velocity = -1.9,-.8
air.type = High
air.velocity = -1.4,-3
air.hittime = 12

[State 200, ステート変更]
type = ChangeState
trigger1 = AnimTime = 0
value = 0
ctrl = 1

;立ち弱パンチ(敵)
[Statedef 3301]
type    = A
movetype= H
physics = S
juggle  = 1
velset = 0,0
ctrl = 0
anim = 0
poweradd = 20
sprpriority = 4

[State 820, 相手のアニメ変更]
type = ChangeAnim2
trigger1 = Time = 0
value = 3300

[State 200, ステート変更]
type = ChangeState
trigger1 = AnimTime = 0
value = 3201
ctrl = 0

;敵を投げる
[Statedef 3310]
type    = S
movetype= A
physics = S
juggle  = 1
velset = 0,0
ctrl = 0
anim = 3301
poweradd = 20
sprpriority = 2
facep2 = 1

[State 230, 3]
type = varset
trigger1 = Time = 0
v = 30
value = 0

[State 200, 音を鳴らす]
type = PlaySnd
trigger1 = Time = 1
value = 0, 0

[State 810, 掴んだ相手のステート変更]
type = TargetState
trigger1 = AnimElem = 1
value = 3311
ID = 3200

[State 200, ステート変更]
type = ChangeState
trigger1 = AnimTime = 0
value = 0
ctrl = 1

;立ち弱パンチ(敵)
[Statedef 3311]
type    = A
movetype= A
physics = S
juggle  = 1
velset = 0,0
ctrl = 0
anim = 0
poweradd = 20
sprpriority = 4

[State 20, 1]
type = VelAdd
trigger1 = 1
x = -1.2
y = -0.3

[State 20, 1]
type = VelAdd
trigger1 = Time >= 10
x = 0
y = 0.45

[State 820, 相手のアニメ変更]
type = ChangeAnim2
trigger1 = Time = 0
value = 3310

[State 810, 掴んだ相手のステート変更]
type = LifeAdd
trigger1 = Pos Y >= 0
value = -100

[State 821, 相手ステートに戻す]
type = SelfState
trigger1  = Pos Y >= 0
value = 5050
ctrl = 1
;----------------------------------------------------------------
;----------------------------------------------------------------
;鎌投げハイパワーヴァージョン
[Statedef 3500]
type    = S
movetype= I
physics = S
juggle  = 1
velset = 0,0
ctrl = 0
anim = 1201
poweradd = -1000
sprpriority = 2
facep2 = 1

[State 3000, エフェクト]
type = SuperPause
trigger1 = time = 0
time = 60
sound = S400,0
pos = 0,0

[State 1020, エフェクト]
type = Explod
trigger1 = time = 0
anim = 20000
pos = 0,250
postype = back 
sprpriority = -3
bindtime = 100
supermove = 1

[State 1300, ヘルパーを出す];放り投げるまでの板（※１０）
type = Helper
trigger1 = AnimElem = 3
Persistent = 0
name = "kama"
stateno = 3501
pos = 0,0
postype = p1
keyctrl = 0
ownpal = 0
size.xscale = 1
size.yscale = 1
ID = 3500

[State 200, 音を鳴らす]
type = PlaySnd
trigger1 = AnimElem = 3
value = 800, 0

[State 230, 3]
type = varset
trigger1 = AnimTime = 0
v = 20
value = 0

[State 200, ステート変更]
type = ChangeState
trigger1 = AnimTime = 0
value = 0
ctrl = 1

;鎌投げハイパワーヴァージョン
[Statedef 3501]
type    = A
movetype= A
physics = N
juggle  = 1
velset = 3,-3
ctrl = 0
anim = 1200
poweradd = 0
sprpriority = 2

[State 210, ヒット定義]
type = HitDef
trigger1 = AnimElem = 1
trigger2 = AnimElem = 2
trigger3 = AnimElem = 3
trigger4 = AnimElem = 4
attr = S, NA
animtype  = Medium
damage    = 40
guardflag = MA
pausetime = 12,12
sparkno = 1
sparkxy = -10,-70
hitsound   = 5,2
guardsound = 6,0
ground.type = High
ground.slidetime = 12
ground.hittime  = 13
ground.velocity = -5.5
air.velocity = -2.5,-4

[State 20, 1]
type = VelSet
trigger1 = BackEdgeBodyDist <= 2
x = 4
y = 3

[State 20, 1]
type = VelSet
trigger1 = FrontEdgeBodyDist <= 2
x = -3
y = -3

[State 20, 1]
type = VelSet
trigger1 = Pos Y >= 0
x = 3
y = -4

[State 20, 1]
type = VelSet
trigger1 = Pos Y <= -240
x = -3
y = 3

[State 1301, ヘルパーを消す]
type = DestroySelf
trigger1 = time >= 400