Frame 1
function carChange() {
_root.car.nextFrame();
}
stop();
setInterval(carChange, 3000);
Instance of Symbol 151 MovieClip in Frame 1
onClipEvent (load) {
var total = _root.getBytesTotal();
_xscale = 0;
}
onClipEvent (enterFrame) {
var loaded = _root.getBytesLoaded();
var amlod = Math.round((loaded / total) * 100);
_xscale = amlod;
_root.car._x = amlod * 8;
if (loaded == total) {
_root.gotoAndStop("main");
}
}
Frame 2
function menuItem_2_handler() {
getURL ("http://www.skywardgames.com", "_blank");
}
function attachCarLeft() {
attachMovie("vehicle", "car" + iCar, this.getNextHighestDepth() + 100, {_x:-50, _y:positionsLeft[random(positionsLeft.length)], carDirection:"right", _xscale:60, _yscale:60});
carAmount++;
iCar++;
}
function attachCarRight() {
attachMovie("vehicle", "car" + iCar, this.getNextHighestDepth() + 100, {_x:850, _y:positionsRight[random(positionsRight.length)], carDirection:"left", _rotation:180, _xscale:60, _yscale:60});
carAmount++;
iCar++;
}
function attachCarUp() {
attachMovie("vehicle", "car" + iCar, this.getNextHighestDepth() + 100, {_y:-50, _x:positionsUp[random(positionsUp.length)], carDirection:"down", _rotation:90, _xscale:60, _yscale:60});
carAmount++;
iCar++;
}
function attachCarDown() {
attachMovie("vehicle", "car" + iCar, this.getNextHighestDepth() + 100, {_y:850, _x:positionsDown[random(positionsDown.length)], carDirection:"up", _rotation:270, _xscale:60, _yscale:60});
carAmount++;
iCar++;
}
function attachManHor() {
if (durArray[random(4)] == "Left") {
attachMovie("man", "man" + iMan, this.getNextHighestDepth(), {_x:-20, _y:manPosLeft[random(manPosLeft.length)] + (random(5) * 10), go:true, manDirection:"right", _rotation:90, _xscale:60, _yscale:60});
manAmount++;
iMan++;
} else if (durArray[random(4)] == "Right") {
attachMovie("man", "man" + iMan, this.getNextHighestDepth(), {_x:820, _y:manPosRight[random(manPosRight.length)] + (random(5) * 10), go:true, manDirection:"left", _rotation:270, _xscale:60, _yscale:60});
manAmount++;
iMan++;
}
}
function attachManVert() {
if (durArray[random(4)] == "Up") {
attachMovie("man", "man" + iMan, this.getNextHighestDepth(), {_y:-20, _x:manPosUp[random(manPosUp.length)] + (random(5) * 10), go:true, manDirection:"down", _rotation:180, _xscale:60, _yscale:60});
manAmount++;
iMan++;
} else if (durArray[random(4)] == "Down") {
attachMovie("man", "man" + iMan, this.getNextHighestDepth(), {_y:520, _x:manPosDown[random(manPosDown.length)] + (random(5) * 10), go:true, manDirection:"up", _xscale:60, _yscale:60});
manAmount++;
iMan++;
}
}
for (i in _root) {
if (typeof(_root[i]) == "movieclip") {
removeMovieClip(_root[i]);
}
}
var my_cm = new ContextMenu();
my_cm.hideBuiltInItems();
var menuItem_2 = new ContextMenuItem("www.skywardgames.com", menuItem_2_handler);
my_cm.customItems.push(menuItem_2);
this.menu = my_cm;
stop();
var peopleGotKilled = 0;
var peopleHavePassed = 0;
var carsGotCrashed = 0;
var carsHavePassed = 0;
saving = SharedObject.getLocal("myvars");
var park = new Sound();
park.attachSound("Park");
var city = new Sound();
city.attachSound("City Skyline");
var crash = new Sound();
crash.attachSound("Crash");
var stear = new Sound();
stear.attachSound("Stearing Breaks");
var win = new Sound();
win.attachSound("Win Sound");
var lights = new Sound();
lights.attachSound("lights");
var music = new Sound(this.createEmptyMovieClip("backgroundMusic", this.getNextHighestDepth()));
music.attachSound("Music");
music.start(0, 1000);
Frame 3
stop();
Frame 4
for (i in _root) {
if (typeof(_root[i]) == "movieclip") {
removeMovieClip(_root[i]);
}
}
var timerJamTime = 6;
var durArray = ["Left", "Right", "Up", "Down"];
var trailsDepth = 800;
var carsDepth = 10000;
var singleLight = false;
var timerJam = 0;
var carsCrashed = false;
var gameStatus = "start";
var iCar = 0;
var iMan = 0;
var timerCar = 0;
var timerVertCar = 0;
var timerMan = 0;
var timerMan2 = 0;
var manKilled = false;
var manPassed = 0;
var positionsRight = [240];
var positionsDown = [325];
var manPosLeft = [270];
var manPosRight = [270];
var manPosUp = [360];
var manPosDown = [360];
var manDownStops = [270];
var manUpStops = [210];
var manLeftStops = [290];
var manRightStops = [360];
var lastCar = 0;
var manAmount = 0;
var stoped = false;
var rightLight = [135];
var leftLight = [445];
var downLight = [35];
var upLight = [335];
var horJam = 0;
var vertJam = 0;
var peopleLeft = 4;
var timeMinutes = 1;
var timeSeconds = 20;
var timeMiliseconds = 60;
stopAllSounds();
city.start(0, 100);
var music = new Sound(this.createEmptyMovieClip("backgroundMusic", this.getNextHighestDepth()));
music.attachSound("Music");
music.start(0, 1000);
Instance of Symbol 221 MovieClip "sliderSound" in Frame 4
on (press) {
startDrag (this, false, 657, 480, 707, 480);
}
on (release, releaseOutside) {
stopDrag();
}
onClipEvent (enterFrame) {
_root.park.setVolume((_x - 657) * 2);
}
Instance of Symbol 221 MovieClip "sliderMusic" in Frame 4
on (press) {
startDrag (this, false, 727, 480, 777, 480);
}
on (release, releaseOutside) {
stopDrag();
}
onClipEvent (enterFrame) {
_root.music.setVolume((_x - 727) * 2);
}
Frame 5
timerCar++;
timerVertCar++;
timerMan++;
timerMan2++;
if ((timerVertCar > ((110 * appearence) + random(100))) && (stoped != true)) {
timerVertCar = 0;
attachCarDown();
}
if ((timerCar > ((110 * appearence) + random(100))) && (stoped != true)) {
timerCar = 0;
attachCarRight();
}
if ((timerMan > (150 + random(150))) && (stoped != true)) {
timerMan = 0;
attachManVert();
}
if ((timerMan2 > (150 + random(150))) && (stoped != true)) {
timerMan2 = 0;
attachManHor();
}
if (stoped != true) {
timeMiliseconds = timeMiliseconds - 0.025;
if (timeSeconds <= 0) {
timeSeconds = 60;
timeMinutes = timeMinutes - 1;
}
if (timeMiliseconds <= 0) {
timeMiliseconds = 60;
timeSeconds = timeSeconds - 1;
} else {
timeMiliseconds = timeMiliseconds - 1.5;
}
miliseconds = Math.round(timeMiliseconds);
if (miliseconds < 10) {
miliseconds = "0" + miliseconds;
}
if (timeSeconds < 10) {
seconds = "0" + timeSeconds;
} else {
seconds = timeSeconds;
}
levelTimer = (((timeMinutes + ":") + seconds) + ":") + miliseconds;
}
if (timeMinutes < 0) {
stoped = true;
gameStatus = "outOfTime";
gotoAndStop ("endOfLevel1");
levelTimer = "00:00:00";
}
if (peopleLeft <= 0) {
stoped = true;
gameStatus = "winLevel";
gotoAndStop ("endOfLevel1");
}
if (carsCrashed == true) {
stoped = true;
gotoAndStop ("endOfLevel1");
}
if (timerJam > timerJamTime) {
stoped = true;
gotoAndStop ("endOfLevel1");
}
Instance of Symbol 244 MovieClip "Lights2" in Frame 5
onClipEvent (load) {
gotoAndPlay (2);
var timeForLights = 0.01;
}
on (press) {
if (_root.stoped != true) {
_root.lights.start();
if (pressed != true) {
pressed = true;
gotoAndStop (1);
} else {
pressed = false;
gotoAndStop (2);
}
}
}
Frame 6
gotoAndPlay ("loop1");
Frame 7
stop();
if ((gameStatus == "winLevel") && (manKilled != true)) {
attachMovie("Win", "Win", this.getNextHighestDepth(), {_x:240, _y:42, nextLevel:"level2"});
saving.data.level2 = true;
}
if (((gameStatus == "outOfTime") && (manKilled != true)) && (gameStatus != "winLevel")) {
attachMovie("Death", "Death", this.getNextHighestDepth(), {_x:0, _y:0, currentLevel:"level1"});
}
if (((carsCrashed == true) && (manKilled != true)) && (gameStatus != "winLevel")) {
attachMovie("Death", "Death", this.getNextHighestDepth(), {_x:0, _y:0, currentLevel:"level1"});
}
if (((timerJam > timerJamTime) && (manKilled != true)) && (gameStatus != "winLevel")) {
attachMovie("Death", "Death", this.getNextHighestDepth(), {_x:0, _y:0, currentLevel:"level1"});
}
if (carsCrashed == true) {
crash.start();
stear.start();
}
music.stop();
Frame 8
for (i in _root) {
if (typeof(_root[i]) == "movieclip") {
removeMovieClip(_root[i]);
}
}
var timerJamTime = 18;
var durArray = ["Left", "Right", "Up", "Down"];
var trailsDepth = 800;
var carsDepth = 10000;
var singleLight = false;
var timerJam = 0;
var carsCrashed = false;
var gameStatus = "start";
var iCar = 0;
var iMan = 0;
var timerCar = 0;
var timerVertCar = 0;
var timerMan = 0;
var timerMan2 = 0;
var manKilled = false;
var manPassed = 0;
var positionsRight = [215];
var positionsLeft = [255];
var positionsDown = [310];
var manPosUp = [385];
var manPosDown = [385];
var manDownStops = [285];
var manUpStops = [185];
var lastCar = 0;
var manAmount = 0;
var stoped = false;
var rightLight = [135];
var leftLight = [445];
var downLight = [35];
var upLight = [335];
var horJam = 0;
var vertJam = 0;
var peopleLeft = 9;
var timeMinutes = 1;
var timeSeconds = 1;
var timeMiliseconds = 60;
stopAllSounds();
city.start(0, 100);
var music = new Sound(this.createEmptyMovieClip("backgroundMusic", this.getNextHighestDepth()));
music.attachSound("Music2");
music.start(0, 1000);
Frame 9
timerCar++;
timerVertCar++;
timerMan++;
timerMan2++;
if ((timerVertCar > ((120 * appearence) + random(100))) && (stoped != true)) {
timerVertCar = 0;
attachCarDown();
}
if ((timerCar > ((200 * appearence) + random(200))) && (stoped != true)) {
timerCar = 0;
attachCarRight();
attachCarLeft();
}
if ((timerMan > (100 + random(100))) && (stoped != true)) {
timerMan = 0;
attachManVert();
}
if (stoped != true) {
timeMiliseconds = timeMiliseconds - 0.025;
if (timeSeconds <= 0) {
timeSeconds = 60;
timeMinutes = timeMinutes - 1;
}
if (timeMiliseconds <= 0) {
timeMiliseconds = 60;
timeSeconds = timeSeconds - 1;
} else {
timeMiliseconds = timeMiliseconds - 1.5;
}
miliseconds = Math.round(timeMiliseconds);
if (miliseconds < 10) {
miliseconds = "0" + miliseconds;
}
if (timeSeconds < 10) {
seconds = "0" + timeSeconds;
} else {
seconds = timeSeconds;
}
levelTimer = (((timeMinutes + ":") + seconds) + ":") + miliseconds;
}
if (timeMinutes < 0) {
stoped = true;
gameStatus = "outOfTime";
gotoAndStop ("endOfLevel2");
levelTimer = "00:00:00";
}
if (peopleLeft <= 0) {
stoped = true;
gameStatus = "winLevel";
gotoAndStop ("endOfLevel2");
}
if (carsCrashed == true) {
stoped = true;
gotoAndStop ("endOfLevel2");
}
if (timerJam > timerJamTime) {
stoped = true;
gotoAndStop ("endOfLevel2");
}
Instance of Symbol 244 MovieClip "Lights2" in Frame 9
onClipEvent (load) {
gotoAndPlay (2);
var timeForLights = 0.01;
}
on (press) {
if (_root.stoped != true) {
_root.lights.start();
if (pressed != true) {
pressed = true;
gotoAndStop (1);
} else {
pressed = false;
gotoAndStop (2);
}
}
}
Instance of Symbol 244 MovieClip "Lights1" in Frame 9
onClipEvent (load) {
gotoAndPlay (2);
var timeForLights = 0.01;
}
on (press) {
if (_root.stoped != true) {
_root.lights.start();
if (pressed != true) {
pressed = true;
gotoAndStop (1);
} else {
pressed = false;
gotoAndStop (2);
}
}
}
Frame 10
gotoAndPlay ("loop2");
Frame 11
stop();
if ((gameStatus == "winLevel") && (manKilled != true)) {
attachMovie("Win", "Win", this.getNextHighestDepth(), {_x:240, _y:42, nextLevel:"level3"});
saving.data.level3 = true;
}
if (((gameStatus == "outOfTime") && (manKilled != true)) && (gameStatus != "winLevel")) {
attachMovie("Death", "Death", this.getNextHighestDepth(), {_x:0, _y:0, currentLevel:"level2"});
}
if (((carsCrashed == true) && (manKilled != true)) && (gameStatus != "winLevel")) {
attachMovie("Death", "Death", this.getNextHighestDepth(), {_x:0, _y:0, currentLevel:"level2"});
}
if (((timerJam > timerJamTime) && (manKilled != true)) && (gameStatus != "winLevel")) {
attachMovie("Death", "Death", this.getNextHighestDepth(), {_x:0, _y:0, currentLevel:"level2"});
}
if (carsCrashed == true) {
crash.start();
stear.start();
}
music.stop();
Frame 12
for (i in _root) {
if (typeof(_root[i]) == "movieclip") {
removeMovieClip(_root[i]);
}
}
var timerJamTime = 6;
var durArray = ["Left", "Right", "Up", "Down"];
var trailsDepth = 800;
var carsDepth = 10000;
var singleLight = false;
var timerJam = 0;
var carsCrashed = false;
var gameStatus = "start";
var iCar = 0;
var iMan = 0;
var timerCar = 0;
var timerVertCar = 0;
var timerMan = 0;
var timerMan2 = 0;
var manKilled = false;
var manPassed = 0;
var positionsLeft = [130];
var positionsDown = [685];
var positionsUp = [650];
var manPosLeft = [290];
var manPosRight = [290];
var manLeftStops = [615];
var manRightStops = [715];
var lastCar = 0;
var manAmount = 0;
var stoped = false;
var rightLight = [135];
var leftLight = [445];
var downLight = [35];
var upLight = [335];
var horJam = 0;
var vertJam = 0;
var peopleLeft = 3;
var timeMinutes = 0;
var timeSeconds = 45;
var timeMiliseconds = 60;
stopAllSounds();
city.start(0, 100);
var music = new Sound(this.createEmptyMovieClip("backgroundMusic", this.getNextHighestDepth()));
music.attachSound("Music");
music.start(0, 1000);
Frame 13
timerCar++;
timerVertCar++;
timerMan++;
timerMan2++;
if ((timerVertCar > ((170 * appearence) + random(100))) && (stoped != true)) {
timerVertCar = 0;
attachCarLeft();
}
if ((timerCar > ((100 * appearence) + random(150))) && (stoped != true)) {
timerCar = 0;
attachCarUp();
attachCarDown();
}
if ((timerMan > (100 + random(100))) && (stoped != true)) {
timerMan = 0;
attachManHor();
}
if (stoped != true) {
timeMiliseconds = timeMiliseconds - 0.025;
if (timeSeconds <= 0) {
timeSeconds = 60;
timeMinutes = timeMinutes - 1;
}
if (timeMiliseconds <= 0) {
timeMiliseconds = 60;
timeSeconds = timeSeconds - 1;
} else {
timeMiliseconds = timeMiliseconds - 1.5;
}
miliseconds = Math.round(timeMiliseconds);
if (miliseconds < 10) {
miliseconds = "0" + miliseconds;
}
if (timeSeconds < 10) {
seconds = "0" + timeSeconds;
} else {
seconds = timeSeconds;
}
levelTimer = (((timeMinutes + ":") + seconds) + ":") + miliseconds;
}
if (timeMinutes < 0) {
stoped = true;
gameStatus = "outOfTime";
gotoAndStop ("endOfLevel3");
levelTimer = "00:00:00";
}
if (peopleLeft <= 0) {
stoped = true;
gameStatus = "winLevel";
gotoAndStop ("endOfLevel3");
}
if (carsCrashed == true) {
stoped = true;
gotoAndStop ("endOfLevel3");
}
if (timerJam > timerJamTime) {
stoped = true;
gotoAndStop ("endOfLevel3");
}
Instance of Symbol 244 MovieClip "Lights1" in Frame 13
onClipEvent (load) {
gotoAndPlay (2);
var timeForLights = 0.01;
}
on (press) {
if (_root.stoped != true) {
_root.lights.start();
if (pressed != true) {
pressed = true;
gotoAndStop (1);
} else {
pressed = false;
gotoAndStop (2);
}
}
}
Frame 14
gotoAndPlay ("loop3");
Frame 15
stop();
if ((gameStatus == "winLevel") && (manKilled != true)) {
attachMovie("Win", "Win", this.getNextHighestDepth(), {_x:240, _y:42, nextLevel:"level4"});
saving.data.level4 = true;
}
if (((gameStatus == "outOfTime") && (manKilled != true)) && (gameStatus != "winLevel")) {
attachMovie("Death", "Death", this.getNextHighestDepth(), {_x:0, _y:0, currentLevel:"level3"});
}
if (((carsCrashed == true) && (manKilled != true)) && (gameStatus != "winLevel")) {
attachMovie("Death", "Death", this.getNextHighestDepth(), {_x:0, _y:0, currentLevel:"level3"});
}
if (((timerJam > timerJamTime) && (manKilled != true)) && (gameStatus != "winLevel")) {
attachMovie("Death", "Death", this.getNextHighestDepth(), {_x:0, _y:0, currentLevel:"level3"});
}
if (carsCrashed == true) {
crash.start();
stear.start();
}
music.stop();
Frame 16
for (i in _root) {
if (typeof(_root[i]) == "movieclip") {
removeMovieClip(_root[i]);
}
}
var timerJamTime = 6;
var durArray = ["Left", "Right", "Up", "Down"];
var trailsDepth = 800;
var carsDepth = 10000;
var singleLight = false;
var timerJam = 0;
var carsCrashed = false;
var gameStatus = "start";
var iCar = 0;
var iMan = 0;
var timerCar = 0;
var timerVertCar = 0;
var timerMan = 0;
var timerMan2 = 0;
var manKilled = false;
var manPassed = 0;
var positionsRight = [195];
var positionsLeft = [235];
var positionsDown = [465];
var positionsUp = [220];
var manPosUp = [615];
var manPosDown = [615];
var manUpStops = [165];
var manDownStops = [265];
var lastCar = 0;
var manAmount = 0;
var stoped = false;
var rightLight = [135];
var leftLight = [445];
var downLight = [35];
var upLight = [335];
var horJam = 0;
var vertJam = 0;
var peopleLeft = 23;
var timeMinutes = 0;
var timeSeconds = 50;
var timeMiliseconds = 60;
stopAllSounds();
city.start(0, 100);
var music = new Sound(this.createEmptyMovieClip("backgroundMusic", this.getNextHighestDepth()));
music.attachSound("Music2");
music.start(0, 1000);
Frame 17
timerCar++;
timerVertCar++;
timerMan++;
timerMan2++;
if ((timerVertCar > ((130 * appearence) + random(100))) && (stoped != true)) {
timerVertCar = 0;
attachCarLeft();
attachCarRight();
}
if ((timerCar > ((100 * appearence) + random(150))) && (stoped != true)) {
timerCar = 0;
attachCarUp();
attachCarDown();
}
if ((timerMan > (60 + random(100))) && (stoped != true)) {
timerMan = 0;
attachManVert();
}
if (stoped != true) {
timeMiliseconds = timeMiliseconds - 0.025;
if (timeSeconds <= 0) {
timeSeconds = 60;
timeMinutes = timeMinutes - 1;
}
if (timeMiliseconds <= 0) {
timeMiliseconds = 60;
timeSeconds = timeSeconds - 1;
} else {
timeMiliseconds = timeMiliseconds - 1.5;
}
miliseconds = Math.round(timeMiliseconds);
if (miliseconds < 10) {
miliseconds = "0" + miliseconds;
}
if (timeSeconds < 10) {
seconds = "0" + timeSeconds;
} else {
seconds = timeSeconds;
}
levelTimer = (((timeMinutes + ":") + seconds) + ":") + miliseconds;
}
if (timeMinutes < 0) {
stoped = true;
gameStatus = "outOfTime";
gotoAndStop ("endOfLevel4");
levelTimer = "00:00:00";
}
if (peopleLeft <= 0) {
stoped = true;
gameStatus = "winLevel";
gotoAndStop ("endOfLevel4");
}
if (carsCrashed == true) {
stoped = true;
gotoAndStop ("endOfLevel4");
}
if (timerJam > timerJamTime) {
stoped = true;
gotoAndStop ("endOfLevel4");
}
Instance of Symbol 244 MovieClip "Lights1" in Frame 17
onClipEvent (load) {
gotoAndPlay (2);
var timeForLights = 0.01;
}
on (press) {
if (_root.stoped != true) {
_root.lights.start();
if (pressed != true) {
pressed = true;
gotoAndStop (1);
} else {
pressed = false;
gotoAndStop (2);
}
}
}
Instance of Symbol 244 MovieClip "Lights2" in Frame 17
onClipEvent (load) {
gotoAndPlay (2);
var timeForLights = 0.01;
}
on (press) {
if (_root.stoped != true) {
_root.lights.start();
if (pressed != true) {
pressed = true;
gotoAndStop (1);
} else {
pressed = false;
gotoAndStop (2);
}
}
}
Frame 18
gotoAndPlay ("loop4");
Frame 19
stop();
if ((gameStatus == "winLevel") && (manKilled != true)) {
attachMovie("Win", "Win", this.getNextHighestDepth(), {_x:240, _y:42, nextLevel:"level5"});
saving.data.level5 = true;
}
if (((gameStatus == "outOfTime") && (manKilled != true)) && (gameStatus != "winLevel")) {
attachMovie("Death", "Death", this.getNextHighestDepth(), {_x:0, _y:0, currentLevel:"level4"});
}
if (((carsCrashed == true) && (manKilled != true)) && (gameStatus != "winLevel")) {
attachMovie("Death", "Death", this.getNextHighestDepth(), {_x:0, _y:0, currentLevel:"level4"});
}
if (((timerJam > timerJamTime) && (manKilled != true)) && (gameStatus != "winLevel")) {
attachMovie("Death", "Death", this.getNextHighestDepth(), {_x:0, _y:0, currentLevel:"level4"});
}
if (carsCrashed == true) {
crash.start();
stear.start();
}
music.stop();
Frame 20
for (i in _root) {
if (typeof(_root[i]) == "movieclip") {
removeMovieClip(_root[i]);
}
}
var timerJamTime = 6;
var durArray = ["Left", "Right", "Up", "Down"];
var trailsDepth = 800;
var carsDepth = 10000;
var singleLight = false;
var timerJam = 0;
var carsCrashed = false;
var gameStatus = "start";
var iCar = 0;
var iMan = 0;
var timerCar = 0;
var timerVertCar = 0;
var timerMan = 0;
var timerMan2 = 0;
var manKilled = false;
var manPassed = 0;
var positionsRight = [150];
var positionsDown = [420, 460];
var positionsUp = [320, 360];
var manPosLeft = [350];
var manPosRight = [350];
var manLeftStops = [290];
var manRightStops = [490];
var lastCar = 0;
var manAmount = 0;
var stoped = false;
var rightLight = [135];
var leftLight = [445];
var downLight = [35];
var upLight = [335];
var horJam = 0;
var vertJam = 0;
var peopleLeft = 8;
var timeMinutes = 0;
var timeSeconds = 50;
var timeMiliseconds = 60;
stopAllSounds();
city.start(0, 100);
var music = new Sound(this.createEmptyMovieClip("backgroundMusic", this.getNextHighestDepth()));
music.attachSound("Music");
music.start(0, 1000);
Frame 21
timerCar++;
timerVertCar++;
timerMan++;
timerMan2++;
if ((timerVertCar > ((160 * appearence) + random(100))) && (stoped != true)) {
timerVertCar = 0;
attachCarRight();
}
if ((timerCar > ((70 * appearence) + random(150))) && (stoped != true)) {
timerCar = 0;
attachCarUp();
attachCarDown();
}
if ((timerMan > (70 + random(100))) && (stoped != true)) {
timerMan = 0;
attachManHor();
}
if (stoped != true) {
timeMiliseconds = timeMiliseconds - 0.025;
if (timeSeconds <= 0) {
timeSeconds = 60;
timeMinutes = timeMinutes - 1;
}
if (timeMiliseconds <= 0) {
timeMiliseconds = 60;
timeSeconds = timeSeconds - 1;
} else {
timeMiliseconds = timeMiliseconds - 1.5;
}
miliseconds = Math.round(timeMiliseconds);
if (miliseconds < 10) {
miliseconds = "0" + miliseconds;
}
if (timeSeconds < 10) {
seconds = "0" + timeSeconds;
} else {
seconds = timeSeconds;
}
levelTimer = (((timeMinutes + ":") + seconds) + ":") + miliseconds;
}
if (timeMinutes < 0) {
stoped = true;
gameStatus = "outOfTime";
gotoAndStop ("endOfLevel5");
levelTimer = "00:00:00";
}
if (peopleLeft <= 0) {
stoped = true;
gameStatus = "winLevel";
gotoAndStop ("endOfLevel5");
}
if (carsCrashed == true) {
stoped = true;
gotoAndStop ("endOfLevel5");
}
if (timerJam > timerJamTime) {
stoped = true;
gotoAndStop ("endOfLevel5");
}
Instance of Symbol 244 MovieClip "Lights1" in Frame 21
onClipEvent (load) {
gotoAndPlay (2);
var timeForLights = 0.01;
}
on (press) {
if (_root.stoped != true) {
_root.lights.start();
if (pressed != true) {
pressed = true;
gotoAndStop (1);
} else {
pressed = false;
gotoAndStop (2);
}
}
}
Frame 22
gotoAndPlay ("loop5");
Frame 23
stop();
if ((gameStatus == "winLevel") && (manKilled != true)) {
attachMovie("Win", "Win", this.getNextHighestDepth(), {_x:240, _y:42, nextLevel:"level6"});
saving.data.level6 = true;
}
if (((gameStatus == "outOfTime") && (manKilled != true)) && (gameStatus != "winLevel")) {
attachMovie("Death", "Death", this.getNextHighestDepth(), {_x:0, _y:0, currentLevel:"level5"});
}
if (((carsCrashed == true) && (manKilled != true)) && (gameStatus != "winLevel")) {
attachMovie("Death", "Death", this.getNextHighestDepth(), {_x:0, _y:0, currentLevel:"level5"});
}
if (((timerJam > timerJamTime) && (manKilled != true)) && (gameStatus != "winLevel")) {
attachMovie("Death", "Death", this.getNextHighestDepth(), {_x:0, _y:0, currentLevel:"level5"});
}
if (carsCrashed == true) {
crash.start();
stear.start();
}
music.stop();
Frame 24
for (i in _root) {
if (typeof(_root[i]) == "movieclip") {
removeMovieClip(_root[i]);
}
}
var timerJamTime = 14;
var durArray = ["Left", "Right", "Up", "Down"];
var trailsDepth = 800;
var carsDepth = 10000;
var singleLight = false;
var timerJam = 0;
var carsCrashed = false;
var gameStatus = "start";
var iCar = 0;
var iMan = 0;
var timerCar = 0;
var timerVertCar = 0;
var timerMan = 0;
var timerMan2 = 0;
var manKilled = false;
var manPassed = 0;
var positionsLeft = [220];
var positionsRight = [180];
var positionsDown = [490];
var positionsUp = [450];
var manPosLeft = [350];
var manPosRight = [350];
var manLeftStops = [420];
var manRightStops = [520];
var lastCar = 0;
var manAmount = 0;
var stoped = false;
var rightLight = [135];
var leftLight = [445];
var downLight = [35];
var upLight = [335];
var horJam = 0;
var vertJam = 0;
var peopleLeft = 42;
var timeMinutes = 0;
var timeSeconds = 39;
var timeMiliseconds = 60;
stopAllSounds();
city.start(0, 100);
var music = new Sound(this.createEmptyMovieClip("backgroundMusic", this.getNextHighestDepth()));
music.attachSound("Music2");
music.start(0, 1000);
Frame 25
timerCar++;
timerVertCar++;
timerMan++;
timerMan2++;
if ((timerVertCar > ((100 * appearence) + random(100))) && (stoped != true)) {
timerVertCar = 0;
attachCarRight();
attachCarLeft();
}
if ((timerCar > ((100 * appearence) + random(150))) && (stoped != true)) {
timerCar = 0;
attachCarUp();
attachCarDown();
}
if ((timerMan > (70 + random(100))) && (stoped != true)) {
timerMan = 0;
attachManHor();
}
if (stoped != true) {
timeMiliseconds = timeMiliseconds - 0.025;
if (timeSeconds <= 0) {
timeSeconds = 60;
timeMinutes = timeMinutes - 1;
}
if (timeMiliseconds <= 0) {
timeMiliseconds = 60;
timeSeconds = timeSeconds - 1;
} else {
timeMiliseconds = timeMiliseconds - 1.5;
}
miliseconds = Math.round(timeMiliseconds);
if (miliseconds < 10) {
miliseconds = "0" + miliseconds;
}
if (timeSeconds < 10) {
seconds = "0" + timeSeconds;
} else {
seconds = timeSeconds;
}
levelTimer = (((timeMinutes + ":") + seconds) + ":") + miliseconds;
}
if (timeMinutes < 0) {
stoped = true;
gameStatus = "outOfTime";
gotoAndStop ("endOfLevel6");
levelTimer = "00:00:00";
}
if (peopleLeft <= 0) {
stoped = true;
gameStatus = "winLevel";
gotoAndStop ("endOfLevel6");
}
if (carsCrashed == true) {
stoped = true;
gotoAndStop ("endOfLevel6");
}
if (timerJam > timerJamTime) {
stoped = true;
gotoAndStop ("endOfLevel6");
}
Instance of Symbol 244 MovieClip "Lights2" in Frame 25
onClipEvent (load) {
gotoAndPlay (2);
var timeForLights = 0.01;
}
on (press) {
if (_root.stoped != true) {
_root.lights.start();
if (pressed != true) {
pressed = true;
gotoAndStop (1);
} else {
pressed = false;
gotoAndStop (2);
}
}
}
Instance of Symbol 244 MovieClip "Lights3" in Frame 25
onClipEvent (load) {
var timeForLights = 0.01;
}
on (press) {
if (_root.stoped != true) {
_root.lights.start();
if (pressed != true) {
pressed = true;
gotoAndStop (2);
} else {
pressed = false;
gotoAndStop (1);
}
}
}
Instance of Symbol 244 MovieClip "Lights4" in Frame 25
onClipEvent (load) {
gotoAndPlay (2);
var timeForLights = 0.01;
}
on (press) {
if (_root.stoped != true) {
_root.lights.start();
if (pressed != true) {
pressed = true;
gotoAndStop (1);
} else {
pressed = false;
gotoAndStop (2);
}
}
}
Instance of Symbol 244 MovieClip "Lights1" in Frame 25
onClipEvent (load) {
var timeForLights = 0.01;
}
on (press) {
if (_root.stoped != true) {
_root.lights.start();
if (pressed != true) {
pressed = true;
gotoAndStop (2);
} else {
pressed = false;
gotoAndStop (1);
}
}
}
Frame 26
gotoAndPlay ("loop6");
Frame 27
stop();
if ((gameStatus == "winLevel") && (manKilled != true)) {
attachMovie("Win", "Win", this.getNextHighestDepth(), {_x:240, _y:42, nextLevel:"level7"});
saving.data.level7 = true;
}
if (((gameStatus == "outOfTime") && (manKilled != true)) && (gameStatus != "winLevel")) {
attachMovie("Death", "Death", this.getNextHighestDepth(), {_x:0, _y:0, currentLevel:"level6"});
}
if (((carsCrashed == true) && (manKilled != true)) && (gameStatus != "winLevel")) {
attachMovie("Death", "Death", this.getNextHighestDepth(), {_x:0, _y:0, currentLevel:"level6"});
}
if (((timerJam > timerJamTime) && (manKilled != true)) && (gameStatus != "winLevel")) {
attachMovie("Death", "Death", this.getNextHighestDepth(), {_x:0, _y:0, currentLevel:"level6"});
}
if (carsCrashed == true) {
crash.start();
stear.start();
}
music.stop();
Frame 28
for (i in _root) {
if (typeof(_root[i]) == "movieclip") {
removeMovieClip(_root[i]);
}
}
var timerJamTime = 14;
var durArray = ["Left", "Right", "Up", "Down"];
var trailsDepth = 800;
var carsDepth = 10000;
var singleLight = false;
var timerJam = 0;
var carsCrashed = false;
var gameStatus = "start";
var iCar = 0;
var iMan = 0;
var timerCar = 0;
var timerVertCar = 0;
var timerMan = 0;
var timerMan2 = 0;
var manKilled = false;
var manPassed = 0;
var positionsLeft = [185];
var positionsRight = [145];
var positionsDown = [220, 590];
var positionsUp = [405];
var manPosLeft = [315];
var manPosRight = [315];
var manLeftStops = [190, 380, 560];
var manRightStops = [250, 440, 620];
var lastCar = 0;
var manAmount = 0;
var stoped = false;
var rightLight = [135];
var leftLight = [445];
var downLight = [35];
var upLight = [335];
var horJam = 0;
var vertJam = 0;
var peopleLeft = 16;
var timeMinutes = 0;
var timeSeconds = 42;
var timeMiliseconds = 60;
stopAllSounds();
city.start(0, 100);
var music = new Sound(this.createEmptyMovieClip("backgroundMusic", this.getNextHighestDepth()));
music.attachSound("Music");
music.start(0, 1000);
Frame 29
timerCar++;
timerVertCar++;
timerMan++;
timerMan2++;
if ((timerVertCar > ((60 * appearence) + random(100))) && (stoped != true)) {
timerVertCar = 0;
attachCarRight();
attachCarLeft();
}
if ((timerCar > ((110 * appearence) + random(150))) && (stoped != true)) {
timerCar = 0;
attachCarUp();
attachCarDown();
}
if ((timerMan > (40 + random(100))) && (stoped != true)) {
timerMan = 0;
attachManHor();
}
if (stoped != true) {
timeMiliseconds = timeMiliseconds - 0.025;
if (timeSeconds <= 0) {
timeSeconds = 60;
timeMinutes = timeMinutes - 1;
}
if (timeMiliseconds <= 0) {
timeMiliseconds = 60;
timeSeconds = timeSeconds - 1;
} else {
timeMiliseconds = timeMiliseconds - 1.5;
}
miliseconds = Math.round(timeMiliseconds);
if (miliseconds < 10) {
miliseconds = "0" + miliseconds;
}
if (timeSeconds < 10) {
seconds = "0" + timeSeconds;
} else {
seconds = timeSeconds;
}
levelTimer = (((timeMinutes + ":") + seconds) + ":") + miliseconds;
}
if (timeMinutes < 0) {
stoped = true;
gameStatus = "outOfTime";
gotoAndStop ("endOfLevel7");
levelTimer = "00:00:00";
}
if (peopleLeft <= 0) {
stoped = true;
gameStatus = "winLevel";
gotoAndStop ("endOfLevel7");
}
if (carsCrashed == true) {
stoped = true;
gotoAndStop ("endOfLevel7");
}
if (timerJam > timerJamTime) {
stoped = true;
gotoAndStop ("endOfLevel7");
}
Instance of Symbol 244 MovieClip "Lights3" in Frame 29
onClipEvent (load) {
gotoAndPlay (2);
var timeForLights = 0.01;
}
on (press) {
if (_root.stoped != true) {
_root.lights.start();
if (pressed != true) {
pressed = true;
gotoAndStop (1);
} else {
pressed = false;
gotoAndStop (2);
}
}
}
Instance of Symbol 244 MovieClip "Lights2" in Frame 29
onClipEvent (load) {
gotoAndPlay (2);
var timeForLights = 0.01;
}
on (press) {
if (_root.stoped != true) {
_root.lights.start();
if (pressed != true) {
pressed = true;
gotoAndStop (1);
} else {
pressed = false;
gotoAndStop (2);
}
}
}
Instance of Symbol 244 MovieClip "Lights1" in Frame 29
onClipEvent (load) {
gotoAndPlay (2);
var timeForLights = 0.01;
}
on (press) {
if (_root.stoped != true) {
_root.lights.start();
if (pressed != true) {
pressed = true;
gotoAndStop (1);
} else {
pressed = false;
gotoAndStop (2);
}
}
}
Frame 30
gotoAndPlay ("loop7");
Frame 31
stop();
if ((gameStatus == "winLevel") && (manKilled != true)) {
attachMovie("Win", "Win", this.getNextHighestDepth(), {_x:240, _y:42, nextLevel:"level8"});
saving.data.level8 = true;
}
if (((gameStatus == "outOfTime") && (manKilled != true)) && (gameStatus != "winLevel")) {
attachMovie("Death", "Death", this.getNextHighestDepth(), {_x:0, _y:0, currentLevel:"level7"});
}
if (((carsCrashed == true) && (manKilled != true)) && (gameStatus != "winLevel")) {
attachMovie("Death", "Death", this.getNextHighestDepth(), {_x:0, _y:0, currentLevel:"level7"});
}
if (((timerJam > timerJamTime) && (manKilled != true)) && (gameStatus != "winLevel")) {
attachMovie("Death", "Death", this.getNextHighestDepth(), {_x:0, _y:0, currentLevel:"level7"});
}
if (carsCrashed == true) {
crash.start();
stear.start();
}
music.stop();
Frame 32
for (i in _root) {
if (typeof(_root[i]) == "movieclip") {
removeMovieClip(_root[i]);
}
}
var timerJamTime = 14;
var durArray = ["Left", "Right", "Up", "Down"];
var trailsDepth = 800;
var carsDepth = 10000;
var singleLight = false;
var timerJam = 0;
var carsCrashed = false;
var gameStatus = "start";
var iCar = 0;
var iMan = 0;
var timerCar = 0;
var timerVertCar = 0;
var timerMan = 0;
var timerMan2 = 0;
var manKilled = false;
var manPassed = 0;
var positionsRight = [165];
var positionsDown = [430];
var positionsUp = [390];
var manPosLeft = [320];
var manPosRight = [320];
var manLeftStops = [350];
var manRightStops = [460];
var lastCar = 0;
var manAmount = 0;
var stoped = false;
var rightLight = [135];
var leftLight = [445];
var downLight = [35];
var upLight = [335];
var horJam = 0;
var vertJam = 0;
var peopleLeft = 12;
var timeMinutes = 0;
var timeSeconds = 42;
var timeMiliseconds = 60;
stopAllSounds();
city.start(0, 100);
var music = new Sound(this.createEmptyMovieClip("backgroundMusic", this.getNextHighestDepth()));
music.attachSound("Music2");
music.start(0, 1000);
Frame 33
timerCar++;
timerVertCar++;
timerMan++;
timerMan2++;
if ((timerVertCar > ((50 * appearence) + random(100))) && (stoped != true)) {
timerVertCar = 0;
attachCarRight();
}
if ((timerCar > ((100 * appearence) + random(150))) && (stoped != true)) {
timerCar = 0;
attachCarUp();
attachCarDown();
}
if ((timerMan > (70 + random(100))) && (stoped != true)) {
timerMan = 0;
attachManHor();
}
if (stoped != true) {
timeMiliseconds = timeMiliseconds - 0.025;
if (timeSeconds <= 0) {
timeSeconds = 60;
timeMinutes = timeMinutes - 1;
}
if (timeMiliseconds <= 0) {
timeMiliseconds = 60;
timeSeconds = timeSeconds - 1;
} else {
timeMiliseconds = timeMiliseconds - 1.5;
}
miliseconds = Math.round(timeMiliseconds);
if (miliseconds < 10) {
miliseconds = "0" + miliseconds;
}
if (timeSeconds < 10) {
seconds = "0" + timeSeconds;
} else {
seconds = timeSeconds;
}
levelTimer = (((timeMinutes + ":") + seconds) + ":") + miliseconds;
}
if (timeMinutes < 0) {
stoped = true;
gameStatus = "outOfTime";
gotoAndStop ("endOfLevel8");
levelTimer = "00:00:00";
}
if (peopleLeft <= 0) {
stoped = true;
gameStatus = "winLevel";
gotoAndStop ("endOfLevel8");
}
if (carsCrashed == true) {
stoped = true;
gotoAndStop ("endOfLevel8");
}
if (timerJam > timerJamTime) {
stoped = true;
gotoAndStop ("endOfLevel8");
}
Instance of Symbol 244 MovieClip "Lights2" in Frame 33
onClipEvent (load) {
gotoAndPlay (2);
var timeForLights = 0.01;
}
on (press) {
if (_root.stoped != true) {
_root.lights.start();
if (pressed != true) {
pressed = true;
gotoAndStop (1);
} else {
pressed = false;
gotoAndStop (2);
}
}
}
Instance of Symbol 244 MovieClip "Lights1" in Frame 33
onClipEvent (load) {
gotoAndPlay (2);
var timeForLights = 0.01;
}
on (press) {
if (_root.stoped != true) {
_root.lights.start();
if (pressed != true) {
pressed = true;
gotoAndStop (1);
} else {
pressed = false;
gotoAndStop (2);
}
}
}
Frame 34
gotoAndPlay ("loop8");
Frame 35
stop();
if ((gameStatus == "winLevel") && (manKilled != true)) {
attachMovie("Win", "Win", this.getNextHighestDepth(), {_x:240, _y:42, nextLevel:"level9"});
saving.data.level9 = true;
}
if (((gameStatus == "outOfTime") && (manKilled != true)) && (gameStatus != "winLevel")) {
attachMovie("Death", "Death", this.getNextHighestDepth(), {_x:0, _y:0, currentLevel:"level8"});
}
if (((carsCrashed == true) && (manKilled != true)) && (gameStatus != "winLevel")) {
attachMovie("Death", "Death", this.getNextHighestDepth(), {_x:0, _y:0, currentLevel:"level8"});
}
if (((timerJam > timerJamTime) && (manKilled != true)) && (gameStatus != "winLevel")) {
attachMovie("Death", "Death", this.getNextHighestDepth(), {_x:0, _y:0, currentLevel:"level8"});
}
if (carsCrashed == true) {
crash.start();
stear.start();
}
music.stop();
Frame 36
for (i in _root) {
if (typeof(_root[i]) == "movieclip") {
removeMovieClip(_root[i]);
}
}
var timerJamTime = 14;
var durArray = ["Left", "Right", "Up", "Down"];
var trailsDepth = 800;
var carsDepth = 10000;
var singleLight = false;
var timerJam = 0;
var carsCrashed = false;
var gameStatus = "start";
var iCar = 0;
var iMan = 0;
var timerCar = 0;
var timerVertCar = 0;
var timerMan = 0;
var timerMan2 = 0;
var manKilled = false;
var manPassed = 0;
var positionsLeft = [260];
var positionsRight = [220];
var positionsDown = [590];
var positionsUp = [210, 550];
var manPosUp = [365];
var manPosDown = [365];
var manPosLeft = [105];
var manPosRight = [105];
var manUpStops = [190];
var manDownStops = [290];
var manLeftStops = [180, 515];
var manRightStops = [240, 620];
var lastCar = 0;
var manAmount = 0;
var stoped = false;
var rightLight = [135];
var leftLight = [445];
var downLight = [35];
var upLight = [335];
var horJam = 0;
var vertJam = 0;
var peopleLeft = 10;
var timeMinutes = 0;
var timeSeconds = 42;
var timeMiliseconds = 60;
stopAllSounds();
city.start(0, 100);
var music = new Sound(this.createEmptyMovieClip("backgroundMusic", this.getNextHighestDepth()));
music.attachSound("Music");
music.start(0, 1000);
Frame 37
timerCar++;
timerVertCar++;
timerMan++;
timerMan2++;
if ((timerVertCar > ((90 * appearence) + random(100))) && (stoped != true)) {
timerVertCar = 0;
attachCarRight();
attachCarLeft();
}
if ((timerCar > ((110 * appearence) + random(150))) && (stoped != true)) {
timerCar = 0;
attachCarUp();
attachCarDown();
}
if ((timerMan > (70 + random(100))) && (stoped != true)) {
timerMan = 0;
attachManHor();
attachManVert();
}
if (stoped != true) {
timeMiliseconds = timeMiliseconds - 0.025;
if (timeSeconds <= 0) {
timeSeconds = 60;
timeMinutes = timeMinutes - 1;
}
if (timeMiliseconds <= 0) {
timeMiliseconds = 60;
timeSeconds = timeSeconds - 1;
} else {
timeMiliseconds = timeMiliseconds - 1.5;
}
miliseconds = Math.round(timeMiliseconds);
if (miliseconds < 10) {
miliseconds = "0" + miliseconds;
}
if (timeSeconds < 10) {
seconds = "0" + timeSeconds;
} else {
seconds = timeSeconds;
}
levelTimer = (((timeMinutes + ":") + seconds) + ":") + miliseconds;
}
if (timeMinutes < 0) {
stoped = true;
gameStatus = "outOfTime";
gotoAndStop ("endOfLevel9");
levelTimer = "00:00:00";
}
if (peopleLeft <= 0) {
stoped = true;
gameStatus = "winLevel";
gotoAndStop ("endOfLevel9");
}
if (carsCrashed == true) {
stoped = true;
gotoAndStop ("endOfLevel9");
}
if (timerJam > timerJamTime) {
stoped = true;
gotoAndStop ("endOfLevel9");
}
Instance of Symbol 244 MovieClip "Lights2" in Frame 37
onClipEvent (load) {
gotoAndPlay (2);
var timeForLights = 0.01;
}
on (press) {
if (_root.stoped != true) {
_root.lights.start();
if (pressed != true) {
pressed = true;
gotoAndStop (1);
} else {
pressed = false;
gotoAndStop (2);
}
}
}
Instance of Symbol 244 MovieClip "Lights1" in Frame 37
onClipEvent (load) {
gotoAndPlay (2);
var timeForLights = 0.01;
}
on (press) {
if (_root.stoped != true) {
_root.lights.start();
if (pressed != true) {
pressed = true;
gotoAndStop (1);
} else {
pressed = false;
gotoAndStop (2);
}
}
}
Instance of Symbol 244 MovieClip "Lights3" in Frame 37
onClipEvent (load) {
gotoAndPlay (2);
var timeForLights = 0.01;
}
on (press) {
if (_root.stoped != true) {
_root.lights.start();
if (pressed != true) {
pressed = true;
gotoAndStop (1);
} else {
pressed = false;
gotoAndStop (2);
}
}
}
Frame 38
gotoAndPlay ("loop9");
Frame 39
stop();
if ((gameStatus == "winLevel") && (manKilled != true)) {
attachMovie("Win", "Win", this.getNextHighestDepth(), {_x:240, _y:42, nextLevel:"level10"});
saving.data.level10 = true;
}
if (((gameStatus == "outOfTime") && (manKilled != true)) && (gameStatus != "winLevel")) {
attachMovie("Death", "Death", this.getNextHighestDepth(), {_x:0, _y:0, currentLevel:"level9"});
}
if (((carsCrashed == true) && (manKilled != true)) && (gameStatus != "winLevel")) {
attachMovie("Death", "Death", this.getNextHighestDepth(), {_x:0, _y:0, currentLevel:"level9"});
}
if (((timerJam > timerJamTime) && (manKilled != true)) && (gameStatus != "winLevel")) {
attachMovie("Death", "Death", this.getNextHighestDepth(), {_x:0, _y:0, currentLevel:"level9"});
}
if (carsCrashed == true) {
crash.start();
stear.start();
}
music.stop();
Frame 40
for (i in _root) {
if (typeof(_root[i]) == "movieclip") {
removeMovieClip(_root[i]);
}
}
var timerJamTime = 14;
var durArray = ["Left", "Right", "Up", "Down"];
var trailsDepth = 800;
var carsDepth = 10000;
var singleLight = false;
var timerJam = 0;
var carsCrashed = false;
var gameStatus = "start";
var iCar = 0;
var iMan = 0;
var timerCar = 0;
var timerVertCar = 0;
var timerMan = 0;
var timerMan2 = 0;
var manKilled = false;
var manPassed = 0;
var positionsRight = [170];
var positionsDown = [510, 470];
var positionsUp = [285, 325];
var manPosUp = [375];
var manPosDown = [375];
var manPosLeft = [300];
var manPosRight = [300];
var manUpStops = [140];
var manDownStops = [200];
var manLeftStops = [260, 440];
var manRightStops = [540, 360];
var lastCar = 0;
var manAmount = 0;
var stoped = false;
var rightLight = [135];
var leftLight = [445];
var downLight = [35];
var upLight = [335];
var horJam = 0;
var vertJam = 0;
var peopleLeft = 17;
var timeMinutes = 0;
var timeSeconds = 42;
var timeMiliseconds = 60;
stopAllSounds();
city.start(0, 100);
var music = new Sound(this.createEmptyMovieClip("backgroundMusic", this.getNextHighestDepth()));
music.attachSound("Music2");
music.start(0, 1000);
Frame 41
timerCar++;
timerVertCar++;
timerMan++;
timerMan2++;
if ((timerVertCar > ((30 * appearence) + random(60))) && (stoped != true)) {
timerVertCar = 0;
attachCarRight();
}
if ((timerCar > ((110 * appearence) + random(150))) && (stoped != true)) {
timerCar = 0;
attachCarUp();
attachCarDown();
}
if ((timerMan > (70 + random(100))) && (stoped != true)) {
timerMan = 0;
attachManHor();
attachManVert();
}
if (stoped != true) {
timeMiliseconds = timeMiliseconds - 0.025;
if (timeSeconds <= 0) {
timeSeconds = 60;
timeMinutes = timeMinutes - 1;
}
if (timeMiliseconds <= 0) {
timeMiliseconds = 60;
timeSeconds = timeSeconds - 1;
} else {
timeMiliseconds = timeMiliseconds - 1.5;
}
miliseconds = Math.round(timeMiliseconds);
if (miliseconds < 10) {
miliseconds = "0" + miliseconds;
}
if (timeSeconds < 10) {
seconds = "0" + timeSeconds;
} else {
seconds = timeSeconds;
}
levelTimer = (((timeMinutes + ":") + seconds) + ":") + miliseconds;
}
if (timeMinutes < 0) {
stoped = true;
gameStatus = "outOfTime";
gotoAndStop ("endOfLevel10");
levelTimer = "00:00:00";
}
if (peopleLeft <= 0) {
stoped = true;
gameStatus = "winLevel";
gotoAndStop ("endOfLevel10");
}
if (carsCrashed == true) {
stoped = true;
gotoAndStop ("endOfLevel10");
}
if (timerJam > timerJamTime) {
stoped = true;
gotoAndStop ("endOfLevel10");
}
Instance of Symbol 244 MovieClip "Lights2" in Frame 41
onClipEvent (load) {
gotoAndPlay (2);
var timeForLights = 0.01;
}
on (press) {
if (_root.stoped != true) {
_root.lights.start();
if (pressed != true) {
pressed = true;
gotoAndStop (1);
} else {
pressed = false;
gotoAndStop (2);
}
}
}
Instance of Symbol 244 MovieClip "Lights1" in Frame 41
onClipEvent (load) {
gotoAndPlay (2);
var timeForLights = 0.01;
}
on (press) {
if (_root.stoped != true) {
_root.lights.start();
if (pressed != true) {
pressed = true;
gotoAndStop (1);
} else {
pressed = false;
gotoAndStop (2);
}
}
}
Frame 42
gotoAndPlay ("loop10");
Frame 43
stop();
if ((gameStatus == "winLevel") && (manKilled != true)) {
attachMovie("Win", "Win", this.getNextHighestDepth(), {_x:240, _y:42, nextLevel:"level11"});
saving.data.level11 = true;
}
if (((gameStatus == "outOfTime") && (manKilled != true)) && (gameStatus != "winLevel")) {
attachMovie("Death", "Death", this.getNextHighestDepth(), {_x:0, _y:0, currentLevel:"level10"});
}
if (((carsCrashed == true) && (manKilled != true)) && (gameStatus != "winLevel")) {
attachMovie("Death", "Death", this.getNextHighestDepth(), {_x:0, _y:0, currentLevel:"level10"});
}
if (((timerJam > timerJamTime) && (manKilled != true)) && (gameStatus != "winLevel")) {
attachMovie("Death", "Death", this.getNextHighestDepth(), {_x:0, _y:0, currentLevel:"level10"});
}
if (carsCrashed == true) {
crash.start();
stear.start();
}
music.stop();
Frame 44
for (i in _root) {
if (typeof(_root[i]) == "movieclip") {
removeMovieClip(_root[i]);
}
}
var timerJamTime = 14;
var durArray = ["Left", "Right", "Up", "Down"];
var trailsDepth = 800;
var carsDepth = 10000;
var singleLight = false;
var timerJam = 0;
var carsCrashed = false;
var gameStatus = "start";
var iCar = 0;
var iMan = 0;
var timerCar = 0;
var timerVertCar = 0;
var timerMan = 0;
var timerMan2 = 0;
var manKilled = false;
var manPassed = 0;
var positionsRight = [135, 280];
var positionsLeft = [320];
var positionsDown = [580];
var positionsUp = [225];
var manPosUp = [380];
var manPosDown = [380];
var manPosLeft = [170];
var manPosRight = [170];
var manUpStops = [110];
var manDownStops = [300];
var manLeftStops = [200, 550];
var manRightStops = [250, 610];
var lastCar = 0;
var manAmount = 0;
var stoped = false;
var rightLight = [135];
var leftLight = [445];
var downLight = [35];
var upLight = [335];
var horJam = 0;
var vertJam = 0;
var peopleLeft = 11;
var timeMinutes = 0;
var timeSeconds = 42;
var timeMiliseconds = 60;
stopAllSounds();
city.start(0, 100);
var music = new Sound(this.createEmptyMovieClip("backgroundMusic", this.getNextHighestDepth()));
music.attachSound("Music");
music.start(0, 1000);
Frame 45
timerCar++;
timerVertCar++;
timerMan++;
timerMan2++;
if ((timerVertCar > ((100 * appearence) + random(60))) && (stoped != true)) {
timerVertCar = 0;
attachCarRight();
attachCarLeft();
}
if ((timerCar > ((150 * appearence) + random(150))) && (stoped != true)) {
timerCar = 0;
attachCarUp();
attachCarDown();
}
if ((timerMan > (70 + random(100))) && (stoped != true)) {
timerMan = 0;
attachManHor();
attachManVert();
}
if (stoped != true) {
timeMiliseconds = timeMiliseconds - 0.025;
if (timeSeconds <= 0) {
timeSeconds = 60;
timeMinutes = timeMinutes - 1;
}
if (timeMiliseconds <= 0) {
timeMiliseconds = 60;
timeSeconds = timeSeconds - 1;
} else {
timeMiliseconds = timeMiliseconds - 1.5;
}
miliseconds = Math.round(timeMiliseconds);
if (miliseconds < 10) {
miliseconds = "0" + miliseconds;
}
if (timeSeconds < 10) {
seconds = "0" + timeSeconds;
} else {
seconds = timeSeconds;
}
levelTimer = (((timeMinutes + ":") + seconds) + ":") + miliseconds;
}
if (timeMinutes < 0) {
stoped = true;
gameStatus = "outOfTime";
gotoAndStop ("endOfLevel11");
levelTimer = "00:00:00";
}
if (peopleLeft <= 0) {
stoped = true;
gameStatus = "winLevel";
gotoAndStop ("endOfLevel11");
}
if (carsCrashed == true) {
stoped = true;
gotoAndStop ("endOfLevel11");
}
if (timerJam > timerJamTime) {
stoped = true;
gotoAndStop ("endOfLevel11");
}
Instance of Symbol 244 MovieClip "Lights2" in Frame 45
onClipEvent (load) {
gotoAndPlay (2);
var timeForLights = 0.01;
}
on (press) {
if (_root.stoped != true) {
_root.lights.start();
if (pressed != true) {
pressed = true;
gotoAndStop (1);
} else {
pressed = false;
gotoAndStop (2);
}
}
}
Instance of Symbol 244 MovieClip "Lights1" in Frame 45
onClipEvent (load) {
gotoAndPlay (2);
var timeForLights = 0.01;
}
on (press) {
if (_root.stoped != true) {
_root.lights.start();
if (pressed != true) {
pressed = true;
gotoAndStop (1);
} else {
pressed = false;
gotoAndStop (2);
}
}
}
Frame 46
gotoAndPlay ("loop11");
Frame 47
stop();
if ((gameStatus == "winLevel") && (manKilled != true)) {
attachMovie("Win", "Win", this.getNextHighestDepth(), {_x:240, _y:42, nextLevel:"level12"});
saving.data.level12 = true;
}
if (((gameStatus == "outOfTime") && (manKilled != true)) && (gameStatus != "winLevel")) {
attachMovie("Death", "Death", this.getNextHighestDepth(), {_x:0, _y:0, currentLevel:"level11"});
}
if (((carsCrashed == true) && (manKilled != true)) && (gameStatus != "winLevel")) {
attachMovie("Death", "Death", this.getNextHighestDepth(), {_x:0, _y:0, currentLevel:"level11"});
}
if (((timerJam > timerJamTime) && (manKilled != true)) && (gameStatus != "winLevel")) {
attachMovie("Death", "Death", this.getNextHighestDepth(), {_x:0, _y:0, currentLevel:"level11"});
}
if (carsCrashed == true) {
crash.start();
stear.start();
}
music.stop();
Frame 48
for (i in _root) {
if (typeof(_root[i]) == "movieclip") {
removeMovieClip(_root[i]);
}
}
var timerJamTime = 5;
var durArray = ["Left", "Right", "Up", "Down"];
var trailsDepth = 800;
var carsDepth = 10000;
var singleLight = false;
var timerJam = 0;
var carsCrashed = false;
var gameStatus = "start";
var iCar = 0;
var iMan = 0;
var timerCar = 0;
var timerVertCar = 0;
var timerMan = 0;
var timerMan2 = 0;
var manKilled = false;
var manPassed = 0;
var positionsLeft = [];
var positionsRight = [145];
var positionsDown = [375, 415];
var positionsUp = [];
var manPosUp = [270, 450];
var manPosDown = [270, 450];
var manPosLeft = [290];
var manPosRight = [290];
var manUpStops = [];
var manDownStops = [];
var manLeftStops = [345];
var manRightStops = [445];
var lastCar = 0;
var manAmount = 0;
var stoped = false;
var rightLight = [135];
var leftLight = [445];
var downLight = [35];
var upLight = [335];
var horJam = 0;
var vertJam = 0;
var peopleLeft = 60;
var timeMinutes = 1;
var timeSeconds = 10;
var timeMiliseconds = 60;
stopAllSounds();
city.start(0, 100);
var music = new Sound(this.createEmptyMovieClip("backgroundMusic", this.getNextHighestDepth()));
music.attachSound("Music2");
music.start(0, 1000);
Frame 49
timerCar++;
timerVertCar++;
timerMan++;
timerMan2++;
if ((timerVertCar > ((90 * appearence) + random(60))) && (stoped != true)) {
timerVertCar = 0;
attachCarRight();
}
if ((timerCar > ((30 * appearence) + random(30))) && (stoped != true)) {
timerCar = 0;
attachCarDown();
}
if ((timerMan > (70 + random(100))) && (stoped != true)) {
timerMan = 0;
attachManHor();
attachManVert();
}
if (stoped != true) {
timeMiliseconds = timeMiliseconds - 0.025;
if (timeSeconds <= 0) {
timeSeconds = 60;
timeMinutes = timeMinutes - 1;
}
if (timeMiliseconds <= 0) {
timeMiliseconds = 60;
timeSeconds = timeSeconds - 1;
} else {
timeMiliseconds = timeMiliseconds - 1.5;
}
miliseconds = Math.round(timeMiliseconds);
if (miliseconds < 10) {
miliseconds = "0" + miliseconds;
}
if (timeSeconds < 10) {
seconds = "0" + timeSeconds;
} else {
seconds = timeSeconds;
}
levelTimer = (((timeMinutes + ":") + seconds) + ":") + miliseconds;
}
if (timeMinutes < 0) {
stoped = true;
gameStatus = "outOfTime";
gotoAndStop ("endOfLevel12");
levelTimer = "00:00:00";
}
if (peopleLeft <= 0) {
stoped = true;
gameStatus = "winLevel";
gotoAndStop ("endOfLevel12");
}
if (carsCrashed == true) {
stoped = true;
gotoAndStop ("endOfLevel12");
}
if (timerJam > timerJamTime) {
stoped = true;
gotoAndStop ("endOfLevel12");
}
Instance of Symbol 244 MovieClip "Lights1" in Frame 49
onClipEvent (load) {
gotoAndPlay (2);
var timeForLights = 0.01;
}
on (press) {
if (_root.stoped != true) {
_root.lights.start();
if (pressed != true) {
pressed = true;
gotoAndStop (1);
} else {
pressed = false;
gotoAndStop (2);
}
}
}
Frame 50
gotoAndPlay ("loop12");
Frame 51
stop();
if ((gameStatus == "winLevel") && (manKilled != true)) {
attachMovie("Win", "Win", this.getNextHighestDepth(), {_x:240, _y:42, nextLevel:"level13"});
saving.data.level13 = true;
}
if (((gameStatus == "outOfTime") && (manKilled != true)) && (gameStatus != "winLevel")) {
attachMovie("Death", "Death", this.getNextHighestDepth(), {_x:0, _y:0, currentLevel:"level12"});
}
if (((carsCrashed == true) && (manKilled != true)) && (gameStatus != "winLevel")) {
attachMovie("Death", "Death", this.getNextHighestDepth(), {_x:0, _y:0, currentLevel:"level12"});
}
if (((timerJam > timerJamTime) && (manKilled != true)) && (gameStatus != "winLevel")) {
attachMovie("Death", "Death", this.getNextHighestDepth(), {_x:0, _y:0, currentLevel:"level12"});
}
if (carsCrashed == true) {
crash.start();
stear.start();
}
music.stop();
Frame 52
for (i in _root) {
if (typeof(_root[i]) == "movieclip") {
removeMovieClip(_root[i]);
}
}
var timerJamTime = 14;
var durArray = ["Left", "Right", "Up", "Down"];
var trailsDepth = 800;
var carsDepth = 10000;
var singleLight = false;
var timerJam = 0;
var carsCrashed = false;
var gameStatus = "start";
var iCar = 0;
var iMan = 0;
var timerCar = 0;
var timerVertCar = 0;
var timerMan = 0;
var timerMan2 = 0;
var manKilled = false;
var manPassed = 0;
var positionsLeft = [];
var positionsRight = [220, 260];
var positionsDown = [300];
var positionsUp = [180, 665];
var manPosUp = [460];
var manPosDown = [460];
var manPosLeft = [];
var manPosRight = [];
var manUpStops = [190];
var manDownStops = [290];
var manLeftStops = [];
var manRightStops = [];
var lastCar = 0;
var manAmount = 0;
var stoped = false;
var rightLight = [135];
var leftLight = [445];
var downLight = [35];
var upLight = [335];
var horJam = 0;
var vertJam = 0;
var peopleLeft = 13;
var timeMinutes = 0;
var timeSeconds = 33;
var timeMiliseconds = 60;
stopAllSounds();
city.start(0, 100);
var music = new Sound(this.createEmptyMovieClip("backgroundMusic", this.getNextHighestDepth()));
music.attachSound("Music");
music.start(0, 1000);
Frame 53
timerCar++;
timerVertCar++;
timerMan++;
timerMan2++;
if ((timerVertCar > ((120 * appearence) + random(60))) && (stoped != true)) {
timerVertCar = 0;
attachCarRight();
}
if ((timerCar > ((100 * appearence) + random(100))) && (stoped != true)) {
timerCar = 0;
attachCarDown();
attachCarUp();
}
if ((timerMan > (70 + random(100))) && (stoped != true)) {
timerMan = 0;
attachManVert();
}
if (stoped != true) {
timeMiliseconds = timeMiliseconds - 0.025;
if (timeSeconds <= 0) {
timeSeconds = 60;
timeMinutes = timeMinutes - 1;
}
if (timeMiliseconds <= 0) {
timeMiliseconds = 60;
timeSeconds = timeSeconds - 1;
} else {
timeMiliseconds = timeMiliseconds - 1.5;
}
miliseconds = Math.round(timeMiliseconds);
if (miliseconds < 10) {
miliseconds = "0" + miliseconds;
}
if (timeSeconds < 10) {
seconds = "0" + timeSeconds;
} else {
seconds = timeSeconds;
}
levelTimer = (((timeMinutes + ":") + seconds) + ":") + miliseconds;
}
if (timeMinutes < 0) {
stoped = true;
gameStatus = "outOfTime";
gotoAndStop ("endOfLevel13");
levelTimer = "00:00:00";
}
if (peopleLeft <= 0) {
stoped = true;
gameStatus = "winLevel";
gotoAndStop ("endOfLevel13");
}
if (carsCrashed == true) {
stoped = true;
gotoAndStop ("endOfLevel13");
}
if (timerJam > timerJamTime) {
stoped = true;
gotoAndStop ("endOfLevel13");
}
Instance of Symbol 244 MovieClip "Lights1" in Frame 53
onClipEvent (load) {
gotoAndPlay (2);
var timeForLights = 0.01;
}
on (press) {
if (_root.stoped != true) {
_root.lights.start();
if (pressed != true) {
pressed = true;
gotoAndStop (1);
} else {
pressed = false;
gotoAndStop (2);
}
}
}
Instance of Symbol 244 MovieClip "Lights2" in Frame 53
onClipEvent (load) {
gotoAndPlay (2);
var timeForLights = 0.01;
}
on (press) {
if (_root.stoped != true) {
_root.lights.start();
if (pressed != true) {
pressed = true;
gotoAndStop (1);
} else {
pressed = false;
gotoAndStop (2);
}
}
}
Frame 54
gotoAndPlay ("loop13");
Frame 55
stop();
if ((gameStatus == "winLevel") && (manKilled != true)) {
attachMovie("Win", "Win", this.getNextHighestDepth(), {_x:240, _y:42, nextLevel:"level14"});
saving.data.level14 = true;
}
if (((gameStatus == "outOfTime") && (manKilled != true)) && (gameStatus != "winLevel")) {
attachMovie("Death", "Death", this.getNextHighestDepth(), {_x:0, _y:0, currentLevel:"level13"});
}
if (((carsCrashed == true) && (manKilled != true)) && (gameStatus != "winLevel")) {
attachMovie("Death", "Death", this.getNextHighestDepth(), {_x:0, _y:0, currentLevel:"level13"});
}
if (((timerJam > timerJamTime) && (manKilled != true)) && (gameStatus != "winLevel")) {
attachMovie("Death", "Death", this.getNextHighestDepth(), {_x:0, _y:0, currentLevel:"level13"});
}
if (carsCrashed == true) {
crash.start();
stear.start();
}
music.stop();
Frame 56
for (i in _root) {
if (typeof(_root[i]) == "movieclip") {
removeMovieClip(_root[i]);
}
}
var timerJamTime = 14;
var durArray = ["Left", "Right", "Up", "Down"];
var trailsDepth = 800;
var carsDepth = 10000;
var singleLight = false;
var timerJam = 0;
var carsCrashed = false;
var gameStatus = "start";
var iCar = 0;
var iMan = 0;
var timerCar = 0;
var timerVertCar = 0;
var timerMan = 0;
var timerMan2 = 0;
var manKilled = false;
var manPassed = 0;
var positionsLeft = [];
var positionsRight = [120];
var positionsDown = [590, 630];
var positionsUp = [230, 270];
var manPosUp = [];
var manPosDown = [];
var manPosLeft = [250];
var manPosRight = [250];
var manUpStops = [];
var manDownStops = [];
var manLeftStops = [200, 550];
var manRightStops = [300, 660];
var lastCar = 0;
var manAmount = 0;
var stoped = false;
var rightLight = [135];
var leftLight = [445];
var downLight = [35];
var upLight = [335];
var horJam = 0;
var vertJam = 0;
var peopleLeft = 27;
var timeMinutes = 0;
var timeSeconds = 41;
var timeMiliseconds = 60;
stopAllSounds();
city.start(0, 100);
var music = new Sound(this.createEmptyMovieClip("backgroundMusic", this.getNextHighestDepth()));
music.attachSound("Music2");
music.start(0, 1000);
Frame 57
timerCar++;
timerVertCar++;
timerMan++;
timerMan2++;
if ((timerVertCar > ((120 * appearence) + random(60))) && (stoped != true)) {
timerVertCar = 0;
attachCarRight();
}
if ((timerCar > ((60 * appearence) + random(30))) && (stoped != true)) {
timerCar = 0;
attachCarDown();
attachCarUp();
}
if ((timerMan > (70 + random(100))) && (stoped != true)) {
timerMan = 0;
attachManHor();
}
if (stoped != true) {
timeMiliseconds = timeMiliseconds - 0.025;
if (timeSeconds <= 0) {
timeSeconds = 60;
timeMinutes = timeMinutes - 1;
}
if (timeMiliseconds <= 0) {
timeMiliseconds = 60;
timeSeconds = timeSeconds - 1;
} else {
timeMiliseconds = timeMiliseconds - 1.5;
}
miliseconds = Math.round(timeMiliseconds);
if (miliseconds < 10) {
miliseconds = "0" + miliseconds;
}
if (timeSeconds < 10) {
seconds = "0" + timeSeconds;
} else {
seconds = timeSeconds;
}
levelTimer = (((timeMinutes + ":") + seconds) + ":") + miliseconds;
}
if (timeMinutes < 0) {
stoped = true;
gameStatus = "outOfTime";
gotoAndStop ("endOfLevel14");
levelTimer = "00:00:00";
}
if (peopleLeft <= 0) {
stoped = true;
gameStatus = "winLevel";
gotoAndStop ("endOfLevel14");
}
if (carsCrashed == true) {
stoped = true;
gotoAndStop ("endOfLevel14");
}
if (timerJam > timerJamTime) {
stoped = true;
gotoAndStop ("endOfLevel14");
}
Instance of Symbol 244 MovieClip "Lights1" in Frame 57
onClipEvent (load) {
gotoAndPlay (2);
var timeForLights = 0.01;
}
on (press) {
if (_root.stoped != true) {
_root.lights.start();
if (pressed != true) {
pressed = true;
gotoAndStop (1);
} else {
pressed = false;
gotoAndStop (2);
}
}
}
Instance of Symbol 244 MovieClip "Lights2" in Frame 57
onClipEvent (load) {
gotoAndPlay (2);
var timeForLights = 0.01;
}
on (press) {
if (_root.stoped != true) {
_root.lights.start();
if (pressed != true) {
pressed = true;
gotoAndStop (1);
} else {
pressed = false;
gotoAndStop (2);
}
}
}
Frame 58
gotoAndPlay ("loop14");
Frame 59
stop();
if ((gameStatus == "winLevel") && (manKilled != true)) {
attachMovie("Win", "Win", this.getNextHighestDepth(), {_x:240, _y:42, nextLevel:"level15"});
saving.data.level15 = true;
}
if (((gameStatus == "outOfTime") && (manKilled != true)) && (gameStatus != "winLevel")) {
attachMovie("Death", "Death", this.getNextHighestDepth(), {_x:0, _y:0, currentLevel:"level14"});
}
if (((carsCrashed == true) && (manKilled != true)) && (gameStatus != "winLevel")) {
attachMovie("Death", "Death", this.getNextHighestDepth(), {_x:0, _y:0, currentLevel:"level14"});
}
if (((timerJam > timerJamTime) && (manKilled != true)) && (gameStatus != "winLevel")) {
attachMovie("Death", "Death", this.getNextHighestDepth(), {_x:0, _y:0, currentLevel:"level14"});
}
if (carsCrashed == true) {
crash.start();
stear.start();
}
music.stop();
Frame 60
for (i in _root) {
if (typeof(_root[i]) == "movieclip") {
removeMovieClip(_root[i]);
}
}
var timerJamTime = 14;
var durArray = ["Left", "Right", "Up", "Down"];
var trailsDepth = 800;
var carsDepth = 10000;
var singleLight = false;
var timerJam = 0;
var carsCrashed = false;
var gameStatus = "start";
var iCar = 0;
var iMan = 0;
var timerCar = 0;
var timerVertCar = 0;
var timerMan = 0;
var timerMan2 = 0;
var manKilled = false;
var manPassed = 0;
var positionsLeft = [215, 255];
var positionsRight = [];
var positionsDown = [540, 730];
var positionsUp = [450, 640];
var manPosUp = [330];
var manPosDown = [330];
var manPosLeft = [];
var manPosRight = [];
var manUpStops = [180];
var manDownStops = [275];
var manLeftStops = [];
var manRightStops = [];
var lastCar = 0;
var manAmount = 0;
var stoped = false;
var rightLight = [135];
var leftLight = [445];
var downLight = [35];
var upLight = [335];
var horJam = 0;
var vertJam = 0;
var peopleLeft = 1;
var timeMinutes = 0;
var timeSeconds = 37;
var timeMiliseconds = 60;
stopAllSounds();
city.start(0, 100);
var music = new Sound(this.createEmptyMovieClip("backgroundMusic", this.getNextHighestDepth()));
music.attachSound("Music2");
music.start(0, 1000);
Frame 61
timerCar++;
timerVertCar++;
timerMan++;
timerMan2++;
if ((timerVertCar > ((120 * appearence) + random(120))) && (stoped != true)) {
timerVertCar = 0;
attachCarLeft();
}
if ((timerCar > ((30 * appearence) + random(30))) && (stoped != true)) {
timerCar = 0;
attachCarDown();
attachCarUp();
}
if ((timerMan > (70 + random(100))) && (stoped != true)) {
timerMan = 0;
attachManVert();
}
if (stoped != true) {
timeMiliseconds = timeMiliseconds - 0.025;
if (timeSeconds <= 0) {
timeSeconds = 60;
timeMinutes = timeMinutes - 1;
}
if (timeMiliseconds <= 0) {
timeMiliseconds = 60;
timeSeconds = timeSeconds - 1;
} else {
timeMiliseconds = timeMiliseconds - 1.5;
}
miliseconds = Math.round(timeMiliseconds);
if (miliseconds < 10) {
miliseconds = "0" + miliseconds;
}
if (timeSeconds < 10) {
seconds = "0" + timeSeconds;
} else {
seconds = timeSeconds;
}
levelTimer = (((timeMinutes + ":") + seconds) + ":") + miliseconds;
}
if (timeMinutes < 0) {
stoped = true;
gameStatus = "outOfTime";
gotoAndStop ("endOfLevel15");
levelTimer = "00:00:00";
}
if (peopleLeft <= 0) {
stoped = true;
gameStatus = "winLevel";
gotoAndStop ("endOfLevel15");
}
if (carsCrashed == true) {
stoped = true;
gotoAndStop ("endOfLevel15");
}
if (timerJam > timerJamTime) {
stoped = true;
gotoAndStop ("endOfLevel15");
}
Instance of Symbol 244 MovieClip "Lights1" in Frame 61
onClipEvent (load) {
gotoAndPlay (2);
var timeForLights = 0.01;
}
on (press) {
if (_root.stoped != true) {
_root.lights.start();
if (pressed != true) {
pressed = true;
gotoAndStop (1);
} else {
pressed = false;
gotoAndStop (2);
}
}
}
Frame 62
gotoAndPlay ("loop15");
Frame 63
stop();
if ((gameStatus == "winLevel") && (manKilled != true)) {
attachMovie("Win", "Win", this.getNextHighestDepth(), {_x:240, _y:42, nextLevel:"winGame"});
saving.data.level15 = true;
}
if (((gameStatus == "outOfTime") && (manKilled != true)) && (gameStatus != "winLevel")) {
attachMovie("Death", "Death", this.getNextHighestDepth(), {_x:0, _y:0, currentLevel:"level15"});
}
if (((carsCrashed == true) && (manKilled != true)) && (gameStatus != "winLevel")) {
attachMovie("Death", "Death", this.getNextHighestDepth(), {_x:0, _y:0, currentLevel:"level15"});
}
if (((timerJam > timerJamTime) && (manKilled != true)) && (gameStatus != "winLevel")) {
attachMovie("Death", "Death", this.getNextHighestDepth(), {_x:0, _y:0, currentLevel:"level15"});
}
if (carsCrashed == true) {
crash.start();
stear.start();
}
music.stop();
Symbol 44 MovieClip Frame 1
stop();
Symbol 44 MovieClip Frame 2
stop();
Symbol 44 MovieClip Frame 3
stop();
Symbol 44 MovieClip Frame 4
stop();
Symbol 44 MovieClip Frame 5
stop();
Symbol 44 MovieClip Frame 6
stop();
Symbol 44 MovieClip Frame 7
stop();
Symbol 44 MovieClip Frame 8
stop();
Symbol 44 MovieClip Frame 9
stop();
Symbol 44 MovieClip Frame 10
stop();
Symbol 44 MovieClip Frame 11
stop();
Symbol 44 MovieClip Frame 12
stop();
Symbol 44 MovieClip Frame 13
stop();
Symbol 44 MovieClip Frame 14
stop();
Symbol 44 MovieClip Frame 15
stop();
Symbol 44 MovieClip Frame 16
stop();
Symbol 44 MovieClip Frame 17
stop();
Symbol 44 MovieClip Frame 18
stop();
Symbol 44 MovieClip Frame 19
stop();
Symbol 44 MovieClip Frame 20
stop();
Symbol 44 MovieClip Frame 21
stop();
Symbol 44 MovieClip Frame 22
stop();
Symbol 44 MovieClip Frame 23
stop();
Symbol 44 MovieClip Frame 24
stop();
Symbol 44 MovieClip Frame 25
stop();
Symbol 44 MovieClip Frame 26
stop();
Symbol 46 MovieClip [vehicle] Frame 1
function moving() {
if (carDirection == "right") {
this._x = this._x + speed;
}
if (carDirection == "left") {
this._x = this._x - speed;
}
if (carDirection == "up") {
this._y = this._y - speed;
}
if (carDirection == "down") {
this._y = this._y + speed;
}
}
function speedLow() {
if ((speedStatic > 0) && (speed > 0)) {
speedStatic = speedStatic - 0.4;
speed = speed - 0.4;
} else {
speedStatic = 0;
speed = 0;
}
}
var iMan = _root.iMan;
var rotation = this._rotation;
var standing = false;
var nameCar = this._name;
var onLight = false;
var ik = 0;
var tires = false;
var touchLight = false;
var speed = (random(4) + 5);
var speed2 = 0.4;
var speedStatic = 6;
carSkin.gotoAndStop(random(26) + 1);
var soundsArray = ["Pass Right to Left 2", "Pass Left to Right", "Pass Left to Right 2"];
var pass = new Sound();
pass.attachSound(soundsArray[random(2)]);
pass.start();
Instance of Symbol 44 MovieClip "carSkin" in Symbol 46 MovieClip [vehicle] Frame 1
on (press) {
if (pressed != true) {
_parent.speed = _parent.speed / 2;
_parent.speedStatic = _parent.speedStatic / 2;
pressed = true;
} else {
_parent.speed = _parent.speed * 2;
_parent.speedStatic = _parent.speedStatic * 2;
pressed = false;
}
}
Symbol 46 MovieClip [vehicle] Frame 2
moving();
var i = 0;
while (i < _root.iMan) {
if (this.carSkin.hitTest(["_root.man" + i]) && (_root["man" + i].hited != true)) {
_root["man" + i].hited = true;
eval ("_root.man" + i).manSkin.man.gotoAndPlay("die");
if (carDirection == "right") {
_root["man" + i]._x = _root["man" + i]._x + 5;
} else if (carDirection == "left") {
_root["man" + i]._x = _root["man" + i]._x - 5;
_root["man" + i]._xscale = -100;
}
_root.manAmount--;
_root.peopleGotKilled++;
}
i++;
}
if (carDirection == "right") {
var i = (_root.lastCar - 20);
while (i < _root.iCar) {
if ((this.hitTest(["_root.car" + i]) && (String(this._name) != String(["car" + i]))) && ((_root["car" + i].carDirection != "up") && (_root["car" + i].carDirection != "down"))) {
if (Number(this._name.substr(3)) > Number(_root["car" + i]._name.substr(3))) {
speedStatic = (speed = _root["car" + i].speed);
if (_root["car" + i].stending == true) {
this.speed = 0;
onLight = true;
stending = true;
}
if (this.remo.hitTest(_root["car" + i])) {
this.removeMovieClip();
}
if ((_root["car" + i].gone == true) && (_root["car" + i].goAfterRed == true)) {
this.goAfterRed = true;
} else if (_root["car" + i].goAfterRed == false) {
this.goAfterRed = false;
}
}
}
i++;
}
var i = (_root.lastCar - 20);
while (i < _root.iCar) {
if ((this.hood.hitTest(["_root.car" + i]) && (String(this._name) != String(["car" + i]))) && ((_root["car" + i].carDirection == "up") || (_root["car" + i].carDirection == "down"))) {
_root["car" + i].tires = true;
var speedLower = true;
_root["car" + i].speedLower = true;
if (_y > _root["car" + i]._y) {
if (_root["car" + i]._rotation > (_root["car" + i].rotation - 20)) {
_root["car" + i]._rotation = _root["car" + i]._rotation - 3;
}
} else if (_y < _root["car" + i]._y) {
if (_root["car" + i]._rotation < (_root["car" + i].rotation + 20)) {
_root["car" + i]._rotation = _root["car" + i]._rotation + 3;
}
}
_root.stoped = true;
_root.carsCrashed = true;
stending = true;
if (_root["car" + i].carDirection == "up") {
speed = speed / 1.2;
if (speed > 0) {
_root["car" + i]._x = _root["car" + i]._x + speed;
} else {
speed = 0;
}
} else if (_root["car" + i].carDirection == "down") {
speed = speed / 1.2;
if (speed > 0) {
_root["car" + i]._x = _root["car" + i]._x + speed;
} else {
speed = 0;
}
}
_root.carsGotCrashed++;
}
i++;
}
if (((this.ligSpot.hitTest(_root.Lights1.stopRed) || (this.ligSpot.hitTest(_root.Lights2.stopRed))) || (this.ligSpot.hitTest(_root.Lights3.stopRed))) || (this.ligSpot.hitTest(_root.Lights4.stopRed))) {
touchLight = true;
speed = 0;
_root.horJam = _root.horJam + 1;
stending = true;
goAfterRed = false;
gone = false;
} else if (((this.hitTest(_root.Lights1.goGreen) || (this.hitTest(_root.Lights2.goGreen))) || (this.hitTest(_root.Lights3.goGreen))) || (this.hitTest(_root.Lights4.goGreen))) {
touchLight = true;
if (stending == true) {
goAfterRed = true;
}
_root.horJam = 0;
}
if (this._x > 800) {
if (_root.gameStatus != "winLevel") {
_root.lastCar = this._name.substr(3);
_root.carsHavePassed++;
if (touchLight == true) {
var gones = new Sound();
gones.attachSound("passedd");
gones.start();
_root.manPassed++;
_root.peopleLeft--;
_root.peopleHavePassed++;
_root.attachMovie("carPassed", "carPassed", _root.getNextHighestDepth(), {_x:_x, _y:_y, _rotation:_rotation});
}
}
this.removeMovieClip();
}
}
if (carDirection == "left") {
var i = (_root.lastCar - 20);
while (i < _root.iCar) {
if ((this.hitTest(["_root.car" + i]) && (String(this._name) != String(["car" + i]))) && ((_root["car" + i].carDirection != "up") && (_root["car" + i].carDirection != "down"))) {
if (Number(this._name.substr(3)) > Number(_root["car" + i]._name.substr(3))) {
speedStatic = (speed = _root["car" + i].speed);
if (_root["car" + i].stending == true) {
this.speed = 0;
onLight = true;
stending = true;
}
if (this.remo.hitTest(_root["car" + i])) {
this.removeMovieClip();
}
if ((_root["car" + i].gone == true) && (_root["car" + i].goAfterRed == true)) {
this.goAfterRed = true;
} else if (_root["car" + i].goAfterRed == false) {
this.goAfterRed = false;
}
}
}
i++;
}
var i = (_root.lastCar - 20);
while (i < _root.iCar) {
if ((this.hood.hitTest(["_root.car" + i]) && (String(this._name) != String(["car" + i]))) && ((_root["car" + i].carDirection == "up") || (_root["car" + i].carDirection == "down"))) {
_root["car" + i].tires = true;
var speedLower = true;
_root["car" + i].speedLower = true;
if (_y < _root["car" + i]._y) {
if (_root["car" + i]._rotation > (_root["car" + i].rotation - 20)) {
_root["car" + i]._rotation = _root["car" + i]._rotation - 3;
}
} else if (_y > _root["car" + i]._y) {
if (_root["car" + i]._rotation < (_root["car" + i].rotation + 20)) {
_root["car" + i]._rotation = _root["car" + i]._rotation + 3;
}
}
_root.stoped = true;
_root.carsCrashed = true;
stending = true;
if (_root["car" + i].carDirection == "up") {
speed = speed / 1.2;
if (speed > 0) {
_root["car" + i]._x = _root["car" + i]._x - speed;
} else {
speed = 0;
}
} else if (_root["car" + i].carDirection == "down") {
speed = speed / 1.2;
if (speed > 0) {
_root["car" + i]._x = _root["car" + i]._x - speed;
} else {
speed = 0;
}
}
_root.carsGotCrashed++;
}
i++;
}
if (((this.ligSpot.hitTest(_root.Lights1.stopRed) || (this.ligSpot.hitTest(_root.Lights2.stopRed))) || (this.ligSpot.hitTest(_root.Lights3.stopRed))) || (this.ligSpot.hitTest(_root.Lights4.stopRed))) {
touchLight = true;
speed = 0;
_root.horJam = _root.horJam + 1;
stending = true;
goAfterRed = false;
gone = false;
} else if (((this.hitTest(_root.Lights1.goGreen) || (this.hitTest(_root.Lights2.goGreen))) || (this.hitTest(_root.Lights3.goGreen))) || (this.hitTest(_root.Lights4.goGreen))) {
touchLight = true;
if (stending == true) {
goAfterRed = true;
}
_root.horJam = 0;
}
if (this._x < 0) {
if (_root.gameStatus != "winLevel") {
_root.lastCar = this._name.substr(3);
_root.carsHavePassed++;
if (touchLight == true) {
var gones = new Sound();
gones.attachSound("passedd");
gones.start();
_root.manPassed++;
_root.peopleLeft--;
_root.peopleHavePassed++;
_root.attachMovie("carPassed", "carPassed", _root.getNextHighestDepth(), {_x:_x, _y:_y, _rotation:_rotation});
}
}
this.removeMovieClip();
}
}
if (carDirection == "down") {
var i = (_root.lastCar - 20);
while (i < _root.iCar) {
if ((this.hitTest(["_root.car" + i]) && (String(this._name) != String(["car" + i]))) && ((_root["car" + i].carDirection != "left") && (_root["car" + i].carDirection != "right"))) {
if (Number(this._name.substr(3)) > Number(_root["car" + i]._name.substr(3))) {
speedStatic = (speed = _root["car" + i].speed);
if (_root["car" + i].stending == true) {
this.speed = 0;
onLight = true;
stending = true;
}
if (this.remo.hitTest(_root["car" + i])) {
this.removeMovieClip();
}
if ((_root["car" + i].gone == true) && (_root["car" + i].goAfterRed == true)) {
this.goAfterRed = true;
} else if (_root["car" + i].goAfterRed == false) {
this.goAfterRed = false;
}
}
}
i++;
}
var i = (_root.lastCar - 20);
while (i < _root.iCar) {
if ((this.hood.hitTest(["_root.car" + i]) && (String(this._name) != String(["car" + i]))) && ((_root["car" + i].carDirection == "left") || (_root["car" + i].carDirection == "right"))) {
_root["car" + i].tires = true;
var speedLower = true;
_root["car" + i].speedLower = true;
if (_x < _root["car" + i]._x) {
if (_root["car" + i]._rotation > (_root["car" + i].rotation - 20)) {
_root["car" + i]._rotation = _root["car" + i]._rotation - 3;
}
} else if (_x > _root["car" + i]._x) {
if (_root["car" + i]._rotation < (_root["car" + i].rotation + 20)) {
_root["car" + i]._rotation = _root["car" + i]._rotation + 3;
}
}
_root.stoped = true;
_root.carsCrashed = true;
stending = true;
if (_root["car" + i].carDirection == "right") {
speed = speed / 1.2;
if (speed > 0) {
_root["car" + i]._y = _root["car" + i]._y + speed;
} else {
speed = 0;
}
} else if (_root["car" + i].carDirection == "left") {
speed = speed / 1.2;
if (speed > 0) {
_root["car" + i]._y = _root["car" + i]._y + speed;
} else {
speed = 0;
}
}
_root.carsGotCrashed++;
}
i++;
}
if (((this.ligSpot.hitTest(_root.Lights1.stopRed) || (this.ligSpot.hitTest(_root.Lights2.stopRed))) || (this.ligSpot.hitTest(_root.Lights3.stopRed))) || (this.ligSpot.hitTest(_root.Lights4.stopRed))) {
touchLight = true;
speed = 0;
_root.vertJam = _root.vertJam + 1;
stending = true;
goAfterRed = false;
gone = false;
} else if (((this.hitTest(_root.Lights1.goGreen) || (this.hitTest(_root.Lights2.goGreen))) || (this.hitTest(_root.Lights3.goGreen))) || (this.hitTest(_root.Lights4.goGreen))) {
touchLight = true;
if (stending == true) {
goAfterRed = true;
}
_root.vertJam = 0;
}
if (this._y > 500) {
if (_root.gameStatus != "winLevel") {
_root.lastCar = this._name.substr(3);
_root.carsHavePassed++;
if (touchLight == true) {
var gones = new Sound();
gones.attachSound("passedd");
gones.start();
_root.manPassed++;
_root.peopleLeft--;
_root.peopleHavePassed++;
_root.attachMovie("carPassed", "carPassed", _root.getNextHighestDepth(), {_x:_x, _y:_y, _rotation:_rotation});
}
}
this.removeMovieClip();
}
}
if (carDirection == "up") {
var i = (_root.lastCar - 20);
while (i < _root.iCar) {
if ((this.hitTest(["_root.car" + i]) && (String(this._name) != String(["car" + i]))) && ((_root["car" + i].carDirection != "left") && (_root["car" + i].carDirection != "right"))) {
if (Number(this._name.substr(3)) > Number(_root["car" + i]._name.substr(3))) {
speedStatic = (speed = _root["car" + i].speed);
if (_root["car" + i].stending == true) {
this.speed = 0;
onLight = true;
stending = true;
}
if (this.remo.hitTest(_root["car" + i])) {
this.removeMovieClip();
}
if ((_root["car" + i].gone == true) && (_root["car" + i].goAfterRed == true)) {
this.goAfterRed = true;
} else if (_root["car" + i].goAfterRed == false) {
this.goAfterRed = false;
}
}
}
i++;
}
var i = (_root.lastCar - 20);
while (i < _root.iCar) {
if ((this.hood.hitTest(["_root.car" + i]) && (String(this._name) != String(["car" + i]))) && ((_root["car" + i].carDirection == "left") || (_root["car" + i].carDirection == "right"))) {
_root["car" + i].tires = true;
var speedLower = true;
_root["car" + i].speedLower = true;
if (_x > _root["car" + i]._x) {
if (_root["car" + i]._rotation > (_root["car" + i].rotation - 20)) {
_root["car" + i]._rotation = _root["car" + i]._rotation - 3;
}
} else if (_x < _root["car" + i]._x) {
if (_root["car" + i]._rotation < (_root["car" + i].rotation + 20)) {
_root["car" + i]._rotation = _root["car" + i]._rotation + 3;
}
}
_root.stoped = true;
_root.carsCrashed = true;
stending = true;
if (_root["car" + i].carDirection == "right") {
speed = speed / 1.2;
if (speed > 0) {
_root["car" + i]._y = _root["car" + i]._y - speed;
} else {
speed = 0;
}
} else if (_root["car" + i].carDirection == "left") {
speed = speed / 1.2;
if (speed > 0) {
_root["car" + i]._y = _root["car" + i]._y - speed;
} else {
speed = 0;
}
}
_root.carsGotCrashed++;
}
i++;
}
if (((this.ligSpot.hitTest(_root.Lights1.stopRed) || (this.ligSpot.hitTest(_root.Lights2.stopRed))) || (this.ligSpot.hitTest(_root.Lights3.stopRed))) || (this.ligSpot.hitTest(_root.Lights4.stopRed))) {
touchLight = true;
speed = 0;
_root.vertJam = _root.vertJam + 1;
stending = true;
goAfterRed = false;
gone = false;
} else if (((this.hitTest(_root.Lights1.goGreen) || (this.hitTest(_root.Lights2.goGreen))) || (this.hitTest(_root.Lights3.goGreen))) || (this.hitTest(_root.Lights4.goGreen))) {
touchLight = true;
if (stending == true) {
goAfterRed = true;
}
_root.vertJam = 0;
}
if (this._y < 0) {
if (_root.gameStatus != "winLevel") {
_root.lastCar = this._name.substr(3);
_root.carsHavePassed++;
if (touchLight == true) {
var gones = new Sound();
gones.attachSound("passedd");
gones.start();
_root.manPassed++;
_root.peopleLeft--;
_root.peopleHavePassed++;
_root.attachMovie("carPassed", "carPassed", _root.getNextHighestDepth(), {_x:_x, _y:_y, _rotation:_rotation});
}
}
this.removeMovieClip();
}
}
if (speedLower == true) {
speedLow();
}
if (goAfterRed == true) {
if (onLight == true) {
ik++;
speed = 0;
if (ik > 10) {
onLight = false;
}
} else {
if (((speed < 6) && (_root.carsCrashed != true)) && (_root.manKilled != true)) {
speed = speed + speed2;
}
var gone = true;
stending = false;
}
} else {
ik = 0;
gone = false;
}
if (tires == true) {
_root.attachMovie("trails", "trails", _root.trailsDepth, {_x:_x, _y:_y, _rotation:_rotation, _alpha:70});
}
if (this.hitTest(_root.trails)) {
this.swapDepths(_root.carsDepth);
}
Symbol 46 MovieClip [vehicle] Frame 3
gotoAndPlay ("loop");
Symbol 53 MovieClip Frame 1
stop();
Symbol 53 MovieClip Frame 2
stop();
Symbol 53 MovieClip Frame 3
stop();
Symbol 53 MovieClip Frame 4
stop();
Symbol 53 MovieClip Frame 5
stop();
Symbol 53 MovieClip Frame 6
stop();
Symbol 60 MovieClip Frame 1
stop();
Symbol 60 MovieClip Frame 2
stop();
Symbol 60 MovieClip Frame 3
stop();
Symbol 60 MovieClip Frame 4
stop();
Symbol 60 MovieClip Frame 5
stop();
Symbol 60 MovieClip Frame 6
stop();
Symbol 67 MovieClip Frame 1
stop();
Symbol 67 MovieClip Frame 2
stop();
Symbol 67 MovieClip Frame 3
stop();
Symbol 67 MovieClip Frame 4
stop();
Symbol 67 MovieClip Frame 5
stop();
Symbol 67 MovieClip Frame 6
stop();
Symbol 75 MovieClip Frame 30
gotoAndPlay (1);
Symbol 75 MovieClip Frame 31
_parent._parent.go = false;
_parent._parent.dead = true;
Symbol 75 MovieClip Frame 35
stop();
Symbol 76 MovieClip Frame 1
stop();
Symbol 76 MovieClip Frame 2
stop();
Symbol 77 MovieClip [man] Frame 1
function moving() {
if (manDirection == "right") {
this._x = this._x + speed;
}
if (manDirection == "left") {
this._x = this._x - speed;
}
if (manDirection == "up") {
this._y = this._y - speed;
}
if (manDirection == "down") {
this._y = this._y + speed;
}
}
function stopGoing() {
go = false;
}
var speed = (0.5 + random(2));
manSkin.gotoAndStop(random(1) + 1);
var skinHead = (random(5) + 1);
var skinBody = (random(5) + 1);
var skinLegs = (random(5) + 1);
var timer = 0;
Instance of Symbol 76 MovieClip "manSkin" in Symbol 77 MovieClip [man] Frame 1
onClipEvent (enterFrame) {
if ((_parent.go == false) && (_parent.dead != true)) {
if (_parent.timer > (300 + random(300))) {
_parent.timer = 0;
_parent.go = true;
this.man.play();
}
}
}
Symbol 77 MovieClip [man] Frame 2
timer++;
if (this.go == true) {
moving();
}
if (manDirection == "left") {
var i = 0;
while (i < _root.manRightStops.length) {
if ((this._x > (_root.manRightStops[i] - 10)) && (this._x < (_root.manRightStops[i] + 10))) {
stopGoing();
this._x = this._x - random(5);
manSkin.man.gotoAndStop("stand");
}
i++;
}
if (this._x < 0) {
_root.manAmount--;
_root.peopleHavePassed++;
this.removeMovieClip();
}
}
if (manDirection == "right") {
var i = 0;
while (i < _root.manLeftStops.length) {
if ((this._x > (_root.manLeftStops[i] - 10)) && (this._x < (_root.manLeftStops[i] + 10))) {
stopGoing();
this._x = this._x + random(5);
manSkin.man.gotoAndStop("stand");
}
i++;
}
if (this._x > 800) {
_root.manAmount--;
_root.peopleHavePassed++;
this.removeMovieClip();
}
}
if (manDirection == "up") {
var i = 0;
while (i < _root.manDownStops.length) {
if ((this._y > (_root.manDownStops[i] - 10)) && (this._y < (_root.manDownStops[i] + 10))) {
stopGoing();
this._y = this._y - random(5);
manSkin.man.gotoAndStop("stand");
}
i++;
}
if (this._y < 0) {
_root.manAmount--;
_root.peopleHavePassed++;
this.removeMovieClip();
}
}
if (manDirection == "down") {
var i = 0;
while (i < _root.manUpStops.length) {
if ((this._y > (_root.manUpStops[i] - 10)) && (this._y < (_root.manUpStops[i] + 10))) {
stopGoing();
this._y = this._y + random(5);
manSkin.man.gotoAndStop("stand");
}
i++;
}
if (this._y > 500) {
_root.manAmount--;
_root.peopleHavePassed++;
this.removeMovieClip();
}
}
manSkin.man.head.gotoAndStop(skinHead);
manSkin.man.body.gotoAndStop(skinBody);
manSkin.man.leg - l.gotoAndStop(skinLegs);
manSkin.man.leg - r.gotoAndStop(skinLegs);
Symbol 77 MovieClip [man] Frame 3
gotoAndPlay ("loop");
Symbol 93 Button
on (press) {
_root.gotoAndPlay(_parent.nextLevel);
}
Symbol 97 Button
on (release) {
getURL ("http://www.skywardgames.com", "_blank");
}
Symbol 103 MovieClip Frame 1
stop();
Symbol 103 MovieClip Frame 2
gotoAndStop(random(1) + 3);
Symbol 103 MovieClip Frame 3
gotoAndPlay (1);
Symbol 113 Button
on (press) {
_root.gotoAndStop("main");
}
Symbol 123 MovieClip Frame 1
if (_root.gameMode == "easy") {
var endText = "Try to play this game on normal or hard difficulty";
} else if (_root.gameMode == "normal") {
var endText = "Try to play this game on hard difficulty";
} else if (_root.gameMode == "hard") {
var endText = "You made it on the hardest difficulty! Well done!";
}
Symbol 125 MovieClip [Win] Frame 1
if (nextLevel == "winGame") {
gotoAndPlay ("winGame");
} else {
_root.win.start();
}
Symbol 125 MovieClip [Win] Frame 50
stop();
Symbol 125 MovieClip [Win] Frame 51
var winMusic = new Sound();
winMusic.attachSound("winGame");
winMusic.start();
Symbol 125 MovieClip [Win] Frame 100
stop();
Symbol 134 Button
on (press) {
_root.gotoAndPlay(currentLevel);
}
Symbol 143 MovieClip [Death] Frame 1
if (_root.carsCrashed == true) {
gotoAndPlay ("crashed");
} else if (_root.gameStatus == "outOfTime") {
gotoAndPlay ("time");
} else if (_root.timerJam > _root.timerJamTime) {
gotoAndPlay ("jam");
}
this.swapDepths(100000);
Symbol 143 MovieClip [Death] Frame 125
stop();
Symbol 143 MovieClip [Death] Frame 250
stop();
Symbol 143 MovieClip [Death] Frame 375
stop();
Symbol 147 MovieClip [carPassed] Frame 9
this.removeMovieClip();
Symbol 154 Button
on (press) {
getURL ("http://www.skywardgames.com", "_blank");
}
Symbol 162 MovieClip Frame 1
stop();
Symbol 162 MovieClip Frame 10
stop();
Symbol 162 MovieClip Frame 20
gotoAndStop (1);
Symbol 162 MovieClip Frame 21
stop();
Symbol 164 MovieClip Frame 1
stop();
Symbol 164 MovieClip Frame 10
stop();
Symbol 164 MovieClip Frame 20
gotoAndStop (1);
Symbol 164 MovieClip Frame 21
stop();
Symbol 166 MovieClip Frame 1
stop();
Symbol 166 MovieClip Frame 10
stop();
Symbol 166 MovieClip Frame 20
gotoAndStop (1);
Symbol 166 MovieClip Frame 21
stop();
Symbol 169 MovieClip Frame 1
stop();
Symbol 169 MovieClip Frame 10
stop();
Symbol 169 MovieClip Frame 20
gotoAndStop (1);
Symbol 169 MovieClip Frame 21
stop();
Symbol 172 MovieClip Frame 1
stop();
Symbol 172 MovieClip Frame 10
stop();
Symbol 172 MovieClip Frame 20
gotoAndStop (1);
Symbol 172 MovieClip Frame 21
stop();
Symbol 174 MovieClip Frame 1
stop();
Symbol 174 MovieClip Frame 10
stop();
Symbol 174 MovieClip Frame 20
gotoAndStop (1);
Symbol 174 MovieClip Frame 21
stop();
Symbol 176 MovieClip Frame 1
stop();
Symbol 176 MovieClip Frame 10
stop();
Symbol 176 MovieClip Frame 20
gotoAndStop (1);
Symbol 176 MovieClip Frame 21
stop();
Symbol 178 MovieClip Frame 1
stop();
Symbol 178 MovieClip Frame 10
stop();
Symbol 178 MovieClip Frame 20
gotoAndStop (1);
Symbol 178 MovieClip Frame 21
stop();
Instance of Symbol 162 MovieClip in Symbol 179 MovieClip Frame 1
on (rollOver) {
gotoAndPlay ("over");
}
on (rollOut) {
gotoAndPlay ("out");
}
on (press) {
gotoAndStop ("pressed");
_root.gotoAndPlay("level1");
}
Instance of Symbol 164 MovieClip "quality1" in Symbol 179 MovieClip Frame 1
on (rollOver) {
if (pressed != true) {
gotoAndPlay ("over");
}
}
on (rollOut) {
if (pressed != true) {
gotoAndPlay ("out");
}
}
on (press) {
toggleHighQuality();
var pressed = true;
gotoAndStop ("pressed");
if (_root.quality2.pressed == true) {
_root.quality2.gotoAndPlay("out");
delete _root.quality2.pressed;
}
}
Instance of Symbol 166 MovieClip "quality2" in Symbol 179 MovieClip Frame 1
onClipEvent (load) {
gotoAndStop ("pressed");
var pressed = true;
}
on (rollOver) {
if (pressed != true) {
gotoAndPlay ("over");
}
}
on (rollOut) {
if (pressed != true) {
gotoAndPlay ("out");
}
}
on (press) {
toggleHighQuality();
var pressed = true;
gotoAndStop ("pressed");
if (_root.quality1.pressed == true) {
_root.quality1.gotoAndPlay("out");
delete _root.quality1.pressed;
}
}
Instance of Symbol 169 MovieClip in Symbol 179 MovieClip Frame 1
on (rollOver) {
gotoAndPlay ("over");
}
on (rollOut) {
gotoAndPlay ("out");
}
on (press) {
gotoAndStop ("pressed");
_root.gotoAndStop("levelSelect");
}
Instance of Symbol 172 MovieClip in Symbol 179 MovieClip Frame 1
on (rollOver) {
gotoAndPlay ("over");
}
on (rollOut) {
gotoAndPlay ("out");
}
on (press) {
gotoAndStop ("pressed");
getURL ("http://www.skywardgames.com", "_blank");
}
Instance of Symbol 174 MovieClip "mode1" in Symbol 179 MovieClip Frame 1
on (rollOver) {
if (pressed != true) {
gotoAndPlay ("over");
}
}
on (rollOut) {
if (pressed != true) {
gotoAndPlay ("out");
}
}
on (press) {
var pressed = true;
_root.gameMode = "easy";
gotoAndStop ("pressed");
if (_parent.mode2.pressed == true) {
_parent.mode2.gotoAndPlay("out");
delete _parent.mode2.pressed;
}
if (_parent.mode3.pressed == true) {
_parent.mode3.gotoAndPlay("out");
delete _parent.mode3.pressed;
}
}
Instance of Symbol 176 MovieClip "mode2" in Symbol 179 MovieClip Frame 1
onClipEvent (load) {
gotoAndStop ("pressed");
var pressed = true;
_root.gameMode = "normal";
}
on (rollOver) {
if (pressed != true) {
gotoAndPlay ("over");
}
}
on (rollOut) {
if (pressed != true) {
gotoAndPlay ("out");
}
}
on (press) {
var pressed = true;
_root.gameMode = "normal";
gotoAndStop ("pressed");
if (_parent.mode1.pressed == true) {
_parent.mode1.gotoAndPlay("out");
delete _parent.mode1.pressed;
}
if (_parent.mode3.pressed == true) {
_parent.mode3.gotoAndPlay("out");
delete _parent.mode3.pressed;
}
}
Instance of Symbol 178 MovieClip "mode3" in Symbol 179 MovieClip Frame 1
on (rollOver) {
if (pressed != true) {
gotoAndPlay ("over");
}
}
on (rollOut) {
if (pressed != true) {
gotoAndPlay ("out");
}
}
on (press) {
var pressed = true;
_root.gameMode = "hard";
gotoAndStop ("pressed");
if (_parent.mode1.pressed == true) {
_parent.mode1.gotoAndPlay("out");
delete _parent.mode1.pressed;
}
if (_parent.mode2.pressed == true) {
_parent.mode2.gotoAndPlay("out");
delete _parent.mode2.pressed;
}
}
Symbol 180 MovieClip Frame 50
stop();
Symbol 183 MovieClip Frame 60
stop();
Instance of Symbol 162 MovieClip in Symbol 184 MovieClip Frame 1
on (rollOver) {
gotoAndPlay ("over");
}
on (rollOut) {
gotoAndPlay ("out");
}
on (press) {
gotoAndStop ("pressed");
_root.gotoAndPlay("level1");
}
Instance of Symbol 164 MovieClip "quality1" in Symbol 184 MovieClip Frame 1
on (rollOver) {
if (pressed != true) {
gotoAndPlay ("over");
}
}
on (rollOut) {
if (pressed != true) {
gotoAndPlay ("out");
}
}
on (press) {
toggleHighQuality();
var pressed = true;
gotoAndStop ("pressed");
if (_root.quality2.pressed == true) {
_root.quality2.gotoAndPlay("out");
delete _root.quality2.pressed;
}
}
Instance of Symbol 166 MovieClip "quality2" in Symbol 184 MovieClip Frame 1
onClipEvent (load) {
gotoAndStop ("pressed");
var pressed = true;
}
on (rollOver) {
if (pressed != true) {
gotoAndPlay ("over");
}
}
on (rollOut) {
if (pressed != true) {
gotoAndPlay ("out");
}
}
on (press) {
toggleHighQuality();
var pressed = true;
gotoAndStop ("pressed");
if (_root.quality1.pressed == true) {
_root.quality1.gotoAndPlay("out");
delete _root.quality1.pressed;
}
}
Instance of Symbol 169 MovieClip in Symbol 184 MovieClip Frame 1
on (rollOver) {
gotoAndPlay ("over");
}
on (rollOut) {
gotoAndPlay ("out");
}
on (press) {
gotoAndStop ("pressed");
_root.gotoAndStop("levelSelect");
}
Instance of Symbol 172 MovieClip in Symbol 184 MovieClip Frame 1
on (rollOver) {
gotoAndPlay ("over");
}
on (rollOut) {
gotoAndPlay ("out");
}
on (press) {
gotoAndStop ("pressed");
getURL ("http://www.skywardgames.com", "_blank");
}
Instance of Symbol 174 MovieClip "mode1" in Symbol 184 MovieClip Frame 1
on (rollOver) {
if (pressed != true) {
gotoAndPlay ("over");
}
}
on (rollOut) {
if (pressed != true) {
gotoAndPlay ("out");
}
}
on (press) {
var pressed = true;
_root.gameMode = "easy";
gotoAndStop ("pressed");
if (_parent.mode2.pressed == true) {
_parent.mode2.gotoAndPlay("out");
delete _parent.mode2.pressed;
}
if (_parent.mode3.pressed == true) {
_parent.mode3.gotoAndPlay("out");
delete _parent.mode3.pressed;
}
}
Instance of Symbol 176 MovieClip "mode2" in Symbol 184 MovieClip Frame 1
onClipEvent (load) {
gotoAndStop ("pressed");
var pressed = true;
_root.gameMode = "normal";
}
on (rollOver) {
if (pressed != true) {
gotoAndPlay ("over");
}
}
on (rollOut) {
if (pressed != true) {
gotoAndPlay ("out");
}
}
on (press) {
var pressed = true;
_root.gameMode = "normal";
gotoAndStop ("pressed");
if (_parent.mode1.pressed == true) {
_parent.mode1.gotoAndPlay("out");
delete _parent.mode1.pressed;
}
if (_parent.mode3.pressed == true) {
_parent.mode3.gotoAndPlay("out");
delete _parent.mode3.pressed;
}
}
Instance of Symbol 178 MovieClip "mode3" in Symbol 184 MovieClip Frame 1
on (rollOver) {
if (pressed != true) {
gotoAndPlay ("over");
}
}
on (rollOut) {
if (pressed != true) {
gotoAndPlay ("out");
}
}
on (press) {
var pressed = true;
_root.gameMode = "hard";
gotoAndStop ("pressed");
if (_parent.mode1.pressed == true) {
_parent.mode1.gotoAndPlay("out");
delete _parent.mode1.pressed;
}
if (_parent.mode2.pressed == true) {
_parent.mode2.gotoAndPlay("out");
delete _parent.mode2.pressed;
}
}
Symbol 184 MovieClip Frame 50
stop();
Symbol 191 Button
on (release) {
_root.gotoAndPlay("level1");
}
Symbol 192 Button
on (press) {
if (_root.saving.data.level2 == true) {
_root.gotoAndPlay("level2");
}
}
Symbol 193 Button
on (press) {
if (_root.saving.data.level3 == true) {
_root.gotoAndPlay("level3");
}
}
Symbol 194 Button
on (press) {
if (_root.saving.data.level4 == true) {
_root.gotoAndPlay("level4");
}
}
Symbol 195 Button
on (press) {
if (_root.saving.data.level5 == true) {
_root.gotoAndPlay("level5");
}
}
Symbol 196 Button
on (press) {
if (_root.saving.data.level7 == true) {
_root.gotoAndPlay("level7");
}
}
Symbol 197 Button
on (press) {
if (_root.saving.data.level8 == true) {
_root.gotoAndPlay("level8");
}
}
Symbol 198 Button
on (press) {
if (_root.saving.data.level9 == true) {
_root.gotoAndPlay("level9");
}
}
Symbol 199 Button
on (press) {
if (_root.saving.data.level10 == true) {
_root.gotoAndPlay("level10");
}
}
Symbol 200 Button
on (press) {
if (_root.saving.data.level12 == true) {
_root.gotoAndPlay("level12");
}
}
Symbol 201 Button
on (press) {
if (_root.saving.data.level13 == true) {
_root.gotoAndPlay("level13");
}
}
Symbol 202 Button
on (press) {
if (_root.saving.data.level14 == true) {
_root.gotoAndPlay("level14");
}
}
Symbol 203 Button
on (press) {
if (_root.saving.data.level15 == true) {
_root.gotoAndPlay("level15");
}
}
Symbol 204 Button
on (press) {
if (_root.saving.data.level6 == true) {
_root.gotoAndPlay("level6");
}
}
Symbol 205 Button
on (press) {
if (_root.saving.data.level11 == true) {
_root.gotoAndPlay("level11");
}
}
Symbol 208 MovieClip Frame 1
stop();
Instance of Symbol 208 MovieClip in Symbol 213 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.saving.data.level2 == true) {
_visible = false;
}
}
Instance of Symbol 208 MovieClip in Symbol 213 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.saving.data.level3 == true) {
_visible = false;
}
}
Instance of Symbol 208 MovieClip in Symbol 213 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.saving.data.level4 == true) {
_visible = false;
}
}
Instance of Symbol 208 MovieClip in Symbol 213 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.saving.data.level5 == true) {
_visible = false;
}
}
Instance of Symbol 208 MovieClip in Symbol 213 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.saving.data.level7 == true) {
_visible = false;
}
}
Instance of Symbol 208 MovieClip in Symbol 213 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.saving.data.level8 == true) {
_visible = false;
}
}
Instance of Symbol 208 MovieClip in Symbol 213 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.saving.data.level9 == true) {
_visible = false;
}
}
Instance of Symbol 208 MovieClip in Symbol 213 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.saving.data.level10 == true) {
_visible = false;
}
}
Instance of Symbol 208 MovieClip in Symbol 213 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.saving.data.level12 == true) {
_visible = false;
}
}
Instance of Symbol 208 MovieClip in Symbol 213 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.saving.data.level13 == true) {
_visible = false;
}
}
Instance of Symbol 208 MovieClip in Symbol 213 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.saving.data.level14 == true) {
_visible = false;
}
}
Instance of Symbol 208 MovieClip in Symbol 213 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.saving.data.level15 == true) {
_visible = false;
}
}
Instance of Symbol 208 MovieClip in Symbol 213 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.saving.data.level6 == true) {
_visible = false;
}
}
Instance of Symbol 208 MovieClip in Symbol 213 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.saving.data.level11 == true) {
_visible = false;
}
}
Symbol 213 MovieClip Frame 80
stop();
Symbol 216 MovieClip Frame 1
_root.trailsDepth++;
_root.carsDepth++;
if (_root.gameMode == "easy") {
_root.appearence = 1.3;
} else if (_root.gameMode == "normal") {
_root.appearence = 1;
} else if (_root.gameMode == "hard") {
_root.appearence = 0.9;
}
Symbol 216 MovieClip Frame 2
gotoAndPlay (1);
Symbol 235 Button
on (keyPress "2") {
gotoAndPlay ("level2");
}
on (keyPress "3") {
gotoAndPlay ("level3");
}
on (keyPress "4") {
gotoAndPlay ("level4");
}
on (keyPress "5") {
gotoAndPlay ("level5");
}
on (keyPress "6") {
gotoAndPlay ("level6");
}
on (keyPress "7") {
gotoAndPlay ("level7");
}
on (keyPress "8") {
gotoAndPlay ("level8");
}
on (keyPress "9") {
gotoAndPlay ("level9");
}
on (keyPress "q") {
gotoAndPlay ("level10");
}
on (keyPress "w") {
gotoAndPlay ("level11");
}
on (keyPress "e") {
gotoAndPlay ("level12");
}
on (keyPress "r") {
gotoAndPlay ("level13");
}
on (keyPress "t") {
gotoAndPlay ("level14");
}
on (keyPress "y") {
gotoAndPlay ("level15");
}
Symbol 244 MovieClip Frame 1
_root.timerJam = 0;
stop();
if (_root.gameMode == "easy") {
var lower = 0.005;
} else if (_root.gameMode == "normal") {
var lower = 0;
} else if (_root.gameMode == "hard") {
var lower = -0.005;
}
Symbol 244 MovieClip Frame 2
if (timeForLights > 0) {
_root.timerJam = _root.timerJam + (timeForLights - lower);
} else {
_root.timerJam = _root.timerJam + (0.015 - lower);
}
play();
Symbol 244 MovieClip Frame 3
gotoAndPlay (2);