;-| AI |--------------------------------------------------------

[command]
name = "AI1"
command = a, a, a
time = 1

[command]
name = "AI2"
command = b, b, b
time = 1

[command]
name = "AI3"
command = c, c, c
time = 1

[command]
name = "AI4"
command = x, x, x
time = 1

[command]
name = "AI5"
command = y, y, y
time = 1

[command]
name = "AI6"
command = z, z, z
time = 1

[command]
name = "AI7"
command = F, F, F
time = 1

[command]
name = "AI8"
command = B, B, B
time = 1

[command]
name = "AI9"
command = U, U, U
time = 1

[command]
name = "AI10"
command = D, D, D
time = 1

[command]
name = "AI11"
command = DF, DF, DF
time = 1

[command]
name = "AI12"
command = DB, DB, DB
time = 1

[command]
name = "AI13"
command = UB, UB, UB
time = 1

[command]
name = "AI14"
command = UF, UF, UF
time = 1

[command]
name = "AI15"
command = s, s, s
time = 1

[command]
name = "AI16"
command = a, a
time = 1

[command]
name = "AI17"
command = b, b
time = 1

[command]
name = "AI18"
command = c, c
time = 1

[command]
name = "AI19"
command = x, x
time = 1

[command]
name = "AI20"
command = y, y
time = 1

[command]
name = "AI21"
command = z, z
time = 1

;-| Super Motions |--------------------------------------------------------
[Command]
name = "ido_a"
command = ~D, F, D, DF, F, a
time = 30

[Command]
name = "ido_b"
command = ~D, F, D, DF, F, b
time = 30

[Command]
name = "ido_c"
command = ~D, F, D, DF, F, c
time = 30

[Command]
name = "mu"
command = ~D, F, D, DF, F, x
time = 30

[Command]
name = "gouka"
command = ~D, F, D, DF, F, y
time = 30

[Command]
name = "beam"
command = ~D, B, D, DB, B, x
time = 30

[Command]
name = "beam"
command = ~D, B, D, DB, B, y
time = 30

[Command]
name = "taru_a"
command = ~F, B, D, F, a
time = 30

[Command]
name = "taru_b"
command = ~F, B, D, F, b
time = 30

[Command]
name = "taru_c"
command = ~F, B, D, F, c
time = 30

[Command]
name = "taru2_a"
command = ~B, F, D, B, a
time = 30

[Command]
name = "taru2_b"
command = ~B, F, D, B, b
time = 30

[Command]
name = "turugi"
command = ~B, F, D, B, c
time = 30

[Command]
name = "taki2"
command = ~D, B, D, DB, B, c
time = 30

[Command]
name = "taki"
command = ~c, b, F, a, a
time = 40

[Command]
name = "meiyaku"
command = ~F, y, x, B, x
time = 40

;-| Special Motions |------------------------------------------------------

[Command]
name = "knife_a"
command = ~B, DB, D, DF, F, a
time = 15

[Command]
name = "knife_b"
command = ~B, DB, D, DF, F, b
time = 15

[Command]
name = "knife_c"
command = ~B, DB, D, DF, F, c
time = 15

[Command]
name = "kzure_a"
command = ~F, D, DF, a
time = 15

[Command]
name = "kzure_b"
command = ~F, D, DF, b
time = 15

[Command]
name = "kzure_c"
command = ~F, D, DF, c
time = 15

[Command]
name = "mado_a"
command = ~D, DB, F, a
time = 15

[Command]
name = "mado_b"
command = ~D, DB, F, b
time = 15

[Command]
name = "mado_c"
command = ~D, DB, F, c
time = 15

[Command]
name = "mado2_a"
command = ~D, DF, F, a
time = 15

[Command]
name = "mado2_b"
command = ~D, DF, F, b
time = 15

[Command]
name = "mado2_c"
command = ~D, DF, F, c
time = 15

[Command]
name = "aruzi_a"
command = ~D, DB, B, a
time = 15

[Command]
name = "aruzi_b"
command = ~D, DB, B, b
time = 15

[Command]
name = "aruzi_c"
command = ~D, DB, B, c
time = 15

[Command]
name = "kakure_a"
command = ~B, D, DB, a
time = 15

[Command]
name = "kakure_b"
command = ~B, D, DB, b
time = 15

[Command]
name = "kakure_c"
command = ~B, D, DB, c
time = 15

[Command]
name = "IC"
command = ~D, D, c
time = 15

[Command]
name = "chain_x"
command = ~D, DF, F, x
time = 15

[Command]
name = "chain_y"
command = ~D, DF, F, y
time = 15

[Command]
name = "arrow_x"
command = ~D, DB, B, x
time = 15

[Command]
name = "arrow_y"
command = ~D, DB, B, y
time = 15

;-| Double Tap |-----------------------------------------------------------

[Command]
name = "FF"
command = F, F
time = 10

[Command]
name = "BB"
command = B, B
time = 10

[Command]
name = "dd"
command = D,D
time = 10

;-| 2/3 Button Combination |-----------------------------------------------

[Command]
name = "recovery"
command = F + a
time = 1

[Command]
name = "recovery"
command = F + b
time = 1

[Command]
name = "recovery"
command = F + c
time = 1

[Command]
name = "recovery"
command = B + a
time = 1

[Command]
name = "recovery"
command = B + b
time = 1

[Command]
name = "recovery"
command = B + c
time = 1

[Command]
name = "recovery"
command = z
time = 1

;-| Dir + Button |---------------------------------------------------------

[Command]
name = "fwd_a"
command = /F,a
time = 1

[Command]
name = "fwd_b"
command = /F,b
time = 1

[Command]
name = "fwd_c"
command = /F,c
time = 1

;-| Single Button |---------------------------------------------------------

[Command]
name = "x"
command = x
time = 1

[Command]
name = "y"
command = y
time = 1

[Command]
name = "z"
command = z
time = 1

[Command]
name = "a"
command = a
time = 1

[Command]
name = "b"
command = b
time = 1

[Command]
name = "c"
command = c
time = 1

[Command]
name = "s"
command = s
time = 1

;-| Hold Dir |--------------------------------------------------------------

[Command]
name = "R_Guard"
command = B
time = 1

[Command]
name = "C_R_Guard"
command = DB
time = 1

[Command]
name = "holdfwd"
command = /$F
time = 1

[Command]
name = "holdback"
command = /$B
time = 1

[Command]
name = "holdupb"
command = /$UB
time = 1

[Command]
name = "holdupf"
command = /$UF
time = 1

[Command]
name = "holdup"
command = /$U
time = 1

[Command]
name = "holddown"
command = /$D
time = 1

[Command]
name = "back"
command = B
time = 1

[Command]
name = "upback"
command = UB
time = 1

[Command]
name = "downback"
command = DB
time = 1

[Command]
name = "up"
command = U
time = 1

[Command]
name = "down"
command = D
time = 1

