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

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

;カプコン仕様っぽいやつ
;[Remap]
;x = a
;y = z
;z = c
;a = x
;b = y
;c = b
;s = s

;-| AI |--------------------------------------------------------
[Command]
name = "AI0"
command = a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a
time = 0
[Command]
name = "AI1"
command = b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b
time = 0
[Command]
name = "AI2"
command = c,c,c,c,c,c,c,c,c,c,c,c,c,c,c,c,c,c,c
time = 0
[Command]
name = "AI3"
command = x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x
time = 0
[Command]
name = "AI4"
command = y,y,y,y,y,y,y,y,y,y,y,y,y,y,y,y,y,y,y
time = 0
[Command]
name = "AI5"
command = z,z,z,z,z,z,z,z,z,z,z,z,z,z,z,z,z,z,z
time = 0
[Command]
name = "AI6"
command = s,s,s,s,s,s,s,s,s,s,s,s,s,s,s,s,s,s,s
time = 0
[Command]
name = "AI7"
command = F,F,F,F,F,F,F,F,F,F,F,F,F,F,F,F,F,F,F
time = 0
[Command]
name = "AI8"
command = D,D,D,D,D,D,D,D,D,D,D,D,D,D,D,D,D,D,D
time = 0
[Command]
name = "AI9"
command = B,B,B,B,B,B,B,B,B,B,B,B,B,B,B,B,B,B,B
time = 0
[Command]
name = "AI10"
command = U,U,U,U,U,U,U,U,U,U,U,U,U,U,U,U,U,U,U
time = 0
[Command]
name = "AI11"
command = a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a
time = 0
[Command]
name = "AI12"
command = c,c,c,c,c,c,c,c,c,c,c,c,c,c,c,c,c,c,c
time = 0
[Command]
name = "AI13"
command = x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x
time = 0
[Command]
name = "AI14"
command = y,y,y,y,y,y,y,y,y,y,y,y,y,y,y,y,y,y,y
time = 0
[Command]
name = "AI15"
command = z,z,z,z,z,z,z,z,z,z,z,z,z,z,z,z,z,z,z
time = 0
[Command]
name = "AI16"
command = s,s,s,s,s,s,s,s,s,s,s,s,s,s,s,s,s,s,s
time = 0
[Command]
name = "AI17"
command = a,B,c,x,y,z,s,B,D,F,U,a,b,c,x,y,z,s,s
time = 0
[Command]
name = "AI18"
command = a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a
time = 0
[Command]
name = "AI19"
command = b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b
time = 0
[Command]
name = "AI20"
command = c,c,c,c,c,c,c,c,c,c,c,c,c,c,c,c,c,c,c
time = 0
[Command]
name = "AI21"
command = x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x
time = 0
[Command]
name = "AI22"
command = y,y,y,y,y,y,y,y,y,y,y,y,y,y,y,y,y,y,y
time = 0
[Command]
name = "AI23"
command = z,z,z,z,z,z,z,z,z,z,z,z,z,z,z,z,z,z,z
time = 0
[Command]
name = "AI24"
command = s,s,s,s,s,s,s,s,s,s,s,s,s,s,s,s,s,s,s
time = 0
[Command]
name = "AI25"
command = F,F,F,F,F,F,F,F,F,F,F,F,F,F,F,F,F,F,F
time = 0
[Command]
name = "AI26"
command = D,D,D,D,D,D,D,D,D,D,D,D,D,D,D,D,D,D,D
time = 0
[Command]
name = "AI27"
command = B,B,B,B,B,B,B,B,B,B,B,B,B,B,B,B,B,B,B
time = 0
[Command]
name = "AI28"
command = U,U,U,U,U,U,U,U,U,U,U,U,U,U,U,U,U,U,U
time = 0
[Command]
name = "AI29"
command = a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a
time = 0
[Command]
name = "AI30"
command = c,c,c,c,c,c,c,c,c,c,c,c,c,c,c,c,c,c,c
time = 0
[Command]
name = "AI31"
command = x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x
time = 0
[Command]
name = "AI32"
command = y,y,y,y,y,y,y,y,y,y,y,y,y,y,y,y,y,y,y
time = 0
[Command]
name = "AI33"
command = z,z,z,z,z,z,z,z,z,z,z,z,z,z,z,z,z,z,z
time = 0
[Command]
name = "AI34"
command = s,s,s,s,s,s,s,s,s,s,s,s,s,s,s,s,s,s,s
time = 0
[Command]
name = "AI35"
command = z,z,z,z,z,z,z,z,z,z,z,z,z,z,z,z,z,z,z
time = 0
[Command]
name = "AI36"
command = z,z,z,z,z,z,a,a,a,z,z,z,z,z,z,z,z,z,z
time = 0
[Command]
name = "AI37"
command = z,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,z,z,z
time = 0
[Command]
name = "AI38"
command = z,z,z,z,z,a,a,a,z,z,z,z,z,a,a,a,z,z,z
time = 0
[Command]
name = "AI39"
command = z,z,z,z,z,a,a,a,z,z,z,z,z,z,a,a,z,z,z
time = 0
[Command]
name = "AI40"
command = z,z,z,z,a,a,a,z,z,z,z,a,z,z,a,a,z,z,z
time = 0
[Command]
name = "AI41"
command = z,z,z,a,z,z,z,z,z,z,z,z,z,a,a,z,z,z,z
time = 0
[Command]
name = "AI42"
command = z,z,z,z,z,z,z,z,z,z,z,z,z,z,z,z,z,z,z
time = 0
[Command]
name = "AI43"
command = z,z,z,z,z,z,z,z,z,z,z,z,z,z,z,z,a,a,z
time = 0
[Command]
name = "AI44"
command = z,z,a,a,a,a,z,z,z,z,z,z,z,z,z,a,a,a,z
time = 0
[Command]
name = "AI45"
command = z,z,z,z,z,z,a,a,z,z,z,z,z,a,a,a,a,z,z
time = 0
[Command]
name = "AI46"
command = z,z,z,z,z,z,z,z,a,a,a,a,a,a,z,z,z,z,z
time = 0
[Command]
name = "AI47"
command = z,z,z,a,a,a,a,z,z,z,z,z,z,z,z,z,z,z,z
time = 0
[Command]
name = "AI48"
command = z,z,z,z,z,a,a,a,z,z,z,a,a,a,z,z,a,z,a
time = 0
[Command]
name = "AI49"
command = z,z,z,z,a,a,a,z,z,z,z,z,a,a,a,z,z,z,z
time = 0
[Command]
name = "AI50"
command = z,z,z,a,a,z,z,z,z,z,z,z,z,z,a,a,z,z,z
time = 0

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

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


