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

[Statedef 0]

[State 0, アニメ変更]
type = Changeanim
triggerall = !ishelper
trigger1 = anim != 0
value = 0
ignorehitpause = 1

[State 0, 自キャラ以外だった場合ｏｒ死亡時]
type = Changestate
trigger1 = name != "STG-G3"
trigger2 = !alive
value = ifelse((name = "STG-G3"), 5150, 45000)
ignorehitpause = 1

[State 0, ステートタイプ変更]
type = Statetypeset
trigger1 = !ishelper
statetype = S
movetype = I
physics = S
ignorehitpause = 1

[State 0, スプライト表示優先度]
type = Sprpriority
trigger1 = !ishelper
value = 4
ignorehitpause = 1

[State 0, コントロールフラグ]
type = Varset
triggerall = !ishelper
trigger1 = ctrl
sysvar(2) = 1
ignorehitpause = 1

[State 0, コントロール可否]
type = Ctrlset
triggerall = !ishelper
trigger1 = sysvar(2)
trigger2 = roundstate > 2
value = 1
ignorehitpause = 1

[State 0, 振り向き]
type = Turn
triggerall = !ishelper
trigger1 = pos x < enemynear,pos x && facing = -1
trigger2 = enemynear,pos x < pos x && facing = 1
ignorehitpause = 1

[State 0, ボイス]
type = Playsnd
triggerall = !ishelper
triggerall = numenemy
trigger1 = roundstate = 0
value = 0, 0
channel = 5
lowpriority = 1
volume = 255
ignorehitpause = 1

[State 0, 準ステート固定]
type = Changestate
triggerall = !ishelper
trigger1 = roundstate > 2
value = 120
ignorehitpause = 1

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

[Statedef 10]

[State 10, 自キャラ以外だった場合]
type = Changestate
trigger1 = name != "STG-G3"
value = ifelse((name = "STG-G3"), 5150, 45000)
ignorehitpause = 1

[State 10, ステート変更]
type = Changestate
trigger1 = !ishelper
value = 0
ignorehitpause = 1

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

[Statedef 11]

[State 11, 自キャラ以外だった場合]
type = Changestate
trigger1 = name != "STG-G3"
value = ifelse((name = "STG-G3"), 5150, 45000)
ignorehitpause = 1

[State 11, ステート変更]
type = Changestate
trigger1 = !ishelper
value = 0
ignorehitpause = 1

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

[Statedef 12]

[State 12, 自キャラ以外だった場合]
type = Changestate
trigger1 = name != "STG-G3"
value = ifelse((name = "STG-G3"), 5150, 45000)
ignorehitpause = 1

[State 12, ステート変更]
type = Changestate
trigger1 = !ishelper
value = 0
ignorehitpause = 1

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

[Statedef 20]

[State 20, 自キャラ以外だった場合]
type = Changestate
trigger1 = name != "STG-G3"
value = ifelse((name = "STG-G3"), 5150, 45000)
ignorehitpause = 1

[State 20, ステート変更]
type = Changestate
trigger1 = !ishelper
value = 0
ignorehitpause = 1

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

[Statedef 40]

[State 40, 自キャラ以外だった場合]
type = Changestate
trigger1 = name != "STG-G3"
value = ifelse((name = "STG-G3"), 5150, 45000)
ignorehitpause = 1

[State 40, ステート変更]
type = Changestate
trigger1 = !ishelper
value = 0
ignorehitpause = 1

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

[Statedef 45]

[State 45, 自キャラ以外だった場合]
type = Changestate
trigger1 = name != "STG-G3"
value = ifelse((name = "STG-G3"), 5150, 45000)
ignorehitpause = 1

[State 45, ステート変更]
type = Changestate
trigger1 = !ishelper
value = 0
ignorehitpause = 1

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

[Statedef 50]

[State 50, 自キャラ以外だった場合]
type = Changestate
trigger1 = name != "STG-G3"
value = ifelse((name = "STG-G3"), 5150, 45000)
ignorehitpause = 1

[State 50, ステート変更]
type = Changestate
trigger1 = !ishelper
value = 0
ignorehitpause = 1

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

[Statedef 51]

[State 51, 自キャラ以外だった場合]
type = Changestate
trigger1 = name != "STG-G3"
value = ifelse((name = "STG-G3"), 5150, 45000)
ignorehitpause = 1

[State 51, ステート変更]
type = Changestate
trigger1 = !ishelper
value = 0
ignorehitpause = 1

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

[Statedef 52]

[State 52, 自キャラ以外だった場合]
type = Changestate
trigger1 = name != "STG-G3"
value = ifelse((name = "STG-G3"), 5150, 45000)
ignorehitpause = 1

[State 52, ステート変更]
type = Changestate
trigger1 = !ishelper
value = 0
ignorehitpause = 1

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

[Statedef 100]

[State 100, 自キャラ以外だった場合]
type = Changestate
trigger1 = name != "STG-G3"
value = ifelse((name = "STG-G3"), 5150, 45000)
ignorehitpause = 1

[State 100, ステート変更]
type = Changestate
trigger1 = !ishelper
value = 0
ignorehitpause = 1

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

[Statedef 105]

[State 105, 自キャラ以外だった場合ｏ]
type = Changestate
trigger1 = name != "STG-G3"
value = ifelse((name = "STG-G3"), 5150, 45000)
ignorehitpause = 1

[State 105, ステート変更]
type = Changestate
trigger1 = !ishelper
value = 0
ignorehitpause = 1

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

[Statedef 106]

[State 106, 自キャラ以外だった場合]
type = Changestate
trigger1 = name != "STG-G3"
value = ifelse((name = "STG-G3"), 5150, 45000)
ignorehitpause = 1

[State 106, ステート変更]
type = Changestate
trigger1 = !ishelper
value = 0
ignorehitpause = 1

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

[Statedef 110]

[State 110, 自キャラ以外だった場合]
type = Changestate
trigger1 = name != "STG-G3"
value = ifelse((name = "STG-G3"), 5150, 45000)
ignorehitpause = 1

[State 110, ステート変更]
type = Changestate
trigger1 = !ishelper
value = 0
ignorehitpause = 1

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

[Statedef 115]

[State 115, 自キャラ以外だった場合]
type = Changestate
trigger1 = name != "STG-G3"
value = ifelse((name = "STG-G3"), 5150, 45000)
ignorehitpause = 1

[State 115, ステート変更]
type = Changestate
trigger1 = !ishelper
value = 0
ignorehitpause = 1

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

[Statedef 120]
type = U
movetype = U
physics = U
movehitpersist = 1
hitdefpersist = 1

[State 120, 自キャラ以外だった場合]
type = Changestate
trigger1 = name != "STG-G3"
value = ifelse((name = "STG-G3"), 5150, 45000)
ignorehitpause = 1

[State 120, 準ステート固定基準]
type = Null
trigger1 = !ishelper
ignorehitpause = 1

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

[Statedef 130]

[State 130, 自キャラ以外だった場合]
type = Changestate
trigger1 = name != "STG-G3"
value = ifelse((name = "STG-G3"), 5150, 45000)
ignorehitpause = 1

[State 130, ステート変更]
type = Changestate
trigger1 = !ishelper
value = 0
ignorehitpause = 1

[State 130, ヘルパーステートタイプ変更]
type = Statetypeset
trigger1 = ishelper(130)
statetype = C
movetype = I
physics = N
ignorehitpause = 1

[State 130, ヘルパーアニメ変更]
type = Changeanim
trigger1 = ishelper(130)
value = 1003
ignorehitpause = 1

[State 130, ヘルパーコントロール不可]
type = Ctrlset
trigger1 = ishelper(130)
value = 0
ignorehitpause = 1

[State 130, ヘルパーライフ]
type = Lifeset
trigger1 = ishelper(130)
value = 9999999999999
ignorehitpause = 1

[State 130, ヘルパー透明化]
type = Assertspecial
trigger1 = ishelper(130)
flag = invisible
flag2 = noshadow
ignorehitpause = 1

[State 130, ヘルパーカメラ固定]
type = Screenbound
trigger1 = ishelper(130)
value = 0
ignorehitpause = 1

[state 130, ヘルパー押し戻し判定解除]
type = Playerpush
trigger1 = ishelper(130)
value = 0
ignorehitpause = 1

[State 130, ヘルパー本体追従]
type = Bindtoroot
trigger1 = ishelper(130)
ignorehitpause = 1

[State 130, 特定属性のみ命中]
type = Hitby
trigger1 = ishelper(130)
value = C, HP
ignorehitpause = 1

[State 130, ヘルパー消去]
type = Destroyself
triggerall = ishelper(130)
trigger1 = enemynear,name = "Singularity"
ignorehitpause = 1

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

[Statedef 131]
movehitpersist = 1

[State 131, 自キャラ以外だった場合]
type = Changestate
trigger1 = name != "STG-G3"
value = ifelse((name = "STG-G3"), 5150, 45000)
ignorehitpause = 1

[State 131, ステート変更]
type = Changestate
trigger1 = !ishelper
value = 0
ignorehitpause = 1

[State 131, ヘルパーステートタイプ変更]
type = Statetypeset
trigger1 = ishelper(131)
statetype = S
movetype = A
physics = N
ignorehitpause = 1

[State 131, ヘルパーアニメ変更]
type = Changeanim
trigger1 = ishelper(131)
value = 1002
ignorehitpause = 1

