Frame 1
loader2 = (_root.getBytesLoaded() / _root.getBytesTotal()) * 100;
if (_framesloaded >= _totalframes) {
gotoAndPlay (11);
} else {
setProperty("_root.loader", _xscale , loader2);
}
fscommand ("fullscreen", false);
fscommand ("allowscale", false);
fscommand ("showmenu", false);
Frame 9
gotoAndPlay (1);
Frame 445
stop();
Frame 446
fscommand ("fullscreen", false);
fscommand ("allowscale", false);
fscommand ("showmenu", false);
gotoAndPlay (1);
Frame 559
function global_vars() {
this.x_pos = 160;
this.y_pos = 60;
this.dir = 0;
this.gears = 0;
this.forwardxl = 0;
this.left = 0;
this.right = 0;
this.damage = 100;
this.damage_thing = 100;
this.points = 0;
this.relativeY = 0;
this.sound = 0;
this.Met = 0;
this.time = 200;
this.B = 0;
this.D = 0;
this.creature_count = 0;
this.grand_score;
}
function forwardxl() {
if (taxi.forwardxl < 18) {
taxi.forwardxl = taxi.forwardxl + taxi.gears;
}
}
function reverse() {
if (-2 < taxi.forwardxl) {
taxi.forwardxl = taxi.forwardxl - 0.2;
}
if (8 < taxi.forwardxl) {
tellTarget ("_root.brake_sound") {
gotoAndPlay ("brake");
};
}
}
function left() {
if (taxi.forwardxl < 3) {
} else if (-4 < taxi.left) {
taxi.left = taxi.left - 0.5;
taxi.forwardxl = taxi.forwardxl - 0.1;
taxi.dir = taxi.dir - 5;
}
}
function right() {
if (taxi.forwardxl < 3) {
} else if (taxi.right < 4) {
taxi.right = taxi.right + 0.5;
taxi.forwardxl = taxi.forwardxl - 0.2;
taxi.dir = taxi.dir + 5;
}
}
function slowdown_left() {
if (taxi.left < 0) {
taxi.left = taxi.left + 0.5;
}
if (taxi.dir < 0) {
taxi.dir = taxi.dir + 5;
}
}
function slowdown_right() {
if (0 < taxi.right) {
taxi.right = taxi.right - 0.5;
}
if (0 < taxi.dir) {
taxi.dir = taxi.dir - 5;
}
}
function slowdown_forwardxl() {
if (0 < taxi.forwardxl) {
taxi.forwardxl = taxi.forwardxl - 0.1;
}
}
function slowdown_reverse() {
if (taxi.forwardxl < 0) {
taxi.forwardxl = taxi.forwardxl + 0.1;
}
}
function move() {
taxi.y_pos = taxi.y_pos + int(taxi.forwardxl);
taxi.x_pos = (taxi.x_pos + taxi.left) + taxi.right;
setProperty("_root.lines", _y , int(taxi.y_pos));
setProperty("_root.taxi", _x , taxi.x_pos);
setProperty("_root.taxi", _rotation , int(taxi.dir));
setProperty("_root.taxi", _visible , false);
setProperty("_root.bumper", _x , taxi.x_pos);
setProperty("_root.bumper", _rotation , int(taxi.dir));
setProperty("_root.bumper", _visible , false);
setProperty("_root.lefty", _x , taxi.x_pos);
setProperty("_root.lefty", _rotation , int(taxi.dir));
setProperty("_root.lefty", _visible , false);
setProperty("_root.righty", _x , taxi.x_pos);
setProperty("_root.righty", _rotation , int(taxi.dir));
setProperty("_root.righty", _visible , false);
setProperty("_root.back", _x , taxi.x_pos);
setProperty("_root.back", _rotation , int(taxi.dir));
setProperty("_root.back", _visible , false);
setProperty("_root.taxi_main", _x , taxi.x_pos);
setProperty("_root.taxi_main", _rotation , int(taxi.dir));
setProperty("_root.taxi_shadow", _x , taxi.x_pos + 5);
setProperty("_root.taxi_shadow", _rotation , int(taxi.dir));
setProperty("_root.brake", _x , taxi.x_pos);
setProperty("_root.brake", _rotation , int(taxi.dir));
setProperty("_root.creatures", _x , int(taxi.x_pos) - 5);
numberB = taxi.creature_count;
if (taxi.Met < 50) {
creatures();
}
if (50 < taxi.Met) {
creatures_run();
}
}
function north() {
if (eval (_root.bumper).hitTest(_root.car1) == true) {
car.car1_damage = car.car1_damage - int(taxi.forwardxl);
taxi.damage = taxi.damage - int(taxi.forwardxl);
taxi.points = taxi.points + int(taxi.forwardxl);
tellTarget ("_root.crash") {
gotoAndPlay ("crash");
};
gotoAndPlay (591);
}
}
function colide_south() {
if (eval (_root.back).hitTest(_root.car1) == true) {
car.car1_damage = car.car1_damage - 2;
taxi.damage = taxi.damage - 2;
taxi.points = taxi.points + 5;
tellTarget ("_root.crash") {
gotoAndPlay ("crash");
};
gotoAndPlay (607);
}
}
function east() {
if (eval (_root.lefty).hitTest(_root.car1) == true) {
taxi.dir = 0;
taxi.left = 0;
car.car1_damage = car.car1_damage - int(taxi.forwardxl);
taxi.damage = taxi.damage - int(taxi.forwardxl);
taxi.points = taxi.points + int(taxi.forwardxl);
tellTarget ("_root.crash") {
gotoAndPlay ("crash");
};
gotoAndPlay (603);
}
}
function west() {
if (eval (_root.righty).hitTest(_root.car1) == true) {
taxi.dir = 0;
taxi.right = 0;
car.car1_damage = car.car1_damage - int(taxi.forwardxl);
taxi.damage = taxi.damage - int(taxi.forwardxl);
taxi.points = taxi.points + int(taxi.forwardxl);
tellTarget ("_root.crash") {
gotoAndPlay ("crash");
};
gotoAndPlay (598);
}
}
function north2() {
if (eval (_root.bumper).hitTest(_root.car2) == true) {
car.car2_damage = car.car2_damage - int(taxi.forwardxl);
taxi.damage = taxi.damage - int(taxi.forwardxl);
taxi.points = taxi.points + int(taxi.forwardxl);
tellTarget ("_root.crash") {
gotoAndPlay ("crash");
};
gotoAndPlay (702);
}
}
function colide_south2() {
if (eval (_root.back).hitTest(_root.car2) == true) {
car.car2_damage = car.car2_damage - 2;
taxi.damage = taxi.damage - 2;
taxi.points = taxi.points + 5;
tellTarget ("_root.crash") {
gotoAndPlay ("crash");
};
gotoAndPlay (718);
}
}
function east2() {
if (eval (_root.lefty).hitTest(_root.car2) == true) {
taxi.dir = 0;
taxi.left = 0;
car.car2_damage = car.car2_damage - int(taxi.forwardxl);
taxi.damage = taxi.damage - int(taxi.forwardxl);
taxi.points = taxi.points + int(taxi.forwardxl);
tellTarget ("_root.crash") {
gotoAndPlay ("crash");
};
gotoAndPlay (714);
}
}
function west2() {
if (eval (_root.righty).hitTest(_root.car2) == true) {
taxi.dir = 0;
taxi.right = 0;
car.car2_damage = car.car2_damage - int(taxi.forwardxl);
taxi.damage = taxi.damage - int(taxi.forwardxl);
taxi.points = taxi.points + int(taxi.forwardxl);
tellTarget ("_root.crash") {
gotoAndPlay ("crash");
};
gotoAndPlay (709);
}
}
function north3() {
if (eval (_root.bumper).hitTest(_root.car3) == true) {
car.car3_damage = car.car3_damage - int(taxi.forwardxl);
taxi.damage = taxi.damage - int(taxi.forwardxl);
taxi.points = taxi.points + int(taxi.forwardxl);
tellTarget ("_root.crash") {
gotoAndPlay ("crash");
};
gotoAndPlay (725);
}
}
function colide_south3() {
if (eval (_root.back).hitTest(_root.car3) == true) {
car.car3_damage = car.car3_damage - 2;
taxi.damage = taxi.damage - 2;
taxi.points = taxi.points + 5;
tellTarget ("_root.crash") {
gotoAndPlay ("crash");
};
gotoAndPlay (741);
}
}
function east3() {
if (eval (_root.lefty).hitTest(_root.car3) == true) {
taxi.dir = 0;
taxi.left = 0;
car.car3_damage = car.car3_damage - int(taxi.forwardxl);
taxi.damage = taxi.damage - int(taxi.forwardxl);
taxi.points = taxi.points + int(taxi.forwardxl);
tellTarget ("_root.crash") {
gotoAndPlay ("crash");
};
gotoAndPlay (737);
}
}
function west3() {
if (eval (_root.righty).hitTest(_root.car3) == true) {
taxi.dir = 0;
taxi.right = 0;
car.car3_damage = car.car3_damage - int(taxi.forwardxl);
taxi.damage = taxi.damage - int(taxi.forwardxl);
taxi.points = taxi.points + int(taxi.forwardxl);
tellTarget ("_root.crash") {
gotoAndPlay ("crash");
};
gotoAndPlay (732);
}
}
function north4() {
if (eval (_root.bumper).hitTest(_root.car4) == true) {
car.car4_damage = car.car4_damage - int(taxi.forwardxl);
taxi.damage = taxi.damage - int(taxi.forwardxl);
taxi.points = taxi.points + int(taxi.forwardxl);
tellTarget ("_root.crash") {
gotoAndPlay ("crash");
};
gotoAndPlay (748);
}
}
function colide_south4() {
if (eval (_root.back).hitTest(_root.car4) == true) {
car.car4_damage = car.car4_damage - 2;
taxi.damage = taxi.damage - 2;
taxi.points = taxi.points + 5;
tellTarget ("_root.crash") {
gotoAndPlay ("crash");
};
gotoAndPlay (764);
}
}
function east4() {
if (eval (_root.lefty).hitTest(_root.car4) == true) {
taxi.dir = 0;
taxi.left = 0;
car.car4_damage = car.car4_damage - int(taxi.forwardxl);
taxi.damage = taxi.damage - int(taxi.forwardxl);
taxi.points = taxi.points + int(taxi.forwardxl);
tellTarget ("_root.crash") {
gotoAndPlay ("crash");
};
gotoAndPlay (760);
}
}
function west4() {
if (eval (_root.righty).hitTest(_root.car4) == true) {
taxi.dir = 0;
taxi.right = 0;
car.car4_damage = car.car4_damage - int(taxi.forwardxl);
taxi.damage = taxi.damage - int(taxi.forwardxl);
taxi.points = taxi.points + int(taxi.forwardxl);
tellTarget ("_root.crash") {
gotoAndPlay ("crash");
};
gotoAndPlay (755);
}
}
function north5() {
if (eval (_root.bumper).hitTest(_root.car5) == true) {
car.car5_damage = car.car5_damage - int(taxi.forwardxl);
taxi.damage = taxi.damage - int(taxi.forwardxl);
taxi.points = taxi.points + int(taxi.forwardxl);
tellTarget ("_root.crash") {
gotoAndPlay ("crash");
};
gotoAndPlay (771);
}
}
function colide_south5() {
if (eval (_root.back).hitTest(_root.car5) == true) {
car.car5_damage = car.car5_damage - 2;
taxi.damage = taxi.damage - 2;
taxi.points = taxi.points + 5;
tellTarget ("_root.crash") {
gotoAndPlay ("crash");
};
gotoAndPlay (787);
}
}
function east5() {
if (eval (_root.lefty).hitTest(_root.car5) == true) {
taxi.dir = 0;
taxi.left = 0;
car.car5_damage = car.car5_damage - int(taxi.forwardxl);
taxi.damage = taxi.damage - int(taxi.forwardxl);
taxi.points = taxi.points + int(taxi.forwardxl);
tellTarget ("_root.crash") {
gotoAndPlay ("crash");
};
gotoAndPlay (783);
}
}
function west5() {
if (eval (_root.righty).hitTest(_root.car5) == true) {
taxi.dir = 0;
taxi.right = 0;
car.car5_damage = car.car5_damage - int(taxi.forwardxl);
taxi.damage = taxi.damage - int(taxi.forwardxl);
taxi.points = taxi.points + int(taxi.forwardxl);
tellTarget ("_root.crash") {
gotoAndPlay ("crash");
};
gotoAndPlay (778);
}
}
function gears() {
if (10 < taxi.forwardxl) {
taxi.gears = 0.05;
gears_O_meter = "5th gear";
tellTarget ("_root.gears") {
gotoAndPlay ("5");
};
} else if (8 < taxi.forwardxl) {
taxi.gears = 0.07;
gears_O_meter = "4th gear";
tellTarget ("_root.gears") {
gotoAndPlay ("4");
};
} else if (6 < taxi.forwardxl) {
taxi.gears = 0.08;
gears_O_meter = "3rd gear";
tellTarget ("_root.gears") {
gotoAndPlay ("3");
};
} else if (4 < taxi.forwardxl) {
taxi.gears = 0.09;
gears_O_meter = "2nd gear";
tellTarget ("_root.gears") {
gotoAndPlay ("2");
};
} else if (taxi.forwardxl >= 0) {
taxi.gears = 0.12;
gears_O_meter = "1st gear";
tellTarget ("_root.gears") {
gotoAndPlay ("1");
};
}
if (taxi.forwardxl < 0) {
gears_O_meter = "R";
tellTarget ("_root.gears") {
gotoAndPlay ("r");
};
}
if (int(taxi.forwardxl) == 0) {
i = 1;
while (10 >= i) {
taxi.Met = taxi.Met + (i / 100);
thing = taxi.Met;
i++;
}
} else if (taxi.Met >= 81) {
taxi.Met = 0;
}
}
function parameters() {
if (250 < taxi.y_pos) {
taxi.y_pos = 130;
distanceY();
} else if (taxi.y_pos < 130) {
taxi.y_pos = 250;
}
if (taxi.x_pos < 90) {
taxi.x_pos = 89;
}
if (250 < taxi.x_pos) {
taxi.x_pos = 249;
}
}
function damage_O_meter() {
damage = ((int(taxi.damage) / 100) * 100) add "%";
if (0 >= taxi.damage) {
taxi.damage = 0;
}
if (taxi.damage >= 100) {
taxi.damage = 100;
}
if (taxi.x_pos < 120) {
taxi.damage = taxi.damage - 0.08;
}
if (225 < taxi.x_pos) {
taxi.damage = taxi.damage - 0.08;
}
if (0 < taxi.damage) {
taxi.damage_thing = 10;
}
if (20 < taxi.damage) {
taxi.damage_thing = 30;
}
if (40 < taxi.damage) {
taxi.damage_thing = 50;
}
if (60 < taxi.damage) {
taxi.damage_thing = 70;
}
if (80 < taxi.damage) {
taxi.damage_thing = 90;
}
if (0 >= taxi.damage) {
taxi.damage_thing = 0;
}
if (0 >= taxi.damage) {
tellTarget ("_root.taxi_main") {
gotoAndPlay ("rubble");
};
gotoAndPlay (650);
}
if (taxi.damage_thing == 10) {
tellTarget ("_root.taxi_main") {
gotoAndPlay ("20");
};
tellTarget ("_root.glass") {
gotoAndPlay ("20");
};
}
if (taxi.damage_thing == 30) {
tellTarget ("_root.taxi_main") {
gotoAndPlay ("40");
};
tellTarget ("_root.glass") {
gotoAndPlay ("40");
};
}
if (taxi.damage_thing == 50) {
tellTarget ("_root.taxi_main") {
gotoAndPlay ("60");
};
}
if (taxi.damage_thing == 70) {
tellTarget ("_root.taxi_main") {
gotoAndPlay ("80");
};
tellTarget ("_root.glass") {
gotoAndPlay ("80");
};
}
if (taxi.damage_thing == 90) {
tellTarget ("_root.taxi_main") {
gotoAndPlay ("100");
};
tellTarget ("_root.glass") {
gotoAndPlay ("90");
};
}
if (taxi.damage_thing == 0) {
tellTarget ("_root.taxi_main") {
gotoAndPlay ("rubble");
};
tellTarget ("_root.glass") {
gotoAndPlay ("20");
};
}
setProperty("_root.needle2", _rotation , (taxi.damage * -1) + 230);
}
function points_O_meter() {
points_meter = ("Pts." add (taxi.points * 10)) add " /3000";
trash_thing = "Trash =" add int(object.trash_count);
man1_thing = "People =" add object.man1_count;
}
function creatures() {
crea = random(100);
if (60 < crea) {
taxi.creature_count = 1;
} else if (30 < crea) {
taxi.creature_count = 2;
} else if (0 < crea) {
taxi.creature_count = 3;
}
}
function creatures_run() {
if (taxi.creature_count == 1) {
tellTarget ("_root.creatures") {
gotoAndPlay ("creature1");
};
}
if (taxi.creature_count == 2) {
tellTarget ("_root.creatures") {
gotoAndPlay ("creature2");
};
}
if (taxi.creature_count == 3) {
tellTarget ("_root.creatures") {
gotoAndPlay ("creature3");
};
}
}
function var_scoring() {
D_score = ("Distance =" add int(taxi.D)) add "Km";
P_score = "Points =" add (int(taxi.points) * 10);
S_score = "Time Bonus =" add int(taxi.time);
Peo_score = "People Hit =- " add (int(object.man1_count) * 100);
T_score = ("Trash score =" add (int(object.trash_count) * 150)) add "Pts.";
Total_score = ("Total score = " add ((((int(taxi.points) * 10) + int(taxi.time)) - (int(object.man1_count) * 100)) + (int(object.trash_count) * 150))) add "/3000";
taxi.grand_score = (((int(taxi.points) * 10) + int(taxi.time)) - (int(object.man1_count) * 100)) + (int(object.trash_count) * 150);
}
function score_check() {
if (Number(taxi.grand_score) < 3000) {
gotoAndPlay (947);
}
}
taxi = new global_vars();
function speed_O_meter() {
if (0 < taxi.forwardxl) {
speed = (int(taxi.forwardxl) * 10) add "Km/h";
setProperty("_root.needle", _rotation , (taxi.forwardxl * 10) - 95);
} else if (taxi.forwardxl < 0) {
speed = ((int(taxi.forwardxl) * 10) * -1) add "Km/h";
setProperty("_root.needle", _rotation , (taxi.forwardxl * -10) - 95);
}
}
function relative_pos() {
taxi.relativeY = int(taxi.relativeY) + int(taxi.forwardxl);
relativeY_pos = taxi.relativeY;
}
function time() {
taxi.B = 0;
i = 1;
while (10 >= i) {
taxi.B = taxi.B + (i / 4000);
taxi.time = taxi.time - taxi.B;
seconds = int(taxi.time);
if (0 >= taxi.time) {
taxi.time = 0;
gotoAndPlay (613);
}
i++;
}
setProperty("_root.time", _xscale , taxi.time / 2);
}
function distanceY() {
i = 1;
while (10 >= i) {
taxi.D = taxi.D + ((i / 55) * 0.08);
distance_O_meter = int(taxi.D) add "km";
i++;
}
}
function new_car_var() {
this.car1x_pos = 200;
this.car1y_pos = -1500;
this.car1_left = 0;
this.car1_right = 0;
this.car1y_speed = 5;
this.car1_dir = 0;
this.car1_damage = 80;
this.car1M = 0;
this.car2x_pos = 200;
this.car2y_pos = -2000;
this.car2_left = 0;
this.car2_right = 0;
this.car2y_speed = 0;
this.car2_dir = 0;
this.car2_damage = 80;
this.car2M = 0;
this.car3x_pos = 200;
this.car3y_pos = -2000;
this.car3_left = 0;
this.car3_right = 0;
this.car3y_speed = 0;
this.car3_dir = 0;
this.car3_damage = 70;
this.car3M = 0;
this.car4x_pos = 200;
this.car4y_pos = -2000;
this.car4_left = 0;
this.car4_right = 0;
this.car4y_speed = 0;
this.car4_dir = 0;
this.car4_damage = 70;
this.car4M = 0;
this.car5x_pos = 200;
this.car5y_pos = -1000;
this.car5_left = 0;
this.car5_right = 0;
this.car5y_speed = 0;
this.car5_dir = 0;
this.car5_damage = 60;
this.car5M = 0;
}
function car1_move() {
car.car1y_pos = (car.car1y_pos - car.car1y_speed) + int(taxi.forwardxl);
car.car1x_pos = (car.car1x_pos + car.car1left) + car.car1right;
setProperty("_root.car1", _y , car.car1y_pos);
setProperty("_root.car1", _rotation , car.car1_dir);
setProperty("_root.car1", _x , car.car1x_pos);
setProperty("_root.car1", _visible , false);
setProperty("_root.car1_detect", _y , car.car1y_pos);
setProperty("_root.car1_detect", _x , car.car1x_pos);
setProperty("_root.car1_detect", _visible , false);
setProperty("_root.volla", _x , car.car1x_pos);
setProperty("_root.volla", _y , car.car1y_pos);
setProperty("_root.volla", _rotation , car.car1_dir);
setProperty("_root.volla_shadow", _x , car.car1x_pos + 5);
setProperty("_root.volla_shadow", _y , car.car1y_pos + 5);
setProperty("_root.volla_shadow", _rotation , car.car1_dir);
if (100 >= car.car1_damage) {
tellTarget ("_root.volla") {
gotoAndPlay ("normal");
};
}
if (50 >= car.car1_damage) {
tellTarget ("_root.volla") {
gotoAndPlay ("50");
};
}
if (0 >= car.car1_damage) {
tellTarget ("_root.volla") {
gotoAndPlay ("zero");
};
}
if (1 >= car.car1y_speed) {
i = 1;
while (10 >= i) {
car.car1M = car.car1M + (i / 100);
if (car.car1M >= 100) {
car.car1y_speed = 2;
}
i++;
}
} else if (car.car1M >= 150) {
car.car1M = 0;
}
if (12 < car.car1y_speed) {
car.car1y_speed = 12;
}
if (car.car1y_speed < 0) {
car.car1y_speed = 0;
}
if (225 < car.car1x_pos) {
car.car1left = car.car1left - 0.1;
}
if (car.car1left < 0) {
car.car1left = car.car1left + 0.005;
}
if (car.car1x_pos < 110) {
car.car1left = car.car1left + 0.1;
}
if (0 < car.car1left) {
car.car1left = car.car1left - 0.005;
}
if (0 >= car.car1_damage) {
car.car1y_speed = 0;
}
}
function new_car1_dir() {
if (car.car1_dir < 0) {
car.car1_dir = car.car1_dir + 5;
} else if (0 < car.car1_dir) {
car.car1_dir = car.car1_dir - 5;
}
}
function random_car1() {
pick1 = random(10);
if (7 < pick1) {
car.car1x_pos = 125;
} else if (4 < pick1) {
car.car1x_pos = 170;
} else if (0 < pick1) {
car.car1x_pos = 215;
}
pick2 = random(10);
if (7 < pick2) {
car.car1y_speed = 5;
} else if (4 < pick2) {
car.car1y_speed = 10;
} else if (0 < pick2) {
car.car1y_speed = 8;
}
}
function car1_run() {
if (car.car1y_pos < -100) {
random_car1();
car.car1M = 0;
}
if (600 < car.car1y_pos) {
car.car1y_pos = -600;
car.car1_damage = 100;
}
if (car.car1y_pos < -600) {
car.car1y_pos = 600;
car.car1_damage = 100;
}
}
function car2_move() {
car.car2y_pos = (car.car2y_pos - car.car2y_speed) + int(taxi.forwardxl);
car.car2x_pos = (car.car2x_pos + car.car2left) + car.car2right;
setProperty("_root.car2", _y , car.car2y_pos);
setProperty("_root.car2", _rotation , car.car2_dir);
setProperty("_root.car2", _x , car.car2x_pos);
setProperty("_root.car2", _visible , false);
setProperty("_root.car2_detect", _y , car.car2y_pos);
setProperty("_root.car2_detect", _x , car.car2x_pos);
setProperty("_root.car2_detect", _visible , false);
setProperty("_root.porche", _x , car.car2x_pos);
setProperty("_root.porche", _y , car.car2y_pos);
setProperty("_root.porche", _rotation , car.car2_dir);
setProperty("_root.porche_shadow", _x , car.car2x_pos + 5);
setProperty("_root.porche_shadow", _y , car.car2y_pos + 5);
setProperty("_root.porche_shadow", _rotation , car.car2_dir);
if (100 >= car.car2_damage) {
tellTarget ("_root.porche") {
gotoAndPlay ("normal");
};
}
if (50 >= car.car2_damage) {
tellTarget ("_root.porche") {
gotoAndPlay ("50");
};
}
if (0 >= car.car2_damage) {
tellTarget ("_root.porche") {
gotoAndPlay ("zero");
};
}
if (1 >= car.car2y_speed) {
i = 1;
while (10 >= i) {
car.car2M = car.car2M + (i / 100);
if (car.car2M >= 80) {
car.car2y_speed = 3;
}
i++;
}
} else if (car.car2M >= 150) {
car.car2M = 0;
}
if (16 < car.car2y_speed) {
car.car2y_speed = 16;
}
if (car.car2y_speed < 0) {
car.car2y_speed = 0;
}
if (225 < car.car2x_pos) {
car.car2left = car.car2left - 0.1;
}
if (car.car2left < 0) {
car.car2left = car.car2left + 0.005;
}
if (car.car2x_pos < 110) {
car.car2left = car.car2left + 0.1;
}
if (0 < car.car2left) {
car.car2left = car.car2left - 0.005;
}
if (0 >= car.car2_damage) {
car.car2y_speed = 0;
}
}
function new_car2_dir() {
if (car.car2_dir < 0) {
car.car2_dir = car.car2_dir + 5;
} else if (0 < car.car2_dir) {
car.car2_dir = car.car2_dir - 5;
}
}
function random_car2() {
pick3 = random(10);
if (7 < pick3) {
car.car2x_pos = 125;
} else if (4 < pick3) {
car.car2x_pos = 170;
} else if (0 < pick3) {
car.car2x_pos = 215;
}
pick4 = random(10);
if (7 < pick4) {
car.car2y_speed = 9;
} else if (4 < pick4) {
car.car2y_speed = 13;
} else if (0 < pick4) {
car.car2y_speed = 11;
}
}
function car2_run() {
if (car.car2y_pos < -100) {
random_car2();
car.car2M = 0;
}
if (500 < car.car2y_pos) {
car.car2y_pos = -500;
car.car2_damage = 100;
}
if (car.car2y_pos < -500) {
car.car2y_pos = 500;
car.car2_damage = 100;
}
}
function car3_move() {
car.car3y_pos = (car.car3y_pos - car.car3y_speed) + int(taxi.forwardxl);
car.car3x_pos = (car.car3x_pos + car.car3left) + car.car3right;
setProperty("_root.car3", _y , car.car3y_pos);
setProperty("_root.car3", _rotation , car.car3_dir);
setProperty("_root.car3", _x , car.car3x_pos);
setProperty("_root.car3", _visible , false);
setProperty("_root.car3_detect", _y , car.car3y_pos);
setProperty("_root.car3_detect", _x , car.car3x_pos);
setProperty("_root.car3_detect", _visible , false);
setProperty("_root.blue_car", _x , car.car3x_pos);
setProperty("_root.blue_car", _y , car.car3y_pos);
setProperty("_root.blue_car", _rotation , car.car3_dir);
setProperty("_root.blue_car_shadow", _x , car.car3x_pos + 5);
setProperty("_root.blue_car_shadow", _y , car.car3y_pos + 5);
setProperty("_root.blue_car_shadow", _rotation , car.car3_dir);
if (100 >= car.car3_damage) {
tellTarget ("_root.green_car") {
gotoAndPlay ("normal");
};
}
if (50 >= car.car3_damage) {
tellTarget ("_root.green_car") {
gotoAndPlay ("50");
};
}
if (0 >= car.car3_damage) {
tellTarget ("_root.green_car") {
gotoAndPlay ("zero");
};
}
if (1 >= car.car3y_speed) {
i = 1;
while (10 >= i) {
car.car3M = car.car3M + (i / 100);
if (car.car3M >= 50) {
car.car3y_speed = 2;
}
i++;
}
} else if (car.car3M >= 130) {
car.car3M = 0;
}
if (12 < car.car3y_speed) {
car.car3y_speed = 12;
}
if (car.car3y_speed < 0) {
car.car3y_speed = 0;
}
if (225 < car.car3x_pos) {
car.car3left = car.car3left - 0.1;
}
if (car.car3left < 0) {
car.car3left = car.car3left + 0.005;
}
if (car.car3x_pos < 110) {
car.car3left = car.car3left + 0.1;
}
if (0 < car.car3left) {
car.car3left = car.car3left - 0.005;
}
if (0 >= car.car3_damage) {
car.car3y_speed = 0;
}
}
function new_car3_dir() {
if (car.car3_dir < 0) {
car.car3_dir = car.car3_dir + 5;
} else if (0 < car.car3_dir) {
car.car3_dir = car.car3_dir - 5;
}
}
function random_car3() {
pick5 = random(10);
if (7 < pick5) {
car.car3x_pos = 125;
} else if (4 < pick5) {
car.car3x_pos = 170;
} else if (0 < pick5) {
car.car3x_pos = 215;
}
pick6 = random(10);
if (7 < pick6) {
car.car3y_speed = 5;
} else if (4 < pick6) {
car.car3y_speed = 7;
} else if (0 < pick6) {
car.car3y_speed = 3;
}
}
function car3_run() {
if (car.car3y_pos < -100) {
random_car3();
car.car3M = 0;
}
if (500 < car.car3y_pos) {
car.car3y_pos = -500;
car.car3_damage = 100;
}
if (car.car3y_pos < -500) {
car.car3y_pos = 500;
car.car3_damage = 100;
}
}
function car4_move() {
car.car4y_pos = (car.car4y_pos - car.car4y_speed) + int(taxi.forwardxl);
car.car4x_pos = (car.car4x_pos + car.car4left) + car.car4right;
setProperty("_root.car4", _y , car.car4y_pos);
setProperty("_root.car4", _rotation , car.car4_dir);
setProperty("_root.car4", _x , car.car4x_pos);
setProperty("_root.car4", _visible , false);
setProperty("_root.car4_detect", _y , car.car4y_pos);
setProperty("_root.car4_detect", _x , car.car4x_pos);
setProperty("_root.car4_detect", _visible , false);
setProperty("_root.green_car", _x , car.car4x_pos);
setProperty("_root.green_car", _y , car.car4y_pos);
setProperty("_root.green_car", _rotation , car.car4_dir);
setProperty("_root.green_car_shadow", _x , car.car4x_pos + 5);
setProperty("_root.green_car_shadow", _y , car.car4y_pos + 5);
setProperty("_root.green_car_shadow", _rotation , car.car4_dir);
if (100 >= car.car4_damage) {
tellTarget ("_root.bakkie") {
gotoAndPlay ("normal");
};
}
if (50 >= car.car4_damage) {
tellTarget ("_root.bakkie") {
gotoAndPlay ("50");
};
}
if (0 >= car.car4_damage) {
tellTarget ("_root.bakkie") {
gotoAndPlay ("zero");
};
}
if (0 >= car.car4y_speed) {
i = 1;
while (10 >= i) {
car.car4M = car.car1M + (i / 100);
if (car.car4M >= 50) {
car.car4y_speed = 5;
}
i++;
}
} else if (car.car4M >= 80) {
car.car4M = 0;
}
if (12 < car.car4y_speed) {
car.car4y_speed = 12;
}
if (car.car4y_speed < 0) {
car.car4y_speed = 0;
}
if (225 < car.car4x_pos) {
car.car4left = car.car4left - 0.1;
}
if (car.car4left < 0) {
car.car4left = car.car4left + 0.005;
}
if (car.car4x_pos < 110) {
car.car4left = car.car4left + 0.1;
}
if (0 < car.car4left) {
car.car4left = car.car4left - 0.005;
}
if (0 >= car.car4_damage) {
car.car4y_speed = 0;
}
}
function new_car4_dir() {
if (car.car4_dir < 0) {
car.car4_dir = car.car4_dir + 5;
} else if (0 < car.car4_dir) {
car.car4_dir = car.car4_dir - 5;
}
}
function random_car4() {
pick7 = random(10);
if (7 < pick7) {
car.car4x_pos = 125;
} else if (4 < pick7) {
car.car4x_pos = 170;
} else if (0 < pick7) {
car.car4x_pos = 215;
}
pick8 = random(10);
if (7 < pick8) {
car.car4y_speed = 5;
} else if (4 < pick8) {
car.car4y_speed = 7;
} else if (0 < pick8) {
car.car4y_speed = 3;
}
}
function car4_run() {
if (car.car4y_pos < -100) {
random_car4();
car.car4M = 0;
}
if (400 < car.car4y_pos) {
car.car4y_pos = -400;
car.car4_damage = 100;
}
if (car.car4y_pos < -400) {
car.car4y_pos = 400;
car.car4_damage = 100;
}
}
function car5_move() {
car.car5y_pos = (car.car5y_pos - car.car5y_speed) + int(taxi.forwardxl);
car.car5x_pos = (car.car5x_pos + car.car5left) + car.car5right;
setProperty("_root.car5", _y , car.car5y_pos);
setProperty("_root.car5", _rotation , car.car5_dir);
setProperty("_root.car5", _x , car.car5x_pos);
setProperty("_root.car5", _visible , false);
setProperty("_root.car5_detect", _y , car.car5y_pos);
setProperty("_root.car5_detect", _x , car.car5x_pos);
setProperty("_root.car5_detect", _visible , false);
setProperty("_root.bakkie", _x , car.car5x_pos);
setProperty("_root.bakkie", _y , car.car5y_pos);
setProperty("_root.bakkie", _rotation , car.car5_dir);
setProperty("_root.bakkie_shadow", _x , car.car5x_pos + 5);
setProperty("_root.bakkie_shadow", _y , car.car5y_pos + 5);
setProperty("_root.bakkie_shadow", _rotation , car.car5_dir);
if (100 >= car.car5_damage) {
tellTarget ("_root.green_car") {
gotoAndPlay ("normal");
};
}
if (50 >= car.car5_damage) {
tellTarget ("_root.green_car") {
gotoAndPlay ("50");
};
}
if (0 >= car.car5_damage) {
tellTarget ("_root.green_car") {
gotoAndPlay ("zero");
};
}
if (1 >= car.car5y_speed) {
i = 1;
while (10 >= i) {
car.car5M = car.car5M + (i / 100);
if (car.car5M >= 100) {
car.car5y_speed = 2;
}
i++;
}
} else if (car.car5M >= 150) {
car.car5M = 0;
}
if (12 < car.car5y_speed) {
car.car5y_speed = 12;
}
if (car.car5y_speed < 0) {
car.car5y_speed = 0;
}
if (225 < car.car5x_pos) {
car.car5left = car.car5left - 0.1;
}
if (car.car5left < 0) {
car.car5left = car.car5left + 0.005;
}
if (car.car5x_pos < 110) {
car.car5left = car.car5left + 0.1;
}
if (0 < car.car5left) {
car.car5left = car.car5left - 0.005;
}
if (0 >= car.car5_damage) {
car.car5y_speed = 0;
}
}
function new_car5_dir() {
if (car.car5_dir < 0) {
car.car5_dir = car.car5_dir + 5;
} else if (0 < car.car5_dir) {
car.car5_dir = car.car5_dir - 5;
}
}
function random_car5() {
pick9 = random(10);
if (7 < pick9) {
car.car5x_pos = 125;
} else if (4 < pick9) {
car.car5x_pos = 170;
} else if (0 < pick9) {
car.car5x_pos = 215;
}
pick10 = random(10);
if (7 < pick10) {
car.car5y_speed = 6;
} else if (4 < pick10) {
car.car5y_speed = 13;
} else if (0 < pick10) {
car.car5y_speed = 2;
}
}
function car5_run() {
if (car.car5y_pos < -100) {
random_car5();
car.car5M = 0;
}
if (400 < car.car5y_pos) {
car.car5y_pos = -400;
car.car5_damage = 100;
}
if (car.car5y_pos < -400) {
car.car5y_pos = 400;
car.car5_damage = 100;
}
}
function colide_cars() {
if (eval (_root.car2).hitTest(_root.car1) == true) {
car.car1y_speed = car.car2y_speed;
car.car2y_speed = car.car2y_speed - 2;
}
if (eval (_root.car1).hitTest(_root.car3) == true) {
car.car1y_speed = car.car3y_speed;
car.car3y_speed = car.car3y_speed + 2;
}
if (eval (_root.car3).hitTest(_root.car2) == true) {
car.car3y_speed = car.car2y_speed;
car.car2y_speed = car.car2y_speed - 2;
}
if (eval (_root.car3).hitTest(_root.car4) == true) {
car.car3y_speed = car.car4y_speed;
car.car2y_speed = car.car4y_speed - 2;
}
if (eval (_root.car4).hitTest(_root.car2) == true) {
car.car4y_speed = car.car2y_speed;
car.car2y_speed = car.car2y_speed - 2;
}
if (eval (_root.car3).hitTest(_root.car1) == true) {
car.car3y_speed = car.car1y_speed;
car.car1y_speed = car.car1y_speed - 2;
}
if (eval (_root.car5).hitTest(_root.car1) == true) {
car.car5y_speed = car.car1y_speed;
car.car1y_speed = car.car1y_speed - 2;
}
if (eval (_root.car5).hitTest(_root.car2) == true) {
car.car5y_speed = car.car2y_speed;
car.car2y_speed = car.car2y_speed - 2;
}
if (eval (_root.car5).hitTest(_root.car2) == true) {
car.car5y_speed = car.car1y_speed;
car.car2y_speed = car.car2y_speed - 2;
}
if (eval (_root.car5).hitTest(_root.car3) == true) {
car.car5y_speed = car.car3y_speed;
car.car3y_speed = car.car3y_speed - 2;
}
if (eval (_root.car5).hitTest(_root.car4) == true) {
car.car5y_speed = car.car4y_speed;
car.car4y_speed = car.car4y_speed - 2;
}
if (eval (_root.car1_detect).hitTest(_root.back) == true) {
car.car1y_speed = car.car1y_speed - 0.5;
}
if (eval (_root.car2_detect).hitTest(_root.back) == true) {
car.car2y_speed = car.car2y_speed - 0.8;
}
if (eval (_root.car3_detect).hitTest(_root.back) == true) {
car.car3y_speed = car.car3y_speed - 0.5;
}
if (eval (_root.car4_detect).hitTest(_root.back) == true) {
car.car4y_speed = car.car4y_speed - 0.9;
}
if (eval (_root.car5_detect).hitTest(_root.back) == true) {
car.car5y_speed = car.car5y_speed - 0.5;
}
if (eval (_root.car1_detect).hitTest(_root.car2) == true) {
car.car1y_speed = car.car1y_speed - 0.5;
}
if (eval (_root.car2_detect).hitTest(_root.car1) == true) {
car.car2y_speed = car.car2y_speed - 0.5;
}
if (eval (_root.car1_detect).hitTest(_root.car3) == true) {
car.car1y_speed = car.car1y_speed - 0.5;
}
if (eval (_root.car2_detect).hitTest(_root.car3) == true) {
car.car2y_speed = car.car2y_speed - 0.5;
}
if (eval (_root.car3_detect).hitTest(_root.car1) == true) {
car.car3y_speed = car.car3y_speed - 0.5;
}
if (eval (_root.car3_detect).hitTest(_root.car2) == true) {
car.car3y_speed = car.car3y_speed - 0.5;
}
if (eval (_root.car4_detect).hitTest(_root.car1) == true) {
car.car4y_speed = car.car4y_speed - 0.5;
}
if (eval (_root.car4_detect).hitTest(_root.car2) == true) {
car.car4y_speed = car.car4y_speed - 0.5;
}
if (eval (_root.car4_detect).hitTest(_root.car3) == true) {
car.car4y_speed = car.car4y_speed - 0.5;
}
if (eval (_root.car5_detect).hitTest(_root.car1) == true) {
car.car5y_speed = car.car5y_speed - 0.5;
}
if (eval (_root.car5_detect).hitTest(_root.car2) == true) {
car.car5y_speed = car.car5y_speed - 0.5;
}
if (eval (_root.car5_detect).hitTest(_root.car3) == true) {
car.car5y_speed = car.car5y_speed - 0.5;
}
if (eval (_root.car5_detect).hitTest(_root.car4) == true) {
car.car5y_speed = car.car5y_speed - 0.5;
}
}
car = new new_car_var();
function new_object_vars() {
this.pitstop_y_pos = 1000;
this.trash = 300;
this.trash_count = 0;
this.trash_x_pos = 90;
this.man1 = 250;
this.man1_count = 0;
this.man1_x_pos = 90;
this.man2 = 100;
this.man2_x_pos = 85;
this.checkerd = -18000;
}
function pitstop_func() {
object.pitstop_y_pos = int(object.pitstop_y_pos) + int(taxi.forwardxl);
setProperty("_root.pitstop", _y , int(object.pitstop_y_pos));
setProperty("_root.pitstop_hit", _y , int(object.pitstop_y_pos));
setProperty("_root.pitstop_hit", _visible , false);
if (2000 < object.pitstop_y_pos) {
object.pitstop_y_pos = -2000;
}
if (object.pitstop_y_pos < -2000) {
object.pitstop_y_pos = 2000;
}
if (eval (_root.bumper).hitTest(_root.pitstop_hit) == true) {
taxi.damage = taxi.damage + 0.5;
if (taxi.damage < 100) {
tellTarget ("_root.fix") {
gotoAndPlay ("crash");
};
}
}
}
function trash_func() {
object.trash = int(object.trash) + int(taxi.forwardxl);
setProperty("_root.trash", _y , int(object.trash));
setProperty("_root.trash_hit", _y , int(object.trash));
setProperty("_root.trash_count", _y , int(object.trash));
setProperty("_root.trash_count", _x , int(object.trash_x_pos));
setProperty("_root.trash_hit", _visible , false);
setProperty("_root.trash_count", _visible , false);
if (500 < object.trash) {
object.trash = -500;
}
if (object.trash < -500) {
object.trash = 500;
}
if (400 < object.trash) {
object.trash_x_pos = 90;
tellTarget ("_root.trash") {
gotoAndPlay ("trash");
};
}
if (eval (_root.taxi_main).hitTest(_root.trash_count) == true) {
object.trash_count = object.trash_count + 0.5;
}
if (eval (_root.taxi_main).hitTest(_root.trash_hit) == true) {
tellTarget ("_root.trash") {
gotoAndPlay ("mess");
};
gotoAndPlay (794);
}
}
function count_trash() {
object.trash_x_pos = 0;
}
function man1_func() {
object.man1 = int(object.man1) + int(taxi.forwardxl);
setProperty("_root.man1", _y , int(object.man1));
setProperty("_root.man1_hit", _y , int(object.man1));
setProperty("_root.man1_detect", _y , int(object.man1));
setProperty("_root.man1_detect", _x , int(object.man1_x_pos));
setProperty("_root.man1_hit", _visible , false);
setProperty("_root.man1_detect", _visible , false);
if (350 < object.man1) {
object.man1 = -380;
}
if (object.man1 < -380) {
object.man1 = 360;
}
if (335 < object.man1) {
object.man1_x_pos = 90;
tellTarget ("_root.man1") {
gotoAndPlay ("walk");
};
}
if (eval (_root.taxi_main).hitTest(_root.man1_detect) == true) {
object.man1_count = object.man1_count + 0.5;
}
if (eval (_root.taxi_main).hitTest(_root.man1_detect) == true) {
tellTarget ("_root.man1") {
gotoAndPlay ("dead");
};
gotoAndPlay (799);
}
}
function count_man1() {
object.man1_x_pos = 0;
if (object.man1_x_pos == 0) {
tellTarget ("_root.man1") {
gotoAndPlay ("blood");
};
}
}
function man2_func() {
object.man2 = int(object.man2) + int(taxi.forwardxl);
setProperty("_root.man2", _y , int(object.man2));
setProperty("_root.man2_hit", _y , int(object.man2));
setProperty("_root.man2_detect", _y , int(object.man2));
setProperty("_root.man2_detect", _x , int(object.man2_x_pos));
setProperty("_root.man2_hit", _visible , false);
setProperty("_root.man2_detect", _visible , false);
if (380 < object.man2) {
object.man2 = -100;
}
if (object.man2 < -100) {
object.man2 = 380;
}
if (350 < object.man2) {
object.man2_x_pos = 85;
tellTarget ("_root.man2") {
gotoAndPlay ("walk");
};
}
if (eval (_root.taxi_main).hitTest(_root.man2_detect) == true) {
object.man1_count = object.man1_count + 0.5;
}
if (eval (_root.taxi_main).hitTest(_root.man2_detect) == true) {
tellTarget ("_root.man2") {
gotoAndPlay ("dead");
};
gotoAndPlay (804);
}
}
function count_man2() {
object.man2_x_pos = 0;
if (object.man2_x_pos == 0) {
tellTarget ("_root.man2") {
gotoAndPlay ("blood");
};
}
}
function checkerd_flag() {
object.checkerd = int(object.checkerd) + int(taxi.forwardxl);
setProperty("_root.check", _y , object.checkerd);
setProperty("_root.check_hit", _y , object.checkerd);
setProperty("_root.check_hit", _visible , false);
if (eval (_root.back).hitTest(_root.check_hit) == true) {
gotoAndPlay (809);
}
}
object = new new_object_vars();
Frame 560
function car1_rear_hit() {
taxi.forwardxl = car.car1y_speed + 2;
car.car1y_speed = car.car1y_speed - 0.2;
}
function car1_front_hit() {
taxi.forwardxl = car.car1y_speed - 2;
car.car1y_speed = car.car1y_speed + 0.2;
}
function car1_left_hit() {
right();
car.car1_dir = taxi.dir * -1;
car.car1x_pos = car.car1x_pos - 2;
}
function car1_right_hit() {
left();
car.car1_dir = taxi.dir * -1;
car.car1x_pos = car.car1x_pos + 2;
}
function car2_rear_hit() {
taxi.forwardxl = car.car2y_speed + 2;
car.car2y_speed = car.car2y_speed - 0.2;
}
function car2_front_hit() {
taxi.forwardxl = car.car2y_speed - 2;
car.car2y_speed = car.car2y_speed + 0.2;
}
function car2_left_hit() {
right();
car.car2_dir = taxi.dir * -1;
car.car2x_pos = car.car2x_pos - 2;
}
function car2_right_hit() {
left();
car.car2_dir = taxi.dir * -1;
car.car2x_pos = car.car2x_pos + 2;
}
function car3_rear_hit() {
taxi.forwardxl = car.car3y_speed + 2;
car.car3y_speed = car.car3y_speed - 0.2;
}
function car3_front_hit() {
taxi.forwardxl = car.car3y_speed - 2;
car.car3y_speed = car.car3y_speed + 0.2;
}
function car3_left_hit() {
right();
car.car3_dir = taxi.dir * -1;
car.car3x_pos = car.car3x_pos - 2;
}
function car3_right_hit() {
left();
car.car3_dir = taxi.dir * -1;
car.car3x_pos = car.car3x_pos + 2;
}
function car4_rear_hit() {
taxi.forwardxl = car.car4y_speed + 2;
car.car4y_speed = car.car4y_speed - 0.2;
}
function car4_front_hit() {
taxi.forwardxl = car.car4y_speed - 2;
car.car4y_speed = car.car4y_speed + 0.2;
}
function car4_left_hit() {
right();
car.car4_dir = taxi.dir * -1;
car.car4x_pos = car.car4x_pos - 2;
}
function car4_right_hit() {
left();
car.car4_dir = taxi.dir * -1;
car.car4x_pos = car.car4x_pos + 2;
}
function car5_rear_hit() {
taxi.forwardxl = car.car5y_speed + 2;
car.car5y_speed = car.car5y_speed - 0.2;
}
function car5_front_hit() {
taxi.forwardxl = car.car5y_speed - 2;
car.car5y_speed = car.car5y_speed + 0.2;
}
function car5_left_hit() {
right();
car.car5_dir = taxi.dir * -1;
car.car5x_pos = car.car5x_pos - 2;
}
function car5_right_hit() {
left();
car.car5_dir = taxi.dir * -1;
car.car5x_pos = car.car5x_pos + 2;
}
Frame 562
function controlls() {
if (Key.isDown(Key.UP) == true) {
forwardxl();
} else {
slowdown_forwardxl();
}
if (Key.isDown(Key.DOWN) == true) {
reverse();
setProperty("_root.brake", _visible , true);
} else {
slowdown_reverse();
setProperty("_root.brake", _visible , false);
}
if (Key.isDown(Key.LEFT) == true) {
left();
} else {
slowdown_left();
}
if (Key.isDown(Key.RIGHT) == true) {
right();
} else {
slowdown_right();
}
}
Frame 564
function all() {
var_scoring();
checkerd_flag();
trash_func();
man1_func();
man2_func();
controlls();
move();
parameters();
gears();
speed_O_meter();
car1_move();
car2_move();
car3_move();
car4_move();
car5_move();
colide_south();
east();
west();
north();
colide_south2();
east2();
west2();
north2();
colide_south3();
east3();
west3();
north3();
colide_south4();
east4();
west4();
north4();
colide_south5();
east5();
west5();
north5();
new_car1_dir();
new_car2_dir();
new_car3_dir();
new_car4_dir();
new_car5_dir();
car1_run();
car2_run();
car3_run();
car4_run();
car5_run();
colide_cars();
damage_O_meter();
points_O_meter();
relative_pos();
pitstop_func();
time();
}
function rear() {
move();
parameters();
gears();
speed_O_meter();
car1_move();
car2_move();
car5_move();
colide_back();
car1_rear_hit();
colide_cars();
damage_O_meter();
points_O_meter();
relative_pos();
pitstop_func();
time();
}
function front() {
move();
parameters();
gears();
speed_O_meter();
car1_move();
car2_move();
car3_move();
car4_move();
car5_move();
colide_back();
car1_front_hit();
colide_cars();
damage_O_meter();
points_O_meter();
relative_pos();
pitstop_func();
time();
}
function left_func() {
move();
parameters();
gears();
speed_O_meter();
car1_move();
car2_move();
car3_move();
car4_move();
car5_move();
colide_back();
car1_front_hit();
car1_left_hit();
colide_cars();
damage_O_meter();
points_O_meter();
relative_pos();
pitstop_func();
time();
}
function right_func() {
move();
parameters();
gears();
speed_O_meter();
car1_move();
car2_move();
car3_move();
car4_move();
car5_move();
car1_right_hit();
car1_front_hit();
colide_cars();
damage_O_meter();
points_O_meter();
relative_pos();
pitstop_func();
time();
}
function rear2() {
move();
parameters();
gears();
speed_O_meter();
car1_move();
car2_move();
car3_move();
car4_move();
car5_move();
colide_back();
car2_rear_hit();
colide_cars();
damage_O_meter();
points_O_meter();
relative_pos();
pitstop_func();
time();
}
function front2() {
move();
parameters();
gears();
speed_O_meter();
car1_move();
car2_move();
car3_move();
car4_move();
car5_move();
colide_back();
car2_front_hit();
colide_cars();
damage_O_meter();
points_O_meter();
relative_pos();
pitstop_func();
time();
}
function left_func2() {
move();
parameters();
gears();
speed_O_meter();
car1_move();
car2_move();
car3_move();
car4_move();
car5_move();
colide_back();
car2_front_hit();
car2_left_hit();
colide_cars();
damage_O_meter();
points_O_meter();
relative_pos();
pitstop_func();
time();
}
function right_func2() {
move();
parameters();
gears();
speed_O_meter();
car1_move();
car2_move();
car3_move();
car4_move();
car5_move();
car2_right_hit();
car2_front_hit();
colide_cars();
damage_O_meter();
points_O_meter();
relative_pos();
pitstop_func();
time();
}
function rear3() {
move();
parameters();
gears();
speed_O_meter();
car1_move();
car2_move();
car3_move();
car4_move();
car5_move();
colide_back();
car3_rear_hit();
colide_cars();
damage_O_meter();
points_O_meter();
relative_pos();
pitstop_func();
time();
}
function front3() {
move();
parameters();
gears();
speed_O_meter();
car1_move();
car2_move();
car3_move();
car4_move();
car5_move();
colide_back();
car3_front_hit();
colide_cars();
damage_O_meter();
points_O_meter();
relative_pos();
pitstop_func();
time();
}
function left_func3() {
move();
parameters();
gears();
speed_O_meter();
car1_move();
car2_move();
car3_move();
car4_move();
car5_move();
colide_back();
car3_front_hit();
car3_left_hit();
colide_cars();
damage_O_meter();
points_O_meter();
relative_pos();
pitstop_func();
time();
}
function right_func3() {
move();
parameters();
gears();
speed_O_meter();
car1_move();
car2_move();
car3_move();
car4_move();
car5_move();
car3_right_hit();
car3_front_hit();
colide_cars();
damage_O_meter();
points_O_meter();
relative_pos();
pitstop_func();
time();
}
function rear4() {
move();
parameters();
gears();
car1_move();
car2_move();
car3_move();
car4_move();
car5_move();
speed_O_meter();
colide_back();
car4_rear_hit();
colide_cars();
damage_O_meter();
points_O_meter();
relative_pos();
pitstop_func();
time();
}
function front4() {
move();
parameters();
gears();
speed_O_meter();
car1_move();
car2_move();
car3_move();
car4_move();
car5_move();
colide_back();
car4_front_hit();
colide_cars();
damage_O_meter();
points_O_meter();
relative_pos();
pitstop_func();
time();
}
function left_func4() {
move();
parameters();
gears();
speed_O_meter();
car1_move();
car2_move();
car3_move();
car4_move();
car5_move();
colide_back();
car4_front_hit();
car4_left_hit();
colide_cars();
damage_O_meter();
points_O_meter();
relative_pos();
pitstop_func();
time();
}
function right_func4() {
move();
parameters();
gears();
speed_O_meter();
car1_move();
car2_move();
car3_move();
car4_move();
car5_move();
car4_right_hit();
car4_front_hit();
colide_cars();
damage_O_meter();
points_O_meter();
relative_pos();
pitstop_func();
time();
}
function rear5() {
move();
parameters();
gears();
speed_O_meter();
colide_back();
car1_move();
car2_move();
car3_move();
car4_move();
car5_move();
car5_rear_hit();
colide_cars();
damage_O_meter();
points_O_meter();
relative_pos();
pitstop_func();
time();
}
function front5() {
move();
parameters();
gears();
speed_O_meter();
car1_move();
car2_move();
car3_move();
car4_move();
car5_move();
colide_back();
car5_front_hit();
colide_cars();
damage_O_meter();
points_O_meter();
relative_pos();
pitstop_func();
time();
}
function left_func5() {
move();
parameters();
gears();
speed_O_meter();
car1_move();
car2_move();
car3_move();
car4_move();
car5_move();
colide_back();
car5_front_hit();
car5_left_hit();
colide_cars();
damage_O_meter();
points_O_meter();
relative_pos();
pitstop_func();
time();
}
function right_func5() {
move();
parameters();
gears();
speed_O_meter();
car1_move();
car2_move();
car3_move();
car4_move();
car5_move();
car5_right_hit();
car5_front_hit();
colide_cars();
damage_O_meter();
points_O_meter();
relative_pos();
pitstop_func();
time();
}
Frame 568
all();
Frame 569
all();
Frame 570
all();
Frame 571
all();
Frame 572
all();
Frame 573
all();
Frame 574
all();
Frame 575
all();
Frame 576
all();
Frame 577
all();
Frame 578
all();
Frame 579
all();
Frame 580
all();
Frame 581
all();
Frame 582
all();
Frame 583
all();
Frame 584
all();
Frame 585
all();
Frame 586
all();
Frame 587
all();
Frame 588
all();
Frame 589
all();
Frame 590
gotoAndPlay (568);
all();
Frame 591
front();
Frame 592
front();
Frame 593
front();
Frame 594
front();
Frame 595
front();
Frame 596
front();
Frame 597
gotoAndPlay (568);
front();
Frame 598
right_func();
Frame 599
right_func();
Frame 600
right_func();
Frame 601
right_func();
Frame 602
gotoAndPlay (568);
Frame 603
left_func();
Frame 604
left_func();
Frame 605
left_func();
Frame 606
gotoAndPlay (568);
left_func();
Frame 607
rear();
Frame 608
rear();
Frame 609
rear();
Frame 610
rear();
Frame 611
rear();
Frame 612
gotoAndPlay (568);
rear();
Frame 649
gotoAndPlay (953);
Frame 691
gotoAndPlay (1032);
Frame 695
gotoAndPlay (692);
Frame 699
gotoAndPlay (696);
Frame 702
front2();
Frame 703
front2();
Frame 704
front2();
Frame 705
front2();
Frame 706
front2();
Frame 707
front2();
Frame 708
gotoAndPlay (568);
front2();
Frame 709
right_func2();
Frame 710
right_func2();
Frame 711
right_func2();
Frame 712
right_func2();
Frame 713
gotoAndPlay (568);
Frame 714
left_func2();
Frame 715
left_func2();
Frame 716
left_func2();
Frame 717
gotoAndPlay (568);
left_func2();
Frame 718
rear2();
Frame 719
rear2();
Frame 720
rear2();
Frame 721
rear2();
Frame 722
rear2();
Frame 723
gotoAndPlay (568);
rear2();
Frame 725
front3();
Frame 726
front3();
Frame 727
front3();
Frame 728
front3();
Frame 729
front3();
Frame 730
front3();
Frame 731
gotoAndPlay (568);
front3();
Frame 732
right_func3();
Frame 733
right_func3();
Frame 734
right_func3();
Frame 735
right_func3();
Frame 736
gotoAndPlay (568);
Frame 737
left_func3();
Frame 738
left_func3();
Frame 739
left_func3();
Frame 740
gotoAndPlay (568);
left_func3();
Frame 741
rear3();
Frame 742
rear3();
Frame 743
rear3();
Frame 744
rear3();
Frame 745
rear3();
Frame 746
gotoAndPlay (568);
rear3();
Frame 748
front4();
Frame 749
front4();
Frame 750
front4();
Frame 751
front4();
Frame 752
front4();
Frame 753
front4();
Frame 754
gotoAndPlay (568);
front4();
Frame 755
right_func4();
Frame 756
right_func4();
Frame 757
right_func4();
Frame 758
right_func4();
Frame 759
gotoAndPlay (568);
Frame 760
left_func4();
Frame 761
left_func4();
Frame 762
left_func4();
Frame 763
gotoAndPlay (568);
left_func4();
Frame 764
rear4();
Frame 765
rear4();
Frame 766
rear4();
Frame 767
rear4();
Frame 768
rear4();
Frame 769
gotoAndPlay (568);
rear4();
Frame 771
front5();
Frame 772
front5();
Frame 773
front5();
Frame 774
front5();
Frame 775
front5();
Frame 776
front5();
Frame 777
gotoAndPlay (568);
front5();
Frame 778
right_func5();
Frame 779
right_func5();
Frame 780
right_func5();
Frame 781
right_func5();
Frame 782
gotoAndPlay (568);
Frame 783
left_func5();
Frame 784
left_func5();
Frame 785
left_func5();
Frame 786
gotoAndPlay (568);
left_func5();
Frame 787
rear5();
Frame 788
rear5();
Frame 789
rear5();
Frame 790
rear5();
Frame 791
rear5();
Frame 792
gotoAndPlay (568);
rear5();
Frame 794
all();
count_trash();
Frame 795
all();
count_trash();
Frame 796
all();
count_trash();
Frame 797
gotoAndPlay (568);
all();
count_trash();
Frame 799
all();
count_man1();
Frame 800
all();
count_man1();
Frame 801
all();
count_man1();
Frame 802
gotoAndPlay (568);
all();
count_man1();
Frame 804
all();
count_man2();
Frame 805
all();
count_man2();
Frame 806
all();
count_man2();
Frame 807
gotoAndPlay (568);
all();
count_man2();
Frame 853
gotoAndPlay (856);
Frame 855
stop();
Frame 856
stopAllSounds();
Frame 942
var_scoring();
Frame 943
var_scoring();
score_check();
Frame 946
stop();
gotoAndPlay (942);
Frame 947
var_scoring();
Frame 948
var_scoring();
score_check();
Frame 952
gotoAndPlay (947);
Frame 953
stopAllSounds();
Frame 1022
var_scoring();
Frame 1023
var_scoring();
Frame 1031
gotoAndPlay (1022);
stop();
Frame 1032
stopAllSounds();
Frame 1113
var_scoring();
Frame 1114
var_scoring();
Frame 1122
gotoAndPlay (1113);
stop();
Symbol 12 Button
on (release) {
getURL ("mailto:berry@w3b.co.za");
}
Symbol 23 Button
on (release) {
getURL ("mailto:berry@w3b.co.za", "_blank");
}
Symbol 99 Button
on (release) {
stopAllSounds();
gotoAndPlay (447);
}
Symbol 101 MovieClip Frame 2
gotoAndPlay (1);
Symbol 101 MovieClip Frame 12
gotoAndPlay (1);
Symbol 104 MovieClip Frame 2
gotoAndPlay (1);
Symbol 104 MovieClip Frame 12
gotoAndPlay (1);
Symbol 106 MovieClip Frame 2
gotoAndPlay (1);
Symbol 106 MovieClip Frame 12
gotoAndPlay (1);
Symbol 127 MovieClip Frame 3
gotoAndPlay (1);
Symbol 127 MovieClip Frame 6
gotoAndPlay (4);
Symbol 127 MovieClip Frame 9
gotoAndPlay (7);
Symbol 127 MovieClip Frame 12
gotoAndPlay (10);
Symbol 153 MovieClip Frame 8
gotoAndPlay (1);
Symbol 153 MovieClip Frame 17
gotoAndPlay (9);
Symbol 153 MovieClip Frame 26
gotoAndPlay (18);
Symbol 153 MovieClip Frame 34
gotoAndPlay (27);
Symbol 153 MovieClip Frame 41
gotoAndPlay (35);
Symbol 153 MovieClip Frame 49
gotoAndPlay (42);
Symbol 164 MovieClip Frame 46
stop();
Symbol 169 MovieClip Frame 46
stop();
Symbol 175 MovieClip Frame 46
stop();
Symbol 176 MovieClip Frame 1
stop();
Symbol 176 MovieClip Frame 5
stop();
Symbol 176 MovieClip Frame 9
stop();
Symbol 176 MovieClip Frame 13
stop();
Symbol 196 MovieClip Frame 2
gotoAndPlay (1);
Symbol 196 MovieClip Frame 4
gotoAndPlay (3);
Symbol 196 MovieClip Frame 6
gotoAndPlay (5);
Symbol 196 MovieClip Frame 8
gotoAndPlay (7);
Symbol 196 MovieClip Frame 10
gotoAndPlay (9);
Symbol 196 MovieClip Frame 14
gotoAndPlay (12);
Symbol 215 MovieClip Frame 5
gotoAndPlay (1);
Symbol 215 MovieClip Frame 10
gotoAndPlay (7);
Symbol 220 MovieClip Frame 5
gotoAndPlay (1);
Symbol 220 MovieClip Frame 10
gotoAndPlay (7);
Symbol 227 MovieClip Frame 5
gotoAndPlay (1);
Symbol 227 MovieClip Frame 11
gotoAndPlay (7);
Symbol 231 MovieClip Frame 4
gotoAndPlay (1);
Symbol 231 MovieClip Frame 7
gotoAndPlay (5);
Symbol 231 MovieClip Frame 12
gotoAndPlay (8);
Symbol 236 MovieClip Frame 4
gotoAndPlay (1);
Symbol 236 MovieClip Frame 7
gotoAndPlay (5);
Symbol 236 MovieClip Frame 12
gotoAndPlay (8);
Symbol 238 MovieClip Frame 4
gotoAndPlay (1);
Symbol 238 MovieClip Frame 7
gotoAndPlay (5);
Symbol 238 MovieClip Frame 12
gotoAndPlay (8);
Symbol 241 MovieClip Frame 4
gotoAndPlay (1);
Symbol 241 MovieClip Frame 7
gotoAndPlay (5);
Symbol 241 MovieClip Frame 12
gotoAndPlay (8);
Symbol 243 MovieClip Frame 4
gotoAndPlay (1);
Symbol 243 MovieClip Frame 7
gotoAndPlay (5);
Symbol 243 MovieClip Frame 12
gotoAndPlay (8);
Symbol 253 MovieClip Frame 2
gotoAndPlay (1);
Symbol 267 Button
on (release) {
stopAllSounds();
gotoAndPlay (448);
}
Symbol 289 Button
on (release) {
stopAllSounds();
gotoAndPlay (855);
}