;\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
;-------------------------------------------------------------------------------------------------------
;-------------------------------------------------------------------------------------------------------
;\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
[Statedef 0]
[State 0]
type = StateTypeSet
trigger1 = ishelper(7777)
statetype = S
physics = S
persistent = 0
ignorehitpause = 1
[State 0]
type = sprpriority
trigger1 = ishelper(7777)
value = 0
ignorehitpause = 1

[State 0]
type = ChangeAnim
triggerall = ishelper(7777)
trigger1 = Anim != 0 && Anim != 5
trigger2 = Anim = 5 && AnimTime = 0
value = 0
[State 0]
type = VelSet
triggerall = ishelper(7777)
trigger1 = Time = 0
y = 0
[State 0]
type = VelSet
triggerall = ishelper(7777)
trigger1 = abs(vel x) < 2
trigger2 = Time = 4
x = 0

[state 0]
type = turn
triggerall = ishelper(7777)
triggerall = enemynear,alive || numenemy = 1
trigger1 = enemynear,facing = -facing
trigger1 = frontedgedist<enemynear,backedgedist
trigger2 = enemynear,facing = facing
trigger2 = frontedgedist<enemynear,frontedgedist

[State 0]
type = ChangeState
triggerall = IsHelper
trigger1 = !IsHelper(7777)
trigger2 = name != "Senna Kyoudou"
value = 156
ctrl = 0
ignorehitpause = 1
[state 0]
type = lifeset
trigger1 = !ishelper && name != "Senna Kyoudou"
value = 0
ignorehitpause = 1
[state 0]
type = powerset
trigger1 = name != "Senna Kyoudou"
value = 0
ignorehitpause = 1
[State 0]
type = changestate
triggerall = !ishelper && name != "Senna Kyoudou"
trigger1 = !alive
value = 5150
ctrl = 0
ignorehitpause = 1
[State 0]
type = SelfState
triggerall = !ishelper && name != "Senna Kyoudou"
trigger1 = alive && time > 0
value = 5050
ctrl = 0
ignorehitpause = 1

;-------------------------------------------------------------------------------------------------------
[Statedef 10]
[State 0]
type = StateTypeSet
trigger1 = ishelper(7777)
statetype = C
physics = C
persistent = 0
ignorehitpause = 1
[State 0]
type = changeanim
trigger1 = ishelper(7777)
value = 10
persistent = 0
ignorehitpause = 1

[State 0]
type = VelMul
triggerall = ishelper(7777)
trigger1 = Time = 0
x = .75
[State 0]
type = ChangeState
triggerall = ishelper(7777)
trigger1 = AnimTime = 0
value = 11

;-------------------------------------------------------------------------------------------------------
[Statedef 11]
[State 0]
type = StateTypeSet
trigger1 = ishelper(7777)
statetype = C
physics = C
persistent = 0
ignorehitpause = 1
[State 0]
type = changeanim
trigger1 = ishelper(7777)
value = 11
persistent = 0
ignorehitpause = 1
[State 0]
type = sprpriority
trigger1 = ishelper(7777)
value = 0
ignorehitpause = 1

[State 0]
type = ChangeAnim
triggerall = ishelper(7777)
trigger1 = Anim = 6 && AnimTime = 0
value = 11

;-------------------------------------------------------------------------------------------------------
[Statedef 12]
[State 0]
type = StateTypeSet
trigger1 = ishelper(7777)
statetype = S
physics = S
persistent = 0
ignorehitpause = 1
[State 0]
type = changeanim
trigger1 = ishelper(7777)
value = 12
persistent = 0
ignorehitpause = 1

[State 0]
type = ChangeState
triggerall = ishelper(7777)
trigger1 = AnimTime = 0
value = 0

;-------------------------------------------------------------------------------------------------------
[Statedef 20]
[State 0]
type = StateTypeSet
trigger1 = ishelper(7777)
statetype = S
physics = S
persistent = 0
ignorehitpause = 1
[State 0]
type = sprpriority
trigger1 = ishelper(7777)
value = 0
ignorehitpause = 1

[State 0]
type = VelSet
triggerall = ishelper(7777)
trigger1 = command = "holdfwd"
x = const(velocity.walk.fwd.x)
[State 0]
type = VelSet
triggerall = ishelper(7777)
trigger1 = command = "holdback"
x = const(velocity.walk.back.x)
[State 0]
type = ChangeAnim
triggerall = ishelper(7777)
triggerall = vel x > 0
trigger1 = Anim != 20 && Anim != 5
trigger2 = Anim = 5 && AnimTime = 0
value = 20
[State 0]
type = ChangeAnim
triggerall = ishelper(7777)
triggerall = vel x < 0
trigger1 = Anim != 21 && Anim != 5
trigger2 = Anim = 5 && AnimTime = 0
value = 21

[state 0]
type = turn
triggerall = ishelper(7777)
triggerall = enemynear,alive || numenemy = 1
trigger1 = enemynear,facing = -facing
trigger1 = frontedgedist<enemynear,backedgedist
trigger2 = enemynear,facing = facing
trigger2 = frontedgedist<enemynear,frontedgedist

;-------------------------------------------------------------------------------------------------------
[Statedef 40]
[State 0]
type = StateTypeSet
trigger1 = ishelper(7777)
statetype = S
physics = S
persistent = 0
ignorehitpause = 1
[State 0]
type = changeanim
trigger1 = ishelper(7777)
value = 40
persistent = 0
ignorehitpause = 1
[State 0]
type = ctrlset
trigger1 = ishelper(7777)
value = 0
persistent = 0
ignorehitpause = 1
[State 0]
type = sprpriority
trigger1 = ishelper(7777)
value = 1
ignorehitpause = 1

[State 0]
type = VarSet
triggerall = IsHelper(7777)
trigger1 = Time = 0
sysvar(1) = 0
[State 0]
type = VarSet
triggerall = IsHelper(7777)
trigger1 = command = "holdfwd"
trigger1 = root,var(30) != 1
trigger2 = root,var(30) = 1
trigger2 = enemynear,statetype = A && enemynear,movetype = H
sysvar(1) = 1
[State 0]
type = VarSet
triggerall = IsHelper(7777)
trigger1 = command = "holdback"
trigger1 = root,var(30) != 1
trigger2 = root,var(30) = 1
trigger2 = enemynear,HitDefAttr = SCA,NT,ST,HT
sysvar(1) = -1
[State 0]
type = VelSet
triggerall = IsHelper(7777)
trigger1 = AnimTime = 0
x = ifelse(sysvar(1)=0, const(velocity.jump.neu.x), ifelse(sysvar(1)=1, const(velocity.jump.fwd.x), const(velocity.jump.back.x)))
y = const(velocity.jump.y)
[State 0]
type = VelSet
triggerall = IsHelper(7777)
trigger1 = AnimTime = 0
trigger1 = prevstateno = 100 ;RUN_FWD
trigger1 = sysvar(1) = 1
x = const(velocity.runjump.fwd.x)
[State 0]
type = ChangeState
triggerall = IsHelper(7777)
trigger1 = AnimTime = 0
value = 50
ctrl = 1
[State 0]
type = ChangeState
triggerall = IsHelper(7777)
trigger1 = AnimTime = 0
value = 0
ctrl = 1

;-------------------------------------------------------------------------------------------------------
[Statedef 45]
[State 0]
type = StateTypeSet
trigger1 = ishelper(7777)
statetype = A
physics = N
persistent = 0
ignorehitpause = 1
[State 0]
type = VelSet
trigger1 = ishelper(7777)
x = 0
y = 0
persistent = 0
ignorehitpause = 1
[State 0]
type = ctrlset
trigger1 = ishelper(7777)
value = 0
persistent = 0
ignorehitpause = 1

[State 0]
type = ChangeAnim
triggerall = ishelper(7777)
trigger1 = SelfAnimExist(44)
value = 44
[State 0]
type = ChangeAnim
triggerall = ishelper(7777)
trigger1 = !SelfAnimExist(44)
value = 41
[State 0]
type = VarSet
triggerall = ishelper(7777)
trigger1 = Time = 0
sysvar(1) = 0
[State 0]
type = VarSet
triggerall = ishelper(7777)
trigger1 = command = "holdfwd"
sysvar(1) = 1
[State 0]
type = VarSet
triggerall = ishelper(7777)
trigger1 = command = "holdback"
sysvar(1) = -1
[State 0]
type = VelSet
triggerall = ishelper(7777)
trigger1 = Time = 2
x = ifelse(sysvar(1)=0, const(velocity.airjump.neu.x), ifelse(sysvar(1)=1, const(velocity.airjump.fwd.x), const(velocity.airjump.back.x)))
y = const(velocity.airjump.y)
[State 0]
type = Explod
triggerall = ishelper(7777)
trigger1 = time = 2
anim = 6000
id = 3000
sprpriority = 2
postype = p1
pos = 0,0
bindtime = 1
supermove = 0
ignorehitpause = 0
under = 0
ownpal = 1
[State 0]
type = ChangeState
triggerall = ishelper(7777)
trigger1 = Time = 2
value = 50
ctrl = 1

;-------------------------------------------------------------------------------------------------------
[Statedef 50]
[State 0]
type = StateTypeSet
trigger1 = ishelper(7777)
statetype = A
physics = A
persistent = 0
ignorehitpause = 1

[State 0]
type = VarSet
triggerall = ishelper(7777)
trigger1 = Time = 0
sysvar(1) = 0
[State 0]
type = ChangeAnim
triggerall = ishelper(7777)
trigger1 = Time = 0
value = ifelse((vel x)=0, 41, ifelse((vel x)>0, 42, 43))
[State 0]
type = ChangeAnim
triggerall = ishelper(7777)
trigger1 = Vel y > -2
trigger1 = SelfAnimExist(anim + 3)
persistent = 0
value = Anim + 3

[State 0]
type = ChangeState
triggerall = IsHelper
trigger1 = !IsHelper(7777)
trigger2 = name != "Senna Kyoudou"
value = 156
ctrl = 0
ignorehitpause = 1
[state 0]
type = lifeset
trigger1 = !ishelper && name != "Senna Kyoudou"
value = 0
ignorehitpause = 1
[state 0]
type = powerset
trigger1 = name != "Senna Kyoudou"
value = 0
ignorehitpause = 1
[State 0]
type = changestate
triggerall = !ishelper && name != "Senna Kyoudou"
trigger1 = !alive
value = 5150
ctrl = 0
ignorehitpause = 1
[State 0]
type = SelfState
triggerall = !ishelper && name != "Senna Kyoudou"
trigger1 = alive && time > 0
value = 5050
ctrl = 0
ignorehitpause = 1

;-------------------------------------------------------------------------------------------------------
[Statedef 51]
[State 0]
type = StateTypeSet
trigger1 = ishelper(7777)
statetype = A
physics = A
persistent = 0
ignorehitpause = 1

[State 0]
type = Null
triggerall = ishelper(7777)
trigger1 = 1

;-------------------------------------------------------------------------------------------------------
[Statedef 52]
[State 0]
type = StateTypeSet
trigger1 = ishelper(7777)
statetype = S
physics = S
persistent = 0
ignorehitpause = 1
[State 0]
type = changeanim
trigger1 = ishelper(7777)
value = 47
persistent = 0
ignorehitpause = 1
[State 0]
type = ctrlset
trigger1 = ishelper(7777)
value = 0
persistent = 0
ignorehitpause = 1

[State 0]
type = VelSet
triggerall = ishelper(7777)
trigger1 = Time = 0
x = 0
y = 0
[State 0]
type = PosSet
triggerall = ishelper(7777)
trigger1 = Time = 0
y = 0
[State 0]
type = CtrlSet
triggerall = ishelper(7777)
trigger1 = Time = 3
value = 1
[State 0]
type = Explod
triggerall = ishelper(7777)
trigger1 = time = 0
anim = 6001
id = 3000
sprpriority = 2
postype = p1
pos = 0,0
bindtime = 1
supermove = 0
ignorehitpause = 0
under = 0
ownpal = 1
[State 0]
type = ChangeState
triggerall = ishelper(7777)
trigger1 = AnimTime = 0
value = 0
ctrl = 1

;-------------------------------------------------------------------------------------------------------
[Statedef 100]
[State 0]
type = StateTypeSet
trigger1 = ishelper(7777)
statetype = S
physics = S
persistent = 0
ignorehitpause = 1
[State 0]
type = changeanim
trigger1 = ishelper(7777)
value = 100
persistent = 0
ignorehitpause = 1
[State 0]
type = ctrlset
trigger1 = ishelper(7777)
value = 1
persistent = 0
ignorehitpause = 1
[State 0]
type = sprpriority
trigger1 = ishelper(7777)
value = 1
ignorehitpause = 1

[State 0]
type = PlaySnd
triggerall = IsHelper(7777)
trigger1 = time = 0
value = 100, 0
[State 0]
type = VelSet
triggerall = IsHelper(7777)
trigger1 = 1
x = const(velocity.run.fwd.x)
[State 0]
type = AssertSpecial
triggerall = IsHelper(7777)
trigger1 = 1
flag = NoWalk
[State 0]
type = AssertSpecial
triggerall = IsHelper(7777)
trigger1 = 1
flag = NoAutoTurn
[State 0]
type = Explod
triggerall = IsHelper(7777)
trigger1 = time = 5
anim = 6002
id = 3000
sprpriority = 2
postype = p1
pos = -40,0
bindtime = 1
supermove = 0
ignorehitpause = 0
under = 0
ownpal = 1
[state 0]
type = ctrlset
triggerall = IsHelper(7777)
trigger1 = root,var(30) = 1
value = 0
[State 0]
type = ChangeState
triggerall = IsHelper(7777)
trigger1 = root,var(30) = 0
trigger1 = command != "holdfwd"
value = 0
[State 0]
type = ChangeState
triggerall = IsHelper(7777)
triggerall = root,var(30) = 1  || root,var(30) = -1         
trigger1 = time = 60
trigger2 = fvar(13) = [-30,30]
trigger3 = enemynear,movetype = A
trigger4 = inguarddist
trigger5 = enemynear,life = 0
value = 101


[state 0]
type = turn
triggerall = ishelper(7777)
triggerall = time = 0
triggerall = enemynear,alive || numenemy = 1
trigger1 = enemynear,facing = -facing
trigger1 = frontedgedist<enemynear,backedgedist
trigger2 = enemynear,facing = facing
trigger2 = frontedgedist<enemynear,frontedgedist

[state 0]
type = nothitby
trigger1 = ishelper(7777)
value = SCA
time = 1

;-------------------------------------------------------------------------------------------------------
[Statedef 101]
[State 0]
type = StateTypeSet
trigger1 = ishelper(7777)
statetype = S
physics = N
persistent = 0
ignorehitpause = 1
[State 0]
type = changeanim
trigger1 = ishelper(7777)
value = 101
persistent = 0
ignorehitpause = 1
[State 0]
type = ctrlset
trigger1 = ishelper(7777)
value = 1
persistent = 0
ignorehitpause = 1
[State 0]
type = sprpriority
trigger1 = ishelper(7777)
value = 1
ignorehitpause = 1

[state 0]
type = nothitby
trigger1 = ishelper(7777)
value = SCA
time = 1

[State 0]
type = Velmul
triggerall = ishelper(7777)
trigger1 = 1
x = 0.9
[State 0]
type = AssertSpecial
triggerall = ishelper(7777)
trigger1 = 1
flag = NoWalk
[State 0]
type = AssertSpecial
triggerall = ishelper(7777)
trigger1 = 1
flag = NoAutoTurn
[State 0]
type = ChangeState
triggerall = ishelper(7777)
trigger1 = animtime = 0
value = 0
ctrl = 1

;-------------------------------------------------------------------------------------------------------
[Statedef 105]
[State 0]
type = StateTypeSet
trigger1 = ishelper(7777)
statetype = A
physics = N
persistent = 0
ignorehitpause = 1
[State 0]
type = VelSet
trigger1 = ishelper(7777)
x = 0
y = 0
persistent = 0
ignorehitpause = 1
[State 0]
type = changeanim
trigger1 = ishelper(7777)
value = 105
persistent = 0
ignorehitpause = 1
[State 0]
type = ctrlset
trigger1 = ishelper(7777)
value = 0
persistent = 0
ignorehitpause = 1

[State 0]
type = PlaySnd
triggerall = ishelper(7777)
trigger1 = time = 0
value = 100, 0
[state 0]
type = velset
triggerall = ishelper(7777)
trigger1 = animelem = 2
x = -6
y = -4
[state 0]
type = veladd
triggerall = ishelper(7777)
trigger1 = animelem = 2,>=0
y = 0.4
[State 0]
type = PlaySnd
triggerall = ishelper(7777)
trigger1 = animelem = 2
value = 40, 1
[State 0]
type = ChangeState
triggerall = ishelper(7777)
triggerall = Vel Y > 0
trigger1 = Pos Y >= 0
value = 106

[state 0]
type = turn
triggerall = ishelper(7777)
triggerall = time = 0
triggerall = enemynear,alive || numenemy = 1
trigger1 = enemynear,facing = -facing
trigger1 = frontedgedist<enemynear,backedgedist
trigger2 = enemynear,facing = facing
trigger2 = frontedgedist<enemynear,frontedgedist

[state 0]
type = nothitby
trigger1 = ishelper(7777)
value = SCA
time = 1

;-------------------------------------------------------------------------------------------------------
[Statedef 106]
[State 0]
type = StateTypeSet
trigger1 = ishelper(7777)
statetype = S
physics = N
persistent = 0
ignorehitpause = 1
[State 0]
type = VelSet
trigger1 = ishelper(7777)
x = 0
y = 0
persistent = 0
ignorehitpause = 1
[State 0]
type = changeanim
trigger1 = ishelper(7777)
value = 106
persistent = 0
ignorehitpause = 1
[State 0]
type = ctrlset
trigger1 = ishelper(7777)
value = 0
persistent = 0
ignorehitpause = 1

[state 0]
type = nothitby
trigger1 = ishelper(7777)
value = SCA
time = 1

[State 0]
type = PlaySnd
triggerall = ishelper(7777)
trigger1 = time = 0
value = 40, 0
[State 0]
type = VelSet
triggerall = ishelper(7777)
trigger1 = Time = 0
x = 0
y = 0
[State 0]
type = PosSet
triggerall = ishelper(7777)
trigger1 = Time = 0
y = 0
[State 0]
type = Explod
triggerall = ishelper(7777)
trigger1 = time = 0
anim = 6001
id = 3000
sprpriority = 2
postype = p1
pos = 0,0
bindtime = 1
supermove = 0
ignorehitpause = 0
under = 0
ownpal = 1
[State 0]
type = ChangeState
triggerall = ishelper(7777)
trigger1 = animtime = 0
value = 0
ctrl = 1

;-------------------------------------------------------------------------------------------------------
[Statedef 110]
[State 0]
type = StateTypeSet
trigger1 = ishelper(7777)
statetype = A
physics = N
persistent = 0
ignorehitpause = 1
[State 0]
type = VelSet
trigger1 = ishelper(7777)
x = 0
y = 0
persistent = 0
ignorehitpause = 1
[State 0]
type = changeanim
trigger1 = ishelper(7777)
value = 110
persistent = 0
ignorehitpause = 1
[State 0]
type = ctrlset
trigger1 = ishelper(7777)
value = 1
persistent = 0
ignorehitpause = 1
[State 0]
type = sprpriority
trigger1 = ishelper(7777)
value = 1
ignorehitpause = 1

[State 0]
type = PlaySnd
triggerall = ishelper(7777)
trigger1 = time = 0
value = 110, 0
[State 0]
type = VelSet
triggerall = ishelper(7777)
trigger1 = time = 0
x = 5.5
y = -3.5
[state 0]
type = veladd
triggerall = ishelper(7777)
trigger1 = 1
y = 0.25
[State 0]
type = AssertSpecial
triggerall = ishelper(7777)
trigger1 = 1
flag = NoWalk
[State 0]
type = AssertSpecial
triggerall = ishelper(7777)
trigger1 = 1
flag = NoAutoTurn

[state 0]
type = Helper
triggerall = ishelper(7777)
trigger1 = time = 0
id = 6000
name = "a_dash"
sprpriority = -2
pos = 20,-65
postype = p1
stateno = 130
helpertype = player
pausemovetime = 0
keyctrl = 0 
ownpal = 1

[State 0]
type = ChangeState
triggerall = ishelper(7777)
trigger1 = time = 16
value = 111

[state 0]
type = turn
triggerall = ishelper(7777)
triggerall = time = 0
triggerall = enemynear,alive || numenemy = 1
trigger1 = enemynear,facing = -facing
trigger1 = frontedgedist<enemynear,backedgedist
trigger2 = enemynear,facing = facing
trigger2 = frontedgedist<enemynear,frontedgedist

[state 0]
type = nothitby
trigger1 = ishelper(7777)
value = SCA
time = 1

;-------------------------------------------------------------------------------------------------------
[Statedef 111]
[State 0]
type = StateTypeSet
trigger1 = ishelper(7777)
statetype = A
physics = A
persistent = 0
ignorehitpause = 1
[State 0]
type = changeanim
trigger1 = ishelper(7777)
value = 111
persistent = 0
ignorehitpause = 1
[State 0]
type = ctrlset
trigger1 = ishelper(7777)
value = 1
persistent = 0
ignorehitpause = 1
[State 0]
type = sprpriority
trigger1 = ishelper(7777)
value = 1
ignorehitpause = 1

[state 0]
type = nothitby
trigger1 = ishelper(7777)
value = SCA
time = 1

[State 0]
type = AssertSpecial
triggerall = ishelper(7777)
trigger1 = 1
flag = NoAutoTurn

;-------------------------------------------------------------------------------------------------------
[Statedef 115]
[State 0]
type = StateTypeSet
trigger1 = ishelper(7777)
statetype = A
physics = N
persistent = 0
ignorehitpause = 1
[State 0]
type = VelSet
trigger1 = ishelper(7777)
x = 0
y = 0
persistent = 0
ignorehitpause = 1
[State 0]
type = changeanim
trigger1 = ishelper(7777)
value = 115
persistent = 0
ignorehitpause = 1
[State 0]
type = ctrlset
trigger1 = ishelper(7777)
value = 1
persistent = 0
ignorehitpause = 1
[State 0]
type = sprpriority
trigger1 = ishelper(7777)
value = 1
ignorehitpause = 1

[State 0]
type = PlaySnd
triggerall = ishelper(7777)
trigger1 = time = 0
value = 110, 0
[State 0]
type = VelSet
triggerall = ishelper(7777)
trigger1 = time = 0
x = -5.5
y = -3.5
[state 0]
type = veladd
triggerall = ishelper(7777)
trigger1 = 1
y = 0.25
[State 0]
type = AssertSpecial
triggerall = ishelper(7777)
trigger1 = 1
flag = NoWalk
[State 0]
type = AssertSpecial
triggerall = ishelper(7777)
trigger1 = 1
flag = NoAutoTurn
[state 0]
type = Helper
triggerall = ishelper(7777)
trigger1 = time = 0
id = 6000
name = "a_dash"
sprpriority = -2
pos = -20,-65
postype = p1
stateno = 130;6003
helpertype = player
pausemovetime = 0
keyctrl = 0 
ownpal = 1
[State 0]
type = ChangeState
triggerall = ishelper(7777)
trigger1 = time = 16
value = 111

[state 0]
type = turn
triggerall = ishelper(7777)
triggerall = time = 0
triggerall = enemynear,alive || numenemy = 1
trigger1 = enemynear,facing = -facing
trigger1 = frontedgedist<enemynear,backedgedist
trigger2 = enemynear,facing = facing
trigger2 = frontedgedist<enemynear,frontedgedist

[state 0]
type = nothitby
trigger1 = ishelper(7777)
value = SCA
time = 1

;\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
;-------------------------------------------------------------------------------------------------------
;-------------------------------------------------------------------------------------------------------
;\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
[Statedef 120]
type = U
physics = U

[State 0]
type = ChangeAnim
triggerall = IsHelper(7777)
trigger1 = Time = 0
value = 120 + (statetype = C) + (statetype = A)*2
[State 0]
type = StateTypeSet
triggerall = IsHelper(7777)
trigger1 = Time = 0 && statetype = S
physics = S
[State 0]
type = StateTypeSet
triggerall = IsHelper(7777)
trigger1 = Time = 0 && statetype = C
physics = C
[State 0]
type = StateTypeSet
triggerall = IsHelper(7777)
trigger1 = Time = 0 && statetype = A
physics = A
[State 0]
type = StateTypeSet
triggerall = IsHelper(7777)
triggerall = statetype = S
trigger1 = root,var(30) != 1
Trigger1 = command = "holddown"
trigger2 = root,var(30) = 1
trigger2 = enemynear,StateType != A
trigger2 = Random <= 999
statetype = C
physics = C
[State 0]
type = StateTypeSet
triggerall = IsHelper(7777)
triggerall = statetype = C
trigger1 = root,var(30) != 1
Trigger1 = command != "holddown"
trigger2 = root,var(30) = 1
trigger2 = enemynear,StateType = A
trigger2 = Random <= 900
statetype = S
physics = S
[State 0]
type = ChangeState
triggerall = IsHelper(7777)
trigger1 = AnimTime = 0
value = 130 + (statetype = C) + (statetype = A)*2
[State 0]
type = ChangeState
triggerall = IsHelper(7777)
trigger1 = command != "holdback"
trigger1 = root,var(30) != 1
trigger2 = !inguarddist
value = 140

[State 0]
type = ReversalDef
trigger1 = ishelper(7777)
trigger1 = root,palno = 12
reversal.attr = SCA,AA,AP,AT
priority = 7,hit
pausetime = 0,20 + random%100
sparkno = -1
hitsound = s2566,23
numhits = 0
palfx.time = 68
palfx.add = 255,255,255
palfx.mul = 255,255,255
palfx.color = 0
palfx.invertall = 1
p2stateno = 50 + 5000*(random < 500)
p2getp1state = 0
ignorehitpause = 1

[state 0]
type = targetstate
trigger1 = ishelper(7777)
trigger1 = root,palno = 12
trigger1 = numtarget
trigger1 = target,ishelper
value = 156
ignorehitpause = 1
[state 0]
type = targetdrop
trigger1 = ishelper(7777)
trigger1 = root,palno = 12
trigger1 = numtarget
ignorehitpause = 1

;-------------------------------------------------------------------------------------------------------
[State 0]
type = StateTypeSet
triggerall = !ishelper
trigger1 = numhelper(7777) && helper(7777),statetype = S
statetype = S
ignorehitpause = 1
[State 0]
type = StateTypeSet
triggerall = !ishelper
trigger1 = numhelper(7777) && helper(7777),statetype = A
statetype = A
ignorehitpause = 1
[State 0]
type = StateTypeSet
triggerall = !ishelper
trigger1 = numhelper(7777) && helper(7777),statetype = C
statetype = C
ignorehitpause = 1
[State 0]
type = StateTypeSet
triggerall = !ishelper
trigger1 = numhelper(7777) && helper(7777),statetype = L
statetype = L
ignorehitpause = 1
[State 0]
type = StateTypeSet
triggerall = !ishelper
trigger1 = numhelper(7777) && helper(7777),movetype = I
movetype = I
ignorehitpause = 1
[State 0]
type = StateTypeSet
triggerall = !ishelper
trigger1 = numhelper(7777) && helper(7777),movetype = A
movetype = A
ignorehitpause = 1
[State 0]
type = StateTypeSet
triggerall = !ishelper
trigger1 = numhelper(7777) && helper(7777),movetype = H
movetype = H
ignorehitpause = 1
[State 0]
type = StateTypeSet
triggerall = !ishelper && palno = [7,12]
trigger1 = var(53) = 1 || var(56) = 1
movetype = A
ignorehitpause = 1
[State 0]
type = StateTypeSet
trigger1 = !ishelper
physics = N
ignorehitpause = 1
[State 0]
type = VelSet
trigger1 = !ishelper
x = 0
y = 0
ignorehitpause = 1
[State 0]
type = changeanim
trigger1 = !ishelper
value = 40010
ignorehitpause = 1
[State 0]
type = ctrlset
trigger1 = !ishelper
value = 0
ignorehitpause = 1

[State 0]
type = AssertSpecial
triggerall = !ishelper
trigger1 = palno = [7,12]
flag = unguardable
ignorehitpause = 1

[State 0]
type = BGPalFx
triggerall = !ishelper
trigger1 = roundstate < 2 && (palno = 12)
trigger2 = roundstate > 2
trigger2 = (numhelper(7790) && helper(7790),stateno = 150) && alive && enemynear,alive && enemynear,life > 0
time = 1
mul = 256,256,256
invertall = 1
color = 0
ignorehitpause = 1
[State 0]
type = BGPalFX
triggerall = !ishelper
trigger1 = roundstate > 2
trigger1 = numhelper(7790) && helper(7790),stateno = [151,152]
time = 1
add = -128,-128,-128
color = 0
ignorehitpause = 1

[State 0]
type = Turn
triggerall = !ishelper
trigger1 = numhelper(7777)
trigger1 = Facing != helper(7777),Facing
ignorehitpause = 1

[State 0]
type = posset
triggerall = !ishelper
trigger1 = numhelper(7777)
x = helper(7777),pos X
y = helper(7777),pos Y
ignorehitpause = 1

[state 0]
type = hitdef
triggerall = !ishelper && palno = [7,12]
triggerall = numhelper(7777) && roundstate = 2 && gametime%10 = 0 && numhelper > 0
trigger1 = helper(7777),statetype = S && (helper(7777),movetype = A || var(53) = 1 || var(56) = 1)
attr = S,AA,AP,AT
hitflag = MAFDHL
damage = 20 + random%100
pausetime = 0,0
sparkno = -1
hitsound = -1
numhits = 0
guard.dist = 0
ignorehitpause = 1
[state 0]
type = hitdef
triggerall = !ishelper && palno = [7,12]
triggerall = numhelper(7777) && roundstate = 2 && gametime%10 = 0 && numhelper > 0
trigger1 = helper(7777),statetype = A && (helper(7777),movetype = A || var(53) = 1 || var(56) = 1)
attr = A,AA,AP,AT
hitflag = MAFDHL
damage = 20 + random%100
pausetime = 0,0
sparkno = -1
hitsound = -1
numhits = 0
guard.dist = 0
ignorehitpause = 1
[state 0]
type = hitdef
triggerall = !ishelper && palno = [7,12]
triggerall = numhelper(7777) && roundstate = 2 && gametime%10 = 0 && numhelper > 0
trigger1 = helper(7777),statetype = C && (helper(7777),movetype = A || var(53) = 1 || var(56) = 1)
attr = C,AA,AP,AT
hitflag = MAFDHL
damage = 20 + random%100
pausetime = 0,0
sparkno = -1
hitsound = -1
numhits = 0
guard.dist = 0
ignorehitpause = 1
[state 0]
type = attackdist
triggerall = !ishelper && palno = [7,12]
trigger1 = 1
value = 0
ignorehitpause = 1

[state 0]
type = targetlifeadd
triggerall = !ishelper && palno = [7,12]
trigger1 = numtarget && var(53) = 1
value = -99999999999999999999999999999999999
Absolute = 1
ignorehitpause = 1
[state 0]
type = targetpoweradd
triggerall = !ishelper && palno = [7,12]
trigger1 = numtarget
value = -99999999999999999999999999999999999
ignorehitpause = 1
[state 0]
type = targetstate
triggerall = !ishelper && palno = [1,6]
triggerall = numtarget && roundstate <= 2
trigger1 = target,time > 300
trigger1 = target,stateno != 1000042
value = 1000042
ignorehitpause = 1
[State 0]
type = TargetState
triggerall = !ishelper && palno = [7,12]
triggerall = numtarget && roundstate <= 2 && var(53) = 1
trigger1 = numhelper(7888)
trigger1 = helper(7888),var(0) = [0,240]
trigger1 = target,stateno != 5150
trigger1 = target,stateno != [1000044,1000045]
value = 1000044
ignorehitpause = 1
[State 0]
type = TargetState
triggerall = !ishelper && palno = [7,12]
triggerall = numtarget && roundstate <= 2 && var(53) = 1
trigger1 = numhelper(7888)
trigger1 = helper(7888),var(0) = [241,360]
trigger1 = target,stateno != 5110
trigger1 = target,stateno != 5150
trigger1 = target,stateno != 1000045
trigger1 = target,stateno != [1000060,1000065]
value = 1000060 + (gametime%60<10) + (gametime%60<20) + (gametime%60<30) + (gametime%60<40) + (gametime%60<50)
ignorehitpause = 1
[state 0]
type = targetveladd
triggerall = !ishelper && palno = 12
triggerall = numtarget && roundstate <= 2 && var(53) = 1
trigger1 = target,alive && target,pos Y >= 0
x = 0
y = 0
ignorehitpause = 1
[state 0]
type = targetvelset
triggerall = !ishelper && palno = 12
triggerall = numtarget && roundstate <= 2 && var(53) = 1
trigger1 = target,alive && target,pos Y >= 0
x = 0
y = 0
ignorehitpause = 1
[state 0]
type = targetveladd
triggerall = !ishelper && palno = 12
triggerall = numtarget && roundstate <= 2 && var(53) = 1
trigger1 = target,alive && target,pos Y < 0
x = 0
y = 99999999999999999999999999999999999
ignorehitpause = 1
[state 0]
type = targetvelset
triggerall = !ishelper && palno = 12
triggerall = numtarget && roundstate <= 2 && var(53) = 1
trigger1 = target,alive && target,pos Y < 0
x = 0
y = 99999999999999999999999999999999999
ignorehitpause = 1

[State 0]
type = pause
triggerall = !ishelper
trigger1 = (palno = [1,11]) && numhelper = 0
trigger2 = (palno = 12) && roundstate < 2
time = 1 + 2*(palno = 12)
movetime = 1 + 2*(palno = 12)
ignorehitpause = 1
[State 0]
type = superpause
triggerall = !ishelper
trigger1 = (palno = [1,11]) && numhelper = 0
trigger2 = (palno = 12) && roundstate < 2
time = 1 + 2*(palno = 12)
movetime = 1 + 2*(palno = 12)
anim = -1
sound = s-1
darken = 0
p2defmul = 1
unhittable = 0
ignorehitpause = 1
[State 0]
type = superpause
triggerall = !ishelper
trigger1 = fvar(25) = 0
trigger1 = win || enemynear,life = 0
time = 1
movetime = 1
anim = -1
sound = s-1
darken = 0
p2defmul = 1
unhittable = 0
persistent = 0
ignorehitpause = 1
[State 0]
type = varset
triggerall = !ishelper
trigger1 = roundstate < 2 || gametime%60 = 0
fvar(25) = 0
ignorehitpause = 1
[State 0]
type = varset
triggerall = !ishelper
trigger1 = win || enemynear,life = 0
fvar(25) = 1
ignorehitpause = 1
[State 0]
type = pause
triggerall = !ishelper
triggerall = alive && enemynear,alive
trigger1 = roundstate > 2
time = 2147483647
movetime = 2147483647
ignorehitpause = 1
[State 0]
type = superpause
triggerall = !ishelper
triggerall = alive && enemynear,alive
trigger1 = roundstate > 2
time = 2147483647
movetime = 2147483647
anim = -1
sound = s-1
darken = 0
p2defmul = 1
unhittable = 0
ignorehitpause = 1

[State 0]
type = Varset
triggerall = !ishelper && roundstate <= 2
trigger1 = command = "CPU_01"
trigger2 = command = "CPU_02"
trigger3 = command = "CPU_03"
trigger4 = command = "CPU_04"
trigger5 = command = "CPU_05"
trigger6 = command = "CPU_06"
trigger7 = command = "CPU_07"
trigger8 = command = "CPU_08"
trigger9 = command = "CPU_09"
trigger10= command = "CPU_10"
trigger11= command = "CPU_11"
trigger12= command = "CPU_12"
trigger13= command = "CPU_13"
trigger14= command = "CPU_14"
trigger15= command = "CPU_15"
trigger16= command = "CPU_16"
trigger17= command = "CPU_17"
trigger18= command = "CPU_18"
trigger19= command = "CPU_19"
trigger20= command = "CPU_20"
trigger21= command = "CPU_21"
trigger22= command = "CPU_22"
trigger23= command = "CPU_23"
trigger24= command = "CPU_24"
trigger25= command = "CPU_25"
trigger26= command = "CPU_26"
trigger27= command = "CPU_27"
trigger28= command = "CPU_28"
trigger29= command = "CPU_29"
trigger30= command = "CPU_30"
trigger31= command = "CPU_31"
trigger32= command = "CPU_32"
trigger33= command = "CPU_33"
trigger34= command = "CPU_34"
trigger35= command = "CPU_35"
trigger36= command = "CPU_36"
trigger37= command = "CPU_37"
trigger38= command = "CPU_38"
trigger39= command = "CPU_39"
trigger40= command = "CPU_40"
trigger41= command = "CPU_41"
trigger42= command = "CPU_42"
trigger43= command = "CPU_43"
trigger44= command = "CPU_44"
trigger45= command = "CPU_45"
trigger46= command = "CPU_46"
trigger47= command = "CPU_47"
trigger48= command = "CPU_48"
trigger49= command = "CPU_49"
trigger50= command = "CPU_50"
var(30) = 1
ignorehitpause = 1
[State 0]
Type = VarSet
triggerall = !ishelper
Trigger1 = RoundState > 2
var(30) = 0
IgnoreHitPause = 1

