;Bullets state============
[Statedef 7900] ;闹钟
type = S
movetype = I
physics = N
velset = 0,8
anim = 7900
ctrl = 0
juggle = 1
sprpriority = 2


[State 0 , 7]
type = velset
trigger1 = pos y >= 4
trigger1 = vel y > 0
y = 0

[State 7900, 4]
type = ChangeState
trigger1 = animtime = 0
value = 7898
ctrl = 0
;---------------闹钟爆开
[Statedef 7898]  
type = S
movetype = A
physics = N
velset = 0,0
anim = 7898
ctrl = 0
juggle = 1
sprpriority = 2

[State 0, PlaySnd]
type = PlaySnd
trigger1 = AnimElem = 3
value = S7900,0

[State 0 , 0]
type = HitDef
trigger1 = time = 0
attr = S, NA
damage    = 20,20
guardflag = MA
priority = 0
pausetime = 0,0
sparkno = -1
sparkxy = 0,0
animtype=Medium
hitsound   = S5,1
guardsound = 6,0
ground.type = High
ground.slidetime = 10
ground.hittime  = 10
ground.velocity = -8,-2
air.velocity = -8,-2
fall = 1
affectteam = b

;--------------------------------------
[State 0, bullets]
type = helper
helpertype = normal
postype = p1
pos = 0,-8
stateno = 7901
ownpal = 1
trigger1 = animelem = 5
ID = 7901

[State 0, bullets]
type = helper
helpertype = normal
postype = p1
pos = 0,-8
stateno = 7902
ownpal = 1
trigger1 = animelem = 5
ID = 7902

[State 0, bullets]
type = helper
helpertype = normal
postype = p1
pos = 0,-8
stateno = 7903
ownpal = 1
trigger1 = animelem = 5
ID = 7902

[State 0, bullets]
type = helper
helpertype = normal
postype = p1
pos = 0,-8
stateno = 7903
ownpal = 1
trigger1 = animelem = 5
ID = 7902
facing = -1

[State 0, bullets]
type = helper
helpertype = normal
postype = p1
pos = 0,-8
stateno = 7902
ownpal = 1
trigger1 = animelem = 5
ID = 7902
facing = -1

[State 0, bullets]
type = helper
helpertype = normal
postype = p1
pos = 0,-8
stateno = 7901
ownpal = 1
trigger1 = animelem = 5
ID = 7901
facing = -1

[State 0, bullets]
type = helper
helpertype = normal
postype = p1
pos = 0,-8
stateno = 7951
ownpal = 1
trigger1 = animelem = 5
ID = 7951
;---------------------------------------

[State 7898, 4]
type = ChangeState
trigger1 = animtime = 0
value = 7899
ctrl = 0
;======================
;-------------------- 空
[Statedef 7899]
type = S
movetype = I
physics = S
velset = 0,0
anim = 7899
ctrl = 0

[State 7899, destroyself]
type = destroyself
trigger1 = time = 2000


;================================
;=================
[Statedef 7901]
type = A
movetype = I
physics = A
velset = -2,-8
anim = 7901 +random%9
ctrl = 0
juggle = 1
sprpriority = 2

[State 0, AngleDraw]
type = AngleDraw
trigger1 = 1
value = time*30

[State 0 , 7]
type = changestate
trigger1 = time = 37 && anim = 7902
value = 7912

[State 0 , 7]
type = changestate
trigger1 = time = 37 && anim = 7903
value = 7913

[State 0 , 7]
type = changestate
trigger1 = time = 37 && anim = 7904
value = 7914

[State 0 , 7]
type = changestate
trigger1 = time = 37 && anim = 7905
value = 7915

[State 0 , 7]
type = changestate
trigger1 = time = 37 && anim = 7906
value = 7916

[State 0 , 7]
type = changestate
trigger1 = time = 37 && anim = 7907
value = 7917

[State 0 , 7]
type = changestate
trigger1 = time = 37 && anim = 7908
value = 7918

[State 0 , 7]
type = changestate
trigger1 = time = 37 && anim = 7909
value = 7919

[State 0 , 7]
type = changestate
trigger1 = time = 37 && anim = 7910
value = 7920

[State 0 , 7]
type = changestate
trigger1 = time = 37
value = 7911



;--------------
[Statedef 7911]
type = S
movetype = A
physics = S
velset = 0,0
anim = 7911
ctrl = 0
juggle = 1
sprpriority = 2


