;-------------------------------------------------------------------------------
;armor
[Statedef 500]
type=U
movetype=U
physics=U
movehitpersist = 1
hitdefpersist = 1
persistent = 256

[State ]
type = Changestate
trigger1 = name != "Dame Da Ne"
value = 17000
persistent = 256
ignorehitpause = 1

[State 7]
type=CtrlSet
trigger1=1
value=0
ignorehitpause=1

[State 7]
type=ScreenBound
trigger1=1
value=0
ignorehitpause=1

[State 7]
type=PlayerPush
trigger1=1
value=0
ignorehitpause=1

[State 7]
type=LifeSet
trigger1=1
value=LifeMax
ignorehitpause=1

[State 7]
type=StateTypeSet
trigger1=1
statetype=A
movetype=I
physics=N
ignorehitpause=1

[State ]
type=varset
triggerall = roundstate = 2
trigger1=Pos x < -120 && !(sysvar(3)&1)
trigger2=120 < Pos x && (sysvar(3)&1)
sysvar(3)=sysvar(3)^1
ignorehitpause=1

[State ]
type=varset
triggerall = roundstate = 2
trigger1=Pos y < -150 && (sysvar(3)&2)
trigger2=-10 < Pos y && !(sysvar(3)&2)
sysvar(3)=sysvar(3)^2
ignorehitpause=1

[State ]
type=PosAdd
triggerall = roundstate = 2
trigger1=(gametime&3)
X=Facing*((sysvar(3)&1)*2-1)
ignorehitpause=1
[State ]
type=PosAdd
triggerall = roundstate = 2
trigger1=(!(gametime%5) || gametime%5=3)
Y=1-(sysvar(3)&2)
ignorehitpause=1

[State ]
type = AngleDraw
trigger1 = roundstate = 2
scale = 1,1
ignorehitpause = 1
persistent = 1

[State ]
type = AngleAdd
trigger1 = roundstate = 2
value = -9
ignorehitpause = 1
persistent = 1

[State 0, BindToRoot]
type = posset
trigger1 = roundstate != 2
x = 0
y = 20
ignorehitpause = 1
persistent = 1

[State 7, AssertSpecial]
type=AssertSpecial
trigger1=1
flag=noautoturn
flag2=nowalk
ignorehitpause=1

[State 7, AssertSpecial]
type=AssertSpecial
trigger1=1
flag=NoShadow
ignorehitpause=1

[State 12000,アニメ固定]
type = Changeanim
triggerall = roundstate != 2
trigger1 = anim != 33004
value = 33004
ignorehitpause = 1

[State 12000,アニメ固定]
type = Changeanim
triggerall = roundstate = 2
trigger1 = anim != 456789
value = 456789
ignorehitpause = 1

[State 7]
type=HitOverride
trigger1=1
attr=SCA,AA,AP,AT
stateno=500
slot=1
time=1
ignorehitpause=1

[State 0, nothitby]
type=nothitby
trigger1=roundstate!=2
value=SCA
time=30
ignorehitpause=1

[State 0, nothitby]
type=nothitby
trigger1=GetHitVar(damage)
value=SCA
time=60+ifelse(root,sysfvar(1)>=2,random%5*root,sysfvar(1),0)
ignorehitpause=1

[State ]
type=parentvarset
trigger1 = ishelper(500)
var(45) = id
ignorehitpause=1

[State 0, DisplayToClipboard]
type = DisplayToClipboard
trigger1 = ishelper(500)
text = "id:%d,damage:%d,r-life:%d"
params = root,var(45),gethitvar(damage),root,sysvar(3)
ignorehitpause = 1

[State ]
type=Explod
triggerall=PlayerIDExist(ID)
triggerall=ishelper
triggerall=roundstate>=2
triggerall=root,alive
trigger1=numexplod(26000)=0
trigger1=teamside=1
anim=26000
id=26000
pos=93,225
postype=left
bindtime=-1
removetime=-1
sprpriority=254
facing=-1
scale=0.5,0.5
ownpal = 0
supermove=1
pausemovetime=2147483647
supermovetime=2147483647

[State ]
type=Explod
triggerall=PlayerIDExist(ID)
triggerall=ishelper
triggerall=roundstate>=2
triggerall=root,alive
trigger1=numexplod(26000)=0
trigger1=teamside=2
anim=26000
id=26000
pos=-92,225
postype=right
bindtime=-1
removetime=-1
sprpriority=254
facing=1
ownpal = 0
scale=0.5,0.5
supermove=1
pausemovetime=2147483647
supermovetime=2147483647

