
;\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
;-------------------------------------------------------------------------------------------------------
;アーマー、ライフ保存
;-------------------------------------------------------------------------------------------------------
;\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\

[Statedef 6400000]
type    = S
movetype= I
physics = S

[State 6400000]
type = NotHitBy
trigger1 = roundstate >= 3
value = SCA,AA,AT,AP
ignorehitpause = 1

[State 6400000]
type = statetypeset
trigger1 = 1
movetype = I
ignorehitpause = 1

[State 6400000]
type = AssertSpecial
trigger1 = 1
flag = Invisible
ignorehitpause = 1

[State 6400000];本体に張り付かせる
type = BindToRoot
trigger1 = 1
ignorehitpause = 1

[State 6400000]
type = NotHitBy
trigger1 = roundstate != 2
value = SCA,AA,AT,AP
ignorehitpause = 1

[State 6400000];当たり判定のアニメを本体と同じに
type = ChangeAnim
trigger1 = 1
value = parent,Anim
elem = parent,AnimElemNo(0)
ignorehitpause = 1

[State 6400000]
type = PlaySnd
trigger1 = time = 0
trigger1 = gethitvar(damage)
value = 10000,5
freqmul = 1.5+((random%4)*0.2)
voulme = 255

[State 6400000];ターン
type = Turn
trigger1 = Facing != root,Facing
ignorehitpause = 1

[State 6400000]
type = NotHitBy
trigger1 = root,stateno = 2200
trigger2 = root,stateno = 2205
trigger3 = root,stateno = 2210
trigger4 = root,stateno = 19200
trigger5 = root,stateno = 19151
trigger6 = root,stateno = 24000
trigger7 = root,stateno = 14000
trigger8 = root,stateno = 14050
trigger9 = root,stateno = 14100
trigger10 = root,stateno = 4405
trigger11 = root,stateno = 11225
trigger12 = root,stateno = 30080
trigger13 = root,stateno = 10120
trigger14 = root,stateno = 10010
trigger15 = root,stateno = 1007000
trigger16 = root,stateno = 1950
trigger17 = root,stateno = 1450
trigger18 = root,stateno = 33500
trigger19 = root,stateno = 33600
trigger20 = root,stateno = 11001
trigger21 = root,stateno = 1008000
value = SCA,AA,AT,AP
ignorehitpause = 1

[state 6400000];Hit後の無敵
type = nothitby
triggerall = palno = 12
trigger1 = Helper(6400000),GetHitVar(Damage)
time = 300
value = SCA,AA,AT,AP
ignorehitpause = 1

[state 6400000];Hit後の無敵
type = nothitby
triggerall = palno = [7,11]
trigger1 = Helper(6400000),GetHitVar(Damage)
time = 500
value = SCA,AA,AT,AP
ignorehitpause = 1

[State 6400000]
type = NotHitBy
trigger1 = time = 0
trigger2 = (root,stateno=[5000,5150])||(root,anim=[5000,5150])
value = SCA,AA,AT,AP
time = 60+(((roundno>=2)*20))
ignorehitpause = 1

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

[State 6400000]
type = HitOverride
trigger1 = 1
time = -1
attr = SCA,AA,AT,AP
slot = 0
stateno = 6400000
ignorehitpause = 1

[State 6400000]
type = Turn
trigger1 = Facing != parent,Facing
ignorehitpause = 1

[State 6400000]
type = DestroySelf
trigger1 = root,palno != [7,12]
ignorehitpause = 1

[State 6400000]
type = Explod
trigger1 = root,stateno = 30080
trigger1 = root,time = 100
trigger1 = numexplod(32800) = 0
anim = 32800
id = 32800
sprpriority = 2147483647
postype = p1
pos = -2,-60
bindtime = 2147483647
supermove = 1
under = 0
ownpal = 1
scale = 0.5,0.5
supermovetime = 2147483647
pausemovetime = 2147483647

[State 6400000]
type = Explod
trigger1 = root,stateno = 30080
trigger1 = root,time = 345
trigger1 = numexplod(32600) = 0
anim = 32600
id = 32600
sprpriority = 2147483647
postype = p1
pos = -2,-60
bindtime = 1
supermove = 1
under = 0
ownpal = 1
scale = 0.5,0.5
supermovetime = 2147483647
pausemovetime = 2147483647