;------------------------------------------------------------------------------
;-| 超必殺技 |-----------------------------------------------------------------
[Command]
name = "ブースト" 
command =  /$B,y
time = 1

[Command]
name = "i_want" 
command =  /y,$U
time = 1

[Command]
name = "団結" 
command = /$D,y
time = 1

[Command]
name = "ボイスアピール" 
command = /$F,y
time = 1

[Command]
name = "獅子戦吼覇" 
command = ~F,B,DB,D,DF,F, y
time = 25

;------------------------------------------------------------------------------
;-| 必殺技 |-------------------------------------------------------------------
[Command]
name = "front_x"
command = /$F,x
time = 1

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

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

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

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

[Command]
name = "back_c"
command = /B,c
time = 1

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

[Command]
name = "down_x"
command = /$D,x
time = 1

[Command]
name = "up_x"
command = /x,$U
time = 5

[Command]
name = "up_x2"
command = /$U,x
time = 5

[Command]
name = "apper"
command = /$DF,c
time = 1

[Command]
name = "spin"
command = /$DF,b
time = 1

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

;------------------------------------------------------------------------------
;-| キー２回連続入力 |---------------------------------------------------------
[Command]
name = "FF"   
command = F, F
time = 10

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

[Command]
name = "バックステップ"     ;Required (do not remove)
command = B, B
time = 15

[Command]
name = "HighJump"    
command = ~$D,$U
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="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
;------------------------------------------------------------------------------
;-| 方向キー押しっぱなし |-----------------------------------------------------
[Command]
name = "holdfwd"   ;要求済み (キーの変更は可能ですが名前を変えたり無効にしてはいけません)
command = /$F
time = 1

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

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

[Command]
name = "holdfwdup"
command = /$UF

[Command]
name = "holdbackup"
command = /$UB

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

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

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

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

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

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

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

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

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

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

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


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

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

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

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

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

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

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

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

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

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

