;-----------------------------------------------------------------------------
[Statedef -2]
-----------------------------------------



------------------------------------------



[State -2];white wing1
type = Explod
trigger1 = palno=[7,12]
triggerall = !ishelper
triggerall = time >= 15
trigger1 = NumExplod(9858) = 0
anim = 9858
id = 9858
sprpriority = 0
postype = p1
pos = -5,-150
bindtime = -1
under = 0
ownpal = 1
persistent = 0
removetime = -1
ignorehitpause = 99999999
scale = 0.3,0.4
SuperMoveTime = 9999
PauseMoveTime = 9999



---------------------------------------
;翅膀
[State -2];white wing1
type = Explod
trigger1 = palno=[7,12]
triggerall = !ishelper
triggerall = time >= 15
trigger1 = NumExplod(111) = 0
anim = 111
id = 111
sprpriority = -15
postype = p1
pos = -5,-105
bindtime = -1
under = 0
ownpal = 1
persistent = 0
trans = sub
removetime = -1
ignorehitpause = 99999999
scale = 0.7,0.7
SuperMoveTime = 9999
PauseMoveTime = 9999
afterimage.time = -1      ;*****残影时间 一般都是全时间残影-1就行了****
afterimage.length = 10    ;*****残影最多保存的数量*****
afterimage.palcontrast = 120,120,120  ;******三个值红绿蓝 残影刚刚出现的颜色*****
afterimage.paladd = 10,10,25 ;这个0,0,0就行了 默认值10,10,25
afterimage.palmul = .65,.65,.75  ;*****这个是主要让残影颜色变淡的参数 变淡的话三个值一定要比1小 例如默认值0.65,0.65,0.75*****
afterimage.timegap = 1   ;残影每1ticks都存一张
afterimage.framegap = 1   ;残影每一张动画图片都存一张
afterimage.trans = sub;透明类型一般都是ADD



[State -2];white wing1
type = Explod
trigger1 = palno=[7,12]
triggerall = !ishelper
triggerall = time >= 15
trigger1 = NumExplod(112) = 0
anim = 112
id = 112
sprpriority = -15
postype = p1
pos = -5,-105
bindtime = -1
under = 0
ownpal = 1
persistent = 0
removetime = -1
ignorehitpause = 99999999
scale = 0.7,0.7
SuperMoveTime = 9999
PauseMoveTime = 9999
afterimage.time = -1      ;*****残影时间 一般都是全时间残影-1就行了****
afterimage.length = 10    ;*****残影最多保存的数量*****
afterimage.palcontrast = 120,120,120  ;******三个值红绿蓝 残影刚刚出现的颜色*****
afterimage.paladd = 10,10,25 ;这个0,0,0就行了 默认值10,10,25
afterimage.palmul = .65,.65,.75  ;*****这个是主要让残影颜色变淡的参数 变淡的话三个值一定要比1小 例如默认值0.65,0.65,0.75*****
afterimage.timegap = 1   ;残影每1ticks都存一张
afterimage.framegap = 1   ;残影每一张动画图片都存一张
afterimage.trans = add;透明类型一般都是ADD


----------------------------------------
；绕
[State 3010, 抏]
Type = Helper
triggerall = palno = [7,12] 
triggerall = numhelper(160) = 0
trigger1 = time = 0
StateNo = 160
ID = 160
Name = "aura"
Pos = 0,-50
PosType = P1
Ownpal = 1
Size.XScale = 1
Size.YScale = 1
IgnoreHitPause = 1
Persistent = 1


[State 3010, 抏]
Type = Helper
triggerall = palno = [7,12] 
triggerall = numhelper(161) = 0
trigger1 = time = 0
StateNo = 161
ID = 161
Name = "aura"
Pos = 0,-50
PosType = P1
Ownpal = 1
Size.XScale = 1
Size.YScale = 1
IgnoreHitPause = 1
Persistent = 1


[State 3010, 抏]
Type = Helper
triggerall = palno = [7,12] 
triggerall = numhelper(162) = 0
trigger1 = time = 0
StateNo = 162
ID = 162
Name = "aura"
Pos = 0,-50
PosType = P1
Ownpal = 1
Size.XScale = 1
Size.YScale = 1
IgnoreHitPause = 1
Persistent = 1

[State 3010, 抏]
Type = Helper
triggerall = palno = [7,12] 
triggerall = numhelper(163) = 0
trigger1 = time = 0
StateNo = 163
ID = 163
Name = "aura"
Pos = 0,-50
PosType = P1
Ownpal = 1
Size.XScale = 1
Size.YScale = 1
IgnoreHitPause = 1
Persistent = 1

----------------------------------------
；底

[State a]
type = Explod
triggerall = !ishelper
triggerall = palno = [7,12] 
triggerall = anim = 0
triggerall = time >= 15
trigger1 = NumExplod(33337) = 0
anim = 33337
id = 33337
sprpriority = -4
postype = p1
pos = -5,0
bindtime = -1
under = 0
ownpal = 1
persistent = 0
removetime = -1
ignorehitpause = 99999999
trans = add
scale = 0.6,0.2
SuperMoveTime = 9999
PauseMoveTime = 9999
[State -2,]
type = RemoveExplod
trigger1 = anim = 5
ID = 22138





----------------------------------------球球

[State Helper]
type = Helper
helpertype = normal
triggerall = !ishelper
triggerall = palno = [7,12] 
trigger1 = !NumHelper(11076)
name = "tama1"
id = 11076
pos = 0,0
postype = P1
stateno = 11076
keyctrl = 0
ownpal = 1
ignorehitpause = 1
supermovetime = 999999999999
pausemovetime = 999999999999

[State Helper]
type = Helper
helpertype = normal
triggerall = !ishelper
triggerall = palno = [7,12] 
trigger1 = !NumHelper(11077)
name = "tama1"
id = 11077
pos = 0,0
postype = P2
stateno = 11077
keyctrl = 0
ownpal = 1
ignorehitpause = 1
supermovetime = 999999999999
pausemovetime = 999999999999


[State Helper]
type = Helper
helpertype = normal
triggerall = !ishelper
triggerall = palno = [7,12] 
trigger1 = !NumHelper(11078)
name = "tama1"
id = 11078
pos = 0,0
postype = P2
stateno = 11078
keyctrl = 0
ownpal = 1
ignorehitpause = 1
supermovetime = 999999999999
pausemovetime = 999999999999


[State Helper]
type = Helper
helpertype = normal
triggerall = !ishelper
triggerall = palno = [7,12] 
trigger1 = !NumHelper(11079)
name = "tama1"
id = 11079
pos = 0,0
postype = P2
stateno = 11079
keyctrl = 0
ownpal = 1
ignorehitpause = 1
supermovetime = 999999999999
pausemovetime = 999999999999


[State -2, 5150]
type = selfstate
triggerall = ishelper
trigger1 = ishelper(11076)
value = 11076
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999


