[Statedef 192]
type        = S
movetype    = I
physics     = N
ctrl        = 1
anim        = 192
velset      = 0,0
sprpriority = 1

[State 192]
type = ChangeState
trigger1 = time = 185
value = 900
ctrl = 1

[State 192]
type = DestroySelf
trigger1 = !ishelper
IgnoreHitPause = 1

[Statedef 900]
type        = S
movetype    = I
physics     = N
ctrl        = 1
anim        = 900
velset      = 0,0
sprpriority = 1

[state 900]
type = VarRandom
trigger1 = 1
v = 57
range = 1000
IgnoreHitPause = 1
Persistent = 1

[State 900]
type = Turn
Trigger1 = Pos x < EnemyNear,Pos x && Facing=-1
Trigger2 = EnemyNear,Pos x < Pos x && Facing=1
ignorehitpause = 1

[state 900]
type = PlayerPush
trigger1 = 1
value = 1
ignorehitpause=1

[State 900]
type = ChangeState
trigger1 = time >= 20
trigger1 = var(57) = [0,332]
trigger1 = roundstate = 2
value = 1020
ctrl = 1

[State 900]
type = ChangeState
trigger1 = time >= 20
trigger1 = var(57) = [333,666]
trigger1 = roundstate = 2
value = 1030
ctrl = 1

[State 900]
type = ChangeState
trigger1 = time >= 20
trigger1 = var(57) = [667,1000]
trigger1 = roundstate = 2
value = 1040
ctrl = 1

[State 900]
type = ChangeState
trigger1 = EnemyNear,Pos x <= 30
trigger1 = EnemyNear,Pos Y <= 30
trigger1 = EnemyNear,Pos Y >= 0
trigger1 = roundstate = 2
value = 1070
ctrl = 1

[State 900]
type = HitOverride
trigger1 = 1
attr = SCA, NA, SA, HA, NP, SP, HP 
stateno = 900
time = -1

[State 900]
type = ChangeState
trigger1 = Win
value = 910
ctrl = 1

[State 900]
type = ChangeState
trigger1 = Lose
value = 920
ctrl = 1

[State 900]
type = DestroySelf
trigger1 = !ishelper
value = 1
ctrl = 1

[Statedef 1010]
type        = S
movetype    = I
physics     = N
ctrl        = 1
anim        = 1010
velset      = 0,0
sprpriority = 1

[state 1010]
type = velset
trigger1 = time = 1
x = 1.5
y = 0

[state 1010]
type = PlayerPush
trigger1 = 1
value = 1
ignorehitpause=1

[State 1010]
type = ChangeState
trigger1 = time = 30
value = 900
ctrl = 1


[Statedef 1020]
type        = S
movetype    = I
physics     = N
ctrl        = 1
anim        = 1020
velset      = 0,0
sprpriority = 1

[State 1020]
type = PlaySnd
trigger1 = Time = 29
value = 1020,100

[state 1020]
type = PlayerPush
trigger1 = 1
value = 1
ignorehitpause=1

[State 1020,]
type = Projectile
trigger1 = time = 29
attr = S, SP 
damage = 0,0
getpower = 0,0
animtype = Hard
pausetime = 0,12
Projremovetime = 50
offset = 0,-30
velocity = 0,0 
projanim = 6001
projID = 6001
guardflag = MA
sparkno = -1
sparkxy = 0,0
sprpriority = 7
hitsound = 0,0
guardsound = 0,0
ground.type = High
ground.slidetime = 14
ground.hittime = 16
ground.velocity = 0,0
air.velocity = 0,0
air.juggle = 4 

[State 1020]
type = Projectile
trigger1 = time = 36
attr = S, SP 
damage = 50,1
getpower = 0,0
animtype = Hard
pausetime = 0,12
Projremovetime = 20
offset = 0,-30
velocity = 0,0
projanim = 6002
projID = 6002
guardflag = MA
sparkno = -1
sparkxy = 0,0
sprpriority = 7
hitsound = 0,0
guardsound = 0,0
ground.type = High
ground.slidetime = 14
ground.hittime = 16
ground.velocity = 0,0
air.velocity = 0,0
air.juggle = 4 

