[Data]
life=1000
power=3000
attack=100
defence=100
fall.defence_up=100
liedown.time=0
airjuggle=15
sparkno=-1
guard.sparkno=-1
KO.echo=0
volume=255
IntPersistIndex=59
FloatPersistIndex=40

[Size]
xscale=1
yscale=1
ground.back=1
ground.front=1
air.back=1
air.front=1
height=1
attack.dist=1
proj.attack.dist=1
proj.doscale=0
head.pos=0,0
mid.pos=0,0
shadowoffset=0
draw.offset=0,0
[Velocity]
walk.fwd=0
walk.back=0
run.fwd=0,0
run.back=0,0
jump.neu=0,0
jump.back=0
jump.fwd=0
runjump.back=0,0
runjump.fwd=0,0
airjump.neu=0,0
airjump.back=0
airjump.fwd=0

[Movement]
airjump.num=0
airjump.height=0
yaccel=1
stand.friction=1
crouch.friction=1

;------------------------------------------------------------------------------
;lose
[Statedef 170]
type = S
movetype = U
physics = S
ctrl = 0
movehitpersist = 1
hitdefpersist = 1

[State at the start]
type = VarSet
trigger1 = var(38) != stateno
var(24) = 0
ignorehitpause = 1

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

[State ]
type = Changeanim
trigger1 = anim != 170
value = 170
ignorehitpause = 1

[State ]
type = PlaySnd
trigger1 = var(24) = 1
value = 12345,6
volume = 1
ignorehitpause = 1

[State 5150]
type = AngleDraw
triggerall = !ishelper
trigger1 = anim=170&&(var(24)=[0,400])
Scale = 1.0-(var(24)*0.0018),1.0-(var(24)*0.0018)
ignorehitpause = 1

[State 5150]
type = AssertSpecial
triggerall = !ishelper
trigger1 = anim=170&&((var(24)=[350,399])&&(gametime%3=0)||var(24)>=400)
flag = invisible
ignorehitpause = 1

[State 0, AssertSpecial]
type = AssertSpecial
triggerall = !ishelper
trigger1=anim=170
trigger1=var(24)=[1,600]
flag = roundnotover
ignorehitpause = 1

[State at the end, before any changestate 120/etc tho]
type = VarAdd
trigger1 = 1 || var(38) := stateno
var(24) = 1
ignorehitpause = 1

[State at the end, before any changestate 120/etc tho]
type = changestate
trigger1 = roundstate >= 3
value = 120
ignorehitpause = 1
;------------------------------------------------------------------------------
;win
[Statedef 181]
type = S
movetype = U
physics = S
ctrl = 0
movehitpersist = 1
hitdefpersist = 1

[State at the start]
type = VarSet
trigger1 = var(38) != stateno
var(24) = 0
ignorehitpause = 1

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

[State ]
type = Changeanim
trigger1 = anim != 181
value = 181
ignorehitpause = 1

[State 181, Voice]
type = PlaySnd
trigger1 = var(24) = 1
value = 181, 0
channel = 1

[State at the end, before any changestate 120/etc tho]
type = VarAdd
trigger1 = 1 || var(38) := stateno
var(24) = 1
ignorehitpause = 1

[State at the end, before any changestate 120/etc tho]
type = changestate
trigger1 = roundstate >= 3
value = 120
ignorehitpause = 1
;---------------------------------------------------------------------------
;intro
[Statedef 191]
type = S
movetype = U
physics = S
ctrl = 0
movehitpersist = 1
hitdefpersist = 1

[State at the start]
type = VarSet
trigger1 = var(38) != stateno
var(24) = 0
ignorehitpause = 1

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

[State ]
type = Changeanim
trigger1 = anim != 190
value = 190
ignorehitpause = 1

[State 191, 特殊効果]
type = AssertSpecial
trigger1 = 1
flag = Intro

[State 195, Voice]
type = PlaySnd
trigger1 = AnimElem = 2
value = 195,0
channel = 0

[State 191, ステート変更]
type = ChangeState
trigger1 = AnimTime = 0
value = 69420

[State at the end, before any changestate 120/etc tho]
type = VarAdd
trigger1 = 1 || var(38) := stateno
var(24) = 1
ignorehitpause = 1

[State at the end, before any changestate 120/etc tho]
type = changestate
trigger1 = roundstate >= 3
value = 120
ignorehitpause = 1
;-------------------------------------------------------------------------------
;stand
[Statedef 69420]
type = S
movetype = U
physics = S
ctrl = 0
movehitpersist = 1
hitdefpersist = 1

