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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

;-| Super Motions |--------------------------------------------------------

[Command]
name = "haha"
command = ~a, a, D, b, c
time = 40

[Command]
name = "tori"
command = ~D, DF, F, D, DF, F, z
time = 30

[Command]
name = "goal"
command = ~D, DF, F, D, DF, F, a
time = 30

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

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

[Command]
name = "pinch_a"
command = ~D, DB, B, D, DB, B, a
time = 30

[Command]
name = "pinch_b"
command = ~D, DB, B, D, DB, B, b
time = 30

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

[Command]
name = "ishi_x"
command = ~D, DB, B, z
time = 15

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

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

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

[Command]
name = "IC_z"
command = ~D, D, z
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 = a+b
time = 1

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

[Command]
name = "fwd_x"
command = /F,x
time = 1

[Command]
name = "fwd_y"
command = /F,y
time = 1

[Command]
name = "fwd_z"
command = /F,z
time = 1

[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 -1]
type = ChangeState
value = 3000
triggerall = RoundState = 2
triggerall = command = "goal"
triggerall = Power >= 1000
trigger1 = statetype = S
trigger1 = ctrl
trigger2 = stateno = [200, 220]
trigger2 = movecontact
trigger3 = stateno = [400, 420]
trigger3 = movecontact
trigger4 = stateno = 52

;ダブル強がおがおファイアー
[State -1]
type = ChangeState
value = 3001
triggerall = RoundState = 2
triggerall = command = "gaogao"
triggerall = Power >= 1000
trigger1 = statetype = S
trigger1 = ctrl
trigger2 = stateno = [200, 220]
trigger2 = movecontact
trigger3 = stateno = [400, 420]
trigger3 = movecontact
trigger4 = stateno = 52

;未定
[State -1]
type = ChangeState
value = 3002
triggerall = RoundState = 2
triggerall = command = "gao_c"
triggerall = Power >= 1000
trigger1 = statetype = S
trigger1 = ctrl
trigger2 = stateno = [200, 220]
trigger2 = movecontact
trigger3 = stateno = [400, 420]
trigger3 = movecontact
trigger4 = stateno = 52

;弱観鈴ちんピンチ
[State -1]
type = ChangeState
value = 3100
triggerall = RoundState = 2
triggerall = command = "pinch_a"
triggerall = Power >= 1000
trigger1 = statetype = S
trigger1 = ctrl
trigger2 = stateno = [200, 220]
trigger2 = movecontact
trigger3 = stateno = [400, 420]
trigger3 = movecontact
trigger4 = stateno = 52

;中観鈴ちんピンチ
[State -1]
type = ChangeState
value = 3102
triggerall = RoundState = 2
triggerall = command = "pinch_b"
triggerall = Power >= 1000
trigger1 = statetype = S
trigger1 = ctrl
trigger2 = stateno = [200, 220]
trigger2 = movecontact
trigger3 = stateno = [400, 420]
trigger3 = movecontact
trigger4 = stateno = 52

;強観鈴ちんピンチ
[State -1]
type = ChangeState
value = 3104
triggerall = RoundState = 2
triggerall = command = "pinch_c"
triggerall = Power >= 1000
trigger1 = statetype = S
trigger1 = ctrl
trigger2 = stateno = [200, 220]
trigger2 = movecontact
trigger3 = stateno = [400, 420]
trigger3 = movecontact
trigger4 = stateno = 52

;強縁
[State -1]
type = ChangeState
value = 3202
triggerall = RoundState = 2
triggerall = command = "en_c"
triggerall = Power >= 1000
trigger1 = statetype = S
trigger1 = ctrl
trigger2 = stateno = [200, 220]
trigger2 = movecontact
trigger3 = stateno = [400, 420]
trigger3 = movecontact
trigger4 = stateno = 52

;七ツ枝ノ宝剣
[State -1]
type = ChangeState
value = 3400
triggerall = RoundState = 2
triggerall = command = "super_z"
triggerall = Power >= 3000
trigger1 = statetype = S
trigger1 = ctrl
trigger2 = stateno = [200, 220]
trigger2 = movecontact
trigger3 = stateno = [400, 420]
trigger3 = movecontact
trigger4 = stateno = 52

