;-| AI僗僀僢僠 (擖傟偰傞偩偗)|--------------------------------------------------------
[Command]
name = "CPU_01"
command = ~U,U,U,U,U,U,U,U,U,U,x
time = 0

[Command]
name = "CPU_02"
command = ~U,U,U,U,U,U,U,U,U,U,y
time = 0

[Command]
name = "CPU_03"
command = ~U,U,U,U,U,U,U,U,U,U,z
time = 0

[Command]
name = "CPU_04"
command = ~U,U,U,U,U,U,U,U,U,U,a
time = 0

[Command]
name = "CPU_05"
command = ~U,U,U,U,U,U,U,U,U,U,b
time = 0

[Command]
name = "CPU_06"
command = ~U,U,U,U,U,U,U,U,U,U,c
time = 0

[Command]
name = "CPU_07"
command = ~F,F,F,F,F,F,F,F,F,F,x
time = 0

[Command]
name = "CPU_08"
command = ~F,F,F,F,F,F,F,F,F,F,y
time = 0

[Command]
name = "CPU_09"
command = ~F,F,F,F,F,F,F,F,F,F,z
time = 0

[Command]
name = "CPU_10"
command = ~F,F,F,F,F,F,F,F,F,F,a
time = 0

[Command]
name = "CPU_11"
command = ~F,F,F,F,F,F,F,F,F,F,b
time = 0

[Command]
name = "CPU_12"
command = ~F,F,F,F,F,F,F,F,F,F,c
time = 0

[Command]
name = "CPU_13"
command = ~D,D,D,D,D,D,D,D,D,D,x
time = 0

[Command]
name = "CPU_14"
command = ~D,D,D,D,D,D,D,D,D,D,y
time = 0

[Command]
name = "CPU_15"
command = ~D,D,D,D,D,D,D,D,D,D,z
time = 0

[Command]
name = "CPU_16"
command = ~D,D,D,D,D,D,D,D,D,D,a
time = 0

[Command]
name = "CPU_17"
command = ~D,D,D,D,D,D,D,D,D,D,b
time = 0

[Command]
name = "CPU_18"
command = ~D,D,D,D,D,D,D,D,D,D,c
time = 0

[Command]
name = "CPU_19"
command = ~B,B,B,B,B,B,B,B,B,B,x
time = 0

[Command]
name = "CPU_20"
command = ~B,B,B,B,B,B,B,B,B,B,y
time = 0

[Command]
name = "CPU_21"
command = ~B,B,B,B,B,B,B,B,B,B,z
time = 0

[Command]
name = "CPU_22"
command = ~B,B,B,B,B,B,B,B,B,B,a
time = 0

[Command]
name = "CPU_23"
command = ~B,B,B,B,B,B,B,B,B,B,b
time = 0

[Command]
name = "CPU_24"
command = ~B,B,B,B,B,B,B,B,B,B,c
time = 0

[Command]
name = "CPU_25"
command = ~U,x,D,b,B,y,F,a
time = 0

[Command]
name = "CPU_26"
command = ~U,U,U,U,U,U,U,U,U,U,x+y
time = 0

[Command]
name = "CPU_27"
command = ~U,U,U,U,U,U,U,U,U,U,y+z
time = 0

[Command]
name = "CPU_28"
command = ~U,U,U,U,U,U,U,U,U,U,z+x
time = 0

[Command]
name = "CPU_29"
command = ~U,U,U,U,U,U,U,U,U,U,a+b
time = 0

[Command]
name = "CPU_30"
command = ~U,U,U,U,U,U,U,U,U,U,b+c
time = 0

[Command]
name = "CPU_31"
command = ~U,U,U,U,U,U,U,U,U,U,c+a
time = 0

[Command]
name = "CPU_32"
command = ~F,F,F,F,F,F,F,F,F,F,x+y
time = 0

[Command]
name = "CPU_33"
command = ~F,F,F,F,F,F,F,F,F,F,y+z
time = 0

[Command]
name = "CPU_34"
command = ~F,F,F,F,F,F,F,F,F,F,z+x
time = 0

[Command]
name = "CPU_35"
command = ~F,F,F,F,F,F,F,F,F,F,a+b
time = 0

[Command]
name = "CPU_36"
command = ~F,F,F,F,F,F,F,F,F,F,b+c
time = 0

[Command]
name = "CPU_37"
command = ~F,F,F,F,F,F,F,F,F,F,c+a
time = 0

[Command]
name = "CPU_38"
command = ~D,D,D,D,D,D,D,D,D,D,x+y
time = 0

[Command]
name = "CPU_39"
command = ~D,D,D,D,D,D,D,D,D,D,y+z
time = 0

[Command]
name = "CPU_40"
command = ~D,D,D,D,D,D,D,D,D,D,z+x
time = 0

[Command]
name = "CPU_41"
command = ~D,D,D,D,D,D,D,D,D,D,a+b
time = 0

[Command]
name = "CPU_42"
command = ~D,D,D,D,D,D,D,D,D,D,b+c
time = 0

[Command]
name = "CPU_43"
command = ~D,D,D,D,D,D,D,D,D,D,c+a
time = 0

[Command]
name = "CPU_44"
command = ~B,B,B,B,B,B,B,B,B,B,x+y
time = 0

[Command]
name = "CPU_45"
command = ~B,B,B,B,B,B,B,B,B,B,y+z
time = 0

[Command]
name = "CPU_46"
command = ~B,B,B,B,B,B,B,B,B,B,z+x
time = 0

[Command]
name = "CPU_47"
command = ~B,B,B,B,B,B,B,B,B,B,a+b
time = 0

[Command]
name = "CPU_48"
command = ~B,B,B,B,B,B,B,B,B,B,b+c
time = 0

[Command]
name = "CPU_49"
command = ~B,B,B,B,B,B,B,B,B,B,c+a
time = 0

[Command];偙偺僐儅儞僪傢偐傞恖偄傞偐側丠
name = "CPU_50"
command = ~y,a,b,a,y,a,b,a
time = 0




;仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭
;仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭mapelao婰弎偙偙偐傜/
;仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭mapelao婰弎偙偙偐傜/mapelao婰弎偙偙偐傜/
;仭仭仭仭仭仭仭仭仭仭mapelao婰弎偙偙偐傜/mapelao婰弎偙偙偐傜/mapelao婰弎偙偙偐傜/

;仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭
;挻昁嶦媄丅
;仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭

;瑕愇棊偪傞揑側丅
[Command]
name = "mapelao-崀"
command = ~D,DB,B,F,x
[Command]
name = "mapelao-崀"
command = ~D,DB,B,F,y



;偍乕偍乕傒乕傢乕丅
[Command]
name = "mapelao-戝恄"
command = ~F,DF,D,DB,B,F,DF,D,DB,B,x
[Command]
name = "mapelao-戝恄"
command = ~F,DF,D,DB,B,F,DF,D,DB,B,y

;偍乕偍乕傑乕傠乕丅
[Command]
name = "mapelao-戝崿"
command = ~F,DF,D,DB,B,F,DF,D,DB,B,a
[Command]
name = "mapelao-戝崿"
command = ~F,DF,D,DB,B,F,DF,D,DB,B,b



;傑乕傠乕偐乕傟乕丅
[Command]
name = "mapelao-崿01"
command = ~D,DF,F,D,DF,F,x
[Command]
name = "mapelao-崿02"
command = ~D,DF,F,D,DF,F,y

;價乕儉偲丄拰丅
[Command]
name = "mapelao-幩"
command = ~D,DF,F,D,DF,F,a
[Command]
name = "mapelao-朑"
command = ~D,DF,F,D,DF,F,b



;仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭
;昁嶦媄丅
;仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭

;嬀曻偭偰傞億乕僘丅
[Command]
name = "mapelao001"
command = ~F,D,DF,x
[Command]
name = "mapelao002"
command = ~F,D,DF,y
[Command]
name = "mapelao003"
command = ~B,D,DB,x
[Command]
name = "mapelao004"
command = ~B,D,DB,y



;儚乕僾丅
[Command]
name = "mapelao005"
command = ~D,D,x
[Command]
name = "mapelao006"
command = ~D,D,y
[Command]
name = "mapelao007"
command = ~D,D,a
[Command]
name = "mapelao008"
command = ~D,D,b



;壩拰丅
[Command]
name = "mapelao009"
command = ~F,DF,D,DB,B,x
[Command]
name = "mapelao010"
command = ~F,DF,D,DB,B,y
[Command]
name = "mapelao011"
command = ~F,DF,D,DB,B,a
[Command]
name = "mapelao012"
command = ~F,DF,D,DB,B,b



;旘傃摴嬶娭學丅
[Command]
name = "mapelao013"
command = ~D,DF,F,x
[Command]
name = "mapelao014"
command = ~D,DF,F,y
[Command]
name = "mapelao015"
command = ~F,B,DB,D,DF,F,x
[Command]
name = "mapelao016"
command = ~F,B,DB,D,DF,F,y



;偦偺懠帺桼宍幃丅
[Command]
name = "mapelao017"
command = ~D,DF,F,a
[Command]
name = "mapelao018"
command = ~D,DF,F,b
[Command]
name = "mapelao019"
command = ~F,B,DB,D,DF,F,a
[Command]
name = "mapelao019"
command = ~F,B,DB,D,DF,F,b



;仭仭仭仭仭仭仭仭仭仭mapelao婰弎偙偙傑偱/mapelao婰弎偙偙傑偱/mapelao婰弎偙偙傑偱/
;仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭mapelao婰弎偙偙傑偱/mapelao婰弎偙偙傑偱/
;仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭mapelao婰弎偙偙傑偱/
;仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭






;----------------------------------------------------------------------------
; GGG婰弎偙偙偐傜乕

[Command]
name = "曄恎"
command = ~D, F, D, F, z
time = 25


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

[Command]
name = "撍恑媄"
command = ~D, DF, F, c
time = 15

[Command]
name = "嵃偮傇偟"
command = ~F, D, B, a+b
time = 25

[Command]
name = "昁嶦搳偘"
command = ~D, F, D, F, a
time = 25

[Command]
name = "昁嶦搳偘"
command = ~D, F, D, F, b
time = 25

[Command]
name = "愝抲"
command = ~D, F, D, F, x
time = 25

[Command]
name = "愝抲"
command = ~D, F, D, F, y
time = 25

[Command]
name = "崿2"
command = ~D, B, D, B, x
time = 25

[Command]
name = "崿2"
command = ~D, B, D, B, y
time = 25


;-| 挻昁嶦媄 |--------------------------------------------------------




;-| 昁嶦媄 |------------------------------------------------------



[Command]
name = "楢寕"
command = ~D, DF, F, b
time = 15


[Command]
name = "楢寕"
command = ~D, DF, F, a
time = 15



[Command]
name = "夝彍"
command = ~D, DF, F, y
time = 15

[Command]
name = "夝彍"
command = ~D, DF, F, x
time = 15

[Command]
name = "壩鑼崀"
command = ~D,DB,B, y
time = 15

[Command]
name = "壩鑼崀"
command = ~D,DB,B, x
time = 15


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

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

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

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

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

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





[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"     
command = F, F
time = 10

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

;-| 俀丒俁屄偺摨帪墴偟媄 |-----------------------------------------------
[Command]
name = "僎乕僕棴傔敪摦"
command = z+c
time = 1

[Command]
name = "recovery"
command = x+y
time = 1

[Command]
name = "搳偘"
command = y+b
time = 1

[Command]
name = "傆偭旘偽偟"
command = c
time = 1

[Command]
name = "MAX"
command = a+y
time = 1

[Command]
name = "僗僩儔僀僇乕"
command = a+y
time = 1

[Command]
name = "偍偟偭傁側偟x"
command = /$x
time = 1

[Command]
name = "偍偟偭傁側偟y"
command = /$y
time = 1

[Command]
name = "偍偟偭傁側偟a"
command = /$a
time = 1

[Command]
name = "偍偟偭傁側偟b"
command = /$b
time = 1

[Command]
name = "偍偟偭傁側偟z"
command = /$z
time = 1

[Command]
name = "偍偟偭傁側偟c"
command = /$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 = "start"
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]
;丒曄悢巊梡
;丂1 = 僉儍儔僋僞乕偺儌乕僪曄峏
;丂2 = 彑棙億乕僘曄峏
;丂3 = 僋僀僢僋MAX敾掕
;丂4 = 僗儘乕張棟
;丂5 = 嫮庛儃僞儞敾掕
;丂6 = 捠忢峌寕儃僀僗丄棎悢巜掕
;丂7 = 壩鑼崀僐儅儞僪庴晅敾掕
;丂8 = MAX敪摦敾掕
;丂9 = MAX敪摦帪偺僷儚乕僙僢僩(壖)
; 10 = 僾儗僀儎乕偺岦偒愝掕
; 11 = MAX敪摦僐儅儞僪敾掕
; 12 = KO僒僂儞僪
; 13 = 壩鑼崀楢懕僟儊乕僕婯惂
; 14 = 崿僸僢僩僇僂儞僩娭學
; 15 = 僴僀僕儍儞僾
; 16 = 彫僕儍儞僾
; 17 = 僟儊乕僕曗惓偵巊梡
; 18 = 僆儘僠壩拰夞悢
; 19 = 攚宨偺僼僃乕僪僀儞丄僼僃乕僪傾僂僩
; 20 = MAX挻僸僢僩敾掕
;
; 30 = AI敾掕(偵偟偨偄側乧)



;AI梡僗僀僢僠
[State -1, AIflg]
type = VarSet
triggerall = var(59) != 1
trigger1 = command = "CPU_01"
trigger2 = command = "CPU_02"
trigger3 = command = "CPU_03"
trigger4 = command = "CPU_04"
trigger5 = command = "CPU_05"
trigger6 = command = "CPU_06"
trigger7 = command = "CPU_07"
trigger8 = command = "CPU_08"
trigger9 = command = "CPU_09"
trigger10= command = "CPU_10"
trigger11= command = "CPU_11"
trigger12= command = "CPU_12"
trigger13= command = "CPU_13"
trigger14= command = "CPU_14"
trigger15= command = "CPU_15"
trigger16= command = "CPU_16"
trigger17= command = "CPU_17"
trigger18= command = "CPU_18"
trigger19= command = "CPU_19"
trigger20= command = "CPU_20"
trigger21= command = "CPU_21"
trigger22= command = "CPU_22"
trigger23= command = "CPU_23"
trigger24= command = "CPU_24"
trigger25= command = "CPU_25"
trigger26= command = "CPU_26"
trigger27= command = "CPU_27"
trigger28= command = "CPU_28"
trigger29= command = "CPU_29"
trigger30= command = "CPU_30"
trigger31= command = "CPU_31"
trigger32= command = "CPU_32"
trigger33= command = "CPU_33"
trigger34= command = "CPU_34"
trigger35= command = "CPU_35"
trigger36= command = "CPU_36"
trigger37= command = "CPU_37"
trigger38= command = "CPU_38"
trigger39= command = "CPU_39"
trigger40= command = "CPU_40"
trigger41= command = "CPU_41"
trigger42= command = "CPU_42"
trigger43= command = "CPU_43"
trigger44= command = "CPU_44"
trigger45= command = "CPU_45"
trigger46= command = "CPU_46"
trigger47= command = "CPU_47"
trigger48= command = "CPU_48"
trigger49= command = "CPU_49"
trigger50= command = "CPU_50"
v =  59
value = 1





;仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭
;仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭mapelao婰弎偙偙偐傜/
;仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭mapelao婰弎偙偙偐傜/mapelao婰弎偙偙偐傜/
;仭仭仭仭仭仭仭仭仭仭mapelao婰弎偙偙偐傜/mapelao婰弎偙偙偐傜/mapelao婰弎偙偙偐傜/

;仧仧仧仧仧仧仧仧仧仧仧仧仧仧仧仧仧仧仧仧仧仧仧仧仧仧仧仧仧仧
;AI愱梡丅
;仧仧仧仧仧仧仧仧仧仧仧仧仧仧仧仧仧仧仧仧仧仧仧仧仧仧仧仧仧仧

;仠仠仠仠仠仠仠仠仠仠仠仠仠仠仠仠仠仠仠仠
;婰弎曗彆丅
;仠仠仠仠仠仠仠仠仠仠仠仠仠仠仠仠仠仠仠仠

;AI抁弅婰弎梡丒忦審曐懚曄悢丅
[state ]
type=varset
triggerall=var(58)=2
triggerall=var(59)=1
trigger1=1
var(32)=0
ignorehitpause=1
[state ]
type=varset
triggerall=var(58)=2
triggerall=var(59)=1
triggerall=statetype!=a
trigger1=ctrl
trigger2=stateno=6200&&movecontact
trigger3=stateno=6205&&movecontact
trigger4=stateno=6210&&movecontact
trigger5=stateno=6215&&movecontact
trigger6=stateno=6230&&animelemtime(4)>=0&&movecontact
trigger7=stateno=6235&&animelemtime(4)>=0&&movecontact
trigger8=stateno=6240&&animelemtime(4)>=0&&movecontact
trigger9=stateno=6400&&movecontact
trigger10=stateno=6410&&animelemtime(7)>=0&&movecontact
trigger11=stateno=6430&&movecontact
trigger12=stateno=6440&&movecontact
trigger13=stateno=21401&&time>=20
trigger14=stateno=21501&&time>=20
trigger15=stateno=21601&&time>=20
trigger16=stateno=21701&&time>=20
var(32)=1
ignorehitpause=1
[state ]
type=varset
triggerall=var(58)=2
triggerall=var(59)=1
triggerall=statetype=a
trigger1=ctrl
trigger2=stateno=6200&&movecontact
trigger3=stateno=6205&&movecontact
trigger4=stateno=6210&&movecontact
trigger5=stateno=6215&&movecontact
trigger6=stateno=6230&&animelemtime(4)>=0&&movecontact
trigger7=stateno=6235&&animelemtime(4)>=0&&movecontact
trigger8=stateno=6240&&animelemtime(4)>=0&&movecontact
trigger9=stateno=6400&&movecontact
trigger10=stateno=6410&&animelemtime(7)>=0&&movecontact
trigger11=stateno=6430&&movecontact
trigger12=stateno=6440&&movecontact
trigger13=stateno=21401&&time>=20
trigger14=stateno=21501&&time>=20
trigger15=stateno=21601&&time>=20
trigger16=stateno=21701&&time>=20
var(32)=2
ignorehitpause=1


;仠仠仠仠仠仠仠仠仠仠仠仠仠仠仠仠仠仠仠仠
;僠僃儞僕媄婰弎丅
;仠仠仠仠仠仠仠仠仠仠仠仠仠仠仠仠仠仠仠仠

;僗僥乕僩堏摦丅
[state ]
type=changestate
value=22800
triggerall=var(58)=2
triggerall=var(59)=1&&roundstate=2
triggerall=statetype!=a
triggerall=var(32)=1
trigger1=var(40)>=1200;専嶕梡婰弎丅
[state ]
type=varset
triggerall=var(58)!=2
trigger1=1
var(40)=0
ignorehitpause=1
[state ]
type=varadd
triggerall=var(58)=2
trigger1=1
var(40)=1
ignorehitpause=1


;仠仠仠仠仠仠仠仠仠仠仠仠仠仠仠仠仠仠仠仠
;挻昁嶦媄婰弎丅
;仠仠仠仠仠仠仠仠仠仠仠仠仠仠仠仠仠仠仠仠

;挻昁嶦媄敪摦悢僇僂儞僩丅
[state ]
type=varadd
triggerall=var(58)=2
triggerall=var(59)=1&&roundstate=2
triggerall=animelemtime(1)=1
trigger1=stateno=26000
trigger2=stateno=26100
trigger3=stateno=26300
trigger4=stateno=26400
trigger5=stateno=26200
trigger6=stateno=26600
var(39)=1
ignorehitpause=1
[state ]
type=varset
triggerall=var(59)=1&&roundstate=2
trigger1=stateno=26500
var(39)=0
ignorehitpause=1



;Lv3僗僥乕僩堏摦丅
[state ]
type=changestate
value=26500
triggerall=var(58)=2
triggerall=var(59)=1&&roundstate=2
triggerall=power>=3000
triggerall=statetype!=a
triggerall=var(32)=1
trigger1=enemynear,statetype!=a

;Lv2僗僥乕僩堏摦丅
[state ]
type=changestate
value=26200
triggerall=var(58)=2
triggerall=var(59)=1&&roundstate=2
triggerall=power>=2000
triggerall=statetype!=a
triggerall=var(32)=1
triggerall=var(39)<=2
trigger1=enemynear,statetype!=a
[state ]
type=changestate
value=26600
triggerall=var(58)=2
triggerall=var(59)=1&&roundstate=2
triggerall=power>=2000
triggerall=statetype!=a
triggerall=var(32)=1
triggerall=var(39)<=2
trigger1=1

;Lv1僗僥乕僩堏摦丅
[state ]
type=changestate
value=26000+100*(random<500)
triggerall=var(58)=2
triggerall=var(59)=1&&roundstate=2
triggerall=power>=1000
triggerall=statetype!=a
triggerall=var(32)=1
triggerall=var(39)<=1
trigger1=enemynear,movetype=h
trigger1=enemynear,pos y>-120
[state ]
type=changestate
value=26400
triggerall=var(58)=2
triggerall=var(59)=1&&roundstate=2
triggerall=power>=1000
triggerall=statetype!=a
triggerall=var(32)=1
triggerall=var(39)<=0
trigger1=enemynear,movetype=h
trigger1=random<400
[state ]
type=changestate
value=26300
triggerall=var(58)=2
triggerall=var(59)=1&&roundstate=2
triggerall=power>=1000
triggerall=statetype!=a
triggerall=var(32)=1
triggerall=var(39)<=0
trigger1=1


;仠仠仠仠仠仠仠仠仠仠仠仠仠仠仠仠仠仠仠仠
;捠忢丒昁嶦媄婰弎丅
;仠仠仠仠仠仠仠仠仠仠仠仠仠仠仠仠仠仠仠仠

;var(33)=1丄庛僷儞僠丅
;var(33)=2丄庛僉僢僋丅
;var(33)=3丄嫮僉僢僋丅
;var(33)=4丄儚乕僾丅
;var(33)=5丄5杮偺價乕儉丅
;var(33)=6丄儂乕儈儞僌壩拰丅
;var(33)=7丄杺朄恮偄偭傁偄旘偽偡旘傃摴嬶丅
;var(33)=8丄恓偽傜傑偔抏丅
;var(33)=9丄幬傔5杮偺價乕儉丅
;var(33)=10丄壓悈傒偨偄側抏丅
;var(33)=11丄恓傇偭旘偽偡儂乕儈儞僌抏丅
;var(33)=12丄儂乕儈儞僌壩拰丅
;var(33)=13丄嵶挿偄杺朄恮傪旘偽偡旘傃摴嬶丅
;var(33)=14丄恓傇偭旘偽偡儂乕儈儞僌抏丅
;var(33)=15丄杺朄恮偄偭傁偄旘偽偡旘傃摴嬶丅
;var(33)=16丄3偮偺岝偱愝抲媄丅
;var(33)=17丄拵傒偨偄側婳摴偺愝抲媄丅
;var(33)=18丄壓悈傒偨偄側抏丅
;var(33)=19丄幬傔5杮偺價乕儉屻丅
;var(33)=20丄儂乕儈儞僌壩拰丅
;var(33)=21丄儚乕僾丅
;var(33)=22丄懌尦偵杺朄恮價乕儉丅
;var(33)=23丄儚乕僾丅
;var(33)=24丄嫮僷儞僠丅

;媄偲媄偺崌娫偵僽儔儞僋嶌傞偨傔偺僔乕僋僃儞僗丅
[state ]
type=varset
triggerall=var(58)=2
triggerall=var(59)=1&&roundstate=2
trigger1=1
var(38)=random%2
ignorehitpause=1
[state ]
type=varset
triggerall=var(58)=2
triggerall=var(59)=1&&roundstate=2
triggerall=var(36)!=1
trigger1=1
var(34)=var(33)
ignorehitpause=1
[state ]
type=varset
triggerall=var(58)=2
triggerall=var(59)=1&&roundstate=2
triggerall=var(36)!=1
trigger1=1
var(37)=0
ignorehitpause=1
[state ]
type=varadd
triggerall=var(58)=2
triggerall=var(59)=1&&roundstate=2
triggerall=var(36)=1
trigger1=1
var(37)=1
ignorehitpause=1



;var(33)=25丄搳偘媄屻丅
[state ]
type=varset
triggerall=var(58)=2
triggerall=var(59)=1&&roundstate=2
triggerall=var(33)=25
triggerall=statetype!=a&&ctrl
trigger1=1
var(33)=0
ignorehitpause=1

;var(33)=24丄嫮僷儞僠屻丅
[state ]
type=varset
triggerall=var(58)=2
triggerall=var(59)=1&&roundstate=2
triggerall=var(33)=24
triggerall=statetype!=a&&ctrl
trigger1=1
var(33)=0
ignorehitpause=1

;var(33)=23丄儚乕僾屻丅
[state ]
type=varset
triggerall=var(58)=2
triggerall=var(59)=1&&roundstate=2
triggerall=var(33)=23
triggerall=statetype!=a&&ctrl
trigger1=1
var(33)=0
ignorehitpause=1

;var(33)=22丄懌尦偵杺朄恮價乕儉屻丅
[state ]
type=varset
triggerall=var(58)=2
triggerall=var(59)=1&&roundstate=2
triggerall=var(33)=22
triggerall=statetype!=a&&ctrl
trigger1=1
var(33)=23
ignorehitpause=1
[state ]
type=varset
triggerall=var(58)=2
triggerall=var(59)=1&&roundstate=2
triggerall=var(33)=22
triggerall=statetype!=a&&ctrl
trigger1=1
var(33)=0
ignorehitpause=1

;var(33)=21丄儚乕僾屻丅
[state ]
type=varset
triggerall=var(58)=2
triggerall=var(59)=1&&roundstate=2
triggerall=var(33)=21
triggerall=statetype!=a&&ctrl
trigger1=1
var(33)=0
ignorehitpause=1

;var(33)=20丄儂乕儈儞僌壩拰屻丅
[state ]
type=varset
triggerall=var(58)=2
triggerall=var(59)=1&&roundstate=2
triggerall=var(33)=20
triggerall=statetype!=a&&ctrl
trigger1=1
var(33)=21
ignorehitpause=1
[state ]
type=varset
triggerall=var(58)=2
triggerall=var(59)=1&&roundstate=2
triggerall=var(33)=20
triggerall=statetype!=a&&ctrl
trigger1=1
var(33)=0
ignorehitpause=1

;var(33)=19丄幬傔5杮偺價乕儉屻丅
[state ]
type=varset
triggerall=var(58)=2
triggerall=var(59)=1&&roundstate=2
triggerall=var(33)=19
triggerall=statetype!=a&&ctrl
triggerall=numhelper(22301)=0&&numhelper(22302)=0
trigger1=1
var(33)=20
ignorehitpause=1
[state ]
type=varset
triggerall=var(58)=2
triggerall=var(59)=1&&roundstate=2
triggerall=var(33)=19
triggerall=statetype!=a&&ctrl
trigger1=1
var(33)=0
ignorehitpause=1

;var(33)=18丄壓悈傒偨偄側抏屻丅
[state ]
type=varset
triggerall=var(58)=2
triggerall=var(59)=1&&roundstate=2
triggerall=var(33)=18
triggerall=statetype!=a&&ctrl
trigger1=1
var(33)=19
ignorehitpause=1
[state ]
type=varset
triggerall=var(58)=2
triggerall=var(59)=1&&roundstate=2
triggerall=var(33)=18
triggerall=statetype!=a&&ctrl
trigger1=1
var(33)=0
ignorehitpause=1

;var(33)=17丄拵傒偨偄側婳摴偺愝抲媄屻丅
[state ]
type=varset
triggerall=var(58)=2
triggerall=var(59)=1&&roundstate=2
triggerall=var(33)=17
triggerall=statetype!=a&&ctrl
trigger1=1
var(33)=19
ignorehitpause=1
[state ]
type=varset
triggerall=var(58)=2
triggerall=var(59)=1&&roundstate=2
triggerall=var(33)=17
triggerall=statetype!=a&&ctrl
trigger1=1
var(33)=0
ignorehitpause=1

;var(33)=16丄3偮偺岝偱愝抲媄屻丅
[state ]
type=varset
triggerall=var(58)=2
triggerall=var(59)=1&&roundstate=2
triggerall=var(33)=16
triggerall=statetype!=a&&ctrl
trigger1=facing*(enemynear,screenpos x-screenpos x)<=120
var(33)=18
ignorehitpause=1
[state ]
type=varset
triggerall=var(58)=2
triggerall=var(59)=1&&roundstate=2
triggerall=var(33)=16
triggerall=statetype!=a&&ctrl
trigger1=1
var(33)=19
ignorehitpause=1
[state ]
type=varset
triggerall=var(58)=2
triggerall=var(59)=1&&roundstate=2
triggerall=var(33)=16
triggerall=statetype!=a&&ctrl
trigger1=1
var(33)=0
ignorehitpause=1

;var(33)=15丄杺朄恮偄偭傁偄旘偽偡旘傃摴嬶屻丅
[state ]
type=varset
triggerall=var(58)=2
triggerall=var(59)=1&&roundstate=2
triggerall=var(33)=15
triggerall=statetype!=a&&ctrl
trigger1=1
var(33)=16
ignorehitpause=1
[state ]
type=varset
triggerall=var(58)=2
triggerall=var(59)=1&&roundstate=2
triggerall=var(33)=15
triggerall=statetype!=a&&ctrl
trigger1=1
var(33)=0
ignorehitpause=1

;var(33)=14丄恓傇偭旘偽偡儂乕儈儞僌抏屻丅
[state ]
type=varset
triggerall=var(58)=2
triggerall=var(59)=1&&roundstate=2
triggerall=var(33)=14
triggerall=statetype!=a&&ctrl
triggerall=numhelper(22301)=0&&numhelper(22302)=0
trigger1=1
var(33)=15
ignorehitpause=1
[state ]
type=varset
triggerall=var(58)=2
triggerall=var(59)=1&&roundstate=2
triggerall=var(33)=14
triggerall=statetype!=a&&ctrl
trigger1=1
var(33)=0
ignorehitpause=1

;var(33)=13丄嵶挿偄杺朄恮傪旘偽偡旘傃摴嬶屻丅
[state ]
type=varset
triggerall=var(58)=2
triggerall=var(59)=1&&roundstate=2
triggerall=var(33)=13
triggerall=statetype!=a&&ctrl
trigger1=1
var(33)=14
ignorehitpause=1
[state ]
type=varset
triggerall=var(58)=2
triggerall=var(59)=1&&roundstate=2
triggerall=var(33)=13
triggerall=statetype!=a&&ctrl
trigger1=1
var(33)=0
ignorehitpause=1