[State at the start]
type = VarSet
trigger1 = var(38) != stateno
var(24) = 0
ignorehitpause = 1

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

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

[State ]
type = Changeanim
triggerall = roundstate = 2
trigger1 = !animtime
value = ifelse(random%2,210,ifelse(random%2,220,ifelse(random%2,3030,ifelse(random%2,3000,600))))
ignorehitpause = 1

[State ]
type = PlaySnd
triggerall = anim = 210
trigger1 = animelem = 3
value = 12345,0
ignorehitpause = 1

[State ]
type = PlaySnd
triggerall = anim = 220
trigger1 = animelem = 5
value = 12345,1
ignorehitpause = 1

[State ]
type = PlaySnd
triggerall = anim = 220
trigger1 = animelem = 5
value = 12345,5
volume = 100000
ignorehitpause = 1

[State ]
type = PlaySnd
triggerall = anim = 600
trigger1 = animelem = 3
value = 12345,2
ignorehitpause = 1

[State ]
type = PlaySnd
triggerall = anim = 600
trigger1 = animelem = 3
value = 12345,6
volume = 1
freqmul = ifelse(random%2,.6,ifelse(random%2,1,2))
ignorehitpause = 1

[State ]
type = PlaySnd
triggerall = anim = 3030
trigger1 = animelem = 7
value = 12345,7
ignorehitpause = 1

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

[State 0, StateTypeSet]
type = StateTypeSet
trigger1 = 1
movetype = I
ignorehitpause = 1
;-------------------------------------------------------------------------------
[state ]
type=projectile
triggerall = anim = 210
trigger1 = animelem = 3
attr=sca,aa,at,ap
damage=1+random%101
getpower=0,0
animtype=hard
pausetime=0,0
offset=0,-20
velocity=-25+random%50,-25+random%50
accel=0,0
projid=610
projanim=ifelse(random%2,600,ifelse(random%2,210,220))
projscale=1,1
projshadow=0,0,0
projhits=9999999
projmisstime=10
projpriority=7
projremovetime=60
projheightbound=-9999999,9999999
projedgebound=9999999
projstagebound=9999999
priority=7
sparkno=1+random%3
sparkxy=0,0
guard.sparkno=40
hitsound=-1
guardsound=-1
ground.type=high
ground.slidetime=14
ground.hittime=16
ground.velocity=-6,0
guard.hittime=5
air.velocity=-3,-4
ignorehitpause=1
pausemovetime=2147483647
supermovetime=2147483647

[state ]
type=projectile
triggerall = anim = 210
trigger1 = animelem = 3
attr=sca,aa,at,ap
damage=1+random%101
getpower=0,0
animtype=hard
pausetime=0,0
offset=0,-20
velocity=-25+random%50,-25+random%50
accel=0,0
projid=610
projanim=ifelse(random%2,600,ifelse(random%2,210,220))
projscale=1,1
projshadow=0,0,0
projhits=9999999
projmisstime=10
projpriority=7
projremovetime=60
projheightbound=-9999999,9999999
projedgebound=9999999
projstagebound=9999999
priority=7
sparkno=1+random%3
sparkxy=0,0
guard.sparkno=40
hitsound=-1
guardsound=-1
ground.type=high
ground.slidetime=14
ground.hittime=16
ground.velocity=-6,0
guard.hittime=5
air.velocity=-3,-4
ignorehitpause=1
pausemovetime=2147483647
supermovetime=2147483647

[state ]
type=projectile
triggerall = anim = 210
trigger1 = animelem = 3
attr=sca,aa,at,ap
damage=1+random%101
getpower=0,0
animtype=hard
pausetime=0,0
offset=0,-20
velocity=-25+random%50,-25+random%50
accel=0,0
projid=610
projanim=ifelse(random%2,600,ifelse(random%2,210,220))
projscale=1,1
projshadow=0,0,0
projhits=9999999
projmisstime=10
projpriority=7
projremovetime=60
projheightbound=-9999999,9999999
projedgebound=9999999
projstagebound=9999999
priority=7
sparkno=1+random%3
sparkxy=0,0
guard.sparkno=40
hitsound=-1
guardsound=-1
ground.type=high
ground.slidetime=14
ground.hittime=16
ground.velocity=-6,0
guard.hittime=5
air.velocity=-3,-4
ignorehitpause=1
pausemovetime=2147483647
supermovetime=2147483647