;解キ放ツ白銀ノ剣
[State -1]
type = ChangeState
value = 3500
triggerall = RoundState = 2
triggerall = command = "super_y"
triggerall = Power >= 3000
trigger1 = statetype = A
trigger1 = ctrl
trigger2 = stateno = [600, 620]
trigger2 = movecontact
trigger3 = stateno = 111
trigger4 = stateno = 116

;吹キ荒ブ天ノ此花
[State -1]
type = ChangeState
value = 3600
triggerall = RoundState = 2
triggerall = command = "super_x"
triggerall = Power >= 3000
trigger1 = statetype = S
trigger1 = ctrl
trigger2 = stateno = [200, 220]
trigger2 = movecontact
trigger3 = stateno = [400, 420]
trigger3 = movecontact
trigger4 = stateno = 52

;強往人
[State -1]
type = ChangeState
value = 3232
triggerall = RoundState = 2
triggerall = command = "sora_c"
triggerall = var(1) = 1
triggerall = var(36) > 0
trigger1 = statetype = S
trigger1 = ctrl
trigger2 = stateno = [200, 220]
trigger2 = movecontact
trigger3 = stateno = [400, 420]
trigger3 = movecontact
trigger4 = stateno = 52

;強そらアタック
[State -1]
type = ChangeState
value = 1402
triggerall = RoundState = 2
triggerall = command = "sora_c"
triggerall = var(1) = 1
triggerall = var(8) = 1 || Var(7) >= 200
triggerall = var(7) >= 0
triggerall = var(36) = 0
trigger1 = statetype = S
trigger1 = ctrl
trigger2 = stateno = [200, 220]
trigger2 = movecontact
trigger3 = stateno = [400, 420]
trigger3 = movecontact
trigger4 = stateno = 52

;強そらアタック
[State -1]
type = ChangeState
value = 1401
triggerall = RoundState = 2
triggerall = command = "sora_c"
triggerall = var(1) = 1
triggerall = var(8) = 1 || Var(7) < 200
triggerall = var(7) >= 0
triggerall = var(36) = 0
trigger1 = statetype = S
trigger1 = ctrl
trigger2 = stateno = [200, 220]
trigger2 = movecontact
trigger3 = stateno = [400, 420]
trigger3 = movecontact
trigger4 = stateno = 52

;強翼
[State -1]
type = ChangeState
value = 1120
triggerall = RoundState = 2
triggerall = command = "tsubasa_c"
triggerall = var(8) = 1 || Var(7) >= 200
triggerall = var(7) >= 0
trigger1 = statetype = S
trigger1 = ctrl
trigger2 = stateno = [200, 220]
trigger2 = movecontact
trigger3 = stateno = [400, 420]
trigger3 = movecontact
trigger4 = stateno = 52

;強翼
[State -1]
type = ChangeState
value = 1110
triggerall = RoundState = 2
triggerall = command = "tsubasa_c"
triggerall = var(8) = 1 || Var(7) < 200
triggerall = var(7) >= 0
trigger1 = statetype = S
trigger1 = ctrl
trigger2 = stateno = [200, 220]
trigger2 = movecontact
trigger3 = stateno = [400, 420]
trigger3 = movecontact
trigger4 = stateno = 52

;空中強翼
[State -1]
type = ChangeState
value = 1125
triggerall = RoundState = 2
triggerall = command = "tsubasa_c"
triggerall = var(8) = 1 || Var(7) >= 200
triggerall = var(7) >= 0
trigger1 = statetype = A
trigger1 = ctrl
trigger2 = stateno = [600, 620]
trigger2 = movecontact
trigger3 = stateno = 111
trigger4 = stateno = 116

;空中強翼
[State -1]
type = ChangeState
value = 1115
triggerall = RoundState = 2
triggerall = command = "tsubasa_c"
triggerall = var(8) = 1 || Var(7) < 200
triggerall = var(7) >= 0
trigger1 = statetype = A
trigger1 = ctrl
trigger2 = stateno = [600, 620]
trigger2 = movecontact
trigger3 = stateno = 111
trigger4 = stateno = 116