--------------------------------底盘and背部

;==============================================================================
;==============================================================================
[State -2]
type = Explod
triggerall = !ishelper
triggerall = anim = 181
triggerall = time >= 15
trigger1 = NumExplod(221253) = 0
anim = 22125
id = 221253
sprpriority = -6
postype = p1
bindtime = -1
pos = -5,-120
under = 0
ownpal = 1
persistent = 0
removetime = -1
facing = -1
ignorehitpause = 99999999
trans = ADD
SCALE = .2,.2
SuperMoveTime = 9999
PauseMoveTime = 9999

[State -2]
type = RemoveExplod
triggerall = !ishelper
trigger1 = anim != 181
ID = 221253



[State -2]
type = Explod
triggerall = !ishelper
triggerall = anim = 181
triggerall = time >= 15
trigger1 = NumExplod(221252) = 0
anim = 221251
id = 221252
sprpriority = -6
postype = p1
bindtime = -1
pos = -5,-100
under = 0
ownpal = 1
persistent = 0
removetime = -1
ignorehitpause = 99999999
trans = add
SCALE = .25,.25
SuperMoveTime = 9999
PauseMoveTime = 9999
[State -2]
type = RemoveExplod
triggerall = !ishelper
trigger1 = anim != 181
ID = 221252
ignorehitpause = 1

;====================================================================================
[State -2]
type = Explod
triggerall = !ishelper
triggerall = anim = 181
triggerall = time >= 15
trigger1 = NumExplod(221257) = 0
anim = 22125
id = 221257
sprpriority = -7
postype = p1
bindtime = -1
pos = -3,0
under = 0
ownpal = 1
persistent = 0
removetime = -1
ignorehitpause = 99999999
trans = add
SCALE = .1,.02
SuperMoveTime = 9999
PauseMoveTime = 9999
[State -2]
type = RemoveExplod
triggerall = !ishelper
trigger1 = anim != 181
ID = 221257
ignorehitpause = 1


[State -2]
type = Explod
triggerall = !ishelper
triggerall = anim = 181
triggerall = time >= 15
trigger1 = NumExplod(22125) = 0
anim = 22125
id = 22125
sprpriority = -7
postype = p1
bindtime = -1
pos = -3,0
under = 0
ownpal = 1
persistent = 0
removetime = -1
ignorehitpause = 99999999
trans = sub
SCALE = .35,.08
SuperMoveTime = 9999
PauseMoveTime = 9999
[State -2]
type = RemoveExplod
triggerall = !ishelper
trigger1 = anim != 181
ID = 22125
ignorehitpause = 1

[State -2]
type = Explod
triggerall = !ishelper
triggerall = anim = 181
triggerall = time >= 15
trigger1 = NumExplod(221251) = 0
anim = 22125
id = 221251
sprpriority = -7
postype = p1
bindtime = -1
pos = -3,0
under = 0
ownpal = 1
persistent = 0
removetime = -1
ignorehitpause = 99999999
trans = add
FACING = -1
SCALE = .4,.08
SuperMoveTime = 9999
PauseMoveTime = 9999
[State -2]
type = RemoveExplod
triggerall = !ishelper
trigger1 = anim != 181
ID = 221251
ignorehitpause = 1



;-----------------------------------------------------------------------------
;----------------------------------------------
;----------------------------------------------
;----------------------------------------------
;惗懚敾掕
[State -2]
type = Varset
trigger1 = alive
var(4) = 0
ignorehitpause = 1

[State -2]
type = Varset
trigger1 = !alive && var(4)!= 2
var(4) = 1
ignorehitpause = 1

[State -2]
type = Varset
trigger1 = !alive && var(4)= 1 && time=2
var(4) = 2
ignorehitpause = 1

;KO僟儊乕僕儃僀僗
[State -2,PlaySnd]
type =PlaySnd
trigger1 = roundstate = 3
trigger1 = !alive && var(4) = 1 && time = 1
value = 11,0
channel = 11
volume = 255

;----------------------------------------------
[State -2]
type = Varset
trigger1 = stateno != [800,899]
var(5) = 0
ignorehitpause = 1


;----------------------------------------------
;壩鑼崀夞悢敾掕
[State -2, Combo]
type = VarSet
trigger1 = stateno != [1500,1580]
var(11) = 0
ignorehitpause = 1

[State -2, Combo];捠忢媄
type = Varadd
triggerall = time = 1
trigger1 = stateno = [1500,1580]
var(11) = 1
ignorehitpause = 1

;----------------------------------------------
;摿掕媄僸僢僩屻僕儍僌儖憹戝敾掕
[State -2, Combo]
type = VarSet
trigger1 = !numtarget
trigger2 = p2movetype != H
var(12) = 0
ignorehitpause = 1

[State -2, Combo];捠忢媄
type = VarSet
triggerall = p2statetype = A
triggerall = movehit
trigger1 = stateno = [200,690]
var(12) = 1
ignorehitpause = 1

[State -2, Combo];僋儘僂僶僀僣
type = null;VarSet
triggerall = movehit
trigger1 = stateno = 1200
trigger2 = stateno = 1210
var(12) = 2
ignorehitpause = 1

;----------------------------------------------
;僗乕僷乕僉儍儞僙儖敾掕
[State -2, 5]
type = VarSet
triggerall = MoveContact
trigger1 = stateno = 1100
var(14) = 1
ignorehitpause = 1

[State 1305, 1]
type = VarSet
trigger1 = stateno = 0
trigger2 = movetype = H
trigger3 = P2MoveType != H
var(14) = 0
ignorehitpause = 1

;----------------------------------------------
;僪儕乕儉僉儍儞僙儖敾掕
[State 1020, 2]
type = null;VarSet
trigger1 = ProjHit(3050) = 1
var(15) = 1
ignorehitpause = 1

[State 1305, 1]
type = VarSet
trigger1 = stateno = 0
trigger2 = movetype = H
trigger3 = P2MoveType != H
var(15) = 0
ignorehitpause = 1

;----------------------------------------------
僗乕僷乕僉儍儞僙儖,僪儕乕儉僉儍儞僙儖僐儞儃惂尷夝彍
[State -2, Kill Juggle Checking]
type = assertspecial
trigger1 = var(14) = 1 || var(15) = 1
trigger1 = P2MoveType = H; && P2stateType = A
flag = nojugglecheck

;----------------------------------------------
;嫮尠嵵乮懪寕僄僼僃僋僩乯僿儖僷乕僸僢僩夞悢敾掕
[State 1020, 2]
type = VarSet
trigger1 = P2MoveType != H
trigger2 = P2Stateno = [120,155]
var(16) = 0
ignorehitpause = 1

;-----------------------------------------------------------------------
;僟儊乕僕曗惓
[state -2]
type = varset
trigger1 = 1
Trigger2 = RoundState = 0
trigger3 = P2MoveType != H
trigger4 = P2stateno = [120,155]
;trigger2 = enemy,gethitvar(hitcount) = 0
fvar(0) = 1.0

