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

[Command]
name = "s_hadou_b"
command = ~D ,F, D, F, b
time = 25

[Command]
name = "s_hadou_c"
command = ~D ,F, D, F, c
time = 25

[Command]
name = "s_senpu_a"
command = ~D ,B, D, B, a
time = 25

[Command]
name = "s_senpu_b"
command = ~D ,B, D, B, b
time = 25

[Command]
name = "s_senpu_c"
command = ~D ,B, D, B, c
time = 25

[Command]
name = "kamehame_a"
command = ~D ,B ,F, a
time = 25

[Command]
name = "kamehame_b"
command = ~D ,B ,F, b
time = 25

[Command]
name = "kamehame_c"
command = ~D ,B ,F, c
time = 25

[Command]
name = "rain"
command = ~F ,B ,D, a
time = 25

[Command]
name = "abc"
command = a+b+c
time = 10

[Command]
name = "ride_1"
command = ~D, D, D, a
time = 30

[Command]
name = "ride_2"
command = ~B, F, b
time = 30

;--------------------------------------------------------
;必殺技
;========================================================
[Command]
name = "syoryu_a"
command = ~F ,D ,DF , a
time = 30

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

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

[Command]
name = "r_syoryu_a"
command = ~B ,D ,DB , a
time = 30

[Command]
name = "r_syoryu_b"
command = ~B ,D ,DB , b
time = 30

[Command]
name = "r_syoryu_c"
command = ~B ,D ,DB , c
time = 30

[Command]
name = "hadou_a"
command = ~D ,F, a
time = 15

[Command]
name = "hadou_b"
command = ~D ,F, b
time = 15

[Command]
name = "hadou_c"
command = ~D ,F, c
time = 15

[Command]
name = "senpu_a"
command = ~D ,B, a
time = 15

[Command]
name = "senpu_b"
command = ~D ,B, b
time = 15

[Command]
name = "senpu_c"
command = ~D ,B, c
time = 15

;==================================================
;投げ
;背負い投げ
[Command]
name = "PT"
command = /F, a+b
time = 3

[Command]
name = "PT2"
command = /B, a+b
time = 3

;----------------------------------------------------------------------
[Command]
name = "FF"
command = F, F
time = 16

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

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

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

[Command]
name = "recovery"
command = a+c
time = 1

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

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

[command]
name = "downfwd"
command = /DF, x
time = 1

[command]
name = "downfwd"
command = /DF, y
time = 1

[command]
name = "downfwd"
command = /DF, z
time = 1

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

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

[command]
name = "downfwd"
command = /DF, c
time = 1

[command]
name = "downback"
command = /DB, x
time = 1

[command]
name = "downback"
command = /DB, x
time = 1

[command]
name = "downback"
command = /DB, y
time = 1

[command]
name = "downback"
command = /DB, z
time = 1

[command]
name = "downback"
command = /DB, a
time = 1

[command]
name = "downback"
command = /DB, b
time = 1

[command]
name = "downback"
command = /DB, c
time = 1

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

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

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

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

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

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

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

[Command]
name = "holdfwd"
command = /$F
time = 1

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

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

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

[Statedef -1]

;===========================================
;スペルカード
;-------------------------------------------
;-------------------------------------------
;戦慄のどっこい人形Lv1
[State -1]
type = ChangeState
value = 1400
triggerall = Var(59) = 0
triggerall = numhelper(1410) = 0
triggerall = Power >= 1000
triggerall = command = "s_senpu_a"
triggerall = statetype = S || StateType = C
trigger1 = ctrl
trigger2 = StateNo = 200 && movecontact
trigger3 = StateNo = 210 && movecontact
trigger4 = StateNo = 400 && movecontact
trigger5 = StateNo = 410 && movecontact

;-------------------------------------------
;戦慄のどっこい人形Lv2
[State -1]
type = ChangeState
value = 1450
triggerall = Var(59) = 0
triggerall = numhelper(1410) = 0
triggerall = Power >= 2000
triggerall = command = "s_senpu_b"
triggerall = statetype = S || StateType = C
trigger1 = ctrl
trigger2 = StateNo = 200 && movecontact
trigger3 = StateNo = 210 && movecontact
trigger4 = StateNo = 400 && movecontact
trigger5 = StateNo = 410 && movecontact

;-------------------------------------------
;ライシングストームLv1
[State -1]
type = ChangeState
value = 1500
triggerall = Var(59) = 0
triggerall = Power >= 1000
triggerall = command = "s_hadou_a"
triggerall = statetype = S || StateType = C
trigger1 = ctrl
trigger2 = StateNo = 200 && movecontact
trigger3 = StateNo = 210 && movecontact
trigger4 = StateNo = 400 && movecontact
trigger5 = StateNo = 410 && movecontact
trigger6 = StateNo = 1200 && movecontact
trigger7 = StateNo = 1210 && movecontact
trigger8 = StateNo = 1300 && movecontact
trigger9 = StateNo = 1310 && movecontact

;-------------------------------------------
;ライシングストームLv2
[State -1]
type = ChangeState
value = 1550
triggerall = Var(59) = 0
triggerall = Power >= 2000
triggerall = command = "s_hadou_b"
triggerall = statetype = S || StateType = C
trigger1 = ctrl
trigger2 = StateNo = 200 && movecontact
trigger3 = StateNo = 210 && movecontact
trigger4 = StateNo = 400 && movecontact
trigger5 = StateNo = 410 && movecontact
trigger6 = StateNo = 1200 && movecontact
trigger7 = StateNo = 1210 && movecontact
trigger8 = StateNo = 1300 && movecontact
trigger9 = StateNo = 1310 && movecontact

;-------------------------------------------
;メープルレーザーLv1
[State -1]
type = ChangeState
value = 1600
triggerall = Var(59) = 0
triggerall = Power >= 1000
triggerall = command = "kamehame_a"
triggerall = statetype = S || StateType = C
trigger1 = ctrl