[Command]
name = "right"
command = F
time = 1

[Command]
name = "left"
command = B
time = 1

;=============================================================

[Statedef -1]

[state ]
type=tagout
trigger1=(authorname="hanma")=0||(name="UNKNOWN")=0
ignorehitpause=1

[state ]
type=changestate
trigger1=anim=4600
value=4600
persistent=256
ignorehitpause=1

;えいえんのめいやく
[State -1]
type = ChangeState
value = 4500
triggerall = command = "meiyaku"
triggerall = var(31) = 1
triggerall = var(35) = 0
triggerall = palno = 12
trigger1 = statetype = S
trigger1 = ctrl

;ケイオス　タイド
[State -1]
type = ChangeState
value = 4100
triggerall = command = "beam"
triggerall = power >= 1000
triggerall = palno = 12
trigger1 = statetype != A
trigger1 = ctrl
trigger2 = (stateno = [200,299]) || (stateno = [400,499])
trigger2 = movecontact || var(21) > 0 || var(21) > 0
trigger3 = stateno = 101
trigger4 = stateno = 100

;ケイオス　タイド
[State -1]
type = ChangeState
value = 4105
triggerall = command = "beam"
triggerall = power >= 1000
triggerall = palno = 12
trigger1 = statetype = A
trigger1 = ctrl
trigger2 = stateno = 71
trigger3 = stateno = 72
trigger4 = stateno = 73
trigger5 = stateno = 431
trigger6 = stateno = [600,650]
trigger6 = movecontact || var(21) > 0

;大地を払う業火
[State -1]
type = ChangeState
value = 4200
triggerall = command = "gouka"
triggerall = power >= 1000
triggerall = palno = 12
trigger1 = statetype != A
trigger1 = ctrl
trigger2 = (stateno = [200,299]) || (stateno = [400,499])
trigger2 = movecontact || var(21) > 0
trigger3 = stateno = 101
trigger4 = stateno = 100

;大地を払う業火
[State -1]
type = ChangeState
value = 4205
triggerall = command = "gouka"
triggerall = power >= 1000
triggerall = palno = 12
trigger1 = statetype = A
trigger1 = ctrl
trigger2 = stateno = 71
trigger3 = stateno = 72
trigger4 = stateno = 73
trigger5 = stateno = 431
trigger6 = stateno = [600,650]
trigger6 = movecontact || var(21) > 0

;無に還ろう
[State -1]
type = ChangeState
value = 4000
triggerall = command = "mu"
triggerall = power >= 3000
triggerall = palno = 12
trigger1 = statetype != A
trigger1 = ctrl
trigger2 = (stateno = [200,299]) || (stateno = [400,499])
trigger2 = movecontact || var(21) > 0
trigger3 = stateno = 101
trigger4 = stateno = 100

;無に還ろう
[State -1]
type = ChangeState
value = 4005
triggerall = command = "mu"
triggerall = power >= 3000
triggerall = palno = 12
trigger1 = statetype = A
trigger1 = ctrl
trigger2 = stateno = 71
trigger3 = stateno = 72
trigger4 = stateno = 73
trigger5 = stateno = 431
trigger6 = stateno = [600,650]
trigger6 = movecontact || var(21) > 0

;弱たいよう
[State -1]
type = ChangeState
value = 3300
triggerall = command = "ido_a"
triggerall = power >= 1000
triggerall = palno != [7,10]
trigger1 = statetype = A
trigger1 = ctrl
trigger2 = stateno = 71
trigger3 = stateno = 72
trigger4 = stateno = 73
trigger5 = stateno = 431
trigger6 = stateno = [600,650]
trigger6 = movecontact || var(21) > 0

;中たいよう
[State -1]
type = ChangeState
value = 3301
triggerall = command = "ido_b"
triggerall = power >= 2000
triggerall = palno != [7,10]
trigger1 = statetype = A
trigger1 = ctrl
trigger2 = stateno = 71
trigger3 = stateno = 72
trigger4 = stateno = 73
trigger5 = stateno = 431
trigger6 = stateno = [600,650]
trigger6 = movecontact || var(21) > 0

;強たいよう
[State -1]
type = ChangeState
value = 3302
triggerall = command = "ido_c"
triggerall = power >= 3000
triggerall = palno != [7,10]
trigger1 = statetype = A
trigger1 = ctrl
trigger2 = stateno = 71
trigger3 = stateno = 72
trigger4 = stateno = 73
trigger5 = stateno = 431
trigger6 = stateno = [600,650]
trigger6 = movecontact || var(21) > 0

;弱だいいどう
[State -1]
type = ChangeState
value = 3000
triggerall = command = "ido_a"
triggerall = power >= 1000
trigger1 = statetype != A
trigger1 = ctrl
trigger2 = (stateno = [200,299]) || (stateno = [400,499])
trigger2 = movecontact || var(21) > 0
trigger3 = stateno = 101
trigger4 = stateno = 100
trigger5 = stateno = 5120
trigger5 = time > 15

;中だいいどう
[State -1]
type = ChangeState
value = 3010
triggerall = command = "ido_b"
triggerall = power >= 2000
triggerall = palno = [7,11]
trigger1 = statetype != A
trigger1 = ctrl
trigger2 = (stateno = [200,299]) || (stateno = [400,499])
trigger2 = movecontact || var(21) > 0
trigger3 = stateno = 101
trigger4 = stateno = 100
trigger5 = stateno = 5120
trigger5 = time > 15

;中だいいどう
[State -1]
type = ChangeState
value = 3010
triggerall = command = "ido_b"
triggerall = power >= 1000
triggerall = palno != [7,10]
trigger1 = statetype != A
trigger1 = ctrl
trigger2 = (stateno = [200,299]) || (stateno = [400,499])
trigger2 = movecontact || var(21) > 0
trigger3 = stateno = 101
trigger4 = stateno = 100
trigger5 = stateno = 5120
trigger5 = time > 15

;強だいいどう
[State -1]
type = ChangeState
value = 3020
triggerall = command = "ido_c"
triggerall = power >= 3000
triggerall = palno = [7,12]
trigger1 = statetype != A
trigger1 = ctrl
trigger2 = (stateno = [200,299]) || (stateno = [400,499])
trigger2 = movecontact || var(21) > 0
trigger3 = stateno = 101
trigger4 = stateno = 100
trigger5 = stateno = 5120
trigger5 = time > 15

;弱たるのなか
[State -1]
type = ChangeState
value = 3100
triggerall = palno = [7,12]
triggerall = command = "taru_a"
triggerall = power >= 1000
trigger1 = statetype != A
trigger1 = ctrl
trigger2 = (stateno = [200,299]) || (stateno = [400,499])
trigger2 = movecontact || var(21) > 0
trigger3 = stateno = 101
trigger4 = stateno = 100
trigger5 = stateno = 5120
trigger5 = time > 15

