;---------------------------------------------------------------------------
;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 = "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 = 900
;triggerall = Var(59) = 0
;triggerall = Var(48) = [5,10]
;triggerall = Power >= 1000
;triggerall = numhelper(910) = 0
;triggerall = command = "rain"
;triggerall = statetype = S || StateType = C
;trigger1 = ctrl

;対弾幕防御
;[State -1]
;type = ChangeState
;value = 901
;triggerall = Var(59) = 0
;triggerall = Var(48) = [5,10]
;triggerall = Power >= 1000
;triggerall = numhelper(910) = 0
;triggerall = command = "rain"
;triggerall = statetype = A
;trigger1 = ctrl

;イガグリ
[State -1]
type = ChangeState
value = 1100
triggerall = Var(59) = 0
triggerall = numhelper(1110) < 2
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) < 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) < 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

;リバーサル芋ほりアッパー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 = 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 = 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 = numhelper(1410) = 0
triggerall = Power >= 2000
triggerall = statetype = S || StateType = C
trigger1 = ctrl
trigger1 = random <= 100

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

;===========================================
;ライシングストームLv2＠ＡＩ
[State -1]
type = ChangeState
value = 1550
triggerall = Var(59) = 1
triggerall = Power >= 2000
triggerall = statetype = S || StateType = C
trigger1 = ctrl
trigger1 = random <= 200
trigger1 = P2BodyDist X = [-40,40] 
trigger1 = P2BodyDist Y = [-40,40] 
trigger2 = ctrl
trigger2 = P2movetype=H
trigger2 = P2BodyDist X = [-40,40] 
trigger2 = P2BodyDist Y = [-40,40] 
trigger3 = StateNo = 210 && movehit
trigger4 = StateNo = 410 && movehit
trigger5 = StateNo = 1200 && movehit

;===========================================
;ライシングストームLv1＠ＡＩ
[State -1]
type = ChangeState
value = 1500
triggerall = Var(59) = 1
triggerall = Power >= 1000
triggerall = statetype = S || StateType = C
trigger1 = ctrl
trigger1 = random <= 200
trigger1 = P2BodyDist X = [-40,40] 
trigger1 = P2BodyDist Y = [-40,40] 
trigger2 = ctrl
trigger2 = P2movetype=H
trigger2 = P2BodyDist X = [-40,40] 
trigger2 = P2BodyDist Y = [-40,40] 
trigger3 = StateNo = 210 && movehit
trigger4 = StateNo = 410 && movehit
trigger5 = StateNo = 1200 && movehit

;===========================================
;コンバインライド＠ＡＩ
[State -1]
type = ChangeState
value = 1700
triggerall = Var(59) = 1
triggerall = Power >= 2000
trigger1 = ctrl
trigger1 = random <= 200
trigger1 = P2BodyDist X = [0,320] 
trigger1 = P2BodyDist Y = [-120,120] 
trigger1 = P2StateType = A		;S[立ち]C[しゃがみ]A[空中]
trigger2 = StateNo = 600 && movehit
trigger3 = StateNo = 610 && movehit

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

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

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

;===========================================
;メープルレーザーLv1＠ＡＩ
[State -1]
type = ChangeState
value = 1600
triggerall = Var(59) = 1
triggerall = Power >= 1000
triggerall = statetype = S || StateType = C
trigger1 = ctrl
trigger1 = random <= 50
trigger1 = P2MoveType != A		;I[何もしない]A[攻撃中]H[ヒット中]
trigger1 = P2StateType != C		;S[立ち]C[しゃがみ]A[空中]
trigger1 = P2BodyDist X = [50,320] 
trigger1 = P2BodyDist Y = [-120,120] 
trigger2 = ctrl
trigger2 = P2MoveType = H		;I[何もしない]A[攻撃中]H[ヒット中]
trigger2 = P2StateNo >= 5000
trigger2 = P2BodyDist X = [50,320] 
trigger2 = P2BodyDist Y = [-40,40] 

;===========================================
;メープルレーザーLv2＠ＡＩ
[State -1]
type = ChangeState
value = 1650
triggerall = Var(59) = 1
triggerall = Power >= 2000
triggerall = statetype = S || StateType = C
trigger1 = ctrl
trigger1 = random <= 50
trigger1 = P2MoveType != A		;I[何もしない]A[攻撃中]H[ヒット中]
trigger1 = P2StateType != C		;S[立ち]C[しゃがみ]A[空中]
trigger1 = P2BodyDist X = [50,320] 
trigger1 = P2BodyDist Y = [-120,120] 
trigger2 = ctrl
trigger2 = P2MoveType = H		;I[何もしない]A[攻撃中]H[ヒット中]
trigger2 = P2StateNo >= 5000
trigger2 = P2BodyDist X = [50,320] 
trigger2 = P2BodyDist Y = [-40,40] 


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

