;***************************************************************************
;===========================================================================
;---------------------------------------------------------------------------
[Statedef -2];忢帪娔帇僗僥乕僩
;---------------------------------------------------------------------------
;===========================================================================
;***************************************************************************
;=================================================================================
;=================================================================================
;婛懚僗僀僢僠(堦晹嶍彍)
;=================================================================================
;=================================================================================
;曄悢儕僙僢僩僗僀僢僠
;0 側偟
;1 偁傝
;堦晹憡庤偵晄嬶崌傪婲偙偡壜擻惈偑偁傝傑偡丅
:椺丂搢偟偰傕2夞栚偵僗僩乕儕乕偑巒傑傜側偄側偳
[state -2]
type = varset
trigger1 = 1
fv = 3
;伂伂伂伂伂伂伂
value = 0
;伂伂伂伂伂伂伂
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999

;=================================================================================
;=================================================================================


;=================================================================================
;=================================================================================
;捛壛僗僀僢僠(摿偵堄枴側偟)
;=================================================================================
;=================================================================================
;懴媣Level愝掕
;7乣11P:0乣5
;1乣6P :0乣3
;===========================================================
;11P
;===========
[state -2]
type = varset
triggerall = !ishelper && name = "EXERION"
trigger1 = palno = 11
;伂伂伂伂伂伂伂
sysvar(3) = 3
;伂伂伂伂伂伂伂
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999
;===========================================================
;10P
;===========
[state -2]
type = varset
triggerall = !ishelper && name = "EXERION"
trigger1 = palno = 10
;伂伂伂伂伂伂伂
sysvar(3) = 3
;伂伂伂伂伂伂伂
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999
;===========================================================
;9P
;===========
[state -2]
type = varset
triggerall = !ishelper && name = "EXERION"
trigger1 = palno = 9
;伂伂伂伂伂伂伂
sysvar(3) = 3
;伂伂伂伂伂伂伂
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999
;===========================================================
;8P
;===========
[state -2]
type = varset
triggerall = !ishelper && name = "EXERION"
trigger1 = palno = 8
;伂伂伂伂伂伂伂
sysvar(3) = 3
;伂伂伂伂伂伂伂
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999
;===========================================================
;7P
;===========
[state -2]
type = varset
triggerall = !ishelper && name = "EXERION"
trigger1 = palno = 7
;伂伂伂伂伂伂伂
sysvar(3) = 3
;伂伂伂伂伂伂伂
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999
;===========================================================
;6P
;===========
[state -2]
type = varset
triggerall = !ishelper && name = "EXERION"
trigger1 = palno = 6
;伂伂伂伂伂伂伂
sysvar(3) = 3
;伂伂伂伂伂伂伂
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999
;===========================================================
;5P
;===========
[state -2]
type = varset
triggerall = !ishelper && name = "EXERION"
trigger1 = palno = 5
;伂伂伂伂伂伂伂
sysvar(3) = 3
;伂伂伂伂伂伂伂
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999
;===========================================================
;4P
;===========
[state -2]
type = varset
triggerall = !ishelper && name = "EXERION"
trigger1 = palno = 4
;伂伂伂伂伂伂伂
sysvar(3) = 3
;伂伂伂伂伂伂伂
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999
;===========================================================
;3P
;===========
[state -2]
type = varset
triggerall = !ishelper && name = "EXERION"
trigger1 = palno = 3
;伂伂伂伂伂伂伂
sysvar(3) = 3
;伂伂伂伂伂伂伂
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999
;===========================================================
;2P
;===========
[state -2]
type = varset
triggerall = !ishelper && name = "EXERION"
trigger1 = palno = 2
;伂伂伂伂伂伂伂
sysvar(3) = 3
;伂伂伂伂伂伂伂
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999
;===========================================================
;1P
;===========
[state -2]
type = varset
triggerall = !ishelper && name = "EXERION"
trigger1 = palno = 1
;伂伂伂伂伂伂伂
sysvar(3) = 3
;伂伂伂伂伂伂伂
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999

;=================================================================================
;=================================================================================
;BGM/Level昞帵
;0:OFF/OFF
;1:ON /OFF
;2:OFF/ON
;3:ON /ON
;===========================================================
;12P
;===========
[state -2]
type = varset
triggerall = !ishelper && name = "EXERION"
trigger1 = palno = 12
v = 49
;伂伂伂伂伂伂伂
value = 1
;伂伂伂伂伂伂伂
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999
;===========================================================
;7乣11P
;===========
[state -2]
type = varset
triggerall = !ishelper && name = "EXERION"
trigger1 = palno = [7,11]
v = 49
;伂伂伂伂伂伂伂
value = 1
;伂伂伂伂伂伂伂
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999
;===========================================================
;1乣6P
;===========
[state -2]
type = varset
triggerall = !ishelper && name = "EXERION"
trigger1 = palno = [1,6]
v = 49
;伂伂伂伂伂伂伂
value = 1
;伂伂伂伂伂伂伂
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999

;=================================================================================
;=================================================================================
;儔儞僋
;===========
;丂丂丂丂暲乗乗嫮乗乗嫢乗乗嫸乗乗恄壓埵乗乗恄拞埵乗乗恄忋埵乗乗恄嵟忋埵
;1乣6P丂:            劋劅劅劅劅劊
;7乣11P :                 劋劅劅劅劅劅劊
;12P丂丂:                        劋劅劅劅劅劅劊
;===========================================================
;峌寕惈擻偵偍偄偰偺儔儞僋偱偡丅
;懴惈柺偼崿慄怘傜傢側偄傛偆偵柍懯側搘椡傪廳偹偰偒偨偺偱尦偺ALSIEL傛傝偼崅偄偼偢偱偡丅
;帺暘偺抦幆偠傖偳偺曈傝偐傑偱偼傢偐傫側偄偱偡乧乧乧
;=================================================================================
;=================================================================================
;===========================================================
;懴媣Level愢柧(崌偭偰傞偐傢偐傝傑偣傫偗偳)
;慡僇儔乕丒慡Level崿慄桳岠丒懄巰壜丠
;===========================================================
;12P
;===========
;僟儊乕僕丗尭傞婥側偟
;夞暅丂丂丗忢帪
;===========
;===========================================================
;7乣11P
;===========
;[Level 0]
;僟儊乕僕丗40屌掕
;夞暅丂丂丗柍偟
;===========
;[Level 1]
;僟儊乕僕丗life斀揮-2(GameTime%2)
;夞暅丂丂丗峌寕庴偗傞偨傃偵200夞暅
;===========
;[Level 2]
;僟儊乕僕丗life斀揮-1(GameTime%2)
;夞暅丂丂丗峌寕庴偗傞偨傃偵200夞暅媦傃帋崌廔椆屻偵慡夞暅
;===========
;[Level 3]
;僟儊乕僕丗4屌掕
;夞暅丂丂丗帋崌廔椆屻偵慡夞暅
;===========
;[Level 4]
;僟儊乕僕丗尭傞婥側偟丄儔僢僉乕7
;夞暅丂丂丗帋崌廔椆屻偵慡夞暅
;===========
;[Level 5]
;僟儊乕僕丗尭傞婥側偟
;夞暅丂丂丗帋崌廔椆屻偵慡夞暅
;===========
;===========================================================
;1乣6P
;嶍傝偱偼巰側偢丄帋崌廔椆屻偺life屌掕偑曄壔偡傞偺傒
;===========
;[Level 0]丗0
;[Level 1]丗敿暘
;[Level 2]丗1199
;[Level 3]丗慡夞暅
;===========
;===========================================================

;=================================================================================
;=================================================================================
;仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩
;仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩
;仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩
;仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩
;仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩
;仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩
;仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩
;仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩
;=================================================================================
;=================================================================================
;Hitdef崿慄
;=================================================================================
;=================================================================================
;崿慄梡僿儖僷乕
;===========
[State -2]
type = null;Helper
triggerall = !ishelper
trigger1 = numhelper(9915001) = 0
ID = 9915001
stateno = 991500
name = "E-1"
postype = p1
pos = 0, 0
helpertype = player
keyctrl = 0
supermove = 1
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999
;===========================================================
;惗惉梡僿儖僷乕
;===========
[State -2]
type = null;Helper
triggerall = !ishelper
triggerall = helper(9915001),numtarget < 8
trigger1 = numhelper(9915002) < 8
ID = 9915002
stateno = 991500
name = "E-2"
postype = p1
pos = 0, 0
helpertype = player
keyctrl = 0
supermove = 1
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999
;===========================================================
;傾僯儊1
;===========
[State -2]
type = parentvarset
triggerall = ishelper(66666)
triggerall = var(21) != enemynear,anim
triggerall = (enemy,stateno != 0)&&(enemy,stateno != [10,12])&&(enemy,stateno != [50,52])
triggerall = enemy,stateno != 20
triggerall = enemy,stateno != 40
triggerall = enemy,stateno != 45
triggerall = enemy,stateno != 100&&(enemy,stateno != [105,106])
triggerall = enemy,stateno != 110
triggerall = enemy,stateno != 115
triggerall = enemy,stateno != 120
triggerall = enemy,stateno != [130,132]
triggerall = enemy,stateno != 140
triggerall = enemy,stateno != [150,155]
trigger1 = var(55)!=gametime+123456789
v = 20
value = enemy,anim
ignorehitpause = 1
;===========================================================
;傾僯儊2
;===========
[State -2]
type = parentvarset
triggerall = ishelper(66666)
triggerall = var(21) <= 0
triggerall = (enemy,stateno != 0)&&(enemy,stateno != [10,12])&&(enemy,stateno != [50,52])
triggerall = enemy,stateno != 20
triggerall = enemy,stateno != 40
triggerall = enemy,stateno != 45
triggerall = enemy,stateno != 100&&(enemy,stateno != [105,106])
triggerall = enemy,stateno != 110
triggerall = enemy,stateno != 115
triggerall = enemy,stateno != 120
triggerall = enemy,stateno != [130,132]
triggerall = enemy,stateno != 140
triggerall = enemy,stateno != [150,155]
trigger1 = var(55)!=gametime+123456789
v = 21
value = enemy,anim
ignorehitpause = 1
;===========================================================
;傾僯儊3
;===========
[State -2]
type = varset
triggerall = !ishelper
triggerall = var(25) = 0
trigger1 = enemynear,movecontact
trigger2 = enemynear,movereversed
trigger3 = enemynear,hitdefattr = SCA,AA,AT,AP
var(25) = enemynear,anim
ignorehitpause = 1
[State -2]
type = varset
triggerall = !ishelper
trigger1 = var(25) = 200
var(25) = 0
ignorehitpause = 1
;===========================================================
;傾僯儊4
;===========
[State -2]
type = varset
triggerall = !ishelper
triggerall = var(26) = 0
triggerall = var(25) != 0
trigger1 = enemynear,movecontact
trigger2 = enemynear,movereversed
trigger3 = enemynear,hitdefattr = SCA,AA,AT,AP
var(26) = enemynear,anim
ignorehitpause = 1
;===========================================================
;僗僥乕僩1
;===========
[State -2]
type = parentvarset
triggerall = ishelper(66666)
triggerall = (enemy,stateno != 0)&&(enemy,stateno != [10,12])&&(enemy,stateno != [50,52])
triggerall = enemy,stateno != 20
triggerall = enemy,stateno != 40
triggerall = enemy,stateno != 45
triggerall = enemy,stateno != 100&&(enemy,stateno != [105,106])
triggerall = enemy,stateno != 110
triggerall = enemy,stateno != 115
triggerall = enemy,stateno != 120
triggerall = enemy,stateno != [130,132]
triggerall = enemy,stateno != 140
triggerall = enemy,stateno != [150,155]
triggerall = life = 0
trigger1 = var(57)!= (gametime*var(55))+(gametime+var(55))
trigger2 = sysvar(4)!= gametime*gametime
v = 19
value = stateno
ignorehitpause = 1
;===========================================================
;僗僥乕僩2
;===========
[State -2]
type = parentvarset
triggerall = ishelper(66666)
triggerall = (enemy,stateno != 0)&&(enemy,stateno != [10,12])&&(enemy,stateno != [50,52])
triggerall = enemy,stateno != 20
triggerall = enemy,stateno != 40
triggerall = enemy,stateno != 45
triggerall = enemy,stateno != 100&&(enemy,stateno != [105,106])
triggerall = enemy,stateno != 110
triggerall = enemy,stateno != 115
triggerall = enemy,stateno != 120
triggerall = enemy,stateno != [130,132]
triggerall = enemy,stateno != 140
triggerall = enemy,stateno != [150,155]
trigger1 = var(57)!= (gametime*var(55))+(gametime+var(55))
trigger2 = sysvar(4)!= gametime*gametime
v = 22
value = stateno
ignorehitpause = 1
[State -2]
type = varset
triggerall = !ishelper
triggerall = enemynear,alive
trigger1 = enemynear,stateno = var(22)
v = 22
value = 0
ignorehitpause = 1
;===========================================================
;僗僥乕僩3
;===========
[State -2]
type = parentvarset
triggerall = ishelper(66666)
triggerall = root,var(23) = 0
triggerall = root,var(19) != 0
triggerall = root,var(22) != 0
triggerall = stateno != root,var(19)
triggerall = stateno != root,var(22)
triggerall = stateno != root,var(23)
triggerall = stateno != root,var(24)
triggerall = stateno != root,var(26)
trigger1 = var(55)!=gametime+123456789
v = 23
value = stateno
ignorehitpause = (movereversed = 0)
[State -2]
type = varset
triggerall = !ishelper
triggerall = enemynear,alive
trigger1 = enemynear,stateno = var(19)
v = 23
value = 0
ignorehitpause = 1
;===========================================================
;僗僥乕僩4
;===========
[State -2]
type = parentvarset
triggerall = ishelper(66666)
triggerall = root,var(24) = 0
triggerall = root,var(19) != 0
triggerall = root,var(22) != 0
triggerall = root,var(23) != 0
triggerall = stateno != root,var(19)
triggerall = stateno != root,var(22)
triggerall = stateno != root,var(23)
triggerall = stateno != root,var(24)
triggerall = stateno != root,var(26)
trigger1 = var(55)!=gametime+123456789
v = 24
value = stateno
ignorehitpause = (movereversed = 0)
[State -2]
type = varset
triggerall = !ishelper
triggerall = enemynear,alive
trigger1 = enemynear,stateno = var(19)
v = 24
value = 0
ignorehitpause = 1
;===========================================================
;崿慄梡僗僥屌掕
;===========
[state -2]
type = Selfstate
trigger1 = ishelper(9915001)
value = 991500
ignorehitpause = 1
;===========================================================
;惗惉梡僗僥屌掕
;===========
[state -2]
type = Selfstate
trigger1 = ishelper(9915002)
value = 991500
ignorehitpause = 1
;===========================================================
;=================================================================================
;=================================================================================
;Projectile崿慄
;=================================================================================
;=================================================================================
;婛懚
;===========
[State 150]
type = helper
triggerall = !ishelper && name = "EXERION"
trigger1 = roundstate = 2
trigger1 = numhelper(649999) < 5
trigger1 = stateno = 2205
trigger2 = numhelper(649999) < 5
trigger2 = p2name="Kyuketsuki"&&enemy,palno=11 || p2name="Shutdown" || p2name="MUAHAHAHAHAHAHAHAHA"
id = 649999
name = "649999"
stateno = 150
pos = 0,899999999+99999999
postype = p1
helpertype = player
keyctrl = 0
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999
;===========================================================
;捛壛
;===========
[State 150]
type = helper
triggerall = !ishelper && name = "EXERION"
triggerall = target,ishelper <= 3
triggerall = numhelper(639999) < 5
trigger1 = stateno = 14001;儐僯僶乕僗丒僨傿僗僩乕僔儑儞兛
trigger2 = stateno = 19301;傾乕僗丒僋僄僀僋
trigger3 = stateno = 19151;僨傿儊儞僔儑儞丒僇儔僾僗
trigger4 = stateno = 19401;僇僆僥傿僢僋丒儗僀夵
trigger5 = stateno = 19251;僇僆僗儗僀
trigger6 = stateno = 19901;僟乕僕儍S
id = 639999
name = "639999"
stateno = 150
pos = 0,899999999+99999999
postype = p1
helpertype = player
keyctrl = 0
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999
;===========================================================
;棊壓僟儊
;===========
[state -2]
type = Projectile
triggerall = !ishelper && name = "EXERION"
triggerall = (GameTime%2) = 1
trigger1 = stateno = 19901;僟乕僕儍S
trigger2 = stateno = 19151;僨傿儊儞僔儑儞丒僇儔僾僗
trigger3 = stateno = 19301;傾乕僗丒僋僄僀僋
trigger4 = stateno = 19401;僇僆僥傿僢僋丒儗僀夵
projID = 9999801
projanim = 22195
projremove = 1
projremovetime = 30
projhits = 1
projpriority = 999
attr = SCA, NT, ST, HT, AA, AT, AP
hitflag = MAFD
guardflag = 
damage = 9999999999999*ifelse(random%2=0,-1,1)
fall = 1
fall.recover = 0
fall.damage = 99999999999999999999999999
p2stateno = 5110
p2getp1state = 0
numhits = 0
ignorehitpause = 1
supermovetime = 9999999999999
pausemovetime = 9999999999999
;===========================================================
[State -2]
type = ReversalDef
triggerall = !ishelper && name = "EXERION"
trigger1 = stateno = 14001;儐僯僶乕僗丒僨傿僗僩乕僔儑儞兛
trigger2 = stateno = 19301;傾乕僗丒僋僄僀僋
trigger3 = stateno = 19151;僨傿儊儞僔儑儞丒僇儔僾僗
trigger4 = stateno = 19401;僇僆僥傿僢僋丒儗僀夵
trigger5 = stateno = 19251;僇僆僗儗僀
trigger6 = stateno = 19901;僟乕僕儍S
reversal.attr = SCA,AA,AT,AP
priority = 7, Hit
pausetime = 0,0
hitsound = -1
p2stateno = 5150
ignorehitpause = 1
;===========================================================
[state -2]
type = targetstate
triggerall = !ishelper && numtarget
trigger1 = target,ishelper
trigger1 = roundstate = 2 && stateno = 2205
trigger2 = p2name="Kyuketsuki"&&enemy,palno=11 || p2name="" || p2name="MUAHAHAHAHAHAHAHAHA" || p2name="genjitsu" || p2name="Shutdown"
trigger2 = enemy,alive
trigger3 = stateno = 14001
trigger4 = stateno = 19251
value = 50340
ignorehitpause = 1
;===========================================================
[state -2]
type = targetstate
triggerall = !ishelper && numtarget
triggerall = target,ishelper
trigger1 = stateno = 19151
trigger2 = stateno = 19301
trigger3 = stateno = 19401
trigger4 = stateno = 19901
value = 50350
ignorehitpause = 1

;=================================================================================
;=================================================================================
;帪巭傔夝彍丠
;===========
[state -2]
type = helper
triggerall = enemy,name != "genjitsu"
trigger1 = numhelper(558829911) = 0
id = 558829911
stateno = 558829911
helpertype = player
postype = p1
pos = 0,0
name = "EXERION-S"
size.ground.back = 0
size.ground.front = 0
size.air.back = 0
size.air.front = 0
size.height = 0
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999
;===========================================================
;椫偭偐
;===========
[state -2]
type = helper
trigger1 = numhelper(558829912) = 0
id = 558829912
stateno = 558829912
helpertype = player
postype = p1
name = "EXERION-A"
ownpal = 1
size.ground.back = 0
size.ground.front = 0
size.air.back = 0
size.air.front = 0
size.height = 0
;size.shadowoffset = 9999
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999
;===========================================================
;娙堈OTHK
;===========
[State -2]
type = helper
triggerall = !Ishelper
triggerall = enemynear,name != "D.O.G."
triggerall = enemynear,name != "UNKNOWN"
trigger1 = numhelper(12341112) = 0
id = 12341112
stateno = 12341112
name = "OTHK1"
pos = 0,0
postype = P1
helpertype = player
keyctrl = 0
ownpal = 1
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999
;===========
[State -2]
type = helper
triggerall = !Ishelper
triggerall = enemynear,name != "D.O.G."
triggerall = enemynear,name != "UNKNOWN"
triggerall = numhelper(12341111) = 0
trigger1 = enemy(0),numprojid(1007)>0||enemy(0),stateno=5152
trigger2 = enemy(1),numprojid(1007)>0||enemy(1),stateno=5152
id = 12341111
stateno = 12341111
name = "OTHK2"
pos = 0,0
postype = P1
helpertype = player
keyctrl = 0
ownpal = 1
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999

;=================================================================================
;=================================================================================
[state -2]
type = AssertSpecial
trigger1 = 1
flag  = unguardable
flag2 = noshadow
;flag3 = 
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999
;===========================================================
[state -2]
type = AssertSpecial
trigger1 = Ishelper(12341111)
trigger2 = Ishelper(12341112)
trigger3 = Ishelper(558829911)
flag = Invisible
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999

;=================================================================================
;=================================================================================
[state -2];曄峏旕悇彠
type = varset
triggerall = palno = [7,12]
triggerall = !ishelper&&roundstate != 2
trigger1 = enemynear,name = "genjitsu"
trigger2 = enemynear,name = "efreet" && enemy,life != 4000
trigger3 = enemynear,name = "Death Star"
trigger4 = enemynear,name = "BALAM"
trigger5 = enemy,name = "G Magaki" || enemy,name = "Legend Gold Magaki"
v = 40
value = 3
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999

;=================================================================================
;=================================================================================
;杮懱僄僼僃僋僩
;=================================================================================
;=================================================================================
;岝偺棻巕
;===========
[state -2]
type = Explod
triggerall = !ishelper && name = "EXERION"
triggerall = sysvar(3) >= 4 || palno = 12
trigger1 = gametime%3 = 0
anim = 149572
id = 149572
random = 100,20
sprpriority = 4
ownpal = 1
vel = -2+random%5,-2-random%3
scale = 0.5,0.5
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999
;===========
[state -2]
type = Explod
triggerall = !ishelper && name = "EXERION"
triggerall = sysvar(3) >= 4 || palno = 12
trigger1 = gametime%3 = 0
anim = 149572
id = 149572
random = 100,20
sprpriority = 4
ownpal = 1
vel = -2+random%5,-2-random%3
scale = 0.5,0.5
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999
;===========
[state -2]
type = Explod
triggerall = !ishelper && name = "EXERION"
triggerall = sysvar(3) >= 4 || palno = 12
trigger1 = gametime%3 = 0
anim = 149572
id = 149572
random = 100,20
sprpriority = 4
ownpal = 1
vel = -2+random%5,-2-random%3
scale = 0.5,0.5
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999
;===========================================================
;椫
;===========
[State -2]
type = Explod
triggerall = !ishelper && name = "EXERION"
triggerall = sysvar(3) >= 3 || palno = 12
trigger1 = numexplod(1495710) = 0
anim = 149571
id = 1495710
pos = 0,-70
Postype = p1
facing = 1
sprpriority = 0
ownpal = 1
;ontop = 1
bindtime = -1
removetime = -1
scale = 0.6,0.6
;trans = add
persistent = 0
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999
;===========
[State -2]
type = Explod
triggerall = !ishelper && name = "EXERION"
triggerall = sysvar(3) >= 4 || palno = 12
trigger1 = numexplod(1495711) = 0
anim = 149571
id = 1495711
pos = 0,-70
Postype = p1
facing = -1
sprpriority = 0
ownpal = 1
;ontop = 1
bindtime = -1
removetime = -1
scale = 0.6,0.6
;trans = add
persistent = 0
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999
;===========================================================
;攇摦
;===========
[State -2]
type = Explod
triggerall = anim = 0 && !ishelper
trigger1 = numexplod(2213800) = 0
anim = 22138
id = 2213800
sprpriority = 0
postype = p1
pos = 0,-90
bindtime = -1
under = 0
ownpal = 1
persistent = 0
scale = 0.5,0.5
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999
;===========
[State -2]
type = Explod
triggerall = anim = 0 && !ishelper
trigger1 = numexplod(2213200) = 0
anim = 22132
id = 2213200
sprpriority = -4
postype = p1
pos = 0,-90
bindtime = -1
under = 0
ownpal = 1
persistent = 0
scale = 0.5,0.5
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999
;===========
[State -2]
type = Explod
triggerall = anim = 0 && !ishelper
trigger1 = numexplod(2213801) = 0
anim = 22138
id = 2213801
sprpriority = 10
postype = p1
pos = 0,0
bindtime = 1
under = 0
ownpal = 1
persistent = 1
scale = 0.5,0.1
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999
;===========
[State -2]
type = Explod
triggerall = anim = 0 && !ishelper
trigger1 = numexplod(2213201) = 0
anim = 22138
id = 2213201
sprpriority = 10
postype = p1
pos = 0,0
bindtime = 1
under = 0
ownpal = 1
persistent = 1
scale = 0.5,0.1
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999
;===========================================================
;丠丠丠
;===========
[State -2]
type = Explod
triggerall = anim = 0 && !ishelper
triggerall = time >= 15
trigger1 = (GameTime%80) = 1
anim = 27000
sprpriority = 1
postype = p1
pos = 0,0
bindtime = -1
under = 0
ownpal = 1
scale = 0.4,0.8
persistent = 0
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999
;===========
[State -2]
type = Explod
triggerall = anim = 0 && !ishelper
triggerall = time >= 15
trigger1 = (GameTime%80) = 1
anim = 27000
sprpriority = 1
postype = p1
pos = 0,0
facing = -1
bindtime = -1
under = 0
ownpal = 1
scale = 0.4,0.8
persistent = 0
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999

;=================================================================================
;=================================================================================
;12P儗儀儖昞帵
;===========================================================
[state -2]
type = Explod
triggerall = !Ishelper
triggerall = var(49) >= 2
triggerall = numexplod(14916) = 0
trigger1 = palno = 12
trigger1 = teamside = 1
anim = 14916
id = 14916
pos = 12,226;93,226
postype = back
bindtime = -1
removetime = -1
ownpal = 0
;facing = -1
sprpriority = 255
scale = 0.3,0.3
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999

[state -2]
type = Explod
triggerall = !Ishelper
triggerall = var(49) >= 2
triggerall = numexplod(14917) = 0
trigger1 = palno = 12
trigger1 = teamside = 2
anim = 14917
id = 14917
pos = 93,226
postype = back
bindtime = -1
removetime = -1
ownpal = 0
;facing = -1
sprpriority = 255
scale = 0.3,0.3
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999

[state -2]
type = RemoveExplod
trigger1 = sysvar(3) != 0
ID = 14928
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999

[state -2]
type = RemoveExplod
trigger1 = sysvar(3) != 0
ID = 14929
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999

;=================================================================================
;=================================================================================
;7乣11P儗儀儖昞帵
;===========================================================
[state -2]
type = Explod
triggerall = !Ishelper
triggerall = sysvar(3) >= 6
triggerall = var(49) >= 2
triggerall = numexplod(14916) = 0
trigger1 = palno = [7,11]
trigger1 = teamside = 1
anim = 14916
id = 14916
pos = 12,226;93,226
postype = back
bindtime = -1
removetime = -1
ownpal = 0
;facing = -1
sprpriority = 255
scale = 0.3,0.3
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999

[state -2]
type = Explod
triggerall = !Ishelper
triggerall = sysvar(3) >= 6
triggerall = var(49) >= 2
triggerall = numexplod(14917) = 0
trigger1 = palno = [7,11]
trigger1 = teamside = 2
anim = 14917
id = 14917
pos = 93,226
postype = back
bindtime = -1
removetime = -1
ownpal = 0
;facing = -1
sprpriority = 255
scale = 0.3,0.3
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999
;===========================================================
[state -2]
type = Explod
triggerall = !Ishelper
triggerall = sysvar(3) = 5
triggerall = var(49) >= 2
triggerall = numexplod(14918) = 0
trigger1 = palno = [7,11]
trigger1 = teamside = 1
anim = 14918
id = 14918
pos = 12,226;93,226
postype = back
bindtime = -1
removetime = -1
ownpal = 0
;facing = -1
sprpriority = 255
scale = 0.3,0.3
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999

[state -2]
type = Explod
triggerall = !Ishelper
triggerall = sysvar(3) = 5
triggerall = var(49) >= 2
triggerall = numexplod(14919) = 0
trigger1 = palno = [7,11]
trigger1 = teamside = 2
anim = 14919
id = 14919
pos = 93,226
postype = back
bindtime = -1
removetime = -1
ownpal = 0
;facing = -1
sprpriority = 255
scale = 0.3,0.3
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999
;===========================================================
[state -2]
type = Explod
triggerall = !Ishelper
triggerall = sysvar(3) = 4
triggerall = var(49) >= 2
triggerall = numexplod(14920) = 0
trigger1 = palno = [7,11]
trigger1 = teamside = 1
anim = 14920
id = 14920
pos = 12,226;93,226
postype = back
bindtime = -1
removetime = -1
ownpal = 0
;facing = -1
sprpriority = 255
scale = 0.3,0.3
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999

[state -2]
type = Explod
triggerall = !Ishelper
triggerall = sysvar(3) = 4
triggerall = var(49) >= 2
triggerall = numexplod(14921) = 0
trigger1 = palno = [7,11]
trigger1 = teamside = 2
anim = 14921
id = 14921
pos = 93,226
postype = back
bindtime = -1
removetime = -1
ownpal = 0
;facing = -1
sprpriority = 255
scale = 0.3,0.3
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999
;===========================================================
[state -2]
type = Explod
triggerall = !Ishelper
triggerall = sysvar(3) = 3
triggerall = var(49) >= 2
triggerall = numexplod(14922) = 0
trigger1 = palno = [7,11]
trigger1 = teamside = 1
anim = 14922
id = 14922
pos = 12,226;93,226
postype = back
bindtime = -1
removetime = -1
ownpal = 0
;facing = -1
sprpriority = 255
scale = 0.3,0.3
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999

[state -2]
type = Explod
triggerall = !Ishelper
triggerall = sysvar(3) = 3
triggerall = var(49) >= 2
triggerall = numexplod(14923) = 0
trigger1 = palno = [7,11]
trigger1 = teamside = 2
anim = 14923
id = 14923
pos = 93,226
postype = back
bindtime = -1
removetime = -1
ownpal = 0
;facing = -1
sprpriority = 255
scale = 0.3,0.3
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999
;===========================================================
[state -2]
type = Explod
triggerall = !Ishelper
triggerall = sysvar(3) = 2
triggerall = var(49) >= 2
triggerall = numexplod(14924) = 0
trigger1 = palno = [7,11]
trigger1 = teamside = 1
anim = 14924
id = 14924
pos = 12,226;93,226
postype = back
bindtime = -1
removetime = -1
ownpal = 0
;facing = -1
sprpriority = 255
scale = 0.3,0.3
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999

[state -2]
type = Explod
triggerall = !Ishelper
triggerall = sysvar(3) = 2
triggerall = var(49) >= 2
triggerall = numexplod(14925) = 0
trigger1 = palno = [7,11]
trigger1 = teamside = 2
anim = 14925
id = 14925
pos = 93,226
postype = back
bindtime = -1
removetime = -1
ownpal = 0
;facing = -1
sprpriority = 255
scale = 0.3,0.3
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999
;===========================================================
[state -2]
type = Explod
triggerall = !Ishelper
triggerall = sysvar(3) = 1
triggerall = var(49) >= 2
triggerall = numexplod(14926) = 0
trigger1 = palno = [7,11]
trigger1 = teamside = 1
anim = 14926
id = 14926
pos = 12,226;93,226
postype = back
bindtime = -1
removetime = -1
ownpal = 0
;facing = -1
sprpriority = 255
scale = 0.3,0.3
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999

[state -2]
type = Explod
triggerall = !Ishelper
triggerall = sysvar(3) = 1
triggerall = var(49) >= 2
triggerall = numexplod(14927) = 0
trigger1 = palno = [7,11]
trigger1 = teamside = 2
anim = 14927
id = 14927
pos = 93,226
postype = back
bindtime = -1
removetime = -1
ownpal = 0
;facing = -1
sprpriority = 255
scale = 0.3,0.3
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999
;===========================================================
[state -2]
type = Explod
triggerall = !Ishelper
triggerall = sysvar(3) = 0
triggerall = var(49) >= 2
triggerall = numexplod(14928) = 0
trigger1 = palno = [7,11]
trigger1 = teamside = 1
anim = 14928
id = 14928
pos = 12,226;93,226
postype = back
bindtime = -1
removetime = -1
ownpal = 0
;facing = -1
sprpriority = 255
scale = 0.3,0.3
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999

[state -2]
type = Explod
triggerall = !Ishelper
triggerall = sysvar(3) = 0
triggerall = var(49) >= 2
triggerall = numexplod(14929) = 0
trigger1 = palno = [7,11]
trigger1 = teamside = 2
anim = 14929
id = 14929
pos = 93,226
postype = back
bindtime = -1
removetime = -1
ownpal = 0
;facing = -1
sprpriority = 255
scale = 0.3,0.3
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999

;=================================================================================
;=================================================================================
;僟儊乕僕忦審
;===========================================================
;7乣11P [Level 5]
[State -2]
type = lifeset
triggerall = name = "EXERION"
triggerall = palno = [7,11]
triggerall = sysvar(3) = 5
triggerall = roundstate = 2
trigger1 = 1
value = enemy,life+1
absolute = 1
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999

[State -2]
type = assertspecial
triggerall = name = "EXERION"
triggerall = palno = [7,11]
triggerall = sysvar(3) = 5
trigger1 = life <= 0
flag = noko
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999

[State -2]
type = lifeset
triggerall = name = "EXERION"
triggerall = palno = [7,11]
triggerall = sysvar(3) >= 5
trigger1 = roundstate != 2
value = lifemax
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999
;===========================================================
;7乣11P [Level 4]
[State -2]
type = lifeset
triggerall = name = "EXERION"
triggerall = palno = [7,11]
triggerall = sysvar(3) = 4
triggerall = roundstate = 2
trigger1 = 1
value = enemy,life+1
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999

[State -2]
type = lifeset
triggerall = name = "EXERION"
triggerall = palno = [7,11]
triggerall = sysvar(3) = 4
triggerall = var(57) = (gametime*var(55))+(gametime+var(55))
triggerall = sysvar(4) = gametime*gametime
triggerall = helper,var(57) != (gametime*var(55))+(gametime+var(55))
triggerall = numhelper <= 30
trigger1 = roundstate = 2
trigger1 = enemy,life = 777
trigger1 = time = 0
value = 0
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999

[State -2]
type = lifeset
triggerall = name = "EXERION"
triggerall = palno = [7,11]
triggerall = sysvar(3) = 4
trigger1 = roundstate != 2
value = lifemax
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999
;===========================================================
;7乣11P [Level 3]
[State -2]
type = lifeadd
triggerall = name = "EXERION"
triggerall = numhelper(6400000) = 1
triggerall = palno = [7,11]
triggerall = sysvar(3) = 3
triggerall = !ishelper && alive && roundstate=2
triggerall = var(57) = (gametime*var(55))+(gametime+var(55))
triggerall = sysvar(4) = gametime*gametime
triggerall = helper,var(57) != (gametime*var(55))+(gametime+var(55))
triggerall = numhelper <= 30
trigger1 = (helper(6400000),GetHitVar(Damage)=[1,(lifemax*0.3)])
value = -4
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999

[State -2]
type = lifeset
triggerall = name = "EXERION"
triggerall = palno = [7,11]
triggerall = sysvar(3) = 3
trigger1 = roundstate != 2
value = lifemax
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999
;===========================================================
;7乣11P [Level 2]
[State -2]
type = lifeadd
triggerall = name = "EXERION"
triggerall = numhelper(6400000) = 1
triggerall = palno = [7,11]
triggerall = sysvar(3) = 2
triggerall = !ishelper && roundstate=2
triggerall = var(57) = (gametime*var(55))+(gametime+var(55))
triggerall = sysvar(4) = gametime*gametime
triggerall = helper,var(57) != (gametime*var(55))+(gametime+var(55))
triggerall = numhelper <= 30
trigger1 = (GameTime%2) = 1
value = -1
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999

[State -2]
type = lifeadd
triggerall = name = "EXERION"
triggerall = numhelper(6400000)
triggerall = palno = [7,11]
triggerall = sysvar(3) = 2
triggerall = !ishelper && alive && roundstate=2
trigger1 = (helper(6400000),GetHitVar(Damage));=[1,(lifemax*0.3)]
value = 200
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999

[State -2]
type = lifeset
triggerall = name = "EXERION"
triggerall = palno = [7,11]
triggerall = sysvar(3) = 2
trigger1 = roundstate != 2
value = lifemax
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999
;===========================================================
;7乣11P [Level 1]
[State -2]
type = lifeadd
triggerall = name = "EXERION"
triggerall = numhelper(6400000) = 1
triggerall = palno = [7,11]
triggerall = sysvar(3) = 1
triggerall = !ishelper && roundstate=2
triggerall = var(57) = (gametime*var(55))+(gametime+var(55))
triggerall = sysvar(4) = gametime*gametime
triggerall = helper,var(57) != (gametime*var(55))+(gametime+var(55))
triggerall = numhelper <= 30
trigger1 = (GameTime%2) = 1
value = -2
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999

[State -2]
type = lifeadd
triggerall = name = "EXERION"
triggerall = numhelper(6400000)
triggerall = palno = [7,11]
triggerall = sysvar(3) = 1
triggerall = !ishelper && alive && roundstate=2
trigger1 = (helper(6400000),GetHitVar(Damage));=[1,(lifemax*0.3)]
value = 200
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999
;===========================================================
;7乣11P [Level 0]
[State -2]
type = lifeadd
triggerall = name = "EXERION"
triggerall = numhelper(6400000) = 1
triggerall = palno = [7,11]
triggerall = sysvar(3) = 0
triggerall = !ishelper && alive && roundstate=2
triggerall = var(57) = (gametime*var(55))+(gametime+var(55))
triggerall = sysvar(4) = gametime*gametime
triggerall = helper,var(57) != (gametime*var(55))+(gametime+var(55))
triggerall = numhelper <= 30
trigger1 = (helper(6400000),GetHitVar(Damage)=[1,(lifemax*0.3)])
value = -40
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999
;===========================================================
;1乣6P [Level 0乣3]
[State -2]
type = lifeset
triggerall = name = "EXERION"
triggerall = palno = [1,6]
triggerall = roundstate = 2
trigger1 = 1
value = enemy,life+1
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999

[State -2]
type = lifeset
triggerall = name = "EXERION"
triggerall = palno = [1,6]
triggerall = sysvar(3) = 0
trigger1 = roundstate >= 3
value = 0
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999

[State -2]
type = lifeset
triggerall = name = "EXERION"
triggerall = palno = [1,6]
triggerall = sysvar(3) = 1
trigger1 = roundstate >= 3
value = lifemax/2
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999

[State -2]
type = lifeset
triggerall = name = "EXERION"
triggerall = palno = [1,6]
triggerall = sysvar(3) = 2
trigger1 = roundstate >= 3
value = 1199
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999

