; 斬鉄 - CMD

[Remap]
x = a
y = b
z = x
a = z
b = c
c = y
s = s

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

[Command]
name = "AI_01"
command = a,a,a,a
time = 0

[Command]
name = "AI_02"
command = a,a,a,b
time = 0

[Command]
name = "AI_03"
command = a,a,a,c
time = 0

[Command]
name = "AI_04"
command = a,a,b,a
time = 0

[Command]
name = "AI_05"
command = a,a,b,b
time = 0

[Command]
name = "AI_06"
command = a,a,b,c
time = 0

[Command]
name = "AI_07"
command = a,a,c,a
time = 0

[Command]
name = "AI_08"
command = a,a,c,b
time = 0

[Command]
name = "AI_09"
command = a,a,c,c
time = 0

[Command]
name = "AI_10"
command = a,b,a,a
time = 0

[Command]
name = "AI_11"
command = a,b,a,b
time = 0

[Command]
name = "AI_12"
command = a,b,a,c
time = 0

[Command]
name = "AI_13"
command = a,b,b,a
time = 0

[Command]
name = "AI_14"
command = a,b,b,b
time = 0

[Command]
name = "AI_15"
command = a,b,b,c
time = 0

[Command]
name = "AI_16"
command = a,b,c,a
time = 0

[Command]
name = "AI_17"
command = a,b,c,b
time = 0

[Command]
name = "AI_18"
command = a,b,c,c
time = 0

[Command]
name = "AI_19"
command = a,c,a,a
time = 0

[Command]
name = "AI_20"
command = a,c,a,b
time = 0

[Command]
name = "AI_21"
command = a,c,a,c
time = 0

[Command]
name = "AI_22"
command = a,c,b,a
time = 0

[Command]
name = "AI_23"
command = a,c,b,b
time = 0

[Command]
name = "AI_24"
command = a,b,b,c
time = 0

[Command]
name = "AI_25"
command = a,c,c,a
time = 0

[Command]
name = "AI_26"
command = a,c,c,b
time = 0

[Command]
name = "AI_27"
command = a,c,c,c
time = 0

[Command]
name = "AI_28"
command = b,a,a,a
time = 0

[Command]
name = "AI_29"
command = b,a,a,b
time = 0

[Command]
name = "AI_30"
command = b,a,a,c
time = 0

[Command]
name = "AI_31"
command = b,a,b,a
time = 0

[Command]
name = "AI_32"
command = b,a,b,b
time = 0

[Command]
name = "AI_33"
command = b,a,b,c
time = 0

[Command]
name = "AI_34"
command = b,a,c,a
time = 0

[Command]
name = "AI_35"
command = b,a,c,b
time = 0

[Command]
name = "AI_36"
command = b,a,c,c
time = 0

[Command]
name = "AI_37"
command = b,b,a,a
time = 0

[Command]
name = "AI_38"
command = b,b,a,b
time = 0

[Command]
name = "AI_39"
command = b,b,a,c
time = 0

[Command]
name = "AI_40"
command = b,b,b,a
time = 0

[Command]
name = "AI_41"
command = b,b,b,b
time = 0

[Command]
name = "AI_42"
command = b,b,b,c
time = 0

[Command]
name = "AI_43"
command = b,b,c,a
time = 0

[Command]
name = "AI_44"
command = b,b,c,b
time = 0

[Command]
name = "AI_45"
command = b,b,c,c
time = 0

[Command]
name = "AI_46"
command = b,c,a,a
time = 0

[Command]
name = "AI_47"
command = b,c,a,b
time = 0

[Command]
name = "AI_48"
command = b,c,a,c
time = 0

[Command]
name = "AI_49"
command = b,c,b,a
time = 0

[Command]
name = "AI_50"
command = b,c,b,b
time = 0

;-| 超必殺技 |--------------------------------------------------------
[Command]
name = "yami"
command = ~F, D, B, F, D, B, y
time = 40

[Command]
name = "dango"
command = ~F, B, D, F, x+y
time = 35

[Command]
name = "tourou"
command = ~D, F, D, F, x+y
time = 25


[Command]
name = "ranbu_x"
command = ~D, D, x
time = 12

[Command]
name = "ranbu_y"
command = ~D, D , y
time = 12

;-| 必殺技 |------------------------------------------------------


[Command]
name = "oboro"
command =  ~F,D,DF, a
time = 14