[State 0 , 0]
type = HitDef
trigger1 = time = 0
;trigger1 = parent,stateno = [0,21]
;trigger2 = Enemy,stateno = [0,21]
attr = S, NA
damage    = -15
getpower  = 0
givepower = 0
hitflag = L-
;guardflag = MA
numhits = 0
priority = 0
pausetime = 0,0
sparkno = -1
sparkxy = 1000,0
animtype=Medium
;hitsound   = S5,1
;guardsound = 6,0
ground.type = High
ground.slidetime = 0
ground.hittime  = 0
ground.velocity = 0,0
air.velocity = 0,0
fall = 0
;fall.recover = 1
affectteam = b
P2stateno = 7701
guard.dist = 0

[State 0, Trans]
type = Trans
trigger1 = time >= 980
trans = addalpha
alpha = 256, 256

[State 0, DestroySelf]
type = DestroySelf
trigger1 = time = 1000

[State 0 , 7]
type = changestate
trigger1 =movecontact 
value = 7921


;------------

[Statedef 7921]
type = A
movetype = I
physics = A
velset = 0,-5
anim = 7901
ctrl = 0
sprpriority = 2

[State 0, PlaySnd]
type = PlaySnd
trigger1 = AnimElem = 1
value = 7921,0

[State 0, Trans]
type = Trans
trigger1 = time >= 10
trans = addalpha
alpha = 256, 256

[State 0, DestroySelf]
type = DestroySelf
trigger1 = time = 20
;=======================
[Statedef 7701]
type = U
movetype = U
physics = N
;anim = 0

[State 0, 2]
type = PosSet
trigger1 = Time = 0
y = 0

[State 0, Life]
type = lifeAdd
trigger1 = Time = 0
value = -GetHitVar(damage)

[state 0]
Type = selfstate;
Trigger1 = time = 0; 将使用权还给对手。
Value = 0+11*(statetype = C)+50*(statetype = A)
Ctrl = 1

[State 0 , 7]
type = changestate
trigger1 = pos y =0 && anim = 0
trigger1 = time = 0
value = 0
ctrl = 1

[State 0 , 7]
type = changestate
trigger1 = pos y !=0 && anim = 0
trigger1 = time = 0
value = 50
ctrl = 1





;=====================================结束
;=======================================================
;---------------------------
[Statedef 7902]
type = A
movetype = A
physics = A
velset = -1,-8
anim = 7901+random%9
ctrl = 0
juggle = 1
sprpriority = 2

[State 0, AngleDraw]
type = AngleDraw
trigger1 = 1
value = time*30

[State 0 , 7]
type = changestate
trigger1 = time = 37 && anim = 7902
value = 7912

[State 0 , 7]
type = changestate
trigger1 = time = 37 && anim = 7903
value = 7913

[State 0 , 7]
type = changestate
trigger1 = time = 37 && anim = 7904
value = 7914

[State 0 , 7]
type = changestate
trigger1 = time = 37 && anim = 7905
value = 7915

[State 0 , 7]
type = changestate
trigger1 = time = 37 && anim = 7906
value = 7916

[State 0 , 7]
type = changestate
trigger1 = time = 37 && anim = 7907
value = 7917

[State 0 , 7]
type = changestate
trigger1 = time = 37 && anim = 7908
value = 7918

[State 0 , 7]
type = changestate
trigger1 = time = 37 && anim = 7909
value = 7919

[State 0 , 7]
type = changestate
trigger1 = time = 37 && anim = 7910
value = 7920

[State 0 , 7]
type = changestate
trigger1 = time = 37
value = 7911
;---------------------------
;--------------
[Statedef 7912]
type = S
movetype = A
physics = S
velset = 0,0
anim = 7912
ctrl = 0
juggle = 1
sprpriority = 2

[State 0 , 0]
type = HitDef
trigger1 = time = 0
;trigger1 = parent,stateno = 10   
;trigger2 = Enemy,stateno = 10
attr = S, NA
damage    = -25
getpower  = 0
givepower = 0
hitflag = L-
;guardflag = MA
numhits = 0
priority = 0
pausetime = 0,0
sparkno = -1
sparkxy = 1000,0
animtype=Medium
;hitsound   = S5,1
;guardsound = 6,0
ground.type = High
ground.slidetime = 0
ground.hittime  = 0
ground.velocity = 0,0
air.velocity = 0,0
fall = 0
;fall.recover = 1
affectteam = b
P2stateno = 7702
guard.dist = 0

[State 0, Trans]
type = Trans
trigger1 = time >= 980
trans = addalpha
alpha = 256, 256

[State 0, DestroySelf]
type = DestroySelf
trigger1 = time = 1000

[State 0 , 7]
type = changestate
trigger1 =movecontact 
value = 7922


;------------

[Statedef 7922]
type = A
movetype = I
physics = A
velset = 0,-5
anim = 7902
ctrl = 0
sprpriority = 2

[State 0, PlaySnd]
type = PlaySnd
trigger1 = AnimElem = 1
value = 7921,0