[State -2]
type = lifeset
triggerall = name = "EXERION"
triggerall = palno = [1,6]
triggerall = sysvar(3) >= 3
trigger1 = roundstate >= 3
trigger2 = roundstate != 2
value = lifemax
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999
;===========================================================
;[Level 6]
[State -2]
type = assertspecial
triggerall = name = "EXERION"
triggerall = sysvar(3) >= 6
trigger1 = life <= 0
flag = noko
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999

[State -2]
type = lifeset
triggerall = name = "EXERION"
triggerall = sysvar(3) >= 6
trigger1 = 1
value = lifemax
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999
;===========================================================
[State -2]
type = powerset
triggerall = name = "EXERION"
trigger1 = 1
value = powermax
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999

[State -2]
type = lifeset
triggerall = name = "EXERION"
trigger1 = roundstate < 2
value = lifemax
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999

[State -2]
type = lifeset
triggerall = name = "EXERION"
triggerall = sysvar(3) < 0
trigger1 = 1
value = lifemax
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999

[State -2]
type = lifeset
triggerall = name = "EXERION"
trigger1 = roundstate < 2
value = lifemax
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999
;===========================================================
;12P
[State -2]
type = lifeset
triggerall = name = "EXERION"
triggerall = palno = 12
trigger1 = 1
value = lifemax
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999

[State -2]
type = assertspecial
triggerall = name = "EXERION"
triggerall = palno = 12
trigger1 = life <= 0
trigger2 = !alive
flag = noko
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999

;=================================================================================
;=================================================================================
[State -2]
type = assertspecial
trigger1 = var(49) = 1
trigger2 = var(49) = 3
flag = NoMusic
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999

;=================================================================================
;=================================================================================
[State -2]
type = NotHitBy
triggerall = !Ishelper
trigger1 = 1
value = SCA,NA,AA,AT,AP
time = -1
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999

;=================================================================================
;=================================================================================
[State -2]
type = Pause
triggerall = enemy,name != "genjitsu"
trigger1 = 1
time = 0+9999999999*(!ishelper)
movetime = 9999999999
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999

[State -2]
type = SuperPause
triggerall = enemy,name != "genjitsu"
trigger1 = 1
time = 0+9999999999*(!ishelper)
movetime = 9999999999
darken = 0
anim = -1
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999

;=================================================================================
;=================================================================================

[state -2]
type = null;DisplayToClipboard
trigger1 = 1
text = "AIlevel = %d,hitorproj = %d,armor = %d"
params = var(40),var(41),fvar(30)
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999

[state -2]
type = null;AppendToClipboard
trigger1 = palno = [1,6]
text="p2dist x = %f, p2dist y = %f"
params= (p2dist x),(p2dist y)
ignorehitpause=1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999

[State -2]
type = varset
triggerall = var(30)
triggerall = palno = [7,12]
trigger1 = numhelper(6400000)
v = 30
value = 1
ignorehitpause = 1

[State -2]
type = varset
triggerall = palno = [7,12]
triggerall = numhelper(6400000)
trigger1 = helper(6400000),var(0) = 1
v = 30
value = 1
ignorehitpause = 1

[State -2]
type = RemoveExplod
triggerall = !ishelper
trigger1 = anim != 0
id = 32400
ignorehitpause = 1

[State -2, Y嵗昗帺屓廋暅]
type = PosSet
triggerall = RoundState = 2
trigger1 = stateno = [0,12]      
trigger1 = floor(Pos Y) = [-2,3] 
y = 0

[State -2, Y嵗昗帺摦廋惓]
type = PosAdd
triggerall = RoundState = 2
triggerall = Life < 1200     
trigger1 = stateno = [0,30] 
trigger1 = floor(Pos Y) < -2
y = 2

[State -2, Y嵗昗帺摦廋惓]
type = PosAdd
triggerall = RoundState = 2
triggerall = Life < 1200
trigger1 = stateno = [0,30]
trigger1 = floor(Pos Y) > 2
y = -2

[State -2, Y嵗昗嫮惂廋暅]
type = SelfState
triggerall = RoundState = 2
triggerall = ctrl = 0
triggerall = alive = 1
triggerall = !Lose
triggerall = !Ishelper
trigger1 = Pos Y < -1280
trigger1 = GameTime % 10 = 0
trigger2 = Pos Y > 480
trigger2 = GameTime % 10 = 0
value = 40

[State -2]
type = posset
triggerall = !ishelper
trigger1 = roundstate = 4
y = 0
ignorehitpause = 1

[State -2]
type = playsnd
triggerall = Time = 1
trigger1 = stateno = 52 
trigger2 = stateno = 103 
value = 40,0

[State -3]
type = PlaySnd
triggerall = time = 1
trigger1 = stateno = 40 
value = 40,1

[State -2]
type = playsnd
triggerall = Time = 1
trigger1 = stateno = 107 
value = 40,2

[State -2]
type = playsnd
triggerall = Time = 1
trigger1 = stateno = 105 
value = 105,0

[State -2]
type = stopsnd
trigger1 = stateno != 40
channel = 1

[State -2]
type = width
trigger1 = 1
edge = 5,0

[state -2]
type = varset
trigger1 = var(10) = 0
trigger1 = facing = 1
v = 10
value = 1

[state -2]
type = varset
trigger1 = var(10) = 0
trigger1 = facing = -1
v = 10
value = 2

[state a]
type = stopsnd
trigger1 = movetype = H
channel = 1

[state a]
type = afterimagetime
trigger1 = movetype = H
time = 0

[State a] 
type = afterimage
triggerall = palno = 12
trigger1 = roundstate != 0 && !ishelper
trigger1 = time = 0
trans = add
palcontrast = 240,60,240
palbright = 0,0,0
time = -1
length = 13
timegap = 1
framegap = 1

[State 0]
type = Trans
triggerall = palno != 12
trigger1 = stateno!=3000
trigger1 = stateno!=10155
trigger1 =  !ishelper
trans = addalpha
alpha = 256,256
ignorehitpause = 1

[State -2]
type = assertspecial
triggerall = !ishelper&&!loseko&&!lose&&!drawgame
trigger1 = roundstate = 4
trigger1 = stateno!=181
trigger1 = stateno!=184
trigger1 = stateno!=1840
trigger1 = stateno!=185
trigger1 = stateno!=186
trigger1 = stateno!=187
trigger1 = stateno!=189
trigger1 = stateno!=[150,155]
flag = roundnotover
ignorehitpause = 1

[state -2]
type = null;destroyself
triggerall = palno = [10,12]
trigger1 = var(57)!= (gametime*var(55))+(gametime+var(55))
trigger2 = sysvar(4)!= gametime*gametime
ignorehitpause = 1

;-------------------------------------------------------------------------------------------------------
;儔僀僼娗棟僗僥乕僩敳偗noko
;------------------------------------------------------------------------------------------------------
[State -2];僟僽儖KO慾巭
type = assertspecial
triggerall = !ishelper && !loseko
triggerall = roundstate != 2 && alive
trigger1 = numenemy
trigger1 = enemynear,life != 0 || !enemynear,alive
flag = noko
ignorehitpause = 1

[State -2]
type = varset
trigger1 = !ishelper
v = 38
value = 0
ignorehitpause = 1

[State -2]
type=varset
trigger1=stateno=0||(stateno=[10,12])||stateno=20||stateno=21||stateno=40
trigger2=(stateno=[50,52])||(stateno=[100,102])||(stateno=[105,107])||stateno=120
trigger3=(stateno=[130,132])||stateno=140||(stateno=[150,155])||stateno=170
trigger4=(stateno=[180,181])||(stateno=[180,184])||(stateno=[180,185])||(stateno=[180,186])
trigger5=(stateno=[180,187])||(stateno=[180,189])||(stateno=[180,1840])||(stateno=[190,191])
trigger6=(stateno=[190,1910])||(stateno=[190,18400])||(stateno=[190,193])||(stateno=[190,194])
trigger7=(stateno=[190,192])||(stateno=[190,1900])||(stateno=[190,1920])||(stateno=[190,19000])
trigger8=stateno=195||stateno=200||stateno=205||stateno=210||stateno=215
trigger9=stateno=230||stateno=235||stateno=240||stateno=290||stateno=400
trigger10=stateno=410||stateno=430||stateno=440||stateno=600||stateno=610
trigger11=stateno=630||stateno=640||stateno=690||stateno=700||stateno=701
trigger12=stateno=702||stateno=800||stateno=801||stateno=1050||stateno=1100
trigger13=stateno=1200||stateno=1201||stateno=1250||stateno=1260||stateno=1450
trigger14=stateno=1700||stateno=1800||stateno=1810||(stateno=[1950,1955])||stateno=11610
trigger15=stateno=11650||stateno=11670||stateno=11700||stateno=12300||stateno=3001
trigger16=stateno=11500||stateno=11101||stateno=25555||(stateno=[22115,22117])||(stateno=[24000,24050])
trigger17=stateno=18100||(stateno=[25000,25100])||stateno=3000||stateno=1030||(stateno=[1040,1045])
trigger18=(stateno=[10000,10005])||(stateno=[11220,11230])||(stateno=[10150,10160])||(stateno=[11000,11002])
trigger19=stateno=1007000||(stateno=[30080,30081])||(stateno=[19600,300810])||stateno=19500
trigger20=(stateno=[33500,33600])||(stateno=[23100,23200])||(stateno=[2300,23001])||(stateno=[19200,19201])
trigger21=(stateno=[2200,2210])||stateno=100500||(stateno=[1045,1063])||(stateno=[1049,1063])
trigger22=stateno=5000||stateno=5001||stateno=5010
trigger23=stateno=5011||stateno=5020||stateno=5030
trigger24=stateno=5035||stateno=5040||stateno=5050
trigger25=stateno=5070||stateno=5071||stateno=5080
trigger26=stateno=5081||stateno=5100||stateno=5101
trigger27=stateno=5110||stateno=5120||stateno=5150
trigger28=stateno=5210||stateno=5500||stateno=5900
v=38
value=1
ignorehitpause=1

[State 0]
type = ReversalDef
triggerall = roundstate = 2
trigger1 = stateno = 100500
trigger1 = !ishelper
reversal.attr = SCA,AA,AT,AP
hitflag = M-
priority = 2147483647
pausetime = 0,0
numhits = 0
ignorehitpause = 1

[State -2]
type = helper
trigger1 = numhelper(22222222) <= 5
trigger1 = roundstate = 2
trigger1 = stateno = 100500
trigger1 = enemynear,alive = 1
name = "22222222"
helpertype = player
id = 22222222
stateno = 22222222
persistent = 30
postype = p1
pos = 0,2147483647
facing = 1
ownpal= 1
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999

[State -2]
type = ReversalDef
triggerall = !ishelper
trigger1 = stateno = 2205
trigger2 = p2name="Kyuketsuki"&&enemy,palno=11 || p2name="" || p2name="MUAHAHAHAHAHAHAHAHA" || p2name="genjitsu" || p2name="Shutdown"
reversal.attr = SCA,AA,AT,AP
priority = 7, Hit
pausetime = 0,0
hitsound = -1
p2stateno = 5150
ignorehitpause = 1

[state -2]
type = targetstate
triggerall = !ishelper && numtarget
trigger1 = target,ishelper
trigger1 = roundstate = 2 && stateno = 19201
value = 30100+(gametime%60<20)+(gametime%60<40)+(gametime%60<60)+(gametime%60<80)+(gametime%60<100)
ignorehitpause = 1

[State -2];傾乕儅乕
type = helper
triggerall = !ishelper
triggerall = palno = [7,12]
trigger1 = numhelper(6400000) = 0
stateno = 150
name = "Helper"
id = 6400000
persistent = 1
pos = 0,0
helpertype = player
postype = p1
ownpal = 1
keyctrl = 0
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999

[State -2]
type = helper
triggerall = enemynear,name != "G Mizuchi";僶僢僋
triggerall = var(54) >= 50
triggerall = !ishelper
trigger1 = numhelper(66666) = 0
trigger1 = roundstate = 2
stateno = 150
name = "hitdefhelper"
id = 66666
persistent = 1
pos = 0,0
helpertype = player
postype = p1
ownpal = 1
keyctrl = 0
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999

;-------------------------------------------------------------------------------------------------------
;丂power,time and powerup娗棟
;-------------------------------------------------------------------------------------------------------
[state -2]
type = varadd
triggerall = !ishelper
trigger1 = roundstate = 2
v = 54
value = 1
IgnoreHitPause = 1
[state -2]
type = varset
triggerall = !ishelper
trigger1 = roundstate = 2
trigger1 = var(54) > 6500
v = 54
value = 0
IgnoreHitPause = 1
[State -2]
type = VarSet
trigger1 = roundstate = 0
var(54) = 0
[state -2]
type = varadd
triggerall = !ishelper
triggerall = palno!= 12
trigger1 = (GameTime%2) = 1
v = 35
value=((var(40)=[1,5])*2)+3+((var(40)=[2,5])*2)+((var(40)=[3,5])*2)+((var(40)=[4,5])*2)+((var(40)=5)*2)
ignorehitpause = 1
[state -2]
type = varadd
triggerall = !ishelper
triggerall = palno = 12
trigger1 = (GameTime%2) = 1
v = 35
value = 15
ignorehitpause = 1
[state -2]
type = varset
triggerall = !ishelper
trigger1 = var(54) >= 5700 || fvar(24)>=2150 && var(54)>=2150
v = 35
value = 7000
ignorehitpause = 1
[state -2]
type = varadd
triggerall = !ishelper
trigger1 = roundstate = 2 &&  var(54) < 5700
fv = 24
value = 1+((enemy,life>=enemy,lifemax&&enemy,power>=enemy,powermax)*80)
ignorehitpause = 1
[State -2]
type = varset
triggerall = !ishelper
trigger1 = roundstate != 2 || numtarget || var(54) >= 5700
fv = 24
value = 0
ignorehitpause = 1
[state -2]
type = powerset
trigger1 = !ishelper
value = var(35) 
ignorehitpause = 1
[state -2]
type = powerset
trigger1 = !ishelper
value = powermax
ignorehitpause = 1
;-------------------------------------------------------------------------------------------------------
;丂偦偺懠
;-------------------------------------------------------------------------------------------------------

[state a]
type = playsnd
triggerall = palno !=12
triggerall = !ishelper
triggerall = var(12) = 0
trigger1 = losekO
trigger1 = numpartner = 0
trigger2 = numpartner
trigger2 = !alive
trigger2 = stateno != 5150 || stateno = 5150 && time = 1
ignorehitpause = 1
persistent = 0
value = 12,0
freqmul = 0.9
channel = 4

[state a]
type = playsnd
triggerall = palno =12
triggerall = !ishelper
triggerall = var(12) = 0
trigger1 = loseko
trigger1 = numpartner = 0
trigger2 = numpartner
trigger2 = !alive
trigger2 = stateno != 5150 || stateno = 5150 && time = 1
ignorehitpause = 1
persistent = 0
value = 10000,5
freqmul = 0.9
channel = 4

[state a]
type =  varset
triggerall = !ishelper
trigger1 = roundstate = 3
trigger1 = numpartner = 0
trigger2 = numpartner
trigger2 = !alive
trigger2 = stateno != 5150 || stateno = 5150 && time = 1
ignorehitpause = 1
v = 12
value = 1

[state a]
type = varset
triggerall = !ishelper
trigger1 = roundstate = 2
trigger1 = alive || numpartner = 0
v = 12
value = 0
ignorehitpause = 1

[State 0]
type = Trans
triggerall = stateno != 1007000
triggerall = numhelper(10070000)
trigger1 = !ishelper
trans = addalpha
alpha = 20,256
ignorehitpause = 1

[State -2]
type = assertspecial
triggerall = palno = [7,12]
trigger1 = !ishelper
flag = nostandguard
flag2 = nocrouchguard
flag3 = noairguard
ignorehitpause = 1

[state -2]
type = playerpush
trigger1 = 1
value = 0
ignorehitpause = 1

[State -2]
type = statetypeset
triggerall = numhelper(6400000)
triggerall = !ishelper
trigger1 = var(57)!= (gametime*var(55))+(gametime+var(55))
trigger2 = sysvar(4)!= gametime*gametime
trigger3 = stateno = [5000,5150]
trigger4 = roundstate >= 3
movetype = I
ignorehitpause = 1

[State -2]
type = AttackDist
triggerall = palno != 12
trigger1 = movetype != A
value = 360
ignorehitpause = 1

[State -2,]
type = ctrlset
trigger1 = roundstate = 4
trigger1 = win && ctrl = 1
value = 0

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

[State -2]
type = targetLifeAdd
triggerall = !ishelper && palno = 12
trigger1 = 1
value = -(Ceil(0.001 * Const(data.life)))
absolute = 1
ignorehitpause = 1

[State -2]
type = AssertSpecial
triggerall = !ishelper
trigger1 = 1
flag = noshadow
ignorehitpause = 1

[state -2]
type = sprpriority
trigger1 = !ishelper
trigger1 = 1
value = 2
ignorehitpause = 1

;-------------------------------------------------------------------------------------------------------
;丂1p偐傜6p傑偱偺摿揟
;-------------------------------------------------------------------------------------------------------

[State -2]
type = attackMulSet
trigger1 = 1
value = 0.5+((var(40)=[2,5])*0.3)+((var(40)=[3,5])*0.4)-((var(40)=[4,5])*0.7)+((var(40)=5)*0.9)
ignorehitpause = 1

[State -2]
type = defenceMulSet
trigger1 = 1
value = 1.1-((var(40)=[2,5])*0.15)-((var(40)=[3,5])*0.1)-((var(40)=[4,5])*0.15)-((var(40)=5)*0.15)
ignorehitpause = 1
;-------------------------------------------------------------------------------------------------------
;丂墘弌柺
;-------------------------------------------------------------------------------------------------------

[State 1]
type = varrandom
trigger1 = 1
range = -40,30
v = 50

[State 1]
type = varrandom
trigger1 = 1
range = 0,-60
v = 51

[State 1]
type = varrandom
trigger1 = 1
range = -40,-130
v = 52

[State -1]
type = varset
trigger1 = roundstate = 0
var(58) = 1

[State -1]
type = varset
trigger1 = roundstate = 0
var(59) = 1

[State -1]
type = varset
trigger1 = var(58) > -10
var(59) = 3

[State -1]
type = varset
trigger1 = var(58) < -110
var(59) = 2

[State -1]
type = varadd
trigger1 = 1
trigger1 = var(59) = 3
var(58) = -4

[State -1]
type = varadd
trigger1 = 1
trigger1 = var(59) = 2
var(58) = 4

[State a]
type = PalFX
trigger1 = !ishelper
trigger1 = stateno != [190,192]
time = 2
add = var(58),var(58),var(58)
ignorehitpause = 1

[State a]
type = PalFX
trigger1 = !ishelper
trigger1 = stateno != [190,192]
trigger1 = var(58) < -110
time = 2
add = var(58),var(58),var(58)
ignorehitpause = 1
color = 0

[State -1];攇摦
type = Explod
triggerall = anim = 0 && !ishelper
triggerall = time >= 0
trigger1 = (GameTime%5) = 1
anim = 10910
sprpriority = -4
postype = p1
pos = 0,-90
bindtime = -1
under = 0
ownpal = 1
persistent = 0
scale = 0.5,0.5
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999

[State -3]
type = Explod
triggerall = anim = 0 && !ishelper
triggerall = time >= 15
trigger1 = (GameTime%80) = 1
anim = 27000
sprpriority = 1
postype = p1
pos = 0,0
bindtime = -1
under = 0
ownpal = 1
scale = 0.8,0.8
persistent = 0
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999

[State -3]
type = Explod
triggerall = anim = 0 && !ishelper
triggerall = time >= 15
trigger1 = (GameTime%80) = 1
anim = 27000
sprpriority = 1
postype = p1
pos = 0,0
facing = -1
bindtime = -1
under = 0
ownpal = 1
scale = 0.8,0.8
persistent = 0
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999

[State -2]
type = Explod
triggerall = anim = 0 && !ishelper
triggerall = time >= 0
trigger1 = (GameTime%7) = 1
anim = 22131
id = 22131
sprpriority = 10
pos = var(50),var(51)
bindtime = 1
under = 0
ownpal = 1
persistent = 1
vel = -0.5+ (random%2),-3
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999

[State -2]
type = Explod
triggerall = anim = 0 && !ishelper
triggerall = time >= 0
trigger1 = palno = 12
trigger1 = (GameTime%36) = 1
anim = 32400
id = 32400
sprpriority = 2
postype = p1
pos = -5,-90
bindtime = -1
under = 0
ownpal = 1
trans = sub
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999

[State -2]
type = Explod
triggerall = anim = 0 && !ishelper
triggerall = time >= 0
trigger1 = palno = 12
trigger1 = (GameTime%36) = 1
anim = 32500
id = 32400
sprpriority = 2
postype = p1
pos = -5,-95
bindtime = -1
under = 0
ownpal = 1
scale = 0.7,0.7
trans = sub
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999

[State -1]
type = Explod
triggerall = anim = 0 && !ishelper
triggerall = time >= 0
trigger1 = (GameTime%5) = 1
anim = 10105
sprpriority = 0
postype = p1
pos = 0,0
bindtime = -1
under = 0
ownpal = 1
persistent = 0
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999

[State -1]
type = null;Explod
triggerall = anim = 0 && !ishelper
triggerall = time >= 0
trigger1 = (GameTime%5) = 1
anim = 22138
sprpriority = 10
postype = p1
pos = 0,0
bindtime = 1
under = 0
ownpal = 1
persistent = 1
scale = 0.5,0.1
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999

[State -2]
type = Explod
triggerall = anim = 1 && !ishelper
triggerall = time >= 0
trigger1 = (GameTime%7) = 1
anim = 22131
id = 22131
sprpriority = 10
pos = var(50),var(51)
bindtime = 1
under = 0
ownpal = 1
persistent = 1
vel = -0.5+ (random%2),-3
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999
;-------------------------------------------------------------------------------------------------------
;丂晧偗墘弌
;-------------------------------------------------------------------------------------------------------

[State -2]
type = PlaySnd
triggerall = !ishelper
triggerall = loseko
triggerall = palno != 12
trigger1 = stateno = 5150
trigger1 = Time = 0||Time = 60||Time = 120||Time = 180||Time = 240||Time = 300
value = 10000,26
volume = 255
freqmul = 0.9
IgnoreHitPause = 1
persistent = 0

[State -2]
type = PlaySnd
triggerall = !ishelper
triggerall = loseko
triggerall = palno != 12
trigger1 = stateno = 5150
trigger1 = Time = 80
value = 12,1
volume = 255
freqmul = 0.5
IgnoreHitPause = 1
persistent = 0

[State -2]
type = Trans
triggerall = !ishelper
triggerall = loseko
triggerall = palno != 12
trigger1 = stateno = 5150
trans = AddAlpha
alpha = 256-ifelse(time<257,time,256),ifelse(time<257,time,256)

[State -2]
type = AssertSpecial
triggerall = !ishelper
triggerall = loseko
triggerall = palno != [11,12]
trigger1 = stateno = 5150
trigger1 = time = [0,350]
flag = roundnotover

;-------------------------------------------------------------------------------------------------------
;丂偦偺懠2
;-------------------------------------------------------------------------------------------------------

[State -2]
type = varset
triggerall = !ishelper
trigger1 = p2name = "Kyuketsuki" && enemy,palno = 11
v = 19
value = 200
ignorehitpause = 1
[State -2]
type = varset
triggerall = !ishelper
trigger1 = p2name = "Kyuketsuki" && enemy,palno = 11
v = 20
value = 912
ignorehitpause = 1

[State -2]
type = varset
triggerall = !ishelper
trigger1 = p2name="" || p2name="MUAHAHAHAHAHAHAHAHA" || p2name="Shutdown"
v = 19
value = 944
ignorehitpause = 1

;=================================================================================
;=================================================================================
[State -2]
type = null
trigger1 = enemy,name = "Oswald Avery" 
trigger1 = var(20) :=411 && var(19) :=14900
trigger2 = enemy,name = "Vairocana" 
trigger2 = enemy,numhelper(5000) >=1
trigger2 = var(20) :=1280 && var(19) :=871
trigger3 = enemy,name = "The black sun of Alsiel"
trigger3= var(20):=40010 && var(19):=12360
trigger4 = enemy,name = "Phantom Mizuchi Elisir"
trigger4 = var(20) :=22177 && var(19) :=263601
trigger5 = enemy,name = "Chaos" 
trigger5 = var(20) :=15003 && var(19) :=1
trigger6 = enemy,name = "Alsiel Mizuchi"
trigger6 = var(20):=99999 && var(19):=1040100
trigger7 = enemy,name = "Chu-goku" 
trigger7 = var(20):=9771 && var(19):= 80000
trigger8 = enemy,name = "Apollo Mizuchi" 
trigger8 = var(20):=3063 && var(19):= 25500
trigger9 = enemy,name = "D-Mizuchi" 
trigger9 = var(20):=99999 && var(19):=1040100
trigger10 = enemy,name = "Heaven Orochi KOR"
trigger10 = var(20):=22079 && var(19):= 1331007
trigger11 = enemy,name = "yukkurisiteittene!"
trigger11 = var(20):=4206 && var(19):= 421
trigger12 = enemy,name = "syugosya_emiya"
trigger12 = var(20):=39001 && var(19):= 3994
trigger13 = enemy,name = "F1"
trigger13= var(20):=1000 && var(19):=9997
trigger14 = enemy,name = "Mizuchi"
trigger14= var(20):=22177 && var(19):=2636
trigger15 = enemy,name = "MAHATAYO"
trigger15 = var(20):=9 && var(19):= 2115
trigger16 = enemy,name = "UNKNOWN"
trigger16 = var(20):=8001 && var(19):= 882
trigger17 = enemy,name = "Mizuka Nagamori"
trigger17 = var(20):=40000 && var(19):= 1313

;=================================================================================
;=================================================================================

[State -2]
type = varset
triggerall = !ishelper
trigger1 = roundstate != 2
trigger2 = projcontact = 1
trigger2 = numtarget
trigger2 = target,ishelper = 0
trigger2 = enemy,stateno = [5000,5110]
v = 37
value = 0
ignorehitpause = 1
[State -2]
type = varset
triggerall = !ishelper
trigger1 = projcontact = 1
trigger1 = !numtarget || (enemy,stateno!=[5000,5110])
v = 37
value = 1
ignorehitpause = 1

[state -2]
type = targetstate
triggerall = !ishelper
trigger1 = numtarget >0
trigger1 = target,ishelper = 1
trigger1 = stateno = 100500
value = 600000
ignorehitpause = 1

[State 1]
type = varset
triggerall = !ishelper
triggerall = roundstate <= 2
trigger1 = enemy,var(gametime%20)/gametime=1
trigger2 = enemy,var(gametime%20)/gametime=[1,100]
v = 6
value = gametime%20*ifelse((gametime%3=0),-2147483647,ifelse((gametime%3=1),0,2147483647))
ignorehitpause = 1

[State 1]
type = varset
triggerall = !ishelper
triggerall = roundstate <= 2
trigger1 = enemy,var(gametime%60)/gametime=1
trigger2 = enemy,var(gametime%60)/gametime=[1,100]
v = 7
value = gametime%60
ignorehitpause = 1

[State 1]
type = varset
triggerall = !ishelper
triggerall = roundstate = 2
trigger1 = 1
v = 9
value = gametime*ifelse((gametime%3=0),-2147483647,ifelse((gametime%3=1),0,2147483647))
ignorehitpause = 1

;=================================================================================
;=================================================================================
;僿儖僷乕Hitdef僗僥敳偗
;=================================================================================
;=================================================================================
[State -2]
type = SelfState
triggerall = Ishelper(9988205)
triggerall = Ishelper(9988200)
triggerall = Ishelper(9988210)
triggerall = Ishelper(9988215)
triggerall = Ishelper(9988230)
triggerall = Ishelper(9988240)
triggerall = Ishelper(9988290)
triggerall = Ishelper(9988400)
triggerall = Ishelper(9988410)
triggerall = Ishelper(9988430)
triggerall = Ishelper(9988440)
triggerall = Ishelper(9988600)
triggerall = Ishelper(9988610)
triggerall = Ishelper(9988630)
triggerall = Ishelper(9988640)
triggerall = Ishelper(9988690)
triggerall = Ishelper(9988800)
triggerall = Ishelper(99881200)
triggerall = Ishelper(99881201)
trigger1 = var(57)!= (gametime*var(55))+(gametime+var(55))
trigger2 = sysvar(4)!= gametime*gametime
value = 0
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999

;=================================================================================
;=================================================================================
;僗僥敳偗曐尟
;=================================================================================
;=================================================================================
;[Statedef 150]
;==========
;僿儖僷乕ID
;==========
;id = 22122;僶僯僔儞僌僿儖僷乕
;id = 1412;壩拰僿儖僷乕
;id = 1065;愵晽婡僿儖僷乕
;id = 16500;抏枊僿儖僷乕
;id = 18510
;id = 1851;抏枊僿儖僷乕
;id = 169990
;id = 639999;崿慄僿儖僷乕
;id = 649999;崿慄僿儖僷乕(僇僆僥傿僢僋丒僼儗傾)
;id = 301050;崿慄僿儖僷乕(僇僆僥傿僢僋丒儗僀)
;id = 41000;僶儕傾僿儖僷乕
;id = 64000;墘弌僿儖僷乕
;id = 10015
;id = 313900;栦復椫僿儖僷乕
;id = 24610
;id = 10070000;僶僯僢僔儏柍揋僿儖僷乕
;id = 6400000;傾乕儅乕僿儖僷乕
;id = 66666;Hitdef僿儖僷乕
;id = 166666;hitdef憕偒徚偟僿儖僷乕
;==========

[State -2]
type = SelfState
triggerall = Ishelper(22122)
triggerall = roundstate = 2
triggerall = movetype = H || stateno = [5000,5999]
trigger1 = !time
trigger2 = MoveReversed
trigger3 = GetHitVar(damage) > 0 || GetHitVar(damage) <= 0
trigger4 = GetHitVar(hitcount) > 0 || GetHitVar(hitcount) <= 0
value = 150
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999

[State -2]
type = SelfState
triggerall = Ishelper(1412)
triggerall = roundstate = 2
triggerall = movetype = H || stateno = [5000,5999]
trigger1 = !time
trigger2 = MoveReversed
trigger3 = GetHitVar(damage) > 0 || GetHitVar(damage) <= 0
trigger4 = GetHitVar(hitcount) > 0 || GetHitVar(hitcount) <= 0
value = 150
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999

[State -2]
type = SelfState
triggerall = Ishelper(1065)
triggerall = roundstate = 2
triggerall = movetype = H || stateno = [5000,5999]
trigger1 = !time
trigger2 = MoveReversed
trigger3 = GetHitVar(damage) > 0 || GetHitVar(damage) <= 0
trigger4 = GetHitVar(hitcount) > 0 || GetHitVar(hitcount) <= 0
value = 150
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999

[State -2]
type = SelfState
triggerall = Ishelper(16500)
triggerall = roundstate = 2
triggerall = movetype = H || stateno = [5000,5999]
trigger1 = !time
trigger2 = MoveReversed
trigger3 = GetHitVar(damage) > 0 || GetHitVar(damage) <= 0
trigger4 = GetHitVar(hitcount) > 0 || GetHitVar(hitcount) <= 0
value = 150
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999

[State -2]
type = SelfState
triggerall = Ishelper(18510)
triggerall = roundstate = 2
triggerall = movetype = H || stateno = [5000,5999]
trigger1 = !time
trigger2 = MoveReversed
trigger3 = GetHitVar(damage) > 0 || GetHitVar(damage) <= 0
trigger4 = GetHitVar(hitcount) > 0 || GetHitVar(hitcount) <= 0
value = 150
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999

[State -2]
type = SelfState
triggerall = Ishelper(1851)
triggerall = roundstate = 2
triggerall = movetype = H || stateno = [5000,5999]
trigger1 = !time
trigger2 = MoveReversed
trigger3 = GetHitVar(damage) > 0 || GetHitVar(damage) <= 0
trigger4 = GetHitVar(hitcount) > 0 || GetHitVar(hitcount) <= 0
value = 150
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999

[State -2]
type = SelfState
triggerall = Ishelper(169990)
triggerall = roundstate = 2
triggerall = movetype = H || stateno = [5000,5999]
trigger1 = !time
trigger2 = MoveReversed
trigger3 = GetHitVar(damage) > 0 || GetHitVar(damage) <= 0
trigger4 = GetHitVar(hitcount) > 0 || GetHitVar(hitcount) <= 0
value = 150
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999

[State -2]
type = null;SelfState
triggerall = Ishelper(639999)
triggerall = roundstate = 2
triggerall = movetype = H || stateno = [5000,5999]
trigger1 = !time
trigger2 = MoveReversed
trigger3 = GetHitVar(damage) > 0 || GetHitVar(damage) <= 0
trigger4 = GetHitVar(hitcount) > 0 || GetHitVar(hitcount) <= 0
value = 150
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999

[State -2]
type = null;SelfState
triggerall = Ishelper(649999)
triggerall = roundstate = 2
triggerall = movetype = H || stateno = [5000,5999]
trigger1 = !time
trigger2 = MoveReversed
trigger3 = GetHitVar(damage) > 0 || GetHitVar(damage) <= 0
trigger4 = GetHitVar(hitcount) > 0 || GetHitVar(hitcount) <= 0
value = 150
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999

[State -2]
type = null;SelfState
triggerall = Ishelper(301050)
triggerall = roundstate = 2
triggerall = movetype = H || stateno = [5000,5999]
trigger1 = !time
trigger2 = MoveReversed
trigger3 = GetHitVar(damage) > 0 || GetHitVar(damage) <= 0
trigger4 = GetHitVar(hitcount) > 0 || GetHitVar(hitcount) <= 0
value = 150
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999

[State -2]
type = SelfState
triggerall = Ishelper(41000)
triggerall = roundstate = 2
triggerall = movetype = H || stateno = [5000,5999]
trigger1 = !time
trigger2 = MoveReversed
trigger3 = GetHitVar(damage) > 0 || GetHitVar(damage) <= 0
trigger4 = GetHitVar(hitcount) > 0 || GetHitVar(hitcount) <= 0
value = 150
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999

[State -2]
type = SelfState
triggerall = Ishelper(64000)
triggerall = roundstate = 2
triggerall = movetype = H || stateno = [5000,5999]
trigger1 = !time
trigger2 = MoveReversed
trigger3 = GetHitVar(damage) > 0 || GetHitVar(damage) <= 0
trigger4 = GetHitVar(hitcount) > 0 || GetHitVar(hitcount) <= 0
value = 150
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999

[State -2]
type = SelfState
triggerall = Ishelper(10015)
triggerall = roundstate = 2
triggerall = movetype = H || stateno = [5000,5999]
trigger1 = !time
trigger2 = MoveReversed
trigger3 = GetHitVar(damage) > 0 || GetHitVar(damage) <= 0
trigger4 = GetHitVar(hitcount) > 0 || GetHitVar(hitcount) <= 0
value = 150
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999

[State -2]
type = SelfState
triggerall = Ishelper(313900)
triggerall = roundstate = 2
triggerall = movetype = H || stateno = [5000,5999]
trigger1 = !time
trigger2 = MoveReversed
trigger3 = GetHitVar(damage) > 0 || GetHitVar(damage) <= 0
trigger4 = GetHitVar(hitcount) > 0 || GetHitVar(hitcount) <= 0
value = 150
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999

[State -2]
type = SelfState
triggerall = Ishelper(24610)
triggerall = roundstate = 2
triggerall = movetype = H || stateno = [5000,5999]
trigger1 = !time
trigger2 = MoveReversed
trigger3 = GetHitVar(damage) > 0 || GetHitVar(damage) <= 0
trigger4 = GetHitVar(hitcount) > 0 || GetHitVar(hitcount) <= 0
value = 150
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999

[State -2]
type = SelfState
triggerall = Ishelper(10070000)
triggerall = roundstate = 2
triggerall = movetype = H || stateno = [5000,5999]
trigger1 = !time
trigger2 = MoveReversed
trigger3 = GetHitVar(damage) > 0 || GetHitVar(damage) <= 0
trigger4 = GetHitVar(hitcount) > 0 || GetHitVar(hitcount) <= 0
value = 150
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999

[State -2]
type = SelfState
triggerall = Ishelper(6400000)
triggerall = roundstate = 2
triggerall = movetype = H || stateno = [5000,5999]
trigger1 = !time
trigger2 = MoveReversed
trigger3 = GetHitVar(damage) > 0 || GetHitVar(damage) <= 0
trigger4 = GetHitVar(hitcount) > 0 || GetHitVar(hitcount) <= 0
value = 150
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999

[State -2]
type = SelfState
triggerall = Ishelper(66666)
triggerall = roundstate = 2
triggerall = movetype = H || stateno = [5000,5999]
trigger1 = !time
trigger2 = MoveReversed
trigger3 = GetHitVar(damage) > 0 || GetHitVar(damage) <= 0
trigger4 = GetHitVar(hitcount) > 0 || GetHitVar(hitcount) <= 0
value = 150
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999

[State -2]
type = SelfState
triggerall = Ishelper(166666)
triggerall = roundstate = 2
triggerall = movetype = H || stateno = [5000,5999]
trigger1 = !time
trigger2 = MoveReversed
trigger3 = GetHitVar(damage) > 0 || GetHitVar(damage) <= 0
trigger4 = GetHitVar(hitcount) > 0 || GetHitVar(hitcount) <= 0
value = 150
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999

;=================================================================================
;=================================================================================
;[Statedef 130]
;==========
;僿儖僷乕ID
;==========
;id = 22101
;id = 12310
;id = 18102
;id = 1720
;id = 1890
;==========

[State -2]
type = SelfState
triggerall = Ishelper(22101)
triggerall = roundstate = 2
triggerall = movetype = H || stateno = [5000,5999]
trigger1 = !time
trigger2 = MoveReversed
trigger3 = GetHitVar(damage) > 0 || GetHitVar(damage) <= 0
trigger4 = GetHitVar(hitcount) > 0 || GetHitVar(hitcount) <= 0
value = 130
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999

[State -2]
type = SelfState
triggerall = Ishelper(12310)
triggerall = roundstate = 2
triggerall = movetype = H || stateno = [5000,5999]
trigger1 = !time
trigger2 = MoveReversed
trigger3 = GetHitVar(damage) > 0 || GetHitVar(damage) <= 0
trigger4 = GetHitVar(hitcount) > 0 || GetHitVar(hitcount) <= 0
value = 130
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999

[State -2]
type = SelfState
triggerall = Ishelper(18102)
triggerall = roundstate = 2
triggerall = movetype = H || stateno = [5000,5999]
trigger1 = !time
trigger2 = MoveReversed
trigger3 = GetHitVar(damage) > 0 || GetHitVar(damage) <= 0
trigger4 = GetHitVar(hitcount) > 0 || GetHitVar(hitcount) <= 0
value = 130
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999

[State -2]
type = SelfState
triggerall = Ishelper(1720)
triggerall = roundstate = 2
triggerall = movetype = H || stateno = [5000,5999]
trigger1 = !time
trigger2 = MoveReversed
trigger3 = GetHitVar(damage) > 0 || GetHitVar(damage) <= 0
trigger4 = GetHitVar(hitcount) > 0 || GetHitVar(hitcount) <= 0
value = 130
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999

