Frame 4
_root.attachMovie("background_down", "background_down", 10000);
_root.background_down._x = -720.2;
_root.background_down._y = -720.2;
fscommand ("trapallkeys", true);
system.usecodepage = true;
fscommand ("allowscale", false);
stop();
Frame 5
fscommand ("showmenu", false);
girls_vibor = 0;
stop();
Frame 6
stop();
Frame 11
function initgame() {
var _local1 = _root;
skolko_raz = "4 \u0440\u0430\u0437\u0430";
skolko_ochkov = 500;
info_pause = 500;
crash = 0;
strip = false;
score = 0;
score_temp = 0;
flag_score = 0;
yama_score = 0;
krab_score = 0;
sunduk_score = 0;
box_score = 0;
egg_score = 0;
kubok_score = 0;
zontik_score = 0;
girls1_1_pokaz = false;
girls1_2_pokaz = false;
girls1_3_pokaz = false;
girls1_4_pokaz = false;
girls1_5_pokaz = false;
girls2_1_pokaz = false;
girls2_2_pokaz = false;
girls2_3_pokaz = false;
girls2_4_pokaz = false;
girls2_5_pokaz = false;
girls3_1_pokaz = false;
girls3_2_pokaz = false;
girls3_3_pokaz = false;
girls3_4_pokaz = false;
girls3_5_pokaz = false;
girls_number_pokaz = 1;
girls_remove = false;
pokaz_idet = false;
pokaz_end = false;
pause_game = false;
egg_down = false;
egg_point_y = 0;
end_egg_boom = false;
egg_dvig = false;
egg_ground = false;
egg_car = false;
egg_create = true;
uptoyama = false;
uptoyama2 = false;
uptokrab = false;
uptokrab2 = false;
oblako_dvig = true;
lainer_dvig = true;
eagle_dvig = false;
flag_dvig = false;
flag2_dvig = false;
flag3_dvig = false;
flag4_dvig = false;
tramplin_dvig = false;
yama_dvig = false;
yama2_dvig = false;
krab_dvig = false;
krab2_dvig = false;
sunduk_dvig = false;
kubok_dvig = false;
box1_dvig = false;
box2_dvig = false;
not_dvig = false;
zontik_dvig = false;
zontik2_dvig = false;
start_dvig = true;
finish_dvig = false;
km = 0;
_local1.attachMovie("car", "car", 500);
_local1.car._x = 70;
_local1.car._y = 250;
_local1.attachMovie("oblako", "oblako", 200);
_local1.oblako._x = 555;
_local1.oblako._y = 20 + random(55);
_local1.oblako._alpha = 80;
_local1.attachMovie("lainer", "lainer", 300);
_local1.lainer._x = 660;
_local1.lainer._y = 85 + random(40);
_local1.lainer._xscale = _local1.lainer._y - 20;
_local1.lainer._yscale = _local1.lainer._y - 20;
_local1.attachMovie("start_planka", "start_planka", 320);
_local1.start_planka._x = 344;
(_local1.start_planka._y = 151);
_local1.start_planka._alpha = 80;
sound1 = new Sound();
sound1.attachSound("sound_sunduk");
sound2 = new Sound();
sound2.attachSound("sound_box");
sound3 = new Sound();
sound3.attachSound("sound_tramplin");
sound4 = new Sound();
sound4.attachSound("sound_krab");
sound5 = new Sound();
sound5.attachSound("flag1_sound");
sound6 = new Sound();
sound6.attachSound("flag2_sound");
sound7 = new Sound();
sound7.attachSound("flag3_sound");
sound8 = new Sound();
sound8.attachSound("sound_zontik");
sound9 = new Sound();
sound9.attachSound("sound_kubok");
sound10 = new Sound();
sound10.attachSound("sound_egg_ground");
sound11 = new Sound();
sound11.attachSound("sound_eagle");
sound12 = new Sound();
sound12.attachSound("Sound_eagle_down");
sound13 = new Sound();
sound13.attachSound("sound_egg_car");
sound14 = new Sound();
sound14.attachSound("sound_yama");
sound15 = new Sound();
sound15.attachSound("sound_girls");
sound16 = new Sound();
sound16.attachSound("sound_prushina");
}
function game() {
var _local1 = _root;
randomise();
km++;
if (score <= 500) {
info_pause = 500 - score;
}
if (score > 500) {
info_pause = 0;
}
if ((km < 5000) or (km == 5000)) {
_local1.dest_km._xscale = km / 50;
}
if (_local1.score_temp <= 50) {
_local1.dest_score._xscale = _local1.score_temp * 2;
_local1.skill.text = "\u0423\u0440\u043E\u0432\u0435\u043D\u044C 1";
skolko_raz = "4 \u0440\u0430\u0437\u0430";
}
if ((_local1.score_temp > 50) and (_local1.score_temp <= 200)) {
_local1.dest_score._xscale = (_local1.score_temp - 50) / 1.5;
_local1.skill.text = "\u0423\u0440\u043E\u0432\u0435\u043D\u044C 2";
skolko_raz = "3 \u0440\u0430\u0437\u0430";
}
if ((_local1.score_temp > 200) and (_local1.score_temp <= 350)) {
_local1.dest_score._xscale = (_local1.score_temp - 200) / 1.5;
_local1.skill.text = "\u0423\u0440\u043E\u0432\u0435\u043D\u044C 3";
skolko_raz = "2 \u0440\u0430\u0437\u0430";
}
if ((_local1.score_temp > 350) and (_local1.score_temp <= 500)) {
_local1.dest_score._xscale = (_local1.score_temp - 350) / 1.5;
_local1.skill.text = "\u0423\u0440\u043E\u0432\u0435\u043D\u044C 4";
skolko_raz = "1 \u0440\u0430\u0437";
}
if (_local1.score_temp > 500) {
_local1.dest_score._xscale = 100;
_local1.skill.text = "\u0423\u0440\u043E\u0432\u0435\u043D\u044C 5!";
}
if (_local1.score <= 50) {
skolko_ochkov = 50 - score;
}
if ((_local1.score_temp > 50) and (_local1.score_temp <= 200)) {
skolko_ochkov = 200 - score;
}
if ((_local1.score_temp > 200) and (_local1.score_temp <= 350)) {
skolko_ochkov = 350 - score;
}
if ((_local1.score_temp > 350) and (_local1.score_temp < 500)) {
skolko_ochkov = 500 - score;
}
if (crash > 100) {
crash = 100;
remove_all();
}
_local1.dest_crash._xscale = crash;
if ((finish_dvig == false) and (km > 5000)) {
_local1.attachMovie("finish_planka", "finish_planka", 330);
_local1.finish_planka._x = 644;
(_local1.finish_planka._y = 151);
_local1.finish_planka._alpha = 80;
finish_dvig = true;
}
if (finish_dvig == true) {
_local1.finish_planka._x = _local1.finish_planka._x - 10;
}
if ((finish_dvig == true) and _local1.car.hitTest(_local1.finish_planka.hit)) {
remove_all();
}
speed = _local1.car._xmouse / 10;
speed2 = _local1.car._ymouse / 10;
if (not_dvig == false) {
_local1.car._x = _local1.car._x + speed;
_local1.car._y = _local1.car._y + speed2;
}
if (_local1.car._x > 480) {
_local1.car._x = 480;
}
if (_local1.car._x < 70) {
_local1.car._x = 70;
}
if (_local1.car._y > 380) {
_local1.car._y = 380;
}
if (_local1.car._y < 160) {
_local1.car._y = 160;
}
if (start_dvig == true) {
if (_local1.start_planka._x > -140) {
_local1.start_planka._x = _local1.start_planka._x - 10;
}
if (_local1.start_planka._x < -140) {
removeMovieClip(_local1.start_planka);
start_dvig = false;
}
}
if (oblako_dvig == true) {
_local1.oblako._x = _local1.oblako._x - 2;
}
if (_local1.oblako._x < -85) {
_local1.oblako._x = 555;
_local1.oblako._y = 20 + random(55);
}
rnd_vibor_veshi = random(16);
if ((((rnd_vibor_veshi == 0) and (flag_dvig == false)) and (random(3) == 1)) and (finish_dvig == false)) {
_local1.attachMovie("flag", "flag", 520);
_local1.flag._x = 555;
_local1.flag._y = rnd_veshi;
flag_dvig = true;
}
if (flag_dvig == true) {
_local1.flag._x = _local1.flag._x - 10;
}
if (_local1.flag._x < -35) {
flag_dvig = false;
removeMovieClip(_local1.flag);
}
if (_local1.car.hitTest(_local1.flag.flag_hit)) {
_local1.flag.gotoAndPlay(2);
score = score + 2;
flag_score++;
sound5.start();
}
if ((((rnd_vibor_veshi == 1) and (tramplin_dvig == false)) and (random(2) == 1)) and (finish_dvig == false)) {
_local1.attachMovie("tramplin", "tramplin", 400);
_local1.tramplin._x = 555;
_local1.tramplin._y = rnd_veshi;
tramplin_dvig = true;
}
if (tramplin_dvig == true) {
_local1.tramplin._x = _local1.tramplin._x - 10;
}
if (_local1.tramplin._x < -35) {
tramplin_dvig = false;
removeMovieClip(_local1.tramplin);
}
if (_local1.car.hitTest(_local1.tramplin) and (not_dvig == false)) {
i = random(2);
if (i == 0) {
_local1.car.gotoAndPlay(6);
}
if (i == 1) {
_local1.car.gotoAndPlay(31);
}
sound3.start();
_local1.tramplin.gotoAndPlay(2);
not_dvig = true;
crash = crash + 2;
}
if ((((rnd_vibor_veshi == 2) and (yama_dvig == false)) and (random(3) == 1)) and (finish_dvig == false)) {
_local1.attachMovie("yama", "yama", 390);
_local1.yama._x = 555;
_local1.yama._y = rnd_veshi;
yama_dvig = true;
}
if (yama_dvig == true) {
_local1.yama._x = _local1.yama._x - 10;
}
if (_local1.yama._x < -35) {
yama_dvig = false;
uptoyama = false;
removeMovieClip(_local1.yama);
}
if ((((_local1.car.hitTest(_local1.yama.hit) and (uptoyama == false)) and (not_dvig == false)) and (uptokrab == false)) and (uptokrab2 == false)) {
_local1.car.gotoAndPlay(56);
_local1.yama.gotoAndPlay(2);
uptoyama = true;
score = score - 10;
yama_score++;
sound14.start();
crash = crash + 10;
}
if ((_local1.car.hitTest(_local1.yama.hit) and ((uptokrab == true) or (uptokrab2 == true))) and (not_dvig == false)) {
_local1.yama.gotoAndPlay(2);
score = score - 6;
yama_score++;
crash = crash + 6;
}
if ((((rnd_vibor_veshi == 3) and (flag2_dvig == false)) and (random(4) == 1)) and (finish_dvig == false)) {
_local1.attachMovie("flag2", "flag2", 530);
_local1.flag2._x = 555;
_local1.flag2._y = rnd_veshi;
flag2_dvig = true;
}
if (flag2_dvig == true) {
_local1.flag2._x = _local1.flag2._x - 10;
}
if (_local1.flag2._x < -35) {
flag2_dvig = false;
removeMovieClip(_local1.flag2);
}
if (_local1.car.hitTest(_local1.flag2.flag_hit)) {
_local1.flag2.gotoAndPlay(2);
score = score + 2;
flag_score++;
sound6.start();
}
if ((((rnd_vibor_veshi == 4) and (krab_dvig == false)) and (random(3) == 1)) and (finish_dvig == false)) {
_local1.attachMovie("g_krab", "g_krab", 410);
_local1.g_krab._x = 555;
_local1.g_krab._y = rnd_veshi;
krab_dvig = true;
}
if (krab_dvig == true) {
_local1.g_krab._x = _local1.g_krab._x - 10;
}
if (_local1.g_krab._x < -35) {
krab_dvig = false;
uptokrab = false;
removeMovieClip(_local1.g_krab);
}
if ((_local1.car.hitTest(_local1.g_krab.hit) and (not_dvig == false)) and (uptokrab == false)) {
_local1.g_krab.gotoAndPlay(2);
if (uptokrab2 == false) {
_local1.car.gotoAndPlay(86);
}
uptokrab = true;
score = score - 6;
krab_score++;
sound4.start();
crash = crash + 6;
}
if ((((rnd_vibor_veshi == 5) and (sunduk_dvig == false)) and (random(5) == 1)) and (finish_dvig == false)) {
_local1.attachMovie("sunduk", "sunduk", 420);
_local1.sunduk._x = 555;
_local1.sunduk._y = rnd_veshi;
sunduk_dvig = true;
}
if (sunduk_dvig == true) {
_local1.sunduk._x = _local1.sunduk._x - 10;
}
if (_local1.sunduk._x < -35) {
sunduk_dvig = false;
removeMovieClip(_local1.sunduk);
}
if (_local1.car.hitTest(_local1.sunduk.hit) and (not_dvig == false)) {
_local1.sunduk.gotoAndPlay(2);
score = score + 2;
sunduk_score++;
sound1.start();
}
if (lainer_dvig == true) {
_local1.lainer._x = _local1.lainer._x - 1;
}
if (_local1.lainer._x < -85) {
_local1.lainer._x = 660;
_local1.lainer._y = 85 + random(40);
_local1.lainer._xscale = _local1.lainer._y - 20;
_local1.lainer._yscale = _local1.lainer._y - 20;
}
if ((((rnd_vibor_veshi == 6) and (box1_dvig == false)) and (random(6) == 1)) and (finish_dvig == false)) {
_local1.attachMovie("box1", "box1", 430);
_local1.box1._x = 555;
_local1.box1._y = rnd_veshi;
box1_dvig = true;
}
if (box1_dvig == true) {
_local1.box1._x = _local1.box1._x - 10;
}
if (_local1.box1._x < -35) {
box1_dvig = false;
removeMovieClip(_local1.box1);
}
if (_local1.car.hitTest(_local1.box1.hit) and (not_dvig == false)) {
_local1.box1.gotoAndPlay(2);
score = (score + random(2)) + 1;
box_score++;
sound2.start();
}
if ((((rnd_vibor_veshi == 7) and (krab2_dvig == false)) and (random(2) == 1)) and (finish_dvig == false)) {
_local1.attachMovie("g_krab2", "g_krab2", 415);
_local1.g_krab2._x = 555;
_local1.g_krab2._y = rnd_veshi;
krab2_dvig = true;
}
if (krab2_dvig == true) {
_local1.g_krab2._x = _local1.g_krab2._x - 10;
}
if (_local1.g_krab2._x < -35) {
krab2_dvig = false;
uptokrab2 = false;
removeMovieClip(_local1.g_krab2);
}
if ((_local1.car.hitTest(_local1.g_krab2.hit) and (not_dvig == false)) and (uptokrab2 == false)) {
_local1.g_krab2.gotoAndPlay(2);
if (uptokrab == false) {
_local1.car.gotoAndPlay(86);
}
uptokrab2 = true;
score = score - 6;
krab_score++;
sound4.start();
crash = crash + 6;
}
if ((((rnd_vibor_veshi == 8) and (yama2_dvig == false)) and (random(3) == 1)) and (finish_dvig == false)) {
_local1.attachMovie("yama2", "yama2", 395);
_local1.yama2._x = 555;
_local1.yama2._y = rnd_veshi;
yama2_dvig = true;
}
if (yama2_dvig == true) {
_local1.yama2._x = _local1.yama2._x - 10;
}
if (_local1.yama2._x < -35) {
yama2_dvig = false;
uptoyama2 = false;
removeMovieClip(_local1.yama2);
}
if ((((_local1.car.hitTest(_local1.yama2.hit) and (uptoyama2 == false)) and (not_dvig == false)) and (uptokrab == false)) and (uptokrab2 == false)) {
_local1.car.gotoAndPlay(56);
_local1.yama2.gotoAndPlay(2);
uptoyama2 = true;
score = score - 10;
yama_score++;
sound14.start();
crash = crash + 10;
}
if ((_local1.car.hitTest(_local1.yama2.hit) and ((uptokrab == true) or (uptokrab2 == true))) and (not_dvig == false)) {
_local1.yama2.gotoAndPlay(2);
score = score - 6;
yama_score++;
crash = crash + 6;
}
if ((((rnd_vibor_veshi == 9) and (flag3_dvig == false)) and (random(4) == 1)) and (finish_dvig == false)) {
_local1.attachMovie("flag3", "flag3", 540);
_local1.flag3._x = 555;
_local1.flag3._y = rnd_veshi;
flag3_dvig = true;
}
if (flag3_dvig == true) {
_local1.flag3._x = _local1.flag3._x - 10;
}
if (_local1.flag3._x < -35) {
flag3_dvig = false;
removeMovieClip(_local1.flag3);
}
if (_local1.car.hitTest(_local1.flag3.flag_hit)) {
_local1.flag3.gotoAndPlay(2);
score = score + 2;
flag_score++;
sound7.start();
}
if ((((rnd_vibor_veshi == 10) and (eagle_dvig == false)) and (random(40) == 1)) and (km > 1000)) {
_local1.attachMovie("eagle", "eagle", 310);
_local1.eagle._y = 8 + random(112);
_local1.eagle._xscale = 50;
_local1.eagle._yscale = 50;
_local1.eagle._x = -35;
eagle_dvig = true;
sound11.start();
if (((egg_dvig == false) and (egg_down == false)) and (egg_create == true)) {
_local1.attachMovie("egg", "egg", 545);
_local1.egg._x = _local1.eagle._x;
_local1.egg._y = _local1.eagle._y + 5;
_local1.egg._visible = false;
_local1.egg._xscale = 50;
_local1.egg._yscale = 50;
egg_dvig = true;
_local1.attachMovie("egg_ten", "egg_ten", 550);
_local1.egg_ten._x = _local1.egg._x;
_local1.egg_ten._y = 0;
_local1.egg_ten._visible = true;
}
}
if ((egg_dvig == true) and (egg_down == false)) {
_local1.egg._x = _local1.eagle._x;
}
if (_local1.egg._x > 555) {
egg_dvig = false;
removeMovieClip(_local1.egg);
}
if (eagle_dvig == true) {
_local1.eagle._x = _local1.eagle._x + 5;
}
if (_local1.eagle._x > 555) {
eagle_dvig = false;
removeMovieClip(_local1.eagle);
}
if ((_local1.egg._x > _local1.car._x) and (egg_dvig == true)) {
egg_dvig = false;
egg_down = true;
egg_point_y = _local1.car._y;
_local1.egg_ten._y = egg_point_y;
_local1.egg_ten.gotoAndPlay(2);
_local1.eagle.eagle.egg_eagle._visible = false;
_local1.egg._visible = true;
sound12.start();
}
if ((egg_down == true) and (_local1.egg._y < egg_point_y)) {
_local1.egg._y = _local1.egg._y + 10;
_local1.egg._x = _local1.egg._x - 2;
_local1.egg_ten._x = _local1.egg._x;
}
if ((egg_down == true) and (_local1.egg._y >= egg_point_y)) {
if (_local1.car.hitTest(_local1.egg.hit)) {
egg_car = true;
}
if ((!_local1.car.hitTest(_local1.egg.hit)) and (egg_car == false)) {
egg_ground = true;
}
egg_down = false;
removeMovieClip(_local1.egg_ten);
}
if (egg_car == true) {
_local1.egg.gotoAndPlay(2);
score = score - 15;
egg_score++;
sound13.start();
crash = crash + 15;
}
if (egg_ground == true) {
_local1.egg.gotoAndPlay(17);
sound10.start();
}
if (end_egg_boom == true) {
removeMovieClip(_local1.egg);
end_egg_boom = false;
egg_create = true;
}
if ((((rnd_vibor_veshi == 11) and (kubok_dvig == false)) and (random(10) == 1)) and (finish_dvig == false)) {
_local1.attachMovie("kubok", "kubok", 440);
_local1.kubok._x = 555;
_local1.kubok._y = rnd_veshi;
kubok_dvig = true;
}
if (kubok_dvig == true) {
_local1.kubok._x = _local1.kubok._x - 10;
}
if (_local1.kubok._x < -35) {
kubok_dvig = false;
removeMovieClip(_local1.kubok);
}
if (_local1.car.hitTest(_local1.kubok.hit) and (not_dvig == false)) {
_local1.kubok.gotoAndPlay(2);
score = (score + random(3)) + 1;
kubok_score++;
sound9.start();
}
if ((((rnd_vibor_veshi == 12) and (zontik_dvig == false)) and (random(3) == 1)) and (finish_dvig == false)) {
_local1.attachMovie("zontik", "zontik", 450);
_local1.zontik._x = 555;
_local1.zontik._y = rnd_veshi;
zontik_dvig = true;
}
if (zontik_dvig == true) {
_local1.zontik._x = _local1.zontik._x - 10;
}
if (_local1.zontik._x < -35) {
zontik_dvig = false;
removeMovieClip(_local1.zontik);
}
if (_local1.car.hitTest(_local1.zontik.hit) and (not_dvig == false)) {
_local1.zontik.gotoAndPlay(2);
score = score - 10;
zontik_score++;
sound8.start();
crash = crash + 10;
}
if (_local1.girls_vibor == 1) {
if (((score >= 50) and (score < 200)) and (girls1_2_pokaz == false)) {
create_pause();
girls1_2_pokaz = true;
strip = true;
_local1.dest_score._xscale = 100;
}
if (((score >= 200) and (score < 350)) and (girls1_3_pokaz == false)) {
create_pause();
girls1_3_pokaz = true;
strip = true;
_local1.dest_score._xscale = 100;
}
if (((score >= 350) and (score < 500)) and (girls1_4_pokaz == false)) {
create_pause();
girls1_4_pokaz = true;
strip = true;
_local1.dest_score._xscale = 100;
}
if ((score >= 500) and (girls1_5_pokaz == false)) {
create_pause();
girls1_5_pokaz = true;
strip = true;
_local1.dest_score._xscale = 100;
}
}
if (_local1.girls_vibor == 2) {
if (((score >= 50) and (score < 200)) and (girls2_2_pokaz == false)) {
create_pause();
girls2_2_pokaz = true;
strip = true;
_local1.dest_score._xscale = 100;
}
if (((score >= 200) and (score < 350)) and (girls2_3_pokaz == false)) {
create_pause();
girls2_3_pokaz = true;
strip = true;
_local1.dest_score._xscale = 100;
}
if (((score >= 350) and (score < 500)) and (girls2_4_pokaz == false)) {
create_pause();
girls2_4_pokaz = true;
strip = true;
_local1.dest_score._xscale = 100;
}
if ((score >= 500) and (girls2_5_pokaz == false)) {
create_pause();
girls2_5_pokaz = true;
strip = true;
_local1.dest_score._xscale = 100;
}
}
if (_local1.girls_vibor == 3) {
if (((score >= 50) and (score < 200)) and (girls3_2_pokaz == false)) {
create_pause();
girls3_2_pokaz = true;
strip = true;
_local1.dest_score._xscale = 100;
}
if (((score >= 200) and (score < 350)) and (girls3_3_pokaz == false)) {
create_pause();
girls3_3_pokaz = true;
strip = true;
_local1.dest_score._xscale = 100;
}
if (((score >= 350) and (score < 500)) and (girls3_4_pokaz == false)) {
create_pause();
girls3_4_pokaz = true;
strip = true;
_local1.dest_score._xscale = 100;
}
if ((score >= 500) and (girls3_5_pokaz == false)) {
create_pause();
girls3_5_pokaz = true;
strip = true;
_local1.dest_score._xscale = 100;
}
}
if (strip == true) {
strip = false;
sound15.start();
}
if (girls_remove == true) {
removeMovieClip(_local1.girls_pokaz);
girls_remove = false;
}
if ((((rnd_vibor_veshi == 13) and (flag4_dvig == false)) and (random(4) == 1)) and (finish_dvig == false)) {
_local1.attachMovie("flag4", "flag4", 542);
_local1.flag4._x = 555;
_local1.flag4._y = rnd_veshi;
flag4_dvig = true;
}
if (flag4_dvig == true) {
_local1.flag4._x = _local1.flag4._x - 10;
}
if (_local1.flag4._x < -35) {
flag4_dvig = false;
removeMovieClip(_local1.flag4);
}
if (_local1.car.hitTest(_local1.flag4.flag_hit)) {
_local1.flag4.gotoAndPlay(2);
score = score + 2;
flag_score++;
sound5.start();
}
if ((((rnd_vibor_veshi == 14) and (box2_dvig == false)) and (random(5) == 1)) and (finish_dvig == false)) {
_local1.attachMovie("box2", "box2", 432);
_local1.box2._x = 555;
_local1.box2._y = rnd_veshi;
box2_dvig = true;
}
if (box2_dvig == true) {
_local1.box2._x = _local1.box2._x - 10;
}
if (_local1.box2._x < -35) {
box2_dvig = false;
removeMovieClip(_local1.box2);
}
if (_local1.car.hitTest(_local1.box2.hit) and (not_dvig == false)) {
_local1.box2.gotoAndPlay(2);
score = (score + random(2)) + 1;
box_score++;
sound2.start();
}
if ((((rnd_vibor_veshi == 15) and (zontik2_dvig == false)) and (random(3) == 1)) and (finish_dvig == false)) {
_local1.attachMovie("zontik2", "zontik2", 452);
_local1.zontik2._x = 555;
_local1.zontik2._y = rnd_veshi;
zontik2_dvig = true;
}
if (zontik2_dvig == true) {
_local1.zontik2._x = _local1.zontik2._x - 10;
}
if (_local1.zontik2._x < -35) {
zontik2_dvig = false;
removeMovieClip(_local1.zontik2);
}
if (_local1.car.hitTest(_local1.zontik2.hit) and (not_dvig == false)) {
_local1.zontik2.gotoAndPlay(2);
score = score - 10;
zontik_score++;
sound8.start();
crash = crash + 10;
}
}
function randomise() {
rnd_veshi = 160 + random(220);
}
function create_pause() {
var _local1 = _root;
if (pause_game == false) {
_local1.attachMovie("knop_pause", "knop_pause", 1000);
_local1.knop_pause._x = 280;
_local1.knop_pause._y = 200;
pause_game = true;
_local1.attachMovie("girls_pokaz", "girls_pokaz", 990);
_local1.girls_pokaz._x = 405;
_local1.girls_pokaz._y = 239;
pokaz_idet = true;
pokaz_end = true;
pokaz_telok();
}
}
function pokaz_telok() {
var _local1 = _root;
if ((score < 50) and (_local1.girls_vibor == 1)) {
_local1.girls_pokaz.gotoAndPlay(2);
girls_number_pokaz = 1;
}
if (((score >= 50) and (score < 200)) and (_local1.girls_vibor == 1)) {
_local1.girls_pokaz.gotoAndPlay(62);
girls_number_pokaz = 2;
}
if (((score >= 200) and (score < 350)) and (_local1.girls_vibor == 1)) {
_local1.girls_pokaz.gotoAndPlay(125);
girls_number_pokaz = 3;
}
if (((score >= 350) and (score < 500)) and (_local1.girls_vibor == 1)) {
_local1.girls_pokaz.gotoAndPlay(188);
girls_number_pokaz = 4;
}
if ((score >= 500) and (_local1.girls_vibor == 1)) {
_local1.girls_pokaz.gotoAndPlay(252);
girls_number_pokaz = 5;
}
if ((score < 50) and (_local1.girls_vibor == 2)) {
_local1.girls_pokaz.gotoAndPlay(316);
girls_number_pokaz = 6;
}
if (((score >= 50) and (score < 200)) and (_local1.girls_vibor == 2)) {
_local1.girls_pokaz.gotoAndPlay(380);
girls_number_pokaz = 7;
}
if (((score >= 200) and (score < 350)) and (_local1.girls_vibor == 2)) {
_local1.girls_pokaz.gotoAndPlay(444);
girls_number_pokaz = 8;
}
if (((score >= 350) and (score < 500)) and (_local1.girls_vibor == 2)) {
_local1.girls_pokaz.gotoAndPlay(508);
girls_number_pokaz = 9;
}
if ((score >= 500) and (_local1.girls_vibor == 2)) {
_local1.girls_pokaz.gotoAndPlay(572);
girls_number_pokaz = 10;
}
if ((score < 50) and (_local1.girls_vibor == 3)) {
_local1.girls_pokaz.gotoAndPlay(636);
girls_number_pokaz = 11;
}
if (((score >= 50) and (score < 200)) and (_local1.girls_vibor == 3)) {
_local1.girls_pokaz.gotoAndPlay(700);
girls_number_pokaz = 12;
}
if (((score >= 200) and (score < 350)) and (_local1.girls_vibor == 3)) {
_local1.girls_pokaz.gotoAndPlay(764);
girls_number_pokaz = 13;
}
if (((score >= 350) and (score < 500)) and (_local1.girls_vibor == 3)) {
_local1.girls_pokaz.gotoAndPlay(826);
girls_number_pokaz = 14;
}
if ((score >= 500) and (_local1.girls_vibor == 3)) {
_local1.girls_pokaz.gotoAndPlay(890);
girls_number_pokaz = 15;
}
}
function remove_all() {
var _local1 = _root;
removeMovieClip(_local1.flag);
removeMovieClip(_local1.tramplin);
removeMovieClip(_local1.yama);
removeMovieClip(_local1.flag2);
removeMovieClip(_local1.g_krab);
removeMovieClip(_local1.sunduk);
removeMovieClip(_local1.box1);
removeMovieClip(_local1.g_krab2);
removeMovieClip(_local1.yama2);
removeMovieClip(_local1.flag3);
removeMovieClip(_local1.eagle);
removeMovieClip(_local1.egg);
removeMovieClip(_local1.egg_ten);
removeMovieClip(_local1.kubok);
removeMovieClip(_local1.zontik);
removeMovieClip(_local1.knop_pause);
removeMovieClip(_local1.girls_pokaz);
removeMovieClip(_local1.car);
removeMovieClip(_local1.oblako);
removeMovieClip(_local1.lainer);
removeMovieClip(_local1.finish_planka);
removeMovieClip(_local1.zontik2);
removeMovieClip(_local1.box2);
removeMovieClip(_local1.flag4);
gotoAndPlay (12);
}
stop();
Instance of Symbol 425 MovieClip in Frame 11
onClipEvent (load) {
_root.initgame();
}
onClipEvent (enterFrame) {
if (_root.score < 0) {
_root.score = 0;
}
if (_root.score_temp < _root.score) {
_root.score_temp++;
}
if (_root.score_temp > _root.score) {
_root.score_temp--;
}
if (_root.pause_game == false) {
_root.game();
}
}
onClipEvent (mouseUp) {
if ((_root.pause_game == false) and (_root.not_dvig == false)) {
_root.not_dvig = true;
_root.sound16.start();
_root.car.gotoAndPlay(111);
}
}
on (keyPress "<Space>") {
if (_root.pokaz_idet == false) {
if ((_root.pause_game == false) and (_root.pokaz_end == false)) {
_root.create_pause();
_root.pause_game = true;
} else if (_root.pause_game == true) {
_root.pause_game = false;
removeMovieClip(_root.knop_pause);
if (_root.girls_number_pokaz == 1) {
_root.girls_pokaz.gotoAndPlay(32);
}
if (_root.girls_number_pokaz == 2) {
_root.girls_pokaz.gotoAndPlay(94);
}
if (_root.girls_number_pokaz == 3) {
_root.girls_pokaz.gotoAndPlay(157);
}
if (_root.girls_number_pokaz == 4) {
_root.girls_pokaz.gotoAndPlay(220);
}
if (_root.girls_number_pokaz == 5) {
_root.girls_pokaz.gotoAndPlay(284);
}
if (_root.girls_number_pokaz == 6) {
_root.girls_pokaz.gotoAndPlay(348);
}
if (_root.girls_number_pokaz == 7) {
_root.girls_pokaz.gotoAndPlay(412);
}
if (_root.girls_number_pokaz == 8) {
_root.girls_pokaz.gotoAndPlay(476);
}
if (_root.girls_number_pokaz == 9) {
_root.girls_pokaz.gotoAndPlay(540);
}
if (_root.girls_number_pokaz == 10) {
_root.girls_pokaz.gotoAndPlay(604);
}
if (_root.girls_number_pokaz == 11) {
_root.girls_pokaz.gotoAndPlay(668);
}
if (_root.girls_number_pokaz == 12) {
_root.girls_pokaz.gotoAndPlay(732);
}
if (_root.girls_number_pokaz == 13) {
_root.girls_pokaz.gotoAndPlay(796);
}
if (_root.girls_number_pokaz == 14) {
_root.girls_pokaz.gotoAndPlay(858);
}
if (_root.girls_number_pokaz == 15) {
_root.girls_pokaz.gotoAndPlay(922);
}
}
}
}
Frame 12
function pokaz_telok() {
var _local1 = _root;
if ((_local1.score < 50) and (_local1.girls_vibor == 1)) {
_local1.girls_pokaz.gotoAndPlay(2);
}
if (((_local1.score >= 50) and (_local1.score < 200)) and (_local1.girls_vibor == 1)) {
_local1.girls_pokaz.gotoAndPlay(62);
girls_number_pokaz = 2;
}
if (((_local1.score >= 200) and (_local1.score < 350)) and (_local1.girls_vibor == 1)) {
_local1.girls_pokaz.gotoAndPlay(125);
girls_number_pokaz = 3;
}
if (((_local1.score >= 350) and (_local1.score < 500)) and (_local1.girls_vibor == 1)) {
_local1.girls_pokaz.gotoAndPlay(188);
girls_number_pokaz = 4;
}
if ((_local1.score >= 500) and (_local1.girls_vibor == 1)) {
_local1.girls_pokaz.gotoAndPlay(252);
girls_number_pokaz = 5;
}
if ((_local1.score < 50) and (_local1.girls_vibor == 2)) {
_local1.girls_pokaz.gotoAndPlay(316);
girls_number_pokaz = 6;
}
if (((_local1.score >= 50) and (_local1.score < 200)) and (_local1.girls_vibor == 2)) {
_local1.girls_pokaz.gotoAndPlay(380);
girls_number_pokaz = 7;
}
if (((_local1.score >= 200) and (_local1.score < 350)) and (_local1.girls_vibor == 2)) {
_local1.girls_pokaz.gotoAndPlay(444);
girls_number_pokaz = 8;
}
if (((_local1.score >= 350) and (_local1.score < 500)) and (_local1.girls_vibor == 2)) {
_local1.girls_pokaz.gotoAndPlay(508);
girls_number_pokaz = 9;
}
if ((_local1.score >= 500) and (_local1.girls_vibor == 2)) {
_local1.girls_pokaz.gotoAndPlay(572);
girls_number_pokaz = 10;
}
if ((_local1.score < 50) and (_local1.girls_vibor == 3)) {
_local1.girls_pokaz.gotoAndPlay(636);
girls_number_pokaz = 11;
}
if (((_local1.score >= 50) and (_local1.score < 200)) and (_local1.girls_vibor == 3)) {
_local1.girls_pokaz.gotoAndPlay(700);
girls_number_pokaz = 12;
}
if (((_local1.score >= 200) and (_local1.score < 350)) and (_local1.girls_vibor == 3)) {
_local1.girls_pokaz.gotoAndPlay(764);
girls_number_pokaz = 13;
}
if (((_local1.score >= 350) and (_local1.score < 500)) and (_local1.girls_vibor == 3)) {
_local1.girls_pokaz.gotoAndPlay(826);
girls_number_pokaz = 14;
}
if ((_local1.score >= 500) and (_local1.girls_vibor == 3)) {
_local1.girls_pokaz.gotoAndPlay(890);
girls_number_pokaz = 15;
}
}
stop();
_root.attachMovie("girls_pokaz", "girls_pokaz", 990);
_root.girls_pokaz._x = 440;
_root.girls_pokaz._y = 239;
pokaz_telok();
if (_root.km >= 5000) {
_root.attachMovie("knop_success", "knop_success", 1000);
_root.knop_success._x = 280;
_root.knop_success._y = 330;
}
if (_root.crash >= 100) {
_root.attachMovie("knop_crash", "knop_crash", 1000);
_root.knop_crash._x = 280;
_root.knop_crash._y = 330;
}
Symbol 95 MovieClip Frame 24
Symbol 98 MovieClip [car] Frame 5
stop();
_root.not_dvig = false;
Symbol 98 MovieClip [car] Frame 6
play();
Symbol 98 MovieClip [car] Frame 30
gotoAndPlay (5);
Symbol 98 MovieClip [car] Frame 31
play();
Symbol 98 MovieClip [car] Frame 55
gotoAndPlay (5);
Symbol 98 MovieClip [car] Frame 56
play();
Symbol 98 MovieClip [car] Frame 85
gotoAndPlay (5);
Symbol 98 MovieClip [car] Frame 86
play();
Symbol 98 MovieClip [car] Frame 110
gotoAndPlay (5);
Symbol 98 MovieClip [car] Frame 111
play();
Symbol 98 MovieClip [car] Frame 136
gotoAndPlay (5);
Symbol 103 MovieClip [tramplin] Frame 1
stop();
Symbol 103 MovieClip [tramplin] Frame 2
play();
Symbol 103 MovieClip [tramplin] Frame 15
gotoAndPlay (1);
Symbol 112 MovieClip [flag4] Frame 1
stop();
Symbol 112 MovieClip [flag4] Frame 2
play();
Symbol 112 MovieClip [flag4] Frame 18
stop();
_root.flag4._x = -36;
Symbol 113 MovieClip [flag3] Frame 1
stop();
Symbol 113 MovieClip [flag3] Frame 2
play();
Symbol 113 MovieClip [flag3] Frame 18
stop();
_root.flag3._x = -36;
Symbol 114 MovieClip [flag2] Frame 1
stop();
Symbol 114 MovieClip [flag2] Frame 2
play();
Symbol 114 MovieClip [flag2] Frame 18
stop();
_root.flag2._x = -36;
Symbol 115 MovieClip [flag] Frame 1
stop();
Symbol 115 MovieClip [flag] Frame 2
play();
Symbol 115 MovieClip [flag] Frame 18
stop();
_root.flag._x = -36;
Symbol 128 MovieClip [brizgi] Frame 10
stop();
Symbol 129 MovieClip [yama2] Frame 1
stop();
Symbol 129 MovieClip [yama2] Frame 29
_root.uptoyama2 = false;
gotoAndPlay (1);
Symbol 132 MovieClip [yama] Frame 1
stop();
Symbol 132 MovieClip [yama] Frame 29
_root.uptoyama = false;
gotoAndPlay (1);
Symbol 139 MovieClip [sunduk] Frame 1
stop();
Symbol 139 MovieClip [sunduk] Frame 15
_root.sunduk._x = -36;
Symbol 145 MovieClip [g_krab2] Frame 1
stop();
Symbol 145 MovieClip [g_krab2] Frame 24
_root.uptokrab2 = false;
_root.g_krab2._x = -36;
Symbol 146 MovieClip [g_krab] Frame 1
stop();
Symbol 146 MovieClip [g_krab] Frame 24
_root.uptokrab = false;
_root.g_krab._x = -36;
Symbol 153 MovieClip [box1] Frame 1
stop();
Symbol 153 MovieClip [box1] Frame 15
_root.box1._x = -36;
Symbol 172 MovieClip [egg] Frame 1
stop();
Symbol 172 MovieClip [egg] Frame 2
_root.egg_create = false;
_root.egg_car = false;
play();
Symbol 172 MovieClip [egg] Frame 16
stop();
_root.end_egg_boom = true;
Symbol 172 MovieClip [egg] Frame 17
_root.egg_create = false;
_root.egg_ground = false;
play();
Symbol 172 MovieClip [egg] Frame 40
stop();
_root.end_egg_boom = true;
Symbol 197 MovieClip [egg_ten] Frame 1
stop();
Symbol 197 MovieClip [egg_ten] Frame 2
play();
Symbol 197 MovieClip [egg_ten] Frame 35
stop();
Symbol 202 MovieClip [kubok] Frame 1
stop();
Symbol 202 MovieClip [kubok] Frame 15
_root.kubok._x = -36;
Symbol 208 MovieClip [zontik2] Frame 1
stop();
Symbol 208 MovieClip [zontik2] Frame 31
stop();
Symbol 209 MovieClip [zontik] Frame 1
stop();
Symbol 209 MovieClip [zontik] Frame 31
stop();
Symbol 280 MovieClip [girls_pokaz] Frame 1
stop();
Symbol 280 MovieClip [girls_pokaz] Frame 2
play();
Symbol 280 MovieClip [girls_pokaz] Frame 31
_root.pokaz_idet = false;
stop();
Symbol 280 MovieClip [girls_pokaz] Frame 32
play();
Symbol 280 MovieClip [girls_pokaz] Frame 61
_root.girls_remove = true;
_root.pokaz_end = false;
stop();
Symbol 280 MovieClip [girls_pokaz] Frame 62
play();
Symbol 280 MovieClip [girls_pokaz] Frame 93
_root.pokaz_idet = false;
stop();
Symbol 280 MovieClip [girls_pokaz] Frame 94
play();
Symbol 280 MovieClip [girls_pokaz] Frame 124
_root.girls_remove = true;
_root.pokaz_end = false;
stop();
Symbol 280 MovieClip [girls_pokaz] Frame 125
play();
Symbol 280 MovieClip [girls_pokaz] Frame 156
_root.pokaz_idet = false;
stop();
Symbol 280 MovieClip [girls_pokaz] Frame 157
play();
Symbol 280 MovieClip [girls_pokaz] Frame 187
_root.girls_remove = true;
_root.pokaz_end = false;
stop();
Symbol 280 MovieClip [girls_pokaz] Frame 188
play();
Symbol 280 MovieClip [girls_pokaz] Frame 219
_root.pokaz_idet = false;
stop();
Symbol 280 MovieClip [girls_pokaz] Frame 220
play();
Symbol 280 MovieClip [girls_pokaz] Frame 251
_root.girls_remove = true;
_root.pokaz_end = false;
stop();
Symbol 280 MovieClip [girls_pokaz] Frame 252
play();
Symbol 280 MovieClip [girls_pokaz] Frame 283
_root.pokaz_idet = false;
stop();
Symbol 280 MovieClip [girls_pokaz] Frame 284
play();
Symbol 280 MovieClip [girls_pokaz] Frame 315
_root.girls_remove = true;
_root.pokaz_end = false;
stop();
Symbol 280 MovieClip [girls_pokaz] Frame 316
play();
Symbol 280 MovieClip [girls_pokaz] Frame 347
_root.pokaz_idet = false;
stop();
Symbol 280 MovieClip [girls_pokaz] Frame 348
play();
Symbol 280 MovieClip [girls_pokaz] Frame 379
_root.girls_remove = true;
_root.pokaz_end = false;
stop();
Symbol 280 MovieClip [girls_pokaz] Frame 380
play();
Symbol 280 MovieClip [girls_pokaz] Frame 411
_root.pokaz_idet = false;
stop();
Symbol 280 MovieClip [girls_pokaz] Frame 412
play();
Symbol 280 MovieClip [girls_pokaz] Frame 443
_root.girls_remove = true;
_root.pokaz_end = false;
stop();
Symbol 280 MovieClip [girls_pokaz] Frame 444
play();
Symbol 280 MovieClip [girls_pokaz] Frame 475
_root.pokaz_idet = false;
stop();
Symbol 280 MovieClip [girls_pokaz] Frame 476
play();
Symbol 280 MovieClip [girls_pokaz] Frame 507
_root.girls_remove = true;
_root.pokaz_end = false;
stop();
Symbol 280 MovieClip [girls_pokaz] Frame 508
play();
Symbol 280 MovieClip [girls_pokaz] Frame 539
_root.pokaz_idet = false;
stop();
Symbol 280 MovieClip [girls_pokaz] Frame 540
play();
Symbol 280 MovieClip [girls_pokaz] Frame 571
_root.girls_remove = true;
_root.pokaz_end = false;
stop();
Symbol 280 MovieClip [girls_pokaz] Frame 572
play();
Symbol 280 MovieClip [girls_pokaz] Frame 603
_root.pokaz_idet = false;
stop();
Symbol 280 MovieClip [girls_pokaz] Frame 604
play();
Symbol 280 MovieClip [girls_pokaz] Frame 635
_root.girls_remove = true;
_root.pokaz_end = false;
stop();
Symbol 280 MovieClip [girls_pokaz] Frame 636
play();
Symbol 280 MovieClip [girls_pokaz] Frame 667
_root.pokaz_idet = false;
stop();
Symbol 280 MovieClip [girls_pokaz] Frame 668
play();
Symbol 280 MovieClip [girls_pokaz] Frame 699
_root.girls_remove = true;
_root.pokaz_end = false;
stop();
Symbol 280 MovieClip [girls_pokaz] Frame 700
play();
Symbol 280 MovieClip [girls_pokaz] Frame 731
_root.pokaz_idet = false;
stop();
Symbol 280 MovieClip [girls_pokaz] Frame 732
play();
Symbol 280 MovieClip [girls_pokaz] Frame 763
_root.girls_remove = true;
_root.pokaz_end = false;
stop();
Symbol 280 MovieClip [girls_pokaz] Frame 764
play();
Symbol 280 MovieClip [girls_pokaz] Frame 795
_root.pokaz_idet = false;
stop();
Symbol 280 MovieClip [girls_pokaz] Frame 796
play();
Symbol 280 MovieClip [girls_pokaz] Frame 825
_root.girls_remove = true;
_root.pokaz_end = false;
stop();
Symbol 280 MovieClip [girls_pokaz] Frame 826
play();
Symbol 280 MovieClip [girls_pokaz] Frame 857
_root.pokaz_idet = false;
stop();
Symbol 280 MovieClip [girls_pokaz] Frame 858
play();
Symbol 280 MovieClip [girls_pokaz] Frame 889
_root.girls_remove = true;
_root.pokaz_end = false;
stop();
Symbol 280 MovieClip [girls_pokaz] Frame 890
play();
Symbol 280 MovieClip [girls_pokaz] Frame 921
_root.pokaz_idet = false;
stop();
Symbol 280 MovieClip [girls_pokaz] Frame 922
play();
Symbol 280 MovieClip [girls_pokaz] Frame 953
_root.girls_remove = true;
_root.pokaz_end = false;
stop();
Symbol 304 MovieClip Frame 10
stop();
Symbol 307 MovieClip Frame 10
stop();
Symbol 308 MovieClip [knop_success] Frame 55
if (_root.score >= 500) {
gotoAndPlay (57);
}
if (_root.score < 500) {
gotoAndPlay (56);
}
Symbol 308 MovieClip [knop_success] Frame 56
stop();
Symbol 308 MovieClip [knop_success] Frame 57
stop();
Symbol 310 MovieClip [knop_crash] Frame 55
if (_root.score >= 500) {
gotoAndPlay (57);
}
if (_root.score < 500) {
gotoAndPlay (56);
}
Symbol 310 MovieClip [knop_crash] Frame 56
stop();
Symbol 310 MovieClip [knop_crash] Frame 57
stop();
Symbol 316 MovieClip Frame 10
stop();
Symbol 317 MovieClip [knop_pause] Frame 10
stop();
Symbol 322 MovieClip [box2] Frame 1
stop();
Symbol 322 MovieClip [box2] Frame 16
_root.box2._x = -36;
Symbol 327 Button
on (release) {
gotoAndPlay (5);
}
Symbol 330 Button
on (release) {
getURL ("http://www.a-shop.ru", "_blank");
}
Symbol 359 MovieClip Frame 30
stop();
Symbol 375 MovieClip Frame 30
stop();
Symbol 380 MovieClip Frame 70
stop();
Symbol 382 Button
on (release) {
gotoAndPlay (6);
}
Symbol 389 MovieClip Frame 8
stop();
Symbol 390 Button
on (release) {
_root.girls_vibor = 1;
gotoAndPlay (7);
}
Symbol 393 MovieClip Frame 7
stop();
Symbol 394 Button
on (release) {
_root.girls_vibor = 2;
gotoAndPlay (7);
}
Symbol 397 MovieClip Frame 7
stop();
Symbol 398 Button
on (release) {
_root.girls_vibor = 3;
gotoAndPlay (7);
}
Symbol 413 MovieClip Frame 30
stop();
Symbol 421 Button
on (release) {
gotoAndPlay (4);
}
Symbol 446 Button
on (release) {
removeMovieClip(_root.girls_pokaz);
removeMovieClip(_root.knop_success);
removeMovieClip(_root.knop_crash);
gotoAndPlay (4);
}
Symbol 461 MovieClip Frame 70
stop();