[State 0, Trans]
type = Trans
trigger1 = time >= 10
trans = addalpha
alpha = 256, 256

[State 0, DestroySelf]
type = DestroySelf
trigger1 = time = 20

;=======================
[Statedef 7702]
type = S
movetype = H
physics = N
anim = 0

[State 0, 2]
type = PosSet
trigger1 = Time = 0
y = 0

[State 0, Life]
type = lifeAdd
trigger1 = Time = 0
value = -GetHitVar(damage)


[state 0]
Type = selfstate;
Trigger1 = time = 0; 将使用权还给对手。
Value = 0+11*(statetype = C)+50*(statetype = A)
Ctrl = 1

[State 0 , 7]
type = changestate
trigger1 = pos y =0 && anim = 0
trigger1 = time = 0
value = 0
ctrl = 1

[State 0 , 7]
type = changestate
trigger1 = pos y !=0 && anim = 0
trigger1 = time = 0
value = 50
ctrl = 1

;===================================结束
;===================================================

;---------------------------
[Statedef 7903]
type = A
movetype = A
physics = A
velset = -3,-8
anim = 7901+random%9
ctrl = 0
juggle = 1
sprpriority = 2

[State 0, AngleDraw]
type = AngleDraw
trigger1 = 1
value = time*30

[State 0 , 7]
type = changestate
trigger1 = time = 37 && anim = 7902
value = 7912

[State 0 , 7]
type = changestate
trigger1 = time = 37 && anim = 7903
value = 7913

[State 0 , 7]
type = changestate
trigger1 = time = 37 && anim = 7904
value = 7914

[State 0 , 7]
type = changestate
trigger1 = time = 37 && anim = 7905
value = 7915

[State 0 , 7]
type = changestate
trigger1 = time = 37 && anim = 7906
value = 7916

[State 0 , 7]
type = changestate
trigger1 = time = 37 && anim = 7907
value = 7917

[State 0 , 7]
type = changestate
trigger1 = time = 37 && anim = 7908
value = 7918

[State 0 , 7]
type = changestate
trigger1 = time = 37 && anim = 7909
value = 7919

[State 0 , 7]
type = changestate
trigger1 = time = 37 && anim = 7910
value = 7920

[State 0 , 7]
type = changestate
trigger1 = time = 37
value = 7911
;---------------------------
;--------------
[Statedef 7913]
type = S
movetype = A
physics = S
velset = 0,0
anim = 7913
ctrl = 0
juggle = 1
sprpriority = 2

[State 0 , 0]
type = HitDef
trigger1 = time = 0
;trigger1 = parent,stateno = 10   
;trigger2 = Enemy,stateno = 10
attr = S, NA
damage    = -50
getpower  = 0
givepower = 0
hitflag = L-
;guardflag = MA
numhits = 0
priority = 0
pausetime = 0,0
sparkno = -1
sparkxy = 1000,0
animtype=Medium
;hitsound   = S5,1
;guardsound = 6,0
ground.type = High
ground.slidetime = 0
ground.hittime  = 0
ground.velocity = 0,0
air.velocity = 0,0
fall = 0
;fall.recover = 1
affectteam = b
P2stateno = 7701
guard.dist = 0

[State 0, Trans]
type = Trans
trigger1 = time >= 980
trans = addalpha
alpha = 256, 256

[State 0, DestroySelf]
type = DestroySelf
trigger1 = time = 1000

[State 0 , 7]
type = changestate
trigger1 =movecontact 
value = 7923


;------------

[Statedef 7923]
type = A
movetype = I
physics = A
velset = 0,-5
anim = 7903
ctrl = 0
sprpriority = 2

[State 0, PlaySnd]
type = PlaySnd
trigger1 = AnimElem = 1
value = 7921,0

[State 0, Trans]
type = Trans
trigger1 = time >= 10
trans = addalpha
alpha = 256, 256

[State 0, DestroySelf]
type = DestroySelf
trigger1 = time = 20


;===================================结束
;===================================================
;---------------------------
;--------------
[Statedef 7914]
type = S
movetype = A
physics = S
velset = 0,0
anim = 7914
ctrl = 0
juggle = 1
sprpriority = 2

[State 0 , 0]
type = HitDef
trigger1 = time = 0
;trigger1 = parent,stateno = 10   
;trigger2 = Enemy,stateno = 10
attr = S, NA
damage    = 75
getpower  = 0
givepower = 0
hitflag = L-
;guardflag = MA
numhits = 0
priority = 0
pausetime = 0,0
sparkno = -1
sparkxy = 1000,0
animtype=Medium
;hitsound   = S5,1
;guardsound = 6,0
ground.type = High
ground.slidetime = 0
ground.hittime  = 0
ground.velocity = 0,0
air.velocity = 0,0
fall = 0
;fall.recover = 1
affectteam = b
P2stateno = 7701
guard.dist = 0