;==============================================================================
[Statedef -1]
;==============================================================================
;---------------------------------------------------------------------------
;---------------------------------------------------------------------------
;ステージフォーユー！
[State -1]
type = ChangeState
value = 2599
triggerall = Var(59) = 0
triggerall = roundstate = 2
triggerall = power >= 2000
triggerall = statetype != A
triggerall = FVar(30) != 1
triggerall = Var(12) = 0
trigger1 = command = "ブースト"
trigger1 = ctrl = 1

;---------------------------------------------------------------------------
;バーストフィニッシュ
[State -1]
type = ChangeState
value = 9890
triggerall = Var(59) = 0
triggerall = roundstate = 2
triggerall = statetype != A
triggerall = MoveType != H
triggerall = fvar(30) = 1
triggerall = anim != 9890
triggerall = anim != 9891
triggerall = StateNo != 331
trigger1 = Var(24)<=0
trigger2 = command = "y"
ctrl = 0

;---------------------------------------------------------------------------
;バーストブレイク
[State -1]
type = ChangeState
triggerall = FVar(30) = 1
triggerall = Helper(8800), Var(40) != 0
trigger1 = Life = 1
value = 9899

;---------------------------------------------------------------------------
;バーストアピール
[State -1]
type = ChangeState
value = 9800
triggerall = Var(59) = 0
triggerall = Var(24) >= 1000
triggerall = statetype != A
triggerall = command = "z"
triggerall = NumHelper(9800) = 0
triggerall = statetype != A
triggerall = MoveType != H
triggerall = StateNo != 505&&StateNo !=506&&StateNo !=507
triggerall = StateNo != 900&&StateNo !=901
triggerall = StateNo != 2002
triggerall = StateNo != 2600&&StateNo !=2601&&StateNo !=2605&&StateNo !=2606
triggerall = StateNo != 3500
triggerall = StateNo != 5900
triggerall = StateNo != 7999&&StateNo !=8000
trigger1 = RoundState = 2

;---------------------------------------------------------------------------
;無尽合体キサラギ
[State -1]
type = ChangeState
value = 3200
triggerall = Var(59) = 0
triggerall = roundstate = 2
triggerall = statetype = A
triggerall = command = "y" 
triggerall = power >= 1000
triggerall = FVar(30) != 1
trigger1 = ctrl = 1
trigger2 = stateno = 296
trigger3 = stateno = 3480
trigger3 = time >= 10

;---------------------------------------------------------------------------
;i_want
[State -1]
type = ChangeState
value = 2000
triggerall = Var(59) = 0
triggerall = roundstate = 2
triggerall = statetype != A
triggerall = command = "i_want" 
triggerall = power >= 2000
triggerall = FVar(30) != 1
trigger1 = ctrl = 1
trigger2 = StateNo = 40

;---------------------------------------------------------------------------
;団結
[State -1]
type = ChangeState
value = 900
triggerall = Var(59) = 0
triggerall = roundstate = 2
triggerall = statetype != A
triggerall = command = "団結"
triggerall = power >= 1000
triggerall = FVar(30) != 1
trigger1 = ctrl = 1
trigger2 = stateno = 200
trigger2 = movecontact
trigger3 = stateno = 210
trigger3 = movecontact
trigger4 = stateno = 220
trigger4 = movecontact
trigger5 = stateno = 230
trigger5 = movecontact
trigger6 = stateno = 240
trigger6 = movecontact
trigger7 = stateno = 361
trigger7 = movecontact
trigger8 = stateno = 350
trigger8 = movecontact
trigger9 = stateno = 215
trigger9 = movecontact
trigger10 = stateno = 216
trigger10 = movecontact
trigger11 = stateno = 217
trigger11 = movecontact


;---------------------------------------------------------------------------
;ボイスアピール
[State -1]
type = ChangeState
value = ifelse(Random<750,3500,3501)
triggerall = Var(59) = 0
triggerall = roundstate = 2
triggerall = statetype != A
triggerall = command = "ボイスアピール"
triggerall = power >= 1000
triggerall = NumHelper(3510) = 0
triggerall = FVar(30) != 1
trigger1 = ctrl = 1
trigger2 = stateno = 200
trigger2 = movecontact
trigger3 = stateno = 210
trigger3 = movecontact
trigger4 = stateno = 220
trigger4 = movecontact
trigger5 = stateno = 230
trigger5 = movecontact
trigger6 = stateno = 240
trigger6 = movecontact
trigger7 = stateno = 361
trigger7 = movecontact
trigger8 = stateno = 350
trigger8 = movecontact
trigger9 = stateno = 215
trigger9 = movecontact
trigger10 = stateno = 216
trigger10 = movecontact
trigger11 = stateno = 217
trigger11 = movecontact