[State 0]
type = varset
triggerall = !ishelper && var(31) = 0
trigger1 = enemynear,movecontact || enemynear,movereversed
var(31) = enemynear,anim
ignorehitpause = 1
[State 0]
type = varset
triggerall = !ishelper
trigger1 = (var(31) = [5,6]) || (var(31) = [10,12]) || (var(31) = [20,21]) || (var(31) = [40,47]) || var(31) = 100 || var(31) = 105 || var(31) = 195
trigger2 = (var(31) = [5000,5002]) || (var(31) = [5005,5007]) || (var(31) = [5010,5012]) || (var(31) = [5015,5017]) || (var(31) = [5020,5022]) || (var(31) = [5025,5027]) || var(31) = 5030 || var(31) = 5035 || var(31) = 5040
trigger3 = (var(31) = [5050,5051]) || var(31) = 5061 || var(31) = 5070 || var(31) = 5080 || var(31) = 5090 || var(31) = 5100 || var(31) = 5160 || var(31) = 5170 || var(31) = 5101 || var(31) = 5110 || var(31) = 5120
trigger4 = var(31) = 5150 || var(31) = 5200 || var(31) = 5210 || var(31) = 5300
trigger5 = var(31) = 200
var(31) = 0
ignorehitpause = 1
[State 0]
type = varset
triggerall = !ishelper && var(32) = 0 && var(31) > 0
trigger1 = enemynear,movecontact || enemynear,movereversed
var(32) = enemynear,anim
ignorehitpause = 1
[State 0]
type = varset
triggerall = !ishelper
trigger1 = (var(32) = [5,6]) || (var(32) = [10,12]) || (var(32) = [20,21]) || (var(32) = [40,47]) || var(32) = 100 || var(32) = 105 || var(32) = 195
trigger2 = (var(32) = [5000,5002]) || (var(32) = [5005,5007]) || (var(32) = [5010,5012]) || (var(32) = [5015,5017]) || (var(32) = [5020,5022]) || (var(32) = [5025,5027]) || var(32) = 5030 || var(32) = 5035 || var(32) = 5040
trigger3 = (var(32) = [5050,5051]) || var(32) = 5061 || var(32) = 5070 || var(32) = 5080 || var(32) = 5090 || var(32) = 5100 || var(32) = 5160 || var(32) = 5170 || var(32) = 5101 || var(32) = 5110 || var(32) = 5120
trigger4 = var(32) = 5150 || var(32) = 5200 || var(32) = 5210 || var(32) = 5300
trigger5 = var(32) = 200 || var(32) = var(31)
var(32) = 0
ignorehitpause = 1
[State 0]
type = varset
triggerall = !ishelper && var(33) = 0 && var(31) > 0 && var(32) > 0
trigger1 = enemynear,movecontact || enemynear,movereversed
var(33) = enemynear,anim
ignorehitpause = 1
[State 0]
type = varset
triggerall = !ishelper
trigger1 = (var(33) = [5,6]) || (var(33) = [10,12]) || (var(33) = [20,21]) || (var(33) = [40,47]) || var(33) = 100 || var(33) = 105 || var(33) = 195
trigger2 = (var(33) = [5000,5002]) || (var(33) = [5005,5007]) || (var(33) = [5010,5012]) || (var(33) = [5015,5017]) || (var(33) = [5020,5022]) || (var(33) = [5025,5027]) || var(33) = 5030 || var(33) = 5035 || var(33) = 5040
trigger3 = (var(33) = [5050,5051]) || var(33) = 5061 || var(33) = 5070 || var(33) = 5080 || var(33) = 5090 || var(33) = 5100 || var(33) = 5160 || var(33) = 5170 || var(33) = 5101 || var(33) = 5110 || var(33) = 5120
trigger4 = var(33) = 5150 || var(33) = 5200 || var(33) = 5210 || var(33) = 5300
trigger5 = var(33) = 200 || var(33) = var(31) || var(33) = var(32)
var(33) = 0
ignorehitpause = 1

[State 0]
type = varset
triggerall = !ishelper && var(47) = 0
trigger1 = projcontact = 1
trigger1 = numtarget
trigger1 = target,ishelper
var(47) = target,prevstateno
ignorehitpause = 1
[State 0]
type = varset
triggerall = !ishelper
trigger1 = (var(47) = [10,12]) || var(47) = 20 || var(47) = 40 || var(47) = 45 || (var(47) = [50,52])
trigger2 = var(47) = 100 || (var(47) = [105,106]) || var(47) = 110 || var(47) = 115 || var(47) = 120 || (var(47) = [130,132]) || var(47) = 140 || (var(47) = [150,155])
trigger3 = (var(47) = [5000,5001]) || (var(47) = [5010,5011]) || var(47) = 5020 || var(47) = 5030 || var(47) = 5035 || var(47) = 5040 || var(47) = 5050 || (var(47) = [5070,5071]) || (var(47) = [5080,5081])
trigger4 = (var(47) = [5100,5101]) || var(47) = 5110 || var(47) = 5120 || var(47) = 5150 || (var(47) = [5200,5201]) || var(47) = 5210
trigger5 = var(47) = 810 || (var(47) = [1230,1231]) || var(47) = 2350 || var(47) = 14200 || var(47) = 104007 || (var(47) = [110381,110385]) || var(47) = 169999 || var(47) = 1000044 || (var(47) = [1000060,1000065])
var(47) = 0
ignorehitpause = 1
[State 0]
type = varset
triggerall = !ishelper && var(47) > 0 && var(48) = 0
trigger1 = projcontact = 1
trigger1 = numtarget
trigger1 = target,ishelper
var(48) = target,prevstateno
ignorehitpause = 1
[State 0]
type = varset
triggerall = !ishelper
trigger1 = (var(48) = [10,12]) || var(48) = 20 || var(48) = 40 || var(48) = 45 || (var(48) = [50,52])
trigger2 = var(48) = 100 || (var(48) = [105,106]) || var(48) = 110 || var(48) = 115 || var(48) = 120 || (var(48) = [130,132]) || var(48) = 140 || (var(48) = [150,155])
trigger3 = (var(48) = [5000,5001]) || (var(48) = [5010,5011]) || var(48) = 5020 || var(48) = 5030 || var(48) = 5035 || var(48) = 5040 || var(48) = 5050 || (var(48) = [5070,5071]) || (var(48) = [5080,5081])
trigger4 = (var(48) = [5100,5101]) || var(48) = 5110 || var(48) = 5120 || var(48) = 5150 || (var(48) = [5200,5201]) || var(48) = 5210
trigger5 = var(48) = 810 || (var(48) = [1230,1231]) || var(48) = 2350 || var(48) = 14200 || var(48) = 104007 || (var(48) = [110381,110385]) || var(48) = 169999 || var(48) = 1000044 || (var(48) = [1000060,1000065])
trigger6 = var(48) = var(47)
var(48) = 0
ignorehitpause = 1

[State 0]
Type = VarSet
triggerall = !ishelper
trigger1 = roundstate < 2
var(49) = 0
IgnoreHitPause = 1

[state 0]
type = varset
triggerall = !ishelper
trigger1 = roundstate < 2
var(50) = 0
ignorehitpause = 1
[State 0]
Type = VarSet
triggerall = !ishelper
trigger1 = var(54) >= 4500
var(50) = 1
IgnoreHitPause = 1

[state 0]
type = varset
triggerall = !ishelper
trigger1 = roundstate < 2
var(53) = 0
ignorehitpause = 1
[state 0]
type = varset
triggerall = !ishelper
trigger1 = var(54) >= 4500
trigger2 = fvar(24) >= 2150 && var(54) >= 2150
var(53) = 1
IgnoreHitPause = 1

[State 0]
Type = VarAdd
triggerall = !ishelper
Trigger1 = roundstate = 2
var(54) = 1
IgnoreHitPause = 1
[State 0]
Type = VarSet
triggerall = !ishelper
Trigger1 = roundstate < 2
trigger2 = var(54) > 8000
var(54) = 0
IgnoreHitPause = 1

[state 0]
type = varset
triggerall = !ishelper
trigger1 = roundstate < 2
var(56) = 0
ignorehitpause = 1
[state 0]
type = varset
triggerall = !ishelper
trigger1 = projcontact = 1
trigger1 = numtarget = 0
trigger2 = projhit = 1
trigger2 = (enemynear,stateno != [5000,5210]) || enemynear,movetype != H
var(56) = 1
ignorehitpause = 1

[State 0]
type = varadd
triggerall = !ishelper
trigger1 = roundstate = 2 && gametime%10 = 0
var(58) = 10
ignorehitpause = 1
[State 0]
type = varadd
triggerall = !ishelper
trigger1 = numhelper(7777) && (helper(7777),stateno != [120,155]) && helper(7777),GetHitVar(Damage)
var(58) = 5*(palno = [1,6]) + 10*(palno = [7,11]) + 20*(palno = 12)
ignorehitpause = 1
[State 0]
Type = VarSet
triggerall = !ishelper
Trigger1 = roundstate < 2
trigger2 = var(58) < 0
var(58) = 0
IgnoreHitPause = 1
[State 0]
Type = VarSet
triggerall = !ishelper
trigger1 = var(58) >= 4000
var(58) = 4000
IgnoreHitPause = 1

[State 0]
type = varadd
triggerall = !ishelper
trigger1 = (palno = [1,6]) && life = [200,1000]
trigger1 = numhelper(7777) && (helper(7777),stateno != [120,155]) && (helper(7777),GetHitVar(Damage) = [1,(lifemax*0.2)])
trigger2 = (palno = [7,11]) && life = [200,1000]
trigger2 = numhelper(7777) && (helper(7777),stateno != [120,155]) && (helper(7777),GetHitVar(Damage) = [1,(lifemax*0.15)])
trigger3 = palno = 12 && life = [200,1000]
trigger3 = numhelper(7777) && (helper(7777),stateno != [120,155]) && (helper(7777),GetHitVar(Damage) = [1,(lifemax*0.1)])
var(59) = helper(7777),gethitvar(damage)
ignorehitpause = 1
[State 0]
type = varadd
triggerall = !ishelper
trigger1 = (palno = [1,6]) && life = [0,199]
trigger1 = numhelper(7777) && (helper(7777),stateno != [120,155]) && (helper(7777),GetHitVar(Damage) = [1,(lifemax*0.2)])
trigger2 = (palno = [7,11]) && life = [0,199]
trigger2 = numhelper(7777) && (helper(7777),stateno != [120,155]) && (helper(7777),GetHitVar(Damage) = [1,(lifemax*0.15)])
trigger3 = palno = 12 && life = [0,199]
trigger3 = numhelper(7777) && (helper(7777),stateno != [120,155]) && (helper(7777),GetHitVar(Damage) = [1,(lifemax*0.1)])
var(59) = helper(7777),gethitvar(damage)/2
ignorehitpause = 1
[state 0]
type = varset
triggerall = !ishelper
triggerall = numhelper(7777)
trigger1 = var(52) < life || gametime%90 = 0 && helper(7777),movetype != H && roundstate = 2
var(52) = life
ignorehitpause = 1
[state 0]
type = varadd
triggerall = !ishelper
trigger1 = (palno = [1,6]) && (life = [200,1000])
trigger1 = var(52) - life > 200
trigger2 = (palno = [1,6]) && (life = [0,199])
trigger2 = var(52) - life > 100
trigger3 = (palno = [7,11]) && (life = [200,1000])
trigger3 = var(52) - life > 150
trigger4 = (palno = [7,11]) && (life = [0,199])
trigger4 = var(52) - life > 75
trigger5 = palno = 12 && (life = [200,1000])
trigger5 = var(52) - life > 100
trigger6 = palno = 12 && (life = [0,199])
trigger6 = var(52) - life > 50
var(59) = -(var(52) - life)
ignorehitpause = 1
[state 0]
type = varset
triggerall = !ishelper
trigger1 = roundstate < 2
var(59) = 0
ignorehitpause = 1

[State 0]
type = varset
triggerall = !ishelper
trigger1 = RoundState = 2 && (GameTime%50) = 1
trigger2 = RoundState != 2
fvar(22) = 0+((RoundState = 2)*enemynear,life)
ignorehitpause = 1
[State 0]
type = varset
triggerall = !ishelper
triggerall = var(54) < 4500
trigger1 = RoundState = 2 && (GameTime%55) = 1
trigger1 = fvar(22) != 0 && enemynear,life >= fvar(22)
trigger2 = fvar(22) != 0 && enemynear,life < fvar(22)
trigger3 = RoundState != 2
fvar(23) = IfElse((RoundState = 2),IfElse((fvar(22) != 0 && enemynear,life < fvar(22)),0,1),0)
ignorehitpause = 1
[state 0]
type = varadd
triggerall = !ishelper
trigger1 = roundstate = 2 && fvar(23) = 1 && var(54) < 4500
fvar(24) = 1+((enemynear,life>=enemynear,lifemax&&enemynear,power>=enemynear,powermax)*80)
ignorehitpause = 1
[State 0]
type = varset
triggerall = !ishelper
trigger1 = roundstate != 2 || fvar(23) = 0 || var(54) >= 4500
fvar(24) = 0
ignorehitpause = 1

[State 0]
type = varset
triggerall = !ishelper
trigger1 = roundstate < 2
fvar(26) = 0
ignorehitpause = 1
[State 0]
type = varset
triggerall = !ishelper
trigger1 = numhelper(7888)
trigger1 = helper(7888),var(59) = 1
trigger2 = numhelper(7990)
trigger2 = helper(7990),var(59) = 1
trigger3 = numhelper(7991)
trigger3 = helper(7991),var(59) = 1
trigger4 = var(40) > 0 && var(40) != 5150 && enemynear,stateno = var(40)
trigger5 = var(41) > 0 && var(41) != 5150 && enemynear,stateno = var(41)
trigger6 = var(42) > 0 && var(42) != 5150 && enemynear,stateno = var(42)
trigger7 = var(43) > 0 && var(43) != 5150 && enemynear,stateno = var(43)
trigger8 = var(44) > 0 && var(44) != 5150 && enemynear,stateno = var(44)
trigger9 = var(45) > 0 && var(45) != 5150 && enemynear,stateno = var(45)
fvar(26) = 1
ignorehitpause = 1

[State 0]
type = lifeset
trigger1 = !ishelper
value = lifemax - var(59)
ignorehitpause = 1

[State 0]
type = powerset
triggerall = !ishelper
trigger1 = TeamMode = Single
trigger2 = TeamMode = Turns
value = var(58)
ignorehitpause = 1

;\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
;-------------------------------------------------------------------------------------------------------
;-------------------------------------------------------------------------------------------------------
;\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
[Statedef 130]
[State 0]
type = StateTypeSet
trigger1 = ishelper(7777)
statetype = S
physics = S
persistent = 0
ignorehitpause = 1

[State 0]
type = ChangeAnim
triggerall = IsHelper(7777)
trigger1 = Anim != 130
value = 130
[State 0]
type = ChangeState
triggerall = IsHelper(7777)
trigger1 = root,var(30) != 1
Trigger1 = command = "holddown"
trigger2 = root,var(30) = 1
trigger2 = enemynear,StateType != A
trigger2 = Random <= 999
value = 131
[State 0]
type = ChangeState
triggerall = IsHelper(7777)
trigger1 = command != "holdback"
trigger1 = root,var(30) != 1
trigger2 = !inguarddist
value = 140

[state 0]
type = turn
triggerall = ishelper(7777)
triggerall = enemynear,alive || numenemy = 1
trigger1 = enemynear,facing = -facing
trigger1 = frontedgedist<enemynear,backedgedist
trigger2 = enemynear,facing = facing
trigger2 = frontedgedist<enemynear,frontedgedist

[State 0]
type = ReversalDef
trigger1 = ishelper(7777)
trigger1 = root,palno = 12
reversal.attr = SCA,AA,AP,AT
priority = 7,hit
pausetime = 0,20 + random%100
sparkno = -1
hitsound = s2566,23
numhits = 0
palfx.time = 68
palfx.add = 255,255,255
palfx.mul = 255,255,255
palfx.color = 0
palfx.invertall = 1
p2stateno = 50 + 5000*(random < 500)
p2getp1state = 0
ignorehitpause = 1

[state 0]
type = targetstate
trigger1 = ishelper(7777)
trigger1 = root,palno = 12
trigger1 = numtarget
trigger1 = target,ishelper
value = 156
ignorehitpause = 1
[state 0]
type = targetdrop
trigger1 = ishelper(7777)
trigger1 = root,palno = 12
trigger1 = numtarget
ignorehitpause = 1

;-------------------------------------------------------------------------------------------------------
[State 0]
type = StateTypeSet
trigger1 = ishelper(525)
statetype = A
movetype = I
physics = N
persistent = 0
ignorehitpause = 1
[State 0]
type = VelSet
trigger1 = ishelper(525)
x = 0
y = 0
persistent = 0
ignorehitpause = 1
[State 0]
type = changeanim
trigger1 = ishelper(525)
value = 520
persistent = 0
ignorehitpause = 1
[State 0]
type = ctrlset
trigger1 = ishelper(525)
value = 0
persistent = 0
ignorehitpause = 1
[State 0]
type = sprpriority
trigger1 = ishelper(525)
value = 4
ignorehitpause = 1

[state 0]
type = nothitby
trigger1 = ishelper(525)
value = SCA
time = 1

[State 0]
type = BindToRoot
trigger1 = ishelper(525)
time = 1
pos = 0,0

[state 0]
type = varset
trigger1 = ishelper(525)
trigger1 = time = 0
v = 1
value = 0
[state 0]
type = varadd
trigger1 = ishelper(525)
trigger1 = animelem = 5,>=0
v = 1
value = 8

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

[state 0]
type = angledraw
trigger1 = ishelper(525)
scale = 1.0+var(1)*0.0005,1.0+var(1)*0.0005

[state 0]
type = destroyself
trigger1 = ishelper(525)
trigger1 = var(1) >= 256

;-------------------------------------------------------------------------------------------------------
[State 0]
type = StateTypeSet
trigger1 = ishelper(526)
statetype = A
movetype = I
physics = N
persistent = 0
ignorehitpause = 1
[State 0]
type = VelSet
trigger1 = ishelper(526)
x = 0
y = 0
persistent = 0
ignorehitpause = 1
[State 0]
type = changeanim
trigger1 = ishelper(526)
value = 6020
persistent = 0
ignorehitpause = 1
[State 0]
type = ctrlset
trigger1 = ishelper(526)
value = 0
persistent = 0
ignorehitpause = 1
[State 0]
type = sprpriority
trigger1 = ishelper(526)
value = 4
ignorehitpause = 1

[State 0]
type = BindToParent
trigger1 = ishelper(526)
time = 1
pos = -10,0

[state 0]
type = Trans
trigger1 = ishelper(526)
trans = addalpha
alpha = 256,256

[state 0]
type = angledraw
trigger1 = ishelper(526)
scale = 1.0,1.0

[State 0]
type = AfterImage
trigger1 = ishelper(526)
trigger1 = time = 0
time = 40
trans = addalpha
timegap = 1
framegap = 1
length = 6
palbright = 0,0,0
palcontrast = 220,220,256
palpostbright = 0,0,0
paladd = -60,-60,-60
palmul = 1,1,1

[state 0]
type = destroyself
trigger1 = ishelper(526)
trigger1 = animtime = 0

;-------------------------------------------------------------------------------------------------------
[State 0]
type = StateTypeSet
trigger1 = ishelper(1111)
statetype = A
movetype = I
physics = N
persistent = 0
ignorehitpause = 1
[State 0]
type = VelSet
trigger1 = ishelper(1111)
x = 0
y = 0
persistent = 0
ignorehitpause = 1
[State 0]
type = changeanim
trigger1 = ishelper(1111)
value = 1110
persistent = 0
ignorehitpause = 1
[State 0]
type = ctrlset
trigger1 = ishelper(1111)
value = 0
persistent = 0
ignorehitpause = 1
[State 0]
type = sprpriority
trigger1 = ishelper(1111)
value = -2
ignorehitpause = 1

[State 0]
type = NotHitBy
trigger1 = ishelper(1111)
value = SCA
time = 1

[state 0]
type = varset
trigger1 = ishelper(1111)
trigger1 = time = 0
v = 1
value = 88
[state 0]
type = varadd
trigger1 = ishelper(1111)
v = 1
value = 3

[state 0]
type = velset
trigger1 = ishelper(1111)
trigger1 = time = 0
x = 5
[state 0]
type = velmul
trigger1 = ishelper(1111)
x = 0.93

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

[state 0]
type = destroyself
trigger1 = ishelper(1111)
trigger1 = animtime = 0

;-------------------------------------------------------------------------------------------------------
[State 0]
type = StateTypeSet
trigger1 = ishelper(2006)
statetype = S
movetype = A
physics = N
persistent = 0
ignorehitpause = 1
[State 0]
type = VelSet
trigger1 = ishelper(2006)
x = 0
y = 0
persistent = 0
ignorehitpause = 1
[State 0]
type = changeanim
trigger1 = ishelper(2006)
value = 22198
persistent = 0
ignorehitpause = 1
[State 0]
type = ctrlset
trigger1 = ishelper(2006)
value = 0
persistent = 0
ignorehitpause = 1
[State 0]
type = sprpriority
trigger1 = ishelper(2006)
value = 5
ignorehitpause = 1

[state 0]
type = posadd
triggerall = ishelper(2006)
trigger1 = animelem = 1
x = 70
ignorehitpause = 1

[state 0]
type = Trans
triggerall = ishelper(2006)
trigger1 = 1
trans = add
ignorehitpause = 1

[State 0]
type = EnvShake
triggerall = ishelper(2006)
trigger1 = animelem = 4
time = 24
ampl = -24
freq = 160
phase = 160
ignorehitpause = 1

[state 0]
type = playsnd
triggerall = ishelper(2006)
trigger1 = animelem = 1
value = s2566,7
ignorehitpause = 1
[state 0]
type = playsnd
triggerall = ishelper(2006)
trigger1 = animelem = 1
value = s2566,8
ignorehitpause = 1
[state 0]
type = playsnd
triggerall = ishelper(2006)
trigger1 = animelem = 4
value = s2566,9
ignorehitpause = 1
[state 0]
type = playsnd
triggerall = ishelper(2006)
trigger1 = animelem = 4
value = s2566,10
freqmul = 0.7
ignorehitpause = 1

[State 0]
type = Explod
triggerall = ishelper(2006)
trigger1 = time >= 10
trigger1 = time <= 50
trigger1 = gametime%10 = 0
anim = 22133
sprpriority = 3
postype = p1
pos = 0,0
scale = 0.8,0.15
bindtime = -1
under = 0
ownpal = 1
persistent = 1
ignorehitpause = 1

[State 0]
type = Explod
triggerall = ishelper(2006)
trigger1 = time >= 0
trigger1 = time <= 48
trigger1 = gametime%2 = 0
id = 22131
anim = 22131
sprpriority = 4
postype = p1
pos = 0,-5
random = 40,10
vel = 10 - (random%21),-1
accel = 0,-0.1
bindtime = 1
ownpal = 1
ignorehitpause = 1
[State 0]
type = Explod
triggerall = ishelper(2006)
trigger1 = time >= 0
trigger1 = time <= 48
id = 22131
anim = 22131
sprpriority = 4
postype = p1
pos = 0,-5
random = 40,10
vel = 10 - (random%21),-1
accel = 0,-0.5
bindtime = 1
ownpal = 1
ignorehitpause = 1
[State 0]
type = Explod
triggerall = ishelper(2006)
trigger1 = time >= 0
trigger1 = time <= 48
trigger1 = gametime%2 = 0
id = 22131
anim = 22131
sprpriority = 4
postype = p1
pos = 0,-5
random = 40,10
vel = 10 - (random%21),-1
accel = 0,-1
bindtime = 1
ownpal = 1
ignorehitpause = 1

[State 0]
type = Explod
triggerall = ishelper(2006)
trigger1 = time = 0
id = 22198
anim = 22198
sprpriority = 5
postype = p1
pos = 0,0
bindtime = -1
ownpal = 1
persistent = 0
ignorehitpause = 1
[State 0]
Type = ModifyExplod
triggerall = ishelper(2006)
Trigger1 = 1
ID = 22198
Trans = AddAlpha
Alpha = 256-128,256
IgnoreHitPause = 1

[State 0]
type = Explod
triggerall = ishelper(2006)
trigger1 = time = 10
trigger2 = time = 30
id = 22199
anim = 22199
sprpriority = 5
bindtime = 1
ownpal = 1
vel = 2.5,-4
scale = 0.8,0.2
ignorehitpause = 1

[State 0]
type = Explod
triggerall = ishelper(2006)
trigger1 = time >= 10
trigger1 = time <= 45
trigger1 = gametime%3 = 0
id = 22200
anim = 22200
sprpriority = 5
postype = p1
pos = 0,-120
random = 160,240
bindtime = 1
ownpal = 1
ignorehitpause = 1

[State 0]
type = Explod
triggerall = ishelper(2006)
trigger1 = animelem = 4
id = 22203
anim = 22203
sprpriority = 4
bindtime = -1
ownpal = 1
scale = 0.75,0.75
ignorehitpause = 1

[State 0]
type = Projectile
triggerall = ishelper(2006)
trigger1 = AnimElem = 4
attr = S, HA
projanim = 22150
projhitanim = -1
projid = 22150
projpriority = 999999999
projsprpriority = 999999999
;projedgebound = 220
projremove = 1
projremovetime = 20
postype = p1
offset = 0,0
velocity = 0
numhits = 1
animtype  = hard
damage = 140,1
getpower = 20,20
givepower = 0,0
guardflag = H
hitflag = MAFDHL
pausetime = 2,4
sparkno = s22109 + var(35)
sparkxy = ceil(fvar(13)) - 7,ceil(fvar(14)) - 70
hitsound   = -1
guard.sparkno = s22113
guardsound = -1
ground.type = high
ground.slidetime = 18
ground.hittime  = 18
ground.velocity = -0.5,-17
air.velocity = -0.5,-17
yaccel = .5
fall = 1
fall.recover = 0
palfx.time = 60
palfx.add = 1,1,1
palfx.mul = 200,200,256
palfx.sinadd = 75,75,120,4
palfx.color = 30
palfx.invertall = 1
p2stateno = 14200
ignorehitpause = 1

[state 0]
type = varadd
triggerall = ishelper(2006)
trigger1 = var(0) < 5
var(0) = 1
persistent = 0
ignorehitpause = 1

[state 0]
type = changestate
triggerall = ishelper(2006)
trigger1 = var(0) < 5
trigger1 = animtime = 0
value = 130
ctrl = 0
ignorehitpause = 1

[state 0]
type = destroyself
triggerall = ishelper(2006)
trigger1 = var(0) >= 5
trigger1 = animtime = 0
ignorehitpause = 1

;-------------------------------------------------------------------------------------------------------
[State 0]
type = StateTypeSet
trigger1 = ishelper(2112)
statetype = S
movetype = I
physics = N
persistent = 0
ignorehitpause = 1
[State 0]
type = VelSet
trigger1 = ishelper(2112)
x = 0
y = 0
persistent = 0
ignorehitpause = 1
[State 0]
type = changeanim
trigger1 = ishelper(2112)
value = parent,anim
elem = parent,animelemno(0)
ignorehitpause = 1
[State 0]
type = ctrlset
trigger1 = ishelper(2112)
value = 0
persistent = 0
ignorehitpause = 1

[State 0]
type = bindtoparent
trigger1 = ishelper(2112)
ignorehitpause = 1

[State 0]
type = Turn
trigger1 = ishelper(2112)
trigger1 = Facing != parent,Facing
ignorehitpause = 1

[State 0]
type = nothitby
trigger1 = ishelper(2112)
value = SCA
time = 1
ignorehitpause = 1

[State 0]
type = ReversalDef
trigger1 = ishelper(2112)
reversal.attr = SCA,AA,AP,AT
priority = 7,hit
pausetime = 0,2000000000
sparkno = -1
hitsound = -1
numhits = 0
palfx.Time = 2000000000
palfx.add = 32,64,192
palfx.mul = 64,192,255
palfx.sinadd = 16,32,64,16
palfx.color = 4
p2stateno = 0
p2getp1state = 0
ignorehitpause = 1

[state 0]
type = targetstate
trigger1 = ishelper(2112)
trigger1 = numtarget
trigger1 = target,ishelper
value = 156
ignorehitpause = 1
[state 0]
type = targetdrop
trigger1 = ishelper(2112)
trigger1 = numtarget
ignorehitpause = 1

[state 0]
type = destroyself
trigger1 = ishelper(2112)
trigger1 = parent,stateno != 220 && parent,stateno != 420 && parent,stateno != 620
ignorehitpause = 1

;-------------------------------------------------------------------------------------------------------
[State 0]
type = StateTypeSet
trigger1 = ishelper(2218) || ishelper(2219)
statetype = A
movetype = A
physics = N
persistent = 0
ignorehitpause = 1
[State 0]
type = VelSet
trigger1 = ishelper(2218) || ishelper(2219)
x = 0
y = 0
persistent = 0
ignorehitpause = 1
[State 0]
type = changeanim
trigger1 = ishelper(2218) || ishelper(2219)
value = 23037
persistent = 0
ignorehitpause = 1
[State 0]
type = ctrlset
trigger1 = ishelper(2218) || ishelper(2219)
value = 0
persistent = 0
ignorehitpause = 1

[State 0]
type = bindtoparent
trigger1 = ishelper(2218) || ishelper(2219)
pos = 0,-60
ignorehitpause = 1

[State 0]
type = PlaySnd
triggerall = ishelper(2218) || ishelper(2219)
trigger1 = movehit = 1
trigger2 = numtarget
trigger2 = target,stateno = 169999 && target,time = 0
value = 2566,12
volume = -40
channel = 6
ignorehitpause = 1

[State 0]
type = Envcolor
triggerall = ishelper(2218)
trigger1 = movehit = 1
value = 255,255,255
time = 1
under = 1
supermove = 1
invertall = 1
ignorehitpause = 1

[State 0]
type = Explod
triggerall = ishelper(2218) || ishelper(2219)
trigger1 = numtarget
trigger1 = (target,stateno = 169999 || movecontact = 1) && enemynear,time = 0
anim = IfElse((moveguarded = 1),22113,(22109 + var(35)))
id = 22109
sprpriority = 5
postype = p1
pos = ceil(fvar(13)),ceil(fvar(14)) - (55 + random%20)
ownpal = 1
bindtime = 1
ignorehitpause = 1

[State 0]
type = ReversalDef
trigger1 = ishelper(2219)
reversal.attr = SCA,AA,AT,AP
priority = 7,hit
pausetime = 0,0
sparkno = -1
hitsound = -1
numhits = 0
palfx.time = 60
palfx.add = 1,1,1
palfx.mul = 200,200,256
palfx.sinadd = 75,75,120,4
palfx.color = 30
palfx.invertall = 1
p2stateno = 104007
ignorehitpause = 1

[State 0]
type = hitdef
triggerall = ishelper(2218)
trigger1 = GameTime%3 = 0
attr = , HA
animtype  = hard
damage    = 10,5
getpower = 0,0
guardflag = MA
hitflag = MAFD
pausetime = 0,3
guard.pausetime = 0,8
sparkno = -1
sparkxy = -10,floor(enemynear,pos y)-60
hitsound   = -1
guard.sparkno = -1
guardsound = s120,0
ground.type = high
ground.slidetime = 18
ground.hittime  = 18
ground.velocity = 0
guard.velocity = 0.2
air.velocity = -1,-2
fall = 0
air.fall = 1
fall.recover = 0
envshake.time = 7
envshake.ampl = 5
envshake.freq = 110
palfx.time = 60
palfx.add = 1,1,1
palfx.mul = 200,200,256
palfx.sinadd = 75,75,120,4
palfx.color = 30
palfx.invertall = 1
ignorehitpause = 1

[state 0]
type = targetdrop
triggerall = ishelper(2218) || ishelper(2219)
trigger1 = numtarget
trigger1 = target,ishelper
trigger2 = numtarget >= 8
ignorehitpause = 1
[state 0]
type = targetstate
triggerall = ishelper(2218) || ishelper(2219)
trigger1 = numtarget
trigger1 = movehit = 1 || GameTime%3 = 0
value = 169999
ignorehitpause = 1

[state 0]
type = destroyself
triggerall = ishelper(2218) || ishelper(2219)
trigger1 = numhelper(7777)
trigger1 = helper(7777),stateno != 2101
ignorehitpause = 1

;-------------------------------------------------------------------------------------------------------
[State 0]
type = StateTypeSet
trigger1 = ishelper(2315) || ishelper(2316) || ishelper(2317)
statetype = A
movetype = A
physics = N
persistent = 0
ignorehitpause = 1
[State 0]
type = VelSet
trigger1 = ishelper(2315) || ishelper(2316) || ishelper(2317)
x = 0
y = 0
persistent = 0
ignorehitpause = 1
[State 0]
type = changeanim
trigger1 = ishelper(2315) || ishelper(2316) || ishelper(2317)
value = 2315
persistent = 0
ignorehitpause = 1
[State 0]
type = ctrlset
trigger1 = ishelper(2315) || ishelper(2316) || ishelper(2317)
value = 0
persistent = 0
ignorehitpause = 1
[State 0]
type = sprpriority
trigger1 = ishelper(2315) || ishelper(2316) || ishelper(2317)
value = 5
ignorehitpause = 1

[state 0]
type = varset
trigger1 = ishelper(2315) || ishelper(2316) || ishelper(2317)
trigger1 = time = 0
v = 1
value = 0
[state 0]
type = varadd
trigger1 = ishelper(2315) || ishelper(2316) || ishelper(2317)
v = 1
value = 15

[state 0]
type = Trans
trigger1 = ishelper(2315) || ishelper(2316) || ishelper(2317)
trans = addalpha
alpha = 256-var(1),256

[state 0]
type = angleadd
trigger1 = time = 0
trigger1 = ishelper(2315)
value = 20
[state 0]
type = angleadd
trigger1 = time = 0
trigger1 = ishelper(2316)
value = -60
[state 0]
type = angleadd
trigger1 = time = 0
trigger1 = ishelper(2317)
value = 40
[state 0]
type = angledraw
trigger1 = ishelper(2315) || ishelper(2316) || ishelper(2317)
scale = 2.0,2.0

[state 0]
type = destroyself
trigger1 = ishelper(2315) || ishelper(2316) || ishelper(2317)
trigger1 = var(1) >= 256

;-------------------------------------------------------------------------------------------------------
[State 0]
type = StateTypeSet
trigger1 = ishelper(6003)
statetype = A
movetype = I
physics = N
persistent = 0
ignorehitpause = 1
[State 0]
type = VelSet
trigger1 = ishelper(6003)
x = 0
y = 0
persistent = 0
ignorehitpause = 1
[State 0]
type = changeanim
trigger1 = ishelper(6003)
value = 6003
persistent = 0
ignorehitpause = 1
[State 0]
type = ctrlset
trigger1 = ishelper(6003)
value = 0
persistent = 0
ignorehitpause = 1
[State 0]
type = sprpriority
trigger1 = ishelper(6003)
value = 2
ignorehitpause = 1

[state 0]
type = turn
trigger1 = ishelper(6003)
trigger1 = time = 0
trigger1 = numhelper(7777)
trigger1 = helper(7777),stateno = 115

[state 0]
type = Helper
trigger1 = ishelper(6003)
trigger1 = time = 0
id = 60051
name = "a_dash"
sprpriority = -2
pos = -10,-21
postype = p1
stateno = 130
helpertype = player
pausemovetime = 0
keyctrl = 0 
ownpal = 1
[state 0]
type = Helper
trigger1 = ishelper(6003)
trigger1 = time = 0
id = 60052
name = "a_dash"
sprpriority = -2
pos = -10,-0
postype = p1
stateno = 130
helpertype = player
pausemovetime = 0
keyctrl = 0 
ownpal = 1
[state 0]
type = Helper
trigger1 = ishelper(6003)
trigger1 = time = 0
id = 60053
name = "a_dash"
sprpriority = -2
pos = -10,14
postype = p1
stateno = 130
helpertype = player
pausemovetime = 0
keyctrl = 0 
ownpal = 1

[state 0]
type = Trans
trigger1 = ishelper(6003)
trans = addalpha
alpha = 256,256

[state 0]
type = destroyself
trigger1 = ishelper(6003)
trigger1 = animtime = 0

;-------------------------------------------------------------------------------------------------------
[State 0]
type = StateTypeSet
trigger1 = ishelper(6000) || ishelper(60051) || ishelper(60052) || ishelper(60053)
statetype = A
movetype = I
physics = N
persistent = 0
ignorehitpause = 1
[State 0]
type = VelSet
trigger1 = ishelper(6000) || ishelper(60051) || ishelper(60052) || ishelper(60053)
x = 0
y = 0
persistent = 0
ignorehitpause = 1
[State 0]
type = changeanim
trigger1 = ishelper(6000) || ishelper(60051) || ishelper(60052) || ishelper(60053)
value = 6005
persistent = 0
ignorehitpause = 1
[State 0]
type = ctrlset
trigger1 = ishelper(6000) || ishelper(60051) || ishelper(60052) || ishelper(60053)
value = 0
persistent = 0
ignorehitpause = 1
[State 0]
type = sprpriority
trigger1 = ishelper(6000) || ishelper(60051) || ishelper(60052) || ishelper(60053)
value = 2
ignorehitpause = 1