;強不幸の塊
[State -1]
type = ChangeState
value = 1306
triggerall = RoundState = 2
triggerall = command = "hukou_c"
triggerall = var(8) = 1 || Var(7) >= 200
triggerall = var(7) >= 0
trigger1 = statetype = S
trigger1 = ctrl
trigger2 = stateno = [200, 220]
trigger2 = movecontact
trigger3 = stateno = [400, 420]
trigger3 = movecontact
trigger4 = stateno = 52

;強不幸の塊
[State -1]
type = ChangeState
value = 1305
triggerall = RoundState = 2
triggerall = command = "hukou_c"
triggerall = var(8) = 1 || Var(7) < 200
triggerall = var(7) >= 0
trigger1 = statetype = S
trigger1 = ctrl
trigger2 = stateno = [200, 220]
trigger2 = movecontact
trigger3 = stateno = [400, 420]
trigger3 = movecontact
trigger4 = stateno = 52

;強どろり濃厚
[State -1]
type = ChangeState
value = 1202
triggerall = RoundState = 2
triggerall = command = "dorori_c"
triggerall = var(8) = 1 || Var(7) >= 200
triggerall = var(7) >= 0
triggerall = NumHelper(1230)!
trigger1 = statetype = S
trigger1 = ctrl
trigger2 = stateno = [200, 220]
trigger2 = movecontact
trigger3 = stateno = [400, 420]
trigger3 = movecontact
trigger4 = stateno = 52

;強どろり濃厚
[State -1]
type = ChangeState
value = 1201
triggerall = RoundState = 2
triggerall = command = "dorori_c"
triggerall = var(8) = 1 || Var(7) < 200
triggerall = var(7) >= 0
triggerall = NumHelper(1220)!
trigger1 = statetype = S
trigger1 = ctrl
trigger2 = stateno = [200, 220]
trigger2 = movecontact
trigger3 = stateno = [400, 420]
trigger3 = movecontact
trigger4 = stateno = 52

;強天津鷹ノ弓
[State -1]
type = ChangeState
value = 2201
triggerall = RoundState = 2
triggerall = command = "yumi_z"
triggerall = var(8) = 1 || Var(7) >= 200
triggerall = var(7) >= 0
trigger1 = statetype = S
trigger1 = ctrl
trigger2 = stateno = [200, 220]
trigger2 = movecontact
trigger3 = stateno = [400, 420]
trigger3 = movecontact
trigger4 = stateno = 52

;強天津鷹ノ弓
[State -1]
type = ChangeState
value = 2200
triggerall = RoundState = 2
triggerall = command = "yumi_z"
triggerall = var(8) = 1 || Var(7) < 200
triggerall = var(7) >= 0
trigger1 = statetype = S
trigger1 = ctrl
trigger2 = stateno = [200, 220]
trigger2 = movecontact
trigger3 = stateno = [400, 420]
trigger3 = movecontact
trigger4 = stateno = 52

;強空翔ケル二重ノ螺旋
[State -1]
type = ChangeState
value = 2101
triggerall = RoundState = 2
triggerall = command = "rasen_z"
triggerall = var(8) = 1 || Var(7) >= 200
triggerall = var(7) >= 0
trigger1 = statetype = S
trigger1 = ctrl
trigger2 = stateno = [200, 220]
trigger2 = movecontact
trigger3 = stateno = [400, 420]
trigger3 = movecontact
trigger4 = stateno = 52

;強空翔ケル二重ノ螺旋
[State -1]
type = ChangeState
value = 2100
triggerall = RoundState = 2
triggerall = command = "rasen_z"
triggerall = var(8) = 1 || Var(7) < 200
triggerall = var(7) >= 0
trigger1 = statetype = S
trigger1 = ctrl
trigger2 = stateno = [200, 220]
trigger2 = movecontact
trigger3 = stateno = [400, 420]
trigger3 = movecontact
trigger4 = stateno = 52

