[Statedef -3]
;劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒
[State -3,AILvFlagSet]
Type = VarSet
TriggerAll=var(59)<1
Trigger1=Command="AI0"||Command="AI1"||Command="AI2"
Trigger2=Command="AI3"||Command="AI4"||Command="AI5"||Command="AI6"
Trigger3=Command="AI7"||Command="AI8"||Command="AI9"||Command="AI10"
Trigger4=Command="AI11"||Command="AI12"||Command="AI13"||Command="AI14"
Trigger5=Command="AI15"||Command="AI16"||Command="AI17"||Command="AI18"
Trigger6=Command="AI19"||Command="AI20"||Command="AI21"||Command="AI22"
Trigger7=Command="AI23"||Command="AI24"||Command="AI25"||Command="AI26"
Trigger8=Command="AI27"||Command="AI28"||Command="AI29"||Command="AI30"
Trigger9=Command="AI31"||Command="AI32"||Command="AI33"||Command="AI34"
Trigger10=Command="AI35"||Command="AI36"||Command="AI37"||Command="AI38"
Trigger11=Command="AI39"||Command="AI40"||Command="AI41"||Command="AI42"
Trigger12=Command="AI43"||Command="AI44"||Command="AI45"||Command="AI46"
Trigger13=Command="AI47"||Command="AI48"||Command="AI49"||Command="AI50"
Trigger14=Command="a"^^Command="a2"||Command="b"^^Command="b2"||Command="c"^^Command="c2"
Trigger15=Command="x"^^Command="x2"||Command="y"^^Command="y2"||Command="z"^^Command="z2"
Trigger16=Command="start"^^Command="start2"||Command="holdfwd"^^Command="holdfwd2"
Trigger17=Command="holdback"^^Command="holdback2"||Command="holdup"^^Command="holdup2"||Command="holddown"^^Command="holddown2"
Trigger18=var(59)=0
Trigger18=NumHelper(var(57))
Trigger18=Helper(var(57)),var(59)>0
var(59)=10;仼AI儗儀儖
IgNoreHitPause=1
;11偼挻斀墳
;劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒
;僽儘僢僉儞僌儗儀儖
;劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒
[State -3,僽儘僢僉儞僌]
Type=VarSet
Trigger1=1
var(55)=1;仼1乣10儗儀儖偁傝傑偡丅
;劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒
;僽儘僢僉儞僌巇條
;劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒
[State -3,僽儘僢僉儞僌]
Type=VarSet
Trigger1=1
var(54)=0;仼偙偙偱挷惍
;1=僉儍儔尦巇條
;0=偆偪偺巇條
;劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒
;AI
;劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒
[State -3, AI婲摦梡僿儖僷乕]
type=helper
triggerall=RoundState<2||(RoundState=2&&ctrl)
trigger1=!NumHelper(var(57))
trigger1=alive
trigger1=var(59)=0
helpertype=normal
name="AI"
stateno=20000
ID=var(57)
pos=-999,-999
keyctrl=1
pausemovetime=2147483647
supermovetime=2147483647
persistent = 0
[State -3,AIFlagSet];AI婲摦梡僿儖僷乕梡
type=changestate
trigger1= ishelper
trigger1= ishelper(var(57))
trigger1= stateno!=20000
value=20000

[State -3];壓抜僈乕僪梡
Type = VarSet
TriggerAll=NumEnemy
Trigger1 = P2StateType!=A
Trigger2 = P2Name="millia"
Trigger2 = P2StateNo=1500
Trigger3 = P2Name="eddie"
Trigger3 = P2StateNo=1000||P2StateNo=1050||playerID(var(58)),NumHelper(1002);||playerID(var(58)),NumHelper(1001)
Trigger4 = P2Name="eddie"
Trigger4 = P2StateNo=1800||P2StateNo=1850
Trigger5 = P2Name="eddie"||P2Name="jam"
Trigger5 = P2StateNo=210
Trigger6 = P2Name="johnny"
Trigger6 = (P2StateNo=[1020,1021])||(P2StateNo=[1070,1077])
Trigger7 = P2Name="Aya Syameimaru"
Trigger7 = P2StateNo=804||playerID(var(58)),NumHelper(917)
fvar(38) = 1
IgNoreHitPause = 1

[State -3];拞抜僈乕僪梡
Type=VarSet
TriggerAll=NumEnemy
Trigger1=playerID(var(58)),AutHorName="muteki"||playerID(var(58)),AutHorName="Akutagawa"
Trigger1=P2StateNo=240
Trigger2=P2Name!="millia"||playerID(var(58)),StateNo!=1500
Trigger2=P2Name!="eddie"||!(P2StateNo=1000||P2StateNo=1050||P2StateNo=1800||P2StateNo=1850||playerID(var(58)),NumHelper(1001)||playerID(var(58)),NumHelper(1002))
Trigger2=P2StateType=A
Trigger3=P2Name="testa"||P2Name="justice"
Trigger3=(P2StateNo=[205,206])
Trigger4=P2Name="millia"||P2Name="BRIDGET"||P2Name="eddie"
Trigger4=P2StateNo=215
Trigger5=P2Name="faust"
Trigger5=P2StateNo=235
Trigger6=P2Name="johnny"
Trigger6=P2StateNo=1500||(P2StateNo=[3500,3501])||P2StateNo=1400&&playerID(var(58)),NumHelper(1401)
Trigger7=P2Name="order-Sol=Badguy"
Trigger7=P2StateNo=432
Trigger8=P2Name="eddie"
Trigger8=0;NumHelper(1600)
Trigger9=P2Name="jam"||P2Name="Tenshi Hinanai"
Trigger9=P2StateNo=215
Trigger10=P2Name="Sion_Eltnam_Atlasia"
Trigger10=P2StateNo=[240,241]
Trigger11=P2Name="TOKI-(NERICYA)"
Trigger11=P2StateNo=900
Trigger12=P2Name="Remilia_Scarlet"||P2Name="Tenshi Hinanai"
Trigger12=P2StateNo=230||P2StateNo=240
Trigger13=P2Name="Hong Meirin"
Trigger13=P2StateNo=820
Trigger14=P2Name="Aya Syameimaru"
Trigger14=P2StateNo=[707,708]
Trigger15=P2Name="Marisa Kirisame"||P2Name="Tenshi Hinanai"
Trigger15=P2StateNo=1000||P2StateNo=1005||P2StateNo=405
Trigger16=P2Name="Sakuya Izayoi"
Trigger16=P2StateNo=210||P2StateNo=400||P2StateNo=410||P2StateNo=530
Trigger17=P2Name="Yakumo Yukari"
Trigger17=P2StateNo=[2000,2020]
Trigger18=P2Name="Alice Margatroid"
Trigger18=P2StateNo=240
Trigger19=P2Name="Suika Ibuki"
Trigger19=P2StateNo=[707,708]
Trigger20=P2Name="Reimu_Hakurei"
Trigger20=P2StateNo=240
Trigger21=P2Name="siteittene"
Trigger21=P2StateNo=600
Trigger22=P2Name="Youmu_Konpaku"
Trigger22=P2StateNo=201||P2StateNo=205||P2StateNo=206||P2StateNo=252||P2StateNo=452||P2StateNo=700||P2StateNo=1001
Trigger23=P2Name="chipp"
Trigger23=P2StateNo=1320
Trigger24=P2Name="JAGI"
Trigger24=P2StateNo=1200
Trigger25=P2Name="Patchouli_Knowledge"
Trigger25=P2StateNo=200||P2StateNo=700
Trigger26=P2Name="Maori"
Trigger26=P2StateNo=1200
Trigger27=P2Name="Wolfgang Krauser"
Trigger27=playerID(var(58)),NumprojID(1000)
Trigger28=P2Name="blackpolnareff"
Trigger28=P2StateNo=1260
Trigger29=P2Name="cvsyamazaki"
Trigger29=P2StateNo=300||P2StateNo=1400
Trigger30=P2Name="Ash"
Trigger30=P2StateNo=310
Trigger31=P2Name="Jedah"||P2Name="SHIN"||P2Name="THOUTHER"
Trigger31=P2StateNo=250
Trigger32=P2Name="Bulleta SXP"
Trigger32=P2StateNo=241
Trigger33=P2Name="A.B.A"
Trigger33=P2StateNo=1200||P2StateNo=1500||P2StateNo=3050
Trigger34=P2Name="ROBO-KY MK-嘦"||P2Name="ROBO-KY"
Trigger34=P2StateNo=850||P2StateNo=1500
Trigger35=P2Name="Red_Arcueid"
Trigger35=P2StateNo=218
Trigger36=P2Name="Magaki"
Trigger36=P2StateNo=310||P2StateNo=1320||playerID(var(58)),NumHelper(1321)
Trigger37=P2Name="cvskyo"||P2Name="cvskyo_ex"
Trigger37=P2StateNo=310||P2StateNo=1300
Trigger38=P2Name="Ky=kiske"
Trigger38=P2StateNo=10240
Trigger39=P2Name="Shadow DIO"
Trigger39=P2StateNo=205||P2StateNo=225||P2StateNo=245||P2StateNo=1300
Trigger40=P2Name="PetShop"
Trigger40=playerID(var(58)),NumHelper(11251)||playerID(var(58)),NumHelper(11261)||playerID(var(58)),NumHelper(11271)
Trigger41=P2Name="Fiona"
Trigger41=P2StateNo=9212
Trigger42=NumHelper(60000)
Trigger42=p2stateno=helper(60000),var(11)||p2stateno=helper(60000),var(12)||p2stateno=helper(60000),var(13)||p2stateno=helper(60000),var(14)
fvar(38)=2
IgNoreHitPause=1

[State -3];僈乕僪晄擻梡(搳偘)
Type = VarSet
Trigger1 = playerID(var(58)),HitDefAttr=,AT
Trigger2 = playerID(var(58)),AutHorName="muteki"||playerID(var(58)),AutHorName="Akutagawa"||playerID(var(58)),AutHorName="H乭"||playerID(var(58)),AutHorName="Phantom.of.the.Server"
Trigger2 = P2StateNo=800
Trigger3 = playerID(var(58)),AutHorName="GM"||playerID(var(58)),AutHorName="嘓"||playerID(var(58)),AutHorName="jin"||playerID(var(58)),AutHorName="Ahuron"
Trigger3 = P2StateNo=800
Trigger4 = playerID(var(58)),AutHorName="Warusaki3"
Trigger4 = P2StateNo=900
Trigger5 = P2Name="eddie"
Trigger5 = P2StateNo=1300
Trigger6 = P2Name="SLAYER"
Trigger6 = P2StateNo=1200||P2StateNo=1300
Trigger7 = P2Name="order-Sol=Badguy"||P2Name="faust"
Trigger7 = P2StateNo=1500
Trigger8 = P2Name="jam"
Trigger8 = P2StateNo=2500
Trigger9 = P2Name="sol"
Trigger9 = P2StateNo=1600
Trigger10= P2Name="UNKNOWN"
Trigger10= (P2StateNo=[3100,3140])&&(playerID(var(58)),Time=[13,50])
Trigger11= P2Name="wind"
Trigger11= P2StateNo=[7600,7601]
Trigger12= P2Name="Shin Gouki"||P2Name="Ryu"||P2Name="Morrigan Aensland"||P2Name ="Sakura KasugaNo"
Trigger12= P2StateNo=4000
Trigger13= P2Name="Yuri Sakazaki"||P2Name="cvsgouki"||P2Name="cvsryu"||P2Name="cvssakura"
Trigger13= P2StateNo=3300
Trigger14= P2Name="cvsg_rugal"||P2Name="cvsrugal"
Trigger14= P2StateNo=1700||P2StateNo=3200
Trigger15= P2Name="Gouki"
Trigger15= P2StateNo=3600||P2StateNo=1700
Trigger16= P2Name="Kaori Misaka"
Trigger16= P2StateNo=20080||P2StateNo=20060
Trigger17= P2Name="Evil Ken"
Trigger17= P2StateNo=3890
Trigger18= P2Name="Kohaku"
Trigger18= P2StateNo=1300||P2StateNo=[2050,2051]
Trigger19= P2Name="Omega Goenitz"
Trigger19= P2StateNo=3150
Trigger20= P2Name="RUGAL"
Trigger20= P2StateNo=2550||P2StateNo=2500
Trigger21= P2Name="cvszangief"
Trigger21= P2StateNo=820||P2StateNo=1300||P2StateNo=1450||P2StateNo=1520||P2StateNo=1620||P2StateNo=1750||P2StateNo=1850||P2StateNo=3150||P2StateNo=3050||P2StateNo=3250
Trigger22= P2Name="cvsyamazaki"
Trigger22= P2StateNo=1300
Trigger23= P2Name="cvsbenimaru"
Trigger23= P2StateNo=1400||P2StateNo=3200
Trigger24= P2Name="cvstodo"
Trigger24= P2StateNo=1200
Trigger25= P2Name="cvsrock"
Trigger25= P2StateNo=1500
Trigger26= P2Name="cvsvice"
Trigger26= P2StateNo=1000||P2StateNo=1300||P2StateNo=1400||P2StateNo=3100||P2StateNo=[3000,3001]
Trigger27= P2Name="Hugo"
Trigger27= P2StateNo=1000||P2StateNo=1010||P2StateNo=1020||P2StateNo=1100||P2StateNo=1110||P2StateNo=1120||P2StateNo=1200||P2StateNo=1210||P2StateNo=1220||P2StateNo=1300||P2StateNo=1310||P2StateNo=1320||P2StateNo=3000||P2StateNo=3100
Trigger28= P2Name="Alex";儃僢両
Trigger28= P2StateNo=1000||P2StateNo=1010||P2StateNo=1020||P2StateNo=1500||P2StateNo=1510||P2StateNo=1520||P2StateNo=3000
Trigger29= P2Name="Yumiduka_Satsuki"
Trigger29= P2StateNo=1101||P2StateNo=1111||P2StateNo=1310||P2StateNo=2400||P2StateNo=3000||P2StateNo=3050
Trigger30= P2Name="Kishima_kouma"
Trigger30= P2StateNo=1000||P2StateNo=1050||P2StateNo=2000||P2StateNo=3000||P2StateNo=3100
Trigger31= P2Name="JAGI"
Trigger31= P2StateNo=1000||P2StateNo=2000
Trigger32= P2Name="cvsyun"
Trigger32= P2StateNo=1400
Trigger34= P2Name="Magaki"
Trigger34= P2StateNo=1100||P2StateNo=1150||P2StateNo=2100
fvar(38) = 3
IgNoreHitPause = 1

[State -3];僈乕僪晄擻峌寕
Type = VarSet
TriggerAll=NumEnemy
Trigger1 = P2Name="johnny"
Trigger1 = (playerID(var(58)),var(49)&&(P2StateNo=[1000,1099]))
Trigger2 = P2Name="Suika Ibuki"
Trigger2 = P2StateNo=[1300,1321]
Trigger3 = P2Name ="dio"
Trigger3 = P2StateNo=1300&&(playerID(var(58)),Time=[1,53])
Trigger4 = P2Name ="Izayoi Sakuya Brando"
Trigger4 = P2StateNo=10044
Trigger5 = P2Name="SLAYER"
Trigger5 = P2StateNo=1200||P2StateNo=1300
Trigger6 = P2Name="order-Sol=Badguy"
Trigger6 = P2StateNo=1500
Trigger7 = P2Name="jam"
Trigger7 = P2StateNo=2500
Trigger8 = P2Name="faust"
Trigger8 = P2StateNo=1500
Trigger9 = P2Name="Fiona"
Trigger9 = P2StateNo=9425&&playerID(var(58)),Time>=20
Trigger10= P2Name="Shadow DIO"
Trigger10= P2StateNo=[2100,2101]
fvar(38)=4
IgNoreHitPause=1