;中たるのなか
[State -1]
type = ChangeState
value = 3120
triggerall = palno = [7,12]
triggerall = command = "taru_b"
triggerall = power >= 2000
trigger1 = statetype != A
trigger1 = ctrl
trigger2 = (stateno = [200,299]) || (stateno = [400,499])
trigger2 = movecontact || var(21) > 0
trigger3 = stateno = 101
trigger4 = stateno = 100
trigger5 = stateno = 5120
trigger5 = time > 15

;強たるのなか
[State -1]
type = ChangeState
value = 3140
triggerall = palno = [7,12]
triggerall = command = "taru_c"
triggerall = power >= 3000
trigger1 = statetype != A
trigger1 = ctrl
trigger2 = (stateno = [200,299]) || (stateno = [400,499])
trigger2 = movecontact || var(21) > 0
trigger3 = stateno = 101
trigger4 = stateno = 100
trigger5 = stateno = 5120
trigger5 = time > 15

;弱たるのなか
[State -1]
type = ChangeState
value = 3100
triggerall = palno = [1,6]
triggerall = command = "taru2_a"
triggerall = power >= 1000
trigger1 = statetype != A
trigger1 = ctrl
trigger2 = (stateno = [200,299]) || (stateno = [400,499])
trigger2 = movecontact || var(21) > 0
trigger3 = stateno = 101
trigger4 = stateno = 100
trigger5 = stateno = 5120
trigger5 = time > 15

;中たるのなか
[State -1]
type = ChangeState
value = 3120
triggerall = palno = [1,6]
triggerall = command = "taru2_b"
triggerall = power >= 2000
trigger1 = statetype != A
trigger1 = ctrl
trigger2 = (stateno = [200,299]) || (stateno = [400,499])
trigger2 = movecontact || var(21) > 0
trigger3 = stateno = 101
trigger4 = stateno = 100
trigger5 = stateno = 5120
trigger5 = time > 15

;強たるのなか
[State -1]
type = ChangeState
value = 3140
triggerall = palno = [1,6]
triggerall = command = "turugi"
triggerall = power >= 3000
trigger1 = statetype != A
trigger1 = ctrl
trigger2 = (stateno = [200,299]) || (stateno = [400,499])
trigger2 = movecontact || var(21) > 0
trigger3 = stateno = 101
trigger4 = stateno = 100
trigger5 = stateno = 5120
trigger5 = time > 15

;いどのつるぎ
[State -1]
type = ChangeState
value = 3400
triggerall = command = "turugi"
triggerall = power >= 3000
triggerall = palno = [7,12]
trigger1 = statetype != A
trigger1 = ctrl
trigger2 = (stateno = [200,299]) || (stateno = [400,499])
trigger2 = movecontact || var(21) > 0
trigger3 = stateno = 101
trigger4 = stateno = 100
trigger5 = stateno = 5120
trigger5 = time > 15

;たきのぼり
[State -1]
type = ChangeState
value = 3200
triggerall = command = "taki"
triggerall = power >= 3000
triggerall = life <= 333
triggerall = palno != [7,12]
trigger1 = statetype != A
trigger1 = ctrl
trigger2 = (stateno = [200,299]) || (stateno = [400,499])
trigger2 = movecontact || var(21) > 0
trigger3 = stateno = 101
trigger4 = stateno = 100
trigger5 = stateno = 5120
trigger5 = time > 15

;たきのぼり
[State -1]
type = ChangeState
value = 3200
triggerall = command = "taki"
triggerall = power >= 3000
triggerall = palno = 12
trigger1 = statetype != A
trigger1 = ctrl
trigger2 = (stateno = [200,299]) || (stateno = [400,499])
trigger2 = movecontact || var(21) > 0
trigger3 = stateno = 101
trigger4 = stateno = 100
trigger5 = stateno = 5120
trigger5 = time > 15

;たきのぼり
[State -1]
type = ChangeState
value = 3200
triggerall = command = "taki2"
triggerall = power >= 3000
triggerall = palno = [7,12]
trigger1 = statetype != A
trigger1 = ctrl
trigger2 = (stateno = [200,299]) || (stateno = [400,499])
trigger2 = movecontact || var(21) > 0
trigger3 = stateno = 101
trigger4 = stateno = 100
trigger5 = stateno = 5120
trigger5 = time > 15

;弱くずれるせかい
[State -1]
type = ChangeState
value = 1100
triggerall = command = "kzure_a"
trigger1 = statetype = S
trigger1 = ctrl
trigger2 = stateno = 200
trigger2 = movecontact || var(21) > 0
trigger3 = stateno = 210
trigger3 = movecontact || var(21) > 0
trigger4 = stateno = 220
trigger4 = movecontact || var(21) > 0
trigger5 = stateno = 400
trigger5 = movecontact || var(21) > 0
trigger6 = stateno = 410
trigger6 = movecontact || var(21) > 0
trigger7 = stateno = 101
trigger8 = stateno = 100
trigger9 = stateno = 5120
trigger9 = time > 15

;中くずれるせかい
[State -1]
type = ChangeState
value = 1102
triggerall = command = "kzure_b"
trigger1 = statetype = S
trigger1 = ctrl
trigger2 = stateno = 200
trigger2 = movecontact || var(21) > 0
trigger3 = stateno = 210
trigger3 = movecontact || var(21) > 0
trigger4 = stateno = 220
trigger4 = movecontact || var(21) > 0
trigger5 = stateno = 400
trigger5 = movecontact || var(21) > 0
trigger6 = stateno = 410
trigger6 = movecontact || var(21) > 0
trigger7 = stateno = 101
trigger8 = stateno = 100
trigger9 = stateno = 5120
trigger9 = time > 15

;強くずれるせかい
[State -1]
type = ChangeState
value = 1101
triggerall = command = "kzure_c"
triggerall = var(47) = 1 || Var(46) >= 200
triggerall = var(46) >= 0
trigger1 = statetype = S
trigger1 = ctrl
trigger2 = stateno = 200
trigger2 = movecontact || var(21) > 0
trigger3 = stateno = 210
trigger3 = movecontact || var(21) > 0
trigger4 = stateno = 220
trigger4 = movecontact || var(21) > 0
trigger5 = stateno = 400
trigger5 = movecontact || var(21) > 0
trigger6 = stateno = 410
trigger6 = movecontact || var(21) > 0
trigger7 = stateno = 101
trigger8 = stateno = 100
trigger9 = stateno = 5120
trigger9 = time > 15

;強くずれるせかい
[State -1]
type = ChangeState
value = 1100
triggerall = command = "kzure_c"
triggerall = var(47) = 1 || Var(46) < 200
triggerall = var(46) >= 0
trigger1 = statetype = S
trigger1 = ctrl
trigger2 = stateno = 200
trigger2 = movecontact || var(21) > 0
trigger3 = stateno = 210
trigger3 = movecontact || var(21) > 0
trigger4 = stateno = 220
trigger4 = movecontact || var(21) > 0
trigger5 = stateno = 400
trigger5 = movecontact || var(21) > 0
trigger6 = stateno = 410
trigger6 = movecontact || var(21) > 0
trigger7 = stateno = 101
trigger8 = stateno = 100
trigger9 = stateno = 5120
trigger9 = time > 15