[state ]
type=projectile
triggerall = anim = 210
trigger1 = animelem = 3
attr=sca,aa,at,ap
damage=1+random%101
getpower=0,0
animtype=hard
pausetime=0,0
offset=0,-20
velocity=-25+random%50,-25+random%50
accel=0,0
projid=610
projanim=ifelse(random%2,600,ifelse(random%2,210,220))
projscale=1,1
projshadow=0,0,0
projhits=9999999
projmisstime=10
projpriority=7
projremovetime=60
projheightbound=-9999999,9999999
projedgebound=9999999
projstagebound=9999999
priority=7
sparkno=1+random%3
sparkxy=0,0
guard.sparkno=40
hitsound=-1
guardsound=-1
ground.type=high
ground.slidetime=14
ground.hittime=16
ground.velocity=-6,0
guard.hittime=5
air.velocity=-3,-4
ignorehitpause=1
pausemovetime=2147483647
supermovetime=2147483647

[state ]
type=projectile
triggerall = anim = 210
trigger1 = animelem = 3
attr=sca,aa,at,ap
damage=1+random%101
getpower=0,0
animtype=hard
pausetime=0,0
offset=0,-20
velocity=-25+random%50,-25+random%50
accel=0,0
projid=610
projanim=ifelse(random%2,600,ifelse(random%2,210,220))
projscale=1,1
projshadow=0,0,0
projhits=9999999
projmisstime=10
projpriority=7
projremovetime=60
projheightbound=-9999999,9999999
projedgebound=9999999
projstagebound=9999999
priority=7
sparkno=1+random%3
sparkxy=0,0
guard.sparkno=40
hitsound=-1
guardsound=-1
ground.type=high
ground.slidetime=14
ground.hittime=16
ground.velocity=-6,0
guard.hittime=5
air.velocity=-3,-4
ignorehitpause=1
pausemovetime=2147483647
supermovetime=2147483647

[state ]
type=projectile
triggerall = anim = 210
trigger1 = animelem = 3
attr=sca,aa,at,ap
damage=1+random%101
getpower=0,0
animtype=hard
pausetime=0,0
offset=0,-20
velocity=-25+random%50,-25+random%50
accel=0,0
projid=610
projanim=ifelse(random%2,600,ifelse(random%2,210,220))
projscale=1,1
projshadow=0,0,0
projhits=9999999
projmisstime=10
projpriority=7
projremovetime=60
projheightbound=-9999999,9999999
projedgebound=9999999
projstagebound=9999999
priority=7
sparkno=1+random%3
sparkxy=0,0
guard.sparkno=40
hitsound=-1
guardsound=-1
ground.type=high
ground.slidetime=14
ground.hittime=16
ground.velocity=-6,0
guard.hittime=5
air.velocity=-3,-4
ignorehitpause=1
pausemovetime=2147483647
supermovetime=2147483647

[state ]
type=projectile
triggerall = anim = 210
trigger1 = animelem = 3
attr=sca,aa,at,ap
damage=1+random%101
getpower=0,0
animtype=hard
pausetime=0,0
offset=0,-20
velocity=-25+random%50,-25+random%50
accel=0,0
projid=610
projanim=ifelse(random%2,600,ifelse(random%2,210,220))
projscale=1,1
projshadow=0,0,0
projhits=9999999
projmisstime=10
projpriority=7
projremovetime=60
projheightbound=-9999999,9999999
projedgebound=9999999
projstagebound=9999999
priority=7
sparkno=1+random%3
sparkxy=0,0
guard.sparkno=40
hitsound=-1
guardsound=-1
ground.type=high
ground.slidetime=14
ground.hittime=16
ground.velocity=-6,0
guard.hittime=5
air.velocity=-3,-4
ignorehitpause=1
pausemovetime=2147483647
supermovetime=2147483647

[state ]
type=projectile
triggerall = anim = 210
trigger1 = animelem = 3
attr=sca,aa,at,ap
damage=1+random%101
getpower=0,0
animtype=hard
pausetime=0,0
offset=0,-20
velocity=-25+random%50,-25+random%50
accel=0,0
projid=610
projanim=ifelse(random%2,600,ifelse(random%2,210,220))
projscale=1,1
projshadow=0,0,0
projhits=9999999
projmisstime=10
projpriority=7
projremovetime=60
projheightbound=-9999999,9999999
projedgebound=9999999
projstagebound=9999999
priority=7
sparkno=1+random%3
sparkxy=0,0
guard.sparkno=40
hitsound=-1
guardsound=-1
ground.type=high
ground.slidetime=14
ground.hittime=16
ground.velocity=-6,0
guard.hittime=5
air.velocity=-3,-4
ignorehitpause=1
pausemovetime=2147483647
supermovetime=2147483647