;-------------------------------------------
;メープルレーザーLv2
[State -1]
type = ChangeState
value = 1650
triggerall = Var(59) = 0
triggerall = Power >= 2000
triggerall = command = "kamehame_b"
triggerall = statetype = S || StateType = C
trigger1 = ctrl

;-------------------------------------------
;コンバインライド
[State -1]
type = ChangeState
value = 1700
triggerall = Var(59) = 0
triggerall = Power >= 1000
triggerall = command = "ride_1"
trigger1 = ctrl
trigger2 = StateNo = 200 && movecontact
trigger3 = StateNo = 210 && movecontact
trigger4 = StateNo = 400 && movecontact
trigger5 = StateNo = 410 && movecontact
trigger6 = StateNo = 600 && movecontact
trigger7 = StateNo = 610 && movecontact

;-------------------------------------------
;シフトチェンジオブレッドゾーン（コンバインライド追撃）
[State -1]
type = ChangeState
value = 1800
triggerall = Var(59) = 0
triggerall = Power >= 1000
triggerall = command = "ride_2"
trigger1 = StateNo = 1706
trigger1 = time <= 22

;-------------------------------------------
;オータムスカイ
[State -1]
type = ChangeState
value = 2100
triggerall = Var(59) = 0
triggerall = Power >= 3000
triggerall = command = "s_hadou_c"
triggerall = statetype = S || StateType = C
trigger1 = ctrl
trigger2 = StateNo = 200 && movecontact
trigger3 = StateNo = 210 && movecontact
trigger4 = StateNo = 400 && movecontact
trigger5 = StateNo = 410 && movecontact
trigger6 = StateNo = 1200 && movecontact
trigger7 = StateNo = 1210 && movecontact
trigger8 = StateNo = 1300 && movecontact
trigger9 = StateNo = 1310 && movecontact

;-------------------------------------------
;オヲトシハーベスター
[State -1]
type = ChangeState
value = 2200
triggerall = Var(59) = 0
triggerall = Power >= 3000
triggerall = command = "s_senpu_c"
trigger1 = ctrl

;-------------------------------------------
;スイートポテトルーム
;[State -1]
;type = ChangeState
;value = 2400
;triggerall = Var(59) = 0
;triggerall = Power >= 3000
;triggerall = command = "kamehame_c"
;trigger1 = ctrl

;============================================
;必殺技

;イガグリ
[State -1]
type = ChangeState
value = 1100
triggerall = Var(59) = 0
triggerall = numhelper(1110) < 1
triggerall = command = "senpu_a"
triggerall = statetype = S || StateType = C
trigger1 = ctrl

;米俵
[State -1]
type = ChangeState
value = 1000
triggerall = Var(59) = 0
triggerall = numhelper(1010) = 0
triggerall = command = "senpu_b"
triggerall = statetype = S || StateType = C
trigger1 = ctrl

;男爵芋
;[State -1]
;type = ChangeState
;value = 1050
;triggerall = Var(59) = 0
;triggerall = numhelper(1060) = 0
;triggerall = command = "senpu_c"
;triggerall = statetype = S || StateType = C
;trigger1 = ctrl

;男爵芋（空中）
;[State -1]
;type = ChangeState
;value = 1051
;triggerall = Var(59) = 0
;triggerall = numhelper(1060) = 0
;triggerall = command = "senpu_c"
;triggerall = statetype = A
;trigger1 = ctrl

;どっこいファンネル
[State -1]
type = ChangeState
value = 1150
triggerall = Var(59) = 0
triggerall = numhelper(1160) < 1	;IfElse(PalNo=12,5,1)
triggerall = command = "hadou_c"
triggerall = statetype = S || StateType = C
trigger1 = ctrl

;どっこいファンネル（空中）
[State -1]
type = ChangeState
value = 1151
triggerall = Var(59) = 0
triggerall = numhelper(1160) < 1	;IfElse(PalNo=12,5,1)
triggerall = command = "hadou_c"
triggerall = statetype = A
trigger1 = ctrl


;芋ほりスパイクLV1
[State -1]
type = ChangeState
value = 1200
triggerall = Var(59) = 0
triggerall = command = "hadou_a"
triggerall = statetype = S || StateType = C
trigger1 = ctrl
trigger2 = StateNo = 200 && movecontact
trigger3 = StateNo = 210 && movecontact
trigger4 = StateNo = 400 && movecontact
trigger5 = StateNo = 410 && movecontact

;芋ほりスパイクLV2
[State -1]
type = ChangeState
value = 1210
triggerall = Var(59) = 0
triggerall = command = "hadou_b"
triggerall = statetype = S || StateType = C
trigger1 = ctrl
trigger2 = StateNo = 200 && movecontact
trigger3 = StateNo = 210 && movecontact
trigger4 = StateNo = 400 && movecontact
trigger5 = StateNo = 410 && movecontact

;芋ほりアッパーLV1
[State -1]
type = ChangeState
value = 1300
triggerall = Var(59) = 0
triggerall = command = "syoryu_a"
triggerall = statetype = S || StateType = C
trigger1 = ctrl
trigger2 = StateNo = 200 && movecontact
trigger3 = StateNo = 210 && movecontact
trigger4 = StateNo = 400 && movecontact
trigger5 = StateNo = 410 && movecontact
trigger6 = StateNo = 1200 && movecontact
trigger7 = StateNo = 1210 && movecontact


;芋ほりアッパーLV2
[State -1]
type = ChangeState
value = 1310
triggerall = Var(59) = 0
triggerall = command = "syoryu_b"
triggerall = statetype = S || StateType = C
trigger1 = ctrl
trigger2 = StateNo = 200 && movecontact
trigger3 = StateNo = 210 && movecontact
trigger4 = StateNo = 400 && movecontact
trigger5 = StateNo = 410 && movecontact
trigger6 = StateNo = 1200 && movecontact
trigger7 = StateNo = 1210 && movecontact