[State 0, Trans]
type = Trans
trigger1 = time >= 980
trans = addalpha
alpha = 256, 256

[State 0, DestroySelf]
type = DestroySelf
trigger1 = time = 1000

[State 0 , 7]
type = changestate
trigger1 =movecontact 
value = 7924


;------------

[Statedef 7924]
type = A
movetype = I
physics = A
velset = 0,-5
anim = 7904
ctrl = 0
sprpriority = 2

[State 0, PlaySnd]
type = PlaySnd
trigger1 = AnimElem = 1
value = 7921,0

[State 0, Trans]
type = Trans
trigger1 = time >= 10
trans = addalpha
alpha = 256, 256

[State 0, DestroySelf]
type = DestroySelf
trigger1 = time = 20


;===================================结束
;===================================================
;---------------------------
;--------------
[Statedef 7915]
type = S
movetype = A
physics = S
velset = 0,0
anim = 7915
ctrl = 0
juggle = 1
sprpriority = 2

[State 0 , 0]
type = HitDef
trigger1 = time = 0
;trigger1 = parent,stateno = 10   
;trigger2 = Enemy,stateno = 10
attr = S, NA
damage    = -25
getpower  = 0
givepower = 0
hitflag = L-
;guardflag = MA
numhits = 0
priority = 0
pausetime = 0,0
sparkno = -1
sparkxy = 1000,0
animtype=Medium
;hitsound   = S5,1
;guardsound = 6,0
ground.type = High
ground.slidetime = 0
ground.hittime  = 0
ground.velocity = 0,0
air.velocity = 0,0
fall = 0
;fall.recover = 1
affectteam = b
P2stateno = 7701
guard.dist = 0

[State 0, Trans]
type = Trans
trigger1 = time >= 980
trans = addalpha
alpha = 256, 256

[State 0, DestroySelf]
type = DestroySelf
trigger1 = time = 1000

[State 0 , 7]
type = changestate
trigger1 =movecontact 
value = 7925


;------------

[Statedef 7925]
type = A
movetype = I
physics = A
velset = 0,-5
anim = 7905
ctrl = 0
sprpriority = 2

[State 0, PlaySnd]
type = PlaySnd
trigger1 = AnimElem = 1
value = 7921,0

[State 0, Trans]
type = Trans
trigger1 = time >= 10
trans = addalpha
alpha = 256, 256

[State 0, DestroySelf]
type = DestroySelf
trigger1 = time = 20


;===================================结束
;===================================================
;---------------------------
;--------------
[Statedef 7916]
type = S
movetype = A
physics = S
velset = 0,0
anim = 7916
ctrl = 0
juggle = 1
sprpriority = 2

[State 0 , 0]
type = HitDef
trigger1 = time = 0
;trigger1 = parent,stateno = 10   
;trigger2 = Enemy,stateno = 10
attr = S, NA
damage    = -50
getpower  = 0
givepower = 0
hitflag = L-
;guardflag = MA
numhits = 0
priority = 0
pausetime = 0,0
sparkno = -1
sparkxy = 1000,0
animtype=Medium
;hitsound   = S5,1
;guardsound = 6,0
ground.type = High
ground.slidetime = 0
ground.hittime  = 0
ground.velocity = 0,0
air.velocity = 0,0
fall = 0
;fall.recover = 1
affectteam = b
P2stateno = 7701
guard.dist = 0

[State 0, Trans]
type = Trans
trigger1 = time >= 980
trans = addalpha
alpha = 256, 256

[State 0, DestroySelf]
type = DestroySelf
trigger1 = time = 1000

[State 0 , 7]
type = changestate
trigger1 =movecontact 
value = 7926


;------------

[Statedef 7926]
type = A
movetype = I
physics = A
velset = 0,-5
anim = 7906
ctrl = 0
sprpriority = 2

[State 0, PlaySnd]
type = PlaySnd
trigger1 = AnimElem = 1
value = 7921,0

[State 0, Trans]
type = Trans
trigger1 = time >= 10
trans = addalpha
alpha = 256, 256

[State 0, DestroySelf]
type = DestroySelf
trigger1 = time = 20


;===================================结束
;===================================================
;---------------------------
;--------------
[Statedef 7920]
type = S
movetype = A
physics = S
velset = 0,0
anim = 7920
ctrl = 0
juggle = 1
sprpriority = 2