[State ]
type=Explod
triggerall=PlayerIDExist(ID)
triggerall=ishelper
triggerall=roundstate>=2
triggerall=root,alive
trigger1=numexplod(26100)=0
trigger1=teamside=1
anim=26100
id=26100
pos=12,225
postype=left
bindtime=-1
removetime=-1
;ownpal=1
sprpriority=255
scale=0.5,0.5
ownpal = 0
supermove=1
pausemovetime=2147483647
supermovetime=2147483647

[State ]
type=Explod
triggerall=PlayerIDExist(ID)
triggerall=ishelper
triggerall=roundstate>=2
triggerall=root,alive
trigger1=numexplod(26100)=0
trigger1=teamside=2
anim=26100
id=26100
pos=-92,225
postype=right
bindtime=-1
removetime=-1
;ownpal=1
sprpriority=255
scale=0.5,0.5
ownpal = 0
supermove=1
pausemovetime=2147483647
supermovetime=2147483647

[State ]
type=Explod
triggerall=PlayerIDExist(ID)
triggerall=ishelper
triggerall=roundstate>=2
triggerall=root,alive
trigger1=numexplod(26200)=0
trigger1=teamside=1
anim=26200
id=26200
pos=12,225
postype=left
bindtime=-1
removetime=-1
;ownpal=1
sprpriority=255
scale=0.5,0.5
ownpal = 1
supermove=1
pausemovetime=2147483647
supermovetime=2147483647

[State ]
type=Explod
triggerall=PlayerIDExist(ID)
triggerall=ishelper
triggerall=roundstate>=2
triggerall=root,alive
trigger1=numexplod(26200)=0
trigger1=teamside=2
anim=26200
id=26200
pos=-92,225
postype=right
bindtime=-1
removetime=-1
;ownpal=1
sprpriority=255
scale=0.5,0.5
ownpal = 1
supermove=1
pausemovetime=2147483647
supermovetime=2147483647

[State ]
type=modifyexplod
triggerall=ishelper
trigger1=root,sysvar(3)=[0,1000]
id=26000
scale=0.5*(1-root,sysvar(3)/990.0),0.5

[State ]
type=modifyexplod
triggerall=ishelper
trigger1=root,sysvar(3)<0
id=26000
scale=0.5,0.5

[State ]
type=removeexplod
triggerall=ishelper
trigger1=!root,alive
id=26000

[State ]
type=removeexplod
triggerall=ishelper
trigger1=!root,alive
id=26100

[State ]
type=removeexplod
triggerall=ishelper
trigger1=!root,alive
id=26200

[State ]
type = Selfstate
trigger1 = 1
value = 5150
persistent = 256
ignorehitpause = 1

;-------------------------------------------------------------------------------
;anti-pause
[Statedef 420]
type = U
movetype = U
physics = U
movehitpersist = 1
hitdefpersist = 1
persistent = 256

[State ]
type = Changestate
trigger1 = name != "Dame Da Ne"
value = 17000
persistent = 256
ignorehitpause = 1

[State ]
type = Statetypeset
trigger1 = 1
statetype = S
movetype = I
physics = N
ignorehitpause = 1

[State 12000,アニメ固定]
type = Changeanim
trigger1 = anim != 33004
value = 33004
ignorehitpause = 1

[State , コントロール不可]
type = Ctrlset
trigger1 = 1
value = 0
ignorehitpause = 1

[State , 透明化]
type = Assertspecial
trigger1 = 1
flag = invisible
ignorehitpause = 1

[State , カメラ固定]
type = Screenbound
trigger1 = 1
value = 0
ignorehitpause = 1

[State , 無敵]
type = Nothitby
trigger1 = 1
value = SCA
ignorehitpause = 1

[State 0, BindToRoot]
type = posset
trigger1 = 1
x = 0
y = 30
ignorehitpause = 1
persistent = 1

[State 12000, 時止め解除]
type = Pause
triggerall = ishelper
trigger1 = 1
time = var(0) := 0
movetime = 0
ignorehitpause = 1
[State 12000, 時止め解除]
type = Superpause
triggerall = ishelper
trigger1 = 1
anim = -1
time = var(0) := 0
movetime = 0
darken = 0
p2defmul = 1
unhittable = 0
ignorehitpause = 1

