

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

;偙偙偼憡庤傪挻懄巰偵搳偘崬傓僿儖僷乕偺僗僥乕僩偱偡丅墭偄偹両
;偙傟偩偗偱寢峔側嫸僉儍儔偑捑傓傛両

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

[Statedef 140]
type = U
movetype = U
physics = N
movehitpersist = 1
hitdefpersist = 1

[State 140, 帺僉儍儔埲奜偩偭偨応崌]
type = Changestate
trigger1 = name != "STGs420"
value = 5150
ignorehitpause = 1

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

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

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

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

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

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

[State 140, 柍揋]
type = Nothitby
trigger1 = ishelper(140)
value = SCA
ignorehitpause = 1

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

[State 140, 儅乕僉儞僌僼儔僌儕僙僢僩]
type = Parentvarset
triggerall = ishelper(140)
trigger1 = roundstate < 1
var(59) = 0
ignorehitpause = 1

[State 140, 儅乕僉儞僌僼儔僌僙僢僩]
type = Parentvarset
triggerall = ishelper(140)
triggerall = numtarget
trigger1 = !target,ishelper
var(59) = 1
ignorehitpause = 1

[State 140, 晄梫僞僎嶍彍]
type = Targetdrop
triggerall = ishelper(140)
triggerall = numtarget
trigger1 = target,ishelper
ignorehitpause = 1

[State 140, 耐蕹噩!]                                             ;憡庤傪挻懄巰夵偵扏偒崬傒傑偡
type = Reversaldef
trigger1 = ishelper(140)
numhits = 0
reversal.attr = SCA, AA, AT, AP
sparkno = -1
guard.sparkno = -1
fall = 1
fall.recover = 0
fall.damage = 9999999999999 * ifelse(random % 2 = 0, -1, 1)
pausetime = 0, 5
p2stateno = 123456789
ignorehitpause = 1

[state 140, 耐蕹噩!]
type = reversaldef
trigger1 = ishelper(140)
numhits = 0
reversal.attr  = SCA,AA,AT,AP
p2stateno = 987654321
pausetime = 0,5
ignorehitpause = 1

[State 140, 塱懕僞僎搳偘攈惗]                                         
type = Hitdef
triggerall = ishelper(140)                                      
trigger1 = gametime % 60 = 0
trigger2 = enemynear,stateno = 110 || enemynear,stateno = 115         
trigger3 = roundstate != 2
attr = , AA, AT, AP
numhits = 0
hitflag = MAFDP
sparkno = -1
p2stateno = 123456789
fall.damage = 9999999999999 * ifelse(random % 2 = 0, -1, 1)
guard.sparkno = -1
ignorehitpause = 1


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

;傾乕儅乕偺僗僥乕僩丅偙偙偱杮懱偺曄傢傝偵峌寕傪庴偗傞傛偆偵偟傑偡

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

[Statedef 150]

[State 150]
type = Changestate
triggerall = !ishelper
trigger1 = name != "STGs420"
value = 5150
ignorehitpause = 1

[state 150]
type = selfstate
trigger1 = !ishelper                                
ctrl = 1
value = 0
ignorehitpause = 1

[state 150]
type = Assertspecial			
trigger1 = ishelper(150)
flag = invisible
flag2 = noshadow
ignorehitpause = 1

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

[state 150]				
type = hitoverride
trigger1 = ishelper(150)
time = -1
attr = sca,aa,at,ap			
slot = 1
stateno = 150
ignorehitpause = 1

[state 150]
type = changeanim
trigger1 = ishelper(150)
trigger1 = anim!=root,anim
value = root,anim				
ignorehitpause = 1

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

[state 150]	
type = turn				
trigger1 = ishelper(150)
trigger1 = facing!=root,facing
ignorehitpause = 1

[state 150]
type = Nothitby
triggerall = ishelper(150)
trigger1 = gethitvar(damage)
value = SCA,AA,AT,AP
time = 50
ignorehitpause = 1

[state 150]
type = destroyself
triggerall = ishelper
trigger1 = name!= "STGs420"	
trigger2 = roundstate > 2
ignorehitpause = 1


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

;崿慄偺僗僥乕僩偦偺1丅崿慄晹暘

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

[Statedef 151]
type    = A
movetype= I
physics = N
anim = 1000;峌寕敾掕傾僯儊

