Combined Code
frame 1 {
fscommand('showmenu', 'false');
Flash4 = '1';
}
frame 3 {
if (Flash4 != '1') {
gotoAndStop(32);
}
}
frame 6 {
ifFrameLoaded (222) {
gotoAndPlay(35);
}
}
movieClip 4 {
}
frame 31 {
gotoAndPlay(6);
}
button 10 {
on (release) {
getURL('http://www.inglobo.de', '_blank');
}
}
button 14 {
on (release) {
getURL('http://www.janvierburger.de', '_blank');
}
}
button 19 {
on (release) {
getURL('http://www.odc-film.de', '_blank');
}
}
button 23 {
on (release) {
getURL('http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash&Lang=German&P5_Language=German', '_blank');
}
}
button 26 {
on (keyPress '<Enter>') {
toggleHighQuality();
}
on (keyPress 'f') {
toggleHighQuality();
}
}
button 28 {
on (keyPress '<Enter>') {
toggleHighQuality();
}
on (keyPress 'f') {
toggleHighQuality();
}
on (keyPress '<Space>') {
gotoAndStop(156);
}
}
button 32 {
on (release) {
getURL('http://inglobo.de/odcgame/highscores.jhtml', 'odchigh');
}
}
button 35 {
on (release) {
gotoAndStop(173);
}
}
button 39 {
on (release) {
gotoAndStop(179);
}
}
frame 156 {
stop();
}
button 40 {
on (keyPress '<Enter>') {
toggleHighQuality();
}
on (keyPress 'f') {
toggleHighQuality();
}
on (keyPress '<Space>') {
gotoAndStop(179);
}
}
button 42 {
on (keyPress '<Enter>') {
toggleHighQuality();
}
on (keyPress 'f') {
toggleHighQuality();
}
on (keyPress '<Space>') {
gotoAndStop(179);
}
}
button 45 {
on (release) {
gotoAndStop(179);
}
}
button 51 {
on (release) {
gotoAndStop(161);
}
}
frame 179 {
stop();
gotoAndStop(186);
}
frame 186 {
tellTarget ('/randomizer') {
stop();
eventChance = '10';
objectOffset = '100';
}
tellTarget ('/speeder') {
stop();
}
}
frame 186 {
stop();
/street._visible = '0';
/lib._visible = '0';
if (/lib:toggleQuality == '1') {
toggleHighQuality();
}
tellTarget ('/standings') {
lifes = '4';
score = '0';
paintings = '0';
ammo = '3';
speed = '30';
stop();
}
tellTarget ('/bike') {
offset = '10';
}
tellTarget ('/standings/fuelMeter') {
gotoAndStop(1);
}
tellTarget ('/standings') {
lifes -= '1';
}
tellTarget ('/standings/bikeSym') {
gotoAndStop(/standings:lifes + '1');
}
tellTarget ('/speeder') {
speed = '3';
}
tellTarget ('/bike/smoke') {
stop();
obj1 = '/oil1';
obj2 = '/oil2';
obj3 = '/oil3';
obj4 = '/bomb1';
obj5 = '/bomb2';
obj6 = '/bomb3';
obj7 = '/money1';
obj8 = '/money2';
obj9 = '/money3';
obj10 = '/painting';
obj11 = '/mercedes';
obj12 = '/mini';
obj13 = '/lorry';
obj14 = '/fuel';
obj15 = '/ammo';
}
}
frame 186 {
/bike._visible = '0';
}
movieClip 55 {
frame 1 {
stop();
}
frame 164 {
gotoAndStop(1);
}
}
movieClip 64 {
frame 1 {
stop();
}
frame 2 {
stop();
}
frame 3 {
stop();
}
frame 4 {
stop();
}
frame 5 {
stop();
}
}
movieClip 66 {
frame 1 {
stop();
}
frame 2 {
stop();
}
frame 3 {
stop();
}
frame 4 {
stop();
}
}
movieClip 71 {
frame 1 {
stop();
}
frame 14 {
stop();
}
frame 15 {
stop();
}
frame 16 {
stop();
}
frame 17 {
stop();
}
}
movieClip 80 {
frame 1 {
stop();
}
frame 2 {
fuelStarted = '0';
}
frame 455 {
if (fuelStarted == '0') {
tellTarget ('/fuel') {
active = '1';
/fuel._x = /randomizer:objectOffset + random('200');
}
}
}
frame 480 {
tellTarget ('/lib') {
getKey = '0';
}
tellTarget ('/') {
gotoAndStop('outoffuel');
}
stop();
}
frame 481 {
gotoAndPlay(2);
}
}
movieClip 82 {
frame 2 {
timeLeft = int((getTimer() - starttime) / '1000');
}
}
movieClip 85 {
frame 1 {
tellTarget ('/bike') {
if (direction != '0') {
/bike._x = _x + direction;
}
if ('335' < /bike._x or /bike._x < '85') {
gotoAndStop('explode');
}
}
count = '1';
biR = /bike._x + /bike._width / '2' - '15';
biL = /bike._x - /bike._width / '2' + '10';
biO = /bike._y - /bike._height / '2';
biU = /bike._y + /bike._height / '2' - '40';
while (count < '16') {
currentObject = eval('obj' add count);
innerObject = currentObject add '/obj';
if ((eval(currentObject))._currentframe != '1') {
r = (eval(currentObject))._x + (eval(innerObject))._width - '15';
l = (eval(currentObject))._x;
u = (eval(innerObject))._y + (eval(innerObject))._height / '2' - '25';
o = (eval(innerObject))._y - (eval(innerObject))._height / '2';
if (l < biR and biL < r and o < biU and biO < u) {
objectName = (eval(currentObject))._name;
if (eval(currentObject add ':lethal') == '1') {
tellTarget ('/bike') {
gotoAndStop('explode');
}
tellTarget ('/lib') {
getKey = '0';
}
} else {
if (substring(objectName, '1', '3') eq 'oil') {
if (/bike:direction != '0' and eval(currentObject add ':hit') == '0') {
tellTarget ('/lib') {
getKey = '0';
gotoAndStop('oilHit');
}
tellTarget ('currentObject') {
hit = '1';
}
}
} else {
if (substring(objectName, '1', '5') eq 'money') {
tellTarget ('currentObject') {
active = '0';
gotoAndStop(1);
}
tellTarget ('/lib') {
gotoAndStop('moneyFound');
}
} else {
if (objectName eq 'painting') {
tellTarget ('currentObject') {
active = '0';
gotoAndStop(1);
}
tellTarget ('/lib') {
gotoAndStop('paintingFound');
}
} else {
if (objectName eq 'ammo') {
tellTarget ('currentObject') {
gotoAndStop(1);
active = '0';
}
tellTarget ('/lib') {
gotoAndStop('ammoFound');
}
} else {
if (objectName eq 'fuel') {
tellTarget ('currentObject') {
active = '0';
gotoAndStop(1);
}
tellTarget ('/lib') {
gotoAndStop('fuelFound');
}
}
}
}
}
}
}
}
}
count += '1';
}
if (bulletActive == '1') {
if (/bomb1:active == '1') {
if (/bomb1._x - '10' < /bullet._x and /bullet._x < /bomb1._x + '40' and /bike._y + /bullet/obj._y < /bomb1/obj._y and /bomb1/obj._y < /bike._y) {
/bomb1/explosion._visible = '1';
/bomb1/obj._visible = '0';
tellTarget ('/bomb1') {
active = '0';
exploding = '1';
}
tellTarget ('/bomb1/explosion') {
play();
}
tellTarget ('/lib') {
call('resetBullet');
}
}
}
if (/bomb2:active == '1') {
if (/bomb2._x - '10' < /bullet._x and /bullet._x < /bomb2._x + '40' and /bike._y + /bullet/obj._y < /bomb2/obj._y and /bomb2/obj._y < /bike._y) {
/bomb2/explosion._visible = '1';
/bomb2/obj._visible = '0';
tellTarget ('/bomb2') {
active = '0';
exploding = '1';
}
tellTarget ('/bomb2/explosion') {
play();
}
tellTarget ('/lib') {
call('resetBullet');
}
}
}
if (/bomb3:active == '1') {
if (/bomb3._x - '10' < /bullet._x and /bullet._x < /bomb3._x + '40' and /bike._y + /bullet/obj._y < /bomb3/obj._y and /bomb3/obj._y < /bike._y) {
/bomb3/explosion._visible = '1';
/bomb3/obj._visible = '0';
tellTarget ('/bomb3') {
active = '0';
exploding = '1';
}
tellTarget ('/bomb3/explosion') {
play();
}
tellTarget ('/lib') {
call('resetBullet');
}
}
}
}
}
frame 2 {
tellTarget ('/bike') {
if (direction != '0') {
/bike._x = _x + direction;
}
if ('335' < /bike._x or /bike._x < '85') {
gotoAndStop('explode');
}
}
count = '1';
biR = /bike._x + /bike._width / '2' - '15';
biL = /bike._x - /bike._width / '2' + '10';
biO = /bike._y - /bike._height / '2';
biU = /bike._y + /bike._height / '2' - '40';
while (count < '16') {
currentObject = eval('obj' add count);
innerObject = currentObject add '/obj';
if ((eval(currentObject))._currentframe != '1') {
r = (eval(currentObject))._x + (eval(innerObject))._width - '15';
l = (eval(currentObject))._x;
u = (eval(innerObject))._y + (eval(innerObject))._height / '2' - '25';
o = (eval(innerObject))._y - (eval(innerObject))._height / '2';
if (l < biR and biL < r and o < biU and biO < u) {
objectName = (eval(currentObject))._name;
if (eval(currentObject add ':lethal') == '1') {
tellTarget ('/bike') {
gotoAndStop('explode');
}
tellTarget ('/lib') {
getKey = '0';
}
} else {
if (substring(objectName, '1', '3') eq 'oil') {
if (/bike:direction != '0' and eval(currentObject add ':hit') == '0') {
tellTarget ('/lib') {
getKey = '0';
gotoAndStop('oilHit');
}
tellTarget ('currentObject') {
hit = '1';
}
}
} else {
if (substring(objectName, '1', '5') eq 'money') {
tellTarget ('currentObject') {
active = '0';
gotoAndStop(1);
}
tellTarget ('/lib') {
gotoAndStop('moneyFound');
}
} else {
if (objectName eq 'painting') {
tellTarget ('currentObject') {
active = '0';
gotoAndStop(1);
}
tellTarget ('/lib') {
gotoAndStop('paintingFound');
}
} else {
if (objectName eq 'ammo') {
tellTarget ('currentObject') {
gotoAndStop(1);
active = '0';
}
tellTarget ('/lib') {
gotoAndStop('ammoFound');
}
} else {
if (objectName eq 'fuel') {
tellTarget ('currentObject') {
active = '0';
gotoAndStop(1);
}
tellTarget ('/lib') {
gotoAndStop('fuelFound');
}
}
}
}
}
}
}
}
}
count += '1';
}
if (bulletActive == '1') {
if (/bomb1:active == '1') {
if (/bomb1._x - '10' < /bullet._x and /bullet._x < /bomb1._x + '40' and /bike._y + /bullet/obj._y < /bomb1/obj._y and /bomb1/obj._y < /bike._y) {
/bomb1/explosion._visible = '1';
/bomb1/obj._visible = '0';
tellTarget ('/bomb1') {
active = '0';
exploding = '1';
}
tellTarget ('/bomb1/explosion') {
play();
}
tellTarget ('/lib') {
call('resetBullet');
}
}
}
if (/bomb2:active == '1') {
if (/bomb2._x - '10' < /bullet._x and /bullet._x < /bomb2._x + '40' and /bike._y + /bullet/obj._y < /bomb2/obj._y and /bomb2/obj._y < /bike._y) {
/bomb2/explosion._visible = '1';
/bomb2/obj._visible = '0';
tellTarget ('/bomb2') {
active = '0';
exploding = '1';
}
tellTarget ('/bomb2/explosion') {
play();
}
tellTarget ('/lib') {
call('resetBullet');
}
}
}
if (/bomb3:active == '1') {
if (/bomb3._x - '10' < /bullet._x and /bullet._x < /bomb3._x + '40' and /bike._y + /bullet/obj._y < /bomb3/obj._y and /bomb3/obj._y < /bike._y) {
/bomb3/explosion._visible = '1';
/bomb3/obj._visible = '0';
tellTarget ('/bomb3') {
active = '0';
exploding = '1';
}
tellTarget ('/bomb3/explosion') {
play();
}
tellTarget ('/lib') {
call('resetBullet');
}
}
}
}
}
}
movieClip 89 {
frame 17 {
tellTarget ('/lib') {
call(resetObjects);
}
tellTarget ('/') {
gotoAndPlay('loose');
}
stop();
}
}
movieClip 91 {
frame 1 {
stop();
}
frame 2 {
stop();
}
frame 3 {
stop();
}
frame 4 {
tellTarget ('/lib') {
getKey = '0';
}
tellTarget ('/speeder') {
stop();
}
tellTarget ('/randomizer') {
stop();
}
tellTarget ('/standings') {
stop();
}
tellTarget ('/standings/fuelmeter') {
stop();
}
tellTarget ('/bike/smoke') {
stop();
}
stop();
}
frame 5 {
stop();
}
frame 18 {
tellTarget ('/lib') {
getKey = '1';
}
direction = '0';
stop();
}
}
button 97 {
on (keyPress '<Space>') {
gotoAndStop(206);
}
}
movieClip 104 {
frame 1 {
stop();
}
frame 5 {
tellTarget ('/oil1') {
gotoAndStop(1);
}
tellTarget ('/oil2') {
gotoAndStop(1);
}
tellTarget ('/oil3') {
gotoAndStop(1);
}
tellTarget ('/money1') {
gotoAndStop(1);
}
tellTarget ('/money2') {
gotoAndStop(1);
}
tellTarget ('/money3') {
gotoAndStop(1);
}
tellTarget ('/bomb1') {
gotoAndStop(1);
/bomb1._x = '0';
}
tellTarget ('/bomb2') {
gotoAndStop(1);
/bomb2._x = '0';
}
tellTarget ('/bomb3') {
gotoAndStop(1);
/bomb3._x = '0';
}
tellTarget ('/painting') {
gotoAndStop(1);
}
tellTarget ('/mercedes') {
gotoAndStop(1);
}
tellTarget ('/mini') {
gotoAndStop(1);
}
tellTarget ('/lorry') {
gotoAndStop(1);
}
tellTarget ('/ammo') {
gotoAndStop(1);
}
tellTarget ('/fuel') {
gotoAndStop(1);
}
stop();
}
frame 16 {
tellTarget ('/standings') {
score = int(score + '100' * /speeder:speed / '3');
}
gotoAndStop(110);
}
frame 27 {
tellTarget ('/standings') {
if (/standings:ammo < '12') {
ammo += '1';
}
}
tellTarget ('/standings/ammoSym') {
gotoAndStop(/standings:ammo + '1');
}
gotoAndStop(110);
}
frame 37 {
tellTarget ('/standings') {
paintings += '1';
score = int(score + '500' * /speeder:speed / '3');
}
if ('4' < /standings:paintings) {
tellTarget ('/speeder') {
speed += '1';
}
tellTarget ('/randomizer') {
eventChance += '2';
}
tellTarget ('/standings') {
paintings = '0';
speed = speed + random('10') + '3';
}
}
tellTarget ('/standings/paintSym') {
gotoAndStop(/standings:paintings + '1');
}
gotoAndStop(110);
}
frame 48 {
tellTarget ('/bike') {
gotoAndPlay('spin');
}
tellTarget ('/lib') {
getKey = '0';
}
gotoAndStop(110);
}
frame 55 {
tellTarget ('/standings/fuelMeter') {
gotoAndPlay(2);
}
gotoAndStop(110);
}
frame 63 {
tellTarget ('/randomizer') {
stop();
}
tellTarget ('/standings') {
stop();
}
tellTarget ('/standings/fuelmeter') {
stop();
}
tellTarget ('/bike/smoke') {
stop();
}
tellTarget ('/bike') {
gotoAndStop('middle');
}
}
frame 71 {
if (/bike._x >= '210') {
/bike._x = /bike._x - '5';
} else {
if ('200' >= /bike._x) {
/bike._x = /bike._x + '5';
}
}
if ('230' >= /bike._y) {
/bike._y = /bike._y + '5';
} else {
if (/bike._y >= '250') {
/bike._y = /bike._y - '5';
}
}
if (/bike._x < '210' and '200' < /bike._x and '230' < /bike._y and /bike._y < '250' and /lorry:active == '0') {
tellTarget ('/speeder') {
stop();
}
tellTarget ('/police') {
play();
}
gotoAndStop(110);
}
}
frame 72 {
if (/bike._x >= '210') {
/bike._x = /bike._x - '5';
} else {
if ('200' >= /bike._x) {
/bike._x = /bike._x + '5';
}
}
if ('230' >= /bike._y) {
/bike._y = /bike._y + '5';
} else {
if (/bike._y >= '250') {
/bike._y = /bike._y - '5';
}
}
if (/bike._x < '210' and '200' < /bike._x and '230' < /bike._y and /bike._y < '250' and /lorry:active == '0') {
tellTarget ('/speeder') {
stop();
}
tellTarget ('/police') {
play();
}
gotoAndStop(110);
} else {
gotoAndPlay(71);
}
}
frame 81 {
tellTarget ('/lib') {
pause = '1';
pauseTime = getTimer();
getKey = '0';
}
tellTarget ('/speeder') {
stop();
}
tellTarget ('/randomizer') {
stop();
}
tellTarget ('/standings') {
stop();
}
tellTarget ('/standings/fuelmeter') {
stop();
}
tellTarget ('/bike/smoke') {
stop();
}
stop();
}
frame 88 {
tellTarget ('/lib') {
getKey = '1';
pause = '0';
}
tellTarget ('/speeder') {
play();
}
tellTarget ('/randomizer') {
play();
}
tellTarget ('/standings') {
starttime = /standings:starttime + getTimer() - /lib:pauseTime;
play();
}
tellTarget ('/standings/fuelmeter') {
play();
}
tellTarget ('/bike/smoke') {
play();
}
stop();
}
frame 95 {
/bullet._x = '0';
/bullet._y = '-10';
tellTarget ('/bullet') {
gotoAndStop(1);
}
tellTarget ('/bike/smoke') {
bulletActive = '0';
}
}
frame 110 {
stop();
}
}
movieClip 106 {
frame 1 {
action = random('100');
if (action < eventChance) {
event = random('50');
if ('10' < event and '15' >= event and /painting:active == '0') {
tellTarget ('/painting') {
active = '1';
/painting._x = /randomizer:objectOffset + random('200');
}
} else {
if (event < '10' and /oil1:active == '0') {
tellTarget ('/oil1') {
active = '1';
/oil1._x = /randomizer:objectOffset + random('200');
}
} else {
if (event < '10' and /oil2:active == '0') {
tellTarget ('/oil2') {
active = '1';
/oil2._x = /randomizer:objectOffset + random('200');
}
} else {
if (event < '10' and /oil3:active == '0') {
tellTarget ('/oil3') {
active = '1';
/oil3._x = /randomizer:objectOffset + random('200');
}
} else {
if ('30' < event and '35' >= event and /ammo:active == '0') {
tellTarget ('/ammo') {
active = '1';
/ammo._x = /randomizer:objectOffset + random('200');
}
} else {
if ('20' < event and '25' >= event and /bomb1:active == '0' and /bomb1:exploding == '0') {
tellTarget ('/bomb1') {
active = '1';
/bomb1._x = /randomizer:objectOffset + random('200');
}
} else {
if ('20' < event and '25' >= event and /bomb2:active == '0' and /bomb2:exploding == '0') {
tellTarget ('/bomb2') {
active = '1';
/bomb2._x = /randomizer:objectOffset + random('200');
}
} else {
if ('20' < event and '25' >= event and /bomb3:active == '0' and /bomb3:exploding == '0') {
tellTarget ('/bomb3') {
active = '1';
/bomb3._x = /randomizer:objectOffset + random('200');
}
} else {
if ('25' < event and event < '30' and /money1:active == '0') {
tellTarget ('/money1') {
active = '1';
/money1._x = /randomizer:objectOffset + random('200');
}
} else {
if ('25' < event and event < '30' and /money2:active == '0') {
tellTarget ('/money2') {
active = '1';
/money2._x = /randomizer:objectOffset + random('200');
}
} else {
if ('25' < event and event < '30' and /money3:active == '0') {
tellTarget ('/money3') {
active = '1';
/money3._x = /randomizer:objectOffset + random('200');
}
} else {
if ('15' < event and '20' >= event and /fuel:active == '0') {
tellTarget ('/fuel') {
active = '1';
/fuel._x = /randomizer:objectOffset + random('200');
}
tellTarget ('/standings/fuelMeter') {
fuelStarted = '1';
}
} else {
if ('35' < event and '40' >= event and /lorry:active == '0') {
tellTarget ('/lorry') {
active = '1';
}
} else {
if ('40' < event and '45' >= event and /mini:active == '0' and /mercedes:active == '0') {
tellTarget ('/mini') {
active = '1';
}
} else {
if ('45' < event and '50' >= event and /mercedes:active == '0' and /mini:active == '0') {
tellTarget ('/mercedes') {
active = '1';
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
frame 2 {
action = random('100');
if (action < eventChance) {
event = random('50');
if ('10' < event and '15' >= event and /painting:active == '0') {
tellTarget ('/painting') {
active = '1';
/painting._x = /randomizer:objectOffset + random('200');
}
} else {
if (event < '10' and /oil1:active == '0') {
tellTarget ('/oil1') {
active = '1';
/oil1._x = /randomizer:objectOffset + random('200');
}
} else {
if (event < '10' and /oil2:active == '0') {
tellTarget ('/oil2') {
active = '1';
/oil2._x = /randomizer:objectOffset + random('200');
}
} else {
if (event < '10' and /oil3:active == '0') {
tellTarget ('/oil3') {
active = '1';
/oil3._x = /randomizer:objectOffset + random('200');
}
} else {
if ('30' < event and '35' >= event and /ammo:active == '0') {
tellTarget ('/ammo') {
active = '1';
/ammo._x = /randomizer:objectOffset + random('200');
}
} else {
if ('20' < event and '25' >= event and /bomb1:active == '0' and /bomb1:exploding == '0') {
tellTarget ('/bomb1') {
active = '1';
/bomb1._x = /randomizer:objectOffset + random('200');
}
} else {
if ('20' < event and '25' >= event and /bomb2:active == '0' and /bomb2:exploding == '0') {
tellTarget ('/bomb2') {
active = '1';
/bomb2._x = /randomizer:objectOffset + random('200');
}
} else {
if ('20' < event and '25' >= event and /bomb3:active == '0' and /bomb3:exploding == '0') {
tellTarget ('/bomb3') {
active = '1';
/bomb3._x = /randomizer:objectOffset + random('200');
}
} else {
if ('25' < event and event < '30' and /money1:active == '0') {
tellTarget ('/money1') {
active = '1';
/money1._x = /randomizer:objectOffset + random('200');
}
} else {
if ('25' < event and event < '30' and /money2:active == '0') {
tellTarget ('/money2') {
active = '1';
/money2._x = /randomizer:objectOffset + random('200');
}
} else {
if ('25' < event and event < '30' and /money3:active == '0') {
tellTarget ('/money3') {
active = '1';
/money3._x = /randomizer:objectOffset + random('200');
}
} else {
if ('15' < event and '20' >= event and /fuel:active == '0') {
tellTarget ('/fuel') {
active = '1';
/fuel._x = /randomizer:objectOffset + random('200');
}
tellTarget ('/standings/fuelMeter') {
fuelStarted = '1';
}
} else {
if ('35' < event and '40' >= event and /lorry:active == '0') {
tellTarget ('/lorry') {
active = '1';
}
} else {
if ('40' < event and '45' >= event and /mini:active == '0' and /mercedes:active == '0') {
tellTarget ('/mini') {
active = '1';
}
} else {
if ('45' < event and '50' >= event and /mercedes:active == '0' and /mini:active == '0') {
tellTarget ('/mercedes') {
active = '1';
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
movieClip 108 {
frame 1 {
count = '1';
while (speed >= count) {
tellTarget ('/street') {
nextFrame();
}
if (/painting:active == '1') {
tellTarget ('/painting') {
nextFrame();
}
}
if (/oil1:active == '1') {
tellTarget ('/oil1') {
nextFrame();
}
}
if (/oil2:active == '1') {
tellTarget ('/oil2') {
nextFrame();
}
}
if (/oil3:active == '1') {
tellTarget ('/oil3') {
nextFrame();
}
}
if (/money1:active == '1') {
tellTarget ('/money1') {
nextFrame();
}
}
if (/money2:active == '1') {
tellTarget ('/money2') {
nextFrame();
}
}
if (/money3:active == '1') {
tellTarget ('/money3') {
nextFrame();
}
}
if (/bomb1:active == '1' and /bomb1:exploding == '0') {
tellTarget ('/bomb1') {
nextFrame();
}
}
if (/bomb2:active == '1' and /bomb2:exploding == '0') {
tellTarget ('/bomb2') {
nextFrame();
}
}
if (/bomb3:active == '1' and /bomb3:exploding == '0') {
tellTarget ('/bomb3') {
nextFrame();
}
}
if (/ammo:active == '1') {
tellTarget ('/ammo') {
nextFrame();
}
}
if (/fuel:active == '1') {
tellTarget ('/fuel') {
nextFrame();
}
}
if (/lorry:active == '1' and count != '2' and count != '4') {
tellTarget ('/lorry') {
nextFrame();
}
}
if (/mini:active == '1') {
tellTarget ('/mini') {
nextFrame();
}
}
if (/mercedes:active == '1') {
tellTarget ('/mercedes') {
nextFrame();
}
}
count += '1';
}
}
frame 2 {
count = '1';
while (speed >= count) {
tellTarget ('/street') {
nextFrame();
}
if (/painting:active == '1') {
tellTarget ('/painting') {
nextFrame();
}
}
if (/oil1:active == '1') {
tellTarget ('/oil1') {
nextFrame();
}
}
if (/oil2:active == '1') {
tellTarget ('/oil2') {
nextFrame();
}
}
if (/oil3:active == '1') {
tellTarget ('/oil3') {
nextFrame();
}
}
if (/money1:active == '1') {
tellTarget ('/money1') {
nextFrame();
}
}
if (/money2:active == '1') {
tellTarget ('/money2') {
nextFrame();
}
}
if (/money3:active == '1') {
tellTarget ('/money3') {
nextFrame();
}
}
if (/bomb1:active == '1' and /bomb1:exploding == '0') {
tellTarget ('/bomb1') {
nextFrame();
}
}
if (/bomb2:active == '1' and /bomb2:exploding == '0') {
tellTarget ('/bomb2') {
nextFrame();
}
}
if (/bomb3:active == '1' and /bomb3:exploding == '0') {
tellTarget ('/bomb3') {
nextFrame();
}
}
if (/ammo:active == '1') {
tellTarget ('/ammo') {
nextFrame();
}
}
if (/fuel:active == '1') {
tellTarget ('/fuel') {
nextFrame();
}
}
if (/lorry:active == '1' and count != '2' and count != '4') {
tellTarget ('/lorry') {
nextFrame();
}
}
if (/mini:active == '1') {
tellTarget ('/mini') {
nextFrame();
}
}
if (/mercedes:active == '1') {
tellTarget ('/mercedes') {
nextFrame();
}
}
count += '1';
}
}
}
button 109 {
on (keyPress '<Space>') {
gotoAndStop(206);
}
}
frame 192 {
/street._visible = '0';
tellTarget ('/standings') {
score += timeLeft * '10';
}
tellTarget ('/standings') {
lifes -= '1';
}
tellTarget ('/standings/bikeSym') {
gotoAndStop(/standings:lifes + '1');
}
if ('0' >= /standings:lifes) {
gotoAndStop(213);
}
}
frame 192 {
/bike._visible = '0';
}
button 113 {
on (keyPress '<Left>') {
if (/lib:getKey == '1') {
tellTarget ('bike') {
if (direction == '0') {
gotoAndStop('left');
direction = '0' - offset;
}
if (direction == offset) {
gotoAndStop('middle');
direction = '0';
}
}
}
}
on (keyPress '<Right>') {
if (/lib:getKey == '1') {
tellTarget ('bike') {
if (direction == '0') {
gotoAndStop('right');
direction = offset;
}
if (direction == '0' - offset) {
gotoAndStop('middle');
direction = '0';
}
}
}
}
}
frame 195 {
stop();
}
frame 198 {
tellTarget ('/lib') {
gotoAndPlay('outoffuel');
}
stop();
}
movieClip 115 {
}
movieClip 116 {
frame 1 {
active = '0';
hit = '0';
stop();
}
frame 164 {
gotoAndStop(1);
}
}
movieClip 118 {
}
movieClip 119 {
frame 1 {
stop();
obj._visible = '1';
active = '0';
}
frame 164 {
gotoAndStop(1);
}
}
movieClip 121 {
}
movieClip 122 {
frame 1 {
stop();
active = '0';
obj._visible = '1';
}
frame 164 {
gotoAndStop(1);
}
}
movieClip 123 {
}
movieClip 124 {
frame 1 {
stop();
active = '0';
}
frame 164 {
gotoAndStop(1);
}
}
movieClip 126 {
}
movieClip 128 {
frame 1 {
stop();
tellTarget ('/standings') {
score = int(score + '50' * /speeder:speed / '3');
}
}
frame 6 {
tellTarget ('..') {
exploding = '0';
gotoAndStop(1);
}
..._x = '0';
}
}
movieClip 129 {
frame 1 {
stop();
active = '0';
explosion._visible = '0';
obj._visible = '1';
}
frame 164 {
gotoAndStop(1);
}
}
movieClip 131 {
}
movieClip 132 {
frame 1 {
stop();
active = '0';
}
frame 164 {
gotoAndStop(1);
}
}
movieClip 134 {
}
movieClip 135 {
frame 1 {
active = '0';
stop();
}
frame 108 {
gotoAndStop(1);
}
}
movieClip 137 {
}
movieClip 138 {
frame 1 {
active = '0';
stop();
}
frame 210 {
gotoAndStop(1);
}
}
movieClip 140 {
}
movieClip 141 {
frame 1 {
active = '0';
stop();
}
frame 108 {
gotoAndStop(1);
}
}
movieClip 142 {
frame 1 {
stop();
}
frame 2 {
tellTarget ('/standings') {
ammo -= '1';
}
tellTarget ('/standings/ammoSym') {
gotoAndStop(/standings:ammo + '1');
}
/bullet._x = /bike._x;
/bullet._y = /bike._y;
}
frame 11 {
/bullet._x = '0';
/bullet._y = '-10';
tellTarget ('/bike/smoke') {
bulletActive = '0';
}
/bullet._visible = '1';
}
}
movieClip 145 {
}
movieClip 147 {
frame 1 {
stop();
}
frame 32 {
stop();
tellTarget ('/') {
gotoAndStop('loose');
}
}
}
frame 206 {
stop();
/street._visible = '1';
/standings._visible = '1';
tellTarget ('/bomb2') {
exploding = '0';
}
tellTarget ('/bomb1') {
exploding = '0';
}
tellTarget ('/bomb3') {
exploding = '0';
}
tellTarget ('/randomizer') {
play();
}
tellTarget ('/speeder') {
play();
}
tellTarget ('/bike/smoke') {
bulletActive = '0';
play();
}
tellTarget ('/bike') {
direction = '0';
gotoAndStop('middle');
}
tellTarget ('/lib') {
getKey = '1';
pause = '0';
}
tellTarget ('/standings/fuelMeter') {
gotoAndPlay(2);
}
tellTarget ('/standings/bikeSym') {
gotoAndStop(/standings:lifes + '1');
}
tellTarget ('/standings/paintSym') {
gotoAndStop(/standings:paintings + '1');
}
tellTarget ('/standings/ammoSym') {
gotoAndStop(/standings:ammo + '1');
}
/bike._x = '180';
/bike._y = '265';
tellTarget ('/standings') {
starttime = getTimer();
play();
}
tellTarget ('/standings/fuelMeter') {
play();
}
tellTarget ('/bomb1') {
exploding = '0';
}
tellTarget ('/bomb2') {
exploding = '0';
}
tellTarget ('/bomb3') {
exploding = '0';
}
}
frame 206 {
/bike._visible = '1';
}
frame 206 {
tellTarget ('/lorry') {
lethal = '1';
}
tellTarget ('/mini') {
lethal = '1';
}
tellTarget ('/bomb1') {
lethal = '1';
}
tellTarget ('/bomb2') {
lethal = '1';
}
tellTarget ('/bomb3') {
lethal = '1';
}
tellTarget ('/mercedes') {
lethal = '1';
}
}
button 148 {
on (keyPress '<Left>') {
if (/lib:getKey == '1') {
tellTarget ('bike') {
if (direction == '0') {
gotoAndStop('left');
direction = '0' - offset;
}
if (direction == offset) {
gotoAndStop('middle');
direction = '0';
}
}
}
}
on (keyPress '<Right>') {
if (/lib:getKey == '1') {
tellTarget ('bike') {
if (direction == '0') {
gotoAndStop('right');
direction = offset;
}
if (direction == '0' - offset) {
gotoAndStop('middle');
direction = '0';
}
}
}
}
on (keyPress '<Up>') {
if (/lib:getKey == '1' and '60' < /bike._y) {
tellTarget ('/bike') {
/bike._y = _y - offset;
}
}
}
on (keyPress '<Down>') {
if (/lib:getKey == '1' and /bike._y < '320') {
tellTarget ('/bike') {
/bike._y = _y + offset;
}
}
}
on (keyPress '<Space>') {
if ('0' < /standings:ammo and /bike/smoke:bulletActive == '0' and /lib:getKey == '1') {
tellTarget ('/bike/smoke') {
bulletActive = '1';
}
tellTarget ('/bullet') {
play();
}
}
}
on (keyPress 'p') {
if (/lib:pause == '0' and /lib:getKey == '1') {
tellTarget ('/lib') {
gotoAndStop('pause');
}
} else {
if (/lib:pause == '1' and /lib:getKey == '0') {
tellTarget ('/lib') {
gotoAndStop('unpause');
}
}
}
}
}
frame 213 {
tellTarget ('/standings') {
stop();
}
tellTarget ('/standings/fuelMeter') {
stop();
}
tellTarget ('/lib') {
myScore = /standings:score;
}
/street._visible = '0';
}
button 153 {
on (release) {
tellTarget ('/') {
gotoAndStop('start');
}
}
}
button 157 {
on (release) {
if (/lib._highquality == '0') {
toggleHighQuality();
tellTarget ('/lib') {
toggleQuality = '1';
}
}
tellTarget ('/') {
gotoAndStop('sendMail');
}
}
}
button 160 {
on (release) {
if (/lib._highquality == '0') {
toggleHighQuality();
tellTarget ('/lib') {
toggleQuality = '1';
}
}
tellTarget ('/') {
gotoAndStop('Menu');
}
}
}
frame 222 {
stop();
tellTarget ('/transmitter') {
score = /lib:myScore;
}
}
button 180 {
on (release) {
tellTarget ('/') {
gotoAndStop('start');
}
}
}
button 184 {
on (release) {
sum = '0';
count = '1';
string = /transmitter:player;
while (length(string) >= count) {
char = ord(substring(string, count, '1'));
sum += char * char * ('21' - count) * ('21' - count);
count += '1';
}
count = '1';
string = /transmitter:score;
while (length(string) >= count) {
char = ord(substring(string, count, '1'));
sum += char * char * ('21' - count) * ('21' - count);
count += '1';
}
tellTarget ('/transmitter') {
c = int(sum / '7');
}
getURL('http://inglobo.de/odcgame/highscores.jhtml', 'odchigh', 'GET');
tellTarget ('/') {
gotoAndStop('start');
}
}
}
movieClip 185 {
}
frame 231 {
stop();
gotoAndStop(156);
}