
[Statedef 1111]
type    = S
movetype= A
physics = S
ctrl = 0
movehitpersist = 1
hitdefpersist = 1

[State 1111]
type = Nothitby
trigger1 = 1
value = SCA
time = 1
ignorehitpause = 1

[State 1111]
type = selfstate
triggerall = name = "Will of prison flame"
trigger1 = !ishelper
value = 52
ctrl = 1
ignorehitpause = 1

[State 1111]
type=targetlifeadd
trigger1= numtarget
trigger1= target,life<=1200
value=-1
absolute=1
ignorehitpause=1

[State 1111]
type=targetlifeadd
trigger1= numtarget
trigger1= target,life<=1200
value=-1
absolute=1
ignorehitpause=1

[State 1111]
type = Assertspecial
trigger1 = 1
flag = invisible
flag2 = noshadow
ignorehitpause = 1

[State 1111]
type = Lifeset
triggerall = name != "Will of prison flame"
trigger1 = !ishelper
value = 0
ignorehitpause = 1

[State 1111]
type = Targetdrop
trigger1 = numtarget = 8
ignorehitpause = 1

[State 1111]
type = Projectile
triggerall = ishelper
triggerall = root,alive
triggerall = !root,ctrl
triggerall = root,stateno != 52
triggerall = !root,numprojid(66666)
trigger1 = time > 80
attr = SCA, AA,AT,AP
projid = 66666
hitflag = MAFLPD
projanim = anim
projpriority = 7
projremove = 0
projremovetime = 30
projmisstime = 1
projhits = 1
projheightbound = -1000000, 1000000
projedgebound = 1000000
projstagebound = 1000000
numhits = 0
postype = p2
offset = 0, -10000
sparkno = -1
guard.sparkno = -1
pausetime = 1, 2
p1stateno = 52
affectteam = b
supermovetime = 9999999999999
pausemovetime = 9999999999999
ignorehitpause = 1

[State 1111, 1]
type = projectile
triggerall = ishelper
triggerall = !root,numProjID(66664)
triggerall = root,alive
trigger1 = time < 40
attr = SCA, AA,AT,AP
damage = 1,0
projid = 66664
projanim = anim
projpriority = 7
projremove = 0
projremovetime = 30
postype = p2
numhits=0
hitflag = MAFDP
offset = 0,-1000
sparkno = -1
guard.sparkno = -1
pausetime = 0, 2
p1stateno = prevstateno
affectteam = b
supermovetime = 9999999999999
pausemovetime = 9999999999999
ignorehitpause = 1

[State 1111]
type = Destroyself
triggerall = ishelper
trigger1 = roundstate != 2
trigger2 = !root,alive
trigger3 = time >= 60
trigger4 = animelemtime(1) >= 60
projanim = anim
p1stateno = prevstateno
ignorehitpause = 1

[state -2,僗僥敳偗]
type = SelfState
triggerall = !ishelper
trigger1 = sysvar(0) != GameTime
trigger2 = !time
trigger3 = stateno != 0
trigger3 = stateno != [10,12]
trigger3 = stateno != [20, 21]
trigger3 = stateno != 40
trigger3 = stateno != [41, 47]
trigger3 = stateno != [50,52]
trigger3 = stateno != 100
trigger3 = stateno != 105
trigger3 = stateno != 110
trigger3 = stateno != 120
trigger3 = stateno != 130
trigger3 = stateno != 170
trigger3 = stateno != 175
trigger3 = stateno != [180,184]
trigger3 = stateno != [190,199]
trigger3 = stateno != [201,202]
trigger3 = stateno != 200
trigger3 = stateno != 210
trigger3 = stateno != 220
trigger3 = stateno != 230
trigger3 = stateno != 240
trigger3 = stateno != 250
trigger3 = stateno != 400
trigger3 = stateno != 410
trigger3 = stateno != 420
trigger3 = stateno != 430
trigger3 = stateno != 440
trigger3 = stateno != 450
trigger3 = stateno != 460
trigger3 = stateno != 600
trigger3 = stateno != 610
trigger3 = stateno != 620
trigger3 = stateno != 630
trigger3 = stateno != 640
trigger3 = stateno != 650
trigger3 = stateno != [900,935]
trigger3 = stateno != [1000,1002]
trigger3 = stateno != [1100,1103]
trigger3 = stateno != [1050,1053]
trigger3 = stateno != [1200,1205]
trigger3 = stateno != [1250,1255]
trigger3 = stateno != 1300
trigger3 = stateno != [1400,1401]
trigger3 = stateno != [1500,1505]
trigger3 = stateno != 1551
trigger3 = stateno != [1554,1555]
trigger3 = stateno != [1560,1561]
trigger3 = stateno != [1600,1602]
trigger3 = stateno != [1650,1651]
trigger3 = stateno != [1700,1701]
trigger3 = stateno != [1800,1807]
trigger3 = stateno != 1850
trigger3 = stateno != 1900
trigger3 = stateno != 2000
trigger3 = stateno != [2100,2101]
trigger3 = stateno != [2300,2301]
trigger3 = stateno != 2500
trigger3 = stateno != 3900
trigger3 = stateno != 2200
trigger3 = stateno != 5000
trigger3 = stateno != 5050
trigger3 = stateno != 5100
trigger3 = stateno != 5101
trigger3 = stateno != 5110
trigger3 = stateno != 5150
trigger3 = stateno != 5200
trigger3 = stateno != 5210
trigger3 = stateno != 5900
trigger3 = stateno != 20001
trigger3 = stateno != 20020
trigger3 = stateno != 20200
trigger4 = Var(59) != anim
value = anim
ignorehitpause = 1

