[Statedef -2]
;-------------------------------------------------------------------------------
[State -2, クリップボード]
type = DisplayToClipboard
trigger1 = !ishelper
text = "v26:%d,alive:%d,e-alive:%d,sv4:%d,v50:%d"
params = var(26),alive,enemy,alive,sysvar(4),var(50)
ignorehitpause = 1
[State ]
type = AppendToClipboard
trigger1 = !ishelper
text = "\nnumhelper:%d,hpt:%d,movereversed:%d,sfv4:%d"
params = numhelper+enemy,numhelper,hitpausetime,movereversed,ceil(sysfvar(4))
ignorehitpause = 1
;-------------------------------------------------------------------------------
[State -2, クリップボード]
type = null ;DisplayToClipboard
trigger1 = !ishelper
text = "var(59)=%d, var(0)=%d, var(47)=%d, Body-Distance X=%d,Y=%d \n"
params = var(59),var(0),var(47),floor(P2BodyDist X),floor(P2BodyDist Y)

[State -2, クリップボード（追加専用）]
type = null ;AppendToClipboard
trigger1 = !ishelper
text = "Position X=%d,Y=%d, Velocity X=%f,Y=%f, Hit=%d \n"
params = floor(Pos X),floor(Pos Y),(Vel X),(Vel Y),(MoveHit)

[State -2, 距離確認デバック]
type = null;AppendToClipboard
trigger1 = !ishelper
text =  "P2X:%f,P2Y:%f,Vx%f,Vy%f,Py%f \n"
params = P2BodyDist x,P2BodyDist y,vel x,vel y,Pos y
IgnoreHitPause = 1

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

;モード判定
[state -2, var]
type = null;varset
triggerall = !ishelper
trigger1 = palno = [7,12]
var(1) = 1
ignorehitpause = 1

;(自分交代時)チームモードイントロ判定
[State -2, Turns Mode Intro]
type = ChangeState
triggerall = !ishelper
trigger1 = roundsexisted <= 0
trigger1 = roundstate = 0
trigger1 = time = 0
value = 190
ignorehitpause = 1

;2段ジャンプ判定
[state -2]
type = varadd
triggerall = !ishelper
trigger1 = var(7) > 0
var(7) = 1
ignorehitpause = 1

[state -2]
type = varset
triggerall = !ishelper
triggerall = time = 1
trigger1 = stateno = 50
trigger2 = stateno = 5210
var(7) = 1
ignorehitpause = 1

[state -2]
type = varset
triggerall = !ishelper
trigger1 = var(7) >= 4
trigger1 = command != "holdup"
var(7) = 0
ignorehitpause = 1

[State 190, パワーセット]
type = PowerSet
triggerall = !ishelper
trigger1 = roundsexisted <= 0
trigger1 = roundstate = 0
trigger1 = power < 1000
value = 1000
ignorehitpause = 1

[State -2]
type = PowerAdd
triggerall = !ishelper
triggerall = roundstate = 2
triggerall = power != powermax
triggerall = authorname="Jirougaki" && name="fw_gigan"
triggerall = stateno = 0 || (stateno = [10,12]) || stateno = 20
trigger1 = (!var(58) || (var(58)=2&&command != "hold_a")) && !(gametime%5)
trigger2 = !var(59) && ctrl
trigger2 = var(58) && !(gametime%2)
trigger2 = command = "hold_a"
trigger3 = var(59) && ctrl
trigger3 = var(58) && !(gametime%2)
trigger3 = random <= 200*(1+(life<700)+(life<333)+(life<p2life))
value = 10
ignorehitpause = 1

[State -2]
type = PowerAdd
triggerall = !ishelper
triggerall = roundstate = 2
triggerall = power != powermax
triggerall = authorname="Jirougaki" && name="fw_gigan"
trigger1 = var(36) = (0,104]
trigger1 = !var(37)
trigger1 = !(gametime%4)
value = 1
ignorehitpause = 1

;---------------------------------------------------------------------------
;怒号ゲージMAX時点滅
;[State -2]
;type = Palfx
;triggerall = !ishelper
;triggerall = stateno != 194
;trigger1 = alive
;trigger1 = var(31)
;trigger1 = !var(25)
;trigger1 = !(gametime%48)
;time = 48
;sinadd = 48,0,0,96
;ignorehitpause = 1

;怒号ゲージ
;[state -2, helper]
;type = helper
;triggerall = palno != 12
;triggerall = !ishelper
;trigger1 = !numhelper(8900)
;helpertype = normal
;name = "gauge"
;stateno = 8900
;id = 8900
;pos = -999,-999
;postype = back
;ownpal = 1
;keyctrl = 0
;pausemovetime = 99999999
;supermovetime = 99999999

;ショックゲージ
;[state -2, helper]
;type = helper
;triggerall = palno != 12
;triggerall = !ishelper
;trigger1 = !numhelper(8950)
;helpertype = normal
;name = "gauge2"
;stateno = 8950
;id = 8950
;pos = -999,-999
;postype = back
;ownpal = 1
;keyctrl = 0
;pausemovetime = 99999999
;supermovetime = 99999999

;[state -2, helper]
;type = helper
;triggerall = palno = 12
;triggerall = !ishelper
;trigger1 = !numhelper(8900)
;helpertype = player
;name = "gauge"
;stateno = 8900
;id = 8900
;pos = -999,-999
;postype = back
;ownpal = 1
;keyctrl = 0
;pausemovetime = 99999999
;supermovetime = 99999999

;ショックゲージ
;[state -2, helper]
;type = helper
;triggerall = palno = 12
;triggerall = !ishelper
;trigger1 = !numhelper(8950)
;helpertype = player
;name = "gauge2"
;stateno = 8950
;id = 8950
;pos = -999,-999
;postype = back
;ownpal = 1
;keyctrl = 0
;pausemovetime = 99999999
;supermovetime = 99999999

;[State -2]
;type = ChangeState
;triggerall = !ishelper&&palno!=12
;triggerall = !var(2)
;triggerall = var(50) = 2*gametime
;triggerall = stateno != [4000,4011]
;triggerall = prevstateno != [4000,4011]
;triggerall = stateno != 170
;triggerall = stateno != 5120
;triggerall = stateno != 5150
;triggerall = (stateno = [0,40]) || (stateno = [120,155]) || (stateno = [5000,5110])
;trigger1 = var(37)
;trigger2 = !alive
;trigger2 = roundstate = 3
;value = 4000
;ignorehitpause = 1

[state -2, var]
type = varadd
triggerall = !ishelper
trigger1 = var(31)
trigger1 = var(32) < 2
var(32) = 1
ignorehitpause = 1

[state -2, var]
type = varset
triggerall = !ishelper
trigger1 = !var(31)
var(32) = 0
ignorehitpause = 1

;[State -2]
;type = PlaySnd
;trigger1 = var(31)
;trigger1 = var(32) = 1
;value = 10, 0

;---------------------------------------------------------------------------
;怒号ゲージ
[state -2, var]
type = varset
triggerall = !ishelper
triggerall = !var(2)
trigger1 = roundstate = 0
trigger2 = var(30) < 0
var(30) = 0
ignorehitpause = 1

[state -2, var]
type = varset
triggerall = !ishelper
trigger1 = var(30) > 22
trigger2 = var(2)
var(30) = 22
ignorehitpause = 1

[state -2, var]
type = varset
triggerall = !ishelper
trigger1 = var(30) < 22
var(31) = 0
ignorehitpause = 1

[state -2, var]
type = varset
triggerall = !ishelper
trigger1 = var(30) >= 22
trigger2 = var(2)
var(31) = 1
ignorehitpause = 1

;上昇1
[state -2, var]
type = varadd
triggerall = !ishelper
trigger1 = alive
trigger1 = !var(37)
trigger1 = var(30) < 22
trigger1 = var(35)-life > 0
var(30) = 0+ceil((var(35)-life)*.047);.03525)
ignorehitpause = 1

;上昇2
[state -2, var]
type = null;varadd
triggerall = !ishelper
trigger1 = alive
trigger1 = !var(37)
trigger1 = var(30) < 22
trigger1 = var(35)-life > 0
trigger1 = power-var(29) > 0
var(30) = 0+ceil((power-var(29))*.01175)
ignorehitpause = 1

[state -2, var]
type = null;varset
triggerall = !ishelper
trigger1 = alive
var(29) = power
ignorehitpause = 1

;減少
[state -2, var]
type = varadd
triggerall = !ishelper
triggerall = !var(2)
trigger1 = var(37)
trigger1 = var(30) > 0
var(30) = -1
ignorehitpause = 1

;===========================================================================
;ショックゲージ
[state -2, var]
type = varset
triggerall = !ishelper
trigger1 = var(36) > 104
var(36) = 104
ignorehitpause = 1

[state -2, var]
type = varset
triggerall = !ishelper
trigger1 = roundstate = 0
trigger2 = var(36) < 0
trigger3 = var(2)
var(36) = 0
ignorehitpause = 1

;上昇
[state -2, var]
type = varadd
triggerall = !ishelper
trigger1 = alive
trigger1 = !var(37)
trigger1 = var(36) < 104
trigger1 = var(35)-life > 0
var(36) = 0+ceil((var(35)-life)*.25)
ignorehitpause = 1

;咆哮による上昇
[state -2, var]
type = varadd
triggerall = !ishelper
triggerall = alive
triggerall = !var(37)
triggerall = var(36) < 104
triggerall = enemynear,time = 1
triggerall = enemynear,authorname="Jirougaki" 
triggerall = enemynear,stateno=195
trigger1 = enemynear,name="gigan" || enemynear,name="mecha-king_ghidorah" || enemynear,name="new_mechagodzilla"
trigger2 = enemynear,name="fw_gigan" || enemynear,name="battra_adult"
var(36) = 31-ifelse(ceil(p2bodydist X*.14)<31,ceil(p2bodydist X*.14),31)
ignorehitpause = 1

;回復
[state -2, var]
type = varadd
triggerall = !ishelper
triggerall = var(36) = (0,104]
trigger1 = !var(31)
trigger1 = !(gametime%2)
trigger2 = var(31)
trigger2 = !(gametime%6)
var(36) = -1
ignorehitpause = 1

[state -2, var]
type = varset
triggerall = !ishelper
trigger1 = alive
var(35) = life
ignorehitpause = 1

[state -2, var]
type = varset
triggerall = !ishelper
trigger1 = var(37)
trigger1 = var(36) <= 0
var(37) = 0
ignorehitpause = 1

[state -2, var]
type = varset
triggerall = !ishelper
trigger1 = var(36) >= 104
var(37) = 1
ignorehitpause = 1

;---------------------------------------------------------------------------
;コンボ補正OFF
[state -2]
type = varset
triggerall = !ishelper
trigger1 = !var(40)
trigger2 = var(44) = 1
trigger2 = time = 1
var(44) = 0
ignorehitpause = 1

;コンボ補正始動State
[state -2]
type = varset
triggerall = !ishelper
triggerall = var(44) != 2
trigger1 = stateno = 200
trigger2 = stateno = 210
trigger3 = stateno = 400
trigger4 = stateno = 410
trigger5 = stateno = 600
trigger6 = stateno = 610
trigger7 = stateno = 620
trigger8 = stateno = [630,632]
trigger9 = stateno = 810
trigger10 = stateno = [815,816]
trigger11 = stateno = 1001
trigger12 = stateno = 1100
trigger13 = stateno = 1110
trigger14 = stateno = 1120
trigger15 = stateno = 1130
trigger16 = stateno = 1200
trigger17 = stateno = 1210
trigger18 = stateno = 1220
trigger19 = stateno = 1230
trigger20 = stateno = [3001,3002]
trigger21 = stateno = 3100
trigger22 = stateno = [3200,3201]
trigger23 = stateno = 3301
var(44) = 1
ignorehitpause = 1

;コンボ補正ON
[state -2]
type = varset
triggerall = !ishelper
trigger1 = var(44) = 1
trigger1 = movehit = 1
var(44) = 2
ignorehitpause = 1

;---------------------------------------------------------------------------
;Hit数補正
[state -2]
type = varset
triggerall = !ishelper
trigger1 = numenemy
trigger1 = enemy,movetype != H
var(40) = 0
ignorehitpause = 1

[state -2]
type = varadd
triggerall = !ishelper
trigger1 = movehit = 1
trigger2 = projhit = 1
var(40) = 1
;ignorehitpause = 1

;---------------------------------------------------------------------------
;Life補正(自分)
[state -2]
type = varset
triggerall = !ishelper
trigger1 = ceil(144*life/const(data.life))=[129,144]
var(42) = 0
ignorehitpause = 1

[state -2]
type = varset
triggerall = !ishelper
trigger1 = ceil(144*life/const(data.life))=[113,128]
var(42) = 1
ignorehitpause = 1

[state -2]
type = varset
triggerall = !ishelper
trigger1 = ceil(144*life/const(data.life))=[97,112]
var(42) = 2
ignorehitpause = 1

[state -2]
type = varset
triggerall = !ishelper
trigger1 = ceil(144*life/const(data.life))=[81,96]
var(42) = 3
ignorehitpause = 1

[state -2]
type = varset
triggerall = !ishelper
trigger1 = ceil(144*life/const(data.life))=[65,80]
var(42) = 4
ignorehitpause = 1

