;-------------------------------
;飛び道具返し
[Statedef 1256]
type    = S
movetype= H
physics = S
velset = 0,0
anim = 1256
ctrl = 0

[State 1256, Snd]
type = PlaySnd
trigger1 = Time = 0
value = 6, 5

[state 1256]
type = Varset
trigger1 = Time = 0
var(1) = GetHitVar(damage)

;セカンドシュート返却
[State 1256,SS]
type = Projectile
triggerall = time = 1
trigger1 = p2name = "Codddy'" || p2name = "Codddy'" || p2name = "Codddy"
projanim = 4500
offset = 50, -70
velocity = 7, 0
projremovetime = -1
attr = A, SP
animtype  = Hard
getpower = 0,0
givepower = 20,10
damage    = 10+var(1),6
guardflag = MA
hitflag = MAF
pausetime = 0,12
sparkno = 2
guard.sparkno = 40
hitsound   = s8,2
guardsound = s5,6
ground.type = High
ground.slidetime = 15
ground.hittime  = 20
ground.velocity = -8
airguard.velocity = -3.5      
air.velocity = -2.5,-5.5
air.juggle = 3
air.fall = 1
palfx.time = 19
palfx.mul = 240,220,128
palfx.sinadd = 32,128,220,16
palfx.add = 190,180,84

;カウンターシェル返却。
[State 1256,CS]
type = Projectile
triggerall = time = 1
trigger1 = p2name = "Hiel" || p2name = "kula" || p2name = "kula Diamond"
projanim = 4510
projhitanim = 4511
offset = 50, -40
velocity = 7, 0
projremovetime = -1
attr = A, SP
animtype  = Hard
getpower = 0,0
givepower = 20,10
damage    = 10+var(1),6
guardflag = MA
hitflag = MAF
pausetime = 0,12
sparkno = 2
guard.sparkno = 40
hitsound   = s8,3
guardsound = s5,6
ground.type = High
ground.slidetime = 17
ground.hittime = 17
ground.velocity = -4,-8
ground.cornerpush.veloff = 0
guard.velocity = -8
airguard.velocity = -4,-5
yaccel = 0.64
fall = 1
fall.recover = 0
air.velocity = -4,-8
air.fall = 1
air.recover = 0
fall.recover = 0 
air.animtype = Back
palfx.time = 39
palfx.mul = 220,220,255
palfx.sinadd = 64,48,48,32
palfx.add = 184,184,200
palfx.color = 8

;はどー拳返却。
[State 1256,HK]
type = Projectile
triggerall = time = 1
trigger1 = p2name = "RyuddSFA" || p2name = "Sakudra" || p2name = "Kden"
trigger2 = p2name = "SVCddKEN" || p2name = "Ken d& Gang" || p2name = "cvssakura"
trigger3 = p2name = "Destrudo Ryu" || p2name = "Goduki" || p2name = "Akudma"
trigger4 = p2name = "Shind Gouki" || p2name = "Ondi"
projanim = 4520
projhitanim = 4521
offset = 60, -50
velocity = 7, 0
projremovetime = -1
attr = A, SP
animtype  = Hard
getpower = 0,0
givepower = 20,10
damage    = 10+var(1),6
guardflag = MA
hitflag = MAF
pausetime = 0,12
sparkno = 2
guard.sparkno = 40
hitsound   = 5,4
guardsound = s5,6
ground.type = High
ground.slidetime = 15
ground.hittime  = 20
ground.velocity = -8
airguard.velocity = -3.5      
air.velocity = -2.5,-5.5
air.juggle = 3
air.fall = 1

[State 1256,Another]
type = Projectile
triggerall = time = 1
trigger1 = p2name != "Coddy'" && p2name != "Cddy'" && p2name != "Coddy"
trigger1 = p2name != "Hiel" && p2name != "kula" && p2name != "kula Diamond"
trigger1 = p2name != "RyduSFA" && p2name != "Sakudra" && p2name != "Kedn"
trigger1 = p2name != "SVCKdEN" && p2name != "Kend & Gang"
trigger1 = p2name != "Destrudo Ryu" && p2name != "cvssakura"
projanim = 1050
offset = 40, -70
velocity = 7, 0
projremovetime = -1
attr = A, SP
animtype  = Hard
getpower = 0,0
givepower = 20,10
damage    = 10+var(1),6
guardflag = MA
hitflag = MAF
pausetime = 0,12
sparkno = 2
guard.sparkno = 40
hitsound   = 5,4
guardsound = s5,6
ground.type = High
ground.slidetime = 15
ground.hittime  = 20
ground.velocity = -8
airguard.velocity = -3.5      
air.velocity = -2.5,-5.5
air.juggle = 3
air.fall = 1

[State 1256]
type = NotHitBy
trigger1 = 1
value = SCA,AA, AT, AP
time = 2

[State 1256]
type = SprPriority
trigger1 = Time >= 0
value =  -1

[State 1256]
type = StateTypeSet
trigger1 = Time > 0
movetype = I

[State 1256]
type = DestroySelf
trigger1 = AnimTime = 0

;-------------------------------
;超必飛び道具返し
[Statedef 1257]
type    = S
movetype= H
physics = S
velset = 0,0
anim = 1256
ctrl = 0

[state 1257]
type = Varset
trigger1 = Time = 0
var(1) = GetHitVar(damage)

[State 1257]
type = Projectile
trigger1 = time = 1
projanim = 1050
projhits = 5
offset = 20, -70
velocity = 7, 0
projremovetime = -1
attr = A, SP
animtype  = Hard
getpower = 0,0
givepower = 20,10
damage    = 10+var(1)/5,var(1)/20
guardflag = MA
hitflag = MAF
pausetime = 0,12
sparkno = 2
guard.sparkno = 40
hitsound   = 5,4
guardsound = s5,6
ground.type = High
ground.slidetime = 15
ground.hittime  = 20
ground.velocity = -8
airguard.velocity = -3.5      
air.velocity = -2.5,-5.5
air.juggle = 3
air.fall = 1

[State 1257]
type = NotHitBy
trigger1 = 1
value = SCA,AA, AT, AP
time = 2

[State 1257]
type = SprPriority
trigger1 = Time >= 0
value =  -1

[State 1257]
type = StateTypeSet
trigger1 = Time > 0
movetype = I

[State 1257]
type = DestroySelf
trigger1 = AnimTime = 0