;弱草薙シ光ノ刃
[State -1]
type = ChangeState
value = 2000
triggerall = RoundState = 2
triggerall = command = "yaiba_x"
trigger1 = statetype = S
trigger1 = ctrl
trigger2 = stateno = [200, 220]
trigger2 = movecontact
trigger3 = stateno = [400, 420]
trigger3 = movecontact
trigger4 = stateno = 52

;強草薙シ光ノ刃
[State -1]
type = ChangeState
value = 2001
triggerall = RoundState = 2
triggerall = command = "yaiba_z"
triggerall = var(8) = 1 || Var(7) >= 200
triggerall = var(7) >= 0
trigger1 = statetype = S
trigger1 = ctrl
trigger2 = stateno = [200, 220]
trigger2 = movecontact
trigger3 = stateno = [400, 420]
trigger3 = movecontact
trigger4 = stateno = 52

;強草薙シ光ノ刃
[State -1]
type = ChangeState
value = 2000
triggerall = RoundState = 2
triggerall = command = "yaiba_z"
triggerall = var(8) = 1 || Var(7) < 200
triggerall = var(7) >= 0
trigger1 = statetype = S
trigger1 = ctrl
trigger2 = stateno = [200, 220]
trigger2 = movecontact
trigger3 = stateno = [400, 420]
trigger3 = movecontact
trigger4 = stateno = 52

;弱不幸ノ塊
[State -1]
type = ChangeState
value = 1300
triggerall = RoundState = 2
triggerall = command = "hukou_x"

trigger1 = statetype = S
trigger1 = ctrl
trigger2 = stateno = [200, 220]
trigger2 = movecontact
trigger3 = stateno = [400, 420]
trigger3 = movecontact
trigger4 = stateno = 52

;中不幸ノ塊
[State -1]
type = ChangeState
value = 1301
triggerall = RoundState = 2
triggerall = command = "hukou_y"
trigger1 = statetype = S
trigger1 = ctrl
trigger2 = stateno = [200, 220]
trigger2 = movecontact
trigger3 = stateno = [400, 420]
trigger3 = movecontact
trigger4 = stateno = 52

;強不幸ノ塊
[State -1]
type = ChangeState
value = 1302
triggerall = RoundState = 2
triggerall = command = "hukou_z"
triggerall = var(8) = 1 || Var(7) >= 200
triggerall = var(7) >= 0
trigger1 = statetype = S
trigger1 = ctrl
trigger2 = stateno = [200, 220]
trigger2 = movecontact
trigger3 = stateno = [400, 420]
trigger3 = movecontact
trigger4 = stateno = 52

;強不幸ノ塊
[State -1]
type = ChangeState
value = 1301
triggerall = RoundState = 2
triggerall = command = "hukou_z"
triggerall = var(8) = 1 || Var(7) < 200
triggerall = var(7) >= 0
trigger1 = statetype = S
trigger1 = ctrl
trigger2 = stateno = [200, 220]
trigger2 = movecontact
trigger3 = stateno = [400, 420]
trigger3 = movecontact
trigger4 = stateno = 52

;弱天ヲ仰グ月ノ石
[State -1]
type = ChangeState
value = 2300
triggerall = RoundState = 2
triggerall = command = "ishi_x"
triggerall = NumHelper(2310)!
trigger1 = statetype = S
trigger1 = ctrl
trigger2 = stateno = [200, 220]
trigger2 = movecontact
trigger3 = stateno = [400, 420]
trigger3 = movecontact
trigger4 = stateno = 52

;中天ヲ仰グ月ノ石
[State -1]
type = ChangeState
value = 2301
triggerall = RoundState = 2
triggerall = command = "ishi_y"
triggerall = NumHelper(2310)!
trigger1 = statetype = S
trigger1 = ctrl
trigger2 = stateno = [200, 220]
trigger2 = movecontact
trigger3 = stateno = [400, 420]
trigger3 = movecontact
trigger4 = stateno = 52