[state -2]
type = varset
triggerall = !ishelper
trigger1 = ceil(144*life/const(data.life))=[49,64]
var(42) = 5
ignorehitpause = 1

[state -2]
type = varset
triggerall = !ishelper
trigger1 = ceil(144*life/const(data.life))=[33,48]
var(42) = 6
ignorehitpause = 1

[state -2]
type = varset
triggerall = !ishelper
trigger1 = ceil(144*life/const(data.life))=[17,32]
var(42) = 7
ignorehitpause = 1

[state -2]
type = varset
triggerall = !ishelper
trigger1 = ceil(144*life/const(data.life))=[1,16]
var(42) = 8
ignorehitpause = 1

[state -2]
type = varset
triggerall = !ishelper
trigger1 = ceil(144*life/const(data.life))=0
var(42) = 9
ignorehitpause = 1

;---------------------------------------------------------------------------
;Life補正(相手)
[state -2]
type = varset
triggerall = !ishelper
trigger1 = roundstate = 2
trigger1 = ceil(144*enemynear,life/enemynear,const(data.life))=[143,144]
var(43) = 0
ignorehitpause = 1

[state -2]
type = varset
triggerall = !ishelper
trigger1 = roundstate = 2
trigger1 = ceil(144*enemynear,life/enemynear,const(data.life))=[128,142]
var(43) = 1
ignorehitpause = 1

[state -2]
type = varset
triggerall = !ishelper
trigger1 = roundstate = 2
trigger1 = ceil(144*enemynear,life/enemynear,const(data.life))=[112,127]
var(43) = 2
ignorehitpause = 1

[state -2]
type = varset
triggerall = !ishelper
trigger1 = roundstate = 2
trigger1 = ceil(144*enemynear,life/enemynear,const(data.life))=[96,111]
var(43) = 3
ignorehitpause = 1

[state -2]
type = varset
triggerall = !ishelper
trigger1 = roundstate = 2
trigger1 = ceil(144*enemynear,life/enemynear,const(data.life))=[80,95]
var(43) = 4
ignorehitpause = 1

[state -2]
type = varset
triggerall = !ishelper
trigger1 = roundstate = 2
trigger1 = ceil(144*enemynear,life/enemynear,const(data.life))=[64,79]
var(43) = 5
ignorehitpause = 1

[state -2]
type = varset
triggerall = !ishelper
trigger1 = roundstate = 2
trigger1 = ceil(144*enemynear,life/enemynear,const(data.life))=[48,63]
var(43) = 8
ignorehitpause = 1

[state -2]
type = varset
triggerall = !ishelper
trigger1 = roundstate = 2
trigger1 = ceil(144*enemynear,life/enemynear,const(data.life))=[32,47]
var(43) = 9
ignorehitpause = 1

[state -2]
type = varset
triggerall = !ishelper
trigger1 = roundstate = 2
trigger1 = ceil(144*enemynear,life/enemynear,const(data.life))=[16,31]
var(43) = 12
ignorehitpause = 1

[state -2]
type = varset
triggerall = !ishelper
trigger1 = roundstate = 2
trigger1 = ceil(144*enemynear,life/enemynear,const(data.life))=[0,15]
var(43) = 13
ignorehitpause = 1

[state -2]
type = varset
triggerall = !ishelper
trigger1 = 1
fvar(1) = (1+(.08*var(42)))*(1-(.04*var(43)))
ignorehitpause = 1

;+攻撃力補正
[state -2]
type = varset
triggerall = !ishelper
trigger1 = !(stateno = [3000,3002])
trigger1 = stateno != 3100
trigger1 = !(stateno = [3200,3202])
trigger1 = !(stateno = [3300,3301])
fvar(2) = ifelse(var(31),1.63,1)
ignorehitpause = 1

;---------------------------------------------------------------------------
;最終補正
[state -2]
type = varset
triggerall = !ishelper
trigger1 = 1
fvar(0) = fvar(1)*fvar(2)*ifelse(!var(44),1,1-ifelse(var(40)%2,(var(40)-1)*.04,var(40)*.04))
ignorehitpause = 1

[state -2, var]
type = varset
triggerall = !ishelper
trigger1 = fvar(0) < 0
fvar(0) = 0
ignorehitpause = 1

;---------------------------------------------------------------------------
[state -2]
type = varadd
triggerall = !ishelper
trigger1 = !alive
trigger1 = var(13) < 2
var(13) = 1
ignorehitpause = 1

[State 200, 音を鳴らす]
type = PlaySnd
triggerall = !ishelper
triggerall = var(13) = 1
trigger1 = enemy,name="godzilla"
value = 180, 11
channel = 2

;------------------------------
;壁激突用
[State -2, エフェクト]
type = Explod
triggerall = !ishelper
trigger1 = numtarget
trigger1 = target,stateno = 3441
trigger1 = !NumExplod(7045)
trigger1 = target,time = 1
anim = 7045
postype = p2
pos = -10,-60
sprpriority = 1
facing = -1
scale = const(size.xscale), const(size.yscale)
id = 7045
pausemovetime = 999999

[State -2, エフェクト]
type = Explod
triggerall = !ishelper
trigger1 = NumExplod(7045) = 1
trigger1 = !NumExplod(7046)
anim = 7046
postype = p2
pos = -10,-60
sprpriority = -1
facing = -1
scale = const(size.xscale), const(size.yscale)
id = 7046
pausemovetime = 999999

[State -2, 音を鳴らす]
type = PlaySnd
triggerall = !ishelper
trigger1 = numtarget
trigger1 = target,time = 1
trigger1 = NumExplod(7045) = 1
value = 7,2

;---------------------------------------------------------------------------
[state -2, var]
type = varset
triggerall = !ishelper
trigger1 = const(size.ground.front)!= 11
var(51) = ceil(11-const(size.ground.front))
ignorehitpause = 1
;---------------------------------------------------------------------------
;EXモード用
[state -2, var]
type = varset
triggerall = !ishelper
trigger1 = palno = 11
var(2) = 1
ignorehitpause = 1

[State -2]
type = PowerSet
triggerall = !ishelper
triggerall = roundstate <= 3
trigger1 = var(2)
value = powermax
ignorehitpause = 1
;-------------------------------------------------------------------------------
[State ]
type = LifeSet
trigger1 = ishelper
value = lifemax
ignorehitpause = 1

[State ]
type = Screenbound
trigger1 = ishelper
value = 0
ignorehitpause = 1

[State ]
type = AssertSpecial
trigger1 = ishelper
flag = Noshadow
ignorehitpause = 1

[State ]
type = AssertSpecial
trigger1 = !ishelper
flag = Nokoslow
ignorehitpause = 1
;-------------------------------------------------------------------------------
;gold settings
[State ]
type = VarSet
trigger1 = !ishelper
var(27) = 1 ;Regeneration with coins.
ignorehitpause = 1

[State ]
type = VarSet
trigger1 = !ishelper
fvar(35) = 1 ;Gold Bar and Gold Statue Explods in background.
ignorehitpause = 1
;-------------------------------------------------------------------------------
[State ]
type = Explod
triggerall = !ishelper&&roundstate = [0,1]
trigger1 = !NumExplod(101990)
anim = ifelse(palno=12,988896,988895)
id = 101990
postype = Left
pos = 2 + (TeamSide = 2) * 216,170
bindtime = -1
removetime = -1
scale = 0.25,0.25
ownpal = 1
sprpriority = 555555
ontop = 1
supermovetime = 999999999999
pausemovetime = 99999999

[State ]
type = RemoveExplod
triggerall = !ishelper
trigger1 = roundstate != [0,1]
ID = 101990
ignorehitpause=1

[State ]
type = Explod
triggerall = !ishelper&&roundstate = [0,1]
trigger1 = !NumExplod(101989)
anim = 988893
id = 101989
postype = Left
pos = 2 + (TeamSide = 2) * 216,180
bindtime = -1
removetime = -1
scale = 0.25,0.25
ownpal = 1
sprpriority=9999999999
ontop = 1
supermovetime = 999999999999
pausemovetime = 999999999999
ignorehitpause = 1

[State ]
type = RemoveExplod
triggerall = !ishelper
trigger1 = roundstate != [0,1]
ID = 101989
ignorehitpause=1

[State ]
type = HitBy
triggerall = !ishelper
trigger1 = palno!= 12
value = SCA,AA,AP
time = 1
ignorehitpause = 1

[State ]
type = NotHitBy
triggerall = !ishelper&&palno!=12
trigger1 = MoveType = H
value = SCA,AA,AP,AT
time = 1
ignorehitpause = 1

[State -2]
type = NotHitBy
triggerall = !ishelper&&palno!=12
trigger1 = MoveType = A
value = SCA,AA,AP,AT
time = 1
ignorehitpause = 1

[State -2, 無敵]
type = NotHitBy
triggerall = !ishelper
trigger1 = (RoundState != 2)
value = SCA
time = 10
supermovetime = 99999999
pausemovetime = 99999999
IgnoreHitPause = 1

[State -2]
type = LifeAdd
triggerall = !ishelper&&palno!=12
trigger1 = var(27) = 1
trigger1 = Alive
trigger1 = GameTime % 3 = 1
value = 1
absolute = 1
ignorehitpause = 1

[State -2]
type = LifeAdd
triggerall = !ishelper&&palno!=12
trigger1 = var(27) = 1
trigger1 = Alive
trigger1 = GameTime % 3 = 1
trigger1 = Life < 0.5 * LifeMax
value = 2
absolute = 1
ignorehitpause = 1

[State -2]
type = LifeAdd
triggerall = !ishelper&&palno!=12
trigger1 = var(27) = 1
trigger1 = Alive
trigger1 = Life < 0.2 * LifeMax
value = 2
absolute = 1
ignorehitpause = 1

[State -2]
type = PowerAdd
triggerall = !ishelper
trigger1 = var(27) = 1
value = 1+random%40
ignorehitpause = 1

[State -2]
type = PowerAdd
triggerall = !ishelper
trigger1 = var(27) = 1
trigger1 = Life < 0.5 * LifeMax
value = 3
ignorehitpause = 1

[State -2]
type = PowerAdd
triggerall = !ishelper
trigger1 = var(27) = 1
trigger1 = Life < 0.2 * LifeMax
value = 1+random%20
ignorehitpause = 1

[State -2]
type = LifeAdd
triggerall = !ishelper&&palno!=12
trigger1 = var(25) = 1
value = 50
ignorehitpause = 1

[State -2]
type = PowerAdd
triggerall = !ishelper
trigger1 = var(25) = 1
value = 1+random%30
ignorehitpause = 1

[State -2]
type = LifeAdd
triggerall = !ishelper&&palno!=12
trigger1 = var(25) = 2
value = 100
ignorehitpause = 1

[State -2]
type = PowerAdd
triggerall = !ishelper
trigger1 = var(25) = 2
value = 1+random%40
ignorehitpause = 1

[State -2]
type = VarAdd
triggerall = !ishelper
trigger1 = PalNo = [1,6]
trigger1 = var(25) = 1
trigger1 = var(26) <= 998
var(26) = 1
ignorehitpause = 1

[State -2]
type = VarAdd
triggerall = !ishelper
trigger1 = PalNo = [7,9]
trigger1 = var(25) = 1
trigger1 = var(26) <= 998
var(26) = 2
ignorehitpause = 1

[State -2]
type = VarAdd
triggerall = !ishelper
trigger1 = PalNo = [10,12]
trigger1 = var(25) = 1
trigger1 = var(26) <= 998
var(26) = 5
ignorehitpause = 1

[State -2]
type = VarAdd
triggerall = !ishelper
trigger1 = var(25) = 2
trigger1 = var(26) <= 998
var(26) = 100
ignorehitpause = 1

[State -2]
type = VarSet
triggerall = !ishelper
trigger1 = var(25) = 1
trigger2 = var(25) = 2
var(25) = 0
ignorehitpause = 1

[State -2]
type = VarSet
triggerall = !ishelper
trigger1 = var(26) >= 1000
var(26) = 300
ignorehitpause = 1

[State -2]
type = VarSet
triggerall = !ishelper
trigger1 = var(26) >= 998
var(25) = 1
ignorehitpause = 1

[State -2]
type = VarSet
triggerall = !ishelper
trigger1 = palno = 12
var(26) = 999
ignorehitpause = 1

[State -2]
type = Explod
triggerall = !ishelper
trigger1 = 1
anim = 12345
pos = IfElse(TeamSide = 1,10,260),215
postype = left
sprpriority = 2
removetime = 1
ownpal = 1
ignorehitpause = 1
supermovetime = 99999999
pausemovetime = 99999999

[State -2]
type = Explod
triggerall = !ishelper
trigger1 = var(26) <= 99
anim = 123450
pos = IfElse(TeamSide = 1,25,275),215
postype = left
sprpriority = 2
removetime = 1
ownpal = 1
ignorehitpause = 1
supermovetime = 99999999
pausemovetime = 99999999

[State -2]
type = Explod
triggerall = !ishelper
trigger1 = var(26) <= 9
anim = 123450
pos = IfElse(TeamSide = 1,35,285),215
postype = left
sprpriority = 2
removetime = 1
ownpal = 1
ignorehitpause = 1
supermovetime = 99999999
pausemovetime = 99999999

