;------------------------------------------------------
;carga de hadou combo
[Statedef 3880]
physics=N
velset=0,0
anim=9741

[State 4303, palfx]
type=palfx
trigger1=time=20
time=11
sinadd=-255,-255,-255,40
persistent=0

[State 4303, main]
type=explod
trigger1=!time
anim=4303
ID=4303
sprpriority=5
postype=p1
removetime=20
supermovetime=999

[State 4303, shrinkcircle]
type=modifyexplod
trigger1=1
ID=4303
scale=2-(.1*time),2-(.1*time)

[State 4303, sphere]
type=explod
trigger1=!time
anim=4300
ID=4300
sprpriority=5
postype=p1
removetime=-1
supermovetime=9999

[State 4303, shrinkcircle]
type=modifyexplod
trigger1=1
ID=4300
scale=.017*time,.017*time

[State 4303, circle]
type=explod
trigger1=time=20
anim=4304
ID=4304
sprpriority=5
postype=p1
removetime=-1
supermovetime=300

[State 4303, shrinkcircle]
type=modifyexplod
trigger1=time>=20
ID=4304
scale=.1+(.1*(time-20)),.1+(.1*(time-20))

[State 4303, noshadow]
type=assertspecial
trigger1=1
flag=noshadow
flag2=invisible
ignorehitpause=1

[State 4303, bound]
type=screenbound
trigger1=1
value=0

[State 4303, safety]
type=removeexplod
trigger1=time>=30

[State 6110, end]
type=destroyself
trigger1=time>=30
;========================<Lv3 SUPERCHARGE PORTRAIT>=============================
[Statedef 3883]
physics=N
anim=9741

[State 7510, assert]
type=assertspecial
trigger1=1
flag=invisible
flag2=nobardisplay
flag3=nobg
ignorehitpause=1

[State 7510, portrait]
type=explod
trigger1=numexplod(9997) = 1
anim=9998
ID=9998
postype=back
pos=165,180
sprpriority = -6
scale = 1,1
bindtime=-1
removetime=2
ownpal = 1
pausemovetime=300
supermovetime=300

[State 7510, portrait]
type=explod
trigger1 = time <=20
anim=9997
ID=9997
postype=back
pos=-15+((time)*6),155
sprpriority = -5
scale = .7,.6
bindtime=-1
removetime=1
ownpal = 0
pausemovetime=9999
supermovetime=9999

[State 7510, portrait]
type=explod
trigger1 = time >=21
anim=9997
ID=9997
postype=back
pos=85+((time-1)),155
sprpriority = -5
scale = .7,.6
bindtime=-1
removetime=1
ownpal = 0
pausemovetime=300
supermovetime=300

[State 7510, shrink]
type=modifyexplod
trigger1=time>=55
ID=9997
scale=.7+(.13*(time-55)),.65+(.13*(time-55))

[State 0, EnvColor]
type = bgPalFX
trigger1 = time = 1
mul = 1,1,1
time = 1
invertall = 0
ignorehitpause = 1

[State 0, EnvColor]
type = PalFX
trigger1 = time <= 31
mul = ceil(1+((time)*8)),ceil(1+((time)*8)),ceil(1+((time)*8))
time = 2
invertall = 0
ignorehitpause = 1

[State 7510, fade]
type=palfx
trigger1=time=55
time=15
sinadd=-255,-255,-255,60

[State 7510, safety]
type=removeexplod
trigger1=time>=71

[State 7510, end]
type=destroyself
trigger1=time>=71
;--------------------------------------------------
;carga nivel 1
[Statedef 3886]
physics=N
velset=0,0
anim=9741

[State 4300, fade]
type=palfx
trigger1=!time
time=40
sinadd=-255,-255,-255,160

[State 0, ScreenBound]
type = ScreenBound
trigger1 = 1
value = 0