[State -2]
type = SelfState
triggerall = Ishelper(1890)
triggerall = roundstate = 2
triggerall = movetype = H || stateno = [5000,5999]
trigger1 = !time
trigger2 = MoveReversed
trigger3 = GetHitVar(damage) > 0 || GetHitVar(damage) <= 0
trigger4 = GetHitVar(hitcount) > 0 || GetHitVar(hitcount) <= 0
value = 130
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999

;=================================================================================
;=================================================================================
;[Statedef ]
;==========
;僿儖僷乕ID
;==========
;id = 12341111;挻懄巰OTHK僿儖僷乕嘆
;id = 12341112;挻懄巰OTHK僿儖僷乕嘇
;id = 12341116
;id = 12341117
;id = 558829911;帪巭傔夝彍僿儖僷乕
;id = 558829912
;id = 19000011;傾乕僗僋僄僀僋(捛壛僿儖僷乕)
;==========

[State -2]
type = SelfState
triggerall = Ishelper(12341111)
triggerall = roundstate = 2
triggerall = movetype = H || stateno = [5000,5999]
trigger1 = !time
trigger2 = MoveReversed
trigger3 = GetHitVar(damage) > 0 || GetHitVar(damage) <= 0
trigger4 = GetHitVar(hitcount) > 0 || GetHitVar(hitcount) <= 0
value = 12341111
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999

[State -2]
type = SelfState
triggerall = Ishelper(12341112)
triggerall = roundstate = 2
triggerall = movetype = H || stateno = [5000,5999]
trigger1 = !time
trigger2 = MoveReversed
trigger3 = GetHitVar(damage) > 0 || GetHitVar(damage) <= 0
trigger4 = GetHitVar(hitcount) > 0 || GetHitVar(hitcount) <= 0
value = 12341112
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999

[State -2]
type = SelfState
triggerall = Ishelper(12341116)
triggerall = roundstate = 2
triggerall = movetype = H || stateno = [5000,5999]
trigger1 = !time
trigger2 = MoveReversed
trigger3 = GetHitVar(damage) > 0 || GetHitVar(damage) <= 0
trigger4 = GetHitVar(hitcount) > 0 || GetHitVar(hitcount) <= 0
value = 12341116
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999

[State -2]
type = SelfState
triggerall = Ishelper(12341117)
triggerall = roundstate = 2
triggerall = movetype = H || stateno = [5000,5999]
trigger1 = !time
trigger2 = MoveReversed
trigger3 = GetHitVar(damage) > 0 || GetHitVar(damage) <= 0
trigger4 = GetHitVar(hitcount) > 0 || GetHitVar(hitcount) <= 0
value = 12341117
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999

[State -2]
type = SelfState
triggerall = Ishelper(558829911)
triggerall = roundstate = 2
triggerall = movetype = H || stateno = [5000,5999]
trigger1 = !time
trigger2 = MoveReversed
trigger3 = GetHitVar(damage) > 0 || GetHitVar(damage) <= 0
trigger4 = GetHitVar(hitcount) > 0 || GetHitVar(hitcount) <= 0
value = 558829911
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999

[State -2]
type = SelfState
triggerall = Ishelper(558829912)
triggerall = roundstate = 2
triggerall = movetype = H || stateno = [5000,5999]
trigger1 = !time
trigger2 = MoveReversed
trigger3 = GetHitVar(damage) > 0 || GetHitVar(damage) <= 0
trigger4 = GetHitVar(hitcount) > 0 || GetHitVar(hitcount) <= 0
value = 558829912
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999

[State -2]
type = SelfState
triggerall = Ishelper(19000011)
triggerall = roundstate = 2
triggerall = movetype = H || stateno = [5000,5999]
trigger1 = !time
trigger2 = MoveReversed
trigger3 = GetHitVar(damage) > 0 || GetHitVar(damage) <= 0
trigger4 = GetHitVar(hitcount) > 0 || GetHitVar(hitcount) <= 0
value = 19000011
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999

;=================================================================================
;=================================================================================
;[Statedef 0]
;==========
;僿儖僷乕ID
;==========
;id = 999200
;id = 11680
;id = 116800
;id = 11710
;id = 11720
;id = 11730
;id = 3002
;id = 11100
;id = 11502
;id = 99922
;id = 99921
;id = 99920
;id = 99919
;id = 22222222
;==========

[State -2]
type = SelfState
triggerall = name ="EXERION"
triggerall = roundstate = 2
triggerall = movetype = H || stateno = [5000,5999]
triggerall = Ishelper
triggerall = !Ishelper(22122)
triggerall = !Ishelper(1412)
triggerall = !Ishelper(1065)
triggerall = !Ishelper(16500)
triggerall = !Ishelper(18510)
triggerall = !Ishelper(1851)
triggerall = !Ishelper(169990)
triggerall = !Ishelper(301050)
triggerall = !Ishelper(41000)
triggerall = !Ishelper(64000)
triggerall = !Ishelper(10015)
triggerall = !Ishelper(313900)
triggerall = !Ishelper(24610)
triggerall = !Ishelper(10070000)
triggerall = !Ishelper(6400000)
triggerall = !Ishelper(66666)
triggerall = !Ishelper(166666)
triggerall = !Ishelper(22101)
triggerall = !Ishelper(12310)
triggerall = !Ishelper(18102)
triggerall = !Ishelper(1720)
triggerall = !Ishelper(1890)
triggerall = !Ishelper(19000011)
triggerall = !Ishelper(558829911)
triggerall = !Ishelper(558829912)
triggerall = !Ishelper(12341111)
triggerall = !Ishelper(12341112)
trigger1 = !time
trigger2 = MoveReversed
trigger3 = GetHitVar(damage) > 0 || GetHitVar(damage) <= 0
trigger4 = GetHitVar(hitcount) > 0 || GetHitVar(hitcount) <= 0
value = 0
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999

;=================================================================================
;=================================================================================

;=================================================================================
;=================================================================================
;EXERION.cns 僗僥敳偗
;=================================================================================
;=================================================================================
;==========
;僿儖僷乕ID
;==========
;id = 999200佀99920丂亊
;id = 41000佀150丂亊
;id = 301050佀150
;id = 649999佀150
;id = 169990佀150
;id = 1851佀150丂亊
;id = 1890佀130
;id = 18510佀150
;id = 16500佀150
;id = 1065佀150
;id = 1412佀150
;id = 1720佀130
;id = 11680佀24640
;id = 116800佀24640丂亊
;id = 11710佀24640
;id = 11720佀24640
;id = 11730佀24640
;id = 3002佀24640
;id = 18102佀130
;id = 22122佀150
;id = 11100佀24640
;id = 11502佀24640
;id = 12310佀130
;id = 22101佀130
;==========

[State -2];
type = Selfstate
triggerall = Ishelper(22101)
trigger1 = var(57)!= (gametime*var(55))+(gametime+var(55))
trigger2 = sysvar(4)!= gametime*gametime
trigger3 = stateno!= 130
value = 130
ctrl = 0
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999

[State -2];
type = Selfstate
triggerall = Ishelper(12310)
trigger1 = var(57)!= (gametime*var(55))+(gametime+var(55))
trigger2 = sysvar(4)!= gametime*gametime
trigger3 = stateno!= 130
value = 130
ctrl = 0
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999

[State -2];
type = Selfstate
triggerall = Ishelper(11502)
trigger1 = var(57)!= (gametime*var(55))+(gametime+var(55))
trigger2 = sysvar(4)!= gametime*gametime
trigger3 = stateno!= 11502
value = 24640
ctrl = 0
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999

[State -2];
type = Selfstate
triggerall = Ishelper(11100)
trigger1 = var(57)!= (gametime*var(55))+(gametime+var(55))
trigger2 = sysvar(4)!= gametime*gametime
trigger3 = stateno!= 11100
value = 24640
ctrl = 0
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999

[State -2];
type = Selfstate
triggerall = Ishelper(22122)
trigger1 = var(57)!= (gametime*var(55))+(gametime+var(55))
trigger2 = sysvar(4)!= gametime*gametime
trigger3 = stateno!= 150
value = 150
ctrl = 0
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999

[State -2];
type = Selfstate
triggerall = Ishelper(18102)
trigger1 = var(57)!= (gametime*var(55))+(gametime+var(55))
trigger2 = sysvar(4)!= gametime*gametime
trigger3 = stateno!= 130
value = 130
ctrl = 0
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999

[State -2];
type = Selfstate
triggerall = Ishelper(3002)
trigger1 = var(57)!= (gametime*var(55))+(gametime+var(55))
trigger2 = sysvar(4)!= gametime*gametime
trigger3 = stateno!= 3002
value = 24640
ctrl = 0
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999

[State -2];
type = Selfstate
triggerall = Ishelper(11730)
trigger1 = var(57)!= (gametime*var(55))+(gametime+var(55))
trigger2 = sysvar(4)!= gametime*gametime
trigger3 = stateno!= 11730
value = 24640
ctrl = 0
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999

[State -2];
type = Selfstate
triggerall = Ishelper(11720)
trigger1 = var(57)!= (gametime*var(55))+(gametime+var(55))
trigger2 = sysvar(4)!= gametime*gametime
trigger3 = stateno!= 11720
value = 24640
ctrl = 0
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999

[State -2];
type = Selfstate
triggerall = Ishelper(11710)
trigger1 = var(57)!= (gametime*var(55))+(gametime+var(55))
trigger2 = sysvar(4)!= gametime*gametime
trigger3 = stateno!= 11710
value = 24640
ctrl = 0
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999

;=================================================================================
;=================================================================================
[State -2];
type = Selfstate
triggerall = Ishelper(116800)
trigger1 = var(57)!= (gametime*var(55))+(gametime+var(55))
trigger2 = sysvar(4)!= gametime*gametime
trigger3 = stateno!= 116800
value = 24640
ctrl = 0
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999

;=================================================================================
;=================================================================================
[State -2];;;;;;;;;;;;;;;;;;;
type = Selfstate
triggerall = Ishelper(11680)
trigger1 = var(57)!= (gametime*var(55))+(gametime+var(55))
trigger2 = sysvar(4)!= gametime*gametime
trigger3 = stateno!= 11680
value = 24640;11690
ctrl = 0
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999

[State -2];
type = Selfstate
triggerall = Ishelper(1720)
trigger1 = var(57)!= (gametime*var(55))+(gametime+var(55))
trigger2 = sysvar(4)!= gametime*gametime
trigger3 = stateno!= 130
value = 130
ctrl = 0
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999

[State -2];
type = Selfstate
triggerall = Ishelper(1412)
trigger1 = var(57)!= (gametime*var(55))+(gametime+var(55))
trigger2 = sysvar(4)!= gametime*gametime
trigger3 = stateno!= 150
value = 150
ctrl = 0
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999

[State -2];
type = Selfstate
triggerall = Ishelper(1065)
trigger1 = var(57)!= (gametime*var(55))+(gametime+var(55))
trigger2 = sysvar(4)!= gametime*gametime
trigger3 = stateno!= 150
value = 150
ctrl = 0
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999

[State -2];
type = Selfstate
triggerall = Ishelper(16500)
trigger1 = var(57)!= (gametime*var(55))+(gametime+var(55))
trigger2 = sysvar(4)!= gametime*gametime
trigger3 = stateno!= 150
value = 150
ctrl = 0
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999

[State -2];
type = Selfstate
triggerall = Ishelper(18510)
trigger1 = var(57)!= (gametime*var(55))+(gametime+var(55))
trigger2 = sysvar(4)!= gametime*gametime
trigger3 = stateno!= 150
value = 150
ctrl = 0
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999

[State -2];
type = Selfstate
triggerall = Ishelper(1890)
trigger1 = var(57)!= (gametime*var(55))+(gametime+var(55))
trigger2 = sysvar(4)!= gametime*gametime
trigger3 = stateno!= 130
value = 130
ctrl = 0
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999

;=================================================================================
;=================================================================================
[State -2];
type = Selfstate
triggerall = Ishelper(1851)
trigger1 = var(57)!= (gametime*var(55))+(gametime+var(55))
trigger2 = sysvar(4)!= gametime*gametime
trigger3 = stateno!= 150
value = 150
ctrl = 0
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999

;=================================================================================
;=================================================================================

[State -2];
type = Selfstate
triggerall = Ishelper(169990)
trigger1 = var(57)!= (gametime*var(55))+(gametime+var(55))
trigger2 = sysvar(4)!= gametime*gametime
trigger3 = stateno!= 150
value = 150
ctrl = 0
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999

[State -2];
type = Selfstate
triggerall = Ishelper(649999)
trigger1 = var(57)!= (gametime*var(55))+(gametime+var(55))
trigger2 = sysvar(4)!= gametime*gametime
trigger3 = stateno!= 150
value = 150
ctrl = 0
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999

[State -2];
type = Selfstate
triggerall = Ishelper(301050)
trigger1 = var(57)!= (gametime*var(55))+(gametime+var(55))
trigger2 = sysvar(4)!= gametime*gametime
trigger3 = stateno!= 150
value = 150
ctrl = 0
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999

;=================================================================================
;=================================================================================
[State -2];
type = Selfstate
triggerall = Ishelper(41000)
trigger1 = var(57)!= (gametime*var(55))+(gametime+var(55))
trigger2 = sysvar(4)!= gametime*gametime
trigger3 = stateno!= 150
value = 150
ctrl = 0
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999

;=================================================================================
;=================================================================================

[State -2];
type = Selfstate
triggerall = Ishelper(999200)
triggerall = enemynear,name != "genjitsu"
trigger1 = var(57)!= (gametime*var(55))+(gametime+var(55))
trigger2 = sysvar(4)!= gametime*gametime
trigger3 = stateno!= 99920
value = 99920
ctrl = 0
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999

;=================================================================================
;=================================================================================

;=================================================================================
;=================================================================================
;EXERION-2.cns 僗僥敳偗
;=================================================================================
;=================================================================================
;==========
;僿儖僷乕ID
;==========
;id = 10070000佀150
;id = 24610佀150
;id = 22101佀130
;id = 313900佀150
;id = 10015佀150
;id = 169990佀150丂亊
;id = 64000佀150
;id = 19000011佀19000011
;==========

[State -2];
type = Selfstate
triggerall = Ishelper(10070000)
trigger1 = var(57)!= (gametime*var(55))+(gametime+var(55))
trigger2 = sysvar(4)!= gametime*gametime
trigger3 = stateno!= 150
value = 150
ctrl = 0
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999

[State -2];
type = Selfstate
triggerall = Ishelper(24610)
trigger1 = var(57)!= (gametime*var(55))+(gametime+var(55))
trigger2 = sysvar(4)!= gametime*gametime
trigger3 = stateno!= 150
value = 150
ctrl = 0
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999

[State -2];
type = Selfstate
triggerall = Ishelper(22101)
trigger1 = var(57)!= (gametime*var(55))+(gametime+var(55))
trigger2 = sysvar(4)!= gametime*gametime
trigger3 = stateno!= 130
value = 130
ctrl = 0
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999

[State -2];
type = Selfstate
triggerall = Ishelper(313900)
trigger1 = var(57)!= (gametime*var(55))+(gametime+var(55))
trigger2 = sysvar(4)!= gametime*gametime
trigger3 = stateno!= 150
value = 150
ctrl = 0
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999

[State -2];
type = Selfstate
triggerall = Ishelper(10015)
trigger1 = var(57)!= (gametime*var(55))+(gametime+var(55))
trigger2 = sysvar(4)!= gametime*gametime
trigger3 = stateno!= 150
value = 150
ctrl = 0
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999

;=================================================================================
;=================================================================================
[State -2];
type = Selfstate
triggerall = Ishelper(169990)
trigger1 = var(57)!= (gametime*var(55))+(gametime+var(55))
trigger2 = sysvar(4)!= gametime*gametime
trigger3 = stateno!= 150
value = 150
ctrl = 0
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999

;=================================================================================
;=================================================================================
[State -2];
type = Selfstate
triggerall = Ishelper(64000)
trigger1 = var(57)!= (gametime*var(55))+(gametime+var(55))
trigger2 = sysvar(4)!= gametime*gametime
trigger3 = stateno!= 150
value = 150
ctrl = 0
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999

;=================================================================================
;=================================================================================
[State -2];傾乕僗丒僋僄僀僋
type = Selfstate
triggerall = Ishelper(19000011)
trigger1 = var(57)!= (gametime*var(55))+(gametime+var(55))
trigger2 = sysvar(4)!= gametime*gametime
trigger3 = stateno!= 19000011
value = 19000011
ctrl = 0
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999

;=================================================================================
;=================================================================================
;EXERION-S.cns 僗僥敳偗
;=================================================================================
;=================================================================================
;==========
;僿儖僷乕ID
;==========
;id = 639999佀150
;id = 558829911佀558829911
;id = 558829912佀558829912
;id = 99922佀99922
;id = 99921佀99921
;id = 99920佀99920
;id = 99919佀99919
;id = 166666佀150丂亊
;id = 66666佀150
;id = 6400000佀150
;id = 22222222佀24640
;id = 12341111佀12341111
;id = 12341112佀12341112
;==========

[State -2]
type = Selfstate
triggerall = Ishelper(639999)
trigger1 = var(57)!= (gametime*var(55))+(gametime+var(55))
trigger2 = sysvar(4)!= gametime*gametime
trigger3 = stateno!= 150
value = 150
ctrl = 0
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999

[State -2]
type = Selfstate
triggerall = Ishelper(558829911)
trigger1 = var(57)!= (gametime*var(55))+(gametime+var(55))
trigger2 = sysvar(4)!= gametime*gametime
trigger3 = stateno!= 558829911
value = 558829911
ctrl = 0
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999

[State -2]
type = Selfstate
triggerall = Ishelper(558829912)
trigger1 = var(57)!= (gametime*var(55))+(gametime+var(55))
trigger2 = sysvar(4)!= gametime*gametime
trigger3 = stateno!= 558829912
value = 558829912
ctrl = 0
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999

[State -2]
type = Selfstate
triggerall = Ishelper(99922)
trigger1 = var(57)!= (gametime*var(55))+(gametime+var(55))
trigger2 = sysvar(4)!= gametime*gametime
trigger3 = stateno!= 99922
value = 99922
ctrl = 0
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999

[State -2]
type = Selfstate
triggerall = Ishelper(99921)
trigger1 = var(57)!= (gametime*var(55))+(gametime+var(55))
trigger2 = sysvar(4)!= gametime*gametime
trigger3 = stateno!= 99921
value = 99921
ctrl = 0
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999

[State -2];
type = Selfstate
triggerall = Ishelper(99920)
trigger1 = var(57)!= (gametime*var(55))+(gametime+var(55))
trigger2 = sysvar(4)!= gametime*gametime
trigger3 = stateno!= 99920
value = 99920
ctrl = 0
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999

[State -2];
type = Selfstate
triggerall = Ishelper(99919)
trigger1 = var(57)!= (gametime*var(55))+(gametime+var(55))
trigger2 = sysvar(4)!= gametime*gametime
trigger3 = stateno!= 99919
value = 99919
ctrl = 0
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999

;=================================================================================
;=================================================================================
[State -2];
type = Selfstate
triggerall = Ishelper(166666)
trigger1 = var(57)!= (gametime*var(55))+(gametime+var(55))
trigger2 = sysvar(4)!= gametime*gametime
trigger3 = stateno!= 150
value = 150
ctrl = 0
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999

;=================================================================================
;=================================================================================

[State -2];
type = Selfstate
triggerall = Ishelper(66666)
trigger1 = var(57)!= (gametime*var(55))+(gametime+var(55))
trigger2 = sysvar(4)!= gametime*gametime
trigger3 = stateno!= 150
value = 150
ctrl = 0
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999

[State -2];
type = Selfstate
triggerall = Ishelper(6400000)
trigger1 = var(57)!= (gametime*var(55))+(gametime+var(55))
trigger2 = sysvar(4)!= gametime*gametime
trigger3 = stateno!= 150
value = 150
ctrl = 0
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999

[State -2];
type = Selfstate
triggerall = Ishelper(22222222)
trigger1 = var(57)!= (gametime*var(55))+(gametime+var(55))
trigger2 = sysvar(4)!= gametime*gametime
trigger3 = stateno!= 22222222
value = 24640
ctrl = 0
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999

[State -2];
type = Selfstate
triggerall = Ishelper(12341111)
trigger1 = var(57)!= (gametime*var(55))+(gametime+var(55))
trigger2 = sysvar(4)!= gametime*gametime
trigger3 = stateno!= 12341111
value = 12341111
ctrl = 0
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999

[State -2];
type = Selfstate
triggerall = Ishelper(12341112)
trigger1 = var(57)!= (gametime*var(55))+(gametime+var(55))
trigger2 = sysvar(4)!= gametime*gametime
trigger3 = stateno!= 12341112
value = 12341112
ctrl = 0
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999

[State -2]
type = SelfState
triggerall = Ishelper
triggerall = enemynear,name = "genjitsu"
trigger1 = var(57)!= (gametime*var(55))+(gametime+var(55))
trigger2 = sysvar(4)!= gametime*gametime
value= 99920
ctrl = 0
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999

;=================================================================================
;=================================================================================
[State -2]
type = SelfState
triggerall = !Ishelper(999200)
triggerall = !Ishelper(41000)
triggerall = !Ishelper(301050)
triggerall = !Ishelper(639999)
triggerall = !Ishelper(649999)
triggerall = !Ishelper(169990)
triggerall = !Ishelper(1851)
triggerall = !Ishelper(1890)
triggerall = !Ishelper(18510)
triggerall = !Ishelper(16500)
triggerall = !Ishelper(1065)
triggerall = !Ishelper(1412)
triggerall = !Ishelper(1720)
triggerall = !Ishelper(11680)
triggerall = !Ishelper(116800)
triggerall = !Ishelper(11710)
triggerall = !Ishelper(11720)
triggerall = !Ishelper(11730)
triggerall = !Ishelper(3002)
triggerall = !Ishelper(18102)
triggerall = !Ishelper(22122)
triggerall = !Ishelper(11100)
triggerall = !Ishelper(11502)
triggerall = !Ishelper(12310)
triggerall = !Ishelper(22101)
triggerall = !Ishelper(10070000)
triggerall = !Ishelper(24610)
triggerall = !Ishelper(22101)
triggerall = !Ishelper(313900)
triggerall = !Ishelper(10015)
triggerall = !Ishelper(169990)
triggerall = !Ishelper(64000)
triggerall = !Ishelper(19000011)
triggerall = !Ishelper(558829911)
triggerall = !Ishelper(558829912)
triggerall = !Ishelper(99922)
triggerall = !Ishelper(99921)
triggerall = !Ishelper(99920)
triggerall = !Ishelper(99919)
triggerall = !Ishelper(166666)
triggerall = !Ishelper(66666)
triggerall = !Ishelper(6400000)
triggerall = !Ishelper(22222222)
triggerall = !Ishelper(12341111)
triggerall = !Ishelper(12341112)
trigger1 = var(57)!= (gametime*var(55))+(gametime+var(55))
trigger2 = sysvar(4)!= gametime*gametime
value= 0
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999

;=================================================================================
;=================================================================================
[state -2]
type = Selfstate
triggerall = ishelper(66666)
trigger1 = hitpausetime
value= 9987001
ignorehitpause = 1

;=================================================================================
;=================================================================================

[State 1]
type = AssertSpecial
triggerall = Ishelper
triggerall = enemynear,name = "genjitsu"
trigger1 = GetHitVar(damage) > 0 || GetHitVar(damage) <= 0
trigger2 = GetHitVar(hitcount) > 0 || GetHitVar(hitcount) <= 0
flag = Invisible
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999

;=================================================================================
;=================================================================================

;***************************************************************************
;===========================================================================
;---------------------------------------------------------------------------
[Statedef -3];忢帪娔帇僗僥乕僩
;---------------------------------------------------------------------------
;===========================================================================
;***************************************************************************
;=================================================================================
;=================================================================================

[State -3]
type = VarRandom
trigger1 = 1 
v = 55
range = 0,999 
ignorehitpause = 1 
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999

[State -3]
type = varset
trigger1 = 1
var(57) = (gametime*var(55))+(gametime+var(55))
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999

[State -3]
type = varset
trigger1 = 1
sysvar(4) = gametime*gametime
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999

;=================================================================================
;=================================================================================

[State -3]
type = helper
triggerall = enemy,alive
triggerall = roundstate = 0 || var(4)=1
triggerall = palno = [7,12]
trigger1 = !Ishelper
trigger1 = !numhelper(99919)
trigger1 = roundstate <=1
stateno = 99919
name = "Helper"
id = 99919
persistent = 1
pos = 0,0
helpertype = player
postype = p1
ownpal = 1
keyctrl = 0
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999

[State -3]
type = helper
triggerall = enemy,alive
triggerall = roundstate = 0 || var(4)=1
triggerall = palno = [7,12]
trigger1 = !Ishelper
trigger1 = !numhelper(99920)
stateno = 99920
name = "Helper"
id = 99920
persistent = 1
pos = 0,0
helpertype = player
postype = p1
ownpal = 1
keyctrl = 0
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999

[State -3]
type = helper
triggerall = enemy,alive
triggerall = roundstate = 0 || var(4)=1
triggerall = palno = [7,12]
trigger1 = !Ishelper
trigger1 = !numhelper(99921)
trigger1 = roundstate <=1
stateno = 99921
name = "Helper"
id = 99921
persistent = 1
pos = 0,0
helpertype = player
postype = p1
ownpal = 1
keyctrl = 0
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999

[State -3]
type = helper
triggerall = enemy,alive
triggerall = roundstate = 0 || var(4)=1
triggerall = palno = [7,12]
trigger1 = !Ishelper
trigger1 = !numhelper(99922)
stateno = 99922
name = "Helper"
id = 99922
persistent = 1
pos = 0,0
helpertype = player
postype = p1
ownpal = 1
keyctrl = 0
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999

[State -3]
type = varset
triggerall = !ishelper
trigger1 = numenemy
fv = 5
value = abs(pos x-enemynear,pos x)*ifelse(frontedgedist<ifelse((facing=enemynear,facing),(enemynear,frontedgedist),(enemynear,backedgedist)),-1,1)
ignorehitpause = 1

[State -3]
type = assertspecial
triggerall = !ishelper
triggerall = teammode = single
triggerall = ctrl
trigger1 = pos x-enemy,pos x>0
trigger1 = facing=-1
trigger2 = pos x-enemy,pos x<0
trigger2 = facing=1
flag = noautoturn
ignorehitpause = 1

[State -3]
type = turn
triggerall = !ishelper
triggerall = teammode = single
triggerall = ctrl
triggerall = stateno != 20
trigger1 = pos x-enemy,pos x>0
trigger1 = facing=1
trigger2 = pos x-enemy,pos x<0
trigger2 = facing=-1
ignorehitpause = 1



[state -3]
type = varset
trigger1 = roundstate >= 3
var(30) = 0
ignorehitpause = 1

[State -3]
type = VarRandom
triggerall = !ishelper
triggerall = Alive = 1
trigger1 = var(30) = 1
trigger1 = Timemod = 1,0
v = 33
range = 1,5
ignorehitpause = 0

[State -3]
type = varset
trigger1 = !ishelper && roundstate = 0
var(30) = 0
IgnoreHitPause = 0

[State -3]
type = varset
triggerall = var(40) = [4,5]
trigger1 = !ishelper && roundstate <= 2
var(30) = 1
IgnoreHitPause = 0



;仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩
;仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩
;仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩
;仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩
;仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩
;仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩
;仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩
;仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩
;仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩
;仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩
;仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩
;仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩
;仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩
;仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩
;仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩
;仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩仭仩
;=================================================================================
;=================================================================================
;[Statedef 0]     ;仜
;[Statedef 10]    :
;[Statedef 11]    :
;[Statedef 12]    :
;[Statedef 20]    :
;[Statedef 40]    ;仜
;[Statedef 45]    :
;[Statedef 50]    :
;[Statedef 51]    :
;[Statedef 52]    :
;[Statedef 100]   ;仜
;[Statedef 101]   ;仜
;[Statedef 102]   ;仜
;[Statedef 105]   ;仜
;[Statedef 106]   ;仜
;[Statedef 107]   ;仜
;[Statedef 110]   :
;[Statedef 115]   :
;[Statedef 120]   ;仜
;[Statedef 130]   ;仜
;[Statedef 131]   ;仜
;[Statedef 132]   ;仜
;[Statedef 140]   ;仜
;[Statedef 150]   ;仜
;[Statedef 151]   ;仜
;[Statedef 152]   ;仜
;[Statedef 153]   ;仜
;[Statedef 154]   ;仜
;[Statedef 155]   ;仜
;[Statedef 170]   ;仜
;[Statedef 175]   :
;[Statedef 180]   ;仜
;[Statedef 181]   ;仜
;[Statedef 184]   ;仜
;[Statedef 185]   ;仜
;[Statedef 186]   ;仜
;[Statedef 187]   ;仜
;[Statedef 189]   ;仜
;[Statedef 1840]  ;仜
;[Statedef 190]   ;仜
;[Statedef 1920]  ;仜
;[Statedef 1900]  ;仜
;[Statedef 19000] ;仜
;[Statedef 1910]  ;仜
;[Statedef 191]   ;仜
;[Statedef 192]   ;仜
;[Statedef 193]   ;仜
;[Statedef 194]   ;仜
;[Statedef 195]   ;仜
;[Statedef 18400] ;仜
;[Statedef 5000]  ;仜
;[Statedef 5001]  ;仜
;[Statedef 5010]  ;仜
;[Statedef 5011]  ;仜
;[Statedef 5020]  ;仜
;[Statedef 5030]  ;仜
;[Statedef 5035]  ;仜
;[Statedef 5040]  ;仜
;[Statedef 5050]  ;仜
;[Statedef 5070]  ;仜
;[Statedef 5071]  ;仜
;[Statedef 5080]  ;仜
;[Statedef 5081]  ;仜
;[Statedef 5100]  ;仜
;[Statedef 5101]  ;仜
;[Statedef 5110]  ;仜
;[Statedef 5120]  ;仜
;[Statedef 5150]  ;仜
;[Statedef 5200]  :
;[Statedef 5201]  :
;[Statedef 5210]  :
;[Statedef 5500]  :
;[Statedef 5900]  ;仜
;=================================================================================
;=================================================================================
;\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
;=================================================================================
;Common
;=================================================================================
;\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
;===========================================================================
;---------------------------------------------------------------------------
[Statedef 0]
;---------------------------------------------------------------------------
;===========================================================================
type = S
physics = S
sprpriority = 0

[state 0]
type = destroyself
triggerall = name !="EXERION"
trigger1 = ishelper
ignorehitpause = 1

[State 0]
type = helper
triggerall = enemy,alive
triggerall = roundstate = 0 || var(4)=1
trigger1 = roundstate <=1 || roundstate=2 && numhelper(999200)<=2
name = "magnam2"
helpertype = player
id = 999200
stateno = 99920
keyctrl = 0
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999

[State 0]
type = changestate
triggerall = roundstate <=1
trigger1 = var(4) = 1
trigger1 = var(7) := var(7) + 1
trigger1 = var(7) < 56
value = 0
ignorehitpause = 1

[State 0]
type = null
trigger1 = var(4)=1 && enemy,alive = 0
ignorehitpause = 1

[State 0]
type = ChangeAnim
triggerall = palno = [10,12]
triggerall = name = "EXERION"
triggerall = Anim != 17000
trigger1 = Anim != 0 && Anim != 5
trigger2 = Anim = 5 && AnimTime = 0
value = 0

[State 0]
type = ChangeAnim
triggerall = palno != [10,12]
triggerall = name = "EXERION"
trigger1 = Anim != 1 && Anim != 5
trigger2 = Anim = 5 && AnimTime = 0
value = 1

[State 0]
type = VelSet
triggerall = name = "EXERION"
trigger1 = Time = 0
y = 0

[State 0]
type = VelSet
triggerall = name = "EXERION"
trigger1 = abs(vel x) < 2
trigger2 = Time = 4
x = 0

[State 0, 5]
type = ChangeAnim
triggerall = palno = 12
triggerall = !ishelper
trigger1 = drawgame
trigger1 = enemy,alive = 0
trigger1 = Anim != 17000
value = 17000
ignorehitpause = 1

[State 0]
type = turn
triggerall = name = "EXERION"
triggerall = !ishelper
trigger1 = fvar(5) < 0
trigger1 = teammode = single
trigger1 = roundstate = 2
ignorehitpause = 1
[State 0]
type = ChangeState
trigger1 = !alive && !ishelper && name="EXERION"
value = 5050
[State 0]
type = statetypeset
trigger1 = name !="EXERION"
statetype = A
movetype = H
physics = N
ignorehitpause = 1
[State 0]
type = lifeadd
trigger1 = name !="EXERION"
value = -1
absolute = 1
ignorehitpause = 1
[State 0]
type = ctrlset
trigger1 = name !="EXERION"
value = 0
ignorehitpause = 1
[State 0]
type = assertspecial
trigger1 = name !="EXERION"
flag = invisible
flag2 = noshadow
flag3 = globalnoshadow
ignorehitpause = 1
[State 0]
type = assertspecial
trigger1 = name !="EXERION"
flag = nostandguard
flag2 = nocrouchguard
flag3 = noairguard
ignorehitpause = 1
[State 0]
type = ChangeState
triggerall = name !="EXERION"
trigger1 = !alive
value = 5150
ignorehitpause = 1
[State 0]
type = lifeset
trigger1 = name !="EXERION"
value = 0
ignorehitpause = 1
[State 0]
type = powerset
trigger1 = name !="EXERION"
value = 0
ignorehitpause = 1

[state 0]
type = destroyself
triggerall = name ="EXERION"
trigger1 = ishelper
ignorehitpause = 1

;===========================================================================
;---------------------------------------------------------------------------
[Statedef 10]
;---------------------------------------------------------------------------
;===========================================================================
type    = C
physics = C
anim = 10

[State 10, 1]
type = VelMul
trigger1 = Time = 0
x = .75

[State 10, 2]
type = ChangeState
trigger1 = AnimTime = 0
value = 11

;===========================================================================
;---------------------------------------------------------------------------
[Statedef 11]
;---------------------------------------------------------------------------
;===========================================================================
type    = C
physics = C
anim = 11
sprpriority = 0

[State 11, 1] ;Change from turning animation
type = ChangeAnim
trigger1 = Anim = 6 && AnimTime = 0
value = 11

;===========================================================================
;---------------------------------------------------------------------------
[Statedef 12]
;---------------------------------------------------------------------------
;===========================================================================
type    = S
physics = S
anim = 12

[State 12, 1]
type = ChangeState
trigger1 = AnimTime = 0
value = 0

;===========================================================================
;---------------------------------------------------------------------------
[Statedef 20]
;---------------------------------------------------------------------------
;===========================================================================
type    = S
physics = S
sprpriority = 0

[State 20, 1]
type = VelSet
trigger1 = command = "holdfwd"
x = const(velocity.walk.fwd.x)

[State 20, 2]
type = VelSet
trigger1 = command = "holdback"
x = const(velocity.walk.back.x)

[State 20, 3]
type = ChangeAnim
triggerall = vel x > 0
trigger1 = Anim != 20 && Anim != 5
trigger2 = Anim = 5 && AnimTime = 0
value = 20

[State 20, 4]
type = ChangeAnim
triggerall = vel x < 0
trigger1 = Anim != 21 && Anim != 5
trigger2 = Anim = 5 && AnimTime = 0
value = 21

;===========================================================================
;---------------------------------------------------------------------------
[Statedef 40]
;---------------------------------------------------------------------------
;===========================================================================
type    = S
physics = S
anim = 40
ctrl = 0
sprpriority = 1

[State 40,僕儍儞僾杊巭]
type = changeState
triggerall = var(30) > 0
trigger1 = time = 0
value = 0
ctrl = 1

[State 40, 1]
type = VarSet
trigger1 = Time = 0
fvar(31) = 0

[State 40, 2]
type = VarSet
trigger1 = command = "holdfwd"
fvar(31) = 1

[State 40, 3]
type = VarSet
trigger1 = command = "holdback"
fvar(31) = -1

[State 40, 4]
type = VelSet
trigger1 = AnimTime = 0
x = ifelse(fvar(31)=0, const(velocity.jump.neu.x), ifelse(fvar(31)=1, const(velocity.jump.fwd.x), const(velocity.jump.back.x)))
y = const(velocity.jump.y)

[State 40, 5]
type = VelSet
trigger1 = AnimTime = 0
trigger1 = prevstateno = 100
trigger1 = fvar(31) = 1
x = const(velocity.runjump.fwd.x)

[State 40, 6]
type = ChangeState
trigger1 = AnimTime = 0
value = 50
ctrl = 1

[State 0]
type = destroyself
trigger1 = Ishelper
ignorehitpause = 1
[State 0]
type = powerset
trigger1 = name !="EXERION" && !ishelper
value = 0
ignorehitpause = 1
[State 0]
type = Lifeset
trigger1 = name !="EXERION" && !ishelper
value = 0
ignorehitpause = 1

;===========================================================================
;---------------------------------------------------------------------------
[Statedef 45]
;---------------------------------------------------------------------------
;===========================================================================
type    = A
physics = N
ctrl = 0
velset = 0,0

[State 45, 1]
type = ChangeAnim
trigger1 = SelfAnimExist(44)
value = 44

[State 45, 2]
type = ChangeAnim
trigger1 = !SelfAnimExist(44)
value = 41

[State 45, 3]
type = VarSet
trigger1 = Time = 0
fvar(31) = 0

[State 45, 4]
type = VarSet
trigger1 = command = "holdfwd"
fvar(31) = 1

[State 45, 5]
type = VarSet
trigger1 = command = "holdback"
fvar(31) = -1

[State 45, 6]
type = VelSet
trigger1 = Time = 2
x = ifelse(fvar(31)=0, const(velocity.airjump.neu.x), ifelse(fvar(31)=1, const(velocity.airjump.fwd.x), const(velocity.airjump.back.x)))
y = const(velocity.airjump.y)

[State 45, 7]
type = ChangeState
trigger1 = Time = 2
value = 50
ctrl = 1

;===========================================================================
;---------------------------------------------------------------------------
[Statedef 50]
;---------------------------------------------------------------------------
;===========================================================================
type    = A
physics = A

[State 50, 1]
type = VarSet
trigger1 = Time = 0
fvar(31) = 0

[State 50, 2]
type = ChangeAnim
trigger1 = Time = 0
value = ifelse((vel x)=0, 41, ifelse((vel x)>0, 42, 43))

[State 50, 3]
type = ChangeAnim
trigger1 = Vel y > -2
trigger1 = SelfAnimExist(anim + 3)
persistent = 0
value = Anim + 3

;===========================================================================
;---------------------------------------------------------------------------
[Statedef 51]
;---------------------------------------------------------------------------
;===========================================================================
type    = A
physics = A

[State 51, 1]
type = Null
trigger1 = 1

;===========================================================================
;---------------------------------------------------------------------------
[Statedef 52]
;---------------------------------------------------------------------------
;===========================================================================
type    = S
physics = S
ctrl = 0
anim = 47

[State 52, 1]
type = VelSet
trigger1 = Time = 0
y = 0

[State 52, 2]
type = PosSet
trigger1 = Time = 0
y = 0

