
;-| ボタン配置 |-----------------------------------------------------
;各ボタンの配置を簡単に変更できます。
;このキャラクターのボタン配置を変えたいときなどに使います。
;x = x を x = a に変えれば、xがaに変わります。

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

;-| 標準化 |-------------------------------------------------------
;[Defaults]
; timeを記述しなかった場合、以下の値が参照されます。最小値は1です。
;command.time = 15

; buffer.timeの値です。1～30まで設定できます。
; 普通は1です。
;command.buffer.time = 1

;------------------------------------------------------------------------------
;-| AI |------------------------------------------------------
[Command]
name = "CPU1"
command = U, D, F, U, D, F, U, D, F, U, D, F
time = 1

[Command]
name = "CPU2"
command = U, B, F, U, D, F, U, D, F, U, D, F
time = 1

[Command]
name = "CPU3"
command = U, D, D, U, D, F, U, D, F, U, D, F
time = 1

[Command]
name = "CPU4"
command = F, B, U, U, D, F, U, B, U, D, F
time = 1

[Command]
name = "CPU5"
command = U, F, U, B, U, D, F, U, D, F, U, D, F
time = 1

[Command]
name = "CPU6"
command = U, D, B, U, B, U, D, F, U, D, F, U, D, F
time = 1

[Command]
name = "CPU7"
command = F, F, B, U, B, U, D, F, D, F, U, D, F, U, D, F
time = 1

[Command]
name = "CPU8"
command = U, D, U, U, B, U, D, F, D, F, U, D, F, U, D, F
time = 1

[Command]
name = "CPU9"
command = F, B, B, U, B, U, D, F, D, F, U, D, F, U, D, F
time = 1

[Command]
name = "CPU10"
command = F, F, B, B, U, B, U, D, F
time = 1

[Command]
name = "CPU11"
command = U, U, F, U, B, U, D, F
time = 1

[Command]
name = "CPU12"
command = U, B, B, U, B, U, D, F
time = 1

[Command]
name = "CPU13"
command = U, B, F, F, U, B, U, D, F
time = 1

[Command]
name = "CPU14"
command = U, F, B, U, U, B, U, D, F
time = 1

[Command]
name = "CPU15"
command = U, B, F, U, U, B, U, D, F
time = 1

[Command]
name = "CPU16"
command = U, B, B, B, U, B, U, D, F
time = 1

[Command]
name = "CPU17"
command = U, D, B, F, U, B, U, D, F
time = 1

[Command]
name = "CPU18"
command = U, D, B, D, U, B, U, D, F
time = 1

[Command]
name = "CPU19"
command = U, D, F, U, U, B, U, D, F
time = 1

[Command]
name = "CPU20"
command = U, D, U, B, U, B, U, D, F
time = 1

[Command]
name = "CPU21"
command = U, D, F, F, U, B, U, D, F
time = 1

[Command]
name = "CPU22"
command = F, F, F, F, U, B, U, D, F
time = 1

[Command]
name = "CPU23"
command = U, U, U, D, U, B, U, D, F
time = 1

[Command]
name = "CPU24"
command = B, B, B, U, B, U, D, F
time = 1

[Command]
name = "CPU25"
command = D, D, D, D, U, B, U, D, F
time = 1

[Command]
name = "CPU26"
command = D, D, D, U, B, U, D, F
time = 1

[Command]
name = "CPU27"
command = F, F, F, U, B, U, D, F
time = 1

[Command]
name = "CPU28"
command = U, U, U, U, B, U, D, F
time = 1

[Command]
name = "CPU29"
command = U, U, B, B, U, B, U, D, F
time = 1

[Command]
name = "CPU30"
command = D, D, F, F, U, B, U, D, F
time = 1

[Command]
name = "CPU31"
command = U, D, F, U, D, U, B, U, D, F
time = 1

[Command]
name = "CPU32"
command = U, B, F, U, D, U, B, U, D, F
time = 1

[Command]
name = "CPU33"
command = U, D, D, U, D, U, B, U, D, F
time = 1

[Command]
name = "CPU34"
command = F, B, U, U, D, U, B, U, D, F
time = 1

[Command]
name = "CPU35"
command = U, F, U, B, U, D, U, B, U, D, F
time = 1

[Command]
name = "CPU36"
command = U, D, B, U, D, U, B, U, D, F
time = 1

[Command]
name = "CPU37"
command = F, F, B, U, D, U, B, U, D, F
time = 1

[Command]
name = "CPU38"
command = U, D, U, U, D, U, B, U, D, F
time = 1

[Command]
name = "CPU39"
command = F, B, B, U, D, U, B, U, D, F
time = 1

[Command]
name = "CPU40"
command = F, F, B, B, U, D, U, B, U, D, F
time = 1

[Command]
name = "CPU41"
command = U, U, F, U, D, U, B, U, D, F
time = 1

[Command]
name = "CPU42"
command = U, B, B, U, D, U, B, U, D, F
time = 1

[Command]
name = "CPU43"
command = U, B, F, F, U, D, U, B, U, D, F
time = 1

[Command]
name = "CPU44"
command = U, F, B, U, U, D, U, B, U, D, F
time = 1

[Command]
name = "CPU45"
command = U, B, F, U, U, D, U, B, U, D, F
time = 1

[Command]
name = "CPU46"
command = U, B, B, B, U, D, U, B, U, D, F
time = 1

[Command]
name = "CPU47"
command = U, D, B, F, U, D, U, B, U, D, F
time = 1

[Command]
name = "CPU48"
command = U, D, B, D, U, D, U, B, U, D, F
time = 1

[Command]
name = "CPU49"
command = U, D, F, U, U, D, U, B, U, D, F
time = 1

[Command]
name = "CPU50"
command = U, D, U, B, U, D, U, B, U, D, F
time = 1

[Command]
name = "CPU51"
command = U, D, F, U, D, F, D, U, B, U, D, U, B, U, D, F
time = 1

[Command]
name = "CPU52"
command = U, B, F, U, D, F, D, U, B, U, D, U, B, U, D, F
time = 1

[Command]
name = "CPU53"
command = U, D, D, U, D, F, D, U, B, U, D, U, B, U, D, F
time = 1

[Command]
name = "CPU54"
command = F, B, U, U, D, F, U, B, U, D, F, D, U, B, U, D, U, B, U, D, F
time = 1

[Command]
name = "CPU55"
command = U, F, U, B, U, D, F, D, U, B, U, D, U, B, U, D, F
time = 1

[Command]
name = "CPU56"
command = U, D, B, U, B, U, D, F, D, U, B, U, D, U, B, U, D, F
time = 1

[Command]
name = "CPU57"
command = F, F, B, U, B, U, D, F, D, U, B, U, D, U, B, U, D, F
time = 1

[Command]
name = "CPU58"
command = U, D, U, U, B, U, D, F, D, U, B, U, D, U, B, U, D, F
time = 1

[Command]
name = "CPU59"
command = F, B, B, U, B, U, D, F, D, U, B, U, D, U, B, U, D, F
time = 1

[Command]
name = "CPU60"
command = F, F, B, B, U, B, U, D, F, D, U, B, U, D, U, B, U, D, F
time = 1

;-| 超必殺技 |-----------------------------------------------------------------
[Command]
name = "makai"
command =~D, F, c
time = 25

[Command]
name = "ｹ鈹ｵﾔﾂ"
command =D,D,D,b
time = 30

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

[Command]
name = "oriwaza"
command = ~B, F, B, F, z
time = 30

[command]
name = "kck"
command = D,D,D,x
time = 30

[Command]
name = "XIII"
Command = D,D,D,y
time = 30

[Command]
name = "1"
command = ~D, DB, B, DB, D, DF, F,x
time = 25

 [Command]
name = "1"
command = ~D, DB, B, DB, D, DF, F,y
time = 25

[Command]
name = "super"
command = ~D, D, z
time = 30

[command]
name = "Sanguine disturbance1"
command = ~D,D,D,a
time = 30


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

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

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

[Command]
name = "jingi"
command = D, F, z
time = 30

[Command]
name = "bola"
command = D, B, D, B,a
time = 30

[Command]
name = "bola"
command = D, B, D, B,b
time = 30

[Command]
name = "bolasuper"
command = D, D, c
time = 30


[Command]
name = "yaotome1"
command = ~D, F, D, B, x
time = 30

[Command]
name = "yaotome2"
command = ~D, F, D, B, y
time = 30

[Command]
name = "saika1"
command = ~D, B, z
time = 30

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

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


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

[Command]
name = "kuzukaze"
command = ~F, D, B, F, x
time = 30

[Command]
name = "kuzukaze"
command = ~F, D, B, F, y
time = 30

[Command]
name = "oniyaki1"
command = ~F, D, DF, x

[Command]
name = "oniyaki2"
command = ~F, D, DF, y

[Command]
name = "yamibarai1"
command = ~D, DF, F, x

[Command]
name = "yamibarai3"
command = ~D, DF, F,b

[Command]
name = "yamibarai4"
command = ~D, DF, F,a


[Command]
name = "yamibarai2"
command = ~D, DF, F, y

[Command]
name = "aoi1"
command = ~D, DB, B, x

[Command]
name = "aoi2"
command = ~D, DB, B, y

[Command]
name = "kotozuki1"
command = ~F, D, B, a

[Command]
name = "kotozuki2"
command = ~F, D, B, b

[Command]
name = "FF_ab"
command = F, F, a+b

[Command]
name = "FF_a"
command = F, F, a

[Command]
name = "FF_b"
command = F, F, b

;[Command]
;name = "jump"    
;command = ~$D,$U
;time = 8

[Command]
name = "longjump"    
command = ~$D,$U
time = 20

;------------------------------------------------------------------------------
;-| キー２回連続入力 |---------------------------------------------------------
[Command]
name = "FF"     ;要求済み (キーの変更は可能ですが名前を変えたり無効にしてはいけません)
command = F, F
time = 10

[Command]
name = "BB"     ;要求済み (キーの変更は可能ですが名前を変えたり無効にしてはいけません)
command = B, B
time = 10

;------------------------------------------------------------------------------
;-| 同時押し |-----------------------------------------------------------------
[Command]
name = "recovery"   ;要求済み (キーの変更は可能ですが名前を変えたり無効にしてはいけません)
command = x+a
time = 1

[Command]
name = "recovery"   ;要求済み (キーの変更は可能ですが名前を変えたり無効にしてはいけません)
command = a+x
time = 1

[Command]
name = "helper"
command = y+b
time = 1

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

;------------------------------------------------------------------------------
;-| 方向キー＋ボタン |---------------------------------------------------------
[Command]
name = "down_a"
command = /$D,a
time = 1

[Command]
name = "down_b"
command = /$D,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 = "start"
command = s
time = 1

;---------------------------
;(パワー溜めステート用にコマンドを追加しています)
[Command]
name = "hold_c"
command = /c