;var(33)=12丄儂乕儈儞僌壩拰屻丅
[state ]
type=varset
triggerall=var(58)=2
triggerall=var(59)=1&&roundstate=2
triggerall=var(33)=12
triggerall=statetype!=a&&ctrl
trigger1=1
var(33)=0
ignorehitpause=1

;var(33)=11丄恓傇偭旘偽偡儂乕儈儞僌抏屻丅
[state ]
type=varset
triggerall=var(58)=2
triggerall=var(59)=1&&roundstate=2
triggerall=var(33)=11
triggerall=statetype!=a&&ctrl
trigger1=1
var(33)=12
ignorehitpause=1
[state ]
type=varset
triggerall=var(58)=2
triggerall=var(59)=1&&roundstate=2
triggerall=var(33)=11
triggerall=statetype!=a&&ctrl
trigger1=1
var(33)=0
ignorehitpause=1

;var(33)=10丄壓悈傒偨偄側抏屻丅
[state ]
type=varset
triggerall=var(58)=2
triggerall=var(59)=1&&roundstate=2
triggerall=var(33)=10
triggerall=statetype!=a&&ctrl
trigger1=1
var(33)=11
ignorehitpause=1
[state ]
type=varset
triggerall=var(58)=2
triggerall=var(59)=1&&roundstate=2
triggerall=var(33)=10
triggerall=statetype!=a&&ctrl
trigger1=1
var(33)=0
ignorehitpause=1

;var(33)=9丄幬傔5杮偺價乕儉屻丅
[state ]
type=varset
triggerall=var(58)=2
triggerall=var(59)=1&&roundstate=2
triggerall=var(33)=9
triggerall=statetype!=a&&ctrl
trigger1=1
var(33)=10
ignorehitpause=1
[state ]
type=varset
triggerall=var(58)=2
triggerall=var(59)=1&&roundstate=2
triggerall=var(33)=9
triggerall=statetype!=a&&ctrl
trigger1=1
var(33)=0
ignorehitpause=1

;var(33)=8丄恓偽傜傑偔抏屻丅
[state ]
type=varset
triggerall=var(58)=2
triggerall=var(59)=1&&roundstate=2
triggerall=var(33)=8
triggerall=statetype!=a&&ctrl
trigger1=1
var(33)=0
ignorehitpause=1

;var(33)=7丄杺朄恮偄偭傁偄旘偽偡旘傃摴嬶屻丅
[state ]
type=varset
triggerall=var(58)=2
triggerall=var(59)=1&&roundstate=2
triggerall=var(33)=7
triggerall=statetype!=a&&ctrl
trigger1=1
var(33)=8
ignorehitpause=1
[state ]
type=varset
triggerall=var(58)=2
triggerall=var(59)=1&&roundstate=2
triggerall=var(33)=7
triggerall=statetype!=a&&ctrl
trigger1=1
var(33)=0
ignorehitpause=1

;var(33)=6丄儂乕儈儞僌壩拰屻丅
[state ]
type=varset
triggerall=var(58)=2
triggerall=var(59)=1&&roundstate=2
triggerall=var(33)=6
triggerall=statetype!=a&&ctrl
triggerall=numhelper(22301)=0&&numhelper(22302)=0
trigger1=1
var(33)=7
ignorehitpause=1
[state ]
type=varset
triggerall=var(58)=2
triggerall=var(59)=1&&roundstate=2
triggerall=var(33)=6
triggerall=statetype!=a&&ctrl
trigger1=1
var(33)=0
ignorehitpause=1

;var(33)=5丄5杮偺價乕儉屻丅
[state ]
type=varset
triggerall=var(58)=2
triggerall=var(59)=1&&roundstate=2
triggerall=var(33)=5
triggerall=statetype!=a&&ctrl
trigger1=1
var(33)=9
ignorehitpause=1
[state ]
type=varset
triggerall=var(58)=2
triggerall=var(59)=1&&roundstate=2
triggerall=var(33)=5
triggerall=statetype!=a&&ctrl
trigger1=1
var(33)=0
ignorehitpause=1

;var(33)=4丄儚乕僾屻丅
[state ]
type=varset
triggerall=var(58)=2
triggerall=var(59)=1&&roundstate=2
triggerall=var(33)=4
triggerall=time>=20&&(stateno=21401||stateno=21501||stateno=21601||stateno=21701)
trigger1=1
var(33)=6
ignorehitpause=1
[state ]
type=varset
triggerall=var(58)=2
triggerall=var(59)=1&&roundstate=2
triggerall=var(33)=4
triggerall=statetype!=a&&ctrl
trigger1=1
var(33)=0
ignorehitpause=1

;var(33)=3丄嫮僉僢僋屻丅
[state ]
type=varset
triggerall=var(58)=2
triggerall=var(59)=1&&roundstate=2
triggerall=var(33)=3
triggerall=stateno=6240&&animelemtime(4)>=0&&movecontact
trigger1=animelemtime(5)>=0
trigger1=facing*(enemynear,screenpos x-screenpos x)<=70
var(33)=4
ignorehitpause=1
[state ]
type=varset
triggerall=var(58)=2
triggerall=var(59)=1&&roundstate=2
triggerall=var(33)=3
triggerall=stateno=6240&&animelemtime(4)>=0&&movecontact
trigger1=animelemtime(5)>=0
var(33)=5
ignorehitpause=1
[state ]
type=varset
triggerall=var(58)=2
triggerall=var(59)=1&&roundstate=2
triggerall=var(33)=3
triggerall=statetype!=a&&ctrl
trigger1=1
var(33)=0
ignorehitpause=1

;var(33)=2丄庛僉僢僋屻丅
[state ]
type=varset
triggerall=var(58)=2
triggerall=var(59)=1&&roundstate=2
triggerall=var(33)=2
triggerall=(stateno=6230||stateno=6235)&&movecontact
trigger1=facing*(enemynear,screenpos x-screenpos x)<=90
var(33)=3
ignorehitpause=1
[state ]
type=varset
triggerall=var(58)=2
triggerall=var(59)=1&&roundstate=2
triggerall=var(33)=2
triggerall=(stateno=6230||stateno=6235)&&movecontact
trigger1=facing*(enemynear,screenpos x-screenpos x)<=90
var(33)=24
ignorehitpause=1
[state ]
type=varset
triggerall=var(58)=2
triggerall=var(59)=1&&roundstate=2
triggerall=var(33)=2
triggerall=statetype!=a&&ctrl
trigger1=1
var(33)=0
ignorehitpause=1

;var(33)=1丄庛僷儞僠屻丅
[state ]
type=varset
triggerall=var(58)=2
triggerall=var(59)=1&&roundstate=2
triggerall=var(33)=1
triggerall=(stateno=6200||stateno=6205)&&movecontact
trigger1=facing*(enemynear,screenpos x-screenpos x)<=65
var(33)=2
ignorehitpause=1
[state ]
type=varset
triggerall=var(58)=2
triggerall=var(59)=1&&roundstate=2
triggerall=var(33)=1
triggerall=(stateno=6200||stateno=6205)&&movecontact
trigger1=facing*(enemynear,screenpos x-screenpos x)<=90
var(33)=3
ignorehitpause=1
[state ]
type=varset
triggerall=var(58)=2
triggerall=var(59)=1&&roundstate=2
triggerall=var(33)=1
triggerall=(stateno=6200||stateno=6205)&&movecontact
trigger1=facing*(enemynear,screenpos x-screenpos x)<=90
var(33)=24
ignorehitpause=1
[state ]
type=varset
triggerall=var(58)=2
triggerall=var(59)=1&&roundstate=2
triggerall=var(33)=1
triggerall=statetype!=a&&ctrl
trigger1=1
var(33)=0
ignorehitpause=1

;var(33)=0丄暯帪丅
[state ]
type=varset
triggerall=var(58)=2
triggerall=var(59)=1&&roundstate=2
triggerall=var(33)=0
triggerall=statetype!=a&&ctrl
trigger1=facing*(enemynear,screenpos x-screenpos x)<=55
trigger1=random<300
var(33)=1
ignorehitpause=1
[state ]
type=varset
triggerall=var(58)=2
triggerall=var(59)=1&&roundstate=2
triggerall=var(33)=0
triggerall=statetype!=a&&ctrl
trigger1=facing*(enemynear,screenpos x-screenpos x)<=65
trigger1=random<300
var(33)=2
ignorehitpause=1
[state ]
type=varset
triggerall=var(58)=2
triggerall=var(59)=1&&roundstate=2
triggerall=var(33)=0
triggerall=statetype!=a&&ctrl
trigger1=facing*(enemynear,screenpos x-screenpos x)<=90
trigger1=random<300
var(33)=3
ignorehitpause=1
[state ]
type=varset
triggerall=var(58)=2
triggerall=var(59)=1&&roundstate=2
triggerall=var(33)=0
triggerall=statetype!=a&&ctrl
trigger1=facing*(enemynear,screenpos x-screenpos x)<=140
var(33)=25
ignorehitpause=1
[state ]
type=varset
triggerall=var(58)=2
triggerall=var(59)=1&&roundstate=2
triggerall=var(33)=0
triggerall=statetype!=a&&ctrl
trigger1=facing*(enemynear,screenpos x-screenpos x)<=190
var(33)=13
ignorehitpause=1
[state ]
type=varset
triggerall=var(58)=2
triggerall=var(59)=1&&roundstate=2
triggerall=var(33)=0
triggerall=statetype!=a&&ctrl
triggerall=numhelper(22501)=0&&numhelper(22601)=0
trigger1=1
var(33)=16+(random<500)
ignorehitpause=1
[state ]
type=varset
triggerall=var(58)=2
triggerall=var(59)=1&&roundstate=2
triggerall=var(33)=0
triggerall=statetype!=a&&ctrl
trigger1=1
var(33)=22
ignorehitpause=1



;媄偲媄偺崌娫偵僽儔儞僋嶌傞偨傔偺僔乕僋僃儞僗丅
[state ]
type=varset
triggerall=var(58)=2
triggerall=var(59)=1&&roundstate=2
triggerall=var(36)!=1
trigger1=1
var(35)=var(33)
ignorehitpause=1
[state ]
type=varset
triggerall=var(58)=2
triggerall=var(59)=1&&roundstate=2
triggerall=var(36)!=1
trigger1=var(34)!=var(35)
var(33)=99
ignorehitpause=1
[state ]
type=varset
triggerall=var(58)=2
triggerall=var(59)=1&&roundstate=2
triggerall=var(36)!=1
trigger1=var(34)!=var(35)
var(36)=1
ignorehitpause=1
[state ]
type=varset
triggerall=var(58)=2
triggerall=var(59)=1&&roundstate=2
triggerall=var(36)=1
trigger1=var(37)>=var(38)
var(33)=var(35)
ignorehitpause=1
[state ]
type=varset
triggerall=var(58)=2
triggerall=var(59)=1&&roundstate=2
triggerall=var(36)=1
trigger1=var(37)>=var(38)
var(36)=0
ignorehitpause=1



;僗僥乕僩堏摦丅
[state ]
type=changestate
value=6200+5*(facing*(enemynear,screenpos x-screenpos x)>50)
triggerall=var(58)=2
triggerall=var(59)=1&&roundstate=2
triggerall=statetype!=a
triggerall=var(32)=1
triggerall=stateno!=6200&&stateno!=6205
triggerall=(time>=20&&(stateno=21401||stateno=21501||stateno=21601||stateno=21701))=0
trigger1=var(33)=1
[state ]
type=changestate
value=6230+5*(facing*(enemynear,screenpos x-screenpos x)>50)
triggerall=var(58)=2
triggerall=var(59)=1&&roundstate=2
triggerall=statetype!=a
triggerall=var(32)=1
triggerall=stateno!=6230&&stateno!=6235
triggerall=(time>=20&&(stateno=21401||stateno=21501||stateno=21601||stateno=21701))=0
trigger1=var(33)=2
[state ]
type=changestate
value=6240
triggerall=var(58)=2
triggerall=var(59)=1&&roundstate=2
triggerall=statetype!=a
triggerall=var(32)=1
triggerall=stateno!=6240
triggerall=(time>=20&&(stateno=21401||stateno=21501||stateno=21601||stateno=21701))=0
trigger1=var(33)=3
[state ]
type=changestate
value=ifelse(facing*(-1+2*(frontedgedist<backedgedist))=1,21400+100*(random<200),21700-100*(random<200))
triggerall=var(58)=2
triggerall=var(59)=1&&roundstate=2
triggerall=statetype!=a
triggerall=var(32)=1
triggerall=(time>=20&&(stateno=21401||stateno=21501||stateno=21601||stateno=21701))=0
trigger1=var(33)=4
[state ]
type=changestate
value=21200
triggerall=var(58)=2
triggerall=var(59)=1&&roundstate=2
triggerall=statetype!=a
triggerall=var(32)=1
trigger1=var(33)=5
[state ]
type=changestate
value=22100
triggerall=var(58)=2
triggerall=var(59)=1&&roundstate=2
triggerall=statetype!=a
triggerall=var(32)=1
trigger1=var(33)=6
[state ]
type=changestate
value=22300
triggerall=var(58)=2
triggerall=var(59)=1&&roundstate=2
triggerall=statetype!=a
triggerall=var(32)=1
triggerall=numhelper(22301)=0&&numhelper(22302)=0
trigger1=var(33)=7
[state ]
type=changestate
value=22400
triggerall=var(58)=2
triggerall=var(59)=1&&roundstate=2
triggerall=statetype!=a
triggerall=var(32)=1
trigger1=var(33)=8
[state ]
type=changestate
value=21300
triggerall=var(58)=2
triggerall=var(59)=1&&roundstate=2
triggerall=statetype!=a
triggerall=var(32)=1
trigger1=var(33)=9
[state ]
type=changestate
value=21100
triggerall=var(58)=2
triggerall=var(59)=1&&roundstate=2
triggerall=statetype!=a
triggerall=var(32)=1
trigger1=var(33)=10
[state ]
type=changestate
value=21000
triggerall=var(58)=2
triggerall=var(59)=1&&roundstate=2
triggerall=statetype!=a
triggerall=var(32)=1
trigger1=var(33)=11
[state ]
type=changestate
value=22100
triggerall=var(58)=2
triggerall=var(59)=1&&roundstate=2
triggerall=statetype!=a
triggerall=var(32)=1
trigger1=var(33)=12
[state ]
type=changestate
value=22200
triggerall=var(58)=2
triggerall=var(59)=1&&roundstate=2
triggerall=statetype!=a
triggerall=var(32)=1
trigger1=var(33)=13
[state ]
type=changestate
value=21000
triggerall=var(58)=2
triggerall=var(59)=1&&roundstate=2
triggerall=statetype!=a
triggerall=var(32)=1
trigger1=var(33)=14
[state ]
type=changestate
value=22300
triggerall=var(58)=2
triggerall=var(59)=1&&roundstate=2
triggerall=statetype!=a
triggerall=var(32)=1
triggerall=numhelper(22301)=0&&numhelper(22302)=0
trigger1=var(33)=15
[state ]
type=changestate
value=22500
triggerall=var(58)=2
triggerall=var(59)=1&&roundstate=2
triggerall=statetype!=a
triggerall=var(32)=1
triggerall=numhelper(22501)=0&&numhelper(22601)=0
trigger1=var(33)=16
[state ]
type=changestate
value=22600
triggerall=var(58)=2
triggerall=var(59)=1&&roundstate=2
triggerall=statetype!=a
triggerall=var(32)=1
triggerall=numhelper(22501)=0&&numhelper(22601)=0
trigger1=var(33)=17
[state ]
type=changestate
value=21100
triggerall=var(58)=2
triggerall=var(59)=1&&roundstate=2
triggerall=statetype!=a
triggerall=var(32)=1
trigger1=var(33)=18
[state ]
type=changestate
value=21300
triggerall=var(58)=2
triggerall=var(59)=1&&roundstate=2
triggerall=statetype!=a
triggerall=var(32)=1
trigger1=var(33)=19
[state ]
type=changestate
value=22100
triggerall=var(58)=2
triggerall=var(59)=1&&roundstate=2
triggerall=statetype!=a
triggerall=var(32)=1
triggerall=numhelper(22301)=0&&numhelper(22302)=0
trigger1=var(33)=20
[state ]
type=changestate
value=ifelse(facing*(-1+2*(frontedgedist<backedgedist))=1,21400+100*(random<200),21700-100*(random<200))
triggerall=var(58)=2
triggerall=var(59)=1&&roundstate=2
triggerall=statetype!=a
triggerall=var(32)=1
triggerall=(time>=20&&(stateno=21401||stateno=21501||stateno=21601||stateno=21701))=0
trigger1=var(33)=21
[state ]
type=changestate
value=22700
triggerall=var(58)=2
triggerall=var(59)=1&&roundstate=2
triggerall=statetype!=a
triggerall=var(32)=1
trigger1=var(33)=22
[state ]
type=changestate
value=ifelse(facing*(-1+2*(frontedgedist<backedgedist))=1,21400+100*(random<200),21700-100*(random<200))
triggerall=var(58)=2
triggerall=var(59)=1&&roundstate=2
triggerall=statetype!=a
triggerall=var(32)=1
triggerall=(time>=20&&(stateno=21401||stateno=21501||stateno=21601||stateno=21701))=0
trigger1=var(33)=23
[state ]
type=changestate
value=6210+5*(facing*(enemynear,screenpos x-screenpos x)>50)
triggerall=var(58)=2
triggerall=var(59)=1&&roundstate=2
triggerall=statetype!=a
triggerall=var(32)=1
triggerall=stateno!=6210&&stateno!=6215
triggerall=(time>=20&&(stateno=21401||stateno=21501||stateno=21601||stateno=21701))=0
trigger1=var(33)=24
[state ]
type=changestate
value=6800
triggerall=var(58)=2
triggerall=var(59)=1&&roundstate=2
triggerall=statetype!=a
triggerall=var(32)=1
triggerall=(time>=20&&(stateno=21401||stateno=21501||stateno=21601||stateno=21701))=0
trigger1=var(33)=25