[state -2]
type = varset
trigger1 = P2MoveType = H
trigger1 = enemy,gethitvar(hitcount) > 2
fvar(0) = abs((100.0-(25.0+(enemy,gethitvar(hitcount)/2.0)*5.0))/100.0)
IgnoreHitPause = 1

[state -2]
type = attackmulset
trigger1 = 1
value = fvar(0)

;--------------------------------------------------------
;僱僶儕曗惓乮崻惈抣乯
[State -2]
Type = DefenceMulSet
gethitvar(hitcount) > 0
;Triggerall = stateno != 3300
Trigger1 = 1
IgnoreHitPause = 1
Value = FVar(1)+(ifelse((GetHitVar(HitCount)/10 < 1.0), GetHitVar(HitCount)/10, 0))

[State -2]
Type = VarSet
Trigger1 = stateno = 3301
Trigger1 = 1
IgnoreHitPause = 1
FV = 1
Value = 0

[State -2]
Type = VarSet
Triggerall = stateno != 3301
Triggerall = (1000*life/const(data.life)) > 750
Trigger1 = 1
IgnoreHitPause = 1
FV = 1
Value = 1

[State -2]
Type = VarSet
Triggerall = stateno != 3301
Triggerall = (1000*life/const(data.life)) = [151,750]
Trigger1 = 1
IgnoreHitPause = 1
FV = 1
Value = 0.75

[State -2]
Type = VarSet
Triggerall = stateno != 3301
Triggerall = (1000*life/const(data.life)) < 151
Trigger1 = 1
IgnoreHitPause = 1
FV = 1
Value = 0.5

;-----------------------------------------------------------------------
;--------------------------------------------------------
;嬻拞暅婣桿摫
[State -2, airReturn]
type = VarSet
trigger1 = !NumTarget
trigger2 = P2MoveType != H
trigger3 = movehit
trigger4 = projhit = 1
trigger5 = numtarget
trigger5 = !target,gethitvar(fall)
fvar(2) = 0
ignorehitpause = 1

[State -2, airReturn]
type = VarSet
triggerall = P2MoveType = H
triggerall = P2stateType = A
triggerall = movehit
triggerall = (stateno = [200,650])
trigger1 = stateno != 240
trigger1 = stateno != 241
trigger1 = stateno != 250
trigger1 = stateno != 255
trigger1 = stateno != 260
trigger1 = stateno != 270
trigger1 = stateno != 280
trigger1 = stateno != 450
trigger1 = stateno != 650
fvar(2) = 1
ignorehitpause = 1

[State -2, airReturn]
type = TargetState
triggerall = Numtarget
triggerall = fvar(2)
trigger1 = target,stateno = 5050
trigger1 = target,alive
value = 950
;----------------------------------------------
;afterimage彍嫀
[State -2, RemoveAfterImage]
type = AfterImageTime
trigger1 = MoveType = H
time = 0

[State -2, RemoveAfterImage]
type = null;AfterImageTime
trigger1 = stateno != 3100
trigger1 = stateno != 3110
trigger1 = stateno != 3130
trigger1 = stateno != 3400
trigger1 = stateno != 3400
trigger1 = stateno != 3401
trigger1 = stateno != 3402
time = 0

;----------------------------------------------
;AssertSpecial彍嫀
[State -2, AssertSpecial]
type = AssertSpecial
triggerall = time = 0
trigger1 = stateno != 3100 && Prevstateno = 3100
flag = NoFG
flag2 = NOBG
flag3 = noshadow
ignorehitpause = 1

;----------------------------------------------
;抂偱傔偔傜側偄傛偆偵
[State -2, 100]
type = Width
trigger1 = p2Dist X >= 0
edge = 3,-3

[State -2, 100]
type = Width
trigger1 = p2Dist X < 0
edge = -3,3

;----------------------------------------------
;峌寕壒巭傔
[State -2, 3]
type = stopSnd
trigger1 = MoveType = H
channel = 0

;僟僢僔儏偺壒巭傔
[State -2, 1]
type = stopSnd
trigger1 = stateno != 100
channel = 1

;挧敪偺壒巭傔
[State -2, 1]
type = stopSnd
trigger1 = stateno != 195
channel = 2

;峌寕偺怳傝壒巭傔
[State -2, 3]
type = null;stopSnd
trigger1 = MoveType = H
channel = 3

;----------------------------------------------
;僟儊乕僕儃僀僗
;抧忋傗傜傟
[State -2,PlaySnd]
type = PlaySnd
triggerall = Alive && Random%2 = 0
triggerall = Time = 1
triggerall = (StateNo = 5000 || StateNo = 5010 || StateNo = 5020)
trigger1 = GethitVar(animtype)=[0,2]
value = 11,ifelse((GethitVar(animtype)=[0,1]),2,3)
channel = 10
volume = 255

;抧忋悂偒旘傃傗傜傟
[State -2,PlaySnd]
type = PlaySnd
triggerall = Alive && Random%2 = 0
triggerall = Time = 1
triggerall = (StateNo = 5000 || StateNo = 5010 || StateNo = 5020)
trigger1 = GethitVar(animtype)=[0,2]
value = 11,ifelse((GethitVar(animtype)=[4,5]),3,3)
channel = 10
volume = 255

;嬻拞傗傜傟
[State -2,PlaySnd]
type = null;PlaySnd
triggerall = Alive && Random%2 = 0
triggerall = Time = 1
triggerall = (StateNo = 5000 || StateNo = 5010 || StateNo = 5020)
trigger1 = GethitVar(animtype)=[0,2]
value = 11,ifelse((GethitVar(airtype)=[0,1]),2,4)
channel = 10
volume = 255

;嬻拞悂偒旘傃傗傜傟
[State -2,PlaySnd]
type = null;PlaySnd
triggerall = Alive && Random%2 = 0
triggerall = Time = 1
triggerall = (StateNo = 5000 || StateNo = 5010 || StateNo = 5020)
trigger1 = GethitVar(animtype)=[0,2]
value = 11,ifelse((GethitVar(airtype)=[4,5]),3,3)
channel = 10
volume = 255


;--------------------------------------------------------
;僨僶僢僋梡
[State -2]
Type = null;DisplayToClipboard
Trigger1 = 1
Text = "hit:%d,SC:%d,DC:%d,harae:%d";AI:%d";over:%d";raijin:%d";
Params = Var(12),Var(14),Var(15),Var(25);Var(59);
IgnoreHitPause = 1
SuperMoveTime = 9999
PauseMoveTime = 9999

[State -2]
Type = DisplayToClipBoard
Trigger1 = 1
Text = "(12)=%d,(16)=%d,(59)=%d,p2Vel X: %d ,\n"
Params = var(12),var(16),var(59),ceil(enemynear,Vel X)
IgnoreHitPause = 1