[Command]
name = "kage"
command =  D,DF,F, a
time = 25

[Command]
name = "gc"
command = ~b
time = 20

[Command]
name = "ryueijin"
command = ~D,DF,F, y
time = 18

[Command]
name = "ryu"
command = ~D, DF, F, x
time = 18

[Command]
name = "ryu2"
command = ~D, DF, F, y
time = 18

[Command]
name = "ryu3"
command = ~D, DF, F, a
time = 18

[Command]
name = "kikou"
command = ~D, B, y
time = 10

[Command]
name = "oboro_f"
command =  ~B,D,DB, a
time = 14

[Command]
name = "kage2"
command =  F,B,F, a
time = 25

[Command]
name = "kopa"
command = ~D,B, x
time = 10

[Command]
name = "kasumi"
command = ~D,B, y
time = 10

[Command]
name = "tenma"
command = ~F, D, B, a
time = 20

[Command]
name = "suimen"
command =  ~B,D,DB, x
time = 20

[Command]
name = "dango_J"
command = ~F, B, D, F
time = 35

[Command]
name = "ranbu_J"
command = ~D, D
time = 12

[Command]
name = "ryu_J"
command = ~D, DF, F
time = 20

[Command]
name = "kikou_J"
command = ~D,DB, B
time = 10

[Command]
name = "oboro_J"
command =  ~F,D,DF
time = 14

[Command]
name = "oboro_f_J"
command =  ~B,D,DB
time = 14

[Command]
name = "kage_J"
command =  F,B,F
time = 25

;-| ２回押し技 |-----------------------------------------------------------
[Command]
name = "FF"
command = F, F
time = 10

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

[command]
name = "Airkage"
command = F, F
time = 10

[command]
name = "Airkage_Back"
command = B, B
time = 10

[command]
name = "Airkage_Down"
command = D, D
time = 10

;-| ２・３個の同時押し技 |-----------------------------------------------
[Command]
name = "oogiri"
command = y+a
time = 1

[Command]
name = "nage"
command = a+b
time = 1

[Command]
name = "x+z"
command = x+a
time = 1

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

;-| 方向とボタンで出す技 |---------------------------------------------------------
[Command]
name = "down_a"
command = /$D,a
time = 1

[Command]
name = "down_b"
command = /$D,b
time = 1

[Command]
name = "down_z"
command = /$D,a
time = 1

[Command]
name = "4x"
command = /B,x
time = 1

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

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

[Command]
name = "3z"
command = /DF,a
time = 1

;-| ボタン設定（いじらない）|---------------------------------------------------------
[Command]
name = "recovery"
command = b
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 = "x"
command = x
time = 1

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

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

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

;-| 押しっぱなし設定（いじらない）-------------------------------------------------------
[Command]
name = "holdfwd"
command = /$F
time = 1

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

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

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

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

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

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

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

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

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

[Command]
name = "hold_x+y"
command = /x+y
time = 1

[Command]
name = "hold_y+a"
command = /y+a
time = 1

[command]
name = "fwd"
command = F
time = 1

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

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

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

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

; 下の記述↓は絶対に消さないでください。
[Statedef -1]

;走り
[State -1, Run Fwd]
type = ChangeState
value = 100
triggerall = !var(59)
trigger1 = command = "FF"
trigger1 = statetype = S
trigger1 = ctrl

;---------------------------------------------------------------------------
;後ろ飛退き
[State -1, Run Back]
type = ChangeState
value = 105
triggerall = !var(59)
triggerall = command = "BB"
trigger1 = statetype = S
trigger1 = ctrl

;ジャンプ（後退のみ）
[State -1, Run Fwd]
type = ChangeState
value = 40
triggerall = !var(59)
triggerall = command = "holdup"
triggerall = command = "holdback"
trigger1 = statetype = S
trigger1 = stateno = 101

;---------------------------------------------------------------------------
;闇狩り
[State -1]
type = ChangeState
value = 3100
triggerall = !var(59)
triggerall = var(58) != [3,4]
triggerall = var(58) = 1 || var(58) = 5
triggerall = power >= 5000 || (Life <= LifeMax / 4)
triggerall = command = "yami"
trigger1 = statetype != A
trigger1 = ctrl
trigger2 = movecontact 
trigger2 = stateno=200||stateno=201||stateno=205||stateno=210||stateno=230||stateno=270
trigger3 = movecontact 
trigger3 = stateno=400||stateno=405||stateno=410
trigger4 = stateno = 101
trigger5 = var(58) = [5,6]
trigger5 = stateno = 430
trigger5 = movecontact
trigger6 = var(58) = [1,2]
trigger6 = stateno = 225
trigger6 = movecontact

