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

;混線・OTHキラー被弾・雑用ヘルパー
[StateDef 100022]
type = U
movetype = U
physics = N
movehitpersist = 1
hitdefpersist = 1

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

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

[State ]
type = Changeanim
trigger1 = 1
value = 60010

[State dist]
Trigger1 = 1
type = DisplayToClipboard
ignorehitpause = 1
text = "ID = %d"
params = ID
ignorehitpause = 1

[State -2]
type = Screenbound
trigger1 = 1
value = 0
ignorehitpause = 1
[State -2]
type = Playerpush
trigger1 = 1
value = 0
ignorehitpause = 1

[State -2]
type = Posset
trigger1 = 1;root,var(56)
x = P2BodyDist X
y = P2BodyDist Y
ignorehitpause = 1

[State 190000]
type = Lifeset
trigger1 = ishelper
value = 0
ignorehitpause = 1

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


[State ]
type = Changeanim
trigger1 = ishelper(100022)
value = 60010
ignorehitpause = 1

[State ]
type = null;Destroyself
trigger1 = numhelper(100022) = 2
ignorehitpause = 1
[State 準ステ固定]
type = Changestate
trigger1 = ishelper
value = 16500
ignorehitpause = 1

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

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

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

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

[State 190000]
type = Lifeset
trigger1 = ishelper(2233)
value = 0
ignorehitpause = 1

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

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

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

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

[State 2233, みらくる式アニメ習得用当身判断]
type = Reversaldef
triggerall = ishelper(2233)
trigger1 = 1
numhits = 0
reversal.attr = C, HP
sparkno = -1
guard.sparkno = -1
pausetime = 1, 2
ignorehitpause = 1

[State 150, パンドラキラー改用変数調査]
type = Varset
triggerall = ishelper(2233)
trigger1 = enemynear,var(gametime % 60) = enemynear,stateno
trigger1 = enemynear,stateno != 0
trigger1 = var(1) := 1
var(0) = (gametime % 60)
ignorehitpause = 1

[State 150, ステ抜け変数初期化]
type = Null
triggerall = ishelper(2233)
trigger1 = !var(56)
trigger1 = var(23) := - 1 || var(27) := - 1 || var(31) := - 1 || var(35) := - 1 || var(39) := - 1
trigger1 = var(43) := - 1 || var(47) := - 1 || var(51) := - 1 || var(55) := - 1 || var(59) := - 1
trigger1 = var(56) := 1
ignorehitpause = 1

[State 150, ステ抜け変数調査]
type = Null
triggerall = ishelper(2233)
trigger1 = 1 || var(58) := var(58) * (var(58) < 10) || var(57) := ifelse(!var(58), gametime, var(57)) 
trigger1 = 1 || var(59) := ifelse(var(59) < 59 || var(59) = 59 && var(58) > 0, var(59), - 1) + !var(58)
trigger1 = 1 || var(10 + var(58)) := enemy,var(var(59))
trigger1 = var(58) := var(58) + 1
ignorehitpause = 1

[State 150, ステ抜け変数判定]
type = Null
triggerall = ishelper(2233)
triggerall = var(58) = 10
triggerall = var(10) != var(11) && var(10) != var(12) && var(10) != var(13) && var(10) != var(14) && var(10) != var(15)
triggerall = var(10) != var(16) && var(10) != var(17) && var(10) != var(18) && var(10) != var(19) && var(11) != var(12)
triggerall = var(11) != var(13) && var(11) != var(14) && var(11) != var(15) && var(11) != var(16) && var(11) != var(17)
triggerall = var(11) != var(18) && var(11) != var(19) && var(12) != var(13) && var(12) != var(14) && var(12) != var(15)
triggerall = var(12) != var(16) && var(12) != var(17) && var(12) != var(18) && var(12) != var(19) && var(13) != var(14)
triggerall = var(13) != var(15) && var(13) != var(16) && var(13) != var(17) && var(13) != var(18) && var(13) != var(19)
triggerall = var(14) != var(15) && var(14) != var(16) && var(14) != var(17) && var(14) != var(18) && var(14) != var(19)
triggerall = var(15) != var(16) && var(15) != var(17) && var(15) != var(18) && var(15) != var(19) && var(16) != var(17)
triggerall = var(16) != var(18) && var(16) != var(19) && var(17) != var(18) && var(17) != var(19) && var(18) != var(19)
trigger1 = var(23) = - 1
trigger1 = 1 || var(20) := (var(12)-var(10)-(var(11) - var(10)) * 2) / 2
trigger1 = 1 || var(21) := var(11) - var(20) * (var(57) + 1) * (var(57) + 1) - (var(10) - var(20) * var(57) * var(57))
trigger1 = 1 || var(22) := var(10) - var(20) * var(57) * var(57) - var(21) * var(57)
trigger1 = 1 || var(23) := var(59)
trigger2 = var(27) = - 1
trigger2 = 1 || var(24) := (var(12) - var(10) - (var(11) - var(10)) * 2) / 2
trigger2 = 1 || var(25) := var(11) - var(24) * (var(57) + 1) * (var(57) + 1) - (var(10) - var(24) * var(57) * var(57))
trigger2 = 1 || var(26) := var(10) - var(24) * var(57) * var(57) - var(25) * var(57)
trigger2 = 1 || var(27) := var(59)
trigger3 = var(31) = - 1
trigger3 = 1 || var(28) := (var(12) - var(10) - (var(11) - var(10)) * 2) / 2
trigger3 = 1 || var(29) := var(11) - var(28) * (var(57) + 1) * (var(57) + 1) - (var(10) - var(28) * var(57) * var(57))
trigger3 = 1 || var(30) := var(10) - var(28) * var(57) * var(57) - var(29) * var(57)
trigger3 = 1 || var(31) := var(59)
trigger4 = var(35) = - 1
trigger4 = 1 || var(32) := (var(12) - var(10) - (var(11) - var(10)) * 2) / 2
trigger4 = 1 || var(33) := var(11) - var(32) * (var(57) + 1) * (var(57) + 1) - (var(10) - var(32) * var(57) * var(57))
trigger4 = 1 || var(34) := var(10) - var(32) * var(57) * var(57) - var(33) * var(57)
trigger4 = 1 || var(35) := var(59)
trigger5 = var(39) = - 1
trigger5 = 1 || var(36) := (var(12) - var(10) - (var(11) - var(10)) * 2) / 2
trigger5 = 1 || var(37) := var(11) - var(36) * (var(57) + 1) * (var(57) + 1) - (var(10) - var(36) * var(57) * var(57))
trigger5 = 1 || var(38) := var(10) - var(36) * var(57) * var(57) - var(37) * var(57)
trigger5 = 1 || var(39) := var(59)
trigger6 = var(43) = - 1
trigger6 = 1 || var(40) := (var(12) - var(10) - (var(11) - var(10)) * 2) / 2
trigger6 = 1 || var(41) := var(11) - var(40) * (var(57) + 1) * (var(57) + 1) - (var(10) - var(40) * var(57) * var(57))
trigger6 = 1 || var(42) := var(10) - var(40) * var(57) * var(57) - var(41) * var(57)
trigger6 = 1 || var(43) := var(59)
trigger7 = var(47) = - 1
trigger7 = 1 || var(44) := (var(12) - var(10) - (var(11) - var(10)) * 2) / 2
trigger7 = 1 || var(45) := var(11) - var(44) * (var(57) + 1) * (var(57) + 1) - (var(10) - var(44) * var(57) * var(57))
trigger7 = 1 || var(46) := var(10) - var(44) * var(57) * var(57) - var(45) * var(57)
trigger7 = 1 || var(47) := var(59)
trigger8 = var(51) = - 1
trigger8 = 1 || var(48) := (var(12) - var(10) - (var(11) - var(10)) * 2) / 2
trigger8 = 1 || var(49) := var(11) - var(48) * (var(57) + 1) * (var(57) + 1) - (var(10) - var(48) * var(57) * var(57))
trigger8 = 1 || var(50) := var(10) - var(48) * var(57) * var(57) - var(49) * var(57)
trigger8 = 1 || var(51) := var(59)
trigger9 = var(55) = - 1
trigger9 = 1 || var(52) := (var(12) - var(10) - (var(11) - var(10)) * 2) / 2
trigger9 = 1 || var(53) := var(11) - var(52) * (var(57) + 1) * (var(57) + 1) - (var(10) - var(52) * var(57) * var(57))
trigger9 = 1 || var(54) := var(10) - var(52) * var(57) * var(57) - var(53) * var(57)
trigger9 = 1 || var(55) := var(59)
ignorehitpause = 1

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