[State -2,]
type = AppendToClipboard
trigger1 = 1
text = "P2BodyDist X: %d | P2BodyDist Y: %d | Pos X: %d | Pos Y: %d \n"
params	= floor(P2BodyDist X),ceil(P2BodyDist Y),ceil(Pos X),ceil(Pos Y)
ignorehitpause = 1
SuperMoveTime = 9999
PauseMoveTime = 9999
[State 0, VarSet]
type = VarSet
trigger1 =palno =[1,6]
v = 33
value = 0
[State 0, VarSet]
type = VarSet
trigger1 =palno =[7,12]
v = 33
value = 1
;---------------------------------------------------------------------------------
[Statedef -3];忢帪娔帇僗僥乕僩(p2stateno側偳偱憡庤偵峴摦傪惂屼偝傟偨帪偼幚峴偟側偄)
;---------------------------------------------------------------------------------

[State -3, 僟儊乕僕儃僀僗]
type = null;PlaySnd
triggerall = Time = 1
triggerall = Alive && GameTime % 3 = 0         ;惗偒偰偄傞帪
trigger1 = stateno=5000 || stateno=5010 || stateno=5020 ;僟儊乕僕偺弖娫
trigger2 = stateno = 5070 || stateno = 5080             ;僟儊乕僕偺弖娫
value = 5000,random/250                                   ;50,0乣50,3傑偱傪儔儞僟儉偵寛掕
channel = 3 ;僠儍儞僱儖傪寛掕偟偰偄傑偡丅摨偠僠儍儞僱儖偺壒偼廳側傝傑偣傫丅




;---------------------------------------------------------------------------
[Statedef 500000]
type = S
physics = S
ctrl = 0
velset = 0,0,0
SprPriority=0+5*sin(gametime*0.06)*sin(gametime*0.015)
anim = 9123000

[state ]
type = AssertSpecial
trigger1 = 1
flag = noshadow
[State ]
Type = trans
Trigger1 = 1
Trans = add
[State ]
Type=AngleDraw
Trigger1=1
Scale=0.235,0.235

[state 0]
type = bindtoroot
triggerall = ishelper(5018900)
trigger1 = root,alive
pos = sin(gametime*0.015)*cos(gametime*0.025)*115,cos((gametime*0.0325)-(pi/2))*sin((gametime*0.05)-(pi/5))*20-60
[state 0]
type = bindtoroot
triggerall = ishelper(9999)
trigger1 = root,alive
pos = sin(gametime*0.01)*cos(gametime*0.045)*115,cos((gametime*0.025) - (Pi/4))*sin((gametime*0.02) - (Pi/4))*20 - 90
[state 0]
type = bindtoroot
triggerall = ishelper(591200)
trigger1 = root,alive
pos = cos((gametime*0.02)-(pi/6))*90,sin(gametime*0.02)*40-80

[State 0]
type = BindToRoot
trigger1 = ishelper(9900000)
pos = sin(gametime*0.03)*cos(gametime*0.035)*115,cos((gametime*0.015) - (Pi/4))*sin((gametime*0.09) - (Pi/4))*40 - 50
ignorehitpause = 1
[State 0]
type = BindToRoot
trigger1 = ishelper(9900001)
pos = -sin(gametime*0.02)*100,cos((gametime*0.015) - (Pi/4))*25 - 60
ignorehitpause = 1

[State -2, Explod]
Type           = Explod
Trigger1       = !NumExplod(6800)
Anim           = 10034
ID             = 10034
PosType        = P1
Pos            = 0,0
ReMoveTime     = -1
ReMoveOnGetHit = 1
BindTime       = -1
Ownpal         = 1
Scale          = 0.31,0.31
SprPriority    = 0+5*sin(gametime*0.06)*sin(gametime*0.015)
Trans = add
SprPriority=999999
SuperMoveTime  = 999999999
PauseMoveTime  = 999999999
IgnoreHitPause = 1
Persistent     = 0
[State ]
Type           = ReMoveExplod
Trigger1       = !NumExplod(10034)
ID             = 10034
IgnoreHitPause = 1
SuperMoveTime  = 999999999
PauseMoveTime  = 999999999

[State ]
type = Explod
trigger1 = time > 0 && gametime%5 = 0
anim = 45251
pos = 0,0
random = 60+random%3,20
facing = 1 - 2*(random%2)
vfacing = 1 - 2*(random%2)
ownpal = 1
vel = 0.01*(random%20)*(1 - 2*(random%2)),-1.2 - 0.01*(random%40)
sprpriority = 0 + 4*(random < 100)
scale = 0.01*(40 + random%20),0.01*(40 + random%20)
trans = add
pausemovetime = 2000000000
supermovetime = 2000000000
[State ]
type=explod
trigger1=gametime%2=0
anim=22131
sprpriority=10-random%20
postype=p1
pos=0,-5
random=20,20
vel=-1 + (random%4),-1 + (random%4)
facing=-1
ownpal=1
ontop=1
scale=.35,.35
pausemovetime=2147483647
supermovetime=2147483647





[Statedef 5900]

[state 5900, 0]
type=changeanim
trigger1=name ="Metal Orochi"
triggerall =var(22) = 1
trigger1 = !IsHelper
trigger1=anim!=125
value=125

[State ]
type = PlaySnd
trigger1 = 1
value = 9999,9999
loop = 1
voulme = 255
persistent = 0
channel = 8 


-----------------------------









[Statedef 11076]

[State ]
type = statetypeset
trigger1 = ishelper
movetype= i
ignorehitpause = 1


[State ]
type = ctrlset
triggerall = ishelper
trigger1 = animelemtime(1) = 0
value = 0
ignorehitpause = 1

[State ]
type = velset
triggerall = ishelper
trigger1 = animelemtime(1) = 0
x = 0
y = 0
ignorehitpause = 1

[state ]
type = changeanim
trigger1 = 1
value = 6603
ignorehitpause = 1
supermovetime = 2147483647
pausemovetime = 2147483647

[State -2]
type = Explod
trigger1 = root,stateno != [190,192]
trigger1 = root,stateno != 22050
trigger1 = (gametime%3) = 2
anim = 6601
id = 6500
sprpriority = 10
ownpal = 1
postype = p1
pos = 0,0
scale = 0.25,0.25
bindtime = 1
supermove = 0
ignorehitpause = 1
under = 0
trans = add
pausemovetime = 2147483647
supermovetime = 2147483647

[state 0]
type = explod
trigger1 = gametime%30 = 0
anim = 9630
id = 555555
ownpal = 1
trans = add
bindtime = -1
sprpriority = 20
pos=0,0
scale = 0.4,0.4
[State 0]
type = RemoveExplod
triggerall = !ishelper
trigger1 = anim != 0
ID = 1183
ignorehitpause = 1
[state ]
type = PlayerPush
trigger1 = 1
value = 0
ignorehitpause = 1
supermovetime = 2147483647
pausemovetime = 2147483647

