

; Ryu's Command File.


[Command]
name = "CPU0"
command = U,U,D,D,B,F,B,F,s,s
time = 0

[Command]
name = "CPU1"
command = U,U,D,D,B,F,B,F,a,a
time = 0

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

[Command]
name = "CPU3"
command = U,U,D,D,B,F,B,F,c,c
time = 0

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

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

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

[Command]
name = "CPU7"
command = U,U,D,D,B,F,B,F,a,b
time = 0

[Command]
name = "CPU8"
command = U,U,D,D,B,F,B,F,b,c
time = 0

[Command]
name = "CPU9"
command = U,U,D,D,B,F,B,F,a,c
time = 0

[Command]
name = "CPU10"
command = U,U,D,D,B,F,B,F,x,y
time = 0

[Command]
name = "CPU11"
command = U,U,D,D,B,F,B,F,y,z
time = 0

[Command]
name = "CPU12"
command = U,U,D,D,B,F,B,F,x,z
time = 0

[Command]
name = "CPU13"
command = U,U,D,D,B,F,B,F,a,x
time = 0

[Command]
name = "CPU14"
command = U,U,D,D,B,F,B,F,a,y
time = 0

[Command]
name = "CPU15"
command = U,U,D,D,B,F,B,F,a,z
time = 0

[Command]
name = "CPU16"
command = U,U,D,D,B,F,B,F,b,x
time = 0

[Command]
name = "CPU17"
command = U,U,D,D,B,F,B,F,b,y
time = 0

[Command]
name = "CPU18"
command = U,U,D,D,B,F,B,F,b,z
time = 0

[Command]
name = "CPU19"
command = U,U,D,D,B,F,B,F,c,x
time = 0

[Command]
name = "CPU20"
command = U,U,D,D,B,F,B,F,c,y
time = 0

[Command]
name = "CPU21"
command = U,U,D,D,B,F,B,F,c,z
time = 0

[Command]
name = "CPU22"
command = U,U,D,D,B,F,B,F,x,a
time = 0

[Command]
name = "CPU23"
command = U,U,D,D,B,F,B,F,x,b
time = 0

[Command]
name = "CPU24"
command = U,U,D,D,B,F,B,F,x,c
time = 0

[Command]
name = "CPU25"
command = U,U,D,D,B,F,B,F,y,a
time = 0

[Command]
name = "CPU26"
command = U,U,D,D,B,F,B,F,y,b
time = 0

[Command]
name = "CPU27"
command = U,U,D,D,B,F,B,F,y,c
time = 0

[Command]
name = "CPU28"
command = U,U,D,D,B,F,B,F,z,a
time = 0

[Command]
name = "CPU29"
command = U,U,D,D,B,F,B,F,z,b
time = 0

[Command]
name = "CPU30"
command = U,U,D,D,B,F,B,F,z,c
time = 0

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



;-| Super Motions |--------------------------------------------------------
[Command]
name = "sardine_a"
command = ~D, DF, F, D, DF, a
time = 20

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

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

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

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

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


[Command]
name = "heaven_x"
command = ~D, DB, B, D, DB, B, x
time = 62



[Command]
name = "heaven_y"
command = ~D, DB, B, D, DB, B, y
time = 62


[Command]
name = "heaven_z"
command = ~D, DB, B, D, DB, B, z
time = 62

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

[Command]
name = "paradise_x"
command = ~D, DF, F, x
time = 36



[Command]
name = "paradise_y"
command = ~D, DF, F, y
time = 36


[Command]
name = "paradise_z"
command = ~D, DF, F, z
time = 36





[Command]
name = "daydream_a"
command = ~D, DF, F, a
time = 36


[Command]
name = "daydream_b"
command = ~D, DF, F, b
time = 36


[Command]
name = "daydream_c"
command = ~D, DF, F, c
time = 36





[Command]
name = "airplane"
command = c 
time = 20


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

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

[Command]
name = "flying peach_z"
command = ~D, DB, B, z

[Command]
name = "shooting peach_a"
command = ~D, DB, B, a

[Command]
name = "shooting peach_b"
command = ~D, DB, B, b

[Command]
name = "shooting peach_c"
command = ~D, DB, B, c

;-| Double Tap |-----------------------------------------------------------
[Command]
name = "FF"     ;Required (do not remove)
command = F, F
time = 10

[Command]
name = "BB"     ;Required (do not remove)
command = B, B
time = 10

;-| 2/3 Button Combination |-----------------------------------------------


[Command]
name = "recovery" ;Required (do not remove)
command = a+b
time = 1
[Command]
name = "recovery"
command = x+y
time = 1

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

[Command]
name = "throw2" ;Required (do not remove)
command = a+b
time = 1


;-| Dir + Button |---------------------------------------------------------
[Command]
name = "down_a"
command = /$D,a
time = 1

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

