Frame 1
function preload() {
var _local1 = _root;
newPercLoaded = Math.floor((_local1.getBytesLoaded() / _local1.getBytesTotal()) * 100);
lb._xscale = (percLoaded = percLoaded + ((newPercLoaded - percLoaded) * 0.2));
if ((percLoaded > 99.9) && (newPercLoaded == 100)) {
stop();
_local1.startgame._y = 390;
delete this.onEnterFrame;
}
}
_root.stop();
var percLoaded = 0;
var newPercLoaded;
onEnterFrame = preload;
Instance of Symbol 75 MovieClip in Frame 1
on (release) {
getURL ("http://www.thorgaming.com/flasharcade/", "_blank");
}
on (rollOver) {
this._alpha = 40;
}
on (rollOut) {
this._alpha = 100;
}
Frame 2
_root.nextFrame();
local_data = SharedObject.getLocal("user_data");
if (local_data.data.volumeset == null) {
local_data.data.volumeset = -50;
}
_root.practisehigh = local_data.data.practisehigh;
Frame 3
_root.difficulty = 1;
allsounds = new Sound(this);
_root.practisescore = 0;
_root.car.gotoAndPlay(1);
_root.money.gotoAndPlay(random(25) + 1);
_root.mines.gotoAndPlay(random(25) + 1);
_root.car._x = 598;
_root.car._y = 380;
_root.noson = 0;
_root.noslevel = 0;
_root.sheildsleft = 1;
_root.car._rotation = 0;
_root.enemydead1 = 0;
_root.health1 = 50;
_root.player1score = 0;
_root.player2score = 0;
_root.sprinta = 0;
_root.sprintb = 0;
_root.aready = 0;
_root.bready = 0;
_root.reloadmissile = 0;
_root.moneycollected = 0;
local_data = SharedObject.getLocal("user_data");
_root.options.option.slider.slideBar._y = -50;
_root.options.option.slider.slideBar._y = local_data.data.volumeset * -1;
_root.options.option.slider.slideBar.onEnterFrame = function () {
allsounds.setVolume((-this._y) + 1);
};
_root.options.option.slider.slideBar.onPress = function () {
var _local1 = this;
startDrag (_local1, false, _local1._x, -65, _local1._x, 0);
};
_root.options.option.slider.slideBar.onRelease = (_root.options.option.slider.slideBar.onReleaseOutside = function () {
local_data = SharedObject.getLocal("user_data");
local_data.data.volumeset = -this._y;
local_data.flush();
stopDrag();
});
_root.options.option.slider2.slideBar2._y = -50;
_root.options.option.slider2.slideBar2._y = local_data.data.volumeset2 * -1;
_root.options.option.slider2.slideBar2.onEnterFrame = function () {
var _local1 = this;
var _local2 = _root;
_local2.missilelaunch.setVolume((-(_local1._y * 1.3)) + 1);
_local2.rocketjet.setVolume((-(_local1._y * 1.3)) + 1);
_local2.missilelaunch1.setVolume((-(_local1._y * 1.3)) + 1);
_local2.rocketjet1.setVolume((-(_local1._y * 1.3)) + 1);
_local2.missilelaunch3.setVolume((-(_local1._y * 1.3)) + 1);
_local2.rocketjet3.setVolume((-(_local1._y * 1.3)) + 1);
_local2.electric.setVolume((-(_local1._y * 1.3)) + 1);
_local2.zap.setVolume((-(_local1._y * 1.3)) + 1);
_local2.explosion.setVolume((-(_local1._y * 1.3)) + 1);
_local2.turretnoise.setVolume((-(_local1._y * 1.3)) + 1);
_local2.moneysound.setVolume((-(_local1._y * 1.3)) + 1);
_local2.acc.setVolume(-(_local1._y * 1));
_local2.dec.setVolume(-(_local1._y * 1));
_local2.skidsound.setVolume(-(_local1._y * 1));
};
_root.options.option.slider2.slideBar2.onPress = function () {
var _local1 = this;
startDrag (_local1, false, _local1._x, -65, _local1._x, 0);
};
_root.options.option.slider2.slideBar2.onRelease = (_root.options.option.slider2.slideBar2.onReleaseOutside = function () {
local_data = SharedObject.getLocal("user_data");
local_data.data.volumeset2 = -this._y;
local_data.flush();
stopDrag();
});
stop();
Instance of Symbol 97 MovieClip "enemy1" in Frame 3
onClipEvent (load) {
this.gotoAndStop(1);
this._x = Math.round(Math.random() * 480) + 20;
this._y = Math.round(Math.random() * 205) + 75;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.car)) {
this.play();
}
if (_root.enemydead1 != 1) {
myRadians = Math.atan2(_root.car._y - this._y, _root.car._x - this._x);
myDegrees = Math.round((myRadians * 180) / Math.PI);
_root.yChange = Math.round(_root.car._y - this._y);
_root.xChange = Math.round(_root.car._x - this._x);
_root.yMove = Math.round(_root.yChange / 20);
_root.xMove = Math.round(_root.xChange / 20);
this._rotation = myDegrees + 90;
}
}
Instance of Symbol 141 MovieClip "rocket3" in Frame 3
onClipEvent (load) {
_root.missileexploded3 = 1;
}
onClipEvent (enterFrame) {
if (_root.enemydead1 != 1) {
if (_root.cars.hitTest(getBounds(_root).xMax, _y, true)) {
_root.rocket3.gotoAndStop("exploded");
_root.rocketjet3.stop();
}
if (_root.cars.hitTest(getBounds(_root).xMin, _y, true)) {
_root.rocket3.gotoAndStop("exploded");
_root.rocketjet3.stop();
}
if (_root.cars.hitTest(_x, getBounds(_root).yMax, true)) {
_root.rocket3.gotoAndStop("exploded");
_root.rocketjet3.stop();
}
if (_root.cars.hitTest(_x, getBounds(_root).yMin, true)) {
_root.rocket3.gotoAndStop("exploded");
_root.rocketjet3.stop();
}
if (this.hitTest(_root.car)) {
if (_root.missileexploded3 != 1) {
_root.car.play();
_root.rocket3.gotoAndStop("exploded");
_root.rocketjet3.stop();
}
}
if (_root.missileexploded3 != 1) {
myRadians = Math.atan2(_root.car._y - this._y, _root.car._x - this._x);
myDegrees = Math.round((myRadians * 180) / Math.PI);
_root.yChange = Math.round(_root.car._y - this._y);
_root.xChange = Math.round(_root.car._x - this._x);
_root.yMove = Math.round(_root.yChange / 15);
_root.xMove = Math.round(_root.xChange / 15);
this._y = this._y + _root.yMove;
this._x = this._x + _root.xMove;
this._rotation = myDegrees + 90;
} else {
_root.rocketjet3.stop();
if (_root.reloadmissile3 < 110) {
_root.reloadmissile3 = _root.reloadmissile3 + 1;
} else {
this._x = _root.enemy1._x;
this._y = _root.enemy1._y;
_root.missileexploded3 = 0;
_root.rocket3.gotoAndPlay(1);
}
}
}
}
Instance of Symbol 173 MovieClip "traps" in Frame 3
onClipEvent (load) {
this._x = Math.round(Math.random() * 480) + 20;
this._y = Math.round(Math.random() * 205) + 75;
this.gotoAndPlay(random(3) + 1);
}
Instance of Symbol 203 MovieClip "car" in Frame 3
onClipEvent (load) {
_root.sheildon = 0;
}
onClipEvent (enterFrame) {
trace(Key.getCode());
if (_root.health1 <= 0) {
this.gotoAndPlay("dead");
}
if (_root.moneycollected == 10) {
_root.levelcomplete = "complete";
}
if (speed >= 0) {
_root.setspeed = speed;
} else {
_root.setspeed = speed * -1;
}
if (Key.isDown(38)) {
if (speed == 0) {
_root.enginesound.gotoAndStop("idle");
}
if (Key.isDown(32)) {
skidsound = new Sound(this);
skidsound.attachSound("skidsound");
skidsound.start(0, 1);
}
if (Key.isDown(65)) {
if (_root.noslevel > 0) {
speed = speed + 2;
_root.noslevel = _root.noslevel - 1;
} else {
speed = speed + 1;
}
} else {
speed = speed + 1;
}
_root.enginesound.gotoAndStop("up");
} else if (Key.isDown(40)) {
speed = speed - 1;
if (speed < -5) {
_root.enginesound.gotoAndStop("up");
}
} else {
_root.enginesound.gotoAndStop("down");
speed = speed * 1;
}
if (Math.abs(speed) > 100) {
speed = speed * 0.6;
}
if (Key.isDown(37)) {
if (Key.isDown(32)) {
if (speed >= 0) {
speed = speed - 0.1;
treadcount++;
duplicateMovieClip (_root.tread, "tread" + treadcount, (treadcount % 100) + 1000);
if (_rotation < -90) {
_rotation = (_rotation - (_root.setspeed * 1.4));
_x = (_x - (_root.setspeed / 1.7));
if (speed > 5) {
speed = speed - 1;
}
}
if (_rotation >= 90) {
_rotation = (_rotation - (_root.setspeed * 1.4));
_y = (_y + (_root.setspeed / 1.7));
if (speed > 5) {
speed = speed - 1;
}
}
if ((_rotation > 0) && (_rotation < 90)) {
_rotation = (_rotation - (_root.setspeed * 1.4));
_x = (_x + (_root.setspeed / 1.7));
if (speed > 5) {
speed = speed - 1;
}
}
if ((_rotation < 0) && (_rotation > -90)) {
_rotation = (_rotation - (_root.setspeed * 1.4));
_y = (_y - (_root.setspeed / 1.7));
if (speed > 5) {
speed = speed - 1;
}
}
}
} else {
_rotation = (_rotation - speed);
}
}
if (Key.isDown(83)) {
if (_root.sheildsleft > 0) {
if (_root.sheildon == 0) {
_root.car.gotoAndPlay("sheild");
_root.sheildsleft = _root.sheildsleft - 1;
}
}
}
if (Key.isDown(39)) {
if (Key.isDown(32)) {
if (speed >= 0) {
speed = speed - 0.1;
treadcount++;
duplicateMovieClip (_root.tread, "tread" + treadcount, (treadcount % 100) + 1000);
if (_rotation < -90) {
_rotation = (_rotation + (_root.setspeed * 1.4));
_y = (_y + (_root.setspeed / 1.7));
if (speed > 5) {
speed = speed - 1;
}
}
if (_rotation >= 90) {
_rotation = (_rotation + (_root.setspeed * 1.4));
_x = (_x + (_root.setspeed / 1.7));
if (speed > 5) {
speed = speed - 1;
}
}
if ((_rotation > 0) && (_rotation < 90)) {
_rotation = (_rotation + (_root.setspeed * 1.4));
_y = (_y - (_root.setspeed / 1.7));
if (speed > 5) {
speed = speed - 1;
}
}
if ((_rotation < 0) && (_rotation > -90)) {
_rotation = (_rotation + (_root.setspeed * 1.4));
_x = (_x - (_root.setspeed / 1.7));
if (speed > 5) {
speed = speed - 1;
}
}
}
} else {
_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.3;
}
myBounce = (_root.setspeed * 0.8) + 2;
if (_root.walls.hitTest(getBounds(_root).xMax, _y, true)) {
_x = (_x - myBounce);
speed = 0;
}
if (_root.walls.hitTest(getBounds(_root).xMin, _y, true)) {
_x = (_x + myBounce);
speed = 0;
}
if (_root.walls.hitTest(_x, getBounds(_root).yMax, true)) {
_y = (_y - myBounce);
speed = 0;
}
if (_root.walls.hitTest(_x, getBounds(_root).yMin, true)) {
_y = (_y + myBounce);
speed = 0;
}
if (_root.carplayer2.hitTest(getBounds(_root).xMax, _y, true)) {
_x = (_x - myBounce);
speed = 0;
}
if (_root.carplayer2.hitTest(getBounds(_root).xMin, _y, true)) {
_x = (_x + myBounce);
speed = 0;
}
if (_root.carplayer2.hitTest(_x, getBounds(_root).yMax, true)) {
_y = (_y - myBounce);
speed = 0;
}
if (_root.carplayer2.hitTest(_x, getBounds(_root).yMin, true)) {
_y = (_y + myBounce);
speed = 0;
}
if (_root.cars.hitTest(getBounds(_root).xMax, _y, true)) {
_x = (_x - myBounce);
speed = 0;
}
if (_root.cars.hitTest(getBounds(_root).xMin, _y, true)) {
_x = (_x + myBounce);
speed = 0;
}
if (_root.cars.hitTest(_x, getBounds(_root).yMax, true)) {
_y = (_y - myBounce);
speed = 0;
}
if (_root.cars.hitTest(_x, getBounds(_root).yMin, true)) {
_y = (_y + myBounce);
speed = 0;
}
if (_root.gun.hitTest(getBounds(_root).xMax, _y, true)) {
_x = (_x - myBounce);
speed = 0;
}
if (_root.gun.hitTest(getBounds(_root).xMin, _y, true)) {
_x = (_x + myBounce);
speed = 0;
}
if (_root.gun.hitTest(_x, getBounds(_root).yMax, true)) {
_y = (_y - myBounce);
speed = 0;
}
if (_root.gun.hitTest(_x, getBounds(_root).yMin, true)) {
_y = (_y + myBounce);
speed = 0;
}
if (_root.traps.trap1.hitTest(getBounds(_root).xMax, _y, true)) {
_rotation = (_rotation - (40 + speed));
speed = speed + 5;
this.play();
}
if (_root.traps.trap1.hitTest(getBounds(_root).xMin, _y, true)) {
_rotation = (_rotation - (40 + speed));
speed = speed + 5;
this.play();
}
if (_root.traps.trap1.hitTest(_x, getBounds(_root).yMax, true)) {
_rotation = (_rotation - (40 + speed));
speed = speed + 5;
this.play();
}
if (_root.traps.trap1.hitTest(_x, getBounds(_root).yMin, true)) {
_rotation = (_rotation - (40 + speed));
speed = speed + 5;
this.play();
}
if (this.hitTest(_root.orb2.zap)) {
this.play();
}
}
Instance of Symbol 236 MovieClip "tread" in Frame 3
onClipEvent (load) {
_alpha = 100;
_rotation = _parent.car._rotation;
_x = _parent.car._x;
_y = _parent.car._y;
}
onClipEvent (enterFrame) {
timer++;
if (timer > 250) {
_alpha = (_alpha - 2);
}
if (timer > 250) {
_visible = false;
removeMovieClip(this);
}
}
Instance of Symbol 250 MovieClip "orb" in Frame 3
onClipEvent (enterFrame) {
myBounce = 5;
myRadians = Math.atan2(_root.car._y - this._y, _root.car._x - this._x);
myDegrees = Math.round((myRadians * 180) / Math.PI);
_root.yChange = Math.round(_root.car._y - this._y);
_root.xChange = Math.round(_root.car._x - this._x);
_root.yMove = Math.round(_root.yChange / 50);
_root.xMove = Math.round(_root.xChange / 50);
this._y = this._y + _root.yMove;
this._x = this._x + _root.xMove;
this._rotation = myDegrees + 90;
if (_root.cars.hitTest(getBounds(_root).xMax, _y, true)) {
_x = (_x - myBounce);
}
if (_root.cars.hitTest(getBounds(_root).xMin, _y, true)) {
_x = (_x + myBounce);
}
if (_root.cars.hitTest(_x, getBounds(_root).yMax, true)) {
_y = (_y - myBounce);
}
if (_root.cars.hitTest(_x, getBounds(_root).yMin, true)) {
_y = (_y + myBounce);
}
if (_root.orb.hitTest(_root.car)) {
this.play();
}
}
Instance of Symbol 265 MovieClip "orb2" in Frame 3
onClipEvent (enterFrame) {
myBounce = 5;
myRadians = Math.atan2(_root.car._y - this._y, _root.car._x - this._x);
myDegrees = Math.round((myRadians * 180) / Math.PI);
_root.yChange = Math.round(_root.car._y - this._y);
_root.xChange = Math.round(_root.car._x - this._x);
_root.yMove = Math.round(_root.yChange / 120);
_root.xMove = Math.round(_root.xChange / 120);
this._y = this._y + _root.yMove;
this._x = this._x + _root.xMove;
this._rotation = myDegrees + 90;
if (_root.cars.hitTest(getBounds(_root).xMax, _y, true)) {
_x = (_x - myBounce);
}
if (_root.cars.hitTest(getBounds(_root).xMin, _y, true)) {
_x = (_x + myBounce);
}
if (_root.cars.hitTest(_x, getBounds(_root).yMax, true)) {
_y = (_y - myBounce);
}
if (_root.cars.hitTest(_x, getBounds(_root).yMin, true)) {
_y = (_y + myBounce);
}
if (_root.orb2.hitTest(_root.car)) {
this.play();
}
}
Instance of Symbol 387 MovieClip in Frame 3
onClipEvent (enterFrame) {
this._yscale = _root.health1 * 2;
}
Instance of Symbol 403 MovieClip "gun1" in Frame 3
onClipEvent (enterFrame) {
myRadians = Math.atan2(_root.car._y - this._y, _root.car._x - this._x);
myDegrees = Math.round((myRadians * 180) / Math.PI);
_root.yChange = Math.round(_root.car._y - this._y);
_root.xChange = Math.round(_root.car._x - this._x);
_root.yMove = Math.round(_root.yChange / 20);
_root.xMove = Math.round(_root.xChange / 20);
this._rotation = myDegrees + 90;
}
Instance of Symbol 404 MovieClip "gun" in Frame 3
onClipEvent (enterFrame) {
myRadians = Math.atan2(_root.car._y - this._y, _root.car._x - this._x);
myDegrees = Math.round((myRadians * 180) / Math.PI);
_root.yChange = Math.round(_root.car._y - this._y);
_root.xChange = Math.round(_root.car._x - this._x);
_root.yMove = Math.round(_root.yChange / 20);
_root.xMove = Math.round(_root.xChange / 20);
this._rotation = myDegrees + 90;
}
Instance of Symbol 415 MovieClip "rocket1" in Frame 3
onClipEvent (load) {
_root.missileexploded1 = 1;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.car)) {
if (_root.missileexploded1 != 1) {
_root.car.play();
_root.rocket1.gotoAndStop("exploded");
_root.rocketjet1.stop();
}
}
if (_root.missileexploded1 != 1) {
myRadians = Math.atan2(_root.car._y - this._y, _root.car._x - this._x);
myDegrees = Math.round((myRadians * 180) / Math.PI);
_root.yChange = Math.round(_root.car._y - this._y);
_root.xChange = Math.round(_root.car._x - this._x);
_root.yMove = Math.round((_root.yChange / 20) * 2);
_root.xMove = Math.round((_root.xChange / 20) * 2);
this._y = this._y + _root.yMove;
this._x = this._x + _root.xMove;
this._rotation = myDegrees + 90;
} else {
_root.rocketjet1.stop();
if (_root.reloadmissile1 < 90) {
_root.reloadmissile1 = _root.reloadmissile1 + 1;
} else {
this._x = _root.gun1._x;
this._y = _root.gun1._y;
_root.missileexploded1 = 0;
_root.rocket1.gotoAndPlay(1);
}
}
}
Instance of Symbol 426 MovieClip "rocket" in Frame 3
onClipEvent (load) {
_root.missileexploded = 1;
}
onClipEvent (enterFrame) {
if (_root.cars.hitTest(getBounds(_root).xMax, _y, true)) {
_root.rocket.gotoAndStop("exploded");
_root.rocketjet.stop();
}
if (_root.cars.hitTest(getBounds(_root).xMin, _y, true)) {
_root.rocket.gotoAndStop("exploded");
_root.rocketjet.stop();
}
if (_root.cars.hitTest(_x, getBounds(_root).yMax, true)) {
_root.rocket.gotoAndStop("exploded");
_root.rocketjet.stop();
}
if (_root.cars.hitTest(_x, getBounds(_root).yMin, true)) {
_root.rocket.gotoAndStop("exploded");
_root.rocketjet.stop();
}
if (this.hitTest(_root.car)) {
if (_root.missileexploded != 1) {
_root.car.play();
_root.rocketjet.stop();
_root.rocket.gotoAndStop("exploded");
}
}
if (_root.missileexploded != 1) {
myRadians = Math.atan2(_root.car._y - this._y, _root.car._x - this._x);
myDegrees = Math.round((myRadians * 180) / Math.PI);
_root.yChange = Math.round(_root.car._y - this._y);
_root.xChange = Math.round(_root.car._x - this._x);
_root.yMove = Math.round((_root.yChange / 20) * 1.5);
_root.xMove = Math.round((_root.xChange / 20) * 1.5);
this._y = this._y + _root.yMove;
this._x = this._x + _root.xMove;
this._rotation = myDegrees + 90;
} else {
_root.rocketjet.stop();
if (_root.reloadmissile < 90) {
_root.reloadmissile = _root.reloadmissile + 1;
} else {
this._x = _root.gun._x;
this._y = _root.gun._y;
_root.missileexploded = 0;
_root.rocket.gotoAndPlay(1);
}
}
}
Instance of Symbol 429 MovieClip in Frame 3
on (rollOver) {
this._alpha = 40;
}
on (rollOut) {
this._alpha = 100;
}
on (release) {
getURL ("http://www.thorgaming.com/flasharcade/", "_blank");
}
Instance of Symbol 431 MovieClip in Frame 3
on (rollOver) {
this._alpha = 40;
}
on (rollOut) {
this._alpha = 100;
}
on (release) {
getURL ("http://www.thorgaming.com", "_blank");
}
Instance of Symbol 433 MovieClip in Frame 3
on (rollOver) {
this._alpha = 40;
}
on (rollOut) {
this._alpha = 100;
}
on (release) {
getURL ("http://www.thorgaming.com/scores/scores.php?filename=scores/easy.sco&scoresize=10&action=VIEW&viewtype=HTML", "_blank");
}
Frame 5
local_data = SharedObject.getLocal("user_data");
_root.gotoAndPlay(local_data.data.user_level);
_root.difficulty = 1;
_root.health1 = 50;
Frame 6
_root.mines.gotoAndPlay(random(25) + 1);
local_data = SharedObject.getLocal("user_data");
local_data.data.user_level = "level1";
local_data.data.user_difficulty = _root.difficulty;
local_data.flush();
_root.noson = 0;
_root.noslevel = 0;
_root.stop();
_root.sheildsleft = 1;
_root.ended = 0;
_root.levelcomplete = "incomplete";
_root.moneycollected = 0;
_root.enemy1.gotoAndStop(1);
_root.enemydead1 = 0;
_root.car._x = 598;
_root.car._y = 380;
_root.car._rotation = -5;
_root.health1 = 50;
_root.player1score = 0;
_root.reloadmissile = 0;
_root.money.gotoAndPlay(random(25) + 1);
stop();
Instance of Symbol 514 MovieClip in Frame 6
onClipEvent (enterFrame) {
myBounce = 1;
if (_root.car.hitTest(getBounds(_root).xMax, _y, true)) {
_x = (_x - (myBounce * _root.setspeed));
speed = 0;
}
if (_root.car.hitTest(getBounds(_root).xMin, _y, true)) {
_x = (_x + (myBounce * _root.setspeed));
speed = 0;
}
if (_root.car.hitTest(_x, getBounds(_root).yMax, true)) {
_y = (_y - (myBounce * _root.setspeed));
speed = 0;
}
if (_root.car.hitTest(_x, getBounds(_root).yMin, true)) {
_y = (_y + (myBounce * _root.setspeed));
speed = 0;
}
if (_root.carplayer2.hitTest(getBounds(_root).xMax, _y, true)) {
_x = (_x - (myBounce * _root.setspeed1));
speed = 0;
}
if (_root.carplayer2.hitTest(getBounds(_root).xMin, _y, true)) {
_x = (_x + (myBounce * _root.setspeed1));
speed = 0;
}
if (_root.carplayer2.hitTest(_x, getBounds(_root).yMax, true)) {
_y = (_y - (myBounce * _root.setspeed1));
speed = 0;
}
if (_root.carplayer2.hitTest(_x, getBounds(_root).yMin, true)) {
_y = (_y + (myBounce * _root.setspeed1));
speed = 0;
}
}
Instance of Symbol 514 MovieClip in Frame 6
onClipEvent (enterFrame) {
myBounce = 1;
if (_root.car.hitTest(getBounds(_root).xMax, _y, true)) {
_x = (_x - (myBounce * _root.setspeed));
speed = 0;
}
if (_root.car.hitTest(getBounds(_root).xMin, _y, true)) {
_x = (_x + (myBounce * _root.setspeed));
speed = 0;
}
if (_root.car.hitTest(_x, getBounds(_root).yMax, true)) {
_y = (_y - (myBounce * _root.setspeed));
speed = 0;
}
if (_root.car.hitTest(_x, getBounds(_root).yMin, true)) {
_y = (_y + (myBounce * _root.setspeed));
speed = 0;
}
if (_root.carplayer2.hitTest(getBounds(_root).xMax, _y, true)) {
_x = (_x - (myBounce * _root.setspeed1));
speed = 0;
}
if (_root.carplayer2.hitTest(getBounds(_root).xMin, _y, true)) {
_x = (_x + (myBounce * _root.setspeed1));
speed = 0;
}
if (_root.carplayer2.hitTest(_x, getBounds(_root).yMax, true)) {
_y = (_y - (myBounce * _root.setspeed1));
speed = 0;
}
if (_root.carplayer2.hitTest(_x, getBounds(_root).yMin, true)) {
_y = (_y + (myBounce * _root.setspeed1));
speed = 0;
}
}
Instance of Symbol 514 MovieClip in Frame 6
onClipEvent (enterFrame) {
myBounce = 1;
if (_root.car.hitTest(getBounds(_root).xMax, _y, true)) {
_x = (_x - (myBounce * _root.setspeed));
speed = 0;
}
if (_root.car.hitTest(getBounds(_root).xMin, _y, true)) {
_x = (_x + (myBounce * _root.setspeed));
speed = 0;
}
if (_root.car.hitTest(_x, getBounds(_root).yMax, true)) {
_y = (_y - (myBounce * _root.setspeed));
speed = 0;
}
if (_root.car.hitTest(_x, getBounds(_root).yMin, true)) {
_y = (_y + (myBounce * _root.setspeed));
speed = 0;
}
if (_root.carplayer2.hitTest(getBounds(_root).xMax, _y, true)) {
_x = (_x - (myBounce * _root.setspeed1));
speed = 0;
}
if (_root.carplayer2.hitTest(getBounds(_root).xMin, _y, true)) {
_x = (_x + (myBounce * _root.setspeed1));
speed = 0;
}
if (_root.carplayer2.hitTest(_x, getBounds(_root).yMax, true)) {
_y = (_y - (myBounce * _root.setspeed1));
speed = 0;
}
if (_root.carplayer2.hitTest(_x, getBounds(_root).yMin, true)) {
_y = (_y + (myBounce * _root.setspeed1));
speed = 0;
}
}
Instance of Symbol 514 MovieClip in Frame 6
onClipEvent (enterFrame) {
myBounce = 1;
if (_root.car.hitTest(getBounds(_root).xMax, _y, true)) {
_x = (_x - (myBounce * _root.setspeed));
speed = 0;
}
if (_root.car.hitTest(getBounds(_root).xMin, _y, true)) {
_x = (_x + (myBounce * _root.setspeed));
speed = 0;
}
if (_root.car.hitTest(_x, getBounds(_root).yMax, true)) {
_y = (_y - (myBounce * _root.setspeed));
speed = 0;
}
if (_root.car.hitTest(_x, getBounds(_root).yMin, true)) {
_y = (_y + (myBounce * _root.setspeed));
speed = 0;
}
if (_root.carplayer2.hitTest(getBounds(_root).xMax, _y, true)) {
_x = (_x - (myBounce * _root.setspeed1));
speed = 0;
}
if (_root.carplayer2.hitTest(getBounds(_root).xMin, _y, true)) {
_x = (_x + (myBounce * _root.setspeed1));
speed = 0;
}
if (_root.carplayer2.hitTest(_x, getBounds(_root).yMax, true)) {
_y = (_y - (myBounce * _root.setspeed1));
speed = 0;
}
if (_root.carplayer2.hitTest(_x, getBounds(_root).yMin, true)) {
_y = (_y + (myBounce * _root.setspeed1));
speed = 0;
}
}
Instance of Symbol 514 MovieClip in Frame 6
onClipEvent (enterFrame) {
myBounce = 1;
if (_root.car.hitTest(getBounds(_root).xMax, _y, true)) {
_x = (_x - (myBounce * _root.setspeed));
speed = 0;
}
if (_root.car.hitTest(getBounds(_root).xMin, _y, true)) {
_x = (_x + (myBounce * _root.setspeed));
speed = 0;
}
if (_root.car.hitTest(_x, getBounds(_root).yMax, true)) {
_y = (_y - (myBounce * _root.setspeed));
speed = 0;
}
if (_root.car.hitTest(_x, getBounds(_root).yMin, true)) {
_y = (_y + (myBounce * _root.setspeed));
speed = 0;
}
if (_root.carplayer2.hitTest(getBounds(_root).xMax, _y, true)) {
_x = (_x - (myBounce * _root.setspeed1));
speed = 0;
}
if (_root.carplayer2.hitTest(getBounds(_root).xMin, _y, true)) {
_x = (_x + (myBounce * _root.setspeed1));
speed = 0;
}
if (_root.carplayer2.hitTest(_x, getBounds(_root).yMax, true)) {
_y = (_y - (myBounce * _root.setspeed1));
speed = 0;
}
if (_root.carplayer2.hitTest(_x, getBounds(_root).yMin, true)) {
_y = (_y + (myBounce * _root.setspeed1));
speed = 0;
}
}
Instance of Symbol 514 MovieClip in Frame 6
onClipEvent (enterFrame) {
myBounce = 1;
if (_root.car.hitTest(getBounds(_root).xMax, _y, true)) {
_x = (_x - (myBounce * _root.setspeed));
speed = 0;
}
if (_root.car.hitTest(getBounds(_root).xMin, _y, true)) {
_x = (_x + (myBounce * _root.setspeed));
speed = 0;
}
if (_root.car.hitTest(_x, getBounds(_root).yMax, true)) {
_y = (_y - (myBounce * _root.setspeed));
speed = 0;
}
if (_root.car.hitTest(_x, getBounds(_root).yMin, true)) {
_y = (_y + (myBounce * _root.setspeed));
speed = 0;
}
if (_root.carplayer2.hitTest(getBounds(_root).xMax, _y, true)) {
_x = (_x - (myBounce * _root.setspeed1));
speed = 0;
}
if (_root.carplayer2.hitTest(getBounds(_root).xMin, _y, true)) {
_x = (_x + (myBounce * _root.setspeed1));
speed = 0;
}
if (_root.carplayer2.hitTest(_x, getBounds(_root).yMax, true)) {
_y = (_y - (myBounce * _root.setspeed1));
speed = 0;
}
if (_root.carplayer2.hitTest(_x, getBounds(_root).yMin, true)) {
_y = (_y + (myBounce * _root.setspeed1));
speed = 0;
}
}
Instance of Symbol 514 MovieClip in Frame 6
onClipEvent (enterFrame) {
myBounce = 1;
if (_root.car.hitTest(getBounds(_root).xMax, _y, true)) {
_x = (_x - (myBounce * _root.setspeed));
speed = 0;
}
if (_root.car.hitTest(getBounds(_root).xMin, _y, true)) {
_x = (_x + (myBounce * _root.setspeed));
speed = 0;
}
if (_root.car.hitTest(_x, getBounds(_root).yMax, true)) {
_y = (_y - (myBounce * _root.setspeed));
speed = 0;
}
if (_root.car.hitTest(_x, getBounds(_root).yMin, true)) {
_y = (_y + (myBounce * _root.setspeed));
speed = 0;
}
if (_root.carplayer2.hitTest(getBounds(_root).xMax, _y, true)) {
_x = (_x - (myBounce * _root.setspeed1));
speed = 0;
}
if (_root.carplayer2.hitTest(getBounds(_root).xMin, _y, true)) {
_x = (_x + (myBounce * _root.setspeed1));
speed = 0;
}
if (_root.carplayer2.hitTest(_x, getBounds(_root).yMax, true)) {
_y = (_y - (myBounce * _root.setspeed1));
speed = 0;
}
if (_root.carplayer2.hitTest(_x, getBounds(_root).yMin, true)) {
_y = (_y + (myBounce * _root.setspeed1));
speed = 0;
}
}
Instance of Symbol 514 MovieClip in Frame 6
onClipEvent (enterFrame) {
myBounce = 1;
if (_root.car.hitTest(getBounds(_root).xMax, _y, true)) {
_x = (_x - (myBounce * _root.setspeed));
speed = 0;
}
if (_root.car.hitTest(getBounds(_root).xMin, _y, true)) {
_x = (_x + (myBounce * _root.setspeed));
speed = 0;
}
if (_root.car.hitTest(_x, getBounds(_root).yMax, true)) {
_y = (_y - (myBounce * _root.setspeed));
speed = 0;
}
if (_root.car.hitTest(_x, getBounds(_root).yMin, true)) {
_y = (_y + (myBounce * _root.setspeed));
speed = 0;
}
if (_root.carplayer2.hitTest(getBounds(_root).xMax, _y, true)) {
_x = (_x - (myBounce * _root.setspeed1));
speed = 0;
}
if (_root.carplayer2.hitTest(getBounds(_root).xMin, _y, true)) {
_x = (_x + (myBounce * _root.setspeed1));
speed = 0;
}
if (_root.carplayer2.hitTest(_x, getBounds(_root).yMax, true)) {
_y = (_y - (myBounce * _root.setspeed1));
speed = 0;
}
if (_root.carplayer2.hitTest(_x, getBounds(_root).yMin, true)) {
_y = (_y + (myBounce * _root.setspeed1));
speed = 0;
}
}
Instance of Symbol 514 MovieClip in Frame 6
onClipEvent (enterFrame) {
myBounce = 1;
if (_root.car.hitTest(getBounds(_root).xMax, _y, true)) {
_x = (_x - (myBounce * _root.setspeed));
speed = 0;
}
if (_root.car.hitTest(getBounds(_root).xMin, _y, true)) {
_x = (_x + (myBounce * _root.setspeed));
speed = 0;
}
if (_root.car.hitTest(_x, getBounds(_root).yMax, true)) {
_y = (_y - (myBounce * _root.setspeed));
speed = 0;
}
if (_root.car.hitTest(_x, getBounds(_root).yMin, true)) {
_y = (_y + (myBounce * _root.setspeed));
speed = 0;
}
if (_root.carplayer2.hitTest(getBounds(_root).xMax, _y, true)) {
_x = (_x - (myBounce * _root.setspeed1));
speed = 0;
}
if (_root.carplayer2.hitTest(getBounds(_root).xMin, _y, true)) {
_x = (_x + (myBounce * _root.setspeed1));
speed = 0;
}
if (_root.carplayer2.hitTest(_x, getBounds(_root).yMax, true)) {
_y = (_y - (myBounce * _root.setspeed1));
speed = 0;
}
if (_root.carplayer2.hitTest(_x, getBounds(_root).yMin, true)) {
_y = (_y + (myBounce * _root.setspeed1));
speed = 0;
}
}
Instance of Symbol 514 MovieClip in Frame 6
onClipEvent (enterFrame) {
myBounce = 1;
if (_root.car.hitTest(getBounds(_root).xMax, _y, true)) {
_x = (_x - (myBounce * _root.setspeed));
speed = 0;
}
if (_root.car.hitTest(getBounds(_root).xMin, _y, true)) {
_x = (_x + (myBounce * _root.setspeed));
speed = 0;
}
if (_root.car.hitTest(_x, getBounds(_root).yMax, true)) {
_y = (_y - (myBounce * _root.setspeed));
speed = 0;
}
if (_root.car.hitTest(_x, getBounds(_root).yMin, true)) {
_y = (_y + (myBounce * _root.setspeed));
speed = 0;
}
if (_root.carplayer2.hitTest(getBounds(_root).xMax, _y, true)) {
_x = (_x - (myBounce * _root.setspeed1));
speed = 0;
}
if (_root.carplayer2.hitTest(getBounds(_root).xMin, _y, true)) {
_x = (_x + (myBounce * _root.setspeed1));
speed = 0;
}
if (_root.carplayer2.hitTest(_x, getBounds(_root).yMax, true)) {
_y = (_y - (myBounce * _root.setspeed1));
speed = 0;
}
if (_root.carplayer2.hitTest(_x, getBounds(_root).yMin, true)) {
_y = (_y + (myBounce * _root.setspeed1));
speed = 0;
}
}
Instance of Symbol 514 MovieClip in Frame 6
onClipEvent (enterFrame) {
myBounce = 1;
if (_root.car.hitTest(getBounds(_root).xMax, _y, true)) {
_x = (_x - (myBounce * _root.setspeed));
speed = 0;
}
if (_root.car.hitTest(getBounds(_root).xMin, _y, true)) {
_x = (_x + (myBounce * _root.setspeed));
speed = 0;
}
if (_root.car.hitTest(_x, getBounds(_root).yMax, true)) {
_y = (_y - (myBounce * _root.setspeed));
speed = 0;
}
if (_root.car.hitTest(_x, getBounds(_root).yMin, true)) {
_y = (_y + (myBounce * _root.setspeed));
speed = 0;
}
if (_root.carplayer2.hitTest(getBounds(_root).xMax, _y, true)) {
_x = (_x - (myBounce * _root.setspeed1));
speed = 0;
}
if (_root.carplayer2.hitTest(getBounds(_root).xMin, _y, true)) {
_x = (_x + (myBounce * _root.setspeed1));
speed = 0;
}
if (_root.carplayer2.hitTest(_x, getBounds(_root).yMax, true)) {
_y = (_y - (myBounce * _root.setspeed1));
speed = 0;
}
if (_root.carplayer2.hitTest(_x, getBounds(_root).yMin, true)) {
_y = (_y + (myBounce * _root.setspeed1));
speed = 0;
}
}
Instance of Symbol 514 MovieClip in Frame 6
onClipEvent (enterFrame) {
myBounce = 1;
if (_root.car.hitTest(getBounds(_root).xMax, _y, true)) {
_x = (_x - (myBounce * _root.setspeed));
speed = 0;
}
if (_root.car.hitTest(getBounds(_root).xMin, _y, true)) {
_x = (_x + (myBounce * _root.setspeed));
speed = 0;
}
if (_root.car.hitTest(_x, getBounds(_root).yMax, true)) {
_y = (_y - (myBounce * _root.setspeed));
speed = 0;
}
if (_root.car.hitTest(_x, getBounds(_root).yMin, true)) {
_y = (_y + (myBounce * _root.setspeed));
speed = 0;
}
if (_root.carplayer2.hitTest(getBounds(_root).xMax, _y, true)) {
_x = (_x - (myBounce * _root.setspeed1));
speed = 0;
}
if (_root.carplayer2.hitTest(getBounds(_root).xMin, _y, true)) {
_x = (_x + (myBounce * _root.setspeed1));
speed = 0;
}
if (_root.carplayer2.hitTest(_x, getBounds(_root).yMax, true)) {
_y = (_y - (myBounce * _root.setspeed1));
speed = 0;
}
if (_root.carplayer2.hitTest(_x, getBounds(_root).yMin, true)) {
_y = (_y + (myBounce * _root.setspeed1));
speed = 0;
}
}
Instance of Symbol 514 MovieClip in Frame 6
onClipEvent (enterFrame) {
myBounce = 1;
if (_root.car.hitTest(getBounds(_root).xMax, _y, true)) {
_x = (_x - (myBounce * _root.setspeed));
speed = 0;
}
if (_root.car.hitTest(getBounds(_root).xMin, _y, true)) {
_x = (_x + (myBounce * _root.setspeed));
speed = 0;
}
if (_root.car.hitTest(_x, getBounds(_root).yMax, true)) {
_y = (_y - (myBounce * _root.setspeed));
speed = 0;
}
if (_root.car.hitTest(_x, getBounds(_root).yMin, true)) {
_y = (_y + (myBounce * _root.setspeed));
speed = 0;
}
if (_root.carplayer2.hitTest(getBounds(_root).xMax, _y, true)) {
_x = (_x - (myBounce * _root.setspeed1));
speed = 0;
}
if (_root.carplayer2.hitTest(getBounds(_root).xMin, _y, true)) {
_x = (_x + (myBounce * _root.setspeed1));
speed = 0;
}
if (_root.carplayer2.hitTest(_x, getBounds(_root).yMax, true)) {
_y = (_y - (myBounce * _root.setspeed1));
speed = 0;
}
if (_root.carplayer2.hitTest(_x, getBounds(_root).yMin, true)) {
_y = (_y + (myBounce * _root.setspeed1));
speed = 0;
}
}
Instance of Symbol 514 MovieClip in Frame 6
onClipEvent (enterFrame) {
myBounce = 1;
if (_root.car.hitTest(getBounds(_root).xMax, _y, true)) {
_x = (_x - (myBounce * _root.setspeed));
speed = 0;
}
if (_root.car.hitTest(getBounds(_root).xMin, _y, true)) {
_x = (_x + (myBounce * _root.setspeed));
speed = 0;
}
if (_root.car.hitTest(_x, getBounds(_root).yMax, true)) {
_y = (_y - (myBounce * _root.setspeed));
speed = 0;
}
if (_root.car.hitTest(_x, getBounds(_root).yMin, true)) {
_y = (_y + (myBounce * _root.setspeed));
speed = 0;
}
if (_root.carplayer2.hitTest(getBounds(_root).xMax, _y, true)) {
_x = (_x - (myBounce * _root.setspeed1));
speed = 0;
}
if (_root.carplayer2.hitTest(getBounds(_root).xMin, _y, true)) {
_x = (_x + (myBounce * _root.setspeed1));
speed = 0;
}
if (_root.carplayer2.hitTest(_x, getBounds(_root).yMax, true)) {
_y = (_y - (myBounce * _root.setspeed1));
speed = 0;
}
if (_root.carplayer2.hitTest(_x, getBounds(_root).yMin, true)) {
_y = (_y + (myBounce * _root.setspeed1));
speed = 0;
}
}
Instance of Symbol 514 MovieClip in Frame 6
onClipEvent (enterFrame) {
myBounce = 1;
if (_root.car.hitTest(getBounds(_root).xMax, _y, true)) {
_x = (_x - (myBounce * _root.setspeed));
speed = 0;
}
if (_root.car.hitTest(getBounds(_root).xMin, _y, true)) {
_x = (_x + (myBounce * _root.setspeed));
speed = 0;
}
if (_root.car.hitTest(_x, getBounds(_root).yMax, true)) {
_y = (_y - (myBounce * _root.setspeed));
speed = 0;
}
if (_root.car.hitTest(_x, getBounds(_root).yMin, true)) {
_y = (_y + (myBounce * _root.setspeed));
speed = 0;
}
if (_root.carplayer2.hitTest(getBounds(_root).xMax, _y, true)) {
_x = (_x - (myBounce * _root.setspeed1));
speed = 0;
}
if (_root.carplayer2.hitTest(getBounds(_root).xMin, _y, true)) {
_x = (_x + (myBounce * _root.setspeed1));
speed = 0;
}
if (_root.carplayer2.hitTest(_x, getBounds(_root).yMax, true)) {
_y = (_y - (myBounce * _root.setspeed1));
speed = 0;
}
if (_root.carplayer2.hitTest(_x, getBounds(_root).yMin, true)) {
_y = (_y + (myBounce * _root.setspeed1));
speed = 0;
}
}
Instance of Symbol 514 MovieClip in Frame 6
onClipEvent (enterFrame) {
myBounce = 1;
if (_root.car.hitTest(getBounds(_root).xMax, _y, true)) {
_x = (_x - (myBounce * _root.setspeed));
speed = 0;
}
if (_root.car.hitTest(getBounds(_root).xMin, _y, true)) {
_x = (_x + (myBounce * _root.setspeed));
speed = 0;
}
if (_root.car.hitTest(_x, getBounds(_root).yMax, true)) {
_y = (_y - (myBounce * _root.setspeed));
speed = 0;
}
if (_root.car.hitTest(_x, getBounds(_root).yMin, true)) {
_y = (_y + (myBounce * _root.setspeed));
speed = 0;
}
if (_root.carplayer2.hitTest(getBounds(_root).xMax, _y, true)) {
_x = (_x - (myBounce * _root.setspeed1));
speed = 0;
}
if (_root.carplayer2.hitTest(getBounds(_root).xMin, _y, true)) {
_x = (_x + (myBounce * _root.setspeed1));
speed = 0;
}
if (_root.carplayer2.hitTest(_x, getBounds(_root).yMax, true)) {
_y = (_y - (myBounce * _root.setspeed1));
speed = 0;
}
if (_root.carplayer2.hitTest(_x, getBounds(_root).yMin, true)) {
_y = (_y + (myBounce * _root.setspeed1));
speed = 0;
}
}
Instance of Symbol 514 MovieClip in Frame 6
onClipEvent (enterFrame) {
myBounce = 1;
if (_root.car.hitTest(getBounds(_root).xMax, _y, true)) {
_x = (_x - (myBounce * _root.setspeed));
speed = 0;
}
if (_root.car.hitTest(getBounds(_root).xMin, _y, true)) {
_x = (_x + (myBounce * _root.setspeed));
speed = 0;
}
if (_root.car.hitTest(_x, getBounds(_root).yMax, true)) {
_y = (_y - (myBounce * _root.setspeed));
speed = 0;
}
if (_root.car.hitTest(_x, getBounds(_root).yMin, true)) {
_y = (_y + (myBounce * _root.setspeed));
speed = 0;
}
if (_root.carplayer2.hitTest(getBounds(_root).xMax, _y, true)) {
_x = (_x - (myBounce * _root.setspeed1));
speed = 0;
}
if (_root.carplayer2.hitTest(getBounds(_root).xMin, _y, true)) {
_x = (_x + (myBounce * _root.setspeed1));
speed = 0;
}
if (_root.carplayer2.hitTest(_x, getBounds(_root).yMax, true)) {
_y = (_y - (myBounce * _root.setspeed1));
speed = 0;
}
if (_root.carplayer2.hitTest(_x, getBounds(_root).yMin, true)) {
_y = (_y + (myBounce * _root.setspeed1));
speed = 0;
}
}
Instance of Symbol 514 MovieClip in Frame 6
onClipEvent (enterFrame) {
myBounce = 1;
if (_root.car.hitTest(getBounds(_root).xMax, _y, true)) {
_x = (_x - (myBounce * _root.setspeed));
speed = 0;
}
if (_root.car.hitTest(getBounds(_root).xMin, _y, true)) {
_x = (_x + (myBounce * _root.setspeed));
speed = 0;
}
if (_root.car.hitTest(_x, getBounds(_root).yMax, true)) {
_y = (_y - (myBounce * _root.setspeed));
speed = 0;
}
if (_root.car.hitTest(_x, getBounds(_root).yMin, true)) {
_y = (_y + (myBounce * _root.setspeed));
speed = 0;
}
if (_root.carplayer2.hitTest(getBounds(_root).xMax, _y, true)) {
_x = (_x - (myBounce * _root.setspeed1));
speed = 0;
}
if (_root.carplayer2.hitTest(getBounds(_root).xMin, _y, true)) {
_x = (_x + (myBounce * _root.setspeed1));
speed = 0;
}
if (_root.carplayer2.hitTest(_x, getBounds(_root).yMax, true)) {
_y = (_y - (myBounce * _root.setspeed1));
speed = 0;
}
if (_root.carplayer2.hitTest(_x, getBounds(_root).yMin, true)) {
_y = (_y + (myBounce * _root.setspeed1));
speed = 0;
}
}
Instance of Symbol 514 MovieClip in Frame 6
onClipEvent (enterFrame) {
myBounce = 1;
if (_root.car.hitTest(getBounds(_root).xMax, _y, true)) {
_x = (_x - (myBounce * _root.setspeed));
speed = 0;
}
if (_root.car.hitTest(getBounds(_root).xMin, _y, true)) {
_x = (_x + (myBounce * _root.setspeed));
speed = 0;
}
if (_root.car.hitTest(_x, getBounds(_root).yMax, true)) {
_y = (_y - (myBounce * _root.setspeed));
speed = 0;
}
if (_root.car.hitTest(_x, getBounds(_root).yMin, true)) {
_y = (_y + (myBounce * _root.setspeed));
speed = 0;
}
if (_root.carplayer2.hitTest(getBounds(_root).xMax, _y, true)) {
_x = (_x - (myBounce * _root.setspeed1));
speed = 0;
}
if (_root.carplayer2.hitTest(getBounds(_root).xMin, _y, true)) {
_x = (_x + (myBounce * _root.setspeed1));
speed = 0;
}
if (_root.carplayer2.hitTest(_x, getBounds(_root).yMax, true)) {
_y = (_y - (myBounce * _root.setspeed1));
speed = 0;
}
if (_root.carplayer2.hitTest(_x, getBounds(_root).yMin, true)) {
_y = (_y + (myBounce * _root.setspeed1));
speed = 0;
}
}
Instance of Symbol 514 MovieClip in Frame 6
onClipEvent (enterFrame) {
myBounce = 1;
if (_root.car.hitTest(getBounds(_root).xMax, _y, true)) {
_x = (_x - (myBounce * _root.setspeed));
speed = 0;
}
if (_root.car.hitTest(getBounds(_root).xMin, _y, true)) {
_x = (_x + (myBounce * _root.setspeed));
speed = 0;
}
if (_root.car.hitTest(_x, getBounds(_root).yMax, true)) {
_y = (_y - (myBounce * _root.setspeed));
speed = 0;
}
if (_root.car.hitTest(_x, getBounds(_root).yMin, true)) {
_y = (_y + (myBounce * _root.setspeed));
speed = 0;
}
if (_root.carplayer2.hitTest(getBounds(_root).xMax, _y, true)) {
_x = (_x - (myBounce * _root.setspeed1));
speed = 0;
}
if (_root.carplayer2.hitTest(getBounds(_root).xMin, _y, true)) {
_x = (_x + (myBounce * _root.setspeed1));
speed = 0;
}
if (_root.carplayer2.hitTest(_x, getBounds(_root).yMax, true)) {
_y = (_y - (myBounce * _root.setspeed1));
speed = 0;
}
if (_root.carplayer2.hitTest(_x, getBounds(_root).yMin, true)) {
_y = (_y + (myBounce * _root.setspeed1));
speed = 0;
}
}
Instance of Symbol 514 MovieClip in Frame 6
onClipEvent (enterFrame) {
myBounce = 1;
if (_root.car.hitTest(getBounds(_root).xMax, _y, true)) {
_x = (_x - (myBounce * _root.setspeed));
speed = 0;
}
if (_root.car.hitTest(getBounds(_root).xMin, _y, true)) {
_x = (_x + (myBounce * _root.setspeed));
speed = 0;
}
if (_root.car.hitTest(_x, getBounds(_root).yMax, true)) {
_y = (_y - (myBounce * _root.setspeed));
speed = 0;
}
if (_root.car.hitTest(_x, getBounds(_root).yMin, true)) {
_y = (_y + (myBounce * _root.setspeed));
speed = 0;
}
if (_root.carplayer2.hitTest(getBounds(_root).xMax, _y, true)) {
_x = (_x - (myBounce * _root.setspeed1));
speed = 0;
}
if (_root.carplayer2.hitTest(getBounds(_root).xMin, _y, true)) {
_x = (_x + (myBounce * _root.setspeed1));
speed = 0;
}
if (_root.carplayer2.hitTest(_x, getBounds(_root).yMax, true)) {
_y = (_y - (myBounce * _root.setspeed1));
speed = 0;
}
if (_root.carplayer2.hitTest(_x, getBounds(_root).yMin, true)) {
_y = (_y + (myBounce * _root.setspeed1));
speed = 0;
}
}
Instance of Symbol 514 MovieClip in Frame 6
onClipEvent (enterFrame) {
myBounce = 1;
if (_root.car.hitTest(getBounds(_root).xMax, _y, true)) {
_x = (_x - (myBounce * _root.setspeed));
speed = 0;
}
if (_root.car.hitTest(getBounds(_root).xMin, _y, true)) {
_x = (_x + (myBounce * _root.setspeed));
speed = 0;
}
if (_root.car.hitTest(_x, getBounds(_root).yMax, true)) {
_y = (_y - (myBounce * _root.setspeed));
speed = 0;
}
if (_root.car.hitTest(_x, getBounds(_root).yMin, true)) {
_y = (_y + (myBounce * _root.setspeed));
speed = 0;
}
if (_root.carplayer2.hitTest(getBounds(_root).xMax, _y, true)) {
_x = (_x - (myBounce * _root.setspeed1));
speed = 0;
}
if (_root.carplayer2.hitTest(getBounds(_root).xMin, _y, true)) {
_x = (_x + (myBounce * _root.setspeed1));
speed = 0;
}
if (_root.carplayer2.hitTest(_x, getBounds(_root).yMax, true)) {
_y = (_y - (myBounce * _root.setspeed1));
speed = 0;
}
if (_root.carplayer2.hitTest(_x, getBounds(_root).yMin, true)) {
_y = (_y + (myBounce * _root.setspeed1));
speed = 0;
}
}
Instance of Symbol 514 MovieClip in Frame 6
onClipEvent (enterFrame) {
myBounce = 1;
if (_root.car.hitTest(getBounds(_root).xMax, _y, true)) {
_x = (_x - (myBounce * _root.setspeed));
speed = 0;
}
if (_root.car.hitTest(getBounds(_root).xMin, _y, true)) {
_x = (_x + (myBounce * _root.setspeed));
speed = 0;
}
if (_root.car.hitTest(_x, getBounds(_root).yMax, true)) {
_y = (_y - (myBounce * _root.setspeed));
speed = 0;
}
if (_root.car.hitTest(_x, getBounds(_root).yMin, true)) {
_y = (_y + (myBounce * _root.setspeed));
speed = 0;
}
if (_root.carplayer2.hitTest(getBounds(_root).xMax, _y, true)) {
_x = (_x - (myBounce * _root.setspeed1));
speed = 0;
}
if (_root.carplayer2.hitTest(getBounds(_root).xMin, _y, true)) {
_x = (_x + (myBounce * _root.setspeed1));
speed = 0;
}
if (_root.carplayer2.hitTest(_x, getBounds(_root).yMax, true)) {
_y = (_y - (myBounce * _root.setspeed1));
speed = 0;
}
if (_root.carplayer2.hitTest(_x, getBounds(_root).yMin, true)) {
_y = (_y + (myBounce * _root.setspeed1));
speed = 0;
}
}
Instance of Symbol 514 MovieClip in Frame 6
onClipEvent (enterFrame) {
myBounce = 1;
if (_root.car.hitTest(getBounds(_root).xMax, _y, true)) {
_x = (_x - (myBounce * _root.setspeed));
speed = 0;
}
if (_root.car.hitTest(getBounds(_root).xMin, _y, true)) {
_x = (_x + (myBounce * _root.setspeed));
speed = 0;
}
if (_root.car.hitTest(_x, getBounds(_root).yMax, true)) {
_y = (_y - (myBounce * _root.setspeed));
speed = 0;
}
if (_root.car.hitTest(_x, getBounds(_root).yMin, true)) {
_y = (_y + (myBounce * _root.setspeed));
speed = 0;
}
if (_root.carplayer2.hitTest(getBounds(_root).xMax, _y, true)) {
_x = (_x - (myBounce * _root.setspeed1));
speed = 0;
}
if (_root.carplayer2.hitTest(getBounds(_root).xMin, _y, true)) {
_x = (_x + (myBounce * _root.setspeed1));
speed = 0;
}
if (_root.carplayer2.hitTest(_x, getBounds(_root).yMax, true)) {
_y = (_y - (myBounce * _root.setspeed1));
speed = 0;
}
if (_root.carplayer2.hitTest(_x, getBounds(_root).yMin, true)) {
_y = (_y + (myBounce * _root.setspeed1));
speed = 0;
}
}
Instance of Symbol 514 MovieClip in Frame 6
onClipEvent (enterFrame) {
myBounce = 1;
if (_root.car.hitTest(getBounds(_root).xMax, _y, true)) {
_x = (_x - (myBounce * _root.setspeed));
speed = 0;
}
if (_root.car.hitTest(getBounds(_root).xMin, _y, true)) {
_x = (_x + (myBounce * _root.setspeed));
speed = 0;
}
if (_root.car.hitTest(_x, getBounds(_root).yMax, true)) {
_y = (_y - (myBounce * _root.setspeed));
speed = 0;
}
if (_root.car.hitTest(_x, getBounds(_root).yMin, true)) {
_y = (_y + (myBounce * _root.setspeed));
speed = 0;
}
if (_root.carplayer2.hitTest(getBounds(_root).xMax, _y, true)) {
_x = (_x - (myBounce * _root.setspeed1));
speed = 0;
}
if (_root.carplayer2.hitTest(getBounds(_root).xMin, _y, true)) {
_x = (_x + (myBounce * _root.setspeed1));
speed = 0;
}
if (_root.carplayer2.hitTest(_x, getBounds(_root).yMax, true)) {
_y = (_y - (myBounce * _root.setspeed1));
speed = 0;
}
if (_root.carplayer2.hitTest(_x, getBounds(_root).yMin, true)) {
_y = (_y + (myBounce * _root.setspeed1));
speed = 0;
}
}
Instance of Symbol 514 MovieClip in Frame 6
onClipEvent (enterFrame) {
myBounce = 1;
if (_root.car.hitTest(getBounds(_root).xMax, _y, true)) {
_x = (_x - (myBounce * _root.setspeed));
speed = 0;
}
if (_root.car.hitTest(getBounds(_root).xMin, _y, true)) {
_x = (_x + (myBounce * _root.setspeed));
speed = 0;
}
if (_root.car.hitTest(_x, getBounds(_root).yMax, true)) {
_y = (_y - (myBounce * _root.setspeed));
speed = 0;
}
if (_root.car.hitTest(_x, getBounds(_root).yMin, true)) {
_y = (_y + (myBounce * _root.setspeed));
speed = 0;
}
if (_root.carplayer2.hitTest(getBounds(_root).xMax, _y, true)) {
_x = (_x - (myBounce * _root.setspeed1));
speed = 0;
}
if (_root.carplayer2.hitTest(getBounds(_root).xMin, _y, true)) {
_x = (_x + (myBounce * _root.setspeed1));
speed = 0;
}
if (_root.carplayer2.hitTest(_x, getBounds(_root).yMax, true)) {
_y = (_y - (myBounce * _root.setspeed1));
speed = 0;
}
if (_root.carplayer2.hitTest(_x, getBounds(_root).yMin, true)) {
_y = (_y + (myBounce * _root.setspeed1));
speed = 0;
}
}
Instance of Symbol 514 MovieClip in Frame 6
onClipEvent (enterFrame) {
myBounce = 1;
if (_root.car.hitTest(getBounds(_root).xMax, _y, true)) {
_x = (_x - (myBounce * _root.setspeed));
speed = 0;
}
if (_root.car.hitTest(getBounds(_root).xMin, _y, true)) {
_x = (_x + (myBounce * _root.setspeed));
speed = 0;
}
if (_root.car.hitTest(_x, getBounds(_root).yMax, true)) {
_y = (_y - (myBounce * _root.setspeed));
speed = 0;
}
if (_root.car.hitTest(_x, getBounds(_root).yMin, true)) {
_y = (_y + (myBounce * _root.setspeed));
speed = 0;
}
if (_root.carplayer2.hitTest(getBounds(_root).xMax, _y, true)) {
_x = (_x - (myBounce * _root.setspeed1));
speed = 0;
}
if (_root.carplayer2.hitTest(getBounds(_root).xMin, _y, true)) {
_x = (_x + (myBounce * _root.setspeed1));
speed = 0;
}
if (_root.carplayer2.hitTest(_x, getBounds(_root).yMax, true)) {
_y = (_y - (myBounce * _root.setspeed1));
speed = 0;
}
if (_root.carplayer2.hitTest(_x, getBounds(_root).yMin, true)) {
_y = (_y + (myBounce * _root.setspeed1));
speed = 0;
}
}
Instance of Symbol 514 MovieClip in Frame 6
onClipEvent (enterFrame) {
myBounce = 1;
if (_root.car.hitTest(getBounds(_root).xMax, _y, true)) {
_x = (_x - (myBounce * _root.setspeed));
speed = 0;
}
if (_root.car.hitTest(getBounds(_root).xMin, _y, true)) {
_x = (_x + (myBounce * _root.setspeed));
speed = 0;
}
if (_root.car.hitTest(_x, getBounds(_root).yMax, true)) {
_y = (_y - (myBounce * _root.setspeed));
speed = 0;
}
if (_root.car.hitTest(_x, getBounds(_root).yMin, true)) {
_y = (_y + (myBounce * _root.setspeed));
speed = 0;
}
if (_root.carplayer2.hitTest(getBounds(_root).xMax, _y, true)) {
_x = (_x - (myBounce * _root.setspeed1));
speed = 0;
}
if (_root.carplayer2.hitTest(getBounds(_root).xMin, _y, true)) {
_x = (_x + (myBounce * _root.setspeed1));
speed = 0;
}
if (_root.carplayer2.hitTest(_x, getBounds(_root).yMax, true)) {
_y = (_y - (myBounce * _root.setspeed1));
speed = 0;
}
if (_root.carplayer2.hitTest(_x, getBounds(_root).yMin, true)) {
_y = (_y + (myBounce * _root.setspeed1));
speed = 0;
}
}
Instance of Symbol 514 MovieClip in Frame 6
onClipEvent (enterFrame) {
myBounce = 1;
if (_root.car.hitTest(getBounds(_root).xMax, _y, true)) {
_x = (_x - (myBounce * _root.setspeed));
speed = 0;
}
if (_root.car.hitTest(getBounds(_root).xMin, _y, true)) {
_x = (_x + (myBounce * _root.setspeed));
speed = 0;
}
if (_root.car.hitTest(_x, getBounds(_root).yMax, true)) {
_y = (_y - (myBounce * _root.setspeed));
speed = 0;
}
if (_root.car.hitTest(_x, getBounds(_root).yMin, true)) {
_y = (_y + (myBounce * _root.setspeed));
speed = 0;
}
if (_root.carplayer2.hitTest(getBounds(_root).xMax, _y, true)) {
_x = (_x - (myBounce * _root.setspeed1));
speed = 0;
}
if (_root.carplayer2.hitTest(getBounds(_root).xMin, _y, true)) {
_x = (_x + (myBounce * _root.setspeed1));
speed = 0;
}
if (_root.carplayer2.hitTest(_x, getBounds(_root).yMax, true)) {
_y = (_y - (myBounce * _root.setspeed1));
speed = 0;
}
if (_root.carplayer2.hitTest(_x, getBounds(_root).yMin, true)) {
_y = (_y + (myBounce * _root.setspeed1));
speed = 0;
}
}
Instance of Symbol 514 MovieClip in Frame 6
onClipEvent (enterFrame) {
myBounce = 1;
if (_root.car.hitTest(getBounds(_root).xMax, _y, true)) {
_x = (_x - (myBounce * _root.setspeed));
speed = 0;
}
if (_root.car.hitTest(getBounds(_root).xMin, _y, true)) {
_x = (_x + (myBounce * _root.setspeed));
speed = 0;
}
if (_root.car.hitTest(_x, getBounds(_root).yMax, true)) {
_y = (_y - (myBounce * _root.setspeed));
speed = 0;
}
if (_root.car.hitTest(_x, getBounds(_root).yMin, true)) {
_y = (_y + (myBounce * _root.setspeed));
speed = 0;
}
if (_root.carplayer2.hitTest(getBounds(_root).xMax, _y, true)) {
_x = (_x - (myBounce * _root.setspeed1));
speed = 0;
}
if (_root.carplayer2.hitTest(getBounds(_root).xMin, _y, true)) {
_x = (_x + (myBounce * _root.setspeed1));
speed = 0;
}
if (_root.carplayer2.hitTest(_x, getBounds(_root).yMax, true)) {
_y = (_y - (myBounce * _root.setspeed1));
speed = 0;
}
if (_root.carplayer2.hitTest(_x, getBounds(_root).yMin, true)) {
_y = (_y + (myBounce * _root.setspeed1));
speed = 0;
}
}
Instance of Symbol 514 MovieClip in Frame 6
onClipEvent (enterFrame) {
myBounce = 1;
if (_root.car.hitTest(getBounds(_root).xMax, _y, true)) {
_x = (_x - (myBounce * _root.setspeed));
speed = 0;
}
if (_root.car.hitTest(getBounds(_root).xMin, _y, true)) {
_x = (_x + (myBounce * _root.setspeed));
speed = 0;
}
if (_root.car.hitTest(_x, getBounds(_root).yMax, true)) {
_y = (_y - (myBounce * _root.setspeed));
speed = 0;
}
if (_root.car.hitTest(_x, getBounds(_root).yMin, true)) {
_y = (_y + (myBounce * _root.setspeed));
speed = 0;
}
if (_root.carplayer2.hitTest(getBounds(_root).xMax, _y, true)) {
_x = (_x - (myBounce * _root.setspeed1));
speed = 0;
}
if (_root.carplayer2.hitTest(getBounds(_root).xMin, _y, true)) {
_x = (_x + (myBounce * _root.setspeed1));
speed = 0;
}
if (_root.carplayer2.hitTest(_x, getBounds(_root).yMax, true)) {
_y = (_y - (myBounce * _root.setspeed1));
speed = 0;
}
if (_root.carplayer2.hitTest(_x, getBounds(_root).yMin, true)) {
_y = (_y + (myBounce * _root.setspeed1));
speed = 0;
}
}
Instance of Symbol 514 MovieClip in Frame 6
onClipEvent (enterFrame) {
myBounce = 1;
if (_root.car.hitTest(getBounds(_root).xMax, _y, true)) {
_x = (_x - (myBounce * _root.setspeed));
speed = 0;
}
if (_root.car.hitTest(getBounds(_root).xMin, _y, true)) {
_x = (_x + (myBounce * _root.setspeed));
speed = 0;
}
if (_root.car.hitTest(_x, getBounds(_root).yMax, true)) {
_y = (_y - (myBounce * _root.setspeed));
speed = 0;
}
if (_root.car.hitTest(_x, getBounds(_root).yMin, true)) {
_y = (_y + (myBounce * _root.setspeed));
speed = 0;
}
if (_root.carplayer2.hitTest(getBounds(_root).xMax, _y, true)) {
_x = (_x - (myBounce * _root.setspeed1));
speed = 0;
}
if (_root.carplayer2.hitTest(getBounds(_root).xMin, _y, true)) {
_x = (_x + (myBounce * _root.setspeed1));
speed = 0;
}
if (_root.carplayer2.hitTest(_x, getBounds(_root).yMax, true)) {
_y = (_y - (myBounce * _root.setspeed1));
speed = 0;
}
if (_root.carplayer2.hitTest(_x, getBounds(_root).yMin, true)) {
_y = (_y + (myBounce * _root.setspeed1));
speed = 0;
}
}
Instance of Symbol 518 MovieClip in Frame 6
onClipEvent (enterFrame) {
if (this.hitTest(_root.car)) {
_root.ended = 1;
_root.car._y = -2000;
_root.car._x = 200;
_root.endlevel.play();
}
}
Instance of Symbol 542 MovieClip in Frame 6
onClipEvent (enterFrame) {
this._xscale = _root.noslevel;
}
Instance of Symbol 404 MovieClip "gun" in Frame 6
onClipEvent (enterFrame) {
myRadians = Math.atan2(_root.car._y - this._y, _root.car._x - this._x);
myDegrees = Math.round((myRadians * 180) / Math.PI);
_root.yChange = Math.round(_root.car._y - this._y);
_root.xChange = Math.round(_root.car._x - this._x);
_root.yMove = Math.round(_root.yChange / 20);
_root.xMove = Math.round(_root.xChange / 20);
this._rotation = myDegrees + 90;
}
Instance of Symbol 426 MovieClip "rocket" in Frame 6
onClipEvent (load) {
_root.missileexploded = 1;
}
onClipEvent (enterFrame) {
if (_root.cars.hitTest(getBounds(_root).xMax, _y, true)) {
_root.rocket.gotoAndStop("exploded");
rocketjet.stop();
}
if (_root.cars.hitTest(getBounds(_root).xMin, _y, true)) {
_root.rocket.gotoAndStop("exploded");
rocketjet.stop();
}
if (_root.cars.hitTest(_x, getBounds(_root).yMax, true)) {
_root.rocket.gotoAndStop("exploded");
rocketjet.stop();
}
if (_root.cars.hitTest(_x, getBounds(_root).yMin, true)) {
_root.rocket.gotoAndStop("exploded");
rocketjet.stop();
}
if (this.hitTest(_root.car)) {
if (_root.missileexploded != 1) {
_root.car.play();
rocketjet.stop();
_root.rocket.gotoAndStop("exploded");
}
}
if (_root.missileexploded != 1) {
myRadians = Math.atan2(_root.car._y - this._y, _root.car._x - this._x);
myDegrees = Math.round((myRadians * 180) / Math.PI);
_root.yChange = Math.round(_root.car._y - this._y);
_root.xChange = Math.round(_root.car._x - this._x);
_root.yMove = Math.round((_root.yChange / 20) * 1.5);
_root.xMove = Math.round((_root.xChange / 20) * 1.5);
this._y = this._y + _root.yMove;
this._x = this._x + _root.xMove;
this._rotation = myDegrees + 90;
} else {
rocketjet.stop();
if (_root.reloadmissile < 90) {
_root.reloadmissile = _root.reloadmissile + 1;
} else {
this._x = _root.gun._x;
this._y = _root.gun._y;
_root.missileexploded = 0;
_root.missilelaunch = new Sound(this);
_root.missilelaunch.attachSound("_root.missilelaunch");
_root.missilelaunch.start(0, 1);
_root.rocketjet = new Sound(this);
_root.rocketjet.attachSound("rocketjet");
_root.rocketjet.start(0, 10);
_root.rocket.gotoAndPlay(1);
}
}
}
Frame 7
local_data = SharedObject.getLocal("user_data");
local_data.data.user_level = _root._currentframe;
local_data.data.user_difficulty = _root.difficulty;
local_data.flush();
if (_root.health1 < 40) {
_root.health1 = _root.health1 + 5;
}
_root.ended = 0;
_root.levelcomplete = "incomplete";
_root.noson = 0;
_root.moneycollected = 0;
_root.enemydead1 = 0;
_root.enemy1.gotoAndStop(1);
_root.car._x = 598;
_root.car._y = 380;
_root.car._rotation = 0;
_root.reloadmissile = 0;
_root.mines.gotoAndPlay(random(25) + 1);
_root.money.gotoAndPlay(random(25) + 1);
stop();
Instance of Symbol 97 MovieClip "enemy1" in Frame 7
onClipEvent (enterFrame) {
if (this.hitTest(_root.car)) {
this.play();
}
if (_root.enemydead1 != 1) {
myRadians = Math.atan2(_root.car._y - this._y, _root.car._x - this._x);
myDegrees = Math.round((myRadians * 180) / Math.PI);
_root.yChange = Math.round(_root.car._y - this._y);
_root.xChange = Math.round(_root.car._x - this._x);
_root.yMove = Math.round(_root.yChange / 20);
_root.xMove = Math.round(_root.xChange / 20);
this._rotation = myDegrees + 90;
}
}
Instance of Symbol 141 MovieClip "rocket3" in Frame 7
onClipEvent (load) {
_root.missileexploded3 = 1;
}
onClipEvent (enterFrame) {
if (_root.enemydead1 != 1) {
if (_root.cars.hitTest(getBounds(_root).xMax, _y, true)) {
_root.rocket3.gotoAndStop("exploded");
rocketjet.stop();
}
if (_root.cars.hitTest(getBounds(_root).xMin, _y, true)) {
_root.rocket3.gotoAndStop("exploded");
rocketjet.stop();
}
if (_root.cars.hitTest(_x, getBounds(_root).yMax, true)) {
_root.rocket3.gotoAndStop("exploded");
rocketjet.stop();
}
if (_root.cars.hitTest(_x, getBounds(_root).yMin, true)) {
_root.rocket3.gotoAndStop("exploded");
rocketjet.stop();
}
if (this.hitTest(_root.car)) {
if (_root.missileexploded3 != 1) {
_root.car.play();
_root.rocket3.gotoAndStop("exploded");
rocketjet.stop();
}
}
if (_root.missileexploded3 != 1) {
myRadians = Math.atan2(_root.car._y - this._y, _root.car._x - this._x);
myDegrees = Math.round((myRadians * 180) / Math.PI);
_root.yChange = Math.round(_root.car._y - this._y);
_root.xChange = Math.round(_root.car._x - this._x);
_root.yMove = Math.round(_root.yChange / 15);
_root.xMove = Math.round(_root.xChange / 15);
this._y = this._y + _root.yMove;
this._x = this._x + _root.xMove;
this._rotation = myDegrees + 90;
} else {
rocketjet.stop();
if (_root.reloadmissile3 < 110) {
_root.reloadmissile3 = _root.reloadmissile3 + 1;
} else {
this._x = _root.enemy1._x;
this._y = _root.enemy1._y;
_root.missileexploded3 = 0;
_root.missilelaunch = new Sound(this);
_root.missilelaunch.attachSound("_root.missilelaunch");
missilelaunch.start(0, 1);
rocketjet = new Sound(this);
rocketjet.attachSound("rocketjet");
rocketjet.start(0, 10);
_root.rocket3.gotoAndPlay(1);
}
}
}
}
Instance of Symbol 426 MovieClip "rocket" in Frame 7
onClipEvent (load) {
_root.missileexploded = 1;
}
onClipEvent (enterFrame) {
if (_root.cars.hitTest(getBounds(_root).xMax, _y, true)) {
_root.rocket.gotoAndStop("exploded");
rocketjet.stop();
}
if (_root.cars.hitTest(getBounds(_root).xMin, _y, true)) {
_root.rocket.gotoAndStop("exploded");
rocketjet.stop();
}
if (_root.cars.hitTest(_x, getBounds(_root).yMax, true)) {
_root.rocket.gotoAndStop("exploded");
rocketjet.stop();
}
if (_root.cars.hitTest(_x, getBounds(_root).yMin, true)) {
_root.rocket.gotoAndStop("exploded");
rocketjet.stop();
}
if (this.hitTest(_root.car)) {
if (_root.missileexploded != 1) {
_root.car.play();
rocketjet.stop();
_root.rocket.gotoAndStop("exploded");
}
}
if (_root.missileexploded != 1) {
myRadians = Math.atan2(_root.car._y - this._y, _root.car._x - this._x);
myDegrees = Math.round((myRadians * 180) / Math.PI);
_root.yChange = Math.round(_root.car._y - this._y);
_root.xChange = Math.round(_root.car._x - this._x);
_root.yMove = Math.round((_root.yChange / 20) * 1.5);
_root.xMove = Math.round((_root.xChange / 20) * 1.5);
this._y = this._y + _root.yMove;
this._x = this._x + _root.xMove;
this._rotation = myDegrees + 90;
} else {
rocketjet.stop();
if (_root.reloadmissile < 90) {
_root.reloadmissile = _root.reloadmissile + 1;
} else {
this._x = _root.gun._x;
this._y = _root.gun._y;
_root.missileexploded = 0;
_root.missilelaunch = new Sound(this);
_root.missilelaunch.attachSound("_root.missilelaunch");
missilelaunch.start(0, 1);
rocketjet = new Sound(this);
rocketjet.attachSound("rocketjet");
rocketjet.start(0, 10);
_root.rocket.gotoAndPlay(1);
}
}
}
Frame 8
local_data = SharedObject.getLocal("user_data");
local_data.data.user_level = _root._currentframe;
local_data.data.user_difficulty = _root.difficulty;
local_data.flush();
if (_root.health1 < 40) {
_root.health1 = _root.health1 + 5;
}
_root.mines.gotoAndPlay(random(25) + 1);
_root.ended = 0;
_root.levelcomplete = "incomplete";
_root.noson = 0;
_root.moneycollected = 0;
_root.enemydead1 = 0;
_root.enemy1.gotoAndStop(1);
_root.car._x = 598;
_root.car._y = 380;
_root.car._rotation = 0;
_root.reloadmissile = 0;
_root.money.gotoAndPlay(random(25) + 1);
stop();
Instance of Symbol 173 MovieClip "traps" in Frame 8
onClipEvent (load) {
this.gotoAndPlay(random(3) + 1);
}
Frame 9
local_data = SharedObject.getLocal("user_data");
local_data.data.user_level = _root._currentframe;
local_data.data.user_difficulty = _root.difficulty;
local_data.flush();
if (_root.health1 < 40) {
_root.health1 = _root.health1 + 5;
}
_root.mines.gotoAndPlay(random(25) + 1);
_root.ended = 0;
_root.levelcomplete = "incomplete";
_root.noson = 0;
_root.moneycollected = 0;
_root.enemydead1 = 0;
_root.enemy1.gotoAndStop(1);
_root.car._x = 598;
_root.car._y = 380;
_root.car._rotation = 0;
_root.reloadmissile = 0;
_root.money.gotoAndPlay(random(25) + 1);
stop();
Instance of Symbol 97 MovieClip "enemy1" in Frame 9
onClipEvent (enterFrame) {
if (this.hitTest(_root.car)) {
this.play();
}
if (_root.enemydead1 != 1) {
myRadians = Math.atan2(_root.car._y - this._y, _root.car._x - this._x);
myDegrees = Math.round((myRadians * 180) / Math.PI);
_root.yChange = Math.round(_root.car._y - this._y);
_root.xChange = Math.round(_root.car._x - this._x);
_root.yMove = Math.round(_root.yChange / 20);
_root.xMove = Math.round(_root.xChange / 20);
this._rotation = myDegrees + 90;
}
}
Instance of Symbol 141 MovieClip "rocket3" in Frame 9
onClipEvent (load) {
_root.missileexploded3 = 1;
}
onClipEvent (enterFrame) {
if (_root.enemydead1 != 1) {
if (_root.cars.hitTest(getBounds(_root).xMax, _y, true)) {
_root.rocket3.gotoAndStop("exploded");
rocketjet.stop();
}
if (_root.cars.hitTest(getBounds(_root).xMin, _y, true)) {
_root.rocket3.gotoAndStop("exploded");
rocketjet.stop();
}
if (_root.cars.hitTest(_x, getBounds(_root).yMax, true)) {
_root.rocket3.gotoAndStop("exploded");
rocketjet.stop();
}
if (_root.cars.hitTest(_x, getBounds(_root).yMin, true)) {
_root.rocket3.gotoAndStop("exploded");
rocketjet.stop();
}
if (this.hitTest(_root.car)) {
if (_root.missileexploded3 != 1) {
_root.car.play();
_root.rocket3.gotoAndStop("exploded");
rocketjet.stop();
}
}
if (_root.missileexploded3 != 1) {
myRadians = Math.atan2(_root.car._y - this._y, _root.car._x - this._x);
myDegrees = Math.round((myRadians * 180) / Math.PI);
_root.yChange = Math.round(_root.car._y - this._y);
_root.xChange = Math.round(_root.car._x - this._x);
_root.yMove = Math.round(_root.yChange / 15);
_root.xMove = Math.round(_root.xChange / 15);
this._y = this._y + _root.yMove;
this._x = this._x + _root.xMove;
this._rotation = myDegrees + 90;
} else {
rocketjet.stop();
if (_root.reloadmissile3 < 110) {
_root.reloadmissile3 = _root.reloadmissile3 + 1;
} else {
this._x = _root.enemy1._x;
this._y = _root.enemy1._y;
_root.missileexploded3 = 0;
_root.missilelaunch = new Sound(this);
_root.missilelaunch.attachSound("_root.missilelaunch");
missilelaunch.start(0, 1);
rocketjet = new Sound(this);
rocketjet.attachSound("rocketjet");
rocketjet.start(0, 10);
_root.rocket3.gotoAndPlay(1);
}
}
}
}
Frame 10
local_data = SharedObject.getLocal("user_data");
local_data.data.user_level = _root._currentframe;
local_data.data.user_difficulty = _root.difficulty;
local_data.flush();
if (_root.health1 < 40) {
_root.health1 = _root.health1 + 5;
}
_root.mines.gotoAndPlay(random(25) + 1);
_root.ended = 0;
_root.levelcomplete = "incomplete";
_root.noson = 0;
_root.moneycollected = 0;
_root.enemydead1 = 0;
_root.enemy1.gotoAndStop(1);
_root.car._x = 598;
_root.car._y = 380;
_root.car._rotation = 0;
_root.reloadmissile = 0;
_root.money.gotoAndPlay(random(25) + 1);
stop();
Instance of Symbol 403 MovieClip "gun1" in Frame 10
onClipEvent (enterFrame) {
myRadians = Math.atan2(_root.car._y - this._y, _root.car._x - this._x);
myDegrees = Math.round((myRadians * 180) / Math.PI);
_root.yChange = Math.round(_root.car._y - this._y);
_root.xChange = Math.round(_root.car._x - this._x);
_root.yMove = Math.round(_root.yChange / 20);
_root.xMove = Math.round(_root.xChange / 20);
this._rotation = myDegrees + 90;
}
Instance of Symbol 415 MovieClip "rocket1" in Frame 10
onClipEvent (load) {
_root.missileexploded1 = 1;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.car)) {
if (_root.missileexploded1 != 1) {
_root.car.play();
_root.rocket1.gotoAndStop("exploded");
rocketjet.stop();
}
}
if (_root.missileexploded1 != 1) {
myRadians = Math.atan2(_root.car._y - this._y, _root.car._x - this._x);
myDegrees = Math.round((myRadians * 180) / Math.PI);
_root.yChange = Math.round(_root.car._y - this._y);
_root.xChange = Math.round(_root.car._x - this._x);
_root.yMove = Math.round((_root.yChange / 20) * 1.5);
_root.xMove = Math.round((_root.xChange / 20) * 1.5);
this._y = this._y + _root.yMove;
this._x = this._x + _root.xMove;
this._rotation = myDegrees + 90;
} else {
rocketjet.stop();
if (_root.reloadmissile1 < 90) {
_root.reloadmissile1 = _root.reloadmissile1 + 1;
} else {
this._x = _root.gun1._x;
this._y = _root.gun1._y;
_root.missileexploded1 = 0;
_root.missilelaunch = new Sound(this);
_root.missilelaunch.attachSound("_root.missilelaunch");
missilelaunch.start(0, 1);
rocketjet = new Sound(this);
rocketjet.attachSound("rocketjet");
rocketjet.start(0, 10);
_root.rocket1.gotoAndPlay(1);
}
}
}
Frame 11
stop();
Frame 12
local_data = SharedObject.getLocal("user_data");
local_data.data.user_level = _root._currentframe;
local_data.data.user_difficulty = _root.difficulty;
local_data.flush();
_root.ended = 0;
_root.levelcomplete = "incomplete";
_root.noson = 0;
_root.moneycollected = 0;
_root.enemydead1 = 0;
_root.enemy1.gotoAndStop(1);
_root.mines.gotoAndPlay(random(25) + 1);
_root.car._x = 598;
_root.car._y = 380;
_root.car._rotation = 0;
_root.reloadmissile = 0;
_root.money.gotoAndPlay(random(25) + 1);
stop();
Instance of Symbol 203 MovieClip "car" in Frame 12
onClipEvent (load) {
_root.sheildon = 0;
}
onClipEvent (enterFrame) {
trace(Key.getCode());
if (_root.health1 <= 0) {
this.gotoAndPlay("dead");
}
if (_root.moneycollected == 10) {
_root.levelcomplete = "complete";
}
if (speed >= 0) {
_root.setspeed = speed;
} else {
_root.setspeed = speed * -1;
}
if (Key.isDown(38)) {
if (speed == 0) {
_root.enginesound.gotoAndStop("idle");
}
if (Key.isDown(32)) {
skidsound = new Sound(this);
skidsound.attachSound("skidsound");
skidsound.start(0, 1);
}
if (Key.isDown(65)) {
if (_root.noslevel > 0) {
speed = speed + 2;
_root.noslevel = _root.noslevel - 1;
} else {
speed = speed + 1;
}
} else {
speed = speed + 1;
}
_root.enginesound.gotoAndStop("up");
} else if (Key.isDown(40)) {
speed = speed - 1;
if (speed < -5) {
_root.enginesound.gotoAndStop("up");
}
} else {
_root.enginesound.gotoAndStop("down");
speed = speed * 1;
}
if (Math.abs(speed) > 100) {
speed = speed * 0.6;
}
if (Key.isDown(37)) {
if (Key.isDown(32)) {
if (speed >= 0) {
speed = speed - 0.1;
treadcount++;
duplicateMovieClip (_root.tread, "tread" + treadcount, (treadcount % 100) + 1000);
if (_rotation < -90) {
_rotation = (_rotation - (_root.setspeed * 1.4));
_x = (_x - (_root.setspeed / 1.7));
if (speed > 5) {
speed = speed - 1;
}
}
if (_rotation >= 90) {
_rotation = (_rotation - (_root.setspeed * 1.4));
_y = (_y + (_root.setspeed / 1.7));
if (speed > 5) {
speed = speed - 1;
}
}
if ((_rotation > 0) && (_rotation < 90)) {
_rotation = (_rotation - (_root.setspeed * 1.4));
_x = (_x + (_root.setspeed / 1.7));
if (speed > 5) {
speed = speed - 1;
}
}
if ((_rotation < 0) && (_rotation > -90)) {
_rotation = (_rotation - (_root.setspeed * 1.4));
_y = (_y - (_root.setspeed / 1.7));
if (speed > 5) {
speed = speed - 1;
}
}
}
} else {
_rotation = (_rotation - speed);
}
}
if (Key.isDown(83)) {
if (_root.sheildsleft > 0) {
if (_root.sheildon == 0) {
_root.car.gotoAndPlay("sheild");
_root.sheildsleft = _root.sheildsleft - 1;
}
}
}
if (Key.isDown(39)) {
if (Key.isDown(32)) {
if (speed >= 0) {
speed = speed - 0.1;
treadcount++;
duplicateMovieClip (_root.tread, "tread" + treadcount, (treadcount % 100) + 1000);
if (_rotation < -90) {
_rotation = (_rotation + (_root.setspeed * 1.4));
_y = (_y + (_root.setspeed / 1.7));
if (speed > 5) {
speed = speed - 1;
}
}
if (_rotation >= 90) {
_rotation = (_rotation + (_root.setspeed * 1.4));
_x = (_x + (_root.setspeed / 1.7));
if (speed > 5) {
speed = speed - 1;
}
}
if ((_rotation > 0) && (_rotation < 90)) {
_rotation = (_rotation + (_root.setspeed * 1.4));
_y = (_y - (_root.setspeed / 1.7));
if (speed > 5) {
speed = speed - 1;
}
}
if ((_rotation < 0) && (_rotation > -90)) {
_rotation = (_rotation + (_root.setspeed * 1.4));
_x = (_x - (_root.setspeed / 1.7));
if (speed > 5) {
speed = speed - 1;
}
}
}
} else {
_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.3;
}
myBounce = (_root.setspeed * 0.8) + 2;
if (_root.walls.hitTest(getBounds(_root).xMax, _y, true)) {
_x = (_x - myBounce);
speed = 0;
}
if (_root.walls.hitTest(getBounds(_root).xMin, _y, true)) {
_x = (_x + myBounce);
speed = 0;
}
if (_root.walls.hitTest(_x, getBounds(_root).yMax, true)) {
_y = (_y - myBounce);
speed = 0;
}
if (_root.walls.hitTest(_x, getBounds(_root).yMin, true)) {
_y = (_y + myBounce);
speed = 0;
}
if (_root.carplayer2.hitTest(getBounds(_root).xMax, _y, true)) {
_x = (_x - myBounce);
speed = 0;
}
if (_root.carplayer2.hitTest(getBounds(_root).xMin, _y, true)) {
_x = (_x + myBounce);
speed = 0;
}
if (_root.carplayer2.hitTest(_x, getBounds(_root).yMax, true)) {
_y = (_y - myBounce);
speed = 0;
}
if (_root.carplayer2.hitTest(_x, getBounds(_root).yMin, true)) {
_y = (_y + myBounce);
speed = 0;
}
if (_root.cars.hitTest(getBounds(_root).xMax, _y, true)) {
_x = (_x - myBounce);
speed = 0;
}
if (_root.cars.hitTest(getBounds(_root).xMin, _y, true)) {
_x = (_x + myBounce);
speed = 0;
}
if (_root.cars.hitTest(_x, getBounds(_root).yMax, true)) {
_y = (_y - myBounce);
speed = 0;
}
if (_root.cars.hitTest(_x, getBounds(_root).yMin, true)) {
_y = (_y + myBounce);
speed = 0;
}
if (_root.gun.hitTest(getBounds(_root).xMax, _y, true)) {
_x = (_x - myBounce);
speed = 0;
}
if (_root.gun.hitTest(getBounds(_root).xMin, _y, true)) {
_x = (_x + myBounce);
speed = 0;
}
if (_root.gun.hitTest(_x, getBounds(_root).yMax, true)) {
_y = (_y - myBounce);
speed = 0;
}
if (_root.gun.hitTest(_x, getBounds(_root).yMin, true)) {
_y = (_y + myBounce);
speed = 0;
}
if (_root.traps.trap1.hitTest(getBounds(_root).xMax, _y, true)) {
_rotation = (_rotation - (40 + speed));
speed = speed + 5;
this.play();
}
if (_root.traps.trap1.hitTest(getBounds(_root).xMin, _y, true)) {
_rotation = (_rotation - (40 + speed));
speed = speed + 5;
this.play();
}
if (_root.traps.trap1.hitTest(_x, getBounds(_root).yMax, true)) {
_rotation = (_rotation - (40 + speed));
speed = speed + 5;
this.play();
}
if (_root.traps.trap1.hitTest(_x, getBounds(_root).yMin, true)) {
_rotation = (_rotation - (40 + speed));
speed = speed + 5;
this.play();
}
if (this.hitTest(_root.orb2.zap)) {
this.play();
}
}
Instance of Symbol 514 MovieClip in Frame 12
onClipEvent (enterFrame) {
myBounce = 1;
if (_root.car.hitTest(getBounds(_root).xMax, _y, true)) {
_x = (_x - (myBounce * _root.setspeed));
speed = 0;
}
if (_root.car.hitTest(getBounds(_root).xMin, _y, true)) {
_x = (_x + (myBounce * _root.setspeed));
speed = 0;
}
if (_root.car.hitTest(_x, getBounds(_root).yMax, true)) {
_y = (_y - (myBounce * _root.setspeed));
speed = 0;
}
if (_root.car.hitTest(_x, getBounds(_root).yMin, true)) {
_y = (_y + (myBounce * _root.setspeed));
speed = 0;
}
if (_root.carplayer2.hitTest(getBounds(_root).xMax, _y, true)) {
_x = (_x - (myBounce * _root.setspeed1));
speed = 0;
}
if (_root.carplayer2.hitTest(getBounds(_root).xMin, _y, true)) {
_x = (_x + (myBounce * _root.setspeed1));
speed = 0;
}
if (_root.carplayer2.hitTest(_x, getBounds(_root).yMax, true)) {
_y = (_y - (myBounce * _root.setspeed1));
speed = 0;
}
if (_root.carplayer2.hitTest(_x, getBounds(_root).yMin, true)) {
_y = (_y + (myBounce * _root.setspeed1));
speed = 0;
}
}
Instance of Symbol 514 MovieClip in Frame 12
onClipEvent (enterFrame) {
myBounce = 1;
if (_root.car.hitTest(getBounds(_root).xMax, _y, true)) {
_x = (_x - (myBounce * _root.setspeed));
speed = 0;
}
if (_root.car.hitTest(getBounds(_root).xMin, _y, true)) {
_x = (_x + (myBounce * _root.setspeed));
speed = 0;
}
if (_root.car.hitTest(_x, getBounds(_root).yMax, true)) {
_y = (_y - (myBounce * _root.setspeed));
speed = 0;
}
if (_root.car.hitTest(_x, getBounds(_root).yMin, true)) {
_y = (_y + (myBounce * _root.setspeed));
speed = 0;
}
if (_root.carplayer2.hitTest(getBounds(_root).xMax, _y, true)) {
_x = (_x - (myBounce * _root.setspeed1));
speed = 0;
}
if (_root.carplayer2.hitTest(getBounds(_root).xMin, _y, true)) {
_x = (_x + (myBounce * _root.setspeed1));
speed = 0;
}
if (_root.carplayer2.hitTest(_x, getBounds(_root).yMax, true)) {
_y = (_y - (myBounce * _root.setspeed1));
speed = 0;
}
if (_root.carplayer2.hitTest(_x, getBounds(_root).yMin, true)) {
_y = (_y + (myBounce * _root.setspeed1));
speed = 0;
}
}
Instance of Symbol 514 MovieClip in Frame 12
onClipEvent (enterFrame) {
myBounce = 1;
if (_root.car.hitTest(getBounds(_root).xMax, _y, true)) {
_x = (_x - (myBounce * _root.setspeed));
speed = 0;
}
if (_root.car.hitTest(getBounds(_root).xMin, _y, true)) {
_x = (_x + (myBounce * _root.setspeed));
speed = 0;
}
if (_root.car.hitTest(_x, getBounds(_root).yMax, true)) {
_y = (_y - (myBounce * _root.setspeed));
speed = 0;
}
if (_root.car.hitTest(_x, getBounds(_root).yMin, true)) {
_y = (_y + (myBounce * _root.setspeed));
speed = 0;
}
if (_root.carplayer2.hitTest(getBounds(_root).xMax, _y, true)) {
_x = (_x - (myBounce * _root.setspeed1));
speed = 0;
}
if (_root.carplayer2.hitTest(getBounds(_root).xMin, _y, true)) {
_x = (_x + (myBounce * _root.setspeed1));
speed = 0;
}
if (_root.carplayer2.hitTest(_x, getBounds(_root).yMax, true)) {
_y = (_y - (myBounce * _root.setspeed1));
speed = 0;
}
if (_root.carplayer2.hitTest(_x, getBounds(_root).yMin, true)) {
_y = (_y + (myBounce * _root.setspeed1));
speed = 0;
}
}
Instance of Symbol 514 MovieClip in Frame 12
onClipEvent (enterFrame) {
myBounce = 1;
if (_root.car.hitTest(getBounds(_root).xMax, _y, true)) {
_x = (_x - (myBounce * _root.setspeed));
speed = 0;
}
if (_root.car.hitTest(getBounds(_root).xMin, _y, true)) {
_x = (_x + (myBounce * _root.setspeed));
speed = 0;
}
if (_root.car.hitTest(_x, getBounds(_root).yMax, true)) {
_y = (_y - (myBounce * _root.setspeed));
speed = 0;
}
if (_root.car.hitTest(_x, getBounds(_root).yMin, true)) {
_y = (_y + (myBounce * _root.setspeed));
speed = 0;
}
if (_root.carplayer2.hitTest(getBounds(_root).xMax, _y, true)) {
_x = (_x - (myBounce * _root.setspeed1));
speed = 0;
}
if (_root.carplayer2.hitTest(getBounds(_root).xMin, _y, true)) {
_x = (_x + (myBounce * _root.setspeed1));
speed = 0;
}
if (_root.carplayer2.hitTest(_x, getBounds(_root).yMax, true)) {
_y = (_y - (myBounce * _root.setspeed1));
speed = 0;
}
if (_root.carplayer2.hitTest(_x, getBounds(_root).yMin, true)) {
_y = (_y + (myBounce * _root.setspeed1));
speed = 0;
}
}
Instance of Symbol 514 MovieClip in Frame 12
onClipEvent (enterFrame) {
myBounce = 1;
if (_root.car.hitTest(getBounds(_root).xMax, _y, true)) {
_x = (_x - (myBounce * _root.setspeed));
speed = 0;
}
if (_root.car.hitTest(getBounds(_root).xMin, _y, true)) {
_x = (_x + (myBounce * _root.setspeed));
speed = 0;
}
if (_root.car.hitTest(_x, getBounds(_root).yMax, true)) {
_y = (_y - (myBounce * _root.setspeed));
speed = 0;
}
if (_root.car.hitTest(_x, getBounds(_root).yMin, true)) {
_y = (_y + (myBounce * _root.setspeed));
speed = 0;
}
if (_root.carplayer2.hitTest(getBounds(_root).xMax, _y, true)) {
_x = (_x - (myBounce * _root.setspeed1));
speed = 0;
}
if (_root.carplayer2.hitTest(getBounds(_root).xMin, _y, true)) {
_x = (_x + (myBounce * _root.setspeed1));
speed = 0;
}
if (_root.carplayer2.hitTest(_x, getBounds(_root).yMax, true)) {
_y = (_y - (myBounce * _root.setspeed1));
speed = 0;
}
if (_root.carplayer2.hitTest(_x, getBounds(_root).yMin, true)) {
_y = (_y + (myBounce * _root.setspeed1));
speed = 0;
}
}
Instance of Symbol 514 MovieClip in Frame 12
onClipEvent (enterFrame) {
myBounce = 1;
if (_root.car.hitTest(getBounds(_root).xMax, _y, true)) {
_x = (_x - (myBounce * _root.setspeed));
speed = 0;
}
if (_root.car.hitTest(getBounds(_root).xMin, _y, true)) {
_x = (_x + (myBounce * _root.setspeed));
speed = 0;
}
if (_root.car.hitTest(_x, getBounds(_root).yMax, true)) {
_y = (_y - (myBounce * _root.setspeed));
speed = 0;
}
if (_root.car.hitTest(_x, getBounds(_root).yMin, true)) {
_y = (_y + (myBounce * _root.setspeed));
speed = 0;
}
if (_root.carplayer2.hitTest(getBounds(_root).xMax, _y, true)) {
_x = (_x - (myBounce * _root.setspeed1));
speed = 0;
}
if (_root.carplayer2.hitTest(getBounds(_root).xMin, _y, true)) {
_x = (_x + (myBounce * _root.setspeed1));
speed = 0;
}
if (_root.carplayer2.hitTest(_x, getBounds(_root).yMax, true)) {
_y = (_y - (myBounce * _root.setspeed1));
speed = 0;
}
if (_root.carplayer2.hitTest(_x, getBounds(_root).yMin, true)) {
_y = (_y + (myBounce * _root.setspeed1));
speed = 0;
}
}
Instance of Symbol 514 MovieClip in Frame 12
onClipEvent (enterFrame) {
myBounce = 1;
if (_root.car.hitTest(getBounds(_root).xMax, _y, true)) {
_x = (_x - (myBounce * _root.setspeed));
speed = 0;
}
if (_root.car.hitTest(getBounds(_root).xMin, _y, true)) {
_x = (_x + (myBounce * _root.setspeed));
speed = 0;
}
if (_root.car.hitTest(_x, getBounds(_root).yMax, true)) {
_y = (_y - (myBounce * _root.setspeed));
speed = 0;
}
if (_root.car.hitTest(_x, getBounds(_root).yMin, true)) {
_y = (_y + (myBounce * _root.setspeed));
speed = 0;
}
if (_root.carplayer2.hitTest(getBounds(_root).xMax, _y, true)) {
_x = (_x - (myBounce * _root.setspeed1));
speed = 0;
}
if (_root.carplayer2.hitTest(getBounds(_root).xMin, _y, true)) {
_x = (_x + (myBounce * _root.setspeed1));
speed = 0;
}
if (_root.carplayer2.hitTest(_x, getBounds(_root).yMax, true)) {
_y = (_y - (myBounce * _root.setspeed1));
speed = 0;
}
if (_root.carplayer2.hitTest(_x, getBounds(_root).yMin, true)) {
_y = (_y + (myBounce * _root.setspeed1));
speed = 0;
}
}
Instance of Symbol 514 MovieClip in Frame 12
onClipEvent (enterFrame) {
myBounce = 1;
if (_root.car.hitTest(getBounds(_root).xMax, _y, true)) {
_x = (_x - (myBounce * _root.setspeed));
speed = 0;
}
if (_root.car.hitTest(getBounds(_root).xMin, _y, true)) {
_x = (_x + (myBounce * _root.setspeed));
speed = 0;
}
if (_root.car.hitTest(_x, getBounds(_root).yMax, true)) {
_y = (_y - (myBounce * _root.setspeed));
speed = 0;
}
if (_root.car.hitTest(_x, getBounds(_root).yMin, true)) {
_y = (_y + (myBounce * _root.setspeed));
speed = 0;
}
if (_root.carplayer2.hitTest(getBounds(_root).xMax, _y, true)) {
_x = (_x - (myBounce * _root.setspeed1));
speed = 0;
}
if (_root.carplayer2.hitTest(getBounds(_root).xMin, _y, true)) {
_x = (_x + (myBounce * _root.setspeed1));
speed = 0;
}
if (_root.carplayer2.hitTest(_x, getBounds(_root).yMax, true)) {
_y = (_y - (myBounce * _root.setspeed1));
speed = 0;
}
if (_root.carplayer2.hitTest(_x, getBounds(_root).yMin, true)) {
_y = (_y + (myBounce * _root.setspeed1));
speed = 0;
}
}
Instance of Symbol 514 MovieClip in Frame 12
onClipEvent (enterFrame) {
myBounce = 1;
if (_root.car.hitTest(getBounds(_root).xMax, _y, true)) {
_x = (_x - (myBounce * _root.setspeed));
speed = 0;
}
if (_root.car.hitTest(getBounds(_root).xMin, _y, true)) {
_x = (_x + (myBounce * _root.setspeed));
speed = 0;
}
if (_root.car.hitTest(_x, getBounds(_root).yMax, true)) {
_y = (_y - (myBounce * _root.setspeed));
speed = 0;
}
if (_root.car.hitTest(_x, getBounds(_root).yMin, true)) {
_y = (_y + (myBounce * _root.setspeed));
speed = 0;
}
if (_root.carplayer2.hitTest(getBounds(_root).xMax, _y, true)) {
_x = (_x - (myBounce * _root.setspeed1));
speed = 0;
}
if (_root.carplayer2.hitTest(getBounds(_root).xMin, _y, true)) {
_x = (_x + (myBounce * _root.setspeed1));
speed = 0;
}
if (_root.carplayer2.hitTest(_x, getBounds(_root).yMax, true)) {
_y = (_y - (myBounce * _root.setspeed1));
speed = 0;
}
if (_root.carplayer2.hitTest(_x, getBounds(_root).yMin, true)) {
_y = (_y + (myBounce * _root.setspeed1));
speed = 0;
}
}
Instance of Symbol 514 MovieClip in Frame 12
onClipEvent (enterFrame) {
myBounce = 1;
if (_root.car.hitTest(getBounds(_root).xMax, _y, true)) {
_x = (_x - (myBounce * _root.setspeed));
speed = 0;
}
if (_root.car.hitTest(getBounds(_root).xMin, _y, true)) {
_x = (_x + (myBounce * _root.setspeed));
speed = 0;
}
if (_root.car.hitTest(_x, getBounds(_root).yMax, true)) {
_y = (_y - (myBounce * _root.setspeed));
speed = 0;
}
if (_root.car.hitTest(_x, getBounds(_root).yMin, true)) {
_y = (_y + (myBounce * _root.setspeed));
speed = 0;
}
if (_root.carplayer2.hitTest(getBounds(_root).xMax, _y, true)) {
_x = (_x - (myBounce * _root.setspeed1));
speed = 0;
}
if (_root.carplayer2.hitTest(getBounds(_root).xMin, _y, true)) {
_x = (_x + (myBounce * _root.setspeed1));
speed = 0;
}
if (_root.carplayer2.hitTest(_x, getBounds(_root).yMax, true)) {
_y = (_y - (myBounce * _root.setspeed1));
speed = 0;
}
if (_root.carplayer2.hitTest(_x, getBounds(_root).yMin, true)) {
_y = (_y + (myBounce * _root.setspeed1));
speed = 0;
}
}
Instance of Symbol 514 MovieClip in Frame 12
onClipEvent (enterFrame) {
myBounce = 1;
if (_root.car.hitTest(getBounds(_root).xMax, _y, true)) {
_x = (_x - (myBounce * _root.setspeed));
speed = 0;
}
if (_root.car.hitTest(getBounds(_root).xMin, _y, true)) {
_x = (_x + (myBounce * _root.setspeed));
speed = 0;
}
if (_root.car.hitTest(_x, getBounds(_root).yMax, true)) {
_y = (_y - (myBounce * _root.setspeed));
speed = 0;
}
if (_root.car.hitTest(_x, getBounds(_root).yMin, true)) {
_y = (_y + (myBounce * _root.setspeed));
speed = 0;
}
if (_root.carplayer2.hitTest(getBounds(_root).xMax, _y, true)) {
_x = (_x - (myBounce * _root.setspeed1));
speed = 0;
}
if (_root.carplayer2.hitTest(getBounds(_root).xMin, _y, true)) {
_x = (_x + (myBounce * _root.setspeed1));
speed = 0;
}
if (_root.carplayer2.hitTest(_x, getBounds(_root).yMax, true)) {
_y = (_y - (myBounce * _root.setspeed1));
speed = 0;
}
if (_root.carplayer2.hitTest(_x, getBounds(_root).yMin, true)) {
_y = (_y + (myBounce * _root.setspeed1));
speed = 0;
}
}
Instance of Symbol 514 MovieClip in Frame 12
onClipEvent (enterFrame) {
myBounce = 1;
if (_root.car.hitTest(getBounds(_root).xMax, _y, true)) {
_x = (_x - (myBounce * _root.setspeed));
speed = 0;
}
if (_root.car.hitTest(getBounds(_root).xMin, _y, true)) {
_x = (_x + (myBounce * _root.setspeed));
speed = 0;
}
if (_root.car.hitTest(_x, getBounds(_root).yMax, true)) {
_y = (_y - (myBounce * _root.setspeed));
speed = 0;
}
if (_root.car.hitTest(_x, getBounds(_root).yMin, true)) {
_y = (_y + (myBounce * _root.setspeed));
speed = 0;
}
if (_root.carplayer2.hitTest(getBounds(_root).xMax, _y, true)) {
_x = (_x - (myBounce * _root.setspeed1));
speed = 0;
}
if (_root.carplayer2.hitTest(getBounds(_root).xMin, _y, true)) {
_x = (_x + (myBounce * _root.setspeed1));
speed = 0;
}
if (_root.carplayer2.hitTest(_x, getBounds(_root).yMax, true)) {
_y = (_y - (myBounce * _root.setspeed1));
speed = 0;
}
if (_root.carplayer2.hitTest(_x, getBounds(_root).yMin, true)) {
_y = (_y + (myBounce * _root.setspeed1));
speed = 0;
}
}
Instance of Symbol 514 MovieClip in Frame 12
onClipEvent (enterFrame) {
myBounce = 1;
if (_root.car.hitTest(getBounds(_root).xMax, _y, true)) {
_x = (_x - (myBounce * _root.setspeed));
speed = 0;
}
if (_root.car.hitTest(getBounds(_root).xMin, _y, true)) {
_x = (_x + (myBounce * _root.setspeed));
speed = 0;
}
if (_root.car.hitTest(_x, getBounds(_root).yMax, true)) {
_y = (_y - (myBounce * _root.setspeed));
speed = 0;
}
if (_root.car.hitTest(_x, getBounds(_root).yMin, true)) {
_y = (_y + (myBounce * _root.setspeed));
speed = 0;
}
if (_root.carplayer2.hitTest(getBounds(_root).xMax, _y, true)) {
_x = (_x - (myBounce * _root.setspeed1));
speed = 0;
}
if (_root.carplayer2.hitTest(getBounds(_root).xMin, _y, true)) {
_x = (_x + (myBounce * _root.setspeed1));
speed = 0;
}
if (_root.carplayer2.hitTest(_x, getBounds(_root).yMax, true)) {
_y = (_y - (myBounce * _root.setspeed1));
speed = 0;
}
if (_root.carplayer2.hitTest(_x, getBounds(_root).yMin, true)) {
_y = (_y + (myBounce * _root.setspeed1));
speed = 0;
}
}
Instance of Symbol 514 MovieClip in Frame 12
onClipEvent (enterFrame) {
myBounce = 1;
if (_root.car.hitTest(getBounds(_root).xMax, _y, true)) {
_x = (_x - (myBounce * _root.setspeed));
speed = 0;
}
if (_root.car.hitTest(getBounds(_root).xMin, _y, true)) {
_x = (_x + (myBounce * _root.setspeed));
speed = 0;
}
if (_root.car.hitTest(_x, getBounds(_root).yMax, true)) {
_y = (_y - (myBounce * _root.setspeed));
speed = 0;
}
if (_root.car.hitTest(_x, getBounds(_root).yMin, true)) {
_y = (_y + (myBounce * _root.setspeed));
speed = 0;
}
if (_root.carplayer2.hitTest(getBounds(_root).xMax, _y, true)) {
_x = (_x - (myBounce * _root.setspeed1));
speed = 0;
}
if (_root.carplayer2.hitTest(getBounds(_root).xMin, _y, true)) {
_x = (_x + (myBounce * _root.setspeed1));
speed = 0;
}
if (_root.carplayer2.hitTest(_x, getBounds(_root).yMax, true)) {
_y = (_y - (myBounce * _root.setspeed1));
speed = 0;
}
if (_root.carplayer2.hitTest(_x, getBounds(_root).yMin, true)) {
_y = (_y + (myBounce * _root.setspeed1));
speed = 0;
}
}
Instance of Symbol 514 MovieClip in Frame 12
onClipEvent (enterFrame) {
myBounce = 1;
if (_root.car.hitTest(getBounds(_root).xMax, _y, true)) {
_x = (_x - (myBounce * _root.setspeed));
speed = 0;
}
if (_root.car.hitTest(getBounds(_root).xMin, _y, true)) {
_x = (_x + (myBounce * _root.setspeed));
speed = 0;
}
if (_root.car.hitTest(_x, getBounds(_root).yMax, true)) {
_y = (_y - (myBounce * _root.setspeed));
speed = 0;
}
if (_root.car.hitTest(_x, getBounds(_root).yMin, true)) {
_y = (_y + (myBounce * _root.setspeed));
speed = 0;
}
if (_root.carplayer2.hitTest(getBounds(_root).xMax, _y, true)) {
_x = (_x - (myBounce * _root.setspeed1));
speed = 0;
}
if (_root.carplayer2.hitTest(getBounds(_root).xMin, _y, true)) {
_x = (_x + (myBounce * _root.setspeed1));
speed = 0;
}
if (_root.carplayer2.hitTest(_x, getBounds(_root).yMax, true)) {
_y = (_y - (myBounce * _root.setspeed1));
speed = 0;
}
if (_root.carplayer2.hitTest(_x, getBounds(_root).yMin, true)) {
_y = (_y + (myBounce * _root.setspeed1));
speed = 0;
}
}
Instance of Symbol 514 MovieClip in Frame 12
onClipEvent (enterFrame) {
myBounce = 1;
if (_root.car.hitTest(getBounds(_root).xMax, _y, true)) {
_x = (_x - (myBounce * _root.setspeed));
speed = 0;
}
if (_root.car.hitTest(getBounds(_root).xMin, _y, true)) {
_x = (_x + (myBounce * _root.setspeed));
speed = 0;
}
if (_root.car.hitTest(_x, getBounds(_root).yMax, true)) {
_y = (_y - (myBounce * _root.setspeed));
speed = 0;
}
if (_root.car.hitTest(_x, getBounds(_root).yMin, true)) {
_y = (_y + (myBounce * _root.setspeed));
speed = 0;
}
if (_root.carplayer2.hitTest(getBounds(_root).xMax, _y, true)) {
_x = (_x - (myBounce * _root.setspeed1));
speed = 0;
}
if (_root.carplayer2.hitTest(getBounds(_root).xMin, _y, true)) {
_x = (_x + (myBounce * _root.setspeed1));
speed = 0;
}
if (_root.carplayer2.hitTest(_x, getBounds(_root).yMax, true)) {
_y = (_y - (myBounce * _root.setspeed1));
speed = 0;
}
if (_root.carplayer2.hitTest(_x, getBounds(_root).yMin, true)) {
_y = (_y + (myBounce * _root.setspeed1));
speed = 0;
}
}
Instance of Symbol 514 MovieClip in Frame 12
onClipEvent (enterFrame) {
myBounce = 1;
if (_root.car.hitTest(getBounds(_root).xMax, _y, true)) {
_x = (_x - (myBounce * _root.setspeed));
speed = 0;
}
if (_root.car.hitTest(getBounds(_root).xMin, _y, true)) {
_x = (_x + (myBounce * _root.setspeed));
speed = 0;
}
if (_root.car.hitTest(_x, getBounds(_root).yMax, true)) {
_y = (_y - (myBounce * _root.setspeed));
speed = 0;
}
if (_root.car.hitTest(_x, getBounds(_root).yMin, true)) {
_y = (_y + (myBounce * _root.setspeed));
speed = 0;
}
if (_root.carplayer2.hitTest(getBounds(_root).xMax, _y, true)) {
_x = (_x - (myBounce * _root.setspeed1));
speed = 0;
}
if (_root.carplayer2.hitTest(getBounds(_root).xMin, _y, true)) {
_x = (_x + (myBounce * _root.setspeed1));
speed = 0;
}
if (_root.carplayer2.hitTest(_x, getBounds(_root).yMax, true)) {
_y = (_y - (myBounce * _root.setspeed1));
speed = 0;
}
if (_root.carplayer2.hitTest(_x, getBounds(_root).yMin, true)) {
_y = (_y + (myBounce * _root.setspeed1));
speed = 0;
}
}
Instance of Symbol 514 MovieClip in Frame 12
onClipEvent (enterFrame) {
myBounce = 1;
if (_root.car.hitTest(getBounds(_root).xMax, _y, true)) {
_x = (_x - (myBounce * _root.setspeed));
speed = 0;
}
if (_root.car.hitTest(getBounds(_root).xMin, _y, true)) {
_x = (_x + (myBounce * _root.setspeed));
speed = 0;
}
if (_root.car.hitTest(_x, getBounds(_root).yMax, true)) {
_y = (_y - (myBounce * _root.setspeed));
speed = 0;
}
if (_root.car.hitTest(_x, getBounds(_root).yMin, true)) {
_y = (_y + (myBounce * _root.setspeed));
speed = 0;
}
if (_root.carplayer2.hitTest(getBounds(_root).xMax, _y, true)) {
_x = (_x - (myBounce * _root.setspeed1));
speed = 0;
}
if (_root.carplayer2.hitTest(getBounds(_root).xMin, _y, true)) {
_x = (_x + (myBounce * _root.setspeed1));
speed = 0;
}
if (_root.carplayer2.hitTest(_x, getBounds(_root).yMax, true)) {
_y = (_y - (myBounce * _root.setspeed1));
speed = 0;
}
if (_root.carplayer2.hitTest(_x, getBounds(_root).yMin, true)) {
_y = (_y + (myBounce * _root.setspeed1));
speed = 0;
}
}
Instance of Symbol 514 MovieClip in Frame 12
onClipEvent (enterFrame) {
myBounce = 1;
if (_root.car.hitTest(getBounds(_root).xMax, _y, true)) {
_x = (_x - (myBounce * _root.setspeed));
speed = 0;
}
if (_root.car.hitTest(getBounds(_root).xMin, _y, true)) {
_x = (_x + (myBounce * _root.setspeed));
speed = 0;
}
if (_root.car.hitTest(_x, getBounds(_root).yMax, true)) {
_y = (_y - (myBounce * _root.setspeed));
speed = 0;
}
if (_root.car.hitTest(_x, getBounds(_root).yMin, true)) {
_y = (_y + (myBounce * _root.setspeed));
speed = 0;
}
if (_root.carplayer2.hitTest(getBounds(_root).xMax, _y, true)) {
_x = (_x - (myBounce * _root.setspeed1));
speed = 0;
}
if (_root.carplayer2.hitTest(getBounds(_root).xMin, _y, true)) {
_x = (_x + (myBounce * _root.setspeed1));
speed = 0;
}
if (_root.carplayer2.hitTest(_x, getBounds(_root).yMax, true)) {
_y = (_y - (myBounce * _root.setspeed1));
speed = 0;
}
if (_root.carplayer2.hitTest(_x, getBounds(_root).yMin, true)) {
_y = (_y + (myBounce * _root.setspeed1));
speed = 0;
}
}
Instance of Symbol 514 MovieClip in Frame 12
onClipEvent (enterFrame) {
myBounce = 1;
if (_root.car.hitTest(getBounds(_root).xMax, _y, true)) {
_x = (_x - (myBounce * _root.setspeed));
speed = 0;
}
if (_root.car.hitTest(getBounds(_root).xMin, _y, true)) {
_x = (_x + (myBounce * _root.setspeed));
speed = 0;
}
if (_root.car.hitTest(_x, getBounds(_root).yMax, true)) {
_y = (_y - (myBounce * _root.setspeed));
speed = 0;
}
if (_root.car.hitTest(_x, getBounds(_root).yMin, true)) {
_y = (_y + (myBounce * _root.setspeed));
speed = 0;
}
if (_root.carplayer2.hitTest(getBounds(_root).xMax, _y, true)) {
_x = (_x - (myBounce * _root.setspeed1));
speed = 0;
}
if (_root.carplayer2.hitTest(getBounds(_root).xMin, _y, true)) {
_x = (_x + (myBounce * _root.setspeed1));
speed = 0;
}
if (_root.carplayer2.hitTest(_x, getBounds(_root).yMax, true)) {
_y = (_y - (myBounce * _root.setspeed1));
speed = 0;
}
if (_root.carplayer2.hitTest(_x, getBounds(_root).yMin, true)) {
_y = (_y + (myBounce * _root.setspeed1));
speed = 0;
}
}
Instance of Symbol 514 MovieClip in Frame 12
onClipEvent (enterFrame) {
myBounce = 1;
if (_root.car.hitTest(getBounds(_root).xMax, _y, true)) {
_x = (_x - (myBounce * _root.setspeed));
speed = 0;
}
if (_root.car.hitTest(getBounds(_root).xMin, _y, true)) {
_x = (_x + (myBounce * _root.setspeed));
speed = 0;
}
if (_root.car.hitTest(_x, getBounds(_root).yMax, true)) {
_y = (_y - (myBounce * _root.setspeed));
speed = 0;
}
if (_root.car.hitTest(_x, getBounds(_root).yMin, true)) {
_y = (_y + (myBounce * _root.setspeed));
speed = 0;
}
if (_root.carplayer2.hitTest(getBounds(_root).xMax, _y, true)) {
_x = (_x - (myBounce * _root.setspeed1));
speed = 0;
}
if (_root.carplayer2.hitTest(getBounds(_root).xMin, _y, true)) {
_x = (_x + (myBounce * _root.setspeed1));
speed = 0;
}
if (_root.carplayer2.hitTest(_x, getBounds(_root).yMax, true)) {
_y = (_y - (myBounce * _root.setspeed1));
speed = 0;
}
if (_root.carplayer2.hitTest(_x, getBounds(_root).yMin, true)) {
_y = (_y + (myBounce * _root.setspeed1));
speed = 0;
}
}
Instance of Symbol 514 MovieClip in Frame 12
onClipEvent (enterFrame) {
myBounce = 1;
if (_root.car.hitTest(getBounds(_root).xMax, _y, true)) {
_x = (_x - (myBounce * _root.setspeed));
speed = 0;
}
if (_root.car.hitTest(getBounds(_root).xMin, _y, true)) {
_x = (_x + (myBounce * _root.setspeed));
speed = 0;
}
if (_root.car.hitTest(_x, getBounds(_root).yMax, true)) {
_y = (_y - (myBounce * _root.setspeed));
speed = 0;
}
if (_root.car.hitTest(_x, getBounds(_root).yMin, true)) {
_y = (_y + (myBounce * _root.setspeed));
speed = 0;
}
if (_root.carplayer2.hitTest(getBounds(_root).xMax, _y, true)) {
_x = (_x - (myBounce * _root.setspeed1));
speed = 0;
}
if (_root.carplayer2.hitTest(getBounds(_root).xMin, _y, true)) {
_x = (_x + (myBounce * _root.setspeed1));
speed = 0;
}
if (_root.carplayer2.hitTest(_x, getBounds(_root).yMax, true)) {
_y = (_y - (myBounce * _root.setspeed1));
speed = 0;
}
if (_root.carplayer2.hitTest(_x, getBounds(_root).yMin, true)) {
_y = (_y + (myBounce * _root.setspeed1));
speed = 0;
}
}
Instance of Symbol 514 MovieClip in Frame 12
onClipEvent (enterFrame) {
myBounce = 1;
if (_root.car.hitTest(getBounds(_root).xMax, _y, true)) {
_x = (_x - (myBounce * _root.setspeed));
speed = 0;
}
if (_root.car.hitTest(getBounds(_root).xMin, _y, true)) {
_x = (_x + (myBounce * _root.setspeed));
speed = 0;
}
if (_root.car.hitTest(_x, getBounds(_root).yMax, true)) {
_y = (_y - (myBounce * _root.setspeed));
speed = 0;
}
if (_root.car.hitTest(_x, getBounds(_root).yMin, true)) {
_y = (_y + (myBounce * _root.setspeed));
speed = 0;
}
if (_root.carplayer2.hitTest(getBounds(_root).xMax, _y, true)) {
_x = (_x - (myBounce * _root.setspeed1));
speed = 0;
}
if (_root.carplayer2.hitTest(getBounds(_root).xMin, _y, true)) {
_x = (_x + (myBounce * _root.setspeed1));
speed = 0;
}
if (_root.carplayer2.hitTest(_x, getBounds(_root).yMax, true)) {
_y = (_y - (myBounce * _root.setspeed1));
speed = 0;
}
if (_root.carplayer2.hitTest(_x, getBounds(_root).yMin, true)) {
_y = (_y + (myBounce * _root.setspeed1));
speed = 0;
}
}
Instance of Symbol 514 MovieClip in Frame 12
onClipEvent (enterFrame) {
myBounce = 1;
if (_root.car.hitTest(getBounds(_root).xMax, _y, true)) {
_x = (_x - (myBounce * _root.setspeed));
speed = 0;
}
if (_root.car.hitTest(getBounds(_root).xMin, _y, true)) {
_x = (_x + (myBounce * _root.setspeed));
speed = 0;
}
if (_root.car.hitTest(_x, getBounds(_root).yMax, true)) {
_y = (_y - (myBounce * _root.setspeed));
speed = 0;
}
if (_root.car.hitTest(_x, getBounds(_root).yMin, true)) {
_y = (_y + (myBounce * _root.setspeed));
speed = 0;
}
if (_root.carplayer2.hitTest(getBounds(_root).xMax, _y, true)) {
_x = (_x - (myBounce * _root.setspeed1));
speed = 0;
}
if (_root.carplayer2.hitTest(getBounds(_root).xMin, _y, true)) {
_x = (_x + (myBounce * _root.setspeed1));
speed = 0;
}
if (_root.carplayer2.hitTest(_x, getBounds(_root).yMax, true)) {
_y = (_y - (myBounce * _root.setspeed1));
speed = 0;
}
if (_root.carplayer2.hitTest(_x, getBounds(_root).yMin, true)) {
_y = (_y + (myBounce * _root.setspeed1));
speed = 0;
}
}
Instance of Symbol 514 MovieClip in Frame 12
onClipEvent (enterFrame) {
myBounce = 1;
if (_root.car.hitTest(getBounds(_root).xMax, _y, true)) {
_x = (_x - (myBounce * _root.setspeed));
speed = 0;
}
if (_root.car.hitTest(getBounds(_root).xMin, _y, true)) {
_x = (_x + (myBounce * _root.setspeed));
speed = 0;
}
if (_root.car.hitTest(_x, getBounds(_root).yMax, true)) {
_y = (_y - (myBounce * _root.setspeed));
speed = 0;
}
if (_root.car.hitTest(_x, getBounds(_root).yMin, true)) {
_y = (_y + (myBounce * _root.setspeed));
speed = 0;
}
if (_root.carplayer2.hitTest(getBounds(_root).xMax, _y, true)) {
_x = (_x - (myBounce * _root.setspeed1));
speed = 0;
}
if (_root.carplayer2.hitTest(getBounds(_root).xMin, _y, true)) {
_x = (_x + (myBounce * _root.setspeed1));
speed = 0;
}
if (_root.carplayer2.hitTest(_x, getBounds(_root).yMax, true)) {
_y = (_y - (myBounce * _root.setspeed1));
speed = 0;
}
if (_root.carplayer2.hitTest(_x, getBounds(_root).yMin, true)) {
_y = (_y + (myBounce * _root.setspeed1));
speed = 0;
}
}
Instance of Symbol 514 MovieClip in Frame 12
onClipEvent (enterFrame) {
myBounce = 1;
if (_root.car.hitTest(getBounds(_root).xMax, _y, true)) {
_x = (_x - (myBounce * _root.setspeed));
speed = 0;
}
if (_root.car.hitTest(getBounds(_root).xMin, _y, true)) {
_x = (_x + (myBounce * _root.setspeed));
speed = 0;
}
if (_root.car.hitTest(_x, getBounds(_root).yMax, true)) {
_y = (_y - (myBounce * _root.setspeed));
speed = 0;
}
if (_root.car.hitTest(_x, getBounds(_root).yMin, true)) {
_y = (_y + (myBounce * _root.setspeed));
speed = 0;
}
if (_root.carplayer2.hitTest(getBounds(_root).xMax, _y, true)) {
_x = (_x - (myBounce * _root.setspeed1));
speed = 0;
}
if (_root.carplayer2.hitTest(getBounds(_root).xMin, _y, true)) {
_x = (_x + (myBounce * _root.setspeed1));
speed = 0;
}
if (_root.carplayer2.hitTest(_x, getBounds(_root).yMax, true)) {
_y = (_y - (myBounce * _root.setspeed1));
speed = 0;
}
if (_root.carplayer2.hitTest(_x, getBounds(_root).yMin, true)) {
_y = (_y + (myBounce * _root.setspeed1));
speed = 0;
}
}
Instance of Symbol 514 MovieClip in Frame 12
onClipEvent (enterFrame) {
myBounce = 1;
if (_root.car.hitTest(getBounds(_root).xMax, _y, true)) {
_x = (_x - (myBounce * _root.setspeed));
speed = 0;
}
if (_root.car.hitTest(getBounds(_root).xMin, _y, true)) {
_x = (_x + (myBounce * _root.setspeed));
speed = 0;
}
if (_root.car.hitTest(_x, getBounds(_root).yMax, true)) {
_y = (_y - (myBounce * _root.setspeed));
speed = 0;
}
if (_root.car.hitTest(_x, getBounds(_root).yMin, true)) {
_y = (_y + (myBounce * _root.setspeed));
speed = 0;
}
if (_root.carplayer2.hitTest(getBounds(_root).xMax, _y, true)) {
_x = (_x - (myBounce * _root.setspeed1));
speed = 0;
}
if (_root.carplayer2.hitTest(getBounds(_root).xMin, _y, true)) {
_x = (_x + (myBounce * _root.setspeed1));
speed = 0;
}
if (_root.carplayer2.hitTest(_x, getBounds(_root).yMax, true)) {
_y = (_y - (myBounce * _root.setspeed1));
speed = 0;
}
if (_root.carplayer2.hitTest(_x, getBounds(_root).yMin, true)) {
_y = (_y + (myBounce * _root.setspeed1));
speed = 0;
}
}
Instance of Symbol 514 MovieClip in Frame 12
onClipEvent (enterFrame) {
myBounce = 1;
if (_root.car.hitTest(getBounds(_root).xMax, _y, true)) {
_x = (_x - (myBounce * _root.setspeed));
speed = 0;
}
if (_root.car.hitTest(getBounds(_root).xMin, _y, true)) {
_x = (_x + (myBounce * _root.setspeed));
speed = 0;
}
if (_root.car.hitTest(_x, getBounds(_root).yMax, true)) {
_y = (_y - (myBounce * _root.setspeed));
speed = 0;
}
if (_root.car.hitTest(_x, getBounds(_root).yMin, true)) {
_y = (_y + (myBounce * _root.setspeed));
speed = 0;
}
if (_root.carplayer2.hitTest(getBounds(_root).xMax, _y, true)) {
_x = (_x - (myBounce * _root.setspeed1));
speed = 0;
}
if (_root.carplayer2.hitTest(getBounds(_root).xMin, _y, true)) {
_x = (_x + (myBounce * _root.setspeed1));
speed = 0;
}
if (_root.carplayer2.hitTest(_x, getBounds(_root).yMax, true)) {
_y = (_y - (myBounce * _root.setspeed1));
speed = 0;
}
if (_root.carplayer2.hitTest(_x, getBounds(_root).yMin, true)) {
_y = (_y + (myBounce * _root.setspeed1));
speed = 0;
}
}
Instance of Symbol 514 MovieClip in Frame 12
onClipEvent (enterFrame) {
myBounce = 1;
if (_root.car.hitTest(getBounds(_root).xMax, _y, true)) {
_x = (_x - (myBounce * _root.setspeed));
speed = 0;
}
if (_root.car.hitTest(getBounds(_root).xMin, _y, true)) {
_x = (_x + (myBounce * _root.setspeed));
speed = 0;
}
if (_root.car.hitTest(_x, getBounds(_root).yMax, true)) {
_y = (_y - (myBounce * _root.setspeed));
speed = 0;
}
if (_root.car.hitTest(_x, getBounds(_root).yMin, true)) {
_y = (_y + (myBounce * _root.setspeed));
speed = 0;
}
if (_root.carplayer2.hitTest(getBounds(_root).xMax, _y, true)) {
_x = (_x - (myBounce * _root.setspeed1));
speed = 0;
}
if (_root.carplayer2.hitTest(getBounds(_root).xMin, _y, true)) {
_x = (_x + (myBounce * _root.setspeed1));
speed = 0;
}
if (_root.carplayer2.hitTest(_x, getBounds(_root).yMax, true)) {
_y = (_y - (myBounce * _root.setspeed1));
speed = 0;
}
if (_root.carplayer2.hitTest(_x, getBounds(_root).yMin, true)) {
_y = (_y + (myBounce * _root.setspeed1));
speed = 0;
}
}
Instance of Symbol 250 MovieClip "orb" in Frame 12
onClipEvent (enterFrame) {
myBounce = 5;
myRadians = Math.atan2(_root.car._y - this._y, _root.car._x - this._x);
myDegrees = Math.round((myRadians * 180) / Math.PI);
_root.yChange = Math.round(_root.car._y - this._y);
_root.xChange = Math.round(_root.car._x - this._x);
_root.yMove = Math.round(_root.yChange / 50);
_root.xMove = Math.round(_root.xChange / 50);
this._y = this._y + _root.yMove;
this._x = this._x + _root.xMove;
this._rotation = myDegrees + 90;
if (_root.cars.hitTest(getBounds(_root).xMax, _y, true)) {
_x = (_x - myBounce);
}
if (_root.cars.hitTest(getBounds(_root).xMin, _y, true)) {
_x = (_x + myBounce);
}
if (_root.cars.hitTest(_x, getBounds(_root).yMax, true)) {
_y = (_y - myBounce);
}
if (_root.cars.hitTest(_x, getBounds(_root).yMin, true)) {
_y = (_y + myBounce);
}
if (_root.orb.hitTest(_root.car)) {
this.play();
}
}
Instance of Symbol 403 MovieClip "gun1" in Frame 12
onClipEvent (enterFrame) {
myRadians = Math.atan2(_root.car._y - this._y, _root.car._x - this._x);
myDegrees = Math.round((myRadians * 180) / Math.PI);
_root.yChange = Math.round(_root.car._y - this._y);
_root.xChange = Math.round(_root.car._x - this._x);
_root.yMove = Math.round(_root.yChange / 20);
_root.xMove = Math.round(_root.xChange / 20);
this._rotation = myDegrees + 90;
}
Instance of Symbol 404 MovieClip "gun" in Frame 12
onClipEvent (enterFrame) {
myRadians = Math.atan2(_root.car._y - this._y, _root.car._x - this._x);
myDegrees = Math.round((myRadians * 180) / Math.PI);
_root.yChange = Math.round(_root.car._y - this._y);
_root.xChange = Math.round(_root.car._x - this._x);
_root.yMove = Math.round(_root.yChange / 20);
_root.xMove = Math.round(_root.xChange / 20);
this._rotation = myDegrees + 90;
}
Instance of Symbol 415 MovieClip "rocket1" in Frame 12
onClipEvent (load) {
_root.missileexploded1 = 1;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.car)) {
if (_root.missileexploded1 != 1) {
_root.car.play();
_root.rocket1.gotoAndStop("exploded");
rocketjet.stop();
}
}
if (_root.missileexploded1 != 1) {
myRadians = Math.atan2(_root.car._y - this._y, _root.car._x - this._x);
myDegrees = Math.round((myRadians * 180) / Math.PI);
_root.yChange = Math.round(_root.car._y - this._y);
_root.xChange = Math.round(_root.car._x - this._x);
_root.yMove = Math.round((_root.yChange / 20) * 1.5);
_root.xMove = Math.round((_root.xChange / 20) * 1.5);
this._y = this._y + _root.yMove;
this._x = this._x + _root.xMove;
this._rotation = myDegrees + 90;
} else {
rocketjet.stop();
if (_root.reloadmissile1 < 90) {
_root.reloadmissile1 = _root.reloadmissile1 + 1;
} else {
this._x = _root.gun1._x;
this._y = _root.gun1._y;
_root.missileexploded1 = 0;
_root.missilelaunch = new Sound(this);
_root.missilelaunch.attachSound("_root.missilelaunch");
missilelaunch.start(0, 1);
rocketjet = new Sound(this);
rocketjet.attachSound("rocketjet");
rocketjet.start(0, 10);
_root.rocket1.gotoAndPlay(1);
}
}
}
Instance of Symbol 426 MovieClip "rocket" in Frame 12
onClipEvent (load) {
_root.missileexploded = 1;
}
onClipEvent (enterFrame) {
if (_root.cars.hitTest(getBounds(_root).xMax, _y, true)) {
_root.rocket.gotoAndStop("exploded");
rocketjet.stop();
}
if (_root.cars.hitTest(getBounds(_root).xMin, _y, true)) {
_root.rocket.gotoAndStop("exploded");
rocketjet.stop();
}
if (_root.cars.hitTest(_x, getBounds(_root).yMax, true)) {
_root.rocket.gotoAndStop("exploded");
rocketjet.stop();
}
if (_root.cars.hitTest(_x, getBounds(_root).yMin, true)) {
_root.rocket.gotoAndStop("exploded");
rocketjet.stop();
}
if (this.hitTest(_root.car)) {
if (_root.missileexploded != 1) {
_root.car.play();
rocketjet.stop();
_root.rocket.gotoAndStop("exploded");
}
}
if (_root.missileexploded != 1) {
myRadians = Math.atan2(_root.car._y - this._y, _root.car._x - this._x);
myDegrees = Math.round((myRadians * 180) / Math.PI);
_root.yChange = Math.round(_root.car._y - this._y);
_root.xChange = Math.round(_root.car._x - this._x);
_root.yMove = Math.round((_root.yChange / 20) * 1.5);
_root.xMove = Math.round((_root.xChange / 20) * 1.5);
this._y = this._y + _root.yMove;
this._x = this._x + _root.xMove;
this._rotation = myDegrees + 90;
} else {
rocketjet.stop();
if (_root.reloadmissile < 90) {
_root.reloadmissile = _root.reloadmissile + 1;
} else {
this._x = _root.gun._x;
this._y = _root.gun._y;
_root.missileexploded = 0;
_root.missilelaunch = new Sound(this);
_root.missilelaunch.attachSound("_root.missilelaunch");
missilelaunch.start(0, 1);
rocketjet = new Sound(this);
rocketjet.attachSound("rocketjet");
rocketjet.start(0, 10);
_root.rocket.gotoAndPlay(1);
}
}
}
Frame 13
local_data = SharedObject.getLocal("user_data");
local_data.data.user_level = _root._currentframe;
local_data.data.user_difficulty = _root.difficulty;
local_data.flush();
if (_root.health1 < 40) {
_root.health1 = _root.health1 + 5;
}
_root.mines.gotoAndPlay(random(25) + 1);
_root.ended = 0;
_root.levelcomplete = "incomplete";
_root.noson = 0;
_root.moneycollected = 0;
_root.enemydead1 = 0;
_root.enemy1.gotoAndStop(1);
_root.car._x = 598;
_root.car._y = 380;
_root.car._rotation = 0;
_root.reloadmissile = 0;
_root.money.gotoAndPlay(random(25) + 1);
stop();
Frame 14
local_data = SharedObject.getLocal("user_data");
local_data.data.user_level = _root._currentframe;
local_data.data.user_difficulty = _root.difficulty;
local_data.flush();
if (_root.health1 < 40) {
_root.health1 = _root.health1 + 5;
}
_root.ended = 0;
_root.mines.gotoAndPlay(random(25) + 1);
_root.levelcomplete = "incomplete";
_root.noson = 0;
_root.moneycollected = 0;
_root.enemydead1 = 0;
_root.enemy1.gotoAndStop(1);
_root.car._x = 598;
_root.car._y = 380;
_root.car._rotation = 0;
_root.reloadmissile = 0;
_root.money.gotoAndPlay(random(25) + 1);
stop();
Instance of Symbol 97 MovieClip "enemy1" in Frame 14
onClipEvent (enterFrame) {
if (this.hitTest(_root.car)) {
this.play();
}
if (_root.enemydead1 != 1) {
myRadians = Math.atan2(_root.car._y - this._y, _root.car._x - this._x);
myDegrees = Math.round((myRadians * 180) / Math.PI);
_root.yChange = Math.round(_root.car._y - this._y);
_root.xChange = Math.round(_root.car._x - this._x);
_root.yMove = Math.round(_root.yChange / 20);
_root.xMove = Math.round(_root.xChange / 20);
this._rotation = myDegrees + 90;
}
}
Instance of Symbol 141 MovieClip "rocket3" in Frame 14
onClipEvent (load) {
_root.missileexploded3 = 1;
}
onClipEvent (enterFrame) {
if (_root.enemydead1 != 1) {
if (_root.cars.hitTest(getBounds(_root).xMax, _y, true)) {
_root.rocket3.gotoAndStop("exploded");
rocketjet.stop();
}
if (_root.cars.hitTest(getBounds(_root).xMin, _y, true)) {
_root.rocket3.gotoAndStop("exploded");
rocketjet.stop();
}
if (_root.cars.hitTest(_x, getBounds(_root).yMax, true)) {
_root.rocket3.gotoAndStop("exploded");
rocketjet.stop();
}
if (_root.cars.hitTest(_x, getBounds(_root).yMin, true)) {
_root.rocket3.gotoAndStop("exploded");
rocketjet.stop();
}
if (this.hitTest(_root.car)) {
if (_root.missileexploded3 != 1) {
_root.car.play();
_root.rocket3.gotoAndStop("exploded");
rocketjet.stop();
}
}
if (_root.missileexploded3 != 1) {
myRadians = Math.atan2(_root.car._y - this._y, _root.car._x - this._x);
myDegrees = Math.round((myRadians * 180) / Math.PI);
_root.yChange = Math.round(_root.car._y - this._y);
_root.xChange = Math.round(_root.car._x - this._x);
_root.yMove = Math.round(_root.yChange / 15);
_root.xMove = Math.round(_root.xChange / 15);
this._y = this._y + _root.yMove;
this._x = this._x + _root.xMove;
this._rotation = myDegrees + 90;
} else {
rocketjet.stop();
if (_root.reloadmissile3 < 110) {
_root.reloadmissile3 = _root.reloadmissile3 + 1;
} else {
this._x = _root.enemy1._x;
this._y = _root.enemy1._y;
_root.missileexploded3 = 0;
_root.missilelaunch = new Sound(this);
_root.missilelaunch.attachSound("_root.missilelaunch");
missilelaunch.start(0, 1);
rocketjet = new Sound(this);
rocketjet.attachSound("rocketjet");
rocketjet.start(0, 10);
_root.rocket3.gotoAndPlay(1);
}
}
}
}
Instance of Symbol 173 MovieClip "traps" in Frame 14
onClipEvent (load) {
this.gotoAndPlay(random(3) + 1);
}
Instance of Symbol 265 MovieClip "orb2" in Frame 14
onClipEvent (enterFrame) {
myBounce = 5;
myRadians = Math.atan2(_root.car._y - this._y, _root.car._x - this._x);
myDegrees = Math.round((myRadians * 180) / Math.PI);
_root.yChange = Math.round(_root.car._y - this._y);
_root.xChange = Math.round(_root.car._x - this._x);
_root.yMove = Math.round(_root.yChange / 120);
_root.xMove = Math.round(_root.xChange / 120);
this._y = this._y + _root.yMove;
this._x = this._x + _root.xMove;
this._rotation = myDegrees + 90;
if (_root.cars.hitTest(getBounds(_root).xMax, _y, true)) {
_x = (_x - myBounce);
}
if (_root.cars.hitTest(getBounds(_root).xMin, _y, true)) {
_x = (_x + myBounce);
}
if (_root.cars.hitTest(_x, getBounds(_root).yMax, true)) {
_y = (_y - myBounce);
}
if (_root.cars.hitTest(_x, getBounds(_root).yMin, true)) {
_y = (_y + myBounce);
}
if (_root.orb2.hitTest(_root.car)) {
this.play();
}
}
Frame 15
local_data = SharedObject.getLocal("user_data");
local_data.data.user_level = _root._currentframe;
local_data.data.user_difficulty = _root.difficulty;
local_data.flush();
if (_root.health1 < 40) {
_root.health1 = _root.health1 + 5;
}
_root.ended = 0;
_root.mines.gotoAndPlay(random(25) + 1);
_root.levelcomplete = "incomplete";
_root.noson = 0;
_root.moneycollected = 0;
_root.enemydead1 = 0;
_root.enemy1.gotoAndStop(1);
_root.car._x = 598;
_root.car._y = 380;
_root.car._rotation = 0;
_root.reloadmissile = 0;
_root.money.gotoAndPlay(random(25) + 1);
stop();
Frame 16
local_data = SharedObject.getLocal("user_data");
local_data.data.user_level = _root._currentframe;
local_data.data.user_difficulty = _root.difficulty;
local_data.flush();
if (_root.health1 < 40) {
_root.health1 = _root.health1 + 5;
}
_root.ended = 0;
_root.mines.gotoAndPlay(random(25) + 1);
_root.levelcomplete = "incomplete";
_root.noson = 0;
_root.moneycollected = 0;
_root.enemydead1 = 0;
_root.enemy1.gotoAndStop(1);
_root.car._x = 598;
_root.car._y = 380;
_root.car._rotation = 0;
_root.reloadmissile = 0;
_root.money.gotoAndPlay(random(25) + 1);
stop();
Frame 17
stop();
Frame 18
local_data = SharedObject.getLocal("user_data");
local_data.data.user_level = _root._currentframe;
local_data.data.user_difficulty = _root.difficulty;
local_data.flush();
_root.ended = 0;
_root.roundscore = 15000;
_root.levelcomplete = "incomplete";
_root.moneycollected = 0;
_root.enemydead1 = 0;
_root.enemy1.gotoAndStop(1);
_root.car.gotoAndPlay(1);
_root.car._x = 550;
_root.car._y = 220;
_root.car._rotation = 0;
_root.noson = 0;
_root.mines.gotoAndPlay(random(25) + 1);
_root.laps = 0;
_root.reloadmissile = 0;
_root.money.gotoAndPlay(random(25) + 1);
stop();
Instance of Symbol 514 MovieClip in Frame 18
onClipEvent (enterFrame) {
myBounce = 1;
if (_root.car.hitTest(getBounds(_root).xMax, _y, true)) {
_x = (_x - (myBounce * _root.setspeed));
speed = 0;
}
if (_root.car.hitTest(getBounds(_root).xMin, _y, true)) {
_x = (_x + (myBounce * _root.setspeed));
speed = 0;
}
if (_root.car.hitTest(_x, getBounds(_root).yMax, true)) {
_y = (_y - (myBounce * _root.setspeed));
speed = 0;
}
if (_root.car.hitTest(_x, getBounds(_root).yMin, true)) {
_y = (_y + (myBounce * _root.setspeed));
speed = 0;
}
if (_root.carplayer2.hitTest(getBounds(_root).xMax, _y, true)) {
_x = (_x - (myBounce * _root.setspeed1));
speed = 0;
}
if (_root.carplayer2.hitTest(getBounds(_root).xMin, _y, true)) {
_x = (_x + (myBounce * _root.setspeed1));
speed = 0;
}
if (_root.carplayer2.hitTest(_x, getBounds(_root).yMax, true)) {
_y = (_y - (myBounce * _root.setspeed1));
speed = 0;
}
if (_root.carplayer2.hitTest(_x, getBounds(_root).yMin, true)) {
_y = (_y + (myBounce * _root.setspeed1));
speed = 0;
}
}
Instance of Symbol 514 MovieClip in Frame 18
onClipEvent (enterFrame) {
myBounce = 1;
if (_root.car.hitTest(getBounds(_root).xMax, _y, true)) {
_x = (_x - (myBounce * _root.setspeed));
speed = 0;
}
if (_root.car.hitTest(getBounds(_root).xMin, _y, true)) {
_x = (_x + (myBounce * _root.setspeed));
speed = 0;
}
if (_root.car.hitTest(_x, getBounds(_root).yMax, true)) {
_y = (_y - (myBounce * _root.setspeed));
speed = 0;
}
if (_root.car.hitTest(_x, getBounds(_root).yMin, true)) {
_y = (_y + (myBounce * _root.setspeed));
speed = 0;
}
if (_root.carplayer2.hitTest(getBounds(_root).xMax, _y, true)) {
_x = (_x - (myBounce * _root.setspeed1));
speed = 0;
}
if (_root.carplayer2.hitTest(getBounds(_root).xMin, _y, true)) {
_x = (_x + (myBounce * _root.setspeed1));
speed = 0;
}
if (_root.carplayer2.hitTest(_x, getBounds(_root).yMax, true)) {
_y = (_y - (myBounce * _root.setspeed1));
speed = 0;
}
if (_root.carplayer2.hitTest(_x, getBounds(_root).yMin, true)) {
_y = (_y + (myBounce * _root.setspeed1));
speed = 0;
}
}
Instance of Symbol 514 MovieClip in Frame 18
onClipEvent (enterFrame) {
myBounce = 1;
if (_root.car.hitTest(getBounds(_root).xMax, _y, true)) {
_x = (_x - (myBounce * _root.setspeed));
speed = 0;
}
if (_root.car.hitTest(getBounds(_root).xMin, _y, true)) {
_x = (_x + (myBounce * _root.setspeed));
speed = 0;
}
if (_root.car.hitTest(_x, getBounds(_root).yMax, true)) {
_y = (_y - (myBounce * _root.setspeed));
speed = 0;
}
if (_root.car.hitTest(_x, getBounds(_root).yMin, true)) {
_y = (_y + (myBounce * _root.setspeed));
speed = 0;
}
if (_root.carplayer2.hitTest(getBounds(_root).xMax, _y, true)) {
_x = (_x - (myBounce * _root.setspeed1));
speed = 0;
}
if (_root.carplayer2.hitTest(getBounds(_root).xMin, _y, true)) {
_x = (_x + (myBounce * _root.setspeed1));
speed = 0;
}
if (_root.carplayer2.hitTest(_x, getBounds(_root).yMax, true)) {
_y = (_y - (myBounce * _root.setspeed1));
speed = 0;
}
if (_root.carplayer2.hitTest(_x, getBounds(_root).yMin, true)) {
_y = (_y + (myBounce * _root.setspeed1));
speed = 0;
}
}
Instance of Symbol 514 MovieClip in Frame 18
onClipEvent (enterFrame) {
myBounce = 1;
if (_root.car.hitTest(getBounds(_root).xMax, _y, true)) {
_x = (_x - (myBounce * _root.setspeed));
speed = 0;
}
if (_root.car.hitTest(getBounds(_root).xMin, _y, true)) {
_x = (_x + (myBounce * _root.setspeed));
speed = 0;
}
if (_root.car.hitTest(_x, getBounds(_root).yMax, true)) {
_y = (_y - (myBounce * _root.setspeed));
speed = 0;
}
if (_root.car.hitTest(_x, getBounds(_root).yMin, true)) {
_y = (_y + (myBounce * _root.setspeed));
speed = 0;
}
if (_root.carplayer2.hitTest(getBounds(_root).xMax, _y, true)) {
_x = (_x - (myBounce * _root.setspeed1));
speed = 0;
}
if (_root.carplayer2.hitTest(getBounds(_root).xMin, _y, true)) {
_x = (_x + (myBounce * _root.setspeed1));
speed = 0;
}
if (_root.carplayer2.hitTest(_x, getBounds(_root).yMax, true)) {
_y = (_y - (myBounce * _root.setspeed1));
speed = 0;
}
if (_root.carplayer2.hitTest(_x, getBounds(_root).yMin, true)) {
_y = (_y + (myBounce * _root.setspeed1));
speed = 0;
}
}
Instance of Symbol 514 MovieClip in Frame 18
onClipEvent (enterFrame) {
myBounce = 1;
if (_root.car.hitTest(getBounds(_root).xMax, _y, true)) {
_x = (_x - (myBounce * _root.setspeed));
speed = 0;
}
if (_root.car.hitTest(getBounds(_root).xMin, _y, true)) {
_x = (_x + (myBounce * _root.setspeed));
speed = 0;
}
if (_root.car.hitTest(_x, getBounds(_root).yMax, true)) {
_y = (_y - (myBounce * _root.setspeed));
speed = 0;
}
if (_root.car.hitTest(_x, getBounds(_root).yMin, true)) {
_y = (_y + (myBounce * _root.setspeed));
speed = 0;
}
if (_root.carplayer2.hitTest(getBounds(_root).xMax, _y, true)) {
_x = (_x - (myBounce * _root.setspeed1));
speed = 0;
}
if (_root.carplayer2.hitTest(getBounds(_root).xMin, _y, true)) {
_x = (_x + (myBounce * _root.setspeed1));
speed = 0;
}
if (_root.carplayer2.hitTest(_x, getBounds(_root).yMax, true)) {
_y = (_y - (myBounce * _root.setspeed1));
speed = 0;
}
if (_root.carplayer2.hitTest(_x, getBounds(_root).yMin, true)) {
_y = (_y + (myBounce * _root.setspeed1));
speed = 0;
}
}
Instance of Symbol 514 MovieClip in Frame 18
onClipEvent (enterFrame) {
myBounce = 1;
if (_root.car.hitTest(getBounds(_root).xMax, _y, true)) {
_x = (_x - (myBounce * _root.setspeed));
speed = 0;
}
if (_root.car.hitTest(getBounds(_root).xMin, _y, true)) {
_x = (_x + (myBounce * _root.setspeed));
speed = 0;
}
if (_root.car.hitTest(_x, getBounds(_root).yMax, true)) {
_y = (_y - (myBounce * _root.setspeed));
speed = 0;
}
if (_root.car.hitTest(_x, getBounds(_root).yMin, true)) {
_y = (_y + (myBounce * _root.setspeed));
speed = 0;
}
if (_root.carplayer2.hitTest(getBounds(_root).xMax, _y, true)) {
_x = (_x - (myBounce * _root.setspeed1));
speed = 0;
}
if (_root.carplayer2.hitTest(getBounds(_root).xMin, _y, true)) {
_x = (_x + (myBounce * _root.setspeed1));
speed = 0;
}
if (_root.carplayer2.hitTest(_x, getBounds(_root).yMax, true)) {
_y = (_y - (myBounce * _root.setspeed1));
speed = 0;
}
if (_root.carplayer2.hitTest(_x, getBounds(_root).yMin, true)) {
_y = (_y + (myBounce * _root.setspeed1));
speed = 0;
}
}
Instance of Symbol 514 MovieClip in Frame 18
onClipEvent (enterFrame) {
myBounce = 1;
if (_root.car.hitTest(getBounds(_root).xMax, _y, true)) {
_x = (_x - (myBounce * _root.setspeed));
speed = 0;
}
if (_root.car.hitTest(getBounds(_root).xMin, _y, true)) {
_x = (_x + (myBounce * _root.setspeed));
speed = 0;
}
if (_root.car.hitTest(_x, getBounds(_root).yMax, true)) {
_y = (_y - (myBounce * _root.setspeed));
speed = 0;
}
if (_root.car.hitTest(_x, getBounds(_root).yMin, true)) {
_y = (_y + (myBounce * _root.setspeed));
speed = 0;
}
if (_root.carplayer2.hitTest(getBounds(_root).xMax, _y, true)) {
_x = (_x - (myBounce * _root.setspeed1));
speed = 0;
}
if (_root.carplayer2.hitTest(getBounds(_root).xMin, _y, true)) {
_x = (_x + (myBounce * _root.setspeed1));
speed = 0;
}
if (_root.carplayer2.hitTest(_x, getBounds(_root).yMax, true)) {
_y = (_y - (myBounce * _root.setspeed1));
speed = 0;
}
if (_root.carplayer2.hitTest(_x, getBounds(_root).yMin, true)) {
_y = (_y + (myBounce * _root.setspeed1));
speed = 0;
}
}
Instance of Symbol 514 MovieClip in Frame 18
onClipEvent (enterFrame) {
myBounce = 1;
if (_root.car.hitTest(getBounds(_root).xMax, _y, true)) {
_x = (_x - (myBounce * _root.setspeed));
speed = 0;
}
if (_root.car.hitTest(getBounds(_root).xMin, _y, true)) {
_x = (_x + (myBounce * _root.setspeed));
speed = 0;
}
if (_root.car.hitTest(_x, getBounds(_root).yMax, true)) {
_y = (_y - (myBounce * _root.setspeed));
speed = 0;
}
if (_root.car.hitTest(_x, getBounds(_root).yMin, true)) {
_y = (_y + (myBounce * _root.setspeed));
speed = 0;
}
if (_root.carplayer2.hitTest(getBounds(_root).xMax, _y, true)) {
_x = (_x - (myBounce * _root.setspeed1));
speed = 0;
}
if (_root.carplayer2.hitTest(getBounds(_root).xMin, _y, true)) {
_x = (_x + (myBounce * _root.setspeed1));
speed = 0;
}
if (_root.carplayer2.hitTest(_x, getBounds(_root).yMax, true)) {
_y = (_y - (myBounce * _root.setspeed1));
speed = 0;
}
if (_root.carplayer2.hitTest(_x, getBounds(_root).yMin, true)) {
_y = (_y + (myBounce * _root.setspeed1));
speed = 0;
}
}
Instance of Symbol 514 MovieClip in Frame 18
onClipEvent (enterFrame) {
myBounce = 1;
if (_root.car.hitTest(getBounds(_root).xMax, _y, true)) {
_x = (_x - (myBounce * _root.setspeed));
speed = 0;
}
if (_root.car.hitTest(getBounds(_root).xMin, _y, true)) {
_x = (_x + (myBounce * _root.setspeed));
speed = 0;
}
if (_root.car.hitTest(_x, getBounds(_root).yMax, true)) {
_y = (_y - (myBounce * _root.setspeed));
speed = 0;
}
if (_root.car.hitTest(_x, getBounds(_root).yMin, true)) {
_y = (_y + (myBounce * _root.setspeed));
speed = 0;
}
if (_root.carplayer2.hitTest(getBounds(_root).xMax, _y, true)) {
_x = (_x - (myBounce * _root.setspeed1));
speed = 0;
}
if (_root.carplayer2.hitTest(getBounds(_root).xMin, _y, true)) {
_x = (_x + (myBounce * _root.setspeed1));
speed = 0;
}
if (_root.carplayer2.hitTest(_x, getBounds(_root).yMax, true)) {
_y = (_y - (myBounce * _root.setspeed1));
speed = 0;
}
if (_root.carplayer2.hitTest(_x, getBounds(_root).yMin, true)) {
_y = (_y + (myBounce * _root.setspeed1));
speed = 0;
}
}
Instance of Symbol 514 MovieClip in Frame 18
onClipEvent (enterFrame) {
myBounce = 1;
if (_root.car.hitTest(getBounds(_root).xMax, _y, true)) {
_x = (_x - (myBounce * _root.setspeed));
speed = 0;
}
if (_root.car.hitTest(getBounds(_root).xMin, _y, true)) {
_x = (_x + (myBounce * _root.setspeed));
speed = 0;
}
if (_root.car.hitTest(_x, getBounds(_root).yMax, true)) {
_y = (_y - (myBounce * _root.setspeed));
speed = 0;
}
if (_root.car.hitTest(_x, getBounds(_root).yMin, true)) {
_y = (_y + (myBounce * _root.setspeed));
speed = 0;
}
if (_root.carplayer2.hitTest(getBounds(_root).xMax, _y, true)) {
_x = (_x - (myBounce * _root.setspeed1));
speed = 0;
}
if (_root.carplayer2.hitTest(getBounds(_root).xMin, _y, true)) {
_x = (_x + (myBounce * _root.setspeed1));
speed = 0;
}
if (_root.carplayer2.hitTest(_x, getBounds(_root).yMax, true)) {
_y = (_y - (myBounce * _root.setspeed1));
speed = 0;
}
if (_root.carplayer2.hitTest(_x, getBounds(_root).yMin, true)) {
_y = (_y + (myBounce * _root.setspeed1));
speed = 0;
}
}
Instance of Symbol 514 MovieClip in Frame 18
onClipEvent (enterFrame) {
myBounce = 1;
if (_root.car.hitTest(getBounds(_root).xMax, _y, true)) {
_x = (_x - (myBounce * _root.setspeed));
speed = 0;
}
if (_root.car.hitTest(getBounds(_root).xMin, _y, true)) {
_x = (_x + (myBounce * _root.setspeed));
speed = 0;
}
if (_root.car.hitTest(_x, getBounds(_root).yMax, true)) {
_y = (_y - (myBounce * _root.setspeed));
speed = 0;
}
if (_root.car.hitTest(_x, getBounds(_root).yMin, true)) {
_y = (_y + (myBounce * _root.setspeed));
speed = 0;
}
if (_root.carplayer2.hitTest(getBounds(_root).xMax, _y, true)) {
_x = (_x - (myBounce * _root.setspeed1));
speed = 0;
}
if (_root.carplayer2.hitTest(getBounds(_root).xMin, _y, true)) {
_x = (_x + (myBounce * _root.setspeed1));
speed = 0;
}
if (_root.carplayer2.hitTest(_x, getBounds(_root).yMax, true)) {
_y = (_y - (myBounce * _root.setspeed1));
speed = 0;
}
if (_root.carplayer2.hitTest(_x, getBounds(_root).yMin, true)) {
_y = (_y + (myBounce * _root.setspeed1));
speed = 0;
}
}
Instance of Symbol 514 MovieClip in Frame 18
onClipEvent (enterFrame) {
myBounce = 1;
if (_root.car.hitTest(getBounds(_root).xMax, _y, true)) {
_x = (_x - (myBounce * _root.setspeed));
speed = 0;
}
if (_root.car.hitTest(getBounds(_root).xMin, _y, true)) {
_x = (_x + (myBounce * _root.setspeed));
speed = 0;
}
if (_root.car.hitTest(_x, getBounds(_root).yMax, true)) {
_y = (_y - (myBounce * _root.setspeed));
speed = 0;
}
if (_root.car.hitTest(_x, getBounds(_root).yMin, true)) {
_y = (_y + (myBounce * _root.setspeed));
speed = 0;
}
if (_root.carplayer2.hitTest(getBounds(_root).xMax, _y, true)) {
_x = (_x - (myBounce * _root.setspeed1));
speed = 0;
}
if (_root.carplayer2.hitTest(getBounds(_root).xMin, _y, true)) {
_x = (_x + (myBounce * _root.setspeed1));
speed = 0;
}
if (_root.carplayer2.hitTest(_x, getBounds(_root).yMax, true)) {
_y = (_y - (myBounce * _root.setspeed1));
speed = 0;
}
if (_root.carplayer2.hitTest(_x, getBounds(_root).yMin, true)) {
_y = (_y + (myBounce * _root.setspeed1));
speed = 0;
}
}
Instance of Symbol 514 MovieClip in Frame 18
onClipEvent (enterFrame) {
myBounce = 1;
if (_root.car.hitTest(getBounds(_root).xMax, _y, true)) {
_x = (_x - (myBounce * _root.setspeed));
speed = 0;
}
if (_root.car.hitTest(getBounds(_root).xMin, _y, true)) {
_x = (_x + (myBounce * _root.setspeed));
speed = 0;
}
if (_root.car.hitTest(_x, getBounds(_root).yMax, true)) {
_y = (_y - (myBounce * _root.setspeed));
speed = 0;
}
if (_root.car.hitTest(_x, getBounds(_root).yMin, true)) {
_y = (_y + (myBounce * _root.setspeed));
speed = 0;
}
if (_root.carplayer2.hitTest(getBounds(_root).xMax, _y, true)) {
_x = (_x - (myBounce * _root.setspeed1));
speed = 0;
}
if (_root.carplayer2.hitTest(getBounds(_root).xMin, _y, true)) {
_x = (_x + (myBounce * _root.setspeed1));
speed = 0;
}
if (_root.carplayer2.hitTest(_x, getBounds(_root).yMax, true)) {
_y = (_y - (myBounce * _root.setspeed1));
speed = 0;
}
if (_root.carplayer2.hitTest(_x, getBounds(_root).yMin, true)) {
_y = (_y + (myBounce * _root.setspeed1));
speed = 0;
}
}
Instance of Symbol 514 MovieClip in Frame 18
onClipEvent (enterFrame) {
myBounce = 1;
if (_root.car.hitTest(getBounds(_root).xMax, _y, true)) {
_x = (_x - (myBounce * _root.setspeed));
speed = 0;
}
if (_root.car.hitTest(getBounds(_root).xMin, _y, true)) {
_x = (_x + (myBounce * _root.setspeed));
speed = 0;
}
if (_root.car.hitTest(_x, getBounds(_root).yMax, true)) {
_y = (_y - (myBounce * _root.setspeed));
speed = 0;
}
if (_root.car.hitTest(_x, getBounds(_root).yMin, true)) {
_y = (_y + (myBounce * _root.setspeed));
speed = 0;
}
if (_root.carplayer2.hitTest(getBounds(_root).xMax, _y, true)) {
_x = (_x - (myBounce * _root.setspeed1));
speed = 0;
}
if (_root.carplayer2.hitTest(getBounds(_root).xMin, _y, true)) {
_x = (_x + (myBounce * _root.setspeed1));
speed = 0;
}
if (_root.carplayer2.hitTest(_x, getBounds(_root).yMax, true)) {
_y = (_y - (myBounce * _root.setspeed1));
speed = 0;
}
if (_root.carplayer2.hitTest(_x, getBounds(_root).yMin, true)) {
_y = (_y + (myBounce * _root.setspeed1));
speed = 0;
}
}
Instance of Symbol 514 MovieClip in Frame 18
onClipEvent (enterFrame) {
myBounce = 1;
if (_root.car.hitTest(getBounds(_root).xMax, _y, true)) {
_x = (_x - (myBounce * _root.setspeed));
speed = 0;
}
if (_root.car.hitTest(getBounds(_root).xMin, _y, true)) {
_x = (_x + (myBounce * _root.setspeed));
speed = 0;
}
if (_root.car.hitTest(_x, getBounds(_root).yMax, true)) {
_y = (_y - (myBounce * _root.setspeed));
speed = 0;
}
if (_root.car.hitTest(_x, getBounds(_root).yMin, true)) {
_y = (_y + (myBounce * _root.setspeed));
speed = 0;
}
if (_root.carplayer2.hitTest(getBounds(_root).xMax, _y, true)) {
_x = (_x - (myBounce * _root.setspeed1));
speed = 0;
}
if (_root.carplayer2.hitTest(getBounds(_root).xMin, _y, true)) {
_x = (_x + (myBounce * _root.setspeed1));
speed = 0;
}
if (_root.carplayer2.hitTest(_x, getBounds(_root).yMax, true)) {
_y = (_y - (myBounce * _root.setspeed1));
speed = 0;
}
if (_root.carplayer2.hitTest(_x, getBounds(_root).yMin, true)) {
_y = (_y + (myBounce * _root.setspeed1));
speed = 0;
}
}
Instance of Symbol 514 MovieClip in Frame 18
onClipEvent (enterFrame) {
myBounce = 1;
if (_root.car.hitTest(getBounds(_root).xMax, _y, true)) {
_x = (_x - (myBounce * _root.setspeed));
speed = 0;
}
if (_root.car.hitTest(getBounds(_root).xMin, _y, true)) {
_x = (_x + (myBounce * _root.setspeed));
speed = 0;
}
if (_root.car.hitTest(_x, getBounds(_root).yMax, true)) {
_y = (_y - (myBounce * _root.setspeed));
speed = 0;
}
if (_root.car.hitTest(_x, getBounds(_root).yMin, true)) {
_y = (_y + (myBounce * _root.setspeed));
speed = 0;
}
if (_root.carplayer2.hitTest(getBounds(_root).xMax, _y, true)) {
_x = (_x - (myBounce * _root.setspeed1));
speed = 0;
}
if (_root.carplayer2.hitTest(getBounds(_root).xMin, _y, true)) {
_x = (_x + (myBounce * _root.setspeed1));
speed = 0;
}
if (_root.carplayer2.hitTest(_x, getBounds(_root).yMax, true)) {
_y = (_y - (myBounce * _root.setspeed1));
speed = 0;
}
if (_root.carplayer2.hitTest(_x, getBounds(_root).yMin, true)) {
_y = (_y + (myBounce * _root.setspeed1));
speed = 0;
}
}
Instance of Symbol 514 MovieClip in Frame 18
onClipEvent (enterFrame) {
myBounce = 1;
if (_root.car.hitTest(getBounds(_root).xMax, _y, true)) {
_x = (_x - (myBounce * _root.setspeed));
speed = 0;
}
if (_root.car.hitTest(getBounds(_root).xMin, _y, true)) {
_x = (_x + (myBounce * _root.setspeed));
speed = 0;
}
if (_root.car.hitTest(_x, getBounds(_root).yMax, true)) {
_y = (_y - (myBounce * _root.setspeed));
speed = 0;
}
if (_root.car.hitTest(_x, getBounds(_root).yMin, true)) {
_y = (_y + (myBounce * _root.setspeed));
speed = 0;
}
if (_root.carplayer2.hitTest(getBounds(_root).xMax, _y, true)) {
_x = (_x - (myBounce * _root.setspeed1));
speed = 0;
}
if (_root.carplayer2.hitTest(getBounds(_root).xMin, _y, true)) {
_x = (_x + (myBounce * _root.setspeed1));
speed = 0;
}
if (_root.carplayer2.hitTest(_x, getBounds(_root).yMax, true)) {
_y = (_y - (myBounce * _root.setspeed1));
speed = 0;
}
if (_root.carplayer2.hitTest(_x, getBounds(_root).yMin, true)) {
_y = (_y + (myBounce * _root.setspeed1));
speed = 0;
}
}
Instance of Symbol 514 MovieClip in Frame 18
onClipEvent (enterFrame) {
myBounce = 1;
if (_root.car.hitTest(getBounds(_root).xMax, _y, true)) {
_x = (_x - (myBounce * _root.setspeed));
speed = 0;
}
if (_root.car.hitTest(getBounds(_root).xMin, _y, true)) {
_x = (_x + (myBounce * _root.setspeed));
speed = 0;
}
if (_root.car.hitTest(_x, getBounds(_root).yMax, true)) {
_y = (_y - (myBounce * _root.setspeed));
speed = 0;
}
if (_root.car.hitTest(_x, getBounds(_root).yMin, true)) {
_y = (_y + (myBounce * _root.setspeed));
speed = 0;
}
if (_root.carplayer2.hitTest(getBounds(_root).xMax, _y, true)) {
_x = (_x - (myBounce * _root.setspeed1));
speed = 0;
}
if (_root.carplayer2.hitTest(getBounds(_root).xMin, _y, true)) {
_x = (_x + (myBounce * _root.setspeed1));
speed = 0;
}
if (_root.carplayer2.hitTest(_x, getBounds(_root).yMax, true)) {
_y = (_y - (myBounce * _root.setspeed1));
speed = 0;
}
if (_root.carplayer2.hitTest(_x, getBounds(_root).yMin, true)) {
_y = (_y + (myBounce * _root.setspeed1));
speed = 0;
}
}
Instance of Symbol 514 MovieClip in Frame 18
onClipEvent (enterFrame) {
myBounce = 1;
if (_root.car.hitTest(getBounds(_root).xMax, _y, true)) {
_x = (_x - (myBounce * _root.setspeed));
speed = 0;
}
if (_root.car.hitTest(getBounds(_root).xMin, _y, true)) {
_x = (_x + (myBounce * _root.setspeed));
speed = 0;
}
if (_root.car.hitTest(_x, getBounds(_root).yMax, true)) {
_y = (_y - (myBounce * _root.setspeed));
speed = 0;
}
if (_root.car.hitTest(_x, getBounds(_root).yMin, true)) {
_y = (_y + (myBounce * _root.setspeed));
speed = 0;
}
if (_root.carplayer2.hitTest(getBounds(_root).xMax, _y, true)) {
_x = (_x - (myBounce * _root.setspeed1));
speed = 0;
}
if (_root.carplayer2.hitTest(getBounds(_root).xMin, _y, true)) {
_x = (_x + (myBounce * _root.setspeed1));
speed = 0;
}
if (_root.carplayer2.hitTest(_x, getBounds(_root).yMax, true)) {
_y = (_y - (myBounce * _root.setspeed1));
speed = 0;
}
if (_root.carplayer2.hitTest(_x, getBounds(_root).yMin, true)) {
_y = (_y + (myBounce * _root.setspeed1));
speed = 0;
}
}
Instance of Symbol 514 MovieClip in Frame 18
onClipEvent (enterFrame) {
myBounce = 1;
if (_root.car.hitTest(getBounds(_root).xMax, _y, true)) {
_x = (_x - (myBounce * _root.setspeed));
speed = 0;
}
if (_root.car.hitTest(getBounds(_root).xMin, _y, true)) {
_x = (_x + (myBounce * _root.setspeed));
speed = 0;
}
if (_root.car.hitTest(_x, getBounds(_root).yMax, true)) {
_y = (_y - (myBounce * _root.setspeed));
speed = 0;
}
if (_root.car.hitTest(_x, getBounds(_root).yMin, true)) {
_y = (_y + (myBounce * _root.setspeed));
speed = 0;
}
if (_root.carplayer2.hitTest(getBounds(_root).xMax, _y, true)) {
_x = (_x - (myBounce * _root.setspeed1));
speed = 0;
}
if (_root.carplayer2.hitTest(getBounds(_root).xMin, _y, true)) {
_x = (_x + (myBounce * _root.setspeed1));
speed = 0;
}
if (_root.carplayer2.hitTest(_x, getBounds(_root).yMax, true)) {
_y = (_y - (myBounce * _root.setspeed1));
speed = 0;
}
if (_root.carplayer2.hitTest(_x, getBounds(_root).yMin, true)) {
_y = (_y + (myBounce * _root.setspeed1));
speed = 0;
}
}
Instance of Symbol 514 MovieClip in Frame 18
onClipEvent (enterFrame) {
myBounce = 1;
if (_root.car.hitTest(getBounds(_root).xMax, _y, true)) {
_x = (_x - (myBounce * _root.setspeed));
speed = 0;
}
if (_root.car.hitTest(getBounds(_root).xMin, _y, true)) {
_x = (_x + (myBounce * _root.setspeed));
speed = 0;
}
if (_root.car.hitTest(_x, getBounds(_root).yMax, true)) {
_y = (_y - (myBounce * _root.setspeed));
speed = 0;
}
if (_root.car.hitTest(_x, getBounds(_root).yMin, true)) {
_y = (_y + (myBounce * _root.setspeed));
speed = 0;
}
if (_root.carplayer2.hitTest(getBounds(_root).xMax, _y, true)) {
_x = (_x - (myBounce * _root.setspeed1));
speed = 0;
}
if (_root.carplayer2.hitTest(getBounds(_root).xMin, _y, true)) {
_x = (_x + (myBounce * _root.setspeed1));
speed = 0;
}
if (_root.carplayer2.hitTest(_x, getBounds(_root).yMax, true)) {
_y = (_y - (myBounce * _root.setspeed1));
speed = 0;
}
if (_root.carplayer2.hitTest(_x, getBounds(_root).yMin, true)) {
_y = (_y + (myBounce * _root.setspeed1));
speed = 0;
}
}
Instance of Symbol 514 MovieClip in Frame 18
onClipEvent (enterFrame) {
myBounce = 1;
if (_root.car.hitTest(getBounds(_root).xMax, _y, true)) {
_x = (_x - (myBounce * _root.setspeed));
speed = 0;
}
if (_root.car.hitTest(getBounds(_root).xMin, _y, true)) {
_x = (_x + (myBounce * _root.setspeed));
speed = 0;
}
if (_root.car.hitTest(_x, getBounds(_root).yMax, true)) {
_y = (_y - (myBounce * _root.setspeed));
speed = 0;
}
if (_root.car.hitTest(_x, getBounds(_root).yMin, true)) {
_y = (_y + (myBounce * _root.setspeed));
speed = 0;
}
if (_root.carplayer2.hitTest(getBounds(_root).xMax, _y, true)) {
_x = (_x - (myBounce * _root.setspeed1));
speed = 0;
}
if (_root.carplayer2.hitTest(getBounds(_root).xMin, _y, true)) {
_x = (_x + (myBounce * _root.setspeed1));
speed = 0;
}
if (_root.carplayer2.hitTest(_x, getBounds(_root).yMax, true)) {
_y = (_y - (myBounce * _root.setspeed1));
speed = 0;
}
if (_root.carplayer2.hitTest(_x, getBounds(_root).yMin, true)) {
_y = (_y + (myBounce * _root.setspeed1));
speed = 0;
}
}
Instance of Symbol 514 MovieClip in Frame 18
onClipEvent (enterFrame) {
myBounce = 1;
if (_root.car.hitTest(getBounds(_root).xMax, _y, true)) {
_x = (_x - (myBounce * _root.setspeed));
speed = 0;
}
if (_root.car.hitTest(getBounds(_root).xMin, _y, true)) {
_x = (_x + (myBounce * _root.setspeed));
speed = 0;
}
if (_root.car.hitTest(_x, getBounds(_root).yMax, true)) {
_y = (_y - (myBounce * _root.setspeed));
speed = 0;
}
if (_root.car.hitTest(_x, getBounds(_root).yMin, true)) {
_y = (_y + (myBounce * _root.setspeed));
speed = 0;
}
if (_root.carplayer2.hitTest(getBounds(_root).xMax, _y, true)) {
_x = (_x - (myBounce * _root.setspeed1));
speed = 0;
}
if (_root.carplayer2.hitTest(getBounds(_root).xMin, _y, true)) {
_x = (_x + (myBounce * _root.setspeed1));
speed = 0;
}
if (_root.carplayer2.hitTest(_x, getBounds(_root).yMax, true)) {
_y = (_y - (myBounce * _root.setspeed1));
speed = 0;
}
if (_root.carplayer2.hitTest(_x, getBounds(_root).yMin, true)) {
_y = (_y + (myBounce * _root.setspeed1));
speed = 0;
}
}
Instance of Symbol 514 MovieClip in Frame 18
onClipEvent (enterFrame) {
myBounce = 1;
if (_root.car.hitTest(getBounds(_root).xMax, _y, true)) {
_x = (_x - (myBounce * _root.setspeed));
speed = 0;
}
if (_root.car.hitTest(getBounds(_root).xMin, _y, true)) {
_x = (_x + (myBounce * _root.setspeed));
speed = 0;
}
if (_root.car.hitTest(_x, getBounds(_root).yMax, true)) {
_y = (_y - (myBounce * _root.setspeed));
speed = 0;
}
if (_root.car.hitTest(_x, getBounds(_root).yMin, true)) {
_y = (_y + (myBounce * _root.setspeed));
speed = 0;
}
if (_root.carplayer2.hitTest(getBounds(_root).xMax, _y, true)) {
_x = (_x - (myBounce * _root.setspeed1));
speed = 0;
}
if (_root.carplayer2.hitTest(getBounds(_root).xMin, _y, true)) {
_x = (_x + (myBounce * _root.setspeed1));
speed = 0;
}
if (_root.carplayer2.hitTest(_x, getBounds(_root).yMax, true)) {
_y = (_y - (myBounce * _root.setspeed1));
speed = 0;
}
if (_root.carplayer2.hitTest(_x, getBounds(_root).yMin, true)) {
_y = (_y + (myBounce * _root.setspeed1));
speed = 0;
}
}
Instance of Symbol 514 MovieClip in Frame 18
onClipEvent (enterFrame) {
myBounce = 1;
if (_root.car.hitTest(getBounds(_root).xMax, _y, true)) {
_x = (_x - (myBounce * _root.setspeed));
speed = 0;
}
if (_root.car.hitTest(getBounds(_root).xMin, _y, true)) {
_x = (_x + (myBounce * _root.setspeed));
speed = 0;
}
if (_root.car.hitTest(_x, getBounds(_root).yMax, true)) {
_y = (_y - (myBounce * _root.setspeed));
speed = 0;
}
if (_root.car.hitTest(_x, getBounds(_root).yMin, true)) {
_y = (_y + (myBounce * _root.setspeed));
speed = 0;
}
if (_root.carplayer2.hitTest(getBounds(_root).xMax, _y, true)) {
_x = (_x - (myBounce * _root.setspeed1));
speed = 0;
}
if (_root.carplayer2.hitTest(getBounds(_root).xMin, _y, true)) {
_x = (_x + (myBounce * _root.setspeed1));
speed = 0;
}
if (_root.carplayer2.hitTest(_x, getBounds(_root).yMax, true)) {
_y = (_y - (myBounce * _root.setspeed1));
speed = 0;
}
if (_root.carplayer2.hitTest(_x, getBounds(_root).yMin, true)) {
_y = (_y + (myBounce * _root.setspeed1));
speed = 0;
}
}
Instance of Symbol 514 MovieClip in Frame 18
onClipEvent (enterFrame) {
myBounce = 1;
if (_root.car.hitTest(getBounds(_root).xMax, _y, true)) {
_x = (_x - (myBounce * _root.setspeed));
speed = 0;
}
if (_root.car.hitTest(getBounds(_root).xMin, _y, true)) {
_x = (_x + (myBounce * _root.setspeed));
speed = 0;
}
if (_root.car.hitTest(_x, getBounds(_root).yMax, true)) {
_y = (_y - (myBounce * _root.setspeed));
speed = 0;
}
if (_root.car.hitTest(_x, getBounds(_root).yMin, true)) {
_y = (_y + (myBounce * _root.setspeed));
speed = 0;
}
if (_root.carplayer2.hitTest(getBounds(_root).xMax, _y, true)) {
_x = (_x - (myBounce * _root.setspeed1));
speed = 0;
}
if (_root.carplayer2.hitTest(getBounds(_root).xMin, _y, true)) {
_x = (_x + (myBounce * _root.setspeed1));
speed = 0;
}
if (_root.carplayer2.hitTest(_x, getBounds(_root).yMax, true)) {
_y = (_y - (myBounce * _root.setspeed1));
speed = 0;
}
if (_root.carplayer2.hitTest(_x, getBounds(_root).yMin, true)) {
_y = (_y + (myBounce * _root.setspeed1));
speed = 0;
}
}
Instance of Symbol 514 MovieClip in Frame 18
onClipEvent (enterFrame) {
myBounce = 1;
if (_root.car.hitTest(getBounds(_root).xMax, _y, true)) {
_x = (_x - (myBounce * _root.setspeed));
speed = 0;
}
if (_root.car.hitTest(getBounds(_root).xMin, _y, true)) {
_x = (_x + (myBounce * _root.setspeed));
speed = 0;
}
if (_root.car.hitTest(_x, getBounds(_root).yMax, true)) {
_y = (_y - (myBounce * _root.setspeed));
speed = 0;
}
if (_root.car.hitTest(_x, getBounds(_root).yMin, true)) {
_y = (_y + (myBounce * _root.setspeed));
speed = 0;
}
if (_root.carplayer2.hitTest(getBounds(_root).xMax, _y, true)) {
_x = (_x - (myBounce * _root.setspeed1));
speed = 0;
}
if (_root.carplayer2.hitTest(getBounds(_root).xMin, _y, true)) {
_x = (_x + (myBounce * _root.setspeed1));
speed = 0;
}
if (_root.carplayer2.hitTest(_x, getBounds(_root).yMax, true)) {
_y = (_y - (myBounce * _root.setspeed1));
speed = 0;
}
if (_root.carplayer2.hitTest(_x, getBounds(_root).yMin, true)) {
_y = (_y + (myBounce * _root.setspeed1));
speed = 0;
}
}
Instance of Symbol 514 MovieClip in Frame 18
onClipEvent (enterFrame) {
myBounce = 1;
if (_root.car.hitTest(getBounds(_root).xMax, _y, true)) {
_x = (_x - (myBounce * _root.setspeed));
speed = 0;
}
if (_root.car.hitTest(getBounds(_root).xMin, _y, true)) {
_x = (_x + (myBounce * _root.setspeed));
speed = 0;
}
if (_root.car.hitTest(_x, getBounds(_root).yMax, true)) {
_y = (_y - (myBounce * _root.setspeed));
speed = 0;
}
if (_root.car.hitTest(_x, getBounds(_root).yMin, true)) {
_y = (_y + (myBounce * _root.setspeed));
speed = 0;
}
if (_root.carplayer2.hitTest(getBounds(_root).xMax, _y, true)) {
_x = (_x - (myBounce * _root.setspeed1));
speed = 0;
}
if (_root.carplayer2.hitTest(getBounds(_root).xMin, _y, true)) {
_x = (_x + (myBounce * _root.setspeed1));
speed = 0;
}
if (_root.carplayer2.hitTest(_x, getBounds(_root).yMax, true)) {
_y = (_y - (myBounce * _root.setspeed1));
speed = 0;
}
if (_root.carplayer2.hitTest(_x, getBounds(_root).yMin, true)) {
_y = (_y + (myBounce * _root.setspeed1));
speed = 0;
}
}
Instance of Symbol 514 MovieClip in Frame 18
onClipEvent (enterFrame) {
myBounce = 1;
if (_root.car.hitTest(getBounds(_root).xMax, _y, true)) {
_x = (_x - (myBounce * _root.setspeed));
speed = 0;
}
if (_root.car.hitTest(getBounds(_root).xMin, _y, true)) {
_x = (_x + (myBounce * _root.setspeed));
speed = 0;
}
if (_root.car.hitTest(_x, getBounds(_root).yMax, true)) {
_y = (_y - (myBounce * _root.setspeed));
speed = 0;
}
if (_root.car.hitTest(_x, getBounds(_root).yMin, true)) {
_y = (_y + (myBounce * _root.setspeed));
speed = 0;
}
if (_root.carplayer2.hitTest(getBounds(_root).xMax, _y, true)) {
_x = (_x - (myBounce * _root.setspeed1));
speed = 0;
}
if (_root.carplayer2.hitTest(getBounds(_root).xMin, _y, true)) {
_x = (_x + (myBounce * _root.setspeed1));
speed = 0;
}
if (_root.carplayer2.hitTest(_x, getBounds(_root).yMax, true)) {
_y = (_y - (myBounce * _root.setspeed1));
speed = 0;
}
if (_root.carplayer2.hitTest(_x, getBounds(_root).yMin, true)) {
_y = (_y + (myBounce * _root.setspeed1));
speed = 0;
}
}
Instance of Symbol 514 MovieClip in Frame 18
onClipEvent (enterFrame) {
myBounce = 1;
if (_root.car.hitTest(getBounds(_root).xMax, _y, true)) {
_x = (_x - (myBounce * _root.setspeed));
speed = 0;
}
if (_root.car.hitTest(getBounds(_root).xMin, _y, true)) {
_x = (_x + (myBounce * _root.setspeed));
speed = 0;
}
if (_root.car.hitTest(_x, getBounds(_root).yMax, true)) {
_y = (_y - (myBounce * _root.setspeed));
speed = 0;
}
if (_root.car.hitTest(_x, getBounds(_root).yMin, true)) {
_y = (_y + (myBounce * _root.setspeed));
speed = 0;
}
if (_root.carplayer2.hitTest(getBounds(_root).xMax, _y, true)) {
_x = (_x - (myBounce * _root.setspeed1));
speed = 0;
}
if (_root.carplayer2.hitTest(getBounds(_root).xMin, _y, true)) {
_x = (_x + (myBounce * _root.setspeed1));
speed = 0;
}
if (_root.carplayer2.hitTest(_x, getBounds(_root).yMax, true)) {
_y = (_y - (myBounce * _root.setspeed1));
speed = 0;
}
if (_root.carplayer2.hitTest(_x, getBounds(_root).yMin, true)) {
_y = (_y + (myBounce * _root.setspeed1));
speed = 0;
}
}
Instance of Symbol 514 MovieClip in Frame 18
onClipEvent (enterFrame) {
myBounce = 1;
if (_root.car.hitTest(getBounds(_root).xMax, _y, true)) {
_x = (_x - (myBounce * _root.setspeed));
speed = 0;
}
if (_root.car.hitTest(getBounds(_root).xMin, _y, true)) {
_x = (_x + (myBounce * _root.setspeed));
speed = 0;
}
if (_root.car.hitTest(_x, getBounds(_root).yMax, true)) {
_y = (_y - (myBounce * _root.setspeed));
speed = 0;
}
if (_root.car.hitTest(_x, getBounds(_root).yMin, true)) {
_y = (_y + (myBounce * _root.setspeed));
speed = 0;
}
if (_root.carplayer2.hitTest(getBounds(_root).xMax, _y, true)) {
_x = (_x - (myBounce * _root.setspeed1));
speed = 0;
}
if (_root.carplayer2.hitTest(getBounds(_root).xMin, _y, true)) {
_x = (_x + (myBounce * _root.setspeed1));
speed = 0;
}
if (_root.carplayer2.hitTest(_x, getBounds(_root).yMax, true)) {
_y = (_y - (myBounce * _root.setspeed1));
speed = 0;
}
if (_root.carplayer2.hitTest(_x, getBounds(_root).yMin, true)) {
_y = (_y + (myBounce * _root.setspeed1));
speed = 0;
}
}
Instance of Symbol 514 MovieClip in Frame 18
onClipEvent (enterFrame) {
myBounce = 1;
if (_root.car.hitTest(getBounds(_root).xMax, _y, true)) {
_x = (_x - (myBounce * _root.setspeed));
speed = 0;
}
if (_root.car.hitTest(getBounds(_root).xMin, _y, true)) {
_x = (_x + (myBounce * _root.setspeed));
speed = 0;
}
if (_root.car.hitTest(_x, getBounds(_root).yMax, true)) {
_y = (_y - (myBounce * _root.setspeed));
speed = 0;
}
if (_root.car.hitTest(_x, getBounds(_root).yMin, true)) {
_y = (_y + (myBounce * _root.setspeed));
speed = 0;
}
if (_root.carplayer2.hitTest(getBounds(_root).xMax, _y, true)) {
_x = (_x - (myBounce * _root.setspeed1));
speed = 0;
}
if (_root.carplayer2.hitTest(getBounds(_root).xMin, _y, true)) {
_x = (_x + (myBounce * _root.setspeed1));
speed = 0;
}
if (_root.carplayer2.hitTest(_x, getBounds(_root).yMax, true)) {
_y = (_y - (myBounce * _root.setspeed1));
speed = 0;
}
if (_root.carplayer2.hitTest(_x, getBounds(_root).yMin, true)) {
_y = (_y + (myBounce * _root.setspeed1));
speed = 0;
}
}
Instance of Symbol 514 MovieClip in Frame 18
onClipEvent (enterFrame) {
myBounce = 1;
if (_root.car.hitTest(getBounds(_root).xMax, _y, true)) {
_x = (_x - (myBounce * _root.setspeed));
speed = 0;
}
if (_root.car.hitTest(getBounds(_root).xMin, _y, true)) {
_x = (_x + (myBounce * _root.setspeed));
speed = 0;
}
if (_root.car.hitTest(_x, getBounds(_root).yMax, true)) {
_y = (_y - (myBounce * _root.setspeed));
speed = 0;
}
if (_root.car.hitTest(_x, getBounds(_root).yMin, true)) {
_y = (_y + (myBounce * _root.setspeed));
speed = 0;
}
if (_root.carplayer2.hitTest(getBounds(_root).xMax, _y, true)) {
_x = (_x - (myBounce * _root.setspeed1));
speed = 0;
}
if (_root.carplayer2.hitTest(getBounds(_root).xMin, _y, true)) {
_x = (_x + (myBounce * _root.setspeed1));
speed = 0;
}
if (_root.carplayer2.hitTest(_x, getBounds(_root).yMax, true)) {
_y = (_y - (myBounce * _root.setspeed1));
speed = 0;
}
if (_root.carplayer2.hitTest(_x, getBounds(_root).yMin, true)) {
_y = (_y + (myBounce * _root.setspeed1));
speed = 0;
}
}
Instance of Symbol 514 MovieClip in Frame 18
onClipEvent (enterFrame) {
myBounce = 1;
if (_root.car.hitTest(getBounds(_root).xMax, _y, true)) {
_x = (_x - (myBounce * _root.setspeed));
speed = 0;
}
if (_root.car.hitTest(getBounds(_root).xMin, _y, true)) {
_x = (_x + (myBounce * _root.setspeed));
speed = 0;
}
if (_root.car.hitTest(_x, getBounds(_root).yMax, true)) {
_y = (_y - (myBounce * _root.setspeed));
speed = 0;
}
if (_root.car.hitTest(_x, getBounds(_root).yMin, true)) {
_y = (_y + (myBounce * _root.setspeed));
speed = 0;
}
if (_root.carplayer2.hitTest(getBounds(_root).xMax, _y, true)) {
_x = (_x - (myBounce * _root.setspeed1));
speed = 0;
}
if (_root.carplayer2.hitTest(getBounds(_root).xMin, _y, true)) {
_x = (_x + (myBounce * _root.setspeed1));
speed = 0;
}
if (_root.carplayer2.hitTest(_x, getBounds(_root).yMax, true)) {
_y = (_y - (myBounce * _root.setspeed1));
speed = 0;
}
if (_root.carplayer2.hitTest(_x, getBounds(_root).yMin, true)) {
_y = (_y + (myBounce * _root.setspeed1));
speed = 0;
}
}
Instance of Symbol 514 MovieClip in Frame 18
onClipEvent (enterFrame) {
myBounce = 1;
if (_root.car.hitTest(getBounds(_root).xMax, _y, true)) {
_x = (_x - (myBounce * _root.setspeed));
speed = 0;
}
if (_root.car.hitTest(getBounds(_root).xMin, _y, true)) {
_x = (_x + (myBounce * _root.setspeed));
speed = 0;
}
if (_root.car.hitTest(_x, getBounds(_root).yMax, true)) {
_y = (_y - (myBounce * _root.setspeed));
speed = 0;
}
if (_root.car.hitTest(_x, getBounds(_root).yMin, true)) {
_y = (_y + (myBounce * _root.setspeed));
speed = 0;
}
if (_root.carplayer2.hitTest(getBounds(_root).xMax, _y, true)) {
_x = (_x - (myBounce * _root.setspeed1));
speed = 0;
}
if (_root.carplayer2.hitTest(getBounds(_root).xMin, _y, true)) {
_x = (_x + (myBounce * _root.setspeed1));
speed = 0;
}
if (_root.carplayer2.hitTest(_x, getBounds(_root).yMax, true)) {
_y = (_y - (myBounce * _root.setspeed1));
speed = 0;
}
if (_root.carplayer2.hitTest(_x, getBounds(_root).yMin, true)) {
_y = (_y + (myBounce * _root.setspeed1));
speed = 0;
}
}
Instance of Symbol 514 MovieClip in Frame 18
onClipEvent (enterFrame) {
myBounce = 1;
if (_root.car.hitTest(getBounds(_root).xMax, _y, true)) {
_x = (_x - (myBounce * _root.setspeed));
speed = 0;
}
if (_root.car.hitTest(getBounds(_root).xMin, _y, true)) {
_x = (_x + (myBounce * _root.setspeed));
speed = 0;
}
if (_root.car.hitTest(_x, getBounds(_root).yMax, true)) {
_y = (_y - (myBounce * _root.setspeed));
speed = 0;
}
if (_root.car.hitTest(_x, getBounds(_root).yMin, true)) {
_y = (_y + (myBounce * _root.setspeed));
speed = 0;
}
if (_root.carplayer2.hitTest(getBounds(_root).xMax, _y, true)) {
_x = (_x - (myBounce * _root.setspeed1));
speed = 0;
}
if (_root.carplayer2.hitTest(getBounds(_root).xMin, _y, true)) {
_x = (_x + (myBounce * _root.setspeed1));
speed = 0;
}
if (_root.carplayer2.hitTest(_x, getBounds(_root).yMax, true)) {
_y = (_y - (myBounce * _root.setspeed1));
speed = 0;
}
if (_root.carplayer2.hitTest(_x, getBounds(_root).yMin, true)) {
_y = (_y + (myBounce * _root.setspeed1));
speed = 0;
}
}
Instance of Symbol 514 MovieClip in Frame 18
onClipEvent (enterFrame) {
myBounce = 1;
if (_root.car.hitTest(getBounds(_root).xMax, _y, true)) {
_x = (_x - (myBounce * _root.setspeed));
speed = 0;
}
if (_root.car.hitTest(getBounds(_root).xMin, _y, true)) {
_x = (_x + (myBounce * _root.setspeed));
speed = 0;
}
if (_root.car.hitTest(_x, getBounds(_root).yMax, true)) {
_y = (_y - (myBounce * _root.setspeed));
speed = 0;
}
if (_root.car.hitTest(_x, getBounds(_root).yMin, true)) {
_y = (_y + (myBounce * _root.setspeed));
speed = 0;
}
if (_root.carplayer2.hitTest(getBounds(_root).xMax, _y, true)) {
_x = (_x - (myBounce * _root.setspeed1));
speed = 0;
}
if (_root.carplayer2.hitTest(getBounds(_root).xMin, _y, true)) {
_x = (_x + (myBounce * _root.setspeed1));
speed = 0;
}
if (_root.carplayer2.hitTest(_x, getBounds(_root).yMax, true)) {
_y = (_y - (myBounce * _root.setspeed1));
speed = 0;
}
if (_root.carplayer2.hitTest(_x, getBounds(_root).yMin, true)) {
_y = (_y + (myBounce * _root.setspeed1));
speed = 0;
}
}
Instance of Symbol 514 MovieClip in Frame 18
onClipEvent (enterFrame) {
myBounce = 1;
if (_root.car.hitTest(getBounds(_root).xMax, _y, true)) {
_x = (_x - (myBounce * _root.setspeed));
speed = 0;
}
if (_root.car.hitTest(getBounds(_root).xMin, _y, true)) {
_x = (_x + (myBounce * _root.setspeed));
speed = 0;
}
if (_root.car.hitTest(_x, getBounds(_root).yMax, true)) {
_y = (_y - (myBounce * _root.setspeed));
speed = 0;
}
if (_root.car.hitTest(_x, getBounds(_root).yMin, true)) {
_y = (_y + (myBounce * _root.setspeed));
speed = 0;
}
if (_root.carplayer2.hitTest(getBounds(_root).xMax, _y, true)) {
_x = (_x - (myBounce * _root.setspeed1));
speed = 0;
}
if (_root.carplayer2.hitTest(getBounds(_root).xMin, _y, true)) {
_x = (_x + (myBounce * _root.setspeed1));
speed = 0;
}
if (_root.carplayer2.hitTest(_x, getBounds(_root).yMax, true)) {
_y = (_y - (myBounce * _root.setspeed1));
speed = 0;
}
if (_root.carplayer2.hitTest(_x, getBounds(_root).yMin, true)) {
_y = (_y + (myBounce * _root.setspeed1));
speed = 0;
}
}
Instance of Symbol 514 MovieClip in Frame 18
onClipEvent (enterFrame) {
myBounce = 1;
if (_root.car.hitTest(getBounds(_root).xMax, _y, true)) {
_x = (_x - (myBounce * _root.setspeed));
speed = 0;
}
if (_root.car.hitTest(getBounds(_root).xMin, _y, true)) {
_x = (_x + (myBounce * _root.setspeed));
speed = 0;
}
if (_root.car.hitTest(_x, getBounds(_root).yMax, true)) {
_y = (_y - (myBounce * _root.setspeed));
speed = 0;
}
if (_root.car.hitTest(_x, getBounds(_root).yMin, true)) {
_y = (_y + (myBounce * _root.setspeed));
speed = 0;
}
if (_root.carplayer2.hitTest(getBounds(_root).xMax, _y, true)) {
_x = (_x - (myBounce * _root.setspeed1));
speed = 0;
}
if (_root.carplayer2.hitTest(getBounds(_root).xMin, _y, true)) {
_x = (_x + (myBounce * _root.setspeed1));
speed = 0;
}
if (_root.carplayer2.hitTest(_x, getBounds(_root).yMax, true)) {
_y = (_y - (myBounce * _root.setspeed1));
speed = 0;
}
if (_root.carplayer2.hitTest(_x, getBounds(_root).yMin, true)) {
_y = (_y + (myBounce * _root.setspeed1));
speed = 0;
}
}
Instance of Symbol 514 MovieClip in Frame 18
onClipEvent (enterFrame) {
myBounce = 1;
if (_root.car.hitTest(getBounds(_root).xMax, _y, true)) {
_x = (_x - (myBounce * _root.setspeed));
speed = 0;
}
if (_root.car.hitTest(getBounds(_root).xMin, _y, true)) {
_x = (_x + (myBounce * _root.setspeed));
speed = 0;
}
if (_root.car.hitTest(_x, getBounds(_root).yMax, true)) {
_y = (_y - (myBounce * _root.setspeed));
speed = 0;
}
if (_root.car.hitTest(_x, getBounds(_root).yMin, true)) {
_y = (_y + (myBounce * _root.setspeed));
speed = 0;
}
if (_root.carplayer2.hitTest(getBounds(_root).xMax, _y, true)) {
_x = (_x - (myBounce * _root.setspeed1));
speed = 0;
}
if (_root.carplayer2.hitTest(getBounds(_root).xMin, _y, true)) {
_x = (_x + (myBounce * _root.setspeed1));
speed = 0;
}
if (_root.carplayer2.hitTest(_x, getBounds(_root).yMax, true)) {
_y = (_y - (myBounce * _root.setspeed1));
speed = 0;
}
if (_root.carplayer2.hitTest(_x, getBounds(_root).yMin, true)) {
_y = (_y + (myBounce * _root.setspeed1));
speed = 0;
}
}
Instance of Symbol 514 MovieClip in Frame 18
onClipEvent (enterFrame) {
myBounce = 1;
if (_root.car.hitTest(getBounds(_root).xMax, _y, true)) {
_x = (_x - (myBounce * _root.setspeed));
speed = 0;
}
if (_root.car.hitTest(getBounds(_root).xMin, _y, true)) {
_x = (_x + (myBounce * _root.setspeed));
speed = 0;
}
if (_root.car.hitTest(_x, getBounds(_root).yMax, true)) {
_y = (_y - (myBounce * _root.setspeed));
speed = 0;
}
if (_root.car.hitTest(_x, getBounds(_root).yMin, true)) {
_y = (_y + (myBounce * _root.setspeed));
speed = 0;
}
if (_root.carplayer2.hitTest(getBounds(_root).xMax, _y, true)) {
_x = (_x - (myBounce * _root.setspeed1));
speed = 0;
}
if (_root.carplayer2.hitTest(getBounds(_root).xMin, _y, true)) {
_x = (_x + (myBounce * _root.setspeed1));
speed = 0;
}
if (_root.carplayer2.hitTest(_x, getBounds(_root).yMax, true)) {
_y = (_y - (myBounce * _root.setspeed1));
speed = 0;
}
if (_root.carplayer2.hitTest(_x, getBounds(_root).yMin, true)) {
_y = (_y + (myBounce * _root.setspeed1));
speed = 0;
}
}
Instance of Symbol 514 MovieClip in Frame 18
onClipEvent (enterFrame) {
myBounce = 1;
if (_root.car.hitTest(getBounds(_root).xMax, _y, true)) {
_x = (_x - (myBounce * _root.setspeed));
speed = 0;
}
if (_root.car.hitTest(getBounds(_root).xMin, _y, true)) {
_x = (_x + (myBounce * _root.setspeed));
speed = 0;
}
if (_root.car.hitTest(_x, getBounds(_root).yMax, true)) {
_y = (_y - (myBounce * _root.setspeed));
speed = 0;
}
if (_root.car.hitTest(_x, getBounds(_root).yMin, true)) {
_y = (_y + (myBounce * _root.setspeed));
speed = 0;
}
if (_root.carplayer2.hitTest(getBounds(_root).xMax, _y, true)) {
_x = (_x - (myBounce * _root.setspeed1));
speed = 0;
}
if (_root.carplayer2.hitTest(getBounds(_root).xMin, _y, true)) {
_x = (_x + (myBounce * _root.setspeed1));
speed = 0;
}
if (_root.carplayer2.hitTest(_x, getBounds(_root).yMax, true)) {
_y = (_y - (myBounce * _root.setspeed1));
speed = 0;
}
if (_root.carplayer2.hitTest(_x, getBounds(_root).yMin, true)) {
_y = (_y + (myBounce * _root.setspeed1));
speed = 0;
}
}
Instance of Symbol 203 MovieClip "car" in Frame 18
onClipEvent (load) {
_root.sheildon = 0;
}
onClipEvent (enterFrame) {
trace(Key.getCode());
if (_root.health1 <= 0) {
this.gotoAndPlay("dead");
}
if (_root.moneycollected == 10) {
_root.levelcomplete = "complete";
}
if (speed >= 0) {
_root.setspeed = speed;
} else {
_root.setspeed = speed * -1;
}
if (Key.isDown(38)) {
if (speed == 0) {
_root.enginesound.gotoAndStop("idle");
}
if (Key.isDown(32)) {
skidsound = new Sound(this);
skidsound.attachSound("skidsound");
skidsound.start(0, 1);
}
if (Key.isDown(65)) {
if (_root.noslevel > 0) {
speed = speed + 2;
_root.noslevel = _root.noslevel - 1;
} else {
speed = speed + 1;
}
} else {
speed = speed + 1;
}
_root.enginesound.gotoAndStop("up");
} else if (Key.isDown(40)) {
speed = speed - 1;
if (speed < -5) {
_root.enginesound.gotoAndStop("up");
}
} else {
_root.enginesound.gotoAndStop("down");
speed = speed * 1;
}
if (Math.abs(speed) > 100) {
speed = speed * 0.6;
}
if (Key.isDown(37)) {
if (Key.isDown(32)) {
if (speed >= 0) {
speed = speed - 0.1;
treadcount++;
duplicateMovieClip (_root.tread, "tread" + treadcount, (treadcount % 100) + 1000);
if (_rotation < -90) {
_rotation = (_rotation - (_root.setspeed * 1.4));
_x = (_x - (_root.setspeed / 1.7));
if (speed > 5) {
speed = speed - 1;
}
}
if (_rotation >= 90) {
_rotation = (_rotation - (_root.setspeed * 1.4));
_y = (_y + (_root.setspeed / 1.7));
if (speed > 5) {
speed = speed - 1;
}
}
if ((_rotation > 0) && (_rotation < 90)) {
_rotation = (_rotation - (_root.setspeed * 1.4));
_x = (_x + (_root.setspeed / 1.7));
if (speed > 5) {
speed = speed - 1;
}
}
if ((_rotation < 0) && (_rotation > -90)) {
_rotation = (_rotation - (_root.setspeed * 1.4));
_y = (_y - (_root.setspeed / 1.7));
if (speed > 5) {
speed = speed - 1;
}
}
}
} else {
_rotation = (_rotation - speed);
}
}
if (Key.isDown(83)) {
if (_root.sheildsleft > 0) {
if (_root.sheildon == 0) {
_root.car.gotoAndPlay("sheild");
_root.sheildsleft = _root.sheildsleft - 1;
}
}
}
if (Key.isDown(39)) {
if (Key.isDown(32)) {
if (speed >= 0) {
speed = speed - 0.1;
treadcount++;
duplicateMovieClip (_root.tread, "tread" + treadcount, (treadcount % 100) + 1000);
if (_rotation < -90) {
_rotation = (_rotation + (_root.setspeed * 1.4));
_y = (_y + (_root.setspeed / 1.7));
if (speed > 5) {
speed = speed - 1;
}
}
if (_rotation >= 90) {
_rotation = (_rotation + (_root.setspeed * 1.4));
_x = (_x + (_root.setspeed / 1.7));
if (speed > 5) {
speed = speed - 1;
}
}
if ((_rotation > 0) && (_rotation < 90)) {
_rotation = (_rotation + (_root.setspeed * 1.4));
_y = (_y - (_root.setspeed / 1.7));
if (speed > 5) {
speed = speed - 1;
}
}
if ((_rotation < 0) && (_rotation > -90)) {
_rotation = (_rotation + (_root.setspeed * 1.4));
_x = (_x - (_root.setspeed / 1.7));
if (speed > 5) {
speed = speed - 1;
}
}
}
} else {
_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.3;
}
myBounce = (_root.setspeed * 0.8) + 2;
if (_root.walls.hitTest(getBounds(_root).xMax, _y, true)) {
_x = (_x - myBounce);
speed = 0;
}
if (_root.walls.hitTest(getBounds(_root).xMin, _y, true)) {
_x = (_x + myBounce);
speed = 0;
}
if (_root.walls.hitTest(_x, getBounds(_root).yMax, true)) {
_y = (_y - myBounce);
speed = 0;
}
if (_root.walls.hitTest(_x, getBounds(_root).yMin, true)) {
_y = (_y + myBounce);
speed = 0;
}
if (_root.carplayer2.hitTest(getBounds(_root).xMax, _y, true)) {
_x = (_x - myBounce);
speed = 0;
}
if (_root.carplayer2.hitTest(getBounds(_root).xMin, _y, true)) {
_x = (_x + myBounce);
speed = 0;
}
if (_root.carplayer2.hitTest(_x, getBounds(_root).yMax, true)) {
_y = (_y - myBounce);
speed = 0;
}
if (_root.carplayer2.hitTest(_x, getBounds(_root).yMin, true)) {
_y = (_y + myBounce);
speed = 0;
}
if (_root.cars.hitTest(getBounds(_root).xMax, _y, true)) {
_x = (_x - myBounce);
speed = 0;
}
if (_root.cars.hitTest(getBounds(_root).xMin, _y, true)) {
_x = (_x + myBounce);
speed = 0;
}
if (_root.cars.hitTest(_x, getBounds(_root).yMax, true)) {
_y = (_y - myBounce);
speed = 0;
}
if (_root.cars.hitTest(_x, getBounds(_root).yMin, true)) {
_y = (_y + myBounce);
speed = 0;
}
if (_root.gun.hitTest(getBounds(_root).xMax, _y, true)) {
_x = (_x - myBounce);
speed = 0;
}
if (_root.gun.hitTest(getBounds(_root).xMin, _y, true)) {
_x = (_x + myBounce);
speed = 0;
}
if (_root.gun.hitTest(_x, getBounds(_root).yMax, true)) {
_y = (_y - myBounce);
speed = 0;
}
if (_root.gun.hitTest(_x, getBounds(_root).yMin, true)) {
_y = (_y + myBounce);
speed = 0;
}
if (_root.traps.trap1.hitTest(getBounds(_root).xMax, _y, true)) {
_rotation = (_rotation - (40 + speed));
speed = speed + 5;
this.play();
}
if (_root.traps.trap1.hitTest(getBounds(_root).xMin, _y, true)) {
_rotation = (_rotation - (40 + speed));
speed = speed + 5;
this.play();
}
if (_root.traps.trap1.hitTest(_x, getBounds(_root).yMax, true)) {
_rotation = (_rotation - (40 + speed));
speed = speed + 5;
this.play();
}
if (_root.traps.trap1.hitTest(_x, getBounds(_root).yMin, true)) {
_rotation = (_rotation - (40 + speed));
speed = speed + 5;
this.play();
}
if (this.hitTest(_root.orb2.zap)) {
this.play();
}
}
Instance of Symbol 518 MovieClip in Frame 18
onClipEvent (enterFrame) {
if (this.hitTest(_root.car)) {
_root.ended = 1;
_root.car._y = -2000;
_root.car._x = 200;
_root.player1score = _root.player1score + _root.roundscore;
_root.endlevel.play();
}
}
Frame 19
local_data = SharedObject.getLocal("user_data");
local_data.data.user_level = _root._currentframe;
local_data.data.user_difficulty = _root.difficulty;
local_data.flush();
if (_root.health1 < 40) {
_root.health1 = _root.health1 + 5;
}
_root.ended = 0;
_root.roundscore = 15000;
_root.levelcomplete = "incomplete";
_root.moneycollected = 0;
_root.enemydead1 = 0;
_root.enemy1.gotoAndStop(1);
_root.car.gotoAndPlay(1);
_root.car._x = 550;
_root.car._y = 220;
_root.car._rotation = 0;
_root.noson = 0;
_root.mines.gotoAndPlay(random(25) + 1);
_root.laps = 0;
_root.reloadmissile = 0;
_root.money.gotoAndPlay(random(25) + 1);
stop();
Instance of Symbol 250 MovieClip "orb" in Frame 19
onClipEvent (enterFrame) {
myBounce = 5;
myRadians = Math.atan2(_root.car._y - this._y, _root.car._x - this._x);
myDegrees = Math.round((myRadians * 180) / Math.PI);
_root.yChange = Math.round(_root.car._y - this._y);
_root.xChange = Math.round(_root.car._x - this._x);
_root.yMove = Math.round(_root.yChange / 50);
_root.xMove = Math.round(_root.xChange / 50);
this._y = this._y + _root.yMove;
this._x = this._x + _root.xMove;
this._rotation = myDegrees + 90;
if (_root.cars.hitTest(getBounds(_root).xMax, _y, true)) {
_x = (_x - myBounce);
}
if (_root.cars.hitTest(getBounds(_root).xMin, _y, true)) {
_x = (_x + myBounce);
}
if (_root.cars.hitTest(_x, getBounds(_root).yMax, true)) {
_y = (_y - myBounce);
}
if (_root.cars.hitTest(_x, getBounds(_root).yMin, true)) {
_y = (_y + myBounce);
}
if (_root.orb.hitTest(_root.car)) {
this.play();
}
}
Instance of Symbol 404 MovieClip "gun" in Frame 19
onClipEvent (enterFrame) {
myRadians = Math.atan2(_root.car._y - this._y, _root.car._x - this._x);
myDegrees = Math.round((myRadians * 180) / Math.PI);
_root.yChange = Math.round(_root.car._y - this._y);
_root.xChange = Math.round(_root.car._x - this._x);
_root.yMove = Math.round(_root.yChange / 20);
_root.xMove = Math.round(_root.xChange / 20);
this._rotation = myDegrees + 90;
}
Instance of Symbol 426 MovieClip "rocket" in Frame 19
onClipEvent (load) {
_root.missileexploded = 1;
}
onClipEvent (enterFrame) {
if (_root.cars.hitTest(getBounds(_root).xMax, _y, true)) {
_root.rocket.gotoAndStop("exploded");
rocketjet.stop();
}
if (_root.cars.hitTest(getBounds(_root).xMin, _y, true)) {
_root.rocket.gotoAndStop("exploded");
rocketjet.stop();
}
if (_root.cars.hitTest(_x, getBounds(_root).yMax, true)) {
_root.rocket.gotoAndStop("exploded");
rocketjet.stop();
}
if (_root.cars.hitTest(_x, getBounds(_root).yMin, true)) {
_root.rocket.gotoAndStop("exploded");
rocketjet.stop();
}
if (this.hitTest(_root.car)) {
if (_root.missileexploded != 1) {
_root.car.play();
rocketjet.stop();
_root.rocket.gotoAndStop("exploded");
}
}
if (_root.missileexploded != 1) {
myRadians = Math.atan2(_root.car._y - this._y, _root.car._x - this._x);
myDegrees = Math.round((myRadians * 180) / Math.PI);
_root.yChange = Math.round(_root.car._y - this._y);
_root.xChange = Math.round(_root.car._x - this._x);
_root.yMove = Math.round((_root.yChange / 20) * 1.5);
_root.xMove = Math.round((_root.xChange / 20) * 1.5);
this._y = this._y + _root.yMove;
this._x = this._x + _root.xMove;
this._rotation = myDegrees + 90;
} else {
rocketjet.stop();
if (_root.reloadmissile < 90) {
_root.reloadmissile = _root.reloadmissile + 1;
} else {
this._x = _root.gun._x;
this._y = _root.gun._y;
_root.missileexploded = 0;
_root.missilelaunch = new Sound(this);
_root.missilelaunch.attachSound("_root.missilelaunch");
missilelaunch.start(0, 1);
rocketjet = new Sound(this);
rocketjet.attachSound("rocketjet");
rocketjet.start(0, 10);
_root.rocket.gotoAndPlay(1);
}
}
}
Frame 20
local_data = SharedObject.getLocal("user_data");
local_data.data.user_level = _root._currentframe;
local_data.data.user_difficulty = _root.difficulty;
local_data.flush();
if (_root.health1 < 40) {
_root.health1 = _root.health1 + 5;
}
_root.ended = 0;
_root.mines.gotoAndPlay(random(25) + 1);
_root.roundscore = 15000;
_root.levelcomplete = "incomplete";
_root.moneycollected = 0;
_root.enemydead1 = 0;
_root.enemy1.gotoAndStop(1);
_root.car.gotoAndPlay(1);
_root.car._x = 550;
_root.car._y = 220;
_root.car._rotation = 0;
_root.noson = 0;
_root.laps = 0;
_root.reloadmissile = 0;
_root.money.gotoAndPlay(random(25) + 1);
stop();
Instance of Symbol 97 MovieClip "enemy1" in Frame 20
onClipEvent (enterFrame) {
if (this.hitTest(_root.car)) {
this.play();
}
if (_root.enemydead1 != 1) {
myRadians = Math.atan2(_root.car._y - this._y, _root.car._x - this._x);
myDegrees = Math.round((myRadians * 180) / Math.PI);
_root.yChange = Math.round(_root.car._y - this._y);
_root.xChange = Math.round(_root.car._x - this._x);
_root.yMove = Math.round(_root.yChange / 20);
_root.xMove = Math.round(_root.xChange / 20);
this._rotation = myDegrees + 90;
}
}
Instance of Symbol 141 MovieClip "rocket3" in Frame 20
onClipEvent (load) {
_root.missileexploded3 = 1;
}
onClipEvent (enterFrame) {
if (_root.enemydead1 != 1) {
if (_root.cars.hitTest(getBounds(_root).xMax, _y, true)) {
_root.rocket3.gotoAndStop("exploded");
rocketjet.stop();
}
if (_root.cars.hitTest(getBounds(_root).xMin, _y, true)) {
_root.rocket3.gotoAndStop("exploded");
rocketjet.stop();
}
if (_root.cars.hitTest(_x, getBounds(_root).yMax, true)) {
_root.rocket3.gotoAndStop("exploded");
rocketjet.stop();
}
if (_root.cars.hitTest(_x, getBounds(_root).yMin, true)) {
_root.rocket3.gotoAndStop("exploded");
rocketjet.stop();
}
if (this.hitTest(_root.car)) {
if (_root.missileexploded3 != 1) {
_root.car.play();
_root.rocket3.gotoAndStop("exploded");
rocketjet.stop();
}
}
if (_root.missileexploded3 != 1) {
myRadians = Math.atan2(_root.car._y - this._y, _root.car._x - this._x);
myDegrees = Math.round((myRadians * 180) / Math.PI);
_root.yChange = Math.round(_root.car._y - this._y);
_root.xChange = Math.round(_root.car._x - this._x);
_root.yMove = Math.round(_root.yChange / 15);
_root.xMove = Math.round(_root.xChange / 15);
this._y = this._y + _root.yMove;
this._x = this._x + _root.xMove;
this._rotation = myDegrees + 90;
} else {
rocketjet.stop();
if (_root.reloadmissile3 < 110) {
_root.reloadmissile3 = _root.reloadmissile3 + 1;
} else {
this._x = _root.enemy1._x;
this._y = _root.enemy1._y;
_root.missileexploded3 = 0;
_root.missilelaunch = new Sound(this);
_root.missilelaunch.attachSound("_root.missilelaunch");
missilelaunch.start(0, 1);
rocketjet = new Sound(this);
rocketjet.attachSound("rocketjet");
rocketjet.start(0, 10);
_root.rocket3.gotoAndPlay(1);
}
}
}
}
Instance of Symbol 265 MovieClip "orb2" in Frame 20
onClipEvent (enterFrame) {
myBounce = 5;
myRadians = Math.atan2(_root.car._y - this._y, _root.car._x - this._x);
myDegrees = Math.round((myRadians * 180) / Math.PI);
_root.yChange = Math.round(_root.car._y - this._y);
_root.xChange = Math.round(_root.car._x - this._x);
_root.yMove = Math.round(_root.yChange / 120);
_root.xMove = Math.round(_root.xChange / 120);
this._y = this._y + _root.yMove;
this._x = this._x + _root.xMove;
this._rotation = myDegrees + 90;
if (_root.cars.hitTest(getBounds(_root).xMax, _y, true)) {
_x = (_x - myBounce);
}
if (_root.cars.hitTest(getBounds(_root).xMin, _y, true)) {
_x = (_x + myBounce);
}
if (_root.cars.hitTest(_x, getBounds(_root).yMax, true)) {
_y = (_y - myBounce);
}
if (_root.cars.hitTest(_x, getBounds(_root).yMin, true)) {
_y = (_y + myBounce);
}
if (_root.orb2.hitTest(_root.car)) {
this.play();
}
}
Frame 21
local_data = SharedObject.getLocal("user_data");
local_data.data.user_level = _root._currentframe;
local_data.data.user_difficulty = _root.difficulty;
local_data.flush();
if (_root.health1 < 40) {
_root.health1 = _root.health1 + 5;
}
_root.ended = 0;
_root.mines.gotoAndPlay(random(25) + 1);
_root.roundscore = 15000;
_root.levelcomplete = "incomplete";
_root.moneycollected = 0;
_root.enemydead1 = 0;
_root.enemy1.gotoAndStop(1);
_root.car.gotoAndPlay(1);
_root.car._x = 550;
_root.car._y = 180;
_root.car._rotation = 180;
_root.noson = 0;
_root.laps = 0;
_root.reloadmissile = 0;
_root.money.gotoAndPlay(random(25) + 1);
stop();
Instance of Symbol 250 MovieClip "orb" in Frame 21
onClipEvent (enterFrame) {
myBounce = 5;
myRadians = Math.atan2(_root.car._y - this._y, _root.car._x - this._x);
myDegrees = Math.round((myRadians * 180) / Math.PI);
_root.yChange = Math.round(_root.car._y - this._y);
_root.xChange = Math.round(_root.car._x - this._x);
_root.yMove = Math.round(_root.yChange / 50);
_root.xMove = Math.round(_root.xChange / 50);
this._y = this._y + _root.yMove;
this._x = this._x + _root.xMove;
this._rotation = myDegrees + 90;
if (_root.cars.hitTest(getBounds(_root).xMax, _y, true)) {
_x = (_x - myBounce);
}
if (_root.cars.hitTest(getBounds(_root).xMin, _y, true)) {
_x = (_x + myBounce);
}
if (_root.cars.hitTest(_x, getBounds(_root).yMax, true)) {
_y = (_y - myBounce);
}
if (_root.cars.hitTest(_x, getBounds(_root).yMin, true)) {
_y = (_y + myBounce);
}
if (_root.orb.hitTest(_root.car)) {
this.play();
}
}
Frame 22
local_data = SharedObject.getLocal("user_data");
local_data.data.user_level = _root._currentframe;
local_data.data.user_difficulty = _root.difficulty;
local_data.flush();
if (_root.health1 < 40) {
_root.health1 = _root.health1 + 5;
}
_root.ended = 0;
_root.mines.gotoAndPlay(random(25) + 1);
_root.roundscore = 15000;
_root.levelcomplete = "incomplete";
_root.moneycollected = 0;
_root.enemydead1 = 0;
_root.enemy1.gotoAndStop(1);
_root.car.gotoAndPlay(1);
_root.car._x = 550;
_root.car._y = 180;
_root.car._rotation = 180;
_root.noson = 0;
_root.laps = 0;
_root.reloadmissile = 0;
_root.money.gotoAndPlay(random(25) + 1);
stop();
Instance of Symbol 265 MovieClip "orb2" in Frame 22
onClipEvent (enterFrame) {
myBounce = 5;
myRadians = Math.atan2(_root.car._y - this._y, _root.car._x - this._x);
myDegrees = Math.round((myRadians * 180) / Math.PI);
_root.yChange = Math.round(_root.car._y - this._y);
_root.xChange = Math.round(_root.car._x - this._x);
_root.yMove = Math.round(_root.yChange / 120);
_root.xMove = Math.round(_root.xChange / 60);
this._y = this._y + _root.yMove;
this._x = this._x + _root.xMove;
this._rotation = myDegrees + 90;
if (_root.cars.hitTest(getBounds(_root).xMax, _y, true)) {
_x = (_x - myBounce);
}
if (_root.cars.hitTest(getBounds(_root).xMin, _y, true)) {
_x = (_x + myBounce);
}
if (_root.cars.hitTest(_x, getBounds(_root).yMax, true)) {
_y = (_y - myBounce);
}
if (_root.cars.hitTest(_x, getBounds(_root).yMin, true)) {
_y = (_y + myBounce);
}
if (_root.orb2.hitTest(_root.car)) {
this.play();
}
}
Frame 23
_root.roundscore = 0;
stop();
Frame 24
local_data = SharedObject.getLocal("user_data");
local_data.data.user_level = _root._currentframe;
local_data.data.user_difficulty = _root.difficulty;
local_data.flush();
_root.gateswitch.gotoAndStop(1);
_root.mines.gotoAndPlay(random(25) + 1);
_root.roundscore = 15000;
_root.ended = 0;
_root.buttonon = 0;
_root.levelcomplete = "incomplete";
_root.noson = 0;
_root.moneycollected = 0;
_root.enemydead1 = 0;
_root.enemy1.gotoAndStop(1);
_root.car._x = 598;
_root.car._y = 380;
_root.car._rotation = 0;
_root.reloadmissile = 0;
_root.money.gotoAndPlay(random(25) + 1);
stop();
Instance of Symbol 612 MovieClip "traps" in Frame 24
onClipEvent (load) {
this.gotoAndPlay(random(3) + 1);
}
Instance of Symbol 616 MovieClip "gateswitch" in Frame 24
onClipEvent (enterFrame) {
if (this.hitTest(_root.car)) {
this.play();
}
}
Instance of Symbol 203 MovieClip "car" in Frame 24
onClipEvent (load) {
_root.sheildon = 0;
}
onClipEvent (enterFrame) {
trace(Key.getCode());
if (_root.health1 <= 0) {
this.gotoAndPlay("dead");
}
if (_root.moneycollected == 10) {
_root.levelcomplete = "complete";
}
if (speed >= 0) {
_root.setspeed = speed;
} else {
_root.setspeed = speed * -1;
}
if (Key.isDown(38)) {
if (speed == 0) {
_root.enginesound.gotoAndStop("idle");
}
if (Key.isDown(32)) {
skidsound = new Sound(this);
skidsound.attachSound("skidsound");
skidsound.start(0, 1);
}
if (Key.isDown(65)) {
if (_root.noslevel > 0) {
speed = speed + 2;
_root.noslevel = _root.noslevel - 1;
} else {
speed = speed + 1;
}
} else {
speed = speed + 1;
}
_root.enginesound.gotoAndStop("up");
} else if (Key.isDown(40)) {
speed = speed - 1;
if (speed < -5) {
_root.enginesound.gotoAndStop("up");
}
} else {
_root.enginesound.gotoAndStop("down");
speed = speed * 1;
}
if (Math.abs(speed) > 100) {
speed = speed * 0.6;
}
if (Key.isDown(37)) {
if (Key.isDown(32)) {
if (speed >= 0) {
speed = speed - 0.1;
treadcount++;
duplicateMovieClip (_root.tread, "tread" + treadcount, (treadcount % 100) + 1000);
if (_rotation < -90) {
_rotation = (_rotation - (_root.setspeed * 1.4));
_x = (_x - (_root.setspeed / 1.7));
if (speed > 5) {
speed = speed - 1;
}
}
if (_rotation >= 90) {
_rotation = (_rotation - (_root.setspeed * 1.4));
_y = (_y + (_root.setspeed / 1.7));
if (speed > 5) {
speed = speed - 1;
}
}
if ((_rotation > 0) && (_rotation < 90)) {
_rotation = (_rotation - (_root.setspeed * 1.4));
_x = (_x + (_root.setspeed / 1.7));
if (speed > 5) {
speed = speed - 1;
}
}
if ((_rotation < 0) && (_rotation > -90)) {
_rotation = (_rotation - (_root.setspeed * 1.4));
_y = (_y - (_root.setspeed / 1.7));
if (speed > 5) {
speed = speed - 1;
}
}
}
} else {
_rotation = (_rotation - speed);
}
}
if (Key.isDown(83)) {
if (_root.sheildsleft > 0) {
if (_root.sheildon == 0) {
_root.car.gotoAndPlay("sheild");
_root.sheildsleft = _root.sheildsleft - 1;
}
}
}
if (Key.isDown(39)) {
if (Key.isDown(32)) {
if (speed >= 0) {
speed = speed - 0.1;
treadcount++;
duplicateMovieClip (_root.tread, "tread" + treadcount, (treadcount % 100) + 1000);
if (_rotation < -90) {
_rotation = (_rotation + (_root.setspeed * 1.4));
_y = (_y + (_root.setspeed / 1.7));
if (speed > 5) {
speed = speed - 1;
}
}
if (_rotation >= 90) {
_rotation = (_rotation + (_root.setspeed * 1.4));
_x = (_x + (_root.setspeed / 1.7));
if (speed > 5) {
speed = speed - 1;
}
}
if ((_rotation > 0) && (_rotation < 90)) {
_rotation = (_rotation + (_root.setspeed * 1.4));
_y = (_y - (_root.setspeed / 1.7));
if (speed > 5) {
speed = speed - 1;
}
}
if ((_rotation < 0) && (_rotation > -90)) {
_rotation = (_rotation + (_root.setspeed * 1.4));
_x = (_x - (_root.setspeed / 1.7));
if (speed > 5) {
speed = speed - 1;
}
}
}
} else {
_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.3;
}
myBounce = (_root.setspeed * 0.8) + 2;
if (_root.walls.hitTest(getBounds(_root).xMax, _y, true)) {
_x = (_x - myBounce);
speed = 0;
}
if (_root.walls.hitTest(getBounds(_root).xMin, _y, true)) {
_x = (_x + myBounce);
speed = 0;
}
if (_root.walls.hitTest(_x, getBounds(_root).yMax, true)) {
_y = (_y - myBounce);
speed = 0;
}
if (_root.walls.hitTest(_x, getBounds(_root).yMin, true)) {
_y = (_y + myBounce);
speed = 0;
}
if (_root.carplayer2.hitTest(getBounds(_root).xMax, _y, true)) {
_x = (_x - myBounce);
speed = 0;
}
if (_root.carplayer2.hitTest(getBounds(_root).xMin, _y, true)) {
_x = (_x + myBounce);
speed = 0;
}
if (_root.carplayer2.hitTest(_x, getBounds(_root).yMax, true)) {
_y = (_y - myBounce);
speed = 0;
}
if (_root.carplayer2.hitTest(_x, getBounds(_root).yMin, true)) {
_y = (_y + myBounce);
speed = 0;
}
if (_root.cars.hitTest(getBounds(_root).xMax, _y, true)) {
_x = (_x - myBounce);
speed = 0;
}
if (_root.cars.hitTest(getBounds(_root).xMin, _y, true)) {
_x = (_x + myBounce);
speed = 0;
}
if (_root.cars.hitTest(_x, getBounds(_root).yMax, true)) {
_y = (_y - myBounce);
speed = 0;
}
if (_root.cars.hitTest(_x, getBounds(_root).yMin, true)) {
_y = (_y + myBounce);
speed = 0;
}
if (_root.gun.hitTest(getBounds(_root).xMax, _y, true)) {
_x = (_x - myBounce);
speed = 0;
}
if (_root.gun.hitTest(getBounds(_root).xMin, _y, true)) {
_x = (_x + myBounce);
speed = 0;
}
if (_root.gun.hitTest(_x, getBounds(_root).yMax, true)) {
_y = (_y - myBounce);
speed = 0;
}
if (_root.gun.hitTest(_x, getBounds(_root).yMin, true)) {
_y = (_y + myBounce);
speed = 0;
}
if (_root.traps.trap1.hitTest(getBounds(_root).xMax, _y, true)) {
_rotation = (_rotation - (40 + speed));
speed = speed + 5;
this.play();
}
if (_root.traps.trap1.hitTest(getBounds(_root).xMin, _y, true)) {
_rotation = (_rotation - (40 + speed));
speed = speed + 5;
this.play();
}
if (_root.traps.trap1.hitTest(_x, getBounds(_root).yMax, true)) {
_rotation = (_rotation - (40 + speed));
speed = speed + 5;
this.play();
}
if (_root.traps.trap1.hitTest(_x, getBounds(_root).yMin, true)) {
_rotation = (_rotation - (40 + speed));
speed = speed + 5;
this.play();
}
if (this.hitTest(_root.orb2.zap)) {
this.play();
}
}
Instance of Symbol 518 MovieClip in Frame 24
onClipEvent (enterFrame) {
if (this.hitTest(_root.car)) {
_root.ended = 1;
_root.car._y = -2000;
_root.car._x = 200;
_root.player1score = _root.player1score + _root.roundscore;
_root.endlevel.play();
}
}
Frame 25
local_data = SharedObject.getLocal("user_data");
local_data.data.user_level = _root._currentframe;
local_data.data.user_difficulty = _root.difficulty;
local_data.flush();
if (_root.health1 < 40) {
_root.health1 = _root.health1 + 5;
}
_root.gateswitch.gotoAndStop(1);
_root.mines.gotoAndPlay(random(25) + 1);
_root.roundscore = 15000;
_root.ended = 0;
_root.buttonon = 0;
_root.levelcomplete = "incomplete";
_root.noson = 0;
_root.moneycollected = 0;
_root.enemydead1 = 0;
_root.enemy1.gotoAndStop(1);
_root.car._x = 598;
_root.car._y = 380;
_root.car._rotation = 0;
_root.reloadmissile = 0;
_root.money.gotoAndPlay(random(25) + 1);
stop();
Instance of Symbol 97 MovieClip "enemy1" in Frame 25
onClipEvent (enterFrame) {
if (this.hitTest(_root.car)) {
this.play();
}
if (_root.enemydead1 != 1) {
myRadians = Math.atan2(_root.car._y - this._y, _root.car._x - this._x);
myDegrees = Math.round((myRadians * 180) / Math.PI);
_root.yChange = Math.round(_root.car._y - this._y);
_root.xChange = Math.round(_root.car._x - this._x);
_root.yMove = Math.round(_root.yChange / 20);
_root.xMove = Math.round(_root.xChange / 20);
this._rotation = myDegrees + 90;
}
}
Instance of Symbol 141 MovieClip "rocket3" in Frame 25
onClipEvent (load) {
_root.missileexploded3 = 1;
}
onClipEvent (enterFrame) {
if (_root.enemydead1 != 1) {
if (_root.cars.hitTest(getBounds(_root).xMax, _y, true)) {
_root.rocket3.gotoAndStop("exploded");
rocketjet.stop();
}
if (_root.cars.hitTest(getBounds(_root).xMin, _y, true)) {
_root.rocket3.gotoAndStop("exploded");
rocketjet.stop();
}
if (_root.cars.hitTest(_x, getBounds(_root).yMax, true)) {
_root.rocket3.gotoAndStop("exploded");
rocketjet.stop();
}
if (_root.cars.hitTest(_x, getBounds(_root).yMin, true)) {
_root.rocket3.gotoAndStop("exploded");
rocketjet.stop();
}
if (this.hitTest(_root.car)) {
if (_root.missileexploded3 != 1) {
_root.car.play();
_root.rocket3.gotoAndStop("exploded");
rocketjet.stop();
}
}
if (_root.missileexploded3 != 1) {
myRadians = Math.atan2(_root.car._y - this._y, _root.car._x - this._x);
myDegrees = Math.round((myRadians * 180) / Math.PI);
_root.yChange = Math.round(_root.car._y - this._y);
_root.xChange = Math.round(_root.car._x - this._x);
_root.yMove = Math.round(_root.yChange / 15);
_root.xMove = Math.round(_root.xChange / 15);
this._y = this._y + _root.yMove;
this._x = this._x + _root.xMove;
this._rotation = myDegrees + 90;
} else {
rocketjet.stop();
if (_root.reloadmissile3 < 110) {
_root.reloadmissile3 = _root.reloadmissile3 + 1;
} else {
this._x = _root.enemy1._x;
this._y = _root.enemy1._y;
_root.missileexploded3 = 0;
_root.missilelaunch = new Sound(this);
_root.missilelaunch.attachSound("_root.missilelaunch");
missilelaunch.start(0, 1);
rocketjet = new Sound(this);
rocketjet.attachSound("rocketjet");
rocketjet.start(0, 10);
_root.rocket3.gotoAndPlay(1);
}
}
}
}
Instance of Symbol 173 MovieClip "traps" in Frame 25
onClipEvent (load) {
this.gotoAndPlay(random(3) + 1);
}
Frame 26
local_data = SharedObject.getLocal("user_data");
local_data.data.user_level = _root._currentframe;
local_data.data.user_difficulty = _root.difficulty;
local_data.flush();
if (_root.health1 < 40) {
_root.health1 = _root.health1 + 5;
}
_root.gateswitch.gotoAndStop(1);
_root.mines.gotoAndPlay(random(25) + 1);
_root.roundscore = 15000;
_root.ended = 0;
_root.buttonon = 0;
_root.levelcomplete = "incomplete";
_root.noson = 0;
_root.moneycollected = 0;
_root.enemydead1 = 0;
_root.enemy1.gotoAndStop(1);
_root.car._x = 598;
_root.car._y = 380;
_root.car._rotation = 0;
_root.reloadmissile = 0;
_root.money.gotoAndPlay(random(25) + 1);
stop();
Instance of Symbol 173 MovieClip "traps" in Frame 26
onClipEvent (load) {
this.gotoAndPlay(random(3) + 1);
}
Frame 27
local_data = SharedObject.getLocal("user_data");
local_data.data.user_level = _root._currentframe;
local_data.data.user_difficulty = _root.difficulty;
local_data.flush();
if (_root.health1 < 40) {
_root.health1 = _root.health1 + 5;
}
_root.gateswitch.gotoAndStop(1);
_root.mines.gotoAndPlay(random(25) + 1);
_root.roundscore = 15000;
_root.ended = 0;
_root.buttonon = 0;
_root.levelcomplete = "incomplete";
_root.noson = 0;
_root.moneycollected = 0;
_root.enemydead1 = 0;
_root.enemy1.gotoAndStop(1);
_root.car._x = 598;
_root.car._y = 380;
_root.car._rotation = 0;
_root.reloadmissile = 0;
_root.money.gotoAndPlay(random(25) + 1);
stop();
Frame 28
local_data = SharedObject.getLocal("user_data");
local_data.data.user_level = _root._currentframe;
local_data.data.user_difficulty = _root.difficulty;
local_data.flush();
if (_root.health1 < 40) {
_root.health1 = _root.health1 + 5;
}
_root.gateswitch.gotoAndStop(1);
_root.mines.gotoAndPlay(random(25) + 1);
_root.roundscore = 15000;
_root.ended = 0;
_root.buttonon = 0;
_root.levelcomplete = "incomplete";
_root.noson = 0;
_root.moneycollected = 0;
_root.enemydead1 = 0;
_root.enemy1.gotoAndStop(1);
_root.car._x = 598;
_root.car._y = 380;
_root.car._rotation = 0;
_root.reloadmissile = 0;
_root.money.gotoAndPlay(random(25) + 1);
stop();
Instance of Symbol 404 MovieClip "gun" in Frame 28
onClipEvent (enterFrame) {
myRadians = Math.atan2(_root.car._y - this._y, _root.car._x - this._x);
myDegrees = Math.round((myRadians * 180) / Math.PI);
_root.yChange = Math.round(_root.car._y - this._y);
_root.xChange = Math.round(_root.car._x - this._x);
_root.yMove = Math.round(_root.yChange / 20);
_root.xMove = Math.round(_root.xChange / 20);
this._rotation = myDegrees + 90;
}
Instance of Symbol 426 MovieClip "rocket" in Frame 28
onClipEvent (load) {
_root.missileexploded = 1;
}
onClipEvent (enterFrame) {
if (_root.cars.hitTest(getBounds(_root).xMax, _y, true)) {
_root.rocket.gotoAndStop("exploded");
rocketjet.stop();
}
if (_root.cars.hitTest(getBounds(_root).xMin, _y, true)) {
_root.rocket.gotoAndStop("exploded");
rocketjet.stop();
}
if (_root.cars.hitTest(_x, getBounds(_root).yMax, true)) {
_root.rocket.gotoAndStop("exploded");
rocketjet.stop();
}
if (_root.cars.hitTest(_x, getBounds(_root).yMin, true)) {
_root.rocket.gotoAndStop("exploded");
rocketjet.stop();
}
if (this.hitTest(_root.car)) {
if (_root.missileexploded != 1) {
_root.car.play();
rocketjet.stop();
_root.rocket.gotoAndStop("exploded");
}
}
if (_root.missileexploded != 1) {
myRadians = Math.atan2(_root.car._y - this._y, _root.car._x - this._x);
myDegrees = Math.round((myRadians * 180) / Math.PI);
_root.yChange = Math.round(_root.car._y - this._y);
_root.xChange = Math.round(_root.car._x - this._x);
_root.yMove = Math.round((_root.yChange / 20) * 1.5);
_root.xMove = Math.round((_root.xChange / 20) * 1.5);
this._y = this._y + _root.yMove;
this._x = this._x + _root.xMove;
this._rotation = myDegrees + 90;
} else {
rocketjet.stop();
if (_root.reloadmissile < 90) {
_root.reloadmissile = _root.reloadmissile + 1;
} else {
this._x = _root.gun._x;
this._y = _root.gun._y;
_root.missileexploded = 0;
_root.missilelaunch = new Sound(this);
_root.missilelaunch.attachSound("_root.missilelaunch");
missilelaunch.start(0, 1);
rocketjet = new Sound(this);
rocketjet.attachSound("rocketjet");
rocketjet.start(0, 10);
_root.rocket.gotoAndPlay(1);
}
}
}
Frame 29
stop();
Frame 30
local_data = SharedObject.getLocal("user_data");
local_data.data.user_level = _root._currentframe;
local_data.data.user_difficulty = _root.difficulty;
local_data.flush();
_root.gateswitch.gotoAndStop(1);
_root.mines.gotoAndPlay(random(25) + 1);
_root.roundscore = 15000;
_root.ended = 0;
_root.buttonon = 0;
_root.levelcomplete = "incomplete";
_root.noson = 0;
_root.moneycollected = 0;
_root.enemydead1 = 0;
_root.enemy1.gotoAndStop(1);
_root.car._x = 598;
_root.car._y = 380;
_root.car._rotation = 0;
_root.reloadmissile = 0;
_root.money.gotoAndPlay(random(25) + 1);
stop();
Instance of Symbol 97 MovieClip "enemy1" in Frame 30
onClipEvent (load) {
this.gotoAndStop(1);
this._x = Math.round(Math.random() * 480) + 20;
this._y = Math.round(Math.random() * 205) + 75;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.car)) {
this.play();
}
if (_root.enemydead1 != 1) {
myRadians = Math.atan2(_root.car._y - this._y, _root.car._x - this._x);
myDegrees = Math.round((myRadians * 180) / Math.PI);
_root.yChange = Math.round(_root.car._y - this._y);
_root.xChange = Math.round(_root.car._x - this._x);
_root.yMove = Math.round(_root.yChange / 20);
_root.xMove = Math.round(_root.xChange / 20);
this._rotation = myDegrees + 90;
}
}
Instance of Symbol 141 MovieClip "rocket3" in Frame 30
onClipEvent (load) {
_root.missileexploded3 = 1;
}
onClipEvent (enterFrame) {
if (_root.enemydead1 != 1) {
if (_root.cars.hitTest(getBounds(_root).xMax, _y, true)) {
_root.rocket3.gotoAndStop("exploded");
rocketjet.stop();
}
if (_root.cars.hitTest(getBounds(_root).xMin, _y, true)) {
_root.rocket3.gotoAndStop("exploded");
rocketjet.stop();
}
if (_root.cars.hitTest(_x, getBounds(_root).yMax, true)) {
_root.rocket3.gotoAndStop("exploded");
rocketjet.stop();
}
if (_root.cars.hitTest(_x, getBounds(_root).yMin, true)) {
_root.rocket3.gotoAndStop("exploded");
rocketjet.stop();
}
if (this.hitTest(_root.car)) {
if (_root.missileexploded3 != 1) {
_root.car.play();
_root.rocket3.gotoAndStop("exploded");
rocketjet.stop();
}
}
if (_root.missileexploded3 != 1) {
myRadians = Math.atan2(_root.car._y - this._y, _root.car._x - this._x);
myDegrees = Math.round((myRadians * 180) / Math.PI);
_root.yChange = Math.round(_root.car._y - this._y);
_root.xChange = Math.round(_root.car._x - this._x);
_root.yMove = Math.round(_root.yChange / 15);
_root.xMove = Math.round(_root.xChange / 15);
this._y = this._y + _root.yMove;
this._x = this._x + _root.xMove;
this._rotation = myDegrees + 90;
} else {
rocketjet.stop();
if (_root.reloadmissile3 < 110) {
_root.reloadmissile3 = _root.reloadmissile3 + 1;
} else {
this._x = _root.enemy1._x;
this._y = _root.enemy1._y;
_root.missileexploded3 = 0;
_root.missilelaunch = new Sound(this);
_root.missilelaunch.attachSound("_root.missilelaunch");
missilelaunch.start(0, 1);
rocketjet = new Sound(this);
rocketjet.attachSound("rocketjet");
rocketjet.start(0, 10);
_root.rocket3.gotoAndPlay(1);
}
}
}
}
Instance of Symbol 173 MovieClip "traps" in Frame 30
onClipEvent (load) {
this.gotoAndPlay(random(3) + 1);
}
Instance of Symbol 203 MovieClip "car" in Frame 30
onClipEvent (load) {
_root.sheildon = 0;
}
onClipEvent (enterFrame) {
trace(Key.getCode());
if (_root.health1 <= 0) {
this.gotoAndPlay("dead");
}
if (_root.moneycollected == 10) {
_root.levelcomplete = "complete";
}
if (speed >= 0) {
_root.setspeed = speed;
} else {
_root.setspeed = speed * -1;
}
if (Key.isDown(38)) {
if (speed == 0) {
_root.enginesound.gotoAndStop("idle");
}
if (Key.isDown(32)) {
skidsound = new Sound(this);
skidsound.attachSound("skidsound");
skidsound.start(0, 1);
}
if (Key.isDown(65)) {
if (_root.noslevel > 0) {
speed = speed + 2;
_root.noslevel = _root.noslevel - 1;
} else {
speed = speed + 1;
}
} else {
speed = speed + 1;
}
_root.enginesound.gotoAndStop("up");
} else if (Key.isDown(40)) {
speed = speed - 1;
if (speed < -5) {
_root.enginesound.gotoAndStop("up");
}
} else {
_root.enginesound.gotoAndStop("down");
speed = speed * 1;
}
if (Math.abs(speed) > 100) {
speed = speed * 0.6;
}
if (Key.isDown(37)) {
if (Key.isDown(32)) {
if (speed >= 0) {
speed = speed - 0.1;
treadcount++;
duplicateMovieClip (_root.tread, "tread" + treadcount, (treadcount % 100) + 1000);
if (_rotation < -90) {
_rotation = (_rotation - (_root.setspeed * 1.4));
_x = (_x - (_root.setspeed / 1.7));
if (speed > 5) {
speed = speed - 1;
}
}
if (_rotation >= 90) {
_rotation = (_rotation - (_root.setspeed * 1.4));
_y = (_y + (_root.setspeed / 1.7));
if (speed > 5) {
speed = speed - 1;
}
}
if ((_rotation > 0) && (_rotation < 90)) {
_rotation = (_rotation - (_root.setspeed * 1.4));
_x = (_x + (_root.setspeed / 1.7));
if (speed > 5) {
speed = speed - 1;
}
}
if ((_rotation < 0) && (_rotation > -90)) {
_rotation = (_rotation - (_root.setspeed * 1.4));
_y = (_y - (_root.setspeed / 1.7));
if (speed > 5) {
speed = speed - 1;
}
}
}
} else {
_rotation = (_rotation - speed);
}
}
if (Key.isDown(83)) {
if (_root.sheildsleft > 0) {
if (_root.sheildon == 0) {
_root.car.gotoAndPlay("sheild");
_root.sheildsleft = _root.sheildsleft - 1;
}
}
}
if (Key.isDown(39)) {
if (Key.isDown(32)) {
if (speed >= 0) {
speed = speed - 0.1;
treadcount++;
duplicateMovieClip (_root.tread, "tread" + treadcount, (treadcount % 100) + 1000);
if (_rotation < -90) {
_rotation = (_rotation + (_root.setspeed * 1.4));
_y = (_y + (_root.setspeed / 1.7));
if (speed > 5) {
speed = speed - 1;
}
}
if (_rotation >= 90) {
_rotation = (_rotation + (_root.setspeed * 1.4));
_x = (_x + (_root.setspeed / 1.7));
if (speed > 5) {
speed = speed - 1;
}
}
if ((_rotation > 0) && (_rotation < 90)) {
_rotation = (_rotation + (_root.setspeed * 1.4));
_y = (_y - (_root.setspeed / 1.7));
if (speed > 5) {
speed = speed - 1;
}
}
if ((_rotation < 0) && (_rotation > -90)) {
_rotation = (_rotation + (_root.setspeed * 1.4));
_x = (_x - (_root.setspeed / 1.7));
if (speed > 5) {
speed = speed - 1;
}
}
}
} else {
_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.3;
}
myBounce = (_root.setspeed * 0.8) + 2;
if (_root.walls.hitTest(getBounds(_root).xMax, _y, true)) {
_x = (_x - myBounce);
speed = 0;
}
if (_root.walls.hitTest(getBounds(_root).xMin, _y, true)) {
_x = (_x + myBounce);
speed = 0;
}
if (_root.walls.hitTest(_x, getBounds(_root).yMax, true)) {
_y = (_y - myBounce);
speed = 0;
}
if (_root.walls.hitTest(_x, getBounds(_root).yMin, true)) {
_y = (_y + myBounce);
speed = 0;
}
if (_root.carplayer2.hitTest(getBounds(_root).xMax, _y, true)) {
_x = (_x - myBounce);
speed = 0;
}
if (_root.carplayer2.hitTest(getBounds(_root).xMin, _y, true)) {
_x = (_x + myBounce);
speed = 0;
}
if (_root.carplayer2.hitTest(_x, getBounds(_root).yMax, true)) {
_y = (_y - myBounce);
speed = 0;
}
if (_root.carplayer2.hitTest(_x, getBounds(_root).yMin, true)) {
_y = (_y + myBounce);
speed = 0;
}
if (_root.cars.hitTest(getBounds(_root).xMax, _y, true)) {
_x = (_x - myBounce);
speed = 0;
}
if (_root.cars.hitTest(getBounds(_root).xMin, _y, true)) {
_x = (_x + myBounce);
speed = 0;
}
if (_root.cars.hitTest(_x, getBounds(_root).yMax, true)) {
_y = (_y - myBounce);
speed = 0;
}
if (_root.cars.hitTest(_x, getBounds(_root).yMin, true)) {
_y = (_y + myBounce);
speed = 0;
}
if (_root.gun.hitTest(getBounds(_root).xMax, _y, true)) {
_x = (_x - myBounce);
speed = 0;
}
if (_root.gun.hitTest(getBounds(_root).xMin, _y, true)) {
_x = (_x + myBounce);
speed = 0;
}
if (_root.gun.hitTest(_x, getBounds(_root).yMax, true)) {
_y = (_y - myBounce);
speed = 0;
}
if (_root.gun.hitTest(_x, getBounds(_root).yMin, true)) {
_y = (_y + myBounce);
speed = 0;
}
if (_root.traps.trap1.hitTest(getBounds(_root).xMax, _y, true)) {
_rotation = (_rotation - (40 + speed));
speed = speed + 5;
this.play();
}
if (_root.traps.trap1.hitTest(getBounds(_root).xMin, _y, true)) {
_rotation = (_rotation - (40 + speed));
speed = speed + 5;
this.play();
}
if (_root.traps.trap1.hitTest(_x, getBounds(_root).yMax, true)) {
_rotation = (_rotation - (40 + speed));
speed = speed + 5;
this.play();
}
if (_root.traps.trap1.hitTest(_x, getBounds(_root).yMin, true)) {
_rotation = (_rotation - (40 + speed));
speed = speed + 5;
this.play();
}
if (this.hitTest(_root.orb2.zap)) {
this.play();
}
}
Instance of Symbol 250 MovieClip "orb" in Frame 30
onClipEvent (enterFrame) {
myBounce = 5;
myRadians = Math.atan2(_root.car._y - this._y, _root.car._x - this._x);
myDegrees = Math.round((myRadians * 180) / Math.PI);
_root.yChange = Math.round(_root.car._y - this._y);
_root.xChange = Math.round(_root.car._x - this._x);
_root.yMove = Math.round(_root.yChange / 50);
_root.xMove = Math.round(_root.xChange / 50);
this._y = this._y + _root.yMove;
this._x = this._x + _root.xMove;
this._rotation = myDegrees + 90;
if (_root.cars.hitTest(getBounds(_root).xMax, _y, true)) {
_x = (_x - myBounce);
}
if (_root.cars.hitTest(getBounds(_root).xMin, _y, true)) {
_x = (_x + myBounce);
}
if (_root.cars.hitTest(_x, getBounds(_root).yMax, true)) {
_y = (_y - myBounce);
}
if (_root.cars.hitTest(_x, getBounds(_root).yMin, true)) {
_y = (_y + myBounce);
}
if (_root.orb.hitTest(_root.car)) {
this.play();
}
}
Instance of Symbol 518 MovieClip in Frame 30
onClipEvent (enterFrame) {
if (this.hitTest(_root.car)) {
_root.ended = 1;
_root.car._y = -2000;
_root.car._x = 200;
_root.endlevel.play();
}
}
Instance of Symbol 404 MovieClip "gun" in Frame 30
onClipEvent (enterFrame) {
myRadians = Math.atan2(_root.car._y - this._y, _root.car._x - this._x);
myDegrees = Math.round((myRadians * 180) / Math.PI);
_root.yChange = Math.round(_root.car._y - this._y);
_root.xChange = Math.round(_root.car._x - this._x);
_root.yMove = Math.round(_root.yChange / 20);
_root.xMove = Math.round(_root.xChange / 20);
this._rotation = myDegrees + 90;
}
Instance of Symbol 426 MovieClip "rocket" in Frame 30
onClipEvent (load) {
_root.missileexploded = 1;
}
onClipEvent (enterFrame) {
if (_root.cars.hitTest(getBounds(_root).xMax, _y, true)) {
_root.rocket.gotoAndStop("exploded");
rocketjet.stop();
}
if (_root.cars.hitTest(getBounds(_root).xMin, _y, true)) {
_root.rocket.gotoAndStop("exploded");
rocketjet.stop();
}
if (_root.cars.hitTest(_x, getBounds(_root).yMax, true)) {
_root.rocket.gotoAndStop("exploded");
rocketjet.stop();
}
if (_root.cars.hitTest(_x, getBounds(_root).yMin, true)) {
_root.rocket.gotoAndStop("exploded");
rocketjet.stop();
}
if (this.hitTest(_root.car)) {
if (_root.missileexploded != 1) {
_root.car.play();
rocketjet.stop();
_root.rocket.gotoAndStop("exploded");
}
}
if (_root.missileexploded != 1) {
myRadians = Math.atan2(_root.car._y - this._y, _root.car._x - this._x);
myDegrees = Math.round((myRadians * 180) / Math.PI);
_root.yChange = Math.round(_root.car._y - this._y);
_root.xChange = Math.round(_root.car._x - this._x);
_root.yMove = Math.round((_root.yChange / 20) * 1.5);
_root.xMove = Math.round((_root.xChange / 20) * 1.5);
this._y = this._y + _root.yMove;
this._x = this._x + _root.xMove;
this._rotation = myDegrees + 90;
} else {
rocketjet.stop();
if (_root.reloadmissile < 90) {
_root.reloadmissile = _root.reloadmissile + 1;
} else {
this._x = _root.gun._x;
this._y = _root.gun._y;
_root.missileexploded = 0;
_root.missilelaunch = new Sound(this);
_root.missilelaunch.attachSound("_root.missilelaunch");
missilelaunch.start(0, 1);
rocketjet = new Sound(this);
rocketjet.attachSound("rocketjet");
rocketjet.start(0, 10);
_root.rocket.gotoAndPlay(1);
}
}
}
Frame 31
local_data = SharedObject.getLocal("user_data");
local_data.data.user_level = _root._currentframe;
local_data.data.user_difficulty = _root.difficulty;
local_data.flush();
if (_root.health1 < 40) {
_root.health1 = _root.health1 + 5;
}
_root.gateswitch.gotoAndStop(1);
_root.mines.gotoAndPlay(random(25) + 1);
_root.roundscore = 15000;
_root.ended = 0;
_root.buttonon = 0;
_root.levelcomplete = "incomplete";
_root.noson = 0;
_root.moneycollected = 0;
_root.enemydead1 = 0;
_root.enemy1.gotoAndStop(1);
_root.car._x = 598;
_root.car._y = 380;
_root.car._rotation = 0;
_root.reloadmissile = 0;
_root.money.gotoAndPlay(random(25) + 1);
stop();
Frame 32
local_data = SharedObject.getLocal("user_data");
local_data.data.user_level = _root._currentframe;
local_data.data.user_difficulty = _root.difficulty;
local_data.flush();
if (_root.health1 < 40) {
_root.health1 = _root.health1 + 5;
}
_root.gateswitch.gotoAndStop(1);
_root.mines.gotoAndPlay(random(25) + 1);
_root.roundscore = 15000;
_root.ended = 0;
_root.buttonon = 0;
_root.levelcomplete = "incomplete";
_root.noson = 0;
_root.moneycollected = 0;
_root.enemydead1 = 0;
_root.enemy1.gotoAndStop(1);
_root.car._x = 598;
_root.car._y = 380;
_root.car._rotation = 0;
_root.reloadmissile = 0;
_root.money.gotoAndPlay(random(25) + 1);
stop();
Instance of Symbol 265 MovieClip "orb2" in Frame 32
onClipEvent (enterFrame) {
myBounce = 5;
myRadians = Math.atan2(_root.car._y - this._y, _root.car._x - this._x);
myDegrees = Math.round((myRadians * 180) / Math.PI);
_root.yChange = Math.round(_root.car._y - this._y);
_root.xChange = Math.round(_root.car._x - this._x);
_root.yMove = Math.round(_root.yChange / 120);
_root.xMove = Math.round(_root.xChange / 120);
this._y = this._y + _root.yMove;
this._x = this._x + _root.xMove;
this._rotation = myDegrees + 90;
if (_root.cars.hitTest(getBounds(_root).xMax, _y, true)) {
_x = (_x - myBounce);
}
if (_root.cars.hitTest(getBounds(_root).xMin, _y, true)) {
_x = (_x + myBounce);
}
if (_root.cars.hitTest(_x, getBounds(_root).yMax, true)) {
_y = (_y - myBounce);
}
if (_root.cars.hitTest(_x, getBounds(_root).yMin, true)) {
_y = (_y + myBounce);
}
if (_root.orb2.hitTest(_root.car)) {
this.play();
}
}
Frame 33
local_data = SharedObject.getLocal("user_data");
local_data.data.user_level = _root._currentframe;
local_data.data.user_difficulty = _root.difficulty;
local_data.flush();
if (_root.health1 < 40) {
_root.health1 = _root.health1 + 5;
}
_root.gateswitch.gotoAndStop(1);
_root.mines.gotoAndPlay(random(25) + 1);
_root.roundscore = 15000;
_root.ended = 0;
_root.buttonon = 0;
_root.levelcomplete = "incomplete";
_root.noson = 0;
_root.moneycollected = 0;
_root.enemydead1 = 0;
_root.enemy1.gotoAndStop(1);
_root.car._x = 598;
_root.car._y = 380;
_root.car._rotation = 0;
_root.reloadmissile = 0;
_root.money.gotoAndPlay(random(25) + 1);
stop();
Instance of Symbol 403 MovieClip "gun1" in Frame 33
onClipEvent (enterFrame) {
myRadians = Math.atan2(_root.car._y - this._y, _root.car._x - this._x);
myDegrees = Math.round((myRadians * 180) / Math.PI);
_root.yChange = Math.round(_root.car._y - this._y);
_root.xChange = Math.round(_root.car._x - this._x);
_root.yMove = Math.round(_root.yChange / 20);
_root.xMove = Math.round(_root.xChange / 20);
this._rotation = myDegrees + 90;
}
Instance of Symbol 415 MovieClip "rocket1" in Frame 33
onClipEvent (load) {
_root.missileexploded1 = 1;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.car)) {
if (_root.missileexploded1 != 1) {
_root.car.play();
_root.rocket1.gotoAndStop("exploded");
rocketjet.stop();
}
}
if (_root.missileexploded1 != 1) {
myRadians = Math.atan2(_root.car._y - this._y, _root.car._x - this._x);
myDegrees = Math.round((myRadians * 180) / Math.PI);
_root.yChange = Math.round(_root.car._y - this._y);
_root.xChange = Math.round(_root.car._x - this._x);
_root.yMove = Math.round((_root.yChange / 20) * 1.5);
_root.xMove = Math.round((_root.xChange / 20) * 1.5);
this._y = this._y + _root.yMove;
this._x = this._x + _root.xMove;
this._rotation = myDegrees + 90;
} else {
rocketjet.stop();
if (_root.reloadmissile1 < 90) {
_root.reloadmissile1 = _root.reloadmissile1 + 1;
} else {
this._x = _root.gun1._x;
this._y = _root.gun1._y;
_root.missileexploded1 = 0;
_root.missilelaunch = new Sound(this);
_root.missilelaunch.attachSound("_root.missilelaunch");
missilelaunch.start(0, 1);
rocketjet = new Sound(this);
rocketjet.attachSound("rocketjet");
rocketjet.start(0, 10);
_root.rocket1.gotoAndPlay(1);
}
}
}
Frame 34
local_data = SharedObject.getLocal("user_data");
local_data.data.user_level = _root._currentframe;
local_data.data.user_difficulty = _root.difficulty;
local_data.flush();
if (_root.health1 < 40) {
_root.health1 = _root.health1 + 5;
}
_root.gateswitch.gotoAndStop(1);
_root.mines.gotoAndPlay(random(25) + 1);
_root.roundscore = 15000;
_root.ended = 0;
_root.buttonon = 0;
_root.levelcomplete = "incomplete";
_root.noson = 0;
_root.moneycollected = 0;
_root.enemydead1 = 0;
_root.enemy1.gotoAndStop(1);
_root.car._x = 598;
_root.car._y = 380;
_root.car._rotation = 0;
_root.reloadmissile = 0;
_root.money.gotoAndPlay(random(25) + 1);
stop();
Frame 35
local_data = SharedObject.getLocal("user_data");
local_data.data.user_level = 1;
local_data.flush();
stop();
Frame 36
stop();
_root.player1score = _root.player1score - (2000 * _root.difficulty);
Symbol 19 MovieClip Frame 30
stop();
Symbol 19 MovieClip Frame 80
_root.nextFrame();
Symbol 32 MovieClip Frame 26
stop();
Symbol 36 MovieClip Frame 25
stop();
Symbol 38 MovieClip Frame 467
gotoAndPlay ("carreplay");
Symbol 44 MovieClip Frame 20
stop();
Symbol 47 MovieClip Frame 40
stop();
Symbol 62 Button
on (release) {
_root.background.play();
}
Symbol 74 MovieClip Frame 115
stop();
Symbol 75 MovieClip Frame 12
stop();
Symbol 81 MovieClip Frame 1
_root.acc.stop();
_root.dec.stop();
_root.idle = new Sound(this);
_root.idle.attachSound("minimo");
_root.idle.start(0, 999);
stop();
Symbol 81 MovieClip Frame 2
_root.idle.stop();
_root.dec.stop()();
_root.acc = new Sound(this);
_root.acc.attachSound("acc");
_root.acc.start(0, 50);
stop();
Symbol 81 MovieClip Frame 3
_root.acc.stop();
_root.idle.stop();
_root.dec = new Sound(this);
_root.dec.attachSound("dec");
_root.dec.start(0, 1);
stop();
Symbol 97 MovieClip Frame 1
stop();
Symbol 97 MovieClip Frame 2
mateyhit = new Sound(this);
mateyhit.attachSound("mateyhit");
mateyhit.start(0, 1);
Symbol 97 MovieClip Frame 5
_root.enemydead1 = 1;
this.stop();
Symbol 97 MovieClip Frame 6
gotoAndPlay (5);
Symbol 140 MovieClip Frame 27
stop();
Symbol 141 MovieClip Frame 2
_root.missilelaunch3 = new Sound(this);
_root.missilelaunch3.attachSound("missilelaunch");
_root.missilelaunch3.start(0, 1);
_root.rocketjet3 = new Sound(this);
_root.rocketjet3.attachSound("rocketjet");
_root.rocketjet3.start(0, 10);
Symbol 141 MovieClip Frame 115
_root.missileexploded3 = 1;
_root.reloadmissile3 = 0;
this.stop();
Symbol 148 MovieClip Frame 60
gotoAndPlay (35);
Symbol 153 MovieClip Frame 60
stop();
Symbol 159 MovieClip Frame 30
counter = 0;
Instance of Symbol 140 MovieClip in Symbol 159 MovieClip Frame 30
onClipEvent (enterFrame) {
if (this.hitTest(_root.car)) {
_root.car.play();
}
}
Symbol 162 MovieClip Frame 60
stop();
Symbol 169 MovieClip Frame 60
gotoAndPlay (35);
Symbol 172 MovieClip Frame 60
stop();
Symbol 173 MovieClip Frame 1
stop();
Symbol 173 MovieClip Frame 2
stop();
Symbol 173 MovieClip Frame 3
stop();
Symbol 201 MovieClip Frame 1
_root.explosion = new Sound(this);
_root.explosion.attachSound("explode");
_root.explosion.start(0, 1);
Symbol 201 MovieClip Frame 27
if (_root._currentframe > 3) {
_root.gotoAndPlay("gameover");
} else {
local_data = SharedObject.getLocal("user_data");
if (local_data.data.practisehigh < _root.practisescore) {
local_data.data.practisehigh = _root.practisescore;
local_data.flush();
}
_root.gotoAndPlay(2);
this.stop();
}
Symbol 203 MovieClip Frame 1
stop();
Symbol 203 MovieClip Frame 3
if (_root.ended == 1) {
} else {
_root.player1score = _root.player1score - 1;
_root.health1 = _root.health1 - _root.difficulty;
}
gotoAndPlay (1);
Symbol 203 MovieClip Frame 4
stop();
Symbol 203 MovieClip Frame 5
gotoAndStop ("dead");
Symbol 203 MovieClip Frame 30
_root.sheildon = 1;
Symbol 203 MovieClip Frame 276
_root.sheildon = 0;
gotoAndStop (1);
Symbol 232 MovieClip Frame 27
this.gotoAndStop(1);
Symbol 233 MovieClip Frame 50
gotoAndPlay (1);
Symbol 233 MovieClip Frame 53
_root.car.play();
_root.moneysound = new Sound(this);
_root.moneysound.attachSound("explode");
_root.moneysound.start(0, 1);
_root.player1score = _root.player1score - 50;
Symbol 233 MovieClip Frame 75
this.gotoAndPlay(1);
_root.mines.gotoAndPlay(random(30) + 1);
Symbol 234 MovieClip Frame 1
stop();
Instance of Symbol 233 MovieClip in Symbol 234 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.car)) {
this.gotoAndPlay("boom");
}
}
Symbol 234 MovieClip Frame 2
stop();
Symbol 234 MovieClip Frame 3
stop();
Symbol 234 MovieClip Frame 4
stop();
Symbol 234 MovieClip Frame 5
stop();
Symbol 234 MovieClip Frame 6
stop();
Symbol 234 MovieClip Frame 7
stop();
Symbol 234 MovieClip Frame 8
stop();
Symbol 234 MovieClip Frame 9
stop();
Symbol 234 MovieClip Frame 10
stop();
Instance of Symbol 233 MovieClip in Symbol 234 MovieClip Frame 10
onClipEvent (enterFrame) {
if (this.hitTest(_root.car)) {
this.gotoAndStop("boom");
}
}
Symbol 234 MovieClip Frame 11
stop();
Instance of Symbol 233 MovieClip in Symbol 234 MovieClip Frame 11
onClipEvent (enterFrame) {
if (this.hitTest(_root.car)) {
this.gotoAndPlay("boom");
}
}
Symbol 234 MovieClip Frame 12
stop();
Symbol 234 MovieClip Frame 13
stop();
Symbol 234 MovieClip Frame 14
stop();
Symbol 234 MovieClip Frame 15
stop();
Symbol 234 MovieClip Frame 16
stop();
Symbol 234 MovieClip Frame 17
stop();
Symbol 234 MovieClip Frame 18
stop();
Symbol 234 MovieClip Frame 19
stop();
Symbol 234 MovieClip Frame 20
stop();
Symbol 234 MovieClip Frame 21
stop();
Symbol 234 MovieClip Frame 22
stop();
Symbol 234 MovieClip Frame 23
stop();
Symbol 234 MovieClip Frame 24
stop();
Symbol 234 MovieClip Frame 25
stop();
Symbol 234 MovieClip Frame 26
stop();
Symbol 234 MovieClip Frame 27
stop();
Symbol 234 MovieClip Frame 28
stop();
Symbol 234 MovieClip Frame 29
stop();
Symbol 234 MovieClip Frame 30
stop();
Symbol 250 MovieClip Frame 60
_root.electric = new Sound(this);
_root.electric.attachSound("electric");
_root.electric.start(0, 1);
Symbol 250 MovieClip Frame 61
if (this.hitTest(_root.car)) {
_root.car.play();
}
Symbol 250 MovieClip Frame 63
if (this.hitTest(_root.car)) {
_root.car.play();
}
Symbol 250 MovieClip Frame 65
if (this.hitTest(_root.car)) {
_root.car.play();
}
Symbol 250 MovieClip Frame 67
if (this.hitTest(_root.car)) {
_root.car.play();
}
Symbol 250 MovieClip Frame 69
if (this.hitTest(_root.car)) {
_root.car.play();
}
Symbol 265 MovieClip Frame 98
_root.zap = new Sound(this);
_root.zap.attachSound("zap");
_root.zap.start(0, 1);
Symbol 268 MovieClip Frame 1
stop();
Symbol 268 MovieClip Frame 77
_root.gotoAndPlay("continue");
Symbol 268 MovieClip Frame 101
this.gotoAndStop(1);
Symbol 269 MovieClip Frame 1
stop();
Symbol 269 MovieClip Frame 77
_root.gotoAndPlay("level1");
Symbol 269 MovieClip Frame 101
this.gotoAndStop(1);
Instance of Symbol 273 MovieClip in Symbol 274 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.car)) {
_root.moneysound = new Sound(this);
_root.moneysound.attachSound("moneysound");
_root.moneysound.start(0, 1);
_root.practisescore = _root.practisescore + 100;
_root.money.gotoAndPlay(random(30) + 1);
}
}
Instance of Symbol 278 MovieClip in Symbol 279 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.car)) {
_root.moneysound = new Sound(this);
_root.moneysound.attachSound("moneysound");
_root.moneysound.start(0, 1);
_root.practisescore = _root.practisescore + 500;
_root.money.gotoAndPlay(random(30) + 1);
}
}
Instance of Symbol 278 MovieClip in Symbol 280 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.car)) {
moneysound = new Sound(this);
moneysound.attachSound("moneysound");
moneysound.start(0, 1);
_root.player1score = _root.player1score + 500;
_root.moneycollected = _root.moneycollected + 1;
if (_root.moneycollected != 10) {
_root.money.gotoAndPlay(random(30) + 1);
} else {
_root.money.gotoAndPlay("none");
}
}
}
Symbol 281 MovieClip Frame 1
stop();
Symbol 281 MovieClip Frame 2
stop();
Symbol 281 MovieClip Frame 3
stop();
Symbol 281 MovieClip Frame 4
stop();
Symbol 281 MovieClip Frame 5
stop();
Symbol 281 MovieClip Frame 6
stop();
Symbol 281 MovieClip Frame 7
stop();
Symbol 281 MovieClip Frame 8
stop();
Symbol 281 MovieClip Frame 9
stop();
Symbol 281 MovieClip Frame 10
stop();
Symbol 281 MovieClip Frame 11
stop();
Symbol 281 MovieClip Frame 12
stop();
Symbol 281 MovieClip Frame 13
stop();
Symbol 281 MovieClip Frame 14
stop();
Symbol 281 MovieClip Frame 15
stop();
Symbol 281 MovieClip Frame 16
stop();
Symbol 281 MovieClip Frame 17
stop();
Symbol 281 MovieClip Frame 18
stop();
Symbol 281 MovieClip Frame 19
stop();
Symbol 281 MovieClip Frame 20
stop();
Symbol 281 MovieClip Frame 21
stop();
Symbol 281 MovieClip Frame 22
stop();
Symbol 281 MovieClip Frame 23
stop();
Symbol 281 MovieClip Frame 24
stop();
Symbol 281 MovieClip Frame 25
stop();
Symbol 281 MovieClip Frame 26
stop();
Symbol 281 MovieClip Frame 27
stop();
Symbol 281 MovieClip Frame 28
stop();
Symbol 281 MovieClip Frame 29
stop();
Symbol 281 MovieClip Frame 30
stop();
Symbol 281 MovieClip Frame 31
stop();
Symbol 281 MovieClip Frame 32
stop();
Symbol 281 MovieClip Frame 33
stop();
Symbol 281 MovieClip Frame 34
stop();
Symbol 281 MovieClip Frame 35
stop();
Symbol 306 MovieClip Frame 8
stop();
Symbol 317 MovieClip Frame 1
stop();
Symbol 317 MovieClip Frame 2
_root.ratchet = new Sound(this);
_root.ratchet.attachSound("ratchet");
_root.ratchet.start(0, 5);
Symbol 317 MovieClip Frame 69
stop();
Symbol 317 MovieClip Frame 70
gotoAndPlay (69);
Symbol 334 Button
on (release) {
_root.endlevel.play();
}
Symbol 349 Button
on (release) {
play();
}
Symbol 357 Button
on (release) {
_root.difficulty = 1;
_root.level1.play();
}
Symbol 362 Button
on (release) {
_root.difficulty = 2;
_root.level1.play();
}
Symbol 368 Button
on (release) {
_root.difficulty = 3;
_root.level1.play();
}
Symbol 369 MovieClip Frame 1
stop();
Symbol 369 MovieClip Frame 20
stop();
Instance of Symbol 317 MovieClip "gate" in Symbol 384 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.moneycollected >= 15) {
this.play();
} else {
gotoAndStop (1);
}
}
Symbol 402 MovieClip Frame 1
_root.turretnoise = new Sound(this);
_root.turretnoise.attachSound("turretnoise");
_root.turretnoise.start(0, 1);
Instance of Symbol 140 MovieClip in Symbol 402 MovieClip Frame 30
onClipEvent (enterFrame) {
if (this.hitTest(_root.car)) {
_root.car.play();
}
}
Instance of Symbol 140 MovieClip in Symbol 402 MovieClip Frame 94
onClipEvent (enterFrame) {
if (this.hitTest(_root.car)) {
_root.car.play();
}
}
Symbol 402 MovieClip Frame 100
stop();
Symbol 415 MovieClip Frame 2
_root.missilelaunch1 = new Sound(this);
_root.missilelaunch1.attachSound("missilelaunch");
_root.missilelaunch1.start(0, 1);
_root.rocketjet1 = new Sound(this);
_root.rocketjet1.attachSound("rocketjet");
_root.rocketjet1.start(0, 10);
Symbol 415 MovieClip Frame 112
_root.missileexploded1 = 1;
_root.reloadmissile1 = 0;
Symbol 415 MovieClip Frame 115
_root.missileexploded1 = 1;
_root.reloadmissile1 = 0;
this.stop();
Symbol 426 MovieClip Frame 2
_root.missilelaunch = new Sound(this);
_root.missilelaunch.attachSound("missilelaunch");
_root.missilelaunch.start(0, 1);
_root.rocketjet = new Sound(this);
_root.rocketjet.attachSound("rocketjet");
_root.rocketjet.start(0, 10);
Symbol 426 MovieClip Frame 115
_root.missileexploded = 1;
_root.reloadmissile = 0;
this.stop();
Symbol 447 Button
on (release) {
_root._quality = "low";
}
Symbol 451 Button
on (release) {
_root._quality = "medium";
}
Symbol 455 Button
on (release) {
_root._quality = "high";
}
Symbol 459 Button
on (release) {
_root.gotoAndPlay(1);
}
Symbol 465 Button
on (release) {
_root.options.play();
}
Symbol 467 MovieClip Frame 1
stop();
Symbol 467 MovieClip Frame 15
stop();
Symbol 475 Button
on (release) {
stopAllSounds();
_root.drumandbass = new Sound(this);
_root.drumandbass.attachSound("drumandbass");
_root.drumandbass.start(0, 999);
}
Symbol 478 Button
on (release) {
stopAllSounds();
_root.trance = new Sound(this);
_root.trance.attachSound("trance");
_root.trance.start(0, 999);
}
Symbol 482 Button
on (release) {
_root.radios.play();
}
Symbol 487 Button
on (release) {
stopAllSounds();
}
Symbol 489 MovieClip Frame 1
stop();
Symbol 489 MovieClip Frame 15
stop();
Symbol 522 MovieClip Frame 1
stop();
Symbol 522 MovieClip Frame 166
_root.nextFrame();
Symbol 522 MovieClip Frame 190
this.gotoAndStop(1);
Instance of Symbol 273 MovieClip in Symbol 523 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.car)) {
moneysound = new Sound(this);
moneysound.attachSound("moneysound");
moneysound.start(0, 1);
_root.player1score = _root.player1score + 100;
_root.moneycollected = _root.moneycollected + 1;
if (_root.moneycollected != 10) {
_root.money.gotoAndPlay(random(30) + 1);
} else {
_root.money.gotoAndPlay("none");
}
}
}
Symbol 524 MovieClip Frame 1
stop();
Symbol 524 MovieClip Frame 2
stop();
Symbol 524 MovieClip Frame 3
stop();
Symbol 524 MovieClip Frame 4
stop();
Symbol 524 MovieClip Frame 5
stop();
Symbol 524 MovieClip Frame 6
stop();
Symbol 524 MovieClip Frame 7
stop();
Symbol 524 MovieClip Frame 8
stop();
Symbol 524 MovieClip Frame 9
stop();
Symbol 524 MovieClip Frame 10
stop();
Symbol 524 MovieClip Frame 11
stop();
Symbol 524 MovieClip Frame 12
stop();
Symbol 524 MovieClip Frame 13
stop();
Symbol 524 MovieClip Frame 14
stop();
Symbol 524 MovieClip Frame 15
stop();
Symbol 524 MovieClip Frame 16
stop();
Symbol 524 MovieClip Frame 17
stop();
Symbol 524 MovieClip Frame 18
stop();
Symbol 524 MovieClip Frame 19
stop();
Symbol 524 MovieClip Frame 20
stop();
Symbol 524 MovieClip Frame 21
stop();
Symbol 524 MovieClip Frame 22
stop();
Symbol 524 MovieClip Frame 23
stop();
Symbol 524 MovieClip Frame 24
stop();
Symbol 524 MovieClip Frame 25
stop();
Symbol 524 MovieClip Frame 26
stop();
Symbol 524 MovieClip Frame 27
stop();
Symbol 524 MovieClip Frame 28
stop();
Symbol 524 MovieClip Frame 29
stop();
Symbol 524 MovieClip Frame 30
stop();
Symbol 524 MovieClip Frame 31
stop();
Symbol 524 MovieClip Frame 32
stop();
Symbol 524 MovieClip Frame 33
stop();
Symbol 524 MovieClip Frame 34
stop();
Symbol 524 MovieClip Frame 35
stop();
Instance of Symbol 317 MovieClip "gate" in Symbol 526 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.moneycollected >= 10) {
this.play();
} else {
gotoAndStop (1);
}
}
Instance of Symbol 532 MovieClip in Symbol 539 MovieClip Frame 1
onClipEvent (enterFrame) {
this._xscale = _root.health1 * 2;
}
Instance of Symbol 317 MovieClip "gate" in Symbol 545 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.moneycollected >= 10) {
this.play();
} else {
gotoAndStop (1);
}
}
Symbol 558 Button
on (release) {
if (_root.health1 <= 25) {
if (_root.player1score >= 500) {
_root.health1 = _root.health1 + 25;
_root.player1score = _root.player1score - 500;
}
}
}
Symbol 559 Button
on (release) {
if (_root.health1 <= 45) {
if (_root.player1score >= 100) {
_root.health1 = _root.health1 + 5;
_root.player1score = _root.player1score - 100;
}
}
}
Symbol 562 Button
on (release) {
if (_root.player1score >= 500) {
_root.sheildsleft = _root.sheildsleft + 1;
_root.player1score = _root.player1score - 500;
}
}
Symbol 570 Button
on (release) {
_root.shop.play();
}
Symbol 574 Button
on (release) {
if (_root.noslevel <= 50) {
if (_root.player1score >= 500) {
_root.noslevel = _root.noslevel + 50;
_root.player1score = _root.player1score - 500;
}
}
}
Symbol 575 Button
on (release) {
if (_root.noslevel <= 90) {
if (_root.player1score >= 100) {
_root.noslevel = _root.noslevel + 10;
_root.player1score = _root.player1score - 100;
}
}
}
Instance of Symbol 532 MovieClip in Symbol 585 MovieClip Frame 1
onClipEvent (enterFrame) {
this._xscale = _root.health1 * 4;
}
Instance of Symbol 542 MovieClip in Symbol 585 MovieClip Frame 1
onClipEvent (enterFrame) {
this._xscale = _root.noslevel;
}
Symbol 586 MovieClip Frame 30
stop();
Symbol 586 MovieClip Frame 108
this.gotoAndStop(1);
_root.nextFrame();
Symbol 587 MovieClip Frame 1
stop();
Instance of Symbol 233 MovieClip in Symbol 587 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.car)) {
this.gotoAndPlay("boom");
}
}
Symbol 587 MovieClip Frame 2
stop();
Symbol 587 MovieClip Frame 3
stop();
Symbol 587 MovieClip Frame 4
stop();
Symbol 587 MovieClip Frame 5
stop();
Symbol 587 MovieClip Frame 6
stop();
Symbol 587 MovieClip Frame 7
stop();
Symbol 587 MovieClip Frame 8
stop();
Symbol 587 MovieClip Frame 9
stop();
Symbol 587 MovieClip Frame 10
stop();
Instance of Symbol 233 MovieClip in Symbol 587 MovieClip Frame 10
onClipEvent (enterFrame) {
if (this.hitTest(_root.car)) {
this.gotoAndStop("boom");
}
}
Symbol 587 MovieClip Frame 11
stop();
Instance of Symbol 233 MovieClip in Symbol 587 MovieClip Frame 11
onClipEvent (enterFrame) {
if (this.hitTest(_root.car)) {
this.gotoAndPlay("boom");
}
}
Symbol 587 MovieClip Frame 12
stop();
Symbol 587 MovieClip Frame 13
stop();
Symbol 587 MovieClip Frame 14
stop();
Symbol 587 MovieClip Frame 15
stop();
Symbol 587 MovieClip Frame 16
stop();
Symbol 587 MovieClip Frame 17
stop();
Symbol 587 MovieClip Frame 18
stop();
Symbol 587 MovieClip Frame 19
stop();
Symbol 587 MovieClip Frame 20
stop();
Symbol 587 MovieClip Frame 21
stop();
Symbol 587 MovieClip Frame 22
stop();
Symbol 587 MovieClip Frame 23
stop();
Symbol 587 MovieClip Frame 24
stop();
Symbol 587 MovieClip Frame 25
stop();
Symbol 587 MovieClip Frame 26
stop();
Symbol 587 MovieClip Frame 27
stop();
Symbol 587 MovieClip Frame 28
stop();
Symbol 587 MovieClip Frame 29
stop();
Symbol 587 MovieClip Frame 30
stop();
Instance of Symbol 591 MovieClip in Symbol 595 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.car.hitTest(this)) {
_root.part1 = 1;
}
}
Instance of Symbol 591 MovieClip in Symbol 595 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.car.hitTest(this)) {
_root.part2 = 1;
}
}
Instance of Symbol 591 MovieClip in Symbol 595 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.car.hitTest(this)) {
_root.part3 = 1;
}
}
Instance of Symbol 591 MovieClip in Symbol 595 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.car.hitTest(this)) {
_root.part4 = 1;
}
}
Instance of Symbol 591 MovieClip in Symbol 595 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.car.hitTest(this)) {
_root.part5 = 1;
}
}
Instance of Symbol 594 MovieClip in Symbol 595 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.roundscore > 0) {
if (_root.ended == 0) {
_root.roundscore = _root.roundscore - 3;
}
}
if (_root.laps >= 5) {
_root.walls.gate.play();
}
if (_root.car.hitTest(this)) {
if (_root.part1 == 1) {
if (_root.part2 == 1) {
if (_root.part3 == 1) {
if (_root.part4 == 1) {
if (_root.part5 == 1) {
_root.laps = _root.laps + 1;
_root.part1 = 0;
_root.part2 = 0;
_root.part3 = 0;
_root.part4 = 0;
_root.part5 = 0;
}
}
}
}
}
}
}
Instance of Symbol 317 MovieClip "gate" in Symbol 597 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.laps >= 5) {
this.play();
} else {
gotoAndStop (1);
}
}
Instance of Symbol 591 MovieClip in Symbol 604 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.car.hitTest(this)) {
_root.part1 = 1;
}
}
Instance of Symbol 591 MovieClip in Symbol 604 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.car.hitTest(this)) {
_root.part2 = 1;
}
}
Instance of Symbol 591 MovieClip in Symbol 604 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.car.hitTest(this)) {
_root.part3 = 1;
}
}
Instance of Symbol 591 MovieClip in Symbol 604 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.car.hitTest(this)) {
_root.part4 = 1;
}
}
Instance of Symbol 591 MovieClip in Symbol 604 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.car.hitTest(this)) {
_root.part5 = 1;
}
}
Instance of Symbol 594 MovieClip in Symbol 604 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.roundscore > 0) {
if (_root.ended == 0) {
_root.roundscore = _root.roundscore - 3;
}
}
if (_root.laps >= 5) {
_root.walls.gate.play();
}
if (_root.car.hitTest(this)) {
if (_root.part1 == 1) {
if (_root.part2 == 1) {
if (_root.part3 == 1) {
if (_root.part4 == 1) {
if (_root.part5 == 1) {
_root.laps = _root.laps + 1;
_root.part1 = 0;
_root.part2 = 0;
_root.part3 = 0;
_root.part4 = 0;
_root.part5 = 0;
}
}
}
}
}
}
}
Symbol 611 MovieClip Frame 63
counter = 0;
Instance of Symbol 140 MovieClip in Symbol 611 MovieClip Frame 63
onClipEvent (enterFrame) {
if (this.hitTest(_root.car)) {
_root.car.play();
}
}
Symbol 612 MovieClip Frame 60
stop();
Symbol 616 MovieClip Frame 1
stop();
_root.buttonon = 0;
Symbol 616 MovieClip Frame 15
_root.buttonon = 1;
stop();
Symbol 616 MovieClip Frame 16
gotoAndPlay (15);
Instance of Symbol 619 MovieClip in Symbol 620 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.car)) {
_root.car.play();
}
}
Instance of Symbol 140 MovieClip in Symbol 630 MovieClip Frame 30
onClipEvent (enterFrame) {
if (this.hitTest(_root.car)) {
_root.car.play();
}
}
Symbol 631 MovieClip Frame 1
_root.turretnoise = new Sound(this);
_root.turretnoise.attachSound("turretnoise");
_root.turretnoise.start(0, 1);
Symbol 631 MovieClip Frame 100
stop();
Instance of Symbol 317 MovieClip "gate" in Symbol 633 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.roundscore > 0) {
if (_root.ended == 0) {
_root.roundscore = _root.roundscore - 3;
}
}
if (_root.buttonon == 1) {
this.play();
} else {
gotoAndStop (1);
}
}
Instance of Symbol 632 MovieClip in Symbol 633 MovieClip Frame 1
onClipEvent (enterFrame) {
myRadians = Math.atan2(_root.car._y - this._y, _root.car._x - this._x);
myDegrees = Math.round((myRadians * 180) / Math.PI);
_root.yChange = Math.round(_root.car._y - this._y);
_root.xChange = Math.round(_root.car._x - this._x);
_root.yMove = Math.round(_root.yChange / 20);
_root.xMove = Math.round(_root.xChange / 20);
this._rotation = myDegrees + 90;
}
Instance of Symbol 317 MovieClip "gate" in Symbol 636 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.roundscore > 0) {
if (_root.ended == 0) {
_root.roundscore = _root.roundscore - 3;
}
}
if (_root.buttonon == 1) {
this.play();
} else {
gotoAndStop (1);
}
}
Instance of Symbol 632 MovieClip in Symbol 636 MovieClip Frame 1
onClipEvent (enterFrame) {
myRadians = Math.atan2(_root.car._y - this._y, _root.car._x - this._x);
myDegrees = Math.round((myRadians * 180) / Math.PI);
_root.yChange = Math.round(_root.car._y - this._y);
_root.xChange = Math.round(_root.car._x - this._x);
_root.yMove = Math.round(_root.yChange / 20);
_root.xMove = Math.round(_root.xChange / 20);
this._rotation = myDegrees + 90;
}
Instance of Symbol 632 MovieClip in Symbol 636 MovieClip Frame 1
onClipEvent (enterFrame) {
myRadians = Math.atan2(_root.car._y - this._y, _root.car._x - this._x);
myDegrees = Math.round((myRadians * 180) / Math.PI);
_root.yChange = Math.round(_root.car._y - this._y);
_root.xChange = Math.round(_root.car._x - this._x);
_root.yMove = Math.round(_root.yChange / 20);
_root.xMove = Math.round(_root.xChange / 20);
this._rotation = myDegrees + 90;
}
Symbol 648 Button
on (release) {
_root.scores.play();
}
Symbol 654 Button
on (release) {
if (_root.difficulty == 3) {
getURL (((("http://www.thorgaming.com/scores/scores.php?filename=scores/hard.sco&scoresize=10&action=INSERT&winname=" + _root.name) + "&winscore=") + _root.player1score) + "&viewtype=HTML", blank);
}
if (_root.difficulty == 2) {
getURL (((("http://www.thorgaming.com/scores/scores.php?filename=scores/med.sco&scoresize=10&action=INSERT&winname=" + _root.name) + "&winscore=") + _root.player1score) + "&viewtype=HTML", blank);
}
if (_root.difficulty == 1) {
getURL (((("http://www.thorgaming.com/scores/scores.php?filename=scores/easy.sco&scoresize=20&action=INSERT&winname=" + _root.name) + "&winscore=") + _root.player1score) + "&viewtype=HTML", blank);
}
_root.scores.play();
}
Instance of Symbol 75 MovieClip in Symbol 656 MovieClip Frame 1
on (release) {
getURL ("http://www.thorgaming.com/flasharcade/", "_blank");
}
Symbol 657 MovieClip Frame 30
stop();
Symbol 657 MovieClip Frame 60
_root.gotoAndPlay(2);
Symbol 665 Button
on (release) {
_root.health1 = 50;
_root.gotoAndPlay("continue");
}
Instance of Symbol 75 MovieClip in Symbol 666 MovieClip Frame 1
on (release) {
getURL ("http://www.thorgaming.com/flasharcade/", "_blank");
}
Symbol 667 MovieClip Frame 30
stop();
Symbol 667 MovieClip Frame 60
_root.gotoAndPlay(2);