[State -2, statetypeset 僗僥敳偗]
type = statetypeset
triggerall = !ishelper
trigger1 = sysvar(0) != GameTime
trigger2 = !time
trigger3 = stateno != 0
trigger3 = stateno != [10,12]
trigger3 = stateno != [20, 21]
trigger3 = stateno != 40
trigger3 = stateno != [41, 47]
trigger3 = stateno != [50,52]
trigger3 = stateno != 100
trigger3 = stateno != 105
trigger3 = stateno != 110
trigger3 = stateno != 120
trigger3 = stateno != 130
trigger3 = stateno != 170
trigger3 = stateno != 175
trigger3 = stateno != [180,184]
trigger3 = stateno != [190,199]
trigger3 = stateno != [201,202]
trigger3 = stateno != 200
trigger3 = stateno != 210
trigger3 = stateno != 220
trigger3 = stateno != 230
trigger3 = stateno != 240
trigger3 = stateno != 250
trigger3 = stateno != 400
trigger3 = stateno != 410
trigger3 = stateno != 420
trigger3 = stateno != 430
trigger3 = stateno != 440
trigger3 = stateno != 450
trigger3 = stateno != 460
trigger3 = stateno != 600
trigger3 = stateno != 610
trigger3 = stateno != 620
trigger3 = stateno != 630
trigger3 = stateno != 640
trigger3 = stateno != 650
trigger3 = stateno != [900,935]
trigger3 = stateno != [1000,1002]
trigger3 = stateno != [1100,1103]
trigger3 = stateno != [1050,1053]
trigger3 = stateno != [1200,1205]
trigger3 = stateno != [1250,1255]
trigger3 = stateno != 1300
trigger3 = stateno != [1400,1401]
trigger3 = stateno != [1500,1505]
trigger3 = stateno != 1551
trigger3 = stateno != [1554,1555]
trigger3 = stateno != [1560,1561]
trigger3 = stateno != [1600,1602]
trigger3 = stateno != [1650,1651]
trigger3 = stateno != [1700,1701]
trigger3 = stateno != [1800,1807]
trigger3 = stateno != 1850
trigger3 = stateno != 1900
trigger3 = stateno != 2000
trigger3 = stateno != [2100,2101]
trigger3 = stateno != [2300,2301]
trigger3 = stateno != 2500
trigger3 = stateno != 3900
trigger3 = stateno != 2200
trigger3 = stateno != 5000
trigger3 = stateno != 5050
trigger3 = stateno != 5100
trigger3 = stateno != 5101
trigger3 = stateno != 5110
trigger3 = stateno != 5150
trigger3 = stateno != 5200
trigger3 = stateno != 5210
trigger3 = stateno != 5900
trigger3 = stateno != 20001
trigger3 = stateno != 20020
trigger3 = stateno != 20200
trigger4 = Var(59) != anim
movetype = I
ignorehitpause = 1

[State -2, 旐抏僿儖僷乕屇傃弌偟]
type = helper
triggerall = !numhelper(152)
triggerall = !(enemynear,name = "Hama")
triggerall = !ishelper
trigger1 = palno = [11,12]
trigger2 = palno = 1
trigger2 = sysfvar(3) = 1
helpertype = player
stateno = 152
ID = 152
name = "HIDAN_helper"
postype = p1
ownpal = 0
pausemovetime = 999999999999
supermovetime = 999999999999
ignorehitpause = 1

[State -2]
type = Assertspecial
triggerall = ishelper
triggerall = life >= 1
triggerall = teammode = single || teammode = turns
trigger1 = root,palno = [1, 12]
trigger2 = root,palno = 1
trigger3 = roundstate > 2
flag = noko
flag2 = timerfreeze
ignorehitpause = 1
[State 158]
type = Projectile
triggerall = ishelper(158)
triggerall = root,palno = [1, 12]
triggerall = !(enemynear,authorname = "SAMSARA") || enemynear,name = "I-orin"
triggerall = !(enemynear,authorname = "Pre-to") || enemynear,authorname = "Pre-to" && enemynear,name = "magatu"
triggerall = !(enemynear,name = "Iris" || enemynear,name = "Legion" || enemynear,name = "1st Chaos Satellite" || enemynear,name = "Singularity" || enemynear,name = "Felix" || enemynear,name = "TOKI-TEN-KU")
triggerall = !(enemynear,name = "ore_no_ane" || enemynear,name = "VaiSaga" || enemynear,name = "systemer" || enemynear,name = "Mirror Cube Square" || enemynear,name = "Triangle Delta System" || enemynear,name = "Dark-Baltan")
trigger1 = gametime
projanim = 444444
projID = 444444
projremove = 0
projremovetime = 1
Projehits = 1
Projemisstime = 0
attr = SCA, AA, AT, AP
hitflag = MA
damage = 120, 60
priority = 7, hit
projpriority = 9999999999999
yaccel = 9999999999999
fall = 1
fall.recover = 0
fall.damage = 99999999999999
sparkno = -1
guard.sparkno = -1
supermovetime = 9999999999999
pausemovetime = 9999999999999
ignorehitpause = 1

;trigger1 = stateno != 200 || stateno != 210 || stateno != 220 || stateno != 230 || stateno != 240 || stateno != 250
;trigger1 = stateno != 400 || stateno != 410 || stateno != 420 || stateno != 430 || stateno != 440 || stateno != 450 || stateno != 460
;trigger1 = stateno != 600 || stateno != 610 || stateno != 620 || stateno != 630 || stateno != 640 || stateno != 650
;trigger1 = (stateno != [900,935]) || (stateno != [1100,1103]) || (stateno != [1000,1002]) || (stateno != [1100,1103]) || (stateno != [1000,1002])
;trigger1 = (stateno != [1050,1053]) || (stateno != [1200,1205]) || (stateno != [1250,1255]) || stateno != 1300 || (stateno != [1400,1401])
;trigger1 = (stateno != [1500,1505]) || stateno != 1551 || (stateno != [1555,1554]) || (stateno != [1560,1561]) || (stateno != [1600,1602])
;trigger1 = (stateno != [1650,1651]) || (stateno != [1700,1701]) || (stateno != [1800,1807]) || stateno != 1850 || stateno != 1900 || stateno != 2000
;trigger1 = (stateno != [2100,2101]) || stateno != 2200 || stateno != 2300 || stateno != 2500 || stateno != 3900 || stateno != 20001
;trigger1 = stateno != 20020 || stateno != 20200 || stateno != 5000 || stateno != 5020 || stateno != 5050 || stateno != 5150 || stateno != 5900 || (stateno != [201,202])
;trigger1 = stateno != 5100 || stateno != 5101 || stateno != 5110 || stateno != 5200 || stateno != 5210
;trigger1 = (stateno != [190,199]) || (stateno != [180,184]) || stateno != 175 || stateno != 170 || stateno != 130 || stateno != 120
;trigger1 = stateno != 110 || stateno != 105 || stateno != 100 || (stateno != [50,52]) || (stateno != [41, 47])
;trigger1 = stateno != 40 || (stateno != [20, 21]) || (stateno != [10,12]) || stateno != 0