[State 0, EnvColor]
type = BGPalFX
;trigger1 = animelem = 1
trigger1 = time < 40
mul = 105-(time*2),105-(time*2),255-(time*6)
;sinadd=-255,-255,-255,160
;mul = 10-((time)*10),10-((time)*10),10-((time-45)*10)
;mul = ceil(1-((animtime-15)*10)),ceil(10-((animtime)*15)),ceil(140-((animtime-30)*10))
time = 1
invertall = 1
ignorehitpause = 1

[State 0, EnvColor]
type = BGPalFX
trigger1 = time = [40,46]
mul = ceil(0+((animtime-40)*10)),ceil(0+((animtime-40)*10)),ceil(0+((animtime-40)*10))
time = 2
invertall = 0
ignorehitpause = 1

[State 3000: Helper]
type = Helper
trigger1 = Time = 1
helpertype = normal
name = "Aro"
ID =3887
stateno = 3887
pos = 0,0
postype = p1
facing = 1
keyctrl = 0
ownpal = 1
supermovetime = 999999
pausemovetime = 999999

[State 200:Playsnd avanicada]
type = playsnd
trigger1 = time = 0
value = 4000,3
channel = 15

[State 200:Playsnd avanicada]
type = playsnd
trigger1 = time = 10
value = 4000,2
channel = 16

[State 0, Explod]
type = Explod
trigger1 = parent,stateno = [3000,3100]
trigger1 = time = 1
anim = 3003
ID = 3003
pos = -10,0
postype = p1  ;p2,front,back,left,right
facing = 1
vfacing = 1
bindtime = 1
vel = 0,0
accel = 0,0
random = 0,0
removetime = -2
supermove = 9999
pausemove = 9999
scale = .75,.9
sprpriority = 3
ontop = 0
shadow = 0,0,0
ownpal = 1
removeongethit = 1
ignorehitpause = 1
persistent =  0

[State 4300, main]
type=explod
trigger1= time = 1
anim=4300
ID=4300
sprpriority=5
postype=p1
removetime=-1
supermovetime=300
ownpal=1

[State 4300, shrink]
type=modifyexplod
trigger1=numexplod(4300) ;&& time <=23;root,var(10)=5
ID=4300
scale=1.5-(.037*time),1.5-(.037*time)

[State 0, RemoveExplod]
type = RemoveExplod
trigger1 = time = 40
id = 4300

[State 4300, circle]
type=explod
trigger1=time = 1
anim=4304
ID=4304
sprpriority=5
postype=p1
removetime=20
supermovetime=300

[State 4300, shrink]
type=modifyexplod
trigger1=numexplod(4304)
ID=4304
scale = 2-(.1*time),2-(.1*time)

[State 4300, circle]
type=explod
trigger1=time = 1
anim=4306
ID=4306
sprpriority=5
postype=p1
removetime=30
supermovetime=300

[State 4300, shrink]
type=modifyexplod
trigger1=numexplod(4306)
ID=4306
scale = .1+(.12*time),.1+(.12*time)

[State 4300, circle]
type=explod
trigger1=time = 1
anim=4301
ID=43011
sprpriority=5
postype=p1
supermovetime=300
ownpal=1

[State 4300, circle]
type=explod
trigger1=time=7
anim=4301
ID=43012
sprpriority=5
postype=p1
supermovetime=300
ownpal=1

[State 4300, circle]
type=explod
trigger1=time=14
anim=4301
ID=43013
sprpriority=5
postype=p1
supermovetime=300
ownpal=1

[State 4300, circle]
type=explod
trigger1=time=21
anim=4301
ID=43014
sprpriority=5
postype=p1
supermovetime=300
ownpal=1

[State 4300, circle]
type=explod
trigger1=time=28
anim=4301
ID=43015
sprpriority=5
postype=p1
supermovetime=300
ownpal=1

[State 4300, shrink]
type=modifyexplod
trigger1=numexplod(43011)
ID=43011
scale=.25+(.0380*time),.25+(.0380*time)

