;-----------------<Helper>------------------------------------------------
;====================================================
; ヘルパー
;====================================================
;---------------------------------------------------------------------------
; L.G.A.Fire Type-β(エーテル弾)
[Statedef 1201]
type = A
Movetype = A
physics = N
ctrl = 0
juggle=1
SprPriority = 5

[state -2]
type = AssertSpecial
trigger1 = 1
flag = noshadow

[State 1002,1]
type = VarSet
trigger1 = !time
var(10) = Ifelse((IsHelper(1203)||IsHelper(1303)),7,Ifelse((IsHelper(1202)||IsHelper(1302)),4,Ifelse((IsHelper(1201)||IsHelper(1301)),2,0)))

[State 1002,1]
type = VarSet
trigger1 = !time
trigger1 = IsHelper(1303) || IsHelper(1302) || IsHelper(1301) || IsHelper(1300)
var(12) = 2

[State 1002,1]
type = VarAdd
triggerall = !IsHelper(1200) || !IsHelper(1300)
trigger1 = !time
var(10) = 1

[State 1002,1]
type = VarAdd
trigger1 = FrontEdgeDist <= -10
trigger2 = BackEdgeDist <= -10
trigger3 = (-120+ScreenPos y) <= -120
trigger4 = (-120+ScreenPos y) >= 120
trigger5 = Pos Y >= 0
var(10) = -1

[State -2, 1]
type = PlaySnd
trigger1 = FrontEdgeDist <= -10
trigger2 = BackEdgeDist <= -10
trigger3 = (-120+ScreenPos y) <= -120
trigger4 = (-120+ScreenPos y) >= 120
trigger5 = Pos Y >= 0
value = s0,9

[State 1002,1]
type = VarSet
trigger1 = FrontEdgeDist <= -10
trigger2 = BackEdgeDist <= -10
trigger3 = (-120+ScreenPos y) <= -120
trigger4 = (-120+ScreenPos y) >= 120
trigger5 = Pos Y >= 0
var(13) = 0

[State 1002,1]
type = VarSet
trigger1 = FrontEdgeDist <= -10
var(11) = 1
[State 1002,1]
type = VarSet
trigger1 = BackEdgeDist <= -10
var(11) = 0

[State 1002,1]
type = VarSet
trigger1 = (-120+ScreenPos y) <= -120
var(12) = 1
[State 1002,1]
type = VarSet
trigger1 = (-120+ScreenPos y) >= 120
trigger2 = Pos Y >= 0
var(12) = 0

[State 1002,1]
type = VelSet
trigger1 = 1
x = Ifelse(var(11)=0,15,-15)
y = Ifelse(var(12)=0,-7.5,Ifelse(var(12)=1,7.5,5.5))

[State 1002,1]
type = playerpush
trigger1 = 1
value = 0

[State 45]
type = NotHitBy
trigger1 = 1
value = SCA
time = 1
IgnoreHitPause = 1
persistent = 1

[state -2]
type = ChangeAnim
trigger1 = var(11) = 0
trigger1 = var(12) = 0
Value = 1201
IgnoreHitPause = 1
persistent = 1

[state -2]
type = ChangeAnim
trigger1 = var(11) = 1
trigger1 = var(12) = 0
Value = 1202
IgnoreHitPause = 1
persistent = 1

[state -2]
type = ChangeAnim
trigger1 = var(11) = 1
trigger1 = var(12) = 1
Value = 1203
IgnoreHitPause = 1
persistent = 1

[state -2]
type = ChangeAnim
trigger1 = var(11) = 0
trigger1 = var(12) = 1
Value = 1204
IgnoreHitPause = 1
persistent = 1

[state -2]
type = ChangeAnim
trigger1 = var(11) = 0
trigger1 = var(12) = 2
Value = 1301
IgnoreHitPause = 1
persistent = 1

[State -2 , 1]
type = VarSet
trigger1 = MoveContact = 1
v = 13
value = 1

[State 300 , 2]
type = HitDef
trigger1 = var(13) = 0
attr = A, SP
damage = ceil(ifelse(root,fvar(11)*50<7, 7, root,fvar(11)*50)), 7
animtype = Hard
getpower = ifelse(p2movetype=H,72,144)*!root,var(20), 36*!root,var(20)
givepower = 70,70
guardflag = MA
hitflag = MAFD
priority = 4,Hit
pausetime=0,12
hitsound = s1,6
guardsound = s3,0
sparkno = -1
guard.sparkno = -1
sparkxy = 0,0
ground.type = high
ground.slidetime = 12
ground.hittime = 15
air.hittime = 15
guard.hittime = 16
airguard.hittime = 18
ground.velocity = -5.5,0
air.velocity = -2.8,-6.0
airguard.velocity = -1.2,-3.5
yaccel = 0.48
Air.fall = 1
fall.recovertime = ceil(root,fvar(20)*60+40)
guard.kill = 0
P2Facing = 1
envshake.time = 10
envshake.freq = 80
envshake.ampl = -8

[State HitSparks]
type=helper
trigger1 = numtarget 
trigger1 = movehit = 1 && numenemy
trigger1= (target,movetype=H) && !(target,time)
helpertype=normal
stateno=4020
ID=4000
name="Spark"
postype=p1
pos= 0,0
facing= ifelse((enemynear,facing = facing), -1, 1)
ownpal=0
size.xscale=.35
size.yscale=.35
pausemovetime=65535
supermovetime=65535
ignorehitpause=1
[State GuardSparks]
type=helper
trigger1 = numtarget 
trigger1 = moveguarded = 1 && numenemy
trigger1= (target,movetype!=I) && !(target,time)
helpertype=normal
stateno=4110
ID=4000
name="Spark"
postype=p1
pos= 0,0
facing= ifelse((enemynear,facing = facing), 1, -1)
ownpal=0
size.xscale=.5
size.yscale=.5
pausemovetime=65535
supermovetime=65535
[State -2, Counter FX];カウンター
type=helper
triggerall= movecontact=1 && var(45)=hitpausetime
trigger1= numenemy && var(9)
trigger1= !(hitdefattr=SCA,AT)
helpertype=normal
stateno=4014
ID=4014
name="Counter"
postype=p1
pos=  0,0
facing= -1
ownpal=1
pausemovetime=255
supermovetime=255
ignorehitpause=1

[State -2, Counter Flag]
type=varset
trigger1= numenemy
var(9)=(enemynear,movetype=A)
ignorehitpause=1

[State -2 , 1]
type = ParentVarSet
trigger1 = MoveHit = 1
fv = 20
value = Root,fvar(20)*0.92

[state 800]
type = Trans
trigger1 = 1
trans = add

[State -2]
Type = Helper
trigger1 = (-100+ScreenPos y) >= 100 && Pos Y >= 0
StateNo = 1205
ID = 1205
name = "Type-β"
PosType = P1
Pos = 0,0
Ownpal = 0
SprPriority = 5
IgnoreHitPause = 1
[State -2]
Type = Helper
trigger1 = (-100+ScreenPos y) <= -100 && Pos Y <= 0
StateNo = 1206
ID = 1206
name = "Type-β"
PosType = P1
Pos = 0,0
Ownpal = 0
SprPriority = 5
IgnoreHitPause = 1
[State -2]
Type = Helper
trigger1 = FrontEdgeDist <= -10 && Pos X >= 0
StateNo = 1207
ID = 1207
name = "Type-β"
PosType = P1
Pos = 0,0
Ownpal = 0
SprPriority = 5
IgnoreHitPause = 1
[State -2]
Type = Helper
trigger1 = BackEdgeDist <= -10 && Pos X <= 0
StateNo = 1208
ID = 1208
name = "Type-β"
PosType = P1
Pos = 0,0
Ownpal = 0
SprPriority = 5
IgnoreHitPause = 1

[State 10000]
type = destroyself
triggerall = var(10) <= 0
trigger1 = (-120+ScreenPos y) >= 120 || Pos Y >= 0
trigger2 = (-120+ScreenPos y) <= -120
trigger3 = FrontEdgeDist <= 0
trigger4 = BackEdgeDist <= 0

;---------------------------------------------------------------------------
; L.G.A.Fire Type-β(エーテル弾)
[Statedef 1205]
type=A
movetype=I
physics=N
velset=0,0
sprpriority=5
anim = 1205

[state 1205,roop]
type=assertspecial
trigger1=1
flag=noshadow

[state 800]
type = angledraw
trigger1 = 1
Scale = 1,1

[State 1205]
type = AngleAdd
trigger1 = !time
value = 90

[State 1205]
type=trans
trigger1=1
trans=addalpha
alpha=256,256
ignorehitpause=1

[state 1205,apne_naash_karnaa]
type=destroyself
trigger1=!animtime
;-------------------------
[Statedef 1206]
type=A
movetype=I
physics=N
velset=0,0
sprpriority=5
anim = 1205

[state 1205,roop]
type=assertspecial
trigger1=1
flag=noshadow

[state 800]
type = angledraw
trigger1 = 1
Scale = 1,1

[State 1205]
type = AngleAdd
trigger1 = !time
value = -90

[State 1205]
type=trans
trigger1=1
trans=addalpha
alpha=256,256
ignorehitpause=1

[state 1205,apne_naash_karnaa]
type=destroyself
trigger1=!animtime
;-------------------------
[Statedef 1207]
type=A
movetype=I
physics=N
velset=0,0
sprpriority=5
anim = 1205

[state 1205,roop]
type=assertspecial
trigger1=1
flag=noshadow

[state 800]
type = angledraw
trigger1 = 1
Scale = 1,1

[State 1205]
type = AngleAdd
trigger1 = !time
value = 180

[State 1205]
type=trans
trigger1=1
trans=addalpha
alpha=256,256
ignorehitpause=1

[state 1205,apne_naash_karnaa]
type=destroyself
trigger1=!animtime
;-------------------------
[Statedef 1208]
type=A
movetype=I
physics=N
velset=0,0
sprpriority=5
anim = 1205

[state 1205,roop]
type=assertspecial
trigger1=1
flag=noshadow

[State 1205]
type=trans
trigger1=1
trans=addalpha
alpha=256,256
ignorehitpause=1

[state 1205,apne_naash_karnaa]
type=destroyself
trigger1=!animtime

;---------------------------------------------------------------------------
; L.G.A.Fire Type-β´´(エーテル弾)
[Statedef 1401]
type = A
Movetype = A
physics = N
ctrl = 0
juggle=1
SprPriority = 10

[state -2]
type = AssertSpecial
trigger1 = 1
flag = noshadow

[State 1002,1]
type = VarSet
trigger1 = !time
var(10) = Ifelse(IsHelper(1403),7,Ifelse(IsHelper(1402),4,Ifelse(IsHelper(1401),2,0)))

[State 1002,1]
type = VarAdd
trigger1 = Root,var(59) != 2 && Root,var(59) != 5
trigger1 = !IsHelper(1400)
trigger1 = !time
var(10) = 1

[State 1002,1]
type = VarAdd
trigger1 = FrontEdgeDist <= -10
trigger2 = BackEdgeDist <= -10
trigger3 = (-120+ScreenPos y) <= -120
trigger4 = (-120+ScreenPos y) >= 120
trigger5 = Pos Y >= 0
var(10) = -1

[State -2, 1]
type = PlaySnd
trigger1 = FrontEdgeDist <= -10
trigger2 = BackEdgeDist <= -10
trigger3 = (-120+ScreenPos y) <= -120
trigger4 = (-120+ScreenPos y) >= 120
trigger5 = Pos Y >= 0
value = s0,9

[State 1002,1]
type = VarSet
trigger1 = FrontEdgeDist <= -10
trigger2 = BackEdgeDist <= -10
trigger3 = (-120+ScreenPos y) <= -120
trigger4 = (-120+ScreenPos y) >= 120
trigger5 = Pos Y >= 0
var(13) = 0

[State 1002,1]
type = VarSet
trigger1 = FrontEdgeDist <= -10
var(11) = 1
[State 1002,1]
type = VarSet
trigger1 = BackEdgeDist <= -10
var(11) = 0

[State 1002,1]
type = VarSet
trigger1 = (-120+ScreenPos y) <= -120
var(12) = 1
[State 1002,1]
type = VarSet
trigger1 = (-120+ScreenPos y) >= 120
trigger2 = Pos Y >= 0
var(12) = 0

[State 1002,1]
type = VelSet
trigger1 = 1
x = Ifelse(var(11)=0,5,-5)
y = Ifelse(var(12)=0,-15,15)

[State 1002,1]
type = playerpush
trigger1 = 1
value = 0