[state 0]
type = varset
trigger1 = ishelper(6000) || ishelper(60051) || ishelper(60052) || ishelper(60053)
trigger1 = time = 0
v = 1
value = 0
[state 0]
type = varadd
trigger1 = ishelper(6000) || ishelper(60051) || ishelper(60052) || ishelper(60053)
v = 1
value = 1

[state 0]
type = velset
trigger1 = ishelper(6000) || ishelper(60051) || ishelper(60052) || ishelper(60053)
trigger1 = time = 0
x = -2.5-(Random%40)/10
[state 0]
type = velset
trigger1 = time = 0
trigger1 = ishelper(60051)
y = -1-(Random%25)/10
[state 0]
type = velset
trigger1 = time = 0
trigger1 = ishelper(60052)
y = -0.5+(Random%10)/10
[state 0]
type = velset
trigger1 = time = 0
trigger1 = ishelper(60053)
y = 1+(Random%25)/10

[state 0]
type = Trans
trigger1 = ishelper(6000) || ishelper(60051) || ishelper(60052) || ishelper(60053)
trans = addalpha
alpha = 256,256

[state 0]
type = angledraw
trigger1 = ishelper(6000) || ishelper(60051) || ishelper(60052) || ishelper(60053)
scale = 1.0-var(1)*0.04,1.0-var(1)*0.04

[State 0]
type = AfterImage
trigger1 = ishelper(6000) || ishelper(60051) || ishelper(60052) || ishelper(60053)
trigger1 = time = 0
time = 40
trans = addalpha
timegap = 1
framegap = 1
length = 8
palbright = 0,0,0
palcontrast = 180,180,256
palpostbright = 0,0,0
paladd = -30,-30,-30
palmul = 1,1,1

[state 0]
type = destroyself
trigger1 = ishelper(6000) || ishelper(60051) || ishelper(60052) || ishelper(60053)
trigger1 = time = 25

;-------------------------------------------------------------------------------------------------------
[State 0]
type = StateTypeSet
trigger1 = ishelper(6021)
statetype = A
movetype = I
physics = N
persistent = 0
ignorehitpause = 1
[State 0]
type = VelSet
trigger1 = ishelper(6021)
x = 0
y = -2
persistent = 0
ignorehitpause = 1
[State 0]
type = changeanim
trigger1 = ishelper(6021)
value = 6021
persistent = 0
ignorehitpause = 1
[State 0]
type = ctrlset
trigger1 = ishelper(6021)
value = 0
persistent = 0
ignorehitpause = 1
[State 0]
type = sprpriority
trigger1 = ishelper(6021)
value = 5
ignorehitpause = 1

[State 0]
type = BindToParent
trigger1 = ishelper(6021)
trigger1 = time = 0
time = 1
pos = 0,0

[state 0]
type = varset
trigger1 = ishelper(6021)
trigger1 = time = 0
v = 1
value = 1
[state 0]
type = varadd
trigger1 = ishelper(6021)
trigger1 = time <= 7
v = 1
value = 3
[state 0]
type = varadd
trigger1 = ishelper(6021)
trigger1 = time > 8
trigger1 = time <= 14
v = 1
value = 2
[state 0]
type = varadd
trigger1 = ishelper(6021)
trigger1 = time > 14
v = 1
value = 1

[state 0]
type = veladd
trigger1 = ishelper(6021)
trigger1 = time <= 8
y = -0.3
[state 0]
type = veladd
trigger1 = ishelper(6021)
trigger1 = time >= 9
y = -1.5

[state 0]
type = varset
trigger1 = ishelper(6021)
trigger1 = time = 0
v = 2
value = 0
[state 0]
type = varadd
trigger1 = ishelper(6021)
trigger1 = time >= 7
v = 2
value = -16

[state 0]
type = Trans
trigger1 = ishelper(6021)
trans = addalpha
alpha = 256+var(2),256

[state 0]
type = angledraw
trigger1 = ishelper(6021)
scale = 0.1+var(1)*0.025,0.1+var(1)*0.025

[State 0]
type = AfterImage
trigger1 = ishelper(6021)
trigger1 = time = 0
time = -1
trans = addalpha
timegap = 1
framegap = 1
length = 6
palbright = 0,0,0
palcontrast = 110,110,110
palpostbright = 0,0,0
paladd = -5,-5,-5
palmul = 1,1,1

[state 0]
type = destroyself
trigger1 = ishelper(6021)
trigger1 = animtime = 0

;-------------------------------------------------------------------------------------------------------
[State 0]
type = StateTypeSet
trigger1 = ishelper(6030)
statetype = A
movetype = I
physics = N
persistent = 0
ignorehitpause = 1
[State 0]
type = VelSet
trigger1 = ishelper(6030)
x = 0
y = 0
persistent = 0
ignorehitpause = 1
[State 0]
type = changeanim
trigger1 = ishelper(6030)
value = 6030
persistent = 0
ignorehitpause = 1
[State 0]
type = ctrlset
trigger1 = ishelper(6030)
value = 0
persistent = 0
ignorehitpause = 1
[State 0]
type = sprpriority
trigger1 = ishelper(6030)
value = 4
ignorehitpause = 1

[state 0]
type = nothitby
trigger1 = ishelper(6030)
value = SCA
time = 1

[state 0]
type = varset
trigger1 = ishelper(6030)
trigger1 = time = 0
v = 1
value = 100
[state 0]
type = varadd
trigger1 = ishelper(6030)
v = 1
value = 8

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

[state 0]
type = angledraw
trigger1 = ishelper(6030)
scale = 2.0+var(1)*0.0005,2.0+var(1)*0.0005

[state 0]
type = destroyself
trigger1 = ishelper(6030)
trigger1 = animtime = 0

;-------------------------------------------------------------------------------------------------------
[State 0]
type = StateTypeSet
trigger1 = ishelper(6050)
statetype = A
movetype = I
physics = N
persistent = 0
ignorehitpause = 1
[State 0]
type = VelSet
trigger1 = ishelper(6050)
x = 0
y = 0
persistent = 0
ignorehitpause = 1
[State 0]
type = changeanim
trigger1 = ishelper(6050)
value = 6050
persistent = 0
ignorehitpause = 1
[State 0]
type = ctrlset
trigger1 = ishelper(6050)
value = 0
persistent = 0
ignorehitpause = 1
[State 0]
type = sprpriority
trigger1 = ishelper(6050)
value = 4
ignorehitpause = 1

[state 0]
type = bindtoparent
triggerall = ishelper(6050)
trigger1 = time = 0
pos = 0,-60

[state 0]
type = bindtoparent
triggerall = ishelper(6050)
triggerall = time = 0
trigger1 = root,stateno = 2100
trigger2 = root,stateno = 2102
pos = 30,-60

[state 0]
type = varset
triggerall = ishelper(6050)
trigger1 = time = 0
v = 1
value = 0
[state 0]
type = varadd
triggerall = ishelper(6050)
trigger1 = time != 0
v = 1
value = 16

[state 0]
type = Trans
triggerall = ishelper(6050)
trigger1 = 1
trans = addalpha
alpha = 256-var(1),256

[state 0]
type = destroyself
triggerall = ishelper(6050)
trigger1 = var(1) = 256

;-------------------------------------------------------------------------------------------------------
[State 0]
type = StateTypeSet
trigger1 = ishelper(6070)
statetype = S
movetype = I
physics = N
persistent = 0
ignorehitpause = 1
[State 0]
type = VelSet
trigger1 = ishelper(6070)
x = 0
y = 0
persistent = 0
ignorehitpause = 1
[State 0]
type = changeanim
trigger1 = ishelper(6070)
value = 22202
persistent = 0
ignorehitpause = 1
[State 0]
type = ctrlset
trigger1 = ishelper(6070)
value = 0
persistent = 0
ignorehitpause = 1
[State 0]
type = sprpriority
trigger1 = ishelper(6070)
value = 5
ignorehitpause = 1

[state 0]
type = playsnd
triggerall = ishelper(6070)
trigger1 = animelem = 1
value = 2562,21
ignorehitpause = 1
[state 0]
type = playsnd
triggerall = ishelper(6070)
trigger1 = animelem = 1
value = 2562,21
freqmul = 0.7
ignorehitpause = 1

[state 0]
type = Trans
triggerall = ishelper(6070)
trigger1 = 1
trans = add
ignorehitpause = 1

[State 0]
type = Explod
triggerall = ishelper(6070)
trigger1 = time >= 0
trigger1 = time <= 26
id = 22131
anim = 22131
sprpriority = 6
removetime = 35
vel = -4 + (random%8),-4 + (random%8)
facing = -1
ownpal = 1
ignorehitpause = 1
[State 0]
type = Explod
triggerall = ishelper(6070)
trigger1 = time >= 0
trigger1 = time <= 26
id = 22131
anim = 22131
sprpriority = 6
removetime = 35
vel = -3 + (random%6),-3 + (random%6)
facing = -1
ownpal = 1
scale = 0.5,0.5
ignorehitpause = 1
[State 0]
type = Explod
triggerall = ishelper(6070)
trigger1 = time = 0
trigger2 = time = 5
trigger3 = time = 10
trigger4 = time = 15
trigger5 = time = 20
trigger6 = time = 25
id = 22133
anim = 22133
sprpriority = 6
bindtime = 1
under = 0
ownpal = 1
scale = 0.35,0.35
ignorehitpause = 1

[State 0]
type = Explod
triggerall = ishelper(6070)
trigger1 = time = 26
id = 22203
anim = 22203
sprpriority = 5
bindtime = -1
scale = 0.5,0.5
ownpal = 1
ignorehitpause = 1

[state 0]
type = changestate
triggerall = ishelper(6070)
trigger1 = animtime = 0
value = 131
ctrl = 0
ignorehitpause = 1

;-------------------------------------------------------------------------------------------------------
[State 0]
type = StateTypeSet
trigger1 = ishelper(6510) || ishelper(6511) || ishelper(6512)
statetype = S
movetype = I
physics = N
persistent = 0
ignorehitpause = 1
[State 0]
type = VelSet
trigger1 = ishelper(6510) || ishelper(6511) || ishelper(6512)
x = 0
y = 0
persistent = 0
ignorehitpause = 1
[State 0]
type = changeanim
trigger1 = ishelper(6510) || ishelper(6511) || ishelper(6512)
value = 22189
persistent = 0
ignorehitpause = 1
[State 0]
type = ctrlset
trigger1 = ishelper(6510) || ishelper(6511) || ishelper(6512)
value = 0
persistent = 0
ignorehitpause = 1
[State 0]
type = sprpriority
trigger1 = ishelper(6510) || ishelper(6511) || ishelper(6512)
value = -1
ignorehitpause = 1

[State 0]
Type = Trans
trigger1 = ishelper(6510) || ishelper(6511) || ishelper(6512)
Trans = add
IgnoreHitPause = 1

[State 0]
Type = AngleDraw
trigger1 = ishelper(6510) || ishelper(6511) || ishelper(6512)
Value = time*100
Scale = time*0.15,time*0.15
ignorehitpause = 1

[State 0]
Type = DestroySelf
trigger1 = ishelper(6510) || ishelper(6511) || ishelper(6512)
trigger1 = time > 30
ignorehitpause = 1

;-------------------------------------------------------------------------------------------------------
[State 0]
type = StateTypeSet
trigger1 = ishelper(6520)
statetype = S
movetype = I
physics = N
persistent = 0
ignorehitpause = 1
[State 0]
type = VelSet
trigger1 = ishelper(6520)
x = 11
y = 0
persistent = 0
ignorehitpause = 1
[State 0]
type = changeanim
trigger1 = ishelper(6520)
value = 6520
persistent = 0
ignorehitpause = 1
[State 0]
type = ctrlset
trigger1 = ishelper(6520)
value = 0
persistent = 0
ignorehitpause = 1
[State 0]
type = sprpriority
trigger1 = ishelper(6520)
value = -5
ignorehitpause = 1

[state 0]
type = velmul
trigger1 = ishelper(6520)
x = 0.94
ignorehitpause = 1

[state 0]
type = posset
trigger1 = ishelper(6520)
y = pos y - screenpos y
ignorehitpause = 1

[state 0]
type = varset
trigger1 = ishelper(6520)
trigger1 = time = 0
v = 1
value = 0
ignorehitpause = 1
[state 0]
type = varadd
trigger1 = ishelper(6520)
trigger1 = time >= 40
v = 1
value = 5
ignorehitpause = 1

[state 0]
type = Trans
trigger1 = ishelper(6520)
trans = addalpha
alpha = 256-var(1)*2, 256
ignorehitpause = 1

[state 0]
type = destroyself
trigger1 = ishelper(6520)
trigger1 = var(1) >= 256
ignorehitpause = 1

;-------------------------------------------------------------------------------------------------------
[State 0]
type = StateTypeSet
trigger1 = ishelper(22014)
statetype = A
movetype = I
physics = N
persistent = 0
ignorehitpause = 1
[State 0]
type = VelSet
trigger1 = ishelper(22014)
x = 0
y = 0
persistent = 0
ignorehitpause = 1
[State 0]
type = changeanim
trigger1 = ishelper(22014)
value = 40000
persistent = 0
ignorehitpause = 1
[State 0]
type = ctrlset
trigger1 = ishelper(22014)
value = 0
persistent = 0
ignorehitpause = 1

[State 0]
type = Explod
triggerall = ishelper(22014)
trigger1 = 1
anim = 22014 + random%13
id = 22114
sprpriority = 5
ownpal = 1
bindtime = -1
persistent = 0
ignorehitpause = 1
[State 0]
type = Explod
triggerall = ishelper(22014)
trigger1 = 1
anim = 22014 + random%13
id = 22114
sprpriority = 5
ownpal = 1
bindtime = -1
scale = 0.75,0.75
persistent = 0
ignorehitpause = 1
[State 0]
type = Explod
triggerall = ishelper(22014)
trigger1 = 1
anim = 22206
id = 22206
sprpriority = 4
ownpal = 1
bindtime = -1
scale = 0.5,0.5
persistent = 0
ignorehitpause = 1
[State 0]
type = Explod
triggerall = ishelper(22014)
trigger1 = time = [1,6]
anim = 22131
sprpriority = 5
vel = -4 + (random%8),-4 + (random%8)
facing = -1
ownpal = 1
ignorehitpause = 1

[State 0]
type = destroyself
triggerall = ishelper(22014)
trigger1 = time > 19
ignorehitpause = 1

;-------------------------------------------------------------------------------------------------------
[State 0]
type = StateTypeSet
trigger1 = ishelper(22217)
statetype = S
movetype = I
physics = N
persistent = 0
ignorehitpause = 1
[State 0]
type = VelSet
trigger1 = ishelper(22217)
x = 0
y = 0
persistent = 0
ignorehitpause = 1
[State 0]
type = changeanim
trigger1 = ishelper(22217)
value = 22217
persistent = 0
ignorehitpause = 1
[State 0]
type = ctrlset
trigger1 = ishelper(22217)
value = 0
persistent = 0
ignorehitpause = 1
[State 0]
type = sprpriority
trigger1 = ishelper(22217)
value = 0
ignorehitpause = 1

[State 0]
type = bindtoparent
trigger1 = ishelper(22217)
ignorehitpause = 1

[State 0]
Type = Trans
trigger1 = ishelper(22217)
Trans = add
IgnoreHitPause = 1

[State 0]
Type = AngleDraw
trigger1 = ishelper(22217)
Value = time*100
Scale = time*0.15,time*0.15
ignorehitpause = 1

[State 0]
Type = DestroySelf
trigger1 = ishelper(22217)
trigger1 = time > 30
ignorehitpause = 1

;-------------------------------------------------------------------------------------------------------
[State 0]
type = StateTypeSet
trigger1 = ishelper(27101)
statetype = S
movetype = I
physics = N
persistent = 0
ignorehitpause = 1
[State 0]
type = VelSet
trigger1 = ishelper(27101)
x = 0
y = 0
persistent = 0
ignorehitpause = 1
[State 0]
type = changeanim
trigger1 = ishelper(27101)
value = 40000
persistent = 0
ignorehitpause = 1
[State 0]
type = ctrlset
trigger1 = ishelper(27101)
value = 0
persistent = 0
ignorehitpause = 1
[State 0]
type = sprpriority
trigger1 = ishelper(27101)
value = 5
ignorehitpause = 1

[State 0]
type = PosSet
trigger1 = ishelper(27101)
X = enemynear,pos X
Y = enemynear,pos Y - 50
ignorehitpause = 1

[State 0]
type = Explod
trigger1 = ishelper(27101)
trigger1 = time = 6
anim = 22190
id = 22190
sprpriority = 45
postype = p1
pos = 0,0
facing = -1
ownpal = 1
ontop = 1
ignorehitpause = 1
pausemovetime = 2000000000
supermovetime = 2000000000
[State 0]
type = Explod
trigger1 = ishelper(27101)
trigger1 = time = 6
anim = 22191
id = 22191
sprpriority = 45
postype = p1
pos = 0,0
facing = -1
ownpal = 1
ontop = 1
ignorehitpause = 1
pausemovetime = 2000000000
supermovetime = 2000000000
[State 0]
type = Explod
trigger1 = ishelper(27101)
trigger1 = time = 6
anim = 22194
id = 22194
sprpriority = 3
postype = p1
pos = 0,0
facing = -1
ownpal = 1
scale = 1.5,1.5
ignorehitpause = 1
pausemovetime = 2000000000
supermovetime = 2000000000
[State 0]
type = Explod
trigger1 = ishelper(27101)
trigger1 = time = 6
anim = 22195
id = 22195
sprpriority = 3
postype = p1
pos = 0,0
facing = -1
ownpal = 1
scale = 1.5,1.5
ignorehitpause = 1
pausemovetime = 2000000000
supermovetime = 2000000000

[State 0]
type = Explod
trigger1 = ishelper(27101)
trigger1 = time = 1
anim = 22192
id = 22192
sprpriority = 9
postype = p1
velset = 0,0
pos = 0,0
under = 0
ownpal = 1
ignorehitpause = 1
pausemovetime = 2000000000
supermovetime = 2000000000
[State 0]
type = Explod
trigger1 = ishelper(27101)
trigger1 = time = 1
anim = 22196
id = 22196
sprpriority = 3
postype = p1
velset = 0,0
pos = 0,0
under = 0
ownpal = 1
scale = 1.5,1.5
ignorehitpause = 1
pausemovetime = 2000000000
supermovetime = 2000000000

[State 0]
type = Explod
trigger1 = ishelper(27101)
trigger1 = time = 1
anim = 22193
id = 22193
sprpriority = 10
postype = p1
velset = 0,0
pos = 0,0
under = 0
ownpal = 1
ignorehitpause = 1
pausemovetime = 2000000000
supermovetime = 2000000000
[State 0]
type = Explod
trigger1 = ishelper(27101)
trigger1 = time = 1
anim = 22197
id = 22197
sprpriority = 3
postype = p1
velset = 0,0
pos = 0,0
under = 0
ownpal = 1
scale = 1.5,1.5
ignorehitpause = 1
pausemovetime = 2000000000
supermovetime = 2000000000

[State 0]
type = Explod
trigger1 = ishelper(27101)
trigger1 = time <= 11
anim = 22131
sprpriority = 22
postype = p1
pos = 0,0
vel = -5 + (random%10),-5 + (random%10)
facing = -1
ownpal = 1
ignorehitpause = 1
pausemovetime = 2000000000
supermovetime = 2000000000
[State 0]
type = Explod
trigger1 = ishelper(27101)
trigger1 = time <= 11
anim = 22131
sprpriority = 22
postype = p1
pos = 0,0
vel = -5 + (random%10),-5 + (random%10)
facing = -1
ownpal = 1
ignorehitpause = 1
pausemovetime = 2000000000
supermovetime = 2000000000

[State 0]
type = Explod
trigger1 = ishelper(27101)
trigger1 = time <= 11
anim = 22131
sprpriority = 22
postype = p1
pos = 0,0
vel = -6 + (random%12),-6 + (random%12)
facing = -1
ownpal = 1
ignorehitpause = 1
pausemovetime = 2000000000
supermovetime = 2000000000
[State 0]
type = Explod
trigger1 = ishelper(27101)
trigger1 = time <= 11
anim = 22131
sprpriority = 22
postype = p1
pos = 0,0
vel = -6 + (random%12),-6 + (random%12)
facing = -1
ownpal = 1
ignorehitpause = 1
pausemovetime = 2000000000
supermovetime = 2000000000

[State 0]
type = Explod
trigger1 = ishelper(27101)
trigger1 = time <= 11
anim = 22161
sprpriority = 22
postype = p1
pos = 0,0
vel = -4 + (random%8),-4 + (random%8)
facing = -1
ownpal = 1
ignorehitpause = 1
pausemovetime = 2000000000
supermovetime = 2000000000
[State 0]
type = Explod
trigger1 = ishelper(27101)
trigger1 = time <= 6
anim = 22161
sprpriority = 22
postype = p1
pos = 0,0
vel = -6 + (random%12),-6 + (random%12)
facing = -1
ownpal = 1
ignorehitpause = 1
pausemovetime = 2000000000
supermovetime = 2000000000

[State 0]
type = Envcolor
trigger1 = ishelper(27101)
trigger1 = time = 1
value = 255, 255, 255
time = 4
under = 1
invertall = 1
ignorehitpause = 1

[State 0]
type = EnvShake
trigger1 = ishelper(27101)
trigger1 = time = 1
time = 24
ampl = -24
freq = 250
phase = 250
ignorehitpause = 1

[State 0]
type = PlaySnd
trigger1 = ishelper(27101)
trigger1 = time = 1
value = s2566,6
volume = 250
ignorehitpause = 1
[State 0]
type = PlaySnd
trigger1 = ishelper(27101)
trigger1 = time = 1
value = s2566,6
volume = 250
freqmul = 0.7
ignorehitpause = 1

;-------------------------------------------------------------------------------------------------------
[State 0]
type = StateTypeSet
trigger1 = ishelper(1220)
statetype = A
movetype = A
physics = N
persistent = 0
ignorehitpause = 1
[State 0]
type = VelSet
trigger1 = ishelper(1220)
x = 0
y = 0
persistent = 0
ignorehitpause = 1
[State 0]
type = changeanim
trigger1 = ishelper(1220)
value = 1220
persistent = 0
ignorehitpause = 1
[State 0]
type = ctrlset
trigger1 = ishelper(1220)
value = 0
persistent = 0
ignorehitpause = 1
[State 0]
type = sprpriority
trigger1 = ishelper(1220)
value = 3
ignorehitpause = 1

[state 0]
type = bindtoparent
trigger1 = ishelper(1220)
trigger1 = time = 0
pos = 0,-90

[state 0]
type = varset
trigger1 = ishelper(1220)
trigger1 = time = 0
v = 1
value = 128
[state 0]
type = varadd
trigger1 = ishelper(1220)
trigger1 = animelem = 2,>=0
v = 1
value = 16

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

[state 0]
type = angledraw
trigger1 = ishelper(1220)
scale = 1.0,1.0

[State 0]
type = hitdef
triggerall = ishelper(1220)
trigger1 = animelem = 2
attr = A,SP
damage = 55,1
priority = 8,Hit
hitflag = MAFLD
guardflag = MA
getpower = 0,0
pausetime = 15,15
sparkno = -1
sparkxy = 0,0
hitsound = s400,2
guard.sparkno = -1
guardsound = s120,1
animtype = hard
ground.type = high
ground.slidetime = 19
ground.hittime = 19
ground.velocity = -1.5,-7
guard.velocity = -10
air.velocity = -1,-7
fall = 1
fall.recover = 1
fall.recovertime = 20
yaccel = 0.46
ID = 600
nochainID = 9999
palfx.time = 60
palfx.add = 1,1,1
palfx.mul = 200,200,256
palfx.sinadd = 75,75,120,4
palfx.color = 30
palfx.invertall = 1

[State 0]
type = helper
triggerall = ishelper(1220)
trigger1 = movehit
id = 22014
stateno = 130
postype = p1
pos = ceil(fvar(13)),ceil(fvar(14)) - (45 + random%20)
keyctrl = 0
ownpal = 1
helpertype = player
persistent = 0
ignorehitpause = 1
[State 0]
type = Explod
triggerall = ishelper(1220)
trigger1 = moveguarded
anim = 22113
id = 22113
sprpriority = 5
postype = p1
pos = ceil(fvar(13)),ceil(fvar(14)) - (45 + random%20)
ownpal = 1
bindtime = 1
persistent = 0
ignorehitpause = 1

[State 0];6052ヘルパーの代わり
type = Explod
triggerall = ishelper(1220)
trigger1 = animelem = 2
id = 6052
anim = 6051
sprpriority = 4
pos = 0,0
postype = p1
ownpal = 1
trans = add
bindtime = 1
ignorehitpause = 1
pausemovetime = 30

[state 0]
type = targetstate
triggerall = ishelper(1220)
trigger1 = numtarget
trigger1 = movehit = 1
value = 1230

[state 0]
type = destroyself
triggerall = ishelper(1220)
trigger1 = var(1) = 256

;\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
;-------------------------------------------------------------------------------------------------------
;-------------------------------------------------------------------------------------------------------
;\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
[Statedef 131]
[State 0]
type = StateTypeSet
trigger1 = ishelper(7777)
statetype = C
physics = C
persistent = 0
ignorehitpause = 1

[State 0]
type = ChangeAnim
triggerall = IsHelper(7777)
trigger1 = Anim != 131
value = 131
[State 0]
type = ChangeState
triggerall = IsHelper(7777)
trigger1 = root,var(30) != 1
Trigger1 = command != "holddown"
trigger2 = root,var(30) = 1
trigger2 = enemynear,StateType = A
trigger2 = Random <= 900
value = 130
[State 0]
type = ChangeState
triggerall = IsHelper(7777)
trigger1 = command != "holdback"
trigger1 = root,var(30) != 1
trigger2 = !inguarddist
value = 140

[state 0]
type = turn
triggerall = ishelper(7777)
triggerall = enemynear,alive || numenemy = 1
trigger1 = enemynear,facing = -facing
trigger1 = frontedgedist<enemynear,backedgedist
trigger2 = enemynear,facing = facing
trigger2 = frontedgedist<enemynear,frontedgedist

[State 0]
type = ReversalDef
trigger1 = ishelper(7777)
trigger1 = root,palno = 12
reversal.attr = SCA,AA,AP,AT
priority = 7,hit
pausetime = 0,20 + random%100
sparkno = -1
hitsound = s2566,23
numhits = 0
palfx.time = 68
palfx.add = 255,255,255
palfx.mul = 255,255,255
palfx.color = 0
palfx.invertall = 1
p2stateno = 50 + 5000*(random < 500)
p2getp1state = 0
ignorehitpause = 1

[state 0]
type = targetstate
trigger1 = ishelper(7777)
trigger1 = root,palno = 12
trigger1 = numtarget
trigger1 = target,ishelper
value = 156
ignorehitpause = 1
[state 0]
type = targetdrop
trigger1 = ishelper(7777)
trigger1 = root,palno = 12
trigger1 = numtarget
ignorehitpause = 1

;-------------------------------------------------------------------------------------------------------
[State 0]
type = StateTypeSet
trigger1 = ishelper(6070)
statetype = S
movetype = A
physics = N
persistent = 0
ignorehitpause = 1
[State 0]
type = VelSet
trigger1 = ishelper(6070)
x = 0
y = 0
persistent = 0
ignorehitpause = 1
[State 0]
type = changeanim
trigger1 = ishelper(6070)
value = 22154
persistent = 0
ignorehitpause = 1
[State 0]
type = ctrlset
trigger1 = ishelper(6070)
value = 0
persistent = 0
ignorehitpause = 1
[State 0]
type = sprpriority
trigger1 = ishelper(6070)
value = 5
ignorehitpause = 1

[state 0]
type = playsnd
triggerall = ishelper(6070)
trigger1 = animelem = 8
value = 2552,0
ignorehitpause = 1
[state 0]
type = playsnd
triggerall = ishelper(6070)
trigger1 = animelem = 8
value = 2562,14
ignorehitpause = 1
[state 0]
type = playsnd
triggerall = ishelper(6070)
trigger1 = animelem = 8
value = 2551,0
ignorehitpause = 1

[state 0]
type = Trans
triggerall = ishelper(6070)
trigger1 = 1
trans = add
ignorehitpause = 1

[State 0]
type = EnvShake
triggerall = ishelper(6070)
trigger1 = animelem = 8
time = 12
ampl = -12
freq = 190
phase = 190
ignorehitpause = 1

[State 0]
type = Explod
triggerall = ishelper(6070)
trigger1 = animelem = 8
anim = 22108
id = 1415
sprpriority = 5
postype = p1
pos = 0,-100
bindtime = -1
ownpal = 1
ontop = 1
ignorehitpause = 1

[State 0]
type = Explod
triggerall = ishelper(6070)
trigger1 = (GameTime%2) = 1
anim = 22131
sprpriority = 5
postype = p1
pos = -70 + (random%140),0 - (random%40)
bindtime = 1
under = 0
ownpal = 1
persistent = 1
vel = -2 + (random%5),-7
ignorehitpause = 1
[State 0]
type = Explod
triggerall = ishelper(6070)
trigger1 = (GameTime%3) = 1
anim = 22131
sprpriority = 5
postype = p1
pos = -70 + (random%140),0 - (random%40)
bindtime = 1
under = 0
ownpal = 1
persistent = 1
vel = -1 + (random%3),-3.5
ignorehitpause = 1

[State 0]
type = Explod
triggerall = ishelper(6070)
trigger1 = time = 0
trigger2 = time = 15
trigger3 = time = 30
trigger4 = time = 45
id = 22199
anim = 22199
sprpriority = 4
bindtime = 1
ownpal = 1
vel = 0,-5
scale = 0.8,0.2
ignorehitpause = 1

[State 0]
type = Projectile
triggerall = ishelper(6070)
trigger1 = animelem = 8
attr = S, SA
projanim = 22151
projhitanim = -1
projid = 35900
projpriority = 999999999
projsprpriority = 999999999
;projedgebound = 220
projremove = 1
projremovetime = 20
postype = p1
offset = 0,0
velocity = 0
numhits = 1
animtype  = hard
damage    = 70,1
getpower = 20,20
givepower = 0,0
guardflag = H
hitflag = MAF
pausetime = 2,4
sparkno = s22109 + var(35)
sparkxy = ceil(fvar(13)) - 7,ceil(fvar(14)) - 70
hitsound   = -1
guard.sparkno = s22113
guardsound = -1
ground.type = high
ground.slidetime = 18
ground.hittime  = 18
ground.velocity = -0.5,-17
air.velocity = -0.5,-17
yaccel = .5
fall = 1
fall.recover = 0
palfx.time = 60
palfx.add = 1,1,1
palfx.mul = 200,200,256
palfx.sinadd = 75,75,120,4
palfx.color = 30
palfx.invertall = 1
p2stateno = 14200
ignorehitpause = 1

[state 0]
type = destroyself
triggerall = ishelper(6070)
trigger1 = animtime = 0
ignorehitpause = 1

;-------------------------------------------------------------------------------------------------------
[State 0]
type = StateTypeSet
trigger1 = ishelper(9990) || ishelper(9991)
statetype = S
movetype = A
physics = N
persistent = 0
ignorehitpause = 1
[State 0]
type = VelSet
trigger1 = ishelper(9990) || ishelper(9991)
x = 0
y = 0
persistent = 0
ignorehitpause = 1
[State 0]
type = changeanim
trigger1 = ishelper(9990) || ishelper(9991)
trigger1 = numhelper(9870) = 0 || numhelper(9880) = 0
value = ifelse(ishelper(9991),40010,40039)
ignorehitpause = 1
[State 0]
type = changeanim
trigger1 = ishelper(9990) || ishelper(9991)
trigger1 = numhelper(9870) > 0 || numhelper(9880) > 0
value = 40000
ignorehitpause = 1
[State 0]
type = ctrlset
trigger1 = ishelper(9990) || ishelper(9991)
value = 0
persistent = 0
ignorehitpause = 1

[State 0]
type = veladd
triggerall = ishelper(9990)
trigger1 = roundstate < 2
x = ifelse((vel X <-2),0.6,random%2*ifelse((random<500),0.2+random%6*0.1,-0.2-random%6*0.1))
y = ifelse((vel Y<-1),0.1,random%2*ifelse((random<500),0.006,-0.006))
ignorehitpause = 1
[State 0]
type = veladd
triggerall = ishelper(9990)
trigger1 = roundstate < 2
x = ifelse((vel X >2),-0.6,random%2*ifelse((random<500),0.2+random%6*0.1,-0.2-random%6*0.1))
y = ifelse((vel Y >1),-0.1,random%2*ifelse((random<500),0.006,-0.006))
ignorehitpause = 1
[State 0]
type = veladd
triggerall = ishelper(9990)
trigger1 = roundstate >= 2 && rootdist x >= -22 && vel x < 3
x = 0.02
ignorehitpause = 1
[State 0]
type = veladd
triggerall = ishelper(9990)
trigger1 = roundstate >= 2 && rootdist x <= 22 && vel x > - 3
x = -0.02
ignorehitpause = 1
[State 0]
type = veladd
triggerall = ishelper(9990)
trigger1 = roundstate >= 2 && rootdist y - 40 <= 22 && vel y > - 3
y = -0.02
ignorehitpause = 1
[State 0]
type = veladd
triggerall = ishelper(9990)
trigger1 = roundstate >= 2 && rootdist y - 40 >= 22 && vel y < 3
y = 0.02
ignorehitpause = 1
[State 0]
type = veladd
triggerall = ishelper(9990)
trigger1 = roundstate >= 2 && pos y >= 0
y = -0.04 - ((roundstate > 2 && root,alive)*0.2)
ignorehitpause = 1

[State 0]
type = turn
triggerall = ishelper(9990)
trigger1 = facing != root,facing
value = 1
ignorehitpause = 1

[State 0]
type = PlayerPush
trigger1 = ishelper(9990)
value = 0
ignorehitpause = 1

[State 0]
type = Explod
triggerall = ishelper(9990)
trigger1 = numexplod(22204) = 0
anim = 22204
id = 22204
sprpriority = 3
ownpal = 1
bindtime = -1
removetime = -1
ignorehitpause = 1
pausemovetime = 2000000000
supermovetime = 2000000000
[State 0]
type = Explod
triggerall = ishelper(9990)
trigger1 = numexplod(22205) = 0
anim = 22205
id = 22205
sprpriority = 4
ownpal = 1
scale = 0.6,0.6
bindtime = -1
removetime = -1
ignorehitpause = 1
pausemovetime = 2000000000
supermovetime = 2000000000
[State 0]
type = Explod
triggerall = ishelper(9990)
trigger1 = numexplod(22208) = 0
anim = 22208
id = 22208
sprpriority = 5
ownpal = 1
scale = 0.75,0.75
bindtime = -1
removetime = -1
ignorehitpause = 1
pausemovetime = 2000000000
supermovetime = 2000000000
[State 0]
type = Explod
triggerall = ishelper(9990)
trigger1 = gametime%5 = 0
id = 22209
anim = 22209
sprpriority = 3
vel = -5 + (random%10),-5 + (random%10)
facing = -1
ownpal = 1
ignorehitpause = 1
pausemovetime = 2000000000
supermovetime = 2000000000
[State 0]
type = Explod
triggerall = ishelper(9990)
trigger1 = gametime%5 = 0
id = 22209
anim = 22209
sprpriority = 3
vel = -4 + (random%8),-4 + (random%8)
facing = -1
ownpal = 1
scale = 0.75,0.75
ignorehitpause = 1
pausemovetime = 2000000000
supermovetime = 2000000000
[State 0]
type = Explod
triggerall = ishelper(9990)
trigger1 = gametime%3 = 0
id = 22209
anim = 22209
sprpriority = 3
vel = -3 + (random%6),-3 + (random%6)
facing = -1
ownpal = 1
scale = 0.5,0.5
ignorehitpause = 1
pausemovetime = 2000000000
supermovetime = 2000000000
[State 0]
type = Explod
triggerall = ishelper(9990)
trigger1 = numexplod(22211) = 0
anim = 22211
id = 22211
sprpriority = 2
ownpal = 1
scale = 0.75,0.75
bindtime = -1
removetime = -1
ignorehitpause = 1
pausemovetime = 2000000000
supermovetime = 2000000000
[State 0]
Type = ModifyExplod
triggerall = ishelper(9990)
trigger1 = numexplod(22211)
ID = 22211
Trans = AddAlpha
Alpha = 256-196,256
IgnoreHitPause = 1
[State 0]
type = Explod
triggerall = ishelper(9990)
trigger1 = gametime%60 = 0
anim = 22213
id = 22213
sprpriority = 4
ownpal = 1
scale = 0.75,0.75
bindtime = -1
ignorehitpause = 1
pausemovetime = 2000000000
supermovetime = 2000000000
[State 0]
type = Explod
triggerall = ishelper(9990)
trigger1 = gametime%6 = 0
id = 23041
anim = 23041
sprpriority = 3
vel = -2 + (random%4),-2 + (random%4)
facing = -1
ownpal = 1
ignorehitpause = 1
pausemovetime = 2000000000
supermovetime = 2000000000
[State 0]
type = Explod
triggerall = ishelper(9990)
trigger1 = gametime%6 = 0
id = 23041
anim = 23041
sprpriority = 3
vel = -3 + (random%6),-3 + (random%6)
facing = -1
ownpal = 1
scale = 0.75,0.75
ignorehitpause = 1
pausemovetime = 2000000000
supermovetime = 2000000000