[State 0 , 0]
type = HitDef
trigger1 = time = 0
;trigger1 = parent,stateno = 10
;trigger2 = Enemy,stateno = 10
attr = S, NA
damage    = -100
getpower  = 0
givepower = 0
hitflag = L-
;guardflag = MA
numhits = 0
priority = 0
pausetime = 0,0
sparkno = -1
sparkxy = 1000,0
animtype=Medium
;hitsound   = S5,1
;guardsound = 6,0
ground.type = High
ground.slidetime = 0
ground.hittime  = 0
ground.velocity = 0,0
air.velocity = 0,0
fall = 0
;fall.recover = 1
affectteam = b
P2stateno = 7701
guard.dist = 0

[State 0, Trans]
type = Trans
trigger1 = time >= 980
trans = addalpha
alpha = 256, 256

[State 0, DestroySelf]
type = DestroySelf
trigger1 = time = 1000

[State 0 , 7]
type = changestate
trigger1 =movecontact
value = 79226


;------------

[Statedef 79226]
type = A
movetype = I
physics = A
velset = 0,-5
anim = 7910
ctrl = 0
sprpriority = 2

[State 0, PlaySnd]
type = PlaySnd
trigger1 = AnimElem = 1
value = 7921,0

[State 0, Trans]
type = Trans
trigger1 = time >= 10
trans = addalpha
alpha = 256, 256

[State 0, DestroySelf]
type = DestroySelf
trigger1 = time = 20


;===================================结束
;===================================================
;===================================================
;---------------------------
;--------------蓝色药水
[Statedef 7917]
type = S
movetype = A
physics = S
velset = 0,0
anim = 7917
ctrl = 0
juggle = 1
sprpriority = 2

[State 0 , 0]
type = HitDef
trigger1 = time = 0
;trigger1 = parent,stateno = 10   
;trigger2 = Enemy,stateno = 10
attr = S, NA
damage    = 0
getpower  = 0
givepower = 0
hitflag = L-
;guardflag = MA
numhits = 0
priority = 0
pausetime = 0,0
sparkno = -1
sparkxy = 1000,0
animtype=Medium
;hitsound   = S5,1
;guardsound = 6,0
ground.type = High
ground.slidetime = 0
ground.hittime  = 0
ground.velocity = 0,0
air.velocity = 0,0
fall = 0
;fall.recover = 1
affectteam = b
P2stateno = 7707
guard.dist = 0

[State 0, Trans]
type = Trans
trigger1 = time >= 980
trans = addalpha
alpha = 256, 256

[State 0, DestroySelf]
type = DestroySelf
trigger1 = time = 1000

[State 0 , 7]
type = changestate
trigger1 =movecontact 
value = 7927


;------------

[Statedef 7927]
type = A
movetype = I
physics = A
velset = 0,-5
anim = 7907
ctrl = 0
sprpriority = 2

[State 0, PlaySnd]
type = PlaySnd
trigger1 = AnimElem = 1
value = 7921,0

[State 0, Trans]
type = Trans
trigger1 = time >= 10
trans = addalpha
alpha = 256, 256

[State 0, DestroySelf]
type = DestroySelf
trigger1 = time = 20

;=-------------------------
;=======================
[Statedef 7707]
type = U
movetype = U
physics = N
;anim = 0


[State 0, 2]
type = PosSet
trigger1 = Time = 0
y = 0

[State 0, power]
type = powerAdd
trigger1 = Time = 0
value = 150


[state 0]
Type = selfstate;
Trigger1 = time = 0; 将使用权还给对手。
Value = 0+11*(statetype = C)+50*(statetype = A)
Ctrl = 1

[State 0 , 7]
type = changestate
trigger1 = pos y =0 && anim = 0
trigger1 = time = 0
value = 0
ctrl = 1

[State 0 , 7]
type = changestate
trigger1 = pos y !=0 && anim = 0
trigger1 = time = 0
value = 50
ctrl = 1





;===================================结束
;===================================================
;---------------------------
;--------------活力药水
[Statedef 7918]
type = S
movetype = A
physics = S
velset = 0,0
anim = 7918
ctrl = 0
juggle = 1
sprpriority = 2

[State 0 , 0]
type = HitDef
trigger1 = time = 0
;trigger1 = parent,stateno = 10   
;trigger2 = Enemy,stateno = 10
attr = S, NA
damage    = 0
getpower  = 0
givepower = 0
hitflag = L-
;guardflag = MA
numhits = 0
priority = 0
pausetime = 0,0
sparkno = -1
sparkxy = 1000,0
animtype=Medium
;hitsound   = S5,1
;guardsound = 6,0
ground.type = High
ground.slidetime = 0
ground.hittime  = 0
ground.velocity = 0,0
air.velocity = 0,0
fall = 0
;fall.recover = 1
affectteam = b
P2stateno = 7708
guard.dist = 0