;仧仧仧仧仧仧仧仧仧仧仧仧仧仧仧仧仧仧仧仧仧仧仧仧仧仧仧仧仧仧
;挻昁嶦媄丅
;仧仧仧仧仧仧仧仧仧仧仧仧仧仧仧仧仧仧仧仧仧仧仧仧仧仧仧仧仧仧

[state mapelao-崀]
type=changestate
value=26500
triggerall=var(58)=2
triggerall=var(59)=0
triggerall=command="mapelao-崀"
triggerall=power>=3000
triggerall=statetype!=a
trigger1=ctrl
trigger2=stateno=6200&&movecontact
trigger3=stateno=6205&&movecontact
trigger4=stateno=6210&&movecontact
trigger5=stateno=6215&&movecontact
trigger6=stateno=6230&&animelemtime(4)>=0&&movecontact
trigger7=stateno=6235&&animelemtime(4)>=0&&movecontact
trigger8=stateno=6240&&animelemtime(4)>=0&&movecontact
trigger9=stateno=6400&&movecontact
trigger10=stateno=6410&&animelemtime(7)>=0&&movecontact
trigger11=stateno=6430&&movecontact
trigger12=stateno=6440&&movecontact
trigger13=stateno=21401&&time>=20
trigger14=stateno=21501&&time>=20
trigger15=stateno=21601&&time>=20
trigger16=stateno=21701&&time>=20



[state mapelao-戝恄]
type=changestate
value=26200
triggerall=var(58)=2
triggerall=var(59)=0
triggerall=command="mapelao-戝恄"
triggerall=power>=2000
triggerall=statetype!=a
trigger1=ctrl
trigger2=stateno=6200&&movecontact
trigger3=stateno=6205&&movecontact
trigger4=stateno=6210&&movecontact
trigger5=stateno=6215&&movecontact
trigger6=stateno=6230&&animelemtime(4)>=0&&movecontact
trigger7=stateno=6235&&animelemtime(4)>=0&&movecontact
trigger8=stateno=6240&&animelemtime(4)>=0&&movecontact
trigger9=stateno=6400&&movecontact
trigger10=stateno=6410&&animelemtime(7)>=0&&movecontact
trigger11=stateno=6430&&movecontact
trigger12=stateno=6440&&movecontact
trigger13=stateno=21401&&time>=20
trigger14=stateno=21501&&time>=20
trigger15=stateno=21601&&time>=20
trigger16=stateno=21701&&time>=20
[state mapelao-戝崿]
type=changestate
value=26600
triggerall=var(58)=2
triggerall=var(59)=0
triggerall=command="mapelao-戝崿"
triggerall=power>=2000
triggerall=statetype!=a
trigger1=ctrl
trigger2=stateno=6200&&movecontact
trigger3=stateno=6205&&movecontact
trigger4=stateno=6210&&movecontact
trigger5=stateno=6215&&movecontact
trigger6=stateno=6230&&animelemtime(4)>=0&&movecontact
trigger7=stateno=6235&&animelemtime(4)>=0&&movecontact
trigger8=stateno=6240&&animelemtime(4)>=0&&movecontact
trigger9=stateno=6400&&movecontact
trigger10=stateno=6410&&animelemtime(7)>=0&&movecontact
trigger11=stateno=6430&&movecontact
trigger12=stateno=6440&&movecontact
trigger13=stateno=21401&&time>=20
trigger14=stateno=21501&&time>=20
trigger15=stateno=21601&&time>=20
trigger16=stateno=21701&&time>=20



[state mapelao-崿01]
type=changestate
value=26000
triggerall=var(58)=2
triggerall=var(59)=0
triggerall=command="mapelao-崿01"
triggerall=power>=1000
triggerall=statetype!=a
trigger1=ctrl
trigger2=stateno=6200&&movecontact
trigger3=stateno=6205&&movecontact
trigger4=stateno=6210&&movecontact
trigger5=stateno=6215&&movecontact
trigger6=stateno=6230&&animelemtime(4)>=0&&movecontact
trigger7=stateno=6235&&animelemtime(4)>=0&&movecontact
trigger8=stateno=6240&&animelemtime(4)>=0&&movecontact
trigger9=stateno=6400&&movecontact
trigger10=stateno=6410&&animelemtime(7)>=0&&movecontact
trigger11=stateno=6430&&movecontact
trigger12=stateno=6440&&movecontact
trigger13=stateno=21401&&time>=20
trigger14=stateno=21501&&time>=20
trigger15=stateno=21601&&time>=20
trigger16=stateno=21701&&time>=20
[state mapelao-崿02]
type=changestate
value=26100
triggerall=var(58)=2
triggerall=var(59)=0
triggerall=command="mapelao-崿02"
triggerall=power>=1000
triggerall=statetype!=a
trigger1=ctrl
trigger2=stateno=6200&&movecontact
trigger3=stateno=6205&&movecontact
trigger4=stateno=6210&&movecontact
trigger5=stateno=6215&&movecontact
trigger6=stateno=6230&&animelemtime(4)>=0&&movecontact
trigger7=stateno=6235&&animelemtime(4)>=0&&movecontact
trigger8=stateno=6240&&animelemtime(4)>=0&&movecontact
trigger9=stateno=6400&&movecontact
trigger10=stateno=6410&&animelemtime(7)>=0&&movecontact
trigger11=stateno=6430&&movecontact
trigger12=stateno=6440&&movecontact
trigger13=stateno=21401&&time>=20
trigger14=stateno=21501&&time>=20
trigger15=stateno=21601&&time>=20
trigger16=stateno=21701&&time>=20

[state mapelao-幩]
type=changestate
value=26300
triggerall=var(58)=2
triggerall=var(59)=0
triggerall=command="mapelao-幩"
triggerall=power>=1000
triggerall=statetype!=a
trigger1=ctrl
trigger2=stateno=6200&&movecontact
trigger3=stateno=6205&&movecontact
trigger4=stateno=6210&&movecontact
trigger5=stateno=6215&&movecontact
trigger6=stateno=6230&&animelemtime(4)>=0&&movecontact
trigger7=stateno=6235&&animelemtime(4)>=0&&movecontact
trigger8=stateno=6240&&animelemtime(4)>=0&&movecontact
trigger9=stateno=6400&&movecontact
trigger10=stateno=6410&&animelemtime(7)>=0&&movecontact
trigger11=stateno=6430&&movecontact
trigger12=stateno=6440&&movecontact
trigger13=stateno=21401&&time>=20
trigger14=stateno=21501&&time>=20
trigger15=stateno=21601&&time>=20
trigger16=stateno=21701&&time>=20
[state mapelao-朑]
type=changestate
value=26400
triggerall=var(58)=2
triggerall=var(59)=0
triggerall=command="mapelao-朑"
triggerall=power>=1000
triggerall=statetype!=a
trigger1=ctrl
trigger2=stateno=6200&&movecontact
trigger3=stateno=6205&&movecontact
trigger4=stateno=6210&&movecontact
trigger5=stateno=6215&&movecontact
trigger6=stateno=6230&&animelemtime(4)>=0&&movecontact
trigger7=stateno=6235&&animelemtime(4)>=0&&movecontact
trigger8=stateno=6240&&animelemtime(4)>=0&&movecontact
trigger9=stateno=6400&&movecontact
trigger10=stateno=6410&&animelemtime(7)>=0&&movecontact
trigger11=stateno=6430&&movecontact
trigger12=stateno=6440&&movecontact
trigger13=stateno=21401&&time>=20
trigger14=stateno=21501&&time>=20
trigger15=stateno=21601&&time>=20
trigger16=stateno=21701&&time>=20


;仧仧仧仧仧仧仧仧仧仧仧仧仧仧仧仧仧仧仧仧仧仧仧仧仧仧仧仧仧仧
;昁嶦媄丅
;仧仧仧仧仧仧仧仧仧仧仧仧仧仧仧仧仧仧仧仧仧仧仧仧仧仧仧仧仧仧

;旘傃摴嬶娭學乮媡弴張棟乯丅
[state mapelao015]
type=changestate
value=22400
triggerall=var(58)=2
triggerall=var(59)=0
triggerall=command="mapelao015"
triggerall=statetype!=a
trigger1=ctrl
trigger2=stateno=6200&&movecontact
trigger3=stateno=6205&&movecontact
trigger4=stateno=6210&&movecontact
trigger5=stateno=6215&&movecontact
trigger6=stateno=6230&&animelemtime(4)>=0&&movecontact
trigger7=stateno=6235&&animelemtime(4)>=0&&movecontact
trigger8=stateno=6240&&animelemtime(4)>=0&&movecontact
trigger9=stateno=6400&&movecontact
trigger10=stateno=6410&&animelemtime(7)>=0&&movecontact
trigger11=stateno=6430&&movecontact
trigger12=stateno=6440&&movecontact
trigger13=stateno=21401&&time>=20
trigger14=stateno=21501&&time>=20
trigger15=stateno=21601&&time>=20
trigger16=stateno=21701&&time>=20
[state mapelao016]
type=changestate
value=21000
triggerall=var(58)=2
triggerall=var(59)=0
triggerall=command="mapelao016"
triggerall=statetype!=a
trigger1=ctrl
trigger2=stateno=6200&&movecontact
trigger3=stateno=6205&&movecontact
trigger4=stateno=6210&&movecontact
trigger5=stateno=6215&&movecontact
trigger6=stateno=6230&&animelemtime(4)>=0&&movecontact
trigger7=stateno=6235&&animelemtime(4)>=0&&movecontact
trigger8=stateno=6240&&animelemtime(4)>=0&&movecontact
trigger9=stateno=6400&&movecontact
trigger10=stateno=6410&&animelemtime(7)>=0&&movecontact
trigger11=stateno=6430&&movecontact
trigger12=stateno=6440&&movecontact
trigger13=stateno=21401&&time>=20
trigger14=stateno=21501&&time>=20
trigger15=stateno=21601&&time>=20
trigger16=stateno=21701&&time>=20



;嬀丅
[state mapelao001]
type=changestate
value=21200
triggerall=var(58)=2
triggerall=var(59)=0
triggerall=command="mapelao001"
triggerall=statetype!=a
trigger1=ctrl
trigger2=stateno=6200&&movecontact
trigger3=stateno=6205&&movecontact
trigger4=stateno=6210&&movecontact
trigger5=stateno=6215&&movecontact
trigger6=stateno=6230&&animelemtime(4)>=0&&movecontact
trigger7=stateno=6235&&animelemtime(4)>=0&&movecontact
trigger8=stateno=6240&&animelemtime(4)>=0&&movecontact
trigger9=stateno=6400&&movecontact
trigger10=stateno=6410&&animelemtime(7)>=0&&movecontact
trigger11=stateno=6430&&movecontact
trigger12=stateno=6440&&movecontact
trigger13=stateno=21401&&time>=20
trigger14=stateno=21501&&time>=20
trigger15=stateno=21601&&time>=20
trigger16=stateno=21701&&time>=20
[state mapelao002]
type=changestate
value=21300
triggerall=var(58)=2
triggerall=var(59)=0
triggerall=command="mapelao002"
triggerall=statetype!=a
trigger1=ctrl
trigger2=stateno=6200&&movecontact
trigger3=stateno=6205&&movecontact
trigger4=stateno=6210&&movecontact
trigger5=stateno=6215&&movecontact
trigger6=stateno=6230&&animelemtime(4)>=0&&movecontact
trigger7=stateno=6235&&animelemtime(4)>=0&&movecontact
trigger8=stateno=6240&&animelemtime(4)>=0&&movecontact
trigger9=stateno=6400&&movecontact
trigger10=stateno=6410&&animelemtime(7)>=0&&movecontact
trigger11=stateno=6430&&movecontact
trigger12=stateno=6440&&movecontact
trigger13=stateno=21401&&time>=20
trigger14=stateno=21501&&time>=20
trigger15=stateno=21601&&time>=20
trigger16=stateno=21701&&time>=20
[state mapelao003]
type=changestate
value=22500
triggerall=var(58)=2
triggerall=var(59)=0
triggerall=command="mapelao003"
triggerall=statetype!=a
triggerall=numhelper(22501)=0&&numhelper(22601)=0
trigger1=ctrl
trigger2=stateno=6200&&movecontact
trigger3=stateno=6205&&movecontact
trigger4=stateno=6210&&movecontact
trigger5=stateno=6215&&movecontact
trigger6=stateno=6230&&animelemtime(4)>=0&&movecontact
trigger7=stateno=6235&&animelemtime(4)>=0&&movecontact
trigger8=stateno=6240&&animelemtime(4)>=0&&movecontact
trigger9=stateno=6400&&movecontact
trigger10=stateno=6410&&animelemtime(7)>=0&&movecontact
trigger11=stateno=6430&&movecontact
trigger12=stateno=6440&&movecontact
trigger13=stateno=21401&&time>=20
trigger14=stateno=21501&&time>=20
trigger15=stateno=21601&&time>=20
trigger16=stateno=21701&&time>=20
[state mapelao004]
type=changestate
value=22600
triggerall=var(58)=2
triggerall=var(59)=0
triggerall=command="mapelao004"
triggerall=statetype!=a
triggerall=numhelper(22501)=0&&numhelper(22601)=0
trigger1=ctrl
trigger2=stateno=6200&&movecontact
trigger3=stateno=6205&&movecontact
trigger4=stateno=6210&&movecontact
trigger5=stateno=6215&&movecontact
trigger6=stateno=6230&&animelemtime(4)>=0&&movecontact
trigger7=stateno=6235&&animelemtime(4)>=0&&movecontact
trigger8=stateno=6240&&animelemtime(4)>=0&&movecontact
trigger9=stateno=6400&&movecontact
trigger10=stateno=6410&&animelemtime(7)>=0&&movecontact
trigger11=stateno=6430&&movecontact
trigger12=stateno=6440&&movecontact
trigger13=stateno=21401&&time>=20
trigger14=stateno=21501&&time>=20
trigger15=stateno=21601&&time>=20
trigger16=stateno=21701&&time>=20