[state ]
type = assertspecial
trigger1 = 1
flag = noshadow

[state ]
type = Nothitby
trigger1 = 1
value = SCA
time = -1

[state ]
type = turn
trigger1 = facing != root,facing

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

[State -1]
type = varset
trigger1 = var(21) <= 1
var(22) = 3
ignorehitpause = 1

[State -1]
type = varset
trigger1 = var(21) >= 100
var(22) = 2
ignorehitpause = 1

[State -1]
type = varadd
trigger1 = var(22) = 3
var(21) = 2
ignorehitpause = 1

[State -1]
type = varadd
trigger1 = var(22) = 2
var(21) = -2
ignorehitpause = 1

[state ]
type = bindtoroot
trigger1 = 1
pos = sin(gametime*0.01)*cos(gametime*0.065)*95 - 10,cos((gametime*0.015) - (Pi/4))*sin((gametime*0.05) - (Pi/1))*50 - 65














-----------------------------









[Statedef 11077]

[State ]
type = statetypeset
trigger1 = ishelper
movetype= i
ignorehitpause = 1


[State ]
type = ctrlset
triggerall = ishelper
trigger1 = animelemtime(1) = 0
value = 0
ignorehitpause = 1

[State ]
type = velset
triggerall = ishelper
trigger1 = animelemtime(1) = 0
x = 0
y = 0
ignorehitpause = 1

[state ]
type = changeanim
trigger1 = 1
value = 6603
ignorehitpause = 1
supermovetime = 2147483647
pausemovetime = 2147483647

[State -2]
type = Explod
trigger1 = root,stateno != [190,192]
trigger1 = root,stateno != 22050
trigger1 = (gametime%3) = 2
anim = 6601
id = 6500
sprpriority = 10
ownpal = 1
postype = p1
pos = 0,0
scale = 0.25,0.25
bindtime = 1
supermove = 0
ignorehitpause = 1
under = 0
trans = add
pausemovetime = 2147483647
supermovetime = 2147483647

[state 0]
type = explod
trigger1 = gametime%30 = 0
anim = 9630
id = 555555
ownpal = 1
trans = add
bindtime = -1
sprpriority = 20
pos=0,0
scale = 0.4,0.4
[State 0]
type = RemoveExplod
triggerall = !ishelper
trigger1 = anim != 0
ID = 1183
ignorehitpause = 1
[state ]
type = PlayerPush
trigger1 = 1
value = 0
ignorehitpause = 1
supermovetime = 2147483647
pausemovetime = 2147483647

[state ]
type = assertspecial
trigger1 = 1
flag = noshadow

[state ]
type = Nothitby
trigger1 = 1
value = SCA
time = -1

[state ]
type = turn
trigger1 = facing != root,facing

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

[State -1]
type = varset
trigger1 = var(21) <= 1
var(22) = 3
ignorehitpause = 1

[State -1]
type = varset
trigger1 = var(21) >= 100
var(22) = 2
ignorehitpause = 1

[State -1]
type = varadd
trigger1 = var(22) = 3
var(21) = 2
ignorehitpause = 1

[State -1]
type = varadd
trigger1 = var(22) = 2
var(21) = -2
ignorehitpause = 1

[state ]
type = bindtoroot
trigger1 = 1
pos = sin(gametime*0.01)*cos(gametime*0.065)*-95 + -10,cos((gametime*0.015) - (Pi/4))*sin((gametime*0.05) + (Pi/1))*-50 + -65












-----------------------------









[Statedef 11078]

[State ]
type = statetypeset
trigger1 = ishelper
movetype= i
ignorehitpause = 1


[State ]
type = ctrlset
triggerall = ishelper
trigger1 = animelemtime(1) = 0
value = 0
ignorehitpause = 1

[State ]
type = velset
triggerall = ishelper
trigger1 = animelemtime(1) = 0
x = 0
y = 0
ignorehitpause = 1

[state ]
type = changeanim
trigger1 = 1
value = 6603
ignorehitpause = 1
supermovetime = 2147483647
pausemovetime = 2147483647

[State -2]
type = Explod
trigger1 = root,stateno != [190,192]
trigger1 = root,stateno != 22050
trigger1 = (gametime%3) = 2
anim = 6601
id = 6500
sprpriority = 10
ownpal = 1
postype = p1
pos = 0,0
scale = 0.25,0.25
bindtime = 1
supermove = 0
ignorehitpause = 1
under = 0
trans = add
pausemovetime = 2147483647
supermovetime = 2147483647

[state 0]
type = explod
trigger1 = gametime%30 = 0
anim = 9630
id = 555555
ownpal = 1
trans = add
bindtime = -1
sprpriority = 20
pos=0,0
scale = 0.4,0.4
[State 0]
type = RemoveExplod
triggerall = !ishelper
trigger1 = anim != 0
ID = 1183
ignorehitpause = 1
[state ]
type = PlayerPush
trigger1 = 1
value = 0
ignorehitpause = 1
supermovetime = 2147483647
pausemovetime = 2147483647

[state ]
type = assertspecial
trigger1 = 1
flag = noshadow

[state ]
type = Nothitby
trigger1 = 1
value = SCA
time = -1

[state ]
type = turn
trigger1 = facing != root,facing

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

[State -1]
type = varset
trigger1 = var(21) <= 1
var(22) = 3
ignorehitpause = 1

[State -1]
type = varset
trigger1 = var(21) >= 100
var(22) = 2
ignorehitpause = 1

[State -1]
type = varadd
trigger1 = var(22) = 3
var(21) = 2
ignorehitpause = 1

[State -1]
type = varadd
trigger1 = var(22) = 2
var(21) = -2
ignorehitpause = 1

[state ]
type = bindtoroot
trigger1 = 1
pos = -5*sin(gametime*0.01)*cos(gametime*0.065)*-95 + -10,cos((gametime*0.015) - (Pi/4))*sin((gametime*0.05) + (Pi/1))*-50 + -65



























-----------------------------









[Statedef 11079]

[State ]
type = statetypeset
trigger1 = ishelper
movetype= i
ignorehitpause = 1


[State ]
type = ctrlset
triggerall = ishelper
trigger1 = animelemtime(1) = 0
value = 0
ignorehitpause = 1

[State ]
type = velset
triggerall = ishelper
trigger1 = animelemtime(1) = 0
x = 0
y = 0
ignorehitpause = 1

[state ]
type = changeanim
trigger1 = 1
value = 6603
ignorehitpause = 1
supermovetime = 2147483647
pausemovetime = 2147483647

[State -2]
type = Explod
trigger1 = root,stateno != [190,192]
trigger1 = root,stateno != 22050
trigger1 = (gametime%3) = 2
anim = 6601
id = 6500
sprpriority = 10
ownpal = 1
postype = p1
pos = 0,0
scale = 0.25,0.25
bindtime = 1
supermove = 0
ignorehitpause = 1
under = 0
trans = add
pausemovetime = 2147483647
supermovetime = 2147483647