[State -2]
type = Explod
triggerall = !ishelper
trigger1 = var(26) = 0
anim = 123450
pos = IfElse(TeamSide = 1,45,295),215
postype = left
sprpriority = 2
removetime = 1
ownpal = 1
ignorehitpause = 1
supermovetime = 99999999
pausemovetime = 99999999

[State -2]
type = Explod
triggerall = !ishelper
trigger1 = var(26) = [100,199]
anim = 123451
pos = IfElse(TeamSide = 1,25,275),215
postype = left
sprpriority = 2
removetime = 1
ownpal = 1
ignorehitpause = 1
supermovetime = 99999999
pausemovetime = 99999999

[State -2]
type = Explod
triggerall = !ishelper
trigger1 = var(26) = [200,299]
anim = 123452
pos = IfElse(TeamSide = 1,25,275),215
postype = left
sprpriority = 2
removetime = 1
ownpal = 1
ignorehitpause = 1
supermovetime = 99999999
pausemovetime = 99999999

[State -2]
type = Explod
triggerall = !ishelper
trigger1 = var(26) = [300,399]
anim = 123453
pos = IfElse(TeamSide = 1,25,275),215
postype = left
sprpriority = 2
removetime = 1
ownpal = 1
ignorehitpause = 1
supermovetime = 99999999
pausemovetime = 99999999

[State -2]
type = Explod
triggerall = !ishelper
trigger1 = var(26) = [400,499]
anim = 123454
pos = IfElse(TeamSide = 1,25,275),215
postype = left
sprpriority = 2
removetime = 1
ownpal = 1
ignorehitpause = 1
supermovetime = 99999999
pausemovetime = 99999999

[State -2]
type = Explod
triggerall = !ishelper
trigger1 = var(26) = [500,599]
anim = 123455
pos = IfElse(TeamSide = 1,25,275),215
postype = left
sprpriority = 2
removetime = 1
ownpal = 1
ignorehitpause = 1
supermovetime = 99999999
pausemovetime = 99999999

[State -2]
type = Explod
triggerall = !ishelper
trigger1 = var(26) = [600,699]
anim = 123456
pos = IfElse(TeamSide = 1,25,275),215
postype = left
sprpriority = 2
removetime = 1
ownpal = 1
ignorehitpause = 1
supermovetime = 99999999
pausemovetime = 99999999

[State -2]
type = Explod
triggerall = !ishelper
trigger1 = var(26) = [700,799]
anim = 123457
pos = IfElse(TeamSide = 1,25,275),215
postype = left
sprpriority = 2
removetime = 1
ownpal = 1
ignorehitpause = 1
supermovetime = 99999999
pausemovetime = 99999999

[State -2]
type = Explod
triggerall = !ishelper
trigger1 = var(26) = [800,899]
anim = 123458
pos = IfElse(TeamSide = 1,25,275),215
postype = left
sprpriority = 2
removetime = 1
ownpal = 1
ignorehitpause = 1
supermovetime = 99999999
pausemovetime = 99999999

[State -2]
type = Explod
triggerall = !ishelper
trigger1 = var(26) >= 900
anim = 123459
pos = IfElse(TeamSide = 1,25,275),215
postype = left
sprpriority = 2
removetime = 1
ownpal = 1
ignorehitpause = 1
supermovetime = 99999999
pausemovetime = 99999999

[State -2]
type = Explod
triggerall = !ishelper
trigger1 = var(26) = [10,19]
trigger2 = var(26) = [110,119]
trigger3 = var(26) = [210,219]
trigger4 = var(26) = [310,319]
trigger5 = var(26) = [410,419]
trigger6 = var(26) = [510,519]
trigger7 = var(26) = [610,619]
trigger8 = var(26) = [710,719]
trigger9 = var(26) = [810,819]
trigger10 = var(26) = [910,919]
anim = 123451
pos = IfElse(TeamSide = 1,35,285),215
postype = left
sprpriority = 2
removetime = 1
ownpal = 1
ignorehitpause = 1
supermovetime = 99999999
pausemovetime = 99999999

[State -2]
type = Explod
triggerall = !ishelper
trigger1 = var(26) = [20,29]
trigger2 = var(26) = [120,129]
trigger3 = var(26) = [220,229]
trigger4 = var(26) = [320,329]
trigger5 = var(26) = [420,429]
trigger6 = var(26) = [520,529]
trigger7 = var(26) = [620,629]
trigger8 = var(26) = [720,729]
trigger9 = var(26) = [820,829]
trigger10 = var(26) = [920,929]
anim = 123452
pos = IfElse(TeamSide = 1,35,285),215
postype = left
sprpriority = 2
removetime = 1
ownpal = 1
ignorehitpause = 1
supermovetime = 99999999
pausemovetime = 99999999

[State -2]
type = Explod
triggerall = !ishelper
trigger1 = var(26) = [30,39]
trigger2 = var(26) = [130,139]
trigger3 = var(26) = [230,239]
trigger4 = var(26) = [330,339]
trigger5 = var(26) = [430,439]
trigger6 = var(26) = [530,539]
trigger7 = var(26) = [630,639]
trigger8 = var(26) = [730,739]
trigger9 = var(26) = [830,839]
trigger10 = var(26) = [930,939]
anim = 123453
pos = IfElse(TeamSide = 1,35,285),215
postype = left
sprpriority = 2
removetime = 1
ownpal = 1
ignorehitpause = 1
supermovetime = 99999999
pausemovetime = 99999999

[State -2]
type = Explod
triggerall = !ishelper
trigger1 = var(26) = [40,49]
trigger2 = var(26) = [140,149]
trigger3 = var(26) = [240,249]
trigger4 = var(26) = [340,349]
trigger5 = var(26) = [440,449]
trigger6 = var(26) = [540,549]
trigger7 = var(26) = [640,649]
trigger8 = var(26) = [740,749]
trigger9 = var(26) = [840,849]
trigger10 = var(26) = [940,949]
anim = 123454
pos = IfElse(TeamSide = 1,35,285),215
postype = left
sprpriority = 2
removetime = 1
ownpal = 1
ignorehitpause = 1
supermovetime = 99999999
pausemovetime = 99999999

[State -2]
type = Explod
triggerall = !ishelper
trigger1 = var(26) = [50,59]
trigger2 = var(26) = [150,159]
trigger3 = var(26) = [250,259]
trigger4 = var(26) = [350,359]
trigger5 = var(26) = [450,459]
trigger6 = var(26) = [550,559]
trigger7 = var(26) = [650,659]
trigger8 = var(26) = [750,759]
trigger9 = var(26) = [850,859]
trigger10 = var(26) = [950,959]
anim = 123455
pos = IfElse(TeamSide = 1,35,285),215
postype = left
sprpriority = 2
removetime = 1
ownpal = 1
ignorehitpause = 1
supermovetime = 99999999
pausemovetime = 99999999

[State -2]
type = Explod
triggerall = !ishelper
trigger1 = var(26) = [60,69]
trigger2 = var(26) = [160,169]
trigger3 = var(26) = [260,269]
trigger4 = var(26) = [360,369]
trigger5 = var(26) = [460,469]
trigger6 = var(26) = [560,569]
trigger7 = var(26) = [660,669]
trigger8 = var(26) = [760,769]
trigger9 = var(26) = [860,869]
trigger10 = var(26) = [960,969]
anim = 123456
pos = IfElse(TeamSide = 1,35,285),215
postype = left
sprpriority = 2
removetime = 1
ownpal = 1
ignorehitpause = 1
supermovetime = 99999999
pausemovetime = 99999999

[State -2]
type = Explod
triggerall = !ishelper
trigger1 = var(26) = [70,79]
trigger2 = var(26) = [170,179]
trigger3 = var(26) = [270,279]
trigger4 = var(26) = [370,379]
trigger5 = var(26) = [470,479]
trigger6 = var(26) = [570,579]
trigger7 = var(26) = [670,679]
trigger8 = var(26) = [770,779]
trigger9 = var(26) = [870,879]
trigger10 = var(26) = [970,979]
anim = 123457
pos = IfElse(TeamSide = 1,35,285),215
postype = left
sprpriority = 2
removetime = 1
ownpal = 1
ignorehitpause = 1
supermovetime = 99999999
pausemovetime = 99999999

[State -2]
type = Explod
triggerall = !ishelper
trigger1 = var(26) = [80,89]
trigger2 = var(26) = [180,189]
trigger3 = var(26) = [280,289]
trigger4 = var(26) = [380,389]
trigger5 = var(26) = [480,489]
trigger6 = var(26) = [580,589]
trigger7 = var(26) = [680,689]
trigger8 = var(26) = [780,789]
trigger9 = var(26) = [880,889]
trigger10 = var(26) = [980,989]
anim = 123458
pos = IfElse(TeamSide = 1,35,285),215
postype = left
sprpriority = 2
removetime = 1
ownpal = 1
ignorehitpause = 1
supermovetime = 99999999
pausemovetime = 99999999

[State -2]
type = Explod
triggerall = !ishelper
trigger1 = var(26) = [90,99]
trigger2 = var(26) = [190,199]
trigger3 = var(26) = [290,299]
trigger4 = var(26) = [390,399]
trigger5 = var(26) = [490,499]
trigger6 = var(26) = [590,599]
trigger7 = var(26) = [690,699]
trigger8 = var(26) = [790,799]
trigger9 = var(26) = [890,899]
trigger10 = var(26) >= 990
anim = 123459
pos = IfElse(TeamSide = 1,35,285),215
postype = left
sprpriority = 2
removetime = 1
ownpal = 1
ignorehitpause = 1
supermovetime = 99999999
pausemovetime = 99999999

[State -2]
type = Explod
triggerall = !ishelper
trigger1 = var(26) = [100,109]
trigger2 = var(26) = [200,209]
trigger3 = var(26) = [300,309]
trigger4 = var(26) = [400,409]
trigger5 = var(26) = [500,509]
trigger6 = var(26) = [600,609]
trigger7 = var(26) = [700,709]
trigger8 = var(26) = [800,809]
trigger9 = var(26) = [900,909]
anim = 123450
pos = IfElse(TeamSide = 1,35,285),215
postype = left
sprpriority = 2
removetime = 1
ownpal = 1
ignorehitpause = 1
supermovetime = 99999999
pausemovetime = 99999999

[State -2]
type = Explod
triggerall = !ishelper
trigger1 = var(26) = 1
trigger2 = var(26) = 11
trigger3 = var(26) = 21
trigger4 = var(26) = 31
trigger5 = var(26) = 41
trigger6 = var(26) = 51
trigger7 = var(26) = 61
trigger8 = var(26) = 71
trigger9 = var(26) = 81
trigger10 = var(26) = 91
trigger11 = var(26) = 101
trigger12 = var(26) = 111
trigger13 = var(26) = 121
trigger14 = var(26) = 131
trigger15 = var(26) = 141
trigger16 = var(26) = 151
trigger17 = var(26) = 161
trigger18 = var(26) = 171
trigger19 = var(26) = 181
trigger20 = var(26) = 191
trigger21 = var(26) = 201
trigger22 = var(26) = 211
trigger23 = var(26) = 221
trigger24 = var(26) = 231
trigger25 = var(26) = 241
trigger26 = var(26) = 251
trigger27 = var(26) = 261
trigger28 = var(26) = 271
trigger29 = var(26) = 281
trigger30 = var(26) = 291
trigger31 = var(26) = 301
trigger32 = var(26) = 311
trigger33 = var(26) = 321
trigger34 = var(26) = 331
trigger35 = var(26) = 341
trigger36 = var(26) = 351
trigger37 = var(26) = 361
trigger38 = var(26) = 371
trigger39 = var(26) = 381
trigger40 = var(26) = 391
trigger41 = var(26) = 401
trigger42 = var(26) = 411
trigger43 = var(26) = 421
trigger44 = var(26) = 431
trigger45 = var(26) = 441
trigger46 = var(26) = 451
trigger47 = var(26) = 461
trigger48 = var(26) = 471
trigger49 = var(26) = 481
trigger50 = var(26) = 491
trigger51 = var(26) = 501
trigger52 = var(26) = 511
trigger53 = var(26) = 521
trigger54 = var(26) = 531
trigger55 = var(26) = 541
trigger56 = var(26) = 551
trigger57 = var(26) = 561
trigger58 = var(26) = 571
trigger59 = var(26) = 581
trigger60 = var(26) = 591
trigger61 = var(26) = 601
trigger62 = var(26) = 611
trigger63 = var(26) = 621
trigger64 = var(26) = 631
trigger65 = var(26) = 641
trigger66 = var(26) = 651
trigger67 = var(26) = 661
trigger68 = var(26) = 671
trigger69 = var(26) = 681
trigger70 = var(26) = 691
trigger71 = var(26) = 701
trigger72 = var(26) = 711
trigger73 = var(26) = 721
trigger74 = var(26) = 731
trigger75 = var(26) = 741
trigger76 = var(26) = 751
trigger77 = var(26) = 761
trigger78 = var(26) = 771
trigger79 = var(26) = 781
trigger80 = var(26) = 791
trigger81 = var(26) = 801
trigger82 = var(26) = 811
trigger83 = var(26) = 821
trigger84 = var(26) = 831
trigger85 = var(26) = 841
trigger86 = var(26) = 851
trigger87 = var(26) = 861
trigger88 = var(26) = 871
trigger89 = var(26) = 881
trigger90 = var(26) = 891
trigger91 = var(26) = 901
trigger92 = var(26) = 911
trigger93 = var(26) = 921
trigger94 = var(26) = 931
trigger95 = var(26) = 941
trigger96 = var(26) = 951
trigger97 = var(26) = 961
trigger98 = var(26) = 971
trigger99 = var(26) = 981
trigger100 = var(26) = 991
anim = 123451
pos = IfElse(TeamSide = 1,45,295),215
postype = left
sprpriority = 2
removetime = 1
ownpal = 1
ignorehitpause = 1
supermovetime = 99999999
pausemovetime = 99999999

