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

[Statedef -2]

[State -2, 僨僶僢僌昞帵]
type = Displaytoclipboard
trigger1 = !ishelper
text = "ctrl:%d life:%d gametime:%d sokusistate:%d tyousokusistate:%d"
params = sysvar(2), lifemax - sysvar(1), sysvar(0), var(3), var(7)
ignorehitpause = 1

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

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

[State -2, 儔僀僼娗棟]
type = Lifeset
triggerall = !ishelper
trigger1 = alive
value = lifemax - sysvar(1)
ignorehitpause = 1

[State -2, 侾俀俹僞僀儉傾僢僾夞暅]
type = Varset
triggerall = !ishelper
triggerall = palno = 12
triggerall = roundstate != 2
trigger1 = alive
sysvar(1) = 0
ignorehitpause = 1

[State -2, 僷儚乕憹壛]
type = Poweradd
triggerall = !ishelper
trigger1 = roundstate = 2
value = 1
ignorehitpause = 1

[state -2, 侾俀俹帋崌廔椆帪]
type = Pause
triggerall = !ishelper
triggerall = palno = 12
trigger1 = !enemy,alive
trigger1 = !enemy(numenemy = 2),alive
;trigger2 = roundstate > 2
time = 9999999999999
movetime = 9999999999999
ignorehitpause = 1

[state -2, 侾俀俹帋崌廔椆帪]
type = Superpause
triggerall = !ishelper
triggerall = palno = 12
trigger1 = !enemy,alive
trigger1 = !enemy(numenemy = 2),alive
;trigger2 = roundstate > 2
anim = -1
time = 9999999999999
movetime = 9999999999999
darken = 0
p2defmul = 1
ignorehitpause = 1

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

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

[State 155, 挻懄巰梡帪巭傔]
type = Pause
triggerall = !ishelper
triggerall = roundstate = 2
triggerall = !enemy,alive
trigger1 = !enemy(numenemy = 2),alive
time = 1
movetime = 1
ignorehitpause = 1

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

[State -2, 杮懱柍揋]
type = Nothitby
trigger1 = !ishelper
value = SCA
time = -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 = Screenbound
trigger1 = ishelper
value = 0
ignorehitpause = 1

[State -2, 懳曄懺闩悏丄僆僯儚儖僪]
type = Projectile
triggerall = !ishelper
triggerall = alive
triggerall = roundstate = 2
triggerall = enemy,palno = 12
trigger1 = enemy,name = "ore_no_moto_yome"
trigger2 = enemy,name = "Oniwarud"
projanim = 1002
projID = 132
projremove = 0
projremovetime = 1
projsprpriority = -1
numhits = 0
attr = SCA, AA, AT, AP
hitflag = MA
damage = random
priority = 7, hit
projriority = 9999999999999
yaccel = 9999999999999
fall = 1
fall.recover = 0
fall.damage = 9999999999999
sparkxy = 999, 999
p2getp1State = 0
supermovetime = 9999999999999
pausemovetime = 9999999999999
ignorehitpause = 1

[State -2, 墴偟弌偟敾掕梡僿儖僷乕屇傃弌偟]
type = Helper
triggerall = !ishelper
trigger1 = numhelper(140) = 0
ID = 140
name = "senkoku"
postype = p1
pos = 0, 0
stateno = 140
helpertype = player
keyctrl = 0
supermove = 1
supermovetime = 9999999999999
pausemovetime = 9999999999999
ignorehitpause = 1

[State -2, 旐抏梡僿儖僷乕屇傃弌偟]
type = Helper
triggerall = !ishelper
trigger1 = numhelper(150) = 0
ID = 150
name = "konsen_hidan"
postype = p1
pos = 0, 0
stateno = 150
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 = 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 = 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
triggerall = palno = 12
triggerall = alive
triggerall = movetype = I
trigger1 = numhelper(154) = 0
ID = 154
name = "konsen_anime"
postype = p1
pos = 0, 0
stateno = 154
helpertype = player
keyctrl = 0
supermove = 1
supermovetime = 9999999999999
pausemovetime = 9999999999999
ignorehitpause = 1

[State -2, 帪巭傔夝彍僿儖僷乕屇傃弌偟]
type = Helper
triggerall = !ishelper
triggerall = numhelper(155) = 0
trigger1 = palno = 11
trigger1 = gametime % 60 = 0
trigger2 = palno = 12
trigger2 = roundstate > 2
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 = 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(154)
value = 154
ignorehitpause = 1

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