[state 0]
type = explod
trigger1 = gametime%30 = 0
anim = 9630
id = 555555
ownpal = 1
trans = add
bindtime = -1
sprpriority = 20
pos=0,0
scale = 0.4,0.4
[State 0]
type = RemoveExplod
triggerall = !ishelper
trigger1 = anim != 0
ID = 1183
ignorehitpause = 1
[state ]
type = PlayerPush
trigger1 = 1
value = 0
ignorehitpause = 1
supermovetime = 2147483647
pausemovetime = 2147483647

[state ]
type = assertspecial
trigger1 = 1
flag = noshadow

[state ]
type = Nothitby
trigger1 = 1
value = SCA
time = -1

[state ]
type = turn
trigger1 = facing != root,facing

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

[State -1]
type = varset
trigger1 = var(21) <= 1
var(22) = 3
ignorehitpause = 1

[State -1]
type = varset
trigger1 = var(21) >= 100
var(22) = 2
ignorehitpause = 1

[State -1]
type = varadd
trigger1 = var(22) = 3
var(21) = 2
ignorehitpause = 1

[State -1]
type = varadd
trigger1 = var(22) = 2
var(21) = -2
ignorehitpause = 1

[state ]
type = bindtoroot
trigger1 = 1
pos = 5*sin(gametime*0.01)*cos(gametime*0.065)*-95 + -10,cos((gametime*0.015) - (Pi/4))*sin((gametime*0.05) + (Pi/1))*-50 + -65






--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------


;-----------Aura-----------
[statedef 160]
physics = N
velset = 0,0
anim = 4446
sprpriority = 4

[State 1000, 5]
type = Explod
trigger1 = time = 0
anim = 9645
id = 161
sprpriority = 6
postype = p1
pos = 0,70
removetime = -1
bindtime = -1
supermove = 1
scale = 0.6,0.6
under = 0
ownpal = 1
pausemovetime = 9999999
supermovetime = 9999999

[State 1000, 5]
type = Explod
trigger1 = time = 0
anim = 9645
id = 162
sprpriority = 6
postype = p1
pos = 50,60
removetime = -1
bindtime = -1
supermove = 1
scale = 0.5,0.5
under = 0
ownpal = 1
pausemovetime = 9999999
supermovetime = 9999999

[State 1000, 5]
type = Explod
trigger1 = time = 0
anim = 9645
id = 160
sprpriority = 6
postype = p1
pos = -50,60
removetime = -1
bindtime = -1
supermove = 1
scale = 0.5,0.5
under = 0
ownpal = 1
pausemovetime = 9999999
supermovetime = 9999999

[State 1000, 5]
type = Explod
trigger1 = time = 0
anim = 9645
id = 163
sprpriority = -1
postype = p1
pos = 25,40
removetime = -1
bindtime = -1
supermove = 1
scale = 0.4,0.4
under = 0
ownpal = 1
pausemovetime = 9999999
supermovetime = 9999999

[State 1000, 5]
type = Explod
trigger1 = time = 0
anim = 9645
id = 164
sprpriority = -1
postype = p1
pos = -25,40
removetime = -1
bindtime = -1
supermove = 1
scale = 0.4,0.4
under = 0
ownpal = 1
pausemovetime = 9999999
supermovetime = 9999999



;----------------Lsphere
[State 1000, 5]
type = null;Explod
trigger1 = (time > 0) && (time%4 = 0)
anim = 1518
id = 161
sprpriority = 6
postype = p1
pos = 0,20
bindtime = 1
supermove = 1
scale = 0.6,0.6
under = 0
Vel = -4+random%8,-5+Random%10
ownpal = 1
pausemovetime = 9999999
supermovetime = 9999999

[State 1000, 5]
type = null;Explod
trigger1 = (time > 0) && (time%4 = 0)
anim = 1518
id = 163
sprpriority = 6
postype = p1
pos = 50,10
bindtime = 1
supermove = 1
scale = 0.5,0.5
under = 0
Vel = -4+random%8,-5+Random%10
ownpal = 1
pausemovetime = 9999999
supermovetime = 9999999

[State 1000, 5]
type = null;Explod
trigger1 = (time > 0) && (time%4 = 0)
anim = 1518
id = 162
sprpriority = 6
postype = p1
pos = -50,10
bindtime = 1
supermove = 1
scale = 0.5,0.5
under = 0
Vel = -4+random%8,-5+Random%10
ownpal = 1
pausemovetime = 9999999
supermovetime = 9999999

[State 1000, 5]
type = null;Explod
trigger1 = (time > 0) && (time%4 = 0)
anim = 1518
id = 160
sprpriority = -1
postype = p1
pos = 25,-10
bindtime = 1
supermove = 1
scale = 0.4,0.4
under = 0
Vel = -4+random%8,-5+Random%10
ownpal = 1
pausemovetime = 9999999
supermovetime = 9999999

[State 1000, 5]
type = null;Explod
trigger1 = (time > 0) && (time%4 = 0)
anim = 1518
id = 164
sprpriority = -1
postype = p1
pos = -25,-10
bindtime = 1
supermove = 1
scale = 0.4,0.4
under = 0
Vel = -4+random%8,-5+Random%10
ownpal = 1
pausemovetime = 9999999
supermovetime = 9999999


[state vel]
type = velset
trigger1 = RootDist x > 4 && RootDist x < 130
x = 3.4
[state vel]
type = velset
trigger1 = RootDist x < -4 && RootDist x > -130
x = -3.4
[state vel]
type = velset
trigger1 = RootDist x <= 4 && RootDist x >= -4
x = 0

[state vel]
type = velset
trigger1 = RootDist x >= 130
x = 14.4
[state vel]
type = velset
trigger1 = RootDist x <= -130
x = -14.4

[state vel]
type = velset
trigger1 = RootDist y < 74 && RootDist y >= -10
y = -3.4
[state vel]
type = velset
trigger1 = RootDist y > 78 && RootDist y < 150
y = 3.4
[state vel]
type = velset
trigger1 = RootDist y <= 78 && RootDist y >= 74
y = 0

[state vel]
type = velset
trigger1 = RootDist y < -10
y = -13.4
[state vel]
type = velset
trigger1 = RootDist y > 150
y = 13.4




--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------


;-----------Aura-----------
[statedef 161]
physics = N
velset = 0,0
anim = 4446
sprpriority = 4

[State 1000, 5]
type = Explod
trigger1 = time = 0
anim = 9646
id = 161
sprpriority = 6
postype = p1
pos = 0,50
removetime = -1
bindtime = -1
supermove = 1
scale = 0.6,0.6
under = 0
ownpal = 1
pausemovetime = 9999999
supermovetime = 9999999

