; 僒儞僾儖僉儍儔僋僞乕亀傾僇僣僉亁偺僐儞僗僞儞僣偲僗僥乕僩偺僼傽僀儖偱偡丅
;===========================================================================
; 僐儞僗僞儞僣乮掕悢乯
;===========================================================================
;---------------------------------------------------------------------------
; 偙偙偑僉儍儔偺怱憻晹偲傕尵偆傋偒応強丅
; 侾僉儍儔扨埵偺儔僀僼傗戝偒偝側偳丄昗弨偺僗僥乕僞僗傪梊傔寛傔偰偍偔晹暘丅
; 偙偺僐乕僫乕帺懱徣棯弌棃傑偣傫丅
;---------------------------------------------------------------------------
; 婎杮僨乕僞
;---------------------------------------------------------------------------
[Data]
life              = 1000   ;儔僀僼乮懱椡僎乕僕乯嵟戝抣
power             = 3000   ;僷儚乕僎乕僕嵟戝抣乮僆僾僔儑儞丒僨僼僅儖僩偼3000=Lv.3乯
attack            = 100    ;峌寕椡乮僨僼僅儖僩偼侾侽侽亾乯
defence           = 85    ;杊屼椡乮僨僼僅儖僩偼侾侽侽亾乯
fall.defence_up   = 50     ;墶偵搢傟偰偄傞帪偵堦帪揑偵壛偊傞杊屼椡乮亾乯
liedown.time      = 60     ;墶偵搢傟偰偄傞帪娫乮僼儗乕儉乯
airjuggle         = 15     ;僕儍僌儖億僀儞僩尷奅抣乮乽彫僱僞.txt乿嶲徠乯
sparkno           = 2      ;僨僼僅儖僩偺僸僢僩僗僷乕僋乮fightfx偐傜乯
guard.sparkno     = 40     ;僨僼僅儖僩偺僈乕僪僗僷乕僋乮fightfx偐傜乯
KO.echo           = 0      ;俲俷帪偺壒惡乮11,0乯偵僄僐乕傪妡偗傞偐斲偐乮0=妡偗側偄,1=妡偗傞乯
volume            = 0      ;僉儍儔偺昗弨偺壒検乮嵟彫-255丒嵟戝255乯
IntPersistIndex   = 30,32,60     ;師偺儔僂儞僪傊帩偪墇偣傞乽Var乿偺傾僪儗僗偺斖埻傪寛傔傞乮仸侾乯
FloatPersistIndex = 40     ;師偺儔僂儞僪傊帩偪墇偣傞乽FVar乿偺傾僪儗僗偺斖埻傪寛傔傞乮仸侾乯

