[Defaults]
command.time = 15
command.buffer.time = 1
;---AI用コマンド----------------------------------------
[Command]
name = "AI00"
command = a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a
time = 0

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

[Command]
name = "AI02"
command = c,c,c,c,c,c,c,c,c,c,c,c,c,c,c,c,c,c
time = 0

[Command]
name = "AI03"
command = x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x
time = 0

[Command]
name = "AI04"
command = y,y,y,y,y,y,y,y,y,y,y,y,y,y,y,y,y,y
time = 0

[Command]
name = "AI05"
command = z,z,z,z,z,z,z,z,z,z,z,z,z,z,z,z,z,z
time = 0

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

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

[Command]
name = "AI08"
command = c,c,c,x,x,x,c,c,c,x,x,x,c,c,c,x,x,x
time = 0

[Command]
name = "AI09"
command = x,x,x,y,y,y,x,x,x,y,y,y,x,x,x,y,y,y
time = 0

[Command]
name = "AI10"
command = y,y,y,z,z,z,y,y,y,z,z,z,y,y,y,z,z,z
time = 0

[Command]
name = "AI11"
command = z,z,z,a,a,a,z,z,z,a,a,a,z,z,z,a,a,a
time = 0

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

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

[Command]
name = "AI14"
command = c,c,x,x,y,y,c,c,x,x,y,y,c,c,x,x,y,y
time = 0

[Command]
name = "AI15"
command = x,x,y,y,z,z,x,x,y,y,z,z,x,x,y,y,z,z
time = 0

[Command]
name = "AI16"
command = y,y,z,z,a,a,y,y,z,z,a,a,y,y,z,z,a,a
time = 0

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

[Command]
name = "AI18"
command = 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
time = 0

[Command]
name = "AI20"
command = 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
time = 0

[Command]
name = "AI22"
command = 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
time = 0

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

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

[Command]
name = "AI26"
command = c,c,x,x,c,c,x,x,c,c,x,x
time = 0

[Command]
name = "AI27"
command = x,x,y,y,x,x,y,y,x,x,y,y
time = 0

[Command]
name = "AI28"
command = y,y,z,z,y,y,z,z,y,y,z,z
time = 0

[Command]
name = "AI29"
command = z,z,a,a,z,z,a,a,z,z,a,a
time = 0

[Command]
name = "AI30"
command = a,b,c,x,y,z,a,b,c,x,y,z
time = 0
;---超必殺技--------------------------------------------
[Command]
name = "falling prinny"
command = D, DF, F, x+y

[Command]
name = "sexy beam"
command = D, DF, F, a+b


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

;---キー２回連続入力------------------------------------

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

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

[command]
name = "SuperJump"
command = D, U

[command]
name = "SuperJump"
command = D, $U

;---受け身--------------------------------------------

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

;---方向キー＋ボタン------------------------------------

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

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

[Command]
name = "down_c"
command = /$D,c
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 = "up"
command = $U
time = 1

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

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

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


;---方向キー |---------------------------------------
[Command]
name = "holdfwd"   
command = /$F
time = 1

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

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

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

;---ボタン同時押し---------------------------------------
[Command]
name = "DP"  
command = x+y
time = 1

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

[Statedef -1]
;---AI起動---------------------------------------------------------------------------

;---超必殺技-------------------------------------------------------------------------
[State -1, プリニー落とし]
type = ChangeState
value = 3000
triggerall = command = "falling prinny"
triggerall = statetype != A
triggerall = power >= 1000
trigger1 = ctrl

[State -1, セクシービーム]
type = ChangeState
value = 3100
triggerall = command = "sexy beam"
triggerall = power >= 1000
trigger1 = ctrl

;---移動-----------------------------------------------------------------------------
[State -1, 走る]
type = ChangeState
value = 100
triggerall = ctrl
triggerall = statetype = S
trigger1 = command = "FF"
trigger2 = command = "DP"
trigger2 = command != "holdback"

[State -1, バックステップ]
type = ChangeState
value = 105
triggerall = ctrl
triggerall = statetype = S
trigger1 = command = "BB"
trigger2 = command = "DP"
trigger2 = command = "holdback"

[state -1, スーパージャンプ]
type = ChangeState
value = 800
trigger1 = command = "SuperJump"
trigger1 = statetype != A
trigger1 = ctrl
trigger2 = command = "holdup"
trigger2 = movehit
trigger2 = stateno = 220
value = 800
;---必殺技---------------------------------------------------------------------------

;---通常技---------------------------------------------------------------------------
[State -1, 弱パンチ]
type = ChangeState
value = 200
triggerall = command = "x"
triggerall = statetype = S
trigger1 = ctrl

[State -1, 中パンチ]
type = ChangeState
value = 210
triggerall = command = "x"
triggerall = command != "holddown"
triggerall = statetype != A
trigger1 = movecontact
trigger1 = stateno = 200
trigger2 = movecontact
trigger2 = stateno = 230
trigger3 = movecontact
trigger3 = stateno = 400
trigger4 = movecontact
trigger4 = stateno = 430