[State 1000, 5]
type = Explod
trigger1 = time = 0
anim = 9646
id = 162
sprpriority = 6
postype = p1
pos = 50,40
removetime = -1
bindtime = -1
supermove = 1
scale = 0.5,0.5
under = 0
ownpal = 1
pausemovetime = 9999999
supermovetime = 9999999

[State 1000, 5]
type = Explod
trigger1 = time = 0
anim = 9646
id = 160
sprpriority = 6
postype = p1
pos = -50,40
removetime = -1
bindtime = -1
supermove = 1
scale = 0.5,0.5
under = 0
ownpal = 1
pausemovetime = 9999999
supermovetime = 9999999

[State 1000, 5]
type = Explod
trigger1 = time = 0
anim = 9646
id = 163
sprpriority = -1
postype = p1
pos = 25,20
removetime = -1
bindtime = -1
supermove = 1
scale = 0.4,0.4
under = 0
ownpal = 1
pausemovetime = 9999999
supermovetime = 9999999

[State 1000, 5]
type = Explod
trigger1 = time = 0
anim = 9646
id = 164
sprpriority = -1
postype = p1
pos = -25,20
removetime = -1
bindtime = -1
supermove = 1
scale = 0.4,0.4
under = 0
ownpal = 1
pausemovetime = 9999999
supermovetime = 9999999



;----------------Lsphere
[State 1000, 5]
type = null;Explod
trigger1 = (time > 0) && (time%4 = 0)
anim = 1518
id = 161
sprpriority = 6
postype = p1
pos = 0,20
bindtime = 1
supermove = 1
scale = 0.6,0.6
under = 0
Vel = -4+random%8,-5+Random%10
ownpal = 1
pausemovetime = 9999999
supermovetime = 9999999

[State 1000, 5]
type = null;Explod
trigger1 = (time > 0) && (time%4 = 0)
anim = 1518
id = 163
sprpriority = 6
postype = p1
pos = 50,10
bindtime = 1
supermove = 1
scale = 0.5,0.5
under = 0
Vel = -4+random%8,-5+Random%10
ownpal = 1
pausemovetime = 9999999
supermovetime = 9999999

[State 1000, 5]
type = null;Explod
trigger1 = (time > 0) && (time%4 = 0)
anim = 1518
id = 162
sprpriority = 6
postype = p1
pos = -50,10
bindtime = 1
supermove = 1
scale = 0.5,0.5
under = 0
Vel = -4+random%8,-5+Random%10
ownpal = 1
pausemovetime = 9999999
supermovetime = 9999999

[State 1000, 5]
type = null;Explod
trigger1 = (time > 0) && (time%4 = 0)
anim = 1518
id = 160
sprpriority = -1
postype = p1
pos = 25,-10
bindtime = 1
supermove = 1
scale = 0.4,0.4
under = 0
Vel = -4+random%8,-5+Random%10
ownpal = 1
pausemovetime = 9999999
supermovetime = 9999999

[State 1000, 5]
type = null;Explod
trigger1 = (time > 0) && (time%4 = 0)
anim = 1518
id = 164
sprpriority = -1
postype = p1
pos = -25,-10
bindtime = 1
supermove = 1
scale = 0.4,0.4
under = 0
Vel = -4+random%8,-5+Random%10
ownpal = 1
pausemovetime = 9999999
supermovetime = 9999999


[state vel]
type = velset
trigger1 = RootDist x > 4 && RootDist x < 130
x = 3.4
[state vel]
type = velset
trigger1 = RootDist x < -4 && RootDist x > -130
x = -3.4
[state vel]
type = velset
trigger1 = RootDist x <= 4 && RootDist x >= -4
x = 0

[state vel]
type = velset
trigger1 = RootDist x >= 130
x = 14.4
[state vel]
type = velset
trigger1 = RootDist x <= -130
x = -14.4

[state vel]
type = velset
trigger1 = RootDist y < 74 && RootDist y >= -10
y = -3.4
[state vel]
type = velset
trigger1 = RootDist y > 78 && RootDist y < 150
y = 3.4
[state vel]
type = velset
trigger1 = RootDist y <= 78 && RootDist y >= 74
y = 0

[state vel]
type = velset
trigger1 = RootDist y < -10
y = -13.4
[state vel]
type = velset
trigger1 = RootDist y > 150
y = 13.4



--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------


;-----------Aura-----------
[statedef 162]
physics = N
velset = 0,0
anim = 4446
sprpriority = 4

[State 1000, 5]
type = Explod
trigger1 = time = 0
anim = 9645
id = 161
sprpriority = 6
postype = p1
pos = 0,30
removetime = -1
bindtime = -1
supermove = 1
scale = 0.6,0.6
under = 0
ownpal = 1
pausemovetime = 9999999
supermovetime = 9999999

[State 1000, 5]
type = Explod
trigger1 = time = 0
anim = 9645
id = 162
sprpriority = 6
postype = p1
pos = 50,20
removetime = -1
bindtime = -1
supermove = 1
scale = 0.5,0.5
under = 0
ownpal = 1
pausemovetime = 9999999
supermovetime = 9999999

[State 1000, 5]
type = Explod
trigger1 = time = 0
anim = 9645
id = 160
sprpriority = 6
postype = p1
pos = -50,20
removetime = -1
bindtime = -1
supermove = 1
scale = 0.5,0.5
under = 0
ownpal = 1
pausemovetime = 9999999
supermovetime = 9999999

[State 1000, 5]
type = Explod
trigger1 = time = 0
anim = 9645
id = 163
sprpriority = -1
postype = p1
pos = 25,0
removetime = -1
bindtime = -1
supermove = 1
scale = 0.4,0.4
under = 0
ownpal = 1
pausemovetime = 9999999
supermovetime = 9999999

[State 1000, 5]
type = Explod
trigger1 = time = 0
anim = 9645
id = 164
sprpriority = -1
postype = p1
pos = -25,0
removetime = -1
bindtime = -1
supermove = 1
scale = 0.4,0.4
under = 0
ownpal = 1
pausemovetime = 9999999
supermovetime = 9999999



;----------------Lsphere
[State 1000, 5]
type = null;Explod
trigger1 = (time > 0) && (time%4 = 0)
anim = 1518
id = 161
sprpriority = 6
postype = p1
pos = 0,20
bindtime = 1
supermove = 1
scale = 0.6,0.6
under = 0
Vel = -4+random%8,-5+Random%10
ownpal = 1
pausemovetime = 9999999
supermovetime = 9999999

[State 1000, 5]
type = null;Explod
trigger1 = (time > 0) && (time%4 = 0)
anim = 1518
id = 163
sprpriority = 6
postype = p1
pos = 50,10
bindtime = 1
supermove = 1
scale = 0.5,0.5
under = 0
Vel = -4+random%8,-5+Random%10
ownpal = 1
pausemovetime = 9999999
supermovetime = 9999999

