Frame 1
fscommand ("showmenu", "false");
loadpercent = "0%";
loadBytes = ("0 of " + (Math.round((_root.getBytesTotal() / 1024) * 1000) / 1000)) + " Kb";
Frame 2
loadPercent = Math.floor((_root.getBytesLoaded() / _root.getBytesTotal()) * 100) + "%";
loadBytes = (((Math.round((_root.getBytesLoaded() / 1024) * 1000) / 1000) + " Kb of ") + (Math.round((_root.getBytesTotal() / 1024) * 1000) / 1000)) + " Kb total Loaded.";
if (_root.getBytesLoaded() == _root.getBytesTotal()) {
loadPercent = "100%";
loadBytes = (((Math.round((_root.getBytesLoaded() / 1024) * 1000) / 1000) + " Kb of ") + (Math.round((_root.getBytesTotal() / 1024) * 1000) / 1000)) + " Kb total Loaded.";
gotoAndPlay ("Button");
}
Frame 3
gotoAndPlay (2);
Frame 4
stop();
Frame 11
stop();
Frame 102
stop();
Frame 103
stop();
Frame 104
stop();
Frame 105
Now = 0;
StartTime = getTimer();
Frame 106
Now = getTimer() - StartTime;
if (Number(Now) < 1) {
gotoAndPlay (105);
} else {
nextFrame();
}
Frame 107
stop();
stop();
Instance of Symbol 220 MovieClip in Frame 107
onClipEvent (enterFrame) {
if (Key.isDown(38)) {
yourSound = new Sound();
yourSound.attachSound("engine");
yourSound.start();
}
}
Instance of Symbol 222 MovieClip "wall" in Frame 107
onClipEvent (enterFrame) {
if (hitTest(_root.CAR._x, _root.CAR._y, true)) {
_root.CAR.speed = -_root.CAR.speed;
speed = _root.CAR.speed;
if (speed < 0) {
speed = speed * -1;
}
_root.CAR.nextFrame();
_root.health = _root.health - (2 + int(speed));
_root.CAR._x = oldx;
_root.CAR._y = oldy;
} else {
oldx = _root.CAR._x;
oldy = _root.CAR._y;
}
}
Instance of Symbol 225 MovieClip in Frame 107
onClipEvent (enterFrame) {
if (hitTest(_root.CAR._x, _root.CAR._y, true)) {
_root.CAR.speed = -_root.CAR.speed;
speed = _root.CAR.speed;
if (speed < 0) {
speed = speed * -1;
}
_root.CAR.nextFrame();
_root.health = _root.health - (2 + int(speed));
_root.CAR._x = oldx;
_root.CAR._y = oldy;
} else {
oldx = _root.CAR._x;
oldy = _root.CAR._y;
}
}
Instance of Symbol 225 MovieClip in Frame 107
onClipEvent (enterFrame) {
if (hitTest(_root.CAR._x, _root.CAR._y, true)) {
_root.CAR.speed = -_root.CAR.speed;
speed = _root.CAR.speed;
if (speed < 0) {
speed = speed * -1;
}
_root.CAR.nextFrame();
_root.health = _root.health - (2 + int(speed));
_root.CAR._x = oldx;
_root.CAR._y = oldy;
} else {
oldx = _root.CAR._x;
oldy = _root.CAR._y;
}
}
Instance of Symbol 227 MovieClip in Frame 107
onClipEvent (enterFrame) {
if (hitTest(_root.CAR._x, _root.CAR._y, true)) {
_root.CAR.speed = -_root.CAR.speed;
speed = _root.CAR.speed;
if (speed < 0) {
speed = speed * -1;
}
_root.CAR.nextFrame();
_root.health = _root.health - (2 + int(speed));
_root.CAR._x = oldx;
_root.CAR._y = oldy;
} else {
oldx = _root.CAR._x;
oldy = _root.CAR._y;
}
}
Instance of Symbol 227 MovieClip in Frame 107
onClipEvent (enterFrame) {
if (hitTest(_root.CAR._x, _root.CAR._y, true)) {
_root.CAR.speed = -_root.CAR.speed;
speed = _root.CAR.speed;
if (speed < 0) {
speed = speed * -1;
}
_root.CAR.nextFrame();
_root.health = _root.health - (2 + int(speed));
_root.CAR._x = oldx;
_root.CAR._y = oldy;
} else {
oldx = _root.CAR._x;
oldy = _root.CAR._y;
}
}
Instance of Symbol 200 MovieClip in Frame 107
onClipEvent (load) {
resistance = 2;
oldxscale = _xscale;
oldyscale = _yscale;
speed = 1;
runspeed = 3;
xspeed = speed;
yspeed = 0;
changepossibility = 44;
possibility = false;
panicdistance = 60;
calmdistance = 110;
}
onClipEvent (enterFrame) {
CARspeed = _root.CAR.speed;
if (CARspeed < 0) {
CARspeed = CARspeed * -1;
}
if (runover != true) {
xdistance = this._x - _root.CAR._x;
ydistance = this._y - _root.CAR._y;
if (xdistance < 0) {
xdistance = xdistance * -1;
}
if (ydistance < 0) {
ydistance = ydistance * -1;
}
totaldistance = (xdistance + ydistance) / 2;
if (((totaldistance < panicdistance) && (runaway != true)) && (CARspeed > resistance)) {
runaway = true;
oldspeed = speed;
if (random(2) == 1) {
if (_x > _root.CAR._x) {
xspeed = runspeed;
} else {
xspeed = -runspeed;
}
yspeed = 0;
} else {
if (_y > _root.CAR._y) {
yspeed = runspeed;
} else {
yspeed = -runspeed;
}
xspeed = 0;
}
} else if ((runaway == true) && (totaldistance > calmdistance)) {
runaway = false;
speed = oldspeed;
possibility = false;
}
if ((possibility == false) || ((random(possibility) == 1) && (runaway != true))) {
possibility = changepossibility;
direction = random(4);
if (direction == 1) {
xspeed = 0;
yspeed = speed;
}
if (direction == 0) {
xspeed = 0;
yspeed = -speed;
}
if (direction == 3) {
yspeed = 0;
xspeed = speed;
}
if (direction == 2) {
yspeed = 0;
xspeed = -speed;
}
}
_x = (_x + xspeed);
_y = (_y + yspeed);
if (_root.wall.hitTest(_x, _y, true)) {
xspeed = -xspeed;
yspeed = -yspeed;
_x = oldx;
_y = oldy;
} else {
oldx = _x;
oldy = _y;
hitwall = false;
}
}
if ((hitTest(_root.CAR) && (CARspeed > resistance)) && (runover != true)) {
runover = true;
this.gotoAndPlay(2);
_root.killed = _root.killed + 1;
}
}
Instance of Symbol 200 MovieClip in Frame 107
onClipEvent (load) {
resistance = 2;
oldxscale = _xscale;
oldyscale = _yscale;
speed = 1;
runspeed = 3;
xspeed = speed;
yspeed = 0;
changepossibility = 44;
possibility = false;
panicdistance = 60;
calmdistance = 110;
}
onClipEvent (enterFrame) {
CARspeed = _root.CAR.speed;
if (CARspeed < 0) {
CARspeed = CARspeed * -1;
}
if (runover != true) {
xdistance = this._x - _root.CAR._x;
ydistance = this._y - _root.CAR._y;
if (xdistance < 0) {
xdistance = xdistance * -1;
}
if (ydistance < 0) {
ydistance = ydistance * -1;
}
totaldistance = (xdistance + ydistance) / 2;
if (((totaldistance < panicdistance) && (runaway != true)) && (CARspeed > resistance)) {
runaway = true;
oldspeed = speed;
if (random(2) == 1) {
if (_x > _root.CAR._x) {
xspeed = runspeed;
} else {
xspeed = -runspeed;
}
yspeed = 0;
} else {
if (_y > _root.CAR._y) {
yspeed = runspeed;
} else {
yspeed = -runspeed;
}
xspeed = 0;
}
} else if ((runaway == true) && (totaldistance > calmdistance)) {
runaway = false;
speed = oldspeed;
possibility = false;
}
if ((possibility == false) || ((random(possibility) == 1) && (runaway != true))) {
possibility = changepossibility;
direction = random(4);
if (direction == 1) {
xspeed = 0;
yspeed = speed;
}
if (direction == 0) {
xspeed = 0;
yspeed = -speed;
}
if (direction == 3) {
yspeed = 0;
xspeed = speed;
}
if (direction == 2) {
yspeed = 0;
xspeed = -speed;
}
}
_x = (_x + xspeed);
_y = (_y + yspeed);
if (_root.wall.hitTest(_x, _y, true)) {
xspeed = -xspeed;
yspeed = -yspeed;
_x = oldx;
_y = oldy;
} else {
oldx = _x;
oldy = _y;
hitwall = false;
}
}
if ((hitTest(_root.CAR) && (CARspeed > resistance)) && (runover != true)) {
runover = true;
this.gotoAndPlay(2);
_root.killed = _root.killed + 1;
}
}
Instance of Symbol 200 MovieClip in Frame 107
onClipEvent (load) {
resistance = 2;
oldxscale = _xscale;
oldyscale = _yscale;
speed = 1;
runspeed = 3;
xspeed = speed;
yspeed = 0;
changepossibility = 44;
possibility = false;
panicdistance = 60;
calmdistance = 110;
}
onClipEvent (enterFrame) {
CARspeed = _root.CAR.speed;
if (CARspeed < 0) {
CARspeed = CARspeed * -1;
}
if (runover != true) {
xdistance = this._x - _root.CAR._x;
ydistance = this._y - _root.CAR._y;
if (xdistance < 0) {
xdistance = xdistance * -1;
}
if (ydistance < 0) {
ydistance = ydistance * -1;
}
totaldistance = (xdistance + ydistance) / 2;
if (((totaldistance < panicdistance) && (runaway != true)) && (CARspeed > resistance)) {
runaway = true;
oldspeed = speed;
if (random(2) == 1) {
if (_x > _root.CAR._x) {
xspeed = runspeed;
} else {
xspeed = -runspeed;
}
yspeed = 0;
} else {
if (_y > _root.CAR._y) {
yspeed = runspeed;
} else {
yspeed = -runspeed;
}
xspeed = 0;
}
} else if ((runaway == true) && (totaldistance > calmdistance)) {
runaway = false;
speed = oldspeed;
possibility = false;
}
if ((possibility == false) || ((random(possibility) == 1) && (runaway != true))) {
possibility = changepossibility;
direction = random(4);
if (direction == 1) {
xspeed = 0;
yspeed = speed;
}
if (direction == 0) {
xspeed = 0;
yspeed = -speed;
}
if (direction == 3) {
yspeed = 0;
xspeed = speed;
}
if (direction == 2) {
yspeed = 0;
xspeed = -speed;
}
}
_x = (_x + xspeed);
_y = (_y + yspeed);
if (_root.wall.hitTest(_x, _y, true)) {
xspeed = -xspeed;
yspeed = -yspeed;
_x = oldx;
_y = oldy;
} else {
oldx = _x;
oldy = _y;
hitwall = false;
}
}
if ((hitTest(_root.CAR) && (CARspeed > resistance)) && (runover != true)) {
runover = true;
this.gotoAndPlay(2);
_root.killed = _root.killed + 1;
}
}
Instance of Symbol 232 MovieClip in Frame 107
onClipEvent (load) {
resistance = 2;
oldxscale = _xscale;
oldyscale = _yscale;
speed = 1;
runspeed = 3;
xspeed = speed;
yspeed = 0;
changepossibility = 44;
possibility = false;
panicdistance = 60;
calmdistance = 110;
}
onClipEvent (enterFrame) {
CARspeed = _root.CAR.speed;
if (CARspeed < 0) {
CARspeed = CARspeed * -1;
}
if (runover != true) {
xdistance = this._x - _root.CAR._x;
ydistance = this._y - _root.CAR._y;
if (xdistance < 0) {
xdistance = xdistance * -1;
}
if (ydistance < 0) {
ydistance = ydistance * -1;
}
totaldistance = (xdistance + ydistance) / 2;
if (((totaldistance < panicdistance) && (runaway != true)) && (CARspeed > resistance)) {
runaway = true;
oldspeed = speed;
if (random(2) == 1) {
if (_x > _root.CAR._x) {
xspeed = runspeed;
} else {
xspeed = -runspeed;
}
yspeed = 0;
} else {
if (_y > _root.CAR._y) {
yspeed = runspeed;
} else {
yspeed = -runspeed;
}
xspeed = 0;
}
} else if ((runaway == true) && (totaldistance > calmdistance)) {
runaway = false;
speed = oldspeed;
possibility = false;
}
if ((possibility == false) || ((random(possibility) == 1) && (runaway != true))) {
possibility = changepossibility;
direction = random(4);
if (direction == 1) {
xspeed = 0;
yspeed = speed;
}
if (direction == 0) {
xspeed = 0;
yspeed = -speed;
}
if (direction == 3) {
yspeed = 0;
xspeed = speed;
}
if (direction == 2) {
yspeed = 0;
xspeed = -speed;
}
}
_x = (_x + xspeed);
_y = (_y + yspeed);
if (_root.wall.hitTest(_x, _y, true)) {
xspeed = -xspeed;
yspeed = -yspeed;
_x = oldx;
_y = oldy;
} else {
oldx = _x;
oldy = _y;
hitwall = false;
}
}
if ((hitTest(_root.CAR) && (CARspeed > resistance)) && (runover != true)) {
runover = true;
this.gotoAndPlay(2);
_root.killed = _root.killed + 1;
}
}
Instance of Symbol 236 MovieClip in Frame 107
onClipEvent (load) {
resistance = 2;
oldxscale = _xscale;
oldyscale = _yscale;
speed = 1;
runspeed = 3;
xspeed = speed;
yspeed = 0;
changepossibility = 44;
possibility = false;
panicdistance = 60;
calmdistance = 110;
}
onClipEvent (enterFrame) {
CARspeed = _root.CAR.speed;
if (CARspeed < 0) {
CARspeed = CARspeed * -1;
}
if (runover != true) {
xdistance = this._x - _root.CAR._x;
ydistance = this._y - _root.CAR._y;
if (xdistance < 0) {
xdistance = xdistance * -1;
}
if (ydistance < 0) {
ydistance = ydistance * -1;
}
totaldistance = (xdistance + ydistance) / 2;
if (((totaldistance < panicdistance) && (runaway != true)) && (CARspeed > resistance)) {
runaway = true;
oldspeed = speed;
if (random(2) == 1) {
if (_x > _root.CAR._x) {
xspeed = runspeed;
} else {
xspeed = -runspeed;
}
yspeed = 0;
} else {
if (_y > _root.CAR._y) {
yspeed = runspeed;
} else {
yspeed = -runspeed;
}
xspeed = 0;
}
} else if ((runaway == true) && (totaldistance > calmdistance)) {
runaway = false;
speed = oldspeed;
possibility = false;
}
if ((possibility == false) || ((random(possibility) == 1) && (runaway != true))) {
possibility = changepossibility;
direction = random(4);
if (direction == 1) {
xspeed = 0;
yspeed = speed;
}
if (direction == 0) {
xspeed = 0;
yspeed = -speed;
}
if (direction == 3) {
yspeed = 0;
xspeed = speed;
}
if (direction == 2) {
yspeed = 0;
xspeed = -speed;
}
}
_x = (_x + xspeed);
_y = (_y + yspeed);
if (_root.wall.hitTest(_x, _y, true)) {
xspeed = -xspeed;
yspeed = -yspeed;
_x = oldx;
_y = oldy;
} else {
oldx = _x;
oldy = _y;
hitwall = false;
}
}
if ((hitTest(_root.CAR) && (CARspeed > resistance)) && (runover != true)) {
runover = true;
this.gotoAndPlay(2);
_root.killed = _root.killed + 1;
}
}
Instance of Symbol 236 MovieClip in Frame 107
onClipEvent (load) {
resistance = 2;
oldxscale = _xscale;
oldyscale = _yscale;
speed = 1;
runspeed = 3;
xspeed = speed;
yspeed = 0;
changepossibility = 44;
possibility = false;
panicdistance = 60;
calmdistance = 110;
}
onClipEvent (enterFrame) {
CARspeed = _root.CAR.speed;
if (CARspeed < 0) {
CARspeed = CARspeed * -1;
}
if (runover != true) {
xdistance = this._x - _root.CAR._x;
ydistance = this._y - _root.CAR._y;
if (xdistance < 0) {
xdistance = xdistance * -1;
}
if (ydistance < 0) {
ydistance = ydistance * -1;
}
totaldistance = (xdistance + ydistance) / 2;
if (((totaldistance < panicdistance) && (runaway != true)) && (CARspeed > resistance)) {
runaway = true;
oldspeed = speed;
if (random(2) == 1) {
if (_x > _root.CAR._x) {
xspeed = runspeed;
} else {
xspeed = -runspeed;
}
yspeed = 0;
} else {
if (_y > _root.CAR._y) {
yspeed = runspeed;
} else {
yspeed = -runspeed;
}
xspeed = 0;
}
} else if ((runaway == true) && (totaldistance > calmdistance)) {
runaway = false;
speed = oldspeed;
possibility = false;
}
if ((possibility == false) || ((random(possibility) == 1) && (runaway != true))) {
possibility = changepossibility;
direction = random(4);
if (direction == 1) {
xspeed = 0;
yspeed = speed;
}
if (direction == 0) {
xspeed = 0;
yspeed = -speed;
}
if (direction == 3) {
yspeed = 0;
xspeed = speed;
}
if (direction == 2) {
yspeed = 0;
xspeed = -speed;
}
}
_x = (_x + xspeed);
_y = (_y + yspeed);
if (_root.wall.hitTest(_x, _y, true)) {
xspeed = -xspeed;
yspeed = -yspeed;
_x = oldx;
_y = oldy;
} else {
oldx = _x;
oldy = _y;
hitwall = false;
}
}
if ((hitTest(_root.CAR) && (CARspeed > resistance)) && (runover != true)) {
runover = true;
this.gotoAndPlay(2);
_root.killed = _root.killed + 1;
}
}
Instance of Symbol 179 MovieClip "CAR" in Frame 107
onClipEvent (load) {
_root.health = 100;
_root.killed = 0;
_root.speed = 0;
speed = 0;
maxspeed = 10;
}
onClipEvent (enterFrame) {
_root.speed = int(speed);
if (_root.health < 1) {
tellTarget ("/") {
_root.gotoAndStop("dead");
};
}
if (Key.isDown(38)) {
speed = speed + 1.5;
moving = true;
}
if (Key.isDown(40)) {
speed = speed - 0.75;
}
if (Math.abs(speed) > maxspeed) {
speed = speed * 0.9;
moving = true;
}
if (Key.isDown(37)) {
_rotation = (_rotation - 7);
moving = true;
}
if (Key.isDown(39)) {
_rotation = (_rotation + 7);
moving = true;
}
speed = speed * 0.88;
x = Math.sin(_rotation * (Math.PI/180)) * speed;
y = (Math.cos(_rotation * (Math.PI/180)) * speed) * -1;
_x = (_x + x);
_y = (_y + y);
}
Instance of Symbol 249 MovieClip in Frame 107
onClipEvent (enterFrame) {
if (_root.sec < 1) {
tellTarget ("/") {
_root.gotoAndStop("dead");
};
}
}
Instance of Symbol 252 MovieClip in Frame 107
onClipEvent (enterFrame) {
if (_root.killed > 5) {
tellTarget ("/") {
gotoAndPlay ("complete");
};
}
}
Frame 108
stop();
stop();
stop();
Frame 113
stop();
Instance of Symbol 249 MovieClip in Frame 113
onClipEvent (enterFrame) {
if (_root.sec < 1) {
_root.gotoAndStop(5);
}
}
Instance of Symbol 252 MovieClip in Frame 113
onClipEvent (enterFrame) {
if (_root.killed > 5) {
_root.gotoAndPlay("complete");
}
}
Frame 114
Instance of Symbol 252 MovieClip in Frame 114
onClipEvent (enterFrame) {
if (_root.killed > 5) {
_root.gotoAndStop("complete");
}
}
Frame 124
stopAllSounds();
stop();
Frame 125
Now = 0;
StartTime = getTimer();
Frame 126
Now = getTimer() - StartTime;
if (Number(Now) < 1) {
gotoAndPlay (125);
} else {
nextFrame();
}
Frame 127
stop();
stop();
Instance of Symbol 282 MovieClip "wall" in Frame 127
onClipEvent (enterFrame) {
if (hitTest(_root.CAR._x, _root.CAR._y, true)) {
_root.CAR.speed = -_root.CAR.speed;
speed = _root.CAR.speed;
if (speed < 0) {
speed = speed * -1;
}
_root.CAR.nextFrame();
_root.health = _root.health - (2 + int(speed));
_root.CAR._x = oldx;
_root.CAR._y = oldy;
} else {
oldx = _root.CAR._x;
oldy = _root.CAR._y;
}
}
Instance of Symbol 220 MovieClip in Frame 127
onClipEvent (enterFrame) {
if (Key.isDown(38)) {
yourSound = new Sound();
yourSound.attachSound("engine");
yourSound.start();
}
}
Instance of Symbol 227 MovieClip in Frame 127
onClipEvent (enterFrame) {
if (hitTest(_root.CAR._x, _root.CAR._y, true)) {
_root.CAR.speed = -_root.CAR.speed;
speed = _root.CAR.speed;
if (speed < 0) {
speed = speed * -1;
}
_root.CAR.nextFrame();
_root.health = _root.health - (2 + int(speed));
_root.CAR._x = oldx;
_root.CAR._y = oldy;
} else {
oldx = _root.CAR._x;
oldy = _root.CAR._y;
}
}
Instance of Symbol 200 MovieClip in Frame 127
onClipEvent (load) {
resistance = 2;
oldxscale = _xscale;
oldyscale = _yscale;
speed = 1;
runspeed = 3;
xspeed = speed;
yspeed = 0;
changepossibility = 44;
possibility = false;
panicdistance = 60;
calmdistance = 110;
}
onClipEvent (enterFrame) {
CARspeed = _root.CAR.speed;
if (CARspeed < 0) {
CARspeed = CARspeed * -1;
}
if (runover != true) {
xdistance = this._x - _root.CAR._x;
ydistance = this._y - _root.CAR._y;
if (xdistance < 0) {
xdistance = xdistance * -1;
}
if (ydistance < 0) {
ydistance = ydistance * -1;
}
totaldistance = (xdistance + ydistance) / 2;
if (((totaldistance < panicdistance) && (runaway != true)) && (CARspeed > resistance)) {
runaway = true;
oldspeed = speed;
if (random(2) == 1) {
if (_x > _root.CAR._x) {
xspeed = runspeed;
} else {
xspeed = -runspeed;
}
yspeed = 0;
} else {
if (_y > _root.CAR._y) {
yspeed = runspeed;
} else {
yspeed = -runspeed;
}
xspeed = 0;
}
} else if ((runaway == true) && (totaldistance > calmdistance)) {
runaway = false;
speed = oldspeed;
possibility = false;
}
if ((possibility == false) || ((random(possibility) == 1) && (runaway != true))) {
possibility = changepossibility;
direction = random(4);
if (direction == 1) {
xspeed = 0;
yspeed = speed;
}
if (direction == 0) {
xspeed = 0;
yspeed = -speed;
}
if (direction == 3) {
yspeed = 0;
xspeed = speed;
}
if (direction == 2) {
yspeed = 0;
xspeed = -speed;
}
}
_x = (_x + xspeed);
_y = (_y + yspeed);
if (_root.wall.hitTest(_x, _y, true)) {
xspeed = -xspeed;
yspeed = -yspeed;
_x = oldx;
_y = oldy;
} else {
oldx = _x;
oldy = _y;
hitwall = false;
}
}
if ((hitTest(_root.CAR) && (CARspeed > resistance)) && (runover != true)) {
runover = true;
this.gotoAndPlay(2);
_root.killed = _root.killed + 1;
}
}
Instance of Symbol 200 MovieClip in Frame 127
onClipEvent (load) {
resistance = 2;
oldxscale = _xscale;
oldyscale = _yscale;
speed = 1;
runspeed = 3;
xspeed = speed;
yspeed = 0;
changepossibility = 44;
possibility = false;
panicdistance = 60;
calmdistance = 110;
}
onClipEvent (enterFrame) {
CARspeed = _root.CAR.speed;
if (CARspeed < 0) {
CARspeed = CARspeed * -1;
}
if (runover != true) {
xdistance = this._x - _root.CAR._x;
ydistance = this._y - _root.CAR._y;
if (xdistance < 0) {
xdistance = xdistance * -1;
}
if (ydistance < 0) {
ydistance = ydistance * -1;
}
totaldistance = (xdistance + ydistance) / 2;
if (((totaldistance < panicdistance) && (runaway != true)) && (CARspeed > resistance)) {
runaway = true;
oldspeed = speed;
if (random(2) == 1) {
if (_x > _root.CAR._x) {
xspeed = runspeed;
} else {
xspeed = -runspeed;
}
yspeed = 0;
} else {
if (_y > _root.CAR._y) {
yspeed = runspeed;
} else {
yspeed = -runspeed;
}
xspeed = 0;
}
} else if ((runaway == true) && (totaldistance > calmdistance)) {
runaway = false;
speed = oldspeed;
possibility = false;
}
if ((possibility == false) || ((random(possibility) == 1) && (runaway != true))) {
possibility = changepossibility;
direction = random(4);
if (direction == 1) {
xspeed = 0;
yspeed = speed;
}
if (direction == 0) {
xspeed = 0;
yspeed = -speed;
}
if (direction == 3) {
yspeed = 0;
xspeed = speed;
}
if (direction == 2) {
yspeed = 0;
xspeed = -speed;
}
}
_x = (_x + xspeed);
_y = (_y + yspeed);
if (_root.wall.hitTest(_x, _y, true)) {
xspeed = -xspeed;
yspeed = -yspeed;
_x = oldx;
_y = oldy;
} else {
oldx = _x;
oldy = _y;
hitwall = false;
}
}
if ((hitTest(_root.CAR) && (CARspeed > resistance)) && (runover != true)) {
runover = true;
this.gotoAndPlay(2);
_root.killed = _root.killed + 1;
}
}
Instance of Symbol 200 MovieClip in Frame 127
onClipEvent (load) {
resistance = 2;
oldxscale = _xscale;
oldyscale = _yscale;
speed = 1;
runspeed = 3;
xspeed = speed;
yspeed = 0;
changepossibility = 44;
possibility = false;
panicdistance = 60;
calmdistance = 110;
}
onClipEvent (enterFrame) {
CARspeed = _root.CAR.speed;
if (CARspeed < 0) {
CARspeed = CARspeed * -1;
}
if (runover != true) {
xdistance = this._x - _root.CAR._x;
ydistance = this._y - _root.CAR._y;
if (xdistance < 0) {
xdistance = xdistance * -1;
}
if (ydistance < 0) {
ydistance = ydistance * -1;
}
totaldistance = (xdistance + ydistance) / 2;
if (((totaldistance < panicdistance) && (runaway != true)) && (CARspeed > resistance)) {
runaway = true;
oldspeed = speed;
if (random(2) == 1) {
if (_x > _root.CAR._x) {
xspeed = runspeed;
} else {
xspeed = -runspeed;
}
yspeed = 0;
} else {
if (_y > _root.CAR._y) {
yspeed = runspeed;
} else {
yspeed = -runspeed;
}
xspeed = 0;
}
} else if ((runaway == true) && (totaldistance > calmdistance)) {
runaway = false;
speed = oldspeed;
possibility = false;
}
if ((possibility == false) || ((random(possibility) == 1) && (runaway != true))) {
possibility = changepossibility;
direction = random(4);
if (direction == 1) {
xspeed = 0;
yspeed = speed;
}
if (direction == 0) {
xspeed = 0;
yspeed = -speed;
}
if (direction == 3) {
yspeed = 0;
xspeed = speed;
}
if (direction == 2) {
yspeed = 0;
xspeed = -speed;
}
}
_x = (_x + xspeed);
_y = (_y + yspeed);
if (_root.wall.hitTest(_x, _y, true)) {
xspeed = -xspeed;
yspeed = -yspeed;
_x = oldx;
_y = oldy;
} else {
oldx = _x;
oldy = _y;
hitwall = false;
}
}
if ((hitTest(_root.CAR) && (CARspeed > resistance)) && (runover != true)) {
runover = true;
this.gotoAndPlay(2);
_root.killed = _root.killed + 1;
}
}
Instance of Symbol 232 MovieClip in Frame 127
onClipEvent (load) {
resistance = 2;
oldxscale = _xscale;
oldyscale = _yscale;
speed = 1;
runspeed = 3;
xspeed = speed;
yspeed = 0;
changepossibility = 44;
possibility = false;
panicdistance = 60;
calmdistance = 110;
}
onClipEvent (enterFrame) {
CARspeed = _root.CAR.speed;
if (CARspeed < 0) {
CARspeed = CARspeed * -1;
}
if (runover != true) {
xdistance = this._x - _root.CAR._x;
ydistance = this._y - _root.CAR._y;
if (xdistance < 0) {
xdistance = xdistance * -1;
}
if (ydistance < 0) {
ydistance = ydistance * -1;
}
totaldistance = (xdistance + ydistance) / 2;
if (((totaldistance < panicdistance) && (runaway != true)) && (CARspeed > resistance)) {
runaway = true;
oldspeed = speed;
if (random(2) == 1) {
if (_x > _root.CAR._x) {
xspeed = runspeed;
} else {
xspeed = -runspeed;
}
yspeed = 0;
} else {
if (_y > _root.CAR._y) {
yspeed = runspeed;
} else {
yspeed = -runspeed;
}
xspeed = 0;
}
} else if ((runaway == true) && (totaldistance > calmdistance)) {
runaway = false;
speed = oldspeed;
possibility = false;
}
if ((possibility == false) || ((random(possibility) == 1) && (runaway != true))) {
possibility = changepossibility;
direction = random(4);
if (direction == 1) {
xspeed = 0;
yspeed = speed;
}
if (direction == 0) {
xspeed = 0;
yspeed = -speed;
}
if (direction == 3) {
yspeed = 0;
xspeed = speed;
}
if (direction == 2) {
yspeed = 0;
xspeed = -speed;
}
}
_x = (_x + xspeed);
_y = (_y + yspeed);
if (_root.wall.hitTest(_x, _y, true)) {
xspeed = -xspeed;
yspeed = -yspeed;
_x = oldx;
_y = oldy;
} else {
oldx = _x;
oldy = _y;
hitwall = false;
}
}
if ((hitTest(_root.CAR) && (CARspeed > resistance)) && (runover != true)) {
runover = true;
this.gotoAndPlay(2);
_root.killed = _root.killed + 1;
}
}
Instance of Symbol 236 MovieClip in Frame 127
onClipEvent (load) {
resistance = 2;
oldxscale = _xscale;
oldyscale = _yscale;
speed = 1;
runspeed = 3;
xspeed = speed;
yspeed = 0;
changepossibility = 44;
possibility = false;
panicdistance = 60;
calmdistance = 110;
}
onClipEvent (enterFrame) {
CARspeed = _root.CAR.speed;
if (CARspeed < 0) {
CARspeed = CARspeed * -1;
}
if (runover != true) {
xdistance = this._x - _root.CAR._x;
ydistance = this._y - _root.CAR._y;
if (xdistance < 0) {
xdistance = xdistance * -1;
}
if (ydistance < 0) {
ydistance = ydistance * -1;
}
totaldistance = (xdistance + ydistance) / 2;
if (((totaldistance < panicdistance) && (runaway != true)) && (CARspeed > resistance)) {
runaway = true;
oldspeed = speed;
if (random(2) == 1) {
if (_x > _root.CAR._x) {
xspeed = runspeed;
} else {
xspeed = -runspeed;
}
yspeed = 0;
} else {
if (_y > _root.CAR._y) {
yspeed = runspeed;
} else {
yspeed = -runspeed;
}
xspeed = 0;
}
} else if ((runaway == true) && (totaldistance > calmdistance)) {
runaway = false;
speed = oldspeed;
possibility = false;
}
if ((possibility == false) || ((random(possibility) == 1) && (runaway != true))) {
possibility = changepossibility;
direction = random(4);
if (direction == 1) {
xspeed = 0;
yspeed = speed;
}
if (direction == 0) {
xspeed = 0;
yspeed = -speed;
}
if (direction == 3) {
yspeed = 0;
xspeed = speed;
}
if (direction == 2) {
yspeed = 0;
xspeed = -speed;
}
}
_x = (_x + xspeed);
_y = (_y + yspeed);
if (_root.wall.hitTest(_x, _y, true)) {
xspeed = -xspeed;
yspeed = -yspeed;
_x = oldx;
_y = oldy;
} else {
oldx = _x;
oldy = _y;
hitwall = false;
}
}
if ((hitTest(_root.CAR) && (CARspeed > resistance)) && (runover != true)) {
runover = true;
this.gotoAndPlay(2);
_root.killed = _root.killed + 1;
}
}
Instance of Symbol 236 MovieClip in Frame 127
onClipEvent (load) {
resistance = 2;
oldxscale = _xscale;
oldyscale = _yscale;
speed = 1;
runspeed = 3;
xspeed = speed;
yspeed = 0;
changepossibility = 44;
possibility = false;
panicdistance = 60;
calmdistance = 110;
}
onClipEvent (enterFrame) {
CARspeed = _root.CAR.speed;
if (CARspeed < 0) {
CARspeed = CARspeed * -1;
}
if (runover != true) {
xdistance = this._x - _root.CAR._x;
ydistance = this._y - _root.CAR._y;
if (xdistance < 0) {
xdistance = xdistance * -1;
}
if (ydistance < 0) {
ydistance = ydistance * -1;
}
totaldistance = (xdistance + ydistance) / 2;
if (((totaldistance < panicdistance) && (runaway != true)) && (CARspeed > resistance)) {
runaway = true;
oldspeed = speed;
if (random(2) == 1) {
if (_x > _root.CAR._x) {
xspeed = runspeed;
} else {
xspeed = -runspeed;
}
yspeed = 0;
} else {
if (_y > _root.CAR._y) {
yspeed = runspeed;
} else {
yspeed = -runspeed;
}
xspeed = 0;
}
} else if ((runaway == true) && (totaldistance > calmdistance)) {
runaway = false;
speed = oldspeed;
possibility = false;
}
if ((possibility == false) || ((random(possibility) == 1) && (runaway != true))) {
possibility = changepossibility;
direction = random(4);
if (direction == 1) {
xspeed = 0;
yspeed = speed;
}
if (direction == 0) {
xspeed = 0;
yspeed = -speed;
}
if (direction == 3) {
yspeed = 0;
xspeed = speed;
}
if (direction == 2) {
yspeed = 0;
xspeed = -speed;
}
}
_x = (_x + xspeed);
_y = (_y + yspeed);
if (_root.wall.hitTest(_x, _y, true)) {
xspeed = -xspeed;
yspeed = -yspeed;
_x = oldx;
_y = oldy;
} else {
oldx = _x;
oldy = _y;
hitwall = false;
}
}
if ((hitTest(_root.CAR) && (CARspeed > resistance)) && (runover != true)) {
runover = true;
this.gotoAndPlay(2);
_root.killed = _root.killed + 1;
}
}
Instance of Symbol 236 MovieClip in Frame 127
onClipEvent (load) {
resistance = 2;
oldxscale = _xscale;
oldyscale = _yscale;
speed = 1;
runspeed = 3;
xspeed = speed;
yspeed = 0;
changepossibility = 44;
possibility = false;
panicdistance = 60;
calmdistance = 110;
}
onClipEvent (enterFrame) {
CARspeed = _root.CAR.speed;
if (CARspeed < 0) {
CARspeed = CARspeed * -1;
}
if (runover != true) {
xdistance = this._x - _root.CAR._x;
ydistance = this._y - _root.CAR._y;
if (xdistance < 0) {
xdistance = xdistance * -1;
}
if (ydistance < 0) {
ydistance = ydistance * -1;
}
totaldistance = (xdistance + ydistance) / 2;
if (((totaldistance < panicdistance) && (runaway != true)) && (CARspeed > resistance)) {
runaway = true;
oldspeed = speed;
if (random(2) == 1) {
if (_x > _root.CAR._x) {
xspeed = runspeed;
} else {
xspeed = -runspeed;
}
yspeed = 0;
} else {
if (_y > _root.CAR._y) {
yspeed = runspeed;
} else {
yspeed = -runspeed;
}
xspeed = 0;
}
} else if ((runaway == true) && (totaldistance > calmdistance)) {
runaway = false;
speed = oldspeed;
possibility = false;
}
if ((possibility == false) || ((random(possibility) == 1) && (runaway != true))) {
possibility = changepossibility;
direction = random(4);
if (direction == 1) {
xspeed = 0;
yspeed = speed;
}
if (direction == 0) {
xspeed = 0;
yspeed = -speed;
}
if (direction == 3) {
yspeed = 0;
xspeed = speed;
}
if (direction == 2) {
yspeed = 0;
xspeed = -speed;
}
}
_x = (_x + xspeed);
_y = (_y + yspeed);
if (_root.wall.hitTest(_x, _y, true)) {
xspeed = -xspeed;
yspeed = -yspeed;
_x = oldx;
_y = oldy;
} else {
oldx = _x;
oldy = _y;
hitwall = false;
}
}
if ((hitTest(_root.CAR) && (CARspeed > resistance)) && (runover != true)) {
runover = true;
this.gotoAndPlay(2);
_root.killed = _root.killed + 1;
}
}
Instance of Symbol 236 MovieClip in Frame 127
onClipEvent (load) {
resistance = 2;
oldxscale = _xscale;
oldyscale = _yscale;
speed = 1;
runspeed = 3;
xspeed = speed;
yspeed = 0;
changepossibility = 44;
possibility = false;
panicdistance = 60;
calmdistance = 110;
}
onClipEvent (enterFrame) {
CARspeed = _root.CAR.speed;
if (CARspeed < 0) {
CARspeed = CARspeed * -1;
}
if (runover != true) {
xdistance = this._x - _root.CAR._x;
ydistance = this._y - _root.CAR._y;
if (xdistance < 0) {
xdistance = xdistance * -1;
}
if (ydistance < 0) {
ydistance = ydistance * -1;
}
totaldistance = (xdistance + ydistance) / 2;
if (((totaldistance < panicdistance) && (runaway != true)) && (CARspeed > resistance)) {
runaway = true;
oldspeed = speed;
if (random(2) == 1) {
if (_x > _root.CAR._x) {
xspeed = runspeed;
} else {
xspeed = -runspeed;
}
yspeed = 0;
} else {
if (_y > _root.CAR._y) {
yspeed = runspeed;
} else {
yspeed = -runspeed;
}
xspeed = 0;
}
} else if ((runaway == true) && (totaldistance > calmdistance)) {
runaway = false;
speed = oldspeed;
possibility = false;
}
if ((possibility == false) || ((random(possibility) == 1) && (runaway != true))) {
possibility = changepossibility;
direction = random(4);
if (direction == 1) {
xspeed = 0;
yspeed = speed;
}
if (direction == 0) {
xspeed = 0;
yspeed = -speed;
}
if (direction == 3) {
yspeed = 0;
xspeed = speed;
}
if (direction == 2) {
yspeed = 0;
xspeed = -speed;
}
}
_x = (_x + xspeed);
_y = (_y + yspeed);
if (_root.wall.hitTest(_x, _y, true)) {
xspeed = -xspeed;
yspeed = -yspeed;
_x = oldx;
_y = oldy;
} else {
oldx = _x;
oldy = _y;
hitwall = false;
}
}
if ((hitTest(_root.CAR) && (CARspeed > resistance)) && (runover != true)) {
runover = true;
this.gotoAndPlay(2);
_root.killed = _root.killed + 1;
}
}
Instance of Symbol 179 MovieClip "CAR" in Frame 127
onClipEvent (load) {
_root.health = 100;
_root.killed = 0;
_root.speed = 0;
speed = 0;
maxspeed = 10;
}
onClipEvent (enterFrame) {
_root.speed = int(speed);
if (_root.health < 1) {
tellTarget ("/") {
_root.gotoAndStop("dead2");
};
}
if (Key.isDown(38)) {
speed = speed + 1.5;
moving = true;
}
if (Key.isDown(40)) {
speed = speed - 0.75;
}
if (Math.abs(speed) > maxspeed) {
speed = speed * 0.9;
moving = true;
}
if (Key.isDown(37)) {
_rotation = (_rotation - 7);
moving = true;
}
if (Key.isDown(39)) {
_rotation = (_rotation + 7);
moving = true;
}
speed = speed * 0.88;
x = Math.sin(_rotation * (Math.PI/180)) * speed;
y = (Math.cos(_rotation * (Math.PI/180)) * speed) * -1;
_x = (_x + x);
_y = (_y + y);
}
Instance of Symbol 249 MovieClip in Frame 127
onClipEvent (enterFrame) {
if (_root.sec < 1) {
_root.gotoAndStop(5);
}
}
Instance of Symbol 252 MovieClip in Frame 127
onClipEvent (enterFrame) {
if (_root.killed > 7) {
tellTarget ("/") {
gotoAndPlay ("complete2");
};
}
}
Frame 128
stop();
stopAllSounds();
stopAllSounds();
stop();
Frame 134
stop();
Frame 144
stopAllSounds();
stop();
Frame 145
Now = 0;
StartTime = getTimer();
Frame 146
Now = getTimer() - StartTime;
if (Number(Now) < 1) {
gotoAndPlay (145);
} else {
nextFrame();
}
Frame 147
stop();
stop();
Instance of Symbol 220 MovieClip in Frame 147
onClipEvent (enterFrame) {
if (Key.isDown(38)) {
yourSound = new Sound();
yourSound.attachSound("engine");
yourSound.start();
}
}
Instance of Symbol 317 MovieClip "wall" in Frame 147
onClipEvent (enterFrame) {
if (hitTest(_root.CAR._x, _root.CAR._y, true)) {
_root.CAR.speed = -_root.CAR.speed;
speed = _root.CAR.speed;
if (speed < 0) {
speed = speed * -1;
}
_root.CAR.nextFrame();
_root.health = _root.health - (2 + int(speed));
_root.CAR._x = oldx;
_root.CAR._y = oldy;
} else {
oldx = _root.CAR._x;
oldy = _root.CAR._y;
}
}
Instance of Symbol 227 MovieClip in Frame 147
onClipEvent (enterFrame) {
if (hitTest(_root.CAR._x, _root.CAR._y, true)) {
_root.CAR.speed = -_root.CAR.speed;
speed = _root.CAR.speed;
if (speed < 0) {
speed = speed * -1;
}
_root.CAR.nextFrame();
_root.health = _root.health - (2 + int(speed));
_root.CAR._x = oldx;
_root.CAR._y = oldy;
} else {
oldx = _root.CAR._x;
oldy = _root.CAR._y;
}
}
Instance of Symbol 200 MovieClip in Frame 147
onClipEvent (load) {
resistance = 2;
oldxscale = _xscale;
oldyscale = _yscale;
speed = 1;
runspeed = 3;
xspeed = speed;
yspeed = 0;
changepossibility = 44;
possibility = false;
panicdistance = 60;
calmdistance = 110;
}
onClipEvent (enterFrame) {
CARspeed = _root.CAR.speed;
if (CARspeed < 0) {
CARspeed = CARspeed * -1;
}
if (runover != true) {
xdistance = this._x - _root.CAR._x;
ydistance = this._y - _root.CAR._y;
if (xdistance < 0) {
xdistance = xdistance * -1;
}
if (ydistance < 0) {
ydistance = ydistance * -1;
}
totaldistance = (xdistance + ydistance) / 2;
if (((totaldistance < panicdistance) && (runaway != true)) && (CARspeed > resistance)) {
runaway = true;
oldspeed = speed;
if (random(2) == 1) {
if (_x > _root.CAR._x) {
xspeed = runspeed;
} else {
xspeed = -runspeed;
}
yspeed = 0;
} else {
if (_y > _root.CAR._y) {
yspeed = runspeed;
} else {
yspeed = -runspeed;
}
xspeed = 0;
}
} else if ((runaway == true) && (totaldistance > calmdistance)) {
runaway = false;
speed = oldspeed;
possibility = false;
}
if ((possibility == false) || ((random(possibility) == 1) && (runaway != true))) {
possibility = changepossibility;
direction = random(4);
if (direction == 1) {
xspeed = 0;
yspeed = speed;
}
if (direction == 0) {
xspeed = 0;
yspeed = -speed;
}
if (direction == 3) {
yspeed = 0;
xspeed = speed;
}
if (direction == 2) {
yspeed = 0;
xspeed = -speed;
}
}
_x = (_x + xspeed);
_y = (_y + yspeed);
if (_root.wall.hitTest(_x, _y, true)) {
xspeed = -xspeed;
yspeed = -yspeed;
_x = oldx;
_y = oldy;
} else {
oldx = _x;
oldy = _y;
hitwall = false;
}
}
if ((hitTest(_root.CAR) && (CARspeed > resistance)) && (runover != true)) {
runover = true;
this.gotoAndPlay(2);
_root.killed = _root.killed + 1;
}
}
Instance of Symbol 200 MovieClip in Frame 147
onClipEvent (load) {
resistance = 2;
oldxscale = _xscale;
oldyscale = _yscale;
speed = 1;
runspeed = 3;
xspeed = speed;
yspeed = 0;
changepossibility = 44;
possibility = false;
panicdistance = 60;
calmdistance = 110;
}
onClipEvent (enterFrame) {
CARspeed = _root.CAR.speed;
if (CARspeed < 0) {
CARspeed = CARspeed * -1;
}
if (runover != true) {
xdistance = this._x - _root.CAR._x;
ydistance = this._y - _root.CAR._y;
if (xdistance < 0) {
xdistance = xdistance * -1;
}
if (ydistance < 0) {
ydistance = ydistance * -1;
}
totaldistance = (xdistance + ydistance) / 2;
if (((totaldistance < panicdistance) && (runaway != true)) && (CARspeed > resistance)) {
runaway = true;
oldspeed = speed;
if (random(2) == 1) {
if (_x > _root.CAR._x) {
xspeed = runspeed;
} else {
xspeed = -runspeed;
}
yspeed = 0;
} else {
if (_y > _root.CAR._y) {
yspeed = runspeed;
} else {
yspeed = -runspeed;
}
xspeed = 0;
}
} else if ((runaway == true) && (totaldistance > calmdistance)) {
runaway = false;
speed = oldspeed;
possibility = false;
}
if ((possibility == false) || ((random(possibility) == 1) && (runaway != true))) {
possibility = changepossibility;
direction = random(4);
if (direction == 1) {
xspeed = 0;
yspeed = speed;
}
if (direction == 0) {
xspeed = 0;
yspeed = -speed;
}
if (direction == 3) {
yspeed = 0;
xspeed = speed;
}
if (direction == 2) {
yspeed = 0;
xspeed = -speed;
}
}
_x = (_x + xspeed);
_y = (_y + yspeed);
if (_root.wall.hitTest(_x, _y, true)) {
xspeed = -xspeed;
yspeed = -yspeed;
_x = oldx;
_y = oldy;
} else {
oldx = _x;
oldy = _y;
hitwall = false;
}
}
if ((hitTest(_root.CAR) && (CARspeed > resistance)) && (runover != true)) {
runover = true;
this.gotoAndPlay(2);
_root.killed = _root.killed + 1;
}
}
Instance of Symbol 232 MovieClip in Frame 147
onClipEvent (load) {
resistance = 2;
oldxscale = _xscale;
oldyscale = _yscale;
speed = 1;
runspeed = 3;
xspeed = speed;
yspeed = 0;
changepossibility = 44;
possibility = false;
panicdistance = 60;
calmdistance = 110;
}
onClipEvent (enterFrame) {
CARspeed = _root.CAR.speed;
if (CARspeed < 0) {
CARspeed = CARspeed * -1;
}
if (runover != true) {
xdistance = this._x - _root.CAR._x;
ydistance = this._y - _root.CAR._y;
if (xdistance < 0) {
xdistance = xdistance * -1;
}
if (ydistance < 0) {
ydistance = ydistance * -1;
}
totaldistance = (xdistance + ydistance) / 2;
if (((totaldistance < panicdistance) && (runaway != true)) && (CARspeed > resistance)) {
runaway = true;
oldspeed = speed;
if (random(2) == 1) {
if (_x > _root.CAR._x) {
xspeed = runspeed;
} else {
xspeed = -runspeed;
}
yspeed = 0;
} else {
if (_y > _root.CAR._y) {
yspeed = runspeed;
} else {
yspeed = -runspeed;
}
xspeed = 0;
}
} else if ((runaway == true) && (totaldistance > calmdistance)) {
runaway = false;
speed = oldspeed;
possibility = false;
}
if ((possibility == false) || ((random(possibility) == 1) && (runaway != true))) {
possibility = changepossibility;
direction = random(4);
if (direction == 1) {
xspeed = 0;
yspeed = speed;
}
if (direction == 0) {
xspeed = 0;
yspeed = -speed;
}
if (direction == 3) {
yspeed = 0;
xspeed = speed;
}
if (direction == 2) {
yspeed = 0;
xspeed = -speed;
}
}
_x = (_x + xspeed);
_y = (_y + yspeed);
if (_root.wall.hitTest(_x, _y, true)) {
xspeed = -xspeed;
yspeed = -yspeed;
_x = oldx;
_y = oldy;
} else {
oldx = _x;
oldy = _y;
hitwall = false;
}
}
if ((hitTest(_root.CAR) && (CARspeed > resistance)) && (runover != true)) {
runover = true;
this.gotoAndPlay(2);
_root.killed = _root.killed + 1;
}
}
Instance of Symbol 236 MovieClip in Frame 147
onClipEvent (load) {
resistance = 2;
oldxscale = _xscale;
oldyscale = _yscale;
speed = 1;
runspeed = 3;
xspeed = speed;
yspeed = 0;
changepossibility = 44;
possibility = false;
panicdistance = 60;
calmdistance = 110;
}
onClipEvent (enterFrame) {
CARspeed = _root.CAR.speed;
if (CARspeed < 0) {
CARspeed = CARspeed * -1;
}
if (runover != true) {
xdistance = this._x - _root.CAR._x;
ydistance = this._y - _root.CAR._y;
if (xdistance < 0) {
xdistance = xdistance * -1;
}
if (ydistance < 0) {
ydistance = ydistance * -1;
}
totaldistance = (xdistance + ydistance) / 2;
if (((totaldistance < panicdistance) && (runaway != true)) && (CARspeed > resistance)) {
runaway = true;
oldspeed = speed;
if (random(2) == 1) {
if (_x > _root.CAR._x) {
xspeed = runspeed;
} else {
xspeed = -runspeed;
}
yspeed = 0;
} else {
if (_y > _root.CAR._y) {
yspeed = runspeed;
} else {
yspeed = -runspeed;
}
xspeed = 0;
}
} else if ((runaway == true) && (totaldistance > calmdistance)) {
runaway = false;
speed = oldspeed;
possibility = false;
}
if ((possibility == false) || ((random(possibility) == 1) && (runaway != true))) {
possibility = changepossibility;
direction = random(4);
if (direction == 1) {
xspeed = 0;
yspeed = speed;
}
if (direction == 0) {
xspeed = 0;
yspeed = -speed;
}
if (direction == 3) {
yspeed = 0;
xspeed = speed;
}
if (direction == 2) {
yspeed = 0;
xspeed = -speed;
}
}
_x = (_x + xspeed);
_y = (_y + yspeed);
if (_root.wall.hitTest(_x, _y, true)) {
xspeed = -xspeed;
yspeed = -yspeed;
_x = oldx;
_y = oldy;
} else {
oldx = _x;
oldy = _y;
hitwall = false;
}
}
if ((hitTest(_root.CAR) && (CARspeed > resistance)) && (runover != true)) {
runover = true;
this.gotoAndPlay(2);
_root.killed = _root.killed + 1;
}
}
Instance of Symbol 236 MovieClip in Frame 147
onClipEvent (load) {
resistance = 2;
oldxscale = _xscale;
oldyscale = _yscale;
speed = 1;
runspeed = 3;
xspeed = speed;
yspeed = 0;
changepossibility = 44;
possibility = false;
panicdistance = 60;
calmdistance = 110;
}
onClipEvent (enterFrame) {
CARspeed = _root.CAR.speed;
if (CARspeed < 0) {
CARspeed = CARspeed * -1;
}
if (runover != true) {
xdistance = this._x - _root.CAR._x;
ydistance = this._y - _root.CAR._y;
if (xdistance < 0) {
xdistance = xdistance * -1;
}
if (ydistance < 0) {
ydistance = ydistance * -1;
}
totaldistance = (xdistance + ydistance) / 2;
if (((totaldistance < panicdistance) && (runaway != true)) && (CARspeed > resistance)) {
runaway = true;
oldspeed = speed;
if (random(2) == 1) {
if (_x > _root.CAR._x) {
xspeed = runspeed;
} else {
xspeed = -runspeed;
}
yspeed = 0;
} else {
if (_y > _root.CAR._y) {
yspeed = runspeed;
} else {
yspeed = -runspeed;
}
xspeed = 0;
}
} else if ((runaway == true) && (totaldistance > calmdistance)) {
runaway = false;
speed = oldspeed;
possibility = false;
}
if ((possibility == false) || ((random(possibility) == 1) && (runaway != true))) {
possibility = changepossibility;
direction = random(4);
if (direction == 1) {
xspeed = 0;
yspeed = speed;
}
if (direction == 0) {
xspeed = 0;
yspeed = -speed;
}
if (direction == 3) {
yspeed = 0;
xspeed = speed;
}
if (direction == 2) {
yspeed = 0;
xspeed = -speed;
}
}
_x = (_x + xspeed);
_y = (_y + yspeed);
if (_root.wall.hitTest(_x, _y, true)) {
xspeed = -xspeed;
yspeed = -yspeed;
_x = oldx;
_y = oldy;
} else {
oldx = _x;
oldy = _y;
hitwall = false;
}
}
if ((hitTest(_root.CAR) && (CARspeed > resistance)) && (runover != true)) {
runover = true;
this.gotoAndPlay(2);
_root.killed = _root.killed + 1;
}
}
Instance of Symbol 236 MovieClip in Frame 147
onClipEvent (load) {
resistance = 2;
oldxscale = _xscale;
oldyscale = _yscale;
speed = 1;
runspeed = 3;
xspeed = speed;
yspeed = 0;
changepossibility = 44;
possibility = false;
panicdistance = 60;
calmdistance = 110;
}
onClipEvent (enterFrame) {
CARspeed = _root.CAR.speed;
if (CARspeed < 0) {
CARspeed = CARspeed * -1;
}
if (runover != true) {
xdistance = this._x - _root.CAR._x;
ydistance = this._y - _root.CAR._y;
if (xdistance < 0) {
xdistance = xdistance * -1;
}
if (ydistance < 0) {
ydistance = ydistance * -1;
}
totaldistance = (xdistance + ydistance) / 2;
if (((totaldistance < panicdistance) && (runaway != true)) && (CARspeed > resistance)) {
runaway = true;
oldspeed = speed;
if (random(2) == 1) {
if (_x > _root.CAR._x) {
xspeed = runspeed;
} else {
xspeed = -runspeed;
}
yspeed = 0;
} else {
if (_y > _root.CAR._y) {
yspeed = runspeed;
} else {
yspeed = -runspeed;
}
xspeed = 0;
}
} else if ((runaway == true) && (totaldistance > calmdistance)) {
runaway = false;
speed = oldspeed;
possibility = false;
}
if ((possibility == false) || ((random(possibility) == 1) && (runaway != true))) {
possibility = changepossibility;
direction = random(4);
if (direction == 1) {
xspeed = 0;
yspeed = speed;
}
if (direction == 0) {
xspeed = 0;
yspeed = -speed;
}
if (direction == 3) {
yspeed = 0;
xspeed = speed;
}
if (direction == 2) {
yspeed = 0;
xspeed = -speed;
}
}
_x = (_x + xspeed);
_y = (_y + yspeed);
if (_root.wall.hitTest(_x, _y, true)) {
xspeed = -xspeed;
yspeed = -yspeed;
_x = oldx;
_y = oldy;
} else {
oldx = _x;
oldy = _y;
hitwall = false;
}
}
if ((hitTest(_root.CAR) && (CARspeed > resistance)) && (runover != true)) {
runover = true;
this.gotoAndPlay(2);
_root.killed = _root.killed + 1;
}
}
Instance of Symbol 200 MovieClip in Frame 147
onClipEvent (load) {
resistance = 2;
oldxscale = _xscale;
oldyscale = _yscale;
speed = 1;
runspeed = 3;
xspeed = speed;
yspeed = 0;
changepossibility = 44;
possibility = false;
panicdistance = 60;
calmdistance = 110;
}
onClipEvent (enterFrame) {
CARspeed = _root.CAR.speed;
if (CARspeed < 0) {
CARspeed = CARspeed * -1;
}
if (runover != true) {
xdistance = this._x - _root.CAR._x;
ydistance = this._y - _root.CAR._y;
if (xdistance < 0) {
xdistance = xdistance * -1;
}
if (ydistance < 0) {
ydistance = ydistance * -1;
}
totaldistance = (xdistance + ydistance) / 2;
if (((totaldistance < panicdistance) && (runaway != true)) && (CARspeed > resistance)) {
runaway = true;
oldspeed = speed;
if (random(2) == 1) {
if (_x > _root.CAR._x) {
xspeed = runspeed;
} else {
xspeed = -runspeed;
}
yspeed = 0;
} else {
if (_y > _root.CAR._y) {
yspeed = runspeed;
} else {
yspeed = -runspeed;
}
xspeed = 0;
}
} else if ((runaway == true) && (totaldistance > calmdistance)) {
runaway = false;
speed = oldspeed;
possibility = false;
}
if ((possibility == false) || ((random(possibility) == 1) && (runaway != true))) {
possibility = changepossibility;
direction = random(4);
if (direction == 1) {
xspeed = 0;
yspeed = speed;
}
if (direction == 0) {
xspeed = 0;
yspeed = -speed;
}
if (direction == 3) {
yspeed = 0;
xspeed = speed;
}
if (direction == 2) {
yspeed = 0;
xspeed = -speed;
}
}
_x = (_x + xspeed);
_y = (_y + yspeed);
if (_root.wall.hitTest(_x, _y, true)) {
xspeed = -xspeed;
yspeed = -yspeed;
_x = oldx;
_y = oldy;
} else {
oldx = _x;
oldy = _y;
hitwall = false;
}
}
if ((hitTest(_root.CAR) && (CARspeed > resistance)) && (runover != true)) {
runover = true;
this.gotoAndPlay(2);
_root.killed = _root.killed + 1;
}
}
Instance of Symbol 236 MovieClip in Frame 147
onClipEvent (load) {
resistance = 2;
oldxscale = _xscale;
oldyscale = _yscale;
speed = 1;
runspeed = 3;
xspeed = speed;
yspeed = 0;
changepossibility = 44;
possibility = false;
panicdistance = 60;
calmdistance = 110;
}
onClipEvent (enterFrame) {
CARspeed = _root.CAR.speed;
if (CARspeed < 0) {
CARspeed = CARspeed * -1;
}
if (runover != true) {
xdistance = this._x - _root.CAR._x;
ydistance = this._y - _root.CAR._y;
if (xdistance < 0) {
xdistance = xdistance * -1;
}
if (ydistance < 0) {
ydistance = ydistance * -1;
}
totaldistance = (xdistance + ydistance) / 2;
if (((totaldistance < panicdistance) && (runaway != true)) && (CARspeed > resistance)) {
runaway = true;
oldspeed = speed;
if (random(2) == 1) {
if (_x > _root.CAR._x) {
xspeed = runspeed;
} else {
xspeed = -runspeed;
}
yspeed = 0;
} else {
if (_y > _root.CAR._y) {
yspeed = runspeed;
} else {
yspeed = -runspeed;
}
xspeed = 0;
}
} else if ((runaway == true) && (totaldistance > calmdistance)) {
runaway = false;
speed = oldspeed;
possibility = false;
}
if ((possibility == false) || ((random(possibility) == 1) && (runaway != true))) {
possibility = changepossibility;
direction = random(4);
if (direction == 1) {
xspeed = 0;
yspeed = speed;
}
if (direction == 0) {
xspeed = 0;
yspeed = -speed;
}
if (direction == 3) {
yspeed = 0;
xspeed = speed;
}
if (direction == 2) {
yspeed = 0;
xspeed = -speed;
}
}
_x = (_x + xspeed);
_y = (_y + yspeed);
if (_root.wall.hitTest(_x, _y, true)) {
xspeed = -xspeed;
yspeed = -yspeed;
_x = oldx;
_y = oldy;
} else {
oldx = _x;
oldy = _y;
hitwall = false;
}
}
if ((hitTest(_root.CAR) && (CARspeed > resistance)) && (runover != true)) {
runover = true;
this.gotoAndPlay(2);
_root.killed = _root.killed + 1;
}
}
Instance of Symbol 200 MovieClip in Frame 147
onClipEvent (load) {
resistance = 2;
oldxscale = _xscale;
oldyscale = _yscale;
speed = 1;
runspeed = 3;
xspeed = speed;
yspeed = 0;
changepossibility = 44;
possibility = false;
panicdistance = 60;
calmdistance = 110;
}
onClipEvent (enterFrame) {
CARspeed = _root.CAR.speed;
if (CARspeed < 0) {
CARspeed = CARspeed * -1;
}
if (runover != true) {
xdistance = this._x - _root.CAR._x;
ydistance = this._y - _root.CAR._y;
if (xdistance < 0) {
xdistance = xdistance * -1;
}
if (ydistance < 0) {
ydistance = ydistance * -1;
}
totaldistance = (xdistance + ydistance) / 2;
if (((totaldistance < panicdistance) && (runaway != true)) && (CARspeed > resistance)) {
runaway = true;
oldspeed = speed;
if (random(2) == 1) {
if (_x > _root.CAR._x) {
xspeed = runspeed;
} else {
xspeed = -runspeed;
}
yspeed = 0;
} else {
if (_y > _root.CAR._y) {
yspeed = runspeed;
} else {
yspeed = -runspeed;
}
xspeed = 0;
}
} else if ((runaway == true) && (totaldistance > calmdistance)) {
runaway = false;
speed = oldspeed;
possibility = false;
}
if ((possibility == false) || ((random(possibility) == 1) && (runaway != true))) {
possibility = changepossibility;
direction = random(4);
if (direction == 1) {
xspeed = 0;
yspeed = speed;
}
if (direction == 0) {
xspeed = 0;
yspeed = -speed;
}
if (direction == 3) {
yspeed = 0;
xspeed = speed;
}
if (direction == 2) {
yspeed = 0;
xspeed = -speed;
}
}
_x = (_x + xspeed);
_y = (_y + yspeed);
if (_root.wall.hitTest(_x, _y, true)) {
xspeed = -xspeed;
yspeed = -yspeed;
_x = oldx;
_y = oldy;
} else {
oldx = _x;
oldy = _y;
hitwall = false;
}
}
if ((hitTest(_root.CAR) && (CARspeed > resistance)) && (runover != true)) {
runover = true;
this.gotoAndPlay(2);
_root.killed = _root.killed + 1;
}
}
Instance of Symbol 200 MovieClip in Frame 147
onClipEvent (load) {
resistance = 2;
oldxscale = _xscale;
oldyscale = _yscale;
speed = 1;
runspeed = 3;
xspeed = speed;
yspeed = 0;
changepossibility = 44;
possibility = false;
panicdistance = 60;
calmdistance = 110;
}
onClipEvent (enterFrame) {
CARspeed = _root.CAR.speed;
if (CARspeed < 0) {
CARspeed = CARspeed * -1;
}
if (runover != true) {
xdistance = this._x - _root.CAR._x;
ydistance = this._y - _root.CAR._y;
if (xdistance < 0) {
xdistance = xdistance * -1;
}
if (ydistance < 0) {
ydistance = ydistance * -1;
}
totaldistance = (xdistance + ydistance) / 2;
if (((totaldistance < panicdistance) && (runaway != true)) && (CARspeed > resistance)) {
runaway = true;
oldspeed = speed;
if (random(2) == 1) {
if (_x > _root.CAR._x) {
xspeed = runspeed;
} else {
xspeed = -runspeed;
}
yspeed = 0;
} else {
if (_y > _root.CAR._y) {
yspeed = runspeed;
} else {
yspeed = -runspeed;
}
xspeed = 0;
}
} else if ((runaway == true) && (totaldistance > calmdistance)) {
runaway = false;
speed = oldspeed;
possibility = false;
}
if ((possibility == false) || ((random(possibility) == 1) && (runaway != true))) {
possibility = changepossibility;
direction = random(4);
if (direction == 1) {
xspeed = 0;
yspeed = speed;
}
if (direction == 0) {
xspeed = 0;
yspeed = -speed;
}
if (direction == 3) {
yspeed = 0;
xspeed = speed;
}
if (direction == 2) {
yspeed = 0;
xspeed = -speed;
}
}
_x = (_x + xspeed);
_y = (_y + yspeed);
if (_root.wall.hitTest(_x, _y, true)) {
xspeed = -xspeed;
yspeed = -yspeed;
_x = oldx;
_y = oldy;
} else {
oldx = _x;
oldy = _y;
hitwall = false;
}
}
if ((hitTest(_root.CAR) && (CARspeed > resistance)) && (runover != true)) {
runover = true;
this.gotoAndPlay(2);
_root.killed = _root.killed + 1;
}
}
Instance of Symbol 179 MovieClip "CAR" in Frame 147
onClipEvent (load) {
_root.health = 100;
_root.killed = 0;
_root.speed = 0;
speed = 0;
maxspeed = 10;
}
onClipEvent (enterFrame) {
_root.speed = int(speed);
if (_root.health < 1) {
tellTarget ("/") {
_root.gotoAndStop("dead3");
};
}
if (Key.isDown(38)) {
speed = speed + 1.5;
moving = true;
}
if (Key.isDown(40)) {
speed = speed - 0.75;
}
if (Math.abs(speed) > maxspeed) {
speed = speed * 0.9;
moving = true;
}
if (Key.isDown(37)) {
_rotation = (_rotation - 7);
moving = true;
}
if (Key.isDown(39)) {
_rotation = (_rotation + 7);
moving = true;
}
speed = speed * 0.88;
x = Math.sin(_rotation * (Math.PI/180)) * speed;
y = (Math.cos(_rotation * (Math.PI/180)) * speed) * -1;
_x = (_x + x);
_y = (_y + y);
}
Instance of Symbol 249 MovieClip in Frame 147
onClipEvent (enterFrame) {
if (_root.sec < 1) {
_root.gotoAndStop(5);
}
}
Instance of Symbol 252 MovieClip in Frame 147
onClipEvent (enterFrame) {
if (_root.killed > 9) {
tellTarget ("/") {
gotoAndPlay ("complete3");
};
}
}
Frame 148
stop();
stopAllSounds();
stopAllSounds();
stop();
Frame 154
stop();
Frame 164
stopAllSounds();
stop();
Frame 165
stop();
Frame 427
stop();
Symbol 12 MovieClip Frame 1
this._xscale = (_root.getBytesLoaded() / _root.getBytesTotal()) * 100;
Symbol 12 MovieClip Frame 2
gotoAndPlay (1);
Symbol 39 Button
on (release) {
gotoAndPlay (21);
}
Symbol 70 Button
on (release) {
gotoAndPlay (105);
}
Symbol 81 Button
on (release) {
gotoAndPlay (103);
}
Symbol 92 Button
on (release) {
gotoAndPlay (167);
}
Symbol 116 Button
on (release) {
nextFrame();
}
Symbol 179 MovieClip Frame 1
stop();
Symbol 179 MovieClip Frame 2
stop();
Symbol 179 MovieClip Frame 3
stop();
Symbol 179 MovieClip Frame 4
stop();
Symbol 179 MovieClip Frame 5
stop();
Symbol 179 MovieClip Frame 6
stop();
Symbol 179 MovieClip Frame 7
stop();
Symbol 179 MovieClip Frame 8
stop();
Symbol 179 MovieClip Frame 9
stop();
Symbol 179 MovieClip Frame 10
stop();
Symbol 179 MovieClip Frame 11
stop();
Symbol 179 MovieClip Frame 12
stop();
Symbol 179 MovieClip Frame 13
stop();
Symbol 179 MovieClip Frame 14
stop();
Symbol 179 MovieClip Frame 15
stop();
Symbol 179 MovieClip Frame 16
stop();
Symbol 179 MovieClip Frame 17
stop();
Symbol 179 MovieClip Frame 18
stop();
Symbol 179 MovieClip Frame 19
stop();
Symbol 179 MovieClip Frame 20
stop();
Symbol 179 MovieClip Frame 21
stop();
Symbol 179 MovieClip Frame 22
stop();
Symbol 179 MovieClip Frame 23
stop();
Symbol 179 MovieClip Frame 24
stop();
Symbol 179 MovieClip Frame 25
stop();
Symbol 179 MovieClip Frame 26
stop();
Symbol 179 MovieClip Frame 27
stop();
Symbol 179 MovieClip Frame 28
stop();
Symbol 179 MovieClip Frame 29
stop();
Symbol 179 MovieClip Frame 30
stop();
Symbol 179 MovieClip Frame 31
stop();
Symbol 179 MovieClip Frame 32
stop();
Symbol 179 MovieClip Frame 33
stop();
Symbol 179 MovieClip Frame 34
stop();
Symbol 179 MovieClip Frame 35
stop();
Symbol 179 MovieClip Frame 36
stop();
Symbol 179 MovieClip Frame 37
stop();
Symbol 179 MovieClip Frame 38
stop();
Symbol 179 MovieClip Frame 39
stop();
Symbol 179 MovieClip Frame 40
stop();
Symbol 179 MovieClip Frame 41
stop();
Symbol 200 MovieClip Frame 1
stop();
Symbol 200 MovieClip Frame 2
stop();
Symbol 206 Button
on (press) {
gotoAndPlay (92);
}
Symbol 209 Button
on (release) {
gotoAndStop (106);
}
Symbol 215 MovieClip Frame 1
Set("/:sec", 40);
Set("/:min", 0);
timernow = getTimer();
xtimer = 1;
Symbol 215 MovieClip Frame 2
timer = getTimer() - timernow;
if (Number(timer) > Number(950 * xtimer)) {
Set("/:sec", /:sec - 1);
xtimer = Number(xtimer) + 1;
}
if (Number(length(/:sec)) < 2) {
Set("/:sec", "0" add /:sec);
}
if (Number(/:sec) < 0) {
Set("/:min", /:min - 1);
Set("/:sec", 59);
}
if ((/:sec < 0) add (/:min < 0)) {
_root.gotoAndPlay(5);
}
Symbol 215 MovieClip Frame 3
gotoAndPlay (2);
Symbol 232 MovieClip Frame 1
stop();
Symbol 232 MovieClip Frame 2
stop();
Symbol 236 MovieClip Frame 1
stop();
Symbol 236 MovieClip Frame 2
stop();
Symbol 252 MovieClip Frame 1
if (_root.killed > 5) {
_root.gotoAndPlay("level1", "pass");
} else {
gotoAndPlay (1);
}
Symbol 252 MovieClip Frame 2
gotoAndPlay (1);
Symbol 260 Button
on (release) {
gotoAndPlay (105);
}
Symbol 261 Button
on (release) {
gotoAndPlay (92);
}
Symbol 269 Button
on (release) {
gotoAndPlay (125);
stopAllSounds();
}
Symbol 270 Button
on (release) {
gotoAndPlay (125);
}
Symbol 272 Button
on (release) {
gotoAndStop (126);
}
Symbol 297 Button
on (release) {
gotoAndPlay (125);
}
Symbol 298 Button
on (release) {
gotoAndPlay (92);
}
Symbol 303 Button
on (release) {
gotoAndPlay (145);
stopAllSounds();
}
Symbol 305 Button
on (release) {
gotoAndStop (146);
}
Symbol 335 Button
on (release) {
gotoAndPlay (145);
}
Symbol 340 Button
on (release) {
gotoAndPlay (165);
stopAllSounds();
}
Symbol 342 Button
on (release) {
gotoAndPlay (167);
}