;---------------------------------------------------------------------------
;---------------------------------------------------------------------------
[Statedef 310020]
type    = S
movetype= I
physics = S
anim = 310020

[State 310020]
type = AssertSpecial
trigger1 = 1
flag = invisible
flag2 = noshadow

[State 310020]
type = BindToroot
trigger1 = 1

[State 310020]
type = PlayerPush
trigger1 = 1
value = 0

[state 310020]
type = nothitby
trigger1 = 1
value = SCA,AA,AT,AP

[State 310020]
type = null;helper
trigger1 = !numhelper(3100200)&&roundstate=2
id = 3100200
persistent = 1
name = "hitdef"
pos = 0,0
postype = P1
stateno = 310020
helpertype = player
keyctrl = 0
ownpal = 1
SuperMoveTime = 9999999
PauseMoveTime = 9999999

[State 310020]
type = destroyself
trigger1 = roundstate >= 3

[State 310020]
type = changestate
triggerall = parent,movetype = A
trigger1 = parent,stateno = 200
trigger2 = parent,stateno = 205
trigger3 = parent,stateno = 210
trigger4 = parent,stateno = 215
trigger5 = parent,stateno = 230
trigger6 = parent,stateno = 235
trigger7 = parent,stateno = 240
trigger8 = parent,stateno = 290
trigger9 = parent,stateno = 290
trigger10 = parent,stateno = 400
trigger11 = parent,stateno = 410
trigger12 = parent,stateno = 430
trigger13 = parent,stateno = 440
trigger14 = parent,stateno = 600
trigger15 = parent,stateno = 610
trigger16 = parent,stateno = 630
trigger17 = parent,stateno = 640
trigger18 = parent,stateno = 690
value = 310021

[State -2]
type = varset
trigger1 = time = 0
v = 14
value = 2

[State -2]
type = varset
trigger1 = time = 0
v = 20
value = 3

[State -2]
type = varset
trigger1 = time = 0
v = 21
value = 4

[State -2]
type = varset
trigger1 = time = 0
v = 22
value = 5

[State -2]
type = varset
trigger1 = time = 0
v = 23
value = 6

[State -2]
type = varset
trigger1 = time = 0
v = 24
value = 7

[State -2]
type = varset
trigger1 = time = 0
v = 25
value = 8

[State -2]
type = varset
trigger1 = time = 0
v = 26
value = 9

[State -2]
type = varset
trigger1 = time = 0
v = 27
value = 0

[State -2]
type = varset
trigger1 = time = 0
v = 28
value = 1

[State -2]
type = varset
trigger1 = time = 0
v = 29
value = 2

[State -2]
type = varset
trigger1 = time = 0
v = 30
value = 3

[State -2]
type = varset
trigger1 = time = 0
v = 39
value = 4

[State -2]
type = varset
trigger1 = time = 0
v = 40
value = 5

[State -2]
type = varset
trigger1 = time = 0
v = 41
value = 6

[State -2]
type = varset
trigger1 = time = 0
v = 42
value = 7

[State -2]
type = varset
trigger1 = time = 0
v = 43
value = 8

[State -2]
type = varset
trigger1 = time = 0
v = 44
value = 9

[State -2]
type = varset
trigger1 = time = 0
v = 45
value = 0

[State -2]
type = varset
trigger1 = time = 0
v = 46
value = 1

[State -2]
type = varset
trigger1 = time = 0
v = 47
value = 2

[State -2]
type = varset
trigger1 = time = 0
v = 48
value = 3

[State -2]
type = varset
trigger1 = time = 0
v = 49
value = 4

[State -2]
type = varset
trigger1 = time = 0
v = 50
value = 5

[State -2]
type = varset
trigger1 = time = 0
v = 51
value = 6

[State -2]
type = varset
trigger1 = time = 0
v = 52
value = 7

[State -2]
type = varset
trigger1 = time = 0
v = 53
value = 8

[State -2]
type = varset
trigger1 = time = 0
v = 54
value = 9

[State -2]
type = varset
trigger1 = time = 0
v = 55
value = 0

[State -2]
type = varset
trigger1 = time = 0
v = 56
value = 1

[State -2]
type = varset
trigger1 = time = 0
v = 57
value = 2

[State -2]
type = varset
trigger1 = time = 0
v = 58
value = 3