[State 45]
type = NotHitBy
trigger1 = 1
value = SCA
time = 1
IgnoreHitPause = 1
persistent = 1

[state -2]
type = ChangeAnim
trigger1 = var(11) = 0
trigger1 = var(12) = 0
Value = 1401
IgnoreHitPause = 1
persistent = 1

[state -2]
type = ChangeAnim
trigger1 = var(11) = 1
trigger1 = var(12) = 0
Value = 1402
IgnoreHitPause = 1
persistent = 1

[state -2]
type = ChangeAnim
trigger1 = var(11) = 1
trigger1 = var(12) = 1
Value = 1403
IgnoreHitPause = 1
persistent = 1

[state -2]
type = ChangeAnim
trigger1 = var(11) = 0
trigger1 = var(12) = 1
Value = 1404
IgnoreHitPause = 1
persistent = 1

[State -2 , 1]
type = VarSet
trigger1 = MoveContact = 1
v = 13
value = 1

[State 300 , 2]
type = HitDef
trigger1 = var(13) = 0
attr = A, SP
damage = ceil(ifelse(root,fvar(11)*50<7, 7, root,fvar(11)*50)), 7
animtype = Hard
getpower = ifelse(p2movetype=H,72,144)*!root,var(20), 36*!root,var(20)
givepower = 70,70
guardflag = MA
hitflag = MAFD
priority = 4,Hit
pause!time,12
hitsound = s1,6
guardsound = s3,0
sparkno = -1
guard.sparkno = -1
sparkxy = 0,0
ground.type = high
ground.slidetime = 12
ground.hittime = 15
air.hittime = 15
guard.hittime = 16
airguard.hittime = 18
ground.velocity = -5.5,0
air.velocity = -2.8,-6.0
airguard.velocity = -1.2,-3.5
yaccel = 0.48
Air.fall = 1
fall.recovertime = ceil(root,fvar(20)*60+40)
guard.kill = 0
P2Facing = 1
envshake.time = 10
envshake.freq = 80
envshake.ampl = -8

[State HitSparks]
type=helper
trigger1 = numtarget
trigger1 = movehit = 1 && numenemy
trigger1= (target,movetype=H) && !(target,time)
helpertype=normal
stateno=4020
ID=4000
name="Spark"
postype=p1
pos= 0,0
facing= ifelse((enemynear,facing = facing), 1, -1)
ownpal=0
size.xscale=.35
size.yscale=.35
pausemovetime=65535
supermovetime=65535
ignorehitpause=1
[State GuardSparks]
type=helper
triggerall = NumHelper(4000) < 1 && numtarget 
trigger1 = moveguarded && numenemy
trigger1= (target,movetype!=I) && !(target,time)
helpertype=normal
stateno=4110
ID=4000
name="Spark"
postype=p1
pos= 0,0
facing= -1
ownpal=0
size.xscale=.5
size.yscale=.5
pausemovetime=65535
supermovetime=65535
ignorehitpause=1

[State -2, Counter FX];カウンター
type=helper
triggerall= movecontact=1 && var(45)=hitpausetime
trigger1= numenemy && var(9)
trigger1= !(hitdefattr=SCA,AT)
helpertype=normal
stateno=4014
ID=4014
name="Counter"
postype=p1
pos=  0,0
facing= -1
ownpal=1
pausemovetime=255
supermovetime=255
ignorehitpause=1

[State -2, Counter Flag]
type=varset
trigger1= numenemy
var(9)=(enemynear,movetype=A)
ignorehitpause=1

[State -2 , 1]
type = ParentVarSet
trigger1 = MoveHit = 1
fv = 20
value = Root,fvar(20)*0.92

[state 800]
type = Trans
trigger1 = 1
trans = add

[State -2]
Type = Helper
trigger1 = (-100+ScreenPos y) >= 100 && Pos Y >= 0
StateNo = 1205
ID = 1205
name = "Type-β"
PosType = P1
Pos = 0,0
Ownpal = 1
SprPriority = 5
IgnoreHitPause = 1
pausemovetime=65535
supermovetime=65535
[State -2]
Type = Helper
trigger1 = (-100+ScreenPos y) <= -100 && Pos Y <= 0
StateNo = 1206
ID = 1206
name = "Type-β"
PosType = P1
Pos = 0,0
Ownpal = 1
SprPriority = 5
IgnoreHitPause = 1
pausemovetime=65535
supermovetime=65535
[State -2]
Type = Helper
trigger1 = FrontEdgeDist <= -10 && Pos X >= 0
StateNo = 1207
ID = 1207
name = "Type-β"
PosType = P1
Pos = 0,0
Ownpal = 1
SprPriority = 5
IgnoreHitPause = 1
pausemovetime=65535
supermovetime=65535
[State -2]
Type = Helper
trigger1 = BackEdgeDist <= -10 && Pos X <= 0
StateNo = 1208
ID = 1208
name = "Type-β"
PosType = P1
Pos = 0,0
Ownpal = 1
SprPriority = 5
IgnoreHitPause = 1
pausemovetime=65535
supermovetime=65535

[State 10000]
type = destroyself
triggerall = var(10) < 0
trigger1 = (-120+ScreenPos y) >= 120 || Pos Y >= 0
trigger2 = (-120+ScreenPos y) <= -120
trigger3 = FrontEdgeDist <= 0
trigger4 = BackEdgeDist <= 0

;---------------------------------------------------------------------------
; L.G.A.Fire Type-β´´(エフェクト)
[Statedef 1405]
type=A
movetype=I
physics=N
velset=0,0
sprpriority=5
anim = 1151

[state 1205,roop]
type=assertspecial
trigger1=1
flag=noshadow

[state 800]
type = angledraw
trigger1 = 1
Scale = 1,1

[State 1205]
type = AngleAdd
trigger1 = !time
value = 90

[State 1205]
type=trans
trigger1=1
trans=addalpha
alpha=256,256
ignorehitpause=1

[state 1205,apne_naash_karnaa]
type=destroyself
trigger1=!animtime

;---------------------------------------------------------------------------
; L.G.A.Fire Type-β´´(エフェクト)
[Statedef 1406]
type=A
movetype=I
physics=N
velset=0,0
sprpriority=5
anim = 1152

[state 1205,roop]
type=assertspecial
trigger1=1
flag=noshadow

[state 800]
type = angledraw
trigger1 = 1
Scale = 1,1

[State 1205]
type = AngleAdd
trigger1 = !time
value = 90

[State 1205]
type=trans
trigger1=1
trans=addalpha
alpha=256,256
ignorehitpause=1

[state 1205,apne_naash_karnaa]
type=destroyself
trigger1=!animtime

;---------------------------------------------------------------------------
; L.G.A strike fire エフェクト
[Statedef 1614]
type=A
movetype=I
physics=N
velset=0,0
sprpriority=5
anim = 1604

[state 1614, Assert]
type=assertspecial
trigger1=1
flag=noshadow

[state 1614]
type = angledraw
trigger1 = 1
Scale = 1,1

[State 1205]
type = AngleAdd
trigger1 = !time
value = 90

[State 1205]
type=trans
trigger1=1
trans=addalpha
alpha=256,256
ignorehitpause=1

[state 1205,apne_naash_karnaa]
type=destroyself
trigger1=!animtime

;---------------------------------------------------------------------------
; L.G.A strike fire エフェクト２
[Statedef 1615]
type=A
movetype=I
physics=N
velset=0,0
sprpriority=5
anim = 232

[state 1614, Assert]
type=assertspecial
trigger1=1
flag=noshadow

[state 1614]
type = angledraw
trigger1 = 1
Scale = 1,1

[State 1205]
type = AngleAdd
trigger1 = !time
value = -90

[State 1205]
type=trans
trigger1=1
trans=addalpha
alpha=256,256
ignorehitpause=1

[state 1205,apne_naash_karnaa]
type=destroyself
trigger1=!animtime

;---------------------------------------------------------------------------
; L.G.A.dodge 残像
[Statedef 1801]
type = A
Movetype = I
physics = N
Anim = 1800
ctrl = 0
SprPriority = -5

[state -2]
type = AssertSpecial
trigger1 = 1
flag = noshadow

[State 1002,1]
type = playerpush
trigger1 = 1
value = 0

[State 45]
type = NotHitBy
trigger1 = 1
value = SCA
time = 1
IgnoreHitPause = 1
persistent = 1

[state 800]
type = Trans
trigger1 = 1
trans = add1

[State 10000]
type = destroyself
trigger1 = Root,StateNo = 1800
trigger1 = Root,Animelem = 7
trigger2 = Root,StateNo != 1800

;---------------------------------------------------------------------------
; L.G.A.combination fire (エフェクト)
[Statedef 2111]
type = A
anim = 9999
ctrl = 0

[State 1050, AssertSpacial]
Type = AssertSpecial
Trigger1 = 1
Flag = Noshadow
Flag2 = invisible
IgnoreHitPause = 1

[State 1050, Explod]
type = Explod
trigger1 = !time
anim = 2111
scale = 2,2
pos = 0,0
postype = P1
BindTime = -1
id = 1050
SprPriority = 10
IgnoreHitPause = 1
removetime=15
Persistent = 0
SuperMoveTime = 999999999999
PauseMoveTime = 999999999999

[State 1050, Scale]
Type = ModifyExplod
Trigger1 = 1
Scale = 1-Fvar(0),1-Fvar(0)
ID = 1050
trans=addalpha
alpha=255-(21*time),256

[State 1050, Var]
type = VarAdd
trigger1 = time >= 0
fv = 0
value = 0.125

[State 1050, End]
type = destroyself
trigger1 = time >= 15

;---------------------------------------------------------------------------
; あら、私としたことが… 薔薇エフェクト
[Statedef 2201]
type = A
physics = N
movetype = I
ctrl = 0
Velset = 0,0
sprpriority = 10
anim = 2201

[State Assert]
type = AssertSpecial
trigger1 = 1
flag = noshadow

[State Trans]
Type = Trans
trigger1 = 1
Trans = Addalpha
alpha = ceil(256-1.5*time),256

[State Rose]
type=helper
triggerall = time <= 36
trigger1 = gametime%10 = 1
helpertype=normal
stateno=2202
ID=2202
name="Rose"
postype=p1
pos= 0,0
facing= -1
ownpal=0
pausemovetime=65535
supermovetime=65535
ignorehitpause=1
persistent = 1
[State Rose]
type=helper
triggerall = time <= 36
trigger1 = gametime%10 = 1
helpertype=normal
stateno=2203
ID=2202
name="Rose"
postype=p1
pos= 0,0
facing= -1
ownpal=0
pausemovetime=65535
supermovetime=65535
ignorehitpause=1
persistent = 1
[State Rose]
type=helper
triggerall = time <= 36
trigger1 = gametime%10 = 1
helpertype=normal
stateno=2204
ID=2202
name="Rose"
postype=p1
pos= 0,0
facing= -1
ownpal=0
pausemovetime=65535
supermovetime=65535
ignorehitpause=1
persistent = 1
[State Rose]
type=helper
triggerall = time <= 36
trigger1 = gametime%10 = 1
helpertype=normal
stateno=2205
ID=2202
name="Rose"
postype=p1
pos= 0,0
facing= -1
ownpal=0
pausemovetime=65535
supermovetime=65535
ignorehitpause=1
persistent = 1

[State end]
type = DestroySelf
trigger1 = !AnimTime

;---------------------------------------------------------------------------
; あら、私としたことが… 薔薇エフェクト 花弁１
[Statedef 2202]
type = A
physics = N
movetype = I
ctrl = 0
Velset = 0,0
sprpriority = 10
anim = 2202

[State Assert]
type = AssertSpecial
trigger1 = 1
flag = noshadow

[State angle]
type=angleset
trigger1= !time
value=0
[State angle]
type=angleadd
trigger1= 1
value=2.5
[State scale]
type=angledraw
trigger1= 1
scale= .1+(time*.025), .1+(time*.025)

[State 1002,1]
type = VelSet
trigger1 = 1
x = 2.5-(time*0.12)
y = -.1-(time*0.065)

[State Trans]
Type = Trans
trigger1 = 1
Trans = Addalpha
alpha = ceil(256-4*time),256

[State end]
type = DestroySelf
trigger1 = !AnimTime

;---------------------------------------------------------------------------
; あら、私としたことが… 薔薇エフェクト 花弁２
[Statedef 2203]
type = A
physics = N
movetype = I
ctrl = 0
Velset = 0,0
sprpriority = 10
anim = 2202

[State Assert]
type = AssertSpecial
trigger1 = 1
flag = noshadow