[State -2]
type = Explod
triggerall = !ishelper
trigger1 = var(26) = 2
trigger2 = var(26) = 12
trigger3 = var(26) = 22
trigger4 = var(26) = 32
trigger5 = var(26) = 42
trigger6 = var(26) = 52
trigger7 = var(26) = 62
trigger8 = var(26) = 72
trigger9 = var(26) = 82
trigger10 = var(26) = 92
trigger11 = var(26) = 102
trigger12 = var(26) = 112
trigger13 = var(26) = 122
trigger14 = var(26) = 132
trigger15 = var(26) = 142
trigger16 = var(26) = 152
trigger17 = var(26) = 162
trigger18 = var(26) = 172
trigger19 = var(26) = 182
trigger20 = var(26) = 192
trigger21 = var(26) = 202
trigger22 = var(26) = 212
trigger23 = var(26) = 222
trigger24 = var(26) = 232
trigger25 = var(26) = 242
trigger26 = var(26) = 252
trigger27 = var(26) = 262
trigger28 = var(26) = 272
trigger29 = var(26) = 282
trigger30 = var(26) = 292
trigger31 = var(26) = 302
trigger32 = var(26) = 312
trigger33 = var(26) = 322
trigger34 = var(26) = 332
trigger35 = var(26) = 342
trigger36 = var(26) = 352
trigger37 = var(26) = 362
trigger38 = var(26) = 372
trigger39 = var(26) = 382
trigger40 = var(26) = 392
trigger41 = var(26) = 402
trigger42 = var(26) = 412
trigger43 = var(26) = 422
trigger44 = var(26) = 432
trigger45 = var(26) = 442
trigger46 = var(26) = 452
trigger47 = var(26) = 462
trigger48 = var(26) = 472
trigger49 = var(26) = 482
trigger50 = var(26) = 492
trigger51 = var(26) = 502
trigger52 = var(26) = 512
trigger53 = var(26) = 522
trigger54 = var(26) = 532
trigger55 = var(26) = 542
trigger56 = var(26) = 552
trigger57 = var(26) = 562
trigger58 = var(26) = 572
trigger59 = var(26) = 582
trigger60 = var(26) = 592
trigger61 = var(26) = 602
trigger62 = var(26) = 612
trigger63 = var(26) = 622
trigger64 = var(26) = 632
trigger65 = var(26) = 642
trigger66 = var(26) = 652
trigger67 = var(26) = 662
trigger68 = var(26) = 672
trigger69 = var(26) = 682
trigger70 = var(26) = 692
trigger71 = var(26) = 702
trigger72 = var(26) = 712
trigger73 = var(26) = 722
trigger74 = var(26) = 732
trigger75 = var(26) = 742
trigger76 = var(26) = 752
trigger77 = var(26) = 762
trigger78 = var(26) = 772
trigger79 = var(26) = 782
trigger80 = var(26) = 792
trigger81 = var(26) = 802
trigger82 = var(26) = 812
trigger83 = var(26) = 822
trigger84 = var(26) = 832
trigger85 = var(26) = 842
trigger86 = var(26) = 852
trigger87 = var(26) = 862
trigger88 = var(26) = 872
trigger89 = var(26) = 882
trigger90 = var(26) = 892
trigger91 = var(26) = 902
trigger92 = var(26) = 912
trigger93 = var(26) = 922
trigger94 = var(26) = 932
trigger95 = var(26) = 942
trigger96 = var(26) = 952
trigger97 = var(26) = 962
trigger98 = var(26) = 972
trigger99 = var(26) = 982
trigger100 = var(26) = 992
anim = 123452
pos = IfElse(TeamSide = 1,45,295),215
postype = left
sprpriority = 2
removetime = 1
ownpal = 1
ignorehitpause = 1
supermovetime = 99999999
pausemovetime = 99999999

[State -2]
type = Explod
triggerall = !ishelper
trigger1 = var(26) = 3
trigger2 = var(26) = 13
trigger3 = var(26) = 23
trigger4 = var(26) = 33
trigger5 = var(26) = 43
trigger6 = var(26) = 53
trigger7 = var(26) = 63
trigger8 = var(26) = 73
trigger9 = var(26) = 83
trigger10 = var(26) = 93
trigger11 = var(26) = 103
trigger12 = var(26) = 113
trigger13 = var(26) = 123
trigger14 = var(26) = 133
trigger15 = var(26) = 143
trigger16 = var(26) = 153
trigger17 = var(26) = 163
trigger18 = var(26) = 173
trigger19 = var(26) = 183
trigger20 = var(26) = 193
trigger21 = var(26) = 203
trigger22 = var(26) = 213
trigger23 = var(26) = 223
trigger24 = var(26) = 233
trigger25 = var(26) = 243
trigger26 = var(26) = 253
trigger27 = var(26) = 263
trigger28 = var(26) = 273
trigger29 = var(26) = 283
trigger30 = var(26) = 293
trigger31 = var(26) = 303
trigger32 = var(26) = 313
trigger33 = var(26) = 323
trigger34 = var(26) = 333
trigger35 = var(26) = 343
trigger36 = var(26) = 353
trigger37 = var(26) = 363
trigger38 = var(26) = 373
trigger39 = var(26) = 383
trigger40 = var(26) = 393
trigger41 = var(26) = 403
trigger42 = var(26) = 413
trigger43 = var(26) = 423
trigger44 = var(26) = 433
trigger45 = var(26) = 443
trigger46 = var(26) = 453
trigger47 = var(26) = 463
trigger48 = var(26) = 473
trigger49 = var(26) = 483
trigger50 = var(26) = 493
trigger51 = var(26) = 503
trigger52 = var(26) = 513
trigger53 = var(26) = 523
trigger54 = var(26) = 533
trigger55 = var(26) = 543
trigger56 = var(26) = 553
trigger57 = var(26) = 563
trigger58 = var(26) = 573
trigger59 = var(26) = 583
trigger60 = var(26) = 593
trigger61 = var(26) = 603
trigger62 = var(26) = 613
trigger63 = var(26) = 623
trigger64 = var(26) = 633
trigger65 = var(26) = 643
trigger66 = var(26) = 653
trigger67 = var(26) = 663
trigger68 = var(26) = 673
trigger69 = var(26) = 683
trigger70 = var(26) = 693
trigger71 = var(26) = 703
trigger72 = var(26) = 713
trigger73 = var(26) = 723
trigger74 = var(26) = 733
trigger75 = var(26) = 743
trigger76 = var(26) = 753
trigger77 = var(26) = 763
trigger78 = var(26) = 773
trigger79 = var(26) = 783
trigger80 = var(26) = 793
trigger81 = var(26) = 803
trigger82 = var(26) = 813
trigger83 = var(26) = 823
trigger84 = var(26) = 833
trigger85 = var(26) = 843
trigger86 = var(26) = 853
trigger87 = var(26) = 863
trigger88 = var(26) = 873
trigger89 = var(26) = 883
trigger90 = var(26) = 893
trigger91 = var(26) = 903
trigger92 = var(26) = 913
trigger93 = var(26) = 923
trigger94 = var(26) = 933
trigger95 = var(26) = 943
trigger96 = var(26) = 953
trigger97 = var(26) = 963
trigger98 = var(26) = 973
trigger99 = var(26) = 983
trigger100 = var(26) = 993
anim = 123453
pos = IfElse(TeamSide = 1,45,295),215
postype = left
sprpriority = 2
removetime = 1
ownpal = 1
ignorehitpause = 1
supermovetime = 99999999
pausemovetime = 99999999

[State -2]
type = Explod
triggerall = !ishelper
trigger1 = var(26) = 4
trigger2 = var(26) = 14
trigger3 = var(26) = 24
trigger4 = var(26) = 34
trigger5 = var(26) = 44
trigger6 = var(26) = 54
trigger7 = var(26) = 64
trigger8 = var(26) = 74
trigger9 = var(26) = 84
trigger10 = var(26) = 94
trigger11 = var(26) = 104
trigger12 = var(26) = 114
trigger13 = var(26) = 124
trigger14 = var(26) = 134
trigger15 = var(26) = 144
trigger16 = var(26) = 154
trigger17 = var(26) = 164
trigger18 = var(26) = 174
trigger19 = var(26) = 184
trigger20 = var(26) = 194
trigger21 = var(26) = 204
trigger22 = var(26) = 214
trigger23 = var(26) = 224
trigger24 = var(26) = 234
trigger25 = var(26) = 244
trigger26 = var(26) = 254
trigger27 = var(26) = 264
trigger28 = var(26) = 274
trigger29 = var(26) = 284
trigger30 = var(26) = 294
trigger31 = var(26) = 304
trigger32 = var(26) = 314
trigger33 = var(26) = 324
trigger34 = var(26) = 334
trigger35 = var(26) = 344
trigger36 = var(26) = 354
trigger37 = var(26) = 364
trigger38 = var(26) = 374
trigger39 = var(26) = 384
trigger40 = var(26) = 394
trigger41 = var(26) = 404
trigger42 = var(26) = 414
trigger43 = var(26) = 424
trigger44 = var(26) = 434
trigger45 = var(26) = 444
trigger46 = var(26) = 454
trigger47 = var(26) = 464
trigger48 = var(26) = 474
trigger49 = var(26) = 484
trigger50 = var(26) = 494
trigger51 = var(26) = 504
trigger52 = var(26) = 514
trigger53 = var(26) = 524
trigger54 = var(26) = 534
trigger55 = var(26) = 544
trigger56 = var(26) = 554
trigger57 = var(26) = 564
trigger58 = var(26) = 574
trigger59 = var(26) = 584
trigger60 = var(26) = 594
trigger61 = var(26) = 604
trigger62 = var(26) = 614
trigger63 = var(26) = 624
trigger64 = var(26) = 634
trigger65 = var(26) = 644
trigger66 = var(26) = 654
trigger67 = var(26) = 664
trigger68 = var(26) = 674
trigger69 = var(26) = 684
trigger70 = var(26) = 694
trigger71 = var(26) = 704
trigger72 = var(26) = 714
trigger73 = var(26) = 724
trigger74 = var(26) = 734
trigger75 = var(26) = 744
trigger76 = var(26) = 754
trigger77 = var(26) = 764
trigger78 = var(26) = 774
trigger79 = var(26) = 784
trigger80 = var(26) = 794
trigger81 = var(26) = 804
trigger82 = var(26) = 814
trigger83 = var(26) = 824
trigger84 = var(26) = 834
trigger85 = var(26) = 844
trigger86 = var(26) = 854
trigger87 = var(26) = 864
trigger88 = var(26) = 874
trigger89 = var(26) = 884
trigger90 = var(26) = 894
trigger91 = var(26) = 904
trigger92 = var(26) = 914
trigger93 = var(26) = 924
trigger94 = var(26) = 934
trigger95 = var(26) = 944
trigger96 = var(26) = 954
trigger97 = var(26) = 964
trigger98 = var(26) = 974
trigger99 = var(26) = 984
trigger100 = var(26) = 994
anim = 123454
pos = IfElse(TeamSide = 1,45,295),215
postype = left
sprpriority = 2
removetime = 1
ownpal = 1
ignorehitpause = 1
supermovetime = 99999999
pausemovetime = 99999999