[state 0]
type = nothitby
trigger1 = ishelper(9990)
trigger1 = var(2) < 60
value = SCA
time = 1
ignorehitpause = 1

[State 0]
type = HitOverride
trigger1 = ishelper(9990)
attr = SCA,AA,AT,AP
time = -1
slot = gametime%8
stateno = 131
ignorehitpause = 1

[State 0]
type = ReversalDef
trigger1 = ishelper(9990)
reversal.attr = SCA,AA,AP,AT
priority = 7,hit
pausetime = 0,0
sparkno = -1
hitsound = -1
numhits = 0
palfx.Time = 68
palfx.add = 0,0,0
palfx.mul = 0,0,0
palfx.color = 0
palfx.invertall = 1
p2stateno = var(0)
p2getp1state = 0
ignorehitpause = 1

[state 0]
type = hitdef
trigger1 = ishelper(9991)
trigger1 = var(1) > 0
attr = ,AA,AT,AP
hitflag = MAFDHL
damage = 20 + random%100
pausetime = 0,0
sparkno = -1
hitsound = -1
numhits = 0
guard.dist = 0
palfx.Time = 68
palfx.add = 0,0,0
palfx.mul = 0,0,0
palfx.color = 0
palfx.invertall = 1
p2stateno = var(0)
p2getp1state = 0
ignorehitpause = 1
[state 0]
type = attackdist
trigger1 = ishelper(9991)
value = 0
ignorehitpause = 1

[State 0]
type = EnvShake
trigger1 = ishelper(9990) || ishelper(9991)
trigger1 = numtarget
trigger1 = target,ishelper = 0
trigger1 = movehit = 1
time = 12
ampl = -12
freq = 120
phase = 120
ignorehitpause = 1

[State 0]
type = Explod
trigger1 = ishelper(9990) || ishelper(9991)
trigger1 = numtarget
trigger1 = target,ishelper = 0
trigger1 = movehit = 1
anim = 22212
id = 22212
postype = p2
pos = (target,const(size.mid.pos.x)),(target,const(size.mid.pos.y))
sprpriority = 5
ownpal = 1
bindtime = -1
ignorehitpause = 1
pausemovetime = 2000000000
supermovetime = 2000000000

[State 0]
type = PlaySnd
trigger1 = ishelper(9990) || ishelper(9991)
trigger1 = numtarget
trigger1 = target,ishelper = 0
trigger1 = movehit = 1
value = s2566,13
ignorehitpause = 1

[state 0]
type = targetstate
trigger1 = ishelper(9990) || ishelper(9991)
trigger1 = numtarget
trigger1 = target,ishelper
trigger1 = (root,palno = [1,6]) || (root,palno = [7,12]) && root,var(53) = 0
value = 156
ignorehitpause = 1
[state 0]
type = targetstate
trigger1 = ishelper(9990) || ishelper(9991)
trigger1 = numtarget
trigger1 = target,ishelper
trigger1 = numhelper(7888) && (root,palno = [7,12]) && root,var(53) = 1
value = ifelse((helper(7888),var(0) = [0,240]),1000044,1000064)
ignorehitpause = 1
[state 0]
type = targetdrop
trigger1 = ishelper(9990) || ishelper(9991)
trigger1 = numtarget
ignorehitpause = 1

[State 0]
type = helper
trigger1 = ishelper(9990)
trigger1 = movehit = 1 || gethitvar(damage)
trigger1 = numhelper(9991) = 0
id = 9991
stateno = 131
keyctrl = 0
ownpal = 0
helpertype = player
ignorehitpause = 1
pausemovetime = 2000000000
supermovetime = 2000000000

[state 0]
type = varset
triggerall = ishelper(9990) || ishelper(9991)
trigger1 = var(1) = [0,10]
trigger2 = var(1) = [11,20]
trigger2 = root,var(41) = 0
trigger3 = var(1) = [21,30]
trigger3 = root,var(42) = 0
trigger4 = var(1) = [31,40]
trigger4 = root,var(43) = 0
trigger5 = var(1) = [41,50]
trigger5 = root,var(44) = 0
trigger6 = var(1) = [51,60]
trigger6 = root,var(45) = 0
var(0) = root,var(40)
ignorehitpause = 1
[state 0]
type = varset
triggerall = ishelper(9990) || ishelper(9991)
trigger1 = var(1) = [11,20]
trigger1 = root,var(41) > 0
var(0) = root,var(41)
ignorehitpause = 1
[state 0]
type = varset
triggerall = ishelper(9990) || ishelper(9991)
trigger1 = var(1) = [21,30]
trigger1 = root,var(42) > 0
var(0) = root,var(42)
ignorehitpause = 1
[state 0]
type = varset
triggerall = ishelper(9990) || ishelper(9991)
trigger1 = var(1) = [31,40]
trigger1 = root,var(43) > 0
var(0) = root,var(43)
ignorehitpause = 1
[state 0]
type = varset
triggerall = ishelper(9990) || ishelper(9991)
trigger1 = var(1) = [41,50]
trigger1 = root,var(44) > 0
var(0) = root,var(44)
ignorehitpause = 1
[state 0]
type = varset
triggerall = ishelper(9990) || ishelper(9991)
trigger1 = var(1) = [51,60]
trigger1 = root,var(45) > 0
var(0) = root,var(45)
ignorehitpause = 1

[state 0]
type = varadd
triggerall = ishelper(9990) || ishelper(9991)
trigger1 = 1
var(1) = 1
ignorehitpause = 1
[state 0]
type = varset
triggerall = ishelper(9990)
trigger1 = var(1) > 60
var(1) = 0
ignorehitpause = 1

[state 0]
type = varadd
triggerall = ishelper(9990)
trigger1 = 1
var(2) = 1
ignorehitpause = 1
[state 0]
type = varset
triggerall = ishelper(9990)
trigger1 = 1
var(2) = 0
persistent = 0
ignorehitpause = 1

[State 0]
type = helper
triggerall = ishelper(9990)
triggerall = (ScreenPos X = [0,319]) && (ScreenPos Y = [0,239])
trigger1 = roundstate = 2 && random < 2 && numhelper(9870) = 0 && numhelper(9880) = 0
id = 9870
stateno = 132
keyctrl = 0
ownpal = 0
helpertype = player
ignorehitpause = 1
pausemovetime = 2000000000
supermovetime = 2000000000
[State 0]
type = helper
triggerall = ishelper(9990)
triggerall = (ScreenPos X = [0,319]) && (ScreenPos Y = [0,239])
trigger1 = roundstate = 2 && random < 2 && numhelper(9870) = 0 && numhelper(9880) = 0
id = 9880
stateno = 132
keyctrl = 0
ownpal = 0
helpertype = player
ignorehitpause = 1
pausemovetime = 2000000000
supermovetime = 2000000000

[state 0]
type = destroyself
triggerall = ishelper(9991)
trigger1 = var(1) > 60 || movecontact
ignorehitpause = 1

;\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
;-------------------------------------------------------------------------------------------------------
;-------------------------------------------------------------------------------------------------------
;\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
[Statedef 132]
[State 0]
type = StateTypeSet
trigger1 = ishelper(7777)
statetype = A
physics = N
persistent = 0
ignorehitpause = 1

[State 0]
type = ChangeAnim
triggerall = IsHelper(7777)
trigger1 = Anim != 132
value = 132
[State 0]
type = VelAdd
triggerall = IsHelper(7777)
trigger1 = 1
y = Const(movement.yaccel)
[State 0]
type = VarSet
triggerall = IsHelper(7777)
trigger1 = 1
sysvar(0) = (pos y >= 0) && (vel y > 0)
[State 0]
type = VelSet
triggerall = IsHelper(7777)
trigger1 = sysvar(0)
y = 0
[State 0]
type = PosSet
triggerall = IsHelper(7777)
trigger1 = sysvar(0)
y = 0
[State 0]
type = ChangeState
triggerall = IsHelper(7777)
triggerall = sysvar(0)
trigger1 = command = "holdback" || root,var(30) = 1
trigger1 = inguarddist
value = 130
[State 0]
type = ChangeState
triggerall = IsHelper(7777)
trigger1 = sysvar(0)
value = 52
[State 0]
type = ChangeState
triggerall = IsHelper(7777)
trigger1 = command != "holdback"
trigger1 = root,var(30) != 1
trigger2 = !inguarddist
value = 140

[state 0]
type = turn
triggerall = ishelper(7777)
triggerall = enemynear,alive || numenemy = 1
trigger1 = enemynear,facing = -facing
trigger1 = frontedgedist<enemynear,backedgedist
trigger2 = enemynear,facing = facing
trigger2 = frontedgedist<enemynear,frontedgedist

[State 0]
type = ReversalDef
trigger1 = ishelper(7777)
trigger1 = root,palno = 12
reversal.attr = SCA,AA,AP,AT
priority = 7,hit
pausetime = 0,20 + random%100
sparkno = -1
hitsound = s2566,23
numhits = 0
palfx.time = 68
palfx.add = 255,255,255
palfx.mul = 255,255,255
palfx.color = 0
palfx.invertall = 1
p2stateno = 50 + 5000*(random < 500)
p2getp1state = 0
ignorehitpause = 1

[state 0]
type = targetstate
trigger1 = ishelper(7777)
trigger1 = root,palno = 12
trigger1 = numtarget
trigger1 = target,ishelper
value = 156
ignorehitpause = 1
[state 0]
type = targetdrop
trigger1 = ishelper(7777)
trigger1 = root,palno = 12
trigger1 = numtarget
ignorehitpause = 1

;-------------------------------------------------------------------------------------------------------
[State 0]
type = StateTypeSet
trigger1 = ishelper(9870)
statetype = S
movetype = I
physics = N
persistent = 0
ignorehitpause = 1
[State 0]
type = VelSet
trigger1 = ishelper(9870)
x = 0
y = 0
persistent = 0
ignorehitpause = 1
[State 0]
type = changeanim
trigger1 = ishelper(9870)
value = 40000
persistent = 0
ignorehitpause = 1
[State 0]
type = ctrlset
trigger1 = ishelper(9870)
value = 0
persistent = 0
ignorehitpause = 1

[State 0]
type = AssertSpecial
trigger1 = ishelper(9870)
flag = nobardisplay
flag2 = nofg
flag3 = nobg
ignorehitpause = 1

[State 0]
type = bindtoparent
triggerall = ishelper(9870)
trigger1 = time <= 39
ignorehitpause = 1
[State 0]
type = posset
triggerall = ishelper(9870)
trigger1 = time = [40,289]
x = root,pos x
y = -720
ignorehitpause = 1
[State 0]
type = velset
triggerall = ishelper(9870)
trigger1 = time > 289
x = 0
y = 30
ignorehitpause = 1

[State 0]
type = PlaySnd
triggerall = ishelper(9870)
trigger1 = time = 0
value = s2566,0
volume = 255
ignorehitpause = 1
[State 0]
type = PlaySnd
triggerall = ishelper(9870)
trigger1 = time = 0
value = s2566,1
volume = 255
ignorehitpause = 1
[State 0]
type = PlaySnd
triggerall = ishelper(9870)
trigger1 = time = 0
value = s2566,2
volume = 255
ignorehitpause = 1
[State 0]
type = PlaySnd
triggerall = ishelper(9870)
trigger1 = time = 0
value = s2566,3
volume = 255
ignorehitpause = 1
[State 0]
type = PlaySnd
triggerall = ishelper(9870)
trigger1 = time = 0
value = s2566,4
volume = 255
ignorehitpause = 1
[State 0]
type = PlaySnd
triggerall = ishelper(9870)
trigger1 = time = 0
value = s2566,5
volume = 255
ignorehitpause = 1

[State 0]
type = PlaySnd
triggerall = ishelper(9870)
trigger1 = time = 39
value = s2566,20
volume = 255
ignorehitpause = 1
[State 0]
type = PlaySnd
triggerall = ishelper(9870)
trigger1 = time = 39
value = s2562,20
volume = 255
freqmul = 0.7
ignorehitpause = 1

[State 0]
type = PlaySnd
triggerall = ishelper(9870)
trigger1 = time = 273
value = s2562,14
volume = 255
freqmul = 0.7
ignorehitpause = 1
[State 0]
type = PlaySnd
triggerall = ishelper(9870)
trigger1 = time = 273
value = s2566,0
volume = 255
ignorehitpause = 1
[State 0]
type = PlaySnd
triggerall = ishelper(9870)
trigger1 = time = 273
value = s2566,16
volume = 255
ignorehitpause = 1
[State 0]
type = PlaySnd
triggerall = ishelper(9870)
trigger1 = time = 273
value = s2566,21
volume = 255
ignorehitpause = 1
[State 0]
type = PlaySnd
triggerall = ishelper(9870)
trigger1 = time = 273
value = s2566,22
volume = 255
ignorehitpause = 1

[State 0]
type = PlaySnd
triggerall = ishelper(9870)
trigger1 = time = 313
value = s2566,9
volume = 255
ignorehitpause = 1
[State 0]
type = PlaySnd
triggerall = ishelper(9870)
trigger1 = time = 313
value = s2566,10
volume = 255
ignorehitpause = 1
[State 0]
type = PlaySnd
triggerall = ishelper(9870)
trigger1 = time = 313
value = s2566,11
volume = 255
ignorehitpause = 1
[State 0]
type = PlaySnd
triggerall = ishelper(9870)
trigger1 = time = 313
value = s2566,14
volume = 255
freqmul = 0.7
ignorehitpause = 1
[State 0]
type = PlaySnd
triggerall = ishelper(9870)
trigger1 = time = 313
value = s2566,17
volume = 255
freqmul = 0.7
ignorehitpause = 1
[State 0]
type = PlaySnd
triggerall = ishelper(9870)
trigger1 = time = 313
value = s2566,18
volume = 255
ignorehitpause = 1
[State 0]
type = PlaySnd
triggerall = ishelper(9870)
trigger1 = time = 313
value = s2566,19
volume = 255
freqmul = 0.7
ignorehitpause = 1

[State 0]
type = Explod
triggerall = ishelper(9870)
trigger1 = time = 0
anim = 22215
id = 22215
sprpriority = 4
ownpal = 1
bindtime = -1
ignorehitpause = 1
pausemovetime = 2000000000
supermovetime = 2000000000
[State 0]
type = Explod
triggerall = ishelper(9870)
trigger1 = time = 0
anim = 22216
id = 22216
sprpriority = 5
ownpal = 1
bindtime = -1
ignorehitpause = 1
pausemovetime = 2000000000
supermovetime = 2000000000
[State 0]
type = Explod
triggerall = ishelper(9870)
trigger1 = time = 10
anim = 22214
id = 22214
sprpriority = -1
ownpal = 1
bindtime = -1
ignorehitpause = 1
pausemovetime = 2000000000
supermovetime = 2000000000

[State 0]
type = helper
triggerall = ishelper(9870)
trigger1 = time = 10 || time = 20 || time = 30
id = 22217
stateno = 130
keyctrl = 0
ownpal = 1
helpertype = player
ignorehitpause = 1
pausemovetime = 2000000000
supermovetime = 2000000000

[State 0]
type = Explod
triggerall = ishelper(9870)
trigger1 = Time = 39
anim = 22218
id = 22218
sprpriority = 5
postype = back
bindtime = -1
ownpal = 1
ontop = 1
ignorehitpause = 1
pausemovetime = 2000000000
supermovetime = 2000000000
[State 0]
type = Explod
triggerall = ishelper(9870)
trigger1 = Time = 289
anim = 22219
id = 22219
sprpriority = 5
postype = back
bindtime = -1
ownpal = 1
ontop = 1
ignorehitpause = 1
pausemovetime = 2000000000
supermovetime = 2000000000
[State 0]
Type = VarAdd
triggerall = ishelper(9870)
Trigger1 = Time >= 407
var(11) = 4
IgnoreHitPause = 1
[State 0]
Type = ModifyExplod
triggerall = ishelper(9870)
Trigger1 = time >= 407
ID = 22219
Trans = AddAlpha
Alpha = 256-Var(11),256
IgnoreHitPause = 1
[State 0]
type = Explod
triggerall = ishelper(9870)
trigger1 = time > 313 && gametime%3 = 0
anim = 23041
id = 22219
sprpriority = IfElse((Random <=500),5,1)
postype = back
pos = 160,240
random = 320,20
vel = 2,-3 + (random%2)
facing = -1
scale = 1,1
under = 0
ownpal = 1
ignorehitpause = 1
pausemovetime = 2000000000
supermovetime = 2000000000
[State 0]
type = Explod
triggerall = ishelper(9870)
trigger1 = time > 313 && gametime%3 = 0
anim = 23041
id = 22219
sprpriority = 0
postype = back
pos = 160,240
random = 320,20
vel = 0,-4 + (random%2)
facing = -1
scale = .5,.5
under = 0
ownpal = 1
ignorehitpause = 1
pausemovetime = 2000000000
supermovetime = 2000000000
[State 0]
type = Explod
triggerall = ishelper(9870)
trigger1 = time > 313 && gametime%3 = 0
anim = 23041
id = 22219
sprpriority = 0
postype = back
pos = 160,240
random = 320,20
vel = 0,-5 + (random%2)
facing = -1
scale = .6,.6;.3,.3
under = 0
ownpal = 1
ignorehitpause = 1
pausemovetime = 2000000000
supermovetime = 2000000000
[State 0]
type = Explod
triggerall = ishelper(9870)
trigger1 = time > 313 && gametime%3 = 0
anim = 23041
id = 22219
sprpriority = 0
postype = back
pos = 160,240
random = 320,20
vel = 0,-5 + (random%2)
facing = -1
scale = .8,.8;.3,.3
under = 0
ownpal = 1
ignorehitpause = 1
pausemovetime = 2000000000
supermovetime = 2000000000
[State 0]
type = Explod
triggerall = ishelper(9870)
trigger1 = time > 313 && gametime%3 = 0
anim = 23041
id = 22219
sprpriority = 0
postype = back
pos = 160,240
random = 320,20
vel = 0,-5 + (random%2)
facing = -1
scale = .3,.3
under = 0
ownpal = 1
ignorehitpause = 1
pausemovetime = 2000000000
supermovetime = 2000000000
[State 0]
type = Explod
triggerall = ishelper(9870)
trigger1 = time > 313 && gametime%3 = 0
anim = 23041
id = 22219
sprpriority = 0
postype = back
pos = 160,220
random = 320,20
bindtime = -1
removetime = 13
ownpal = 1
scale = .3,.3
under = 0
ownpal = 1
ignorehitpause = 1
pausemovetime = 2000000000
supermovetime = 2000000000
[State 0]
type = Explod
triggerall = ishelper(9870)
trigger1 = time > 313 && gametime%3 = 0
anim = 23041
id = 22219
sprpriority = 0
postype = back
pos = 160,220
random = 320,20
vel = 0,-6 + (random%3)
facing = -1
scale = .8,.8
under = 0
ownpal = 1
ignorehitpause = 1
pausemovetime = 2000000000
supermovetime = 2000000000
[State 0]
type = Explod
triggerall = ishelper(9870)
trigger1 = time > 313 && gametime%3 = 0
anim = 23041
id = 22219
sprpriority = 0
postype = back
pos = 160,220
random = 320,20
vel = -3+ (random%6),-3
facing = -1
scale = .8,.8
under = 0
ownpal = 1
ignorehitpause = 1
pausemovetime = 2000000000
supermovetime = 2000000000
[State 0]
type = Explod
triggerall = ishelper(9870)
trigger1 = time > 313 && gametime%3 = 0
anim = 23041
id = 22219
sprpriority = IfElse((Random <=500),5,1)
postype = back
pos = 160,220
random = 320,20
vel = 0,-3 + (random%3)
facing = -1
scale = .8,.8
under = 0
ownpal = 1
ignorehitpause = 1
pausemovetime = 2000000000
supermovetime = 2000000000

[State 0]
type = EnvShake
triggerall = ishelper(9870)
trigger1 = time = 313
time = 24
ampl = -24
freq = 240
phase = 240
ignorehitpause = 1
[State 0]
type = EnvShake
triggerall = ishelper(9870)
trigger1 = time > 337
time = 5
ampl = -5
freq = 95
phase = 95
ignorehitpause = 1

[State 0]
type = helper
triggerall = ishelper(9870)
trigger1 = numhelper(9871) = 0
id = 9871
stateno = 132
keyctrl = 0
ownpal = 0
helpertype = player
persistent = 0
ignorehitpause = 1
pausemovetime = 2000000000
supermovetime = 2000000000
[State 0]
type = helper
triggerall = ishelper(9870)
trigger1 = numhelper(9872) = 0
id = 9872
stateno = 132
keyctrl = 0
ownpal = 0
helpertype = player
persistent = 0
ignorehitpause = 1
pausemovetime = 2000000000
supermovetime = 2000000000
[State 0]
type = helper
triggerall = ishelper(9870)
trigger1 = time = 407
id = 9873
stateno = 132
keyctrl = 0
ownpal = 0
helpertype = player
persistent = 0
ignorehitpause = 1
pausemovetime = 2000000000
supermovetime = 2000000000
[State 0]
type = helper
triggerall = ishelper(9870)
trigger1 = time <= 287
id = 9874
stateno = 132
keyctrl = 0
ownpal = 0
helpertype = player
ignorehitpause = 1
pausemovetime = 2000000000
supermovetime = 2000000000

[State 0]
type = destroyself
trigger1 = ishelper(9870)
trigger1 = time > 471
ignorehitpause = 1

;-------------------------------------------------------------------------------------------------------
[State 0]
type = StateTypeSet
trigger1 = ishelper(9880)
statetype = S
movetype = I
physics = N
persistent = 0
ignorehitpause = 1
[State 0]
type = VelSet
trigger1 = ishelper(9880)
x = 0
y = 0
persistent = 0
ignorehitpause = 1
[State 0]
type = changeanim
trigger1 = ishelper(9880)
value = 40000
persistent = 0
ignorehitpause = 1
[State 0]
type = ctrlset
trigger1 = ishelper(9880)
value = 0
persistent = 0
ignorehitpause = 1

[State 0]
type = AssertSpecial
trigger1 = ishelper(9880)
flag = nobardisplay
flag2 = nofg
flag3 = nobg
ignorehitpause = 1

[State 0]
type = bindtoparent
trigger1 = ishelper(9880)
ignorehitpause = 1

[State 0]
type = PlaySnd
triggerall = ishelper(9880)
trigger1 = time = 0
value = s2566,0
volume = 255
ignorehitpause = 1
[State 0]
type = PlaySnd
triggerall = ishelper(9880)
trigger1 = time = 0
value = s2566,1
volume = 255
ignorehitpause = 1
[State 0]
type = PlaySnd
triggerall = ishelper(9880)
trigger1 = time = 0
value = s2566,2
volume = 255
ignorehitpause = 1
[State 0]
type = PlaySnd
triggerall = ishelper(9880)
trigger1 = time = 0
value = s2566,3
volume = 255
ignorehitpause = 1
[State 0]
type = PlaySnd
triggerall = ishelper(9880)
trigger1 = time = 0
value = s2566,4
volume = 255
ignorehitpause = 1
[State 0]
type = PlaySnd
triggerall = ishelper(9880)
trigger1 = time = 0
value = s2566,5
volume = 255
ignorehitpause = 1

[State 0]
type = Explod
triggerall = ishelper(9880)
trigger1 = time = 0
anim = 22215
id = 22215
sprpriority = 4
ownpal = 1
bindtime = -1
ignorehitpause = 1
pausemovetime = 2000000000
supermovetime = 2000000000
[State 0]
type = Explod
triggerall = ishelper(9880)
trigger1 = time = 0
anim = 22216
id = 22216
sprpriority = 5
ownpal = 1
bindtime = -1
ignorehitpause = 1
pausemovetime = 2000000000
supermovetime = 2000000000
[State 0]
type = Explod
triggerall = ishelper(9880)
trigger1 = time = 10
anim = 22214
id = 22214
sprpriority = -1
ownpal = 1
bindtime = -1
ignorehitpause = 1
pausemovetime = 2000000000
supermovetime = 2000000000

[State 0]
type = helper
triggerall = ishelper(9880)
trigger1 = time = 10 || time = 20 || time = 30
id = 22217
stateno = 130
keyctrl = 0
ownpal = 1
helpertype = player
ignorehitpause = 1
pausemovetime = 2000000000
supermovetime = 2000000000

[State 0]
type = AllPalfx
triggerall = ishelper(9880)
trigger1 = time = 355
sinadd = 255,255,255,100
time = 40
ignorehitpause = 1

[State 0]
type = PlaySnd
triggerall = ishelper(9880)
trigger1 = Time = 39
value = s2566,24
volume = 255
freqmul = 0.7
ignorehitpause = 1
[State 0]
type = PlaySnd
triggerall = ishelper(9880)
trigger1 = Time = 39
value = s2566,25
volume = 255
freqmul = 0.7
ignorehitpause = 1
[State 0]
type = PlaySnd
triggerall = ishelper(9880)
trigger1 = Time = 39
value = s2566,26
volume = 255
ignorehitpause = 1

[State 0]
type = Explod
triggerall = ishelper(9880)
trigger1 = Time = 39
anim = 22220
id = 22220
sprpriority = 0
postype = back
pos = 0,240
bindtime = -1
ownpal = 1
ontop = 1
ignorehitpause = 1
pausemovetime = 2000000000
supermovetime = 2000000000
[State 0]
type = Explod
triggerall = ishelper(9880)
trigger1 = Time = 39
anim = 22221
id = 22221
sprpriority = 5
postype = back
bindtime = -1
ownpal = 1
ontop = 1
ignorehitpause = 1
pausemovetime = 2000000000
supermovetime = 2000000000

[State 0]
type = EnvShake
triggerall = ishelper(9880)
trigger1 = time = [39,395]
trigger1 = (GameTime%4) = 1
time = 5
ampl = -5
freq = 95
phase = 95
ignorehitpause = 1

[State 0]
type = helper
triggerall = ishelper(9880)
trigger1 = numhelper(9881) = 0
id = 9881
stateno = 132
keyctrl = 0
ownpal = 0
helpertype = player
persistent = 0
ignorehitpause = 1
pausemovetime = 2000000000
supermovetime = 2000000000
[State 0]
type = helper
triggerall = ishelper(9880)
trigger1 = numhelper(9882) = 0
id = 9882
stateno = 132
keyctrl = 0
ownpal = 0
helpertype = player
persistent = 0
ignorehitpause = 1
pausemovetime = 2000000000
supermovetime = 2000000000

[State 0]
type = destroyself
trigger1 = ishelper(9880)
trigger1 = time > 395
ignorehitpause = 1

;-------------------------------------------------------------------------------------------------------
[State 0]
type = StateTypeSet
trigger1 = ishelper(9873)
statetype = S
movetype = I
physics = N
persistent = 0
ignorehitpause = 1
[State 0]
type = VelSet
trigger1 = ishelper(9873)
x = 0
y = 0
persistent = 0
ignorehitpause = 1
[State 0]
type = changeanim
trigger1 = ishelper(9873)
value = 40000
persistent = 0
ignorehitpause = 1
[State 0]
type = ctrlset
trigger1 = ishelper(9873)
value = 0
persistent = 0
ignorehitpause = 1
[State 0]
type = BindToroot
trigger1 = ishelper(9873)
ignorehitpause = 1

[state 0]
type = varset
triggerall = ishelper(9873)
trigger1 = time = 0
trigger2 = (time = [1,64]) && var(0) >= 0
trigger3 = (time = [65,128]) && var(0) <= 256
var(0) = ((time = 0) * 256) + (ifelse((time = [1,64]),var(0) - 4,var(0) + 4))
ignorehitpause = 1
[state 0]
type = varset
triggerall = ishelper(9873)
trigger1 = var(0) != [0,256]
var(0) = ifelse(var(0) > 256,256,0)
ignorehitpause = 1

[State 0]
type = AllPalfx
triggerall = ishelper(9873)
trigger1 = time >= 1
mul = var(0),var(0),var(0)
time = 1
ignorehitpause = 1

[State 0]
type = destroyself
triggerall = ishelper(9873)
trigger1 = time >= 129
ignorehitpause = 1

;-------------------------------------------------------------------------------------------------------
[State 0]
type = StateTypeSet
trigger1 = ishelper(9874)
statetype = S
movetype = I
physics = N
persistent = 0
ignorehitpause = 1
[State 0]
type = VelSet
trigger1 = ishelper(9874)
x = 0
y = 0
persistent = 0
ignorehitpause = 1
[State 0]
type = changeanim
trigger1 = ishelper(9874)
value = 40000
persistent = 0
ignorehitpause = 1
[State 0]
type = ctrlset
trigger1 = ishelper(9874)
value = 0
persistent = 0
ignorehitpause = 1
[State 0]
type = BindToroot
trigger1 = ishelper(9874)
ignorehitpause = 1

[State 0]
type = superpause
triggerall = ishelper(9874)
trigger1 = parent,time <= 287
time = 3
movetime = 3
anim = -1
sound = s-1
darken = 0
p2defmul = 1
unhittable = 0
ignorehitpause = 1

[state 0]
type = null
triggerall = ishelper(9874)
trigger1 = var(0) := var(0) + 1
ignorehitpause = 1

[State 0]
type = destroyself
triggerall = ishelper(9874)
trigger1 = var(0)
trigger1 = parent,time > 287
ignorehitpause = 1

;-------------------------------------------------------------------------------------------------------
[State 0]
type = StateTypeSet
trigger1 = ishelper(9871) || ishelper(9872) || ishelper(9881) || ishelper(9882)
statetype = S
movetype = A
physics = N
persistent = 0
ignorehitpause = 1
[State 0]
type = VelSet
trigger1 = ishelper(9871) || ishelper(9872) || ishelper(9881) || ishelper(9882)
x = 0
y = 0
persistent = 0
ignorehitpause = 1
[State 0]
type = changeanim
trigger1 = ishelper(9871) || ishelper(9872) || ishelper(9881) || ishelper(9882)
value = 40010
persistent = 0
ignorehitpause = 1
[State 0]
type = ctrlset
trigger1 = ishelper(9871) || ishelper(9872) || ishelper(9881) || ishelper(9882)
value = 0
persistent = 0
ignorehitpause = 1

[State 0]
type = bindtoroot
trigger1 = ishelper(9871) || ishelper(9872) || ishelper(9881) || ishelper(9882)
ignorehitpause = 1

[State 0]
type = ReversalDef
triggerall = ishelper(9871)
trigger1 = (root,palno = [7,12]) && (parent,time = [313,471])
reversal.attr = SCA,AA,AT,AP
priority = 7,hit
pausetime = 0,20
sparkno = -1
hitsound = -1
numhits = 0
palfx.Time = 60
palfx.add = 256,256,256
palfx.mul = 256,256,256
palfx.color = 0
palfx.invertall = 1
p2stateno = 1000044
ignorehitpause = 1
[State 0]
type = ReversalDef
triggerall = ishelper(9881)
trigger1 = (root,palno = [7,12]) && (parent,time = [39,375])
reversal.attr = SCA,AA,AT,AP
priority = 7,hit
pausetime = 0,20
sparkno = -1
hitsound = -1
numhits = 0
palfx.Time = 60
palfx.add = 256,256,256
palfx.mul = 256,256,256
palfx.color = 0
palfx.invertall = 1
p2stateno = 1000060 + (gametime%60<10) + (gametime%60<20) + (gametime%60<30) + (gametime%60<40) + (gametime%60<50)
ignorehitpause = 1

[State 0]
type = HitDef
triggerall = ishelper(9872)
trigger1 = (root,palno = [1,6]) && (parent,time = [313,471])
attr = ,HA
hitflag = MAFD
guardflag = M
damage = 99999999999999999999999999999999999,0
pausetime = 0,0
guard.pausetime = 0,0
sparkno = -1
hitsound = -1
animtype = hard
ground.type = trip
ground.slidetime = 600
ground.hittime = 600
air.hittime = 600
guard.hittime = 600
ground.velocity = 0,99999999999999999999999999999999999
air.velocity = 0,99999999999999999999999999999999999
fall = 1
fall.recover = 0
fall.damage = 99999999999999999999999999999999999
kill = 0
givepower = -enemynear,powermax + 1
palfx.Time = 60
palfx.add = 256,256,256
palfx.mul = 256,256,256
palfx.color = 0
palfx.invertall = 1
ignorehitpause = 1
[State 0]
type = HitDef
triggerall = ishelper(9872)
trigger1 = (root,palno = [7,12]) && (parent,time = [313,471])
attr = ,AA,AT,AP
hitflag = MAFDHL
guardflag = 
damage = 99999999999999999999999999999999999
pausetime = 0,0
guard.pausetime = 0,0
sparkno = -1
hitsound = -1
animtype = hard
ground.type = trip
ground.slidetime = 600
ground.hittime = 600
air.hittime = 600
guard.hittime = 600
ground.velocity = 0,99999999999999999999999999999999999
air.velocity = 0,99999999999999999999999999999999999
fall = 1
fall.recover = 0
fall.damage = 99999999999999999999999999999999999
givepower = -enemynear,powermax + 1
palfx.Time = 60
palfx.add = 256,256,256
palfx.mul = 256,256,256
palfx.color = 0
palfx.invertall = 1
ignorehitpause = 1
[State 0]
type = hitdef
triggerall = ishelper(9882)
trigger1 = (root,palno = [1,6]) && (parent,time = [39,375]) && gametime%3 = 0
attr = ,HA
hitflag = MAFD
guardflag = M
damage  = ((random <= 15)*(random%150)) + (random <= (3 + (root,var(53) = 1*5)))*21474836,(random <= 25)*(random%250)
pausetime = 0,0
guard.pausetime = 0,0
sparkno = -1
hitsound = -1
animtype = hard
ground.type = high
ground.slidetime = 18
ground.hittime  = 18
ground.velocity = -0.75,-0.01
guard.velocity = -9.5
air.velocity = -0.75,-0.01
fall = 1
air.fall = 1
fall.recover = 0
givepower = -enemynear,powermax + 1
palfx.Time = 60
palfx.add = 256,256,256
palfx.mul = 256,256,256
palfx.color = 0
palfx.invertall = 1
ignorehitpause = 1
[State 0]
type = hitdef
triggerall = ishelper(9882)
trigger1 = (root,palno = [7,12]) && (parent,time = [39,375]) && gametime%3 = 0
attr = ,AA,AT,AP
hitflag = MAFDHL
guardflag = 
damage  = -99999999999999999999999999999999999
pausetime = 0,0
guard.pausetime = 0,0
sparkno = -1
hitsound = -1
animtype = hard
ground.type = high
ground.slidetime = 18
ground.hittime  = 18
ground.velocity = -0.75,-0.01
guard.velocity = -9.5
air.velocity = -0.75,-0.01
fall = 1
air.fall = 1
fall.recover = 0
givepower = -enemynear,powermax + 1
palfx.Time = 60
palfx.add = 256,256,256
palfx.mul = 256,256,256
palfx.color = 0
palfx.invertall = 1
ignorehitpause = 1
[state 0]
type = attackdist
triggerall = ishelper(9872) || ishelper(9882)
trigger1 = (root,palno = [7,12])
value = 0
ignorehitpause = 1

[state 0]
type = targetdrop
triggerall = ishelper(9871) || ishelper(9872) || ishelper(9881) || ishelper(9882)
triggerall = root,palno = [1,12]
trigger1 = numtarget
trigger1 = target,IsHelper
trigger2 = numtarget >= 8
ignorehitpause = 1
[state 0]
type = targetlifeadd
triggerall = ishelper(9871) || ishelper(9872) || ishelper(9881) || ishelper(9882)
triggerall = root,palno = [7,12]
trigger1 = numtarget
value = -99999999999999999999999999999999999
Absolute = 1
ignorehitpause = 1
[state 0]
type = targetpoweradd
triggerall = ishelper(9871) || ishelper(9872) || ishelper(9881) || ishelper(9882)
triggerall = root,palno = [1,12]
trigger1 = numtarget
value = -99999999999999999999999999999999999
ignorehitpause = 1
[state 0]
type = targetstate
triggerall = ishelper(9871) || ishelper(9872) || ishelper(9881) || ishelper(9882)
triggerall = root,palno = [1,12]
trigger1 = numtarget
trigger1 = win || roundstate > 2
value = 5150
ignorehitpause = 1
[State 0]
type = TargetState
triggerall = ishelper(9871) || ishelper(9872)
triggerall = root,palno = [7,12]
trigger1 = numtarget
trigger1 = target,stateno != 5150
trigger1 = target,stateno != [1000044,1000045]
value = 1000044
ignorehitpause = 1
[State 0]
type = TargetState
triggerall = ishelper(9881) || ishelper(9882)
triggerall = root,palno = [7,12]
trigger1 = numtarget
trigger1 = target,stateno != 5150
trigger1 = target,stateno != 1000045
trigger1 = target,stateno != [1000060,1000065]
value = 1000060 + (gametime%60<10) + (gametime%60<20) + (gametime%60<30) + (gametime%60<40) + (gametime%60<50)
ignorehitpause = 1

[State 0]
type = destroyself
trigger1 = ishelper(9871) || ishelper(9872)
trigger1 = parent,time > 471
trigger2 = ishelper(9881) || ishelper(9882)
trigger2 = parent,time > 375
ignorehitpause = 1

;\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
;-------------------------------------------------------------------------------------------------------
;-------------------------------------------------------------------------------------------------------
;\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
[Statedef 140]
type = U
physics = U
ctrl = 1