;儚乕僾丅
[state mapelao005]
type=changestate
value=21400
triggerall=var(58)=2
triggerall=var(59)=0
triggerall=command="mapelao005"
triggerall=statetype!=a
trigger1=ctrl
trigger2=stateno=6200&&movecontact
trigger3=stateno=6205&&movecontact
trigger4=stateno=6210&&movecontact
trigger5=stateno=6215&&movecontact
trigger6=stateno=6230&&animelemtime(4)>=0&&movecontact
trigger7=stateno=6235&&animelemtime(4)>=0&&movecontact
trigger8=stateno=6240&&animelemtime(4)>=0&&movecontact
trigger9=stateno=6400&&movecontact
trigger10=stateno=6410&&animelemtime(7)>=0&&movecontact
trigger11=stateno=6430&&movecontact
trigger12=stateno=6440&&movecontact
[state mapelao006]
type=changestate
value=21500
triggerall=var(58)=2
triggerall=var(59)=0
triggerall=command="mapelao006"
triggerall=statetype!=a
trigger1=ctrl
trigger2=stateno=6200&&movecontact
trigger3=stateno=6205&&movecontact
trigger4=stateno=6210&&movecontact
trigger5=stateno=6215&&movecontact
trigger6=stateno=6230&&animelemtime(4)>=0&&movecontact
trigger7=stateno=6235&&animelemtime(4)>=0&&movecontact
trigger8=stateno=6240&&animelemtime(4)>=0&&movecontact
trigger9=stateno=6400&&movecontact
trigger10=stateno=6410&&animelemtime(7)>=0&&movecontact
trigger11=stateno=6430&&movecontact
trigger12=stateno=6440&&movecontact
[state mapelao007]
type=changestate
value=21600
triggerall=var(58)=2
triggerall=var(59)=0
triggerall=command="mapelao007"
triggerall=statetype!=a
trigger1=ctrl
trigger2=stateno=6200&&movecontact
trigger3=stateno=6205&&movecontact
trigger4=stateno=6210&&movecontact
trigger5=stateno=6215&&movecontact
trigger6=stateno=6230&&animelemtime(4)>=0&&movecontact
trigger7=stateno=6235&&animelemtime(4)>=0&&movecontact
trigger8=stateno=6240&&animelemtime(4)>=0&&movecontact
trigger9=stateno=6400&&movecontact
trigger10=stateno=6410&&animelemtime(7)>=0&&movecontact
trigger11=stateno=6430&&movecontact
trigger12=stateno=6440&&movecontact
[state mapelao008]
type=changestate
value=21700
triggerall=var(58)=2
triggerall=var(59)=0
triggerall=command="mapelao008"
triggerall=statetype!=a
trigger1=ctrl
trigger2=stateno=6200&&movecontact
trigger3=stateno=6205&&movecontact
trigger4=stateno=6210&&movecontact
trigger5=stateno=6215&&movecontact
trigger6=stateno=6230&&animelemtime(4)>=0&&movecontact
trigger7=stateno=6235&&animelemtime(4)>=0&&movecontact
trigger8=stateno=6240&&animelemtime(4)>=0&&movecontact
trigger9=stateno=6400&&movecontact
trigger10=stateno=6410&&animelemtime(7)>=0&&movecontact
trigger11=stateno=6430&&movecontact
trigger12=stateno=6440&&movecontact



;壩拰丅
[state mapelao009]
type=changestate
value=21800
triggerall=var(58)=2
triggerall=var(59)=0
triggerall=command="mapelao009"
triggerall=statetype!=a
trigger1=ctrl
trigger2=stateno=6200&&movecontact
trigger3=stateno=6205&&movecontact
trigger4=stateno=6210&&movecontact
trigger5=stateno=6215&&movecontact
trigger6=stateno=6230&&animelemtime(4)>=0&&movecontact
trigger7=stateno=6235&&animelemtime(4)>=0&&movecontact
trigger8=stateno=6240&&animelemtime(4)>=0&&movecontact
trigger9=stateno=6400&&movecontact
trigger10=stateno=6410&&animelemtime(7)>=0&&movecontact
trigger11=stateno=6430&&movecontact
trigger12=stateno=6440&&movecontact
trigger13=stateno=21401&&time>=20
trigger14=stateno=21501&&time>=20
trigger15=stateno=21601&&time>=20
trigger16=stateno=21701&&time>=20
[state mapelao010]
type=changestate
value=21900
triggerall=var(58)=2
triggerall=var(59)=0
triggerall=command="mapelao010"
triggerall=statetype!=a
trigger1=ctrl
trigger2=stateno=6200&&movecontact
trigger3=stateno=6205&&movecontact
trigger4=stateno=6210&&movecontact
trigger5=stateno=6215&&movecontact
trigger6=stateno=6230&&animelemtime(4)>=0&&movecontact
trigger7=stateno=6235&&animelemtime(4)>=0&&movecontact
trigger8=stateno=6240&&animelemtime(4)>=0&&movecontact
trigger9=stateno=6400&&movecontact
trigger10=stateno=6410&&animelemtime(7)>=0&&movecontact
trigger11=stateno=6430&&movecontact
trigger12=stateno=6440&&movecontact
trigger13=stateno=21401&&time>=20
trigger14=stateno=21501&&time>=20
trigger15=stateno=21601&&time>=20
trigger16=stateno=21701&&time>=20
[state mapelao011]
type=changestate
value=22000
triggerall=var(58)=2
triggerall=var(59)=0
triggerall=command="mapelao011"
triggerall=statetype!=a
trigger1=ctrl
trigger2=stateno=6200&&movecontact
trigger3=stateno=6205&&movecontact
trigger4=stateno=6210&&movecontact
trigger5=stateno=6215&&movecontact
trigger6=stateno=6230&&animelemtime(4)>=0&&movecontact
trigger7=stateno=6235&&animelemtime(4)>=0&&movecontact
trigger8=stateno=6240&&animelemtime(4)>=0&&movecontact
trigger9=stateno=6400&&movecontact
trigger10=stateno=6410&&animelemtime(7)>=0&&movecontact
trigger11=stateno=6430&&movecontact
trigger12=stateno=6440&&movecontact
trigger13=stateno=21401&&time>=20
trigger14=stateno=21501&&time>=20
trigger15=stateno=21601&&time>=20
trigger16=stateno=21701&&time>=20
[state mapelao012]
type=changestate
value=22100
triggerall=var(58)=2
triggerall=var(59)=0
triggerall=command="mapelao012"
triggerall=statetype!=a
trigger1=ctrl
trigger2=stateno=6200&&movecontact
trigger3=stateno=6205&&movecontact
trigger4=stateno=6210&&movecontact
trigger5=stateno=6215&&movecontact
trigger6=stateno=6230&&animelemtime(4)>=0&&movecontact
trigger7=stateno=6235&&animelemtime(4)>=0&&movecontact
trigger8=stateno=6240&&animelemtime(4)>=0&&movecontact
trigger9=stateno=6400&&movecontact
trigger10=stateno=6410&&animelemtime(7)>=0&&movecontact
trigger11=stateno=6430&&movecontact
trigger12=stateno=6440&&movecontact
trigger13=stateno=21401&&time>=20
trigger14=stateno=21501&&time>=20
trigger15=stateno=21601&&time>=20
trigger16=stateno=21701&&time>=20



;旘傃摴嬶娭學丅
[state mapelao013]
type=changestate
value=22200
triggerall=var(58)=2
triggerall=var(59)=0
triggerall=command="mapelao013"
triggerall=statetype!=a
trigger1=ctrl
trigger2=stateno=6200&&movecontact
trigger3=stateno=6205&&movecontact
trigger4=stateno=6210&&movecontact
trigger5=stateno=6215&&movecontact
trigger6=stateno=6230&&animelemtime(4)>=0&&movecontact
trigger7=stateno=6235&&animelemtime(4)>=0&&movecontact
trigger8=stateno=6240&&animelemtime(4)>=0&&movecontact
trigger9=stateno=6400&&movecontact
trigger10=stateno=6410&&animelemtime(7)>=0&&movecontact
trigger11=stateno=6430&&movecontact
trigger12=stateno=6440&&movecontact
trigger13=stateno=21401&&time>=20
trigger14=stateno=21501&&time>=20
trigger15=stateno=21601&&time>=20
trigger16=stateno=21701&&time>=20
[state mapelao014]
type=changestate
value=22300
triggerall=var(58)=2
triggerall=var(59)=0
triggerall=command="mapelao014"
triggerall=statetype!=a
triggerall=numhelper(22301)=0&&numhelper(22302)=0
trigger1=ctrl
trigger2=stateno=6200&&movecontact
trigger3=stateno=6205&&movecontact
trigger4=stateno=6210&&movecontact
trigger5=stateno=6215&&movecontact
trigger6=stateno=6230&&animelemtime(4)>=0&&movecontact
trigger7=stateno=6235&&animelemtime(4)>=0&&movecontact
trigger8=stateno=6240&&animelemtime(4)>=0&&movecontact
trigger9=stateno=6400&&movecontact
trigger10=stateno=6410&&animelemtime(7)>=0&&movecontact
trigger11=stateno=6430&&movecontact
trigger12=stateno=6440&&movecontact
trigger13=stateno=21401&&time>=20
trigger14=stateno=21501&&time>=20
trigger15=stateno=21601&&time>=20
trigger16=stateno=21701&&time>=20



;偦偺懠帺桼宍幃乮媡弴張棟乯丅
[state mapelao019]
type=changestate
value=22800
triggerall=var(58)=2
triggerall=var(59)=0
triggerall=command="mapelao019"
triggerall=statetype!=a
trigger1=ctrl
trigger2=stateno=6200&&movecontact
trigger3=stateno=6205&&movecontact
trigger4=stateno=6210&&movecontact
trigger5=stateno=6215&&movecontact
trigger6=stateno=6230&&animelemtime(4)>=0&&movecontact
trigger7=stateno=6235&&animelemtime(4)>=0&&movecontact
trigger8=stateno=6240&&animelemtime(4)>=0&&movecontact
trigger9=stateno=6400&&movecontact
trigger10=stateno=6410&&animelemtime(7)>=0&&movecontact
trigger11=stateno=6430&&movecontact
trigger12=stateno=6440&&movecontact
trigger13=stateno=21401&&time>=20
trigger14=stateno=21501&&time>=20
trigger15=stateno=21601&&time>=20
trigger16=stateno=21701&&time>=20



;偦偺懠帺桼宍幃丅
[state mapelao017]
type=changestate
value=22700
triggerall=var(58)=2
triggerall=var(59)=0
triggerall=command="mapelao017"
triggerall=statetype!=a
trigger1=ctrl
trigger2=stateno=6200&&movecontact
trigger3=stateno=6205&&movecontact
trigger4=stateno=6210&&movecontact
trigger5=stateno=6215&&movecontact
trigger6=stateno=6230&&animelemtime(4)>=0&&movecontact
trigger7=stateno=6235&&animelemtime(4)>=0&&movecontact
trigger8=stateno=6240&&animelemtime(4)>=0&&movecontact
trigger9=stateno=6400&&movecontact
trigger10=stateno=6410&&animelemtime(7)>=0&&movecontact
trigger11=stateno=6430&&movecontact
trigger12=stateno=6440&&movecontact
trigger13=stateno=21401&&time>=20
trigger14=stateno=21501&&time>=20
trigger15=stateno=21601&&time>=20
trigger16=stateno=21701&&time>=20
[state mapelao018]
type=changestate
value=21100
triggerall=var(58)=2
triggerall=var(59)=0
triggerall=command="mapelao018"
triggerall=statetype!=a
trigger1=ctrl
trigger2=stateno=6200&&movecontact
trigger3=stateno=6205&&movecontact
trigger4=stateno=6210&&movecontact
trigger5=stateno=6215&&movecontact
trigger6=stateno=6230&&animelemtime(4)>=0&&movecontact
trigger7=stateno=6235&&animelemtime(4)>=0&&movecontact
trigger8=stateno=6240&&animelemtime(4)>=0&&movecontact
trigger9=stateno=6400&&movecontact
trigger10=stateno=6410&&animelemtime(7)>=0&&movecontact
trigger11=stateno=6430&&movecontact
trigger12=stateno=6440&&movecontact
trigger13=stateno=21401&&time>=20
trigger14=stateno=21501&&time>=20
trigger15=stateno=21601&&time>=20
trigger16=stateno=21701&&time>=20


;仧仧仧仧仧仧仧仧仧仧仧仧仧仧仧仧仧仧仧仧仧仧仧仧仧仧仧仧仧仧
;捠忢媄丅
;仧仧仧仧仧仧仧仧仧仧仧仧仧仧仧仧仧仧仧仧仧仧仧仧仧仧仧仧仧仧

;墦嫍棧棫偪庛僷儞僠
[state ]
type=changestate
value=6200
triggerall=var(58)=2
triggerall=var(59)=0
triggerall=command="x"
triggerall=command!="holddown"
triggerall=facing*(enemynear,screenpos x-screenpos x)>50
triggerall=statetype!=a
trigger1=ctrl
trigger2=stateno=6210&&movecontact
trigger3=stateno=6215&&movecontact
trigger4=stateno=6230&&animelemtime(4)>=0&&movecontact
trigger5=stateno=6235&&animelemtime(4)>=0&&movecontact
trigger6=stateno=6240&&animelemtime(4)>=0&&movecontact
trigger7=stateno=6400&&movecontact
trigger8=stateno=6410&&animelemtime(7)>=0&&movecontact
trigger9=stateno=6430&&movecontact
trigger10=stateno=6440&&movecontact
;嬤嫍棧棫偪庛僷儞僠
[state ]
type=changestate
value=6205
triggerall=var(58)=2
triggerall=var(59)=0
triggerall=command="x"
triggerall=command!="holddown"
triggerall=statetype!=a
trigger1=ctrl
trigger2=stateno=6210&&movecontact
trigger3=stateno=6215&&movecontact
trigger4=stateno=6230&&animelemtime(4)>=0&&movecontact
trigger5=stateno=6235&&animelemtime(4)>=0&&movecontact
trigger6=stateno=6240&&animelemtime(4)>=0&&movecontact
trigger7=stateno=6400&&movecontact
trigger8=stateno=6410&&animelemtime(7)>=0&&movecontact
trigger9=stateno=6430&&movecontact
trigger10=stateno=6440&&movecontact