[state ]
type=projectile
triggerall = anim = 210
trigger1 = animelem = 3
attr=sca,aa,at,ap
damage=1+random%101
getpower=0,0
animtype=hard
pausetime=0,0
offset=0,-20
velocity=-25+random%50,-25+random%50
accel=0,0
projid=610
projanim=ifelse(random%2,600,ifelse(random%2,210,220))
projscale=1,1
projshadow=0,0,0
projhits=9999999
projmisstime=10
projpriority=7
projremovetime=60
projheightbound=-9999999,9999999
projedgebound=9999999
projstagebound=9999999
priority=7
sparkno=1+random%3
sparkxy=0,0
guard.sparkno=40
hitsound=-1
guardsound=-1
ground.type=high
ground.slidetime=14
ground.hittime=16
ground.velocity=-6,0
guard.hittime=5
air.velocity=-3,-4
ignorehitpause=1
pausemovetime=2147483647
supermovetime=2147483647

[state ]
type=projectile
triggerall = anim = 210
trigger1 = animelem = 3
attr=sca,aa,at,ap
damage=1+random%101
getpower=0,0
animtype=hard
pausetime=0,0
offset=0,-20
velocity=-25+random%50,-25+random%50
accel=0,0
projid=610
projanim=ifelse(random%2,600,ifelse(random%2,210,220))
projscale=1,1
projshadow=0,0,0
projhits=9999999
projmisstime=10
projpriority=7
projremovetime=60
projheightbound=-9999999,9999999
projedgebound=9999999
projstagebound=9999999
priority=7
sparkno=1+random%3
sparkxy=0,0
guard.sparkno=40
hitsound=-1
guardsound=-1
ground.type=high
ground.slidetime=14
ground.hittime=16
ground.velocity=-6,0
guard.hittime=5
air.velocity=-3,-4
ignorehitpause=1
pausemovetime=2147483647
supermovetime=2147483647

[state ]
type=projectile
triggerall = anim = 210
trigger1 = animelem = 3
attr=sca,aa,at,ap
damage=1+random%101
getpower=0,0
animtype=hard
pausetime=0,0
offset=0,-20
velocity=-25+random%50,-25+random%50
accel=0,0
projid=610
projanim=ifelse(random%2,600,ifelse(random%2,210,220))
projscale=1,1
projshadow=0,0,0
projhits=9999999
projmisstime=10
projpriority=7
projremovetime=60
projheightbound=-9999999,9999999
projedgebound=9999999
projstagebound=9999999
priority=7
sparkno=1+random%3
sparkxy=0,0
guard.sparkno=40
hitsound=-1
guardsound=-1
ground.type=high
ground.slidetime=14
ground.hittime=16
ground.velocity=-6,0
guard.hittime=5
air.velocity=-3,-4
ignorehitpause=1
pausemovetime=2147483647
supermovetime=2147483647

[state ]
type=projectile
triggerall = anim = 210
trigger1 = animelem = 3
attr=sca,aa,at,ap
damage=1+random%101
getpower=0,0
animtype=hard
pausetime=0,0
offset=0,-20
velocity=-25+random%50,-25+random%50
accel=0,0
projid=610
projanim=ifelse(random%2,600,ifelse(random%2,210,220))
projscale=1,1
projshadow=0,0,0
projhits=9999999
projmisstime=10
projpriority=7
projremovetime=60
projheightbound=-9999999,9999999
projedgebound=9999999
projstagebound=9999999
priority=7
sparkno=1+random%3
sparkxy=0,0
guard.sparkno=40
hitsound=-1
guardsound=-1
ground.type=high
ground.slidetime=14
ground.hittime=16
ground.velocity=-6,0
guard.hittime=5
air.velocity=-3,-4
ignorehitpause=1
pausemovetime=2147483647
supermovetime=2147483647

