;\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
;----------------------------------------------------------------------------------------------------------------------------------
;AIスイッチ
;----------------------------------------------------------------------------------------------------------------------------------
;\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
;-| AI |------------------------------------------------------
[Command]
name = "AI0"
command = a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a
time = 0
[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 = "アース・クエイク"
command = ~D,D, z+x
time = 30

[Command]
name = "パニッシュ・レイ"
command = ~D,D, c+x
time = 30

[Command]
name = "ブラッディ・スペルバイング"
command = ~D,D, z+c
time = 30

[Command]
name = "グラビティ・ホール"
command = ~D,F,D,F, s
time = 30

[Command]
name = "デッドリーレイブ"
command = ~D,F,D,F, c
time = 30

[Command]
name = "ハルマゲドン"
command = ~D,D, a+c
time = 30

[Command]
name = "ブラック・アビス"
command = ~D,D, y+c
time = 30

[Command]
name = "カオティック・フレア"
command = ~D,F,D,F, y
time = 30

[Command]
name = "バニッシュ"
command = ~D,B,D,B, y
time = 30

[Command]
name = "ニュークリアー・レイジエーション"
command = ~D,B,D,B, x
time = 30

[Command]
name = "神に挑むとは無謀"
command = ~D,B,D,B, b
time = 30

[Command]
name =  "ソウル・デストラクション"
command = ~D,D, y+z
time = 30

[Command]
name =  "カオティック・レイ"
command = ~D,D, b+z
time = 30

[Command]
name =  "無に還ろう"
command = ~D,D, c+b
time = 30

[Command]
name = "血の贖罪"
command = ~D,F,D,F, a
time = 30

[Command]
name = "ディメンション・カラプス"
command = ~D,F,D,F, b
time = 30

;-| 必殺技 |------------------------------------------------------
[Command]
name = "髑髏柱0"
command = ~F,D,B, a
time = 25

[Command]
name = "髑髏柱1"
command = ~F,D,B, b
time = 25

[Command]
name = "髑髏柱2"
command = ~F,D,B, c
time = 25

[Command]
name = "髑髏柱3"
command = ~F,D,B, x
time = 25

[Command]
name = "髑髏柱4"
command = ~F,D,B, y
time = 25

[Command]
name = "未使用"
command = ~F,D,B, z
time = 25

[Command]
name = "未使用"
command = ~F,D,B, s
time = 25

[Command]
name = "フォール"
command = ~F,D,DF, x

[Command]
name = "光"
command = ~F,D,DF, y

[Command]
name = "ウェベーリゼーション"
command = ~F,D,DF, z

[Command]
name = "弱顕斎"
command = ~F,D,DF, a

[Command]
name = "強顕斎"
command = ~F,D,DF, b

[Command]
name = "未使用"
command = ~F,D,DF, c

[Command]
name = "未使用"
command = ~F,D,DF, s

[Command]
name = "未使用"
command = ~B,D,DB, a

[Command]
name = "未使用"
command = ~B,D,DB, b

[Command]
name = "未使用"
command = ~B,D,DB, c

[Command]
name = "未使用"
command = ~B,D,DB, x

[Command]
name = "未使用"
command = ~B,D,DB, y

[Command]
name = "未使用"
command = ~B,D,DB, z

[Command]
name = "未使用"
command = ~B,D,DB, s

[Command]
name = "クレイスト・ピラー"
command = ~D,F, a

[Command]
name = "フォトンスフィア"
command = ~D,F, b

[Command]
name = "エクスプロージョンスフィアΩ"
command = ~D,F, c

[Command]
name = "エクスプローディングスフィア"
command = ~D,F, x

[Command]
name = "マグネティックスフィア"
command = ~D,F, y

[Command]
name = "バニシング"
command = ~D,F, z

[Command]
name = "ジェノサイド・ヘル"
command = ~D,F, s

[Command]
name = "グラビティー"
command = ~D,B, a

[Command]
name = "オロチ飛び道具"
command = ~D,B, b

[Command]
name = "オロチ飛び道具1"
command = ~D,B, c

[Command]
name = "オロチ飛び道具2"
command = ~D,B, x

[Command]
name = "オロチ飛び道具3"
command = ~D,B, y

[Command]
name = "オロチ飛び道具4"
command = ~D,B, z

[Command]
name = "ヘル・パニッシュ"
command = ~D,B, s

[Command]
name = "ワープ"
command = ~D,D, a

[Command]
name = "ワープ"
command = ~D,D, b

[Command]
name = "ワープ"
command = ~D,D, c

[Command]
name = "ワープ"
command = ~D,D, x

[Command]
name = "ワープ"
command = ~D,D, y

[Command]
name = "ワープ"
command = ~D,D, z

[Command]
name = "緊急回避前"
command = x+a
time = 1

[Command]
name = "緊急回避前"
command = z
time = 1

[Command]
name = "緊急回避後"
command = /$B,x+a
time = 1

[Command]
name = "緊急回避後"
command = /$B,z
time = 1

;------------------------------------------------------------------------------
;-| キー２回連続入力 |---------------------------------------------------------
[Command]
name = "FF"     ;Common1.cnsに使用されているため、コマンド名を変えるときは注意
command = F, F
time = 10

[Command]
name = "BB"     ;Common1.cns
command = B, B
time = 10

;------------------------------------------------------------------------------
;-| 同時押し |-----------------------------------------------------------------
[Command]
name = "recovery"   ;Common1.cns
command = x+y
time = 1

[Command]
name = "recovery"   ;Common1.cns
command = a+b
time = 1

[Command]
name = "投げ"
command = y+b
time = 1

[Command]
name = "ふっ飛ばし"
command = c
time = 1

[Command]
name = "roll"
command = x+a
time = 1

;------------------------------------------------------------------------------
;-| 方向キー＋ボタン |---------------------------------------------------------
[Command]
name = "down_a"
command = /$D,a
time = 1

[Command]
name = "down_b"
command = /$D,b
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 = "start"
command = s
time = 1

;------------------------------------------------------------------------------
;-| ボタン押しっぱなし |-----------------------------------------------------
[Command]
name = "hold_c"
command = /c

;------------------------------------------------------------------------------
;-| 方向キー押しっぱなし |-----------------------------------------------------
[Command]
name = "holdfwd"   ;Common1.cnsで使用されている
command = /$F
time = 1

[Command]
name = "holdback"  ;Common1.cns
command = /$B
time = 1

[Command]
name = "holdup"    ;Common1.cns
command = /$U
time = 1

[Command]
name = "holddown"  ;Common1.cns
command = /$D
time = 1

[Command]
name = "fwd"  ;Required (do not remove)
command = /F
time = 1

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

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

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

;===========================================================================
[Statedef -1]

[State 1]
type = superpause
triggerall = enemy,name = "genjitsu" || enemy,name = "New_Shiki_Nanaya" || enemy,name = "Alsiel Mizuchi"
trigger1 = win
trigger2 = enemy,alive = 0
time = 2147483647
movetime = 2147483647
anim = -1
darken = 0
p2defmul  = 1
ignorehitpause = 1

[State 1]
type = pause
triggerall = enemy,name = "genjitsu" || enemy,name = "New_Shiki_Nanaya" || enemy,name = "Alsiel Mizuchi"
trigger1 = win
trigger2 = enemy,alive = 0
time = 2147483647
movetime = 2147483647
ignorehitpause = 1

[state -2]
type = targetstate
triggerall = !ishelper
triggerall = roundstate = 0 || var(4)=1
trigger1 = numtarget
trigger1 = roundstate <=1
trigger1 = stateno = 0
trigger2 = roundstate >=3
value = 600001
ignorehitpause = 1

[State -3]
type = varset 
triggerall = !ishelper
triggerall = palno =12
trigger1 = enemy,name = "genjitsu"
trigger1 = enemy,numhelper(200000000) = 0
trigger2 = enemy,name = "Vairocana"
trigger3 = enemy,name = "Efreet"
trigger4 = enemy,name = "Phantom Mizuchi Elisir"
trigger5 = enemy,name = "Chaos" 
trigger6 = enemy,name = "Alsiel Mizuchi"
trigger7 = enemy,name = "The black sun of Alsiel"
trigger8 = enemy,name = "Chu-goku"
trigger9 = enemy,name = "Apollo Mizuchi"
trigger10 = enemy,name = "D-Mizuchi"
trigger11 = enemy,name = "Death Star"
trigger12 = enemy,name = "yukkurisiteittene!" && enemy,palno >=7
trigger13 = enemy,name = "Uroboros"
trigger14 = enemy,name = "F1"
trigger15 = enemy,name = "Mizuchi"
trigger16 = enemy,name = "The black sun of Alsiel"
trigger17 = enemy,name = "MAHATAYO"
v = 4
value = 1
ignorehitpause = 1

[State 1000, 0]
type = null
trigger1 = enemy,name = "genjitsu" 
trigger1 = !enemy,numhelper(200000000)
trigger1 = var(13) :=1113 && var(14) :=5
trigger2 = enemy,name = "Vairocana" 
trigger2 = enemy,numhelper(5000) >=1
trigger2 = var(13) :=1280 && var(14) :=871
trigger3 = enemy,name = "The black sun of Alsiel"
trigger3= var(13):=40010 && var(14):=12360
trigger4 = enemy,name = "Phantom Mizuchi Elisir"
trigger4 = var(13) :=22177 && var(14) :=263601
trigger5 = enemy,name = "Chaos" 
trigger5 = var(13) :=15003 && var(14) :=1
trigger6 = enemy,name = "Alsiel Mizuchi"              ;
trigger6 = var(13):=99999 && var(14):=1040100
trigger7 = enemy,name = "Chu-goku" 
trigger7 = var(13):=9771 && var(14):= 80000
trigger8 = enemy,name = "Apollo Mizuchi" 
trigger8 = var(13):=3063 && var(14):= 25500
trigger9 = enemy,name = "D-Mizuchi" 
trigger9 = var(13):=99999 && var(14):=1040100
trigger10 = enemy,name = "Heaven Orochi KOR"
trigger10 = var(13):=22079 && var(14):= 1331007
trigger11 = enemy,name = "yukkurisiteittene!"
trigger11 = var(13):=4206 && var(14):= 421
trigger12 = enemy,name = "G Mizuchi"
trigger12 = var(13):=3063 && var(14):= 2701000
trigger13 = enemy,name = "Uroboros"
trigger13 = var(13):=2020 && var(14):= 110
trigger14 = enemy,name = "F1"
trigger14= var(13):=1000 && var(14):=9997
trigger15 = enemy,name = "Mizuchi"
trigger15= var(13):=22177 && var(14):=2636
trigger16 = enemy,name = "MAHATAYO"
trigger16 = var(13):=9 && var(14):= 2115
trigger17 = enemy,name = "Dark=Morrigan"
trigger17 = var(13):=11322 && var(14):= 823
trigger18 = enemy,name = "Mizuka Nagamori"
trigger18 = var(13):=40000 && var(14):= 1313

;バックステップ
[State -1]
type = ChangeState
value = 105
triggerall = palno = [7,12]
triggerall = roundstate = 2
triggerall = Alive = 1
triggerall = var(30) = 1
triggerall = enemy,alive
triggerall = statetype != A && stateno != 105
triggerall = p2statetype=L||p2statetype!=A&&p2StateNo=5120||EnemyNear,statetype!=A&&EnemyNear,HitDefAttr=SC,NT,ST,HT||(EnemyNear,statetype=S||EnemyNear,statetype=C)
triggerall = BackEdgeBodyDist >= 30
triggerall = p2BodyDist X = [-90,90]
triggerall = Ctrl = 1
trigger1 = Random <= (IfElse((EnemyNear,HitDefAttr = SC,NT,ST,HT),900,300)) + 30
trigger2 = p2statetype = L && Random <= 100
trigger3 = (prevstateno=1260||prevstateno=1100||prevstateno=12300||prevstateno=18100||prevstateno=1450)
trigger3 = Random <= 100-((EnemyNear,movetype=H)*90)

[State -1]
type = ChangeState
value = 25555
triggerall = palno = [7,12]
triggerall = Alive   = 1
triggerall = var(30) = 1
triggerall = statetype  != A
triggerall = enemy,alive
triggerall = P2BodyDist X = [0,70]
triggerall = p2movetype = H
trigger1 = Ctrl        = 1
trigger1 = prevstateno = 22122
trigger1 = random<=750

[State -1]
type = ChangeState
value = 25555
triggerall = palno != [7,12]
triggerall = Alive   = 1
triggerall = var(30) = 1
triggerall = statetype  != A
triggerall = enemy,alive
triggerall = P2BodyDist X = [0,70]
triggerall = p2movetype = H
trigger1 = Ctrl        = 1
trigger1 = prevstateno = 22122
trigger1 = var(40)=0&&random<=50||var(40)=1&&random<=450||var(40)=2&&random<=750

[State -3]
type = varset
trigger1 = numenemy=1
fvar(0) = 0
[State -3]
type = varset
trigger1 = numenemy=2
fvar(0) = ifelse(enemynear(0),alive,0,1)

;===========================================================================
;基本コマンド
;===========================================================================
;超必殺技
;===========================================================================
;カオティック・フレア
[State -1]
type = ChangeState
value = 2200
triggerall = palno = [11,12]
triggerall = palno !=11
triggerall = command = "カオティック・フレア"
triggerall = var(30) <= 0
triggerall = power >= 7000
trigger1 = statetype != A
trigger1 = ctrl
trigger2 = stateno = 200
trigger3 = stateno = 205
trigger4 = stateno = 235
trigger5 = stateno = 240
trigger6 = stateno = 245
trigger7 = stateno = 400
trigger8 = stateno = 410
trigger9 = stateno = 430
trigger10= stateno = 440
trigger11= stateno = 700 && animelem = 3,>=0
trigger12= stateno = 1150 && movecontact
trigger13= stateno = 1250 && movecontact
;===========================================================================
;カオティック・レイ
[State -1]
type = ChangeState
value = 19200
triggerall = palno = [11,12]
triggerall = palno !=11
triggerall = command = "カオティック・レイ"
triggerall = var(30) <= 0
triggerall = power >= 6000
trigger1 = statetype != A
trigger1 = ctrl
trigger2 = stateno = 200
trigger3 = stateno = 205
trigger4 = stateno = 235
trigger5 = stateno = 240
trigger6 = stateno = 245
trigger7 = stateno = 400
trigger8 = stateno = 410
trigger9 = stateno = 430
trigger10= stateno = 440
trigger11= stateno = 700 && animelem = 3,>=0
trigger12= stateno = 1150 && movecontact
trigger13= stateno = 1250 && movecontact
;===========================================================================
;ブラック・アビス
[State -1]
type = ChangeState
value = 2300
triggerall = palno = [7,12]
triggerall = palno !=11
triggerall = command = "ブラック・アビス"
triggerall = var(30) <= 0
triggerall = power >= 6000
trigger1 = statetype != A
trigger1 = ctrl
trigger2 = stateno = 200
trigger3 = stateno = 205
trigger4 = stateno = 235
trigger5 = stateno = 240
trigger6 = stateno = 245
trigger7 = stateno = 400
trigger8 = stateno = 410
trigger9 = stateno = 430
trigger10= stateno = 440
trigger11= stateno = 700 && animelem = 3,>=0
trigger12= stateno = 1150 && movecontact
trigger13= stateno = 1250 && movecontact
;===========================================================================
;無に還ろう
[State -1]
type = null;ChangeState
value = 14000
triggerall = palno = [7,12]
triggerall = palno !=11
triggerall = command = "無に還ろう"
triggerall = var(30) <= 0
triggerall = power >= 5000
trigger1 = statetype != A
trigger1 = ctrl
trigger2 = stateno = 200
trigger3 = stateno = 205
trigger4 = stateno = 235
trigger5 = stateno = 240
trigger6 = stateno = 245
trigger7 = stateno = 400
trigger8 = stateno = 410
trigger9 = stateno = 430
trigger10= stateno = 440
trigger11= stateno = 700 && animelem = 3,>=0
trigger12= stateno = 1150 && movecontact
trigger13= stateno = 1250 && movecontact
;===========================================================================
;アース・クエイク
[State -1]
type = null;ChangeState
value = 19300
triggerall = palno = [7,12]
triggerall = palno !=11
triggerall = command = "アース・クエイク"
triggerall = var(30) <= 0
triggerall = power >= 5000
trigger1 = statetype != A
trigger1 = ctrl
trigger2 = stateno = 200
trigger3 = stateno = 205
trigger4 = stateno = 235
trigger5 = stateno = 240
trigger6 = stateno = 245
trigger7 = stateno = 400
trigger8 = stateno = 410
trigger9 = stateno = 430
trigger10= stateno = 440
trigger11= stateno = 700 && animelem = 3,>=0
trigger12= stateno = 1150 && movecontact
trigger13= stateno = 1250 && movecontact
;===========================================================================
;グラビティ・ホール
[State -1]
type = ChangeState
value = 23100
triggerall = palno = [7,12]
triggerall = palno !=11
triggerall = command = "グラビティ・ホール"
triggerall = var(30) <= 0
triggerall = power >= 5000
trigger1 = statetype != A
trigger1 = ctrl
trigger2 = stateno = 200
trigger3 = stateno = 205
trigger4 = stateno = 235
trigger5 = stateno = 240
trigger6 = stateno = 245
trigger7 = stateno = 400
trigger8 = stateno = 410
trigger9 = stateno = 430
trigger10= stateno = 440
trigger11= stateno = 700 && animelem = 3,>=0
trigger12= stateno = 1150 && movecontact
trigger13= stateno = 1250 && movecontact
;===========================================================================
;ディメンション・カラプス
[State -1]
type = null;ChangeState
value = 19150
triggerall = palno = [7,12]
triggerall = palno !=11
triggerall = command = "ディメンション・カラプス"
triggerall = var(30) <= 0
triggerall = power >= 5000
trigger1 = statetype != A
trigger1 = ctrl
trigger2 = stateno = 200
trigger3 = stateno = 205
trigger4 = stateno = 235
trigger5 = stateno = 240
trigger6 = stateno = 245
trigger7 = stateno = 400
trigger8 = stateno = 410
trigger9 = stateno = 430
trigger10= stateno = 440
trigger11= stateno = 700 && animelem = 3,>=0
trigger12= stateno = 1150 && movecontact
trigger13= stateno = 1250 && movecontact
;===========================================================================
;パニッシュ・レイ
[State -1]
type = ChangeState
value = 33500
triggerall = palno = [7,12]
triggerall = palno !=11
triggerall = command = "パニッシュ・レイ"
triggerall = var(30) <= 0
triggerall = power >= 5000
trigger1 = statetype != A
trigger1 = ctrl
trigger2 = stateno = 200
trigger3 = stateno = 205
trigger4 = stateno = 235
trigger5 = stateno = 240
trigger6 = stateno = 245
trigger7 = stateno = 400
trigger8 = stateno = 410
trigger9 = stateno = 430
trigger10= stateno = 440
trigger11= stateno = 700 && animelem = 3,>=0
trigger12= stateno = 1150 && movecontact
trigger13= stateno = 1250 && movecontact
;===========================================================================
;神に挑むとは無謀
[State -1]
type = ChangeState
value = 19500
triggerall = palno = [11,12]
triggerall = palno !=11
triggerall = command = "神に挑むとは無謀"
triggerall = var(30) <= 0
triggerall = power >= 4000
trigger1 = statetype != A
trigger1 = ctrl
trigger2 = stateno = 200
trigger3 = stateno = 205
trigger4 = stateno = 235
trigger5 = stateno = 240
trigger6 = stateno = 245
trigger7 = stateno = 400
trigger8 = stateno = 410
trigger9 = stateno = 430
trigger10= stateno = 440
trigger11= stateno = 700 && animelem = 3,>=0
trigger12= stateno = 1150 && movecontact
trigger13= stateno = 1250 && movecontact
;===========================================================================
;ソウル・デストラクション
[State -1]
type = ChangeState
value = 30080
triggerall = palno = [7,12]
triggerall = palno !=11
triggerall = command = "ソウル・デストラクション"
triggerall = var(30) <= 0
triggerall = power >= 4000
trigger1 = statetype != A
trigger1 = ctrl
trigger2 = stateno = 200
trigger3 = stateno = 205
trigger4 = stateno = 235
trigger5 = stateno = 240
trigger6 = stateno = 245
trigger7 = stateno = 400
trigger8 = stateno = 410
trigger9 = stateno = 430
trigger10= stateno = 440
trigger11= stateno = 700 && animelem = 3,>=0
trigger12= stateno = 1150 && movecontact
trigger13= stateno = 1250 && movecontact
;===========================================================================
;バニッシュ
[State -1]
type = ChangeState
value = 1007000
triggerall = palno !=11
triggerall = command = "バニッシュ"
triggerall = var(30) <= 0
triggerall = power >= 4000
trigger1 = statetype != A
trigger1 = ctrl
trigger2 = stateno = 200
trigger3 = stateno = 205
trigger4 = stateno = 235
trigger5 = stateno = 240
trigger6 = stateno = 245
trigger7 = stateno = 400
trigger8 = stateno = 410
trigger9 = stateno = 430
trigger10= stateno = 440
trigger11= stateno = 700 && animelem = 3,>=0
trigger12= stateno = 1150 && movecontact
trigger13= stateno = 1250 && movecontact
;===========================================================================
;ブラッディ・スペルバイング
[State -1]
type = ChangeState
value = 11000
triggerall = palno = [7,12]
triggerall = palno !=11
triggerall = command = "ブラッディ・スペルバイング"
triggerall = var(30) <= 0
triggerall = power >= 3000
trigger1 = statetype != A
trigger1 = ctrl
trigger2 = stateno = 200
trigger3 = stateno = 205
trigger4 = stateno = 235
trigger5 = stateno = 240
trigger6 = stateno = 245
trigger7 = stateno = 400
trigger8 = stateno = 410
trigger9 = stateno = 430
trigger10= stateno = 440
trigger11= stateno = 700 && animelem = 3,>=0
trigger12= stateno = 1150 && movecontact
trigger13= stateno = 1250 && movecontact
;===========================================================================
;ニュークリアー・レイジエーション
[State -1]
type = ChangeState
value = 10150
triggerall = palno !=11
triggerall = command = "ニュークリアー・レイジエーション"
triggerall = var(30) <= 0
triggerall = power >= 2000
trigger1 = statetype != A
trigger1 = ctrl
trigger2 = stateno = 200
trigger3 = stateno = 205
trigger4 = stateno = 235
trigger5 = stateno = 240
trigger6 = stateno = 245
trigger7 = stateno = 400
trigger8 = stateno = 410
trigger9 = stateno = 430
trigger10= stateno = 440
trigger11= stateno = 700 && animelem = 3,>=0
trigger12= stateno = 1150 && movecontact
trigger13= stateno = 1250 && movecontact
;===========================================================================
;血の贖罪
[State -1]
type = ChangeState
value = 11220
triggerall = palno = [7,12]
triggerall = palno !=11
triggerall = command = "血の贖罪"
triggerall = var(30) <= 0
triggerall = power >= 2000
trigger1 = statetype != A
trigger1 = ctrl
trigger2 = stateno = 200
trigger3 = stateno = 205
trigger4 = stateno = 235
trigger5 = stateno = 240
trigger6 = stateno = 245
trigger7 = stateno = 400
trigger8 = stateno = 410
trigger9 = stateno = 430
trigger10= stateno = 440
trigger11= stateno = 700 && animelem = 3,>=0
trigger12= stateno = 1150 && movecontact
trigger13= stateno = 1250 && movecontact
;===========================================================================
;1p~6pのみ
;===========================================================================
;デッドリーレイブ
[State -1]
type = ChangeState
value = 10000
triggerall = palno != [7,12]
triggerall = command = "デッドリーレイブ"
triggerall = var(30) <= 0
triggerall = power >= 4000
trigger1 = statetype != A
trigger1 = ctrl
trigger2 = stateno = 200
trigger3 = stateno = 205
trigger4 = stateno = 235
trigger5 = stateno = 240
trigger6 = stateno = 245
trigger7 = stateno = 400
trigger8 = stateno = 410
trigger9 = stateno = 430
trigger10= stateno = 440
trigger11= stateno = 700 && animelem = 3,>=0
trigger12= stateno = 1150 && movecontact
trigger13= stateno = 1250 && movecontact
;===========================================================================
;ディメンション・カラプス
[State -1]
type = ChangeState
value = 3000
triggerall = palno != [7,12]
triggerall = command = "ディメンション・カラプス"
triggerall = var(30) <= 0
triggerall = power >= 2000
trigger1 = statetype != A
trigger1 = ctrl
trigger2 = stateno = 200
trigger3 = stateno = 205
trigger4 = stateno = 235
trigger5 = stateno = 240
trigger6 = stateno = 245
trigger7 = stateno = 400
trigger8 = stateno = 410
trigger9 = stateno = 430
trigger10= stateno = 440
trigger11= stateno = 700 && animelem = 3,>=0
trigger12= stateno = 1150 && movecontact
trigger13= stateno = 1250 && movecontact
;===========================================================================
;ジェノサイド・ヘル
[State -1]
type = ChangeState
value = 1030
triggerall = palno != [7,12]
triggerall = command = "ジェノサイド・ヘル"
triggerall = var(30) <= 0
triggerall = power >= 1000
trigger1 = statetype != A
trigger1 = ctrl
trigger2 = stateno = 200
trigger3 = stateno = 205
trigger4 = stateno = 235
trigger5 = stateno = 240
trigger6 = stateno = 245
trigger7 = stateno = 400
trigger8 = stateno = 410
trigger9 = stateno = 430
trigger10= stateno = 440
trigger11= stateno = 700 && animelem = 3,>=0
trigger12= stateno = 1150 && movecontact
trigger13= stateno = 1250 && movecontact
;===========================================================================
;必殺技
;===========================================================================
;髑髏柱
[State -1]
type = ChangeState
value = 1450
triggerall =  (command = "髑髏柱0")||(command = "髑髏柱1")||(command = "髑髏柱2")||(command = "髑髏柱3")||(command = "髑髏柱4")
triggerall = statetype != A
triggerall = var(30) <= 0
trigger1 = ctrl
trigger2 = stateno = 200
trigger3 = stateno = 205
trigger4 = stateno = 235
trigger5 = stateno = 240
trigger6 = stateno = 245
trigger7 = stateno = 400
trigger8 = stateno = 410
trigger9 = stateno = 430
trigger10= stateno = 440
trigger11= stateno = 700 && animelem = 3,>=0
;===========================================================================
;オロチ飛び道具
[State -1]
type = ChangeState
value = 1050
triggerall = command = "オロチ飛び道具"
triggerall = numhelper(1050) = 0
triggerall = statetype != A
triggerall = var(30) <= 0
trigger1 = ctrl
trigger2 = stateno = 200
trigger3 = stateno = 205
trigger4 = stateno = 235
trigger5 = stateno = 240
trigger6 = stateno = 245
trigger7 = stateno = 400
trigger8 = stateno = 410
trigger9 = stateno = 430
trigger10= stateno = 440
trigger11= stateno = 700 && animelem = 3,>=0
;===========================================================================
;オロチ飛び道具2
[State -1]
type = ChangeState
value = 11610
triggerall = command = "オロチ飛び道具2"
triggerall = statetype != A
triggerall = var(30) <= 0
trigger1 = ctrl
trigger2 = stateno = 200
trigger3 = stateno = 205
trigger4 = stateno = 235
trigger5 = stateno = 240
trigger6 = stateno = 245
trigger7 = stateno = 400
trigger8 = stateno = 410
trigger9 = stateno = 430
trigger10= stateno = 440
trigger11= stateno = 700 && animelem = 3,>=0
;===========================================================================
;オロチ飛び道具3
[State -1]
type = ChangeState
value = 3001
triggerall = command = "オロチ飛び道具3"
triggerall = enemy,stateno != 1205
triggerall = numhelper(3002) = 0
triggerall = statetype != A
triggerall = var(30) <= 0
trigger1 = ctrl
trigger2 = stateno = 200
trigger3 = stateno = 205
trigger4 = stateno = 235
trigger5 = stateno = 240
trigger6 = stateno = 245
trigger7 = stateno = 400
trigger8 = stateno = 410
trigger9 = stateno = 430
trigger10= stateno = 440
trigger11= stateno = 700 && animelem = 3,>=0
;===========================================================================
;ワープ
[State -1]
type = ChangeState
value = 1950
triggerall = palno = [7,12]
triggerall = command = "ワープ"
triggerall = statetype != A
triggerall = var(30) <= 0
trigger1 = ctrl
trigger2 = stateno = 200
trigger3 = stateno = 205
trigger4 = stateno = 235
trigger5 = stateno = 240
trigger6 = stateno = 245
trigger7 = stateno = 400
trigger8 = stateno = 410
trigger9 = stateno = 430
trigger10= stateno = 440
trigger11= stateno = 700 && animelem = 3,>=0
;===========================================================================
;ワープ
[State -1]
type = ChangeState
value = 25000
triggerall = palno != [7,12]
triggerall = command = "ワープ"
triggerall = statetype != A
triggerall = var(30) <= 0
trigger1 = ctrl
trigger2 = stateno = 200
trigger3 = stateno = 205
trigger4 = stateno = 235
trigger5 = stateno = 240
trigger6 = stateno = 245
trigger7 = stateno = 400
trigger8 = stateno = 410
trigger9 = stateno = 430
trigger10= stateno = 440
trigger11= stateno = 700 && animelem = 3,>=0
;===========================================================================
;バニシングラッシュ
[State -1]
type = ChangeState
value = 22115
triggerall = command = "バニシング"
triggerall = statetype != A
triggerall = var(30) <= 0
trigger1 = ctrl
trigger2 = stateno = 200
trigger3 = stateno = 205
trigger4 = stateno = 235
trigger5 = stateno = 240
trigger6 = stateno = 245
trigger7 = stateno = 400
trigger8 = stateno = 410
trigger9 = stateno = 430
trigger10= stateno = 440
trigger11= stateno = 700 && animelem = 3,>=0
;===========================================================================
;クレイスト・ピラー
[State -1]
type = ChangeState
value = 18100
triggerall = command = "クレイスト・ピラー"
triggerall = numhelper(18101) = 0
triggerall = enemy,stateno != 1205
triggerall = statetype != A
triggerall = var(30) <= 0
trigger1 = ctrl
trigger2 = stateno = 200
trigger3 = stateno = 205
trigger4 = stateno = 235
trigger5 = stateno = 240
trigger6 = stateno = 245
trigger7 = stateno = 400
trigger8 = stateno = 410
trigger9 = stateno = 430
trigger10= stateno = 440
trigger11= stateno = 700 && animelem = 3,>=0
;===========================================================================
;グラビティースフィア
[State -1]
type = ChangeState
value = 1700
triggerall = command = "グラビティー"
triggerall = numhelper(1720) = 0
triggerall = statetype != A
triggerall = var(30) <= 0
trigger1 = ctrl
trigger2 = stateno = 200
trigger3 = stateno = 205
trigger4 = stateno = 235
trigger5 = stateno = 240
trigger6 = stateno = 245
trigger7 = stateno = 400
trigger8 = stateno = 410
trigger9 = stateno = 430
trigger10= stateno = 440
trigger11= stateno = 700 && animelem = 3,>=0
;===========================================================================
;エクスプロージョンスフィアΩ
[State -1]
type = ChangeState
value = 1800
triggerall = command = "エクスプロージョンスフィアΩ"
triggerall = statetype != A
triggerall = var(30) <= 0
trigger1 = ctrl
trigger2 = stateno = 200
trigger3 = stateno = 205
trigger4 = stateno = 235
trigger5 = stateno = 240
trigger6 = stateno = 245
trigger7 = stateno = 400
trigger8 = stateno = 410
trigger9 = stateno = 430
trigger10= stateno = 440
trigger11= stateno = 700 && animelem = 3,>=0
;===========================================================================
;フォール
[State -1]
type = ChangeState
value = 11670
triggerall = command = "フォール"
triggerall = numhelper(11680) = 0
triggerall = numhelper(116800) = 0
triggerall = statetype != A
triggerall = var(30) <= 0
trigger1 = ctrl
trigger2 = stateno = 200
trigger3 = stateno = 205
trigger4 = stateno = 235
trigger5 = stateno = 240
trigger6 = stateno = 245
trigger7 = stateno = 400
trigger8 = stateno = 410
trigger9 = stateno = 430
trigger10= stateno = 440
trigger11= stateno = 700 && animelem = 3,>=0
;===========================================================================
;オロチ飛び道具4
[State -1]
type = ChangeState
value = 11650
triggerall = palno != [7,12]
triggerall = command = "強顕斎"
triggerall = statetype != A
triggerall = var(30) <= 0
trigger1 = ctrl
trigger2 = stateno = 200
trigger3 = stateno = 205
trigger4 = stateno = 235
trigger5 = stateno = 240
trigger6 = stateno = 245
trigger7 = stateno = 400
trigger8 = stateno = 410
trigger9 = stateno = 430
trigger10= stateno = 440
trigger11= stateno = 700 && animelem = 3,>=0
;===========================================================================
;強顕斎
[State -1]
type = ChangeState
value = 1200
triggerall = palno != [7,12]
triggerall = command = "強顕斎"
triggerall = statetype != A
triggerall = var(30) <= 0
trigger1 = ctrl
trigger2 = stateno = 200
trigger3 = stateno = 205
trigger4 = stateno = 235
trigger5 = stateno = 240
trigger6 = stateno = 245
trigger7 = stateno = 400
trigger8 = stateno = 410
trigger9 = stateno = 430
trigger10= stateno = 440
trigger11= stateno = 700 && animelem = 3,>=0
;===========================================================================
;弱顕斎
[State -1]
type = ChangeState
value = 11700
triggerall = palno = [7,12]
triggerall = command = "弱顕斎"
triggerall = statetype != A
triggerall = var(30) <= 0
trigger1 = ctrl
trigger2 = stateno = 200
trigger3 = stateno = 205
trigger4 = stateno = 235
trigger5 = stateno = 240
trigger6 = stateno = 245
trigger7 = stateno = 400
trigger8 = stateno = 410
trigger9 = stateno = 430
trigger10= stateno = 440
trigger11= stateno = 700 && animelem = 3,>=0
;===========================================================================
;弱顕斎
[State -1]
type = ChangeState
value = 1201
triggerall = palno != [7,12]
triggerall = command = "弱顕斎"
triggerall = statetype != A
triggerall = var(30) <= 0
trigger1 = ctrl
trigger2 = stateno = 200
trigger3 = stateno = 205
trigger4 = stateno = 235
trigger5 = stateno = 240
trigger6 = stateno = 245
trigger7 = stateno = 400
trigger8 = stateno = 410
trigger9 = stateno = 430
trigger10= stateno = 440
trigger11= stateno = 700 && animelem = 3,>=0
;===========================================================================
;ヘル・パニッシュ
[State -1]
type = ChangeState
value = 1100
triggerall = command = "ヘル・パニッシュ"
triggerall = statetype != A
triggerall = var(30) <= 0
trigger1 = ctrl
trigger2 = stateno = 200
trigger3 = stateno = 205
trigger4 = stateno = 235
trigger5 = stateno = 240
trigger6 = stateno = 245
trigger7 = stateno = 400
trigger8 = stateno = 410
trigger9 = stateno = 430
trigger10= stateno = 440
trigger11= stateno = 700 && animelem = 3,>=0
;===========================================================================
;エクスプローディングスフィア
[State -1]
type = ChangeState
value = 1250
triggerall = command = "エクスプローディングスフィア"
triggerall = statetype != A
triggerall = var(30) <= 0
trigger1 = ctrl
trigger2 = stateno = 200
trigger3 = stateno = 205
trigger4 = stateno = 235
trigger5 = stateno = 240
trigger6 = stateno = 245
trigger7 = stateno = 400
trigger8 = stateno = 410
trigger9 = stateno = 430
trigger10= stateno = 440
trigger11= stateno = 700 && animelem = 3,>=0
;===========================================================================
;マグネティックスフィア
[State -1]
type = ChangeState
value = 12300
triggerall = command = "マグネティックスフィア"
triggerall = numhelper(12310) = 0
triggerall = statetype != A
triggerall = var(30) <= 0
trigger1 = ctrl
trigger2 = stateno = 200
trigger3 = stateno = 205
trigger4 = stateno = 235
trigger5 = stateno = 240
trigger6 = stateno = 245
trigger7 = stateno = 400
trigger8 = stateno = 410
trigger9 = stateno = 430
trigger10= stateno = 440
trigger11= stateno = 700 && animelem = 3,>=0
;===========================================================================
;フォトンスフィア
[State -1]
type = ChangeState
value = 11101
triggerall = command = "フォトンスフィア"
triggerall = numhelper(11100) = 0
triggerall = statetype != A
triggerall = var(30) <= 0
trigger1 = ctrl
trigger2 = stateno = 200
trigger3 = stateno = 205
trigger4 = stateno = 235
trigger5 = stateno = 240
trigger6 = stateno = 245
trigger7 = stateno = 400
trigger8 = stateno = 410
trigger9 = stateno = 430
trigger10= stateno = 440
trigger11= stateno = 700 && animelem = 3,>=0
;===========================================================================
;光
[State -1]
type = ChangeState
value = 11500
triggerall = command = "光"
triggerall = numhelper(11500) = 0
triggerall = statetype != A
triggerall = var(30) <= 0
trigger1 = ctrl
trigger2 = stateno = 200
trigger3 = stateno = 205
trigger4 = stateno = 235
trigger5 = stateno = 240
trigger6 = stateno = 245
trigger7 = stateno = 400
trigger8 = stateno = 410
trigger9 = stateno = 430
trigger10= stateno = 440
trigger11= stateno = 700 && animelem = 3,>=0
;===========================================================================
;ウェベーリゼーション
[State -1]
type = ChangeState
value = 25555
triggerall = command = "ウェベーリゼーション"
triggerall = statetype != A
triggerall = var(30) <= 0
trigger1 = ctrl
trigger2 = stateno = 200
trigger3 = stateno = 205
trigger4 = stateno = 235
trigger5 = stateno = 240
trigger6 = stateno = 245
trigger7 = stateno = 400
trigger8 = stateno = 410
trigger9 = stateno = 430
trigger10= stateno = 440
trigger11= stateno = 700 && animelem = 3,>=0
;===========================================================================
;投げ
[State -1]
type = ChangeState
value = 800
triggerall = command = "y"
triggerall = command = "holdfwd" || command = "holdback"
triggerall = statetype != A
trigger1 = p2bodydist X < 20
trigger1 = p2statetype != A && p2movetype != H
trigger1 = ctrl
;===========================================================================
;ふっ飛ばし攻撃
[State -1]
type = ChangeState
value = 290
triggerall = var(30) <= 0
triggerall = command = "ふっ飛ばし"
triggerall = statetype = S
trigger1 = ctrl
;===========================================================================
;空中ふっ飛ばし攻撃
[State -1]
type = ChangeState
value = 690
triggerall = var(30) <= 0
triggerall = command = "ふっ飛ばし"
trigger1 = statetype = A
trigger1 = ctrl
;===========================================================================
;緊急回避後
[State -1]
type = ChangeState
value = 701
triggerall = var(30) <= 0
triggerall = command = "緊急回避後"
trigger1 = statetype != A
trigger1 = ctrl
;===========================================================================
;ガードキャンセル緊急回避後
[State -1]
type = ChangeState
value = 701
triggerall = var(30) <= 0
triggerall = command = "緊急回避後"
trigger1 = stateno = 150
trigger2 = stateno = 151
;===========================================================================
;ダッシュ
[State -1, Run Fwd]
type = ChangeState
value = 100
triggerall = var(30) <= 0
trigger1 = command = "FF"
trigger1 = statetype = S
trigger1 = ctrl
;===========================================================================
;後退ダッシュ
[State -1, Run Back]
type = ChangeState
value = 105
triggerall = var(30) <= 0
trigger1 = command = "BB"
trigger1 = statetype = S
trigger1 = ctrl
;===========================================================================
;タクティカルステップ
[State -1]
type = ChangeState
value = 700
triggerall = var(30) <= 0
triggerall = command = "緊急回避前"
trigger1 = statetype != A
trigger1 = ctrl
;===========================================================================
;ガードキャンセルタクティカルステップ
[State -1]
type = ChangeState
value = 700
triggerall = var(30) <= 0
triggerall = command = "緊急回避前"
trigger1 = stateno = 150
trigger2 = stateno = 151
;===========================================================================
;ダウン回避
[State -1]
type = ChangeState
value = 702
triggerall = var(30) <= 0
triggerall = command = "緊急回避前"
trigger1 = stateno = 5050
trigger1 = pos y >=-40
;===========================================================================
;基本技
;===========================================================================
[State -1]
type = ChangeState
value = 200
triggerall = var(30) <= 0
triggerall = command = "a"
triggerall = command != "holddown"
triggerall = P2dist X >50
triggerall = statetype = S
trigger1 = ctrl
trigger2 = stateno = 700 && animelem = 3,>=0

[State -1]
type = ChangeState
value = 205
triggerall = var(30) <= 0
triggerall = command = "a"
triggerall = command != "holddown"
triggerall = P2dist X <=50
triggerall = statetype = S
trigger1 = ctrl
trigger2 = stateno = 700 && animelem = 3,>=0

[State -1]
type = ChangeState
value = 210
triggerall = var(30) <= 0
triggerall = command = "b"
triggerall = command != "holddown"
triggerall = P2dist X >50
triggerall = statetype != A
trigger1 = ctrl
trigger2 = stateno = 700 && animelem = 3,>=0

[State -1]
type = ChangeState
value = 215
triggerall = var(30) <= 0
triggerall = command = "b"
triggerall = command != "holddown"
triggerall = P2dist X <=50
triggerall = statetype != A
trigger1 = ctrl
trigger2 = stateno = 700 && animelem = 3,>=0

[State -1]
type = ChangeState
value = 230
triggerall = var(30) <= 0
triggerall = command = "x"
triggerall = command != "holddown"
;triggerall = P2dist X >50
triggerall = statetype = S
trigger1 = ctrl
trigger2 = stateno = 700 && animelem = 3,>=0

[State -1]
type = null;ChangeState
value = 235
triggerall = var(30) <= 0
triggerall = command = "x"
triggerall = command != "holddown"
triggerall = P2dist X <=50
triggerall = statetype = S
trigger1 = ctrl
trigger2 = stateno = 700 && animelem = 3,>=0

[State -1]
type = ChangeState
value = 240
triggerall = var(30) <= 0
triggerall = command = "y"
triggerall = command != "holddown"
triggerall = statetype = S
trigger1 = ctrl
trigger2 = stateno = 700 && animelem = 3,>=0
trigger3 = stateno = 430

[State -1]
type = ChangeState
value = 400
triggerall = var(30) <= 0
triggerall = command = "a"
triggerall = command = "holddown"
triggerall = statetype = C
trigger1 = ctrl
trigger2 = stateno = 700 && animelem = 3,>=0

[State -1]
type = ChangeState
value = 410
triggerall = var(30) <= 0
triggerall = command = "b"
triggerall = command = "holddown"
triggerall = statetype = C
trigger1 = ctrl
trigger2 = stateno = 700 && animelem = 3,>=0

[State -1]
type = ChangeState
value = 430
triggerall = var(30) <= 0
triggerall = command = "x"
triggerall = command = "holddown"
triggerall = statetype = C
trigger1 = ctrl
trigger2 = stateno = 700 && animelem = 3,>=0

[State -1]
type = ChangeState
value = 440
triggerall = var(30) <= 0
triggerall = command = "y"
triggerall = command = "holddown"
triggerall = statetype = C
trigger1 = ctrl
trigger2 = stateno = 700 && animelem = 3,>=0

[State -1]
type = ChangeState
value = 440
triggerall = var(30) <= 0
triggerall = command = "z"
triggerall = command = "holddown"
triggerall = statetype = C
trigger1 = ctrl
trigger2 = stateno = 700 && animelem = 3,>=0

[State -1]
type = ChangeState
value = 600
triggerall = var(30) <= 0
triggerall = command = "a"
trigger1 = statetype = A
trigger1 = stateno != 106
trigger1 = ctrl

[State -1]
type = ChangeState
value = 610
triggerall = var(30) <= 0
triggerall = command = "b"
trigger1 = statetype = A
trigger1 = stateno != 106
trigger1 = ctrl

[State -1]
type = ChangeState
value = 630
triggerall = var(30) <= 0
triggerall = command = "c"
trigger1 = statetype = A
trigger1 = stateno != 106
trigger1 = ctrl

[State -1]
type = ChangeState
value = 640
triggerall = command = "x"
trigger1 = statetype = A
trigger1 = stateno != 106
trigger1 = ctrl
trigger1 = var(30) = 0

[State -1]
type = ChangeState
value = 640
triggerall = var(30) <= 0
triggerall = command = "y"
trigger1 = statetype = A
trigger1 = stateno != 106
trigger1 = ctrl

[State -1]
type = ChangeState
value = 640
triggerall = var(30) <= 0
triggerall = command = "z"
trigger1 = statetype = A
trigger1 = stateno != 106
trigger1 = ctrl

[State -1]
type = ChangeState
value = 195
triggerall = command = "start"
triggerall = statetype != A
trigger1 = ctrl
trigger1 = var(30) = 0
