;----------------------------------
[Statedef 186]
type = A
movetype = A
physics = N
ctrl = 0
anim = 186
velset = 0
sprpriority = -1


[state 0,Trans]
type = Trans
trigger1 = 1
trans = add
[State 0, Afterimage]
type = Afterimage
trigger1 = Time = 0
time = -1
length = 8
PalBright = 0, 0, 0
PalContrast = 200, 200, 200
PalAdd = 0, 0, 0
PalMul = 0.9,0.8,0.87
FrameGap = 1
sprpriority = 5
Trans = Add
ownpal = 1
ontop = 1

[State 0, BindToRoot]
type = BindToRoot
trigger1 = root,animelem = 1,>=0 && root,animelem = 56,<0 && root,anim = 181
pos = 0,0

[State 0, BindToRoot]
type = BindToRoot
trigger1 = root,animelem = 1,>=0 && root,animelem = 5,<0 && root,anim = 182
pos = 0,0

[State 0, BindToRoot]
type = BindToRoot
trigger1 = root,animelem = 6,>=0 && root,animelem = 13,<0 && root,anim = 182
pos = -10,0

[State 0, BindToRoot]
type = BindToRoot
trigger1 = root,animelem = 1,>=0 && root,animelem = 5,<0 && root,anim = 183
pos = 0,0

[State 0, StopSnd]
type = StopSnd
trigger1 = root,movetype = H
channel = 3

[State 0, ChangeAnim]
type = NULL;ChangeAnim
trigger1 = root,animelem = 5,>=45 && root,anim = 192 && anim = 181
value = 183

[State 0, ChangeState/DestroySelf]
type = DestroySelf
trigger1 = (animtime = 0 && anim != 186)||root,movetype = H||(root,anim!=181&&root,anim!=182&&root,anim!=183)

;----------------------------------
[Statedef 184]
type = A
movetype = A
physics = N
ctrl = 0
anim = 184
velset = 0
sprpriority = 9

[state 0,Trans]
type = Trans
trigger1 = 1
trans = add
[State 0, AfterImageTime]
type = AfterImageTime
trigger1 = 1
time = 2
ignorehitpause = 1
[State 0, Afterimage]
type = Afterimage
trigger1 = Time = 0
time = 3
length = 8
PalBright = 0, 0, 0
PalContrast = 200, 100, 100
PalAdd = 0, 0, 0
PalMul = 0.9,0.5,0.5
FrameGap = 1
sprpriority = 5
Trans = Add
ownpal = 1
ontop = 1

[State 0, BindToRoot]
type = BindToparent ;和父人物绑定控制器
trigger1 = 1 ;绑定的条件
pos = 0,0

[State 0, ChangeState/DestroySelf]
type = DestroySelf
trigger1 = animtime = 0


;----------------------------------
[Statedef 192]
type = A
movetype = A
physics = N
ctrl = 0
anim = 191
velset = 0
sprpriority = 9

[state 0,Trans]
type = Trans
trigger1 = 1
trans = addalpha
alpha = 100,250
[State 0, AfterImageTime]
type = AfterImageTime
trigger1 = 1
time = 2
ignorehitpause = 1
[State 0, Afterimage]
type = Afterimage
trigger1 = Time = 0
time = 3
length = 8
PalBright = 0, 0, 0
PalContrast = 50, 50, 150
PalAdd = 0, 0, 0
PalMul = 0.9,0.8,0.87
FrameGap = 1
sprpriority = 5
Trans = Add
ownpal = 1
ontop = 1

[State 0, BindToRoot]
type = BindToparent ;和父人物绑定控制器
trigger1 = 1 ;绑定的条件
pos = 0,0

[State 0, ChangeState/DestroySelf]
type = DestroySelf
trigger1 = animtime = 0





;----------------------------------
[Statedef 301]
type = A
movetype = A
physics = N
ctrl = 0
anim = 301
velset = 0
sprpriority = 99

[state 0,Trans]
type = Trans
trigger1 = 1
trans = add1
[State 0, AfterImageTime]
type = AfterImageTime
trigger1 = 1
time = 2
ignorehitpause = 1
[State 0, Afterimage]
type = Afterimage
trigger1 = Time = 0
time = 3
length = 8
PalBright = 0, 0, 0
PalContrast = 50, 50, 150
PalAdd = 0, 0, 0
PalMul = 0.9,0.8,0.87
FrameGap = 1
sprpriority = 5
Trans = Add
ownpal = 1
ontop = 1