[state ]
type=projectile
triggerall = anim = 210
trigger1 = animelem = 3
attr=sca,aa,at,ap
damage=1+random%101
getpower=0,0
animtype=hard
pausetime=0,0
offset=0,-20
velocity=-25+random%50,-25+random%50
accel=0,0
projid=610
projanim=ifelse(random%2,600,ifelse(random%2,210,220))
projscale=1,1
projshadow=0,0,0
projhits=9999999
projmisstime=10
projpriority=7
projremovetime=60
projheightbound=-9999999,9999999
projedgebound=9999999
projstagebound=9999999
priority=7
sparkno=1+random%3
sparkxy=0,0
guard.sparkno=40
hitsound=-1
guardsound=-1
ground.type=high
ground.slidetime=14
ground.hittime=16
ground.velocity=-6,0
guard.hittime=5
air.velocity=-3,-4
ignorehitpause=1
pausemovetime=2147483647
supermovetime=2147483647

[state ]
type=projectile
triggerall = anim = 210
trigger1 = animelem = 3
attr=sca,aa,at,ap
damage=1+random%101
getpower=0,0
animtype=hard
pausetime=0,0
offset=0,-20
velocity=-25+random%50,-25+random%50
accel=0,0
projid=610
projanim=ifelse(random%2,600,ifelse(random%2,210,220))
projscale=1,1
projshadow=0,0,0
projhits=9999999
projmisstime=10
projpriority=7
projremovetime=60
projheightbound=-9999999,9999999
projedgebound=9999999
projstagebound=9999999
priority=7
sparkno=1+random%3
sparkxy=0,0
guard.sparkno=40
hitsound=-1
guardsound=-1
ground.type=high
ground.slidetime=14
ground.hittime=16
ground.velocity=-6,0
guard.hittime=5
air.velocity=-3,-4
ignorehitpause=1
pausemovetime=2147483647
supermovetime=2147483647

[state ]
type=projectile
triggerall = anim = 210
trigger1 = animelem = 3
attr=sca,aa,at,ap
damage=1+random%101
getpower=0,0
animtype=hard
pausetime=0,0
offset=0,-20
velocity=-25+random%50,-25+random%50
accel=0,0
projid=610
projanim=ifelse(random%2,600,ifelse(random%2,210,220))
projscale=1,1
projshadow=0,0,0
projhits=9999999
projmisstime=10
projpriority=7
projremovetime=60
projheightbound=-9999999,9999999
projedgebound=9999999
projstagebound=9999999
priority=7
sparkno=1+random%3
sparkxy=0,0
guard.sparkno=40
hitsound=-1
guardsound=-1
ground.type=high
ground.slidetime=14
ground.hittime=16
ground.velocity=-6,0
guard.hittime=5
air.velocity=-3,-4
ignorehitpause=1
pausemovetime=2147483647
supermovetime=2147483647

[state ]
type=projectile
triggerall = anim = 210
trigger1 = animelem = 3
attr=sca,aa,at,ap
damage=1+random%101
getpower=0,0
animtype=hard
pausetime=0,0
offset=0,-20
velocity=-25+random%50,-25+random%50
accel=0,0
projid=610
projanim=ifelse(random%2,600,ifelse(random%2,210,220))
projscale=1,1
projshadow=0,0,0
projhits=9999999
projmisstime=10
projpriority=7
projremovetime=60
projheightbound=-9999999,9999999
projedgebound=9999999
projstagebound=9999999
priority=7
sparkno=1+random%3
sparkxy=0,0
guard.sparkno=40
hitsound=-1
guardsound=-1
ground.type=high
ground.slidetime=14
ground.hittime=16
ground.velocity=-6,0
guard.hittime=5
air.velocity=-3,-4
ignorehitpause=1
pausemovetime=2147483647
supermovetime=2147483647

[state ]
type=projectile
triggerall = anim = 210
trigger1 = animelem = 3
attr=sca,aa,at,ap
damage=1+random%101
getpower=0,0
animtype=hard
pausetime=0,0
offset=0,-20
velocity=-25+random%50,-25+random%50
accel=0,0
projid=610
projanim=ifelse(random%2,600,ifelse(random%2,210,220))
projscale=1,1
projshadow=0,0,0
projhits=9999999
projmisstime=10
projpriority=7
projremovetime=60
projheightbound=-9999999,9999999
projedgebound=9999999
projstagebound=9999999
priority=7
sparkno=1+random%3
sparkxy=0,0
guard.sparkno=40
hitsound=-1
guardsound=-1
ground.type=high
ground.slidetime=14
ground.hittime=16
ground.velocity=-6,0
guard.hittime=5
air.velocity=-3,-4
ignorehitpause=1
pausemovetime=2147483647
supermovetime=2147483647