[State 150, デバッグ表示]
type = Displaytoclipboard
trigger1 = ishelper(2233)
text = "enemy,var(%d), f:%d, gametime:%d, pandora:%d"
params = var(59), var(58), var(57), var(0)
ignorehitpause = 1

[State 150, デバッグ表示２行目]
type = Appendtoclipboard
triggerall = ishelper(2233)
trigger1 = gametime % 540 = [0, 60)
text = "\nenemy,var(%d), a=%d, b=%d, c=%d, enemy,alive:%d"
params = var(23), var(20), var(21), var(22), enemy,alive
ignorehitpause = 1

[State 150, デバッグ表示２行目]
type = Appendtoclipboard
triggerall = ishelper(2233)
trigger1 = gametime % 540 = [60, 120)
text = "\nenemy,var(%d), a=%d, b=%d, c=%d, enemy,alive:%d"
params = var(27), var(24), var(25), var(26), enemy,alive
ignorehitpause = 1

[State 150, デバッグ表示２行目]
type = Appendtoclipboard
triggerall = ishelper(2233)
trigger1 = gametime % 540 = [120, 180)
text = "\nenemy,var(%d), a=%d, b=%d, c=%d, enemy,alive:%d"
params = var(31), var(28), var(29), var(30), enemy,alive
ignorehitpause = 1

[State 150, デバッグ表示２行目]
type = Appendtoclipboard
triggerall = ishelper(2233)
trigger1 = gametime % 540 = [180, 240)
text = "\nenemy,var(%d), a=%d, b=%d, c=%d, enemy,alive:%d"
params = var(35), var(32), var(33), var(34), enemy,alive
ignorehitpause = 1

[State 150, デバッグ表示２行目]
type = Appendtoclipboard
triggerall = ishelper(2233)
trigger1 = gametime % 540 = [240, 300)
text = "\nenemy,var(%d), a=%d, b=%d, c=%d, enemy,alive:%d"
params = var(39), var(36), var(37), var(38), enemy,alive
ignorehitpause = 1

[State 150, デバッグ表示２行目]
type = Appendtoclipboard
triggerall = ishelper(2233)
trigger1 = gametime % 540 = [300, 360)
text  ="\nenemy,var(%d), a=%d, b=%d, c=%d, enemy,alive:%d"
params = var(43), var(40), var(41), var(42), enemy,alive
ignorehitpause=1

[State 150, デバッグ表示２行目]
type = Appendtoclipboard
trigger1 = gametime % 540 = [360, 420)
text = "\nenemy,var(%d), a=%d, b=%d, c=%d, enemy,alive:%d"
params = var(47), var(44), var(45), var(46), enemy,alive
ignorehitpause = 1

[State 150, デバッグ表示２行目]
type = Appendtoclipboard
triggerall = ishelper(2233)
trigger1 = gametime % 540 = [420, 480)
text = "\nenemy,var(%d), a=%d, b=%d, c=%d, enemy,alive:%d"
params = var(51), var(48), var(49), var(50), enemy,alive
ignorehitpause = 1

[State 150, デバッグ表示２行目]
type = Appendtoclipboard
triggerall = ishelper(2233)
trigger1 = gametime % 540 = [480, 540)
text = "\nenemy,var(%d), a=%d, b=%d, c=%d, enemy,alive:%d"
params = var(55), var(52), var(53), var(54), enemy,alive
ignorehitpause = 1

;---------------------------------------------------------------------------
[Statedef 2333];時止め解除ヘルパー
type =A
movetype= I
physics=N

[State -2]
type = Changestate
trigger1 = !ishelper
trigger2 = name != "STG-G3"
value = 45000
ignorehitpause = 1

[State -2]
type = Screenbound
trigger1 = 1
value = 0
ignorehitpause = 1
[State -2]
type = Playerpush
trigger1 = 1
value = 0
ignorehitpause = 1
[State -2]
type = Bindtoroot
trigger1 = 1
pos = 0, 0

[State -2]
type = nothitby
trigger1 = ishelper(2333)
trigger1 = 1
value = SCA

[State -2]
type = Changeanim
trigger1 = ishelper(2333)
trigger1 = anim != 60020 
value = 60020
ignorehitpause = 1

[State -2]
type = Ctrlset
trigger1 = ishelper(2333)
value = 0
ignorehitpause = 1

[State 190000]
type = Lifeset
trigger1 = ishelper(2333)
value = 0
ignorehitpause = 1

[State -2]
type = Assertspecial
trigger1 = ishelper(2333)
flag = invisible
flag2 = noshadow
ignorehitpause = 1

[State -2]
type = Screenbound
trigger1 = ishelper(2333)
value = 0
ignorehitpause = 1

[State -2]
type = Bindtoroot
trigger1 = ishelper(2333)
pos = 0, 0
ignorehitpause = 1