[State -3];憡庤柍揋敾掕 姰慡柍揋
Type = VarSet
TriggerAll=NumEnemy
Trigger1 = 0;P2StateNo=105
Trigger2 = P2Name="cvsrugal"||P2Name="cvsg_rugal"
Trigger2 = P2StateNo=1800
Trigger3 = P2Name="cvsgouki"||P2Name="cvsgouki_ex"||P2Name="cvsgouki_Normal"
Trigger3 = P2StateNo=1500
Trigger4 = P2Name="cvsryu"||P2Name="cvsryu_ex"||P2Name="cvsryu_Normal"||P2Name="Shin Gouki"||P2Name="Ryu"
Trigger4 = P2StateNo=1400
Trigger5 = P2Name="Evil Ken"||P2Name="Evil Ryu"||P2Name="Evil Dan"
Trigger5 = P2StateNo=[3960,3971]
Trigger6 = P2Name="KoNoha"
Trigger6 = P2StateNo=1200||P2StateNo=1220||P2StateNo=1610
Trigger7 = P2Name="jam"
Trigger7 = P2StateNo=[1310,1311]
Trigger8 = P2Name="eddie"
Trigger8 = P2StateNo=1101
Trigger9 = P2Name="TOKI-(NERICYA)"
Trigger9 = (P2StateNo=[1210,1250])||(P2StateNo=[1300,1600])
Trigger10= P2Name="OGRE"
Trigger10= P2StateNo=[980,991]
Trigger11= playerID(var(58)),AutHorName="Toma & Raien Makoto"
Trigger11= P2Name="Aoko Aozaki"||P2Name="Shiki_Nanaya"
Trigger11= P2StateNo=1253
Trigger12= P2Name="General"
Trigger12= P2StateNo=[1000,1012]
Trigger13= P2Name="Omega Goenitz"
Trigger13= P2StateNo=900||P2StateNo=1000||P2StateNo=3100
Trigger14= P2Name="Reimu_Hakurei"||P2Name="Tenshi Hinanai"
Trigger14= P2StateNo=3021||P2StateNo=3026||P2StateNo=3020||EnemyNear(helper(40000),var(59)),Var(12)=3021&&P2StateNo=119||P2StateNo=3022||(P2StateNo=[3040,3041])||P2StateNo=3051||P2StateNo=5125||P2StateNo=5135
Trigger15= 0;P2Name="SHIN"
Trigger15= 0;P2StateNo=2400||P2StateNo=2050||(P2StateNo=2000&&playerID(var(58)),Time<99)||(var(58)&&StateNo=1400)
Trigger16= P2Name="Marisa Kirisame"
Trigger16= (P2StateNo=[900,901])||(P2StateNo=[2010,2011])||(P2StateNo=[2020,2021])||P2StateNo=2030||(P2StateNo=[2040,2042])
Trigger17= P2Name="THOUTHER"
Trigger17= P2StateNo=2200
Trigger18= P2Name="Remilia_Scarlet"
Trigger18= (P2StateNo=[3030,3031])||P2StateNo=3051
Trigger19= P2Name="Youmu_Konpaku"
Trigger19= P2StateNo=3100||P2StateNo=710
Trigger20= P2Name="Jedah"
Trigger20= P2StateNo=500||P2StateNo=810||playerID(var(58)),Time<14&&(P2StateNo=1300||P2StateNo=2300)
Trigger21= P2Name="Izayoi Sakuya Brando"
Trigger21= P2StateNo=2380||P2StateNo=881||P2StateNo=4200&&playerID(var(58)),Time<31||P2StateNo=1999&&playerID(var(58)),Time<21
Trigger22= P2Name="White_Len"||P2Name="White_Len(CPU)"
Trigger22= P2StateNo=1400||P2StateNo=1410||P2StateNo=1450
Trigger23= P2Name="IGNIZ"
Trigger23= P2StateNo=[2100,2101]
Trigger24= P2Name="ZERO"
Trigger24= P2StateNo=[3020,3021]
Trigger25= P2Name="ORIGINAL ZERO"
Trigger25= P2StateNo=[3100,3110]
Trigger26= P2Name="Patchouli"
Trigger26= P2StateNo=900||(P2StateNo=[1020,1021])||P2StateNo=1160
Trigger27= P2Name="Aya Syameimaru"
Trigger27= P2StateNo=1201||P2StateNo=1400||P2StateNo=1500
Trigger28= P2Name="Youmu_Konpaku"
Trigger28= P2StateNo=3100||P2StateNo=710
Trigger29= P2Name="Suika Ibuki"
Trigger29= P2StateNo=[1300,1321]
Trigger30= P2Name ="Hulk"
Trigger30= P2StateNo=66||(P2StateNo=[940,942])
Trigger31= P2Name="dio"
Trigger31= P2StateNo=3100||P2StateNo=3300
Trigger32= P2Name="Sakuya Izayoi"
Trigger32= P2StateNo=750
Trigger33= P2Name="Yakumo Yukari"
Trigger33= (P2StateNo=[3000,3002])||(P2StateNo=[3010,3012])
Trigger34= P2Name="Evil Dan"
Trigger34= (P2StateNo=[3960,3962])||(P2StateNo=[3970,3972])||(P2StateNo=[3980,3982])||(P2StateNo=[3990,3992])
Trigger35= P2Name="Strider_Hiryu"
Trigger35= P2StateNo=3021||P2StateNo=3041||(P2StateNo=[7800,7801])
Trigger36= P2Name="Shadow DIO"
Trigger36= P2StateNo=105||(P2StateNo=1200&&(playerID(var(58)),Time=[1,30]))
Trigger37= P2Name="Buront"
Trigger37= P2StateNo=701||P2StateNo=4321||P2StateNo=24000||P2StateNo=1400||P2StateNo=1420||(P2StateNo=701&&(playerID(var(58)),Time=[1,21]))
Trigger38= playerID(var(58)),AutHorName="Warusaki3"
Trigger38= P2StateNo=5201
Trigger39= P2Name="Shadow Dio"
Trigger39= (P2StateNo=[3000,3001])||(P2StateNo=3100&&(playerID(var(58)),Time=[1,20]))
fvar(38) = 0
IgNoreHitPause = 1

[State -3];憡庤柍揋敾掕
Type = VarSet
TriggerAll=NumEnemy
TriggerAll=P2Name="cvsken"
Trigger1 = P2StateNo=1100
Trigger1 = playerID(var(58)),Time<6
Trigger2 = P2StateNo=1800
Trigger2 = playerID(var(58)),AnimElemTime(7)<0
Trigger3 = P2StateNo=3000||P2StateNo=3100||P2StateNo=3300
Trigger3 = playerID(var(58)),Time<ifelse(!playerID(var(58)),var(5),53,ifelse(playerID(var(58)),var(5)=1,59,64))
Trigger4 = P2StateNo=3200
Trigger4 = playerID(var(58)),Time<64
Trigger5 = P2StateNo=3400
Trigger5 = playerID(var(58)),Time<73
Trigger6 = P2StateNo=3401||P2StateNo=3405
fvar(38) = 0
IgNoreHitPause = 1

[State -3];憡庤柍揋敾掕
Type = VarSet
TriggerAll=NumEnemy
TriggerAll=P2Name="Ryu"
Trigger1 = playerID(var(58)),AnimElemtime(4)<0
Trigger1 = (P2StateNo=[1100,1110])||P2StateNo=3040||P2StateNo=3120
Trigger2 = playerID(var(58)),AnimElemtime(7)<0
Trigger2 = (P2StateNo=3000||P2StateNo=3100||P2StateNo=3160)
Trigger3 = playerID(var(58)),AnimElemtime(10)<0
Trigger3 = P2StateNo=3140
Trigger4 = playerID(var(58)),AnimElemtime(15)<0
Trigger4 = P2StateNo=3180
Trigger5 = playerID(var(58)),AnimElemtime(3)<0
Trigger5 = P2StateNo=3020
fvar(38) = 0
IgNoreHitPause = 1

[State -3];憡庤柍揋敾掕
Type = VarSet
TriggerAll=NumEnemy
TriggerAll=P2Name="johnny"
Trigger1 = P2StateNo=3000
Trigger1 = playerID(var(58)),AnimElemTime(5)<2
Trigger2 = P2StateNo=3200
Trigger2 = playerID(var(58)),AnimElemTime(6)<2
Trigger3 = P2StateNo=3500
Trigger3 = playerID(var(58)),AnimElemTime(11)<0
Trigger4 = P2StateNo=1500
Trigger4 = playerID(var(58)),AnimElemTime(7)<0
Trigger5 = P2StateNo=700
Trigger5 = playerID(var(58)),Anim=700&&playerID(var(58)),AnimElemTime(6)<0||playerID(var(58)),Anim!=700
Trigger6 = P2StateNo=105
Trigger6 = playerID(var(58)),Time<8
Trigger7 = P2StateNo=860||P2StateNo=3001||P2StateNo=3501||P2StateNo=4010
fvar(38) = 0
IgNoreHitPause = 1

[State -3];憡庤柍揋敾掕
Type = VarSet
TriggerAll=NumEnemy
TriggerAll=P2Name="SHIN"
Trigger1 = P2StateNo=2400
Trigger2 = P2StateNo=2050
Trigger3 = P2StateNo=2000
Trigger3 = playerID(var(58)),Time<97
Trigger4 = P2StateNo=1400
Trigger4 = playerID(var(58)),Time<15
Trigger5 = P2StateNo=1100
Trigger5 = playerID(var(58)),var(5)<2
Trigger5 = playerID(var(58)),Time<(9+(playerID(var(58)),var(58)>0)*11)
Trigger6 = playerID(var(58)),var(58)>1
Trigger6 = StateNo=290||P2StateNo=1400||P2StateNo=1500||P2StateNo=1100||P2StateNo=2000||Anim!=[1500,1502]
fvar(38) = 0
IgNoreHitPause = 1

[State -3];憡庤柍揋敾掕
Type = VarSet
TriggerAll=NumEnemy
TriggerAll=P2Name="BRIDGET"
Trigger1 = (P2StateNo=1200||P2StateNo=1250)
Trigger1 = playerID(var(58)),Time<16
Trigger2 = P2StateNo=1590
Trigger2 = playerID(var(58)),AnimElemTime(12)<4
Trigger3 = P2StateNo=1150
Trigger3 = playerID(var(58)),Time<5
Trigger4 = P2StateNo=1520||P2StateNo=3310||P2StateNo=3605||P2StateNo=805||P2StateNo=810||P2StateNo=930
Trigger5 = P2StateNo=3100||P2StateNo=3300
Trigger5 = playerID(var(58)),AnimElemTime(6)<2
Trigger6 = P2StateNo=3400
Trigger6 = playerID(var(58)),AnimElemTime(8)<1
Trigger7 = P2StateNo=3600
Trigger7 = playerID(var(58)),var(34)=2||playerID(var(58)),AnimElemTime(5)<1
Trigger8 = P2StateNo=935
Trigger8 = playerID(var(58)),Time<11
Trigger9 = P2StateNo=950||P2StateNo=960
Trigger9 = playerID(var(58)),var(34)!=-1
Trigger10= P2StateNo=951
Trigger11= P2StateNo=961
Trigger11= playerID(var(58)),Time<31||playerID(var(58)),var(34)=2
fvar(38) = 0
IgNoreHitPause = 1

[State -3];憡庤柍揋敾掕
Type = VarSet
TriggerAll=NumEnemy
TriggerAll=P2Name="sol"
Trigger1 = playerID(var(58)),AnimElemTime(5)<0
Trigger1 = P2StateNo=1200
Trigger2 = playerID(var(58)),AnimElemTime(2)<0
Trigger2 = P2StateNo=1300
Trigger3 = P2StateNo=1100
Trigger4 = P2StateNo=1150
Trigger5 = P2StateNo=1110
Trigger6 = P2StateNo=1160
Trigger7 = P2StateNo=2100
Trigger8 = P2StateNo=2110
Trigger9 = playerID(var(58)),AnimElemTime(7)<0
Trigger9 = P2StateNo=3000
Trigger10= playerID(var(58)),AnimElemTime(27)<1
Trigger10= P2StateNo=3100
fvar(38) = 0
IgNoreHitPause = 1

[State -3];憡庤柍揋敾掕
Type = VarSet
TriggerAll=NumEnemy
TriggerAll=P2Name="Ky=kiske"
Trigger1 = playerID(var(58)),Time<9
Trigger1 = (P2StateNo=1300||P2StateNo=1360||P2StateNo=1375)
Trigger2 = playerID(var(58)),Time<15
Trigger2 = P2StateNo=1350
Trigger3 = playerID(var(58)),Time<11
Trigger3 = (P2StateNo=1370||P2StateNo=1320)
Trigger4 = playerID(var(58)),Time<56
Trigger4 = (P2StateNo=3000||P2StateNo=3100||P2StateNo=3300||P2StateNo=3350||P2StateNo=3600)
Trigger5 = playerID(var(58)),Time<44
Trigger5 = (P2StateNo=3200||P2StateNo=3800||P2StateNo=3400)
fvar(38) = 0
IgNoreHitPause = 1

[State -3];憡庤柍揋敾掕
Type = VarSet
TriggerAll=NumEnemy
TriggerAll=P2Name="Ash"
Trigger1 = playerID(var(58)),AnimElemtime(3)<0
Trigger1 = (P2StateNo=[1100,1101])
Trigger2 = playerID(var(58)),AnimElemtime(4)<0
Trigger2 = (P2StateNo=[1150,1151])
Trigger3 = playerID(var(58)),Time<31
Trigger3 = P2StateNo=2000
Trigger4 = playerID(var(58)),Time<37
Trigger4 = P2StateNo=2100
Trigger5 = P2StateNo=3000
Trigger6 = playerID(var(58)),AnimElemtime(13)<0
Trigger6 = P2StateNo=3100
Trigger7 = playerID(var(58)),Time<31
Trigger7 = P2StateNo=3300
Trigger8 = P2StateNo=810
fvar(38) = 0
IgNoreHitPause = 1

[State -3];憡庤柍揋敾掕
Type = VarSet
TriggerAll=NumEnemy
TriggerAll=P2Name="Aoko Aozaki"
Trigger1 = playerID(var(58)),Time<74
Trigger1 = P2StateNo=1100
Trigger2 = Anim=1120||Anim=1121&&playerID(var(58)),Time<146
Trigger2 = P2StateNo=1120
Trigger3 = playerID(var(58)),Time<124
Trigger3 = P2StateNo=1200
Trigger4 = playerID(var(58)),Time<6
Trigger4 = P2StateNo=1022
Trigger5 = playerID(var(58)),Time<8
Trigger5 = P2StateNo=1037||P2StateNo=1042||P2StateNo=1062||P2StateNo=1072||P2StateNo=1082||P2StateNo=1092
Trigger6 = P2StateNo=105
Trigger6 = playerID(var(58)),Time>7
Trigger7 = P2StateNo=801||P2StateNo=806||P2StateNo=811
fvar(38) = 0
IgNoreHitPause = 1

