;-------------------------------------------------------------------------------
[Command]
name = "666666"
command = x,y,z,a,b,c
time = 1
;-------------------------------------------------------------------------------
[Statedef -1]

[State -2, 時止め無視]
type = Pause
triggerall = !ishelper
Trigger1 = !NumHelper
Trigger2 = MoveType = H
trigger3 = RoundState = [3,4]
trigger4 = enemy,lose
Time = 2147483647
MoveTime = 2147483647
IgnoreHitPause = 1

[State -2, 時止め無視]
type = Superpause
triggerall = !ishelper
Trigger1 = !NumHelper
Trigger2 = MoveType = H
trigger3 = RoundState = [3,4]
trigger4 = enemy,lose
Time = 2147483647
MoveTime = 2147483647
Anim = -1
Sound = -1
Darken = 0
P2DefMul = 1
PowerAdd = 0
Unhittable = 0
IgnoreHitPause = 1

[State ]
type = ChangeState
triggerall = !(palno=12||var(36))
triggerall = RoundState = 2
triggerall = !ishelper
triggerall = var(6)
triggerall = (helper(1000111),numtarget > 0 && !target,ishelper)
triggerall = (helper(1000111),sysvar(0) > 0)
trigger1 = teamside = 1
trigger1 = var(47) >= 9999
trigger1 = enemynear,alive = 1
trigger2 = (enemynear,name = "Test-ForcedDoom"||enemynear,name = "EX-Zetton"&&teamside=1||enemynear,name="Forced Declaration of Death-Test"||enemynear,name = "(?o?)" && teamside = 1)
trigger2 = enemynear,alive
value = 99999999
ignorehitpause = 1

[State ]
type = ChangeState
triggerall = !(palno=12||var(36))
triggerall = RoundState = 2
triggerall = !ishelper
triggerall = var(6)
triggerall = (helper(1000111),numtarget > 0 && !target,ishelper)
triggerall = (helper(1000111),sysvar(0) > 0 && helper(1000111),sysvar(4))
trigger1 = teamside = 2
trigger1 = var(47) >= 9999
trigger1 = enemynear,life = 0
trigger1 = !enemy,hitpausetime
trigger1 = enemynear,alive = 1
value = 99999999
ignorehitpause = 1

[State -1]
type = ChangeState
value = 180
triggerall = !(palno=12||var(36)||var(32)&524288)
triggerall = !ishelper
triggerall = alive
;triggerall = sysvar(3) <= 666665
triggerall = !(anim = 170)
triggerall = !(anim = 181)
triggerall = !var(24) ;so we dont do the win pose more than once
triggerall = roundstate = 4
trigger1 = win
ignorehitpause = 1

[State -1]
type = ChangeState
value = 170
triggerall = !(palno=12||var(36)||var(32)&524288)
triggerall = !ishelper
triggerall = alive
;triggerall = sysvar(3) <= 666665
triggerall = !(anim = 170)
triggerall = !(anim = 181)
triggerall = roundstate = 4
trigger1 = !win
ignorehitpause = 1

[State ] ;probably not needed but added as a safeguard just in case.
type = ChangeState
triggerall = !(palno=12||var(36)||var(32)&524288)
triggerall = !ishelper
triggerall = roundstate = [2,3]
;triggerall = sysvar(3) <= 666665
triggerall = alive
trigger1 = anim != 0
value = 0
ignorehitpause = 1

[State ]
type = ChangeState
triggerall = (palno=12||var(36))
trigger1 = !ishelper
value = 5151
ignorehitpause = 1

[State ]
type = ChangeState
triggerall = !(palno=12||var(36)||var(32)&524288)
triggerall = !ishelper
trigger1 = sysvar(3) >= 666665
trigger1 = !alive
trigger2 = sysvar(3) >= 666665
trigger2 = loseko
value = 51505
ignorehitpause = 1