;------------------------------------------------------------------------------
;-| 方向キー押しっぱなし |-----------------------------------------------------
[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

;==============================================================================
[Statedef -1];←この行は絶対に消さないでください。必須の項目です。

[State -1,aire]
type = ChangeState
value = 2400
triggerall = command = "1"
triggerall = power >= 1000
trigger1 = statetype = A
trigger1 = ctrl
trigger2 = stateno = 600 && movecontact
trigger3 = stateno = 610 && movecontact
trigger4 = stateno = 630 && movecontact
trigger5 = stateno = 640&& movecontact
trigger6 = stateno = 635 && movecontact

[State -1makai]
type = ChangeState
value = 2500
triggerall = command = "makai"
triggerall = power >= 2000
trigger1 = statetype != A
trigger1 = ctrl
trigger2 = stateno = 200 && movecontact
trigger3 = stateno = 210 && movecontact
trigger4 = stateno = 230 && movecontact
trigger5 = stateno = 240&& movecontact
trigger4 = stateno = 215 && movecontact
trigger5 = stateno = 216&& movecontact
trigger6 = Stateno = [435,435]

; AI swich -> ON
[State -1,AI]
type = Varset
triggerall = var(59) != 1
triggerall = RoundState != 3
trigger1 = command = "CPU1"
trigger2 = command = "CPU2"
trigger3 = command = "CPU3"
trigger4 = command = "CPU4"
trigger5 = command = "CPU5"
trigger6 = command = "CPU6"
trigger7 = command = "CPU7"
trigger8 = command = "CPU8"
trigger9 = command = "CPU9"
trigger10 = command = "CPU10"
trigger11 = command = "CPU11"
trigger12 = command = "CPU12"
trigger13 = command = "CPU13"
trigger14 = command = "CPU14"
trigger15 = command = "CPU15"
trigger16 = command = "CPU16"
trigger17 = command = "CPU17"
trigger18 = command = "CPU18"
trigger19 = command = "CPU19"
trigger20 = command = "CPU20"
trigger21 = command = "CPU21"
trigger22 = command = "CPU22"
trigger23 = command = "CPU23"
trigger24 = command = "CPU24"
trigger25 = command = "CPU25"
trigger26 = command = "CPU26"
trigger27 = command = "CPU27"
trigger28 = command = "CPU28"
trigger29 = command = "CPU29"
trigger30 = command = "CPU30"
trigger31 = command = "CPU31"
trigger32 = command = "CPU32"
trigger33 = command = "CPU33"
trigger34 = command = "CPU34"
trigger35 = command = "CPU35"
trigger36 = command = "CPU36"
trigger37 = command = "CPU37"
trigger38 = command = "CPU38"
trigger39 = command = "CPU39"
trigger40 = command = "CPU40"
trigger41 = command = "CPU41"
trigger42 = command = "CPU42"
trigger43 = command = "CPU43"
trigger44 = command = "CPU44"
trigger45 = command = "CPU45"
trigger46 = command = "CPU46"
trigger47 = command = "CPU47"
trigger48 = command = "CPU48"
trigger49 = command = "CPU49"
trigger50 = command = "CPU50"
trigger51 = command = "CPU51"
trigger52 = command = "CPU52"
trigger53 = command = "CPU53"
trigger54 = command = "CPU54"
trigger55 = command = "CPU55"
trigger56 = command = "CPU56"
trigger57 = command = "CPU57"
trigger58 = command = "CPU58"
trigger59 = command = "CPU59"
trigger60 = command = "CPU60"
var(59) = 1

;-----------------------------------------------------------------------
[State -1, VarRandom]
Type     = null;VarRandom
TriggerAll = Var(59) = 1
Trigger1 = Time = 1
Trigger2 = Time%60 = 1
Trigger2 = MoveType != I
Trigger3 = Time%1 = 1
Trigger3 = MoveType = I
V   = 58
Range    = 0,99
IgnoreHitPause  = 1

;-----------------------------------------------------------------------
[State -1, AI]
Type = VarSet
TriggerAll = Var(59) = 1
Trigger1 = RoundState = 4
Trigger2 = Win = 1
Trigger3 = Lose = 1
Trigger4 = DrawGame = 1
V = 59
Value = -1

;-----------------------------------------------------------------------
[State -1, AI]
Type = VarSet
TriggerAll = Var(59) = -1
Trigger1 = RoundState = 2
V = 59
Value = 1

;---------------------------------------------------------------------------
;歩き
[State -1, Walk]
type = ChangeState
value = 21
triggerall = var(59) = 1
triggerall = RoundState = 2
triggerall = statetype != A
triggerall = !InGuardDist
Triggerall = ctrl
Triggerall = stateno != [10,12]
Triggerall = stateno != 21
Triggerall = prevstateno != 21
Triggerall = stateno != [120,159]
Triggerall = prevstateno != [120,159]
trigger1 = random%7!=0

;---------------------------------------------------------------------------
;ダッシュ
[State -1, Dash]
type = ChangeState
value = 100
triggerall = var(59) = 1
triggerall = RoundState = 2
triggerall = statetype != A
Triggerall = ctrl
Triggerall = stateno != [10,12]
Triggerall = stateno != 100
Triggerall = prevstateno != 100
Triggerall = stateno != [120,159]
trigger1 = P2BodyDist X >= 141 && enemynear,movetype != A
Trigger1 = p2movetype = I && EnemyNear,statetype != A && Random = [21,140]
trigger2 = (abs(enemynear,Pos X - Pos X)> 100) && p2statetype = L
trigger3 = P2BodyDist X <= 120
trigger3 = p2movetype = I
trigger3 = Random < 50  ;意表をつく接近
trigger4 = P2BodyDist X > 110
trigger4 = p2movetype = I && p2statetype != A
trigger4 = NumProj = 1
trigger4 = Random < 100  ;闇払い後接近
trigger5 = ctrl && abs(enemynear,Pos X - Pos X) > 141 && enemynear,movetype  = A && enemynear,statetype = A
trigger5 = EnemyNear,HitDefAttr != SCA, NA, SA, HA, NP, SP, HP, NT, ST, HT
trigger5 = Random =[41,160];対空技などの空振りに接近

;-----------------------------------------------------------------
;バックステップ
[State -1, Back Step]
type = ChangeState
value = 105
triggerall = var(59) = 1
triggerall = RoundState = 2
triggerall = statetype = S
triggerall = BackEdgeBodyDist > 40 
Triggerall = ctrl && stateno != 10 && stateno != 12 && stateno != 100 && prevstateno != 100 && (stateno != [120,159])
trigger1 = (abs(enemynear,Pos X - Pos X)= [70,100]) && enemynear,movetype != A
trigger1 = p2movetype = I && EnemyNear,statetype != A
trigger1 = Random = [0,40]
trigger2 = (abs(enemynear,Pos X - Pos X) <= 50) && p2statetype = L && Random = [0,50]

;---------------------------------------------------------------------------
;ダウン回避
[State -1, daunkaihi]
type = ChangeState
value = 5200
triggerall = var(59) = 1 && Alive && CanRecover && Vel Y > -1 && Pos Y <= -20 && random <= 500
trigger1 = StateNo = 5050

;---------------------------------------------------------------------------
;ダウン回避（空中）
[State -1, Airdaunkaihi]
type = ChangeState
value = 5210
triggerall = var(59) = 1 && Alive && CanRecover && Vel Y > 0 && Pos Y >= -20 && random <= 500
trigger1 = StateNo = 5050

;-----------------------------------------------------------------
;対飛び道具前転
[State -1, FRoll]
type = null;ChangeState
value = 700
triggerall = var(59) = 1
triggerall = statetype != A
triggerall = p2movetype = A
trigger1 = ctrl
trigger1 = enemynear,NumProj
trigger1 = p2bodydist X = [30,130]
trigger1 = random = [0,40]

;-----------------------------------------------------------------
;前転
[State -1, FRoll]
type  = ChangeState
value  = 700
triggerall = var(59) = 1
triggerall = statetype != A 
TriggerAll = EnemyNear,HitDefAttr! = SC, NT, ST, HT
Triggerall = ctrl
Trigger1 = enemynear,statetype != A
trigger1 = ((abs(enemynear,Pos X - Pos X) <=50) && enemynear,movetype = A)
trigger1 = BackEdgeBodyDist <= 40 && random = [0,100]
trigger1 = p2statetype != L
Trigger2 = enemynear,statetype != A
trigger2 = ((abs(enemynear,Pos X - Pos X) <=50) && enemynear,movetype = A)
trigger2 = BackEdgeBodyDist > 40 && random = [100,200]
trigger2 = p2statetype != L  
Trigger3 = (abs(enemynear,Pos X - Pos X)= [10,45])
Trigger3 = enemynear,statetype = A && enemynear,movetype = A && power < 1000
trigger3 = enemynear,movetype != H && (abs(enemynear,Pos Y - Pos Y) = [20,80]) && random = [401,500]
trigger3 = p2statetype != L
Trigger4 = (abs(enemynear,Pos X - Pos X)= [0,50])
trigger4 = p2statetype = L
trigger4 = random < 30;相手のダウン時
ignorehitpause = 0

;---------------------------------------------------------------------------
;後転
[State -1, BRoll]
type = ChangeState
value = 710
triggerall = var(59) = 1
triggerall = statetype != A
triggerall = p2statetype != L
Triggerall = EnemyNear,HitDefAttr! = SC, NT, ST, HT
Trigger1 = ctrl
trigger1 = ((abs(enemynear,Pos X - Pos X) <=50) && enemynear,movetype  = A && enemynear,statetype != A)
trigger1 = BackEdgeBodyDist > 40 && random = [200,220]
ignorehitpause = 0

;-----------------------------------------------------------------
;ガードキャンセル前転
[State -1, GCRoll]
type  = ChangeState
value = 720
triggerall = var(59) = 1
triggerall = statetype != A
triggerall = p2statetype != L
triggerall = Power >= 1000
triggerall = stateno != 255
triggerall = stateno = 150 || stateno = 151 || stateno = 152 || stateno = 153
trigger1 = BackEdgeBodyDist <= 40
trigger1 = enemynear,MoveType = A && p2statetype != A && abs(enemynear,Pos X - Pos X)<= 50
trigger1 = random = [21,40]

;-----------------------------------------------------------------
;ガードキャンセルぶっ飛ばし攻撃
[State -1,GCA]
type = ChangeState
value = 255
triggerall = var(59) = 1
triggerall = statetype != A
triggerall = p2statetype != L
triggerall = Power >= 1000
triggerall = stateno != 255
triggerall = stateno = 150 || stateno = 151 || stateno = 152 || stateno = 153
trigger1 = BackEdgeBodyDist <= 40
trigger1 = enemynear,MoveType = A && p2statetype != A && abs(enemynear,Pos X - Pos X)<= 50
trigger1 = random <= 20

;-----------------------------------------------------------------
;三神器之弐
[State -1, jhadouken]
type = ChangeState
value = 2200
triggerall = var(59) = 1
triggerall = RoundState = 2
triggerall = statetype != A
triggerall = p2statetype != L
triggerall = ifelse(Var(11) = 1 || Var(12) = 1,power >= 2500,power >= 2000)
triggerall = statetype != A
trigger1 = Stateno = 435  && enemynear,statetype != A && movehit = 1 && random > 300
trigger2 = Stateno = 210 && ((animelem=5,>0 && animelem=6,<0) && movehit = 1) && random > 300
trigger2 = enemynear,statetype != A
trigger3 = Stateno = 2002 && AnimElem = 44 && var(12) = 1
trigger4 = Stateno = 1100 && Movehit = 1 && AnimElem = 1, >= 3
trigger4 = enemynear,statetype != A && random <= 400
ignorehitpause = 0

;-----------------------------------------------------------------
;弱 禁千弐百拾壱式・八稚女
[State -1, yhadouken]
type = ChangeState
value = 2000
triggerall = var(59) = 1
triggerall = RoundState = 2
triggerall = statetype != A
triggerall = p2statetype != L
triggerall = ifelse(Var(11) = 1,power >= 1500,power >= 1000)
trigger1 = Stateno = 435 && movehit = 1 && enemynear,statetype != A && ifelse(power < 2000,random <= 999,random <= 300)
trigger2 = Stateno = 210 && ((animelem=5,>0 && animelem=6,<0) && movehit = 1) && ifelse(power < 2000,random <= 999,random <= 300)
trigger3 = enemynear,statetype != A
trigger4 = Stateno = 1100 && Movehit = 1 && AnimElem = 1, >= 3
trigger5 = enemynear,statetype != A
trigger6 = power < 2000 && random <= 350
trigger7 = Stateno = 1100 && Movehit = 1 && AnimElem = 1, >= 3
trigger8 = enemynear,statetype != A
trigger9 = power >= 2000 && random = [401,600]
trigger10 = Stateno = [435,435]
trigger11 = Stateno = [215,216]
ignorehitpause = 0

;-----------------------------------------------------------------
;サイカ
[State -1, shadouken]
type = ChangeState
value = 2100
triggerall = var(59) = 1
triggerall = RoundState = 2
triggerall = statetype != A
triggerall = p2statetype != L
triggerall = ifelse(Var(11) = 1,power >= 1500,power >= 1000)
triggerall = statetype != A
Trigger1 = ctrl  
Trigger1 = (abs(enemynear,Pos X - Pos X)= [20,65])
Trigger1 = enemynear,statetype = A && enemynear,movetype = A
trigger1 = enemynear,movetype != H && (abs(enemynear,Pos Y - Pos Y) = [60,140]) && random = [301,999]
trigger2 = Stateno = 1100 && Movehit = 1 && AnimElem = 1, >= 3
trigger2 = power < 2000 && random = [350,999]
trigger3 = Stateno = 1100 && Movehit = 1 && AnimElem = 1, >= 3
trigger3 = power >= 2000 && random = [601,999]
ignorehitpause = 0


;-----------------------------------------------------------------
;強 百式・鬼焼き
[State -1, honi]
type = ChangeState
value = 1100
triggerall = var(59) = 1
triggerall = RoundState = 2
triggerall = statetype != A
triggerall = p2statetype != L
Trigger1 = ctrl
Trigger1 = (abs(enemynear,Pos X - Pos X)= [10,45])
Trigger1 = enemynear,statetype = A && enemynear,movetype = A
trigger1 = enemynear,movetype != H && (abs(enemynear,Pos Y - Pos Y) = [20,80]) && ifelse(power < 1000,random <= 400,random <= 300)
trigger1 = BackEdgeBodyDist > 20
trigger2 = Stateno = 211 && ((animelem=4,>0 && animelem=7,<0) && movehit = 1)
trigger2 = power >= 1000 && random = [100,149]
trigger3 = Stateno = 400 && ((animelem=3,>0 && animelem=5,<0) && movehit = 1)
trigger3 = power >= 1000 && random = [100,149]
trigger4 = Stateno = 231 && ((animelem=3,>0 && animelem=4,<0) && movehit = 1)
trigger4 = power >= 1000 && random = [100,149]
trigger5 = ctrl && (abs(enemynear,Pos X - Pos X)= [0,45]) && enemynear,movetype = A && (Prevstateno = 5120 || Prevstateno = 5200)
trigger5 = random = [150,350]
;Trigger3 = ctrl
;trigger3 = (abs(enemynear,Pos X - Pos X)= [0,30]) && enemynear,movetype  = A && enemynear,statetype != A
;trigger3 = BackEdgeBodyDist > 30
;trigger3 = random = [181,300]
;trigger4 = ctrl && abs(enemynear,Pos X - Pos X)<= 90 && enemynear,movetype  = A && enemynear,statetype = A
;trigger4 = EnemyNear,HitDefAttr != SCA, NA, SA, HA, NP, SP, HP, NT, ST, HT
ignorehitpause = 0

;-----------------------------------------------------------------
;弱 百式・鬼焼き
[State -1, joni]
type = ChangeState
value = 1000
triggerall = var(59) = 1
triggerall = RoundState = 2
triggerall = statetype != A
triggerall = p2statetype != L
Trigger1 = ctrl
trigger1 = abs(enemynear,Pos X - Pos X)<= 90 && enemynear,movetype  = A && enemynear,statetype != A
trigger1 = random < 100 && BackEdgeBodyDist > 40
Trigger2 = ctrl
trigger2 = abs(enemynear,Pos X - Pos X)<= 90 && enemynear,movetype  = A && enemynear,statetype != A
trigger2 = BackEdgeBodyDist <= 40
trigger2 = random = [101,260]
Trigger3 = ctrl
Trigger3 = (abs(enemynear,Pos X - Pos X)= [10,45])
Trigger3 = enemynear,statetype = A
trigger3 = enemynear,movetype != H && (abs(enemynear,Pos Y - Pos Y) = [20,80])
trigger3 = random <= 40
trigger4 = ctrl && abs(enemynear,Pos X - Pos X)<= 90 && enemynear,movetype  = A && enemynear,statetype != A
trigger4 = EnemyNear,HitDefAttr != SCA, NA, SA, HA, NP, SP, HP, NT, ST, HT
ignorehitpause = 0

;-----------------------------------------------------------------
;屑風
[State -1, hadouken]
type = ChangeState
value = 1400
triggerall = var(59) = 1
triggerall = RoundState = 2
triggerall = p2statetype != L
triggerall = statetype != A && p2statetype != A
triggerall = P2Stateno != [120,155]
triggerall = enemynear,prevstateno != [5000,5999]
trigger1 = ctrl && p2bodydist X <= 20 && enemynear,MoveType = I
trigger1 = random < 200
trigger2 = ctrl && (abs(enemynear,Pos X - Pos X)= [0,20]) && enemynear,movetype = A && (Prevstateno = 5120 || Prevstateno = 5200)
trigger2 = random < 150
trigger3 = StateNo = 100
trigger3 = p2bodydist X <= 20
trigger3 = random < 200;ダッシュ投げ
Trigger4 = ctrl
Trigger4 = enemynear,Vel Y > 0
Trigger4 = p2bodydist X <= 20
Trigger4 = (abs(enemynear,Pos Y - Pos Y) = [10,30])
Trigger4 = enemynear,statetype = A && enemynear,movetype != H
Trigger4 = random = [301,450];対空投げ
ignorehitpause = 0

;-----------------------------------------------------------------
;強 琴月
[State -1, hadouken]
type = ChangeState
value = 1350
triggerall = var(59) = 1
triggerall = RoundState = 2
triggerall = statetype != A && p2statetype != L
triggerall = ifelse(power < 1000,random <= 999,random = [200,999])
trigger1 = Stateno = 211 && ((animelem=4,>0 && animelem=7,<0) && movehit = 1)
trigger2 = Stateno = 410 && ((animelem=5,>0 && animelem=6,<0) && movehit = 1)
ignorehitpause = 0

;-----------------------------------------------------------------
;強 百弐拾七式・葵花3
[State -1, hadouken]
type = ChangeState
value = 1270
triggerall = var(59) = 1
triggerall = RoundState = 2
triggerall = statetype != A && p2statetype != L
triggerall = Stateno = 1260
trigger1 = movehit = 1 ;&& p2statetype != A
ignorehitpause = 0

;-----------------------------------------------------------------
;強 百弐拾七式・葵花2
[State -1, hadouken]
type = ChangeState
value = 1260
triggerall = var(59) = 1
triggerall = RoundState = 2
triggerall = statetype != A && p2statetype != L
triggerall = Stateno = 1250
trigger1 = movehit = 1
ignorehitpause = 0

;-----------------------------------------------------------------
;強 百弐拾七式・葵花
[State -1, hadouken]
type = ChangeState
value = 1250
triggerall = var(59) = 1
triggerall = RoundState = 2
triggerall = statetype != A && p2statetype != L
triggerall = ifelse(power < 1000,random <= 999,random = [200,999])
trigger1 = Stateno = 210 && ((animelem=5,>0 && animelem=6,<0) && movehit = 1)
;trigger2 = Stateno = 211 && ((animelem=4,>0 && animelem=7,<0) && movehit = 1)
;trigger2 = random <= 700
trigger2 = Stateno = 231 && ((animelem=3,>0 && animelem=4,<0) && movehit = 1)
trigger3 = Stateno = 400 && ((animelem=3,>0 && animelem=5,<0) && movehit = 1)
ignorehitpause = 0

;-----------------------------------------------------------------
;強 百八式・闇払い
[State -1, hadouken]
type = ChangeState
value = 1550
triggerall = var(59) = 1
triggerall = RoundState = 2 && p2statetype != A
triggerall = statetype != A && p2statetype != L
triggerall = frontedgebodydist >= 50
triggerall = Numproj = 0
trigger1 = Stateno = 210 && (animelem=5,>0 && animelem=6,<0) && moveguarded
trigger1 = random < 180
trigger2 = Stateno = 211 && (animelem=4,>0 && animelem=7,<0) && moveguarded
trigger2 = ifelse(p2statetype = S,random < 200,random = [30,200]) 
trigger3 = Stateno = 400 && (animelem=3,>0 && animelem=5,<0) && moveguarded
trigger3 = ifelse(p2statetype = S,random < 50,random = [50,200]) 
trigger4 = ctrl
trigger4 = P2BodyDist X > 160
trigger4 = p2movetype = I
trigger4 = random = [181,260]
ignorehitpause = 0

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


;trigger1 = Enemy,NumHelper > 0 || Enemy,NumProj > 0



[State -1, hadouken]
type = ChangeState
value = 1501
triggerall = var(59) = 1
triggerall = RoundState = 2 && p2statetype != A
triggerall = statetype != A
triggerall = Numproj = 0
trigger1 = ctrl
trigger1 = P2BodyDist X > 160
trigger1 = p2movetype = I
trigger1 = random = [71,180]
trigger2 = Stateno = 231 && (animelem=3,>0 && animelem=4,<0)
trigger2 = moveguarded = 1
trigger2 = random < 300
ignorehitpause = 0
;-----------------------------------------------------------------
;外式・夢弾
[State -1, rokotu]
type = ChangeState
value = 435
triggerall = var(59) = 1
triggerall = RoundState = 2
triggerall = statetype != A && p2statetype != L
trigger1 = stateno = 201 && ((animelem=3,>0 && animelem=4,<0) && movehit = 1)
trigger2 = Stateno = 211 && ((animelem=4,>0 && animelem=7,<0) && movehit = 1)
trigger3 = Stateno = 231 && ((animelem=3,>0 && animelem=4,<0) && movehit = 1)
trigger4 = stateno = 400 && ((animelem=3,>0 && animelem=5,<0) && movehit = 1)
trigger5 = Stateno = 410 && ((animelem=5,>0 && animelem=6,<0) && movehit = 1)
trigger6 = p2statetype != A
ignorehitpause = 0

;-----------------------------------------------------------------
;------外式・轟斧[キャンセル]  ------
[State -1]
type = ChangeState
value = 216
triggerall = RoundState = 2
triggerall = statetype != A && p2statetype != L
triggerall = p2statetype = C && P2BodyDist X <= 35 && random < 30
trigger1 = Stateno = 211 && ((animelem=4,>0 && animelem=7,<0) && moveguarded)
trigger2 = stateno = 400 && ((animelem=3,>0 && animelem=5,<0) && moveguarded)
trigger3 = stateno = [435,435]
ignorehitpause = 0

;---------------------------------------------------------------------------
;P投げ
[State -1, Kung Fu Throw]
Type            = ChangeState
Value           = 800
triggerall      = var(59) = 1
triggerall      = statetype != A
triggerall      = p2statetype != L
triggerall      = p2statetype != A
triggerall      = ctrl
triggerall      = p2bodydist X = [0,22]
trigger1        = Random <= 250 && frontedgebodydist < 40 && p2movetype != A
trigger2        = StateNo = 100 && frontedgebodydist < 40 && p2movetype != A
trigger2        = random = [201,300];ダッシュ投げ
ignorehitpause = 0

;---------------------------------------------------------------------------
;K投げ
[State -1, Kung Fu Throw]
type            = ChangeState
value           = 900
triggerall      = var(59) = 1
triggerall      = statetype != A
triggerall      = p2statetype != L
triggerall      = p2statetype != A
triggerall      = ctrl
triggerall      = p2bodydist X = [0,22]
trigger1        = Random <= 250 && frontedgebodydist > 40 && p2movetype != A
trigger2        = Random <= 250 && P2BodyDist X < 0 && p2movetype != A
trigger3        = StateNo = 100 && frontedgebodydist > 40 && p2movetype != A
trigger3        = random = [201,300];ダッシュ投げ
ignorehitpause = 0

;-----------------------------------------------------------------
;近距離立ち弱パンチ
[State -1, Stand Light Punch]
type = ChangeState
value = 201
triggerall = var(59) = 1
triggerall = roundstate = 2
triggerall = P2BodyDist X <= 30
triggerall = statetype != A
triggerall = p2statetype != L
trigger1 = ctrl
trigger1 = p2statetype = S
trigger1 = random < 100
ignorehitpause = 0

;-----------------------------------------------------------------
;近距離立ち強パンチ
[State -1, kStand Strong Punch]
type = ChangeState
value = 211
triggerall = var(59) = 1
triggerall = RoundState = 2
triggerall = statetype != A && p2statetype != L
triggerall = P2BodyDist X <= 30
trigger1 = ctrl
trigger1 = p2statetype != A && (random = [371,999]) ;&& power < 2000
trigger2 = ctrl && ((enemynear,movetype = H) && (p2statetype = S)) && p2stateno = 1420
trigger3 = StateNo = 100 && p2movetype != A
trigger3 = random = [301,500];ダッシュ打撃
ignorehitpause = 0

;-----------------------------------------------------------------
;立ち強パンチ
[State -1, eStand Strong Punch]
type = ChangeState
value = 210
triggerall = var(59) = 1
triggerall = RoundState = 2
triggerall = statetype = S && p2statetype != L
triggerall = P2BodyDist X > 30
trigger1 = ctrl
trigger1 = P2BodyDist X = [31,60]
trigger1 = enemynear,statetype != A && enemynear,movetype != A && random < 180
trigger2 = ctrl && ((enemynear,movetype = H) && (p2statetype = S)) && p2stateno = 1420
trigger3 = StateNo = 100 && p2movetype != A
trigger3 = random = [301,500];ダッシュ打撃
ignorehitpause = 0

;---------------------------------------------------------------------------
;近距離立ち弱キック
[State -1, Stand Light Kick]
type = ChangeState
value = 231
triggerall = var(59) = 1
triggerall = RoundState = 2
triggerall = statetype != A
triggerall = p2statetype != L
triggerall = P2BodyDist X <= 30
trigger1 = (ctrl && enemynear,statetype != A) && random = [0,100]
trigger2 = stateno = 201 && (animelem=3,>0 && animelem=4,<0)
trigger2 = moveguarded
trigger2 = P2BodyDist X <= 30
trigger2 = random < 500
trigger3 = (P2StateNo = 5120) && (EnemyNear,AnimTime = -3) && (random > 80)
ignorehitpause = 0

;---------------------------------------------------------------------------
;近距離強キック
[State -1, Standing Strong Kick]
type = ChangeState
value = 241
triggerall = var(59) = 1
triggerall = RoundState = 2
triggerall = statetype = S && p2statetype != L
triggerall = P2BodyDist X <= 30
Trigger1 = ctrl  
Trigger1 = (abs(enemynear,Pos X - Pos X)= [0,50])
Trigger1 = enemynear,statetype = A && enemynear,movetype != A
trigger1 = enemynear,movetype != H && (abs(enemynear,Pos Y - Pos Y) = [50,100]) && random <= 100
ignorehitpause = 0

;-----------------------------------------------------------------
;立ち強キック
[State -1, eStanding Strong Kick]
type = ChangeState
value = 240
triggerall = var(59) = 1
triggerall = RoundState = 2
triggerall = statetype = S && p2statetype != L
triggerall = P2BodyDist X > 30
trigger1 = ctrl
trigger1 = P2BodyDist X = [50,90]
trigger1 = enemynear,movetype != A && enemynear,statetype != A && random = [181,300]
ignorehitpause = 0

;---------------------------------------------------------------------------
;しゃがみ弱パンチ
[State -1, Crouching Light Punch]
type = ChangeState
value = 400
triggerall = var(59) = 1
triggerall = RoundState = 2
triggerall = statetype != A
triggerall = p2statetype != L
trigger1 = stateno = 201 && (animelem=3,>0 && animelem=4,<0) && movehit = 1
trigger2 = stateno = 430 && (animelem=4,>0 && animelem=6,<0) && movecontact = 1
ignorehitpause = 0

;---------------------------------------------------------------------------
;しゃがみ弱キック
[State -1, Crouching Light Kick]
type  = ChangeState
value = 430
triggerall = var(59) = 1
triggerall = RoundState = 2
triggerall = statetype != A
triggerall = p2statetype != L
triggerall = P2BodyDist X <= 35
trigger1 = (ctrl && enemynear,statetype != A && enemynear,statetype = S) && random = [100,370]
trigger2 = stateno = 201 && (animelem=3,>0 && animelem=4,<0)
trigger2 = moveguarded
trigger2 = random < 500
trigger2 = P2BodyDist X > 30
trigger3 = (P2StateNo = 5120) && (EnemyNear,AnimTime = -3) && random = [80,200]
ignorehitpause = 0

;---------------------------------------------------------------------------
;しゃがみ強パンチ
[State -1, Crouching Strong Punch]
type = ChangeState
value = 410
triggerall = var(59) = 1
triggerall = RoundState = 2
triggerall = statetype != A
triggerall = p2statetype != L
Trigger1 = ctrl  
Trigger1 = (abs(enemynear,Pos X - Pos X)= [0,50])
Trigger1 = enemynear,statetype = A && enemynear,movetype != A
trigger1 = enemynear,movetype != H && (abs(enemynear,Pos Y - Pos Y) = [30,50]) && random <= 100
ignorehitpause = 0

;---------------------------------------------------------------------------
;空中弱パンチ
[State -1, Jump Light Punch]
type = ChangeState
value = 600
triggerall = var(59) = 1
triggerall = RoundState = 2 && statetype = A
triggerall = StateNo != 132 && stateno != 5040
triggerall = p2statetype != L && ctrl
trigger1 = (abs(enemynear,Pos X - Pos X)= [0,70]) && (Pos Y - enemynear,Pos Y) > 30
trigger1 = enemynear,statetype = A && enemynear,movetype != A;空対空
trigger2 = var(8) = 0
trigger2 = p2bodydist X <= 50
trigger2 = Vel Y > 0
trigger2 = random = [301,400]
ignorehitpause = 0

;---------------------------------------------------------------------------
;空中強パンチ
[State -1, Jump Strong Punch]
type = ChangeState
value = 610
triggerall = var(59) = 1
triggerall = RoundState = 2 && statetype = A
triggerall = StateNo != 132 && stateno != 5040
triggerall = p2statetype != L && ctrl
trigger1 = StateNo = 99 && Var(8) = 2 && Vel Y > 0 && (p2bodydist X = [-9,30]) && random = [0,600];中ジャンプ
trigger1 = enemynear,statetype != A
trigger2 = StateNo = 99 && Var(8) = 1 && Vel Y > 0 && (p2bodydist X = [-9,30]) && random <= 650;小ジャンプ
trigger2 = enemynear,statetype != A
trigger3 = (abs(enemynear,Pos X - Pos X)= [0,70]) && (Pos Y - enemynear,Pos Y) = [10,30]
trigger3 = enemynear,statetype = A && enemynear,movetype != A;空対空
trigger4 = var(8) = 0
trigger4 = p2bodydist X <= 50
trigger4 = Vel Y > 0
trigger4 = random = [0,300]
ignorehitpause = 0

;---------------------------------------------------------------------------
;空中弱キック
[State -1, Jump Light Kick]
type = ChangeState
value = 630
triggerall = var(59) = 1
triggerall = RoundState = 2 && statetype = A
triggerall = StateNo != 132 && stateno != 5040
triggerall = p2statetype != L && ctrl
trigger1 = (abs(enemynear,Pos X - Pos X)= [0,70]) && (Pos Y - enemynear,Pos Y) = [0,10]
trigger1 = enemynear,statetype = A && enemynear,movetype != A;空対空
trigger2 = var(8) = 0
trigger2 = p2bodydist X > 50
trigger2 = Vel Y > 0
trigger2 = random = [0,300]
ignorehitpause = 0

;---------------------------------------------------------------------------
;空中強キック
[State -1, Jump Strong Kick]
type = ChangeState
value = 640
triggerall = var(59) = 1
triggerall = RoundState = 2 && statetype = A
triggerall = StateNo != 132 && stateno != 5040
triggerall = p2statetype != L && ctrl
trigger1 = StateNo = 99 && Var(8) = 2 && Vel Y > 0 && (p2bodydist X = [31,90]) && random = [0,600];中ジャンプ
trigger1 = enemynear,statetype != A
trigger2 = StateNo = 99 && Var(8) = 1 && Vel Y > 0 && (p2bodydist X = [31,90]) && random <= 650;小ジャンプ
trigger2 = enemynear,statetype != A
trigger3 = (abs(enemynear,Pos X - Pos X)= [0,70]) && (Pos Y - enemynear,Pos Y) = [-25,-1]
trigger3 = enemynear,statetype = A && enemynear,movetype != A;空対空
trigger4 = var(8) = 0
trigger4 = p2bodydist X > 50
trigger4 = Vel Y > 0
trigger4 = random = [301,500]
ignorehitpause = 0

;---------------------------------------------------------------------------
;------  百合折り  ------
[State -1]
type = ChangeState
value = 635
triggerall = var(59) = 1
triggerall = RoundState = 2 && statetype = A
triggerall = StateNo != 132 && stateno != 5040
triggerall = frontedgebodydist > 30
trigger1 = StateNo = 99 && Var(8) = 2 && Vel Y > 0 && (p2bodydist X = [-70,-10]) && random <= 650;中ジャンプ
trigger1 = p2statetype != L && ctrl
trigger2 = StateNo = 99 && Var(8) = 1 && Vel Y > 0 && (p2bodydist X = [-70,-10]) && random <= 650;小ジャンプ
trigger2 = p2statetype != L && ctrl
trigger3 = stateno = 106
ignorehitpause = 0



;---------------------------------------------------------------------------
;立ちガード
[State -1, SGuard]
type = ChangeState
Value = 130
triggerall = var(59) = 1
triggerall = RoundState = 2
triggerall = statetype != A
triggerall = p2statetype != L
triggerall = p2movetype = A && MoveType = I && InGuardDist
Triggerall = ctrl
Trigger1 = StateNo = 151 || StateNo = 153
Trigger1 = StateType = S && p2statetype = S && p2bodydist X < 50 && BackEdgeBodyDist > 30 && random = [281,999]
trigger2 = StateType = S && p2statetype = A
trigger2 = p2bodydist X < 50 && random = [601,999]
trigger3 = StateType = S && p2statetype = S && p2bodydist X < 50 && BackEdgeBodyDist <= 30 && random = [261,999]
trigger4 = enemynear,statetype = S && enemynear,movetype = A && (Prevstateno = 5120 || Prevstateno = 5200)
trigger4 = p2bodydist X < 50 && random = [350,999]
trigger4 = EnemyNear,HitDefAttr != SC,AT
Trigger5 = enemynear,NumProj


;---------------------------------------------------------------------------
;しゃがみガード
[State -1, CGuard]
type = ChangeState
Value = 131
triggerall = var(59) = 1
triggerall = RoundState = 2
triggerall = statetype != A
triggerall = p2statetype != L
triggerall = p2statetype != A
triggerall = p2movetype = A && MoveType = I && InGuardDist
Triggerall = ctrl
Trigger1 = StateNo = 151 || StateNo = 153
Trigger1 = StateType = C && p2statetype = C && abs(enemynear,Pos X - Pos X)<= 70;&& BackEdgeBodyDist > 30
;Trigger2 = StateType = C && p2statetype = C && P2bodydist X < 70 && BackEdgeBodyDist <= 30
trigger2 = enemynear,statetype = C && enemynear,movetype = A && (Prevstateno = 5120 || Prevstateno = 5200)
trigger2 = p2bodydist X < 50 && random = [350,999]
trigger2 = EnemyNear,HitDefAttr != SC,AT
Trigger3 = enemynear,NumProj


;---------------------------------------------------------------------------
;空中ガード
[State -1, AGuard]
type = ChangeState
Value = 132
triggerall = var(59) = 1
triggerall = RoundState = 2
triggerall = statetype = A
triggerall = p2statetype != L
triggerall = p2movetype = A && MoveType = I && InGuardDist
Triggerall = ctrl
trigger1 = P2bodydist X < 80;(abs(enemynear,Pos X - Pos X)<= 80
trigger2 = ctrl && enemynear,NumProj ;&& (enemynear,NumProj,Pos X - Pos X) >= 0;飛び道具

;---------------------------------------------------------------------------
;ジャンプ
[State -1, Jump]
type = ChangeState
value = 40
TriggerAll = Var(59) = 1 
TriggerAll = Ctrl
TriggerAll = StateType != A
TriggerAll = enemynear,MoveType = I
Trigger1 = P2bodydist X <= 100
Trigger1 = EnemyNear,MoveType != A
Trigger1 = ifelse((enemynear,StateType = C),Random <= 150,random = [151,200])
Trigger2 = P2bodydist X >= 190
Trigger2 = Random <= 100
trigger3 = (Enemy,NumHelper > 0 || Enemy,NumProj > 0)
trigger3 = P2bodydist X > 100
trigger3 = random < 200;対飛び道具ジャンプ
ignorehitpause = 0



;-----------------------------------------------------------------------
;ここから下はプレイヤー用
;=======================================================================================================================
;三神器之弐
[State -1, hadouken]
type = ChangeState
value = 2200
triggerall = var(59) != 1
triggerall = roundstate = 2
triggerall =  command = "jingi" || var(1) = 2200
triggerall = ifelse(Var(11) = 1 || Var(12) = 1,power >= 2500,power >= 2000)
triggerall = statetype != A
trigger1 = ctrl
trigger2 = Stateno = 200 && (animelem=4,>0 && animelem=5,<0)
trigger3 = Stateno = 201 && (animelem=3,>0 && animelem=4,<0) ;&& MoveContact = 1
trigger4 = Stateno = 210 && (animelem=5,>0 && animelem=6,<0)
trigger5 = Stateno = 211 && (animelem=4,>0 && animelem=7,<0)
trigger6 = Stateno = 231 && (animelem=3,>0 && animelem=4,<0) 
trigger7 = Stateno = 400 && (animelem=3,>0 && animelem=5,<0) && MoveContact = 1
trigger8 = Stateno = 410 && ((animelem=5,>0 && animelem=6,<0) && MoveContact = 1)
trigger9 = Stateno = 436 && ((animelem=5,>0 && animelem=7,<0) && MoveContact = 1)
trigger10 = Stateno = 245 && (animelem=4,>0 && animelem=7,<0)
trigger11 = Stateno = 1100 && Movehit = 1 && AnimElem = 1, >= 3
trigger12 = Stateno = 435 && ((animelem=5,>0 && animelem=6,<0) && MoveContact = 1)
trigger13 = Stateno = 2002 && var(12) = 1
ignorehitpause = 0

;弱 禁千弐百拾壱式・八稚女
[State -1, hadouken]
type = ChangeState
value = 2000
triggerall = var(59) != 1
triggerall = roundstate = 2
triggerall =  command = "yaotome1" || var(1) = 2000
triggerall = ifelse(Var(11) = 1,power >= 1500,power >= 1000)
triggerall = statetype != A
trigger1 = ctrl
trigger2 = Stateno = 200 && (animelem=4,>0 && animelem=5,<0)
trigger3 = Stateno = 201 && (animelem=3,>0 && animelem=4,<0) ;&& MoveContact = 1
trigger4 = Stateno = 210 && (animelem=5,>0 && animelem=6,<0)
trigger5 = Stateno = 211 && (animelem=4,>0 && animelem=7,<0)
trigger6 = Stateno = 231 && (animelem=3,>0 && animelem=4,<0) 
trigger7 = Stateno = 400 && (animelem=3,>0 && animelem=5,<0) && MoveContact = 1
trigger8 = Stateno = 410 && ((animelem=5,>0 && animelem=6,<0) && MoveContact = 1)
trigger9 = Stateno = 436 && ((animelem=5,>0 && animelem=7,<0) && MoveContact = 1)
trigger10 = Stateno = 245 && (animelem=4,>0 && animelem=7,<0)
trigger11 = Stateno = 1100 && Movehit = 1 && AnimElem = 1, >= 3
trigger12 = Stateno = 435 && ((animelem=5,>0 && animelem=6,<0) && MoveContact = 1)
trigger13 = Stateno = [435,435]
trigger14 = Stateno = [215,216]
trigger15 = Stateno = [1501,1501]
ignorehitpause = 0

[State -1, F]
type = ChangeState
value = 7111
triggerall = command = "ｹ鈹ｵﾔﾂ"
triggerall = power >= 2000
trigger1 = statetype != A
trigger1 = ctrl
trigger2 = stateno = 215 && movecontact
trigger3 = stateno = 235 && movecontact
trigger4 = stateno = 245 && movecontact
trigger5 = stateno = 400 && movecontact
trigger6 = stateno = 410 && movecontact
trigger7 = stateno = 300 && movecontact
trigger8 = stateno = 310 && movecontact
trigger9 = stateno = 315 && movecontact
trigger10 = stateno = 320 && movecontact
trigger11 = stateno = 330 && movecontact
trigger12 = stateno = 1100 && AnimElemtime(3) >= 0 && AnimElemtime(4) < 0 &&  movecontact
trigger13 = stateno = 1150 && AnimElemtime(3) >= 0 && AnimElemtime(4) < 0 &&  movecontact
trigger14 = stateno = 1210 && AnimElemtime(27) >= 2 && AnimElemtime(29) < 0 &&  movecontact
trigger15 = stateno = 1101 && AnimElemtime(3) >= 0 && AnimElemtime(4) < 0 &&  movecontact
trigger16 = stateno = 1151 && AnimElemtime(3) >= 0 && AnimElemtime(4) < 0 &&  movecontact
trigger17 = stateno = 1600 && movecontact
trigger18 = stateno = 1650 && movecontact
trigger19 = stateno = 1700 && movecontact
trigger20 = stateno = 1710 && movecontact
trigger21 = stateno = 2110 && movecontact
trigger21 = time <= 16

[State -1, Searing Sorrow]
type = ChangeState
value = 1130
triggerall = roundstate = 2
triggerall = command = "sear1"
triggerall = ifelse(Var(11) = 1,power >= 1500,power >= 1000)
triggerall = statetype != A
trigger1 = ctrl
trigger2 = Stateno = 200 && (animelem=4,>0 && animelem=5,<0)
trigger3 = Stateno = 201 && (animelem=3,>0 && animelem=4,<0) ;&& MoveContact = 1
trigger4 = Stateno = 210 && (animelem=5,>0 && animelem=6,<0)
trigger5 = Stateno = 211 && (animelem=4,>0 && animelem=7,<0)
trigger6 = Stateno = 231 && (animelem=3,>0 && animelem=4,<0)
trigger7 = Stateno = 400 && (animelem=3,>0 && animelem=5,<0) && MoveContact = 1
trigger8 = Stateno = 410 && ((animelem=5,>0 && animelem=6,<0) && MoveContact = 1)
trigger9 = Stateno =  215 && ((animelem=8,>0 && animelem=11,<0) && MoveContact = 1)
trigger10 = Stateno = 245 && (animelem=4,>0 && animelem=7,<0)
trigger11 = Stateno = 1100 && Movehit = 1 && AnimElem = 1, >= 3
trigger12 = Stateno = 435 && ((animelem=5,>0 && animelem=6,<0) && MoveContact = 1)
trigger13 = stateno = 436 && ((animelem=5,>0 && animelem=7,<0) && MoveContact = 1)
trigger14 = stateno = 1240 && (animelem=6,>0)
trigger15 = stateno = 1500 && (animelem=5,>0)
trigger16 = stateno = 1550 && (animelem=5,>0)
trigger17 = stateno = 11137 && (animelem=3,>0)
trigger18 = stateno = 3350 && (animelem=3,>0)
trigger19 = stateno = 3450 && (animelem=3,>0)
trigger20 = stateno = 2100 && (animelem=10,>0) && var(22) = 1
trigger21 = stateno = 5510 && (animelem=5,>0) && var(22) = 1
trigger22 = stateno = 5511 && (animelem=4,>0) && var(22) = 1
ignorehitpause = 0

;弱 禁千弐百拾壱式・八稚女
[State -1,bola]
type = ChangeState
value = 2102
triggerall = var(59) != 1
triggerall = roundstate = 2
triggerall =  command = "bola"
triggerall =power >= 1000
triggerall = statetype != A
trigger1 = ctrl
trigger2 = Stateno = 200 && (animelem=4,>0 && animelem=5,<0)
trigger3 = Stateno = 201 && (animelem=3,>0 && animelem=4,<0) ;&& MoveContact = 1
trigger4 = Stateno = 210 && (animelem=5,>0 && animelem=6,<0)
trigger5 = Stateno = 211 && (animelem=4,>0 && animelem=7,<0)
trigger6 = Stateno = 231 && (animelem=3,>0 && animelem=4,<0)
trigger7 = Stateno = 400 && (animelem=3,>0 && animelem=5,<0) && MoveContact = 1
trigger8 = Stateno = 410 && ((animelem=5,>0 && animelem=6,<0) && MoveContact = 1)
trigger9 = Stateno = 436 && ((animelem=5,>0 && animelem=7,<0) && MoveContact = 1)
trigger10 = Stateno = 245 && (animelem=4,>0 && animelem=7,<0)
trigger11 = Stateno = 1100 && Movehit = 1 && AnimElem = 1, >= 3
trigger12 = Stateno = 435 && ((animelem=5,>0 && animelem=6,<0) && MoveContact = 1)
trigger13 = Stateno = [435,435]
trigger14 = Stateno = [215,216]
trigger15 = Stateno = [1501,1501]
ignorehitpause = 0

[State -1,como]
type = ChangeState
value = 3141
triggerall = var(59) != 1
triggerall = roundstate = 2
triggerall =  command = "como"
triggerall =power >= 3000
triggerall = statetype != A
trigger1 = ctrl
trigger2 = Stateno = 200 && (animelem=4,>0 && animelem=5,<0)
trigger3 = Stateno = 201 && (animelem=3,>0 && animelem=4,<0) ;&& MoveContact = 1
trigger4 = Stateno = 210 && (animelem=5,>0 && animelem=6,<0)
trigger5 = Stateno = 211 && (animelem=4,>0 && animelem=7,<0)
trigger6 = Stateno = 231 && (animelem=3,>0 && animelem=4,<0)
trigger7 = Stateno = 400 && (animelem=3,>0 && animelem=5,<0) && MoveContact = 1
trigger8 = Stateno = 410 && ((animelem=5,>0 && animelem=6,<0) && MoveContact = 1)
trigger9 = Stateno = 436 && ((animelem=5,>0 && animelem=7,<0) && MoveContact = 1)
trigger10 = Stateno = 245 && (animelem=4,>0 && animelem=7,<0)
trigger11 = Stateno = 1100 && Movehit = 1 && AnimElem = 1, >= 3
trigger12 = Stateno = 435 && ((animelem=5,>0 && animelem=6,<0) && MoveContact = 1)
trigger13 = Stateno = [435,435]
trigger14 = Stateno = [215,216]
trigger15 = Stateno = [1501,1501]
trigger16 = Stateno = [1200,1210]
trigger17 = Stateno = [1250,1260]

[State -1, Smash Kung Fu Upper]
type = ChangeState
value = 32001
triggerall = command = "oriwaza"
triggerall = power >= 2000
trigger1 = ctrl
triggerall = statetype != A
trigger2 = stateno = 201
trigger2 = movehit = 1
trigger3 = stateno = 211&& animelem = 4, <= 4
trigger3 = movehit = 1
trigger4 = stateno = 231
trigger4 = movehit = 1
trigger5 = stateno = 241
trigger5 = movehit = 1
trigger6 = stateno = 410
trigger6 = movehit = 1
trigger7 = stateno = 411
trigger7 = movehit = 1

[State -1,kim]
type = ChangeState
value = 2108
triggerall = roundstate = 2
triggerall =  command = "kim"
triggerall = power >= 1000
triggerall = statetype != A
trigger1 = ctrl
trigger2 = Stateno = 200 && (animelem=4,>0 && animelem=5,<0)
trigger3 = Stateno = 201 && (animelem=3,>0 && animelem=4,<0) ;&& MoveContact = 1
trigger4 = Stateno = 210 && (animelem=5,>0 && animelem=6,<0)
trigger5 = Stateno = 211 && (animelem=4,>0 && animelem=7,<0)
trigger6 = Stateno = 231 && (animelem=3,>0 && animelem=4,<0)
trigger7 = Stateno = 400 && (animelem=3,>0 && animelem=5,<0) && MoveContact = 1
trigger8 = Stateno = 410 && ((animelem=5,>0 && animelem=6,<0) && MoveContact = 1)
trigger9 = Stateno = 436 && ((animelem=5,>0 && animelem=7,<0) && MoveContact = 1)
trigger10 = Stateno = 245 && (animelem=4,>0 && animelem=7,<0)
trigger11 = Stateno = [1550,1550]
trigger12 = Stateno = 435 && ((animelem=5,>0 && animelem=6,<0) && MoveContact = 1)
trigger13 = Stateno = [435,435]
trigger14 = Stateno = [215,216]

[State -1, L ONI]
type = ChangeState
value = 12655
triggerall = Command = "XIII"
triggerall = Power >= 2000 || (var(20) > 0 && Power >= 1000)
triggerall = StateType != A
trigger1 = ctrl
trigger2 = StateNo = 210 && MoveContact
trigger3 = StateNo = 215 && MoveContact
trigger4 = StateNo = 235 && MoveContact
trigger5 = StateNo = 400 && MoveContact
trigger6 = StateNo = 410 && MoveContact
trigger7 = StateNo = 300 && MoveContact
trigger8 = StateNo = 305 && MoveContact
trigger9 = StateNo = 1100 && MoveContact
trigger10 = StateNo = 1201 && MoveContact
trigger11 = StateNo = 1240 && MoveContact
trigger12 = StateNo = 1230 && MoveContact
trigger13 = StateNo = 11100 && MoveContact
trigger14 = StateNo = 2101 && MoveContact
trigger15 = StateNo = 2102 && MoveContact
trigger16 = StateNo = 2103 && MoveContact
trigger17 = StateNo = 2104 && MoveContact
trigger18 = StateNo = 3015 && MoveContact
trigger19 = StateNo = 13000 && MoveContact
trigger20 = StateNo = 1300 && MoveContact
trigger21 = StateNo = 3104 && MoveContact
trigger22 = StateNo = 2500 && MoveContact
trigger23 = StateNo = 2100 && MoveContact
trigger24 = StateNo = 2510 && MoveContact
trigger25 = StateNo = 2511 && MoveContact
trigger26 = StateNo = 2101 && MoveContact
trigger27 = StateNo = 2102 && MoveContact
trigger28 = StateNo = 2103 && MoveContact
trigger29 = StateNo = 2104 && MoveContact
trigger30 = StateNo = 1230 && MoveContact
trigger31 = StateNo = 3015 && MoveContact
trigger32 = StateNo = 305 && MoveContact
trigger33 = StateNo = 11500 && MoveContact
trigger34 = StateNo = 1240 && MoveContact
trigger35 = StateNo = 1230 && MoveContact

[State -1,bolasuper]
type = ChangeState
value = 2103
triggerall = roundstate = 2
triggerall =  command = "bolasuper"
triggerall = power >= 2000
triggerall = statetype != A
trigger1 = ctrl
trigger2 = Stateno = 200 && (animelem=4,>0 && animelem=5,<0)
trigger3 = Stateno = 201 && (animelem=3,>0 && animelem=4,<0) ;&& MoveContact = 1
trigger4 = Stateno = 210 && (animelem=5,>0 && animelem=6,<0)
trigger5 = Stateno = 211 && (animelem=4,>0 && animelem=7,<0)
trigger6 = Stateno = 231 && (animelem=3,>0 && animelem=4,<0)
trigger7 = Stateno = 400 && (animelem=3,>0 && animelem=5,<0) && MoveContact = 1
trigger8 = Stateno = 410 && ((animelem=5,>0 && animelem=6,<0) && MoveContact = 1)
trigger9 = Stateno = 436 && ((animelem=5,>0 && animelem=7,<0) && MoveContact = 1)
trigger10 = Stateno = 245 && (animelem=4,>0 && animelem=7,<0)
trigger11 = Stateno = [2108,2108]
trigger12 = Stateno = 435 && ((animelem=5,>0 && animelem=6,<0) && MoveContact = 1)
trigger13 = Stateno = [435,435]
trigger14 = Stateno = [215,216]
ignorehitpause = 0
;強 禁千弐百拾壱式・八稚女

;Sanguine disturbance
[State -1, Sanguine disturbance]
type = ChangeState
value = 3200
triggerall = command = "Sanguine disturbance1"
triggerall = power >= 2000
trigger1 = statetype != A
trigger1 = ctrl
trigger2 = stateno = 210 && movecontact
trigger3 = stateno = 215 && movecontact
trigger4 = stateno = 235 && movecontact
trigger5 = stateno = 400 && movecontact
trigger6 = stateno = 410 && movecontact
trigger7 = stateno = 300 && movecontact
trigger8 = stateno = 305 && movecontact
trigger9 = stateno = 310 && movecontact
trigger10 = stateno = 1750 && AnimElemtime(4) > 0 && AnimElemtime(5) <= 2 && movehit
trigger11 = stateno = 1810 && AnimElemtime(6) > 0 && AnimElemtime(8) <= 2 && movehit
trigger12 = stateno = 2510 && AnimElemtime(5) > 0 && AnimElemtime(45) < 0 && movehit
trigger13 = stateno = 2515 && AnimElemtime(5) > 0 && AnimElemtime(45) < 0 && movehit
trigger14 = stateno = 1260 && AnimElemtime(4) > 0 && AnimElemtime(5) < 10 && movehit
trigger15 = Stateno = 2510 && movecontact && AnimElem = 1, < = 85
trigger16 = Stateno = 2515 && movecontact && AnimElem = 1, < = 85

[State -1, hadouken]
type = ChangeState
value = 2001
triggerall = var(59) != 1
triggerall = roundstate = 2
triggerall =  command = "yaotome2" || var(1) = 2001
triggerall = ifelse(Var(11) = 1,power >= 1500,power >= 1000)
triggerall = statetype != A
trigger1 = ctrl
trigger2 = Stateno = 200 && (animelem=4,>0 && animelem=5,<0)
trigger3 = Stateno = 201 && (animelem=3,>0 && animelem=4,<0) ;&& MoveContact = 1
trigger4 = Stateno = 210 && (animelem=5,>0 && animelem=6,<0)
trigger5 = Stateno = 211 && (animelem=4,>0 && animelem=7,<0)
trigger6 = Stateno = 231 && (animelem=3,>0 && animelem=4,<0) 
trigger7 = Stateno = 400 && (animelem=3,>0 && animelem=5,<0) && MoveContact = 1
trigger8 = Stateno = 410 && ((animelem=5,>0 && animelem=6,<0) && MoveContact = 1)
trigger9 = Stateno = 436 && ((animelem=5,>0 && animelem=7,<0) && MoveContact = 1)
trigger10 = Stateno = 245 && (animelem=4,>0 && animelem=7,<0)
trigger11 = Stateno = 1100 && Movehit = 1 && AnimElem = 1, >= 3
trigger12 = Stateno = 435 && ((animelem=5,>0 && animelem=6,<0) && MoveContact = 1)
ignorehitpause = 0

[State -1,bolasuper]
type = ChangeState
value = 3600
triggerall = roundstate = 2
triggerall =  command = "super"
triggerall = power >= 2000
triggerall = statetype != A
trigger1 = ctrl
trigger2 = Stateno = 200 && (animelem=4,>0 && animelem=5,<0)
trigger3 = Stateno = 201 && (animelem=3,>0 && animelem=4,<0) ;&& MoveContact = 1
trigger4 = Stateno = 210 && (animelem=5,>0 && animelem=6,<0)
trigger5 = Stateno = 211 && (animelem=4,>0 && animelem=7,<0)
trigger6 = Stateno = 231 && (animelem=3,>0 && animelem=4,<0)
trigger7 = Stateno = 400 && (animelem=3,>0 && animelem=5,<0) && MoveContact = 1
trigger8 = Stateno = 410 && ((animelem=5,>0 && animelem=6,<0) && MoveContact = 1)
trigger9 = Stateno = 436 && ((animelem=5,>0 && animelem=7,<0) && MoveContact = 1)
trigger10 = Stateno = 245 && (animelem=4,>0 && animelem=7,<0)
trigger11 = Stateno = 1100 && Movehit = 1 && AnimElem = 1, >= 3
trigger12 = Stateno = 435 && ((animelem=5,>0 && animelem=6,<0) && MoveContact = 1)
trigger13 = Stateno = [435,435]
trigger14 = Stateno = [215,216]
ignorehitpause = 0


;サイカ
[State -1, hadouken]
type = ChangeState
value = 2100
triggerall = var(59) != 1
triggerall = roundstate = 2
triggerall = command = "saika" || var(1) = 2100
triggerall = ifelse(Var(11) = 1,power >= 1500,power >= 1000)
triggerall = statetype != A
trigger1 = ctrl
trigger2 = Stateno = 200 && (animelem=4,>0 && animelem=5,<0)
trigger3 = Stateno = 201 && (animelem=3,>0 && animelem=4,<0) ;&& MoveContact = 1
trigger4 = Stateno = 210 && (animelem=5,>0 && animelem=6,<0)
trigger5 = Stateno = 211 && (animelem=4,>0 && animelem=7,<0)
trigger6 = Stateno = 231 && (animelem=3,>0 && animelem=4,<0) 
trigger7 = Stateno = 400 && (animelem=3,>0 && animelem=5,<0) && MoveContact = 1
trigger8 = Stateno = 410 && ((animelem=5,>0 && animelem=6,<0) && MoveContact = 1)
trigger9 = Stateno = 436 && ((animelem=5,>0 && animelem=7,<0) && MoveContact = 1)
trigger10 = Stateno = 245 && (animelem=4,>0 && animelem=7,<0)
trigger11 = Stateno = 1100 && Movehit = 1 && AnimElem = 1, >= 3
trigger12 = Stateno = 435 && ((animelem=5,>0 && animelem=6,<0) && MoveContact = 1)
ignorehitpause = 0



;サイカ
[State -1, hadouken]
type = ChangeState
value = 2101
triggerall = roundstate = 2
triggerall = command = "saika1" || var(1) = 2100
triggerall = ifelse(Var(11) = 1,power >= 1500,power >= 2000)
triggerall = statetype != A
trigger1 = ctrl
trigger2 = Stateno = 200 && (animelem=4,>0 && animelem=5,<0)
trigger3 = Stateno = 201 && (animelem=3,>0 && animelem=4,<0) ;&& MoveContact = 1
trigger4 = Stateno = 210 && (animelem=5,>0 && animelem=6,<0)
trigger5 = Stateno = 211 && (animelem=4,>0 && animelem=7,<0)
trigger6 = Stateno = 231 && (animelem=3,>0 && animelem=4,<0)
trigger7 = Stateno = 400 && (animelem=3,>0 && animelem=5,<0) && MoveContact = 1
trigger8 = Stateno = 410 && ((animelem=5,>0 && animelem=6,<0) && MoveContact = 1)
trigger9 = Stateno = 436 && ((animelem=5,>0 && animelem=7,<0) && MoveContact = 1)
trigger10 = Stateno = 245 && (animelem=4,>0 && animelem=7,<0)
trigger11 = Stateno = 1100 && Movehit = 1 && AnimElem = 1, >= 3
trigger12 = Stateno = 435 && ((animelem=5,>0 && animelem=6,<0) && MoveContact = 1)
trigger13 = Stateno = [2002,2002]
ignorehitpause = 0


;==============================================================================
;弱 百式・鬼焼き
[State -1, hadouken]
type = ChangeState
value = 1504
triggerall = var(59) != 1
triggerall = roundstate = 2
triggerall =  command = "oniyaki1" || var(1) = 1000
triggerall = statetype != A
trigger1 = ctrl
trigger2 = Stateno = 200 && (animelem=4,>0 && animelem=5,<0)
trigger3 = Stateno = 201 && (animelem=3,>0 && animelem=4,<0) ;&& MoveContact = 1
trigger4 = Stateno = 210 && (animelem=5,>0 && animelem=6,<0)
trigger5 = Stateno = 211 && (animelem=4,>0 && animelem=7,<0)
trigger6 = Stateno = 231 && (animelem=3,>0 && animelem=4,<0)
trigger7 = Stateno = 400 && (animelem=3,>0 && animelem=5,<0) && MoveContact = 1
trigger8 = Stateno = 410 && ((animelem=5,>0 && animelem=6,<0) && MoveContact = 1)
trigger9 = Stateno = 436 && ((animelem=5,>0 && animelem=7,<0) && MoveContact = 1)
trigger10 = Stateno = 245 && (animelem=4,>0 && animelem=7,<0)
trigger11 = Stateno = [435,435]
trigger12 = Stateno = [215,216]
ignorehitpause = 0


;強 百式・鬼焼き
[State -1, hadouken]
type = ChangeState
value = 1505
triggerall = var(59) != 1
triggerall = roundstate = 2
triggerall =  command = "oniyaki2" || var(1) = 1100
triggerall = statetype != A
trigger1 = ctrl
trigger2 = Stateno = 200 && (animelem=4,>0 && animelem=5,<0)
trigger3 = Stateno = 201 && (animelem=3,>0 && animelem=4,<0) ;&& MoveContact = 1
trigger4 = Stateno = 210 && (animelem=5,>0 && animelem=6,<0)
trigger5 = Stateno = 211 && (animelem=4,>0 && animelem=7,<0)
trigger6 = Stateno = 231 && (animelem=3,>0 && animelem=4,<0)
trigger7 = Stateno = 400 && (animelem=3,>0 && animelem=5,<0) && MoveContact = 1
trigger8 = Stateno = 410 && ((animelem=5,>0 && animelem=6,<0) && MoveContact = 1)
trigger9 = Stateno = 436 && ((animelem=5,>0 && animelem=7,<0) && MoveContact = 1)
trigger10 = Stateno = 245 && (animelem=4,>0 && animelem=7,<0)
trigger11 = Stateno = [435,435]
trigger12 = Stateno = [215,216]
ignorehitpause = 0


;弱 百弐拾七式・葵花
[State -1, hadouken]
type = ChangeState
value = 1200
triggerall = var(59) != 1
triggerall = roundstate = 2
triggerall =  command = "aoi1" || var(1) = 1200
triggerall = statetype != A
trigger1 = ctrl
trigger2 = Stateno = 200 && (animelem=4,>0 && animelem=5,<0)
trigger3 = Stateno = 201 && (animelem=3,>0 && animelem=4,<0) ;&& MoveContact = 1
trigger4 = Stateno = 210 && (animelem=5,>0 && animelem=6,<0)
trigger5 = Stateno = 211 && (animelem=4,>0 && animelem=7,<0)
trigger6 = Stateno = 231 && (animelem=3,>0 && animelem=4,<0) 
trigger7 = Stateno = 400 && (animelem=3,>0 && animelem=5,<0) && MoveContact = 1
trigger8 = Stateno = 410 && ((animelem=5,>0 && animelem=6,<0) && MoveContact = 1)
trigger9 = Stateno = 436 && ((animelem=5,>0 && animelem=7,<0) && MoveContact = 1)
trigger10 = Stateno = 245 && (animelem=4,>0 && animelem=7,<0)
trigger11 = Stateno = [435,435]
trigger12 = Stateno = [215,216]
ignorehitpause = 0


;強 百弐拾七式・葵花
[State -1, hadouken]
type = ChangeState
value = 1250
triggerall = var(59) != 1
triggerall = roundstate = 2
triggerall =  command = "aoi2" || var(1) = 1250
triggerall = statetype != A
trigger1 = ctrl
trigger2 = Stateno = 200 && (animelem=4,>0 && animelem=5,<0)
trigger3 = Stateno = 201 && (animelem=3,>0 && animelem=4,<0) ;&& MoveContact = 1
trigger4 = Stateno = 210 && (animelem=5,>0 && animelem=6,<0)
trigger5 = Stateno = 211 && (animelem=4,>0 && animelem=7,<0)
trigger6 = Stateno = 231 && (animelem=3,>0 && animelem=4,<0) 
trigger7 = Stateno = 400 && (animelem=3,>0 && animelem=5,<0) && MoveContact = 1
trigger8 = Stateno = 410 && ((animelem=5,>0 && animelem=6,<0) && MoveContact = 1)
trigger9 = Stateno = 436 && ((animelem=5,>0 && animelem=7,<0) && MoveContact = 1)
trigger10 = Stateno = 245 && (animelem=4,>0 && animelem=7,<0)
trigger11 = Stateno = [435,435]
trigger12 = Stateno = [215,216]
ignorehitpause = 0


;弱 琴月
[State -1, hadouken]
type = ChangeState
value = 1300
triggerall = var(59) != 1
triggerall = roundstate = 2
triggerall =  command = "kotozuki1" || var(1) = 1300
triggerall = statetype != A
trigger1 = ctrl
trigger2 = Stateno = 200 && (animelem=4,>0 && animelem=5,<0)
trigger3 = Stateno = 201 && (animelem=3,>0 && animelem=4,<0) ;&& MoveContact = 1
trigger4 = Stateno = 210 && (animelem=5,>0 && animelem=6,<0)
trigger5 = Stateno = 211 && (animelem=4,>0 && animelem=7,<0)
trigger6 = Stateno = 231 && (animelem=3,>0 && animelem=4,<0) 
trigger7 = Stateno = 400 && (animelem=3,>0 && animelem=5,<0) && MoveContact = 1
trigger8 = Stateno = 410 && ((animelem=5,>0 && animelem=6,<0) && MoveContact = 1)
trigger9 = Stateno = 436 && ((animelem=5,>0 && animelem=7,<0) && MoveContact = 1)
trigger10 = Stateno = 245 && (animelem=4,>0 && animelem=7,<0)
trigger11 = Stateno = [435,435]
trigger12 = Stateno = [215,216]
trigger13 = Stateno = [435,435]
trigger14 = Stateno = [215,216]
ignorehitpause = 0




;強 琴月
[State -1, hadouken]
type = ChangeState
value = 1350
triggerall = var(59) != 1
triggerall = roundstate = 2
triggerall =  command = "kotozuki2" || var(1) = 1350
triggerall = statetype != A
trigger1 = ctrl
trigger2 = Stateno = 200 && (animelem=4,>0 && animelem=5,<0)
trigger3 = Stateno = 201 && (animelem=3,>0 && animelem=4,<0) ;&& MoveContact = 1
trigger4 = Stateno = 210 && (animelem=5,>0 && animelem=6,<0)
trigger5 = Stateno = 211 && (animelem=4,>0 && animelem=7,<0)
trigger6 = Stateno = 231 && (animelem=3,>0 && animelem=4,<0) 
trigger7 = Stateno = 400 && (animelem=3,>0 && animelem=5,<0) && MoveContact = 1
trigger8 = Stateno = 410 && ((animelem=5,>0 && animelem=6,<0) && MoveContact = 1)
trigger9 = Stateno = 436 && ((animelem=5,>0 && animelem=7,<0) && MoveContact = 1)
trigger10 = Stateno = 245 && (animelem=4,>0 && animelem=7,<0)
trigger11 = Stateno = [435,435]
trigger12 = Stateno = [215,216]
ignorehitpause = 0


;屑風
[State -1, hadouken]
type = ChangeState
value = 1400
triggerall = var(59) != 1
triggerall = roundstate = 2
triggerall =  command = "kuzukaze" || var(1) = 1400
triggerall = statetype != A
trigger1 = ctrl
trigger2 = Stateno = 200 && (animelem=4,>0 && animelem=5,<0)
trigger3 = Stateno = 201 && (animelem=3,>0 && animelem=4,<0) ;&& MoveContact = 1
trigger4 = Stateno = 210 && (animelem=5,>0 && animelem=6,<0)
trigger5 = Stateno = 211 && (animelem=4,>0 && animelem=7,<0)
trigger6 = Stateno = 231 && (animelem=3,>0 && animelem=4,<0) 
trigger7 = Stateno = 400 && (animelem=3,>0 && animelem=5,<0) && MoveContact = 1
trigger8 = Stateno = 410 && ((animelem=5,>0 && animelem=6,<0) && MoveContact = 1)
trigger9 = Stateno = 436 && ((animelem=5,>0 && animelem=7,<0) && MoveContact = 1)
trigger10 = Stateno = 245 && (animelem=4,>0 && animelem=7,<0)
ignorehitpause = 0


;弱 百八式・闇払い
[State -1, hadouken]
type = ChangeState
value = 1500
triggerall = var(59) != 1
triggerall = Numproj = 0
triggerall = roundstate = 2
triggerall =  command = "yamibarai1" || var(1) = 1500
triggerall = statetype != A
trigger1 = ctrl
trigger2 = Stateno = 200 && (animelem=4,>0 && animelem=5,<0)
trigger3 = Stateno = 201 && (animelem=3,>0 && animelem=4,<0) ;&& MoveContact = 1
trigger4 = Stateno = 210 && (animelem=5,>0 && animelem=6,<0)
trigger5 = Stateno = 211 && (animelem=4,>0 && animelem=7,<0)
trigger6 = Stateno = 231 && (animelem=3,>0 && animelem=4,<0) 
trigger7 = Stateno = 400 && (animelem=3,>0 && animelem=5,<0) && MoveContact = 1
trigger8 = Stateno = 410 && ((animelem=5,>0 && animelem=6,<0) && MoveContact = 1)
trigger9 = Stateno = 436 && ((animelem=5,>0 && animelem=7,<0) && MoveContact = 1)
trigger10 = Stateno = 245 && (animelem=4,>0 && animelem=7,<0)
trigger11 = Stateno = [435,435]
trigger12 = Stateno = 215 && ((animelem=4,>0 && animelem=9,<0) && MoveContact = 1)
trigger13= Stateno = 216 && ((animelem=4,>0 && animelem=9,<0) && MoveContact = 1)
trigger14 = Stateno = 1550 && (animelem=5,>0 && animelem=10,<0)
ignorehitpause = 0

[State -1]
type = ChangeState
value = 6998
triggerall = command = "kck"
triggerall = statetype != A
triggerall = power >= 3000
trigger1 = ctrl = 1


;弱 百八式・闇払い
[State -1, hadouken]
type = ChangeState
value = 1501
triggerall = Numproj = 0
triggerall = roundstate = 2
triggerall =  command = "yamibarai3"
triggerall = statetype != A
trigger1 = ctrl
trigger2 = Stateno = 200 && (animelem=4,>0 && animelem=5,<0)
trigger3 = Stateno = 201 && (animelem=3,>0 && animelem=4,<0) ;&& MoveContact = 1
trigger4 = Stateno = 210 && (animelem=5,>0 && animelem=6,<0)
trigger5 = Stateno = 211 && (animelem=4,>0 && animelem=7,<0)
trigger6 = Stateno = 231 && (animelem=3,>0 && animelem=4,<0)
trigger7 = Stateno = 400 && (animelem=3,>0 && animelem=5,<0) && MoveContact = 1
trigger8 = Stateno = 410 && ((animelem=5,>0 && animelem=6,<0) && MoveContact = 1)
trigger9 = Stateno = 436 && ((animelem=5,>0 && animelem=7,<0) && MoveContact = 1)
trigger10 = Stateno = 245 && (animelem=4,>0 && animelem=7,<0)
trigger11 = Stateno = [435,435]
trigger12 = Stateno = 215 && ((animelem=4,>0 && animelem=9,<0) && MoveContact = 1)
trigger13 = Stateno = 216 && ((animelem=4,>0 && animelem=9,<0) && MoveContact = 1)
ignorehitpause = 0


;弱 百八式・闇払い
[State -1, hadouken]
type = ChangeState
value = 1502
triggerall = Numproj = 0
triggerall = roundstate = 2
triggerall =  command = "yamibarai4"
triggerall = statetype != A
trigger1 = ctrl
trigger2 = Stateno = 200 && (animelem=4,>0 && animelem=5,<0)
trigger3 = Stateno = 201 && (animelem=3,>0 && animelem=4,<0) ;&& MoveContact = 1
trigger4 = Stateno = 210 && (animelem=5,>0 && animelem=6,<0)
trigger5 = Stateno = 211 && (animelem=4,>0 && animelem=7,<0)
trigger6 = Stateno = 231 && (animelem=3,>0 && animelem=4,<0)
trigger7 = Stateno = 400 && (animelem=3,>0 && animelem=5,<0) && MoveContact = 1
trigger8 = Stateno = 410 && ((animelem=5,>0 && animelem=6,<0) && MoveContact = 1)
trigger9 = Stateno = 436 && ((animelem=4,>0 && animelem=7,<0) && MoveContact = 1)
trigger10 = Stateno = 245 && (animelem=4,>0 && animelem=7,<0)
trigger11 = Stateno = 215 && ((animelem=4,>0 && animelem=9,<0) && MoveContact = 1)
trigger12 = Stateno = 216 && ((animelem=4,>0 && animelem=9,<0) && MoveContact = 1)
trigger13 = Stateno = [1501,1501]
trigger14 = Stateno = 1501 && (animelem=4,>0 && animelem=6,<0)
trigger15 = Stateno = 435 && ((animelem=3,>0 && animelem=5,<0) && MoveContact = 1)
ignorehitpause = 0


;強 百八式・闇払い
[State -1, hadouken]
type = ChangeState
value = 1550
triggerall = var(59) != 1
triggerall = roundstate = 2
triggerall = Numproj = 0
triggerall =  command = "yamibarai2" || var(1) = 1550
triggerall = statetype != A
trigger1 = ctrl
trigger2 = Stateno = 200 && (animelem=4,>0 && animelem=5,<0)
trigger3 = Stateno = 201 && (animelem=3,>0 && animelem=4,<0) ;&& MoveContact = 1
trigger4 = Stateno = 210 && (animelem=5,>0 && animelem=6,<0)
trigger5 = Stateno = 211 && (animelem=4,>0 && animelem=7,<0)
trigger6 = Stateno = 231 && (animelem=3,>0 && animelem=4,<0) 
trigger7 = Stateno = 400 && (animelem=3,>0 && animelem=5,<0) && MoveContact = 1
trigger8 = Stateno = 410 && ((animelem=5,>0 && animelem=6,<0) && MoveContact = 1)
trigger9 = Stateno = 436 && ((animelem=5,>0 && animelem=7,<0) && MoveContact = 1)
trigger10 = Stateno = 435 && ((animelem=3,>0 && animelem=5,<0) && MoveContact = 1)
trigger11 = Stateno = 215 && ((animelem=4,>0 && animelem=9,<0) && MoveContact = 1)
trigger12 = Stateno = 216 && ((animelem=4,>0 && animelem=9,<0) && MoveContact = 1)
ignorehitpause = 0


;------------------------------------------------------------------------------
;ダッシュ
[State -1, Dash]
type = ChangeState
value = 100
triggerall = var(59) != 1
trigger1 = command = "FF"
trigger1 = statetype = S
trigger1 = ctrl
ignorehitpause = 0

;バックステップ
[State -1, Back Step]
type = ChangeState
value = 105
triggerall = var(59) != 1
trigger1 = command = "BB"
trigger1 = statetype = S
trigger1 = ctrl
ignorehitpause = 0

;回り込み、
[State -1, Roll]
type = ChangeState
value = ifelse(Command="holdback",710,700) ;後ろを押している時は710になる
triggerall = var(59) != 1
triggerall = command = "roll" 
trigger1 = statetype = S && Ctrl
ignorehitpause = 0

;ガードキャンセル前転
[State -1, Roll]
type = ChangeState
value = ifelse(Command="holdback",730,720) 
triggerall = var(59) != 1
triggerall = command = "roll" 
triggerall = Power >= 1000
trigger1 = stateno = 150
trigger2 = stateno = 151
trigger3 = stateno = 152
trigger4 = stateno = 153

;------------------------------------------------------------------------------
;投げ
[State -1, Kung Fu Throw]
type = ChangeState
value = 800
triggerall = var(59) != 1
triggerall = command = "y"
triggerall = statetype = S
triggerall = ctrl
triggerall = stateno != 100
trigger1 = command = "holdfwd"
trigger1 = p2bodydist X = (-5,3) ;負の方向にも制限を付けないと…
trigger1 = (p2statetype = S) || (p2statetype = C)
trigger1 = p2movetype != H
trigger2 = command = "holdback"
trigger2 = p2bodydist X = (-3,5) ;相手の後ろに回った後も投げが出せてしまう
trigger2 = (p2statetype = S) || (p2statetype = C)
trigger2 = p2movetype != H
ignorehitpause = 0


;K投げ
[State -1, Kung Fu Throw]
type = ChangeState
value = 900
triggerall = var(59) != 1
triggerall = command = "b"
triggerall = statetype = S
triggerall = ctrl
triggerall = stateno != 100
trigger1 = command = "holdfwd"
trigger1 = p2bodydist X = (-5,3) ;負の方向にも制限を付けないと…
trigger1 = (p2statetype = S) || (p2statetype = C)
trigger1 = p2movetype != H
trigger2 = command = "holdback"
trigger2 = p2bodydist X = (-3,5) ;相手の後ろに回った後も投げが出せてしまう
trigger2 = (p2statetype = S) || (p2statetype = C)
trigger2 = p2movetype != H
ignorehitpause = 0

;------------------------------------------------------------------------------
;------外式・轟斧　陽[ノーキャンセル]  ------
[State -1]
type = ChangeState
value = 215
triggerall = var(59) != 1
triggerall = command = "a"
triggerall = command != "holddown" && command = "holdfwd" || var(2) = 215
triggerall = statetype != A
triggerall = statetype = S
trigger1 = ctrl
trigger2 = stateno = [435,435]
ignorehitpause = 0

;------外式・轟斧[キャンセル]  ------
[State -1]
type = ChangeState
value = 216
triggerall = var(59) != 1
triggerall = command = "a"
triggerall = command = "holdfwd" || var(2) = 215
triggerall = statetype != A
trigger1 = stateno = 201 && (animelem=3,>0 && animelem=4,<0) ;&& MoveContact = 1
trigger2 = Stateno = 211 && (animelem=4,>0 && animelem=7,<0)
trigger3 = Stateno = 231 && (animelem=3,>0 && animelem=4,<0) 
trigger4 = stateno = 400 && (animelem=3,>0 && animelem=5,<0) && MoveContact = 1
trigger5 = Stateno = 410 && ((animelem=5,>0 && animelem=6,<0) && MoveContact = 1)
ignorehitpause = 0


;外式・夢弾
[State -1, rokotu]
type = ChangeState
value = 435
triggerall = var(59) != 1
triggerall = command = "x"
triggerall = command = "holdfwd" || var(2) = 435
triggerall = statetype != A
trigger1 = ctrl
trigger2 = stateno = 201 && (animelem=3,>0 && animelem=4,<0) ;&& MoveContact = 1
trigger3 = Stateno = 211 && (animelem=4,>0 && animelem=7,<0)
trigger4 = Stateno = 231 && (animelem=3,>0 && animelem=4,<0) 
trigger5 = stateno = 400 && (animelem=3,>0 && animelem=5,<0) && MoveContact = 1
trigger6 = Stateno = 410 && ((animelem=5,>0 && animelem=6,<0) && MoveContact = 1)
ignorehitpause = 0

;------  百合折り  ------
[State -1]
type = ChangeState
value = 636
triggerall = var(59) != 1
trigger1 = statetype = A && ctrl
trigger1 = P2bodydist X < 0 && (command = "holdfwd"  && command = "x")
trigger2 = statetype = A && ctrl
trigger2 = P2bodydist X >= 0 && (command = "holdback" && command = "x")
ignorehitpause = 0

[State -1]
type = ChangeState
value = 635
triggerall = var(59) != 1
trigger1 = statetype = A && ctrl
trigger1 = P2bodydist X < 0 && (command = "holdfwd"  && command = "a")
trigger2 = statetype = A && ctrl
trigger2 = P2bodydist X >= 0 && (command = "holdback" && command = "a")
trigger3 = stateno = 106 && (command = "holdback" && command = "a")
ignorehitpause = 0

;ぶっ飛ばし攻撃
[State -1]
type = ChangeState
value = 245
triggerall = var(59) != 1
triggerall = command = "z" || var(2) = 1
triggerall = command != "holddown"
triggerall = statetype = S
trigger1 = ctrl
ignorehitpause = 0

;ガードキャンセルぶっ飛ばし攻撃
[State -1]
type = ChangeState
value = 255
triggerall = var(59) != 1
triggerall = command = "z" || var(2) = 1
triggerall = statetype != A
triggerall = Power >= 1000
trigger1 = stateno = 150
trigger2 = stateno = 151
trigger3 = stateno = 152
trigger4 = stateno = 153
ignorehitpause = 0

;ジャンプぶっとばし攻撃
[State -1]
type = ChangeState
value = 650
triggerall = var(59) != 1
triggerall =  command = "z" || var(2) = 1
;triggerall = command != "holddown"
triggerall = statetype = A
trigger1 = ctrl
ignorehitpause = 0

;==============================================================================
;近距離立ち弱パンチ
[State -1, Stand Light Punch]
type = ChangeState
value = 201
triggerall = var(59) != 1
triggerall = roundstate = 2
triggerall = command = "x" || var(2) = 2
triggerall = command != "holddown"
triggerall = P2BodyDist X <= 30
triggerall = statetype != A
trigger1 = ctrl
trigger2 = stateno = 201 && (animelem=3,>0 && animelem=4,<0)
trigger3 = stateno = 430 && (animelem=4,>0 && animelem=6,<0)
ignorehitpause = 0


;遠距離立ち弱パンチ
[State -1, Stand Light Punch]
type = ChangeState
value = 200
triggerall = var(59) != 1
triggerall = command = "x" || var(2) = 2
triggerall = command != "holddown"
triggerall = P2BodyDist X > 30
triggerall = statetype != A
trigger1 = ctrl
trigger2 = stateno = 201 && (animelem=3,>0 && animelem=4,<0)
trigger3 = stateno = 430 && (animelem=4,>0 && animelem=6,<0)
ignorehitpause = 0


;近距離立ち強パンチ
[State -1, Stand Strong Punch]
type = ChangeState
value = 211
triggerall = var(59) != 1
triggerall = command = "y" || var(2) = 3
triggerall = command != "holddown"
triggerall = P2BodyDist X <= 30
triggerall = statetype != A
ignorehitpause = 0
trigger1 = ctrl
trigger2 = stateno = [200,201]


;立ち強パンチ
[State -1, Stand Strong Punch]
type = ChangeState
value = 210
triggerall = var(59) != 1
triggerall = command = "y" || var(2) = 3
triggerall = command != "holddown"
triggerall = statetype != A
ignorehitpause = 0
trigger1 = ctrl
trigger2 = stateno = [200,201]


;------------------------------------------------------------------------------
;近距離立ち弱キック
[State -1, Stand Light Kick]
type = ChangeState
value = 231
triggerall = var(59) != 1
triggerall = roundstate = 2
triggerall = command = "a" || var(2) = 4
triggerall = command != "holddown"
triggerall = P2BodyDist X <= 30
triggerall = statetype != A
trigger1 = ctrl
trigger2 = stateno = 201 && (animelem=3,>0 && animelem=4,<0)
trigger3 = stateno = 430 && (animelem=4,>0 && animelem=6,<0)
ignorehitpause = 0

;立ち弱キック
[State -1, Stand Light Kick]
type = ChangeState
value = 230
triggerall = var(59) != 1
triggerall = command = "a" || var(2) = 4
triggerall = command != "holddown"
triggerall = statetype != A
triggerall = P2BodyDist X > 30
trigger1 = ctrl
trigger2 = stateno = 200 && (animelem=4,>0 && animelem=5,<0)
ignorehitpause = 0

;近距離強キック
[State -1, Standing Strong Kick]
type = ChangeState
value = 241
triggerall = var(59) != 1
triggerall = command = "b" || var(2) = 5
triggerall = command != "holddown"
triggerall = P2BodyDist X <= 25
triggerall = statetype != A
trigger1 = ctrl
ignorehitpause = 0

;立ち強キック
[State -1, Standing Strong Kick]
type = ChangeState
value = 240
triggerall = var(59) != 1
triggerall = command = "b" || var(2) = 5
triggerall = command != "holddown"
triggerall = statetype != A
trigger1 = ctrl
ignorehitpause = 0

;------------------------------------------------------------------------------
;しゃがみ弱パンチ
[State -1, Crouching Light Punch]
type = ChangeState
value = 400
triggerall = var(59) != 1
triggerall = command = "x" || var(2) = 2
triggerall = command = "holddown"
triggerall = statetype != A
trigger1 = ctrl
trigger2 = Stateno = 200 && (animelem=4,>0 && animelem=5,<0)
trigger3 = stateno = 201 && (animelem=3,>0 && animelem=4,<0)
trigger4 = stateno = 400 && (animelem=3,>0 && animelem=5,<0)
trigger5 = stateno = 430 && (animelem=4,>0 && animelem=6,<0)
ignorehitpause = 0

;しゃがみ強パンチ
[State -1, Crouching Strong Punch]
type = ChangeState
value = 410
triggerall = var(59) != 1
triggerall = command = "y" || var(2) = 3
triggerall = command = "holddown"
triggerall = statetype != A
trigger1 = ctrl
ignorehitpause = 0

;------------------------------------------------------------------------------
;しゃがみ弱キック
[State -1, Crouching Light Kick]
type = ChangeState
value = 430
triggerall = var(59) != 1
triggerall = command = "a" || var(2) = 4
triggerall = command = "holddown"
triggerall = statetype != A
trigger1 = ctrl
trigger2 = Stateno = 200 && (animelem=4,>0 && animelem=5,<0)
trigger3 = stateno = 201 && (animelem=3,>0 && animelem=4,<0)
trigger4 = stateno = 400 && (animelem=3,>0 && animelem=5,<0)
trigger5 = stateno = 430 && (animelem=4,>0 && animelem=6,<0)
ignorehitpause = 0

;しゃがみ強キック
[State -1, Crouching Strong Kick]
type = ChangeState
value = 440
triggerall = var(59) != 1
triggerall = command = "b" || var(2) = 5
triggerall = command = "holddown"
triggerall = statetype != A
trigger1 = ctrl
ignorehitpause = 0

;------------------------------------------------------------------------------
;空中弱パンチ
[State -1, Jump Light Punch]
type = ChangeState
value = 600
triggerall = var(59) != 1
triggerall = command = "x" || var(2) = 2
triggerall = stateno != 105  ;バックステップ中は禁止
triggerall = stateno != 5040
trigger1 = statetype = A
trigger1 = ctrl
ignorehitpause = 0


;空中強パンチ
[State -1, Jump Strong Punch]
type = ChangeState
value = 610
triggerall = var(59) != 1
triggerall = command = "y" || var(2) = 3
triggerall = stateno != 105
triggerall = stateno != 5040
trigger1 = statetype = A
trigger1 = ctrl
ignorehitpause = 0


;------------------------------------------------------------------------------
;空中弱キック
[State -1, Jump Light Kick]
type = ChangeState
value = 630
triggerall = var(59) != 1
triggerall = command = "a" || var(2) = 4
triggerall = stateno != 105
triggerall = stateno != 5040
triggerall = statetype = A
trigger1 = ctrl
ignorehitpause = 0

;空中強キック
[State -1, Jump Strong Kick]
type = ChangeState
value = 640
triggerall = var(59) != 1
triggerall = command = "b" || var(2) = 5
triggerall = stateno != 105
triggerall = stateno != 5040
triggerall = statetype = A
trigger1 = ctrl
ignorehitpause = 0

;------------------------------------------------------------------------------
;挑発
[State -1, Taunt]
type = ChangeState
value = 196
triggerall = var(59) != 1
triggerall = var(58) != 1
triggerall = command = "start" || var(1) = 195
;triggerall = (P2Name != "kyoXI" || P4Name != "kyoXI") && EnemyNear,AuthorName != "beppu"
;triggerall = (P2Name != "kyo99" || P4Name != "kyo99") && EnemyNear,AuthorName != "beppu"
trigger1 = statetype != A
trigger1 = ctrl

;挑発
[State -1, Taunt]
type = ChangeState
value = 197
triggerall = var(59) != 1
triggerall = var(58) = 1
triggerall = command = "start" || var(1) = 195
trigger1 = statetype != A
trigger1 = ctrl