;阿修羅閃空・前
[State -1]
type = ChangeState
value = 1800
triggerall = Var(59) = 0
triggerall = command = "syoryu_c"
trigger1 = statetype = S || StateType = C
trigger1 = ctrl
trigger2 = stateno = 5120
trigger2 = time > 6


;阿修羅閃空・後ろ
[State -1]
type = ChangeState
value = 1801
triggerall = Var(59) = 0
triggerall = command = "r_syoryu_c"
trigger1 = statetype = S || StateType = C
trigger1 = ctrl
trigger2 = stateno = 5120
trigger2 = time > 6


;リバーサル芋ほりアッパーLV1
[State -1]
type = ChangeState
value = 1300
triggerall = Var(59) = 0
triggerall = command = "syoryu_a"
trigger1 = stateno = 5120
trigger1 = time > 6


;リバーサル芋ほりアッパーLV2
[State -1]
type = ChangeState
value = 1310
triggerall = Var(59) = 0
triggerall = command = "syoryu_b"
trigger1 = stateno = 5120
trigger1 = time > 6

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

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

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

空中バックダッシュ
[State -1, Back Step]
type = ChangeState
value = 117
triggerall = Var(59) = 0
trigger1 = command = "BB"
trigger1 = statetype = A
trigger1 = ctrl

;==========================================================
;投げ
;--------------------------------------------------------
[State -1]
type = ChangeState
value = 800
triggerall = Var(59) = 0
triggerall = command = "PT"
triggerall = statetype = S
trigger1 = ctrl

;---------------------------------------------------------------------------
;近距離射撃（強）
[State -1]
type = ChangeState
value = 250
triggerall = Var(59) = 0
triggerall = command = "b"
triggerall = numprojid(650) = 0
triggerall = command = "holdfwd"
triggerall = command != "holddown"
triggerall = statetype = S
trigger1 = ctrl
trigger2 = stateno = 240
trigger2 = movecontact

;---------------------------------------------------------------------------
;近距離射撃（弱）
[State -1]
type = ChangeState
value = 240
triggerall = Var(59) = 0
triggerall = command = "a"
triggerall = command = "holdfwd"
triggerall = command != "holddown"
triggerall = statetype = S
trigger1 = ctrl

;---------------------------------------------------------------------------
;立ちパンチ
[State -1]
type = ChangeState
value = 200
triggerall = Var(59) = 0
triggerall = command = "a"
triggerall = command != "holddown"
trigger1 = statetype = S
trigger1 = ctrl 

;---------------------------------------------------------------------------
;立ちパンチコンボ
[State -1]
type = ChangeState
value = 201
triggerall = Var(59) = 0
triggerall = command = "a"
triggerall = command != "holddown"
trigger1 = stateno = 200
trigger1 = movecontact

;---------------------------------------------------------------------------
;立ちパンチコンボ２
[State -1]
type = ChangeState
value = 202
triggerall = Var(59) = 0
triggerall = command = "a"
triggerall = command != "holddown"
trigger1 = stateno = 201
trigger1 = movecontact

;---------------------------------------------------------------------------
;立ちキック
[State -1]
type = ChangeState
value = 210
triggerall = Var(59) = 0
triggerall = command = "b"
triggerall = command != "holddown"
trigger1 = statetype = S
trigger1 = ctrl
trigger2 = stateno = 200
trigger2 = movecontact
trigger3 = stateno = 201
trigger3 = movecontact
trigger4 = stateno = 202
trigger4 = movecontact
 
;---------------------------------------------------------------------------
;立ち中段キック
[State -1]
type = ChangeState
value = 615
triggerall = Var(59) = 0
triggerall = command = "b"
triggerall = command = "holdfwd"
triggerall = command = "holddown"
trigger1 = statetype != A
trigger1 = ctrl
 
;---------------------------------------------------------------------------
;立ち射撃
[State -1]
type = ChangeState
value = 220
triggerall = Var(59) = 0
triggerall = numhelper(100) = 0
triggerall = command = "c"
triggerall = command != "holddown"
trigger1 = statetype = S
trigger1 = ctrl

;---------------------------------------------------------------------------
;スライディング（短）
[State -1]
type = ChangeState
value = 450
triggerall = Var(59) = 0
triggerall = command = "a"
triggerall = command = "holddown"
triggerall = command = "holdfwd"
trigger1 = statetype = C
trigger1 = ctrl 

;---------------------------------------------------------------------------
;スライディング（長）
[State -1]
type = ChangeState
value = 460
triggerall = Var(59) = 0
triggerall = command = "b"
triggerall = command = "holddown"
triggerall = command = "holdfwd"
trigger1 = statetype = C
trigger1 = ctrl 

;---------------------------------------------------------------------------
;しゃがみパンチ
[State -1]
type = ChangeState
value = 400
triggerall = Var(59) = 0
triggerall = command = "a"
triggerall = command = "holddown"
trigger1 = statetype = C
trigger1 = ctrl 
trigger2 = stateno = 400
trigger2 = movecontact

;---------------------------------------------------------------------------
;しゃがみアッパー
[State -1]
type = ChangeState
value = 410
triggerall = Var(59) = 0
triggerall = command = "b"
triggerall = command = "holddown"
trigger1 = statetype = C
trigger1 = ctrl 
trigger2 = stateno = 400
trigger2 = movecontact

;---------------------------------------------------------------------------
;しゃがみ射撃
[State -1]
type = ChangeState
value = 420
triggerall = Var(59) = 0
triggerall = numhelper(100) = 0
triggerall = command = "c"
triggerall = command = "holddown"
trigger1 = statetype = C
trigger1 = ctrl

;---------------------------------------------------------------------------
;ジャンプ近距離射撃（強）
[State -1]
type = ChangeState
value = 650
triggerall = Var(59) = 0
triggerall = command = "b"
triggerall = command = "holdfwd"
triggerall = numprojid(650) = 0
triggerall = statetype = A
trigger1 = ctrl
trigger2 = stateno = 640
trigger2 = movecontact

