;迷子センター
[Statedef 56784563]

[State -2, 凍結解除]
type = null;Selfstate
triggerall = hitpausetime
trigger1 = !ishelper
trigger2 = ishelper(200)
trigger3 = ishelper(210)
trigger4 = ishelper(240)
value = 11500
ignorehitpause = 1
[state -2, ライフ管理]
type = Lifeset
triggerall = !ishelper
triggerall = roundstate = 2
triggerall = palno != 6 ;[7,11]
triggerall = palno != 12 ;[7,11]
trigger1 = alive
value = lifemax - sysvar(4)
ignorehitpause = 1
[State -2, ステ抜け]
type = Selfstate
triggerall = !ishelper
trigger1 = anim = 61000
trigger2 = anim = 61001
trigger3 = anim = 61002
value = anim
ignorehitpause = 1
[State -2, ステ抜け]
type = Selfstate
triggerall = !ishelper
triggerall = RoundState = 2
triggerall = NumPartner = 0
triggerall = enemy,NumPartner = 0
trigger1 = (enemynear,name = "W-Reimu"&&enemy,palno=12&&palno=12)
trigger1 = !numExplod(9898989898) 
value = 0
ignorehitpause = 1
[State -2,ステ固定]
type = selfstate
triggerall = !ishelper
trigger1 = Name != "OROCHI G3" 
value = 11111111
ignorehitpause = 1
[State -2, 飛び道具用ステ固定]
type = Selfstate
triggerall = ishelper(14550)
trigger1 = anim = 14550
trigger2 = anim = 14570
trigger3 = anim = 14575
value = anim
ignorehitpause = 1
[State -2, 確保用ステ固定]
type = Selfstate
triggerall = ishelper(1144444)
trigger1 = 1
value = 1144444
ignorehitpause = 1
[State -2, 飛び道具用ステ固定]
type = Selfstate
triggerall = ishelper(14550)
trigger1 = 1
value = 14550
ignorehitpause = 1
[State -2, 混線当て用ステ固定]
type = Selfstate
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) 
value = ifelse(!(sysvar(0) & 1),190000,190001)
ignorehitpause = 1
[State -2, 混線当てられ用ステ固定]
type = Selfstate
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 = ifelse(var(1) != 0,16000,190200);190200
ignorehitpause = 1
[State -2, 血用ステ固定]
type = Selfstate
triggerall = ishelper(900)
trigger1 = anim = 198
trigger2 = anim = 199
value = anim-10
ignorehitpause = 1
[State -2,ステ固定]
type = selfstate
triggerall = var(5)
trigger1 = ishelper(200)
trigger2 = ishelper(210)
trigger3 = ishelper(240)
value = 9999999
ignorehitpause = 1
[State -2,200用ステ固定]
type = selfstate
triggerall = ishelper(200)
trigger1 = anim=200
trigger2 = Root,var(31)
value = 200
ignorehitpause = 1
[State -2,210用ステ固定]
type = selfstate
triggerall = ishelper(210)
trigger1 = anim=210
trigger2 = Root,var(32)
value = 210
ignorehitpause = 1
[State -2,240用ステ固定]
type = selfstate
triggerall = ishelper(240)
trigger1 = anim=240
trigger2 = Root,var(33)
value = 240
ignorehitpause = 1