[State -3, 特殊効果]
type = AssertSpecial
triggerall = root,PalNo = 12
trigger1 = gametime % 15 = [0,12]
flag = TimerFreeze

[State -3, 特殊効果]
type = AssertSpecial
triggerall = root,PalNo = 11
trigger1 = gametime % 10 = [0,5]
flag = TimerFreeze


[state ];時止め解除
type=pause
trigger1 = ishelper(2333)
time=0
movetime = 0
ignorehitpause = 1

[state ];時止め解除　
type = superpause
trigger1 = ishelper(2333)
anim = -1
time = 0
movetime = 0
darken = 0
p2defmul = 1
unhittable = 0
ignorehitpause = 1

[State BGM消去]
type = AssertSpecial
triggerall = !ishelper
triggerall = root,palno = 12
trigger1 = root,sysfvar(3) = 0
flag = nomusic
ignorehitpause = 1
supermovetime = 99999999999
pausemovetime = 99999999999

[State -2]
type = Pause
;triggerall = root,anim != [731,733]
triggerall = root,PalNo = [7,12]
triggerall = ishelper(2333)
triggerall = roundstate = 2
triggerall = gametime % 8 != [2, 7]
triggerall = enemynear,movetype = A
trigger1 = enemynear(numenemy > 1),movetype = A
time = 2
movetime = 2
ignorehitpause = 1

[State -2]
type = Superpause
;triggerall = root,anim != [731,733]
triggerall = root,PalNo = [7,12]
triggerall = ishelper(2333)
triggerall = roundstate = 2
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 -2]
type = Pause
triggerall = root,PalNo = [7,12]
triggerall = ishelper(2333)
trigger1 = !enemy,alive
trigger1 = !enemy(numenemy = 2),alive
trigger2 = roundstate > 2
time = 9999999999999
movetime = 9999999999999
ignorehitpause = 1
[State -2]
type = Superpause
triggerall = root,PalNo = [7,12]
triggerall = ishelper(2333)
trigger1 = !enemy,alive
trigger1 = !enemy(numenemy = 2),alive
trigger2 = roundstate > 2
anim = -1
time = 9999999999999
movetime = 9999999999999
darken = 0
p2defmul = 1
ignorehitpause = 1
[State 1000044]
type = BGPalFX
triggerall = root,PalNo = [7,12]
triggerall = ishelper(2333)
trigger1 = !enemy,alive
trigger1 = !enemy(numenemy = 2),alive
trigger2 = roundstate > 2
time = 50
mul = 100,100,200
under = 1
;invertall = -1

[State 157, ヘルパー消去]
type = DestroySelf
triggerall = IsHelper(2333)
trigger1   = animelemtime(1) > 0
ignorehitpause = 1
;--------------------------------------------------------
;時止め解除用ダミーヘルパー
[Statedef 8901014]
type = U
movetype = I
physics = N
movehitpersist = 1
hitdefpersist = 1
[State ]
type=nothitby
trigger1=1
value=sca
[State 8901014, ヘルパー消去]
type = DestroySelf
trigger1 = Root,NumHelper(23331)	
ignorehitpause = 1

;--------------------------------------------------------
;--------------------------------------------------------------------------------------------------
;  <ヘルパー> 時止め解除ヘルパーメモリ領域確保用ダミーヘルパーステート
;  時止め解除ヘルパー1で生成する時止め解除ヘルパー2のメモリ領域を確保しておくためのダミーヘルパー
;  なので,生成後はすぐにデストロイさせる。

[StateDef 23331]
type     = S
movetype = I
physics  = N
ctrl = 0
anim = -1
movehitpersist = 1
hitdefpersist  = 1

[State 2333, 敵発見！攻撃を開始する！]
type = ChangeState
trigger1 = Name != "STG-G3"
value = 45000
ignorehitpause = 1

[State 2333, ヘルパー追従]
type = BindToParent
trigger1 = 1
facing = 1
time = 1
pos = 0,0

[state 150, 回復]
type = varset
triggerall = root,palno = 12                                                       
trigger1 = roundstate != 2
sysvar(1) = 0                             
ignorehitpause = 1

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

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

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

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

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

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

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

[state 23331, ヘルパー押し戻し判定追加]
type = Playerpush        
trigger1 = ishelper(23331)
value = 1                
ignorehitpause = 1

[state 23331, ヘルパー振り向き]
type = Turn                      
triggerall = ishelper(23331)
trigger1 = facing != root,facing 
ignorehitpause = 1

[State 23331, 無敵]
type = Nothitby              
triggerall = ishelper(23331)
trigger1 = 1
value = SCA                  
time = 1                   
ignorehitpause = 1


;--------------------------------------------------------------------------------------------------
;  時止め解除ヘルパー2を生成する。
;  空いているメモリ領域番号(?)で一番小さいのは時止め解除ヘルパーメモリ確保用ダミーヘルパーがいた
;  メモリ領域になるので,この位置に生成される。

[State 2333, 時止め解除ヘルパー2]
type = Helper
triggerall = IsHelper(23331)
trigger1   = !NumHelper(2333)
ID = 2333
name = "kaijo_2"
helpertype = Player
supermovetime = 99999999999
pausemovetime = 99999999999
ignorehitpause = 1

;----------------------------------------------------
[Statedef 190000];混線
type = U
movetype = U
movehitpersist = 1
hitdefpersist = 1

[State 190000,無敵]
type = Nothitby
trigger1 = 1
value = SCA
ignorehitpause = 1

[State 190000,アニメ変更]
type = Changeanim
trigger1 = !numtarget
value = 9502
ignorehitpause = 1

[State 190000,動けないように]
type = Ctrlset
trigger1 = 1
value = 0
ignorehitpause = 1

[State 190000,ライフ]
type = Lifeset
trigger1 = 1
value = 0
ignorehitpause = 1

[State 190000,ヘルパーステートタイプ変更]
type = Statetypeset
trigger1 = !numtarget
statetype = A
movetype = A
physics = N
ignorehitpause = 1

[State 190000,ヘルパーを見えなくする]
type = Assertspecial
trigger1 = 1
flag = invisible
flag2 = noshadow
ignorehitpause = 1
[State 190000,カメラ固定]
type = Screenbound
trigger1 = 1
value = 0
ignorehitpause = 1
[State 190000,押し戻し判定削除]
type = Playerpush
trigger1 = 1
value = 0
ignorehitpause = 1

[State 190000,無敵]
type = Nothitby
trigger1 = 1
value = SCA
ignorehitpause = 1

[State 190000,ガード認識距離の無効化]
type = Attackdist
trigger1 = 1
value = 0
ignorehitpause = 1