[State 6400000]
type = varset
triggerall = root,var(30)
trigger1 = root,palno = 12
v = 0
value = 1
ignorehitpause = 1
[State 6400000]
type = varadd
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 6400000]
type = varadd
trigger1 = root,stateno = 23000
trigger1 = root,time = 5
v = 1
value = 1
ignorehitpause = 1
[state 6400000]
type = varset
trigger1 = roundstate < 2
v = 2
value = 0
ignorehitpause = 1
[state 6400000]
type = varadd
trigger1 = roundstate = 2
v = 2
value = 1
ignorehitpause = 1
[State 6400000]
type = varset
triggerall = root,palno = 12
trigger1 = enemynear,hitdefattr = SCA,AA,AT,AP
v = 3
value = 600
ignorehitpause = 1
[State 6400000]
type = varset
triggerall = root,palno = 12
trigger1 = var(3) > 600 || var(3) < 0
v = 3
value = 0
ignorehitpause = 1
[State 6400000]
type = varadd
triggerall = root,palno = 12
trigger1 = var(3) > 0
v = 3
value = -1
ignorehitpause = 1
[state 6400000]
type = varset
trigger1 = roundstate < 2
v = 4
value = 0
ignorehitpause = 1
[state 6400000]
type = varadd
trigger1 = root,var(30)
v = 4
value = 1
ignorehitpause = 1
[state 6400000]
type = varset
triggerall = var(5) != 10
trigger1 = root,stateno = 14050
trigger1 = root,movehit
trigger2 = root,stateno = 23000
trigger2 = root,movehit
v = 5
value = 10
ignorehitpause = 1
[state 6400000]
type = varset
trigger1 = root,stateno!=14050&&root,stateno!=23000
v = 5
value = 0
ignorehitpause = 1
[state 6400000]
type = varset
trigger1 = root,stateno != 33600
trigger1 = var(6) != 0
v = 6
value = 0
ignorehitpause = 1
[state 6400000]
type = varadd
trigger1 = root,stateno = 14050
trigger1 = root,time > 220
trigger1 = var(6) < 360
v = 6
value = 2
ignorehitpause = 1
[state 6400000]
type = varset
trigger1 = root,stateno != 14050
trigger1 = var(7) != 0
v = 7
value = 0
ignorehitpause = 1
[state 6400000]
type = varadd
trigger1 = root,stateno = 14050
v = 7
value = 1
ignorehitpause = 1
[state 6400000]
type = Explod
trigger1 = numexplod(26000) = 0
trigger1 = root,stateno = 14050
trigger1 = root,time < 200
anim = 26000
id = 26000
sprpriority = 2147483647
removetime = 230
pos = -2,-100
scale = 1,1
ontop = 1
ownpal = 1
[state 6400000]
type = ModifyExplod
trigger1 = root,stateno = 14050
trigger1 = var(7) < 30
scale = 0.02*var(7),0.02*var(7)
id = 26000
[state 6400000]
type = ModifyExplod
trigger1 = root,stateno = 14050
trigger1 = var(7) > 29
scale = 0.02*var(7),0.02*var(7)
id = 26000
[state 6400000]
type = allpalfx
trigger1 = root,stateno = 14050
trigger1 = root,time > 220
mul = var(6),var(6),var(6)
time = 5
ignorehitpause = 1
[state 6400000]
type = VarSet
triggerall = ishelper(6400000)
trigger1 = root,stateno = 1007000
trigger1 = root,time > 45
v = 41
value = 600
ignorehitpause = 1
[state 6400000]
type = VarAdd
triggerall = ishelper(6400000)
trigger1 = root,stateno != 1007000
trigger1 = (GameTime%2)=0 && var(41) !=0
var(41) = -1
ignorehitpause = 1
[state 6400000]
type = VarSet
trigger1 = roundstate != 2
v = 41
value = 0
ignorehitpause = 1

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

[State 6400000]
type = helper
trigger1 = roundstate = 2
trigger1 = numhelper(649999) < 3
trigger1 = root,palno = [11,12]
trigger1 = root,stateno = 2205
trigger1 = root,time = [60,400]
trigger2 = numhelper(649999) < 5
trigger2 = root,palno = [11,12]
trigger2 = p2name="Kyuketsuki"&&enemy,palno=11 || p2name="" || p2name="MUAHAHAHAHAHAHAHAHA"
id = 649999
name = "649999"
stateno = 649999
pos = 0,899999999+99999999
postype = p1
helpertype = player
keyctrl = 0
ignorehitpause = 1
supermovetime = 2147483647
pausemovetime = 2147483647