[State -2]
type = Explod
triggerall = !ishelper
trigger1 = var(26) = 5
trigger2 = var(26) = 15
trigger3 = var(26) = 25
trigger4 = var(26) = 35
trigger5 = var(26) = 45
trigger6 = var(26) = 55
trigger7 = var(26) = 65
trigger8 = var(26) = 75
trigger9 = var(26) = 85
trigger10 = var(26) = 95
trigger11 = var(26) = 105
trigger12 = var(26) = 115
trigger13 = var(26) = 125
trigger14 = var(26) = 135
trigger15 = var(26) = 145
trigger16 = var(26) = 155
trigger17 = var(26) = 165
trigger18 = var(26) = 175
trigger19 = var(26) = 185
trigger20 = var(26) = 195
trigger21 = var(26) = 205
trigger22 = var(26) = 215
trigger23 = var(26) = 225
trigger24 = var(26) = 235
trigger25 = var(26) = 245
trigger26 = var(26) = 255
trigger27 = var(26) = 265
trigger28 = var(26) = 275
trigger29 = var(26) = 285
trigger30 = var(26) = 295
trigger31 = var(26) = 305
trigger32 = var(26) = 315
trigger33 = var(26) = 325
trigger34 = var(26) = 335
trigger35 = var(26) = 345
trigger36 = var(26) = 355
trigger37 = var(26) = 365
trigger38 = var(26) = 375
trigger39 = var(26) = 385
trigger40 = var(26) = 395
trigger41 = var(26) = 405
trigger42 = var(26) = 415
trigger43 = var(26) = 425
trigger44 = var(26) = 435
trigger45 = var(26) = 445
trigger46 = var(26) = 455
trigger47 = var(26) = 465
trigger48 = var(26) = 475
trigger49 = var(26) = 485
trigger50 = var(26) = 495
trigger51 = var(26) = 505
trigger52 = var(26) = 515
trigger53 = var(26) = 525
trigger54 = var(26) = 535
trigger55 = var(26) = 545
trigger56 = var(26) = 555
trigger57 = var(26) = 565
trigger58 = var(26) = 575
trigger59 = var(26) = 585
trigger60 = var(26) = 595
trigger61 = var(26) = 605
trigger62 = var(26) = 615
trigger63 = var(26) = 625
trigger64 = var(26) = 635
trigger65 = var(26) = 645
trigger66 = var(26) = 655
trigger67 = var(26) = 665
trigger68 = var(26) = 675
trigger69 = var(26) = 685
trigger70 = var(26) = 695
trigger71 = var(26) = 705
trigger72 = var(26) = 715
trigger73 = var(26) = 725
trigger74 = var(26) = 735
trigger75 = var(26) = 745
trigger76 = var(26) = 755
trigger77 = var(26) = 765
trigger78 = var(26) = 775
trigger79 = var(26) = 785
trigger80 = var(26) = 795
trigger81 = var(26) = 805
trigger82 = var(26) = 815
trigger83 = var(26) = 825
trigger84 = var(26) = 835
trigger85 = var(26) = 845
trigger86 = var(26) = 855
trigger87 = var(26) = 865
trigger88 = var(26) = 875
trigger89 = var(26) = 885
trigger90 = var(26) = 895
trigger91 = var(26) = 905
trigger92 = var(26) = 915
trigger93 = var(26) = 925
trigger94 = var(26) = 935
trigger95 = var(26) = 945
trigger96 = var(26) = 955
trigger97 = var(26) = 965
trigger98 = var(26) = 975
trigger99 = var(26) = 985
trigger100 = var(26) = 995
anim = 123455
pos = IfElse(TeamSide = 1,45,295),215
postype = left
sprpriority = 2
removetime = 1
ownpal = 1
ignorehitpause = 1
supermovetime = 99999999
pausemovetime = 99999999

[State -2]
type = Explod
triggerall = !ishelper
trigger1 = var(26) = 6
trigger2 = var(26) = 16
trigger3 = var(26) = 26
trigger4 = var(26) = 36
trigger5 = var(26) = 46
trigger6 = var(26) = 56
trigger7 = var(26) = 66
trigger8 = var(26) = 76
trigger9 = var(26) = 86
trigger10 = var(26) = 96
trigger11 = var(26) = 106
trigger12 = var(26) = 116
trigger13 = var(26) = 126
trigger14 = var(26) = 136
trigger15 = var(26) = 146
trigger16 = var(26) = 156
trigger17 = var(26) = 166
trigger18 = var(26) = 176
trigger19 = var(26) = 186
trigger20 = var(26) = 196
trigger21 = var(26) = 206
trigger22 = var(26) = 216
trigger23 = var(26) = 226
trigger24 = var(26) = 236
trigger25 = var(26) = 246
trigger26 = var(26) = 256
trigger27 = var(26) = 266
trigger28 = var(26) = 276
trigger29 = var(26) = 286
trigger30 = var(26) = 296
trigger31 = var(26) = 306
trigger32 = var(26) = 316
trigger33 = var(26) = 326
trigger34 = var(26) = 336
trigger35 = var(26) = 346
trigger36 = var(26) = 356
trigger37 = var(26) = 366
trigger38 = var(26) = 376
trigger39 = var(26) = 386
trigger40 = var(26) = 396
trigger41 = var(26) = 406
trigger42 = var(26) = 416
trigger43 = var(26) = 426
trigger44 = var(26) = 436
trigger45 = var(26) = 446
trigger46 = var(26) = 456
trigger47 = var(26) = 466
trigger48 = var(26) = 476
trigger49 = var(26) = 486
trigger50 = var(26) = 496
trigger51 = var(26) = 506
trigger52 = var(26) = 516
trigger53 = var(26) = 526
trigger54 = var(26) = 536
trigger55 = var(26) = 546
trigger56 = var(26) = 556
trigger57 = var(26) = 566
trigger58 = var(26) = 576
trigger59 = var(26) = 586
trigger60 = var(26) = 596
trigger61 = var(26) = 606
trigger62 = var(26) = 616
trigger63 = var(26) = 626
trigger64 = var(26) = 636
trigger65 = var(26) = 646
trigger66 = var(26) = 656
trigger67 = var(26) = 666
trigger68 = var(26) = 676
trigger69 = var(26) = 686
trigger70 = var(26) = 696
trigger71 = var(26) = 706
trigger72 = var(26) = 716
trigger73 = var(26) = 726
trigger74 = var(26) = 736
trigger75 = var(26) = 746
trigger76 = var(26) = 756
trigger77 = var(26) = 766
trigger78 = var(26) = 776
trigger79 = var(26) = 786
trigger80 = var(26) = 796
trigger81 = var(26) = 806
trigger82 = var(26) = 816
trigger83 = var(26) = 826
trigger84 = var(26) = 836
trigger85 = var(26) = 846
trigger86 = var(26) = 856
trigger87 = var(26) = 866
trigger88 = var(26) = 876
trigger89 = var(26) = 886
trigger90 = var(26) = 896
trigger91 = var(26) = 906
trigger92 = var(26) = 916
trigger93 = var(26) = 926
trigger94 = var(26) = 936
trigger95 = var(26) = 946
trigger96 = var(26) = 956
trigger97 = var(26) = 966
trigger98 = var(26) = 976
trigger99 = var(26) = 986
trigger100 = var(26) = 996
anim = 123456
pos = IfElse(TeamSide = 1,45,295),215
postype = left
sprpriority = 2
removetime = 1
ownpal = 1
ignorehitpause = 1
supermovetime = 99999999
pausemovetime = 99999999

[State -2]
type = Explod
triggerall = !ishelper
trigger1 = var(26) = 7
trigger2 = var(26) = 17
trigger3 = var(26) = 27
trigger4 = var(26) = 37
trigger5 = var(26) = 47
trigger6 = var(26) = 57
trigger7 = var(26) = 67
trigger8 = var(26) = 77
trigger9 = var(26) = 87
trigger10 = var(26) = 97
trigger11 = var(26) = 107
trigger12 = var(26) = 117
trigger13 = var(26) = 127
trigger14 = var(26) = 137
trigger15 = var(26) = 147
trigger16 = var(26) = 157
trigger17 = var(26) = 167
trigger18 = var(26) = 177
trigger19 = var(26) = 187
trigger20 = var(26) = 197
trigger21 = var(26) = 207
trigger22 = var(26) = 217
trigger23 = var(26) = 227
trigger24 = var(26) = 237
trigger25 = var(26) = 247
trigger26 = var(26) = 257
trigger27 = var(26) = 267
trigger28 = var(26) = 277
trigger29 = var(26) = 287
trigger30 = var(26) = 297
trigger31 = var(26) = 307
trigger32 = var(26) = 317
trigger33 = var(26) = 327
trigger34 = var(26) = 337
trigger35 = var(26) = 347
trigger36 = var(26) = 357
trigger37 = var(26) = 367
trigger38 = var(26) = 377
trigger39 = var(26) = 387
trigger40 = var(26) = 397
trigger41 = var(26) = 407
trigger42 = var(26) = 417
trigger43 = var(26) = 427
trigger44 = var(26) = 437
trigger45 = var(26) = 447
trigger46 = var(26) = 457
trigger47 = var(26) = 467
trigger48 = var(26) = 477
trigger49 = var(26) = 487
trigger50 = var(26) = 497
trigger51 = var(26) = 507
trigger52 = var(26) = 517
trigger53 = var(26) = 527
trigger54 = var(26) = 537
trigger55 = var(26) = 547
trigger56 = var(26) = 557
trigger57 = var(26) = 567
trigger58 = var(26) = 577
trigger59 = var(26) = 587
trigger60 = var(26) = 597
trigger61 = var(26) = 607
trigger62 = var(26) = 617
trigger63 = var(26) = 627
trigger64 = var(26) = 637
trigger65 = var(26) = 647
trigger66 = var(26) = 657
trigger67 = var(26) = 667
trigger68 = var(26) = 677
trigger69 = var(26) = 687
trigger70 = var(26) = 697
trigger71 = var(26) = 707
trigger72 = var(26) = 717
trigger73 = var(26) = 727
trigger74 = var(26) = 737
trigger75 = var(26) = 747
trigger76 = var(26) = 757
trigger77 = var(26) = 767
trigger78 = var(26) = 777
trigger79 = var(26) = 787
trigger80 = var(26) = 797
trigger81 = var(26) = 807
trigger82 = var(26) = 817
trigger83 = var(26) = 827
trigger84 = var(26) = 837
trigger85 = var(26) = 847
trigger86 = var(26) = 857
trigger87 = var(26) = 867
trigger88 = var(26) = 877
trigger89 = var(26) = 887
trigger90 = var(26) = 897
trigger91 = var(26) = 907
trigger92 = var(26) = 917
trigger93 = var(26) = 927
trigger94 = var(26) = 937
trigger95 = var(26) = 947
trigger96 = var(26) = 957
trigger97 = var(26) = 967
trigger98 = var(26) = 977
trigger99 = var(26) = 987
trigger100 = var(26) = 997
anim = 123457
pos = IfElse(TeamSide = 1,45,295),215
postype = left
sprpriority = 2
removetime = 1
ownpal = 1
ignorehitpause = 1
supermovetime = 99999999
pausemovetime = 99999999

[State -2]
type = Explod
triggerall = !ishelper
trigger1 = var(26) = 8
trigger2 = var(26) = 18
trigger3 = var(26) = 28
trigger4 = var(26) = 38
trigger5 = var(26) = 48
trigger6 = var(26) = 58
trigger7 = var(26) = 68
trigger8 = var(26) = 78
trigger9 = var(26) = 88
trigger10 = var(26) = 98
trigger11 = var(26) = 108
trigger12 = var(26) = 118
trigger13 = var(26) = 128
trigger14 = var(26) = 138
trigger15 = var(26) = 148
trigger16 = var(26) = 158
trigger17 = var(26) = 168
trigger18 = var(26) = 178
trigger19 = var(26) = 188
trigger20 = var(26) = 198
trigger21 = var(26) = 208
trigger22 = var(26) = 218
trigger23 = var(26) = 228
trigger24 = var(26) = 238
trigger25 = var(26) = 248
trigger26 = var(26) = 258
trigger27 = var(26) = 268
trigger28 = var(26) = 278
trigger29 = var(26) = 288
trigger30 = var(26) = 298
trigger31 = var(26) = 308
trigger32 = var(26) = 318
trigger33 = var(26) = 328
trigger34 = var(26) = 338
trigger35 = var(26) = 348
trigger36 = var(26) = 358
trigger37 = var(26) = 368
trigger38 = var(26) = 378
trigger39 = var(26) = 388
trigger40 = var(26) = 398
trigger41 = var(26) = 408
trigger42 = var(26) = 418
trigger43 = var(26) = 428
trigger44 = var(26) = 438
trigger45 = var(26) = 448
trigger46 = var(26) = 458
trigger47 = var(26) = 468
trigger48 = var(26) = 478
trigger49 = var(26) = 488
trigger50 = var(26) = 498
trigger51 = var(26) = 508
trigger52 = var(26) = 518
trigger53 = var(26) = 528
trigger54 = var(26) = 538
trigger55 = var(26) = 548
trigger56 = var(26) = 558
trigger57 = var(26) = 568
trigger58 = var(26) = 578
trigger59 = var(26) = 588
trigger60 = var(26) = 598
trigger61 = var(26) = 608
trigger62 = var(26) = 618
trigger63 = var(26) = 628
trigger64 = var(26) = 638
trigger65 = var(26) = 648
trigger66 = var(26) = 658
trigger67 = var(26) = 668
trigger68 = var(26) = 678
trigger69 = var(26) = 688
trigger70 = var(26) = 698
trigger71 = var(26) = 708
trigger72 = var(26) = 718
trigger73 = var(26) = 728
trigger74 = var(26) = 738
trigger75 = var(26) = 748
trigger76 = var(26) = 758
trigger77 = var(26) = 768
trigger78 = var(26) = 778
trigger79 = var(26) = 788
trigger80 = var(26) = 798
trigger81 = var(26) = 808
trigger82 = var(26) = 818
trigger83 = var(26) = 828
trigger84 = var(26) = 838
trigger85 = var(26) = 848
trigger86 = var(26) = 858
trigger87 = var(26) = 868
trigger88 = var(26) = 878
trigger89 = var(26) = 888
trigger90 = var(26) = 898
trigger91 = var(26) = 908
trigger92 = var(26) = 918
trigger93 = var(26) = 928
trigger94 = var(26) = 938
trigger95 = var(26) = 948
trigger96 = var(26) = 958
trigger97 = var(26) = 968
trigger98 = var(26) = 978
trigger99 = var(26) = 988
trigger100 = var(26) = 998
anim = 123458
pos = IfElse(TeamSide = 1,45,295),215
postype = left
sprpriority = 2
removetime = 1
ownpal = 1
ignorehitpause = 1
supermovetime = 99999999
pausemovetime = 99999999