[State -3];慡懱摉恎or搳偘偩偗岠偔媄
Type = VarSet
TriggerAll=NumEnemy
Trigger1 = playerID(var(58)),AutHorName="Warusaki3"
Trigger1 = P2StateNo=800||P2StateNo=830||P2StateNo=900||P2StateNo=5201
Trigger2 = P2Name="testa"
Trigger2 = P2StateNo=1300
Trigger3 = P2Name="dio"
Trigger3 = P2StateNo=800||P2StateNo=1200
Trigger4 = P2Name="Dragon Claw"
Trigger4 = (P2StateNo=[1300,1301])||(P2StateNo=[1310,1311])||(P2StateNo=[1320,1321])
Trigger5 = P2Name="cvstodo"
Trigger5 = P2StateNo=3100
Trigger6 = P2Name="Remy"
Trigger6 = P2StateNo=3200
Trigger7 = P2Name="joseph"
Trigger7 = P2StateNo=1020
Trigger8 = P2Name="Ella"
Trigger8 = P2StateNo=10004||P2StateNo=10006||P2StateNo=10008
Trigger9 = P2Name="Dhalsim with clones"
Trigger9 = P2StateNo=1600
Trigger10= P2Name="TOKI-(NERICYA)"||P2Name="AMIBA"
Trigger10= P2StateNo=1300
Trigger11= P2Name="Izayoi Sakuya Brando"
Trigger11= P2StateNo=1820
Trigger12= P2Name="Ash"
Trigger12= P2StateNo=700||P2StateNo=710
Trigger13= playerID(var(58)),AutHorName="Phantom.of.the.Server"
Trigger13= P2StateNo=720||P2StateNo=710
Trigger14= P2Name="IGNIZ"
Trigger14= P2StateNo=900||P2StateNo=910
Trigger15= P2Name="goenitz"
Trigger15= P2StateNo=900||P2StateNo=920
Trigger16= P2Name="BRIDGET"
Trigger16= P2StateNo=3200
Trigger16= playerID(var(58)),AnimElemTime(5)<1
Trigger17= playerID(var(58)),AutHorName="muteki"
Trigger17= playerID(var(58)),PrevStateNo!=[200,640]
Trigger17= playerID(var(58)),Time<3
Trigger17= (P2StateNo=[200,640])
Trigger18= P2Name="SHIN"
Trigger18= var(51)
Trigger19= P2Name="Tin's Leona"
Trigger19= P2StateNo=500||P2StateNo=510||P2StateNo=3999
Trigger20= P2Name="Ralf Jones"
Trigger20= P2StateNo=810||P2StateNo=815
Trigger21= P2Name="Remilia_Scarlet"
Trigger21= P2StateNo=119||P2StateNo=1001&&playerID(var(58)),MoveContact||P2StateNo=1012&&playerID(var(58)),MoveContact
Trigger22= P2Name="Shadow DIO"
Trigger22= P2StateNo=270
Trigger23= P2Name="Shadow Dio"
Trigger23= P2StateNo=10000
fvar(38) = -1
IgNoreHitPause = 1

[State -3];憡庤柍揋敾掕-摉恎忋抜or壓抜岠偔柍揋
Type = VarSet
TriggerAll=NumEnemy
Trigger1 = P2Name="justice"
Trigger1 = P2StateNo=1100
Trigger2 = P2Name="Geese Howard"
Trigger2 = playerID(var(58)),AutHorName="CanNon Musume"
Trigger2 = P2StateNo=1400
Trigger3 = playerID(var(58)),AutHorName="嘓"
Trigger3 = P2StateNo=[900,902]
Trigger4 = P2Name="Aoko Aozaki"||P2Name="Shiki_Nanaya"
Trigger4 = P2StateNo=900||P2StateNo=950
Trigger5 = P2Name="cvsgeese"
Trigger5 = P2StateNo=1300
Trigger6 = P2Name="cvsrock"
Trigger6 = P2StateNo=1300
Trigger7 = P2Name="TOKI-(NERICYA)"||P2Name="AMIBA"
Trigger7 = P2StateNo=1400
Trigger8 = P2Name="Ella"
Trigger8 = P2StateNo=10001
Trigger9 = P2Name="Abe"
Trigger9 = P2StateNo=1100
Trigger10= P2Name="Oswald"||P2Name="Oniwarud"
Trigger10= P2StateNo=1500
Trigger11= P2Name="cvsingrid"
Trigger11= P2StateNo=1300
Trigger12= P2Name="dio"
Trigger12= P2StateNo=1400
Trigger13= playerID(var(58)),AutHorName="Toma & Raien Makoto"
Trigger13= P2Name="Aoko Aozaki"||P2Name="Shiki_Nanaya"
Trigger13= P2StateNo=900
Trigger14= P2Name="KoNoha"
Trigger14= P2StateNo=1700
fvar(38) = -2
IgNoreHitPause = 1

[State -3];憡庤柍揋敾掕摉恎拞抜抜
Type = VarSet
TriggerAll=NumEnemy
Trigger1 = P2Name="cvsgeese"
Trigger1 = P2StateNo=1400
Trigger2 = P2Name="Geese Howard"
Trigger2 = playerID(var(58)),AutHorName="CanNon Musume"
Trigger2 = P2StateNo=1450
fvar(38) = -3
IgNoreHitPause = 1

[State -3];憡庤柍揋敾掕摉恎壓抜
Type = VarSet
TriggerAll=NumEnemy
Trigger1 = P2Name="cvsgeese"
Trigger1 = P2StateNo=1500
Trigger2 = P2Name="Geese Howard"
Trigger2 = playerID(var(58)),AutHorName="CanNon Musume"
Trigger2 = P2StateNo=1500
Trigger3 = playerID(var(58)),AutHorName="嘓"
Trigger3 = P2StateNo=920
Trigger4 = P2Name="TOKI-(NERICYA)"||P2Name="AMIBA"
Trigger4 = P2StateNo=1500
Trigger5 = P2Name="Abe"
Trigger5 = P2StateNo=1110
Trigger6 = P2Name="cvsingrid"
Trigger6 = P2StateNo=1350
Trigger7 = playerID(var(58)),AutHorName="Toma & Raien Makoto"
Trigger7 = P2Name="Aoko Aozaki"||P2Name="Shiki_Nanaya"
Trigger7 = P2StateNo=910
Trigger8 = playerID(var(58)),AutHorName="嘓"
Trigger8 = P2StateNo=[910,912]
fvar(38) = -4
IgNoreHitPause = 1

[State -3];憡庤柍揋敾掕 嬻搳偘柍揋側偟
Type = VarSet
TriggerAll=NumEnemy
Trigger1 = playerID(var(58)),AutHorName="muteki"
Trigger1 = P2StateNo=750||P2StateNo=5090&&playerID(var(58)),AnimElemTime(9)<3
Trigger2 = P2Name="TOKI-(NERICYA)"||P2Name="AMIBA"
Trigger2 = P2StateNo=1600
Trigger4 = playerID(var(58)),AutHorName="Toma & Raien Makoto"
Trigger4 = P2Name="Aoko Aozaki"||P2Name="Shiki_Nanaya"
Trigger4 = P2StateNo=920
Trigger5 = playerID(var(58)),AutHorName="嘓"
Trigger5 = P2StateNo=[920,922]
fvar(38) = -5
IgNoreHitPause = 1

[State -3]
Type = VarSet
Trigger1 = 1
fvar(39) = 0
IgNoreHitPause = 1

[State -3]
Type=varset
triggerall=!ishelper
Trigger1=numenemy=1
var(58)=enemynear(0),ID

[State -3]
Type=varset
triggerall=!ishelper
Trigger1=numenemy=2
var(58)=ifelse(EnemyNear(0),alive,enemynear(0),ID,enemynear(1),ID)

[State -3]
type=assertspecial
trigger1=var(59)>0
flag=nostandguard
flag2=noairguard
flag3=nocrouchguard

[State -3]
type=assertspecial
trigger1=var(59)>0
flag=nowalk
;劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒
;VarSet&AI梡僗僥乕僩
;劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒
[State -3,2364P]
type=changestate
value=ifelse(stateno=3300,3301,ifelse(stateno=3200,3201,3101))
triggerall=roundstate=2
triggerall=var(59)>0||fvar(39)=3
triggerall=numhelper(60000)
triggerall=statetype!=A
triggerall=p2statetype=L
triggerall=p2stateno>=5120
triggerall=p2bodydist x<=140
triggerall=stateno=3300&&time>59||stateno=3200&&time>49||stateno=3100&&time>39
trigger1=helper(60000),var(2)=1
trigger1=playerID(var(58)),animtime>=-7
trigger2=helper(60000),var(2)=2
trigger2=playerID(var(58)),animtime=0

[State -3,2364P]
type=changestate
value=ifelse(stateno=3300,3301,ifelse(stateno=3200,3201,3101))
triggerall=!ishelper
triggerall=roundstate=2
triggerall=var(59)>0||fvar(39)=1
triggerall=statetype!=A
triggerall=p2movetype!=H
triggerall=p2statetype!=L
trigger1=p2bodydist x<=130
trigger1=stateno=3300&&time>39||stateno=3200&&time>49||stateno=3100&&time>59
trigger2=p2bodydist x>130
trigger2=stateno=3300&&time>39||stateno=3200&&time>49||stateno=3100&&time>59
trigger2=inguarddist
trigger3=stateno=330||stateno=3200||stateno=3100
trigger3=time>99

[State -3,long range jump]
type=changestate
value=38
triggerall=roundstate=2
triggerall=var(59)>0||fvar(39)=1
triggerall=!inguarddist
triggerall=statetype!=A
trigger1=stateno=102&&time>=1

[State -3,僎乕僕棴傔]
type=varset 
triggerall=roundstate=2
triggerall=var(59)>0||fvar(39)
triggerall=stateno=1300
triggerall=!numhelper(1301)
trigger1=p2movetype!=A||p2movetype=I||p2movetype=H||p2statetype=A||p2statetype=L
var(10)=-8
[State -3,僎乕僕棴傔]
type=varset 
triggerall=roundstate=2
triggerall=var(59)>0||fvar(39)
triggerall=stateno=1300
triggerall=!numhelper(1301)
trigger1=p2movetype!=A||p2movetype=I||p2movetype=H||p2statetype=A||p2statetype=L
var(11)=-4

[State -3,214X]
type=varset 
triggerall=roundstate=2
triggerall=var(59)>0||fvar(39)
triggerall=stateno=1300
trigger1=!numhelper(1301)
trigger1=p2statetype=L
trigger1=p2stateno>=5120
trigger2=numhelper(1301)
trigger2=helper(1301),p2dist x<=74
var(10)=-8
[State -3,214X]
type=varset 
triggerall=roundstate=2
triggerall=var(59)>0||fvar(39)
triggerall=stateno=1300
trigger1=!numhelper(1301)
trigger1=p2statetype=L
trigger1=p2stateno>=5120
trigger2=numhelper(1301)
trigger2=helper(1301),p2dist x<=74
var(11)=-4

[State -3,214Y]
type=varset 
triggerall=roundstate=2
triggerall=var(59)>0||fvar(39)
triggerall=stateno=1300
trigger1=numhelper(1301)
trigger1=helper(1301),p2dist x=[75,120]
var(10)=0
[State -3,214Y]
type=varset 
triggerall=roundstate=2
triggerall=var(59)>0||fvar(39)
triggerall=stateno=1300
trigger1=numhelper(1301)
trigger1=helper(1301),p2dist x=[75,120]
var(11)=-6

[State -3,214Z]
type=varset 
triggerall=roundstate=2
triggerall=var(59)>0||fvar(39)
triggerall=stateno=1300
trigger1=numhelper(1301)
trigger1=helper(1301),p2dist x>=121
var(10)=8
[State -3,214Z]
type=varset 
triggerall=roundstate=2
triggerall=var(59)>0||fvar(39)
triggerall=stateno=1300
trigger1=numhelper(1301)
trigger1=helper(1301),p2dist x>=121
var(11)=-4

[State -3,J214P]
type=changestate
value=1500
triggerall=roundstate=2
triggerall=var(59)>0||fvar(39)=1
triggerall=statetype=A
triggerall=p2statetype!=A
triggerall=prevstateno=37
triggerall=ctrl
trigger1=pos y<ifelse(p2bodydist x>199,-70,ifelse(p2bodydist x>99,-60,-50))
trigger1=pos y<playerID(var(58)),pos y
;劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒
;懳嶔
;劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒
[State -3,K搳偘]
type=changestate
value=955
triggerall=roundstate=2
triggerall=var(59)=[9,11]
triggerAll=fvar(38)=[-4,-1]
triggerall=statetype!=A
triggerall=p2statetype!=A
triggerall=p2bodydist x=[-5,70]
triggerall=playerID(var(58)),time>=30||(!time&&var(59)>9)||var(59)>10
triggerall=playerID(var(58)),time>=50||var(59)>10||(prevstateno=[120,159])||(prevstateno=[5000,5270])
triggerall=random<var(59)*50||var(59)>9
trigger1=ctrl||stateno=100||stateno=751&&time>16||stateno=1250&&anim=194&&animelem>=3

[State -3,K搳偘]
type=changestate
value=955
triggerall=roundstate=2
triggerall=var(59)>0
triggerall=fvar(38)=-2
triggerall=statetype!=A
triggerall=p2statetype!=L
triggerall=p2movetype!=H
triggerall=p2bodydist x=[-5,60]
triggerall=p2bodydist y+(playerID(var(58)),vel y!=0)*(playerID(var(58)),vel y+playerID(var(58)),const(movement.yaccel)*4)*5>-6
triggerall=playerID(var(58)),time>=30||(!time&&var(59)>9)||var(59)>10
triggerall=playerID(var(58)),time>=50||var(59)>10||(prevstateno=[120,159])||(prevstateno=[5000,5270])
triggerall=random<var(59)*50||var(59)>9
trigger1=ctrl||stateno=100||stateno=751&&time>16||stateno=1250&&anim=194&&animelem>=3
;劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒
;J236236P
;劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒
[State -3,J]
type=changestate
value=ifelse(p2bodydist x<=40,39,ifelse(p2bodydist x>130,38,40))
triggerall=roundstate=2
triggerall=(var(59)>0&&random<var(59)*100)||fvar(39)=5
triggerall=fvar(35)<=150
triggerall=power>2999
triggerall=life>75
triggerall=fvar(11)-fvar(12)>300||p2life<150
triggerall=statetype!=A
triggerall=p2statetype!=A
triggerall=p2movetype!=H||(p2stateno=[120,159])
triggerall=!inguarddist
triggerall=p2movetype!=A||p2statetype=L||var(56)>=999
trigger1=ctrl||(stateno=[10,12])||stateno=100||(stateno=1250&&anim=194&&animelem>=5)

[State -3,J]
type=changestate
value=ifelse(pos x<-45,38,ifelse(pos x>45,39,40))
triggerall=roundstate=2
triggerall=(var(59)>0&&random<var(59)*100)||fvar(39)=5
triggerall=fvar(35)>150
triggerall=facing=1
triggerall=power>2999
triggerall=life>75
triggerall=fvar(11)-fvar(12)>300||p2life<150
triggerall=statetype!=A
triggerall=p2statetype!=A
triggerall=p2bodydist x>100
triggerall=p2movetype!=H||(p2stateno=[120,159])
triggerall=!inguarddist
triggerall=p2movetype!=A||p2statetype=L||var(56)>=999
trigger1=ctrl||(stateno=[10,12])||stateno=100||(stateno=1250&&anim=194&&animelem>=5)

[State -3,J]
type=changestate
value=ifelse(pos x>45,38,ifelse(pos x<-45,39,40))
triggerall=roundstate=2
triggerall=(var(59)>0&&random<var(59)*100)||fvar(39)=5
triggerall=fvar(35)>150
triggerall=facing=-1
triggerall=power>2999
triggerall=life>75
triggerall=fvar(11)-fvar(12)>300||p2life<150
triggerall=statetype!=A
triggerall=p2statetype!=A
triggerall=p2bodydist x>100
triggerall=p2movetype!=H||(p2stateno=[120,159])
triggerall=!inguarddist
triggerall=p2movetype!=A||p2statetype=L||var(56)>=999
trigger1=ctrl||(stateno=[10,12])||stateno=100||(stateno=1250&&anim=194&&animelem>=5)