;---------------------------------------------------------------------------
;メモリーキャンセル
[State -1]
type = ChangeState
value = 500
triggerall = Var(59) = 0
triggerall = roundstate = 2
triggerall = statetype != A
triggerall = command = "y"
triggerall = var(48) > 0
triggerall = FVar(30) != 1
trigger1 = stateno = 200
trigger1 = movecontact
trigger2 = stateno = 210
trigger2 = movecontact
trigger3 = stateno = 220
trigger3 = movecontact
trigger4 = stateno = 230
trigger4 = movecontact
trigger5 = stateno = 240
trigger5 = movecontact
trigger6 = stateno = 250
trigger6 = movecontact
trigger7 = stateno = 290
trigger7 = movecontact
trigger8 = stateno = 291
trigger8 = movecontact
trigger9 = stateno = 204
trigger9 = var(50) > 16
trigger10 = stateno = 216
trigger10 = movecontact
trigger11 = stateno = 217
trigger11 = movecontact
trigger12 = stateno = 215
trigger12 = movecontact
trigger13 = stateno = 245
trigger13 = movecontact
trigger14 = stateno = 247
trigger14 = movecontact


;メモリーキャンセル
[State -1]
type = ChangeState
value = 501
triggerall = Var(59) = 0
triggerall = roundstate = 2
triggerall = statetype != A
triggerall = command = "y"
triggerall = var(48) > 0
triggerall = FVar(30) != 1
trigger1 = stateno = 300
trigger2 = stateno = 311
trigger3 = stateno = 3000
trigger3 = movecontact
trigger4 = stateno = 3332
trigger5 = stateno = 3333
trigger6 = stateno = 3334
trigger7 = stateno = 320
trigger8 = stateno = 347
trigger9 = stateno = 350
trigger9= movecontact
trigger10 = stateno = 361
trigger10 = movecontact

;---------------------------------------------------------------------------
;自家発電
[State -1]
type = ChangeState
value = ifelse(var(23)=0,505,ifelse(var(23)=1,506,507))
triggerall = Var(59) = 0
triggerall = NumHelper(8000) = 0
triggerall = statetype != A
triggerall = command = "y"
triggerall = FVar(30) != 1
trigger1 = ctrl = 1
trigger1 = RoundState = 2

;---------------------------------------------------------------------------
;ガードキャンセル
[State -1]
type = ChangeState
value = 4999
triggerall = Var(59) = 0
triggerall = power >= 1000
triggerall = statetype != A
triggerall = command = "y"||command = "roll"
triggerall = FVar(30) != 1
trigger1 = stateno = [140,155]

;------------------------------------------------------------------------------
;ドリル
[State -1]
type = ChangeState
value = 300
triggerall = Var(59) = 0
triggerall = statetype != A
triggerall = command = "x"
trigger1 = stateno = 217
trigger1 = movecontact

;------------------------------------------------------------------------------
;シェフの帽子
[State -1]
type = ChangeState
value = 380
triggerall = Var(59) = 0
triggerall = statetype = A
triggerall = command = "x"
triggerall = NumHelper(381) = 0
trigger1 = ctrl


;------------------------------------------------------------------------------
;ビーム
[State -1]
type = ChangeState
value = 320
triggerall = Var(59) = 0
triggerall = statetype != A
triggerall = command = "up_x"||command = "up_x2"
trigger1 = ctrl = 1
trigger2 = stateno = 200
trigger2 = movecontact
trigger3 = stateno = 210
trigger3 = movecontact
trigger4 = stateno = 220
trigger4 = movecontact
trigger5 = stateno = 230
trigger5 = movecontact
trigger6 = stateno = 240
trigger6 = movecontact
trigger7 = StateNo = 40