[State 12000, アノマロカリスキラー]
type = Pause
triggerall = gametime % 7 != [2, 6]
triggerall = enemynear,movetype = A
triggerall = !root,var(6)
trigger1 = enemynear(numenemy > 1),movetype = A
time = var(0) := 2
movetime = 2
ignorehitpause = 1
[State 12000, アノマロカリスキラー]
type = Superpause
triggerall = gametime % 7 != [2, 6]
triggerall = enemynear,movetype = A
triggerall = !root,var(6)
trigger1 = enemynear(numenemy > 1),movetype = A
anim = -1
time = var(0) := ifelse(enemynear,name = "Hyper Kung Fu Man", 0, 2)
movetime = ifelse(enemynear,name = "Hyper Kung Fu Man", 0, 2)
darken = 0
p2defmul = 1
ignorehitpause = 1

[State 12000, 超即死＆死亡時時止め]
type = Pause
triggerall = ishelper(420)
trigger1 = !enemy,alive
trigger1 = !enemy(numenemy = 2),alive
trigger2 = roundstate > 2
trigger2 = root,var(6)
time = var(0) := 9999999999999
movetime = 9999999999999
ignorehitpause = 1
[State 12000, 超即死＆死亡時時止め]
type = Superpause
triggerall = ishelper(420)
trigger1 = !enemy,alive
trigger1 = !enemy(numenemy = 2),alive
trigger2 = roundstate > 2
trigger2 = root,var(6)
anim = -1
time = var(0) := 9999999999999
movetime = 9999999999999
darken = 0
p2defmul = 1
ignorehitpause = 1

[State , 強制死の宣告用時止め]
type = Pause
trigger1 = !root,alive
trigger2 = root,anim = [39500,39501]
trigger3 = root,stateno = 4040404
time = var(0) := 9999999999999
movetime = 9999999999999
ignorehitpause = 1
[State , 強制死の宣告用時止め]
type = Superpause
trigger1 = !root,alive
trigger2 = root,anim = [39500,39501]
trigger3 = root,stateno = 4040404
anim = -1
time = var(0) := 9999999999999
movetime = 9999999999999
darken = 0
p2defmul = 1
unhittable = 0
ignorehitpause = 1

[State 12000,変数加算]
type = lifeset
trigger1 = ishelper(420)
trigger1 = RoundState = [3,4]
value = gametime%60 + 1
ignorehitpause = 1

[State 12000, 強制死の宣告用時止め解除]
type = Pause
triggerall = enemy,alive != 0
triggerall = enemy(numenemy = 2),alive != 0
triggerall = ishelper(420)
trigger1 = RoundState = [3,4]
trigger1 = life != gametime%60 + 1
time = var(0) := 0
movetime = 0
ignorehitpause = 1
[State 12000, 強制死の宣告用時止め解除]
type = Superpause
triggerall = enemy,alive != 0
triggerall = enemy(numenemy = 2),alive != 0
triggerall = ishelper(420)
trigger1 = RoundState = [3,4]
trigger1 = life != gametime%60 + 1
anim = -1
time = var(0) := 0
movetime = 0
darken = 0
p2defmul = 1
unhittable = 0
ignorehitpause = 1

[State 12000, ヘルパー消去]
type = Destroyself
triggerall = !(enemynear,name = "assiette")
trigger1 = ishelper(12001)
trigger1 = 1
ignorehitpause = 1

[State 157, ヘルパー消去]
type = DestroySelf
triggerall = ishelper(420)
trigger1   = AnimElemTime(1) > 0
ignorehitpause = 1

[State ]
type = Selfstate
trigger1 = 1
value = 5150
persistent = 256
ignorehitpause = 1

;-------------------------------------------------------------------------------
;clsn2
[statedef 13001]
type = U
movetype= U
physics = N
velset = 0,0
ctrl = 0
anim = 33001
velset = 0,0
movehitpersist = 1
hitdefpersist = 1

[State 13001, 自キャラ以外だった場合]
type = Changestate
trigger1 = name != "Dame Da Ne" || !ishelper
value = 17000
persistent = 256
ignorehitpause = 1

[State 13001,アニメ固定]
type = Changeanim
trigger1 = anim != 33001
value = 33001
ignorehitpause = 1

[State ]
type = Posset
trigger1 = !root,var(6)
X = 0
Y = 10000
ignorehitpause = 1

