;\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
;---------------------------------------------------------------------------
;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,F, a+b
time = 30

[Command]
name = "Dark ring"
command = ~D,F, x

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

[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, z
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 = "僕僃僲僒僀僪"
command = ~D,B, s
time = 30

;-| 昁嶦媄 |------------------------------------------------------
[Command]
name = "僄僋僗僾儘乕僨傿儞僌僗僼傿傾"
command = ~D,B, y+a+b
time = 25

[Command]
name = "僼僅僩儞僗僼傿傾"
command = ~D,F, b

[Command]
name = "閼閻拰4"
command = ~D,B, z
time = 25

[Command]
name = "閼閻拰3"
command = ~F,D,B, b
time = 25

[Command]
name = "閼閻拰2"
command = ~F,D,B, y
time = 25

[Command]
name = "閼閻拰1"
command = ~F,D,B, a
time = 25

[Command]
name = "閼閻拰0"
command = ~F,D,B, x
time = 25

[Command]
name = "僶僯僔儞僌"
command = ~D,B, c
time = 25

[Command]
name = "僆儘僠旘傃摴嬶"
command = ~D,F, y

[Command]
name = "僆儘僠旘傃摴嬶2"
command = ~D,B, y

[Command]
name = "僆儘僠旘傃摴嬶3"
command = ~D,F, z

[Command]
name = "僆儘僠旘傃摴嬶4"
command = ~F,D,DF, a

[Command]
name = "僂僃儀乕儕僛乕僔儑儞"
command = ~F,D,DF, b

[Command]
name = "僼僅乕儖"
command = ~B,D,DB, y

[Command]
name = "僌儔價僥傿乕"
command = ~D,B, x

[Command]
name = "岝"
command = ~D,B, a

[Command]
name = "僿儖丒僷僯僢僔儏"
command = ~D,B, b

[Command]
name = "僋儗僀僗僩丒僺儔乕"
command = ~D,F, a

[Command]
name = "嫮尠嵵"
command = ~D,B,D,B, y

[Command]
name = "儅僌僱僥傿僢僋僗僼傿傾"
command = ~D,F, s+y+a+b
time = 25

[Command]
name = "庛尠嵵"
command = ~D,D, s

[Command]
name = "儚乕僾"
command = ~D,D, x

[Command]
name = "儚乕僾"
command = ~D,D, y

[Command]
name = "儚乕僾"
command = ~D,D, z

[Command]
name = "儚乕僾"
command = ~D,D, a

[Command]
name = "儚乕僾"
command = ~D,D, b

[Command]
name = "儚乕僾"
command = ~D,D, c

[Command]
name = "嬞媫夞旔慜"
command = x+y
time = 1

[Command]
name = "嬞媫夞旔慜"
command = z
time = 1

[Command]
name = "嬞媫夞旔屻"
command = /$B,x+y
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 -3]
type = ChangeState
value = 105
triggerall = palno != [7,12]
triggerall = roundstate = 2
triggerall = Alive = 1
triggerall = var(30) = 1
triggerall = p2life > 0
triggerall = statetype != A && stateno != 105
triggerall = var(40)=2&&p2statetype=L||p2statetype!=A&&p2StateNo=5120||EnemyNear,statetype!=A&&EnemyNear,HitDefAttr=SC,NT,ST,HT||var(40)=2&&(EnemyNear,statetype=S||EnemyNear,statetype=C)
triggerall = p2BodyDist X = [-90,90]
triggerall = ctrl = 1
trigger1 = random <= (IfElse((EnemyNear,HitDefAttr = SC,NT,ST,HT),900,300)) + ((var(40)=[1,2])*30)
trigger2 = var(40)=2 && p2statetype = L && Random <= 100
trigger3 = var(40)=2 && (prevstateno=1260||prevstateno=1200||prevstateno=215||prevstateno=801)
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 = 30303
triggerall = command = "扼捞飘 府敲泛记"
triggerall = power >= 500
triggerall = statetype != A
triggerall = var(30) != 1
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, Strong Kung Fu Palm]
type = ChangeState
value = 40404
triggerall = command = "Dark ring"
triggerall = statetype != A
triggerall = var(30) != 1
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, Strong Kung Fu Palm]
type = ChangeState
value = 1301
triggerall = command = "bs"
triggerall = statetype != A
triggerall = var(30) != 1
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 = 2200
triggerall = palno = [11,12]
triggerall = palno !=11
triggerall = command = "僇僆僥傿僢僋丒僼儗傾"
triggerall = var(30) != 1
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) != 1
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) != 1
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) != 1
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) != 1
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) != 1
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) != 1
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) != 1
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) != 1
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) != 1
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) != 1
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) != 1
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) != 1
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) != 1
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) != 1
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 = null;ChangeState
value = 11800
triggerall = palno != [7,12]
triggerall = command = "僌儔價僥傿丒儂乕儖"
triggerall = var(30) != 1
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 = 3000
triggerall = palno != [7,12]
triggerall = command = "僨傿儊儞僔儑儞丒僇儔僾僗"
triggerall = var(30) != 1
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) != 1
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 = null;ChangeState
value = 2450
triggerall = palno != [7,12]
triggerall = command = "僷僯僢僔儏丒儗僀"
triggerall = var(30) != 1
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) != 1
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) != 1
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) != 1
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) != 1
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) != 1
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) != 1
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 = palno = [7,12]
triggerall = command = "僶僯僔儞僌"
triggerall = statetype != A
triggerall = var(30) != 1
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 = 22118
triggerall = palno != [7,12]
triggerall = command = "僶僯僔儞僌"
triggerall = statetype != A
triggerall = var(30) != 1
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) != 1
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) != 1
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) != 1
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) != 1
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) != 1
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) != 1
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) != 1
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) != 1
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) != 1
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) != 1
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) != 1
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) != 1
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) != 1
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) != 1
triggerall = command = "傆偭旘偽偟"
triggerall = statetype = S
trigger1 = ctrl
;===========================================================================
;嬻拞傆偭旘偽偟峌寕
[State -1]
type = ChangeState
value = 690
triggerall = var(30) != 1
triggerall = command = "傆偭旘偽偟"
trigger1 = statetype = A
trigger1 = ctrl
;===========================================================================
;嬞媫夞旔屻
[State -1]
type = ChangeState
value = 701
triggerall = var(30) != 1
triggerall = command = "嬞媫夞旔屻"
trigger1 = statetype != A
trigger1 = ctrl
;===========================================================================
;僈乕僪僉儍儞僙儖嬞媫夞旔屻
[State -1]
type = ChangeState
value = 701
triggerall = var(30) != 1
triggerall = command = "嬞媫夞旔屻"
trigger1 = stateno = 150
trigger2 = stateno = 151
;===========================================================================
;僟僢僔儏
[State -1, Run Fwd]
type = ChangeState
value = 100
triggerall = var(30) != 1
trigger1 = command = "FF"
trigger1 = statetype = S
trigger1 = ctrl
;===========================================================================
;屻戅僟僢僔儏
[State -1, Run Back]
type = ChangeState
value = 105
triggerall = var(30) != 1
trigger1 = command = "BB"
trigger1 = statetype = S
trigger1 = ctrl
;===========================================================================
;僞僋僥傿僇儖僗僥僢僾
[State -1]
type = ChangeState
value = 700
triggerall = var(30) != 1
triggerall = var(30) = 0
triggerall = command = "嬞媫夞旔慜"
trigger1 = statetype != A
trigger1 = ctrl
;===========================================================================
;僈乕僪僉儍儞僙儖僞僋僥傿僇儖僗僥僢僾
[State -1]
type = ChangeState
value = 700
triggerall = var(30) != 1
triggerall = command = "嬞媫夞旔慜"
trigger1 = stateno = 150
trigger2 = stateno = 151
;===========================================================================
;僟僂儞夞旔
[State -1]
type = ChangeState
value = 702
triggerall = var(30) != 1
triggerall = command = "嬞媫夞旔慜"
trigger1 = stateno = 5050
trigger1 = pos y >=-40
;===========================================================================
;婎杮媄
;===========================================================================
[State -1]
type = ChangeState
value = 200
triggerall = command = "a"
triggerall = command != "holddown"
triggerall = P2dist X >50
triggerall = statetype = S
trigger1 = ctrl
trigger1 = var(30) = 0
trigger2 = stateno = 700 && animelem = 3,>=0

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

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

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

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

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

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

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

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

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

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

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

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

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

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

[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 = command = "y"
trigger1 = statetype = A
trigger1 = stateno != 106
trigger1 = ctrl
trigger1 = var(30) = 0

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

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

;===========================================================================
[State -3, AssertSpecial]
type = AssertSpecial
trigger1 = alive
flag = nomusic