[State -3,J236236P]
type=changestate
value=3400
triggerall=!ishelper
triggerall=roundstate=2
triggerall=(var(59)>0&&random<var(59)*100)||fvar(39)=5
triggerall=power>2999
triggerall=life>75
triggerall=fvar(11)-fvar(12)>300||p2life<150
triggerall=statetype=A
triggerall=stateno!=[853,855]
triggerall=pos y=[-80,-45]
triggerall=!inguarddist
triggerall=p2movetype!=A||p2movetype!=H||(p2stateno=[120,159])||p2statetype=L||playerID(var(58)),pos y<=10||var(56)>=999
triggerall=ctrl
trigger1=(pos x=[-45,45])||(p2bodydist x=[-110,110])
trigger2=(p2bodydist x=[100,135])||(p2bodydist x=[-135,-100])
trigger2=fvar(35)<=150

[State -3,J2364P]
type=changestate
value=3401
triggerall=!ishelper
triggerall=roundstate=2
triggerall=var(59)>0||fvar(39)=5
triggerall=stateno=3400
triggerall=time>40
trigger1=var(10)<=500

[State -3,J236236P]
type=changestate
value=3400
triggerall=!ishelper
triggerall=roundstate=2
triggerall=var(59)>0
triggerall=fvar(38)>0
triggerall=power>2999
triggerall=life>375
triggerall=statetype=A
triggerall=p2statetype!=L
triggerall=p2movetype!=H
triggerall=p2bodydist x=[-100,100]
triggerall=pos y>-90
triggerall=ctrl
triggerall=p2movetype=A
triggerall=p2stateno>199||p2stateno=119
triggerall=playerID(var(58)),animtime<-21
triggerall=playerID(var(58)),time>=30||(!time&&var(59)>9)||var(59)>10
triggerall=playerID(var(58)),time>=50||var(59)>10||(prevstateno=[120,159])||(prevstateno=[5000,5270])
trigger1=random<var(59)*50||var(59)>9
[State -3,J2364P]
type=changestate
value=3401
triggerall=!ishelper
triggerall=roundstate=2
triggerall=var(59)>0||fvar(39)=1
triggerall=stateno=3400
triggerall=p2movetype=A
triggerall=(p2bodydist x=[-140,140])||inguarddist
triggerall=time>40
trigger1=var(10)>2000
trigger1=life>375||life-p2life>100
trigger2=var(10)>1500
trigger2=life>300||life-p2life>75
trigger3=var(10)>1000
trigger3=life>225||life-p2life>50
trigger4=var(10)>500
trigger4=life>150||life-p2life>50
trigger5=var(10)<=500
trigger5=life>75||life-p2life>50
;劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒
;愗傝懼偊偟or傇偭傁
;劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒
[State -3,2364P]
type=changestate
value=3300
triggerall=!ishelper
triggerall=roundstate=2
triggerall=var(59)>0
triggerall=fvar(38)>0
triggerall=power>2999
triggerall=statetype!=A
triggerall=p2statetype!=L
triggerall=p2movetype!=H
triggerall=p2bodydist x=[0,110]
triggerall=(p2bodydist y+(playerID(var(58)),vel y!=0)*(playerID(var(58)),vel y+playerID(var(58)),const(movement.yaccel)*19)*20=[0,200])||p2statetype!=A
triggerall=p2bodydist y=[-180,0]
triggerall=ctrl||(stateno=[10,12])||stateno=751&&time>16||stateno=100||stateno=1250&&anim=194&&animelem>=3
trigger1=p2movetype=A
trigger1=p2stateno>199||p2stateno=119
trigger1=playerID(var(58)),animtime<-20
trigger1=playerID(var(58)),time>=30||(!time&&var(59)>9)||var(59)>10
trigger1=playerID(var(58)),time>=50||var(59)>10||(prevstateno=[120,159])||(prevstateno=[5000,5270])||prevstateno=751
trigger1=random<var(59)*50||var(59)>9
trigger2=!playerID(var(58)),ctrl
trigger2=(prevstateno=[200,1300])||(prevstateno=[120,159])||(prevstateno=[5000,5270])||p2stateno=5120&&animtime=0
trigger2=random<var(59)*50
trigger3=(stateno=[200,1300])&&animtime=0
trigger3=random<var(59)*50

[State -3,2146P]
type=changestate
value=ifelse(power>2999,3005,ifelse(prevstateno=751&&power>1999,3005,3000))
triggerall=roundstate=2
triggerall=var(59)>0
triggerall=fvar(38)>0
triggerall=power>999
triggerall=fvar(11)-fvar(12)>200||fvar(12)<200
triggerall=statetype!=A
triggerall=p2statetype!=L
triggerall=p2movetype!=H
triggerall=(p2bodydist y+(playerID(var(58)),vel y!=0)*(playerID(var(58)),vel y+playerID(var(58)),const(movement.yaccel)*26)*27=[140,190])||p2statetype!=A
triggerall=p2bodydist y=[-180,0]
triggerall=ctrl||(stateno=[10,12])||stateno=751&&time>16||stateno=100||stateno=1250&&anim=194&&animelem>=3
trigger1=p2movetype=A
trigger1=p2bodydist x=[ifelse(fvar(36)<30,-35,0),130]
trigger1=p2stateno>199||p2stateno=119
trigger1=playerID(var(58)),animtime<-27
trigger1=playerID(var(58)),time>=30||(!time&&var(59)>9)||var(59)>10
trigger1=playerID(var(58)),time>=50||var(59)>10||(prevstateno=[120,159])||(prevstateno=[5000,5270])||prevstateno=751
trigger1=random<var(59)*50||var(59)>9
trigger2=p2bodydist x=[-5,40]
trigger2=!playerID(var(58)),ctrl
trigger2=(prevstateno=[200,1300])||(prevstateno=[120,159])||(prevstateno=[5000,5270])||p2stateno=5120&&animtime=0
trigger2=random<var(59)*8

[State -3,parry]
type=varset 
triggerall=roundstate=2
triggerall=var(59)>0
triggerall=movetype!=H
triggerall=stateno!=[750,751]
triggerall=numhelper(60000)
triggerall=playerID(var(58)),movetype=A||inguarddist||helper(60000),inguarddist
triggerall=ctrl||(stateno=[10,12])||stateno=100||var(54)
trigger1=p2bodydist x<=140
trigger1=!playerID(var(58)),ctrl
trigger1=random<playerID(var(58)),time*(ifelse((prevstateno=[750,751]),5,1)+(var(59)-6))
trigger2=p2bodydist x>140
trigger2=random<var(59)*(p2bodydist x/10)
trigger3=random<var(55)*100
var(21)=6
ignorehitPause=1

[State -3,搳偘]
type=changestate
value=866
triggerall=roundstate=2
triggerall=var(59)>0
triggerall=fvar(38)>0
triggerall=statetype!=A
triggerall=p2statetype!=A
triggerall=p2movetype=A
triggerall=p2bodydist x=[-5,45]
triggerall=p2stateno=[200,699]
triggerall=playerID(var(58)),time>=30||(!time&&var(59)>9)||var(59)>10
triggerall=playerID(var(58)),time>=50||var(59)>10||(prevstateno=[120,159])||(prevstateno=[5000,5270])
triggerall=random<var(59)*50||var(59)>9
trigger1=ctrl||stateno=100||stateno=751&&time>16||(stateno=1250&&anim=194&&animelem>=5)

[State -3,GC]
type=changestate
value=801
triggerall=roundstate=2
triggerall=var(59)>0
triggerall=fvar(38)>0
triggerall=numhelper(40010)
triggerall=power>499
triggerall=(power=[1000,2999])||power<3000&&numhelper(1301)||p2life<=100||helper(40010),var(1)>9
triggerall=statetype!=A
triggerall=p2statetype!=L
triggerall=p2movetype=A
triggerall=playerID(var(58)),animtime<-2
triggerall=p2bodydist x=[0,60]
triggerall=p2bodydist y+(playerID(var(58)),vel y!=0)*(playerID(var(58)),vel y+playerID(var(58)),const(movement.yaccel)*2)*3=[-80,0]
triggerall=playerID(var(58)),time>=30||(!time&&var(59)>7)||var(59)>8
triggerall=playerID(var(58)),time>=50||var(59)>8||(prevstateno=[120,159])||(prevstateno=[5000,5270])
triggerall=stateno=[150,159]
triggerall=random<var(59)*50||var(59)>9
trigger1=fvar(36)<50||fvar(35)<100||p2life<=100
trigger2=helper(40010),var(1)>=(3+random/200)
;劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒
;僈乕僪 
;劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒
[State -3,抂扙弌]
type=changestate
value=102
triggerall=roundstate=2
triggerall=(var(59)>0&&random<=ifelse(var(59)>9,var(59)*100,var(59)*50))||fvar(39)=1
triggerall=fvar(38)>0
triggerall=!inguarddist
triggerall=statetype!=A
triggerall=p2statetype=L
triggerall=p2stateno>=5101
triggerall=p2bodydist x<120
triggerall=fvar(36)<140
trigger1=ctrl

[State -3,搳偘夞旔]
Type=ChangeState
Value=39
triggerall=roundstate=2
triggerall=var(59)>0
triggerall=statetype!=A
triggerall=p2bodydist x=[-20,100]
triggerall=playerID(var(58)),time>=30||(!time&&var(59)>8)||var(59)>9
triggerall=playerID(var(58)),time>=50||var(59)>9||(prevstateno=[120,159])||(prevstateno=[5000,5270])
triggerall=ctrl||stateno=100
triggerall=random<var(59)*50||var(59)>9
trigger1=playerID(var(58)),hitdefattr=SAC,AT
trigger2=fvar(38)=3

[State -3,掇皶s夞旔]
type=changestate
value=855
triggerall=roundstate=2
triggerall=var(59)>0
triggerall=fvar(38)=4
triggerall=statetype!=A
triggerall=playerID(var(58)),time>=30||(!time&&var(59)>8)||var(59)>9
triggerall=playerID(var(58)),time>=50||var(59)>9||(prevstateno=[120,159])||(prevstateno=[5000,5270])
triggerall=ctrl||stateno=100
trigger1=random<var(59)*50||var(59)>9