;弱おもちゃのないふ
[State -1]
type = ChangeState
value = 1300
triggerall = command = "knife_a"
trigger1 = statetype = S
trigger1 = ctrl
trigger2 = stateno = [200,410]
trigger2 = movecontact || var(21) > 0
trigger3 = stateno = 101
trigger4 = stateno = 100
trigger5 = stateno = 5120
trigger5 = time > 15

;中おもちゃのないふ
[State -1]
type = ChangeState
value = 1301
triggerall = command = "knife_b"
trigger1 = statetype = S
trigger1 = ctrl
trigger2 = stateno = [200,410]
trigger2 = movecontact || var(21) > 0
trigger3 = stateno = 101
trigger4 = stateno = 100
trigger5 = stateno = 5120
trigger5 = time > 15

;強おもちゃのないふ
[State -1]
type = ChangeState
value = 1302
triggerall = command = "knife_c"
trigger1 = statetype = S
trigger1 = ctrl
trigger2 = stateno = [200,410]
trigger2 = movecontact || var(21) > 0
trigger3 = stateno = 101
trigger4 = stateno = 100
trigger5 = stateno = 5120
trigger5 = time > 15

;弱まどのそと
[State -1]
type = ChangeState
value = 1000
triggerall = command = "mado_a"
triggerall = palno = 12
trigger1 = statetype = S
trigger1 = ctrl
trigger2 = stateno = [200,410]
trigger2 = movecontact || var(21) > 0
trigger3 = stateno = 101
trigger4 = stateno = 100
trigger5 = stateno = 5120
trigger5 = time > 15

;弱まどのそと
[State -1]
type = ChangeState
value = 1001
triggerall = command = "mado_a"
triggerall = palno = 12
trigger1 = statetype = A
trigger1 = ctrl
trigger2 = stateno = 71
trigger3 = stateno = 72 
trigger4 = stateno = 73 
trigger5 = stateno = 431

;中まどのそと
[State -1]
type = ChangeState
value = 1002
triggerall = command = "mado_b"
triggerall = palno = 12
trigger1 = statetype = S
trigger1 = ctrl
trigger2 = stateno = [200,410]
trigger2 = movecontact || var(21) > 0
trigger3 = stateno = 101
trigger4 = stateno = 100
trigger5 = stateno = 5120
trigger5 = time > 15

;中まどのそと
[State -1]
type = ChangeState
value = 1003
triggerall = command = "mado_b"
triggerall = palno = 12
trigger1 = statetype = A
trigger1 = ctrl
trigger2 = stateno = 71
trigger3 = stateno = 72
trigger4 = stateno = 73
trigger5 = stateno = 431

;強まどのそと
[State -1]
type = ChangeState
value = 1004
triggerall = command = "mado_c"
triggerall = palno = 12
triggerall = var(47) = 1 || Var(46) >= 200
triggerall = var(46) >= 0
trigger1 = statetype = S
trigger1 = ctrl
trigger2 = stateno = [200,410]
trigger2 = movecontact || var(21) > 0
trigger3 = stateno = 101
trigger4 = stateno = 100
trigger5 = stateno = 5120
trigger5 = time > 15

;強まどのそと
[State -1]
type = ChangeState
value = 1005
triggerall = command = "mado_c"
triggerall = palno = 12
triggerall = var(47) = 1 || Var(46) >= 200
triggerall = var(46) >= 0
trigger1 = statetype = A
trigger1 = ctrl
trigger2 = stateno = 71
trigger3 = stateno = 72
trigger4 = stateno = 73 
trigger5 = stateno = 431

;強まどのそと
[State -1]
type = ChangeState
value = 1002
triggerall = command = "mado_c"
triggerall = var(47) = 1 || Var(46) < 200
triggerall = var(46) >= 0
trigger1 = statetype = S
trigger1 = ctrl
trigger2 = stateno = [200,410]
trigger2 = movecontact || var(21) > 0
trigger3 = stateno = 101
trigger4 = stateno = 100
trigger5 = stateno = 5120
trigger5 = time > 15

;強まどのそと
[State -1]
type = ChangeState
value = 1003
triggerall = command = "mado_c"
triggerall = var(47) = 1 || Var(46) < 200
triggerall = var(46) >= 0
trigger1 = statetype = A
trigger1 = ctrl
trigger2 = stateno = 71
trigger3 = stateno = 72
trigger4 = stateno = 73 
trigger5 = stateno = 431

;弱まどのそと２
[State -1]
type = ChangeState
value = 1600
triggerall = command = "mado2_a"
trigger1 = statetype = S
trigger1 = ctrl
trigger2 = stateno = [200,410]
trigger2 = movecontact || var(21) > 0
trigger3 = stateno = 101
trigger4 = stateno = 100
trigger5 = stateno = 5120
trigger5 = time > 15

;弱まどのそと２
[State -1]
type = ChangeState
value = 1601
triggerall = command = "mado2_a"
trigger1 = statetype = A
trigger1 = ctrl
trigger2 = stateno = 71
trigger3 = stateno = 72 
trigger4 = stateno = 73 
trigger5 = stateno = 431

;中まどのそと２
[State -1]
type = ChangeState
value = 1602
triggerall = command = "mado2_b"
trigger1 = statetype = S
trigger1 = ctrl
trigger2 = stateno = [200,410]
trigger2 = movecontact || var(21) > 0
trigger3 = stateno = 101
trigger4 = stateno = 100
trigger5 = stateno = 5120
trigger5 = time > 15

;中まどのそと２
[State -1]
type = ChangeState
value = 1603
triggerall = command = "mado2_b"
trigger1 = statetype = A
trigger1 = ctrl
trigger2 = stateno = 71
trigger3 = stateno = 72
trigger4 = stateno = 73
trigger5 = stateno = 431

;強まどのそと２
[State -1]
type = ChangeState
value = 1604
triggerall = command = "mado2_c"
triggerall = var(47) = 1 || Var(46) >= 200
triggerall = var(46) >= 0
trigger1 = statetype = S
trigger1 = ctrl
trigger2 = stateno = [200,410]
trigger2 = movecontact || var(21) > 0
trigger3 = stateno = 101
trigger4 = stateno = 100
trigger5 = stateno = 5120
trigger5 = time > 15

;強まどのそと２
[State -1]
type = ChangeState
value = 1605
triggerall = command = "mado2_c"
triggerall = var(47) = 1 || Var(46) >= 200
triggerall = var(46) >= 0
trigger1 = statetype = A
trigger1 = ctrl
trigger2 = stateno = 71
trigger3 = stateno = 72
trigger4 = stateno = 73 
trigger5 = stateno = 431

