[Statedef -2]
[state ,僎僕儅僔僗僀僢僠]
type=varset
trigger1= !ishelper
var(46)=1			;defalut=1
;不知道这是什么回气，多次测试没有发现变化，最好还是不要动
;----------------------------------------------------------------------------------

[State -3, AI] 
Type = VarSet 
triggerall = var(59)<=0
TriggerAll = RoundState = 2 
Trigger1  = 1
var(59) = 2                     ;1-4开启  0关闭   ;AI 1 migo氏原版（根据X和Y轴的距离进行出招和连击，只要满足条件就会凹）（不建议开回气）（凶-狂中很看脸，根据开关会有变化）
                                                  ;AI 2 自制花样连段版（连段改变，弹幕+投技，10割看脸）（建议开回气）（狂中，根据开关会有变化）
                                                  ;AI 3 这是空的
                                                  ;AI 4 无厘头测试向 （时常超即死作死雷攻击）（时常无敌）（毫无诚意的演出）（准神，请勿用于殴打他人）
;这里是AI开关
;----------------------------------------------------------------------------------

[State -3]
Type = VarSet
TriggerAll = var(59)=1
Trigger1 = var(36) = 1
var(59) = 2                     ;这里与上面的AI等级调整一致为关闭，不一致为一败后AI等级改变
;一败加强开关
;----------------------------------------------------------------------------------

[state -2,lifeadd]
type = lifeadd
trigger1 = life <= 1
value = 1
;简易的1血抗性                  ;被拉p2锁血
;----------------------------------------------------------------------------------

[State 1000, 残影]
type = Afterimage
trigger1 =  !ishelper
trigger1 = gametime%12 = 0
trans = add
time = 12
length = 60
TimeGap = 1
FrameGap = 1
;残影效果                       ;我看着很喜欢，不想要的话就把这整段全部删掉即可
;----------------------------------------------------------------------------------

[state ,僎僕儅僔検]
type=varset
Trigger1 = RoundState = 2
trigger1 = !ishelper
trigger1 = stateno != [20000,20901]
var(47)=5			;任意整数开启（数字越大回气越快）  0关闭
;回气开关
;----------------------------------------------------------------------------------

[state ,僎僕儅僔検]
type=varset
TriggerAll = life<=400          ;在这里设定血量
Trigger1 = RoundState = 2
trigger1 = !ishelper
trigger1 = stateno != [20000,20901]
var(47)=10			;任意整数开启（数字越大回气越快）  0关闭
;残血回气开关

;-[分隔线]--------------------------------------------------------------------
[State -2,Dusk 无敌赋予]
type = NotHitBy
TriggerAll = palno >= 11          ;在这里设定P数
trigger1 = (anim = 5120) || (statetype = L) || (numtarget >= 1)
trigger2 = movetype = A
trigger3 = numhelper(2336)
value2 = SCA,NA,SA,HA,NP,SP,HP,NT,ST,HT
ignorehitpause = 1
persistent = 1

;----------------------------------------------------------------------------------

[State 0, AttackMulSet]
type = AttackMulSet
trigger1 = 1
value = 1+(lifemax-life)/400
ignorehitpause = 1
;攻击力随血量降低而增加                   
;----------------------------------------------------------------------------------

[state -2,每P提高百分之10攻击力]
type = AttackMulSet
trigger1 = palno >= 2
value = 1 + palno * 0.10
ignorehitpause = 1
;攻击力随p数提高而增加                    
;----------------------------------------------------------------------------------

[State x]
type = DefenceMulSet
trigger1 = 1
value = 1-(1-((Life+0.0)/(LifeMax+0.0)))*0.3
ignorehitpause = 1
;防御力随血量降低而增加 
;----------------------------------------------------------------------------------

[State -1]
type = Lifeadd
triggerall = palno = [10,11]              ;在这里选择p数
trigger1 = (GameTime%30) = 0 
value = 3
ignorehitpause = 0
;缓慢回血开关
;----------------------------------------------------------------------------------

[state -2]
type = lifeadd
trigger1 = palno = 12                     ;在这里选择p数
trigger1 = 1
value = 1
;高速回血开关
;----------------------------------------------------------------------------------

[State 0, DefenceMulSet]
type = DefenceMulSet
trigger1 = palno = 12                     ;在这里选择p数
trigger1 = life < lifemax
value = 0 - ((lifemax - life)/lifemax)
;防御硬化开关
;----------------------------------------------------------------------------------

[State 0, SelfState]
type = SelfState
triggerall = StateNo != 701
triggerall = life > 0
triggerall = MoveType = H && StateType != L
triggerall = stateno != [120, 159]
triggerall = PalNo = [10,12]              ;在这里选择p数
trigger1 = GetHitVar(hitcount) > 25       ;在这里修改受击数
value = 701
ctrl = 1
;受击脱离开关
;----------------------------------------------------------------------------------

[State -2, 受身]
type = SelfState
value = 5100;701
triggerall = alive
triggerall = var(33) != var(34)
triggerall = stateno != 5100;701
triggerall = PalNo = [10,12]              ;在这里选择p数
trigger1 = pos y > 0 && pos y < 40
trigger1 = vel y > 0
trigger1 = movetype = H
trigger1 = statetype = A

[State -2, 受身]
type = SelfState
value = 701
triggerall = alive
triggerall = PalNo = [10,12]              ;在这里选择p数
trigger1 = pos y > 0
trigger1 = vel y > 0
trigger1 = movetype = H
trigger1 = statetype = A
trigger2 = stateno = 5110
trigger3 = stateno = 5101
;落地受身开关
;----------------------------------------------------------------------------------

[State -3]
Type = VarSet
triggerall = PalNo = 9
TriggerAll = RoundState = 2 
Trigger1 = 1
var(59) = 4 
;特殊AI启动                                 ;娱乐向的产物，不喜勿喷（⑨是最强的）
;----------------------------------------------------------------------------------

[State -2]
type = AssertSpecial
triggerall = PalNo = 9                    ;在这里选择p数
triggerall = !winko
trigger1 = life != 1 && stateno =[120,155]
trigger2 = life != 1 && (movetype = H || MoveReversed)
trigger3 = life != 1 && !time
trigger4 = life != 1 && (gethitvar(damage) || gethitvar(fall.damage))
trigger5 = life <= 0
flag = intro
flag2 = noko
flag3 = timerfreeze
ignorehitpause=1
supermovetime = 9999999999
pausemovetime = 9999999999
;时常noko开关                             ;娱乐向的产物，不喜勿喷（⑨是最强的）
;----------------------------------------------------------------------------------

[State -2]
type = TargetLifeAdd
triggerall = PalNo = 9                    ;在这里选择p数 
trigger1 = time <= 1
value = -enemynear,lifemax/10
kill = 1
absolute = 1
ignorehitpause=1
supermovetime = 9999999999
pausemovetime = 9999999999

[State -2]
type = LifeAdd
triggerall = PalNo = 9                    ;在这里选择p数 
trigger1 = life != 1
value = abs((gethitvar(damage)+gethitvar(fall.damage))*2)
ignorehitpause=1
supermovetime = 9999999999
pausemovetime = 9999999999

[State -2]
type = LifeSet
triggerall = PalNo = 9                    ;在这里选择p数
trigger1 = movetype = H && time != 0
trigger2 = life <= 0
value = lifemax
ignorehitpause=1
supermovetime = 9999999999
pausemovetime = 9999999999

[State -2]
type = LifeAdd
triggerall = PalNo = 9                    ;在这里选择p数
triggerall = roundstate = 2
trigger1 = life > 1
trigger1 = gametime%(palno%6) = 0
value = -abs(ifelse((palno=9),9-palno,9-(palno-9)))
;时常满血开关                             ;娱乐向的产物，不喜勿喷（⑨是最强的）
;----------------------------------------------------------------------------------

[State ]
Type = HitOverride
triggerall = PalNo = 9                    ;在这里选择p数
trigger1 = 1
Attr = SCA,AA,AP,AT,SA,NA,NT,NP,ST,SP,HA,HT,HP
slot = 1
time = 1
ignorehitpause=1
supermovetime = 9999999999
pausemovetime = 9999999999

Time = 1
[State ]
Type = nothitby
triggerall = PalNo = 9                    ;在这里选择p数
trigger1=1
trigger2 = gethitvar(damage)
value = SCA,AA,AP,AT,SA,NA,NT,NP,ST,SP,HA,HT,HP
ignorehitpause=1
supermovetime = 9999999999
pausemovetime = 9999999999

;时常无敌开关                             ;娱乐向的产物，不喜勿喷（⑨是最强的）
;----------------------------------------------------------------------------------