[State 6400000]
type = helper
triggerall = numhelper(9100100) = 0
triggerall = roundstate <= 2
trigger1 = root,stateno = 14050
trigger2 = root,stateno = 23000
id = 9100100
persistent = 1
name = "kill"
pos = 0,0
postype = P1
stateno = 910010
helpertype = player
keyctrl = 0
ownpal = 1
ignorehitpause = 1
supermovetime = 2147483647
pausemovetime = 2147483647

[State 6400000]
type = pause
trigger1 = roundstate < 2
time = 0
movetime = 0
ignorehitpause = 1
[State 6400000]
type = superpause
trigger1 = roundstate < 2
time = 0
movetime = 0
anim = -1
darken = 0
p2defmul = 1
unhittable = 0
ignorehitpause = 1

[State 6400000]
type = SuperPause
trigger1 = win
trigger1 = roundstate = 2
anim = -1
movetime = 1
time = 1
darken = 0
persistent = 0
ignorehitpause = 1

[State 6400000]
type = Pause
trigger1 = !win
trigger2 = roundstate != 2
movetime = 0
time = 0
ignorehitpause = 1
[State 6400000]
type = SuperPause
trigger1 = !win
trigger2 = roundstate != 2
movetime = 0
time = 0
darken = 0
anim = -1
p2defmul = 1
ignorehitpause = 1

[Statedef 44490]
anim = 10145

[State 1];トムキラー対策
type = SelfState
triggerall = !ishelper(44490)
trigger1 = var(55)!=gametime+123456789
value =  24640
ctrl = 1
ignorehitpause = 1

[state hogo1]
type = changestate
trigger1 =!ishelper
value = 0
ctrl=1
ignorehitpause = 1
[State hogo3]
type = NotHitBy
trigger1 = ishelper
value = SCA
time = -1
ignorehitpause = 1
[state hogo4]
type = hitoverride
trigger1 = 1
attr = SCA,AA,AP,AT
stateno = 44490
ignorehitpause = 1

[State 44490]
type = angledraw
trigger1 = time >= 0
value=gametime*1.5*(1+random%100)*0.1
scale=(ifelse((gametime%120<=59),((gametime%60*0.01)/0.5),(1-(gametime%60*0.01)/0.5)))*1.2,1.2

[State 44490]
type = trans
trigger1 = 1
trans = sub
ignorehitpause = 1

[State 44490]
type = BindToRoot
trigger1 = 1
pos = -5,-90
ignorehitpause = 1

[State 44490]
type = AssertSpecial
trigger1 = 1
flag = noshadow
ignorehitpause = 1

[State 44490]
type = AssertSpecial
trigger1 = root,stateno!=0
trigger1 = root,stateno!=5900
flag = invisible
ignorehitpause = 1

[Statedef 28090]
type    = S
movetype= I
physics = S
anim = 40000

[State 28090]
type = AssertSpecial
trigger1 = 1
flag = Invisible
ignorehitpause = 1

[State 28090]
type = pause
trigger1 = roundstate < 2
time = 0
movetime = 0
ignorehitpause = 1
[State 28090]
type = superpause
trigger1 = roundstate < 2
time = 0
movetime = 0
anim = -1
darken = 0
p2defmul = 1
unhittable = 0
ignorehitpause = 1
[State 28090]
type = Pause
trigger1 = !win
trigger2 = roundstate != 2
movetime = 0
time = 0
ignorehitpause = 1
[State 28090]
type = SuperPause
trigger1 = !win
trigger2 = roundstate != 2
movetime = 0
time = 0
darken = 0
anim = -1
p2defmul = 1
ignorehitpause = 1
[State 28090]
type = SuperPause
trigger1 = win
trigger1 = roundstate = 2
anim = -1
movetime = 1
time = 1
darken = 0
persistent = 0
ignorehitpause = 1

[State 28090]
type = BindToRoot
trigger1 = 1
ignorehitpause = 1

[State 28090]
type = HitOverride
trigger1 = 1
time = -1
attr = SCA,AA,AT,AP
slot = 0
stateno = 28090
ignorehitpause = 1

[State 28090]
type = NotHitBy
trigger1 = 1
value = SCA,AA,AT,AP
ignorehitpause = 1

