Frame 1
polosa._xscale = (getBytesLoaded() / getBytesTotal()) * 100;
if (polosa._xscale == 100) {
gotoAndPlay (3);
}
_root._x = -20;
_root._y = -20;
Frame 2
gotoAndPlay (1);
Frame 4
MovieClip.prototype.block2 = function (tg) {
_root.lev.shadx.dp++;
duplicateMovieClip (_root.lev.shadx.shdb1, "shd" + _root.lev.shadx.dp, _root.lev.shadx.dp);
_root.lev.shadx["shd" + _root.lev.shadx.dp]._x = this._x - 7;
_root.lev.shadx["shd" + _root.lev.shadx.dp]._y = this._y + 7;
_root.lev.shadx["shd" + _root.lev.shadx.dp]._rotation = this._rotation;
};
MovieClip.prototype.block1 = function () {
if (_rotation == 0) {
this.tex._rotation = random(360);
}
_root.lev.shadx.dp++;
duplicateMovieClip (_root.lev.shadx.shda, "shd" + _root.lev.shadx.dp, _root.lev.shadx.dp);
_root.lev.shadx["shd" + _root.lev.shadx.dp]._x = this._x;
_root.lev.shadx["shd" + _root.lev.shadx.dp]._y = this._y;
};
scrs = 0;
scp.splice(0);
cp = 0;
lvr = 1;
gotoAndPlay (10);
Frame 5
life = 100;
if (die == 44) {
die = 0;
life = 100;
}
i = 0;
while (i <= 30) {
j = 0;
while (j <= 30) {
pole[j][i] = 0;
j++;
}
i++;
}
fl = _root.lvr - 1;
plsc = scrs - lvsc;
levelscore = (("Level " + fl) + " score ") + plsc;
lvsc = scrs;
Mouse.show();
board.gotoAndPlay(1);
stop();
Frame 6
if (lvr > 5) {
if (((/:game == 1) or (skp == 1)) or (/:game == 2)) {
gotoAndPlay (13);
} else if (bnsd != 1) {
gotoAndPlay (42);
} else {
gotoAndPlay (39);
}
} else {
gotoAndPlay (7);
}
Frame 8
gotoAndStop (7);
Frame 10
MovieClip.prototype.addblock = function () {
x = 0;
while (x < 24) {
y = 0;
while (y < 24) {
if (this.hitTest((x * 20) + 10, (y * 20) + 10, 1) == true) {
/:pole[x][y] = 1;
if (this.blo2.hitTest((x * 20) + 10, (y * 20) + 10, 1) == true) {
duplicateMovieClip (_root.lev.fon2.block2, (("blo" + x) + "a") + y, (y * 40) + x);
}
if (this.blo.hitTest((x * 20) + 10, (y * 20) + 10, 1) == true) {
duplicateMovieClip (_root.lev.fon2.block, (("blo" + x) + "a") + y, (y * 40) + x);
}
with (_root.lev.fon2[(("blo" + x) + "a") + y]) {
_x = (x * 20) + 10;
_y = (y * 20) + 10;
}
}
y++;
}
x++;
}
};
MovieClip.prototype.addblock2 = function () {
x = 0;
while (x < 24) {
y = 0;
while (y < 24) {
if (this.hitTest((x * 20) + 10, (y * 20) + 10, 1) == true) {
/:pole[x][y] = 1;
}
y++;
}
x++;
}
x = 0;
while (x < 40) {
y = 0;
while (y < 40) {
if (this.edy.hitTest((x * 40) + 20, (y * 40) + 20, 1) == true) {
duplicateMovieClip (_root.lev.blockb, (("blob" + x) + "a") + y, ((y * 40) + x) - 10);
with (_root.lev[(("blob" + x) + "a") + y]) {
_x = (x * 40) + 20;
_y = (y * 40) + 20;
}
}
y++;
}
x++;
}
};
MovieClip.prototype.addone = function () {
x = 0;
while (x < 40) {
y = 0;
while (y < 40) {
if (this.hitTest((x * 20) + 10, (y * 20) + 10, 1) == true) {
gg = 0;
if (this.plus50.hitTest((x * 20) + 10, (y * 20) + 10, 1) == true) {
gg = 1;
duplicateMovieClip (_root.lev.starf, (("str" + x) + "a") + y, (y * 40) + x);
}
if (this.plus100.hitTest((x * 20) + 10, (y * 20) + 10, 1) == true) {
gg = 1;
duplicateMovieClip (_root.lev.starff, (("str" + x) + "a") + y, (y * 40) + x);
}
if (this.plusx2.hitTest((x * 20) + 10, (y * 20) + 10, 1) == true) {
gg = 1;
duplicateMovieClip (_root.lev.stard, (("str" + x) + "a") + y, (y * 40) + x);
}
if (this.plusx3.hitTest((x * 20) + 10, (y * 20) + 10, 1) == true) {
gg = 1;
duplicateMovieClip (_root.lev.stardd, (("str" + x) + "a") + y, (y * 40) + x);
}
if (gg != 1) {
duplicateMovieClip (_root.lev.star, (("str" + x) + "a") + y, (y * 40) + x);
}
with (_root.lev[(("str" + x) + "a") + y]) {
_x = (x * 20) + 10;
_y = (y * 20) + 10;
}
}
y++;
}
x++;
}
};
MovieClip.prototype.addtrap = function () {
x = 0;
while (x < 40) {
y = 0;
while (y < 40) {
bb = 0;
if (this.bomb.hitTest((x * 20) + 10, (y * 20) + 10, 1) == true) {
bb = 1;
duplicateMovieClip (_root.lev.trap.bombr, (("trp" + x) + "a") + y, (y * 40) + x);
}
if (this.holes.hitTest((x * 20) + 10, (y * 20) + 10, 1) == true) {
bb = 1;
duplicateMovieClip (_root.lev.trap.hole, (("trp" + x) + "a") + y, (y * 40) + x);
}
if (this.acids.hitTest((x * 20) + 10, (y * 20) + 10, 1) == true) {
bb = 1;
duplicateMovieClip (_root.lev.trap.acid, (("trp" + x) + "a") + y, (y * 40) + x);
}
if (bb == 1) {
with (_root.lev.trap[(("trp" + x) + "a") + y]) {
_x = (x * 20) + 10;
_y = (y * 20) + 10;
}
}
y++;
}
x++;
}
};
Frame 11
MovieClip.prototype.texcol = function () {
function fillit() {
}
i = 1;
while (i < 4) {
if (_root.lev["clp" + i].hitTest(this._x, this._y, 1) == true) {
this.cok = 1;
this.r2 = _root.lev["clp" + i].r2;
this.g2 = _root.lev["clp" + i].g2;
this.b2 = _root.lev["clp" + i].b2;
i = 4;
}
i++;
}
if (this.cok != 1) {
i = 4;
this.r2 = _root.lev["clp" + i].r2;
this.g2 = _root.lev["clp" + i].g2;
this.b2 = _root.lev["clp" + i].b2;
}
with (this) {
col = new Color(tex);
pal = new Object();
pal = {ra:100, rb:r2, ga:100, gb:g2, ba:100, bb:b2, aa:"100", ab:"0"};
col.setTransform(pal);
}
};
MovieClip.prototype.texcolb = function () {
with (this) {
col1 = new Color(tex2);
pal1 = new Object();
pal1 = {ra:100, rb:(g2 / 8) + 20, ga:100, gb:(b2 / 8) + 20, ba:100, bb:(r2 / 8) + 20, aa:"100", ab:"0"};
col1.setTransform(pal1);
}
};
scp = new Array();
cmb = 0;
scp.splice(0);
MovieClip.prototype.texcol2 = function () {
function fillit() {
}
i = 1;
while (i < 4) {
if (_root.lev["clk" + i].hitTest(this._x, this._y, 1) == true) {
this.cok = 1;
this.r2 = _root.lev["clk" + i].r2;
this.g2 = _root.lev["clk" + i].g2;
this.b2 = _root.lev["clk" + i].b2;
i = 4;
}
i++;
}
if (this.cok != 1) {
i = 4;
this.r2 = _root.lev["clk" + i].r2;
this.g2 = _root.lev["clk" + i].g2;
this.b2 = _root.lev["clk" + i].b2;
}
with (this) {
col = new Color(tex);
pal = new Object();
pal = {ra:100, rb:r2, ga:100, gb:g2, ba:100, bb:b2, aa:"100", ab:"0"};
col.setTransform(pal);
}
};
MovieClip.prototype.texcol3 = function () {
function fillit() {
}
i = 1;
while (i < 4) {
if (_root.lev["clb" + i].hitTest(this._x, this._y, 1) == true) {
this.cok = 1;
this.r2 = _root.lev["clb" + i].r2;
this.g2 = _root.lev["clb" + i].g2;
this.b2 = _root.lev["clb" + i].b2;
i = 4;
}
i++;
}
if (this.cok != 1) {
i = 4;
this.r2 = _root.lev["clb" + i].r2;
this.g2 = _root.lev["clb" + i].g2;
this.b2 = _root.lev["clb" + i].b2;
}
with (this) {
col = new Color(tex);
pal = new Object();
pal = {ra:100, rb:r2, ga:100, gb:g2, ba:100, bb:b2, aa:"100", ab:"0"};
col.setTransform(pal);
}
};
MovieClip.prototype.restexcol = function () {
i = 1;
while (i < 5) {
_root.lev["clp" + i]._visible = 0;
_root.lev["clp" + i].r2 = 0;
_root.lev["clp" + i].g2 = 0;
_root.lev["clp" + i].b2 = 0;
i++;
}
i = 1;
while (i < 5) {
_root.lev["clk" + i]._visible = 0;
_root.lev["clk" + i].r2 = 0;
_root.lev["clk" + i].g2 = 0;
_root.lev["clk" + i].b2 = 0;
i++;
}
i = 1;
while (i < 5) {
_root.lev["clb" + i]._visible = 0;
_root.lev["clb" + i].r2 = 0;
_root.lev["clb" + i].g2 = 0;
_root.lev["clb" + i].b2 = 0;
i++;
}
};
Frame 12
gotoAndPlay (30);
Frame 15
i = 1;
while (i < 6) {
_root["lvsc" + i] = 0;
i++;
}
_quality = "high";
i = 0;
while (i < 10) {
nm = i + 10;
sct["SCORE" + i] = locdat.data["svd" + i];
if (sct["SCORE" + i] < 1) {
sct["SCORE" + i] = 0;
}
sct["NAME" + i] = locdat.data["svd" + nm];
if (sct["NAME" + i].length < 1) {
sct["NAME" + i] = "-";
}
i++;
}
sct.NAME10 = name;
sct.SCORE10 = scrs;
lp = 0;
while (lp < 11) {
i = 0;
while (i < 10) {
j = i + 1;
if (sct["SCORE" + i] < sct["SCORE" + j]) {
mem1 = sct["SCORE" + i];
mem2 = sct["NAME" + i];
sct["SCORE" + i] = sct["SCORE" + j];
sct["NAME" + i] = sct["NAME" + j];
sct["SCORE" + j] = mem1;
sct["NAME" + j] = mem2;
}
i++;
}
lp++;
}
i = 0;
while (i < 10) {
nm = i + 10;
locdat.data["svd" + i] = sct["SCORE" + i];
locdat.data["svd" + nm] = sct["NAME" + i];
i++;
}
locdat.flush();
locdatnam.data.namerb = name;
locdatnam.flush();
Mouse.show();
Frame 16
stop();
Frame 30
Mouse.show();
pole = new Array([], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], []);
locdat = SharedObject.getLocal("rumbleballf3");
locdatnam = SharedObject.getLocal("rumblebalf3name");
name = locdatnam.data.namerb;
game = 2;
i = 1;
while (i <= 3) {
_root["gs" + i].gotoAndPlay(1);
i++;
}
life = 100;
gotoAndStop (31);
Instance of Symbol 396 MovieClip in Frame 30
on (keyPress "<Enter>") {
gotoAndPlay (33);
}
Frame 32
gotoAndStop (31);
Frame 33
lvsc = 0;
skp = 0;
scrs = 0;
bns = 0;
bnsd = 0;
locdatnam.data.namerb = name;
if (/:game == 2) {
Set("/:pms", 3);
}
if (/:game == 3) {
Set("/:pms", 1);
}
if (/:game == 3) {
Set("/:sgs", 10);
}
if (/:game == 2) {
Set("/:sgs", 5);
}
if (/:game == 1) {
Set("/:sgs", 3);
}
locdatnam.flush();
if (name.length > 0) {
gotoAndStop (6);
stopAllSounds();
} else {
gotoAndStop (31);
}
Frame 36
life = 100;
i = 0;
while (i <= 30) {
j = 0;
while (j <= 30) {
pole[j][i] = 0;
j++;
}
i++;
}
Mouse.show();
gotoAndPlay (6);
Frame 37
gotoAndStop (36);
Frame 39
gotoAndStop (40);
Instance of Symbol 396 MovieClip in Frame 39
on (keyPress "<Enter>") {
gotoAndPlay (33);
}
Frame 40
if (bns != 1) {
scrs = scrs + 5000;
bns = 1;
}
Frame 41
gotoAndStop (40);
Frame 42
gotoAndStop (43);
Frame 43
if (bns != 1) {
scrs = scrs + 10000;
bns = 1;
}
Frame 44
gotoAndStop (43);
Symbol 13 MovieClip Frame 1
_root.dwn = 0;
ddd = 0;
_root.clc = 0;
_visible = 0;
Symbol 13 MovieClip Frame 2
this.onMouseDown = function () {
ddd = 1;
};
this.onMouseUp = function () {
_root.clc++;
};
Symbol 13 MovieClip Frame 3
if (ddd == 1) {
_root.dwn++;
}
if (_root.clc == 0) {
gotoAndPlay (2);
}
Symbol 19 MovieClip Frame 2
r2 = /:lev.clp4.r2 / 2;
g2 = /:lev.clp4.g2 / 2;
b2 = /:lev.clp4.b2 / 2;
col = new Color(this);
pal = new Object();
pal = {ra:100, rb:r2, ga:100, gb:g2, ba:100, bb:b2, aa:"100", ab:"0"};
col.setTransform(pal);
stop();
Symbol 29 MovieClip Frame 1
levic = "Level " + _root.lvr;
if (_root.lvr > 5) {
levic = "Results";
}
Symbol 29 MovieClip Frame 2
if (mask._yscale < 100) {
mask._yscale = mask._yscale + 10;
}
if ((_root.dwn > 0) or keyPress("<Enter>")) {
gotoAndPlay (6);
}
Symbol 29 MovieClip Frame 3
gotoAndPlay (2);
Symbol 29 MovieClip Frame 6
_root.play();
stop();
Symbol 44 MovieClip Frame 1
_root.lev.shadx.dp++;
duplicateMovieClip (_root.lev.shadx.shdg, "shd" + _root.lev.shadx.dp, _root.lev.shadx.dp);
sdel = "shd" + _root.lev.shadx.dp;
_root.lev.shadx["shd" + _root.lev.shadx.dp]._x = _x;
_root.lev.shadx["shd" + _root.lev.shadx.dp]._y = _y;
texcol3();
Symbol 44 MovieClip Frame 2
stop();
Symbol 44 MovieClip Frame 3
_root.cmb++;
with (_parent) {
dps++;
if (dps > 50) {
dps = 1;
}
}
duplicateMovieClip (_parent.scorec, "scr" + _parent.dps, _parent.dps + 1000);
_parent["scr" + _parent.dps]._x = _x;
_parent["scr" + _parent.dps]._y = _y;
_parent["scr" + _parent.dps].scc = _root.cmb * /:sgs;
_root.tne++;
_root.lev.shadx[sdel].play();
if (_root.tne > 13) {
_root.tne = 1;
}
_root.sndg.gotoAndPlay((_root.tne * 2) + 1);
Symbol 44 MovieClip Frame 4
removeMovieClip(this);
Symbol 45 MovieClip Frame 1
_root.lev.shadx.dp++;
duplicateMovieClip (_root.lev.shadx.shdg, "shd" + _root.lev.shadx.dp, _root.lev.shadx.dp);
sdel = "shd" + _root.lev.shadx.dp;
_root.lev.shadx["shd" + _root.lev.shadx.dp]._x = _x;
_root.lev.shadx["shd" + _root.lev.shadx.dp]._y = _y;
_root.lev.shadx["shd" + _root.lev.shadx.dp]._xscale = 120;
_root.lev.shadx["shd" + _root.lev.shadx.dp]._yscale = 120;
texcol3();
Symbol 45 MovieClip Frame 2
stop();
Symbol 45 MovieClip Frame 3
_root.cmb = _root.cmb + 5;
with (_parent) {
dps++;
if (dps > 50) {
dps = 1;
}
}
duplicateMovieClip (_parent.scorec, "scr" + _parent.dps, _parent.dps + 1000);
_parent["scr" + _parent.dps]._x = _x;
_parent["scr" + _parent.dps]._y = _y;
_parent["scr" + _parent.dps].scc = _root.cmb * /:sgs;
_root.lev.shadx[sdel].play();
_root.sndg.gotoAndPlay(29);
Symbol 45 MovieClip Frame 4
removeMovieClip(this);
Symbol 46 MovieClip Frame 1
_root.lev.shadx.dp++;
duplicateMovieClip (_root.lev.shadx.shdg, "shd" + _root.lev.shadx.dp, _root.lev.shadx.dp);
sdel = "shd" + _root.lev.shadx.dp;
_root.lev.shadx["shd" + _root.lev.shadx.dp]._x = _x;
_root.lev.shadx["shd" + _root.lev.shadx.dp]._y = _y;
_root.lev.shadx["shd" + _root.lev.shadx.dp]._xscale = 150;
_root.lev.shadx["shd" + _root.lev.shadx.dp]._yscale = 150;
texcol3();
Symbol 46 MovieClip Frame 2
stop();
Symbol 46 MovieClip Frame 3
_root.cmb = _root.cmb + 10;
with (_parent) {
dps++;
if (dps > 50) {
dps = 1;
}
}
duplicateMovieClip (_parent.scorec, "scr" + _parent.dps, _parent.dps + 1000);
_parent["scr" + _parent.dps]._x = _x;
_parent["scr" + _parent.dps]._y = _y;
_parent["scr" + _parent.dps].scc = _root.cmb * /:sgs;
_root.lev.shadx[sdel].play();
_root.sndg.gotoAndPlay(29);
Symbol 46 MovieClip Frame 4
removeMovieClip(this);
Symbol 53 MovieClip Frame 1
_root.lev.shadx.dp++;
duplicateMovieClip (_root.lev.shadx.shdg, "shd" + _root.lev.shadx.dp, _root.lev.shadx.dp);
sdel = "shd" + _root.lev.shadx.dp;
_root.lev.shadx["shd" + _root.lev.shadx.dp]._x = _x;
_root.lev.shadx["shd" + _root.lev.shadx.dp]._y = _y;
_root.lev.shadx["shd" + _root.lev.shadx.dp].gotoAndStop(12);
texcol3();
Symbol 53 MovieClip Frame 2
stop();
Symbol 53 MovieClip Frame 3
_root.cmb = _root.cmb * 2;
with (_parent) {
dps++;
if (dps > 50) {
dps = 1;
}
}
duplicateMovieClip (_parent.scorec, "scr" + _parent.dps, _parent.dps + 1000);
_parent["scr" + _parent.dps]._x = _x;
_parent["scr" + _parent.dps]._y = _y;
_parent["scr" + _parent.dps].scc = _root.cmb * /:sgs;
_root.lev.shadx[sdel].play();
if (/:cmb > 0) {
_root.sndg.gotoAndPlay(31);
} else {
_root.sndg.gotoAndPlay(33);
}
Symbol 53 MovieClip Frame 4
removeMovieClip(this);
Symbol 56 MovieClip Frame 1
_root.lev.shadx.dp++;
duplicateMovieClip (_root.lev.shadx.shdg, "shd" + _root.lev.shadx.dp, _root.lev.shadx.dp);
sdel = "shd" + _root.lev.shadx.dp;
_root.lev.shadx["shd" + _root.lev.shadx.dp]._x = _x;
_root.lev.shadx["shd" + _root.lev.shadx.dp]._y = _y;
_root.lev.shadx["shd" + _root.lev.shadx.dp]._xscale = 120;
_root.lev.shadx["shd" + _root.lev.shadx.dp]._yscale = 120;
texcol3();
Symbol 56 MovieClip Frame 2
stop();
Symbol 56 MovieClip Frame 3
_root.cmb = _root.cmb * 3;
with (_parent) {
dps++;
if (dps > 50) {
dps = 1;
}
}
duplicateMovieClip (_parent.scorec, "scr" + _parent.dps, _parent.dps + 1000);
_parent["scr" + _parent.dps]._x = _x;
_parent["scr" + _parent.dps]._y = _y;
_parent["scr" + _parent.dps].scc = _root.cmb * /:sgs;
_root.tne++;
_root.lev.shadx[sdel].play();
if (_root.tne > 13) {
_root.tne = 1;
}
if (_root.sfx != 2) {
_root.sndg.gotoAndPlay((_root.tne * 2) + 1);
}
Symbol 56 MovieClip Frame 20
removeMovieClip(this);
Symbol 62 MovieClip Frame 1
stop();
Symbol 62 MovieClip Frame 11
removeMovieClip(this);
Symbol 65 MovieClip Frame 1
stop();
Symbol 65 MovieClip Frame 11
removeMovieClip(this);
Symbol 65 MovieClip Frame 12
stop();
Symbol 65 MovieClip Frame 13
gotoAndPlay (2);
Symbol 82 MovieClip Frame 1
gotoAndStop(../:scl + 1);
scc = _parent.scc;
Symbol 83 MovieClip Frame 1
if (_name == "scorec") {
gotoAndStop (16);
} else {
/:scl++;
if (/:scl > 7) {
Set("/:scl", 1);
}
scl = /:scl;
gotoAndPlay (2);
}
Symbol 83 MovieClip Frame 2
_root.scrs = _root.scrs + scc;
_root.scor1.play();
Symbol 83 MovieClip Frame 15
removeMovieClip(this);
Symbol 86 MovieClip Frame 1
_root.ball.gotoAndPlay(22);
Symbol 86 MovieClip Frame 2
stop();
Symbol 87 MovieClip Frame 1
lk = 0;
Symbol 87 MovieClip Frame 5
if (_root.items.lst < 1) {
_root.lvr++;
gotoAndPlay (7);
}
Symbol 87 MovieClip Frame 6
gotoAndPlay (5);
Symbol 87 MovieClip Frame 19
_root.gotoAndStop(5);
Symbol 91 MovieClip Frame 1
_rotation = random(360);
_x = (random(20) - 10);
_y = (random(20) - 10);
Symbol 102 MovieClip Frame 1
_visible = 0;
Symbol 103 MovieClip Frame 1
ex = 2;
block1();
texcol();
texcolb();
Symbol 103 MovieClip Frame 2
x = Math.floor(_x / 40);
y = Math.floor(_y / 40);
y1 = y - 1;
x1 = x;
if (_parent[(("blob" + x1) + "a") + y1].ex != 2) {
unloadMovie (w1);
} else {
w1._visible = 1;
}
y1 = y;
x1 = x + 1;
if (_parent[(("blob" + x1) + "a") + y1].ex != 2) {
unloadMovie (w2);
} else {
w2._visible = 1;
}
y1 = y + 1;
x1 = x;
if (_parent[(("blob" + x1) + "a") + y1].ex != 2) {
unloadMovie (w3);
} else {
w3._visible = 1;
}
y1 = y;
x1 = x - 1;
if (_parent[(("blob" + x1) + "a") + y1].ex != 2) {
unloadMovie (w4);
} else {
w4._visible = 1;
}
stop();
Symbol 104 MovieClip Frame 1
_rotation = random(360);
_x = (random(10) - 5);
_y = (random(10) - 5);
Symbol 109 MovieClip Frame 1
if (rst != 1) {
_root.lev.shadx.dp++;
duplicateMovieClip (_root.lev.shadx.shdc, "shd" + _root.lev.shadx.dp, _root.lev.shadx.dp);
sdel = "shd" + _root.lev.shadx.dp;
_root.lev.shadx["shd" + _root.lev.shadx.dp]._x = _x;
_root.lev.shadx["shd" + _root.lev.shadx.dp]._y = _y;
if (_name != "block") {
_root.items.lst++;
}
texcol2();
rst = 1;
}
stop();
Symbol 109 MovieClip Frame 2
if (_root.ball.spd > 0) {
/:pole[Math.floor(_x / 20)][Math.floor(_y / 20)] = 0;
_root.ball.sbl = 2;
_root.cmb++;
with (_parent._parent) {
dps++;
if (dps > 50) {
dps = 1;
}
}
dps = _parent._parent.dps;
_root.items.lst--;
_root.items.play();
duplicateMovieClip (_parent._parent.scorec, "scr" + dps, dps + 1000);
_parent._parent["scr" + dps]._x = _x - _parent._x;
_parent._parent["scr" + dps]._y = _y - _parent._y;
_parent._parent["scr" + dps].scc = _root.cmb * /:sgs;
_root.tneb++;
if (_root.tneb > 6) {
_root.tneb = 1;
}
_root.sndb.gotoAndPlay((_root.tneb * 2) + 1);
_root.lev.shadx[sdel].play();
} else {
gotoAndStop (1);
}
Symbol 109 MovieClip Frame 3
removeMovieClip(this);
Symbol 116 MovieClip Frame 1
if (rst != 1) {
_root.lev.shadx.dp++;
duplicateMovieClip (_root.lev.shadx.shdc, "shd" + _root.lev.shadx.dp, _root.lev.shadx.dp);
sdel = "shd" + _root.lev.shadx.dp;
_root.lev.shadx["shd" + _root.lev.shadx.dp]._x = _x;
_root.lev.shadx["shd" + _root.lev.shadx.dp]._y = _y;
if (_name != "block2") {
_root.items.lst++;
}
texcol2();
rst = 1;
}
stop();
Symbol 116 MovieClip Frame 2
if (_root.ball.spd > 4) {
gotoAndStop (4);
} else {
gotoAndStop (1);
}
Symbol 116 MovieClip Frame 3
removeMovieClip(this);
Symbol 116 MovieClip Frame 5
if (_root.ball.spd > 0) {
/:pole[Math.floor(_x / 20)][Math.floor(_y / 20)] = 0;
_root.ball.sbl = 2;
_root.cmb++;
with (_parent._parent) {
dps++;
if (dps > 50) {
dps = 1;
}
}
dps = _parent._parent.dps;
_root.items.lst--;
_root.items.play();
duplicateMovieClip (_parent._parent.scorec, "scr" + dps, dps + 1000);
_parent._parent["scr" + dps]._x = _x - _parent._x;
_parent._parent["scr" + dps]._y = _y - _parent._y;
_parent._parent["scr" + dps].scc = _root.cmb * /:sgs;
_root.tneb++;
if (_root.tneb > 6) {
_root.tneb = 1;
}
_root.sndb.gotoAndPlay((_root.tneb * 2) + 1);
_root.lev.shadx[sdel].play();
removeMovieClip(this);
} else {
gotoAndStop (4);
}
Symbol 116 MovieClip Frame 6
removeMovieClip(this);
Symbol 122 MovieClip Frame 1
_visible = 0;
Symbol 122 MovieClip Frame 2
stop();
Symbol 124 MovieClip Frame 1
_visible = 0;
Symbol 124 MovieClip Frame 3
addblock2();
Symbol 124 MovieClip Frame 4
stop();
Symbol 126 MovieClip Frame 1
_visible = 0;
Symbol 135 MovieClip Frame 1
_visible = 0;
_root.ball.gotoAndStop(32);
Symbol 135 MovieClip Frame 2
gotoAndPlay (1);
Symbol 137 MovieClip Frame 1
stop();
Symbol 137 MovieClip Frame 2
_root.ball.gotoAndStop(32);
/:sndg.gotoAndPlay(37);
Symbol 137 MovieClip Frame 18
Set("/:life", /:life - (40 / /:pms));
/:lifem.play();
/:slash.ck = 0;
/:slash.gotoAndPlay(2);
Symbol 137 MovieClip Frame 19
/:ball._x = /:ball.xst;
/:ball._y = /:ball.yst;
/:cur.gotoAndPlay(4);
/:ball.gotoAndPlay(10);
Symbol 144 MovieClip Frame 1
stop();
Symbol 144 MovieClip Frame 2
if (bk != 2) {
_root.idp++;
if (_root.idp > 20) {
_root.idp = 1;
}
duplicateMovieClip (_root.blow, "bls" + _root.idp, _root.idp);
_root["bls" + _root.idp]._x = _x;
_root["bls" + _root.idp]._y = _y;
Set("/:life", /:life - (20 / /:pms));
/:lifem.play();
/:slash.ck = 0;
/:slash.gotoAndPlay(2);
/:sndg.gotoAndPlay(35);
}
bk = 2;
Symbol 144 MovieClip Frame 3
removeMovieClip(this);
Symbol 147 MovieClip Frame 1
_visible = 0;
Symbol 147 MovieClip Frame 2
if (_root.game != 1) {
addtrap();
}
Symbol 147 MovieClip Frame 3
_visible = 1;
stop();
Symbol 151 MovieClip Frame 1
_visible = 0;
Symbol 151 MovieClip Frame 3
addone();
Symbol 151 MovieClip Frame 4
_visible = 1;
stop();
Symbol 154 MovieClip Frame 1
_visible = 0;
Symbol 154 MovieClip Frame 3
addblock();
Symbol 154 MovieClip Frame 4
_visible = 1;
stop();
Symbol 156 MovieClip Frame 1
_visible = o;
_root.ball._x = _x - _parent._x;
_root.ball._y = _y - _parent._y;
_root.x1 = _x - _parent._x;
_root.y1 = _y - _parent._y;
unloadMovie (this);
Symbol 162 MovieClip Frame 3
_root.items.play();
unloadMovie (this);
Symbol 165 MovieClip Frame 3
addblock2();
Symbol 165 MovieClip Frame 4
stop();
Symbol 171 MovieClip Frame 1
_visible = 0;
Symbol 171 MovieClip Frame 3
addone();
Symbol 171 MovieClip Frame 4
_visible = 1;
stop();
Symbol 176 MovieClip Frame 1
_visible = 0;
Symbol 176 MovieClip Frame 3
addblock();
Symbol 176 MovieClip Frame 4
_visible = 1;
stop();
Symbol 181 MovieClip Frame 1
_visible = 0;
if (_root.game != 1) {
addtrap();
}
Symbol 181 MovieClip Frame 3
_visible = 1;
stop();
Symbol 189 MovieClip Frame 1
_visible = 0;
Symbol 189 MovieClip Frame 3
addone(1);
Symbol 189 MovieClip Frame 4
_visible = 1;
stop();
Symbol 192 MovieClip Frame 3
addblock2();
Symbol 192 MovieClip Frame 4
stop();
Symbol 197 MovieClip Frame 1
_visible = 0;
Symbol 197 MovieClip Frame 3
addblock();
Symbol 197 MovieClip Frame 4
_visible = 1;
stop();
Symbol 209 MovieClip Frame 1
stop();
Symbol 209 MovieClip Frame 2
Set("/:life", /:life - (0.5 / /:pms));
/:lifem.play();
/:slash.ck = 0;
/:slash.gotoAndPlay(2);
Symbol 209 MovieClip Frame 3
/:sndg.gotoAndPlay(39);
Set("/:life", /:life - (0.5 / /:pms));
/:lifem.play();
if (this.hitTest(/:ball._x, /:ball._y, 0) == true) {
gotoAndPlay (2);
}
Symbol 209 MovieClip Frame 4
gotoAndStop (1);
Symbol 214 MovieClip Frame 1
_visible = 0;
if (_root.game != 1) {
addtrap();
}
Symbol 214 MovieClip Frame 3
_visible = 1;
stop();
Symbol 219 MovieClip Frame 3
addblock2();
Symbol 219 MovieClip Frame 4
stop();
Symbol 224 MovieClip Frame 1
_visible = 0;
Symbol 224 MovieClip Frame 3
addblock();
Symbol 224 MovieClip Frame 4
_visible = 1;
stop();
Symbol 230 MovieClip Frame 1
_visible = 0;
Symbol 230 MovieClip Frame 3
addone();
Symbol 230 MovieClip Frame 4
_visible = 1;
stop();
Symbol 237 MovieClip Frame 1
_visible = 0;
if (_root.game != 1) {
addtrap();
}
Symbol 237 MovieClip Frame 3
_visible = 1;
stop();
Symbol 241 MovieClip Frame 1
_visible = 0;
Symbol 242 MovieClip Frame 3
addblock2();
Symbol 242 MovieClip Frame 4
stop();
Symbol 248 MovieClip Frame 1
_visible = 0;
Symbol 248 MovieClip Frame 3
addone();
Symbol 248 MovieClip Frame 4
_visible = 1;
stop();
Symbol 253 MovieClip Frame 1
_visible = 0;
Symbol 253 MovieClip Frame 3
addblock();
Symbol 253 MovieClip Frame 4
_visible = 1;
stop();
Symbol 260 MovieClip Frame 1
_visible = 0;
if (_root.game != 1) {
addtrap();
}
Symbol 260 MovieClip Frame 3
_visible = 1;
stop();
Symbol 263 MovieClip Frame 1
lvl = _root.lvr;
Set("/:scrs1", /:scrs);
if (lvl == 1) {
gotoAndStop (2);
}
if (lvl == 2) {
gotoAndStop (4);
}
if (lvl == 3) {
gotoAndStop (6);
}
if (lvl == 4) {
gotoAndStop (8);
}
if (lvl == 5) {
gotoAndStop (10);
}
Symbol 263 MovieClip Frame 2
dps = 1;
restexcol();
clp4.r2 = 70;
clp4.g2 = 100;
clp4.b2 = 130;
clp3.r2 = 50;
clp3.g2 = 70;
clp3.b2 = 100;
clp2.r2 = 50;
clp2.g2 = 100;
clp2.b2 = 150;
clp1.r2 = 70;
clp1.g2 = 70;
clp1.b2 = 120;
clk4.r2 = 200;
clk4.g2 = 90;
clk4.b2 = 90;
clk1.r2 = 230;
clk1.g2 = 150;
clk1.b2 = 80;
clb4.r2 = 250;
clb4.g2 = 200;
clb4.b2 = 0;
stop();
Symbol 263 MovieClip Frame 4
dps = 1;
restexcol();
clp1.r2 = 130;
clp1.g2 = 150;
clp1.b2 = 110;
clp2.r2 = 120;
clp2.g2 = 150;
clp2.b2 = 100;
clp3.r2 = 80;
clp3.g2 = 110;
clp3.b2 = 60;
clp4.r2 = 50;
clp4.g2 = 70;
clp4.b2 = 30;
clk4.r2 = 200;
clk4.g2 = 70;
clk4.b2 = 70;
clk1.r2 = 200;
clk1.g2 = 110;
clk1.b2 = 110;
clb4.r2 = 250;
clb4.g2 = 200;
clb4.b2 = 0;
stop();
Symbol 263 MovieClip Frame 6
dps = 1;
restexcol();
clp4.r2 = 70;
clp4.g2 = 100;
clp4.b2 = 130;
clp3.r2 = 0;
clp3.g2 = 30;
clp3.b2 = 70;
clp2.r2 = 30;
clp2.g2 = 70;
clp2.b2 = 90;
clp1.r2 = 70;
clp1.g2 = 100;
clp1.b2 = 130;
clk4.r2 = 200;
clk4.g2 = 140;
clk4.b2 = 77;
clk1.r2 = 210;
clk1.g2 = 80;
clk1.b2 = 80;
clb4.r2 = 250;
clb4.g2 = 200;
clb4.b2 = 0;
stop();
Symbol 263 MovieClip Frame 8
dps = 1;
restexcol();
clp4.r2 = 110;
clp4.g2 = 40;
clp4.b2 = 60;
clp3.r2 = 160;
clp3.g2 = 60;
clp3.b2 = 90;
clp2.r2 = 170;
clp2.g2 = 80;
clp2.b2 = 65;
clp1.r2 = 190;
clp1.g2 = 120;
clp1.b2 = 90;
clk4.r2 = 100;
clk4.g2 = 150;
clk4.b2 = 200;
clk1.r2 = 40;
clk1.g2 = 70;
clk1.b2 = 125;
clb4.r2 = 250;
clb4.g2 = 200;
clb4.b2 = 0;
stop();
Symbol 263 MovieClip Frame 10
dps = 1;
restexcol();
clp4.r2 = 70;
clp4.g2 = 40;
clp4.b2 = 90;
clp3.r2 = 130;
clp3.g2 = 90;
clp3.b2 = 150;
clp2.r2 = 145;
clp2.g2 = 120;
clp2.b2 = 150;
clk1.r2 = 200;
clk1.g2 = 55;
clk1.b2 = 90;
clk4.r2 = 190;
clk4.g2 = 100;
clk4.b2 = 120;
clb4.r2 = 250;
clb4.g2 = 200;
clb4.b2 = 0;
stop();
Symbol 269 MovieClip Frame 1
if (_name == "iskra") {
gotoAndStop (10);
} else {
_rotation = random(360);
gotoAndPlay (2);
}
scl = /:ball.spds * 20;
if (scl > 150) {
scl = 150;
}
if (scl < 50) {
scl = 50;
}
_xscale = scl;
_yscale = scl;
Symbol 269 MovieClip Frame 2
svl = /:ball.spds * 20;
if (svl > 100) {
svl = 100;
}
if (svl < 20) {
svl = 20;
}
/:snd.vol = svl;
/:snd.gotoAndPlay(3);
Symbol 269 MovieClip Frame 7
removeMovieClip(this);
Symbol 272 MovieClip Frame 1
if (_root.sfx != 2) {
_name = "snd";
}
if (_root.sfx == 2) {
_name = "sndoff";
}
mySound1 = new Sound(this);
stop();
Symbol 272 MovieClip Frame 3
mySound1.setVolume(vol);
mySound1.setVolume(vol);
Symbol 272 MovieClip Frame 4
stop();
Symbol 288 MovieClip Frame 1
if (_root.sfx != 2) {
_name = "sndg";
}
if (_root.sfx == 2) {
_name = "sndoff1";
}
mySoundg = new Sound(this);
mySoundg.setVolume(100);
stop();
Symbol 288 MovieClip Frame 2
stop();
Symbol 288 MovieClip Frame 4
stop();
Symbol 288 MovieClip Frame 6
stop();
Symbol 288 MovieClip Frame 8
stop();
Symbol 288 MovieClip Frame 10
stop();
Symbol 288 MovieClip Frame 12
stop();
Symbol 288 MovieClip Frame 14
stop();
Symbol 288 MovieClip Frame 16
stop();
Symbol 288 MovieClip Frame 18
stop();
Symbol 288 MovieClip Frame 20
stop();
Symbol 288 MovieClip Frame 22
stop();
Symbol 288 MovieClip Frame 24
stop();
Symbol 288 MovieClip Frame 26
stop();
Symbol 288 MovieClip Frame 28
stop();
Symbol 288 MovieClip Frame 30
stop();
Symbol 288 MovieClip Frame 32
stop();
Symbol 288 MovieClip Frame 34
stop();
Symbol 288 MovieClip Frame 36
stop();
Symbol 288 MovieClip Frame 38
stop();
Symbol 288 MovieClip Frame 40
stop();
Symbol 295 MovieClip Frame 1
if (_root.sfx != 2) {
_name = "sndb";
}
if (_root.sfx == 2) {
_name = "sndoff2";
}
mySoundg = new Sound(this);
mySoundg.setVolume(70);
stop();
Symbol 295 MovieClip Frame 2
stop();
Symbol 295 MovieClip Frame 3
mySoundg.setVolume(70);
Symbol 295 MovieClip Frame 4
stop();
Symbol 295 MovieClip Frame 5
mySoundg.setVolume(70);
Symbol 295 MovieClip Frame 6
stop();
Symbol 295 MovieClip Frame 7
mySoundg.setVolume(70);
Symbol 295 MovieClip Frame 8
stop();
Symbol 295 MovieClip Frame 9
mySoundg.setVolume(70);
Symbol 295 MovieClip Frame 10
stop();
Symbol 295 MovieClip Frame 11
mySoundg.setVolume(70);
Symbol 295 MovieClip Frame 12
stop();
Symbol 295 MovieClip Frame 13
mySoundg.setVolume(70);
Symbol 295 MovieClip Frame 14
stop();
Symbol 299 MovieClip Frame 1
_parent.rt = _parent.rt + 60;
_rotation = _parent.rt;
Symbol 299 MovieClip Frame 17
stop();
Symbol 304 MovieClip Frame 1
if (_name == "blow") {
gotoAndStop (16);
}
rt = random(360);
Symbol 304 MovieClip Frame 24
removeMovieClip(this);
Symbol 311 MovieClip Frame 1
scrs = "Score " + _root.scrs;
stop();
Symbol 314 MovieClip Frame 1
lst2 = "items " + lst;
Symbol 314 MovieClip Frame 2
stop();
Symbol 317 MovieClip Frame 1
lvl = "Level " + _root.lvr;
Symbol 322 MovieClip Frame 1
pwm._xscale = 0;
Symbol 324 MovieClip Frame 1
pwm._xscale = 0;
Symbol 324 MovieClip Frame 2
if (/:life < 0) {
Set("/:die", 44);
Set("/:bnsd", 1);
Set("/:scrs", /:scrs1);
/:gotoAndPlay(36);
}
Symbol 324 MovieClip Frame 3
st = 0;
if (lf < (/:life + 1)) {
lf = lf - ((lf - /:life) / 3);
} else {
st++;
}
if (lf > (/:life - 1)) {
lf = lf - ((lf - /:life) / 3);
} else {
st++;
}
pwm._xscale = lf;
if (st > 1) {
pwm._xscale = /:life;
gotoAndStop (2);
}
gotoAndPlay (2);
Symbol 329 MovieClip Frame 2
Mouse.show();
Symbol 329 MovieClip Frame 4
_x = getProperty("/", _xmouse);
_y = getProperty("/", _ymouse);
dx = _x - _root.ball._x;
dy = _y - _root.ball._y;
rtt = (-Math.atan2(dx, dy)) / (Math.PI/180);
/:ball.str._rotation = rtt;
_rotation = rtt;
if (_root._ymouse < 490) {
Mouse.hide();
_visible = 1;
} else {
Mouse.show();
_visible = 0;
}
Symbol 329 MovieClip Frame 5
gotoAndPlay (4);
Symbol 332 MovieClip Frame 1
_visible = 0;
Symbol 338 MovieClip Frame 1
stop();
Symbol 346 MovieClip Frame 1
function xyp(xx1, yy1) {
xp = Math.floor((_x + xx1) / 20);
yp = Math.floor((_y + yy1) / 20);
}
function getit(xpc, ypc) {
xg = (-_root.lev._x) + Math.floor((_x + xpc) / 20);
yg = (-_root.lev._y) + Math.floor((_y + ypc) / 20);
_root.lev[(("str" + xg) + "a") + yg].play();
_root.lev.trap[(("trp" + xg) + "a") + yg].gotoAndPlay(2);
}
function getit2() {
_root.lev.fon2[(("blo" + xp) + "a") + yp].play();
_root.lev.fon2[(("blo" + xp) + "a") + yp].xp = xp;
_root.lev.fon2[(("blo" + xp) + "a") + yp].yp = yp;
}
function launch() {
if (/:dwn > 0) {
spk = spk + (0.2 / ((spk / 2) + 1));
if (_root.dwn > 4) {
spk = spk + (1 / ((spk / 2) + 1));
}
}
if (spk >= 10) {
spk = 10;
}
_root.pwmtr.pwm._xscale = ((spk * spk) * spk) / 10;
delta_x = _x - _root._xmouse;
delta_y = _y - _root._ymouse;
if (Math.sqrt((delta_x * delta_x) + (delta_y * delta_y)) < 60) {
if ((spk > 0) and (_root.dwn == 0)) {
spd = spk;
spk = 0;
xst = _x;
yst = _y;
_root.tne = 0;
_root.sndg.gotoAndPlay(27);
trg = (-Math.atan2(delta_x, delta_y)) / (Math.PI/180);
if (spd < 1) {
spd = 1;
}
if (spd > 10) {
spd = 10;
}
gotoAndPlay (4);
/:cur.gotoAndStop(2);
}
}
if (/:dwn == 0) {
spk = 0;
}
}
function upor(xu, yu, xs, ys) {
xp = Math.floor((_x + xx1) / 20);
yp = Math.floor((_y + yy1) / 20);
while (/:pole[Math.floor((_x + xu) / 20)][Math.floor((_y + yu) / 20)] == 1) {
_x = (_x + xs);
_y = (_y + ys);
}
}
function iskrak(ix, iy) {
_root.idp++;
if (_root.idp > 20) {
_root.idp = 1;
}
duplicateMovieClip (_root.iskra, "iskra" + _root.idp, _root.idp);
_root["iskra" + _root.idp]._x = ix + _x;
_root["iskra" + _root.idp]._y = iy + _y;
}
_root.lev.fon.dpd = 500;
gotoAndPlay (7);
Symbol 346 MovieClip Frame 2
launch();
Set("/:cmb", 0);
if ((((_x > 460) or (_x < 0)) or (_y > 540)) or (_y < 0)) {
_x = _root.x1;
_y = _root.y1;
}
Symbol 346 MovieClip Frame 3
gotoAndPlay (2);
Symbol 346 MovieClip Frame 4
spd = spd - 0.1;
if (spd < 0.2) {
gotoAndPlay (2);
}
pp = pp + spds;
if (pp > 29) {
pp = pp - 29;
}
ball.gotoAndStop(Math.floor(pp));
ball._rotation = trg;
spds = spd;
spd1 = spd;
if (spds > 9) {
spds = 9;
}
if (spd1 > 10) {
spd1 = 10;
}
_root.pwmtr.pwm._xscale = ((spd1 * spd1) * spd1) / 10;
xm = spds * Math.cos(trg * (Math.PI/180));
ym = (-spds) * Math.sin(trg * (Math.PI/180));
_y = (_y + xm);
_x = (_x + ym);
ht = 0;
pik._rotation = trg;
upor(-9, 0, 1, 0);
upor(9, 0, -1, 0);
upor(0, 9, 0, -1);
upor(0, -9, 0, 1);
ht = 0;
trg1 = trg;
if (pik:hitTest(_x + 8, _y - 8, 1) == true) {
while (/:pole[Math.floor((_x + 8) / 20)][Math.floor((_y - 8) / 20)] == 1) {
xyp(8, -8);
ht = 1;
ix = 8;
iy = -8;
getit2();
_x = (_x-1);
_y = (_y+1);
trg1 = -90 - trg;
}
}
if (pik:hitTest(_x - 8, _y + 8, 1) == true) {
while (/:pole[Math.floor((_x - 8) / 20)][Math.floor((_y + 8) / 20)] == 1) {
xyp(-8, 8);
ht = 1;
ix = -8;
iy = 8;
getit2();
_x = (_x+1);
_y = (_y-1);
trg1 = -90 - trg;
}
}
if (pik:hitTest(_x + 8, _y + 8, 1) == true) {
while (/:pole[Math.floor((_x + 8) / 20)][Math.floor((_y + 8) / 20)] == 1) {
xyp(8, 8);
ht = 1;
ix = 8;
iy = 8;
getit2();
_x = (_x-1);
_y = (_y-1);
trg1 = 90 - trg;
}
}
if (pik:hitTest(_x - 8, _y - 8, 1) == true) {
while (/:pole[Math.floor((_x - 8) / 20)][Math.floor((_y - 8) / 20)] == 1) {
xyp(-8, -8);
ht = 1;
ix = -8;
iy = -8;
getit2();
_x = (_x+1);
_y = (_y+1);
trg1 = 90 - trg;
}
}
if (ht == 1) {
trg = trg1;
iskrak(ix, iy);
}
if ((pik:hitTest(_x, _y - 10, 1) == true) and (ht != 1)) {
upor(4, -9, 0, 1);
xyp(4, -10);
if (/:pole[xp][yp] == 1) {
ht = 1;
getit2();
xyp(-4, -10);
getit2();
trg = 180 - trg;
iskrak(0, -10);
}
}
if ((pik:hitTest(_x, _y - 10, 1) == true) and (ht != 1)) {
upor(-4, -9, 0, 1);
xyp(-4, -10);
if (/:pole[xp][yp] == 1) {
ht = 1;
getit2();
xyp(4, -10);
getit2();
trg = 180 - trg;
iskrak(0, -10);
}
}
if ((pik:hitTest(_x + 10, _y, 1) == true) and (ht != 1)) {
upor(9, 4, -1, 0);
xyp(10, 4);
if (/:pole[xp][yp] == 1) {
ht = 1;
getit2();
xyp(10, -4);
getit2();
trg = -trg;
iskrak(10, 0);
}
}
if ((pik:hitTest(_x + 10, _y, 1) == true) and (ht != 1)) {
upor(9, -4, -1, 0);
xyp(10, -4);
if (/:pole[xp][yp] == 1) {
ht = 1;
getit2();
xyp(10, 4);
getit2();
trg = -trg;
iskrak(10, 0);
}
}
if ((pik:hitTest(_x, _y + 10, 1) == true) and (ht != 1)) {
upor(4, 9, 0, -1);
xyp(4, 10);
if (/:pole[xp][yp] == 1) {
ht = 1;
getit2();
xyp(-4, 10);
getit2();
trg = 180 - trg;
iskrak(0, 10);
}
}
if ((pik:hitTest(_x, _y + 10, 1) == true) and (ht != 1)) {
upor(-4, 9, 0, -1);
xyp(-4, 10);
if (/:pole[xp][yp] == 1) {
ht = 1;
getit2();
xyp(4, 10);
getit2();
trg = 180 - trg;
iskrak(0, 10);
}
}
if ((pik:hitTest(_x - 10, _y, 1) == true) and (ht != 1)) {
upor(-9, 4, 1, 0);
xyp(-10, 4);
if (/:pole[xp][yp] == 1) {
ht = 1;
getit2();
xyp(-10, -4);
getit2();
trg = -trg;
iskrak(-10, 0);
}
}
if ((pik:hitTest(_x - 10, _y, 1) == true) and (ht != 1)) {
upor(-9, -4, 1, 0);
xyp(-10, -4);
if (/:pole[xp][yp] == 1) {
ht = 1;
getit2();
xyp(-10, 4);
getit2();
trg = -trg;
iskrak(-10, 0);
}
}
getit(0, 0);
if (spd < 1) {
/:cur.gotoAndPlay(4);
launch();
}
Symbol 346 MovieClip Frame 5
gotoAndPlay (4);
Symbol 346 MovieClip Frame 21
gotoAndPlay (2);
Symbol 346 MovieClip Frame 32
stop();
Symbol 346 MovieClip Frame 35
spd = spd - 0.1;
if (spd < 0.2) {
gotoAndPlay (2);
}
pp = pp + spds;
if (pp > 29) {
pp = pp - 29;
}
ball.gotoAndStop(Math.floor(pp));
ball._rotation = trg;
spds = spd;
spd1 = spd;
if (spds > 9) {
spds = 9;
}
if (spd1 > 10) {
spd1 = 10;
}
_root.pwmtr.pwm._xscale = ((spd1 * spd1) * spd1) / 10;
xm = spds * Math.cos(trg * (Math.PI/180));
ym = (-spds) * Math.sin(trg * (Math.PI/180));
_y = (_y + xm);
_x = (_x + ym);
ht = 0;
pik._rotation = trg;
upor(-9, 0, 1, 0);
upor(9, 0, -1, 0);
upor(0, 9, 0, -1);
upor(0, -9, 0, 1);
ht = 0;
trg1 = trg;
if (pik:hitTest(_x + 8, _y - 8, 1) == true) {
xyp(8, -8);
while (/:pole[xp][yp] == 1) {
ht = 1;
ix = 8;
iy = -8;
_x = (_x-1);
_y = (_y+1);
trg1 = -90 - trg;
}
}
if (pik:hitTest(_x - 8, _y + 8, 1) == true) {
xyp(-8, 8);
while (/:pole[xp][yp] == 1) {
ht = 1;
ix = -8;
iy = 8;
_x = (_x+1);
_y = (_y-1);
trg1 = -90 - trg;
}
}
if (pik:hitTest(_x + 8, _y + 8, 1) == true) {
xyp(8, 8);
while (/:pole[xp][yp] == 1) {
ht = 1;
ix = 8;
iy = 8;
_x = (_x-1);
_y = (_y-1);
trg1 = 90 - trg;
}
}
if (pik:hitTest(_x - 8, _y - 8, 1) == true) {
xyp(-8, -8);
while (/:pole[xp][yp] == 1) {
ht = 1;
ix = -8;
iy = -8;
_x = (_x+1);
_y = (_y+1);
trg1 = 90 - trg;
}
}
if (ht == 1) {
trg = trg1;
iskrak(ix, iy);
}
if ((pik:hitTest(_x, _y - 10, 1) == true) and (ht != 1)) {
upor(4, -9, 0, 1);
xyp(4, -10);
if (/:pole[xp][yp] == 1) {
ht = 1;
getit2();
trg = 180 - trg;
iskrak(0, -10);
}
}
if ((pik:hitTest(_x, _y - 10, 1) == true) and (ht != 1)) {
upor(-4, -9, 0, 1);
xyp(-4, -10);
if (/:pole[xp][yp] == 1) {
ht = 1;
getit2();
trg = 180 - trg;
iskrak(0, -10);
}
}
if ((pik:hitTest(_x + 10, _y, 1) == true) and (ht != 1)) {
upor(9, 4, -1, 0);
xyp(10, 4);
if (/:pole[xp][yp] == 1) {
ht = 1;
getit2();
trg = -trg;
iskrak(10, 0);
}
}
if ((pik:hitTest(_x + 10, _y, 1) == true) and (ht != 1)) {
upor(9, -4, -1, 0);
xyp(10, -4);
if (/:pole[xp][yp] == 1) {
ht = 1;
getit2();
trg = -trg;
iskrak(10, 0);
}
}
if ((pik:hitTest(_x, _y + 10, 1) == true) and (ht != 1)) {
upor(4, 9, 0, -1);
xyp(4, 10);
if (/:pole[xp][yp] == 1) {
ht = 1;
getit2();
trg = 180 - trg;
iskrak(0, 10);
}
}
if ((pik:hitTest(_x, _y + 10, 1) == true) and (ht != 1)) {
upor(-4, 9, 0, -1);
xyp(-4, 10);
if (/:pole[xp][yp] == 1) {
ht = 1;
getit2();
trg = 180 - trg;
iskrak(0, 10);
}
}
if ((pik:hitTest(_x - 10, _y, 1) == true) and (ht != 1)) {
upor(-9, 4, 1, 0);
xyp(-10, 4);
if (/:pole[xp][yp] == 1) {
ht = 1;
getit2();
trg = -trg;
iskrak(-10, 0);
}
}
if ((pik:hitTest(_x - 10, _y, 1) == true) and (ht != 1)) {
upor(-9, -4, 1, 0);
xyp(-10, -4);
if (/:pole[xp][yp] == 1) {
ht = 1;
getit2();
trg = -trg;
iskrak(-10, 0);
}
}
getit(0, 0);
if (spd < 1) {
launch();
}
Symbol 347 MovieClip Frame 1
clr = new Color(/:ball);
mycol = new Object();
mycol1 = new Object();
mycol1 = {ra:"100", rb:"0", ga:"100", gb:"0", ba:"100", bb:"0", aa:"100", ab:"0"};
stop();
Symbol 347 MovieClip Frame 2
mycol = {ra:"100", rb:"100", ga:"100", gb:"0", ba:"100", bb:"0", aa:40, ab:"0"};
clr.setTransform(mycol);
Symbol 347 MovieClip Frame 3
rk = ck * 10;
if (rk < 40) {
rk = 40;
}
mycol = {ra:"100", rb:100 - rk, ga:0 + rk, gb:"0", ba:0 + rk, bb:"0", aa:"100", ab:"0"};
clr.setTransform(mycol);
Symbol 347 MovieClip Frame 4
if (ck < 10) {
gotoAndPlay (2);
ck++;
} else {
clr.setTransform(mycol1);
stop();
}
Symbol 355 Button
on (release) {
/:items.lst = 0;
Set("/:skp", 1);
}
Symbol 361 Button
on (release) {
gotoAndPlay (15);
}
Symbol 367 MovieClip Frame 2
tt = 11;
tx = 2;
while (tx < 11) {
duplicateMovieClip ("tab1", "tab" + tx, tx);
this["tab" + tx]._y = (tab1._y + (tx * 23)) - 23;
tx++;
}
tx = 0;
while (tx < 10) {
i = tx + tt;
this.createTextField("mytext" + i, i, 40, (tx * 23) - 113, 60, 20);
this["mytext" + i].type = "dynamic";
this["mytext" + i].variable = "SCORE" + tx;
this["mytext" + i].selectable = false;
this["mytext" + i].embedFonts = true;
tx++;
}
myformatm = new TextFormat();
myformatm.size = 12;
myformatm.font = "Times New Roman";
myformatm.color = 16777215 /* 0xFFFFFF */;
myformatm.align = "center";
tx = 0;
while (tx < 10) {
i = tx + tt;
this["mytext" + i].setTextFormat(myformatm);
tx++;
}
tt = 21;
tx = 0;
while (tx < 10) {
i = tx + tt;
this.createTextField("mytext" + i, i, -91, (tx * 23) - 113, 120, 20);
this["mytext" + i].type = "dynamic";
this["mytext" + i].variable = "NAME" + tx;
this["mytext" + i].selectable = false;
this["mytext" + i].embedFonts = true;
tx++;
}
myformatm = new TextFormat();
myformatm.size = 12;
myformatm.font = "Times New Roman";
myformatm.color = 12904176 /* 0xC4E6F0 */;
myformatm.align = "center";
tx = 0;
while (tx < 10) {
i = tx + tt;
this["mytext" + i].setTextFormat(myformatm);
tx++;
}
tt = 31;
tx = 1;
while (tx < 11) {
i = tx + tt;
this.createTextField("mytext" + i, i, -122, (tx * 23) - 133, 20, 20);
this["mytext" + i].type = "static";
this["mytext" + i].selectable = false;
this["mytext" + i].embedFonts = true;
this["mytext" + i].text = tx;
tx++;
}
myformatm = new TextFormat();
myformatm.size = 10;
myformatm.font = "Neuropol";
myformatm.color = 12313326 /* 0xBBE2EE */;
myformatm.align = "right";
tx = 1;
while (tx < 11) {
i = tx + tt;
this["mytext" + i].setTextFormat(myformatm);
tx++;
}
Symbol 367 MovieClip Frame 8
if (ck > 1) {
stop();
}
cmo++;
if (cmo > 99) {
cmo = 0;
}
Symbol 367 MovieClip Frame 9
if (NAME1.length > 0) {
ck++;
gotoAndPlay (1);
} else {
gotoAndPlay (8);
}
Symbol 377 Button
on (release) {
i = 0;
while (i < 10) {
nm = i + 10;
sct["SCORE" + i] = 0;
sct["NAME" + i] = "";
locdat.data["svd" + i] = sct["SCORE" + i];
locdat.data["svd" + nm] = sct["NAME" + i];
i++;
}
sct.gotoAndPlay(2);
locdat.flush();
}
Symbol 382 MovieClip Frame 1
scrs = "Score: " + _root.scrs;
ck = 0;
stop();
Symbol 382 MovieClip Frame 2
scrs = "Score: " + _root.scrs;
Symbol 382 MovieClip Frame 3
gotoAndStop (1);
Symbol 385 MovieClip Frame 1
if (_root.name.length < 1) {
_root.name = "My name is";
}
Symbol 392 MovieClip Frame 11
stop();
Symbol 394 Button
on (release) {
_root.gotoAndPlay(4);
}
Symbol 407 MovieClip Frame 11
stop();
Symbol 409 Button
on (press) {
gotoAndPlay (33);
}
Symbol 419 Button
on (release) {
getURL ("http://www.rubilon.kulichki.com", "_blank");
}
Symbol 425 Button
on (release) {
getURL ("http://www.rubilon.kulichki.com", "_blank");
}
Symbol 431 Button
on (press) {
_root.sfx = 0;
}
Symbol 432 Button
on (press) {
_root.sfx = 0;
gotoAndStop (1);
_root.sndoff.gotoAndStop(1);
}
Symbol 433 MovieClip Frame 1
if (_root.sfx == 2) {
gotoAndStop (2);
}
stop();
Symbol 433 MovieClip Frame 2
stop();
Symbol 436 Button
on (press) {
_root.sfx = 2;
gotoAndStop (2);
_root.sndon.gotoAndStop(2);
}
Symbol 437 Button
on (press) {
_root.sfx = 2;
}
Symbol 438 MovieClip Frame 1
if (_root.sfx == 2) {
gotoAndStop (2);
}
stop();
Symbol 438 MovieClip Frame 2
stop();
Symbol 444 Button
on (press) {
_quality = "low";
}
Symbol 451 Button
on (press) {
Set("/:game", 1);
gotoAndStop (1);
/:es2.gotoAndStop(2);
/:es3.gotoAndStop(2);
}
Symbol 452 MovieClip Frame 1
if (/:game == 1) {
} else {
gotoAndStop (2);
}
Symbol 452 MovieClip Frame 2
stop();
Symbol 457 Button
on (press) {
Set("/:game", 2);
gotoAndStop (1);
_root.es1.gotoAndStop(2);
_root.es3.gotoAndStop(2);
}
Symbol 458 MovieClip Frame 1
if (/:game == 2) {
stop();
} else {
gotoAndStop (2);
}
Symbol 458 MovieClip Frame 2
stop();
Symbol 463 Button
on (press) {
Set("/:game", 3);
gotoAndStop (1);
_root.es1.gotoAndStop(2);
_root.es2.gotoAndStop(2);
}
Symbol 464 MovieClip Frame 1
if (_root.game == 3) {
stop();
} else {
gotoAndStop (2);
}
Symbol 464 MovieClip Frame 2
stop();
Symbol 468 Button
on (press) {
_quality = "medium";
}
Symbol 472 Button
on (press) {
_quality = "high";
}
Symbol 482 Button
on (release) {
gotoAndPlay (15);
}