[State -2]
type = varset
trigger1 = time = 0
fv = 4
value = 1

[State -2]
type = varset
trigger1 = time = 0
fv = 5
value = 2

[State -2]
type = varset
trigger1 = time = 0
fv = 6
value = 3

[State -2]
type = varset
trigger1 = time = 0
fv = 7
value = 4

[State -2]
type = varset
trigger1 = time = 0
fv = 8
value = 5

[State -2]
type = varset
trigger1 = time = 0
fv = 9
value = 6

[State -2]
type = varset
trigger1 = time = 0
fv = 10
value = 7

[State -2]
type = varset
trigger1 = time = 0
fv = 11
value = 8

[State -2]
type = varset
trigger1 = time = 0
fv = 12
value = 9

[State -2]
type = varset
trigger1 = time = 0
fv = 13
value = 0

[State -2]
type = varset
trigger1 = time = 0
fv = 14
value = 1

[State -2]
type = varset
trigger1 = time = 0
fv = 15
value = 2

[State -2]
type = varset
trigger1 = time = 0
fv = 16
value = 3

[State -2]
type = varset
trigger1 = time = 0
fv = 17
value = 4

[State -2]
type = varset
trigger1 = time = 0
fv = 18
value = 5

[State -2]
type = varset
trigger1 = time = 0
fv = 19
value = 6

[State -2]
type = varset
trigger1 = time = 0
fv = 20
value = 7

[State -2]
type = varset
trigger1 = time = 0
fv = 21
value = 8

[State -2]
type = varset
trigger1 = time = 0
fv = 22
value = 9

[State -2]
type = varset
trigger1 = time = 0
fv = 23
value = 0

[State -2]
type = varset
trigger1 = time = 0
fv = 24
value = 1

[State -2]
type = varset
trigger1 = time = 0
fv = 25
value = 2

[State -2]
type = varset
trigger1 = time = 0
fv = 26
value = 3

[State -2]
type = varset
trigger1 = time = 0
fv = 27
value = 4

[State -2]
type = varset
trigger1 = time = 0
fv = 28
value = 5

[State -2]
type = varset
trigger1 = time = 0
fv = 29
value = 6

[State -2]
type = varset
trigger1 = time = 0
fv = 30
value = 7

[State -2]
type = varset
trigger1 = time = 0
fv = 31
value = 8

[State -2]
type = varset
trigger1 = time = 0
fv = 32
value = 9

[State -2]
type = varset
trigger1 = time = 0
fv = 33
value = 0

[State -2]
type = varset
trigger1 = time = 0
fv = 34
value = 1

[State -2]
type = varset
trigger1 = time = 0
fv = 35
value = 2

[State -2]
type = varset
trigger1 = time = 0
fv = 36
value = 3

[State -2]
type = varset
trigger1 = time = 0
fv = 37
value = 4

[State -2]
type = varset
trigger1 = time = 0
fv = 38
value = 5

[State -2]
type = varset
trigger1 = time = 0
fv = 39
value = 6

;---------------------------------------------------------------------------
[Statedef 310021]
type    = S
movetype= A
physics = S
anim = parent,anim
velset = 0,0
ctrl = 0

[State 310021]
type = BindToParent
trigger1 = ishelper
facing = 1
pos = 0,0
time = 1

[State 310020]
type = AssertSpecial
trigger1 = 1
flag = invisible
flag2 = noshadow

[state 310020]
type = nothitby
trigger1 = 1
value = SCA,AA,AT,AP

[State 310020]
type = changestate
triggerall = ishelper
trigger1 = time > 0
trigger1 = parent,anim != anim
trigger2 = movehit
trigger2 = parent,stateno != 210
trigger2 = parent,stateno != 230
trigger2 = parent,stateno != 235
trigger2 = parent,stateno != 240
trigger2 = parent,stateno != 410
trigger3 = parent,movetype!= A
value = 310020

[State 310020]
type = changestate
trigger1 = !ishelper
value = 0

[State 200, 1]
type = HitDef
trigger1 = ishelper
trigger1 = parent,stateno = 200
trigger1 = AnimElem = 3
attr = S, NA    
damage = 38, 0           
getpower = 61,61
animtype = Light            
guardflag = MA     
hitflag = MAF                   
priority = 3, Hit         
pausetime = 7, 8                
sparkno = s7000 
sparkxy = -5, -89
hitsound = s300, var(6)
guard.sparkno = s7010
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
nochainID = 1200