[State -1, 強パンチ]
type = ChangeState
value = 220
triggerall = command = "y"
triggerall = command != "holddown"
triggerall = statetype != A
trigger1 = ctrl && statetype = S
trigger2 = movecontact
trigger2 = stateno = 200
trigger3 = movecontact
trigger3 = stateno = 210
trigger4 = movecontact
trigger4 = stateno = 230
trigger5 = movecontact
trigger5 = stateno = 240
trigger6 = movecontact
trigger6 = stateno = 400
trigger7 = movecontact
trigger7 = stateno = 410
trigger8 = movecontact
trigger8 = stateno = 430
trigger9 = movecontact
trigger9 = stateno = 440

[State -1, 弱キック]
type = ChangeState
value = 230
triggerall = command = "a"
triggerall = statetype = S
trigger1 = ctrl

[State -1, 中キック]
type = ChangeState
value = 240
triggerall = command = "a"
triggerall = command != "holddown"
triggerall = statetype != A
trigger1 = movecontact
trigger1 = stateno = 200
trigger2 = movecontact
trigger2 = stateno = 230
trigger3 = movecontact
trigger3 = stateno = 400
trigger4 = movecontact
trigger4 = stateno = 430

[State -1, 強キック]
type = ChangeState
value = 250
triggerall = command = "b"
triggerall = command != "holddown"
triggerall = statetype != A
trigger1 = ctrl && statetype = S
trigger2 = movecontact
trigger2 = stateno = 200
trigger3 = movecontact
trigger3 = stateno = 210
trigger4 = movecontact
trigger4 = stateno = 230
trigger5 = movecontact
trigger5 = stateno = 240
trigger6 = movecontact
trigger6 = stateno = 400
trigger7 = movecontact
trigger7 = stateno = 410

[State -1, 屈弱パンチ]
type = ChangeState
value = 400
triggerall = command = "x"
triggerall = statetype = C
trigger1 = ctrl

[State -1, 屈中パンチ]
type = ChangeState
value = 410
triggerall = command = "x"
triggerall = command = "holddown"
triggerall = statetype != A
trigger1 = movecontact
trigger1 = stateno = 200
trigger2 = movecontact
trigger2 = stateno = 230
trigger3 = movecontact
trigger3 = stateno = 400
trigger4 = movecontact
trigger4 = stateno = 430

[State -1, 屈弱キック]
type = ChangeState
value = 430
triggerall = command = "a"
triggerall = statetype = C
trigger1 = ctrl

[State -1, 屈中キック]
type = ChangeState
value = 440
triggerall = command = "a"
triggerall = command = "holddown"
triggerall = statetype != A
trigger1 = movecontact
trigger1 = stateno = 200
trigger2 = movecontact
trigger2 = stateno = 230
trigger3 = movecontact
trigger3 = stateno = 400
trigger4 = movecontact
trigger4 = stateno = 430

[State -1, 屈強キック]
type = ChangeState
value = 450
triggerall = command = "b"
triggerall = command = "holddown"
triggerall = statetype != A
trigger1 = ctrl && statetype = C
trigger2 = movecontact
trigger2 = stateno = 200
trigger3 = movecontact
trigger3 = stateno = 210
trigger4 = movecontact
trigger4 = stateno = 230
trigger5 = movecontact
trigger5 = stateno = 240
trigger6 = movecontact
trigger6 = stateno = 400
trigger7 = movecontact
trigger7 = stateno = 410
trigger8 = movecontact
trigger8 = stateno = 430
trigger9 = movecontact
trigger9 = stateno = 440

[State -1, 空中弱パンチ]
type = ChangeState
value = 600
triggerall = command = "x"
triggerall = statetype = A
trigger1 = ctrl
trigger2 = var(0)
trigger2 = movecontact
trigger2 = stateno = 630

[State -1, 空中大パンチ]
type = ChangeState
value = 620
triggerall = command = "y"
triggerall = statetype = A
trigger1 = ctrl
trigger2 = var(0)
trigger2 = movecontact
trigger2 = stateno = 600
trigger3 = var(0)
trigger3 = movecontact
trigger3 = stateno = 630

[State -1, 空中弱キック]
type = ChangeState
value = 630
triggerall = command = "a"
triggerall = statetype = A
trigger1 = ctrl
trigger2 = var(0)
trigger2 = movecontact
trigger2 = stateno = 600

[State -1, 空中中キック]
type = ChangeState
value = 640
triggerall = command = "a"
triggerall = statetype = A
triggerall = var(0)
trigger1 = movecontact
trigger1 = stateno = 600
trigger2 = movecontact
trigger2 = stateno = 630

[State -1, 空中大キック]
type = ChangeState
value = 650
triggerall = command = "b"
triggerall = statetype = A
trigger1 = ctrl
trigger2 = var(0)
trigger2 = movecontact
trigger2 = stateno = 600
trigger3 = var(0)
trigger3 = movecontact
trigger3 = stateno = 630
trigger4 = var(0)
trigger4 = movecontact
trigger4 = stateno = 640
;---特殊技---------------------------------------------------------------------------
[State -1, 挑発]
type = ChangeState
value = 700
triggerall = command = "start"
trigger1 = statetype != A
trigger1 = ctrl
trigger1 = stateno != 600
;-----------------------------------------------------------------