;闇狩り
[State -1]
type = ChangeState
value = 3100
triggerall = !var(59)
triggerall = var(58) != [3,4]
triggerall = var(58) = 2 || var(58) = 6
triggerall = power >= 5000 && (life <= lifemax / 4)
triggerall = command = "yami"
trigger1 = statetype != A
trigger1 = ctrl
trigger2 = movecontact 
trigger2 = stateno=200||stateno=201||stateno=205||stateno=210||stateno=230||stateno=270
trigger3 = movecontact 
trigger3 = stateno=400||stateno=405||stateno=410
trigger4 = stateno = 101
trigger5 = var(58) = [5,6]
trigger5 = stateno = 430
trigger5 = movecontact
trigger6 = var(58) = [1,2]
trigger6 = stateno = 225
trigger6 = movecontact

;---------------------------------------------------------------------------
;前転起き上がり
[State -1]
type = ChangeState
triggerall = !var(59)
triggerall = command = "holdfwd"
trigger1 = (stateno = 5110) && (Time >= 25)
;trigger2 = (stateno = 5120) && (Time >= 25)
value = 5130

;後転起き上がり
[State -1]
type = ChangeState
triggerall = !var(59)
triggerall = command = "holdback"
trigger1 = (stateno = 5110) && (Time >= 25)
;trigger2 = (stateno = 5120) && (Time >= 25)
value = 5135

;---------------------------------------------------------------------------
;投げ
[State -1, Zantetsu Throw]
type = ChangeState
value = 800
triggerall = !var(59)
triggerall = command = "nage" || (command = "c" && var(20) = 0) 
triggerall = statetype != A 
trigger1 = ctrl
trigger2 = (stateno = 100) || (stateno = 101)
trigger3 = command = "holdfwd" && ctrl

;---------------------------------------------------------------------------
; ガードキャンセル
[State -1]
type = ChangeState
value = 8140
triggerall = !var(59)
triggerall = command = "gc"
triggerall = stateno = [150,153]
triggerall = ctrl = 0
trigger1 = var(58) = 1 || var(58) = 3 || var(58) = 5
trigger2 = var(58) = 2 || var(58) = 4 || var(58) = 6

;---------------------------------------------------------------------------
;弾き 立ち
[State -1]
type = ChangeState
value = 8100
triggerall = !var(59)
triggerall = command = "b"
triggerall = command != "holddown"
triggerall = statetype = S 
triggerall = stateno != 8101
trigger1 = ctrl || stateno = 100 || stateno = 101

;---------------------------------------------------------------------------
;弾き しゃがみ
[State -1]
type = ChangeState
value = 8110
triggerall = !var(59)
triggerall = command = "b"
triggerall = command = "holddown"
triggerall = statetype = C
triggerall = stateno != 8111
trigger1 = ctrl || stateno = 100 || stateno = 101

;---------------------------------------------------------------------------
;弾き 空中
[State -1]
type = ChangeState
value = 8120
triggerall = !var(59)
trigger1 = command = "b"
trigger1 = statetype = A
trigger1 = ctrl

;---------------------------------------------------------------------------
;走り斬り
[State -1,rungiri]
type = ChangeState
value = 270
triggerall = !var(59)
triggerall = command = "x" || command = "y"
trigger1 = stateno = 100 && time >= 12
trigger2 = (stateno = 101) && (AnimElem = 2,<= 0)

;---------------------------------------------------------------------------
;走り蹴り
[State -1,runkeri]
type = ChangeState
value = 275
triggerall = !var(59)
triggerall = command = "holddown"
triggerall = command = "a" || command = "x" || command = "y"
trigger1 = stateno = 100 && time >= 12
trigger2 = (stateno = 101) && (AnimElem = 2,<= 0)