[State 1920000,位置調整]
Type       = Bindtoroot
Trigger1   = Ishelper(190000) + Ishelper(190023)
Trigger1   = !numtarget
Pos        = -70,-225*Ishelper(190023)
Ingorehitpause = 1

[State 1920000,位置調整6]
Type       = Bindtoroot
Trigger1   = Ishelper(190001) + Ishelper(190002) + Ishelper(190003) + Ishelper(190004) + Ishelper(190005)
Trigger1   = !numtarget
Pos        = -70,-10 -10*Ishelper(190002) - 20*Ishelper(190003) - 30*Ishelper(190004) - 40*Ishelper(190005)
Ignorehitpause = 1

[State 1920000,位置調整7]
Type       = Bindtoroot
Trigger1   = Ishelper(190006) + Ishelper(190007) + Ishelper(190008) + Ishelper(190009) + Ishelper(190010) + Ishelper(190011)
Trigger1   = !numtarget
Pos        = -70,-60 - 10*Ishelper(190007) - 20*Ishelper(190008) - 30*Ishelper(190009) - 40*Ishelper(190010) - 50*Ishelper(190011)
Ignorehitpause = 1

[State 1920000,位置調整8]
Type       = Bindtoroot
Trigger1   = Ishelper(190012) + Ishelper(190013) + Ishelper(190014) + Ishelper(190015) + Ishelper(190016) + Ishelper(190017)
Trigger1   = !numtarget
Pos        = -70,-120 - 10*Ishelper(190013) - 20*Ishelper(190014) - 30*Ishelper(190015) - 40*Ishelper(190016) - 50*Ishelper(190017)
Ignorehitpause = 1

[State 1920000,位置調整9]
Type       = Bindtoroot
Trigger1   = Ishelper(190018) + Ishelper(190019) + Ishelper(190020) + Ishelper(190021) + Ishelper(190022) + Ishelper(190023) 
Trigger1   = !numtarget
Pos        = -70,-180 - 10*Ishelper(190019) - 20*Ishelper(190020) - 30*Ishelper(190021) - 40*Ishelper(190022) - 50*Ishelper(190023)
Ignorehitpause = 1

[State 190000,ターゲット習得時位置変更１]
type = Bindtoroot
triggerall = ishelper(190000) || ishelper(190001) || ishelper(190002) || ishelper(190003) || ishelper(190004) || ishelper(190005) || ishelper(190006) || ishelper(190007)
trigger1 = NumTarget
pos = -30,  - ishelper(190000) * 10 - ishelper(190001) * 20 - ishelper(190002) * 30 - ishelper(190003) * 40 - ishelper(190004) * 50 - ishelper(190005) * 60 - ishelper(190006) * 70 - ishelper(190007) * 80
ignorehitpause = 1

[State 190000,ターゲット習得時位置変更2]
type = Bindtoroot
triggerall = ishelper(190008) || ishelper(190009) || ishelper(190010) || ishelper(190011) || ishelper(190012) || ishelper(190013) || ishelper(190014) || ishelper(190015) || ishelper(190024) || ishelper(190025)
trigger1 = NumTarget  
pos = -50,  - ishelper(190008) * 10 - ishelper(190009) * 20 - ishelper(190010) * 30 - ishelper(190011) * 40 - ishelper(190012) * 50 - ishelper(190013) * 60 - ishelper(190014) * 70 - ishelper(190015) * 80 - ishelper(190024) * 90 - ishelper(190025) * 100
ignorehitpause = 1

[State 190000,ターゲット習得時位置変更3]
type = Bindtoroot
triggerall = ishelper(190016) || ishelper(190017) || ishelper(190018) || ishelper(190019) || ishelper(190020) || ishelper(190021) || ishelper(190022) || ishelper(190023) || ishelper(190026) 
trigger1 = NumTarget 
pos = -70,  - ishelper(190016) * 10 - ishelper(190017) * 20 - ishelper(190018) * 30 - ishelper(190019) * 40 - ishelper(190020) * 50 - ishelper(190021) * 60 - ishelper(190022) * 70 - ishelper(190023) * 80 - ishelper(190026) * 90
ignorehitpause = 1

[State 190000,ターゲット習得時アニメ変更]
type = Changeanim
trigger1 = NumTarget 
value = 60020
ignorehitpause = 1

[State 190000,ターゲットを1つに絞る]
type = TargetDrop
trigger1 = NumTarget > 1
keepone = 1
ignorehitpause=1
[State 190000,永続ターゲット]
type = ReversalDef
trigger1 = 1
reversal.attr = ,NT
ignorehitpause = 1

[State 190000,ターゲット取得用HitDef]
type=HitDef
trigger1 = !NumTarget
attr = ,NT
numhits = 0
sparkno = -1
hitsound = -1
affectteam = F
pausetime = 256*256*256*128-1,1
ignorehitpause=1

[State 190000,ターゲット習得時ステートタイプ変更]
type = Statetypeset
triggerall = NumTarget 
trigger1 = ishelper(190000) || ishelper(190001) || ishelper(190002) || ishelper(190003) || ishelper(190004) || ishelper(190005) || ishelper(190006) || ishelper(190007)
trigger2 = ishelper(190008) || ishelper(190009) || ishelper(190010) || ishelper(190011) || ishelper(190012) || ishelper(190013) || ishelper(190014) || ishelper(190015) || ishelper(190024) || ishelper(190025)
trigger3 = ishelper(190016) || ishelper(190017) || ishelper(190018) || ishelper(190019) || ishelper(190020) || ishelper(190021) || ishelper(190022) || ishelper(190023) || ishelper(190026) 
statetype = A
movetype = I
physics = N
ignorehitpause = 1


[State 151, みらくる式アニメ記憶]
type = Parentvarset
triggerall = !root,var(56)
triggerall = numtarget = 1
triggerall = target,ishelper
triggerall = target,var(2)
triggerall = target,time
triggerall = target,stateno = 45000
trigger1 = ishelper(190000) || ishelper(190001) || ishelper(190002) || ishelper(190003) || ishelper(190004) || ishelper(190005) || ishelper(190006) || ishelper(190007)
trigger2 = ishelper(190008) || ishelper(190009) || ishelper(190010) || ishelper(190011) || ishelper(190012) || ishelper(190013) || ishelper(190014) || ishelper(190015) || ishelper(190024) || ishelper(190025)
trigger3 = ishelper(190016) || ishelper(190017) || ishelper(190018) || ishelper(190019) || ishelper(190020) || ishelper(190021) || ishelper(190022) || ishelper(190023) || ishelper(190026) 
var(56) = target,var(2)
ignorehitpause = 1

