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 () {
_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;
scrs2 = 0;
if (die == 44) {
die = 0;
life = 100;
}
i = 0;
while (i <= 30) {
j = 0;
while (j <= 30) {
pole[j][i] = 0;
j++;
}
i++;
}
gotoAndPlay (6);
Frame 6
if (lvr > 5) {
gotoAndPlay (13);
} 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
Mouse.show();
stop();
Frame 16
if (name.length > 0) {
locdatnam.data.namerb = name;
locdatnam.flush();
gotoAndPlay (24);
stopAllSounds();
} else {
gotoAndStop (15);
}
Frame 24
Mouse.show();
allscore.sct.filename = "rrscrrgame/rumbleball4.sco";
allscore.sct.scoresize = 10;
allscore.sct.action = "INSERT";
allscore.sct.viewtype = "FLASH";
if (_root.name.length < 1) {
_root.name = " ";
}
allscore.sct.winname = _root.name;
allscore.sct.winscore = _root.scrs;
allscore.sct.loadVariables("../tablicarec.php", "GET");
allname.filename = "rrscrrgame/namermbbl4.sco";
allname.scoresize = 101;
allname.action = "INSERT";
allname.viewtype = "FLASH";
if (_root.name.length < 1) {
_root.name = " ";
}
allname.winname = _root.name;
allname.winscore = _root.scrs;
allname.loadVariables("../plrname.php", "GET");
gotoAndStop (27);
Frame 26
gotoAndStop (27);
Frame 27
gotoAndStop (27);
Frame 28
stop();
Frame 29
gotoAndStop (27);
Frame 30
Mouse.show();
locdat = SharedObject.getLocal("rumbleballf4");
locdatnam = SharedObject.getLocal("rumblebalf4name");
name = locdatnam.data.namerb;
pole = new Array([], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], []);
i = 1;
while (i <= 3) {
_root["gs" + i].gotoAndPlay(1);
i++;
}
gotoAndStop (31);
Instance of Symbol 360 MovieClip in Frame 30
on (keyPress "<Enter>") {
gotoAndPlay (33);
}
Frame 32
gotoAndStop (31);
Frame 33
lvsc = 0;
skp = 0;
scrs = 0;
scrs2 = 0;
bns = 0;
bnsd = 0;
stopAllSounds();
gotoAndPlay (7);
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 25 MovieClip Frame 1
if (_name != "star") {
_root.items.lst++;
}
_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 25 MovieClip Frame 2
stop();
Symbol 25 MovieClip Frame 3
_root.cmb++;
with (_parent) {
dps++;
if (dps > 50) {
dps = 1;
}
}
_root.items.lst--;
_root.items.play();
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 * 10;
_root.tne++;
_root.lev.shadx[sdel].play();
if (_root.tne > 13) {
_root.tne = 1;
}
_root.sndg.gotoAndPlay((_root.tne * 2) + 1);
Symbol 25 MovieClip Frame 4
removeMovieClip(this);
Symbol 26 MovieClip Frame 1
if (_name != "starf") {
_root.items.lst++;
}
_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 26 MovieClip Frame 2
stop();
Symbol 26 MovieClip Frame 3
_root.cmb = _root.cmb + 5;
with (_parent) {
dps++;
if (dps > 50) {
dps = 1;
}
}
_root.items.lst--;
_root.items.play();
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 * 10;
_root.lev.shadx[sdel].play();
_root.sndg.gotoAndPlay(29);
Symbol 26 MovieClip Frame 4
removeMovieClip(this);
Symbol 27 MovieClip Frame 1
if (_name != "starff") {
_root.items.lst++;
}
_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 27 MovieClip Frame 2
stop();
Symbol 27 MovieClip Frame 3
_root.cmb = _root.cmb + 10;
with (_parent) {
dps++;
if (dps > 50) {
dps = 1;
}
}
_root.items.lst--;
_root.items.play();
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 * 10;
_root.lev.shadx[sdel].play();
_root.sndg.gotoAndPlay(29);
Symbol 27 MovieClip Frame 4
removeMovieClip(this);
Symbol 34 MovieClip Frame 1
if (_name != "stard") {
_root.items.lst++;
}
_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 34 MovieClip Frame 2
stop();
Symbol 34 MovieClip Frame 3
_root.cmb = _root.cmb * 2;
with (_parent) {
dps++;
if (dps > 50) {
dps = 1;
}
}
_root.items.lst--;
_root.items.play();
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 * 10;
_root.lev.shadx[sdel].play();
if (/:cmb > 0) {
_root.sndg.gotoAndPlay(31);
} else {
_root.sndg.gotoAndPlay(33);
}
Symbol 34 MovieClip Frame 4
removeMovieClip(this);
Symbol 37 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 37 MovieClip Frame 2
stop();
Symbol 37 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 37 MovieClip Frame 20
removeMovieClip(this);
Symbol 44 MovieClip Frame 1
stop();
Symbol 44 MovieClip Frame 11
removeMovieClip(this);
Symbol 47 MovieClip Frame 1
stop();
Symbol 47 MovieClip Frame 11
removeMovieClip(this);
Symbol 47 MovieClip Frame 12
stop();
Symbol 47 MovieClip Frame 13
gotoAndPlay (2);
Symbol 64 MovieClip Frame 1
gotoAndStop(../:scl + 1);
scc = _parent.scc;
Symbol 65 MovieClip Frame 1
if (_name == "scorec") {
gotoAndStop (16);
} else {
/:scl++;
if (/:scl > 7) {
Set("/:scl", 1);
}
scl = /:scl;
gotoAndPlay (2);
}
Symbol 65 MovieClip Frame 2
_root.scrs = _root.scrs + scc;
_root.scor1.play();
_root.scrs2 = _root.scrs2 + scc;
_root.scor2.play();
Symbol 65 MovieClip Frame 15
removeMovieClip(this);
Symbol 68 MovieClip Frame 1
_root.ball.gotoAndPlay(22);
Symbol 68 MovieClip Frame 2
stop();
Symbol 69 MovieClip Frame 1
lk = 0;
Symbol 69 MovieClip Frame 5
if (_root.items.lst < 1) {
_root.lvr++;
gotoAndPlay (7);
}
Symbol 69 MovieClip Frame 6
gotoAndPlay (5);
Symbol 69 MovieClip Frame 19
_root.gotoAndStop(5);
Symbol 77 MovieClip Frame 1
_visible = 0;
Symbol 80 MovieClip Frame 1
ex = 2;
block1();
texcol();
texcolb();
Symbol 80 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 85 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 85 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 * 10;
_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 85 MovieClip Frame 3
removeMovieClip(this);
Symbol 90 MovieClip Frame 1
_rotation = random(360);
_x = (random(10) - 5);
_y = (random(10) - 5);
Symbol 99 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 99 MovieClip Frame 2
if (_root.ball.spd > 4) {
gotoAndStop (4);
} else {
gotoAndStop (1);
}
Symbol 99 MovieClip Frame 3
removeMovieClip(this);
Symbol 99 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 * 10;
_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 99 MovieClip Frame 6
removeMovieClip(this);
Symbol 104 MovieClip Frame 1
_parent.rt = _parent.rt + 60;
_rotation = _parent.rt;
Symbol 104 MovieClip Frame 17
stop();
Symbol 109 MovieClip Frame 1
if (_name == "blow") {
gotoAndStop (16);
}
rt = random(360);
Symbol 109 MovieClip Frame 24
removeMovieClip(this);
Symbol 114 MovieClip Frame 1
_visible = 0;
Symbol 114 MovieClip Frame 2
stop();
Symbol 116 MovieClip Frame 1
_visible = 0;
Symbol 116 MovieClip Frame 3
addblock2();
Symbol 116 MovieClip Frame 4
stop();
Symbol 120 MovieClip Frame 1
_visible = 0;
Symbol 120 MovieClip Frame 3
addone();
Symbol 120 MovieClip Frame 4
_visible = 1;
stop();
Symbol 123 MovieClip Frame 1
_visible = 0;
Symbol 123 MovieClip Frame 3
addblock();
Symbol 123 MovieClip Frame 4
_visible = 1;
stop();
Symbol 125 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 133 MovieClip Frame 3
_root.items.play();
unloadMovie (this);
Symbol 136 MovieClip Frame 3
addblock2();
Symbol 136 MovieClip Frame 4
stop();
Symbol 142 MovieClip Frame 1
_visible = 0;
Symbol 142 MovieClip Frame 3
addone();
Symbol 142 MovieClip Frame 4
_visible = 1;
stop();
Symbol 145 MovieClip Frame 1
_visible = 0;
Symbol 145 MovieClip Frame 3
addblock();
Symbol 145 MovieClip Frame 4
_visible = 1;
stop();
Symbol 154 MovieClip Frame 1
_visible = 0;
_root.ball.gotoAndStop(32);
Symbol 154 MovieClip Frame 2
gotoAndPlay (1);
Symbol 156 MovieClip Frame 1
stop();
Symbol 156 MovieClip Frame 2
_root.ball.gotoAndStop(32);
with (_parent._parent) {
dps++;
if (dps > 50) {
dps = 1;
}
}
duplicateMovieClip (../../:scorec, "scr" + ../../:dps, ../../:dps + 1000);
_parent._parent["scr" + ../../:dps]._x = _x;
_parent._parent["scr" + ../../:dps]._y = _y;
_parent._parent["scr" + ../../:dps].scc = -500;
/:sndg.gotoAndPlay(37);
Symbol 156 MovieClip Frame 18
Set("/:life", /:life - (40 / /:pms));
/:lifem.play();
/:slash.ck = 0;
/:slash.gotoAndPlay(2);
Symbol 156 MovieClip Frame 19
/:ball._x = /:ball.xst;
/:ball._y = /:ball.yst;
/:cur.gotoAndPlay(4);
/:ball.gotoAndPlay(10);
Symbol 163 MovieClip Frame 1
stop();
Symbol 163 MovieClip Frame 2
if (bk != 2) {
_root.idp++;
if (_root.idp > 20) {
_root.idp = 1;
}
duplicateMovieClip (_root.lev.blow, "bls" + _root.idp, 970 + _root.idp);
_root.lev["bls" + _root.idp]._x = _x;
_root.lev["bls" + _root.idp]._y = _y;
Set("/:life", /:life - (20 / /:pms));
/:lifem.play();
/:slash.ck = 0;
/:slash.gotoAndPlay(2);
/:sndg.gotoAndPlay(35);
}
bk = 2;
Symbol 163 MovieClip Frame 3
with (_parent._parent) {
dps++;
if (dps > 50) {
dps = 1;
}
}
duplicateMovieClip (../../:scorec, "scr" + ../../:dps, ../../:dps + 1000);
_parent._parent["scr" + ../../:dps]._x = _x;
_parent._parent["scr" + ../../:dps]._y = _y;
_parent._parent["scr" + ../../:dps].scc = -250;
removeMovieClip(this);
Symbol 166 MovieClip Frame 1
_visible = 0;
if (_root.game != 1) {
addtrap();
}
Symbol 166 MovieClip Frame 3
_visible = 1;
stop();
Symbol 174 MovieClip Frame 1
_visible = 0;
Symbol 174 MovieClip Frame 3
addone(1);
Symbol 174 MovieClip Frame 4
_visible = 1;
stop();
Symbol 177 MovieClip Frame 3
addblock2();
Symbol 177 MovieClip Frame 4
stop();
Symbol 180 MovieClip Frame 1
_visible = 0;
Symbol 180 MovieClip Frame 3
addblock();
Symbol 180 MovieClip Frame 4
_visible = 1;
stop();
Symbol 192 MovieClip Frame 1
stop();
Symbol 192 MovieClip Frame 2
Set("/:life", /:life - (0.5 / /:pms));
/:lifem.play();
/:slash.ck = 0;
/:slash.gotoAndPlay(2);
Symbol 192 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 192 MovieClip Frame 4
gotoAndStop (1);
Symbol 197 MovieClip Frame 1
_visible = 0;
if (_root.game != 1) {
addtrap();
}
Symbol 197 MovieClip Frame 3
_visible = 1;
stop();
Symbol 200 MovieClip Frame 3
addblock2();
Symbol 200 MovieClip Frame 4
stop();
Symbol 203 MovieClip Frame 1
_visible = 0;
Symbol 203 MovieClip Frame 3
addblock();
Symbol 203 MovieClip Frame 4
_visible = 1;
stop();
Symbol 209 MovieClip Frame 1
_visible = 0;
Symbol 209 MovieClip Frame 3
addone();
Symbol 209 MovieClip Frame 4
_visible = 1;
stop();
Symbol 213 MovieClip Frame 1
_visible = 0;
if (_root.game != 1) {
addtrap();
}
Symbol 213 MovieClip Frame 3
_visible = 1;
stop();
Symbol 222 MovieClip Frame 3
addblock2();
Symbol 222 MovieClip Frame 4
stop();
Symbol 228 MovieClip Frame 1
_visible = 0;
Symbol 228 MovieClip Frame 3
addone();
Symbol 228 MovieClip Frame 4
_visible = 1;
stop();
Symbol 231 MovieClip Frame 1
_visible = 0;
Symbol 231 MovieClip Frame 3
addblock();
Symbol 231 MovieClip Frame 4
_visible = 1;
stop();
Symbol 235 MovieClip Frame 1
_visible = 0;
if (_root.game != 1) {
addtrap();
}
Symbol 235 MovieClip Frame 3
_visible = 1;
stop();
Symbol 236 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 236 MovieClip Frame 2
dps = 1;
restexcol();
clp4.r2 = 60;
clp4.g2 = 35;
clp4.b2 = 70;
clp3.r2 = 90;
clp3.g2 = 40;
clp3.b2 = 80;
clp2.r2 = 110;
clp2.g2 = 80;
clp2.b2 = 120;
clp1.r2 = 110;
clp1.g2 = 80;
clp1.b2 = 120;
clk1.r2 = 180;
clk1.g2 = 60;
clk1.b2 = 100;
clk4.r2 = 200;
clk4.g2 = 100;
clk4.b2 = 130;
clb4.r2 = 250;
clb4.g2 = 200;
clb4.b2 = 0;
stop();
Symbol 236 MovieClip Frame 4
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 = 10;
clp1.g2 = 50;
clp1.b2 = 90;
clk4.r2 = 200;
clk4.g2 = 140;
clk4.b2 = 77;
clk1.r2 = 180;
clk1.g2 = 100;
clk1.b2 = 80;
clb4.r2 = 250;
clb4.g2 = 200;
clb4.b2 = 0;
stop();
Symbol 236 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 = 190;
clk4.g2 = 80;
clk4.b2 = 80;
clb4.r2 = 250;
clb4.g2 = 200;
clb4.b2 = 0;
stop();
Symbol 236 MovieClip Frame 8
dps = 1;
restexcol();
clp4.r2 = 70;
clp4.g2 = 15;
clp4.b2 = 70;
clp3.r2 = 100;
clp3.g2 = 30;
clp3.b2 = 60;
clp2.r2 = 140;
clp2.g2 = 60;
clp2.b2 = 60;
clp1.r2 = 170;
clp1.g2 = 110;
clp1.b2 = 100;
clk4.r2 = 170;
clk4.g2 = 120;
clk4.b2 = 40;
clb4.r2 = 250;
clb4.g2 = 200;
clb4.b2 = 0;
stop();
Symbol 236 MovieClip Frame 10
dps = 1;
restexcol();
clp4.r2 = 20;
clp4.g2 = 20;
clp4.b2 = 20;
clp3.r2 = 50;
clp3.g2 = 50;
clp3.b2 = 50;
clp2.r2 = 80;
clp2.g2 = 80;
clp2.b2 = 80;
clp1.r2 = 50;
clp1.g2 = 50;
clp1.b2 = 50;
clk4.r2 = 120;
clk4.g2 = 120;
clk4.b2 = 120;
clb4.r2 = 250;
clb4.g2 = 250;
clb4.b2 = 250;
stop();
Symbol 242 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 242 MovieClip Frame 2
svl = /:ball.spds * 20;
if (svl > 100) {
svl = 100;
}
if (svl < 20) {
svl = 20;
}
/:snd.vol = svl;
/:snd.gotoAndPlay(3);
Symbol 242 MovieClip Frame 7
removeMovieClip(this);
Symbol 245 MovieClip Frame 1
if (_root.sfx != 2) {
_name = "snd";
}
if (_root.sfx == 2) {
_name = "sndoff";
}
mySound1 = new Sound(this);
stop();
Symbol 245 MovieClip Frame 3
mySound1.setVolume(vol);
mySound1.setVolume(vol);
Symbol 245 MovieClip Frame 4
stop();
Symbol 261 MovieClip Frame 1
if (_root.sfx != 2) {
_name = "sndg";
}
if (_root.sfx == 2) {
_name = "sndoff1";
}
mySoundg = new Sound(this);
mySoundg.setVolume(100);
stop();
Symbol 261 MovieClip Frame 2
stop();
Symbol 261 MovieClip Frame 4
stop();
Symbol 261 MovieClip Frame 6
stop();
Symbol 261 MovieClip Frame 8
stop();
Symbol 261 MovieClip Frame 10
stop();
Symbol 261 MovieClip Frame 12
stop();
Symbol 261 MovieClip Frame 14
stop();
Symbol 261 MovieClip Frame 16
stop();
Symbol 261 MovieClip Frame 18
stop();
Symbol 261 MovieClip Frame 20
stop();
Symbol 261 MovieClip Frame 22
stop();
Symbol 261 MovieClip Frame 24
stop();
Symbol 261 MovieClip Frame 26
stop();
Symbol 261 MovieClip Frame 28
stop();
Symbol 261 MovieClip Frame 30
stop();
Symbol 261 MovieClip Frame 32
stop();
Symbol 261 MovieClip Frame 34
stop();
Symbol 261 MovieClip Frame 36
stop();
Symbol 261 MovieClip Frame 38
stop();
Symbol 261 MovieClip Frame 40
stop();
Symbol 268 MovieClip Frame 1
if (_root.sfx != 2) {
_name = "sndb";
}
if (_root.sfx == 2) {
_name = "sndoff2";
}
mySoundg = new Sound(this);
mySoundg.setVolume(70);
stop();
Symbol 268 MovieClip Frame 2
stop();
Symbol 268 MovieClip Frame 3
mySoundg.setVolume(70);
Symbol 268 MovieClip Frame 4
stop();
Symbol 268 MovieClip Frame 5
mySoundg.setVolume(70);
Symbol 268 MovieClip Frame 6
stop();
Symbol 268 MovieClip Frame 7
mySoundg.setVolume(70);
Symbol 268 MovieClip Frame 8
stop();
Symbol 268 MovieClip Frame 9
mySoundg.setVolume(70);
Symbol 268 MovieClip Frame 10
stop();
Symbol 268 MovieClip Frame 11
mySoundg.setVolume(70);
Symbol 268 MovieClip Frame 12
stop();
Symbol 268 MovieClip Frame 13
mySoundg.setVolume(70);
Symbol 268 MovieClip Frame 14
stop();
Symbol 271 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 277 MovieClip Frame 1
scrs = "Score " + _root.scrs;
stop();
Symbol 280 MovieClip Frame 1
lst2 = "items " + lst;
Symbol 280 MovieClip Frame 2
stop();
Symbol 283 MovieClip Frame 1
lvl = "Level " + _root.lvr;
Symbol 288 MovieClip Frame 1
pwm._xscale = 0;
Symbol 293 MovieClip Frame 2
Mouse.show();
Symbol 293 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 293 MovieClip Frame 5
gotoAndPlay (4);
Symbol 296 MovieClip Frame 1
_visible = 0;
Symbol 302 MovieClip Frame 1
stop();
Symbol 310 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;
if ((spk > 0) and (_root.dwn == 0)) {
delta_x = _x - _root._xmouse;
delta_y = _y - _root._ymouse;
if (Math.sqrt((delta_x * delta_x) + (delta_y * delta_y)) < 60) {
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 launch1() {
if (_root.dwn > 0) {
maxp = 0;
delta_x = _x - _root._xmouse;
delta_y = _y - _root._ymouse;
if (Math.sqrt((delta_x * delta_x) + (delta_y * delta_y)) < 60) {
spd = 10;
xst = _x;
yst = _y;
spk = 0;
_root.tne = 0;
_root.sndg.gotoAndPlay(27);
trg = (-Math.atan2(delta_x, delta_y)) / (Math.PI/180);
gotoAndPlay (4);
/:cur.gotoAndStop(2);
}
}
}
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 310 MovieClip Frame 2
if (Key.isDown(32)) {
maxp = 1;
_root.pwmtr.pwm._xscale = 100;
}
if (maxp != 1) {
launch();
}
if (maxp == 1) {
launch1();
}
Set("/:cmb", 0);
if ((((_x > 460) or (_x < 0)) or (_y > 540)) or (_y < 0)) {
_x = _root.x1;
_y = _root.y1;
}
Symbol 310 MovieClip Frame 3
gotoAndPlay (2);
Symbol 310 MovieClip Frame 4
spd = spd - 0.15;
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 * 1.5;
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 310 MovieClip Frame 5
gotoAndPlay (4);
Symbol 310 MovieClip Frame 21
gotoAndPlay (2);
Symbol 310 MovieClip Frame 32
stop();
Symbol 310 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 311 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 311 MovieClip Frame 2
mycol = {ra:"100", rb:"100", ga:"100", gb:"0", ba:"100", bb:"0", aa:40, ab:"0"};
clr.setTransform(mycol);
Symbol 311 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 311 MovieClip Frame 4
if (ck < 10) {
gotoAndPlay (2);
ck++;
} else {
clr.setTransform(mycol1);
stop();
}
Symbol 317 Button
on (release) {
/:items.lst = 0;
Set("/:skp", 1);
}
Symbol 320 Button
on (release) {
gotoAndPlay (15);
}
Symbol 323 MovieClip Frame 1
scrs = _root.scrs2;
stop();
Symbol 338 Button
on (release) {
gotoAndPlay (16);
}
Symbol 341 MovieClip Frame 1
if (ff != 1) {
_root.allname._y = ((-_y) * 4) + 540;
ff = 1;
}
if ((_root.dwn > 0) and (this.hitTest(_root._xmouse, _root._ymouse, 1) == true)) {
gotoAndPlay (3);
}
Symbol 341 MovieClip Frame 2
gotoAndPlay (1);
Symbol 341 MovieClip Frame 3
_y = _root._ymouse;
_root.allname._y = ((-_y) * 4) + 540;
Symbol 341 MovieClip Frame 4
if (_root.dwn > 0) {
gotoAndPlay (3);
}
Symbol 343 MovieClip Frame 1
_visible = 0;
Symbol 344 MovieClip Frame 1
i = 0;
while (i < 101) {
this.createTextField(("mytext" + i) + 102, i + 102, 164, i * 15, 100, 20);
this[("mytext" + i) + 102].type = "dynamic";
this[("mytext" + i) + 102].variable = "SCORE" + i;
this[("mytext" + i) + 102].selectable = false;
this[("mytext" + i) + 102].embedFonts = true;
i++;
}
myformatm = new TextFormat();
myformatm.font = "Times New Roman";
myformatm.color = 16777215 /* 0xFFFFFF */;
myformatm.align = "left";
myformatm.size = 12;
i = 0;
while (i < 101) {
this[("mytext" + i) + 102].setTextFormat(myformatm);
i++;
}
i = 0;
while (i < 101) {
this.createTextField("mytext" + i, i + 1, -43, i * 15, 200, 20);
this["mytext" + i].type = "dynamic";
this["mytext" + i].variable = "NAME" + i;
this["mytext" + i].selectable = false;
this["mytext" + i].embedFonts = true;
i++;
}
myformat = new TextFormat();
myformat.font = "Times New Roman";
myformat.color = 12313326 /* 0xBBE2EE */;
myformat.align = "right";
myformatm.size = 12;
i = 0;
while (i < 101) {
this["mytext" + i].setTextFormat(myformat);
i++;
}
Symbol 344 MovieClip Frame 8
if (ck > 1) {
stop();
}
Symbol 344 MovieClip Frame 9
if (NAME1.length > 0) {
ck++;
gotoAndPlay (1);
} else {
gotoAndPlay (8);
}
Symbol 348 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 348 MovieClip Frame 8
if (ck > 1) {
stop();
}
cmo++;
if (cmo > 99) {
cmo = 0;
}
Symbol 348 MovieClip Frame 9
if (NAME1.length > 0) {
ck++;
gotoAndPlay (1);
} else {
gotoAndPlay (8);
}
Symbol 353 MovieClip Frame 11
stop();
Symbol 355 Button
on (release) {
_root.gotoAndPlay(4);
}
Symbol 371 MovieClip Frame 11
stop();
Symbol 373 Button
on (press) {
gotoAndPlay (33);
}
Symbol 380 Button
on (release) {
getURL ("http://www.rubilon.kulichki.com", "_blank");
}
Symbol 385 Button
on (release) {
getURL ("http://www.rubilon.kulichki.com", "_blank");
}
Symbol 391 Button
on (press) {
_root.sfx = 0;
}
Symbol 392 Button
on (press) {
_root.sfx = 0;
gotoAndStop (1);
_root.sndoff.gotoAndStop(1);
}
Symbol 393 MovieClip Frame 1
if (_root.sfx == 2) {
gotoAndStop (2);
}
stop();
Symbol 393 MovieClip Frame 2
stop();
Symbol 396 Button
on (press) {
_root.sfx = 2;
gotoAndStop (2);
_root.sndon.gotoAndStop(2);
}
Symbol 397 Button
on (press) {
_root.sfx = 2;
}
Symbol 398 MovieClip Frame 1
if (_root.sfx == 2) {
gotoAndStop (2);
}
stop();
Symbol 398 MovieClip Frame 2
stop();
Symbol 404 Button
on (press) {
_quality = "low";
}
Symbol 408 Button
on (press) {
_quality = "medium";
}
Symbol 412 Button
on (press) {
_quality = "high";
}
Symbol 415 MovieClip Frame 4
stop();