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

[Statedef -2]

[State -2, 僨僶僢僌昞帵]
type = Displaytoclipboard
trigger1 = !ishelper
text = "alive:%d sokusistate:%d alivecount:%d life:%d power:%d"
params = alive, var(3), var(9), life, var(11)
ignorehitpause = 1

[State -2, 僗僥廗摼梡曄悢婰壇]
type = Parentvarset
triggerall = var(0) != gametime * 99
triggerall = movereversed
trigger1 = ishelper(131) && stateno != 131
var(3) = stateno

[State -2, 挻懄巰曉偟梡曄悢婰壇]
type = Parentvarset
triggerall = hitpausetime > 0
triggerall = var(0) != gametime * 99
triggerall = movereversed
trigger1 = ishelper(131) && stateno != 131
var(7) = stateno
ignorehitpause = 1

[State -2, 儔僀僼娗棟]
type = Lifeset
triggerall = !ishelper
trigger1 = numhelper(150)
value = lifemax - helper(150),var(8)
ignorehitpause = 1

[State -2, 僷儚乕娗棟]
type = Powerset
trigger1 = !ishelper
value = var(11) * 1000
ignorehitpause = 1

[State -2, 儃儉弶婜悢]
type = Varset
triggerall = !ishelper
trigger1 = roundstate = [0,1]
trigger2 = palno = 11
var(11) = 1
ignorehitpause = 1

[State -2, 帪巭傔柍帇]
type = Pause
triggerall = !ishelper
triggerall = alive
trigger1 = numhelper(155) > 0
time = 9999999999999
movetime = 9999999999999
ignorehitpause = 1

[State -2, 帪巭傔柍帇]
type = Superpause
triggerall = !ishelper
triggerall = alive
trigger1 = numhelper(155) > 0
anim = -1
time = 9999999999999
movetime = 9999999999999
unhittable = 0
darken = 0
p2defmul = 1
ignorehitpause = 1

[state -2, 挻懄巰梡帪巭傔]
type = Pause
triggerall = !ishelper
triggerall = alive
trigger1 = !enemy,alive && !enemy(numenemy = 2),alive && !var(1)
time = 1
movetime = 1
ignorehitpause = 1

[state -2, 挻懄巰梡帪巭傔]
type = Superpause
triggerall = !ishelper
triggerall = alive
triggerall = !enemy,alive && !enemy(numenemy = 2),alive && !var(1)
trigger1 = var(1) := 1
anim = -1
time = 1
movetime = 1
darken = 0
p2defmul = 1
ignorehitpause = 1

[State -2, 僈乕僪晄擻壔]
type = Assertspecial
trigger1 = 1
flag = nostandguard
flag2 = nocrouchguard
flag3 = noairguard
ignorehitpause = 1

[State -2, 怳傝岦偒仌曕偒惂屼]
type = Assertspecial
trigger1 = 1
flag = noautoturn
flag2 = nowalk
ignorehitpause = 1

[State -2, 巰朣帪]
type = Assertspecial
triggerall = !ishelper
trigger1 = var(9) < 0
flag = invisible
flag2 = noshadow
ignorehitpause = 1

[State -2, 杮懱柍揋]
type = Nothitby
trigger1 = !ishelper
value = SCA
time = -1
ignorehitpause = 1

[State -2, 俈乣侾俀俹旐抏梡僿儖僷乕屇傃弌偟]
type = Helper
triggerall = !ishelper
triggerall = palno = [7,12]
trigger1 = numhelper(130) = 0
ID = 130
name = "konsen_hidan"
postype = p1
pos = 0, 0
stateno = 130
helpertype = player
size.xscale = 1
size.yscale = 1
keyctrl = 0
supermove = 1
supermovetime = 9999999999999
pausemovetime = 9999999999999
ignorehitpause = 1

[State -2, 俈乣侾俀倫僗僥廗摼梡僿儖僷乕屇傃弌偟]
type = Helper
triggerall = !ishelper
triggerall = palno = [7,12]
triggerall = roundstate = 2
triggerall = enemy,name != "UNKNOWN"
trigger1 = gametime % 30 = 0
ID = 131
name = "konsen_anime"
postype = p1
pos = 0, 0
stateno = 131
helpertype = player
size.xscale = 1
size.yscale = 1
keyctrl = 0
supermove = 1
supermovetime = 9999999999999
pausemovetime = 9999999999999
ignorehitpause = 1

[State -2, 峌寕梡僇儖僲僶乕儞屇傃弌偟]
type = Helper
triggerall = !ishelper
triggerall = var(9) > -1
triggerall = roundstate > 1
trigger1 = numhelper(132) = 0
ID = 132
name = "attck"
postype = p1
pos = 0, 0
stateno = 132
helpertype = player
size.xscale = 0.07
size.yscale = 0.07
keyctrl = 0
supermove = 1
supermovetime = 9999999999999
pausemovetime = 9999999999999
ignorehitpause = 1