[state ]
type=projectile
triggerall = anim = 210
trigger1 = animelem = 3
attr=sca,aa,at,ap
damage=1+random%101
getpower=0,0
animtype=hard
pausetime=0,0
offset=0,-20
velocity=-25+random%50,-25+random%50
accel=0,0
projid=610
projanim=ifelse(random%2,600,ifelse(random%2,210,220))
projscale=1,1
projshadow=0,0,0
projhits=9999999
projmisstime=10
projpriority=7
projremovetime=60
projheightbound=-9999999,9999999
projedgebound=9999999
projstagebound=9999999
priority=7
sparkno=1+random%3
sparkxy=0,0
guard.sparkno=40
hitsound=-1
guardsound=-1
ground.type=high
ground.slidetime=14
ground.hittime=16
ground.velocity=-6,0
guard.hittime=5
air.velocity=-3,-4
ignorehitpause=1
pausemovetime=2147483647
supermovetime=2147483647

[state ]
type=projectile
triggerall = anim = 210
trigger1 = animelem = 3
attr=sca,aa,at,ap
damage=1+random%101
getpower=0,0
animtype=hard
pausetime=0,0
offset=0,-20
velocity=-25+random%50,-25+random%50
accel=0,0
projid=610
projanim=ifelse(random%2,600,ifelse(random%2,210,220))
projscale=1,1
projshadow=0,0,0
projhits=9999999
projmisstime=10
projpriority=7
projremovetime=60
projheightbound=-9999999,9999999
projedgebound=9999999
projstagebound=9999999
priority=7
sparkno=1+random%3
sparkxy=0,0
guard.sparkno=40
hitsound=-1
guardsound=-1
ground.type=high
ground.slidetime=14
ground.hittime=16
ground.velocity=-6,0
guard.hittime=5
air.velocity=-3,-4
ignorehitpause=1
pausemovetime=2147483647
supermovetime=2147483647

[state ]
type=projectile
triggerall = anim = 210
trigger1 = animelem = 3
attr=sca,aa,at,ap
damage=1+random%101
getpower=0,0
animtype=hard
pausetime=0,0
offset=0,-20
velocity=-25+random%50,-25+random%50
accel=0,0
projid=610
projanim=ifelse(random%2,600,ifelse(random%2,210,220))
projscale=1,1
projshadow=0,0,0
projhits=9999999
projmisstime=10
projpriority=7
projremovetime=60
projheightbound=-9999999,9999999
projedgebound=9999999
projstagebound=9999999
priority=7
sparkno=1+random%3
sparkxy=0,0
guard.sparkno=40
hitsound=-1
guardsound=-1
ground.type=high
ground.slidetime=14
ground.hittime=16
ground.velocity=-6,0
guard.hittime=5
air.velocity=-3,-4
ignorehitpause=1
pausemovetime=2147483647
supermovetime=2147483647

[state ]
type=projectile
triggerall = anim = 210
trigger1 = animelem = 3
attr=sca,aa,at,ap
damage=1+random%101
getpower=0,0
animtype=hard
pausetime=0,0
offset=0,-20
velocity=-25+random%50,-25+random%50
accel=0,0
projid=610
projanim=ifelse(random%2,600,ifelse(random%2,210,220))
projscale=1,1
projshadow=0,0,0
projhits=9999999
projmisstime=10
projpriority=7
projremovetime=60
projheightbound=-9999999,9999999
projedgebound=9999999
projstagebound=9999999
priority=7
sparkno=1+random%3
sparkxy=0,0
guard.sparkno=40
hitsound=-1
guardsound=-1
ground.type=high
ground.slidetime=14
ground.hittime=16
ground.velocity=-6,0
guard.hittime=5
air.velocity=-3,-4
ignorehitpause=1
pausemovetime=2147483647
supermovetime=2147483647

[state ]
type=projectile
triggerall = anim = 210
trigger1 = animelem = 3
attr=sca,aa,at,ap
damage=1+random%101
getpower=0,0
animtype=hard
pausetime=0,0
offset=0,-20
velocity=-25+random%50,-25+random%50
accel=0,0
projid=610
projanim=ifelse(random%2,600,ifelse(random%2,210,220))
projscale=1,1
projshadow=0,0,0
projhits=9999999
projmisstime=10
projpriority=7
projremovetime=60
projheightbound=-9999999,9999999
projedgebound=9999999
projstagebound=9999999
priority=7
sparkno=1+random%3
sparkxy=0,0
guard.sparkno=40
hitsound=-1
guardsound=-1
ground.type=high
ground.slidetime=14
ground.hittime=16
ground.velocity=-6,0
guard.hittime=5
air.velocity=-3,-4
ignorehitpause=1
pausemovetime=2147483647
supermovetime=2147483647