[State 2200]
type = HitDef
triggerall = palno = [11,12]
triggerall = !ishelper
trigger1 = AnimElem = 13
trigger2 = AnimElem = 14
trigger3 = AnimElem = 15
trigger4 = AnimElem = 16
trigger5 = AnimElem = 17
trigger6 = AnimElem = 18
trigger7 = AnimElem = 19
trigger8 = AnimElem = 20
trigger9 = AnimElem = 21
trigger10 = AnimElem = 22
trigger11 = AnimElem = 23
trigger12 = AnimElem = 24
trigger13 = AnimElem = 25
trigger14 = AnimElem = 26
trigger15 = AnimElem = 27
trigger16 = AnimElem = 28
trigger17 = AnimElem = 29
trigger18 = AnimElem = 30
trigger19 = AnimElem = 31
trigger20 = AnimElem = 32
trigger21 = AnimElem = 33
trigger22 = AnimElem = 34
trigger23 = AnimElem = 35
trigger24 = AnimElem = 36
trigger25 = AnimElem = 37
trigger26 = AnimElem = 38
trigger27 = AnimElem = 39
trigger28 = AnimElem = 40
trigger29 = AnimElem = 41
trigger30 = AnimElem = 42
trigger31 = AnimElem = 43
trigger32 = AnimElem = 44
trigger33 = AnimElem = 45
trigger34 = AnimElem = 46
trigger35 = AnimElem = 47
trigger36 = AnimElem = 48
trigger37 = AnimElem = 49
trigger38 = AnimElem = 50
trigger39 = AnimElem = 51
trigger40 = AnimElem = 52
trigger41 = AnimElem = 53
trigger42 = AnimElem = 54
trigger43 = AnimElem = 55
trigger44 = AnimElem = 56
trigger45 = AnimElem = 57
trigger46 = AnimElem = 58
trigger47 = AnimElem = 59
trigger48 = AnimElem = 60
trigger49 = AnimElem = 61
trigger50 = AnimElem = 62
trigger51 = AnimElem = 63
trigger52 = AnimElem = 64
trigger53 = AnimElem = 65
trigger54 = AnimElem = 66
trigger55 = AnimElem = 67
trigger56 = AnimElem = 68
trigger57 = AnimElem = 69
trigger58 = AnimElem = 70
trigger59 = AnimElem = 71
trigger60 = AnimElem = 72
trigger61 = AnimElem = 73
trigger62 = AnimElem = 74
trigger63 = AnimElem = 75
trigger64 = AnimElem = 76
trigger65 = AnimElem = 77
trigger66 = AnimElem = 78
trigger67 = AnimElem = 79
trigger68 = AnimElem = 80
trigger69 = AnimElem = 81
trigger70 = AnimElem = 82
trigger71 = AnimElem = 83
trigger72 = AnimElem = 84
trigger73 = AnimElem = 85
trigger74 = AnimElem = 86
trigger75 = AnimElem = 87
trigger76 = AnimElem = 88
trigger77 = AnimElem = 89
trigger78 = AnimElem = 90
trigger79 = AnimElem = 91
trigger80 = AnimElem = 9
trigger81 = AnimElem = 10
trigger82 = AnimElem = 11
trigger83 = AnimElem = 12
attr = S,HA
damage = 60
animtype = up
getpower  = 10
givepower = 8
hitflag = MAFD
guardflag = MA
pausetime = 0,0
sparkno = 0
sparkxy = 0, -20
hitsound   = S5,3
guardsound = 6,0
ground.type = Low
ground.slidetime = 4
ground.hittime  = 15
ground.velocity = -2.8, -9
air.velocity = -2.8,-9
fall = 1
fall.recover = 0
ignorehitpause = 1

[State 190001, 懳1st R.S.P]
type = ParentVarSet
triggerall = PlayerIDExist(Parent,ID)
triggerall = Parent,TeamSide != TeamSide
triggerall = Parent,Name = "RSP" 
trigger1 = (sysvar(0) & 1)
var(39) = GameTime + 10005 + (Parent,MoveType = A)
ignorehitpause = 1















































































































































































[State 154,恊曄峏僿儖僷乕]
type = helper
trigger1 = roundstate <= 3
trigger1 = ishelper(154)
trigger1 = id%256 = [127,254]
trigger1 = playeridexist(id)
name = "id"
stateno = 156;8901016
id = 156;8901016
helpertype = player
pos = 0,0
postype = p1
facing = 1
keyctrl = 0
ownpal = 0
pausemovetime = 99999999
supermovetime = 99999999
ignorehitpause = 1

[State 150]
type=Explod
triggerall=ishelper(150)
trigger1=GameTime%85=1
anim=10016
id=10016
sprpriority=2147483647
postype=p1
pos=0,-50
bindtime=-1
trans=add
ontop=1
scale=0.75,0.75
ignorehitpause=1
supermovetime=2147483647
pausemovetime=2147483647

;乗乗乗乗乗乗乗乗乗乗乗乗乗乗乗乗乗乗乗乗乗乗乗乗乗乗乗乗乗乗乗
;LifeSet = 0

[Statedef 44445]
type = S
movetype = H
physics = N
ctrl = 0
velset = 0,0

[State 44445, Life傪0偵]
type = LifeSet
value = 0
trigger1 = 1
ignorehitpause = 1

[State 44445, 巰朣偟偨傜巰朣僗僥乕僩傊]
type = ChangeState
value = 5150
trigger1 = !Alive