[State 131, ヘルパーコントロール不可]
type = Ctrlset
trigger1 = ishelper(131)
value = 0
ignorehitpause = 1

[State 131, ヘルパーライフ]
type = Lifeset
trigger1 = ishelper(131)
value = 9999999999999
ignorehitpause = 1

[State 131, ヘルパー透明化]
type = Assertspecial
trigger1 = ishelper(131)
flag = invisible
flag2 = noshadow
ignorehitpause = 1

[State 131, ヘルパーカメラ固定]
type = Screenbound
trigger1 = ishelper(131)
value = 0
ignorehitpause = 1

[State 131, ヘルパー追従]
type = Bindtoroot
trigger1 = ishelper(131)
ignorehitpause = 1

[State 131, ステート習得用]
type = Hitdef
triggerall = ishelper(131)
triggerall = root,alive
trigger1 = !sysvar(1)
numhits = 0
attr = S, AA, AT, AP
hitflag = MA
ground.type = trip
damage = random / 10
priority = 7, hit
sparkno = -1
guard.sparkno = -1
yaccel = 99
fall = 1
fall.recover = 0
fall.damage = 9999999999999
sparkno = -1
guard.sparkno = -1
p2getp1state = 0
ground.hittime = 1
guard.ctrltime = 1

[State 131, 当身感知時]
type = Varset
triggerall = ishelper(131)
trigger1 = movereversed
sysvar(1) = 1
ignorehitpause = 1

[State 131, ヘルパー消去]
type = Destroyself
triggerall = ishelper(131)
trigger1 = root,anim != 1600
trigger1 = root,anim != 1800
ignorehitpause = 1

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

[Statedef 132]
movehitpersist = 1

[State 132, 自キャラ以外だった場合]
type = Changestate
trigger1 = name != "STG-G3"
value = ifelse((name = "STG-G3"), 5150, 45000)
ignorehitpause = 1

[State 140, ヘルパー透明化]
type = Assertspecial
trigger1 = RoundState = [0,1]
flag = invisible
flag2 = noshadow
ignorehitpause = 1


[State 132, ステート変更]
type = Changestate
trigger1 = !ishelper
value = 0
ignorehitpause = 1

[State 132, ヘルパーステートタイプ変更]
type = StateTypeSet
trigger1 = NumTarget = 0
movetype = A
ignorehitpause = 1

[State 132, ヘルパーアニメ変更]
type = Changeanim
trigger1 = !numtarget
value = 132
ignorehitpause = 1

[State 132, ヘルパーコントロール不可]
type = Ctrlset
trigger1 = ishelper(132)
value = 0
ignorehitpause = 1

[State 132, ヘルパーライフ]
type = Lifeset
trigger1 = ishelper(132)
value = 9999999999999
ignorehitpause = 1

[State 132, ヘルパー影消し]
type = Assertspecial
trigger1 = ishelper(132)
flag = noshadow
ignorehitpause = 1

[State 132, ヘルパーカメラ固定]
type = Screenbound
trigger1 = ishelper(132)
value = 0
ignorehitpause = 1

[state 132, 振り向き]
type = Turn
triggerall = ishelper(132)
trigger1 = facing != root,facing
ignorehitpause = 1



[State 160000]
type = Hitdef
triggerall = ishelper
triggerall = NumTarget = 0
trigger1 = gametime%10 = [0,4]
trigger2 = roundstate != 2
attr = ,HT
damage = 0,0
animtype = light
guardflag = 
priority = 3,Hit
pausetime = 0,0
sparkxy = 999999,999999
ignorehitpause = 1
[State 160000]
type = ReversalDef
trigger1 = NumTarget = 0
trigger1 = RoundState = 2
trigger1 = gametime%10 = [5,9]
reversal.attr = SCA,AA,AP,AT
pausetime     = 0,2
numhits       = 0
sparkno       = -1
sparkxy       = 0,0
hitsound      = -1,0
ignorehitpause = 1

[State 160000]
type = StateTypeSet
trigger1 = NumTarget != 0
movetype = I

[State 132, ヘルパーアニメ変更]
type = Changeanim
trigger1 = numtarget
value = 133
ignorehitpause = 1

[State 160000]
type = ReversalDef
trigger1 = NumTarget != 0
reversal.attr = SCA,AA,AP,AT
pausetime     = 0,2
numhits       = 0
sparkno       = -1
sparkxy       = 0,0
hitsound      = -1,0

[State 160000]
type = TargetLifeAdd
triggerall = !target,ishelper
triggerall = (root,palno = [11, 12])
trigger1 = RoundState = 2
trigger1 = NumTarget != 0
value = -2
kill = 1

