Frame 1
stop();
Instance of Symbol 32 MovieClip "Preloader" in Frame 1
onClipEvent (enterFrame) {
if (((_root._framesloaded == _root._totalframes) and (_root._totalframes > 0)) && (readyFlag != 1)) {
gotoAndStop (3);
_root.gotoAndStop("PlayGame");
readyFlag = 1;
}
}
Frame 3
function myStopAllSouds() {
_root.engineSound.gotoAndStop(1);
_root.engineSound.accvar = 0;
_root.engineSound.myAction = "default1";
_root.engineSound.myHolder = "default1";
_root.acc.stop();
_root.dec.stop();
_root.minimo.stop();
_root.massimo.stop();
_root.hupe.stop();
_root.landmark_bust.stop();
_root.landmark_fadeIn.stop();
_root.bang1.stop();
_root.crash_metall.stop();
_root.loop1_1.stop();
_root.loop1_5.stop();
_root.deccelSound.stop();
_root.loop5.stop();
_root.global_ENTRANCE.stop();
_root.global_gotBonusItems.stop();
_root.global_dramatic.stop();
_root.global_win.stop();
_root.level1_ice_lost.stop();
_root.level1_ice_win.stop();
_root.level1_ice.stop();
_root.CANNON_F.stop();
_root.EXPLOSIO.stop();
_root.CONK.stop();
_root.track1_boss.stop();
_root.mine.stop();
}
function removeLandmarks() {
i = 1;
while (i <= 11) {
var thisClip = eval ("_root.landmark_" + i);
removeMovieClip(thisClip);
i++;
}
removeMovieClip(_root.help);
}
course = 0;
Score = 0;
logo.play();
i = 1;
while (i <= 27) {
var newName = ("holder_" + i);
_root.createEmptyMovieClip(newName, 2000 + i);
switch (i) {
case 1 :
_root.acc = new Sound(_root.holder_1);
_root.acc.attachSound("acc");
_root.acc.setVolume(20);
break;
case 2 :
_root.dec = new Sound(_root.holder_2);
_root.dec.attachSound("dec");
_root.dec.setVolume(20);
break;
case 3 :
_root.minimo = new Sound(_root.holder_3);
_root.minimo.attachSound("minimo");
_root.minimo.setVolume(20);
break;
case 4 :
_root.massimo = new Sound(_root.holder_4);
_root.massimo.attachSound("massimo");
_root.massimo.setVolume(20);
break;
case 5 :
_root.hupe = new Sound(_root.holder_5);
_root.hupe.attachSound("BEEP_BEE.WAV");
_root.hupe.setVolume(50);
break;
case 6 :
_root.landmark_bust = new Sound(_root.holder_6);
_root.landmark_bust.attachSound("global_beep_2.aiff");
_root.landmark_bust.setVolume(80);
break;
case 7 :
_root.bang1 = new Sound(_root.holder_7);
_root.bang1.attachSound("bang1");
_root.bang1.setVolume(100);
break;
case 8 :
_root.crash_metall = new Sound(_root.holder_8);
_root.crash_metall.attachSound("crash_metall.WAV");
_root.crash_metall.setVolume(60);
break;
case 9 :
_root.loop1_1 = new Sound(_root.holder_9);
_root.loop1_1.attachSound("loop1_1");
_root.loop1_1.setVolume(60);
break;
case 10 :
break;
case 11 :
break;
case 12 :
break;
case 13 :
_root.countdown_3 = new Sound(_root.holder_13);
_root.countdown_3.attachSound("countdown_3-1.WAV");
_root.countdown_3.setVolume(60);
break;
case 14 :
_root.countdown_go = new Sound(_root.holder_14);
_root.countdown_go.attachSound("countdown_go.WAV");
_root.countdown_go.setVolume(100);
break;
case 15 :
_root.landmark_fadeIn = new Sound(_root.holder_15);
_root.landmark_fadeIn.attachSound("landmark_fadeIn.wav");
_root.landmark_fadeIn.setVolume(50);
break;
case 16 :
_root.global_ENTRANCE = new Sound(_root.holder_16);
_root.global_ENTRANCE.attachSound("global_ENTRANCE.WAV");
_root.global_ENTRANCE.setVolume(15);
break;
case 17 :
_root.global_gotBonusItems = new Sound(_root.holder_17);
_root.global_gotBonusItems.attachSound("global_gotBonusItems.WAV");
_root.global_gotBonusItems.setVolume(60);
break;
case 18 :
_root.global_dramatic = new Sound(_root.holder_18);
_root.global_dramatic.attachSound("global_dramatic.WAV");
_root.global_dramatic.setVolume(40);
break;
case 19 :
_root.global_win = new Sound(_root.holder_19);
_root.global_win.attachSound("global_win.WAV");
_root.global_win.setVolume(60);
break;
case 20 :
_root.level1_ice_lost = new Sound(_root.holder_20);
_root.level1_ice_lost.attachSound("level1_ice_lost.wav");
_root.level1_ice_lost.setVolume(60);
break;
case 21 :
_root.level1_ice_win = new Sound(_root.holder_21);
_root.level1_ice_win.attachSound("level1_ice_win.wav");
_root.level1_ice_win.setVolume(60);
break;
case 22 :
_root.level1_ice = new Sound(_root.holder_22);
_root.level1_ice.attachSound("level1_ice.wav");
_root.level1_ice.setVolume(35);
break;
case 23 :
_root.CANNON_F = new Sound(_root.holder_23);
_root.CANNON_F.attachSound("CANNON_F.WAV");
_root.CANNON_F.setVolume(70);
break;
case 24 :
_root.EXPLOSIO = new Sound(_root.holder_24);
_root.EXPLOSIO.attachSound("EXPLOSIO.WAV");
_root.EXPLOSIO.setVolume(60);
break;
case 25 :
_root.CONK = new Sound(_root.holder_25);
_root.CONK.attachSound("CONK.WAV");
_root.CONK.setVolume(60);
break;
case 26 :
_root.track1_boss = new Sound(_root.holder_26);
_root.track1_boss.attachSound("track1_boss.wav");
_root.track1_boss.setVolume(80);
break;
case 27 :
_root.mine = new Sound(_root.holder_27);
_root.mine.attachSound("mine.WAV");
_root.mine.setVolume(70);
}
i++;
}
stop();
Frame 5
instructions.play();
stop();
Instance of Symbol 71 MovieClip "hotSpot2" in Frame 8
onClipEvent (load) {
butt.useHandCursor = 0;
}
onClipEvent (enterFrame) {
if (_root.hotSpot2.hitTest(_root.ATVclip)) {
deg = _root.ATVclip._rotation;
trace("deg: " + deg);
if ((deg >= 45) && (deg <= 135)) {
_root.ATVclip.ATV.gotoAndStop("brake");
}
if ((deg <= -45) && (deg >= -135)) {
_root.ATVclip.ATV.gotoAndStop("accelerate");
}
if ((deg > -45) && (deg < 45)) {
_root.ATVclip.ATV.gotoAndStop("leftUp");
}
if ((deg < -135) || (deg > 135)) {
trace("rightup");
_root.ATVclip.ATV.gotoAndStop("rightUp");
}
}
}
Instance of Symbol 71 MovieClip "hotSpot1" in Frame 8
onClipEvent (load) {
butt.useHandCursor = 0;
}
onClipEvent (enterFrame) {
if (_root.hotSpot1.hitTest(_root.ATVclip)) {
_root.ATVclip.ATV.gotoAndStop("normal");
}
}
Instance of Symbol 71 MovieClip "hotSpot3" in Frame 8
onClipEvent (load) {
butt.useHandCursor = 0;
}
onClipEvent (enterFrame) {
if (_root.hotSpot3.hitTest(_root.ATVclip)) {
_root.ATVclip.ATV.gotoAndStop("normal");
}
}
Instance of Symbol 83 MovieClip "ATV_statsBar" in Frame 8
onClipEvent (load) {
function resetBar() {
bar._width = 0.1;
bar._x = bar_origin_x;
bar._y = bar_origin_y;
}
bar_origin_x = bar._x;
bar_origin_y = bar._y;
resetBar();
}
onClipEvent (enterFrame) {
if (_root.gameInProgress == 1) {
bar._width = 100 - _root.hitpoints;
bar._x = bar_origin_x;
bar._y = bar_origin_y;
}
}
Instance of Symbol 93 MovieClip "cheatdisplay" in Frame 8
onClipEvent (enterFrame) {
if (Key.isDown(82) && (Key.isDown(84))) {
if (_root.redTire_cheat == 0) {
_root.redTire_cheat = 1;
} else {
_root.redTire_cheat = 0;
}
}
if (_root.redTire_cheat != 1) {
this._alpha = 0;
} else {
this._alpha = 100;
}
}
Instance of Symbol 102 MovieClip "boss_smoker" in Frame 8
onClipEvent (load) {
function getPoints() {
point = new object();
point.x = _root.ATVclip.ATV._x;
point.y = _root.ATVclip.ATV._y;
_root.ATVclip.ATV.localToGlobal(point);
}
function doSmoke(thisTire) {
getPoints();
duplicateMovieClip (_root.originalsmoke, "smoke" + smokeOnstage, 8520 + smokeOnstage);
thisSmoke = eval ("_root.smoke" + smokeOnstage);
thisSmoke._x = point.x + (int(random(5) + 2) * (1 - (random(2) * 2)));
thisSmoke._y = point.y + (int(random(5) + 2) * (1 - (random(2) * 2)));
maxHitpoints = 75;
currentHitpoints = _root.hitpoints;
newAlpha = Math.abs(currentHitpoints / maxHitpoints) * 100;
newAlpha = 100 - newAlpha;
thisSmoke._alpha = newAlpha;
thisSmoke.play();
smokeOnstage++;
}
maxSmokes = 30;
smokeOnstage = 100;
}
onClipEvent (enterFrame) {
if (((_root.gameInProgress == 1) && (_root.hitpoints <= 75)) && (_root.hitpoints > 0)) {
counter++;
if (counter >= 4) {
doSmoke();
counter = 0;
if (smokeOnstage >= 200) {
smokeOnstage = 100;
}
}
}
}
Instance of Symbol 105 MovieClip "track_1" in Frame 8
onClipEvent (load) {
function setSoundVolume(thisSound) {
maxSpeed = _root.ATVclip.maxspeed;
currentSpeed = Math.abs(_root.ATVclip.w);
newVolume = Math.abs(currentSpeed / maxSpeed) * 100;
return(newVolume);
}
function reduceSpeed() {
if (_root.ATVclip.w > 0) {
_root.ATVclip.w = _root.ATVclip.w - (_root.ATVclip.w / 2);
}
if (_root.ATVclip.w < 0) {
_root.ATVclip.w = _root.ATVclip.w + (_root.ATVclip.w / 2);
}
if (_root.ATVclip.w > 0) {
_root.ATVclip.w = _root.ATVclip.w - (_root.ATVclip.w / 2);
}
if (_root.ATVclip.w < 0) {
_root.ATVclip.w = _root.ATVclip.w + (_root.ATVclip.w / 2);
}
}
function checkforIntersect() {
with (_root.ATVclip) {
if (counterFlag == 1) {
delayCounter++;
if (delayCounter >= 24) {
counterFlag = 0;
delayCounter = 0;
}
}
if (_root.track_1.hitTest(getBounds(_root).xMax, _y, true)) {
if (counterFlag != 1) {
thisSound = _root.bang1;
newVolume = setSoundVolume(thisSound);
thisSound.setVolume(newVolume);
thisSound.start(0, 1);
if (_root.redTire_cheat == 0) {
reduceShields(0, 2 * Math.abs(w));
}
if (w > 0) {
w = 0.1;
} else {
w = -0.1;
}
counterFlag = 1;
_root.engineSound.accvar = 0;
_root.engineSound.myAction = "brk";
}
}
if (_root.track_1.hitTest(getBounds(_root).xMin, _y, true)) {
if (counterFlag != 1) {
thisSound = _root.bang1;
newVolume = setSoundVolume(thisSound);
thisSound.setVolume(newVolume);
thisSound.start(0, 1);
if (_root.redTire_cheat == 0) {
reduceShields(0, 2 * Math.abs(w));
}
if (w > 0) {
w = 0.1;
} else {
w = -0.1;
}
counterFlag = 1;
_root.engineSound.accvar = 0;
_root.engineSound.myAction = "brk";
}
}
if (_root.track_1.hitTest(_x, getBounds(_root).yMax, true)) {
if (counterFlag != 1) {
thisSound = _root.bang1;
newVolume = setSoundVolume(thisSound);
thisSound.setVolume(newVolume);
thisSound.start(0, 1);
if (_root.redTire_cheat == 0) {
reduceShields(0, 2 * Math.abs(w));
}
if (w > 0) {
w = 0.1;
} else {
w = -0.1;
}
counterFlag = 1;
_root.engineSound.accvar = 0;
_root.engineSound.myAction = "brk";
}
}
if (_root.track_1.hitTest(_x, getBounds(_root).yMin, true)) {
if (counterFlag != 1) {
thisSound = _root.bang1;
newVolume = setSoundVolume(thisSound);
thisSound.setVolume(newVolume);
thisSound.start(0, 1);
if (_root.redTire_cheat == 0) {
reduceShields(0, 2 * Math.abs(w));
}
if (w > 0) {
w = 0.1;
} else {
w = -0.1;
}
counterFlag = 1;
_root.engineSound.accvar = 0;
_root.engineSound.myAction = "brk";
}
}
}
}
function checkforOutsideScreen() {
if (_root.ATVclip._x < 0) {
_root.ATVclip._x = 0;
}
if (_root.ATVclip._x > 550) {
_root.ATVclip._x = 550;
}
if (_root.ATVclip._y < 0) {
_root.ATVclip._y = 0;
}
if (_root.ATVclip._y > 400) {
_root.ATVclip._y = 400;
}
}
}
onClipEvent (enterFrame) {
if (_root.gameInProgress == 1) {
checkforIntersect();
checkforOutsideScreen();
}
}
Instance of Symbol 71 MovieClip "hotSpot6" in Frame 8
onClipEvent (load) {
butt.useHandCursor = 0;
}
onClipEvent (enterFrame) {
if (_root.hotSpot6.hitTest(_root.ATVclip)) {
if (((_root.lapCheatflag_A == 0) && (_root.lapCheatflag_B == 1)) && (_root.lapCheatflag_C == 0)) {
_root.lapCheatflag_C = 1;
}
}
}
Instance of Symbol 71 MovieClip "hotSpot4" in Frame 8
onClipEvent (load) {
butt.useHandCursor = 0;
}
onClipEvent (enterFrame) {
if (_root.hotSpot4.hitTest(_root.ATVclip)) {
if (((_root.lapCheatflag_B == 1) && (_root.lapCheatflag_C == 1)) && (_root.lapCheatflag_A == 0)) {
_root.lapCheatflag_A = 0;
_root.lapCheatflag_B = 0;
_root.lapCheatflag_C = 0;
_root.countdown_go.start(0, 0);
_root.lap++;
if (_root.lap > 2) {
myTarget = "win" + _root.course;
_root.gotoAndPlay(myTarget);
_root.lap = 0;
}
}
}
}
Instance of Symbol 71 MovieClip "hotSpot5" in Frame 8
onClipEvent (load) {
butt.useHandCursor = 0;
}
onClipEvent (enterFrame) {
if (_root.hotSpot5.hitTest(_root.ATVclip)) {
if (((_root.lapCheatflag_A == 0) && (_root.lapCheatflag_B == 0)) && (_root.lapCheatflag_C == 0)) {
_root.lapCheatflag_B = 1;
}
}
}
Instance of Symbol 138 MovieClip "ATVclip" in Frame 8
onClipEvent (load) {
function ATVcontrol(faktorN, faktorP, fG, rG) {
if (Key.isDown(37) && (Key.isDown(38))) {
this.ATV.gotoAndStop("left");
_rotation = (_rotation - faktorN);
}
if (Key.isDown(39) && (Key.isDown(38))) {
this.ATV.gotoAndStop("right");
_rotation = (_rotation + faktorP);
}
if (((Key.isDown(37) && (w > 0.1)) && (!Key.isDown(38))) && (!Key.isDown(40))) {
this.ATV.gotoAndStop("left");
_rotation = (_rotation - faktorN);
}
if (((Key.isDown(39) && (w > 0.1)) && (!Key.isDown(38))) && (!Key.isDown(40))) {
this.ATV.gotoAndStop("right");
_rotation = (_rotation + faktorP);
}
if (((Key.isDown(37) && (w < 0)) && (!Key.isDown(38))) && (!Key.isDown(40))) {
this.ATV.gotoAndStop("left");
_rotation = (_rotation + faktorN);
}
if (((Key.isDown(39) && (w < 0)) && (!Key.isDown(38))) && (!Key.isDown(40))) {
this.ATV.gotoAndStop("right");
_rotation = (_rotation - faktorP);
}
if (Key.isDown(37) && (Key.isDown(40))) {
this.ATV.gotoAndStop("left");
if (w > 0) {
_rotation = (_rotation - faktorP);
} else if (w < 0) {
_rotation = (_rotation + faktorP);
}
}
if (Key.isDown(39) && (Key.isDown(40))) {
this.ATV.gotoAndStop("right");
if (w > 0) {
_rotation = (_rotation + faktorN);
} else if (w < 0) {
_rotation = (_rotation - faktorN);
}
}
if (Key.isDown(38)) {
if ((Key.isDown(38) && (!Key.isDown(37))) && (!Key.isDown(39))) {
this.ATV.gotoAndStop("normal");
}
antrieb();
}
if (Key.isDown(40)) {
if ((Key.isDown(40) && (!Key.isDown(37))) && (!Key.isDown(39))) {
this.ATV.gotoAndStop("normal");
}
antrieb();
}
if ((Key.isDown(38) && (w > (-fG))) && (w < fG)) {
if (Key.isDown(40)) {
w = w;
} else {
w = w + acceleration;
}
}
if ((Key.isDown(40) && (w > (-rG))) && (w < fG)) {
if (Key.isDown(38)) {
w = w;
} else {
w = w - acceleration;
}
}
if (((w > 0.1) && (!Key.isDown(38))) && (!Key.isDown(40))) {
antrieb();
w = w - breakverzoegerung;
}
if (((w < -0.1) && (!Key.isDown(38))) && (!Key.isDown(40))) {
antrieb();
w = w + breakverzoegerung;
}
if ((((w < 0.1) && (!Key.isDown(38))) && (!Key.isDown(40))) && (w >= 0)) {
w = 0;
}
if ((((w > -0.1) && (!Key.isDown(38))) && (!Key.isDown(40))) && (w <= 0)) {
w = 0;
}
if ((((Key.isDown(39) != 1) && (Key.isDown(37) != 1)) && (Key.isDown(38) != 1)) && (Key.isDown(40) != 1)) {
this.ATV.gotoAndStop("normal");
}
}
function antrieb() {
_y = (_y - (Math.cos((Math.PI/180) * _rotation) * w));
_x = (_x + (Math.sin((Math.PI/180) * _rotation) * w));
}
function checkIntersect() {
if (counterFlag == 1) {
delayCounter++;
if (delayCounter >= 24) {
counterFlag = 0;
delayCounter = 0;
}
}
if (_root.track_1.hitTest(_root.ATVclip.getBounds(_root).xMax + w, _root.ATVclip.new_y, true)) {
trace("hit: nMax, _y");
thisSound = _root.bang1;
newVolume = setSoundVolume(thisSound);
thisSound.setVolume(newVolume);
thisSound.start(0, 1);
if ((counterFlag != 1) && (_root.redTire_cheat == 0)) {
counterFlag = 1;
}
return(undefined);
}
if (_root.track_1.hitTest(_root.ATVclip.getBounds(_root).xMin - w, _root.ATVclip.new_y, true)) {
trace("hit: xMin, _y");
thisSound = _root.bang1;
newVolume = setSoundVolume(thisSound);
thisSound.setVolume(newVolume);
thisSound.start(0, 1);
if ((counterFlag != 1) && (_root.redTire_cheat == 0)) {
reduceShields(0, Math.abs(w));
}
counterFlag = 1;
return(undefined);
}
if (_root.track_1.hitTest(_root.ATVclip.new_x, _root.ATVclip.getBounds(_root).yMax + w, true)) {
trace("hit: _x, yMax");
thisSound = _root.bang1;
newVolume = setSoundVolume(thisSound);
thisSound.setVolume(newVolume);
thisSound.start(0, 1);
if ((counterFlag != 1) && (_root.redTire_cheat == 0)) {
reduceShields(0, Math.abs(w));
}
counterFlag = 1;
return(undefined);
}
if (_root.track_1.hitTest(_root.ATVclip.new_x, getBounds(_root).yMin - w, true)) {
trace("hit: _x, yMin");
thisSound = _root.bang1;
newVolume = setSoundVolume(thisSound);
thisSound.setVolume(newVolume);
thisSound.start(0, 1);
if ((counterFlag != 1) && (_root.redTire_cheat == 0)) {
reduceShields(0, Math.abs(w));
}
counterFlag = 1;
return(undefined);
}
}
function reduceShields(scoreReduce, hitpointReduce) {
_root.ATVclip.shield.gotoAndPlay(2);
_root.ATVclip.shield._alpha = _root.ATVclip.shield._alpha - hitpointReduce;
_root.score = _root.score - scoreReduce;
_root.hitpoints = _root.hitpoints - hitpointReduce;
if (_root.score < 0) {
_root.score = 0;
}
if (_root.hitpoints < 0) {
_root.hitpoints = 0;
}
if (_root.hitpoints <= 0) {
_root._highquality = 1;
myTarget = "lose" + _root.course;
_root.gotoAndStop(myTarget);
}
}
function checkForMines() {
mineTimer++;
if (Key.isDown(77) && (mineTimer >= mineDelay)) {
mineCount++;
mineTimer = 0;
newMineName = "newMine" + mineCount;
duplicateMovieClip (_root.mineClip, newMineName, mineCount);
newMine = eval ("_root." + newMineName);
newMine._x = this._x;
newMine._y = this._y;
newMine._visible = 1;
_root.mine.start(0, 0);
newMine.gotoAndPlay(2);
}
}
antriebsModus = "grip";
curveSpeed = 4.4;
maxspeed = 13;
reverseSpeed = 2;
breakpower = 4.5;
breakverzoegerung = 0.3;
acceleration = 0.6;
_root.hitpoints = 100;
PI = Math.PI;
this.thrust._visible = 0;
this._rotation = 90;
this.swapDepths(690);
mineCount = 0;
mineTimer = 0;
mineDelay = 48;
}
onClipEvent (enterFrame) {
if ((_root.ATV_keyBlock != 1) && (_root.gameInProgress == 1)) {
if (mineMode != 0) {
checkForMines();
}
ATVcontrol(curveSpeed, curveSpeed, maxspeed, reverseSpeed);
}
}
Instance of Symbol 144 MovieClip "engineSound" in Frame 8
onClipEvent (load) {
myAction = "default1";
myHolder = "default1";
}
onClipEvent (enterFrame) {
if (((_root.ATV_keyBlock == 0) && (_root.gameInProgress == 1)) && (!Key.isDown(38))) {
if ((_root.engineSound.myAction != "brk") && (this._currentframe != 2)) {
_root.engineSound.myAction = "dec";
}
}
if (((_root.ATV_keyBlock == 0) && (_root.gameInProgress == 1)) && (Key.isDown(38))) {
if (_root.engineSound.myAction != "brk") {
_root.engineSound.myAction = "acc";
}
}
if (myHolder != myAction) {
switch (myAction) {
case "acc" :
this.gotoAndStop(myAction);
break;
case "dec" :
this.gotoAndStop(myAction);
break;
case "brk" :
_root.acc.stop();
_root.dec.stop();
_root.minimo.stop();
_root.massimo.stop();
this.gotoAndStop("minimo");
myAction = "default1";
}
myHolder = myAction;
}
}
Frame 9
function startLevelLoop() {
_root.level1_ice.start(0, 9999);
}
_quality = "HIGH";
temp_curveSpeed = _root.ATVclip.curveSpeed;
temp_maxspeed = _root.ATVclip.maxspeed;
temp_reverseSpeed = _root.ATVclip.reverseSpeed;
temp_breakpower = _root.ATVclip.breakpower;
temp_breakverzoegerung = _root.ATVclip.breakverzoegerung;
temp_acceleration = _root.ATVclip.acceleration;
redTire_cheat = 0;
userScore_const = score;
_root.ATV_keyBlock = 1;
_root.gameInProgress = 0;
_root.hitpoints = 100;
_root.ATV_statsBar.resetBar();
track_1_grafik.gotoAndStop(1);
track_1.gotoAndStop(1);
eisplatteShaddow._visible = 1;
courseDisplay = 1;
course = "course1";
lap = 1;
lapCheatflag_A = 0;
lapCheatflag_B = 0;
lapCheatflag_C = 0;
_root.global_landmark_count = 0;
_root.landmark_count = 0;
_root.clock.gotoAndStop(1);
_root.clock.clockInlay.min = "0";
_root.clock.clockInlay.sec1 = "3";
_root.clock.clockInlay.sec2 = "0";
stopAllSounds();
myStopAllSouds();
updateAfterEvent();
_root.global_ENTRANCE.start(0, 0);
_root.engineSound.myAction = "brk";
help.swapDepths(880);
help.gotoAndStop(2);
stop();
Frame 15
_quality = "HIGH";
_root.clock.gotoAndStop(1);
_root.gameInProgress = 0;
_root.ATV_keyBlock = 1;
removeMovieClip(ATVclip);
stopAllSounds();
myStopAllSouds();
removeLandmarks();
_root.level1_ice_win.start(0, 0);
_root.global_win.start(0, 0);
if (landmark_count > 0) {
_root.landmark_display_count.play();
} else {
_root.landmark_display_count.gotoAndPlay("ready");
}
_root.engineSound.gotoAndStop(1);
_root.nextButton._visible = 0;
stop();
Frame 17
if (_root.hitpoints > 25) {
bonusText.gotoAndPlay(2);
_root.global_gotBonusItems.start(0, 0);
_root.score = _root.score + 50000;
temp_curveSpeed = 5.1;
temp_maxspeed = 14;
temp_reverseSpeed = 2;
temp_breakpower = 5.5;
temp_breakverzoegerung = 0.5;
temp_acceleration = 1;
} else {
_root.youMadeIt.gotoAndStop(2);
}
_root.nextButton._visible = 1;
_root.display_score = _root.score;
stop();
Frame 22
_quality = "HIGH";
_root.clock.gotoAndStop(1);
_root.gameInProgress = 0;
_root.ATV_keyBlock = 1;
removeMovieClip(ATVclip);
stopAllSounds();
myStopAllSouds();
_root.global_dramatic.start(0, 0);
_root.level1_ice_lost.start(0, 0);
removeLandmarks();
if (_root.hitpoints <= 0) {
message = "YOU WRECKED OUR ATV !!!";
}
if (((_root.clock.clockInlay.min <= 0) && (_root.clock.clockInlay.sec1 <= 0)) && (_root.clock.clockInlay.sec2 <= 0)) {
message = "OUT OF TIME !!!";
}
if (redtireTouch == 1) {
message = "Please Avoid red Tires !!!";
}
_root.engineSound.gotoAndStop(1);
stop();
Frame 29
_quality = "HIGH";
score = userScore_const;
_root.display_score = score;
_root.gameInProgress = 0;
_root.ATV_keyBlock = 1;
removeMovieClip(ATVclip);
_root.ATV_statsBar.gotoAndStop(1);
stopAllSounds();
myStopAllSouds();
removeLandmarks();
gotoAndPlay (8);
Instance of Symbol 71 MovieClip "hotSpot6" in Frame 44
onClipEvent (load) {
butt.useHandCursor = 0;
}
onClipEvent (enterFrame) {
if (_root.hotSpot6.hitTest(_root.ATVclip)) {
if (((_root.lapCheatflag_A == 0) && (_root.lapCheatflag_B == 1)) && (_root.lapCheatflag_C == 0)) {
_root.lapCheatflag_C = 1;
}
}
}
Instance of Symbol 71 MovieClip "hotSpot4" in Frame 44
onClipEvent (load) {
butt.useHandCursor = 0;
}
onClipEvent (enterFrame) {
if (_root.hotSpot4.hitTest(_root.ATVclip)) {
if (((_root.lapCheatflag_B == 1) && (_root.lapCheatflag_C == 1)) && (_root.lapCheatflag_A == 0)) {
_root.lapCheatflag_A = 0;
_root.lapCheatflag_B = 0;
_root.lapCheatflag_C = 0;
_root.countdown_go.start(0, 0);
_root.lap++;
if (_root.lap > 3) {
myTarget = "win" + _root.course;
_root.gotoAndPlay(myTarget);
_root.lap = 0;
}
}
}
}
Instance of Symbol 71 MovieClip "hotSpot5" in Frame 44
onClipEvent (load) {
butt.useHandCursor = 0;
}
onClipEvent (enterFrame) {
if (_root.hotSpot5.hitTest(_root.ATVclip)) {
if (((_root.lapCheatflag_A == 0) && (_root.lapCheatflag_B == 0)) && (_root.lapCheatflag_C == 0)) {
_root.lapCheatflag_B = 1;
}
}
}
Instance of Symbol 138 MovieClip "ATVclip" in Frame 44
onClipEvent (load) {
function ATVcontrol(faktorN, faktorP, fG, rG) {
if (Key.isDown(37) && (Key.isDown(38))) {
this.ATV.gotoAndStop("left");
_rotation = (_rotation - faktorN);
}
if (Key.isDown(39) && (Key.isDown(38))) {
this.ATV.gotoAndStop("right");
_rotation = (_rotation + faktorP);
}
if (((Key.isDown(37) && (w > 0.1)) && (!Key.isDown(38))) && (!Key.isDown(40))) {
this.ATV.gotoAndStop("left");
_rotation = (_rotation - faktorN);
}
if (((Key.isDown(39) && (w > 0.1)) && (!Key.isDown(38))) && (!Key.isDown(40))) {
this.ATV.gotoAndStop("right");
_rotation = (_rotation + faktorP);
}
if (((Key.isDown(37) && (w < 0)) && (!Key.isDown(38))) && (!Key.isDown(40))) {
this.ATV.gotoAndStop("left");
_rotation = (_rotation + faktorN);
}
if (((Key.isDown(39) && (w < 0)) && (!Key.isDown(38))) && (!Key.isDown(40))) {
this.ATV.gotoAndStop("right");
_rotation = (_rotation - faktorP);
}
if (Key.isDown(37) && (Key.isDown(40))) {
this.ATV.gotoAndStop("left");
if (w > 0) {
_rotation = (_rotation - faktorP);
} else if (w < 0) {
_rotation = (_rotation + faktorP);
}
}
if (Key.isDown(39) && (Key.isDown(40))) {
this.ATV.gotoAndStop("right");
if (w > 0) {
_rotation = (_rotation + faktorN);
} else if (w < 0) {
_rotation = (_rotation - faktorN);
}
}
if (Key.isDown(38)) {
if ((Key.isDown(38) && (!Key.isDown(37))) && (!Key.isDown(39))) {
this.ATV.gotoAndStop("normal");
}
antrieb();
}
if (Key.isDown(40)) {
if ((Key.isDown(40) && (!Key.isDown(37))) && (!Key.isDown(39))) {
this.ATV.gotoAndStop("normal");
}
antrieb();
}
if ((Key.isDown(38) && (w > (-fG))) && (w < fG)) {
if (Key.isDown(40)) {
w = w;
} else {
w = w + acceleration;
}
}
if ((Key.isDown(40) && (w > (-rG))) && (w < fG)) {
if (Key.isDown(38)) {
w = w;
} else {
w = w - acceleration;
}
}
if (((w > 0.1) && (!Key.isDown(38))) && (!Key.isDown(40))) {
antrieb();
w = w - breakverzoegerung;
}
if (((w < -0.1) && (!Key.isDown(38))) && (!Key.isDown(40))) {
antrieb();
w = w + breakverzoegerung;
}
if ((((w < 0.1) && (!Key.isDown(38))) && (!Key.isDown(40))) && (w >= 0)) {
w = 0;
}
if ((((w > -0.1) && (!Key.isDown(38))) && (!Key.isDown(40))) && (w <= 0)) {
w = 0;
}
if ((((Key.isDown(39) != 1) && (Key.isDown(37) != 1)) && (Key.isDown(38) != 1)) && (Key.isDown(40) != 1)) {
this.ATV.gotoAndStop("normal");
}
}
function antrieb() {
_y = (_y - (Math.cos((Math.PI/180) * _rotation) * w));
_x = (_x + (Math.sin((Math.PI/180) * _rotation) * w));
}
function checkIntersect() {
if (counterFlag == 1) {
delayCounter++;
if (delayCounter >= 24) {
counterFlag = 0;
delayCounter = 0;
}
}
if (_root.track_1.hitTest(_root.ATVclip.getBounds(_root).xMax + w, _root.ATVclip.new_y, true)) {
trace("hit: nMax, _y");
thisSound = _root.bang1;
newVolume = setSoundVolume(thisSound);
thisSound.setVolume(newVolume);
thisSound.start(0, 1);
if ((counterFlag != 1) && (_root.redTire_cheat == 0)) {
counterFlag = 1;
}
return(undefined);
}
if (_root.track_1.hitTest(_root.ATVclip.getBounds(_root).xMin - w, _root.ATVclip.new_y, true)) {
trace("hit: xMin, _y");
thisSound = _root.bang1;
newVolume = setSoundVolume(thisSound);
thisSound.setVolume(newVolume);
thisSound.start(0, 1);
if ((counterFlag != 1) && (_root.redTire_cheat == 0)) {
reduceShields(0, Math.abs(w));
}
counterFlag = 1;
return(undefined);
}
if (_root.track_1.hitTest(_root.ATVclip.new_x, _root.ATVclip.getBounds(_root).yMax + w, true)) {
trace("hit: _x, yMax");
thisSound = _root.bang1;
newVolume = setSoundVolume(thisSound);
thisSound.setVolume(newVolume);
thisSound.start(0, 1);
if ((counterFlag != 1) && (_root.redTire_cheat == 0)) {
reduceShields(0, Math.abs(w));
}
counterFlag = 1;
return(undefined);
}
if (_root.track_1.hitTest(_root.ATVclip.new_x, getBounds(_root).yMin - w, true)) {
trace("hit: _x, yMin");
thisSound = _root.bang1;
newVolume = setSoundVolume(thisSound);
thisSound.setVolume(newVolume);
thisSound.start(0, 1);
if ((counterFlag != 1) && (_root.redTire_cheat == 0)) {
reduceShields(0, Math.abs(w));
}
counterFlag = 1;
return(undefined);
}
}
function reduceShields(scoreReduce, hitpointReduce) {
_root.ATVclip.shield.gotoAndPlay(2);
_root.ATVclip.shield._alpha = _root.ATVclip.shield._alpha - hitpointReduce;
_root.score = _root.score - scoreReduce;
_root.hitpoints = _root.hitpoints - hitpointReduce;
if (_root.score < 0) {
_root.score = 0;
}
if (_root.hitpoints < 0) {
_root.hitpoints = 0;
}
if (_root.hitpoints <= 0) {
_root._highquality = 1;
myTarget = "lose" + _root.course;
_root.gotoAndStop(myTarget);
}
}
function checkForMines() {
mineTimer++;
if (Key.isDown(77) && (mineTimer >= mineDelay)) {
mineCount++;
mineTimer = 0;
newMineName = "newMine" + mineCount;
duplicateMovieClip (_root.mineClip, newMineName, mineCount);
newMine = eval ("_root." + newMineName);
newMine._x = this._x;
newMine._y = this._y;
newMine._visible = 1;
_root.mine.start(0, 0);
newMine.gotoAndPlay(2);
}
}
antriebsModus = "grip";
_root.hitpoints = 100;
PI = Math.PI;
this.thrust._visible = 0;
this._rotation = 90;
this.swapDepths(690);
mineCount = 0;
mineTimer = 0;
mineDelay = 48;
}
onClipEvent (enterFrame) {
if ((_root.ATV_keyBlock != 1) && (_root.gameInProgress == 1)) {
if (mineMode != 0) {
checkForMines();
}
ATVcontrol(curveSpeed, curveSpeed, maxspeed, reverseSpeed);
}
}
Instance of Symbol 186 MovieClip "landmark_1" in Frame 44
onClipEvent (load) {
nextItem = _root.landmark_2;
landmark.scoreBubble.scoreValue = "1.000";
myScore = 1000;
}
Instance of Symbol 186 MovieClip "landmark_2" in Frame 44
onClipEvent (load) {
nextItem = _root.landmark_3;
landmark.scoreBubble.scoreValue = "1.000";
myScore = 1000;
}
Instance of Symbol 186 MovieClip "landmark_3" in Frame 44
onClipEvent (load) {
nextItem = _root.landmark_4;
landmark.scoreBubble.scoreValue = "1.000";
myScore = 1000;
}
Instance of Symbol 186 MovieClip "landmark_4" in Frame 44
onClipEvent (load) {
nextItem = _root.landmark_5;
landmark.scoreBubble.scoreValue = "1.000";
myScore = 1000;
}
Instance of Symbol 186 MovieClip "landmark_5" in Frame 44
onClipEvent (load) {
nextItem = _root.landmark_6;
landmark.scoreBubble.scoreValue = "1.000";
myScore = 1000;
}
Instance of Symbol 186 MovieClip "landmark_7" in Frame 44
onClipEvent (load) {
nextItem = _root.landmark_8;
landmark.scoreBubble.scoreValue = "1.000";
myScore = 1000;
}
Instance of Symbol 186 MovieClip "landmark_8" in Frame 44
onClipEvent (load) {
nextItem = _root.landmark_9;
landmark.scoreBubble.scoreValue = "1.000";
myScore = 1000;
}
Instance of Symbol 186 MovieClip "landmark_9" in Frame 44
onClipEvent (load) {
nextItem = _root.landmark_10;
landmark.scoreBubble.scoreValue = "1.000";
myScore = 1000;
}
Instance of Symbol 186 MovieClip "landmark_6" in Frame 44
onClipEvent (load) {
nextItem = _root.landmark_7;
landmark.scoreBubble.scoreValue = "1.000";
myScore = 1000;
}
Instance of Symbol 186 MovieClip "landmark_10" in Frame 44
onClipEvent (load) {
nextItem = null;
landmark.scoreBubble.scoreValue = "1.000";
myScore = 1000;
}
Instance of Symbol 144 MovieClip "engineSound" in Frame 44
onClipEvent (load) {
myAction = "default1";
myHolder = "default1";
}
onClipEvent (enterFrame) {
if (((_root.ATV_keyBlock == 0) && (_root.gameInProgress == 1)) && (!Key.isDown(38))) {
if ((_root.engineSound.myAction != "brk") && (this._currentframe != 2)) {
_root.engineSound.myAction = "dec";
}
}
if (((_root.ATV_keyBlock == 0) && (_root.gameInProgress == 1)) && (Key.isDown(38))) {
if (_root.engineSound.myAction != "brk") {
_root.engineSound.myAction = "acc";
}
}
if (myHolder != myAction) {
switch (myAction) {
case "acc" :
this.gotoAndStop(myAction);
break;
case "dec" :
this.gotoAndStop(myAction);
break;
case "brk" :
_root.acc.stop();
_root.dec.stop();
_root.minimo.stop();
_root.massimo.stop();
this.gotoAndStop("minimo");
myAction = "default1";
}
myHolder = myAction;
}
}
Frame 45
function startLevelLoop() {
_root.level1_ice.start(0, 9999);
}
_quality = "HIGH";
_root.ATVclip.curveSpeed = temp_curveSpeed;
_root.ATVclip.maxspeed = temp_maxspeed;
_root.ATVclip.reverseSpeed = temp_reverseSpeed;
_root.ATVclip.breakpower = temp_breakpower;
_root.ATVclip.breakverzoegerung = temp_breakverzoegerung;
_root.ATVclip.acceleration = temp_acceleration;
redTire_cheat = 0;
userScore_const = score;
_root.ATV_keyBlock = 1;
_root.gameInProgress = 0;
_root.hitpoints = 100;
_root.ATV_statsBar.resetBar();
track_1_grafik.gotoAndStop(1);
track_1.gotoAndStop(1);
eisplatteShaddow._visible = 1;
courseDisplay = 2;
course = "course2";
lap = 1;
lapCheatflag_A = 0;
lapCheatflag_B = 0;
lapCheatflag_C = 0;
_root.temp_global_landmark_count = _root.global_landmark_count;
_root.landmark_count = 0;
activeLandmark = _root.landmark_1;
i = 1;
while (i <= 11) {
thisClip = eval ("_root.landmark_" + i);
if (thisClip == activeLandmark) {
activeLandmark.gotoAndPlay(1);
} else {
thisClip.gotoAndStop(1);
}
thisClip.swapDepths(760 + i);
i++;
}
_root.clock.gotoAndStop(1);
_root.clock.clockInlay.min = "0";
_root.clock.clockInlay.sec1 = "2";
_root.clock.clockInlay.sec2 = "5";
trace("accvar1: " + _root.engineSound.accvar);
stopAllSounds();
myStopAllSouds();
trace("accvar2: " + _root.engineSound.accvar);
updateAfterEvent();
_root.global_ENTRANCE.start(0, 0);
_root.engineSound.myAction = "brk";
help.swapDepths(880);
help.gotoAndStop(2);
stop();
Frame 51
_quality = "HIGH";
_root.clock.gotoAndStop(1);
_root.gameInProgress = 0;
_root.ATV_keyBlock = 1;
removeMovieClip(ATVclip);
stopAllSounds();
myStopAllSouds();
removeLandmarks();
_root.level1_ice_win.start(0, 0);
_root.global_win.start(0, 0);
if (landmark_count > 0) {
_root.landmark_display_count.play();
} else {
_root.landmark_display_count.gotoAndPlay("ready");
}
_root.nextButton._visible = 0;
_root.engineSound.gotoAndStop(1);
stop();
Frame 53
if ((_root.hitpoints > 25) && (_root.landmark_count >= 10)) {
bonusText.gotoAndPlay(2);
_root.global_gotBonusItems.start(0, 0);
_root.score = _root.score + 50000;
temp_curveSpeed = 6.8;
temp_maxspeed = 16;
temp_reverseSpeed = 3;
temp_breakpower = 6.5;
temp_breakverzoegerung = 0.7;
temp_acceleration = 1.8;
} else {
_root.youMadeIt.gotoAndStop(2);
}
_root.nextButton._visible = 1;
_root.display_score = _root.score;
stop();
Frame 58
_quality = "HIGH";
_root.clock.gotoAndStop(1);
_root.gameInProgress = 0;
_root.ATV_keyBlock = 1;
removeMovieClip(ATVclip);
stopAllSounds();
myStopAllSouds();
_root.global_dramatic.start(0, 0);
_root.level1_ice_lost.start(0, 0);
removeLandmarks();
if (_root.hitpoints <= 0) {
message = "YOU WRECKED OUR ATV !!!";
}
if (((_root.clock.clockInlay.min <= 0) && (_root.clock.clockInlay.sec1 <= 0)) && (_root.clock.clockInlay.sec2 <= 0)) {
message = "OUT OF TIME !!!";
}
if (redtireTouch == 1) {
message = "Please Avoid red Tires !!!";
}
_root.engineSound.gotoAndStop(1);
stop();
Frame 65
_quality = "HIGH";
score = userScore_const;
_root.display_score = score;
_root.gameInProgress = 0;
_root.ATV_keyBlock = 1;
removeMovieClip(ATVclip);
_root.ATV_statsBar.gotoAndStop(1);
_root.global_landmark_count = _root.temp_global_landmark_count;
_root.landmark_count = 0;
stopAllSounds();
myStopAllSouds();
removeLandmarks();
gotoAndPlay (44);
Instance of Symbol 71 MovieClip "hotSpot4" in Frame 80
onClipEvent (load) {
butt.useHandCursor = 0;
}
onClipEvent (enterFrame) {
if (_root.hotSpot4.hitTest(_root.ATVclip)) {
if (((_root.lapCheatflag_B == 1) && (_root.lapCheatflag_C == 1)) && (_root.lapCheatflag_A == 0)) {
_root.lapCheatflag_A = 0;
_root.lapCheatflag_B = 0;
_root.lapCheatflag_C = 0;
_root.countdown_go.start(0, 0);
_root.lap++;
if (_root.lap > 3) {
myTarget = "win" + _root.course;
_root.gotoAndPlay(myTarget);
_root.lap = 0;
}
}
}
}
Instance of Symbol 71 MovieClip "hotSpot6" in Frame 80
onClipEvent (load) {
butt.useHandCursor = 0;
}
onClipEvent (enterFrame) {
if (_root.hotSpot6.hitTest(_root.ATVclip)) {
if (((_root.lapCheatflag_A == 0) && (_root.lapCheatflag_B == 1)) && (_root.lapCheatflag_C == 0)) {
_root.lapCheatflag_C = 1;
_root.wallClip.wallActive_flag = 1;
}
}
}
Instance of Symbol 71 MovieClip "hotSpot5" in Frame 80
onClipEvent (load) {
butt.useHandCursor = 0;
}
onClipEvent (enterFrame) {
if (_root.hotSpot5.hitTest(_root.ATVclip)) {
if (((_root.lapCheatflag_A == 0) && (_root.lapCheatflag_B == 0)) && (_root.lapCheatflag_C == 0)) {
_root.lapCheatflag_B = 1;
}
}
}
Instance of Symbol 207 MovieClip "wallClip" in Frame 80
onClipEvent (load) {
wallUp_duration = 22;
}
Instance of Symbol 138 MovieClip "ATVclip" in Frame 80
onClipEvent (load) {
function ATVcontrol(faktorN, faktorP, fG, rG) {
if (Key.isDown(37) && (Key.isDown(38))) {
this.ATV.gotoAndStop("left");
_rotation = (_rotation - faktorN);
}
if (Key.isDown(39) && (Key.isDown(38))) {
this.ATV.gotoAndStop("right");
_rotation = (_rotation + faktorP);
}
if (((Key.isDown(37) && (w > 0.1)) && (!Key.isDown(38))) && (!Key.isDown(40))) {
this.ATV.gotoAndStop("left");
_rotation = (_rotation - faktorN);
}
if (((Key.isDown(39) && (w > 0.1)) && (!Key.isDown(38))) && (!Key.isDown(40))) {
this.ATV.gotoAndStop("right");
_rotation = (_rotation + faktorP);
}
if (((Key.isDown(37) && (w < 0)) && (!Key.isDown(38))) && (!Key.isDown(40))) {
this.ATV.gotoAndStop("left");
_rotation = (_rotation + faktorN);
}
if (((Key.isDown(39) && (w < 0)) && (!Key.isDown(38))) && (!Key.isDown(40))) {
this.ATV.gotoAndStop("right");
_rotation = (_rotation - faktorP);
}
if (Key.isDown(37) && (Key.isDown(40))) {
this.ATV.gotoAndStop("left");
if (w > 0) {
_rotation = (_rotation - faktorP);
} else if (w < 0) {
_rotation = (_rotation + faktorP);
}
}
if (Key.isDown(39) && (Key.isDown(40))) {
this.ATV.gotoAndStop("right");
if (w > 0) {
_rotation = (_rotation + faktorN);
} else if (w < 0) {
_rotation = (_rotation - faktorN);
}
}
if (Key.isDown(38)) {
if ((Key.isDown(38) && (!Key.isDown(37))) && (!Key.isDown(39))) {
this.ATV.gotoAndStop("normal");
}
antrieb();
}
if (Key.isDown(40)) {
if ((Key.isDown(40) && (!Key.isDown(37))) && (!Key.isDown(39))) {
this.ATV.gotoAndStop("normal");
}
antrieb();
}
if ((Key.isDown(38) && (w > (-fG))) && (w < fG)) {
if (Key.isDown(40)) {
w = w;
} else {
w = w + acceleration;
}
}
if ((Key.isDown(40) && (w > (-rG))) && (w < fG)) {
if (Key.isDown(38)) {
w = w;
} else {
w = w - acceleration;
}
}
if (((w > 0.1) && (!Key.isDown(38))) && (!Key.isDown(40))) {
antrieb();
w = w - breakverzoegerung;
}
if (((w < -0.1) && (!Key.isDown(38))) && (!Key.isDown(40))) {
antrieb();
w = w + breakverzoegerung;
}
if ((((w < 0.1) && (!Key.isDown(38))) && (!Key.isDown(40))) && (w >= 0)) {
w = 0;
}
if ((((w > -0.1) && (!Key.isDown(38))) && (!Key.isDown(40))) && (w <= 0)) {
w = 0;
}
if ((((Key.isDown(39) != 1) && (Key.isDown(37) != 1)) && (Key.isDown(38) != 1)) && (Key.isDown(40) != 1)) {
this.ATV.gotoAndStop("normal");
}
}
function antrieb() {
_y = (_y - (Math.cos((Math.PI/180) * _rotation) * w));
_x = (_x + (Math.sin((Math.PI/180) * _rotation) * w));
}
function checkIntersect() {
if (counterFlag == 1) {
delayCounter++;
if (delayCounter >= 24) {
counterFlag = 0;
delayCounter = 0;
}
}
if (_root.track_1.hitTest(_root.ATVclip.getBounds(_root).xMax + w, _root.ATVclip.new_y, true)) {
trace("hit: nMax, _y");
thisSound = _root.bang1;
newVolume = setSoundVolume(thisSound);
thisSound.setVolume(newVolume);
thisSound.start(0, 1);
if ((counterFlag != 1) && (_root.redTire_cheat == 0)) {
counterFlag = 1;
}
return(undefined);
}
if (_root.track_1.hitTest(_root.ATVclip.getBounds(_root).xMin - w, _root.ATVclip.new_y, true)) {
trace("hit: xMin, _y");
thisSound = _root.bang1;
newVolume = setSoundVolume(thisSound);
thisSound.setVolume(newVolume);
thisSound.start(0, 1);
if ((counterFlag != 1) && (_root.redTire_cheat == 0)) {
reduceShields(0, Math.abs(w));
}
counterFlag = 1;
return(undefined);
}
if (_root.track_1.hitTest(_root.ATVclip.new_x, _root.ATVclip.getBounds(_root).yMax + w, true)) {
trace("hit: _x, yMax");
thisSound = _root.bang1;
newVolume = setSoundVolume(thisSound);
thisSound.setVolume(newVolume);
thisSound.start(0, 1);
if ((counterFlag != 1) && (_root.redTire_cheat == 0)) {
reduceShields(0, Math.abs(w));
}
counterFlag = 1;
return(undefined);
}
if (_root.track_1.hitTest(_root.ATVclip.new_x, getBounds(_root).yMin - w, true)) {
trace("hit: _x, yMin");
thisSound = _root.bang1;
newVolume = setSoundVolume(thisSound);
thisSound.setVolume(newVolume);
thisSound.start(0, 1);
if ((counterFlag != 1) && (_root.redTire_cheat == 0)) {
reduceShields(0, Math.abs(w));
}
counterFlag = 1;
return(undefined);
}
}
function reduceShields(scoreReduce, hitpointReduce) {
_root.ATVclip.shield.gotoAndPlay(2);
_root.ATVclip.shield._alpha = _root.ATVclip.shield._alpha - hitpointReduce;
_root.score = _root.score - scoreReduce;
_root.hitpoints = _root.hitpoints - hitpointReduce;
if (_root.score < 0) {
_root.score = 0;
}
if (_root.hitpoints < 0) {
_root.hitpoints = 0;
}
if (_root.hitpoints <= 0) {
_root._highquality = 1;
myTarget = "lose" + _root.course;
_root.gotoAndStop(myTarget);
}
}
function checkForMines() {
mineTimer++;
if (Key.isDown(77) && (mineTimer >= mineDelay)) {
mineCount++;
mineTimer = 0;
newMineName = "newMine" + mineCount;
duplicateMovieClip (_root.mineClip, newMineName, mineCount);
newMine = eval ("_root." + newMineName);
newMine._x = this._x;
newMine._y = this._y;
newMine._visible = 1;
_root.mine.start(0, 0);
newMine.gotoAndPlay(2);
}
}
antriebsModus = "grip";
_root.hitpoints = 100;
PI = Math.PI;
this.thrust._visible = 0;
this._rotation = 90;
this.swapDepths(690);
mineCount = 0;
mineTimer = 0;
mineDelay = 48;
}
onClipEvent (enterFrame) {
if ((_root.ATV_keyBlock != 1) && (_root.gameInProgress == 1)) {
if (mineMode != 0) {
checkForMines();
}
ATVcontrol(curveSpeed, curveSpeed, maxspeed, reverseSpeed);
}
}
Instance of Symbol 186 MovieClip "landmark_1" in Frame 80
onClipEvent (load) {
nextItem = _root.landmark_2;
landmark.scoreBubble.scoreValue = "1.000";
myScore = 1000;
}
Instance of Symbol 186 MovieClip "landmark_2" in Frame 80
onClipEvent (load) {
nextItem = _root.landmark_3;
landmark.scoreBubble.scoreValue = "1.000";
myScore = 1000;
}
Instance of Symbol 186 MovieClip "landmark_3" in Frame 80
onClipEvent (load) {
nextItem = _root.landmark_4;
landmark.scoreBubble.scoreValue = "1.000";
myScore = 1000;
}
Instance of Symbol 186 MovieClip "landmark_4" in Frame 80
onClipEvent (load) {
nextItem = _root.landmark_5;
landmark.scoreBubble.scoreValue = "1.000";
myScore = 1000;
}
Instance of Symbol 186 MovieClip "landmark_5" in Frame 80
onClipEvent (load) {
nextItem = _root.landmark_6;
landmark.scoreBubble.scoreValue = "1.000";
myScore = 1000;
}
Instance of Symbol 186 MovieClip "landmark_6" in Frame 80
onClipEvent (load) {
nextItem = _root.landmark_7;
landmark.scoreBubble.scoreValue = "1.000";
myScore = 1000;
}
Instance of Symbol 186 MovieClip "landmark_7" in Frame 80
onClipEvent (load) {
nextItem = _root.landmark_8;
landmark.scoreBubble.scoreValue = "1.000";
myScore = 1000;
}
Instance of Symbol 186 MovieClip "landmark_8" in Frame 80
onClipEvent (load) {
nextItem = _root.landmark_9;
landmark.scoreBubble.scoreValue = "1.000";
myScore = 1000;
}
Instance of Symbol 186 MovieClip "landmark_9" in Frame 80
onClipEvent (load) {
nextItem = _root.landmark_10;
landmark.scoreBubble.scoreValue = "1.000";
myScore = 1000;
}
Instance of Symbol 186 MovieClip "landmark_10" in Frame 80
onClipEvent (load) {
nextItem = null;
landmark.scoreBubble.scoreValue = "1.000";
myScore = 1000;
}
Instance of Symbol 144 MovieClip "engineSound" in Frame 80
onClipEvent (load) {
myAction = "default1";
myHolder = "default1";
}
onClipEvent (enterFrame) {
if (((_root.ATV_keyBlock == 0) && (_root.gameInProgress == 1)) && (!Key.isDown(38))) {
if ((_root.engineSound.myAction != "brk") && (this._currentframe != 2)) {
_root.engineSound.myAction = "dec";
}
}
if (((_root.ATV_keyBlock == 0) && (_root.gameInProgress == 1)) && (Key.isDown(38))) {
if (_root.engineSound.myAction != "brk") {
_root.engineSound.myAction = "acc";
}
}
if (myHolder != myAction) {
switch (myAction) {
case "acc" :
this.gotoAndStop(myAction);
break;
case "dec" :
this.gotoAndStop(myAction);
break;
case "brk" :
_root.acc.stop();
_root.dec.stop();
_root.minimo.stop();
_root.massimo.stop();
this.gotoAndStop("minimo");
myAction = "default1";
}
myHolder = myAction;
}
}
Frame 81
function startLevelLoop() {
_root.level1_ice.start(0, 9999);
}
_quality = "HIGH";
_root.ATVclip.curveSpeed = temp_curveSpeed;
_root.ATVclip.maxspeed = temp_maxspeed;
_root.ATVclip.reverseSpeed = temp_reverseSpeed;
_root.ATVclip.breakpower = temp_breakpower;
_root.ATVclip.breakverzoegerung = temp_breakverzoegerung;
_root.ATVclip.acceleration = temp_acceleration;
redTire_cheat = 0;
userScore_const = score;
track_1_grafik.gotoAndStop(1);
track_1.gotoAndStop(1);
eisplatteShaddow._visible = 1;
_root.ATV_keyBlock = 1;
_root.gameInProgress = 0;
_root.hitpoints = 100;
_root.ATV_statsBar.resetBar();
wallClip.wallActive_flag = 1;
_root.rabbitKills = 0;
_root.courseDisplay = 3;
_root.course = "course3";
lap = 1;
lapCheatflag_A = 0;
lapCheatflag_B = 0;
lapCheatflag_C = 0;
_root.temp_global_landmark_count = _root.global_landmark_count;
_root.landmark_count = 0;
activeLandmark = _root.landmark_1;
i = 1;
while (i <= 11) {
thisClip = eval ("_root.landmark_" + i);
if (thisClip == activeLandmark) {
activeLandmark.gotoAndPlay(1);
} else {
thisClip.gotoAndStop(1);
}
thisClip.swapDepths(760 + i);
i++;
}
_root.clock.gotoAndStop(1);
_root.clock.clockInlay.min = "0";
_root.clock.clockInlay.sec1 = "3";
_root.clock.clockInlay.sec2 = "0";
stopAllSounds();
myStopAllSouds();
updateAfterEvent();
_root.global_ENTRANCE.start(0, 0);
_root.engineSound.myAction = "brk";
help.swapDepths(880);
help.gotoAndStop(2);
stop();
Frame 87
_quality = "HIGH";
_root.clock.gotoAndStop(1);
_root.gameInProgress = 0;
_root.ATV_keyBlock = 1;
removeMovieClip(ATVclip);
stopAllSounds();
myStopAllSouds();
removeLandmarks();
_root.hupe.start(0, 1);
_root.loop1_1.start(0, 9999);
if (landmark_count > 0) {
_root.landmark_display_count.play();
} else {
_root.landmark_display_count.gotoAndPlay("ready");
}
_root.nextButton._visible = 0;
_root.engineSound.gotoAndStop(1);
stop();
Frame 89
if (((_root.hitpoints > 25) && (_root.rabbitKills == 0)) && (_root.landmark_count >= 10)) {
_root.global_gotBonusItems.start(0, 0);
_root.score = _root.score + 50000;
_root.display_score = _root.score;
bonusText.gotoAndPlay(2);
temp_curveSpeed = 8.5;
temp_maxspeed = 18;
temp_reverseSpeed = 6;
temp_breakpower = 9.5;
temp_breakverzoegerung = 0.8;
temp_acceleration = 1.8;
} else {
_root.youMadeIt.gotoAndStop(2);
}
_root.nextButton._visible = 1;
_root.display_score = _root.score;
stop();
Frame 94
_quality = "HIGH";
_root.clock.gotoAndStop(1);
_root.gameInProgress = 0;
_root.ATV_keyBlock = 1;
removeMovieClip(ATVclip);
stopAllSounds();
myStopAllSouds();
_root.global_dramatic.start(0, 0);
_root.level1_ice_lost.start(0, 0);
removeLandmarks();
if (_root.hitpoints <= 0) {
message = "You blew our ATV !!!";
}
if (((_root.clock.clockInlay.min <= 0) && (_root.clock.clockInlay.sec1 <= 0)) && (_root.clock.clockInlay.sec2 <= 0)) {
message = "TOO SLOW Buddy !";
}
if (redtireTouch == 1) {
message = "Please avoid red tires!";
}
_root.engineSound.gotoAndStop(1);
stop();
Frame 102
_quality = "HIGH";
score = userScore_const;
_root.display_score = score;
_root.gameInProgress = 0;
_root.ATV_keyBlock = 1;
removeMovieClip(ATVclip);
_root.ATV_statsBar.gotoAndStop(1);
_root.global_landmark_count = _root.temp_global_landmark_count;
_root.landmark_count = 0;
stopAllSounds();
myStopAllSouds();
removeLandmarks();
gotoAndPlay(_root.course);
Instance of Symbol 71 MovieClip "hotSpot6" in Frame 115
onClipEvent (load) {
butt.useHandCursor = 0;
}
onClipEvent (enterFrame) {
if (_root.hotSpot6.hitTest(_root.ATVclip)) {
if (((_root.lapCheatflag_A == 0) && (_root.lapCheatflag_B == 1)) && (_root.lapCheatflag_C == 0)) {
_root.lapCheatflag_C = 1;
}
}
}
Instance of Symbol 71 MovieClip "hotSpot4" in Frame 115
onClipEvent (load) {
butt.useHandCursor = 0;
}
onClipEvent (enterFrame) {
if (_root.hotSpot4.hitTest(_root.ATVclip)) {
if (((_root.lapCheatflag_B == 1) && (_root.lapCheatflag_C == 1)) && (_root.lapCheatflag_A == 0)) {
_root.lapCheatflag_A = 0;
_root.lapCheatflag_B = 0;
_root.lapCheatflag_C = 0;
_root.countdown_go.start(0, 0);
_root.lap++;
if (_root.lap > 3) {
myTarget = "win" + _root.course;
_root.gotoAndPlay(myTarget);
_root.lap = 0;
}
}
}
}
Instance of Symbol 71 MovieClip "hotSpot5" in Frame 115
onClipEvent (load) {
butt.useHandCursor = 0;
}
onClipEvent (enterFrame) {
if (_root.hotSpot5.hitTest(_root.ATVclip)) {
if (((_root.lapCheatflag_A == 0) && (_root.lapCheatflag_B == 0)) && (_root.lapCheatflag_C == 0)) {
_root.lapCheatflag_B = 1;
}
}
}
Instance of Symbol 138 MovieClip "ATVclip" in Frame 115
onClipEvent (load) {
function ATVcontrol(faktorN, faktorP, fG, rG) {
if (Key.isDown(37) && (Key.isDown(38))) {
this.ATV.gotoAndStop("left");
_rotation = (_rotation - faktorN);
}
if (Key.isDown(39) && (Key.isDown(38))) {
this.ATV.gotoAndStop("right");
_rotation = (_rotation + faktorP);
}
if (((Key.isDown(37) && (w > 0.1)) && (!Key.isDown(38))) && (!Key.isDown(40))) {
this.ATV.gotoAndStop("left");
_rotation = (_rotation - faktorN);
}
if (((Key.isDown(39) && (w > 0.1)) && (!Key.isDown(38))) && (!Key.isDown(40))) {
this.ATV.gotoAndStop("right");
_rotation = (_rotation + faktorP);
}
if (((Key.isDown(37) && (w < 0)) && (!Key.isDown(38))) && (!Key.isDown(40))) {
this.ATV.gotoAndStop("left");
_rotation = (_rotation + faktorN);
}
if (((Key.isDown(39) && (w < 0)) && (!Key.isDown(38))) && (!Key.isDown(40))) {
this.ATV.gotoAndStop("right");
_rotation = (_rotation - faktorP);
}
if (Key.isDown(37) && (Key.isDown(40))) {
this.ATV.gotoAndStop("left");
if (w > 0) {
_rotation = (_rotation - faktorP);
} else if (w < 0) {
_rotation = (_rotation + faktorP);
}
}
if (Key.isDown(39) && (Key.isDown(40))) {
this.ATV.gotoAndStop("right");
if (w > 0) {
_rotation = (_rotation + faktorN);
} else if (w < 0) {
_rotation = (_rotation - faktorN);
}
}
if (Key.isDown(38)) {
if ((Key.isDown(38) && (!Key.isDown(37))) && (!Key.isDown(39))) {
this.ATV.gotoAndStop("normal");
}
antrieb();
}
if (Key.isDown(40)) {
if ((Key.isDown(40) && (!Key.isDown(37))) && (!Key.isDown(39))) {
this.ATV.gotoAndStop("normal");
}
antrieb();
}
if ((Key.isDown(38) && (w > (-fG))) && (w < fG)) {
if (Key.isDown(40)) {
w = w;
} else {
w = w + acceleration;
}
}
if ((Key.isDown(40) && (w > (-rG))) && (w < fG)) {
if (Key.isDown(38)) {
w = w;
} else {
w = w - acceleration;
}
}
if (((w > 0.1) && (!Key.isDown(38))) && (!Key.isDown(40))) {
antrieb();
w = w - breakverzoegerung;
}
if (((w < -0.1) && (!Key.isDown(38))) && (!Key.isDown(40))) {
antrieb();
w = w + breakverzoegerung;
}
if ((((w < 0.1) && (!Key.isDown(38))) && (!Key.isDown(40))) && (w >= 0)) {
w = 0;
}
if ((((w > -0.1) && (!Key.isDown(38))) && (!Key.isDown(40))) && (w <= 0)) {
w = 0;
}
if ((((Key.isDown(39) != 1) && (Key.isDown(37) != 1)) && (Key.isDown(38) != 1)) && (Key.isDown(40) != 1)) {
this.ATV.gotoAndStop("normal");
}
}
function antrieb() {
_y = (_y - (Math.cos((Math.PI/180) * _rotation) * w));
_x = (_x + (Math.sin((Math.PI/180) * _rotation) * w));
}
function checkIntersect() {
if (counterFlag == 1) {
delayCounter++;
if (delayCounter >= 24) {
counterFlag = 0;
delayCounter = 0;
}
}
if (_root.track_1.hitTest(_root.ATVclip.getBounds(_root).xMax + w, _root.ATVclip.new_y, true)) {
trace("hit: nMax, _y");
thisSound = _root.bang1;
newVolume = setSoundVolume(thisSound);
thisSound.setVolume(newVolume);
thisSound.start(0, 1);
if ((counterFlag != 1) && (_root.redTire_cheat == 0)) {
counterFlag = 1;
}
return(undefined);
}
if (_root.track_1.hitTest(_root.ATVclip.getBounds(_root).xMin - w, _root.ATVclip.new_y, true)) {
trace("hit: xMin, _y");
thisSound = _root.bang1;
newVolume = setSoundVolume(thisSound);
thisSound.setVolume(newVolume);
thisSound.start(0, 1);
if ((counterFlag != 1) && (_root.redTire_cheat == 0)) {
reduceShields(0, Math.abs(w));
}
counterFlag = 1;
return(undefined);
}
if (_root.track_1.hitTest(_root.ATVclip.new_x, _root.ATVclip.getBounds(_root).yMax + w, true)) {
trace("hit: _x, yMax");
thisSound = _root.bang1;
newVolume = setSoundVolume(thisSound);
thisSound.setVolume(newVolume);
thisSound.start(0, 1);
if ((counterFlag != 1) && (_root.redTire_cheat == 0)) {
reduceShields(0, Math.abs(w));
}
counterFlag = 1;
return(undefined);
}
if (_root.track_1.hitTest(_root.ATVclip.new_x, getBounds(_root).yMin - w, true)) {
trace("hit: _x, yMin");
thisSound = _root.bang1;
newVolume = setSoundVolume(thisSound);
thisSound.setVolume(newVolume);
thisSound.start(0, 1);
if ((counterFlag != 1) && (_root.redTire_cheat == 0)) {
reduceShields(0, Math.abs(w));
}
counterFlag = 1;
return(undefined);
}
}
function reduceShields(scoreReduce, hitpointReduce) {
_root.ATVclip.shield.gotoAndPlay(2);
_root.ATVclip.shield._alpha = _root.ATVclip.shield._alpha - hitpointReduce;
_root.score = _root.score - scoreReduce;
_root.hitpoints = _root.hitpoints - hitpointReduce;
if (_root.score < 0) {
_root.score = 0;
}
if (_root.hitpoints < 0) {
_root.hitpoints = 0;
}
if (_root.hitpoints <= 0) {
_root._highquality = 1;
myTarget = "lose" + _root.course;
_root.gotoAndStop(myTarget);
}
}
function checkForMines() {
mineTimer++;
if (Key.isDown(77) && (mineTimer >= mineDelay)) {
mineCount++;
mineTimer = 0;
newMineName = "newMine" + mineCount;
duplicateMovieClip (_root.mineClip, newMineName, mineCount);
newMine = eval ("_root." + newMineName);
newMine._x = this._x;
newMine._y = this._y;
newMine._visible = 1;
_root.mine.start(0, 0);
newMine.gotoAndPlay(2);
}
}
antriebsModus = "grip";
_root.hitpoints = 100;
PI = Math.PI;
this.thrust._visible = 0;
this._rotation = 90;
this.swapDepths(690);
mineCount = 0;
mineTimer = 0;
mineDelay = 48;
}
onClipEvent (enterFrame) {
if ((_root.ATV_keyBlock != 1) && (_root.gameInProgress == 1)) {
if (mineMode != 0) {
checkForMines();
}
ATVcontrol(curveSpeed, curveSpeed, maxspeed, reverseSpeed);
}
}
Instance of Symbol 239 MovieClip "ball" in Frame 115
onClipEvent (load) {
goX = (this._x - targetX) / 10;
goY = (this._y - targetY) / 10;
}
onClipEvent (enterFrame) {
if ((this != _root.ball) && (hitFlag != 1)) {
this._x = this._x - goX;
this._y = this._y - goY;
if (((((this._x - 4) <= targetX) && ((this._x + 4) >= targetX)) && ((this._y - 4) <= targetY)) && ((this._y + 4) >= targetY)) {
hitFlag = 1;
if (this.hitTest(_root.ATVclip)) {
hitFlag = 1;
if (_root.redTire_cheat == 0) {
if (Math.abs(_root.ATVclip.w) > 0.2) {
_root.ATVclip.w = _root.ATVclip.w - (_root.ATVclip.w / 2);
}
_root.ATVclip.reduceShields(250, 25);
}
_root.CONK.start(0, 0);
} else {
_root.EXPLOSIO.start(0, 0);
}
this.play();
}
}
}
Instance of Symbol 244 MovieClip "flag" in Frame 115
onClipEvent (load) {
this.swapDepths(3205);
}
onClipEvent (enterFrame) {
if (_root.gameInProgress == 1) {
rot = Math.atan2(_root.ATVclip._y - this._y, _root.ATVclip._x - this._x);
rotNum = (rot * 360) / (Math.PI*2);
this._rotation = rotNum;
i++;
if (i > (25 + random(25))) {
_root.ball._visible = 1;
duplicateMovieClip (_root.ball, "newball", 8000 + i);
var hyp = 35;
_root.newball.pathRadius = 35;
_root.newball.degrees = rotNum;
with (Math) {
radians = _root.newball.degrees * (PI / 180);
yCoor = hyp * Math.sin(radians);
xCoor = hyp * Math.cos(radians);
}
_root.newball._x = this._x + xCoor;
_root.newball._y = this._y + yCoor;
_root.newball.targetX = _root.ATVclip._x;
_root.newball.targetY = _root.ATVclip._y;
i = 1;
_root.CANNON_F.start(0, 0);
this.play();
_root.ball._visible = 0;
}
}
}
Instance of Symbol 244 MovieClip "flag3" in Frame 115
onClipEvent (load) {
this.swapDepths(8700);
}
onClipEvent (enterFrame) {
if (_root.gameInProgress == 1) {
rot = Math.atan2(_root.ATVclip._y - this._y, _root.ATVclip._x - this._x);
rotNum = (rot * 360) / (Math.PI*2);
this._rotation = rotNum;
i++;
if ((i > (10 + random(50))) && (_root.gameInProgress == 1)) {
_root.ball._visible = 1;
duplicateMovieClip (_root.ball, "newball2", 8100 + i);
var hyp = 35;
_root.newball2.pathRadius = 35;
_root.newball2.degrees = rotNum;
with (Math) {
radians = _root.newball2.degrees * (PI / 180);
yCoor = hyp * Math.sin(radians);
xCoor = hyp * Math.cos(radians);
}
_root.newball2._x = this._x + xCoor;
_root.newball2._y = this._y + yCoor;
_root.newball2.targetX = _root.ATVclip._x;
_root.newball2.targetY = _root.ATVclip._y;
i = 1;
_root.CANNON_F.start(0, 0);
this.play();
_root.ball._visible = 0;
}
}
}
Instance of Symbol 186 MovieClip "landmark_1" in Frame 115
onClipEvent (load) {
nextItem = _root.landmark_2;
landmark.scoreBubble.scoreValue = "1.000";
myScore = 1000;
}
Instance of Symbol 186 MovieClip "landmark_2" in Frame 115
onClipEvent (load) {
nextItem = _root.landmark_3;
landmark.scoreBubble.scoreValue = "1.000";
myScore = 1000;
}
Instance of Symbol 186 MovieClip "landmark_3" in Frame 115
onClipEvent (load) {
nextItem = _root.landmark_4;
landmark.scoreBubble.scoreValue = "1.000";
myScore = 1000;
}
Instance of Symbol 186 MovieClip "landmark_4" in Frame 115
onClipEvent (load) {
nextItem = _root.landmark_5;
landmark.scoreBubble.scoreValue = "1.000";
myScore = 1000;
}
Instance of Symbol 186 MovieClip "landmark_5" in Frame 115
onClipEvent (load) {
nextItem = _root.landmark_6;
landmark.scoreBubble.scoreValue = "1.000";
myScore = 1000;
}
Instance of Symbol 186 MovieClip "landmark_6" in Frame 115
onClipEvent (load) {
nextItem = _root.landmark_7;
landmark.scoreBubble.scoreValue = "1.000";
myScore = 1000;
}
Instance of Symbol 186 MovieClip "landmark_7" in Frame 115
onClipEvent (load) {
nextItem = _root.landmark_8;
landmark.scoreBubble.scoreValue = "1.000";
myScore = 1000;
}
Instance of Symbol 186 MovieClip "landmark_8" in Frame 115
onClipEvent (load) {
nextItem = _root.landmark_9;
landmark.scoreBubble.scoreValue = "1.000";
myScore = 1000;
}
Instance of Symbol 186 MovieClip "landmark_9" in Frame 115
onClipEvent (load) {
nextItem = _root.landmark_10;
landmark.scoreBubble.scoreValue = "1.000";
myScore = 1000;
}
Instance of Symbol 186 MovieClip "landmark_10" in Frame 115
onClipEvent (load) {
nextItem = null;
landmark.scoreBubble.scoreValue = "1.000";
myScore = 1000;
}
Instance of Symbol 144 MovieClip "engineSound" in Frame 115
onClipEvent (load) {
myAction = "default1";
myHolder = "default1";
}
onClipEvent (enterFrame) {
if (((_root.ATV_keyBlock == 0) && (_root.gameInProgress == 1)) && (!Key.isDown(38))) {
if ((_root.engineSound.myAction != "brk") && (this._currentframe != 2)) {
_root.engineSound.myAction = "dec";
}
}
if (((_root.ATV_keyBlock == 0) && (_root.gameInProgress == 1)) && (Key.isDown(38))) {
if (_root.engineSound.myAction != "brk") {
_root.engineSound.myAction = "acc";
}
}
if (myHolder != myAction) {
switch (myAction) {
case "acc" :
this.gotoAndStop(myAction);
break;
case "dec" :
this.gotoAndStop(myAction);
break;
case "brk" :
_root.acc.stop();
_root.dec.stop();
_root.minimo.stop();
_root.massimo.stop();
this.gotoAndStop("minimo");
myAction = "default1";
}
myHolder = myAction;
}
}
Frame 116
function startLevelLoop() {
_root.level1_ice.start(0, 9999);
}
_quality = "HIGH";
_root.ATVclip.curveSpeed = temp_curveSpeed;
_root.ATVclip.maxspeed = temp_maxspeed;
_root.ATVclip.reverseSpeed = temp_reverseSpeed;
_root.ATVclip.breakpower = temp_breakpower;
_root.ATVclip.breakverzoegerung = temp_breakverzoegerung;
_root.ATVclip.acceleration = temp_acceleration;
redTire_cheat = 0;
userScore_const = score;
track_1_grafik.gotoAndStop(1);
track_1.gotoAndStop(1);
eisplatteShaddow._visible = 1;
_root.ATV_keyBlock = 1;
_root.gameInProgress = 0;
_root.hitpoints = 100;
_root.ATV_statsBar.resetBar();
courseDisplay = 4;
course = "course4";
lap = 1;
lapCheatflag_A = 0;
lapCheatflag_B = 0;
lapCheatflag_C = 0;
_root.temp_global_landmark_count = _root.global_landmark_count;
_root.landmark_count = 0;
activeLandmark = _root.landmark_1;
i = 1;
while (i <= 11) {
thisClip = eval ("_root.landmark_" + i);
if (thisClip == activeLandmark) {
activeLandmark.gotoAndPlay(1);
} else {
thisClip.gotoAndStop(1);
}
thisClip.swapDepths(760 + i);
i++;
}
_root.clock.gotoAndStop(1);
_root.clock.clockInlay.min = "0";
_root.clock.clockInlay.sec1 = "6";
_root.clock.clockInlay.sec2 = "0";
stopAllSounds();
myStopAllSouds();
updateAfterEvent();
_root.global_ENTRANCE.start(0, 0);
_root.engineSound.myAction = "brk";
help.swapDepths(10000);
help.gotoAndStop(2);
stop();
Frame 122
_quality = "HIGH";
_root.clock.gotoAndStop(1);
_root.gameInProgress = 0;
_root.ATV_keyBlock = 1;
removeMovieClip(ATVclip);
_root.ATVclip._visible = 0;
_root.flag._visible = 0;
_root.flag3._visible = 0;
removeMovieClip(_root.flag);
removeMovieClip(_root.flag3);
stopAllSounds();
myStopAllSouds();
removeLandmarks();
_root.level1_ice_win.start(0, 0);
_root.global_win.start(0, 0);
_root.nextButton._visible = 0;
if (landmark_count > 0) {
_root.landmark_display_count.play();
} else {
_root.landmark_display_count.gotoAndPlay("ready");
}
_root.engineSound.gotoAndStop(1);
stop();
Frame 124
_root.flag._visible = 0;
_root.flag3._visible = 0;
removeMovieClip(_root.flag);
removeMovieClip(_root.flag3);
if ((_root.hitpoints > 25) && (_root.landmark_count >= 10)) {
_root.global_gotBonusItems.start(0, 0);
_root.score = _root.score + 50000;
_root.bonusText.gotoAndPlay(2);
temp_curveSpeed = 10.5;
temp_maxspeed = 25;
temp_reverseSpeed = 8;
temp_breakpower = 11.5;
temp_breakverzoegerung = 0.9;
temp_acceleration = 2.5;
} else {
_root.youMadeIt.gotoAndStop(2);
}
_root.display_score = _root.score;
_root.nextButton._visible = 1;
stop();
Frame 129
_quality = "HIGH";
_root.clock.gotoAndStop(1);
_root.gameInProgress = 0;
_root.ATV_keyBlock = 1;
removeMovieClip(ATVclip);
_root.flag._visible = 0;
_root.flag3._visible = 0;
removeMovieClip(_root.flag);
removeMovieClip(_root.flag3);
track_1_grafik.gotoAndStop(1);
track_1.gotoAndStop(1);
eisplatteShaddow._visible = 1;
stopAllSounds();
myStopAllSouds();
_root.global_dramatic.start(0, 0);
_root.level1_ice_lost.start(0, 0);
removeLandmarks();
if (_root.hitpoints <= 0) {
message = "You got killed !!!";
}
_root.engineSound.gotoAndStop(1);
stop();
Frame 137
_quality = "HIGH";
score = userScore_const;
_root.display_score = score;
_root.gameInProgress = 0;
_root.ATV_keyBlock = 1;
_root.ATV_statsBar.gotoAndStop(1);
_root.global_landmark_count = _root.temp_global_landmark_count;
_root.landmark_count = 0;
removeMovieClip(ATVclip);
removeMovieClip(_root.flag);
removeMovieClip(_root.flag3);
removeMovieClip(_root.doppelRohr);
stopAllSounds();
myStopAllSouds();
removeLandmarks();
gotoAndPlay(_root.course);
Instance of Symbol 71 MovieClip "hotSpot6" in Frame 153
onClipEvent (load) {
butt.useHandCursor = 0;
}
onClipEvent (enterFrame) {
if (_root.hotSpot6.hitTest(_root.ATVclip)) {
if (((_root.lapCheatflag_A == 0) && (_root.lapCheatflag_B == 1)) && (_root.lapCheatflag_C == 0)) {
_root.lapCheatflag_C = 1;
}
}
}
Instance of Symbol 71 MovieClip "hotSpot5" in Frame 153
onClipEvent (load) {
butt.useHandCursor = 0;
}
onClipEvent (enterFrame) {
if (_root.hotSpot5.hitTest(_root.ATVclip)) {
if (((_root.lapCheatflag_A == 0) && (_root.lapCheatflag_B == 0)) && (_root.lapCheatflag_C == 0)) {
_root.lapCheatflag_B = 1;
}
}
}
Instance of Symbol 260 MovieClip "mineClip" in Frame 153
onClipEvent (load) {
detonationCount = 0;
detonationTime = 100;
hitFlag = 0;
bossHitFlag = 0;
}
onClipEvent (enterFrame) {
if (((this != _root.mineClip) && (hitFlag != 1)) && (bossHitFlag != 1)) {
detonationCount++;
if (detonationCount >= detonationTime) {
hitFlag = 1;
detonationCount = 0;
this.gotoAndPlay("detonate");
}
}
if (this.hitTest(_root.bossClip)) {
if (bossHitFlag != 1) {
bossHitFlag = 1;
_root.bossClip.hitpoints = _root.bossClip.hitpoints - 5;
_root.CONK.start(0, 0);
this.gotoAndPlay("detonate");
detonationCount = 0;
}
}
if (((this.hitTest(_root.ATVclip) && (detonationCount >= 50)) && (hitFlag != 1)) && (bossHitFlag != 1)) {
hitFlag = 1;
if (_root.redTire_cheat == 0) {
if (Math.abs(_root.ATVclip.xspeed) > 0.2) {
_root.ATVclip.xspeed = _root.ATVclip.xspeed - (_root.ATVclip.xspeed / 2);
}
if (Math.abs(_root.ATVclip.yspeed) > 0.2) {
_root.ATVclip.yspeed = _root.ATVclip.yspeed - (_root.ATVclip.yspeed / 2);
}
_root.ATVclip.reduceShields(250, 25);
}
_root.CONK.start(0, 0);
this.gotoAndPlay("detonate");
detonationCount = 0;
}
}
Instance of Symbol 262 MovieClip "doppelRohr" in Frame 153
onClipEvent (load) {
this.swapDepths(8500);
alive = 1;
}
onClipEvent (enterFrame) {
if (alive == 1) {
point = new object();
point.x = _root.bossClip.boss.bossInner._x;
point.y = _root.bossClip.boss.bossInner._y;
_root.bossClip.boss.bossInner.localToGlobal(point);
this._x = point.x;
this._y = point.y;
rot = Math.atan2(_root.ATVclip._y - this._y, _root.ATVclip._x - this._x);
rotNum = (rot * 360) / (Math.PI*2);
this._rotation = rotNum;
i++;
if (((i > (25 + random(100))) && (_root.gameInProgress == 1)) && (_root.bossClip.actionFlag == 1)) {
_root.ball._visible = 1;
duplicateMovieClip (_root.doppelBall, "newDoppelBall", 8000 + i);
var hyp = 35;
_root.newDoppelBall.pathRadius = 35;
_root.newDoppelBall.degrees = rotNum;
with (Math) {
radians = _root.newDoppelBall.degrees * (PI / 180);
yCoor = hyp * Math.sin(radians);
xCoor = hyp * Math.cos(radians);
}
_root.newDoppelBall._x = this._x + xCoor;
_root.newDoppelBall._y = this._y + yCoor;
_root.newDoppelBall.targetX = _root.ATVclip._x;
_root.newDoppelBall.targetY = _root.ATVclip._y;
_root.newDoppelBall._rotation = this._rotation;
i = 1;
_root.CANNON_F.start(0, 0);
this.play();
_root.doppelBall._visible = 0;
}
}
}
Instance of Symbol 334 MovieClip "bossClip" in Frame 153
onClipEvent (load) {
hitpoints = 60;
}
Instance of Symbol 102 MovieClip "boss_smoker" in Frame 153
onClipEvent (load) {
function getPoints() {
point = new object();
point.x = _root.bossClip.boss.bossInner._x;
point.y = _root.bossClip.boss.bossInner._y;
_root.bossClip.boss.bossInner.localToGlobal(point);
}
function doSmoke(thisTire) {
getPoints();
duplicateMovieClip (_root.originalsmoke, "smoke" + smokeOnstage, 4520 + smokeOnstage);
thisSmoke = eval ("_root.smoke" + smokeOnstage);
thisSmoke._x = point.x + (int(random(5) + 2) * (1 - (random(2) * 2)));
thisSmoke._y = point.y + (int(random(5) + 2) * (1 - (random(2) * 2)));
trace("boss hitpoints: " + _root.bossClip.hitpoints);
maxHitpoints = 60;
currentHitpoints = _root.bossClip.hitpoints;
newAlpha = Math.abs(currentHitpoints / maxHitpoints) * 100;
newAlpha = 100 - newAlpha;
thisSmoke._alpha = newAlpha;
thisSmoke.play();
smokeOnstage++;
}
maxSmokes = 30;
smokeOnstage = 0;
}
onClipEvent (enterFrame) {
if (((_root.gameInProgress == 1) && (_root.bossClip.hitpoints <= 50)) && (_root.bossClip.hitpoints > 0)) {
counter++;
if (counter >= 4) {
doSmoke();
counter = 0;
if (smokeOnstage >= 100) {
smokeOnstage = 0;
}
}
}
}
Instance of Symbol 138 MovieClip "ATVclip" in Frame 153
onClipEvent (load) {
function ATVcontrol(faktorN, faktorP, fG, rG) {
if (Key.isDown(37) && (Key.isDown(38))) {
this.ATV.gotoAndStop("left");
_rotation = (_rotation - faktorN);
}
if (Key.isDown(39) && (Key.isDown(38))) {
this.ATV.gotoAndStop("right");
_rotation = (_rotation + faktorP);
}
if (((Key.isDown(37) && (w > 0.1)) && (!Key.isDown(38))) && (!Key.isDown(40))) {
this.ATV.gotoAndStop("left");
_rotation = (_rotation - faktorN);
}
if (((Key.isDown(39) && (w > 0.1)) && (!Key.isDown(38))) && (!Key.isDown(40))) {
this.ATV.gotoAndStop("right");
_rotation = (_rotation + faktorP);
}
if (((Key.isDown(37) && (w < 0)) && (!Key.isDown(38))) && (!Key.isDown(40))) {
this.ATV.gotoAndStop("left");
_rotation = (_rotation + faktorN);
}
if (((Key.isDown(39) && (w < 0)) && (!Key.isDown(38))) && (!Key.isDown(40))) {
this.ATV.gotoAndStop("right");
_rotation = (_rotation - faktorP);
}
if (Key.isDown(37) && (Key.isDown(40))) {
this.ATV.gotoAndStop("left");
if (w > 0) {
_rotation = (_rotation - faktorP);
} else if (w < 0) {
_rotation = (_rotation + faktorP);
}
}
if (Key.isDown(39) && (Key.isDown(40))) {
this.ATV.gotoAndStop("right");
if (w > 0) {
_rotation = (_rotation + faktorN);
} else if (w < 0) {
_rotation = (_rotation - faktorN);
}
}
if (Key.isDown(38)) {
if ((Key.isDown(38) && (!Key.isDown(37))) && (!Key.isDown(39))) {
this.ATV.gotoAndStop("normal");
}
antrieb();
}
if (Key.isDown(40)) {
if ((Key.isDown(40) && (!Key.isDown(37))) && (!Key.isDown(39))) {
this.ATV.gotoAndStop("normal");
}
antrieb();
}
if ((Key.isDown(38) && (w > (-fG))) && (w < fG)) {
if (Key.isDown(40)) {
w = w;
} else {
w = w + acceleration;
}
}
if ((Key.isDown(40) && (w > (-rG))) && (w < fG)) {
if (Key.isDown(38)) {
w = w;
} else {
w = w - acceleration;
}
}
if (((w > 0.1) && (!Key.isDown(38))) && (!Key.isDown(40))) {
antrieb();
w = w - breakverzoegerung;
}
if (((w < -0.1) && (!Key.isDown(38))) && (!Key.isDown(40))) {
antrieb();
w = w + breakverzoegerung;
}
if ((((w < 0.1) && (!Key.isDown(38))) && (!Key.isDown(40))) && (w >= 0)) {
w = 0;
}
if ((((w > -0.1) && (!Key.isDown(38))) && (!Key.isDown(40))) && (w <= 0)) {
w = 0;
}
if ((((Key.isDown(39) != 1) && (Key.isDown(37) != 1)) && (Key.isDown(38) != 1)) && (Key.isDown(40) != 1)) {
this.ATV.gotoAndStop("normal");
}
}
function antrieb() {
_y = (_y - (Math.cos((Math.PI/180) * _rotation) * w));
_x = (_x + (Math.sin((Math.PI/180) * _rotation) * w));
}
function checkIntersect() {
if (counterFlag == 1) {
delayCounter++;
if (delayCounter >= 24) {
counterFlag = 0;
delayCounter = 0;
}
}
if (_root.track_1.hitTest(_root.ATVclip.getBounds(_root).xMax + w, _root.ATVclip.new_y, true)) {
trace("hit: nMax, _y");
thisSound = _root.bang1;
newVolume = setSoundVolume(thisSound);
thisSound.setVolume(newVolume);
thisSound.start(0, 1);
if ((counterFlag != 1) && (_root.redTire_cheat == 0)) {
counterFlag = 1;
}
return(undefined);
}
if (_root.track_1.hitTest(_root.ATVclip.getBounds(_root).xMin - w, _root.ATVclip.new_y, true)) {
trace("hit: xMin, _y");
thisSound = _root.bang1;
newVolume = setSoundVolume(thisSound);
thisSound.setVolume(newVolume);
thisSound.start(0, 1);
if ((counterFlag != 1) && (_root.redTire_cheat == 0)) {
reduceShields(0, Math.abs(w));
}
counterFlag = 1;
return(undefined);
}
if (_root.track_1.hitTest(_root.ATVclip.new_x, _root.ATVclip.getBounds(_root).yMax + w, true)) {
trace("hit: _x, yMax");
thisSound = _root.bang1;
newVolume = setSoundVolume(thisSound);
thisSound.setVolume(newVolume);
thisSound.start(0, 1);
if ((counterFlag != 1) && (_root.redTire_cheat == 0)) {
reduceShields(0, Math.abs(w));
}
counterFlag = 1;
return(undefined);
}
if (_root.track_1.hitTest(_root.ATVclip.new_x, getBounds(_root).yMin - w, true)) {
trace("hit: _x, yMin");
thisSound = _root.bang1;
newVolume = setSoundVolume(thisSound);
thisSound.setVolume(newVolume);
thisSound.start(0, 1);
if ((counterFlag != 1) && (_root.redTire_cheat == 0)) {
reduceShields(0, Math.abs(w));
}
counterFlag = 1;
return(undefined);
}
}
function reduceShields(scoreReduce, hitpointReduce) {
_root.ATVclip.shield.gotoAndPlay(2);
_root.ATVclip.shield._alpha = _root.ATVclip.shield._alpha - hitpointReduce;
_root.score = _root.score - scoreReduce;
_root.hitpoints = _root.hitpoints - hitpointReduce;
if (_root.score < 0) {
_root.score = 0;
}
if (_root.hitpoints < 0) {
_root.hitpoints = 0;
}
if (_root.hitpoints <= 0) {
_root._highquality = 1;
myTarget = "lose" + _root.course;
_root.gotoAndStop(myTarget);
}
}
function checkForMines() {
mineTimer++;
if (Key.isDown(77) && (mineTimer >= mineDelay)) {
mineCount++;
mineTimer = 0;
newMineName = "newMine" + mineCount;
duplicateMovieClip (_root.mineClip, newMineName, mineCount);
newMine = eval ("_root." + newMineName);
newMine._x = this._x;
newMine._y = this._y;
newMine._visible = 1;
_root.mine.start(0, 0);
newMine.gotoAndPlay(2);
}
}
antriebsModus = "grip";
PI = Math.PI;
this.thrust._visible = 0;
this._rotation = 90;
this.swapDepths(690);
mineCount = 0;
mineTimer = 0;
mineDelay = 48;
}
onClipEvent (enterFrame) {
if ((_root.ATV_keyBlock != 1) && (_root.gameInProgress == 1)) {
if (mineMode != 0) {
checkForMines();
}
ATVcontrol(curveSpeed, curveSpeed, maxspeed, reverseSpeed);
}
}
Instance of Symbol 336 MovieClip "help" in Frame 153
onClipEvent (load) {
invisiButt.useHandCursor = 0;
}
Instance of Symbol 239 MovieClip "ball" in Frame 153
onClipEvent (load) {
goX = (this._x - targetX) / 10;
goY = (this._y - targetY) / 10;
}
onClipEvent (enterFrame) {
if ((this != _root.ball) && (hitFlag != 1)) {
this._x = this._x - goX;
this._y = this._y - goY;
if (this.hitTest(_root.ATVclip)) {
hitFlag = 1;
if (_root.redTire_cheat == 0) {
if (Math.abs(_root.ATVclip.xspeed) > 0.2) {
_root.ATVclip.xspeed = _root.ATVclip.xspeed - (_root.ATVclip.xspeed / 2);
}
if (Math.abs(_root.ATVclip.yspeed) > 0.2) {
_root.ATVclip.yspeed = _root.ATVclip.yspeed - (_root.ATVclip.yspeed / 2);
}
_root.ATVclip.reduceShields(250, 25);
}
_root.CONK.start(0, 0);
this.play();
}
if (((((this._x - 4) <= targetX) && ((this._x + 4) >= targetX)) && ((this._y - 4) <= targetY)) && ((this._y + 4) >= targetY)) {
hitFlag = 1;
_root.EXPLOSIO.start(0, 0);
this.play();
}
}
}
Instance of Symbol 337 MovieClip "doppelBall" in Frame 153
onClipEvent (load) {
goX = (this._x - targetX) / 10;
goY = (this._y - targetY) / 10;
}
onClipEvent (enterFrame) {
if ((this != _root.doppelBall) && (hitFlag != 1)) {
this._x = this._x - goX;
this._y = this._y - goY;
if (((((this._x - 4) <= targetX) && ((this._x + 4) >= targetX)) && ((this._y - 4) <= targetY)) && ((this._y + 4) >= targetY)) {
hitFlag = 1;
if (this.hitTest(_root.ATVclip)) {
hitFlag = 1;
if (_root.redTire_cheat == 0) {
if (Math.abs(_root.ATVclip.w) > 0.2) {
_root.ATVclip.w = _root.ATVclip.w - (_root.ATVclip.w / 2);
}
_root.ATVclip.reduceShields(150, 10);
}
_root.CONK.start(0, 0);
} else {
_root.EXPLOSIO.start(0, 0);
}
ball1.play();
ball2.play();
}
}
}
Instance of Symbol 144 MovieClip "engineSound" in Frame 153
onClipEvent (load) {
myAction = "default1";
myHolder = "default1";
}
onClipEvent (enterFrame) {
if (((_root.ATV_keyBlock == 0) && (_root.gameInProgress == 1)) && (!Key.isDown(38))) {
if ((_root.engineSound.myAction != "brk") && (this._currentframe != 2)) {
_root.engineSound.myAction = "dec";
}
}
if (((_root.ATV_keyBlock == 0) && (_root.gameInProgress == 1)) && (Key.isDown(38))) {
if (_root.engineSound.myAction != "brk") {
_root.engineSound.myAction = "acc";
}
}
if (myHolder != myAction) {
switch (myAction) {
case "acc" :
this.gotoAndStop(myAction);
break;
case "dec" :
this.gotoAndStop(myAction);
break;
case "brk" :
_root.acc.stop();
_root.dec.stop();
_root.minimo.stop();
_root.massimo.stop();
this.gotoAndStop("minimo");
myAction = "default1";
}
myHolder = myAction;
}
}
Frame 154
function startLevelLoop() {
_root.track1_boss.start(0, 9999);
}
_quality = "HIGH";
_root.ATVclip.curveSpeed = temp_curveSpeed;
_root.ATVclip.maxspeed = temp_maxspeed;
_root.ATVclip.reverseSpeed = temp_reverseSpeed;
_root.ATVclip.breakpower = temp_breakpower;
_root.ATVclip.breakverzoegerung = temp_breakverzoegerung;
_root.ATVclip.acceleration = temp_acceleration;
redTire_cheat = 0;
userScore_const = score;
track_1_grafik.gotoAndStop(2);
track_1.gotoAndStop(2);
eisplatteShaddow._visible = 0;
_root.ATV_keyBlock = 1;
_root.gameInProgress = 0;
_root.hitpoints = 100;
_root.ATV_statsBar.resetBar();
_root.ATVclip.mineMode = 1;
courseDisplay = "BOSS";
course = "boss";
_root.clock.gotoAndStop(1);
stopAllSounds();
myStopAllSouds();
updateAfterEvent();
_root.global_ENTRANCE.start(0, 0);
_root.engineSound.myAction = "brk";
help.swapDepths(10000);
help.gotoAndStop(2);
stop();
Frame 159
_quality = "HIGH";
_root.clock.gotoAndStop(1);
_root.gameInProgress = 0;
_root.ATV_keyBlock = 1;
removeMovieClip(ATVclip);
removeMovieClip(_root.flag);
removeMovieClip(_root.flag2);
removeMovieClip(_root.flag3);
removeMovieClip(_root.doppelRohr);
track_1_grafik.gotoAndStop(2);
track_1.gotoAndStop(2);
eisplatteShaddow._visible = 0;
stopAllSounds();
myStopAllSouds();
_root.global_dramatic.start(0, 0);
_root.level1_ice_lost.start(0, 0);
if (_root.hitpoints <= 0) {
message = "You got killed !!!";
}
_root.engineSound.gotoAndStop(1);
stop();
Frame 165
score = userScore_const;
_root.gameInProgress = 0;
_root.ATV_keyBlock = 1;
_root.ATV_statsBar.gotoAndStop(1);
removeMovieClip(ATVclip);
removeMovieClip(_root.flag);
removeMovieClip(_root.flag2);
removeMovieClip(_root.flag3);
removeMovieClip(_root.doppelRohr);
stopAllSounds();
myStopAllSouds();
removeLandmarks();
_root.gotoAndPlay("Boss");
Frame 175
this._highquality = 1;
if (global_landmark_count >= 30) {
cheatMessage.play();
}
stopAllSounds();
myStopAllSouds();
_root.clock.gotoAndStop(1);
_root.gameInProgress = 0;
_root.ATV_keyBlock = 1;
removeMovieClip(ATVclip);
removeMovieClip(_root.doppelRohr);
_root.display_score = 0;
_root.loop1_5.stop();
_root.hupe.start(0, 1);
_root.loop1_1.start(0, 9999);
_root.engineSound.gotoAndStop(1);
stop();
Frame 183
Level = 0;
Score = 0;
display_score = Score;
_root.global_landmark_count = 0;
_root.temp_global_landmark_count = 0;
_root.landmark_count = 0;
_root.gameInProgress = 0;
_root.ATV_keyBlock = 1;
removeMovieClip(ATVclip);
removeMovieClip(_root.flag);
removeMovieClip(_root.flag2);
removeMovieClip(_root.flag3);
removeMovieClip(_root.doppelRohr);
stopAllSounds();
myStopAllSouds();
removeLandmarks();
gotoAndStop (3);
Symbol 31 Button
on (release) {
_root.logo.play();
this._visible = 0;
}
Symbol 32 MovieClip Frame 1
stop();
Symbol 32 MovieClip Frame 2
stop();
Symbol 32 MovieClip Frame 3
stop();
Symbol 53 MovieClip Frame 1
stop();
Symbol 53 MovieClip Frame 107
_root.Preloader.gotoAndStop(2);
stop();
Symbol 53 MovieClip Frame 112
_root.gotoAndStop("game_instructions");
stop();
Symbol 57 Button
on (release) {
_parent._parent.play();
}
on (keyPress "<Enter>") {
_parent._parent.play();
}
Symbol 58 MovieClip Frame 1
stop();
Symbol 59 MovieClip Frame 1
stop();
Instance of Symbol 58 MovieClip "game_instructions" in Symbol 59 MovieClip Frame 1
onClipEvent (load) {
invisiButt.useHandCursor = 0;
}
Symbol 59 MovieClip Frame 6
stop();
Symbol 59 MovieClip Frame 11
_root.gotoAndPlay("level1");
stop();
Symbol 67 MovieClip Frame 1
stop();
Symbol 67 MovieClip Frame 2
stop();
Symbol 79 Button
on (release) {
_root.gotoAndPlay(_root.course + "reset");
}
Symbol 83 MovieClip Frame 1
stop();
Symbol 83 MovieClip Frame 2
if (bar._width < 100) {
bar._width = bar._width + 1;
bar._x = bar_origin_x;
bar._y = bar_origin_y;
_root.score = _root.score + 100;
_root.display_score = _root.score;
} else {
gotoAndPlay (4);
}
Symbol 83 MovieClip Frame 3
gotoAndPlay (2);
Symbol 83 MovieClip Frame 16
resetBar();
_root.landmark_display_count.gotoAndStop("off");
gotoAndStop (1);
Symbol 91 MovieClip Frame 1
counterClip.counter = 3;
stop();
Symbol 91 MovieClip Frame 4
if (counterClip.counter > 0) {
_root.countdown_3.start(0, 0);
}
Symbol 91 MovieClip Frame 17
counterClip.counter--;
if (counterClip.counter > 0) {
gotoAndPlay (2);
} else {
counterClip.counter = "GO!";
_root.ATV_keyBlock = 0;
_root.gameInProgress = 1;
_root.startLevelLoop();
play();
}
Symbol 91 MovieClip Frame 18
_root.countdown_go.start(0, 0);
if (_root.courseDisplay == "BOSS") {
clockInlay._visible = 0;
_root.bossClip.play();
} else {
clockInlay._visible = 1;
}
Symbol 91 MovieClip Frame 32
if (_root.courseDisplay == "BOSS") {
stop();
} else {
play();
}
Symbol 91 MovieClip Frame 34
if (leafeOneFrameout_flag != 1) {
_root.clock.clockInlay.sec2 = _root.clock.clockInlay.sec2 - 1;
if (_root.clock.clockInlay.sec2 < 0) {
_root.clock.clockInlay.sec1 = _root.clock.clockInlay.sec1 - 1;
_root.clock.clockInlay.sec2 = "9";
}
if ((_root.clock.clockInlay.sec1 < 0) && (_root.clock.clockInlay.min > 0)) {
Set(_root.clock.clockInlay.min, _root.clock.clockInlay.min - 1);
_root.clock.clockInlay.sec1 = "5";
_root.clock.clockInlay.sec2 = "9";
}
gotoAndPlay (33);
leafeOneFrameout_flag = 1;
} else {
secCount++;
if (secCount >= 26) {
leafeOneFrameout_flag = 0;
secCount = 0;
}
if (((_root.clock.clockInlay.min == 0) && (_root.clock.clockInlay.sec1 == 0)) && (_root.clock.clockInlay.sec2 == 0)) {
play();
} else {
gotoAndPlay (33);
}
}
Symbol 91 MovieClip Frame 39
myTarget = "lose" + _root.course;
_root.gotoAndStop(myTarget);
Symbol 95 Button
on (keyPress "<Left>") {
var foo = 0;
}
on (keyPress "<Right>") {
var foo = 0;
}
Symbol 97 Button
on (release) {
_root.gotoAndPlay("Reset");
}
Symbol 101 MovieClip Frame 12
removeMovieClip(this);
stop();
Symbol 105 MovieClip Frame 1
stop();
Symbol 105 MovieClip Frame 2
stop();
Instance of Symbol 111 MovieClip in Symbol 112 MovieClip Frame 1
onClipEvent (load) {
function setGravity(obj, pX, pY, pGravitation) {
_parent[obj].vektor = [pX, pY];
_parent[obj].gravitation = pGravitation;
_parent._x = _parent._x + _parent.vektor[0];
_parent._y = _parent._y + _parent.vektor[1];
_parent.vektor[0] = _parent.vektor[0] * 0.96;
_parent.vektor[1] = _parent.vektor[1] * 0.96;
_parent.vektor[1] = _parent.vektor[1] - _parent.gravitation;
_parent.vektor[0] = _parent.vektor[0] - _parent.gravitation;
}
gothit_flag = 0;
deleteCount = 0;
}
onClipEvent (enterFrame) {
if (_parent.hitTest(_root.ATVclip.ATV.chassis) && (gothit_flag != 1)) {
_root.engineSound.accvar = 0;
_root.engineSound.myAction = "brk";
thisSound = _root.bang1;
newVolume = _root.track_1.setSoundVolume(thisSound);
thisSound.setVolume(newVolume);
thisSound.start(0, 1);
if (_root.ATVclip.w > 0) {
_parent.vektor = [_root.ATVclip.w - (1 + random(1.5)), _root.ATVclip.w - (1 + random(1.5))];
}
if (_root.ATVclip.w < 0) {
_parent.vektor = [_root.ATVclip.w + (1 + random(1.5)), _root.ATVclip.w + (1 + random(1.5))];
}
if (_root.ATVclip.w > 0) {
_parent.vektor = [_root.ATVclip.w - (1 + random(1.5)), _root.ATVclip.w - (1 + random(1.5))];
}
if (_root.ATVclip.w < 0) {
_parent.vektor = [_root.ATVclip.w + (1 + random(1.5)), _root.ATVclip.w + (1 + random(1.5))];
}
gothit_flag = 1;
if (_root.redTire_cheat == 0) {
if (_root.ATVclip.w > 0) {
_root.ATVclip.w = _root.ATVclip.w - (_root.ATVclip.w / 2);
}
if (_root.ATVclip.w < 0) {
_root.ATVclip.w = _root.ATVclip.w + (_root.ATVclip.w / 2);
}
if (_root.ATVclip.w > 0) {
_root.ATVclip.w = _root.ATVclip.w - (_root.ATVclip.w / 2);
}
if (_root.ATVclip.w < 0) {
_root.ATVclip.w = _root.ATVclip.w + (_root.ATVclip.w / 2);
}
}
}
if (gothit_flag == 1) {
deleteCount++;
if (deleteCount >= 25) {
removeMovieClip(_parent);
}
setGravity(_parent, 0, 0, 1);
_parent._alpha = 100 - (deleteCount * 4);
if (_root.track_1.hitTest(_parent.getBounds(_root).xMax, _parent._y, true)) {
_parent.vektor[0] = _parent.vektor[0] * -1;
_parent.vektor[1] = _parent.vektor[1] * -1;
}
if (_root.track_1.hitTest(_parent.getBounds(_root).xMin, _parent._y, true)) {
_parent.vektor[0] = _parent.vektor[0] * -1;
_parent.vektor[1] = _parent.vektor[1] * -1;
}
if (_root.track_1.hitTest(_parent._x, _parent.getBounds(_root).yMax, true)) {
_parent.vektor[0] = _parent.vektor[0] * -1;
_parent.vektor[1] = _parent.vektor[1] * -1;
}
if (_root.track_1.hitTest(_parent._x, _parent.getBounds(_root).yMin, true)) {
_parent.vektor[0] = _parent.vektor[0] * -1;
_parent.vektor[1] = _parent.vektor[1] * -1;
}
}
}
Symbol 116 MovieClip Frame 26
stop();
Symbol 124 MovieClip Frame 1
point = new object();
setProperty("mc", _visible , "0");
setProperty("line", _visible , "0");
n1 = 1;
taillen = 12;
Symbol 124 MovieClip Frame 2
point.x = mc._x;
point.y = mc._y;
localToGlobal(point);
x0 = point.x;
y0 = point.y;
duplicateMovieClip ("/line", ("line" add n1) + id, n1 + id);
setProperty(("/line" add n1) + id, _x , x1);
setProperty(("/line" add n1) + id, _y , y1);
setProperty(("/line" add n1) + id, _xscale , x0 - x1);
setProperty(("/line" add n1) + id, _yscale , y0 - y1);
x1 = x0;
y1 = y0;
n1 = Number(n1) + 1;
if (Number(n1) > Number(taillen)) {
n1 = 1;
}
Symbol 124 MovieClip Frame 3
i = "1";
while (Number(i) <= Number(taillen)) {
setProperty(("/line" add i) + id, _x , getProperty(("/line" add i) + id, _x) + 0);
setProperty(("/line" add i) + id, _y , getProperty(("/line" add i) + id, _y) - 0);
i = Number(i) + 1;
}
gotoAndPlay(_currentframe - 1);
Symbol 137 MovieClip Frame 1
stop();
Instance of Symbol 124 MovieClip in Symbol 137 MovieClip Frame 1
onClipEvent (load) {
id = 100;
}
Instance of Symbol 124 MovieClip in Symbol 137 MovieClip Frame 1
onClipEvent (load) {
id = 300;
}
Instance of Symbol 124 MovieClip in Symbol 137 MovieClip Frame 1
onClipEvent (load) {
id = 400;
}
Instance of Symbol 124 MovieClip in Symbol 137 MovieClip Frame 1
onClipEvent (load) {
id = 200;
}
Symbol 137 MovieClip Frame 8
stop();
Symbol 137 MovieClip Frame 15
stop();
Symbol 137 MovieClip Frame 21
stop();
Symbol 137 MovieClip Frame 25
stop();
Symbol 137 MovieClip Frame 30
stop();
Symbol 137 MovieClip Frame 34
stop();
Symbol 141 Button
on (release, keyPress "<Enter>") {
if (_root.gameInProgress != 1) {
_root.sound_startEngine.start(0, 1);
_quality = "MEDIUM";
_root.clock.play();
this.gotoAndStop(3);
}
}
Symbol 142 MovieClip Frame 1
stop();
Symbol 142 MovieClip Frame 2
invisiButt.useHandCursor = 0;
stop();
Symbol 142 MovieClip Frame 3
stop();
Symbol 144 MovieClip Frame 1
_root.engineSound.accvar = 0;
_root.acc.stop();
_root.dec.stop();
_root.minimo.stop();
_root.massimo.stop();
stop();
Symbol 144 MovieClip Frame 2
_root.acc.stop();
_root.dec.stop();
_root.engineSound.accvar = 0;
_root.minimo.start(0, 500);
stop();
Symbol 144 MovieClip Frame 9
_root.dec.stop();
_root.minimo.stop();
_root.acc.start(_root.engineSound.accvar, 0);
Instance of Symbol 143 MovieClip in Symbol 144 MovieClip Frame 9
onClipEvent (enterFrame) {
if (_root.acc.position == _root.acc.duration) {
_root.engineSound.gotoAndStop("massimo");
}
}
Symbol 144 MovieClip Frame 14
_root.dec.stop();
_root.massimo.stop();
_root.dec.start((_root.acc.duration - _root.acc.position) / 1000, 0);
_root.acc.stop();
Instance of Symbol 143 MovieClip in Symbol 144 MovieClip Frame 14
onClipEvent (enterFrame) {
if (_root.dec.position == _root.dec.duration) {
_root.engineSound.gotoAndStop("minimo");
}
_root.engineSound.accvar = (_root.dec.duration - _root.dec.position) / 1000;
}
Symbol 144 MovieClip Frame 19
_root.massimo.stop();
_root.dec.stop();
_root.acc.stop();
_root.massimo.start(0, 500);
Symbol 149 Button
on (release, keyPress "<Enter>") {
_root.removeLandmarks();
_root.stopAllSounds();
_root.myStopAllSouds();
_root.gameInProgress = 0;
_root.ATV_keyBlock = 1;
removeMovieClip(ATVclip);
_root.gotoAndPlay("course2");
}
Symbol 151 Button
on (release) {
_root.gotoAndPlay("course1reset");
}
Symbol 155 MovieClip Frame 1
stop();
Symbol 155 MovieClip Frame 8
_parent.upgradeText.gotoAndStop(2);
_parent.youMadeIt._visible = 0;
Symbol 155 MovieClip Frame 40
stop();
Symbol 158 MovieClip Frame 1
stop();
Symbol 158 MovieClip Frame 2
play();
Symbol 158 MovieClip Frame 15
stop();
Symbol 158 MovieClip Frame 30
stop();
Symbol 163 MovieClip Frame 1
stop();
Symbol 163 MovieClip Frame 9
_parent.nextItem.gotoAndPlay(1);
Symbol 163 MovieClip Frame 10
removeMovieClip(_parent);
stop();
Symbol 167 MovieClip Frame 15
stop();
Symbol 168 MovieClip Frame 1
stop();
Symbol 168 MovieClip Frame 2
function setLandmarks() {
stageWidth = 550;
stageMid = stageWidth / 2;
clipWidth = landmarks._width;
clipMid = clipWidth / 2;
landmarks._x = ((stageMid - clipMid) - this._x) - 10;
}
text.gotoAndPlay(2);
tempScore = _root.userScore_const;
landmark_count = _root.landmark_count;
landmark_count_display = 0;
Symbol 168 MovieClip Frame 15
landmark_count_display++;
thisClip = landmarks.landmark;
newName = "landmark" + landmark_count_display;
duplicateMovieClip (thisClip, newName, 5 + landmark_count_display);
newClip = eval ("landmarks.landmark" + landmark_count_display);
newClip._x = newClip._x + ((newClip._width + 10) * landmark_count_display);
newClip._visible = 1;
thisClip._visible = 0;
setLandmarks();
Symbol 168 MovieClip Frame 22
if (landmark_count_display >= landmark_count) {
play();
} else {
gotoAndPlay (15);
}
Symbol 168 MovieClip Frame 23
text.gotoAndPlay("message2");
Symbol 168 MovieClip Frame 31
tempScore = tempScore + 1000;
_root.display_score = tempScore;
thisLandmark = eval ("landmarks.landmark" + landmark_count);
removeMovieClip(thisLandmark);
setLandmarks();
landmark_count--;
landmark_count_display--;
Symbol 168 MovieClip Frame 39
if (landmark_count < 1) {
gotoAndPlay (40);
} else {
gotoAndPlay (31);
}
Symbol 168 MovieClip Frame 55
_root.ATV_statsBar.gotoAndPlay(2);
stop();
Symbol 168 MovieClip Frame 56
_root.play();
gotoAndStop (1);
Symbol 170 MovieClip Frame 1
stop();
Symbol 170 MovieClip Frame 2
stop();
Symbol 173 MovieClip Frame 1
stop();
Symbol 173 MovieClip Frame 2
stop();
Symbol 176 Button
on (release, keyPress "<Enter>") {
gotoAndPlay (29);
}
Instance of Symbol 180 MovieClip in Symbol 181 MovieClip Frame 1
onClipEvent (load) {
function setGravity(obj, pX, pY, pGravitation) {
_parent[obj].vektor = [pX, pY];
_parent[obj].gravitation = pGravitation;
_parent._x = _parent._x + _parent.vektor[0];
_parent._y = _parent._y + _parent.vektor[1];
_parent.vektor[0] = _parent.vektor[0] * 0.96;
_parent.vektor[1] = _parent.vektor[1] * 0.96;
_parent.vektor[1] = _parent.vektor[1] - _parent.gravitation;
_parent.vektor[0] = _parent.vektor[0] - _parent.gravitation;
}
gothit_flag = 0;
deleteCount = 0;
}
onClipEvent (enterFrame) {
if (_parent.hitTest(_root.ATVclip.ATV.chassis) && (gothit_flag != 1)) {
_parent.vektor = [_root.ATVclip.w * (1 + random(1.5)), _root.ATVclip.w * (1 + random(1.5))];
_root.engineSound.accvar = 0;
_root.engineSound.myAction = "brk";
gothit_flag = 1;
if (_root.redTire_cheat == 0) {
if (_root.ATVclip.w > 0) {
_root.ATVclip.w = _root.ATVclip.w - ((_root.ATVclip.w / 100) * 2);
}
if (_root.ATVclip.w < 0) {
_root.ATVclip.w = _root.ATVclip.w - ((_root.ATVclip.w / 100) * 2);
}
if (_root.ATVclip.w > 0) {
_root.ATVclip.w = _root.ATVclip.w - ((_root.ATVclip.w / 100) * 2);
}
if (_root.ATVclip.w < 0) {
_root.ATVclip.w = _root.ATVclip.w - ((_root.ATVclip.w / 100) * 2);
}
_root.redtireTouch = 1;
myTarget = "lose" + _root.course;
_root.gotoAndStop(myTarget);
}
}
if (gothit_flag == 1) {
deleteCount++;
if (deleteCount >= 25) {
removeMovieClip(_parent);
}
setGravity(_parent, 0, 0, 1);
_parent._alpha = 100 - (deleteCount * 4);
if (_root.track_1.hitTest(_parent.getBounds(_root).xMax, _parent._y, true)) {
_parent.vektor[0] = _parent.vektor[0] * -1;
_parent.vektor[1] = _parent.vektor[1] * -1;
}
if (_root.track_1.hitTest(_parent.getBounds(_root).xMin, _parent._y, true)) {
_parent.vektor[0] = _parent.vektor[0] * -1;
_parent.vektor[1] = _parent.vektor[1] * -1;
}
if (_root.track_1.hitTest(_parent._x, _parent.getBounds(_root).yMax, true)) {
_parent.vektor[0] = _parent.vektor[0] * -1;
_parent.vektor[1] = _parent.vektor[1] * -1;
}
if (_root.track_1.hitTest(_parent._x, _parent.getBounds(_root).yMin, true)) {
_parent.vektor[0] = _parent.vektor[0] * -1;
_parent.vektor[1] = _parent.vektor[1] * -1;
}
}
}
Symbol 184 MovieClip Frame 1
stop();
Symbol 184 MovieClip Frame 2
invisiButt.useHandCursor = 0;
stop();
Symbol 184 MovieClip Frame 3
stop();
Symbol 185 MovieClip Frame 1
stop();
Symbol 185 MovieClip Frame 8
stop();
Symbol 185 MovieClip Frame 9
stop();
Symbol 186 MovieClip Frame 1
stop();
Instance of Symbol 71 MovieClip "hotSpot" in Symbol 186 MovieClip Frame 1
onClipEvent (load) {
butt.useHandCursor = 0;
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.ATVclip) && (hitFlag != 1)) && (_root.activeLandmark == _parent)) {
_parent.landmark.play();
_parent.shaddow.play();
_root.score = _root.score + _parent.myScore;
_root.landmark_bust.start(0, 0);
_root.activeLandmark = _parent.nextItem;
_root.landmark_count++;
_root.global_landmark_count++;
hitFlag = 1;
}
}
Symbol 186 MovieClip Frame 2
if (this != _root.landmark_1) {
_root.landmark_fadeIn.start(0, 0);
}
Symbol 186 MovieClip Frame 58
gotoAndPlay (11);
Symbol 187 Button
on (release, keyPress "<Enter>") {
_root.removeLandmarks();
_root.stopAllSounds();
_root.myStopAllSouds();
_root.gotoAndPlay("course3");
}
Symbol 188 Button
on (release) {
gotoAndPlay (65);
}
Symbol 191 MovieClip Frame 1
stop();
Symbol 191 MovieClip Frame 2
stop();
Symbol 193 Button
on (release, keyPress "<Enter>") {
gotoAndPlay (65);
}
Symbol 206 MovieClip Frame 1
stop();
Symbol 206 MovieClip Frame 4
timeCounter++;
Symbol 206 MovieClip Frame 5
if (timeCounter >= _parent.wallUp_duration) {
play();
} else {
gotoAndPlay (4);
}
Symbol 206 MovieClip Frame 9
_parent.wallUp_flag = 0;
Symbol 206 MovieClip Frame 15
timeCounter = 0;
_parent.counterFlag = 0;
_parent.wallUp_flag = 0;
gotoAndStop (1);
Instance of Symbol 71 MovieClip "hotSpot" in Symbol 207 MovieClip Frame 1
onClipEvent (load) {
butt.useHandCursor = 0;
_parent.wallUp_flag = 0;
}
onClipEvent (enterFrame) {
if (((((this.hitTest(_root.ATVclip) && (_parent.wallUp_flag != 1)) && (_parent.wallActive_flag == 1)) && (_root.lapCheatflag_A == 0)) && (_root.lapCheatflag_B == 1)) && (_root.lapCheatflag_C == 0)) {
_parent.wall.play();
_parent.wallUp_flag = 1;
_parent.wallActive_flag = 0;
}
}
Instance of Symbol 71 MovieClip "hotSpot2" in Symbol 207 MovieClip Frame 1
onClipEvent (load) {
butt.useHandCursor = 0;
}
onClipEvent (enterFrame) {
if (_parent.wallUp_flag == 1) {
if (counterFlag == 1) {
delayCounter++;
if (delayCounter >= 24) {
counterFlag = 0;
delayCounter = 0;
}
}
if (this.hitTest(_root.ATVclip)) {
_root.engineSound.myAction = "brk";
_root.ATVclip.w = _root.ATVclip.w * -1;
if ((counterFlag != 1) && (_root.redTire_cheat == 0)) {
_root.crash_metall.start(0, 1);
_root.ATVclip.reduceShields(150, 10);
}
counterFlag = 1;
}
}
}
Symbol 211 MovieClip Frame 1
stop();
Symbol 211 MovieClip Frame 2
stop();
Symbol 214 MovieClip Frame 1
stop();
Symbol 214 MovieClip Frame 2
stop();
Symbol 219 MovieClip Frame 1
stop();
Symbol 219 MovieClip Frame 2
stop();
Symbol 224 MovieClip Frame 1
if ((_parent._rotation > -90) && (_parent._rotation < 90)) {
rabbit.gotoAndStop(1);
} else {
rabbit.gotoAndStop(2);
}
stop();
Symbol 224 MovieClip Frame 2
if ((_parent._rotation > -90) && (_parent._rotation < 90)) {
rabbit.gotoAndStop(1);
} else {
rabbit.gotoAndStop(2);
}
stop();
Symbol 224 MovieClip Frame 3
if ((_parent._rotation > -90) && (_parent._rotation < 90)) {
rabbit.gotoAndStop(1);
} else {
rabbit.gotoAndStop(2);
}
stop();
Symbol 224 MovieClip Frame 26
removeMovieClip(_parent);
stop();
Instance of Symbol 224 MovieClip "rabbitClip" in Symbol 225 MovieClip Frame 1
onClipEvent (load) {
function doHoppel() {
frameCounter_1++;
frameCounter_2++;
if (frameCounter_1 <= frame_1_duration) {
this.gotoAndStop(2);
}
if ((frameCounter_1 > frame_1_duration) && (frameCounter_2 <= frame_2_duration)) {
newPos_y = rabbitSpeed * Math.sin(radian);
newPos_x = rabbitSpeed * Math.cos(radian);
prePos_x = _parent._x + newPos_x;
prePos_y = _parent._y + newPos_y;
if (_root.track_1.hitTest(prePos_x, prePos_y, true)) {
newPos_x = 0;
newPos_y = 0;
} else if (_root.track_1.hitTest(prePos_x, prePos_y, true)) {
newPos_x = 0;
newPos_y = 0;
} else if (_root.track_1.hitTest(prePos_x, prePos_y, true)) {
newPos_x = 0;
newPos_y = 0;
} else if (_root.track_1.hitTest(prePos_x, prePos_y, true)) {
newPos_x = 0;
newPos_y = 0;
} else {
this.gotoAndStop(3);
}
_parent._x = _parent._x + newPos_x;
_parent._y = _parent._y + newPos_y;
}
if ((frameCounter_1 > frame_1_duration) && (frameCounter_2 > frame_2_duration)) {
this.gotoAndStop(1);
frameCounter_1 = 0;
frameCounter_2 = 0;
doHoppel_flag = 0;
}
}
frameCounter_1 = 0;
frameCounter_2 = 0;
frame_1_duration = 2;
frame_2_duration = 4;
newPos_x = _parent._x;
newPos_y = _parent._y;
rabbitSpeed = 3 + random(10);
PI = Math.PI;
doHoppel_flag = 0;
gothit_flag = 0;
}
onClipEvent (enterFrame) {
randomVar = random(50);
if (randomVar >= 40) {
if (doHoppel_flag != 1) {
_parent._rotation = random(360);
radian = _parent._rotation * (Math.PI/180);
doHoppel_flag = 1;
}
}
if ((doHoppel_flag == 1) && (gothit_flag != 1)) {
doHoppel();
}
if (_parent.hitTest(_root.ATVclip.ATV.chassis) && (gothit_flag != 1)) {
this.gotoAndPlay(4);
gothit_flag = 1;
if (_root.redTire_cheat == 0) {
_parent.vektor = [_root.ATVclip.xspeed * (1 + random(1.5)), _root.ATVclip.yspeed * (1 + random(1.5))];
if (_root.ATVclip.xspeed > 0) {
_root.ATVclip.xspeed = _root.ATVclip.xspeed - (_root.ATVclip.xspeed / 2);
}
if (_root.ATVclip.xspeed < 0) {
_root.ATVclip.xspeed = _root.ATVclip.xspeed - (_root.ATVclip.xspeed / 2);
}
if (_root.ATVclip.yspeed < 0) {
_root.ATVclip.yspeed = _root.ATVclip.yspeed - (_root.ATVclip.yspeed / 2);
}
if (_root.ATVclip.yspeed > 0) {
_root.ATVclip.yspeed = _root.ATVclip.yspeed - (_root.ATVclip.yspeed / 2);
}
_root.rabbitKills++;
}
}
}
Symbol 227 MovieClip Frame 1
stop();
Symbol 227 MovieClip Frame 2
invisiButt.useHandCursor = 0;
stop();
Symbol 227 MovieClip Frame 3
stop();
Symbol 228 Button
on (release, keyPress "<Enter>") {
_root.removeLandmarks();
_root.stopAllSounds();
_root.myStopAllSouds();
_root.gotoAndPlay("course4");
}
Symbol 229 Button
on (release) {
gotoAndPlay (102);
}
Symbol 232 MovieClip Frame 1
stop();
Symbol 232 MovieClip Frame 2
stop();
Symbol 234 Button
on (release, keyPress "<Enter>") {
gotoAndPlay (102);
}
Symbol 239 MovieClip Frame 1
stop();
Symbol 239 MovieClip Frame 6
if (_parent == _root.newDoppelBall) {
removeMovieClip(_parent);
} else {
removeMovieClip(this);
}
stop();
Symbol 244 MovieClip Frame 1
stop();
Symbol 244 MovieClip Frame 4
gotoAndStop (1);
Symbol 246 MovieClip Frame 1
stop();
Symbol 246 MovieClip Frame 2
invisiButt.useHandCursor = 0;
stop();
Symbol 246 MovieClip Frame 3
stop();
Symbol 248 Button
on (release, keyPress "<Enter>") {
_root.removeLandmarks();
_root.stopAllSounds();
_root.myStopAllSouds();
_root.gotoAndPlay("Boss");
}
Symbol 249 Button
on (release) {
_root.gotoAndPlay("course4reset");
}
Symbol 251 MovieClip Frame 1
stop();
Symbol 251 MovieClip Frame 2
stop();
Symbol 253 Button
on (release, keyPress "<Enter>") {
_root.gotoAndPlay("course4reset");
}
Symbol 260 MovieClip Frame 1
if ((hitFlag == 1) || (bossHitFlag == 1)) {
gotoAndPlay (14);
}
stop();
Symbol 260 MovieClip Frame 2
if ((hitFlag == 1) || (bossHitFlag == 1)) {
gotoAndPlay (14);
}
play();
Symbol 260 MovieClip Frame 13
gotoAndPlay (2);
Symbol 260 MovieClip Frame 14
ball.play();
Symbol 260 MovieClip Frame 20
_root.ATVclip.mineTimer = _root.ATVclip.mineDelay;
removeMovieClip(this);
stop();
Symbol 262 MovieClip Frame 1
stop();
Symbol 262 MovieClip Frame 14
gotoAndStop (1);
Symbol 262 MovieClip Frame 41
removeMovieClip(_root.doppelRohr);
stop();
Symbol 315 MovieClip Frame 1
stop();
Symbol 315 MovieClip Frame 2
play();
Symbol 315 MovieClip Frame 27
removeMovieClip(this);
stop();
Symbol 329 MovieClip Frame 1
stop();
Symbol 329 MovieClip Frame 2
play();
Symbol 329 MovieClip Frame 35
stop();
Symbol 331 MovieClip Frame 1
stop();
Symbol 331 MovieClip Frame 2
point = new Object();
point.x = _root.bossClip.boss.bossInner._x;
point.y = _root.bossClip.boss.bossInner._y;
localToGlobal(point);
_root.explose._x = point.x;
_root.explose._y = point.y;
_root.explose.play();
removeMovieClip(_root.bossClip.boss.boss_statsBar);
hullExp.gotoAndPlay(2);
Symbol 331 MovieClip Frame 28
_root.gotoAndPlay("WinGame");
removeMovieClip(_root.bossClip);
stop();
Instance of Symbol 331 MovieClip "bossInner" in Symbol 333 MovieClip Frame 1
onClipEvent (enterFrame) {
if (counterFlag == 1) {
delayCounter++;
if (delayCounter >= 24) {
counterFlag = 0;
delayCounter = 0;
}
}
if (this.hitTest(_root.ATVclip) && (counterFlag != 1)) {
_root.engineSound.myAction = "brk";
_root.ATVclip.w = _root.ATVclip.w * -1;
if (_root.redTire_cheat == 0) {
_root.crash_metall.start(0, 1);
_root.ATVclip.reduceShields(150, 25);
}
counterFlag = 1;
}
}
Instance of Symbol 332 MovieClip "boss_statsBar" in Symbol 333 MovieClip Frame 1
onClipEvent (load) {
function resetBar() {
bar._width = 0.1;
bar._x = bar_origin_x;
bar._y = bar_origin_y;
}
bar_origin_x = bar._x;
bar_origin_y = bar._y;
resetBar();
alive = 1;
}
onClipEvent (enterFrame) {
if (_root.gameInProgress == 1) {
bar._width = 60 - _root.bossClip.hitpoints;
bar._x = bar_origin_x;
bar._y = bar_origin_y;
}
if ((_root.bossClip.hitpoints <= 0) && (alive == 1)) {
alive = 0;
_root.bossClip.boss.bossInner.gotoAndPlay("killMe");
_root.bossClip.stop();
_root.doppelRohr.alive = 0;
_root.doppelRohr.gotoAndPlay("killMe");
this._visible = 0;
removeMovieClip(this);
}
}
Symbol 334 MovieClip Frame 1
stop();
Symbol 334 MovieClip Frame 43
actionFlag = 1;
Symbol 334 MovieClip Frame 344
gotoAndPlay (194);
Symbol 336 MovieClip Frame 1
stop();
Symbol 336 MovieClip Frame 2
invisiButt.useHandCursor = 0;
stop();
Symbol 336 MovieClip Frame 3
stop();
Symbol 339 Button
on (release, keyPress "<Enter>") {
_root.gotoAndPlay("bossreset");
}
Symbol 346 MovieClip Frame 1
stop();
Symbol 346 MovieClip Frame 20
stop();
Symbol 348 Button
on (release, keyPress "<Enter>") {
_root.gotoAndPlay("Reset");
}