Frame 1
gameParasite = true;
hardness = 1;
linesToFinish = 15;
todayBest = 0;
stop();
Instance of Symbol 13 MovieClip in Frame 1
onClipEvent (enterFrame) {
b_loaded = _root.getBytesLoaded();
b_total = _root.getBytesTotal();
getPercent = _root.getBytesLoaded() / _root.getBytesTotal();
_root.loaderText = ("Loaded " + Math.round(getPercent * 100)) + "%";
if (b_loaded >= b_total) {
_root.gotoAndPlay(7);
}
}
Frame 2
gotoAndPlay (1);
Frame 7
music_0 = SharedObject.getLocal("mpath_0");
music_1 = SharedObject.getLocal("mpath_1");
music_2 = SharedObject.getLocal("mpath_2");
music_3 = SharedObject.getLocal("mpath_3");
music_4 = SharedObject.getLocal("mpath_4");
musicPath = new Array();
totalTracks = 0;
i = 0;
while (i < 5) {
musicPath[i] = eval ("music_" + i).data.path;
if ((musicPath[i] != undefined) && (musicPath[i] != "D:\\")) {
totalTracks = totalTracks + 1;
} else {
eval ("music_" + i).data.path = "D:\\";
musicPath[i] = "D:\\";
}
i++;
}
Frame 8
stop();
Instance of Symbol 74 MovieClip in Frame 8
onClipEvent (load) {
_alpha = -20;
}
onClipEvent (enterFrame) {
if (_alpha < 100) {
_alpha = (_alpha + 2);
}
}
Frame 9
paused = false;
playField = new Array();
tempArray = new Array(1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1);
i = 0;
while (i < 21) {
playField.push(tempArray);
i++;
}
tempArray = new Array(1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1);
playField.push(tempArray);
level = 1;
parasitesCount = 2 + hardness;
score = 0;
linesFinished = linesToFinish;
brickFall = true;
trackCurrent = 0;
delete music;
music = new Sound();
music.loadSound(musicPath[0], true);
music.start();
music.onSoundComplete = function () {
trackCurrent = trackCurrent + 1;
if (trackCurrent == totalTracks) {
trackCurrent = 0;
}
music.stop();
music.loadSound(musicPath[trackCurrent], true);
music.start();
};
BrickFallen = function () {
brickSound = new Sound();
brickSound.attachSound("SideStick");
brickSound.start(0, 1);
i = 0;
while (i < parasitesCount) {
if (eval ("_root.parasite_" + i).dragged && (gameParasite)) {
_root.attachMovie("parasite_squash_1", "squash_" + i, 51000 + i);
eval ("_root.squash_" + i)._x = eval ("_root.parasite_" + i)._x;
eval ("_root.squash_" + i)._y = eval ("_root.parasite_" + i)._y;
with (eval ("_root.parasite_" + i)) {
part.gotoAndStop(1);
part.timer = (Math.random() * 40) + 40;
part.dx = 0;
part.dy = -5;
_x = 150;
_y = -30;
dragged = false;
part.eated = false;
part.eating = false;
}
}
i++;
}
PlayFieldNew = new Array();
j = 0;
while (j < 22) {
tempArray = new Array();
tempArray = playField[j];
if ((j > _root.brick.yPos) && (j < (_root.brick.yPos + 5))) {
tempArray = new Array();
i = 0;
while (i < 12) {
if ((i > _root.brick.xPos) && (i < (_root.brick.xPos + 5))) {
tempArray[i] = _root.brick.matrix[j - _root.brick.yPos][i - _root.brick.xPos] + playField[j][i];
if (_root.brick.matrix[j - _root.brick.yPos][i - _root.brick.xPos] == 1) {
_root.attachMovie("singlebrick", ("singlebrick" + j) + i, (j * 22) + i);
with (eval (("_root.singlebrick" + j) + i)) {
_y = (j - 2) * 25;
_x = (i + 1) * 25;
}
}
} else {
tempArray[i] = playField[j][i];
}
i++;
}
}
PlayFieldNew.push(tempArray);
j++;
}
playField = new Array();
playField = PlayFieldNew;
totalLines = 0;
j = _root.brick.yPos;
while (j < 21) {
bricksInLine = 0;
i = 0;
while (i < 12) {
if (playField[j][i] == 1) {
bricksInLine = bricksInLine + 1;
}
i++;
}
if (bricksInLine == 12) {
if (totalLines == 0) {
linesRemove = new Sound();
linesRemove.attachSound("ring");
linesRemove.start(0, 1);
}
linesFinished = linesFinished - 1;
if (linesFinished == 0) {
level = level + 1;
brickSound = new Sound();
brickSound.attachSound("Trumpets");
brickSound.start(0, 1);
linesFinished = linesToFinish;
if (gameParasite) {
_root.attachMovie("smart_parasite", "parasite_" + parasitesCount, 50000 + parasitesCount);
parasitesCount = parasitesCount + 1;
}
}
totalLines = totalLines + 1;
k = 0;
while (k < 21) {
i = 0;
while (i < 12) {
eval (("_root.singlebrick" + k) + i).removeMovieClip();
i++;
}
k++;
}
i = 1;
while (i < 11) {
_root.attachMovie("brickblast", ("brickblast" + j) + i, ((j * 22) + i) + 1000);
eval (("_root.brickblast" + j) + i)._y = ((j - 2) * 25) + 12.5;
eval (("_root.brickblast" + j) + i)._x = ((i + 1) * 25) + 12.5;
i++;
}
m = j - 1;
while (m > 0) {
tempArray = new Array();
tempArray = playField[m];
playField[m + 1] = tempArray;
m--;
}
k = 0;
while (k < 21) {
i = 1;
while (i < 11) {
if (playField[k][i] == 1) {
_root.attachMovie("singlebrick", ("singlebrick" + k) + i, (k * 22) + i);
eval (("_root.singlebrick" + k) + i)._y = (k - 2) * 25;
eval (("_root.singlebrick" + k) + i)._x = (i + 1) * 25;
}
i++;
}
k++;
}
_root.attachMovie("scoretip", "scoretip", 50012);
_root.scoretip.scoreAdd = totalLines * 50;
_root.scoretip._x = 175;
_root.scoretip._y = (j - 2) * 25;
}
j++;
}
if (totalLines > 0) {
_root.score = _root.score + (totalLines * 50);
}
};
Instance of Symbol 155 MovieClip "nextBrick" in Frame 9
onClipEvent (load) {
_xscale = 150;
_yscale = 150;
}
onClipEvent (enterFrame) {
if (_xscale > 45) {
_xscale = (_xscale - 15);
_yscale = (_yscale - 15);
}
}
Frame 10
if (gameParasite) {
i = 0;
while (i < parasitesCount) {
_root.attachMovie("smart_parasite", "parasite_" + i, 50000 + i);
eval ("_root.parasite_" + i)._x = 150;
eval ("_root.parasite_" + i)._y = -30;
i++;
}
}
stop();
Instance of Symbol 160 MovieClip "brick" in Frame 10
onClipEvent (load) {
this.useHandCursor = false;
sinus = 0;
nextBrickType = Math.floor(Math.random() * 7);
InitBrick = function () {
brickColor = new Color(this);
colorTransform = new Object();
brickType = nextBrickType;
nextBrickType = Math.floor(Math.random() * 7);
_root.nextBrick.gotoAndStop(nextBrickType + 1);
_root.nextBrick._xscale = 150;
_root.nextBrick._yscale = 150;
if (brickType == 0) {
colorTransform = {ra:"0", rb:"0", ga:"100", gb:"0", ba:"100", bb:"0", aa:"100", ab:"0"};
matrix = new Array();
tempArray = new Array(0, 0, 0, 0, 0, 0);
matrix.push(tempArray);
matrix.push(tempArray);
tempArray = new Array(0, 1, 1, 0, 0, 0);
matrix.push(tempArray);
tempArray = new Array(0, 0, 1, 1, 0, 0);
matrix.push(tempArray);
tempArray = new Array(0, 0, 0, 0, 0, 0);
matrix.push(tempArray);
matrix.push(tempArray);
}
if (brickType == 1) {
colorTransform = {ra:"100", rb:"0", ga:"0", gb:"0", ba:"100", bb:"0", aa:"100", ab:"0"};
matrix = new Array();
tempArray = new Array(0, 0, 0, 0, 0, 0);
matrix.push(tempArray);
matrix.push(tempArray);
tempArray = new Array(0, 0, 1, 1, 0, 0);
matrix.push(tempArray);
tempArray = new Array(0, 1, 1, 0, 0, 0);
matrix.push(tempArray);
tempArray = new Array(0, 0, 0, 0, 0, 0);
matrix.push(tempArray);
matrix.push(tempArray);
}
if (brickType == 2) {
colorTransform = {ra:"100", rb:"0", ga:"100", gb:"0", ba:"0", bb:"0", aa:"100", ab:"0"};
matrix = new Array();
tempArray = new Array(0, 0, 0, 0, 0, 0);
matrix.push(tempArray);
matrix.push(tempArray);
tempArray = new Array(0, 1, 1, 1, 0, 0);
matrix.push(tempArray);
tempArray = new Array(0, 0, 1, 0, 0, 0);
matrix.push(tempArray);
tempArray = new Array(0, 0, 0, 0, 0, 0);
matrix.push(tempArray);
matrix.push(tempArray);
}
if (brickType == 3) {
colorTransform = {ra:"0", rb:"0", ga:"100", gb:"0", ba:"0", bb:"0", aa:"100", ab:"0"};
matrix = new Array();
tempArray = new Array(0, 0, 0, 0, 0, 0);
matrix.push(tempArray);
matrix.push(tempArray);
tempArray = new Array(0, 1, 1, 1, 0, 0);
matrix.push(tempArray);
tempArray = new Array(0, 1, 0, 0, 0, 0);
matrix.push(tempArray);
tempArray = new Array(0, 0, 0, 0, 0, 0);
matrix.push(tempArray);
matrix.push(tempArray);
}
if (brickType == 4) {
colorTransform = {ra:"0", rb:"0", ga:"0", gb:"0", ba:"100", bb:"0", aa:"100", ab:"0"};
matrix = new Array();
tempArray = new Array(0, 0, 0, 0, 0, 0);
matrix.push(tempArray);
matrix.push(tempArray);
tempArray = new Array(0, 1, 1, 1, 0, 0);
matrix.push(tempArray);
tempArray = new Array(0, 0, 0, 1, 0, 0);
matrix.push(tempArray);
tempArray = new Array(0, 0, 0, 0, 0, 0);
matrix.push(tempArray);
matrix.push(tempArray);
}
if (brickType == 5) {
colorTransform = {ra:"50", rb:"0", ga:"50", gb:"0", ba:"100", bb:"0", aa:"100", ab:"0"};
matrix = new Array();
tempArray = new Array(0, 0, 0, 0, 0, 0);
matrix.push(tempArray);
matrix.push(tempArray);
tempArray = new Array(0, 1, 1, 1, 1, 0);
matrix.push(tempArray);
tempArray = new Array(0, 0, 0, 0, 0, 0);
matrix.push(tempArray);
tempArray = new Array(0, 0, 0, 0, 0, 0);
matrix.push(tempArray);
matrix.push(tempArray);
}
if (brickType == 6) {
colorTransform = {ra:"100", rb:"0", ga:"50", gb:"0", ba:"0", bb:"0", aa:"100", ab:"0"};
matrix = new Array();
tempArray = new Array(0, 0, 0, 0, 0, 0);
matrix.push(tempArray);
matrix.push(tempArray);
tempArray = new Array(0, 0, 1, 1, 0, 0);
matrix.push(tempArray);
tempArray = new Array(0, 0, 1, 1, 0, 0);
matrix.push(tempArray);
tempArray = new Array(0, 0, 0, 0, 0, 0);
matrix.push(tempArray);
matrix.push(tempArray);
}
i = 0;
while (i < 6) {
j = 0;
while (j < 6) {
eval (("singlebrick" + i) + j).removeMovieClip();
if (matrix[i][j] > 0) {
attachMovie("singlebrick", ("singlebrick" + i) + j, (i * 6) + j);
eval (("singlebrick" + i) + j)._x = (j - 3) * 25;
eval (("singlebrick" + i) + j)._y = (i - 3) * 25;
}
j++;
}
i++;
}
_x = 175;
_y = 50;
_rotation = 0;
xPos = 3;
yPos = 1;
yPosNew = 1;
timer = 100;
rotate = false;
brickColor.setTransform(colorTransform);
};
CheckRotating = function () {
matrixNew = new Array();
j = 0;
while (j < 6) {
tempArray = new Array();
i = 0;
while (i < 6) {
tempArray[5 - i] = matrix[i][j];
i++;
}
matrixNew.push(tempArray);
j++;
}
movingFlag = true;
j = 0;
while (j < 6) {
i = 0;
while (i < 6) {
if ((_root.playField[j + yPos][i + xPos] + matrixNew[j][i]) > 1) {
movingFlag = false;
}
i++;
}
j++;
}
};
CheckMoving = function () {
movingFlag = true;
j = 0;
while (j < 6) {
i = 0;
while (i < 6) {
if ((_root.playField[j + yPosNew][i + xPosNew] + matrix[j][i]) > 1) {
movingFlag = false;
}
i++;
}
j++;
}
};
InitBrick();
}
onClipEvent (enterFrame) {
if (!_root.paused) {
speed = _root.level + (2 * _root.hardness);
if (_root.brickFall) {
if (rotate) {
_rotation = (_rotation + 15);
angle = angle - 15;
if (angle == 0) {
rotate = false;
}
}
timer = timer - speed;
if (timer < 0) {
timer = 100;
xPosNew = xPos;
yPosNew = yPos + 1;
CheckMoving();
if (movingFlag) {
_y = (_y + 25);
yPos = yPosNew;
} else {
if (yPos == 1) {
_root.gotoAndPlay(11);
}
_root.BrickFallen();
InitBrick();
}
}
if (Key.isDown(38) && (!rotate)) {
CheckRotating();
if (movingFlag) {
angle = 90;
rotate = true;
matrix = new Array();
i = 0;
while (i < 6) {
matrix.push(matrixNew[i]);
i++;
}
}
}
if (Key.isDown(40) && (!rotate)) {
timer = 0;
}
}
}
}
on (keyPress "<Left>") {
if (((!rotate) && (_root.brickFall)) && (!_root.paused)) {
xPosNew = xPos - 1;
CheckMoving();
if (movingFlag) {
_x = (_x - 25);
xPos = xPosNew;
}
}
}
on (keyPress "<Right>") {
if (((!rotate) && (_root.brickFall)) && (!_root.paused)) {
xPosNew = xPos + 1;
CheckMoving();
if (movingFlag) {
_x = (_x + 25);
xPos = xPosNew;
}
}
}
on (keyPress "q") {
if (_quality == "HIGH") {
_quality = "LOW";
} else {
_quality = "HIGH";
}
}
on (keyPress "p") {
if (!_root.paused) {
_root.paused = true;
_root.attachMovie("pauseClip", "pauseClip", 60000);
_root.pauseClip._x = 175;
_root.pauseClip._y = 250;
} else {
_root.paused = false;
_root.pauseClip.removeMovieClip();
}
}
Frame 11
music.stop();
pauseClip.removeMovieClip();
if (todayBest < score) {
todayBest = score;
}
k = 0;
while (k < 21) {
i = 1;
while (i < 11) {
eval (("_root.singlebrick" + k) + i).removeMovieClip();
if (playField[k][i] == 1) {
_root.attachMovie("brickblast", ("brickblast" + k) + i, ((k * 22) + i) + 1000);
eval (("_root.brickblast" + k) + i)._y = ((k - 2) * 25) + 12.5;
eval (("_root.brickblast" + k) + i)._x = ((i + 2) * 25) - 12.5;
}
i++;
}
k++;
}
j = 0;
while (j < (parasitesCount + 1)) {
removeMovieClip(eval ("_root.parasite_" + j));
j++;
}
stop();
Symbol 11 MovieClip Frame 11
gotoAndPlay(Math.floor(Math.random() * 30) + 15);
Instance of Symbol 12 MovieClip in Symbol 13 MovieClip Frame 1
onClipEvent (load) {
timer = (Math.random() * 40) + 40;
dx = 0;
dy = -5;
}
onClipEvent (enterFrame) {
_parent._x = _parent._x + dx;
_parent._y = _parent._y + dy;
if (((_parent._x < -30) || (_parent._x > 380)) || (_parent._y > 520)) {
timer = (Math.random() * 40) + 40;
dx = 0;
dy = -5;
_parent._x = 150;
_parent._y = -30;
}
dy = dy + 0.2;
timer = timer - 1;
if (timer < 0) {
timer = (Math.random() * 40) + 40;
dy = -5;
dx = (Math.random() * 4) - 2;
}
}
Instance of Symbol 17 MovieClip in Symbol 28 MovieClip [pauseClip] Frame 1
onClipEvent (load) {
sinus = 0;
yorig = _y;
}
onClipEvent (enterFrame) {
_y = (yorig + (Math.sin(sinus) * 10));
sinus = sinus + 0.1;
}
Instance of Symbol 19 MovieClip in Symbol 28 MovieClip [pauseClip] Frame 1
onClipEvent (load) {
sinus = 0;
yorig = _y;
}
onClipEvent (enterFrame) {
_y = (yorig + (Math.sin(sinus + 0.5) * 10));
sinus = sinus + 0.1;
}
Instance of Symbol 21 MovieClip in Symbol 28 MovieClip [pauseClip] Frame 1
onClipEvent (load) {
sinus = 0;
yorig = _y;
}
onClipEvent (enterFrame) {
_y = (yorig + (Math.sin(sinus + 1) * 10));
sinus = sinus + 0.1;
}
Instance of Symbol 23 MovieClip in Symbol 28 MovieClip [pauseClip] Frame 1
onClipEvent (load) {
sinus = 0;
yorig = _y;
}
onClipEvent (enterFrame) {
_y = (yorig + (Math.sin(sinus + 1.5) * 10));
sinus = sinus + 0.1;
}
Instance of Symbol 25 MovieClip in Symbol 28 MovieClip [pauseClip] Frame 1
onClipEvent (load) {
sinus = 0;
yorig = _y;
}
onClipEvent (enterFrame) {
_y = (yorig + (Math.sin(sinus + 2) * 10));
sinus = sinus + 0.1;
}
Instance of Symbol 27 MovieClip in Symbol 28 MovieClip [pauseClip] Frame 1
onClipEvent (load) {
sinus = 0;
yorig = _y;
}
onClipEvent (enterFrame) {
_y = (yorig + (Math.sin(sinus + 2.5) * 10));
sinus = sinus + 0.1;
}
Instance of Symbol 30 MovieClip in Symbol 31 MovieClip [brickblast] Frame 1
onClipEvent (load) {
d = -8;
dd = (Math.random() * 5) + 0.5;
}
onClipEvent (enterFrame) {
if (!_root.paused) {
_parent._y = _parent._y + d;
if (_parent._y > 515) {
_parent.removeMovieClip();
}
_parent._rotation = _parent._rotation + (d - 2);
d = d + dd;
}
}
Symbol 35 MovieClip [parasite_squash_1] Frame 1
squash = new Sound();
squash.attachSound("squash_" + Math.floor(Math.random() * 2));
squash.start(0, 1);
Symbol 35 MovieClip [parasite_squash_1] Frame 5
this.removeMovieClip();
Symbol 48 MovieClip Frame 1
stop();
Symbol 48 MovieClip Frame 2
bite = new Sound();
bite.attachSound("bite_" + Math.floor(Math.random() * 3));
bite.start(0, 1);
Symbol 48 MovieClip Frame 11
_root.playField[yMatrix][xMatrix] = 0;
eval (("_root.singlebrick" + yMatrix) + xMatrix).removeMovieClip();
dy = 0;
eating = false;
stop();
Instance of Symbol 48 MovieClip "part" in Symbol 49 MovieClip [smart_parasite] Frame 1
onClipEvent (load) {
eated = false;
eating = false;
_parent.dragged = false;
timer = (Math.random() * 40) + 40;
dx = 0;
dy = -5;
}
onClipEvent (enterFrame) {
if (!_root.paused) {
if (Key.isDown(40) && (_root.brick.hitTest(_parent._x, _parent._y, true))) {
_parent.dragged = true;
clipBounds = _root.brick.getBounds(_root);
_parent._y = clipBounds.yMax;
} else {
_parent.dragged = false;
}
if (!_parent.dragged) {
if (!eated) {
xMatrix = Math.floor((_parent._x - 25) / 25);
yMatrix = Math.floor((_parent._y + 50) / 25);
}
if (((((!eated) && (_root.playField[yMatrix][xMatrix] == 1)) && (xMatrix > 0)) && (xMatrix < 11)) && (yMatrix < 21)) {
toX = (xMatrix * 25) + 37.5;
toY = (yMatrix * 25) - 37.5;
play();
eating = true;
eated = true;
}
if (!eating) {
_parent._x = _parent._x + dx;
_parent._y = _parent._y + dy;
if (((_parent._x < -30) || (_parent._x > 380)) || (_parent._y > 520)) {
gotoAndStop (1);
timer = (Math.random() * 40) + 40;
dx = 0;
dy = -5;
_parent._x = 150;
_parent._y = -30;
_parent.dragged = false;
eated = false;
eating = false;
}
dy = dy + 0.2;
timer = timer - 1;
if (timer < 0) {
timer = (Math.random() * 40) + 40;
dy = -5;
dx = (Math.random() * 4) - 2;
}
} else {
distX = (toX - _parent._x) / 4;
_parent._x = _parent._x + distX;
distY = (toY - _parent._y) / 4;
_parent._y = _parent._y + distY;
}
}
}
}
Symbol 53 MovieClip [scoretip] Frame 32
removeMovieClip(this);
Instance of Symbol 17 MovieClip in Symbol 74 MovieClip Frame 1
onClipEvent (load) {
sinus = 0;
yorig = _y;
}
onClipEvent (enterFrame) {
_y = (yorig + (Math.sin(sinus) * 10));
sinus = sinus + 0.1;
}
Instance of Symbol 23 MovieClip in Symbol 74 MovieClip Frame 1
onClipEvent (load) {
sinus = 0;
yorig = _y;
}
onClipEvent (enterFrame) {
_y = (yorig + (Math.sin(sinus + 4) * 10));
sinus = sinus + 0.1;
}
Instance of Symbol 25 MovieClip in Symbol 74 MovieClip Frame 1
onClipEvent (load) {
sinus = 0;
yorig = _y;
}
onClipEvent (enterFrame) {
_y = (yorig + (Math.sin(sinus + 3.5) * 10));
sinus = sinus + 0.1;
}
Instance of Symbol 69 MovieClip in Symbol 74 MovieClip Frame 1
onClipEvent (load) {
sinus = 0;
yorig = _y;
}
onClipEvent (enterFrame) {
_y = (yorig + (Math.sin(sinus + 3) * 10));
sinus = sinus + 0.1;
}
Instance of Symbol 71 MovieClip in Symbol 74 MovieClip Frame 1
onClipEvent (load) {
sinus = 0;
yorig = _y;
}
onClipEvent (enterFrame) {
_y = (yorig + (Math.sin(sinus + 2.5) * 10));
sinus = sinus + 0.1;
}
Instance of Symbol 23 MovieClip in Symbol 74 MovieClip Frame 1
onClipEvent (load) {
sinus = 0;
yorig = _y;
}
onClipEvent (enterFrame) {
_y = (yorig + (Math.sin(sinus + 2) * 10));
sinus = sinus + 0.1;
}
Instance of Symbol 19 MovieClip in Symbol 74 MovieClip Frame 1
onClipEvent (load) {
sinus = 0;
yorig = _y;
}
onClipEvent (enterFrame) {
_y = (yorig + (Math.sin(sinus + 0.5) * 10));
sinus = sinus + 0.1;
}
Instance of Symbol 73 MovieClip in Symbol 74 MovieClip Frame 1
onClipEvent (load) {
sinus = 0;
yorig = _y;
}
onClipEvent (enterFrame) {
_y = (yorig + (Math.sin(sinus + 1) * 10));
sinus = sinus + 0.1;
}
Instance of Symbol 19 MovieClip in Symbol 74 MovieClip Frame 1
onClipEvent (load) {
sinus = 0;
yorig = _y;
}
onClipEvent (enterFrame) {
_y = (yorig + (Math.sin(sinus + 1.5) * 10));
sinus = sinus + 0.1;
}
Symbol 78 Button
on (press) {
_root.play();
}
Symbol 81 Button
on (press) {
gotoAndPlay (2);
}
Symbol 84 Button
on (press) {
gotoAndPlay (3);
}
Symbol 87 Button
on (press) {
gotoAndPlay (4);
}
Symbol 92 Button
on (release) {
getURL ("http://www.virtualtoy.nm.ru");
}
Symbol 95 Button
on (release) {
getURL ("http://www.newgrounds.com");
}
Symbol 101 Button
on (press) {
_root.music.stop();
_root.totalTracks = 0;
i = 0;
while (i < 5) {
if (_root.musicPath[i] != "D:\\") {
_root.totalTracks = _root.totalTracks + 1;
}
i++;
}
gotoAndPlay (1);
}
Symbol 104 Button
on (press) {
if (_root.gameParasite) {
_root.gameParasite = false;
} else {
_root.gameParasite = true;
}
}
Symbol 112 Button
on (press) {
_root.hardness = _root.hardness - 1;
if (_root.hardness < 0) {
_root.hardness = 2;
}
}
Symbol 113 Button
on (press) {
_root.hardness = _root.hardness + 1;
if (_root.hardness == 3) {
_root.hardness = 0;
}
}
Symbol 114 Button
on (press) {
_root.linesToFinish = _root.linesToFinish + 5;
if (_root.linesToFinish == 55) {
_root.linesToFinish = 10;
}
}
Symbol 115 Button
on (press) {
_root.linesToFinish = _root.linesToFinish - 5;
if (_root.linesToFinish == 5) {
_root.linesToFinish = 50;
}
}
Symbol 124 Button
on (press) {
_root.music.stop();
_root.music = new Sound();
_root.music.loadSound(_root.musicPath[0], true);
_root.music.start();
}
Symbol 125 Button
on (press) {
_root.music.stop();
_root.music = new Sound();
_root.music.loadSound(_root.musicPath[1], true);
_root.music.start();
}
Symbol 126 Button
on (press) {
_root.music.stop();
_root.music = new Sound();
_root.music.loadSound(_root.musicPath[2], true);
_root.music.start();
}
Symbol 127 Button
on (press) {
_root.music.stop();
_root.music = new Sound();
_root.music.loadSound(_root.musicPath[3], true);
_root.music.start();
}
Symbol 128 Button
on (press) {
_root.music.stop();
_root.music = new Sound();
_root.music.loadSound(_root.musicPath[4], true);
_root.music.start();
}
Symbol 129 Button
on (press) {
_root.music.stop();
_root.totalTracks = 0;
i = 0;
while (i < 5) {
if ((_root.musicPath[i] != "D:\\") && (_root.musicPath[i] != "")) {
_root.totalTracks = _root.totalTracks + 1;
eval ("_root.music_" + i).data.path = _root.musicPath[i];
eval ("_root.music_" + i).flush();
} else {
eval ("_root.music_" + i).data.path = "D:\\";
_root.musicPath[i] = "D:\\";
}
i++;
}
gotoAndPlay (1);
}
Symbol 137 MovieClip Frame 1
stop();
Symbol 137 MovieClip Frame 2
stop();
Instance of Symbol 107 MovieClip in Symbol 137 MovieClip Frame 2
onClipEvent (enterFrame) {
if (_root.gameParasite) {
gotoAndStop (1);
} else {
gotoAndStop (2);
}
}
Instance of Symbol 111 MovieClip in Symbol 137 MovieClip Frame 2
onClipEvent (enterFrame) {
if (_root.hardness == 0) {
gotoAndStop (1);
}
if (_root.hardness == 1) {
gotoAndStop (2);
}
if (_root.hardness == 2) {
gotoAndStop (3);
}
}
Symbol 137 MovieClip Frame 3
stop();
Symbol 137 MovieClip Frame 4
stop();
Symbol 140 Button
on (press) {
getURL ("mailto:virtualtoy@nm.ru");
}
Symbol 170 MovieClip Frame 130
_root.gotoAndPlay(8);