;---------------------------------------------------------------------------
;断鋼刃
[State -1]
type = ChangeState
value = 3000
triggerall = !var(59)
triggerall = var(58) = 1 || var(58) = 3 || var(58) = 5
triggerall = power >= 3000 || (life <= lifemax / 4)
triggerall = command = "dango"
trigger1 = statetype != A
trigger1 = ctrl
trigger2 = movecontact 
trigger2 = stateno=200||stateno=201||stateno=205||stateno=210||stateno=230||stateno=270
trigger3 = movecontact 
trigger3 = stateno=400||stateno=405||stateno=410
trigger4 = stateno = 101
trigger5 = movecontact && (stateno = 1080)
trigger6 = var(58) != [1,2]
trigger6 = stateno = 430
trigger6 = movecontact
trigger7 = var(58) = [1,2]
trigger7 = stateno = 225
trigger7 = movecontact

;断鋼刃
[State -1]
type = ChangeState
value = 3000
triggerall = !var(59)
triggerall = var(58) = 2 || var(58) = 4 || var(58) = 6
triggerall = power >= 3000 || (life <= lifemax / 4)
triggerall = command = "dango"
trigger1 = statetype != A
trigger1 = ctrl
trigger2 = movecontact 
trigger2 = stateno=200||stateno=201||stateno=205||stateno=210||stateno=230||stateno=270
trigger3 = movecontact 
trigger3 = stateno=400||stateno=405||stateno=410
trigger4 = stateno = 101
trigger5 = movecontact && (stateno = 1080)
trigger6 = var(58) != [1,2]
trigger6 = stateno = 430
trigger6 = movecontact
trigger7 = var(58) = [1,2]
trigger7 = stateno = 225
trigger7 = movecontact


; 蟷螂双刃
[State -1]
type = ChangeState
value = 3300
triggerall = !var(59)
triggerall = stateno!= 3300
triggerall = power >= 1000 || (Life <= LifeMax / 4)
triggerall = command = "tourou"
trigger1 = statetype != A
trigger1 = ctrl
trigger2=movecontact
trigger2=stateno=200||stateno=201||stateno=205||stateno=210||stateno=230||stateno=270
trigger3=movecontact
trigger3=stateno=400||stateno=405||stateno=410||stateno=430
trigger4 = stateno = 101
trigger5 = movecontact && (stateno = 1080)

;---------------------------------------------------------------------------
; 乱舞奥義_打上
[State -1]
type = ChangeState
value = 3500
triggerall = !var(59)
triggerall = var(58) != [1,2]
triggerall = var(58) = 3 || var(58) = 5
triggerall = power >= 2000 || ((life <= lifemax / 4) && power >= 1000)
triggerall = command = "ranbu_x"
trigger1 = statetype != A
trigger1 = ctrl
trigger2 = movecontact 
trigger2 = stateno=200||stateno=201||stateno=205||stateno=210||stateno=230||stateno=270
trigger3 = movecontact 
trigger3 = stateno=400||stateno=405||stateno=410||stateno=430
trigger4 = stateno = 101
trigger5 = movecontact && (stateno = 1080)
trigger6 = movecontact && (stateno = 225)
trigger7 = (Stateno = 8101) || (Stateno = 8111)

; 乱舞奥義_打上
[State -1]
type = ChangeState
value = 3500
triggerall = !var(59)
triggerall = var(58) != [1,2]
triggerall = var(58) = 4 || var(58) = 6
triggerall = power >= 2000
triggerall = command = "ranbu_x"
trigger1 = statetype != A
trigger1 = ctrl
trigger2 = movecontact 
trigger2 = stateno=200||stateno=201||stateno=205||stateno=210||stateno=230||stateno=270
trigger3 = movecontact 
trigger3 = stateno=400||stateno=405||stateno=410||stateno=430
trigger4 = stateno = 101
trigger5 = movecontact && (stateno = 1080)
trigger6 = movecontact && (stateno = 225)
trigger7 = (Stateno = 8101) || (Stateno = 8111)

;---------------------------------------------------------------------------
; 乱舞奥義_下段
[State -1]
type = ChangeState
value = 3520
triggerall = !var(59)
triggerall = var(58) != [1,2]
triggerall = var(58) = 3 || var(58) = 5
triggerall = power >= 2000 || ((life <= lifemax / 4) && power >= 1000)
triggerall = command = "ranbu_y"
trigger1 = statetype != A
trigger1 = ctrl
trigger2 = movecontact 
trigger2 = stateno=200||stateno=201||stateno=205||stateno=210||stateno=230||stateno=270
trigger3 = movecontact 
trigger3 = stateno=400||stateno=405||stateno=410||stateno=430
trigger4 = stateno = 101
trigger5 = movecontact && (stateno = 1080)
trigger6 = movecontact && (stateno = 225)
trigger7 = (Stateno = 8101) || (Stateno = 8111)