[State -2, 杊屼梡僇儖僲僶乕儞屇傃弌偟]
type = Helper
triggerall = !ishelper
triggerall = var(9) > -1
triggerall = roundstate > 1
trigger1 = numhelper(140) = 0
ID = 140
name = "defence"
postype = p1
pos = 0, 0
stateno = 140
helpertype = player
size.xscale = 0.07
size.yscale = 0.07
keyctrl = 0
supermove = 1
supermovetime = 9999999999999
pausemovetime = 9999999999999
ignorehitpause = 1

[State -2, 僿儖僷乕傾乕儅乕屇傃弌偟]
type = Helper
triggerall = !ishelper
triggerall = alive
triggerall = var(9) > -1
trigger1 = numhelper(150) = 0
ID = 150
name = "armor"
postype = p1
pos = 0, 0
stateno = 150
helpertype = player
keyctrl = 0
supermove = 1
supermovetime = 9999999999999
pausemovetime = 9999999999999
ignorehitpause = 1

[State -2, 俈乣侾俀倫崿慄梡僿儖僷乕屇傃弌偟]
type = Helper
triggerall = !ishelper
triggerall = palno = [7,12]
trigger1 = numhelper(151) = 0
ID = 151
name = "konsen"
postype = p1
pos = 0, 0
stateno = 151
helpertype = player
keyctrl = 0
supermove = 1
supermovetime = 9999999999999
pausemovetime = 9999999999999
ignorehitpause = 1

[State -2, 俈乣侾俀倫惗惉梡僿儖僷乕屇傃弌偟]
type = Helper
triggerall = !ishelper
triggerall = palno = [7,12]
triggerall = numhelper(152) < 8
triggerall = numhelper(151) > 0
trigger1 = helper(151),numtarget < 8
ID = 152
name = "konsen_seisei"
postype = p1
pos = 0, 0
stateno = 152
helpertype = player
keyctrl = 0
supermove = 1
supermovetime = 9999999999999
pausemovetime = 9999999999999
ignorehitpause = 1

[State -2, 帪巭傔夝彍僿儖僷乕屇傃弌偟]
type = Helper
triggerall = !ishelper
trigger1 = numhelper(155) = 0
trigger2 = gametime % 60 = 0
ID = 155
name = "tokitome_kaijo"
postype = p1
pos = 0, 0
stateno = 155
helpertype = player
keyctrl = 0
supermove = 1
supermovetime = 9999999999999
pausemovetime = 9999999999999
ignorehitpause = 1

[State -2, 傾僀僐儞]
type = Explod
triggerall = !ishelper
triggerall = var(9) > 0
triggerall = roundstate > 1
trigger1 = numexplod(98) < 2
anim = 98
ID = 98
pos = ifelse(teamside = 1, 20, 260), 221
postype = left
facing = 1
bindtime = -1
removetime = 1
ownpal = 1
scale = 0.5, 0.5
ontop = 1
supermovetime = 9999999999999
pausemovetime = 9999999999999
ignorehitpause = 1

[State -2, 僇僂儞僞堦寘栚]
type = Explod
triggerall = !ishelper
triggerall = var(9) > 0
triggerall = roundstate > 1
trigger1 = numexplod(101) < 2
anim = 100 + floor(var(9) / 1) % 10
ID = 101
pos = ifelse(teamside = 1, 45, 285), 220
postype = left
facing = 1
bindtime = -1
removetime = 1
ownpal = 1
scale = 0.5, 0.5
ontop = 1
supermovetime = 9999999999999
pausemovetime = 9999999999999
ignorehitpause = 1

[State -2, 僇僂儞僞擇寘栚]
type = Explod
triggerall = !ishelper
triggerall = var(9) > 0
triggerall = roundstate > 1
trigger1 = numexplod(102) < 2
anim = 100 + floor(var(9) / 10) % 10
ID = 102
pos = ifelse(teamside = 1, 35, 275), 220
postype = left
facing = 1
bindtime = -1
removetime = 1
ownpal = 1
scale = 0.5, 0.5
ontop = 1
supermovetime = 9999999999999
pausemovetime = 9999999999999
ignorehitpause = 1

[State -2, 慼惗夞悢僙僢僩侾乣俇俹]
type = Varset
triggerall = !ishelper
triggerall = roundstate = [0,1]
trigger1 = palno = [1,6]
var(9) = palno
ignorehitpause = 1

[State -2, 慼惗夞悢僙僢僩俈乣侾侽俹]
type = Varset
triggerall = !ishelper
triggerall = roundstate = [0,1]
trigger1 = palno = [7,10]
var(9) = palno * 3
ignorehitpause = 1

[State -2, 慼惗夞悢僙僢僩侾侾俹]
type = Varset
triggerall = !ishelper
triggerall = roundstate = [0,1]
trigger1 = palno = 11
var(9) = 1
ignorehitpause = 1

[State -2, 慼惗夞悢僙僢僩侾俀俹]
type = Varset
triggerall = !ishelper
triggerall = roundstate = [0,1]
trigger1 = palno = 12
var(9) = 99
ignorehitpause = 1

[State -2, 旐抏梡僗僥屌掕]
type = Selfstate
trigger1 = ishelper(130)
value = 130
ignorehitpause = 1