[State 0, Trans]
type = Trans
trigger1 = time >= 980
trans = addalpha
alpha = 256, 256

[State 0, DestroySelf]
type = DestroySelf
trigger1 = time = 1000

[State 0 , 7]
type = changestate
trigger1 =movecontact 
value = 7928


;------------

[Statedef 7928]
type = A
movetype = I
physics = A
velset = 0,-5
anim = 7908
ctrl = 0
sprpriority = 2

[State 0, PlaySnd]
type = PlaySnd
trigger1 = AnimElem = 1
value = 7921,0

[State 0, Trans]
type = Trans
trigger1 = time >= 10
trans = addalpha
alpha = 256, 256

[State 0, DestroySelf]
type = DestroySelf
trigger1 = time = 20

;=-------------------------
;=======================
[Statedef 7708]
type = U
movetype = U
physics = N
;anim = 0

[State 0, 2]
type = PosSet
trigger1 = Time = 0
y = 0

[State 0, Life]
type = powerAdd
trigger1 = Time = 0
value = 500


[state 0]
Type = selfstate;
Trigger1 = time = 0; 将使用权还给对手。
Value = 0+11*(statetype = C)+50*(statetype = A)
Ctrl = 1

[State 0 , 7]
type = changestate
trigger1 = pos y =0 && anim = 0
trigger1 = time = 0
value = 0
ctrl = 1

[State 0 , 7]
type = changestate
trigger1 = pos y !=0 && anim = 0
trigger1 = time = 0
value = 50
ctrl = 1





;===================================结束

;===================================================
;---------------------------
;--------------刨冰
[Statedef 7919]
type = S
movetype = A
physics = S
velset = 0,0
anim = 7919
ctrl = 0
juggle = 1
sprpriority = 2

[State 0 , 0]
type = HitDef
trigger1 = time = 0
;trigger1 = parent,stateno = 10   
;trigger2 = Enemy,stateno = 10
attr = S, NA
damage    = 0
getpower  = 0
givepower = 0
hitflag = L-
;guardflag = MA
numhits = 0
priority = 0
pausetime = 0,0
sparkno = -1
sparkxy = 1000,0
animtype=Medium
;hitsound   = S5,1
;guardsound = 6,0
ground.type = High
ground.slidetime = 0
ground.hittime  = 0
ground.velocity = 0,0
air.velocity = 0,0
fall = 0
;fall.recover = 1
affectteam = b
P2stateno = 7709
guard.dist = 0

[State 0, Trans]
type = Trans
trigger1 = time >= 980
trans = addalpha
alpha = 256, 256

[State 0, DestroySelf]
type = DestroySelf
trigger1 = time = 1000

[State 0 , 7]
type = changestate
trigger1 =movecontact 
value = 7929


;------------

[Statedef 7929]
type = A
movetype = I
physics = A
velset = 0,-5
anim = 7909
ctrl = 0
sprpriority = 2

[State 0, PlaySnd]
type = PlaySnd
trigger1 = AnimElem = 1
value = 7921,0

[State 0, Trans]
type = Trans
trigger1 = time >= 10
trans = addalpha
alpha = 256, 256

[State 0, DestroySelf]
type = DestroySelf
trigger1 = time = 20

;=-------------------------
;=======================
[Statedef 7709]
type = U
movetype = U
physics = N
;anim = 0

[State 0, 2]
type = PosSet
trigger1 = Time = 0
y = 0

[State 0, power]
type = powerAdd
trigger1 = Time = 0
value = 1000


[state 0]
Type = selfstate;
Trigger1 = time = 0; 将使用权还给对手。
Value = 0+11*(statetype = C)+50*(statetype = A)
Ctrl = 1

[State 0 , 7]
type = changestate
trigger1 = pos y =0 && anim = 0
trigger1 = time = 0
value = 0
ctrl = 1

[State 0 , 7]
type = changestate
trigger1 = pos y !=0 && anim = 0
trigger1 = time = 0
value = 50
ctrl = 1





;===================================结束

;===========================================================
;===============================【中间】============================
;=======================================================
;================================
;=================
[Statedef 7951]
type = A
movetype = I
physics = A
velset = 0,-8
anim = 7951+random%4
ctrl = 0
juggle = 1
sprpriority = 2

[State 0, AngleDraw]
type = AngleDraw
trigger1 = 1
value = time*30

[State 0 , 7]
type = changestate
trigger1 = time = 37 && anim = 7952
value = 7962

[State 0 , 7]
type = changestate
trigger1 = time = 37 && anim = 7953
value = 7963

[State 0 , 7]
type = changestate
trigger1 = time = 37 && anim = 7954
value = 7964