;強天ヲ仰グ月ノ石
[State -1]
type = ChangeState
value = 2302
triggerall = RoundState = 2
triggerall = command = "ishi_z"
triggerall = NumHelper(2310)!
trigger1 = statetype = S
trigger1 = ctrl
trigger2 = stateno = [200, 220]
trigger2 = movecontact
trigger3 = stateno = [400, 420]
trigger3 = movecontact
trigger4 = stateno = 52

;インスタントチャージ
[State -1]
type = ChangeState
value = 900
triggerall = RoundState = 2
triggerall = command = "IC_c" 
triggerall = var(8) = 1 || Var(7) >= 200
triggerall = var(7) >= 0
trigger1 = stateno = [220,239]
trigger1 = movecontact
trigger2 = stateno = 420
trigger2 = movecontact
trigger3 = stateno = 620
trigger3 = movecontact
trigger4 = stateno = [1100,1125]
trigger4 = movecontact
trigger5 = stateno = [2100,2107]
trigger5 = movecontact
trigger6 = stateno = 3400
trigger6 = movecontact
trigger7 = stateno = 3231 && time >= 10

;ダッシュ
[State -1]
type = ChangeState
value = 100
triggerall = command = "FF"
triggerall = 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 = command = "FF"
triggerall = command != "holddown"
triggerall = statetype = A
triggerall = Var(2) = 0
triggerall = Pos Y <= -20
trigger1 = ctrl
trigger2 = stateno = 111
trigger3 = stateno = 116

;空中バックダッシュ
[State -1]
type = ChangeState
value = 115
triggerall = command = "BB"
triggerall = command != "holddown"
triggerall = statetype = A
triggerall = Var(2) = 0
triggerall = Pos Y <= -20
trigger1 = ctrl
trigger2 = stateno = 111
trigger3 = stateno = 116

;投げ
[State -1]
type = ChangeState
value = 800
triggerall = RoundState = 2
triggerall = command = "fwd_c"
triggerall = p2statetype != A
triggerall = p2movetype != H
triggerall = P2Dist X = [0,40]
trigger1 = statetype != A
trigger1 = ctrl

;空中投げ
[State -1]
type = ChangeState
value = 850
triggerall = RoundState = 2
triggerall = command = "fwd_c"
triggerall = p2statetype = A
triggerall = p2movetype != H
triggerall = P2Dist X = [0,40]
triggerall = P2Dist Y = [-40,40]
trigger1 = statetype = A
trigger1 = ctrl

;クラッシュ
[State -1]
type = ChangeState
value = 230
triggerall = RoundState = 2
triggerall = command = "fwd_c"
trigger1 = statetype = S
trigger1 = ctrl
trigger2 = stateno = [200,215]
trigger2 = movecontact
trigger3 = stateno = [400,410]
trigger3 = movecontact

;弱攻撃
[State -1]
type = ChangeState
value = 200
triggerall = RoundState = 2
triggerall = command = "a"
triggerall = command != "holddown"
triggerall = stateno != 101
trigger1 = statetype = S
trigger1 = ctrl
trigger2 = stateno = 200
trigger2 = movecontact
trigger3 = stateno = 400
trigger3 = movecontact
trigger4 = stateno = 52

;中攻撃
[State -1]
type = ChangeState
value = 210
triggerall = RoundState = 2
triggerall = command = "b"
triggerall = command != "holddown"
triggerall = stateno != 101
triggerall = p2bodydist X < 50
trigger1 = statetype = S
trigger1 = ctrl
trigger2 = stateno = 200
trigger2 = movecontact
trigger3 = stateno = [400,410]
trigger3 = movecontact
trigger4 = stateno = 52

;中攻撃
[State -1]
type = ChangeState
value = 215
triggerall = RoundState = 2
triggerall = command = "b"
triggerall = command != "holddown"
triggerall = stateno != 101
trigger1 = statetype = S
trigger1 = ctrl
trigger2 = stateno = [200,210]
trigger2 = movecontact
trigger3 = stateno = [400,410]
trigger3 = movecontact
trigger4 = stateno = 52