[State 0]
type = ChangeAnim
triggerall = IsHelper(7777)
trigger1 = Time = 0
value = 140 + (statetype = C) + (statetype = A)*2
[State 0]
type = StateTypeSet
triggerall = IsHelper(7777)
trigger1 = Time = 0 && statetype = S
physics = S
[State 0]
type = StateTypeSet
triggerall = IsHelper(7777)
trigger1 = Time = 0 && statetype = C
physics = C
[State 0]
type = StateTypeSet
triggerall = IsHelper(7777)
trigger1 = Time = 0 && statetype = A
physics = A
[State 0]
type = StateTypeSet
triggerall = IsHelper(7777)
trigger1 = statetype = S && command = "holddown"
statetype = C
physics = C
[State 0]
type = StateTypeSet
triggerall = IsHelper(7777)
triggerall = statetype = C
trigger1 = root,var(30) != 1
Trigger1 = command != "holddown"
trigger2 = root,var(30) =1
trigger2 = enemynear,StateType = A
trigger2 = Random <= 900
statetype = S
physics = S

[State 0]
type = ReversalDef
trigger1 = ishelper(7777)
trigger1 = root,palno = 12
reversal.attr = SCA,AA,AP,AT
priority = 7,hit
pausetime = 0,20 + random%100
sparkno = -1
hitsound = s2566,23
numhits = 0
palfx.time = 68
palfx.add = 255,255,255
palfx.mul = 255,255,255
palfx.color = 0
palfx.invertall = 1
p2stateno = 50 + 5000*(random < 500)
p2getp1state = 0
ignorehitpause = 1

[state 0]
type = targetstate
trigger1 = ishelper(7777)
trigger1 = root,palno = 12
trigger1 = numtarget
trigger1 = target,ishelper
value = 156
ignorehitpause = 1
[state 0]
type = targetdrop
trigger1 = ishelper(7777)
trigger1 = root,palno = 12
trigger1 = numtarget
ignorehitpause = 1

;\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
;-------------------------------------------------------------------------------------------------------
;-------------------------------------------------------------------------------------------------------
;\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
[Statedef 150]
[State 0]
type = StateTypeSet
trigger1 = ishelper(7777)
statetype = S
movetype = H
physics = N
persistent = 0
ignorehitpause = 1
[State 0]
type = VelSet
trigger1 = ishelper(7777)
x = 0
y = 0
persistent = 0
ignorehitpause = 1

[State 0]
type = ChangeAnim
triggerall = ishelper(7777)
trigger1 = 1
value = 150
[State 0]
type = ChangeState
triggerall = ishelper(7777)
trigger1 = HitShakeOver
value = 151 + 2*ifelse(root,var(30) != 1,(command = "holddown"),(enemynear,StateType!=A))
[State 0]
type = StateTypeSet
triggerall = ishelper(7777)
trigger1 = statetype = S && command = "holddown"
statetype = C
physics = C
[State 0]
type = StateTypeSet
triggerall = ishelper(7777)
triggerall = statetype = C
trigger1 = root,var(30) != 1
Trigger1 = command != "holddown"
trigger2 = root,var(30) = 1
trigger2 = enemynear,StateType = A
trigger2 = Random <= 900
statetype = S
physics = S
[State 0]
type = ForceFeedback
triggerall = ishelper(7777)
trigger1 = time = 0
waveform = square
time = 3

[State 0]
type = ReversalDef
trigger1 = ishelper(7777)
trigger1 = root,palno = 12
reversal.attr = SCA,AA,AP,AT
priority = 7,hit
pausetime = 0,20 + random%100
sparkno = -1
hitsound = s2566,23
numhits = 0
palfx.time = 68
palfx.add = 255,255,255
palfx.mul = 255,255,255
palfx.color = 0
palfx.invertall = 1
p2stateno = 50 + 5000*(random < 500)
p2getp1state = 0
ignorehitpause = 1

[state 0]
type = targetstate
trigger1 = ishelper(7777)
trigger1 = root,palno = 12
trigger1 = numtarget
trigger1 = target,ishelper
value = 156
ignorehitpause = 1
[state 0]
type = targetdrop
trigger1 = ishelper(7777)
trigger1 = root,palno = 12
trigger1 = numtarget
ignorehitpause = 1

;-------------------------------------------------------------------------------------------------------
[State 0]
type = StateTypeSet
trigger1 = ishelper(7790)
statetype = S
movetype = I
physics = N
persistent = 0
ignorehitpause = 1
[State 0]
type = VelSet
trigger1 = ishelper(7790)
x = 0
y = 0
persistent = 0
ignorehitpause = 1
[State 0]
type = changeanim
trigger1 = ishelper(7790)
value = 40000
persistent = 0
ignorehitpause = 1
[State 0]
type = ctrlset
trigger1 = ishelper(7790)
value = 0
persistent = 0
ignorehitpause = 1
[State 0]
type = BindToroot
trigger1 = ishelper(7790)
ignorehitpause = 1

[State 0]
type = varadd
triggerall = ishelper(7790)
trigger1 = roundstate > 2
trigger1 = enemynear,alive
trigger1 = enemynear,life = 0
var(0) = 1
ignorehitpause = 1

[State 0]
Type = ChangeState
triggerall = ishelper(7790)
trigger1 = var(0) > 5
Value = 151
ignorehitpause = 1

;-------------------------------------------------------------------------------------------------------
[State 0]
type = StateTypeSet
trigger1 = ishelper(7886)
statetype = S
movetype = I
physics = N
persistent = 0
ignorehitpause = 1
[State 0]
type = VelSet
trigger1 = ishelper(7886)
x = 0
y = 0
persistent = 0
ignorehitpause = 1
[State 0]
type = changeanim
trigger1 = ishelper(7886)
value = 40000
persistent = 0
ignorehitpause = 1
[State 0]
type = ctrlset
trigger1 = ishelper(7886)
value = 0
persistent = 0
ignorehitpause = 1

[State 0]
type = bindtoroot
trigger1 = ishelper(7886)
ignorehitpause = 1

[State 0]
type = pause
triggerall = ishelper(7886)
trigger1 = roundstate < 2
time = 3
movetime = 3
ignorehitpause = 1
[State 0]
type = superpause
triggerall = ishelper(7886)
trigger1 = roundstate < 2
time = 3
movetime = 3
anim = -1
sound = s-1
darken = 0
p2defmul = 1
unhittable = 0
ignorehitpause = 1
[State 0]
type = pause
triggerall = ishelper(7886)
trigger1 = roundstate > 2
time = ifelse((root,alive && enemynear,alive),2147483647,0)
movetime = ifelse((root,alive && enemynear,alive),2147483647,0)
ignorehitpause = 1
[State 0]
type = superpause
triggerall = ishelper(7886)
trigger1 = roundstate > 2
time = ifelse((root,alive && enemynear,alive),2147483647,0)
movetime = ifelse((root,alive && enemynear,alive),2147483647,0)
anim = -1
sound = s-1
darken = 0
p2defmul = 1
unhittable = 0
ignorehitpause = 1

[state 0]
type = null
triggerall = ishelper(7886)
trigger1 = var(0) := var(0) + 1
ignorehitpause = 1

[State 0]
type = destroyself
triggerall = ishelper(7886)
trigger1 = var(0)
trigger2 = roundstate = 2
ignorehitpause = 1

;-------------------------------------------------------------------------------------------------------
[State 0]
type = StateTypeSet
trigger1 = ishelper(7888) || ishelper(7899) || ishelper(7990) || ishelper(7991)
statetype = S
movetype = A
physics = N
persistent = 0
ignorehitpause = 1
[State 0]
type = VelSet
trigger1 = ishelper(7888) || ishelper(7899) || ishelper(7990) || ishelper(7991)
x = 0
y = 0
persistent = 0
ignorehitpause = 1
[state 0]
type = changeanim
trigger1 = ishelper(7888)
trigger1 = root,var(53) = 0
trigger2 = ishelper(7899)
trigger2 = numtarget >= 8
trigger3 = ishelper(7990) || ishelper(7991)
trigger3 = var(59) = 1
trigger4 = ishelper(7990)
trigger4 = numhelper(7991)
trigger4 = helper(7991),var(59) = 1
trigger5 = ishelper(7991)
trigger5 = numhelper(7990)
trigger5 = helper(7990),var(59) = 1
value = 40000
ignorehitpause = 1
[state 0]
type = changeanim
trigger1 = ishelper(7888)
trigger1 = root,var(53) = 1
trigger2 = ishelper(7899)
trigger2 = numtarget < 8
trigger3 = ishelper(7990)
trigger3 = var(59) = 0
trigger3 = numhelper(7991)
trigger3 = helper(7991),var(59) = 0
trigger4 = ishelper(7991)
trigger4 = var(59) = 0
trigger4 = numhelper(7990)
trigger4 = helper(7990),var(59) = 0
value = 40010
ignorehitpause = 1
[State 0]
type = ctrlset
trigger1 = ishelper(7888) || ishelper(7899) || ishelper(7990) || ishelper(7991)
value = 0
persistent = 0
ignorehitpause = 1

[state 0]
type = Projectile
triggerall = ishelper(7888)
trigger1 = root,palno = 12 && ((root,var(47) > 0 && (enemynear,stateno = root,var(47) || enemynear,stateno = root,var(48))) || (enemynear,stateno = [100,119]) || (enemynear,stateno = [5000,5210]))
projanim = 40010
projid = 40010
projremove = 1
projremovetime = 1
projpriority = 2000000000
projheightbound = -2000000000,2000000000
ProjEdgeBound = 2000000000
ProjStageBound = 2000000000
attr = S,NA
hitflag = MAFDHL
sparkno = -1
hitsound = -1
numhits = 0
fall = 1
fall.recover = 0
fall.Damage = ifelse(random < 500,-99999999999999999999999999999999999,99999999999999999999999999999999999)
p2stateno = 5110 + 994934*(gametime%10 < 5 && (var(0) = [0,240])) + 994954*(gametime%10 < 5 && (var(0) = [241,360]))
p2getp1state = (gametime%10 < 5)
ignorehitpause = 1
pausemovetime = 2000000000
supermovetime = 2000000000
[state 0]
type = Projectile
triggerall = ishelper(7888)
trigger1 = root,palno = 12 && ((root,var(47) > 0 && (enemynear,stateno = root,var(47) || enemynear,stateno = root,var(48))) || (enemynear,stateno = [100,119]) || (enemynear,stateno = [5000,5210]))
projanim = 40010
projid = 40010
projremove = 1
projremovetime = 1
projpriority = 2000000000
projheightbound = -2000000000,2000000000
ProjEdgeBound = 2000000000
ProjStageBound = 2000000000
attr = S,NT
hitflag = MAFDHL
sparkno = -1
hitsound = -1
numhits = 0
fall = 1
fall.recover = 0
fall.Damage = ifelse(random < 500,-99999999999999999999999999999999999,99999999999999999999999999999999999)
p2stateno = 5110 + 994934*(gametime%10 < 5 && (var(0) = [0,240])) + 994954*(gametime%10 < 5 && (var(0) = [241,360]))
p2getp1state = (gametime%10 < 5)
ignorehitpause = 1
pausemovetime = 2000000000
supermovetime = 2000000000
[state 0]
type = Projectile
triggerall = ishelper(7888)
trigger1 = root,palno = 12 && ((root,var(47) > 0 && (enemynear,stateno = root,var(47) || enemynear,stateno = root,var(48))) || (enemynear,stateno = [100,119]) || (enemynear,stateno = [5000,5210]))
projanim = 40010
projid = 40010
projremove = 1
projremovetime = 1
projpriority = 2000000000
projheightbound = -2000000000,2000000000
ProjEdgeBound = 2000000000
ProjStageBound = 2000000000
attr = S,NP
hitflag = MAFDHL
sparkno = -1
hitsound = -1
numhits = 0
fall = 1
fall.recover = 0
fall.Damage = ifelse(random < 500,-99999999999999999999999999999999999,99999999999999999999999999999999999)
p2stateno = 5110 + 994934*(gametime%10 < 5 && (var(0) = [0,240])) + 994954*(gametime%10 < 5 && (var(0) = [241,360]))
p2getp1state = (gametime%10 < 5)
ignorehitpause = 1
pausemovetime = 2000000000
supermovetime = 2000000000
[state 0]
type = Projectile
triggerall = ishelper(7888)
trigger1 = root,palno = 12 && ((root,var(47) > 0 && (enemynear,stateno = root,var(47) || enemynear,stateno = root,var(48))) || (enemynear,stateno = [100,119]) || (enemynear,stateno = [5000,5210]))
projanim = 40010
projid = 40010
projremove = 1
projremovetime = 1
projpriority = 2000000000
projheightbound = -2000000000,2000000000
ProjEdgeBound = 2000000000
ProjStageBound = 2000000000
attr = S,SA
hitflag = MAFDHL
sparkno = -1
hitsound = -1
numhits = 0
fall = 1
fall.recover = 0
fall.Damage = ifelse(random < 500,-99999999999999999999999999999999999,99999999999999999999999999999999999)
p2stateno = 5110 + 994934*(gametime%10 < 5 && (var(0) = [0,240])) + 994954*(gametime%10 < 5 && (var(0) = [241,360]))
p2getp1state = (gametime%10 < 5)
ignorehitpause = 1
pausemovetime = 2000000000
supermovetime = 2000000000
[state 0]
type = Projectile
triggerall = ishelper(7888)
trigger1 = root,palno = 12 && ((root,var(47) > 0 && (enemynear,stateno = root,var(47) || enemynear,stateno = root,var(48))) || (enemynear,stateno = [100,119]) || (enemynear,stateno = [5000,5210]))
projanim = 40010
projid = 40010
projremove = 1
projremovetime = 1
projpriority = 2000000000
projheightbound = -2000000000,2000000000
ProjEdgeBound = 2000000000
ProjStageBound = 2000000000
attr = S,ST
hitflag = MAFDHL
sparkno = -1
hitsound = -1
numhits = 0
fall = 1
fall.recover = 0
fall.Damage = ifelse(random < 500,-99999999999999999999999999999999999,99999999999999999999999999999999999)
p2stateno = 5110 + 994934*(gametime%10 < 5 && (var(0) = [0,240])) + 994954*(gametime%10 < 5 && (var(0) = [241,360]))
p2getp1state = (gametime%10 < 5)
ignorehitpause = 1
pausemovetime = 2000000000
supermovetime = 2000000000
[state 0]
type = Projectile
triggerall = ishelper(7888)
trigger1 = root,palno = 12 && ((root,var(47) > 0 && (enemynear,stateno = root,var(47) || enemynear,stateno = root,var(48))) || (enemynear,stateno = [100,119]) || (enemynear,stateno = [5000,5210]))
projanim = 40010
projid = 40010
projremove = 1
projremovetime = 1
projpriority = 2000000000
projheightbound = -2000000000,2000000000
ProjEdgeBound = 2000000000
ProjStageBound = 2000000000
attr = S,SP
hitflag = MAFDHL
sparkno = -1
hitsound = -1
numhits = 0
fall = 1
fall.recover = 0
fall.Damage = ifelse(random < 500,-99999999999999999999999999999999999,99999999999999999999999999999999999)
p2stateno = 5110 + 994934*(gametime%10 < 5 && (var(0) = [0,240])) + 994954*(gametime%10 < 5 && (var(0) = [241,360]))
p2getp1state = (gametime%10 < 5)
ignorehitpause = 1
pausemovetime = 2000000000
supermovetime = 2000000000
[state 0]
type = Projectile
triggerall = ishelper(7888)
trigger1 = root,palno = 12 && ((root,var(47) > 0 && (enemynear,stateno = root,var(47) || enemynear,stateno = root,var(48))) || (enemynear,stateno = [100,119]) || (enemynear,stateno = [5000,5210]))
projanim = 40010
projid = 40010
projremove = 1
projremovetime = 1
projpriority = 2000000000
projheightbound = -2000000000,2000000000
ProjEdgeBound = 2000000000
ProjStageBound = 2000000000
attr = S,HA
hitflag = MAFDHL
sparkno = -1
hitsound = -1
numhits = 0
fall = 1
fall.recover = 0
fall.Damage = ifelse(random < 500,-99999999999999999999999999999999999,99999999999999999999999999999999999)
p2stateno = 5110 + 994934*(gametime%10 < 5 && (var(0) = [0,240])) + 994954*(gametime%10 < 5 && (var(0) = [241,360]))
p2getp1state = (gametime%10 < 5)
ignorehitpause = 1
pausemovetime = 2000000000
supermovetime = 2000000000
[state 0]
type = Projectile
triggerall = ishelper(7888)
trigger1 = root,palno = 12 && ((root,var(47) > 0 && (enemynear,stateno = root,var(47) || enemynear,stateno = root,var(48))) || (enemynear,stateno = [100,119]) || (enemynear,stateno = [5000,5210]))
projanim = 40010
projid = 40010
projremove = 1
projremovetime = 1
projpriority = 2000000000
projheightbound = -2000000000,2000000000
ProjEdgeBound = 2000000000
ProjStageBound = 2000000000
attr = S,HT
hitflag = MAFDHL
sparkno = -1
hitsound = -1
numhits = 0
fall = 1
fall.recover = 0
fall.Damage = ifelse(random < 500,-99999999999999999999999999999999999,99999999999999999999999999999999999)
p2stateno = 5110 + 994934*(gametime%10 < 5 && (var(0) = [0,240])) + 994954*(gametime%10 < 5 && (var(0) = [241,360]))
p2getp1state = (gametime%10 < 5)
ignorehitpause = 1
pausemovetime = 2000000000
supermovetime = 2000000000
[state 0]
type = Projectile
triggerall = ishelper(7888)
trigger1 = root,palno = 12 && ((root,var(47) > 0 && (enemynear,stateno = root,var(47) || enemynear,stateno = root,var(48))) || (enemynear,stateno = [100,119]) || (enemynear,stateno = [5000,5210]))
projanim = 40010
projid = 40010
projremove = 1
projremovetime = 1
projpriority = 2000000000
projheightbound = -2000000000,2000000000
ProjEdgeBound = 2000000000
ProjStageBound = 2000000000
attr = S,HP
hitflag = MAFDHL
sparkno = -1
hitsound = -1
numhits = 0
fall = 1
fall.recover = 0
fall.Damage = ifelse(random < 500,-99999999999999999999999999999999999,99999999999999999999999999999999999)
p2stateno = 5110 + 994934*(gametime%10 < 5 && (var(0) = [0,240])) + 994954*(gametime%10 < 5 && (var(0) = [241,360]))
p2getp1state = (gametime%10 < 5)
ignorehitpause = 1
pausemovetime = 2000000000
supermovetime = 2000000000
[state 0]
type = Projectile
triggerall = ishelper(7888)
trigger1 = root,palno = 12 && ((root,var(47) > 0 && (enemynear,stateno = root,var(47) || enemynear,stateno = root,var(48))) || (enemynear,stateno = [100,119]) || (enemynear,stateno = [5000,5210]))
projanim = 40010
projid = 40010
projremove = 1
projremovetime = 1
projpriority = 2000000000
projheightbound = -2000000000,2000000000
ProjEdgeBound = 2000000000
ProjStageBound = 2000000000
attr = S,AA
hitflag = MAFDHL
sparkno = -1
hitsound = -1
numhits = 0
fall = 1
fall.recover = 0
fall.Damage = ifelse(random < 500,-99999999999999999999999999999999999,99999999999999999999999999999999999)
p2stateno = 5110 + 994934*(gametime%10 < 5 && (var(0) = [0,240])) + 994954*(gametime%10 < 5 && (var(0) = [241,360]))
p2getp1state = (gametime%10 < 5)
ignorehitpause = 1
pausemovetime = 2000000000
supermovetime = 2000000000
[state 0]
type = Projectile
triggerall = ishelper(7888)
trigger1 = root,palno = 12 && ((root,var(47) > 0 && (enemynear,stateno = root,var(47) || enemynear,stateno = root,var(48))) || (enemynear,stateno = [100,119]) || (enemynear,stateno = [5000,5210]))
projanim = 40010
projid = 40010
projremove = 1
projremovetime = 1
projpriority = 2000000000
projheightbound = -2000000000,2000000000
ProjEdgeBound = 2000000000
ProjStageBound = 2000000000
attr = S,AT
hitflag = MAFDHL
sparkno = -1
hitsound = -1
numhits = 0
fall = 1
fall.recover = 0
fall.Damage = ifelse(random < 500,-99999999999999999999999999999999999,99999999999999999999999999999999999)
p2stateno = 5110 + 994934*(gametime%10 < 5 && (var(0) = [0,240])) + 994954*(gametime%10 < 5 && (var(0) = [241,360]))
p2getp1state = (gametime%10 < 5)
ignorehitpause = 1
pausemovetime = 2000000000
supermovetime = 2000000000
[state 0]
type = Projectile
triggerall = ishelper(7888)
trigger1 = root,palno = 12 && ((root,var(47) > 0 && (enemynear,stateno = root,var(47) || enemynear,stateno = root,var(48))) || (enemynear,stateno = [100,119]) || (enemynear,stateno = [5000,5210]))
projanim = 40010
projid = 40010
projremove = 1
projremovetime = 1
projpriority = 2000000000
projheightbound = -2000000000,2000000000
ProjEdgeBound = 2000000000
ProjStageBound = 2000000000
attr = S,AP
hitflag = MAFDHL
sparkno = -1
hitsound = -1
numhits = 0
fall = 1
fall.recover = 0
fall.Damage = ifelse(random < 500,-99999999999999999999999999999999999,99999999999999999999999999999999999)
p2stateno = 5110 + 994934*(gametime%10 < 5 && (var(0) = [0,240])) + 994954*(gametime%10 < 5 && (var(0) = [241,360]))
p2getp1state = (gametime%10 < 5)
ignorehitpause = 1
pausemovetime = 2000000000
supermovetime = 2000000000
[state 0]
type = Projectile
triggerall = ishelper(7888)
trigger1 = root,palno = 12 && ((root,var(47) > 0 && (enemynear,stateno = root,var(47) || enemynear,stateno = root,var(48))) || (enemynear,stateno = [100,119]) || (enemynear,stateno = [5000,5210]))
projanim = 40010
projid = 40010
projremove = 1
projremovetime = 1
projpriority = 2000000000
projheightbound = -2000000000,2000000000
ProjEdgeBound = 2000000000
ProjStageBound = 2000000000
attr = C,NA
hitflag = MAFDHL
sparkno = -1
hitsound = -1
numhits = 0
fall = 1
fall.recover = 0
fall.Damage = ifelse(random < 500,-99999999999999999999999999999999999,99999999999999999999999999999999999)
p2stateno = 5110 + 994934*(gametime%10 < 5 && (var(0) = [0,240])) + 994954*(gametime%10 < 5 && (var(0) = [241,360]))
p2getp1state = (gametime%10 < 5)
ignorehitpause = 1
pausemovetime = 2000000000
supermovetime = 2000000000
[state 0]
type = Projectile
triggerall = ishelper(7888)
trigger1 = root,palno = 12 && ((root,var(47) > 0 && (enemynear,stateno = root,var(47) || enemynear,stateno = root,var(48))) || (enemynear,stateno = [100,119]) || (enemynear,stateno = [5000,5210]))
projanim = 40010
projid = 40010
projremove = 1
projremovetime = 1
projpriority = 2000000000
projheightbound = -2000000000,2000000000
ProjEdgeBound = 2000000000
ProjStageBound = 2000000000
attr = C,NT
hitflag = MAFDHL
sparkno = -1
hitsound = -1
numhits = 0
fall = 1
fall.recover = 0
fall.Damage = ifelse(random < 500,-99999999999999999999999999999999999,99999999999999999999999999999999999)
p2stateno = 5110 + 994934*(gametime%10 < 5 && (var(0) = [0,240])) + 994954*(gametime%10 < 5 && (var(0) = [241,360]))
p2getp1state = (gametime%10 < 5)
ignorehitpause = 1
pausemovetime = 2000000000
supermovetime = 2000000000
[state 0]
type = Projectile
triggerall = ishelper(7888)
trigger1 = root,palno = 12 && ((root,var(47) > 0 && (enemynear,stateno = root,var(47) || enemynear,stateno = root,var(48))) || (enemynear,stateno = [100,119]) || (enemynear,stateno = [5000,5210]))
projanim = 40010
projid = 40010
projremove = 1
projremovetime = 1
projpriority = 2000000000
projheightbound = -2000000000,2000000000
ProjEdgeBound = 2000000000
ProjStageBound = 2000000000
attr = C,NP
hitflag = MAFDHL
sparkno = -1
hitsound = -1
numhits = 0
fall = 1
fall.recover = 0
fall.Damage = ifelse(random < 500,-99999999999999999999999999999999999,99999999999999999999999999999999999)
p2stateno = 5110 + 994934*(gametime%10 < 5 && (var(0) = [0,240])) + 994954*(gametime%10 < 5 && (var(0) = [241,360]))
p2getp1state = (gametime%10 < 5)
ignorehitpause = 1
pausemovetime = 2000000000
supermovetime = 2000000000
[state 0]
type = Projectile
triggerall = ishelper(7888)
trigger1 = root,palno = 12 && ((root,var(47) > 0 && (enemynear,stateno = root,var(47) || enemynear,stateno = root,var(48))) || (enemynear,stateno = [100,119]) || (enemynear,stateno = [5000,5210]))
projanim = 40010
projid = 40010
projremove = 1
projremovetime = 1
projpriority = 2000000000
projheightbound = -2000000000,2000000000
ProjEdgeBound = 2000000000
ProjStageBound = 2000000000
attr = C,SA
hitflag = MAFDHL
sparkno = -1
hitsound = -1
numhits = 0
fall = 1
fall.recover = 0
fall.Damage = ifelse(random < 500,-99999999999999999999999999999999999,99999999999999999999999999999999999)
p2stateno = 5110 + 994934*(gametime%10 < 5 && (var(0) = [0,240])) + 994954*(gametime%10 < 5 && (var(0) = [241,360]))
p2getp1state = (gametime%10 < 5)
ignorehitpause = 1
pausemovetime = 2000000000
supermovetime = 2000000000
[state 0]
type = Projectile
triggerall = ishelper(7888)
trigger1 = root,palno = 12 && ((root,var(47) > 0 && (enemynear,stateno = root,var(47) || enemynear,stateno = root,var(48))) || (enemynear,stateno = [100,119]) || (enemynear,stateno = [5000,5210]))
projanim = 40010
projid = 40010
projremove = 1
projremovetime = 1
projpriority = 2000000000
projheightbound = -2000000000,2000000000
ProjEdgeBound = 2000000000
ProjStageBound = 2000000000
attr = C,ST
hitflag = MAFDHL
sparkno = -1
hitsound = -1
numhits = 0
fall = 1
fall.recover = 0
fall.Damage = ifelse(random < 500,-99999999999999999999999999999999999,99999999999999999999999999999999999)
p2stateno = 5110 + 994934*(gametime%10 < 5 && (var(0) = [0,240])) + 994954*(gametime%10 < 5 && (var(0) = [241,360]))
p2getp1state = (gametime%10 < 5)
ignorehitpause = 1
pausemovetime = 2000000000
supermovetime = 2000000000
[state 0]
type = Projectile
triggerall = ishelper(7888)
trigger1 = root,palno = 12 && ((root,var(47) > 0 && (enemynear,stateno = root,var(47) || enemynear,stateno = root,var(48))) || (enemynear,stateno = [100,119]) || (enemynear,stateno = [5000,5210]))
projanim = 40010
projid = 40010
projremove = 1
projremovetime = 1
projpriority = 2000000000
projheightbound = -2000000000,2000000000
ProjEdgeBound = 2000000000
ProjStageBound = 2000000000
attr = C,SP
hitflag = MAFDHL
sparkno = -1
hitsound = -1
numhits = 0
fall = 1
fall.recover = 0
fall.Damage = ifelse(random < 500,-99999999999999999999999999999999999,99999999999999999999999999999999999)
p2stateno = 5110 + 994934*(gametime%10 < 5 && (var(0) = [0,240])) + 994954*(gametime%10 < 5 && (var(0) = [241,360]))
p2getp1state = (gametime%10 < 5)
ignorehitpause = 1
pausemovetime = 2000000000
supermovetime = 2000000000
[state 0]
type = Projectile
triggerall = ishelper(7888)
trigger1 = root,palno = 12 && ((root,var(47) > 0 && (enemynear,stateno = root,var(47) || enemynear,stateno = root,var(48))) || (enemynear,stateno = [100,119]) || (enemynear,stateno = [5000,5210]))
projanim = 40010
projid = 40010
projremove = 1
projremovetime = 1
projpriority = 2000000000
projheightbound = -2000000000,2000000000
ProjEdgeBound = 2000000000
ProjStageBound = 2000000000
attr = C,HA
hitflag = MAFDHL
sparkno = -1
hitsound = -1
numhits = 0
fall = 1
fall.recover = 0
fall.Damage = ifelse(random < 500,-99999999999999999999999999999999999,99999999999999999999999999999999999)
p2stateno = 5110 + 994934*(gametime%10 < 5 && (var(0) = [0,240])) + 994954*(gametime%10 < 5 && (var(0) = [241,360]))
p2getp1state = (gametime%10 < 5)
ignorehitpause = 1
pausemovetime = 2000000000
supermovetime = 2000000000
[state 0]
type = Projectile
triggerall = ishelper(7888)
trigger1 = root,palno = 12 && ((root,var(47) > 0 && (enemynear,stateno = root,var(47) || enemynear,stateno = root,var(48))) || (enemynear,stateno = [100,119]) || (enemynear,stateno = [5000,5210]))
projanim = 40010
projid = 40010
projremove = 1
projremovetime = 1
projpriority = 2000000000
projheightbound = -2000000000,2000000000
ProjEdgeBound = 2000000000
ProjStageBound = 2000000000
attr = C,HT
hitflag = MAFDHL
sparkno = -1
hitsound = -1
numhits = 0
fall = 1
fall.recover = 0
fall.Damage = ifelse(random < 500,-99999999999999999999999999999999999,99999999999999999999999999999999999)
p2stateno = 5110 + 994934*(gametime%10 < 5 && (var(0) = [0,240])) + 994954*(gametime%10 < 5 && (var(0) = [241,360]))
p2getp1state = (gametime%10 < 5)
ignorehitpause = 1
pausemovetime = 2000000000
supermovetime = 2000000000
[state 0]
type = Projectile
triggerall = ishelper(7888)
trigger1 = root,palno = 12 && ((root,var(47) > 0 && (enemynear,stateno = root,var(47) || enemynear,stateno = root,var(48))) || (enemynear,stateno = [100,119]) || (enemynear,stateno = [5000,5210]))
projanim = 40010
projid = 40010
projremove = 1
projremovetime = 1
projpriority = 2000000000
projheightbound = -2000000000,2000000000
ProjEdgeBound = 2000000000
ProjStageBound = 2000000000
attr = C,HP
hitflag = MAFDHL
sparkno = -1
hitsound = -1
numhits = 0
fall = 1
fall.recover = 0
fall.Damage = ifelse(random < 500,-99999999999999999999999999999999999,99999999999999999999999999999999999)
p2stateno = 5110 + 994934*(gametime%10 < 5 && (var(0) = [0,240])) + 994954*(gametime%10 < 5 && (var(0) = [241,360]))
p2getp1state = (gametime%10 < 5)
ignorehitpause = 1
pausemovetime = 2000000000
supermovetime = 2000000000
[state 0]
type = Projectile
triggerall = ishelper(7888)
trigger1 = root,palno = 12 && ((root,var(47) > 0 && (enemynear,stateno = root,var(47) || enemynear,stateno = root,var(48))) || (enemynear,stateno = [100,119]) || (enemynear,stateno = [5000,5210]))
projanim = 40010
projid = 40010
projremove = 1
projremovetime = 1
projpriority = 2000000000
projheightbound = -2000000000,2000000000
ProjEdgeBound = 2000000000
ProjStageBound = 2000000000
attr = C,AA
hitflag = MAFDHL
sparkno = -1
hitsound = -1
numhits = 0
fall = 1
fall.recover = 0
fall.Damage = ifelse(random < 500,-99999999999999999999999999999999999,99999999999999999999999999999999999)
p2stateno = 5110 + 994934*(gametime%10 < 5 && (var(0) = [0,240])) + 994954*(gametime%10 < 5 && (var(0) = [241,360]))
p2getp1state = (gametime%10 < 5)
ignorehitpause = 1
pausemovetime = 2000000000
supermovetime = 2000000000
[state 0]
type = Projectile
triggerall = ishelper(7888)
trigger1 = root,palno = 12 && ((root,var(47) > 0 && (enemynear,stateno = root,var(47) || enemynear,stateno = root,var(48))) || (enemynear,stateno = [100,119]) || (enemynear,stateno = [5000,5210]))
projanim = 40010
projid = 40010
projremove = 1
projremovetime = 1
projpriority = 2000000000
projheightbound = -2000000000,2000000000
ProjEdgeBound = 2000000000
ProjStageBound = 2000000000
attr = C,AT
hitflag = MAFDHL
sparkno = -1
hitsound = -1
numhits = 0
fall = 1
fall.recover = 0
fall.Damage = ifelse(random < 500,-99999999999999999999999999999999999,99999999999999999999999999999999999)
p2stateno = 5110 + 994934*(gametime%10 < 5 && (var(0) = [0,240])) + 994954*(gametime%10 < 5 && (var(0) = [241,360]))
p2getp1state = (gametime%10 < 5)
ignorehitpause = 1
pausemovetime = 2000000000
supermovetime = 2000000000
[state 0]
type = Projectile
triggerall = ishelper(7888)
trigger1 = root,palno = 12 && ((root,var(47) > 0 && (enemynear,stateno = root,var(47) || enemynear,stateno = root,var(48))) || (enemynear,stateno = [100,119]) || (enemynear,stateno = [5000,5210]))
projanim = 40010
projid = 40010
projremove = 1
projremovetime = 1
projpriority = 2000000000
projheightbound = -2000000000,2000000000
ProjEdgeBound = 2000000000
ProjStageBound = 2000000000
attr = C,AP
hitflag = MAFDHL
sparkno = -1
hitsound = -1
numhits = 0
fall = 1
fall.recover = 0
fall.Damage = ifelse(random < 500,-99999999999999999999999999999999999,99999999999999999999999999999999999)
p2stateno = 5110 + 994934*(gametime%10 < 5 && (var(0) = [0,240])) + 994954*(gametime%10 < 5 && (var(0) = [241,360]))
p2getp1state = (gametime%10 < 5)
ignorehitpause = 1
pausemovetime = 2000000000
supermovetime = 2000000000
[state 0]
type = Projectile
triggerall = ishelper(7888)
trigger1 = root,palno = 12 && ((root,var(47) > 0 && (enemynear,stateno = root,var(47) || enemynear,stateno = root,var(48))) || (enemynear,stateno = [100,119]) || (enemynear,stateno = [5000,5210]))
projanim = 40010
projid = 40010
projremove = 1
projremovetime = 1
projpriority = 2000000000
projheightbound = -2000000000,2000000000
ProjEdgeBound = 2000000000
ProjStageBound = 2000000000
attr = A,NA
hitflag = MAFDHL
sparkno = -1
hitsound = -1
numhits = 0
fall = 1
fall.recover = 0
fall.Damage = ifelse(random < 500,-99999999999999999999999999999999999,99999999999999999999999999999999999)
p2stateno = 5110 + 994934*(gametime%10 < 5 && (var(0) = [0,240])) + 994954*(gametime%10 < 5 && (var(0) = [241,360]))
p2getp1state = (gametime%10 < 5)
ignorehitpause = 1
pausemovetime = 2000000000
supermovetime = 2000000000
[state 0]
type = Projectile
triggerall = ishelper(7888)
trigger1 = root,palno = 12 && ((root,var(47) > 0 && (enemynear,stateno = root,var(47) || enemynear,stateno = root,var(48))) || (enemynear,stateno = [100,119]) || (enemynear,stateno = [5000,5210]))
projanim = 40010
projid = 40010
projremove = 1
projremovetime = 1
projpriority = 2000000000
projheightbound = -2000000000,2000000000
ProjEdgeBound = 2000000000
ProjStageBound = 2000000000
attr = A,NT
hitflag = MAFDHL
sparkno = -1
hitsound = -1
numhits = 0
fall = 1
fall.recover = 0
fall.Damage = ifelse(random < 500,-99999999999999999999999999999999999,99999999999999999999999999999999999)
p2stateno = 5110 + 994934*(gametime%10 < 5 && (var(0) = [0,240])) + 994954*(gametime%10 < 5 && (var(0) = [241,360]))
p2getp1state = (gametime%10 < 5)
ignorehitpause = 1
pausemovetime = 2000000000
supermovetime = 2000000000
[state 0]
type = Projectile
triggerall = ishelper(7888)
trigger1 = root,palno = 12 && ((root,var(47) > 0 && (enemynear,stateno = root,var(47) || enemynear,stateno = root,var(48))) || (enemynear,stateno = [100,119]) || (enemynear,stateno = [5000,5210]))
projanim = 40010
projid = 40010
projremove = 1
projremovetime = 1
projpriority = 2000000000
projheightbound = -2000000000,2000000000
ProjEdgeBound = 2000000000
ProjStageBound = 2000000000
attr = A,NP
hitflag = MAFDHL
sparkno = -1
hitsound = -1
numhits = 0
fall = 1
fall.recover = 0
fall.Damage = ifelse(random < 500,-99999999999999999999999999999999999,99999999999999999999999999999999999)
p2stateno = 5110 + 994934*(gametime%10 < 5 && (var(0) = [0,240])) + 994954*(gametime%10 < 5 && (var(0) = [241,360]))
p2getp1state = (gametime%10 < 5)
ignorehitpause = 1
pausemovetime = 2000000000
supermovetime = 2000000000
[state 0]
type = Projectile
triggerall = ishelper(7888)
trigger1 = root,palno = 12 && ((root,var(47) > 0 && (enemynear,stateno = root,var(47) || enemynear,stateno = root,var(48))) || (enemynear,stateno = [100,119]) || (enemynear,stateno = [5000,5210]))
projanim = 40010
projid = 40010
projremove = 1
projremovetime = 1
projpriority = 2000000000
projheightbound = -2000000000,2000000000
ProjEdgeBound = 2000000000
ProjStageBound = 2000000000
attr = A,SA
hitflag = MAFDHL
sparkno = -1
hitsound = -1
numhits = 0
fall = 1
fall.recover = 0
fall.Damage = ifelse(random < 500,-99999999999999999999999999999999999,99999999999999999999999999999999999)
p2stateno = 5110 + 994934*(gametime%10 < 5 && (var(0) = [0,240])) + 994954*(gametime%10 < 5 && (var(0) = [241,360]))
p2getp1state = (gametime%10 < 5)
ignorehitpause = 1
pausemovetime = 2000000000
supermovetime = 2000000000
[state 0]
type = Projectile
triggerall = ishelper(7888)
trigger1 = root,palno = 12 && ((root,var(47) > 0 && (enemynear,stateno = root,var(47) || enemynear,stateno = root,var(48))) || (enemynear,stateno = [100,119]) || (enemynear,stateno = [5000,5210]))
projanim = 40010
projid = 40010
projremove = 1
projremovetime = 1
projpriority = 2000000000
projheightbound = -2000000000,2000000000
ProjEdgeBound = 2000000000
ProjStageBound = 2000000000
attr = A,ST
hitflag = MAFDHL
sparkno = -1
hitsound = -1
numhits = 0
fall = 1
fall.recover = 0
fall.Damage = ifelse(random < 500,-99999999999999999999999999999999999,99999999999999999999999999999999999)
p2stateno = 5110 + 994934*(gametime%10 < 5 && (var(0) = [0,240])) + 994954*(gametime%10 < 5 && (var(0) = [241,360]))
p2getp1state = (gametime%10 < 5)
ignorehitpause = 1
pausemovetime = 2000000000
supermovetime = 2000000000
[state 0]
type = Projectile
triggerall = ishelper(7888)
trigger1 = root,palno = 12 && ((root,var(47) > 0 && (enemynear,stateno = root,var(47) || enemynear,stateno = root,var(48))) || (enemynear,stateno = [100,119]) || (enemynear,stateno = [5000,5210]))
projanim = 40010
projid = 40010
projremove = 1
projremovetime = 1
projpriority = 2000000000
projheightbound = -2000000000,2000000000
ProjEdgeBound = 2000000000
ProjStageBound = 2000000000
attr = A,SP
hitflag = MAFDHL
sparkno = -1
hitsound = -1
numhits = 0
fall = 1
fall.recover = 0
fall.Damage = ifelse(random < 500,-99999999999999999999999999999999999,99999999999999999999999999999999999)
p2stateno = 5110 + 994934*(gametime%10 < 5 && (var(0) = [0,240])) + 994954*(gametime%10 < 5 && (var(0) = [241,360]))
p2getp1state = (gametime%10 < 5)
ignorehitpause = 1
pausemovetime = 2000000000
supermovetime = 2000000000
[state 0]
type = Projectile
triggerall = ishelper(7888)
trigger1 = root,palno = 12 && ((root,var(47) > 0 && (enemynear,stateno = root,var(47) || enemynear,stateno = root,var(48))) || (enemynear,stateno = [100,119]) || (enemynear,stateno = [5000,5210]))
projanim = 40010
projid = 40010
projremove = 1
projremovetime = 1
projpriority = 2000000000
projheightbound = -2000000000,2000000000
ProjEdgeBound = 2000000000
ProjStageBound = 2000000000
attr = A,HA
hitflag = MAFDHL
sparkno = -1
hitsound = -1
numhits = 0
fall = 1
fall.recover = 0
fall.Damage = ifelse(random < 500,-99999999999999999999999999999999999,99999999999999999999999999999999999)
p2stateno = 5110 + 994934*(gametime%10 < 5 && (var(0) = [0,240])) + 994954*(gametime%10 < 5 && (var(0) = [241,360]))
p2getp1state = (gametime%10 < 5)
ignorehitpause = 1
pausemovetime = 2000000000
supermovetime = 2000000000
[state 0]
type = Projectile
triggerall = ishelper(7888)
trigger1 = root,palno = 12 && ((root,var(47) > 0 && (enemynear,stateno = root,var(47) || enemynear,stateno = root,var(48))) || (enemynear,stateno = [100,119]) || (enemynear,stateno = [5000,5210]))
projanim = 40010
projid = 40010
projremove = 1
projremovetime = 1
projpriority = 2000000000
projheightbound = -2000000000,2000000000
ProjEdgeBound = 2000000000
ProjStageBound = 2000000000
attr = A,HT
hitflag = MAFDHL
sparkno = -1
hitsound = -1
numhits = 0
fall = 1
fall.recover = 0
fall.Damage = ifelse(random < 500,-99999999999999999999999999999999999,99999999999999999999999999999999999)
p2stateno = 5110 + 994934*(gametime%10 < 5 && (var(0) = [0,240])) + 994954*(gametime%10 < 5 && (var(0) = [241,360]))
p2getp1state = (gametime%10 < 5)
ignorehitpause = 1
pausemovetime = 2000000000
supermovetime = 2000000000
[state 0]
type = Projectile
triggerall = ishelper(7888)
trigger1 = root,palno = 12 && ((root,var(47) > 0 && (enemynear,stateno = root,var(47) || enemynear,stateno = root,var(48))) || (enemynear,stateno = [100,119]) || (enemynear,stateno = [5000,5210]))
projanim = 40010
projid = 40010
projremove = 1
projremovetime = 1
projpriority = 2000000000
projheightbound = -2000000000,2000000000
ProjEdgeBound = 2000000000
ProjStageBound = 2000000000
attr = A,HP
hitflag = MAFDHL
sparkno = -1
hitsound = -1
numhits = 0
fall = 1
fall.recover = 0
fall.Damage = ifelse(random < 500,-99999999999999999999999999999999999,99999999999999999999999999999999999)
p2stateno = 5110 + 994934*(gametime%10 < 5 && (var(0) = [0,240])) + 994954*(gametime%10 < 5 && (var(0) = [241,360]))
p2getp1state = (gametime%10 < 5)
ignorehitpause = 1
pausemovetime = 2000000000
supermovetime = 2000000000
[state 0]
type = Projectile
triggerall = ishelper(7888)
trigger1 = root,palno = 12 && ((root,var(47) > 0 && (enemynear,stateno = root,var(47) || enemynear,stateno = root,var(48))) || (enemynear,stateno = [100,119]) || (enemynear,stateno = [5000,5210]))
projanim = 40010
projid = 40010
projremove = 1
projremovetime = 1
projpriority = 2000000000
projheightbound = -2000000000,2000000000
ProjEdgeBound = 2000000000
ProjStageBound = 2000000000
attr = A,AA
hitflag = MAFDHL
sparkno = -1
hitsound = -1
numhits = 0
fall = 1
fall.recover = 0
fall.Damage = ifelse(random < 500,-99999999999999999999999999999999999,99999999999999999999999999999999999)
p2stateno = 5110 + 994934*(gametime%10 < 5 && (var(0) = [0,240])) + 994954*(gametime%10 < 5 && (var(0) = [241,360]))
p2getp1state = (gametime%10 < 5)
ignorehitpause = 1
pausemovetime = 2000000000
supermovetime = 2000000000
[state 0]
type = Projectile
triggerall = ishelper(7888)
trigger1 = root,palno = 12 && ((root,var(47) > 0 && (enemynear,stateno = root,var(47) || enemynear,stateno = root,var(48))) || (enemynear,stateno = [100,119]) || (enemynear,stateno = [5000,5210]))
projanim = 40010
projid = 40010
projremove = 1
projremovetime = 1
projpriority = 2000000000
projheightbound = -2000000000,2000000000
ProjEdgeBound = 2000000000
ProjStageBound = 2000000000
attr = A,AT
hitflag = MAFDHL
sparkno = -1
hitsound = -1
numhits = 0
fall = 1
fall.recover = 0
fall.Damage = ifelse(random < 500,-99999999999999999999999999999999999,99999999999999999999999999999999999)
p2stateno = 5110 + 994934*(gametime%10 < 5 && (var(0) = [0,240])) + 994954*(gametime%10 < 5 && (var(0) = [241,360]))
p2getp1state = (gametime%10 < 5)
ignorehitpause = 1
pausemovetime = 2000000000
supermovetime = 2000000000
[state 0]
type = Projectile
triggerall = ishelper(7888)
trigger1 = root,palno = 12 && ((root,var(47) > 0 && (enemynear,stateno = root,var(47) || enemynear,stateno = root,var(48))) || (enemynear,stateno = [100,119]) || (enemynear,stateno = [5000,5210]))
projanim = 40010
projid = 40010
projremove = 1
projremovetime = 1
projpriority = 2000000000
projheightbound = -2000000000,2000000000
ProjEdgeBound = 2000000000
ProjStageBound = 2000000000
attr = A,AP
hitflag = MAFDHL
sparkno = -1
hitsound = -1
numhits = 0
fall = 1
fall.recover = 0
fall.Damage = ifelse(random < 500,-99999999999999999999999999999999999,99999999999999999999999999999999999)
p2stateno = 5110 + 994934*(gametime%10 < 5 && (var(0) = [0,240])) + 994954*(gametime%10 < 5 && (var(0) = [241,360]))
p2getp1state = (gametime%10 < 5)
ignorehitpause = 1
pausemovetime = 2000000000
supermovetime = 2000000000