[State angle]
type=angleset
trigger1= !time
value=180
[State angle]
type=angleadd
trigger1= 1
value=2.5
[State scale]
type=angledraw
trigger1= 1
scale= .1+(time*.025), .1+(time*.025)

[State 1002,1]
type = VelSet
trigger1 = 1
x = -2.5+(time*0.12)
y = .1+(time*0.065)

[State Trans]
Type = Trans
trigger1 = 1
Trans = Addalpha
alpha = ceil(256-4*time),256

[State end]
type = DestroySelf
trigger1 = !AnimTime

;---------------------------------------------------------------------------
; あら、私としたことが… 薔薇エフェクト 花弁３
[Statedef 2204]
type = A
physics = N
movetype = I
ctrl = 0
Velset = 0,0
sprpriority = 10
anim = 2202

[State Assert]
type = AssertSpecial
trigger1 = 1
flag = noshadow

[State angle]
type=angleset
trigger1= !time
value=90
[State angle]
type=angleadd
trigger1= 1
value=2.5
[State scale]
type=angledraw
trigger1= 1
scale= .1+(time*.025), .1+(time*.025)

[State 1002,1]
type = VelSet
trigger1 = 1
x = -.1-(time*0.065)
y = -2.5+(time*0.12)

[State Trans]
Type = Trans
trigger1 = 1
Trans = Addalpha
alpha = ceil(256-4*time),256

[State end]
type = DestroySelf
trigger1 = !AnimTime

;---------------------------------------------------------------------------
; あら、私としたことが… 薔薇エフェクト 花弁４
[Statedef 2205]
type = A
physics = N
movetype = I
ctrl = 0
Velset = 0,0
sprpriority = 10
anim = 2202

[State Assert]
type = AssertSpecial
trigger1 = 1
flag = noshadow

[State angle]
type=angleset
trigger1= !time
value=-90
[State angle]
type=angleadd
trigger1= 1
value=2.5
[State scale]
type=angledraw
trigger1= 1
scale= .1+(time*.025), .1+(time*.025)

[State 1002,1]
type = VelSet
trigger1 = 1
x = .1+(time*0.065)
y = 2.5-(time*0.12)

[State Trans]
Type = Trans
trigger1 = 1
Trans = Addalpha
alpha = ceil(256-4*time),256

[State end]
type = DestroySelf
trigger1 = !AnimTime

;---------------------------------------------------------------------------
;L.G.A.superior fire (エフェクト)
[Statedef 2310]
type = A
movetype = I
physics = N
Anim = 2311
SprPriority = 3
ctrl = 0

[State 20005, AssertSpacial]
Type = AssertSpecial
Trigger1 = 1
Flag = Noshadow
IgnoreHitPause = 1

[state 800]
type = PosSet
trigger1 = 1
x = Parent,Pos X
y = Parent,Pos Y

[State 1100, Explod]
type = Explod
trigger1 = animelemtime(26) = 2
anim = 2317
pos = -40,-45
postype = P1
bindtime = 1
id = 1000
ownpal = 1
scale = .5,.5
sprpriority = 10
IgnoreHitPause = 1
PauseMoveTime = 999999999999
[State 1100, Explod]
type = Explod
trigger1 = animelemtime(26) = 3
anim = 2317
pos = -30,-40
postype = P1
bindtime = 1
id = 1000
ownpal = 1
scale = .5,.5
sprpriority = 10
IgnoreHitPause = 1
PauseMoveTime = 999999999999
[State 1100, Explod]
type = Explod
trigger1 = animelemtime(26) = 4
anim = 2317
pos = -20,-30
postype = P1
bindtime = 1
id = 1000
ownpal = 1
scale = .5,.5
sprpriority = 10
IgnoreHitPause = 1
PauseMoveTime = 999999999999
[State 1100, Explod]
type = Explod
trigger1 = animelemtime(26) = 5
anim = 2317
pos = -10,-10
postype = P1
bindtime = 1
id = 1000
ownpal = 1
scale = .5,.5
sprpriority = 10
IgnoreHitPause = 1
PauseMoveTime = 999999999999

[state 800]
type = PosAdd
trigger1 = Parent,Animelem = 15,<0
x = 42
y = -103

[state 800]
type = PosAdd
trigger1 = Parent,Animelem = 15,>=0
trigger1 = Parent,Animelem = 17,<0
y = -125

[state 800]
type = PosAdd
trigger1 = Parent,Animelem = 17,>=0
x = 45
y = -75

[state 800]
type = angledraw
trigger1 = 1
scale = 1,1

[state 800]
type = Trans
trigger1 = 1
trans = add

[State 10000]
type = destroyself
trigger1 = !AnimTime
trigger2 = Parent,StateNo != [2300,2305]

;---------------------------------------------------------------------------
;L.G.A.superior fire (エフェクト)
[Statedef 2311]
type = A
movetype = I
physics = N
Anim = 2310
SprPriority = 3
ctrl = 0

[State 20005, AssertSpacial]
Type = AssertSpecial
Trigger1 = 1
Flag = Noshadow
IgnoreHitPause = 1

[state 800]
type = PosSet
trigger1 = 1
x = Parent,Pos X
y = Parent,Pos Y

[state 800]
type = PosAdd
trigger1 = Parent,Animelem = 15,<0
x = -60
y = -103

[state 800]
type = PosAdd
trigger1 = Parent,Animelem = 15,>=0
trigger1 = Parent,Animelem = 17,<0
y = -125

[state 800]
type = PosAdd
trigger1 = Parent,Animelem = 17,>=0
x = 50
y = -75

[state 800]
type = angledraw
trigger1 = 1
scale = 1,1

[state 800]
type = Trans
trigger1 = 1
trans = add

[State 10000]
type = destroyself
trigger1 = !AnimTime
trigger2 = Parent,StateNo != [2300,2305]

;---------------------------------------------------------------------------
; L.G.A.superior fire EX(エフェクト)
[Statedef 2312]
type = A
movetype = I
physics = N
Anim = 2315
SprPriority = 3
ctrl = 0

[State 20005, AssertSpacial]
Type = AssertSpecial
Trigger1 = 1
Flag = Noshadow
IgnoreHitPause = 1

[state 800]
type = PosSet
trigger1 = Parent,Animelem = 50,<0
x = Parent,Pos X
y = Parent,Pos Y

[state 800]
type = PosAdd
trigger1 = Parent,Animelem = 15,<0
x = 42
y = -103

[state 800]
type = PosAdd
trigger1 = Parent,Animelem = 15,>=0
trigger1 = Parent,Animelem = 17,<0
y = -125

[state 800]
type = PosAdd
trigger1 = Parent,Animelem = 17,>=0
trigger1 = Parent,Animelem = 20,<0
x = 45
y = -75

[State 1000, Explod]
type = Explod
trigger1 = parent,animelem = 21
anim = 2316
pos = 10,-10
postype = P1
bindtime = -1
ownpal = 1
scale = .5,.5
sprpriority = 5
IgnoreHitPause = 1
PauseMoveTime = 999999999999
[State 1000, Explod]
type = Explod
trigger1 = parent,animelem = 22
anim = 2316
pos = 10,-15
postype = P1
bindtime = -1
ownpal = 1
scale = .5,.5
sprpriority = 5
IgnoreHitPause = 1
PauseMoveTime = 999999999999
[State 1000, Explod]
type = Explod
trigger1 = parent,animelem = 23
anim = 2316
pos = 5,-6
postype = P1
bindtime = -1
ownpal = 1
scale = .5,.5
sprpriority = 5
IgnoreHitPause = 1
PauseMoveTime = 999999999999
[State 1000, Explod]
type = Explod
trigger1 = parent,animelem = 24
anim = 2316
pos = 2,-5
postype = P1
bindtime = -1
ownpal = 1
scale = .5,.5
sprpriority = 5
IgnoreHitPause = 1
PauseMoveTime = 999999999999
[State 1000, Explod]
type = Explod
trigger1 = parent,animelem = 25
anim = 2316
pos = 28,0
postype = P1
bindtime = -1
ownpal = 1
scale = .5,.5
sprpriority = 5
IgnoreHitPause = 1
PauseMoveTime = 999999999999
[State 1000, Explod]
type = Explod
trigger1 = parent,animelem = 36
anim = 2316
pos = -38,0
postype = P1
bindtime = -1
ownpal = 1
scale = .5,.5
sprpriority = 5
IgnoreHitPause = 1
PauseMoveTime = 999999999999
[State 1000, Explod]
type = Explod
trigger1 = parent,animelem = 37
anim = 2319
pos = -57,-25
postype = P1
bindtime = -1
ownpal = 1
scale = .5,.5
sprpriority = 5
IgnoreHitPause = 1
PauseMoveTime = 999999999999
[State 1000, Explod]
type = Explod
trigger1 = parent,animelem = 38
anim = 2319
pos = -47,-55
postype = P1
bindtime = -1
ownpal = 1
scale = .5,.5
sprpriority = 5
IgnoreHitPause = 1
PauseMoveTime = 999999999999
[State 1000, Explod]
type = Explod
trigger1 = parent,animelem = 39
anim = 2319
pos = 8,3
postype = P1
bindtime = -1
ownpal = 1
scale = .5,.5
sprpriority = 5
IgnoreHitPause = 1
PauseMoveTime = 999999999999
[State 1000, Explod]
type = Explod
trigger1 = parent,animelem = 40
anim = 2319
pos = 15,-10
postype = P1
bindtime = -1
ownpal = 1
scale = .5,.5
sprpriority = 5
IgnoreHitPause = 1
PauseMoveTime = 999999999999
[State 1000, Explod]
type = Explod
trigger1 = parent,animelem = 41
anim = 2319
pos = 12,-19
postype = P1
bindtime = -1
ownpal = 1
scale = .5,.5
sprpriority = 5
IgnoreHitPause = 1
PauseMoveTime = 999999999999
[State 1000, Explod]
type = Explod
trigger1 = parent,animelem = 42
anim = 2319
pos = 6,-10
postype = P1
bindtime = -1
ownpal = 1
scale = .5,.5
sprpriority = 5
IgnoreHitPause = 1
PauseMoveTime = 999999999999
[State 1000, Explod]
type = Explod
trigger1 = parent,animelem = 43
anim = 2319
pos = 3,-7
postype = P1
bindtime = -1
ownpal = 1
scale = .5,.5
sprpriority = 5
IgnoreHitPause = 1
PauseMoveTime = 999999999999
[State 1000, Explod]
type = Explod
trigger1 = parent,animelem = 44
anim = 2319
pos = 23,0
postype = P1
bindtime = -1
ownpal = 1
scale = .5,.5
sprpriority = 5
IgnoreHitPause = 1
PauseMoveTime = 999999999999
[State 1000, Explod]
type = Explod
trigger1 = parent,animelemtime(45) = 0
trigger2 = parent,animelemtime(45) = 2
anim = 2319
pos = 45,-13
postype = P1
bindtime = -1
ownpal = 1
scale = .5,.5
sprpriority = 5
IgnoreHitPause = 1
PauseMoveTime = 999999999999

[State 1100, Explod]
type = Explod
trigger1 = animelemtime(26) = 2
anim = 2317
pos = -40,-45
postype = P1
bindtime = 1
id = 1000
ownpal = 1
scale = .5,.5
sprpriority = 10
IgnoreHitPause = 1
PauseMoveTime = 999999999999
[State 1100, Explod]
type = Explod
trigger1 = animelemtime(26) = 3
anim = 2317
pos = -30,-40
postype = P1
bindtime = 1
id = 1000
ownpal = 1
scale = .5,.5
sprpriority = 10
IgnoreHitPause = 1
PauseMoveTime = 999999999999
[State 1100, Explod]
type = Explod
trigger1 = animelemtime(26) = 4
anim = 2317
pos = -20,-30
postype = P1
bindtime = 1
id = 1000
ownpal = 1
scale = .5,.5
sprpriority = 10
IgnoreHitPause = 1
PauseMoveTime = 999999999999
[State 1100, Explod]
type = Explod
trigger1 = animelemtime(26) = 5
anim = 2317
pos = -10,-10
postype = P1
bindtime = 1
id = 1000
ownpal = 1
scale = .5,.5
sprpriority = 10
IgnoreHitPause = 1
PauseMoveTime = 999999999999

[State 1100, Explod]
type = Explod
trigger1 = parent,animelemtime(25) = 3
anim = 2318
pos = 7,-15
postype = P1
bindtime = 1
id = 1000
ownpal = 1
scale = .5,.5
sprpriority = 10
IgnoreHitPause = 1
PauseMoveTime = 999999999999
[State 1100, Explod]
type = Explod
trigger1 = parent,animelemtime(26) = 1
anim = 2318
pos = 2,-5
postype = P1
bindtime = 1
id = 1000
ownpal = 1
scale = .5,.5
sprpriority = 10
IgnoreHitPause = 1
PauseMoveTime = 999999999999