;墦嫍棧棫偪嫮僷儞僠
[state ]
type=changestate
value=6210
triggerall=var(58)=2
triggerall=var(59)=0
triggerall=command="y"
triggerall=command!="holddown"
triggerall=facing*(enemynear,screenpos x-screenpos x)>50
triggerall=statetype!=a
trigger1=ctrl
trigger2=stateno=6200&&movecontact
trigger3=stateno=6205&&movecontact
trigger4=stateno=6230&&animelemtime(4)>=0&&movecontact
trigger5=stateno=6235&&animelemtime(4)>=0&&movecontact
trigger6=stateno=6240&&animelemtime(4)>=0&&movecontact
trigger7=stateno=6400&&movecontact
trigger8=stateno=6410&&animelemtime(7)>=0&&movecontact
trigger9=stateno=6430&&movecontact
trigger10=stateno=6440&&movecontact
;嬤嫍棧棫偪嫮僷儞僠
[state ]
type=changestate
value=6215
triggerall=var(58)=2
triggerall=var(59)=0
triggerall=command="y"
triggerall=command!="holddown"
triggerall=statetype!=a
trigger1=ctrl
trigger2=stateno=6200&&movecontact
trigger3=stateno=6205&&movecontact
trigger4=stateno=6230&&animelemtime(4)>=0&&movecontact
trigger5=stateno=6235&&animelemtime(4)>=0&&movecontact
trigger6=stateno=6240&&animelemtime(4)>=0&&movecontact
trigger7=stateno=6400&&movecontact
trigger8=stateno=6410&&animelemtime(7)>=0&&movecontact
trigger9=stateno=6430&&movecontact
trigger10=stateno=6440&&movecontact

;墦嫍棧棫偪庛僉僢僋
[state ]
type=changestate
value=6230
triggerall=var(58)=2
triggerall=var(59)=0
triggerall=command="a"
triggerall=command!="holddown"
triggerall=facing*(enemynear,screenpos x-screenpos x)>50
triggerall=statetype!=a
trigger1=ctrl
trigger2=stateno=6200&&movecontact
trigger3=stateno=6205&&movecontact
trigger4=stateno=6210&&animelemtime(4)>=0&&movecontact
trigger5=stateno=6215&&animelemtime(4)>=0&&movecontact
trigger6=stateno=6240&&animelemtime(4)>=0&&movecontact
trigger7=stateno=6400&&movecontact
trigger8=stateno=6410&&animelemtime(7)>=0&&movecontact
trigger9=stateno=6430&&movecontact
trigger10=stateno=6440&&movecontact
;嬤嫍棧棫偪庛僉僢僋
[state ]
type=changestate
value=6235
triggerall=var(58)=2
triggerall=var(59)=0
triggerall=command="a"
triggerall=command!="holddown"
triggerall=statetype!=a
trigger1=ctrl
trigger2=stateno=6200&&movecontact
trigger3=stateno=6205&&movecontact
trigger4=stateno=6210&&animelemtime(4)>=0&&movecontact
trigger5=stateno=6215&&animelemtime(4)>=0&&movecontact
trigger6=stateno=6240&&animelemtime(4)>=0&&movecontact
trigger7=stateno=6400&&movecontact
trigger8=stateno=6410&&animelemtime(7)>=0&&movecontact
trigger9=stateno=6430&&movecontact
trigger10=stateno=6440&&movecontact

;棫偪嫮僉僢僋
[state ]
type=changestate
value=6240
triggerall=var(58)=2
triggerall=var(59)=0
triggerall=command="b"
triggerall=command!="holddown"
triggerall=statetype!=a
trigger1=ctrl
trigger2=stateno=6200&&movecontact
trigger3=stateno=6205&&movecontact
trigger4=stateno=6210&&movecontact
trigger5=stateno=6215&&movecontact
trigger6=stateno=6230&&animelemtime(4)>=0&&movecontact
trigger7=stateno=6235&&animelemtime(4)>=0&&movecontact
trigger8=stateno=6400&&movecontact
trigger9=stateno=6410&&animelemtime(7)>=0&&movecontact
trigger10=stateno=6430&&movecontact
trigger11=stateno=6440&&movecontact

;悂偒旘偽偟峌寕丅
[state ]
type=changestate
value=6290
triggerall=var(58)=2
triggerall=var(59)=0
triggerall=command="c"
triggerall=command!="holddown"
triggerall=statetype!=a
trigger1=ctrl
trigger2=stateno=6200&&movecontact
trigger3=stateno=6205&&movecontact
trigger4=stateno=6210&&movecontact
trigger5=stateno=6215&&movecontact
trigger6=stateno=6230&&animelemtime(4)>=0&&movecontact
trigger7=stateno=6235&&animelemtime(4)>=0&&movecontact
trigger8=stateno=6240&&animelemtime(4)>=0&&movecontact
trigger9=stateno=6400&&movecontact
trigger10=stateno=6410&&animelemtime(7)>=0&&movecontact
trigger11=stateno=6430&&movecontact
trigger12=stateno=6440&&movecontact

;搳偘丅
[state ]
type=changestate
value=6800
triggerall=var(58)=2
triggerall=var(59)=0
triggerall=command="z"
triggerall=command!="holddown"
triggerall=statetype!=a
trigger1=ctrl
trigger2=stateno=6200&&movecontact
trigger3=stateno=6205&&movecontact
trigger4=stateno=6210&&movecontact
trigger5=stateno=6215&&movecontact
trigger6=stateno=6230&&animelemtime(4)>=0&&movecontact
trigger7=stateno=6235&&animelemtime(4)>=0&&movecontact
trigger8=stateno=6240&&animelemtime(4)>=0&&movecontact
trigger9=stateno=6400&&movecontact
trigger10=stateno=6410&&animelemtime(7)>=0&&movecontact
trigger11=stateno=6430&&movecontact
trigger12=stateno=6440&&movecontact



;偟傖偑傒庛僷儞僠
[state ]
type=changestate
value=6400
triggerall=var(58)=2
triggerall=var(59)=0
triggerall=command="x"
triggerall=statetype!=a
trigger1=ctrl
trigger2=stateno=6410&&movecontact
trigger3=stateno=6430&&movecontact
trigger4=stateno=6440&&movecontact
;偟傖偑傒嫮僷儞僠
[state ]
type=changestate
value=6410
triggerall=var(58)=2
triggerall=var(59)=0
triggerall=command="y"
triggerall=statetype!=a
trigger1=ctrl
trigger2=stateno=6400&&movecontact
trigger3=stateno=6430&&movecontact
trigger4=stateno=6440&&movecontact
;偟傖偑傒庛僉僢僋
[state ]
type=changestate
value=6430
triggerall=var(58)=2
triggerall=var(59)=0
triggerall=command="a"
triggerall=statetype!=a
trigger1=ctrl
trigger2=stateno=6400&&movecontact
trigger3=stateno=6410&&movecontact
trigger4=stateno=6440&&movecontact
;偟傖偑傒嫮僉僢僋
[state ]
type=changestate
value=6440
triggerall=var(58)=2
triggerall=var(59)=0
triggerall=command="b"
triggerall=statetype!=a
trigger1=ctrl
trigger2=stateno=6400&&movecontact
trigger3=stateno=6410&&movecontact
trigger4=stateno=6430&&movecontact



;嬻拞庛僷儞僠
[state ]
type=changestate
value=6600
triggerall=var(58)=2
triggerall=var(59)=0
triggerall=command="x"
triggerall=statetype=a
trigger1=ctrl
trigger2=stateno=6610&&movecontact
trigger3=stateno=6630&&movecontact
trigger4=stateno=6640&&movecontact
;嬻拞嫮僷儞僠
[state ]
type=changestate
value=6610
triggerall=var(58)=2
triggerall=var(59)=0
triggerall=command="y"
triggerall=statetype=a
trigger1=ctrl
trigger2=stateno=6600&&movecontact
trigger3=stateno=6630&&movecontact
trigger4=stateno=6640&&movecontact
;嬻拞庛僉僢僋
[state ]
type=changestate
value=6630
triggerall=var(58)=2
triggerall=var(59)=0
triggerall=command="a"
triggerall=statetype=a
trigger1=ctrl
trigger2=stateno=6600&&movecontact
trigger3=stateno=6610&&movecontact
trigger4=stateno=6640&&movecontact
;嬻拞嫮僉僢僋
[state ]
type=changestate
value=6640
triggerall=var(58)=2
triggerall=var(59)=0
triggerall=command="b"
triggerall=statetype=a
trigger1=ctrl
trigger2=stateno=6600&&movecontact
trigger3=stateno=6610&&movecontact
trigger4=stateno=6630&&movecontact


;仧仧仧仧仧仧仧仧仧仧仧仧仧仧仧仧仧仧仧仧仧仧仧仧仧仧仧仧仧仧
;婎杮峴摦丅
;仧仧仧仧仧仧仧仧仧仧仧仧仧仧仧仧仧仧仧仧仧仧仧仧仧仧仧仧仧仧

[state ]
type=changestate
value=40
triggerall=var(58)=2
triggerall=var(59)=0
triggerall=command="holdup"
triggerall=statetype!=a
trigger1=ctrl
trigger2=stateno=6200&&movecontact
trigger3=stateno=6205&&movecontact
trigger4=stateno=6210&&movecontact
trigger5=stateno=6215&&movecontact
trigger6=stateno=6230&&animelemtime(4)>=0&&movecontact
trigger7=stateno=6235&&animelemtime(4)>=0&&movecontact
trigger8=stateno=6240&&animelemtime(4)>=0&&movecontact
trigger9=stateno=6400&&movecontact
trigger10=stateno=6410&&animelemtime(7)>=0&&movecontact
trigger11=stateno=6430&&movecontact
trigger12=stateno=6440&&movecontact
trigger13=stateno=21401&&time>=20
trigger14=stateno=21501&&time>=20
trigger15=stateno=21601&&time>=20
trigger16=stateno=21701&&time>=20

;僟僢僔儏丅
[state ]
type=changestate
value=100;巄掕抣丅
triggerall=var(58)=2
triggerall=var(59)=0
triggerall=command="FF"
triggerall=statetype!=a
trigger1=ctrl
trigger2=stateno=6200&&movecontact
trigger3=stateno=6205&&movecontact
trigger4=stateno=6210&&movecontact
trigger5=stateno=6215&&movecontact
trigger6=stateno=6230&&animelemtime(4)>=0&&movecontact
trigger7=stateno=6235&&animelemtime(4)>=0&&movecontact
trigger8=stateno=6240&&animelemtime(4)>=0&&movecontact
trigger9=stateno=6400&&movecontact
trigger10=stateno=6410&&animelemtime(7)>=0&&movecontact
trigger11=stateno=6430&&movecontact
trigger12=stateno=6440&&movecontact
trigger13=stateno=21401&&time>=20
trigger14=stateno=21501&&time>=20
trigger15=stateno=21601&&time>=20
trigger16=stateno=21701&&time>=20

;僶僢僋僟僢僔儏丅
[state ]
type=changestate
value=105;巄掕抣丅
triggerall=var(58)=2
triggerall=var(59)=0
triggerall=command="BB"
triggerall=statetype!=a
trigger1=ctrl
trigger2=stateno=6200&&movecontact
trigger3=stateno=6205&&movecontact
trigger4=stateno=6210&&movecontact
trigger5=stateno=6215&&movecontact
trigger6=stateno=6230&&animelemtime(4)>=0&&movecontact
trigger7=stateno=6235&&animelemtime(4)>=0&&movecontact
trigger8=stateno=6240&&animelemtime(4)>=0&&movecontact
trigger9=stateno=6400&&movecontact
trigger10=stateno=6410&&animelemtime(7)>=0&&movecontact
trigger11=stateno=6430&&movecontact
trigger12=stateno=6440&&movecontact
trigger13=stateno=21401&&time>=20
trigger14=stateno=21501&&time>=20
trigger15=stateno=21601&&time>=20
trigger16=stateno=21701&&time>=20



;仭仭仭仭仭仭仭仭仭仭mapelao婰弎偙偙傑偱/mapelao婰弎偙偙傑偱/mapelao婰弎偙偙傑偱/
;仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭mapelao婰弎偙偙傑偱/mapelao婰弎偙偙傑偱/
;仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭mapelao婰弎偙偙傑偱/
;仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭



;--------------------------------------------------------------
;GGG婰弎偙偙偐傜乕

[State -1, Strong Kung Fu Palm]
type = ChangeState
value = 12220
triggerall = var(58)=1
triggerall = (command = "嵃偮傇偟")
triggerall = statetype != A
triggerall = power >= 3000 
trigger1 = ctrl

[State -1, Strong Kung Fu Palm]
type = ChangeState
value = 12100
triggerall = var(58)=1
triggerall = (command = "昁嶦搳偘")
triggerall = power >= 2000 
triggerall = statetype != A
trigger1 = ctrl
trigger2 = anim = 200
trigger3 = anim = 205
trigger4 = anim = 235
trigger5 = anim = 240
trigger6 = anim = 245
trigger7 = anim = 400
trigger8 = anim = 410
trigger9 = anim = 430
trigger10= anim = 440
trigger11= anim = 700 && animelem = 3,>=0

[State -1, Strong Kung Fu Palm]
type = ChangeState
value = 11540
triggerall = var(58)=1
triggerall = (command = "崿2")
triggerall = statetype != A
triggerall = power >= 1000 
trigger1 = ctrl

[State -1, Strong Kung Fu Palm]
type = ChangeState
value = 11530
triggerall = var(58)=1
triggerall = (command = "愝抲")
triggerall = statetype != A
triggerall = numhelper(11520) < 10
triggerall = power >= 1000 
trigger1 = ctrl
trigger2 = anim = 200
trigger3 = anim = 205
trigger4 = anim = 235
trigger5 = anim = 240
trigger6 = anim = 245
trigger7 = anim = 400
trigger8 = anim = 410
trigger9 = anim = 430
trigger10= anim = 440
trigger11= anim = 700 && animelem = 3,>=0



[State -1, Strong Kung Fu Palm]
type = ChangeState
value = 11450
triggerall = var(58)=1
triggerall = (command = "壩鑼崀")
triggerall = statetype != A
trigger1 = ctrl
trigger2 = anim = 200
trigger3 = anim = 205
trigger4 = anim = 235
trigger5 = anim = 240
trigger6 = anim = 245
trigger7 = anim = 400
trigger8 = anim = 410
trigger9 = anim = 430
trigger10= anim = 440
trigger11= anim = 700 && animelem = 3,>=0

;僘僶僶
[State -1, ]
type = ChangeState
value = 11470
triggerall = var(58)=1
triggerall = command = "撍恑媄"
triggerall = !var(59)
triggerall = statetype != A
trigger1 = ctrl
trigger2 = anim = 200 && movecontact
trigger3 = anim = 205 && movecontact
trigger4 = anim = 235 && movecontact
trigger5 = anim = 240 && movecontact
trigger6 = anim = 245 && movecontact
trigger7 = anim = 400 && movecontact
trigger8 = anim = 410 && movecontact
trigger9 = anim = 430 && movecontact
trigger10= anim = 440 && movecontact
trigger11= anim = 215 && movecontact
trigger12= anim = 700 && animelem = 3,>=0


;夝彍 岝
[State -1, Strong Kung Fu Palm]
type = ChangeState
value = 11001
triggerall = var(58)=1
triggerall = !var(59)
triggerall = command = "夝彍"
triggerall = statetype != A
trigger1 = ctrl
trigger2 = anim = 200
trigger3 = anim = 205
trigger4 = anim = 235
trigger5 = anim = 240
trigger6 = anim = 245
trigger7 = anim = 400
trigger8 = anim = 410
trigger9 = anim = 430
trigger10= anim = 440
trigger11= anim = 700 && animelem = 3,>=0