[state ]
type=projectile
triggerall = anim = 210
trigger1 = animelem = 3
attr=sca,aa,at,ap
damage=1+random%101
getpower=0,0
animtype=hard
pausetime=0,0
offset=0,-20
velocity=-25+random%50,-25+random%50
accel=0,0
projid=610
projanim=ifelse(random%2,600,ifelse(random%2,210,220))
projscale=1,1
projshadow=0,0,0
projhits=9999999
projmisstime=10
projpriority=7
projremovetime=60
projheightbound=-9999999,9999999
projedgebound=9999999
projstagebound=9999999
priority=7
sparkno=1+random%3
sparkxy=0,0
guard.sparkno=40
hitsound=-1
guardsound=-1
ground.type=high
ground.slidetime=14
ground.hittime=16
ground.velocity=-6,0
guard.hittime=5
air.velocity=-3,-4
ignorehitpause=1
pausemovetime=2147483647
supermovetime=2147483647

[state ]
type=projectile
triggerall = anim = 210
trigger1 = animelem = 3
attr=sca,aa,at,ap
damage=1+random%101
getpower=0,0
animtype=hard
pausetime=0,0
offset=0,-20
velocity=-25+random%50,-25+random%50
accel=0,0
projid=610
projanim=ifelse(random%2,600,ifelse(random%2,210,220))
projscale=1,1
projshadow=0,0,0
projhits=9999999
projmisstime=10
projpriority=7
projremovetime=60
projheightbound=-9999999,9999999
projedgebound=9999999
projstagebound=9999999
priority=7
sparkno=1+random%3
sparkxy=0,0
guard.sparkno=40
hitsound=-1
guardsound=-1
ground.type=high
ground.slidetime=14
ground.hittime=16
ground.velocity=-6,0
guard.hittime=5
air.velocity=-3,-4
ignorehitpause=1
pausemovetime=2147483647
supermovetime=2147483647

[state ]
type=projectile
triggerall = anim = 210
trigger1 = animelem = 3
attr=sca,aa,at,ap
damage=1+random%101
getpower=0,0
animtype=hard
pausetime=0,0
offset=0,-20
velocity=-25+random%50,-25+random%50
accel=0,0
projid=610
projanim=ifelse(random%2,600,ifelse(random%2,210,220))
projscale=1,1
projshadow=0,0,0
projhits=9999999
projmisstime=10
projpriority=7
projremovetime=60
projheightbound=-9999999,9999999
projedgebound=9999999
projstagebound=9999999
priority=7
sparkno=1+random%3
sparkxy=0,0
guard.sparkno=40
hitsound=-1
guardsound=-1
ground.type=high
ground.slidetime=14
ground.hittime=16
ground.velocity=-6,0
guard.hittime=5
air.velocity=-3,-4
ignorehitpause=1
pausemovetime=2147483647
supermovetime=2147483647

[state ]
type=projectile
triggerall = anim = 220
trigger1 = animelem = 5
attr=sca,aa,at,ap
damage=1+random%101
getpower=0,0
animtype=hard
pausetime=0,0
offset=0,-20
velocity=5+random%10,0
accel=0,0
projid=610
projanim=131313
projscale=.5,.5
projshadow=0,0,0
projhits=9999999
projmisstime=10
projpriority=7
projremovetime=60
projsprpriority = ifelse(random%2,999999999,-999999999)
projheightbound=-9999999,9999999
projedgebound=9999999
projstagebound=9999999
priority=7
sparkno=1+random%3
sparkxy=0,0
guard.sparkno=40
hitsound=-1
guardsound=-1
ground.type=high
ground.slidetime=14
ground.hittime=16
ground.velocity=-6,0
guard.hittime=5
air.velocity=-3,-4
ignorehitpause=1
pausemovetime=2147483647
supermovetime=2147483647

