Hey guys i just added a powercharge to my shin lv 2 akuma, and its not working correctly it gives a clone and the clone does the powercharge but there are no special effects which i have added. Im using POTS power charge code.
Here is the code :
;==========<POWER CHARGE>==========
[Statedef 740]
type=S
physics=S
movetype=I
anim=740
ctrl=0
velset=0,0
[State 740, power]
type=poweradd
triggerall=anim=740&&power<powermax
trigger1=var(59)<=0&&(command="hold_b"&&command="hold_y")
trigger2=var(59)>=1
value=2+(time/10)
[State 740, snd]
type=playsnd
trigger1=!time
value=3,2
channel=0
[State 740, shake]
type=envshake
trigger1=anim=740&&!(time%4)
time=4
freq=80
ampl=2
[State 740, flash]
type=palfx
trigger1=anim=740&&!(time%12)
add=80,20,0
sinadd=80,20,0,12
time=12
[State 740, flash]
type=palfx
trigger1=anim=741
add=0,0,0
time=1
persistent=0
[State 740, fx]
type=helper
trigger1=anim=740&&!numhelper(7240)
helpertype=normal
stateno=7240
ID=7240
name="Power Charge"
postype=p1
ownpal=1
persistent=0
[State 740, aura]
type=helper
trigger1=anim=740&&animelemtime(5)>=0&&!numhelper(6000)
helpertype=normal
stateno=6000
ID=6000
postype=p1
ownpal=1
[State 740, anim]
type=changeanim
triggerall=anim=740&&animelemtime(2)>=0
trigger1=var(59)<=0&&(command!="hold_b"||command!="hold_y")
trigger2=power>=powermax||roundstate!=2
trigger3=var(59)>=1&&(inguarddist||p2movetype=A||p2dist x<160)
value=741
[State 740, stopsnd]
type=stopsnd
trigger1=anim=741
channel=0
persistent=0
[State 740, snd]
type=playsnd
trigger1=anim=741&&power>=powermax
value=4,15
channel=0
persistent=0
[State 740, end]
type=changestate
trigger1=anim=741&&!animtime
value=0
ctrl=1
EDIT: the aura around the feet is 7240 and the aura for the whole body is 6000 and the anim to recover is 741 so what am i doing wrong and do i need to add it to common.cns
EDIT2: because right now its just in my basic.cns with the taunt intro and win. So i need help let me know if i need to send the char to anyone to help me out because ive already got it rared up!
EDIT 3 :
figured it out i forgot to add a seperate state file with the helpers in it. So i got it.