;---------------------------------------------------------------------------
;黒ねこセット
[State -1]
type = ChangeState
value = 350
triggerall = Var(59) = 0
triggerall = statetype != A
triggerall = command = "front_x"
trigger1 = stateno = 200
trigger1 = movecontact
trigger2 = stateno = 210
trigger2 = movecontact
trigger3 = stateno = 220
trigger3 = movecontact
trigger4 = stateno = 230
trigger4 = movecontact
trigger5 = stateno = 240
trigger5 = movecontact

;白ねこセット
[State -1]
type = ChangeState
value = 360
triggerall = Var(59) = 0
triggerall = statetype != A
triggerall = command = "front_x"
trigger1 = ctrl = 1


;---------------------------------------------------------------------------
;馬
[State -1]
type = ChangeState
value = 310
triggerall = Var(59) = 0
triggerall = statetype != A
triggerall = command = "back_x"
triggerall = NumHelper(313) = 0
trigger1 = ctrl = 1
trigger2 = stateno = 200
trigger2 = movecontact
trigger3 = stateno = 210
trigger3 = movecontact
trigger4 = stateno = 220
trigger4 = movecontact
trigger5 = stateno = 230
trigger5 = movecontact
trigger6 = stateno = 240
trigger6 = movecontact

;---------------------------------------------------------------------------
;私は忍者	
[State -1]
type = ChangeState
value = 332
triggerall = Var(59) = 0
triggerall = statetype != A
triggerall = stateno = 331
trigger1 = command = "a"
trigger1 = TeamSide = 1
trigger1 = facing = 1
trigger2 = command = "c"
trigger2 = TeamSide = 1
trigger2 = facing = -1
trigger3 = command = "a"
trigger3 = TeamSide = 2
trigger3 = facing = 1
trigger4 = command = "c"
trigger4 = TeamSide = 2
trigger4 = facing = -1

;私は忍者	
[State -1]
type = ChangeState
value = 333
triggerall = statetype != A
triggerall = command = "b"
trigger1 = stateno = 331

;私は忍者	
[State -1]
type = ChangeState
value = 334
triggerall = Var(59) = 0
triggerall = statetype != A
triggerall = stateno = 331
trigger1 = command = "c"
trigger1 = TeamSide = 1
trigger1 = facing = 1
trigger2 = command = "a"
trigger2 = TeamSide = 1
trigger2 = facing = -1
trigger3 = command = "c"
trigger3 = TeamSide = 2
trigger3 = facing = 1
trigger4 = command = "a"
trigger4 = TeamSide = 2
trigger4 = facing = -1

;私は忍者	
[State -1]
type = ChangeState
value = 3450
triggerall = Var(59) = 0
triggerall = statetype != A
triggerall = command = "y"
trigger1 = stateno = 331

;私は忍者	
[State -1]
type = ChangeState
value = 337
triggerall = Var(59) = 0
triggerall = statetype != A
triggerall = command = "x"
trigger1 = stateno = 331

;私は忍者（簡易版）
[State -1]
type = ChangeState
value = 345
triggerall = Var(59) = 0
triggerall = statetype != A
triggerall = command = "down_x"
triggerall = NumHelper(1104) = 0 && NumHelper(1019) = 0 && NumHelper(1018) = 0
trigger1 = stateno = 200
trigger1 = movecontact
trigger2 = stateno = 210
trigger2 = movecontact
trigger3 = stateno = 220
trigger3 = movecontact
trigger4 = stateno = 230
trigger4 = movecontact
trigger5 = stateno = 240
trigger5 = movecontact

;私は忍者	
[State -1]
type = ChangeState
value = 330
triggerall = Var(59) = 0
triggerall = statetype != A
triggerall = command = "down_x"
triggerall = NumHelper(1104) = 0 && NumHelper(1019) = 0 && NumHelper(1018) = 0
trigger1 = ctrl = 1

;---------------------------------------------------------------------------
;ギター
[State -1]
type = ChangeState
value = 340
triggerall = Var(59) = 0
triggerall = statetype != A
triggerall = command = "x"
trigger1 = ctrl = 1
trigger2 = stateno = 200
trigger2 = movecontact
trigger3 = stateno = 210
trigger3 = movecontact
trigger4 = stateno = 220
trigger4 = movecontact
trigger5 = stateno = 230
trigger5 = movecontact
trigger6 = stateno = 240
trigger6 = movecontact

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

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