;強攻撃
[State -1]
type = ChangeState
value = 220
triggerall = RoundState = 2
triggerall = command = "c"
triggerall = command != "holddown"
triggerall = stateno != 101
trigger1 = statetype = S
trigger1 = ctrl
trigger2 = stateno = [200,215]
trigger2 = movecontact
trigger3 = stateno = [400,410]
trigger3 = movecontact
trigger4 = stateno = 52

;しゃがみ弱攻撃
[State -1]
type = ChangeState
value = 400
triggerall = RoundState = 2
triggerall = command = "a"
triggerall = command = "holddown"
triggerall = stateno != 101
trigger1 = statetype = C
trigger1 = ctrl
trigger2 = stateno = 200
trigger2 = movecontact
trigger3 = stateno = 400
trigger3 = movecontact
trigger4 = stateno = 52

;しゃがみ中攻撃
[State -1]
type = ChangeState
value = 410
triggerall = RoundState = 2
triggerall = command = "b"
triggerall = command = "holddown"
triggerall = stateno != 101
trigger1 = statetype = C
trigger1 = ctrl
trigger2 = stateno = [200,210]
trigger2 = movecontact
trigger3 = stateno = [400,410]
trigger3 = movecontact
trigger4 = stateno = 52

;しゃがみ強攻撃
[State -1]
type = ChangeState
value = 420
triggerall = RoundState = 2
triggerall = command = "c"
triggerall = command = "holddown"
triggerall = stateno != 101
trigger1 = statetype = C
trigger1 = ctrl
trigger2 = stateno = [200,215]
trigger2 = movecontact
trigger3 = stateno = [400,410]
trigger3 = movecontact
trigger4 = stateno = 52

;空中弱攻撃
[State -1]
type = ChangeState
value = 600
triggerall = RoundState = 2
triggerall = command = "a"
triggerall = statetype = A
trigger1 = ctrl
trigger2 = stateno = 111
trigger3 = stateno = 116

;空中中攻撃
[State -1]
type = ChangeState
value = 610
triggerall = RoundState = 2
triggerall = command = "b"
triggerall = statetype = A
trigger1 = ctrl
trigger2 = stateno = 600
trigger2 = movecontact
trigger3 = stateno = 111
trigger4 = stateno = 116

;空中強攻撃
[State -1]
type = ChangeState
value = 620
triggerall = RoundState = 2
triggerall = command = "c"
triggerall = statetype = A
trigger1 = ctrl
trigger2 = stateno = [600,610]
trigger2 = movecontact
trigger3 = stateno = 111
trigger4 = stateno = 116

;インスタントチャージ
[State -1]
type = ChangeState
value = 900
triggerall = RoundState = 2
triggerall = command = "IC_z"
triggerall = var(8) = 1 || Var(7) >= 200
triggerall = var(7) >= 0
trigger1 = stateno = [220,239]
trigger1 = movecontact
trigger2 = stateno = 420
trigger2 = movecontact
trigger3 = stateno = 620
trigger3 = movecontact
trigger4 = stateno = [1100,1125]
trigger4 = movecontact
trigger5 = stateno = [2100,2107]
trigger5 = movecontact
trigger6 = stateno = 3400
trigger6 = movecontact
trigger7 = stateno = 3231 && time >= 10

;投げ
[State -1]
type = ChangeState
value = 800
triggerall = RoundState = 2
triggerall = command = "fwd_z"
triggerall = p2statetype != A
triggerall = p2movetype != H
triggerall = P2Dist X = [0,40]
trigger1 = statetype != A
trigger1 = ctrl

;空中投げ
[State -1]
type = ChangeState
value = 850
triggerall = RoundState = 2
triggerall = command = "fwd_z"
triggerall = p2statetype = A
triggerall = p2movetype != H
triggerall = P2Dist X = [0,40]
triggerall = P2Dist Y = [-40,40]
trigger1 = statetype = A
trigger1 = ctrl