[State -2]
type = Explod
triggerall = !ishelper
trigger1 = var(26) = 9
trigger2 = var(26) = 19
trigger3 = var(26) = 29
trigger4 = var(26) = 39
trigger5 = var(26) = 49
trigger6 = var(26) = 59
trigger7 = var(26) = 69
trigger8 = var(26) = 79
trigger9 = var(26) = 89
trigger10 = var(26) = 99
trigger11 = var(26) = 109
trigger12 = var(26) = 119
trigger13 = var(26) = 129
trigger14 = var(26) = 139
trigger15 = var(26) = 149
trigger16 = var(26) = 159
trigger17 = var(26) = 169
trigger18 = var(26) = 179
trigger19 = var(26) = 189
trigger20 = var(26) = 199
trigger21 = var(26) = 209
trigger22 = var(26) = 219
trigger23 = var(26) = 229
trigger24 = var(26) = 239
trigger25 = var(26) = 249
trigger26 = var(26) = 259
trigger27 = var(26) = 269
trigger28 = var(26) = 279
trigger29 = var(26) = 289
trigger30 = var(26) = 299
trigger31 = var(26) = 309
trigger32 = var(26) = 319
trigger33 = var(26) = 329
trigger34 = var(26) = 339
trigger35 = var(26) = 349
trigger36 = var(26) = 359
trigger37 = var(26) = 369
trigger38 = var(26) = 379
trigger39 = var(26) = 389
trigger40 = var(26) = 399
trigger41 = var(26) = 409
trigger42 = var(26) = 419
trigger43 = var(26) = 429
trigger44 = var(26) = 439
trigger45 = var(26) = 449
trigger46 = var(26) = 459
trigger47 = var(26) = 469
trigger48 = var(26) = 479
trigger49 = var(26) = 489
trigger50 = var(26) = 499
trigger51 = var(26) = 509
trigger52 = var(26) = 519
trigger53 = var(26) = 529
trigger54 = var(26) = 539
trigger55 = var(26) = 549
trigger56 = var(26) = 559
trigger57 = var(26) = 569
trigger58 = var(26) = 579
trigger59 = var(26) = 589
trigger60 = var(26) = 599
trigger61 = var(26) = 609
trigger62 = var(26) = 619
trigger63 = var(26) = 629
trigger64 = var(26) = 639
trigger65 = var(26) = 649
trigger66 = var(26) = 659
trigger67 = var(26) = 669
trigger68 = var(26) = 679
trigger69 = var(26) = 689
trigger70 = var(26) = 699
trigger71 = var(26) = 709
trigger72 = var(26) = 719
trigger73 = var(26) = 729
trigger74 = var(26) = 739
trigger75 = var(26) = 749
trigger76 = var(26) = 759
trigger77 = var(26) = 769
trigger78 = var(26) = 779
trigger79 = var(26) = 789
trigger80 = var(26) = 799
trigger81 = var(26) = 809
trigger82 = var(26) = 819
trigger83 = var(26) = 829
trigger84 = var(26) = 839
trigger85 = var(26) = 849
trigger86 = var(26) = 859
trigger87 = var(26) = 869
trigger88 = var(26) = 879
trigger89 = var(26) = 889
trigger90 = var(26) = 899
trigger91 = var(26) = 909
trigger92 = var(26) = 919
trigger93 = var(26) = 929
trigger94 = var(26) = 939
trigger95 = var(26) = 949
trigger96 = var(26) = 959
trigger97 = var(26) = 969
trigger98 = var(26) = 979
trigger99 = var(26) = 989
trigger100 = var(26) >= 999
anim = 123459
pos = IfElse(TeamSide = 1,45,295),215
postype = left
sprpriority = 2
removetime = 1
ownpal = 1
ignorehitpause = 1
supermovetime = 99999999
pausemovetime = 99999999

[State -2]
type = Explod
triggerall = !ishelper
trigger1 = 0
trigger2 = var(26) = 10
trigger3 = var(26) = 20
trigger4 = var(26) = 30
trigger5 = var(26) = 40
trigger6 = var(26) = 50
trigger7 = var(26) = 60
trigger8 = var(26) = 70
trigger9 = var(26) = 80
trigger10 = var(26) = 90
trigger11 = var(26) = 100
trigger12 = var(26) = 110
trigger13 = var(26) = 120
trigger14 = var(26) = 130
trigger15 = var(26) = 140
trigger16 = var(26) = 150
trigger17 = var(26) = 160
trigger18 = var(26) = 170
trigger19 = var(26) = 180
trigger20 = var(26) = 190
trigger21 = var(26) = 200
trigger22 = var(26) = 210
trigger23 = var(26) = 220
trigger24 = var(26) = 230
trigger25 = var(26) = 240
trigger26 = var(26) = 250
trigger27 = var(26) = 260
trigger28 = var(26) = 270
trigger29 = var(26) = 280
trigger30 = var(26) = 290
trigger31 = var(26) = 300
trigger32 = var(26) = 310
trigger33 = var(26) = 320
trigger34 = var(26) = 330
trigger35 = var(26) = 340
trigger36 = var(26) = 350
trigger37 = var(26) = 360
trigger38 = var(26) = 370
trigger39 = var(26) = 380
trigger40 = var(26) = 390
trigger41 = var(26) = 400
trigger42 = var(26) = 410
trigger43 = var(26) = 420
trigger44 = var(26) = 430
trigger45 = var(26) = 440
trigger46 = var(26) = 450
trigger47 = var(26) = 460
trigger48 = var(26) = 470
trigger49 = var(26) = 480
trigger50 = var(26) = 490
trigger51 = var(26) = 500
trigger52 = var(26) = 510
trigger53 = var(26) = 520
trigger54 = var(26) = 530
trigger55 = var(26) = 540
trigger56 = var(26) = 550
trigger57 = var(26) = 560
trigger58 = var(26) = 570
trigger59 = var(26) = 580
trigger60 = var(26) = 590
trigger61 = var(26) = 600
trigger62 = var(26) = 610
trigger63 = var(26) = 620
trigger64 = var(26) = 630
trigger65 = var(26) = 640
trigger66 = var(26) = 650
trigger67 = var(26) = 660
trigger68 = var(26) = 670
trigger69 = var(26) = 680
trigger70 = var(26) = 690
trigger71 = var(26) = 700
trigger72 = var(26) = 710
trigger73 = var(26) = 720
trigger74 = var(26) = 730
trigger75 = var(26) = 740
trigger76 = var(26) = 750
trigger77 = var(26) = 760
trigger78 = var(26) = 770
trigger79 = var(26) = 780
trigger80 = var(26) = 790
trigger81 = var(26) = 800
trigger82 = var(26) = 810
trigger83 = var(26) = 820
trigger84 = var(26) = 830
trigger85 = var(26) = 840
trigger86 = var(26) = 850
trigger87 = var(26) = 860
trigger88 = var(26) = 870
trigger89 = var(26) = 880
trigger90 = var(26) = 890
trigger91 = var(26) = 900
trigger92 = var(26) = 910
trigger93 = var(26) = 920
trigger94 = var(26) = 930
trigger95 = var(26) = 940
trigger96 = var(26) = 950
trigger97 = var(26) = 960
trigger98 = var(26) = 970
trigger99 = var(26) = 980
trigger100 = var(26) = 990
anim = 123450
pos = IfElse(TeamSide = 1,45,295),215
postype = left
sprpriority = 2
removetime = 1
ownpal = 1
ignorehitpause = 1
supermovetime = 99999999
pausemovetime = 99999999

[State -2]
type = Explod
triggerall = !ishelper
trigger1 = PalNo = [7,9]
anim = 25252
pos = IfElse(TeamSide = 1,60,230),213
postype = left
sprpriority = 2
removetime = 1
ownpal = 1
ignorehitpause = 1
supermovetime = 99999999
pausemovetime = 99999999

[State -2]
type = Explod
triggerall = !ishelper
trigger1 = PalNo = [10,12]
anim = 25255
pos = IfElse(TeamSide = 1,60,230),213
postype = left
sprpriority = 2
removetime = 1
ownpal = 1
ignorehitpause = 1
supermovetime = 99999999
pausemovetime = 99999999

[State -2]
type = AttackMulSet
triggerall = !ishelper
trigger1 = var(26) >= 1
value = 1+var(26)/50
ignorehitpause = 1

[State -2]
type = VarSet
trigger1 = !ishelper;RoundState = 0
var(28) = var(26)
ignorehitpause = 1

[State -2]
type = Explod
triggerall = !ishelper
trigger1 = fvar(35) = 1
trigger1 = NumExplod(9990) < 1
trigger1 = var(28) = [1,49]
anim = 9990
id = 9990
pos = 50,190
postype = back
sprpriority = -3
removetime = -1
ownpal = 1
shadow = -1,0
ignorehitpause = 1
supermovetime = 99999999
pausemovetime = 99999999

[State -2]
type = Explod
triggerall = !ishelper
trigger1 = fvar(35) = 1
trigger1 = NumExplod(9991) < 1
trigger1 = var(28) = [50,99]
anim = 9991
id = 9991
pos = 50,190
postype = back
sprpriority = -3
removetime = -1
ownpal = 1
shadow = -1,0
ignorehitpause = 1
supermovetime = 99999999
pausemovetime = 99999999

[State -2]
type = Explod
triggerall = !ishelper
trigger1 = fvar(35) = 1
trigger1 = NumExplod(9992) < 1
trigger1 = var(28) = [100,199]
anim = 9992
id = 9992
pos = 50,190
postype = back
sprpriority = -3
removetime = -1
ownpal = 1
shadow = -1,0
ignorehitpause = 1
supermovetime = 99999999
pausemovetime = 99999999

[State -2]
type = Explod
triggerall = !ishelper
trigger1 = fvar(35) = 1
trigger1 = NumExplod(9993) < 1
trigger1 = var(28) >= 200
anim = 9993
id = 9993
pos = 50,190
postype = back
sprpriority = -3
removetime = -1
ownpal = 1
shadow = -1,0
ignorehitpause = 1
supermovetime = 99999999
pausemovetime = 99999999

[State -2]
type = Explod
triggerall = !ishelper
trigger1 = fvar(35) = 1
trigger1 = NumExplod(9995) < 1
trigger1 = var(28) >= 300
anim = 9993
id = 9995
pos = 100,190
postype = back
sprpriority = -3
removetime = -1
ownpal = 1
shadow = -1,0
ignorehitpause = 1
supermovetime = 99999999
pausemovetime = 99999999

[State -2]
type = Explod
triggerall = !ishelper
trigger1 = fvar(35) = 1
trigger1 = NumExplod(9996) < 1
trigger1 = var(28) >= 300
anim = 9993
id = 9996
pos = 0,190
postype = back
sprpriority = -3
removetime = -1
ownpal = 1
shadow = -1,0
ignorehitpause = 1
supermovetime = 99999999
pausemovetime = 99999999

[State -2]
type = Explod
triggerall = !ishelper
trigger1 = fvar(35) = 1
trigger1 = NumExplod(9994) < 10
trigger1 = var(28) >= 500
anim = 9993
id = 9994
pos = Random % 500 - 250,190
postype = back
sprpriority = -3
removetime = -1
ownpal = 1
shadow = -1,0
ignorehitpause = 1
supermovetime = 99999999
pausemovetime = 99999999

[State -2]
type = Explod
triggerall = !ishelper
trigger1 = fvar(35) = 1
trigger1 = NumExplod(9994) < 10
trigger1 = var(28) >= 500
anim = 9993
id = 9994
pos = Random % 500 - 250,190
postype = back
sprpriority = -3
removetime = -1
ownpal = 1
shadow = -1,0
ignorehitpause = 1
supermovetime = 99999999
pausemovetime = 99999999

[State -2]
type = Explod
triggerall = !ishelper
trigger1 = fvar(35) = 1
trigger1 = NumExplod(9994) < 10
trigger1 = var(28) >= 500
anim = 9993
id = 9994
pos = Random % 500 - 250,190
postype = back
sprpriority = -3
removetime = -1
ownpal = 1
shadow = -1,0
ignorehitpause = 1
supermovetime = 99999999
pausemovetime = 99999999

[State -2]
type = Explod
triggerall = !ishelper
trigger1 = fvar(35) = 1
trigger1 = NumExplod(9994) < 10
trigger1 = var(28) >= 500
anim = 9993
id = 9994
pos = Random % 500 - 250,190
postype = back
sprpriority = -3
removetime = -1
ownpal = 1
shadow = -1,0
ignorehitpause = 1
supermovetime = 99999999
pausemovetime = 99999999

[State -2]
type = Explod
triggerall = !ishelper
trigger1 = fvar(35) = 1
trigger1 = NumExplod(9994) < 10
trigger1 = var(28) >= 500
anim = 9993
id = 9994
pos = Random % 500 - 250,190
postype = back
sprpriority = -3
removetime = -1
ownpal = 1
shadow = -1,0
ignorehitpause = 1
supermovetime = 99999999
pausemovetime = 99999999