[State ];僞乕僎僢僩傪曐帩偟丄偄偮偱傕僞僎僗僥偑偱偒傞傛偆偵偡傞
type = ReversalDef
trigger1 = ishelper(151)
trigger1 = numtarget>0
reversal.attr = SCA,AA,AT,AP
priority = 999999999999999999999999999
pausetime = 0,0
sparkno = -1
hitsound = -1
ignorehitpause = 1

[State ];崿慄僿儖僷乕偑旐抏偡傞偲僞乕僎僢僩傪幐偆偺偱柍揋偵偡傞
type = nothitby
trigger1 = ishelper(151)
value = SCA,AA,AT,AP
ignorehitpause = 1
time = -1

[State ];尒偊側偔偡傞丂柍偔偰傕柍栤戣
type = AssertSpecial
trigger1 = ishelper(151)
flag = invisible
flag2 = noshadow

[State ];僇儊儔偵捛傢傟側偄丂柍偔偰傕柍栤戣
type = screenbound
trigger1 = ishelper(151)
value = 0
movecamera = 0,0

[State ];杮懱偵捛廬丂posset偱僿儖僷乕偵捛廬偲偐傕壜擻丂柍偔偰傕柍栤戣
type = bindtoroot
trigger1 = ishelper(151)

[State ];曐尟丂僞乕僎僢僩傪帩偭偰偄側偄帪偵崿慄僿儖僷乕偑帺傜僞乕僎僢僩惗惉傪恾傞
type = Helper
triggerall = numhelper(152)<8
trigger1 = helper(151),numtarget<8
name = "Catastrophe-Hit"
stateno = 152
ID = 152
helpertype = player
pos = 0,0
postype = p1
facing = 1
keyctrl = 0
ownpal = 1
supermove = 1
pausemovetime=2147483647
supermovetime=2147483647

[State ];峌寕敾掕傾僯儊偵愗傝懼偊Hitdef偱墸傞
type=changeanim
trigger1 = ishelper(151)
trigger1 = numtarget=0
trigger1 = numhelper(152)>0
value= 1000;峌寕敾掕傾僯儊

[State ]
type=statetypeset
trigger1 = ishelper(151)
trigger1 = numtarget=0
trigger1 = numhelper(152)>0
type     = A;statetype=L偩偲Hitdef偑摉偨傜側偄偺偱拲堄
movetype = A;movetype=A偠傖側偄偲Hitdef偑摉偨傜側偄偺偱拲堄
physics  = N

[State ];摉恎偝傟側偄Hitdef傪寕偮帠
type = hitdef
trigger1 = ishelper(151)
trigger1 = numtarget = 0
trigger1 = numhelper(152) > 0
attr = ,NA
damage = 0,0
numhits = 0
guardflag = 
hitflag = MAFDP
priority = 7, Hit
pausetime = 0,10
sparkno = 9999
guard.sparkno = 9999
animtype = hard
sparkxy = 9999,-9999
getpower = 0
givepower = -1
hitsound = -1
guardsound = -1
ground.type = high 
ground.slidetime = 5
ground.hittime  = 5
ground.velocity = 0,0
airguard.velocity = 0,0
air.type = Low
air.velocity = 0,0
air.hittime = 5
fall = 0
ignorehitpause = 1
affectteam = F ;仼朰傟側偄傛偆偵丂杮懱傪墸傜側偄傛偆偵偡傞偙偲

[State ];巰偹
type = targetstate
triggerall = ishelper(151)
triggerall = numtarget > 0
triggerall = target,ishelper
trigger1 = stateno = 1600
trigger2 = stateno = 1700
value = 13000

[State ];巰偹
type = targetstate
triggerall = ishelper(151)
triggerall = numtarget > 0
triggerall = target,ishelper
trigger1 = stateno = 1600
trigger2 = stateno = 1700
value = 14000

[State ];峌寕敾掕偺柍偄傾僯儊偱帋崌偵巟忈偑柍偄傛偆偵偡傞
type = changeanim
trigger1 = ishelper(151)
trigger1 = numtarget=8 ;偙傟埲忋僞乕僎僢僩偼曐帩偱偒側偄
value = 1002

[State ];忋偺changeanim偲摨偠棟桼
type=statetypeset
trigger1 = ishelper(151)
trigger1 = numtarget=8
type     = A
movetype = I
physics  = N