;---------------------------------------------------------------------------
; 仸侾丗曄悢偺儔僂儞僪帩偪墇偟曽朄
;
; 丂曄悢傪師偺儔僂儞僪傊帩偪墇偟偨偄応崌偼丄仾偺
; 丂乽IntPersistIndex乿偲乽FloatPersistIndex乿傪巊偆丅
; 丂偦偺傗傝曽偼M.U.G.E.N偺愢柧彂偵偡傜嵹偭偰側偄偺偱丄偙偙偱椺傪尦偵夝愢丅
;
; 丂嘆IntPersistIndex = 23丂乮Var(22)乣Var(59)傑偱傪慡偰師偺儔僂儞僪傊帩偪墇偣傞乯
; 丂嘇FloatPersistIndex = 18乮FVar(17)乣FVar(39)傑偱傪慡偰師偺儔僂儞僪傊帩偪墇偣傞乯
;
; 丂偮傑傝乽Var(**)乮Fvar(**)乯埲崀慡偰偺曄悢傪帩偪墇偡乿偲偄偆柦椷偵側傞丅
; 丂乮乽**乿偵偼亀PersistIndex偱愝掕偟偨悢帤偐傜侾傪堷偄偨傾僪儗僗亁偑奩摉乯
; 丂偦傟埲慜偺傾僪儗僗偺曄悢偼慡偰帩偪墇偝側偔側傞丅
;
; 丂慡偰偺曄悢傪帩偪墇偝側偄応崌偼丄
; 丂IntPersistIndex偼60埲忋丄FloatPersistIndex偼40埲忋偵偟偰偍偙偆丅
;
; 丂亊偙傟偼僟儊亊
; 丂丂嘆IntPersistIndex = 10,15,20,25丂乮15,20,25偺晹暘偼堄枴柍偟乯
; 丂丂嘇FloatPersistIndex = 4,16 丂丂丂乮16偺晹暘偼堄枴柍偟乯
; 丂丂偙傟傜偼嵟弶偺悢帤埲奜慡偰柍岠丅
; 
;---------------------------------------------------------------------------
; 夵掶慜偺榓栿俲俥俵偱偼PersistIndex偺夝庍偑柍拑嬯拑娫堘偭偰傑偟偨丅
; 戝曄幐楃抳偟傑偟偨丅(恖丒冎丒丮)偛傔傫側偝偄
; 崱夞偼偪傖傫偲挷傋偰惓妋側忣曬傪嵹偣偰傞傫偱埨怱偟偰偔偩偝偄乮嬯徫
;---------------------------------------------------------------------------
; 僒僀僘
;---------------------------------------------------------------------------
[Size]
xscale           = 1       ;僉儍儔偺墶偺戝偒偝乮愨懳抣丒float乯
yscale           = 1       ;僉儍儔偺廲偺戝偒偝乮愨懳抣丒float乯
ground.back      = 20      ;抧忋偵偄傞帪偺乽屻曽偺暔棟揑側暆乿
ground.front     = 16      ;抧忋偵偄傞帪偺乽慜曽偺暔棟揑側暆乿
air.back         = 20      ;嬻拞偵偄傞帪偺乽屻曽偺暔棟揑側暆乿
air.front        = 12      ;嬻拞偵偄傞帪偺乽慜曽偺暔棟揑側暆乿
height           = 60      ;僉儍儔偺暔棟揑側崅偝乮崅偄傎偳憡庤偼旘傃墇偟偵偔偔側傞乯
attack.dist      = 160     ;憡庤偑僈乕僪懺惃偵擖傞嵟掅偺嫍棧
proj.attack.dist = 90      ;帺暘偺乽Projectile乿偵懳偟偰憡庤偑僈乕僪懺惃偵擖傞嵟掅偺嫍棧
proj.doscale     = 1       ;xscale偲yscale傪乽Projectile乿偵傕塭嬁偝偣傞偐斲偐乮0=偝偣側偄丒1=偝偣傞乯
head.pos         = -5,-90  ;僉儍儔偺昗弨偺摢偺嵗昗乮Bind宯偱揔梡偝傟傞乯
mid.pos          = -5,-60  ;僉儍儔偺昗弨偺懱拞怱偺嵗昗乮Bind宯偱揔梡偝傟傞乯
shadowoffset     = 0       ;塭偺倄幉曽岦偺埵抲嵗昗
draw.offset      = 0,0     ;僉儍儔偺昞帵嵗昗乮倃幉,倄幉乯

;---------------------------------------------------------------------------
; 堏摦懍搙
;---------------------------------------------------------------------------
[Velocity]
walk.fwd     = 1.8         ;慜恑懍搙乮倃幉丒[Statedef 20]偵揔梡偝傟傞乯
walk.back    = -2.0        ;屻戅懍搙乮倃幉丒[Statedef 20]偵揔梡偝傟傞乯
run.fwd      = 7.0,0     ;慜曽偵憱傞懍搙乮倃幉,倄幉丒[Statedef 100]偵揔梡偝傟傞乯
run.back     = -3.8,-3      ;屻曽偵憱傞懍搙乮倃幉,倄幉丒[Statedef 105]偵揔梡偝傟傞乯
jump.neu     = 0,-9.5     ;悅捈僕儍儞僾偺懍搙乮倃幉,倄幉丒[Statedef 40]偵揔梡偝傟傞乯
jump.back    = -3.0        ;屻曽僕儍儞僾偺懍搙乮倃幉丒[Statedef 40]偵揔梡偝傟傞乯
jump.fwd     = 3.0         ;慜曽僕儍儞僾偺懍搙乮倃幉丒[Statedef 40]偵揔梡偝傟傞乯
runjump.back = -2.55,-8.1  ;屻曽偵憱偭偰偐傜偺僕儍儞僾懍搙乮倃幉,倄幉丒[Statedef 40]偵揔梡偝傟傞乯
runjump.fwd  = 5,-7.0      ;慜曽偵憱偭偰偐傜偺僕儍儞僾懍搙乮倃幉,倄幉丒[Statedef 40]偵揔梡偝傟傞乯
airjump.neu  = 0,-8.1      ;嬻拞悅捈僕儍儞僾懍搙乮倃幉,倄幉丒[Statedef 45]偵揔梡偝傟傞乯
airjump.back = -2.55       ;嬻拞屻曽僕儍儞僾懍搙乮倃幉丒[Statedef 45]偵揔梡偝傟傞乯
airjump.fwd  = 2.5         ;嬻拞慜曽僕儍儞僾懍搙乮倃幉丒[Statedef 45]偵揔梡偝傟傞乯