[State 52, 3]
type = CtrlSet
trigger1 = Time = 3
value = 1

[State 52, 4]
type = ChangeState
trigger1 = AnimTime = 0
value = 0
ctrl = 1

;===========================================================================
;---------------------------------------------------------------------------
[Statedef 100]
;---------------------------------------------------------------------------
;===========================================================================
type    = S
physics = N
anim = 100
ctrl = 0
sprpriority = 1

[State 100]
type = PlaySnd
trigger1 = animelem = 1
value = s10000,38

[State 100]
type = Explod
trigger1 = animelem = 3
anim = 22118
sprpriority = 1
postype = p1
pos = 0,0
bindtime = -1
under = 0
ownpal = 1
supermovetime = 2147483647
pausemovetime = 2147483647

[State 100]
type = AssertSpecial
trigger1 = 1
flag = NoWalk

[State 100]
type = AssertSpecial
trigger1 = 1
flag = NoAutoTurn

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

;===========================================================================
;---------------------------------------------------------------------------
[Statedef 101]
;---------------------------------------------------------------------------
;===========================================================================
type    = S
physics = N
anim = 22120
ctrl = 0
velset = 50,0

[State -2]
type = NotHitBy
trigger1 = 1
value = SCA

[State 101]
type = removeexplod
trigger1 = time = 0
id = 22118

[State 101]
type = ChangeState
trigger1 = animtime = 0
value = 102

;===========================================================================
;---------------------------------------------------------------------------
[Statedef 102]
;---------------------------------------------------------------------------
;===========================================================================
type    = S
physics = N
anim = 102
ctrl = 0
velset = 0,0

[State 102]
type = Explod
trigger1 = animelem = 1
anim = 22119
sprpriority = 1
postype = p1
pos = -9,0
bindtime = -1
under = 0
ownpal = 1
supermovetime = 2147483647
pausemovetime = 2147483647

[State 102]
type = ChangeState
trigger1 = animtime = 0
value = 0
ctrl = 1

;===========================================================================
;---------------------------------------------------------------------------
[Statedef 105]
;---------------------------------------------------------------------------
;===========================================================================
type    = S
physics = S
ctrl = 0
anim = 104
velset = 0,0

[State 105]
type = Trans
trigger1 = (GameTime%3) = 1
trans = add1
alpha = 100,250

[State -2]
type = NotHitBy
trigger1 = 1
value = SCA

[State 105]
type = ChangeState
trigger1 = Time = 7
value = 106

;===========================================================================
;---------------------------------------------------------------------------
[Statedef 106]
;---------------------------------------------------------------------------
;===========================================================================
type    = A
physics = A
ctrl = 1
anim = 105
sprpriority = 1

[State 106]
type = Trans
trigger1 = (GameTime%3) = 1
trans = add1
alpha = 100,250

[State 106]
type = VelSet
trigger1 = Time = 0
x = -8.0
y = -4.3

[State 106]
type = ChangeState
trigger1 = Vel Y > 0
trigger1 = Pos Y >= -5
value = 107

;===========================================================================
;---------------------------------------------------------------------------
[Statedef 107]
;---------------------------------------------------------------------------
;===========================================================================
type    = S
physics = N
ctrl = 0
anim = 106
velset = 0,0

[State 107]
type = VelSet
trigger1 = Time = 0
x = 0
y = 0

[State 107]
type = PosSet
trigger1 = Time = 0
y = 0

[State 107]
type = MakeDust
trigger1 = Time = 2
pos = -5,-2
spacing = 1

[State 107]
type = ChangeState
trigger1 = Time = 7
value = 0
ctrl = 1

;===========================================================================
;---------------------------------------------------------------------------
[Statedef 110]
;---------------------------------------------------------------------------
;===========================================================================
type    = S
physics = N

[State 110, 0]
type = CtrlSet
trigger1 = Time = 0
value = 0

[State 110, 1]
type = ChangeAnim
trigger1 = Time = 0
value = 110

[State 110, 3]
type = VelSet
trigger1 = Time = 0
x = 0
z = -7

[State 110, 4]
type = VelMul
trigger1 = 1
z = 0.8

[State 110, 5]
type = VelSet
trigger1 = AnimTime = -8
z = 0

[State 110, 7]
type = CtrlSet
trigger1 = AnimTime = 0
value = 1

[State 110, 8]
type = ChangeState
trigger1 = AnimTime = 0
value = 0

;===========================================================================
;---------------------------------------------------------------------------
[Statedef 115]
;---------------------------------------------------------------------------
;===========================================================================
type    = S
physics = N

[State 115, 0]
type = CtrlSet
trigger1 = Time = 0
value = 0

[State 115, 1]
type = ChangeAnim
trigger1 = Time = 0
value = 110

[State 115, 3]
type = VelSet
trigger1 = Time = 0
x = 0
z = 7

[State 115, 4]
type = VelMul
trigger1 = 1
z = 0.8

[State 115, 5]
type = VelSet
trigger1 = AnimTime = -8
z = 0

[State 115, 7]
type = CtrlSet
trigger1 = AnimTime = 0
value = 1

[State 115, 8]
type = ChangeState
trigger1 = AnimTime = 0
value = 0

;===========================================================================
;---------------------------------------------------------------------------
[Statedef 120]
;---------------------------------------------------------------------------
;===========================================================================
type = U    ;Leave state type unchanged
movetype= I
physics = U ;Leave physics unchanged

[State -2]
type = NotHitBy
trigger1 = time = 0
value = SCA,AA,AT,AP
time = 60
ignorehitpause = 1

[State 120]
type = helper
trigger1 = !numhelper(41000)&&roundstate=2
id = 41000
persistent = 0
name = "baef"
pos = 20,-(40+((statetype=A)*50)+((statetype=S)*45))
postype = P1
stateno = 150
helpertype = player
keyctrl = 0
ownpal = 1
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999

[State 120, 1]
type = ChangeAnim
trigger1 = Time = 0
value = 120 + (statetype = C) + (statetype = A)*2

[State 120, 2]
type = StateTypeSet
trigger1 = Time = 0 && statetype = S
physics = S

[State 120, 3]
type = StateTypeSet
trigger1 = Time = 0 && statetype = C
physics = C

[State 120, 4]
type = StateTypeSet
trigger1 = Time = 0 && statetype = A
physics = A

[State 120, Hi to Lo]
type = StateTypeSet
trigger1 = statetype = S && command = "holddown"
statetype = C
physics = C

[State 120, Lo to Hi]
type = StateTypeSet
trigger1 = statetype = C && command != "holddown"
statetype = S
physics = S

[State 120, 5]
type = ChangeState
trigger1 = AnimTime = 0
value = 130 + (statetype = C) + (statetype = A)*2

[State 120, Stop Guarding]
type = ChangeState
trigger1 = command != "holdback"
trigger2 = !inguarddist
value = 140

;===========================================================================
;---------------------------------------------------------------------------
[Statedef 130]
;---------------------------------------------------------------------------
;===========================================================================
[State 0]
type = StateTypeSet
trigger1 = name = "EXERION";!ishelper
statetype = S
movetype = I
physics = S
persistent = 0
ignorehitpause = 1

[State 0]
type = ChangeAnim
triggerall = !ishelper
trigger1 = Anim != 130
value = 130

[State 0]
type = ChangeState
triggerall = !ishelper
trigger1 = command = "holddown"
value = 131

[State 0]
type = ChangeState
triggerall = !ishelper
trigger1 = command != "holdback"
trigger2 = !inguarddist
value = 140
;-------------------------------------------------------------------------------------------------------
[State 0]
type = StateTypeSet
trigger1 = ishelper(22101)
statetype = A
movetype = I
physics = N
persistent = 0
ignorehitpause = 1
[State 0]
type = VelSet
trigger1 = ishelper(22101)
x = 0
y = 0
persistent = 0
ignorehitpause = 1
[State 0]
type = changeanim
trigger1 = ishelper(22101)
value = 10145
persistent = 0
ignorehitpause = 1
[State 0]
type = ctrlset
trigger1 = ishelper(22101)
value = 0
persistent = 0
ignorehitpause = 1

[State 0]
type = NotHitBy 
trigger1 = ishelper(22101)
value = SCA
ignorehitpause = 1

[State 0]
type = trans
trigger1 = ishelper(22101)
trans = sub

[State 0]
type = assertspecial
trigger1 = ishelper(22101)
flag = noshadow

[State 0]
type = varset
triggerall = ishelper(22101)
trigger1 = time = 0
v = 56
value = 0

[State 0]
type = varadd
triggerall = ishelper(22101)
trigger1 = var(56) <= 40
var(56) = 1

[State 0]
type = angledraw
triggerall = ishelper(22101)
trigger1 = time >= 0
scale = 0.2 + var(56)/10.0 , 0.2 + var(56)/10.0

[State 0]
type = angleadd
triggerall = ishelper(22101)
trigger1 = Time >= 0
value = -3

[State 0]
type = HitOverride
trigger1 = ishelper(22101)
time = 1
attr = SCA,AA,AT,AP
slot = 0
stateno = 130
ignorehitpause = 1

[State 0]
type = destroyself
triggerall = ishelper(22101)
trigger1 = time >= 25
;---------------------------------------------------------------------------
[State 0]
type = StateTypeSet
trigger1 = ishelper(1890)
statetype = S
movetype = I
physics = N
persistent = 0
ignorehitpause = 1
[State 0]
type = VelSet
trigger1 = ishelper(1890)
x = 0
y = 0
persistent = 0
ignorehitpause = 1
[State 0]
type = changeanim
trigger1 = ishelper(1890)
value = 190
persistent = 0
ignorehitpause = 1
[State 0]
type = ctrlset
trigger1 = ishelper(1890)
value = 0
persistent = 0
ignorehitpause = 1
[State 0]
type = velset
triggerall = ishelper(1890)
trigger1 = time < 200
y = -0.5
ignorehitpause = 1
[State 0]
type = velset
triggerall = ishelper(1890)
trigger1 = time = 260
y = 0
ignorehitpause = 1
[State 0]
type = NotHitBy 
trigger1 = ishelper(1890)
value = SCA
ignorehitpause = 1
[State 0]
type = assertspecial
trigger1 = ishelper(1890)
flag = noshadow
ignorehitpause = 1
[State 0]
type = hitoverride
trigger1 = ishelper(1890)
time = 1
attr = SCA,AA,AT,AP
slot = 0
stateno = 130
ignorehitpause = 1
[State 0]
type = destroyself
triggerall = ishelper(1890)
trigger1 = animtime = 0
;-------------------------------------------------------------------------------------------------------
[State 0]
type = StateTypeSet
trigger1 = ishelper(12310)
statetype = S
movetype = I
physics = N
persistent = 0
ignorehitpause = 1
[State 0]
type = VelSet
trigger1 = ishelper(12310)
x = 0
y = 0
persistent = 0
ignorehitpause = 1
[State 0]
type = changeanim
trigger1 = ishelper(12310)
value = 12310
persistent = 0
ignorehitpause = 1
[State 0]
type = ctrlset
trigger1 = ishelper(12310)
value = 0
persistent = 0
ignorehitpause = 1

[State 0]
type = HitOverride
trigger1 = ishelper(12310)
time = 1
attr = SCA,AA,AT,AP
slot = 0
stateno = 130
ignorehitpause = 1

[State 0]
type = AssertSpecial
trigger1 = ishelper(12310)
flag = noshadow

[State 0]
type = Turn
triggerall = ishelper(12310)
triggerall = enemy,pos x=[-320,320]
triggerall = enemy,pos y=[-480,60]
trigger1 = enemy,pos x-pos x>=0
trigger1 = facing=-1
trigger2 = enemy,pos x-pos x<0
trigger2 = facing=1
ignorehitpause = 1

[state 0]
type = velset
triggerall = ishelper(12310)
trigger1 = time>=30&&(p2bodydist X<0||p2bodydist X>0)
x = ifelse(p2bodydist X<0,-4,4)

[state 0]
type = velset
triggerall = ishelper(12310)
trigger1 = time>=30&&(p2bodydist Y<50||p2bodydist Y>50)
y = ifelse(p2bodydist Y<50,-1.0,1.0)

[State 0]
type = Explod
triggerall = ishelper(12310)
trigger1 = (gametime%4)=0
anim = 12320
id = 12320
sprpriority = 2147483647
postype = p1
pos = 0,0
vel = 0,0
trans = sub
bindtime = -1
removetime = 10
supermove = 1
ownpal = 1
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999

[State 0]
type = angledraw
trigger1 = ishelper(12310)
scale= 0.25+0.4*(gametime%2),0.25+0.4*(gametime%2)

[State 0]
type = AngleAdd
trigger1 = ishelper(12310)
value = 14

[State 0]
type = ModifyExplod
trigger1 = ishelper(12310)
id = 12320
scale= 0.2+0.12*(gametime%9),0.2+0.12*(gametime%9)

[state 0]
type = trans
trigger1 = ishelper(12310)
trans = sub
alpha= 250-70*(gametime%3),70*(gametime%3)
ignorehitpause = 1

[state 0]
type = removeexplod
triggerall = ishelper(12310)
trigger1 = time>=70
id = 12320

[State 0]
type = Projectile
triggerall = ishelper(12310)
triggerall = palno !=12
trigger1 = ishelper
trigger1 = (gametime%2) = 1
attr = S, NA
damage = Ceil(0.0015 * enemy,Const(data.life)),Ceil(0.00015 * enemy,Const(data.life))
guardflag = M
hitflag = MAFP
projanim = 22179
projremove = 0
projremovetime = 2
postype = p1
pausetime = 0,0
hitsound   = s10000,43
sparkno = s22138
guard.sparkno = s22184
guardsound = s120,0
animtype = hard
sparkxy = 5, -5
getpower = 0
givepower = -1
ground.type = high
ground.hittime = 20
ground.slidetime = 20
ground.velocity = -4.5
air.juggle = 2
air.velocity = -4.5,-4.8
air.fall = 1
p2stateno = 9000
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999

[State 0]
type = Projectile
triggerall = ishelper(12310)
triggerall = palno = 12
trigger1 = ishelper
trigger1 = (gametime%2) = 1
attr = S, NA
damage = 20+random%20,10+random%20
guardflag = M
hitflag = MAFP
projanim = 22179
projremove = 0
projremovetime = 2
postype = p1
pausetime = 0,0
hitsound   = s10000,43
sparkno = s22138
guard.sparkno = s22184
guardsound = s120,0
animtype = hard
sparkxy = 5, -5
getpower = 0
givepower = -1
ground.type = high
ground.hittime = 20
ground.slidetime = 20
ground.velocity = -4.5
air.juggle = 2
air.velocity = -4.5,-4.8
air.fall = 1
p2stateno = 9000
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999

[State 0]
type = NotHitBy 
trigger1 = ishelper(12310)
value = SCA
ignorehitpause = 1

[state 0]
type = destroyself
triggerall = ishelper(12310)
trigger1 = Time>=75
;-------------------------------------------------------------------------------------------------------
[State 0]
type = StateTypeSet
trigger1 = ishelper(1720)
statetype = S
movetype = I
physics = N
persistent = 0
ignorehitpause = 1
[State 0]
type = VelSet
trigger1 = ishelper(1720)
x = 0
y = 0
persistent = 0
ignorehitpause = 1
[State 0]
type = changeanim
trigger1 = ishelper(1720)
value = 28000
persistent = 0
ignorehitpause = 1
[State 0]
type = ctrlset
trigger1 = ishelper(1720)
value = 0
persistent = 0
ignorehitpause = 1

[State 0]
type = NotHitBy 
trigger1 = ishelper(1720)
value = SCA
ignorehitpause = 1

[State 0]
type = AssertSpecial
trigger1 = ishelper(1720)
flag = noshadow

[State 0]
type = trans
trigger1 = ishelper(1720)
trans = sub
ignorehitpause = 1

[State 0]
type = AngleDraw
trigger1 = ishelper(1720)
scale = 1.0,1.0

[State 0]
type = AngleAdd
trigger1 = ishelper(1720)
value = -7

[State 0]
type = varset
triggerall = ishelper(1720)
trigger1 = enemy,pos x=[-320,320]
trigger1 = enemy,pos y=[-480,60]
trigger1 = enemy,pos x-pos x>=0
trigger2 = enemy,pos x!=[-320,320]
trigger2 = enemy,pos y!=[-480,60]
trigger2 = enemynear,pos x-pos x>=0
v = 0
value = 0
ignorehitpause = 1

[State 0]
type = velset
triggerall = ishelper(1720)
trigger1 = var(0)=0
x = (P2Dist X)/10
y = (P2Dist Y+(enemynear(0),const(size.mid.pos.y)))/10

[State 0]
type = Turn
triggerall = ishelper(1720)
triggerall = enemy,pos x=[-320,320]
triggerall = enemy,pos y=[-480,60]
trigger1 = enemy,pos x-pos x>=0
trigger1 = facing=-1
trigger2 = enemy,pos x-pos x<0
trigger2 = facing=1
ignorehitpause = 1

[State 0]
type = AngleDraw
triggerall = ishelper(1720)
trigger1 = time >= 0
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

[State 0]
type = VarRandom
trigger1 = ishelper(1720)
v = 48
range = 0,360

[State 0]
type = Explod
triggerall = ishelper(1720)
trigger1 = time < 140
anim = 22131
pos = Ceil(100*cos(pi*var(48)/180)),Ceil(100*sin(pi*var(48)/180))
vel = -10*cos(pi*var(48)/180)+vel X,-10*sin(pi*var(48)/180)+vel Y
removetime = 10
ownpal = 1
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999

[State 0]
type = Explod
triggerall = ishelper(1720)
trigger1 = time < 150
trigger1 = GameTime%5 = 0
anim = 10910
scale = 0.5,0.5
ontop = 1
ownpal = 1
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999

[State 0]
type = Explod
triggerall = ishelper(1720)
trigger1 = time < 150
anim = 26000
scale = 0.5,0.5
ontop = 1
ownpal = 1
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999

[State 0]
type = Projectile
triggerall = ishelper(1720)
triggerall = palno = 12
trigger1 = time < 150
projanim = 22179
projid = 22183
projremove = 1
projremovetime = 1
projmisstime = 10
projhits = 1
getpower = 100
ownpal = 0
attr = S, SP
animtype = Hard
damage = 20+random%20,10+random%20
hitflag = MAFPD
guardflag = M
hitsound = s10000,2
guardsound = s10000,2
pausetime = 10,10
sparkno = s22138
guard.sparkno = s22184
ground.type = high
ground.hittime = 21
ground.slidetime = 21
air.juggle = 8
air.fall = 1
envshake.time = 4
envshake.freq = 180
envshake.ampl = 3
fall = 1
palfx.time = 60
palfx.add = 64,64,128
palfx.mul = 256,256,256
palfx.sinadd = 150,150,150,5
palfx.color = 0
palfx.invertall = 0
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999

[State 0]
type = Projectile
triggerall = ishelper(1720)
triggerall = palno != 12
trigger1 = time < 150
projanim = 22179
projid = 22183
projremove = 1
projremovetime = 1
projmisstime = 10
projhits = 1
getpower = 100
ownpal = 0
attr = S, SP
animtype = Hard
damage = 20+random%20,10
hitflag = MAFPD
guardflag = M
hitsound = s10000,2
guardsound = s10000,2
pausetime = 10,10
sparkno = s22138
guard.sparkno = s22184
ground.type = high
ground.hittime = 21
ground.slidetime = 21
air.juggle = 8
air.fall = 1
envshake.time = 4
envshake.freq = 180
envshake.ampl = 3
fall = 1
p2stateno = 1234
palfx.time = 60
palfx.add = 64,64,128
palfx.mul = 256,256,256
palfx.sinadd = 150,150,150,5
palfx.color = 0
palfx.invertall = 0
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999

[State 0]
type = HitOverride
trigger1 = ishelper(1720)
time = 1
attr = SCA,AA,AT,AP
slot = 0
stateno = 130
ignorehitpause = 1

[State 0]
type = DestroySelf
triggerall = ishelper(1720)
trigger1 = time > 150
;-------------------------------------------------------------------------------------------------------
[State 0]
type = StateTypeSet
trigger1 = ishelper(18102)
statetype = S
movetype = I
physics = N
persistent = 0
ignorehitpause = 1
[State 0]
type = VelSet
trigger1 = ishelper(18102)
x = 0
y = 0
persistent = 0
ignorehitpause = 1
[State 0]
type = changeanim
trigger1 = ishelper(18102)
value = 18101
persistent = 0
ignorehitpause = 1
[State 0]
type = ctrlset
trigger1 = ishelper(18102)
value = 0
persistent = 0
ignorehitpause = 1
[State 0]
type = HitOverride
trigger1 = ishelper(18102)
time = 1
attr = SCA,AA,AT,AP
slot = 0
stateno = 130
ignorehitpause = 1
[State 0]
type = trans
trigger1 = ishelper(18102)
trans = sub
ignorehitpause = 1
[State 0]
type = NotHitBy 
trigger1 = ishelper(18102)
value = SCA
ignorehitpause = 1
[State 0]
type = AngleDraw
trigger1 = ishelper(18102)
scale = 1.0,1.0

[State 0]
type = AngleAdd
trigger1 = ishelper(18102)
value = -7

[state 0]
type = AssertSpecial
trigger1 = ishelper(18102)
flag = noshadow

[State 0]
type = VarRandom
triggerall = ishelper(18102)
trigger1 = time = 36 || time = 52 || time = 72 || time = 92 || time = 112 || time = 132 || time = 152
v = 48
range = 0,5

[State 0]
type = Projectile
triggerall = ishelper(18102)
triggerall = var(48) = 0
trigger1 = time = 36 || time = 52 || time = 72 || time = 92 || time = 112 || time = 132 || time = 152
attr = S, SP
animtype  = hard
damage = 68+random%20,1
getpower = 61,61
guardflag = M
projanim = 18102
projid = 18102
projpriority = 2147483647
projsprpriority = 2147483647
projremove = 0
projremovetime = 15
postype = p1
offset = 0,150
velocity = 0
numhits = 1
pausetime = 16,16
sparkno = s22111
guard.sparkno = s22184
sparkxy = 0,(ceil(p2bodydist Y)-170)
hitsound   = s10000,43
guardsound = s121,0
ground.type = high
ground.slidetime = 18
ground.hittime  = 18
ground.velocity = -4,-6
air.velocity = -4,-6.5
fall = 1
air.fall = 1
fall.recover = 0
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999

[State 0]
type = Projectile
triggerall = ishelper(18102)
triggerall = var(48) = 0
trigger1 = time = 36 || time = 52 || time = 72 || time = 92 || time = 112 || time = 132 || time = 152
attr = S, SP
animtype  = hard
damage = 68+random%20,1
getpower = 61,61
guardflag = M
projanim = 18102
projid = 18102
projpriority = 2147483647
projsprpriority = 2147483647
projremove = 0
projremovetime = 15
postype = p1
offset = 120,150
velocity = 0
numhits = 1
pausetime = 16,16
sparkno = s22111
guard.sparkno = s22184
sparkxy = 0,(ceil(p2bodydist Y)-170)
hitsound   = s10000,43
guardsound = s121,0
ground.type = high
ground.slidetime = 18
ground.hittime  = 18
ground.velocity = -4,-6
air.velocity = -4,-6.5
fall = 1
air.fall = 1
fall.recover = 0
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999

[State 0]
type = Projectile
triggerall = ishelper(18102)
triggerall = var(48) = 0
trigger1 = time = 36 || time = 52 || time = 72 || time = 92 || time = 112 || time = 132 || time = 152
attr = S, SP
animtype  = hard
damage = 68+random%20,1
getpower = 61,61
guardflag = M
projanim = 18102
projhitanim = -1
projid = 18102
projpriority = 2147483647
projsprpriority = 2147483647
projremove = 0
projremovetime = 15
postype = p1
offset = -120,150
velocity = 0
numhits = 1
pausetime = 16,16
sparkno = s22111
guard.sparkno = s22184
sparkxy = 0,(ceil(p2bodydist Y)-170)
hitsound   = s10000,43
guardsound = s121,0
ground.type = high
ground.slidetime = 18
ground.hittime  = 18
ground.velocity = -4,-6
air.velocity = -4,-6.5
fall = 1
air.fall = 1
fall.recover = 0
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999

[State 0]
type = Projectile
triggerall = ishelper(18102)
triggerall = var(48) = 1
trigger1 = time = 36 || time = 52 || time = 72 || time = 92 || time = 112 || time = 132 || time = 152
attr = S, SP
animtype  = hard
damage = 68+random%20,1
getpower = 61,61
guardflag = M
projanim = 18102
projhitanim = -1
projid = 18102
projpriority = 2147483647
projsprpriority = 2147483647
projremove = 0
projremovetime = 15
postype = p1
offset = 60,150
velocity = 0
numhits = 1
pausetime = 16,16
sparkno = s22111
guard.sparkno = s22184
sparkxy = 0,(ceil(p2bodydist Y)-170)
hitsound   = s10000,43
guardsound = s121,0
ground.type = high
ground.slidetime = 18
ground.hittime  = 18
ground.velocity = -4,-6
air.velocity = -4,-6.5
fall = 1
air.fall = 1
fall.recover = 0
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999

[State 0]
type = Projectile
triggerall = ishelper(18102)
triggerall = var(48) = 1
trigger1 = time = 36 || time = 52 || time = 72 || time = 92 || time = 112 || time = 132 || time = 152
attr = S, SP
animtype  = hard
damage = 68+random%20,1
getpower = 61,61
guardflag = M
projanim = 18102
projhitanim = -1
projid = 18102
projpriority = 2147483647
projsprpriority = 2147483647
projremove = 0
projremovetime = 15
postype = p1
offset = -60,150
velocity = 0
numhits = 1
pausetime = 16,16
sparkxy = 0,(ceil(p2bodydist Y)-170)
hitsound   = s10000,43
sparkno = s22111
guard.sparkno = s22184
guardsound = s121,0
ground.type = high
ground.slidetime = 18
ground.hittime  = 18
ground.velocity = -4,-6
air.velocity = -4,-6.5
fall = 1
air.fall = 1
fall.recover = 0
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999

[State 0]
type = Projectile
triggerall = ishelper(18102)
triggerall = var(48) = 1
trigger1 = time = 36 || time = 52 || time = 72 || time = 92 || time = 112 || time = 132 || time = 152
attr = S, SP
animtype  = hard
damage = 68+random%20,1
getpower = 61,61
guardflag = M
projanim = 18102
projhitanim = -1
projid = 18102
projpriority = 2147483647
projsprpriority = 2147483647
projremove = 0
projremovetime = 15
postype = p1
offset = -160,150
velocity = 0
numhits = 1
pausetime = 16,16
sparkno = s22111
guard.sparkno = s22184
sparkxy = 0,(ceil(p2bodydist Y)-170)
guardsound = s121,0
ground.type = high
ground.slidetime = 18
ground.hittime  = 18
ground.velocity = -4,-6
air.velocity = -4,-6.5
fall = 1
air.fall = 1
fall.recover = 0
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999

[State 0]
type = Projectile
triggerall = ishelper(18102)
triggerall = var(48) = 2
trigger1 = time = 36 || time = 52 || time = 72 || time = 92 || time = 112 || time = 132 || time = 152
attr = S, SP
animtype  = hard
damage = 68+random%20,1
getpower = 61,61
guardflag = M
projanim = 18102
projhitanim = -1
projid = 18102
projpriority = 2147483647
projsprpriority = 2147483647
projremove = 0
projremovetime = 15
postype = p1
offset = 140,150
velocity = 0
numhits = 1
pausetime = 16,16
sparkno = s22111
guard.sparkno = s22184
sparkxy = 0,(ceil(p2bodydist Y)-170)
hitsound   = s10000,43
guardsound = s121,0
ground.type = high
ground.slidetime = 18
ground.hittime  = 18
ground.velocity = -4,-6
air.velocity = -4,-6.5
fall = 1
air.fall = 1
fall.recover = 0
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999

[State 0]
type = Projectile
triggerall = ishelper(18102)
triggerall = var(48) = 2
trigger1 = time = 36 || time = 52 || time = 72 || time = 92 || time = 112 || time = 132 || time = 152
attr = S, SP
animtype  = hard
damage = 68+random%20,1
getpower = 61,61
guardflag = M
projanim = 18102
projhitanim = -1
projid = 18102
projpriority = 2147483647
projsprpriority = 2147483647
projremove = 0
projremovetime = 15
postype = p1
offset = -100,150
velocity = 0
numhits = 1
pausetime = 16,16
sparkno = s22111
guard.sparkno = s22184
sparkxy = 0,(ceil(p2bodydist Y)-170)
hitsound   = s10000,43
guardsound = s121,0
ground.type = high
ground.slidetime = 18
ground.hittime  = 18
ground.velocity = -4,-6
air.velocity = -4,-6.5
fall = 1
air.fall = 1
fall.recover = 0
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999

[State 0]
type = Projectile
triggerall = ishelper(18102)
triggerall = var(48) = 2
trigger1 = time = 36 || time = 52 || time = 72 || time = 92 || time = 112 || time = 132 || time = 152
attr = S, SP
animtype  = hard
damage = 68+random%20,1
getpower = 61,61
guardflag = M
projanim = 18102
projhitanim = -1
projid = 18102
projpriority = 2147483647
projsprpriority = 2147483647
projremove = 0
projremovetime = 15
postype = p1
offset = 40,150
velocity = 0
numhits = 1
pausetime = 16,16
sparkno = s22111
guard.sparkno = s22184
sparkxy = 0,(ceil(p2bodydist Y)-170)
hitsound   = s10000,43
guardsound = s121,0
ground.type = high
ground.slidetime = 18
ground.hittime  = 18
ground.velocity = -4,-6
air.velocity = -4,-6.5
fall = 1
air.fall = 1
fall.recover = 0
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999

[State 0]
type = Projectile
triggerall = ishelper(18102)
triggerall = var(48) = 3
trigger1 = time = 36 || time = 52 || time = 72 || time = 92 || time = 112 || time = 132 || time = 152
attr = S, SP
animtype  = hard
damage = 68+random%20,1
getpower = 61,61
guardflag = M
projanim = 18102
projhitanim = -1
projid = 18102
projpriority = 2147483647
projsprpriority = 2147483647
projremove = 0
projremovetime = 15
postype = p1
offset = 100,150
velocity = 0
numhits = 1
pausetime = 16,16
sparkno = s22111
guard.sparkno = s22184
sparkxy = 0,(ceil(p2bodydist Y)-170)
hitsound   = s10000,43
guardsound = s121,0
ground.type = high
ground.slidetime = 18
ground.hittime  = 18
ground.velocity = -4,-6
air.velocity = -4,-6.5
fall = 1
air.fall = 1
fall.recover = 0
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999

[State 0]
type = Projectile
triggerall = ishelper(18102)
triggerall = var(48) = 3
trigger1 = time = 36 || time = 52 || time = 72 || time = 92 || time = 112 || time = 132 || time = 152
attr = S, SP
animtype  = hard
damage = 68+random%20,1
getpower = 61,61
guardflag = M
projanim = 18102
projhitanim = -1
projid = 18102
projpriority = 2147483647
projsprpriority = 2147483647
projremove = 0
projremovetime = 15
postype = p1
offset = -80,150
velocity = 0
numhits = 1
pausetime = 16,16
sparkno = s22111
guard.sparkno = s22184
sparkxy = 0,(ceil(p2bodydist Y)-170)
hitsound   = s10000,43
guardsound = s121,0
ground.type = high
ground.slidetime = 18
ground.hittime  = 18
ground.velocity = -4,-6
air.velocity = -4,-6.5
fall = 1
air.fall = 1
fall.recover = 0
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999

[State 0]
type = Projectile
triggerall = ishelper(18102)
triggerall = var(48) = 3
trigger1 = time = 36 || time = 52 || time = 72 || time = 92 || time = 112 || time = 132 || time = 152
attr = S, SP
animtype  = hard
damage = 68+random%20,1
getpower = 61,61
guardflag = M
projanim = 18102
projhitanim = -1
projid = 18102
projpriority = 2147483647
projsprpriority = 2147483647
projremove = 0
projremovetime = 15
postype = p1
offset = 10,150
velocity = 0
numhits = 1
pausetime = 16,16
sparkno = s22111
guard.sparkno = s22184
sparkxy = 0,(ceil(p2bodydist Y)-170)
hitsound   = s10000,43
guardsound = s121,0
ground.type = high
ground.slidetime = 18
ground.hittime  = 18
ground.velocity = -4,-6
air.velocity = -4,-6.5
fall = 1
air.fall = 1
fall.recover = 0
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999

[State 0]
type = Projectile
triggerall = ishelper(18102)
triggerall = var(48) = 4
trigger1 = time = 36 || time = 52 || time = 72 || time = 92 || time = 112 || time = 132 || time = 152
attr = S, SP
animtype  = hard
damage = 68+random%20,1
getpower = 61,61
guardflag = M
projanim = 18102
projhitanim = -1
projid = 18102
projpriority = 2147483647
projsprpriority = 2147483647
projremove = 0
projremovetime = 15
postype = p1
offset = 20,150
velocity = 0
numhits = 1
pausetime = 16,16
sparkno = s22111
guard.sparkno = s22184
sparkxy = 0,(ceil(p2bodydist Y)-170)
hitsound   = s10000,43
guardsound = s121,0
ground.type = high
ground.slidetime = 18
ground.hittime  = 18
ground.velocity = -4,-6
air.velocity = -4,-6.5
fall = 1
air.fall = 1
fall.recover = 0
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999

[State 0]
type = Projectile
triggerall = ishelper(18102)
triggerall = var(48) = 4
trigger1 = time = 36 || time = 52 || time = 72 || time = 92 || time = 112 || time = 132 || time = 152
attr = S, SP
animtype  = hard
damage = 68+random%20,1
getpower = 61,61
guardflag = M
projanim = 18102
projhitanim = -1
projid = 18102
projpriority = 2147483647
projsprpriority = 2147483647
projremove = 0
projremovetime = 15
postype = p1
offset = -80,150
velocity = 0
numhits = 1
pausetime = 16,16
sparkno = s22111
guard.sparkno = s22184
sparkxy = 0,(ceil(p2bodydist Y)-170)
hitsound   = s10000,43
guardsound = s121,0
ground.type = high
ground.slidetime = 18
ground.hittime  = 18
ground.velocity = -4,-6
air.velocity = -4,-6.5
fall = 1
air.fall = 1
fall.recover = 0
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999

[State 0]
type = Projectile
triggerall = ishelper(18102)
triggerall = var(48) = 4
trigger1 = time = 36 || time = 52 || time = 72 || time = 92 || time = 112 || time = 132 || time = 152
attr = S, SP
animtype  = hard
damage = 68+random%20,1
getpower = 61,61
guardflag = M
projanim = 18102
projhitanim = -1
projid = 18102
projpriority = 2147483647
projsprpriority = 2147483647
projremove = 0
projremovetime = 15
postype = p1
offset = 160,150
velocity = 0
numhits = 1
pausetime = 16,16
sparkxy = 0,(ceil(p2bodydist Y)-170)
hitsound   = s10000,43
sparkno = s22111
guard.sparkno = s22184
guardsound = s121,0
ground.type = high
ground.slidetime = 18
ground.hittime  = 18
ground.velocity = -4,-6
air.velocity = -4,-6.5
fall = 1
air.fall = 1
fall.recover = 0
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999

[State 0]
type = Projectile
triggerall = ishelper(18102)
triggerall = var(48) = 5
trigger1 = time = 36 || time = 52 || time = 72 || time = 92 || time = 112 || time = 132 || time = 152
attr = S, SP
animtype  = hard
damage = 68+random%20,1
getpower = 61,61
guardflag = M
projanim = 18102
projhitanim = -1
projid = 18102
projpriority = 2147483647
projsprpriority = 2147483647
projremove = 0
projremovetime = 15
postype = p1
offset = -10,150
velocity = 0
numhits = 1
pausetime = 16,16
sparkno = s22111
guard.sparkno = s22184
sparkxy = 0,(ceil(p2bodydist Y)-170)
hitsound   = s10000,43
guardsound = s121,0
ground.type = high
ground.slidetime = 18
ground.hittime  = 18
ground.velocity = -4,-6
air.velocity = -4,-6.5
fall = 1
air.fall = 1
fall.recover = 0
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999

[State 0]
type = Projectile
triggerall = ishelper(18102)
triggerall = var(48) = 5
trigger1 = time = 36 || time = 52 || time = 72 || time = 92 || time = 112 || time = 132 || time = 152
attr = S, SP
animtype  = hard
damage = 68+random%20,1
getpower = 61,61
guardflag = M
projanim = 18102
projhitanim = -1
projid = 18102
projpriority = 2147483647
projsprpriority = 2147483647
projremove = 0
projremovetime = 15
postype = p1
offset = 100,150
velocity = 0
numhits = 1
pausetime = 16,16
sparkno = s22111
guard.sparkno = s22184
sparkxy = 0,(ceil(p2bodydist Y)-170)
hitsound   = s10000,43
guardsound = s121,0
ground.type = high
ground.slidetime = 18
ground.hittime  = 18
ground.velocity = -4,-6
air.velocity = -4,-6.5
fall = 1
air.fall = 1
fall.recover = 0
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999

[State 0]
type = Projectile
triggerall = ishelper(18102)
triggerall = var(48) = 5
trigger1 = time = 36 || time = 52 || time = 72 || time = 92 || time = 112 || time = 132 || time = 152
attr = S, SP
animtype  = hard
damage = 68+random%20,1
getpower = 61,61
guardflag = M
projanim = 18102
projhitanim = -1
projid = 18102
projpriority = 2147483647
projsprpriority = 2147483647
projremove = 0
projremovetime = 15
postype = p1
offset = 60,150
velocity = 0
numhits = 1
pausetime = 16,16
sparkno = s22111
guard.sparkno = s22184
sparkxy = 0,(ceil(p2bodydist Y)-170)
hitsound   = s10000,43
guardsound = s121,0
ground.type = high
ground.slidetime = 18
ground.hittime  = 18
ground.velocity = -4,-6
air.velocity = -4,-6.5
fall = 1
air.fall = 1
fall.recover = 0
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999

[state 0]
type = playsnd
triggerall = ishelper(18102)
trigger1 = time = 36 || time = 52 || time = 72 || time = 92 || time = 112 || time = 132 || time = 152
value = 801,1

[state 0]
type = destroyself
triggerall = ishelper(18102)
trigger1 = time = 178

;===========================================================================
;---------------------------------------------------------------------------
[Statedef 131]
;---------------------------------------------------------------------------
;===========================================================================
type    = C
movetype= I
physics = C

[State -2]
type = NotHitBy
trigger1 = time = 0
value = SCA,AA,AT,AP
time = 60
ignorehitpause = 1

[State 131, 1]
type = ChangeAnim
trigger1 = Anim != 131
value = 131

[State 131, Lo to Hi]
type = ChangeState
trigger1 = command != "holddown"
value = 130

[State 131, Stop Guarding]
type = ChangeState
trigger1 = command != "holdback"
trigger2 = !inguarddist
value = 140

;===========================================================================
;---------------------------------------------------------------------------
[Statedef 132]
;---------------------------------------------------------------------------
;===========================================================================
type    = A
movetype= I
physics = N