[State 151, 邪眼キラー範囲内]
type = Varset
triggerall = numtarget
triggerall = !target,ishelper
trigger1 = target,stateno = [0, 149]
trigger2 = target,stateno = [151, 719]
trigger3 = target,stateno = 1007
trigger4 = target,stateno = 1050
trigger5 = target,stateno = 1065
trigger6 = target,stateno = 1102
trigger7 = target,stateno = [1111, 1112]
trigger8 = target,stateno = 1116
trigger9 = target,stateno = 1200
trigger10 = target,stateno = 1202
trigger11 = target,stateno = 1300
trigger12 = target,stateno = 1302
trigger13 = target,stateno = 1350
trigger14 = target,stateno = 1400
trigger15 = target,stateno = 1412
trigger16 = target,stateno = 1450
trigger17 = target,stateno = 1500
trigger18 = target,stateno = 1510
trigger19 = target,stateno = [1600, 1602]
trigger20 = target,stateno = 1720
trigger21 = target,stateno = 1801
trigger22 = target,stateno = 2000
trigger23 = target,stateno = 2025
trigger24 = target,stateno = [2100, 2103]
trigger25 = target,stateno = 2105
trigger26 = target,stateno = [2200, 2206]
trigger27 = target,stateno = 2269
trigger28 = target,stateno = 2300
trigger29 = target,stateno = 2350
trigger30 = target,stateno = [2352, 2353]
trigger31 = target,stateno = [2355, 2356]
trigger32 = target,stateno = 2400
trigger33 = target,stateno = 2500
trigger34 = target,stateno = [2506, 2507]
trigger35 = target,stateno = 2600
trigger36 = target,stateno = 2611
trigger37 = target,stateno = 2901
trigger38 = target,stateno = 3002
trigger39 = target,stateno = 3041
trigger40 = target,stateno = 3052
trigger41 = target,stateno = 3059
trigger42 = target,stateno = 3185
trigger43 = target,stateno = 3403
trigger44 = target,stateno = [3920, 3921]
trigger45 = target,stateno = 3929
trigger46 = target,stateno = 3999
trigger47 = target,stateno = 4060
trigger48 = target,stateno = 4091
trigger49 = target,stateno = 4211
trigger50 = target,stateno = [4310, 4311]
trigger51 = target,stateno = [4330, 4331]
trigger52 = target,stateno = 4391
trigger53 = target,stateno = [4395, 4396]
trigger54 = target,stateno = 4510
trigger55 = target,stateno = 4512
trigger56 = target,stateno = [5000, 5001]
trigger57 = target,stateno = [5010, 5011]
trigger58 = target,stateno = 5020
trigger59 = target,stateno = 5030
trigger60 = target,stateno = 5035
trigger61 = target,stateno = 5040
trigger62 = target,stateno = 5050
trigger63 = target,stateno = [5070, 5071]
trigger64 = target,stateno = [5080, 5081]
trigger65 = target,stateno = 5101
trigger66 = target,stateno = 5110
trigger67 = target,stateno = [5120, 5150]
trigger68 = target,stateno = [5200, 5201]
trigger69 = target,stateno = 5210
trigger70 = target,stateno = 5500
trigger71 = target,stateno = 5600
trigger72 = target,stateno = 5788
trigger73 = target,stateno = [5789, 5790]
trigger74 = target,stateno = 5900
trigger75 = target,stateno = [6000, 6002]
trigger76 = target,stateno = [6010, 6012]
trigger77 = target,stateno = 6014
trigger78 = target,stateno = 6016
trigger79 = target,stateno = [6019, 6020]
trigger80 = target,stateno = [6024, 6027]
trigger81 = target,stateno = [6032, 6035]
trigger82 = target,stateno = 6100
trigger83 = target,stateno = 6301
trigger84 = target,stateno = 6306
trigger85 = target,stateno = 6540
trigger86 = target,stateno = 6789
trigger87 = target,stateno = 6900
trigger88 = target,stateno = 6920
trigger89 = target,stateno = 7000
trigger90 = target,stateno = [7040, 7047]
trigger91 = target,stateno = 7055
trigger92 = target,stateno = [7320, 7321]
trigger93 = target,stateno = [7326, 7327]
trigger94 = target,stateno = 7777
trigger95 = target,stateno = 7878
trigger96 = target,stateno = 8000
trigger97 = target,stateno = 8003
trigger98 = target,stateno = 8040
trigger99 = target,stateno = 8100
trigger100 = target,stateno = 8900
trigger101 = target,stateno = 9000
trigger102 = target,stateno = 9126
trigger103 = target,stateno = 9200
trigger104 = target,stateno = 9263
trigger105 = target,stateno = 9809
trigger106 = target,stateno = 9900
trigger107 = target,stateno = 9936
trigger108 = target,stateno = 9952
trigger109 = target,stateno = 9994
trigger110 = target,stateno = [10003, 10004]
trigger111 = target,stateno = 10012
trigger112 = target,stateno = 10015
trigger113 = target,stateno = 10101
trigger114 = target,stateno = 10504
trigger115 = target,stateno = 10651
trigger116 = target,stateno = [11001, 11004]
trigger117 = target,stateno = 11100
trigger118 = target,stateno = 11111
trigger119 = target,stateno = 11502
trigger120 = target,stateno = 11680
trigger121 = target,stateno = 11710
trigger122 = target,stateno = 11720
trigger123 = target,stateno = 11730
trigger124 = target,stateno = [12003, 12004]
trigger125 = target,stateno = 12310
trigger126 = target,stateno = 12345
trigger127 = target,stateno = 12500
trigger128 = target,stateno = 13000
trigger129 = target,stateno = 13050
trigger130 = target,stateno = 13100
trigger131 = target,stateno = 13200
trigger132 = target,stateno = 13500
trigger133 = target,stateno = [14001, 14002]
trigger134 = target,stateno = 16003
trigger135 = target,stateno = 18102
trigger136 = target,stateno = 19101
trigger137 = target,stateno = 20000
trigger138 = target,stateno = 20955
trigger139 = target,stateno = [22101, 22102]
trigger140 = target,stateno = 22122
trigger141 = target,stateno = 22222
trigger142 = target,stateno = 22224
trigger143 = target,stateno = 24601
trigger144 = target,stateno = 24610
trigger145 = target,stateno = 25544
trigger146 = target,stateno = 26320
trigger147 = target,stateno = 26485
trigger148 = target,stateno = [30000, 30004]
trigger149 = target,stateno = [30013, 30014]
trigger150 = target,stateno = [30020, 30021]
trigger151 = target,stateno = 31993
trigger152 = target,stateno = 32555
trigger153 = target,stateno = 37000
trigger154 = target,stateno = 40001
trigger155 = target,stateno = 40003
trigger156 = target,stateno = 40952
trigger157 = target,stateno = 43302
trigger158 = target,stateno = [43425, 43426]
trigger159 = target,stateno = 43655
trigger160 = target,stateno = 43705
trigger161 = target,stateno = 43708
trigger162 = target,stateno = 44488
trigger163 = target,stateno = 44900
trigger164 = target,stateno = 45755
trigger165 = target,stateno = 45999
trigger166 = target,stateno = 46060
trigger167 = target,stateno = 46965
trigger168 = target,stateno = 49933
trigger169 = target,stateno = 49943
trigger170 = target,stateno = 50000
trigger171 = target,stateno = [50505, 50506]
trigger172 = target,stateno = [51515, 51518]
trigger173 = target,stateno = 55555
trigger174 = target,stateno = 58901
trigger175 = target,stateno = 60000
trigger176 = target,stateno = 60050
trigger177 = target,stateno = 60315
trigger178 = target,stateno = 61000
trigger179 = target,stateno = 64000
trigger180 = target,stateno = 65000
trigger181 = target,stateno = 65500
trigger182 = target,stateno = 65530
trigger183 = target,stateno = 70000
trigger184 = target,stateno = 70100
trigger185 = target,stateno = 70200
trigger186 = target,stateno = 80000
trigger187 = target,stateno = 84555
trigger188 = target,stateno = 88885
trigger189 = target,stateno = 88887
trigger190 = target,stateno = 90000
trigger191 = target,stateno = [99919, 99920]
trigger192 = target,stateno = [99999, 100000]
trigger193 = target,stateno = 100002
trigger194 = target,stateno = 111222
trigger195 = target,stateno = 112235
trigger196 = target,stateno = 112240
trigger197 = target,stateno = 112250
trigger198 = target,stateno = 126100
trigger199 = target,stateno = 169990
trigger200 = target,stateno = 170000
trigger201 = target,stateno = 180002
trigger202 = target,stateno = 200000
trigger203 = target,stateno = 300000
trigger204 = target,stateno = 301050
trigger205 = target,stateno = 310120
trigger206 = target,stateno = 313900
trigger207 = target,stateno = 400000
trigger208 = target,stateno = 450000
trigger209 = target,stateno = 500000
trigger210 = target,stateno = 500033
trigger211 = target,stateno = 600000
trigger212 = target,stateno = 649999
trigger213 = target,stateno = 700000
trigger214 = target,stateno = [741003, 741004]
trigger215 = target,stateno = 800000
trigger216 = target,stateno = 900000
trigger217 = target,stateno = 910010
trigger218 = target,stateno = 1000000
trigger219 = target,stateno = 1168000
trigger220 = target,stateno = 1699922
trigger221 = target,stateno = 2000000
trigger222 = target,stateno = 3000000
trigger223 = target,stateno = 4000000
trigger224 = target,stateno = 5000000
trigger225 = target,stateno = [5000005, 5000006]
trigger226 = target,stateno = 5000010
trigger227 = target,stateno = 5000025
trigger228 = target,stateno = 5000052
trigger229 = target,stateno = 5000058
trigger230 = target,stateno = [5000070, 5000072]
trigger231 = target,stateno = 5000080
trigger232 = target,stateno = 5000085
trigger233 = target,stateno = 5000090
trigger234 = target,stateno = 5000095
trigger235 = target,stateno = 5000333
trigger236 = target,stateno = 6000000
trigger237 = target,stateno = 6400000
trigger238 = target,stateno = 7000000
trigger239 = target,stateno = 8000000
trigger240 = target,stateno = 9000000
trigger241 = target,stateno = 10000000
trigger242 = target,stateno = 20000000
trigger243 = target,stateno = [21360897, 21360898]
trigger244 = target,stateno = 22222222
trigger245 = target,stateno = 30000000
trigger246 = target,stateno = 40000000
trigger247 = target,stateno = 50000000
trigger248 = target,stateno = 60000000
trigger249 = target,stateno = 70000000
trigger250 = target,stateno = 80000000
trigger251 = target,stateno = 90000000
trigger252 = target,stateno = 100000000
trigger253 = target,stateno = 200000000
trigger254 = target,stateno = 300000000
trigger255 = target,stateno = 400000000
trigger256 = target,stateno = 500000000
trigger257 = target,stateno = 555555557
trigger258 = target,stateno = 600000000
trigger259 = target,stateno = 700000000
trigger260 = target,stateno = 800000000
trigger261 = target,stateno = 900000000
trigger262 = target,stateno = 987654321
trigger263 = target,stateno = 1000000000
trigger264 = target,stateno = 1100000000
trigger265 = target,stateno = 1200000000
trigger266 = target,stateno = 1300000000
trigger267 = target,stateno = 1400000000
trigger268 = target,stateno = 1500000000
trigger269 = target,stateno = 1600000000
trigger270 = target,stateno = 1700000000
trigger271 = target,stateno = 1800000000
trigger272 = target,stateno = 1900000000
trigger273 = target,stateno = 2000000000
trigger274 = target,stateno = 2100000000
trigger275 = target,stateno = 2147483647
trigger276 = target,stateno = [721,1004]
trigger277 = target,stateno = 288888
trigger278 = target,stateno = 58010
trigger279 = target,stateno = [220000,220005]
trigger280 = target,stateno = 123456789
var(55) = target,stateno
ignorehitpause = 1
[State 151, 邪眼キラー範囲外]
type = Varset
triggerall = numtarget
triggerall = !target,ishelper
triggerall = target,stateno != [0, 149]
triggerall = target,stateno != [151,719]
triggerall = target,stateno != [721,1004]
triggerall = target,stateno != 1007
triggerall = target,stateno != 1050
triggerall = target,stateno != 1065
triggerall = target,stateno != 1102
triggerall = target,stateno != [1111, 1112]
triggerall = target,stateno != 1116
triggerall = target,stateno != 1200
triggerall = target,stateno != 1202
triggerall = target,stateno != 1300
triggerall = target,stateno != 1302
triggerall = target,stateno != 1350
triggerall = target,stateno != 1400
triggerall = target,stateno != 1412
triggerall = target,stateno != 1450
triggerall = target,stateno != 1500
triggerall = target,stateno != 1510
triggerall = target,stateno != [1600, 1602]
triggerall = target,stateno != 1720
triggerall = target,stateno != 1801
triggerall = target,stateno != 2000
triggerall = target,stateno != 2025
triggerall = target,stateno != [2100, 2103]
triggerall = target,stateno != 2105
triggerall = target,stateno != [2200, 2206]
triggerall = target,stateno != 2269
triggerall = target,stateno != 2300
triggerall = target,stateno != 2350
triggerall = target,stateno != [2352, 2353]
triggerall = target,stateno != [2355, 2356]
triggerall = target,stateno != 2400
triggerall = target,stateno != 2500
triggerall = target,stateno != [2506, 2507]
triggerall = target,stateno != 2600
triggerall = target,stateno != 2611
triggerall = target,stateno != 2901
triggerall = target,stateno != 3002
triggerall = target,stateno != 3041
triggerall = target,stateno != 3052
triggerall = target,stateno != 3059
triggerall = target,stateno != 3185
triggerall = target,stateno != 3403
triggerall = target,stateno != [3920, 3921]
triggerall = target,stateno != 3929
triggerall = target,stateno != 3999
triggerall = target,stateno != 4060
triggerall = target,stateno != 4091
triggerall = target,stateno != 4211
triggerall = target,stateno != [4310, 4311]
triggerall = target,stateno != [4330, 4331]
triggerall = target,stateno != 4391
triggerall = target,stateno != [4395, 4396]
triggerall = target,stateno != 4510
triggerall = target,stateno != 4512
triggerall = target,stateno != [5000, 5001]
triggerall = target,stateno != [5010, 5011]
triggerall = target,stateno != 5020
triggerall = target,stateno != 5030
triggerall = target,stateno != 5035
triggerall = target,stateno != 5040
triggerall = target,stateno != 5050
triggerall = target,stateno != [5070, 5071]
triggerall = target,stateno != [5080, 5081]
triggerall = target,stateno != 5101
triggerall = target,stateno != 5110
triggerall = target,stateno != [5120, 5150]
triggerall = target,stateno != [5200, 5201]
triggerall = target,stateno != 5210
triggerall = target,stateno != 5500
triggerall = target,stateno != 5600
triggerall = target,stateno != 5788
triggerall = target,stateno != [5789, 5790]
triggerall = target,stateno != 5900
triggerall = target,stateno != [6000, 6002]
triggerall = target,stateno != [6010, 6012]
triggerall = target,stateno != 6014
triggerall = target,stateno != 6016
triggerall = target,stateno != [6019, 6020]
triggerall = target,stateno != [6024, 6027]
triggerall = target,stateno != [6032, 6035]
triggerall = target,stateno != 6100
triggerall = target,stateno != 6301
triggerall = target,stateno != 6306
triggerall = target,stateno != 6540
triggerall = target,stateno != 6789
triggerall = target,stateno != 6900
triggerall = target,stateno != 6920
triggerall = target,stateno != 7000
triggerall = target,stateno != [7040, 7047]
triggerall = target,stateno != 7055
triggerall = target,stateno != [7320, 7321]
triggerall = target,stateno != [7326, 7327]
triggerall = target,stateno != 7777
triggerall = target,stateno != 7878
triggerall = target,stateno != 8000
triggerall = target,stateno != 8003
triggerall = target,stateno != 8040
triggerall = target,stateno != 8100
triggerall = target,stateno != 8900
triggerall = target,stateno != 9000
triggerall = target,stateno != 9126
triggerall = target,stateno != 9200
triggerall = target,stateno != 9263
triggerall = target,stateno != 9809
triggerall = target,stateno != 9900
triggerall = target,stateno != 9936
triggerall = target,stateno != 9952
triggerall = target,stateno != 9994
triggerall = target,stateno != [10003, 10004]
triggerall = target,stateno != 10012
triggerall = target,stateno != 10015
triggerall = target,stateno != 10101
triggerall = target,stateno != 10504
triggerall = target,stateno != 10651
triggerall = target,stateno != [11001, 11004]
triggerall = target,stateno != 11100
triggerall = target,stateno != 11111
triggerall = target,stateno != 11502
triggerall = target,stateno != 11680
triggerall = target,stateno != 11710
triggerall = target,stateno != 11720
triggerall = target,stateno != 11730
triggerall = target,stateno != [12003, 12004]
triggerall = target,stateno != 12310
triggerall = target,stateno != 12345
triggerall = target,stateno != 12500
triggerall = target,stateno != 13000
triggerall = target,stateno != 13050
triggerall = target,stateno != 13100
triggerall = target,stateno != 13200
triggerall = target,stateno != 13500
triggerall = target,stateno != [14000, 14002]
triggerall = target,stateno != 16003
triggerall = target,stateno != 18102
triggerall = target,stateno != 19101
triggerall = target,stateno != 20000
triggerall = target,stateno != 20955
triggerall = target,stateno != [22101, 22102]
triggerall = target,stateno != 22122
triggerall = target,stateno != 22222
triggerall = target,stateno != 22224
triggerall = target,stateno != 24601
triggerall = target,stateno != 24610
triggerall = target,stateno != 25544
triggerall = target,stateno != 26320
triggerall = target,stateno != 26485
triggerall = target,stateno != [30000, 30004]
triggerall = target,stateno != [30013, 30014]
triggerall = target,stateno != [30020, 30021]
triggerall = target,stateno != 31993
triggerall = target,stateno != 32555
triggerall = target,stateno != 37000
triggerall = target,stateno != 40001
triggerall = target,stateno != 40003
triggerall = target,stateno != 40952
triggerall = target,stateno != 43302
triggerall = target,stateno != [43425, 43426]
triggerall = target,stateno != 43655
triggerall = target,stateno != 43705
triggerall = target,stateno != 43708
triggerall = target,stateno != 44488
triggerall = target,stateno != 44900
triggerall = target,stateno != 45755
triggerall = target,stateno != 45999
triggerall = target,stateno != 46060
triggerall = target,stateno != 46965
triggerall = target,stateno != 49933
triggerall = target,stateno != 49943
triggerall = target,stateno != 50000
triggerall = target,stateno != [50505, 50506]
triggerall = target,stateno != [51515, 51518]
triggerall = target,stateno != 55555
triggerall = target,stateno != 58901
triggerall = target,stateno != 60000
triggerall = target,stateno != 60050
triggerall = target,stateno != 60315
triggerall = target,stateno != 61000
triggerall = target,stateno != 64000
triggerall = target,stateno != 65000
triggerall = target,stateno != 65500
triggerall = target,stateno != 65530
triggerall = target,stateno != 70000
triggerall = target,stateno != 70100
triggerall = target,stateno != 70200
triggerall = target,stateno != 80000
triggerall = target,stateno != 84555
triggerall = target,stateno != 88885
triggerall = target,stateno != 88887
triggerall = target,stateno != 90000
triggerall = target,stateno != [99919, 99920]
triggerall = target,stateno != [99999, 100000]
triggerall = target,stateno != 100002
triggerall = target,stateno != 111222
triggerall = target,stateno != 112235
triggerall = target,stateno != 112240
triggerall = target,stateno != 112250
triggerall = target,stateno != 126100
triggerall = target,stateno != 169990
triggerall = target,stateno != 170000
triggerall = target,stateno != 180002
triggerall = target,stateno != 200000
triggerall = target,stateno != 300000
triggerall = target,stateno != 301050
triggerall = target,stateno != 310120
triggerall = target,stateno != 313900
triggerall = target,stateno != 400000
triggerall = target,stateno != 450000
triggerall = target,stateno != 500000
triggerall = target,stateno != 500033
triggerall = target,stateno != 600000
triggerall = target,stateno != 649999
triggerall = target,stateno != 700000
triggerall = target,stateno != [741003, 741004]
triggerall = target,stateno != 800000
triggerall = target,stateno != 900000
triggerall = target,stateno != 910010
triggerall = target,stateno != 1000000
triggerall = target,stateno != 1168000
triggerall = target,stateno != 1699922
triggerall = target,stateno != 2000000
triggerall = target,stateno != 3000000
triggerall = target,stateno != 4000000
triggerall = target,stateno != 5000000
triggerall = target,stateno != [5000005, 5000006]
triggerall = target,stateno != 5000010
triggerall = target,stateno != 5000025
triggerall = target,stateno != 5000052
triggerall = target,stateno != 5000058
triggerall = target,stateno != [5000070, 5000072]
triggerall = target,stateno != 5000080
triggerall = target,stateno != 5000085
triggerall = target,stateno != 5000090
triggerall = target,stateno != 5000095
triggerall = target,stateno != 5000333
triggerall = target,stateno != 6000000
triggerall = target,stateno != 6400000
triggerall = target,stateno != 7000000
triggerall = target,stateno != 8000000
triggerall = target,stateno != 9000000
triggerall = target,stateno != 10000000
triggerall = target,stateno != 20000000
triggerall = target,stateno != [21360897, 21360898]
triggerall = target,stateno != 22222222
triggerall = target,stateno != 30000000
triggerall = target,stateno != 40000000
triggerall = target,stateno != 50000000
triggerall = target,stateno != 60000000
triggerall = target,stateno != 70000000
triggerall = target,stateno != 80000000
triggerall = target,stateno != 90000000
triggerall = target,stateno != 100000000
triggerall = target,stateno != 200000000
triggerall = target,stateno != 300000000
triggerall = target,stateno != 400000000
triggerall = target,stateno != 500000000
triggerall = target,stateno != 555555557
triggerall = target,stateno != 600000000
triggerall = target,stateno != 700000000
triggerall = target,stateno != 800000000
triggerall = target,stateno != 900000000
triggerall = target,stateno != 987654321
triggerall = target,stateno != 1000000000
triggerall = target,stateno != 1100000000
triggerall = target,stateno != 1200000000
triggerall = target,stateno != 1300000000
triggerall = target,stateno != 1400000000
triggerall = target,stateno != 1500000000
triggerall = target,stateno != 1600000000
triggerall = target,stateno != 1700000000
triggerall = target,stateno != 1800000000
triggerall = target,stateno != 1900000000
triggerall = target,stateno != 2000000000
triggerall = target,stateno != 2100000000
triggerall = target,stateno != 2147483647
triggerall = target,stateno != 45000
triggerall = target,stateno != 288888
triggerall = target,stateno != 58010
triggerall = target,stateno != [220000,220005]
triggerall = target,stateno != 123456789
trigger1 = 1
var(55) = 45000
ignorehitpause = 1