;クラッシュ
[State -1]
type = ChangeState
value = 230
triggerall = RoundState = 2
triggerall = command = "fwd_z"
trigger1 = statetype = S
trigger1 = ctrl
trigger2 = stateno = [200,215]
trigger2 = movecontact
trigger3 = stateno = [400,410]
trigger3 = movecontact

;弱攻撃
[State -1]
type = ChangeState
value = 200
triggerall = RoundState = 2
triggerall = command = "x"
triggerall = command != "holddown"
triggerall = stateno != 101
trigger1 = statetype = S
trigger1 = ctrl
trigger2 = stateno = 200
trigger2 = movecontact
trigger3 = stateno = 400
trigger3 = movecontact
trigger4 = stateno = 52

;中攻撃
[State -1]
type = ChangeState
value = 210
triggerall = RoundState = 2
triggerall = command = "y"
triggerall = command != "holddown"
triggerall = stateno != 101
triggerall = p2bodydist X < 50
trigger1 = statetype = S
trigger1 = ctrl
trigger2 = stateno = 200
trigger2 = movecontact
trigger3 = stateno = [400,410]
trigger3 = movecontact
trigger4 = stateno = 52

;中攻撃
[State -1]
type = ChangeState
value = 215
triggerall = RoundState = 2
triggerall = command = "y"
triggerall = command != "holddown"
triggerall = stateno != 101
trigger1 = statetype = S
trigger1 = ctrl
trigger2 = stateno = [200,210]
trigger2 = movecontact
trigger3 = stateno = [400,410]
trigger3 = movecontact
trigger4 = stateno = 52

;強攻撃
[State -1]
type = ChangeState
value = 220
triggerall = RoundState = 2
triggerall = command = "z"
triggerall = command != "holddown"
triggerall = stateno != 101
trigger1 = statetype = S
trigger1 = ctrl
trigger2 = stateno = [200,215]
trigger2 = movecontact
trigger3 = stateno = [400,410]
trigger3 = movecontact
trigger4 = stateno = 52

;しゃがみ弱攻撃
[State -1]
type = ChangeState
value = 400
triggerall = RoundState = 2
triggerall = command = "x"
triggerall = command = "holddown"
triggerall = stateno != 101
trigger1 = statetype = C
trigger1 = ctrl
trigger2 = stateno = 200
trigger2 = movecontact
trigger3 = stateno = 400
trigger3 = movecontact
trigger4 = stateno = 52

;しゃがみ中攻撃
[State -1]
type = ChangeState
value = 410
triggerall = RoundState = 2
triggerall = command = "y"
triggerall = command = "holddown"
triggerall = stateno != 101
trigger1 = statetype = C
trigger1 = ctrl
trigger2 = stateno = [200,210]
trigger2 = movecontact
trigger3 = stateno = [400,410]
trigger3 = movecontact
trigger4 = stateno = 52

;しゃがみ強攻撃
[State -1]
type = ChangeState
value = 420
triggerall = RoundState = 2
triggerall = command = "z"
triggerall = command = "holddown"
triggerall = stateno != 101
trigger1 = statetype = C
trigger1 = ctrl
trigger2 = stateno = [200,215]
trigger2 = movecontact
trigger3 = stateno = [400,410]
trigger3 = movecontact
trigger4 = stateno = 52

;空中弱攻撃
[State -1]
type = ChangeState
value = 600
triggerall = RoundState = 2
triggerall = command = "x"
triggerall = statetype = A

trigger1 = ctrl
trigger2 = stateno = 111
trigger3 = stateno = 116

;空中中攻撃
[State -1]
type = ChangeState
value = 610
triggerall = RoundState = 2
triggerall = command = "y"
triggerall = statetype = A

trigger1 = ctrl
trigger2 = stateno = 600
trigger2 = movecontact
trigger3 = stateno = 111
trigger4 = stateno = 116

;空中強攻撃
[State -1]
type = ChangeState
value = 620
triggerall = RoundState = 2
triggerall = command = "z"
triggerall = statetype = A

trigger1 = ctrl
trigger2 = stateno = [600,610]
trigger2 = movecontact
trigger3 = stateno = 111
trigger4 = stateno = 116

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