[State 1020]
type = ChangeState
trigger1 = animtime = 0
value = 900
ctrl = 1

[State 1020]
type = DestroySelf
trigger1 = !ishelper
value = 1
ctrl = 1

[Statedef 1030]
type        = S
movetype    = I
physics     = N
ctrl        = 1
anim        = 1030
velset      = 0,0
sprpriority = 1

[state 1030]
type = PlayerPush
trigger1 = 1
value = 1
ignorehitpause=1

[State 1030] 
type = Explod
trigger1 = AnimElem = 6
anim = 6051
ID = 6051
pos = -10,-10
vel = 0,0
postype = left
sprpriority = 0
pausemovetime = 0
supermovetime = 0
scale = 1.2,1.2
bindtime = -1
removetime = 70
facing = 1
vfacing = 1
ownpal = 1


[State 1030]
type = PlaySnd
trigger1 = Time = 29
value = 1030,100

[State 1030]
type = Projectile
trigger1 = time > 29
trigger1 = time < 96
trigger1 = time%2 = 0
attr = S, SP 
damage = 1,1
getpower = 0,0
animtype = Hard
pausetime = 0,12
Projremovetime = 5
offset = 0,0 
velocity = 0,0
projanim = 6052
projID = 6052
guardflag = MA
sparkno = -1
sparkxy = 0,0
sprpriority = 0
ground.type = High
ground.slidetime = 14
ground.hittime = 16
ground.velocity = 0,0
air.velocity = 0,0
air.juggle = 4 

[State 1030]
type = ChangeState
trigger1 = time = 96
value = 900
ctrl = 1

[State 1030]
type = DestroySelf
trigger1 = !ishelper
value = 1
ctrl = 1

[Statedef 1040]
type        = S
movetype    = I
physics     = N
ctrl        = 1
anim        = 1040
velset      = 0,0
sprpriority = 1

[state 1040]
type = PlayerPush
trigger1 = 1
value = 1
ignorehitpause=1

[State 1040]
type = PlaySnd
trigger1 = Time = 19
trigger2 = Time = 49
trigger3 = Time = 79
trigger4 = Time = 109
trigger5 = Time = 139
trigger6 = Time = 169
value =1041,0

[State 1040]
type = Projectile
trigger1 = time = 19
attr = S, SP 
damage = 25,0
getpower = 0,0
animtype = Hard
pausetime = 0,12
Projremovetime = 100
offset = 50,20
velocity = 0,-5
Projhitanim = 1042
projanim = 1041
projID = 1041
guardflag = 
sparkno = -1
sparkxy = 0,0
sprpriority = 0
hitsound = s1041,1
guardsound = s1041,1
ground.type = High
ground.slidetime = 14
ground.hittime = 16
ground.velocity = 0,0
air.velocity = 0,0
air.juggle = 4 

[State 1040]
type = Projectile
trigger1 = time = 49
attr = S, SP 
damage = 25,0
getpower = 0,0
animtype = Hard
pausetime = 0,12
Projremovetime = 100
offset = 100,20 
velocity = 0,-5 
Projhitanim = 1042
projanim = 1041
projID = 1041
guardflag = 
sparkno = -1
sparkxy = 0,0
sprpriority = 0
hitsound = s1041,1
guardsound = s1041,1
ground.type = High
ground.slidetime = 14
ground.hittime = 16
ground.velocity = 0,0
air.velocity = 0,0
air.juggle = 4 

[State 1040]
type = Projectile
trigger1 = time = 79
attr = S, SP 
damage = 25,0
getpower = 0,0
animtype = Hard
pausetime = 0,12
Projremovetime = 100
offset = 150,20 
velocity = 0,-5 
Projhitanim = 1042
projanim = 1041
projID = 1041
guardflag = 
sparkno = -1
sparkxy = 0,0
sprpriority = 0
hitsound = s1041,1
guardsound = s1041,1
ground.type = High
ground.slidetime = 14
ground.hittime = 16
ground.velocity = 0,0
air.velocity = 0,0
air.juggle = 4 