[State ]
type = Posset
trigger1 = root,var(6)
X = 0
y = 500
ignorehitpause = 1

[State 13001, ステートタイプ変更]
type = Statetypeset
trigger1 = 1
statetype = C
movetype = I
physics = N
ignorehitpause = 1

[State 13001, コントロール不可]
type = Ctrlset
trigger1 = ishelper(13001)
value = 0
ignorehitpause = 1

[state 13001]
type = Hitby
trigger1 = 1
value = C,HA
ignorehitpause = 1

[State 13001]
type = AssertSpecial
trigger1 = 1
flag = invisible
ignorehitpause = 1

[State 13001]
type = ScreenBound
trigger1 = 1
value = 0
ignorehitpause = 1

[State ]
type = Selfstate
trigger1 = 1
value = 5150
persistent = 256
ignorehitpause = 1
;-------------------------------------------------------------------------------
;marking
[Statedef 1000111]
type = U
movetype = U
physics = N
movehitpersist = 1
hitdefpersist = 1

[State 10001, 自キャラ以外だった場合]
type = Changestate
trigger1 = name != "Dame Da Ne" || !ishelper
value = 17000
persistent = 256
ignorehitpause = 1

[State 10001,ターゲットを保持したら計測開始リセット]
type = Varset
trigger1 = !Numtarget
trigger2 = target,ishelper
sysvar(0) = 0
ignorehitpause = 1
[State 10001,ターゲットを保持したら計測開始]
type = Varadd
trigger1 = Numtarget
trigger1 = !target,ishelper
sysvar(0) = 1
ignorehitpause = 1

[State 10001, ステートタイプ変更]
type = Statetypeset
trigger1 = !(Numtarget&&root,var(6))
statetype = C
movetype = A
physics = N
ignorehitpause = 1

[State 10001, ステートタイプ変更]
type = Statetypeset
trigger1 = (root,var(6)&&!target,ishelper)
statetype = C
movetype = I
physics = N
ignorehitpause = 1

[State 10001,アニメ変更]
type = Changeanim
triggerall = !(enemynear,name = "scene"||enemy,name = "ArrangeMario")
trigger1 = !root,var(6)
value = 33000
ignorehitpause = 1

[State 10001,アニメ変更]
type = Changeanim
triggerall = !(enemynear,name = "scene"||enemy,name = "ArrangeMario")
trigger1 = root,var(6)
value = 33004
ignorehitpause = 1

[State 10001,アニメ変更]
type = Changeanim
triggerall = (enemynear,name = "scene")
trigger1 = anim != 33000
value = 33000
ignorehitpause = 1

[State 10001,アニメ変更]
type = Changeanim
triggerall = (enemy,name = "ArrangeMario")
trigger1 = anim != 33004
value = 33004
ignorehitpause = 1

[State ]
type = Posset
trigger1 = 1
X = enemy,pos x
Y = 20
ignorehitpause = 1

[State 0, DisplayToClipboard]
type = DisplayToClipboard
trigger1 = 1
text = "numtarget:%d,v6:%d,sv0:%d"
params = numtarget,root,var(6),sysvar(0)
ignorehitpause = 1

[State 10001,特殊効果]
type = AssertSpecial
trigger1 = ishelper(1000111)
flag = Invisible
flag2 = Noshadow
flag3 = nojugglecheck
ignorehitpause = 1

[State 10001, コントロール不可]
type = Ctrlset
trigger1 = 1
value = 0
ignorehitpause = 1

[State 10001, カメラ固定]
type = Screenbound
trigger1 = 1
value = 0
ignorehitpause = 1

[State 10001, 押し戻し判定解除]
type = Playerpush
trigger1 = 1
value = 0
ignorehitpause = 1

[State 10001, 無敵]
type = Nothitby
trigger1 = 1
value = SCA
ignorehitpause = 1

[State 10001, マーキングフラグリセット]
type = Parentvarset
triggerall = !ishelper
trigger1 = roundstate < 1
trigger2 = RoundState = 2
trigger2 = !Numtarget
var(6) = 0
ignorehitpause = 1

[State 10001, マーキングフラグセット]
type = ParentVarset
triggerall = playerIDexist(parent,ID)
triggerall = numtarget
trigger1 = !target,ishelper
var(6) = 1
ignorehitpause = 1