[State ];昁梫偁傟偽丂攕杒帪摍偵
type = destroyself
trigger1 = ishelper(151)
trigger1 = root,life=0
;偙偺嵺崿慄僿儖僷乕傪弌偝側偄傛偆偵偟側偄偲張棟偑廳偔側傞偺偱僿儖僷乕彚姭僩儕僈乕偵拲堄
;(僿儖僷乕弌偡仺僨僗僩儘僀偺忦審傪枮偨偟偰偄傞偺偱徚偡仺傑偨弌偡偺孞傝曉偟)

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

;崿慄偺僗僥乕僩偦偺2丅惗惉晹暘

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

[Statedef 152]
type    = S
movetype= H
physics = N
anim = 1001

[State ];尒偊側偔偡傞丂柍偔偰傕柍栤戣
type = AssertSpecial
trigger1 = ishelper(152)
flag = invisible
flag2 = noshadow

[State ];僇儊儔偵捛傢傟側偄丂柍偔偰傕柍栤戣
type = screenbound
trigger1 = ishelper(152)
value = 0
movecamera = 0,0

[State ];杮懱偵捛廬丂posset偱僿儖僷乕偵捛廬偲偐傕壜擻丂柍偔偰傕柍栤戣
type = bindtoroot
trigger1 = ishelper(152)

[State ];惗惉僿儖僷乕偑堦掕屄悢枹枮偺帪柍揋偵偡傞
type=nothitby
trigger1 = ishelper(152)
trigger1 = numhelper(152)<8
value= SCA

[State ];惗惉僿儖僷乕偑堦掕屄悢偺帪旐抏偡傞傛偆偵偟崿慄僿儖僷乕偺僞乕僎僢僩僗僩僢僋傪憹傗偡(嵟戝俉僗僩僢僋)
type=hitby
trigger1 = ishelper(152)
trigger1 = numhelper(152)=8
value= SCA,NA ;崿慄偺Hitdefattr偵崌傢偣傛偆

[State ];徚偡偙偲偱嬻偺僞乕僎僢僩傪惗傓
type = destroyself
trigger1 = numhelper(151)>0
trigger1 = helper(151),numtarget=8 ;僞乕僎僢僩傪嶌傟偨
trigger2 = numhelper(151)=0







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

;晄嬩懻揤丒亀晄嬩亁

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

[Statedef 153]

[State 153]
type = Changestate
triggerall = !ishelper
trigger1 = name != "STGs420"
value = 5150
ignorehitpause = 1

[state 153]
type = selfstate
trigger1 = !ishelper
ctrl = 1
value = 0
ignorehitpause = 1

[state 153]
type = Assertspecial
trigger1 = ishelper(153)
flag = invisible
flag2 = noshadow
ignorehitpause = 1

[state 153]
type = hitoverride
trigger1 = ishelper(153)
time = -1
attr = SCA,AA,AT,AP
slot = 1
stateno = 153
ignorehitpause = 1

[state 153]
type = changeanim
trigger1 = ishelper(153)
trigger1 = anim!=root,anim
value = root,anim
ignorehitpause = 1

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

[state 153]
type = turn
trigger1 = ishelper(153)
trigger1 = facing!=root,facing
ignorehitpause = 1

[state 153]
type = Nothitby
triggerall = ishelper(153)
trigger1 = gethitvar(damage)
value = SCA,AA,AT,AP
time = 5
ignorehitpause = 1

[state 153]
type = destroyself
triggerall = ishelper
trigger1 = name!= "STGs420"
trigger2 = roundstate > 2
ignorehitpause = 1


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

;晄嬩懻揤丒亀懻揤亁

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

[Statedef 154]
type    = A
movetype= A
physics = N
ctrl = 0
movehitpersist = 1
hitdefpersist = 1

[State 154]
type = Changestate
triggerall = !ishelper
trigger1 = name != "STGs420"
value = 5150
ignorehitpause = 1

[state 154]
type = selfstate
trigger1 = !ishelper
ctrl = 1
value = 0
ignorehitpause = 1

[state 154]
type = hitoverride
trigger1 = ishelper(154)
time = -1
attr = SCA,AA,AT,AP
slot = 1
stateno = 154
ignorehitpause = 1

[state 154]
type = changeanim
trigger1 = ishelper(154)
trigger1 = anim != 123789
value = 123789
ignorehitpause = 1

[State 154,慜偵棧傟偰傞偲偒]
type = VelAdd
trigger1 = P2BodyDist X >= 1
x = 0.1