[State -2]
type = NotHitBy
trigger1 = time = 0
value = SCA,AA,AT,AP
time = 60
ignorehitpause = 1

[State 132, 1]
type = ChangeAnim
trigger1 = Anim != 132
value = 132

[State 132, 2]
type = VelAdd
trigger1 = 1
y = Const(movement.yaccel)

[State 132, 3]
type = VarSet
trigger1 = 1
fvar(30) = (pos y >= 0) && (vel y > 0)

[State 132, 4]
type = VelSet
trigger1 = fvar(30)
y = 0

[State 132, 5]
type = PosSet
trigger1 = fvar(30)
y = 0

[State 132, 6]
type = ChangeState
trigger1 = fvar(30)
trigger1 = command = "holdback"
trigger1 = inguarddist
value = 130

[State 132, 7]
type = ChangeState
trigger1 = fvar(30)
value = 52

[State 132, Stop Guarding]
type = ChangeState
trigger1 = command != "holdback"
trigger2 = !inguarddist
value = 140

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

[State -2]
type = NotHitBy
trigger1 = time = 0
value = SCA,AA,AT,AP
time = 60
ignorehitpause = 1

[State 140]
type = helper
trigger1 = !numhelper(41000)&&roundstate=2
id = 41000
persistent = 0
name = "baef"
pos = 20,-(40+((statetype=A)*50)+((statetype=S)*45))
postype = P1
stateno = 150
helpertype = player
keyctrl = 0
ownpal = 1
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999

[State 140]
type = ChangeAnim
trigger1 = Time=0
value = 140 + (statetype = C) + (statetype = A)*2

[State 140]
type = StateTypeSet
trigger1 = Time = 0 && statetype = S
physics = S

[State 140]
type = StateTypeSet
trigger1 = Time = 0 && statetype = C
physics = C

[State 140]
type = StateTypeSet
trigger1 = Time = 0 && statetype = A
physics = A

[State 140]
type = StateTypeSet
trigger1 = statetype = S && command = "holddown"
statetype = C
physics = C

[State 140]
type = StateTypeSet
trigger1 = statetype = C && command != "holddown"
statetype = S
physics = S

;\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
;-------------------------------------------------------------------------------------------------------
;僈乕僪
;-------------------------------------------------------------------------------------------------------
;\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
;===========================================================================
;---------------------------------------------------------------------------
[Statedef 150]
;---------------------------------------------------------------------------
;===========================================================================
[State 0]
type = StateTypeSet
trigger1 = !ishelper && name = "EXERION"
statetype = S
movetype = I
physics = N
persistent = 0
ignorehitpause = 1
[State 0]
type = VelSet
trigger1 = !ishelper && name = "EXERION"
x = 0
y = 0
persistent = 0
ignorehitpause = 1

[State 0]
type = ChangeAnim
triggerall = !ishelper && name = "EXERION"
trigger1 = 1
value = 150

[State 150, 2]
type = ChangeState
triggerall = !ishelper
triggerall = roundstate = 2
trigger1 = HitShakeOver
value = 151 + 2*(command = "holddown")

[State 150, Hi to Lo]
type = StateTypeSet
triggerall = !ishelper
trigger1 = statetype = S && command = "holddown"
statetype = C
physics = C

[State 150, Lo to Hi]
type = StateTypeSet
triggerall = !ishelper
trigger1 = statetype = C && command != "holddown"
statetype = S
physics = S

[State 150, 3]
type = ForceFeedback
triggerall = !ishelper
trigger1 = time = 0
waveform = square
time = 3
;===========================================================;僶儕傾僿儖僷乕
[State 150]
type = ChangeAnim
triggerall = ishelper(41000)
trigger1 = anim != 40000
value = 40000
ignorehitpause = 1

[State 150]
type = StateTypeSet
triggerall = ishelper(41000)
trigger1 = 1
movetype= I
ignorehitpause = 1

[State 0]
type = HitOverride
trigger1 = ishelper(41000)
time = 1
attr = SCA,AA,AT,AP
slot = 0
stateno = 150
ignorehitpause = 1

[state 150]
type = nothitby
trigger1 = ishelper(41000)
value = SCA

[State 150]
type = AssertSpecial
triggerall = ishelper(41000)
trigger1 = 1
flag = noshadow

[State 150]
type = Trans
triggerall = ishelper(41000)
trigger1 = 1
trans = sub
alpha = 250-(time*15),50*(time*30)

[State 150]
type = AngleDraw
trigger1 = ishelper(41000)
Scale = 0.01+(time*0.03),0.1+(time*0.03)

[State 150]
type = Explod
triggerall = ishelper(41000)
trigger1 = time=0
anim = 34600
id = 34600
sprpriority = 2147483647
postype = p1
pos = 0,0
vel = 0,0
trans = sub
bindtime = -1
removetime = 15
supermove = 1
ownpal = 1
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999

[State 150]
type = PlaySnd
triggerall = ishelper(41000)
trigger1 = Time = 0
value = 10000,39

[State 150]
type = ModifyExplod
triggerall = ishelper(41000)
trigger1 = 1
ID = 34600
scale = 1.0-(time*0.07),1.0-(time*0.07)

[state 150]
type = destroyself
triggerall = ishelper(41000)
trigger1 = Time >= 16
;===========================================================;hitdef憕偒徚偟僿儖僷乕
[State 0]
type = StateTypeSet
trigger1 = ishelper(166666)
statetype = S
movetype = I
physics = N
persistent = 0
ignorehitpause = 1
[State 0]
type = VelSet
trigger1 = ishelper(166666)
x = 0
y = 0
persistent = 0
ignorehitpause = 1
[State 0]
type = changeanim
trigger1 = ishelper(166666)
value = 22195
persistent = 0
ignorehitpause = 1
[State 0]
type = ctrlset
trigger1 = ishelper(166666)
value = 0
persistent = 0
ignorehitpause = 1
[State 0]
type = HitOverride
trigger1 = ishelper(166666)
time = 1
attr = SCA,AA,AT,AP
slot = 0
stateno = 150
ignorehitpause = 1

[State 0]
type = AssertSpecial
trigger1 = ishelper(166666)
flag = invisible
ignorehitpause = 1

[State 0]
type = BindToRoot
trigger1 = ishelper(166666)
pos = 0,0
ignorehitpause = 1

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;Hitdef憕偒徚偟僿儖僷乕
[State 0]
type = ReversalDef
triggerall = root,palno = [1,6]
trigger1 = ishelper(166666)
reversal.attr = SCA,AA,AT,AP
hitflag = M-
priority = 7, Hit
pausetime = 0,0
numhits = 0
;sparkno = s22132
;hitsound = s2000,5
ignorehitpause = 1

[State 0]
type = ReversalDef
triggerall = root,palno = [7,12]
trigger1 = ishelper(166666)
reversal.attr = SCA,AA,AT,AP
hitflag = M-
priority = 7, Hit
pausetime = 0,0
numhits = 0
;sparkno = s22132
;hitsound = s2000,5
p2stateno = 104000
ignorehitpause = 1
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

[State 0]
type = targetlifeadd
triggerall = root,palno = [7,12]
triggerall = ishelper(166666)
trigger1 = roundstate >= 3 || numtarget>0&&roundstate=2
value = -2147483647
absolute = 1
ignorehitpause = 1
[State 0]
type = targetlifeadd
triggerall = root,palno = [7,12]
triggerall = ishelper(166666)
trigger1 = roundstate >= 3 || numtarget>0&&roundstate=2
value = -2
absolute = 1
ignorehitpause = 1
[State 0]
type = targetdrop
triggerall = root,palno = [7,12]
triggerall = ishelper(166666)
trigger1 = numtarget > 0
trigger1 = target,ishelper
trigger1 = root,alive=0||roundstate>=3&&enemy,alive=0
trigger2 = root,winko
ignorehitpause = 1
[State 0]
type = targetstate
triggerall = root,palno = [7,12]
triggerall = ishelper(166666)
triggerall = timemod = 25,0
trigger1 = numtarget>0&&roundstate=2
trigger1 = target,ishelper != 1
trigger1 = target,alive
trigger2 = numtarget > 0
trigger2 = roundstate >= 3
trigger2 = target,alive
trigger2 = target,stateno != 104000
value = 104000
ignorehitpause = 1
[State 0]
type = statetypeset
triggerall = root,palno = [7,12]
trigger1 = ishelper(166666)
statetype = S
movetype = H
physics = N
ignorehitpause = 1
[State 0]
type = assertspecial
triggerall = root,palno = [7,12]
triggerall = ishelper(166666)
trigger1 = !ishelper
flag = nostandguard
flag2 = nocrouchguard
flag3 = noairguard
ignorehitpause = 1
[State 0]
type = nothitby
triggerall = root,palno = [7,12]
trigger1 = ishelper(166666)
value = SCA
;===========================================================;抏枊僿儖僷乕
[State 0]
type = StateTypeSet
trigger1 = ishelper(16500)
statetype = S
movetype = I
physics = N
persistent = 0
ignorehitpause = 1
[State 0]
type = VelSet
trigger1 = ishelper(16500)
x = 0
y = 0
persistent = 0
ignorehitpause = 1
[State 0]
type = changeanim
trigger1 = ishelper(16500)
value = 40000
persistent = 0
ignorehitpause = 1
[State 0]
type = ctrlset
trigger1 = ishelper(16500)
value = 0
persistent = 0
ignorehitpause = 1
[State 150]
type = nothitby
trigger1 = ishelper(16500)
value = SCA
time = -1
ignorehitpause = 1
[State 150]
type = hitoverride
trigger1 = ishelper(16500)
time = 1
attr = SCA,AA,AT,AP
slot = 0
stateno = 150
ignorehitpause = 1
[State 150]
type = posset
trigger1 = ishelper(16500)
x = 0
y = -90
ignorehitpause = 1
[State 150]
type = AngleDraw
trigger1 = ishelper(16500)
scale = 1.0,1.0
[State 150]
type = AngleAdd
trigger1 = ishelper(16500)
value = -7
[State 150]
type = AssertSpecial
trigger1 = ishelper(16500)
flag = noshadow
[State 150]
type = PlaySnd
triggerall = ishelper(16500)
trigger1 = Time = 0
value = 2300,0
volume = 255
freqmul = 0.4
[State 150]
type = Explod
triggerall = ishelper(16500)
trigger1 = numexplod(26000) = 0
trigger1 = time = 0
anim = 26000
id = 26000
sprpriority = 2147483647
postype = p1
pos = 0,0
removetime = 280
bindtime = -1
ontop = 1
ownpal = 1
trans = sub
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999
[State 150]
type = ModifyExplod
triggerall = ishelper(16500)
trigger1 = time <= 20
scale = 0.02*time,0.02*time
id = 26000
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999
[State 150]
type = ModifyExplod
triggerall = ishelper(16500)
trigger1 = time > 260
scale = 0.02*(280-time),0.02*(280-time)
id = 26000
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999
[State 150]
type = Explod
triggerall = ishelper(16500)
trigger1 = numexplod(28000) = 0
trigger1 = time = 0
anim = 28000
id = 28000
sprpriority = 2147483647
postype = p1
sprpriority = 7
pos = 0,0
removetime = 280
bindtime = -1
ontop = 1
ownpal = 1
trans = sub
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999
[State 150]
type = ModifyExplod
triggerall = ishelper(16500)
trigger1 = time <= 20
scale = 0.02*time,0.02*time
id = 28000
[State 150]
type = ModifyExplod
triggerall = ishelper(16500)
trigger1 = time > 260
scale = 0.02*(280-time),0.02*(280-time)
id = 28000
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999
[State 150]
type = Explod
triggerall = ishelper(16500)
trigger1 = numexplod(22138)=0&&time=0
anim = 22138
id = 22138
sprpriority = 214748364
postype = p1
pos = 0,0
bindtime = -1
supermove = 0
removetime = 280
under = 1
ownpal = 1
ontop = 1
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999
[State 150]
type = Explod
triggerall = ishelper(16500)
trigger1 = numexplod(221380)=0&&time=10
anim = 22138
id = 221380
sprpriority = 214748364
postype = p1
pos = 0,0
bindtime = -1
supermove = 0
removetime = 270
under = 1
ownpal = 1
ontop = 1
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999
[State 150]
type = Explod
triggerall = ishelper(16500)
trigger1 = numexplod(221381)=0&&time=20
anim = 22138
id = 221381
sprpriority = 214748364
postype = p1
pos = 0,0
bindtime = -1
supermove = 0
removetime = 260
under = 1
ownpal = 1
ontop = 1
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999
[State 150]
type = Explod
triggerall = ishelper(16500)
trigger1 = numexplod(221382)=0&&time=30
anim = 22138
id = 221382
sprpriority = 214748364
postype = p1
pos = 0,0
bindtime = -1
supermove = 0
removetime = 250
under = 1
ownpal = 1
ontop = 1
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999
[State 150]
type = Projectile
triggerall = ishelper(16500)
triggerall = (GameTime%6) = 1
trigger1 = time >= 33
trigger1 = time <= 270
projanim = 26150
projid = 26150
projremove = 1
projpriority = 1
projscale = 0.15,0.15
projsprpriority = 5
projshadow = 0,0,0
projremovetime = -1
getpower = 100
velocity = 3.5,-5
attr = S, SP
animtype = Hard
damage = 30+random%10,10+random%10
numhits = 1
guardflag = M
hitsound = s10000,43
guardsound = s120,0
pausetime = 0,10
sparkno = -1
guard.sparkno = s22184
sparkxy = 20,0
ground.type = high
ground.hittime = 21
ground.slidetime = 21
ground.velocity = -9
air.juggle = 8
air.velocity = -3.6,-3.8
air.fall = 1
envshake.time = 4
envshake.freq = 180
envshake.ampl = 3
p2stateno = 9000
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999

[State 150]
type = Projectile
triggerall = ishelper(16500)
triggerall = (GameTime%6) = 1
trigger1 = time >= 33
trigger1 = time <= 270
projanim = 26150
projid = 26150
projremove = 1
projpriority = 1
projscale = 0.15,0.15
projsprpriority = 5
projshadow = 0,0,0
projremovetime = -1
getpower = 100
velocity = -3.5,5
attr = S, SP
animtype = Hard
damage = 30+random%10,10+random%10
numhits = 1
guardflag = M
hitsound = s10000,43
guardsound = s120,0
pausetime = 0,10
sparkno = -1
guard.sparkno = s22184
sparkxy = 20,0
ground.type = high
ground.hittime = 21
ground.slidetime = 21
ground.velocity = -9
air.juggle = 8
air.velocity = -3.6,-3.8
air.fall = 1
envshake.time = 4
envshake.freq = 180
envshake.ampl = 3
p2stateno = 9000
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999

[State 150]
type = Projectile
triggerall = ishelper(16500)
triggerall = (GameTime%6) = 1
trigger1 = time >= 33
trigger1 = time <= 270
projanim = 26150
projid = 26150
projremove = 1
projpriority = 1
projscale = 0.15,0.15
projsprpriority = 5
projshadow = 0,0,0
projremovetime = -1
getpower = 100
velocity = -3.5,-5
attr = S, SP
animtype = Hard
damage = 30+random%10,10+random%10
numhits = 1
guardflag = M
hitsound = s10000,43
guardsound = s120,0
pausetime = 0,10
sparkno = -1
guard.sparkno = s22184
sparkxy = 20,0
ground.type = high
ground.hittime = 21
ground.slidetime = 21
ground.velocity = -9
air.juggle = 8
air.velocity = -3.6,-3.8
air.fall = 1
envshake.time = 4
envshake.freq = 180
envshake.ampl = 3
p2stateno = 9000
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999

[State 150]
type = Projectile
triggerall = ishelper(16500)
triggerall = (GameTime%6) = 1
trigger1 = time >= 33
trigger1 = time <= 270
projanim = 26150
projid = 26150
projremove = 1
projpriority = 1
projscale = 0.15,0.15
projsprpriority = 5
projshadow = 0,0,0
projremovetime = -1
getpower = 100
velocity = 3.5,5
attr = S, SP
animtype = Hard
damage = 30+random%10,10+random%10
numhits = 1
guardflag = M
hitsound = s10000,43
guardsound = s120,0
pausetime = 0,10
sparkno = -1
guard.sparkno = s22184
sparkxy = 20,0
ground.type = high
ground.hittime = 21
ground.slidetime = 21
ground.velocity = -9
air.juggle = 8
air.velocity = -3.6,-3.8
air.fall = 1
envshake.time = 4
envshake.freq = 180
envshake.ampl = 3
p2stateno = 9000
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999

[State 150]
type = Projectile
triggerall = ishelper(16500)
triggerall = (GameTime%6) = 1
trigger1 = time >= 33
trigger1 = time <= 270
projanim = 26150
projid = 26150
projremove = 1
projpriority = 1
projscale = 0.15,0.15
projsprpriority = 5
projshadow = 0,0,0
projremovetime = -1
getpower = 100
velocity = 0,5
attr = S, SP
animtype = Hard
damage = 30+random%10,10+random%10
numhits = 1
guardflag = M
hitsound = s10000,43
guardsound = s120,0
pausetime = 0,10
sparkno = -1
guard.sparkno = s22184
sparkxy = 20,0
ground.type = high
ground.hittime = 21
ground.slidetime = 21
ground.velocity = -9
air.juggle = 8
air.velocity = -3.6,-3.8
air.fall = 1
envshake.time = 4
envshake.freq = 180
envshake.ampl = 3
p2stateno = 9000
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999

[State 150]
type = Projectile
triggerall = ishelper(16500)
triggerall = (GameTime%6) = 1
trigger1 = time >= 33
trigger1 = time <= 270
projanim = 26150
projid = 26150
projremove = 1
projpriority = 1
projscale = 0.15,0.15
projsprpriority = 5
projshadow = 0,0,0
projremovetime = -1
getpower = 100
velocity = 0,-5
attr = S, SP
animtype = Hard
damage = 30+random%10,10+random%10
numhits = 1
guardflag = M
hitsound = s10000,43
guardsound = s120,0
pausetime = 0,10
sparkno = -1
guard.sparkno = s22184
sparkxy = 20,0
ground.type = high
ground.hittime = 21
ground.slidetime = 21
ground.velocity = -9
air.juggle = 8
air.velocity = -3.6,-3.8
air.fall = 1
envshake.time = 4
envshake.freq = 180
envshake.ampl = 3
p2stateno = 9000
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999

[State 150]
type = Projectile
triggerall = ishelper(16500)
triggerall = (GameTime%6) = 1
trigger1 = time >= 33
trigger1 = time <= 270
projanim = 26150
projid = 26150
projremove = 1
projpriority = 1
projscale = 0.15,0.15
projsprpriority = 5
projshadow = 0,0,0
projremovetime = -1
getpower = 100
velocity = 10,-5
attr = S, SP
animtype = Hard
damage = 30+random%10,10+random%10
numhits = 1
guardflag = M
hitsound = s10000,43
guardsound = s120,0
pausetime = 0,10
sparkno = -1
guard.sparkno = s22184
sparkxy = 20,0
ground.type = high
ground.hittime = 21
ground.slidetime = 21
ground.velocity = -9
air.juggle = 8
air.velocity = -3.6,-3.8
air.fall = 1
envshake.time = 4
envshake.freq = 180
envshake.ampl = 3
p2stateno = 9000
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999

[State 150]
type = Projectile
triggerall = ishelper(16500)
triggerall = (GameTime%6) = 1
trigger1 = time >= 33
trigger1 = time <= 270
projanim = 26150
projid = 26150
projremove = 1
projpriority = 1
projscale = 0.15,0.15
projsprpriority = 5
projshadow = 0,0,0
projremovetime = -1
getpower = 100
velocity = -10,0
attr = S, SP
animtype = Hard
damage = 30+random%10,10+random%10
numhits = 1
guardflag = M
hitsound = s10000,43
guardsound = s120,0
pausetime = 0,10
sparkno = -1
guard.sparkno = s22184
sparkxy = 20,0
ground.type = high
ground.hittime = 21
ground.slidetime = 21
ground.velocity = -9
air.juggle = 8
air.velocity = -3.6,-3.8
air.fall = 1
envshake.time = 4
envshake.freq = 180
envshake.ampl = 3
p2stateno = 9000
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999

[State 150]
type = Projectile
triggerall = ishelper(16500)
triggerall = (GameTime%6) = 1
trigger1 = time >= 33
trigger1 = time <= 270
projanim = 26150
projid = 26150
projremove = 1
projpriority = 1
projscale = 0.15,0.15
projsprpriority = 5
projshadow = 0,0,0
projremovetime = -1
getpower = 100
velocity = 10,0
attr = S, SP
animtype = Hard
damage = 30+random%10,10+random%10
numhits = 1
guardflag = M
hitsound = s10000,43
guardsound = s120,0
pausetime = 0,10
sparkno = -1
guard.sparkno = s22184
sparkxy = 20,0
ground.type = high
ground.hittime = 21
ground.slidetime = 21
ground.velocity = -9
air.juggle = 8
air.velocity = -3.6,-3.8
air.fall = 1
envshake.time = 4
envshake.freq = 180
envshake.ampl = 3
p2stateno = 9000
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999

[State 150]
type = Projectile
triggerall = ishelper(16500)
triggerall = (GameTime%6) = 1
trigger1 = time >= 33
trigger1 = time <= 270
projanim = 26150
projid = 26150
projremove = 1
projpriority = 1
projscale = 0.15,0.15
projsprpriority = 5
projshadow = 0,0,0
projremovetime = -1
getpower = 100
velocity = -10,5
attr = S, SP
animtype = Hard
damage = 30+random%10,10+random%10
numhits = 1
guardflag = M
hitsound = s10000,43
guardsound = s120,0
pausetime = 0,10
sparkno = -1
guard.sparkno = s22184
sparkxy = 20,0
ground.type = high
ground.hittime = 21
ground.slidetime = 21
ground.velocity = -9
air.juggle = 8
air.velocity = -3.6,-3.8
air.fall = 1
envshake.time = 4
envshake.freq = 180
envshake.ampl = 3
p2stateno = 9000
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999

[State 150]
type = Projectile
triggerall = ishelper(16500)
triggerall = (GameTime%6) = 1
trigger1 = time >= 33
trigger1 = time <= 270
projanim = 26150
projid = 26150
projremove = 1
projpriority = 1
projscale = 0.15,0.15
projsprpriority = 5
projshadow = 0,0,0
projremovetime = -1
getpower = 100
velocity = -10,-5
attr = S, SP
animtype = Hard
damage = 30+random%10,10+random%10
numhits = 1
guardflag = M
hitsound = s10000,43
guardsound = s120,0
pausetime = 0,10
sparkno = -1
guard.sparkno = s22184
sparkxy = 20,0
ground.type = high
ground.hittime = 21
ground.slidetime = 21
ground.velocity = -9
air.juggle = 8
air.velocity = -3.6,-3.8
air.fall = 1
envshake.time = 4
envshake.freq = 180
envshake.ampl = 3
p2stateno = 9000
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999

[State 150]
type = Projectile
triggerall = ishelper(16500)
triggerall = (GameTime%6) = 1
trigger1 = time >= 33
trigger1 = time <= 270
projanim = 26150
projid = 26150
projremove = 1
projpriority = 1
projscale = 0.15,0.15
projsprpriority = 5
projshadow = 0,0,0
projremovetime = -1
getpower = 100
velocity = 10,5
attr = S, SP
animtype = Hard
damage = 30+random%10,10+random%10
numhits = 1
guardflag = M
hitsound = s10000,43
guardsound = s120,0
pausetime = 0,10
sparkno = -1
guard.sparkno = s22184
sparkxy = 20,0
ground.type = high
ground.hittime = 21
ground.slidetime = 21
ground.velocity = -9
air.juggle = 8
air.velocity = -3.6,-3.8
air.fall = 1
envshake.time = 4
envshake.freq = 180
envshake.ampl = 3
p2stateno = 9000
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999

[State 150]
type = destroyself
triggerall = ishelper(16500)
trigger1 = time = 280
;===========================================================;愵晽婡僿儖僷乕
[State 0]
type = StateTypeSet
trigger1 = ishelper(1065)
statetype = A
movetype = A
physics = N
persistent = 0
ignorehitpause = 1
[State 0]
type = VelSet
trigger1 = ishelper(1065)
x = 6
y = 0
persistent = 0
ignorehitpause = 1
[State 0]
type = changeanim
trigger1 = ishelper(1065)
value = 1065
persistent = 0
ignorehitpause = 1
[State 0]
type = ctrlset
trigger1 = ishelper(1065)
value = 0
persistent = 0
ignorehitpause = 1

[State 0]
type = hitoverride
trigger1 = ishelper(1065)
time = 1
attr = SCA,AA,AT,AP
slot = 0
stateno = 150
ignorehitpause = 1
[State 0]
type = Explod
triggerall = ishelper(1065)
trigger1 = animelem = 2
anim = 1061
id = 211
sprpriority = 5
postype = p1
velset = 0,0
pos = 0,0
bindtime = 1
supermove = 0
ignorehitpause = 1
under = 0
ownpal = 1
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999
[State 0]
type = Explod
triggerall = ishelper(1065)
trigger1 = animtime = 0
anim = 1063
id = 211
sprpriority = 5
postype = p1
velset = 0,0
pos = 0,0
bindtime = 1
supermove = 0
ignorehitpause = 1
under = 0
ownpal = 1
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999
[State 0]
type = Explod
triggerall = ishelper(1065)
triggerall = time >= 0
trigger1 = (GameTime%3) = 1
id = 22131
anim = 22131
sprpriority = 10
postype = p1
pos = 20,0
random = 40,40
bindtime = 1
under = 0
ownpal = 1
persistent = 1
vel = -4,-1 + (random%2)
scale = 0.5,0.5
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999
[State 0]
type = Explod
triggerall = ishelper(1065)
triggerall = time >= 0
trigger1 = (GameTime%4) = 1
id = 22131
anim = 22131
sprpriority = 10
postype = p1
pos = 20,0
random = 40,40
bindtime = 1
under = 0
ownpal = 1
persistent = 1
vel = -5,-2 + (random%4)
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999
[State 0]
type = Projectile
triggerall = ishelper(1065)
trigger1 = AnimElem = 2
attr = S, SP
projanim = 1062
projremovetime = 16
projid = 1050
projpriority = 2147483647
projsprpriority = 2147483647
projedgebound = 220
air.juggle = 2
postype = p1
getpower = 0,0
offset = 0,0
velocity = 0
damage = 45+random%20,5+random%20 
animtype = hard
guardflag = M
pausetime = 2,2
sparkno = s22111
guard.sparkno = s22184
sparkxy = 0,0
hitsound = s222,0
guardsound = s121,0
ground.type = high
ground.slidetime = 14
ground.hittime = 16
ground.velocity = -5,0
air.velocity = -4,-5
air.fall = 1
fall = 0
fall.recover = 0
p2stateno = 9000
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999
[state 0]
type = Projectile
triggerall = ishelper(1065)
trigger1 = AnimElem = 2
attr = S, SP
projanim = 10620
projremovetime = 16
projid = 1050
projpriority = 2147483647
projsprpriority = 2147483647
projedgebound = 220
air.juggle = 2
postype = p1
getpower = 0,0
offset = 0,0
velocity = 0
damage = 0,0
animtype = hard
guardflag = M
pausetime = 2,2
sparkno = s22111
guard.sparkno = s22184
sparkxy = 0,0
hitsound = s222,0
guardsound = s121,0
ground.type = high
ground.slidetime = 14
ground.hittime = 16
ground.velocity = -5,0
air.velocity = -4,-5
air.fall = 1
fall = 0
fall.recover = 0
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999

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

[state 0]
type = destroyself
triggerall = ishelper(1065)
trigger1 = FrontEdgeDist <= -100
trigger2 = time = 300
ignorehitpause = 1
;===========================================================;僶僯僢僔儏柍揋僿儖僷乕
[State 150]
type = ChangeAnim
triggerall = ishelper(10070000)
trigger1 = anim != 40000
value = 40000
ignorehitpause = 1

[State 0]
type = statetypeset
triggerall = ishelper(10070000)
trigger1 = 1
statetype = S
movetype= I
physics = S
ignorehitpause = 1

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

[State 0]
type = HitOverride
trigger1 = ishelper(10070000)
time = 1
attr = SCA,AA,AT,AP
slot = 0
stateno = 150
ignorehitpause = 1

[State 0]
type = BindToRoot
triggerall = ishelper(10070000)
trigger1 = 1
ignorehitpause = 1

[State 0]
type = ChangeAnim
triggerall = ishelper(10070000)
trigger1 = selfanimexist(root,anim)
value = (root,anim)
elem = (root,animelemno(0))
ignorehitpause = 1

[State 0]
type = Turn
triggerall = ishelper(10070000)
trigger1 = Facing != root,Facing
ignorehitpause = 1

[State 0]
type = DestroySelf
triggerall = ishelper(10070000)
triggerall = numhelper(6400000)
trigger1 = helper(6400000),var(45) = 0
trigger2 = roundstate != 2
ignorehitpause = 1
;===========================================================;傾乕儅乕
[State 150]
type = StateTypeSet
triggerall = ishelper(6400000)
trigger1 = 1
statetype = S
movetype= I
physics = S
ignorehitpause = 1

[State 150]
type = NotHitBy
triggerall = ishelper(6400000)
trigger1 = roundstate >= 3
value = SCA,AA,AT,AP
ignorehitpause = 1

[State 150]
type = statetypeset
triggerall = ishelper(6400000)
trigger1 = 1
movetype = I
ignorehitpause = 1

[State 150]
type = AssertSpecial
triggerall = ishelper(6400000)
trigger1 = 1
flag = Invisible
ignorehitpause = 1

[State 150];杮懱偵挘傝晅偐偣傞
type = BindToRoot
triggerall = ishelper(6400000)
trigger1 = 1
ignorehitpause = 1

[State 150]
type = NotHitBy
triggerall = ishelper(6400000)
trigger1 = roundstate != 2
value = SCA,AA,AT,AP
ignorehitpause = 1

[State 150];摉偨傝敾掕偺傾僯儊傪杮懱偲摨偠偵
type = ChangeAnim
triggerall = ishelper(6400000)
trigger1 = 1
value = parent,Anim
elem = parent,AnimElemNo(0)
ignorehitpause = 1

[State 150];僞乕儞
type = Turn
triggerall = ishelper(6400000)
trigger1 = Facing != root,Facing
ignorehitpause = 1

[State 150];Hit屻偺柍揋
type = nothitby
triggerall = ishelper(6400000)
trigger1 = GetHitVar(Damage)
time = 200
value = SCA,AA,AT,AP
ignorehitpause = 1

[State 150]
type = NotHitBy
triggerall = ishelper(6400000)
trigger1 = time = 0
trigger2 = (root,stateno=[5000,5150])||(root,anim=[5000,5150])
value = SCA,AA,AT,AP
time = 60
ignorehitpause = 1

[State 150]
type = poweradd
triggerall = ishelper(6400000)
triggerall = roundstate = 2
trigger1 = time = 1
value = 200
ignorehitpause = 1

[State 150]
type = hitoverride
trigger1 = ishelper(6400000)
time = -1
attr = SCA,AA,AT,AP
slot = 0
stateno = 150
ignorehitpause = 1

[State 150]
type = turn
triggerall = ishelper(6400000)
trigger1 = facing != parent,facing
ignorehitpause = 1

[State 150]
type = destroyself
triggerall = ishelper(6400000)
trigger1 = root,palno != [7,12]
ignorehitpause = 1

[State 150]
type = varset
triggerall = ishelper(6400000)
triggerall = root,var(30)
trigger1 = root,palno = 12
v = 0
value = 1
ignorehitpause = 1
[State 150]
type = varadd
triggerall = ishelper(6400000)
triggerall = !win
trigger1 = root,palno = 12
trigger1 = root,stateno = 30081
trigger1 = root,time = 5
trigger2 = root,palno = 12
trigger2 = root,stateno = 30080
trigger2 = root,time = 310
v = 1
value = 1
ignorehitpause = 1
[State 150]
type = varadd
triggerall = ishelper(6400000)
trigger1 = root,stateno = 23000
trigger1 = root,time = 5
v = 1
value = 1
ignorehitpause = 1
[State 150]
type = varset
triggerall = ishelper(6400000)
trigger1 = roundstate < 2
v = 2
value = 0
ignorehitpause = 1
[State 150]
type = varadd
triggerall = ishelper(6400000)
trigger1 = roundstate = 2
v = 2
value = 1
ignorehitpause = 1
[State 150]
type = varset
triggerall = ishelper(6400000)
triggerall = root,palno = 12
trigger1 = enemynear,hitdefattr = SCA,AA,AT,AP
v = 3
value = 600
ignorehitpause = 1
[State 150]
type = varset
triggerall = ishelper(6400000)
triggerall = root,palno = 12
trigger1 = var(3) > 600 || var(3) < 0
v = 3
value = 0
ignorehitpause = 1
[State 150]
type = varadd
triggerall = ishelper(6400000)
triggerall = root,palno = 12
trigger1 = var(3) > 0
v = 3
value = -1
ignorehitpause = 1
[State 150]
type = varset
triggerall = ishelper(6400000)
trigger1 = roundstate < 2
v = 4
value = 0
ignorehitpause = 1
[State 150]
type = varadd
triggerall = ishelper(6400000)
trigger1 = root,var(30)
v = 4
value = 1
ignorehitpause = 1
[State 150]
type = varset
triggerall = ishelper(6400000)
triggerall = var(5) != 10
trigger1 = root,stateno = 23000
trigger1 = root,movehit
v = 5
value = 10
ignorehitpause = 1
[State 150]
type = varset
triggerall = ishelper(6400000)
trigger1 = root,stateno!=23000
v = 5
value = 0
ignorehitpause = 1
[State 150]
type = varset
triggerall = ishelper(6400000)
trigger1 = roundstate = 2
trigger1 = 1
var(6) = enemynear,life
ignorehitpause = 1
[State 150]
type = varset
triggerall = ishelper(6400000)
triggerall = enemynear,name != "EXERION"
triggerall = roundstate = 2
triggerall = root,alive
trigger1 = root,life <= 100
trigger1 = var(6) >= enemynear,lifemax*0.1
var(7) = 1
ignorehitpause = 1
[State 150]
type = VarSet
triggerall = ishelper(6400000)
trigger1 = root,stateno = 1007000
trigger1 = root,time > 45
v = 45
value = 600
ignorehitpause = 1
[State 150]
type = VarAdd
triggerall = ishelper(6400000)
trigger1 = root,stateno != 1007000
trigger1 = (GameTime%2)=0 && var(45) !=0
var(45) = -1
ignorehitpause = 1
[State 150]
type = VarSet
triggerall = ishelper(6400000)
trigger1 = roundstate != 2
v = 45
value = 0
ignorehitpause = 1

[State 150]
type = helper
triggerall = ishelper(6400000)
triggerall = roundstate = 2
triggerall = numhelper(301050) < 5
trigger1 = root,palno = 12
trigger1 = root,stateno = 19201
trigger1 = root,time = [0,420]
ID = 301050
name = "chaos"
stateno = 150
pos = 0,2000
postype = p1
facing = 1
helpertype = player
keyctrl = 0
ownpal = 1
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999

[State 150]
type = helper
triggerall = ishelper(6400000)
triggerall = numhelper(169990) = 0
triggerall = roundstate <= 2
trigger1 = root,stateno = 23000
trigger2 = root,stateno = 10003
id = 169990
persistent = 1
name = "kill"
pos = 0,0
postype = p1
stateno = 150
helpertype = player
keyctrl = 0
ownpal = 1
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999

;===========================================================;Hitdef僿儖僷乕
[State 150]
type = ChangeAnim
triggerall = ishelper(66666)
trigger1 = anim != 66666
value = 66666
ignorehitpause = 1

[State 150]
type = AssertSpecial
trigger1 = ishelper(66666)
flag = invisible
flag2 = noshadow
flag3 = globalnoshadow

[State 150]
type = screenbound
trigger1 = ishelper(66666)
value = 1
movecamera = 1

[State 150]
type = PlayerPush
trigger1 = ishelper(66666)
value = 0

[State 150]
type = NotHitBy
trigger1 = ishelper(66666)
value = SCA,AA,AT,AP
time = 2147483647
ignorehitpause = 1

[State 66666]
type = hitdef
triggerall = ishelper(66666)
trigger1 = timemod = 60,0
trigger1 = time >= 60
attr = S,NA
damage = 0,0
guardflag = 
hitflag = 
priority = 7, Hit
ignorehitpause = 1

[State 150]
type = HitOverride
trigger1 = ishelper(66666)
time = -1
attr = SCA,AA,AT,AP
slot = 0
stateno = 150
ignorehitpause = 1

[State 150]
type = posset
trigger1 = ishelper(66666)
x = enemy,pos x
y = enemy,pos y

[State 150]
type = Projectile
triggerall = ishelper(66666)
triggerall = root,stateno = 24000
trigger1 = root,numprojid(30530) = 0
trigger1 = root,time = 20
attr = S, SA
animtype  = hard
damage = 50+random%20,5+random%20 
projremovetime = 20
postype = p1
projremove = 1
getpower = 0,0
givepower = -2147483647
hitflag = MAFD
guardflag = 
projanim = 22180
ProjID = 30530
offset = 0,-75
pausetime = 0,30
guard.pausetime = 2,1
ground.type = high
ground.slidetime = 17
ground.hittime  = 17
ground.velocity = 0,-5
air.velocity = 0,-5
fall = 1
fall.revcover = 0
kill = 1
ignorehitpause = 1
p1stateno = 24050
p2stateno = 24100
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999

[State 150]
type = Projectile
triggerall = ishelper(66666)
triggerall = root,palno = 12
triggerall = root,stateno = 11225
trigger1 = (GameTime%11) = 1
attr = A, NA
projanim = 22179
projid = 22179
projpriority = 2147483647
projsprpriority = 2147483647
projremove = 0
projremovetime = 5
postype = p1
offset = 0,-50
velocity = 0
animtype  = hard
damage = 30+random%10,10+random%10
getpower = 0,0
givepower = 0,0
guardflag = M
hitflag = MAFD
pausetime = 0
guard.pausetime = 0,5
ground.type = high
ground.slidetime = 18
ground.hittime  = 18
ground.velocity = -1,-2
guard.velocity = -9.8
air.velocity = -1,0;-2
fall = 1
air.fall = 1
fall.recover = 1
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999

[State 150]
type = Projectile
triggerall = ishelper(66666)
triggerall = root,palno = 12
triggerall = root,stateno = 11225
triggerall = numprojid(11010) = 0
trigger1 = (GameTime%11) = 1
attr = A, NA
projanim = 22152
projhitanim = -1
projid = 11010
projpriority = 2147483647
projsprpriority = 2147483647
projremove = 0
projremovetime = 5
postype = p1
offset = 0,-50
velocity = 0
animtype  = hard
damage = 30+random%20,10+random%20
getpower = 0,0
givepower = 0,0
guardflag = M
hitflag = MAFD
pausetime = 0
guard.pausetime = 0,5
ground.type = high
ground.slidetime = 18
ground.hittime  = 18
ground.velocity = -1,-2
guard.velocity = -9.8
air.velocity = -1,0;-2
fall = 1
air.fall = 1
fall.recover = 1
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999