[State -2, 崿慄僗僥廗摼梡僗僥屌掕]
type = Selfstate
trigger1 = ishelper(131)
value = 131
ignorehitpause = 1

[State -2, 峌寕梡僇儖僲僶乕儞僗僥屌掕]
type = Selfstate
trigger1 = ishelper(132)
value = 132
ignorehitpause = 1

[State -2, 杊屼梡僇儖僲僶乕儞僗僥屌掕]
type = Selfstate
trigger1 = ishelper(140)
value = 140
ignorehitpause = 1

[State -2, 傾乕儅乕梡僗僥屌掕]
type = Selfstate
trigger1 = ishelper(150)
value = 150
ignorehitpause = 1

[State -2, 崿慄梡僗僥屌掕]
type = Selfstate
trigger1 = ishelper(151)
value = 151
ignorehitpause = 1

[State -2, 惗惉梡僗僥屌掕]
type = Selfstate
trigger1 = ishelper(152)
value = 152
ignorehitpause = 1

[State -2, 愯桳梡僗僥屌掕]
type = Selfstate
trigger1 = ishelper(153)
value = 153
ignorehitpause = 1

[State -2, 帪巭傔夝彍梡僗僥屌掕]
type = Selfstate
trigger1 = ishelper(155)
value = 155
ignorehitpause = 1

[State -2, 搥寢夝彍]
type = Selfstate
triggerall = alive
triggerall = anim != 17000
trigger1 = hitpausetime > 0
value = 10000
ignorehitpause = 1

[State -2, 慼惗]
type = Selfstate
triggerall = !ishelper
triggerall = var(9) > -1
trigger1 = !alive
value = 17000
ignorehitpause = 1

[State -2, 杮懱傾僯儊娗棟]
type = Selfstate
triggerall = !ishelper
trigger1 = anim = 0
trigger2 = anim = 170
trigger3 = anim = 175
trigger4 = anim = 180
trigger5 = anim = 181
trigger6 = anim = 190
trigger7 = anim = 191
trigger8 = anim = 5150
trigger9 = anim = 5900
trigger10 = anim = 17000
trigger11 = anim = 19000
trigger12 = anim = 20000
trigger13 = anim = 1000
trigger14 = anim = 1100
trigger15 = anim = 1200
trigger16 = anim = 1300
trigger17 = anim = 1400
trigger18 = anim = 1410
trigger19 = anim = 1500
trigger20 = anim = 1600
trigger21 = anim = 1700
trigger22 = anim = 1800
trigger23 = anim = 1900
value = anim
ignorehitpause = 1

[State -2, gametime幃僗僥敳偗]
type = Selfstate
trigger1 = var(0) != gametime * 99
value = 0
ignorehitpause = 1

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

[Statedef -3]

[State -3, 僗僥敳偗梡曄悢]
type = Varset
trigger1 = 1
var(0) = gametime * 99
ignorehitpause = 1

[State -3, 僇儊儔屌掕]
type = Screenbound
trigger1 = 1
value = 0
ignorehitpause = 1

[State -3, 屻岝]
type = Explod
triggerall = !ishelper
triggerall = alive
triggerall = var(9) > -1
triggerall = roundstate > 1
triggerall = numhelper(150)
triggerall = helper(150),numexplod(500) = 0
triggerall = anim != [170,175]
triggerall = anim != 1600
trigger1 = numexplod(400) = 0
anim = 400
ID = 400
pos = 0, -52
postype = p1
bindtime = -1
removetime = 111
scale = 0.5, 0.5
ontop = 1
ownpal = 1
supermovetime = 9999999999999
pausemovetime = 9999999999999
ignorehitpause = 1

[State -3, 僟儊乕僕僄僼僃僋僩]
type = Explod
triggerall = !ishelper
triggerall = numhelper(150)
triggerall = anim != 1600
trigger1 = helper(150),gethitvar(damage)
anim = 500
ID = 500
pos = 0, -52
postype = p1
bindtime = -1
removetime = 120
scale = 0.6, 0.6
ontop = 1
ownpal = 1
supermovetime = 9999999999999
pausemovetime = 9999999999999
ignorehitpause = 1

[State -3, 塭]
type = Afterimage
triggerall = !ishelper
triggerall = alive
triggerall = var(9) > -1
trigger1 = time = 0
time = -1
length = 60
palcontrast = 128, 0, 128
paladd = 25, 25, 25
timegap = 2
framegap = 2
trans = add
ignorehitpause = 1

[State -3, 摿掕摦嶌帪塭徚嫀]
type = Afterimagetime
triggerall = !ishelper
triggerall = !alive
trigger1 = var(9) < 1
time = 1
ignorehitpause = 1

[State -3, 揰柵俈乣侾俀俹]
type = Palfx
triggerall = !ishelper
triggerall = alive
triggerall = palno = [7,12]
triggerall = var(9) > -1
triggerall = roundstate > 1
triggerall = numhelper(150)
trigger1 = helper(150),numexplod(500) = 0
time = -1
add = 16 - (3 * gametime) % 32, 16 - (2 * gametime) % 32, 16 - (1 * gametime) % 32
ignorehitpause = 1

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