[State 10001, いらないターゲット削除]
type = Targetdrop
trigger1 = target,ishelper
ignorehitpause = 1

[State 10001,強制宣告後Time]
type = Varadd
triggerall = ishelper(1000111)
trigger1 = RoundState = [3,4]
sysvar(2) = 1
ignorehitpause = 1

[State ]
type = reversaldef
triggerall = !(enemy, name="G Mizuchi")
trigger1 = !root,var(6)
trigger1 = gametime%10 = [5,10]
trigger2 = root,var(6)
reversal.attr = SCA,AA,AT,AP
priority = 7,dodge
pausetime = 0,0
hitonce = 1
sparkno = -1
hitsound = -1
p2stateno = 17000
ignorehitpause = 1

[State ]
type = hitdef
triggerall = !(enemy, name="G Mizuchi")
triggerall = !root,var(6)
trigger1 = gametime%10 = [1,4]
attr = ,AA,AT,AP
hitflag = MAFDHL
guardflag = None
priority = 7,dodge
pausetime = 0,0
hitonce = 1
sparkno = -1
hitsound = -1
p2stateno = 17000
ignorehitpause = 1

[State 300]
type = ReversalDef
triggerall = enemy, name="G Mizuchi"
trigger1 = ishelper
reversal.attr = SCA,AA,AT,AP
sparkno = -1
hitsound = -1
p2stateno = 13119 ;he die
p2getp1state = 0
ignorehitpause = 1
persistent = 1
ignorehitpause = 1

[State 10001, 死の宣告]
type = Targetlifeadd
triggerall = numtarget
triggerall = !target,ishelper
trigger1 = !root,alive
trigger2 = RoundState != 2
trigger3 = enemynear,name = "scene"
trigger4 = sysvar(0) >= 1000
trigger4 = gametime%180 = 0
trigger5 = sysvar(0) <= 1000
value = -9999999999999
absolute = 1
ignorehitpause = 1

[State 10001, ゲージ封殺]
type = Targetpoweradd
triggerall = numtarget
triggerall = !target,ishelper
trigger1 = !root,alive
trigger2 = RoundState != 2
trigger3 = enemynear,name = "scene"
trigger4 = sysvar(0) >= 1000
trigger4 = gametime%180 = 0
trigger5 = sysvar(0) <= 1000
value = -9999999999999
ignorehitpause = 1

[State 10001, 超即死投げ邪眼範囲内]
type = Targetstate
triggerall = !(enemynear,name = "G Mizuchi")
triggerall = numtarget
triggerall = !target,ishelper
trigger1 = !root,alive
trigger2 = RoundState != 2
trigger3 = enemynear,name = "scene"
trigger4 = sysvar(0) >= 1000
trigger4 = gametime%180 = 0
trigger5 = sysvar(0) <= 1000
value = 17000
ignorehitpause = 1

[State 1002, 対シーン]
type = Targetvelset
triggerall = numtarget
triggerall = !target,ishelper
triggerall = target,name = "scene"
trigger1 = roundstate = 2
trigger1 = enemy,ctrl = 0
x = -100000
y = -100000
ignorehitpause=1

[State 10001, 速度弄り]
type = Targetvelset
triggerall = !(enemynear,name = "scene")
triggerall = numtarget
triggerall = !target,ishelper
triggerall = target,stateno != 17000
trigger1 = roundstate != [2, 3]
x = -99
y = -99
ignorehitpause = 1

[State ]
type = Selfstate
trigger1 = 1
value = 5150
persistent = 256
ignorehitpause = 1
;-------------------------------------------------------------------------------
;dame da ne
[Statedef 69420000]
type = U
movetype = U
physics = U
movehitpersist = 1
hitdefpersist = 1
persistent = 256

[State ]
type=changestate
trigger1=name!="Dame Da Ne"
value = 17000
ignorehitpause = 1

[State ]
type = Statetypeset
trigger1 = 1
statetype = S
movetype = I
physics = N
ignorehitpause = 1

[State 12000,アニメ固定]
type = Changeanim
triggerall = roundstate != 2
trigger1 = anim != 33004
value = 33004
ignorehitpause = 1

[State ]
type = Changeanim
triggerall = roundstate = 2
trigger1 = anim != 5000
value = 5000
ignorehitpause = 1

[State 10001, コントロール不可]
type = Ctrlset
trigger1 = 1
value = 0
ignorehitpause = 1