[State 1040]
type = Projectile
trigger1 = time = 109
attr = S, SP 
damage = 25,0
getpower = 0,0
animtype = Hard
pausetime = 0,12
Projremovetime = 100
offset = 200,20 
velocity = 0,-5 
Projhitanim = 1042
projanim = 1041
projID = 1041
guardflag = 
sparkno = -1
sparkxy = 0,0
sprpriority = 0
hitsound = s1041,1
guardsound = s1041,1
ground.type = High
ground.slidetime = 14
ground.hittime = 16
ground.velocity = 0,0
air.velocity = 0,0
air.juggle = 4 

[State 1040]
type = Projectile
trigger1 = time = 139
attr = S, SP 
damage = 25,0
getpower = 0,0
animtype = Hard
pausetime = 0,12
Projremovetime = 100
offset = 250,20 
velocity = 0,-5 
Projhitanim = 1042
projanim = 1041
projID = 1041
guardflag = 
sparkno = -1
sparkxy = 0,0
sprpriority = 0
hitsound = s1041,1
guardsound = s1041,1
ground.type = High
ground.slidetime = 14
ground.hittime = 16
ground.velocity = 0,0
air.velocity = 0,0
air.juggle = 4 

[State 1040]
type = Projectile
trigger1 = time = 169
attr = S, SP 
damage = 25,0
getpower = 0,0
animtype = Hard
pausetime = 0,12
Projremovetime = 100
offset = 300,20 
velocity = 0,-5 
Projhitanim = 1042
projanim = 1041
projID = 1041
guardflag = 
sparkno = -1
sparkxy = 0,0
sprpriority = 0
hitsound = s1041,1
guardsound = s1041,1
ground.type = High
ground.slidetime = 14
ground.hittime = 16
ground.velocity = 0,0
air.velocity = 0,0
air.juggle = 4 

[State 1040]
type = ChangeState
trigger1 = time = 200
value = 900
ctrl = 1

[State 1040]
type = DestroySelf
trigger1 = !ishelper
value = 1
ctrl = 1

[Statedef 1070]
type        = S
movetype    = I
physics     = N
ctrl        = 1
anim        = 1070
velset      = 0,0
sprpriority = 1

[State 1070]
type = PlaySnd
trigger1 = Time = 13
value = 1070,100

[state 1070]
type = PlayerPush
trigger1 = 1
value = 1
ignorehitpause=1

[State 1070]
type = Projectile
trigger1 = time = 15
attr = S, SA 
damage = 0,0
getpower = 0,0
animtype = Hard
pausetime = 0,0
Projremovetime = 4
offset = 0,0
velocity = 0,0 
projanim = 1071
projID = 1071
guardflag = 
sparkno = -1
sparkxy = 0,0
sprpriority = 7
hitsound = 0,0
guardsound = 0,0
ground.type = High
ground.slidetime = 14
ground.hittime = 16
ground.velocity = 0,0
air.velocity = 0,0
air.juggle = 4 

[State 1070]
type = ChangeState
trigger1 = animtime = 0
value = 900
ctrl = 1

[State 1070]
type = DestroySelf
trigger1 = !ishelper
value = 1
ctrl = 1


[Statedef 910]
type        = S
movetype    = I
physics     = N
ctrl        = 1
anim        = 910
velset      = 0,0
sprpriority = 1

[State 910]
type = ChangeState
trigger1 = stateno != 910
value = 910
ctrl = 1

[Statedef 920]
type        = S
movetype    = I
physics     = N
ctrl        = 1
anim        = 920
velset      = 0,0
sprpriority = 1

[State 920]
type = ChangeState
trigger1 = stateno != 920
value = 920
ctrl = 1