[State 0, SelfState]
type = SelfState
triggerall = PalNo = 9                    ;在这里选择p数
trigger1 = movetype = H
value = 0
ctrl = 1
;时常脱离开关                             ;娱乐向的产物，不喜勿喷（⑨是最强的）
;----------------------------------------------------------------------------------
;开关到此为止，下面不建议修改
;----------------------------------------------------------------------------------
;七伤拳
[State ]
type = explod
triggerall = Target,Stateno = 22200
trigger1 = 1
anim = 22056
postype = p2
pos = 0,-57
random = 80,80
bindtime = 1
under = 0
ownpal = 1
Scale = 0.5,0.5
sprpriority = 15

[State ]
type = explod
triggerall = Target,Stateno = 22200
trigger1 = 1
anim = 22056
postype = p2
pos = 0,-57
random = 80,80
bindtime = 1
under = 0
ownpal = 1
Scale = 1,1
sprpriority = 15

[State ]
Type = null;Projectile
Trigger1 =  Target,Stateno = 22200
ProjAnim = 22056
ProjScale = 1,1
ProjReMove = 0
ProjReMoveTime = 16
ProjSprpriority = 15
OffSet = -40+Random%80,-97+Random%80
PosType = P2
AfterImage.Time = -1
AfterImage.Length = 10
AfterImage.PalBright = 0,0,0
AfterImage.PalContrast = 255,255,0
AfterImage.PalAdd = 0,0,0
AfterImage.PalMul = 0.65,0.65,0.65
AfterImage.TimeGap = 1
AfterImage.FrameGap = 1
AfterImage.Trans = Sub
PauseMoveTime = -1

[State ]
Type = null;Projectile
Trigger1 =  Target,Stateno = 22200
ProjAnim = 22056
ProjScale = 0.5,0.5
ProjReMove = 0
ProjReMoveTime = 16
ProjSprpriority = 15
OffSet = -40+Random%80,-97+Random%80
PosType = P2
AfterImage.Time = -1
AfterImage.Length = 10
AfterImage.PalBright = 0,0,0
AfterImage.PalContrast = 255,255,0
AfterImage.PalAdd = 0,0,0
AfterImage.PalMul = 0.65,0.65,0.65
AfterImage.TimeGap = 1
AfterImage.FrameGap = 1
AfterImage.Trans = Sub
PauseMoveTime = -1
IgnoreHitPause = 1

[State ]
type = Helper
trigger1 = numtarget
trigger1 = target,stateno = 22201 && target,time = 1
Postype = P2
id = 22250
stateno = 22250
pausemovetime = 9999999999999999
supermovetime = 9999999999999999
ignorehitpause = 1

[State ]
type = pause
trigger1 = target,stateno = 22200
trigger1 = Time%2 = 0
time = 1

[State ]
type = PlaySnd
trigger1 = target,stateno = 22200
trigger1 = time%5 = 0
value = 9800, 7
Volume = -300

;----------------------------------------------------------------------------------
[State ]
type = VarSet
trigger1 = Stateno != [1750,1755]
trigger1 = !Numhelper(1606)
fv = 15
value = 0