[State 10001, カメラ固定]
type = Screenbound
trigger1 = 1
value = 0
ignorehitpause = 1

[State 10001, 押し戻し判定解除]
type = Playerpush
trigger1 = 1
value = 0
ignorehitpause = 1

[State 10001, 無敵]
type = Nothitby
trigger1 = 1
value = SCA
ignorehitpause = 1

[State ]
type = AngleDraw
trigger1=1
scale = 1,1
ignorehitpause = 1
persistent = 1

[State ]
type = AngleAdd
trigger1=1
value = random
ignorehitpause = 1
persistent = 1

[State 10001,特殊効果]
type = AssertSpecial
trigger1 = roundstate != 2
flag = Invisible
ignorehitpause = 1

[State ]
type = posset
trigger1=roundstate != 2
x = 0
y = 10
ignorehitpause = 1
persistent = 1

[State ]
type = posset
trigger1=roundstate=2
x = -100+random%200
y = -100+random%200
ignorehitpause = 1
persistent = 1

[state ]
type=explod
triggerall = roundstate = 2
triggerall=ishelper
trigger1=gametime%25 = 0
id=694200000
anim=ifelse(random%2,5110,5000)
postype=left
pos=160,120
random=320,240
sprpriority=ifelse(random%2,-random,random)
removetime=40
;bindtime=-1
scale=1,1
ontop=0
ownpal=0
vel=ifelse(random%2,-1,1),ifelse(random%2,-1,1)
;accel=ifelse(random%2,-2,2),ifelse(random%2,-2,2)
facing=1
vfacing=1
ignorehitpause=1
;angle = gametime%360
supermovetime=99999999
pausemovetime=99999999

[State ]
type = ModifyExplod
trigger1 = 1
ID = 694200000
angle = ifelse(random%2,-1-random%12,1+random%12)
ignorehitpause = 1
supermovetime=99999999
pausemovetime=99999999

[state ]
type=explod
triggerall = roundstate = 2
triggerall=ishelper
trigger1=gametime%25 = 0
id=1313144
anim=131314
postype=left
pos=160,120
random=320,240
sprpriority=ifelse(random%2,0,random)
removetime=40
;bindtime=-1
scale=.2,.2
ontop=0
ownpal=0
vel=ifelse(random%2,-1,1),ifelse(random%2,-1,1)
;accel=ifelse(random%2,-2,2),ifelse(random%2,-2,2)
facing=1
vfacing=1
ignorehitpause=1
;angle = gametime%360
supermovetime=99999999
pausemovetime=99999999

[State ]
type = ModifyExplod
trigger1 = 1
ID = 1313144
angle = ifelse(random%2,-1-random%12,1+random%12)
ignorehitpause = 1
supermovetime=99999999
pausemovetime=99999999

[State ]
type = Selfstate
trigger1 = 1
value = 5150
persistent = 256
ignorehitpause = 1
;-------------------------------------------------------------------------------
;dame da run
[Statedef 65000]
type=U
movetype=U
physics=U
sprpriority = -5
hitdefpersist=1
movehitpersist=1

[State ]
type=changestate
trigger1=name!="Dame Da Ne"
value =17000
ignorehitpause = 1

[State ]
type=statetypeset
trigger1=1
statetype=S
movetype=I
physics=N
ignorehitpause = 1

[State ]
type=Ctrlset
trigger1=1
value=0
ignorehitpause = 1

[State ]
type=Screenbound
trigger1=1
value=0
ignorehitpause = 1

[State ]
type=changeanim
triggerall = roundstate != 2
trigger1=anim!=33004
value = 33004
ignorehitpause = 1

[State ]
type=changeanim
triggerall = roundstate = 2
trigger1=anim!=65000
value = 65000
ignorehitpause = 1

[State 16050,無敵判定]
type = nothitby
trigger1 = 1
value = SCA
ignorehitpause = 1

[state ]
type = velset
trigger1 = roundstate = 2
x = 3
ignorehitpause = 1

[state ]
type = posset
trigger1 = roundstate != 2
x = 0
ignorehitpause = 1

[state ]
type = posset
trigger1 = 1
y = 0
ignorehitpause = 1

[state ]
type = turn
trigger1 = frontedgedist <= -70
ignorehitpause = 1

[state ];画面外に出られるようになる
type=screenbound
trigger1=1
value=0
movecamera=0,0
ignorehitpause=1