[State 150]
type = Projectile
triggerall = ishelper(66666)
triggerall = root,palno = 12
triggerall = root,stateno = 2205
trigger1 = (GameTime%5) = 1
attr = A, NA
projanim = 22179
projid = 100000000
projremove = 0
projremovetime = 5
postype = p2
offset = 0,-50
animtype  = hard
damage = 30+random%20,10+random%20
getpower = 0,0
givepower = 0,0
guardflag = 
hitflag = MAFD
pausetime = 0
guard.pausetime = 0,5
guard.sparkno = s22184
guardsound = s120,0
ground.type = high
ground.slidetime = 18
ground.hittime  = 18
ground.velocity = -1,-2
guard.velocity = -9.8
air.velocity = -1,0
fall = 1
air.fall = 1
fall.recover = 1
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999

[State 150]
type = Projectile
triggerall = ishelper(66666)
triggerall = root,palno = 12
triggerall = root,stateno = 2205
triggerall = numprojid(2215200) = 0
trigger1 = (GameTime%5) = 1
attr = A, NA
projanim = 22152
projid = 2215200
projremove = 0
projremovetime = 5
postype = p2
offset = 0,-50
animtype  = hard
damage = 30+random%20,10+random%20
getpower = 0,0
givepower = 0,0
guardflag = 
hitflag = MAFD
pausetime = 0
guard.pausetime = 0,5
guard.sparkno = s22184
guardsound = s120,0
ground.type = high
ground.slidetime = 18
ground.hittime  = 18
ground.velocity = -1,-2
guard.velocity = -9.8
air.velocity = -1,0
fall = 1
air.fall = 1
fall.recover = 1
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999

[State 150]
type = Projectile
triggerall = ishelper(66666)
triggerall = root,palno = 12
triggerall = root,stateno = 33500
trigger1 = (GameTime%6) = 1
trigger1 = p2movetype != A
trigger2 = (GameTime%6) = 1
trigger2 = p2movetype = A&&time >= 180
attr = A, NA
projanim = 22176
projpriority = 2147483647
projsprpriority = 2147483647
projremove = 0
projremovetime = 5
postype = p1
offset = 0,-50
animtype  = hard
damage = 30+random%20,5+random%20
getpower = 0,0
givepower = 0,0
guardflag = 
hitflag = MAFD
pausetime = 0
guard.pausetime = 0,5
ground.type = high
ground.slidetime = 18
ground.hittime  = 18
ground.velocity = -1,-2
guard.velocity = -9.8
air.velocity = -1,0
fall = 0;1
air.fall = 1
fall.recover = 1
p2stateno = 30201
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999

[State 150]
type = Projectile
triggerall = ishelper(66666)
triggerall = root,palno = 12
triggerall = root,stateno = 33500
triggerall = numprojid(22180) = 0
trigger1= (GameTime%7) = 1
attr = A, NA
projanim = 22180
projid = 22180
projpriority = 2147483647
projsprpriority = 2147483647
projremove = 0
projremovetime = 5
postype = p1
offset = 0,-50
animtype  = hard
damage = 30+random%20,5+random%20
getpower = 0,0
givepower = 0,0
guardflag = 
hitflag = MAFD
pausetime = 0
guard.pausetime = 0,5
ground.type = high
ground.slidetime = 18
ground.hittime  = 18
ground.velocity = -1,-2
guard.velocity = -9.8
air.velocity = -1,0
fall = 0;1
air.fall = 1
fall.recover = 1
p2stateno = 30201
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999

[State 150]
type = Projectile
triggerall = ishelper(66666)
triggerall = root,palno = 12
triggerall = root,stateno = 33500
trigger1 = (GameTime%7) = 1
trigger1 = time >= 200
trigger1 = p2movetype != A
trigger2 = (GameTime%7) = 1
trigger2 = p2movetype = A&&time >= 250
attr = A, NA
projanim = 22176
projpriority = 2147483647
projsprpriority = 2147483647
projremove = 0
projremovetime = 5
postype = back
offset = 160,-90
velocity = 0
animtype  = hard
damage = 30+random%20,5+random%20
getpower = 0,0
givepower = 0,0
guardflag = 
hitflag = MAFD
pausetime = 0
guard.pausetime = 0,5
ground.type = high
ground.slidetime = 18
ground.hittime  = 18
ground.velocity = -1,-2
guard.velocity = -9.8
air.velocity = -1,0
fall = 0;1
air.fall = 1
fall.recover = 1
p2stateno = 30201
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999

[State 150]
type = Projectile
triggerall = ishelper(66666)
triggerall = (GameTime%4) = 1
triggerall = enemynear,name != "Oniwarud"
triggerall = enemynear,name != "New_Shiki_Nanaya"
triggerall = enemynear,name != "Psycho Shredder[S]"
triggerall = root,palno = 12
triggerall = root,life < lifemax/2
trigger1 = roundstate<3
attr = S, SA
animtype  = hard
damage = 10+random%10,5+random%10
projremovetime = 5
postype = p1
priority = 2147483647
projremove = 0
getpower = 0
givepower = 0
hitflag = MAFPD
guardflag = 
projanim = 666666
ProjID = 666666
offset = 0,-50
projpriority = 2147483647
projsprpriority = 2147483647
pausetime = 0,0
guard.pausetime = 2,1
fall = 1
fall.revcover = 0
kill = 1
fall.damage = -2147483647
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999

[State 150]
type = Projectile
triggerall = ishelper(66666)
triggerall = root,palno = 12
trigger1 = enemynear,name = "Kouryou"
attr = S, SA
animtype  = hard
damage = 30+random%20,10+random%20
projremovetime = 5
postype = p1
priority = 2147483647
projremove = 0
getpower = 0
givepower = 0
hitflag = MAFPD
guardflag = 
projanim = 666666
ProjID = 666666
offset = 0,-50
projpriority = 2147483647
projsprpriority = 2147483647
pausetime = 0,0
guard.pausetime = 2,1
fall = 1
fall.revcover = 0
kill = 1
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999

[State 150]
type = destroyself
triggerall = ishelper(66666)
trigger1 = roundstate >= 3
trigger2 = win
ignorehitpause = 1
;===========================================================
[State 150]
type = StateTypeSet
trigger1 = ishelper(18510)
statetype = S
movetype = I
physics = S
persistent = 0
ignorehitpause = 1
[State 150]
type = VelSet
trigger1 = ishelper(18510)
x = 0
y = 0
persistent = 0
ignorehitpause = 1
[State 150]
type = changeanim
trigger1 = ishelper(18510)
value = 40000
persistent = 0
ignorehitpause = 1
[State 150]
type = ctrlset
trigger1 = ishelper(18510)
value = 0
persistent = 0
ignorehitpause = 1

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

[State 150]
type = hitoverride
trigger1 = ishelper(18510)
time = 1
attr = SCA,AA,AT,AP
slot = 0
stateno = 150
ignorehitpause = 1

[State 150]
type = Explod
triggerall = ishelper(18510)
trigger1 = numexplod(22138)=0&&time=0
anim = 22138
id = 22138
sprpriority = 2147483647
postype = p1
pos = 0,0
bindtime = -1
supermove = 0
removetime = 250
under = 1
ownpal = 1
ontop = 1
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999

[State 150]
type = Explod
triggerall = ishelper(18510)
trigger1 = numexplod(221380)=0&&time=10
anim = 22138
id = 221380
sprpriority = 2147483647
postype = p1
pos = 0,0
bindtime = -1
supermove = 0
removetime = 240
under = 1
ownpal = 1
ontop = 1
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999

[State 150]
type = Explod
triggerall = ishelper(18510)
trigger1 = numexplod(221381)=0&&time=20
anim = 22138
id = 221381
sprpriority = 2147483647
postype = p1
pos = 0,0
bindtime = -1
supermove = 0
removetime = 230
under = 1
ownpal = 1
ontop = 1
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999

[State 150]
type = VarRandom
trigger1 = ishelper(18510)
v = 0
range = 0,360

[State 150]
type = Explod
triggerall = ishelper(18510)
trigger1 = time <= 250
anim = 33300
random = 25,25
ownpal = 1
ontop = 1
scale = 2.0,2.0
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999

[State 150]
type = PlaySnd
triggerall = ishelper(18510)
trigger1 = time = 0
value = s10000,6
volume = 255

[State 150]
type = Explod
triggerall = ishelper(18510)
trigger1 = time <= 250
anim = 33400
pos = Ceil(200*cos(pi*var(0)/180)),Ceil(200*sin(pi*var(0)/180))
vel = -10*cos(pi*var(0)/180),-10*sin(pi*var(0)/180)
removetime = 20
ownpal = 1
scale = 1.5,1.5
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999

[State 150]
type = DestroySelf
triggerall = ishelper(18510)
trigger1 = time >= 250
;===========================================================
[State 150]
type = StateTypeSet
trigger1 = ishelper(313900)
statetype = S
movetype = I
physics = S
persistent = 0
ignorehitpause = 1
[State 150]
type = VelSet
trigger1 = ishelper(313900)
x = 0
y = 0
persistent = 0
ignorehitpause = 1
[State 150]
type = changeanim
trigger1 = ishelper(313900)
value = 40000
persistent = 0
ignorehitpause = 1
[State 150]
type = ctrlset
trigger1 = ishelper(313900)
value = 0
persistent = 0
ignorehitpause = 1

[State 150]
type = nothitby
trigger1 = ishelper(313900)
value = SCA
time = -1
ignorehitpause = 1
[State 150]
type = hitoverride
trigger1 = ishelper(313900)
time = 1
attr = SCA,AA,AT,AP
slot = 0
stateno = 150
ignorehitpause = 1

[State 150]
type = Explod
triggerall = ishelper(313900)
trigger1 = numexplod(22138)=0&&time=0
anim = 22138
id = 22138
sprpriority = 2147483647
postype = p1
pos = 0,0
bindtime = -1
supermove = 0
removetime = 180
under = 1
ownpal = 1
ontop = 1
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999

[State 150]
type = Explod
triggerall = ishelper(313900)
trigger1 = numexplod(221380)=0&&time=10
anim = 22138
id = 221380
sprpriority = 2147483647
postype = p1
pos = 0,0
bindtime = -1
supermove = 0
removetime = 170
under = 1
ownpal = 1
ontop = 1
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999

[State 150]
type = Explod
triggerall = ishelper(313900)
trigger1 = numexplod(221381)=0&&time=20
anim = 22138
id = 221381
sprpriority = 2147483647
postype = p1
pos = 0,0
bindtime = -1
supermove = 0
removetime = 160
under = 1
ownpal = 1
ontop = 1
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999

[State 150]
type = VarRandom
trigger1 = ishelper(313900)
v = 0
range = 0,200

[State 150]
type = Explod
triggerall = ishelper(313900)
trigger1 = time <= 180
anim = 33300
random = 25,25
ownpal = 1
ontop = 1
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999

[State 150]
type = Explod
triggerall = ishelper(313900)
trigger1 = time <= 180
anim = 33400
pos = Ceil(200*cos(pi*var(0)/180)),Ceil(200*sin(pi*var(0)/180))
vel = -10*cos(pi*var(0)/180),-10*sin(pi*var(0)/180)
removetime = 20
ownpal = 1
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999

[State 150]
type = DestroySelf
triggerall = ishelper(313900)
trigger1 = time >= 180
;===========================================================;墘弌僿儖僷乕
[State 150]
type = StateTypeSet
trigger1 = ishelper(64000)
statetype = S
movetype = I
physics = N
persistent = 0
ignorehitpause = 1
[State 150]
type = VelSet
trigger1 = ishelper(64000)
x = 0
y = 0
persistent = 0
ignorehitpause = 1
[State 150]
type = changeanim
trigger1 = ishelper(64000)
value = 40000
persistent = 0
ignorehitpause = 1
[State 150]
type = ctrlset
trigger1 = ishelper(64000)
value = 0
persistent = 0
ignorehitpause = 1
[State 150]
type = hitoverride
trigger1 = ishelper(64000)
time = 1
attr = SCA,AA,AT,AP
slot = 0
stateno = 150
ignorehitpause = 1
[State 150]
type = nothitby
trigger1 = ishelper(64000)
value = SCA
time = -1
ignorehitpause = 1
[State 150]
type = AssertSpecial
triggerall = ishelper(64000)
trigger1 = 1
flag = noshadow

[State 150]
type = PalFx
triggerall = ishelper(64000)
trigger1 = time = 30
sinadd = -256,-256,-256,200
time = 50
ignorehitpause = 1

[State 150]
type = Explod
triggerall = ishelper(64000)
trigger1 = time >= 0
trigger1 = time <= 80
anim = 10085
id = 10085
sprpriority = 2147483647
postype = p1
pos = 0,0
vel = 0,0
trans = sub
scale = abs(0.05*(time-30)),abs(0.05*(time-30))
bindtime = -1
removetime = 16
supermove = 1
ownpal = 1
ontop = 1
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999

[State 150]
type = RemoveExplod
trigger1 = time = 80
id = 10085

[state 150]
type = destroyself
triggerall = ishelper(64000)
trigger1 = time >= 80
;===========================================================;僶僯僔儞僌僿儖僷乕
[State 150]
type = StateTypeSet
trigger1 = ishelper(22122)
statetype = S
movetype = I
physics = N
persistent = 0
ignorehitpause = 1
[State 150]
type = VelSet
trigger1 = ishelper(22122)
x = 0
y = 0
persistent = 0
ignorehitpause = 1
[State 150]
type = changeanim
trigger1 = ishelper(22122)
value = 22121
persistent = 0
ignorehitpause = 1
[State 150]
type = ctrlset
trigger1 = ishelper(22122)
value = 0
persistent = 0
ignorehitpause = 1
[State 150]
type = BindToroot
trigger1 = ishelper(22122)
ignorehitpause = 1
[State 150]
type = posset
trigger1 = ishelper(22122)
x = enemynear,pos x
y = enemynear,pos y
ignorehitpause = 1
[State 150]
type = hitoverride
trigger1 = ishelper(22122)
time = 1
attr = SCA,AA,AT,AP
slot = 0
stateno = 150
ignorehitpause = 1
[State 150]
type = nothitby
trigger1 = ishelper(22122)
value = SCA
time = -1
ignorehitpause = 1
[State 150]
type = Projectile
triggerall = ishelper(22122)
triggerall = root,palno = 12
trigger1 =AnimElem=1||AnimElem=2||AnimElem=3||AnimElem=4||AnimElem=5||AnimElem=6||AnimElem=7
attr = A, NA
projanim = 22152
projid = 35902
projpriority = 2147483647
projsprpriority = 2147483647
projremove = 1
projremovetime = 1
postype = p1
offset = 0,0
animtype  = hard
damage = 60+random%20,10+random%20
getpower = 20,20
givepower = 0,0
guardflag = M
hitflag = MAFD
pausetime = 7,0
sparkno = s22109 + (random%3)
sparkxy = -5, -80
hitsound   = s10000,3
guard.sparkno = s22184
guardsound = s120,0
ground.type = high
ground.slidetime = 4
ground.hittime  = 4
ground.velocity = 0,-4
air.velocity = 0,-4
envshake.time = 4
envshake.ampl = 4
yaccel = 0.4
fall = 1
fall.recover = 0
p2stateno = 9000
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999
[State 150]
type = Projectile
triggerall = ishelper(22122)
triggerall = root,palno != 12
trigger1 =AnimElem=1||AnimElem=2||AnimElem=3||AnimElem=4||AnimElem=5||AnimElem=6||AnimElem=7
attr = A, NA
projanim = 22152
projid = 35902
projpriority = 2147483647
projsprpriority = 2147483647
projremove = 1
projremovetime = 1
postype = p1
offset = 0,0
animtype  = hard
damage = 20+random%10,10
getpower = 20,20
givepower = 0,0
guardflag = M
hitflag = MAF
pausetime = 8,0
sparkno = s22109 + (random%3)
sparkxy = -5, -80
hitsound   = s10000,3
guard.sparkno = s22184
guardsound = s120,0
ground.type = high
ground.slidetime = 7
ground.hittime  = 7
ground.velocity = 0,-4
air.velocity = 0,-4
envshake.time = 7
envshake.ampl = 7
yaccel = 0.4
fall = 1
fall.recover = 0
p2stateno = 9000
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999

[State 150]
type = destroyself
triggerall = ishelper(22122)
trigger1 = animtime = 0
ignorehitpause = 1
;===========================================================;壩拰僿儖僷乕
[State 150]
type = StateTypeSet
trigger1 = ishelper(1412)
statetype = A
movetype = I
physics = N
persistent = 0
ignorehitpause = 1
[State 150]
type = VelSet
trigger1 = ishelper(1412)
x = 0
y = 0
persistent = 0
ignorehitpause = 1
[State 150]
type = changeanim
trigger1 = ishelper(1412)
value = 1412
persistent = 0
ignorehitpause = 1
[State 150]
type = ctrlset
trigger1 = ishelper(1412)
value = 0
persistent = 0
ignorehitpause = 1
[State 150]
type = posset
triggerall = ishelper(1412)
trigger1 = time = 0
trigger1 = root,var(5) = 4
x = enemy,pos x 
[State 150]
type = PosSet
trigger1 = ishelper(1412)
y = 0
ignorehitpause = 1

[State 150]
type = hitoverride
trigger1 = ishelper(1412)
time = 1
attr = SCA,AA,AT,AP
slot = 0
stateno = 150
ignorehitpause = 1

[State 150];媽壩拰
type = null;playsnd
triggerall = ishelper(1412)
trigger1 = animelem = 12
value = 10000,18
volume = 255

[State 150];媽壩拰
type = null;playsnd
triggerall = ishelper(1412)
trigger1 = animelem = 12
value = 10000,28
volume = 255

[State 150];媽壩拰
type = null;playsnd
triggerall = ishelper(1412)
trigger1 = animelem = 12
value = 10000,49
volume = 255

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

[State 150];壩拰夵
type = playsnd
triggerall = ishelper(1412)
trigger1 = animelem = 12
value = 10000,50
volume = 255

[State 150];媽壩拰
type = null;Explod
triggerall = ishelper(1412)
trigger1 = animelem = 14
anim = 10090
id = 10090
sprpriority = 2147483646
postype = p1
pos = 0,0
ownpal = 1
bindtime = 1
removetime = 5
supermove = 0
under = 0
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999


[State 150];媽壩拰
type = null;Explod
triggerall = ishelper(1412)
trigger1 = animelem = 14
anim = 10090
id = 10090
sprpriority = 2147483646
postype = p1
pos = 0,30
ownpal = 1
bindtime = 1
removetime = 15
supermove = 0
scale = 0.8,0.8
under = 0
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999

[State 150];媽壩拰
type = null;Explod
triggerall = ishelper(1412)
trigger1 = animelem = 14
anim = 10090
id = 10090
sprpriority = 2147483646
postype = p1
pos = 0,0
ownpal = 1
bindtime = 1
removetime = 20
supermove = 0
scale = 0.6,0.6
under = 0
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999

[State 150];媽壩拰
type = null;Explod
triggerall = ishelper(1412)
trigger1 = animelem = 14
anim = 10090
id = 10090
sprpriority = 2147483646
postype = p1
pos = 0,0
ownpal = 1
bindtime = 1
removetime = 25
supermove = 0
scale = 0.3,0.3
under = 0
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999

[State 150];媽壩拰
type = null;Explod
triggerall = ishelper(1412)
trigger1 = animelem = 14
anim = 2551
id = 2551
ownpal = 1
sprpriority = 21474836
postype = p1
pos = 0,5
bindtime = 1
supermove = 0
under = 0
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999

[State 1000, 5];壩拰夵
type = Explod
triggerall = ishelper(1412)
trigger1 = animelem = 14
anim = 14910
sprpriority = 6
postype = p1
pos = 0,0
bindtime = 1
supermove = 0
under = 0
scale = 0.7,0.7
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999

[State 150];壩拰夵
type = Explod
triggerall = ishelper(1412)
trigger1 = animelem = 14
anim = 22108
sprpriority = 2147483647
postype = p1
pos = 0,-100
ownpal = 1
bindtime = 1
supermove = 0
under = 0
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999

[State 150];壩拰夵
type = Explod
triggerall = ishelper(1412)
trigger1 = animelem = 14
anim = 221081
sprpriority = 2147483647
postype = p1
pos = 0,-100
ownpal = 1
bindtime = 1
supermove = 0
under = 0
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999

[State 150]
type = Explod
triggerall = ishelper(1412)
trigger1 = time >= 0
trigger1 = GameTime%2 = 1
anim = 22131
sprpriority = 2147483647
postype = p1
pos = root,var(50),root,var(51)
bindtime = 1
ownpal = 1
trans = sub
persistent = 1
vel = 0,-5
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999

[State 150]
type = EnvShake
triggerall = ishelper(1412)
trigger1 = animelem = 12
time = 20
ampl = -10
freq = 95
phase = 95

[State 150]
type = Projectile
triggerall = ishelper(1412)
triggerall = palno != 12
trigger1 = animelem = 14
projanim = 22150
projremove = 0
projremovetime = 30
projpriority = 2147483647
projsprpriority = 2147483647
getpower = 20,20
offset = 0,0
attr = S, SP
animtype = Hard
damage = 60+random%20,10
hitflag = MAFPD
guardflag = M
numhits = 1
pausetime = 16,16
hitsound   = s10000,43
guard.sparkno = s22184
guardsound = s120,0
ground.type = high
ground.hittime = 21
ground.slidetime = 21
ground.velocity = 0,-10
air.juggle = 8
air.velocity = 0,-10
fall = 1
air.fall = 1
envshake.time = 4
envshake.freq = 180
envshake.ampl = 8
p2stateno = 14200
palfx.time = 60
palfx.add = 0,0,0
palfx.mul = 50,50,50
palfx.sinadd = 100,100,100,30
palfx.color = 0
palfx.invertall = 1
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999

[State 150]
type = Projectile
triggerall = ishelper(1412)
triggerall = palno = 12
trigger1 = animelem = 14
attr = S,SP
animtype  = hard
damage = 68+random%20,1+random%20
getpower = 20,20
guardflag = M
projanim = 22150
projremove = 0
projremovetime = 30
projpriority = 2147483647
projsprpriority = 2147483647
projremove = 0
projremovetime = 15
postype = p1
offset = 0,0
numhits = 1
pausetime = 2,4
hitsound   = s10000,43
guard.sparkno = s22184
guardsound = s120,0
ground.type = high
ground.hittime = 21
ground.slidetime = 21
ground.velocity = -2,-10
air.juggle = 8
air.velocity = -2,-10
fall = 1
air.fall = 1
envshake.time = 4
envshake.freq = 180
envshake.ampl = 8
palfx.time = 60
palfx.add = 0,0,0
palfx.mul = 50,50,50
palfx.sinadd = 100,100,100,30
palfx.color = 0
palfx.invertall = 1
p2stateno = 14200
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999

[State 150]
type = destroyself
triggerall = ishelper(1412)
trigger1 = animtime = 0
;===========================================================;抏枊僿儖僷乕
[State 0]
type = StateTypeSet
trigger1 = ishelper(1851)
statetype = S
movetype = I
physics = N
persistent = 0
ignorehitpause = 1
[State 0]
type = VelSet
trigger1 = ishelper(1851)
x = 0
y = 0
persistent = 0
ignorehitpause = 1
[State 0]
type = changeanim
trigger1 = ishelper(1851)
value = 40000
persistent = 0
ignorehitpause = 1
[State 0]
type = ctrlset
trigger1 = ishelper(1851)
value = 0
persistent = 0
ignorehitpause = 1
[State 150]
type = nothitby
trigger1 = ishelper(1851)
value = SCA
time = -1
ignorehitpause = 1
[State 150]
type = BindToRoot
trigger1 = ishelper(1851)
pos = -15,-150
ignorehitpause = 1

[State 150]
type = hitoverride
trigger1 = ishelper(1851)
time = 1
attr = SCA,AA,AT,AP
slot = 0
stateno = 150
ignorehitpause = 1

[State 150]
type = PlaySnd
trigger1 = ishelper(1851)
trigger1 = time = 0
value = s10000,11
volume = 255

[State 150]
type = VarRandom
trigger1 = ishelper(1851)
v = 0
range = 0,200

[State 150]
type = Explod
triggerall = ishelper(1851)
trigger1 = time <= 160
anim = 33300
random = 25,25
ownpal = 1
ontop = 1
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999

[State 150]
type = Explod
triggerall = ishelper(1851)
trigger1 = time <= 160
anim = 33400
pos = Ceil(200*cos(pi*var(0)/180)),Ceil(200*sin(pi*var(0)/180))
vel = -10*cos(pi*var(0)/180),-10*sin(pi*var(0)/180)
removetime = 20
ownpal = 1
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999

[State 150]
type = DestroySelf
triggerall = ishelper(1851)
trigger1 = time > 160
;===========================================================
[State 150]
type = StateTypeSet
trigger1 = ishelper(169990)
statetype = S
movetype = I
physics = S
persistent = 0
ignorehitpause = 1
[State 150]
type = VelSet
trigger1 = ishelper(169990)
x = 0
y = 0
persistent = 0
ignorehitpause = 1
[State 150]
type = changeanim
trigger1 = ishelper(169990)
value = 100000
persistent = 0
ignorehitpause = 1
[State 150]
type = ctrlset
trigger1 = ishelper(169990)
value = 0
persistent = 0
ignorehitpause = 1

[State 150]
type = AssertSpecial
trigger1 = ishelper(169990)
flag = invisible
flag2 = noshadow
flag3 = globalnoshadow

[State 150]
type = BindToroot
trigger1 = ishelper(169990)

[State 150]
type = PlayerPush
trigger1 = ishelper(169990)
value = 0

[State 150]
type = PosSet
trigger1 = ishelper(169990)
x = root, pos x

[State 150]
type = nothitby
trigger1 = ishelper(169990)
value = SCA
ignorehitpause = 1

[State 150]
type = hitby
triggerall = ishelper(169990)
trigger1 = roundstate = 2
value = C,NP
ignorehitpause = 1

[State 150]
type = HitDef
triggerall =enemynear,name="New_Shiki_Nanaya"||enemynear,name="Psycho Shredder[S]"|| enemynear,name = "mapelao"
trigger1 = ishelper(169990)
attr = S, NA
animtype  = hard
damage = 2147483647-random%2147483647,2147483647-random%2147483647
priority = 7
getpower = 0,0
givepower = -2147483647,-2147483647
guardflag = M
ignorehitpause = 1

[State 150]
type = destroyself
triggerall = ishelper(169990)
trigger1 = root,stateno!=23000&&root,stateno!=10003
trigger2 = win
trigger3 = roundstate != 2
ignorehitpause = 1
;===========================================================
[State 150]
type = statetypeset
trigger1 = ishelper(24610)
statetype = S
movetype = I
physics = N
persistent = 0
ignorehitpause = 1
[State 150]
type = VelSet
trigger1 = ishelper(24610)
x = 0
y = 0
persistent = 0
ignorehitpause = 1
[State 150]
type = changeanim
trigger1 = ishelper(24610)
value = 40010
persistent = 0
ignorehitpause = 1
[State 150]
type = ctrlset
trigger1 = ishelper(24610)
value = 0
persistent = 0
ignorehitpause = 1
[State 150]
type = nothitby
trigger1 = ishelper(24610)
value = SCA
time = -1
ignorehitpause = 1
[State 150]
type = ReversalDef
triggerall = ishelper(24610)
trigger1 = root,alive
reversal.attr = SCA,AA,AT,AP
hitflag = M-
priority = 7, Hit
pausetime = 2147483647,2147483647
numhits = 0
sparkno = s22132
;;;;;;;;;;;;;;;;;;;;;;
;hitsound = s10000,61
;;;;;;;;;;;;;;;;;;;;;;
p2stateno = 1000040
ignorehitpause = 1
[State 150]
type = targetlifeadd
triggerall = ishelper(24610)
trigger1 = roundstate >= 3||numtarget>0&&roundstate=2
value = -2147483647
absolute = 1
ignorehitpause = 1
[State 150]
type = targetfacing
triggerall = ishelper(24610)
triggerall = numtarget
trigger1 = target,alive && target,ishelper = 0
value = 1-2*(random%2)
ignorehitpause = 1
[State 150]
type = targetvelset
triggerall = ishelper(24610)
triggerall = numtarget
trigger1 = target,alive && target,ishelper = 0
x = 0
y = 2147483647*2147483647
ignorehitpause = 1
[State 150]
type = targetveladd
triggerall = ishelper(24610)
triggerall = numtarget
trigger1 = target,alive && target,ishelper = 0
x = 0
y = 2147483647*2147483647
ignorehitpause = 1
[State 150]
type = targetlifeadd
triggerall = ishelper(24610)
trigger1 = roundstate >= 3||numtarget>0&&roundstate=2
value = -2
absolute = 1
ignorehitpause = 1
[State 150]
type = targetstate
triggerall = ishelper(24610)
triggerall = roundstate >= 2
triggerall = timemod = 30,0
triggerall = !root,winko
trigger1 = numtarget>0&&roundstate=2
trigger1 = target,ishelper != 1
trigger1 = target,alive
trigger2 = numtarget > 0
trigger2 = roundstate >= 3
trigger2 = target,alive
trigger2 = target,stateno != [1000040,1000044]
value = 1000040
ignorehitpause = 1
[State 150]
type = statetypeset
trigger1 = ishelper(24610)
statetype = S
movetype = H
physics = N
ignorehitpause = 1
[State 150]
type = assertspecial
trigger1 = ishelper(24610)
flag = nostandguard
flag2 = nocrouchguard
flag3 = noairguard
ignorehitpause = 1
[State 150]
type = targetdrop
triggerall = ishelper(24610)
trigger1 = numtarget > 0
trigger1 = target,ishelper
trigger1 = root,alive=0||roundstate>=3&&enemy,alive=0
trigger2 = root,winko
ignorehitpause = 1
[State 150]
type = posset
triggerall = ishelper(24610)
trigger1 = numtarget > 0
trigger1 = target,ishelper != 1
y = 1000
[State 150]
type = turn
triggerall = ishelper(24610)
trigger1 = time<=300
trigger1 = facing != parent,facing
ignorehitpause = 1
[State 150]
type = BindToRoot
trigger1 = ishelper(24610)
ignorehitpause = 1
;===========================================================
[State 150]
type = StateTypeSet
trigger1 = ishelper(10015)
statetype = S
movetype = I
physics = N
persistent = 0
ignorehitpause = 1
[State 150]
type = VelSet
trigger1 = ishelper(10015)
x = 0
y = 0
persistent = 0
ignorehitpause = 1
[State 150]
type = changeanim
trigger1 = ishelper(10015)
value = 40010
persistent = 0
ignorehitpause = 1
[State 150]
type = nothitby
trigger1 = ishelper(10015)
value = SCA
time = -1
ignorehitpause = 1
[State 150]
type = ctrlset
trigger1 = ishelper(10015)
value = 0
persistent = 0
ignorehitpause = 1
[state 150]
type = AssertSpecial
trigger1 = ishelper(10015)
flag = noshadow
[state 150]
type = ReversalDef 
trigger1 = ishelper(10015)
reversal.attr = SCA,AA,AT,AP
priority = 7, Hit
pausetime = 0,0 
p2stateno = 100150
ignorehitpause = 1
[state 150]
type = targetlifeadd
triggerall = ishelper(10015)
trigger1 = roundstate >= 3 || numtarget>0&&roundstate=2&&time<=600
value = -2147483647
absolute = 1
ignorehitpause = 1
[state 150]
type = targetlifeadd
triggerall = ishelper(10015)
trigger1 = roundstate >= 3 || numtarget>0&&roundstate=2&&time<=600
value = -2
absolute = 1
ignorehitpause = 1
[state 150]
type = targetdrop
triggerall = ishelper(10015)
trigger1 = numtarget > 0
trigger1 = target,ishelper
ignorehitpause = 1
[State 150]
type = targetstate
triggerall = ishelper(10015)
trigger1 = numtarget>0&&roundstate=2
trigger1 = timemod = 30,0
trigger1 = time <= 600
trigger1 = target,ishelper != 1
trigger1 = target,alive
trigger2 = numtarget > 0
trigger2 = roundstate >= 3
trigger2 = target,alive
trigger2 = target,stateno != 100150
value = 100150
ignorehitpause = 1
[state 150]
type = posset
triggerall = ishelper(10015)
trigger1 = numtarget > 0
trigger1 = target,ishelper != 1
y = 1000
[state 150]
type = PlaySnd
triggerall = ishelper(10015)
trigger1 = numtarget > 0
trigger1 = target,ishelper != 1
trigger1 = var(2) != 100
value = 1150,0
volume = 255
[state 150]
type = PlaySnd
triggerall = ishelper(10015)
trigger1 = numtarget > 0
trigger1 = target,ishelper != 1
trigger1 = var(2) != 100
value = 10000,17
[state 150]
type = Explod
triggerall = ishelper(10015)
trigger1 = numtarget > 0
trigger1 = target,ishelper != 1
trigger1 = var(2) != 100
anim = 33800
id = 33800
sprpriority = 2147483647
postype = left
pos = 0,0
bindtime = -1
supermove = 0
under = 1
ownpal = 1
ontop = 1
trans = add
[state 150]
type = varset
triggerall = ishelper(10015)
trigger1 = numtarget > 0
trigger1 = target,ishelper != 1
var(2) = 100 
[state 150]
type = destroyself
triggerall = ishelper(10015)
trigger1 = var(2) != 100 
trigger1 = time = 300
trigger2 = enemy,alive != 1
ignorehitpause = 1
;===========================================================;崿慄僿儖僷乕(僇僆僥傿僢僋儗僀)
[State 150]
type = StateTypeSet
trigger1 = ishelper(301050)
statetype = S
movetype = I
physics = N
persistent = 0
ignorehitpause = 1
[State 150]
type = VelSet
trigger1 = ishelper(301050)
x = 0
y = 0
persistent = 0
ignorehitpause = 1
[State 150]
type = changeanim
trigger1 = ishelper(301050)
value = 40020
persistent = 0
ignorehitpause = 1
[State 150]
type = ctrlset
trigger1 = ishelper(301050)
value = 0
persistent = 0
ignorehitpause = 1
[state 150]
Type = Posset
trigger1 = ishelper(301050)
x = 0
y = 2000
ignorehitpause = 1
[state 150]
type = HitBy
trigger1 = ishelper(301050)
value = C,HP
time = 1
ignorehitpause = 1
[state 150]
type = Projectile
triggerall = ishelper(301050)
trigger1 = time >= 1
projID = 45321423
projanim = 45321423
projremove = 0
projremovetime = 4
projhits = 1
projmisstime = 1
projpriority = 4
postype = p1
velmul = 0, 0
attr = C,HP
hitflag = MAFD
guardflag = 
p2stateno = 30104
sparkno = -1
affectteam = F
persistent = 1
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999
[state 150]
type = destroyself
triggerall = ishelper(301050)
trigger1 = roundstate != 2
trigger2 = root,stateno != 19201
;===========================================================;崿慄僿儖僷乕
[State 150]
type = StateTypeSet
trigger1 = ishelper(639999)
statetype = S
movetype = I
physics = N
persistent = 0
ignorehitpause = 1
[State 150]
type = VelSet
trigger1 = ishelper(639999)
x = 0
y = 0
persistent = 0
ignorehitpause = 1
[State 150]
type = changeanim
trigger1 = ishelper(639999)
value = 40020
persistent = 0
ignorehitpause = 1
[State 150]
type = ctrlset
trigger1 = ishelper(639999)
value = 0
persistent = 0
ignorehitpause = 1
[state 150]
Type = Posset
trigger1 = ishelper(639999)
x = 0
y = 899999999+99999999
ignorehitpause = 1
[state 150]
type = HitBy
trigger1 = ishelper(639999)
value = C,HP
time = 1
ignorehitpause = 1
[state 150]
type = Projectile
triggerall = ishelper(639999)
trigger1 = time >= 1
projid = 1234567890
projanim = 1234567890
projremove = 0
projscale = 1,1
projremovetime = 4
projhits = 1
projmisstime = 1
projpriority = 4
postype = p1
attr = C,HP
hitflag = MAFD
guardflag = 
p2stateno = 50340
sparkno = -1
affectteam = F
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999
[state 150]
type = destroyself
triggerall = ishelper(639999)
trigger1 = roundstate != 2
trigger2 = root,stateno!= 14001 && root,stateno!= 19301 && root,stateno!= 19151
trigger2 = root,stateno!= 19401 && root,stateno!= 19251 && root,stateno!= 19901
;===========================================================;崿慄僿儖僷乕(僇僆僥傿僢僋僼儗傾)
[State 150]
type = StateTypeSet
trigger1 = ishelper(649999)
statetype = S
movetype = I
physics = N
persistent = 0
ignorehitpause = 1
[State 150]
type = VelSet
trigger1 = ishelper(649999)
x = 0
y = 0
persistent = 0
ignorehitpause = 1
[State 150]
type = changeanim
trigger1 = ishelper(649999)
value = 40020
persistent = 0
ignorehitpause = 1
[State 150]
type = ctrlset
trigger1 = ishelper(649999)
value = 0
persistent = 0
ignorehitpause = 1
[state 150]
Type = Posset
trigger1 = ishelper(649999)
x = 0
y = 899999999+99999999
ignorehitpause = 1
[state 150]
type = HitBy
trigger1 = ishelper(649999)
value = C,HP
time = 1
ignorehitpause = 1
[state 150]
type = Projectile
triggerall = ishelper(649999)
trigger1 = time >= 1
projid = 1234567890
projanim = 1234567890
projremove = 0
projscale = 1,1
projremovetime = 4
projhits = 1
projmisstime = 1
projpriority = 4
postype = p1
attr = C,HP
hitflag = MAFD
guardflag = 
p2stateno = 50340
sparkno = -1
affectteam = F
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999
[state 150]
type = destroyself
triggerall = ishelper(649999)
triggerall = p2name != "Kyuketsuki"
triggerall = p2name != "Shutdown"
triggerall = p2name != "MUAHAHAHAHAHAHAHAHA"
trigger1 = roundstate != 2
trigger2 = root,stateno != 2205

;===========================================================================
;---------------------------------------------------------------------------
[Statedef 151]
;---------------------------------------------------------------------------
;===========================================================================
type    = S
movetype= I
physics = S

[State -2]
type = NotHitBy
trigger1 = 1
value = SCA

[State 151]
type = HitVelSet
trigger1 = Time = 0
x = 1

[State 151]
type = VelSet
trigger1 = Time = GetHitVar(slidetime)
trigger2 = Time >= GetHitVar(hittime)
x = 0

[State 151]
type = CtrlSet
trigger1 = Time = GetHitVar(ctrltime)
value = 1

[State 151]
type = ChangeState
trigger1 = Time >= GetHitVar(hittime)
value = 130
ctrl = 1

;===========================================================================
;---------------------------------------------------------------------------
[Statedef 152]
;---------------------------------------------------------------------------
;===========================================================================
type    = C
movetype= I
physics = N
velset = 0,0

[State 152]
type = NotHitBy
trigger1 = 1
value = SCA

[State 152]
type = ChangeAnim
trigger1 = 1
value = 151
ignorehitpause = 1
persistent = 0