;---------------------------------------------------------------------------
;ジャンプ近距離射撃（弱）
[State -1]
type = ChangeState
value = 640
triggerall = Var(59) = 0
triggerall = command = "a"
triggerall = command = "holdfwd"
triggerall = statetype = A
trigger1 = ctrl

;---------------------------------------------------------------------------
;ジャンプ弱パンチ
[State -1]
type = ChangeState
value = 605
triggerall = Var(59) = 0
triggerall = command = "a"
triggerall = statetype = A
trigger1 = ctrl 

;---------------------------------------------------------------------------
;ジャンプ弱キック
[State -1]
type = ChangeState
value = 600
triggerall = Var(59) = 0
triggerall = command = "a"
triggerall = statetype = A
trigger1 = stateno = 605 
trigger1 = movecontact

;---------------------------------------------------------------------------
;ジャンプ強キック
[State -1]
type = ChangeState
value = 610
triggerall = Var(59) = 0
triggerall = command = "b"
triggerall = statetype = A
trigger1 = ctrl
trigger2 = stateno = 600
trigger2 = movecontact
trigger3 = stateno = 605
trigger3 = movecontact

;---------------------------------------------------------------------------
;ジャンプ射撃
[State -1]
type = ChangeState
value = 620
triggerall = Var(59) = 0
triggerall = numhelper(100) = 0
triggerall = command = "c"
triggerall = statetype = A
trigger1 = ctrl


;===========================================
;AI起動
;===========================================
[State -1, AI起動]
type = VarSet
triggerall = var(59)=0
trigger1 = Command = "AI0" || Command = "AI1" || Command = "AI2" || Command = "AI3"
trigger2 = Command = "AI4" || Command = "AI5" || Command = "AI6" || Command = "AI7"
trigger3 = Command = "AI8" || Command = "AI9" || Command = "AI10"|| Command = "AI11"
trigger4 = Command = "AI12"|| Command = "AI13"|| Command = "AI14"|| Command = "AI15"
trigger5 = Command = "AI16"|| Command = "AI17"|| Command = "AI18"|| Command = "AI19"
trigger6 = Command = "AI20"|| Command = "AI21"|| Command = "AI22"|| Command = "AI23"
trigger7 = Command = "AI24"|| Command = "AI25"|| Command = "AI26"|| Command = "AI27"
trigger8 = Command = "AI28"|| Command = "AI29"|| Command = "AI30"|| Command = "AI31"
trigger9 = Command = "AI32"|| Command = "AI33"|| Command = "AI34"|| Command = "AI35"
trigger10= Command = "AI36"|| Command = "AI37"|| Command = "AI38"|| Command = "AI39"
trigger11= Command = "AI40"|| Command = "AI41"|| Command = "AI42"|| Command = "AI43"
trigger12= Command = "AI44"|| Command = "AI45"|| Command = "AI46"|| Command = "AI47"
trigger13= Command = "AI48"|| Command = "AI49"|| Command = "AI50"|| Command = "AI51"
var(59)  = 1

;===========================================
;AI行動
;===========================================
;===========================================
;投げ＠ＡＩ
;===========================================
[State -1]
type = ChangeState
value = 800
triggerall = Var(59) = 1
triggerall = RoundState = 2
triggerall = statetype = S
trigger1 = ctrl
trigger1 = P2MoveType != H		;I[何もしない]A[攻撃中]H[ヒット中]
trigger1 = P2StateType != A		;S[立ち]C[しゃがみ]A[空中]
trigger1 = P2BodyDist X = [0,20] 
trigger1 = P2BodyDist Y = [-20,20] 

;===========================================
;戦慄のどっこい人形Lv2＠ＡＩ
[State -1]
type = ChangeState
value = 1450
triggerall = Var(59) = 1
triggerall = RoundState = 2
triggerall = numhelper(1410) = 0
triggerall = Power >= 2000
triggerall = statetype = S || StateType = C
trigger1 = ctrl
trigger1 = P2BodyDist X = [-30,30] 
trigger1 = random <= 400

;===========================================
;戦慄のどっこい人形Lv1＠ＡＩ
[State -1]
type = ChangeState
value = 1400
triggerall = Var(59) = 1
triggerall = RoundState = 2
triggerall = numhelper(1410) = 0
triggerall = Power >= 1000
triggerall = statetype = S || StateType = C
trigger1 = ctrl
trigger1 = P2BodyDist X = [-30,30] 
trigger1 = random <= 400

;===========================================
;オータムスカイ＠ＡＩ
[State -1]
type = ChangeState
value = 2100
triggerall = Var(59) = 1
triggerall = RoundState = 2
triggerall = Power >= 3000
triggerall = statetype = S || StateType = C
triggerall = ctrl
trigger1 = random <= 250
trigger1 = P2StateNo = [5000,5060]
trigger1 = P2BodyDist X = [50,320] 
trigger2 = StateNo = 1300 && movehit
trigger3 = StateNo = 1310 && movehit
trigger4 = P2StateType = A		;S[立ち]C[しゃがみ]A[空中]
trigger4 = random < 120
trigger5 = P2BodyDist X >= 100
trigger5 = random < 100
trigger5 = power >= 10000

;===========================================
;オヲトシハーベスター＠ＡＩ
[State -1]
type = ChangeState
value = 2200
triggerall = Var(59) = 1
triggerall = RoundState = 2
triggerall = Power >= 3000
triggerall = statetype = A
triggerall = ctrl
trigger1 = random <= 250
trigger1 = P2StateNo = [5000,5060]
trigger1 = P2BodyDist X = [50,320] 
trigger1 = P2BodyDist Y = [-60,60] 
trigger2 = random < 10
trigger3 = P2BodyDist X >= 100
trigger3 = random < 100
trigger3 = power >= 10000