[State 0 , 7]
type = changestate
trigger1 = time = 37 && anim = 7910
value = 7920

[State 0 , 7]
type = changestate
trigger1 = time = 37
value = 7961


;--------------
[Statedef 7961]
type = S
movetype = A
physics = S
velset = 0,0
anim = 7961
ctrl = 0
juggle = 1
sprpriority = 2

[State 0 , 0]
type = HitDef
trigger1 = time = 0
;trigger1 = parent,stateno = 10   
;trigger2 = Enemy,stateno = 10
attr = S, NA
damage    = -600
getpower  = 0
givepower = 0
hitflag = L-
;guardflag = MA
numhits = 0
priority = 0
pausetime = 0,0
sparkno = -1
sparkxy = 1000,0
animtype=Medium
;hitsound   = S5,1
;guardsound = 6,0
ground.type = High
ground.slidetime = 0
ground.hittime  = 0
ground.velocity = 0,0
air.velocity = 0,0
fall = 0
;fall.recover = 1
affectteam = b
P2stateno = 7751
guard.dist = 0

[State 0, Trans]
type = Trans
trigger1 = time >= 980
trans = addalpha
alpha = 256, 256

[State 0, DestroySelf]
type = DestroySelf
trigger1 = time = 1000

[State 0 , 7]
type = changestate
trigger1 =movecontact 
value = 7971


;------------

[Statedef 7971]
type = A
movetype = I
physics = A
velset = 0,-5
anim = 7951
ctrl = 0
sprpriority = 2

[State 0, PlaySnd]
type = PlaySnd
trigger1 = AnimElem = 1
value = 7921,0

[State 0, Trans]
type = Trans
trigger1 = time >= 10
trans = addalpha
alpha = 256, 256

[State 0, DestroySelf]
type = DestroySelf
trigger1 = time = 20
;=======================
[Statedef 7751]
type = U
movetype = U
physics = N
;anim = 0

[State 0, 2]
type = PosSet
trigger1 = Time = 0
y = 0

[State 0, Life]
type = lifeAdd
trigger1 = Time = 0
value = -GetHitVar(damage)


[State 0, power]
type = powerAdd
trigger1 = Time = 0
value = 500

[state 0]
Type = selfstate;
Trigger1 = time = 0; 将使用权还给对手。
Value = 0+11*(statetype = C)+50*(statetype = A)
Ctrl = 1

[State 0 , 7]
type = changestate
trigger1 = pos y =0 && anim = 0
trigger1 = time = 0
value = 0
ctrl = 1

[State 0 , 7]
type = changestate
trigger1 = pos y !=0 && anim = 0
trigger1 = time = 0
value = 50
ctrl = 1

;==================================结束

;--------------
[Statedef 7962]
type = S
movetype = A
physics = S
velset = 0,0
anim = 7962
ctrl = 0
juggle = 1
sprpriority = 2

[State 0 , 0]
type = HitDef
trigger1 = time = 0
;trigger1 = parent,stateno = 10   
;trigger2 = Enemy,stateno = 10
attr = S, NA
damage    = -400
getpower  = 0
givepower = 0
hitflag = L-
;guardflag = MA
numhits = 0
priority = 0
pausetime = 0,0
sparkno = -1
sparkxy = 1000,0
animtype=Medium
;hitsound   = S5,1
;guardsound = 6,0
ground.type = High
ground.slidetime = 0
ground.hittime  = 0
ground.velocity = 0,0
air.velocity = 0,0
fall = 0
;fall.recover = 1
affectteam = b
P2stateno = 7752
guard.dist = 0

[State 0, Trans]
type = Trans
trigger1 = time >= 980
trans = addalpha
alpha = 256, 256

[State 0, DestroySelf]
type = DestroySelf
trigger1 = time = 1000

[State 0 , 7]
type = changestate
trigger1 =movecontact 
value = 7972


;------------

[Statedef 7972]
type = A
movetype = I
physics = A
velset = 0,-5
anim = 7952
ctrl = 0
sprpriority = 2

[State 0, PlaySnd]
type = PlaySnd
trigger1 = AnimElem = 1
value = 7921,0

[State 0, Trans]
type = Trans
trigger1 = time >= 10
trans = addalpha
alpha = 256, 256

[State 0, DestroySelf]
type = DestroySelf
trigger1 = time = 20
;=======================
[Statedef 7752]
type = U
movetype = U
physics = N
;anim = 0

[State 0, 2]
type = PosSet
trigger1 = Time = 0
y = 0

[State 0, Life]
type = lifeAdd
trigger1 = Time = 0
value = -GetHitVar(damage)


[State 0, power]
type = powerAdd
trigger1 = Time = 0
value = 1000