; 乱舞奥義_下段
[State -1]
type = ChangeState
value = 3520
triggerall = !var(59)
triggerall = var(58) != [1,2]
triggerall = var(58) = 4 || var(58) = 6
triggerall = power >= 2000
triggerall = command = "ranbu_y"
trigger1 = statetype != A
trigger1 = ctrl
trigger2 = movecontact 
trigger2 = stateno=200||stateno=201||stateno=205||stateno=210||stateno=230||stateno=270
trigger3 = movecontact 
trigger3 = stateno=400||stateno=405||stateno=410||stateno=430
trigger4 = stateno = 101
trigger5 = movecontact && (stateno = 1080)
trigger6 = movecontact && (stateno = 225)
trigger7 = (Stateno = 8101) || (Stateno = 8111)

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

;流影陣
[State -1]
type = ChangeState
value = 1002
triggerall = !var(59)
triggerall = var(58) != [1,2]
triggerall = command = "ryueijin"
trigger1 = statetype != A
trigger1 = ctrl
trigger2 = movecontact
trigger2 = stateno=200||stateno=201||stateno=205||stateno=210||stateno=230||stateno=270
trigger3 = movecontact
trigger3 = stateno=400||stateno=405||stateno=410
trigger4 = stateno = 101
trigger5 = movecontact && (stateno = 1080)
trigger6 = var(58) != [1,2]
trigger6 = stateno=430
trigger6 = movecontact
trigger7 = var(58) = [1,2]
trigger7 = movecontact

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

;流影刃
[State -1]
type = ChangeState
value = 1000
triggerall = !var(59)
triggerall = command = "ryu"
triggerall = anim != 1000
trigger1 = statetype != A
trigger1 = ctrl
trigger2 = movecontact 
trigger2 = stateno=200||stateno=201||stateno=205||stateno=210||stateno=230||stateno=270
trigger3 = movecontact 
trigger3 = stateno=400||stateno=405||stateno=410
trigger4 = stateno = 101
trigger5 = movecontact && (stateno = 1080)
trigger6 = var(58) != [1,2]
trigger6 = stateno=430
trigger6 = movecontact
trigger7 = var(58) = [1,2]
trigger7 = stateno = 225
trigger7 = movecontact

;---------------------------------------------------------------------------
;気孔砲
[State -1]
type = ChangeState
value = 1010
triggerall = !var(59)
triggerall = command = "kikou"
trigger1 = statetype != A
trigger1 = ctrl
trigger2 = movecontact 
trigger2 = stateno=200||stateno=201||stateno=205||stateno=210||stateno=230||stateno=270
trigger3 = movecontact 
trigger3 = stateno=400||stateno=405||stateno=410
trigger4 = stateno = 101
trigger5 = movecontact && (stateno = 1080)
trigger6 = var(58) != [1,2]
trigger6 = stateno=430
trigger6 = movecontact
trigger7 = var(58) = [1,2]
trigger7 = stateno = 225
trigger7 = movecontact

;---------------------------------------------------------------------------
;朧斬り
[State -1]
type = ChangeState
value = 1020
triggerall = !var(59)
triggerall = command = "oboro"
trigger1 = statetype != A
trigger1 = ctrl
trigger2 = movecontact 
trigger2 = stateno=200||stateno=201||stateno=205||stateno=210||stateno=230||stateno=270
trigger3 = movecontact 
trigger3 = stateno=400||stateno=405||stateno=410
trigger4 = stateno = 101
trigger5 = movecontact && (stateno = 1080)
trigger6 = var(58) != [1,2]
trigger6 = stateno=430
trigger6 = movecontact
trigger7 = var(58) = [1,2]
trigger7 = stateno = 225
trigger7 = movecontact
;---------------------------------------------------------------------------
;空中朧斬り
[State -1]
type = ChangeState
value = 1020
triggerall = !var(59)
triggerall = command = "oboro"
trigger1 = statetype = A
trigger1 = ctrl
trigger2 = movecontact
trigger2 = stateno=200||stateno=201||stateno=205||stateno=210||stateno=230||stateno=270
trigger3 = movecontact
trigger3 = stateno=400||stateno=405||stateno=410
trigger4 = stateno = 101
trigger5 = movecontact && (stateno = 1080)
trigger6 = var(58) != [1,2]
trigger6 = stateno=430
trigger6 = movecontact
trigger7 = var(58) = [1,2]
trigger7 = stateno = 225
trigger7 = movecontact