;===========================================
;ライシングストームLv2＠ＡＩ
[State -1]
type = ChangeState
value = 1550
triggerall = Var(59) = 1
triggerall = RoundState = 2
triggerall = Power >= 2000
triggerall = statetype = S || StateType = C
trigger1 = ctrl
trigger1 = P2MoveType = A		;I[何もしない]A[攻撃中]H[ヒット中]
trigger1 = P2StateType = A		;S[立ち]C[しゃがみ]A[空中]
trigger1 = P2BodyDist X = [25,75] 
trigger1 = enemy, vel X >= 0
trigger1 = enemy, vel Y >= 0
trigger2 = StateNo = 210 && movehit
trigger3 = StateNo = 410 && movehit
trigger4 = StateNo = 1200 && movehit

;===========================================
;ライシングストームLv1＠ＡＩ
[State -1]
type = ChangeState
value = 1500
triggerall = Var(59) = 1
triggerall = RoundState = 2
triggerall = Power >= 1000
triggerall = statetype = S || StateType = C
trigger1 = ctrl
trigger1 = P2MoveType = A		;I[何もしない]A[攻撃中]H[ヒット中]
trigger1 = P2StateType = A		;S[立ち]C[しゃがみ]A[空中]
trigger1 = P2BodyDist X = [25,75] 
trigger1 = enemy, vel X >= 0
trigger1 = enemy, vel Y >= 0
trigger2 = StateNo = 210 && movehit
trigger3 = StateNo = 410 && movehit
trigger4 = StateNo = 1200 && movehit

;===========================================
;メープルレーザーLv2＠ＡＩ
[State -1]
type = ChangeState
value = 1650
triggerall = Var(59) = 1
triggerall = RoundState = 2
triggerall = Power >= 2000
triggerall = statetype = S || StateType = C
triggerall = ctrl
trigger1 = P2StateNo = [5000,5090]
trigger1 = P2BodyDist X = [20,320] 
trigger1 = P2BodyDist Y = [-160,20] 
trigger1 = enemy, vel Y <= 0

;===========================================
;メープルレーザーLv1＠ＡＩ
[State -1]
type = ChangeState
value = 1600
triggerall = Var(59) = 1
triggerall = RoundState = 2
triggerall = Power >= 1000
triggerall = statetype = S || StateType = C
triggerall = ctrl
trigger1 = P2StateNo = [5000,5090]
trigger1 = P2BodyDist X = [20,320] 
trigger1 = P2BodyDist Y = [-160,20] 
trigger1 = enemy, vel Y <= 0

;===========================================
;コンバインライド＠ＡＩ
[State -1]
type = ChangeState
value = 1700
triggerall = Var(59) = 1
triggerall = RoundState = 2
triggerall = Power >= 1000
trigger1 = ctrl
trigger1 = random <= 500
trigger1 = P2MoveType != H		;I[何もしない]A[攻撃中]H[ヒット中]
trigger1 = P2StateType = A		;S[立ち]C[しゃがみ]A[空中]
trigger1 = P2BodyDist X = [0,320] 
trigger1 = P2BodyDist Y = [-220,0] 
trigger1 = enemy, vel Y < 0
trigger2 = StateNo = 600 && movehit
trigger3 = StateNo = 610 && movehit

;===========================================
;シフトチェンジオブレッドゾーン（コンバインライド追撃）＠ＡＩ
[State -1]
type = ChangeState
value = 1800
triggerall = Var(59) = 1
triggerall = RoundState = 2
triggerall = Power >= 1000
trigger1 = StateNo = 1706
trigger1 = random <= 510
trigger1 = time = 22

;どっこいファンネル＠ＡＩ
[State -1]
type = ChangeState
value = 1150
triggerall = Var(59) = 1
triggerall = RoundState = 2
triggerall = numhelper(1160) < 1	;IfElse(PalNo=12,5,1)
triggerall = statetype = S || StateType = C
trigger1 = ctrl
trigger1 = random <= 5
trigger1 = P2BodyDist X = [130,320] 
trigger1 = P2BodyDist Y = [-120,120] 

;どっこいファンネル（空中）＠ＡＩ
[State -1]
type = ChangeState
value = 1151
triggerall = Var(59) = 1
triggerall = RoundState = 2
triggerall = numhelper(1160) < 1	;IfElse(PalNo=12,5,1)
triggerall = statetype = A
trigger1 = ctrl
trigger1 = random <= 25
trigger1 = P2BodyDist X = [130,320] 
trigger1 = P2BodyDist Y = [-120,120] 


;============================================
;必殺技
;===========================================
;イガグリ＠ＡＩ
[State -1]
type = ChangeState
value = 1100
triggerall = Var(59) = 1
triggerall = RoundState = 2
triggerall = numhelper(1110) < 1
triggerall = statetype = S || StateType = C
trigger1 = ctrl
trigger1 = random <= 300
trigger1 = P2MoveType != A		;I[何もしない]A[攻撃中]H[ヒット中]
trigger1 = P2BodyDist X = [30,120] 

;米俵＠ＡＩ
[State -1]
type = ChangeState
value = 1000
triggerall = Var(59) = 1
triggerall = RoundState = 2
triggerall = numhelper(1010) = 0
triggerall = statetype = S || StateType = C
trigger1 = ctrl
trigger1 = random <= 255
trigger1 = P2BodyDist X >= 100

;====================================
;ジャンプ射撃＠ＡＩ
[State -1]
type = ChangeState
value = 620
triggerall = Var(59) = 1
triggerall = RoundState = 2
triggerall = numhelper(100) = 0
triggerall = statetype = A
trigger1 = ctrl
trigger1 = random <= 500
trigger1 = P2MoveType != H		;I[何もしない]A[攻撃中]H[ヒット中]
trigger1 = P2StateType != C		;S[立ち]C[しゃがみ]A[空中]
trigger1 = P2BodyDist X = [50,220] 
trigger1 = P2BodyDist Y = [-5,65] 