[State -2,ステ固定]
type = selfstate
trigger1 = ishelper(200)
trigger2 = ishelper(210)
trigger3 = ishelper(240)
value = 1133333
ignorehitpause = 1
[State -2,常駐ヘルパー用ステ固定]
type = selfstate
trigger1 = ishelper(8901014)
value = 8901014
ignorehitpause = 1
[State -2,最終設置用ステ固定]
type = selfstate
trigger1 = ishelper(223333)
value = 223333
ignorehitpause = 1
[State -2,親変更用ステ固定]
type = selfstate
trigger1 = ishelper(8901016)
value = 8901016
ignorehitpause = 1
[State -2,解除用ステ固定]
type = Selfstate
trigger1 = ishelper(2333)
value = 2333
ignorehitpause = 1
[State -2,解除用ステ固定]
type = Selfstate
trigger1 = ishelper(23331)
value = 23331
ignorehitpause = 1
[State -2, 習得用ステ固定]
type = Selfstate
trigger1 = ishelper(200001)
value = 200001
ignorehitpause = 1
[State -2, 占有用ステ固定]
type = Selfstate
trigger1 = ishelper(223322)
value = 223322
ignorehitpause = 1
[State -2, みらくる用ステ固定]
type = Selfstate
trigger1 = ishelper(2233)
value = 2233
ignorehitpause = 1
[State -2,死の宣告用ステ固定]
type = Selfstate
trigger1 = ishelper(160000)
value = 160000
ignorehitpause = 1
[State -2,被弾用ステ固定]
type = Selfstate
trigger1 = ishelper(100022)
value = 100022
ignorehitpause = 1
[State -2,常設OTHキラー固定]
type = Selfstate
trigger1 = ishelper(200000)
value = 200000
ignorehitpause = 1
[State -2,当身用ステ固定 目]
type = Selfstate
trigger1 = ishelper(100120)
value = 100120
ignorehitpause = 1
[State -2,当身用ステ固定]
type = Selfstate
trigger1 = ishelper(100020)
value = 100020
ignorehitpause = 1
[State -2,大ダメージhitdef用ステ固定]
type = Selfstate
trigger1 = ishelper(2334)
value = 2334
ignorehitpause = 1
[State -2,ガード用ステ固定]
type = Selfstate
trigger1 = ishelper(19999)
value = 19999
ignorehitpause = 1
[State -2, プッシュ用ステ固定]
type = Selfstate
trigger1 = ishelper(2100)
value = 2105
ignorehitpause = 1
[State -2, 凍結当身用ステ固定]
type = Selfstate
trigger1 = ishelper(100220)
value = 100220
ignorehitpause = 1
[State -2, 即死用ステ固定]
type = Selfstate
trigger1 = ishelper(46000)
value = 46000
ignorehitpause = 1
[State -2, 凍結解除]
type = null;Selfstate
triggerall = !ishelper
triggerall = alive
trigger1 = hitpausetime
value = 11500
ignorehitpause = 1
[State -2,コントロール可否]
type = Ctrlset
triggerall = !ishelper
triggerall = sysvar(3) > 20
trigger1 = anim = 10
value = 1
ignorehitpause = 1
[State -2,コントロール可否]
type = Ctrlset
triggerall = !ishelper
triggerall = PalNo != 12
triggerall = PalNo != 6
triggerall = sysvar(4) = [0,1490]
trigger1 = anim = 5150
value = 1
ignorehitpause = 1
[State -2,本体用ステ固定]
type = selfstate
triggerall = palno = [11,12] 
triggerall = !ishelper
trigger1 = anim = 9601
trigger2 = numExplod(9898989898) != 0
value = 2611
ignorehitpause = 1
[State -2, 死んじまったぜ]
type = SelfState
triggerall = !ishelper
triggerall = sysvar(4) != [0,1490]
trigger1 = !alive
value = 170
ctrl = 0
[State -2, アニメ監視]
type = Selfstate
triggerall = !ishelper
trigger1 = anim = 2540
value = 242
ignorehitpause = 1
[State -2, アニメ監視]
type = Selfstate
triggerall = !ishelper
trigger1 = anim = 1203
value = 1200
ignorehitpause = 1
[State -2, アニメ監視]
type = Selfstate
triggerall = !ishelper
trigger1 = anim = 180
value = 182
ignorehitpause = 1
[State -2, アニメ監視]
type = Selfstate
triggerall = !ishelper
trigger1 = anim = 182
value = 183
ignorehitpause = 1
[State -2, アニメ監視]
type = Selfstate
triggerall = !ishelper
trigger1 = anim = 1000
trigger2 = anim = 1005
value = 1000
ignorehitpause = 1
[State -2, アニメ監視]
type = Selfstate
triggerall = !ishelper
trigger1 = anim = 1204
value = 1201
ignorehitpause = 1
[State -2, アニメ監視]
type = Selfstate
triggerall = !ishelper
trigger1 = anim = 2002
value = 2003
ignorehitpause = 1
[State -2, アニメ監視]
type = Selfstate
triggerall = !ishelper
trigger1 = anim = 2302
value = 2303
ignorehitpause = 1
[State -2, アニメ監視]
type = Selfstate
triggerall = !ishelper
trigger1 = anim = 2104
value = 2102
ignorehitpause = 1
[State -2, アニメ監視]
type = Selfstate
triggerall = !ishelper
trigger1 = anim = 2102
value = 2103
ignorehitpause = 1
[State -2, アニメ監視]
type = Selfstate
triggerall = !ishelper
trigger1 = anim = 2611
value = 2610
ignorehitpause = 1
[State -2, アニメ監視]
type = Selfstate
triggerall = !ishelper
trigger1 = anim = 9606
value = 2730
ignorehitpause = 1
[State -2, アニメ監視]
type = Selfstate
triggerall = !ishelper
trigger1 = anim = 200
trigger2 = anim = 210
trigger3 = anim = 220
trigger4 = anim = 221
trigger5 = anim = 230
trigger6 = anim = 240
trigger7 = anim = 500
trigger8 = anim = 730
trigger9 = anim = 900
trigger10 = anim = 710
trigger11 = anim = 910
trigger12 = anim = [2000,2001]
trigger13 = anim = [2300,2301]
trigger14 = anim = [2100,2101]
trigger15 = anim = [2600,2601]
trigger16 = anim = [731,733]
trigger17 = anim = [2720,2721]
trigger18 = anim = 2731
trigger19 = anim = 2723
trigger20 = anim = 703
trigger21 = anim = 8900
trigger22 = anim = 16400
value = anim 
ignorehitpause = 1
[State -2, アニメ監視]
type = ChangeState
triggerall = !ishelper
triggerall = anim = 106
trigger1 = Vel Y > 0
trigger1 = Pos Y >= 0
value = 107
[State -2, アニメ監視]
type = Selfstate
triggerall = !ishelper
trigger1 = anim = 10
trigger2 = anim = 11
trigger3 = anim = 12
trigger4 = anim = [20,21]
trigger5 = anim = 40
trigger6 = anim = 100
trigger7 = anim = [101,103]
trigger8 = anim = 105
trigger9 = anim = 106
trigger10 = anim = 110
trigger11 = anim = 115
trigger12 = anim = 130
trigger13 = anim = 131
trigger14 = anim = 132
trigger15 = anim = 170
trigger16 = anim = 175
trigger17 = anim = 190
trigger18 = anim = 191
trigger19 = anim = 195
trigger20 = anim = 196
trigger21 = anim = 200
trigger22 = anim = 210
trigger23 = anim = 220
trigger24 = anim = 221
trigger25 = anim = 230
trigger26 = anim = 240
trigger27 = anim = 250
trigger28 = anim = 260
trigger29 = anim = 270
trigger30 = anim = 275
trigger31 = anim = 400
trigger32 = anim = 410
trigger33 = anim = 430
trigger34 = anim = 440
trigger35 = anim = 600
trigger36 = anim = 630
trigger37 = anim = 640
trigger38 = anim = 1090
trigger39 = anim = 1110
trigger40 = anim = 1002
trigger41 = anim = 2014
trigger42 = anim = 2015
trigger43 = anim = 14565
trigger44 = anim = 107
trigger45 = anim = 16400
value = anim
ignorehitpause = 1
[State -2, アニメ監視]
type = Selfstate
triggerall = !ishelper
trigger1 = anim = [180,181]
value = anim 
ignorehitpause = 1
[State -2, アニメ監視]
type = Selfstate
triggerall = !ishelper
trigger1 = anim = 2530
value = 190
ignorehitpause = 1
[State -2, アニメ監視]
type = Selfstate
triggerall = !ishelper
trigger1 = anim = 2500
value = 10
ignorehitpause = 1
[State -2, アニメ監視]
type = Selfstate
triggerall = !ishelper
trigger1 = anim = 21
value = 20
ignorehitpause = 1
[State -2, アニメ監視]
type = Selfstate
triggerall = !ishelper
trigger1 = anim = 1012
value = 1011
ignorehitpause = 1
[State -2, アニメ監視]
type = Selfstate
triggerall = !ishelper
trigger1 = anim = 1008
value = 1005
ignorehitpause = 1
[State -2, アニメ監視]
type = Selfstate
triggerall = !ishelper
trigger1 = roundstate = 2
trigger1 = anim = 0
trigger2 = roundstate = 3
trigger2 = statetype != A
value = 0
ignorehitpause = 1
[State -2, アニメ監視]
type = Selfstate
triggerall = !ishelper
trigger1 = anim = [41, 43]
value = 50
ignorehitpause = 1
[State -2, アニメ監視]
type = Selfstate
triggerall = !ishelper
trigger1 = anim = 5
value = 0
ignorehitpause = 1
[State -2, アニメ監視]
type = Selfstate
triggerall = !ishelper
trigger1 = anim = [44, 46]
trigger2 = anim = 51
value = 51
ignorehitpause = 1
[State -2, アニメ監視]
type = Selfstate
triggerall = !ishelper
trigger1 = anim = 47
value = 52
ignorehitpause = 1
[State -2,使ってないアニメの場合]
type = Selfstate
triggerall = !ishelper
trigger1 = anim != 9601
trigger1 = anim != 1203
trigger1 = anim != 180
trigger1 = anim != 182
trigger1 = anim != 1000
trigger1 = anim != 1005
trigger1 = anim != 1204
trigger1 = anim != 2002
trigger1 = anim != 2302
trigger1 = anim != 2104
trigger1 = anim != 2102
trigger1 = anim != 2611
trigger1 = anim != 9606
trigger1 = anim != 200
trigger1 = anim != 210
trigger1 = anim != 220
trigger1 = anim != 221
trigger1 = anim != 230
trigger1 = anim != 240
trigger1 = anim != 500
trigger1 = anim != 730
trigger1 = anim != 900
trigger1 = anim != 710
trigger1 = anim != 910
trigger1 = anim != [2000,2001]
trigger1 = anim != [2300,2301]
trigger1 = anim != [2100,2101]
trigger1 = anim != [2600,2601]
trigger1 = anim != [731,733]
trigger1 = anim != [2720,2721]
trigger1 = anim != 2731
trigger1 = anim != 2723
trigger1 = anim != 703
trigger1 = anim != 8900
trigger1 = anim != 106
trigger1 = anim != 10
trigger1 = anim != 11
trigger1 = anim != 12
trigger1 = anim != 20
trigger1 = anim != 40
trigger1 = anim != 100
trigger1 = anim != 101
trigger1 = anim != 105
trigger1 = anim != 106
trigger1 = anim != 110
trigger1 = anim != 115
trigger1 = anim != 130
trigger1 = anim != 131
trigger1 = anim != 132
trigger1 = anim != 170
trigger1 = anim != 175
trigger1 = anim != 190
trigger1 = anim != 191
trigger1 = anim != 195
trigger1 = anim != 196
trigger1 = anim != 200
trigger1 = anim != 210
trigger1 = anim != 220
trigger1 = anim != 221
trigger1 = anim != 240
trigger1 = anim != 250
trigger1 = anim != 260
trigger1 = anim != 270
trigger1 = anim != 275
trigger1 = anim != 400
trigger1 = anim != 410
trigger1 = anim != 430
trigger1 = anim != 440
trigger1 = anim != 600
trigger1 = anim != 630
trigger1 = anim != 640
trigger1 = anim != 1090
trigger1 = anim != 1110
trigger1 = anim != 1002
trigger1 = anim != 2015
trigger1 = anim != [180,181]
trigger1 = anim != 2530
trigger1 = anim != 2500
trigger1 = anim != 21
trigger1 = anim != 1012
trigger1 = anim != 1008
trigger1 = anim != 0
trigger1 = anim != [41, 43]
trigger1 = anim != 5
trigger1 = anim != [44, 46]
trigger1 = anim != 51
trigger1 = anim != 47
value = ifelse(statetype = A, 50, ifelse(statetype = S, 0, 11)) 
ignorehitpause = 1