;----------------------------------------------------------------------------------
;愝掕偼偙偙傑偱傛丄柊傝側偝偄丅
;丂丂丂丂丂丂丂丂丂丂丂丂丂丂丂丂 丵_丵丵
;丂丂丂丂丂丂丂丂丂丂丂 丂 _?亖: : : : : : :丄`丷?
;丂丂丂丂丂丂丂丂丂丂丂乛: : : : : : : : : : : : :丷丄: :丷
;丂丂丂丂丂丂丂丂丂丂/ /: : : : : : : : : : : : : : : :丷: : ',
;丂丂丂丂丂丂丂丂丂/ /: : :/: /:/: : : : : : /: : : : :',: : |
;丂丂丂丂丂丂丂丂丂?::i://: /://: ://: :/: :/:/: / !: :!
;丂丂丂丂丂丂丂丂丂|::::|:|:|...:|...|.|...//..:/!./../:::/::/:::::!
;丂丂丂丂丂丂丂丂丂丷誓膜?:哪::?:;??:?/!:/丩}::::!
;丂丂丂丂丂丂丂丂丂丂丂丷!丷? ?▉^? '乛矀ど/:/
;丂丂丂丂丂丂丂丂丂丂丂丂 ',丂丂丷@丂丂丂丂?'瞾E
;丂丂丂丂丂丂丂丂丂丂丂 丂 乢丂`偙乚'丂丂乛 |渃!t'
;丂丂丂丂丂丂丂丂丂 丵__乛丂 乢__丂,.僀丂乛|丮丷_:丷
;丂丂丂丂丂丂丂丂乛/乛丂 丂 乛{`乕乚 '丩::乛丂 /
;丂丂丂丂丂丂丂 /,僀-乚乸丂乛僀::!:::::::::::乛丂丂 /
;丂丂丂丂丂丂 /丂丂丂 /乛:::::::::::::::::::::::|丮丷丂 /
;丂 丂 丂 丂 /丂丂丂乛_,. --乚' 丩丷:::::::丷丂丷乮
;丂丂丂丂丂/ 儗 '丂丩
;丂丂丂丂 乛
;
;KOF偺AA奿嵎偑怺崗偱偁傞丅
;偲傝傢偗僆儘僠巐揤墹偺榖偵偮偄偰丄崱夞偼偡傞偙偲偵偟傛偆丅
;僔僃儖儈乕偵悢懡偔偺AA偑側偄偺偼丄偙傟傑偱偺僕儍僀傾儞僩丒D!傗傾儞僿儖偺儕僪儈傪尒偨幆幰偺曽側傜偽
;偆偡偆偡梊憐偼偮偔偙偲偱偁傠偆乧乧丅嶌拞恖婥丄償傿僕儏傾儖柺偺懠偵傑偢抦柤搙偑昁梫側偺偩乧乧丅
;幮傕偛懡暘偵楻傟偢偦偺慀傝傪偆偗丄側傫偲偐帡偨僇僢僩偺AA偑1枃懚嵼偡傞偺傒偱偁傞丅僫僇乕儅丅

;偦傫側宐傑傟側偄"僆儘僠僠乕儉"偺側偐偱堦恖棤愗傝儌僲偑懚嵼偡傞丅
;偦偆丄僋儕僗偱偁傞丅斵偼"2枃"懚嵼偡傞丅2枃丄彮側偄偐偲偍巚偄偐傕偟傟側偄偑丄1枃偲2枃偺嵎偼偱偐偄丅
;1枃偱夞偣側偄僔僫儕僆傕2枃偁傟偽側傫偲偐僊儕僊儕帇妎傪朞偒偝偣偢夞偡偙偲偑偱偒傞丅
;偦傫側僋儕僗偺AA偼偙傟偲傕偆堦枃丅
;側傫偐億働儌儞奊偭傐偄偟丄僴儖僇偁偨傝傪巊偄傑傢偟偰僱乕偐偭偰婥傕偡傞傫偩偗偳偳乕偩傠丠
;丂丂 丂 丂 丂 丂 丂 丂 丂 _ 丵丵丵 _
;丂丂丂丂丂丂丂丂丂丂. .:.:丩:.:.:.:.:.:.:.:.:.:.:.:.丮:.:. .
;.丂丂丂丂丂丂 丂 乛:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.乢
;. 丂 丂 丂 丂 乛:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.::.:.:.:.:.:.:.:.:乢
;.丂丂丂丂丂 /:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.::.:.:.:.:.:.:.:.:.:.:.:.:.:.:乢
;丂丂丂丂丂/:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.::.:.:.:.:.:.:.:.:i:.:.:.:.:.:.:.:.:.:.:.
;丂丂丂丂丂倝:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.::.:.:.:.:.:.:.:.:.|丮丷:.:.:.:.:.:.:.:i
;丂丂丂丂丂l.:.:.:.:/:.:.:.:.:.:.:.:.:膜 :.:.:.:.:.:.:.:.:.:.:.:.:| 丂 ':.:.:.:.:.:.:.|
;丂丂丂丂丂|:.:.:/ .:.:..:..:.:.:.:.:i丂乢丷.:.:.:.:.:..:i:.:|丂傊倝.:.:.:.:.:.:l
;丂丂丂丂 丂 v:.:.:.:.:..:..:.:.:.:.:i丂乚-乢乢:.:.:.l:.:i/瞾Ri.:.:.:.:.:.亴
;.丂丂丂丂丂丂 v:.:.:.:.:.:.:.:.:.:.:i丂僩-亞= 乢|i??乯}:.:.://
;.丂丂丂丂丂丂丂 i.:.i僿:.:.:.:?i 淭躺蛠@丂丂丂乀 彫:'/
;.丂丂丂丂丂丂丂 谕丂 乢膜乢丂丂丂丂 丂 乀 丂 ?
;.丂丂丂丂丂丂 丂 丂 丮丷丂丂丂丂 丂 丂 丂 僲丂 乛丂丂 丂 丂 丂 丂 丂 ,?
;丂丂丂丂丂丂丂丂丂丂丂厣i|丂丮丂丂._丂 ( ?乛乚 @丂丂丂i佨丂丂丂/丂!
;丂丂丂丂丂丂丂丂丂丂丂丂/乕劅--丂凷 丂 丂i丂丂 乕劅劎 劌乚 /丂//丷劅劉
;丂丂丂丂丂丂丂丂丂丂 乛i:8:.:.:.:.:.:.:.:.:.:.乢 丂 ?丂丂丂丂 劆 劆 /丂//丂/ .: /丳丳丳
;丂丂丂丂丂丂丂 . 丂 丩丂 丮:8:.:.:.:.:.:.:.:.:.:.:.:.:>丩丂8丂r乚@丂l 丂 倴亴//丂/.亴亴
;丂丂丂丂丂丂 /.:.:..:... :..丂 丂 8丮 乚--乚丂丂丂丂8丂乢 乢蓙@丂丂丂丂 丂/ ./丵丵丵
;.丂丂丂丂丂 /.:.:.: :..:.:.:.:...:.. 丂丂8丂丂丂丂丂 丂 8丂丂 丷 丂 丂 丂 丂 丂/.:/
;丂丂丂丂丂 i:.:. :.:.:.:.:.:::.:::.:. :...丂丂 8丂 丂 丂 丂 8丂丂丂膜丂丂丂丂丂 /.:/
;丂丂丂丂丂 |:. :.:.: ::.:. :.:.:..:::. ::. .丂丂 8 丂 丂 丂 8丂 丂蓙@丮r劅劅劉./
;.丂丂丂丂丂 !:.:: :.: :.:.:.: :.:.:.: ::..::: . ..丂丂8乮(佨)乯8丂 丂 丂 j::::::::::::::?
;偪側傒偵棤榖偱偁傞偑丄偙偺暥復傪彂偄偰偄傞巹偼埲慜戝夛傪奐偒丄OP傪嶌偭偨偙偲偑偁傞丅
;偦偺偲偒偵弌応偟偰偄偨僋儕僗偺徯夘偱偁傠偆偙偲偐丄側傫偲"彈惈懁"偺攝抲偵抲偄偰偟傑偭偰偄傞丅
;偝傜偵墘弌柺偱傕丅嵟弶丄嶗偑晳偆側偐偱丄搒屆傗嶗丄嵅揤偝傫偲暲傋偰僋儕僗偑暯慠偲偄傞丅
;偦偺屻偺墘弌傕"抝側偺偵"嶗傪婎挷偲偟偨搷怓偱徯夘偝傟偰偍傝丄偙偺恖偳偆尒偰傕姩堘偄偟偰偄傑偡偁傝偑偲偆偛偞偄傑偟偨丅
;乧乧抦傜側偐偭偨傫偩傛偍両両丂偦傟傑偱偢偭偲僋儕僗傪彈惈偩偲巚偭偰偨傫偩傛偋両両
;嶌偭偰傞搑拞偩偭偨偐丄Part彮偟恑傔偨偁偲偐丅
;偼偭偲Wiki挱傔偰偨傜偦偺帠幚傪抦傝丄偁乕偁傗偭偪傑偭偨偤偲欔偔偟偐側偐偭偨丅
;墘弌偺堄恾偵婥偯偔憦柧側曽偑傕偟偄偰巜揈僐儊傪偟偰偄偨傜丄偁傗偆偔杔偑乽僔儑僞岲偒偺儂儌栰榊乿偲偄偆墭柤傪旐偣傜傟傞偲偙傠偩偭偨乧乧


;偙偙傑偱偼僆儘僠僠乕儉偺嶰恖丅丂岅傞偵偼傑偩堦恖偄傞丄僆儘僠巐揤墹嵟屻偺堦恖丅
;嶌拞偱偼廳梫側栶妱傪壥偨偟偨抝偱丄梕幫偺側偄峴摦偐傜乽傒傫側偺僩儔僂儅乿偱偁傞懚嵼丅
;傕偆尵傢偢偲傕偍暘偐傝偱偟傚偆丄戝惓媊僎乕僯僢僣両
;斵偺尨嶌撪偵偍偗傞桳擻偝傪帵偟偰偄傞偺偐丄晄嶌側KOF偱偼捒偟偔椉庤偱梋傞傎偳偺AA傪嶌惉偝傟偰偄傞丅
;偙偺傛偆側丄奿岲椙偄杚巘側偍偠偝傑偺棫偪奊傕懚嵼丅
;丂丂丂丂丂丂丂/ 乛//丂丂乛 ??
;丂丂丂丂丂 }V佢丂丂丂丂丂丂丂亙__
;丂丂丂丂丂_}{{/佨丂丂丂丂__僲{ 丂丂乢__僲
;丂丂丂丂丂蓒敧{樃j,j/丂__,丂 ,佨丷>乢
;丂丂丂丂丂 }丂丂丷 乢佨,傿亝廈廈ili儈=-,..亙佨丷
;丂丂丂丂丂<丷 乛丂 丂 {亝噈廈廈ilk乛:::::::::::::::::::::::>乗丂丄
;丂丂丂丂丂 毃 擉愃Г 丼噈i/> }廈:::::;::::::::::::::::::乛-丂丂 , Y__丂丂丂丂 /丩佨?:::::?儈丄
;丂丂丂丂丂 }/丂 ` 丮丳丂/漈j{/ 姞/:::/::::::::::::::::乮佨丂丩乛丂{乛丮丷佨V:::::乛::::::::::::::::::::丷
;丷丂丂丂丂/__丂丂丂丂丂 丂嘟{-'丼;{::::/::::/:::::::::/::::::丳}丂 乛 乚?丂}::::/:乛:::::::::::::::::::::::::::::::
;:::::乢丂 丂丂} `丂?'丂 j▉E丂丂 蒝::::/:::::::::::::::::::::::::|丂淭?' 僲/::>=- :::::::乢:::::::::::::::::::::',
;:::::::::::乢丂 ,j,,,鈺,,傿嘽"丩 /丂 丂丂丂V:::::乛::::::::::::::::恖丂丂丳丷 乛 丂丂 }丷:::::::}::::::::::::::::::::}
;:::::::::::::::::乢"77""丂丂丂/乛丂丂f丂丳丳 丷乕='嵥丷丂乢丂丂 乮 丷 >丂/:::::}::::;::::::::乛::::::僲
;:::::::::::乢::乕//| { {丳丂 丩丂乛::擖...丵__,,j}__丂丂丂丂丂丂丮丷丂丂 `皟C/亜<:::/:::乛::::::::乮
;::::::乢:::::丷//r| | |丂丂 丂乛::::::::::::::::::::::::::::::::丮亜丄 丂丂丂丂乯丂丂 丂乛丂丂 }/乛::::::::::::::::丷
;::::::::-=芛丩乯/ //丳丂 丩::::::::::::::::::::::::::::::::::乛丂丂 亜=x丂丂丂丂丂乮< 丷 ,.僀:::::_僲::::::::::::::::::乯
;:::::::::;?=渃'/ //丂丂/:Y佨)Ё::::::::::::::::::乛丂丂乛丂-乚={ 乢丂丂 丂丮 ?::丳::::::::::::::::::::::乛
;:::乛/丂丂 / //丂,傿嘟櫠渃'::::::::::::::::乛丂丂 /丂丂丂丂/伻丂 ?=-'僀佨丷:::::::::::::::::::乛
;乧乧偺傢傝偵丄桳柤側乽偍暿傟偱偡乿偑僨僼僅儖儊AA偵側偭偰傫偺偑偪傚偭偲偍傕偟傠偄丅
;偙傟埆栶偲偟偰巊偊傞傫偠傖側偄偐側丠丂偙傫偩偗條乆側僇僢僩偑偁傟偽偄偗傞傛偹丠


;偦傫側傢偗偱丄僎乕僯僢僣偺AA椡偼偐側傝崅偄丅庡恖岞偺嫗傪挻偊傞椡偱偁傞丅嫮偄丅
;乧乧偲偙偙偱廔傢傞偺偱偼側偔丅丂斵傜斵彈傜僆儘僠巐揤墹偺側偐偵丄偲傫偱傕側偄AA椡傪傕偭偨栆幰偑偄傞丅
;惓妋偵偼僎乕僯僢僣攈惗丄僎僯巕丅暿柤Wind丅
;嬃偔偙偲偵偦偺悢側傫偲20丅尨嶌偵偼偄側偄僽儕僗僉儍儔側偺偵丅擇師憂嶌偙偙偵偁傝丅
;斵彈偵偼側傫偲偙傫側AA伀傑偱懚嵼偡傞偺偩両両両傂傖偭偼偁偨傑傫偹偊偊偤両両両
;懌僐僉僼僃僠側壌傪桿偭偰傗偑傞両両丂偁傟旤媟弔楉偺儕僪儈柤偲偄偄嫀擭偐傜側傫傜惉挿偟偰偄偹偊両両

;丂丂丂丂丂丂丂丂丂丂丂丂丂丂丂丂丂丂丂乛///////////乢
;丂丂丂丂丂丂丂丂丂丂丂丂丂丂丂丂丂 乛//僀`丩佨丳丮丷.///丷
;丂丂丂丂丂 丂 丂 丂 丂 丂 丂 丂 丂 {//丩.,丂,'丂丂 :i :i丂丂R/伻
;丂丂丂丂丂丂丂 .丂?乗 @丂丂丂 i/,' .:'丂;! .:i摺 :ii!? :.丂i. 丷/i
;丂丂丂丂丂 乛丂丂丂丂丂丂丷丂丂丂? .:i丵i!_膢?i :i袻? !丂}/i
;丂丂丂丂, '丂 丷.丂丂丂丂丂丂?丂丂?!;.:.!ti贤え'ti僥襺:.?/!
;.丂丂丂/丂丂丂:.! 丂 丂 丂 丂 }丂丂蓙Eつ!`丳丂 ,丼 丳丩坎'/,!
;丂 丂 亴丂丂丂丂丂丂 丂 丂 瞾@ ///j:倝丮丼@ Q,丂丂膊:|//|
;丂 .'丂丂0丂丂 丂 丂 丂 丂 丩i^丳丮i:?S亞∵丯丩僀:i!:{ i!:l//|
;., 亴丂丂丂丂丂丂丂丂丂 .:丂 }丷///伻偟?丼丷:倝j櫴瞚!:! i::丷/!丂丂丂丂丂__.僿
;'丂丂丂丂丂丂丂丂丂丂丂.::. ,.劏'丩丳丩. . } 摺伾乺!l.!::丼i! 丼丳丮丷.丂丂/??.|丷
;!丂丂丂丂丂丂丂__丂/佨`'?L丳'乯: : : :/ ,采茡駚[-乚丼.乢//伻 ./ /丩偟,' ?,
;:丂丂..::丂丂_乛丂丮蓼? .乕'僲_僲 哀乚?/::?::::::::::丼!丳丩::.`丼.//,}_i _?/,`'/,僿.
;@::::丂櫴 ,丮丷丂'佨V丩_.僲: : : :傿::?::::.::;:::::::::::::::::::.;',::::::::::::::::M丷,!|///伻///?
;.丷 ::丂蓙T? .乕箒[' 丩: : : : : : : 伻:::::::丮::::::::::::::::::::::}i::::::::::::::::::::::::::丷.////乢/'伻
;.丂!丂/丂乗'丳丩: : : : : : : : : : : / i::蓼::::::::::::::::::::::::::彩::::::::::::::::::::::::::::::;/////,'乢/乼
;.丂{ /. : : : : : : : : : : : : : : : :丂/| .!::::丷::::::::::::_::丏?:!j 膜::::::::::::::::::::::::蓙_///佢=j,;
;丂,'/. : : : : : : : : : : : : : : :_ 僀丂丮皝M丷i:::擇::乚-:::::=櫩-:亜::丏丵::傿丩///乢/晙淭'丂丂丂 .
;. {,' . : : : : : : 乛'丩-乗L: : : : : : : :丮丷!擇=??乢j`?:?:刹::::::////////?i!!|__,傿? 丩
;丂! : : : : : : :丩: : : : : :/: : : : : : : : : : .丂膜:::::::::.亜撙縼r?:丼i::'::?////乛丮::乕?丩乛丩丂 丂 ,
;丂! : : : : : : : : : : : : ,': : : : : : : : : : : :.丂',皝_/_/丩?伾:::::.?:>_>.:' 丩::::::::::乛 乛丂丂 丵佢
;丂',.: : : : : : : : : : : : !: : : : : : : : : : : : :.丂!///////伻乕/破擇擇擇擇.._乛丂丂丂/////
;丂伻: : : : : : : : : :丂; : : : : : : : : : : : : i:.?/?//////亜丩 丂丂丂丂丂丂丂丂丂丂丂僲/////
;../ 伻: : : : : : : :丂,:': : : : : : : : : : : :. :l:|!//O//////'丩 丂丂丂丂丂丂丂丂丂丂丂丂乲{丯77777
;/ /.:::乀丆丵: 丏 ': : : : : : : : : : : : : : : ?////////:::'丩丂丂丂丂丂丂丂丂丂丂丂丂,亜'/////
;丂'::::::乛',: : : : : : : : : : : : : : : : : : : :./!///////僲丩丂丂丂丂丂丂丂丂丂. . . : : : :i///////
;/::乛丂丂丷 : : : : : : : : : : : : : : : : 乛/`////乛: . . . . . . . . . . : : : : : : : : : : ?//////
;僀丂丂丂丂丂丷 : : : : : : : : : : : : 乛/;///,僀丩.: : : : : : : : : : : : : : : : : : : : : :./////////
;丂丂丂丂丂丂丂丂亜? 丏丵 c'丩丮丷///'.: : : : : : : : : : : : : : : : : : : : : :r'//////////

;偙偺懠偵傕湌崨儎儞僨儗億乕僘偼摉慠偺傛偆偵搵嵹
;丂丂丂丂丂丂丂丂丂丂丂 / ///// 乛丂丂丂丂丂/丂丂丂丂丂丂丂丂丂丂 乢'////伻
;丂丂丂丂丂丂 丂 丂 丂 , /////乛,亴丂 丂 丂 ,亴丂 i丂丂丂丂 丷丂 丂 丂 丷'/// i
;丂丂丂丂 丂 丂 丂 丂 ,亴////丂/丂丂丂丂倝丂 亴丂丂|l丂 i丂丂丂 '. 丂 丂 丂 伾//倢i
;丂丂丂丂丂丂丂丂丂丂.丂////丂/丂丂丂 i丂|丂 丂丂丂 ||丂 |i丂丂丂? 丂 i:丂丂 伾/||
;丂丂 丂 丂 丂 丂 丂 |i'////丂 亴丂倝丂 |丂| 倝 |:丂丂丂貋@ ||_丵_/__'.丂 |.丂丂?伾||
;丂丂 丂 丂 丂 丂 丂 倢l'///丂 i丂 丂 |丂 |丂|,質丂丂 ,/ | /丩l:丂/丂丂i丂 |丂丂丂?嘫
;丂丂丂丂丂 丂 丂 丂 .倢'//丂丂|丂 丂 l __乛l丂 | 丂 /丂 / 乛}/丳 丮l丂 |丂i丂 :| 倝_乢
;丂丂 丂 丂 丂 丂 丂 i/ 僀 i丂|丂丂丂l丷 l丷!-乥 ./丂丂丂丂傿f愃鍳丷 蓙@?? |/li
;丂 丂 丂 丂 丂 丂 丂l//,| :l丂l丂 i丂 l丩繐l亗| /丂 丂 丂 丂 鐖焑,僲1: 伻並丄: 倢/,|
;丂丂 丂 丂 丂 丂 丂 |//,| :! 恖..乽丷:傿{乮'/,嵐'.-丄丂.:丂丂丂 丩丳丩丂蓛C丂並. 乢/,|
;丂丂 丂 丂 丂 丂 丂 |//,|:樃 . /|丂|乀-`丩 乛 乛) ?丂 丂 丂 r乗乗劊丄 乪.丂 乺|i
;丂丂 丂 丂 丂 丂 丂 l//瞾@:嘪 蓙@|乢_乛 乛乛丂丂丂丂丂 丂 丮丯亜丂 ',丂丂//||
;丂丂 丂 丂 丂 丂 丂 l//刹 乹丂I丂 {丳/丂/丂/丂丂丂丂_丵__,丂丂佨/丂丂 亴丂{//|i
;丂丂丂丂丂丂丂丂丂 il///,| 丂乢丂 丷,亴/丂,亴丂丂僲偙..僲丩丂乛丳丂丂丂丂丂?/||
;丂丂丂丂丂丂 丂 丂 |l///,| 丂:i丂丷. 乹 丂{丂/丷.丂丂丂 乕乚 ?/丂丂丂丂丂丂 乛l'//,||
;丂丂丂丂丂丂丂丂丂,?//,|丂i:蕘@ 丷丂 丂 丂 丂 乢丂 丂 丂 ,亴丂丂 乢 乛 :丂|//伻
;丂丂丂丂丂 丂 丂,亝嶰嶰嶰亞R丂乢丂 丂 丂 丂 丮丷. _ 瞾@丂 丂 丂 伾 /丂|///伻
;丂丂丂丂丂丂 乛茙O嶰嶰嶰?乢丂丂:i乢丂丂丂丂丂 乸-v{丂丂__,僲丩丳丳伾|////伻
;丂丂丂丂丂 /茙O嶰擇=乢茙O?丷丂| :僩@丂 丂 /劉I 丷槮:i:i:i:i:i:i:i:i:i:i:i嘫//// 伻
;丂丂丂丂丂/=茙O嶰嶰擇苼R嶰?乸 :|/:i:i:i丷 丂 /:i:i:|乥|:i乢 :i:i:i:i:i:i:i:i:i:i:i儾/////伻
;丂丂丂丂 乷=茙O嶰嶰嶰?-i嶰乮侟 / :i:i:i:i:i`挨):i:i:i|乥|:i:i:i:i乢:i:i:i:i:ix亝嶰乴嶰嶰嶰亞x?

;偝傜偵偼傗傞晇偵僈儞偮偗傞偙傫側AA傑偱傕偑丅
;丂丂丂丂丂丂丂丂丂丂丂_丵_丂_
;丂丂丂丂丂丂丂 -=僯僯僯僯苼E-
;.丂丂丂丂丂乛僯僯僯僯僯僯苼^丳乢
;丂丂丂丂 /僯僯僯僯僯僯僯/丂丂丂丂丂丷
;丂丂丂乛=亖破僯僯破?丂 /丂/ 乛丂丷丂丂丂丂-乗乗-丂 ?
;.丂乛僯亜=- 乗 -=<破/丂丂| /,傿丂丂丂 }乛丂丂丂丂丂丂丂丂丂丂乢
;乛苼^僯僯僯僯僯破倄i丂丂 |/僴|乛乛 i嶰丂,▉L丂乛丂丂 丂 丂 丂 丷
;僯苽墐j僯僯僯僯僯僯l !?丂 | 槯偉俈 傿/嶰?亙丂丂丂丂丂丂丂丂丂丂',
;苾j|僯僯僯僯僯僯僯l丮丂 乢|丂 丮僀丂 /嶰丂丂丂丂 }丂丂丂 丂 丂 丂 丂 |
;亞搇=破僯僯僯僯僯!丂丂丂丂__丂丂乺 /丂丂,丵丵_僲丂丂丂丂丂丂丂丂丂 亴
;破績j僯僯僯僯僯僯|丵丂丂'皠２ 瞾T-瞾@__ 倶乚乢丂丂 丂 丂 丂 丂 /
;.?破乛:::::丳丷破僯!::倰槩 乚-傿/? |丂丂 伾/丩 /乛丂丂丂丂丂丂丂 /
;儝苼^/:::::::::::::::::l僯苾挙:::{ 丂 丂丂丂丂乀丂丂 乢?丂丂丂丂丂丂丂丂丂乢
;亗'::::/::::::::::::::::::::|苼^O儈o丂 丂丂丂丂丂丷@丂丂丂丂丂丂 丂 丂 丂 丂 丂 丷

;偙傫側AA偑偁傞偭偰偙偲偼偳偭偐偱庡栶媺偺栶妱傪壥偨偟偨乧乧偭偰偙偲側傫偩傠偆偗偳尒偨偙偲偑側偄傫偩側偁丅
;扤偐僎僯巕僸儘僀儞偱慺惏傜偟偄傗傞晇僗儗偑偁偭偨傜惀旕嫵偊偰傎偟偄偱偡丅
;偦偺曽偵偼嬥堦晻偺戙傢傝偵側傫傜偐偺宍偱偍楃傪乧乧(尵偆偩偗側傜僞僟棟榑)

;偪側傒偵斵傜偑暅妶偝偣傛偆偲偟偰偄傞僆儘僠偼3枃丅僋儕僗埲忋僎僯枹枮丅
;偄偪偍偆側傫偲偐儃僗偺懱嵸偼曐偰偨偺偐側丄壖偵傕儃僗側傜傕偆彮偟偁偭偰傕傛偐婥傕偡傞偑乧乧
;杮島偼偙偙傑偱偱昅傪抲偔偙偲偵偟傑偡丅
;偮偄僎僯巕偑壜垽偡偓偰偖偄偖偄彂偒楢偹偰偄偭偰偟傑偭偨屵慜嶰帪丅

;偍 偟 傑 偄.











;=================================================================================
[state ,僨僶僢僌梡]
type=varset
trigger1=1
var(40)=0
;僎乕僕旕昞帵


;=================================================================================
[state ]
type=explod
triggerall= stateno<20001
triggerall=!matchover
triggerall=roundstate!=[0,1]
triggerall=movetype!=H
trigger1=gametime%60=0
trigger2=gametime%60=10
anim=6760
id=6760
pos=5,-70
random=30,60
postype=p1
scale=.5,.5
bindtime=1
sprpriority=10000
ontop=0
removetime=-2
ownpal=1
supermovetime=2147483647
pausemovetime=2147483647
ignorehitpause=1
[state ]
type=playsnd
triggerall= stateno<20001
triggerall=!matchover
triggerall=stateno!=[180,199]
triggerall=roundstate!=[0,1]
triggerall=movetype!=H
trigger1=gametime%180=0
trigger2=gametime%180=10
value=8182,0
ignorehitpause=1
;=================================================================================

;=================================================================================
[state ]
type=selfstate
trigger1=ishelper(145)
value=145
ctrl=0
ignorehitpause=1
;=================================================================================
[state ]
type=poweradd
triggerall=palno=[6,12]
trigger1=gethitvar(damage)
value=floor(gethitvar(damage))
ignorehitpause=1
[state ];僎僕儅僔
type=poweradd
triggerall=var(53)
triggerall=var(47)>0
triggerall=var(46) || (palno>=8)
triggerall=stateno != [20000,20901]
trigger1=gametime%10=0
value=var(47)
ignorehitpause=1
[state -2]
type=poweradd
trigger1=(palno>=9)
trigger2=var(46) && (var(47)=-1)
value=powermax
ignorehitpause=1
;=================================================================================
[state ]
type=helper
triggerall=roundstate!=[3,4]
trigger1=!numhelper(145)
trigger1=palno=12
helpertype=player
name="Dummy"
stateno=145
id=145
pos=0,0
postype=p1
size.xscale=1.0
size.yscale=1.0
keyctrl=0
ownpal=1
;=================================================================================
;=================================================================================
[state ]
type=varset
trigger1=var(51)=0
trigger2=var(57)=0
trigger3=var(57)=601
var(51)=enemynear,life
ignorehitpause=1
[state ]
type=varset
triggerall=roundstate=[0,1]
trigger1=var(58)
var(58)=0
ignorehitpause=1
[state ]
type=varset
triggerall=roundstate=[0,1]
trigger1=var(57)
var(57)=0
ignorehitpause=1
[state a]
type=varset
trigger1=var(58)>=1
trigger1=var(52)=0
var(52)=600
ignorehitpause=1
[state a]
type=varset
trigger1=var(52)<0
trigger2=var(58)=0
var(52)=0
ignorehitpause=1
[state a]
type=varset
triggerall=roundstate!=[3,4]
trigger1=var(52)<=1
var(58)=0
ignorehitpause=1
[state a]
type=varadd
trigger1=var(58)>=1
var(52)=-1
ignorehitpause=1
;[state a]
;type=varset
;triggerall=roundstate=2
;triggerall=palno=[10,12]
;triggerall=(var(51)<enemynear,life) || (enemynear,life=enemynear,lifemax)
;trigger1=var(57)>=600
;trigger1=var(55):=1
;var(58)=1
;ignorehitpause=1
;[state a]
;type=varadd
;triggerall=palno=[10,12]
;triggerall=var(53)
;trigger1=RoundState<3
;trigger1=var(57)<610
;var(57)=1
;ignorehitpause=1
;[state a]
;type=varset
;trigger1=var(58)>=1
;var(57)=0
;ignorehitpause=1
;=================================================================================
;=================================================================================
[state ]
type=explod
trigger1=var(55)
anim=7805
id=7805
pos=10,0
postype=p1
scale=1.25,1.25
bindtime=1
sprpriority=21474836
ontop=0
removetime=-2
ownpal=1
ignorehitpause=1
[state ]
type=explod
trigger1=var(55)
anim=556
id=556
pos=0,-20
postype=p1
scale=1,1
bindtime=1
sprpriority=2147483647
ontop=0
removetime=-2
ownpal=1
ignorehitpause=1
[state ]
type=explod
trigger1=var(55)
anim=666
pos=0,0
trans=add
postype=p1
scale=2,2
bindtime=1
sprpriority=2147483647
ontop=0
removetime=-2
ownpal=1
ignorehitpause=1
[state ]
type=envshake
trigger1=var(55)
time=30
freq=60
ampl=-21
phase=100
ignorehitpause=1
[state ]
type=envcolor
trigger1=var(55)
time=3
value=156,0,0
ignorehitpause=1
[state ]
type=playsnd
trigger1=var(55)
value=2552,0
ignorehitpause=1
[state ]
type=playsnd
trigger1=var(55)
value=69,0
ignorehitpause=1
[state ]
type=playsnd
trigger1=var(55)
value=8181,0
ignorehitpause=1
[state ]
type=playsnd
trigger1=var(55)
value=8182,0
ignorehitpause=1
[state ]
type=playsnd
trigger1=var(55)
trigger1=var(55):=0 || 1
value=8182,1
ignorehitpause=1
;=================================================================================

;=================================================================================
;儁僫儖僥傿乕儌乕僪
[state ]
type=bgpalfx
trigger1=var(58)
time=3
add=-120,-120,-120
ignorehitpause=1
[State 700,];揰柵
type=palfx
triggerall=!isHelper
trigger1=var(58)>=1
time=2
add=30,0,0
mul=255,125,125
ignorehitpause=1
[State 1210,1];巆憸
type=AfterImage
triggerall= stateno<20001
triggerall=var(58)>=1
triggerall=!ishelper
trigger1=Time%18=0
trans=sub
time=28
timegap        = 1
framegap       = 1
length         = 40
palbright      = 150,150,150
PalContrast    = 150,150,150
paladd         = 0,0,0
palmul         = .75,.75,.75
IgnoreHitPause=1
[State -2]
Type=AssertSpecial
triggerall=!ishelper
triggerall=var(58)>=1
triggerall=enemynear,alive
triggerall=enemynear,life>=1&&enemynear,lifemax>0
trigger1=1
flag=noko
ignorehitpause=1
[State a]
type=assertspecial
triggerall=var(58)>=1
triggerall=!ishelper
trigger1=var(56)!=gametime*255
trigger2=(gethitvar(fall.damage) !=0)&&(stateno=[5000,5150])
flag=noko
ignorehitpause=1
[State b]
type=lifeset
triggerall=var(58)>=1
trigger1=!ishelper
value=lifemax
ignorehitpause=1
;=================================================================================
;=================================================================================
[State ]
Type=Null
triggerall=stateno!=[0,199]
Trigger1=Var(37)!=StateNo
Trigger1=1||Var(38):=Var(37)
Trigger1=Var(37):=StateNo
Ignorehitpause=1
[State -2:Debug]
type=DisplayToClipboard
trigger1=1
text="x=%f,power=%d.\n"
params=p2bodydist x,power
[State -2:Debug]
type=AppendToClipboard
trigger1=1
text="v59=%d "
params=var(59)
;=================================================================================
;---------------------------------------------------------------------------
[state -2,a];塃岦偒愝掕
type=varset
trigger1=var(10)=0
trigger1=facing=1
v=10
value=1
[state -2,a];嵍岦偒愝掕
type=varset
trigger1=var(10)=0
trigger1=facing=-1
v=10
value=2
[State -2,1];僟僢僔儏偺壒巭傔
type=stopSnd
trigger1=stateno!=100
trigger1=stateno!=[20000,22204]
channel=1
[State -2,4];僴僀僕儍儞僾敾掕
type=varadd
trigger1=1
v=15
value=-1
[State -2,1];僔僃儖儈乕傾僢僋僗丒壒巭傔
type=stopSnd
trigger1=stateno!=1350&&stateno!=1400
channel=7
[State -2,1];挧敪壒巭傔
type=stopSnd
trigger1=stateno!=199
channel=9
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;::::::::僷儗僢僩偵傛傞儌乕僪敾暿(1偱僆儘僠)
[state -2,a]
type=varset
triggerall=stateno=5900
trigger1=palno=1
trigger2=palno=2
trigger3=palno=3
trigger4=palno=4
trigger5=palno=5
trigger6=palno=6
v=1
value=0
[state -2,a]
type=varset
triggerall=stateno=5900
trigger1=palno=7
trigger2=palno=8
trigger3=palno=9
trigger4=palno=10
trigger5=palno=11
trigger6=palno=12
v=1
value=0
[state -2,a]
type=varset
trigger1=var(24)=1
v=1
value=0
[state -2,a]
type=varset
trigger1=var(24)=2
v=1
value=1
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;::::::::僇僂儞僞乕僸僢僩愝掕
[state a]
type=varset
trigger1=enemynear,movetype=A
v=8
value=2
ignorehitpause=1
[State a]
type=EnvColor
triggerall=stateno!=[1250,1299]
trigger1=movehit=1
trigger1=var(8)=1
persistent=0
ignorehitpause=1
time=1
value=255,255,255
under=2
[state a]
type=varset
trigger1=enemynear,movetype!=A
v=8
value=0
ignorehitpause=1
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;::::::::僗儘乕張棟
[state -2,a];僗儘乕張棟傪偡傞帪娫偺僇僂儞僩
type=varadd
trigger1=1
persistent=0
ignorehitpause=1
v=4
value=-1
[state -2,a];僗儘乕張棟
type=pause
trigger1=var(4)>=1
trigger1=gametime%2
persistent=0
ignorehitpause=1
time=1
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;僟儊乕僕帪偺僄僼僃僋僩丄僒僂儞僪偺徚嫀
;//////////////////////////////////////////////////////////////////////////
;僟僢僔儏廔椆帪偺僄僼僃僋僩偺徚嫀
[State 1];僽儗僗儗僢僩偺僄僼僃僋僩徚嫀丄庡偵捠忢摦嶌
type=removeexplod
trigger1=MoveType=H&&stateno!=[120,159]
ID=3000
;僟儊乕僕帪偺巆憸偺徚嫀
[state a];
type=afterimagetime
trigger1=MoveType=H
time=0
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;//////////////////////////////////////////////////////////////////////////
;僟儊乕僕儃僀僗
[state a]
type=PlaySnd
triggerall=stateno=5000||stateno=5010||stateno=5020
triggerall=time=0
triggerall=alive=1
trigger1=GetHitVar(animtype)=0
value=5000,0+(random%4)
persistent=0
[state a]
type=PlaySnd
triggerall=stateno=5000||stateno=5010||stateno=5020
triggerall=time=0
triggerall=alive=1
trigger1=GetHitVar(animtype)=1
value=5001,0+(random%4)
persistent=0
[state a]
type=PlaySnd
triggerall=stateno=5000||stateno=5010||stateno=5020
triggerall=time=0
triggerall=alive=1
trigger1=GetHitVar(animtype)=2
trigger2=GetHitVar(animtype)=3
trigger3=GetHitVar(animtype)=4
value=5002,0+(random%4)
persistent=0
;///////////////////////////////////////////////////////////////////////
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;僐儞儃偵傛傞僟儊乕僕曗惓
;//////////////////////////////////////////////////////////////////////////
;=================================================================================
;僱僶儕曗惓娭學
[state a];戞堦抜奒
type=varset
trigger1=enemynear,life>=400
v=26
value=0
[state a];戞擇抜奒
type=varset
trigger1=enemynear,life<=399&&enemynear,life>=150
v=26
value=1
[state a];戞嶰抜奒
type=varset
trigger1=enemynear,life<=149
v=26
value=2
[state a];MAX敪摦曗惓
type=varset
trigger1=var(20)=0
fvar(5)=1.0
[state a];MAX敪摦曗惓
type=varset
trigger1=var(20)>0
fvar(5)=0.9
[state a]
type=varset
trigger1=1
fvar(0)=1.0
[state a]
type=varset
trigger1=1
fvar(2)=0.0
[state a]
type=varset
trigger1=var(14)>=1
fvar(2)=0.1
[state a];曗惓
type=varset
trigger1=enemynear,movetype=H
trigger1=enemynear,gethitvar(hitcount)>1
fvar(0)=((100.0-(25.0+(enemynear,gethitvar(hitcount)/2.0)*5.0))/100.0)
[state a];曗惓
type=varset
trigger1=fvar(0)<=0
fvar(0)=0.01
[state a]
type=attackmulset
trigger1=var(26)=0
value=(fvar(0)+fvar(2))*fvar(5)
[state a]
type=attackmulset
trigger1=var(26)=1
value=((fvar(0)+fvar(2))*0.75)*fvar(5)
[state a]
type=attackmulset
trigger1=var(26)=2
value=((fvar(0)+fvar(2))*0.5)*fvar(5)
[state a]
type=DefenceMulSet
trigger1=var(14)=1
value=1.0
[State a]
type=AssertSpecial
trigger1=RoundState=[0,1]
trigger2=win
trigger2=RoundState=[3,4]
trigger3=stateno=2622
flag=nobardisplay
ignorehitpause=1
;=================================================================================
;摿庩儊僢僙乕僕
[state a];僆儘僠巐揤墹
type=varset
triggerall=var(1)=0
trigger1=p2name="yashiro"||p4name="yashiro"
trigger2=p2name="Yashiro Nanakase" || p4name = "Yashiro Nanakase"
trigger3=p2name="orochiyashiro"||p4name="orochiyashiro"
trigger4=p2name="orochi yashiro" || p4name = "orochi yashiro"
trigger5=p2name="orochi_yashiro" || p4name = "orochi_yashiro"
trigger6=p2name="chris"||p4name="chris"
trigger7=p2name="orochichris"||p4name="orochichris"
trigger8=p2name="orochi chris"||p4name="orochi chris"
trigger9=p2name="orochi_chris"||p4name="orochi_chris"
trigger10=p2name="goenitz"||p4name="goenitz"
v=9
value=3
[state a];曄側奿岲
type=varset
triggerall=var(1)=0
trigger1=p2name="Mai"||p4name="Mai"
trigger2=p2name="Mai Shiranui"||p4name="Mai Shiranui"
trigger3=p2name="Angel"||p4name="Angel"
trigger4=p2name="Clone-Angel"||p4name="Clone-Angel"
trigger5=p2name="Felicia"||p4name="Felicia"
trigger6=p2name="Angelia Avallone" || p4name = "Angelia Avallone"
trigger7=p2name="Cassandora"||p4name="Cassandora"
trigger8=p2name="Gill"||p4name="Gill"
trigger9=p2name="Urien"||p4name="Urien"
trigger10=p2name="Karate Kenji"||p4name="Karate Kenji"
trigger11=p2name="Krizalid"||p4name="Krizalid"
v=9
value=4
[state a];儅僠儏傾丄僶僀僗
type=varset
triggerall=var(1)=0
trigger1=p2name="Mature"||p4name="Mature"
trigger2=p2name="Vice"||p4name="Vice"
v=9
value=5
[state a];僆儘僠
type=varset
trigger1=p2name="orochi"||p4name="orochi"
v=9
value=6
[state a];僆儘僠敧寙廤
type=varset
triggerall=var(1)=1
trigger1=p2name="yashiro"||p4name="yashiro"
trigger2=p2name="Yashiro Nanakase" || p4name = "Yashiro Nanakase"
trigger3=p2name="orochiyashiro"||p4name="orochiyashiro"
trigger4=p2name="orochi yashiro" || p4name = "orochi yashiro"
trigger5=p2name="orochi_yashiro" || p4name = "orochi_yashiro"
trigger6=p2name="chris"||p4name="chris"
trigger7=p2name="orochichris"||p4name="orochichris"
trigger8=p2name="orochi chris"||p4name="orochi chris"
trigger9=p2name="orochi_chris"||p4name="orochi_chris"
trigger10=p2name="goenitz"||p4name="goenitz"
trigger11=p2name="reas"||p4name="reas"
trigger12=p2name="Mature"||p4name="Mature"
trigger13=p2name="Vice"||p4name="Vice"
trigger14=p2Name="yamazaki"||P4Name="yamazaki"
trigger15=p2Name="Violent Yamazaki" || P4Name = "Violent Yamazaki"
trigger16=p2Name="Gaibel"||P4Name="Gaibel"
v=9
value=23
[state a];嶰庬偺恄婍
type=varset
triggerall=var(1)=1
trigger1=p2name="kyo"||p4name="kyo"
trigger2=p2name="kyo kusanagi"||p4name="kyo kusanagi"
trigger3=p2name="iori"||p4name="iori"
trigger4=p2name="iori yagami"||p4name="iori yagami"
trigger5=p2name="orochi iori"||p4name="orochi iori"
trigger6=p2name="iori Bogard"||p4name="iori Bogard"
trigger7=p2name="Yagami Iori"||p4name="Yagami Iori"
trigger8=p2name="d-Yagami"||p4name="d-Yagami"
trigger9=p2name="Chizuru"||p4name="Chizuru"
trigger10=p2name="Chizuru Kagura" || p4name = "Chizuru Kagura"
trigger11=p2name="Chizuru&Maki"||p4name="Chizuru&Maki"
v=9
value=24
[state a];惓媊
type=varset
triggerall=var(1)=1
trigger1=p2name="Kim"||p4name="Kim"
trigger2=p2name="Kim Kaphwan"||p4name="Kim Kaphwan"
trigger3=p2name="Kim Jae Hoon"||p4name="Kim Jae Hoon"
trigger4=p2name="Athena Asamiya" || p4name = "Athena Asamiya"
trigger5=p2name="Athena"||p4name="Athena"
trigger6=p2name="Maylee"||p4name="Maylee"
trigger7=p2name="May lee"||p4name="May lee"
trigger8=p2name="justice"||p4name="justice"
trigger9=p2name="enya"||p4name="enya"
v=9
value=24
[state a];MAX2
type=varset
trigger1=var(9)!=23
trigger1=winko
trigger1=stateno=[2600,2699]
v=25
value=1



;------------彑棙僀儞僩儘帪
[state a];幮
type=varset
trigger1=p2name="yashiro"||p4name="yashiro"
trigger2=p2name="Yashiro Nanakase" || p4name = "Yashiro Nanakase"
trigger3=p2name="orochiyashiro"||p4name="orochiyashiro"
trigger4=p2name="orochi yashiro" || p4name = "orochi yashiro"
trigger5=p2name="orochi_yashiro" || p4name = "orochi_yashiro"
v=27
value=191
[state a];僋儕僗
type=varset
trigger1=p2name="chris"||p4name="chris"
trigger2=p2name="orochichris"||p4name="orochichris"
trigger3=p2name="orochi chris"||p4name="orochi chris"
trigger4=p2name="orochi_chris"||p4name="orochi_chris"
v=27
value=191
[state a];抝慜
type=varset
trigger1=p2name="kyo"||p4name="kyo"
trigger2=p2name="kyo kusanagi"||p4name="kyo kusanagi"
trigger3=p2name="iori"||p4name="iori"
trigger4=p2name="iori yagami"||p4name="iori yagami"
trigger5=p2name="orochi iori"||p4name="orochi iori"
trigger6=p2name="iori Bogard"||p4name="iori Bogard"
trigger7=p2name="Yagami Iori"||p4name="Yagami Iori"
trigger8=p2name="d-Yagami"||p4name="d-Yagami"
trigger9=p2name="ryo"||p4name="ryo"
trigger10=p2name="ryo sakazaki"||p4name="ryo sakazaki"
trigger11=p2name="RyuKoAct"||p4name="RyuKoAct"
trigger12=p2name="Robert Garcia"||p4name="Robert Garcia"
trigger13=p2name="Robert"||p4name="Robert"
trigger14=p2name="Terry"||p4name="Terry"
trigger15=p2name="Terry Bogard"||p4name="Terry Bogard"
trigger16=p2name="Andy"||p4name="Andy"
trigger17=p2name="Andy Bogard"||p4name="Andy Bogard"
trigger18=p2name="Kim"||p4name="Kim"
trigger19=p2name="Kim Kaphwan"||p4name="Kim Kaphwan"
trigger20=p2name="K'"||p4name="K'"
trigger21=p2name="AK'"||p4name="AK'"
trigger22=p2name="Nao"||p4name="Nao"
trigger23=p2name="kriz"||p4name="kriz"
trigger24=p2name="KUSANAGI"||p4name="KUSANAGI"
trigger25=p2name="clonekyo"||p4name="clonekyo"
trigger26=p2name="clone kyo"||p4name="clone kyo"
trigger27=p2name="kyo-1"||p4name="kyo-1"
trigger28=p2name="kyo-2"||p4name="kyo-2"
trigger29=p2name="Krizalid"||p4name="Krizalid"
trigger30=p2name="Nameless"||p4name="Nameless"
trigger31=p2name="DuoLon"||p4name="DuoLon"
trigger32=p2name="Shen Woo"||p4name="Shen Woo"
trigger33=p2name="Shen"||p4name="Shen"
trigger34=p2name="Adel"||p4name="Adel"
trigger35=p2name="Adelheid"||p4name="Adelheid"
trigger36=p2name="O-Adel"||p4name="O-Adel"
trigger37=p2name="K-BLOOD"||p4name="K-BLOOD"
trigger38=p2name="Rock"||p4name="Rock"
trigger39=p2name="Rock Howard"||p4name="Rock Howard"
trigger40=p2name="Gato"||p4name="Gato"
trigger41=p2name="Billy"||p4name="Billy"
trigger42=p2name="Billy Kane"||p4name="Billy Kane"
trigger43=p2name="Eiji"||p4name="Eiji"
trigger44=p2name="Eiji Kisaragi"||p4name="Eiji Kisaragi"
trigger45=p2name="Alfred"||p4name="Alfred"
trigger46=p2name="Kim Dong Hwan"||p4name="Kim Dong Hwan"
trigger47=p2name="Kim Jae Hoon"||p4name="Kim Jae Hoon"
trigger48=p2name="Kain"||p4name="Kain"
trigger49=p2name="Syo Kirishima"||p4name="Syo Kirishima"
trigger50=p2name="Kaede"||p4name="Kaede"
trigger51=p2name="Moriya"||p4name="Moriya"
trigger52=p2name="Moriya Minakata" || p4name = "Moriya Minakata"
trigger53=p2name="Setsuna"||p4name="Setsuna"
trigger54=p2name="Yuki"||p4name="Yuki"
trigger55=p2name="Hanzo"||p4name="Hanzo"
trigger56=p2name="Asura"||p4name="Asura"
trigger57=p2name="Ryu"||p4name="Ryu"
trigger58=p2name="Ken"||p4name="Ken"
trigger59=p2name="Guy"||p4name="Guy"
trigger60=p2name="Nash"||p4name="Nash"
trigger61=p2name="Alex"||p4name="Alex"
trigger62=p2name="Remy"||p4name="Remy"
trigger63=p2name="Demitri"||p4name="Demitri"
trigger64=p2name="Demitri Maximoff" || p4name = "Demitri Maximoff"
trigger65=p2name="Gallon"||p4name="Gallon"
trigger65=p2name="Jon Talbain"||p4name="Jon Talbain"
trigger66=p2name="Jedah"||p4name="Jedah"
trigger67=p2name="Jedah Dohma"||p4name="Jedah Dohma"
trigger68=p2name="jotaro"||p4name="jotaro"
trigger69=p2name="Kujo Jotaro"||p4name="Kujo Jotaro"
trigger70=p2name="Dio"||p4name="Dio"
trigger71=p2name="Kyosuke"||p4name="Kyosuke"
trigger72=p2name="cvskyosuke"||p4name="cvskyosuke"
trigger73=p2name="Kyosuke Kagami" || p4name = "Kyosuke Kagami"
trigger74=p2name="Shinnosuke Kagami" || p4name = "Shinnosuke Kagami"
trigger75=p2name="William Lewis"||p4name="William Lewis"
trigger76=p2name="Jimmy"||p4name="Jimmy"
trigger77=p2name="James Lewis"||p4name="James Lewis"
trigger78=p2name="Pepe"||p4name="Pepe"
trigger79=p2name="Reiji"||p4name="Reiji"
trigger80=p2name="Keith Wayne"||p4name="Keith Wayne"
trigger81=p2name="Strider_Hiryu"||p4name="Strider_Hiryu"
trigger82=p2name="Strider Hiryu"||p4name="Strider Hiryu"
trigger83=p2name="Hiryu"||p4name="Hiryu"
trigger84=p2name="Strider Hien"||p4name="Strider Hien"
trigger85=p2name="Hien"||p4name="Hien"
trigger86=p2name="Benimaru"||p4name="Benimaru"
trigger87=p2name="Benimaru Nikaido" || p4name = "Benimaru Nikaido"
trigger88=p2name="cvsbenimaru"||p4name="cvsbenimaru"
trigger89=p2name="cvscommando"||p4name="cvscommando"
trigger90=p2name="cvsguy"||p4name="cvsguy"
trigger91=p2name="cvshayato"||p4name="cvshayato"
trigger92=p2name="cvsken"||p4name="cvsken"
trigger93=p2name="cvskim"||p4name="cvskim"
trigger94=p2name="cvskyo"||p4name="cvskyo"
trigger95=p2name="cvsrock"||p4name="cvsrock"
trigger96=p2name="cvsryo"||p4name="cvsryo"
trigger97=p2name="cvsryu"||p4name="cvsryu"
trigger98=p2name="cvsterry"||p4name="cvsterry"
trigger99=p2name="Kenshiro"||p4name="Kenshiro"
trigger100=p2name="Rei"||p4name="Rei"
trigger101=p2name="Toki"||p4name="Toki"
trigger102=p2name="Karate Kenji"||p4name="Karate Kenji"
trigger103=p2name="Jhun Hoon"||p4name="Jhun Hoon"
trigger104=p2name="ROUGA"||p4name="ROUGA"
trigger105=p2name="Rouga zanma"||p4name="Rouga zanma"
trigger106=p2name="burai yamamoto" || p4name = "burai yamamoto"
trigger107=p2name="REN"||p4name="REN"
trigger108=p2name="8th Mad Dog"||p4name="8th Mad Dog"
trigger109=p2name="Haiji Mibu"||p4name="Haiji Mibu"
trigger110=p2name="Y'"||p4name="Y'"
trigger111=p2name="sol"||p4name="sol"
trigger112=p2name="order-Sol=Badguy" || p4name = "order-Sol=Badguy"
trigger113=p2name="ky"||p4name="ky"
trigger114=p2name="johnny"||p4name="johnny"
trigger115=p2name="AXL"||p4name="AXL"
trigger116=p2name="chipp"||p4name="chipp"
v=27
value=191
;=================================================================================
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;MAX
;//////////////////////////////////////////////////////////////////////////
;=================================================================================
;---------------------[曄悢]
[state -2,1];MAX敪摦帪偺僷儚乕僙僢僩
type=varset
trigger1=var(20)=900
v=21
value=power
[state a]
type=varadd
trigger1=var(20)>0
v=20
value=-1
[state a]
type=varset
trigger1=var(20)<0
v=20
value=0
[state a]
type=powerset
trigger1=var(20)>0
trigger1=stateno!=[2000,2999]
value=var(21)
ignorehitpause=1
;---------------------[墘弌]
[State a];揰柵
type=palfx
trigger1=var(20)>0
trigger1=gametime%2=0
time=1
add=126,126,0
color=1
ignorehitpause=1
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;僎乕僕
;//////////////////////////////////////////////////////////////////////////
;=================================================================================
[state a];俲俷墘弌
type=Helper
trigger1=numhelper(8010)=0
id=8010
name="g"
sprpriority=1
pos=0,0
postype=p1
stateno=8010
helpertype=normal
pausemovetime=999999
keyctrl=1
ownpal=1
;---------------------[僿儖僷乕]
[state a];僎乕僕
type=Helper
triggerall=!var(40)
triggerall=roundstate!=0
trigger1=stateno!=[190,199]
trigger1=numhelper(7500)=0
id=7500
name="g"
sprpriority=1
pos=0,0
postype=p1
stateno=7500
helpertype=normal
pausemovetime=99999999
supermovetime=99999999
keyctrl=0
ownpal=1
;=================================================================================
[state ]
type=varset
trigger1=roundstate=[0,1]
var(53)=0
ignorehitpause=1
[state ,帋崌奐巒僼儔僌]
type=varset
triggerall=!ishelper
triggerall=var(53)=0
triggerall=roundstate=2
trigger1=ctrl
trigger2=movetype!=i;曐尟
var(53)=1
ignorehitpause=1
[State -2]
type=notHitBy
trigger1=palno=12
value=,AP
time=-1
ignorehitpause=1
[state ]
type=nothitby
triggerall=palno=[7,12]
trigger1=!var(53)
trigger2=roundstate!=2
time=10
value=sca,aa,ap,at
ignorehitpause=1
[State -2];
type=notHitBy
triggerall=palno=[11,12]
triggerall=movetype=A
triggerall=stateno!=2606
trigger1=time=[0,1]
time=10
value=SCA,AA,AP,AT
ignorehitpause=1
[State -2];
type=notHitBy
trigger1=var(58)>=1
trigger1=1
time=2
value=SCA,AA,AP,AT
ignorehitpause=1
;=================================================================================
[state ]
type=selfstate
triggerall=!ishelper
triggerall=roundstate=2
triggerall=alive
triggerall=palno=[9,12]
trigger1=time>=400 && movetype = H
trigger2=stateno!=[5200,5299]
trigger2=GetHitVar(Damage) || MoveType=H
trigger2=GetHitVar(HitCount) >=50
value=150
ctrl=0
ignorehitpause=1
[state c]
type=selfstate
triggerall=var(58)>=1
triggerall=!ishelper
trigger1=var(56)!=gametime*255
value=151*(statetype=S||statetype=L)+153*(statetype=C)+155*(statetype=A)
ctrl=0
ignorehitpause=1
;=================================================================================
[State -3]
Type = VarSet
TriggerAll = TeamMode = Single || TeamMode = Simul
Trigger1 = Lose
trigger2 = roundno >= 4
var(36) = 1
persistent = 256
ignorehitpause = 1
;=================================================================================
;[statedef -2]
;Type = VarSet 
;triggerall = var(35) >= 1
;TriggerAll = RoundState = 2 
;triggerall = !numtarget
;Trigger1 = 1
;var(35) = 0
;=================================================================================
;-[分隔线]--------------------------------------------------------------------
[state -2,Dusk helper投]
type = Helper
triggerall = Var(59) = 1
triggerall = statetype != A;自己不在空中
triggerall = statetype != L;自己不在倒地状态
triggerall = movetype != H;自己不在受击状态
triggerall = movetype != A;自己不在攻击状态
triggerall = enemynear,statetype != A;对方不在空中
triggerall = enemynear,statetype != L;对方不在倒地状态
triggerall = enemynear,movetype != H;对方不在受击状态
triggerall = roundstate = 2;在对局中
triggerall = alive != 0;自己活着
triggerall = P2dist X = [0,80];攻击距离计算
triggerall = !NumHelper(2336);没有helper
trigger1 = ctrl || stateno = 18 || stateno = 19 || stateno = 52 || stateno = 53 || stateno = 108 || stateno = 101;允许的状态
trigger2 = stateno = 120 || stateno = 130 || stateno = 131 || stateno = 140;允许的状态
trigger3 = stateno = 700 || stateno = 701;允许的状态
ID = 2336
name = "2336"
pos = 0,0
postype = P1
stateno = 2336
helpertype = Normal
keyctrl = 0
ignorehitpause = 1