[State 4300, shrink]
type=modifyexplod
trigger1=numexplod(43012)
ID=43012
scale=.25+(.0380*(time-7)),.25+(.0380*(time-7))

[State 4300, shrink]
type=modifyexplod
trigger1=numexplod(43013)
ID=43013
scale=.25+(.0380*(time-14)),.25+(.0380*(time-14))

[State 4300, shrink]
type=modifyexplod
trigger1=numexplod(43014)
ID=43014
scale=.25+(.0380*(time-21)),.25+(.0380*(time-21))

[State 4300, shrink]
type=modifyexplod
trigger1=numexplod(43015)
ID=43015
scale=.25+(.0380*(time-28)),.25+(.0380*(time-28))

[State 4300, noshadow]
type=assertspecial
trigger1=1
flag=noshadow
flag2=invisible
ignorehitpause=1

[State 0, StopSnd]
type = StopSnd
trigger1=time>=45
channel = 15

[State 0, StopSnd]
type = StopSnd
trigger1=time>=45
channel = 16

[State 7500, safety]
type=removeexplod
trigger1=time>=45

[State 4300, end]
type=destroyself
;trigger1=root,var(10)=5&&time>=46
;trigger2=root,var(10)=6&&time>=54
trigger1=time>=46;root,var(10)=7&&time>=61
;--------------------------------------------------
;circulo q gira
[Statedef 3887]
physics=N
anim = 4306

[State 0, ScreenBound]
type = ScreenBound
trigger1 = 1
value = 0

[State 3887, Trans]
type = Trans
trigger1 =  1
trans = add

[State 3887, AssertSpecial]
type = AssertSpecial
trigger1 = 1
flag = noshadow

[State 3887, AngleDraw]
type = AngleDraw
trigger1 = 1
scale = .8-(Time*.1/4), .8-(Time*.1/2)
value = 45

[State 3887: AllPalFX]
type = PalFX
trigger1 = 1
time = 1
add= 10-(Time)*8,10-(Time)*8,10-(Time)*8

[State 3887: SprPriority]
type = SprPriority
trigger1 = 1
value = 999

[State 3887: DestroySelf]
type = DestroySelf
trigger1 = Time = 30
;--------------------------------------------------
;circulo de shin shoryuuken
[Statedef 3889]
physics=N
velset=0,0
anim=9741

[State 4300, fade]
type=palfx
trigger1=!time
time=40
sinadd=-255,-255,-255,160

[State 0, ScreenBound]
type = ScreenBound
trigger1 = 1
value = 0

[State 4300, circle]
type=explod
trigger1=time = 1
anim=4301
ID=43011
sprpriority=5
postype=p1
supermovetime=300
ownpal=1

[State 4300, shrink]
type=modifyexplod
trigger1=numexplod(43011)
ID=43011
scale=.25+(.380*time),.25+(.380*time)

[State 4300, noshadow]
type=assertspecial
trigger1=1
flag=noshadow
flag2=invisible
ignorehitpause=1

[State 7500, safety]
type=removeexplod
trigger1=time>=46

[State 4300, end]
type=destroyself
;trigger1=root,var(10)=5&&time>=46
;trigger2=root,var(10)=6&&time>=54
trigger1=time>=30;root,var(10)=7&&time>=61
;--------------------------------------------------
;carga nivel 2
[Statedef 38861]
physics=N
velset=0,0
anim=9741

[State 4300, fade]
type=palfx
trigger1=!time
time=40
sinadd=-255,-255,-255,160

[State 0, ScreenBound]
type = ScreenBound
trigger1 = 1
value = 0

[State 0, EnvColor]
type = BGPalFX
;trigger1 = animelem = 1
trigger1 = time < 40
mul = 230-(time*5),90-(time*2),255-(time*6)
;mul = 10-((time)*10),10-((time)*10),10-((time-45)*10)
;mul = 80-((time-30)*10),10-((time)*15),120-((time-30)*10)
time = 1
invertall = 1
ignorehitpause = 1