[state 0]
type = Projectile
triggerall = ishelper(7888)
triggerall = (root,palno = [1,6]) && numhelper(7777)
trigger1 = (roundstate < 2 && (enemynear,numproj > 0 || enemynear,hitdefattr = SCA,AA,AT,AP)) || roundstate > 2
trigger2 = (root,var(54) = [2000,2999]) && gametime%60 = 0 && enemynear,life > enemynear,lifemax*0.75
trigger3 = (root,var(54) = [3000,3999]) && gametime%60 = 0 && enemynear,life > enemynear,lifemax*0.5
trigger4 = (root,var(54) = [4000,4999]) && gametime%60 = 0 && enemynear,life > enemynear,lifemax*0.25
trigger5 = root,var(54) >= 5000 && gametime%60 = 0
trigger6 = (root,life = [500,1000]) && gametime%60 = 0 && helper(7777),gethitvar(hitcount) > 30
trigger7 = (root,life = [200,499]) && gametime%60 = 0 && helper(7777),gethitvar(hitcount) > 20
trigger8 = (root,life = [0,199]) && gametime%60 = 0 && helper(7777),gethitvar(hitcount) > 10
projanim = 40030
projid = 40030
projremove = 1
projremovetime = 60
projpriority = 2000000000
projheightbound = -2000000000,2000000000
ProjEdgeBound = 2000000000
ProjStageBound = 2000000000
attr = SCA,AA,AP,AT
hitflag = MAFDHL
damage = 20 + random%100
sparkno = -1
hitsound = -1
numhits = 0
GivePower = -enemynear,power+1
pausetime = 0,20
ground.velocity = -10,15
air.velocity = -10,15
palfx.time = 60
palfx.mul = 255,0,0
palfx.invertall = 1
fall = 1
fall.recover = 0
ignorehitpause = 1
pausemovetime = 2000000000
supermovetime = 2000000000
[state 0]
type = Projectile
triggerall = ishelper(7888)
triggerall = (root,palno = [7,12]) && (GameTime%60 = [5,30])
trigger1 = (roundstate < 2 && enemynear,numproj > 0) || roundstate > 2
trigger2 = root,var(53) = 1 || root,var(56) = 1
projanim = 40010
projid = 40010
projremove = 1
projremovetime = 1
projpriority = 2000000000
projheightbound = -2000000000,2000000000
ProjEdgeBound = 2000000000
ProjStageBound = 2000000000
attr = SCA,AA,AP,AT
hitflag = MAFDHL
damage = 20 + random%100
sparkno = -1
hitsound = -1
numhits = 0
air.velocity = 100-random%200,99999999999999999999999999999999999
ground.velocity = 100-random%200,99999999999999999999999999999999999
air.slidetime = 99999999999999999999999999999999999
ground.slidetime = 99999999999999999999999999999999999
GivePower = -enemynear,power+1
palfx.time = 60
palfx.mul = 255,0,0
palfx.invertall = 1
fall = 1
fall.recover = 0
fall.Damage = ifelse(random < 500,-99999999999999999999999999999999999,99999999999999999999999999999999999)
p2stateno = 5110 + 994934*(gametime%10 < 5 && (var(0) = [0,240])) + 994954*(gametime%10 < 5 && (var(0) = [241,360]))
p2getp1state = (gametime%10 < 5)
ignorehitpause = 1
pausemovetime = 2000000000
supermovetime = 2000000000
[state 0]
type = Projectile
triggerall = ishelper(7888)
triggerall = (root,palno = [7,12]) && (GameTime%60 = [31,60])
trigger1 = (roundstate < 2 && enemynear,numproj > 0) || roundstate > 2
trigger2 = root,var(53) = 1 || root,var(56) = 1
projanim = 40010
projid = 40010
projremove = 1
projremovetime = 1
projpriority = 2000000000
projheightbound = -2000000000,2000000000
ProjEdgeBound = 2000000000
ProjStageBound = 2000000000
attr = SCA,AA,AP,AT
hitflag = MAFDHL
damage = 20 + random%100
sparkno = -1
hitsound = -1
numhits = 0
air.velocity = 100-random%200,99999999999999999999999999999999999
ground.velocity = 100-random%200,99999999999999999999999999999999999
air.slidetime = 99999999999999999999999999999999999
ground.slidetime = 99999999999999999999999999999999999
GivePower = -enemynear,power+1
palfx.time = 60
palfx.mul = 255,0,0
palfx.invertall = 1
ignorehitpause = 1
pausemovetime = 2000000000
supermovetime = 2000000000
[state 0]
type = Projectile
triggerall = ishelper(7888)
triggerall = (root,palno = [7,12]) && (GameTime%60 = [5,60])
trigger1 = (roundstate < 2 && enemynear,numproj > 0) || roundstate > 2
trigger2 = root,var(53) = 1 || root,var(56) = 1
projanim = 40020
projid = 40020
projremove = 1
projremovetime = 1
projpriority = 2000000000
projheightbound = -2000000000,2000000000
ProjEdgeBound = 2000000000
ProjStageBound = 2000000000
attr = A,AA
hitflag = P
sparkno = -1
hitsound = -1
numhits = 0
ignorehitpause = 1
pausemovetime = 2000000000
supermovetime = 2000000000

[State 0]
type = Helper
triggerall = ishelper(7899)
trigger1 = numtarget = 0 && numhelper(78880) < 8
id = 78880
stateno = 5150
ownpal = 0
keyctrl = 0
helpertype = player
ignorehitpause = 1
pausemovetime = 2000000000
supermovetime = 2000000000
[State 0]
type = Helper
triggerall = ishelper(7899)
trigger1 = numtarget = 0 && numhelper(78880) < 8
id = 78880
stateno = 5150
ownpal = 0
keyctrl = 0
helpertype = player
ignorehitpause = 1
pausemovetime = 2000000000
supermovetime = 2000000000
[State 0]
type = Helper
triggerall = ishelper(7899)
trigger1 = numtarget = 0 && numhelper(78880) < 8
id = 78880
stateno = 5150
ownpal = 0
keyctrl = 0
helpertype = player
ignorehitpause = 1
pausemovetime = 2000000000
supermovetime = 2000000000
[State 0]
type = Helper
triggerall = ishelper(7899)
trigger1 = numtarget = 0 && numhelper(78880) < 8
id = 78880
stateno = 5150
ownpal = 0
keyctrl = 0
helpertype = player
ignorehitpause = 1
pausemovetime = 2000000000
supermovetime = 2000000000
[State 0]
type = Helper
triggerall = ishelper(7899)
trigger1 = numtarget = 0 && numhelper(78880) < 8
id = 78880
stateno = 5150
ownpal = 0
keyctrl = 0
helpertype = player
ignorehitpause = 1
pausemovetime = 2000000000
supermovetime = 2000000000
[State 0]
type = Helper
triggerall = ishelper(7899)
trigger1 = numtarget = 0 && numhelper(78880) < 8
id = 78880
stateno = 5150
ownpal = 0
keyctrl = 0
helpertype = player
ignorehitpause = 1
pausemovetime = 2000000000
supermovetime = 2000000000
[State 0]
type = Helper
triggerall = ishelper(7899)
trigger1 = numtarget = 0 && numhelper(78880) < 8
id = 78880
stateno = 5150
ownpal = 0
keyctrl = 0
helpertype = player
ignorehitpause = 1
pausemovetime = 2000000000
supermovetime = 2000000000
[State 0]
type = Helper
triggerall = ishelper(7899)
trigger1 = numtarget = 0 && numhelper(78880) < 8
id = 78880
stateno = 5150
ownpal = 0
keyctrl = 0
helpertype = player
ignorehitpause = 1
pausemovetime = 2000000000
supermovetime = 2000000000

[State 0]
type = ReversalDef
trigger1 = ishelper(7888)
reversal.attr = SCA,AA,AT,AP
priority = 7,hit
pausetime = 0 + 2000000000*((root,palno=[7,12])&&(root,var(54)>=3000)),0 + 20*((root,palno=[1,6])||((root,palno=[7,12])&&(var(0)=[0,240])&&(root,var(54)<3000))) + 2000000000*((root,palno=[7,12])&&(var(0)=[0,240])&&(root,var(54)>=3000))
sparkno = -1
hitsound = -1
numhits = 0
palfx.time = IfElse((root,var(54)>=3000),2000000000,60)
palfx.mul = 255,0,0
palfx.invertall = 1
fall = 1
fall.recover = 0
fall.Damage = ifelse(random < 500,-99999999999999999999999999999999999,99999999999999999999999999999999999)
p2stateno = 5110 + 994932*(root,palno=[1,6]) + 994934*((root,palno=[7,12])&&(var(0)=[0,240]))
p2getp1state = IfElse(((root,palno=[7,12])&&(var(0)=[241,360])),0,1)
ignorehitpause = 1
[State 0]
type = ReversalDef
trigger1 = ishelper(7899) && numtarget >= 8 || ishelper(7990) && var(59) = 1 || ishelper(7991)
reversal.attr = SCA,AA,AT,AP
priority = 7,hit
pausetime = 0,0
sparkno = -1
hitsound = -1
numhits = 0
ignorehitpause = 1

[state 0]
type = hitdef
trigger1 = ishelper(7899) && numtarget < 8
attr = ,SP
hitflag = MAFD
damage = 1,1
affectteam = F
pausetime = 0,0
sparkno = -1
hitsound = -1
numhits = 0
guard.dist = 0
p2stateno = 5150
ignorehitpause = 1
[state 0]
type = hitdef
trigger1 = ishelper(7990) && var(59) = 0
attr = ,AA,AT,AP
hitflag = MAFDHL
damage = ifelse((root,palno = [1,6]),0,99)
pausetime = 0,0
sparkno = -1
hitsound = -1
numhits = 0
guard.dist = 0
p1stateno = 150
ignorehitpause = 1
[state 0]
type = attackdist
trigger1 = ishelper(7899) || ishelper(7990)
value = 0
ignorehitpause = 1

[State 0]
type = VarSet
trigger1 = ishelper(7888)
trigger1 = movehit = 1
var(1) = 20
ignorehitpause = 1
[State 0]
type = VarAdd
trigger1 = ishelper(7888)
trigger1 = var(1) > 0
var(1) = -1
ignorehitpause = 1

[state 0]
type = targetdrop
triggerall = ishelper(7888) || ishelper(7990) || ishelper(7991)
trigger1 = numtarget
trigger1 = target,IsHelper
trigger2 = numtarget >= 8
ignorehitpause = 1
[state 0]
type = targetlifeadd
triggerall = ishelper(7888) || ishelper(7990) || ishelper(7991)
trigger1 = numtarget
trigger1 = roundstate = 2
trigger1 = (root,palno = [1,6]) && root,var(53) = 1 || (root,palno = [7,12])
value = -Ceil(0.001*enemynear,Const(data.life))
Absolute = 1
ignorehitpause = 1
[state 0]
type = targetlifeadd
trigger1 = ishelper(7888)
trigger1 = numtarget
trigger1 = roundstate > 2 || (root,palno = [7,12]) && var(1) > 0
trigger2 = ishelper(7990) || ishelper(7991)
trigger2 = numtarget
trigger2 = (root,palno = [1,6]) && roundstate > 2 || (root,palno = [7,12]) && roundstate != 2
value = -99999999999999999999999999999999999
Absolute = 1
ignorehitpause = 1
[state 0]
type = targetpoweradd
trigger1 = ishelper(7888) || ishelper(7990) || ishelper(7991)
trigger1 = numtarget
trigger1 = (root,palno = [1,6]) && root,var(53) = 1 || (root,palno = [7,12])
value = -99999999999999999999999999999999999
ignorehitpause = 1
[state 0]
type = targetstate
trigger1 = ishelper(7888) || ishelper(7990) || ishelper(7991)
trigger1 = numtarget
trigger1 = target,stateno != 5150
trigger1 = roundstate > 2
value = 5150
ignorehitpause = 1
[state 0]
type = targetstate
trigger1 = ishelper(7990) || ishelper(7991)
trigger1 = root,palno = [1,6]
trigger1 = numtarget && roundstate <= 2
trigger1 = target,time > 300
trigger1 = target,stateno != 1000042
value = 1000042
ignorehitpause = 1
[State 0]
type = TargetState
trigger1 = ishelper(7888)
trigger1 = root,palno = [7,12]
trigger1 = numtarget && roundstate <= 2
trigger1 = var(0) = [0,240]
trigger1 = var(1) > 0
trigger1 = target,stateno != 5150
trigger1 = target,stateno != [1000044,1000045]
trigger2 = ishelper(7899)
trigger2 = numtarget && roundstate <= 2
trigger2 = gametime%2 = 0
trigger2 = numhelper(7888)
trigger2 = helper(7888),var(0) = [0,240]
value = 1000044
ignorehitpause = 1
[State 0]
type = TargetState
trigger1 = ishelper(7888)
trigger1 = root,palno = [7,12]
trigger1 = numtarget && roundstate <= 2
trigger1 = var(0) = [241,360]
trigger1 = target,stateno != 5110
trigger1 = target,stateno != 5150
trigger1 = target,stateno != 1000045
trigger1 = target,stateno != [1000060,1000065]
trigger2 = ishelper(7899)
trigger2 = numtarget && roundstate <= 2
trigger2 = gametime%2 = 0
trigger2 = numhelper(7888)
trigger2 = helper(7888),var(0) = [241,360]
value = 1000060 + (gametime%60<10) + (gametime%60<20) + (gametime%60<30) + (gametime%60<40) + (gametime%60<50)
ignorehitpause = 1
[state 0]
type = targetveladd
triggerall = ishelper(7888) || ishelper(7990) || ishelper(7991)
triggerall = numtarget && roundstate <= 2 && root,var(53) = 1 && root,palno = 12
trigger1 = target,alive && target,pos Y >= 0
x = 0
y = 0
ignorehitpause = 1
[state 0]
type = targetvelset
triggerall = ishelper(7888) || ishelper(7990) || ishelper(7991)
triggerall = numtarget && roundstate <= 2 && root,var(53) = 1 && root,palno = 12
trigger1 = target,alive && target,pos Y >= 0
x = 0
y = 0
ignorehitpause = 1
[state 0]
type = targetveladd
triggerall = ishelper(7888) || ishelper(7990) || ishelper(7991)
triggerall = numtarget && roundstate <= 2 && root,var(53) = 1 && root,palno = 12
trigger1 = target,alive && target,pos Y < 0
x = 0
y = 99999999999999999999999999999999999
ignorehitpause = 1
[state 0]
type = targetvelset
triggerall = ishelper(7888) || ishelper(7990) || ishelper(7991)
triggerall = numtarget && roundstate <= 2 && root,var(53) = 1 && root,palno = 12
trigger1 = target,alive && target,pos Y < 0
x = 0
y = 99999999999999999999999999999999999
ignorehitpause = 1

[State 0]
type = posset
trigger1 = ishelper(7888)
trigger1 = root,var(53) = 0
trigger2 = ishelper(7990) || ishelper(7991)
x = root,pos x
y = root,pos y
ignorehitpause = 1
[State 0]
type = posset
trigger1 = ishelper(7888)
trigger1 = root,var(53) = 1
x = enemynear,pos x
y = enemynear,pos y
ignorehitpause = 1
[State 0]
type = posset
trigger1 = ishelper(7899)
x = root,pos x
y = -1800000000
ignorehitpause = 1

[State 0]
type = VarSet
trigger1 = ishelper(7888)
trigger1 = var(0) > 360
var(0) = 0
ignorehitpause = 1
[State 0]
type = VarAdd
trigger1 = ishelper(7888)
trigger1 = root,var(57) = 69*gametime
var(0) = 1
ignorehitpause = 1
[State 0]
type = ParentVarSet
trigger1 = ishelper(7888)
var(51) = var(0)
ignorehitpause = 1

[State 0]
Type = VarSet
triggerall = ishelper(7990)
trigger1 = var(59) = 1
Trigger1 = numtarget = 0
var(59) = 0
IgnoreHitPause = 1
[State 0]
Type = VarSet
triggerall = ishelper(7888) || ishelper(7990) || ishelper(7991)
Trigger1 = numtarget
trigger1 = target,ishelper = 0
var(59) = 1
IgnoreHitPause = 1

[State 0]
type = MoveHitReset
trigger1 = ishelper(7888)
ignorehitpause = 1

;-------------------------------------------------------------------------------------------------------
[State 0]
type = StateTypeSet
trigger1 = ishelper(7889)
statetype = S
movetype = I
physics = N
persistent = 0
ignorehitpause = 1
[State 0]
type = VelSet
trigger1 = ishelper(7889)
x = 0
y = 0
persistent = 0
ignorehitpause = 1
[State 0]
type = changeanim
trigger1 = ishelper(7889)
trigger1 = roundstate > 2
value = 40000
ignorehitpause = 1
[State 0]
type = changeanim
trigger1 = ishelper(7889)
trigger1 = roundstate <= 2
value = 40021
ignorehitpause = 1
[State 0]
type = ctrlset
trigger1 = ishelper(7889)
value = 0
persistent = 0
ignorehitpause = 1

[State 0]
type = posset
triggerall = ishelper(7889)
trigger1 = root,var(50) = 0
trigger1 = root,var(53) = 0
trigger2 = root,var(50) = 0
trigger2 = root,var(53) = 1
trigger3 = root,var(50) = 1
trigger3 = numhelper(7888)
trigger3 = helper(7888),var(0) = [0,30]
x = root,pos x
y = 100000000
ignorehitpause = 1
[State 0]
type = posset
triggerall = ishelper(7889)
trigger1 = root,var(50) = 1
trigger1 = numhelper(7888)
trigger1 = helper(7888),var(0) = [31,60]
x = root,pos x
y = 200000000
ignorehitpause = 1
[State 0]
type = posset
triggerall = ishelper(7889)
trigger1 = root,var(50) = 1
trigger1 = numhelper(7888)
trigger1 = helper(7888),var(0) = [61,90]
x = root,pos x
y = 300000000
ignorehitpause = 1
[State 0]
type = posset
triggerall = ishelper(7889)
trigger1 = root,var(50) = 1
trigger1 = numhelper(7888)
trigger1 = helper(7888),var(0) = [91,120]
x = root,pos x
y = 400000000
ignorehitpause = 1
[State 0]
type = posset
triggerall = ishelper(7889)
trigger1 = root,var(50) = 1
trigger1 = numhelper(7888)
trigger1 = helper(7888),var(0) = [121,150]
x = root,pos x
y = 500000000
ignorehitpause = 1
[State 0]
type = posset
triggerall = ishelper(7889)
trigger1 = root,var(50) = 1
trigger1 = numhelper(7888)
trigger1 = helper(7888),var(0) = [151,180]
x = root,pos x
y = 600000000
ignorehitpause = 1
[State 0]
type = posset
triggerall = ishelper(7889)
trigger1 = root,var(50) = 1
trigger1 = numhelper(7888)
trigger1 = helper(7888),var(0) = [181,210]
x = root,pos x
y = 700000000
ignorehitpause = 1
[State 0]
type = posset
triggerall = ishelper(7889)
trigger1 = root,var(50) = 1
trigger1 = numhelper(7888)
trigger1 = helper(7888),var(0) = [211,240]
x = root,pos x
y = 800000000
ignorehitpause = 1
[State 0]
type = posset
triggerall = ishelper(7889)
trigger1 = root,var(50) = 1
trigger1 = numhelper(7888)
trigger1 = helper(7888),var(0) = [241,360]
x = root,pos x
y = 900000000
ignorehitpause = 1

[State 0]
type = HitBy
triggerall = ishelper(7889)
trigger1 = enemynear,stateno != 1000044
trigger1 = enemynear,stateno != [1000060,1000065]
value = C,ST
time = 1
ignorehitpause = 1
[State 0]
type = HitBy
triggerall = ishelper(7889)
trigger1 = enemynear,stateno = 1000044
trigger2 = enemynear,stateno = [1000060,1000065]
value = SCA,NA
time = 1
ignorehitpause = 1

[State 0]
type = Helper
triggerall = ishelper(7889)
triggerall = root,palno = [7,12]
trigger1 = root,var(53) = 1 || root,var(56) = 1
trigger1 = numhelper(78881) = 0 && roundstate = 2
id = 78881
stateno = 5150
ownpal = 0
keyctrl = 0
helpertype = player
ignorehitpause = 1
pausemovetime = 2000000000
supermovetime = 2000000000

;\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
;-------------------------------------------------------------------------------------------------------
;-------------------------------------------------------------------------------------------------------
;\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
[Statedef 151]
[State 0]
type = StateTypeSet
trigger1 = ishelper(7777)
statetype = S
movetype = I
physics = S
persistent = 0
ignorehitpause = 1
[State 0]
type = changeanim
trigger1 = ishelper(7777)
value = 150
persistent = 0
ignorehitpause = 1

[State 0]
type = HitVelSet
triggerall = ishelper(7777)
trigger1 = Time = 0
x = 1
[State 0]
type = VelSet
triggerall = ishelper(7777)
trigger1 = Time = GetHitVar(slidetime)
trigger2 = HitOver
x = 0
[State 0]
type = CtrlSet
triggerall = ishelper(7777)
trigger1 = Time = GetHitVar(ctrltime)
value = 1
[State 0]
type = StateTypeSet
triggerall = ishelper(7777)
trigger1 = statetype = S && command = "holddown"
statetype = C
physics = C
[State 0]
type = StateTypeSet
triggerall = ishelper(7777)
triggerall = statetype = C
trigger1 = root,var(30) != 1
Trigger1 = command != "holddown"
trigger2 = root,var(30) = 1
trigger2 = enemynear,StateType = A
trigger2 = Random <= 900
statetype = S
physics = S
[State 0]
type = ChangeState
triggerall = ishelper(7777)
trigger1 = HitOver
value = 130
ctrl = 1

[State 0]
type = ReversalDef
trigger1 = ishelper(7777)
trigger1 = root,palno = 12
reversal.attr = SCA,AA,AP,AT
priority = 7,hit
pausetime = 0,20 + random%100
sparkno = -1
hitsound = s2566,23
numhits = 0
palfx.time = 68
palfx.add = 255,255,255
palfx.mul = 255,255,255
palfx.color = 0
palfx.invertall = 1
p2stateno = 50 + 5000*(random < 500)
p2getp1state = 0
ignorehitpause = 1

[state 0]
type = targetstate
trigger1 = ishelper(7777)
trigger1 = root,palno = 12
trigger1 = numtarget
trigger1 = target,ishelper
value = 156
ignorehitpause = 1
[state 0]
type = targetdrop
trigger1 = ishelper(7777)
trigger1 = root,palno = 12
trigger1 = numtarget
ignorehitpause = 1

;-------------------------------------------------------------------------------------------------------
[State 0]
type = StateTypeSet
trigger1 = ishelper(7790)
statetype = S
movetype = I
physics = N
persistent = 0
ignorehitpause = 1
[State 0]
type = VelSet
trigger1 = ishelper(7790)
x = 0
y = 0
persistent = 0
ignorehitpause = 1
[State 0]
type = changeanim
trigger1 = ishelper(7790)
value = 40000
persistent = 0
ignorehitpause = 1
[State 0]
type = ctrlset
trigger1 = ishelper(7790)
value = 0
persistent = 0
ignorehitpause = 1
[State 0]
type = BindToroot
trigger1 = ishelper(7790)
ignorehitpause = 1

[State 0]
type = AssertSpecial
trigger1 = ishelper(7790)
flag = nobardisplay
flag2= noFG
ignorehitpause = 1

[State 0]
type = EnvShake
triggerall = ishelper(7790)
trigger1 = Time = 0
trigger2 = Time = 10
trigger3 = Time = 20
time = 10
ampl = -10
freq = 95
phase = 95
ignorehitpause = 1

[State 0]
type = PlaySnd
triggerall = ishelper(7790)
Trigger1 = Time = 0
value = s2564,79
ignorehitpause = 1
[State 0]
type = PlaySnd
triggerall = ishelper(7790)
Trigger1 = Time = 0
value = s2564,83
ignorehitpause = 1
[State 0]
type = PlaySnd
triggerall = ishelper(7790)
Trigger1 = Time = 0
value = s2564,84
ignorehitpause = 1
[State 0]
type = PlaySnd
triggerall = ishelper(7790)
Trigger1 = Time = 0
value = s2564,85
ignorehitpause = 1
[State 0]
type = PlaySnd
triggerall = ishelper(7790)
Trigger1 = Time = 0
value = s2564,86
ignorehitpause = 1
[State 0]
type = Explod
triggerall = ishelper(7790)
Trigger1 = Time = 0
id = 7790
anim = 22184
postype = back
bindtime = -1
removetime = -1
ontop = 1
ownpal = 1
ignorehitpause = 1
pausemovetime = 2000000000
supermovetime = 2000000000
[State 0]
type = Explod
triggerall = ishelper(7790)
Trigger1 = Time = 0
Trigger2 = Time = 20
id = 22185
anim = 22185
postype = back
bindtime = -1
ontop = 1
ownpal = 1
scale = 0.84,1.0
ignorehitpause = 1
pausemovetime = 2000000000
supermovetime = 2000000000
[State 0]
type = Explod
triggerall = ishelper(7790)
Trigger1 = Time = 0
Trigger2 = Time = 20
id = 22186
anim = 22186
postype = back
bindtime = -1
ontop = 1
ownpal = 1
scale = 0.84,1.0
ignorehitpause = 1
pausemovetime = 2000000000
supermovetime = 2000000000
[State 0]
type = Explod
triggerall = ishelper(7790)
Trigger1 = Time = 0
id = 22187
anim = 22187
postype = back
bindtime = -1
removetime = -1
ontop = 1
ownpal = 1
ignorehitpause = 1
pausemovetime = 2000000000
supermovetime = 2000000000
[State 0]
type = Explod
triggerall = ishelper(7790)
Trigger1 = Time = 0
id = 22188
anim = 22188
postype = back
bindtime = -1
removetime = -1
ontop = 1
ownpal = 1
ignorehitpause = 1
pausemovetime = 2000000000
supermovetime = 2000000000

[State 0]
Type = ChangeState
triggerall = ishelper(7790)
Trigger1 = Time > 65
Value = 152
ignorehitpause = 1

;\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
;-------------------------------------------------------------------------------------------------------
;-------------------------------------------------------------------------------------------------------
;\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
[Statedef 152]
[State 0]
type = StateTypeSet
trigger1 = ishelper(7777)
statetype = C
movetype = H
physics = N
persistent = 0
ignorehitpause = 1
[State 0]
type = velset
trigger1 = ishelper(7777)
x = 0
y = 0
persistent = 0
ignorehitpause = 1

[State 0]
type = ChangeAnim
triggerall = IsHelper(7777)
trigger1 = 1
value = 151
[State 0]
type = ChangeState
triggerall = IsHelper(7777)
trigger1 = HitShakeOver
value = 151 + 2*ifelse(root,var(30) != 1,(command = "holddown"),(enemynear,StateType!=A))
[State 0]
type = StateTypeSet
triggerall = IsHelper(7777)
trigger1 = statetype = S && command = "holddown"
statetype = C
physics = C
[State 0]
type = StateTypeSet
triggerall = IsHelper(7777)
triggerall = statetype = C
trigger1 = root,var(30) != 1
Trigger1 = command != "holddown"
trigger2 = root,var(30) = 1
trigger2 = enemynear,StateType = A
trigger2 = Random <= 900
statetype = S
physics = S
[State 0]
type = ForceFeedback
triggerall = IsHelper(7777)
trigger1 = time = 0
waveform = square
time = 4

