Frame 1
bar._xscale = 0;
percent = Math.floor((getBytesLoaded() / getBytesTotal()) * 100);
myOutput.text = percent + "%";
bar._xscale = percent;
Frame 2
if (percent == 100) {
gotoAndPlay (3);
} else {
gotoAndPlay (1);
}
Frame 45
gotoAndPlay (46);
Frame 47
mc2.swapDepths(10001);
mc2.loadMovie("http://www.kontrabandcontent.co.uk/1/graphics/games/knight_rider_deathAnimation2.swf");
stop();
_tileA.removeMovieClip();
_tileB.removeMovieClip();
_car._x = -1000;
_car._visible = false;
this.onEnterFrame = function () {
};
s = new Sound();
s.loadSound("http://www.kontrabandcontent.co.uk/1/graphics/games/Knight_Rider_Audio2.mp3", true);
stop();
Frame 48
stop();
Frame 79
stop();
Frame 112
stop();
Frame 132
stop();
mc.loadMovie("http://www.kontrabandcontent.co.uk/1/graphics/games/knight_rider_intro.swf");
_root.goo = false;
this.onEnterFrame = function () {
if (mc._currentframe == 326) {
gotoAndStop ("game");
}
};
Frame 133
function deleteAt(list, index) {
var _local1 = list;
a = _local1.slice(0, index);
b = _local1.slice(index + 1, _local1.length);
return(a.concat(b));
}
function mapScroll() {
if (_stop == false) {
_speedConverted = _mapHeight / _speed;
}
if (_mapIndex == _map.length) {
_mapIndex = 2;
trace("restart " + _enemySelect);
}
_tileA._y = _tileA._y + _speedConverted;
_tileB._y = _tileB._y + _speedConverted;
if (_tileA._y > _mapHeight) {
_tileA = this.attachMovie(_map[_mapIndex], "g1", 1);
_tileA._y = -_mapHeight;
_tileB._y = 0;
_tileA._y = _tileA._y + _speedConverted;
_tileB._y = _tileB._y + _speedConverted;
enemyInit(_enemySelect);
_enemySelect++;
_mapIndex = _mapIndex + 1;
}
if (_tileB._y > _mapHeight) {
_tileB = this.attachMovie(_map[_mapIndex], "g2", 2);
_tileB._y = -_mapHeight;
_tileA._y = 0;
_tileA._y = _tileA._y + _speedConverted;
_tileB._y = _tileB._y + _speedConverted;
_mapIndex = _mapIndex + 1;
}
}
function dashBoardDisplay() {
}
function car() {
if (_spinOut == false) {
if (_speedConverted != 0) {
_displaySpeed = _displaySpeed + int((((4150 / _speed) - 15) - _displaySpeed) / 6);
} else {
_displaySpeed = _displaySpeed + int((-5 - _displaySpeed) / 6);
}
hitLeftA = _tileA._leftSide.hitTest(_car._locX, _car._locV, true);
hitRightA = _tileA._rightSide.hitTest(_car._locX, _car._locV, true);
hitLeftB = _tileB._leftSide.hitTest(_car._locX, _car._locV, true);
hitRightB = _tileB._rightSide.hitTest(_car._locX, _car._locV, true);
_car._alpha = 100;
if ((hitLeftA == true) || (hitLeftB == true)) {
_hitLeft = true;
_hTime = _hTime + 1;
if (_hTime == 1) {
_hitPoint = _car._x;
_hitSpeed = _speed + 3;
}
if ((_hitPoint - _car._x) > 50) {
_car.gotoAndPlay("spin");
_spinOut = true;
_displaySpeed = 0;
} else {
_car._x = _car._x + 10;
_speed = _hitSpeed + 10;
_car._x = (_car._locX + random(20)) - 10;
}
} else {
_hitLeft = false;
}
if ((hitRightA == true) || (hitRightB == true)) {
_hitRight = true;
_hTime = _hTime + 1;
if (_hTime == 1) {
_hitPoint = _car._x;
_hitSpeed = _speed + 3;
}
if ((_car._x - _hitPoint) > 60) {
_car.gotoAndPlay("spin");
_spinOut = true;
_displaySpeed = 0;
} else {
_car._x = _car._x - 10;
_speed = _hitSpeed + 10;
_car._x = (_car._locX + random(20)) - 10;
}
} else {
_hitRight = false;
}
if ((_hitRight == false) && (_hitLeft == false)) {
_hTime = 0;
}
_car._rotation = _car._rotation + ((_car._rot - _car._rotation) / 2);
_car._rot = 0;
if (_car._y < 220) {
_car._locV = 220;
}
_car._y = _car._y + ((_car._locV - _car._y) / 12);
_car._x = _car._x + ((_car._locX - _car._x) / 2);
if (Key.isDown(38)) {
_stop = false;
if (_car._locV > 260) {
_car._locV = _car._locV - 10;
}
if (_speed > 25) {
_speed = _speed - 5;
}
}
if (Key.isDown(40)) {
_car._rocket._visible = false;
_root._carPass = 0;
_car._rocket.gotoAndStop(1);
if (_car._locV < 420) {
_car._locV = _car._locV + 5;
}
if (_speed > 200) {
_stop = true;
_speedConverted = 0;
} else {
_speed = _speed + 15;
}
}
if (_stop == false) {
if (Key.isDown(37)) {
_car._locX = _car._locX - 8;
_car._rot = -25;
}
if (Key.isDown(39)) {
_car._locX = _car._locX + 8;
_car._rot = 25;
}
}
} else {
_speed = _speed + ((300 - _speed) / 32);
_speedConverted = 0;
if (_speed > 200) {
_stop = true;
}
}
}
function enemyInit(index) {
var _local1 = index;
var _local3 = this;
if (_attachCount > 250) {
_attachCount = 4;
}
if (_enemyList[_local1][0] != "skip") {
var _local2 = 0;
while (_local2 < _enemyList[_local1].length) {
en = _local3.attachMovie(_enemyList[_local1][_local2], "enemy" + _attachCount, _attachCount);
if (_enemyLoc[_local1][0] == "car") {
en._x = _car._x;
en._y = _enemyLoc[_local1][1];
} else {
en._x = _enemyLoc[_local1][0] + (_local2 * (5 + random(40)));
en._y = _enemyLoc[_local1][1] - (5 + random(40));
}
en._enemyIndex = _activeEnemies.length;
_activeEnemies[en._enemyIndex] = "enemy" + _attachCount;
en._id = "enemy" + _attachCount;
_attachCount++;
_local2++;
}
}
}
function enemyCleanUp() {
}
_quality = "medium";
stop();
_root.theLevel = " 01";
_root.lev.swapDepths(312);
_root.lev.read = "LEVEL" + _root.theLevel;
_root.lev.gotoAndPlay(2);
_root._oilSlicks = 0;
_dash.swapDepths(300);
died._visible = false;
died.swapDepths(500);
_root._fuelCell = 0;
_root._carScale = false;
_car._rocket._visible = false;
_root._jumping = false;
_root._rocketBoosts = 0;
_root.hardTarget = 130;
_root._theScore = 0;
_root.theLives = 6;
_root.tz = 20000;
_root._theTime = 0;
this.onEnterFrame = function () {
_root.tz--;
_root._theTime = int(tz / 50);
mapScroll();
car();
dashBoardDisplay();
};
enemyGen = new Object();
_superCount = 0;
_rocketTime = 0;
_oilCount = 0;
enemyGen.onKeyDown = function () {
var _local1 = _root;
if (Key.isDown(66)) {
if (_local1._rocketBoosts > 0) {
_superCount++;
if (_superCount == 1) {
_local1._rocketBoosts--;
_car._rocket._visible = true;
_speed = 18;
_local1._carPass = 15;
_car._rocket.gotoAndStop(2);
}
}
}
if (Key.isDown(49)) {
_car.play();
}
if (Key.isDown(32) && (_local1._car._currentframe < 2)) {
_oilCount++;
if (_oilCount == 1) {
if (_local1._oilSlicks > 0) {
if (_local1.oi._currentframe == undefined) {
_local1._oilSlicks--;
oi = _local1.attachMovie("_oily", "o", 3);
}
}
}
}
};
enemyGen.onKeyUp = function () {
_superCount = 0;
_oilCount = 0;
};
Key.addListener(enemyGen);
_map = new Array();
_map = ["_ground1_1", "_ground1_1", "_ground1_1", "_ground1_2", "_ground1_3", "_ground1_1", "_ground1_2", "_ground1_3", "_ground1_1", "_ground1_b", "_ground1_c", "_ground1_c", "_ground1_c", "_ground1_d", "_ground1_1", "_ground1_2", "_ground1_3", "_ground1_1", "_ground1_b", "_ground1_c", "_ground1_c", "_ground1_c", "_ground1_c", "_ground1_c", "_ground1_preCrack", "_ground1_crack", "_ground1_c", "_ground1_c", "_ground1_d", "_ground1_1", "_ground1_8", "_ground1_1", "_ground1_1", "_ground1_8", "_ground1_1", "_ground1_9", "_ground1_10", "_ground1_10", "_ground1_10", "_ground1_10", "_ground1_11", "_ground1_1", "_ground1_2", "_ground1_3", "_ground1_1", "_ground1_b", "_ground1_c", "_ground1_c", "_ground1_c", "_ground1_c", "_ground1_d", "_ground1_1", "_ground1_1", "_ground1_1", "_ground1_1", "_ground1_2", "_ground1_3", "_ground1_1", "_ground1_b", "_ground1_c", "_ground1_d", "_ground1_1", "_ground1_1", "_ground1_1", "_ground1_1", "_ground1_1", "_ground1_1", "_ground1_finish", "_ground1_1", "_ground1_2", "_ground1_3", "_ground1_sand0", "_ground1_sand1", "_ground1_sand2jump", "_ground1_sand2", "_ground1_sand2", "_ground1_sand2", "_ground1_sand2", "_ground1_sand2", "_ground1_sand2", "_ground1_sand2", "_ground1_sand2", "_ground1_sand2", "_ground1_sand2", "_ground1_sand2", "_ground1_sand2", "_ground1_sand2", "_ground1_sandjump", "_ground1_sand3", "_ground1_sand4", "_ground1_1", "_ground1_1", "_ground1_1", "_ground1_2", "_ground1_3", "_ground1_1", "_ground1_b", "_ground1_c", "_ground1_d", "_ground1_b", "_ground1_c", "_ground1_d", "_ground1_1", "_ground1_2", "_ground1_3", "_ground1_1", "_ground1_1", "_ground1_pothole", "_ground1_1", "_ground1_1", "_ground1_2", "_ground1_3", "_ground1_1", "_ground1_1", "_ground1_1", "_ground2_1", "_ground1_1", "_ground2_1", "_ground1_1", "_ground2_7", "_ground2_7", "_ground2_7", "_ground2_2", "_ground2_3", "_ground2_5", "_ground2_3", "_ground2_5", "_ground2_3", "_ground2_5", "_ground2_4", "_ground2_7", "_ground2_7", "_ground2_7", "_ground2_7", "_ground2_6", "_ground2_8", "_ground2_9", "_ground2_10", "_ground2_11", "_ground2_row", "_ground2_row", "_ground2_1", "_ground2_1", "_ground2_7", "_ground2_7", "_ground2_7", "_ground2_7", "_ground2_7", "_ground2_7", "_ground2_7", "_ground2_7", "_ground2_7", "_ground2_7", "_ground2_7", "_ground1_1", "_ground1_pothole", "_ground1_1", "_ground1_8", "_ground1_1", "_ground1_1", "_ground1_1", "_ground1_1", "_ground1_1", "_ground1_1", "_ground1_pothole", "_ground1_1", "_ground1_1", "_ground2_finish", "_ground1_1", "_ground1_b", "_ground1_c", "_ground1_d", "_ground1_1", "_ground1_b", "_ground1_c", "_ground1_d", "_ground1_1", "_ground1_b", "_ground1_c", "_ground1_d", "_ground1_1", "_ground1_b", "_ground1_c", "_ground1_d", "_ground1_1", "_ground1_1", "_ground1_1", "_ground1_b", "_ground1_c", "_ground1_c", "_ground1_c", "_ground1_d", "_ground2_9", "_ground2_10", "_ground1_3", "_ground1_1", "_ground1_9", "_ground1_10", "_ground1_11", "_ground1_8", "_ground1_8", "_ground1_8", "_ground1_8", "_ground1_b", "_ground1_c", "_ground1_d", "_ground1_1", "_ground3_preoil", "_ground3_oil", "_ground1_1", "_ground1_2", "_ground1_3", "_ground1_1", "_ground1_2", "_ground1_3", "_ground1_pothole", "_ground1_pothole", "_ground1_pothole", "_ground1_pothole", "_ground1_b", "_ground1_c", "_ground1_c", "_ground1_c", "_ground1_d", "_ground2_6", "_ground1_super", "_ground1_2", "_ground1_3", "_ground1_1", "_ground1_super", "_ground1_2", "_ground1_3", "_ground1_1", "_ground1_super", "_ground1_2", "_ground1_3", "_ground1_1", "_ground1_pothole", "_ground1_sand0", "_ground1_sand1", "_ground1_sand2", "_ground1_sand2", "_ground1_sand2", "_ground1_sand3", "_ground1_sand4", "_ground1_b", "_ground1_c", "_ground1_c", "_ground1_c", "_ground1_d", "_ground1_2", "_ground1_3", "_ground2_7", "_ground2_7", "_ground2_7", "_ground1_1", "_ground1_2", "_ground1_3", "_ground1_1", "_ground1_2", "_ground1_3", "_ground1_1", "_ground1_b", "_ground1_c", "_ground1_c", "_ground1_c", "_ground1_d", "_ground1_1", "_ground1_2", "_ground1_3", "_ground1_1", "_ground1_b", "_ground1_c", "_ground1_c", "_ground1_c", "_ground1_c", "_ground1_c", "_ground1_d", "_ground3_finish"];
trace(_map.length);
_mapHeight = 500;
_mapIndex = 0;
_tileA = this.attachMovie(_map[_mapIndex], "g1", 1);
_tileB = this.attachMovie(_map[_mapIndex + 1], "g2", 2);
_tileA._y = 0;
_tileB._y = -500;
_mapIndex = 2;
_enemySelect = 0;
_displaySpeed = 0;
_car.swapDepths(299);
_speed = 200;
_car._locV = _car._y;
_car._locX = _car._x;
_stop = false;
_hitPoint = 0;
_hTime = 0;
_hitRight = false;
_hitLeft = false;
_spinOut = false;
_life = 1;
_activeEnemies = new Array();
_attachCount = 3;
_enemyList = [["_straightMotor", "_fuelPower"], ["_crazyDriver", "_crazyDriver"], ["_straightMotor", "skip"], ["_straightCar", "_downCar"], ["skip"], ["_straightMotor", "_straightCar", "_suspect"], ["_straightMotor"], ["_straightMotor", "_fuelPower"], ["_targetMotor"], ["skip"], ["skip"], ["_straightCar"], ["skip"], ["_straightMotor"], ["_fuelPower", "_oilPower"], ["_targetMotor"], ["skip"], ["_downCar"], ["_straightMotor"], ["_targetMotor"], ["skip"], ["_targetDriverA", "_targetDriverB"], ["skip"], ["_fuelPower", "_downCar", "_straightMotor"], ["_targetDriverA"], ["_targetMotor"], ["_straightCar", "_suspect"], ["_straightCar"], ["_fuelPower"], ["_crazyDriver", "_crazyDriver"], ["_oilPower", "_straightMotor", "_straightMotor"], ["_straightCar"], ["_targetDriverA", "_oilPower"], ["_straightMotor", "_straightCar", "_oilPower"], ["_straightMotor", "_oilPower"], ["_straightMotor", "_oilPower"], ["_targetMotor"], ["_downCar", "_oilPower"], ["_fuelPower", "_oilPower"], ["_straightCar", "_oilPower"], ["_targetMotor"], ["_straightMotor", "_oilPower"], ["_fuelPower"], ["_targetMotor", "_targetMotor", "_targetMotor"], ["_straightMotor", "_oilPower"], ["_downCar", "_suspect"], ["_straightMotor"], ["_targetMotor", "_targetMotor"], ["skip"], ["_crazyDriver", "_crazyDriver"], ["skip"], ["_fuelPower", "_downCar", "_straightMotor"], ["skip"], ["_oilPower", "_fuelPower"], ["skip"], ["_oilPower", "_fuelPower"], ["_oilPower", "_oilPower"], ["_oilPower", "_fuelPower"], ["_oilPower", "_fuelPower"], ["_oilPower", "_oilPower"], ["_oilPower", "_oilPower"], ["_oilPower", "_oilPower"], ["_oilPower", "_fuelPower"], ["skip"], ["skip"], ["skip"], ["skip"], ["_oilPower", "_fuelPower"], ["skip"], ["skip"], ["skip"], ["skip"], ["skip"], ["_fuelPower"], ["_downCar", "_downCar"], ["_downCar", "_fuelPower"], ["skip"], ["_crazyBug"], ["_crazyBomb", "_fuelPower"], ["skip"], ["skip"], ["_crazyBomb", "_fuelPower"], ["_crazyBug", "_crazyBomb"], ["_crazyBomb"], ["_fuelPower"], ["_targetMotor"], ["_fuelPower"], ["_crazyBomb", "_crazyBug"], ["_crazyBomb", "_crazyBug"], ["_targetMotor"], ["_targetMotor"], ["skip"], ["skip"], ["skip"], ["_fuelPower"], ["_fuelPower"], ["_fuelPower"], ["_crazyBomb", "_crazyBug"], ["_crazyBomb", "_crazyBug"], ["_targetMotor"], ["skip"], ["_targetMotor"], ["skip"], ["skip"], ["skip"], ["_targetMotor"], ["skip"], ["_targetMotor", "_crazyDriver"], ["_crazyBomb", "_crazyBug"], ["_downcar", "_suspect"], ["skip"], ["_downcar"], ["skip"], ["_downcar"], ["skip"], ["_downcar"], ["skip"], ["_downcar"], ["_targetDriverA", "_targetDriverB"], ["_fuelPower", "_downcar"], ["_targetMotor", "_targetMotor"], ["_crazyBomb", "_crazyBug"], ["_targetDriverA", "_targetDriverB"], ["_downcar", "_downcar", "_fuelPower"], ["_straightMotor", "_straightMotor", "_suspect"], ["_straightMotor", "_fuelPower"], ["_crazyDriver", "_crazyDriver"], ["_straightMotor", "_straightMotor"], ["_straightCar", "_downCar"], ["_targetDriverA"], ["_straightMotor", "_straightCar", "_suspect"], ["_straightMotor"], ["_straightMotor", "_fuelPower"], ["_targetMotor"]];
_enemyLoc = [["car", -50], ["car", 550], [230, -50], [230, -50], ["car", 550], [230, -50], [230, -50], [230, -50], ["car", -50], ["car", -50], [230, -50], [230, -50], ["car", -50], ["car", 550], ["car", -50], ["car", 550], ["car", -50], ["car", -50], ["car", 550], ["car", 550], ["car", -50], ["car", 550][-50], ["car", 550], ["car", -50], ["car", -50], ["car", 550], [230, -50], ["car", -50], ["car", -50], ["car", 550], [230, -50], [230, -50], ["car", 550], [230, -50], [230, -50], [230, -50], ["car", -50], ["car", -50], [230, -50], [230, -50], ["car", -50], ["car", 550], ["car", -50], ["car", 550], ["car", -50], ["car", -50], ["car", 550], ["car", 550], ["car", -50], ["car", 550], ["car", 550], ["car", -50], ["car", -50], [("car" + random(30)) - 15, -51], [("car" + random(30)) - 15, -51], [("car" + random(30)) - 15, -51], [("car" + random(30)) - 15, -51], [("car" + random(30)) - 15, -51], [("car" + random(30)) - 15, -51], [("car" + random(30)) - 15, -51], [("car" + random(30)) - 15, -51], [("car" + random(30)) - 15, -51], [("car" + random(30)) - 15, -51], [("car" + random(30)) - 15, -51], [("car" + random(30)) - 15, -51], [("car" + random(30)) - 15, -51], [("car" + random(30)) - 15, -51], [("car" + random(30)) - 15, -51], [("car" + random(30)) - 15, -51], [("car" + random(30)) - 15, -51], [("car" + random(30)) - 15, -51], [("car" + random(30)) - 15, -51], [("car" + random(30)) - 15, -51], ["car", -52], ["car", -52], ["car", -52], ["car", 552], ["car", 552], ["car", 552], ["car", 552], ["car", 552], ["car", 552], ["car", 552], ["car", 553], ["car", -53], ["car", -53], ["car", -53], ["car", 553], ["car", 553], ["car", -53], ["car", 0], ["car", 0], ["car", 0], ["car", -53], ["car", -53], ["car", -53], ["car", -53], ["car", 553], ["car", 553], ["car", -53], ["car", -53], ["car", -53], ["car", -53], ["car", -53], ["car", -53], ["car", -53], ["car", -53], ["car", -53], ["car", 553], [150, -53], [150, -53], [150, -53], [150, -53], [150, -53], [150, -53], [150, -53], [150, -53], [150, -53], ["car", 553], ["car", -53], ["car", 553], ["car", 553], ["car", 553], ["car", -53], ["car", -53], ["car", -50], ["car", 550], [230, -50], [230, -50], ["car", 550], [230, -50], [230, -50], [230, -50], ["car", -50]];
trace((_enemyLoc.length + " ") + _enemyList.length);
_attachCount = 4;
Frame 134
mc2.swapDepths(10001);
mc2.loadMovie("http://www.kontrabandcontent.co.uk/1/graphics/games/knight_rider_end2.swf");
stop();
_tileA.removeMovieClip();
_tileB.removeMovieClip();
_car._x = -1000;
this.onEnterFrame = function () {
};
Frame 135
mc2.swapDepths(10002);
mc2._x = mc2._x - 10;
mc2.loadMovie("http://www.kontrabandcontent.co.uk/1/graphics/games/knight_rider_deathAnimation2.swf");
stop();
_tileA.removeMovieClip();
_tileB.removeMovieClip();
_car._x = -1000;
_car._visible = false;
this.onEnterFrame = function () {
};
Symbol 233 MovieClip Frame 60
gotoAndPlay (1);
Symbol 9 MovieClip Frame 1
_alpha = 0;
Symbol 11 MovieClip Frame 1
_visible = false;
this.onEnterFrame = function () {
var _local1 = this;
var _local3 = _root;
if (_local1.hitTest(_local3._car)) {
if (_local3._car._x < _local1._x) {
_local3._car._locX = _local3._car._locX - 10;
}
if (_local3._car._x > _local1._x) {
_local3._car._locX = _local3._car._locX + 10;
}
if (_local3._car._y > _local1._y) {
_local3._car._locV = _local3._car._locV - 10;
}
if (_local3._car._y < _local1._y) {
_local3._car._locV = _local3._car._locV + 10;
}
}
var _local2 = 0;
while (_local2 < _local3._activeEnemies.length) {
enemy = _local3[_local3._activeEnemies[_local2]];
if (_local1.hitTest(enemy)) {
enemy.reverseX();
if (enemy._x < _local1._x) {
enemy._locX = enemy._locX - 10;
}
if (enemy._x > _local1._x) {
enemy._locX = enemy._locX + 10;
}
if (enemy._y > _local1._y) {
enemy._locV = enemy._locV + 10;
}
if (enemy._y < _local1._y) {
enemy._locV = enemy._locV - 10;
}
}
_local2++;
}
};
Symbol 52 MovieClip Frame 1
stop();
Symbol 52 MovieClip Frame 26
_parent.swapDepths(1000);
_root._theScore = _root._theScore + 100;
Symbol 52 MovieClip Frame 55
_parent.removeMovieClip();
stop();
trace("remove222");
Symbol 55 MovieClip [_targetDriverB] Frame 1
function die() {
var _local2 = _root;
var _local3 = this;
var _local1 = 0;
while (_local1 < _local2._activeEnemies.length) {
if (_local2._activeEnemies[_local1] == _local3._id) {
eindex = _local1;
}
_local1++;
}
_local2._activeEnemies = _local2.deleteAt(_local2._activeEnemies, eindex);
_local3.removeMovieClip();
}
function reverseX() {
if (left == true) {
right = true;
left = false;
} else {
right = false;
left = true;
}
}
this._xscale = (this._yscale = 70 + random(10));
this._locX = this._x;
this._locV = this._y;
this._die = false;
this._hitbox._visible = 0;
this.onEnterFrame = function () {
var _local1 = this;
var _local2 = _root;
_local1._rotation = _local1._rotation + ((_local1._rot - _local1._rotation) / 6);
_local1._rot = 0;
_local1._y = _local1._y + ((_local1._locV - _local1._y) / 42);
_local1._x = _local1._x + ((_local1._locX - _local1._x) / 6);
if (_local2._jumping != true) {
if (_local1._hitbox.hitTest(_local2._car)) {
if (_local2._car._x < _local1._x) {
_local2._car._locX = _local2._car._locX - 10;
_local1._locX = _local1._locX + 10;
}
if (_local2._car._x > _local1._x) {
_local2._car._locX = _local2._car._locX + 10;
_local1._locX = _local1._locX - 10;
}
if (_local2._car._y > _local1._y) {
_local2._car._locV = _local2._car._locV - 10;
if (random(2) == 1) {
_local2._car._locX = _local2._car._locX - 10;
_local1._rot = 25;
} else {
_local1._rot = 25;
_local2._car._locX = _local2._car._locX + 10;
}
_local1._locV = _local1._locV - 20;
}
if (_local2._car._y < _local1._y) {
if (random(2) == 1) {
_local2._car._locX = _local2._car._locX - 10;
} else {
_local2._car._locX = _local2._car._locX + 10;
}
_local2._car._locV = _local2._car._locV + 10;
_local1._locV = _local1._locV + 20;
}
}
}
var _local3 = 0;
while (_local3 < _local2._activeEnemies.length) {
enemy = _local2[_local2._activeEnemies[_local3]];
if (_local2._activeEnemies[_local3] != _local1._id) {
if (_local1.hitTest(enemy)) {
reverseX();
if (enemy._x < _local1._x) {
_local1._locX = _local1._locX + 20;
}
if (enemy._x > _local1._x) {
_local1._locX = _local1._locX - 20;
}
if (enemy._y > _local1._y) {
_local1._locV = _local1._locV + 20;
}
if (enemy._y < _local1._y) {
_local1._locV = _local1._locV - 20;
}
}
}
_local3++;
}
_hitLeftA = _local2._tileA._leftSide.hitTest(_local1._x + 40, _local1._y);
_hitRightA = _local2._tileA._rightSide.hitTest(_local1._x - 40, _local1._y);
_hitLeftB = _local2._tileB._leftSide.hitTest(_local1._x + 40, _local1._y);
_hitRightB = _local2._tileB._rightSide.hitTest(_local1._x - 40, _local1._y);
if ((_hitLeftA == true) || (_hitLeftB == true)) {
_local1._locX = _local1._locX + 20;
_local1._rot = 25;
right = true;
left = false;
}
if ((_hitRightA == true) || (_hitRightB == true)) {
_local1._locX = _local1._locX - 20;
_local1._rot = -25;
right = false;
left = true;
}
if (random(100) == 1) {
_die = true;
}
if (_die == false) {
if (random(20) == 1) {
_local1._locV = 50 + random(460);
}
} else {
_local1._locV = _local1._locV - 10;
if (_local1._y < -50) {
die();
}
}
_local1._locV = _local1._locV + (2 + _local2._carPass);
if (_local1._y > 600) {
die();
}
if (random(20) == 1) {
left = false;
right = false;
}
if (left == true) {
_local1._locX = _local1._locX - 5;
_local1._rot = -25;
}
if (right == true) {
_local1._locX = _local1._locX + 5;
_local1._rot = 25;
}
if (_local1._y > 180) {
if (_local1._y < _local2._car._y) {
_local1._locV = _local1._locV + 30;
if (_local2._car._x < _local1._x) {
_local1._locX = _local1._locX - 10;
_local1._rot = -25;
} else {
_local1._locX = _local1._locX + 10;
_local1._rot = 25;
}
}
} else {
left = false;
right = false;
}
};
Symbol 56 MovieClip [_targetDriverA] Frame 1
function die() {
var _local2 = _root;
var _local3 = this;
var _local1 = 0;
while (_local1 < _local2._activeEnemies.length) {
if (_local2._activeEnemies[_local1] == _local3._id) {
eindex = _local1;
}
_local1++;
}
_local2._activeEnemies = _local2.deleteAt(_local2._activeEnemies, eindex);
_local3.removeMovieClip();
}
function reverseX() {
if (left == true) {
right = true;
left = false;
} else {
right = false;
left = true;
}
}
this._xscale = (this._yscale = 70 + random(10));
this._locX = this._x;
this._locV = this._y;
this._die = false;
this._hitbox._visible = 0;
this.onEnterFrame = function () {
var _local1 = this;
var _local2 = _root;
_local1._rotation = _local1._rotation + ((_local1._rot - _local1._rotation) / 6);
_local1._rot = 0;
_local1._y = _local1._y + ((_local1._locV - _local1._y) / 42);
_local1._x = _local1._x + ((_local1._locX - _local1._x) / 6);
if (_local2._jumping != true) {
if (_local1._hitbox.hitTest(_local2._car)) {
if (_local2._car._x < _local1._x) {
_local2._car._locX = _local2._car._locX - 10;
_local1._locX = _local1._locX + 10;
}
if (_local2._car._x > _local1._x) {
_local2._car._locX = _local2._car._locX + 10;
_local1._locX = _local1._locX - 10;
}
if (_local2._car._y > _local1._y) {
_local2._car._locV = _local2._car._locV - 10;
if (random(2) == 1) {
_local2._car._locX = _local2._car._locX - 10;
_local1._rot = 25;
} else {
_local1._rot = 25;
_local2._car._locX = _local2._car._locX + 10;
}
_local1._locV = _local1._locV - 20;
}
if (_local2._car._y < _local1._y) {
if (random(2) == 1) {
_local2._car._locX = _local2._car._locX - 10;
} else {
_local2._car._locX = _local2._car._locX + 10;
}
_local2._car._locV = _local2._car._locV + 10;
_local1._locV = _local1._locV + 20;
}
}
}
var _local3 = 0;
while (_local3 < _local2._activeEnemies.length) {
enemy = _local2[_local2._activeEnemies[_local3]];
if (_local2._activeEnemies[_local3] != _local1._id) {
if (_local1.hitTest(enemy)) {
reverseX();
if (enemy._x < _local1._x) {
_local1._locX = _local1._locX + 20;
}
if (enemy._x > _local1._x) {
_local1._locX = _local1._locX - 20;
}
if (enemy._y > _local1._y) {
_local1._locV = _local1._locV + 20;
}
if (enemy._y < _local1._y) {
_local1._locV = _local1._locV - 20;
}
}
}
_local3++;
}
_hitLeftA = _local2._tileA._leftSide.hitTest(_local1._x + 40, _local1._y);
_hitRightA = _local2._tileA._rightSide.hitTest(_local1._x - 40, _local1._y);
_hitLeftB = _local2._tileB._leftSide.hitTest(_local1._x + 40, _local1._y);
_hitRightB = _local2._tileB._rightSide.hitTest(_local1._x - 40, _local1._y);
if ((_hitLeftA == true) || (_hitLeftB == true)) {
_local1._locX = _local1._locX + 20;
_local1._rot = 25;
right = true;
left = false;
}
if ((_hitRightA == true) || (_hitRightB == true)) {
_local1._locX = _local1._locX - 20;
_local1._rot = -25;
right = false;
left = true;
}
if (random(100) == 1) {
_die = true;
}
if (_die == false) {
if (random(20) == 1) {
_local1._locV = 50 + random(460);
}
} else {
_local1._locV = _local1._locV - 10;
if (_local1._y < -50) {
die();
}
}
_local1._locV = _local1._locV + (2 + _local2._carPass);
if (_local1._y > 600) {
die();
}
if (random(20) == 1) {
left = false;
right = false;
}
if (left == true) {
_local1._locX = _local1._locX - 5;
_local1._rot = -25;
}
if (right == true) {
_local1._locX = _local1._locX + 5;
_local1._rot = 25;
}
};
Symbol 64 MovieClip Frame 1
stop();
Symbol 64 MovieClip Frame 3
_parent.swapDepths(1000);
_root._theScore = _root._theScore - 100;
Symbol 64 MovieClip Frame 32
_parent.removeMovieClip();
stop();
trace("remove222");
Symbol 64 MovieClip Frame 45
gotoAndPlay (3);
Symbol 65 MovieClip [_crazyBomb] Frame 1
function die() {
var _local2 = _root;
var _local3 = this;
var _local1 = 0;
while (_local1 < _local2._activeEnemies.length) {
if (_local2._activeEnemies[_local1] == _local3._id) {
eindex = _local1;
}
_local1++;
}
_local2._activeEnemies = _local2.deleteAt(_local2._activeEnemies, eindex);
_local3.removeMovieClip();
}
function reverseX() {
if (left == true) {
right = true;
left = false;
} else {
right = false;
left = true;
}
}
this._xscale = (this._yscale = 70 + random(10));
this.g.stop();
this._locX = this._x;
this._locV = this._y;
this._die = false;
this._hitbox._visible = 0;
_exploding = false;
noHit = false;
this.onEnterFrame = function () {
var _local1 = this;
var _local2 = _root;
_local1._rotation = _local1._rotation + ((_local1._rot - _local1._rotation) / 6);
_local1._rot = 0;
_local1._y = _local1._y + ((_local1._locV - _local1._y) / 42);
_local1._x = _local1._x + ((_local1._locX - _local1._x) / 6);
if ((_local2._jumping != true) && (_exploding == false)) {
if (noHit != true) {
if (_local1._hitbox.hitTest(_local2._car)) {
_local2._car._locX = _local2._car._locX - 10;
if ((_local2._car._x < _local1._x) && (_local1.g._currentframe < 2)) {
_local1.g.gotoAndPlay(2);
_local2._car.gotoAndPlay("spin");
_local2._spinOut = true;
_local2._displaySpeed = 0;
_exploding = true;
}
}
}
}
var _local3 = 0;
while (_local3 < _local2._activeEnemies.length) {
enemy = _local2[_local2._activeEnemies[_local3]];
if (_local2._activeEnemies[_local3] != _local1._id) {
if (_local1.hitTest(enemy)) {
reverseX();
if (enemy._x < _local1._x) {
_local1._locX = _local1._locX + 20;
}
if (enemy._x > _local1._x) {
_local1._locX = _local1._locX - 20;
}
if (enemy._y > _local1._y) {
_local1._locV = _local1._locV + 20;
}
if (enemy._y < _local1._y) {
_local1._locV = _local1._locV - 20;
}
}
}
_local3++;
}
_hitLeftA = _local2._tileA._leftSide.hitTest(_local1._x + 40, _local1._y);
_hitRightA = _local2._tileA._rightSide.hitTest(_local1._x - 40, _local1._y);
_hitLeftB = _local2._tileB._leftSide.hitTest(_local1._x + 40, _local1._y);
_hitRightB = _local2._tileB._rightSide.hitTest(_local1._x - 40, _local1._y);
if ((_hitLeftA == true) || (_hitLeftB == true)) {
_local1._locX = _local1._locX + 5;
_local1._rot = 25;
right = true;
left = false;
}
if ((_hitRightA == true) || (_hitRightB == true)) {
_local1._locX = _local1._locX - 5;
_local1._rot = -25;
right = false;
left = true;
}
if (random(150) == 1) {
_die = true;
}
if (_die == false) {
if (random(20) == 1) {
_local1._locV = 50 + random(460);
}
} else {
_local1._locV = _local1._locV - 10;
if (_local1._y < -50) {
die();
}
}
_local1._locV = _local1._locV + (1 + (_local2._carPass / 2));
if (_local1._y > 600) {
die();
}
if (random(50) == 1) {
_local1._locX = _local1._locX - 5;
_local1._rot = -25;
left = true;
right = false;
}
if (random(50) == 1) {
_local1._locX = _local1._locX + 5;
_local1._rot = 25;
right = true;
left = false;
}
if (left == true) {
_local1._locX = _local1._locX - 5;
_local1._rot = -25;
}
if (right == true) {
_local1._locX = _local1._locX + 5;
_local1._rot = 25;
}
};
Symbol 68 MovieClip Frame 1
stop();
Symbol 68 MovieClip Frame 26
_parent.swapDepths(1000);
_root._theScore = _root._theScore + 100;
Symbol 68 MovieClip Frame 55
_parent.removeMovieClip();
stop();
trace("remove222");
Symbol 69 MovieClip [_crazyBug] Frame 1
function die() {
var _local2 = _root;
var _local3 = this;
var _local1 = 0;
while (_local1 < _local2._activeEnemies.length) {
if (_local2._activeEnemies[_local1] == _local3._id) {
eindex = _local1;
}
_local1++;
}
_local2._activeEnemies = _local2.deleteAt(_local2._activeEnemies, eindex);
_local3.removeMovieClip();
}
function reverseX() {
if (left == true) {
right = true;
left = false;
} else {
right = false;
left = true;
}
}
this._xscale = (this._yscale = 70 + random(10));
this._locX = this._x;
this._locV = this._y;
this._die = false;
this._hitbox._visible = 0;
this.onEnterFrame = function () {
var _local1 = this;
var _local2 = _root;
_local1._rotation = _local1._rotation + ((_local1._rot - _local1._rotation) / 6);
_local1._rot = 0;
_local1._y = _local1._y + ((_local1._locV - _local1._y) / 42);
_local1._x = _local1._x + ((_local1._locX - _local1._x) / 6);
if (_local2._jumping != true) {
if (_local1._hitbox.hitTest(_local2._car)) {
if (_local2._car._x < _local1._x) {
_local2._car._locX = _local2._car._locX - 10;
_local1._locX = _local1._locX + 10;
}
if (_local2._car._x > _local1._x) {
_local2._car._locX = _local2._car._locX + 10;
_local1._locX = _local1._locX - 10;
}
if (_local2._car._y > _local1._y) {
_local2._car._locY = _local2._car._locY - 10;
_local1._locV = _local1._locV + 20;
}
if (_local2._car._y < _local1._y) {
_local2._car._locY = _local2._car._locY + 10;
_local1._locV = _local1._locV - 20;
}
}
}
var _local3 = 0;
while (_local3 < _local2._activeEnemies.length) {
enemy = _local2[_local2._activeEnemies[_local3]];
if (_local2._activeEnemies[_local3] != _local1._id) {
if (_local1.hitTest(enemy)) {
reverseX();
if (enemy._x < _local1._x) {
_local1._locX = _local1._locX + 20;
}
if (enemy._x > _local1._x) {
_local1._locX = _local1._locX - 20;
}
if (enemy._y > _local1._y) {
_local1._locV = _local1._locV + 20;
}
if (enemy._y < _local1._y) {
_local1._locV = _local1._locV - 20;
}
}
}
_local3++;
}
_hitLeftA = _local2._tileA._leftSide.hitTest(_local1._x + 40, _local1._y);
_hitRightA = _local2._tileA._rightSide.hitTest(_local1._x - 40, _local1._y);
_hitLeftB = _local2._tileB._leftSide.hitTest(_local1._x + 40, _local1._y);
_hitRightB = _local2._tileB._rightSide.hitTest(_local1._x - 40, _local1._y);
if ((_hitLeftA == true) || (_hitLeftB == true)) {
_local1._locX = _local1._locX + 20;
_local1._rot = 25;
right = true;
left = false;
}
if ((_hitRightA == true) || (_hitRightB == true)) {
_local1._locX = _local1._locX - 20;
_local1._rot = -25;
right = false;
left = true;
}
if (random(100) == 1) {
_die = true;
}
if (_die == false) {
if (random(20) == 1) {
_local1._locV = 50 + random(460);
}
} else {
_local1._locV = _local1._locV - 10;
if (_local1._y < -50) {
die();
}
}
_local1._locV = _local1._locV + (2 + _local2._carPass);
if (_local1._y > 600) {
die();
}
if (random(50) == 1) {
_local1._locX = _local1._locX - 5;
_local1._rot = -25;
left = true;
right = false;
}
if (random(50) == 1) {
_local1._locX = _local1._locX + 5;
_local1._rot = 25;
right = true;
left = false;
}
if (left == true) {
_local1._locX = _local1._locX - 5;
_local1._rot = -25;
}
if (right == true) {
_local1._locX = _local1._locX + 5;
_local1._rot = 25;
}
};
Symbol 70 MovieClip [_crazyDriver] Frame 1
function die() {
var _local2 = _root;
var _local3 = this;
var _local1 = 0;
while (_local1 < _local2._activeEnemies.length) {
if (_local2._activeEnemies[_local1] == _local3._id) {
eindex = _local1;
}
_local1++;
}
_local2._activeEnemies = _local2.deleteAt(_local2._activeEnemies, eindex);
_local3.removeMovieClip();
}
function reverseX() {
if (left == true) {
right = true;
left = false;
} else {
right = false;
left = true;
}
}
this._xscale = (this._yscale = 70 + random(10));
this._locX = this._x;
this._locV = this._y;
this._die = false;
this._hitbox._visible = 0;
noHit = false;
this.onEnterFrame = function () {
var _local1 = this;
var _local2 = _root;
_local1._rotation = _local1._rotation + ((_local1._rot - _local1._rotation) / 6);
_local1._rot = 0;
_local1._y = _local1._y + ((_local1._locV - _local1._y) / 42);
_local1._x = _local1._x + ((_local1._locX - _local1._x) / 6);
if (_local2._jumping != true) {
if (_local1._hitbox.hitTest(_local2._car)) {
if (_local2._car._x < _local1._x) {
_local2._car._locX = _local2._car._locX - 10;
_local1._locX = _local1._locX + 10;
}
if (_local2._car._x > _local1._x) {
_local2._car._locX = _local2._car._locX + 10;
_local1._locX = _local1._locX - 10;
}
if (_local2._car._y > _local1._y) {
_local2._car._locY = _local2._car._locY - 10;
_local1._locV = _local1._locV + 20;
}
if (_local2._car._y < _local1._y) {
_local2._car._locY = _local2._car._locY + 10;
_local1._locV = _local1._locV - 20;
}
}
}
var _local3 = 0;
while (_local3 < _local2._activeEnemies.length) {
enemy = _local2[_local2._activeEnemies[_local3]];
if (_local2._activeEnemies[_local3] != _local1._id) {
if (_local1.hitTest(enemy)) {
reverseX();
if (enemy._x < _local1._x) {
_local1._locX = _local1._locX + 20;
}
if (enemy._x > _local1._x) {
_local1._locX = _local1._locX - 20;
}
if (enemy._y > _local1._y) {
_local1._locV = _local1._locV + 20;
}
if (enemy._y < _local1._y) {
_local1._locV = _local1._locV - 20;
}
}
}
_local3++;
}
_hitLeftA = _local2._tileA._leftSide.hitTest(_local1._x + 40, _local1._y);
_hitRightA = _local2._tileA._rightSide.hitTest(_local1._x - 40, _local1._y);
_hitLeftB = _local2._tileB._leftSide.hitTest(_local1._x + 40, _local1._y);
_hitRightB = _local2._tileB._rightSide.hitTest(_local1._x - 40, _local1._y);
if ((_hitLeftA == true) || (_hitLeftB == true)) {
_local1._locX = _local1._locX + 20;
_local1._rot = 25;
right = true;
left = false;
}
if ((_hitRightA == true) || (_hitRightB == true)) {
_local1._locX = _local1._locX - 20;
_local1._rot = -25;
right = false;
left = true;
}
if (random(100) == 1) {
_die = true;
}
if (_die == false) {
if (random(20) == 1) {
_local1._locV = 50 + random(460);
}
} else {
_local1._locV = _local1._locV - 10;
if (_local1._y < -50) {
die();
}
}
_local1._locV = _local1._locV + (2 + _local2._carPass);
if (_local1._y > 600) {
die();
}
if (random(50) == 1) {
_local1._locX = _local1._locX - 5;
_local1._rot = -25;
left = true;
right = false;
}
if (random(50) == 1) {
_local1._locX = _local1._locX + 5;
_local1._rot = 25;
right = true;
left = false;
}
if (left == true) {
_local1._locX = _local1._locX - 5;
_local1._rot = -25;
}
if (right == true) {
_local1._locX = _local1._locX + 5;
_local1._rot = 25;
}
};
Symbol 79 MovieClip Frame 1
_alpha = 0;
this.onEnterFrame = function () {
var _local2 = _root;
var _local3 = this;
if ((_local3.hitTest(_local2._car._x, _local2._car._y, true) && (_local2._jumping == false)) && (_local2._spinOut == false)) {
_local2._car.gotoAndPlay("fall");
_local2._displaySpeed = 0;
_local2._speed = 280;
_local2._spinOut = true;
}
var _local1 = 0;
while (_local1 < _local2._activeEnemies.length) {
enemy = _local2[_local2._activeEnemies[_local1]];
if (_local3.hitTest(enemy)) {
enemy.gotoAndPlay("spin");
enemy.gotoAndPlay("spinMoto");
}
_local1++;
}
};
Symbol 83 MovieClip Frame 1
_hit._visible = false;
this.onEnterFrame = function () {
var _local1 = this;
var _local3 = _root;
if (_local1.hitTest(_local3._car._x, _local3._car._y, true) && (_local3._jumping == false)) {
_local3._car.play();
}
var _local2 = 0;
while (_local2 < _local3._activeEnemies.length) {
enemy = _local3[_local3._activeEnemies[_local2]];
if (_local1.hitTest(enemy)) {
if (enemy._x < _local1._x) {
enemy._locX = enemy._locX - 20;
}
if (enemy._x > _local1._x) {
enemy._locX = enemy._locX + 10;
}
if (enemy._y > _local1._y) {
enemy._locV = enemy._locV + 10;
}
if (enemy._y < _local1._y) {
enemy._locV = enemy._locV - 10;
}
}
_local2++;
}
};
Symbol 87 MovieClip Frame 1
bumpy = false;
this.onEnterFrame = function () {
var _local2 = _root;
var _local3 = this;
if (_local2._jumping == false) {
if (_local3.hitTest(_local2._car) && (bumpy == false)) {
_local2._car.gotoAndPlay("bump");
_car._rocket._visible = false;
_local2._carPass = 0;
_local2._speed = 130;
bumpy = true;
}
}
var _local1 = 0;
while (_local1 < _local2._activeEnemies.length) {
enemy = _local2[_local2._activeEnemies[_local1]];
if (_local3.hitTest(enemy)) {
if (enemy._y > _local3._y) {
enemy._locV = enemy._locV + 110;
}
if (enemy._y < _local3._y) {
enemy._locV = enemy._locV + 110;
}
}
_local1++;
}
};
Symbol 100 MovieClip Frame 1
_locX = this._x;
_locV = this._y;
this.onEnterFrame = function () {
var _local1 = this;
var _local3 = _root;
_x = (_x + ((_locX - _x) / 4));
_y = (_y + ((_locV - _y) / 4));
if (_local3._jumping == false) {
if (_local1.hitTest(_local3._car)) {
if (_local3._car._x < _local1._x) {
_local3._car._locX = _local3._car._locX - 20;
_local1._locX = _local1._locX + 20;
_local1._rotation = _local1._rotation + (random(10) - 5);
}
if (_local3._car._x > _local1._x) {
_local3._car._locX = _local3._car._locX + 20;
_local1._locX = _local1._locX - 20;
_local1._rotation = _local1._rotation + (random(10) - 5);
}
if (_local3._car._y > _local1._y) {
_local3._car._locV = _local3._car._locV - 20;
_local1._locV = _local1._locV + 20;
_local1._rotation = _local1._rotation + (random(10) - 5);
}
if (_local3._car._y < _local1._y) {
_local3._car._locV = _local3._car._locV + 20;
_local1._locV = _local1._locV - 20;
_local1._rotation = _local1._rotation + (random(10) - 5);
}
}
}
var _local2 = 0;
while (_local2 < _local3._activeEnemies.length) {
enemy = _local3[_local3._activeEnemies[_local2]];
if (_local1.hitTest(enemy)) {
if (enemy._x < _local1._x) {
enemy._locX = enemy._locX - 20;
}
if (enemy._x > _local1._x) {
enemy._locX = enemy._locX + 20;
}
if (enemy._y > _local1._y) {
enemy._locV = enemy._locV + 20;
}
if (enemy._y < _local1._y) {
enemy._locV = enemy._locV - 20;
}
}
_local2++;
}
};
Symbol 109 MovieClip Frame 1
_hit._visible = false;
this.onEnterFrame = function () {
var _local1 = this;
var _local3 = _root;
if (_local1.hitTest(_local3._car._x, _local3._car._y, true) && (_local3._jumping == false)) {
_local3._car.play();
}
var _local2 = 0;
while (_local2 < _local3._activeEnemies.length) {
enemy = _local3[_local3._activeEnemies[_local2]];
if (_local1.hitTest(enemy)) {
enemy.gotoAndPlay("spin");
enemy.gotoAndPlay("spinMoto");
if (enemy._x < _local1._x) {
enemy._locX = enemy._locX - 20;
}
if (enemy._x > _local1._x) {
enemy._locX = enemy._locX + 10;
}
if (enemy._y > _local1._y) {
enemy._locV = enemy._locV + 10;
}
if (enemy._y < _local1._y) {
enemy._locV = enemy._locV - 10;
}
}
_local2++;
}
};
Symbol 112 MovieClip Frame 1
_hit._visible = false;
this.onEnterFrame = function () {
var _local2 = _root;
var _local3 = this;
if ((_local3._hit.hitTest(_local2._car) && (_local2._jumping == false)) && (_local2._spinOut == false)) {
_local2._car._locV = _local2._car._locV - 50;
_local2._speed = 18;
_local2._car.gotoAndPlay("spin");
_local2._spinOut = true;
_local2._displaySpeed = 0;
}
var _local1 = 0;
while (_local1 < _local2._activeEnemies.length) {
enemy = _local2[_local2._activeEnemies[_local1]];
if (_local3.hitTest(enemy)) {
enemy.gotoAndPlay("spin");
enemy.gotoAndPlay("spinMoto");
}
_local1++;
}
};
Symbol 118 MovieClip Frame 1
_locX = this._x;
_locV = this._y;
this.onEnterFrame = function () {
var _local1 = this;
var _local3 = _root;
_x = (_x + ((_locX - _x) / 4));
_y = (_y + ((_locV - _y) / 4));
if (_local3._jumping == false) {
if (_local1.hitTest(_local3._car)) {
if (_local3._car._x < _local1._x) {
_local3._car._locX = _local3._car._locX - 10;
_local1._locX = _local1._locX + 40;
_local1._rotation = _local1._rotation + (random(20) - 10);
}
if (_local3._car._x > _local1._x) {
_local3._car._locX = _local3._car._locX + 10;
_local1._locX = _local1._locX - 40;
_local1._rotation = _local1._rotation + (random(20) - 10);
}
if (_local3._car._y > _local1._y) {
_local3._car._locV = _local3._car._locV - 10;
_local1._locV = _local1._locV + 40;
_local1._rotation = _local1._rotation + (random(20) - 10);
}
if (_local3._car._y < _local1._y) {
_local3._car._locV = _local3._car._locV + 10;
_local1._locV = _local1._locV - 40;
_local1._rotation = _local1._rotation + (random(20) - 10);
}
}
}
var _local2 = 0;
while (_local2 < _local3._activeEnemies.length) {
enemy = _local3[_local3._activeEnemies[_local2]];
if (_local1.hitTest(enemy)) {
if (enemy._x < _local1._x) {
enemy._locX = enemy._locX - 20;
}
if (enemy._x > _local1._x) {
enemy._locX = enemy._locX + 20;
}
if (enemy._y > _local1._y) {
enemy._locV = enemy._locV + 20;
}
if (enemy._y < _local1._y) {
enemy._locV = enemy._locV - 20;
}
}
_local2++;
}
};
Symbol 123 MovieClip [_ground3_finish] Frame 1
_root.fadeOut._visible = true;
_root.fadeOut.play();
Symbol 125 MovieClip [_ground2_finish] Frame 1
_root.theLevel = " 03";
_root.lev.read = "LEVEL" + _root.theLevel;
_root.lev.gotoAndPlay(2);
trace(_root._mapIndex);
trace(_root._enemySelect);
Symbol 127 MovieClip [_ground1_finish] Frame 1
_root.hardTarget = 200;
_root.theLevel = " 02";
_root.lev.read = "LEVEL" + _root.theLevel;
_root.lev.gotoAndPlay(2);
Symbol 163 MovieClip Frame 1
_hit._visible = false;
this.onEnterFrame = function () {
var _local2 = _root;
var _local3 = this;
if ((_local3._hit.hitTest(_local2._car._x, _local2._car._y, true) && (_local2._jumping == false)) && (_local2._spinOut == false)) {
_local2._speed = 18;
_local2._car._locY = _local2._car._locY - 40;
_local2._car.gotoAndPlay("spin");
_local2._spinOut = true;
_local2._displaySpeed = 0;
}
var _local1 = 0;
while (_local1 < _local2._activeEnemies.length) {
enemy = _local2[_local2._activeEnemies[_local1]];
if (_local3.hitTest(enemy)) {
enemy.gotoAndPlay("spinMoto");
enemy.gotoAndPlay("spin");
}
_local1++;
}
};
Symbol 171 MovieClip Frame 1
stop();
Symbol 171 MovieClip Frame 3
_parent.swapDepths(1000);
_root._theScore = _root._theScore + 100;
Symbol 171 MovieClip Frame 32
_parent.removeMovieClip();
stop();
trace("remove222");
Symbol 172 MovieClip Frame 31
this.removeMovieClip();
Symbol 173 MovieClip [_straightCar] Frame 1
function die() {
var _local2 = _root;
var _local3 = this;
var _local1 = 0;
while (_local1 < _local2._activeEnemies.length) {
if (_local2._activeEnemies[_local1] == _local3._id) {
eindex = _local1;
}
_local1++;
}
_local2._activeEnemies = _local2.deleteAt(_local2._activeEnemies, eindex);
_local3.removeMovieClip();
}
function reverseX() {
if (left == true) {
right = true;
left = false;
} else {
right = false;
left = true;
}
}
this._locX = this._x;
this._xscale = (this._yscale = 70 + random(15));
this._locV = this._y;
this._die = false;
this._hitbox._visible = 0;
this.g.gotoAndStop(random(2) + 1);
this._exploding = false;
this.onEnterFrame = function () {
var _local1 = this;
var _local2 = _root;
_local1._rotation = _local1._rotation + ((_local1._rot - _local1._rotation) / 6);
_local1._rot = 0;
_local1._y = _local1._y + ((_local1._locV - _local1._y) / 42);
_local1._x = _local1._x + ((_local1._locX - _local1._x) / 6);
if ((_local2._jumping != true) && (_exploding == false)) {
if (_local1._hitbox.hitTest(_local2._car)) {
if (_local2._car._x < _local1._x) {
_local2._car._locX = _local2._car._locX - 10;
_local1.g.gotoAndPlay(3);
_exploding = true;
}
if (_local2._car._x > _local1._x) {
_local2._car._locX = _local2._car._locX + 10;
_local1.g.gotoAndPlay(3);
_exploding = true;
}
if (_local2._car._y > _local1._y) {
_local2._car._locY = _local2._car._locY - 10;
_local1.g.gotoAndPlay(3);
_exploding = true;
}
if (_local2._car._y < _local1._y) {
_local2._car._locY = _local2._car._locY + 10;
_local1.g.gotoAndPlay(3);
_exploding = true;
}
}
}
var _local3 = 0;
while (_local3 < _local2._activeEnemies.length) {
enemy = _local2[_local2._activeEnemies[_local3]];
if (_local2._activeEnemies[_local3] != _local1._id) {
if (_local1.hitTest(enemy)) {
reverseX();
if (enemy._x < _local1._x) {
_local1._locX = _local1._locX + 20;
}
if (enemy._x > _local1._x) {
_local1._locX = _local1._locX - 20;
}
if (enemy._y > _local1._y) {
_local1._locV = _local1._locV + 20;
}
if (enemy._y < _local1._y) {
_local1._locV = _local1._locV - 20;
}
}
}
_local3++;
}
_hitLeftA = _local2._tileA._leftSide.hitTest(_local1);
_hitRightA = _local2._tileA._rightSide.hitTest(_local1);
_hitLeftB = _local2._tileB._leftSide.hitTest(_local1);
_hitRightB = _local2._tileB._rightSide.hitTest(_local1);
if ((_hitLeftA == true) || (_hitLeftB == true)) {
_local1._locX = _local1._locX + 20;
_local1._rot = 25;
right = true;
left = false;
}
if ((_hitRightA == true) || (_hitRightB == true)) {
_local1._locX = _local1._locX - 20;
_local1._rot = -25;
right = false;
left = true;
}
if (random(100) == 1) {
_die = true;
}
if (_die == false) {
} else {
if (_local1._y > 550) {
die();
}
if (_local1._y < -100) {
die();
}
}
if (_local2._speed < 60) {
_local1._locV = _local1._locV + (3 + _local2._carPass);
} else {
_local1._locV = _local1._locV - 13;
}
if (_local1._y > 600) {
die();
}
if (left == true) {
_local1._locX = _local1._locX - 5;
_local1._rot = -15;
}
if (right == true) {
_local1._locX = _local1._locX + 5;
_local1._rot = 15;
}
if (random(10) == 1) {
left = false;
right = false;
}
};
Symbol 176 MovieClip Frame 2
_parent.swapDepths(1002);
_root._oilSlicks++;
_root._theScore = _root._theScore + 100;
Symbol 176 MovieClip Frame 25
_parent.removeMovieClip();
stop();
Symbol 177 MovieClip [_oilpower] Frame 1
function die() {
var _local2 = _root;
var _local3 = this;
var _local1 = 0;
while (_local1 < _local2._activeEnemies.length) {
if (_local2._activeEnemies[_local1] == _local3._id) {
eindex = _local1;
}
_local1++;
}
_local2._activeEnemies = _local2.deleteAt(_local2._activeEnemies, eindex);
_local3.removeMovieClip();
}
function reverseX() {
if (left == true) {
right = true;
left = false;
} else {
right = false;
left = true;
}
}
this._locX = this._x;
this._xscale = (this._yscale = 70 + random(15));
this._locV = this._y;
this._die = false;
this._hitbox._visible = 0;
this.g.gotoAndStop(1);
this.onEnterFrame = function () {
var _local1 = this;
var _local3 = _root;
_local1._rotation = _local1._rotation + ((_local1._rot - _local1._rotation) / 6);
_local1._rot = 0;
_local1._y = _local1._y + ((_local1._locV - _local1._y) / 42);
_local1._x = _local1._x + ((_local1._locX - _local1._x) / 6);
if (_local3._jumping != true) {
if (_local1.hitTest(_local3._car)) {
_local1.g.play();
}
}
var _local2 = 0;
while (_local2 < _local3._activeEnemies.length) {
enemy = _local3[_local3._activeEnemies[_local2]];
if (_local3._activeEnemies[_local2] != _local1._id) {
if (_local1.hitTest(enemy)) {
if (enemy._x < _local1._x) {
_local1._locX = _local1._locX + 20;
}
if (enemy._x > _local1._x) {
_local1._locX = _local1._locX - 20;
}
if (enemy._y > _local1._y) {
_local1._locV = _local1._locV + 20;
}
if (enemy._y < _local1._y) {
_local1._locV = _local1._locV - 20;
}
}
}
_local2++;
}
_hitLeftA = _local3._tileA._leftSide.hitTest(_local1);
_hitRightA = _local3._tileA._rightSide.hitTest(_local1);
_hitLeftB = _local3._tileB._leftSide.hitTest(_local1);
_hitRightB = _local3._tileB._rightSide.hitTest(_local1);
if ((_hitLeftA == true) || (_hitLeftB == true)) {
_local1._locX = _local1._locX + 20;
_local1._rot = 25;
right = true;
left = false;
}
if ((_hitRightA == true) || (_hitRightB == true)) {
_local1._locX = _local1._locX - 20;
_local1._rot = -25;
right = false;
left = true;
}
if (random(100) == 1) {
_die = true;
}
if (_die == false) {
} else {
if (_local1._y > 550) {
die();
}
if (_local1._y < -100) {
die();
}
}
if (_local3._speed < 60) {
_local1._locV = _local1._locV + (6 + _local3._carPass);
} else {
_local1._locV = _local1._locV - 13;
}
if (_local1._y > 600) {
die();
}
if (left == true) {
_local1._locX = _local1._locX - 5;
_local1._rot = -15;
}
if (right == true) {
_local1._locX = _local1._locX + 5;
_local1._rot = 15;
}
if (random(10) == 1) {
left = false;
right = false;
}
};
Symbol 179 MovieClip Frame 2
_parent.swapDepths(1001);
_root._rocketBoosts++;
_root._theScore = _root._theScore + 100;
Symbol 179 MovieClip Frame 25
_parent.removeMovieClip();
stop();
Symbol 180 MovieClip [_fuelPower] Frame 1
function die() {
var _local2 = _root;
var _local3 = this;
var _local1 = 0;
while (_local1 < _local2._activeEnemies.length) {
if (_local2._activeEnemies[_local1] == _local3._id) {
eindex = _local1;
}
_local1++;
}
_local2._activeEnemies = _local2.deleteAt(_local2._activeEnemies, eindex);
_local3.removeMovieClip();
}
function reverseX() {
if (left == true) {
right = true;
left = false;
} else {
right = false;
left = true;
}
}
this._locX = this._x;
this._xscale = (this._yscale = 70 + random(15));
this._locV = this._y;
this._die = false;
this._hitbox._visible = 0;
this.g.gotoAndStop(1);
this.onEnterFrame = function () {
var _local1 = this;
var _local3 = _root;
_local1._rotation = _local1._rotation + ((_local1._rot - _local1._rotation) / 6);
_local1._rot = 0;
_local1._y = _local1._y + ((_local1._locV - _local1._y) / 42);
_local1._x = _local1._x + ((_local1._locX - _local1._x) / 6);
if (_local3._jumping != true) {
if (_local1.hitTest(_local3._car)) {
_local1.g.play();
}
}
var _local2 = 0;
while (_local2 < _local3._activeEnemies.length) {
enemy = _local3[_local3._activeEnemies[_local2]];
if (_local3._activeEnemies[_local2] != _local1._id) {
if (_local1.hitTest(enemy)) {
if (enemy._x < _local1._x) {
_local1._locX = _local1._locX + 20;
}
if (enemy._x > _local1._x) {
_local1._locX = _local1._locX - 20;
}
if (enemy._y > _local1._y) {
_local1._locV = _local1._locV + 20;
}
if (enemy._y < _local1._y) {
_local1._locV = _local1._locV - 20;
}
}
}
_local2++;
}
_hitLeftA = _local3._tileA._leftSide.hitTest(_local1);
_hitRightA = _local3._tileA._rightSide.hitTest(_local1);
_hitLeftB = _local3._tileB._leftSide.hitTest(_local1);
_hitRightB = _local3._tileB._rightSide.hitTest(_local1);
if ((_hitLeftA == true) || (_hitLeftB == true)) {
_local1._locX = _local1._locX + 20;
_local1._rot = 25;
right = true;
left = false;
}
if ((_hitRightA == true) || (_hitRightB == true)) {
_local1._locX = _local1._locX - 20;
_local1._rot = -25;
right = false;
left = true;
}
if (random(100) == 1) {
_die = true;
}
if (_die == false) {
} else {
if (_local1._y > 550) {
die();
}
if (_local1._y < -100) {
die();
}
}
if (_local3._speed < 60) {
_local1._locV = _local1._locV + (6 + _local3._carPass);
} else {
_local1._locV = _local1._locV - 13;
}
if (_local1._y > 600) {
die();
}
if (left == true) {
_local1._locX = _local1._locX - 5;
_local1._rot = -15;
}
if (right == true) {
_local1._locX = _local1._locX + 5;
_local1._rot = 15;
}
if (random(10) == 1) {
left = false;
right = false;
}
};
Symbol 183 MovieClip [_suspect] Frame 1
function die() {
var _local2 = _root;
var _local3 = this;
var _local1 = 0;
while (_local1 < _local2._activeEnemies.length) {
if (_local2._activeEnemies[_local1] == _local3._id) {
eindex = _local1;
}
_local1++;
}
_local2._activeEnemies = _local2.deleteAt(_local2._activeEnemies, eindex);
_local3.removeMovieClip();
}
function reverseX() {
if (left == true) {
right = true;
left = false;
} else {
right = false;
left = true;
}
}
this._locX = this._x;
this._xscale = (this._yscale = 70 + random(15));
this._locV = this._y;
this._die = false;
this._hitbox._visible = 0;
this.g.gotoAndStop(1);
this._exploding = false;
t = 0;
trace("hey");
this.onEnterFrame = function () {
var _local1 = this;
var _local2 = _root;
t++;
if (t == 10) {
_local2._dash.readOut.gotoAndPlay("blink");
}
_local1._rotation = _local1._rotation + ((_local1._rot - _local1._rotation) / 6);
_local1._rot = 0;
_local1._y = _local1._y + ((_local1._locV - _local1._y) / 42);
_local1._x = _local1._x + ((_local1._locX - _local1._x) / 6);
if (_local2._jumping != true) {
if (_local1._hitbox.hitTest(_local2._car)) {
if (_local2._car._x < _local1._x) {
_local2._car._locX = _local2._car._locX - 10;
_local1._locX = _local1._locX + 10;
}
if (_local2._car._x > _local1._x) {
_local2._car._locX = _local2._car._locX + 10;
_local1._locX = _local1._locX - 10;
}
if (_local2._car._y > _local1._y) {
_local2._car._locY = _local2._car._locY - 10;
_local1._locV = _local1._locV + 20;
}
if (_local2._car._y < _local1._y) {
_local2._car._locY = _local2._car._locY + 10;
_local1._locV = _local1._locV - 20;
}
}
}
var _local3 = 0;
while (_local3 < _local2._activeEnemies.length) {
enemy = _local2[_local2._activeEnemies[_local3]];
if (_local2._activeEnemies[_local3] != _local1._id) {
if (_local1.hitTest(enemy)) {
reverseX();
if (enemy._x < _local1._x) {
_local1._locX = _local1._locX + 20;
}
if (enemy._x > _local1._x) {
_local1._locX = _local1._locX - 20;
}
if (enemy._y > _local1._y) {
_local1._locV = _local1._locV + 20;
}
if (enemy._y < _local1._y) {
_local1._locV = _local1._locV - 20;
}
}
}
_local3++;
}
_hitLeftA = _local2._tileA._leftSide.hitTest(_local1);
_hitRightA = _local2._tileA._rightSide.hitTest(_local1);
_hitLeftB = _local2._tileB._leftSide.hitTest(_local1);
_hitRightB = _local2._tileB._rightSide.hitTest(_local1);
if ((_hitLeftA == true) || (_hitLeftB == true)) {
_local1._locX = _local1._locX + 20;
_local1._rot = 25;
right = true;
left = false;
}
if ((_hitRightA == true) || (_hitRightB == true)) {
_local1._locX = _local1._locX - 20;
_local1._rot = -25;
right = false;
left = true;
}
_local1._locV = _local1._locV + 10;
if ((_local1._y > 65) || (run == true)) {
_local1._locV = _local1._locV - 20;
run = true;
}
if (_local1._y < -100) {
die();
}
if (_local2._jumping == true) {
_local1._locV = _local1._locV - 30;
}
if (left == true) {
_local1._locX = _local1._locX - 5;
_local1._rot = -15;
}
if (right == true) {
_local1._locX = _local1._locX + 5;
_local1._rot = 15;
}
if (random(10) == 1) {
left = false;
right = false;
}
};
Symbol 184 MovieClip Frame 1
stop();
Symbol 184 MovieClip Frame 3
_parent.swapDepths(1000);
_root._theScore = _root._theScore - 100;
Symbol 184 MovieClip Frame 32
_parent.removeMovieClip();
stop();
trace("remove222");
Symbol 184 MovieClip Frame 45
gotoAndPlay (3);
Symbol 185 MovieClip [_downCar] Frame 1
function die() {
var _local2 = _root;
var _local3 = this;
var _local1 = 0;
while (_local1 < _local2._activeEnemies.length) {
if (_local2._activeEnemies[_local1] == _local3._id) {
eindex = _local1;
}
_local1++;
}
_local2._activeEnemies = _local2.deleteAt(_local2._activeEnemies, eindex);
_local3.removeMovieClip();
}
function reverseX() {
if (left == true) {
right = true;
left = false;
} else {
right = false;
left = true;
}
}
this._locX = this._x;
this._xscale = (this._yscale = 70 + random(15));
this._locV = this._y;
this._die = false;
this._hitbox._visible = 0;
this.g.gotoAndStop(1);
this._exploding = false;
this.onEnterFrame = function () {
var _local1 = this;
var _local2 = _root;
_local1._rotation = _local1._rotation + ((_local1._rot - _local1._rotation) / 6);
_local1._rot = 0;
_local1._y = _local1._y + ((_local1._locV - _local1._y) / 42);
_local1._x = _local1._x + ((_local1._locX - _local1._x) / 6);
if ((_local2._jumping != true) && (_exploding == false)) {
if (_local1._hitbox.hitTest(_local2._car)) {
_local2._car._locX = _local2._car._locX - 10;
_local1.g.gotoAndPlay(2);
_local2._car.gotoAndPlay("spin");
_local2._spinOut = true;
_local2._displaySpeed = 0;
_exploding = true;
}
}
var _local3 = 0;
while (_local3 < _local2._activeEnemies.length) {
enemy = _local2[_local2._activeEnemies[_local3]];
if (_local2._activeEnemies[_local3] != _local1._id) {
if (_local1.hitTest(enemy)) {
reverseX();
if (enemy._x < _local1._x) {
_local1._locX = _local1._locX + 20;
}
if (enemy._x > _local1._x) {
_local1._locX = _local1._locX - 20;
}
if (enemy._y > _local1._y) {
_local1._locV = _local1._locV + 20;
}
if (enemy._y < _local1._y) {
_local1._locV = _local1._locV - 20;
}
}
}
_local3++;
}
_hitLeftA = _local2._tileA._leftSide.hitTest(_local1);
_hitRightA = _local2._tileA._rightSide.hitTest(_local1);
_hitLeftB = _local2._tileB._leftSide.hitTest(_local1);
_hitRightB = _local2._tileB._rightSide.hitTest(_local1);
if ((_hitLeftA == true) || (_hitLeftB == true)) {
_local1._locX = _local1._locX + 20;
_local1._rot = 25;
right = true;
left = false;
}
if ((_hitRightA == true) || (_hitRightB == true)) {
_local1._locX = _local1._locX - 20;
_local1._rot = -25;
right = false;
left = true;
}
if (random(100) == 1) {
_die = true;
}
if (_die == false) {
} else {
if (_local1._y > 550) {
die();
}
if (_local1._y < -100) {
die();
}
}
if (_local2._speed < 60) {
_local1._locV = _local1._locV + (3 + _local2._carPass);
} else {
_local1._locV = _local1._locV - 13;
}
if (_local1._y > 600) {
die();
}
if (left == true) {
_local1._locX = _local1._locX - 5;
_local1._rot = -15;
}
if (right == true) {
_local1._locX = _local1._locX + 5;
_local1._rot = 15;
}
if (random(10) == 1) {
left = false;
right = false;
}
};
Symbol 191 MovieClip Frame 1
stop();
Symbol 191 MovieClip Frame 2
_parent.swapDepths(1000);
_root._theScore = _root._theScore + 100;
Symbol 191 MovieClip Frame 31
_parent.removeMovieClip();
stop();
trace("remove222");
Symbol 192 MovieClip [_straightMotor] Frame 1
function die() {
var _local2 = _root;
var _local3 = this;
var _local1 = 0;
while (_local1 < _local2._activeEnemies.length) {
if (_local2._activeEnemies[_local1] == _local3._id) {
eindex = _local1;
}
_local1++;
}
_local2._activeEnemies = _local2.deleteAt(_local2._activeEnemies, eindex);
_local3.removeMovieClip();
}
function reverseX() {
if (left == true) {
right = true;
left = false;
} else {
right = false;
left = true;
}
}
this._locX = this._x;
this._locV = this._y;
this._die = false;
this._hitbox._visible = 0;
this._exploding = false;
this.onEnterFrame = function () {
var _local1 = this;
var _local2 = _root;
_local1._rotation = _local1._rotation + ((_local1._rot - _local1._rotation) / 6);
_local1._rot = 0;
_local1._y = _local1._y + ((_local1._locV - _local1._y) / 42);
_local1._x = _local1._x + ((_local1._locX - _local1._x) / 6);
if ((_local2._jumping != true) && (_exploding == false)) {
if (_local1._hitbox.hitTest(_local2._car)) {
if (_local2._car._x < _local1._x) {
_local2._car._locX = _local2._car._locX - 10;
_local1.g.play();
_exploding = true;
}
if (_local2._car._x > _local1._x) {
_local2._car._locX = _local2._car._locX + 10;
_local1.g.play();
_exploding = true;
}
if (_local2._car._y > _local1._y) {
_local2._car._locY = _local2._car._locY - 10;
_local1.g.play();
_exploding = true;
}
if (_local2._car._y < _local1._y) {
_local2._car._locY = _local2._car._locY + 10;
_local1.g.play();
_exploding = true;
}
}
}
var _local3 = 0;
while (_local3 < _local2._activeEnemies.length) {
enemy = _local2[_local2._activeEnemies[_local3]];
if (_local2._activeEnemies[_local3] != _local1._id) {
if (_local1.hitTest(enemy)) {
reverseX();
if (enemy._x < _local1._x) {
_local1._locX = _local1._locX + 20;
}
if (enemy._x > _local1._x) {
_local1._locX = _local1._locX - 20;
}
if (enemy._y > _local1._y) {
_local1._locV = _local1._locV + 20;
}
if (enemy._y < _local1._y) {
_local1._locV = _local1._locV - 20;
}
}
}
_local3++;
}
_hitLeftA = _local2._tileA._leftSide.hitTest(_local1);
_hitRightA = _local2._tileA._rightSide.hitTest(_local1);
_hitLeftB = _local2._tileB._leftSide.hitTest(_local1);
_hitRightB = _local2._tileB._rightSide.hitTest(_local1);
if ((_hitLeftA == true) || (_hitLeftB == true)) {
_local1._locX = _local1._locX + 20;
_local1._rot = 25;
right = true;
left = false;
}
if ((_hitRightA == true) || (_hitRightB == true)) {
_local1._locX = _local1._locX - 20;
_local1._rot = -25;
right = false;
left = true;
}
if (random(100) == 1) {
_die = true;
}
if (_die == false) {
} else {
if (_local1._y > 550) {
die();
}
if (_local1._y < -100) {
die();
}
}
if (_local2._speed < 60) {
_local1._locV = _local1._locV + (3 + _local2._carPass);
} else {
_local1._locV = _local1._locV - 13;
}
if (_local1._y > 600) {
die();
}
if (left == true) {
_local1._locX = _local1._locX - 5;
_local1._rot = -15;
}
if (right == true) {
_local1._locX = _local1._locX + 5;
_local1._rot = 15;
}
if (random(10) == 1) {
left = false;
right = false;
}
};
Symbol 199 MovieClip Frame 33
this.removeMovieClip();
Symbol 200 MovieClip [_targetMotor] Frame 1
function die() {
var _local2 = _root;
var _local3 = this;
var _local1 = 0;
while (_local1 < _local2._activeEnemies.length) {
if (_local2._activeEnemies[_local1] == _local3._id) {
eindex = _local1;
}
_local1++;
}
_local2._activeEnemies = _local2.deleteAt(_local2._activeEnemies, eindex);
_local3.removeMovieClip();
}
function reverseX() {
if (left == true) {
right = true;
left = false;
} else {
right = false;
left = true;
}
}
g.gotoAndStop(random(3) + 1);
if (_root.hardTarget == 200) {
this._y = -30;
}
this._locX = this._x;
this._locV = this._y;
this._die = false;
_attackTime = 0;
this._hitbox._visible = 0;
this.onEnterFrame = function () {
var _local1 = this;
var _local2 = _root;
_local1._rotation = _local1._rotation + ((_local1._rot - _local1._rotation) / 6);
_local1._rot = 0;
_local1._y = _local1._y + ((_local1._locV - _local1._y) / 42);
_local1._x = _local1._x + ((_local1._locX - _local1._x) / 6);
if (_local2._jumping != true) {
if (_local1._hitbox.hitTest(_local2._car)) {
if (_local2._car._x < _local1._x) {
_local2._car._locX = _local2._car._locX - 10;
_local1._locX = _local1._locX + 10;
}
if (_local2._car._x > _local1._x) {
_local2._car._locX = _local2._car._locX + 10;
_local1._locX = _local1._locX - 10;
}
if (_local2._car._y > _local1._y) {
_local2._car._locV = _local2._car._locV - 10;
if (random(2) == 1) {
_local2._car._locX = _local2._car._locX - 10;
_local1._rot = -25;
} else {
_local1._rot = 25;
_local2._car._locX = _local2._car._locX + 10;
}
_local1._locV = _local1._locV - 20;
}
if (_local2._car._y < _local1._y) {
if (random(2) == 1) {
_local2._car._locX = _local2._car._locX - 10;
} else {
_local2._car._locX = _local2._car._locX + 10;
}
_local2._car._locV = _local2._car._locV + 10;
_local1._locV = _local1._locV + 20;
}
}
}
var _local3 = 0;
while (_local3 < _local2._activeEnemies.length) {
enemy = _local2[_local2._activeEnemies[_local3]];
if (_local2._activeEnemies[_local3] != _local1._id) {
if (_local1.hitTest(enemy)) {
reverseX();
if (enemy._x < _local1._x) {
_local1._locX = _local1._locX + 20;
}
if (enemy._x > _local1._x) {
_local1._locX = _local1._locX - 20;
}
if (enemy._y > _local1._y) {
_local1._locV = _local1._locV + 20;
}
if (enemy._y < _local1._y) {
_local1._locV = _local1._locV - 20;
}
}
}
_local3++;
}
_hitLeftA = _local2._tileA._leftSide.hitTest(_local1._x + 40, _local1._y);
_hitRightA = _local2._tileA._rightSide.hitTest(_local1._x - 40, _local1._y);
_hitLeftB = _local2._tileB._leftSide.hitTest(_local1._x + 40, _local1._y);
_hitRightB = _local2._tileB._rightSide.hitTest(_local1._x - 40, _local1._y);
if ((_hitLeftA == true) || (_hitLeftB == true)) {
_local1._locX = _local1._locX + 20;
_local1._rot = 25;
right = true;
left = false;
}
if ((_hitRightA == true) || (_hitRightB == true)) {
_local1._locX = _local1._locX - 20;
_local1._rot = -25;
right = false;
left = true;
}
if (random(100) == 1) {
_die = true;
}
if (_die == false) {
if (random(20) == 1) {
_local1._locV = 50 + random(460);
}
} else {
_local1._locV = _local1._locV - 10;
if (_local1._y < -50) {
die();
}
}
_local1._locV = _local1._locV + (2 + _local2._carPass);
if (_local1._y > 600) {
die();
}
if (random(20) == 1) {
left = false;
right = false;
}
if (left == true) {
_local1._locX = _local1._locX - 5;
_local1._rot = -25;
}
if (right == true) {
_local1._locX = _local1._locX + 5;
_local1._rot = 25;
}
if (_local1._y > 180) {
_attackTime++;
if (_attackTime > _local2.hardTarget) {
_local1._locV = _local1._locV + 20;
}
if (_local1._y < _local2._car._y) {
_local1._locV = _local1._locV + 30;
if (_local2._car._x < _local1._x) {
_local1._locX = _local1._locX - 10;
_local1._rot = -25;
} else {
_local1._locX = _local1._locX + 10;
_local1._rot = 25;
}
}
} else {
left = false;
right = false;
}
};
Symbol 206 MovieClip [_oily] Frame 1
_x = _root._car._x;
_y = _root._car._y;
g.gotoAndStop(random(4) + 1);
sy = (this.onEnterFrame = function () {
var _local2 = _root;
var _local3 = this;
_y = (_y + _local2._speedConverted);
if (_y > 550) {
trace("r");
_local3.removeMovieClip();
trace("r");
}
var _local1 = 0;
while (_local1 < _local2._activeEnemies.length) {
enemy = _local2[_local2._activeEnemies[_local1]];
if (_local3.hitTest(enemy)) {
enemy._locY = enemy._locY + 50;
enemy.g.gotoAndPlay("spin");
enemy.noHit = true;
}
_local1++;
}
});
Symbol 244 MovieClip Frame 130
_root.gotoAndStop("mainMenu");
stop();
Symbol 270 MovieClip Frame 60
gotoAndPlay (1);
Symbol 279 Button
on (release) {
getURL ("javascript:NewWindow=window.open('http://homevideo.universalstudios.com/title.php?titleId=2529','newWin','width=750,height=600,left=0,top=0,toolbar=Yes,location=No,scrollbars=Yes,status=No,resizable=yes,fullscreen=No'); NewWindow.focus(); void(0);");
}
Symbol 283 Button
on (release) {
stopAllSounds();
gotoAndStop ("starty");
}
Symbol 285 Button
on (release) {
_root.gotoAndPlay("instructions");
}
Symbol 287 Button
on (release) {
_root.gotoAndPlay("email");
}
Symbol 306 MovieClip Frame 30
stop();
Symbol 307 MovieClip Frame 339
_root.photoShow.gotoAndPlay(1);
Symbol 315 Button
on (release) {
_root.gotoAndStop("mainMenu");
}
Symbol 320 Button
on (release) {
gotoAndStop (2);
}
Symbol 324 Button
on (release) {
gotoAndStop (1);
}
Symbol 325 MovieClip Frame 1
stop();
Symbol 325 MovieClip Frame 2
stop();
Symbol 327 Button
on (release) {
_root.gotoAndStop("stopEmail");
}
Symbol 335 Button
on (release) {
if (((!Email.length) || (Email.indexOf("@") == -1)) || (Email.indexOf(".") == -1)) {
EmailStatus = "Please enter a valid E-mail address for you";
} else if (((!ToEmail.length) || (ToEmail.indexOf("@") == -1)) || (ToEmail.indexOf(".") == -1)) {
EmailStatus = "Please enter a valid E-mail address for who your sending this to";
} else if (!ToName.length) {
EmailStatus = "Please Enter the name of how you are sending this to";
} else if (!FirstName.length) {
EmailStatus = "Please Enter your name before sending";
} else {
loadVariablesNum ("Mail.php", 0, "POST");
EmailStatus = "Sending...";
_root.Mail.gotoAndStop(2);
}
}
Symbol 350 Button
on (release) {
_root.Mail.gotoAndStop(1);
}
Symbol 351 MovieClip Frame 1
FirstName = "";
Email = "";
ToName = "";
ToEmail = "";
stop();
Symbol 351 MovieClip Frame 2
stop();
Symbol 352 Button
on (release) {
stopAllSounds();
_root.gotoAndStop("starty");
}
Symbol 353 Button
on (release) {
gotoAndPlay ("stopInstructions");
}
Symbol 354 Button
on (release) {
_root.gotoAndPlay("email");
}
Symbol 448 MovieClip Frame 1
stop();
Symbol 467 MovieClip Frame 67
stop();
Symbol 473 MovieClip Frame 1
wait = 0;
stop();
this.onEnterFrame = function () {
wait++;
if (wait == 30) {
this.play();
}
};
Symbol 473 MovieClip Frame 118
stop();
Symbol 473 MovieClip Frame 119
trace("danke");
Symbol 473 MovieClip Frame 158
stop();
Symbol 482 Button
on (press) {
sinc++;
if ((sinc % 2) == 1) {
_root.mute = true;
_root.mc.sOne.setVolume(0);
_root.mc.sTwo.setVolume(0);
_root.mc.sThree.setVolume(0);
_root.mc.sFour.setVolume(0);
_root.mc2.sOver.setVolume(0);
_root.mc2.sFive.setVolume(0);
_root.mc2.sSix.setVolume(0);
_root.mc2.sSeven.setVolume(0);
} else {
_root.mc.sOne.setVolume(10);
_root.mc.sTwo.setVolume(20);
_root.mute = false;
_root.mc.sThree.setVolume(50);
_root.mc.sFour.setVolume(20);
_root.mc2.sOver.setVolume(20);
_root.mc2.sFive.setVolume(20);
_root.mc2.sSix.setVolume(20);
_root.mc2.sSeven.setVolume(20);
}
}
Symbol 495 Button
on (release) {
getURL ("javascript:NewWindow=window.open('http://homevideo.universalstudios.com/title.php?titleId=2529','newWin','width=750,height=600,left=0,top=0,toolbar=Yes,location=No,scrollbars=Yes,status=No,resizable=yes,fullscreen=No'); NewWindow.focus(); void(0);");
}
Symbol 496 MovieClip Frame 1
_oil.gotoAndStop(7);
sinc = 0;
_fuel.gotoAndStop(7);
Symbol 498 MovieClip Frame 1
stop();
this.swapDepths(5050);
_visible = false;
Symbol 498 MovieClip Frame 15
if (_root.death != true) {
_root.gotoAndStop("end");
} else {
_root.gotoAndStop("dead");
}
Symbol 514 MovieClip Frame 1
this.onEnterFrame = function () {
};
_root._rocketTime = 0;
Symbol 514 MovieClip Frame 2
this.onEnterFrame = function () {
var _local1 = _root;
_local1._rocketTime++;
if (_local1._rocketTime == 90) {
_local1._car._rocket.gotoAndStop(1);
_local1._car._rocket._visible = false;
_local1._speed = 60;
_local1._carPass = 0;
}
};
Symbol 515 MovieClip Frame 1
stop();
_rocket._visible = false;
_root._jumping = false;
Symbol 515 MovieClip Frame 2
_root._speed = 18;
_root._carPass = 35;
_root._theScore = _root._theScore + 500;
_root._jumping = true;
Symbol 515 MovieClip Frame 18
_root._speed = 18;
Symbol 515 MovieClip Frame 19
_root._speed = 18;
Symbol 515 MovieClip Frame 20
_root._speed = 18;
Symbol 515 MovieClip Frame 21
_root._speed = 18;
Symbol 515 MovieClip Frame 22
_root._speed = 18;
Symbol 515 MovieClip Frame 23
_root._speed = 18;
Symbol 515 MovieClip Frame 24
_root._speed = 18;
Symbol 515 MovieClip Frame 25
_root._speed = 18;
Symbol 515 MovieClip Frame 26
_root._speed = 19;
Symbol 515 MovieClip Frame 27
_root._speed = 20;
Symbol 515 MovieClip Frame 28
_root._speed = 21;
Symbol 515 MovieClip Frame 29
_root._speed = 23;
Symbol 515 MovieClip Frame 30
_root._speed = 25;
Symbol 515 MovieClip Frame 42
_root._carPass = 0;
_root._jumping = false;
gotoAndStop (1);
Symbol 515 MovieClip Frame 43
_root._rocketTime = 59;
_root.oi.removeMovieClip();
Symbol 515 MovieClip Frame 62
_root.theLives = _root.theLives - 1;
if (_root.theLives > 0) {
_root.died.read = _root.theLives + " LIVES LEFT";
if (_root.theLives == 1) {
_root.died.read = _root.theLives + " LIFE LEFT";
}
} else {
_root.died.read = "GAME OVER";
}
_root.died._visible = true;
Symbol 515 MovieClip Frame 110
_root._life++;
_root.oi.removeMovieClip();
_root._dash._lives.gotoAndStop(_root._life);
_root._car._x = 200;
_root._car._locX = 200;
_root._car._y = 200;
_root._car._locV = 200;
_root._spinOut = false;
_root.died._visible = false;
gotoAndStop (1);
Symbol 515 MovieClip Frame 124
_root.oi.removeMovieClip();
_root.theLives = _root.theLives - 1;
if (_root.theLives > 0) {
_root.died.read = _root.theLives + " LIVES LEFT";
if (_root.theLives == 1) {
_root.died.read = _root.theLives + " LIFE LEFT";
}
} else {
_root.died.read = "GAME OVER";
}
_root.died._visible = true;
Symbol 515 MovieClip Frame 154
_root._life++;
_root.died._visible = false;
_root._dash._lives.gotoAndStop(_root._life);
_root._car._x = 180;
_root._car._locX = 180;
_root._car._y = 200;
_root._car._locV = 220;
_root._spinOut = false;
gotoAndStop (1);
Symbol 515 MovieClip Frame 175
gotoAndStop (1);
Symbol 542 MovieClip Frame 1
Symbol 542 MovieClip Frame 2
Symbol 542 MovieClip Frame 50
if (read == "GAME OVER") {
_root.fadeOut._visible = true;
_root.fadeOut.play();
_root.death = true;
}
Symbol 549 MovieClip Frame 1
Symbol 549 MovieClip Frame 51
gotoAndStop (1);
Symbol 551 MovieClip Frame 1
this.swapDepths(10000);