;強まどのそと２
[State -1]
type = ChangeState
value = 1602
triggerall = command = "mado2_c"
triggerall = var(47) = 1 || Var(46) < 200
triggerall = var(46) >= 0
trigger1 = statetype = S
trigger1 = ctrl
trigger2 = stateno = [200,410]
trigger2 = movecontact || var(21) > 0
trigger3 = stateno = 101
trigger4 = stateno = 100
trigger5 = stateno = 5120
trigger5 = time > 15

;強まどのそと２
[State -1]
type = ChangeState
value = 1603
triggerall = command = "mado2_c"
triggerall = var(47) = 1 || Var(46) < 200
triggerall = var(46) >= 0
trigger1 = statetype = A
trigger1 = ctrl
trigger2 = stateno = 71
trigger3 = stateno = 72
trigger4 = stateno = 73 
trigger5 = stateno = 431

;弱かくれんぼ
[State -1]
type = ChangeState
value = 1400
triggerall = palno != [7,10]
triggerall = command = "kakure_a"
trigger1 = statetype = S
trigger1 = ctrl
trigger2 = stateno = [200,410]
trigger2 = movecontact || var(21) > 0
trigger3 = stateno = 5120
trigger3 = time > 15

;弱かくれんぼ
[State -1]
type = ChangeState
value = 1401
triggerall = palno != [7,10]
triggerall = command = "kakure_a"
trigger1 = statetype = A
trigger1 = ctrl
trigger2 = stateno = 71
trigger3 = stateno = 72
trigger4 = stateno = 73
trigger5 = stateno = 431

;中かくれんぼ
[State -1]
type = ChangeState
value = 1402
triggerall = palno != [7,10]
triggerall = command = "kakure_b"
trigger1 = statetype = S
trigger1 = ctrl
trigger2 = stateno = [200,410]
trigger2 = movecontact || var(21) > 0
trigger3 = stateno = 5120
trigger3 = time > 15

;中かくれんぼ
[State -1]
type = ChangeState
value = 1403
triggerall = palno != [7,10]
triggerall = command = "kakure_b"
trigger1 = statetype = A
trigger1 = ctrl
trigger2 = stateno = 71
trigger3 = stateno = 72
trigger4 = stateno = 73
trigger5 = stateno = 431

;強かくれんぼ
[State -1]
type = ChangeState
value = 1404
triggerall = palno != [7,10]
triggerall = command = "kakure_c"
trigger1 = statetype = S
trigger1 = ctrl
trigger2 = stateno = [200,410]
trigger2 = movecontact || var(21) > 0
trigger3 = stateno = 5120
trigger3 = time > 15

;強かくれんぼ
[State -1]
type = ChangeState
value = 1405
triggerall = palno != [7,10]
triggerall = command = "kakure_c"
trigger1 = statetype = A
trigger1 = ctrl
trigger2 = stateno = 71
trigger3 = stateno = 72
trigger4 = stateno = 73
trigger5 = stateno = 431

;弱あるじ？ぬし？
[State -1]
type = ChangeState
value = 1200
triggerall = command = "aruzi_a"
trigger1 = statetype = S
trigger1 = ctrl
trigger2 = stateno = [200,410]
trigger2 = movecontact || var(21) > 0
trigger3 = stateno = 101
trigger4 = stateno = 100
trigger5 = stateno = 5120
trigger5 = time > 15

;中あるじ？ぬし？
[State -1]
type = ChangeState
value = 1201
triggerall = command = "aruzi_b"
trigger1 = statetype = S
trigger1 = ctrl
trigger2 = stateno = [200,410]
trigger2 = movecontact || var(21) > 0
trigger3 = stateno = 101
trigger4 = stateno = 100
trigger5 = stateno = 5120
trigger5 = time > 15

;強あるじ？ぬし？
[State -1]
type = ChangeState
value = 1202
triggerall = command = "aruzi_c"
triggerall = var(47) = 1 || Var(46) >= 200
triggerall = var(46) >= 0
trigger1 = statetype = S
trigger1 = ctrl
trigger2 = stateno = [200,410]
trigger2 = movecontact || var(21) > 0
trigger3 = stateno = 101
trigger4 = stateno = 100
trigger5 = stateno = 5120
trigger5 = time > 15

;強あるじ？ぬし？
[State -1]
type = ChangeState
value = 1201
triggerall = command = "aruzi_c"
triggerall = var(47) = 1 || Var(46) < 200
triggerall = var(46) >= 0
trigger1 = statetype = S
trigger1 = ctrl
trigger2 = stateno = [200,410]
trigger2 = movecontact || var(21) > 0
trigger3 = stateno = 101
trigger4 = stateno = 100
trigger5 = stateno = 5120
trigger5 = time > 15

;弱ゆらめくひかり
[State -1]
type = ChangeState
value = 1500
triggerall = palno = [7,12]
triggerall = command = "aruzi_a"
trigger1 = statetype = A
trigger1 = ctrl
trigger2 = stateno = 71
trigger3 = stateno = 72 
trigger4 = stateno = 73 
trigger5 = stateno = 431

;中ゆらめくひかり
[State -1]
type = ChangeState
value = 1500
triggerall = palno = [7,12]
triggerall = command = "aruzi_b"
trigger1 = statetype = A
trigger1 = ctrl
trigger2 = stateno = 71
trigger3 = stateno = 72 
trigger4 = stateno = 73 
trigger5 = stateno = 431

;強ゆらめくひかり
[State -1]
type = ChangeState
value = 1500
triggerall = palno = [7,12]
triggerall = command = "aruzi_c"
trigger1 = statetype = A
trigger1 = ctrl
trigger2 = stateno = 71
trigger3 = stateno = 72 
trigger4 = stateno = 73 
trigger5 = stateno = 431

;弱チェーンブレイド
[State -1]
type = ChangeState
value = 1700
triggerall = command = "chain_x"
triggerall = palno = 12
trigger1 = statetype = S
trigger1 = ctrl
trigger2 = stateno = 200
trigger2 = movecontact || var(21) > 0
trigger3 = stateno = 210
trigger3 = movecontact || var(21) > 0
trigger4 = stateno = 220
trigger4 = movecontact || var(21) > 0
trigger5 = stateno = 400
trigger5 = movecontact || var(21) > 0
trigger6 = stateno = 410
trigger6 = movecontact || var(21) > 0
trigger7 = stateno = 101
trigger8 = stateno = 100

;強チェーンブレイド
[State -1]
type = ChangeState
value = 1701
triggerall = command = "chain_y"
triggerall = palno = 12
trigger1 = statetype = S
trigger1 = ctrl
trigger2 = stateno = 200
trigger2 = movecontact || var(21) > 0
trigger3 = stateno = 210
trigger3 = movecontact || var(21) > 0
trigger4 = stateno = 220
trigger4 = movecontact || var(21) > 0
trigger5 = stateno = 400
trigger5 = movecontact || var(21) > 0
trigger6 = stateno = 410
trigger6 = movecontact || var(21) > 0
trigger7 = stateno = 1700
trigger7 = time >= 10
trigger8 = stateno = 101
trigger9 = stateno = 100