[State 0]
type = ReversalDef
trigger1 = ishelper(7777)
trigger1 = root,palno = 12
reversal.attr = SCA,AA,AP,AT
priority = 7,hit
pausetime = 0,20 + random%100
sparkno = -1
hitsound = s2566,23
numhits = 0
palfx.time = 68
palfx.add = 255,255,255
palfx.mul = 255,255,255
palfx.color = 0
palfx.invertall = 1
p2stateno = 50 + 5000*(random < 500)
p2getp1state = 0
ignorehitpause = 1

[state 0]
type = targetstate
trigger1 = ishelper(7777)
trigger1 = root,palno = 12
trigger1 = numtarget
trigger1 = target,ishelper
value = 156
ignorehitpause = 1
[state 0]
type = targetdrop
trigger1 = ishelper(7777)
trigger1 = root,palno = 12
trigger1 = numtarget
ignorehitpause = 1

;-------------------------------------------------------------------------------------------------------
[State 0]
type = StateTypeSet
trigger1 = ishelper(7790)
statetype = S
movetype = I
physics = N
persistent = 0
ignorehitpause = 1
[State 0]
type = VelSet
trigger1 = ishelper(7790)
x = 0
y = 0
persistent = 0
ignorehitpause = 1
[State 0]
type = changeanim
trigger1 = ishelper(7790)
value = 40000
persistent = 0
ignorehitpause = 1
[State 0]
type = ctrlset
trigger1 = ishelper(7790)
value = 0
persistent = 0
ignorehitpause = 1
[State 0]
type = BindToroot
trigger1 = ishelper(7790)
ignorehitpause = 1

[State 0]
type = AssertSpecial
trigger1 = ishelper(7790)
flag = nobardisplay
flag2= noFG
ignorehitpause = 1

[State 0]
Type = VarAdd
triggerall = ishelper(7790)
Trigger1 = Time >= 0
V = 8
Value = 4
IgnoreHitPause = 1
[State 0]
Type = ModifyExplod
triggerall = ishelper(7790)
Trigger1 = time >= 0
ID = 7790
Trans = AddAlpha
Alpha = 256-Var(8),256
IgnoreHitPause = 1
[State 0]
Type = RemoveExplod
triggerall = ishelper(7790)
Trigger1 = time = 65
ID = 7790
IgnoreHitPause = 1

;\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
;-------------------------------------------------------------------------------------------------------
;-------------------------------------------------------------------------------------------------------
;\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
[Statedef 153]
type = C
movetype = I
physics = C
anim = 151

[State 0]
type = HitVelSet
triggerall = IsHelper(7777)
trigger1 = Time = 0
x = 1
[State 0]
type = VelSet
triggerall = IsHelper(7777)
trigger1 = Time = GetHitVar(slidetime)
trigger2 = HitOver
x = 0
[State 0]
type = CtrlSet
triggerall = IsHelper(7777)
trigger1 = Time = GetHitVar(ctrltime)
value = 1
[State 0]
type = StateTypeSet
triggerall = IsHelper(7777)
trigger1 = statetype = S && command = "holddown"
statetype = C
physics = C
[State 0]
type = StateTypeSet
triggerall = IsHelper(7777)
triggerall = statetype = C
trigger1 = root,var(30) != 1
Trigger1 = command != "holddown"
trigger2 = root,var(30) = 1
trigger2 = enemynear,StateType = A
trigger2 = Random <= 900
statetype = S
physics = S
[State 0]
type = ChangeState
triggerall = IsHelper(7777)
trigger1 = HitOver
value = 131
ctrl = 1

[State 0]
type = ReversalDef
trigger1 = ishelper(7777)
trigger1 = root,palno = 12
reversal.attr = SCA,AA,AP,AT
priority = 7,hit
pausetime = 0,20 + random%100
sparkno = -1
hitsound = s2566,23
numhits = 0
palfx.time = 68
palfx.add = 255,255,255
palfx.mul = 255,255,255
palfx.color = 0
palfx.invertall = 1
p2stateno = 50 + 5000*(random < 500)
p2getp1state = 0
ignorehitpause = 1

[state 0]
type = targetstate
trigger1 = ishelper(7777)
trigger1 = root,palno = 12
trigger1 = numtarget
trigger1 = target,ishelper
value = 156
ignorehitpause = 1
[state 0]
type = targetdrop
trigger1 = ishelper(7777)
trigger1 = root,palno = 12
trigger1 = numtarget
ignorehitpause = 1

;\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
;-------------------------------------------------------------------------------------------------------
;-------------------------------------------------------------------------------------------------------
;\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
[Statedef 154]
type = A
movetype = H
physics = N
velset = 0,0

[State 0]
type = ChangeAnim
triggerall = IsHelper(7777)
trigger1 = 1
value = 152
[State 0]
type = ChangeState
triggerall = IsHelper(7777)
trigger1 = HitShakeOver
value = 155
[State 0]
type = ForceFeedback
triggerall = IsHelper(7777)
trigger1 = time = 0
waveform = square
time = 4

[State 0]
type = ReversalDef
trigger1 = ishelper(7777)
trigger1 = root,palno = 12
reversal.attr = SCA,AA,AP,AT
priority = 7,hit
pausetime = 0,20 + random%100
sparkno = -1
hitsound = s2566,23
numhits = 0
palfx.time = 68
palfx.add = 255,255,255
palfx.mul = 255,255,255
palfx.color = 0
palfx.invertall = 1
p2stateno = 50 + 5000*(random < 500)
p2getp1state = 0
ignorehitpause = 1

[state 0]
type = targetstate
trigger1 = ishelper(7777)
trigger1 = root,palno = 12
trigger1 = numtarget
trigger1 = target,ishelper
value = 156
ignorehitpause = 1
[state 0]
type = targetdrop
trigger1 = ishelper(7777)
trigger1 = root,palno = 12
trigger1 = numtarget
ignorehitpause = 1

;\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
;-------------------------------------------------------------------------------------------------------
;-------------------------------------------------------------------------------------------------------
;\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
[Statedef 155]
type = A
movetype = I
physics = N
anim = 152

[State 0]
type = HitVelSet
triggerall = IsHelper(7777)
trigger1 = Time = 0
x = 1
y = 1
[State 0]
type = VelAdd
triggerall = IsHelper(7777)
trigger1 = 1
y = Const(movement.yaccel)
[State 0]
type = CtrlSet
triggerall = IsHelper(7777)
trigger1 = Time = GetHitVar(ctrltime)
value = 1
[State 0]
type = VarSet
triggerall = IsHelper(7777)
trigger1 = 1
sysvar(0) = (pos y >= 0) && (vel y > 0)
[State 0]
type = VelSet
triggerall = IsHelper(7777)
trigger1 = sysvar(0)
y = 0
[State 0]
type = PosSet
triggerall = IsHelper(7777)
trigger1 = sysvar(0)
y = 0
[State 0]
type = ChangeState
triggerall = IsHelper(7777)
trigger1 = sysvar(0)
trigger1 = command = "holdback"
trigger1 = inguarddist
value = 130
[State 0]
type = ChangeState
triggerall = IsHelper(7777)
trigger1 = sysvar(0)
value = 52

[State 0]
type = ReversalDef
trigger1 = ishelper(7777)
trigger1 = root,palno = 12
reversal.attr = SCA,AA,AP,AT
priority = 7,hit
pausetime = 0,20 + random%100
sparkno = -1
hitsound = s2566,23
numhits = 0
palfx.time = 68
palfx.add = 255,255,255
palfx.mul = 255,255,255
palfx.color = 0
palfx.invertall = 1
p2stateno = 50 + 5000*(random < 500)
p2getp1state = 0
ignorehitpause = 1

[state 0]
type = targetstate
trigger1 = ishelper(7777)
trigger1 = root,palno = 12
trigger1 = numtarget
trigger1 = target,ishelper
value = 156
ignorehitpause = 1
[state 0]
type = targetdrop
trigger1 = ishelper(7777)
trigger1 = root,palno = 12
trigger1 = numtarget
ignorehitpause = 1

;\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
;-------------------------------------------------------------------------------------------------------
;-------------------------------------------------------------------------------------------------------
;\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
[statedef 156]

[State 0]
type = AssertSpecial
trigger1 = ishelper
flag = noshadow
flag2 = invisible
ignorehitpause = 1

[State 0]
type = screenbound
trigger1 = ishelper
value = 0
movecamera = 0,0
ignorehitpause = 1

[state 0]
type = NotHitBy
trigger1 = ishelper
value = SCA
time = -1
ignorehitpause = 1

[State 0]
type = Afterimagetime
trigger1 = ishelper
time = 0
ignorehitpause = 1
[state 0]
type = RemoveExplod
trigger1 = ishelper
ignorehitpause = 1

[State 0]
type = DestroySelf
trigger1 = 1
ignorehitpause = 1

;\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
;-------------------------------------------------------------------------------------------------------
;-------------------------------------------------------------------------------------------------------
;\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
[statedef 157]

[State 0]
type = AssertSpecial
trigger1 = ishelper
flag = noshadow
flag2 = invisible
ignorehitpause = 1

[State 0]
type = screenbound
trigger1 = ishelper
value = 0
movecamera = 0,0
ignorehitpause = 1

[state 0]
type = NotHitBy
trigger1 = ishelper
value = SCA
time = -1
ignorehitpause = 1

[State 0]
type = Afterimagetime
trigger1 = ishelper
time = 0
ignorehitpause = 1
[state 0]
type = RemoveExplod
trigger1 = ishelper
ignorehitpause = 1

[state 0]
type = parentvaradd
trigger1 = ishelper(7777)
var(49) = 1
persistent = 0
ignorehitpause = 1

[State 0]
type = DestroySelf
trigger1 = 1
ignorehitpause = 1

;\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
;-------------------------------------------------------------------------------------------------------
;-------------------------------------------------------------------------------------------------------
;\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
[Statedef 158]
type = U
movetype = I
physics = U
velSet = 0,0
anim = 40000
ctrl = 0

