; Vega's Helper States
;---------------------------------------------------------------------------
; Vega Clone
[Statedef 100000]
movetype = I
ctrl = 0

[state 100000, DestroySelf]
type = null ;DestroySelf
trigger1 = Root, Var(1) > 0
trigger1 = Root, Var(2) > 0

[State 100000, SprPriority]
type = SprPriority
trigger1 = Root, MoveType != H
value = 1

[State 100000, SprPriority]
type = SprPriority
trigger1 = Root, MoveType = H
value = 0

[State 100000, SprPriority]
type = SprPriority
triggerall = Var(40) = 0
trigger1 = Root, StateNo >= 1100
trigger1 = Root, StateNo < 1110
value = -5

[State 100000, Pause]
type = Pause
trigger1 = Root, StateNo = 900
trigger1 = Root, Anim = 905
trigger1 = Root, AnimElem = 4
movetime = 25
time = 25

[State 100000, Pause]
type = null ;Pause
trigger1 = Root, StateNo = 900
movetime = 0
time = 0

[State 100000, NotHitBy]
type = NotHitBy
trigger1 = 1
value = SCA
time = 1

[State 100000, PlayerPush]
type = PlayerPush
trigger1 = 1
value = 0

[State 100000, BindToRoot]
type = BindToRoot
trigger1 = 1
facing = 1
pos = 0,0
time = 1

[State 100000, Invisible]
type = AssertSpecial
triggerall = Root, MoveType != H
trigger1 = Root, Anim >= 260
trigger1 = Root, Anim <= 270
trigger2 = Root, Anim > 280
trigger2 = Root, Anim < 290
trigger3 = Root, Anim > 314
trigger3 = Root, Anim < 316
trigger4 = Root, Anim > 700
trigger4 = Root, Anim < 710
trigger5 = Root, Anim > 802
trigger5 = Root, Anim < 804
trigger6 = Root, Anim > 810
trigger6 = Root, Anim < 900
trigger7 = Root, Anim > 1060
trigger7 = Root, Anim < 1065
trigger8 = Root, Anim > 3100
trigger8 = Root, Anim < 3105
trigger9 = Root, Anim > 4000
trigger9 = Root, Anim < 5000
trigger10 = Root, Anim > 5400
flag = invisible

[State 100000, Invisible]
type = AssertSpecial
triggerall = Root, MoveType = H
trigger1 = Root, Anim > 200
trigger1 = Root, Anim < 5000
trigger2 = Root, Anim > 5240
trigger2 = Root, Anim < 5300
trigger3 = Root, Anim > 5400
trigger3 = Root, Anim < 7600
trigger4 = Root, Anim > 7700
trigger4 = Root, Anim < 9990
trigger5 = Root, Anim > 10000
flag = invisible

[State 100000, Anim]
type = ChangeAnim
triggerall = Root, MoveType != H
trigger1 = Root, Anim >= 0
trigger1 = Root, Anim < 260
trigger2 = Root, Anim >= 290
trigger2 = Root, Anim <= 314
trigger3 = Root, Anim >= 316
trigger3 = Root, Anim <= 700
trigger4 = Root, Anim >= 800
trigger4 = Root, Anim <= 802
trigger5 = Root, Anim >= 804
trigger5 = Root, Anim <= 1060
trigger6 = Root, Anim >= 1065
trigger6 = Root, Anim <= 3100
trigger7 = Root, Anim >= 3105
trigger7 = Root, Anim <= 4000
trigger8 = Root, Anim >= 5000
trigger8 = Root, Anim <= 5400
value = Root, Anim
elem = Root, animelemno(0)

[State 100000, Anim]
type = ChangeAnim
triggerall = Root, MoveType = H
trigger1 = Root, Anim >= 0
trigger1 = Root, Anim <= 200
trigger2 = Root, Anim >= 5000
trigger2 = Root, Anim < 5250
trigger3 = Root, Anim >= 5300
trigger3 = Root, Anim <= 5400
trigger4 = Root, Anim >= 7600
trigger4 = Root, Anim < 8500
trigger5 = Root, Anim > 8500
trigger5 = Root, Anim < 8510
trigger6 = Root, Anim > 8510
trigger6 = Root, Anim < 9000
trigger7 = Root, Anim = 9999
value = Root, Anim
elem = Root, animelemno(0)

;---------------------------------------------------------------------------