;---------------------------------------------------------------------------
;投げ
[State -1]
type = ChangeState
value = 800
triggerall = var(59) = 0
triggerall = statetype = S
triggerall = stateno != 100
triggerall = p2bodydist X < 23
triggerall = p2statetype != A
triggerall = p2statetype != L
triggerall = p2stateno != 40
triggerall = command = "fwd_c"
triggerall = FVar(30) != 1
trigger1 = ctrl

;投げ
[State -1]
type = ChangeState
value = 805
triggerall = var(59) = 0
triggerall = statetype = S
triggerall = stateno != 100
triggerall = p2bodydist X < 23
triggerall = p2statetype != A
triggerall = p2statetype != L
triggerall = p2stateno != 40
triggerall = command = "back_c"
triggerall = FVar(30) != 1
trigger1 = ctrl
;---------------------------------------------------------------------------
;空中投げ
[State -1]
type = ChangeState
value = 850
triggerall = var(59) = 0
triggerall = statetype = A
triggerall = ctrl
triggerall = p2bodydist X < 55
triggerall = p2bodydist Y > -80
triggerall = p2bodydist Y < 20
triggerall = p2statetype = A
triggerall = p2movetype != H
triggerall = FVar(30) != 1
trigger1 = command = "fwd_c"
trigger2 = command = "back_c"

;---------------------------------------------------------------------------
;スイーツ（笑）MAX
[State -1]
type = ChangeState
value = 291
triggerall = Var(59) = 0
triggerall = command = "apper"
triggerall = statetype != A
triggerall = var(50) > 16
trigger1 = ctrl = 1
trigger2 = stateno = 230
trigger2 = movecontact
trigger3 = stateno = 200
trigger3 = movecontact
trigger4 = stateno = 210
trigger4 = movecontact
trigger5 = stateno = 240
trigger5 = movecontact

;---------------------------------------------------------------------------
;スイーツ（笑）
[State -1]
type = ChangeState
value = 290
triggerall = Var(59) = 0
triggerall = command = "apper"
triggerall = statetype != A
triggerall = var(50) <=16
trigger1 = ctrl = 1
trigger2 = stateno = 230
trigger2 = movecontact
trigger3 = stateno = 200
trigger3 = movecontact
trigger4 = stateno = 210
trigger4 = movecontact
trigger5 = stateno = 240
trigger5 = movecontact

;---------------------------------------------------------------------------
;悪魔の足
[State -1]
type = ChangeState
value = 228
triggerall = Var(59) = 0
triggerall = command = "front_c"
triggerall = statetype != A
triggerall = var(50) >16
trigger1 = ctrl = 1
trigger2 = stateno = 230
trigger2 = movecontact
trigger3 = stateno = 200
trigger3 = movecontact
trigger4 = stateno = 210
trigger4 = movecontact
trigger5 = stateno = 240
trigger5 = movecontact

;クラック
[State -1]
type = ChangeState
value = 225
triggerall = Var(59) = 0
triggerall = command = "front_c"
triggerall = statetype != A
triggerall = var(50) <=16
trigger1 = ctrl = 1
trigger2 = stateno = 230
trigger2 = movecontact
trigger3 = stateno = 200
trigger3 = movecontact
trigger4 = stateno = 210
trigger4 = movecontact
trigger5 = stateno = 240
trigger5 = movecontact

;---------------------------------------------------------------------------
;フライングバット
[State -1, Medium Attack]
type = ChangeState
value = 247
triggerall = Var(59) = 0
triggerall = command = "spin"
triggerall = statetype != A
triggerall = var(50) >16
trigger1 = ctrl = 1
trigger2 = stateno = 230
trigger2 = movecontact
trigger3 = stateno = 200
trigger3 = movecontact

;パッと舞って
[State -1, Medium Attack]
type = ChangeState
value = 245
triggerall = Var(59) = 0
triggerall = command = "spin"
triggerall = statetype != A
triggerall = var(50) <=16
trigger1 = ctrl = 1
trigger2 = stateno = 230
trigger2 = movecontact
trigger3 = stateno = 200
trigger3 = movecontact

;---------------------------------------------------------------------------
;バーンMAX
[State -1, Medium Attack]
type = ChangeState
value = 216
triggerall = Var(59) = 0
triggerall = command = "front_b"
triggerall = command != "holddown"
triggerall = var(50) >16
trigger1 = ctrl = 1
trigger1 = statetype = S
trigger2 = stateno = 230
trigger2 = movecontact
trigger3 = stateno = 200
trigger3 = movecontact