[State 200, 1]
type = HitDef
trigger1 = ishelper
trigger1 = parent,stateno = 205
trigger1 = AnimElem = 3
attr = S, NA                     ;立ち状態で、通常の攻撃(ｓは立ち、ｎは通常、aは攻撃を表す)
damage = 29, 0                   ;ダメージ量（左が当たった時、右はガードした時）
getpower = 61,61
animtype = Light                 ;当てた時の相手のポーズ（light/midium/hard/back）から選択
guardflag = MA                   ;ガードできる状態（ｍaは全ての状態でガード可能）
hitflag = MAF                    ;当てる事のできる条件
priority = 3, Hit                ;攻撃の優先権（0弱い　4通常　7強い
pausetime = 7, 8                 ;攻撃が当たった時の硬直時間（左が自分、右が相手）
sparkno = s7000                      ;ヒットエフェクトのスプライトステート（無ければ0）
sparkxy = -20, -69               ;ヒットエフェクトを表示する場所（相手の座標で）
hitsound = s300, var(6)                 ;ヒットした時の音（ｓ*,*にすると自分の音を使う）
guard.sparkno = s7010
guardsound = s120, 0                ;ガードした時の音（同上）
ground.type = high              ;相手のくらった場所（High：頭、体, Low：足, Trip：足払い）
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                 ;空中でコンボが繋がる時間
nochainID = 1200


[State 210, 2]
type = HitDef
trigger1 = ishelper
trigger1 = parent,stateno = 210
trigger1 = animelem = 8
attr = S, NA
animtype  = hard
damage    = 106
getpower = 30,30
guardflag = MA
pausetime = 8,10
sparkno = s7001
sparkxy = -10,-77
hitsound   = s310,var(6)
guardsound = s120,0
guard.sparkno = s7011
ground.type = high
ground.slidetime = 17
ground.hittime  = 17
ground.velocity = -10.5
air.velocity = -2.5,-4
nochainID = 1200

[State 210, 2]
type = HitDef
trigger1 = ishelper
trigger1 = parent,stateno = 210
trigger1 = animelem = 9
attr = S, NA
animtype  = hard
damage    = 70
getpower = 30,30
guardflag = MA
pausetime = 11,12
sparkno = s7001
sparkxy = -10,-75
hitsound   = s300,var(6)
guardsound = s120,0
guard.sparkno = s7011
ground.type = low
ground.slidetime = 17
ground.hittime  = 17
ground.velocity = -10.5
air.velocity = -2.5,-4
nochainID = 1200


[State 210, 2]
type = HitDef
trigger1 = ishelper
trigger1 = parent,stateno = 215
trigger1 = time = 6
attr = S, NA
animtype  = hard
damage    = 135
getpower = 61,61
guardflag = MA
pausetime = 11,12
sparkno = s7001
sparkxy = -30,-75
hitsound   = s310,var(6)
guard.sparkno = s7011
guardsound = s120,0
ground.type = high
ground.slidetime = 17
ground.hittime  = 17
ground.velocity = -8
air.velocity = -4,-3
nochainID = 1200


[State 230, 2]
type = HitDef
trigger1 = ishelper
trigger1 = parent,stateno = 230
trigger1 = animelem = 3
attr = S, NA
animtype  = light
damage    = 38
getpower = 61,61
guardflag = MA
pausetime = 7,8
sparkno = s7000
sparkxy = -15,-57
hitsound   = s330,var(6)
guard.sparkno = s7010
guardsound = s120,0
ground.type = high
ground.slidetime = 9
ground.hittime  = 9
ground.velocity = -5
air.velocity = -2.5,-3.5
nochainID = 1200


[State 230, 2]
type = HitDef
trigger1 = ishelper
trigger1 = parent,stateno = 235
trigger1 = animelem = 3
attr = S, NA
animtype  = light
damage    = 29
getpower = 30,30
guardflag = MA
pausetime = 7,8
sparkno = s7000
sparkxy = -10,-20
hitsound   = s330,var(6)
guard.sparkno = s7010
guardsound = s120,0
ground.type = high
ground.slidetime = 9
ground.hittime  = 9
ground.velocity = -5
air.velocity = -2.5,-3.5
nochainID = 1200