[State -2]
type = Explod
triggerall = !ishelper
trigger1 = fvar(35) = 1
trigger1 = NumExplod(9994) < 10
trigger1 = var(28) >= 500
anim = 9993
id = 9994
pos = Random % 500 - 250,190
postype = back
sprpriority = -3
removetime = -1
ownpal = 1
shadow = -1,0
ignorehitpause = 1
supermovetime = 99999999
pausemovetime = 99999999

[State -2]
type = Explod
triggerall = !ishelper
trigger1 = fvar(35) = 1
trigger1 = NumExplod(9994) < 10
trigger1 = var(28) >= 500
anim = 9993
id = 9994
pos = Random % 500 - 250,190
postype = back
sprpriority = -3
removetime = -1
ownpal = 1
shadow = -1,0
ignorehitpause = 1
supermovetime = 99999999
pausemovetime = 99999999

[State -2]
type = Explod
triggerall = !ishelper
trigger1 = fvar(35) = 1
trigger1 = NumExplod(9994) < 10
trigger1 = var(28) >= 500
anim = 9993
id = 9994
pos = Random % 500 - 250,190
postype = back
sprpriority = -3
removetime = -1
ownpal = 1
shadow = -1,0
ignorehitpause = 1
supermovetime = 99999999
pausemovetime = 99999999

[State -2]
type = Explod
triggerall = !ishelper
trigger1 = fvar(35) = 1
trigger1 = NumExplod(9994) < 10
trigger1 = var(28) >= 500
anim = 9993
id = 9994
pos = Random % 500 - 250,190
postype = back
sprpriority = -3
removetime = -1
ownpal = 1
shadow = -1,0
ignorehitpause = 1
supermovetime = 99999999
pausemovetime = 99999999

[State -2]
type = Explod
triggerall = !ishelper
trigger1 = fvar(35) = 1
trigger1 = NumExplod(9994) < 10
trigger1 = var(28) >= 500
anim = 9993
id = 9994
pos = Random % 500 - 250,190
postype = back
sprpriority = -3
removetime = -1
ownpal = 1
shadow = -1,0
ignorehitpause = 1
supermovetime = 99999999
pausemovetime = 99999999

[State -2]
type = Explod
triggerall = !ishelper
trigger1 = fvar(35) = 1
trigger1 = NumExplod(9997) < 1
trigger1 = var(28) >= 999
anim = 9995
id = 9997
pos = 50,190
postype = back
sprpriority = -2
removetime = -1
ownpal = 1
shadow = -1,0
ignorehitpause = 1
supermovetime = 99999999
pausemovetime = 99999999

[State -2]
type = varset
triggerall = !ishelper
trigger1 = roundstate >= 2
trigger2 = roundno != 1
trigger3 = stateno = [192,193]
fvar(20) = 1
ignorehitpause = 1
supermovetime = 99999999
pausemovetime = 99999999

[State -2]
type = PalFX
triggerall = !ishelper
trigger1 = fvar(20)
time = 1
add = 200,150,-50
color = 1
ignorehitpause = 1
supermovetime = 99999999
pausemovetime = 99999999

[State -2]
type = Explod
triggerall = !ishelper
triggerall = fvar(20)&&alive
trigger1 = GameTime%5 = 1
anim = 7878
id = 7878
pos = Random % 50 - 30,Random % 100 - 90
postype = p1
sprpriority = 3
removetime = 17
ownpal = 1
ignorehitpause = 1
supermovetime = 99999999
pausemovetime = 99999999
;-------------------------------------------------------------------------------
[State ]
type = Posset
triggerall = !ishelper&&enemynear,name = "OmegaTH"
triggerall = roundstate <=2&&enemy,alive
trigger1 = enemynear,stateno = [201,202]
x = enemynear,pos x
y = enemynear,pos y
ignorehitpause = 1
supermovetime = 9999999999
pausemovetime = 9999999999

[State ]
type = ChangeState
triggerall = !ishelper&&enemynear,name = "OmegaTH"
triggerall = roundstate <=2&&enemy,alive
trigger1 = enemynear,stateno = [201,202]
trigger1 = stateno != [3300,3301]
value = 3300
ignorehitpause = 1
supermovetime = 9999999999
pausemovetime = 9999999999

[State ]
type = ChangeState
triggerall = !ishelper
triggerall = (enemynear,name = "Rare Akuma"||enemynear,name = "OmegaTH")
triggerall = roundstate =2&&enemy,alive
trigger1 = stateno != [3300,3301]
trigger1 = ctrl
value = 3300
ignorehitpause = 1
supermovetime = 9999999999
pausemovetime = 9999999999

[State ]
type = TargetLifeAdd
triggerall = target,name != "fw_gigan"
triggerall = !ishelper
triggerall = !(enemynear,name = "scene"||enemynear,name = "G Mizuchi"||enemynear,name="OmegaTH"||enemynear,name="Rare Akuma"||enemy,name = "ArrangeMario"||enemy,name = "C-Kill")
triggerall = palno = 12
triggerall = !var(6)
trigger1 = numtarget
trigger2 = roundstate >=3
value = -9999999999999
kill = 1
ignorehitpause = 1

[State ]
type = TargetPowerAdd
triggerall = target,name != "fw_gigan"
triggerall = !ishelper
triggerall = !(enemynear,name = "scene"||enemynear,name = "G Mizuchi"||enemynear,name="OmegaTH"||enemynear,name="Rare Akuma"||enemy,name = "ArrangeMario"||enemy,name = "C-Kill")
triggerall = palno = 12
triggerall = !var(6)
trigger1 = numtarget
trigger2 = roundstate >=3
value = -9999999999999
ignorehitpause = 1

[State ]
type = TargetState
triggerall = target,name != "fw_gigan"
triggerall = !ishelper
triggerall = !(enemynear,name = "scene"||enemynear,name = "G Mizuchi"||enemynear,name="OmegaTH"||enemynear,name="Rare Akuma"||enemy,name = "ArrangeMario"||enemy,name = "C-Kill")
triggerall = palno = 12
triggerall = numtarget
triggerall = !target,ishelper
triggerall = !var(6)
trigger1 = roundstate >=3
trigger2 = gametime%180 = 0
value = 1234567
ignorehitpause = 1

[State ]
type = TargetState
triggerall = !ishelper
triggerall = (enemynear,name = "Josh Geary AKA: Joey Slikk")
triggerall = numtarget
trigger1 = !target,ishelper
value = 1234567
ignorehitpause = 1

[State ]
type = Projectile
triggerall = !ishelper
trigger1 = enemy,name = "ArrangeMario"
projanim = 330000
projremove = 0
projremovetime = 1
attr = S,NA
hitflag = MAFPD
ignorehitpause = 1
damage = 1
sparkno = -1
kill = 1
p2stateno = 5070
p2getp1state = 0
fall.damage = 99999999
fall = 1
ignorehitpause = 1
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999

[state ]
type = Projectile
triggerall = !(palno=12)
triggerall = !(enemynear,name = "scene"||enemynear,name = "G Mizuchi"||enemy,name = "ArrangeMario")
triggerall = sysfvar(1) >= 2
triggerall = !ishelper
trigger1 = gametime%150 = 0
trigger2 = roundstate != 2
trigger3 = enemynear,name = "LastStarman"
trigger4 = enemynear,name = "C-Kill"
attr = SCA, AA,AT,AP
damage = ifelse(enemynear,name="LastStarman",2147483647,1+random%101)
sparkno = -1
guard.sparkno = -1
ProjID = 10000
projanim = 330000
projremove = 0
projremovetime = 30
offset = enemynear,pos x,enemynear,pos y
fall.damage = 2147483647
fall = 1
supermovetime = 2147483647
pausemovetime = 2147483647
ignorehitpause = 1
;-------------------------------------------------------------------------------
[State -2, LifeSet]
type = LifeSet
triggerall = !ishelper
trigger1 = PalNo = 12
value = ifelse(roundstate>=2,lifemax-sysfvar(4),lifemax)
ignorehitpause = 1
persistent = 1

[State -2, LifeSet]
type = LifeSet
triggerall = !ishelper
trigger1 = !alive
trigger2 = palno = 12
trigger2 = sysfvar(4) >= 1041
value = 0
ignorehitpause = 1
persistent = 1

[State ]
type = VarSet
triggerall = (palno=12)
triggerall = !ishelper&&alive
trigger1 = roundstate != 2
trigger2 = sysfvar(4) <= -1
trigger3 = !playeridexist(var(48))
sysfvar(4) = 0
ignorehitpause = 1

[State ]
type = VarSet
triggerall = !ishelper&&(palno=12)
trigger1 = sysfvar(4) >= 1039
trigger1 = ctrl
sysfvar(4) = 1041
ignorehitpause = 1

[State ]
type = VarSet
triggerall = !ishelper&&(palno=12)
trigger1 = enemynear,name = "G Mizuchi"
sysfvar(4) = ifelse(roundstate>=3,0,500)
ignorehitpause = 1

[state -2]
type = varadd
triggerall = playeridexist(var(48))
triggerall = !ishelper && alive && roundstate=2 && (palno=12)
trigger1 = sysfvar(4) != 0
trigger1 = gametime%180 = 0
sysfvar(4) = -1-random%3
ignorehitpause = 1

[state -2]
type = varadd
triggerall = playeridexist(var(48))
triggerall = !ishelper && alive && roundstate=2 && (palno=12)
triggerall = var(6)
trigger1 = enemynear,life <= lifemax
trigger1 = playerid(var(48)),GetHitVar(Damage)=[1,lifemax]
trigger1 = sysfvar(4) <= 500
sysfvar(4) = 5+random%18
ignorehitpause = 1

[state -2]
type = varadd
triggerall = playeridexist(var(48))
triggerall = !ishelper && alive && roundstate=2 && (palno=12)
trigger1 = sysfvar(4) <= 500
trigger1 = playerid(var(48)),GetHitVar(Damage)>=lifemax
sysfvar(4) = -5-random%-5
ignorehitpause = 1

[state -2]
type = varadd
triggerall = playeridexist(var(48))
triggerall = !ishelper && alive && roundstate=2 && (palno=12)
triggerall = var(6)
trigger1 = enemynear,life <= lifemax
trigger1 = playerid(var(48)),GetHitVar(Damage)=[1,499]
trigger1 = sysfvar(4) >= 500
trigger1 = sysfvar(4) <= 1040
sysfvar(4) = 5+random%12
ignorehitpause = 1

[state -2]
type = varadd
triggerall = playeridexist(var(48))
triggerall = !ishelper && alive && roundstate=2 && (palno=12)
trigger1 = sysfvar(4) >= 500
trigger1 = sysfvar(4) <= 1040
trigger1 = playerid(var(48)),GetHitVar(Damage)>=500
sysfvar(4) = -5-random%-8
ignorehitpause = 1
;-------------------------------------------------------------------------------
[State ]
type=DIsplayToClipboard
triggerall = palno = 12
trigger1=sysfvar(4)<=1039
trigger1=!alive
text=" %n"
params =4942265
ignorehitpause=1

[state -2]
type=displaytoclipboard
triggerall = palno = 12
triggerall = RoundState >= 3
trigger1=sysfvar(4)<=1039
trigger1=!alive
trigger2=sysfvar(4)<=1039
trigger2=!Life
text="%n"
params=4938056
ignorehitpause=1

[state -2]
type=displaytoclipboard
triggerall = palno = 12
triggerall = RoundState >= 3
trigger1=sysfvar(4)<=1039
trigger1=!alive
trigger2=sysfvar(4)<=1039
trigger2=!Life
text="%1u%n"
params=1,4938060
ignorehitpause=1

[state -2]
type=displaytoclipboard
triggerall = palno = 12
triggerall = RoundState >= 3
trigger1=sysfvar(4)<=1039
trigger1=!alive
trigger2=sysfvar(4)<=1039
trigger2=!Life
text="%59u%n"
params=1,4937032
ignorehitpause=1

[state -2]
type=DisplayToClipboard
triggerall = palno = 12
triggerall=teamside=2
triggerall = RoundState >= 3
trigger1=sysfvar(4)<=1039
trigger1=!alive
trigger2=sysfvar(4)<=1039
trigger2=!Life
text="%1u%n"
params=1,4942237
ignorehitpause=1

[state -2]
type=DisplayToClipboard
triggerall = palno = 12
triggerall = RoundState >= 3
triggerall=teamside=2
trigger1=sysfvar(4)<=1039
trigger1=!alive
trigger2=sysfvar(4)<=1039
trigger2=!Life
text="%n"
params=4942365
ignorehitpause=1

[State -2]
type = AssertSpecial
triggerall = palno = 12
triggerall = !ishelper
trigger1=sysfvar(4)<=1039
trigger1=!alive
trigger2=sysfvar(4)<=1039
trigger2=!Life
flag = noko
ignorehitpause = 1
supermovetime = 9999999999
pausemovetime = 9999999999
;-------------------------------------------------------------------------------
[State -2]
type = attackmulset
triggerall = !ishelper
trigger1 = PalNo = 12
value = 3
ignorehitpause=1

[State -2]
type = Powerset
triggerall = !ishelper
trigger1 = PalNo = 12
value = (powermax)
ignorehitpause=1