;---------------------------------------------------------------------------
;朧斬り_止め
[State -1]
type = ChangeState
value = 1035
triggerall = !var(59)
triggerall = command = "oboro_f"
trigger1 = statetype != A
trigger1 = ctrl
trigger2 = movecontact 
trigger2 = stateno=200||stateno=201||stateno=205||stateno=210||stateno=230||stateno=270
trigger3 = movecontact 
trigger3 = stateno=400||stateno=405||stateno=410
trigger4 = stateno = 101
trigger5 = movecontact && (stateno = 1080)
trigger6 = var(58) != [1,2]
trigger6 = stateno=430
trigger6 = movecontact
trigger7 = var(58) = [1,2]
trigger7 = stateno = 225
trigger7 = movecontact

;---------------------------------------------------------------------------
;天魔脚
[State -1]
type = ChangeState
value = 1040
triggerall = !var(59)
triggerall = command = "down_z"
triggerall = statetype = A
trigger1 = ctrl
trigger2 = movecontact 
trigger2 = stateno=600||stateno=610||stateno=630

;---------------------------------------------------------------------------
;影法師
[State -1]
type = ChangeState
value = 1070
triggerall = !var(59)
triggerall = command = "kage"
trigger1 = statetype != A
trigger1 = ctrl
trigger2 = movecontact 
trigger2 = stateno=200||stateno=201||stateno=205||stateno=210||stateno=230||stateno=270
trigger3 = movecontact 
trigger3 = stateno=400||stateno=405||stateno=410
trigger4 = stateno = 101
trigger5 = var(58) != [1,2]
trigger5 = stateno=430
trigger5 = movecontact
trigger6 = var(58) = [1,2]
trigger6 = stateno = 225
trigger6 = movecontact
;---------------------------------------------------------------------------
;影法師_2
[State -1]
type = ChangeState
value = 1071
triggerall = !var(59)
triggerall = command = "kage2"
trigger1 = statetype != A
trigger1 = ctrl
trigger2 = movecontact
trigger2 = stateno=200||stateno=201||stateno=205||stateno=210||stateno=230||stateno=270
trigger3 = movecontact
trigger3 = stateno=400||stateno=405||stateno=410
trigger4 = stateno = 101
trigger5 = var(58) != [1,2]
trigger5 = stateno=430
trigger5 = movecontact
trigger6 = var(58) = [1,2]
trigger6 = stateno = 225
trigger6 = movecontact

;---------------------------------------------------------------------------
;天魔落とし
[State -1]
type = ChangeState
value = 1100
triggerall = !var(59)
triggerall = command = "tenma"
triggerall = statetype != A
trigger1 = ctrl
trigger2 = movecontact 
trigger2 = stateno=200||stateno=201||stateno=205||stateno=210||stateno=230||stateno=270
trigger3 = movecontact 
trigger3 = stateno=400||stateno=405||stateno=410
trigger4 = stateno = 101
trigger5 = movecontact && (stateno = 1080)
trigger6 = var(58) != [1,2]
trigger6 = stateno=430
trigger6 = movecontact
trigger7 = var(58) = [1,2]
trigger7 = stateno = 225
trigger7 = movecontact

;---------------------------------------------------------------------------
;空中版天魔落とし
[State -1]
type = ChangeState
value = 1350
triggerall = !var(59)
triggerall = command = "tenma"
triggerall = statetype = A
trigger1 = ctrl
trigger2 = movecontact 
trigger2 = stateno=600||stateno=610||stateno=630

;---------------------------------------------------------------------------
;骸縫いＡ
[State -1]
type = ChangeState
value = 1400
triggerall = !var(59)
triggerall = command = "ryu"
triggerall = statetype = A
trigger1 = ctrl
trigger2 = movecontact 
trigger2 = stateno=600||stateno=610||stateno=630

;骸縫いＢ
[State -1]
type = ChangeState
value = 1410
triggerall = !var(59)
triggerall = command = "ryu2"
triggerall = statetype = A
trigger1 = ctrl
trigger2 = movecontact 
trigger2 = stateno=600||stateno=610||stateno=630