[State 0, EnvColor]
type = BGPalFX
trigger1 = time = [40,46]
mul = 0+((time-40)*10),0+((time-40)*10),0+((time-40)*10)
time = 2
invertall = 0
ignorehitpause = 1

[State 3000: Helper]
type = Helper
trigger1 = Time = 1
helpertype = normal
name = "Aro"
ID =3887
stateno = 3887
pos = 0,0
postype = p1
facing = 1
keyctrl = 0
ownpal = 1
supermovetime = 999999
pausemovetime = 999999

[State 3000: Helper]
type = Helper
trigger1 = Time = 1
helpertype = normal
name = "Aro"
ID =3887
stateno = 3887
pos = 0,0
postype = p1
facing = -1
keyctrl = 0
ownpal = 1
supermovetime = 999999
pausemovetime = 999999

[State 200:Playsnd avanicada]
type = playsnd
trigger1 = time = 0
value = 4000,3
channel = 15

[State 200:Playsnd avanicada]
type = playsnd
trigger1 = time = 10
value = 4000,2
channel = 16

[State 0, Explod]
type = Explod
trigger1 = parent,stateno = [3000,3100]
trigger1 = time = 1
anim = 30000
ID = 30000
pos = -10,0
postype = p1  ;p2,front,back,left,right
facing = 1
vfacing = 1
bindtime = 1
vel = 0,0
accel = 0,0
random = 0,0
removetime = -2
supermove = 9999
pausemove = 9999
scale = .75,.9
sprpriority = 3
ontop = 0
shadow = 0,0,0
ownpal = 1
removeongethit = 1
ignorehitpause = 1
persistent =  0

[State 4300, main]
type=explod
trigger1= time = 1
anim=4300
ID=4300
sprpriority=5
postype=p1
removetime=-1
supermovetime=300
ownpal=1

[State 4300, shrink]
type=modifyexplod
trigger1=numexplod(4300) ;&& time <=23;root,var(10)=5
ID=4300
scale=1.5-(.037*time),1.5-(.037*time)

[State 0, RemoveExplod]
type = RemoveExplod
trigger1 = time = 40
id = 4300

[State 4300, circle]
type=explod
trigger1=time = 1
anim=4304
ID=4304
sprpriority=5
postype=p1
removetime=20
supermovetime=300

[State 4300, shrink]
type=modifyexplod
trigger1=numexplod(4304)
ID=4304
scale = 2-(.1*time),2-(.1*time)

[State 4300, circle]
type=explod
trigger1=time = 1
anim=4306
ID=4306
sprpriority=5
postype=p1
removetime=30
supermovetime=300

[State 4300, shrink]
type=modifyexplod
trigger1=numexplod(4306)
ID=4306
scale = .1+(.12*time),.1+(.12*time)

[State 4300, circle]
type=explod
trigger1=time = 1
anim=4301
ID=43011
sprpriority=5
postype=p1
supermovetime=300
ownpal=1

[State 4300, circle]
type=explod
trigger1=time=7
anim=4301
ID=43012
sprpriority=5
postype=p1
supermovetime=300
ownpal=1

[State 4300, circle]
type=explod
trigger1=time=14
anim=4301
ID=43013
sprpriority=5
postype=p1
supermovetime=300
ownpal=1

[State 4300, circle]
type=explod
trigger1=time=21
anim=4301
ID=43014
sprpriority=5
postype=p1
supermovetime=300
ownpal=1

[State 4300, circle]
type=explod
trigger1=time=28
anim=4301
ID=43015
sprpriority=5
postype=p1
supermovetime=300
ownpal=1

[State 4300, shrink]
type=modifyexplod
trigger1=numexplod(43011)
ID=43011
scale=.25+(.0380*time),.25+(.0380*time)

[State 4300, shrink]
type=modifyexplod
trigger1=numexplod(43012)
ID=43012
scale=.25+(.0380*(time-7)),.25+(.0380*(time-7))