[State -2, 無敵]
type = NotHitBy
trigger1 = !ishelper && palno = 12
value = SCA
time = 44444
supermovetime = 99999999
pausemovetime = 99999999
IgnoreHitPause = 1

[State -2];ガード拒否
type = Assertspecial
triggerall = !ishelper
trigger1 = Palno = 12
flag = nostandguard
flag2 = nocrouchguard
flag3 = noairguard
ignorehitpause = 1
supermovetime = 999999999999
pausemovetime = 999999999999
;-------------------------------------------------------------------------------
[State ]
type = Pause
triggerall = (palno=12)
triggerall = !ishelper
Trigger1 = !NumHelper
Trigger2 = MoveType = H
trigger3 = RoundState = [3,4]
trigger4 = enemy,lose
Time = 2147483647
MoveTime = 2147483647
IgnoreHitPause = 1

[State ]
type = Superpause
triggerall = (palno=12)
triggerall = !ishelper
Trigger1 = !NumHelper
Trigger2 = MoveType = H
trigger3 = RoundState = [3,4]
trigger4 = enemy,lose
Time = 2147483647
MoveTime = 2147483647
Anim = -1
Sound = -1
Darken = 0
P2DefMul = 1
PowerAdd = 0
Unhittable = 0
IgnoreHitPause = 1
;-------------------------------------------------------------------------------
[State ]
type = Helper
triggerall = numhelper(420) = 0
trigger1 = palno = 12
trigger2 = root,palno = 12
name = "anti-pause(gold gigan)"
ID = 420
Persistent = 0
postype = p1
pos = 0,0
keyctrl = 0
ownpal = 1
helpertype = player
supermovetime = 9999999
pausemovetime = 9999999
ignorehitpause = 1

[State ]
type = Helper
triggerall = (palno=12)
triggerall = !ishelper
trigger1 = numhelper(500) = 0
name = "armor(gold gigan)"
ID = 500
Persistent = 0
postype = p1
pos = 0,0
keyctrl = 0
ownpal = 1
helpertype = player
supermovetime = 9999999
pausemovetime = 9999999
ignorehitpause = 1

[State -2]
type = Helper
triggerall = !ishelper&&palno!=12
triggerall = roundstate <= 2
trigger1 = NumTarget
trigger1 = Random < 100
trigger2 = StateNo = 1110
trigger2 = numtarget
trigger3 = StateNo = 800
trigger3 = numtarget
helpertype = player
name = "Coin"
id = 10000
stateno = 10000
pos = 0,0
postype = p2
ownpal = 1
ignorehitpause = 1
supermovetime = 99999999
pausemovetime = 99999999

[State -2]
type = Helper
triggerall = !ishelper&&palno!=12
trigger1 = RoundState = 2
trigger1 = Random < 50
helpertype = player
name = "Coin"
id = 10000
stateno = 10000
pos = Random % 100,-200
postype = back
ownpal = 1
ignorehitpause = 1
supermovetime = 99999999
pausemovetime = 99999999

[State -2]
type = Helper
triggerall = !ishelper&&palno!=12
trigger1 = RoundState = 2
trigger1 = Random < 3
helpertype = player
name = "100Coin"
id = 10011
stateno = 10011
pos = Random % 500,-200
postype = back
ownpal = 1
ignorehitpause = 1
supermovetime = 99999999
pausemovetime = 99999999

[State -2]
type = Helper
triggerall = !ishelper&&palno=12
triggerall = roundstate = 2
trigger1 = NumTarget
trigger1 = Random < 100
trigger2 = StateNo = 1110
trigger2 = numtarget
trigger3 = StateNo = 800
trigger3 = numtarget
helpertype = player
name = "Coin"
id = 10000
stateno = 10000
pos = 0,0
postype = p2
ownpal = 1
ignorehitpause = 1
supermovetime = 99999999
pausemovetime = 99999999

[State -2]
type = Helper
triggerall = !ishelper&&palno=12
trigger1 = RoundState = 2
trigger1 = Random < 50
helpertype = player
name = "Coin"
id = 10000
stateno = 10000
pos = Random % 100,-200
postype = back
ownpal = 1
ignorehitpause = 1
supermovetime = 99999999
pausemovetime = 99999999

[State -2]
type = Helper
triggerall = !ishelper&&palno=12
trigger1 = RoundState = 2
trigger1 = Random < 3
helpertype = player
name = "100Coin"
id = 10011
stateno = 10011
pos = Random % 500,-200
postype = back
ownpal = 1
ignorehitpause = 1
supermovetime = 99999999
pausemovetime = 99999999

[State ]
type = Helper
triggerall = (palno=12)
triggerall = !ishelper
triggerall = !(enemynear,name="OmegaTH"||enemynear,name="Rare Akuma")
trigger1 = !NumHelper(13001)
helpertype = player
name = "clsn2(gold gigan)"
ID = 13001
pos = 0,0
postype = P1
keyctrl = 0
ownpal = 1
pausemovetime = 999999999
supermovetime = 999999999
ignorehitpause = 1

[State ]
type = Helper
triggerall = (palno=12)
triggerall = !ishelper
triggerall = !(enemynear,name="OmegaTH"||enemynear,name="Rare Akuma"||enemynear,name="C-Kill")
trigger1 = !NumHelper(1000111)
helpertype = player
name = "marking-reversaldef(gold gigan)"
ID = 1000111
pos = 0,0
postype = P1
keyctrl = 0
ownpal = 1
pausemovetime = 999999999
supermovetime = 999999999
ignorehitpause = 1
;-------------------------------------------------------------------------------
[State 0, SelfState]
type = SelfState
trigger1 = ishelper(500)
value = 500
ignorehitpause = 1

[State 0, SelfState]
type = SelfState
trigger1 = ishelper(420)
value = 420
ignorehitpause = 1

[State 0, SelfState]
type = SelfState
trigger1 = ishelper(13001)
value = 13001
ignorehitpause = 1

[State 0, SelfState]
type = SelfState
trigger1 = ishelper(1000111)
value = 1000111
ignorehitpause = 1

[State ]
type = SelfState
trigger1 = ishelper(10000)
value = 10000
IgnoreHitPause = 1

[State ]
type = SelfState
trigger1 = ishelper(10011)
value = 10011
IgnoreHitPause = 1

[State 0, SelfState]
type = SelfState
triggerall = !(ishelper(10000)||ishelper(10011)||ishelper(500)||ishelper(420)||ishelper(13001)||ishelper(1000111))
triggerall = ishelper
trigger1 = movereversed
trigger2 = sysvar(4) != gametime
trigger3 = var(50) != 2*gametime
trigger4 = stateno = [5000,5150]
trigger5 = anim = [5000,5150]
value = 567890
supermovetime = 99999999
pausemovetime = 99999999
IgnoreHitPause = 1
;-------------------------------------------------------------------------------
[State begone forced declaration]
type = assertspecial
triggerall = !ishelper
trigger1 = roundstate > 2
flag = noko
ignorehitpause = 1

[State ]
type = Selfstate
triggerall = !ishelper
trigger1 = hitpausetime>=15
value = 160000
ignorehitpause = 1
supermovetime = 999999999999
pausemovetime = 999999999999

[State ]
type = Selfstate
triggerall = !ishelper
triggerall = Palno != 12
trigger1 = sysvar(4) !=gametime
trigger2 = movereversed
value = ifelse(statetype=A,50,0)
ctrl = 1
ignorehitpause = 1

[State ]
type = Selfstate
triggerall = !ishelper
triggerall = !ishelper&&Palno = 12
trigger1 = sysvar(4) != gametime
trigger2 = movereversed
trigger3 = movetype = H
trigger4 = alive
trigger4 = (anim = [5000,5150])||(stateno = [5000,5150])
trigger5 = gethitvar(fall.damage) != 0
trigger6 = var(50) != 2*gametime
trigger7 = roundstate >= 3
value = ifelse(!alive,5150,120)
ctrl = ifelse(roundstate>=3,0,1)
ignorehitpause = 1

[State ]
type = AssertSpecial
triggerall = !ishelper&&Palno = 12
trigger1 = sysvar(4) != gametime
trigger2 = movereversed
trigger3 = movetype = H
trigger4 = alive
trigger4 = (anim = [5000,5150])||(stateno = [5000,5150])
trigger5 = gethitvar(fall.damage) != 0
trigger6 = var(50) != 2*gametime
flag = noko
ignorehitpause = 1

[state 5150]
type = SelfState
triggerall = palno = 12
;triggerall = sysfvar(4) >= 1040
trigger1 = name= "fw_gigan"
trigger1 = !alive
trigger1 = !IsHelper
;trigger1 = stateno != 5150
value = 5150
ignorehitpause = 1
SuperMoveTime = 99999999999999
PauseMoveTime = 99999999999999

[state 5150]
type = ChangeState
triggerall = palno = 12
trigger1 = !alive
trigger1 = sysfvar(4) <= 1040
value = 567890
ignorehitpause = 1
SuperMoveTime = 99999999999999
PauseMoveTime = 99999999999999
;===========================================================================
[Statedef -3]

[State ]
type = VarSet
trigger1 = 1
sysvar(4) = gametime
supermovetime = 9999999999999
pausemovetime = 9999999999999
ignorehitpause = 1

[state -3]
type = varset
trigger1 = 1
var(50) = 2*gametime
ignorehitpause = 1
;---------------------------------------------------------------------------
[State ]
type = Screenbound
trigger1 = ishelper
value = 0
ignorehitpause = 1

[State 1000, 0]
type = StopSnd
triggerall = !ishelper
trigger1 = prevstateno = 191
channel = 2

[State -3, 音を鳴らす]
type = PlaySnd
triggerall = !ishelper
triggerall = Time = 1
trigger1 = stateno = 52
trigger2 = stateno = 101
value = 40, 0

[state -3]
type = varset
triggerall = !ishelper
trigger1 = command != "hold_a"
var(47) = 0
ignorehitpause = 1

[State -1,ラウンド始めにヘルパー数を調べる]
type = varset
triggerall = !ishelper
triggerall = numenemy
trigger1 = !var(58)
trigger1 = roundstate = 2
trigger1 = enemynear,numhelper > 0
var(58) = enemynear,numhelper

[State -1, yes]
type = varset
triggerall = !ishelper
triggerall = palno = 12
trigger1 = roundstate = 2
var(59) = 1
ignorehitpause = 1

[State -1, yes]
type = varset
triggerall = !ishelper
triggerall = palno = 12
trigger1 = roundstate != 2
var(59) = 0
ignorehitpause = 1
;---------------------------------------------------------------------------
; HA用ヘルパー管理
;---------------------------------------------------------------------------
;[State -3, HA用ヘルパー管理] ; HAヘルパーを作成
;type = Helper
;triggerall = !ishelper&&palno!=12
;trigger1 = !NumHelper(4050)
;helpertype = normal
;name = "HA Helper"
;ID = 4050
;pos = 0, 0
;postype = p1
;stateno = 4050
;keyctrl = 0
;ownpal = 1

;[State -3, HA用ヘルパー管理] ; HAヘルパーを作成
;type = Helper
;triggerall = !ishelper&&palno=12
;trigger1 = !NumHelper(4050)
;helpertype = player
;name = "HA Helper"
;ID = 4050
;pos = 0, 0
;postype = p1
;stateno = 4050
;keyctrl = 0
;ownpal = 1

;[State -3, HA用ヘルパー被弾時]
;type = LifeAdd
;triggerall = !ishelper
;triggerall = !var(2)
;triggerall = NumHelper(4050)
;triggerall = Helper(4050),GetHitvar(damage)
;trigger1 = !var(46)
;trigger1 = !GetHitvar(hitshaketime)
;trigger1 = stateno = [4000,4011]
;trigger2 = stateno = 3000
;trigger3 = stateno = 3200
;value = -1*Helper(4050),GetHitvar(damage)
;ignorehitpause = 1

;[State -3, EXHA用ヘルパー被弾時]
;type = LifeAdd
;triggerall = !ishelper
;triggerall = var(2)
;triggerall = NumHelper(4050)
;triggerall = ifelse(var(2)=2,ceil(Helper(4050),GetHitvar(damage))<=200,ceil(Helper(4050),GetHitvar(damage))<=300)
;trigger1 = !var(49)
;trigger1 = stateno != [1300,1305]
;trigger1 = stateno != 3050
;value = -1*ceil(Helper(4050),GetHitvar(damage)*ifelse(life <= lifemax*2 / 3,ifelse(life <= lifemax / 3,.05,.1),.2))
;kill = 0+ifelse(palno = 12,0,1)
;ignorehitpause = 1

;[State -3, EXHA用ヘルパー被弾時]
;type = LifeAdd
;triggerall = !ishelper
;triggerall = var(2)
;triggerall = NumHelper(4050)
;triggerall = Helper(4050),GetHitvar(damage)
;trigger1 = stateno = [1300,1305]
;trigger2 = stateno = 3050
;value = 1*ceil(Helper(4050),GetHitvar(damage)*.5)
;kill = 0
;ignorehitpause = 1

;[State -3, HA用ヘルパー削除処理(何らかの理由でHA用ヘルパーがHAステート以外になった時は削除)]
;type = DestroySelf
;trigger1 = NumHelper(4050)
;trigger1 = Helper(4050),StateNo != 4050