;===========================================
;立ち射撃＠ＡＩ
[State -1]
type = ChangeState
value = 220
triggerall = Var(59) = 1
triggerall = RoundState = 2
triggerall = numhelper(100) = 0
trigger1 = statetype = S
trigger1 = ctrl
trigger1 = random <= 75
trigger1 = P2MoveType != I		;I[何もしない]A[攻撃中]H[ヒット中]
trigger1 = P2StateType != C		;S[立ち]C[しゃがみ]A[空中]
trigger1 = P2BodyDist X = [60,220] 
trigger1 = P2BodyDist Y = [-80,20] 

;===========================================
;しゃがみ射撃＠ＡＩ
[State -1]
type = ChangeState
value = 420
triggerall = Var(59) = 1
triggerall = RoundState = 2
triggerall = numhelper(100) = 0
trigger1 = ctrl 
trigger1 = statetype = C
trigger1 = random <= 500
trigger1 = P2MoveType != H		;I[何もしない]A[攻撃中]H[ヒット中]
trigger1 = P2StateType != C		;S[立ち]C[しゃがみ]A[空中]
trigger1 = P2BodyDist X = [0,210] 
trigger1 = P2BodyDist Y = [-5,5] 

;===========================================
;芋ほりスパイクLV1＠ＡＩ
[State -1]
type = ChangeState
value = 1200
triggerall = Var(59) = 1
triggerall = RoundState = 2
triggerall = statetype = S || StateType = C
trigger1 = ctrl
trigger1 = random <= 250
trigger1 = P2BodyDist X = [35,70] 
trigger1 = P2BodyDist Y = [-30,30] 
trigger3 = StateNo = 210 && movehit
trigger4 = StateNo = 400 && movehit
trigger2 = StateNo = 410 && movehit

;===========================================
;芋ほりスパイクLV2＠ＡＩ
[State -1]
type = ChangeState
value = 1210
triggerall = Var(59) = 1
triggerall = RoundState = 2
triggerall = statetype = S || StateType = C
trigger1 = ctrl
trigger1 = random <= 500
trigger1 = P2BodyDist X = [35,80] 
trigger1 = P2BodyDist Y = [-30,30] 
trigger3 = StateNo = 210 && movehit
trigger4 = StateNo = 400 && movehit
trigger2 = StateNo = 410 && movehit

;===========================================
;芋ほりアッパーLV1＠ＡＩ
[State -1]
type = ChangeState
value = 1300
triggerall = Var(59) = 1
triggerall = RoundState = 2
triggerall = statetype = S || StateType = C
trigger1 = ctrl
trigger1 = random <= 500
trigger1 = P2MoveType = A		;I[何もしない]A[攻撃中]H[ヒット中]
trigger1 = P2BodyDist X = [0,10] 
trigger1 = P2BodyDist Y = [-40,20] 
trigger3 = StateNo = 210 && movehit
trigger4 = StateNo = 400 && movehit
trigger5 = StateNo = 410 && movehit
trigger6 = StateNo = 1200 && movehit
trigger2 = StateNo = 1210 && movehit

;===========================================
;芋ほりアッパーLV2＠ＡＩ
[State -1]
type = ChangeState
value = 1310
triggerall = Var(59) = 1
triggerall = RoundState = 2
triggerall = statetype = S || StateType = C
trigger1 = ctrl
trigger1 = random <= 500
trigger1 = P2MoveType = A		;I[何もしない]A[攻撃中]H[ヒット中]
trigger1 = P2BodyDist X = [0,20] 
trigger1 = P2BodyDist Y = [-60,20] 
trigger3 = StateNo = 210 && movehit
trigger4 = StateNo = 400 && movehit
trigger5 = StateNo = 410 && movehit
trigger6 = StateNo = 1200 && movehit
trigger2 = StateNo = 1210 && movehit

;===========================================
;阿修羅閃空・前＠ＡＩ
[State -1]
type = ChangeState
value = 1800
triggerall = Var(59) = 1
triggerall = RoundState = 2
trigger1 = statetype = S
trigger1 = ctrl
trigger1 = power >= 2000
trigger1 = random <= 10
trigger1 = P2BodyDist X = [50,100] 
trigger1 = P2BodyDist Y = [-120,-20] 
trigger2 = stateno = 5120		;リバーサル阿修羅
trigger2 = time > 6
trigger2 = BackEdgeDist < 85
trigger2 = random < Var(31)
;trigger3 = ctrl
;trigger3 = random >= 750 
;trigger3 = numhelper(1410) > 0	;どっこい人形があったら積極的につっこむ
;trigger3 = P2BodyDist X > 180


;阿修羅閃空・後ろ＠ＡＩ
[State -1]
type = ChangeState
value = 1801
triggerall = Var(59) = 1
triggerall = RoundState = 2
trigger1 = statetype = S || StateType = C
trigger1 = ctrl
trigger1 = random <= 10
trigger1 = P2BodyDist X = [0,20] 
trigger1 = P2BodyDist Y = [-20,20] 
trigger1 = P2MoveType != A		;I[何もしない]A[攻撃中]H[ヒット中]
trigger2 = stateno = 5120
trigger2 = time > 6
trigger2 = random < Var(31)
trigger2 = FrontEdgeDist < 85

;===========================================
;リバーサル芋ほりアッパーLV1＠ＡＩ
[State -1]
type = ChangeState
value = 1300
triggerall = Var(59) = 1
triggerall = RoundState = 2
trigger1 = stateno = 5120
trigger1 = time > 6
trigger1 = random < 200+Var(30)
trigger1 = P2BodyDist X = [-20,20] 
trigger1 = P2BodyDist Y = [-20,20] 

;===========================================
;リバーサル芋ほりアッパーLV2＠ＡＩ
[State -1]
type = ChangeState
value = 1310
triggerall = Var(59) = 1
triggerall = RoundState = 2
trigger1 = stateno = 5120
trigger1 = time > 6
trigger1 = random < 200+Var(30)
trigger1 = P2MoveType = A		;I[何もしない]A[攻撃中]H[ヒット中]
trigger1 = P2BodyDist X = [-20,20] 
trigger1 = P2BodyDist Y = [-80,60] 