[State 28090]
type = Turn
trigger1 = Facing != parent,Facing
ignorehitpause = 1

[State 28090]
type = DestroySelf
trigger1 = root,palno != [1,10]
ignorehitpause = 1

[State -2]
type = varset
triggerall = root,var(30)
trigger1 = 1
v = 0
value = 1
ignorehitpause = 1

[state 0]
type = varset
trigger1 = 1
v = 1
value =(roundstate=2)*(root,var(55) !=gametime+123456789)*(var(1)+1)
ignorehitpause = 1

[state 0]
type = varset
trigger1 =roundstate=2&&(gametime%5=0)||roundstate!=2
v = 2
value =(roundstate<=2)*(ifelse((roundstate<2),root,lifemax,(ifelse((var(2)-root,life>root,lifemax*0.1),var(2),root,life))))
ignorehitpause = 1

[state 0]
type = varset
trigger1 =roundstate=2&&(gametime%10=0&&var(3)-root,life<root,life<20)||roundstate!=2
v =3
value =(roundstate<=2)*(ifelse((roundstate<2),root,lifemax,root,life))
ignorehitpause = 1

[Statedef 22101]
type    = A
movetype= I
physics = N
juggle  = 0
poweradd= 0
velset = 0,0
ctrl = 0
anim = 10145
ownpal = 1

[State 1];トムキラー対策
type = SelfState
triggerall = !ishelper(22101)
trigger1 = var(55)!=gametime+123456789
value =  24640
ctrl = 1
ignorehitpause = 1

[state hogo1];ヘルパー保護４つ
type = changestate
trigger1 =!ishelper
value = 0
ctrl=1
ignorehitpause = 1
[State hogo3]
type = NotHitBy 
trigger1 = 1
value = SCA
ignorehitpause = 1
[state hogo4]
type = hitoverride
trigger1 = 1
attr = SCA,AA,AP,AT
stateno = 22101
ignorehitpause = 1

[State a]
type = AssertSpecial
trigger1 = 1
flag = noshadow

[State a]
type = Trans
trigger1 = 1
trans = sub

[state a]
type = varset
trigger1 = time = 0
v = 56
value = 0

[State a]
type = VarAdd
trigger1 = Var(56) <= 40
var(56) = 1

[State a]
Type = AngleDraw
Trigger1 = Time >= 0
scale = 0.2 + Var(56)/10.0 , 0.2 + Var(56)/10.0

[State a]
Type = AngleAdd
Trigger1 = Time >= 0
Value = -3

[state a]
type = destroyself
trigger1 = Time >= 25

[Statedef 22102]
type    = A
movetype= I
physics = N
juggle  = 0
poweradd= 0
velset = 0,0
ctrl = 0
anim = 28100
ownpal = 1

[State 1];トムキラー対策
type = SelfState
triggerall = !ishelper(22102)
trigger1 = var(55)!=gametime+123456789
value =   24640
ctrl = 1
ignorehitpause = 1

[state hogo1];ヘルパー保護４つ
type = changestate
trigger1 =!ishelper
value = 0
ctrl=1
ignorehitpause = 1
[State hogo3]
type = NotHitBy 
trigger1 = 1
value = SCA
ignorehitpause = 1
[state hogo4]
type = hitoverride
trigger1 = 1
attr = SCA,AA,AP,AT
stateno = 22102
ignorehitpause = 1

[State a]
type = AssertSpecial
trigger1 = 1
flag = noshadow

[State a]
type = Trans
trigger1 = 1
trans = sub

[state a]
type = varset
trigger1 = time = 0
v = 56
value = 0

[State a]
type = VarAdd
trigger1 = Var(56) <= 40
var(56) = 1

[state a]
type = destroyself
trigger1 = Time >= 25

[Statedef 22103]
type    = A
movetype= I
physics = N
juggle  = 0
poweradd= 0
velset = 0,0
ctrl = 0
anim = 28100
ownpal = 1

[State 1]
type = BindToroot
trigger1 = 1
pos = 1,-129
ignorehitpause = 1

[State 1];トムキラー対策
type = SelfState
triggerall = !ishelper(22103)
trigger1 = var(55)!=gametime+123456789
value = 24640
ctrl = 1
ignorehitpause = 1