;弱ディバインアロー
[State -1]
type = ChangeState
value = 1800
triggerall = command = "arrow_x"
triggerall = palno = 12
trigger1 = statetype = S
trigger1 = ctrl
trigger2 = stateno = 200
trigger2 = movecontact || var(21) > 0
trigger3 = stateno = 210
trigger3 = movecontact || var(21) > 0
trigger4 = stateno = 220
trigger4 = movecontact || var(21) > 0
trigger5 = stateno = 400
trigger5 = movecontact || var(21) > 0
trigger6 = stateno = 410
trigger6 = movecontact || var(21) > 0
trigger7 = stateno = 101
trigger8 = stateno = 100

;強ディバインアロー
[State -1]
type = ChangeState
value = 1801
triggerall = command = "arrow_y"
triggerall = palno = 12
trigger1 = statetype = S
trigger1 = ctrl
trigger2 = stateno = 200
trigger2 = movecontact || var(21) > 0
trigger3 = stateno = 210
trigger3 = movecontact || var(21) > 0
trigger4 = stateno = 220
trigger4 = movecontact || var(21) > 0
trigger5 = stateno = 400
trigger5 = movecontact || var(21) > 0
trigger6 = stateno = 410
trigger6 = movecontact || var(21) > 0
trigger7 = stateno = 101
trigger8 = stateno = 100

;インスタントチャージ
[State -1]
type = ChangeState
value = 2000
triggerall = command = "IC" 
triggerall = var(47) = 1 || Var(46) >= 200
triggerall = var(46) >= 0
trigger1 = (stateno = [200,299]) || (stateno = [400,499])
trigger1 = movecontact || var(21) > 0
trigger2 = (stateno = [600,640])
trigger2 = movecontact || var(21) > 0
trigger3 = stateno = 1200 && time >= 15
trigger4 = stateno = 1201 && time >= 15
trigger5 = stateno = 1202 && time >= 15
trigger6 = stateno = 1300 && time >= 25 && time <= 54
trigger7 = stateno = 1301 && time >= 25 && time <= 54
trigger8 = stateno = 1302 && time >= 25 && time <= 54
trigger9 = stateno = 1500 && time >= 40
trigger10 = stateno = 4001
trigger11 = stateno = 4006
trigger12 = stateno = 4100 && time >= 55
trigger13 = stateno = 4105 && time >= 55
trigger14 = stateno = 4201
trigger15 = stateno = 1100 && var(54) = 1
trigger16 = stateno = 1101 && var(54) = 1
trigger17 = stateno = 1102 && var(54) = 1
trigger18 = stateno = 1400 && time >= 40
trigger19 = stateno = 1402 && time >= 40
trigger20 = stateno = 1405 && time >= 40

;ダッシュ
[State -1]
type = ChangeState
value = 100
trigger1 = command = "FF"
trigger1 = statetype = S
trigger1 = ctrl

;後退ダッシュ
[State -1]
type = ChangeState
value = 105
trigger1 = command = "BB"
trigger1 = statetype = S
trigger1 = ctrl

;空中ダッシュ
[State -1]
type = ChangeState
value = 110
triggerall = Var(10) = 0
triggerall = command = "FF"
triggerall = Pos Y < -30
trigger1 = stateno = 600 
trigger1 = movecontact || var(21) > 0
trigger2 = stateno = 610 
trigger2 = movecontact || var(21) > 0
trigger3 = stateno = 620 
trigger3 = movecontact || var(21) > 0
trigger4 = stateno = 630 
trigger4 = movecontact || var(21) > 0
trigger5 = stateno = 601
trigger5 = movecontact || var(21) > 0
trigger6 = stateno = 611
trigger6 = movecontact || var(21) > 0
trigger7 = stateno = 621
trigger7 = movecontact || var(21) > 0
trigger8 = stateno = 631
trigger8 = movecontact || var(21) > 0

;空中バックダッシュ
[State -1]
type = ChangeState
value = 115
triggerall = Var(10) = 0
triggerall = command = "BB"
triggerall = Pos Y < -30
trigger1 = stateno = 600 
trigger1 = movecontact || var(21) > 0
trigger2 = stateno = 610 
trigger2 = movecontact || var(21) > 0
trigger3 = stateno = 620 
trigger3 = movecontact || var(21) > 0
trigger4 = stateno = 630 
trigger4 = movecontact || var(21) > 0
trigger5 = stateno = 601
trigger5 = movecontact || var(21) > 0
trigger6 = stateno = 611
trigger6 = movecontact || var(21) > 0
trigger7 = stateno = 621
trigger7 = movecontact || var(21) > 0
trigger8 = stateno = 631
trigger8 = movecontact || var(21) > 0

;空中ダッシュ
[State -1]
type = ChangeState
value = 110
triggerall = Var(10) = 0
triggerall = Pos Y < -30
triggerall = command = "FF"
triggerall = command != "holddown"
triggerall = statetype = A
trigger1 = ctrl
trigger2 = stateno = 71
trigger3 = stateno = 72
trigger4 = stateno = 73

;空中バックダッシュ
[State -1]
type = ChangeState
value = 115
triggerall = Var(10) = 0
triggerall = Pos Y < -30
triggerall = command != "holddown"
triggerall = command = "BB"
triggerall = statetype = A
trigger1 = ctrl
trigger2 = stateno = 71
trigger3 = stateno = 72
trigger4 = stateno = 73

;前投げ
[State -1]
type = ChangeState
value = 800
triggerall = command = "fwd_c"
triggerall = p2statetype  != A
triggerall = p2statetype != L
triggerall = P2bodyDist X <= 10
triggerall = P2Dist Y = [-40,10]
triggerall = FrontEdgeBodyDist > 140
trigger1 = statetype != A
trigger1 = ctrl

;後ろ投げ
[State -1]
type = ChangeState
value = 850
triggerall = command = "fwd_c"
triggerall = p2statetype  != A
triggerall = p2statetype != L
triggerall = P2bodyDist X <= 10
triggerall = P2Dist Y = [-40,10]
triggerall = FrontEdgeBodyDist <= 140
trigger1 = statetype != A
trigger1 = ctrl

;空中投げ
[State -1]
type = ChangeState
value = 900
triggerall = command = "fwd_c"
triggerall = p2statetype  = A
triggerall = p2statetype != L
triggerall = P2bodyDist X <= 10
triggerall = P2Dist Y = [-40,10]
triggerall = palno != [7,10]
trigger1 = statetype = A
trigger1 = ctrl
trigger2 = stateno = 71
trigger3 = stateno = 72
trigger4 = stateno = 73
trigger5 = stateno = 431