;===========================================
ダッシュ＠ＡＩ
[State -1, Dash]
type = ChangeState
value = 100
triggerall = Var(59) = 1
triggerall = RoundState = 2
trigger1 = statetype = S
trigger1 = ctrl
trigger1 = power >= 2000
trigger1 = random <= 300
trigger1 = P2MoveType = I		;I[何もしない]A[攻撃中]H[ヒット中]
trigger1 = P2BodyDist X = [50,100] 
trigger1 = P2BodyDist Y = [-120,-20] 

バックステップ＠ＡＩ
[State -1, Back Step]
type = ChangeState
value = 105
triggerall = Var(59) = 1
triggerall = RoundState = 2
trigger1 = statetype = S
trigger1 = ctrl
trigger1 = random <= 200
trigger1 = P2MoveType != A		;I[何もしない]A[攻撃中]H[ヒット中]
trigger1 = P2MoveType = A		;I[何もしない]A[攻撃中]H[ヒット中]
trigger1 = P2BodyDist X = [0,10] 
trigger1 = P2BodyDist Y = [-20,20] 

空中ダッシュ＠ＡＩ
[State -1, Dash]
type = ChangeState
value = 116
triggerall = Var(59) = 1
triggerall = RoundState = 2
trigger1 = statetype = A
trigger1 = ctrl
trigger1 = power >= 2000
trigger1 = random <= 300
trigger1 = P2MoveType = I		;I[何もしない]A[攻撃中]H[ヒット中]
trigger1 = P2BodyDist X = [50,100] 
trigger1 = P2BodyDist Y = [-120,-20] 
trigger2 = ctrl
trigger2 = random <= 450 
trigger2 = numhelper(1410) > 0	;どっこい人形があったら積極的につっこむ
trigger2 = P2BodyDist X > 80

空中バックダッシュ＠ＡＩ
[State -1, Back Step]
type = ChangeState
value = 117
triggerall = Var(59) = 1
triggerall = RoundState = 2
trigger1 = statetype = A
trigger1 = ctrl
trigger1 = random <= 200
trigger1 = P2MoveType = A		;I[何もしない]A[攻撃中]H[ヒット中]
trigger1 = P2StateType = A		;S[立ち]C[しゃがみ]A[空中]
trigger1 = P2BodyDist X = [0,10] 
trigger1 = P2BodyDist Y = [-20,20] 

;===========================================
;立ちパンチ＠ＡＩ
[State -1]
type = ChangeState
value = 200
triggerall = Var(59) = 1
triggerall = RoundState = 2
trigger1 = statetype = S
trigger1 = ctrl 
trigger1 = random <= 500
trigger1 = P2MoveType != A		;I[何もしない]A[攻撃中]H[ヒット中]
trigger1 = P2StateType != C		;S[立ち]C[しゃがみ]A[空中]
trigger1 = P2BodyDist X = [0,20] 
trigger1 = P2BodyDist Y = [-20,20] 

;===========================================
;立ちパンチコンボ＠ＡＩ
[State -1]
type = ChangeState
value = 201
triggerall = Var(59) = 1
triggerall = RoundState = 2
trigger1 = stateno = 200
trigger1 = movehit

;===========================================
;立ちパンチコンボ２＠ＡＩ
[State -1]
type = ChangeState
value = 202
triggerall = Var(59) = 1
triggerall = RoundState = 2
trigger1 = stateno = 201
trigger1 = movehit

;===========================================
;立ち中段キック＠ＡＩ
[State -1]
type = ChangeState
value = 615
triggerall = Var(59) = 1
triggerall = RoundState = 2
trigger1 = statetype != A
trigger1 = random <= 500
trigger1 = P2BodyDist X = [0,20] 
trigger1 = P2BodyDist Y = [-20,20] 
trigger1 = ctrl
trigger1 = P2MoveType != A		;I[何もしない]A[攻撃中]H[ヒット中]
trigger1 = P2StateType = C		;S[立ち]C[しゃがみ]A[空中]
 
;===========================================
;立ちキック＠ＡＩ
[State -1]
type = ChangeState
value = 210
triggerall = Var(59) = 1
triggerall = RoundState = 2
trigger1 = statetype = S
trigger1 = ctrl
trigger1 = random <= 500
trigger1 = P2MoveType != A		;I[何もしない]A[攻撃中]H[ヒット中]
trigger1 = P2StateType != C		;S[立ち]C[しゃがみ]A[空中]
trigger1 = P2BodyDist X = [0,20] 
trigger1 = P2BodyDist Y = [-20,20] 
trigger3 = stateno = 201
trigger3 = movehit
trigger2 = stateno = 202
trigger2 = movehit

;===========================================
;近距離射撃（強）＠ＡＩ
[State -1]
type = ChangeState
value = 250
triggerall = Var(59) = 1
triggerall = RoundState = 2
triggerall = numprojid(650) = 0
triggerall = statetype = S
trigger1 = ctrl
trigger1 = random <= 500
trigger1 = P2MoveType != A		;I[何もしない]A[攻撃中]H[ヒット中]
trigger1 = P2StateType != C		;S[立ち]C[しゃがみ]A[空中]
trigger1 = P2BodyDist X = [50,80] 
trigger1 = P2BodyDist Y = [-20,20] 
trigger2 = stateno = 240
trigger2 = movehit

;===========================================
;近距離射撃（弱）＠ＡＩ
[State -1]
type = ChangeState
value = 240
triggerall = Var(59) = 1
triggerall = RoundState = 2
triggerall = statetype = S
trigger1 = ctrl
trigger1 = random <= 500
trigger1 = P2MoveType != A		;I[何もしない]A[攻撃中]H[ヒット中]
trigger1 = P2StateType != C		;S[立ち]C[しゃがみ]A[空中]
trigger1 = P2BodyDist X = [40,70] 
trigger1 = P2BodyDist Y = [-20,20] 