[State 0, BindToRoot]
type = BindToRoot
trigger1 = root,animelem = 5,>=0 && root,animelem = 5,<4 && root,anim = 300
pos = 40,-90
[State 0, BindToRoot]
type = BindToRoot
trigger1 = root,animelem = 5,>=0 && root,animelem = 5,<4 && root,anim = 305
pos = 40,-90
[State 0, BindToRoot]
type = BindToRoot
trigger1 = root,animelem = 5,>=0 && root,animelem = 6,<4 && root,anim = 650
pos = 40,-90
[State 0, BindToRoot]
type = BindToRoot
trigger1 = root,animelem = 5,>=0 && root,animelem = 5,<4 && root,anim = 210
pos = 62,-110
[State 0, BindToRoot]
type = BindToRoot
trigger1 = root,animelem = 5,>=0 && root,animelem = 5,<4 && root,anim = 215
pos = 62,-110
[State 0, BindToRoot]
type = BindToRoot
trigger1 = root,animelem = 5,>=0 && root,animelem = 5,<4 && root,anim = 1000
pos = 57,-110

[State 0, ChangeState/DestroySelf]
type = DestroySelf
trigger1 = (animtime = 0 && anim = 301)||root,movetype = H||(root,anim!=300&&root,anim!=305&&root,anim!=650&&root,anim!=210&&root,anim!=215&&root,anim!=1000)










;----------------------------------
[Statedef 1031]
type = A
movetype = A
physics = N
ctrl = 0
anim = 1031
velset = 0
sprpriority = 99

[state 0,Trans]
type = Trans
trigger1 = 1
trans = add1
[State 0, AfterImageTime]
type = AfterImageTime
trigger1 = 1
time = 2
ignorehitpause = 1
[State 0, Afterimage]
type = Afterimage
trigger1 = Time = 0
time = 3
length = 8
PalBright = 0, 0, 0
PalContrast = 50, 50, 150
PalAdd = 0, 0, 0
PalMul = 0.9,0.8,0.87
FrameGap = 1
sprpriority = 5
Trans = Add
ownpal = 1
ontop = 1

[State 0, BindToRoot]
type = BindToRoot
trigger1 = root,animelem = 1,>=0 && root,animelem = 8,<5 && root,anim = 1030
pos = 0,0
[State 0, BindToRoot]
type = BindToRoot
trigger1 = root,animelem = 1,>=0 && root,animelem = 8,<5 && root,anim = 1035
pos = 0,0


[State 0, ChangeState/DestroySelf]
type = DestroySelf
trigger1 = (animtime = 0 && anim = 1031)||root,movetype = H||(root,anim!=1030&&root,anim!=1035)









;----------------------------------
[Statedef 1042]
type = A
movetype = A
physics = N
ctrl = 0
anim = 1042
velset = 0
sprpriority = 99

[state 0,Trans]
type = Trans
trigger1 = 1
trans = add1
[State 0, AfterImageTime]
type = AfterImageTime
trigger1 = 1
time = 2
ignorehitpause = 1
[State 0, Afterimage]
type = Afterimage
trigger1 = Time = 0
time = 3
length = 8
PalBright = 0, 0, 0
PalContrast = 50, 50, 150
PalAdd = 0, 0, 0
PalMul = 0.9,0.8,0.87
FrameGap = 1
sprpriority = 5
Trans = Add
ownpal = 1
ontop = 1

[State 0, BindToRoot]
type = BindToRoot
trigger1 = root,animelem = 1,>=0 && root,animelem = 11,<4 && root,anim = 1041
pos = 46,-100


[State 0, ChangeState/DestroySelf]
type = DestroySelf
trigger1 = (animtime = 0 && anim = 1042)||root,movetype = H||(root,anim!=1041)






;----------------------------------
[Statedef 10471]
type = A
movetype = A
physics = N
ctrl = 0
anim = 1047
velset = 0
sprpriority = 99
poweradd = 100

[state 0,Trans]
type = Trans
trigger1 = 1
trans = add1
[State 0, AfterImageTime]
type = AfterImageTime
trigger1 = 1
time = 2
ignorehitpause = 1
[State 0, Afterimage]
type = Afterimage
trigger1 = Time = 0
time = 3
length = 8
PalBright = 0, 0, 0
PalContrast = 50, 50, 150
PalAdd = 0, 0, 0
PalMul = 0.9,0.8,0.87
FrameGap = 1
sprpriority = 5
Trans = Add
ownpal = 1
ontop = 1