;---------------------------------------------------------------------------
; 塣摦娭學
;---------------------------------------------------------------------------
[Movement]
airjump.num     = 0        ;嬻拞僕儍儞僾偑弌棃傞夞悢
airjump.height  = 35       ;嬻拞僕儍儞僾偑弌棃傞嵟掅偺崅搙乮倄幉乯
yaccel          = .5      ;倄幉壛懍搙乮廳椡乯
stand.friction  = .85      ;棫偭偰偄傞帪偺杸嶤學悢乮僗僥乕僩偺Physics偑乽S乿偺帪乯
crouch.friction = .82      ;偟傖偑傫偱偄傞帪偺杸嶤學悢乮僗僥乕僩偺Physics偑乽C乿偺帪乯

;===========================================================================
; 僗僥乕僩
;===========================================================================
;---------------------------------------------------------------------------
; 偙偙偐傜偼僉儍儔偺偦傟偧傟偺峴摦乮僗僥乕僩乯傪愝掕偡傞丅
; 斣崋乮僗僥乕僩僫儞僶乕乯偵婥傪晅偗傟偽椙偄偩偗偱丄
; 峴摦偺寛傔曽傕僗僥乕僩偺悢傕嶌傝偨偄僉儍儔偵傛偭偰帺桼丅
;
; 杮棃僗僥乕僩偼暿偺僼傽僀儖偲偟偰埖偭偰偄傞傕偺偩偗偳丄
; 偙偺傛偆偵僐儞僗僞儞僣僼傽僀儖偲堦弿偵傑偲傔傞帠傕壜擻丅
;
; 僗僥乕僩偺婎杮揑側愝掕偼偍傑偗僼僅儖僟偺乽僥儞僾儗乕僩.txt乿傪嶲徠丅
;===========================================================================
; 捛壛峴摦
;===========================================================================
;---------------------------------------------------------------------------
;劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒
;	慜恑丒屻戅
;劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒

[Statedef 20]
type    = S
physics = S
sprpriority = 0

[State 20, 堏摦懍搙] ;慜恑偡傞懍搙
type = VelSet
trigger1 = command = "holdfwd"
x = const(velocity.walk.fwd.x) ;掕悢偱愝掕偟偨懍搙

[State 20, 堏摦懍搙] ;屻戅偡傞懍搙
type = VelSet
trigger1 = command = "holdback"
x = const(velocity.walk.back.x) ;掕悢偱愝掕偟偨懍搙

[State 20, 傾僯儊曄峏] ;慜恑偡傞傾僯儊偵曄峏
type = ChangeAnim
triggerall = vel x > 0
trigger1 = Anim != 20 && Anim != 5
trigger2 = Anim = 5 && AnimTime = 0
value = 20

[State 20, 傾僯儊曄峏] ;屻戅偡傞傾僯儊偵曄峏
type = ChangeAnim
triggerall = vel x < 0
trigger1 = Anim != 21 && Anim != 5
trigger2 = Anim = 5 && AnimTime = 0
value = 21

[State 20, 壒]
type = PlaySnd
trigger1 = Animelem = 3 || Animelem = 6
value = 2, 1

;劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒
;	僕儍儞僾拞
;	丒僕儍儞僾奐巒偑廔椆偡傞偲摨帪偵偙偺僗僥乕僩偵旘傃傑偡丅
;劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒

[Statedef 50]
type    = A
physics = A
ctrl = 1

[State 50, 傾僯儊曄峏] ;昞帵傾僯儊偺寛掕
type = ChangeAnim
trigger1 = Time = 0
value = ifelse((vel x)=0, 41, ifelse((vel x)>0, 42, 43))
;X幉偺堏摦懍搙偑0側傜偽41傊丄儅僀僫僗側傜偽42傊丄偦傟埲奜側傜43傊

[State 50, 傾僯儊曄峏]
type = ChangeAnim
trigger1 = Vel y > -2
trigger1 = SelfAnimExist(anim + 3)
persistent = 0
value = Anim + 3


;劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒
;	拝抧
;劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒

[Statedef 52]
type    = S
physics = S
ctrl = 0
anim = 47

[State 52, 壒]
type = PlaySnd
trigger1 = Time = 0
value = 2, 1

;--------------------伀偙偙偐傜愭偼僆僾僔儑儞梡偺婰弎

[State 52, 傾僯儊曄峏]
type = ChangeAnim
triggerall = Time = 0
trigger1 = sysvar(1) = 0
value = 47