[State 190000, 速度弄り]
type = null;Targetvelset
triggerall = numtarget
triggerall = !target,ishelper
triggerall = root,palno != [1, 10]
trigger1 = root,anim = 1600
trigger1 = root,var(21)=3
x = -99
y = -99
ignorehitpause = 1

[State 140, 超即死投げ]
type = Targetstate
triggerall = var(55)
trigger1 = (root,palno = [6, 12])
trigger1 = roundstate != 2
trigger2 = root,anim = 1600
trigger2 = root,var(21)=3
trigger3 = (root,palno = [11, 12])
trigger3 = root,sysvar(3)=[0,1000]
value = var(55)
ignorehitpause=1

[State 160000]
type = TargetLifeAdd
triggerall = !target,ishelper
triggerall = (root,palno = [6, 12])
trigger1 = root,anim = 1600
trigger1 = root,var(21)=3
value = -9999999999999999
kill = 1
ignorehitpause=1

[State 132, 死の宣告]
type = Targetlifeadd
triggerall = ishelper(132)
triggerall = numtarget
triggerall = !target,ishelper
triggerall = roundstate > 2 || root,numexplod(1150) || root,numexplod(1160)
trigger1 = root,palno = [7, 12]
trigger2 = root,palno = [2, 6]
trigger2 = root,var(12) = 2
value = -9999999999999
absolute = 1
ignorehitpause = 1