[State 0, BindToRoot]
type = BindToRoot
trigger1 = root,animelem = 1,>=0 && root,animelem = 18,<1 && root,anim = 1045
pos = 30,-70


[State 0, ChangeState/DestroySelf]
type = DestroySelf
trigger1 = (animtime = 0 && anim = 1047)||root,movetype = H||(root,anim!=1045)


;----------------------------------
[Statedef 1048]
type = S
movetype = H
physics = N
ctrl = 0
anim = 1048
velset = 10,0
sprpriority = 99
poweradd = 100

[state 0,Trans]
type = Trans
trigger1 = 1
trans = add1
[State 0, AfterImageTime]
type = AfterImageTime
trigger1 = 1
time = 2
ignorehitpause = 1
[State 0, Afterimage]
type = Afterimage
trigger1 = Time = 0
time = 3
length = 8
PalBright = 0, 0, 0
PalContrast = 50, 50, 150
PalAdd = 0, 0, 0
PalMul = 0.9,0.8,0.87
FrameGap = 1
sprpriority = 5
Trans = Add
ownpal = 1
ontop = 1


[State 2];峌寕偺巜掕2
type = HitDef
trigger1 = time >= 0
attr = A, NA
animtype = diagup
damage = 150,50
hitflag = MAF
pausetime = 0,12
hitsound = s1,4
guardsound = s2,1
sparkno = 0+Random%6
guard.sparkno = -1
sparkxy = 20,-0
ground.type = hard
ground.hittime = 15
ground.slidetime = 23
ground.velocity = -7,-7
air.juggle = 8
air.velocity = -7,-7
fall.recover = 0
fall = 1

[State 0, ChangeState/DestroySelf]
type = ChangeState
trigger1 = HitCount = 1
trigger2 = FrontEdgeBodyDist < -50
value = 1049

;----------------------------------
[Statedef 1049]
type = A
movetype = A
physics = N
ctrl = 0
anim = 1049
velset = 0
sprpriority = 99

[state 0,Trans]
type = Trans
trigger1 = 1
trans = add1
[State 0, AfterImageTime]
type = AfterImageTime
trigger1 = 1
time = 2
ignorehitpause = 1
[State 0, Afterimage]
type = Afterimage
trigger1 = Time = 0
time = 3
length = 8
PalBright = 0, 0, 0
PalContrast = 50, 50, 150
PalAdd = 0, 0, 0
PalMul = 0.9,0.8,0.87
FrameGap = 1
sprpriority = 5
Trans = Add
ownpal = 1
ontop = 1

[State 0, ChangeState/DestroySelf]
type = DestroySelf
trigger1 = animtime = 0
;----------------------------------
[Statedef 2211]
type = A
movetype = A
physics = N
ctrl = 0
anim = 2211
velset = 0
sprpriority = 9

[state 0,Trans]
type = Trans
trigger1 = 1
trans = add1
[State 0, AfterImageTime]
type = AfterImageTime
trigger1 = 1
time = 2
ignorehitpause = 1
[State 0, Afterimage]
type = Afterimage
trigger1 = time = 0
trans = add
PalContrast = 128, 128, 192
PalBright = 0,0,0
time = 3
length = 15
TimeGap = 1
FrameGap = 1

[State 0, BindToRoot]
type = BindToparent ;和父人物绑定控制器
trigger1 = 1 ;绑定的条件
pos = 0,0

[State 0, ChangeState/DestroySelf]
type = DestroySelf
trigger1 = animtime = 0



;----------------------------------
[Statedef 2212]
type = A
movetype = A
physics = N
ctrl = 0
anim = 2212
velset = 0
sprpriority = 9

[State 0, AssertSpecial]
type = AssertSpecial
trigger1 = 1
flag = noshadow
[state 0,Trans]
type = Trans
trigger1 = 1
trans = add
[State 0, AfterImageTime]
type = AfterImageTime
trigger1 = 1
time = 2
ignorehitpause = 1
[State 0, Afterimage]
type = Afterimage
trigger1 = Time = 0
time = 3
length = 8
PalBright = 0, 0, 0
PalContrast = 130, 100, 100
PalAdd = 0, 0, 0
PalMul = 0.6,0.6,0.6
FrameGap = 1
sprpriority = 5
Trans = Add
ownpal = 1
ontop = 1

[State 0, BindToRoot]
type = BindToparent ;和父人物绑定控制器
trigger1 = 1 ;绑定的条件
pos = 50,10

[State 0, ChangeState/DestroySelf]
type = DestroySelf
trigger1 = animtime = 0