[State -3,兽矫遌
Type=ChangeState
Value=105
triggerall=roundstate=2
triggerall=var(59)>0
triggerall=fvar(36)>=100
triggerall=statetype!=A
triggerall=p2movetype=A
triggerall=p2stateno>199
triggerall=prevstateno!=751
triggerall=!helper(60000),inguarddist
triggerall=playerID(var(58)),vel x<5
triggerall=playerID(var(58)),animtime<-12
triggerall=playerID(var(58)),time>=30||(!time&&var(59)>9)||var(59)>10
triggerall=playerID(var(58)),time>=50||var(59)>10||(prevstateno=[120,159])||(prevstateno=[5000,5270])
triggerall=ctrl||stateno=100
triggerall=random<var(59)*50||var(59)>9
trigger1=p2bodydist x=[140,180]
trigger1=playerID(var(58)),hitdefattr=SAC,AA
trigger2=p2bodydist x=[-5,100]
trigger2=playerID(var(58)),hitdefattr=SAC,AT

[State -3,擂璢
type=changestate
value=100
triggerall=roundstate=2
triggerall=var(59)>0
triggerall=statetype!=A
triggerall=facing!=playerID(var(58)),facing
triggerall=p2statetype=A
triggerall=p2statetype!=L
triggerall=p2movetype!=H
triggerall=!inguarddist
triggerall=p2bodydist x-playerID(var(58)),vel x*12=[-60,60]
triggerall=p2bodydist y+(playerID(var(58)),vel y!=0)*(playerID(var(58)),vel y+playerID(var(58)),const(movement.yaccel)*12)*13<-40
triggerall=playerID(var(58)),vel x>=0&&playerID(var(58)),vel y<=0
triggerall=ctrl
trigger1=fvar(36)<=140
trigger1=random<var(59)*45
trigger2=fvar(36)>140
trigger2=random<var(59)*20

[State -3,掇澳轢
Type=ChangeState
Value=120
triggerall=var(59)>0
triggerall=fvar(38)!=[3,4]
triggerall=(stateno!=[120,159])
triggerall=inguarddist||(p2dist x*facing*playerID(var(58)),facing>=0&&playerID(var(58)),movetype=A)||helper(60000),inguarddist
triggerall=ctrl||(stateno=[10,12])||stateno=100||(stateno=1250&&anim=194&&animelem>=4);||(stateno=[750,751])&&time>19
trigger1=random<=var(59)*120||var(59)>9
;劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒
;抧忋婲偒峌傔 
;劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒
[State -3,44]
type=changestate
value=ifelse(fvar(36)<120,38,105)
triggerall=roundstate=2
triggerall=(var(59)>0&&random<=ifelse(var(59)>9,var(59)*100,var(59)*50))||fvar(39)=1
triggerall=fvar(38)>0
triggerall=!inguarddist
triggerall=statetype!=A
triggerall=p2statetype=L
triggerall=p2stateno>=5120
triggerall=playerID(var(58)),vel x>0
triggerall=p2bodydist x=[-5,56+playerID(var(58)),vel x*3]
trigger1=ctrl

[State -3,2364P]
type=changestate
value=ifelse(power>2999,3300,ifelse(power>1999,3200,3100))
triggerall=!ishelper
triggerall=roundstate=2
triggerall=(var(59)>0&&random<var(59)*ifelse(power>2999,100,ifelse(fvar(12)<500,75,50)))||fvar(39)=3
triggerall=numhelper(60000)
triggerall=power>999
triggerall=statetype!=A
triggerall=p2statetype=L
triggerall=p2bodydist x=[-15,ifelse(helper(60000),var(2)=2,60,100)]
triggerall=ctrl||(stateno=[10,12])||stateno=100||stateno=103
trigger1=helper(60000),var(2)=1
trigger1=p2stateno=5110||p2stateno=5101
trigger2=helper(60000),var(2)=2
trigger2=p2stateno>=5120
trigger2=playerID(var(58)),time>1
trigger2=playerID(var(58)),vel x<=0

[State -3,66]
type=changestate
value=103
triggerall=roundstate=2
triggerall=(var(59)>0&&random<var(59)*ifelse(power>1999,40,20))||fvar(39)=1
triggerall=numhelper(1301)
triggerall=statetype!=A
triggerall=ctrl
trigger1=p2statetype=L
trigger1=p2bodydist x=[100,140]
trigger1=p2stateno=[5101,5110]
trigger1=playerID(var(58)),time=[1,6]
trigger2=p2stateno=821
trigger2=p2bodydist x>30

[State -3,222]
type=changestate
value=1250
triggerall=roundstate=2
triggerall=(var(59)>0&&random<var(59)*66)||fvar(39)=1
triggerall=statetype!=A
triggerall=p2statetype=L
triggerall=ctrl||stateno=100
trigger1=p2stateno>=5120
trigger1=playerID(var(58)),time=[1,4]

[State -3,2X]
type=changestate
value=400
triggerall=roundstate=2
triggerall=(var(59)>0&&random<var(59)*40)||fvar(39)=1
triggerall=statetype!=A
triggerall=p2statetype=L
triggerall=p2bodydist x=[-5,57]
triggerall=ctrl||stateno=100
trigger1=p2stateno>=5120
trigger1=playerID(var(58)),animtime=-4

[State -3,2A]
type=changestate
value=430
triggerall=roundstate=2
triggerall=(var(59)>0&&random<var(59)*40)||fvar(39)=1
triggerall=statetype!=A
triggerall=p2statetype=L
triggerall=p2bodydist x=[-5,60]
triggerall=ctrl||stateno=100
trigger1=p2stateno>=5120
trigger1=playerID(var(58)),animtime=-6

[State -3,Jump]
type=changestate
value=40
triggerall=roundstate=2
triggerall=(var(59)>0&&random<var(59)*20)||fvar(39)=1
triggerall=statetype!=A
triggerall=p2statetype=L
triggerall=p2bodydist x=[110,140]
triggerall=playerID(var(58)),vel x<=0
triggerall=ctrl||stateno=100
trigger1=p2stateno>=5120
trigger1=playerID(var(58)),time=[1,4]

[State -3,Back_Jump]
type=changestate
value=ifelse(random<500,39,854)
triggerall=roundstate=2
triggerall=(var(59)>0&&random<var(59)*ifelse(playerID(var(58)),vel x>0,33,20))||fvar(39)=1
triggerall=fvar(36)>100
triggerall=statetype!=A
triggerall=p2statetype=L
triggerall=p2bodydist x=[-5,50]
triggerall=p2dist x>0
triggerall=ctrl||stateno=100
trigger1=p2stateno>=5120
trigger1=playerID(var(58)),time=[1,4]

[State -3,J214P]
type=changestate
value=37
triggerall=roundstate=2
triggerall=(var(59)>0&&random<var(59)*20)||fvar(39)=1
triggerall=power<3000
triggerall=statetype!=A
triggerall=p2statetype=L
triggerall=p2bodydist x>60
triggerall=ctrl||stateno=100
trigger1=p2stateno>=5120
trigger1=playerID(var(58)),time=[1,4]
trigger1=playerID(var(58)),vel x<=0

[State -3,Fwd_Jump]
type=changestate
value=38
triggerall=roundstate=2
triggerall=(var(59)>0&&random<var(59)*20)||fvar(39)=1
triggerall=fvar(35)>200
triggerall=statetype!=A
triggerall=p2statetype=L
triggerall=p2bodydist x=[ifelse(playerID(var(58)),vel x<0,140,200),260]
triggerall=ctrl||stateno=100
trigger1=p2stateno>=5120
trigger1=playerID(var(58)),time=[1,4]
trigger1=playerID(var(58)),vel x<=0

[State -3,214P]
type=changestate
value=1300
triggerall=roundstate=2
triggerall=(var(59)>0&&random<var(59)*10)||fvar(39)=1
triggerall=!numhelper(1301)
triggerall=statetype!=A
triggerall=p2statetype=L
triggerall=p2bodydist x=[100,130]
triggerall=ctrl||stateno=100
trigger1=p2stateno>=5120
trigger1=playerID(var(58)),animtime=-19

[State -3,214P]
type=changestate
value=1300
triggerall=roundstate=2
triggerall=(var(59)>0&&random<var(59)*50)||fvar(39)=1
triggerall=numhelper(1301)
triggerall=helper(1301),time=[ifelse(power<1999,360,300),480]
triggerall=statetype!=A
triggerall=p2statetype=L
triggerall=p2stateno>=5120
triggerall=p2bodydist x>60||p2bodydist x<-60
triggerall=ctrl||stateno=100
trigger1=helper(1301),p2dist x=[-150,74]
trigger2=helper(1301),p2dist x=[75,120]
trigger3=helper(1301),p2dist x=[121,360]
;劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒
;嬻拞婲偒峌傔
;劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒
[State -3,JZ]
type=changestate
value=620
triggerall=roundstate=2
triggerall=(var(59)>0&&random<var(59)*70)||fvar(39)=1
triggerall=statetype=A
triggerall=p2statetype=L
triggerall=p2stateno>=5120
triggerall=p2bodydist x=[ifelse(vel x<0,0,56),152+vel x*12]
triggerall=ctrl
triggerall=pos y+(vel y!=0)*(vel y+const(movement.yaccel)*11)*12>-54
trigger1=playerID(var(58)),animtime>=-9

[State -3,JA]
type=changestate
value=630
triggerall=roundstate=2
triggerall=(var(59)>0&&random<var(59)*70)||fvar(39)=1
triggerall=statetype=A
triggerall=p2statetype=L
triggerall=p2stateno>=5120
triggerall=p2bodydist x=[-35,55+vel x*6]
triggerall=pos y+(vel y!=0)*(vel y+const(movement.yaccel)*5)*6>-70
triggerall=vel x>=0&&vel y>0||vel x<0&&vel y<0
triggerall=ctrl
trigger1=playerID(var(58)),animtime>=-6

[State -3,J214P]
type=changestate
value=1500
triggerall=roundstate=2
triggerall=(var(59)>0&&random<var(59)*20)||fvar(39)=1
triggerall=power<3000
triggerall=statetype=A
triggerall=p2statetype=L
triggerall=p2stateno>=5120
triggerall=p2bodydist x>152
triggerall=pos y<ifelse(p2bodydist x>199,-70,ifelse(p2bodydist x>99,-60,-50))
triggerall=playerID(var(58)),vel x<=0
triggerall=playerID(var(58)),time=[1,4]
trigger1=ctrl
;劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒
;抧忋栚墴偟廍偆
;劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒
[State -3,66]
type=changestate
value=100
triggerall=roundstate=2
triggerall=(var(59)>0&&random<var(59)*ifelse((p2stateno=[120,159]),8,100))||fvar(39)=3
triggerall=fvar(38)>0
triggerall=statetype!=A
triggerall=stateno!=100
triggerall=p2statetype!=L
triggerall=p2statetype!=A
triggerall=p2movetype=H
triggerall=p2bodydist x=[10,220]
triggerall=playerID(var(58)),life>0
triggerall=var(56)>=10
trigger1=ctrl||(stateno=[10,12])||(stateno=1250&&anim=194&&animelem>=5)

[State -3,2X]
type=changestate
value=400
triggerall=roundstate=2
triggerall=(var(59)>0&&random<var(59)*ifelse((p2stateno=[120,159]),20,100))||fvar(39)=3
triggerall=fvar(38)>0
triggerall=statetype!=A
triggerall=p2statetype!=L
triggerall=p2statetype!=A
triggerall=p2movetype=H
triggerall=p2bodydist x=[-61,61]
triggerall=playerID(var(58)),life>0
triggerall=ctrl||(stateno=[10,12])||stateno=100||(stateno=1250&&anim=194&&animelem>=5)
trigger1=(p2stateno!=[120,159])&&var(56)=5||(p2stateno=[120,159])&&var(56)>=4

[State -3,2X]
type=changestate
value=400
triggerall=roundstate=2
triggerall=(var(59)>0&&random<var(59)*ifelse((p2stateno=[120,159]),50,100))||fvar(39)=3
triggerall=fvar(38)>0
triggerall=statetype!=A
triggerall=p2statetype!=L
triggerall=p2statetype!=A
triggerall=p2movetype=H
triggerall=p2bodydist x=[-61,61]
triggerall=playerID(var(58)),life>0
trigger1=stateno=1250
trigger1=anim=194
trigger1=animelem>=5

[State -3,嬤X]
type=changestate
value=202
triggerall=0;roundstate=2
triggerall=(var(59)>0&&random<var(59)*ifelse((p2stateno=[120,159]),33,100))||fvar(39)=3
triggerall=fvar(38)>0
triggerall=statetype!=A
triggerall=p2statetype!=L
triggerall=p2statetype!=A
triggerall=p2movetype=H
triggerall=p2bodydist x=[-10,8]
triggerall=playerID(var(58)),life>0
triggerall=ctrl||(stateno=[10,12])||stateno=100||(stateno=1250&&anim=194&&animelem>=5)
trigger1=(p2stateno!=[120,159])&&var(56)=7||(p2stateno=[120,159])&&var(56)>=7

[State -3,嬤Y]
type=changestate
value=215
triggerall=roundstate=2
triggerall=(var(59)>0&&random<var(59)*ifelse((p2stateno=[120,159]),12,100))||fvar(39)=3
triggerall=fvar(38)>0
triggerall=statetype!=A
triggerall=p2statetype!=L
triggerall=p2statetype!=C
triggerall=p2movetype=H
triggerall=p2bodydist x=[-34,36]
triggerall=playerID(var(58)),life>0
triggerall=ctrl&&stateno!=100||(stateno=[10,12])||(stateno=1250&&anim=194&&animelem>=5)
trigger1=p2statetype!=A
trigger1=(p2stateno!=[120,159])&&var(56)=10||(p2stateno=[120,159])&&var(56)>=10
trigger2=p2statetype=A
trigger2=p2bodydist y+(playerID(var(58)),vel y!=0)*(playerID(var(58)),vel y+playerID(var(58)),gethitvar(yaccel)*8)*9=[-40,0]

[State -3,X]
type=changestate
value=200
triggerall=0;roundstate=2
triggerall=(var(59)>0&&random<var(59)*ifelse((p2stateno=[120,159]),33,100))||fvar(39)=3
triggerall=fvar(38)>0
triggerall=statetype!=A
triggerall=p2statetype!=L
triggerall=p2statetype!=A
triggerall=p2movetype=H
triggerall=p2bodydist x=[9,64]
triggerall=playerID(var(58)),life>0
triggerall=p2dist x>0
triggerall=ctrl&&stateno!=100||(stateno=[10,12])
trigger1=(p2stateno!=[120,159])&&var(56)=8||(p2stateno=[120,159])&&var(56)>=8
;劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒
;抧忋宷偓 
;劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒
[State -3,J214P]
type=changestate
value=37
triggerall=roundstate=2
triggerall=(var(59)>0&&random<var(59)*33)||fvar(39)=3
triggerall=fvar(38)>0
triggerall=statetype!=A
triggerall=stateno!=400
triggerall=p2statetype!=L
triggerall=p2bodydist x=[-8,60]
triggerall=p2movetype=H
triggerall=p2stateno=[120,159]
triggerall=ctrl||(stateno=[10,12])
trigger1=prevstateno=400
trigger1=stateno=[0,20]

[State -3,44]
type=changestate
value=105
triggerall=roundstate=2
triggerall=(var(59)>0&&random<var(59)*33)||fvar(39)=3
triggerall=fvar(38)>0
triggerall=fvar(36)>=100
triggerall=statetype!=A
triggerall=stateno!=400
triggerall=p2statetype!=L
triggerall=p2bodydist x=[-8,60]
triggerall=p2movetype=H
triggerall=p2stateno=[120,159]
triggerall=ctrl||(stateno=[10,12])
trigger1=prevstateno=400
trigger1=stateno=[0,20]

[State -3,嬤X]
type=changestate
value=202
triggerall=roundstate=2
triggerall=(var(59)>0&&random<var(59)*ifelse((p2stateno=[120,159]),50,100))||fvar(39)=3
triggerall=fvar(38)>0
triggerall=statetype!=A
triggerall=p2statetype!=L
triggerall=p2statetype!=A
triggerall=p2movetype=H
triggerall=p2bodydist x=[-10,8]
triggerall=playerID(var(58)),life>0
trigger1=movehit
trigger1=stateno=202&&prevstateno!=202
trigger2=moveguarded
trigger2=stateno=202

[State -3,X]
type=changestate
value=200
triggerall=roundstate=2
triggerall=(var(59)>0&&random<var(59)*ifelse((p2stateno=[120,159]),33,100))||fvar(39)=3
triggerall=fvar(38)>0
triggerall=statetype!=A
triggerall=p2statetype!=L
triggerall=p2statetype!=A
triggerall=p2movetype=H
triggerall=p2bodydist x=[9,64]
triggerall=playerID(var(58)),life>0
trigger1=movecontact
trigger1=stateno=202

[State -3,A]
type=changestate
value=230
triggerall=roundstate=2
triggerall=(var(59)>0&&random<var(59)*100)||fvar(39)=3
triggerall=fvar(38)>0
triggerall=statetype!=A
triggerall=p2statetype!=L
triggerall=p2statetype!=A
triggerall=p2movetype=H
triggerall=p2bodydist x=[-5,50]
triggerall=playerID(var(58)),life>0
trigger1=movehit
trigger1=stateno=200

[State -3,嬤Y]
type=changestate
value=210
triggerall=roundstate=2
triggerall=(var(59)>0&&random<var(59)*100)||fvar(39)=3
triggerall=fvar(38)>0
triggerall=statetype!=A
triggerall=p2statetype!=L
triggerall=p2statetype!=A
triggerall=p2movetype=H
triggerall=p2bodydist x=[-34,36]
triggerall=playerID(var(58)),life>0
trigger1=movehit
trigger1=stateno=230

[State -3,墦Y]
type=changestate
value=210
triggerall=roundstate=2
triggerall=(var(59)>0&&random<var(59)*100)||fvar(39)=3
triggerall=fvar(38)>0
triggerall=statetype!=A
triggerall=p2statetype!=L
triggerall=p2statetype!=A
triggerall=p2movetype=H
triggerall=p2bodydist x=[37,55]
triggerall=playerID(var(58)),life>0
trigger1=movehit
trigger1=stateno=230

[State -3,B]
type=changestate
value=240
triggerall=roundstate=2
triggerall=(var(59)>0&&random<var(59)*100)||fvar(39)=3
triggerall=fvar(38)>0
triggerall=statetype!=A
triggerall=p2statetype!=L
triggerall=p2statetype!=A
triggerall=p2movetype=H
triggerall=playerID(var(58)),life>0
trigger1=movehit
trigger1=stateno=210
trigger1=p2bodydist x=[-5,55]
trigger2=movehit
trigger2=stateno=215
trigger2=p2bodydist x=[-5,31]

[State -3,嬤Z]
type=changestate
value=216
triggerall=roundstate=2
triggerall=(var(59)>0&&random<var(59)*100)||fvar(39)=3
triggerall=fvar(38)>0
triggerall=statetype!=A
triggerall=p2statetype!=L
triggerall=p2movetype=H
triggerall=p2bodydist x=[-34,36]
triggerall=playerID(var(58)),life>0
trigger1=stateno=240&&time>21
trigger1=movehit
trigger1=p2statetype!=A
trigger2=stateno=215
trigger2=movecontact
;trigger2=fvar(35)<50
trigger2=p2statetype=A

[State -3,墦Z]
type=changestate
value=220
triggerall=roundstate=2
triggerall=(var(59)>0&&random<var(59)*100)||fvar(39)=3
triggerall=fvar(38)>0
triggerall=statetype!=A
triggerall=p2statetype!=L
triggerall=p2movetype=H
triggerall=p2bodydist x=[37,132]
triggerall=playerID(var(58)),life>0
trigger1=movehit
trigger1=stateno=215||stateno=216||stateno=230
trigger2=movehit
trigger2=stateno=240&&time>21

[State -3,214P]
type=changestate
value=1300
triggerall=roundstate=2
triggerall=(var(59)>0&&random<var(59)*100)||fvar(39)=3
triggerall=fvar(38)>0
triggerall=!numhelper(1301)
triggerall=power<3000
triggerall=statetype!=A
triggerall=p2statetype!=L
triggerall=p2movetype=H
triggerall=p2stateno!=[120,159]
triggerall=playerID(var(58)),life>0
trigger1=stateno=220
trigger1=movehit
trigger1=(p2bodydist x=[-5,75])||p2statetype=A
[State -3,214P]
type=varset 
triggerall=roundstate=2
triggerall=var(59)>0||fvar(39)=3
triggerall=stateno=1300
trigger1=!numhelper(1301)
trigger1=p2movetype=H
trigger1=prevstateno=220
var(10)=ifelse(var(13),8,ifelse(p2statetype=A,8,0))
[State -3,214P]
type=varset 
triggerall=roundstate=2
triggerall=var(59)>0||fvar(39)=3
triggerall=stateno=1300
trigger1=!numhelper(1301)
trigger1=p2movetype=H
trigger1=prevstateno=220
var(11)=ifelse(var(13),-4,ifelse(p2statetype=A,8,-6))

[State -3,僐儞儃掲傔]
type=changestate
value=ifelse(fvar(35)<50&&p2statetype=A,255,ifelse(p2bodydist x>87,1200,ifelse(p2bodydist x<75&&p2statetype!=C,255,250)))
triggerall=roundstate=2
triggerall=(var(59)>0&&random<var(59)*100)||fvar(39)=3
triggerall=fvar(38)>0
triggerall=power>499
triggerall=statetype!=A
triggerall=p2statetype!=L
triggerall=p2statetype!=A||fvar(35)<50
triggerall=p2movetype=H
triggerall=p2bodydist x=[-5,87]
triggerall=playerID(var(58)),life>0
trigger1=movehit
trigger1=stateno=220

[State -3,僐儞儃掲傔]
type=changestate
value=255
triggerall=roundstate=2
triggerall=(var(59)>0&&random<var(59)*100)||fvar(39)=3
triggerall=fvar(38)>0
triggerall=power>1999
triggerall=statetype!=A
triggerall=p2statetype=A
triggerall=p2statetype!=L
triggerall=p2movetype=H
triggerall=p2bodydist x=[-5,ifelse(p2statetype!=A,120,100)]
triggerall=stateno=220&&(p2statetype=A&&movehit||p2statetype!=A&&time>=38||p2statetype!=A&&animtime=0)
triggerall=playerID(var(58)),life>0
trigger1=(p2bodydist y+(playerID(var(58)),vel y!=0)*(playerID(var(58)),vel y+playerID(var(58)),gethitvar(yaccel)*11)*12=[-20,20])

[State -3,僐儞儃掲傔]
type=changestate
value=ifelse(p2statetype=A&&fvar(35)>100&&power<3000&&playerID(var(58)),vel y<0,38,ifelse(power>2999&&playerID(var(58)),vel y>=0,3300,ifelse(power>1999&&playerID(var(58)),vel y<0&&p2life<600,3005,38)))
triggerall=roundstate=2
triggerall=(var(59)>0&&random<var(59)*100)||fvar(39)=3
triggerall=fvar(38)>0
;triggerall=power>1999
triggerall=numhelper(60000)
triggerall=helper(60000),var(2)!=2||p2statetype=A
triggerall=statetype!=A
triggerall=p2movetype=H
triggerall=p2bodydist x=[-20,ifelse(p2statetype=A,80,130)]
triggerall=playerID(var(58)),life>0
trigger1=stateno=52&&prevstateno=256
trigger2=fvar(35)<=100
trigger2=(stateno=[0,20])&&prevstateno=250

[State -3,46P]
type=changestate
value=1200
triggerall=roundstate=2
triggerall=(var(59)>0&&random<var(59)*100)||fvar(39)=3
triggerall=fvar(38)>0
triggerall=power>499
triggerall=statetype!=A
triggerall=p2statetype!=A||numhelper(1301)
triggerall=p2statetype!=L
triggerall=p2movetype=H
triggerall=p2stateno!=[120,159]
triggerall=p2bodydist x>87||p2statetype=A&&fvar(35)>50
triggerall=playerID(var(58)),life>0
trigger1=movehit
trigger1=stateno=220
[State -3,46P]
type=varset 
triggerall=roundstate=2
triggerall=var(59)>0||fvar(39)=3
triggerall=p2movetype=H
trigger1=movehit
trigger1=stateno=220
var(10)=8
[State -3,46P]
type=changestate
value=1201
triggerall=roundstate=2
triggerall=var(59)>0||fvar(39)=3
triggerall=fvar(38)>0
triggerall=statetype!=A
triggerall=p2statetype!=L
triggerall=p2movetype=H
trigger1=stateno=1200&&time>ifelse(p2statetype=A,7,17)

[State -3,2Y]
type=changestate
value=410
triggerall=roundstate=2
triggerall=(var(59)>0&&random<var(59)*100)||fvar(39)=3
triggerall=numhelper(40000)
triggerall=helper(40000),var(1)=2
triggerall=fvar(38)>0
triggerall=statetype!=A
triggerall=p2statetype!=L
triggerall=p2statetype!=A
triggerall=p2movetype=H
triggerall=p2bodydist x=[-5,43]
triggerall=playerID(var(58)),life>0
trigger1=movehit
trigger1=stateno=400||stateno=1250

[State -3,2Z]
type=changestate
value=420
triggerall=roundstate=2
triggerall=(var(59)>0&&random<var(59)*100)||fvar(39)=3
triggerall=fvar(38)>0
triggerall=statetype!=A
triggerall=p2statetype!=L
triggerall=p2movetype=H
triggerall=playerID(var(58)),life>0
trigger1=stateno=410
trigger1=p2statetype!=A
trigger1=movehit
trigger1=p2bodydist x=[-5,55]
trigger2=stateno=430
trigger2=p2statetype!=A
trigger2=movehit
trigger2=p2bodydist x=[-5,60]
trigger3=stateno=400||stateno=430
trigger3=p2statetype=A
trigger3=movehit
trigger3=p2bodydist x=[ifelse(stateno=430,-5,37),57]

[State -3,SJ]
type=changestate
value=854
triggerall=roundstate=2
triggerall=(var(59)>0&&random<var(59)*100)||fvar(39)=3
triggerall=fvar(38)>0
triggerall=statetype!=A
triggerall=p2statetype!=L
triggerall=p2movetype=H
triggerall=playerID(var(58)),life>0
trigger1=movehit
trigger1=stateno=420
;劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒
;嬻拞栚墴偟 
;劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒
[State -3,JY]
type=changestate
value=610
triggerall=roundstate=2
triggerall=(var(59)>0&&random<var(59)*100)||fvar(39)=3
triggerall=fvar(38)>0
triggerall=statetype=A
triggerall=p2statetype!=L
triggerall=p2movetype=H
triggerall=p2stateno!=[120,159]
triggerall=p2bodydist x=[-5,59]
triggerall=p2bodydist y+(playerID(var(58)),vel y!=0)*(playerID(var(58)),vel y+playerID(var(58)),gethitvar(yaccel)*9)*10=[-120,90]
trigger1=ctrl&&(stateno!=[853,855])
trigger2=stateno=[853,855]
trigger2=time>6

[State -3,JZ]
type=changestate
value=620
triggerall=0;roundstate=2
triggerall=(var(59)>0&&random<var(59)*100)||fvar(39)=3
triggerall=fvar(38)>0
triggerall=statetype=A
triggerall=p2statetype!=L
triggerall=p2movetype=H
triggerall=p2stateno!=[120,159]
triggerall=p2bodydist x=[-5,152]
;triggerall=p2bodydist y+(playerID(var(58)),vel y!=0)*(playerID(var(58)),vel y+playerID(var(58)),gethitvar(yaccel)*10)*12=[-120,120]
trigger1=ctrl
trigger2=stateno=[853,854]
trigger2=time>1
;劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒
;寗晅偒
;劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒
[State -3,66]
type=changestate
value=100
triggerall=roundstate=2
triggerall=(var(59)>0&&random<var(59)*33)||fvar(39)=4
triggerall=fvar(38)>0
triggerall=statetype!=A
triggerall=stateno!=100
triggerall=p2statetype!=L
triggerall=p2statetype!=A
triggerall=p2movetype!=H
triggerall=playerID(var(58)),animtime<-20
triggerall=!playerID(var(58)),ctrl
triggerall=p2bodydist x=[60,160]
trigger1=ctrl

[State -3,66J]
type=changestate
value=102
triggerall=roundstate=2
triggerall=(var(59)>0&&random<var(59)*20)||fvar(39)=4
triggerall=fvar(38)>0
triggerall=statetype!=A
triggerall=stateno!=100
triggerall=p2statetype!=L
triggerall=p2statetype!=A
triggerall=p2movetype!=H
triggerall=playerID(var(58)),animtime<-30
triggerall=!playerID(var(58)),ctrl
triggerall=p2bodydist x=[170,270]
trigger1=ctrl

[State -3,2X]
type=changestate
value=400
triggerall=roundstate=2
triggerall=(var(59)>0&&random<var(59)*ifelse(var(59)>9,100,50))||fvar(39)=4
triggerall=fvar(38)>0
triggerall=statetype!=A
triggerall=p2statetype!=L
triggerall=p2movetype!=H
triggerall=playerID(var(58)),animtime<-3
triggerall=!playerID(var(58)),ctrl
triggerall=p2bodydist x=[-10,60]
triggerall=p2bodydist y+(playerID(var(58)),vel y!=0)*(playerID(var(58)),vel y+playerID(var(58)),const(movement.yaccel)*2)*3>-5
triggerall=!inguarddist
trigger1=ctrl||(stateno=[10,12])||stateno=100||(stateno=1250&&anim=194&&animelem>=5)||stateno=751&&time>16

[State -3,K搳偘]
type=changestate
value=955
triggerall=roundstate=2
triggerall=(var(59)>0&&random<var(59)*50)||fvar(39)=4
triggerall=fvar(38)>0
triggerall=statetype!=A
triggerall=p2statetype!=A
triggerall=p2statetype!=L
triggerall=p2movetype!=H
triggerall=p2bodydist x=[-5,70]
triggerall=playerID(var(58)),animtime<-6
triggerall=!playerID(var(58)),ctrl
triggerall=!inguarddist
trigger1=ctrl||(stateno=[10,12])||stateno=100||(stateno=1250&&anim=194&&animelem>=5)||stateno=751&&time>16

[State -3,Z]
type=changestate
value=220
triggerall=roundstate=2
triggerall=(var(59)>0&&random<var(59)*(10+p2bodydist x/10))||fvar(39)=4
triggerall=fvar(38)>0
triggerall=statetype!=A
triggerall=p2statetype!=L
triggerall=p2movetype!=H
triggerall=playerID(var(58)),animtime<-14
triggerall=!playerID(var(58)),ctrl
triggerall=p2bodydist x=[61,130]
triggerall=p2bodydist y+(playerID(var(58)),vel y!=0)*(playerID(var(58)),vel y+playerID(var(58)),const(movement.yaccel)*2)*3>-2
triggerall=!inguarddist
trigger1=ctrl||(stateno=[10,12])||stateno=100||(stateno=1250&&anim=194&&animelem>=5)||stateno=751&&time>16

[State -3,P搳偘]
type=changestate
value=866
triggerall=roundstate=2
triggerall=(var(59)>0&&random<var(59)*50)||fvar(39)=4
triggerall=fvar(38)>0
triggerall=statetype!=A
triggerall=p2statetype!=L
triggerall=p2statetype!=A
triggerall=p2movetype!=H
triggerall=playerID(var(58)),animtime<-2
triggerall=!playerID(var(58)),ctrl
triggerall=p2bodydist x=[-5,43]
triggerall=!inguarddist
trigger1=ctrl||(stateno=[10,12])||stateno=100||(stateno=1250&&anim=194&&animelem>=5)||stateno=751&&time>16
;劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒
;嬻拞宷偓 
;劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒
[State -3,JB]
type=changestate
value=640
triggerall=roundstate=2
triggerall=(var(59)>0&&random<var(59)*100)||fvar(39)=3
triggerall=fvar(38)>0
triggerall=statetype=A
triggerall=p2statetype!=L
triggerall=p2movetype=H
triggerall=p2bodydist x=[-5,60]
triggerall=p2bodydist y+(playerID(var(58)),vel y!=0)*(playerID(var(58)),vel y+playerID(var(58)),gethitvar(yaccel)*6)*7=[-90,110]
triggerall=movecontact
trigger1=stateno=610||stateno=630&&vel x>=0

[State -3,JZ]
type=changestate
value=620
triggerall=roundstate=2
triggerall=(var(59)>0&&random<var(59)*100)||fvar(39)=3
triggerall=fvar(38)>0
triggerall=statetype=A
triggerall=p2statetype!=L
triggerall=p2bodydist x=[-5,150]
triggerall=p2bodydist y+(playerID(var(58)),vel y!=0)*(playerID(var(58)),vel y+playerID(var(58)),gethitvar(yaccel)*11)*12=[-90,101]
trigger1=stateno=640
trigger1=movecontact
trigger1=p2movetype=H
trigger2=stateno=630&&vel x<0
trigger2=movecontact>7

[State -3,JC]
type=changestate
value=650
triggerall=roundstate=2
triggerall=(var(59)>0&&random<var(59)*100)||fvar(39)=3
triggerall=fvar(38)>0
triggerall=statetype=A
triggerall=p2statetype=A
triggerall=p2statetype!=L
triggerall=p2movetype=H
triggerall=p2bodydist x=[-5,70]
triggerall=p2bodydist y+(playerID(var(58)),vel y!=0)*(playerID(var(58)),vel y+playerID(var(58)),gethitvar(yaccel)*6)*7=[-90,110]
triggerall=movecontact
trigger1=stateno=620

[State -3,JY]
type=changestate
value=610
triggerall=roundstate=2
triggerall=(var(59)>0&&random<var(59)*100)||fvar(39)=3
triggerall=fvar(38)>0
triggerall=statetype=A
triggerall=p2statetype!=L
triggerall=p2movetype=H
triggerall=p2bodydist x=[-5,59]
triggerall=pos y+(vel y!=0)*(vel y+const(movement.yaccel)*9)*10>-10
triggerall=movecontact
trigger1=stateno=650

[State -3,J214P]
type=changestate
value=1500
triggerall=roundstate=2
triggerall=(var(59)>0&&random<var(59)*100)||fvar(39)=3
triggerall=numhelper(40000)
triggerall=helper(40000),var(1)=0
triggerall=statetype=A
triggerall=p2statetype!=L
triggerall=p2movetype=H
triggerall=movecontact
triggerall=stateno=620
trigger1=vel x>=0
trigger1=pos y+(vel y!=0)*(vel y+const(movement.yaccel)*14)*15>180||(p2stateno=[120,159])
trigger2=vel x<0||vel y<0
;劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒
;棫偪夞傝
;劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒
[State -3,214P僎乕僕棴傔]
type=changestate
value=1300
triggerall=roundstate=2
triggerall=var(59)>0
triggerall=fvar(38)>0
triggerall=power<3000
triggerall=!numhelper(1301)
triggerall=!numhelper(1302)
triggerall=statetype!=A
triggerall=p2statetype!=A||p2stateno=821||p2stateno=887||var(56)>=999||(p2statetype=A&&playerID(var(58)),pos y<-220)
triggerall=ctrl||(stateno=[0,20])
triggerall=!inguarddist
triggerall=random<var(59)*100
trigger1=p2bodydist x=[200,270]
trigger1=p2movetype=H&&(p2stateno=[120,159])
trigger2=p2bodydist x=[221,270]
trigger2=p2movetype=H||p2movetype=I&&fvar(11)>500
trigger3=p2bodydist x=[200,270]
trigger3=p2statetype=L
trigger3=p2stateno=[5101,5110]
trigger4=p2bodydist x>100
trigger4=p2stateno=821
trigger5=p2bodydist x>100
trigger5=(p2stateno=[886,887])||prevstateno=876

[State -3,懸婡]
Type=ChangeState
Value=10
triggerall=roundstate=2
triggerall=var(59)>0
triggerall=statetype!=A
triggerall=p2movetype!=H
triggerall=p2bodydist x=[80,180]
triggerall=!inguarddist
triggerall=ctrl
trigger1=fvar(38)<=0
trigger1=random<var(59)*40
trigger2=p2movetype=I
trigger2=random<var(59)*15
trigger3=p2statetype=L
trigger3=random<var(59)*10
trigger4=prevstateno=[120,159]
trigger4=random<var(59)*12
trigger5=p2statetype=A
trigger5=random<var(59)*33
[State -3,懸婡]
Type=ChangeState
Value=11
triggerall=roundstate=2
triggerall=var(59)>0
triggerall=statetype!=A
triggerall=stateno=10
trigger1=animtime=0
ctrl=0
[State -3,懸婡廔傢傝]
Type=ChangeState
Value=12
triggerall=roundstate=2
triggerall=var(59)>0
triggerall=statetype!=A
triggerall=stateno=11
trigger1=inguarddist
trigger2=p2bodydist x<120
trigger3=roundstate!=2
trigger4=time>250
ctrl=1

[State -3,擂璢
Type=ChangeState
Value=100
triggerall=roundstate=2
triggerall=var(59)>0
triggerall=fvar(38)>0
triggerall=statetype!=A
triggerall=p2movetype!=H
triggerall=!inguarddist
triggerall=ctrl
trigger1=p2bodydist x=[110,160]
trigger1=p2bodydist y+(playerID(var(58)),vel y!=0)*(playerID(var(58)),vel y+playerID(var(58)),const(movement.yaccel)*12)*13>120||p2statetype!=A
trigger1=p2movetype=I
trigger1=random<var(59)*15
trigger2=power>1999
trigger2=p2bodydist x=[90,200]
trigger2=p2statetype=L
trigger2=stateno=[5101,5110]
trigger2=random<var(59)*50

[State -3,兽矫遌
Type=ChangeState
Value=105
triggerall=roundstate=2
triggerall=var(59)>0
triggerall=fvar(36)>=100
triggerall=statetype!=A
triggerall=p2movetype!=H
triggerall=!inguarddist&&!helper(60000),inguarddist
triggerall=ctrl
trigger1=p2bodydist x=[65,150]
trigger1=p2bodydist y+(playerID(var(58)),vel y!=0)*(playerID(var(58)),vel y+playerID(var(58)),const(movement.yaccel)*12)*13<-90||p2statetype!=A
trigger1=p2movetype=I
trigger1=random<var(59)*12
trigger2=p2bodydist x=[-5,40]
trigger2=p2statetype=L
trigger2=random<var(59)*33
trigger3=!numhelper(1301)
trigger3=!numhelper(1302)
trigger3=p2bodydist x=[80,200]
trigger3=random<var(59)*50
trigger4=numhelper(1301)
trigger4=helper(1301),time>450
trigger4=p2bodydist x=[60,200]
trigger4=random<var(59)*50
;劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒
;抧忋棫偪夞傝媄怳傝 
;劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒
[State -3,214P]
Type=ChangeState
Value=1300
triggerall=roundstate=2
triggerall=var(59)>0
triggerall=fvar(38)>0
triggerall=!numhelper(1301)
triggerall=!numhelper(1302)
triggerall=statetype!=A
triggerall=p2statetype=A
triggerall=p2movetype!=H
triggerall=p2statetype!=L
triggerall=p2dist x>0
triggerall=p2bodydist x-playerID(var(58)),vel x*18=[ifelse(fvar(36)<50,-30,0),60]
triggerall=p2bodydist x=[ifelse(fvar(36)<50,-30,0),60]
triggerall=p2bodydist y+(playerID(var(58)),vel y!=0)*(playerID(var(58)),vel y+playerID(var(58)),const(movement.yaccel)*17)*18=[-20,120]
triggerall=p2bodydist y=[-175,-60]
triggerall=!inguarddist
triggerall=!helper(60000),inguarddist
triggerall=ctrl||stateno=751&&time>16
trigger1=random<var(59)*33

[State -3,嬤Z]
Type=ChangeState
Value=216
triggerall=roundstate=2
triggerall=var(59)>0
triggerall=fvar(38)>0
triggerall=statetype!=A
triggerall=p2statetype=A
triggerall=p2movetype!=H
triggerall=p2statetype!=L
triggerall=p2dist x>0
triggerall=p2bodydist x=[-34,36]
triggerall=p2bodydist y+(playerID(var(58)),vel y!=0)*(playerID(var(58)),vel y+playerID(var(58)),const(movement.yaccel)*10)*11=[-75,110]
triggerall=p2bodydist y=[-110,-60]
triggerall=!inguarddist
triggerall=!helper(60000),inguarddist
triggerall=ctrl||stateno=751&&time>16
trigger1=random<var(59)*33

[State -3,2Z]
Type=ChangeState
Value=420
triggerall=roundstate=2
triggerall=var(59)>0
triggerall=fvar(38)>0
triggerall=statetype!=A
triggerall=p2statetype=A
triggerall=p2movetype!=H
triggerall=p2statetype!=L
triggerall=p2dist x>0
triggerall=p2bodydist x-playerID(var(58)),vel x*14=[ifelse(fvar(36)<50,-30,0),74]
triggerall=p2bodydist x=[ifelse(fvar(36)<50,-30,0),74]
triggerall=p2bodydist y+(playerID(var(58)),vel y!=0)*(playerID(var(58)),vel y+playerID(var(58)),const(movement.yaccel)*13)*14=[-60,70]
triggerall=p2bodydist y=[-175,-60]
triggerall=!inguarddist
triggerall=!helper(60000),inguarddist
triggerall=ctrl||stateno=751&&time>16
trigger1=random<var(59)*10
;劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒
;尅惂
[State -3,2X]
Type=ChangeState
Value=400
triggerall=roundstate=2
triggerall=var(59)>0
triggerall=fvar(38)>0
triggerall=statetype!=A
triggerall=p2movetype!=H
triggerall=p2statetype!=L
triggerall=p2bodydist x-playerID(var(58)),vel x*3=[-30,60]
triggerall=p2bodydist y+(playerID(var(58)),vel y!=0)*(playerID(var(58)),vel y+playerID(var(58)),const(movement.yaccel)*2)*3>-5
triggerall=!inguarddist
triggerall=ctrl||(stateno=[10,12])||stateno=100||(stateno=1250&&anim=194&&animelem>=5)||stateno=751&&time>16
trigger1=random<var(59)*50

[State -3,朶傟2X]
Type=ChangeState
Value=400
triggerall=roundstate=2
triggerall=var(59)>0
triggerall=fvar(38)>0
triggerall=statetype!=A
triggerall=p2movetype!=H
triggerall=p2statetype!=A
triggerall=p2statetype!=L
triggerall=p2stateno=[200,799]
triggerall=playerID(var(58)),time<=(4+random/333)
triggerall=p2bodydist x-playerID(var(58)),vel x*3=[-30,60]
triggerall=ctrl||(stateno=[10,12])||stateno=100||stateno=751&&time>16
trigger1=random<var(59)*20

[State -3,2A]
Type=ChangeState
Value=430
triggerall=roundstate=2
triggerall=var(59)>0
triggerall=fvar(38)>0
triggerall=statetype!=A
triggerall=p2movetype!=H
triggerall=p2statetype!=L
triggerall=p2bodydist x-playerID(var(58)),vel x*5=[0,50]
triggerall=p2bodydist y+(playerID(var(58)),vel y!=0)*(playerID(var(58)),vel y+playerID(var(58)),const(movement.yaccel)*4)*5>-2
triggerall=!inguarddist
triggerall=ctrl||(stateno=[10,12])||(stateno=1250&&anim=194&&animelem>=5)||stateno=751&&time>16
trigger1=random<var(59)*(10+p2bodydist x/10)

[State -3,K搳偘]
type=changestate
value=955
triggerall=roundstate=2
triggerall=var(59)>0
triggerall=fvar(38)>0
triggerall=statetype!=A
triggerall=p2statetype!=A
triggerall=p2movetype!=H
triggerall=p2statetype!=L
triggerall=p2bodydist x=[-5,70]
triggerall=ctrl||(stateno=[10,12])||stateno=100||(stateno=1250&&anim=194&&animelem>=5)||stateno=751&&time>16
triggerall=random<var(59)*(18+p2bodydist x/10)
trigger1=p2movetype=I
trigger2=var(56)<=0

[State -3,P搳偘]
type=changestate
value=866
triggerall=roundstate=2
triggerall=var(59)>0
triggerall=fvar(38)>0
triggerall=statetype!=A
triggerall=p2statetype!=A
triggerall=p2movetype!=H
triggerall=p2statetype!=L
triggerall=p2bodydist x=[-5,45]
triggerall=ctrl||(stateno=[10,12])||stateno=100||(stateno=1250&&anim=194&&animelem>=5)||stateno=751&&time>16
triggerall=random<var(59)*30
trigger1=p2movetype=I
trigger2=var(56)<=0

[State -3,214P奐曻]
type=changestate
value=1300
triggerall=roundstate=2
triggerall=var(59)>0
triggerall=fvar(38)>0
triggerall=numhelper(1301)
triggerall=helper(1301),time=[ifelse(power<1999,360,300),480]
triggerall=statetype!=A
triggerall=p2statetype!=A
triggerall=p2statetype!=L
triggerall=(helper(1301),p2dist x=[-150,74])||(helper(1301),p2dist x=[75,120])||(helper(1301),p2dist x=[121,320])
triggerall=random<var(59)*50
triggerall=ctrl||(stateno=[10,12])||stateno=100||(stateno=220&&movehit&&power<2000)
trigger1=p2bodydist x>140
trigger1=p2movetype!=H||(p2stateno=[120,159])
trigger2=p2bodydist x>225
trigger2=p2movetype=H
trigger3=(stateno=220&&movehit&&power<2000)

[State -3,222]
type=changestate
value=1250
triggerall=roundstate=2
triggerall=var(59)>0
triggerall=statetype!=A
triggerall=p2statetype!=L
triggerall=(p2bodydist y=[-40,0])&&playerID(var(58)),vel y>=0
triggerall=!inguarddist
triggerall=prevstateno!=751
triggerall=random<var(59)*ifelse(fvar(36)<50,33,16)||numhelper(1666)||numhelper(1667)
triggerall=ctrl||(stateno=[10,12])||stateno=100&&time>2+random/250||stateno=751&&time>16
trigger1=p2bodydist x-playerID(var(58)),vel x*17=[120,270]
trigger1=(playerID(var(58)),ctrl=0&&playerID(var(58)),animtime<-16)||p2movetype=I
trigger1=p2movetype!=H
trigger2=p2bodydist x-playerID(var(58)),vel x*17=[120,270]
trigger2=p2bodydist x=[225,270]
trigger2=p2statetype!=A
trigger2=p2movetype=H

[State -3,J214P]
type=changestate
value=37
triggerall=roundstate=2
triggerall=var(59)>0
triggerall=fvar(38)>0
triggerall=power<3000
triggerall=statetype!=A
triggerall=p2statetype!=A
triggerall=p2movetype!=H
triggerall=p2statetype!=L
triggerall=p2bodydist x>ifelse(fvar(36)<70,95,60)
triggerall=prevstateno!=751
triggerall=random<var(59)*ifelse(fvar(12)<200,50,ifelse(fvar(36)<50,8,20))
trigger1=ctrl||(stateno=[10,12])||stateno=100&&time>4
;劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒
;嬻拞寗撍偒
;劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒
[State -3,JZ]
type=changestate
value=620
triggerall=roundstate=2
triggerall=(var(59)>0&&random<var(59)*ifelse(var(59)>9,100,50))||fvar(39)=4
triggerall=statetype=A
triggerall=p2statetype!=L
triggerall=p2movetype!=H
triggerall=!playerID(var(58)),ctrl
triggerall=playerID(var(58)),animtime<-12
triggerall=p2bodydist x=[ifelse(vel x<0,0,56),152+vel x*12]
triggerall=p2bodydist y+(playerID(var(58)),vel y!=0)*(playerID(var(58)),vel y+playerID(var(58)),const(movement.yaccel)*11)*12=[-90,115]
triggerall=ctrl||stateno=750&&time>9
trigger1=vel y>0
trigger1=p2statetype!=A
trigger2=!inguarddist
trigger2=p2statetype=A

[State -3,JA]
type=changestate
value=630
triggerall=roundstate=2
triggerall=(var(59)>0&&random<var(59)*ifelse(var(59)>9,100,50))||fvar(39)=4
triggerall=statetype=A
triggerall=p2statetype!=L
triggerall=p2movetype!=H
triggerall=p2bodydist x=[-35,55+vel x*6]
triggerall=!playerID(var(58)),ctrl
triggerall=playerID(var(58)),animtime<-6
triggerall=ctrl||stateno=750&&time>9
trigger1=p2statetype!=A
trigger1=pos y+(vel y!=0)*(vel y+const(movement.yaccel)*5)*6>-80&&vel y>0
trigger2=!inguarddist
trigger2=p2statetype=A
trigger2=p2bodydist y+(playerID(var(58)),vel y!=0)*(playerID(var(58)),vel y+playerID(var(58)),const(movement.yaccel)*5)*6=[-80,110]

[State -3,J214P]
type=changestate
value=1500
triggerall=roundstate=2
triggerall=(var(59)>0&&random<var(59)*33)||fvar(39)=4
triggerall=statetype=A
triggerall=p2statetype!=A
triggerall=p2statetype!=L
triggerall=p2movetype!=H
triggerall=p2bodydist x>152
triggerall=pos y<ifelse(p2bodydist x>199,-70,ifelse(p2bodydist x>99,-60,-50))
triggerall=pos y<playerID(var(58)),pos y
triggerall=!playerID(var(58)),ctrl
triggerall=playerID(var(58)),animtime<-25
trigger1=ctrl||stateno=750&&time>9
;劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒
;嫁踢
;劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒
[State -3,fwd_Jump]
type=changestate
value=38
triggerall=roundstate=2
triggerall=var(59)>0
triggerall=fvar(38)>0
triggerall=statetype!=A
triggerall=p2statetype!=A
triggerall=p2movetype!=H
triggerall=p2statetype!=L
triggerall=p2bodydist x=[180,220]
triggerall=!inguarddist
triggerall=prevstateno!=751
triggerall=ctrl||stateno=100
triggerall=random<var(59)*12
trigger1=p2movetype=I

[State -3,Jump]
type=changestate
value=40
triggerall=roundstate=2
triggerall=var(59)>0
triggerall=fvar(38)>0
triggerall=statetype!=A
triggerall=p2statetype!=A
triggerall=p2movetype!=H
triggerall=p2statetype!=L
triggerall=p2bodydist x=[110,160]
triggerall=!inguarddist
triggerall=prevstateno!=751
triggerall=ctrl||stateno=100
triggerall=random<var(59)*8
trigger1=p2movetype=I

[State -3,back_Jump]
type=changestate
value=39
triggerall=roundstate=2
triggerall=var(59)>0
triggerall=fvar(38)>0
triggerall=fvar(36)>100
triggerall=statetype!=A
triggerall=p2statetype!=A
triggerall=p2movetype!=H
triggerall=p2statetype!=L
triggerall=p2bodydist x=[-5,100]
triggerall=!inguarddist&&!helper(60000),inguarddist
triggerall=prevstateno!=751
triggerall=ctrl||stateno=100
triggerall=random<var(59)*6
trigger1=p2movetype=I

[State -3,long_range_Jump]
type=changestate
value=102
triggerall=roundstate=2
triggerall=var(59)>0
triggerall=fvar(38)>0
triggerall=statetype!=A
triggerall=p2statetype!=A
triggerall=p2movetype!=H
triggerall=p2statetype!=L
triggerall=p2bodydist x>220
triggerall=prevstateno!=751
triggerall=!inguarddist
triggerall=ctrl
triggerall=random<var(59)*8
trigger1=p2movetype=I
;劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒
;嬻拞棫偪夞傝
;劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒
[State -3,JZ]
type=changestate
value=620
triggerall=0;roundstate=2
triggerall=(var(59)>0&&random<var(59)*75)||fvar(39)=4
triggerall=statetype=A
triggerall=p2statetype!=L
triggerall=p2movetype!=H
triggerall=p2bodydist x=[ifelse(vel x<0,0,56),152+vel x*12]
triggerall=ctrl
trigger1=p2statetype!=A
trigger1=pos y+(vel y!=0)*(vel y+const(movement.yaccel)*11)*12>-54
trigger2=!inguarddist
trigger2=p2statetype=A
trigger2=p2bodydist y+(playerID(var(58)),vel y!=0)*(playerID(var(58)),vel y+playerID(var(58)),const(movement.yaccel)*11)*12=[-90,100]

[State -3,JZ]
type=changestate
value=620
triggerall=roundstate=2
triggerall=(var(59)>0&&random<var(59)*75)||fvar(39)=4
triggerall=statetype=A
triggerall=p2statetype!=L
triggerall=p2movetype!=H
triggerall=p2bodydist x=[ifelse(vel x<0,0,56),152+vel x*12]
triggerall=p2bodydist y+(playerID(var(58)),vel y!=0)*(playerID(var(58)),vel y+playerID(var(58)),const(movement.yaccel)*11)*12=[-90,115]
triggerall=ctrl
trigger1=vel y>0
trigger1=p2statetype!=A
trigger2=!inguarddist
trigger2=p2statetype=A

[State -3,JB]
type=changestate
value=640
triggerall=roundstate=2
triggerall=(var(59)>0&&random<var(59)*66)||fvar(39)=4
triggerall=statetype=A
triggerall=p2statetype!=L
triggerall=p2movetype!=H
triggerall=p2bodydist x=[-5,55+vel x*7]
triggerall=ctrl
trigger1=!inguarddist
trigger1=p2statetype=A
trigger1=p2bodydist y+(playerID(var(58)),vel y!=0)*(playerID(var(58)),vel y+playerID(var(58)),const(movement.yaccel)*6)*7=[-120,120]

[State -3,JA]
type=changestate
value=630
triggerall=roundstate=2
triggerall=(var(59)>0&&random<var(59)*50)||fvar(39)=4
triggerall=statetype=A
triggerall=p2statetype!=L
triggerall=p2movetype!=H
triggerall=p2bodydist x=[-35,55+vel x*6]
triggerall=ctrl
trigger1=p2statetype!=A
trigger1=pos y+(vel y!=0)*(vel y+const(movement.yaccel)*5)*6>60&&vel y>0
trigger2=!inguarddist
trigger2=p2statetype=A
trigger2=p2bodydist y+(playerID(var(58)),vel y!=0)*(playerID(var(58)),vel y+playerID(var(58)),const(movement.yaccel)*5)*6=[-80,110]

[State -3,J214P]
type=changestate
value=1500
triggerall=roundstate=2
triggerall=(var(59)>0&&random<var(59)*ifelse(vel x<=0,28,14))||fvar(39)=4
triggerall=statetype=A
triggerall=p2statetype!=A
triggerall=p2statetype!=L
triggerall=p2movetype!=H
triggerall=p2bodydist x>ifelse(vel x<=0,107,157)
triggerall=pos y<ifelse(p2bodydist x>199,-70,ifelse(p2bodydist x>99,-60,-50))
triggerall=pos y<playerID(var(58)),pos y
trigger1=ctrl
;劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒
;曕偒
;劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒
[State -3,曕偒]
type=ChangeState
triggerall=roundstate=2
triggerall=var(59)>0
triggerall=statetype!=A
triggerall=stateno!=[120,159]
triggerall=!inguarddist
triggerall=!helper(60000),inguarddist
trigger1=ctrl&&stateno!=20&&stateno!=52&&stateno!=101&&stateno!=1250
value=20
ctrl=1
;劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒
;AI廔椆
;劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒
;偦偺懠
[State -3, 1] ;som bate pe no chao
type = PlaySnd
triggerall = time = 1
trigger1 = stateno = 52 || stateno = 106 || stateno = 5100
trigger2 = stateno = 1102 || stateno = 1152 || stateno = 1202 || stateno = 1302
channel = 2
value = s52, 0

[State -3, fumaca pes pulo]
type = Explod
triggerall = time = 1
trigger1 = stateno = 50
anim = 7600
pos = -2,25 
sprpriority = 2
ownpal = 1

[State -3, Vento chao Peq]
type = Explod
triggerall = time = 1
trigger1 = stateno = 50
anim = 7628 
pos = 0,23
sprpriority = -2
ownpal = 1
ignorehitpause = 1
bindtime = 1
supermove = 1
pausemovetime = 100
supermovetime = 100

[State -3, fumaca pes SuperPulo]
type = Explod
triggerall = time = 1
trigger1 = stateno = 855
anim = 7600
pos = -2,25 
scale = 1,2
sprpriority = 2
ownpal = 1

[State -3, 1] ;som pulos e saltos
type = PlaySnd
triggerall = animElem = 2
trigger1 = stateno = 105
channel = 3
value = s0, 2

[State -3, 1]
type=PlaySnd
triggerall=animElem = 2
trigger1=stateno = 100
channel=3
value=s100,0

[State -3, morre] ; morre na defesa
type = ChangeState
triggerAll = Life < 1
triggerAll = statetype != A
trigger1 = PrevStateno = [120,152]
value = 171
ctrl
;------------------------------varia sons para golpes ---------------------
[State -3, ventos]
type=PlaySnd
triggerall=var(9)
triggerall=stateno>199
trigger1=stateno!=[866,876]
trigger1=stateno!=[955,965]
trigger1=movehit=1
value=S5000,0
channel=3
ignorehitpause=1

; sons de vento em golpes
[State -3, 1]
type = VarRandom
trigger1 = Time > 0
v = 6
range = 0,2

[State -3, ventos]
type = PlaySnd
triggerAll = Time = 1
trigger1 = stateno = 3401 || stateno = 801
value = S0,var(6)
channel = 0

[State -3,LP&K]
type=PlaySnd
triggerall=time=1
trigger1=stateno=200||stateno=202||stateno=230||stateno=235||stateno=400||stateno=430||stateno=600||stateno=630
value=S0,0
channel=0

[State -3,MP&K]
type=PlaySnd
triggerall=time=1
trigger1=stateno=210||stateno=215||stateno=216||stateno=240||stateno=241||stateno=242||stateno=410||stateno=440||stateno=610||stateno=640||stateno=751
value=S0,1
channel=0

[State -3,SP&K]
type=PlaySnd
trigger1=time=1
trigger1=stateno=220||stateno=216||stateno=255||stateno=256||stateno=420||stateno=620||stateno=650||stateno=1500
trigger2=time=1||time=30
trigger2=stateno=250
trigger3=time=1||time=25
trigger3=stateno=450
value=S0,2
channel=0

[State -3, 1]
type = VarRandom
trigger1 = Time > 0
v = 7
range = 1,6

[State -3,LP&K]
type=PlaySnd
triggerall=time=1
trigger1=stateno=200||stateno=202||stateno=230||stateno=235||stateno=400||stateno=430||stateno=600||stateno=630
value=S10,random%2
channel=1

[State -3,MP&K]
type=PlaySnd
triggerall=time=1
trigger1=stateno=210||stateno=215||stateno=240||stateno=241||stateno=242||stateno=410||stateno=440||stateno=610||stateno=640
value=S10,ifelse(random<500,3,4)
channel=1

[State -3,SP&K]
type=PlaySnd
triggerall=time=1
trigger1=stateno=220||stateno=216||stateno=250||stateno=256||stateno=420||stateno=450||stateno=620||stateno=650
value=S10,ifelse(random<333,5,ifelse(random<666,6,7))
channel=1

[State -3,Guard]
type=PlaySnd
triggerall=time=1
trigger1=stateno=150||stateno=152||stateno=154||stateno=751
value=S120,random%3
channel=1

[State -3,Get up]
type=PlaySnd
triggerall=time=1
trigger1=stateno=5120||stateno=5210
value=S5120,random%3
channel=1

[State -3, gritos]
type=PlaySnd
triggerall=time=1
trigger1=stateno = 660
trigger2=stateno = 801 || stateno = 1301
value = S10,var(7)
channel = 1
;-----------------------------Baseado em BBHOOD hurt code------------------------
; sons de apanhando random
[State -3, 1]
type = VarRandom
trigger1 = Time > 0
v = 5
range = 1,6

; grita quando apanha
[State -3, gritos]
type = PlaySnd
triggerall = alive
trigger1 = Time = 0 && stateno = 5000
trigger2 = Time = 0 && stateno = 5010
trigger3 = Time = 0 && stateno = 5020
trigger4 = Time = 0 && stateno = 5070
trigger5 = Time = 0 && stateno = 5080
trigger6 = Time = 1 && stateno = 5100
value = S11,var(5)
channel = 0
;-----------------------------BBHOOD hurt code end

[State -3, Combo Counter Reset]
type = VarSet
trigger1 = time >= 0
v = 36
value = backedgeDist

; ------------------------------------------------ Combo Breaker 
[State -3, Combo Counter Add]
type = VarAdd
triggerall = Time = 0
trigger1 = (StateNo = 5000) || (StateNo = 5010) || (StateNo = 5020) || (StateNo = 5070) || (StateNo = 5080)
v = 8
value = 1
ignorehitpause = 1

[State -3, Combo Counter Reset]
type = VarSet
trigger1 = MoveType != H
v = 8
value = 0
ignorehitpause = 1
;------------------------------- fim combo breaker
[State -3, MorePower] ; aumenta + a for鏰 contra evils apeloes
type = AttackMulSet
trigger1 = p2name = "Evil Ryu"
trigger2 = p2name = "Evil Ken"
trigger3 = p2name = "Perfect Weapon Mb-02"
trigger4 = p2name = "OGRE"
trigger5 = p2name = "Akuma"
trigger6 = p2name = "Gouki"
trigger7 = p2name = "OGRE"
trigger8 = p2name = "Orochi Iori"
trigger9 = p2name = "CVSEvilRyu"
trigger10 = p2name = "CvSGouki"
trigger11 = p2name = "CVSVega"
trigger12 = p2name = "SOL BADGUY"
trigger13 = p2name = "Zero Hotaru"
trigger14 = p2name = "isabeau"
trigger15 = p2name = "Ex-Inferis"
value = 1.3

[State -3, MoreDefenseInFlames] ;aumenta a for鏰 da defesa contr apel鮡s
type = DefenceMulSet
trigger1 = p2name = "Evil Ryu"
trigger2 = p2name = "Evil Ken"
trigger3 = p2name = "Perfect Weapon Mb-02"
trigger4 = p2name = "OGRE"
trigger5 = p2name = "Akuma"
trigger6 = p2name = "Gouki"
trigger7 = p2name = "OGRE"
trigger8 = p2name = "Orochi Iori"
trigger9 = p2name = "CVSEvilRyu"
trigger10 = p2name = "CvSGouki"
trigger11 = p2name = "CVSVega"
trigger12 = p2name = "SOL BADGUY"
trigger13 = p2name = "Zero Hotaru"
trigger14 = p2name = "isabeau"
trigger15 = p2name = "Ex-Inferis"
value = 1.3

;----------------------------- FINISH SCREEN nivel3 ----------
[State -3, FinishSom]
type = PlaySnd
triggerAll =  P2Life = 0
triggerAll = NumExplod(7010) = 0
trigger1 = stateno = 3100 || stateno = 3101 || stateno = 3000 || stateno = 3701 || stateno = 3702
trigger2 = stateno = 3600 || stateno = 3601 || stateno = 3602 || stateno = 3403 || stateno = 3300
trigger3 = stateno = 3301 || stateno = 3201
value = 3000, 8
channel = 2

[State -3, FinishSom]
type = PlaySnd
triggerAll =  P2Life = 0
triggerAll = NumExplod(7010) = 0
trigger1 = stateno = 3100 || stateno = 3101 || stateno = 3000 || stateno = 3701 || stateno = 3702
trigger2 = stateno = 3600 || stateno = 3601 || stateno = 3602 || stateno = 3403 || stateno = 3300
trigger3 = stateno = 3301 || stateno = 3201
value = 3000, 9
channel = 3

[State -3, FinishSom]
type = PlaySnd
triggerAll =  P2Life = 0
triggerAll = NumExplod(7010) = 0
trigger1 = stateno = 3100 || stateno = 3101 || stateno = 3000 || stateno = 3701 || stateno = 3702
trigger2 = stateno = 3600 || stateno = 3601 || stateno = 3602 || stateno = 3403 || stateno = 3300
trigger3 = stateno = 3301 || stateno = 3201
value = 3000, 9
channel = 4

[State -3, Vento chao]
type = Explod
triggerAll = stateno = 1102 || stateno = 1152 || stateno = 1202 || stateno = 1302
trigger1 = time = 2
anim = 7627 
pos = 0,3
sprpriority = -2
ownpal = 1
ignorehitpause = 1
bindtime = 1
supermove = 1
pausemovetime = 100
supermovetime = 100

;--------------------------- sangues corpo parado ---------------------------
[State -2,1]  ; remov sang
type = RemoveExplod
triggerall = p1name = "RaveEx"
triggerAll = stateno != 0
triggerAll = NumExplod(70031) = 1
trigger1 = 1

[State 101, maofrente]
type = Explod
triggerAll = stateno = 0
trigger1 = animElem = 3 && random = [0,500]
id = 70031
anim = 7003
pos = -9,-14
bindtime = -1
facing = -1
scale = 1,1.7	
sprpriority = 9
ownpal = 1

[State 101, maotras]
type = Explod
triggerAll = stateno = 0
trigger1 = animElem = 3 && random = [0,400]
anim = 7003
id = 70031
pos = 32,-20
bindtime = -1
facing = -1
scale = 1,1.4
sprpriority = -9
ownpal = 1

[State 101, peito]
type = Explod
triggerAll = stateno = 0
trigger1 = animElem = 13 && random = [0,200]
anim = 7003
id = 70031
pos = 5,-28
bindtime = -1
scale = 1,2.3	
sprpriority = 9
ownpal = 1

[State 101, barriga]
type = Explod
triggerAll = stateno = 0
trigger1 = animElem = 15 && random = [0,300]
anim = 7003
id = 70031
pos = 7,-22
bindtime = -1
facing = -1
scale = 1,2	
sprpriority = 9
ownpal = 1

[State -2, 13] ;pinga sang
type = PlaySnd
triggerAll = NumExplod(70031) = 1
triggerAll = stateno = 0
trigger1 = AnimElem = 3 || AnimElem = 13 || AnimElem = 15
value = 1100,3
channel = 3
volume = 500

[State -2, 12] ;perde life c sangrando a toa! :P
type = LifeAdd
triggerAll = RoundState = 2
triggerAll = NumExplod(70031) = 1
triggerAll = stateno = 0
trigger1 = AnimElem = 3 || AnimElem = 13 || AnimElem = 15
value = -10

;----------------------- aumenta for鏰, velocidade e defesa ---------------- teste colmeia
[State -3, PalFXWiz]  ;ativa 
type = varset
triggerAll = NumHelper(1666) = 1 || NumHelper(1667) = 1 || NumHelper(1668) = 1
trigger1 = time <= 20
var(27) = 1

[State -3, PalFXWiz] ;desliga
type = varset
triggerAll = NumHelper(1667) = 0 
trigger1 = 1
var(27) = 0

[State -3, PalFXWiz]
type = PalFX
triggerall = p2life > 0
triggerall = var(27) = 1
trigger1 = time >= 0 && timeMod = 20,15
time = 20
add = 0,-50,-50
mul = 256,256,256
sinadd = 10,2,40,10
invertall = 0
color = 256
;ignorehitpause = 0
;persistent = 1

[State -3, MorePower] ; aumenta + a for鏰 
type = AttackMulSet
trigger1 = var(27) = 1
value = 1.3

[State -3, MoreDefenseInFlames] ;aumenta a for鏰 da defesa
type = DefenceMulSet
trigger1 = var(27) = 1
value = 1.3

[State -3,MaisRapido] ;-> aumento da velocidade para ligar combos especiais
type = ChangeAnim
triggerall = (P2MoveType = H)
triggerall = var(27) = 1
trigger1 = stateno = 220 && prevstateno = 210
trigger1 = AnimElemTime(AnimElemNo(0) + 1) < 0
trigger1 = AnimElemTime(AnimElemNo(0)) > floor ((AnimElemTime(AnimElemNo(0)) -AnimElemTime(AnimElemNo(0) + 1))/4)
trigger2 = stateno = 250 && prevstateno = 240
trigger2 = AnimElemTime(AnimElemNo(0) + 1) < 0
trigger2 = AnimElemTime(AnimElemNo(0)) > floor ((AnimElemTime(AnimElemNo(0)) -AnimElemTime(AnimElemNo(0) + 1))/4)
ignorehitpause = 1
value = anim
elem = AnimElemNo(0) + 1