[state 800]
type = PosAdd
trigger1 = Parent,Animelem = 20,>=0
trigger1 = Parent,Animelem = 21,<0
x = -10
y = -125
[state 800]
type = PosAdd
trigger1 = Parent,Animelem = 21,>=0
trigger1 = Parent,Animelem = 22,<0
x = -12
y = -122
[state 800]
type = PosAdd
trigger1 = Parent,Animelem = 22,>=0
trigger1 = Parent,Animelem = 23,<0
x = -10
y = -120
[state 800]
type = PosAdd
trigger1 = Parent,Animelem = 23,>=0
trigger1 = Parent,Animelem = 24,<0
x = -2
y = -125
[state 800]
type = PosAdd
trigger1 = Parent,Animelem = 24,>=0
trigger1 = Parent,Animelem = 25,<0
x = -5
y = -123

[state 800]
type = PosAdd
trigger1 = Parent,Animelem = 25,>=0
trigger1 = Parent,Animelem = 26,<0
x = -18
y = -120

[state 800]
type = PosAdd
trigger1 = Parent,Animelem = 26,>=0
trigger1 = Parent,Animelem = 27,<0
x = -20
y = -95

[state 800]
type = PosAdd
trigger1 = Parent,Animelem = 27,>=0
trigger1 = Parent,Animelem = 34,<0
x = 50
y = -75

[state 800]
type = PosAdd
trigger1 = Parent,Animelem = 34,>=0
trigger1 = Parent,Animelem = 35,<0
x = 30
y = -85

[state 800]
type = PosAdd
trigger1 = Parent,Animelem = 35,>=0
trigger1 = Parent,Animelem = 36,<0
x = -3
y = -105

[state 800]
type = PosAdd
trigger1 = Parent,Animelem = 36,>=0
trigger1 = Parent,Animelem = 37,<0
x = 20
y = -100

[state 800]
type = PosAdd
trigger1 = Parent,Animelem = 37,>=0
trigger1 = Parent,Animelem = 38,<0
x = 45
y = -60

[state 800]
type = PosAdd
trigger1 = Parent,Animelem = 38,>=0
trigger1 = Parent,Animelem = 39,<0
x = 50
y = -12

[state 800]
type = PosAdd
trigger1 = Parent,Animelem = 39,>=0
trigger1 = Parent,Animelem = 40,<0
x = 18
y = -118

[state 800]
type = PosAdd
trigger1 = Parent,Animelem = 40,>=0
trigger1 = Parent,Animelem = 41,<0
x = -13
y = -120

[state 800]
type = PosAdd
trigger1 = Parent,Animelem = 41,>=0
trigger1 = Parent,Animelem = 42,<0
x = -15
y = -117

[state 800]
type = PosAdd
trigger1 = Parent,Animelem = 42,>=0
trigger1 = Parent,Animelem = 43,<0
x = -3
y = -127

[state 800]
type = PosAdd
trigger1 = Parent,Animelem = 43,>=0
trigger1 = Parent,Animelem = 44,<0
x = -8
y = -125

[state 800]
type = PosAdd
trigger1 = Parent,Animelem = 44,>=0
trigger1 = Parent,Animelem = 45,<0
x = -13
y = -117

[state 800]
type = PosAdd
trigger1 = Parent,Animelem = 45,>=0
trigger1 = Parent,Animelem = 46,<0
x = -14
y = -87

[state 800]
type = PosAdd
trigger1 = Parent,Animelem = 46,>=0
trigger1 = Parent,Animelem = 47,<0
x = -37
y = -120

[state 800]
type = PosAdd
trigger1 = Parent,Animelem = 47,>=0
trigger1 = Parent,Animelem = 48,<0
x = -37
y = -100

[state 800]
type = PosAdd
trigger1 = Parent,Animelem = 48,>=0
trigger1 = Parent,Animelem = 49,<0
x = 15
y = -125

[state 800]
type = PosAdd
trigger1 = Parent,Animelem = 49,>=0
trigger1 = Parent,Animelem = 50,<0
x = 67
y = -49

[state 800]
type = angledraw
trigger1 = Parent,Animelem = 49,>0
scale = 1-fvar(0),1-fvar(0)

[State 20000]
type = VarAdd
trigger1 = Animelem = 52,>=101
var(0) = 10
[State 20000]
type = VarAdd
trigger1 = Animelem = 52,>=101
fvar(0) = .025

[state 800]
type = Trans
trigger1 = 1
trans = addalpha
alpha = 256,256

[State 10000]
type = destroyself
trigger1 = var(0) >= 255
trigger2 = Parent,StateNo != 2305

;---------------------------------------------------------------------------
; L.G.A.superior fire EX ビーム１
[Statedef 2313]
type = A
movetype = A
physics = N
Anim = 2312
SprPriority = 2
ctrl = 0

[State 20005, AssertSpacial]
Type = AssertSpecial
Trigger1 = 1
Flag = Noshadow
IgnoreHitPause = 1

[State 20000]
type = PosSet
trigger1 = 1
x = Parent,Pos X
y = Parent,Pos Y

[State 20000]
type = PosAdd
trigger1 = 1
x = 50
y = -75

[State 20000]
type = varSet
trigger1 = !time
fvar(0) = 0

[State 20000]
type = varadd
trigger1 = time = [3,8]
fvar(0) = 0.025

[State 20000]
type = varadd
trigger1 = time >= 12
fvar(0) = -0.05

[state 800]
type = angledraw
trigger1 = 1
scale = 1.25,.05+fvar(0)

[state 800]
type = Trans
trigger1 = 1
trans = add

[State circle]
type=explod
trigger1= !time
anim=2313
ID=1
postype=p1
pos = 20,0
facing=1
sprpriority=5
removetime=18
pausemovetime=-1
supermovetime=-1
[State Scale]
type=modifyexplod
trigger1= numexplod(1)
ID=1
scale=.15+(.025*time),.15+(.025*time)
trans=addalpha
alpha=256-(15*time),256

[State 10000]
type = destroyself
trigger1 = Parent,StateNo != 2305
trigger2 = fvar(0) < -.05

;---------------------------------------------------------------------------
; L.G.A.superior fire EX ビーム２
[Statedef 2314]
type = A
movetype = A
physics = N
Anim = 2312
SprPriority = 2
ctrl = 0

[State 20005, AssertSpacial]
Type = AssertSpecial
Trigger1 = 1
Flag = Noshadow
IgnoreHitPause = 1

[State 20000]
type = PosSet
trigger1 = 1
x = Parent,Pos X
y = Parent,Pos Y

[State 20000]
type = PosAdd
trigger1 = 1
x = 45
y = -75

[State 20000]
type = varSet
trigger1 = !time
fvar(0) = 0

[State 20000]
type = varadd
trigger1 = time = [1,17]
fvar(0) = 0.025

[State 20000]
type = varadd
trigger1 = time >= 23
fvar(0) = -0.05

[state 800]
type = angledraw
trigger1 = 1
scale = 1.25,.05+fvar(0)

[state 800]
type = Trans
trigger1 = 1
trans = add

[State circle]
type=explod
trigger1= !time
anim=2313
ID=1
postype=p1
pos = 30,0
facing=1
sprpriority=5
removetime=18
pausemovetime=-1
supermovetime=-1
[State Scale]
type=modifyexplod
trigger1= numexplod(1)
ID=1
scale=.15+(.025*time),.15+(.025*time)
trans=addalpha
alpha=256-(15*time),256
[State circle]
type=explod
trigger1= time=8
anim=2313
ID=2
postype=p1
pos = 30,0
facing=1
sprpriority=5
removetime=18
pausemovetime=-1
supermovetime=-1
[State Scale]
type=modifyexplod
trigger1= numexplod(2)
ID=2
scale=.15+(.025*(time-8)),.15+(.025*(time-8))
trans=addalpha
alpha=256-(15*(time-8)),256
[State circle]
type=explod
trigger1= time=16
anim=2313
ID=3
postype=p1
pos = 30,0
facing=1
sprpriority=5
removetime=18
pausemovetime=-1
supermovetime=-1
[State Scale]
type=modifyexplod
trigger1= numexplod(3)
ID=3
scale=.15+(.025*(time-16)),.15+(.025*(time-16))
trans=addalpha
alpha=256-(15*(time-16)),256

[State 1100, Explod]
type = Explod
trigger1 = !time
anim = 1101
pos = -25,0
postype = P1
bindtime = 1
id = 1000
ownpal = 1
scale = .5,.5
sprpriority = 5
IgnoreHitPause = 1
PauseMoveTime = 999999999999
[State 1100, Explod]
type = Explod
trigger1 = !time
anim = 1102
pos = 15,0
postype = P1
bindtime = 1
id = 1000
ownpal = 1
scale = .5,.5
sprpriority = 10
IgnoreHitPause = 1
PauseMoveTime = 999999999999

[State 10000]
type = destroyself
trigger1 = Parent,StateNo != 2305
trigger2 = fvar(0) < -.05

;---------------------------------------------------------------------------
;L.G.A.superior fire ビーム
[Statedef 2315]
type = A
movetype = A
physics = N
Anim = 2312
SprPriority = 2
ctrl = 0

[State 20005, AssertSpacial]
Type = AssertSpecial
Trigger1 = 1
Flag = Noshadow
IgnoreHitPause = 1

[State 20000]
type = PosSet
trigger1 = 1
x = Parent,Pos X
y = Parent,Pos Y

[State 20000]
type = PosAdd
trigger1 = 1
x = 45
y = -75

[State 20000]
type = varSet
trigger1 = !time
fvar(0) = 0

[State 20000]
type = varadd
trigger1 = time = [5,44]
fvar(0) = 0.025

[State 20000]
type = varadd
trigger1 = time = [55,75]
fvar(0) = -0.05

[state 800]
type = angledraw
trigger1 = 1
scale = 1.25,.05+fvar(0)
[state 800]
type = angledraw
trigger1 = time >= 75
scale = 1.25, .01

[state 800]
type = Trans
trigger1 = 1
trans = add

[State 10000]
type = destroyself
trigger1 = Parent,StateNo != 2300
trigger2 = fvar(0) < -0.5

;---------------------------------------------------------------------------
;L.G.A.superior fire EXビーム３
[Statedef 2320]
type = A
movetype = A
physics = N
Anim = 2321
SprPriority = 2
ctrl = 0

[State 20005, AssertSpacial]
Type = AssertSpecial
Trigger1 = 1
Flag = Noshadow
IgnoreHitPause = 1

[State 20000]
type = PosSet
trigger1 = !time
x = Parent,Pos X
y = Parent,Pos Y

[State 20000]
type = PosAdd
trigger1 = !time
x = 55
y = -59

[State 20000]
type = varSet
trigger1 = !time
fvar(0) = 0

[State 20000]
type = varadd
trigger1 = time = [0,12]
fvar(0) = 0.1

[State 20000]
type = varadd
trigger1 = time = [30,42]
fvar(0) = -0.1

[state 800]
type = angledraw
trigger1 = 1
scale = 1.5,0+fvar(0)
[state 800]
type = angleset
trigger1 = 1
value = -30

[state 800]
type = Trans
trigger1 = 1
trans = addalpha
alpha = 256,256

[State circle]
type=helper
triggerall = time <= 35
trigger1 = gametime%8 = 1
helpertype=normal
stateno=2321
ID=2321
name="circle"
postype=p1
pos= 0,0
facing= 1
ownpal=0
pausemovetime=65535
supermovetime=65535
ignorehitpause=1
persistent = 1

[State thunder]
type=helper
trigger1 = !time
helpertype=normal
stateno=2322
ID=2322
name="thunder"
postype=p1
pos= 0,0
ownpal=0
pausemovetime=65535
supermovetime=65535
ignorehitpause=1
persistent = 1

[State 10000]
type = destroyself
trigger1 = Parent,StateNo != 2305
trigger2 = fvar(0) < -0.5

;---------------------------------------------------------------------------
;L.G.A.superior fire EX ビームエフェクト
[Statedef 2321]
type = A
movetype = A
physics = N
Anim = 2322
SprPriority = 2
ctrl = 0

[State 20005, AssertSpacial]
Type = AssertSpecial
Trigger1 = 1
Flag = Noshadow
IgnoreHitPause = 1

[State 20000]
type = PosSet
trigger1 = !time
x = Parent,Pos X
y = Parent,Pos Y

[State 20000]
type = PosAdd
trigger1 = !time
x = 30
y = 20