;楢寕
[State -1]
type = ChangeState
value = 16000
triggerall = var(58)=1
triggerall = !var(59)
triggerall = statetype != A
triggerall = command = "楢寕"
trigger1 = ctrl
trigger2 = anim = 200 && movecontact
trigger3 = anim = 205 && movecontact
trigger4 = anim = 235 && movecontact
trigger5 = anim = 240 && movecontact
trigger6 = anim = 245 && movecontact
trigger7 = anim = 400 && movecontact
trigger8 = anim = 410 && movecontact
trigger9 = anim = 430 && movecontact
trigger10= anim = 440 && movecontact
trigger11= anim = 215 && movecontact
trigger12= anim = 700 && animelem = 3,>=0


;楢寕丂捛寕
[State -1]
type = ChangeState
value = 16001
triggerall = var(58)=1
triggerall = !var(59)
triggerall = command = "楢寕"
trigger1 = anim = 10012 && movecontact


;楢寕丂捛寕2
[State -1]
type = ChangeState
value = 16002
triggerall = var(58)=1
triggerall = !var(59)
triggerall = command = "楢寕"
trigger1 = anim = 10013 && movecontact


;儚乕僾丂岝
[State -1, ]
type = ChangeState
value = 10900
triggerall = var(58)=1
triggerall = !var(59)
triggerall = command = "儚乕僾"
triggerall = statetype != A
trigger1 = ctrl

;傆偭旘偽偟峌寕丂岝
[State -1, Stand Light Punch]
type = ChangeState
value = 290
triggerall = var(58)=1
triggerall = !var(59)
triggerall = command = "傆偭旘偽偟"
triggerall = statetype != A
trigger1 = ctrl
trigger2 = anim = 700 && animelem = 3,>=0
trigger3 = anim = 210 && movecontact
trigger4 = anim = 240 && movecontact


;---------------------------------------------------------------------------
;嬻拞傆偭旘偽偟峌寕丂岝
[State -1, Stand Light Punch]
type = ChangeState
value = 690
triggerall = var(58)=1
triggerall = !var(59)
triggerall = command = "傆偭旘偽偟"
triggerall = statetype = A
trigger1 = ctrl
trigger2 = anim = 630 && movecontact
trigger3 = anim = 640 && movecontact
trigger4 = anim = 610 && movecontact

;墦嫍棧棫偪庛僷儞僠丂岝
[State -1, Stand Light Punch]
type = ChangeState
value = 200
triggerall = var(58)=1
triggerall = !var(59)
triggerall = command = "x"
triggerall = command != "holddown"
triggerall = P2dist X >50
triggerall = statetype = S
trigger1 = ctrl
trigger2 = anim = 700 && animelem = 3,>=0
trigger3 = anim = 205 && movecontact
trigger4 = anim = 230 && movecontact
trigger5 = anim = 235 && movecontact
;---------------------------------------------------------------------------
;搳偘 岝
[State -1, Stand Light Punch]
type = ChangeState
value = 13000
triggerall = var(58)=1
triggerall = !var(59)
triggerall = command = "x"
triggerall = command != "holddown"
triggerall = P2dist X <=40
triggerall = statetype = S
trigger1 = ctrl
;---------------------------------------------------------------------------
;嬤嫍棧棫偪庛僷儞僠 岝
[State -1, Stand Light Punch]
type = ChangeState
value = 205
triggerall = var(58)=1
triggerall = !var(59)
triggerall = command = "x"
triggerall = command != "holddown"
triggerall = P2dist X <=70
triggerall = statetype = S
trigger1 = ctrl
trigger2 = anim = 700 && animelem = 3,>=0
trigger3 = anim = 230 && movecontact
trigger4 = anim = 235 && movecontact

;---------------------------------------------------------------------------
;墦嫍棧棫偪嫮僷儞僠 岝
[State -1, Stand Strong Punch]
type = ChangeState
value = 210
triggerall = var(58)=1
triggerall = !var(59)
triggerall = command = "y"
triggerall = command != "holddown"
triggerall = P2dist X >50
triggerall = statetype != A
trigger1 = ctrl
trigger2 = anim = 700 && animelem = 3,>=0
trigger3 = anim = 200 && movecontact
trigger4 = anim = 205 && movecontact
;---------------------------------------------------------------------------
;嬤嫍棧棫偪嫮僷儞僠 岝
[State -1, Stand Strong Punch]
type = ChangeState
value = 215
triggerall = var(58)=1
triggerall = !var(59)
triggerall = command = "y"
triggerall = command != "holddown"
triggerall = P2dist X <=50
triggerall = statetype != A
trigger1 = ctrl
trigger2 = anim = 700 && animelem = 3,>=0
trigger3 = anim = 200 && movecontact
trigger4 = anim = 205 && movecontact

;---------------------------------------------------------------------------
;墦嫍棧棫偪庛僉僢僋 岝
[State -1, Stand Light Kick]
type = ChangeState
value = 230
triggerall = var(58)=1
triggerall = !var(59)
triggerall = command = "a"
triggerall = command != "holddown"
triggerall = P2dist X >50
triggerall = statetype = S
trigger1 = ctrl
trigger2 = anim = 700 && animelem = 3,>=0
trigger3 = anim = 200 && movecontact
trigger4 = anim = 205 && movecontact
;---------------------------------------------------------------------------
;嬤嫍棧棫偪庛僉僢僋 岝
[State -1, Stand Light Kick]
type = ChangeState
value = 235
triggerall = var(58)=1
triggerall = !var(59)
triggerall = command = "a"
triggerall = command != "holddown"
triggerall = P2dist X <=50
triggerall = statetype = S
trigger1 = ctrl
trigger2 = anim = 700 && animelem = 3,>=0
trigger3 = anim = 200 && movecontact
trigger4 = anim = 205 && movecontact
;---------------------------------------------------------------------------
;墦嫍棧棫偪嫮僉僢僋1 岝
[State -1, Standing Strong Kick]
type = ChangeState
value = 240
triggerall = var(58)=1
triggerall = !var(59)
triggerall = command = "b"
triggerall = command != "holddown"
triggerall = P2dist X >50
triggerall = statetype = S
trigger1 = ctrl
trigger2 = anim = 700 && animelem = 3,>=0
trigger3 = anim = 200 && movecontact
trigger4 = anim = 205 && movecontact
trigger5 = anim = 230 && movecontact
trigger6 = anim = 235 && movecontact

;墦嫍棧棫偪嫮僉僢僋1 岝
[State -1, Standing Strong Kick]
type = ChangeState
value = 240
triggerall = var(58)=1
triggerall = !var(59)
triggerall = command = "b"
triggerall = command != "holddown"
triggerall = statetype = S
trigger1 = anim = 245 && movecontact

;---------------------------------------------------------------------------
;嬤嫍棧棫偪嫮僉僢僋 岝
[State -1, Standing Strong Kick]
type = ChangeState
value = 245
triggerall = var(58)=1
triggerall = !var(59)
triggerall = command = "b"
triggerall = command != "holddown"
triggerall = P2dist X <=50
triggerall = statetype = S
trigger1 = ctrl
trigger2 = anim = 700 && animelem = 3,>=0
trigger3 = anim = 200 && movecontact
trigger4 = anim = 205 && movecontact
trigger5 = anim = 230 && movecontact
trigger6 = anim = 235 && movecontact
trigger7 = anim = 215 && movecontact

;嬤嫍棧棫偪嫮僉僢僋 岝
[State -1, Standing Strong Kick]
type = ChangeState
value = 245
triggerall = var(58)=1
triggerall = !var(59)
triggerall = command = "b"
trigger1 = anim = 410 && movecontact
;---------------------------------------------------------------------------

;---------------------------------------------------------------------------
;偟傖偑傒庛僷儞僠 岝
[State -1, Crouching Light Punch]
type = ChangeState
value = 400
triggerall = var(58)=1
triggerall = !var(59)
triggerall = command = "x"
triggerall = command = "holddown"
triggerall = statetype = C
trigger1 = ctrl
trigger2 = anim = 700 && animelem = 3,>=0

;---------------------------------------------------------------------------
;偟傖偑傒嫮僷儞僠 岝
[State -1, Crouching Strong Punch]
type = ChangeState
value = 410
triggerall = var(58)=1
triggerall = !var(59)
triggerall = command = "y"
triggerall = command = "holddown"
triggerall = statetype = C
trigger1 = ctrl
trigger2 = anim = 700 && animelem = 3,>=0
trigger3 = anim = 400 && movecontact

;---------------------------------------------------------------------------
;偟傖偑傒庛僉僢僋 岝
[State -1, Crouching Light Kick]
type = ChangeState
value = 430
triggerall = var(58)=1
triggerall = !var(59)
triggerall = command = "a"
triggerall = command = "holddown"
triggerall = statetype = C
trigger1 = ctrl
trigger2 = anim = 700 && animelem = 3,>=0
trigger3 = anim = 400 && movecontact

;---------------------------------------------------------------------------
;偟傖偑傒嫮僉僢僋 岝
[State -1, Crouching Strong Kick]
type = ChangeState
value = 440
triggerall = var(58)=1
triggerall = !var(59)
triggerall = command = "b"
triggerall = command = "holddown"
triggerall = statetype = C
trigger1 = ctrl
trigger2 = anim = 700 && animelem = 3,>=0
trigger3 = anim = 400 && movecontact
trigger4 = anim = 430 && movecontact
;---------------------------------------------------------------------------
;嬻拞庛僷儞僠 岝
[State -1, Jump Light Punch]
type = ChangeState
value = 600
triggerall = var(58)=1
triggerall = !var(59)
triggerall = command = "x"
trigger1 = statetype = A
trigger1 = anim != 106
trigger1 = ctrl

;---------------------------------------------------------------------------
;嬻拞嫮僷儞僠 岝
[State -1, Jump Strong Punch]
type = ChangeState
value = 610
triggerall = var(58)=1
triggerall = !var(59)
triggerall = command = "y"
trigger1 = statetype = A
trigger1 = anim != 106
trigger1 = ctrl
trigger2 = anim = 600 && movecontact

;---------------------------------------------------------------------------
;嬻拞庛僉僢僋 岝
[State -1, Jump Light Kick]
type = ChangeState
value = 630
triggerall = var(58)=1
triggerall = !var(59)
triggerall = command = "a"
trigger1 = statetype = A
trigger1 = anim != 106
trigger1 = ctrl

;---------------------------------------------------------------------------
;嬻拞嫮僉僢僋 岝
[State -1, Jump Strong Kick]
type = ChangeState
value = 640
triggerall = var(58)=1
triggerall = !var(59)
triggerall = command = "b"
trigger1 = statetype = A
trigger1 = anim != 106
trigger1 = ctrl
trigger2 = anim = 610 && movecontact
;===========================================================================
;---------------------------------------------------------------------------
;---------------------------------------------------------------------------
;嬞媫夞旔屻
[State -1, Taunt]
type = null;ChangeState
value = 701
triggerall = var(58)=1
triggerall = !var(59)
triggerall = command = "嬞媫夞旔屻"
trigger1 = statetype != A
trigger1 = ctrl
;---------------------------------------------------------------------------
;僈乕僪僉儍儞僙儖嬞媫夞旔屻
[State -1, 701]
type = null;ChangeState
value = 701
triggerall = !var(59)
triggerall = command = "嬞媫夞旔屻"
triggerall = power >= 1000
trigger1 = anim = 150
trigger2 = anim = 151
;---------------------------------------------------------------------------
;僈乕僪僉儍儞僙儖僼儘儞僩僗僥僢僾
[State -1, 700]
type = ChangeState
value = 100
triggerall = var(58)=1
triggerall = !var(59)
triggerall = command = "FF"
triggerall = power >= 50
trigger1 = anim = 150
trigger2 = anim = 151
;---------------------------------------------------------------------------
;僞僋僥傿僇儖僗僥僢僾
[State -1, Taunt]
type = ChangeState
value = 700
triggerall = var(58)=1
triggerall = !var(59)
triggerall = command = "嬞媫夞旔慜"
triggerall = power >= 50
trigger1 = statetype != A
trigger1 = ctrl
;---------------------------------------------------------------------------
;僈乕僪僉儍儞僙儖僞僋僥傿僇儖僗僥僢僾
[State -1, 700]
type = ChangeState
value = 700
triggerall = var(58)=1
triggerall = !var(59)
triggerall = command = "嬞媫夞旔慜"
triggerall = power >= 200
trigger1 = anim = 150
trigger2 = anim = 151
;---------------------------------------------------------------------------
;AC僞僋僥傿僇儖僗僥僢僾
[State -1, 700]
type = ChangeState
value = 700
triggerall = var(58)=1
triggerall = !var(59)
triggerall = command = "嬞媫夞旔慜"
triggerall = power >= 200
trigger1 = anim = [200,249]
trigger2 = anim = [10012,10013]
;---------------------------------------------------------------------------
;僟僂儞夞旔
[State -1, Taunt]
type = ChangeState
value = 702
triggerall = var(58)=1
triggerall = !var(59)
triggerall = command = "嬞媫夞旔慜"
trigger1 = anim = 5050
trigger1 = pos y >=-40
;---------------------------------------------------------------------------
;僟僢僔儏
[State -1, Run Fwd]
type = ChangeState
value = 100
triggerall = var(58)=1
triggerall = !var(59)
trigger1 = command = "FF"
trigger1 = statetype = S
trigger1 = ctrl

;---------------------------------------------------------------------------
;屻戅僟僢僔儏
[State -1, Run Back]
type = ChangeState
value = 105
triggerall = var(58)=1
triggerall = !var(59)
trigger1 = command = "BB"
trigger1 = statetype = S
trigger1 = ctrl


;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;娙堈俙俬


;僘僶僶
[State -1, ]
type = ChangeState
value = 11470
triggerall = var(58)=1
triggerall = statetype != A
triggerall = roundstate = 2
triggerall = !ishelper
triggerall = var(59) > 0
triggerall = var(16)>1300
trigger1 = ctrl


;搳偘 岝
[State -1, Stand Light Punch]
type = ChangeState
value = 13000
triggerall = var(58)=1
triggerall = roundstate = 2
triggerall = var(59) > 0
triggerall = P2dist X <=50
triggerall = Enemy,statetype = S
triggerall = random < 300
triggerall = statetype != A
trigger1 = ctrl

[State -1, Strong Kung Fu Palm]
type = ChangeState
value = 12220
triggerall = var(58)=1
triggerall = roundstate = 2
triggerall = !ishelper
triggerall = statetype != A
triggerall = ctrl||(anim = 700 && animelem = 3,>=0)
triggerall = var(59) > 0
triggerall = power >= 3000 
trigger1 = random < 40

[State -1, Strong Kung Fu Palm]
type = ChangeState
value = 12100
triggerall = var(58)=1
triggerall = roundstate = 2
triggerall = !ishelper
triggerall = var(59) > 0
triggerall = statetype != A
triggerall = power >= 2000 
triggerall = random < 70
trigger1 = anim = 240 && movecontact

[State -2,棊棆]
type = Changestate
value = 11450
triggerall = var(58)=1
triggerall = numhelper(11400) < 10
triggerall = var(59) > 0
triggerall = !ishelper
triggerall = statetype != A
triggerall = enemy,alive || enemy(numenemy > 1),alive
triggerall = ctrl||(anim = 700 && animelem = 3,>=0)
triggerall = random < 200
trigger1 = p2bodydist x >= 100