[State 132, 不要タゲ削除]
type = Targetdrop
triggerall = ishelper(132)
triggerall = numtarget
trigger1 = target,ishelper
ignorehitpause = 1

[State 132, ヘルパー追従]
type = Bindtoroot
triggerall = ishelper(132)
triggerall = roundstate != 4
triggerall = root,anim != 1410
triggerall = root,anim != 1600
triggerall = root,anim != 1800
triggerall = root,anim != 2000
trigger1 = !root,numexplod(1400)
pos = cos(gametime / 10) + 60, sin(gametime / 20) * 2 - 30
ignorehitpause = 1

[State 132, 射出時角度指定]
type = Angledraw
triggerall = ishelper(132)
trigger1 = root,numexplod(1400)
value = 20
ignorehitpause = 1

[State 132, カルノバーン発射]
type = Velset
triggerall = ishelper(132)
trigger1 = root,numexplod(1400)
x = 15
y = 0
ignorehitpause = 1

[State 132, 特定動作時射出]
type = Velset
triggerall = ishelper(132)
trigger1 = roundstate = 4
trigger1 = !time
trigger2 = root,anim = 1600
trigger3 = root,anim = 1800
trigger4 = root,anim = 2000
x = 10
y = 3
ignorehitpause = 1

[State 132, ヘルパー消去]
type = Destroyself
triggerall = ishelper(132)
trigger1 = root,var(9) < 1
ignorehitpause = 1

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

[Statedef 140]

[State 140, 自キャラ以外だった場合]
type = Changestate
trigger1 = name != "STG-G3"
value = ifelse((name = "STG-G3"), 5150, 45000)
ignorehitpause = 1

[State 140, ヘルパー透明化]
type = Assertspecial
trigger1 = RoundState = [0,1]
flag = invisible
flag2 = noshadow
ignorehitpause = 1

[State 140, ステート変更]
type = Changestate
trigger1 = !ishelper
value = 0
ignorehitpause = 1

[State 140, ヘルパーステートタイプ変更]
type = Statetypeset
trigger1 = ishelper(140)
statetype = S
movetype = I
physics = N
ignorehitpause = 1

[State 140, ヘルパーアニメ変更]
type = Changeanim
trigger1 = ishelper(140)
value = 140
ignorehitpause = 1

[State 140, ヘルパーコントロール不可]
type = Ctrlset
trigger1 = ishelper(140)
value = 0
ignorehitpause = 1

[State 140, ヘルパーライフ]
type = Lifeset
trigger1 = ishelper(140)
value = 9999999999999
ignorehitpause = 1

[State 140, ヘルパー影消し]
type = Assertspecial
trigger1 = ishelper(140)
flag = noshadow
ignorehitpause = 1

[State 140, ヘルパーカメラ固定]
type = Screenbound
trigger1 = ishelper(140)
value = 0
ignorehitpause = 1

[State 140, ヘルパー追従]
type = Bindtoroot
triggerall = ishelper(140)
triggerall = roundstate != 4
triggerall = root,anim != 1600
triggerall = root,anim != 1800
triggerall = root,anim != 2000
trigger1 = root,anim != 16000
pos = cos(gametime / 20) - 55, sin(gametime / 10) * 2 - 70
ignorehitpause = 1

[state 140, 押し戻し判定追加]
type = Playerpush
trigger1 = ishelper(140)
value = 1
ignorehitpause = 1

[state 140, 振り向き]
type = Turn
triggerall = ishelper(140)
trigger1 = facing != root,facing
ignorehitpause = 1

[State 140, アーマー処理]
type = Hitoverride
trigger1 = ishelper(140)
time = -1
slot = 1
attr = SCA, AA, AT, AP
stateno = 140
ignorehitpause = 1

[State 140, 一定時間無敵]
type = Nothitby
triggerall = ishelper(140)
trigger1 = gethitvar(damage)
value = SCA
time = 120
ignorehitpause = 1

[State 140, 特定動作中無敵]
type = Nothitby
triggerall = ishelper(140)
trigger1 = roundstate != 2
value = SCA
ignorehitpause = 1

[State 140, 攻撃判定ランダムダメージ]
type = Projectile
triggerall = ishelper(140)
triggerall = root,alive
triggerall = roundstate = 2
triggerall = root,sysvar(2)
triggerall = root,movetype != A
triggerall = enemynear,name != "UNKNOWN"
trigger1 = root,palno = [7, 12]
projanim = 1002
projID = 140
projremove = 0
projremovetime = 1
projsprpriority = -1
numhits = 0
attr = SCA, AA, AT, AP
hitflag = MA
damage = random / 10
priority = 7, hit
projpriority = 9999999999999
yaccel = 99
fall = 1
fall.recover = 0
fall.damage = 9999999999999
sparkno = -1
guard.sparkno = -1
p2getp1state = 0
supermovetime = 9999999999999
pausemovetime = 9999999999999
ignorehitpause = 1

[State 140, 蘇生用ｎｏｋｏ]
type = Assertspecial
triggerall = ishelper(140)
triggerall = roundstate < 3
triggerall = root,var(9)
triggerall = !root,numexplod(1150)
trigger1 = !win
flag = noko
ignorehitpause = 1

[State 140, 蘇生時ＫＯ防止]
type = Assertspecial
triggerall = ishelper(140)
triggerall = roundstate < 3
triggerall = root,var(9)
trigger1 = !root,alive
trigger2 = root,anim = [17000, 19000]
flag = timerfreeze
ignorehitpause = 1

[State 140, １１Ｐ時間遅延]
type = Assertspecial
triggerall = ishelper(140)
triggerall = roundstate = 2
triggerall = root,palno = 11
triggerall = enemynear,name != "AxAyAzSSX"
trigger1 = gametime % 3 = [0, 1]
flag = timerfreeze
ignorehitpause = 1

[State 140, 八百長対策]
type = Assertspecial
triggerall = ishelper(140)
triggerall = roundstate > 2
trigger1 = !(root,anim = 0 || (root,anim = [170, 180]) || root,stateno = 5150 || root,anim = 16000)
flag = roundnotover
ignorehitpause = 1

[State 140, 強制死の宣告用ｔｉｍｅ代わり]
type = Varadd
triggerall = ishelper(140)
trigger1 = roundstate = 3
sysvar(1) = 1
ignorehitpause = 1

[State 140, 特定動作時射出]
type = Velset
triggerall = ishelper(140)
trigger1 = roundstate = 4
trigger1 = !time
trigger2 = root,anim = 1600
trigger3 = root,anim = 1800
trigger4 = root,anim = 2000
x = - 10
y = - 3
ignorehitpause = 1

[State 140, ヘルパー消去]
type = Destroyself
triggerall = ishelper(140)
trigger1 = root,var(9) < 1
ignorehitpause = 1

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

[Statedef 150]

[State 150, 自キャラ以外だった場合]
type = Changestate
trigger1 = name != "STG-G3"
value = ifelse((name = "STG-G3"), 5150, 45000)
ignorehitpause = 1

[State 150, ステート変更]
type = Changestate
trigger1 = !ishelper
value = 0
ignorehitpause = 1

[State 150, ヘルパーアニメ変更]
type = Changeanim
trigger1 = ishelper(150)
value = root,anim
ignorehitpause = 1

[State 150, ヘルパーステートタイプ変更]
type = Statetypeset
trigger1 = ishelper(150)
statetype = A
movetype = I
physics = N
ignorehitpause = 1

[State 150, ヘルパーコントロール不可]
type = Ctrlset
trigger1 = ishelper(150)
value = 0
ignorehitpause = 1

[State 150, ヘルパーライフ]
type = Lifeset
trigger1 = ishelper(150)
value = 9999999999999
ignorehitpause = 1

[State 150, ヘルパー透明化]
type = Assertspecial
trigger1 = ishelper(150)
flag = invisible
flag2 = noshadow
ignorehitpause = 1