[State 151, 邪眼キラー範囲内]
type = Varset
triggerall = numtarget
triggerall = target,ishelper
trigger1 = target,stateno = [0, 149]
trigger2 = target,stateno = [150, 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, target,stateno変数化、邪眼キラー範囲外]
type = Varset
triggerall = numtarget = 1
triggerall = target,ishelper
triggerall = target,stateno != [0, 149]
triggerall = target,stateno != [150,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 = ishelper(190000) || ishelper(190001) || ishelper(190002) || ishelper(190003) || ishelper(190004) || ishelper(190005) || ishelper(190006) || ishelper(190007)
trigger2 = ishelper(190008) || ishelper(190009) || ishelper(190010) || ishelper(190011) || ishelper(190012) || ishelper(190013) || ishelper(190014) || ishelper(190015) || ishelper(190024) || ishelper(190025)
trigger3 = ishelper(190016) || ishelper(190017) || ishelper(190018) || ishelper(190019) || ishelper(190020) || ishelper(190021) || ishelper(190022) || ishelper(190023) || ishelper(190026) 
var(55) = 45000
ignorehitpause = 1

[State 151, 習得ステート飛ばし]
type = Targetstate
triggerall = numtarget 
triggerall = root,sysvar(3) < 20000
triggerall = enemynear,name !="Mirage" 
triggerall = !target,ishelper(989898)
trigger1 = ((GameTime% 20 ) = 0 ) || roundstate != 2
value = var(55)
ignorehitpause = 1

[State 151, 習得ステート飛ばし]
type = Targetstate
;triggerall = numtarget 
triggerall = target,ishelper(989898)
trigger1 = 1
value = 45000
ignorehitpause = 1

[State 190000,永続ターゲット]
type = Reversaldef
trigger1 = NumTarget
numhits = 0
reversal.attr = SCA, AA, AT, AP
pausetime = 0, 0
sparkno = -1
guard.sparkno = -1
ignorehitpause = 1


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

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

[State 190200]
type = Statetypeset
trigger1 = ishelper(190200) || ishelper(190201) || ishelper(190202) || ishelper(190203) || ishelper(190204) || ishelper(190205) || ishelper(190206) || ishelper(190207)
trigger2 = ishelper(190208) || ishelper(190209) || ishelper(190210) || ishelper(190211) || ishelper(190212) || ishelper(190213) || ishelper(190214) || ishelper(190215) || ishelper(190224) || ishelper(190225)
trigger3 = ishelper(190216) || ishelper(190217) || ishelper(190218) || ishelper(190219) || ishelper(190220) || ishelper(190221) || ishelper(190222) || ishelper(190223) || ishelper(190226) 
statetype = C
movetype = H
physics = N
ignorehitpause = 1

[State 190200]
type = Changeanim
trigger1 = ishelper(190200) || ishelper(190201) || ishelper(190202) || ishelper(190203) || ishelper(190204) || ishelper(190205) || ishelper(190206) || ishelper(190207)
trigger2 = ishelper(190208) || ishelper(190209) || ishelper(190210) || ishelper(190211) || ishelper(190212) || ishelper(190213) || ishelper(190214) || ishelper(190215) || ishelper(190224) || ishelper(190225)
trigger3 = ishelper(190216) || ishelper(190217) || ishelper(190218) || ishelper(190219) || ishelper(190220) || ishelper(190221) || ishelper(190222) || ishelper(190223) || ishelper(190226) 
value = 9501
ignorehitpause = 1

[State 190200]
type = Ctrlset
trigger1 = ishelper(190200) || ishelper(190201) || ishelper(190202) || ishelper(190203) || ishelper(190204) || ishelper(190205) || ishelper(190206) || ishelper(190207)
trigger2 = ishelper(190208) || ishelper(190209) || ishelper(190210) || ishelper(190211) || ishelper(190212) || ishelper(190213) || ishelper(190214) || ishelper(190215) || ishelper(190224) || ishelper(190225)
trigger3 = ishelper(190216) || ishelper(190217) || ishelper(190218) || ishelper(190219) || ishelper(190220) || ishelper(190221) || ishelper(190222) || ishelper(190223) || ishelper(190226) 
value = 0
ignorehitpause = 1

[State 190200]
type = Lifeset
trigger1 = ishelper(190200) || ishelper(190201) || ishelper(190202) || ishelper(190203) || ishelper(190204) || ishelper(190205) || ishelper(190206) || ishelper(190207)
trigger2 = ishelper(190208) || ishelper(190209) || ishelper(190210) || ishelper(190211) || ishelper(190212) || ishelper(190213) || ishelper(190214) || ishelper(190215) || ishelper(190224) || ishelper(190225)
trigger3 = ishelper(190216) || ishelper(190217) || ishelper(190218) || ishelper(190219) || ishelper(190220) || ishelper(190221) || ishelper(190222) || ishelper(190223) || ishelper(190226) 
value = 0
ignorehitpause = 1

[State 190200]
type = Assertspecial
trigger1 = ishelper(190200) || ishelper(190201) || ishelper(190202) || ishelper(190203) || ishelper(190204) || ishelper(190205) || ishelper(190206) || ishelper(190207)
trigger2 = ishelper(190208) || ishelper(190209) || ishelper(190210) || ishelper(190211) || ishelper(190212) || ishelper(190213) || ishelper(190214) || ishelper(190215) || ishelper(190224) || ishelper(190225)
trigger3 = ishelper(190216) || ishelper(190217) || ishelper(190218) || ishelper(190219) || ishelper(190220) || ishelper(190221) || ishelper(190222) || ishelper(190223) || ishelper(190226) 
flag = invisible
flag2 = noshadow
ignorehitpause = 1

[State 190200]
type = Screenbound
trigger1 = ishelper(190200) || ishelper(190201) || ishelper(190202) || ishelper(190203) || ishelper(190204) || ishelper(190205) || ishelper(190206) || ishelper(190207)
trigger2 = ishelper(190208) || ishelper(190209) || ishelper(190210) || ishelper(190211) || ishelper(190212) || ishelper(190213) || ishelper(190214) || ishelper(190215)
 || ishelper(190224) || ishelper(190225)
trigger3 = ishelper(190216) || ishelper(190217) || ishelper(190218) || ishelper(190219) || ishelper(190220) || ishelper(190221) || ishelper(190222) || ishelper(190223) || ishelper(190226) 
value = 0
ignorehitpause = 1
[State 190200]
type = Playerpush
trigger1 = ishelper(190200) || ishelper(190201) || ishelper(190202) || ishelper(190203) || ishelper(190204) || ishelper(190205) || ishelper(190206) || ishelper(190207)
trigger2 = ishelper(190208) || ishelper(190209) || ishelper(190210) || ishelper(190211) || ishelper(190212) || ishelper(190213) || ishelper(190214) || ishelper(190215) || ishelper(190224) || ishelper(190225)
trigger3 = ishelper(190216) || ishelper(190217) || ishelper(190218) || ishelper(190219) || ishelper(190220) || ishelper(190221) || ishelper(190222) || ishelper(190223) || ishelper(190226) 
value = 0
ignorehitpause = 1

[State 190200,位置調整]
Type       = Bindtoroot
Trigger1   = Ishelper(190200) + Ishelper(190201) + Ishelper(190202) + Ishelper(190203) + Ishelper(190204) + Ishelper(190205)
Pos        = -70,-10*Ishelper(190201) - 20*Ishelper(190202) - 30*Ishelper(190203) - 40*Ishelper(190204) - 50*Ishelper(190205)
Ignorehitpause = 1

[State 190200,位置調整2]
Type       = Bindtoroot
Trigger1   = Ishelper(190206) + Ishelper(190207) + Ishelper(190208) + Ishelper(190209) + Ishelper(190210) + Ishelper(190211)
Pos        = -70,-60 - 10*Ishelper(190207) - 20*Ishelper(190208) - 30*Ishelper(190209) - 40*Ishelper(190210) - 50*Ishelper(190211)
Ignorehitpause = 1

[State 190200,位置調整3]
Type       = Bindtoroot
Trigger1   = Ishelper(190212) + Ishelper(190213) + Ishelper(190214) + Ishelper(190215) + Ishelper(190216) + Ishelper(190217)
Pos        = -70,-120 - 10*Ishelper(190213) - 20*Ishelper(190214) - 30*Ishelper(190215) - 40*Ishelper(190216) - 50*Ishelper(190217)
Ignorehitpause = 1

[State 190200,位置調整4]
Type       = Bindtoroot
Trigger1   = Ishelper(190218) + Ishelper(190219) + Ishelper(190220) + Ishelper(190221) + Ishelper(190222) + Ishelper(190223)
Pos        = -70,-180 - 10*Ishelper(190219) - 20*Ishelper(190220) - 30*Ishelper(190221) - 40*Ishelper(190222) - 50*Ishelper(190223)
Ignorehitpause = 1

[State 190200]
type = Hitby
trigger1 = ishelper(190200) || ishelper(190201) || ishelper(190202) || ishelper(190203) || ishelper(190204) || ishelper(190205) || ishelper(190206) || ishelper(190207)
trigger2 = ishelper(190208) || ishelper(190209) || ishelper(190210) || ishelper(190211) || ishelper(190212) || ishelper(190213) || ishelper(190214) || ishelper(190215) || ishelper(190224) || ishelper(190225)
trigger3 = ishelper(190216) || ishelper(190217) || ishelper(190218) || ishelper(190219) || ishelper(190220) || ishelper(190221) || ishelper(190222) || ishelper(190223) || ishelper(190226)
 value = SCA,NT 
ignorehitpause = 1
[State 190200]
type = Nothitby
triggerall = NumTarget = 1
trigger1 = ishelper(190200) || ishelper(190201) || ishelper(190202) || ishelper(190203) || ishelper(190204) || ishelper(190205) || ishelper(190206) || ishelper(190207)
trigger2 = ishelper(190208) || ishelper(190209) || ishelper(190210) || ishelper(190211) || ishelper(190212) || ishelper(190213) || ishelper(190214) || ishelper(190215) || ishelper(190224) || ishelper(190225)
trigger3 = ishelper(190216) || ishelper(190217) || ishelper(190218) || ishelper(190219) || ishelper(190220) || ishelper(190221) || ishelper(190222) || ishelper(190223) || ishelper(190226) 
value = SCA
ignorehitpause = 1
[State 190200]
type = Destroyself
trigger1 = ishelper(190200)
trigger1 = numhelper(190000)
trigger1 = helper(190000),NumTarget = 1
trigger2 = ishelper(190201)
trigger2 = numhelper(190001)
trigger2 = helper(190001),NumTarget = 1
trigger3 = ishelper(190202)
trigger3 = numhelper(190002)
trigger3 = helper(190002),NumTarget = 1
trigger4 = ishelper(190203)
trigger4 = numhelper(190003)
trigger4 = helper(190003),NumTarget = 1
trigger5 = ishelper(190204)
trigger5 = numhelper(190004)
trigger5 = helper(190004),NumTarget = 1
trigger6 = ishelper(190205)
trigger6 = numhelper(190005)
trigger6 = helper(190005),NumTarget = 1
trigger7 = ishelper(190206)
trigger7 = numhelper(190006)
trigger7 = helper(190006),NumTarget = 1
trigger8 = ishelper(190207)
trigger8 = numhelper(190007)
trigger8 = helper(190007),NumTarget = 1
trigger9 = ishelper(190208)
trigger9 = numhelper(190008)
trigger9 = helper(190008),NumTarget = 1
trigger10 = ishelper(190209) 
trigger10 = numhelper(190009)
trigger10 = helper(190009),NumTarget = 1
trigger11 = ishelper(190210) 
trigger11 = numhelper(190010)
trigger11 = helper(190010),NumTarget = 1
trigger12 = ishelper(190211) 
trigger12 = numhelper(190011)
trigger12 = helper(190011),NumTarget = 1
trigger13 = ishelper(190212)  
trigger13 = numhelper(190012)
trigger13 = helper(190012),NumTarget = 1
trigger14 = ishelper(190213) 
trigger14 = numhelper(190013)
trigger14 = helper(190013),NumTarget = 1 
trigger15 = ishelper(190214) 
trigger15 = numhelper(190014)
trigger15 = helper(190014),NumTarget = 1
trigger16 = ishelper(190215)
trigger16 = numhelper(190015)
trigger16 = helper(190015),NumTarget = 1
trigger17 = ishelper(190216)
trigger17 = numhelper(190016)
trigger17 = helper(190016),NumTarget = 1
trigger18 = ishelper(190217)
trigger18 = numhelper(190017)
trigger18 = helper(190017),NumTarget = 1
trigger19 = ishelper(190218)
trigger19 = numhelper(190018)
trigger19 = helper(190018),NumTarget = 1
trigger20 = ishelper(190219)
trigger20 = numhelper(190019)
trigger20 = helper(190019),NumTarget = 1
trigger21 = ishelper(190220)
trigger21 = numhelper(190020)
trigger21 = helper(190020),NumTarget = 1
trigger22 = ishelper(190221)
trigger22 = numhelper(190021)
trigger22 = helper(190021),NumTarget = 1
trigger23 = ishelper(190222)
trigger23 = numhelper(190022)
trigger23 = helper(190022),NumTarget = 1
trigger24 = ishelper(190223)
trigger24 = numhelper(190023)
trigger24 = helper(190023),NumTarget = 1
trigger25 = ishelper(190224)
trigger25 = numhelper(190024)
trigger25 = helper(190024),NumTarget = 1
trigger26 = ishelper(190225)
trigger26 = numhelper(190025)
trigger26 = helper(190025),NumTarget = 1
trigger27 = ishelper(190226)
trigger27 = numhelper(190026)
trigger27 = helper(190026),NumTarget = 1
ignorehitpause = 1
;---------------------------------------------------------------------------

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

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

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

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

[State 190000]
type = Lifeset
trigger1 = ishelper(2233)
value = 3000
ignorehitpause = 1

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

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

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

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

[State 2233, みらくる式アニメ習得用当身判断]
type = Reversaldef
triggerall = ishelper(2233)
trigger1 = 1;!root,var(56)
numhits = 0
reversal.attr = C, HP
sparkno = -1
guard.sparkno = -1
pausetime = 0, 2
ignorehitpause = 1

;---------------------------------------------------------------------------
;---------------------------------------------------------------------------
; 未使用ヘルパー
[Statedef 200002]
type    = S
movetype= A
physics = S
sprpriority = 20

[State 200002, 見えないように]
type = AssertSpecial
trigger1 = 1
flag = noshadow
ignorehitpause = 1
pausemovetime = 9999999999
supermovetime = 9999999999

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

[State 200002, 無敵]
type = NotHitby
trigger1 = ishelper(200002)
value = SCA
time = 1
ignorehitpause = 1
pausemovetime = 9999999999
supermovetime = 9999999999

[State 200002,アニメ]
type = ChangeAnim
trigger1 = 1
value = 60020
ignorehitpause = 1
pausemovetime = 9999999999
supermovetime = 9999999999

[State 200002, 押し戻し判定解除]
type = playerpush
trigger1 = 1
value = 0
ignorehitpause = 1
pausemovetime = 9999999999
supermovetime = 9999999999
[State 200002, カメラ操作]
type = ScreenBound
trigger1 = 1
value = 0
movecamera = 0,0
ignorehitpause = 1
pausemovetime = 9999999999
supermovetime = 9999999999
[State 200002, コントロール可否]
type = CtrlSet
trigger1 = 1
value = 0
ignorehitpause = 1
pausemovetime = 9999999999
supermovetime = 9999999999

[State 200002, 振り向き]
type = Turn
trigger1 = 1
trigger1 = facing != root,facing
ignorehitpause=1

[State 200002, ヘルパーライフ]
type = Lifeset
trigger1 = 1
value = 0
ignorehitpause = 1
;---------------------------------------------------------------------------
;死の宣告
[Statedef 160000]
type     = A
movetype = A
physics  = N
ctrl     = 0
anim     = 60000
sprpriority = 3
movehitpersist = 1
hitdefpersist = 1
[State 160000]
type = ChangeAnim
trigger1 = NumTarget = 0
value = 60000
[State 160000]
type = PosSet
trigger1 = 1
x = 0
y = 0
ignorehitpause = 1
[State -2]
type = Screenbound
trigger1 = 1
value = 0
ignorehitpause = 1
[State -2]
type = Playerpush
trigger1 = 1
value = 0
ignorehitpause = 1
[State -2]
type = Bindtoroot
trigger1 = 1
pos = 0, -110
ignorehitpause = 1
[State 160000]
type = AssertSpecial
trigger1 = 1
flag = NoShadow
flag2 = Invisible
ignorehitpause = 1
[State 160000]
type = TargetDrop
trigger1 = Target,IsHelper
ignorehitpause = 1
[State 160000]
type = StateTypeSet
trigger1 = NumTarget = 0
movetype = A
[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
[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
[State 160000]
type = StateTypeSet
trigger1 = NumTarget != 0
movetype = I
[State 160000]
type = ChangeAnim
trigger1 = NumTarget != 0
value = 60020
[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 = [6, 12])
trigger1 = RoundState = 2
trigger1 = NumTarget != 0
value = -2
kill = 1
[State 160000]
type = TargetLifeAdd
triggerall = (root,palno = [7, 12])
triggerall = !target,ishelper
triggerall = NumTarget != 0
trigger1 = root,ctrl
trigger1 = RoundState = 2
trigger2 = numhelper(770)
trigger3 = root,anim = 1100
value = -999999999999999999999999999999
kill = 1
[State 160000]
type = TargetPowerAdd
triggerall = !target,ishelper
triggerall = root,ctrl
trigger1 = RoundState = 2
trigger1 = NumTarget != 0
value = -10000000000000000000
[State 160000]
type = TargetLifeAdd
triggerall = !target,ishelper
triggerall = (root,palno = [7, 12])
trigger1 = RoundState > 2
trigger1 = NumTarget != 0
value = -9999999999999999
kill = 1
[State 160000]
type = TargetPowerAdd
triggerall = !target,ishelper
triggerall = (root,palno = [7, 12])
trigger1 = RoundState > 2
trigger1 = NumTarget != 0
value = -999999
[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 = Targetvelset
triggerall = numtarget
triggerall = !target,ishelper
triggerall = root,palno != [1, 10]
trigger1 = root,sysvar(3) = [3000, 4500]
x = -99
y = -99
ignorehitpause = 1

[State 140, 超即死投げ]
type = Targetstate
triggerall = var(55)
trigger1 = (root,palno = [6, 12])
trigger1 = roundstate != 2
trigger2 = root,anim = 1200
trigger3 = root,anim = 1100
trigger4 = root,anim = 2000
value = var(55)
ignorehitpause=1

[State 160000]
type = TargetLifeAdd
triggerall = !target,ishelper
triggerall = (root,palno != [6, 12])
;trigger1 = roundstate != 2
trigger1 = root,anim = 1200
trigger2 = root,anim = 1100
value = -999999999999999
kill = 1

[State 160000]
type = null;DestroySelf
trigger1 = GameTime%6000 = 0
;---------------------------------------------------------------------------
; ステート記憶
[Statedef 200001]
type    = S
movetype= A
physics = S

[State 160000]
type = ChangeAnim
trigger1 = 1
value = 60000

[State -2]
type = Screenbound
trigger1 = 1
value = 0
ignorehitpause = 1
[State -2]
type = Playerpush
trigger1 = 1
value = 0
ignorehitpause = 1
[State -2]
type = Bindtoroot
trigger1 = 1
pos = 0, -100
[State -2]
type = Attackdist
trigger1 = 1
value = 0
ignorehitpause = 1

[State 190000]
type = Lifeset
trigger1 = ishelper
value = 0
ignorehitpause = 1

[State 100101]
type = Hitdef
triggerall = ishelper
trigger1 = (GameTime% 20 ) = 0 
trigger2 = Enemy,anim = 60000
attr = S,SA,SP,ST
sparkxy = 99999,-99999
pausetime = 0,0
damage = 99999999999*ifelse(random%2=0,1,-1),99999999999*ifelse(random%2=0,1,-1)
ignorehitpause = 1

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

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

;常設OTHキラー　
[StateDef 200000]
type = C
movetype = A
physics = N
anim = 60000

[State -2]
type = Screenbound
trigger1 = 1
value = 0
ignorehitpause = 1
[State -2]
type = Playerpush
trigger1 = 1
value = 0
ignorehitpause = 1
[State -2]
type = Bindtoroot
trigger1 = 1
pos = 0, -90
[State -2]
type = Ctrlset
trigger1 = 1
value = 0
ignorehitpause = 1
[State 190000]
type = Lifeset
trigger1 = ishelper
value = 0
ignorehitpause = 1
[State -2]
type = Statetypeset
trigger1 = 1
statetype = C
movetype = A
physics = N
ignorehitpause = 1

[State 100020]
type = Reversaldef
triggerall = parent,var(30)
triggerall = enemynear,name != "E Youmu"
trigger1 = gametime%10 = [5,9]
reversal.attr = SCA, AA, AT, AP
priority = 7
pausetime = 1, 2
sparkno = -1
hitsound = -1
p2stateno = parent,var(30)
p2getp1state = 0
ignorehitpause = 1
SuperMoveTime = 99999
PauseMoveTime = 99999

[State 100020]
type = Reversaldef 
triggerall = enemynear,name != "E Youmu"
trigger1 = !parent,var(30)
trigger2 = gametime%10 = [0,4]
trigger2 = parent,var(30)
reversal.attr = SCA, AA, AT, AP
priority = 7
pausetime = 1, 2
sparkno = -1
hitsound = -1
p2stateno = 12000
ignorehitpause = 1
SuperMoveTime = 99999
PauseMoveTime = 99999

[state ]
type = reversaldef
trigger1 = enemynear,name = "E Youmu"
trigger1 = !numtarget
reversal.attr = SCA,AA,AT,AP
p2stateno = 4017
p2getp1state = 0
pausetime = 0,0
priority = 7
sparkno = -1
hitsound = -1
numhits = 0
ignorehitpause = 1

;---------------------------------------------------------------------------
;--------------------------------------------------------
;最終設置用ヘルパー
[Statedef 223333]
type = U
movetype = U
physics = N
movehitpersist = 1
hitdefpersist = 1
[State 821, 4]
type = playsnd
;triggerall = sysvar(4) = [0,100]
triggerall = root,palno = [11,12]
triggerall = !numexplod(19650)
trigger1 = win
trigger1 = !Enemy,Alive
value = S14,0
volume = 1300
channel = 14

[State 821, 4]
;triggerall = sysvar(4) = [0,100]
triggerall = root,palno = [11,12]
trigger1 = win
type = StopSnd
trigger1 = roundstate = 3
channel = 1

[State 240, 4]
type = Explod
triggerall = root,palno = [11,12]
triggerall = !numexplod(19650) 
trigger1 = win
trigger1 = !Enemy,Alive
ownpal = 1
anim = 75000
postype = back
pos = 0,0
bindtime = -1
supermove = 0
under = 0
ownpal = 1
ID = 19650
removetime = -1
ontop = 1
sprpriority = -1
;trans = add
ignorehitpause = 1
pausemovetime = 999999999999999
supermovetime = 999999999999999
[State 821, 位置を本体に固定]
type = BindToRoot
trigger1 = 1
time = 1
pos = 0,-Root,Pos Y+10
ignorehitpause = 1

[State 821, 本体と同じ向きにする]
type = Turn
trigger1 = Root,facing != facing
ignorehitpause = 1

[State 160000]
type = ChangeAnim
trigger1 = !NumTarget 
value = 60000
[State 160000]
type = TargetDrop
trigger1 = Target,ishelper
trigger2 = Target,Name != "STG-G3"
ignorehitpause = 1
[State 160000]
type = StateTypeSet
movetype = A
triggerall = root,palno = [11,12]
trigger1 = !NumTarget
ignorehitpause = 1
[State 160000]
type = Hitdef
triggerall   = root,palno = [11,12]
triggerall = ishelper
trigger1 = !NumTarget 
attr = ,HT
affectteam = F
damage = 0,0
animtype = light
guardflag = 
priority = 3,Hit
pausetime = 0,0
sparkxy = 999999,999999
[State 160000]
type = StateTypeSet
trigger1 = NumTarget 
movetype = I
[State 160000]
type = ChangeAnim
trigger1 = NumTarget 
value = 60020
[State 160000]
type = ReversalDef
trigger1 = NumTarget 
reversal.attr = SCA,AA,AP,AT
pausetime     = 0,2
numhits       = 0
sparkno       = -1
sparkxy       = 0,0
hitsound      = -1,0
[State ]
type = targetlifeadd
trigger1 = numtarget
value = -root,life*(root,life>0)+(Root,LifeMax-PlayerID(root,var(20)),sysvar(1));9999999999999
ignorehitpause = 1
;--------------------------------------------------------
;ライフ偽装用ヘルパー
[Statedef 224444]
type = U
movetype = U
physics = N
movehitpersist = 1
hitdefpersist = 1
;anim = 6002

[State 821, 位置を本体に固定]
type = BindToRoot
trigger1 = 1
time = 1
pos = 0,-Root,Pos Y+10
ignorehitpause = 1

[State 821, 本体と同じ向きにする]
type = Turn
trigger1 = Root,facing != facing
ignorehitpause = 1

[State 160000]
type = ChangeAnim
trigger1 = NumTarget = 0
value = 60000
[State 160000]
type = TargetDrop
trigger1 = Target,ishelper
trigger2 = Target,Name != "STG-G3"
ignorehitpause = 1
[State 160000]
type = StateTypeSet
movetype = A
triggerall = root,palno = [11,12]
trigger1 = 1;!NumTarget
ignorehitpause = 1
[State 160000]
type = Hitdef
triggerall   = root,palno = [11,12]
triggerall = ishelper
trigger1 = NumTarget = 0
attr = ,HT
affectteam = F
damage = 0,0
animtype = light
guardflag = 
priority = 3,Hit
pausetime = 0,0
sparkxy = 999999,999999
[State 160000]
type = null;StateTypeSet
trigger1 = NumTarget != 0
movetype = I
[State 160000]
type = ChangeAnim
trigger1 = NumTarget != 0
value = 60020
[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 ]
type = targetlifeadd
trigger1 = numtarget
value = -99999999999
ignorehitpause = 1

;--------------------------------------------------------
;警告文削除用
[Statedef 16500]
type = U
movetype = U
physics = N
movehitpersist = 1
hitdefpersist = 1
;anim = 6002

[State 821]
type = Null
trigger1 = 1
ignorehitpause = 1