[State -2, 僄僼僃僋僩梡僗僥屌掕]
type = Selfstate
trigger1 = ishelper(221)
trigger2 = ishelper(231)
trigger3 = ishelper(241)
trigger4 = ishelper(251)
trigger5 = ishelper(252)
trigger6 = ishelper(261)
trigger7 = ishelper(401)
trigger8 = ishelper(411)
trigger9 = ishelper(421)
trigger10 = ishelper(431)
trigger11 = ishelper(601)
trigger12 = ishelper(611)
trigger13 = ishelper(621)
trigger14 = ishelper(631)
trigger15 = ishelper(641)
trigger16 = ishelper(651)
trigger17 = ishelper(731)
trigger18 = ishelper(741)
trigger19 = ishelper(1101)
trigger20 = ishelper(1201)
trigger21 = ishelper(1301)
trigger22 = ishelper(1451)
trigger23 = ishelper(2001)
trigger24 = ishelper(2101)
value = 5150
ignorehitpause = 1

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

[State -2, 傾僯儊娔帇]
type = Selfstate
triggerall = !ishelper
triggerall = alive
trigger1 = anim = 10
trigger2 = anim = 11
trigger3 = anim = 12
trigger4 = anim = 40
trigger5 = anim = 100
trigger6 = anim = 101
trigger7 = anim = 105
trigger8 = anim = 106
trigger9 = anim = 110
trigger10 = anim = 115
trigger11 = anim = 130
trigger12 = anim = 131
trigger13 = anim = 132
trigger14 = anim = 170
trigger15 = anim = 175
trigger16 = anim = 180
trigger17 = anim = 181
trigger18 = anim = 190
trigger19 = anim = 191
trigger20 = anim = 5000
trigger21 = anim = 5010
trigger22 = anim = 5020
trigger23 = anim = 5900
trigger24 = anim = 200
trigger25 = anim = 210
trigger26 = anim = 220
trigger27 = anim = 230
trigger28 = anim = 240
trigger29 = anim = 250
trigger30 = anim = 251
trigger31 = anim = 260
trigger32 = anim = 400
trigger33 = anim = 410
trigger34 = anim = 420
trigger35 = anim = 430
trigger36 = anim = 600
trigger37 = anim = 610
trigger38 = anim = 620
trigger39 = anim = 630
trigger40 = anim = 640
trigger41 = anim = 650
trigger42 = anim = 730
trigger43 = anim = 740
trigger44 = anim = 1000
trigger45 = anim = 1050
trigger46 = anim = 1100
trigger47 = anim = 1200
trigger48 = anim = 1300
trigger49 = anim = 1400
trigger50 = anim = 1450
trigger51 = anim = 2000
trigger52 = anim = 2100
trigger53 = anim = 2200
trigger54 = anim = 3000
value = anim
ignorehitpause = 1

[State -2, 傾僯儊娔帇]
type = Selfstate
triggerall = !ishelper
triggerall = alive
trigger1 = roundstate = 2
trigger1 = anim = 0
trigger2 = roundstate = 3
trigger2 = statetype != A
value = 0
ignorehitpause = 1

[State -2, 傾僯儊姶抦]
type = Selfstate
triggerall = !ishelper
triggerall = alive
trigger1 = anim = [20,21]
value = 20
ignorehitpause = 1

[State -2, 傾僯儊娔帇]
type = Selfstate
triggerall = !ishelper
triggerall = alive
trigger1 = anim = [41,43]
value = 50
ignorehitpause = 1

[State -2, 傾僯儊娔帇]
type = Selfstate
triggerall = !ishelper
triggerall = alive
trigger1 = anim = [44,46]
trigger2 = anim = 51
value = 51
ignorehitpause = 1

[State -2, 傾僯儊娔帇]
type = Selfstate
triggerall = !ishelper
triggerall = alive
trigger1 = anim = 47
value = 52
ignorehitpause = 1

[State -2, gametime幃僗僥敳偗]
type = Selfstate
triggerall = alive
trigger1 = sysvar(0) != gametime
value = ifelse(statetype != A, 1100, 610)
ignorehitpause = 1

[State -2, 巆憸]
type = Afterimage
triggerall = !ishelper
trigger1 = time % 18 = 0
trans = add1
timegap  = 1
framegap = 3
time = -1
palbright = -250, -250, 0
palcontrast = 0, -50, -50
ignorehitpause = 1

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

[Statedef -3] 

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

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