[State 150, ヘルパーカメラ固定]
type = Screenbound
trigger1 = ishelper(150)
value = 0
ignorehitpause = 1

[State 150, ヘルパー追従]
type = Bindtoroot
trigger1 = ishelper(150)
pos = 0, 0
ignorehitpause = 1

[state 150, 押し戻し判定追加]
type = Playerpush
trigger1 = ishelper(150)
value = 1
ignorehitpause = 1

[state 150, 振り向き]
type = Turn
triggerall = ishelper(150)
trigger1 = facing != root,facing
ignorehitpause = 1

[State 150, アーマー処理]
type = Hitoverride
trigger1 = ishelper(150)
time = -1
slot = 1
attr = SCA, AA, AT, AP
stateno = 150
ignorehitpause = 1

[state 150, ダメージ１１Ｐ以外]
type = Varadd
triggerall = ishelper(150)
triggerall = root,palno != 11
trigger1 = gethitvar(damage)
sysvar(1) = 375
ignorehitpause = 1

[state 150, ダメージ１１Ｐ]
type = Varadd
triggerall = ishelper(150)
triggerall = root,palno = 11
trigger1 = gethitvar(damage)
sysvar(1) = 1
ignorehitpause = 1

[state 150, ダメージ１１Ｐ]
type = Varset
triggerall = ishelper(150)
triggerall = root,palno = 11
triggerall = root,sysvar(2)
trigger1 = sysvar(1) <= root,lifemax / 2
sysvar(1) = root,lifemax / 2
ignorehitpause = 1

[state 150, 蘇生時回復]
type = Varset
triggerall = ishelper(150)
trigger1 = root,var(9) > 1
trigger1 = root,anim = [17000, 19000]
sysvar(1) = 0
ignorehitpause = 1

[state 150, 死亡演出時ライフ１]
type = Varset
triggerall = ishelper(150)
trigger1 = root,anim = 2000
trigger2 = root,anim = 16000
sysvar(1) = 999
ignorehitpause = 1

[State 150, 被弾音その１]
type = Playsnd
triggerall = ishelper(150)
trigger1 = gethitvar(damage)
value = 100, 0
ignorehitpause = 1

[State 150, 被弾音その２]
type = Playsnd
triggerall = ishelper(150)
trigger1 = gethitvar(damage)
value = 100, 3
ignorehitpause = 1

[State 150, 復帰後無敵時間計測]
type = Varadd
trigger1 = ishelper(150)
sysvar(2) = 1
ignorehitpause = 1

[State 150, 一定時間無敵]
type = Nothitby
triggerall = ishelper(150)
trigger1 = gethitvar(damage)
value = SCA
time = 120
ignorehitpause = 1

[State 150, ヘルパーＩＤ記憶]
type = Parentvarset
trigger1 = ishelper(150)
var(20) = id
ignorehitpause = 1

[State 150, 特定動作中無敵]
type = Nothitby
triggerall = ishelper(150)
trigger1 = roundstate != 2
trigger2 = root,anim = [16000, 19000]
trigger3 = root,anim = [1500, 2000]
trigger4 = sysvar(2) < 120
value = SCA
ignorehitpause = 1

[State 150, ヘルパー消去]
type = null;Destroyself
triggerall = ishelper(150)
trigger1 = root,var(9) < 1
trigger2 = !root,alive
ignorehitpause = 1

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

[Statedef 151]

[State 151, 自キャラ以外だった場合]
type = Changestate
trigger1 = name != "STG-G3"
value = ifelse((name = "STG-G3"), 5150, 45000)
ignorehitpause = 1

[State 151, ステート変更]
type = Changestate
trigger1 = !ishelper
value = 0
ignorehitpause = 1

[State 151, ヘルパーコントロール不可]
type = Ctrlset
trigger1 = ishelper(151)
value = 0
ignorehitpause = 1

[State 151, ヘルパーライフ]
type = Lifeset
trigger1 = ishelper(151)
value = 9999999999999
ignorehitpause = 1

[State 151, ヘルパー透明化]
type = Assertspecial
trigger1 = ishelper(151)
flag = invisible
flag2 = noshadow
ignorehitpause = 1

[State 151, ヘルパーカメラ固定]
type = Screenbound
trigger1 = ishelper(151)
value = 0
ignorehitpause = 1

[state 151, ヘルパー押し戻し判定解除]
type = Playerpush
trigger1 = ishelper(151)
value = 0
ignorehitpause = 1

[State 151, ヘルパー追従]
type = Bindtoroot
trigger1 = ishelper(151)
ignorehitpause = 1

[State 151, 無敵化]
type = Nothitby
trigger1 = ishelper(151)
value = SCA, AA, AT, AP
ignorehitpause = 1

[State 151, ヘルパーステートタイプ変更]
type = Statetypeset
triggerall = ishelper(151)
triggerall = !numtarget
trigger1 = numhelper(152)
statetype = A
movetype = A
physics = N
ignorehitpause = 1

[State 151, ヘルパーアニメ変更]
type = Changeanim
triggerall = ishelper(151)
triggerall = !numtarget
trigger1 = numhelper(152)
value = 1002
ignorehitpause = 1

[State 151, ターゲット習得時ステートタイプ変更]
type = Statetypeset
triggerall = ishelper(151)
trigger1 = numtarget = 8
statetype = A
movetype = I
physics = N
ignorehitpause = 1

[State 151, ターゲット習得時アニメ変更]
type = changeanim
triggerall = ishelper(151)
trigger1 = numtarget = 8
value= 1004
ignorehitpause = 1

[State 151, 生成用ヘルパー保険]
type = Helper
triggerall = ishelper(151)
trigger1 = numhelper(152) < 8
trigger1 = helper(151),numtarget < 8
ID = 152
name = "konsen_seisei"
postype = p1
pos = 0, 0
stateno = 152
helpertype = player
keyctrl = 0
size.xscale = 1
size.yscale = 1
supermove = 1
supermovetime = 9999999999999
pausemovetime = 9999999999999
ignorehitpause = 1

[State 151, 永続ターゲット]
type = Reversaldef
triggerall = ishelper(151)
trigger1 = numtarget
numhits = 0
reversal.attr = SCA, AA, AT, AP
priority = 9999999999999
pausetime = 0, 0
sparkno = -1
guard.sparkno = -1
ignorehitpause = 1

[State 151, 当身されないＨｉｔｄｅｆ]
type = Hitdef
triggerall = ishelper(151)
triggerall = !numtarget
trigger1 = numhelper(152)
numhits = 0
attr = ,NA
hitflag = MAFDP
priority = 7, Hit
pausetime = 0, 10
animtype = hard
sparkno = -1
guard.sparkno = -1
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
affectteam = f
ignorehitpause = 1

[State 151, 習得ステート飛ばし、アーマー貫通砲]
type = Targetstate
triggerall = ishelper(151)
triggerall = roundstate = 2
triggerall = numtarget
triggerall = target,ishelper
trigger1 = root,numexplod(1070)
value = 13000
ignorehitpause = 1

[State 151, 習得ステート飛ばし、即死返し]
type = Targetstate
triggerall = ishelper(151)
triggerall = roundstate = 2
triggerall = numtarget
triggerall = target,ishelper
trigger1 = root,numexplod(1090)
value = 14000
ignorehitpause = 1

[State 151, ヘルパー消去]
type = Destroyself
triggerall = ishelper(151)
trigger1 = root,anim != 1600
trigger1 = root,anim != 1800
trigger2 = enemynear,name = "Singularity"
ignorehitpause = 1

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

[Statedef 152]

[State 152, 自キャラ以外だった場合]
type = Changestate
trigger1 = name != "STG-G3"
value = ifelse((name = "STG-G3"), 5150, 45000)
ignorehitpause = 1

[State 152, ステート変更]
type = Changestate
trigger1 = !ishelper
value = 0
ignorehitpause = 1

[State 152, ヘルパーアニメ変更]
type = Changeanim
trigger1 = ishelper(152)
value = 1003
ignorehitpause = 1

[State 152, ヘルパーコントロール不可]
type = Ctrlset
trigger1 = ishelper(152)
value = 0
ignorehitpause = 1

[State 152, ヘルパーライフ]
type = Lifeset
trigger1 = ishelper(152)
value = 9999999999999
ignorehitpause = 1

[State 152, ヘルパー透明化]
type = Assertspecial
trigger1 = ishelper(152)
flag = invisible
flag2 = noshadow
ignorehitpause = 1

[State 152, ヘルパーカメラ固定]
type = Screenbound
trigger1 = ishelper(152)
value = 0
ignorehitpause = 1

[state 152, ヘルパー押し戻し判定解除]
type = Playerpush
trigger1 = ishelper(152)
value = 0
ignorehitpause = 1

[State 152, ヘルパー追従]
type = Bindtoroot
trigger1 = ishelper(152)
ignorehitpause = 1

[State 152, ターゲット生成]
type = Nothitby
triggerall = ishelper(152)
trigger1 = numhelper(152) < 8
value= SCA
ignorehitpause = 1

[State 152, ターゲット増加]
type = Hitby
triggerall = ishelper(152)
trigger1 = numhelper(152) = 8
value= SCA, NA
ignorehitpause = 1

[State 152, 空ターゲット作成]
type = Destroyself
triggerall = ishelper(152)
trigger1 = numhelper(151)
trigger1 = helper(151),numtarget = 8
trigger2 = !numhelper(151)
ignorehitpause = 1

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