[State 20000]
type = varSet
trigger1 = !time
fvar(0) = 0

[State 20000]
type = varadd
trigger1 = 1
fvar(0) = 0.1

[state 800]
type = angledraw
trigger1 = 1
scale = .15+fvar(0), .15+fvar(0)
[state 800]
type = angleset
trigger1 = 1
value = -30

[state 800]
type = Trans
trigger1 = 1
trans = addalpha
alpha = 256-15*time,256

[State 10000]
type = destroyself
trigger1 = time = 20

;---------------------------------------------------------------------------
;L.G.A.superior fire EX ビームエフェクト２
[Statedef 2322]
type = A
movetype = A
physics = N
Anim = 2323
SprPriority = 2
ctrl = 0

[State 20005, AssertSpacial]
Type = AssertSpecial
Trigger1 = 1
Flag = Noshadow
IgnoreHitPause = 1

[State 20000]
type = PosSet
trigger1 = !time
x = Parent,Pos X
y = Parent,Pos Y

[State 20000]
type = varadd
trigger1 = time = [0,12]
fvar(0) = 0.1

[State 20000]
type = varadd
trigger1 = time = [30,42]
fvar(0) = -0.1

[state 800]
type = angledraw
trigger1 = 1
scale = 1.5, 1+fvar(0)
[state 800]
type = angleset
trigger1 = 1
value = -30

[state 800]
type = Trans
trigger1 = 1
trans = addalpha
alpha = 256,256

[State 10000]
type = destroyself
trigger1 = time = 40

;---------------------------------------------------------------------------
; エーテル弾
[Statedef 3000]
type = S
Anim = 3000
SprPriority = 4
ctrl = 0

[State 20005, AssertSpacial]
Type = AssertSpecial
Trigger1 = 1
Flag = Noshadow
IgnoreHitPause = 1

[State 1002,1]
type = VarSet
trigger1 = fvar(0) > 1.5
fvar(0) = 1.5
[State 1002,1]
type = VarAdd
trigger1 = ((Vel Y > 0) && (Pos Y >= 0))
fvar(1) = 0.75

[State 1002,1]
type = VarSet
trigger1 = !time
fvar(29) = parent,fvar(29)
[State 1002,1]
type = VarSet
trigger1 = !time
fvar(30) = parent,fvar(30)

[State 1002,1]
type = VelSet
trigger1 = !time
x = fvar(29)
y = fvar(30)

[State 1002,1]
type = VelAdd
trigger1 = 1
y = 0.42

[state 800]
type = angledraw
trigger1 = 1
scale= .8, .8
[state 800]
type = angledraw
trigger1 = time>=50
scale= (1-(.025*(time-50))), (1-(.025*(time-50)))

[state 800]
type = angleadd
trigger1 = 1
value = 4
IgnoreHitPause = 1
Persistent = 1

[State 1002,1]
type = VarAdd
trigger1 = ((Vel Y > 0) && (Pos Y >= 0))
trigger1 = fvar(0) < 1.5
fvar(0) = 0.10

[State 1002,1]
type = VelSet
trigger1 = ((Vel Y > 0) && (Pos Y >= 0))
x = ceil(Vel X*0.55)
y = ceil(-Vel Y*0.45)

[State 1002,1]
type = VelSet
trigger1 = Vel X >= -1
x = -1

[state 300]
type = varadd
trigger1 = time >= 70
var(0) = 25

[state 800]
type = Trans
trigger1 = time >= 0
trans = addalpha
alpha = 256-var(0),256

[State a]
type = Explod
triggerall = time <= 50
trigger1 = gametime%2 = 1
anim = 3001
id = 3000
sprpriority = 16
postype = p1
pos = 0,0
scale = 0.2,0.2
vel = -0.5+ ((random%4)*0.25),-0.5+ ((random%4)*0.25)
bindtime = 1
under = 0
ownpal = 1
persistent = 1
ignorehitpause = 1
trans = add
pausemovetime=65535
supermovetime=65535

[State a]
type = Explod
triggerall = time <= 50
trigger1 = gametime%3 = 1
anim = 3001
id = 3000
sprpriority = 16
postype = p1
pos = 0,0
scale = 0.25,0.25
vel = -0.25+ ((random%4)*0.25),-0.25+ ((random%4)*0.25)
bindtime = 1
under = 0
ownpal = 1
persistent = 1
ignorehitpause = 1
trans = add
pausemovetime=65535
supermovetime=65535

[State 10000]
type = destroyself
trigger1 = var(0) >= 255

;---------------------------------------------------------------------------
; エーテル弾（２発目）
[Statedef 3001]
type = S
Anim = 3000
SprPriority = 4
ctrl = 0

[State 20005, AssertSpacial]
Type = AssertSpecial
Trigger1 = 1
Flag = Noshadow
IgnoreHitPause = 1

[State 1002,1]
type = VarSet
trigger1 = fvar(0) > 1.5
fvar(0) = 1.5
[State 1002,1]
type = VarAdd
trigger1 = ((Vel Y > 0) && (Pos Y >= 0))
fvar(1) = 0.75

[State 1002,1]
type = VarSet
trigger1 = !time
fvar(31) = parent,fvar(31)
[State 1002,1]
type = VarSet
trigger1 = !time
fvar(32) = parent,fvar(32)

[State 1002,1]
type = VelSet
trigger1 = !time
x = fvar(31)
y = fvar(32)

[State 1002,1]
type = VelAdd
trigger1 = 1
y = 0.42

[state 800]
type = angledraw
trigger1 = 1
scale= .8, .8
[state 800]
type = angledraw
trigger1 = time>=50
scale= (1-(.025*(time-50))), (1-(.025*(time-50)))

[state 800]
type = angleadd
trigger1 = 1
value = 4
IgnoreHitPause = 1
Persistent = 1

[State 1002,1]
type = VarAdd
trigger1 = ((Vel Y > 0) && (Pos Y >= 0))
trigger1 = fvar(0) < 1.5
fvar(0) = 0.10

[State 1002,1]
type = VelSet
trigger1 = ((Vel Y > 0) && (Pos Y >= 0))
x = ceil(Vel X*0.55)
y = ceil(-Vel Y*0.45)

[State 1002,1]
type = VelSet
trigger1 = Vel X >= -1
x = -1

[state 300]
type = varadd
trigger1 = time >= 70
var(0) = 25

[state 800]
type = Trans
trigger1 = time >= 0
trans = addalpha
alpha = 256-var(0),256

[State a]
type = Explod
triggerall = time <= 50
trigger1 = gametime%2 = 1
anim = 3001
id = 3000
sprpriority = 16
postype = p1
pos = 0,0
scale = 0.2,0.2
vel = -0.5+ ((random%4)*0.25),-0.5+ ((random%4)*0.25)
bindtime = 1
under = 0
ownpal = 1
persistent = 1
ignorehitpause = 1
trans = add

[State a]
type = Explod
triggerall = time <= 50
trigger1 = gametime%3 = 1
anim = 3001
id = 3000
sprpriority = 16
postype = p1
pos = 0,0
scale = 0.25,0.25
vel = -0.25+ ((random%4)*0.25),-0.25+ ((random%4)*0.25)
bindtime = 1
under = 0
ownpal = 1
persistent = 1
ignorehitpause = 1
trans = add

[State 10000]
type = destroyself
trigger1 = var(0) >= 255

;---------------------------------------------------------------------------
; fire エフェクト
[Statedef 3010]
type = S
Anim = 9999
SprPriority = 4
ctrl = 0

[State 20005, AssertSpacial]
Type = AssertSpecial
Trigger1 = 1
Flag = Noshadow
IgnoreHitPause = 1

[State VarSet]
type = VarSet
trigger1 = 1
var(47) = parent,var(47)
[State Vel]
type = VarRandom
trigger1 = 1
v = 48
range = 10,30

[State a]
type = Explod
triggerall = time <= 5
trigger1 = 1
anim = 3010
id = 3000
sprpriority = 16
postype = p1
pos = 0+((random%4)*2), 0+((random%4)*2)
scale = .12,.12
vel = cos(Var(47)*pi/180)*Var(48)*0.15,sin(-Var(47)*pi/180)*Var(48)*0.15
bindtime = 1
under = 0
ownpal = 1
persistent = 1
ignorehitpause = 1
trans = add
pausemovetime=65535
supermovetime=65535

[State a]
type = Explod
triggerall = time <= 8
trigger1 = 1
anim = 3010
id = 3000
sprpriority = 16
postype = p1
pos = 0+((random%4)*3), 0+((random%4)*3)
scale = .18,.18
vel = cos(Var(47)*pi/180)*Var(48)*0.125,sin(-Var(47)*pi/180)*Var(48)*0.125
bindtime = 1
under = 0
ownpal = 1
persistent = 1
ignorehitpause = 1
trans = add
pausemovetime=65535
supermovetime=65535

[State 10000]
type = destroyself
trigger1 = time = 15

;---------------------------------------------------------------------------
; fire エフェクト２
[Statedef 3011]
type = S
Anim = 9999
SprPriority = 4
ctrl = 0

[State 20005, AssertSpacial]
Type = AssertSpecial
Trigger1 = 1
Flag = Noshadow
IgnoreHitPause = 1

[State VarSet]
type = VarSet
trigger1 = 1
var(49) = parent,var(49)
[State Vel]
type = VarRandom
trigger1 = 1
v = 48
range = 10,30

[State a]
type = Explod
triggerall = time <= 5
trigger1 = 1
anim = 3010
id = 3000
sprpriority = 16
postype = p1
pos = 0+((random%4)*2), 0+((random%4)*2)
scale = .12,.12
vel = cos(Var(49)*pi/180)*Var(48)*0.15,sin(-Var(49)*pi/180)*Var(48)*0.15
bindtime = 1
under = 0
ownpal = 1
persistent = 1
ignorehitpause = 1
trans = add
pausemovetime=65535
supermovetime=65535

[State a]
type = Explod
triggerall = time <= 8
trigger1 = 1
anim = 3010
id = 3000
sprpriority = 16
postype = p1
pos = 0+((random%4)*3), 0+((random%4)*3)
scale = .18,.18
vel = cos(Var(49)*pi/180)*Var(48)*0.125,sin(-Var(49)*pi/180)*Var(48)*0.125
bindtime = 1
under = 0
ownpal = 1
persistent = 1
ignorehitpause = 1
trans = add
pausemovetime=65535
supermovetime=65535

[State 10000]
type = destroyself
trigger1 = time = 15

;------------------------------------------SPARKS----------------
;---Light---
[Statedef 4005]
type=A
physics=N
movetype=I
anim=4000
velset=0,0
sprpriority=5

[State assert]
type=assertspecial
trigger1= 1
flag=noshadow

[State angle]
type=angleset
trigger1= !time
value=15*(random%24)
[State scale]
type=angledraw
trigger1= time<12
scale= 1+(time*.20), 1.3-(time*.12)
[State scale]
type=angledraw
trigger1= time>=12
scale=0,0
[State trans]
type=trans
trigger1= 1
trans=addalpha
alpha=256,256

[State Center]
type=explod
trigger1= !time
anim=4001
ID=3
postype=p1
facing=ifelse(random<500,-1,1)
vfacing=ifelse(random<500,-1,1)
sprpriority=5
scale = .2,.2
removetime=16
pausemovetime=-1
supermovetime=-1
[State Scale]
type=modifyexplod
trigger1= numexplod(3)
ID=3
scale=.2-(.018*time),.2-(.018*time)
trans=addalpha
alpha=256-(12*time),256

[State Center]
type=explod
trigger1= !time
anim=4010
ID=1
postype=p1
facing=ifelse(random<500,-1,1)
vfacing=ifelse(random<500,-1,1)
sprpriority=5
removetime=16
pausemovetime=-1
supermovetime=-1
[State Scale]
type=modifyexplod
trigger1= numexplod(1)
ID=1
scale=.1+(.009375*time),.1+(.009375*time)
trans=addalpha
alpha=256-(12*time),256

[State Streaks]
type=explod
trigger1= !time
anim=4011
ID=2
postype=p1
facing=ifelse(random<500,-1,1)
vfacing=ifelse(random<500,-1,1)
sprpriority=5
removetime=16
pausemovetime=-1
supermovetime=-1
[State Scale]
type=modifyexplod
trigger1= numexplod(2)
ID=2
scale=.1+(.009375*time),.1+(.009375*time)
trans=addalpha
alpha=256-(12*time),256