[State 1000, 5]
type = null;Explod
trigger1 = (time > 0) && (time%4 = 0)
anim = 1518
id = 162
sprpriority = 6
postype = p1
pos = -50,10
bindtime = 1
supermove = 1
scale = 0.5,0.5
under = 0
Vel = -4+random%8,-5+Random%10
ownpal = 1
pausemovetime = 9999999
supermovetime = 9999999

[State 1000, 5]
type = null;Explod
trigger1 = (time > 0) && (time%4 = 0)
anim = 1518
id = 160
sprpriority = -1
postype = p1
pos = 25,-10
bindtime = 1
supermove = 1
scale = 0.4,0.4
under = 0
Vel = -4+random%8,-5+Random%10
ownpal = 1
pausemovetime = 9999999
supermovetime = 9999999

[State 1000, 5]
type = null;Explod
trigger1 = (time > 0) && (time%4 = 0)
anim = 1518
id = 164
sprpriority = -1
postype = p1
pos = -25,-10
bindtime = 1
supermove = 1
scale = 0.4,0.4
under = 0
Vel = -4+random%8,-5+Random%10
ownpal = 1
pausemovetime = 9999999
supermovetime = 9999999


[state vel]
type = velset
trigger1 = RootDist x > 4 && RootDist x < 130
x = 3.4
[state vel]
type = velset
trigger1 = RootDist x < -4 && RootDist x > -130
x = -3.4
[state vel]
type = velset
trigger1 = RootDist x <= 4 && RootDist x >= -4
x = 0

[state vel]
type = velset
trigger1 = RootDist x >= 130
x = 14.4
[state vel]
type = velset
trigger1 = RootDist x <= -130
x = -14.4

[state vel]
type = velset
trigger1 = RootDist y < 74 && RootDist y >= -10
y = -3.4
[state vel]
type = velset
trigger1 = RootDist y > 78 && RootDist y < 150
y = 3.4
[state vel]
type = velset
trigger1 = RootDist y <= 78 && RootDist y >= 74
y = 0

[state vel]
type = velset
trigger1 = RootDist y < -10
y = -13.4
[state vel]
type = velset
trigger1 = RootDist y > 150
y = 13.4


--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------


;-----------Aura-----------
[statedef 163]
physics = N
velset = 0,0
anim = 4446
sprpriority = 4

[State 1000, 5]
type = Explod
trigger1 = time = 0
anim = 9646
id = 161
sprpriority = 6
postype = p1
pos = 0,10
removetime = -1
bindtime = -1
supermove = 1
scale = 0.6,0.6
under = 0
ownpal = 1
pausemovetime = 9999999
supermovetime = 9999999

[State 1000, 5]
type = Explod
trigger1 = time = 0
anim = 9646
id = 162
sprpriority = 6
postype = p1
pos = 50,0
removetime = -1
bindtime = -1
supermove = 1
scale = 0.5,0.5
under = 0
ownpal = 1
pausemovetime = 9999999
supermovetime = 9999999

[State 1000, 5]
type = Explod
trigger1 = time = 0
anim = 9646
id = 160
sprpriority = 6
postype = p1
pos = -50,0
removetime = -1
bindtime = -1
supermove = 1
scale = 0.5,0.5
under = 0
ownpal = 1
pausemovetime = 9999999
supermovetime = 9999999

[State 1000, 5]
type = Explod
trigger1 = time = 0
anim = 9646
id = 163
sprpriority = -1
postype = p1
pos = 25,-20
removetime = -1
bindtime = -1
supermove = 1
scale = 0.4,0.4
under = 0
ownpal = 1
pausemovetime = 9999999
supermovetime = 9999999

[State 1000, 5]
type = Explod
trigger1 = time = 0
anim = 9646
id = 164
sprpriority = -1
postype = p1
pos = -25,-20
removetime = -1
bindtime = -1
supermove = 1
scale = 0.4,0.4
under = 0
ownpal = 1
pausemovetime = 9999999
supermovetime = 9999999



;----------------Lsphere
[State 1000, 5]
type = null;Explod
trigger1 = (time > 0) && (time%4 = 0)
anim = 1518
id = 161
sprpriority = 6
postype = p1
pos = 0,20
bindtime = 1
supermove = 1
scale = 0.6,0.6
under = 0
Vel = -4+random%8,-5+Random%10
ownpal = 1
pausemovetime = 9999999
supermovetime = 9999999

[State 1000, 5]
type = null;Explod
trigger1 = (time > 0) && (time%4 = 0)
anim = 1518
id = 163
sprpriority = 6
postype = p1
pos = 50,10
bindtime = 1
supermove = 1
scale = 0.5,0.5
under = 0
Vel = -4+random%8,-5+Random%10
ownpal = 1
pausemovetime = 9999999
supermovetime = 9999999

[State 1000, 5]
type = null;Explod
trigger1 = (time > 0) && (time%4 = 0)
anim = 1518
id = 162
sprpriority = 6
postype = p1
pos = -50,10
bindtime = 1
supermove = 1
scale = 0.5,0.5
under = 0
Vel = -4+random%8,-5+Random%10
ownpal = 1
pausemovetime = 9999999
supermovetime = 9999999

[State 1000, 5]
type = null;Explod
trigger1 = (time > 0) && (time%4 = 0)
anim = 1518
id = 160
sprpriority = -1
postype = p1
pos = 25,-10
bindtime = 1
supermove = 1
scale = 0.4,0.4
under = 0
Vel = -4+random%8,-5+Random%10
ownpal = 1
pausemovetime = 9999999
supermovetime = 9999999

[State 1000, 5]
type = null;Explod
trigger1 = (time > 0) && (time%4 = 0)
anim = 1518
id = 164
sprpriority = -1
postype = p1
pos = -25,-10
bindtime = 1
supermove = 1
scale = 0.4,0.4
under = 0
Vel = -4+random%8,-5+Random%10
ownpal = 1
pausemovetime = 9999999
supermovetime = 9999999


[state vel]
type = velset
trigger1 = RootDist x > 4 && RootDist x < 130
x = 3.4
[state vel]
type = velset
trigger1 = RootDist x < -4 && RootDist x > -130
x = -3.4
[state vel]
type = velset
trigger1 = RootDist x <= 4 && RootDist x >= -4
x = 0

[state vel]
type = velset
trigger1 = RootDist x >= 130
x = 14.4
[state vel]
type = velset
trigger1 = RootDist x <= -130
x = -14.4

[state vel]
type = velset
trigger1 = RootDist y < 74 && RootDist y >= -10
y = -3.4
[state vel]
type = velset
trigger1 = RootDist y > 78 && RootDist y < 150
y = 3.4
[state vel]
type = velset
trigger1 = RootDist y <= 78 && RootDist y >= 74
y = 0

[state vel]
type = velset
trigger1 = RootDist y < -10
y = -13.4
[state vel]
type = velset
trigger1 = RootDist y > 150
y = 13.4