[Statedef 153]

[State 153, 自キャラ以外だった場合]
type = Changestate
trigger1 = name != "STG-G3"
value = ifelse((name = "STG-G3"), 5150, 45000)
ignorehitpause = 1

[State 153, ステート変更]
type = Changestate
trigger1 = !ishelper
value = 0
ignorehitpause = 1

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

[Statedef 154]

[State 154, 自キャラ以外だった場合]
type = Changestate
trigger1 = name != "STG-G3"
value = ifelse((name = "STG-G3"), 5150, 45000)
ignorehitpause = 1

[State 154, ステート変更]
type = Changestate
trigger1 = !ishelper
value = 0
ignorehitpause = 1

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

[Statedef 155]

[State 155, 自キャラ以外だった場合]
type = Changestate
trigger1 = name != "STG-G3"
value = ifelse((name = "STG-G3"), 5150, 45000)
ignorehitpause = 1

[State 155, ステート変更]
type = Changestate
trigger1 = !ishelper
value = 0
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 = 1004
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
triggerall = ishelper(155)
trigger1 = !root,numexplod(1150)
trigger1 = !root,numexplod(1160)
time = 0
movetime = 0
ignorehitpause = 1

[state 155, 時止め解除]
type = Superpause
triggerall = ishelper(155)
trigger1 = !root,numexplod(1150)
trigger1 = !root,numexplod(1160)
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)
triggerall = roundstate = 2
trigger1 = root,numexplod(1150)
trigger2 = root,numexplod(1160)
time = 9999999999999
movetime = 9999999999999
ignorehitpause = 1

[state 155, ７〜１２Ｐ強制死の宣告用時止め]
type = Superpause
triggerall = ishelper(155)
triggerall = roundstate = 2
trigger1 = root,numexplod(1150)
trigger2 = root,numexplod(1160)
anim = -1
time = 9999999999999
movetime = 9999999999999
darken = 0
p2defmul = 1
unhittable = 0
ignorehitpause = 1

[state 155, 強制死の宣告用時止め解除]
type = Pause
triggerall = ishelper(155)
triggerall = numhelper(140)
trigger1 = helper(140),sysvar(1) > 60
time = 0
movetime = 0
ignorehitpause = 1

[state 155, 強制死の宣告用時止め解除]
type = Superpause
triggerall = ishelper(155)
triggerall = numhelper(140)
trigger1 = helper(140),sysvar(1) > 60
anim = -1
time = 0
movetime = 0
darken = 0
p2defmul = 1
unhittable = 0
ignorehitpause = 1

[State 155, ７Ｐ以降背景反転]
type = Bgpalfx
triggerall = ishelper(155)
triggerall = root,palno = [7, 12]
triggerall = roundstate = 3
trigger1 = !enemy,alive && !enemy(numenemy = 2),alive
time = 1
invertall = 1
color = 255
ignorehitpause = 1

[state 155, ヘルパー消去]
type = Destroyself
triggerall = ishelper(155)
trigger1 = numhelper(155) > 1
ignorehitpause = 1

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

[Statedef 170]

[State 170, 自キャラ以外だった場合]
type = Changestate
trigger1 = name != "STG-G3"
value = ifelse((name = "STG-G3"), 5150, 45000)
ignorehitpause = 1

[State 170, ステートタイプ変更]
type = Statetypeset
trigger1 = !ishelper
statetype = S
ignorehitpause = 1

[State 170, アニメ変更]
type = Changeanim
triggerall = !ishelper
trigger1 = anim != 170
value = 170
ignorehitpause = 1

[State 170, コントロール不可]
type = Ctrlset
trigger1 = !ishelper
value = 0
ignorehitpause = 1

[State 170, エフェクト消去]
type = Removeexplod
trigger1 = !ishelper
ID = 400
ignorehitpause = 1

[State 170, エフェクト消去]
type = Removeexplod
trigger1 = !ishelper
ID = 500
ignorehitpause = 1

[State 170, 敗北演出]
type = Angledraw
trigger1 = !ishelper
value = animelemtime(1) * 5
ignorehitpause = 1

[State 170, 敗北演出]
type = Velset
trigger1 = !ishelper
x = -5
y = -3
ignorehitpause = 1

[State 170, 演出延長]
type = Assertspecial
trigger1 = animelemtime(1) < 300
flag = roundnotover
ignorehitpause = 1

[State 170, 準ステート固定]
type = Changestate
trigger1 = !ishelper
value = 120
ignorehitpause = 1

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

[Statedef 175]

[State 175, 自キャラ以外だった場合]
type = Changestate
trigger1 = name != "STG-G3"
value = ifelse((name = "STG-G3"), 5150, 45000)
ignorehitpause = 1

[State 175, ステート変更]
type = Changestate
trigger1 = !ishelper
value = 170
ignorehitpause = 1

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

[Statedef 180]
velset = 0, 0

[State 180, 自キャラ以外だった場合]
type = Changestate
trigger1 = name != "STG-G3"
value = ifelse((name = "STG-G3"), 5150, 45000)
ignorehitpause = 1

[State 180, ステートタイプ変更]
type = Statetypeset
trigger1 = !ishelper
statetype = S
ignorehitpause = 1

[State 180, アニメ変更]
type = Changeanim
triggerall = !ishelper
trigger1 = anim != 180
value = 180
ignorehitpause = 1

[State 180, コントロール不可]
type = Ctrlset
trigger1 = !ishelper
value = 0
ignorehitpause = 1

[State 180, ボイス]
type = Playsnd
triggerall = !ishelper
trigger1 = !animelemtime(1)
value = 180, 0
channel = 0
ignorehitpause = 1

[State 180, エフェクト消去]
type = Removeexplod
trigger1 = !ishelper
ID = 400
ignorehitpause = 1

[State 180, エフェクト消去]
type = Removeexplod
trigger1 = !ishelper
ID = 500
ignorehitpause = 1

[State 180, 勝利演出]
type = Angledraw
trigger1 = !ishelper
value = animelemtime(1)
ignorehitpause = 1

[State 180, 飛翔]
type = Velset
triggerall = !ishelper
trigger1 = animelemtime(1) > 20
x = 10
y = -5
ignorehitpause = 1

[State 180, 衝撃波]
type = Explod
triggerall = !ishelper
trigger1 = animelemtime(1) = 25
anim = 1030
id = 181
pos = -40, 30
sprpriority = 7
supermovetime = 9999999999999
pausemovetime = 9999999999999
ignorehitpause = 1

[State 180, 演出延長]
type = Assertspecial
trigger1 = animelemtime(1) < 300
flag = roundnotover
ignorehitpause = 1

[State 180, 準ステート固定]
type = Changestate
trigger1 = !ishelper
value = 120
ignorehitpause = 1

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

[Statedef 181]

[State 181, 自キャラ以外だった場合]
type = Changestate
trigger1 = name != "STG-G3"
value = ifelse((name = "STG-G3"), 5150, 45000)
ignorehitpause = 1

[State 181, ステート変更]
type = Changestate
trigger1 = !ishelper
value = 0
ignorehitpause = 1

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

[Statedef 190]

[State 190, 自キャラ以外だった場合]
type = Changestate
trigger1 = name != "STG-G3"
value = ifelse((name = "STG-G3"), 5150, 45000)
ignorehitpause = 1

[State 190, ステート変更]
type = Changestate
trigger1 = !ishelper
value = 0
ignorehitpause = 1

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

[Statedef 191]

[State 191, 自キャラ以外だった場合]
type = Changestate
trigger1 = name != "STG-G3"
value = ifelse((name = "STG-G3"), 5150, 45000)
ignorehitpause = 1

[State 191, ステート変更]
type = Changestate
trigger1 = !ishelper
value = 0
ignorehitpause = 1

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

[Statedef 5000]

[State 5000, 自キャラ以外だった場合ｏｒ死亡時]
type = Changestate
trigger1 = name != "STG-G3"
trigger2 = !alive
value = ifelse((name = "STG-G3"), 5150, 45000)
ignorehitpause = 1

[State 5000, ステート変更]
type = Changestate
trigger1 = !ishelper
value = 0
ignorehitpause = 1

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

[Statedef 5001]

[State 5001, 自キャラ以外だった場合ｏｒ死亡時]
type = Changestate
trigger1 = name != "STG-G3"
trigger2 = !alive
value = ifelse((name = "STG-G3"), 5150, 45000)
ignorehitpause = 1

[State 5001, ステート変更]
type = Changestate
trigger1 = !ishelper
value = 0
ignorehitpause = 1

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

[Statedef 5010]

[State 5010, 自キャラ以外だった場合ｏｒ死亡時]
type = Changestate
trigger1 = name != "STG-G3"
trigger2 = !alive
value = ifelse((name = "STG-G3"), 5150, 45000)
ignorehitpause = 1

[State 5010, ステート変更]
type = Changestate
trigger1 = !ishelper
value = 0
ignorehitpause = 1

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

[Statedef 5011]

[State 5011, 自キャラ以外だった場合ｏｒ死亡時]
type = Changestate
trigger1 = name != "STG-G3"
trigger2 = !alive
value = ifelse((name = "STG-G3"), 5150, 45000)
ignorehitpause = 1