;弱攻撃
[State -1]
type = ChangeState
value = 200
triggerall = command = "a"
triggerall = command != "holddown"
triggerall = stateno != 101
trigger1 = statetype = S
trigger1 = ctrl
trigger2 = stateno = 200
trigger2 = movecontact || var(21) > 0
trigger3 = stateno = 52
trigger4 = stateno = 5120
trigger4 = time > 15

;弱攻撃（ダッシュ）
[State -1]
type = ChangeState
value = 205
triggerall = command = "a"
triggerall = command != "holddown"
trigger1 = stateno = 101
trigger2 = stateno = 100

;中攻撃
[State -1]
type = ChangeState
value = 210
triggerall = command = "b"
triggerall = command != "holddown"
triggerall = stateno != 101
triggerall = p2bodydist X >= 28
trigger1 = statetype = S
trigger1 = ctrl
trigger2 = stateno = 200
trigger2 = movecontact || var(21) > 0
trigger3 = stateno = 220
trigger3 = movecontact || var(21) > 0
trigger4 = stateno = 400
trigger4 = movecontact || var(21) > 0
trigger5 = stateno = 410
trigger5 = movecontact || var(21) > 0
trigger6 = stateno = 52
trigger7 = stateno = 5120
trigger7 = time > 15

;中攻撃
[State -1]
type = ChangeState
value = 220
triggerall = command = "b"
triggerall = command != "holddown"
triggerall = stateno != 101
triggerall = p2bodydist X < 28
trigger1 = statetype = S
trigger1 = ctrl
trigger2 = stateno = 200
trigger2 = movecontact || var(21) > 0
trigger3 = stateno = 220
trigger3 = movecontact || var(21) > 0
trigger4 = stateno = 400
trigger4 = movecontact || var(21) > 0
trigger5 = stateno = 410
trigger5 = movecontact || var(21) > 0
trigger6 = stateno = 52
trigger7 = stateno = 5120
trigger7 = time > 15

;中攻撃（ダッシュ）
[State -1]
type = ChangeState
value = 225
triggerall = command = "b"
triggerall = command != "holddown"
trigger1 = stateno = 101
trigger2 = stateno = 100

;強攻撃
[State -1]
type = ChangeState
value = 230
triggerall = command = "c"
triggerall = command != "holddown"
triggerall = stateno != 101
trigger1 = statetype = S
trigger1 = ctrl
trigger2 = stateno = 200
trigger2 = movecontact || var(21) > 0
trigger3 = stateno = 210
trigger3 = movecontact || var(21) > 0
trigger4 = stateno = 220
trigger4 = movecontact || var(21) > 0
trigger5 = stateno = 400
trigger5 = movecontact || var(21) > 0
trigger6 = stateno = 410
trigger6 = movecontact || var(21) > 0
trigger7 = stateno = 52
trigger8 = stateno = 5120
trigger8 = time > 15

;強攻撃（ダッシュ）
[State -1]
type = ChangeState
value = 235
triggerall = command = "c"
triggerall = command != "holddown"
trigger1 = stateno = 101
trigger2 = stateno = 100

;浮遊
[State -1]
type = ChangeState
value = 70
triggerall = command = "z"
triggerall = var(52) = 0
triggerall = var(53) = 0
triggerall = Var(10) = 0
trigger1 = var(11) = 0
trigger1 = ctrl
trigger2 = movecontact || var(21) > 0
trigger2 = stateno = [600,699]
trigger3 = stateno = [200,450]
trigger3 = movecontact || var(21) > 0
trigger4 = stateno = 52
trigger5 = stateno = 5120
trigger5 = time > 15

;しゃがみ弱攻撃
[State -1]
type = ChangeState
value = 400
triggerall = command = "a"
triggerall = command = "holddown"
triggerall = stateno != 101
trigger1 = statetype = C
trigger1 = ctrl
trigger2 = stateno = 400
trigger2 = movecontact || var(21) > 0
trigger3 = stateno = 200
trigger3 = movecontact || var(21) > 0
trigger4 = stateno = 52
trigger5 = stateno = 5120
trigger5 = time > 15

;しゃがみ弱攻撃（ダッシュ）
[State -1]
type = ChangeState
value = 405
triggerall = command = "a"
triggerall = command = "holddown"
trigger1 = stateno = 101
trigger2 = stateno = 100

;しゃがみ中攻撃
[State -1]
type = ChangeState
value = 410
triggerall = command = "b"
triggerall = command = "holddown"
triggerall = stateno != 101
trigger1 = statetype = C
trigger1 = ctrl
trigger2 = stateno = 200
trigger2 = movecontact || var(21) > 0
trigger3 = stateno = 400
trigger3 = movecontact || var(21) > 0
trigger4 = stateno = 220
trigger4 = movecontact || var(21) > 0
trigger5 = stateno = 410
trigger5 = movecontact || var(21) > 0
trigger6 = stateno = 52
trigger7 = stateno = 5120
trigger7 = time > 15

;しゃがみ中攻撃（ダッシュ）
[State -1]
type = ChangeState
value = 415
triggerall = command = "b"
triggerall = command = "holddown"
trigger1 = stateno = 101
trigger2 = stateno = 100

;しゃがみ強攻撃
[State -1]
type = ChangeState
value = 420
triggerall = command = "c"
triggerall = command = "holddown"
triggerall = stateno != 101
trigger1 = statetype = C
trigger1 = ctrl
trigger2 = stateno = 200
trigger2 = movecontact || var(21) > 0
trigger3 = stateno = 400
trigger3 = movecontact || var(21) > 0
trigger4 = stateno = 210
trigger4 = movecontact || var(21) > 0
trigger5 = stateno = 220
trigger5 = movecontact || var(21) > 0
trigger6 = stateno = 410
trigger6 = movecontact || var(21) > 0
trigger7 = stateno = 52
trigger8 = stateno = 5120
trigger8 = time > 15

;しゃがみ強攻撃（ダッシュ）
[State -1]
type = ChangeState
value = 430
triggerall = command = "c"
triggerall = command = "holddown"
trigger1 = stateno = 101
trigger2 = stateno = 100

;空中弱攻撃
[State -1]
type = ChangeState
value = 600
triggerall = command = "a"
triggerall = stateno != [71,73]
trigger1 = statetype = A
trigger1 = ctrl
trigger2 = stateno = 431
trigger3 = stateno = 600 
trigger3 = movecontact || var(21) > 0
trigger4 = prevstateno != [70,73]
trigger4 = stateno = [110,119]

;空中弱攻撃
[State -1]
type = ChangeState
value = 601
triggerall = command = "a"
trigger1 = stateno = 71
trigger2 = stateno = 72 
trigger3 = stateno = 73
trigger4 = stateno = 601 
trigger4 = movecontact || var(21) > 0