[State Impact]
type=explod
trigger1= !time
anim=4012
ID=4
postype=p1
facing=ifelse(random<500,-1,1)
vfacing=ifelse(random<500,-1,1)
sprpriority=3
removetime=8
pausemovetime=-1
supermovetime=-1
[State Scale]
type=modifyexplod
trigger1= numexplod(4)
ID=4
scale=.3-(.0375*time),.3-(.0375*time)
trans=addalpha
alpha=128-(12*time),256

[State End]
type=removeexplod
trigger1= time>=15
[State End]
type=destroyself
trigger1= time>=15

;------------------------------------------SPARKS----------------
;---Medium---
[Statedef 4010]
type=A
physics=N
movetype=I
anim=4000
velset=0,0
sprpriority=5

[State Assert]
type=assertspecial
trigger1= 1
flag=noshadow

[State angle]
type=angleset
trigger1= !time
value=15*(random%24)
[State scale]
type=angledraw
trigger1= time<12
scale= 1+(time*.20), 1.3-(time*.12)
[State scale]
type=angledraw
trigger1= time>=12
scale=0,0
[State trans]
type=trans
trigger1= 1
trans=addalpha
alpha=256,256

[State Center]
type=explod
trigger1= !time
anim=4001
ID=3
postype=p1
facing=ifelse(random<500,-1,1)
vfacing=ifelse(random<500,-1,1)
sprpriority=5
scale = .225,.225
removetime=16
pausemovetime=-1
supermovetime=-1
[State Scale]
type=modifyexplod
trigger1= numexplod(3)
ID=3
scale=.25-(.018*time),.25-(.018*time)
trans=addalpha
alpha=256-(12*time),256

[State Center]
type=explod
trigger1= !time
anim=4010
ID=1
postype=p1
facing=ifelse(random<500,-1,1)
vfacing=ifelse(random<500,-1,1)
sprpriority=5
removetime=16
pausemovetime=-1
supermovetime=-1
[State Scale]
type=modifyexplod
trigger1= numexplod(1)
ID=1
scale=.175+(.0109375*time),.175+(.0109375*time)
trans=addalpha
alpha=256-(12*time),256

[State Streaks]
type=explod
trigger1= !time
anim=4011
ID=2
postype=p1
facing=ifelse(random<500,-1,1)
vfacing=ifelse(random<500,-1,1)
sprpriority=5
removetime=16
pausemovetime=-1
supermovetime=-1
[State Scale]
type=modifyexplod
trigger1= numexplod(2)
ID=2
scale=.175+(.0109375*time),.175+(.0109375*time)
trans=addalpha
alpha=256-(12*time),256

[State Impact]
type=explod
trigger1= !time
anim=4012
ID=4
postype=p1
facing=ifelse(random<500,-1,1)
vfacing=ifelse(random<500,-1,1)
sprpriority=3
removetime=8
pausemovetime=-1
supermovetime=-1
[State Scale]
type=modifyexplod
trigger1= numexplod(4)
ID=4
scale=.35-(.04375*time),.35-(.04375*time)
trans=addalpha
alpha=128-(12*time),256

[State End]
type=removeexplod
trigger1= time>=15
[State End]
type=destroyself
trigger1= time>=15

;------------------------------------------SPARKS----------------
;---Strong---
[Statedef 4015]
type=A
physics=N
movetype=I
anim=4000
velset=0,0
sprpriority=5

[State Assert]
type=assertspecial
trigger1= 1
flag=noshadow

[State angle]
type=angleset
trigger1= !time
value=15*(random%24)
[State scale]
type=angledraw
trigger1= time<12
scale= 1+(time*.20), 1.3-(time*.12)
[State scale]
type=angledraw
trigger1= time>=12
scale=0,0
[State trans]
type=trans
trigger1= 1
trans=addalpha
alpha=256,256

[State Center]
type=explod
trigger1= !time
anim=4001
ID=3
postype=p1
facing=ifelse(random<500,-1,1)
vfacing=ifelse(random<500,-1,1)
sprpriority=5
scale = .25,.25
removetime=16
pausemovetime=-1
supermovetime=-1
[State Scale]
type=modifyexplod
trigger1= numexplod(3)
ID=3
scale=.25-(.018*time),.25-(.018*time)
trans=addalpha
alpha=256-(12*time),256

[State Center]
type=explod
trigger1= !time
anim=4010
ID=1
postype=p1
facing=ifelse(random<500,-1,1)
vfacing=ifelse(random<500,-1,1)
sprpriority=5
removetime=16
pausemovetime=-1
supermovetime=-1
[State Scale]
type=modifyexplod
trigger1= numexplod(1)
ID=1
scale=.2+(.0125*time),.2+(.0125*time)
trans=addalpha
alpha=256-(12*time),256

[State Streaks]
type=explod
trigger1= !time
anim=4011
ID=2
postype=p1
facing=ifelse(random<500,-1,1)
vfacing=ifelse(random<500,-1,1)
sprpriority=5
removetime=16
pausemovetime=-1
supermovetime=-1
[State Scale]
type=modifyexplod
trigger1= numexplod(2)
ID=2
scale=.2+(.0125*time),.2+(.0125*time)
trans=addalpha
alpha=256-(12*time),256

[State Impact]
type=explod
trigger1= !time
anim=4012
ID=4
postype=p1
facing=ifelse(random<500,-1,1)
vfacing=ifelse(random<500,-1,1)
sprpriority=3
removetime=8
pausemovetime=-1
supermovetime=-1
[State Scale]
type=modifyexplod
trigger1= numexplod(4)
ID=4
scale=.4-(.05*time),.4-(.05*time)
trans=addalpha
alpha=128-(12*time),256

[State End]
type=removeexplod
trigger1= time>=15
[State End]
type=destroyself
trigger1= time>=15

;------------------------------------------SPARKS----------------
;---Special---
[Statedef 4020]
type=A
physics=N
movetype=I
anim=4002
velset=0,0
sprpriority=5

[State assert]
type=assertspecial
trigger1= 1
flag=noshadow

[State angle]
type=angleset
trigger1= !time
value=15*(random%24)
[State scale]
type=angledraw
trigger1= time<12
scale= 1+(time*.20), 1.3-(time*.12)
[State scale]
type=angledraw
trigger1= time>=12
scale=0,0
[State trans]
type=trans
trigger1= 1
trans=addalpha
alpha=256,256

[State Center]
type=explod
trigger1= !time
anim=4003
ID=3
postype=p1
facing=ifelse(random<500,-1,1)
vfacing=ifelse(random<500,-1,1)
sprpriority=5
scale = .25,.25
removetime=16
pausemovetime=-1
supermovetime=-1
[State Scale]
type=modifyexplod
trigger1= numexplod(3)
ID=3
scale=.3-(.02*time),.3-(.02*time)
trans=addalpha
alpha=256-(12*time),256

[State Center]
type=explod
trigger1= !time
anim=4010
ID=1
postype=p1
facing=ifelse(random<500,-1,1)
vfacing=ifelse(random<500,-1,1)
sprpriority=5
removetime=16
pausemovetime=-1
supermovetime=-1
[State Scale]
type=modifyexplod
trigger1= numexplod(1)
ID=1
scale=.175+(.0109375*time),.175+(.0109375*time)
trans=addalpha
alpha=256-(12*time),256

[State Streaks]
type=explod
trigger1= !time
anim=4011
ID=2
postype=p1
facing=ifelse(random<500,-1,1)
vfacing=ifelse(random<500,-1,1)
sprpriority=5
removetime=16
pausemovetime=-1
supermovetime=-1
[State Scale]
type=modifyexplod
trigger1= numexplod(2)
ID=2
scale=.1+(.0140625*time),.1+(.0140625*time)
trans=addalpha
alpha=256-(12*time),256

[State Impact]
type=explod
trigger1= !time
anim=4012
ID=4
postype=p1
facing=ifelse(random<500,-1,1)
vfacing=ifelse(random<500,-1,1)
sprpriority=3
removetime=8
pausemovetime=-1
supermovetime=-1
[State Scale]
type=modifyexplod
trigger1= numexplod(4)
ID=4
scale=.4-(.05*time),.4-(.05*time)
trans=addalpha
alpha=128-(12*time),256

[State End]
type=removeexplod
trigger1= time>=15
[State End]
type=destroyself
trigger1= time>=15

;------------------------------------------SPARKS----------------
;---Hyper---
[Statedef 4030]
type=A
physics=N
movetype=I
anim=4004
velset=0,0
sprpriority=5

[State Assert]
type=assertspecial
trigger1= 1
flag=noshadow

[State angle]
type=angleset
trigger1= !time
value=15*(random%24)
[State scale]
type=angledraw
trigger1= time<12
scale= 1+(time*.25), 1.8-(time*.17)
[State scale]
type=angledraw
trigger1= time>=12
scale=0,0
[State trans]
type=trans
trigger1= 1
trans=addalpha
alpha=256,256

[State Center]
type=explod
trigger1= !time
anim=4005
ID=3
postype=p1
facing=ifelse(random<500,-1,1)
vfacing=ifelse(random<500,-1,1)
sprpriority=5
scale = .25,.25
removetime=16
pausemovetime=-1
supermovetime=-1
[State Scale]
type=modifyexplod
trigger1= numexplod(3)
ID=3
scale=.35-(.025*time),.35-(.025*time)
trans=addalpha
alpha=256-(12*time),256

[State Center]
type=explod
trigger1= !time
anim=4010
ID=1
postype=p1
facing=ifelse(random<500,-1,1)
vfacing=ifelse(random<500,-1,1)
sprpriority=5
removetime=16
pausemovetime=-1
supermovetime=-1
[State Scale]
type=modifyexplod
trigger1= numexplod(1)
ID=1
scale=.175+(.0169375*time),.175+(.0169375*time)
trans=addalpha
alpha=256-(12*time),256

[State Streaks]
type=explod
trigger1= !time
anim=4011
ID=2
postype=p1
facing=ifelse(random<500,-1,1)
vfacing=ifelse(random<500,-1,1)
sprpriority=5
removetime=16
pausemovetime=-1
supermovetime=-1
[State Scale]
type=modifyexplod
trigger1= numexplod(2)
ID=2
scale=.12+(.015625*time),.12+(.015625*time)
trans=addalpha
alpha=256-(12*time),256

[State Impact]
type=explod
trigger1= !time
anim=4012
ID=4
postype=p1
facing=ifelse(random<500,-1,1)
vfacing=ifelse(random<500,-1,1)
sprpriority=3
removetime=8
pausemovetime=-1
supermovetime=-1
[State Scale]
type=modifyexplod
trigger1= numexplod(4)
ID=4
scale=.5-(.0625*time),.5-(.0625*time)
trans=addalpha
alpha=256-(32*time),256

[State Streaks]
type=explod
trigger1= !time
anim=4013
ID=5
postype=p1
facing=ifelse(random<500,-1,1)
vfacing=ifelse(random<500,-1,1)
sprpriority=5
removetime=16
pausemovetime=-1
supermovetime=-1
[State Scale]
type=modifyexplod
trigger1= numexplod(5)
ID=5
scale=.25+(.025*time),.25+(.025*time)
trans=addalpha
alpha=256-(12*time),256

[State End]
type=removeexplod
trigger1= time>=15
[State End]
type=destroyself
trigger1= time>=15

;------------------------------------------GUARD SPARKS----------------
;---Normal---
[Statedef 4100]
type=A
physics=N
movetype=I
anim=4100
velset=0,0
sprpriority=5

[State Assert]
type=assertspecial
trigger1= 1
flag=noshadow

[State Angle]
type=angleset
trigger1= !time
value=0
[State scale]
type=angledraw
trigger1= time<12
scale= .1+(time*.035), .25+(time*.05)
[State scale]
type=angledraw
trigger1= time>=12
scale=0,0
[State trans]
type=trans
trigger1= 1
trans=addalpha
alpha=256,256

[State End]
type=removeexplod
trigger1= time>=12
[State 8014, End]
type=destroyself
trigger1= time>=12

;---Special---
[Statedef 4110]
type=A
physics=N
movetype=I
anim=4110
velset=0,0
sprpriority=5

[State Assert]
type=assertspecial
trigger1= 1
flag=noshadow

[State angle]
type=angleset
trigger1= !time
value=0
[State scale]
type=angledraw
trigger1= time<12
scale= .05+(time*.025), .1+(time*.02)
[State scale]
type=angledraw
trigger1= time>=12
scale=0,0
[State trans]
type=trans
trigger1= 1
trans=addalpha
alpha=256,256

[State Particles]
type=explod
trigger1= time<=5
trigger1= random<(1000.0/numhelper(4000))
anim=4115
ID=4115
postype=p1
vel= 4.5-((random%8)*0.8),-3+((random%6)*0.8)
scale= .15,.15
sprpriority=5
pausemovetime=-1
supermovetime=-1
[State Particles Scale]
type=modifyexplod
trigger1= numexplod(4115)
ID=4115
trans=addalpha
alpha=256-(5*time),256