[State 230, 2]
type = HitDef
trigger1 = ishelper
trigger1 = parent,stateno = 235
trigger1 = animelem = 4
attr = S, NA
animtype  = light
damage    = 29
getpower = 30,30
guardflag = MA
pausetime = 9,10
sparkno = s7000
sparkxy = -30,-54
hitsound   = s330,var(6)
guard.sparkno = s7010
guardsound = s120,0
ground.type = high
ground.slidetime = 9
ground.hittime  = 9
ground.velocity = -5
air.velocity = -2.5,-3.5
nochainID = 1200


[State 240, 2]
type = HitDef
trigger1 = ishelper
trigger1 = parent,stateno = 240
trigger1 = animelem = 3
attr = S, NA
animtype  = hard
damage    = 96
getpower = 30,30
guardflag = MA
pausetime = 8,10
sparkno = s7001
sparkxy = -15,-85
hitsound   = s240,0
guard.sparkno = s7011
guardsound = s120,0
ground.type = high
ground.slidetime = 17
ground.hittime  = 17
ground.velocity = -3,-6
air.velocity = -3,-5.2
nochainID = 1200

[State 240, 2]
type = HitDef
trigger1 = ishelper
trigger1 = parent,stateno = 240
trigger1 = animelem = 4
attr = S, NA
animtype  = hard
damage    = 58
getpower = 30,30
guardflag = MA
pausetime = 11,12
sparkno = s7001
sparkxy = -15,-106
hitsound   = s240,0
guard.sparkno = s7011
guardsound = s120,0
ground.type = high
ground.slidetime = 17
ground.hittime  = 17
ground.velocity = -2,-5
air.velocity = -2,-5.0
nochainID = 1200


[State 240, 2]
type = HitDef
trigger1 = ishelper
trigger1 = parent,stateno = 290
trigger1 = animelem = 4
attr = S, NA
animtype  = high
damage    = 98
getpower = 136,136
guardflag = MA
pausetime = 11,12
sparkno = s7001
sparkxy = -15,-77
hitsound   = s225,1
guard.sparkno = s7011
guardsound = s120,0
ground.type = low
ground.slidetime = 17
ground.hittime  = 17
ground.velocity = -4,-4.5
air.velocity = -4,-4.8
fall = 1
fall.recover = 0
nochainID = 1200


[State 400, 2]
type = HitDef
trigger1 = ishelper
trigger1 = parent,stateno = 400
trigger1 = animelem = 2
attr = C, NA
damage    = 19
priority  = 3
animtype  = Light
hitflag = MAF
guardflag = M
getpower = 60,60
pausetime = 7,8
sparkno = s7000
sparkxy = -10,-37
hitsound   = s300,var(6)
guard.sparkno = s7010
guardsound = s120,0
ground.type = high
ground.slidetime = 9
ground.hittime  = 9
ground.velocity = -5
air.velocity = -2.5,-3
nochainID = 1200


[State 410, 2]
type = HitDef
trigger1 = ishelper
trigger1 = parent,stateno = 410
trigger1 = animelem = 6
attr = C, NA
damage    = 96
animtype  = hard
hitflag = MAF
guardflag = M
pausetime = 11,12
getpower = 30,30
sparkno = s7001
sparkxy = -10,-73
hitsound   = s310,var(6)
guard.sparkno = s7011
guardsound = s120,0
ground.type = low
ground.slidetime = 17
ground.hittime  = 17
ground.velocity = -7
air.velocity = -3,-6
nochainID = 1200

[State 410, 2]
type = HitDef
trigger1 = ishelper
trigger1 = parent,stateno = 410
trigger1 = animelem = 7
attr = C, NA
damage    = 70
animtype  = hard
hitflag = MAF
guardflag = M
pausetime = 11,12
getpower = 30,30
sparkno = s7001
sparkxy = -12,-78
hitsound   = s310,var(6)
guard.sparkno = s7011
guardsound = s120,0
ground.type = low
ground.slidetime = 17
ground.hittime  = 17
ground.velocity = -3,-5
air.velocity = -3,-6
nochainID = 1200