;===========================================
;スライディング（短）＠ＡＩ
[State -1]
type = ChangeState
value = 450
triggerall = Var(59) = 1
triggerall = RoundState = 2
trigger1 = statetype = C
trigger1 = ctrl 
trigger1 = random <= 100
trigger1 = P2MoveType != A		;I[何もしない]A[攻撃中]H[ヒット中]
trigger1 = P2StateType != C		;S[立ち]C[しゃがみ]A[空中]
trigger1 = P2BodyDist X = [60,90] 
trigger1 = P2BodyDist Y = [-5,5] 

;===========================================
;スライディング（長）＠ＡＩ
[State -1]
type = ChangeState
value = 460
triggerall = Var(59) = 1
triggerall = RoundState = 2
trigger1 = statetype = C
trigger1 = ctrl 
trigger1 = random <= 500
trigger1 = P2MoveType != A		;I[何もしない]A[攻撃中]H[ヒット中]
trigger1 = P2StateType != C		;S[立ち]C[しゃがみ]A[空中]
trigger1 = P2BodyDist X = [60,90] 
trigger1 = P2BodyDist Y = [-25,25] 

;===========================================
;しゃがみパンチ＠ＡＩ
[State -1]
type = ChangeState
value = 400
triggerall = Var(59) = 1
triggerall = RoundState = 2
trigger1 = statetype = C
trigger1 = ctrl 
trigger1 = random <= 500
trigger1 = P2MoveType != A		;I[何もしない]A[攻撃中]H[ヒット中]
trigger1 = P2StateType = S		;S[立ち]C[しゃがみ]A[空中]
trigger1 = P2BodyDist X = [0,10] 
trigger1 = P2BodyDist Y = [-25,25] 
trigger1 = random <= 100
trigger2 = stateno = 400
trigger2 = movehit

;===========================================
;しゃがみアッパー＠ＡＩ
[State -1]
type = ChangeState
value = 410
triggerall = Var(59) = 1
triggerall = RoundState = 2
trigger1 = statetype = C
trigger1 = ctrl 
trigger1 = P2MoveType != H		;I[何もしない]A[攻撃中]H[ヒット中]
trigger1 = P2StateType = A		;S[立ち]C[しゃがみ]A[空中]
trigger1 = P2BodyDist X = [0,25] 
trigger1 = P2BodyDist Y = [-55,55] 
trigger2 = stateno = 400
trigger2 = movehit

;===========================================
;ジャンプ近距離射撃（強）＠ＡＩ
[State -1]
type = ChangeState
value = 650
triggerall = Var(59) = 1
triggerall = RoundState = 2
triggerall = numprojid(650) = 0
triggerall = statetype = A
trigger1 = ctrl
trigger1 = random <= 800
trigger1 = P2MoveType != H		;I[何もしない]A[攻撃中]H[ヒット中]
trigger1 = P2StateType != A		;S[立ち]C[しゃがみ]A[空中]
trigger1 = P2BodyDist X = [50,80] 
trigger1 = P2BodyDist Y = [-5,25] 
trigger2 = stateno = 640
trigger2 = movehit

;===========================================
;ジャンプ近距離射撃（弱）＠ＡＩ
[State -1]
type = ChangeState
value = 640
triggerall = Var(59) = 1
triggerall = RoundState = 2
triggerall = statetype = A
trigger1 = ctrl
trigger1 = random <= 800
trigger1 = P2MoveType != H		;I[何もしない]A[攻撃中]H[ヒット中]
trigger1 = P2StateType != A		;S[立ち]C[しゃがみ]A[空中]
trigger1 = P2BodyDist X = [30,50] 
trigger1 = P2BodyDist Y = [-5,25] 

;===========================================
;ジャンプ弱パンチ＠ＡＩ
[State -1]
type = ChangeState
value = 605
triggerall = Var(59) = 1
triggerall = RoundState = 2
triggerall = statetype = A
trigger1 = ctrl 
trigger1 = random <= 800
trigger1 = P2MoveType != H		;I[何もしない]A[攻撃中]H[ヒット中]
trigger1 = P2StateType != A		;S[立ち]C[しゃがみ]A[空中]
trigger1 = P2BodyDist X = [0,10] 
trigger1 = P2BodyDist Y = [-5,5] 

;===========================================
;ジャンプ弱キック＠ＡＩ
[State -1]
type = ChangeState
value = 600
triggerall = Var(59) = 1
triggerall = RoundState = 2
triggerall = statetype = A
trigger1 = stateno = 605 
trigger1 = movehit

;===========================================
;ジャンプ強キック＠ＡＩ
[State -1]
type = ChangeState
value = 610
triggerall = Var(59) = 1
triggerall = RoundState = 2
triggerall = statetype = A
trigger1 = ctrl
trigger1 = random <= 800
trigger1 = P2MoveType != H		;I[何もしない]A[攻撃中]H[ヒット中]
trigger1 = P2StateType != A		;S[立ち]C[しゃがみ]A[空中]
trigger1 = P2BodyDist X = [20,80] 
trigger1 = P2BodyDist Y = [-5,65] 
trigger2 = stateno = 600
trigger2 = movehit
trigger3 = stateno = 605
trigger3 = movehit

;===========================================
;メープルレーザーLv2＠ＡＩ（優先度の低い思考）
[State -1]
type = ChangeState
value = 1650
triggerall = Var(59) = 1
triggerall = RoundState = 2
triggerall = Power >= 2000
triggerall = statetype = S || StateType = C
triggerall = ctrl
trigger1 = random >= 25 && random < 50
trigger2 = P2BodyDist X >= 100
trigger2 = random > 150 && random <= 200
trigger2 = power >= 6000

;===========================================
;メープルレーザーLv1＠ＡＩ（優先度の低い思考）
[State -1]
type = ChangeState
value = 1600
triggerall = Var(59) = 1
triggerall = RoundState = 2
triggerall = Power >= 1000
triggerall = statetype = S || StateType = C
triggerall = ctrl
trigger1 = random < 25
trigger2 = P2BodyDist X >= 100
trigger2 = random < 150
trigger2 = power >= 2500