;-| Single Button |---------------------------------------------------------
[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 = "up"
command = U
time = 1

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

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

[Command]
name = "forward"
command = F
time = 1

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

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

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

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

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

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



;-| Hold Dir |--------------------------------------------------------------
[Command]
name = "holdfwd";Required (do not remove)
command = /$F
time = 1

[Command]
name = "holdback";Required (do not remove)
command = /$B
time = 1

[Command]
name = "holdup" ;Required (do not remove)
command = /$U
time = 1

[Command]
name = "holddown";Required (do not remove)
command = /$D
time = 1

;-|レバガチャ|--------------------------------------------------------------
[Command]
name = "any"
command = F
time = 1
[Command]
name = "any"
command = D
time = 1
[Command]
name = "any"
command = B
time = 1
[Command]
name = "any"
command = U
time = 1
[Command]
name = "any"
command = DF
time = 1
[Command]
name = "any"
command = DB
time = 1
[Command]
name = "any"
command = UB
time = 1
[Command]
name = "any"
command = UF
time = 1
[Command]
name = "any"
command = a
time = 1
[Command]
name = "any"
command = b
time = 1
[Command]
name = "any"
command = c
time = 1
[Command]
name = "any"
command = x
time = 1
[Command]
name = "any"
command = y
time = 1
[Command]
name = "any"
command = z
time = 1
[Command]
name = "any"
command = s
time = 1

;---------------------------------------------------------------------------
; 2. State entry
; --------------
[Statedef -1]


[State -1]
type = VarSet
trigger1 = command = "CPU0"
trigger2 = command = "CPU1"
trigger3 = command = "CPU2"
trigger4 = command = "CPU3"
trigger5 = command = "CPU4"
trigger6 = command = "CPU5"
trigger7 = command = "CPU6"
trigger8 = command = "CPU7"
v = 50
value = 1

[State -1]
type = VarSet
trigger1 = command = "CPU8"
trigger2 = command = "CPU9"
trigger3 = command = "CPU10"
trigger4 = command = "CPU11"
trigger5 = command = "CPU12"
trigger6 = command = "CPU13"
trigger7 = command = "CPU14"
trigger8 = command = "CPU15"
v = 50
value = 1

[State -1]
type = VarSet
trigger1 = command = "CPU16"
trigger2 = command = "CPU17"
trigger3 = command = "CPU18"
trigger4 = command = "CPU19"
trigger5 = command = "CPU20"
trigger6 = command = "CPU21"
trigger7 = command = "CPU22"
trigger8 = command = "CPU23"
v = 50
value = 1

[State -1]
type = VarSet
trigger1 = command = "CPU24"
trigger2 = command = "CPU25"
trigger3 = command = "CPU26"
trigger4 = command = "CPU27"
trigger5 = command = "CPU28"
trigger6 = command = "CPU29"
trigger7 = command = "CPU30"
trigger8 = command = "CPU31"
v = 50
value = 1

[State -1]
type = VarSet
trigger1 = command = "CPU0"
trigger2 = command = "CPU1"
trigger3 = command = "CPU2"
trigger4 = command = "CPU3"
trigger5 = command = "CPU4"
trigger6 = command = "CPU5"
trigger7 = command = "CPU6"
trigger8 = command = "CPU7"
v = 50
value = 1

[State -1]
type = VarSet
trigger1 = command = "CPU8"
trigger2 = command = "CPU9"
trigger3 = command = "CPU10"
trigger4 = command = "CPU11"
trigger5 = command = "CPU12"
trigger6 = command = "CPU13"
trigger7 = command = "CPU14"
trigger8 = command = "CPU15"
v = 50
value = 1

[State -1]
type = VarSet
trigger1 = command = "CPU16"
trigger2 = command = "CPU17"
trigger3 = command = "CPU18"
trigger4 = command = "CPU19"
trigger5 = command = "CPU20"
trigger6 = command = "CPU21"
trigger7 = command = "CPU22"
trigger8 = command = "CPU23"
v = 50
value = 1

[State -1]
type = VarSet
trigger1 = command = "CPU24"
trigger2 = command = "CPU25"
trigger3 = command = "CPU26"
trigger4 = command = "CPU27"
trigger5 = command = "CPU28"
trigger6 = command = "CPU29"
trigger7 = command = "CPU30"
trigger8 = command = "CPU31"
v = 50
value = 1


;===========================================================================
;---------------------------------------------------------------------------
;Sardine's Beach Special Lv.1
;サーディンズビーチスペシャル（レベル１）
[State -1, Sardine's Beach Special Lv 1]
type = ChangeState
value = 3200
triggerall = command = "sardine_a" 
triggerall = power >= 1000
;triggerall = Var(7) = 0
;triggerall = Var(59) = 0	;Z-ISM
;triggerall = Win = 0
trigger1 = statetype != A
trigger1 = ctrl


;---------------------------------------------------------------------------
;Sardine's Beach Special Lv.2
;サーディンズビーチスペシャル（レベル２）
[State -1, Sardine's Beach Special Lv 2]
type = ChangeState
value = 3210
triggerall = command = "sardine_b" 
triggerall = power >= 2000
;triggerall = Var(7) = 0
;triggerall = Var(59) = 0	;Z-ISM
;triggerall = Win = 0
trigger1 = statetype != A
trigger1 = ctrl


;---------------------------------------------------------------------------
;Sardine's Beach Special Lv.3
;サーディンズビーチスペシャル（レベル３）
[State -1, Sardine's Beach Special Lv 3]
type = ChangeState
value = 3220 ;+ (Var(59) * 2)
triggerall = (command = "sardine_c") || (Var(59) = 1)
triggerall = power >= 3000
;triggerall = Var(7) = 0
;triggerall = Var(59) = 0	;Z-ISM
;triggerall = Win = 0
trigger1 = statetype != A
trigger1 = ctrl


;---------------------------------------------------------------------------
;Heavenly Dynamite Lv.1
;ヘヴンリーダイナマイト（レベル１）
[State -1, Heavenly Dynamite Lv 1]
type = ChangeState
value = 3070
triggerall = command = "heaven_x" 
triggerall = power >= 1000
;triggerall = Var(7) = 0
;triggerall = Var(59) = 0	;Z-ISM
;triggerall = Win = 0
trigger1 = statetype != A
trigger1 = ctrl


;---------------------------------------------------------------------------
;Heavenly Dynamite Lv.2
;ヘヴンリーダイナマイト（レベル２）
[State -1, Heavenly Dynamite Lv 1]
type = ChangeState
value = 3080
triggerall = command = "heaven_y" 
triggerall = power >= 2000
;triggerall = Var(7) = 0
;triggerall = Var(59) = 0	;Z-ISM
;triggerall = Win = 0
trigger1 = statetype != A
trigger1 = ctrl


;---------------------------------------------------------------------------
;Heavenly Dynamite Lv.3
;ヘヴンリーダイナマイト（レベル３）
[State -1, Heavenly Dynamite Lv 3]
type = ChangeState
value = 3090
triggerall = command = "heaven_z"
triggerall = power >= 3000
;triggerall = Var(7) = 0
;triggerall = Var(59) = 0	;Z-ISM
;triggerall = Win = 0
trigger1 = statetype != A
trigger1 = ctrl


;---------------------------------------------------------------------------
;Rainbow Hip Rush Lv.1
;レインボーヒップラッシュ（レベル１）
[State -1, Rainbow Hip Rush Lv 1]
type = ChangeState
value = 3000
triggerall = command = "hiprush_x" 
triggerall = power >= 1000
;triggerall = Var(7) = 0
;triggerall = Var(59) = 0	;Z-ISM
;triggerall = Win = 0
trigger1 = statetype != A
trigger1 = ctrl

[State -1, hadoken_x]
type = ChangeState
value = 3000
triggerall = command = "hiprush_x" 
triggerall = power >= 1000
;triggerall = Var(7) = 0
;triggerall = Var(59) = 0	;Z-ISM
;triggerall = Win = 0
trigger1 = statetype != A
triggerall = movecontact
trigger1 = ctrl
;trigger2 = stateno = 220
;trigger3 = stateno = 220124
trigger2 = stateno = 210
trigger3 = stateno = 200
trigger4 = stateno = 230
trigger5 = stateno = 240
;trigger8 = stateno = 250
;trigger9 = stateno = 420
trigger6 = stateno = 410
trigger7 = stateno = 415
trigger8 = stateno = 400
trigger9 = stateno = 430
trigger10 = stateno = 440
;trigger15 = stateno = 450


;---------------------------------------------------------------------------
;Rainbow Hip Rush Lv.2
;レインボーヒップラッシュ（レベル２）
[State -1, Rainbow Hip Rush Lv 2]
type = ChangeState
value = 3020
triggerall = command = "hiprush_y" 
triggerall = power >= 2000
;triggerall = Var(7) = 0
;triggerall = Var(59) = 0	;Z-ISM
;triggerall = Win = 0
trigger1 = statetype != A
trigger1 = ctrl

[State -1, hadoken_x]
type = ChangeState
value = 3020
triggerall = command = "hiprush_y" 
triggerall = power >= 2000
;triggerall = Var(7) = 0
;triggerall = Var(59) = 0	;Z-ISM
;triggerall = Win = 0
trigger1 = statetype != A
triggerall = movecontact
trigger1 = ctrl
;trigger2 = stateno = 220
;trigger3 = stateno = 220124
trigger2 = stateno = 210
trigger3 = stateno = 200
trigger4 = stateno = 230
trigger5 = stateno = 240
;trigger8 = stateno = 250
;trigger9 = stateno = 420
trigger6 = stateno = 410
trigger7 = stateno = 415
trigger8 = stateno = 400
trigger9 = stateno = 430
trigger10 = stateno = 440
;trigger15 = stateno = 450


;---------------------------------------------------------------------------
;Rainbow Hip Rush Lv.3
;レインボーヒップラッシュ（レベル３）
[State -1, Rainbow Hip Rush Lv 3]
type = ChangeState
value = 3040
triggerall = command = "hiprush_z"
triggerall = power = 3000
;triggerall = Var(7) = 0
;triggerall = Var(59) = 0	;Z-ISM
;triggerall = Win = 0
trigger1 = statetype != A
trigger1 = ctrl

[State -1, hadoken_x]
type = ChangeState
value = 3040
triggerall = command = "hiprush_z"
triggerall = power = 3000
;triggerall = Var(7) = 0
;triggerall = Var(59) = 0	;Z-ISM
;triggerall = Win = 0
trigger1 = statetype != A
triggerall = movecontact
trigger1 = ctrl
;trigger2 = stateno = 220
;trigger3 = stateno = 220124
trigger2 = stateno = 210
trigger3 = stateno = 200
trigger4 = stateno = 230
trigger5 = stateno = 240
;trigger8 = stateno = 250
;trigger9 = stateno = 420
trigger6 = stateno = 410
trigger7 = stateno = 415
trigger8 = stateno = 400
trigger9 = stateno = 430
trigger10 = stateno = 440
;trigger15 = stateno = 450

;---------------------------------------------------------------------------
;Light Paradise Hold
;パラダイスホールド（弱）
[State -1, Light Paradise Hold]
type = ChangeState
value = 1200
triggerall = command = "paradise_x"
triggerall = statetype != A
trigger1 = ctrl



[State -1, hadoken_x]
type = ChangeState
value = 1200
triggerall = command = "paradise_x"
triggerall = statetype != A
triggerall = movecontact
trigger1 = ctrl
;trigger2 = stateno = 220
;trigger3 = stateno = 220124
trigger2 = stateno = 210
trigger3 = stateno = 200
trigger4 = stateno = 230
trigger5 = stateno = 240
;trigger8 = stateno = 250
;trigger9 = stateno = 420
trigger6 = stateno = 410
trigger7 = stateno = 415
trigger8 = stateno = 400
trigger9 = stateno = 430
trigger10 = stateno = 440
;trigger15 = stateno = 450



;---------------------------------------------------------------------------
;Medium Paradise Hold
;パラダイスホールド（中）
[State -1, Medium Paradise Hold]
type = ChangeState
value = 1230
triggerall = command = "paradise_y"
triggerall = statetype != A
trigger1 = ctrl



[State -1, hadoken_x]
type = ChangeState
value = 1230
triggerall = command = "paradise_y"
triggerall = statetype != A
triggerall = movecontact
trigger1 = ctrl
;trigger2 = stateno = 220
;trigger3 = stateno = 220124
trigger2 = stateno = 210
trigger3 = stateno = 200
trigger4 = stateno = 230
trigger5 = stateno = 240
;trigger8 = stateno = 250
;trigger9 = stateno = 420
trigger6 = stateno = 410
trigger7 = stateno = 415
trigger8 = stateno = 400
trigger9 = stateno = 430
trigger10 = stateno = 440
;trigger15 = stateno = 450


;---------------------------------------------------------------------------
;Heavy Paradise Hold
;パラダイスホールド（強）
[State -1, Heavy Paradise Hold]
type = ChangeState
value = 1240
triggerall = command = "paradise_z"
triggerall = statetype != A
trigger1 = ctrl



[State -1, hadoken_x]
type = ChangeState
value = 1240
triggerall = command = "paradise_z"
triggerall = statetype != A
triggerall = movecontact
trigger1 = ctrl
;trigger2 = stateno = 220
;trigger3 = stateno = 220124
trigger2 = stateno = 210
trigger3 = stateno = 200
trigger4 = stateno = 230
trigger5 = stateno = 240
;trigger8 = stateno = 250
;trigger9 = stateno = 420
trigger6 = stateno = 410
trigger7 = stateno = 415
trigger8 = stateno = 400
trigger9 = stateno = 430
trigger10 = stateno = 440
;trigger15 = stateno = 450
;---------------------------------------------------------------------------
;Light Daydream Headlock
;デイドリームヘッドロック（弱）
[State -1, Light Daydream Headlock]
type = ChangeState
value = 1300
triggerall = command = "daydream_a"
trigger1 = statetype != A
trigger1 = ctrl

[State -1, asraf_2pai]
type = ChangeState
value = 1300
triggerall = Var(50) = 1
triggerall = random >= 100 && random < 299 || random >= 800 && random <= 959
triggerall = statetype != A
triggerall = ctrl
trigger1 = p2bodydist X > 15 && p2bodydist X < 25


;---------------------------------------------------------------------------
;Medium Daydream Headlock
;デイドリームヘッドロック（中）
[State -1, Medium Daydream Headlock]
type = ChangeState
value = 1302
triggerall = command = "daydream_b"
trigger1 = statetype != A
trigger1 = ctrl

;---------------------------------------------------------------------------
;Heavy Daydream Headlock
;デイドリームヘッドロック（強）
[State -1, Heavy Daydream Headlock]
type = ChangeState
value = 1304
triggerall = command = "daydream_c"
trigger1 = statetype != A
trigger1 = ctrl

[State -1, asraf_2pai]
type = ChangeState
value = 1304
triggerall = Var(50) = 1
triggerall = random >= 100 && random < 299 || random >= 800 && random <= 959
triggerall = statetype != A
triggerall = ctrl
trigger1 = p2bodydist X > 20 && p2bodydist X < 25


;---------------------------------------------------------------------------
;Light Flying Peach
;フライングピーチ（弱）
[State -1, Light Flying Peach]
type = ChangeState
value = 1000
triggerall = command = "flying peach_x"
trigger1 = statetype != A
trigger1 = ctrl


[State -1, asraf_2pai]
type = ChangeState
value = 1000
triggerall = Var(50) = 1
triggerall = random >= 100 && random < 299 || random >= 800 && random <= 959
triggerall = statetype != A
triggerall = ctrl
trigger1 = p2bodydist X > 70 && p2bodydist X < 80

[State -1, hadoken_x]
type = ChangeState
value = 1000
triggerall = command = "flying peach_x"
triggerall = statetype != A
triggerall = movecontact
trigger1 = ctrl
trigger2 = stateno = 220
;trigger3 = stateno = 220124
trigger3 = stateno = 210
trigger4 = stateno = 200
trigger5 = stateno = 230
trigger6 = stateno = 240
;trigger8 = stateno = 250
;trigger9 = stateno = 420
trigger7 = stateno = 410
trigger8 = stateno = 415
trigger9 = stateno = 400
trigger10 = stateno = 430
trigger11 = stateno = 440
;trigger15 = stateno = 450

;---------------------------------------------------------------------------
;Medium Flying Peach
;フライングピーチ（中）
[State -1, Medium Flying Peach]
type = ChangeState
value = 1010
triggerall = command = "flying peach_y"
trigger1 = statetype != A
trigger1 = ctrl

[State -1, hadoken_x]
type = ChangeState
value = 1010
triggerall = command = "flying peach_y"
triggerall = statetype != A
triggerall = movecontact
trigger1 = ctrl
trigger2 = stateno = 220
;trigger3 = stateno = 220124
trigger3 = stateno = 210
trigger4 = stateno = 200
trigger5 = stateno = 230
trigger6 = stateno = 240
;trigger8 = stateno = 250
;trigger9 = stateno = 420
trigger7 = stateno = 410
trigger8 = stateno = 415
trigger9 = stateno = 400
trigger10 = stateno = 430
trigger11 = stateno = 440
;trigger15 = stateno = 450

;---------------------------------------------------------------------------
;Heavy Flying Peach
;フライングピーチ（強）
[State -1, Heavy Flying Peach]
type = ChangeState
value = 1020
triggerall = command = "flying peach_z"
trigger1 = statetype != A
trigger1 = ctrl


[State -1, asraf_2pai]
type = ChangeState
value = 1020
triggerall = Var(50) = 1
triggerall = random >= 100 && random < 299 || random >= 800 && random <= 959
triggerall = statetype != A
triggerall = ctrl
trigger1 = p2bodydist X > 150 && p2bodydist X < 160

[State -1, hadoken_x]
type = ChangeState
value = 1020
triggerall = command = "flying peach_z"
triggerall = statetype != A
triggerall = movecontact
trigger1 = ctrl
trigger2 = stateno = 220
;trigger3 = stateno = 220124
trigger3 = stateno = 210
trigger4 = stateno = 200
trigger5 = stateno = 230
trigger6 = stateno = 240
;trigger8 = stateno = 250
;trigger9 = stateno = 420
trigger7 = stateno = 410
trigger8 = stateno = 415
trigger9 = stateno = 400
trigger10 = stateno = 430
trigger11 = stateno = 440
;trigger15 = stateno = 450

;---------------------------------------------------------------------------
;Light Shooting Peach
;シューティングピーチ（弱）
[State -1, Light Shooting Peach]
type = ChangeState
value = 1050
triggerall = command = "shooting peach_a"
trigger1 = statetype != A
trigger1 = ctrl



[State -1, hadoken_x]
type = ChangeState
value = 1050
triggerall = command = "shooting peach_a"
triggerall = statetype != A
triggerall = movecontact
trigger1 = ctrl
trigger2 = stateno = 220
;trigger3 = stateno = 220124
trigger3 = stateno = 210
trigger4 = stateno = 200
trigger5 = stateno = 230
trigger6 = stateno = 240
;trigger8 = stateno = 250
;trigger9 = stateno = 420
trigger7 = stateno = 410
trigger8 = stateno = 415
trigger9 = stateno = 400
trigger10 = stateno = 430
trigger11 = stateno = 440
;trigger15 = stateno = 450

;---------------------------------------------------------------------------
;Medium Shooting Peach
;シューティングピーチ（中）
[State -1, Medium Shooting Peach]
type = ChangeState
value = 1060
triggerall = command = "shooting peach_b"
trigger1 = statetype != A
trigger1 = ctrl

[State -1, asraf_2pai]
type = ChangeState
value = 1060
triggerall = Var(50) = 1
triggerall = random >= 100 && random < 299 || random >= 800 && random <= 959
triggerall = statetype != A
triggerall = ctrl
trigger1 = p2bodydist X > 71 && p2bodydist X < 81

[State -1, hadoken_x]
type = ChangeState
value = 1060
triggerall = command = "shooting peach_b"
triggerall = statetype != A
triggerall = movecontact
trigger1 = ctrl
trigger2 = stateno = 220
;trigger3 = stateno = 220124
trigger3 = stateno = 210
trigger4 = stateno = 200
trigger5 = stateno = 230
trigger6 = stateno = 240
;trigger8 = stateno = 250
;trigger9 = stateno = 420
trigger7 = stateno = 410
trigger8 = stateno = 415
trigger9 = stateno = 400
trigger10 = stateno = 430
trigger11 = stateno = 440
;trigger15 = stateno = 450

;---------------------------------------------------------------------------
;Heavy Shooting Peach
;シューティングピーチ（強）
[State -1, Heavy Shooting Peach]
type = ChangeState
value = 1070
triggerall = command = "shooting peach_c"
trigger1 = statetype != A
trigger1 = ctrl

[State -1, asraf_2pai]
type = ChangeState
value = 1070
triggerall = Var(50) = 1
triggerall = random >= 100 && random < 299 || random >= 800 && random <= 959
triggerall = statetype != A
triggerall = ctrl
trigger1 = p2bodydist X > 121 && p2bodydist X < 131


[State -1, hadoken_x]
type = ChangeState
value = 1070
triggerall = command = "shooting peach_c"
triggerall = statetype != A
triggerall = movecontact
trigger1 = ctrl
trigger2 = stateno = 220
;trigger3 = stateno = 220124
trigger3 = stateno = 210
trigger4 = stateno = 200
trigger5 = stateno = 230
trigger6 = stateno = 240
;trigger8 = stateno = 250
;trigger9 = stateno = 420
trigger7 = stateno = 410
trigger8 = stateno = 415
trigger9 = stateno = 400
trigger10 = stateno = 430
trigger11 = stateno = 440
;trigger15 = stateno = 450



;===========================================================================
;---------------------------------------------------------------------------
;Run Fwd
;ダッシュ
;[State -1, Run Fwd]
;type = ChangeState
;value = 100
;triggerall = Var(56) = 1
;trigger1 = command = "FF"
;trigger1 = statetype = S
;trigger1 = ctrl

;---------------------------------------------------------------------------
;Run Back
;後退ダッシュ
;[State -1, Run Back]
;type = ChangeState
;value = 105
;triggerall = Var(56) = 1
;trigger1 = command = "BB"
;trigger1 = statetype = S
;trigger1 = ctrl





;---------------------------------------------------------------------------
;Dodge
;攻撃避け
;[State -1, Dodge]
;type = ChangeState
;value = 1500
;triggerall = Var(52) = 1
;trigger1 = command = "dodge"
;trigger1 = statetype != A
;trigger1 = ctrl

;---------------------------------------------------------------------------
;Offencive Rolling
;回りこみ（緊急回避移動）
;[State -1, Dodge]
;type = ChangeState
;value = 1520
;triggerall = Var(53) = 1
;trigger1 = command = "dodge"
;trigger1 = statetype != A
;trigger1 = ctrl

;---------------------------------------------------------------------------
;立ちパンチ投げ（ジャーマン）
[State -1, Throw]
type = ChangeState
value = 780
triggerall = command = "throw1"
triggerall = statetype = S
trigger1 = ctrl
;trigger1 = stateno != 100
triggerall = P2BodyDist X <= 20
trigger1 = command = "holdfwd"
;trigger2 = command = "holdback"

;---------------------------------------------------------------------------
;立ちキック投げ（ブレーンバスター）
[State -1, Throw]
type = ChangeState
value = 781
triggerall = command = "throw2"
triggerall = P2BodyDist X <= 20
triggerall = statetype = S
triggerall = ctrl
;triggerall = stateno != 100
trigger1 = command = "holdfwd"
:trigger2 = command = "holdback"

;---------------------------------------------------------------------------
;しゃがみパンチ投げ（ヘッドバット）
[State -1, Crouching Throw]
type = ChangeState
value = 782
triggerall = command = "recovery"
triggerall = command = "holddown"
triggerall = ctrl
;triggerall = stateno != 100
triggerall = statetype != A
trigger1 = command = "holdfwd"
;trigger2 = command = "holdback"

;---------------------------------------------------------------------------
;ジャンプパンチ投げ（ヒップバスター）
[State -1, Jumping Throw]
type = ChangeState
value = 785
triggerall = command = "throw1"
triggerall = P2BodyDist X <= 20
triggerall = ctrl
triggerall = statetype = A
triggerall = Pos Y < -11
trigger1 = command = "holdfwd"
;trigger2 = command = "holdback"

;---------------------------------------------------------------------------
;ジャンプキック投げ（ネックブリーカー）
[State -1, Jumping Throw]
type = ChangeState
value = 786
triggerall = command = "throw2"
triggerall = P2BodyDist X <= 20
triggerall = ctrl
triggerall = statetype = A
triggerall = Pos Y < -15
trigger1 = command = "holdfwd"
;trigger2 = command = "holdback"





;Standing Strong Kick
;立ち強キック
[State -1, Standing Strong Kick]
type = ChangeState
value = 220123
triggerall = command = "holdfwd" && command = "z"
triggerall = command != "holddown"
trigger1 = statetype != A
trigger1 = ctrl

;Standing Strong Kick
;立ち強キック
[State -1, Standing Strong Kick]
type = ChangeState
value = 200123
triggerall = command = "holdback" && command = "z"
triggerall = command != "holddown"
trigger1 = statetype != A
trigger1 = ctrl

;Standing Strong Kick
;立ち強キック
[State -1, Standing Strong Kick]
type = ChangeState
value = 220124
triggerall = command = "z"
trigger1 = p2bodydist X < 20
triggerall = command != "holddown"
trigger1 = statetype != A
trigger1 = ctrl



;===========================================================================
;---------------------------------------------------------------------------
;Stand Strong Punch
;立ち強パンチ
[State -1, Stand Strong Punch]
type = ChangeState
value = 220
triggerall = command = "z"
triggerall = command != "holddown"
trigger1 = statetype != A
trigger1 = ctrl





;---------------------------------------------------------------------------
;Stand Medium Punch
;立ち中パンチ
[State -1, Stand Medium Punch]
type = ChangeState
value = 210
triggerall = command = "y"
triggerall = command != "holddown"
trigger1 = statetype != A
trigger1 = ctrl


;---------------------------------------------------------------------------
;Stand Light Punch
;立ち弱パンチ
[State -1, Stand Light Punch]
type = ChangeState
value = 200
triggerall = command = "x"
triggerall = command != "holddown"
trigger1 = statetype != A
trigger1 = ctrl




;---------------------------------------------------------------------------
;Stand Light Kick
;立ち弱キック
[State -1, Stand Light Kick]
type = ChangeState
value = 230
triggerall = command = "a"
triggerall = command != "holddown"
trigger1 = statetype != A
trigger1 = ctrl




;---------------------------------------------------------------------------
;Standing Medium Kick
;立ち中キック
[State -1, Standing Medium Kick]
type = ChangeState
value = 240
triggerall = command = "b"
triggerall = command != "holddown"
trigger1 = statetype != A
trigger1 = ctrl


;---------------------------------------------------------------------------
;Stand Medium Punch
;立ち中パンチ
[State -1, Stand Medium Punch]
type = ChangeState
value = 230123
triggerall = command = "holdfwd" && command = "c"
triggerall = command != "holddown"
trigger1 = statetype != A
trigger1 = ctrl

;---------------------------------------------------------------------------
;Standing Strong Kick
;立ち強キック
[State -1, Standing Strong Kick]
type = ChangeState
value = 21012445
triggerall = command = "holdback" && command = "c"
triggerall = command != "holddown"
trigger1 = statetype != A
trigger1 = ctrl


;---------------------------------------------------------------------------
;Wingless Airplane
;ウイングレスエアプレーン
[State -1, Wingless Airplane]
type = ChangeState
value = 210123
triggerall = command = "airplane"
;triggerall = command = "holdfwd" 
trigger1= statetype = S
trigger1 = ctrl
trigger1 = p2bodydist X < 20

;---------------------------------------------------------------------------
;Standing Strong Kick
;立ち強キック
[State -1, Standing Strong Kick]
type = ChangeState
value = 250
triggerall = command = "c"
triggerall = command != "holddown"
trigger1 = statetype != A
trigger1 = ctrl

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



;---------------------------------------------------------------------------
;Taunt
;挑発
[State -1, Taunt]
type = ChangeState
value = 195
triggerall = command = "start"
;triggerall = Var(59) != 1	;X-ISM以外
;triggerall = Var(7) = 0
;trigger1 = Var(6) = 0
trigger1 = statetype != A
trigger1 = ctrl

;[State -1, Taunt]
;type = ChangeState
;value = 195
;triggerall = command = "start"
;triggerall = Var(59) != 1	;X-ISM以外
;triggerall = statetype != A
;triggerall = Var(7) != 0
;trigger1 = (stateno = [1000,1029]) && (AnimElemTime(11) > 0)
;trigger2 = (stateno = [1050,1079]) && (AnimElemTime(5) > 0)
;trigger3 = movecontact && (stateno = 201 && AnimElemTime(5) > 0)
;trigger4 = movecontact && (stateno = 211 && AnimElemTime(5) > 0)
;trigger5 = movecontact && (stateno = 221 && AnimElemTime(7) > 0)
;trigger6 = movecontact && (stateno = 231 && AnimElemTime(4) > 0)
;trigger7 = movecontact && ((stateno=[241,251]) && AnimElemTime(5) > 0)
;trigger8 = movecontact && (stateno = 401 && AnimElemTime(4) > 0)
;trigger9 = movecontact && ((stateno=[411,416]) && AnimElemTime(7) > 0)
;trigger10= movecontact && (stateno = 421 && AnimElemTime(6) > 0)
;trigger11= movecontact && (stateno = 431 && AnimElemTime(4) > 0)
;trigger12= movecontact && ((stateno=[441,451]) && AnimElemTime(7) > 0)

;---------------------------------------------------------------------------
;Crouching Strong Punch
;しゃがみ強パンチ
[State -1, Crouching Strong Punch]
type = ChangeState
value = 420
triggerall = command = "z"
triggerall = command = "holddown"
trigger1 = statetype != A
trigger1 = ctrl


;---------------------------------------------------------------------------
;Crouching Medium Punch
;しゃがみ中パンチ
[State -1, Crouching Medium Punch]
type = ChangeState
value = 410
triggerall = command = "y"
triggerall = command = "holddown"
;triggerall = Var(59) != 1
trigger1 = statetype != A
trigger1 = ctrl




;Crouching Medium Punch(X-ISM)
;しゃがみ中パンチ（Ｘ−ＩＳＭ）
[State -1, Crouching Medium Punch]
type = ChangeState
value = 415
triggerall = command = "y"
triggerall = command = "holddown"
;triggerall = Var(59) = 1	;X-ISM
trigger1 = statetype != A
trigger1 = ctrl



;---------------------------------------------------------------------------
;Crouching Light Punch
;しゃがみ弱パンチ
[State -1, Crouching Light Punch]
type = ChangeState
value = 400
triggerall = command = "x"
triggerall = command = "holddown"
trigger1 = statetype != A
trigger1 = ctrl




;---------------------------------------------------------------------------
;Crouching Light Kick
;しゃがみ弱キック
[State -1, Crouching Light Kick]
type = ChangeState
value = 430
triggerall = command = "a"
triggerall = command = "holddown"
trigger1 = statetype != A
trigger1 = ctrl

;---------------------------------------------------------------------------
;Crouching Medium Kick
;しゃがみ中キック
[State -1, Crouching Medium Kick]
type = ChangeState
value = 440
triggerall = command = "b"
triggerall = command = "holddown"
trigger1 = statetype != A
trigger1 = ctrl


;---------------------------------------------------------------------------
;Crouching Strong Kick
;しゃがみ強キック
[State -1, Crouching Strong Kick]
type = ChangeState
value = 450
triggerall = command = "c"
triggerall = command = "holddown"
trigger1 = statetype != A
trigger1 = ctrl


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

;---------------------------------------------------------------------------
;空中レバー下入れ弱キック（斜めジャンプのみ）
;[State -1, Jump Extra Light Kick]
;type = ChangeState
;value = 670
;triggerall = command = "a"
;triggerall = command = "holddown"
;triggerall = Vel X != 0.0
;trigger1 = statetype = A
;trigger1 = ctrl

;---------------------------------------------------------------------------
;Jump Light Punch
;空中弱パンチ（垂直）
[State -1, Jump Light Punch]
type = ChangeState
value = 600
triggerall = command = "x"
;triggerall = Vel X = 0.0
trigger1 = statetype = A
trigger1 = ctrl


;---------------------------------------------------------------------------
;Jump Medium Punch
;空中中パンチ（垂直）
[State -1, Jump Medium Punch]
type = ChangeState
value = 610
triggerall = command = "y"
;triggerall = Vel X = 0.0
trigger1 = statetype = A
trigger1 = ctrl


;---------------------------------------------------------------------------
;Jump Strong Punch
;空中強パンチ（垂直）
[State -1, Jump Strong Punch]
type = ChangeState
value = 620
triggerall = command = "z"
triggerall = Vel X = 0
trigger1 = statetype = A
trigger1 = ctrl



;空中強パンチ（斜め）
;[State -1, Jump Strong Punch]
;type = ChangeState
;value = 625
;triggerall = command = "z"
;triggerall = Vel X = 0
;trigger1 = statetype = A
;trigger1 = ctrl



;空中レバー下入れ強パンチ（斜めジャンプのみ）
[State -1, Jump Extra Strong Punch]
type = ChangeState
value = 660
triggerall = command = "z"
triggerall = Vel X > 0 || Vel X < 0
trigger1 = statetype = A
trigger1 = ctrl


;---------------------------------------------------------------------------
;Jump Light Kick
;空中弱キック
[State -1, Jump Light Kick]
type = ChangeState
value = 630
triggerall = command = "a"
trigger1 = statetype = A
trigger1 = ctrl


;---------------------------------------------------------------------------
;Jump Medium Kick
;空中中キック（垂直）
[State -1, Jump Medium Kick]
type = ChangeState
value = 640
triggerall = command = "b"
trigger1 = statetype = A
trigger1 = ctrl


;---------------------------------------------------------------------------
;Jump Strong Kick
;空中強キック（垂直）
[State -1, Jump Strong Kick]
type = ChangeState
value = 650
triggerall = command = "c"
triggerall = Vel X = 0.0
trigger1 = statetype = A
trigger1 = ctrl



;空中強キック（斜め）
[State -1, Jump Strong Kick]
type = ChangeState
value = 655
triggerall = command = "c"
triggerall = Vel X != 0.0
trigger1 = statetype = A
trigger1 = ctrl



;---------------------------------------------------------------------------
;===========================================================================


[State -1, asraf_2pai]
type = ChangeState
value = 131
triggerall = Var(50) = 1
triggerall = statetype != A
;triggerall = statetype != S
triggerall = p2bodydist X < 80
trigger1 = p2statetype = C
;trigger1 = (enemynear, p2Bodydist x <= 60 && enemynear, movetype != A)
;trigger1 = random >= 100 && random < 299 || random >= 800 && random <= 959
;trigger1 = statetype = C
trigger1 = ctrl



[State -1, hadoken_z]
type = ChangeState
value = 130
triggerall = InGuardDist
triggerall = Var(50) = 1
triggerall = random >= 100 && random < 299 || random >= 800 && random <= 959
triggerall = statetype != A
triggerall = ctrl
trigger1 = p2bodydist X > 60 && p2bodydist X < 70


[State -1, hadoken_z]
type = ChangeState
value = 130
triggerall = InGuardDist
triggerall = Var(50) = 1
triggerall = random >= 100 && random < 299 || random >= 800 && random <= 959
triggerall = statetype != A
triggerall = ctrl
trigger1 = p2bodydist X > 90 && p2bodydist X < 100

[State -1, hadoken_z]
type = ChangeState
value = 130
triggerall = InGuardDist
triggerall = Var(50) = 1
triggerall = random >= 100 && random < 299 || random >= 800 && random <= 959
triggerall = statetype != A
triggerall = ctrl
trigger1 = p2bodydist X > 120 && p2bodydist X < 130

[State -1, hadoken_z]
type = ChangeState
value = 130
triggerall = InGuardDist
triggerall = Var(50) = 1
triggerall = random >= 100 && random < 299 || random >= 800 && random <= 959
triggerall = statetype != A
triggerall = ctrl
trigger1 =  p2bodydist X > 150 && p2bodydist X < 160

[State -1, hadoken_z]
type = ChangeState
value = 130
triggerall = InGuardDist
triggerall = Var(50) = 1
triggerall = random >= 100 && random < 299 || random >= 800 && random <= 959
triggerall = statetype != A
triggerall = ctrl
trigger1 = p2bodydist X > 175 && p2bodydist X < 185

[State -1, hadoken_z]
type = ChangeState
value = 130
triggerall = InGuardDist
triggerall = Var(50) = 1
triggerall = random >= 100 && random < 299 || random >= 800 && random <= 959
triggerall = statetype != A
triggerall = ctrl
trigger1 = p2bodydist X > 195 && p2bodydist X < 205

[State -1, hadoken_z]
type = ChangeState
value = 130
triggerall = InGuardDist
triggerall = Var(50) = 1
triggerall = random >= 100 && random < 299 || random >= 800 && random <= 959
triggerall = statetype != A
triggerall = ctrl
trigger1 = p2bodydist X > 240 && p2bodydist X < 250


[State -1, 対地 立ちガード]
type  = ChangeState
value = 130
triggerall = InGuardDist
triggerall = statetype != A
triggerall = EnemyNear,HitDefAttr != SCA,NT,ST,HT
triggerall = var(50) = 1
triggerall = ctrl
triggerall = p2statetype = S
trigger1 = P2BodyDist X = [ceil(40*const(size.xscale)),ceil(90*const(size.xscale))]
trigger1 = var(51) = [0,24]        
trigger2 = P2BodyDist X = [ceil(-15*const(size.xscale)),ceil(39*const(size.xscale))]
trigger2 = var(51) = [10,39]
trigger3 = enemy,teammode = simul 
trigger3 = P2BodyDist X = [ceil(-50*const(size.xscale)),ceil(-16*const(size.xscale))]
trigger3 = var(51) = [0,39]
trigger4 = P2BodyDist X = [ceil(-15*const(size.xscale)),ceil(39*const(size.xscale))]
trigger4 = enemy,hitdefattr = S, NA,SA,HA 
trigger4 = Random < 400
trigger5 = Enemy,NumProj > 0
trigger5 = P2BodyDist X = [ceil(-50*const(size.xscale)),ceil(200*const(size.xscale))]
trigger5 = Random < 400

[State -1, 対空 立ちガード]
type  = ChangeState
value = 130
triggerall = InGuardDist
triggerall = statetype != A
triggerall = EnemyNear,HitDefAttr != SCA,NT,ST,HT
triggerall = var(50) = 1
triggerall = ctrl
triggerall = p2statetype = A
trigger1 = P2BodyDist X = [ceil(40*const(size.xscale)),ceil(90*const(size.xscale))]
trigger1 = var(51) = [0,25]
trigger2 = P2BodyDist X = [ceil(-40*const(size.xscale)),ceil(39*const(size.xscale))]
trigger2 = var(51) = [0,34]
trigger3 = P2BodyDist X = [ceil(-40*const(size.xscale)),ceil(39*const(size.xscale))]
trigger3 = enemy,hitdefattr = A, NA,SA,HA
trigger3 = Random < 400
trigger4 = Enemy,NumProj > 0
trigger4 = P2BodyDist X = [ceil(-50*const(size.xscale)),ceil(200*const(size.xscale))]
trigger4 = Random < 400


[State -1, しゃがみガード]
type  = ChangeState
value = 131
triggerall = InGuardDist
triggerall = statetype = C
triggerall = EnemyNear,HitDefAttr != SCA,NT,ST,HT
triggerall = var(50) = 1
triggerall = random >= 100 && random < 299 || random >= 800 && random <= 959
triggerall = ctrl
trigger1 = p2statetype = C
trigger1 = p2bodydist X > 60 && p2bodydist X < 70
trigger1 = var(51) = [0,34]
trigger2 = p2statetype = C
trigger2 = p2bodydist X > 120 && p2bodydist X < 130
trigger2 = var(51) = [0,35]
trigger3 = p2statetype = S      
trigger3 = p2bodydist X > 150 && p2bodydist X < 160
trigger3 = var(51) = [0,29]
trigger4 = p2statetype = C
trigger4 = enemy,teammode = simul
trigger4 = p2bodydist X > 175 && p2bodydist X < 185
trigger4 = var(51) = [0,45]
trigger5 = p2bodydist X > 195 && p2bodydist X < 205
trigger5 = enemy,hitdefattr = C, NA,SA,HA
trigger5 = Random < 400
trigger6 = Enemy,NumProj > 0
trigger6 = p2bodydist X > 240 && p2bodydist X < 250
trigger6 = Random < 400

[State -1, しゃがみガード]
type  = ChangeState
value = 131
triggerall = InGuardDist
triggerall = statetype = C
triggerall = EnemyNear,HitDefAttr != SCA,NT,ST,HT
triggerall = var(50) = 1
triggerall = ctrl
trigger1 = p2statetype = C
trigger1 = P2BodyDist X = [ceil(40*const(size.xscale)),ceil(85*const(size.xscale))]
trigger1 = var(51) = [0,34]
trigger2 = p2statetype = C
trigger2 = P2BodyDist X = [ceil(-20*const(size.xscale)),ceil(39*const(size.xscale))]
trigger2 = var(51) = [0,35]
trigger3 = p2statetype = S      
trigger3 = P2BodyDist X = [ceil(-15*const(size.xscale)),ceil(39*const(size.xscale))]
trigger3 = var(51) = [0,29]
trigger4 = p2statetype = C
trigger4 = enemy,teammode = simul
trigger4 = P2BodyDist X = [ceil(-50*const(size.xscale)),ceil(-16*const(size.xscale))]
trigger4 = var(51) = [0,45]
trigger5 = P2BodyDist X = [ceil(-20*const(size.xscale)),ceil(39*const(size.xscale))]
trigger5 = enemy,hitdefattr = C, NA,SA,HA
trigger5 = Random < 400
trigger6 = Enemy,NumProj > 0
trigger6 = P2BodyDist X = [ceil(-50*const(size.xscale)),ceil(200*const(size.xscale))]
trigger6 = Random < 400

[State -1, velset]
type = velset
trigger1 = var(50) = 1
trigger1 = stateno = [120,132]
trigger1 = statetype != A
x = 0