;---------------------------------------------------------------------------
;水面隠れ
[State -1]
type = ChangeState
value = 1450
triggerall = !var(59)
triggerall = command = "suimen"
triggerall = statetype != A
trigger1 = ctrl
trigger2 = movecontact 
trigger2 = stateno=200||stateno=201||stateno=205||stateno=210||stateno=230||stateno=270
trigger3 = movecontact 
trigger3 = stateno=400||stateno=405||stateno=410
trigger4 = stateno = 101
trigger5 = movecontact && (stateno = 1080)
trigger6 = var(58) != [1,2]
trigger6 = stateno=430
trigger6 = movecontact
trigger7 = var(58) = [1,2]
trigger7 = stateno = 225
trigger7 = movecontact

;---------------------------------------------------------------------------
;ガード不能斬り
[State -1]
type = ChangeState
value = 250
triggerall = !var(59)
triggerall = command = "oogiri" || (command = "z" && Var(20) = 0)
triggerall = var(58) = [1,2]
trigger1 = statetype = S
trigger1 = ctrl
trigger2 = stateno = 211
trigger2 = PrevStateNo = 215

;---------------------------------------------------------------------------
;大斬り
[State -1]
type = ChangeState
value = 260
triggerall = !var(59)
triggerall = command = "oogiri" || (command = "z" && Var(20) = 0)
triggerall = var(58) != [1,2]
trigger1 = statetype = S
trigger1 = ctrl
trigger2 = movecontact 
trigger2 = stateno=200||stateno=201||stateno=205||stateno=210||stateno=230||stateno=270
trigger3 = movecontact 
trigger3 = stateno=410
trigger4 = stateno = 101

;---------------------------------------------------------------------------
;立弱斬←入れ
[State -1, Stand Light Punch]
type = ChangeState
value = 205
triggerall = !var(59)
triggerall = command = "4x"
triggerall = command != "holddown"
trigger1 = statetype = S
trigger1 = ctrl
trigger2 = stateno = 101

;---------------------------------------------------------------------------
;立弱斬・連撃
[State -1, Stand Light Punch]
type = ChangeState
value = 201
triggerall = !var(59)
triggerall = command = "4x"
triggerall = command != "holddown" 
triggerall = movecontact && (stateno = 200)
trigger1 = var(58) != [1,2]
trigger1 = statetype = S
trigger1 = ctrl

;---------------------------------------------------------------------------
;立弱斬
[State -1, Stand Light Punch]
type = ChangeState
value = 200
triggerall = !var(59)
triggerall = command = "x"
triggerall = command != "holddown"
trigger1 = statetype = S
trigger1 = ctrl
trigger2 = var(58) != [1,2]
trigger2 = movecontact && (stateno = 205)
trigger3 = stateno = 101

;---------------------------------------------------------------------------
;立超強斬
[State -1]
type = ChangeState
value = 215
triggerall = !var(59)
triggerall = command = "6y" 
triggerall = command != "holddown"
trigger1 = ctrl
trigger1 = statetype = S
trigger2 = var(58) != [1,2]
trigger2 = movecontact 
trigger2 = stateno=200||stateno=201||stateno=205||stateno=210||stateno=270||stateno=410
trigger3 = stateno = 101

;---------------------------------------------------------------------------
;立強斬
[State -1, Stand Strong Punch]
type = ChangeState
value = 210
triggerall = !var(59)
triggerall = command = "y"
triggerall = command != "holddown"
trigger1 = statetype = S
trigger1 = ctrl
trigger2 = var(58) != [1,2]
trigger2 = movecontact 
trigger2 = stateno=200||stateno=201||stateno=205||stateno=270
trigger3 = stateno = 101

;---------------------------------------------------------------------------
;蹴り飛ばし
[State -1, Standing Strong Kick]
type = ChangeState
value = 225
triggerall = !var(59)
triggerall = command = "6z"
triggerall = command != "holddown"
trigger1 = statetype = S
trigger1 = ctrl
trigger2 = var(58) != [1,2]
trigger2 = movecontact 
trigger2 = stateno=200||stateno=201||stateno=205||stateno=210||stateno=270||stateno=410
trigger3 = stateno = 101

;---------------------------------------------------------------------------
;立弱蹴
[State -1, Stand Light Kick]
type = ChangeState
value = 230
triggerall = !var(59)
triggerall = command = "a"
triggerall = command != "holddown"
trigger1 = statetype = S
trigger1 = ctrl
trigger2 = stateno = 101