;---------------------------------------------------------------------------
;バーン
[State -1, Medium Attack]
type = ChangeState
value = 215
triggerall = Var(59) = 0
triggerall = command = "front_b"
triggerall = command != "holddown"
triggerall = var(50) <=16
trigger1 = ctrl = 1
trigger1 = statetype = S
trigger2 = stateno = 230
trigger2 = movecontact
trigger3 = stateno = 200
trigger3 = movecontact
;---------------------------------------------------------------------------

;---------------------------------------------------------------------------
;立ち強攻撃
[State -1]
type = ChangeState
value = 220
triggerall = Var(59) = 0
triggerall = command = "c"
triggerall = command != "holddown"
trigger1 = ctrl = 1
trigger1 = statetype = S
trigger2 = stateno = 230
trigger2 = movecontact
trigger3 = stateno = 200
trigger3 = movecontact
trigger4 = stateno = 210
trigger4 = movecontact
trigger5 = stateno = 240
trigger5 = movecontact
trigger6 = stateno = 217
trigger6 = movecontact
trigger7 = stateno = 215
trigger7 = movecontact

;---------------------------------------------------------------------------
;しゃがみ強攻撃
[State -1]
type = ChangeState
value = 250
triggerall = Var(59) = 0
triggerall = command = "c"
;triggerall = command = "holddown"
trigger1 = ctrl = 1
trigger1 = statetype = C
trigger2 = stateno = 230
trigger2 = movecontact
trigger3 = stateno = 200
trigger3 = movecontact
trigger4 = stateno = 210
trigger4 = movecontact
trigger5 = stateno = 240
trigger5 = movecontact
trigger6 = stateno = 217
trigger6 = movecontact
trigger7 = stateno = 215
trigger7 = movecontact
trigger8 = stateno = 245
trigger8 = movecontact
trigger9 = stateno = 247
trigger9 = movecontact

;---------------------------------------------------------------------------
;空中強攻撃
[State -1]
type = ChangeState
value = 280
triggerall = Var(59) = 0
triggerall = statetype = A
triggerall = command = "c"
trigger1 = ctrl
trigger2 = stateno = 259

;---------------------------------------------------------------------------
;立ち中攻撃
[State -1]
type = ChangeState
value = 210
triggerall = Var(59) = 0
triggerall = command = "b"
triggerall = command != "holddown"
trigger1 = ctrl = 1
trigger1 = statetype = S
trigger2 = stateno = 230
trigger2 = movecontact
trigger3 = stateno = 200
trigger3 = movecontact

;---------------------------------------------------------------------------
;しゃがみ中攻撃
[State -1]
type = ChangeState
value = 240
triggerall = Var(59) = 0
triggerall = command = "b"
triggerall = command = "holddown"
trigger1 = ctrl = 1
trigger1 = statetype = C
trigger2 = stateno = 230
trigger2 = movecontact
trigger3 = stateno = 200
trigger3 = movecontact

;---------------------------------------------------------------------------
;空中中攻撃
[State -1]
type = ChangeState
value = 270
triggerall = Var(59) = 0
triggerall = statetype = A
triggerall = command = "b"
trigger1 = ctrl
trigger2 = stateno = 259

;---------------------------------------------------------------------------
;立ち弱攻撃
[State -1]
type = ChangeState
value = 200
triggerall = Var(59) = 0
triggerall = command = "a"
triggerall = command != "holddown"
trigger1 = ctrl = 1
trigger1 = statetype = S
;trigger2 = stateno = 200 
;trigger2 = movecontact
;trigger3 = stateno = 230
;trigger3 = movecontact

;---------------------------------------------------------------------------
;しゃがみ弱攻撃
[State -1]
type = ChangeState
value = 230
triggerall = Var(59) = 0
triggerall = command = "a"
triggerall = command = "holddown"
trigger1 = ctrl = 1
trigger1 = statetype = C
trigger2 = stateno = 230
trigger2 = movecontact
;trigger3 = stateno = 200
;trigger3 = movecontact

;---------------------------------------------------------------------------
;空中弱攻撃
[State -1]
type = ChangeState
value = 260
triggerall = Var(59) = 0
triggerall = statetype = A
triggerall = command = "a"
trigger1 = ctrl
trigger2 = stateno = 259