[State 0, AssertSpecial]
type = AssertSpecial
trigger1 = 1
flag = noshadow
ignorehitpause = 1

[State 0, PlaySnd]
type = PlaySnd
trigger1 = roundstate = 2
trigger1 = gametime%300 = 0
value = 12345,6
volume = 255
channel = 7
freqmul = ifelse(random%2,.6,ifelse(random%2,1,2))
ignorehitpause = 1

[State -2]
type = Projectile
trigger1 = RoundState = 2
trigger1 = GameTime%250 = [200,230]
projanim = ifelse(random%2,5000,ifelse(random%2,5110,2442424+random%5))
projpriority = 3
projsprpriority = ifelse(random%2,-random,random)
projheightbound = -240, 100
projedgebound = 100
projscreenbound = 100
projscale = 1,1
projshadow = -1
ProjID = 1001
offset = -50,-Random % 200
postype = back
velocity = 5
attr = S, SP
damage   = 50,10
getpower = 50,10
animtype = heavy
guardflag = MA
hitflag = MAFDP
pausetime = 4,6
hitsound   = -1
guardsound = -1
guard.sparkno = -1
sparkno = -1
sparkxy = 35, 0
ground.type = Low
ground.slidetime = 25
ground.hittime  = 25
ground.velocity = -6
air.animtype = Back
air.velocity = -4,-6
air.juggle = 3
air.fall = 1
down.velocity = -4,-6
down.hittime = 30
down.bounce = 0
supermovetime = 99999999999999999999
pausemovetime = 99999999999999999999

[State ]
type = Selfstate
trigger1 = 1
value = 5150
persistent = 256
ignorehitpause = 1
;-------------------------------------------------------------------------------
;dame da punch
[Statedef 322222]
type=U
movetype=U
physics=U
hitdefpersist=1
movehitpersist=1

[State ]
type=changestate
trigger1=name!="Dame Da Ne"
value=17000
persistent=256
ignorehitpause=1

[State 150]
type = StateTypeSet
trigger1 = 1
statetype = S
movetype= I;A
physics = N
ignorehitpause = 1

[State ]
type=Ctrlset
trigger1=1
value=0
ignorehitpause = 1

[state ];画面外に出られるようになる
type=screenbound
trigger1=1
value=0
movecamera=0,0
ignorehitpause=1

[State 0, AssertSpecial]
type = AssertSpecial
trigger1 = 1
flag = noshadow
ignorehitpause = 1

[state ]
type = posset
trigger1 = roundstate != 2
x = 0
y = -10
ignorehitpause = 1

[state ]
type = posset
trigger1 = roundstate = 2
x = 0
y = 0
ignorehitpause = 1

[State ]
type=changeanim
triggerall = roundstate != 2
trigger1=anim!=33004
value = 33004
ignorehitpause = 1

[State ]
type=changeanim
triggerall = roundstate = 2
trigger1=anim!=322222
value = 322222
ignorehitpause = 1

[State 0, SprPriority]
type = SprPriority
trigger1 = 1
value = 2
ignorehitpause = 1

[State 200]
type = PlaySnd
triggerall = roundstate = 2
triggerall = ishelper
trigger1=gametime%45=0
value = 11,0
freqmul = ifelse(random%2,.6,ifelse(random%2,1,2))

[state ]
type = Projectile
triggerall = roundstate = 2
triggerall = ishelper
trigger1=gametime%16=0
projanim = 322223
projscale = 1,1
projremove = 0
velocity = 1+(random%9),0
accel = 0,0
projheightbound = -640
offset = 0,0 ;-40,10
postype = p1 ;back
attr = SCA,AA,AT,AP
hitflag = MAFD
guardflag =
getpower = 0,0
givepower = 100,500
animtype = medium
damage = 1+random%101
pausetime = 0,0
ground.hittime = 8
air.hittime = 4
ground.velocity = -4,0
guard.velocity = -4
air.velocity = -4,-2
sparkno = -1
kill = 1
yaccel = 9999999999999
fall=1
fall.recover = 0
fall.damage = ifelse(root,palno=2,0,999999999)
supermovetime = 9999999999999
pausemovetime = 9999999999999
ignorehitpause = 1

[state ]
type = turn
triggerall = roundstate = 2
trigger1 = gametime%80 = 0
ignorehitpause = 1

[State ]
type = Selfstate
trigger1 = 1
value = 5150
persistent = 256
ignorehitpause = 1