[State 4300, shrink]
type=modifyexplod
trigger1=numexplod(43013)
ID=43013
scale=.25+(.0380*(time-14)),.25+(.0380*(time-14))

[State 4300, shrink]
type=modifyexplod
trigger1=numexplod(43014)
ID=43014
scale=.25+(.0380*(time-21)),.25+(.0380*(time-21))

[State 4300, shrink]
type=modifyexplod
trigger1=numexplod(43015)
ID=43015
scale=.25+(.0380*(time-28)),.25+(.0380*(time-28))

[State 4300, noshadow]
type=assertspecial
trigger1=1
flag=noshadow
flag2=invisible
ignorehitpause=1

[State 0, StopSnd]
type = StopSnd
trigger1=time>=45
channel = 15

[State 0, StopSnd]
type = StopSnd
trigger1=time>=45
channel = 16

[State 7500, safety]
type=removeexplod
trigger1=time>=45

[State 4300, end]
type=destroyself
;trigger1=root,var(10)=5&&time>=46
;trigger2=root,var(10)=6&&time>=54
trigger1=time>=46;root,var(10)=7&&time>=61
;--------------------------------------------------
;carga nivel 3
[Statedef 38862]
physics=N
velset=0,0
anim=9741

[State 4300, fade]
type=palfx
trigger1=!time
time=40
sinadd=-255,-255,-255,160

[State 0, ScreenBound]
type = ScreenBound
trigger1 = 1
value = 0

[State 0, EnvColor]
type = BGPalFX
;trigger1 = animelem = 1
trigger1 = time < 40
mul = 0,0,0
;mul = 10-((time)*10),10-((time)*10),10-((time-45)*10)
;mul = 140-((time-15)*10),10-((time)*15),10-((time-5)*10)
time = 1
invertall = 1
ignorehitpause = 1

[State 0, EnvColor]
type = BGPalFX
trigger1 = time = [40,46]
mul = 0+((time-40)*10),0+((time-40)*10),0+((time-40)*10)
time = 2
invertall = 0
ignorehitpause = 1

[State 3000: Helper]
type = Helper
trigger1 = Time = 1
helpertype = normal
name = "Aro"
ID =3887
stateno = 3887
pos = 0,0
postype = p1
facing = 1
keyctrl = 0
ownpal = 1
supermovetime = 999999
pausemovetime = 999999

[State 3000: Helper]
type = Helper
trigger1 = Time = 1
helpertype = normal
name = "Aro"
ID =3887
stateno = 3887
pos = 0,0
postype = p1
facing = -1
keyctrl = 0
ownpal = 1
supermovetime = 999999
pausemovetime = 999999

[State 200:Playsnd avanicada]
type = playsnd
trigger1 = time = 0
value = 4000,3
channel = 15

[State 200:Playsnd avanicada]
type = playsnd
trigger1 = time = 10
value = 4000,2
channel = 16

[State 0, Explod]
type = Explod
trigger1 = parent,stateno = [3000,3100]
trigger1 = time = 1
anim = 30000
ID = 30000
pos = -10,0
postype = p1  ;p2,front,back,left,right
facing = 1
vfacing = 1
bindtime = 1
vel = 0,0
accel = 0,0
random = 0,0
removetime = -2
supermove = 9999
pausemove = 9999
scale = .75,.9
sprpriority = 3
ontop = 0
shadow = 0,0,0
ownpal = 1
removeongethit = 1
ignorehitpause = 1
persistent =  0

[State 4300, main]
type=explod
trigger1= time = 1
anim=4300
ID=4300
sprpriority=5
postype=p1
removetime=-1
supermovetime=300
ownpal=1

[State 4300, shrink]
type=modifyexplod
trigger1=numexplod(4300) ;&& time <=23;root,var(10)=5
ID=4300
scale=1.5-(.037*time),1.5-(.037*time)

[State 0, RemoveExplod]
type = RemoveExplod
trigger1 = time = 40
id = 4300