[State -2];彫僉僢僋
type = ChangeState
value = 235
triggerall = var(58)=1
triggerall = roundstate = 2
trigger1 = ctrl||(anim = 700 && animelem = 3,>=0)
triggerall = !ishelper
triggerall = var(59) > 0
triggerall = random < 200
triggerall = statetype != A
triggerall = Enemy,Pos y >= -60
trigger1 = Enemy,Anim != [5100,5170]
trigger1 = random < 200
trigger1 = p2bodydist x <= 25
trigger1 = p2bodydist y <= 60


[State -2];彫僷儞
type = ChangeState
value = 200
triggerall = var(58)=1
triggerall = roundstate = 2
trigger1 = ctrl||(anim = 700 && animelem = 3,>=0)
triggerall = !ishelper
triggerall = var(59) > 0
triggerall = random < 300
triggerall = statetype != A
triggerall = Enemy,Pos y >= -60
trigger1 = Enemy,Anim != [5050,5170]
trigger1 = random < 200
trigger1 = p2bodydist x <= 35
trigger1 = p2bodydist y <= 60


[State -2];彫僷儞
type = ChangeState
value = 400
triggerall = var(58)=1
triggerall = roundstate = 2
trigger1 = ctrl||(anim = 700 && animelem = 3,>=0)
triggerall = !ishelper
triggerall = var(59) > 0
triggerall = statetype != A
triggerall = Enemy,Pos y >= -60
trigger1 = Enemy,Anim != [5100,5170]
trigger1 = random < 200
trigger1 = p2bodydist x <= 35
trigger1 = p2bodydist y <= 60




[State -1, Strong Kung Fu Palm]
type = ChangeState
value = 12100
triggerall = var(58)=1
triggerall = roundstate = 2
triggerall = !ishelper
triggerall = statetype != A
triggerall = ctrl||(anim = 700 && animelem = 3,>=0)
triggerall = var(59) > 0
triggerall = power >= 2000 
triggerall = random < 30
trigger1 = ctrl
trigger1 = enemy,movetype!=A

[State -1, Strong Kung Fu Palm]
type = ChangeState
value = 11540
triggerall = var(58)=1
triggerall = p2bodydist x >= 60
triggerall = power >= 1000 
triggerall = statetype != A
triggerall = roundstate = 2
triggerall = !ishelper
triggerall = ctrl||(anim = 700 && animelem = 3,>=0)
triggerall = var(59) > 0
trigger1 = random < 30

[State -1, Strong Kung Fu Palm]
type = ChangeState
value = 11530
triggerall = var(58)=1
triggerall = roundstate = 2
triggerall = !ishelper
triggerall = ctrl||(anim = 700 && animelem = 3,>=0)
triggerall = statetype != A
triggerall = power >= 1000 
triggerall = numhelper(11520) < 10
triggerall = p2bodydist x >= 90
triggerall = random < 40
trigger1 = ctrl
trigger2 = Enemy,movetype = H
triggerall = var(59) > 0



;旘傃摴嬶
[State -1]
type = ChangeState
value = 11001
triggerall = var(58)=1
triggerall = roundstate = 2
triggerall = !ishelper
triggerall = ctrl||(anim = 700 && animelem = 3,>=0)
triggerall = p2bodydist x >= 60
trigger1 = !numhelper(11000)
trigger2 = numhelper(11000)<3
trigger2 = random < 30
triggerall = p2movetype != A
triggerall = statetype != A
triggerall = var(59) > 0

;旘傃摴嬶
[State -1]
type = ChangeState
value = 11001
triggerall = var(58)=1
triggerall = roundstate = 2
triggerall = !ishelper
triggerall = random < 100
triggerall = movecontact
trigger1 = anim = 200
trigger2 = anim = 205
trigger3 = anim = 235
trigger4 = anim = 240
trigger5 = anim = 245
trigger6 = anim = 400
trigger7 = anim = 410
trigger8 = anim = 430
trigger9= anim = 440
triggerall = p2movetype != A
triggerall = statetype != A
triggerall = var(59) > 0


;儚乕僾
[State -1]
type = ChangeState
value = 10900
triggerall = var(58)=1
triggerall = roundstate = 2
triggerall = !ishelper
triggerall = random < 150
trigger1 = ctrl||(anim = 700 && animelem = 3,>=0)
trigger1 = p2bodydist x >= 50
triggerall = p2movetype != A
triggerall = statetype != A
triggerall = var(59) > 0

[State -2,僈乕僪]
type = Changestate
value = 120
triggerall = var(58)=1
triggerall = var(59) > 0
triggerall = !ishelper
triggerall = NumEnemy
Triggerall = !Enemy,Hitdefattr = SCA,AT
triggerall = enemy,alive || enemy(numenemy > 1),alive
triggerall = ctrl
triggerall = power <= 200
triggerall = p2bodydist x >= 50
Trigger1 = Statetype != A
Trigger1 = InGuardDist 
Trigger2 = !InGuardDist 
Trigger2 = Statetype != A
Trigger2 = NumTarget
Trigger2 = Abs(P2Dist X) < 60 
Trigger2 = EnemyNear,MoveType = A
Trigger2 = Target,Hitdefattr = SCA,AA,AP,AT
Trigger3 = StateNo!=[120,155]
Trigger3 = inguarddist
Trigger3 = Random<=9*60
Trigger4 = StateNo!=[120,155]
Trigger4 = inguarddist
Trigger4 = P2BodyDist X>90||EnemyNear,Time>50
Trigger4 = Random<=7*150

[State -2,僈乕僪]
type = Changestate
value = 120
triggerall = var(58)=1
triggerall = var(59) > 0
triggerall = !ishelper
triggerall = NumEnemy
Triggerall = !Enemy,Hitdefattr = SCA,AT
triggerall = enemy,alive || enemy(numenemy > 1),alive
triggerall = ctrl
triggerall = power >= 200
Trigger1 = Statetype != A
Trigger1 = InGuardDist 
Trigger2 = !InGuardDist 
Trigger2 = Statetype != A
Trigger2 = NumTarget
Trigger2 = Abs(P2Dist X) < 60 
Trigger2 = EnemyNear,MoveType = A
Trigger2 = Target,Hitdefattr = SCA,AA,AP,AT
Trigger3 = StateNo!=[120,155]
Trigger3 = inguarddist
Trigger3 = Random<=9*60
Trigger4 = StateNo!=[120,155]
Trigger4 = inguarddist
Trigger4 = P2BodyDist X>90||EnemyNear,Time>50
Trigger4 = Random<=7*150

;僈乕僪僉儍儞僙儖僞僋僥傿僇儖僗僥僢僾
[State -1, 700]
type = ChangeState
value = 700
triggerall = var(58)=1
triggerall = statetype != A
triggerall = Roundstate = 2
triggerall = var(59) > 0
triggerall = random < 500
triggerall = power >= 200
trigger1 = anim = 150
trigger2 = anim = 151

;AC僞僋僥傿僇儖僗僥僢僾
[State -1, 700]
type = ChangeState
value = 700
triggerall = var(58)=1
triggerall = statetype != A
triggerall = Roundstate = 2
triggerall = var(59) > 0
triggerall = random < 400
triggerall = power >= 200
triggerall = movecontact
trigger1 = anim = [200,249]
trigger2 = anim = [10012,10013]


;AI僕儍儞僾
[State -1]
type = ChangeState
value = 10041
triggerall = var(58)=1
triggerall = roundstate = 2
triggerall = !ishelper
triggerall = statetype != A
triggerall = ctrl||(anim = 700 && animelem = 3,>=0)
triggerall = Roundstate = 2
triggerall = var(59) > 0
triggerall = p2movetype = H
trigger1 = numtarget
trigger1 = target,vel x <= -1
trigger1 = p2bodydist x <= 30
trigger1 = p2bodydist x >= 10
trigger1 = Enemy,Pos y <= -50
trigger1 = Enemy,Pos y >= -80
trigger2 = numtarget
trigger2 = !target,vel x 
trigger2 = p2bodydist x <= 30
trigger2 = Enemy,Pos y <= -50
trigger2 = Enemy,Pos y >= -80
trigger3 = !numtarget
trigger3 = numEnemy
trigger3 = Enemy,vel x <= -1
trigger3 = p2bodydist x <= 30
trigger3 = p2bodydist x >= 10
trigger3 = Enemy,Pos y <= -50
trigger3 = Enemy,Pos y >= -80

[State -2];嬻拞傆偭偲偽偟
type = ChangeState
value = 690
triggerall = var(58)=1
triggerall = roundstate = 2
triggerall = !ishelper
triggerall = var(59) > 0
triggerall = statetype = A
triggerall = p2movetype != A
triggerall = enemy,stateno != 5110
triggerall = enemy,stateno != 5150
trigger1 = anim = 640 && movecontact
[State -2];嬻拞嫮僉僢僋
type = ChangeState
value = 640
triggerall = var(58)=1
triggerall = roundstate = 2
triggerall = !ishelper
triggerall = var(59) > 0
triggerall = statetype = A
triggerall = p2movetype != A
triggerall = enemy,stateno != 5110
triggerall = enemy,stateno != 5150
trigger1 = anim = 610 && movecontact
[State -2];嬻拞嫮僷儞僠
type = ChangeState
value = 610
triggerall = var(58)=1
triggerall = roundstate = 2
triggerall = !ishelper
triggerall = var(59) > 0
triggerall = statetype = A
triggerall = p2movetype != A
triggerall = enemy,stateno != 5110
triggerall = enemy,stateno != 5150
trigger1 = anim = 600 && movecontact
[State -2];嬻拞庛僷儞僠
type = ChangeState
value = 600
triggerall = var(58)=1
triggerall = roundstate = 2
triggerall = !ishelper
triggerall = var(59) > 0
triggerall = statetype = A
triggerall = p2movetype != A
triggerall = p2bodydist y <= 0 
triggerall = p2bodydist y >= -60
triggerall = ctrl||(anim = 700 && animelem = 3,>=0)
triggerall = enemy,stateno != 5110
triggerall = enemy,stateno != 5150
trigger1 = p2bodydist x <= 50

;楢寕丂捛寕
[State -1]
type = ChangeState
value = 16001
triggerall = var(58)=1
triggerall = roundstate = 2
triggerall = !ishelper
triggerall = var(59) > 0
trigger1 = anim = 10012 && movecontact


;楢寕丂捛寕2
[State -1]
type = ChangeState
value = 16002
triggerall = var(58)=1
triggerall = roundstate = 2
triggerall = !ishelper
triggerall = var(59) > 0
trigger1 = anim = 10013 && movecontact


;楢寕
[State -1]
type = ChangeState
value = 16000
triggerall = var(58)=1
triggerall = statetype != A
triggerall = roundstate = 2
triggerall = !ishelper
triggerall = var(59) > 0
triggerall = random < 20
trigger1 = anim = 200 && movecontact
trigger2 = anim = 205 && movecontact
trigger3 = anim = 235 && movecontact
trigger4 = anim = 240 && movecontact
trigger5 = anim = 245 && movecontact
trigger6 = anim = 400 && movecontact
trigger7 = anim = 410 && movecontact
trigger8 = anim = 430 && movecontact
trigger9= anim = 440 && movecontact
trigger10= anim = 215 && movecontact
trigger11= anim = 700 && animelem = 3,>=0

;僘僶僶
[State -1, ]
type = ChangeState
value = 11470
triggerall = var(58)=1
triggerall = statetype != A
triggerall = roundstate = 2
triggerall = !ishelper
triggerall = var(59) > 0
triggerall = random < 50
trigger1 = ctrl
trigger2 = anim = 200 && movecontact
trigger3 = anim = 205 && movecontact
trigger4 = anim = 235 && movecontact
trigger5 = anim = 240 && movecontact
trigger6 = anim = 245 && movecontact
trigger7 = anim = 400 && movecontact
trigger8 = anim = 410 && movecontact
trigger9 = anim = 430 && movecontact
trigger10= anim = 440 && movecontact
trigger11= anim = 215 && movecontact
trigger12= anim = 700 && animelem = 3,>=0

;墦嫍棧棫偪嫮僉僢僋1 岝
[State -1, Standing Strong Kick]
type = ChangeState
value = 240
triggerall = var(58)=1
triggerall = roundstate = 2
triggerall = !ishelper
triggerall = var(59) > 0
trigger1 = anim = 245 && movecontact

;嬤嫍棧棫偪嫮僉僢僋 岝
[State -1, Standing Strong Kick]
type = ChangeState
value = 245
triggerall = var(58)=1
triggerall = roundstate = 2
triggerall = !ishelper
triggerall = var(59) > 0
trigger1 = anim = 235 && movecontact
trigger2 = anim = 215 && movecontact

;嬤嫍棧棫偪嫮僉僢僋 岝
[State -1, Standing Strong Kick]
type = ChangeState
value = 245
triggerall = var(58)=1
triggerall = roundstate = 2
triggerall = !ishelper
triggerall = var(59) > 0
trigger1 = anim = 410 && movecontact


;偟傖偑傒嫮僷儞僠 岝
[State -1, Crouching Strong Punch]
type = ChangeState
value = 410
triggerall = var(58)=1
triggerall = roundstate = 2
triggerall = !ishelper
triggerall = var(59) > 0
trigger1 = anim = 400 && movecontact


[State -2];楢寕
type = ChangeState
value = 16000
triggerall = var(58)=1
triggerall = roundstate = 2
trigger1 = ctrl||(anim = 700 && animelem = 3,>=0)
triggerall = !ishelper
triggerall = var(59) > 0
triggerall = statetype != A
triggerall = random < 300
triggerall = Enemy,Pos y <= 0 
triggerall = Enemy,Pos y >= -60
trigger1 = p2bodydist x <= 30
trigger1 = p2bodydist y <= 60
trigger1 = p2movetype != A
trigger1 = Enemy,Anim != [5050,5170]
trigger2 = ctrl||(anim = 700 && animelem = 3,>=0)
trigger2 = enemy,hitpausetime >= 3
trigger2 = p2bodydist x <= 50







[State -2,僟僢僔儏]
type = Changestate
value = 105
triggerall = var(58)=1
triggerall = roundstate = 2
triggerall = var(59) > 0
triggerall = p2bodydist x >= 0
triggerall = !ishelper
triggerall = enemy,alive || enemy(numenemy > 1),alive
triggerall = statetype != A
triggerall = random < 30
trigger1 = ctrl


[State -2,僟僢僔儏]
type = Changestate
value = 100
ctrl = 1
triggerall = var(58)=1
triggerall = roundstate = 2
triggerall = var(59) > 0
triggerall = p2bodydist x >= 0
triggerall = !ishelper
triggerall = enemy,alive || enemy(numenemy > 1),alive
triggerall = statetype != A
triggerall = stateno != 40
triggerall = stateno != 10041
triggerall = stateno != [10,12]
triggerall = ctrl
triggerall = p2bodydist x >= 10
trigger1 = stateno!=100
trigger2 = stateno=100
trigger2 = time >= 20

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;



; 僕儍儞僾 AI
[Statedef 10041]
type    = A
physics = S
anim = 40
ctrl = 0
velset = 0,0
sprpriority = 1

; 晛捠
[State 40]
type = VelSet
trigger1 = AnimTime = 0
trigger1 = var(59) >= 0
x = const(velocity.jump.fwd.x)
y = const(velocity.jump.y)


[State 40, ChangeState]
type = ChangeState
trigger1 = AnimTime = 0
value = 50
ctrl = 1