[state ]
type=projectile
triggerall = anim = 600
trigger1 = animelem = 3
attr=sca,aa,at,ap
damage=1+random%101
getpower=0,0
animtype=hard
pausetime=0,0
offset=0,-20
velocity=ifelse(random%2,-5-random%-10,5+random%10),0
accel=0,0
projid=610
projanim=131314
projscale=.5,.5
projshadow=0,0,0
projhits=9999999
projmisstime=10
projpriority=7
projremovetime=60
projsprpriority = ifelse(random%2,999999999,-999999999)
projheightbound=-9999999,9999999
projedgebound=9999999
projstagebound=9999999
priority=7
sparkno=1+random%3
sparkxy=0,0
guard.sparkno=40
hitsound=-1
guardsound=-1
ground.type=high
ground.slidetime=14
ground.hittime=16
ground.velocity=-6,0
guard.hittime=5
air.velocity=-3,-4
ignorehitpause=1
pausemovetime=2147483647
supermovetime=2147483647

[state ]
type = Projectile
triggerall = anim = 3030
trigger1 = animelem = 7
attr = SCA, AA,AT,AP
damage = 1+random%101
sparkno = -1
guard.sparkno = -1
ProjID = 10000
projanim = 33000
projremove = 0
projremovetime = 3
offset = enemynear,pos x,enemynear,pos y
supermovetime = 2147483647
pausemovetime = 2147483647
ignorehitpause = 1

[State 4101]
type = Explod
triggerall = anim = 3030
trigger1 = animelem = 7
removetime = 60
bindtime = -1
pausemovetime = - 1
postype = Back
pos = IfElse(Facing=1,0,1),0
anim = 300601
sprpriority = ifelse(random%2,-random,random)
;ontop = 1
OwnPal = 1
ignorehitpause = 1
supermovetime = 999999999
pausemovetime = 999999999

[State 3200, 音を鳴らす]
type = PlaySnd
triggerall = anim = 3000
trigger1 = gametime%8 = 0
value = 12345, 8

[State 3200, 飛び道具を出す]
type = Projectile
triggerall = anim = 3000
trigger1 = gametime%8 = 0
attr = SCA,AT,AP,AA
damage = 1+random%101
getpower = 0
animtype = Up
pausetime = 0,12
offset = 37,0             ;飛び道具の出現位置
velocity = 70,0            ;飛び道具の移動初速度
accel = 0,0              ;飛び道具の加速度
projID = 4600               ;飛び道具のＩＤナンバー
projanim = 4600             ;飛び道具のアニメ
projscale = 0.5,0.5         ;飛び道具の大きさ
projshadow = 0,0,0          ;飛び道具の影（現在は0,0,0なので影無し）
projhits = 1                ;飛び道具のヒット数
projmisstime = 1            ;飛び道具がヒットしない間隔（２ヒット以上のみ作用する）
projpriority = 5            ;飛び道具の攻撃優先度
projremovetime = 14         ;飛び道具が消えるまでの時間（-1なので画面外に出るか当たるまで消えない）
projsprpriority = ifelse(random%2,-random,random)
;guardflag = MA
priority = 3
sparkno = -1
guard.sparkno = 40
hitsound = s1,4
guardsound = 6,0
ground.type = Low
ground.slidetime = 14
ground.hittime = 16
ground.velocity = -1,0
air.velocity = -1,0
air.juggle = 1 ;飛び道具の場合はここでジャグルポイントを設定する必要がある
pausetime = 0,0
envshake.time = 8
envshake.ampl = 6
envshake.freq = 60
supermovetime = 999999999
pausemovetime = 999999999

[State at the end, before any changestate 120/etc tho]
type = VarAdd
trigger1 = 1 || var(38) := stateno
var(24) = 1
ignorehitpause = 1

[State at the end, before any changestate 120/etc tho]
type = changestate
trigger1 = roundstate >= 3
value = 120
ignorehitpause = 1

;-------------------------------------------------------------------------------
;dame da ne
[Statedef 694200]
type = S
movetype = U
physics = S
ctrl = 0
movehitpersist = 1
hitdefpersist = 1

[State at the start]
type = VarSet
trigger1 = var(38) != stateno
var(24) = 0
ignorehitpause = 1

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

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

[State ]
type = PlayerPush
trigger1 = 1
value = 0
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 ]
type = posset
trigger1=1
x = -100+random%200
y = -100+random%200
ignorehitpause = 1
persistent = 1

[State 0, ScreenBound]
type = ScreenBound
trigger1 = 1
value = 0
movecamera = 0,0
ignorehitpause = 1

[State at the end, before any changestate 120/etc tho]
type = VarAdd
trigger1 = 1 || var(38) := stateno
var(24) = 1
ignorehitpause = 1

[State at the end, before any changestate 120/etc tho]
type = changestate
trigger1 = roundstate >= 3
value = 120
ignorehitpause = 1