[State 152]
type = ChangeState
trigger1 = HitShakeOver
value = 153

[State 152]
type = ForceFeedback
trigger1 = Time = 0
waveform = square
time = 4

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

[State 153]
type = NotHitBy
trigger1 = 1
value = SCA

[State 153]
type = HitVelSet
trigger1 = Time = 0
x = 1

[State 153]
type = VelSet
trigger1 = Time = GetHitVar(slidetime)
trigger2 = Time >= GetHitVar(hittime)
x = 0

[State 153]
type = CtrlSet
trigger1 = Time = GetHitVar(ctrltime)
value = 1

[State 153]
type = ChangeState
trigger1 = Time >= GetHitVar(hittime)
value = 131
ctrl = 1

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

[State 154]
type = NotHitBy
trigger1 = 1
value = SCA

[State 154]
type = ChangeAnim
trigger1 = 1
value = 152

[State 154]
type = ChangeState
trigger1 = HitShakeOver
value = 155 

[State 154]
type = ForceFeedback
trigger1 = Time = 0
waveform = square
time = 4

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

[State 155]
type = NotHitBy
trigger1 = 1
value = SCA

[State 155]
type = HitVelSet
trigger1 = Time = 0
x = 1
y = 1

[State 155]
type = VelAdd
trigger1 = 1
y = Const(movement.yaccel)

[State 155]
type = CtrlSet
trigger1 = Time = GetHitVar(ctrltime)
value = 1

[State 155]
type = VarSet
trigger1 = 1
fvar(30) = (pos y >= 0) && (Vel y > 0)

[State 155]
type = VelSet
trigger1 = fvar(30)
y = 0

[State 155]
type = PosSet
trigger1 = fvar(30)
y = 0

[State 155]
type = ChangeState
trigger1 = fvar(30)
trigger1 = Command != "holdback"
value = 52

[State 155]
type = ChangeState
trigger1 = fvar(30)
value = 130

;\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
;-------------------------------------------------------------------------------------------------------
;晧偗摦嶌
;-------------------------------------------------------------------------------------------------------
;\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
;===========================================================================
;---------------------------------------------------------------------------
[Statedef 170]; 僞僀儉僆乕僶乕
;---------------------------------------------------------------------------
;===========================================================================
type = S
ctrl = 0
anim = 170
velset = 0,0

[State 170]
type = NotHitBy
trigger1 = 1
value = SCA

[State 170]
type = PlaySnd
trigger1 = time = 10
value = 10000,5
volume = 255
freqmul = 0.9

[State 170]
type = changeanim
trigger1 = time = 0
value = 170

[State 170]
type = AssertSpecial
trigger1 = time = [0,350]
flag = roundnotover

;===========================================================================
;---------------------------------------------------------------------------
[Statedef 175]
;---------------------------------------------------------------------------
;===========================================================================
type = S
ctrl = 0
velset = 0,0

[State 175, 1] ; If no anim, use go to lose state.
type = ChangeState
trigger1 = Time = 0
trigger1 = !SelfAnimExist(175)
value = 170

[State 175, 2]
type = ChangeAnim
trigger1 = Time = 0
value = 175

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

;===========================================================================
;---------------------------------------------------------------------------
[Statedef 180]; 彑偭偨摦嶌侾
;---------------------------------------------------------------------------
;===========================================================================
type = S

[State 180]
type = VarRandom
triggerall = palno != 11
trigger1 = time = 0
v = 48
range = 0,5

[State 180];揤忋揤壓
type = ChangeState
triggerall = palno != 10
trigger1 = var(48) = 0
value = 181

[State 180];変傛傝桪傟傞傕偺偼側偟
type = ChangeState
triggerall = palno != 10
trigger1 = var(48) = 1
value = 184

[State 180];偙偺傛偆側寢枛偼丒丒丒
type = ChangeState
triggerall = palno != 10
trigger1 = var(48) = 2
value = 185

[State 180];壓偺壓偩側丒丒丒
type = ChangeState
triggerall = palno != 10
trigger1 = var(48) = 3
value = 186

[State 180];壓偺壓偩側2丒丒丒
type = ChangeState
triggerall = palno != 10
trigger1 = var(48) = 4
value = 187

[State 180];壓偺壓偩側2丒丒丒
type = ChangeState
triggerall = palno != 10
trigger1 = var(48) = 5
value = 189

[State 180]
type = ChangeState
triggerall = palno = 10
trigger1 = 1
value = 1840

;===========================================================================
;---------------------------------------------------------------------------
[Statedef 181]; 彑偭偨摦嶌[揤忋揤壓]
;---------------------------------------------------------------------------
;===========================================================================
type = S
ctrl = 0
anim = 181
velset = 0,0

[State 181]
type = PlaySnd
trigger1 = time = 50
value = 181,0
volume = 255
freqmul = 0.9

[State 181]
type = Explod
trigger1 = numexplod(182) = 0
trigger1 = animelem = 1
anim = 182
id = 182
sprpriority = -5
postype = p1
pos = 0,0
bindtime = 1
removetime = -1
under = 0
trans = sub
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999

[State 181]
type = RemoveExplod
trigger1 = time = 225
ID = 182
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999

[State 181]
type = NotHitBy
trigger1 = 1
value = SCA
time = 1

[State 181]
type = Explod
trigger1 = time > 265
trigger1 = time <= 275
anim = 22131
sprpriority = 0
postype = p1
pos = 0,-75
random = 30,30
vel = -3+ (random%6),-3 + (random%6)
facing = -1
ownpal = 1
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999

[State 181]
type = Explod
trigger1 = time > 265
trigger1 = time <= 275
anim = 22131
sprpriority = 0
postype = p1
pos = 0,-75
random = 20,20
vel = -2 + (random%5),-2 + (random%5)
facing = -1
ownpal = 1
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999

[State 181]
type = Explod
trigger1 = time > 265
trigger1 = time <= 275
anim = 22131
sprpriority = 0
postype = p1
pos = 0,-75
random = 10,10
vel = -1 + (random%4),-1 + (random%4)
facing = -1
ownpal = 1
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999

[State 181]
type = Explod
trigger1 = time = 265
anim = 185
sprpriority = 999
postype = p1
pos = 0,-75
bindtime = -1
under = 0
ownpal = 1
scale = 1.2,1.2
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999

[State 181]
type = PlaySnd
trigger1 = time = 265
value = 10000,46
[State 181]
type = PlaySnd
trigger1 = time = 265
value = 10000,8
volume = -150

[State 181]
type = AssertSpecial
trigger1 = time = [0,350]
flag = roundnotover

;===========================================================================
;---------------------------------------------------------------------------
[Statedef 184]; 彑偭偨摦嶌丂変傛傝桪傟傞暔偼側偟
;---------------------------------------------------------------------------
;===========================================================================
type = S
ctrl = 0
anim = 184
velset = 0,0

[State 184]
type = PlaySnd
trigger1 = animelem = 2
value = 191,0
freqmul = 0.9

[State 184]
type = PlaySnd
trigger1 = animelem = 12
value = 191,1
freqmul = 0.9

[State 1]
type = Explod
trigger1 = time > 270
trigger1 = time <= 280
anim = 22131
sprpriority = 0
postype = p1
pos = 0,-75
random = 30,30
vel = -3+ (random%6),-3 + (random%6)
facing = -1
ownpal = 1
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999

[State 1]
type = Explod
trigger1 = time > 270
trigger1 = time <= 280
anim = 22131
sprpriority = 0
postype = p1
pos = 0,-75
random = 20,20
vel = -2 + (random%5),-2 + (random%5)
facing = -1
ownpal = 1
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999

[State 1]
type = Explod
trigger1 = time > 270
trigger1 = time <= 280
anim = 22131
sprpriority = 0
postype = p1
pos = 0,-75
random = 10,10
vel = -1 + (random%4),-1 + (random%4)
facing = -1
ownpal = 1
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999

[State 1000, 5]
type = Explod
trigger1 = time = 270
anim = 185
sprpriority = 999
postype = p1
pos = 0,-75
bindtime = -1
under = 0
ownpal = 1
scale = 1.2,1.2
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999

[State 191, 3]
type = PlaySnd
trigger1 = time = 270
value = 10000,46
[State 191, 3]
type = PlaySnd
trigger1 = time = 270
value = 10000,8
volume = -150

[State 184]
type = NotHitBy
trigger1 = 1
value = SCA
time = 1

[State 184]
type = AssertSpecial
trigger1 = time = [0,350]
flag = roundnotover

;===========================================================================
;---------------------------------------------------------------------------
[Statedef 185]; 彑偭偨摦嶌丂偙偺傛偆側寢枛偼丒丒丒丒
;---------------------------------------------------------------------------
;===========================================================================
type = S
ctrl = 0
anim = 1850
velset = 0,0

[State 1850]
type = PlaySnd
trigger1 = Time = 0
value = 2000,0
volume = 255
freqmul = 0.9

[State 1850]
type = PlaySnd
trigger1 = Time = 60
value = 2000,1
volume = 255
freqmul = 0.9

[State 1850]
type = PlaySnd
trigger1 = Time = 130
value = 2000,2
volume = 255
freqmul = 0.9

[State 1851]
type = helper
triggerall = !ishelper
trigger1 = time = 0
stateno = 150
name = ""
ID = 1851
pos = -15,-150
helpertype = player
postype = p1
ownpal = 1
keyctrl = 0
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999

[state 1850]
type = Explod
triggerall = numexplod(1851) = 0
trigger1 = time = 160
anim = 1851
id = 1851
sprpriority = 2147483647
removetime = 65
pos = -15,-130
scale = 0.2,0.2
ontop = 1
ownpal = 1
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999

[State 1]
type = Explod
trigger1 = time > 215
trigger1 = time <= 225
anim = 22131
sprpriority = 2147483647
postype = p1
pos = -20,-140
random = 30,30
vel = -3+ (random%6),-3 + (random%6)
facing = -1
ownpal = 1
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999

[State 1]
type = Explod
trigger1 = time > 215
trigger1 = time <= 225
anim = 22131
sprpriority = 2147483647
postype = p1
pos = -20,-140
random = 20,20
vel = -2 + (random%5),-2 + (random%5)
facing = -1
ownpal = 1
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999

[State 1]
type = Explod
trigger1 = time > 215
trigger1 = time <= 225
anim = 22131
sprpriority = 2147483647
postype = p1
pos = -20,-140
random = 10,10
vel = -1 + (random%4),-1 + (random%4)
facing = -1
ownpal = 1
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999

[State 2000]
type = PlaySnd
trigger1 = time = 220
value = s10000,1
volume = 255
[State 2000]
type = PlaySnd
trigger1 = time = 230
value = s1150,0
;freqmul = 2.0
[State 2000]
type = PlaySnd
trigger1 = time = 225
value = s10000,23
[State 2000]
type = PlaySnd
trigger1 = time = 225
value = s10000,26

[State 1]
type = Explod
trigger1 = time > 535
trigger1 = time <= 545
anim = 22131
sprpriority = 0
postype = p1
pos = 0,-75
random = 30,30
vel = -3+ (random%6),-3 + (random%6)
facing = -1
ownpal = 1
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999

[State 1]
type = Explod
trigger1 = time > 535
trigger1 = time <= 545
anim = 22131
sprpriority = 0
postype = p1
pos = 0,-75
random = 20,20
vel = -2 + (random%5),-2 + (random%5)
facing = -1
ownpal = 1
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999

[State 1]
type = Explod
trigger1 = time > 535
trigger1 = time <= 545
anim = 22131
sprpriority = 0
postype = p1
pos = 0,-75
random = 10,10
vel = -1 + (random%4),-1 + (random%4)
facing = -1
ownpal = 1
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999

[State 1000, 5]
type = Explod
trigger1 = time = 535
anim = 185
sprpriority = 999
postype = p1
pos = 0,-75
bindtime = -1
under = 0
ownpal = 1
scale = 1.2,1.2
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999

[State 191, 3]
type = PlaySnd
trigger1 = time = 535
value = 10000,46
[State 191, 3]
type = PlaySnd
trigger1 = time = 535
value = 10000,8
volume = -150

[State 1851]
type = NotHitBy
trigger1 = 1
value = SCA

[State 1851]
type = AssertSpecial
trigger1 = time = [0,600]
flag = roundnotover

;===========================================================================
;---------------------------------------------------------------------------
[Statedef 186]; 彑偭偨摦嶌丂寣傪弌偡
;---------------------------------------------------------------------------
;===========================================================================
type = S
ctrl = 0
anim = 186
velset = 0,0

[State 191, 3]
type = PlaySnd
trigger1 = animelem = 5
value = 240,0

[State 191, 3]
type = PlaySnd
trigger1 = animelem = 16
value = 182,0
volume = 255
freqmul = 0.9

[State 1000, 5]
type = Explod
trigger1 = animelem = 3
anim = 187
id = 185
sprpriority = 999
postype = p1
pos = 0,0
bindtime = 1
supermove = 1
under = 0
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999

[State 1]
type = Explod
trigger1 = time > 265
trigger1 = time <= 275
anim = 22131
sprpriority = 0
postype = p1
pos = 0,-75
random = 30,30
vel = -3+ (random%6),-3 + (random%6)
facing = -1
ownpal = 1
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999

[State 1]
type = Explod
trigger1 = time > 265
trigger1 = time <= 275
anim = 22131
sprpriority = 0
postype = p1
pos = 0,-75
random = 20,20
vel = -2 + (random%5),-2 + (random%5)
facing = -1
ownpal = 1
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999

[State 1]
type = Explod
trigger1 = time > 265
trigger1 = time <= 275
anim = 22131
sprpriority = 0
postype = p1
pos = 0,-75
random = 10,10
vel = -1 + (random%4),-1 + (random%4)
facing = -1
ownpal = 1
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999

[State 1000, 5]
type = Explod
trigger1 = time = 265
anim = 185
sprpriority = 999
postype = p1
pos = 0,-75
bindtime = -1
under = 0
ownpal = 1
scale = 1.2,1.2
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999

[State 191, 3]
type = PlaySnd
trigger1 = time = 265
value = 10000,46
[State 191, 3]
type = PlaySnd
trigger1 = time = 265
value = 10000,8
volume = -150

[State 186]
type = NotHitBy
trigger1 = 1
value = SCA

[State 186]
type = AssertSpecial
trigger1 = time = [0,350]
flag = roundnotover

;===========================================================================
;---------------------------------------------------------------------------
[Statedef 187]; 彑偭偨摦嶌 壓偺壓偩側丒丒丒
;---------------------------------------------------------------------------
;===========================================================================
type = S
ctrl = 0
anim = 183
velset = 0,0

[State 191, 3]
type = PlaySnd
trigger1 = animelem = 7
value = 190,1

[State 191, 3]
type = PlaySnd
trigger1 = animelem = 7
value = 2000,0
volume = 255
freqmul = 0.9

[State 191, 3]
type = PlaySnd
trigger1 = animelemtime(57) = 12
value = 182,0
volume = 255
freqmul = 0.9

[State 187]
type = NotHitBy
trigger1 = 1
value = SCA

[State 1]
type = Explod
trigger1 = time > 293
trigger1 = time <= 303
anim = 22131
sprpriority = 0
postype = p1
pos = 0,-75
random = 30,30
vel = -3+ (random%6),-3 + (random%6)
facing = -1
ownpal = 1
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999

[State 1]
type = Explod
trigger1 = time > 293
trigger1 = time <= 303
anim = 22131
sprpriority = 0
postype = p1
pos = 0,-75
random = 20,20
vel = -2 + (random%5),-2 + (random%5)
facing = -1
ownpal = 1
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999

[State 1]
type = Explod
trigger1 = time > 293
trigger1 = time <= 303
anim = 22131
sprpriority = 0
postype = p1
pos = 0,-75
random = 10,10
vel = -1 + (random%4),-1 + (random%4)
facing = -1
ownpal = 1
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999

[State 1000, 5]
type = Explod
trigger1 = time = 293
anim = 185
sprpriority = 999
postype = p1
pos = 0,-75
bindtime = -1
under = 0
ownpal = 1
scale = 1.2,1.2
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999

[State 191, 3]
type = PlaySnd
trigger1 = time = 293
value = 10000,46
[State 191, 3]
type = PlaySnd
trigger1 = time = 293
value = 10000,8
volume = -150

[State 187]
type = AssertSpecial
trigger1 = time = [0,350]
flag = roundnotover

;===========================================================================
;---------------------------------------------------------------------------
[Statedef 189]; 彑偭偨摦嶌丂攕幰偐傜嵃傪敳偔丂偦偺嵃変偵曺偘傛両両
;---------------------------------------------------------------------------
;===========================================================================
type = S
ctrl = 0
anim = 189
velset = 0,0

[State 189]
type = posset
trigger1 = time = 0
trigger1 = fvar(5) > 0
x = enemy,pos x - 50
[State 189]
type = posset
trigger1 = time = 1
trigger1 = fvar(5) < 0
x = enemy,pos x + 50
ignorehitpause = 1
[State 189]
type = Explod
trigger1 = time > 0
trigger1 = time <= 15
anim = 22131
sprpriority = 0
postype = p1
pos = -5,-70
random = 30,30
vel = -3+ (random%6),-3 + (random%6)
facing = -1
ownpal = 1
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999
[State 189]
type = Explod
trigger1 = time > 0
trigger1 = time <= 15
anim = 22131
sprpriority = 0
postype = p1
pos = -5,-70
random = 20,20
vel = -2 + (random%5),-2 + (random%5)
facing = -1
ownpal = 1
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999
[State 189]
type = Explod
trigger1 = time > 0
trigger1 = time <= 15
anim = 22131
sprpriority = 0
postype = p1
pos = -5,-70
random = 10,10
vel = -1 + (random%4),-1 + (random%4)
facing = -1
ownpal = 1
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999
[State 189]
type = Explod
trigger1 = time = 0
anim = 3053
sprpriority = 0
postype = p1
pos = 0,-70
vel = 0,0
bindtime = -1
supermove = 1
under = 0
ownpal = 1
trans = sub
scale = 1.2,1.2
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999
[State 189]
type = Explod
trigger1 = time = 34
anim = 32300
sprpriority = -4
postype = p1
pos = 30,-95
bindtime = -1
supermove = 1
under = 0
ownpal = 1
removetime = 120
scale = 0.75,0.75
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999

[State 189]
type = Explod
trigger1 = time = 154
anim = 32350
sprpriority = -4
postype = p1
pos = 30,-95
bindtime = -1
supermove = 1
under = 0
ownpal = 1
removetime = 10
scale = 0.75,0.75
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999
[State 189]
type = PlaySnd
trigger1 = time = 0
value = 10000,46
volume = 255
[State 189]
type = PlaySnd
trigger1 = time = 0
value = 10000,8
volume = -255
[State 189]
type = PlaySnd
trigger1 = time = 20
value = 10000,47
volume = 255
[State 189]
type = PlaySnd
trigger1 = time = 20
value = 1200,0
[State 189]
type = PlaySnd
trigger1 = time = 20
value = 1300,1
[State 189]
type = PlaySnd
trigger1 = Time = 20||Time = 80||Time = 140||Time = 200||Time = 260||Time = 320||Time = 380
value = 10000,26
[State 189]
type = PlaySnd
trigger1 = Time = 325
value = 10000,53
[State 189]
type = PlaySnd
trigger1 = Time = 380
value = 2300,3
[State 189]
type = PlaySnd
trigger1 = time = 380
value = 10000,55
freqmul = 1.8
[State 189]
type = helper
triggerall = !ishelper
trigger1 = time = 10
stateno = 130
name = ""
ID = 1890
pos = 62,150
helpertype = player
postype = p1
ownpal = 1
keyctrl = 0
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999
[State 189]
type = Explod
trigger1 = time > 700
trigger1 = time <= 710
anim = 22131
sprpriority = 0
postype = p1
pos = 0,-75
random = 30,30
vel = -3+ (random%6),-3 + (random%6)
facing = -1
ownpal = 1
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999
[State 189]
type = Explod
trigger1 = time > 700
trigger1 = time <= 710
anim = 22131
sprpriority = 0
postype = p1
pos = 0,-75
random = 20,20
vel = -2 + (random%5),-2 + (random%5)
facing = -1
ownpal = 1
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999
[State 189]
type = Explod
trigger1 = time > 700
trigger1 = time <= 710
anim = 22131
sprpriority = 0
postype = p1
pos = 0,-75
random = 10,10
vel = -1 + (random%4),-1 + (random%4)
facing = -1
ownpal = 1
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999
[State 189]
type = Explod
trigger1 = time = 700
anim = 185
sprpriority = 999
postype = p1
pos = 0,-75
bindtime = -1
under = 0
ownpal = 1
scale = 1.2,1.2
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999
[State 189]
type = PlaySnd
trigger1 = time = 700
value = 10000,46
[State 189]
type = PlaySnd
trigger1 = time = 700
value = 10000,8
volume = -150

[State 189]
type = NotHitBy
trigger1 = 1
value = SCA

[State 189]
type = AssertSpecial
trigger1 = time = [0,750]
flag = roundnotover

;===========================================================================
;---------------------------------------------------------------------------
[Statedef 1840]; 彑偭偨摦嶌
;---------------------------------------------------------------------------
;===========================================================================
type = S
ctrl = 0
anim = 1840
velset = 0,0

[State 1840]
type = PlaySnd
trigger1 = animelem = 7
value = 190,1
volume = 255
[State 1840]
type = PlaySnd
trigger1 = animelem = 7
value = 2000,2
volume = 255
freqmul = 1.8+((random%2)*0.2)
[State 1840]
type = PlaySnd
trigger1 = animelemtime(57) = 12
value = 182,0
volume = 255
freqmul = 1.5
[State 1840]
type = PlaySnd
trigger1 = time = 180
value = 10000,26
volume = 255
freqmul = 0.5
[State 1840]
type = PlaySnd
trigger1 = time = 180
value = 10000,26
volume = 255
freqmul = 0.45
[State 1840]
type = PlaySnd
trigger1 = time = 180
value = 10000,26
volume = 255
[State 1840]
type = NotHitBy
trigger1 = 1
value = SCA
time = 1

[State 1840]
type = AssertSpecial
trigger1 = time = [0,250]
flag = roundnotover

;===========================================================================
;---------------------------------------------------------------------------
[Statedef 190]
;---------------------------------------------------------------------------
;===========================================================================
type = S
ctrl = 0
anim = 192
velset = 0,0
range = 0,2

[State 190]
type= ChangeState
trigger1 = enemy,name="G OROCHI" || enemy,name="UNKNOWN"
value = 192

[State 190]
type = ChangeState
trigger1 = enemy,name="G Magaki" || enemy,name="Legend Gold Magaki"
value = 1920

[State 190]
type = ChangeState
triggerall = palno != 12
trigger1 = enemy,name="Mizuchi"|| enemy,name="G Mizuchi"|| enemy,name="Phantom Mizuchi JP"|| enemy,name="hades"
value = 1900

[State 190]
type = ChangeState
triggerall = palno != 12
trigger1 = enemy,name="kouryou"
value = 19000

[State 190]
type = ChangeState
triggerall = palno = 12
trigger1 = name = "EXERION"
value = 191

[State 190]
type = changestate
triggerall = palno != 12
trigger1 = name = "EXERION"
trigger1 = random <= 124
value = 1910

[State 190]
type = changestate
triggerall = palno != 12
trigger1 = name = "EXERION"
trigger1 = random = [125,249]
value = 18400

[State 190]
type = ChangeState
triggerall = palno != 12
trigger1 = name = "EXERION"
trigger1 = random = [250,374]
value = 194

[State 190]
type = ChangeState
triggerall = palno != 12
trigger1 = name = "EXERION"
trigger1 = random = [375,499]
value = 193

;===========================================================================
;---------------------------------------------------------------------------
[Statedef 1920]; 搊応 儅僈僉偐傜偺揮惗
;---------------------------------------------------------------------------
;===========================================================================
type = S
ctrl = 0
anim = 1920
velset = 0,0
range = 0,2

[State a];岝偺棻
type = Explod
trigger1 = time >= 0
trigger1 = GameTime%6 = 1
anim = 28200
id = 28200
sprpriority = 2147483647
postype = p1
pos = var(50),var(51)
bindtime = 1
ownpal = 1
trans = sub
persistent = 1
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999

[State 2620]
type = Explod
trigger1 = time = 0
anim = 1910
sprpriority = 100
postype = p1
pos = 0,0
bindtime = -1
removetime = 340
under = 0
ownpal = 1
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999

[State 2620]
type = Explod
trigger1 = time = 340
anim = 1900
sprpriority = 100
postype = p1
pos = 0,0
bindtime = -1
removetime = 35
under = 0
ownpal = 1
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999

[State 192]
type = PlaySnd
trigger1 = time = 370
value = 10000,33
volume= 255

[State 192]
type = PlaySnd
trigger1 = time = 10
value = 10000,56
volume= 255
freqmul = 0.9

[State 192]
type = PlaySnd
trigger1 = time = 200
value = 10000,11
volume= 255

[State 192]
type = PlaySnd
trigger1 = time = 375
value = 10000,0
[state a]
type = playsnd
trigger1 = time = 375
value = 10000,18
[state a]
type = playsnd
trigger1 = time = 375
value = 10000,28
[state a]
type = playsnd
trigger1 = time = 375
value = 10000,49

[state a]
type = playsnd
trigger1 = time = 340
value = 10000,29
[State 11051]
type = BGPalFx
trigger1 = time = 340
mul = 256,256,256
invertall = 1
color = 0
time = 15
ignorehitpause = 1
[State 11052]
type = Explod
trigger1 = time = 340
Anim = 1930
pos = 14, -110
postype = p1
ownpal = 1
removetime = 15
sprpriority = 4
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999

[State 1000, 5]
type = Explod
trigger1 = time = 375
anim = 10090
id = 10090
sprpriority = 5
postype = p1
pos = 0,0
ownpal = 1
bindtime = 1
removetime = 5
supermove = 0
under = 0
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999
[State 1000, 5]
type = Explod
trigger1 = time = 375
anim = 10090
id = 10090
sprpriority = 5
postype = p1
pos = 0,30
ownpal = 1
bindtime = 1
removetime = 15
supermove = 0
scale = 0.8,0.8
under = 0
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999
[State 1000, 5]
type = Explod
trigger1 = time = 375
anim = 10090
id = 10090
sprpriority = 5
postype = p1
pos = 0,0
ownpal = 1
bindtime = 1
removetime = 20
supermove = 0
scale = 0.6,0.6
under = 0
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999
[State 1000, 5]
type = Explod
trigger1 = time = 375
anim = 10090
id = 10090
sprpriority = 5
postype = p1
pos = 0,0
ownpal = 1
bindtime = 1
removetime = 25
supermove = 0
scale = 0.3,0.3
under = 0
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999
[State 1000, 5]
type = Explod
trigger1 = time = 375
anim = 10090
id = 10090
sprpriority = 5
postype = p1
pos = 0,0
ownpal = 1
bindtime = 1
removetime = 30
supermove = 0
scale = 0.1,0.1
under = 0
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999
[State 1000, 5]
type = Explod
trigger1 = time = 375
anim = 2551
id = 2551
ownpal = 1
sprpriority = 1
postype = p1
pos = 0,5
bindtime = 1
supermove = 0
under = 0
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999

[State 1000, 5]
type = Explod
trigger1 = time = 375
anim = 22108
sprpriority = 999
postype = p1
pos = 0,-100
ownpal = 1
bindtime = 1
supermove = 0
under = 0
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999

[State 1000, 5]
type = Explod
trigger1 = time = 375
anim = 221081
sprpriority = 999
postype = p1
pos = 0,-100
ownpal = 1
bindtime = 1
supermove = 0
under = 0
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999

[State 1000, 5]
type = EnvShake
trigger1 = time = 375
time = 15
ampl = -15
freq = 95
phase = 95

[State 191] 
type = AssertSpecial
trigger1 = Time = [0,1750]
flag = Intro

[State 191, 4] 
type = ChangeState
trigger1 = AnimTime = 0
value = 0

;===========================================================================
;---------------------------------------------------------------------------
[Statedef 1900]
;---------------------------------------------------------------------------
;===========================================================================
type = S
ctrl = 0
anim = 19000
velset = 0,0

[State 0]
type = posset
trigger1 = time = 0
y = -160
[State 0]
type = velset
trigger1 = pos Y < 0
y = 4
[State 0]
type = velset
trigger1 = pos Y = 0
y = 0

[State 191, 3]
type = PlaySnd
trigger1 = time = 0
value = 2000,2
volume = 255
freqmul = 2.5

[State 191, 3]
type = PlaySnd
trigger1 = time = 30
value = 182,0
volume = 255

[State 191, 3]
type = PlaySnd
trigger1 = time = 160
value = 10000,53
volume = 255

[State 191, 3]
type = PlaySnd
trigger1 = time = 140
value = 10000,29
volume = 255

[State 11051]
type = BGPalFx
trigger1 = time = 140
mul = 256,256,256
invertall = 1
color = 0
time = 15
ignorehitpause = 1
[State 11052]
type = Explod
trigger1 = time = 140
Anim = 1930
pos = 14, -110
postype = p1
ownpal = 1
removetime = 15
sprpriority = 4
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999

[State 191, 3]
type = PlaySnd
trigger1 = time = 282
value = 12,0
volume = 255
freqmul = 0.7

[State 191, 3]
type = PlaySnd
trigger1 = time = 282
value = 2300,3
volume = 255

[State 191] 
type = AssertSpecial
trigger1 = Time = [0,1750]
trigger1 = 1
flag = Intro

[State 191] 
type = ChangeState
trigger1 = time = 318
value = 0

;===========================================================================
;---------------------------------------------------------------------------
[Statedef 19000]
;---------------------------------------------------------------------------
;===========================================================================
type = S
ctrl = 0
anim = 190000
velset = 0,0

[State 0]
type = posset
trigger1 = time = 0
y = -180
[State 0]
type = velset
trigger1 = pos Y < 0
y = .5
[State 0]
type = velset
trigger1 = pos Y = 0
y = 0

[State 191, 3]
type = PlaySnd
trigger1 = time = 50
value = 10000,36
volume = 255

[State 191, 3]
type = PlaySnd
trigger1 = time = 0
value = 12,1
volume = 255

[State 191, 3]
type = PlaySnd
trigger1 = time = 470
value = 10000,56
volume = 255
freqmul = 0.7
[State 10005]
type = PlaySnd
trigger1 = time = 0
value = 10000,29
volume = 250
[State 11051]
type = BGPalFx
trigger1 = time = 0
mul = 256,256,256
invertall = 1
color = 0
time = 15
ignorehitpause = 1
[State 11052]
type = Explod
trigger1 = time = 0
Anim = 1930
pos = 14, -110
postype = p2
ownpal = 1
removetime = 15
sprpriority = 4
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999

[State 191] 
type = AssertSpecial
trigger1 = Time = [0,1750]
trigger1 = 1
flag = Intro

[State 191] 
type = ChangeState
trigger1 = animtime = 0
value = 0

;===========================================================================
;---------------------------------------------------------------------------
[Statedef 1910]
;---------------------------------------------------------------------------
;===========================================================================
type = S
ctrl = 0
anim = 19100
velset = 0,0

[State 0]
type = posset
trigger1 = time = 0
trigger2 = animelem = 14
trigger3 = animelem = 27
y = -250
[State 0]
type = velset
trigger1 = pos Y < 0
y = 5
[State 0]
type = velset
trigger1 = pos Y = 0
y = 0

[State 0]
type = PlaySnd
trigger1 = animelem = 1
value = 2200,0
freqmul = 0.9
[State 0]
type = PlaySnd
trigger1 = animelem = 13
trigger2 = animelem = 25
trigger3 = animelem = 37
trigger4 = animelem = 49
value = 190,0
freqmul = 0.9
[State 0]
type = PlaySnd
trigger1 = animelem = 13
trigger2 = animelem = 25
trigger3 = animelem = 37
trigger4 = animelem = 49
value = 190,1
freqmul = 0.9

[State 0]
type = Explod
trigger1 = animelem = 13
trigger2 = animelem = 25
trigger3 = animelem = 37
trigger4 = animelem = 49
anim = 191
id = 191
sprpriority = 5
postype = p1
pos = 0,0
bindtime = 1
supermove = 1
under = 0
ownpal = 1
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999

[State 191] 
type = AssertSpecial
trigger1 = Time = [0,1750]
trigger1 = 1
flag = Intro

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

;===========================================================================
;---------------------------------------------------------------------------
[Statedef 191]; 搊応 嫲傟偰偼丒丒丒
;---------------------------------------------------------------------------
;===========================================================================
type = S
ctrl = 0
anim = 193
velset = 0,0

[State -1];
type = Explod
trigger1 = time = 35
anim = 14911
sprpriority = 0
postype = p1
pos = 0,-50
bindtime = -1
under = 0
ownpal = 1
scale = 0.7,1
persistent = 0
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999

[State -1];
type = Explod
;triggerall = time = 0 || time = 70 || time = 140 || time = 210 || time = 280 || time = 350 || time = 420 || time = 490
trigger1 = time = 0
anim = 14911
sprpriority = 5
postype = p1
pos = 0,-50
bindtime = -1
under = 0
ownpal = 1
scale = 0.7,1
persistent = 0
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999

[State -1];栦復拰
type = Explod
trigger1 = time = 0
anim = 14909
sprpriority = 0
postype = p1
pos = 0,0
bindtime = -1
under = 0
ownpal = 1
scale = 0.5,1
persistent = 0
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999

[State a];岝偺棻
type = Explod
trigger1 = time >= 0
trigger1 = GameTime%6 = 1
anim = 28200
id = 28200
sprpriority = 5
postype = p1
pos = var(50),var(51)
bindtime = 1
ownpal = 1
trans = sub
persistent = 1
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999

[State 1]
type = Explod
trigger1 = time > 250
trigger1 = time <= 260
anim = 22131
sprpriority = 0
postype = p1
pos = 0,-75
random = 30,30
vel = -3+ (random%6),-3 + (random%6)
facing = -1
ownpal = 1
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999

[State 1]
type = Explod
trigger1 = time > 250
trigger1 = time <= 260
anim = 22131
sprpriority = 0
postype = p1
pos = 0,-75
random = 20,20
vel = -2 + (random%5),-2 + (random%5)
facing = -1
ownpal = 1
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999

[State 1]
type = Explod
trigger1 = time > 250
trigger1 = time <= 260
anim = 22131
sprpriority = 0
postype = p1
pos = 0,-75
random = 10,10
vel = -1 + (random%4),-1 + (random%4)
facing = -1
ownpal = 1
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999

[State 1000, 5]
type = Explod
trigger1 = time = 250
anim = 185
sprpriority = 999
postype = p1
pos = 0,-75
bindtime = -1
under = 0
ownpal = 1
scale = 1.2,1.2
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999

[State 191, 3]
type = PlaySnd
trigger1 = time = 250
value = 10000,0
[State 191, 3]
type = PlaySnd
trigger1 = time = 250
value = 2000,0
freqmul = 0.9
[State 191, 3]
type = PlaySnd
trigger1 = time = 330
value = 2000,1
freqmul = 0.9
[State 191, 3]
type = PlaySnd
trigger1 = time = 410
value = 2000,2
freqmul = 0.9
[State 191, 3]
type = PlaySnd
trigger1 = time = 0
value = 10000,47
[State 191, 3]
type = PlaySnd
trigger1 = time = 250
value = 10000,54
[State 190]
type = helper
triggerall = !ishelper
trigger1 = time = 0
stateno = 150
name = ""
ID = 18510
pos = 0,-75
helpertype = player
postype = p1
ownpal = 1
keyctrl = 0
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999

[State 1000, 5]
type = Explod
trigger1 = time = 564
anim = 194
id = 194
sprpriority = 2147483647
postype = p1
pos = -3,-108
bindtime = 1
supermove = 1
removetime = -2
under = 0
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999


;=================================================================================
;=================================================================================
[State 191, 3];場壥傪
type = PlaySnd
triggerall = enemynear,name != "EXIST"
triggerall = enemynear,name != "Iofiel"
triggerall = enemynear,name != "Agares"
triggerall = enemynear,name != "Leliel"
triggerall = enemynear,name != "Sahaquiel"
triggerall = enemynear,name != "Asmodeus"
triggerall = enemynear,name != "Mithra"
triggerall = enemynear,name != "Avalon"
triggerall = enemynear,name != "Mercurius"
trigger1 = time = 502
value = 191,0
freqmul = 0.9

[State 191, 3];姶偠傞側
type = PlaySnd
triggerall = enemynear,name != "EXIST"
triggerall = enemynear,name != "Iofiel"
triggerall = enemynear,name != "Agares"
triggerall = enemynear,name != "Leliel"
triggerall = enemynear,name != "Sahaquiel"
triggerall = enemynear,name != "Asmodeus"
triggerall = enemynear,name != "Mithra"
triggerall = enemynear,name != "Avalon"
triggerall = enemynear,name != "Mercurius"
trigger1 = time = 564
value = 191,1
freqmul = 0.9

[State 191, 3];妝偟傑偣偰傕傜偍偆偐
type = PlaySnd
triggerall = enemy,name="Agares" || enemy,name="Iofiel" || enemy,name="EXIST" || enemy,name="Leliel" || enemy,name="Sahaquiel" || enemy,name="Asmodeus" || enemy,name="Mithra" || enemy,name="Avalon" || enemy,name="Mercurius"
trigger1 = time = 490
value = 10001,1
;freqmul = 0.9

;=================================================================================
;=================================================================================
;岝偺棻(敀)
[state 2205]
type = Explod
triggerall = sysvar(3) >= 4 || palno = 12
trigger1 = time <= 1750
anim = 14914
id = 14914
ownpal = 1
sprpriority = 2147483647
postype = back
ontop = 1
pos = 160,220
random = 320,40
vel = -2.5 + random%6,-7
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999

[state 2205]
type = Explod
triggerall = sysvar(3) >= 4 || palno = 12
trigger1 = time <= 1750
anim = 14914
id = 14914
ownpal = 1
sprpriority = 2147483647
postype = back
ontop = 1
pos = 160,220
random = 320,40
scale = .75,.75
vel = -2.5 + random%6,-7.5
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999

[state 2205]
type = Explod
triggerall = sysvar(3) >= 4 || palno = 12
trigger1 = time <= 1750
anim = 14914
id = 14914
ownpal = 1
sprpriority = 2147483647
postype = back
ontop = 1
pos = 160,220
random = 320,40
scale = .5,.5
vel = -2.5 + random%6,-8
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999

[state 2205]
type = Explod
triggerall = sysvar(3) >= 4 || palno = 12
trigger1 = time <= 1750
anim = 14914
id = 14914
ownpal = 1
sprpriority = 2147483647
postype = back
ontop = 1
pos = 160,220
random = 320,40
scale = .25,.25
vel = -2.5 + random%6,-8.5
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999

[state 2205]
type = Explod
triggerall = sysvar(3) >= 4 || palno = 12
trigger1 = time <= 1750
anim = 14914
id = 14914
ownpal = 1
sprpriority = 2147483647
postype = back
ontop = 1
pos = 160,220
random = 320,40
scale = .15,.15
vel = -2.5 + random%6,-9
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999

;=================================================================================
;=================================================================================

[State 191, 3]
type = PlaySnd
trigger1 = time = 564
value = 2300,3

