


[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 = "ASoulS_L"
command = ~D, DB, B, D, DB, B, x
time = 30

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

[Command]
name = "ASoulS_H"
command = ~D, DB, B, D, DB, B, y
time = 30

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

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

[Command]
name = "ASoulT_HS"
command = ~D, DF, F, D, DF, z
time = 30


[Command]
name = "SoulI_L"
command = ~D, DF, F, D, DF, a
time = 30

[Command]
name = "SoulI_H"
command = ~D, DF, F, D, DF, b
time = 30

[Command]
name = "SoulI_Hs"
command = ~D, DF, F, D, DF, c
time = 30

;-| Special Motions |------------------------------------------------------
[Command]
name = "Spi_L"
command = ~D, DF, F, a
time = 30

[Command]
name = "Spi_H"
command = ~D, DF, F, b
time = 30

[Command]
name = "Spi_Hs"
command = ~D, DF, F, c
time = 30

[Command]
name = "SoulR_L"
command = ~D, DB, B, x
time = 30

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

[Command]
name = "SoulR_Hs"
command = ~D, DB, B, y
time = 30

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

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

[Command]
name = "SoulT_Hs"
command = ~F, D, DF, z
time = 30

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

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

[Command]
name = "SoulS_Hs"
command = ~B, DB, D, DF, F, z
time = 30

;-| Double Tap |-----------------------------------------------------------
[Command]
name = "FF"
command = F, F
time = 10

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

[Command]
name = "bl_F"
command = F
time = 0

[Command]
name = "bl_D"
command = D
time = 0

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

; Counter Punch
[Command]
name = "nage2"
command = x+y


; Counter Kick

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



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

;-| Single Button |---------------------------------------------------------
[Command]
name = "a"
command = a
time = 1

[Command]
name = "b"
command = c
time = 1

[Command]
name = "c"
command = b
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

;-| Hold Dir |--------------------------------------------------------------
[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 = "holds"
command = /$s
time = 1

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

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

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

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

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

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

[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




;===========================================================================
;---------------------------------------------------------------------------
;オーラソウルスパーク(神秘)
[State -1, ASoulS_H]
type = ChangeState
value = 3050
triggerall = command = "ASoulS_H" && power >= 2000
trigger1 = statetype != A
trigger1 = ctrl
;trigger2 = (stateno = [200,214]) || (stateno = [216,244]) || (stateno = [400,499])
;trigger2 = movecontact
;trigger3 = stateno = 1001 || stateno = 1003 || stateno = 100

[State -1, Spi_H]
type = ChangeState
value = 3050
triggerall = command = "ASoulS_H" && power >= 2000
trigger1 = statetype != A
triggerall = movecontact
trigger1 = ctrl
trigger2 = stateno = 200
trigger3 = stateno = 216
trigger4 = stateno = 215
trigger5 = stateno = 210
trigger6 = stateno = 220
trigger7 = stateno = 21011
trigger8 = stateno = 230
trigger9 = stateno = 250
trigger10 = stateno = 242
trigger11 = stateno = 245
trigger12 = stateno = 240
trigger13 = stateno = 255
trigger14 = stateno = 400
trigger15 = stateno = 405
trigger16 = stateno = 410
trigger17 = stateno = 430
trigger18 = stateno = 440
trigger19 = stateno = 435

;オーラソウルスパーク(神秘)
[State -1, ASoulS_Hs]
type = ChangeState
value = 305022
triggerall = command = "ASoulS_Hs" && power >= 3000
trigger1 = statetype != A
trigger1 = ctrl
;trigger2 = (stateno = [200,214]) || (stateno = [216,244]) || (stateno = [400,499])
;trigger2 = movecontact
;trigger3 = stateno = 1001 || stateno = 1003 || stateno = 100

[State -1, Spi_H]
type = ChangeState
value = 305022
triggerall = command = "ASoulS_Hs" && power >= 3000
trigger1 = statetype != A
triggerall = movecontact
trigger1 = ctrl
trigger2 = stateno = 200
trigger3 = stateno = 216
trigger4 = stateno = 215
trigger5 = stateno = 210
trigger6 = stateno = 220
trigger7 = stateno = 21011
trigger8 = stateno = 230
trigger9 = stateno = 250
trigger10 = stateno = 242
trigger11 = stateno = 245
trigger12 = stateno = 240
trigger13 = stateno = 255
trigger14 = stateno = 400
trigger15 = stateno = 405
trigger16 = stateno = 410
trigger17 = stateno = 430
trigger18 = stateno = 440
trigger19 = stateno = 435

;---------------------------------------------------------------------------
;オーラソウルスパーク(超)
[State -1, ASoulS_L]
type = ChangeState
value = 3000
triggerall = command = "ASoulS_L" && power >= 1000 ;|| command = "ASoulS_H" && power = [1000,1999]
trigger1 = statetype != A
trigger1 = ctrl
;trigger2 = (stateno = [200,214]) || (stateno = [216,244]) || (stateno = [400,499])
;trigger2 = movecontact
;trigger3 = stateno = 1001 || stateno = 1003 || stateno = 100

[State -1, Spi_H]
type = ChangeState
value = 3000
triggerall = command = "ASoulS_L" && power >= 1000 ;|| command = "ASoulS_H" && power = [1000,1999]
trigger1 = statetype != A
triggerall = movecontact
trigger1 = ctrl
trigger2 = stateno = 200
trigger3 = stateno = 216
trigger4 = stateno = 215
trigger5 = stateno = 210
trigger6 = stateno = 220
trigger7 = stateno = 21011
trigger8 = stateno = 230
trigger9 = stateno = 250
trigger10 = stateno = 242
trigger11 = stateno = 245
trigger12 = stateno = 240
trigger13 = stateno = 255
trigger14 = stateno = 400
trigger15 = stateno = 405
trigger16 = stateno = 410
trigger17 = stateno = 430
trigger18 = stateno = 440
trigger19 = stateno = 435

;---------------------------------------------------------------------------
;オーラソウルスルー(神秘)
[State -1, ASoulT_H]
type = ChangeState
value = 3150
triggerall = command = "ASoulT_H" && power >= 2000
trigger1 = statetype != A
trigger1 = ctrl
;trigger2 = (stateno = [200,214]) || (stateno = [216,244]) || (stateno = [400,499])
;trigger2 = movecontact
;trigger3 = stateno = 1001 || stateno = 1003 || stateno = 100

[State -1, Spi_H]
type = ChangeState
value = 3150
triggerall = command = "ASoulT_H" && power >= 2000
trigger1 = statetype != A
triggerall = movecontact
trigger1 = ctrl
trigger2 = stateno = 200
trigger3 = stateno = 216
trigger4 = stateno = 215
trigger5 = stateno = 210
trigger6 = stateno = 220
trigger7 = stateno = 21011
trigger8 = stateno = 230
trigger9 = stateno = 250
trigger10 = stateno = 242
trigger11 = stateno = 245
trigger12 = stateno = 240
trigger13 = stateno = 255
trigger14 = stateno = 400
trigger15 = stateno = 405
trigger16 = stateno = 410
trigger17 = stateno = 430
trigger18 = stateno = 440
trigger19 = stateno = 435

;---------------------------------------------------------------------------
;オーラソウルスルー(神秘)
[State -1, ASoulT_H]
type = ChangeState
value = 315033
triggerall = command = "ASoulT_HS" && power >= 3000
trigger1 = statetype != A
trigger1 = ctrl
;trigger2 = (stateno = [200,214]) || (stateno = [216,244]) || (stateno = [400,499])
;trigger2 = movecontact
;trigger3 = stateno = 1001 || stateno = 1003 || stateno = 100

[State -1, Spi_H]
type = ChangeState
value = 315033
triggerall = command = "ASoulT_HS" && power >= 3000
trigger1 = statetype != A
triggerall = movecontact
trigger1 = ctrl
trigger2 = stateno = 200
trigger3 = stateno = 216
trigger4 = stateno = 215
trigger5 = stateno = 210
trigger6 = stateno = 220
trigger7 = stateno = 21011
trigger8 = stateno = 230
trigger9 = stateno = 250
trigger10 = stateno = 242
trigger11 = stateno = 245
trigger12 = stateno = 240
trigger13 = stateno = 255
trigger14 = stateno = 400
trigger15 = stateno = 405
trigger16 = stateno = 410
trigger17 = stateno = 430
trigger18 = stateno = 440
trigger19 = stateno = 435

;---------------------------------------------------------------------------
;オーラソウルスルー(超)
[State -1, ASoulT_L]
type = ChangeState
value = 3100
triggerall = command = "ASoulT_L" && power >= 1000 ;|| command = "ASoulT_H" && power = [1000,1999]
trigger1 = statetype != A
trigger1 = ctrl
;trigger2 = (stateno = [200,214]) || (stateno = [216,244]) || (stateno = [400,499])
;trigger2 = movecontact
;trigger3 = stateno = 1001 || stateno = 1003 || stateno = 100

;---------------------------------------------------------------------------
;オーラソウルスルー(超)
[State -1, ASoulT_L]
type = ChangeState
value = 3100
triggerall = command = "ASoulT_L" && power >= 1000 ;|| command = "ASoulT_H" && power = [1000,1999]
trigger1 = statetype != A
trigger1 = ctrl
;trigger2 = (stateno = [200,214]) || (stateno = [216,244]) || (stateno = [400,499])
;trigger2 = movecontact
;trigger3 = stateno = 1001 || stateno = 1003 || stateno = 100

[State -1, Spi_H]
type = ChangeState
value = 3100
triggerall = command = "ASoulT_L" && power >= 1000 ;|| command = "ASoulT_H" && power = [1000,1999]
trigger1 = statetype != A
triggerall = movecontact
trigger1 = ctrl
trigger2 = stateno = 200
trigger3 = stateno = 216
trigger4 = stateno = 215
trigger5 = stateno = 210
trigger6 = stateno = 220
trigger7 = stateno = 21011
trigger8 = stateno = 230
trigger9 = stateno = 250
trigger10 = stateno = 242
trigger11 = stateno = 245
trigger12 = stateno = 240
trigger13 = stateno = 255
trigger14 = stateno = 400
trigger15 = stateno = 405
trigger16 = stateno = 410
trigger17 = stateno = 430
trigger18 = stateno = 440
trigger19 = stateno = 435

;---------------------------------------------------------------------------
;ソウルイリュージョン(神秘)
[State -1, SoulI_H]
type = ChangeState
value = 3250
triggerall = command = "SoulI_H" && power >= 2000
triggerall = var(4) = 0
trigger1 = statetype != A
trigger1 = ctrl
;trigger2 = (stateno = [200,214]) || (stateno = [216,244]) || (stateno = [400,499])
;trigger2 = movecontact
;trigger3 = stateno = 1001 || stateno = 1003 || stateno = 100

[State -1, Spi_H]
type = ChangeState
value = 3250
triggerall = command = "SoulI_H" && power >= 2000
;triggerall = var(4) = 0
trigger1 = statetype != A
triggerall = movecontact
trigger1 = ctrl
trigger2 = stateno = 200
trigger3 = stateno = 216
trigger4 = stateno = 215
trigger5 = stateno = 210
trigger6 = stateno = 220
trigger7 = stateno = 21011
trigger8 = stateno = 230
trigger9 = stateno = 250
trigger10 = stateno = 242
trigger11 = stateno = 245
trigger12 = stateno = 240
trigger13 = stateno = 255
trigger14 = stateno = 400
trigger15 = stateno = 405
trigger16 = stateno = 410
trigger17 = stateno = 430
trigger18 = stateno = 440
trigger19 = stateno = 435

-------------
;ソウルイリュージョン(神秘)
[State -1, SoulI_H]
type = ChangeState
value = 3260
triggerall = command = "SoulI_Hs" && power >= 3000
triggerall = var(4) = 0
trigger1 = statetype != A
trigger1 = ctrl
;trigger2 = (stateno = [200,214]) || (stateno = [216,244]) || (stateno = [400,499])
;trigger2 = movecontact
;trigger3 = stateno = 1001 || stateno = 1003 || stateno = 100

[State -1, Spi_H]
type = ChangeState
value = 3260
triggerall = command = "SoulI_Hs" && power >= 3000
;triggerall = var(4) = 0
trigger1 = statetype != A
triggerall = movecontact
trigger1 = ctrl
trigger2 = stateno = 200
trigger3 = stateno = 216
trigger4 = stateno = 215
trigger5 = stateno = 210
trigger6 = stateno = 220
trigger7 = stateno = 21011
trigger8 = stateno = 230
trigger9 = stateno = 250
trigger10 = stateno = 242
trigger11 = stateno = 245
trigger12 = stateno = 240
trigger13 = stateno = 255
trigger14 = stateno = 400
trigger15 = stateno = 405
trigger16 = stateno = 410
trigger17 = stateno = 430
trigger18 = stateno = 440
trigger19 = stateno = 435

;---------------------------------------------------------------------------
;ソウルイリュージョン(超)
[State -1, SoulI_L]
type = ChangeState
value = 3200
triggerall = command = "SoulI_L" && power >= 1000 
triggerall = var(4) = 0
trigger1 = statetype != A
trigger1 = ctrl
;trigger2 = (stateno = [200,214]) || (stateno = [216,244]) || (stateno = [242,250]) || (stateno = [21011,220]) || (stateno = ;[210,215221]) || (stateno = [215,230]) || (stateno = [255,405]) || (stateno = [400,499])
;trigger2 = movecontact
;trigger3 = stateno = 1001 || stateno = 1003 || stateno = 100

[State -1, Spi_H]
type = ChangeState
value = 3200
triggerall = command = "SoulI_L" && power >= 1000 
;triggerall = var(4) = 0
trigger1 = statetype != A
triggerall = movecontact
trigger1 = ctrl
trigger2 = stateno = 200
trigger3 = stateno = 216
trigger4 = stateno = 215
trigger5 = stateno = 210
trigger6 = stateno = 220
trigger7 = stateno = 21011
trigger8 = stateno = 230
trigger9 = stateno = 250
trigger10 = stateno = 242
trigger11 = stateno = 245
trigger12 = stateno = 240
trigger13 = stateno = 255
trigger14 = stateno = 400
trigger15 = stateno = 405
trigger16 = stateno = 410
trigger17 = stateno = 430
trigger18 = stateno = 440
trigger19 = stateno = 435

;===========================================================================
;---------------------------------------------------------------------------
;ソウルスパイラル強
[State -1, Spi_H]
type = ChangeState
value = 1310
triggerall = command = "Spi_H"
trigger1 = statetype != A
trigger1 = ctrl
trigger2 = (stateno = [200,214]) || (stateno = [216,244]) || (stateno = [400,499])
trigger2 = movecontact
trigger3 = stateno = 1001 || stateno = 1003 || stateno = 100

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

;ソウルスパイラル強
[State -1, Spi_H]
type = ChangeState
value = 1310
triggerall = command = "Spi_H"
triggerall = statetype != A
triggerall = movecontact
trigger1 = ctrl
trigger2 = stateno = 200
trigger3 = stateno = 216
trigger4 = stateno = 215
trigger5 = stateno = 210
trigger6 = stateno = 220
trigger7 = stateno = 21011
trigger8 = stateno = 230
trigger9 = stateno = 250
trigger10 = stateno = 242
trigger11 = stateno = 245
trigger12 = stateno = 240
trigger13 = stateno = 255
trigger14 = stateno = 400
trigger15 = stateno = 405
trigger16 = stateno = 410
trigger17 = stateno = 430
trigger18 = stateno = 440
trigger19 = stateno = 435

;ソウルスパイラル強
[State -1, Spi_H]
type = ChangeState
value = 1311
triggerall = command = "Spi_Hs"
trigger1 = statetype != A
trigger1 = ctrl
trigger2 = (stateno = [200,214]) || (stateno = [216,244]) || (stateno = [400,499])
trigger2 = movecontact
trigger3 = stateno = 1001 || stateno = 1003 || stateno = 100

[State -1, hurricane_c]
type = ChangeState
value = 1311
triggerall = Var(50) = 1
triggerall = random >= 100 && random < 299 || random >= 800 && random <= 959
triggerall = statetype != A
triggerall = ctrl
trigger1 = p2bodydist X > 30 && p2bodydist X < 40

;ソウルスパイラル強
[State -1, Spi_H]
type = ChangeState
value = 1311
triggerall = command = "Spi_Hs"
triggerall = statetype != A
triggerall = movecontact
trigger1 = ctrl
trigger2 = stateno = 200
trigger3 = stateno = 216
trigger4 = stateno = 215
trigger5 = stateno = 210
trigger6 = stateno = 220
trigger7 = stateno = 21011
trigger8 = stateno = 230
trigger9 = stateno = 250
trigger10 = stateno = 242
trigger11 = stateno = 245
trigger12 = stateno = 240
trigger13 = stateno = 255
trigger14 = stateno = 400
trigger15 = stateno = 405
trigger16 = stateno = 410
trigger17 = stateno = 430
trigger18 = stateno = 440
trigger19 = stateno = 435



;---------------------------------------------------------------------------
;ソウルスパイラル弱
[State -1, Spi_L]
type = ChangeState
value = 1300
triggerall = command = "Spi_L"
trigger1 = statetype != A
trigger1 = ctrl
trigger2 = (stateno = [200,214]) || (stateno = [216,244]) || (stateno = [400,499])
trigger2 = movecontact
trigger3 = stateno = 1001 || stateno = 1003 || stateno = 100

[State -1, hurricane_c]
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 > 25 && p2bodydist X < 35

[State -1, Spi_L]
type = ChangeState
value = 1300
triggerall = command = "Spi_L"
triggerall = statetype != A
triggerall = movecontact
trigger1 = ctrl
trigger2 = stateno = 200
trigger3 = stateno = 216
trigger4 = stateno = 215
trigger5 = stateno = 210
trigger6 = stateno = 220
trigger7 = stateno = 21011
trigger8 = stateno = 230
trigger9 = stateno = 250
trigger10 = stateno = 242
trigger11 = stateno = 245
trigger12 = stateno = 240
trigger13 = stateno = 255
trigger14 = stateno = 400
trigger15 = stateno = 405
trigger16 = stateno = 410
trigger17 = stateno = 430
trigger18 = stateno = 440
trigger19 = stateno = 435


;---------------------------------------------------------------------------
;ソウルリフレクト強(般若)
[State -1, SoulR_H]
type = ChangeState
value = 1260
triggerall = command = "SoulR_H"
trigger1 = statetype != A
trigger1 = ctrl
;trigger2 = (stateno = [200,214]) || (stateno = [216,244]) || (stateno = [400,499])
;trigger2 = movecontact
;rigger3 = stateno = 1001 || stateno = 1003 || stateno = 100

[State -1, hurricane_c]
type = ChangeState
value = 1260
triggerall = Var(50) = 1
triggerall = random >= 100 && random < 299 || random >= 800 && random <= 959
triggerall = statetype != A
triggerall = ctrl
trigger1 = p2bodydist X > 23 && p2bodydist X < 33

[State -1, Spi_H]
type = ChangeState
value = 1260
triggerall = command = "SoulR_H"
triggerall = statetype != A
triggerall = movecontact
trigger1 = ctrl
trigger2 = stateno = 200
trigger3 = stateno = 216
trigger4 = stateno = 215
trigger5 = stateno = 210
trigger6 = stateno = 220
trigger7 = stateno = 21011
trigger8 = stateno = 230
trigger9 = stateno = 250
trigger10 = stateno = 242
trigger11 = stateno = 245
trigger12 = stateno = 240
trigger13 = stateno = 255
trigger14 = stateno = 400
trigger15 = stateno = 405
trigger16 = stateno = 410
trigger17 = stateno = 430
trigger18 = stateno = 440
trigger19 = stateno = 435

;ソウルリフレクト強(般若)
[State -1, SoulR_Hs]
type = ChangeState
value = 1250
triggerall = command = "SoulR_Hs"
trigger1 = statetype != A
trigger1 = ctrl
;trigger2 = (stateno = [200,214]) || (stateno = [216,244]) || (stateno = [400,499])
;trigger2 = movecontact
;trigger3 = stateno = 1001 || stateno = 1003 || stateno = 100

[State -1, hurricane_c]
type = ChangeState
value = 1250
triggerall = Var(50) = 1
triggerall = random >= 100 && random < 299 || random >= 800 && random <= 959
triggerall = statetype != A
triggerall = ctrl
trigger1 = p2bodydist X > 21 && p2bodydist X < 31

[State -1, Spi_H]
type = ChangeState
value = 1250
triggerall = command = "SoulR_Hs"
triggerall = statetype != A
triggerall = movecontact
trigger1 = ctrl
trigger2 = stateno = 200
trigger3 = stateno = 216
trigger4 = stateno = 215
trigger5 = stateno = 210
trigger6 = stateno = 220
trigger7 = stateno = 21011
trigger8 = stateno = 230
trigger9 = stateno = 250
trigger10 = stateno = 242
trigger11 = stateno = 245
trigger12 = stateno = 240
trigger13 = stateno = 255
trigger14 = stateno = 400
trigger15 = stateno = 405
trigger16 = stateno = 410
trigger17 = stateno = 430
trigger18 = stateno = 440
trigger19 = stateno = 435

;---------------------------------------------------------------------------
;ソウルリフレクト弱(九州)
[State -1, SoulR_L]
type = ChangeState
value = 1200
triggerall = command = "SoulR_L"
trigger1 = statetype != A
trigger1 = ctrl
;trigger2 = (stateno = [200,214]) || (stateno = [216,244]) || (stateno = [400,499])
;trigger2 = movecontact
;trigger3 = stateno = 1001 || stateno = 1003 || stateno = 100

[State -1, hurricane_c]
type = ChangeState
value = 1200
triggerall = Var(50) = 1
triggerall = random >= 100 && random < 299 || random >= 800 && random <= 959
triggerall = statetype != A
triggerall = ctrl
trigger1 = p2bodydist X > 19 && p2bodydist X < 29

[State -1, Spi_H]
type = ChangeState
value = 1200
triggerall = command = "SoulR_L"
triggerall = statetype != A
triggerall = movecontact
trigger1 = ctrl
trigger2 = stateno = 200
trigger3 = stateno = 216
trigger4 = stateno = 215
trigger5 = stateno = 210
trigger6 = stateno = 220
trigger7 = stateno = 21011
trigger8 = stateno = 230
trigger9 = stateno = 250
trigger10 = stateno = 242
trigger11 = stateno = 245
trigger12 = stateno = 240
trigger13 = stateno = 255
trigger14 = stateno = 400
trigger15 = stateno = 405
trigger16 = stateno = 410
trigger17 = stateno = 430
trigger18 = stateno = 440
trigger19 = stateno = 435

;---------------------------------------------------------------------------
;ソウルスルー強
[State -1, SoulT_H]
type = ChangeState
value = 1110
triggerall = command = "SoulT_H"
trigger1 = statetype != A
trigger1 = ctrl
;trigger2 = (stateno = [200,214]) || (stateno = [216,244]) || (stateno = [400,499])
;trigger2 = movecontact
;trigger3 = stateno = 1001 || stateno = 1003 || stateno = 100

;ソウルスルー強
[State -1, SoulT_Hs]
type = ChangeState
value = 11101
triggerall = command = "SoulT_Hs"
trigger1 = statetype != A
trigger1 = ctrl
;trigger2 = (stateno = [200,214]) || (stateno = [216,244]) || (stateno = [400,499])
;trigger2 = movecontact
;trigger3 = stateno = 1001 || stateno = 1003 || stateno = 100

;---------------------------------------------------------------------------
;ソウルスルー弱
[State -1, SoulT_L]
type = ChangeState
value = 1100
triggerall = command = "SoulT_L"
trigger1 = statetype != A
trigger1 = ctrl
;trigger2 = (stateno = [200,214]) || (stateno = [216,244]) || (stateno = [400,499])
;trigger2 = movecontact
;trigger3 = stateno = 1001 || stateno = 1003 || stateno = 100

;---------------------------------------------------------------------------
;ソウルスパーク強
[State -1, SoulS_H]
type = ChangeState
value = 1010
triggerall = command = "SoulS_H" && NumProjID(1000) = 0
trigger1 = statetype != A
trigger1 = ctrl
trigger2 = (stateno = [200,214]) || (stateno = [216,244]) || (stateno = [400,499])
trigger2 = movecontact
trigger3 = stateno = 1001 || stateno = 1003 || stateno = 100

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

;ソウルスパーク強
[State -1, SoulS_Hs]
type = ChangeState
value = 10113
triggerall = command = "SoulS_Hs" && NumProjID(1000) = 0
trigger1 = statetype != A
trigger1 = ctrl
trigger2 = (stateno = [200,214]) || (stateno = [216,244]) || (stateno = [400,499])
trigger2 = movecontact
trigger3 = stateno = 1001 || stateno = 1003 || stateno = 100

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

;---------------------------------------------------------------------------
;ソウルスパーク弱
[State -1, SoulS_L]
type = ChangeState
value = 1000
triggerall = command = "SoulS_L" && NumProjID(1000) = 0
trigger1 = statetype != A
trigger1 = ctrl
trigger2 = (stateno = [200,214]) || (stateno = [216,244]) || (stateno = [400,499])
trigger2 = movecontact
trigger3 = stateno = 1001 || stateno = 1003 || stateno = 100

[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 > 60 && p2bodydist X < 65

;===========================================================================
;---------------------------------------------------------------------------
;空中投げ
[State -1, nage]
type = ChangeState
value = 800
triggerall = P2BodyDist X <= 20
triggerall = command = "holdfwd" && command = "nage"
trigger1 = statetype = A
trigger1 = ctrl

[State -1, nage]
type = ChangeState
value = 8501
triggerall = P2BodyDist X <= 20
triggerall = command = "holdfwd" && command = "nage2"
trigger1 = statetype != A
trigger1 = ctrl
;---------------------------------------------------------------------------
;投げ
[State -1, nage]
type = ChangeState
value = 700
triggerall = P2BodyDist X <= 20
triggerall = command = "holdfwd" && command = "nage"
trigger1 = statetype != A
trigger1 = ctrl






;===========================================================================
;---------------------------------------------------------------------------
;Stand Light Punch
;立ち弱パンチ
[State -1, Stand Light Punch]
type = ChangeState
value = 200
triggerall = command = "x" && command != "holddown"
trigger1 = statetype = S
trigger1 = ctrl
;trigger2 = (stateno = 200) && time > 8
;trigger3 = stateno = 1001 || stateno = 1003 || stateno = 100

;Stand Light Punch
;立ち弱パンチ
[State -1, Stand Light Punch]
type = ChangeState
value = 216
triggerall = command = "y" && command != "holddown"
trigger1 = statetype = S
trigger1 = ctrl
;trigger2 = (stateno = 200) && time > 8
;trigger3 = stateno = 1001 || stateno = 1003 || stateno = 100

;---------------------------------------------------------------------------
;遠距離立ち強キック
[State -1, Standing Strong Kick]
type = ChangeState
value = 21011
triggerall = command = "holdback" && command = "z"
triggerall = command != "holddown"
;triggerall = P2BodyDist X > 30
trigger1 = statetype = s
trigger1 = ctrl

;---------------------------------------------------------------------------
;遠距離立ち強パンチ
[State -1, Stand Strong Punch]
type = ChangeState
value = 220
triggerall = command = "holdfwd" && command = "z"
triggerall = command != "holddown"
;triggerall = P2BodyDist X > 25
trigger1 = statetype = S
trigger1 = ctrl
;trigger2 = stateno = 200 || stateno = 400 || stateno = 430
;trigger2 = movecontact
;trigger3 = stateno = 1001 || stateno = 1003 || stateno = 100

;---------------------------------------------------------------------------
;近距離立ち強パンチ
[State -1, Stand Strong Punch]
type = ChangeState
value = 210
triggerall = command = "z" && command != "holddown"
triggerall = P2BodyDist X <= 25
trigger1 = statetype = S
trigger1 = ctrl
;trigger2 = stateno = 200 || stateno = 400 || stateno = 430
;trigger2 = movecontact
;trigger3 = stateno = 1001 || stateno = 1003 || stateno = 100

; Stand Strong Punch
[State -1, Stand Strong Punch]
type = ChangeState
value = 215221
triggerall = command = "z"
triggerall = command != "holdback"
triggerall = command != "holdfwd"
triggerall = command != "holddown"
trigger1 = (stateno = 210 && movecontact)

;---------------------------------------------------------------------------
;近距離立ち強パンチ
[State -1, Stand Strong Punch]
type = ChangeState
value = 215
triggerall = command = "z" && command != "holddown"
;triggerall = P2BodyDist X <= 25
trigger1 = statetype = S
trigger1 = ctrl
;trigger2 = stateno = 200 || stateno = 400 || stateno = 430
;trigger2 = movecontact
;trigger3 = stateno = 1001 || stateno = 1003 || stateno = 100



;---------------------------------------------------------------------------
;Stand Light Kick
;立ち弱キック
[State -1, Stand Light Kick]
type = ChangeState
value = 230
triggerall = command = "a" && command != "holddown"
trigger1 = statetype = S
trigger1 = ctrl
;trigger2 = stateno = 1001 || stateno = 1003 || stateno = 100

;---------------------------------------------------------------------------
;近距離立ち強キック
[State -1, Standing Strong Kick]
type = ChangeState
value = 250
triggerall = command = "holdfwd" && command = "b"
triggerall = command != "holddown"
;triggerall = P2BodyDist X <= 30
trigger1 = statetype = s
trigger1 = ctrl
;trigger2 = stateno = 200 || stateno = 230 || stateno = 400 || stateno = 430
;trigger2 = movecontact
;trigger3 = stateno = 1001 || stateno = 1003 || stateno = 100

;---------------------------------------------------------------------------
;遠距離立ち強キック
[State -1, Standing Strong Kick]
type = ChangeState
value = 242
triggerall = command = "holdback" && command = "b"
triggerall = command != "holddown"
;triggerall = P2BodyDist X > 30
trigger1 = statetype = s
trigger1 = ctrl
;trigger2 = stateno = 200 || stateno = 230 || stateno = 400 || stateno = 430
;trigger2 = movecontact
;trigger3 = stateno = 1001 || stateno = 1003 || stateno = 100



;---------------------------------------------------------------------------
;遠距離立ち強キック
[State -1, Standing Strong Kick]
type = ChangeState
value = 245
triggerall = command = "b" && command != "holddown"
triggerall = P2BodyDist X > 14
trigger1 = statetype = s
trigger1 = ctrl
;trigger2 = stateno = 200 || stateno = 230 || stateno = 400 || stateno = 430
;trigger2 = movecontact
;trigger3 = stateno = 1001 || stateno = 1003 || stateno = 100

;---------------------------------------------------------------------------
;近距離立ち強キック
[State -1, Standing Strong Kick]
type = ChangeState
value = 240
triggerall = command = "b" && command != "holddown"
triggerall = P2BodyDist X <= 14
trigger1 = statetype = s
trigger1 = ctrl
;trigger2 = stateno = 200 || stateno = 230 || stateno = 400 || stateno = 430
;trigger2 = movecontact
;trigger3 = stateno = 1001 || stateno = 1003 || stateno = 100

;---------------------------------------------------------------------------
;遠距離立ち強キック
[State -1, Standing Strong Kick]
type = ChangeState
value = 255
triggerall = command = "c" && command != "holddown"
;triggerall = P2BodyDist X > 30
trigger1 = statetype = s
trigger1 = ctrl
;trigger2 = stateno = 200 || stateno = 230 || stateno = 400 || stateno = 430
;trigger2 = movecontact
;trigger3 = stateno = 1001 || stateno = 1003 || stateno = 100


;---------------------------------------------------------------------------
;挑発
[State -1, Taunt]
type = ChangeState
value = 195
triggerall = command = "start"
trigger1 = statetype != A
trigger1 = ctrl

;---------------------------------------------------------------------------
;しゃがみ弱パンチ
[State -1, Crouching Light Punch]
type = ChangeState
value = 400
triggerall = command = "x" && command = "holddown"
trigger1 = statetype = C
trigger1 = ctrl
;trigger2 = stateno = 1001 || stateno = 1003 || stateno = 100

;しゃがみ弱パンチ
[State -1, Crouching Light Punch]
type = ChangeState
value = 405
triggerall = command = "y" && command = "holddown"
trigger1 = statetype = C
trigger1 = ctrl
;trigger2 = stateno = 1001 || stateno = 1003 || stateno = 100

;---------------------------------------------------------------------------
;しゃがみ強パンチ
[State -1, Crouching Strong Punch]
type = ChangeState
value = 410
triggerall = command = "z" && command = "holddown"
trigger1 = statetype = C
trigger1 = ctrl
;trigger2 = stateno = 1001 || stateno = 1003 || stateno = 100

;---------------------------------------------------------------------------
;しゃがみ弱キック
[State -1, Crouching Light Kick]
type = ChangeState
value = 430
triggerall = command = "a" && command = "holddown"
trigger1 = statetype = C
trigger1 = ctrl
;trigger2 = stateno = 1001 || stateno = 1003 || stateno = 100

;---------------------------------------------------------------------------
;しゃがみ強キック
[State -1, Crouching Strong Kick]
type = ChangeState
value = 440
triggerall = command = "b" && command = "holddown"
trigger1 = statetype = C
trigger1 = ctrl
;trigger2 = stateno = 1001 || stateno = 1003 || stateno = 100

;しゃがみ強キック
[State -1, Crouching Strong Kick]
type = ChangeState
value = 435
triggerall = command = "c" && command = "holddown"
trigger1 = statetype = C
trigger1 = ctrl
;trigger2 = stateno = 1001 || stateno = 1003 || stateno = 100

;---------------------------------------------------------------------------
;空中弱パンチ
[State -1, Jump Light Punch]
type = ChangeState
value = 600
triggerall = command = "x"
trigger1 = statetype = A
trigger1 = ctrl
;trigger2 = stateno = 600
;trigger2 = statetime >= 7

;---------------------------------------------------------------------------
;空中弱パンチ
[State -1, Jump Light Punch]
type = ChangeState
value = 600111
triggerall = command = "y"
trigger1 = statetype = A
;triggerall = Vel X = 0
trigger1 = ctrl
;trigger2 = stateno = 600
;trigger2 = statetime >= 7

;---------------------------------------------------------------------------
;空中強パンチ
[State -1, Jump Strong Punch]
type = ChangeState
value = 610
triggerall = command = "z"
triggerall = Vel X > 0 || Vel X < 0
trigger1 = statetype = A
trigger1 = ctrl
;trigger2 = stateno = 600 || stateno = 630
;trigger2 = movecontact

[State -1, Jump Strong Punch]
type = ChangeState
value = 616
triggerall = command = "z"
trigger1 = statetype = A
trigger1 = ctrl
;trigger2 = stateno = 600 || stateno = 630
;trigger2 = movecontact

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

;---------------------------------------------------------------------------
;空中強キック
[State -1, Jump Strong Kick]
type = ChangeState
value = 640
triggerall = command = "c"
trigger1 = statetype = A
trigger1 = ctrl
;trigger2 = stateno = 600 || stateno = 630 || stateno = 610
;trigger2 = movecontact


;---------------------------------------------------------------------------
;空中強キック
[State -1, Jump Strong Kick]
type = ChangeState
value = 650
triggerall = command = "b"
triggerall = Vel X = 0
trigger1 = statetype = A
trigger1 = ctrl
;trigger2 = stateno = 600 || stateno = 630 || stateno = 610
;trigger2 = movecontact

;---------------------------------------------------------------------------
;空中強キック
[State -1, Jump Strong Kick]
type = ChangeState
value = 650002
triggerall = command = "b"
trigger1 = statetype = A
triggerall = Vel X > 0 || Vel X < 0
trigger1 = ctrl 
;trigger2 = stateno = 600 || stateno = 630 || stateno = 610
;trigger2 = movecontact


















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

[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 = 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




