[State 200, 儈僗偟偨傜暅婣]
type = SelfState
value = (RoundState>2)*5150
ctrl = !(RoundState>2)
trigger1 = time > 50
trigger2 = RoundState > 2	;嫮惂巰偺愰崘梡

;乗乗乗乗乗乗乗乗乗乗乗乗乗乗乗乗乗乗乗乗乗乗乗乗乗乗乗乗乗乗乗乗乗乗乗乗

[Statedef 29996]
type = S
movetype = I
physics = N
ctrl = 0
anim = -1

[State 29996, 曐尟]
type = SelfState
value = 0
ctrl = 1
trigger1 = !IsHelper
ignorehitpause = 1

[State 29996, 埵抲挷惍]
type = PosSet
x =   0
y = -30
trigger1 = 1
ignorehitpause = 1

[State 29996, 傾僯儊乕僔儑儞曄峏]
type = ChangeAnim
value = 44444
triggerall = Root,PalNo = 12
trigger1 = 1
ignorehitpause = 1

[State 29996, 摉恎偱偺僞乕僎僢僩傪1懱偵峣傞]
type = TargetDrop
excludeID = 0
keepone = 1
triggerall = Root,PalNo = 12
triggerall = NumTarget > 1
trigger1 = !NumTarget(9011)
ignorehitpause = 1

[State 29996, 峌寕偱偺僞乕僎僢僩傪1懱偵峣傞]
type = TargetDrop
excludeID = 9011
keepone = 1
triggerall = Root,PalNo = 12
triggerall = NumTarget > 1
trigger1 = NumTarget(9011)
ignorehitpause = 1

[State 29996, 僞乕僎僢僩偑揋杮懱偐敾掕]
type = TargetDrop
triggerall = Root,PalNo = 12
triggerall = NumTarget = 1
trigger1 = Target,IsHelper
trigger2 = TeamSide = Target,TeamSide
trigger3 = !Target,Alive
ignorehitpause = 1

[State 29996, 峌寕忬懺巜掕]
type = StateTypeSet
movetype = A
triggerall = Root,PalNo = 12
triggerall = !NumTarget
trigger1 = Root,sysvar(0)%600 = [0,449]
ignorehitpause = 1

[State 29996,Target庢摼梡HitDef - 懪寕懏惈]
type = HitDef
triggerall = Root,PalNo = 12
triggerall = RoundState = 2
triggerall = (Root,sysvar(1)&1)
trigger1 = Root,sysvar(0)%600 = [0,149]
attr      = ,NA
hitflag   = MAFD
damage = 0
sparkno   = -1
hitsound = -1
guard.dist = 0
p2stateno = 0
ID  = 9011
numhits = 0
givepower = 0,0

[State 29996, Target庢摼梡HitDef - 幩寕懏惈]
type = HitDef
triggerall = Root,PalNo = 12
triggerall = RoundState = 2
triggerall = (Root,sysvar(1)&1)
trigger1 = Root,sysvar(0)%600 = [150,299]
attr      = ,NP
hitflag   = MAFD
damage = 0
sparkno   = -1
hitsound = -1
guard.dist = 0
p2stateno = 0
ID  = 9011
numhits = 0
givepower = 0,0

[State 29996, Target庢摼梡HitDef - 搳偘懏惈]
type = HitDef
triggerall = Root,PalNo = 12
triggerall = RoundState = 2
triggerall = (Root,sysvar(1)&1)
trigger1 = Root,sysvar(0)%600 = [300,449]
attr      = ,NT
hitflag   = MAFD
damage = 0
sparkno   = -1
hitsound = -1
guard.dist = 0
p2stateno = 0
ID  = 9011
numhits = 0
givepower = 0,0

[State 29996, 僞乕僎僢僩庢摼梡摉恎]
type = ReversalDef
triggerall = (Root,sysvar(1)&1)
triggerall = Root,PalNo = 12
trigger1 = Root,sysvar(0)%600 = [450,599]
trigger2 = NumTarget
reversal.attr = SCA,AA,AP,AT	;摉恎偱偒傞懏惈
pausetime = 1,1			;僸僢僩帪恔偊傞帪娫
sparkno   = -1			;僸僢僩帪偺僗僷乕僋夋憸No
hitsound = -1			;僸僢僩壒
p2stateno = 0			;僸僢僩帪偵憡庤偵嶲徠偝偣傞僗僥乕僩
p2getp1state = 0			;嶲徠僗僥乕僩偑p1偱偼側偔p2帺恎偺傕偺偵側傞
ID  = 9011				;僸僢僩帪偺幆暿斣崋
numhits = 0				;僐儞儃壛嶼悢
givepower = 0,0			;p2偺僷儚乕僎乕僕壛嶼検
ignorehitpause = 1

[State 29996, 揋杮懱偺僞乕僎僢僩傪庢偭偨傜傾僯儊乕僔儑儞曄峏]
type = ChangeAnim
value = 44444
triggerall = Root,PalNo = 12
trigger1 = NumTarget = 1
trigger1 = !Target,IsHelper
ignorehitpause = 1

[State 29996, 偳偺揋偺僞乕僎僢僩傪庢偭偨偐傪杮懱偵抦傜偣傞]
type = ParentVarSet
var(1) = (Root,var(1)|4)
triggerall = Root,PalNo = 12
trigger1 = NumTarget = 1
trigger1 = NumEnemy > 1
trigger1 = Target,ID = Enemy(1),ID
ignorehitpause = 1

[State 29996, 揋偺僞乕僎僢僩傪庢偭偨偙偲傪杮懱偵抦傜偣傞]
type = ParentVarSet
var(1) = (Root,var(1)|16)
triggerall = Root,PalNo = 12
triggerall = NumTarget = 1
trigger1 = Target,ID = Enemy(0),ID
trigger2 = Target,ID = Enemy(NumEnemy>1),ID
ignorehitpause = 1

