Frame 4
setProperty("loader", _xscale , (100 / _root.getBytesTotal()) * _root.getBytesLoaded());
if (_totalframes > _framesloaded) {
gotoAndPlay(_currentframe - 1);
}
Frame 5
level = 1;
score = 0;
stop();
Frame 6
play();
districts = Array();
districts[0] = "I\u0432\u0430\u043D\u043E-\u0424\u0440\u0430\u043D\u043Ai\u0432\u0441\u044C\u043A\u0430 \u043E\u0431\u043B.";
districts[1] = "\u0417\u0430\u043A\u0430\u0440\u043F\u0430\u0442\u0441\u044C\u043A\u0430 \u043E\u0431\u043B.";
districts[2] = "\u041B\u044C\u0432i\u0432\u0441\u044C\u043A\u0430 \u043E\u0431\u043B.";
districts[3] = "\u0427\u0435\u0440\u043D\u043E\u0432\u0438\u0446\u044C\u043A\u0430 \u043E\u0431\u043B.";
districts[4] = "\u0422\u0435\u0440\u043D\u043E\u043Fi\u043B\u044C\u0441\u044C\u043A\u0430 \u043E\u0431\u043B.";
districts[5] = "\u0412\u043E\u043B\u0438\u043D\u0441\u044C\u043A\u0430 \u043E\u0431\u043B.";
districts[6] = "\u0427\u0435\u0440\u043Di\u0433i\u0432\u0441\u044C\u043A\u0430 \u043E\u0431\u043B.";
districts[7] = "\u041A\u0438\u0457\u0432\u0441\u044C\u043A\u0430 \u043E\u0431\u043B.";
districts[8] = "\u0425\u043C\u0435\u043B\u044C\u043D\u0438\u0446\u044C\u043A\u0430 \u043E\u0431\u043B.";
districts[9] = "\u0416\u0438\u0442\u043E\u043C\u0438\u0440\u0441\u044C\u043A\u0430 \u043E\u0431\u043B.";
districts[10] = "\u041F\u043E\u043B\u0442\u0430\u0432\u0441\u044C\u043A\u0430 \u043E\u0431\u043B.";
districts[11] = "\u0412i\u043D\u043D\u0438\u0446\u044C\u043A\u0430 \u043E\u0431\u043B.";
districts[12] = "\u0427\u0435\u0440\u043A\u0430\u0441\u044C\u043A\u0430 \u043E\u0431\u043B.";
districts[13] = "\u0420i\u0432\u043D\u0435\u043D\u0441\u044C\u043A\u0430 \u043E\u0431\u043B.";
districts[14] = "\u041E\u0434\u0435\u0441\u044C\u043A\u0430 \u043E\u0431\u043B.";
districts[15] = "\u0420\u0435\u0441\u043F\u0443\u0431\u043Bi\u043A\u0430 \u041A\u0440\u0438\u043C";
districts[16] = "\u041C\u0438\u043A\u043E\u043B\u0430\u0457\u0432\u0441\u044C\u043A\u0430 \u043E\u0431\u043B.";
districts[17] = "\u0425\u0435\u0440\u0441\u043E\u043D\u0441\u044C\u043A\u0430 \u043E\u0431\u043B.";
districts[18] = "\u0425\u0430\u0440\u043Ai\u0432\u0441\u043A\u0430 \u043E\u0431\u043B.";
districts[19] = "\u0421\u0443\u043C\u0441\u044C\u043A\u0430 \u043E\u0431\u043B.";
districts[20] = "\u041Ai\u0440\u043E\u0432\u043E\u0433\u0440\u0430\u0434\u0441\u044C\u043A\u0430 \u043E\u0431\u043B.";
districts[21] = "\u0414\u043Di\u043F\u0440\u043E\u043F\u0435\u0442\u0440\u043E\u0432\u0441\u044C\u043A\u0430 \u043E\u0431\u043B.";
districts[22] = "\u0417\u0430\u043F\u043E\u0440i\u0437\u044C\u043A\u0430 \u043E\u0431\u043B.";
districts[23] = "\u041B\u0443\u0433\u0430\u043D\u0441\u044C\u043A\u0430 \u043E\u0431\u043B.";
districts[24] = "\u0414\u043E\u043D\u0435\u0446\u044C\u043A\u0430 \u043E\u0431\u043B.";
Frame 7
minX = 50;
maxX = 470;
minY = 80;
maxY = 300;
currment = 0;
curregg = 0;
totalments = 0;
obl = districts[level - 1];
if (level <= 4) {
easy = 50;
hard = 10000;
maxments = 6;
loyal = 60;
field.gotoAndStop("x0");
} else if (level <= 8) {
easy = 40;
hard = 250;
maxments = 9;
loyal = 60;
field.gotoAndStop("x1");
} else if (level <= 14) {
easy = 30;
hard = 150;
maxments = 10;
loyal = 60;
field.gotoAndStop("x2");
} else if (level <= 18) {
easy = 30;
hard = 100;
maxments = 10;
loyal = 50;
field.gotoAndStop("x3");
} else if (level <= 22) {
easy = 20;
hard = 80;
maxments = 12;
loyal = 40;
field.gotoAndStop("x4");
} else if (level <= 25) {
easy = 38 - level;
hard = 60;
maxments = 12;
loyal = 67 - (level * 2);
field.gotoAndStop("x5");
}
Instance of Symbol 112 MovieClip "cursor" in Frame 7
onClipEvent (mouseDown) {
_root.velocity.gotoAndPlay(2);
}
onClipEvent (mouseUp) {
v = _root.velocity._currentframe;
_root.velocity.gotoAndStop(1);
if (v >= 5) {
_root.cursor.gotoAndPlay(2);
curregg++;
_root.field.attachMovie("egg", "egg" + curregg, 1000000 + curregg);
startx = _x;
starty = _y - 20;
ty = _y - (20 * v);
tx = _x;
setProperty("_root.field.egg" + curregg, _x , startx);
setProperty("_root.field.egg" + curregg, _y , starty);
Set(("_root.field.egg" + curregg) + ":tx", tx);
Set(("_root.field.egg" + curregg) + ":ty", ty);
Set(("_root.field.egg" + curregg) + ":v", v);
Set(("_root.field.egg" + curregg) + ":num", curregg);
_root.field.attachMovie("shd", "shd" + curregg, 500000 + curregg);
setProperty("_root.field.shd" + curregg, _x , startx + 40);
setProperty("_root.field.shd" + curregg, _y , starty + 40);
Set(("_root.field.shd" + curregg) + ":ty", ty);
Set(("_root.field.shd" + curregg) + ":tx", tx);
Set(("_root.field.shd" + curregg) + ":v", v);
}
}
Frame 8
cursor.startDrag(1, 0, maxY + 35, maxX, maxY + 35);
Frame 9
o4ki = score;
if ((!totalments) || ((random(easy) == 0) && (totalments < maxments))) {
if (currment < 2) {
count = maxments / 2;
} else {
count = 1;
}
i = 0;
while (i < count) {
currment++;
totalments++;
if (random(hard) < 50) {
_root.field.attachMovie("bugaj", "ment" + currment, currment);
} else {
_root.field.attachMovie("ment", "ment" + currment, currment);
}
setProperty("_root.field.ment" + currment, _x , minX + (random(2) * (maxX - minX)));
setProperty("_root.field.ment" + currment, _y , minY);
Set(("_root.field.ment" + currment) + ":curlev", currment);
i++;
}
}
Frame 10
_root.gotoAndPlay(_currentframe - 1);
Frame 13
i = 0;
while (i <= currment) {
Set(("_root.field.ment" + i) + ":speed", 0);
i++;
}
Set("_root.field.ham:speed", 0);
_root.field.ham.body.stop();
Frame 14
score = score + ((level * 100) + Math.ceil(score / level));
o4ki = score;
level++;
obl2 = districts[level - 1];
obl3 = districts[level - 2];
cursor.stopDrag();
velocity.gotoAndStop(1);
if (level > 25) {
gotoAndPlay (232);
}
Frame 70
stop();
Frame 71
stop();
Frame 72
i = 0;
while (i <= currment) {
Set(("_root.field.ment" + i) + ":speed", 0);
i++;
}
Set("_root.field.ham:speed", 0);
_root.field.ham.body.stop();
Frame 73
score = 0;
Frame 104
_root.gotAndPlay("loose", 1);
Frame 231
stop();
Frame 232
nick = "";
o4ki = score;
Frame 283
stop();
Symbol 7 MovieClip Frame 7
gotoAndPlay (1);
Symbol 8 MovieClip [bugaj] Frame 1
speed = 12;
dx = 1;
loyal = _root.loyal / 2;
dead = 0;
Symbol 8 MovieClip [bugaj] Frame 2
if (random(20) == 0) {
dx = random(2);
if (dx == 0) {
dx = -1;
}
}
if ((random(Math.ceil(loyal)) == 0) && (speed != 0)) {
_y = (_y + 15);
_xscale = (_xscale + 10);
_yscale = (_yscale + 10);
curlev = curlev + 50;
this.swapDepths(curlev);
if (_y > _root.maxY) {
_root.gotoAndPlay("gameover");
}
}
if ((_y > (_root.maxY - 100)) && (speed)) {
speed = 7;
}
this._x = this._x + (dx * speed);
if (this._x < _root.minX) {
_x = _root.minX;
dx = 1;
}
if (this._x > _root.maxX) {
_x = _root.maxX;
dx = -1;
}
Symbol 8 MovieClip [bugaj] Frame 3
if (!dead) {
gotoAndPlay (2);
} else {
_root.score = _root.score + (15 * _root.level);
play();
}
Symbol 8 MovieClip [bugaj] Frame 10
stop();
removeMovieClip(_target);
Symbol 16 MovieClip [ment] Frame 1
speed = 7;
dx = 1;
loyal = _root.loyal;
dead = 0;
Symbol 16 MovieClip [ment] Frame 2
if (random(20) == 0) {
dx = random(2);
if (dx == 0) {
dx = -1;
}
}
if ((random(Math.ceil(loyal)) == 0) && (speed != 0)) {
_y = (_y + 15);
_xscale = (_xscale + 10);
_yscale = (_yscale + 10);
curlev = curlev + 50;
this.swapDepths(curlev);
if (_y > _root.maxY) {
_root.gotoAndPlay("gameover");
}
}
this._x = this._x + (dx * speed);
if (this._x < _root.minX) {
_x = _root.minX;
dx = 1;
}
if (this._x > _root.maxX) {
_x = _root.maxX;
dx = -1;
}
Symbol 16 MovieClip [ment] Frame 3
if (!dead) {
gotoAndPlay (2);
} else {
_root.score = _root.score + (1 * _root.level);
play();
}
Symbol 16 MovieClip [ment] Frame 9
stop();
removeMovieClip(_target);
Symbol 25 MovieClip [shd] Frame 1
sc = 2 * (v / 20);
dx = (tx - _x) / (5 + (v / 3));
dy = (ty - _y) / (5 + (v / 3));
Symbol 25 MovieClip [shd] Frame 2
_x = (_x + dx);
_y = (_y + dy);
_xscale = (_xscale - sc);
_yscale = (_yscale - sc);
sc = sc + 0.3;
Symbol 25 MovieClip [shd] Frame 3
if (_y <= ty) {
stop();
removeMovieClip(_target);
}
gotoAndPlay(_currentframe - 1);
Symbol 46 MovieClip [egg] Frame 1
sc = 2 * (v / 20);
dx = (tx - _x) / (5 + (v / 3));
dy = (ty - _y) / (5 + (v / 3));
Symbol 46 MovieClip [egg] Frame 2
_x = (_x + dx);
_y = (_y + dy);
_xscale = (_xscale - sc);
_yscale = (_yscale - sc);
sc = sc + 0.3;
flag = 1;
i = 0;
while (i <= _root.currment) {
if (this.hitTest("_root.field.ment" add i) && (flag)) {
tmp = eval ("_root.field.ment" add i);
tmp2 = tmp.getBounds(_root);
if (_y < (tmp2.yMax - 20)) {
Set(("_root.field.ment" add i) add ":dead", 1);
removeMovieClip("_root.field.shd" add num);
_root.totalments--;
flag = 0;
gotoAndPlay (11);
}
}
i++;
}
tmp = _root.field.ham.getBounds(_root);
if ((((this.hitTest(_root.field.ham) && (_y < (tmp.yMax - 15))) && (_x > (tmp.xMin + 15))) && (_x < (tmp.xMax - 15))) && (flag)) {
gotoAndPlay (11);
_root.gotoAndPlay("gotcha");
}
Symbol 46 MovieClip [egg] Frame 3
if (_y <= ty) {
removeMovieClip("_root.field.shd" add num);
this.swapDepths(0);
if (_y > (_root.minY + 10)) {
gotoAndPlay (4);
} else {
removeMovieClip(_target);
}
} else {
gotoAndPlay(_currentframe - 1);
}
Symbol 46 MovieClip [egg] Frame 10
stop();
removeMovieClip(_target);
Symbol 46 MovieClip [egg] Frame 17
stop();
removeMovieClip(_target);
Symbol 53 MovieClip Frame 1
i = random(150);
Symbol 53 MovieClip Frame 7
if (i--) {
gotoAndPlay(_currentframe - 1);
}
Symbol 69 Button
on (release) {
play();
}
Symbol 83 MovieClip Frame 1
stop();
Symbol 83 MovieClip Frame 20
stop();
Symbol 96 MovieClip Frame 1
i = _root.level * 8;
Symbol 96 MovieClip Frame 3
if (i--) {
gotoAndPlay(_currentframe - 1);
}
Symbol 96 MovieClip Frame 5
speed = 6;
dx = 1;
_x = ((random(2) * (_root.maxX - _root.minX)) + _root.minX);
Symbol 96 MovieClip Frame 6
if (random(20) == 0) {
dx = random(2);
if (dx == 0) {
dx = -1;
}
}
this._x = this._x + (dx * speed);
if (this._x < _root.minX) {
_x = _root.minX;
dx = 1;
}
if (this._x > _root.maxX) {
_x = _root.maxX;
dx = -1;
}
Symbol 96 MovieClip Frame 7
gotoAndPlay(_currentframe - 1);
Symbol 111 MovieClip Frame 1
stop();
Symbol 111 MovieClip Frame 2
stop();
Symbol 111 MovieClip Frame 3
stop();
Symbol 111 MovieClip Frame 4
stop();
Symbol 111 MovieClip Frame 5
stop();
Symbol 111 MovieClip Frame 6
stop();
Symbol 112 MovieClip Frame 1
stop();
Symbol 112 MovieClip Frame 2
play();
Symbol 123 Button
on (release) {
gotoAndPlay (6);
}
Symbol 149 Button
on (release) {
gotoAndPlay (6);
}
Symbol 151 Button
on (release) {
gotoAndStop (5);
}
Symbol 160 Button
on (release) {
getURL ((("submit.php?score=" add (score * 59)) add "&nick=") add nick);
}