[State 4300, circle]
type=explod
trigger1=time = 1
anim=4304
ID=4304
sprpriority=5
postype=p1
removetime=20
supermovetime=300

[State 4300, shrink]
type=modifyexplod
trigger1=numexplod(4304)
ID=4304
scale = 2-(.1*time),2-(.1*time)

[State 4300, circle]
type=explod
trigger1=time = 1
anim=4306
ID=4306
sprpriority=5
postype=p1
removetime=30
supermovetime=300

[State 4300, shrink]
type=modifyexplod
trigger1=numexplod(4306)
ID=4306
scale = .1+(.12*time),.1+(.12*time)

[State 4300, circle]
type=explod
trigger1=time = 1
anim=4301
ID=43011
sprpriority=5
postype=p1
supermovetime=300
ownpal=1

[State 4300, circle]
type=explod
trigger1=time=7
anim=4301
ID=43012
sprpriority=5
postype=p1
supermovetime=300
ownpal=1

[State 4300, circle]
type=explod
trigger1=time=14
anim=4301
ID=43013
sprpriority=5
postype=p1
supermovetime=300
ownpal=1

[State 4300, circle]
type=explod
trigger1=time=21
anim=4301
ID=43014
sprpriority=5
postype=p1
supermovetime=300
ownpal=1

[State 4300, circle]
type=explod
trigger1=time=28
anim=4301
ID=43015
sprpriority=5
postype=p1
supermovetime=300
ownpal=1

[State 4300, shrink]
type=modifyexplod
trigger1=numexplod(43011)
ID=43011
scale=.25+(.0380*time),.25+(.0380*time)

[State 4300, shrink]
type=modifyexplod
trigger1=numexplod(43012)
ID=43012
scale=.25+(.0380*(time-7)),.25+(.0380*(time-7))

[State 4300, shrink]
type=modifyexplod
trigger1=numexplod(43013)
ID=43013
scale=.25+(.0380*(time-14)),.25+(.0380*(time-14))

[State 4300, shrink]
type=modifyexplod
trigger1=numexplod(43014)
ID=43014
scale=.25+(.0380*(time-21)),.25+(.0380*(time-21))

[State 4300, shrink]
type=modifyexplod
trigger1=numexplod(43015)
ID=43015
scale=.25+(.0380*(time-28)),.25+(.0380*(time-28))

[State 4300, noshadow]
type=assertspecial
trigger1=1
flag=noshadow
flag2=invisible
ignorehitpause=1

[State 0, StopSnd]
type = StopSnd
trigger1=time>=45
channel = 15

[State 0, StopSnd]
type = StopSnd
trigger1=time>=45
channel = 16

[State 7500, safety]
type=removeexplod
trigger1=time>=45

[State 4300, end]
type=destroyself
;trigger1=root,var(10)=5&&time>=46
;trigger2=root,var(10)=6&&time>=54
trigger1=time>=46;root,var(10)=7&&time>=61
;--------------------------------------------------
;circulo de shin shoryuuken 2
[Statedef 38890]
physics=N
velset=0,0
anim=9741

[State 4300, fade]
type=palfx
trigger1=!time
time=40
sinadd=-255,-255,-255,160

[State 0, ScreenBound]
type = ScreenBound
trigger1 = 1
value = 0

[State 4300, circle]
type=explod
trigger1=time = 1
anim=4301
ID=43011
sprpriority=5
postype=p1
supermovetime=300
ownpal=1

[State 4300, shrink]
type=modifyexplod
trigger1=numexplod(43011)
ID=43011
scale=.25+(1.2*time),.25+(1.2*time)

[State 4300, noshadow]
type=assertspecial
trigger1=1
flag=noshadow
flag2=invisible
ignorehitpause=1

[State 7500, safety]
type=removeexplod
trigger1=time>=46

[State 4300, end]
type=destroyself
;trigger1=root,var(10)=5&&time>=46
;trigger2=root,var(10)=6&&time>=54
trigger1=time>=30;root,var(10)=7&&time>=61