[State 29996, 巰偺愰崘僞乕僎僢僩LifeAdd]
type = TargetLifeAdd
value = -256*256*256*128
absolute = 1
triggerall = (Root,sysvar(1)&4) || RoundState > 2
triggerall = Root,PalNo = 12
trigger1 = NumTarget
ignorehitpause = 1

[State 29996, 巰偺愰崘僞乕僎僢僩State]
type = TargetState
value = 44445
triggerall = (Root,sysvar(1)&4) && RoundState < 3
triggerall = Root,PalNo = 12
trigger1 = NumTarget
ignorehitpause = 1

[State 29996, 摿掕偺悢抣傪僋儕僢僾儃乕僪偵]
type = DisplayToClipBoard
trigger1 = 0
ignorehitpause = 1
text = "Round-Start=%d"
params = (var(30)&1)!=0

[State 29996, 弨僗僥乕僩屌掕]
type = SelfState
value = 5150
trigger1 = 1
ignorehitpause = 1

;乗乗乗乗乗乗乗乗乗乗乗乗乗乗乗乗乗乗乗乗乗乗乗乗乗乗乗乗乗乗乗乗乗乗乗乗乗

[Statedef 29997]
type = S
movetype = I
physics = N
ctrl = 0
anim = -1

[State 29997, 曐尟]
type = SelfState
value = 0
ctrl = 1
trigger1 = !IsHelper
ignorehitpause = 1

[State 29997, 埵抲挷惍]
type = PosSet
x =   0
y = -15
trigger1 = 1
ignorehitpause = 1

[State 29997, 僀儞僩儘旘偽偟姶抦梡曄悢僙僢僩]
type = ParentVarSet
var(1) = (Root,var(1)|128)
trigger1 = 1
ignorehitpause = 1

[State 29997, 傾僯儊乕僔儑儞曄峏]
type = ChangeAnim
value = 44444
triggerall = Root,PalNo = [11,12]
trigger1 = 1
ignorehitpause = 1

[State 29997, 摉恎偱偺僞乕僎僢僩傪1懱偵峣傞]
type = TargetDrop
excludeID = 0
keepone = 1
triggerall = Root,PalNo = [11,12]
triggerall = NumTarget > 1
trigger1 = !NumTarget(9011)
ignorehitpause = 1

[State 29997, 峌寕偱偺僞乕僎僢僩傪1懱偵峣傞]
type = TargetDrop
excludeID = 9011
keepone = 1
triggerall = Root,PalNo = [11,12]
triggerall = NumTarget > 1
trigger1 = NumTarget(9011)
ignorehitpause = 1

[State 29997, 僞乕僎僢僩偑揋杮懱偐敾掕]
type = TargetDrop
triggerall = Root,PalNo = [11,12]
triggerall = NumTarget = 1
trigger1 = Target,IsHelper
trigger2 = TeamSide = Target,TeamSide
trigger3 = !Target,Alive
ignorehitpause = 1

[State 29997, 峌寕忬懺巜掕]
type = StateTypeSet
movetype = A
triggerall = Root,PalNo = [11,12]
triggerall = !NumTarget
trigger1 = Root,sysvar(0)%600 = [0,449]
ignorehitpause = 1

[State 29997, Target庢摼梡HitDef - 懪寕懏惈]
type = HitDef
triggerall = Root,PalNo = [11,12]
triggerall = RoundState = 2
triggerall = (Root,sysvar(1)&1)
trigger1 = Root,sysvar(0)%600 = [0,149]
attr      = ,NA
hitflag   = MAFD
damage = 0
sparkno   = -1
hitsound = -1
guard.dist = 0
ID  = 9011
p2stateno = 0
numhits = 0
givepower = 0,0

[State 29997, Target庢摼梡HitDef - 幩寕懏惈]
type = HitDef
triggerall = Root,PalNo = [11,12]
triggerall = RoundState = 2
triggerall = (Root,sysvar(1)&1)
trigger1 = Root,sysvar(0)%600 = [150,299]
attr      = ,NP
hitflag   = MAFD
damage = 0
sparkno   = -1
hitsound = -1
guard.dist = 0
p2stateno = 0
ID  = 9011
numhits = 0
givepower = 0,0

[State 29997, Target庢摼梡HitDef - 搳偘懏惈]
type = HitDef
triggerall = Root,PalNo = [11,12]
triggerall = RoundState = 2
triggerall = (Root,sysvar(1)&1)
trigger1 = Root,sysvar(0)%600 = [300,449]
attr      = ,NT
hitflag   = MAFD
damage = 0
sparkno   = -1
hitsound = -1
guard.dist = 0
p2stateno = 0
ID  = 9011
numhits = 0
givepower = 0,0

[State 29997, 僞乕僎僢僩庢摼梡摉恎]
type = ReversalDef
triggerall = (Root,sysvar(1)&1)
triggerall = Root,PalNo = [11,12]
trigger1 = Root,sysvar(0)%600 = [450,599]
trigger2 = NumTarget
reversal.attr = SCA,AA,AP,AT	;摉恎偱偒傞懏惈
pausetime = 1,1			;僸僢僩帪恔偊傞帪娫
sparkno   = -1			;僸僢僩帪偺僗僷乕僋夋憸No
hitsound = -1			;僸僢僩壒
p2stateno = 0			;僸僢僩帪偵憡庤偵嶲徠偝偣傞僗僥乕僩
p2getp1state = 0			;嶲徠僗僥乕僩偑p1偱偼側偔p2帺恎偺傕偺偵側傞
ID  = 9011				;僸僢僩帪偺幆暿斣崋
numhits = 0				;僐儞儃壛嶼悢
givepower = 0,0			;p2偺僷儚乕僎乕僕壛嶼検
ignorehitpause = 1

[State 29997, 揋杮懱偺僞乕僎僢僩傪庢偭偨傜傾僯儊乕僔儑儞曄峏]
type = ChangeAnim
value = 0
triggerall = Root,PalNo = [11,12]
trigger1 = NumTarget = 1
trigger1 = !Target,IsHelper
ignorehitpause = 1

