Frame 1
stop();
Frame 2
function retry() {
_root.energy_t = 2;
gotoAndStop (1);
removeMovieClip(_root.man);
removeMovieClip(_root.retry1);
var _local2 = 1;
while (_local2 < 111) {
removeMovieClip(_root["sled" + _local2]);
removeMovieClip(_root["kaka" + _local2]);
_local2++;
}
}
function bitard_go() {
_root.walls.dver.gotoAndStop(2);
}
stop();
_root.text = "";
eda = false;
eda_time = 0;
kaka_time = 0;
kaka_p = 0;
k = 0;
sm = 0;
cat_go = true;
action = false;
kol_gas = 0;
time_gas = 0;
gas = false;
_root.gas_i._visible = false;
_root.energy_t = 50;
_root.kaka_c = 0;
onEnterFrame = function () {
if (eda == true) {
if (Key.isDown(32) and ((getTimer() - eda_time) > 1200)) {
_root.text = "\u041E\u043C\u043D\u043E\u043C\u043D\u043E\u043C";
_root.kaka_c = _root.kaka_c + 10;
_root.energy_t = _root.energy_t + 25;
_root.attachMovie("omnom", "omnom" + i, i, {_x:_root.man._x, _y:_root.man._y, _alpha:55});
eda_time = getTimer();
}
}
if (_root.kaka_c > 9) {
_root.attachMovie("kaka_text", "kaka_text1", 5, {_x:300, _y:50});
kaka_p = 1;
} else {
kaka_p = 0;
removeMovieClip(_root.kaka_text1);
}
if (_root.energy_t > 100) {
_root.energy_t = 100;
}
if ((_root.energy_t < 10) and (_root.energy_t > 1)) {
_root.text = "\u041F\u043E\u043C\u043E\u0435\u043C\u0443 \u044F \u0434\u0430\u0432\u043D\u043E \u043D\u0435 \u0441\u043F\u0430\u043B/\u0435\u043B.";
}
if (_root.energy_t < 1) {
cat_go = false;
_root.man.gotoAndStop(20);
_root.text = "\u0415\u0411\u0410\u0422\u042C \u041A\u0410\u041A \u042F \u0423\u0421\u0422\u0410\u041B";
_root.attachMovie("retry", "retry1", 500, {_x:400, _y:250});
}
if ((action == true) and (Key.getCode() == 69)) {
_root.text = "*\u041F\u0448\u0448\u0448\u0448* \u041A\u0430\u043A\u043E\u0439 \u043D\u0435\u043F\u0440\u0438\u044F\u0442\u043D\u044B\u0439 \u0437\u0430\u043F\u0430\u0445.";
_root.gas_ht._x = 1400;
gas = true;
_root.gas_i._visible = true;
action = false;
}
if (gas == true) {
if ((getTimer() - time_gas) > 700) {
kol_gas = kol_gas + 1;
time_gas = getTimer();
if (kol_gas > 99) {
gas = false;
}
}
}
if (kol_gas > 30) {
bitard_go();
}
};
Instance of Symbol 47 MovieClip "man" in Frame 2
onClipEvent (load) {
thrust = 1;
decay = 0.5;
maxSpeed = 3;
xSpeed = 0;
ySpeed = 0;
i = 0;
time = 0;
k = 0;
swapDepths(150);
time = 0;
}
onClipEvent (enterFrame) {
xm = man._x;
if (_root.cat_go == true) {
if (Key.isDown(39)) {
_rotation = (_rotation + 7);
}
if (Key.isDown(37)) {
_rotation = (_rotation - 7);
}
}
if (Key.isDown(38) and (_root.cat_go == true)) {
play();
i = i + 1;
if ((getTimer() - time) > 400) {
_root.energy_t = _root.energy_t - 1;
_root.attachMovie("sled", "sled" + i, k, {_x:this._x, _y:this._y});
setProperty(_root["sled" + i], _rotation , this._rotation);
time = getTimer();
k++;
if (k > 20) {
k = 0;
}
}
xSpeed = xSpeed + (thrust * Math.sin(_rotation * (Math.PI/180)));
ySpeed = ySpeed + (thrust * Math.cos(_rotation * (Math.PI/180)));
} else {
xSpeed = xSpeed * decay;
ySpeed = ySpeed * decay;
gotoAndStop (6);
}
speed = Math.sqrt((xSpeed * xSpeed) + (ySpeed * ySpeed));
if (speed > maxSpeed) {
xSpeed = xSpeed * (maxSpeed / speed);
ySpeed = ySpeed * (maxSpeed / speed);
}
_y = (_y - ySpeed);
_x = (_x + xSpeed);
if ((Key.isDown(13) and (_root.kaka_p == 1)) and ((getTimer() - _root.kaka_time) > 1200)) {
_root.attachMovie("kaka", "kaka" + k, k + 110, {_x:this._x, _y:this._y, _rotation:random(270)});
k++;
_root.energy_t = _root.energy_t - 15;
_root.kaka_time = getTimer();
_root.kaka_c = _root.kaka_c - 10;
_root.text = "\u0421\u0440\u0451\u0442";
}
if (Key.getCode() == 88) {
_root.attachMovie("zzz", "zzz" + k, k + 110, {_x:this._x - 20, _y:this._y - 20});
_root.cat_go = false;
_root.man.gotoAndPlay(18);
if (((getTimer() - time) > 850) and (_root.energy_t < 100)) {
_root.energy_t = _root.energy_t + 1;
time = getTimer();
}
} else {
removeMovieClip(_root["zzz" + k]);
_root.cat_go = true;
}
if (Key.getCode() == 77) {
_root.meows.play();
}
}
on (rollOver) {
_root.text = "\u041C\u044F\u0443.";
}
Instance of Symbol 65 MovieClip "walls" in Frame 2
onClipEvent (enterFrame) {
with (_root.man) {
if (_root.walls.hitTest(getBounds(_root).xMax, _y, true)) {
_x = _x - 3;
}
if (_root.walls.hitTest(getBounds(_root).xMin, _y, true)) {
_x = _x + 3;
}
if (_root.walls.hitTest(_x, getBounds(_root).yMax, true)) {
_y = _y - 3;
}
if (_root.walls.hitTest(_x, getBounds(_root).yMin, true)) {
_y = _y + 3;
}
}
}
Instance of Symbol 67 MovieClip in Frame 2
onClipEvent (enterFrame) {
if (this.hitTest(_root.man)) {
_root.gotoAndPlay(2);
var i = 1;
while (i < 111) {
removeMovieClip(_root["sled" + i]);
i++;
}
_root.man._x = 520;
_root.man._y = 380;
}
}
Instance of Symbol 71 MovieClip in Frame 2
on (rollOver) {
_root.text = "\u041B\u0438\u0441\u0442\u043E\u043A. Sup \u0444\u043B\u0435\u0448\u0430\u0447, 30-08-12";
}
Instance of Symbol 36 MovieClip in Frame 2
onClipEvent (enterFrame) {
if (this.hitTest(_root.man)) {
_root.attachMovie("eda1", "eda11", 2, {_x:300, _y:50});
_root.eda = true;
} else {
removeMovieClip(_root.eda11);
_root.eda = false;
}
}
Instance of Symbol 36 MovieClip "gas_ht" in Frame 2
onClipEvent (enterFrame) {
if (this.hitTest(_root.man)) {
_root.text = "\u0410 \u0447\u0442\u043E \u0431\u0443\u0434\u0435\u0442 \u0435\u0441\u043B\u0438 \u044D\u0442\u043E \u043F\u043E\u0432\u0435\u0440\u043D\u0443\u0442\u044C? \u041C\u044F\u0443.";
_root.action = true;
} else {
_root.action = false;
}
}
Frame 3
stop();
_root.player2 = 0;
Symbol 9 MovieClip [omnom] Frame 21
stop();
Symbol 24 Button
on (release) {
_root.retry();
}
Symbol 29 Button
on (release) {
gotoAndPlay (2);
}
Symbol 47 MovieClip Frame 1
stop();
Symbol 47 MovieClip Frame 17
gotoAndPlay (2);
Symbol 47 MovieClip Frame 18
stop();
Symbol 47 MovieClip Frame 19
stop();
Symbol 52 Button
on (rollOver) {
_root.text = "\u041F\u043B\u0438\u0442\u0430.";
}
Symbol 60 MovieClip Frame 1
stop();
Symbol 60 MovieClip Frame 2
stop();
Instance of Symbol 54 MovieClip in Symbol 65 MovieClip Frame 1
on (rollOver) {
_root.text = "\u0421\u0442\u0435\u043D\u0430.";
}
Instance of Symbol 56 MovieClip in Symbol 65 MovieClip Frame 1
on (rollOver) {
_root.text = "\u041F\u0430\u0445\u043D\u0435\u0442 \u0435\u0434\u043E\u0439, \u041C\u044F\u0443!";
}
Instance of Symbol 60 MovieClip "dver" in Symbol 65 MovieClip Frame 1
on (rollOver) {
_root.text = "\u0414\u0432\u0435\u0440\u044C. \u042F \u043D\u0435 \u0445\u043E\u0447\u0443 \u0441\u0438\u0434\u0435\u0442\u044C \u0432 \u043E\u0434\u043D\u043E\u0439 \u043A\u043E\u043C\u043D\u0430\u0442\u0435, \u043D\u0443\u0436\u043D\u043E \u043F\u0440\u0438\u0434\u0443\u043C\u0430\u0442\u044C \u043A\u0430\u043A \u0435\u0435 \u043E\u0442\u043A\u0440\u044B\u0442\u044C! \u041C\u044F\u0443!";
}
Instance of Symbol 62 MovieClip in Symbol 65 MovieClip Frame 1
on (rollOver) {
_root.text = "\u0421\u0442\u0443\u043B.";
}
Instance of Symbol 64 MovieClip in Symbol 65 MovieClip Frame 1
on (rollOver) {
_root.text = "\u0421\u0442\u043E\u043B.";
}
Symbol 82 MovieClip Frame 1
stop();
Symbol 82 MovieClip Frame 28
gotoAndStop (1);