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
stop();
Frame 106
stop();
Frame 107
stop();
Instance of Symbol 295 MovieClip in Frame 107
onClipEvent (enterFrame) {
if (hitTest(_root.CAR._x, _root.CAR._y, true)) {
this.gotoAndStop(2);
_root.health = _root.health + 5;
}
}
Frame 108
Now = 0;
StartTime = getTimer();
Frame 109
Now = getTimer() - StartTime;
if (Number(Now) < 1) {
gotoAndPlay (108);
} else {
nextFrame();
}
Frame 110
stop();
help = new Sound();
help.attachSound("help");
stop();
Instance of Symbol 310 MovieClip in Frame 110
onClipEvent (enterFrame) {
if (Key.isDown(38)) {
yourSound = new Sound();
yourSound.attachSound("engine");
yourSound.start();
}
}
Instance of Symbol 312 MovieClip "wall" in Frame 110
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 315 MovieClip in Frame 110
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 315 MovieClip in Frame 110
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 321 MovieClip in Frame 110
onClipEvent (enterFrame) {
if (hitTest(_root.CAR._x, _root.CAR._y, true)) {
this.gotoAndStop(2);
_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 321 MovieClip in Frame 110
onClipEvent (enterFrame) {
if (hitTest(_root.CAR._x, _root.CAR._y, true)) {
this.gotoAndStop(2);
_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 241 MovieClip in Frame 110
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 241 MovieClip in Frame 110
onClipEvent (load) {
resistance = 2;
oldxscale = _xscale;
oldyscale = _yscale;
speed = 0.75;
runspeed = 2.75;
xspeed = speed;
yspeed = 0;
changepossibility = 44;
possibility = false;
panicdistance = 50;
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(4) == 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;
zspeed = 1;
}
} else if ((runaway == true) && (totaldistance > calmdistance)) {
runaway = false;
help.start();
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 241 MovieClip in Frame 110
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)) {
help.play();
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 326 MovieClip in Frame 110
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 330 MovieClip in Frame 110
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 330 MovieClip in Frame 110
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 220 MovieClip "CAR" in Frame 110
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;
} else if (Key.isDown(40)) {
speed = speed - 1;
} else {
speed = speed * 0.9;
}
if (Math.abs(speed) > 25) {
speed = speed * 0.6;
}
if (Key.isDown(37)) {
_rotation = (_rotation - speed);
}
if (Key.isDown(39)) {
_rotation = (_rotation + speed);
}
speed = speed * 0.9;
x = Math.sin(_rotation * (Math.PI/180)) * speed;
y = (Math.cos(_rotation * (Math.PI/180)) * speed) * -1;
if (!_root.move.hitTest(_x + x, _y + y, true)) {
_x = (_x + x);
_y = (_y + y);
} else {
speed = speed * -0.5;
}
}
Instance of Symbol 343 MovieClip in Frame 110
onClipEvent (enterFrame) {
if (_root.sec < 1) {
tellTarget ("/") {
_root.gotoAndStop("dead");
};
}
}
Instance of Symbol 346 MovieClip in Frame 110
onClipEvent (enterFrame) {
if (_root.killed > 5) {
tellTarget ("/") {
gotoAndPlay ("complete");
};
}
}
Frame 111
stop();
stop();
stopAllSounds();
stop();
Frame 116
stop();
Instance of Symbol 343 MovieClip in Frame 116
onClipEvent (enterFrame) {
if (_root.sec < 1) {
_root.gotoAndStop(5);
}
}
Instance of Symbol 346 MovieClip in Frame 116
onClipEvent (enterFrame) {
if (_root.killed > 5) {
_root.gotoAndPlay("complete");
}
}
Frame 117
stopAllSounds();
Instance of Symbol 346 MovieClip in Frame 117
onClipEvent (enterFrame) {
if (_root.killed > 5) {
_root.gotoAndStop("complete");
}
}
Frame 127
stopAllSounds();
stop();
Frame 128
Now = 0;
StartTime = getTimer();
Frame 129
Now = getTimer() - StartTime;
if (Number(Now) < 1) {
gotoAndPlay (128);
} else {
nextFrame();
}
Frame 130
stop();
stop();
Instance of Symbol 375 MovieClip "wall" in Frame 130
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 310 MovieClip in Frame 130
onClipEvent (enterFrame) {
if (Key.isDown(38)) {
yourSound = new Sound();
yourSound.attachSound("engine");
yourSound.start();
}
}
Instance of Symbol 321 MovieClip in Frame 130
onClipEvent (enterFrame) {
if (hitTest(_root.CAR._x, _root.CAR._y, true)) {
this.gotoAndStop(2);
_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 241 MovieClip in Frame 130
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 241 MovieClip in Frame 130
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 326 MovieClip in Frame 130
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 330 MovieClip in Frame 130
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 330 MovieClip in Frame 130
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 330 MovieClip in Frame 130
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 381 MovieClip in Frame 130
onClipEvent (load) {
resistance = 2;
oldxscale = _xscale;
oldyscale = _yscale;
speed = 1.5;
runspeed = 4;
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 381 MovieClip in Frame 130
onClipEvent (load) {
resistance = 2;
oldxscale = _xscale;
oldyscale = _yscale;
speed = 1.5;
runspeed = 4;
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 220 MovieClip "CAR" in Frame 130
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;
} else if (Key.isDown(40)) {
speed = speed - 1;
} else {
speed = speed * 0.9;
}
if (Math.abs(speed) > 25) {
speed = speed * 0.6;
}
if (Key.isDown(37)) {
_rotation = (_rotation - speed);
}
if (Key.isDown(39)) {
_rotation = (_rotation + speed);
}
speed = speed * 0.9;
x = Math.sin(_rotation * (Math.PI/180)) * speed;
y = (Math.cos(_rotation * (Math.PI/180)) * speed) * -1;
if (!_root.move.hitTest(_x + x, _y + y, true)) {
_x = (_x + x);
_y = (_y + y);
} else {
speed = speed * -0.5;
}
}
Instance of Symbol 343 MovieClip in Frame 130
onClipEvent (enterFrame) {
if (_root.sec < 1) {
_root.gotoAndStop("dead2");
}
}
Instance of Symbol 346 MovieClip in Frame 130
onClipEvent (enterFrame) {
if (_root.killed > 7) {
tellTarget ("/") {
gotoAndPlay ("complete2");
};
}
}
Instance of Symbol 295 MovieClip in Frame 130
onClipEvent (enterFrame) {
if (hitTest(_root.CAR._x, _root.CAR._y, true)) {
this.gotoAndStop(2);
_root.health = _root.health + 5;
}
}
Frame 131
stop();
stopAllSounds();
stopAllSounds();
stop();
Frame 137
stopAllSounds();
stop();
Frame 147
stopAllSounds();
stop();
Frame 148
Now = 0;
StartTime = getTimer();
Frame 149
Now = getTimer() - StartTime;
if (Number(Now) < 1) {
gotoAndPlay (148);
} else {
nextFrame();
}
Frame 150
stop();
stop();
Instance of Symbol 310 MovieClip in Frame 150
onClipEvent (enterFrame) {
if (Key.isDown(38)) {
yourSound = new Sound();
yourSound.attachSound("engine");
yourSound.start();
}
}
Instance of Symbol 414 MovieClip "wall" in Frame 150
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 321 MovieClip in Frame 150
onClipEvent (enterFrame) {
if (hitTest(_root.CAR._x, _root.CAR._y, true)) {
this.gotoAndStop(2);
_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 315 MovieClip in Frame 150
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 241 MovieClip in Frame 150
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 241 MovieClip in Frame 150
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 330 MovieClip in Frame 150
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 330 MovieClip in Frame 150
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 330 MovieClip in Frame 150
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 330 MovieClip in Frame 150
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 241 MovieClip in Frame 150
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 241 MovieClip in Frame 150
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 381 MovieClip in Frame 150
onClipEvent (load) {
resistance = 2;
oldxscale = _xscale;
oldyscale = _yscale;
speed = 1.5;
runspeed = 4;
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 381 MovieClip "fellow4" in Frame 150
onClipEvent (load) {
resistance = 2;
oldxscale = _xscale;
oldyscale = _yscale;
speed = 1.5;
runspeed = 4;
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 220 MovieClip "CAR" in Frame 150
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;
} else if (Key.isDown(40)) {
speed = speed - 1;
} else {
speed = speed * 0.9;
}
if (Math.abs(speed) > 25) {
speed = speed * 0.6;
}
if (Key.isDown(37)) {
_rotation = (_rotation - speed);
}
if (Key.isDown(39)) {
_rotation = (_rotation + speed);
}
speed = speed * 0.9;
x = Math.sin(_rotation * (Math.PI/180)) * speed;
y = (Math.cos(_rotation * (Math.PI/180)) * speed) * -1;
if (!_root.move.hitTest(_x + x, _y + y, true)) {
_x = (_x + x);
_y = (_y + y);
} else {
speed = speed * -0.5;
}
}
Instance of Symbol 343 MovieClip in Frame 150
onClipEvent (enterFrame) {
if (_root.sec < 1) {
_root.gotoAndStop("dead3");
}
}
Instance of Symbol 346 MovieClip in Frame 150
onClipEvent (enterFrame) {
if (_root.killed > 9) {
tellTarget ("/") {
gotoAndPlay ("complete3");
};
}
}
Instance of Symbol 295 MovieClip in Frame 150
onClipEvent (enterFrame) {
if (hitTest(_root.CAR._x, _root.CAR._y, true)) {
this.gotoAndStop(2);
_root.health = _root.health + 5;
}
}
Frame 151
stop();
stopAllSounds();
stopAllSounds();
stop();
Frame 157
stopAllSounds();
stop();
Frame 167
stopAllSounds();
stop();
Frame 168
Now = 0;
StartTime = getTimer();
Frame 169
Now = getTimer() - StartTime;
if (Number(Now) < 1) {
gotoAndPlay (168);
} else {
nextFrame();
}
Frame 170
stop();
stop();
Instance of Symbol 310 MovieClip in Frame 170
onClipEvent (enterFrame) {
if (Key.isDown(38)) {
yourSound = new Sound();
yourSound.attachSound("engine");
yourSound.start();
}
}
Instance of Symbol 321 MovieClip in Frame 170
onClipEvent (enterFrame) {
if (hitTest(_root.CAR._x, _root.CAR._y, true)) {
this.gotoAndStop(2);
_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 321 MovieClip in Frame 170
onClipEvent (enterFrame) {
if (hitTest(_root.CAR._x, _root.CAR._y, true)) {
this.gotoAndStop(2);
_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 449 MovieClip in Frame 170
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 295 MovieClip in Frame 170
onClipEvent (enterFrame) {
if (hitTest(_root.CAR._x, _root.CAR._y, true)) {
this.gotoAndStop(2);
_root.health = _root.health + 5;
}
}
Instance of Symbol 456 MovieClip "wall" in Frame 170
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 321 MovieClip in Frame 170
onClipEvent (enterFrame) {
if (hitTest(_root.CAR._x, _root.CAR._y, true)) {
this.gotoAndStop(2);
_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 315 MovieClip in Frame 170
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 449 MovieClip in Frame 170
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 449 MovieClip in Frame 170
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 241 MovieClip in Frame 170
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 330 MovieClip in Frame 170
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 330 MovieClip in Frame 170
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 330 MovieClip in Frame 170
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 241 MovieClip in Frame 170
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 241 MovieClip in Frame 170
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 381 MovieClip in Frame 170
onClipEvent (load) {
resistance = 2;
oldxscale = _xscale;
oldyscale = _yscale;
speed = 1.5;
runspeed = 4;
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 381 MovieClip "fellow4" in Frame 170
onClipEvent (load) {
resistance = 2;
oldxscale = _xscale;
oldyscale = _yscale;
speed = 1.5;
runspeed = 4;
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 464 MovieClip in Frame 170
onClipEvent (load) {
resistance = 2;
oldxscale = _xscale;
oldyscale = _yscale;
speed = 1.5;
runspeed = 4;
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 464 MovieClip in Frame 170
onClipEvent (load) {
resistance = 2;
oldxscale = _xscale;
oldyscale = _yscale;
speed = 1.5;
runspeed = 4;
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 468 MovieClip in Frame 170
onClipEvent (load) {
resistance = 2;
oldxscale = _xscale;
oldyscale = _yscale;
speed = 1.5;
runspeed = 4;
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 468 MovieClip in Frame 170
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 220 MovieClip "CAR" in Frame 170
onClipEvent (load) {
_root.health = 100;
_root.killed = 0;
_root.speed = 0;
speed = 0;
maxspeed = 14;
}
onClipEvent (enterFrame) {
_root.speed = int(speed);
if (_root.health < 1) {
tellTarget ("/") {
_root.gotoAndStop("dead4");
};
}
if (Key.isDown(38)) {
speed = speed + 1;
} else if (Key.isDown(40)) {
speed = speed - 1;
} else {
speed = speed * 0.9;
}
if (Math.abs(speed) > 35) {
speed = speed * 0.6;
}
if (Key.isDown(37)) {
_rotation = (_rotation - speed);
}
if (Key.isDown(39)) {
_rotation = (_rotation + speed);
}
speed = speed * 0.9;
x = Math.sin(_rotation * (Math.PI/180)) * speed;
y = (Math.cos(_rotation * (Math.PI/180)) * speed) * -1;
if (!_root.move.hitTest(_x + x, _y + y, true)) {
_x = (_x + x);
_y = (_y + y);
} else {
speed = speed * -0.5;
}
}
Instance of Symbol 343 MovieClip in Frame 170
onClipEvent (enterFrame) {
if (_root.sec < 1) {
_root.gotoAndStop("dead4");
}
}
Instance of Symbol 346 MovieClip in Frame 170
onClipEvent (enterFrame) {
if (_root.killed > 11) {
tellTarget ("/") {
gotoAndPlay ("complete4");
};
}
}
Frame 171
stop();
stopAllSounds();
stopAllSounds();
stop();
Frame 177
stopAllSounds();
stop();
Frame 187
stopAllSounds();
stop();
Frame 288
stop();
Frame 297
stop();
Frame 307
stop();
Frame 317
stop();
Frame 328
stop();
Frame 337
stop();
Frame 348
stop();
Frame 358
Now = 0;
StartTime = getTimer();
Frame 359
Now = getTimer() - StartTime;
if (Number(Now) < 1) {
gotoAndPlay (358);
} else {
nextFrame();
}
Frame 360
stop();
stop();
Instance of Symbol 310 MovieClip in Frame 360
onClipEvent (enterFrame) {
if (Key.isDown(38)) {
yourSound = new Sound();
yourSound.attachSound("engine");
yourSound.start();
}
}
Instance of Symbol 513 MovieClip "wall" in Frame 360
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 321 MovieClip in Frame 360
onClipEvent (enterFrame) {
if (hitTest(_root.CAR._x, _root.CAR._y, true)) {
this.gotoAndStop(2);
_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 315 MovieClip in Frame 360
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 295 MovieClip in Frame 360
onClipEvent (enterFrame) {
if (hitTest(_root.CAR._x, _root.CAR._y, true)) {
this.gotoAndStop(2);
_root.health = _root.health + 5;
}
}
Instance of Symbol 330 MovieClip in Frame 360
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.gotoAndStop("timeup");
_root.killed = _root.killed + 1;
}
}
Instance of Symbol 330 MovieClip in Frame 360
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.gotoAndStop("timeup");
_root.killed = _root.killed + 1;
}
}
Instance of Symbol 381 MovieClip in Frame 360
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.gotoAndStop("timeup");
_root.killed = _root.killed + 1;
}
}
Instance of Symbol 381 MovieClip "fellow4" in Frame 360
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.gotoAndStop("timeup");
_root.killed = _root.killed + 1;
}
}
Instance of Symbol 517 MovieClip in Frame 360
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 517 MovieClip in Frame 360
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 517 MovieClip in Frame 360
onClipEvent (load) {
resistance = 2;
oldxscale = _xscale;
oldyscale = _yscale;
speed = 0;
runspeed = 0.8;
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 519 MovieClip in Frame 360
onClipEvent (load) {
resistance = 2;
oldxscale = _xscale;
oldyscale = _yscale;
speed = 0;
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 519 MovieClip in Frame 360
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 526 MovieClip in Frame 360
onClipEvent (enterFrame) {
if (hitTest(_root.CAR._x, _root.CAR._y, true)) {
_root.CAR.speed = -_root.CAR.speed;
speed = _root.CAR.speed;
_root.CAR.nextFrame();
_root.health = _root.health - (200 + int(speed));
_root.CAR._x = oldx;
_root.CAR._y = oldy;
} else {
oldx = _root.CAR._x;
oldy = _root.CAR._y;
}
}
Instance of Symbol 525 MovieClip in Frame 360
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;
}
}
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 525 MovieClip in Frame 360
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;
}
}
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 525 MovieClip in Frame 360
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;
}
}
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 "CAR" in Frame 360
onClipEvent (load) {
_root.health = 100;
_root.killed = 0;
_root.speed = 0;
speed = 0;
maxspeed = 14;
}
onClipEvent (enterFrame) {
_root.speed = int(speed);
if (_root.health < 1) {
tellTarget ("/") {
_root.gotoAndPlay("dead5");
};
}
if (Key.isDown(38)) {
speed = speed + 1;
} else if (Key.isDown(40)) {
speed = speed - 1;
} else {
speed = speed * 0.9;
}
if (Math.abs(speed) > 25) {
speed = speed * 0.6;
}
if (Key.isDown(37)) {
_rotation = (_rotation - speed);
}
if (Key.isDown(39)) {
_rotation = (_rotation + speed);
}
speed = speed * 0.9;
x = Math.sin(_rotation * (Math.PI/180)) * speed;
y = (Math.cos(_rotation * (Math.PI/180)) * speed) * -1;
if (!_root.move.hitTest(_x + x, _y + y, true)) {
_x = (_x + x);
_y = (_y + y);
} else {
speed = speed * -0.5;
}
}
Instance of Symbol 343 MovieClip in Frame 360
onClipEvent (enterFrame) {
if (_root.sec < 1) {
_root.gotoAndStop("timeup");
}
}
Instance of Symbol 346 MovieClip in Frame 360
onClipEvent (enterFrame) {
if (_root.killed > 4) {
tellTarget ("/") {
gotoAndPlay ("complete5");
};
}
}
Frame 361
stopAllSounds();
stop();
Frame 376
stop();
stopAllSounds();
stop();
stopAllSounds();
stop();
Frame 377
stop();
stop();
stopAllSounds();
Frame 382
stopAllSounds();
stop();
Frame 392
stopAllSounds();
stop();
Frame 493
stop();
Frame 502
stop();
Frame 512
stop();
Frame 522
stop();
Frame 532
stop();
Frame 542
stop();
Frame 543
Now = 0;
StartTime = getTimer();
Frame 544
Now = getTimer() - StartTime;
if (Number(Now) < 1) {
gotoAndPlay (543);
} else {
nextFrame();
}
Frame 545
stop();
stop();
Instance of Symbol 310 MovieClip in Frame 545
onClipEvent (enterFrame) {
if (Key.isDown(38)) {
yourSound = new Sound();
yourSound.attachSound("engine");
yourSound.start();
}
}
Instance of Symbol 321 MovieClip in Frame 545
onClipEvent (enterFrame) {
if (hitTest(_root.CAR._x, _root.CAR._y, true)) {
this.gotoAndStop(2);
_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 315 MovieClip in Frame 545
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 295 MovieClip in Frame 545
onClipEvent (enterFrame) {
if (hitTest(_root.CAR._x, _root.CAR._y, true)) {
this.gotoAndStop(2);
_root.health = _root.health + 5;
}
}
Instance of Symbol 570 MovieClip "wall" in Frame 545
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 330 MovieClip in Frame 545
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.gotoAndStop("timeup6");
_root.killed = _root.killed + 1;
}
}
Instance of Symbol 330 MovieClip in Frame 545
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.gotoAndStop("timeup6");
_root.killed = _root.killed + 1;
}
}
Instance of Symbol 381 MovieClip in Frame 545
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.gotoAndStop("timeup6");
_root.killed = _root.killed + 1;
}
}
Instance of Symbol 381 MovieClip "fellow4" in Frame 545
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.gotoAndStop("timeup6");
_root.killed = _root.killed + 1;
}
}
Instance of Symbol 517 MovieClip in Frame 545
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 517 MovieClip in Frame 545
onClipEvent (load) {
resistance = 2;
oldxscale = _xscale;
oldyscale = _yscale;
speed = 1.5;
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 517 MovieClip in Frame 545
onClipEvent (load) {
resistance = 2;
oldxscale = _xscale;
oldyscale = _yscale;
speed = 0;
runspeed = 4;
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 519 MovieClip in Frame 545
onClipEvent (load) {
resistance = 2;
oldxscale = _xscale;
oldyscale = _yscale;
speed = 0;
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 519 MovieClip in Frame 545
onClipEvent (load) {
resistance = 2;
oldxscale = _xscale;
oldyscale = _yscale;
speed = 1;
runspeed = 4;
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 519 MovieClip in Frame 545
onClipEvent (load) {
resistance = 2;
oldxscale = _xscale;
oldyscale = _yscale;
speed = 0.05;
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 519 MovieClip in Frame 545
onClipEvent (load) {
resistance = 2;
oldxscale = _xscale;
oldyscale = _yscale;
speed = 2;
runspeed = 5;
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 519 MovieClip in Frame 545
onClipEvent (load) {
resistance = 2;
oldxscale = _xscale;
oldyscale = _yscale;
speed = 0;
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 330 MovieClip in Frame 545
onClipEvent (load) {
resistance = 2;
oldxscale = _xscale;
oldyscale = _yscale;
speed = 0;
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.gotoAndStop("timeup6");
_root.killed = _root.killed + 1;
}
}
Instance of Symbol 381 MovieClip in Frame 545
onClipEvent (load) {
resistance = 2;
oldxscale = _xscale;
oldyscale = _yscale;
speed = 0;
runspeed = 4;
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.gotoAndStop("timeup6");
_root.killed = _root.killed + 1;
}
}
Instance of Symbol 519 MovieClip in Frame 545
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 517 MovieClip in Frame 545
onClipEvent (load) {
resistance = 2;
oldxscale = _xscale;
oldyscale = _yscale;
speed = 0;
runspeed = 4;
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 381 MovieClip "fellow4" in Frame 545
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.gotoAndStop("timeup6");
_root.killed = _root.killed + 1;
}
}
Instance of Symbol 381 MovieClip "fellow4" in Frame 545
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.gotoAndStop("timeup6");
_root.killed = _root.killed + 1;
}
}
Instance of Symbol 525 MovieClip in Frame 545
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;
}
}
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 525 MovieClip in Frame 545
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;
}
}
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 525 MovieClip in Frame 545
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;
}
}
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 "CAR" in Frame 545
onClipEvent (load) {
_root.health = 125;
_root.killed = 0;
_root.speed = 0;
speed = 0;
maxspeed = 14;
}
onClipEvent (enterFrame) {
_root.speed = int(speed);
if (_root.health < 1) {
tellTarget ("/") {
_root.gotoAndPlay(5);
};
}
if (Key.isDown(38)) {
speed = speed + 1;
} else if (Key.isDown(40)) {
speed = speed - 1;
} else {
speed = speed * 0.9;
}
if (Math.abs(speed) > 25) {
speed = speed * 0.6;
}
if (Key.isDown(37)) {
_rotation = (_rotation - speed);
}
if (Key.isDown(39)) {
_rotation = (_rotation + speed);
}
speed = speed * 0.9;
x = Math.sin(_rotation * (Math.PI/180)) * speed;
y = (Math.cos(_rotation * (Math.PI/180)) * speed) * -1;
if (!_root.move.hitTest(_x + x, _y + y, true)) {
_x = (_x + x);
_y = (_y + y);
} else {
speed = speed * -0.5;
}
}
Instance of Symbol 343 MovieClip in Frame 545
onClipEvent (enterFrame) {
if (_root.sec < 1) {
_root.gotoAndStop("timeup6");
}
}
Instance of Symbol 346 MovieClip in Frame 545
onClipEvent (enterFrame) {
if (_root.killed > 8) {
tellTarget ("/") {
gotoAndPlay ("complete6");
};
}
}
Frame 546
stopAllSounds();
stop();
Frame 561
stop();
stopAllSounds();
stop();
stopAllSounds();
stop();
Frame 562
stop();
stop();
stopAllSounds();
Frame 567
stopAllSounds();
stop();
Frame 577
stopAllSounds();
stop();
Frame 678
stop();
Frame 687
stop();
Frame 697
stop();
Frame 704
stop();
Frame 712
stop();
Frame 713
Now = 0;
StartTime = getTimer();
Frame 714
Now = getTimer() - StartTime;
if (Number(Now) < 1) {
gotoAndPlay (713);
} else {
nextFrame();
}
Frame 715
stop();
stop();
Instance of Symbol 310 MovieClip in Frame 715
onClipEvent (enterFrame) {
if (Key.isDown(38)) {
yourSound = new Sound();
yourSound.attachSound("engine");
yourSound.start();
}
}
Instance of Symbol 321 MovieClip in Frame 715
onClipEvent (enterFrame) {
if (hitTest(_root.CAR._x, _root.CAR._y, true)) {
this.gotoAndStop(2);
_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 315 MovieClip in Frame 715
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 295 MovieClip in Frame 715
onClipEvent (enterFrame) {
if (hitTest(_root.CAR._x, _root.CAR._y, true)) {
this.gotoAndStop(2);
_root.health = _root.health + 5;
}
}
Instance of Symbol 611 MovieClip "wall" in Frame 715
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;
}
}
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 330 MovieClip in Frame 715
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.gotoAndStop("timeup7");
_root.killed = _root.killed + 1;
}
}
Instance of Symbol 330 MovieClip in Frame 715
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.gotoAndStop("timeup7");
_root.killed = _root.killed + 1;
}
}
Instance of Symbol 381 MovieClip in Frame 715
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.gotoAndStop("timeup7");
_root.killed = _root.killed + 1;
}
}
Instance of Symbol 381 MovieClip "fellow4" in Frame 715
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.gotoAndStop("timeup7");
_root.killed = _root.killed + 1;
}
}
Instance of Symbol 330 MovieClip in Frame 715
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.gotoAndStop("timeup7");
_root.killed = _root.killed + 1;
}
}
Instance of Symbol 381 MovieClip in Frame 715
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.gotoAndStop("timeup7");
_root.killed = _root.killed + 1;
}
}
Instance of Symbol 381 MovieClip "fellow4" in Frame 715
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.gotoAndStop("timeup7");
_root.killed = _root.killed + 1;
}
}
Instance of Symbol 615 MovieClip in Frame 715
onClipEvent (load) {
resistance = 2;
oldxscale = _xscale;
oldyscale = _yscale;
speed = 3;
runspeed = 6.5;
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.gotoAndStop("complete7");
_root.killed = _root.killed + 1;
}
}
Instance of Symbol 381 MovieClip in Frame 715
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.gotoAndStop("timeup7");
_root.killed = _root.killed + 1;
}
}
Instance of Symbol 330 MovieClip in Frame 715
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.gotoAndStop("timeup7");
_root.killed = _root.killed + 1;
}
}
Instance of Symbol 330 MovieClip in Frame 715
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.gotoAndStop("timeup7");
_root.killed = _root.killed + 1;
}
}
Instance of Symbol 381 MovieClip in Frame 715
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.gotoAndStop("timeup7");
_root.killed = _root.killed + 1;
}
}
Instance of Symbol 330 MovieClip in Frame 715
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.gotoAndStop("timeup7");
_root.killed = _root.killed + 1;
}
}
Instance of Symbol 381 MovieClip "fellow4" in Frame 715
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.gotoAndStop("timeup7");
_root.killed = _root.killed + 1;
}
}
Instance of Symbol 381 MovieClip in Frame 715
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.gotoAndStop("timeup7");
_root.killed = _root.killed + 1;
}
}
Instance of Symbol 525 MovieClip in Frame 715
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;
}
}
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 525 MovieClip in Frame 715
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;
}
}
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 616 MovieClip in Frame 715
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;
}
}
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 "CAR" in Frame 715
onClipEvent (load) {
_root.health = 125;
_root.killed = 0;
_root.speed = 0;
speed = 0;
maxspeed = 14;
}
onClipEvent (enterFrame) {
_root.speed = int(speed);
if (_root.health < 1) {
tellTarget ("/") {
_root.gotoAndPlay(5);
};
}
if (Key.isDown(38)) {
speed = speed + 1;
} else if (Key.isDown(40)) {
speed = speed - 1;
} else {
speed = speed * 0.9;
}
if (Math.abs(speed) > 25) {
speed = speed * 0.6;
}
if (Key.isDown(37)) {
_rotation = (_rotation - speed);
}
if (Key.isDown(39)) {
_rotation = (_rotation + speed);
}
speed = speed * 0.9;
x = Math.sin(_rotation * (Math.PI/180)) * speed;
y = (Math.cos(_rotation * (Math.PI/180)) * speed) * -1;
if (!_root.move.hitTest(_x + x, _y + y, true)) {
_x = (_x + x);
_y = (_y + y);
} else {
speed = speed * -0.5;
}
}
Instance of Symbol 343 MovieClip in Frame 715
onClipEvent (enterFrame) {
if (_root.sec < 1) {
_root.gotoAndStop("timeup7");
}
}
Instance of Symbol 346 MovieClip in Frame 715
onClipEvent (enterFrame) {
if (_root.killed > 0) {
tellTarget ("/") {
gotoAndPlay ("complete7");
};
}
}
Frame 716
stopAllSounds();
stop();
Frame 731
stop();
stopAllSounds();
stop();
stopAllSounds();
stop();
Frame 732
stop();
stop();
stopAllSounds();
Frame 737
stopAllSounds();
stop();
Frame 747
stopAllSounds();
stop();
Frame 748
Now = 0;
StartTime = getTimer();
Frame 749
Now = getTimer() - StartTime;
if (Number(Now) < 1) {
gotoAndPlay (748);
} else {
nextFrame();
}
Frame 750
stop();
stop();
Instance of Symbol 648 MovieClip "wall2" in Frame 750
onClipEvent (enterFrame) {
if (hitTest(_root.CAR1._x, _root.CAR1._y, true)) {
_root.CAR1.speed = -_root.CAR1.speed;
speed = _root.CAR1.speed;
if (speed < 0) {
speed = speed * -1;
}
_root.CAR1.nextFrame();
_root.health2 = _root.health2 - (2 + int(speed));
_root.CAR1._x = oldx;
_root.CAR1._y = oldy;
} else {
oldx = _root.CAR1._x;
oldy = _root.CAR1._y;
}
}
Instance of Symbol 648 MovieClip "wall" in Frame 750
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 321 MovieClip in Frame 750
onClipEvent (enterFrame) {
if (hitTest(_root.CAR1._x, _root.CAR1._y, true)) {
this.gotoAndStop(2);
_root.CAR1.speed = -_root.CAR1.speed;
speed = _root.CAR1.speed;
if (speed < 0) {
speed = speed * -1;
}
_root.CAR1.nextFrame();
_root.health2 = _root.health2 - (2 + int(speed));
_root.CAR1._x = oldx;
_root.CAR1._y = oldy;
} else {
oldx = _root.CAR1._x;
oldy = _root.CAR1._y;
}
}
Instance of Symbol 321 MovieClip in Frame 750
onClipEvent (enterFrame) {
if (hitTest(_root.CAR._x, _root.CAR._y, true)) {
this.gotoAndStop(2);
_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 241 MovieClip "fellow" in Frame 750
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.CAR1.speed;
if (CARspeed < 0) {
CARspeed = CARspeed * -1;
}
if (runover != true) {
xdistance = this._x - _root.CAR1._x;
ydistance = this._y - _root.CAR1._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.CAR1._x) {
xspeed = runspeed;
} else {
xspeed = -runspeed;
}
yspeed = 0;
} else {
if (_y > _root.CAR1._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.wall2.hitTest(_x, _y, true)) {
xspeed = -xspeed;
yspeed = -yspeed;
_x = oldx;
_y = oldy;
} else {
oldx = _x;
oldy = _y;
hitwall = false;
}
}
if ((hitTest(_root.CAR1) && (CARspeed > resistance)) && (runover != true)) {
runover = true;
this.gotoAndPlay(2);
_root.killed2 = _root.killed2 + 1;
}
}
Instance of Symbol 241 MovieClip in Frame 750
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.CAR1.speed;
if (CARspeed < 0) {
CARspeed = CARspeed * -1;
}
if (runover != true) {
xdistance = this._x - _root.CAR1._x;
ydistance = this._y - _root.CAR1._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.CAR1._x) {
xspeed = runspeed;
} else {
xspeed = -runspeed;
}
yspeed = 0;
} else {
if (_y > _root.CAR1._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.wall2.hitTest(_x, _y, true)) {
xspeed = -xspeed;
yspeed = -yspeed;
_x = oldx;
_y = oldy;
} else {
oldx = _x;
oldy = _y;
hitwall = false;
}
}
if ((hitTest(_root.CAR1) && (CARspeed > resistance)) && (runover != true)) {
runover = true;
this.gotoAndPlay(2);
_root.killed2 = _root.killed2 + 1;
}
}
Instance of Symbol 326 MovieClip in Frame 750
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 330 MovieClip in Frame 750
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 330 MovieClip in Frame 750
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 330 MovieClip in Frame 750
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.CAR1.speed;
if (CARspeed < 0) {
CARspeed = CARspeed * -1;
}
if (runover != true) {
xdistance = this._x - _root.CAR1._x;
ydistance = this._y - _root.CAR1._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.CAR1._x) {
xspeed = runspeed;
} else {
xspeed = -runspeed;
}
yspeed = 0;
} else {
if (_y > _root.CAR1._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.wall2.hitTest(_x, _y, true)) {
xspeed = -xspeed;
yspeed = -yspeed;
_x = oldx;
_y = oldy;
} else {
oldx = _x;
oldy = _y;
hitwall = false;
}
}
if ((hitTest(_root.CAR1) && (CARspeed > resistance)) && (runover != true)) {
runover = true;
this.gotoAndPlay(2);
_root.killed2 = _root.killed2 + 1;
}
}
Instance of Symbol 381 MovieClip in Frame 750
onClipEvent (load) {
resistance = 2;
oldxscale = _xscale;
oldyscale = _yscale;
speed = 1.5;
runspeed = 4;
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 381 MovieClip in Frame 750
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.CAR1.speed;
if (CARspeed < 0) {
CARspeed = CARspeed * -1;
}
if (runover != true) {
xdistance = this._x - _root.CAR1._x;
ydistance = this._y - _root.CAR1._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.CAR1._x) {
xspeed = runspeed;
} else {
xspeed = -runspeed;
}
yspeed = 0;
} else {
if (_y > _root.CAR1._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.wall2.hitTest(_x, _y, true)) {
xspeed = -xspeed;
yspeed = -yspeed;
_x = oldx;
_y = oldy;
} else {
oldx = _x;
oldy = _y;
hitwall = false;
}
}
if ((hitTest(_root.CAR1) && (CARspeed > resistance)) && (runover != true)) {
runover = true;
this.gotoAndPlay(2);
_root.killed2 = _root.killed2 + 1;
}
}
Instance of Symbol 241 MovieClip "fellow1" in Frame 750
onClipEvent (load) {
resistance = 2;
oldxscale = _xscale;
oldyscale = _yscale;
speed = 1;
runspeed = 5;
xspeed = speed;
yspeed = 0;
changepossibility = 44;
possibility = false;
panicdistance = 60;
calmdistance = 110;
}
onClipEvent (enterFrame) {
CARspeed = _root.CAR1.speed;
if (CARspeed < 0) {
CARspeed = CARspeed * -1;
}
if (runover != true) {
xdistance = this._x - _root.CAR1._x;
ydistance = this._y - _root.CAR1._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.CAR1._x) {
xspeed = runspeed;
} else {
xspeed = -runspeed;
}
yspeed = 0;
} else {
if (_y > _root.CAR1._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.wall2.hitTest(_x, _y, true)) {
xspeed = -xspeed;
yspeed = -yspeed;
_x = oldx;
_y = oldy;
} else {
oldx = _x;
oldy = _y;
hitwall = false;
}
}
if ((hitTest(_root.CAR1) && (CARspeed > resistance)) && (runover != true)) {
runover = true;
this.gotoAndPlay(2);
_root.killed2 = _root.killed2 + 1;
}
}
Instance of Symbol 381 MovieClip in Frame 750
onClipEvent (load) {
resistance = 2;
oldxscale = _xscale;
oldyscale = _yscale;
speed = 1;
runspeed = 5;
xspeed = speed;
yspeed = 0;
changepossibility = 44;
possibility = false;
panicdistance = 60;
calmdistance = 110;
}
onClipEvent (enterFrame) {
CARspeed = _root.CAR1.speed;
if (CARspeed < 0) {
CARspeed = CARspeed * -1;
}
if (runover != true) {
xdistance = this._x - _root.CAR1._x;
ydistance = this._y - _root.CAR1._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.CAR1._x) {
xspeed = runspeed;
} else {
xspeed = -runspeed;
}
yspeed = 0;
} else {
if (_y > _root.CAR1._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.wall2.hitTest(_x, _y, true)) {
xspeed = -xspeed;
yspeed = -yspeed;
_x = oldx;
_y = oldy;
} else {
oldx = _x;
oldy = _y;
hitwall = false;
}
}
if ((hitTest(_root.CAR1) && (CARspeed > resistance)) && (runover != true)) {
runover = true;
this.gotoAndPlay(2);
_root.killed2 = _root.killed2 + 1;
}
}
Instance of Symbol 330 MovieClip in Frame 750
onClipEvent (load) {
resistance = 2;
oldxscale = _xscale;
oldyscale = _yscale;
speed = 1.5;
runspeed = 4;
xspeed = speed;
yspeed = 0;
changepossibility = 44;
possibility = false;
panicdistance = 60;
calmdistance = 110;
}
onClipEvent (enterFrame) {
CARspeed = _root.CAR1.speed;
if (CARspeed < 0) {
CARspeed = CARspeed * -1;
}
if (runover != true) {
xdistance = this._x - _root.CAR1._x;
ydistance = this._y - _root.CAR1._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.CAR1._x) {
xspeed = runspeed;
} else {
xspeed = -runspeed;
}
yspeed = 0;
} else {
if (_y > _root.CAR1._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.wall2.hitTest(_x, _y, true)) {
xspeed = -xspeed;
yspeed = -yspeed;
_x = oldx;
_y = oldy;
} else {
oldx = _x;
oldy = _y;
hitwall = false;
}
}
if ((hitTest(_root.CAR1) && (CARspeed > resistance)) && (runover != true)) {
runover = true;
this.gotoAndPlay(2);
_root.killed2 = _root.killed2 + 1;
}
}
Instance of Symbol 381 MovieClip in Frame 750
onClipEvent (load) {
resistance = 2;
oldxscale = _xscale;
oldyscale = _yscale;
speed = 1;
runspeed = 5;
xspeed = speed;
yspeed = 0;
changepossibility = 44;
possibility = false;
panicdistance = 60;
calmdistance = 110;
}
onClipEvent (enterFrame) {
CARspeed = _root.CAR1.speed;
if (CARspeed < 0) {
CARspeed = CARspeed * -1;
}
if (runover != true) {
xdistance = this._x - _root.CAR1._x;
ydistance = this._y - _root.CAR1._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.CAR1._x) {
xspeed = runspeed;
} else {
xspeed = -runspeed;
}
yspeed = 0;
} else {
if (_y > _root.CAR1._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.wall2.hitTest(_x, _y, true)) {
xspeed = -xspeed;
yspeed = -yspeed;
_x = oldx;
_y = oldy;
} else {
oldx = _x;
oldy = _y;
hitwall = false;
}
}
if ((hitTest(_root.CAR1) && (CARspeed > resistance)) && (runover != true)) {
runover = true;
this.gotoAndPlay(2);
_root.killed2 = _root.killed2 + 1;
}
}
Instance of Symbol 326 MovieClip in Frame 750
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 381 MovieClip in Frame 750
onClipEvent (load) {
resistance = 2;
oldxscale = _xscale;
oldyscale = _yscale;
speed = 1.5;
runspeed = 4;
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 330 MovieClip in Frame 750
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 326 MovieClip in Frame 750
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 241 MovieClip "fellow2" in Frame 750
onClipEvent (load) {
resistance = 2;
oldxscale = _xscale;
oldyscale = _yscale;
speed = 1;
runspeed = 5;
xspeed = speed;
yspeed = 0;
changepossibility = 44;
possibility = false;
panicdistance = 60;
calmdistance = 110;
}
onClipEvent (enterFrame) {
CARspeed = _root.CAR1.speed;
if (CARspeed < 0) {
CARspeed = CARspeed * -1;
}
if (runover != true) {
xdistance = this._x - _root.CAR1._x;
ydistance = this._y - _root.CAR1._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.CAR1._x) {
xspeed = runspeed;
} else {
xspeed = -runspeed;
}
yspeed = 0;
} else {
if (_y > _root.CAR1._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.wall2.hitTest(_x, _y, true)) {
xspeed = -xspeed;
yspeed = -yspeed;
_x = oldx;
_y = oldy;
} else {
oldx = _x;
oldy = _y;
hitwall = false;
}
}
if ((hitTest(_root.CAR1) && (CARspeed > resistance)) && (runover != true)) {
runover = true;
this.gotoAndPlay(2);
_root.killed2 = _root.killed2 + 1;
}
}
Instance of Symbol 330 MovieClip in Frame 750
onClipEvent (load) {
resistance = 2;
oldxscale = _xscale;
oldyscale = _yscale;
speed = 1.5;
runspeed = 4;
xspeed = speed;
yspeed = 0;
changepossibility = 44;
possibility = false;
panicdistance = 60;
calmdistance = 110;
}
onClipEvent (enterFrame) {
CARspeed = _root.CAR1.speed;
if (CARspeed < 0) {
CARspeed = CARspeed * -1;
}
if (runover != true) {
xdistance = this._x - _root.CAR1._x;
ydistance = this._y - _root.CAR1._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.CAR1._x) {
xspeed = runspeed;
} else {
xspeed = -runspeed;
}
yspeed = 0;
} else {
if (_y > _root.CAR1._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.wall2.hitTest(_x, _y, true)) {
xspeed = -xspeed;
yspeed = -yspeed;
_x = oldx;
_y = oldy;
} else {
oldx = _x;
oldy = _y;
hitwall = false;
}
}
if ((hitTest(_root.CAR1) && (CARspeed > resistance)) && (runover != true)) {
runover = true;
this.gotoAndPlay(2);
_root.killed2 = _root.killed2 + 1;
}
}
Instance of Symbol 381 MovieClip in Frame 750
onClipEvent (load) {
resistance = 2;
oldxscale = _xscale;
oldyscale = _yscale;
speed = 1;
runspeed = 5;
xspeed = speed;
yspeed = 0;
changepossibility = 44;
possibility = false;
panicdistance = 60;
calmdistance = 110;
}
onClipEvent (enterFrame) {
CARspeed = _root.CAR1.speed;
if (CARspeed < 0) {
CARspeed = CARspeed * -1;
}
if (runover != true) {
xdistance = this._x - _root.CAR1._x;
ydistance = this._y - _root.CAR1._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.CAR1._x) {
xspeed = runspeed;
} else {
xspeed = -runspeed;
}
yspeed = 0;
} else {
if (_y > _root.CAR1._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.wall2.hitTest(_x, _y, true)) {
xspeed = -xspeed;
yspeed = -yspeed;
_x = oldx;
_y = oldy;
} else {
oldx = _x;
oldy = _y;
hitwall = false;
}
}
if ((hitTest(_root.CAR1) && (CARspeed > resistance)) && (runover != true)) {
runover = true;
this.gotoAndPlay(2);
_root.killed2 = _root.killed2 + 1;
}
}
Instance of Symbol 330 MovieClip in Frame 750
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 326 MovieClip in Frame 750
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 381 MovieClip in Frame 750
onClipEvent (load) {
resistance = 2;
oldxscale = _xscale;
oldyscale = _yscale;
speed = 1.5;
runspeed = 4;
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 220 MovieClip "CAR" in Frame 750
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("completeplayer2");
};
}
if (Key.isDown(38)) {
speed = speed + 1;
} else if (Key.isDown(40)) {
speed = speed - 1;
} else {
speed = speed * 0.9;
}
if (Math.abs(speed) > 25) {
speed = speed * 0.6;
}
if (Key.isDown(37)) {
_rotation = (_rotation - speed);
}
if (Key.isDown(39)) {
_rotation = (_rotation + speed);
}
speed = speed * 0.9;
x = Math.sin(_rotation * (Math.PI/180)) * speed;
y = (Math.cos(_rotation * (Math.PI/180)) * speed) * -1;
if (!_root.move.hitTest(_x + x, _y + y, true)) {
_x = (_x + x);
_y = (_y + y);
} else {
speed = speed * -0.5;
}
}
Instance of Symbol 691 MovieClip "CAR1" in Frame 750
onClipEvent (load) {
_root.health2 = 100;
_root.killed2 = 0;
_root.speed = 0;
speed = 0;
maxspeed = 10;
}
onClipEvent (enterFrame) {
_root.speed = int(speed);
if (_root.health2 < 1) {
tellTarget ("/") {
_root.gotoAndStop("completeplayer1");
};
}
if (Key.isDown(87)) {
speed = speed + 1;
} else if (Key.isDown(83)) {
speed = speed - 1;
} else {
speed = speed * 0.9;
}
if (Math.abs(speed) > 25) {
speed = speed * 0.6;
}
if (Key.isDown(65)) {
_rotation = (_rotation - speed);
}
if (Key.isDown(68)) {
_rotation = (_rotation + speed);
}
speed = speed * 0.9;
x = Math.sin(_rotation * (Math.PI/180)) * speed;
y = (Math.cos(_rotation * (Math.PI/180)) * speed) * -1;
if (!_root.move.hitTest(_x + x, _y + y, true)) {
_x = (_x + x);
_y = (_y + y);
} else {
speed = speed * -0.5;
}
}
Instance of Symbol 343 MovieClip in Frame 750
onClipEvent (enterFrame) {
if (_root.sec < 1) {
_root.gotoAndStop("dead2play");
}
}
Instance of Symbol 346 MovieClip in Frame 750
onClipEvent (enterFrame) {
if (_root.killed > 10) {
tellTarget ("/") {
gotoAndPlay ("completeplayer1");
};
}
}
Instance of Symbol 346 MovieClip in Frame 750
onClipEvent (enterFrame) {
if (_root.killed2 > 10) {
tellTarget ("/") {
gotoAndPlay ("completeplayer2");
};
}
}
Frame 751
stop();
stopAllSounds();
stopAllSounds();
stop();
Frame 755
stopAllSounds();
stop();
Frame 757
stopAllSounds();
stop();
stop();
Frame 767
stopAllSounds();
stop();
Frame 768
Now = 0;
StartTime = getTimer();
Frame 769
Now = getTimer() - StartTime;
if (Number(Now) < 1) {
gotoAndPlay (768);
} else {
nextFrame();
}
Frame 770
stop();
stop();
Instance of Symbol 717 MovieClip "wall2" in Frame 770
onClipEvent (enterFrame) {
if (hitTest(_root.CAR1._x, _root.CAR1._y, true)) {
_root.CAR1.speed = -_root.CAR1.speed;
speed = _root.CAR1.speed;
if (speed < 0) {
speed = speed * -1;
}
_root.CAR1.nextFrame();
_root.health2 = _root.health2 - (2 + int(speed));
_root.CAR1._x = oldx;
_root.CAR1._y = oldy;
} else {
oldx = _root.CAR1._x;
oldy = _root.CAR1._y;
}
}
Instance of Symbol 717 MovieClip "wall" in Frame 770
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 321 MovieClip "wall" in Frame 770
onClipEvent (enterFrame) {
if (hitTest(_root.CAR._x, _root.CAR._y, true)) {
this.gotoAndStop(2);
_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 321 MovieClip "wall2" in Frame 770
onClipEvent (enterFrame) {
if (hitTest(_root.CAR1._x, _root.CAR1._y, true)) {
this.gotoAndStop(2);
_root.CAR1.speed = -_root.CAR1.speed;
speed = _root.CAR1.speed;
if (speed < 0) {
speed = speed * -1;
}
_root.CAR1.nextFrame();
_root.health2 = _root.health2 - (2 + int(speed));
_root.CAR1._x = oldx;
_root.CAR1._y = oldy;
} else {
oldx = _root.CAR1._x;
oldy = _root.CAR1._y;
}
}
Instance of Symbol 321 MovieClip in Frame 770
onClipEvent (enterFrame) {
if (hitTest(_root.CAR1._x, _root.CAR1._y, true)) {
this.gotoAndStop(2);
_root.CAR1.speed = -_root.CAR1.speed;
speed = _root.CAR1.speed;
if (speed < 0) {
speed = speed * -1;
}
_root.CAR1.nextFrame();
_root.health2 = _root.health2 - (2 + int(speed));
_root.CAR1._x = oldx;
_root.CAR1._y = oldy;
} else {
oldx = _root.CAR1._x;
oldy = _root.CAR1._y;
}
}
Instance of Symbol 321 MovieClip in Frame 770
onClipEvent (enterFrame) {
if (hitTest(_root.CAR._x, _root.CAR._y, true)) {
this.gotoAndStop(2);
_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 241 MovieClip "fellow" in Frame 770
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.CAR1.speed;
if (CARspeed < 0) {
CARspeed = CARspeed * -1;
}
if (runover != true) {
xdistance = this._x - _root.CAR1._x;
ydistance = this._y - _root.CAR1._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.CAR1._x) {
xspeed = runspeed;
} else {
xspeed = -runspeed;
}
yspeed = 0;
} else {
if (_y > _root.CAR1._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.wall2.hitTest(_x, _y, true)) {
xspeed = -xspeed;
yspeed = -yspeed;
_x = oldx;
_y = oldy;
} else {
oldx = _x;
oldy = _y;
hitwall = false;
}
}
if ((hitTest(_root.CAR1) && (CARspeed > resistance)) && (runover != true)) {
runover = true;
this.gotoAndPlay(2);
_root.killed2 = _root.killed2 + 1;
}
}
Instance of Symbol 241 MovieClip in Frame 770
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.CAR1.speed;
if (CARspeed < 0) {
CARspeed = CARspeed * -1;
}
if (runover != true) {
xdistance = this._x - _root.CAR1._x;
ydistance = this._y - _root.CAR1._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.CAR1._x) {
xspeed = runspeed;
} else {
xspeed = -runspeed;
}
yspeed = 0;
} else {
if (_y > _root.CAR1._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.wall2.hitTest(_x, _y, true)) {
xspeed = -xspeed;
yspeed = -yspeed;
_x = oldx;
_y = oldy;
} else {
oldx = _x;
oldy = _y;
hitwall = false;
}
}
if ((hitTest(_root.CAR1) && (CARspeed > resistance)) && (runover != true)) {
runover = true;
this.gotoAndPlay(2);
_root.killed2 = _root.killed2 + 1;
}
}
Instance of Symbol 326 MovieClip in Frame 770
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 330 MovieClip in Frame 770
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 330 MovieClip in Frame 770
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 330 MovieClip in Frame 770
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.CAR1.speed;
if (CARspeed < 0) {
CARspeed = CARspeed * -1;
}
if (runover != true) {
xdistance = this._x - _root.CAR1._x;
ydistance = this._y - _root.CAR1._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.CAR1._x) {
xspeed = runspeed;
} else {
xspeed = -runspeed;
}
yspeed = 0;
} else {
if (_y > _root.CAR1._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.wall2.hitTest(_x, _y, true)) {
xspeed = -xspeed;
yspeed = -yspeed;
_x = oldx;
_y = oldy;
} else {
oldx = _x;
oldy = _y;
hitwall = false;
}
}
if ((hitTest(_root.CAR1) && (CARspeed > resistance)) && (runover != true)) {
runover = true;
this.gotoAndPlay(2);
_root.killed2 = _root.killed2 + 1;
}
}
Instance of Symbol 381 MovieClip in Frame 770
onClipEvent (load) {
resistance = 2;
oldxscale = _xscale;
oldyscale = _yscale;
speed = 1.5;
runspeed = 4;
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 381 MovieClip in Frame 770
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.CAR1.speed;
if (CARspeed < 0) {
CARspeed = CARspeed * -1;
}
if (runover != true) {
xdistance = this._x - _root.CAR1._x;
ydistance = this._y - _root.CAR1._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.CAR1._x) {
xspeed = runspeed;
} else {
xspeed = -runspeed;
}
yspeed = 0;
} else {
if (_y > _root.CAR1._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.wall2.hitTest(_x, _y, true)) {
xspeed = -xspeed;
yspeed = -yspeed;
_x = oldx;
_y = oldy;
} else {
oldx = _x;
oldy = _y;
hitwall = false;
}
}
if ((hitTest(_root.CAR1) && (CARspeed > resistance)) && (runover != true)) {
runover = true;
this.gotoAndPlay(2);
_root.killed2 = _root.killed2 + 1;
}
}
Instance of Symbol 241 MovieClip "fellow1" in Frame 770
onClipEvent (load) {
resistance = 2;
oldxscale = _xscale;
oldyscale = _yscale;
speed = 1;
runspeed = 5;
xspeed = speed;
yspeed = 0;
changepossibility = 44;
possibility = false;
panicdistance = 60;
calmdistance = 110;
}
onClipEvent (enterFrame) {
CARspeed = _root.CAR1.speed;
if (CARspeed < 0) {
CARspeed = CARspeed * -1;
}
if (runover != true) {
xdistance = this._x - _root.CAR1._x;
ydistance = this._y - _root.CAR1._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.CAR1._x) {
xspeed = runspeed;
} else {
xspeed = -runspeed;
}
yspeed = 0;
} else {
if (_y > _root.CAR1._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.wall2.hitTest(_x, _y, true)) {
xspeed = -xspeed;
yspeed = -yspeed;
_x = oldx;
_y = oldy;
} else {
oldx = _x;
oldy = _y;
hitwall = false;
}
}
if ((hitTest(_root.CAR1) && (CARspeed > resistance)) && (runover != true)) {
runover = true;
this.gotoAndPlay(2);
_root.killed2 = _root.killed2 + 1;
}
}
Instance of Symbol 381 MovieClip in Frame 770
onClipEvent (load) {
resistance = 2;
oldxscale = _xscale;
oldyscale = _yscale;
speed = 1;
runspeed = 5;
xspeed = speed;
yspeed = 0;
changepossibility = 44;
possibility = false;
panicdistance = 60;
calmdistance = 110;
}
onClipEvent (enterFrame) {
CARspeed = _root.CAR1.speed;
if (CARspeed < 0) {
CARspeed = CARspeed * -1;
}
if (runover != true) {
xdistance = this._x - _root.CAR1._x;
ydistance = this._y - _root.CAR1._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.CAR1._x) {
xspeed = runspeed;
} else {
xspeed = -runspeed;
}
yspeed = 0;
} else {
if (_y > _root.CAR1._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.wall2.hitTest(_x, _y, true)) {
xspeed = -xspeed;
yspeed = -yspeed;
_x = oldx;
_y = oldy;
} else {
oldx = _x;
oldy = _y;
hitwall = false;
}
}
if ((hitTest(_root.CAR1) && (CARspeed > resistance)) && (runover != true)) {
runover = true;
this.gotoAndPlay(2);
_root.killed2 = _root.killed2 + 1;
}
}
Instance of Symbol 330 MovieClip in Frame 770
onClipEvent (load) {
resistance = 2;
oldxscale = _xscale;
oldyscale = _yscale;
speed = 1.5;
runspeed = 4;
xspeed = speed;
yspeed = 0;
changepossibility = 44;
possibility = false;
panicdistance = 60;
calmdistance = 110;
}
onClipEvent (enterFrame) {
CARspeed = _root.CAR1.speed;
if (CARspeed < 0) {
CARspeed = CARspeed * -1;
}
if (runover != true) {
xdistance = this._x - _root.CAR1._x;
ydistance = this._y - _root.CAR1._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.CAR1._x) {
xspeed = runspeed;
} else {
xspeed = -runspeed;
}
yspeed = 0;
} else {
if (_y > _root.CAR1._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.wall2.hitTest(_x, _y, true)) {
xspeed = -xspeed;
yspeed = -yspeed;
_x = oldx;
_y = oldy;
} else {
oldx = _x;
oldy = _y;
hitwall = false;
}
}
if ((hitTest(_root.CAR1) && (CARspeed > resistance)) && (runover != true)) {
runover = true;
this.gotoAndPlay(2);
_root.killed2 = _root.killed2 + 1;
}
}
Instance of Symbol 381 MovieClip in Frame 770
onClipEvent (load) {
resistance = 2;
oldxscale = _xscale;
oldyscale = _yscale;
speed = 1;
runspeed = 5;
xspeed = speed;
yspeed = 0;
changepossibility = 44;
possibility = false;
panicdistance = 60;
calmdistance = 110;
}
onClipEvent (enterFrame) {
CARspeed = _root.CAR1.speed;
if (CARspeed < 0) {
CARspeed = CARspeed * -1;
}
if (runover != true) {
xdistance = this._x - _root.CAR1._x;
ydistance = this._y - _root.CAR1._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.CAR1._x) {
xspeed = runspeed;
} else {
xspeed = -runspeed;
}
yspeed = 0;
} else {
if (_y > _root.CAR1._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.wall2.hitTest(_x, _y, true)) {
xspeed = -xspeed;
yspeed = -yspeed;
_x = oldx;
_y = oldy;
} else {
oldx = _x;
oldy = _y;
hitwall = false;
}
}
if ((hitTest(_root.CAR1) && (CARspeed > resistance)) && (runover != true)) {
runover = true;
this.gotoAndPlay(2);
_root.killed2 = _root.killed2 + 1;
}
}
Instance of Symbol 326 MovieClip in Frame 770
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 381 MovieClip in Frame 770
onClipEvent (load) {
resistance = 2;
oldxscale = _xscale;
oldyscale = _yscale;
speed = 1.5;
runspeed = 4;
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 330 MovieClip in Frame 770
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 326 MovieClip in Frame 770
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 241 MovieClip "fellow2" in Frame 770
onClipEvent (load) {
resistance = 2;
oldxscale = _xscale;
oldyscale = _yscale;
speed = 1;
runspeed = 5;
xspeed = speed;
yspeed = 0;
changepossibility = 44;
possibility = false;
panicdistance = 60;
calmdistance = 110;
}
onClipEvent (enterFrame) {
CARspeed = _root.CAR1.speed;
if (CARspeed < 0) {
CARspeed = CARspeed * -1;
}
if (runover != true) {
xdistance = this._x - _root.CAR1._x;
ydistance = this._y - _root.CAR1._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.CAR1._x) {
xspeed = runspeed;
} else {
xspeed = -runspeed;
}
yspeed = 0;
} else {
if (_y > _root.CAR1._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.wall2.hitTest(_x, _y, true)) {
xspeed = -xspeed;
yspeed = -yspeed;
_x = oldx;
_y = oldy;
} else {
oldx = _x;
oldy = _y;
hitwall = false;
}
}
if ((hitTest(_root.CAR1) && (CARspeed > resistance)) && (runover != true)) {
runover = true;
this.gotoAndPlay(2);
_root.killed2 = _root.killed2 + 1;
}
}
Instance of Symbol 330 MovieClip in Frame 770
onClipEvent (load) {
resistance = 2;
oldxscale = _xscale;
oldyscale = _yscale;
speed = 1.5;
runspeed = 4;
xspeed = speed;
yspeed = 0;
changepossibility = 44;
possibility = false;
panicdistance = 60;
calmdistance = 110;
}
onClipEvent (enterFrame) {
CARspeed = _root.CAR1.speed;
if (CARspeed < 0) {
CARspeed = CARspeed * -1;
}
if (runover != true) {
xdistance = this._x - _root.CAR1._x;
ydistance = this._y - _root.CAR1._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.CAR1._x) {
xspeed = runspeed;
} else {
xspeed = -runspeed;
}
yspeed = 0;
} else {
if (_y > _root.CAR1._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.wall2.hitTest(_x, _y, true)) {
xspeed = -xspeed;
yspeed = -yspeed;
_x = oldx;
_y = oldy;
} else {
oldx = _x;
oldy = _y;
hitwall = false;
}
}
if ((hitTest(_root.CAR1) && (CARspeed > resistance)) && (runover != true)) {
runover = true;
this.gotoAndPlay(2);
_root.killed2 = _root.killed2 + 1;
}
}
Instance of Symbol 381 MovieClip in Frame 770
onClipEvent (load) {
resistance = 2;
oldxscale = _xscale;
oldyscale = _yscale;
speed = 1;
runspeed = 5;
xspeed = speed;
yspeed = 0;
changepossibility = 44;
possibility = false;
panicdistance = 60;
calmdistance = 110;
}
onClipEvent (enterFrame) {
CARspeed = _root.CAR1.speed;
if (CARspeed < 0) {
CARspeed = CARspeed * -1;
}
if (runover != true) {
xdistance = this._x - _root.CAR1._x;
ydistance = this._y - _root.CAR1._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.CAR1._x) {
xspeed = runspeed;
} else {
xspeed = -runspeed;
}
yspeed = 0;
} else {
if (_y > _root.CAR1._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.wall2.hitTest(_x, _y, true)) {
xspeed = -xspeed;
yspeed = -yspeed;
_x = oldx;
_y = oldy;
} else {
oldx = _x;
oldy = _y;
hitwall = false;
}
}
if ((hitTest(_root.CAR1) && (CARspeed > resistance)) && (runover != true)) {
runover = true;
this.gotoAndPlay(2);
_root.killed2 = _root.killed2 + 1;
}
}
Instance of Symbol 330 MovieClip in Frame 770
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 326 MovieClip in Frame 770
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 381 MovieClip in Frame 770
onClipEvent (load) {
resistance = 2;
oldxscale = _xscale;
oldyscale = _yscale;
speed = 1.5;
runspeed = 4;
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 220 MovieClip "CAR" in Frame 770
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("completeplayer23");
};
}
if (Key.isDown(38)) {
speed = speed + 1;
} else if (Key.isDown(40)) {
speed = speed - 1;
} else {
speed = speed * 0.9;
}
if (Math.abs(speed) > 25) {
speed = speed * 0.6;
}
if (Key.isDown(37)) {
_rotation = (_rotation - speed);
}
if (Key.isDown(39)) {
_rotation = (_rotation + speed);
}
speed = speed * 0.9;
x = Math.sin(_rotation * (Math.PI/180)) * speed;
y = (Math.cos(_rotation * (Math.PI/180)) * speed) * -1;
if (!_root.move.hitTest(_x + x, _y + y, true)) {
_x = (_x + x);
_y = (_y + y);
} else {
speed = speed * -0.5;
}
}
Instance of Symbol 691 MovieClip "CAR1" in Frame 770
onClipEvent (load) {
_root.health2 = 100;
_root.killed2 = 0;
_root.speed = 0;
speed = 0;
maxspeed = 10;
}
onClipEvent (enterFrame) {
_root.speed = int(speed);
if (_root.health2 < 1) {
tellTarget ("/") {
_root.gotoAndStop("completeplayer13");
};
}
if (Key.isDown(87)) {
speed = speed + 1;
} else if (Key.isDown(83)) {
speed = speed - 1;
} else {
speed = speed * 0.9;
}
if (Math.abs(speed) > 25) {
speed = speed * 0.6;
}
if (Key.isDown(65)) {
_rotation = (_rotation - speed);
}
if (Key.isDown(68)) {
_rotation = (_rotation + speed);
}
speed = speed * 0.9;
x = Math.sin(_rotation * (Math.PI/180)) * speed;
y = (Math.cos(_rotation * (Math.PI/180)) * speed) * -1;
if (!_root.move.hitTest(_x + x, _y + y, true)) {
_x = (_x + x);
_y = (_y + y);
} else {
speed = speed * -0.5;
}
}
Instance of Symbol 343 MovieClip in Frame 770
onClipEvent (enterFrame) {
if (_root.sec < 1) {
_root.gotoAndStop("dead3play");
}
}
Instance of Symbol 346 MovieClip in Frame 770
onClipEvent (enterFrame) {
if (_root.killed > 10) {
tellTarget ("/") {
gotoAndPlay ("completeplayer13");
};
}
}
Instance of Symbol 346 MovieClip in Frame 770
onClipEvent (enterFrame) {
if (_root.killed2 > 10) {
tellTarget ("/") {
gotoAndPlay ("completeplayer23");
};
}
}
Frame 771
stop();
stopAllSounds();
stopAllSounds();
stop();
Frame 775
stop();
stopAllSounds();
Frame 777
stopAllSounds();
stop();
stop();
Frame 787
stopAllSounds();
stop();
Frame 1048
stop();
Frame 1049
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 69 Button
on (release) {
gotoAndPlay (103);
}
Symbol 80 Button
on (release) {
gotoAndPlay (105);
}
Symbol 91 Button
on (release) {
gotoAndPlay (788);
}
Symbol 97 Button
on (release) {
gotoAndPlay (108);
}
Symbol 103 Button
on (release) {
gotoAndPlay (104);
}
Symbol 110 Button
on (release) {
gotoAndPlay (748);
}
Symbol 112 Button
on (release) {
gotoAndPlay (768);
}
Symbol 129 Button
on (release) {
gotoAndPlay (105);
}
Symbol 153 Button
on (release) {
nextFrame();
}
Symbol 166 MovieClip Frame 6
stop();
Symbol 220 MovieClip Frame 1
stop();
Symbol 220 MovieClip Frame 2
stop();
Symbol 220 MovieClip Frame 3
stop();
Symbol 220 MovieClip Frame 4
stop();
Symbol 220 MovieClip Frame 5
stop();
Symbol 220 MovieClip Frame 6
stop();
Symbol 220 MovieClip Frame 7
stop();
Symbol 220 MovieClip Frame 8
stop();
Symbol 220 MovieClip Frame 9
stop();
Symbol 220 MovieClip Frame 10
stop();
Symbol 220 MovieClip Frame 11
stop();
Symbol 220 MovieClip Frame 12
stop();
Symbol 220 MovieClip Frame 13
stop();
Symbol 220 MovieClip Frame 14
stop();
Symbol 220 MovieClip Frame 15
stop();
Symbol 220 MovieClip Frame 16
stop();
Symbol 220 MovieClip Frame 17
stop();
Symbol 220 MovieClip Frame 18
stop();
Symbol 220 MovieClip Frame 19
stop();
Symbol 220 MovieClip Frame 20
stop();
Symbol 220 MovieClip Frame 21
stop();
Symbol 220 MovieClip Frame 22
stop();
Symbol 220 MovieClip Frame 23
stop();
Symbol 220 MovieClip Frame 24
stop();
Symbol 220 MovieClip Frame 25
stop();
Symbol 220 MovieClip Frame 26
stop();
Symbol 220 MovieClip Frame 27
stop();
Symbol 220 MovieClip Frame 28
stop();
Symbol 220 MovieClip Frame 29
stop();
Symbol 220 MovieClip Frame 30
stop();
Symbol 220 MovieClip Frame 31
stop();
Symbol 220 MovieClip Frame 32
stop();
Symbol 220 MovieClip Frame 33
stop();
Symbol 220 MovieClip Frame 34
stop();
Symbol 220 MovieClip Frame 35
stop();
Symbol 220 MovieClip Frame 36
stop();
Symbol 220 MovieClip Frame 37
stop();
Symbol 220 MovieClip Frame 38
stop();
Symbol 220 MovieClip Frame 39
stop();
Symbol 220 MovieClip Frame 40
stop();
Symbol 220 MovieClip Frame 41
stop();
Symbol 241 MovieClip Frame 1
stop();
Symbol 241 MovieClip Frame 2
stop();
Symbol 251 Button
on (press) {
stopAllSounds();
gotoAndPlay (92);
}
Symbol 262 Button
on (release) {
if (Number(playtrack) > 1) {
playtrack = playtrack - 1;
if (action eq "play") {
status = "playing tr. " add playtrack;
tellTarget ("tracks") {
stopAllSounds();
gotoAndStop("track" add ../:playtrack);
};
gotoAndPlay ("play");
} else {
status = "stoped tr. " add playtrack;
}
}
}
Symbol 266 Button
on (release) {
if (action eq "pause") {
action = "play";
status = "playing tr. " add playtrack;
tellTarget ("tracks") {
gotoAndStop("track" add ../:playtrack);
};
play();
} else if (action eq "play") {
action = "pause";
status = "paused tr. " add playtrack;
tellTarget ("tracks") {
gotoAndStop ("stop");
};
stop();
}
}
Symbol 269 Button
on (release) {
action = "stop";
scale = "0";
down = "9";
status = "stoped tr. " add playtrack;
tellTarget ("tracks") {
gotoAndStop ("stop");
};
play();
}
Symbol 272 Button
on (release) {
if (Number(playtrack) < Number(maxtracks)) {
playtrack = Number(playtrack) + 1;
status = "playing tr. " add playtrack;
if (action eq "play") {
tellTarget ("tracks") {
stopAllSounds();
gotoAndStop("track" add ../:playtrack);
};
gotoAndPlay ("play");
} else {
status = "stoped tr. " add playtrack;
}
}
}
Symbol 275 Button
on (release) {
scale = "99";
action = "play";
down = "3";
status = "playing tr. " add playtrack;
tellTarget ("tracks") {
gotoAndStop("track" add ../:playtrack);
};
play();
}
Symbol 279 MovieClip Frame 5
stopAllSounds();
Symbol 283 Button
on (release) {
tellTarget ("../") {
play();
};
}
Symbol 286 Button
on (press) {
startDrag ("../../cleoplayer");
}
on (release) {
stopDrag();
}
Symbol 287 MovieClip Frame 1
down = 3;
scale = 99;
pause = "no";
playtrack = 1;
action = "play";
maxtracks = 3;
Symbol 287 MovieClip Frame 2
if (action eq "play") {
actiontxt = "playing tr. ";
status = actiontxt add playtrack;
tellTarget ("tracks") {
gotoAndStop("track" add ../:playtrack);
};
gotoAndPlay ("play");
} else {
scale = "0";
down = "9";
actiontxt = "stoped tr. ";
status = actiontxt add playtrack;
gotoAndStop ("play");
}
Symbol 287 MovieClip Frame 3
setProperty("line", _visible , "0");
setProperty("topdot", _visible , "0");
maxlines = 40;
alpha = 100 / maxlines;
atmp = 20;
i = 0;
while (Number(i) <= Number(maxlines)) {
newy = 1 + Number(random(scale));
duplicateMovieClip ("line", "line" add i, 100 + Number(i));
setProperty("line" add i, _x , Number(-120) + Number(i * 7));
setProperty("line" add i, _y , 25);
setProperty("line" add i, _yscale , newy);
setProperty("line" add i, _alpha , atmp);
duplicateMovieClip ("topdot", "topdot" add i, 200 + Number(i));
setProperty("topdot" add i, _x , Number(-120) + Number(i * 7));
setProperty("topdot" add i, _y , 23 - (newy / 2));
Set("doty" add i, newy);
setProperty("topdot" add i, _alpha , atmp);
if (Number(i) >= Number(maxlines / 2)) {
atmp = atmp - alpha;
} else {
atmp = Number(atmp) + Number(alpha);
}
i = Number(i) + 1;
}
Symbol 287 MovieClip Frame 4
i = 0;
while (Number(i) <= Number(maxlines)) {
newy = 1 + Number(random(scale));
setProperty("line" add i, _yscale , newy);
if (newy >= eval ("doty" add i)) {
Set("doty" add i, newy);
} else {
Set("doty" add i, eval ("doty" add i) - down);
}
setProperty("topdot" add i, _y , 23 - (eval ("doty" add i) / 2));
i = Number(i) + 1;
}
Symbol 287 MovieClip Frame 5
gotoAndPlay(_currentframe - 1);
Symbol 288 MovieClip Frame 1
stop();
Symbol 288 MovieClip Frame 15
stop();
Symbol 288 MovieClip Frame 30
stop();
Symbol 295 MovieClip Frame 1
stop();
Symbol 295 MovieClip Frame 2
stop();
Symbol 299 Button
on (release) {
gotoAndStop (109);
}
Symbol 305 MovieClip Frame 1
Set("/:sec", 40);
Set("/:min", 0);
timernow = getTimer();
xtimer = 1;
Symbol 305 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 305 MovieClip Frame 3
gotoAndPlay (2);
Symbol 319 MovieClip Frame 40
stop();
Symbol 321 MovieClip Frame 1
stop();
Symbol 321 MovieClip Frame 2
stop();
Symbol 326 MovieClip Frame 1
stop();
Symbol 326 MovieClip Frame 2
stop();
Symbol 330 MovieClip Frame 1
stop();
Symbol 330 MovieClip Frame 2
stop();
Symbol 346 MovieClip Frame 1
if (_root.killed > 5) {
_root.gotoAndPlay("level1", "pass");
} else {
gotoAndPlay (1);
}
Symbol 346 MovieClip Frame 2
gotoAndPlay (1);
Symbol 354 Button
on (release) {
gotoAndPlay (108);
}
Symbol 355 Button
on (release) {
gotoAndPlay (92);
stopAllSounds();
}
Symbol 363 Button
on (release) {
gotoAndPlay (128);
}
Symbol 365 Button
on (release) {
gotoAndStop (129);
}
Symbol 381 MovieClip Frame 1
stop();
Symbol 381 MovieClip Frame 2
stop();
Symbol 394 Button
on (release) {
gotoAndPlay (128);
}
Symbol 395 Button
on (release) {
gotoAndPlay (92);
stopAllSounds();
}
Symbol 400 Button
on (release) {
gotoAndPlay (148);
}
Symbol 402 Button
on (release) {
gotoAndStop (149);
}
Symbol 432 Button
on (release) {
gotoAndPlay (148);
}
Symbol 438 Button
on (release) {
gotoAndPlay (168);
}
Symbol 440 Button
on (release) {
gotoAndStop (169);
}
Symbol 449 MovieClip Frame 1
stop();
Symbol 449 MovieClip Frame 2
stop();
Symbol 464 MovieClip Frame 1
stop();
Symbol 464 MovieClip Frame 2
stop();
Symbol 468 MovieClip Frame 1
stop();
Symbol 468 MovieClip Frame 2
stop();
Symbol 483 Button
on (release) {
gotoAndPlay (168);
}
Symbol 488 Button
on (release) {
gotoAndPlay (188);
}
Symbol 492 Button
on (release) {
play();
}
Symbol 501 Button
on (release) {
gotoAndPlay (358);
}
Symbol 503 Button
on (release) {
gotoAndStop (359);
}
Symbol 517 MovieClip Frame 1
stop();
Symbol 517 MovieClip Frame 2
stop();
Symbol 519 MovieClip Frame 1
stop();
Symbol 519 MovieClip Frame 2
stop();
Instance of Symbol 449 MovieClip in Symbol 526 MovieClip Frame 73
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 449 MovieClip in Symbol 526 MovieClip Frame 120
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;
}
}
Symbol 537 Button
on (release) {
gotoAndPlay (358);
}
Symbol 538 Button
on (release) {
gotoAndPlay (92);
}
Symbol 551 Button
on (release) {
gotoAndPlay (393);
stopAllSounds();
}
Symbol 554 Button
on (release) {
gotoAndPlay (393);
}
Symbol 560 Button
on (release) {
gotoAndPlay (543);
}
Symbol 562 Button
on (release) {
gotoAndStop (544);
}
Symbol 582 Button
on (release) {
gotoAndPlay (543);
}
Symbol 593 Button
on (release) {
gotoAndPlay (578);
stopAllSounds();
}
Symbol 600 Button
on (release) {
gotoAndPlay (713);
}
Symbol 603 Button
on (release) {
gotoAndStop (714);
}
Symbol 615 MovieClip Frame 1
stop();
Symbol 615 MovieClip Frame 2
stop();
Symbol 616 MovieClip Frame 197
stop();
Symbol 627 Button
on (release) {
gotoAndPlay (713);
}
Symbol 638 Button
on (release) {
gotoAndPlay (788);
stopAllSounds();
}
Symbol 640 Button
on (release) {
gotoAndStop (749);
}
Symbol 691 MovieClip Frame 1
stop();
Symbol 691 MovieClip Frame 2
stop();
Symbol 691 MovieClip Frame 3
stop();
Symbol 691 MovieClip Frame 4
stop();
Symbol 691 MovieClip Frame 5
stop();
Symbol 691 MovieClip Frame 6
stop();
Symbol 691 MovieClip Frame 7
stop();
Symbol 691 MovieClip Frame 8
stop();
Symbol 691 MovieClip Frame 9
stop();
Symbol 691 MovieClip Frame 10
stop();
Symbol 691 MovieClip Frame 11
stop();
Symbol 691 MovieClip Frame 12
stop();
Symbol 691 MovieClip Frame 13
stop();
Symbol 691 MovieClip Frame 14
stop();
Symbol 691 MovieClip Frame 15
stop();
Symbol 691 MovieClip Frame 16
stop();
Symbol 691 MovieClip Frame 17
stop();
Symbol 691 MovieClip Frame 18
stop();
Symbol 691 MovieClip Frame 19
stop();
Symbol 691 MovieClip Frame 20
stop();
Symbol 691 MovieClip Frame 21
stop();
Symbol 691 MovieClip Frame 22
stop();
Symbol 691 MovieClip Frame 23
stop();
Symbol 691 MovieClip Frame 24
stop();
Symbol 691 MovieClip Frame 25
stop();
Symbol 691 MovieClip Frame 26
stop();
Symbol 691 MovieClip Frame 27
stop();
Symbol 691 MovieClip Frame 28
stop();
Symbol 691 MovieClip Frame 29
stop();
Symbol 691 MovieClip Frame 30
stop();
Symbol 691 MovieClip Frame 31
stop();
Symbol 691 MovieClip Frame 32
stop();
Symbol 691 MovieClip Frame 33
stop();
Symbol 691 MovieClip Frame 34
stop();
Symbol 691 MovieClip Frame 35
stop();
Symbol 691 MovieClip Frame 36
stop();
Symbol 691 MovieClip Frame 37
stop();
Symbol 691 MovieClip Frame 38
stop();
Symbol 691 MovieClip Frame 39
stop();
Symbol 691 MovieClip Frame 40
stop();
Symbol 691 MovieClip Frame 41
stop();
Symbol 704 Button
on (release) {
gotoAndPlay (748);
}
Symbol 710 Button
on (release) {
gotoAndStop (769);
}
Symbol 730 Button
on (release) {
gotoAndPlay (768);
}
Symbol 744 Button
on (press) {
gotoAndPlay (92);
}
Symbol 748 Button
on (press) {
gotoAndPlay (1049);
}
Symbol 753 Button
on (release) {
gotoAndPlay (108);
}
Symbol 756 Button
on (release) {
gotoAndPlay (128);
}
Symbol 759 Button
on (release) {
gotoAndPlay (148);
}
Symbol 762 Button
on (release) {
gotoAndPlay (168);
}
Symbol 765 Button
on (release) {
gotoAndPlay (188);
}
Symbol 768 Button
on (release) {
gotoAndPlay (393);
}
Symbol 771 Button
on (release) {
gotoAndPlay (578);
}