[State 5011, ステート変更]
type = Changestate
trigger1 = !ishelper
value = 0
ignorehitpause = 1

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

[Statedef 5020]

[State 5020, 自キャラ以外だった場合ｏｒ死亡時]
type = Changestate
trigger1 = name != "STG-G3"
trigger2 = !alive
value = ifelse((name = "STG-G3"), 5150, 45000)
ignorehitpause = 1

[State 5020, ステート変更]
type = Changestate
trigger1 = !ishelper
value = 0
ignorehitpause = 1

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

[Statedef 5030]

[State 5030, 自キャラ以外だった場合ｏｒ死亡時]
type = Changestate
trigger1 = name != "STG-G3"
trigger2 = !alive
value = ifelse((name = "STG-G3"), 5150, 45000)
ignorehitpause = 1

[State 5030, ステート変更]
type = Changestate
trigger1 = !ishelper
value = 0
ignorehitpause = 1

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

[Statedef 5035]

[State 5035, 自キャラ以外だった場合ｏｒ死亡時]
type = Changestate
trigger1 = name != "STG-G3"
trigger2 = !alive
value = ifelse((name = "STG-G3"), 5150, 45000)
ignorehitpause = 1

[State 5035, ステート変更]
type = Changestate
trigger1 = !ishelper
value = 0
ignorehitpause = 1

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

[Statedef 5040]

[State 5040, 自キャラ以外だった場合ｏｒ死亡時]
type = Changestate
trigger1 = name != "STG-G3"
trigger2 = !alive
value = ifelse((name = "STG-G3"), 5150, 45000)
ignorehitpause = 1

[State 5040, ステート変更]
type = Changestate
trigger1 = !ishelper
value = 0
ignorehitpause = 1

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

[Statedef 5050]

[State 5050, 自キャラ以外だった場合ｏｒ死亡時]
type = Changestate
trigger1 = name != "STG-G3"
trigger2 = !alive
value = ifelse((name = "STG-G3"), 5150, 45000)
ignorehitpause = 1

[State 5050, ステート変更]
type = Changestate
trigger1 = !ishelper
value = 0
ignorehitpause = 1

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

[Statedef 5070]

[State 5070, 自キャラ以外だった場合ｏｒ死亡時]
type = Changestate
trigger1 = name != "STG-G3"
trigger2 = !alive
value = ifelse((name = "STG-G3"), 5150, 45000)
ignorehitpause = 1

[State 5070, ステート変更]
type = Changestate
trigger1 = !ishelper
value = 0
ignorehitpause = 1

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

[Statedef 5071]

[State 5071, 自キャラ以外だった場合ｏｒ死亡時]
type = Changestate
trigger1 = name != "STG-G3"
trigger2 = !alive
value = ifelse((name = "STG-G3"), 5150, 45000)
ignorehitpause = 1

[State 5071, ステート変更]
type = Changestate
trigger1 = !ishelper
value = 0
ignorehitpause = 1

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

[Statedef 5080]

[State 5080, 自キャラ以外だった場合ｏｒ死亡時]
type = Changestate
trigger1 = name != "STG-G3"
trigger2 = !alive
value = ifelse((name = "STG-G3"), 5150, 45000)
ignorehitpause = 1

[State 5080, ステート変更]
type = Changestate
trigger1 = !ishelper
value = 0
ignorehitpause = 1

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

[Statedef 5081]

[State 5081, 自キャラ以外だった場合ｏｒ死亡時]
type = Changestate
trigger1 = name != "STG-G3"
trigger2 = !alive
value = ifelse((name = "STG-G3"), 5150, 45000)
ignorehitpause = 1

[State 5081, ステート変更]
type = Changestate
trigger1 = !ishelper
value = 0
ignorehitpause = 1

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

[Statedef 5100]

[State 5100, 自キャラ以外だった場合ｏｒ死亡時]
type = Changestate
trigger1 = name != "STG-G3"
trigger2 = !alive
value = ifelse((name = "STG-G3"), 5150, 45000)
ignorehitpause = 1

[State 5100, ステート変更]
type = Changestate
trigger1 = !ishelper
value = 0
ignorehitpause = 1

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

[Statedef 5101]

[State 5101, 自キャラ以外だった場合ｏｒ死亡時]
type = Changestate
trigger1 = name != "STG-G3"
trigger2 = !alive
value = ifelse((name = "STG-G3"), 5150, 45000)
ignorehitpause = 1

[State 5101, ステート変更]
type = Changestate
trigger1 = !ishelper
value = 0
ignorehitpause = 1

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

[Statedef 5110]

[State 5110, 自キャラ以外だった場合ｏｒ死亡時]
type = Changestate
trigger1 = name != "STG-G3"
trigger2 = !alive
value = ifelse((name = "STG-G3"), 5150, 45000)
ignorehitpause = 1

[State 5110, ステート変更]
type = Changestate
trigger1 = !ishelper
value = 0
ignorehitpause = 1

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

[Statedef 5120]

[State 5120, 自キャラ以外だった場合ｏｒ死亡時]
type = Changestate
trigger1 = name != "STG-G3"
trigger2 = !alive
value = ifelse((name = "STG-G3"), 5150, 45000)
ignorehitpause = 1

[State 5120, ステート変更]
type = Changestate
trigger1 = !ishelper
value = 0
ignorehitpause = 1

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

[Statedef 5150]

[State 5150, ステートタイプ変更]
type = Statetypeset
trigger1 = !ishelper
statetype = L
movetype = H
physics = N
ignorehitpause = 1

[State 5150, アニメ変更]
type = Changeanim
triggerall = !ishelper
triggerall = name = "STG-G3"
trigger1 = anim != 5150
value = ifelse((name = "STG-G3"), 5150, 45000)
ignorehitpause = 1

[State 5150, スプライト表示優先度]
type = Sprpriority
trigger1 = !ishelper
value = 4
ignorehitpause = 1

[State 5150, 爆発エフェクト]
type = Explod
triggerall = !ishelper
triggerall = name = "STG-G3"
trigger1 = numexplod(17000) < 10
trigger1 = animelemtime(1) = [0, 60]
anim = 1010
id = 17000
pos = 0, -50
random = 80, 80
scale = 0.3, 0.3
sprpriority = 7
supermovetime = 9999999999999
pausemovetime = 9999999999999
ignorehitpause = 1

[State 5150, ヘルパーカメラ固定]
type = Screenbound
trigger1 = ishelper
value = 0
ignorehitpause = 1

[State 5150, 死亡]
type = Lifeset
triggerall = !ishelper
trigger1 = name != "STG-G3"
value = 0
ignorehitpause = 1

[State 5150, 透明化]
type = Assertspecial
triggerall = !ishelper
triggerall = name != "STG-G3"
trigger1 = !alive
flag = invisible
flag2 = noshadow
ignorehitpause = 1

[State 5150, 固定化]
type = Posset
triggerall = !ishelper
triggerall = name != "STG-G3"
trigger1 = !alive
y = 0
ignorehitpause = 1

[State 5150, 死なない場合]
type = Selfstate
triggerall = !ishelper
triggerall = name != "STG-G3"
triggerall = alive
trigger1 = time > 60
trigger2 = animelemtime(1) > 60
value = 52
ignorehitpause = 1

[State 5150, ヘルパー消去]
type = Destroyself
triggerall = name != "STG-G3"
trigger1 = ishelper
ignorehitpause = 1

[state 5150, エフェクト消去]
type = Removeexplod
trigger1 = name != "STG-G3"
ignorehitpause = 1

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

[Statedef 5200]

[State 5200, 自キャラ以外だった場合ｏｒ死亡時]
type = Changestate
trigger1 = name != "STG-G3"
trigger2 = !alive
value = ifelse((name = "STG-G3"), 5150, 45000)
ignorehitpause = 1

[State 5200, ステート変更]
type = Changestate
trigger1 = !ishelper
value = 0
ignorehitpause = 1

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

[Statedef 5201]

[State 5201, 自キャラ以外だった場合ｏｒ死亡時]
type = Changestate
trigger1 = name != "STG-G3"
trigger2 = !alive
value = ifelse((name = "STG-G3"), 5150, 45000)
ignorehitpause = 1

[State 5201, ステート変更]
type = Changestate
trigger1 = !ishelper
value = 0
ignorehitpause = 1

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

[Statedef 5210]

[State 5210, 自キャラ以外だった場合ｏｒ死亡時]
type = Changestate
trigger1 = name != "STG-G3"
trigger2 = !alive
value = ifelse((name = "STG-G3"), 5150, 45000)
ignorehitpause = 1

[State 5210, ステート変更]
type = Changestate
trigger1 = !ishelper
value = 0
ignorehitpause = 1

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

[Statedef 5500]

[State 5500, 自キャラ以外だった場合]
type = Changestate
trigger1 = name != "STG-G3"
value = ifelse((name = "STG-G3"), 5150, 45000)
ignorehitpause = 1

[State 5500, ステート変更]
type = Changestate
trigger1 = !ishelper
value = 170
ignorehitpause = 1

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

[Statedef 5900]

[State 5900, 自キャラ以外だった場合]
type = Changestate
trigger1 = name != "STG-G3"
value = ifelse((name = "STG-G3"), 5150, 45000)
ignorehitpause = 1

[State 5900, ステート変更]
type = Changestate
trigger1 = !ishelper
value = 0
ignorehitpause = 1
