;==========================================================================
;R}h֘At@C
;==========================================================================
;-|  |-----------------------------------------------------------
[Command]
name = "ken_a"
command = ~F, D, DF, a
time = 60

[Command]
name = "ken_b"
command = ~F, D, DF, b
time = 60

[Command]
name = "ken_c"
command = ~F, D, DF, c
time = 60

;-| |bs[ |-----------------------------------------------------------
[Command]
name = "pt"
command = ~D, DB, B, D, DB, B, x
time = 60

;-| |bs[ |-----------------------------------------------------------
[Command]
name = "p"
command = ~B, F, x
time = 15

;-| J |-----------------------------------------------------------
[Command]
name = "kame"
command = D, DB, B, a
time = 30

;-| qmV |-----------------------------------------------------------
[Command]
name = "hino"
command = D, DB, B, b
time = 30

;-| ` |-----------------------------------------------------------
[Command]
name = "ya"
command = D, DB, B, c
time = 30

;-| GA[Y |-----------------------------------------------------------
[Command]
name = "ea"
command = ~B, F, y
time = 15

;-| GA[Y |-----------------------------------------------------------
[Command]
name = "easp"
command = ~D, DB, B, D, DB, B, y
time = 100

;-| JCI[ |-----------------------------------------------------------
[Command]
name = "kai"
command = ~D, DF, F, z
time = 100

;-| JRc |-----------------------------------------------------------
[Command]
name = "kamesp"
command = ~D, DB, B, D, DB, B, a
time = 100

;-| qmVRc |-----------------------------------------------------------
[Command]
name = "hinosp"
command = ~D, DB, B, D, DB, B, b
time = 100

;-| `Rc |-----------------------------------------------------------
[Command]
name = "yasp"
command = ~D, DB, B, D, DB, B, c
time = 100

;-| sJ`[ |-----------------------------------------------------------
[Command]
name = "pika"
command = D, DF, F, a
time = 30

;-| sJ`[Rc |-----------------------------------------------------------
[Command]
name = "pikasp"
command = ~D, DF, F, D, DF, F, a
time = 100

;-| KEZ |-----------------------------------------------------------
[Command]
name = "tyou"
command = ~F,DF,D,F,DF,D,a
time = 100

[Command]
name = "tyou"
command = ~F,DF,D,F,DF,D,b
time = 100

[Command]
name = "tyou"
command = ~F,DF,D,F,DF,D,c
time = 100


;-| AI |-----------------------------------------------------------

[command]
name = "AI_1"
command = D, D, D, D, D, D, D, D
time = 1

[command]
name = "AI_2"
command = D, D, D, D, D, D, D, D
time = 1

[command]
name = "AI_3"
command = D, D, D, D, D, D, D, D
time = 1

[command]
name = "AI_4"
command = z, z, z, z, z, z, z, z
time = 1

[command]
name = "AI_5"
command = z, z, z, z, z, z, z, z
time = 1

[command]
name = "AI_6"
command = z, z, z, z, z, z, z, z
time = 1

[command]
name = "AI_7"
command = B, B, B, B, B, B, B, B
time = 1

[command]
name = "AI_8"
command = B, B, B, B, B, B, B, B
time = 1

[command]
name = "AI_9"
command = B, B, B, B, B, B, B, B
time = 1

[command]
name = "AI_10"
command = x, x, x, x, x, x, x, x
time = 1

[command]
name = "AI_11"
command = x, x, x, x, x, x, x, x
time = 1

[command]
name = "AI_12"
command = x, x, x, x, x, x, x, x
time = 1

[command]
name = "AI_13"
command = U, U, U, U, U, U, U, U
time = 1

[command]
name = "AI_14"
command = U, U, U, U, U, U, U, U
time = 1

[command]
name = "AI_15"
command = U, U, U, U, U, U, U, U
time = 1

[command]
name = "AI_16"
command = a, a, a, a, a, a, a, a
time = 1

[command]
name = "AI_17"
command = a, a, a, a, a, a, a, a
time = 1

[command]
name = "AI_18"
command = a, a, a, a, a, a, a, a
time = 1

[command]
name = "AI_19"
command = F, F, F, F, F, F, F, F
time = 1

[command]
name = "AI_20"
command = F, F, F, F, F, F, F, F
time = 1

[command]
name = "AI_21"
command = F, F, F, F, F, F, F, F
time = 1

[command]
name = "AI_22"
command = b, b, b, b, b, b, b, b
time = 1

[command]
name = "AI_23"
command = b, b, b, b, b, b, b, b
time = 1

[command]
name = "AI_24"
command = b, b, b, b, b, b, b, b
time = 1

[command]
name = "AI_25"
command = y, y, y, y, y, y, y, y
time = 1

[command]
name = "AI_26"
command = y, y, y, y, y, y, y, y
time = 1

[command]
name = "AI_27"
command = y, y, y, y, y, y, y, y
time = 1

[command]
name = "AI_28"
command = s, s, s, s, s, s, s, s
time = 1

[command]
name = "AI_29"
command = s, s, s, s, s, s, s, s
time = 1

[command]
name = "AI_30"
command = s, s, s, s, s, s, s, s
time = 1

[command]
name = "AI_kidou"
command = D, U, D, U, a, b, c, x, y, z
time = 100
;-| 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 = "ac"
command = a+c
time = 1

;-| Dir + Button |---------------------------------------------------------
[Command]
name = "fwd_a"
command = /F,a
time = 1

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

[Command]
name = "fwd_x"
command = /F,x
time = 1

[Command]
name = "fwd_y"
command = /F,y
time = 1


[Command]
name = "downfwd_a"
command = /DF,a
time = 1

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

[Command]
name = "back_a"
command = /B,a
time = 1

[Command]
name = "back_b"
command = /B,b
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 = "down_z"
command = /$D,z
time = 1

[Command]
name = "fwd_ab"
command = /F, a+b
time = 1

[Command]
name = "back_ab"
command = /B, a+b
time = 1

;-| U{^ςȂ |-----------------------------------------------

[Command]
name = "hold_a"
command = /b
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_x"
command = /y
time = 1

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

[Command]
name = "hold_s"
command = /s
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 = "s"
command = s
time = 1


[Command]
name = "u"
command = $U
time = 1
[Command]
name = "uu"
command = /$U
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 = "f_a"
command = F, a
time = 15

[Command]
name = "f_b"
command = F, b
time = 15

[Command]
name = "f_c"
command = F, c
time = 15

; Don't remove the following line. It's required by the CMD standard.
[Statedef -1]


;===========================================================================
;R}hsiD揇ʂ̂ɕ\Lj
;===========================================================================
;---------------------------------------------------------------------------

;---------------------------------------------------------------------------
;O_bV
[State -1]
type = ChangeState
value = 100
trigger1 = command = "FF"
trigger1 = statetype = S
trigger1 = ctrl = 1

;---------------------------------------------------------------------------
;obNXebv
[State -1]
type = ChangeState
value = 105
trigger1 = command = "BB"
trigger1 = statetype = S
trigger1 = ctrl = 1
;---------------------------------------------------------------------------
; GAWv 
[State -1]
type = ChangeState
value = 241
triggerall = command = "holdup"
trigger1 = ctrl = 1
trigger1 = statetype = C

;===========================================================================
; ɂ傤ɂAI(CPU)
;-----------------
; Var(29) ɃZbglɂāAAI ɂRg[px𐧌䂵܂B
; AI Ɗꍇ̓Zbgl
; AI シƊꍇ̓Zbgl傫ύXĂB
; 
; [Zbgl̖ڈ]
; 999  FŋBق100̊mAI䂪܂
; 500  FxB 50̊mAI䂪܂
; 128  : WlB 13̊mAI䂪܂
; 0    FOFFB AI䂪ƂȂ܂
;-----------------
[State -1,AI_Dif]
type=VarSet
trigger1   = RoundState  != 2       ; Not in Fight
v          = 29
value      = 999999999999999999999999999                    ;  ̒lύXAIxύX܂

;===========================================================================
;@AI
;===========================================================================
;-------------------------------------------------------------
;2
[State -1]
type = ChangeState
value = 1350
triggerall = Random       < Var(29) ; Փx
triggerall = ctrl && (var(30)=30)
triggerall = Roundstate = 2
trigger1   = movetype   = H       ; in Attack
trigger2   = statetype   = L       ; in Attack
;-------------------------------------------------------------
;|bs[Ăяo@AI
[State -1]
type = ChangeState
value = 2000
triggerall = Random       < Var(29) ; Փx
triggerall = ctrl && (var(30)=30)
triggerall = power >= 1000
TriggerAll = NumHelper(781) = 0
TriggerAll = NumHelper(811) <= 6
trigger1 = statetype != A
trigger1 = ctrl = 1
;---------------------------------------------------------------------------
;KEZ@AI
[State -1]
type = ChangeState
value = 1660
triggerall = Random       < Var(29) ; Փx
triggerall = ctrl && (var(30)=30)
triggerall = power >= 2000
trigger1 = statetype != A
trigger1 = ctrl = 1
trigger1   = p2bodydist X = ( 0,70)      ; ̋߂65
;---------------------------------------------------------------------------
;@AI@3@_[N
[State -1]
type = ChangeState
value = 1070
triggerall = RoundState = 2 
triggerall = Palno = 12       
triggerall = alive 
triggerall = Random       < Var(29) ; Փx
triggerall = ctrl && (var(30)=30)
trigger1   = ctrl                   ; Enable Control
;---------------------------------------------------------------------------
; AI
[State -1]
type = ChangeState
value = 9920 ;@@
triggerall = P2statetype != L
triggerall = statetype != A
triggerall = ctrl = 1 ;@@@@@@Rg[\ł鎖
triggerall = Random       < Var(29) ; Փx
triggerall = ctrl && (var(30)=30)
trigger1 = p2bodydist X < 40 ;@@Ƃ̋
trigger1 = p2bodydist Y < 40 ;@@Ƃ̋
;
;K[h 
;inguarddist EnemyNear,HitDefAttr = SCA,AA;Ō
;
;t
;EnemyNear,MoveType=I !EnemyNearCtrl EnemyNear,StateType=A
;-------------------------------------------------------------
;tCOAP[^[
[State -1]
type = ChangeState
value = 2100
triggerall   = p2bodydist X >= 120
triggerall = Random       < Var(29) ; Փx
triggerall = ctrl && (var(30)=30)
triggerall = statetype = S
triggerall   = p2statetype != L
triggerall = ctrl = 1
trigger1 = EnemyNear,MoveType=I
trigger2 != EnemyNear,Ctrl
trigger3 = EnemyNear,StateType=A
;
;\
;Time=1 Random StateNo
;
;؂ւ
;PrevStateNo = [120,159] PrevStateNo = [5000,5270] EnemyNear,HitDefAttr = SCA,AT;
;---------------------------------------------------------------------------
;iU
[State -1]
type = ChangeState
value = 750
triggerall = Random       < Var(29) ; Փx
triggerall = ctrl && (var(30)=30)
triggerall = Random < 500
triggerall = statetype = C
triggerall = ctrl = 1
trigger1 = PrevStateNo = [120,159]
trigger2 = PrevStateNo = [5000,5270]
trigger3 = EnemyNear,HitDefAttr = SCA,AT;
;
;󒆌q 
;Movecontact MoveHit MoveGuarded AnimElem = ,>0
;
;nNU 
;EnemyNear,StateType = L EnemyNear,AnimTime P2bodyDist Y P2bodyDist X
;
;Ԃ
;EnemyNear,Ctrl EnemyNear,MoveType=A P2BodyDist X
;-------------------------------------------------------------
;e
[State -1]
type = ChangeState
value = 950
triggerall = Random       < Var(29) ; Փx
triggerall = ctrl && (var(30)=30)
trigger1 = EnemyNear,Ctrl
trigger1 = EnemyNear,MoveType=A
trigger1 = statetype = S
trigger1 = ctrl = 1
;
;󒆗ZU 
;Ctrl Random EnemyNear,Movetype = I inguarddist P2bodyDist Y P2bodyDist X
;-------------------------------------------------------------
;hLbN
[State -1]
type = ChangeState
value = 720
triggerall = Random       < Var(29) ; Փx
triggerall = ctrl && (var(30)=30)
trigger1 = statetype = A
trigger1 = EnemyNear,Movetype = I
trigger1 = inguarddist
trigger1 = P2bodyDist X <= 25
trigger1 = P2bodyDist Y > 0 
trigger1 = Random < 500
trigger1 = ctrl = 1
;
;󒆋NU(\) 
;EnemyNear,StateType = L EnemyNear,AnimTime P2bodyDist Y P2bodyDist X 
;
;nډ 
;Prevstateno EnemyNear,Movetype = H EnemyNear,stateno = [120,159]
;-------------------------------------------------------------
;
[State -1]
type = ChangeState
value = 910
triggerall = Random       < Var(29) ; Փx
triggerall = ctrl && (var(30)=30)
triggerall = statetype = S
triggerall   = p2bodydist X = ( 0,70)      ; ̋߂
triggerall   = p2statetype != L
trigger1 = EnemyNear,Movetype = H
trigger2 = EnemyNear,stateno = [120,159]
;
;ʏAI
;-------------------------------------------------------------
;ً}Wv
[State -1]
type = ChangeState
value = 241
triggerall = RoundState = 2
triggerall = Random       < Var(29) ; Փx
triggerall = ctrl && (var(30)=30)
triggerall = statetype != A
trigger1 = enemy,hitdefattr = SCA,HA,HT 
;-------------------------------------------------------------
;ʏUAŁ@AI
[State -1,1]
type = ChangeState
value = 600
triggerall = RoundState = 2
triggerall = Random       < Var(29) ; Փx
triggerall = ctrl && (var(30)=30)
triggerall   = p2statetype = S      ; ̋߂65
triggerall   = p2bodydist X = ( 0,70)      ; ̋߂65
triggerall = statetype != A
trigger1 = ctrl = 1
trigger2   = p2movetype = H      ; ̋߂65
trigger2 = ctrl = 1
;-------------------------------------------------------------
;pVF 
[State -1]
type = ChangeState
value = 824
triggerall = Random       < Var(29) ; Փx
triggerall = ctrl && (var(30)=30)
TriggerAll = NumHelper(825) = 0
trigger1 = statetype != A
trigger1 = partner,movetype = H
trigger1 = P2statetype != A 
Trigger1=TeamMode = simul
trigger1 = ctrl = 1
;---------------------------------------------------------------------------
;k߂
[State -1]
type = ChangeState
triggerall = Random       < Var(29) ; Փx
triggerall = ctrl && (var(30)=30)
triggerall = statetype != A      ; Standing
triggerall = statetype != L      ; Standing
triggerall = ctrl
trigger1 = p2bodydist X > 140      ; Near P2>
value = 100
;-------------------------------------------------------------
;pA`
[State -1]
type = ChangeState
value = 820
triggerall = Random       < Var(29) ; Փx
triggerall = ctrl && (var(30)=30)
TriggerAll = NumHelper(820) = 0
trigger1 = partner,movetype = H
Trigger1=TeamMode = simul
trigger1 = statetype != A 
trigger1 = P2statetype = A 
trigger1 = ctrl = 1
;-------------------------------------------------------------
;VF 
[State -1]
type = ChangeState
value = 824
triggerall = Random       < Var(29) ; Փx
triggerall = ctrl && (var(30)=30)
TriggerAll = NumHelper(825) = 0
trigger1 = Random <= 499
trigger1 = P2statetype != A 
trigger1 = statetype != A
trigger1 = ctrl = 1
;---------------------------------------------------------------------------
;gbR AI
[State -1]
type = ChangeState
value = 3001 ;@@
triggerall = statetype = A ;@@ʏԂł鎖
triggerall = ctrl = 1 ;@@@@@@Rg[\ł鎖
triggerall = Random       < Var(29) ; Փx
triggerall = ctrl && (var(30)=30)
trigger1 = Random <= 499
trigger1 = p2bodydist X < 40 ;@@Ƃ̋
trigger1 = p2bodydist Y < 40 ;@@Ƃ̋
;---------------------------------------------------------------------------
;󒆓 AI
[State -1]
type = ChangeState
value = 8920 ;@@@@@@@@@@@@@
triggerall = P2statetype != L
triggerall = statetype = A ;@@ʏԂł鎖
triggerall = ctrl = 1 ;@@@@@@Rg[\ł鎖
triggerall = Random       < Var(29) ; Փx
triggerall = ctrl && (var(30)=30)
trigger1 = p2bodydist X < 40 ;@@Ƃ̋
trigger1 = p2bodydist Y < 40 ;@@Ƃ̋
;-------------------------------------------------------------
;J AI
[State -1]
type = ChangeState
value = 2300
triggerall = Random       < Var(29) ; Փx
triggerall = ctrl && (var(30)=30)
TriggerAll = NumHelper(800) = 0
trigger1 = statetype != A
trigger1 = ctrl = 1
;-------------------------------------------------------------
;`RcĂяo@AI
[State -1,1]
type = ChangeState
value = 3300
triggerall = Random       < Var(29) ; Փx
triggerall = ctrl && (var(30)=30)
triggerall = power >= 1000
trigger1 = Random <= 499
TriggerAll = NumHelper(781) = 0
TriggerAll = NumHelper(811) <= 6
trigger1 = statetype != A
trigger1 = ctrl = 1
;-------------------------------------------------------------
;JRcĂяo@AI
[State -1]
type = ChangeState
value = 3100
triggerall = Random       < Var(29) ; Փx
triggerall = ctrl && (var(30)=30)
triggerall = power >= 1000
trigger1 = Random <= 249
TriggerAll = NumHelper(781) = 0
TriggerAll = NumHelper(811) <= 6
trigger1 = statetype != A
trigger1 = ctrl = 1
;-------------------------------------------------------------
;A`
[State -1]
type = ChangeState
value = 820
triggerall = Random       < Var(29) ; Փx
triggerall = ctrl && (var(30)=30)
TriggerAll = NumHelper(820) = 0
trigger1 = Random <= 249
triggerall = prevstateno = 824 
trigger1 = P2statetype = A 
trigger1 = statetype != A 
trigger1 = ctrl = 1
;-------------------------------------------------------------
;@AI
[State -1]
type = ChangeState
value = 1050
triggerall = RoundState = 2  
triggerall = alive
triggerall = Random       < Var(29) ; Փx
triggerall = ctrl && (var(30)=30)
trigger1   = P2movetype   = A       ; in Attack
trigger1   = p2statetype != L       ; Not Lie down
trigger1   = p2bodydist X < 50      ;>Near P2
trigger1   = ctrl                   ; Enable Control

trigger2   = p2statetype = A        ; Air
trigger2   = p2bodydist X < 50      ;>Near P2
trigger2   = ctrl                   ; Enable Control


;@AI@2
[State -1]
type = ChangeState
value = 1060
triggerall = RoundState = 2   
triggerall = alive                     ; E
triggerall = Random       < Var(29) ; Փx
triggerall = ctrl && (var(30)=30)
trigger1   = P2movetype   = A       ; in Attack
trigger1   = p2statetype != L       ; Not Lie down
trigger1   = p2bodydist X < 50      ;>Near P2
trigger1   = ctrl                   ; Enable Control

trigger2   = p2statetype = A        ; Air
trigger2   = p2bodydist X < 50      ;>Near P2
trigger2   = ctrl                   ; Enable Control
;@AI@3
[State -1]
type = ChangeState
value = 1070
triggerall = RoundState = 2      
triggerall = alive 
triggerall = Random       < Var(29) ; Փx
triggerall = ctrl && (var(30)=30)
trigger1   = P2movetype   = A       ; in Attack
trigger1   = p2statetype != L       ; Not Lie down
trigger1   = p2bodydist X < 50      ;>Near P2
trigger1   = ctrl                   ; Enable Control

trigger2   = p2statetype = A        ; Air
trigger2   = p2bodydist X < 50      ;>Near P2
trigger2   = ctrl                   ; Enable Control
;---------------------------------------------------------------------------
;
[State -1] 
type = ChangeState 
value = 100 
triggerall = Random       < Var(29) ; Փx
triggerall = ctrl && (var(30)=30)
triggerall = statetype != A && ctrl 
triggerall = P2BodyDist X >= 80 && stateno != 100 
trigger1 = p2movetype = I && random <=20 
trigger2 = p2movetype = H 
ctrl = 1 
;---------------------------------------------------------------------------
;t@CA{[
[State -1]
Type = ChangeState
value = 740
TriggerAll=RoundState = 2
triggerall = Random       < Var(29) ; Փx
triggerall = ctrl && (var(30)=30)
TriggerAll = StateType = S
trigger2 = !MoveContact 
Trigger1 = EnemyNear,StateType != L
Trigger1 = EnemyNear,StateType != A
TriggerAll = Ctrl
triggerall = statetype != A
triggerall = ctrl = 1
;---------------------------------------------------------------------------
;t@CA{[
[State -1]
Type = ChangeState
value = 731
TriggerAll=RoundState = 2
triggerall = Random       < Var(29) ; Փx
triggerall = ctrl && (var(30)=30)
TriggerAll = StateType = S
trigger2 = !MoveContact 
Trigger1 = EnemyNear,StateType = L
Trigger1 = EnemyNear,StateType = A
TriggerAll = Ctrl
triggerall = statetype = A
triggerall = ctrl = 1
;---------------------------------------------------------------------------
;(@]T)
[State -1] 
type = ChangeState 
value = 105 
triggerall = Random       < Var(29) ; Փx
triggerall = ctrl && (var(30)=30)
triggerall = statetype != A && ctrl 
triggerall = P2BodyDist X < 50 && BackEdgeBodyDist > 50 
trigger1 = p2statetype = L && life >= lifemax / 2 
ctrl = 1 
;---------------------------------------------------------------------------
;E@AI
[State -1]
type = ChangeState
value = 250
triggerall = Random       < Var(29) ; Փx
triggerall = ctrl && (var(30)=30)
trigger1 = statetype != A
trigger1 = power <= 2000
trigger1 = P2statetype = L
trigger1 = ctrl = 1
;---------------------------------------------------------------------------
;h
[State -1] 
type = ChangeState 
value = 120 
triggerall = Random       < Var(29) ; Փx
triggerall = ctrl && (var(30)=30)
triggerall = ctrl && stateno != [120,155] 
trigger1 = random <=700 
trigger1 = p2movetype = A || enemynear,movetype = A || InGuardDist 
trigger2 = p2movetype = A || enemynear,movetype = A || InGuardDist || enemynear,NumProj != 0 
trigger2 = P2BodyDist X >= 90 || statetype = A 
;===========================================================================
;@KEZ
;===========================================================================
;ǃWv
[State -1]
type = ChangeState
value = 40
triggerall = (statetype != C) && ctrl
triggerall = PalNo != 1
triggerall = PalNo != 2
triggerall = PalNo != 3
triggerall = PalNo != 4
triggerall = PalNo != 5
triggerall = PalNo != 6
triggerall = PalNo != 9
triggerall = PalNo != 11
trigger1 = ((command = "holdup") && (command = "holdfwd") && (backedgebodydist <= 10) && (backedgebodydist > -10))
trigger2 = ((command = "holdup") && (command = "holdback") && (backedgebodydist <= 10) && (backedgebodydist > -10))
trigger3 = ((command = "holdup") && (command = "holdfwd") && (backedgebodydist <= 10) && (backedgebodydist > -10))
trigger4 = ((command = "holdup") && (command = "holdback") && (backedgebodydist <= 10) && (backedgebodydist > -10))
;---------------------------------------------------------------------------
;KEZ
[State -1]
type = ChangeState
value = 1660
triggerall = command = "tyou"
triggerall = power >= 2000
trigger1 = statetype = S
trigger1 = ctrl = 1

;-------------------------------------------------------------
;|bs[Ăяo
[State -1]
type = ChangeState
value = 2000
triggerall = command = "pt"
triggerall = power >= 1000
;TriggerAll = NumHelper(910) <= 0
;TriggerAll = NumHelper(911) <= 0
trigger1 = statetype = S
trigger1 = ctrl = 1

;-------------------------------------------------------------
;JRcĂяo
[State -1]
type = ChangeState
value = 3100
triggerall = command = "kamesp"
triggerall = power >= 1000
trigger1 = statetype = S
trigger1 = ctrl = 1

;-------------------------------------------------------------
;`RcĂяo
[State -1]
type = ChangeState
value = 3300
triggerall = command = "yasp"
triggerall = power >= 1000
trigger1 = statetype = S
trigger1 = ctrl = 1

;-------------------------------------------------------------
;===========================================================================
;@ʏZ
;===========================================================================
;---------------------------------------------------------------------------
;
[State -1]
type = ChangeState
value = 9920 ;@@@@@@@@@@@@@XeCgiCNSj
triggerall = statetype = S ;@@ʏԂł鎖
triggerall = ctrl = 1 ;@@@@@@Rg[\ł鎖
trigger1 = command = "ac"
;---------------------------------------------------------------------------
;󒆓
[State -1]
type = ChangeState
value = 8920 ;@@@@@@@@@@@@@XeCgiCNSj
triggerall = statetype = A ;@@ʏԂł鎖
triggerall = ctrl = 1 ;@@@@@@Rg[\ł鎖
trigger1 = command = "ac"
;-------------------------------------------------------------
;zu
[State -1]
type = ChangeState
value = 940
TriggerAll = NumHelper(940) = 0
triggerall = command = "holdback"
triggerall = command = "z"
trigger1 = statetype = S
trigger1 = ctrl = 1
;-------------------------------------------------------------
;Ƃzu
[State -1]
type = ChangeState
value = 930
triggerall = command = "holdback"
triggerall = command = "y"
TriggerAll = NumHelper(931) = 0
trigger1 = statetype = S
trigger1 = ctrl = 1
;-------------------------------------------------------------
;΂˔zu
[State -1]
type = ChangeState
value = 942
triggerall = command = "holdback"
triggerall = command = "x"
TriggerAll = NumHelper(932) = 0
trigger1 = statetype = S
trigger1 = ctrl = 1
;-------------------------------------------------------------
;JĂяo
[State -1]
type = ChangeState
value = 2200
triggerall = command = "kame"
TriggerAll = NumHelper(790) + NumHelper(790) <= 4
trigger1 = statetype = S
trigger1 = ctrl = 1

;-------------------------------------------------------------
;ǒ͂܂
[State -1]
type = ChangeState
value = 953
triggerall = command = "holdback"
triggerall = backedgebodydist <= 10
trigger1 = PrevStateno != 953
trigger1 = PrevStateno != 952
trigger1 = statetype = A
trigger1 = ctrl = 1
;-------------------------------------------------------------
;e ǖ
[State -1]
type = ChangeState
value = 952
triggerall = command = "holdback"
triggerall = command = "a"
triggerall = backedgebodydist <= 10
trigger1 = PrevStateno != 953
trigger1 = PrevStateno != 952
trigger1 = statetype = A
trigger1 = ctrl = 1
;-------------------------------------------------------------
;e 
[State -1]
type = ChangeState
value = 951
triggerall = command = "holdback"
triggerall = command = "a"
trigger1 = statetype = A
trigger1 = ctrl = 1
;-------------------------------------------------------------
;e
[State -1]
type = ChangeState
value = 950
triggerall = command = "holdback"
triggerall = command = "a"
trigger1 = statetype = S
trigger1 = ctrl = 1
;-------------------------------------------------------------
;|bs[Ăяo
[State -1]
type = ChangeState
value = 2100
triggerall = command = "p"
trigger1 = statetype = S
trigger1 = ctrl = 1
;-------------------------------------------------------------
;VF
[State -1]
type = ChangeState
value = 824
triggerall = command = "kai"
TriggerAll = NumHelper(825) <= 1
trigger1 = statetype = S
trigger1 = ctrl = 1
;-------------------------------------------------------------
;gbR
[State -1]
type = ChangeState
value = 3001
triggerall = command = "z"
trigger1 = statetype = A
trigger1 = ctrl = 1
;-------------------------------------------------------------
;gbR
[State -1]
type = ChangeState
value = 3000
triggerall = command = "z"
trigger1 = statetype = S
trigger1 = ctrl = 1
;-------------------------------------------------------------
;A`
[State -1]
type = ChangeState
value = 820
triggerall = command = "hino"
TriggerAll = NumHelper(820) <= 1
trigger1 = statetype = S
trigger1 = ctrl = 1
;-------------------------------------------------------------
;
[State -1]
type = ChangeState
value = 1050
triggerall = command = "ken_a"
trigger1 = ctrl = 1
;-------------------------------------------------------------
;J
[State -1]
type = ChangeState
value = 2300
triggerall = command = "pika"
TriggerAll = NumHelper(800) = 0
trigger1 = statetype = S
trigger1 = ctrl = 1
;-------------------------------------------------------------
;`Ăяo
[State -1]
type = ChangeState
value = 2400
triggerall = command = "ya"
TriggerAll = NumHelper(810) <= 1
trigger1 = statetype = S
trigger1 = ctrl = 1

;-------------------------------------------------------------
;2
[State -1]
type = ChangeState
value = 1350
triggerall = command = "a"
triggerall = alive
trigger1   = movetype   = H       ; in Attack
trigger2   = statetype   = L       ; in Attack
;-------------------------------------------------------------
;E
[State -1]
type = ChangeState
value = 1060
triggerall = command = "ken_b"
trigger1 = ctrl = 1

;-------------------------------------------------------------
;EA
[State -1]
type = ChangeState
value = 1070
triggerall = command = "ken_c"
trigger1 = ctrl = 1

;-------------------------------------------------------------
;
[State -1]
type = ChangeState
value = 910
triggerall = command = "y"
triggerall = statetype = S
trigger1 = ctrl = 1
trigger2 = stateno = [140,155]
;-------------------------------------------------------------
;
[State -1]
type = ChangeState
value = 911
triggerall = command = "y"
triggerall = statetype = A
trigger1 = ctrl = 1
trigger2 = stateno = [140,155]
;-------------------------------------------------------------
;UE
[State -1]
type = ChangeState
value = 300
triggerall = command = "b"
trigger1 = statetype = S
trigger1 = ctrl = 1

;-------------------------------------------------------------
;U(KFMRsyȂ
[State -1]
type = ChangeState
value = 600
triggerall = command = "a"
trigger1 = statetype = S
trigger1 = ctrl = 1

;-------------------------------------------------------------
;UEA
[State -1]
type = ChangeState
value = 660
triggerall = command = "c"
trigger1 = statetype = S
trigger1 = ctrl = 1

;-------------------------------------------------------------
;ѓ(
[State -1]
type = ChangeState
value = 740
triggerall = command = "x"
trigger1 = statetype = S
trigger1 = ctrl = 1

;---------------------------------------------------------------------------
;Ⴊݒp`
[State -1]
type = ChangeState
value = 760
triggerall = command = "b"
triggerall = command = "holddown"
trigger1 = statetype = C
trigger1 = ctrl = 1

;---------------------------------------------------------------------------
;Ⴊݎp`
[State -1]
type = ChangeState
value = 750
triggerall = command = "a"
triggerall = command = "holddown"
trigger1 = statetype = C
trigger1 = ctrl = 1


;---------------------------------------------------------------------------
;Ⴊ݋p`
[State -1]
type = ChangeState
value = 770
triggerall = command = "c"
triggerall = command = "holddown"
trigger1 = statetype = C
trigger1 = ctrl = 1

;---------------------------------------------------------------------------
;WvUEѓ;4߂ł
[State -1]
type = ChangeState
value = 731
triggerall = command = "x"
triggerall = statetype = A
trigger1 = ctrl = 1

;---------------------------------------------------------------------------
;WvUE;3߂ł
[State -1]
type = ChangeState
value = 720
triggerall = command = "c"
triggerall = statetype = A
trigger1 = ctrl = 1

;---------------------------------------------------------------------------
;WvUE;2߂ł
[State -1]
type = ChangeState
value = 710
triggerall = command = "b"
triggerall = statetype = A
trigger1 = ctrl = 1

;---------------------------------------------------------------------------
;WvUE
[State -1]
type = ChangeState
value = 700
triggerall = command = "a"
triggerall = statetype = A
trigger1 = ctrl = 1

;---------------------------------------------------------------------------
;E
[State -1]
type = ChangeState
value = 250
triggerall = command = "s"
trigger1 = statetype = S
trigger1 = ctrl = 1

[State -1,2]
type       = Varset
triggerall = var(30) != 30
trigger1   = command = "AI_1"
trigger2   = command = "AI_2"
trigger3   = command = "AI_3"
trigger4   = command = "AI_4"
trigger5   = command = "AI_5"
trigger6   = command = "AI_6"
trigger7   = command = "AI_7"
trigger8   = command = "AI_8"
trigger9   = command = "AI_9"
trigger10  = command = "AI_10"
trigger11  = command = "AI_11"
trigger12  = command = "AI_12"
trigger13  = command = "AI_13"
trigger14  = command = "AI_14"
trigger15  = command = "AI_15"
trigger16  = command = "AI_16"
trigger17  = command = "AI_17"
trigger18  = command = "AI_18"
trigger19  = command = "AI_19"
trigger20  = command = "AI_20"
trigger21  = command = "AI_21"
trigger22  = command = "AI_22"
trigger23  = command = "AI_23"
trigger24  = command = "AI_24"
trigger25  = command = "AI_25"
trigger26  = command = "AI_26"
trigger27  = command = "AI_27"
trigger28  = command = "AI_28"
trigger29  = command = "AI_29"
trigger30  = command = "AI_30"
;trigger31  = 1@@@@@@@;OAIɎs
v          = 30
value      = 30

;AI I (jnA`hXCb`nee)
[State -1,2]
type=VarSet
trigger1   = P2life <= 0
v          = 30
value      = 0