[State End]
type=removeexplod
trigger1= time>=15
[State End]
type=destroyself
trigger1= time>=15

;------------------------------------------Counter Effect----------------
[Statedef 4014]
type=A
physics=N
movetype=I
anim=4014
velset=0,0
sprpriority=5

[State Assert]
type=assertspecial
trigger1= 1
flag=noshadow

[State Angle]
type=angleset
trigger1= !time
value=0
[State scale]
type=angledraw
trigger1= time<13
scale= .25+(time*.15), .25+(time*.15)
[State scale]
type=angledraw
trigger1= time>=12
scale=0,0
[State trans]
type=trans
trigger1= 1
trans=addalpha
alpha=256-(24*time),256

[State End]
type=removeexplod
trigger1= time>=12
[State 8014, End]
type=destroyself
trigger1= time>=12

;---------------------------------------------------------------------------
; 特殊KO　薔薇
[Statedef 7010]
type = S
Anim = 7010
SprPriority = 4
ctrl = 0

[State 20005, AssertSpacial]
Type = AssertSpecial
Trigger1 = 1
Flag = Noshadow
IgnoreHitPause = 1

[State 1002,1]
type = VelSet
trigger1 = !time
x = -.8
y = -1.5

[State 1002,1]
type = VelAdd
trigger1 = 1
y = 0.18

[State 1002,1]
type = VelSet
trigger1 = ((Vel Y > 0) && (Pos Y >= 0))
x = 0
y = 0

[State a]
type = Changeanim
trigger1 = time = 5
value = 7011
persistent = 0
IgnoreHitPause = 1


;======================================================
;超必殺技エフェクト
;======================================================

[Statedef 8100]
type = A
movetype = I
physics = N
ctrl = 0
sprpriority = 5

[State 8100]
type = ChangeAnim
trigger1 = !time
value = ifelse(parent,var(46)=1,8100,8110)

[State 8100]
type = AssertSpecial
trigger1 = 1
flag=noshadow


[State 8100, Snd]
type = PlaySnd
trigger1 = !time
value = s10,0

[State 8100, bg1]
type=bgpalfx
trigger1= time<=5
time=1
add=255-ceil(25.5*time),255-ceil(25.5*time),255-ceil(25.5*time)
mul=255-floor(25.5*time),255-floor(25.5*time),255-ceil(25.5*time)
color=255-floor(25.5*time)
[State 8100, bg2]
type=bgpalfx
trigger1= time>=5
time=1
mul=0,0,0
color=0

[state 8100, Shrink]
type=angledraw
trigger1= time<=25
scale=1-(.03*time),1-(.03*time)
[state 8100, Shrink]
type=angledraw
trigger1= time>=26
scale=.15,.15
[state 8100, Spin]
type=angleadd
trigger1=1
value=-5

[State 8100, trans]
type=trans
trigger1= 1
trans=addalpha
alpha=256,256

[State 8100, Spiral]
type=helper
trigger1= !time
helpertype=normal
stateno=8115
ID=8115
name="Hyper Charge Spiral"
postype=p1
pausemovetime=255
supermovetime=255
ownpal=0

[State 8120, Spiral]
type=helper
triggerall = parent,var(46)>1
trigger1= !time
helpertype=normal
stateno=8120
ID=8120
name="Hyper Charge Spiral"
postype=p1
pausemovetime=255
supermovetime=255
ownpal=0
[State 8120, Spiral]
type=helper
triggerall = parent,var(46)>1
trigger1= !time
helpertype=normal
stateno=8120
ID=8121
name="Hyper Charge Spiral"
postype=p1
pausemovetime=255
supermovetime=255
ownpal=0
[State 8120, Spiral]
type=helper
triggerall = parent,var(46)>1
trigger1= !time
helpertype=normal
stateno=8120
ID=8122
name="Hyper Charge Spiral"
postype=p1
pausemovetime=255
supermovetime=255
ownpal=0
[State 8125, Spiral]
type=helper
triggerall = parent,var(46)>2
trigger1= !time
helpertype=normal
stateno=8125
ID=8125
name="Hyper Charge Spiral"
postype=p1
pausemovetime=255
supermovetime=255
ownpal=0
[State 8100, Spiral]
type=helper
triggerall = parent,var(46)>2
trigger1= !time
helpertype=normal
stateno=8125
ID=8126
name="Hyper Charge Spiral"
postype=p1
pausemovetime=255
supermovetime=255
ownpal=0
[State 8100, Spiral]
type=helper
triggerall = parent,var(46)>2
trigger1= !time
helpertype=normal
stateno=8125
ID=8127
name="Hyper Charge Spiral"
postype=p1
pausemovetime=255
supermovetime=255
ownpal=0

[State 8100, Circle]
type=explod
triggerall = parent,var(46)>2
trigger1= !time
anim=8125
sprpriority=5
scale=.8,.8
postype=p1
pausemovetime=255
supermovetime=255

[State 8100, Large Circle]
type=explod
trigger1= !time
anim=ifelse(parent,var(46)=1,8102,8112)
ID=8102
sprpriority=5
postype=p1
pausemovetime=-1
supermovetime=-1
[State 8100, Scale]
type=modifyexplod
trigger1= numexplod(8102)
ID=8102
scale=.3+(.085*time),.3+(.085*time)
trans=addalpha
alpha=ceil(256-12*time),256

[State 8100, Circle]
type=explod
trigger1= !time
anim=ifelse(parent,var(46)=1,8103,8113)
ID=81031
sprpriority=5
postype=p1
pausemovetime=-1
supermovetime=-1
[State 8100, Circle]
type=explod
trigger1= time=7
anim=ifelse(parent,var(46)=1,8103,8113)
ID=81032
sprpriority=5
postype=p1
pausemovetime=-1
supermovetime=-1
[State 8100, Circle]
type=explod
trigger1= time=14
anim=ifelse(parent,var(46)=1,8103,8113)
ID=81033
sprpriority=5
postype=p1
pausemovetime=-1
supermovetime=-1

[State 8100, Scale]
type=modifyexplod
trigger1= numexplod(81031)
ID=81031
scale=.1+(.0325*time),.1+(.0325*time)
[State 8100, Scale]
type=modifyexplod
trigger1= numexplod(81032)
ID=81032
scale=.1+(.0325*(time-7)),.1+(.0325*(time-7))
[State 8100, Scale]
type=modifyexplod
trigger1= numexplod(81033)
ID=81033
scale=.1+(.0325*(time-14)),.1+(.0325*(time-14))

[State 8100, Lines]
type=explod
trigger1= time=0 || time=8 || time=16
anim=ifelse(parent,var(46)=1,8101,8111)
ID=ifelse(time=16, 81012, ifelse(time=8, 81011, 81010))
sprpriority=5
postype=p1
facing=ifelse(random<500,-1,1)
vfacing=ifelse(random<500,-1,1)
removetime=16
supermovetime=-1

[State 8100, Scale]
type=modifyexplod
trigger1= numexplod(81010)
ID=81010
scale= 1-(.0625*time), 1-(.0625*time)
trans= addalpha
alpha= ifelse(time<4, 64*time, 256), 256
[State 8100, Scale]
type=modifyexplod
trigger1= numexplod(81011)
ID=81011
scale= 1-(.0625*(time-8)), 1-(.0625*(time-8))
trans= addalpha
alpha= ifelse((time-8)<4, 64*(time-8), 256), 256
[State 8100, Scale]
type=modifyexplod
trigger1= numexplod(81012)
ID=81012
scale= 1-(.0625*(time-16)), 1-(.0625*(time-16))
trans= addalpha
alpha= ifelse((time-16)<4, 64*(time-16), 256), 256



[State 8100]
Type = removeexplod
Trigger1 = Time = 30

[State 8100]
Type = DestroySelf
Trigger1 = Time = 30

;---Spiral--------------------------------------------------------------------

[Statedef 8115]
physics=N
anim=8115
sprpriority=5

[State 8110, Assert]
type=assertspecial
trigger1= 1
flag=noshadow

[State 8110, trans]
type=trans
trigger1= 1
trans=addalpha
alpha=256,256

[State 8110, Spin]
type=angleset
trigger1= !time
value=-15*(random%24)
[state 8110, Shrink]
type=angledraw
trigger1=1
scale=1-(.0325*time),1-(.0325*time)
[state 8100, Spin]
type=angleadd
trigger1=1
value=-10

[State 8110, End]
type=destroyself
trigger1= time= 30

;---Rays of light-------------------------------------------------------------

[Statedef 8120]
physics=N
anim=8120
sprpriority=5

[State 8120, Assert]
type=assertspecial
trigger1= 1
flag=noshadow

[State 8120, trans]
type=trans
trigger1= 1
trans=addalpha
alpha=256,256

[State 8120, Spin]
type=angleset
trigger1= !time
value=ifelse(ishelper(8122),240,ifelse(ishelper(8121),120,0))
[state 8120, Shrink]
type=angledraw
trigger1=1
scale=.5-(.0165*time),ifelse(time>=20,.5,.02*time)
[state 8120, Spin]
type=angleadd
trigger1=1
value= -1

[State 8120, End]
type=destroyself
trigger1= time= 30

;---Rays of light-------------------------------------------------------------

[Statedef 8125]
physics=N
anim=8120
sprpriority=5

[State 8125, Assert]
type=assertspecial
trigger1= 1
flag=noshadow

[State 8125, trans]
type=trans
trigger1= 1
trans=addalpha
alpha=256,256

[State 8125, Spin]
type=angleset
trigger1= !time
value=ifelse(ishelper(8127),300,ifelse(ishelper(8126),180,60))
[state 8125, Shrink]
type=angledraw
trigger1=1
scale=.5-(.0165*time),ifelse(time>=20,.5,.02*time)

[State 8125, End]
type=destroyself
trigger1= time= 30

;---------------------------------------------------------------------------
; カットイン
[Statedef 8150]
type = S
movetype = I
physics = N
anim = 8150
velset = 0,0
sprpriority = -90
ctrl = 0

[state a]
type = velmul
trigger1 = 1
x = 0.8

[state a]
type = posset
trigger1 = 1
y = pos y - screenpos y + 240

[state a]
type = varset
trigger1 = !time
v = 1
value = 0

[state a]
type = varadd
trigger1 = animelemtime(12) >= 1
v = 1
value = 16

[state a]
type = Trans
trigger1 = 1
trans = addalpha
alpha = 256-var(1), var(1)

[state a]
type = destroyself
trigger1 = time = 30

;-----------------------------------------------------------------------------
; 土埃系
;---Jump---
[Statedef 8000]
type=S
anim=9999
velset=0,0

[State 8000, Bind]
type=bindtoroot
trigger1= time

[State 8000, Dust]
type=explod
trigger1= !time
anim=8000
sprpriority=3
postype=p1
pos=0,ceil(pos y)
scale=.5,.5
pausemovetime=-1
supermovetime=-1
ownpal=1
[State 8000, Dust]
type=explod
trigger1= !time || time=2 || time=6
anim=8001
sprpriority=3
postype=p1
scale=.5,.5
pausemovetime=-1
supermovetime=-1
ownpal=1

[State 8000, End]
type=destroyself
trigger1= time>=7

;---Dash---
[Statedef 8003]
type=A
anim=9999
velset=0,0
sprpriority=5

[State 8003, Pos]
type=posset
trigger1= !time=0
y=0

[State 8003, Dust]
type=explod
trigger1= time=0 || time=3 || time=6
anim=8003
ID= ifelse((time=6), 3, ifelse((time=3), 2, 1))
postype=p1
pos=0,-4
random=8,8
vel= -3-(random/1000.0), -2-(random/2000.0)
facing=ifelse(random<500,-1,1)
vfacing=ifelse(random<500,-1,1)
removetime=16
sprpriority=3
pausemovetime=-1
supermovetime=-1

[State 8003, Scale]
type=modifyexplod
trigger1= numexplod(1)
ID=1
scale= .1+(.025*time), .1+(.025*time)
trans=addalpha
alpha= 256-(16*time), 256
[State 8103, Scale]
type=modifyexplod
trigger1= numexplod(2)
ID=2
scale= .1+(.025*(time-3)), .1+(.025*(time-3))
trans=addalpha
alpha= 256-(16*(time-3)), 256
[State 8003, Scale]
type=modifyexplod
trigger1= numexplod(3)
ID=3
scale= .1+(.025*(time-6)), .1+(.025*(time-6))
trans=addalpha
alpha= 256-(16*(time-6)), 256