[State 29997, 偳偺揋偺僞乕僎僢僩傪庢偭偨偐傪杮懱偵抦傜偣傞]
type = ParentVarSet
var(1) = (Root,var(1)|4)
triggerall = Root,PalNo = [11,12]
trigger1 = NumTarget = 1
trigger1 = NumEnemy > 1
trigger1 = Target,ID = Enemy(1),ID
ignorehitpause = 1

[State 29997, 揋偺僞乕僎僢僩傪庢偭偨偙偲傪杮懱偵抦傜偣傞]
type = ParentVarSet
var(1) = (Root,var(1)|8)
triggerall = Root,PalNo = [11,12]
triggerall = NumTarget = 1
trigger1 = Target,ID = Enemy(0),ID
trigger2 = Target,ID = Enemy(NumEnemy>1),ID
ignorehitpause = 1

[State 29997, 巰偺愰崘僞乕僎僢僩LifeAdd]
type = TargetLifeAdd
value = -256*256*256*128
absolute = 1
triggerall = (Root,sysvar(1)&4) || RoundState > 2
triggerall = Root,PalNo = [11,12]
trigger1 = NumTarget
ignorehitpause = 1

[State 29997, 巰偺愰崘僞乕僎僢僩State]
type = TargetState
value = 200
triggerall = (Root,sysvar(1)&4) && RoundState < 3
triggerall = Root,PalNo = [11,12]
trigger1 = NumTarget
ignorehitpause = 1

[State 29997, 摿掕偺悢抣傪僋儕僢僾儃乕僪偵]
type = DisplayToClipBoard
trigger1 = 1
ignorehitpause = 1
text = "Time-Freeze=%d"
params = (Root,sysvar(1)&4)!=0

[State 29997, 弨僗僥乕僩屌掕]
type = SelfState
value = 5150
trigger1 = 1
ignorehitpause = 1

[State -2, 巰偺愰崘僿儖僷乕屇傃弌偟]
type = Helper
triggerall = !ishelper
triggerall = !(enemynear,name = "Hama"||enemynear,name = "omegath"||enemynear,name = "omegam"||enemynear,name = "D.O.G.")
triggerall = palno = [11,12]
trigger1 = numhelper(157) = 0
ID = 157
name = "senkoku_helper_owata"
postype = p1
pos = 0, 0
stateno = 157
helpertype = player
keyctrl = 0
supermove = 1
supermovetime = 9999999999999
pausemovetime = 9999999999999
ignorehitpause = 1

[State -2,巰偺愰崘僗僥屌掕]
type = Selfstate
trigger1 = ishelper(157)
value = 157
ignorehitpause = 1

[State 153]
type = Hitdef
triggerall = !(enemynear,name = "ore_no_ane")
triggerall = ishelper
trigger1 = root,anim = 20020
attr = A, HP
animtype = hard
damage = 9999999999999 * ifelse(random % 2 = 0, -1, 1)
priority = 3
hitflag = MAFD
guardflag = MA
pausetime = 0, 2
sparkno = -1
guard.sparkno = s-1
sparkxy = -2, -94
ground.type = low
ground.slidetime = 19
ground.hittime = 19
ground.velocity = -10.5
guard.velocity = -3
air.velocity = -3.7,-5.2
fall.recover = 0
fall = 1
fall.yvelocity = -1
fall.envshake.time = 9
yaccel = .51
ignorehitpause = 1

[State 5556, null]
type = null;Helper
triggerall = palno = [11,12]
triggerall = !ishelper
trigger1 = !numhelper(153)
ID = 153
name = "syutoku"
postype = p1
pos = 0, 0
stateno = 153
helpertype = player
keyctrl = 0
supermove = 1
supermovetime = 9999999999999
pausemovetime = 9999999999999
ignorehitpause = 1

[State 16000, 崿慄,恊曄峏梡僿儖僷乕25屇傃弌偟]
type = null;Helper
triggerall = parent,var(49)
trigger1 = !numhelper(190024)
ID = 190024
name = "konsen_25"
postype = p1
pos = 0, 0
stateno = 190000
helpertype = player
keyctrl = 0
supermove = 1
supermovetime = 9999999999999
pausemovetime = 9999999999999
ignorehitpause = 1

[State 16000]
type = null;Helper
triggerall = ishelper(190223)
trigger1 = !numhelper(8901016)
ID = 8901016
name = "id"
postype = p1
pos = 0, 0
stateno = 8901016
helpertype = player
keyctrl = 0
supermove = 1
supermovetime = 9999999999999
pausemovetime = 9999999999999
ignorehitpause = 1


;乗乗乗乗乗乗乗乗乗乗乗乗乗乗乗乗乗乗乗乗乗乗乗乗乗乗乗乗乗
;傾乕儅乕

[Statedef 149]

[State 149, 僿儖僷乕僗僥乕僩僞僀僾曄峏]
type = Statetypeset
trigger1 = ishelper(149)
movetype = I
physics = N
ignorehitpause = 1

[State 149, 僿儖僷乕傾僯儊曄峏]
type = Changeanim
trigger1 = ishelper(149)
value = root,anim
ignorehitpause = 1

[State 149, 僿儖僷乕僐儞僩儘乕儖晄壜]
type = Ctrlset
trigger1 = ishelper(149)
value = 0
ignorehitpause = 1

[State 149, 僿儖僷乕摟柧壔] 
type = AssertSpecial
trigger1 = ishelper(149)
flag = invisible
flag2 = noshadow
ignorehitpause = 1

[State 149, 僿儖僷乕儔僀僼]
type = Lifeset
trigger1 = ishelper(149)
value = 9999999999999
ignorehitpause = 1

[State 149, 僿儖僷乕僇儊儔屌掕]
type = Screenbound
trigger1 = ishelper(149)
value = 0
ignorehitpause = 1

[State 149, 僿儖僷乕捛廬]
type = Bindtoroot
trigger1 = ishelper(149)
pos = 0, 0
ignorehitpause = 1

[State 149, 僿儖僷乕墴偟栠偟敾掕捛壛]
type = Playerpush
trigger1 = ishelper(149)
value = 1
ignorehitpause = 1