;---------------------------------------------------------------------------
;追い討ち 
[State -1,oiuchi]
type = ChangeState
value = 300
triggerall = !var(59)
triggerall = command = "y"
triggerall = (command = "holdfwd") && (command = "holddown")
triggerall = statetype != A
trigger1 = p2StateType = L
trigger1 = p2stateno=5110||p2stateno=5111||p2stateno=310||p2stateno=311||p2stateno=1013
trigger1 = ctrl = 1

;---------------------------------------------------------------------------
;挑発
[State -1, Taunt]
type = ChangeState
value = 195
triggerall = Power >= 5000
triggerall = !var(59)
triggerall = command = "s"
trigger1 = statetype != A
trigger1 = ctrl

;---------------------------------------------------------------------------
;屈弱斬
[State -1, Crouching Light Punch]
type = ChangeState
value = 400
triggerall = !var(59)
triggerall = command = "x"
triggerall = command = "holddown"
trigger1 = statetype = C
trigger1 = ctrl
trigger2 = var(58) != [1,2]
trigger2 = movecontact
trigger2 = stateno=200||stateno=205
trigger3 = stateno = 101

;---------------------------------------------------------------------------
;屈弱斬+
[State -1]
type = ChangeState
value = 405
triggerall = !var(59)
triggerall = command = "x"
triggerall = command = "holddown"
trigger1 = var(58) = [1,2]
trigger1 = movehit && (stateno = 400)
trigger2 = var(58) != [1,2]
trigger2 = movecontact && (stateno = 400)

;---------------------------------------------------------------------------
;屈強斬
[State -1, Crouching Strong Punch]
type = ChangeState
value = 410
triggerall = !var(59)
triggerall = command = "y"
triggerall = command = "holddown"
trigger1 = statetype = C
trigger1 = ctrl
trigger2 = var(58) != [1,2]
trigger2 = movecontact
trigger2 = stateno=200||stateno=201||stateno=205||stateno=270
trigger3 = stateno = 101

;---------------------------------------------------------------------------
;脚払
[State -1, Crouching Strong Kick]
type = ChangeState
value = 440
triggerall = !var(59)
triggerall = command = "3z"
triggerall = command = "holddown"
trigger1 = statetype = C
trigger1 = ctrl
trigger2 = var(58) != [1,2]
trigger2 = movecontact
trigger2 = stateno=200||stateno=201||stateno=205||stateno=210||stateno=270||stateno=410

;---------------------------------------------------------------------------
;屈弱蹴
[State -1, Crouching Light Kick]
type = ChangeState
value = 430
triggerall = !var(59)
triggerall = command = "a"
triggerall = command = "holddown"
trigger1 = statetype = C
trigger1 = ctrl
trigger2 = stateno = 101

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

;空弱斬
[State -1, Jump Light Punch]
type = ChangeState
value = 600
triggerall = !var(59)
triggerall = command = "x"
trigger1 = statetype = A
trigger1 = ctrl

;---------------------------------------------------------------------------
;空強斬
[State -1, Jump Strong Punch]
type = ChangeState
value = 610
triggerall = !var(59)
triggerall = command = "y"
trigger1 = statetype = A
trigger1 = ctrl
trigger2 = var(58) != [1,2]
trigger2 = stateno = 600
trigger2 = movecontact

;---------------------------------------------------------------------------
;空蹴
[State -1, Jump Kick]
type = ChangeState
value = 630
triggerall = !var(59)
triggerall = command = "a"
triggerall = command != "x+z"
trigger1 = statetype = A
trigger1 = ctrl
trigger2 = var(58) != [1,2]
trigger2 = stateno = 600
trigger2 = movecontact

;---------------------------------------------
;空中影法師
;空中ダッシュ
[State -1, Air Run Fwd]
type  = ChangeState
value  = 110
triggerall = !Var(51)
trigger1 = command  =  "Airkage"
trigger1 = statetype  =  A
trigger1 = ctrl    =1

;---------------------------------------------
;後方空中ダッシュ
;空中ダッシュ
[State -1, Air Run Back]
type  = ChangeState
value  = 111
triggerall = !Var(51)
trigger1 = command  =  "Airkage_Back"
trigger1 = statetype  =  A
trigger1 = ctrl    =1

;---------------------------------------------
;後方空中ダッシュ
;空中ダッシュ
[State -1, Air Run Down]
type  = ChangeState
value  = 112
triggerall = !Var(51)
trigger1 = command  =  "Airkage_Down"
trigger1 = statetype  =  A
trigger1 = ctrl    =1

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