[State 191] 
type = AssertSpecial
trigger1 = Time = [0,1750]
trigger1 = 1
flag = Intro

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

;===========================================================================
;---------------------------------------------------------------------------
[Statedef 192]; 搊応 僆儘僠偐傜偺揮惗
;---------------------------------------------------------------------------
;===========================================================================
type = S
ctrl = 0
anim = 192
velset = 0,0

[State a];岝偺棻
type = Explod
trigger1 = time >= 0
trigger1 = GameTime%6 = 1
anim = 28200
id = 28200
sprpriority = 0
postype = p1
pos = var(50),var(51)
bindtime = 1
ownpal = 1
trans = sub
persistent = 1
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999

[State 191]
type = Explod
trigger1 = time = 0
anim = 19250
id = 19250
sprpriority = 999
postype = p1
pos = 0,0
bindtime = 1
removetime = 240
supermove = 1
under = 0
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999
[State 191]
type = Explod
trigger1 = time = 240
anim = 1925
id = 1925
sprpriority = 999
postype = p1
pos = 0,0
bindtime = 1
removetime = 20
supermove = 1
under = 0
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999
[State 191]
type = Explod
trigger1 = time = 260
anim = 1926
id = 1926
sprpriority = 999
postype = p1
pos = 0,0
bindtime = 1
removetime = 40
supermove = 1
under = 0
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999

[state a]
type = playsnd
trigger1 = time = 240
value = 10000,29
[State 11051]
type = BGPalFx
trigger1 = time = 240
mul = 256,256,256
invertall = 1
color = 0
time = 15
ignorehitpause = 1
[State 11052]
type = Explod
trigger1 = time = 240
anim = 1930
pos = 14, -110
postype = p1
ownpal = 1
removetime = 15
sprpriority = 4
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999

[State 192]
type = PlaySnd
trigger1 = time = 300
value = 10000,0
[state a]
type = playsnd
trigger1 = time = 300
value = 10000,18
[state a]
type = playsnd
trigger1 = time = 300
value = 10000,28
[state a]
type = playsnd
trigger1 = time = 300
value = 10000,49

[State 1000, 5]
type = Explod
trigger1 = time = 300
anim = 10090
id = 10090
sprpriority = 5
postype = p1
pos = 0,0
ownpal = 1
bindtime = 1
removetime = 5
supermove = 0
under = 0
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999
[State 1000, 5]
type = Explod
trigger1 = time = 300
anim = 10090
id = 10090
sprpriority = 5
postype = p1
pos = 0,30
ownpal = 1
bindtime = 1
removetime = 15
supermove = 0
scale = 0.8,0.8
under = 0
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999
[State 1000, 5]
type = Explod
trigger1 = time = 300
anim = 10090
id = 10090
sprpriority = 5
postype = p1
pos = 0,0
ownpal = 1
bindtime = 1
removetime = 20
supermove = 0
scale = 0.6,0.6
under = 0
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999
[State 1000, 5]
type = Explod
trigger1 = time = 300
anim = 10090
id = 10090
sprpriority = 5
postype = p1
pos = 0,0
ownpal = 1
bindtime = 1
removetime = 25
supermove = 0
scale = 0.3,0.3
under = 0
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999
[State 1000, 5]
type = Explod
trigger1 = time = 300
anim = 10090
id = 10090
sprpriority = 5
postype = p1
pos = 0,0
ownpal = 1
bindtime = 1
removetime = 30
supermove = 0
scale = 0.1,0.1
under = 0
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999
[State 1000, 5]
type = Explod
trigger1 = time = 300
anim = 2551
id = 2551
ownpal = 1
sprpriority = 1
postype = p1
pos = 0,5
bindtime = 1
supermove = 0
under = 0
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999

[State 1000, 5]
type = Explod
trigger1 = time = 300
anim = 22108
sprpriority = 999
postype = p1
pos = 0,-100
ownpal = 1
bindtime = 1
supermove = 0
under = 0
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999

[State 1000, 5]
type = Explod
trigger1 = time = 300
anim = 221081
sprpriority = 999
postype = p1
pos = 0,-100
ownpal = 1
bindtime = 1
supermove = 0
under = 0
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999

[State 1000, 5]
type = EnvShake
trigger1 = time = 300
time = 15
ampl = -15
freq = 95
phase = 95

[State 191] 
type = AssertSpecial
trigger1 = Time = [0,1750]
trigger1 = 1
flag = Intro

[State 191, 4] 
type = ChangeState
trigger1 = AnimTime = 0
value = 0

;===========================================================================
;---------------------------------------------------------------------------
[Statedef 193]; 搊応 搢偟偰尒偣傛
;---------------------------------------------------------------------------
;===========================================================================
type = S
ctrl = 0
anim = 196000
velset = 0,0

[State 190]
type = AssertSpecial
trigger1 = 1
flag = nobardisplay
flag2 = nofg
flag3 = nobg
ignorehitpause = 1

[State 190]
type = PlaySnd
trigger1 = Time = 0||Time = 60||Time = 120||Time = 160||Time = 200||Time = 240||Time = 260||Time = 280||Time = 300||Time = 320||Time = 340||Time = 360||Time = 370||Time = 380||Time = 390||Time = 400||Time = 410||Time = 420
value = 10000,26
volume = 255

[State 190]
type = PlaySnd
trigger1 = time = 430
value = 190,1
volume= 255

[State 190]
type = PlaySnd
trigger1 = time = 550
value = 190,2
volume= 255

[State 190]
type = PlaySnd
trigger1 = time = 430
value = 190,0
freqmul = 1.2
volume= 255

[State 190];岝偺棻
type = Explod
trigger1 = time >= 0
trigger1 = GameTime%6 = 1
anim = 28200
id = 28200
sprpriority = 5
postype = p1
pos = var(50),var(51)
bindtime = 1
ownpal = 1
trans = sub
persistent = 1
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999

[State 190]
type = Explod
trigger1 = time = 430
anim = 191
id = 191
sprpriority = 5
postype = p1
pos = 0,0
bindtime = 1
supermove = 1
under = 0
ownpal = 1
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999

[State 190] 
type = AssertSpecial
trigger1 = Time = [0,1750]
trigger1 = 1
flag = Intro

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

;===========================================================================
;---------------------------------------------------------------------------
[Statedef 194]; 搊応 場壥丒丒丒偝偁丄偨偍偟偰傒偣傛
;---------------------------------------------------------------------------
;===========================================================================
type = S
ctrl = 0
anim = 195
velset = 0,0

[State 191, 3]
type = PlaySnd
trigger1 = time = 0
value = 10000,47

[State 191, 3]
type = PlaySnd
trigger1 = time = 370
value = 10000,0

[State 191, 3]
type = PlaySnd
trigger1 = time = 370
value = 2000,0
freqmul = 1.3

[State 191, 3]
type = PlaySnd
trigger1 = time = 430
value = 2000,1
freqmul = 1.5

[State 191, 3]
type = PlaySnd
trigger1 = time = 480
value = 2000,2
freqmul = 1.7

[State 191, 3]
type = PlaySnd
trigger1 = time = 530
value = 2200,0
freqmul = 0.9

[State 191, 3]
type = PlaySnd
trigger1 = time = 580
value = 190,0
freqmul = 0.9

[State a];岝偺棻
type = Explod
trigger1 = time >= 0
trigger1 = GameTime%6 = 1
anim = 28200
id = 28200
sprpriority = 5
postype = p1
pos = var(50),var(51)
bindtime = 1
ownpal = 1
trans = sub
persistent = 1
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999

[State 191] 
type = AssertSpecial
trigger1 = Time = [0,1750]
trigger1 = 1
flag = Intro

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

;===========================================================================
;---------------------------------------------------------------------------
[Statedef 18400]
;---------------------------------------------------------------------------
;===========================================================================
type = S
ctrl = 0
anim = 18400
velset = 0,0
range = 0,2

[State a];岝偺棻
type = Explod
trigger1 = time >= 0
trigger1 = GameTime%6 = 1
anim = 28200
id = 28200
sprpriority = 5
postype = p1
pos = var(50),var(51)
bindtime = 1
ownpal = 1
trans = sub
persistent = 1
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999

[State 191, 3]
type = PlaySnd
trigger1 = animelem = 12
value = 10000,0

[state a]
type = playsnd
trigger1 = animelem = 12
value = 10000,18
[state a]
type = playsnd
trigger1 = animelem = 12
value = 10000,28
[state a]
type = playsnd
trigger1 = animelem = 12
value = 10000,49

[State 1000, 5]
type = Explod
trigger1 = animelem = 12
anim = 10090
id = 10090
sprpriority = 5
postype = p1
pos = 0,0
ownpal = 1
bindtime = 1
removetime = 5
supermove = 0
under = 0
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999
[State 1000, 5]
type = Explod
trigger1 = animelem = 12
anim = 10090
id = 10090
sprpriority = 5
postype = p1
pos = 0,30
ownpal = 1
bindtime = 1
removetime = 15
supermove = 0
scale = 0.8,0.8
under = 0
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999
[State 1000, 5]
type = Explod
trigger1 = animelem = 12
anim = 10090
id = 10090
sprpriority = 5
postype = p1
pos = 0,0
ownpal = 1
bindtime = 1
removetime = 20
supermove = 0
scale = 0.6,0.6
under = 0
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999
[State 1000, 5]
type = Explod
trigger1 = animelem = 12
anim = 10090
id = 10090
sprpriority = 5
postype = p1
pos = 0,0
ownpal = 1
bindtime = 1
removetime = 25
supermove = 0
scale = 0.3,0.3
under = 0
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999
[State 1000, 5]
type = Explod
trigger1 = animelem = 12
anim = 10090
id = 10090
sprpriority = 5
postype = p1
pos = 0,0
ownpal = 1
bindtime = 1
removetime = 30
supermove = 0
scale = 0.1,0.1
under = 0
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999
[State 1000, 5]
type = Explod
trigger1 = animelem = 12
anim = 2551
id = 2551
ownpal = 1
sprpriority = 1
postype = p1
pos = 0,5
bindtime = 1
supermove = 0
under = 0
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999

[State 1000, 5]
type = Explod
trigger1 = animelem = 12
anim = 22108
sprpriority = 999
postype = p1
pos = 0,-100
ownpal = 1
bindtime = 1
supermove = 0
under = 0
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999

[State 1000, 5]
type = Explod
trigger1 = animelem = 12
anim = 221081
sprpriority = 999
postype = p1
pos = 0,-100
ownpal = 1
bindtime = 1
supermove = 0
under = 0
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999

[State 1000, 5]
type = EnvShake
trigger1 = animelem = 12
time = 15
ampl = -15
freq = 95
phase = 95

[State 191, 3]
type = PlaySnd
trigger1 = animelem = 6
value = 181,0
volume = 255
freqmul = 0.9

[State 191] 
type = AssertSpecial
trigger1 = Time = [0,1750]
trigger1 = 1
flag = Intro

[State 191, 4] 
type = ChangeState
trigger1 = AnimTime = 0
value = 0

;===========================================================================
;---------------------------------------------------------------------------
[Statedef 195]
;---------------------------------------------------------------------------
;===========================================================================
type    = S
movetype= A
physics = S
juggle  = 7
poweradd= 30
ctrl = 0
velset = 0,0
anim = 18100
sprpriority = 5

[State 195]
type = varset
trigger1 = time = 0
v = 30
value = 1  

[state 195]
type = Explod
trigger1 = time = 20
anim = 32100
sprpriority = -4
postype = p1
pos = 6,-159
bindtime = -1
supermove = 1
under = 0
ownpal = 1
removetime = 56
scale = 0.65,0.65
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999

[state 195]
type = Explod
trigger1 = time = 76
anim = 32200
sprpriority = -4
postype = p1
pos = 6,-159
bindtime = -1
supermove = 1
under = 0
ownpal = 1
removetime = 10
scale = 0.65,0.65
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999

[State 195]
type = helper
triggerall = palno = [7,12]
triggerall = !ishelper
trigger1 = AnimElem = 6
id = 16500
persistent = 0
name = "monsyou"
pos = 0,-100
size.xscale = 0.9
size.yscale = 0.9
postype = p1
stateno = 150
helpertype = player
keyctrl = 0
ownpal = 1
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999

[State 195]
type = PlaySnd
trigger1 = animelem = 6
value = 195,0
volume = 255
freqmul = 0.9

[State 195]
type = ChangeState
trigger1 = animtime = 0
value = 0
ctrl = 1

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

[state 5000]
type = destroyself
triggerall = enemynear,name != "genjitsu"
trigger1 = ishelper

[State 5000]
type = ChangeAnim
trigger1 = Time = 0
trigger1 = GetHitVar(animtype) != [3,5]
value = ifelse((GetHitVar(groundtype) = 1),5000,5010) + GetHitVar(animtype)

[State 5000]
type = ChangeAnim
trigger1 = Time = 0
trigger1 = GetHitVar(animtype) = [3,5]
value = 5030

[State 5000]
type = ChangeAnim
trigger1 = Time = 0
trigger1 = (GetHitVar(animtype) = [4,5]) && (SelfAnimExist(5047 + GetHitVar(animtype)))
value = 5047 + GetHitVar(animtype)

[State 5000]
type = ChangeAnim
trigger1 = Time > 0
value = anim

[State 5000]
type = StateTypeSet
trigger1 = Time = 0
trigger1 = GetHitVar(yvel) != 0 || GetHitVar(fall)
trigger2 = Pos Y != 0
statetype = a

[State 5000]
type = ChangeState
trigger1 = HitShakeOver
trigger1 = GetHitVar(yvel) = 0 && !GetHitVar(fall)
value = 5001

[State 5000]
type = ChangeState
trigger1 = HitShakeOver
value = 5030

[State 5000]
type = ForceFeedback
trigger1 = anim = 5000
trigger2 = anim = 5010
persistent = 0
time = 6
waveform = square

[State 5000]
type = ForceFeedback
trigger1 = anim = 5001
trigger2 = anim = 5011
persistent = 0
time = 8
waveform = sinesquare
ampl = 110,-1,-.3

[State 5000]
type = ForceFeedback
trigger1 = anim = 5012
trigger2 = anim = 5002
trigger3 = anim = 5030
persistent = 0
time = 15
waveform = sinesquare
ampl = 140

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

[state 5001]
type = destroyself
triggerall = enemynear,name != "genjitsu"
trigger1 = ishelper

[State 5001]
type = HitVelSet
trigger1 = Time = 0
x = 1

[State 5001]
type = ChangeAnim
trigger1 = AnimTime = 0
value = 5005 + GetHitVar(animtype) + (GetHitVar(groundtype)=2)*10

[State 5001]
type = VelMul
trigger1 = Time >= GetHitVar(slidetime)
x = .6

[State 5001]
type = VelSet
trigger1 = HitOver
x = 0

[State 5001]
type = DefenceMulSet
trigger1 = HitOver
value = 1

[State 5001]
type = ChangeState
trigger1 = HitOver
value = 0
ctrl = 1

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

[state 5010]
type = destroyself
triggerall = enemynear,name != "genjitsu"
trigger1 = ishelper

[State 5010]
type = ChangeAnim
trigger1 = Time = 0
trigger1 = GetHitVar(animtype) != [3,5]
value = 5020 + GetHitVar(animtype)

[State 5010]
type = ChangeAnim
trigger1 = Time = 0
trigger1 = GetHitVar(animtype) = [3,5]
value = 5030

[State 5010]
type = ChangeAnim
trigger1 = Time = 0
trigger1 = (GetHitVar(animtype) = [4,5]) && (SelfAnimExist(5047 + GetHitVar(animtype)))
value = 5047 + GetHitVar(animtype)

[State 5010]
type = ChangeAnim
trigger1 = Time > 0
value = anim

[State 5010]
type = StateTypeSet
triggerall = Time = 0
trigger1 = GetHitVar(yvel) != 0 || GetHitVar(fall)
trigger2 = Pos Y != 0
statetype = a

[State 5010]
type = ChangeState
trigger1 = HitShakeOver
trigger1 = GetHitVar(yvel) = 0 && !GetHitVar(fall)
value = 5011

[State 5010]
type = ChangeState
trigger1 = HitShakeOver
value = 5030

[State 5010]
type = ForceFeedback
trigger1 = anim = 5020
persistent = 0
time = 6
waveform = square

[State 5010]
type = ForceFeedback
trigger1 = anim = 5021
persistent = 0
time = 8
waveform = sinesquare
ampl = 110,-1,-.3

[State 5010]
type = ForceFeedback
trigger1 = anim = 5022
persistent = 0
time = 15
waveform = sinesquare
ampl = 140

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

[state 5011]
type = destroyself
triggerall = enemynear,name != "genjitsu"
trigger1 = ishelper

[State 5011]
type = HitVelSet
trigger1 = Time = 0
x = 1

[State 5011]
type = ChangeAnim
trigger1 = AnimTime = 0
value = 5025 + GetHitVar(animtype)

[State 5011]
type = VelMul
trigger1 = Time >= GetHitVar(slidetime)
x = .6

[State 5011]
type = VelSet
trigger1 = HitOver
x = 0

[State 5011]
type = DefenceMulSet
trigger1 = HitOver
value = 1

[State 5011]
type = ChangeState
trigger1 = HitOver
value = 11
ctrl = 1

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

[state 5020]
type = destroyself
triggerall = enemynear,name != "genjitsu"
trigger1 = ishelper

[State 5020]
type = ChangeAnim
trigger1 = Time = 0
trigger1 = GetHitVar(animtype) != [3,5]
value = ifelse((GetHitVar(airtype) = 1),5000,5010) + GetHitVar(animtype)

[State 5020]
type = ChangeAnim
trigger1 = Time = 0
trigger1 = GetHitVar(animtype) = [3,5]
value = 5030

[State 5020]
type = ChangeAnim
trigger1 = Time = 0
trigger1 = (GetHitVar(animtype) = [4,5]) && (SelfAnimExist(5047 + GetHitVar(animtype)))
value = 5047 + GetHitVar(animtype) ;5051 - 4 + type

[State 5020]
type = ChangeAnim
trigger1 = Time > 0
value = anim

[State 5020]
type = ChangeState
trigger1 = HitShakeOver
value = 5030

[State 5020]
type = ForceFeedback
trigger1 = anim = 5000
trigger2 = anim = 5010
persistent = 0
time = 6
waveform = square

[State 5020]
type = ForceFeedback
trigger1 = anim = 5001
trigger2 = anim = 5011
persistent = 0
time = 8
waveform = sinesquare
ampl = 110,-1,-.3

[State 5020]
type = ForceFeedback
trigger1 = anim = 5012
trigger2 = anim = 5002
trigger3 = anim = 5030
trigger4 = anim = [5051,5059]
persistent = 0
time = 15
waveform = sinesquare
ampl = 140

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

[state 5030]
type = destroyself
triggerall = enemynear,name != "genjitsu"
trigger1 = ishelper

[State 5030]
type = VelAdd
trigger1 = 1
y = GetHitVar(yaccel)

[State 5030]
type = HitVelSet
trigger1 = Time = 0
x = 1
y = 1

[State 5030]
type = ChangeState
triggerall = !HitFall
trigger1 = HitOver
trigger2 = Vel Y > 0 
trigger2 = Pos Y >= 10 
value = 5040

[State 5030]
type = ChangeState
triggerall = HitFall
trigger1 = HitOver
trigger2 = Vel Y > 0 
trigger2 = Pos Y >= 10
value = 5050 

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

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

[state 5035]
type = destroyself
triggerall = enemynear,name != "genjitsu"
trigger1 = ishelper

[State 5035]
type = ChangeAnim
trigger1 = Time = 0
trigger1 = SelfAnimExist(5035)
trigger1 = Anim != [5051,5059] 
trigger1 = Anim != 5090 
value = 5035

[State 5035]
type = VelAdd
trigger1 = 1
y = GetHitVar(yaccel)

[State 5035]
type = ChangeState
triggerall = !HitFall
trigger1 = HitOver  
trigger2 = AnimTime = 0
trigger3 = Vel Y > 0   
trigger3 = Pos Y >= 10  
trigger4 = Time = 0     
trigger4 = Anim != 5035
value = 5040 

[State 5035]
type = ChangeState
triggerall = HitFall
trigger1 = HitOver  
trigger2 = AnimTime = 0 
trigger3 = Vel Y > 0   
trigger3 = Pos Y >= 10  
trigger4 = Time = 0    
trigger4 = Anim != 5035 
value = 5050

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

[state 5040]
type = destroyself
triggerall = enemynear,name != "genjitsu"
trigger1 = ishelper

[State 5040]
type = ChangeState
trigger1 = !Alive
value = 5050

[State 5040]
type = ChangeAnim
trigger1 = AnimTime = 0
trigger1 = Anim != 5040
trigger2 = Time = 0
trigger2 = Anim != 5035
value = 5040

[State 5040]
type = CtrlSet
trigger1 = HitOver
value = 1

[State 5040]
type = StateTypeSet
trigger1 = HitOver
movetype = I

[State 5040]
type = VelAdd
trigger1 = 1
y = GetHitVar(yaccel)

[State 5040]
type = ChangeState
trigger1 = Vel Y > 0
trigger1 = Pos Y >= 0
value = 52

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

[state 5050]
type = destroyself
triggerall = enemynear,name != "genjitsu"
trigger1 = ishelper

[State 5050]
type = ChangeAnim
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 5050]
type = ChangeAnim
trigger1 = anim = [5050,5059]
trigger1 = Vel Y >= ifelse(anim = 5050, 1, -2)
trigger1 = SelfAnimExist(anim+10)
value = anim+10
persistent = 0

[State 5050]
type = VelAdd
trigger1 = 1
y = GetHitVar(yaccel)

[State 5050]
type = ChangeState
triggerall = Vel Y > 0
triggerall = Pos Y >= -20
triggerall = alive
triggerall = CanRecover
trigger1 = Command = "recovery"
value = 5200

[State 5050]
type = ChangeState
triggerall = Vel Y > -1
triggerall = alive
triggerall = CanRecover
trigger1 = Command = "recovery"
value = 5210

[State 5050]
type = ChangeState
trigger1 = Vel Y > 0
trigger1 = Pos Y >= ifelse((anim = [5051,5059]) || (anim = [5061,5069]), 0, 25)
value = 5100

[state 5050, 10]
type = lifeset
triggerall = enemynear,name != "genjitsu"
triggerall = ishelper
trigger1 = 1
value = lifemax
ignorehitpause = 1

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

[state 5070]
type = destroyself
triggerall = enemynear,name != "genjitsu"
trigger1 = ishelper

[State 5070]
type = ChangeAnim 
trigger1 = 1
value = 5070

[State 5070]
type = ChangeState
trigger1 = HitShakeOver
value = 5071

[State 5070]
type = ForceFeedback
trigger1 = time = 0
time = 12
waveform = sinesquare
ampl = 140

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

[state 5071]
type = destroyself
triggerall = enemynear,name != "genjitsu"
trigger1 = ishelper

[State 5071]
type = HitVelSet
trigger1 = Time = 0
x = 1
y = 1

[State 5071]
type = VelAdd
trigger1 = 1
y = GetHitVar(yaccel)

[State 5071]
trigger1 = Vel Y > 0
trigger1 = Pos Y >= 15
type = ChangeState
value = 5110

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

[state 5080]
type = destroyself
triggerall = enemynear,name != "genjitsu"
trigger1 = ishelper

[State 5080]
type = VarSet
trigger1 = time = 0
fvar(32) = ifelse (GetHitVar(yvel) = 0, 5080, 5090)

[State 5080]
type = VarAdd
trigger1 = time = 0
trigger1 = (anim = [5081,5089]) || (anim = [5111,5119])
trigger1 = SelfAnimExist(fvar(32) + (anim % 10))
fvar(32) = anim % 10

[State 5080]
type = VarSet
trigger1 = time = 0
trigger1 = fvar(32) = 5090
trigger1 = !SelfAnimExist(5090)
fvar(32) = 5030

[State 5080]
type = ChangeAnim
trigger1 = 1
value = fvar(32)

[State 5080, 4]
type = ChangeState
trigger1 = HitShakeOver
trigger1 = GetHitVar(yvel) = 0
value = 5081

[State 5080]
type = ChangeState
trigger1 = HitShakeOver
trigger1 = GetHitVar(yvel) != 0
value = 5030

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

[state 5081]
type = destroyself
triggerall = enemynear,name != "genjitsu"
trigger1 = ishelper

[State 5081]
type = HitVelSet
trigger1 = Time = 0
x = 1

[State 5081]
type = VelSet
trigger1 = HitOver
x = 0

[State 5081]
type = VarSet
trigger1 = Time = 0
fvar(30) = 1

[State 5081]
type = ChangeState
trigger1 = HitOver
value = 5110

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

[state 5100]
type = destroyself
triggerall = enemynear,name != "genjitsu"
trigger1 = ishelper

[State 5100]
type = VelSet
trigger1 = Time = 0
trigger1 = GetHitVar(fall.yvel) = 0
trigger1 = vel x > 1
x = 1

[State 5100]
type = FallEnvShake
trigger1 = Time = 0

[State 5100]
type = VarSet
trigger1 = Time = 0
fvar(31) = floor(vel y)

[State 5100]
type = ChangeAnim
triggerall = time = 0
trigger1 = (anim != [5051,5059]) && (anim != [5061,5069])
trigger2 = !SelfAnimExist(5100 + (anim % 10))
value = 5100

[State 5100]
type = ChangeAnim
trigger1 = time = 0
trigger1 = (anim = [5051,5059]) || (anim = [5061,5069])
trigger1 = SelfAnimExist(5100 + (anim % 10))
value = 5100 + (anim % 10)

[State 5100]
type = PosSet
trigger1 = Time = 0
y = 0

[State 5100]
type = VelSet
trigger1 = Time = 0
y = 0

[State 5100]
type = VelMul
trigger1 = Time = 0
x = 0.75

[State 5100]
type = ChangeState
trigger1 = Time = 0
trigger1 = GetHitVar(fall.yvel) = 0
value = 5110

[State 5100]
type = GameMakeAnim
trigger1 = Time = 1
value = 60 + (fvar(31) > 5) + (fvar(31) > 14)
pos = 0, 0
under = fvar(31) <= 14

[State 5100]
type = HitFallDamage
triggerall = name != "EXERION"
trigger1 = Time = 3

[State 5100]
type = PlaySnd
trigger1 = Time = 1
value = F7, (fvar(31) > 5) + (fvar(31) > 14)

[State 5100]
type = PosFreeze
trigger1 = 1

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

[State 5100]
type = ForceFeedback
trigger1 = Time = 0
waveform = sinesquare
ampl = 128,-3,-.2,.005
time = 20

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

[state 5101]
type = destroyself
triggerall = enemynear,name != "genjitsu"
trigger1 = ishelper

[State 5101]
type = ChangeAnim
triggerall = time = 0
trigger1 = anim != [5101,5109]
trigger2 = !SelfAnimExist(5160 + (anim % 10))
value = 5160

[State 5101]
type = ChangeAnim
triggerall = time = 0
trigger1 = anim = [5101,5109]
trigger1 = SelfAnimExist(5160 + (anim % 10))
value = 5160 + (anim % 10)

[State 5101]
type = HitFallVel
trigger1 = Time = 0

[State 5101]
type = PosSet
trigger1 = Time = 0
y = 20

[State 5101]
type = VelAdd
trigger1 = 1
y = .4

[State 5101]
trigger1 = Vel Y > 0
trigger1 = Pos Y >= 12
type = ChangeState
value = 5110

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

[state 5110]
type = destroyself
triggerall = enemynear,name != "genjitsu"
trigger1 = ishelper

[State 5110]
type = FallEnvShake
trigger1 = Time = 0

[State 5110]
type = ChangeAnim
persistent = 0
trigger1 = SelfAnimExist(5110 + (anim % 10))
trigger1 = anim = [5081,5089]
value = 5110 + (anim % 10)

[State 5110]
type = ChangeAnim
triggerall = time = 0
triggerall = anim != [5110,5119]
trigger1 = anim != [5161,5169]
trigger2 = !SelfAnimExist(5170 + (anim % 10))
value = 5170

[State 5110]
type = ChangeAnim
triggerall = time = 0
triggerall = anim != [5110,5119]
trigger1 = anim = [5161,5169]
trigger1 = SelfAnimExist(5170 + (anim % 10))
value = 5170 + (anim % 10)

[State 5110]
type = HitFallDamage
triggerall = name != "EXERION"
trigger1 = Time = 0

[State 5110]
type = PosSet
trigger1 = Time = 0
y = 0

[State 5110]
type = VarSet
trigger1 = Time = 0
trigger1 = GetHitVar(fall.yvel) != 0
fvar(31) = floor(vel y)

[State 5110]
type = PlaySnd
trigger1 = Time = 0
trigger1 = !fvar(30)
value = F7, (fvar(31) > 5) + (fvar(31) > 14)

[State 5110]
type = GameMakeAnim
trigger1 = Time = 0
trigger1 = !fvar(30)
value = 60 + (fvar(31) > 5) + (fvar(31) > 14)
pos = 0, 0
under = fvar(31) <= 14

[State 5110]
type = VelSet
trigger1 = Time = 0
y = 0

[State 5110]
type = ChangeAnim
persistent = 0
triggerall = anim = [5171,5179]
triggerall = SelfAnimExist(5110 + (anim % 10))
trigger1 = AnimTime = 0
trigger2 = fvar(30)
value = 5110 + (anim % 10)

[State 5110]
type = ChangeAnim
persistent = 0
triggerall = Anim != [5111,5119]
trigger1 = AnimTime = 0
trigger2 = fvar(30)
value = 5110

[State 5110]
type = ChangeState
triggerall = !alive
trigger1 = AnimTime = 0
trigger2 = fvar(30)
trigger3 = Anim = [5110,5119]
value = 5150

[State 5110]
type = VarSet
trigger1 = fvar(30)
trigger1 = Time = 0
fvar(30) = 0

[State 5110]
type = VelMul
trigger1 = 1
x = 0.85

[State 5110]
type = ForceFeedback
trigger1 = alive
trigger1 = Time = 0
time = 8
ampl = 240
waveform = sine

[State 5110]
type = ForceFeedback
trigger1 = !alive
trigger1 = Time = 0
ampl = 200, 7, -.467
time = 30
waveform = sine

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

[state 5120]
type = destroyself
triggerall = enemynear,name != "genjitsu"
trigger1 = ishelper

[State 5120]
type = ChangeAnim
triggerall = time = 0
trigger1 = anim != [5111,5119]
trigger2 = !SelfAnimExist(5120 + (anim % 10))
value = 5120

[State 5120]
type = ChangeAnim
triggerall = time = 0
trigger1 = anim = [5111,5119]
trigger1 = SelfAnimExist(5120 + (anim % 10))
value = 5120 + (anim % 10)

[State 5120]
type = VelSet
trigger1 = Time = 0
x = 0

[State 5120]
type = NotHitBy
trigger1 = 1
value = SCA
time = 1

[State 5120]
type = HitFallSet
trigger1 = AnimTime = 0
value = 1

[State 5120]
type = NotHitBy
trigger1 = AnimTime = 0
value = , NT,ST,HT
time = 12

[State 5120]
type = NotHitBy
trigger1 = AnimTime = 0
value2 = SCA
time = 3

[State 5120]
type = ChangeState
trigger1 = AnimTime = 0
value = 0
ctrl = 1

;===========================================================================
;---------------------------------------------------------------------------
[Statedef 5150]
;---------------------------------------------------------------------------
;===========================================================================
type    = L
movetype= H
physics = N
sprpriority = -3

[state 5150]
type = AssertSpecial
trigger1 = name !="EXERION"
flag = Invisible
ignorehitpause = 1

[State 5150]
type = lifeset
trigger1 = name !="EXERION"
value = 0
ignorehitpause = 1
[State 5150]
type = powerset
trigger1 = name !="EXERION"
value = 0
ignorehitpause = 1
[State 5150]
type = Afterimagetime
trigger1 = name !="EXERION"
time = 0
ignorehitpause = 1
[State 5150]
type = PosSet
trigger1 = name != "EXERION"
y = 0
[state 5150]
type = destroyself
triggerall = ishelper
trigger1 = name = "EXERION"
[State 5150]
type = NotHitBy
trigger1 = 1
value = SCA

;帺暘

[State 5150]
type = ChangeAnim
triggerall = Time = 0
triggerall = SelfAnimExist(5140)
trigger1 = (anim != [5111,5119]) && (anim != [5171,5179])
trigger2 = !SelfAnimExist(5140 + (anim % 10))
value = 5140

[State 5150]
type = ChangeAnim
trigger1 = Time = 0
trigger1 = (anim = [5111,5119]) || (anim = [5171,5179])
trigger1 = SelfAnimExist(5140 + (anim % 10))
value = 5140 + (anim % 10)

[State 5150]
type = ChangeAnim
persistent = 0
trigger1 = MatchOver = 1
trigger1 = Anim = [5140,5149]
trigger1 = SelfAnimExist(anim+10)
value = anim+10

[State 5150]
type = ChangeAnim
trigger1 = Time = 0
trigger1 = Anim != [5140,5159]
trigger1 = Anim != [5110,5119]
value = 5110

[State 5150]
type = VelMul
trigger1 = 1
x = 0.85

[State 5150]
type = VelSet
trigger1 = Vel x < .05
persistent = 0
x = 0

[State 5150]
type = VelSet
triggerall = name = "EXERION"
triggerall = palno = 12
trigger1 = pos Y > 0
x = 0
y = 0
[State 5150]
type = posset
triggerall = name = "EXERION"
triggerall = palno = 12
trigger1 = pos Y > 0
x = 0
y = 0

[State 5150]
type = changestate
triggerall = name = "EXERION"
triggerall = palno = 12
trigger1 = alive
trigger2 = drawgame
value = 24640
ignorehitpause = 1

[State 5150]
type = ChangeAnim
triggerall = name = "EXERION"
triggerall = palno = 12
triggerall = !ishelper
trigger1 = pos Y >= 0
trigger1 = pos X >= 0
trigger1 = animtime = 0
value = 17000
ignorehitpause = 1

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

[State 5200, 1] ;Change anim if done with transition
type = ChangeAnim
trigger1 = Anim = 5035
trigger1 = AnimTime = 0
value = 5050

[State 5200, 2]
type = VelAdd
trigger1 = 1
y = GetHitVar(yaccel)

[State 5200, 3]
type = SelfState
trigger1 = Vel Y > 0
trigger1 = Pos Y >= 10
value = 5201

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

[State 5201, 1] ;Turn if not facing opponent
type = Turn
trigger1 = Time = 0
trigger1 = p2dist X < -5

[State 5201, 2]
type = VelSet
trigger1 = Time = 0
x = -.15
y = -3.5

[State 5201, 3]
type = PosSet
trigger1 = Time = 0
y = 0

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

[State 5201, 5] ;Blink white
type = PalFX
trigger1 = Time = 0
time = 3
add = 128,128,128 ;256,256,256

[State 5201, 6]
type = GameMakeAnim
trigger1 = Time = 1
value = 60
pos = 0, 0
under = 1

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

[State 5210, 1] ;Blink white
type = PalFX
trigger1 = Time = 0
time = 3
add = 128,128,128 ;256,256,256

[State 5210, 1]
type = PosFreeze
trigger1 = Time = 0
value = 4

[State 5210, 2] ;Turn if not facing opponent
type = Turn
trigger1 = Time = 0
trigger1 = p2dist X < -20

[State 5210, 1] 
type = VelMul
trigger1 = Time = 4
x = .8
y = .8

[State 5210, 1]
type = VelAdd
trigger1 = Time = 4
y = -4.5

[State 5210, 1] 
type = VelMul
trigger1 = Time = 4
trigger1 = Vel Y > 0
y = .5

[State 5210, 1]
type = VelAdd
trigger1 = Time = 4
trigger1 = Vel Y > -3
y = -2

[State 5210, 1]
type = VelAdd
trigger1 = Time = 4
trigger1 = Vel Y > -2
y = -1

[State 5210, 2] ;Go up
type = VelAdd
trigger1 = Time = 4
trigger1 = Command = "holdup"
y = -2

[State 5210, 2] ;Go down
type = VelAdd
trigger1 = Time = 4
trigger1 = Command = "holddown"
y = 1.5

[State 5210, 2] ;Go fwd
type = VelMul
trigger1 = Time = 4
trigger1 = Command = "holdfwd"
x = 1

[State 5210, 2] ;Go back
type = VelAdd
trigger1 = Time = 4
trigger1 = Command = "holdback"
x = -1

[State 5210, 3]
type = NotHitBy
trigger1 = Time = 0
value = SCA
time = 15

[State 5210, 4]
type = CtrlSet
trigger1 = Time = 20
value = 1

[State 5210, 5]
type = VelAdd;Gravity
trigger1 = Time >= 4
y = .35

[State 5210, 5] ;Land on ground
type = ChangeState
trigger1 = Vel Y > 0
trigger1 = Pos Y >= 0
value = 52 ;JUMP_LAND
ctrl = 1

;===========================================================================
;---------------------------------------------------------------------------
[Statedef 5500]
;---------------------------------------------------------------------------
;===========================================================================
type = S
ctrl = 0
anim = 5300
velset = 0,0

[State 5500, 1] ;Use continue animation if available
type = ChangeAnim
trigger1 = time = 0
trigger1 = SelfAnimExist(5500)
value = 5500

;\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
;-------------------------------------------------------------------------------------------------------
;Var偺儔僂儞僪帩偪墇偟
;-------------------------------------------------------------------------------------------------------
;\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
;===========================================================================
;---------------------------------------------------------------------------
[Statedef 5900]
;---------------------------------------------------------------------------
;===========================================================================
type = S
anim = 1

[State 0]
type = ChangeAnim
triggerall = anim !=0
trigger1 = palno = [10,12]
value = 0

;=================================================================================
;=================================================================================
;12P壒妝
[State 5900]
type = PlaySnd
trigger1 = var(49) = 1
trigger2 = var(49) = 3
value = 10000,60
loop = 1
voulme = 255
persistent = 0;
ignorehitpause = 1
;=================================================================================
;=================================================================================

[State 0]
type = ChangeState
trigger1 = var(4) = 1
value = 0
ctrl = 1
ignorehitpause = 1

[State 0]
type = VarRangeSet
triggerall = !ishelper && name="EXERION"
trigger1 = TeamMode = turns
value = 0
persistent = 0
ignorehitpause = 1
[State 0]
type = VarRangeSet
triggerall = !ishelper && name="EXERION"
trigger1 = TeamMode = turns
fvalue = 0
persistent = 0
ignorehitpause = 1

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

[State 0]
type = destroyself
trigger1 = Ishelper
ignorehitpause = 1
[State 0]
type = powerset
trigger1 = name !="EXERION" && !ishelper
value = 0
ignorehitpause = 1
[State 0]
type = Lifeset
trigger1 = name !="EXERION" && !ishelper
value = 0
ignorehitpause = 1
[State 0]
type = SelfState
triggerall = name !="EXERION" && !ishelper
trigger1 = time > 0
value = 5050
ignorehitpause = 1
[State 0]
type = ChangeState
triggerall = name !="EXERION" && !ishelper
trigger1 = !alive
value = 5150
ignorehitpause = 1