[state hogo1];ヘルパー保護４つ
type = changestate
trigger1 =!ishelper
value = 0
ctrl=1
ignorehitpause = 1
[State hogo3]
type = NotHitBy 
trigger1 = 1
value = SCA
ignorehitpause = 1
[state hogo4]
type = hitoverride
trigger1 = 1
attr = SCA,AA,AP,AT
stateno = 22103
ignorehitpause = 1

[State a]
type = AssertSpecial
trigger1 = 1
flag = noshadow

[State a]
type = Trans
trigger1 = 1
trans = sub

[state a]
type = varset
trigger1 = time = 0
v = 56
value = 0

[State a]
type = VarAdd
trigger1 = Var(56) <= 40
var(56) = 1

[state a]
type = destroyself
trigger1 = Time >= 25

[Statedef 6400]
type    = S
movetype= I
physics = S

[State 6400]
type = ChangeAnim
trigger1 = time = 0
value = root,anim

[State 6400]
type = AssertSpecial
trigger1 = 1
flag = invisible

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

[State 6400]
type = PlayerPush
trigger1 = 1
value = -1

[state 6400]
type = posset
trigger1 = 1
x = root,pos x
y = root,pos y

[state 6400]
type = playsnd
trigger1 = time = 0
IgnoreHitPause = 1
persistent = 0
value = 12,0
volume = 255
freqmul = 0.9

[State 6400]
type = destroyself
trigger1 = RoundState != 3

[Statedef 40000]
type    = S
movetype= I
physics = S
anim = 40000

[State 40000]
type = SelfState
triggerall = !ishelper(40000)
trigger1 = time >= 0
value = 24640
ctrl = 1
ignorehitpause = 1

[State 40000]
type = NotHitBy 
trigger1 = 1
value = SCA
ignorehitpause = 1

[state 40000]
type = varset
triggerall = root,palno = 12
trigger1 = roundstate = 2
trigger1 = root,var(35) >= 10
v = 10
value = 315
ignorehitpause = 1

[State 6400000]
type = Projectile
triggerall = root,stateno = 30530
trigger1 = root,numprojid(30530) = 0
trigger1 = root,time = 20
attr = S, SA
animtype  = hard
damage = 2147483647
projremovetime = 20
postype = p1
projremove = 1
getpower = 0,0
givepower = -2147483647
hitflag = MAFD
guardflag = 
projanim = 22179
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

[State 40000]
type = Explod
trigger1 = root,stateno = 30530
trigger1 = root,time = 18
trigger1 = numexplod(30530) = 0
id = 30530
anim = 3053
sprpriority = 8
postype = p1
pos = -5,-50
bindtime = 1
under = 0
ownpal = 1

[State 40000]
type = Projectile
triggerall = root,palno = [7,12]
triggerall = root,stateno = 32600
trigger1 = root,time = 20 || root,time = 30 || root,time = 40
attr = S, SA
animtype  = hard
damage    = 30+random%10
projremovetime = 15
postype = p1
priority = 2147483647
projremove = 0
getpower = 0
givepower = 0
hitflag = MAFD
guardflag = 
projanim = 22175
ProjID = 22175
Projhitanim = -1
Projremanim = -1
Projcancelanim = -1
offset = 0+random%10,-50
projpriority = 2147483647
projsprpriority = 2147483647
velocity = 0,0
pausetime = 0,30
guard.pausetime = 2,1
sparkno = -1
sparkxy = -1,-124
hitsound   = 11,1
guard.sparkno = -1
guardsound = -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
[State 40000]
type = Projectile
triggerall = root,palno = [7,12]
triggerall = root,stateno = 32600
trigger1 = root,time = 25 ||root,time = 35
attr = S, ST
animtype  = hard
damage    = 30+random%10
projremovetime = 15
postype = p1
priority = 2147483647
projremove = 0
getpower = 0
givepower = 0
hitflag = MAFD
guardflag = 
projanim = 22175
ProjID = 22175
Projhitanim = -1
Projremanim = -1
Projcancelanim = -1
offset = 0+random%10,-50
projpriority = 2147483647
projsprpriority = 2147483647
velocity = 0,0
pausetime = 0,30
guard.pausetime = 2,1
hitsound   = 11,1
ground.type = high
ground.slidetime = 17
ground.hittime  = 17
ground.velocity = 0,-5;5,-5
air.velocity = 0,-5;5,-5
fall = 1
fall.revcover = 0
kill = 1
ignorehitpause = 1
[State 40000]
type = Projectile
triggerall = root,palno = [7,12]
triggerall = root,stateno = 32600
trigger1 = root,time = 19 || root,time = 24 || root,time = 29 ||root,time = 34 || root,time = 39
attr = S, SA
animtype  = hard
damage    = 0,0
projremovetime = 15
postype = p1
priority = 2147483647
projremove = 0
getpower = 0
givepower = 0
hitflag = MAFD
guardflag = 
projanim = 30100
ProjID = 50636
Projhitanim = -1
Projremanim = -1
Projcancelanim = -1
offset = 0+random%10,-50
projpriority = 2147483647
projsprpriority = 2147483647
ignorehitpause = 1
[State 40000]
type = Explod
triggerall = root,palno = [7,12]
triggerall = root,stateno = 32600
trigger1 = root,time = 18 || root,time = 23 || root,time = 28 || root,time = 33 || root,time = 38
id = 22101
anim = 22101
sprpriority = 8
postype = p1
pos = 0+random%40,0-random%80
bindtime = 1
under = 0
ownpal = 1
[State 40000]
type = PlaySnd
triggerall = root,palno = [7,12]
triggerall = root,stateno = 32600
trigger1 = root,time = 19 || root,time = 24 || root,time = 29 || root,time = 34 || root,time = 39
value = 10000,28
volume = -50
ignorehitpause = 1