;米俵＠ＡＩ
[State -1]
type = ChangeState
value = 1000
triggerall = Var(59) = 1
triggerall = numhelper(1010) = 0
triggerall = statetype = S || StateType = C
trigger1 = ctrl
trigger1 = random <= 500
trigger1 = P2BodyDist X = [180,320] 
trigger1 = P2BodyDist Y = [-120,120] 

;男爵芋＠ＡＩ
;[State -1]
;type = ChangeState
;value = 1050
;triggerall = Var(59) = 1
;triggerall = numhelper(1060) = 0
;triggerall = statetype = S || StateType = C
;trigger1 = ctrl
;trigger1 = random <= 500
;trigger1 = P2BodyDist X = [140,320] 
;trigger1 = P2BodyDist Y = [-120,120] 

;男爵芋（空中）＠ＡＩ
;[State -1]
;type = ChangeState
;value = 1051
;triggerall = Var(59) = 1
;triggerall = numhelper(1060) = 0
;triggerall = statetype = A
;trigger1 = ctrl
;trigger1 = random <= 500
;trigger1 = P2BodyDist X = [100,320] 
;trigger1 = P2BodyDist Y = [-120,120] 


;芋ほりスパイクLV1＠ＡＩ
[State -1]
type = ChangeState
value = 1200
triggerall = Var(59) = 1
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 = 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 = 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 = 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

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


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

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

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

空中ダッシュ＠ＡＩ
[State -1, Dash]
type = ChangeState
value = 116
triggerall = Var(59) = 1
trigger1 = statetype = A
trigger1 = ctrl
trigger1 = random <= 300
trigger1 = P2MoveType = I		;I[何もしない]A[攻撃中]H[ヒット中]
trigger1 = P2StateType = S		;S[立ち]C[しゃがみ]A[空中]
trigger1 = P2BodyDist X = [50,100] 
trigger1 = P2BodyDist Y = [-120,-20] 

空中バックダッシュ＠ＡＩ
[State -1, Back Step]
type = ChangeState
value = 117
triggerall = Var(59) = 1
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
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
trigger1 = stateno = 200
trigger1 = movehit

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

;===========================================
;立ちキック＠ＡＩ
[State -1]
type = ChangeState
value = 210
triggerall = Var(59) = 1
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 = 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 = 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 = 220
triggerall = Var(59) = 1
triggerall = numhelper(100) = 0
trigger1 = statetype = S
trigger1 = ctrl
trigger1 = random <= 500
trigger1 = P2MoveType != I		;I[何もしない]A[攻撃中]H[ヒット中]
trigger1 = P2StateType != C		;S[立ち]C[しゃがみ]A[空中]
trigger1 = P2BodyDist X = [60,120] 
trigger1 = P2BodyDist Y = [-80,20] 

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

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

;===========================================
;しゃがみパンチ＠ＡＩ
[State -1]
type = ChangeState
value = 400
triggerall = Var(59) = 1
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
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 = 420
triggerall = Var(59) = 1
triggerall = numhelper(100) = 0
trigger1 = ctrl 
trigger1 = statetype = C
trigger1 = random <= 200
trigger1 = P2MoveType != H		;I[何もしない]A[攻撃中]H[ヒット中]
trigger1 = P2StateType != C		;S[立ち]C[しゃがみ]A[空中]
trigger1 = P2BodyDist X = [0,10] 
trigger1 = P2BodyDist Y = [-5,5] 

;===========================================
;ジャンプ近距離射撃（強）＠ＡＩ
[State -1]
type = ChangeState
value = 650
triggerall = Var(59) = 1
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 = 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 = 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 = statetype = A
trigger1 = stateno = 605 
trigger1 = movehit

;===========================================
;ジャンプ強キック＠ＡＩ
[State -1]
type = ChangeState
value = 610
triggerall = Var(59) = 1
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

;====================================
;ジャンプ射撃＠ＡＩ
[State -1]
type = ChangeState
value = 620
triggerall = Var(59) = 1
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,120] 
trigger1 = P2BodyDist Y = [-5,65] 

;===========================================
;オータムスカイ＠ＡＩ
[State -1]
type = ChangeState
value = 2100
triggerall = Var(59) = 1
triggerall = Power >= 3000
triggerall = statetype = S || StateType = C
trigger1 = ctrl
trigger1 = random <= 500
trigger1 = P2BodyDist X = [50,320] 
trigger1 = P2BodyDist Y = [-120,120] 

;===========================================
;オヲトシハーベスター＠ＡＩ
[State -1]
type = ChangeState
value = 2200
triggerall = Var(59) = 1
triggerall = Power >= 3000
trigger1 = ctrl
trigger1 = random <= 250
trigger1 = P2BodyDist X = [50,320] 
trigger1 = P2BodyDist Y = [-120,120] 