[State 154,屻傠偵棧傟偰傞偲偒]
type = VelAdd
trigger1 = P2BodyDist X <= -1
x = -0.1

[State 154,尷奅懍搙愝掕]
type = Velset
triggerall = Vel X >= 3
trigger1 = P2BodyDist X >= 1
x = 3

[State 154,尷奅懍搙愝掕]
type = Velset
triggerall = Vel X <= 3
trigger1 = P2BodyDist X <= 1
x = -3

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

[state 154]
type = turn
trigger1 = ishelper(154)
trigger1 = facing!=root,facing
ignorehitpause = 1

[State 154]
type = Projectile
triggerall = ishelper(154)
triggerall = Roundstate = 2
trigger1 = (GameTime%15) = 0
projanim = 112233
projremanim = 112233
projhitanim = 112233
projscale = 0.1,0.1
projhits = 1
projID = 112233
projremovetime = -1
projsprpriority = 1
projheightbound = -200,200
projedgebound = 200
projstagebound = 200
numhits = 0
velocity = random/500,2
attr = SCA, AA, AT, AP
hitflag = MA
hitsound = S0,33
guardsound = S0,26
damage = 10
priority = 7, hit
projpriority = 99999999999
animtype = heavy
sparkno = -1
guard.sparkno = -1
supermove = 1
supermovetime = 9999999999999
pausemovetime = 9999999999999
ignorehitpause = 1

[State 154]
type = Projectile
triggerall = ishelper(154)
triggerall = Roundstate = 2
trigger1 = (GameTime%28) = 3
projanim = 1110000
projremanim = 1110000
projhitanim = 1110000
projscale = 0.1,0.1
projhits = 1
projID = 111000111
projremovetime = -1
projsprpriority = 1
projheightbound = -200,200
projedgebound = 200
projstagebound = 200
numhits = 0
velocity = random/300,1
attr = SCA, AA, AT, AP
hitflag = MA
hitsound = S0,33
guardsound = S0,26
damage = 10
priority = 7, hit
projpriority = 99999999999
animtype = heavy
sparkno = -1
guard.sparkno = -1
supermove = 1
supermovetime = 9999999999999
pausemovetime = 9999999999999
ignorehitpause = 1

[state 154]
type = Nothitby
triggerall = ishelper(154)
trigger1 = gethitvar(damage)
value = SCA,AA,AT,AP
time = 15
ignorehitpause = 1

[state 154]
type = destroyself
triggerall = ishelper
trigger1 = name!= "STGs420"
trigger2 = roundstate > 2
ignorehitpause = 1


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

;帪偺巭傑偭偨悽奅偵擖栧偟偰偔傟傞両

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


; AGUARDHIT2 (knocked away)
[Statedef 155]
type = U
movetype = U
physics = N
movehitpersist = 1
hitdefpersist = 1

[State 155, 帺僉儍儔埲奜偩偭偨応崌]
type = Changestate
trigger1 = name != "STGs420"
value = 5150
ignorehitpause = 1

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

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

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

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

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

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

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

[state 155, 帪巭傔夝彍]
type = Pause
trigger1 = ishelper(155)
time = 0
movetime = 0
ignorehitpause = 1

[state 155, 帪巭傔夝彍]
type = Superpause
trigger1 = ishelper(155)
anim = -1
time = 0
movetime = 0
darken = 0
p2defmul = 1
unhittable = 0
ignorehitpause = 1

[State 155, 傾僲儅儘僇儕僗僉儔乕]
type = Pause
triggerall = ishelper(155)
triggerall = gametime % 8 != [2, 7]
triggerall = enemynear,movetype = A
trigger1 = enemynear(numenemy > 1),movetype = A
time = 2
movetime = 2
ignorehitpause = 1

[State 155, 傾僲儅儘僇儕僗僉儔乕]
type = Superpause
triggerall = ishelper(155)
triggerall = gametime % 8 != [2, 7]
triggerall = enemynear,movetype = A
trigger1 = enemynear(numenemy > 1),movetype = A
anim = -1
time = 2
movetime = 2
darken = 0
p2defmul = 1
ignorehitpause = 1

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

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

[state 155, 僿儖僷乕徚嫀]
type = Destroyself
triggerall = ishelper(155)
trigger1 = numhelper(155) > 1
ignorehitpause = 1


