Kai Sensei Ken can throw this really slow moving fireball and he can't be hit by it as well as his opponent. How can I make it to where only the opponent can be hit?? Here is the code I found........
; HadouKen especial
[Statedef 1008]
type = S
movetype= A
physics = S
juggle = 5
poweradd= 0
ctrl = 0
velset = 0,0
anim = 1000
sprpriority = 2
[State 1008, 1]
type = Helper
trigger1 = AnimElemTime(5) = 1
helpertype = normal
name = "Hadou-Ken"
ID = 1008
pos = 67, -70
postype = p1
stateno = 1009
ownpal = 1
[State 1008,1 ]
type = PlaySnd
trigger1 = animelem = 4
value = 2, 5
channel = -1
[State 1008, 2]
type = ChangeState
trigger1 = AnimTime = 0
value = 0
ctrl = 1
;---------------------------------------------------------------------
;=====================================================================
[Statedef 1009]
type = A
movetype= A
anim = 1008
sprpriority = 3
poweradd= -100
[state 1009, 1]
type = VelSet
trigger1 = Time = 0
x = .2
[State 1009, Unblockable]
type = AssertSpecial
trigger1 = stateno=1009
flag = UnGuardable
[State 1009, 2]
type = HitDef
trigger1 = Time = 40
attr = A, SP
damage = 200,20
animtype = hard
guardflag = MA
hitflag = MAF
priority = 7 , Hit
sprpriority = 3
projcancelanim = 8092
pausetime = 3, 3
guard.sparkno = S8200
sparkno = S8099
sparkxy = 0, 0
hitsound = S1,25
guardsound = S1,15
ground.type = High
ground.slidetime = 20
ground.hittime = 25
ground.velocity = -5,-9
guard.velocity = -20
airguard.velocity = -10
air.type = High
air.velocity = -4, -8
air.hittime = 25
fall = 1
air.fall = 1
palfx.time = 31
palfx.add = 160,240,140
palfx.mul = 80,120,220
palfx.sinadd = 80, 80, 80, 5
affectteam=B
envshake.time=11
envshake.freq=60
envshake.ampl=5
ignorehitpause = 1
[State 1009, 3]
type = ChangeState
trigger1 = Movehit
trigger2 = moveguarded
value=1011
;---------------------------------------------------------------------
;=====================================================================
[Statedef 1011]
type = A
movetype = I
ctrl = 0
anim = 8099
velset = 0, 0
sprpriority = 2
[State 1008, 2]
type = DestroySelf
triggerall = Time >=3
trigger1 = P2MoveType != H
trigger2 = NumTarget > 0
trigger2 = target(0), Time > 1
thanks in advance