[state 0]
Type = selfstate;
Trigger1 = time = 0; 将使用权还给对手。
Value = 0+11*(statetype = C)+50*(statetype = A)
Ctrl = 1

[State 0 , 7]
type = changestate
trigger1 = pos y =0 && anim = 0
trigger1 = time = 0
value = 0
ctrl = 1

[State 0 , 7]
type = changestate
trigger1 = pos y !=0 && anim = 0
trigger1 = time = 0
value = 50
ctrl = 1

;==================================结束


;--------------
[Statedef 7963]
type = S
movetype = A
physics = S
velset = 0,0
anim = 7963
ctrl = 0
juggle = 1
sprpriority = 2

[State 0 , 0]
type = HitDef
trigger1 = time = 0
;trigger1 = parent,stateno = 10   
;trigger2 = Enemy,stateno = 10
attr = S, NA
damage    = -200
getpower  = 0
givepower = 0
hitflag = L-
;guardflag = MA
numhits = 0
priority = 0
pausetime = 0,0
sparkno = -1
sparkxy = 1000,0
animtype=Medium
;hitsound   = S5,1
;guardsound = 6,0
ground.type = High
ground.slidetime = 0
ground.hittime  = 0
ground.velocity = 0,0
air.velocity = 0,0
fall = 0
;fall.recover = 1
affectteam = b
P2stateno = 7753
guard.dist = 0

[State 0, Trans]
type = Trans
trigger1 = time >= 980
trans = addalpha
alpha = 256, 256

[State 0, DestroySelf]
type = DestroySelf
trigger1 = time = 1000

[State 0 , 7]
type = changestate
trigger1 =movecontact 
value = 7973


;------------

[Statedef 7973]
type = A
movetype = I
physics = A
velset = 0,-5
anim = 7953
ctrl = 0
sprpriority = 2

[State 0, PlaySnd]
type = PlaySnd
trigger1 = AnimElem = 1
value = 7921,0

[State 0, Trans]
type = Trans
trigger1 = time >= 10
trans = addalpha
alpha = 256, 256

[State 0, DestroySelf]
type = DestroySelf
trigger1 = time = 20
;=======================
[Statedef 7753]
type = U
movetype = U
physics = N
;anim = 0

[State 0, 2]
type = PosSet
trigger1 = Time = 0
y = 0

[State 0, Life]
type = lifeAdd
trigger1 = Time = 0
value = -GetHitVar(damage)


[State 0, power]
type = powerAdd
trigger1 = Time = 0
value = 1500

[state 0]
Type = selfstate;
Trigger1 = time = 0; 将使用权还给对手。
Value = 0+11*(statetype = C)+50*(statetype = A)
Ctrl = 1

[State 0 , 7]
type = changestate
trigger1 = pos y =0 && anim = 0
trigger1 = time = 0
value = 0
ctrl = 1

[State 0 , 7]
type = changestate
trigger1 = pos y !=0 && anim = 0
trigger1 = time = 0
value = 50
ctrl = 1

;==================================结束

;--------------
[Statedef 7964]
type = S
movetype = A
physics = S
velset = 0,0
anim = 7964
ctrl = 0
juggle = 1
sprpriority = 2

[State 0 , 0]
type = HitDef
trigger1 = time = 0
;trigger1 = parent,stateno = 10   
;trigger2 = Enemy,stateno = 10
attr = S, NA
damage    = 250
getpower  = 0
givepower = 0
hitflag = L-
;guardflag = MA
numhits = 0
priority = 0
pausetime = 0,0
sparkno = -1
sparkxy = 1000,0
animtype=Medium
;hitsound   = S5,1
;guardsound = 6,0
ground.type = High
ground.slidetime = 0
ground.hittime  = 0
ground.velocity = 0,0
air.velocity = 0,0
fall = 0
;fall.recover = 1
affectteam = b
P2stateno = 7701
guard.dist = 0

[State 0, Trans]
type = Trans
trigger1 = time >= 980
trans = addalpha
alpha = 256, 256

[State 0, DestroySelf]
type = DestroySelf
trigger1 = time = 1000

[State 0 , 7]
type = changestate
trigger1 =movecontact 
value = 7974


;------------

[Statedef 7974]
type = A
movetype = I
physics = A
velset = 0,-5
anim = 7954
ctrl = 0
sprpriority = 2

[State 0, PlaySnd]
type = PlaySnd
trigger1 = AnimElem = 1
value = 7921,0

[State 0, Trans]
type = Trans
trigger1 = time >= 10
trans = addalpha
alpha = 256, 256

[State 0, DestroySelf]
type = DestroySelf
trigger1 = time = 20

;==================================结束