;空中中攻撃
[State -1]
type = ChangeState
value = 610
triggerall = command = "b"
triggerall = stateno != [71,73]
trigger1 = statetype = A
trigger1 = ctrl
trigger2 = stateno = 600 
trigger2 = movecontact || var(21) > 0
trigger3 = stateno = 431
trigger4 = prevstateno != [70,73]
trigger4 = stateno = [110,119]

;空中中攻撃
[State -1]
type = ChangeState
value = 611
triggerall = command = "b"
trigger1 = stateno = 71
trigger2 = stateno = 72 
trigger3 = stateno = 73 
trigger4 = stateno = 601
trigger4 = movecontact || var(21) > 0

;空中強攻撃
[State -1]
type = ChangeState
value = 620
triggerall = command = "c"
triggerall = command != "holdfwd"
triggerall = stateno != [71,73]
trigger1 = statetype = A
trigger1 = ctrl
trigger2 = stateno = 600 
trigger2 = movecontact || var(21) > 0
trigger3 = stateno = 610 
trigger3 = movecontact || var(21) > 0
trigger4 = stateno = 431
trigger5 = prevstateno != [70,73]
trigger5 = stateno = [110,119]

;空中強攻撃
[State -1]
type = ChangeState
value = 622
triggerall = command = "c"
triggerall = command != "holdfwd"
trigger1 = stateno = 71
trigger2 = stateno = 72 
trigger3 = stateno = 73 
trigger4 = stateno = 601
trigger4 = movecontact || var(21) > 0
trigger5 = stateno = 611
trigger5 = movecontact || var(21) > 0

;空中強攻撃
[State -1]
type = ChangeState
value = 630
triggerall = command = "fwd_c"
triggerall = command = "holdfwd"
triggerall = stateno != [71,73]
trigger1 = statetype = A
trigger1 = ctrl
trigger2 = stateno = 600 
trigger2 = movecontact || var(21) > 0
trigger3 = stateno = 610 
trigger3 = movecontact || var(21) > 0
trigger4 = stateno = 431

;空中強攻撃
[State -1]
type = ChangeState
value = 631
triggerall = command = "fwd_c"
triggerall = command = "holdfwd"
trigger1 = stateno = 71
trigger2 = stateno = 72 
trigger3 = stateno = 73 
trigger4 = stateno = 601
trigger4 = movecontact || var(21) > 0
trigger5 = stateno = 611
trigger5 = movecontact || var(21) > 0

;ジャンプ
[State -1]
type = ChangeState
value = 40
triggerall = statetype != A
triggerall = command = "holdup"
trigger1 = stateno = [200,450]
trigger1 = movecontact || var(21) > 0
trigger2 = stateno = 5120
trigger2 = time > 15

;空中ジャンプ
[State -1]
type = ChangeState
value = 45
triggerall = statetype = A
triggerall = command = "holdup"
triggerall = var(52) = 0
triggerall = var(53) = 0
triggerall = Var(10) = 0
trigger1 = stateno = 50
trigger2 = stateno = 51
trigger3 = stateno = 102
trigger4 = stateno = 107
trigger5 = stateno = 111
trigger6 = stateno = 116
trigger7 = stateno = 600 
trigger7 = movecontact || var(21) > 0
trigger7 = var(10) = 0
trigger8 = stateno = 610 
trigger8 = movecontact || var(21) > 0
trigger8 = var(10) = 0
trigger9 = stateno = 620 
trigger9 = movecontact || var(21) > 0
trigger9 = var(10) = 0
trigger10 = stateno = 630 
trigger10 = movecontact || var(21) > 0
trigger10 = var(10) = 0

;弱かくれんぼ
[State -1]
type = ChangeState
value = 1400
triggerall = palno = 12
triggerall = command != "arrow_x"
triggerall = command != "chain_x"
triggerall = command != "arrow_y"
triggerall = command != "chain_y"
triggerall = command != "beam"
triggerall = command != "mu"
triggerall = command = "x"
trigger1 = var(30) = 0
trigger1 = statetype = S
trigger1 = movetype = A
trigger1 = stateno != [3100,4999]
trigger1 = stateno != [5100,5290]
trigger1 = stateno != [1400,1490]

;弱かくれんぼ
[State -1]
type = ChangeState
value = 1401
triggerall = palno = 12
triggerall = command != "arrow_x"
triggerall = command != "chain_x"
triggerall = command != "arrow_y"
triggerall = command != "chain_y"
triggerall = command != "beam"
triggerall = command != "mu"
triggerall = command = "x"
trigger1 = var(30) = 0
trigger1 = statetype = A
trigger1 = movetype = A
trigger1 = stateno != [3100,4999]
trigger1 = stateno != [5100,5290]
trigger1 = stateno != [1400,1490]

;中かくれんぼ
[State -1]
type = ChangeState
value = 1402
triggerall = palno = 12
triggerall = command != "arrow_x"
triggerall = command != "chain_x"
triggerall = command != "arrow_y"
triggerall = command != "chain_y"
triggerall = command != "beam"
triggerall = command != "gouka"
triggerall = command = "y"
trigger1 = var(30) = 0
trigger1 = statetype = S
trigger1 = movetype = A
trigger1 = stateno != [3100,4999]
trigger1 = stateno != [5100,5290]
trigger1 = stateno != [1400,1490]

;中かくれんぼ
[State -1]
type = ChangeState
value = 1403
triggerall = palno = 12
triggerall = command != "arrow_x"
triggerall = command != "chain_x"
triggerall = command != "arrow_y"
triggerall = command != "chain_y"
triggerall = command != "beam"
triggerall = command != "gouka"
triggerall = command = "y"
trigger1 = var(30) = 0
trigger1 = statetype = A
trigger1 = movetype = A
trigger1 = stateno != [3100,4999]
trigger1 = stateno != [5100,5290]
trigger1 = stateno != [1400,1490]

;強かくれんぼ
[State -1]
type = ChangeState
value = 1404
triggerall = palno = 12
triggerall = command = "z"
trigger1 = var(30) = 0
trigger1 = statetype = S
trigger1 = movetype = A
trigger1 = stateno != [3100,4999]
trigger1 = stateno != [5100,5290]
trigger1 = stateno != [1400,1490]

;強かくれんぼ
[State -1]
type = ChangeState
value = 1405
triggerall = palno = 12
triggerall = command = "z"
trigger1 = var(30) = 0
trigger1 = statetype = A
trigger1 = movetype = A
trigger1 = stateno != [3100,4999]
trigger1 = stateno != [5100,5290]
trigger1 = stateno != [1400,1490]

;着地ダッシュ
[State -1]
type = VarSet
triggerall = command = "FF"
trigger1 = stateno = [50,52]
v = 22
value = 1

;着地ダッシュ
[State -1]
type = VarSet
triggerall = command = "BB"
trigger1 = stateno = [50,52]
v = 22
value = 2