[State 52, 傾僯儊曄峏]
type = ChangeAnim
triggerall = SelfAnimExist(48)
triggerall = Time = 0
trigger1 = sysvar(1) = 1
value = 48

[State 52, 傾僯儊曄峏]
type = ChangeAnim
triggerall = SelfAnimExist(49)
triggerall = Time = 0
triggerall = PrevstateNo != [600,630]
trigger1 = sysvar(1) = -1
value = 49

[State 52, 傾僯儊曄峏]
type = ChangeAnim
triggerall = Time = 0
triggerall = PrevStateNo = [600,630]
trigger1 = sysvar(1) = -1
value = 47

;--------------------仾偙偙傑偱僆僾僔儑儞梡偺婰弎

[State 52, 堏摦懍搙] ;Y曽岦偺懍搙傪0偵
type = VelSet
trigger1 = Time = 0
y = 0

[State 52, 幉埵抲] ;抧忋偵栠偡
type = PosSet
trigger1 = Time = 0
y = 0

[State 52, 曄悢傪愝掕]
type = VarSet
trigger1 = AnimTime = 0
sysvar(1) = 0

[State 52, 僗僥乕僩曄峏]
type = ChangeState
trigger1 = AnimTime = 0
value = 0
ctrl = 1

;劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒
;	僟僢僔儏
;劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒

[Statedef 100]
type    = S
physics = N
ctrl = 0
anim = 100
sprpriority = 1

[State 100, 堏摦懍搙]
type = VelSet
trigger1 = Time = 0
x = const(velocity.run.fwd.x)
y = const(velocity.run.fwd.y)


[State 100, 壒]
type = PlaySnd
trigger1 = Time >= 0
trigger1 = command = "holdup"
value = 2, 0

[State 100, 僕儍儞僾]
type = ChangeState
trigger1 = Time >= 0
trigger1 = command = "holdup"
value = 40
ctrl = 0

[State 100, 壒]
type = PlaySnd
trigger1 = Animelem = 4 || Animelem = 8
value = 2, 1

[State 100, 僗僥乕僩曄峏]
type = ChangeState
trigger1 = command != "holdfwd"
value = 101

[State 100, 5]
Type = ChangeState
TriggerAll = time > 11
Trigger1 = Command != "holdfwd"
Trigger2 = time > 45
Value = 101

;劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒
;	僟僢僔儏廔椆
;劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒

[Statedef 101]
type    = S
physics = N
ctrl = 0
anim = 101

[State 101, 壒]
type = PlaySnd
trigger1 = Time = 0
value = 2, 4

[State 101, 幉埵抲]
type = PosSet
trigger1 = Time = 0
y = 0

[state 101, 杸嶤]
type = VelMul
trigger1 = 1
x = 0.9

[State 101, 僗僥乕僩曄峏]
type = ChangeState
trigger1 = AnimTime = 0
value = 0
ctrl = 1

;劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒
;	僶僢僋僗僥僢僾
;劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒

[Statedef 105]
type    = S
physics = N
ctrl = 0
anim = 105
sprpriority = 1

[State 105, StateTypeSet]
type = StateTypeSet
trigger1 = AnimElem = 2
statetype = A
physics = N

[State 105, 柍揋]
type = NotHitBy
trigger1 = time = 0
value = SCA
time = 12

[State 105, 堏摦懍搙]
type = VelSet
trigger1 = AnimElem = 2
x = -5
y = -2

[State 105, 壒]
type = PlaySnd
trigger1 = Time = 0
value = 2, 2

[state 105, 廳椡]
type = VelAdd
trigger1 = Time >= 12
y = 0.6

[State 105, 僗僥乕僩曄峏]
type = ChangeState
trigger1 = Vel Y > 0
trigger1 = Pos Y >= -5
value = 106

;劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒
;	僶僢僋僗僥僢僾拝抧
;劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒

[Statedef 106]
type    = S
physics = S
ctrl = 0
anim = 106

[State 106, 壒]
type = PlaySnd
trigger1 = Time = 0
value = 2, 1

[State 106, 堏摦懍搙]
type = VelSet
trigger1 = Time = 0
x = 0
y = 0

[State 106, 幉埵抲]
type = PosSet
trigger1 = Time = 0
y = 0

[State 106, 僗僥乕僩曄峏]
type = ChangeState
trigger1 = AnimTime = 0
value = 0
ctrl = 1


;===========================================================================
; 婎杮峴摦
;===========================================================================
;---------------------------------------------------------------------------
;僞僀儉僆乕僶乕乮晧偗偨帪乯
[Statedef 170]
type = S
ctrl = 0
anim = 170
velset = 0,0