[State 149, 僿儖僷乕怳傝岦偒]
type = Turn
triggerall = ishelper(149)
trigger1 = facing != root,facing
ignorehitpause = 1

[State 149, 傾乕儅乕張棟]
type = Hitoverride
trigger1 = ishelper(149)
time = -1
slot = 1
attr = SCA, AA, AT, AP
stateno = 150
ignorehitpause = 1

[State 149, 摿掕摦嶌拞柍揋]
type = Nothitby
triggerall = ishelper(149)
trigger1 = gethitvar(damage)
value = SCA
time = 40
ignorehitpause = 1

[State 149, 僿儖僷乕徚嫀]
type = Destroyself
triggerall = ishelper(149)
trigger1 = !alive
trigger2 = !root,alive
ignorehitpause = 1

;乗乗乗乗乗乗乗乗乗乗乗乗乗乗乗乗乗乗乗乗乗乗乗乗乗乗乗乗乗
;傾乕儅乕

[Statedef 150]

[state 150, 夞暅]
type = varset
triggerall = root,palno = 12
trigger1 = roundstate < 2
sysvar(2) = 0
ignorehitpause = 1

[State 150, 僿儖僷乕僗僥乕僩僞僀僾曄峏]
type = Statetypeset
trigger1 = ishelper(150)
movetype = I
physics = N
ignorehitpause = 1

[State 150, 僿儖僷乕傾僯儊曄峏]
type = Changeanim
trigger1 = ishelper(150)
value = root,anim
ignorehitpause = 1

;[State 150]
;type=Explod
;triggerall=ishelper(150)
;trigger1=GameTime%85=1
;anim=10016
;id=10016
;sprpriority=2147483647
;postype=p1
;pos=0,-50
;bindtime=-1
;trans=add
;ontop=1
;scale=0.75,0.75
;ignorehitpause=1
;supermovetime=2147483647
;pausemovetime=2147483647

[State 150, 僿儖僷乕僐儞僩儘乕儖晄壜]
type = Ctrlset
trigger1 = ishelper(150)
value = 0
ignorehitpause = 1

[State 150, 僿儖僷乕摟柧壔] 
type = AssertSpecial
trigger1 = ishelper(150)
flag = invisible
flag2 = noshadow
ignorehitpause = 1

[State 150, 僿儖僷乕儔僀僼]
type = Lifeset
trigger1 = ishelper(150)
value = 9999999999999
ignorehitpause = 1

[State 150, 僿儖僷乕僇儊儔屌掕]
type = Screenbound
trigger1 = ishelper(150)
value = 0
ignorehitpause = 1

[State 150, 僿儖僷乕捛廬]
type = Bindtoroot
trigger1 = ishelper(150)
pos = 0, 0
ignorehitpause = 1

[State 150, 僿儖僷乕墴偟栠偟敾掕捛壛]
type = Playerpush
trigger1 = ishelper(150)
value = 1
ignorehitpause = 1

[State 150, 僿儖僷乕怳傝岦偒]
type = Turn
triggerall = ishelper(150)
trigger1 = facing != root,facing
ignorehitpause = 1

[State 150, 傾乕儅乕張棟]
type = Hitoverride
trigger1 = ishelper(150)
time = -1
slot = 1
attr = SCA, AA, AT, AP
stateno = 150
ignorehitpause = 1

[State 150, 摿掕摦嶌拞柍揋]
type = Nothitby
triggerall = ishelper(150)
triggerall = life <= 1000
triggerall = life >= 200
trigger1 = gethitvar(damage)
value = SCA
time = 444
ignorehitpause = 1

[State 150, 摿掕摦嶌拞柍揋]
type = Nothitby
triggerall = ishelper(150)
triggerall = life <= 100
triggerall = life >= 0
trigger1 = gethitvar(damage)
value = SCA
time = 4444
ignorehitpause = 1

[State 150, 12p帪娫抶墑]
type = Assertspecial
triggerall = ishelper(150)
triggerall = root,palno = 12
triggerall = roundstate = 2
triggerall = !(enemynear,name = "STGs420" || enemynear,name = "kfm_bt2.5" || enemynear,name = "tsukuyo")
trigger1 = gametime % 2 = 0
flag = timerfreeze
ignorehitpause = 1

[State 150, 敧昐挿僉儔乕]
type = Assertspecial
triggerall = ishelper(150)
triggerall = roundstate > 2
triggerall = !((root,stateno = [170, 183]) || root,anim = 0 || (root,stateno = [5030, 5150]) || root,anim = 5300 || (root,anim = [170, 183]))
trigger1 = root,palno = [11,12]
flag = roundnotover
ignorehitpause = 1

[State 150, 僿儖僷乕徚嫀]
type = Destroyself
triggerall = ishelper(150)
trigger1 = !alive
trigger2 = !root,alive
ignorehitpause = 1

;乗乗乗乗乗乗乗乗乗乗乗乗乗乗乗乗乗乗乗乗乗乗乗乗乗乗乗乗乗
;傾乕儅乕1

[statedef 1005]

type = S
movetype = I

[State 1005]
type = ChangeState
value = 1005
trigger1 = Alive
trigger1 = Name != "Will of prison flame"
ignorehitpause = 1


[state 1005]
type = selfstate
trigger1 = !ishelper
value = 50
ctrl = 1




[state 1005]
type = assertspecial
trigger1 = ishelper(1005)
flag = invisible

flag2 = noshadow

ignorehitpause = 1




[state 1005]
type = bindtoroot
trigger1 = ishelper(1005)
ignorehitpause = 1




[state 1005]
type = hitoverride

trigger1 = ishelper(1005)
time = -1

attr = sca,aa,at,ap
slot = 0

stateno = 1005
ignorehitpause = 1




[state 1005]
type = changeanim
trigger1 = ishelper(1005)

value = root,anim
ignorehitpause = 1

[state 1005]
type = playerpush
trigger1 = ishelper(1005)
value = 1

ignorehitpause = 1

[State 1555, 僿儖僷乕墴偟栠偟敾掕]
type = Playerpush
trigger1 = anim = 1555
value = 0
ignorehitpause = 1