[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1
[state 0]
type = Null
trigger1 = 1
ignorehitpause = 1

[State 0]
type = selfstate
trigger1 = 1
value = 120*(!ishelper) + 151*(ishelper && (statetype = S || statetype = L)) + 153*(ishelper && statetype = C) + 155*(ishelper && statetype = A)
ctrl = 0
ignorehitpause = 1

;\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
;-------------------------------------------------------------------------------------------------------
;-------------------------------------------------------------------------------------------------------
;\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
[Statedef 170]
type = C
moveType = I
physics = N
velSet = 0,0
anim = 170
ctrl = 0

[State 0]
type = PlaySnd
trigger1 = animelem = 2
value = 170,0
ignorehitpause = 1

[State 0]
type = PosSet
trigger1 = 1
y = 0
ignorehitpause = 1

[State 0]
type = AssertSpecial
trigger1 = time = [0,190]
flag = roundnotover
ignorehitpause = 1

;-------------------------------------------------------------------------------------------------------
[StateDef 175]
type = S
moveType = I
physics = N
velSet = 0,0
ctrl = 0

[State 0]
type = ChangeState
trigger1 = Time = 0
trigger1 = !SelfAnimExist(175)
value = 170

[State 0]
type = PosSet
trigger1 = 1
y = 0
ignorehitpause = 1

[State 0]
type = ChangeAnim
trigger1 = Time = 0
value = 175
ignorehitpause = 1

;-------------------------------------------------------------------------------------------------------
[Statedef 180]
type = S
moveType = I
physics = N
velSet = 0,0
ctrl = 0

[State 0]
type = PosSet
trigger1 = 1
y = 0
ignorehitpause = 1

[State 0]
type = ChangeState
trigger1 = 1
value = 181

;-------------------------------------------------------------------------------------------------------
[Statedef 181]
type = S
moveType = I
physics = N
velSet = 0,0
anim = 181
ctrl = 0

[State 0]
type = PlaySnd
trigger1 = animelem = 2
value = 181,0
ignorehitpause = 1

[State 0]
type = screenbound
trigger1 = 1
value = 1
movecamera = 1
ignorehitpause = 1

[State 0]
type = AssertSpecial
trigger1 = time = [0,190]
flag = roundnotover
ignorehitpause = 1

;\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
;-------------------------------------------------------------------------------------------------------
;-------------------------------------------------------------------------------------------------------
;\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
[Statedef 190]
type = S
moveType = I
physics = N
velSet = 0,0
anim = 190
ctrl = 0

[State 0]
type = PlaySnd
trigger1 = animelem = 3
value = 190,0
channel = 5
ignorehitpause = 1

[State 0] 
type = AssertSpecial
trigger1 = 1
flag = Intro
ignorehitpause = 1

[State 0] 
type = ChangeState
trigger1 = AnimTime = 0
value = 0

;\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
;-------------------------------------------------------------------------------------------------------
;-------------------------------------------------------------------------------------------------------
;\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
[Statedef 5000]
type = S
movetype = H
physics = N
velset = 0,0

[State 0]
type = ChangeAnim
triggerall = ishelper(7777)
trigger1 = Time = 0
trigger1 = GetHitVar(animtype) != [3,5]
value = ifelse((GetHitVar(groundtype) = 1),5000,5010) + GetHitVar(animtype)
[State 0]
type = ChangeAnim
triggerall = ishelper(7777)
trigger1 = Time = 0
trigger1 = GetHitVar(animtype) = [3,5]
value = 5030
[State 0]
type = ChangeAnim
triggerall = ishelper(7777)
trigger1 = Time = 0
trigger1 = (GetHitVar(animtype) = [4,5]) && (SelfAnimExist(5047 + GetHitVar(animtype)))
value = 5047 + GetHitVar(animtype)
[State 0]
type = ChangeAnim
triggerall = ishelper(7777)
trigger1 = Time > 0
value = anim
[State 0]
type = StateTypeSet
triggerall = ishelper(7777)
trigger1 = Time = 0
trigger1 = GetHitVar(yvel) != 0 || GetHitVar(fall)
trigger2 = Pos Y != 0
statetype = a
[State 0]
type = ChangeState
triggerall = ishelper(7777)
trigger1 = HitShakeOver
trigger1 = GetHitVar(yvel) = 0 && !GetHitVar(fall)
value = 5001
[State 0]
type = ChangeState
triggerall = ishelper(7777)
trigger1 = HitShakeOver
value = 5030
[State 0]
type = ForceFeedback
triggerall = ishelper(7777)
trigger1 = anim = 5000
trigger2 = anim = 5010
persistent = 0
time = 6
waveform = square
[State 0]
type = ForceFeedback
triggerall = ishelper(7777)
trigger1 = anim = 5001
trigger2 = anim = 5011
persistent = 0
time = 8
waveform = sinesquare
ampl = 110,-1,-.3
[State 0]
type = ForceFeedback
triggerall = ishelper(7777)
trigger1 = anim = 5012
trigger2 = anim = 5002
trigger3 = anim = 5030
persistent = 0
time = 15
waveform = sinesquare
ampl = 140

[State 0]
type = ChangeState
triggerall = IsHelper
trigger1 = !IsHelper(7777)
trigger2 = name != "Senna Kyoudou"
value = 156
ctrl = 0
ignorehitpause = 1
[state 0]
type = lifeset
trigger1 = !ishelper && name != "Senna Kyoudou"
value = 0
ignorehitpause = 1
[state 0]
type = powerset
trigger1 = name != "Senna Kyoudou"
value = 0
ignorehitpause = 1
[State 0]
type = changestate
triggerall = !ishelper && name != "Senna Kyoudou"
trigger1 = !alive
value = 5150
ctrl = 0
ignorehitpause = 1
[State 0]
type = SelfState
triggerall = !ishelper && name != "Senna Kyoudou"
trigger1 = alive && time > 0
value = 5050
ctrl = 0
ignorehitpause = 1

;-------------------------------------------------------------------------------------------------------
[Statedef 5001]
type = S
movetype = H
physics = S

[State 0]
type = HitVelSet
triggerall = ishelper(7777)
trigger1 = Time = 0
x = 1
[State 0]
type = ChangeAnim
triggerall = ishelper(7777)
trigger1 = AnimTime = 0
value = 5005 + GetHitVar(animtype) + (GetHitVar(groundtype)=2)*10
[State 0]
type = VelMul
triggerall = ishelper(7777)
trigger1 = Time >= GetHitVar(slidetime)
x = .6
[State 0]
type = VelSet
triggerall = ishelper(7777)
trigger1 = HitOver
x = 0
[State 0]
type = DefenceMulSet
triggerall = ishelper(7777)
trigger1 = HitOver
value = 1
[State 0]
type = ChangeState
triggerall = ishelper(7777)
trigger1 = HitOver
value = 0
ctrl = 1

[State 0]
type = ChangeState
triggerall = IsHelper
trigger1 = !IsHelper(7777)
trigger2 = name != "Senna Kyoudou"
value = 156
ctrl = 0
ignorehitpause = 1
[state 0]
type = lifeset
trigger1 = !ishelper && name != "Senna Kyoudou"
value = 0
ignorehitpause = 1
[state 0]
type = powerset
trigger1 = name != "Senna Kyoudou"
value = 0
ignorehitpause = 1
[State 0]
type = changestate
triggerall = !ishelper && name != "Senna Kyoudou"
trigger1 = !alive
value = 5150
ctrl = 0
ignorehitpause = 1
[State 0]
type = SelfState
triggerall = !ishelper && name != "Senna Kyoudou"
trigger1 = alive && time > 0
value = 5050
ctrl = 0
ignorehitpause = 1

;-------------------------------------------------------------------------------------------------------
[Statedef 5010]
type = C
movetype = H
physics = N
velset = 0,0

[State 0]
type = ChangeAnim
triggerall = ishelper(7777)
trigger1 = Time = 0
trigger1 = GetHitVar(animtype) != [3,5]
value = 5020 + GetHitVar(animtype)
[State 0]
type = ChangeAnim
triggerall = ishelper(7777)
trigger1 = Time = 0
trigger1 = GetHitVar(animtype) = [3,5]
value = 5030
[State 0]
type = ChangeAnim
triggerall = ishelper(7777)
trigger1 = Time = 0
trigger1 = (GetHitVar(animtype) = [4,5]) && (SelfAnimExist(5047 + GetHitVar(animtype)))
value = 5047 + GetHitVar(animtype) ;5051 - 4 + type
[State 0]
type = ChangeAnim
triggerall = ishelper(7777)
trigger1 = Time > 0
value = anim
[State 0]
type = StateTypeSet
triggerall = ishelper(7777)
triggerall = Time = 0
trigger1 = GetHitVar(yvel) != 0 || GetHitVar(fall)
trigger2 = Pos Y != 0
statetype = a
[State 0]
type = ChangeState
triggerall = ishelper(7777)
trigger1 = HitShakeOver
trigger1 = GetHitVar(yvel) = 0 && !GetHitVar(fall)
value = 5011
[State 0]
type = ChangeState
triggerall = ishelper(7777)
trigger1 = HitShakeOver
value = 5030
[State 0]
type = ForceFeedback
triggerall = ishelper(7777)
trigger1 = anim = 5020
persistent = 0
time = 6
waveform = square
[State 0]
type = ForceFeedback
triggerall = ishelper(7777)
trigger1 = anim = 5021
persistent = 0
time = 8
waveform = sinesquare
ampl = 110,-1,-.3
[State 0]
type = ForceFeedback
triggerall = ishelper(7777)
trigger1 = anim = 5022
persistent = 0
time = 15
waveform = sinesquare
ampl = 140

[State 0]
type = ChangeState
triggerall = IsHelper
trigger1 = !IsHelper(7777)
trigger2 = name != "Senna Kyoudou"
value = 156
ctrl = 0
ignorehitpause = 1
[state 0]
type = lifeset
trigger1 = !ishelper && name != "Senna Kyoudou"
value = 0
ignorehitpause = 1
[state 0]
type = powerset
trigger1 = name != "Senna Kyoudou"
value = 0
ignorehitpause = 1
[State 0]
type = changestate
triggerall = !ishelper && name != "Senna Kyoudou"
trigger1 = !alive
value = 5150
ctrl = 0
ignorehitpause = 1
[State 0]
type = SelfState
triggerall = !ishelper && name != "Senna Kyoudou"
trigger1 = alive && time > 0
value = 5050
ctrl = 0
ignorehitpause = 1

;-------------------------------------------------------------------------------------------------------
[Statedef 5011]
type = C
movetype = H
physics = C

[State 0]
type = HitVelSet
triggerall = ishelper(7777)
trigger1 = Time = 0
x = 1
[State 0]
type = ChangeAnim
triggerall = ishelper(7777)
trigger1 = AnimTime = 0
value = 5025 + GetHitVar(animtype)
[State 0]
type = VelMul
triggerall = ishelper(7777)
trigger1 = Time >= GetHitVar(slidetime)
x = .6
[State 0]
type = VelSet
triggerall = ishelper(7777)
trigger1 = HitOver
x = 0
[State 0]
type = DefenceMulSet
triggerall = ishelper(7777)
trigger1 = HitOver
value = 1
[State 0]
type = ChangeState
triggerall = ishelper(7777)
trigger1 = HitOver
value = 11
ctrl = 1

[State 0]
type = ChangeState
triggerall = IsHelper
trigger1 = !IsHelper(7777)
trigger2 = name != "Senna Kyoudou"
value = 156
ctrl = 0
ignorehitpause = 1
[state 0]
type = lifeset
trigger1 = !ishelper && name != "Senna Kyoudou"
value = 0
ignorehitpause = 1
[state 0]
type = powerset
trigger1 = name != "Senna Kyoudou"
value = 0
ignorehitpause = 1
[State 0]
type = changestate
triggerall = !ishelper && name != "Senna Kyoudou"
trigger1 = !alive
value = 5150
ctrl = 0
ignorehitpause = 1
[State 0]
type = SelfState
triggerall = !ishelper && name != "Senna Kyoudou"
trigger1 = alive && time > 0
value = 5050
ctrl = 0
ignorehitpause = 1

;-------------------------------------------------------------------------------------------------------
[Statedef 5020]
type = A
movetype = H
physics = N
velset = 0,0

[State 0]
type = ChangeAnim
triggerall = ishelper(7777)
trigger1 = Time = 0
trigger1 = GetHitVar(animtype) != [3,5]
value = ifelse((GetHitVar(airtype) = 1),5000,5010) + GetHitVar(animtype)
[State 0]
type = ChangeAnim
triggerall = ishelper(7777)
trigger1 = Time = 0
trigger1 = GetHitVar(animtype) = [3,5]
value = 5030
[State 0]
type = ChangeAnim
triggerall = ishelper(7777)
trigger1 = Time = 0
trigger1 = (GetHitVar(animtype) = [4,5]) && (SelfAnimExist(5047 + GetHitVar(animtype)))
value = 5047 + GetHitVar(animtype) ;5051 - 4 + type
[State 0]
type = ChangeAnim
triggerall = ishelper(7777)
trigger1 = Time > 0
value = anim
[State 0]
type = ChangeState
triggerall = ishelper(7777)
trigger1 = HitShakeOver
value = 5030
[State 0]
type = ForceFeedback
triggerall = ishelper(7777)
trigger1 = anim = 5000
trigger2 = anim = 5010
persistent = 0
time = 6
waveform = square
[State 0]
type = ForceFeedback
triggerall = ishelper(7777)
trigger1 = anim = 5001
trigger2 = anim = 5011
persistent = 0
time = 8
waveform = sinesquare
ampl = 110,-1,-.3
[State 0]
type = ForceFeedback
triggerall = ishelper(7777)
trigger1 = anim = 5012
trigger2 = anim = 5002
trigger3 = anim = 5030
trigger4 = anim = [5051,5059]
persistent = 0
time = 15
waveform = sinesquare
ampl = 140

[State 0]
type = ChangeState
triggerall = IsHelper
trigger1 = !IsHelper(7777)
trigger2 = name != "Senna Kyoudou"
value = 156
ctrl = 0
ignorehitpause = 1
[state 0]
type = lifeset
trigger1 = !ishelper && name != "Senna Kyoudou"
value = 0
ignorehitpause = 1
[state 0]
type = powerset
trigger1 = name != "Senna Kyoudou"
value = 0
ignorehitpause = 1
[State 0]
type = changestate
triggerall = !ishelper && name != "Senna Kyoudou"
trigger1 = !alive
value = 5150
ctrl = 0
ignorehitpause = 1
[State 0]
type = SelfState
triggerall = !ishelper && name != "Senna Kyoudou"
trigger1 = alive && time > 0
value = 5050
ctrl = 0
ignorehitpause = 1

;-------------------------------------------------------------------------------------------------------
[Statedef 5030]
type = A
movetype = H
physics = N
ctrl = 0

[State 0]
type = VelAdd;Gravity
triggerall = ishelper(7777)
trigger1 = 1
y = GetHitVar(yaccel)
[State 0]
type = HitVelSet
triggerall = ishelper(7777)
trigger1 = Time = 0
x = 1
y = 1
[State 0]
type = ChangeState
triggerall = ishelper(7777)
triggerall = !HitFall
trigger1 = HitOver
trigger2 = Vel Y > 0
trigger2 = Pos Y >= 10
value = 5040
[State 0]
type = ChangeState
triggerall = ishelper(7777)
triggerall = HitFall
trigger1 = HitOver
trigger2 = Vel Y > 0
trigger2 = Pos Y >= 10
value = 5050
[State 0]
type = ChangeState
triggerall = ishelper(7777)
trigger1 = AnimTime = 0
value = 5035

[State 0]
type = ChangeState
triggerall = IsHelper
trigger1 = !IsHelper(7777)
trigger2 = name != "Senna Kyoudou"
value = 156
ctrl = 0
ignorehitpause = 1
[state 0]
type = lifeset
trigger1 = !ishelper && name != "Senna Kyoudou"
value = 0
ignorehitpause = 1
[state 0]
type = powerset
trigger1 = name != "Senna Kyoudou"
value = 0
ignorehitpause = 1
[State 0]
type = changestate
triggerall = !ishelper && name != "Senna Kyoudou"
trigger1 = !alive
value = 5150
ctrl = 0
ignorehitpause = 1
[State 0]
type = SelfState
triggerall = !ishelper && name != "Senna Kyoudou"
trigger1 = alive && time > 0
value = 5050
ctrl = 0
ignorehitpause = 1

;-------------------------------------------------------------------------------------------------------
[Statedef 5035]
type = A
movetype = H
physics = N

[State 0]
type = ChangeAnim
triggerall = ishelper(7777)
trigger1 = Time = 0
trigger1 = SelfAnimExist(5035)
trigger1 = Anim != [5051,5059]
trigger1 = Anim != 5090
value = 5035
[State 0]
type = VelAdd
triggerall = ishelper(7777)
trigger1 = 1
y = GetHitVar(yaccel)
[State 0]
type = ChangeState
triggerall = ishelper(7777)
triggerall = !HitFall
trigger1 = HitOver
trigger2 = AnimTime = 0
trigger3 = Vel Y > 0
trigger3 = Pos Y >= 10
trigger4 = Time = 0
trigger4 = Anim != 5035
value = 5040
[State 0]
type = ChangeState
triggerall = ishelper(7777)
triggerall = HitFall
trigger1 = HitOver
trigger2 = AnimTime = 0
trigger3 = Vel Y > 0
trigger3 = Pos Y >= 10
trigger4 = Time = 0
trigger4 = Anim != 5035
value = 5050

[State 0]
type = ChangeState
triggerall = IsHelper
trigger1 = !IsHelper(7777)
trigger2 = name != "Senna Kyoudou"
value = 156
ctrl = 0
ignorehitpause = 1
[state 0]
type = lifeset
trigger1 = !ishelper && name != "Senna Kyoudou"
value = 0
ignorehitpause = 1
[state 0]
type = powerset
trigger1 = name != "Senna Kyoudou"
value = 0
ignorehitpause = 1
[State 0]
type = changestate
triggerall = !ishelper && name != "Senna Kyoudou"
trigger1 = !alive
value = 5150
ctrl = 0
ignorehitpause = 1
[State 0]
type = SelfState
triggerall = !ishelper && name != "Senna Kyoudou"
trigger1 = alive && time > 0
value = 5050
ctrl = 0
ignorehitpause = 1

;-------------------------------------------------------------------------------------------------------
[Statedef 5040]
type = A
movetype = H
physics = N

[State 0]
type = ChangeState
triggerall = ishelper(7777)
trigger1 = !Alive
value = 5050
[State 0]
type = ChangeAnim
triggerall = ishelper(7777)
trigger1 = AnimTime = 0
trigger1 = Anim != 5040
trigger2 = Time = 0
trigger2 = Anim != 5035
value = 5040
[State 0]
type = CtrlSet
triggerall = ishelper(7777)
trigger1 = HitOver
value = 1
[State 0]
type = StateTypeSet
triggerall = ishelper(7777)
trigger1 = HitOver
movetype = I
[State 0]
type = VelAdd
triggerall = ishelper(7777)
trigger1 = 1
y = GetHitVar(yaccel)
[State 0]
type = ChangeState
triggerall = ishelper(7777)
trigger1 = Vel Y > 0
trigger1 = Pos Y >= 0
value = 52

[State 0]
type = ChangeState
triggerall = IsHelper
trigger1 = !IsHelper(7777)
trigger2 = name != "Senna Kyoudou"
value = 156
ctrl = 0
ignorehitpause = 1
[state 0]
type = lifeset
trigger1 = !ishelper && name != "Senna Kyoudou"
value = 0
ignorehitpause = 1
[state 0]
type = powerset
trigger1 = name != "Senna Kyoudou"
value = 0
ignorehitpause = 1
[State 0]
type = changestate
triggerall = !ishelper && name != "Senna Kyoudou"
trigger1 = !alive
value = 5150
ctrl = 0
ignorehitpause = 1
[State 0]
type = SelfState
triggerall = !ishelper && name != "Senna Kyoudou"
trigger1 = alive && time > 0
value = 5050
ctrl = 0
ignorehitpause = 1

;-------------------------------------------------------------------------------------------------------
[Statedef 5050]
type = A
movetype = H
physics = N

[State 0]
type = ChangeAnim
triggerall = ishelper(7777)
trigger1 = AnimTime = 0
trigger1 = Anim = 5035
trigger2 = Time = 0
trigger2 = Anim != 5035
trigger2 = (Anim != [5051, 5059]) && (Anim != [5061, 5069])
trigger2 = Anim != 5090
value = 5050
[State 0]
type = ChangeAnim
triggerall = ishelper(7777)
trigger1 = anim = [5050,5059]
trigger1 = Vel Y >= ifelse(anim = 5050, 1, -2)
trigger1 = SelfAnimExist(anim+10)
value = anim+10
persistent = 0
[State 0]
type = VelAdd
triggerall = ishelper(7777)
trigger1 = 1
y = GetHitVar(yaccel)
[State 0]
type = ChangeState
triggerall = ishelper(7777)
triggerall = Vel Y > 0
triggerall = Pos Y >= -20
triggerall = root,alive
triggerall = CanRecover
trigger1 = Command = "x"
value = 5200
[State 0]
type = ChangeState
triggerall = ishelper(7777)
triggerall = Vel Y > -1
triggerall = root,alive
triggerall = CanRecover
trigger1 = Command = "x"
trigger1 = !root,var(30)
trigger2 = root,var(30)
trigger2 = ctrl && random <= 100
value = 5210
[State 0]
type = ChangeState
triggerall = ishelper(7777)
trigger1 = Vel Y > 0
trigger1 = Pos Y >= ifelse((anim = [5051,5059]) || (anim = [5061,5069]), 0, 25)
value = 5100

[State 0]
type = ChangeState
triggerall = IsHelper
trigger1 = !IsHelper(7777)
trigger2 = name != "Senna Kyoudou"
value = 156
ctrl = 0
ignorehitpause = 1
[state 0]
type = lifeset
trigger1 = !ishelper && name != "Senna Kyoudou"
value = 0
ignorehitpause = 1
[state 0]
type = powerset
trigger1 = name != "Senna Kyoudou"
value = 0
ignorehitpause = 1
[State 0]
type = changestate
triggerall = !ishelper && name != "Senna Kyoudou"
trigger1 = !alive
value = 5150
ctrl = 0
ignorehitpause = 1
[State 0]
type = SelfState
triggerall = !ishelper && name != "Senna Kyoudou"
trigger1 = alive && time > 0
value = 5050
ctrl = 0
ignorehitpause = 1

;-------------------------------------------------------------------------------------------------------
[Statedef 5070]
type = A
movetype = H
physics = N
velset = 0,0

[State 0]
type = ChangeAnim
triggerall = ishelper(7777)
trigger1 = 1
value = 5070
[State 0]
type = ChangeState
triggerall = ishelper(7777)
trigger1 = HitShakeOver
value = 5071
[State 0]
type = ForceFeedback
triggerall = ishelper(7777)
trigger1 = time = 0
time = 12
waveform = sinesquare
ampl = 140

[State 0]
type = ChangeState
triggerall = IsHelper
trigger1 = !IsHelper(7777)
trigger2 = name != "Senna Kyoudou"
value = 156
ctrl = 0
ignorehitpause = 1
[state 0]
type = lifeset
trigger1 = !ishelper && name != "Senna Kyoudou"
value = 0
ignorehitpause = 1
[state 0]
type = powerset
trigger1 = name != "Senna Kyoudou"
value = 0
ignorehitpause = 1
[State 0]
type = changestate
triggerall = !ishelper && name != "Senna Kyoudou"
trigger1 = !alive
value = 5150
ctrl = 0
ignorehitpause = 1
[State 0]
type = SelfState
triggerall = !ishelper && name != "Senna Kyoudou"
trigger1 = alive && time > 0
value = 5050
ctrl = 0
ignorehitpause = 1

;-------------------------------------------------------------------------------------------------------
[Statedef 5071]
type = A
movetype = H
physics = N

[State 0]
type = HitVelSet
triggerall = ishelper(7777)
trigger1 = Time = 0
x = 1
y = 1
[State 0]
type = VelAdd
triggerall = ishelper(7777)
trigger1 = 1
y = GetHitVar(yaccel)
[State 0]
triggerall = ishelper(7777)
trigger1 = Vel Y > 0
trigger1 = Pos Y >= 15
type = ChangeState
value = 5110

[State 0]
type = ChangeState
triggerall = IsHelper
trigger1 = !IsHelper(7777)
trigger2 = name != "Senna Kyoudou"
value = 156
ctrl = 0
ignorehitpause = 1
[state 0]
type = lifeset
trigger1 = !ishelper && name != "Senna Kyoudou"
value = 0
ignorehitpause = 1
[state 0]
type = powerset
trigger1 = name != "Senna Kyoudou"
value = 0
ignorehitpause = 1
[State 0]
type = changestate
triggerall = !ishelper && name != "Senna Kyoudou"
trigger1 = !alive
value = 5150
ctrl = 0
ignorehitpause = 1
[State 0]
type = SelfState
triggerall = !ishelper && name != "Senna Kyoudou"
trigger1 = alive && time > 0
value = 5050
ctrl = 0
ignorehitpause = 1

;-------------------------------------------------------------------------------------------------------
[Statedef 5080]
type = L
movetype = H
physics = N
velset = 0,0

[State 0]
type = VarSet
triggerall = ishelper(7777)
trigger1 = time = 0
sysvar(2) = ifelse (GetHitVar(yvel) = 0, 5080, 5090)
[State 0]
type = VarAdd
triggerall = ishelper(7777)
trigger1 = time = 0
trigger1 = (anim = [5081,5089]) || (anim = [5111,5119])
trigger1 = SelfAnimExist(sysvar(2) + (anim % 10))
sysvar(2) = anim % 10
[State 0]
type = VarSet
triggerall = ishelper(7777)
trigger1 = time = 0
trigger1 = sysvar(2) = 5090
trigger1 = !SelfAnimExist(5090)
sysvar(2) = 5030
[State 0]
type = ChangeAnim
triggerall = ishelper(7777)
trigger1 = 1
value = sysvar(2)
[State 0]
type = ChangeState
triggerall = ishelper(7777)
trigger1 = HitShakeOver
trigger1 = GetHitVar(yvel) = 0
value = 5081
[State 0]
type = ChangeState
triggerall = ishelper(7777)
trigger1 = HitShakeOver
trigger1 = GetHitVar(yvel) != 0
value = 5030

[State 0]
type = ChangeState
triggerall = IsHelper
trigger1 = !IsHelper(7777)
trigger2 = name != "Senna Kyoudou"
value = 156
ctrl = 0
ignorehitpause = 1
[state 0]
type = lifeset
trigger1 = !ishelper && name != "Senna Kyoudou"
value = 0
ignorehitpause = 1
[state 0]
type = powerset
trigger1 = name != "Senna Kyoudou"
value = 0
ignorehitpause = 1
[State 0]
type = changestate
triggerall = !ishelper && name != "Senna Kyoudou"
trigger1 = !alive
value = 5150
ctrl = 0
ignorehitpause = 1
[State 0]
type = SelfState
triggerall = !ishelper && name != "Senna Kyoudou"
trigger1 = alive && time > 0
value = 5050
ctrl = 0
ignorehitpause = 1

;-------------------------------------------------------------------------------------------------------
[Statedef 5081]
type = L
movetype = H
physics = C

[State 0]
type = HitVelSet
triggerall = ishelper(7777)
trigger1 = Time = 0
x = 1
[State 0]
type = VelSet
triggerall = ishelper(7777)
trigger1 = HitOver
x = 0
[State 0]
type = VarSet
triggerall = ishelper(7777)
trigger1 = Time = 0
sysvar(0) = 1
[State 0]
type = ChangeState
triggerall = ishelper(7777)
trigger1 = HitOver
value = 5110

[State 0]
type = ChangeState
triggerall = IsHelper
trigger1 = !IsHelper(7777)
trigger2 = name != "Senna Kyoudou"
value = 156
ctrl = 0
ignorehitpause = 1
[state 0]
type = lifeset
trigger1 = !ishelper && name != "Senna Kyoudou"
value = 0
ignorehitpause = 1
[state 0]
type = powerset
trigger1 = name != "Senna Kyoudou"
value = 0
ignorehitpause = 1
[State 0]
type = changestate
triggerall = !ishelper && name != "Senna Kyoudou"
trigger1 = !alive
value = 5150
ctrl = 0
ignorehitpause = 1
[State 0]
type = SelfState
triggerall = !ishelper && name != "Senna Kyoudou"
trigger1 = alive && time > 0
value = 5050
ctrl = 0
ignorehitpause = 1

;-------------------------------------------------------------------------------------------------------
[Statedef 5100]
type = L
movetype = H
physics = N

[State 0]
type = VelSet
triggerall = ishelper(7777)
trigger1 = Time = 0
trigger1 = GetHitVar(fall.yvel) = 0
trigger1 = vel x > 1
x = 1
[State 0]
type = FallEnvShake
triggerall = ishelper(7777)
trigger1 = Time = 0
[State 0]
type = VarSet
triggerall = ishelper(7777)
trigger1 = Time = 0
sysvar(1) = floor(vel y)
[State 0]
type = ChangeAnim
triggerall = ishelper(7777)
triggerall = time = 0
trigger1 = (anim != [5051,5059]) && (anim != [5061,5069])
trigger2 = !SelfAnimExist(5100 + (anim % 10))
value = 5100
[State 0]
type = ChangeAnim
triggerall = ishelper(7777)
trigger1 = time = 0
trigger1 = (anim = [5051,5059]) || (anim = [5061,5069])
trigger1 = SelfAnimExist(5100 + (anim % 10))
value = 5100 + (anim % 10)
[State 0]
type = PosSet
triggerall = ishelper(7777)
trigger1 = Time = 0
y = 0
[State 0]
type = VelSet
triggerall = ishelper(7777)
trigger1 = Time = 0
y = 0
[State 0]
type = VelMul
triggerall = ishelper(7777)
trigger1 = Time = 0
x = 0.75
[State 0]
type = ChangeState
triggerall = ishelper(7777)
trigger1 = Time = 0
trigger1 = GetHitVar(fall.yvel) = 0
value = 5110
[State 0]
type = HitFallDamage
triggerall = ishelper(7777)
trigger1 = Time = 3
[State 0]
type = PlaySnd
triggerall = ishelper(7777)
trigger1 = Time = 1
value = 5100, 0
[State 0]
type = PosFreeze
triggerall = ishelper(7777)
trigger1 = 1
[State 0]
type = ChangeState
triggerall = ishelper(7777)
trigger1 = AnimTime = 0
value = 5101
[State 0]
type = Explod
triggerall = ishelper(7777)
trigger1 = time = 0
anim = 6004
id = 5100
sprpriority = -2
postype = p1
pos = 0,0
bindtime = 1
supermove = 0
ignorehitpause = 0
under = 0
ownpal = 1
[State 0]
type = ForceFeedback
triggerall = ishelper(7777)
trigger1 = Time = 0
waveform = sinesquare
ampl = 128,-3,-.2,.005
time = 20

[State 0]
type = ChangeState
triggerall = IsHelper
trigger1 = !IsHelper(7777)
trigger2 = name != "Senna Kyoudou"
value = 156
ctrl = 0
ignorehitpause = 1
[state 0]
type = lifeset
trigger1 = !ishelper && name != "Senna Kyoudou"
value = 0
ignorehitpause = 1
[state 0]
type = powerset
trigger1 = name != "Senna Kyoudou"
value = 0
ignorehitpause = 1
[State 0]
type = changestate
triggerall = !ishelper && name != "Senna Kyoudou"
trigger1 = !alive
value = 5150
ctrl = 0
ignorehitpause = 1
[State 0]
type = SelfState
triggerall = !ishelper && name != "Senna Kyoudou"
trigger1 = alive && time > 0
value = 5050
ctrl = 0
ignorehitpause = 1

;-------------------------------------------------------------------------------------------------------
[Statedef 5101]
type = L
movetype = H
physics = N

[State 0]
type = ChangeAnim
triggerall = ishelper(7777)
triggerall = time = 0
trigger1 = anim != [5101,5109]
trigger2 = !SelfAnimExist(5160 + (anim % 10))
value = 5160
[State 0]
type = ChangeAnim
triggerall = ishelper(7777)
triggerall = time = 0
trigger1 = anim = [5101,5109]
trigger1 = SelfAnimExist(5160 + (anim % 10))
value = 5160 + (anim % 10)
[State 0]
type = HitFallVel
triggerall = ishelper(7777)
trigger1 = Time = 0
[State 0]
type = PosSet
triggerall = ishelper(7777)
trigger1 = Time = 0
y = 0
[State 0]
type = VelAdd
triggerall = ishelper(7777)
trigger1 = 1
y = .4
[State 0]
type = ChangeState
triggerall = ishelper(7777)
trigger1 = Vel Y > 0
trigger1 = Pos Y >= 4
value = 5110

[State 0]
type = ChangeState
triggerall = IsHelper
trigger1 = !IsHelper(7777)
trigger2 = name != "Senna Kyoudou"
value = 156
ctrl = 0
ignorehitpause = 1
[state 0]
type = lifeset
trigger1 = !ishelper && name != "Senna Kyoudou"
value = 0
ignorehitpause = 1
[state 0]
type = powerset
trigger1 = name != "Senna Kyoudou"
value = 0
ignorehitpause = 1
[State 0]
type = changestate
triggerall = !ishelper && name != "Senna Kyoudou"
trigger1 = !alive
value = 5150
ctrl = 0
ignorehitpause = 1
[State 0]
type = SelfState
triggerall = !ishelper && name != "Senna Kyoudou"
trigger1 = alive && time > 0
value = 5050
ctrl = 0
ignorehitpause = 1

;-------------------------------------------------------------------------------------------------------
[Statedef 5110]
type = L
movetype = H
physics = N

[State 0]
type = FallEnvShake
triggerall = ishelper(7777)
trigger1 = Time = 0
[State 0]
type = ChangeAnim
triggerall = ishelper(7777)
trigger1 = SelfAnimExist(5110 + (anim % 10))
trigger1 = anim = [5081,5089]
value = 5110 + (anim % 10)
persistent = 0
[State 0]
type = ChangeAnim
triggerall = ishelper(7777)
triggerall = time = 0
triggerall = anim != [5110,5119]
trigger1 = anim != [5161,5169]
trigger2 = !SelfAnimExist(5170 + (anim % 10))
value = 5170
[State 0]
type = ChangeAnim
triggerall = ishelper(7777)
triggerall = time = 0
triggerall = anim != [5110,5119]
trigger1 = anim = [5161,5169]
trigger1 = SelfAnimExist(5170 + (anim % 10))
value = 5170 + (anim % 10)
[State 0]
type = HitFallDamage
triggerall = ishelper(7777)
trigger1 = Time = 0
[State 0]
type = PosSet
triggerall = ishelper(7777)
trigger1 = Time = 0
y = 0
[State 0]
type = VarSet
triggerall = ishelper(7777)
trigger1 = Time = 0
trigger1 = GetHitVar(fall.yvel) != 0
sysvar(1) = floor(vel y)
[State 0]
type = PlaySnd
triggerall = ishelper(7777)
trigger1 = Time = 0
trigger1 = !SysVar(0)
value = 5100, 0
[State 0]
type = VelSet
triggerall = ishelper(7777)
trigger1 = Time = 0
y = 0
[State 0]
type = ChangeAnim
triggerall = ishelper(7777)
triggerall = anim = [5171,5179]
triggerall = SelfAnimExist(5110 + (anim % 10))
trigger1 = AnimTime = 0
trigger2 = SysVar(0)
value = 5110 + (anim % 10)
persistent = 0
[State 0]
type = ChangeAnim
triggerall = ishelper(7777)
triggerall = Anim != [5111,5119]
trigger1 = AnimTime = 0
trigger2 = SysVar(0)
value = 5110
persistent = 0
[State 0]
type = ChangeState
triggerall = ishelper(7777)
triggerall = !root,alive
trigger1 = AnimTime = 0
trigger2 = SysVar(0)
trigger3 = Anim = [5110,5119]
value = 5150
[State 0]
type = VarSet
triggerall = ishelper(7777)
trigger1 = SysVar(0)
trigger1 = Time = 0
sysvar(0) = 0
[State 0]
type = VelMul
triggerall = ishelper(7777)
trigger1 = 1
x = 0.85
[State 0]
type = Explod
triggerall = ishelper(7777)
trigger1 = time = 0
anim = 6004
id = 5100
sprpriority = -2
postype = p1
pos = 0,0
bindtime = 1
supermove = 0
ignorehitpause = 0
under = 0
scale = 1,0.5
ownpal = 1
[State 0]
type = ForceFeedback
triggerall = ishelper(7777)
trigger1 = alive
trigger1 = Time = 0
time = 8
ampl = 240
waveform = sine
[State 0]
type = ForceFeedback
triggerall = ishelper(7777)
trigger1 = !alive
trigger1 = Time = 0
ampl = 200, 7, -.467
time = 30
waveform = sine

[State 0]
type = ChangeState
triggerall = IsHelper
trigger1 = !IsHelper(7777)
trigger2 = name != "Senna Kyoudou"
value = 156
ctrl = 0
ignorehitpause = 1
[state 0]
type = lifeset
trigger1 = !ishelper && name != "Senna Kyoudou"
value = 0
ignorehitpause = 1
[state 0]
type = powerset
trigger1 = name != "Senna Kyoudou"
value = 0
ignorehitpause = 1
[State 0]
type = changestate
triggerall = !ishelper && name != "Senna Kyoudou"
trigger1 = !alive
value = 5150
ctrl = 0
ignorehitpause = 1
[State 0]
type = SelfState
triggerall = !ishelper && name != "Senna Kyoudou"
trigger1 = alive && time > 0
value = 5050
ctrl = 0
ignorehitpause = 1

;-------------------------------------------------------------------------------------------------------
[Statedef 5120]
type = L
movetype = I
physics = N

[state 0]
type = changeanim
triggerall = ishelper(7777)
trigger1 = command = "holddown"
trigger1 = time <= 60
trigger1 = root,var(30) != 1
value = 5110
[state 0]
type = changeanim
triggerall = ishelper(7777)
trigger1 = anim = 5110
trigger1 = time >= 60
value = 5120
[State 0]
type = ChangeAnim
triggerall = ishelper(7777)
triggerall = time = 0
trigger1 = anim != [5111,5119]
trigger2 = !SelfAnimExist(5120 + (anim % 10))
value = 5120
[State 0]
type = ChangeAnim
triggerall = ishelper(7777)
triggerall = time = 0
trigger1 = anim = [5111,5119]
trigger1 = SelfAnimExist(5120 + (anim % 10))
value = 5120 + (anim % 10)
[State 0]
type = VelSet
triggerall = ishelper(7777)
trigger1 = Time = 0
x = 0
[State 0]
type = NotHitBy
triggerall = ishelper(7777)
trigger1 = 1
value = SCA
time = 1
[State 0]
type = HitFallSet
triggerall = ishelper(7777)
trigger1 = AnimTime = 0
value = 1
[State 0]
type = NotHitBy
triggerall = ishelper(7777)
trigger1 = AnimTime = 0
value = , NT,ST,HT
time = 12
[State 0]
type = NotHitBy
triggerall = ishelper(7777)
trigger1 = AnimTime = 0
value2 = SCA
time = 3
[state 0]
type = playsnd
triggerall = ishelper(7777)
trigger1 = animelem = 2
trigger1 = anim = 5120
value = 5120,0+(random%2)
[State 0]
type = ChangeState
triggerall = ishelper(7777)
trigger1 = AnimTime = 0
value = 0
ctrl = 1

[State 0]
type = ChangeState
triggerall = IsHelper
trigger1 = !IsHelper(7777)
trigger2 = name != "Senna Kyoudou"
value = 156
ctrl = 0
ignorehitpause = 1
[state 0]
type = lifeset
trigger1 = !ishelper && name != "Senna Kyoudou"
value = 0
ignorehitpause = 1
[state 0]
type = powerset
trigger1 = name != "Senna Kyoudou"
value = 0
ignorehitpause = 1
[State 0]
type = changestate
triggerall = !ishelper && name != "Senna Kyoudou"
trigger1 = !alive
value = 5150
ctrl = 0
ignorehitpause = 1
[State 0]
type = SelfState
triggerall = !ishelper && name != "Senna Kyoudou"
trigger1 = alive && time > 0
value = 5050
ctrl = 0
ignorehitpause = 1

;\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
;-------------------------------------------------------------------------------------------------------
;-------------------------------------------------------------------------------------------------------
;\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
[Statedef 5150]
[State 0]
type = StateTypeSet
trigger1 = !ishelper || ishelper(7777)
statetype = L
movetype = H
physics = N
persistent = 0
ignorehitpause = 1
[State 0]
type = sprpriority
trigger1 = !ishelper || ishelper(7777)
value = -3
ignorehitpause = 1

[State 0]
type = ChangeAnim
triggerall = !ishelper || ishelper(7777)
triggerall = Time = 0
triggerall = SelfAnimExist(5140)
trigger1 = (anim != [5111,5119]) && (anim != [5171,5179])
trigger2 = !SelfAnimExist(5140 + (anim % 10))
value = 5140
ignorehitpause = (name != "Senna Kyoudou")
[State 0]
type = ChangeAnim
triggerall = !ishelper || ishelper(7777)
trigger1 = Time = 0
trigger1 = (anim = [5111,5119]) || (anim = [5171,5179])
trigger1 = SelfAnimExist(5140 + (anim % 10))
value = 5140 + (anim % 10)
ignorehitpause = (name != "Senna Kyoudou")
[State 0]
type = ChangeAnim
triggerall = !ishelper || ishelper(7777)
trigger1 = MatchOver = 1
trigger1 = Anim = [5140,5149]
trigger1 = SelfAnimExist(anim+10)
value = anim+10
persistent = 0
ignorehitpause = (name != "Senna Kyoudou")
[State 0]
type = ChangeAnim
triggerall = !ishelper || ishelper(7777)
trigger1 = Time = 0
trigger1 = Anim != [5140,5159]
trigger1 = Anim != [5110,5119]
value = 5110
ignorehitpause = (name != "Senna Kyoudou")
[State 0]
type = VelMul
triggerall = !ishelper || ishelper(7777)
trigger1 = 1
x = 0.85
ignorehitpause = (name != "Senna Kyoudou")
[State 0]
type = VelSet
triggerall = !ishelper || ishelper(7777)
trigger1 = Vel x < .05
x = 0
persistent = 0
ignorehitpause = (name != "Senna Kyoudou")
[State 0]
type = NotHitBy
triggerall = !ishelper || ishelper(7777)
trigger1 = 1
value = SCA
time = 1
ignorehitpause = (name != "Senna Kyoudou")

[State 0]
type = ChangeState
triggerall = IsHelper
trigger1 = !IsHelper(7777)
trigger1 = !IsHelper(7778)
trigger1 = !IsHelper(7791)
trigger1 = !IsHelper(78880)
trigger1 = !IsHelper(78881)
trigger2 = name != "Senna Kyoudou"
value = 156
ctrl = 0
ignorehitpause = 1
[State 0]
type = Afterimagetime
trigger1 = name != "Senna Kyoudou"
time = 0
ignorehitpause = 1
[State 0]
type = PosSet
trigger1 = name != "Senna Kyoudou"
y = 0
ignorehitpause = 1
[State 0]
type = VarRangeSet
trigger1 = !ishelper && name != "Senna Kyoudou"
trigger1 = enemynear,name = "Senna Kyoudou" && enemynear,palno = [7,12]
value = 0
IgnoreHitPause = 1
[State 0]
type = VarRangeSet
trigger1 = !ishelper && name != "Senna Kyoudou"
trigger1 = enemynear,name = "Senna Kyoudou" && enemynear,palno = [7,12]
fvalue = 0
IgnoreHitPause = 1
[State 0]
type = VarSet
trigger1 = !ishelper && name != "Senna Kyoudou"
trigger1 = enemynear,name = "Senna Kyoudou" && enemynear,palno = [7,12]
sysvar(0) = 0
IgnoreHitPause = 1
[State 0]
type = VarSet
trigger1 = !ishelper && name != "Senna Kyoudou"
trigger1 = enemynear,name = "Senna Kyoudou" && enemynear,palno = [7,12]
sysvar(1) = 0
IgnoreHitPause = 1
[State 0]
type = VarSet
trigger1 = !ishelper && name != "Senna Kyoudou"
trigger1 = enemynear,name = "Senna Kyoudou" && enemynear,palno = [7,12]
sysvar(2) = 0
IgnoreHitPause = 1
[State 0]
type = VarSet
trigger1 = !ishelper && name != "Senna Kyoudou"
trigger1 = enemynear,name = "Senna Kyoudou" && enemynear,palno = [7,12]
sysvar(3) = 0
IgnoreHitPause = 1
[State 0]
type = VarSet
trigger1 = !ishelper && name != "Senna Kyoudou"
trigger1 = enemynear,name = "Senna Kyoudou" && enemynear,palno = [7,12]
sysvar(4) = 0
IgnoreHitPause = 1
[State 0]
type = VarSet
trigger1 = !ishelper && name != "Senna Kyoudou"
trigger1 = enemynear,name = "Senna Kyoudou" && enemynear,palno = [7,12]
sysfvar(0) = 0
IgnoreHitPause = 1
[State 0]
type = VarSet
trigger1 = !ishelper && name != "Senna Kyoudou"
trigger1 = enemynear,name = "Senna Kyoudou" && enemynear,palno = [7,12]
sysfvar(1) = 0
IgnoreHitPause = 1
[State 0]
type = VarSet
trigger1 = !ishelper && name != "Senna Kyoudou"
trigger1 = enemynear,name = "Senna Kyoudou" && enemynear,palno = [7,12]
sysfvar(2) = 0
IgnoreHitPause = 1
[State 0]
type = VarSet
trigger1 = !ishelper && name != "Senna Kyoudou"
trigger1 = enemynear,name = "Senna Kyoudou" && enemynear,palno = [7,12]
sysfvar(3) = 0
IgnoreHitPause = 1
[State 0]
type = VarSet
trigger1 = !ishelper && name != "Senna Kyoudou"
trigger1 = enemynear,name = "Senna Kyoudou" && enemynear,palno = [7,12]
sysfvar(4) = 0
IgnoreHitPause = 1
[State 0]
type = LifeSet
trigger1 = name != "Senna Kyoudou"
value = ishelper
ignorehitpause = 1
[State 0]
type = PowerSet
trigger1 = name != "Senna Kyoudou"
value = 0
ignorehitpause = 1
[State 0]
Type = SelfState
trigger1 = Ishelper(7777)
trigger1 = root,alive
Trigger2 = !ishelper && alive && time > 0
Value = 5120
ctrl = 0
ignorehitpause = 1

[State 0]
type = AngleDraw
triggerall = !ishelper && name != "Senna Kyoudou" && !alive
trigger1 = time = [0,400]
Scale = 1.0-(time*0.0018),1.0-(time*0.0018)
ignorehitpause = 1
[State 0]
type = AssertSpecial
triggerall = !ishelper && name != "Senna Kyoudou" && !alive
trigger1 = (time = [350,399]) && gametime%3 = 0 || time >= 400
flag = invisible
ignorehitpause = 1
[State 0]
type = AssertSpecial
triggerall = !ishelper && name != "Senna Kyoudou" && !alive
trigger1 = time < 600
trigger1 = hitpausetime = 0
flag = roundnotover
ignorehitpause = 1
[State 0]
type = AssertSpecial
trigger1 = !ishelper && name != "Senna Kyoudou" && !alive
flag = nobardisplay
ignorehitpause = 1
[State 0]
type = PlaySnd
triggerall = !ishelper && name != "Senna Kyoudou" && !alive
trigger1 = random%60 = 0
value = 11,0
volume = 255-random%300
freqmul = 2-random%20*0.1
ignorehitpause = 1
[State 0]
type = PlaySnd
triggerall = !ishelper && name != "Senna Kyoudou" && !alive
trigger1 = random%60 = 0
value = 11,10
volume = 255-random%300
freqmul = 2-random%20*0.1
ignorehitpause = 1
[state 0]
type = palfx
triggerall = !ishelper && name != "Senna Kyoudou" && !alive
trigger1 = time >= 0
time = -1
mul = 255,0,0
invertall = 1
ignorehitpause = 1
[State 0]
type = Explod
triggerall = !ishelper && name != "Senna Kyoudou" && !alive
trigger1 = time >= 400 && animexist(100)
trigger1 = (GameTime%10) = 0
anim = 100
sprpriority = 99999
postype = p1
pos = -20+(random%40),0
vel = 1+(random%3),0
Scale = 0.1+((random<=50)*0.1)+((random<=85)*0.2),0.1+((random<=50)*0.1)+((random<=85)*0.2)
removetime = 600
ownpal = 0
ignorehitpause = 1
pausemovetime = 2000000000
supermovetime = 2000000000
[State 0]
type = Explod
triggerall = !ishelper && name != "Senna Kyoudou" && !alive
trigger1 = time >= 400 && animexist(20)
trigger1 = (GameTime%10) = 2
anim = 20
sprpriority = 99999
postype = p1
pos = -20+(random%40),0
vel = 0.5+(random%2),0
Scale = 0.1+((random<=50)*0.1)+((random<=85)*0.2),0.1+((random<=50)*0.1)+((random<=85)*0.2)
removetime = 600
ownpal = 0
ignorehitpause = 1
pausemovetime = 2000000000
supermovetime = 2000000000
[State 0]
type = Explod
triggerall = !ishelper && name != "Senna Kyoudou" && !alive
trigger1 = time >= 400 && animexist(100)
trigger1 = (GameTime%10) = 0
anim = 100
sprpriority = 99999
postype = p1
pos = -20+(random%40),0
vel = -1-(random%3),0
Scale = 0.1+((random<=50)*0.1)+((random<=85)*0.2),0.1+((random<=50)*0.1)+((random<=85)*0.2)
removetime = 600
ownpal = 0
facing = -1
ignorehitpause = 1
pausemovetime = 2000000000
supermovetime = 2000000000
[State 0]
type = Explod
triggerall = !ishelper && name != "Senna Kyoudou" && !alive
trigger1 = time >= 400 && animexist(20)
trigger1 = (GameTime%10) = 2
anim = 20
sprpriority = 99999
postype = p1
pos = -20+(random%40),0
vel = -0.5-(random%2),0
Scale = 0.1+((random<=50)*0.1)+((random<=85)*0.2),0.1+((random<=50)*0.1)+((random<=85)*0.2)
removetime = 600
ownpal = 0
facing = -1
ignorehitpause = 1
pausemovetime = 2000000000
supermovetime = 2000000000
[State 0]
type = Explod
triggerall = !ishelper && name != "Senna Kyoudou" && !alive
trigger1 = time >= 400 && animexist(41)
trigger1 = (GameTime%14) = 0
anim = 41
sprpriority = 99999
postype = p1
pos = -20+(random%40),0
vel = 0,-2.5-(random%2)
Scale = 0.1+((random<=50)*0.1)+((random<=100)*0.2),0.1+((random<=50)*0.1)+((random<=100)*0.2)
removetime = 600
ownpal = 0
ignorehitpause = 1
pausemovetime = 2000000000
supermovetime = 2000000000

;-------------------------------------------------------------------------------------------------------
[State 0]
type = StateTypeSet
trigger1 = ishelper(7778)
statetype = S
movetype = I
physics = N
persistent = 0
ignorehitpause = 1
[State 0]
type = VelSet
trigger1 = ishelper(7778)
x = 0
y = 0
persistent = 0
ignorehitpause = 1
[State 0]
type = changeanim
trigger1 = ishelper(7778)
value = 40000
persistent = 0
ignorehitpause = 1
[State 0]
type = ChangeAnim
triggerall = ishelper(7778)
trigger1 = numhelper(7777)
value = helper(7777),anim
elem = helper(7777),animelemno(0)
ignorehitpause = 1
[State 0]
type = ctrlset
trigger1 = ishelper(7778)
value = 0
persistent = 0
ignorehitpause = 1
[State 0]
type = SprPriority
trigger1 = ishelper(7778)
value = 3
ignorehitpause = 1

[State 0]
type = Turn
triggerall = ishelper(7778)
trigger1 = numhelper(7777)
trigger1 = Facing != helper(7777),Facing
ignorehitpause = 1

[State 0]
type = posset
triggerall = ishelper(7778)
trigger1 = numhelper(7777)
trigger1 = helper(7777),stateno != [2100,2102]
x = helper(7777),pos X
y = helper(7777),pos Y
ignorehitpause = 1
[State 0]
type = posset
triggerall = ishelper(7778)
trigger1 = numhelper(7777)
trigger1 = helper(7777),stateno = [2100,2102]
x = helper(7777),pos X
y = 999
ignorehitpause = 1

[State 0]
type = nothitby
trigger1 = ishelper(7778)
value = SCA
time = -1
ignorehitpause = 1

[State 0]
type = angledraw
trigger1 = ishelper(7778)
scale= 1 + 0.04*(gametime%6), 1 + 0.04*(gametime%6)
ignorehitpause = 1

[State 0]
type = trans
trigger1 = ishelper(7778)
trans = addalpha
alpha= 250 - 46*(gametime%6), 46*(gametime%6)
ignorehitpause = 1

[State 0]
type = destroyself
triggerall = ishelper(7778)
trigger1 = root,alive = 0 || (root,var(50) = 0 && root,var(53) = 0) || numhelper(7777) = 0
ignorehitpause = 1

;-------------------------------------------------------------------------------------------------------
[State 0]
type = StateTypeSet
trigger1 = ishelper(7791)
statetype = S
movetype = I
physics = N
persistent = 0
ignorehitpause = 1
[State 0]
type = VelSet
trigger1 = ishelper(7791)
x = 0
y = 0
persistent = 0
ignorehitpause = 1
[State 0]
type = changeanim
trigger1 = ishelper(7791)
value = 22199
persistent = 0
ignorehitpause = 1
[State 0]
type = ctrlset
trigger1 = ishelper(7791)
value = 0
persistent = 0
ignorehitpause = 1
[State 0]
type = BindToroot
triggerall = ishelper(7791)
triggerall = numhelper(7777)
triggerall = helper(7777),stateno != [2100,2102]
triggerall = root,alive
trigger1 = helper(7777),statetype = S
trigger2 = helper(7777),statetype = A
pos = -5,-50
ignorehitpause = 1
[State 0]
type = BindToroot
triggerall = ishelper(7791)
triggerall = numhelper(7777)
triggerall = helper(7777),stateno != [2100,2102]
triggerall = root,alive
trigger1 = helper(7777),statetype = C
pos = -5,-25
ignorehitpause = 1
[State 0]
type = BindToroot
triggerall = ishelper(7791)
triggerall = numhelper(7777)
triggerall = helper(7777),stateno != [2100,2102]
triggerall = root,alive
trigger1 = helper(7777),statetype = L
pos = -5,-10
ignorehitpause = 1
[State 0]
type = BindToroot
triggerall = ishelper(7791)
trigger1 = root,alive = 0
trigger2 = numhelper(7777)
trigger2 = helper(7777),stateno = [2100,2102]
pos = 0,999
ignorehitpause = 1

[State 0]
Type = AngleDraw
trigger1 = ishelper(7791)
Value = gametime*1.5*(1+random%100)*0.1
Scale = (ifelse((gametime%120<=59),((gametime%60*0.01)/0.6),(1-(gametime%60*0.01)/0.6)))*1.5,1.5
ignorehitpause = 1
[State 0]
type = trans
trigger1 = ishelper(7791)
trans = add
ignorehitpause = 1

[State 0]
type = SprPriority
trigger1 = ishelper(7791)
value = 5
ignorehitpause = 1

;-------------------------------------------------------------------------------------------------------
[State 0]
type = StateTypeSet
trigger1 = ishelper(78880)
statetype = S
movetype = I
physics = N
persistent = 0
ignorehitpause = 1
[State 0]
type = VelSet
trigger1 = ishelper(78880)
x = 0
y = 0
persistent = 0
ignorehitpause = 1
[State 0]
type = changeanim
trigger1 = ishelper(78880)
value = 40000
persistent = 0
ignorehitpause = 1
[State 0]
type = ctrlset
trigger1 = ishelper(78880)
value = 0
persistent = 0
ignorehitpause = 1

[State 0]
Type = Posset
trigger1 = ishelper(78880)
x = parent,pos x
y = parent,pos y
ignorehitpause = 1

[State 0]
Type = changeanim
trigger1 = ishelper(78880)
Trigger1 = anim != 40020
value = 40020
ignorehitpause = 1

[State 0]
type = HitBy
trigger1 = ishelper(78880)
value = SCA,SP
time = 1
ignorehitpause = 1

[state 0]
type = destroyself
trigger1 = ishelper(78880)
trigger1 = var(0) := var(0) + 1
trigger1 = (parent,numtarget >= 8 && var(0) > 1) || (gethitvar(damage) && var(57) != 69*gametime && parent,numtarget)
ignorehitpause = 1

;-------------------------------------------------------------------------------------------------------
[State 0]
type = StateTypeSet
trigger1 = ishelper(78881)
statetype = S
movetype = A
physics = N
persistent = 0
ignorehitpause = 1
[State 0]
type = VelSet
trigger1 = ishelper(78881)
x = 0
y = 0
persistent = 0
ignorehitpause = 1
[State 0]
type = changeanim
trigger1 = ishelper(78881)
value = 40010
persistent = 0
ignorehitpause = 1
[State 0]
type = ctrlset
trigger1 = ishelper(78881)
value = 0
persistent = 0
ignorehitpause = 1

[State 0]
Type = bindtoroot
trigger1 = ishelper(78881)
ignorehitpause = 1

[state 0]
type = hitdef
trigger1 = ishelper(78881)
trigger1 = roundstate = 2 && gametime%20 = 0
attr = S,NA
hitflag = 
sparkno = -1
hitsound = -1
numhits = 0
ignorehitpause = 1

;\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
;-------------------------------------------------------------------------------------------------------
;-------------------------------------------------------------------------------------------------------
;\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
[Statedef 5200]
type = A
movetype = H
physics = N

[State 0]
type = ChangeAnim
triggerall = ishelper(7777)
trigger1 = Anim = 5035
trigger1 = AnimTime = 0
value = 5050
[State 0]
type = VelAdd
triggerall = ishelper(7777)
trigger1 = 1
y = GetHitVar(yaccel)
[State 0]
type = SelfState
triggerall = ishelper(7777)
trigger1 = Vel Y > 0
trigger1 = Pos Y >= 10
value = 5201

[State 0]
type = ChangeState
triggerall = IsHelper
trigger1 = !IsHelper(7777)
trigger2 = name != "Senna Kyoudou"
value = 156
ctrl = 0
ignorehitpause = 1
[state 0]
type = lifeset
trigger1 = !ishelper && name != "Senna Kyoudou"
value = 0
ignorehitpause = 1
[state 0]
type = powerset
trigger1 = name != "Senna Kyoudou"
value = 0
ignorehitpause = 1
[State 0]
type = changestate
triggerall = !ishelper && name != "Senna Kyoudou"
trigger1 = !alive
value = 5150
ctrl = 0
ignorehitpause = 1
[State 0]
type = SelfState
triggerall = !ishelper && name != "Senna Kyoudou"
trigger1 = alive && time > 0
value = 5050
ctrl = 0
ignorehitpause = 1

;-------------------------------------------------------------------------------------------------------
[Statedef 5201]
type = A
movetype = H
physics = A
anim = 5200

[State 0]
type = Turn
triggerall = ishelper(7777)
trigger1 = Time = 0
trigger1 = fvar(13) = [-5,5]
[State 0]
type = VelSet
triggerall = ishelper(7777)
trigger1 = Time = 0
x = -.15
y = -3.5
[State 0]
type = PosSet
triggerall = ishelper(7777)
trigger1 = Time = 0
y = 0
[State 0]
type = NotHitBy
triggerall = ishelper(7777)
trigger1 = 1
value = SCA
time = 1
[State 0]
type = PalFX
triggerall = ishelper(7777)
trigger1 = Time = 0
time = 3
add = 128,128,128
[State 0]
type = GameMakeAnim
triggerall = ishelper(7777)
trigger1 = Time = 1
value = 60
pos = 0, 0
under = 1

[State 0]
type = ChangeState
triggerall = IsHelper
trigger1 = !IsHelper(7777)
trigger2 = name != "Senna Kyoudou"
value = 156
ctrl = 0
ignorehitpause = 1
[state 0]
type = lifeset
trigger1 = !ishelper && name != "Senna Kyoudou"
value = 0
ignorehitpause = 1
[state 0]
type = powerset
trigger1 = name != "Senna Kyoudou"
value = 0
ignorehitpause = 1
[State 0]
type = changestate
triggerall = !ishelper && name != "Senna Kyoudou"
trigger1 = !alive
value = 5150
ctrl = 0
ignorehitpause = 1
[State 0]
type = SelfState
triggerall = !ishelper && name != "Senna Kyoudou"
trigger1 = alive && time > 0
value = 5050
ctrl = 0
ignorehitpause = 1

;-------------------------------------------------------------------------------------------------------
[Statedef 5210]
type = A
movetype = I
physics = N
anim = 5210
ctrl = 0

[State 0]
type = PalFX
triggerall = ishelper(7777)
trigger1 = Time = 0
time = 3
add = 128,128,128
[State 0]
type = PosFreeze
triggerall = ishelper(7777)
trigger1 = Time = 0
value = 4
[State 0]
type = Turn
triggerall = ishelper(7777)
trigger1 = Time = 0
trigger1 = fvar(13) = [-20,20]
[State 0] 
type = VelMul
triggerall = ishelper(7777)
trigger1 = Time = 4
x = .8
y = .8
[State 0]
type = VelAdd
triggerall = ishelper(7777)
trigger1 = Time = 4
y = -4.5
[State 0] 
type = VelMul
triggerall = ishelper(7777)
trigger1 = Time = 4
trigger1 = Vel Y > 0
y = .5
[State 0]
type = VelAdd
triggerall = ishelper(7777)
trigger1 = Time = 4
trigger1 = Vel Y > -3
y = -2
[State 0]
type = VelAdd
triggerall = ishelper(7777)
trigger1 = Time = 4
trigger1 = Vel Y > -2
y = -1
[State 0]
type = VelAdd
triggerall = ishelper(7777)
trigger1 = Time = 4
trigger1 = Command = "holdup"
y = -2
[State 0]
type = VelAdd
triggerall = ishelper(7777)
trigger1 = Time = 4
trigger1 = Command = "holddown"
y = 1.5
[State 0]
type = VelMul
triggerall = ishelper(7777)
trigger1 = Time = 4
trigger1 = Command = "holdfwd"
x = 1
[State 0]
type = VelAdd
triggerall = ishelper(7777)
trigger1 = Time = 4
trigger1 = Command = "holdback"
x = -1
[State 0]
type = NotHitBy
triggerall = ishelper(7777)
trigger1 = Time = 0
value = SCA
time = 15
[State 0]
type = CtrlSet
triggerall = ishelper(7777)
trigger1 = Time = 20
value = 1
[State 0]
type = VelAdd
triggerall = ishelper(7777)
trigger1 = Time >= 4
y = .35
[State 0]
type = ChangeState
triggerall = ishelper(7777)
trigger1 = Vel Y > 0
trigger1 = Pos Y >= 0
value = 52
ctrl = 1

[State 0]
type = ChangeState
triggerall = IsHelper
trigger1 = !IsHelper(7777)
trigger2 = name != "Senna Kyoudou"
value = 156
ctrl = 0
ignorehitpause = 1
[state 0]
type = lifeset
trigger1 = !ishelper && name != "Senna Kyoudou"
value = 0
ignorehitpause = 1
[state 0]
type = powerset
trigger1 = name != "Senna Kyoudou"
value = 0
ignorehitpause = 1
[State 0]
type = changestate
triggerall = !ishelper && name != "Senna Kyoudou"
trigger1 = !alive
value = 5150
ctrl = 0
ignorehitpause = 1
[State 0]
type = SelfState
triggerall = !ishelper && name != "Senna Kyoudou"
trigger1 = alive && time > 0
value = 5050
ctrl = 0
ignorehitpause = 1

;\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
;-------------------------------------------------------------------------------------------------------
;-------------------------------------------------------------------------------------------------------
;\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
[Statedef 5500]
type = S
movetype = I
physics = N
ctrl = 0
anim = 5300
velset = 0,0

[State 0]
type = ChangeAnim
trigger1 = time = 0
trigger1 = SelfAnimExist(5500)
value = 5500

;\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
;-------------------------------------------------------------------------------------------------------
;-------------------------------------------------------------------------------------------------------
;\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
[Statedef 5900]
type = S
movetype = I
physics = N
ctrl = 0
anim = 0
velset = 0,0

[State 0]
type = ChangeState
trigger1 = roundno = 1
value = 190