[State 170, 柍揋]
type = NotHitBy
trigger1 = 1 ;僩儕僈乕傪壗傕彂偐偢乽1乿偵偡傞帠偵傛傝丄亀柍忦審偱忢偵幚峴偝偣傞柦椷亁偵側傞丅
value = SCA
time = 1

;---------------------------------------------------------------------------
;---------------------------------------------------------------------------
;彑棙億乕僘暘婒乮common1.cns偵偼柍偄偗偳丄偙傟傕僐儌儞僗僥乕僩乯
[Statedef 180]
type = S

[State 180, 僗僥乕僩曄峏]
type = ChangeState
triggerall = Time = 0
trigger1 = MatchOver = 0
value = 181

[State 180, 僗僥乕僩曄峏]
type = ChangeState
triggerall = Time = 0
trigger1 = MatchOver = 1
value = 182

; 彑偭偨摦嶌1
[Statedef 181]
type = S
ctrl = 0
anim = 181
velset = 0,0

[State 181, PlaySnd]
type = PlaySnd
trigger1 = Time = 0
value = S0,31

[State 181, 柍揋]
type = NotHitBy
trigger1 = 1
value = SCA
time = 1

[State 181, 僒僂儞僪]
type = PlaySnd
trigger1 = AnimElem = 3
value = 0, 11

[State 181, 僄僼僃僋僩]
type = Explod
trigger1 = NumExplod(181) = 0
trigger1 = AnimElem = 3
anim = 10200
ID = 181
pos = 45, -95
postype = p1
scale = 0.5, 0.75
facing = 1
vfacing = 1
removetime = -1
sprpriority = -5
ontop = 0
ownpal = 1
supermovetime = 999999
pausemovetime = 999999

[State 181,AssertSpecial]
type = AssertSpecial
trigger1 = Time < 150
flag = roundnotover


; 彑偭偨摦嶌2
[Statedef 182]
type = S
ctrl = 0
anim = 12000
velset = 0,0

[State 182, PlaySnd]
type = PlaySnd
trigger1 = Time = 0
value = S0,32

[State 182, AssertSpecial]
type=assertspecial
flag=roundnotover
flag2=noautoturn
trigger1=1

[state push]
type=playerpush
value=0
trigger1=1

[state camera]
type=screenbound
value=0
movecamera=1,0
trigger1=anim=12000

[state win]
type=helper
postype=left
stateno=19000
ownpal=1
supermovetime=44444444
pausemovetime=44444444
triggerall=time=0
triggerall=matchover
trigger1=teammode=single
trigger2=teammode=simul
trigger2=id<partner,id

[State 182, 帺暘傪摟柧偵]
type = AssertSpecial
trigger1 = NumHelper(192) != 0
flag = invisible
flag2 = noshadow

[State 182, 柍揋]
type = NotHitBy
trigger1 = 1
value = SCA
time = 1

[State 182, 僄僼僃僋僩]
type = Explod
trigger1 = NumExplod(182) = 0
trigger1 = Time = 0
anim = 20
ID = 182
pos = 0, 0
postype = p1
scale = 1, 1
vel = 3,0
facing = 1
vfacing = 1
removetime = -1
sprpriority = -5
ontop = 0
ownpal = 1
supermovetime = 999999
pausemovetime = 999999

[State 182,AssertSpecial]
type = AssertSpecial
trigger1 = Time < 240
flag = roundnotover

;---------------------------------------------------------------------------
;僀儞僩儘暘婒
[Statedef 190]
type = S
ctrl = 0

[State 190]
type = VarRandom
trigger1 = 1
v = 3
range = 191,192

;斈梡僀儞僩儘
[State 190]
type = ChangeState
Trigger1 = Time = 1
Trigger1 = stateno != 5900
value = 191
;191~194偔傜偄

;---------------------------------------------------------------------------
;僀儞僩儘1
[Statedef 191]
type = S
ctrl = 0
velset = 0,0

[State 191, 帺暘傪摟柧偵]
type = AssertSpecial
trigger1 = NumHelper(192) != 0
flag = invisible
flag2 = noshadow

[State 191, 摿庩岠壥]
type = AssertSpecial
trigger1 = 1
flag = Intro

[State 191, 僿儖僷乕屇傃弌偟]
type = Helper
trigger1 = Time = 0
ID = 192
pos = 0, -300
postype = p1
stateno = 192
ownpal = 1
supermovetime = 9999
pausemovetime = 9999

[State 191, 僗僥乕僩曄峏]
type = ChangeState
trigger1 = NumHelper(192) = 0
value = 0