[State 430, 2]
type = HitDef
trigger1 = ishelper
trigger1 = parent,stateno = 430
trigger1 = animelem = 2
attr = C, NA
damage    = 19
animtype  = Light
hitflag = MAF
guardflag = L
pausetime = 6,8
sparkno = s7000
sparkxy = -10,-12
hitsound   = s330,var(6)
getpower = 30,30
guard.sparkno = s7010
guardsound = s120,0
ground.type = Low
ground.slidetime = 9
ground.hittime  = 9
ground.velocity = -5
air.velocity = -2,-3
down.velocity = -5,0
down.hittime = 20
nochainID = 1200


[State 440, 3]
type = HitDef
trigger1 = ishelper
trigger1 = parent,stateno = 440
trigger1 = animelem = 8
attr = C, NA
damage    = 154
hitflag = MAF
guardflag = L
pausetime = 11,12
sparkno = s7001
getpower = 61,61
sparkxy = -15,-18
hitsound   = s340,var(6)
guardsound = s120,0
guard.sparkno = s7011
ground.type = Trip
ground.slidetime = 10
ground.hittime  = 15
ground.velocity = -1.5,-5
air.velocity = -4,-4
guard.velocity = -5
fall = 1
nochainID = 1200


[State 600, 2]
type = HitDef
trigger1 = ishelper
trigger1 = parent,stateno = 600
trigger1 = animelem = 2
attr = A, NA
damage    = 38
getpower = 61,61
guardflag = HA
priority = 3
pausetime = 7,8
sparkno = s7000
sparkxy = -10,-79
hitsound   = s300,var(6)
guard.sparkno = s7010
guardsound = s120,0
ground.type = low
ground.slidetime = 5
ground.hittime  = 5
ground.velocity = -4
air.velocity = -1.3,-3
nochainID = 1200


[State 610, 3]
type = HitDef
trigger1 = ishelper
trigger1 = parent,stateno = 610
trigger1 = animelem = 2
attr = A, NA
damage = 125
guardflag = HA
getpower = 61,61
priority = 4
pausetime = 12,12
sparkno = s7001
sparkxy = -10,-76
hitsound   = s310,var(6)
guard.sparkno = s7011
guardsound = s120,0
animtype = Med
ground.type = low
ground.slidetime = 17
ground.hittime  = 17
ground.velocity = -5
air.velocity = -3,-4
nochainID = 1200


[State 630, 2]
type = HitDef
trigger1 = ishelper
trigger1 = parent,stateno = 630
trigger1 = animelem = 2
attr = A, NA
damage = 36
getpower = 61,61
guardflag = HA
priority = 3
pausetime = 8,8
sparkno = s7000
sparkxy = -5,-51
hitsound   = s330,var(6)
guard.sparkno = s7010
guardsound = s120,0
ground.type = low
ground.slidetime = 6
ground.hittime  = 6
ground.velocity = -4
air.velocity = -2,-3
nochainID = 1200


[State 640, 3]
type = HitDef
trigger1 = ishelper
trigger1 = parent,stateno = 640
trigger1 = animelem = 2
attr = A, NA
damage    = 135
guardflag = HA
getpower = 61,61
priority = 4
pausetime = 12,12
sparkno = s7001
sparkxy = -10,-61
hitsound   = s340,var(6)
guard.sparkno = s7011
guardsound = s120,0
animtype = Med
ground.type = low
ground.slidetime = 17
ground.hittime  = 17
ground.velocity = -5
air.velocity = -3,-4
nochainID = 1200


[State 240, 2]
type = HitDef
trigger1 = ishelper
trigger1 = parent,stateno = 690
trigger1 = animelem = 2
attr = A, NA
animtype  = hard
damage    = 98
getpower = 120,120
guardflag = MA
pausetime = 11,12
sparkno = s7001
sparkxy = -15,-75
hitsound   = s225,1
guard.sparkno = s7011
guardsound = s120,0
ground.type = low
ground.slidetime = 17
ground.hittime  = 17
ground.velocity = -4,-4.5
air.velocity = -4,-4.8
fall = 1
fall.recover = 0
nochainID = 1200
;---------------------------------------------------------------------------
;---------------------------------------------------------------------------
;---------------------------------------------------------------------------
;---------------------------------------------------------------------------