[State 8003, End]
type=removeexplod
trigger1= time>=22
[State 8003, End]
type=destroyself
trigger1= !numexplod

;---Impact---
[Statedef 8010]
type=A
anim=9999
velset=0,0
sprpriority=5

[State 8010, FX]
type=explod
trigger1= !time
anim=8010
ID= ifelse(time=8, 3, ifelse(time=4, 2, 1))
postype=p1
removetime=8
sprpriority=-4
pausemovetime=-1
supermovetime=-1
[State 8010, FX]
type=explod
trigger1= !time
anim=8011
ID= 2
postype=p1
removetime=8
sprpriority=-4
pausemovetime=-1
supermovetime=-1

[State 8010, Scale]
type=modifyexplod
trigger1= 1
scale= .25+(.03125*time), .25+(.03125*time)
trans= addalpha
alpha= ifelse(time<4, 256, 256-(64*(time-4))), 256

[State 8010, End]
type=removeexplod
trigger1= time>=8
[State 8010, End]
type=destroyself
trigger1= !numexplod

;---Impact---
[Statedef 8011]
type=A
anim=8010
velset=0,0
sprpriority=5

[state -2]
type = AssertSpecial
trigger1 = 1
flag = noshadow

[State angle]
type=angleset
trigger1= !time
value=90
[State scale, 1]
type=angledraw
trigger1= 1
scale= .3+(.04125*time), .3+(.04125*time)
[State scale, 2]
type=angledraw
trigger1= time>=12
scale=0,0
[State trans]
type=trans
trigger1= 1
trans=addalpha
alpha=ifelse(time<4, 256, 256-(64*(time-4))), 256

[State 8011, End]
type=destroyself
trigger1= time>=12

;---Impact---
[Statedef 8012]
type=A
anim=8011
velset=0,0
sprpriority=5

[state -2]
type = AssertSpecial
trigger1 = 1
flag = noshadow

[State angle]
type=angleset
trigger1= !time
value=90
[State scale, 1]
type=angledraw
trigger1= 1
scale= .3+(.0525*time), .3+(.0525*time)
[State scale, 2]
type=angledraw
trigger1= time>=12
scale=0,0
[State trans]
type=trans
trigger1= 1
trans=addalpha
alpha=ifelse(time<4, 256, 256-(64*(time-4))), 256

[State 8012, End]
type=destroyself
trigger1= time>=12

;-----------------------------------------------------------------------------
; チャージ
[Statedef 8030]
type=A
physics=N
movetype=I
anim=9999
ctrl=0
velset=0,0

[State 8030, Bind]
type=bindtoroot
trigger1= (root,stateno=730)
pos=-7,0
[State 8030, Snd]
type=playsnd
trigger1= !time
value=6,0
channel=0

[State 8030, Aura]
type=explod
trigger1= !numexplod(8030)
ID=8030
anim=8030
sprpriority=3
postype=p1
bindtime=-1
removetime=-1
scale=.5,.5
pausemovetime=-1
supermovetime=-1
ownpal=1
[State 8030, Dust]
type=explod
trigger1= !(time%6)
anim=8005
sprpriority=-3
postype=p1
pos=0,-ceil(pos y)
scale=.5,.5
pausemovetime=-1
supermovetime=-1
ownpal=1

[State 8030, FX]
type=modifyexplod
trigger1= numexplod(8030) && root,power<3000
ID=8030
scale= .5, .1 + .4*(root,power/3000.0)
[State 8030, FX]
type=modifyexplod
trigger1= numexplod(8030) && root,power>=3000
ID=8030
scale= .5, .5

[State 8030, End]
type=stopsnd
trigger1= root,stateno!=700
channel=0
[State 8030, End]
type=removeexplod
trigger1= root,stateno!=700
[State 8030, End]
type=destroyself
trigger1= root,stateno!=700

;---Particles---
[Statedef 8031]
type=A
physics=N
movetype=I
anim=9999
ctrl=0
velset=0,0

[State 8031, Bind]
type=bindtoroot
trigger1= !(time%8)
pos=ceil(-151+(random/3.125)),ceil(98-(random/3.125))

[State 8031, Particle]
type=explod
trigger1= (time%8)=1
anim=8031
sprpriority=ifelse(random<750,5,-1)
postype=p1
vel= ((rootdist x)/32.0), ((rootdist y-65)/32.0)
scale= ifelse(random<500,.3,-.3), ifelse(random<500,.3,-.3)
pausemovetime=-1
supermovetime=-1
ownpal=1

[State 8031, End]
type=removeexplod
trigger1= root,stateno!=700
[State 8031, End]
type=destroyself
trigger1= root,stateno!=700

;-----------------------------------------------------------------------------
; カウンター
[Statedef 8050]
type=A
physics=N
movetype=I
anim=9999
ctrl=0
velset=0,0

[State 8050, BG PalFX]
type=bgpalfx
trigger1= 1
time=1
color= 16*time
mul= 16*time, 16*time, 16*time

[State 8050, Circle]
type=explod
trigger1= !time
anim=8050
ID=1
sprpriority=3
postype=p1
removetime=16
supermovetime=-1
ownpal=1

[State 8050, Scale]
type=modifyexplod
trigger1= numexplod(1)
ID=1
scale= (.0625*time), (.0625*time)
trans= addalpha
alpha= 256-(16*time), 256

[State 8050, Lightning]
type=explod
trigger1= !time
anim=8051
ID=2
sprpriority=-2
postype=p1
pos=0,-ceil(pos y)
supermovetime=-1
ownpal=1

[State 8050, End]
type=destroyself
trigger1= time>=16

;-----------------------------------------------------------------------------
; エクステンド
[Statedef 8060]
type=A
physics=N
movetype=I
anim=8060
ctrl=0
velset=0,0
sprpriority=5

[State 8060, Assert]
type=assertspecial
trigger1= 1
flag=noshadow

[State 8060, BG PalFX]
type=bgpalfx
trigger1= time<25
time=1
mul=128,128,128

[State 8060, Rotate]
type=angleset
trigger1= !time
value=6*(random%60)
[State 8060, Rotate]
type=angleadd
trigger1= 1
value=-6

[State 8060, Scale]
type=angledraw
trigger1= time<8
scale= (.0625*time), (.0625*time)
[State 8060, Scale]
type=angledraw
trigger1= time>=8
scale= .5, .5
[State 8060, Trans]
type=trans
trigger1= time<16
trans= addalpha
alpha= 256, 256
[State 8060, Trans]
type=trans
trigger1= time>=16
trans= addalpha
alpha= ceil(256 - 25.6*(time-16)), 256

[State 8060, Lines]
type=explod
trigger1= !time
anim=8061
ID=1
sprpriority=5
postype=p1
facing=ifelse(random<500,-1,1)
vfacing=ifelse(random<500,-1,1)
removetime=16
supermovetime=-1

[State 8060, Scale]
type=modifyexplod
trigger1= numexplod(1)
ID=1
scale= 2-(.125*time), 2-(.125*time)
trans= addalpha
alpha= ifelse(time<4, 64*time, 256), 256

[State 8060, Circle]
type=explod
trigger1= time=16
anim=8062
ID=2
sprpriority=5
postype=p1
removetime=32
supermovetime=-1

[State 8060, Scale]
type=modifyexplod
trigger1= numexplod(2)
ID=2
scale= (.1*(time-16)), (.1*(time-16))
trans= addalpha
alpha= ceil(256 - 25.6*(time-16)), 256
[State 740, SuperPause FX]
type=helper
trigger1= time=4
helpertype=normal
stateno=8065
ID=8065
name="EX EF"
postype=p1
pos=0,0
supermovetime=255
size.xscale=1
size.yscale=1
ownpal=0
bindtime = -1
ignorehitpause = 1
persistent = 0
supermovetime = 99999
pausemovetime = 99999

[State 8060, Safety]
type=removeexplod
trigger1= time>=26
[State 8060, End]
type=destroyself
trigger1= time>=26

;-----------------------------------------------------------------------------
; エクステンド エフェクト
[Statedef 8065]
type=A
physics=N
movetype=I
anim=9999
ctrl=0
velset=0,0
sprpriority=5

[state bind]
type = BindToRoot
trigger1 = 1
time = 1
facing = 0
pos = 0, 0

[State var, ランダム]
type = VarRandom
trigger1 = time >= 1
trigger1 = time % 1 = 0
v = 0
value = 0, 2

[State var, ランダム]
type = VarRandom
trigger1 = time >= 1
trigger1 = time % 1 = 0
v = 1
value = 0, 2

[State エフェクト]
type = Explod
trigger1 = time >= 2
trigger1 = time % 4 = 0
anim = 8065
ID = 8065
pos = 0,0
postype = p1
facing = 1
vfacing = 1
bindtime = 1
vel = (0+(Var(0))/12)*0.045, 1
accel = 0.025,-0.85
random = 30,30
removetime = 20
scale = .1, .1
sprpriority = 4
ontop = 0
shadow = 0,0,0
ownpal= 1
removeongethit = 1
supermovetime = 999
pausemovetime = 999
ignorehitpause = 1
[State エフェクト]
type = Explod
trigger1 = time >= 3
trigger1 = time % 4 = 0
anim = 8065
ID = 8065
pos = 0,0
postype = p1
facing = 1
vfacing = 1
bindtime = 1
vel = (0+(Var(0))/(-12))*0.045, 1
accel = -0.025,-0.85
random = 30,30
removetime = 20
scale = .1, .1
sprpriority = 4
ontop = 0
shadow = 0,0,0
ownpal= 1
removeongethit = 1
supermovetime = 999
pausemovetime = 999
ignorehitpause = 1

[State エフェクト]
type = Explod
trigger1 = time >= 2
trigger1 = time % 5 = 0
anim = 8065
ID = 8065
pos = 0,0
postype = p1
facing = 1
vfacing = 1
bindtime = 1
vel = (0+(Var(1))/12)*0.04, 1
accel = 0.02,-0.8
random = 30,30
removetime = 20
scale = .25, .25
sprpriority = 4
ontop = 0
shadow = 0,0,0
ownpal= 1
removeongethit = 1
supermovetime = 999
pausemovetime = 999
ignorehitpause = 1
[State エフェクト]
type = Explod
trigger1 = time >= 3
trigger1 = time % 5 = 0
anim = 8065
ID = 8065
pos = 0,0
postype = p1
facing = 1
vfacing = 1
bindtime = 1
vel = (0+(Var(1))/(-12))*0.04, 1
accel = -0.02,-0.8
random = 30,30
removetime = 20
scale = .25, .25
sprpriority = 4
ontop = 0
shadow = 0,0,0
ownpal= 1
removeongethit = 1
supermovetime = 999
pausemovetime = 999
ignorehitpause = 1

[State 8060, End]
type=destroyself
trigger1= root,var(20)<=0
trigger2= root,movetype=H
trigger3= roundstate!=2

;-----------------------------------------------------------------------------
; 超必殺フィニッシュ
[Statedef 8200]
type=A
velset=0,0
anim=9999

[State 8200, Sound]
type=playsnd
trigger1= !time
value=13,0
channel=0

[State 8200, BG PalFX]
type=bgpalfx
trigger1= time<16
time=1
mul= 0, 0, 0
[State 8200, BG PalFX]
type=bgpalfx
trigger1= time=[16,24)
time=1
mul= 32*(time-16), 32*(time-16), 32*(time-16)

[State 8200, MvC]
type=explod
trigger1= !time
anim=8200
ID=8200
ontop=1
postype=left
pos=160,120
scale=.5,.5
bindtime=-1
removetime=32
pausemovetime=-1
supermovetime=-1

[State 8200, Fade]
type=modifyexplod
trigger1= numexplod(8200)
ID=8200
trans= addalpha
alpha= ifelse(time<16, 256, 256-32*(time-16)), 256

[State 8200, Circle]
type=explod
trigger1= !time
anim=8201
ID=8201
under=1
postype=left
pos=160,120
bindtime=-1
removetime=16
pausemovetime=-1
supermovetime=-1

[State 8200, Fade]
type=modifyexplod
trigger1= numexplod(8201)
ID=8201
scale= (.25*time), (.25*time)
trans= addalpha
alpha= 256 - (16*time), 256

[State 8200, Assert]
type=assertspecial
trigger1= time<16
flag=noFG
[State 8200, Assert]
type=assertspecial
trigger1= time<24
flag=nobardisplay

[State 8200, End]
type=removeexplod
trigger1= time>=24
trigger2= roundstate<3
[State 8200, End]
type=destroyself
trigger1= roundstate<3