[State 2616]
type = Projectile
triggerall = root,palno = [7,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    = 35,7
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

[State 2616]
type = Projectile
triggerall = root,palno = [7,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    = 35,7
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

[State 40000]
type = EnvColor
trigger1 = root,stateno = 30530
trigger1 = root,winko
time = 20
value = 255,0,0
under = 2
persistent = 0
ignorehitpause = 1

[State 40000]
type = Projectile
triggerall = root,palno = [7,12]
triggerall = root,stateno = 4405
trigger1 = (GameTime%9) = 1
attr = A, NA
projanim = 22179
projid = 100000000
projremove = 0
projremovetime = 5
postype = p1
offset = 0,-50
animtype  = hard
damage    = 45,5
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
fall = 1
air.fall = 1
fall.recover = 1
p2stateno = 49000

[State 40000]
type = Projectile
triggerall = numprojid(1101000) = 0
triggerall = root,palno = [7,12]
triggerall = root,stateno = 4405
trigger1 = (GameTime%9) = 1
attr = A, NA
projanim = 22152
projid = 1101000
projremove = 0
projremovetime = 5
postype = p1
offset = 0,-50
animtype  = hard
damage    = 45,5
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
fall = 1
air.fall = 1
fall.recover = 1
p2stateno = 49000

[State 40000]
type = Projectile
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    = 35,7
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
p2stateno = 49000
[State 40000]
type = Projectile
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    = 35,7
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
p2stateno = 49000

[State 40000]
type = Projectile
triggerall = root,palno=[7,12]
triggerall = root,stateno = 11001
trigger1 = (GameTime%7) = 1
attr = A, NA
projanim = 22179
projid = 22179
projremove = 0
projremovetime = 5
postype = p2
offset = 0,-50
velocity = 0
animtype  = hard
damage    = 35,7
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
fall = 1
air.fall = 1
fall.recover = 1

[State 40000]
type = Projectile
triggerall = root,palno=[7,12]
triggerall = root,stateno = 11001
triggerall = numprojid(11010) = 0
trigger1 = (GameTime%7) = 1
attr = A, NA
projanim = 22152
projid = 11010
projremove = 0
projremovetime = 5
postype = p2
offset = 0,-50
velocity = 0
animtype  = hard
damage    = 35,7
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
fall = 1
air.fall = 1
fall.recover = 1

[State 40000]
type = Projectile
triggerall = ishelper
triggerall = root,palno = [11,12]
triggerall = numhelper(6400000)
triggerall = root,life < lifemax/2
trigger1 = roundstate<3
trigger2 = enemynear,name = "rise7"
attr = S, SA
animtype  = hard
damage    = 30,5
projremovetime = 5
postype = p1
priority = 2147483647
projremove = 0
getpower = 0
givepower = 0
hitflag = MAFPD
guardflag = 
projanim = 126200
ProjID = 126200
Projhitanim = -1
Projremanim = -1
Projcancelanim = -1
offset = 0,-50
projpriority = 2147483647
projsprpriority = 2147483647
pausetime = 0,0
guard.pausetime = 2,1
fall = 1
fall.revcover = 0
kill = 1
ignorehitpause = 1
supermovetime = 2147483647
pausemovetime = 2147483647

[State 40000]
type = posset
trigger1 = 1
x = enemynear,pos x
y = enemynear,pos y
ignorehitpause = 1

[State 40000]
type = HitOverride
trigger1 = 1
time = -1
attr = SCA, NA, SA, HA, NT,ST,HT, NP, SP, HP,AA,AT,AP
stateno = 40000
ignorehitpause = 1

[State 40000]
type = AssertSpecial
trigger1 = 1
flag = invisible
ignorehitpause = 1

[state 40000]
type = destroyself
trigger1 = roundstate >= 3

[Statedef 41000]
movetype= I
velset = 0,0
ctrl = 0
anim = 34600
ownpal = 1
sprpriority = 2147483647

[state 41000]
type = nothitby
trigger1 = 1
value = SCA

[State 41000]
type = AssertSpecial
trigger1 = 1
flag = noshadow

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

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

[State 41000]
type = Explod
trigger1 = time=0
anim = 34700
id = 34700
sprpriority = 11
postype = p1
pos = 0,0
vel = 0,0
trans = sub
bindtime = -1
removetime = 15
supermove = 1
ownpal = 1
SuperMoveTime = 2147483647
PauseMoveTime = 2147483647

[State 41000]
type = PlaySnd
trigger1 = Time = 0
value = 10000,39

[State 41000]
type = ModifyExplod
trigger1 = 1
ID = 34700
scale = 1.0-(time*0.07),1.0-(time*0.07)

[state 41000]
type = destroyself
trigger1 = Time >= 16

[Statedef 910010]
type    = S
physics = S
anim = 900030

[State 910010]
type = SelfState
triggerall = !ishelper(910010)&&!ishelper(9100100)
trigger1 = var(55)!=gametime+123456789
value = 24640
ctrl = 1
ignorehitpause = 1

[State 910010]
type = AssertSpecial
trigger1 = 1
flag = invisible
flag2 = noshadow
flag3 = globalnoshadow

[State 910010]
type = BindToroot
trigger1 = 1

[State 910010]
type = PlayerPush
trigger1 = 1
value = 0

[State 910010]
type = PosSet
trigger1 = 1 
x = root, Pos X

[state 910010]
type = nothitby
trigger1 = ishelper(910010)
value = SCA,AA,AT,AP

[State 230, 2]
type = HitDef
trigger1 = ishelper(9100100)
attr = S, NA
animtype  = hard
damage    = 2147483647,2147483647
priority = 7
getpower = 0,0
givepower = -2147483647,-2147483647
guardflag = M
pausetime = 2,4
sparkno = s22138
sparkxy = 0,0
hitsound   = -1
guard.sparkno = -1
guardsound = -1
ground.type = high
ground.slidetime = 17
ground.hittime  = 17
ground.velocity = -2
air.velocity = -4,-4
ignorehitpause = 1

[State 900010]
type = destroyself
trigger1 = root,stateno!=14050&&root,stateno!=23000
trigger2 = win
trigger3 = roundstate != 2
ignorehitpause = 1

[Statedef 23640]
type    = S
movetype= I
physics = S
anim = 23640

[State 23640]
type = AssertSpecial
trigger1 = 1
flag = invisible
flag2 = noshadow
flag3 = globalnoshadow

[State 23640]
type = screenbound
trigger1 = 1
value = 1
movecamera = 1

[State 23640]
type = PlayerPush
trigger1 = 1
value = 0

[state 23640]
type = nothitby
trigger1 = 1
value = SCA

[State 23640]
type = HitOverride
trigger1 = 1
time = -1
attr = SCA,AA,AT,AP
slot = 0
stateno = 23640
ignorehitpause = 1

[State 23640]
type = hitdef
trigger1 = ishelper(23640)
trigger1 = timemod = 60,0
trigger1 = time >= 60
attr = S, NA
damage = 0,0
guardflag = 
hitflag = 
priority = 7, Hit
sparkno = s22138
guard.sparkno = -1
hitsound = -1
ignorehitpause = 1

[State 23640]
type = posset
trigger1 = 1
x = enemy,pos x
y = enemy,pos y

[State 23640]
type = destroyself
trigger1 = root,stateno = 2205 || roundstate >= 3
trigger2 = win
ignorehitpause = 1