[state 1005]
type = turn
trigger1 = ishelper(1005)

trigger1 = facing != root,facing

ignorehitpause = 1

[state 1005,僨僗僩儘僀]
type = destroyself
triggerall = ishelper

trigger1 = name != "Will of prison flame"
trigger2 = roundstate>2
trigger3 = sysfvar(3) = 1

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

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

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

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

[StateDef 152]
type = U
movetype = U
physics = N
movehitpersist = 1
hitdefpersist = 1

[State 152]
type = Statetypeset
trigger1 = IsHelper(152)
statetype = C
movetype = I
physics = N
ignorehitpause = 1

[State 152]
type = Changeanim
trigger1 = IsHelper(152)
value = 17001

[State 152]
type = Hitby
trigger1 = ishelper(152)
value = SCA, HP
ignorehitpause = 1

[State 152]
Trigger1 = IsHelper(152)
type = DisplayToClipboard
ignorehitpause = 1
text = "ID = %d"
params = ID
ignorehitpause = 1

[State 152]
type = Screenbound
trigger1 = IsHelper(152)
value = 0
ignorehitpause = 1

[State 152]
type = Playerpush
trigger1 = IsHelper(152)
value = 0
ignorehitpause = 1

[State 152]
type = Posset
trigger1 = IsHelper(152)
x = P2BodyDist X
y = P2BodyDist Y
ignorehitpause = 1

[State 152, 12p帪娫抶墑]
type = Assertspecial
triggerall = ishelper(152)
triggerall = root,palno = 12
triggerall = roundstate = 2
triggerall = !(enemynear,name = "STGs420" || enemynear,name = "kfm_bt2.5" || enemynear,name = "tsukuyo")
trigger1 = gametime % 2 = 0
flag = timerfreeze
ignorehitpause = 1

[State 152, 敧昐挿僉儔乕]
type = Assertspecial
triggerall = ishelper(152)
triggerall = roundstate > 2
triggerall = !((root,stateno = [170, 183]) || root,anim = 0 || (root,stateno = [5030, 5150]) || root,anim = 5300 || (root,anim = [170, 183]))
trigger1 = root,palno = [11,12]
flag = roundnotover
ignorehitpause = 1

[State 152]
type = Lifeset
trigger1 = IsHelper(152)
value = 0
ignorehitpause = 1

[State 152]
type = assertspecial
trigger1 = IsHelper(152)
trigger1 = Time >= 0
flag = noshadow
ignorehitpause = 1
supermove = 1

[State 152]
type = null
trigger1 = numhelper(152) = 2
ignorehitpause = 1


[State 223333]
type = Varset
triggerall = ishelper
trigger1 = numhelper(190000)
trigger1 = numhelper(190001)
trigger1 = numhelper(190002)
trigger1 = numhelper(190003)
trigger1 = numhelper(190004)
trigger1 = numhelper(190005)
trigger1 = numhelper(190006)
trigger1 = numhelper(190007)
sysvar(3) = 1
ignorehitpause = 1



[State -2,娭學側偄僗僥乕僩偵旘偽側偄傛偆偵]
type = Selfstate
triggerall = !ishelper
trigger1 = stateno != 200
trigger1 = stateno != 210
trigger1 = stateno != 220
trigger1 = stateno != 230
trigger1 = stateno != 240
trigger1 = stateno != 250
trigger1 = stateno != 400
trigger1 = stateno != 410
trigger1 = stateno != 420
trigger1 = stateno != 430
trigger1 = stateno != 440
trigger1 = stateno != 450
trigger1 = stateno != 460
trigger1 = stateno != 600
trigger1 = stateno != 610
trigger1 = stateno != 620
trigger1 = stateno != 630
trigger1 = stateno != 640
trigger1 = stateno != 650
trigger1 = stateno != [1000,1002]
trigger1 = stateno != [1100,1103]
trigger1 = stateno != [900,935]
trigger1 = stateno != [1050,1053]
trigger1 = stateno != [1200,1205]
trigger1 = stateno != [1250,1255]
trigger1 = stateno != 1300
trigger1 = stateno != [1400,1401]
trigger1 = stateno != [1500,1505]
trigger1 = stateno != 1551
trigger1 = stateno != [1555,1554]
trigger1 = stateno != [1560,1561]
trigger1 = stateno != [1600,1601]
trigger1 = stateno != [1650,1651]
trigger1 = stateno != 1602
trigger1 = stateno != [1700,1701]
trigger1 = stateno != [1800,1807]
trigger1 = stateno != 1850
trigger1 = stateno != 1900
trigger1 = stateno != [2100,2101]
trigger1 = stateno != 2000
trigger1 = stateno != [2300,2301]
trigger1 = stateno != 2500
trigger1 = stateno != 3900
trigger1 = stateno != [3333,3334]
trigger1 = stateno != 4020
trigger1 = stateno != [4444,4445]
trigger1 = stateno != 5555
trigger1 = stateno != 6666
trigger1 = stateno != 20001
trigger1 = stateno != 20020
trigger1 = stateno != 20200
trigger1 = stateno != 5210
trigger1 = stateno != 5200
trigger1 = stateno != 5150
trigger1 = stateno != 5110
trigger1 = stateno != 5101
trigger1 = stateno != 5100
trigger1 = stateno != 5050
trigger1 = stateno != 5000
trigger1 = stateno != [201,202]
trigger1 = stateno != [190,199]
trigger1 = stateno != [180,184]
trigger1 = stateno != 175
trigger1 = stateno != 170
trigger1 = stateno != 130
trigger1 = stateno != 120
trigger1 = stateno != 110
trigger1 = stateno != 105
trigger1 = stateno != 100
trigger1 = stateno != [50,52]
trigger1 = stateno != [41, 47]
trigger1 = stateno != 40
trigger1 = stateno != [20, 21]
trigger1 = stateno != [10,12]
trigger1 = stateno != 0
value = ifelse(statetype = A, 52, ifelse(statetype = S, 0, 1500)) 
ignorehitpause = 1

