Frame 1
t = 60;
t2 = 100;
var MENU = new ContextMenu();
MENU.hideBuiltInItems();
MENU.builtInItems.quality = true;
Frame 2
if (t != 100) {
t = t + 10;
MCPreloader._alpha = t;
} else if (t2 != 40) {
t2 = t2 - 10;
MCPreloader._alpha = t2;
} else {
t = 40;
t2 = 100;
}
Frame 3
gotoAndPlay(_currentframe - 1);
Frame 34
stop();
Frame 36
rock._x = -100;
rock._y = -100;
fscommand ("allowscale", 0);
start = getTimer();
x = 0;
score = 0;
lives = 5;
hitstart = 0;
Instance of Symbol 39 MovieClip "man" in Frame 36
onClipEvent (enterFrame) {
if (((!dead) && (!almostdead)) && (_root._xmouse > 50)) {
if (_root._xmouse < this._x) {
dir = "left";
} else if (_root._xmouse > this._x) {
dir = "right";
} else {
dir = "none";
}
this._x = _root._xmouse;
if (dir != prevdir) {
if (dir == "none") {
_root.man.gotoAndPlay("1");
} else if (dir == "left") {
_root.man.gotoAndPlay("left");
} else if (dir == "right") {
_root.man.gotoAndPlay("right");
}
prevdir = dir;
}
}
}
onClipEvent (keyDown) {
if (dead && (Key.isDown(32))) {
_root.restart = true;
} else if (Key.isDown(37)) {
left = true;
right = false;
if ((!anim) && (!dead)) {
_root.man.gotoAndPlay("left");
anim = true;
}
} else if (Key.isDown(39)) {
right = true;
left = false;
if ((!anim) && (!dead)) {
_root.man.gotoAndPlay("right");
anim = true;
}
}
}
onClipEvent (keyUp) {
left = false;
right = false;
anim = false;
if (!dead) {
gotoAndPlay (36);
}
}
Instance of Symbol 51 MovieClip in Frame 36
onClipEvent (enterFrame) {
gotoAndStop (37);
}
Instance of Symbol 51 MovieClip in Frame 36
onClipEvent (enterFrame) {
gotoAndStop (37);
}
Instance of Symbol 51 MovieClip in Frame 36
onClipEvent (enterFrame) {
gotoAndStop (37);
}
Instance of Symbol 51 MovieClip in Frame 36
onClipEvent (enterFrame) {
gotoAndStop (37);
}
Instance of Symbol 51 MovieClip in Frame 36
onClipEvent (enterFrame) {
gotoAndStop (37);
}
Frame 37
manspeech._x = _xmouse - 150;
curTime = getTimer() - beginTime;
if ((curTime > 5000) && (curTime < 7000)) {
manspeech.text = "\u041E\u044F\u0435\u0431\u0443!!1";
} else if ((curTime > 15000) && (curTime < 18000)) {
manspeech.text = "WTF??";
} else if ((curTime > 25000) && (curTime < 28000)) {
manspeech.text = "\u043E\u043B\u043E\u043B\u043E!1";
} else if ((curTime > 35000) && (curTime < 38000)) {
manspeech.text = "\u0423\u0413!!";
} else if ((curTime > 45000) && (curTime < 47000)) {
manspeech.text = "\u041F\u044B\u0449\u044C \u043F\u044B\u0449\u044C!1";
} else if ((curTime > 50000) && (curTime < 52000)) {
manspeech.text = "\u041A\u043E\u0442\u0435!!";
} else if ((curTime > 55000) && (curTime < 57000)) {
manspeech.text = "YARRRRR!!!";
} else if ((curTime > 65000) && (curTime < 68000)) {
manspeech.text = "THIS IS SPARTA!!";
} else if ((curTime > 75000) && (curTime < 82000)) {
manspeech.text = "\u041E\u043D\u043E\u0442\u043E\u043B\u0435!1";
} else if ((curTime > 85000) && (curTime < 88000)) {
manspeech.text = "#*!@#!";
} else if ((curTime > 95000) && (curTime < 98000)) {
manspeech.text = "\u041F\u0441\u0442\u043E\u0434\u0438\u043E\u0442!1";
} else if ((curTime > 105000) && (curTime < 108000)) {
manspeech.text = "shit!!!";
} else {
manspeech.text = "";
}
rock._x = -100;
rock._y = -100;
if ((getTimer() - start) > 2000) {
x++;
duplicateMovieClip (rock, "rock" + x, x);
start = getTimer();
}
if (man.dead) {
gotoAndPlay (39);
}
Instance of Symbol 51 MovieClip in Frame 37
onClipEvent (enterFrame) {
if (_root.lives < 3) {
gotoAndStop (37);
}
}
Instance of Symbol 51 MovieClip in Frame 37
onClipEvent (enterFrame) {
if (_root.lives < 4) {
gotoAndStop (37);
}
}
Instance of Symbol 51 MovieClip in Frame 37
onClipEvent (enterFrame) {
if (_root.lives < 5) {
gotoAndStop (37);
}
}
Instance of Symbol 51 MovieClip in Frame 37
onClipEvent (enterFrame) {
if (_root.lives < 1) {
gotoAndStop (37);
}
}
Instance of Symbol 51 MovieClip in Frame 37
onClipEvent (enterFrame) {
if (_root.lives < 2) {
gotoAndStop (37);
}
}
Frame 38
rock._x = -100;
rock._y = -100;
gotoAndPlay (37);
Frame 39
rock._x = -100;
rock._y = -100;
if (restart) {
d = 0;
while (d < (x + 1)) {
removeMovieClip(_root["rock" + d]);
d++;
}
x = 0;
restart = false;
gotoAndPlay (36);
man.gotoAndPlay(1);
man.dead = false;
rock.gotoAndPlay(1);
}
Frame 40
rock._x = -100;
rock._y = -100;
gotoAndPlay (39);
Symbol 9 MovieClip Frame 1
total = _root.getBytesTotal();
r = EmptyMC.createEmptyMovieClip("m", 1);
r.lineStyle(1, 0, 100);
MovieClip.prototype.drawCircle = function (segs, sw, w, rad) {
var w = (w + sw);
var teilW = ((w - sw) / segs);
var _local1 = 0;
while (_local1 <= segs) {
var _local2 = Math.cos(((teilW * _local1) * 3.141593) / 180) * rad;
var _local3 = Math.sin(((teilW * _local1) * 3.141593) / 180) * rad;
this.lineTo(_local2, _local3);
_local1++;
}
this.lineTo(0, 0);
this._rotation = sw;
};
Symbol 9 MovieClip Frame 2
percent = int((_root.getBytesLoaded() / total) * 100);
if (percent < 10) {
cPercent = "00" + percent;
} else if (percent < 100) {
cPercent = "0" + percent;
} else {
cPercent = percent;
}
todo = total - _root.getBytesLoaded();
if (todo < 10) {
todo = "";
}
done = _root.getBytesLoaded();
if (done == total) {
done = "Completely Loaded";
}
r.beginFill(0, 100);
r.drawCircle(100, 0, percent * 2.7, 100);
r.endFill();
Symbol 9 MovieClip Frame 3
if (percent >= 100) {
_root.gotoAndPlay(10);
} else {
gotoAndPlay(_currentframe - 1);
}
Symbol 9 MovieClip Frame 4
stop();
Symbol 17 Button
on (release) {
begintime = getTimer();
_root.gotoAndPlay("begingame");
}
Symbol 39 MovieClip Frame 12
gotoAndPlay (1);
Symbol 39 MovieClip Frame 18
gotoAndPlay ("right");
Symbol 39 MovieClip Frame 24
gotoAndPlay ("left");
Symbol 39 MovieClip Frame 35
if (_root.lives == 0) {
dead = true;
stop();
}
_root.almostdead = false;
Symbol 41 Button
on (press) {
_parent.gotoAndPlay(4);
}
Symbol 46 MovieClip Frame 1
stop();
Symbol 48 MovieClip Frame 1
grav = 1;
bounce = 0.9;
friction = 0.99999;
bottom = 345;
right = 550;
_x = 0;
_y = 50;
xspeed = (Math.random() * 8) + 2;
yspeed = 1;
Symbol 48 MovieClip Frame 2
xspeed = xspeed * friction;
yspeed = yspeed + grav;
yspeed = yspeed * friction;
_x = (_x + xspeed);
_y = (_y + yspeed);
if (_y > bottom) {
_y = bottom;
yspeed = (-yspeed) * bounce;
rock_sym.gotoAndPlay(2);
}
if ((_x > right) && (!_root.man.dead)) {
gotoAndPlay (1);
_root.score++;
} else if (_x > right) {
removeMovieClip(this);
}
if (hitTest(_root.man) && ((getTimer() - _root.hitstart) > 1000)) {
_root.hitstart = getTimer();
if (!_root.man.dead) {
_root.lives--;
_root.man.gotoAndPlay("dead");
}
}
Symbol 48 MovieClip Frame 3
gotoAndPlay (2);
Symbol 48 MovieClip Frame 4
stop();
Symbol 51 MovieClip Frame 1
stop();