Frame 1
stop();
stop();
Instance of Symbol 254 MovieClip in Frame 1
on (press) {
getURL ("http://games.cublo.com", "_blank");
}
Frame 2
function setscreen(sc) {
var _local1 = sc;
if (_local1 == "back") {
loopb = true;
front[7]._visible = false;
while (loopb) {
loopb = false;
screen = backscreen[screencounter];
screencounter--;
if (screencounter <= 1) {
front[4].choice.gotoAndStop("new");
}
if ((screen == "about") or (screen == "help")) {
loopb = true;
}
}
} else if (_local1 == "reset") {
front[7]._visible = false;
screencounter = 0;
front[4].choice.gotoAndStop("new");
} else {
screencounter++;
backscreen[screencounter] = screen;
screen = _local1;
}
}
function useweapon(who) {
var _local1 = who;
if ((weaponcounter[_local1] >= 1) and (mode[_local1] == "ground")) {
weaponcounter[_local1]--;
if (weaponcounter[_local1] < 1) {
weaponface.gotoAndStop(1);
weapon[_local1] = null;
}
tracklength++;
obstacles.attachMovie("obstacle", tracklength, tracklength);
obstacles[tracklength].kind = weapon[_local1];
if (_local1 == human) {
obstacles[tracklength].human = true;
}
playsound("drop");
if (xvel[_local1] > 0) {
margin = -50;
} else {
margin = 20;
}
obstacles[tracklength]._x = (bikes[_local1]._x - obstacles._x) + margin;
obstacles[tracklength]._y = bikes[_local1]._y - obstacles._y;
}
}
function usextra(who) {
if (xtra[who] == "fuel") {
eval ("xtraloop" + who).onEnterFrame = function () {
if (!paused) {
if ((xtracounter[who] == 1) and (who == human)) {
playsound("accel");
damagebike(who, (0.08 + (engine[who] / 3)) * 5);
}
xtracounter[who]++;
bikes[who].chase.b.gotoAndStop("horse");
xvel[who] = xvel[who] * 1.05;
if (xtracounter[who] > 99) {
xtracounter[who] = 0;
bikes[who].chase.b.horse.gotoAndPlay("off");
delete eval ("xtraloop" + who).onEnterFrame;
}
}
};
} else if (xtra[who] == "repair") {
eval ("xtraloop" + who).onEnterFrame = function () {
if (!paused) {
xvel[who] = xvel[who] * 0.8;
damagebike(who, -0.1);
if (damage[who] < 1) {
delete eval ("xtraloop" + who).onEnterFrame;
}
}
};
}
}
function changemoney(much) {
money = money + much;
mymoney = "$" + money;
starsbox.gotoAndPlay(2);
}
function damagebike(which, much) {
damage[which] = damage[which] + (much + ((much * (4 - cauchomodel[which])) / 4));
if (which == human) {
heat.gotoAndStop(Math.floor(damage[which]));
if ((much > 0) and (damage[which] > 20)) {
if (damage[which] < 50) {
msg.txt = "HEATING!";
} else if (damage[which] < 70) {
msg.txt = "HEATING!";
} else if (damage[which] < 100) {
msg.txt = "OVERLOADING!";
} else if (damage[which] > 100) {
msg.txt = "ENGINE OVERLOADED!";
}
msg.gotoAndPlay(2);
}
}
if (damage[which] > 100) {
explodecounter[which] = 2;
eval ("xtraloop" + which).onEnterFrame = null;
mytrack[which] = bikes[which]._y;
yvel[which] = -15;
mode[which] = "falling";
keyb[which] = false;
}
}
function forcewinners() {
motorsnd.stop();
tosort = new Array();
winnerlist = new Array();
n = 1;
while (n <= muchbikes) {
tosort[n] = kilometer[n];
n++;
}
tosort.sort();
n = 1;
while (n <= muchbikes) {
s = 1;
while (s <= muchbikes) {
if (tosort[n] == kilometer[s]) {
winnerlist[n] = s;
}
s++;
}
n++;
}
n = 1;
while (n <= muchbikes) {
tosort[n] = winnerlist[(muchbikes - n) + 1];
n++;
}
muchwinners = muchbikes;
if (muchwinners > 3) {
muchwinners = 3;
}
while (arrived < muchwinners) {
arrived++;
f = 1;
while (f <= muchwinners) {
if (playerstate[tosort[f]] != "winner") {
winner[arrived] = tosort[f];
if (playerstate[tosort[f]] == "alive") {
myminutes = 0;
myseconds = Math.round((14 * (muchbikes + f)) + random(10));
if (myseconds > 60) {
myseconds = myseconds - 60;
if (myseconds < 10) {
myseconds = myseconds + "0";
}
myminutes++;
}
winnertime[arrived] = (((("0" + myminutes) + ":") + myseconds) + ":") + Math.round(Number(arrived * (random(7) + 10)));
} else {
if (bikers[tosort[f]] == bikers[human]) {
temphuman = bikers[human];
}
bikers[tosort[f]] = 7;
winnertime[arrived] = "99:99:99";
}
playerstate[tosort[f]] = "winner";
break;
}
f++;
}
}
screen = "winners";
front.play();
paused = true;
}
function savegame() {
saved.data.muchbikes = muchbikes;
saved.data.biker = bikers[human];
saved.data.saved = 1;
saved.data.caucho = caucho;
saved.data.motor = motor;
saved.data.engine = engine[human];
saved.data.cauchomodel = cauchomodel[human];
saved.data.weapon = weapon[human];
saved.data.weaponcounter = weaponcounter[human];
saved.data.xtra = xtra[human];
saved.data.money = money;
}
function loadgame() {
muchbikes = (human = saved.data.muchbikes);
bikers[human] = (models[human] = saved.data.biker);
caucho = saved.data.caucho;
motor = saved.data.motor;
engine[human] = saved.data.engine;
cauchomodel[human] = saved.data.cauchomodel;
weapon[human] = saved.data.weapon;
weaponcounter[human] = saved.data.weaponcounter;
xtra[human] = saved.data.xtra;
money = saved.data.money;
mymoney = "$" + money;
}
function murdered() {
if (murder == false) {
murder = true;
if (explodecounter[human] < 0) {
damagebike(human, 200);
}
if (winnercounter[human] > 0) {
winnercounter[human] = -10;
obstacles._x = obstacles._x + 2;
xvel[human] = xvel[human] * -10;
bikes[human]._x = bikes[human]._x - 10;
}
mafiamission = "failed";
paused = true;
mafia.play();
}
}
function soundbase(which) {
sndtrack.stop();
sndtrack = null;
sndtrack = new Sound(snd1);
sndtrack.attachSound(which);
sndtrack.setVolume(60);
sndtrack.start(0, 999999999);
}
function playsound(which) {
eventsound = null;
eventsound = new Sound(snd2);
eventsound.attachSound(which);
eventsound.start();
}
_quality = "LOW";
stop();
gravity = 1;
friction = 0.9;
bounce = 0.3;
human = 1;
motorstarted = false;
explodecounter = new Array();
fadebike = new Array();
cauchomodel = new Array();
motorkind = new Array();
engine = new Array();
xvel = new Array();
playerstate = new Array();
yvel = new Array();
bikelaps = new Array();
kilpercent = new Array();
kilometer = new Array();
mode = new Array();
mytrack = new Array();
bikers = new Array();
models = new Array();
rampcounter = new Array();
rotatecounter = new Array();
oilcounter = new Array();
tachuelascounter = new Array();
gumcenter = new Array();
gumcounter = new Array();
poisoncounter = new Array();
ongroundcounter = new Array();
mytrackcounter = new Array();
weapon = new Array();
weaponcounter = new Array();
xtra = new Array();
xtracounter = new Array();
xtracounter = new Array();
keyb = new Array();
damage = new Array();
muchbikes = 4;
n = 1;
while (n <= muchbikes) {
xvel[n] = 0.1;
engine[n] = 1;
cauchomodel[n] = 1;
motorkind = 1;
n++;
}
center = 300;
rightcenter = center + (center / 2);
leftcenter = center - (center / 2);
trackcounter = 0;
seconds = (minutes = (milliseconds = 0));
heat[n].model.gotoAndStop(1);
weaponitems = new Array();
weaponitems[0] = "blank";
weaponitems[1] = "banana";
weaponitems[2] = "tachuelas";
weaponitems[3] = "gum";
weaponitems[4] = "poison";
xtraitems = new Array();
xtraitems[0] = "blank";
xtraitems[1] = "repair";
xtraitems[2] = "fuel";
backscreen = new Array();
muchbikes = 2;
winnercounter = new Array();
winner = new Array();
winnertime = new Array();
arrived = 0;
obstaclekind = new Array();
obstaclekind[0] = "grass";
obstaclekind[1] = "jumper";
obstaclekind[2] = "oil";
obstaclekind[3] = "dumb";
obstaclekind[4] = "ramp";
obstaclekind[5] = "star";
motor = "motor1";
caucho = "caucho1";
tracklength = 10;
changemoney(150);
order = new Array();
saved = SharedObject.getLocal("sikidsrb");
score = saved.data.score;
playername = new Array();
playername[1] = "rocket dude";
playername[2] = "alien farm";
playername[3] = "red gallito";
playername[4] = "punk guy";
playername[5] = "blue elvis";
playername[6] = "evil clown";
motorsnd = new Sound(snd3);
motorsnd.attachSound("motorsnd");
function newgame() {
msg.txt = "START!";
msg.gotoAndPlay(2);
fondo.slide.gotoAndStop(random(fondo.slide._totalframes) + 1);
if (temphuman != null) {
bikers[human] = temphuman;
temphuman = null;
}
delete loop.onEnterFrame;
murder = false;
mafiamission = false;
sponsored = false;
minutes = (seconds = (milliseconds = 0));
n = 2;
while (n <= 1000) {
removeMovieClip(obstacles[n]);
n++;
}
n = 1;
while (n <= 4) {
removeMovieClip(bikes[n]);
n++;
}
liveplayers = muchbikes;
usejumper = (paused = false);
obstacles._x = 245;
obstacles.attachMovie("obstacle", 1, 1);
obstacles[1].gotoAndStop("meta");
obstacles[1].kind = "meta";
arrived = 0;
heat.gotoAndStop(1);
n = 2;
while (n <= 10) {
obstacles.attachMovie("obstacle", n, n);
obstacles[n].kind = obstaclekind[random(obstaclekind.length + 1)];
obstacles[n].gotoAndStop(obstacles[n].kind);
obstacles[n]._x = (obstacles[Number(n - 1)]._x + obstacles[Number(n - 1)]._width) + 150;
if (obstacles[n].kind == "jumper") {
if (usejumper) {
n--;
} else {
usejumper = true;
}
}
n++;
}
trackwidth = obstacles._width + 50;
laps = muchbikes * 2;
lap = ((trackwidth + (center * 2)) + 10) * laps;
temp = new Array();
temp[bikers[human]] = true;
bars[human].gotoAndStop(bikers[human]);
n = 1;
while (n <= 4) {
bars[n]._visible = false;
n++;
}
n = 1;
while (n <= muchbikes) {
playerstate[n] = "alive";
xvel[n] = 0;
keyb[n] = true;
damage[n] = 0;
winnercounter[n] = 0;
kilometer[n] = 0;
bars[n]._visible = true;
bikes.attachMovie("biker", n, n);
bikes[n]._x = 310;
mode[n] = "ground";
mytrack[n] = eval ("track" + n)._y;
bikes[n]._y = mytrack[n];
bars[n].light.dot.dot._xscale = (bars[n].light.dot.dot._yscale = 100);
if (n != human) {
engine[n] = ((engine[human] * 0.95) + (Math.random(5) / 10)) - (muchplayers / 50);
m = 0;
while (m == 0) {
newmodel = random(6) + 1;
if (!temp[newmodel]) {
temp[newmodel] = true;
m = 1;
bikers[n] = (models[n] = newmodel);
bars[n].gotoAndStop(newmodel);
bars[n].light.dot.dot._xscale = (bars[n].light.dot.dot._yscale = 80);
heat[n].model.gotoAndStop(newmodel);
cauchomodel[n] = 2;
xtra[n] = "fuel";
weaponcounter[n] = 1000;
}
}
}
n++;
}
xtraface.gotoAndStop(xtra[human]);
weaponface.gotoAndStop(weapon[human]);
engineface.gotoAndStop(motor);
cauchoface.gotoAndStop(caucho);
loop.onEnterFrame = function () {
if (!paused) {
milliseconds++;
if (milliseconds > 60) {
milliseconds = 0;
seconds++;
if (seconds > 60) {
seconds = 0;
minutes++;
if (minutes > 60) {
minutes = 0;
}
}
}
if (milliseconds < 10) {
showmilliseconds = "0" + milliseconds;
} else {
showmilliseconds = milliseconds;
}
if (seconds < 10) {
showseconds = "0" + seconds;
} else {
showseconds = seconds;
}
if (minutes < 10) {
showminutes = "0" + minutes;
} else {
showminutes = minutes;
}
showtime = (((showminutes + ":") + showseconds) + ":") + milliseconds;
if (keyb[human] != false) {
if (key.isDown(39)) {
xvel[human] = xvel[human] + engine[human];
bikes[human].gotoAndStop(1);
if (motorstarted == false) {
motorstarted = true;
motorsnd.start(0, 9999);
}
} else if (key.isDown(37)) {
if (kilometer[human] > -10) {
xvel[human] = xvel[human] - engine[human];
bikes[human].gotoAndStop(2);
if (motorstarted == false) {
motorstarted = true;
motorsnd.start(0, 9999);
}
}
} else {
motorstarted = false;
motorsnd.stop();
}
}
xvel[human] = xvel[human] * friction;
if (mode[human] == "ground") {
if (keyb[human] != false) {
if (key.isDown(38)) {
yvel[human] = yvel[human] - 0.9;
}
if (key.isDown(40)) {
yvel[human] = yvel[human] + 0.9;
}
}
yvel[human] = yvel[human] * (friction * friction);
bikes[human]._y = bikes[human]._y + yvel[human];
if (bikes[human]._y < track1._y) {
bikes[human]._y = track1._y;
yvel[human] = 0;
}
if (bikes[human]._y > track4._y) {
bikes[human]._y = track4._y;
yvel[human] = 0;
}
}
obstacles._x = obstacles._x - xvel[human];
back._x = back._x - (xvel[human] / 35);
fondo.slide.clouds._x = fondo.slide.clouds._x - (xvel[human] / 25);
if (((xvel[human] > 0) and (bikes[human]._x > leftcenter)) or ((xvel[human] < 0) and (bikes[human]._x < rightcenter))) {
bikes[human]._x = bikes[human]._x - (xvel[human] / 2);
}
if (xvel[human] < 0) {
if (obstacles._x > (center * 2)) {
obstacles._x = -trackwidth;
}
if (back._x > center) {
back._x = back._x - (back._width / 3);
}
if (fondo.slide.clouds._x > center) {
fondo.slide.clouds._x = fondo.slide.clouds._x - (fondo.slide.clouds._width / 3);
}
} else {
if (obstacles._x < (-trackwidth)) {
obstacles._x = (center * 2) + 10;
}
if (back._x < center) {
back._x = back._x + (back._width / 3);
}
if (fondo.slide.clouds._x < center) {
fondo.slide.clouds._x = fondo.slide.clouds._x + (fondo.slide.clouds._width / 3);
}
}
if ((((seconds > 14) and (sponsored == false)) and (muchbikes > 2)) and (damage[human] < 80)) {
paused = (sponsored = true);
mafia.gotoAndPlay(2);
}
healingcounter++;
if (healingcounter >= 15) {
healingcounter = 0;
b = 1;
while (b <= muchbikes) {
if ((damage[b] > 1) and (damage[b] < 100)) {
damagebike(b, -0.8);
}
if ((b != human) and (mode[b] == "ground")) {
temp = random(20);
if (temp == 0) {
weapon[b] = weaponitems[random(4) + 1];
useweapon(b);
} else if ((temp <= 2) and (damage[b] < 40)) {
usextra(b);
}
}
b++;
}
}
b = 1;
while (b <= muchbikes) {
bikes[b].swapDepths(bikes[b]._y);
bars[b].swapDepths(100 - kilpercent[b]);
kilometer[b] = kilometer[b] + xvel[b];
kilpercent[b] = Math.ceil((kilometer[b] * 100) / lap);
bars[b].light.gotoAndStop(kilpercent[b]);
if (((bikes[b]._x > obstacles._x) and (kilpercent[b] > 100)) and (winnercounter[b] < 1)) {
bikes[b].chase.b.gotoAndStop("trick");
winnercounter[b] = 1;
keyb[b] = false;
}
if (b != human) {
if (keyb[b] != false) {
xvel[b] = xvel[b] + engine[b];
}
xvel[b] = xvel[b] * friction;
bikes[b]._x = bikes[b]._x + (xvel[b] - xvel[human]);
if ((bikes[b]._x + obstacles._x) > (trackwidth + obstacles._x)) {
bikes[b]._x = bikes[b]._x - trackwidth;
}
if (bikes[b]._x < -100) {
bikes[b]._x = bikes[b]._x + trackwidth;
}
if ((mode[b] == "ground") and (keyb[b] != false)) {
if ((random(60) == 0) and (mytrackcounter[b] < 1)) {
mytrackcounter[b] = 1;
mytrack[b] = eval ("track" + Number(random(4) + 1))._y;
} else if (mytrackcounter[b] > 0) {
mytrackcounter[b]++;
bikes[b]._y = bikes[b]._y + ((mytrack[b] - bikes[b]._y) / 20);
if (mytrackcounter[b] > 20) {
mytrackcounter[b] = 0;
}
}
}
}
if (mode[b] == "falling") {
if (b == human) {
motorstarted = false;
motorsnd.stop();
}
bikes[b]._y = bikes[b]._y + yvel[b];
yvel[b] = yvel[b] + gravity;
bikes[b].chase.b._rotation = bikes[b].chase.b._rotation + Math.abs(xvel[b] / 30);
if (bikes[b]._y > mytrack[b]) {
bikes[b].chase.b._rotation = 0;
bikes[b]._y = mytrack[b];
if (yvel[b] > 7) {
bikes[b].chase.b.gotoAndPlay(1);
yvel[b] = (-yvel[b]) * bounce;
} else {
mode[b] = "ground";
yvel[b] = 0;
}
}
}
if (winnercounter[b] > 0) {
if (mafiamission == b) {
murdered();
}
if (b == human) {
if (winnercounter[b] == 3) {
playsound("newplayer");
}
if ((mafiamission != false) and (mafiamission != "served")) {
murdered();
}
_yscale = (_yscale + ((160 - _yscale) / 10));
_xscale = (_yscale + ((160 - _yscale) / 10));
_y = (_y + ((-90 - _y) / 10));
_x = (_x + ((-100 - _x) / 10));
}
bars[b]._visible = false;
bikes[b]._alpha = bikes[b]._alpha - 2;
winnercounter[b]++;
if (winnercounter[b] == 50) {
arrived++;
winner[arrived] = b;
winnertime[arrived] = showtime;
removeMovieClip(bikes[b]);
playerstate[b] = "winner";
mode[b] = "winner";
if (((arrived >= liveplayers) or (arrived >= 3)) or (b == human)) {
forcewinners();
}
}
} else if (explodecounter[b] > 0) {
keyb[b] = false;
explodecounter[b]++;
if (b == human) {
motorsnd.stop();
_yscale = (_yscale + ((160 - _yscale) / 10));
_xscale = (_yscale + ((160 - _yscale) / 10));
_y = (_y + ((-90 - _y) / 10));
_x = (_x + ((-100 - _x) / 10));
}
if (explodecounter[b] < 42) {
bars[b]._visible = false;
bikes[b].chase.b.explode.play();
bikes[b].chase.b.gotoAndStop("trick");
} else {
if (b == human) {
xtraface.gotoAndStop(1);
weaponface.gotoAndStop(1);
engineface.gotoAndStop(1);
cauchoface.gotoAndStop(1);
}
bikes[b].chase.b.gotoAndStop("explode");
if (explodecounter[b] == 150) {
if (mafiamission == b) {
mafiamission = "served";
changemoney(mafiareward);
paused = true;
mafia.gotoAndPlay(2);
}
if (((b == human) and (mafiamission != false)) and (mafiamission != "served")) {
murdered();
}
}
if (explodecounter[b] > 190) {
playerstate[b] = "exploited";
kilometer[b] = 0;
liveplayers--;
bikes[b]._visible = false;
explodecounter[b] = (kilometer[b] = 0);
if (b == human) {
xtra[human] = (weapon[human] = null);
cauchomodel[human] = (engine[human] = 1);
motor = "motor1";
caucho = "caucho1";
screen = "winners";
forcewinners();
}
if (liveplayers <= 1) {
forcewinners();
}
}
}
} else if (rampcounter[b] > 0) {
rampcounter[b]++;
if (xvel[b] > 0) {
xvel[b] = xvel[b] + 0.5;
} else {
xvel[b] = xvel[b] - 0.5;
}
if (rampcounter[b] > 45) {
rampcounter[b] = 0;
keyb[b] = true;
}
} else if (oilcounter[b] > 0) {
if (b == human) {
motorsnd.stop();
}
keyb[b] = false;
rotatecounter[b]++;
if (rotatecounter[b] > 2) {
rotatecounter[b] = 0;
if (bikes[b]._currentframe == 1) {
bikes[b].gotoAndStop(2);
} else {
bikes[b].gotoAndStop(1);
}
}
oilcounter[b]++;
if (oilcounter[b] > 10) {
oilcounter[b] = 0;
ongroundcounter[b] = 1;
}
} else if (tachuelascounter[b] > 0) {
if (b == human) {
motorsnd.stop();
}
tachuelascounter[b]++;
bikes[b].chase.b._rotation = bikes[b].chase.b._rotation - Math.abs(xvel[b] * 4);
bikes[b].chase.b.gotoAndStop("trick");
if (tachuelascounter[b] > 42) {
bikes[b]._rotation = 0;
tachuelascounter[b] = 0;
ongroundcounter[b] = 1;
}
} else if (gumcounter[b] > 0) {
bikes[b]._x = bikes[b]._x + xvel[b];
gumcounter[b]++;
yvel[b] = yvel[b] - 0.2;
bikes[b]._y = bikes[b]._y + yvel[b];
bikes[b].chase.b.gotoAndStop("gum");
if (bikes[b]._x < gumcenter[b]) {
xvel[b] = xvel[b] + 0.5;
} else {
xvel[b] = xvel[b] - 0.5;
}
bikes[b]._x = bikes[b]._x + xvel[b];
if (gumcounter[b] > 140) {
gumcounter[b] = 0;
yvel[b] = 0;
bikes[b]._y = mytrack[b] - 80;
mode[b] = "falling";
bikes[b].chase.b.gotoAndPlay(1);
bikes[b].stars.gotoAndPlay(2);
keyb[b] = true;
damagebike(b, 20);
}
} else if (ongroundcounter[b] > 0) {
if (b == human) {
motorsnd.stop();
}
keyb[b] = false;
bikes[b].chase.b.gotoAndStop("onground");
ongroundcounter[b]++;
if (ongroundcounter[b] > 60) {
mytrack[b] = bikes[b]._y;
bikes[b]._y = bikes[b]._y - 80;
mode[b] = "falling";
bikes[b].chase.b.gotoAndPlay(1);
bikes[b].stars.gotoAndPlay(2);
ongroundcounter[b] = 0;
}
} else if (poisoncounter[b] > 0) {
poisoncounter[b]++;
bikes[b].chase.b._rotation = bikes[b].chase.b._rotation - Math.abs(xvel[b] * 4);
bikes[b].chase.b.gotoAndStop("trick");
if (poisoncounter[b] > 62) {
bikes[b]._rotation = 0;
poisoncounter[b] = 0;
ongroundcounter[b] = 1;
}
}
o = 1;
while (o <= muchbikes) {
if (bikes[b]._x > -10) {
if (bikes[b].chase.b.front.hitTest(bikes[o].chase.b.back)) {
damagebike(b, 5);
oilcounter[b]++;
keyb[b] = false;
}
}
o++;
}
o = 1;
while (o <= tracklength) {
obspos = obstacles[o]._x + obstacles._x;
if ((obspos < -300) or (obspos > 700)) {
if ((obstacles[o]._x < 0) or (obstacles[o]._x > trackwidth)) {
obstacles[o].kind = "blank";
}
obstacles[o].gotoAndStop("blank");
} else {
kind = obstacles[o].kind;
obstacles[o].gotoAndStop(kind);
if (bikes[b]._x > -10) {
if ((mode[b] == "ground") and bikes[b].chase.b.front.hitTest(obstacles[o])) {
obstacles[o][kind].snd.play();
if (kind == "ramp") {
mytrack[b] = bikes[b]._y;
rampcounter[b]++;
yvel[b] = -17;
bikes[b]._y = bikes[b]._y + yvel[b];
bikes[b].chase.b._rotation = 325;
bikes[b].chase.b.gotoAndStop("trick");
mode[b] = "falling";
} else if (kind == "jumper") {
mytrack[b] = bikes[b]._y;
rampcounter[b]++;
xvel[b] = xvel[b] * 3;
yvel[b] = -20;
bikes[b]._y = bikes[b]._y + yvel[b];
bikes[b].chase.b._rotation = 325;
bikes[b].chase.b.gotoAndStop("trick");
mode[b] = "falling";
} else if (kind == "dumb") {
mytrack[b] = bikes[b]._y;
xvel[b] = xvel[b] * 0.3;
yvel[b] = -2;
bikes[b].chase.b._rotation = random(10) - 5;
mode[b] = "falling";
} else if (kind == "grass") {
xvel[b] = xvel[b] * 0.3;
yvel[b] = yvel[b] * 0.1;
} else if (kind == "oil") {
obstacles[o][kind].play();
damagebike(b, 1);
xvel[b] = xvel[b] * 1.1;
oilcounter[b] = 1;
keyb[b] = false;
} else if (kind == "star") {
if (bikes[b].chase.b.front.hitTest(obstacles[o].starbox.staranim.shadow)) {
obstacles[o].starbox.play();
if ((b == human) and (muchbikes > 1)) {
changemoney(10);
}
}
} else if (kind == "banana") {
damagebike(b, 15);
obstacles[o].kind = "blank";
obstacles[o].banana.play();
xvel[b] = xvel[b] * 1.1;
oilcounter[b] = 1;
keyb[b] = false;
if ((obstacles[o].human == true) and (b != human)) {
trace((b + " ") + human);
obstacles[o].human = false;
changemoney(5);
}
} else if (kind == "poison") {
if (bikes[b].chase.b.front.hitTest(obstacles[o].poison.box)) {
damagebike(b, 40);
mytrack[b] = bikes[b]._y;
xvel[b] = xvel[b] * -15;
yvel[b] = -20;
poisoncounter[b] = 1;
bikes[b].chase.b.desinfla.play();
mode[b] = "falling";
keyb[b] = false;
obstacles[o].poison.play(2);
if ((obstacles[o].human == true) and (n != human)) {
obstacles[o].human = false;
changemoney(20);
}
}
} else if (kind == "gum") {
obstacles[o].gum.play();
mytrack[b] = bikes[b]._y;
gumcenter[b] = bikes[b]._x - (xvel[b] * 2);
xvel[b] = xvel[b] * 0.3;
gumcounter[b] = 1;
keyb[b] = false;
mode[b] = "gum";
if ((obstacles[o].human == true) and (n != human)) {
obstacles[o].human = false;
changemoney(15);
}
} else if (kind == "tachuelas") {
obstacles[o].tachuelas.play();
damagebike(b, 20);
mytrack[b] = bikes[b]._y;
xvel[b] = xvel[b] * -2;
yvel[b] = -15;
tachuelascounter[b] = 1;
bikes[b].chase.b.desinfla.play();
mode[b] = "falling";
keyb[b] = false;
if ((obstacles[o].human == true) and (n != human)) {
obstacles[o].human = false;
changemoney(10);
}
}
}
}
}
o++;
}
b++;
}
}
};
}
Instance of Symbol 513 MovieClip "front" in Frame 2
onClipEvent (load) {
gotoAndPlay (23);
}
Symbol 26 MovieClip Frame 1
gotoAndStop(_root.models[Number(_parent._parent._parent._name)]);
Symbol 29 MovieClip Frame 1
stop();
Symbol 42 MovieClip Frame 1
gotoAndStop(_root.bikers[Number(_parent._parent._parent._name)]);
Symbol 55 MovieClip Frame 1
gotoAndStop(_root.bikers[Number(_parent._parent._parent._parent._parent._name)]);
Symbol 56 MovieClip Frame 25
stop();
Symbol 69 MovieClip Frame 1
gotoAndStop(_root.bikers[Number(_parent._parent._parent._parent._parent._name)]);
Symbol 70 MovieClip Frame 25
stop();
Symbol 84 MovieClip Frame 1
gotoAndStop(_root.bikers[Number(_parent._parent._parent._parent._parent._name)]);
Symbol 85 MovieClip Frame 25
stop();
Symbol 98 MovieClip Frame 1
gotoAndStop(_root.bikers[Number(_parent._parent._parent._parent._parent._name)]);
Symbol 99 MovieClip Frame 25
stop();
Symbol 112 MovieClip Frame 1
gotoAndStop(_root.bikers[Number(_parent._parent._parent._parent._parent._name)]);
Symbol 113 MovieClip Frame 25
stop();
Symbol 126 MovieClip Frame 1
gotoAndStop(_root.bikers[Number(_parent._parent._parent._parent._parent._name)]);
Symbol 127 MovieClip Frame 25
stop();
Symbol 128 MovieClip Frame 1
gotoAndStop(random(_totalframes + 1));
Symbol 130 MovieClip Frame 1
gotoAndStop(_root.models[Number(_parent._parent._parent._parent._name)]);
Symbol 133 MovieClip Frame 1
gotoAndStop(_root.bikers[Number(_parent._parent._parent._parent._name)]);
Symbol 135 MovieClip Frame 60
stop();
Symbol 137 MovieClip Frame 1
gotoAndStop(_root.models[Number(_parent._parent._parent._parent._name)]);
Symbol 138 MovieClip Frame 1
gotoAndStop(_root.bikers[Number(_parent._parent._parent._parent._name)]);
Symbol 142 MovieClip Frame 1
gotoAndPlay(random(_totalframes) + 1);
Symbol 142 MovieClip Frame 11
gotoAndPlay (2);
Symbol 143 MovieClip Frame 100
gotoAndPlay(_currentframe - 1);
Symbol 143 MovieClip Frame 133
_parent.gotoAndPlay(1);
Instance of Symbol 147 MovieClip in Symbol 148 MovieClip Frame 13
onClipEvent (enterFrame) {
if (this.hitTest(_root.game.raptor)) {
_root.game.raptor.escudo.play();
}
}
Symbol 148 MovieClip Frame 21
stop();
Symbol 149 MovieClip Frame 120
stop();
Symbol 150 MovieClip Frame 1
if (oscille == null) {
oscille = 0;
dir = random(2);
}
if (dir == 1) {
if (oscille < 4) {
oscille = oscille + 0.4;
} else {
dir = 0;
}
} else if (oscille > -4) {
oscille = oscille - 0.4;
} else {
dir = 0;
}
Symbol 150 MovieClip Frame 32
gotoAndPlay (1);
Symbol 159 MovieClip Frame 1
gotoAndStop(random(_totalframes) + 2);
Symbol 160 MovieClip Frame 2
_root.keyb[_parent._name] = false;
_parent.gotoAndStop(1);
_parent.chase._visible = false;
Symbol 160 MovieClip Frame 3
_parent.chase._visible = true;
Symbol 160 MovieClip Frame 4
_parent.chase._visible = false;
Symbol 160 MovieClip Frame 5
_parent.chase._visible = true;
Symbol 160 MovieClip Frame 6
_parent.chase._visible = false;
Symbol 160 MovieClip Frame 7
_parent.chase._visible = true;
Symbol 160 MovieClip Frame 8
_parent.chase._visible = false;
Symbol 160 MovieClip Frame 9
_parent.chase._visible = true;
Symbol 160 MovieClip Frame 10
_parent.chase._visible = false;
Symbol 160 MovieClip Frame 11
_parent.chase._visible = true;
Symbol 160 MovieClip Frame 12
_parent.chase._visible = false;
Symbol 160 MovieClip Frame 13
_parent.chase._visible = true;
Symbol 160 MovieClip Frame 14
_parent.chase._visible = false;
Symbol 160 MovieClip Frame 15
_parent.chase._visible = true;
Symbol 160 MovieClip Frame 16
_parent.chase._visible = false;
Symbol 160 MovieClip Frame 17
_parent.chase._visible = true;
Symbol 160 MovieClip Frame 18
_parent.chase._visible = false;
Symbol 160 MovieClip Frame 19
_parent.chase._visible = true;
Symbol 160 MovieClip Frame 20
_parent.chase._visible = false;
Symbol 160 MovieClip Frame 21
_parent.chase._visible = true;
Symbol 160 MovieClip Frame 22
_parent.chase._visible = false;
Symbol 160 MovieClip Frame 23
_parent.chase._visible = true;
Symbol 160 MovieClip Frame 24
_parent.chase._visible = false;
Symbol 160 MovieClip Frame 25
_parent.chase._visible = true;
Symbol 160 MovieClip Frame 26
_parent.chase._visible = false;
Symbol 160 MovieClip Frame 27
_parent.chase._visible = true;
Symbol 160 MovieClip Frame 28
_parent.chase._visible = false;
Symbol 160 MovieClip Frame 29
_parent.chase._visible = true;
Symbol 160 MovieClip Frame 30
_parent.chase._visible = false;
Symbol 160 MovieClip Frame 31
_parent.chase._visible = true;
Symbol 160 MovieClip Frame 32
_parent.chase._visible = false;
Symbol 160 MovieClip Frame 33
_parent.chase._visible = true;
Symbol 160 MovieClip Frame 59
_root.keyb[_parent._name] = true;
stop();
Symbol 161 MovieClip [biker] Frame 1
stop();
Symbol 166 MovieClip Frame 1
stop();
Symbol 169 MovieClip Frame 1
if (_parent.mykind == null) {
_parent.mykind = random(_totalframes) + 2;
}
gotoAndStop(_parent.mykind);
Symbol 172 MovieClip Frame 1
stop();
Symbol 173 MovieClip Frame 1
if (_parent.mykind == null) {
_parent.mykind = random(_totalframes) + 2;
}
gotoAndStop(_parent.mykind);
Symbol 177 MovieClip Frame 1
stop();
Symbol 177 MovieClip Frame 16
stop();
_parent.kind = "blank";
Symbol 182 MovieClip Frame 1
stop();
Symbol 185 MovieClip Frame 1
stop();
Symbol 185 MovieClip Frame 21
stop();
_parent.kind = "blank";
Symbol 189 MovieClip Frame 1
stop();
Symbol 192 MovieClip Frame 1
if (_parent.mykind == null) {
_parent.mykind = random(_totalframes) + 2;
}
gotoAndStop(_parent.mykind);
Symbol 201 MovieClip Frame 1
stop();
Symbol 201 MovieClip Frame 39
stop();
Symbol 203 MovieClip Frame 1
stop();
Symbol 206 MovieClip Frame 1
if (_parent.mykind == null) {
_parent.mykind = random(_totalframes) + 2;
}
gotoAndStop(_parent.mykind);
Symbol 210 MovieClip Frame 1
stop();
Symbol 210 MovieClip Frame 16
stop();
_parent.kind = "blank";
Symbol 216 MovieClip Frame 1
stop();
stop();
Symbol 216 MovieClip Frame 20
stop();
_parent.kind = "blank";
Symbol 219 MovieClip [obstacle] Frame 1
stop();
Symbol 219 MovieClip [obstacle] Frame 9
stop();
Symbol 219 MovieClip [obstacle] Frame 17
stop();
Symbol 219 MovieClip [obstacle] Frame 26
stop();
Symbol 219 MovieClip [obstacle] Frame 34
stop();
oil._y = -random(90);
Symbol 219 MovieClip [obstacle] Frame 40
stop();
Symbol 219 MovieClip [obstacle] Frame 50
stop();
Symbol 219 MovieClip [obstacle] Frame 57
stop();
starbox._y = -random(90);
Symbol 219 MovieClip [obstacle] Frame 66
stop();
Symbol 219 MovieClip [obstacle] Frame 76
stop();
Symbol 219 MovieClip [obstacle] Frame 87
stop();
Symbol 219 MovieClip [obstacle] Frame 96
stop();
Symbol 249 MovieClip Frame 1
stop();
Symbol 254 MovieClip Frame 1
_root.stop();
Instance of Symbol 252 MovieClip "bar" in Symbol 254 MovieClip Frame 136
onClipEvent (load) {
this.onEnterFrame = function () {
var _local1 = _root;
porcentaje = (_local1.getBytesLoaded() * 100) / _local1.getBytesTotal();
gotoAndStop(Math.ceil(_currentframe + ((porcentaje - _currentframe) / 5)));
c = 0;
if ((_currentframe == 100) and (_local1.getBytesLoaded() == _local1.getBytesTotal())) {
_parent.play();
}
};
}
Symbol 254 MovieClip Frame 167
stop();
Symbol 254 MovieClip Frame 181
_root.play();
stop();
Symbol 261 MovieClip Frame 1
stop();
Symbol 262 MovieClip Frame 1
stop();
Symbol 262 MovieClip Frame 71
stop();
Symbol 269 MovieClip Frame 1
stop();
Symbol 292 MovieClip Frame 1
stop();
Symbol 298 MovieClip Frame 1
stop();
Symbol 304 MovieClip Frame 1
stop();
Symbol 304 MovieClip Frame 101
stop();
Symbol 308 MovieClip Frame 1
stop();
Symbol 309 MovieClip Frame 1
stop();
Symbol 317 MovieClip Frame 2
_root.setscreen("logo");
_parent.play();
Symbol 340 Button
on (press) {
_root.screen = "numplayers";
_y = (_y + 2);
}
on (release, releaseOutside) {
_y = (_y - 2);
play();
}
Symbol 343 Button
on (press) {
_root.screen = "help";
_y = (_y + 2);
}
on (release, releaseOutside) {
_y = (_y - 2);
play();
}
Symbol 345 MovieClip Frame 2
_root.front[7]._visible = false;
_root.screencounter = 0;
_root.front[4].choice.gotoAndStop("new");
_root.score = 0;
Symbol 345 MovieClip Frame 114
_parent._parent.shownav = true;
if (_root.screen == _parent.screen) {
stop();
}
Symbol 345 MovieClip Frame 165
_parent.gotoAndStop(_root.screen);
Symbol 359 MovieClip Frame 1
gotoAndPlay(60 - (_parent._name * 10));
Symbol 359 MovieClip Frame 90
stop();
Symbol 361 MovieClip Frame 50
stop();
Symbol 363 Button
on (press) {
_root.setscreen("store");
_root.bikers[_root.human] = (_root.models[_root.human] = _name);
_root.stars[_root.human] = 100;
_root.mystars = "x" + _root.stars[_root.human];
_parent.play();
}
Symbol 370 MovieClip Frame 1
gotoAndStop(_name);
myname = _root.playername[_name].toUpperCase();
Symbol 371 MovieClip Frame 20
pos = new Array();
n = 1;
while (n <= 6) {
pos[n] = eval (n)._x;
n++;
}
this.onEnterFrame = function () {
n = 1;
while (n <= 6) {
if (eval (n).hitTest(_root._xmouse, _root._ymouse, true)) {
eval (n)._x = eval (n)._x + Math.ceil(((pos[n] + 10) - eval (n)._x) / 10);
} else {
eval (n)._x = eval (n)._x + Math.floor((pos[n] - eval (n)._x) / 10);
}
n++;
}
};
if (_root.screen == _parent.screen) {
stop();
_root.front[4].choice.gotoAndStop("back");
}
Symbol 371 MovieClip Frame 42
_parent.gotoAndStop(_root.screen);
Symbol 379 MovieClip Frame 1
stop();
Symbol 384 MovieClip Frame 1
stop();
Symbol 390 MovieClip Frame 1
stop();
Symbol 394 MovieClip Frame 1
stop();
Symbol 396 MovieClip Frame 1
_alpha = 0;
stop();
Symbol 396 MovieClip Frame 2
_alpha = 0;
Symbol 396 MovieClip Frame 3
_alpha = 0;
Symbol 396 MovieClip Frame 4
_alpha = 0;
Symbol 396 MovieClip Frame 5
_alpha = 0;
Symbol 396 MovieClip Frame 6
_alpha = 0;
Symbol 397 MovieClip Frame 6
stop();
Symbol 400 Button
on (rollOver) {
if (_name == 0) {
_parent.nextFrame();
this.onEnterFrame = function () {
var _local1 = _parent;
if (!_local1.hitTest(_root._xmouse, _root._ymouse, true)) {
_local1.chosen = false;
_local1.prevFrame();
this.onEnterFrame = null;
}
};
} else if (price._currentframe == 1) {
price.gotoAndStop("buy");
}
_parent._parent._parent.description.gotoAndStop(_parent._name);
if (_name != 0) {
_parent._parent._parent.description.item.gotoAndStop(Number(_name) + 1);
price._visible = true;
if (_parent[0]._currentframe == _currentframe) {
price.gotoAndStop("used");
} else if (price.price > _root.money) {
price.gotoAndStop("nomoney");
}
}
}
on (rollOut) {
if (price._currentframe == 1) {
price._visible = false;
}
_parent._parent._parent.description.gotoAndStop(1);
}
Symbol 401 MovieClip Frame 1
stop();
Symbol 403 Button
on (press) {
if (_name == 0) {
_parent.nextFrame();
this.onEnterFrame = function () {
var _local1 = _parent;
if (!_local1.hitTest(_root._xmouse, _root._ymouse, true)) {
_local1.chosen = false;
_local1.prevFrame();
this.onEnterFrame = null;
}
};
} else if ((price._currentframe == 1) and (tapa._visible != true)) {
price.gotoAndStop("buy");
}
}
on (rollOver) {
_parent._parent._parent.description.gotoAndStop(_parent._name);
if (_name != 0) {
if (tapa._visible != true) {
_parent._parent._parent.description.item.gotoAndStop(Number(_name) + 1);
price._visible = true;
if (price.price > _root.money) {
price.gotoAndStop("nomoney");
}
}
}
}
on (rollOut) {
if (price._currentframe == 1) {
price._visible = false;
}
_parent._parent._parent.description.gotoAndStop(1);
}
Symbol 411 Button
on (press) {
_root.changemoney(-price);
_parent._parent[0].gotoAndStop(_parent._currentframe);
_parent._parent._parent.starsbox.gotoAndPlay(2);
_parent._parent.setchanges(_parent._name);
gotoAndStop (4);
}
Symbol 415 Button
on (press) {
this.onEnterFrame = null;
gotoAndStop (1);
}
Symbol 416 MovieClip Frame 1
_visible = false;
stop();
Symbol 416 MovieClip Frame 2
this.onEnterFrame = function () {
if (!this.hitTest(_root._xmouse, _root._ymouse, true)) {
gotoAndStop (1);
this.onEnterFrame = null;
}
};
b.useHandCursor = false;
Symbol 416 MovieClip Frame 3
this.onEnterFrame = function () {
if (!this.hitTest(_root._xmouse, _root._ymouse, true)) {
gotoAndStop (1);
this.onEnterFrame = null;
}
};
b.useHandCursor = false;
Symbol 416 MovieClip Frame 4
this.onEnterFrame = function () {
if (!this.hitTest(_root._xmouse, _root._ymouse, true)) {
gotoAndStop (1);
this.onEnterFrame = null;
}
};
b.useHandCursor = false;
Symbol 418 MovieClip Frame 1
stop();
Symbol 419 MovieClip Frame 1
stop();
Symbol 419 MovieClip Frame 2
n = 1;
while (n <= 5) {
if (n >= items.length) {
eval (n)._visible = false;
} else {
eval (n).gotoAndStop(items[n]);
eval (n).price.price = prices[n];
eval (n).price.showprice = "$" + prices[n];
trace("and frame is" + eval (n)._currentframe);
if (eval (n)._currentframe != eval (0)._currentframe) {
eval (n).tapa._visible = false;
}
}
n++;
}
trace("and frame is" + eval (n)._currentframe);
Instance of Symbol 419 MovieClip "wheels" in Symbol 420 MovieClip Frame 1
onClipEvent (load) {
function setchanges(which) {
var _local1 = _root;
_local1.caucho = "caucho" + which;
_local1.cauchomodel[_local1.human] = which;
}
items = new Array();
items[0] = "caucho1";
items[1] = "caucho1";
items[2] = "caucho2";
items[3] = "caucho3";
prices = new Array();
prices[1] = 10;
prices[2] = 55;
prices[3] = 200;
if (_root.caucho == "null") {
setchanges(1);
}
eval (0).gotoAndStop(_root.caucho);
}
Instance of Symbol 419 MovieClip "engines" in Symbol 420 MovieClip Frame 1
onClipEvent (load) {
function setchanges(which) {
var _local1 = _root;
_local1.motor = "motor" + which;
_local1.engine[_local1.human] = 1 + ((which - 1) / 30);
}
items = new Array();
items[0] = "motor1";
items[1] = "motor1";
items[2] = "motor2";
items[3] = "motor3";
prices = new Array();
prices[1] = 10;
prices[2] = 60;
prices[3] = 300;
if (_root.motor == "null") {
setchanges(1);
}
eval (0).gotoAndStop(_root.motor);
}
Instance of Symbol 419 MovieClip "weapons" in Symbol 420 MovieClip Frame 1
onClipEvent (load) {
function setchanges(which) {
var _local1 = _root;
_local1.weapon[_local1.human] = items[which];
_local1.weaponcounter[_local1.human] = 9;
}
items = new Array();
items[0] = "blank";
items[1] = "banana";
items[2] = "tachuelas";
items[3] = "gum";
items[4] = "poison";
prices = new Array();
n = 1;
while (n <= 5) {
prices[n] = n * 20;
n++;
}
eval (0).gotoAndStop(_root.weapon[_root.human]);
}
Instance of Symbol 419 MovieClip "xtras" in Symbol 420 MovieClip Frame 1
onClipEvent (load) {
function setchanges(which) {
var _local1 = _root;
_local1.xtra[_local1.human] = items[which];
_local1.xtrauses[_local1.human] = 5;
}
items = new Array();
items[0] = "blank";
items[2] = "repair";
items[1] = "fuel";
prices = new Array();
prices[1] = 40;
prices[2] = 100;
eval (0).gotoAndStop(_root.xtra[_root.human]);
}
Symbol 421 Button
on (rollOver) {
description.gotoAndStop("stars");
}
on (rollOut) {
description.gotoAndStop(1);
}
Symbol 422 Button
on (press) {
_root.screen = "winners";
_root.front.play();
_root.front.section = 7;
_y = (_y + 2);
}
on (release, releaseOutside) {
_y = (_y - 2);
play();
}
Symbol 424 MovieClip Frame 1
description.onEnterFrame = function () {
description._alpha = description._alpha + ((100 - description._alpha) / 5);
};
b.useHandCursor = false;
Symbol 425 MovieClip Frame 21
if (_root.screen == _parent.screen) {
stop();
_root.front[4].choice.gotoAndStop("back");
_root.front[7]._visible = true;
}
Symbol 425 MovieClip Frame 43
_parent.gotoAndStop(_root.screen);
Symbol 426 Button
on (keyPress "z") {
with (_root) {
useweapon(human);
}
}
on (keyPress "x") {
with (_root) {
usextra(human);
}
}
on (keyPress "<Space>") {
with (_root) {
if ((!paused) and (mode[human] == "ground")) {
playsound("frenazo");
mytrack[human] = bikes[human]._y;
yvel[human] = -6;
xvel[human] = xvel[human] * 0.3;
mode[human] = "falling";
bikes[human].chase.b._rotation = bikes[human].chase.b._rotation + 12;
}
}
}
on (keyPress "1") {
with (_root) {
if (cheat > 3) {
damagebike(1, 200);
}
}
}
on (keyPress "2") {
with (_root) {
if (cheat > 3) {
damagebike(2, 200);
}
}
}
on (keyPress "3") {
with (_root) {
if (cheat > 3) {
damagebike(3, 200);
}
}
}
on (keyPress "4") {
with (_root) {
if (cheat > 3) {
damagebike(4, 200);
}
}
}
on (keyPress "m") {
with (_root) {
if (cheat > 3) {
changemoney(human, 1);
}
}
}
on (keyPress "6") {
with (_root) {
cheat++;
}
}
Symbol 428 Button
on (press) {
_root.muchbikes = 2;
_root.screencounter = 0;
_parent.play();
_parent.section = 7;
_y = (_y + 2);
}
on (release, releaseOutside) {
_y = (_y - 2);
}
Symbol 433 Button
on (press) {
_root.muchbikes = 1;
_root.screencounter = 0;
_parent.play();
_y = (_y + 2);
}
on (release, releaseOutside) {
_y = (_y - 2);
}
Symbol 435 Button
on (press) {
_root.muchbikes = 3;
_root.screencounter = 0;
_parent.play();
_parent.section = 7;
_y = (_y + 2);
}
on (release, releaseOutside) {
_y = (_y - 2);
}
Symbol 437 Button
on (press) {
_root.muchbikes = 4;
_root.screencounter = 0;
_parent.play();
_y = (_y + 2);
}
on (release, releaseOutside) {
_y = (_y - 2);
}
Symbol 441 MovieClip Frame 20
stop();
_root.front[4].choice.gotoAndStop("back");
_root.screen = "pickplayer";
Symbol 441 MovieClip Frame 42
_root.cauchomodel[_root.muchbikes] = _root.cauchomodel[_root.human];
_root.engine[_root.muchbikes] = _root.engine[_root.human];
_root.weapon[_root.muchbikes] = _root.weapon[_root.human];
_root.xtra[_root.muchbikes] = _root.xtra[_root.human];
_root.weaponcounter[_root.muchbikes] = _root.weaponcounter[_root.human];
_root.human = _root.muchbikes;
_parent.gotoAndStop(_root.screen);
Symbol 446 Button
on (rollOver) {
color.gotoAndStop(2);
}
on (rollOut) {
color.gotoAndStop(1);
}
Symbol 448 MovieClip Frame 1
stop();
Symbol 459 MovieClip Frame 1
b.useHandCursor = false;
gotoAndStop(_name);
Symbol 464 MovieClip Frame 1
b.useHandCursor = false;
Symbol 465 Button
on (press) {
_root.screen = "numplayers";
_y = (_y + 2);
}
on (release, releaseOutside) {
_y = (_y - 2);
play();
}
Symbol 467 MovieClip Frame 20
if (_root.screen == _parent.screen) {
stop();
_root.front[4].choice.gotoAndStop("back");
}
Symbol 467 MovieClip Frame 42
_parent.gotoAndStop(_root.screen);
Symbol 486 MovieClip Frame 1
me = Number(_name);
gotoAndStop(me);
if (me > _root.muchbikes) {
_visible = false;
}
time = _root.winnertime[_name];
icon.gotoAndStop(_root.bikers[_root.winner[_name]]);
payment = Math.round(((_root.muchbikes - me) * 25) / Number(_name));
reward = "$" + payment;
if ((_root.winner[_name] == _root.human) and (_root.muchbikes > 1)) {
_root.changemoney(payment);
_root.score = _root.score + (_root.money * 100);
}
Symbol 493 Button
on (press) {
_root.screen = "numplayers";
_parent.play();
_parent._y = _parent._y + 2;
}
on (release, releaseOutside) {
_parent._y = _parent._y - 2;
}
Symbol 495 Button
on (release) {
_root.screen = "yourname";
_parent.play();
}
Symbol 497 Button
on (press) {
_root.screen = "store";
_parent.play();
_parent._y = _parent._y + 2;
}
on (release, releaseOutside) {
_parent._y = _parent._y - 2;
}
Symbol 498 MovieClip Frame 1
if (_root.score > 900) {
stop();
}
Symbol 498 MovieClip Frame 2
stop();
Symbol 500 MovieClip Frame 20
if (_root.screen == _parent.screen) {
stop();
}
Symbol 500 MovieClip Frame 42
_parent.gotoAndStop("numplayers");
Symbol 504 Button
on (press) {
trace("screenname=" + screenname);
if (screenname == "") {
if (msg == "WRITE YOUR NAME HERE") {
msg = "PLEASE WRITE YOUR NAME";
} else {
msg = "WRITE YOUR NAME HERE";
}
} else {
points = int(_root.score);
mykey = points;
if (Number(mykey) < 1) {
mykey = 0;
}
key1 = substring(mykey, 0, 1);
key2 = substring(mykey, length(mykey), 1);
key3 = Number(key1) + Number(key2);
safety = key1 add key3;
trace("safety is " + safety);
getURL ((((("http://cgi2.sikids.com/servlet/com.sikids.servlet.HighScores?key=" + safety) + "&game=rocketbike&name=") + screenname) + "&score=") + points);
msg = " THANK YOU!";
_root.score = 0;
_root.screen = "logo";
play();
}
}
Symbol 510 MovieClip Frame 1
screenname = "";
Symbol 510 MovieClip Frame 20
if (_root.screen == _parent.screen) {
stop();
}
Symbol 510 MovieClip Frame 42
_parent.gotoAndStop(_root.screen);
Symbol 511 MovieClip Frame 1
gotoAndStop(_root.screen);
screen = "logo";
Symbol 511 MovieClip Frame 11
screen = "pickplayer";
Symbol 511 MovieClip Frame 23
screen = "store";
_root.front[7]._visible = true;
Symbol 511 MovieClip Frame 32
screen = "numplayers";
Symbol 511 MovieClip Frame 46
screen = "help";
Symbol 511 MovieClip Frame 56
screen = "winners";
Symbol 511 MovieClip Frame 67
screen = "yourname";
Symbol 513 MovieClip Frame 2
_root.fondo.gotoAndPlay("fadeout");
_root.pause = true;
Symbol 513 MovieClip Frame 17
_root._xscale = (_root._yscale = 100);
_root._x = (_root._y = 0);
Symbol 513 MovieClip Frame 23
if (_root.screen == null) {
stop();
}
Symbol 513 MovieClip Frame 24
_root.soundbase("soundtrack");
Symbol 513 MovieClip Frame 74
stop();
Symbol 513 MovieClip Frame 75
n = 1;
while (n <= 7) {
x[n] = x[n] - (200 * i[n]);
n++;
}
Symbol 513 MovieClip Frame 106
_root.fondo.gotoAndPlay("fadein");
delete this.onEnterFrame;
if (section == 7) {
_root.newgame();
}
_root.sndtrack.stop();
Symbol 513 MovieClip Frame 128
stop();
_root.soundbase("motospasando");
Symbol 522 MovieClip Frame 1
gotoAndPlay(random(_totalframes));
Symbol 534 MovieClip Frame 28
talkcounter++;
if (talkcounter < 12) {
gotoAndPlay(random(_totalframes));
} else {
stop();
_parent.menu._visible = true;
}
Symbol 537 Button
on (press, keyPress "y") {
_root.mafiamission = killtarget;
_root.mafiareward = reward;
_parent.mob.talkcounter = 0;
_parent.mob.play();
_parent.play();
gotoAndStop ("yes");
}
Symbol 539 Button
on (press, keyPress "n") {
_parent.mob.talkcounter = 0;
_parent.mob.play();
_parent.play();
gotoAndStop ("no");
}
Symbol 542 Button
on (press, keyPress "n") {
mob.talkcounter = 0;
mob.play();
msg.gotoAndStop("no");
play();
}
Symbol 547 MovieClip Frame 1
if (_root.mafiamission == "served") {
gotoAndPlay ("served");
} else if (_root.mafiamission == "failed") {
gotoAndPlay ("failed");
} else {
if (random(10) == 0) {
gotoAndStop (2);
}
stop();
killtarget = false;
while (killtarget == false) {
killtarget = random(_root.muchbikes - 1) + 1;
if ((_root.playerstate[killtarget] != "alive") or (killtarget == _root.human)) {
killtarget = false;
}
}
reward = Number((_root.liveplayers - 1) * 20);
offer = ((("WE WILL GIVE YOU $" + reward) + " to get ") + _root.playername[_root.bikers[killtarget]]) + " out of the road. Is that OK?";
offer = offer.toUpperCase();
offerbox.autoSize = "left";
offerbox._x = Math.round(77 - (offerbox._width / 2));
}
Symbol 547 MovieClip Frame 2
killtarget = _root.human;
Symbol 547 MovieClip Frame 39
_root.mafiamission = false;
_parent.play();
stop();
Symbol 547 MovieClip Frame 66
_parent.play();
_root.keyb[_root.human] = true;
_root.bikes[_root.human].chase.b.gotoAndStop(1);
stop();
Symbol 548 MovieClip Frame 50
stop();
Symbol 549 MovieClip Frame 1
stop();
Symbol 549 MovieClip Frame 2
_root.soundbase("mafia");
_root.motorsnd.stop();
Symbol 549 MovieClip Frame 16
_root._xscale = (_root._yscale = 100);
_root._x = (_root._y = 0);
Symbol 549 MovieClip Frame 30
stop();
Symbol 549 MovieClip Frame 138
_root.mafiasnd.stop();
Symbol 549 MovieClip Frame 153
_root.paused = false;
_root.sponsored = true;
gotoAndStop (1);
_root.soundbase("motospasando");