Instance of Symbol 34 MovieClip in Frame 1
onClipEvent (load) {
totalWidth = _width;
}
onClipEvent (enterFrame) {
percent = _parent.getBytesLoaded() / _parent.getBytesTotal();
_parent.perc = (percent * 100) + "%";
_width = (percent * totalWidth);
if ((percent * 100) >= 100) {
_parent.nextFrame();
} else {
_parent.stop();
}
}
Frame 2
stop();
stopAllSounds();
Frame 3
stop();
Frame 4
function writeData(g) {
GameArray = new Array();
mark = new Array();
mark[0] = 0;
variable = new Array();
b = 0;
t = 0;
while (t <= g.length) {
if (g.charAt(t) == "`") {
b++;
mark[b] = t;
variable[b] = g.substring(mark[b - 1] + 1, mark[b]);
}
t++;
}
i = 0;
while (i <= (_root.GAME_DATA.length - 1)) {
if (variable[i + 1] == "true") {
variable[i + 1] = true;
} else if (variable[i + 1] == "false") {
variable[i + 1] = false;
}
if (isNaN(variable[i + 1])) {
_root[_root.GAME_DATA[i]] = variable[i + 1];
} else {
_root[_root.GAME_DATA[i]] = Math.pow(variable[i + 1], 1);
}
i++;
}
if (_root.loanMoney > 0) {
_root.payLoan = true;
}
_root.daysAddOn = 1;
_root.soundChecker.gotoAndPlay("check");
}
function readData() {
_root.GAME_DATA = new Array("goodEncode", "version", "autoSound", "timeToPlaySniper", "lastTimePlayedTrivia", "intDays", "days", "daysAddOn", "whereAmI", "userhp", "bodypower", "power", "hpMax", "userIntel", "workLevel", "playerWanted", "payDayMoney", "weatherreport", "weather[0]", "weather[1]", "weather[2]", "weather[3]", "weather[4]", "weather[5]", "weather[6]", "weather[7]", "money", "scrollup._visible", "Bernsteinpaid", "sub.holdsouteneur._visible", "sub.holdsedan._visible", "sub.holdslippers._visible", "sub.holdnike._visible", "sub.holdbike._visible", "sub.holdskate._visible", "slotplayed", "carKills", "guyKills", "stickHighScore", "gunLicense", "playsound", "bankMoney", "bankRate", "dvdCapacity", "numDVDs", "loanMoney", "loanRate", "loanDate", "payLoan", "loanDeadLine", "myPlace", "speed", "flying", "userName", "gunequipped", "itemequipped", "BernsteinPaid", "MackDead", "BossMission", "BossCompletion", "pabloMission", "pabloCompletion", "karateTrained", "sub.diehard", "sub.userdiehard", "sub.matrix", "sub.usermatrix", "sub.jtok", "sub.userjtok", "sub.fightclub", "sub.userfightclub", "sub.findnemo", "sub.userfindnemo", "sub.braveheart", "sub.userbraveheart", "sub.godfather", "sub.usergodfather", "sub.dumb", "sub.userdumb", "sub.pulpfiction", "sub.userpulpfiction", "Nobankrobmoney", "Sobankrobmoney", "Eubankrobmoney", "Afbankrobmoney", "Asbankrobmoney", "Mibankrobmoney", "Anbankrobmoney", "jailMission", "xLocation", "yLocation", "rpgCharge", "rpgHeal");
GameDataString = "";
b = 0;
while (b <= _root.GAME_DATA.length) {
GameDataString = GameDataString + (eval (_root.GAME_DATA[b]) + "`");
b++;
}
return(GameDataString);
}
version = "1.0";
xLocation = 250;
yLocation = 400;
autoSound = true;
rpgCharge = false;
rpgHeal = false;
Nobankrobmoney = 10000;
Sobankrobmoney = 2000;
Eubankrobmoney = 8000;
Afbankrobmoney = 1000;
Asbankrobmoney = 3000;
Mibankrobmoney = 5000;
Anbankrobmoney = 100000 /* 0x0186A0 */;
goodEncode = "Success";
userName = "Danny";
gunequipped = "paperclip";
itemequipped = "slippers";
_root.BernsteinPaid = false;
_root.MackDead = false;
_root.BossMission = false;
_root.BossCompletion = false;
_root.pabloMission = false;
_root.pabloCompletion = false;
_root.karateTrained = false;
_root.jailMission = false;
slotplayed = 0;
carKills = 0;
guyKills = 0;
stickHighScore = 0;
gunLicense = false;
playsound = true;
bankMoney = 0;
bankRate = 2;
dvdCapacity = 500;
numDVDs = 0;
loanMoney = 2000;
loanRate = 2;
loanDate = 4;
payLoan = true;
loanDeadLine = true;
myPlace = 1;
speed = 4;
flying = false;
sub.holdak47._visible = false;
sub.holdg3._visible = false;
sub.holdm4a1._visible = false;
sub.holdUSP._visible = false;
sub.holdeagle._visible = false;
sub.holdvz61._visible = false;
sub.holdmp5._visible = false;
sub.holdawp._visible = false;
sub.holdslippers._visible = false;
sub.holdnike._visible = false;
sub.holdbike._visible = false;
sub.holdskate._visible = false;
sub.holdsedan._visible = false;
sub.holdsouteneur._visible = false;
Bernsteinpaid = false;
scrollup._visible = false;
money = 2000;
weather = Array(7);
weatherreport = "";
payDayMoney = 0;
playerWanted = false;
workLevel = 0;
userIntel = 1;
hpMax = 100;
power = 1;
bodypower = 1;
userhp = 100;
whereAmI = "North America";
newsreport = "Day: 0\nWelcome to the game! Each day the world news will be reported here!";
daysAddOn = 1;
days = 0;
intDays = 0;
lastTimePlayedTrivia = 0;
timeToPlaySniper = 1;
sub._visible = true;
BernsteinMoney = 1000000 /* 0x0F4240 */;
doctorcost = 100;
bigevent = false;
desc = "STICKWORLD V.1.0\n\nRELEAST NOTES: http://www.k2xl.com/games/Stick World.doc \nAIM: Scratchfromstart\nEmail: K2xL@K2xL.com\nMSN: Softfade@hotmail.com";
gotoAndPlay (5);
function shootBullet(x, y, angle) {
if (eval ("bullet" + bulletAmount)._alpha >= 0) {
bulletAmount++;
}
attachMovie("bullet", "bullet" + bulletAmount, bulletAmount);
eval ("bullet" + bulletAmount)._x = x;
eval ("bullet" + bulletAmount)._y = y;
eval ("bullet" + bulletAmount).angle = angle;
}
function wantedCheck() {
if (_root.loanDeadLine) {
return(true);
}
}
function makeWeather(firsttime) {
forecast = "";
m = 0;
while (m <= 7) {
if (firsttime) {
_root.weather[m] = _root.skies();
} else if (m >= 7) {
_root.weather[m] = _root.skies();
} else {
_root.weather[m] = _root.weather[m + 1];
}
forecast = forecast + (((("Day " + ((_root.intDays + m) + 1)) + "\t") + _root.weather[m]) + newline);
m++;
}
return(forecast);
}
function skies() {
w = random(10) + 1;
if (w == 1) {
x = "rain";
} else if (w == 2) {
x = "thunderstorms";
} else if (w == 3) {
x = "cloudy";
} else if (w == 4) {
x = "sunny";
} else if (w >= 5) {
x = "normal";
}
return(x);
}
_root.sub.trivi.Easy.totalQuestions = 0;
_root.sub.trivi.Medium.totalQuestions = 0;
_root.sub.trivi.Hard.totalQuestions = 0;
bulletAmount = 0;
enemyPower = 100;
USPpower = 10;
USPzoomfactor = 0;
USPammo = 14;
USPauto = false;
mp5power = 50;
mp5zoomfactor = 0;
mp5ammo = 40;
mp5auto = true;
m4a1power = 85;
m4a1zoomfactor = 1000;
m4a1ammo = 30;
m4a1auto = true;
eaglepower = 90;
eaglezoomfactor = 0;
eagleammo = 6;
eagleauto = false;
ak47power = 80;
ak47zoomfactor = 500;
ak47ammo = 35;
ak47auto = true;
vz61power = 20;
vz61zoomfactor = 0;
vz61ammo = 60;
vz61auto = false;
g3power = 60;
g3zoomfactor = 1500;
g3ammo = 40;
g3auto = true;
awppower = 200;
awpzoomfactor = 2000;
awpammo = 2;
awpauto = false;
paperclippower = 1;
paperclipzoomfactor = 0;
paperclipammo = 200;
slippersspeed = 5;
nikespeed = 7;
skatespeed = 9;
bikespeed = 12;
sedanspeed = 15;
souteneurspeed = 30;
Math.formatDecimals = function (num, digits) {
if (digits <= 0) {
return(Math.round(num));
}
var _local4 = Math.pow(10, digits);
var _local2 = String(Math.round(num * _local4) / _local4);
if (_local2.indexOf(".") == -1) {
_local2 = _local2 + ".0";
}
var _local6 = _local2.split(".");
var _local3 = digits - _local6[1].length;
var _local1 = 1;
while (_local1 <= _local3) {
_local2 = _local2 + "0";
_local1++;
}
return(_local2);
};
Nokillsneeded = 20;
Nopoliceshotchance = 2;
Nopoliceshotpower = 1.5;
Nobankjailtime = 5;
Nobankmove = 3;
Nobankrate = 0.05;
Sokillsneeded = 22;
Sopoliceshotchance = 3;
Sopoliceshotpower = 2;
Sobankjailtime = 3;
Sobankmove = 2;
Sobankrate = 0.002;
Eukillsneeded = 20;
Eupoliceshotchance = 3;
Eupoliceshotpower = 2;
Eubankjailtime = 6;
Eubankmove = 1;
Eubankrate = 0.008;
Afkillsneeded = 21;
Afpoliceshotchance = 3;
Afpoliceshotpower = 0.5;
Afbankjailtime = 1;
Afbankmove = 1;
Afbankrate = 0.001;
Askillsneeded = 17;
Aspoliceshotchance = 2;
Aspoliceshotpower = 0.2;
Asbankjailtime = 5;
Asbankmove = 1;
Asbankrate = 0.004;
Ankillsneeded = 10;
Anpoliceshotchance = 4;
Anpoliceshotpower = 0.1;
Anbankjailtime = 15;
Anbankmove = 1;
Anbankrate = 0.1;
Mikillsneeded = 19;
Mipoliceshotchance = 4;
Mipoliceshotpower = 2;
Mibankjailtime = 10;
Mibankmove = 2;
Mibankrate = 0.006;
fscommand ("showmenu", false);
Instance of Symbol 2362 MovieClip "sub" in Frame 4
onClipEvent (load) {
}
Instance of Symbol 2448 MovieClip in Frame 4
onClipEvent (enterFrame) {
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
nextFrame();
} else {
prevFrame();
}
}
Frame 5
_root.createEasyQuestion = function (question, choice1, choice2, choice3, choice4, answer, techguy, bookguy, tvguy) {
_root.sub.trivi.Easy.totalQuestions++;
questionNum = _root.sub.trivi.Easy.totalQuestions;
_root.sub.trivi.Easy["question" + questionNum] = question;
_root.sub.trivi.Easy[("question" + questionNum) + "choiceA"] = choice1;
_root.sub.trivi.Easy[("question" + questionNum) + "choiceB"] = choice2;
_root.sub.trivi.Easy[("question" + questionNum) + "choiceC"] = choice3;
_root.sub.trivi.Easy[("question" + questionNum) + "choiceD"] = choice4;
_root.sub.trivi.Easy[("question" + questionNum) + "techguy"] = techguy;
_root.sub.trivi.Easy[("question" + questionNum) + "bookguy"] = bookguy;
_root.sub.trivi.Easy[("question" + questionNum) + "tvguy"] = tvguy;
_root.sub.trivi.Easy[("question" + questionNum) + "answer"] = answer;
};
_root.createMediumQuestion = function (question, choice1, choice2, choice3, choice4, answer, techguy, bookguy, tvguy) {
_root.sub.trivi.Medium.totalQuestions++;
questionNum = _root.sub.trivi.Medium.totalQuestions;
_root.sub.trivi.Medium["question" + questionNum] = question;
_root.sub.trivi.Medium[("question" + questionNum) + "choiceA"] = choice1;
_root.sub.trivi.Medium[("question" + questionNum) + "choiceB"] = choice2;
_root.sub.trivi.Medium[("question" + questionNum) + "choiceC"] = choice3;
_root.sub.trivi.Medium[("question" + questionNum) + "choiceD"] = choice4;
_root.sub.trivi.Medium[("question" + questionNum) + "techguy"] = techguy;
_root.sub.trivi.Medium[("question" + questionNum) + "bookguy"] = bookguy;
_root.sub.trivi.Medium[("question" + questionNum) + "tvguy"] = tvguy;
_root.sub.trivi.Medium[("question" + questionNum) + "answer"] = answer;
};
_root.createHardQuestion = function (question, choice1, choice2, choice3, choice4, answer, techguy, bookguy, tvguy) {
_root.sub.trivi.Hard.totalQuestions++;
questionNum = _root.sub.trivi.Hard.totalQuestions;
_root.sub.trivi.Hard["question" + questionNum] = question;
_root.sub.trivi.Hard[("question" + questionNum) + "choiceA"] = choice1;
_root.sub.trivi.Hard[("question" + questionNum) + "choiceB"] = choice2;
_root.sub.trivi.Hard[("question" + questionNum) + "choiceC"] = choice3;
_root.sub.trivi.Hard[("question" + questionNum) + "choiceD"] = choice4;
_root.sub.trivi.Hard[("question" + questionNum) + "techguy"] = techguy;
_root.sub.trivi.Hard[("question" + questionNum) + "bookguy"] = bookguy;
_root.sub.trivi.Hard[("question" + questionNum) + "tvguy"] = tvguy;
_root.sub.trivi.Hard[("question" + questionNum) + "answer"] = answer;
};
stop();
Frame 43
stop();
Instance of Symbol 6 MovieClip in Symbol 7 MovieClip [bullet] Frame 1
onClipEvent (load) {
this._rotation = (_parent.angle * 180) / Math.PI;
}
onClipEvent (enterFrame) {
if (int(z) == 0) {
z = 0;
}
z++;
if ((z > (30 + bspeed2)) && (z < (70 + bspeed2))) {
this._alpha = this._alpha - 2;
}
if (z == (100 + bspeed2)) {
_parent._x = 0;
_root.bulletAmount--;
removeMovieClip(_parent);
this._alpha = 0;
}
}
onClipEvent (enterFrame) {
k = 1;
while (k <= 10) {
if (hitTest(_root.sub.moveIt["badguy" + k])) {
removeMovieClip(_parent);
_root.sub.moveIt["badguy" + k].gotoAndStop("dead");
}
k++;
}
}
Symbol 15 MovieClip Frame 15
gotoAndPlay (5);
Symbol 20 MovieClip Frame 15
if (_root.wantedCheck()) {
if (_root.sub.moveIt.theStickMan._currentframe <= 5) {
_root.userhp = _root.userhp - random(10);
}
}
Symbol 25 MovieClip [badguyX] Frame 1
foot1.play();
foot2.play();
Symbol 25 MovieClip [badguyX] Frame 3
foot1.stop();
foot2.stop();
Symbol 25 MovieClip [badguyX] Frame 5
nextFrame();
Symbol 27 MovieClip [badguy] Frame 1
foot1.play();
foot2.play();
Symbol 27 MovieClip [badguy] Frame 3
foot1.stop();
foot2.stop();
Symbol 27 MovieClip [badguy] Frame 5
nextFrame();
_root.money = _root.money + 1;
Symbol 38 MovieClip Frame 1
saya = "LOADING 5 MB";
Symbol 38 MovieClip Frame 3
gotoAndPlay (1);
Symbol 48 Button
on (release) {
gotoAndPlay (3);
}
Symbol 61 Button
on (release) {
gotoAndPlay (2);
}
Symbol 66 Button
on (release) {
gotoAndPlay (9040);
}
Symbol 74 Button
on (release) {
_root.nextFrame();
}
Symbol 75 MovieClip Frame 1
stop();
Symbol 75 MovieClip Frame 9055
stop();
Symbol 122 MovieClip Frame 1
gotoAndStop([_root.whereAmI]);
if (_root.flying) {
_root.soundChecker.gotoAndStop("check");
}
Symbol 127 Button
on (release) {
_root.gotoAndPlay(1);
}
Symbol 130 Button
on (release) {
gotoAndPlay ("explore");
}
Symbol 133 Button
on (release) {
gotoAndPlay ("credits");
}
Symbol 139 Button
on (release) {
gotoAndStop ("saveGame");
}
Symbol 143 Button
on (release) {
gotoAndStop ("help");
}
Symbol 145 Button
on (release) {
gotoAndPlay ("mailform");
}
Symbol 185 Button
on (release) {
getURL ("http://www.k2xlgames.com/games/StickWorld", "_blank");
}
Symbol 187 MovieClip Frame 1
stop();
Symbol 187 MovieClip Frame 15
stop();
Instance of Symbol 191 MovieClip in Symbol 192 MovieClip Frame 1
onClipEvent (load) {
fullwidth = _width;
}
onClipEvent (enterFrame) {
percent = _root.userhp / _root.hpMax;
this._width = percent * fullwidth;
}
Symbol 206 MovieClip Frame 1
stop();
Instance of Symbol 205 MovieClip in Symbol 206 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.userhp > _root.hpMax) {
_root.userhp = _root.hpMax;
}
_root.userhp = Math.pow(_root.userhp, 1);
_root.days = Math.pow(Math.formatDecimals(_root.days, 1), 1);
_root.daysInt = Math.floor(_root.days);
_parent.mamoney = "Money: $" + Math.formatDecimals(_root.money, 2);
_parent.madays = "Days: " + _root.days;
_parent.mapower = "Gun Power: " + _root.power;
_parent.mahp = "HP: " + _root.userhp;
_parent.maspeed = "Speed: " + _root.speed;
_parent.magun = "Weapon Equipped: " + _root.gunequipped;
_parent.maitem = "Transport: " + _root.itemequipped;
_parent.where = "Location: " + _root.whereAmI;
_parent.madvdCapacity = (("DVD Capactiy: " + _root.numDVDs) + "/") + _root.dvdCapacity;
_parent.maIntel = "Intel: " + _root.userIntel;
_parent.mabodyPower = "Strength: " + _root.bodypower;
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
_root.sub.topbar.coverhead.nextFrame();
_parent._alpha = 100;
} else {
_parent._alpha = 50;
_root.sub.topbar.coverhead.prevFrame();
}
}
Symbol 206 MovieClip Frame 2
gotoAndPlay (1);
Symbol 219 Button
on (release) {
whattoBuy = "diehard";
_root.sub.buyMenu.gotoAndPlay("buy");
}
Symbol 221 Button
on (release) {
whattoBuy = "matrix";
_root.sub.buyMenu.gotoAndPlay("buy");
}
Symbol 223 Button
on (release) {
whattoBuy = "jtok";
_root.sub.buyMenu.gotoAndPlay("buy");
}
Symbol 225 Button
on (release) {
whattoBuy = "fightclub";
_root.sub.buyMenu.gotoAndPlay("buy");
}
Symbol 227 Button
on (release) {
whattoBuy = "findnemo";
_root.sub.buyMenu.gotoAndPlay("buy");
}
Symbol 229 Button
on (release) {
whattoBuy = "godfather";
_root.sub.buyMenu.gotoAndPlay("buy");
}
Symbol 231 Button
on (release) {
whattoBuy = "braveheart";
_root.sub.buyMenu.gotoAndPlay("buy");
}
Symbol 233 Button
on (release) {
whattoBuy = "dumb";
_root.sub.buyMenu.gotoAndPlay("buy");
}
Symbol 235 Button
on (release) {
whattoBuy = "pulpfiction";
_root.sub.buyMenu.gotoAndPlay("buy");
}
Symbol 250 Button
on (release) {
whattoSell = "diehard";
_root.sub.buyMenu.gotoAndPlay("sell");
}
Symbol 252 Button
on (release) {
whattoSell = "matrix";
_root.sub.buyMenu.gotoAndPlay("sell");
}
Symbol 254 Button
on (release) {
whattoSell = "jtok";
_root.sub.buyMenu.gotoAndPlay("sell");
}
Symbol 256 Button
on (release) {
whattoSell = "fightclub";
_root.sub.buyMenu.gotoAndPlay("sell");
}
Symbol 258 Button
on (release) {
whattoSell = "findnemo";
_root.sub.buyMenu.gotoAndPlay("sell");
}
Symbol 260 Button
on (release) {
whattoSell = "braveheart";
_root.sub.buyMenu.gotoAndPlay("sell");
}
Symbol 262 Button
on (release) {
whattoSell = "godfather";
_root.sub.buyMenu.gotoAndPlay("sell");
}
Symbol 264 Button
on (release) {
whattoSell = "dumb";
_root.sub.buyMenu.gotoAndPlay("sell");
}
Symbol 266 Button
on (release) {
whattoSell = "pulpfiction";
_root.sub.buyMenu.gotoAndPlay("sell");
}
Symbol 272 Button
on (release) {
gotoAndStop (1);
}
Symbol 277 Button
on (release) {
gotoAndPlay ("check");
}
on (keyPress "<Enter>") {
gotoAndPlay ("check");
}
Symbol 279 MovieClip Frame 1
a = _root.sub.dvdmenu.whattoBuy;
priceofdvd = _root.sub[a];
x = _root.money;
c = 0;
_root.sub.buyMenu.afford = Math.floor(_root.money / priceofdvd);
canBuy = _root.dvdCapacity - _root.numDVDs;
if (_root.sub.buyMenu.afford > canBuy) {
_root.sub.buyMenu.afford = canBuy;
}
gotoAndPlay ("stopit");
Symbol 279 MovieClip Frame 3
c++;
gotoAndPlay ("stopit");
Symbol 279 MovieClip Frame 4
stop();
Symbol 283 MovieClip Frame 1
a = _root.sub.buyMenu.quan.length;
if ((_root.sub.buyMenu.quan.substring(a - 1, a) == "<") || (_root.sub.buyMenu.quan.substring(a - 1, a) == ">")) {
_root.sub.buyMenu.quan = _root.sub.buyMenu.quan.substring(0, a - 1);
}
if ((_root.sub.buyMenu.quan.substring(a - 1, a) == ".") || (_root.sub.buyMenu.quan.substring(a - 1, a) == " ")) {
_root.sub.buyMenu.quan = _root.sub.buyMenu.quan.substring(0, a - 1);
}
Symbol 283 MovieClip Frame 2
a = _root.sub.buyMenu.quan.length;
if ((_root.sub.buyMenu.quan.substring(a - 1, a) == "<") || (_root.sub.buyMenu.quan.substring(a - 1, a) == ">")) {
_root.sub.buyMenu.quan = _root.sub.buyMenu.quan.substring(0, a - 1);
}
if ((_root.sub.buyMenu.quan.substring(a - 1, a) == ".") || (_root.sub.buyMenu.quan.substring(a - 1, a) == " ")) {
_root.sub.buyMenu.quan = _root.sub.buyMenu.quan.substring(0, a - 1);
}
Symbol 287 Button
on (release) {
gotoAndPlay ("check2");
}
on (keyPress "<Enter>") {
gotoAndPlay ("check2");
}
Symbol 290 MovieClip Frame 1
stop();
Symbol 290 MovieClip Frame 2
stop();
Symbol 290 MovieClip Frame 3
if (quan == 0) {
error = "What kind of stuff are you trying to pull?";
gotoAndPlay ("purchase");
} else if (int(quan) <= 0) {
error = "Are you crazy?";
gotoAndPlay ("purchase");
} else if (quan > afford) {
error = "Can't buy that much!";
gotoAndPlay ("purchase");
} else {
a = _root.sub.dvdmenu.whattoBuy;
_root.sub["user" + a] = _root.sub["user" + a] + int(quan);
_root.numDVDs = _root.numDVDs + int(quan);
_root.money = _root.money - (_root.sub[a] * quan);
_root.sub.madvdCapacity = (("DVD Capactiy: " + _root.numDVDs) + "/") + _root.dvdCapacity;
gotoAndPlay (1);
}
Symbol 290 MovieClip Frame 4
afford = 0;
gotoAndPlay (2);
error = "";
affordcheck.gotoAndPlay(1);
Symbol 290 MovieClip Frame 10
a = _root.sub.dvdmenu2.whattoSell;
dvdhave = _root.sub["user" + a];
error = " ";
Symbol 290 MovieClip Frame 11
stop();
Symbol 290 MovieClip Frame 12
afford = 0;
if (int(quan) == 0) {
error = "What kind of stuff are you trying to pull?";
gotoAndPlay ("backsell");
} else if (int(quan) <= 0) {
error = "Are you crazy?";
gotoAndPlay ("backsell");
} else if (quan > dvdhave) {
error = "Don't have that much fool!";
gotoAndPlay ("backsell");
} else {
a = _root.sub.dvdmenu2.whattoSell;
_root.sub["user" + a] = _root.sub["user" + a] - int(quan);
_root.numDVDs = _root.numDVDs - int(quan);
_root.money = _root.money + (_root.sub[a] * quan);
_root.sub.madvdCapacity = (("DVD Capactiy: " + _root.numDVDs) + "/") + _root.dvdCapacity;
gotoAndPlay (1);
}
Symbol 296 Button
on (release) {
gotoAndStop ("dvdstore");
}
Symbol 299 Button
on (release) {
_root.sub.gotoAndPlay("maina");
}
Symbol 305 Button
on (release) {
gotoAndPlay ("stickAvalanche");
}
Symbol 308 Button
on (release) {
gotoAndPlay ("targetPractice");
}
Symbol 311 Button
on (release) {
_root.sub.gotoAndPlay("explore");
}
Symbol 318 Button
on (release) {
if (_root.money >= 100) {
_root.daysAddOn = _root.daysAddOn + 0.3;
stopAllSounds();
diff = 100;
_root.money = _root.money - 100;
gotoAndPlay (2);
} else {
error = "Not enough cash buddy";
}
}
Symbol 319 Button
on (release) {
gotoAndPlay ("instruct");
}
Symbol 320 Button
on (release) {
gotoAndPlay ("highscore");
}
Symbol 325 Button
on (release) {
getURL ("http://k2xl.com/games/scores.php", "new");
}
Symbol 329 Button
on (release) {
_root.sub.theArcadeMenu.gotoAndPlay(1);
}
Symbol 337 MovieClip Frame 1
stop();
Symbol 337 MovieClip Frame 5
_root.sub.theArcadeMenu.theStickAvalanche.hp--;
_root.sub.theArcadeMenu.theStickAvalanche.thecircle.gotoAndPlay("death");
Symbol 341 MovieClip Frame 149
gotoAndPlay (30);
Symbol 346 MovieClip Frame 1
_root.sub.theArcadeMenu.theStickAvalanche.scoregiver.stop();
Symbol 348 Button
on (keyPress "<Space>") {
Mouse.show();
_root.sub.theArcadeMenu.theStickAvalanche.gotoAndPlay("end");
}
Symbol 352 MovieClip Frame 100
stop();
Symbol 353 MovieClip Frame 10
stop();
Symbol 360 MovieClip Frame 65
stop();
Symbol 366 MovieClip Frame 30
stop();
Symbol 367 MovieClip Frame 10
stop();
Symbol 369 MovieClip Frame 65
stop();
Symbol 371 MovieClip Frame 10
stop();
Symbol 376 MovieClip Frame 30
stop();
Symbol 377 MovieClip Frame 11
stop();
Symbol 381 MovieClip Frame 40
stop();
Symbol 382 MovieClip Frame 9
stop();
Symbol 393 MovieClip Frame 50
stop();
Symbol 394 MovieClip Frame 1
factor = 10;
deathtimes = 7;
_root.sub.theArcadeMenu.theStickAvalanche.StickDead = true;
_root.sub.theArcadeMenu.theStickAvalanche.scoregiver.gotoAndPlay("done");
_root.sub.theArcadeMenu.theStickAvalanche.hider1._visible = true;
_root.sub.theArcadeMenu.theStickAvalanche.endgame._visible = true;
_root.sub.theArcadeMenu.theStickAvalanche.hider._visible = false;
Mouse.show();
_root.sub.theArcadeMenu.theStickAvalanche.enemy0.stop();
_root.sub.theArcadeMenu.theStickAvalanche.enemy0._alpha = factor;
_root.sub.theArcadeMenu.theStickAvalanche.enemy1.stop();
_root.sub.theArcadeMenu.theStickAvalanche.enemy1._alpha = factor;
_root.sub.theArcadeMenu.theStickAvalanche.enemy2.stop();
_root.sub.theArcadeMenu.theStickAvalanche.enemy2._alpha = factor;
_root.sub.theArcadeMenu.theStickAvalanche.enemy3.stop();
_root.sub.theArcadeMenu.theStickAvalanche.enemy3._alpha = factor;
_root.sub.theArcadeMenu.theStickAvalanche.enemy4.stop();
_root.sub.theArcadeMenu.theStickAvalanche.enemy4._alpha = factor;
_root.sub.theArcadeMenu.theStickAvalanche.enemy5.stop();
_root.sub.theArcadeMenu.theStickAvalanche.enemy5._alpha = factor;
_root.sub.theArcadeMenu.theStickAvalanche.enemy6.stop();
_root.sub.theArcadeMenu.theStickAvalanche.enemy6._alpha = factor;
_root.sub.theArcadeMenu.theStickAvalanche.enemy7.stop();
_root.sub.theArcadeMenu.theStickAvalanche.enemy7._alpha = factor;
_root.sub.theArcadeMenu.theStickAvalanche.enemy8.stop();
_root.sub.theArcadeMenu.theStickAvalanche.enemy8._alpha = factor;
_root.sub.theArcadeMenu.theStickAvalanche.enemy9.stop();
_root.sub.theArcadeMenu.theStickAvalanche.enemy9._alpha = factor;
_root.sub.theArcadeMenu.theStickAvalanche.enemy10.stop();
_root.sub.theArcadeMenu.theStickAvalanche.enemy10._alpha = factor;
_root.sub.theArcadeMenu.theStickAvalanche.enemy11.stop();
_root.sub.theArcadeMenu.theStickAvalanche.enemy11._alpha = factor;
_root.sub.theArcadeMenu.theStickAvalanche.enemy12.stop();
_root.sub.theArcadeMenu.theStickAvalanche.enemy12._alpha = factor;
_root.sub.theArcadeMenu.theStickAvalanche.enemy13.stop();
_root.sub.theArcadeMenu.theStickAvalanche.enemy13._alpha = factor;
_root.sub.theArcadeMenu.theStickAvalanche.enemy14.stop();
_root.sub.theArcadeMenu.theStickAvalanche.enemy14._alpha = factor;
_root.sub.theArcadeMenu.theStickAvalanche.enemy15.stop();
_root.sub.theArcadeMenu.theStickAvalanche.enemy15._alpha = factor;
_root.sub.theArcadeMenu.theStickAvalanche.scorebonus2.stop();
_root.sub.theArcadeMenu.theStickAvalanche.scorebonus2._alpha = factor;
_root.sub.theArcadeMenu.theStickAvalanche.scorebonus3.stop();
_root.sub.theArcadeMenu.theStickAvalanche.scorebonus3._alpha = factor;
_root.sub.theArcadeMenu.theStickAvalanche.scorebonus4.stop();
_root.sub.theArcadeMenu.theStickAvalanche.scorebonus4._alpha = factor;
_root.sub.theArcadeMenu.theStickAvalanche.scorebonus5.stop();
_root.sub.theArcadeMenu.theStickAvalanche.scorebonus5._alpha = factor;
_root.sub.theArcadeMenu.theStickAvalanche.scorebonus6.stop();
_root.sub.theArcadeMenu.theStickAvalanche.scorebonus6._alpha = factor;
_root.sub.theArcadeMenu.theStickAvalanche.scorebonus7.stop();
_root.sub.theArcadeMenu.theStickAvalanche.scorebonus7._alpha = factor;
_root.sub.theArcadeMenu.theStickAvalanche.scorebonus8.stop();
_root.sub.theArcadeMenu.theStickAvalanche.scorebonus8._alpha = factor;
_root.sub.theArcadeMenu.theStickAvalanche.scorebonus9.stop();
_root.sub.theArcadeMenu.theStickAvalanche.scorebonus9._alpha = factor;
_root.sub.theArcadeMenu.theStickAvalanche.scorebonus10.stop();
_root.sub.theArcadeMenu.theStickAvalanche.scorebonus10._alpha = factor;
_root.sub.theArcadeMenu.theStickAvalanche.scorebonus11.stop();
_root.sub.theArcadeMenu.theStickAvalanche.scorebonus11._alpha = factor;
_root.sub.theArcadeMenu.theStickAvalanche.scorebonus12.stop();
_root.sub.theArcadeMenu.theStickAvalanche.scorebonus12._alpha = factor;
_root.sub.theArcadeMenu.theStickAvalanche.scorebonus13.stop();
_root.sub.theArcadeMenu.theStickAvalanche.scorebonus13._alpha = factor;
_root.sub.theArcadeMenu.theStickAvalanche.scorebonus14.stop();
_root.sub.theArcadeMenu.theStickAvalanche.scorebonus14._alpha = factor;
_root.sub.theArcadeMenu.theStickAvalanche.scorebonus15.stop();
_root.sub.theArcadeMenu.theStickAvalanche.scorebonus15._alpha = factor;
gotoAndPlay(random(deathtimes) + 1);
Symbol 394 MovieClip Frame 2
stop();
_root.sub.theArcadeMenu.theStickAvalanche.scoregiver.gotoAndPlay("done");
Symbol 394 MovieClip Frame 3
stop();
_root.sub.theArcadeMenu.theStickAvalanche.scoregiver.gotoAndPlay("done");
Symbol 394 MovieClip Frame 4
stop();
_root.sub.theArcadeMenu.theStickAvalanche.scoregiver.gotoAndPlay("done");
Symbol 394 MovieClip Frame 5
stop();
_root.sub.theArcadeMenu.theStickAvalanche.scoregiver.gotoAndPlay("done");
Symbol 394 MovieClip Frame 6
stop();
_root.sub.theArcadeMenu.theStickAvalanche.scoregiver.gotoAndPlay("done");
Symbol 394 MovieClip Frame 7
stop();
_root.sub.theArcadeMenu.theStickAvalanche.scoregiver.gotoAndPlay("done");
Symbol 396 MovieClip Frame 21
stop();
Symbol 397 MovieClip Frame 40
stop();
Symbol 398 MovieClip Frame 1
_parent.xpos = abc._x;
if ((_parent.xpos < -45) || (_parent.xpos > 1030)) {
_parent.life.gotoAndPlay("Shot");
} else {
if (hittest(_parent.boundary1)) {
_parent.life.gotoAndPlay("Shot");
} else {
if (hittest(_parent.boundary2)) {
_parent.life.gotoAndPlay("Shot");
} else {
m = 0;
while (m <= 15) {
if (hittest(_parent["enemy" + m])) {
_parent.life.gotoAndPlay("Shot");
} else {
if (hittest(_parent["scorebonus" + m])) {
_parent["scorebonus" + m].gotoAndPlay(1);
_parent.scoregiver.gotoAndPlay("scorebonus");
}
}
m++;
}
}
}
}
abc._x = _xmouse;
Symbol 398 MovieClip Frame 2
abc._x = _xmouse;
gotoAndPlay (1);
Symbol 398 MovieClip Frame 20
stop();
_root.sub.theArcadeMenu.theStickAvalanche.thecircle.exacthit._x = _xmouse;
_root.sub.theArcadeMenu.theStickAvalanche.thecircle.exacthit._y = _root.sub.theArcadeMenu.theStickAvalanche.thecircle.abc._y;
abc._x = _xmouse;
Symbol 402 MovieClip Frame 1
randomize();
gotoAndPlay(random(_root.sub.theArcadeMenu.theStickAvalanche.diff));
Symbol 406 MovieClip Frame 2
stop();
Symbol 406 MovieClip Frame 3
_root.sub.theArcadeMenu.theStickAvalanche.score = _root.sub.theArcadeMenu.theStickAvalanche.score + 200;
if (_root.sub.theArcadeMenu.theStickAvalanche.StickDead == true) {
gotoAndPlay ("done");
} else {
gotoAndPlay (2);
}
Symbol 406 MovieClip Frame 10
nextFrame();
Symbol 406 MovieClip Frame 14
stop();
Symbol 406 MovieClip Frame 15
stop();
Symbol 407 MovieClip Frame 1
randomize();
gotoAndPlay(random(1000));
Symbol 409 Button
on (release) {
gotoAndPlay ("end");
}
Symbol 411 MovieClip Frame 1
if ((_root.sub.theArcadeMenu.theStickAvalanche.score > _root.sub.theArcadeMenu.theStickAvalanche.hscore) && (_root.sub.theArcadeMenu.theStickAvalanche.hscore != 0)) {
_root.sub.theArcadeMenu.theStickAvalanche.newh.gotoAndPlay("newhscore");
gotoAndStop (3);
}
Symbol 411 MovieClip Frame 2
gotoAndPlay (1);
Symbol 413 MovieClip Frame 1
stop();
Symbol 413 MovieClip Frame 2
gotoAndPlay (3);
Symbol 413 MovieClip Frame 3
stopAllSounds();
stop();
Symbol 417 MovieClip Frame 1
stop();
Symbol 417 MovieClip Frame 600
gotoAndPlay (2);
Symbol 421 MovieClip Frame 7
stop();
Symbol 422 MovieClip Frame 81
stop();
Symbol 423 MovieClip Frame 1
stop();
Symbol 423 MovieClip Frame 5
stop();
Symbol 425 MovieClip Frame 2
_root.score = _root.score + 500;
_root.level++;
Symbol 425 MovieClip Frame 80
stop();
Symbol 426 MovieClip Frame 1
stop();
Symbol 426 MovieClip Frame 7
_root.sub.theArcadeMenu.theStickAvalanche.level++;
Symbol 426 MovieClip Frame 86
gotoAndPlay (1);
Symbol 436 Button
on (release) {
stopAllSounds();
_root.soundChecker.gotoAndStop("check");
gotoAndPlay (1);
}
Symbol 439 Button
on (release) {
gotoAndPlay ("submit");
}
Symbol 444 Button
on (release) {
gotoAndPlay (1);
}
Symbol 455 MovieClip Frame 1
hider1._visible = false;
StickDead = false;
stop();
Symbol 455 MovieClip Frame 2
stopAllSounds();
if (_root.playsound) {
_root.soundChecker.gotoAndStop("StickAvalanche");
}
startDrag ("mousekeeper", true);
hscore = _root.stickHighScore;
Mouse.hide();
if (musicTrue == false) {
stopSound.gotoAndPlay("stop");
}
hider1._visible = false;
endgame._visible = false;
score = 0;
level = 0;
stop();
Instance of Symbol 406 MovieClip "scoregiver" in Symbol 455 MovieClip Frame 2
onClipEvent (enterFrame) {
if (!_parent.StickDead) {
if (_parent.StickDead == true) {
gotoAndPlay ("done");
} else {
_parent.score++;
if ((_parent.score >= 2000) && (_parent.score <= 2202)) {
maxalpha = 50;
maxheight = 300;
_parent.levelup.gotoAndPlay("newlevel");
}
if ((_parent.score >= 4000) && (_parent.score <= 4202)) {
maxalpha = 80;
maxheight = 400;
_parent.levelup.gotoAndPlay("newlevel");
}
if ((_parent.score >= 8000) && (_parent.score <= 8202)) {
maxalpha = 95;
maxheight = 500;
_parent.levelup.gotoAndPlay("newlevel");
}
if ((_parent.score >= 10000) && (_parent.score <= 10202)) {
maxalpha = 100;
maxheight = 550;
black = new Color(_root.hider);
black.setRGB(0);
_parent.levelup.gotoAndPlay("newlevel");
}
if ((_parent.score >= 12000) && (_parent.score <= 12202)) {
maxheight = 600;
_parent.levelup.gotoAndPlay("newlevel");
}
if ((_parent.score >= 15000) && (_parent.score <= 15202)) {
maxheight = 650;
_root.levelup.gotoAndPlay("newlevel");
}
if ((_parent.score >= 20000) && (_parent.score <= 20202)) {
maxheight = 750;
_parent.distraction1.gotoAndPlay(2);
_parent.levelup.gotoAndPlay("newlevel");
}
if (_parent.hider._height < maxheight) {
_parent.hider._height = _parent.hider._height + 0.4;
}
if (_parent.hider._alpha < maxalpha) {
_parent.hider._alpha = _parent.hider._alpha + 1;
}
}
}
}
Symbol 455 MovieClip Frame 5
totalCashEarned = "TOTAL CASH EARNED: " + Math.round(score / 25);
_root.money = _root.money + Math.round(score / 20);
stopDrag();
hider1._visible = false;
if (score >= _root.stickHighScore) {
_root.stickHighScore = score;
}
stickhscore = _root.stickHighScore;
theRating = "GRADE: ";
if ((score >= 0) && (score < 1000)) {
theRating = theRating + "F\nHere's 5 dollars, go to K-MART and buy yourself some skill.";
} else if ((score >= 1000) && (score < 2000)) {
theRating = theRating + "D-\nIt's okay, a lot of us suck. Just not as much as you...";
} else if ((score >= 2000) && (score < 4000)) {
theRating = theRating + "D\nWell, to put it nicely, a maggot infested vat of donkey vomit could do better.";
} else if ((score >= 4000) && (score < 5000)) {
theRating = theRating + "D+\nThat's good..if your 6 years old...you are six years old right?";
} else if ((score >= 5000) && (score < 6000)) {
theRating = theRating + "C-\nStep it up fool!";
} else if ((score >= 6000) && (score < 8000)) {
theRating = theRating + "C\nHey junior, try going through puberty.";
} else if ((score >= 8000) && (score < 10000)) {
theRating = theRating + "C+\nSomeone ate a good breakfast, but not their wheaties";
} else if ((score >= 10000) && (score < 12000)) {
theRating = theRating + "B-\nDoin the bull dance feeling the flow workin it workin it...";
} else if ((score >= 12000) && (score < 13000)) {
theRating = theRating + "B\nStands for better. Now go practice some more, small fry.";
} else if ((score >= 13000) && (score < 14000)) {
theRating = theRating + "B+\nOkay, you really need to get out more.";
} else if ((score >= 14000) && (score < 15000)) {
theRating = theRating + "A-\nWow! If only you made this grade at school.";
} else if ((score >= 15000) && (score < 20000)) {
theRating = theRating + "A\nAlmost perfected!";
} else if ((score >= 20000) && (score < 50000)) {
theRating = theRating + "A+\nCONGRATULATIONS!!! You have no life!";
} else if (score >= 50000) {
theRating = theRating + "You are such a l337 haxor!!!";
}
stop();
Symbol 455 MovieClip Frame 6
stickhscore = _root.stickHighScore;
stop();
Symbol 455 MovieClip Frame 7
stop();
Symbol 455 MovieClip Frame 8
stop();
theScore = score;
Symbol 466 Button
on (release) {
if (_root.money >= 100) {
_root.money = _root.money - 100;
_root.daysAddOn = _root.daysAddOn + 0.4;
if (!_root.playsound) {
stopAllSounds();
} else {
_root.soundChecker.gotoAndStop("TargetShot");
}
gotoAndPlay ("startShooting");
} else {
error = "You don't have enough cash";
}
}
Symbol 471 Button
on (release) {
stopAllSounds();
_root.soundChecker.gotoAndStop("check");
_root.sub.theArcadeMenu.gotoAndPlay(1);
}
Instance of Symbol 477 MovieClip in Symbol 478 MovieClip Frame 1
on (press) {
if (_root.sub.theArcadeMenu.theTargetArea.Cursor.hittest(this)) {
_root.sub.theArcadeMenu.theTargetArea.score = _root.sub.theArcadeMenu.theTargetArea.score + int(_root.sub.theArcadeMenu.theTargetArea.target4Score);
_root.sub.theArcadeMenu.theTargetArea.totalHit++;
}
}
Instance of Symbol 477 MovieClip "target3" in Symbol 478 MovieClip Frame 1
on (press) {
if (_root.sub.theArcadeMenu.theTargetArea.Cursor.hittest(this)) {
_root.sub.theArcadeMenu.theTargetArea.score = _root.sub.theArcadeMenu.theTargetArea.score + int(_root.sub.theArcadeMenu.theTargetArea.target3Score);
_root.sub.theArcadeMenu.theTargetArea.totalHit++;
}
}
Instance of Symbol 477 MovieClip "target2" in Symbol 478 MovieClip Frame 1
on (press) {
if (_root.sub.theArcadeMenu.theTargetArea.Cursor.hittest(this)) {
_root.sub.theArcadeMenu.theTargetArea.score = _root.sub.theArcadeMenu.theTargetArea.score + int(_root.sub.theArcadeMenu.theTargetArea.target2Score);
_root.sub.theArcadeMenu.theTargetArea.totalHit++;
}
}
Instance of Symbol 477 MovieClip "target1" in Symbol 478 MovieClip Frame 1
on (press) {
if (_root.sub.theArcadeMenu.theTargetArea.Cursor.hittest(this)) {
_root.sub.theArcadeMenu.theTargetArea.score = _root.sub.theArcadeMenu.theTargetArea.score + int(_root.sub.theArcadeMenu.theTargetArea.target1Score);
_root.sub.theArcadeMenu.theTargetArea.totalHit++;
}
}
Instance of Symbol 477 MovieClip "target0" in Symbol 478 MovieClip Frame 1
on (press) {
if (_root.sub.theArcadeMenu.theTargetArea.Cursor.hittest(this)) {
_root.sub.theArcadeMenu.theTargetArea.score = _root.sub.theArcadeMenu.theTargetArea.score + int(_root.sub.theArcadeMenu.theTargetArea.target0Score);
_root.sub.theArcadeMenu.theTargetArea.perfect.gotoAndPlay(2);
_root.sub.theArcadeMenu.theTargetArea.totalHit++;
}
}
Symbol 479 MovieClip Frame 1
theTarget._x = 250;
b = true;
distancecheck = 0;
if (int(howmuchright) == 0) {
howmuchright = 0;
}
extra = 100;
Instance of Symbol 478 MovieClip "theTarget" in Symbol 479 MovieClip Frame 1
onClipEvent (mouseDown) {
if (_root.sub.theArcadeMenu.theTargetArea.subTarget.b) {
if (int(z) == 0) {
z = 0;
}
z++;
_root.sub.theArcadeMenu.theTargetArea.subTarget.theTarget.attachMovie("bullethole", "bhole" + z, z);
_root.sub.theArcadeMenu.theTargetArea.subTarget.theTarget["bhole" + z]._x = _root.sub.theArcadeMenu.theTargetArea.subTarget.theTarget._xmouse;
_root.sub.theArcadeMenu.theTargetArea.subTarget.theTarget["bhole" + z]._y = _root.sub.theArcadeMenu.theTargetArea.subTarget.theTarget._ymouse;
excluded = false;
if (((_root.sub.theArcadeMenu.theTargetArea.subTarget.theTarget["bhole" + z].hitTest(_root.sub.theArcadeMenu.theTargetArea.subTarget.theTarget.area.excluded1) || (_root.sub.theArcadeMenu.theTargetArea.subTarget.theTarget["bhole" + z].hitTest(_root.sub.theArcadeMenu.theTargetArea.subTarget.theTarget.area.excluded2))) || (_root.sub.theArcadeMenu.theTargetArea.subTarget.theTarget["bhole" + z].hitTest(_root.sub.theArcadeMenu.theTargetArea.subTarget.theTarget.area.excluded3))) || (_root.sub.theArcadeMenu.theTargetArea.subTarget.theTarget["bhole" + z].hitTest(_root.sub.theArcadeMenu.theTargetArea.subTarget.theTarget.area.excluded4))) {
excluded = true;
}
if (_root.sub.theArcadeMenu.theTargetArea.subTarget.theTarget["bhole" + z].hitTest(_root.sub.theArcadeMenu.theTargetArea.subTarget.theTarget.area) && (!excluded)) {
} else {
_root.sub.theArcadeMenu.theTargetArea.subTarget.theTarget["bhole" + z].removeMovieClip();
}
}
}
Symbol 479 MovieClip Frame 2
randomize();
i = random(2) + 1;
d = random(2) + 1;
if (i == 1) {
right = true;
} else if (i == 2) {
right = false;
}
if (d == 1) {
up = true;
} else if (d == 2) {
up = false;
}
distancecheck = 0;
gotoAndPlay (3);
Symbol 479 MovieClip Frame 3
if (right) {
if (theTarget._x > 450) {
right = false;
}
theTarget._x = theTarget._x + howmuchright;
} else if (!right) {
if (theTarget._x < 40) {
right = true;
}
theTarget._x = theTarget._x - howmuchright;
}
if (up) {
if (theTarget._y < 20) {
up = false;
}
theTarget._y = theTarget._y - howmuchright;
} else if (!up) {
if (theTarget._y > 200) {
up = true;
}
theTarget._y = theTarget._y + howmuchright;
}
Symbol 479 MovieClip Frame 4
if (distancecheck >= smoothness) {
gotoAndPlay (2);
} else {
distancecheck++;
gotoAndPlay (3);
}
Symbol 479 MovieClip Frame 5
theTarget._x = 50;
theTarget._y = 50;
b = false;
stop();
Symbol 481 MovieClip Frame 1
word = _root.sub.theArcadeMenu.theTargetArea.perfect.word;
Symbol 481 MovieClip Frame 2
gotoAndPlay (1);
Symbol 482 MovieClip Frame 41
stop();
Symbol 483 MovieClip Frame 1
stop();
Symbol 483 MovieClip Frame 2
word = "PERFECT+$1";
nextFrame();
Symbol 483 MovieClip Frame 3
stop();
Symbol 489 MovieClip Frame 1
_root.sub.theArcadeMenu.theTargetArea.scoreneeded = 50;
if (_root.sub.theArcadeMenu.theTargetArea.ammo < 0) {
if (_root.sub.theArcadeMenu.theTargetArea.score <= _root.sub.theArcadeMenu.theTargetArea.scoreneeded) {
_root.sub.theArcadeMenu.theTargetArea.gotoAndPlay("Lose");
}
}
if (_root.sub.theArcadeMenu.theTargetArea.score >= _root.sub.theArcadeMenu.theTargetArea.scoreneeded) {
_root.sub.theArcadeMenu.theTargetArea.gotoAndPlay("nextLevel");
}
_root.sub.theArcadeMenu.theTargetArea.dashootPercent = ("Total Shooting Percentage: " + int((_root.sub.theArcadeMenu.theTargetArea.totalHit / _root.sub.theArcadeMenu.theTargetArea.totalShots) * 100)) + "%";
_root.sub.theArcadeMenu.theTargetArea.daperfect = "Total Perfect Shots: " + _root.sub.theArcadeMenu.theTargetArea.perfectShots;
Symbol 489 MovieClip Frame 2
gotoAndPlay (1);
Symbol 501 MovieClip Frame 1
stop();
Symbol 501 MovieClip Frame 2
if (_root.playsound == false) {
gotoAndPlay (1);
} else {
gotoAndPlay (3);
}
Symbol 501 MovieClip Frame 4
gotoAndPlay (1);
Symbol 513 Button
on (release) {
stopAllSounds();
_root.soundChecker.gotoAndStop("check");
gotoAndPlay (1);
}
Symbol 514 Button
on (release) {
_root.soundChecker.gotoAndStop("check");
_root.sub.theArcadeMenu.gotoAndPlay(1);
}
Symbol 525 Button
on (release) {
level++;
_root.sub.theArcadeMenu.theTargetArea.ammo = numBullets;
clip = 0;
smoothness = smoothness / 2;
howmuchright = howmuchright + 1;
cashprize = cashprize * 3;
score = 0;
gotoAndPlay ("startShooting");
}
Symbol 526 MovieClip Frame 1
totalCash = 0;
level = 1;
totalShots = 0;
totalHit = 0;
target0score = 5;
target1score = 4;
target2score = 3;
target3score = 2;
target4score = 1;
score = 0;
numBullets = 18;
cashprize = 10;
totalcash = 0;
perfectShots = 0;
_root.sub.theArcadeMenu.theTargetArea.ammo = numBullets;
stop();
Symbol 526 MovieClip Frame 2
if (level <= 1) {
smoothness = 100;
howmuchright = 1;
}
subTarget.gotoAndPlay(1);
_root.sub.theArcadeMenu.theTargetArea.subTarget.smoothness = smoothness;
_root.sub.theArcadeMenu.theTargetArea.subTarget.howmuchright = howmuchright;
a = 0;
while (a < numBullets) {
attachMovie("theBULLET", "theBullet" + a, a);
eval ("theBullet" + a)._x = starterbullet._x;
eval ("theBullet" + a)._y = starterbullet._y + (a * 8);
a++;
}
starterBullet._x = starterBullet._x - 100;
stop();
Instance of Symbol 494 MovieClip "Cursor" in Symbol 526 MovieClip Frame 2
onClipEvent (load) {
Mouse.hide();
startDrag (this, true);
}
Instance of Symbol 31 MovieClip [TheBULLET] "starterBullet" in Symbol 526 MovieClip Frame 2
onClipEvent (mouseDown) {
if (int(clip) == 0) {
clip = 0;
}
_root.sub.theArcadeMenu.theTargetArea.ammo = int(_root.sub.theArcadeMenu.theTargetArea.numBullets - clip);
theB = "theBullet" + _root.sub.theArcadeMenu.theTargetArea.ammo;
removeMovieClip(_root.sub.theArcadeMenu.theTargetArea[theB]);
_root.sub.theArcadeMenu.theTargetArea.totalShots++;
clip++;
_root.sub.theArcadeMenu.theTargetArea.uspsound.gotoAndPlay(2);
}
Symbol 526 MovieClip Frame 3
stop();
Mouse.show();
subTarget.gotoAndPlay(5);
subTarget._x = 19;
subTarget._y = 55.5;
_root.sub.theArcadeMenu.theTargetArea.subTarget.howmuchright = 0;
datotalCash = "Total Earned Cash: " + totalCash;
dafinalLevel = "Level Reached: " + level;
dashootPercent = dashootPercent + ("\nTotal Shots: " + totalShots);
dashootPercent = ("Total Shooting Percentage: " + int((totalHit / totalShots) * 100)) + "%";
dashootPercent = dashootPercent + ("\n\nTotal Perfect Shots: " + perfectShots);
dashootPercent = dashootPercent + (("\nPerfect Shot Percentage: " + Math.round((perfectShots / totalShots) * 100)) + "%");
Symbol 526 MovieClip Frame 4
Mouse.show();
subTarget.gotoAndPlay(5);
subTarget._x = 19;
subTarget._y = 55.5;
_root.sub.theArcadeMenu.theTargetArea.subTarget.howmuchright = 0;
_root.money = _root.money + cashprize;
datotalCash = "Cash Earned: " + cashprize;
totalcash = totalcash + cashprize;
dashootPercent = dashootPercent + ("\nTotal Shots: " + totalShots);
dashootPercent = ("Total Shooting Percentage: " + int((totalHit / totalShots) * 100)) + "%";
dashootPercent = dashootPercent + ("\n\nTotal Perfect Shots: " + perfectShots);
dashootPercent = dashootPercent + (("\nPerfect Shot Percentage: " + Math.round((perfectShots / totalShots) * 100)) + "%");
stop();
Symbol 527 MovieClip Frame 1
stop();
Symbol 527 MovieClip Frame 2
stop();
theStickAvalanche.musicTrue = true;
Instance of Symbol 457 MovieClip "quality" in Symbol 527 MovieClip Frame 2
/* no clip actions */
Symbol 527 MovieClip Frame 3
stop();
Symbol 544 Button
on (release) {
gotoAndStop (1);
}
Symbol 551 Button
on (release) {
if (_root.money >= _root.loanMoney) {
_root.money = _root.money - _root.loanMoney;
_root.loanMoney = 0;
_root.loanDate = 0;
_root.payLoan = false;
_root.loanDeadLine = false;
error = "Loan paid.";
} else {
error = "You don't have enough money to pay off the loan!";
}
}
Symbol 553 Button
on (release) {
if (_root.payLoan) {
error = "Sorry, you must pay current loan.";
} else if (int(getLoan) <= 0) {
error = "Please enter postive integers.";
} else if (getLoan > 5000) {
error = "Too big of loan (max = 5000)";
} else {
_root.loanMoney = _root.loanMoney + int(getLoan);
_root.money = _root.money + int(_root.loanMoney);
_root.payLoan = true;
_root.loanRate = _root.todayLoanRate;
_root.loanDate = _root.days + 15;
}
}
Symbol 554 MovieClip Frame 1
stop();
Symbol 554 MovieClip Frame 12
if (_root.payLoan == true) {
trace("Bak say :" + _root.payLoan);
thecurrentloan = ((((((("Current Loan: " + Math.formatDecimals(Number(_root.loanMoney), 2)) + " at ") + Math.formatDecimals(_root.loanRate, 1)) + "% interest due at Day ") + _root.loanDate) + "\nToday's interest rate is ") + Math.formatDecimals(_root.todayLoanRate, 2)) + "% per day";
if (_root.loanRate > _root.todayLoanRate) {
thecurrentloan = (((((((("Current Loan: " + Math.formatDecimals(_root.loanMoney, 2)) + " at ") + Math.formatDecimals(_root.loanRate, 2)) + "% interest due at Day ") + _root.loanDate) + "\nToday's interest rate is ") + Math.formatDecimals(_root.todayLoanRate, 2)) + "% per day") + "\nYou may want to consider refinancing.";
}
} else {
thecurrentloan = ("Today's interest rate is " + Math.formatDecimals(_root.todayLoanRate, 2)) + "% per day.";
}
Symbol 554 MovieClip Frame 13
gotoAndPlay (12);
Symbol 565 MovieClip Frame 1
gotoAndStop(random(2) + 2);
Instance of Symbol 563 MovieClip in Symbol 565 MovieClip Frame 1
onClipEvent (load) {
if (_root.whereAmI != "Middle East") {
_visible = false;
}
}
Symbol 566 MovieClip Frame 2
clerk.foot1.stop();
clerk.foot2.stop();
stop();
Symbol 566 MovieClip Frame 3
clerk.foot1.stop();
clerk.foot2.stop();
stop();
Symbol 566 MovieClip Frame 4
gotoAndPlay(random(252) + 1);
Symbol 566 MovieClip Frame 92
clerk.foot1.stop();
clerk.foot2.stop();
Symbol 566 MovieClip Frame 143
clerk.foot1.play();
clerk.foot2.play();
Symbol 566 MovieClip Frame 202
clerk.foot1.stop();
clerk.foot2.stop();
Symbol 566 MovieClip Frame 246
clerk.foot1.play();
clerk.foot2.play();
Symbol 566 MovieClip Frame 252
gotoAndPlay (5);
Symbol 582 MovieClip Frame 1
gotoAndStop(_root.whereAmI);
Instance of Symbol 537 MovieClip in Symbol 582 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.desk.hitTest(_parent._parent.theStickMan)) {
this.say = "Press spacebar to leave.";
if (Key.isDown(32)) {
_root.sub.gotoAndPlay("explore");
}
} else {
this.say = "";
}
}
Instance of Symbol 540 MovieClip in Symbol 582 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.desk.hitTest(_parent._parent.theStickMan)) {
this.say = "Press spacebar to view your account.";
if (Key.isDown(32)) {
_parent._parent.gotoAndStop(2);
}
} else {
this.say = "";
}
}
Instance of Symbol 557 MovieClip in Symbol 582 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.desk.hitTest(_parent._parent.theStickMan)) {
if (_root.gunequipped == "paperclip") {
this.say = "Once you get a gun you can rob the bank!";
} else {
this.say = ("Press spacebar to rob the bank!(Volt contains $" + _root[_root.whereAmI.substring(0, 2) + "bankrobmoney"]) + ")";
if (Key.isDown(32)) {
_parent._parent.gotoAndPlay(3);
}
}
} else {
this.say = "";
}
}
Instance of Symbol 560 MovieClip in Symbol 582 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.desk.hitTest(_parent._parent.theStickMan) || (this.desk2.hitTest(_parent._parent.theStickMan))) {
this.say = "Press spacebar to take a loan.";
if (Key.isDown(32)) {
_parent._parent.loan.gotoAndPlay(2);
}
} else {
this.say = "";
}
}
Instance of Symbol 566 MovieClip in Symbol 582 MovieClip Frame 1
onClipEvent (load) {
gotoAndPlay (5);
}
Instance of Symbol 566 MovieClip in Symbol 582 MovieClip Frame 1
onClipEvent (load) {
gotoAndStop ("im");
}
Instance of Symbol 566 MovieClip in Symbol 582 MovieClip Frame 1
onClipEvent (load) {
gotoAndStop ("im");
}
Instance of Symbol 566 MovieClip in Symbol 582 MovieClip Frame 1
onClipEvent (load) {
gotoAndStop ("gun");
}
Instance of Symbol 566 MovieClip in Symbol 582 MovieClip Frame 1
onClipEvent (load) {
gotoAndStop ("gun");
}
Symbol 588 MovieClip Frame 1
stop();
foot1.play();
foot2.play();
Instance of Symbol 586 MovieClip in Symbol 588 MovieClip Frame 1
onClipEvent (enterFrame) {
if (!_root.mobile) {
if (_parent._currentframe != 3) {
_parent.gotoAndStop(3);
} else {
_parent.stop();
}
} else if (_parent._currentframe != 1) {
_parent.gotoAndPlay(1);
} else {
_parent.stop();
}
}
Symbol 588 MovieClip Frame 2
stop();
Symbol 588 MovieClip Frame 3
stop();
foot1.stop();
foot2.stop();
Symbol 599 MovieClip Frame 1
stop();
Instance of Symbol 586 MovieClip in Symbol 599 MovieClip Frame 1
onClipEvent (enterFrame) {
if (!_root.mobile) {
if (_parent._currentframe != 3) {
_parent.gotoAndStop(3);
} else {
_parent.stop();
}
} else if (_parent._currentframe != 1) {
_parent.gotoAndPlay(1);
} else {
_parent.stop();
}
}
Symbol 599 MovieClip Frame 2
stop();
Symbol 599 MovieClip Frame 3
stop();
Symbol 601 MovieClip Frame 1
gotoAndPlay (5);
Symbol 602 MovieClip Frame 1
stop();
Instance of Symbol 586 MovieClip in Symbol 602 MovieClip Frame 1
onClipEvent (enterFrame) {
if (!_root.mobile) {
if (_parent._currentframe != 3) {
_parent.gotoAndStop(3);
} else {
_parent.stop();
}
} else if (_parent._currentframe != 1) {
_parent.gotoAndPlay(1);
} else {
_parent.stop();
}
}
Symbol 602 MovieClip Frame 2
stop();
Symbol 602 MovieClip Frame 3
stop();
Symbol 604 MovieClip Frame 1
foot1.play();
foot2.play();
stop();
Instance of Symbol 586 MovieClip in Symbol 604 MovieClip Frame 1
onClipEvent (enterFrame) {
if (!_root.mobile) {
if (_parent._currentframe != 3) {
_parent.gotoAndStop(3);
} else {
_parent.stop();
}
} else if (_parent._currentframe != 1) {
_parent.gotoAndPlay(1);
} else {
_parent.stop();
}
}
Symbol 604 MovieClip Frame 2
stop();
Symbol 604 MovieClip Frame 3
stop();
foot1.stop();
foot2.stop();
Symbol 609 MovieClip Frame 1
gotoAndStop(_root.itemequipped);
Instance of Symbol 599 MovieClip in Symbol 609 MovieClip Frame 3
onClipEvent (enterFrame) {
m = 1;
while (m <= 3) {
if (hitTest(_parent._parent["badguy" + m])) {
if (_root.mobile) {
if (Math.abs(_parent._parent.theStickMan.cspeed) > 3) {
_parent._parent["badguy" + m].gotoAndStop("dead");
}
}
}
m++;
}
}
Instance of Symbol 606 MovieClip in Symbol 609 MovieClip Frame 6
onClipEvent (enterFrame) {
m = 1;
while (m <= 4) {
if (hitTest(_parent._parent["badguy" + m])) {
if (_root.mobile) {
if (Math.abs(_parent._parent.theStickMan.cspeed) > 3) {
_parent._parent["badguy" + m].gotoAndStop("dead");
}
}
}
m++;
}
}
Instance of Symbol 608 MovieClip in Symbol 609 MovieClip Frame 7
onClipEvent (enterFrame) {
m = 1;
while (m <= 3) {
if (hitTest(_parent._parent["badguy" + m])) {
if (_root.mobile) {
if (Math.abs(_parent._parent.theStickMan.cspeed) > 3) {
_parent._parent["badguy" + m].gotoAndStop("dead");
}
}
}
m++;
}
}
Symbol 611 Button
on (release) {
_parent.gotoAndPlay(1);
}
Symbol 614 MovieClip Frame 1
bankinDesLine = ((((("You currently have $" + Math.formatDecimals(_root.bankMoney, 1)) + " in the bank.\nYou've got $") + Math.formatDecimals(_root.money, 2)) + " in your pocket. Bank interest is ") + _root.bankRate) + "%\nEnter Amount to Store";
bankoutDesLine = ((("You currently have $" + Math.formatDecimals(_root.bankMoney, 2)) + " in the bank.\nYou've got $") + Math.formatDecimals(_root.money, 2)) + " in your pocket.\nEnter Amount to WithDraw";
bankinDes = bankinDesLine;
bankoutDes = bankoutDesLine;
Symbol 614 MovieClip Frame 2
gotoAndPlay (1);
Symbol 618 Button
on (release) {
if (bankinMoney > Number(_root.money)) {
bankinMoney = "You don't got that much cash fool";
} else if (int(bankinMoney) == 0) {
bankinMoney = "What are you tryin to pull?";
} else if (bankinMoney <= -1) {
bankinMoney = "Huh? Your confusing";
} else if (_root.loanDeadLine) {
bankinMoney = "Loan must be paid first!";
} else {
_root.money = _root.money - Math.pow(bankinMoney, 1);
_root.bankMoney = _root.bankMoney + Math.pow(bankinMoney, 1);
_root[_root.whereAmI.substring(0, 2) + "bankrobmoney"] = _root[_root.whereAmI.substring(0, 2) + "bankrobmoney"] + Math.pow(bankinMoney, 1);
bankinMoney = "CASHED IN!";
}
}
Symbol 622 Button
on (release) {
if (Math.floor(bankoutMoney) > Math.floor(_root.bankMoney)) {
bankoutMoney = "You don't got that much in the bank.";
} else if (Math.floor(bankoutMoney) <= 0) {
bankoutMoney = "What are you tryin to pull?";
} else {
_root.money = _root.money + Number(bankoutMoney);
_root.bankMoney = _root.bankMoney - Number(bankoutMoney);
_root[_root.whereAmI.substring(0, 2) + "bankrobmoney"] = _root[_root.whereAmI.substring(0, 2) + "bankrobmoney"] - Math.pow(bankoutMoney, 1);
bankoutMoney = "CASHED OUT!";
}
}
Symbol 636 Button
on (release) {
_parent.handsup = true;
_parent.gotoAndPlay("lose");
}
Symbol 638 Button
on (release) {
gotoAndPlay (2);
}
Symbol 818 Button
on (release) {
_parent.gotoAndPlay("uncover");
}
Symbol 819 MovieClip Frame 1
stop();
Symbol 819 MovieClip Frame 122
stop();
Symbol 823 MovieClip Frame 1
_root.sub.policeshootout.shotPercent = int((_root.sub.policeshootout.totalHits / _root.sub.policeshootout.totalShots) * 100) + "%";
gotoAndPlay (2);
Symbol 823 MovieClip Frame 2
if (_root.userhp <= 0) {
_root.sub.policeshootout.gotoAndPlay("lose");
}
Symbol 836 MovieClip Frame 1
gotoAndPlay(_root.whereAmI);
Symbol 836 MovieClip Frame 2
stop();
Symbol 836 MovieClip Frame 3
stop();
Symbol 841 MovieClip Frame 1
stop();
Symbol 847 MovieClip Frame 1
randomize();
if (_root.sub.policeshootout.takencover == true) {
gotoAndPlay ("confused");
}
Symbol 847 MovieClip Frame 5
badaim = _root[_root.whereAmI.substring(0, 2) + "policeshotchance"];
x = 100 - hishp;
chance = random(x + badaim);
if (chance == 0) {
_root.userhp = _root.userhp - Math.pow(_root[_root.whereAmI.substring(0, 2) + "policeshotpower"], 1);
}
Symbol 847 MovieClip Frame 10
gotoAndPlay (1);
Symbol 847 MovieClip Frame 11
randomize();
gotoAndPlay(random(50) + 12);
Symbol 848 Button
on (release) {
thisdudeshp = thisdudeshp - _root.power;
}
Symbol 849 MovieClip Frame 1
stop();
Symbol 851 Button
on (release) {
if (_root.sub.policeshootout.ableShoot == true) {
_root.sub.policeshootout.totalHits++;
thisdudeshp = thisdudeshp - (_root.power / 3);
}
}
Symbol 852 Button
on (release) {
if (_root.sub.policeshootout.ableShoot == true) {
_root.sub.policeshootout.totalHits++;
thisdudeshp = thisdudeshp - (_root.power / 2);
}
}
Symbol 853 Button
on (release) {
if (_root.sub.policeshootout.ableShoot == true) {
_root.sub.policeshootout.totalHits++;
thisdudeshp = thisdudeshp - (_root.power * 4);
}
}
Symbol 857 MovieClip Frame 1
stop();
Symbol 858 MovieClip Frame 1
thelifebar.gotoAndStop(100 - thehp);
Symbol 858 MovieClip Frame 2
thelifebar.gotoAndStop(100 - thehp);
Symbol 866 MovieClip Frame 30
stop();
Symbol 867 MovieClip Frame 20
stop();
Symbol 868 MovieClip Frame 30
stop();
Symbol 869 MovieClip Frame 1
_root.sub.policeshootout.numofguys++;
Symbol 869 MovieClip Frame 2
thisdudeshp = 100;
randomize();
gotoAndPlay(random(99) + 1);
Symbol 869 MovieClip Frame 129
left = true;
distance = 5;
if (int(initial) == 0) {
initialA = thepoliceguy._x;
h = 1;
while (h <= 3) {
initialB = eval ("target" + h)._x;
h++;
}
thepoliceguy._x = thepoliceguy._x + initial;
} else {
h = 1;
while (h <= 3) {
eval ("target" + h)._x = initialB;
h++;
}
thepoliceguy._x = initialA;
}
Symbol 869 MovieClip Frame 130
if (distance > _root[_root.whereAmI.substring(0, 2) + "bankmove"]) {
left = true;
} else if (distance < (-1 * _root[_root.whereAmI.substring(0, 2) + "bankmove"])) {
left = false;
}
if (left) {
distance--;
} else {
distance++;
}
if (random(5) == 0) {
h = 1;
while (h <= 3) {
if (eval ("target" + h)._x < 0) {
distance = Math.abs(distance);
} else if (eval ("target" + h)._x > 500) {
distance = Math.abs(distance) * -1;
}
eval ("target" + h)._x = eval ("target" + h)._x + distance;
h++;
}
thepoliceguy._x = thepoliceguy._x + distance;
lifebar._x = lifebar._x + distance;
saveX = thepoliceguy._x;
}
thepoliceguy.hisgun.hishp = Math.round(thisdudeshp);
lifebar.thehp = Math.round(thisdudeshp);
Symbol 869 MovieClip Frame 131
if (int(thisdudeshp) <= 0) {
gotoAndPlay (132);
}
k = int(100 - thisdudeshp);
thepoliceguy.guyface.gotoAndStop(k);
gotoAndPlay (130);
Symbol 869 MovieClip Frame 132
gotoAndPlay (133);
Instance of Symbol 868 MovieClip in Symbol 869 MovieClip Frame 132
onClipEvent (load) {
_x = _parent.saveX;
}
Symbol 869 MovieClip Frame 149
_root.sub.policeshootout.killsneeded--;
_root.sub.policeshootout.policeleft = "Police left: " + _root.sub.policeshootout.killsneeded;
if (_root.sub.policeshootout.killsneeded <= 0) {
_root.sub.policeshootout.gotoAndPlay("win");
}
Symbol 869 MovieClip Frame 178
if (_root.sub.policeshootout.killsneeded < (_root.sub.policeshootout.numofguys - 1)) {
gotoAndStop (180);
}
Symbol 869 MovieClip Frame 229
gotoAndPlay (2);
Symbol 871 MovieClip Frame 1
stop();
Symbol 879 MovieClip Frame 1
stop();
Symbol 879 MovieClip Frame 2
gotoAndStop(_root.gunequipped);
Symbol 881 Button
on (keyPress "r") {
ammoReload.gotoAndPlay(2);
}
Symbol 885 MovieClip Frame 1
stop();
Symbol 885 MovieClip Frame 5
if (_root.sub.policeshootout.ammo < _root[_root.gunequipped + "ammo"]) {
_root.sub.policeshootout.ableShoot = false;
gotoAndPlay (6);
} else {
if (!_root.sub.policeshootout.takeCover) {
_root.sub.policeshootout.ableShoot = true;
}
gotoAndPlay (1);
}
Symbol 885 MovieClip Frame 6
_root.sub.policeshootout.ableShoot = false;
Symbol 885 MovieClip Frame 20
if (!_root[_root.gunequipped + "auto"]) {
_root.sub.policeshootout.ammo++;
} else {
_root.sub.policeshootout.ammo = _root[_root.gunequipped + "ammo"];
}
gotoAndPlay (5);
Symbol 889 MovieClip Frame 1
gotoAndStop(_root.whereAmI);
Symbol 894 Button
on (keyPress "<Space>") {
_root.sub.policeshootout.gotoAndPlay("takecover");
gotoAndPlay (2);
}
Symbol 897 Button
on (keyPress "<Space>") {
gotoAndPlay (16);
}
Symbol 898 MovieClip Frame 1
stop();
Symbol 898 MovieClip Frame 15
stop();
Symbol 898 MovieClip Frame 35
_root.sub.policeshootout.gotoAndPlay("uncover");
_root.sub.policeshootout.takencover = false;
Symbol 901 Button
on (release) {
_root.LocalyLocation = 0;
_root.LocalxLocation = 0;
_root.sub.gotoAndPlay("jail");
}
Symbol 902 MovieClip Frame 1
stop();
Instance of Symbol 609 MovieClip "theStickMan" in Symbol 902 MovieClip Frame 1
onClipEvent (load) {
numofObjects = 15;
if (int(_root.LocalyLocation) == 0) {
_root.LocalyLocation = _y;
_root.LocalxLocation = _x;
}
_y = _root.LocalyLocation;
_x = _root.LocalxLocation;
speed = 4;
}
onClipEvent (enterFrame) {
if (_currentframe != 2) {
gotoAndStop (2);
}
_root.LocalyLocation = _y;
_root.LocalxLocation = _x;
markX = _x;
markY = _y;
if ((markX + markY) == sum) {
_root.mobile = false;
_root.sub._y = 1;
} else {
_root.mobile = true;
}
sum = markX + markY;
firstAngle = Math.abs(_rotation - 90);
secondAngle = 90 - firstAngle;
firstR = (Math.PI/2) - ((Math.PI * firstAngle) / 180);
secondR = (Math.PI/2) - ((Math.PI * secondAngle) / 180);
if ((this._rotation >= 90) && (this._rotation <= 180)) {
firstR = Math.PI - ((Math.PI * secondAngle) / 180);
secondR = Math.PI - ((Math.PI * firstAngle) / 180);
}
moveDistanceX = speed * Math.sin(firstR);
moveDistanceY = speed * Math.cos(firstR);
if (Key.isDown(39)) {
this._rotation = this._rotation + 10;
}
if (Key.isDown(40)) {
_x = (_x - moveDistanceX);
_y = (_y + moveDistanceY);
n = 1;
while (n <= numofObjects) {
if (this.hitTest(_parent.bgGround["object" + n])) {
Mobile = false;
break;
}
if (n == numofObjects) {
Mobile = true;
}
n++;
}
if (!Mobile) {
_x = (_x + moveDistanceX);
_y = (_y - moveDistanceY);
}
}
if (Key.isDown(38)) {
_x = (_x + moveDistanceX);
_y = (_y - moveDistanceY);
n = 1;
while (n <= numofObjects) {
if (this.hitTest(_parent.bgGround["object" + n])) {
Mobile = false;
break;
}
if (n == numofObjects) {
Mobile = true;
}
n++;
}
if (!Mobile) {
_x = (_x - moveDistanceX);
_y = (_y + moveDistanceY);
}
}
if (Key.isDown(37)) {
this._rotation = this._rotation - 10;
}
}
Instance of Symbol 554 MovieClip "loan" in Symbol 902 MovieClip Frame 1
onClipEvent (load) {
theStickMan._y = theStickMan._y - theStickMan._height;
}
Symbol 902 MovieClip Frame 2
stop();
Symbol 902 MovieClip Frame 3
numofguys = 0;
totalShots = 0;
totalHits = 0;
shotPercent = 0;
killsneeded = _root[_root.whereAmI.substring(0, 2) + "killsneeded"];
policeleft = "Police left: " + killsneeded;
_root._root.sub.themenubutton._visible = false;
stopAllSounds();
_root.soundChecker.gotoAndStop("bankRob");
stop();
ammo = _root[_root.gunequipped + "ammo"];
handsup = false;
Symbol 902 MovieClip Frame 4
takencover = false;
ableShoot = true;
stop();
Instance of Symbol 871 MovieClip in Symbol 902 MovieClip Frame 4
onClipEvent (mouseDown) {
if (_parent.ableShoot) {
if (_root.sub.policeshootout.ammo < 1) {
_root.sub.policeshootout.ableShoot = false;
_root.sub.policeshootout.ammo = 0;
} else {
_root.sub.policeshootout.totalShots++;
_root.sub.policeshootout.ableShoot = true;
_root.sub.policeshootout.ammo--;
_root.sub.policeshootout.theSound.gotoAndPlay("shoot");
}
}
}
Instance of Symbol 494 MovieClip "CursorA" in Symbol 902 MovieClip Frame 4
onClipEvent (load) {
Mouse.hide();
startDrag (this, true);
}
onClipEvent (enterFrame) {
if (!_parent.ableShoot) {
_alpha = 50;
} else {
_alpha = 100;
}
}
Symbol 902 MovieClip Frame 5
takencover = true;
stop();
Symbol 902 MovieClip Frame 6
stopAllSounds();
Mouse.show();
_root.soundChecker.gotoAndStop("check");
whatwon = ("YOU GOT AWAY WITH $" + _root[_root.whereAmI.substring(0, 2) + "bankrobmoney"]) + "\nNote: All the money you had stored in the bank you just stole. Plus, it will take some time for this particular bank to earn back all it's money";
_root.money = _root.money + _root[_root.whereAmI.substring(0, 2) + "bankrobmoney"];
_root.sub.themenubutton._visible = true;
_root[_root.whereAmI.substring(0, 2) + "bankrobmoney"] = 100;
stop();
Symbol 902 MovieClip Frame 7
stopAllSounds();
Mouse.show();
_root.soundChecker.gotoAndStop("check");
if (!handsup) {
whatwon = ("YOU WON " + _root[_root.whereAmI.substring(0, 2) + "bankjailtime"]) + " DAYS IN JAIL AND LOST YOUR GUN LICENSE AND ALL THE MONEY AND GUNS YOU WERE CARRYING!\n";
_root.gunLicense = false;
_root.userhp = _root.hpMax;
_root.money = 0;
_root.sub["hold" + _root.gunequipped]._visible = false;
_root.gunequipped = "paperclip";
_root.power = 1;
_root.daysAddOn = _root.daysAddOn + _root[_root.whereAmI.substring(0, 2) + "bankjailtime"];
_root.userhp = 100;
} else {
whatwon = "The judge was easy on you and just sentenced you to 1 day in prison, and he let you keep your license, gun, and fined you only $500.\n";
_root.userhp = _root.hpMax;
_root.money = _root.money - 500;
_root.power = 1;
_root.daysAddOn = _root.daysAddOn + 1;
}
_root._root.sub.themenubutton._visible = true;
stop();
Symbol 1100 MovieClip Frame 1
gotoAndStop(_root.whereAmI);
Instance of Symbol 939 MovieClip "object9" in Symbol 1100 MovieClip Frame 1
onClipEvent (enterFrame) {
centerStickY = _parent.theStickMan._y + (_parent.theStickMan._height / 2);
centerStickX = _parent.theStickMan._x + (_parent.theStickMan._width / 2);
objectLeftX = _x;
objectRightX = _x + _width;
objectTopY = _y;
objectBottomY = _y + _height;
if (_parent.theStickMan.hitTest(this)) {
if (centerStickX <= objectLeftX) {
trace("CONTACT LEFT");
_parent.theStickMan._x = _parent.theStickMan._x - _parent.theStickMan.speed;
}
if (centerStickX > objectRightX) {
trace("CONTACT RIGHT");
_parent.theStickMan._x = _parent.theStickMan._x + _parent.theStickMan.speed;
}
if (centerStickY >= objectBottomY) {
trace("CONTACT DOWN");
_parent.theStickMan._y = _parent.theStickMan._y + _parent.theStickMan.speed;
}
if (centerStickY < objectTopY) {
trace("CONTACT UP");
_parent.theStickMan._y = _parent.theStickMan._y - _parent.theStickMan.speed;
}
}
}
Instance of Symbol 939 MovieClip "object7" in Symbol 1100 MovieClip Frame 1
onClipEvent (enterFrame) {
centerStickY = _parent.theStickMan._y + (_parent.theStickMan._height / 2);
centerStickX = _parent.theStickMan._x + (_parent.theStickMan._width / 2);
objectLeftX = _x;
objectRightX = _x + _width;
objectTopY = _y;
objectBottomY = _y + _height;
if (_parent.theStickMan.hitTest(this)) {
if (centerStickX <= objectLeftX) {
trace("CONTACT LEFT");
_parent.theStickMan._x = _parent.theStickMan._x - _parent.theStickMan.speed;
}
if (centerStickX > objectRightX) {
trace("CONTACT RIGHT");
_parent.theStickMan._x = _parent.theStickMan._x + _parent.theStickMan.speed;
}
if (centerStickY >= objectBottomY) {
trace("CONTACT DOWN");
_parent.theStickMan._y = _parent.theStickMan._y + _parent.theStickMan.speed;
}
if (centerStickY < objectTopY) {
trace("CONTACT UP");
_parent.theStickMan._y = _parent.theStickMan._y - _parent.theStickMan.speed;
}
}
}
Instance of Symbol 939 MovieClip "object8" in Symbol 1100 MovieClip Frame 1
onClipEvent (enterFrame) {
centerStickY = _parent.theStickMan._y + (_parent.theStickMan._height / 2);
centerStickX = _parent.theStickMan._x + (_parent.theStickMan._width / 2);
objectLeftX = _x;
objectRightX = _x + _width;
objectTopY = _y;
objectBottomY = _y + _height;
if (_parent.theStickMan.hitTest(this)) {
if (centerStickX <= objectLeftX) {
trace("CONTACT LEFT");
_parent.theStickMan._x = _parent.theStickMan._x - _parent.theStickMan.speed;
}
if (centerStickX > objectRightX) {
trace("CONTACT RIGHT");
_parent.theStickMan._x = _parent.theStickMan._x + _parent.theStickMan.speed;
}
if (centerStickY >= objectBottomY) {
trace("CONTACT DOWN");
_parent.theStickMan._y = _parent.theStickMan._y + _parent.theStickMan.speed;
}
if (centerStickY < objectTopY) {
trace("CONTACT UP");
_parent.theStickMan._y = _parent.theStickMan._y - _parent.theStickMan.speed;
}
}
}
Instance of Symbol 939 MovieClip "object5" in Symbol 1100 MovieClip Frame 1
onClipEvent (enterFrame) {
centerStickY = _parent.theStickMan._y + (_parent.theStickMan._height / 2);
centerStickX = _parent.theStickMan._x + (_parent.theStickMan._width / 2);
objectLeftX = _x;
objectRightX = _x + _width;
objectTopY = _y;
objectBottomY = _y + _height;
if (_parent.theStickMan.hitTest(this)) {
if (centerStickX <= objectLeftX) {
trace("CONTACT LEFT");
_parent.theStickMan._x = _parent.theStickMan._x - _parent.theStickMan.speed;
}
if (centerStickX > objectRightX) {
trace("CONTACT RIGHT");
_parent.theStickMan._x = _parent.theStickMan._x + _parent.theStickMan.speed;
}
if (centerStickY >= objectBottomY) {
trace("CONTACT DOWN");
_parent.theStickMan._y = _parent.theStickMan._y + _parent.theStickMan.speed;
}
if (centerStickY < objectTopY) {
trace("CONTACT UP");
_parent.theStickMan._y = _parent.theStickMan._y - _parent.theStickMan.speed;
}
}
}
Instance of Symbol 943 MovieClip in Symbol 1100 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.desk.hitTest(_parent._parent.theStickMan)) {
this.say = "Press spacebar to visit the clerk to buy guns.";
if (Key.isDown(32)) {
_parent._parent.nextFrame();
}
} else {
this.say = "";
}
}
Instance of Symbol 537 MovieClip in Symbol 1100 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.desk.hitTest(_parent._parent.theStickMan)) {
this.say = "Press spacebar to leave.";
if (Key.isDown(32)) {
_root.sub.gotoAndPlay("explore");
}
} else {
this.say = "";
}
}
Instance of Symbol 566 MovieClip in Symbol 1100 MovieClip Frame 1
onClipEvent (load) {
gotoAndPlay (5);
}
Instance of Symbol 566 MovieClip in Symbol 1100 MovieClip Frame 1
onClipEvent (load) {
gotoAndPlay (5);
}
Symbol 1104 Button
on (release) {
gotoAndStop (1);
}
Symbol 1111 Button
on (release) {
if (_root.money < 2000) {
error = "Not enough money!";
} else {
_root.gunLicense = true;
_root.money = _root.money - 2000;
gotoAndStop(_root.whereAmI);
}
}
Symbol 1116 Button
on (rollOver) {
_root.sub.storesub.guytalk.whathesays = "My favorite, the m4a1 rifle. Excellent accuracy and strength.\nPower: 85\nCost: $4500";
}
on (release) {
_root.whatguntobuy = "m4a1";
_root.whatguntobuyprice = 4500;
_root.checkgun.gotoAndPlay("verify");
}
Symbol 1118 Button
on (rollOver) {
_root.sub.storesub.guytalk.whathesays = "Good old police mp5. Cheap and effective.\nPower: 50\nCost: $2000";
}
on (release) {
_root.whatguntobuy = "mp5";
_root.whatguntobuyprice = 2000;
_root.checkgun.gotoAndPlay("verify");
}
Symbol 1120 Button
on (rollOver) {
_root.sub.storesub.guytalk.whathesays = "A standard USP gun.\nPower: 10\nCost: $500";
}
on (release) {
_root.whatguntobuy = "USP";
_root.whatguntobuyprice = 500;
_root.checkgun.gotoAndPlay("verify");
}
Symbol 1124 MovieClip Frame 1
stop();
Symbol 1130 Button
on (rollOver) {
_root.sub.storesub.guytalk.whathesays = "Military g3 issue.\nPower: 60\nCost: $2500";
}
on (release) {
_root.whatguntobuy = "g3";
_root.whatguntobuyprice = 4500;
_root.checkgun.gotoAndPlay("verify");
}
Symbol 1133 Button
on (rollOver) {
_root.sub.storesub.guytalk.whathesays = "Good conditioned Soviet AK47. Very nice gun.\nPower: 80\nCost: $3500";
}
on (release) {
_root.whatguntobuy = "ak47";
_root.whatguntobuyprice = 4500;
_root.checkgun.gotoAndPlay("verify");
}
Symbol 1136 MovieClip Frame 1
stop();
Symbol 1140 Button
on (rollOver) {
_root.sub.storesub.guytalk.whathesays = "Israeli Desert Eagle gun. Strongest handgun in the world.\nPower: 90\nCost: $5000";
}
on (release) {
_root.whatguntobuy = "eagle";
_root.whatguntobuyprice = 4500;
_root.checkgun.gotoAndPlay("verify");
}
Symbol 1143 MovieClip Frame 1
stop();
Symbol 1148 Button
on (rollOver) {
_root.sub.storesub.guytalk.whathesays = "That's just a guitar I found. But you can't have it. Unless you pay $500. Lol, but no guitar is worth that much!";
}
on (release) {
verify.gotoAndPlay(2);
}
Symbol 1149 Button
on (rollOver) {
_root.sub.storesub.guytalk.whathesays = ("Get the awp sniper. Accuracy and great strength.\nPower: " + _root.awppower) + "\nCost: $10000";
}
on (release) {
_root.whatguntobuy = "awp";
_root.whatguntobuyprice = 10000;
_root.checkgun.gotoAndPlay("verify");
}
Symbol 1154 Button
on (release) {
if (_root.money >= 500) {
_root.guitarHave = true;
_root.money = _root.money - 500;
_parent.guytalk.whathesays = "Ha I bloody can't believe your buying it. Oh well, it's your money mate.";
_parent.guitar._visible = false;
prevFrame();
} else {
_parent.guytalk.whathesays = "You don't have enough!";
}
}
Symbol 1155 MovieClip Frame 1
stop();
Symbol 1155 MovieClip Frame 2
stop();
stop();
Symbol 1159 Button
on (rollOver) {
_root.sub.storesub.guytalk.whathesays = "A nice Scorpion VZ61\nPower: 20\nCost: $1000";
}
on (release) {
_root.whatguntobuy = "vz61";
_root.whatguntobuyprice = 500;
_root.checkgun.gotoAndPlay("verify");
}
Symbol 1162 MovieClip Frame 1
stop();
Symbol 1165 MovieClip Frame 1
stop();
Instance of Symbol 609 MovieClip "theStickMan" in Symbol 1165 MovieClip Frame 1
onClipEvent (load) {
numofObjects = 15;
if (int(_root.LocalyLocation) == 0) {
_root.LocalyLocation = _y;
_root.LocalxLocation = _x;
}
_y = _root.LocalyLocation;
_x = _root.LocalxLocation;
speed = 4;
}
onClipEvent (enterFrame) {
if (_currentframe != 2) {
gotoAndStop (2);
}
_root.LocalyLocation = _y;
_root.LocalxLocation = _x;
markX = _x;
markY = _y;
if ((markX + markY) == sum) {
_root.mobile = false;
_root.sub._y = 1;
} else {
_root.mobile = true;
}
sum = markX + markY;
firstAngle = Math.abs(_rotation - 90);
secondAngle = 90 - firstAngle;
firstR = (Math.PI/2) - ((Math.PI * firstAngle) / 180);
secondR = (Math.PI/2) - ((Math.PI * secondAngle) / 180);
if ((this._rotation >= 90) && (this._rotation <= 180)) {
firstR = Math.PI - ((Math.PI * secondAngle) / 180);
secondR = Math.PI - ((Math.PI * firstAngle) / 180);
}
moveDistanceX = speed * Math.sin(firstR);
moveDistanceY = speed * Math.cos(firstR);
if (Key.isDown(39)) {
this._rotation = this._rotation + 10;
}
if (Key.isDown(40)) {
_x = (_x - moveDistanceX);
_y = (_y + moveDistanceY);
n = 1;
while (n <= numofObjects) {
if (this.hitTest(_parent.bgGround["object" + n])) {
Mobile = false;
break;
}
if (n == numofObjects) {
Mobile = true;
}
n++;
}
if (!Mobile) {
_x = (_x + moveDistanceX);
_y = (_y - moveDistanceY);
}
}
if (Key.isDown(38)) {
_x = (_x + moveDistanceX);
_y = (_y - moveDistanceY);
n = 1;
while (n <= numofObjects) {
if (this.hitTest(_parent.bgGround["object" + n])) {
Mobile = false;
break;
}
if (n == numofObjects) {
Mobile = true;
}
n++;
}
if (!Mobile) {
_x = (_x - moveDistanceX);
_y = (_y + moveDistanceY);
}
}
if (Key.isDown(37)) {
this._rotation = this._rotation - 10;
}
}
Symbol 1165 MovieClip Frame 2
if (_root.gunLicense) {
gotoAndStop(_root.whereAmI);
} else {
uname = _root.userName;
stop();
}
Symbol 1165 MovieClip Frame 3
guytalk.whathesays = "Welcome to the Bronx buddy. Your going to need some protection, so why don't you try a few of these babies out?";
Symbol 1165 MovieClip Frame 4
guytalk.whathesays = "Hola amigo. Vendemos estos armas por un precio bajo.";
Symbol 1165 MovieClip Frame 5
guytalk.whathesays = "Yesh lee ma she-ata tzrich!";
Symbol 1165 MovieClip Frame 6
guytalk.whathesays = "Good day old chap! Isn't my British accent so funny?";
if (_root.pabloMission && (!_root.guitarHave)) {
guitar._visible = true;
} else {
guitar._visible = false;
}
Symbol 1165 MovieClip Frame 7
guytalk.whathesays = "Nah nun jo hun jae ryo rur ith dda don ith ssuh myun ka jir ssooh ith ssuh";
Symbol 1165 MovieClip Frame 8
guytalk.whathesays = "Yo.";
Symbol 1165 MovieClip Frame 9
guytalk.whathesays = "We don't have guns in antarctica... I don't even know why I'm here.";
Symbol 1183 MovieClip Frame 1
gotoAndStop(_root.whereAmI);
Instance of Symbol 537 MovieClip in Symbol 1183 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.desk.hitTest(_parent.theStickMan)) {
this.say = "Press spacebar to leave.";
if (Key.isDown(32)) {
_root.sub.gotoAndPlay("explore");
}
} else {
this.say = "";
}
}
Instance of Symbol 1170 MovieClip in Symbol 1183 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.desk.hitTest(_parent.theStickMan)) {
this.say = "Press spacebar to heal.";
if (Key.isDown(32)) {
_parent._parent.gotoAndStop(2);
}
} else {
this.say = "";
}
}
Instance of Symbol 566 MovieClip in Symbol 1183 MovieClip Frame 1
onClipEvent (load) {
gotoAndPlay (5);
}
Instance of Symbol 566 MovieClip in Symbol 1183 MovieClip Frame 1
onClipEvent (load) {
gotoAndStop ("im");
}
Instance of Symbol 566 MovieClip in Symbol 1183 MovieClip Frame 1
onClipEvent (load) {
gotoAndStop ("im");
}
Instance of Symbol 566 MovieClip in Symbol 1183 MovieClip Frame 1
onClipEvent (load) {
gotoAndStop ("im");
}
Instance of Symbol 609 MovieClip "theStickMan" in Symbol 1183 MovieClip Frame 1
onClipEvent (load) {
numofObjects = 15;
if (int(_root.LocalyLocation) == 0) {
_root.LocalyLocation = _y;
_root.LocalxLocation = _x;
}
_y = _root.LocalyLocation;
_x = _root.LocalxLocation;
speed = 2;
}
onClipEvent (enterFrame) {
if (_currentframe != 2) {
gotoAndStop (2);
}
_root.LocalyLocation = _y;
_root.LocalxLocation = _x;
markX = _x;
markY = _y;
if ((markX + markY) == sum) {
_root.mobile = false;
_root.sub._y = 1;
} else {
_root.mobile = true;
}
sum = markX + markY;
firstAngle = Math.abs(_rotation - 90);
secondAngle = 90 - firstAngle;
firstR = (Math.PI/2) - ((Math.PI * firstAngle) / 180);
secondR = (Math.PI/2) - ((Math.PI * secondAngle) / 180);
if ((this._rotation >= 90) && (this._rotation <= 180)) {
firstR = Math.PI - ((Math.PI * secondAngle) / 180);
secondR = Math.PI - ((Math.PI * firstAngle) / 180);
}
moveDistanceX = speed * Math.sin(firstR);
moveDistanceY = speed * Math.cos(firstR);
if (Key.isDown(39)) {
this._rotation = this._rotation + 10;
}
if (Key.isDown(40)) {
_x = (_x - moveDistanceX);
_y = (_y + moveDistanceY);
n = 1;
while (n <= numofObjects) {
if (this.hitTest(_parent["object" + n])) {
Mobile = false;
break;
}
if (n == numofObjects) {
Mobile = true;
}
n++;
}
if (!Mobile) {
_x = (_x + moveDistanceX);
_y = (_y - moveDistanceY);
}
}
if (Key.isDown(38)) {
_x = (_x + moveDistanceX);
_y = (_y - moveDistanceY);
n = 1;
while (n <= numofObjects) {
if (this.hitTest(_parent["object" + n])) {
Mobile = false;
break;
}
if (n == numofObjects) {
Mobile = true;
}
n++;
}
if (!Mobile) {
_x = (_x - moveDistanceX);
_y = (_y + moveDistanceY);
}
}
if (Key.isDown(37)) {
this._rotation = this._rotation - 10;
}
}
Symbol 1186 Button
on (release) {
if (_root.money >= _root.doctorcost) {
_root.money = _root.money - _root.doctorcost;
_root.userhp = _root.hpMax;
_root.daysAddOn = 0.5;
prevFrame();
} else {
error = "You can't afford a doctor man...";
}
}
Symbol 1187 Button
on (release) {
prevFrame();
}
Symbol 1188 MovieClip Frame 1
stop();
Symbol 1188 MovieClip Frame 2
error = ("Costs " + _root.doctorcost) + " to heal.";
stop();
Symbol 1191 Button
on (release) {
itemname = "sedan";
buttonname = "hold" + itemname;
buttonhide = itemname + equip;
if (_root.sub[buttonname]._visible == true) {
_root.itemequipped = itemname;
checkequipitem.gotoAndPlay("check");
}
}
Symbol 1192 Button
on (release) {
itemname = "souteneur";
buttonname = "hold" + itemname;
buttonhide = itemname + equip;
if (_root.sub[buttonname]._visible == true) {
_root.itemequipped = itemname;
checkequipitem.gotoAndPlay("check");
}
}
Symbol 1194 MovieClip Frame 1
_root.zoomfactor = _root[_root.gunequipped + "zoomfactor"];
_root.sub["hold" + _root.gunequipped]._visible = true;
_root.sub["hold" + _root.itemequipped]._visible = true;
_root.sub.gunequipmask._x = _root.sub["hold" + _root.gunequipped]._x;
_root.sub.gunequipmask._y = _root.sub["hold" + _root.gunequipped]._y;
_root.sub.gunequipmask._width = _root.sub["hold" + _root.gunequipped]._width;
_root.sub.gunequipmask._height = _root.sub["hold" + _root.gunequipped]._height;
stop();
Symbol 1194 MovieClip Frame 2
nextFrame();
Symbol 1194 MovieClip Frame 3
_root.power = _root[_root.gunequipped + "power"];
_root.sub.gunequipmask._x = _root.sub["hold" + _root.gunequipped]._x;
_root.sub.gunequipmask._y = _root.sub["hold" + _root.gunequipped]._y;
gotoAndPlay (1);
Symbol 1195 MovieClip Frame 1
stop();
Symbol 1195 MovieClip Frame 2
nextFrame();
Symbol 1195 MovieClip Frame 3
stop();
Symbol 1197 MovieClip Frame 1
_root.speed = _root[_root.itemequipped + "speed"];
_root.sub.itemequipmask._x = _root.sub["hold" + _root.itemequipped]._x;
_root.sub.itemequipmask._y = _root.sub["hold" + _root.itemequipped]._y;
_root.sub.itemequipmask._width = _root.sub["hold" + _root.itemequipped]._width;
_root.sub.itemequipmask._height = _root.sub["hold" + _root.itemequipped]._height;
stop();
Symbol 1197 MovieClip Frame 2
gotoAndPlay (1);
Symbol 1197 MovieClip Frame 3
gotoAndPlay (1);
Symbol 1201 Button
on (release) {
gunname = "eagle";
buttonname = "hold" + gunname;
buttonhide = gunname + equip;
if (_root.sub[buttonname]._visible == true) {
_root.gunequipped = gunname;
checkequip.gotoAndPlay("check");
}
}
Symbol 1202 Button
on (release) {
gunname = "USP";
buttonname = "hold" + gunname;
buttonhide = gunname + equip;
if (_root.sub[buttonname]._visible == true) {
_root.gunequipped = gunname;
checkequip.gotoAndPlay("check");
}
}
Symbol 1203 Button
on (release) {
gunname = "vz61";
buttonname = "hold" + gunname;
buttonhide = gunname + equip;
if (_root.sub[buttonname]._visible == true) {
_root.gunequipped = gunname;
checkequip.gotoAndPlay("check");
}
}
Symbol 1204 Button
on (release) {
gunname = "mp5";
buttonname = "hold" + gunname;
buttonhide = gunname + equip;
if (_root.sub[buttonname]._visible == true) {
_root.gunequipped = gunname;
checkequip.gotoAndPlay("check");
}
}
Symbol 1205 Button
on (release) {
gunname = "m4a1";
buttonname = "hold" + gunname;
buttonhide = gunname + equip;
if (_root.sub[buttonname]._visible == true) {
_root.gunequipped = gunname;
checkequip.gotoAndPlay("check");
}
}
Symbol 1206 Button
on (release) {
gunname = "ak47";
buttonname = "hold" + gunname;
buttonhide = gunname + equip;
if (_root.sub[buttonname]._visible == true) {
_root.gunequipped = gunname;
checkequip.gotoAndPlay("check");
}
}
Symbol 1207 Button
on (release) {
gunname = "g3";
buttonname = "hold" + gunname;
buttonhide = gunname + equip;
if (_root.sub[buttonname]._visible == true) {
_root.gunequipped = gunname;
checkequip.gotoAndPlay("check");
}
}
Symbol 1208 Button
on (release) {
gunname = "awp";
buttonname = "hold" + gunname;
buttonhide = gunname + equip;
if (_root.sub[buttonname]._visible == true) {
_root.gunequipped = gunname;
checkequip.gotoAndPlay("check");
}
}
Symbol 1209 Button
on (release) {
itemname = "bike";
buttonname = "hold" + itemname;
buttonhide = itemname + equip;
if (_root.sub[buttonname]._visible == true) {
_root.itemequipped = itemname;
checkequipitem.gotoAndPlay("check");
}
}
Symbol 1210 Button
on (release) {
itemname = "nike";
buttonname = "hold" + itemname;
buttonhide = itemname + equip;
if (_root.sub[buttonname]._visible == true) {
_root.itemequipped = itemname;
checkequipitem.gotoAndPlay("check");
}
}
Symbol 1211 Button
on (release) {
itemname = "skate";
buttonname = "hold" + itemname;
buttonhide = itemname + equip;
if (_root.sub[buttonname]._visible == true) {
_root.itemequipped = itemname;
checkequipitem.gotoAndPlay("check");
}
}
Symbol 1214 Button
on (release) {
itemname = "slippers";
buttonname = "hold" + itemname;
buttonhide = itemname + equip;
if (_root.sub[buttonname]._visible == true) {
_root.itemequipped = itemname;
checkequipitem.gotoAndPlay("check");
}
}
Symbol 1215 Button
on (release) {
gunname = "paperclip";
buttonname = "hold" + gunname;
buttonhide = gunname + equip;
if (_root.sub[buttonname]._visible == true) {
_root.gunequipped = gunname;
checkequip.gotoAndPlay("check");
}
}
Symbol 1218 Button
on (release) {
_root.sub.gotoAndPlay("mailbox");
}
Symbol 1221 Button
on (release) {
_root.daysAddOn++;
_root.userhp = _root.userhp + 15;
_root.sub.gotoAndPlay("flying");
}
Symbol 1224 Button
on (release) {
_root.sub.gotoAndPlay("workout");
}
Symbol 1251 MovieClip Frame 1
gotoAndStop(_root.whereAmI);
Instance of Symbol 1232 MovieClip in Symbol 1251 MovieClip Frame 1
onClipEvent (load) {
roundit = false;
bam = "" + _root.days;
b = 0;
while (b <= bam.length) {
if (bam.charAt(b) == ".") {
break;
}
if (b == bam.length) {
roundit = true;
}
b++;
}
if (!roundit) {
decimal = bam.substring(b + 1, bam.length);
} else {
decimal = 1;
}
this.gotoAndStop(Math.round(decimal));
}
Symbol 1256 MovieClip Frame 1
stop();
Symbol 1264 MovieClip Frame 1
gotoAndStop (4);
undefined + 1;
Symbol 1273 MovieClip Frame 1
gotoAndStop(_root.whereAmI);
Instance of Symbol 1254 MovieClip in Symbol 1273 MovieClip Frame 1
onClipEvent (load) {
roundit = false;
bam = "" + _root.days;
b = 0;
while (b <= bam.length) {
if (bam.charAt(b) == ".") {
break;
}
if (b == bam.length) {
roundit = true;
}
b++;
}
if (!roundit) {
decimal = bam.substring(b + 1, bam.length);
} else {
decimal = 1;
}
if ((decimal >= 4) && (decimal <= 6)) {
_visible = true;
} else {
_visible = false;
}
}
Symbol 1279 MovieClip Frame 40
_parent._parent.gotoAndPlay(1);
Symbol 1281 MovieClip Frame 1
gotoAndPlay(random(200));
x = 80;
Symbol 1281 MovieClip Frame 198
bighit = false;
Instance of Symbol 1273 MovieClip "theCar" in Symbol 1281 MovieClip Frame 199
onClipEvent (enterFrame) {
_parent.CarX = _x;
_parent.CarY = _y;
if (theCar.hittest(_root.sub.moveIt.theStickMan)) {
if (_parent._parent.theStickMan._currentframe <= 5) {
_root.sub.moveIt.bloodsplatter.gotoAndPlay("blood");
_root.userhp--;
} else if (_root.mobile) {
_parent.bighit = true;
_root.userhp = _root.userhp - 2;
_parent.gotoAndStop("explode");
} else {
_root.userhp--;
}
}
if (!_parent.bighit) {
_parent.x--;
if (_parent.x > 0) {
_parent.theCar._x = _parent.theCar._x + (400 / _parent.x);
_parent.stop();
} else {
_parent.gotoAndPlay(1);
}
}
}
Symbol 1281 MovieClip Frame 201
gotoAndPlay (199);
Symbol 1281 MovieClip Frame 202
Symbol 1281 MovieClip Frame 203
_root.carKills++;
x = 0;
stop();
Instance of Symbol 1273 MovieClip in Symbol 1281 MovieClip Frame 203
onClipEvent (load) {
_x = _parent.CarX;
}
onClipEvent (enterFrame) {
if (_alpha > 0) {
_alpha = (_alpha-1);
}
}
Instance of Symbol 1280 MovieClip in Symbol 1281 MovieClip Frame 203
onClipEvent (load) {
_width = ((_width + Math.abs(_parent._parent.theStickMan.cspeed)) * 2);
_height = (_width + Math.abs(_parent._parent.theStickMan.cspeed));
_x = _parent.CarX;
_y = _parent.CarY;
}
Symbol 1288 MovieClip Frame 1
gotoAndPlay(random(300));
Symbol 1289 MovieClip Frame 1
stop();
if (_root.playSound) {
_root.ambsound.gotoAndStop(_root.weather[0]);
}
gotoAndStop(_root.weather[0]);
Symbol 1345 MovieClip Frame 1
gotoAndStop(_root.whereAmI);
Symbol 1353 MovieClip Frame 1
gotoAndStop(random(5));
Symbol 1370 MovieClip Frame 1
gotoAndStop(_root.whereAmI);
Symbol 1379 MovieClip Frame 1
gotoAndStop(random(3) + 1);
Symbol 1388 MovieClip Frame 1
gotoAndStop (3);
Symbol 1393 MovieClip Frame 1
gotoAndStop(random(3) + 1);
Symbol 1401 MovieClip Frame 1
gotoAndStop(random(3) + 1);
Symbol 1407 MovieClip Frame 1
gotoAndStop(_root.whereAmI);
Symbol 1407 MovieClip Frame 8
stop();
Symbol 1411 MovieClip Frame 1
gotoAndPlay(random(5) + 1);
Symbol 1411 MovieClip Frame 20
gotoAndPlay (2);
Symbol 1413 MovieClip Frame 1
if (random(2) == 0) {
gotoAndStop (2);
} else {
gotoAndPlay (3);
}
Symbol 1417 MovieClip Frame 1
stop();
Symbol 1417 MovieClip Frame 2
_root.sub.moveIt.bloodsplatter._x = _root.sub.moveIt.theStickMan._x;
_root.sub.moveIt.bloodsplatter._y = _root.sub.moveIt.theStickMan._y;
Symbol 1417 MovieClip Frame 40
gotoAndPlay (1);
Symbol 1419 MovieClip Frame 2
_root.xLocation = _parent.theStickMan._x;
_root.yLocation = _parent.theStickMan._y;
if (_root.sub.moveIt.theStickMan._y < -62) {
_root.sub.moveIt.theStickMan._y = -62;
stuck = true;
} else {
stuck = false;
}
if (_root.sub.moveIt.theStickMan._y > 125) {
_root.sub.moveIt.theStickMan._y = 125;
stuck = true;
} else {
stuck = false;
}
if (!stuck) {
}
a = -230;
if (_root.sub.moveIt.theStickMan._x > (430 + a)) {
_root.sub.moveIt.theStickMan._x = _root.sub.moveIt.theStickMan._x - 400;
_root.sub.moveIt.nextFrame();
}
b = -270;
if (_root.sub.moveIt.theStickMan._x < (50 + b)) {
_root.sub.moveIt.theStickMan._x = _root.sub.moveIt.theStickMan._x + 400;
_root.sub.moveIt.prevFrame();
}
Symbol 1419 MovieClip Frame 3
markX = _root.sub.moveIt.theStickMan._x;
markY = _root.sub.moveIt.theStickMan._y;
if ((markX + markY) == sum) {
_root.mobile = false;
_root.sub._y = 1;
} else {
_root.mobile = true;
}
sum = markX + markY;
gotoAndPlay (2);
Symbol 1425 MovieClip Frame 16
stop();
Symbol 1426 MovieClip Frame 1
delay = 1;
Symbol 1426 MovieClip Frame 15
riplcnt = 1;
ripltime = 1;
Symbol 1426 MovieClip Frame 16
ripltime = Number(ripltime) + 1;
breed = int(random(10));
if (Number(breed) == 1) {
riplcnt = Number(riplcnt) + 1;
duplicateMovieClip ("ripple", "ripple" add riplcnt, Number(riplcnt) + Number(/:dropcnt));
}
if (Number(ripltime) >= 10) {
gotoAndStop (18);
}
Symbol 1426 MovieClip Frame 17
gotoAndPlay (16);
Symbol 1426 MovieClip Frame 18
delay = Number(delay) + 1;
Symbol 1426 MovieClip Frame 19
if (Number(delay) < 30) {
gotoAndPlay (18);
} else {
gotoAndStop (20);
}
Symbol 1426 MovieClip Frame 20
removeMovieClip("");
stop();
Symbol 1427 MovieClip Frame 1
if ((_root.weather[0] == "rain") || (_root.weather[0] == "thunderstorms")) {
dropcnt = 1;
} else {
stop();
}
Symbol 1427 MovieClip Frame 2
dropbreed = int(random(2));
if (Number(dropbreed) == 1) {
dropcnt = Number(dropcnt) + 1;
duplicateMovieClip ("/all", "all" add dropcnt, dropcnt);
setProperty("/all" add dropcnt, _x , random(500));
setProperty("/all" add dropcnt, _y , Number(random(300)) + 150);
}
if (Number(dropcnt) > 500) {
dropcnt = 1;
}
Symbol 1427 MovieClip Frame 3
gotoAndPlay (2);
Symbol 1450 MovieClip Frame 1
gotoAndStop(_root.whereAmI);
Symbol 1452 MovieClip Frame 1
stop();
Symbol 1456 Button
on (keyPress "<Space>") {
rootSay = "Press spacebar to visit";
if (whatStore != "none") {
_root.sub.gotoAndPlay(whatStore);
}
}
Symbol 1465 MovieClip Frame 1
stop();
Symbol 1465 MovieClip Frame 2
stop();
Instance of Symbol 1465 MovieClip in Symbol 1466 MovieClip Frame 1
onClipEvent (load) {
if ((_parent._parent.darkness._currentframe >= 3) && (_parent._parent.darkness._currentframe <= 6)) {
stop();
} else {
gotoAndStop (2);
}
}
Symbol 1470 MovieClip Frame 1
if (_root.whereAmI == "South America") {
nextFrame();
} else {
stop();
}
Symbol 1470 MovieClip Frame 2
if (_root.pabloCompletion) {
guitar._visible = true;
} else {
guitar._visible = false;
}
stop();
Symbol 1486 MovieClip Frame 1
gotoAndStop(_root.whereAmI);
Symbol 1495 MovieClip Frame 1
gotoAndStop(_root.whereAmI);
Symbol 1507 MovieClip Frame 1
gotoAndStop(_root.whereAmI);
Symbol 1539 MovieClip Frame 1
gotoAndStop(_root.whereAmI);
Symbol 1543 MovieClip Frame 1
if (_root.whereAmI != "Africa") {
nextFrame();
} else {
stop();
}
Symbol 1584 MovieClip Frame 1
gotoAndStop(_root.whereAmI);
Symbol 1599 MovieClip Frame 1
gotoAndStop(_root.whereAmI);
Symbol 1615 MovieClip Frame 1
gotoAndStop(_root.whereAmI);
Symbol 1636 MovieClip Frame 1
gotoAndStop(_root.whereAmI);
gotoAndStop(_root.whereAmI);
Symbol 1639 MovieClip Frame 1
if (_root.whereAmI != "Asia") {
nextFrame();
} else {
stop();
}
Symbol 1652 MovieClip Frame 1
if ((_root.days % 7) == 0) {
nextFrame();
} else {
stop();
}
Symbol 1652 MovieClip Frame 2
stop();
Symbol 1658 MovieClip Frame 1
gotoAndStop(_root.whereAmI);
Symbol 1679 MovieClip Frame 1
gotoAndPlay(random(570));
Symbol 1679 MovieClip Frame 570
gotoAndPlay (2);
Symbol 1683 MovieClip Frame 1
flight = _root.whereAmI + " Flight";
Symbol 1697 MovieClip Frame 1
gotoAndStop(_root.whereAmI);
Symbol 1700 MovieClip Frame 1
if (!Bernsteinpaid) {
if (_root.whereAmI == "North America") {
if (_root.MackDead != true) {
gotoAndPlay (2);
}
} else {
stop();
}
} else {
stop();
}
Symbol 1700 MovieClip Frame 2
stop();
Symbol 1713 MovieClip Frame 1
gotoAndStop(_root.whereAmI);
Symbol 1714 MovieClip Frame 1
description = "Welcome to " + _root.whereAmI;
if (_root.myPlace != 2) {
gotoAndPlay (4);
} else {
gotoAndPlay (5);
}
stop();
speed = _root.speed;
startDrag (stickmover, true);
Instance of Symbol 1281 MovieClip in Symbol 1714 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent._currentframe != p) {
this.gotoAndPlay(1);
}
p = _parent._currentframe;
}
Instance of Symbol 1281 MovieClip in Symbol 1714 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent._currentframe != p) {
this.gotoAndPlay(1);
}
p = _parent._currentframe;
}
Instance of Symbol 1281 MovieClip in Symbol 1714 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent._currentframe != p) {
this.gotoAndPlay(1);
}
p = _parent._currentframe;
}
Instance of Symbol 1413 MovieClip "birds" in Symbol 1714 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent._currentframe != p) {
this.gotoAndPlay(1);
}
p = _parent._currentframe;
}
Instance of Symbol 27 MovieClip [badguy] "badguy3" in Symbol 1714 MovieClip Frame 1
onClipEvent (load) {
_x = random(200);
_y = random(200);
if (_root.wantedCheck()) {
if (random(2) == 0) {
this._visible = true;
}
} else {
_visible = false;
this.removeMovieClip();
}
turnease = 10;
speed = 1;
endx = 0;
endy = 0;
}
onClipEvent (enterFrame) {
if (currentF != _parent._currentframe) {
_x = random(200);
_y = random(200);
if (_currentframe != 1) {
gotoAndStop (1);
}
if (_root.wantedCheck()) {
if (random(2) == 0) {
this._visible = true;
}
} else {
_visible = false;
}
turnease = 10;
speed = 1;
endx = 0;
endy = 0;
}
if (_currentframe < 5) {
currentF = _parent._currentframe;
endx = endx + ((_parent.theStickMan._x - endx) / turnease);
endy = endy + ((_parent.theStickMan._y - endy) / turnease);
x = endx - _x;
y = endy - _y;
finalAngle = int(((Math.atan2(y, x) * 180) / 3.141593) + 90);
if (finalAngle < 0) {
finalAngle = finalAngle + 360;
}
_rotation = finalAngle;
if (!hitTest(_parent.theStickMan)) {
this.gotoAndPlay("walk");
_x = (_x + (Math.sin(_rotation * 0.017453) * speed));
_y = (_y - (Math.cos(_rotation * 0.017453) * speed));
} else {
this.gotoAndPlay("attack");
}
}
}
Instance of Symbol 27 MovieClip [badguy] "badguy2" in Symbol 1714 MovieClip Frame 1
onClipEvent (load) {
_x = random(200);
_y = random(200);
if (_root.wantedCheck()) {
if (random(2) == 0) {
this._visible = true;
}
} else {
_visible = false;
this.removeMovieClip();
}
turnease = 10;
speed = 1;
endx = 0;
endy = 0;
}
onClipEvent (enterFrame) {
if (currentF != _parent._currentframe) {
_x = random(200);
_y = random(200);
if (_currentframe != 1) {
gotoAndStop (1);
}
if (_root.wantedCheck()) {
if (random(2) == 0) {
this._visible = true;
}
} else {
_visible = false;
}
turnease = 10;
speed = 1;
endx = 0;
endy = 0;
}
if (_currentframe < 5) {
currentF = _parent._currentframe;
endx = endx + ((_parent.theStickMan._x - endx) / turnease);
endy = endy + ((_parent.theStickMan._y - endy) / turnease);
x = endx - _x;
y = endy - _y;
finalAngle = int(((Math.atan2(y, x) * 180) / 3.141593) + 90);
if (finalAngle < 0) {
finalAngle = finalAngle + 360;
}
_rotation = finalAngle;
if (!hitTest(_parent.theStickMan)) {
this.gotoAndPlay("walk");
_x = (_x + (Math.sin(_rotation * 0.017453) * speed));
_y = (_y - (Math.cos(_rotation * 0.017453) * speed));
} else {
this.gotoAndPlay("attack");
}
}
}
Instance of Symbol 27 MovieClip [badguy] "badguy1" in Symbol 1714 MovieClip Frame 1
onClipEvent (load) {
_x = random(200);
_y = random(200);
if (_root.wantedCheck()) {
if (random(2) == 0) {
this._visible = true;
}
} else {
_visible = false;
this.removeMovieClip();
}
turnease = 10;
speed = 1;
endx = 0;
endy = 0;
}
onClipEvent (enterFrame) {
if (currentF != _parent._currentframe) {
_x = random(200);
_y = random(200);
if (_currentframe != 1) {
gotoAndStop (1);
}
if (_root.wantedCheck()) {
if (random(2) == 0) {
this._visible = true;
}
} else {
_visible = false;
}
turnease = 10;
speed = 1;
endx = 0;
endy = 0;
}
if (_currentframe < 5) {
currentF = _parent._currentframe;
endx = endx + ((_parent.theStickMan._x - endx) / turnease);
endy = endy + ((_parent.theStickMan._y - endy) / turnease);
x = endx - _x;
y = endy - _y;
finalAngle = int(((Math.atan2(y, x) * 180) / 3.141593) + 90);
if (finalAngle < 0) {
finalAngle = finalAngle + 360;
}
_rotation = finalAngle;
if (!hitTest(_parent.theStickMan)) {
this.gotoAndPlay("walk");
_x = (_x + (Math.sin(_rotation * 0.017453) * speed));
_y = (_y - (Math.cos(_rotation * 0.017453) * speed));
} else {
this.gotoAndPlay("attack");
}
}
}
Instance of Symbol 27 MovieClip [badguy] "badguy1" in Symbol 1714 MovieClip Frame 1
onClipEvent (load) {
_x = random(200);
_y = random(200);
if (_root.wantedCheck()) {
if (random(2) == 0) {
this._visible = true;
}
} else {
_visible = false;
this.removeMovieClip();
}
turnease = 10;
speed = 1;
endx = 0;
endy = 0;
}
onClipEvent (enterFrame) {
if (currentF != _parent._currentframe) {
_x = random(200);
_y = random(200);
if (_currentframe != 1) {
gotoAndStop (1);
}
if (_root.wantedCheck()) {
if (random(2) == 0) {
this._visible = true;
}
} else {
_visible = false;
}
turnease = 10;
speed = 1;
endx = 0;
endy = 0;
}
if (_currentframe < 5) {
currentF = _parent._currentframe;
endx = endx + ((_parent.theStickMan._x - endx) / turnease);
endy = endy + ((_parent.theStickMan._y - endy) / turnease);
x = endx - _x;
y = endy - _y;
finalAngle = int(((Math.atan2(y, x) * 180) / 3.141593) + 90);
if (finalAngle < 0) {
finalAngle = finalAngle + 360;
}
_rotation = finalAngle;
if (!hitTest(_parent.theStickMan)) {
this.gotoAndPlay("walk");
_x = (_x + (Math.sin(_rotation * 0.017453) * speed));
_y = (_y - (Math.cos(_rotation * 0.017453) * speed));
} else {
this.gotoAndPlay("attack");
}
}
}
Instance of Symbol 609 MovieClip "theStickMan" in Symbol 1714 MovieClip Frame 1
onClipEvent (load) {
yStart = _y;
theStickMan._y = _root.yLocation;
theStickMan._x = _root.xLocation;
speed = _parent.speed;
cspeed = 0;
maxSpeed = _parent.speed;
down = false;
up = true;
ease = 5;
}
onClipEvent (enterFrame) {
_width = r;
_height = r;
}
onClipEvent (enterFrame) {
if (((_currentframe == 6) || (_currentframe == 7)) || (_currentframe == 3)) {
firstAngle = Math.abs(_rotation - 90);
secondAngle = 90 - firstAngle;
firstR = (Math.PI/2) - ((Math.PI * firstAngle) / 180);
secondR = (Math.PI/2) - ((Math.PI * secondAngle) / 180);
if ((this._rotation >= 90) && (this._rotation <= 180)) {
firstR = Math.PI - ((Math.PI * secondAngle) / 180);
secondR = Math.PI - ((Math.PI * firstAngle) / 180);
}
moveDistanceX = cspeed * Math.sin(firstR);
moveDistanceY = cspeed * Math.cos(firstR);
if (Key.isDown(39)) {
this._rotation = this._rotation + cspeed;
}
if (Key.isDown(40)) {
cspeed = cspeed - 0.2;
}
if (Key.isDown(38)) {
cspeed = cspeed + 0.2;
}
if (Key.isDown(37)) {
this._rotation = this._rotation - cspeed;
}
if (cspeed < -0.1) {
up = false;
down = true;
cspeed = cspeed + 0.1;
} else if (cspeed > 0.1) {
up = true;
down = false;
cspeed = cspeed - 0.1;
} else {
_root.mobile = false;
cspeed = 0;
}
if (cspeed < (-maxSpeed)) {
cspeed = -maxSpeed;
} else if (cspeed > maxSpeed) {
cspeed = maxSpeed;
}
moveDistanceX = cspeed * Math.sin(firstR);
moveDistanceY = cspeed * Math.cos(firstR);
_x = (_x + moveDistanceX);
_y = (_y - moveDistanceY);
} else {
firstAngle = Math.abs(_rotation - 90);
secondAngle = 90 - firstAngle;
firstR = (Math.PI/2) - ((Math.PI * firstAngle) / 180);
secondR = (Math.PI/2) - ((Math.PI * secondAngle) / 180);
if ((this._rotation >= 90) && (this._rotation <= 180)) {
firstR = Math.PI - ((Math.PI * secondAngle) / 180);
secondR = Math.PI - ((Math.PI * firstAngle) / 180);
}
moveDistanceX = speed * Math.sin(firstR);
moveDistanceY = speed * Math.cos(firstR);
if (Key.isDown(39)) {
this._rotation = this._rotation + 10;
}
if (Key.isDown(40)) {
_x = (_x - moveDistanceX);
_y = (_y + moveDistanceY);
}
if (Key.isDown(38)) {
_x = (_x + moveDistanceX);
_y = (_y - moveDistanceY);
}
if (Key.isDown(37)) {
this._rotation = this._rotation - 10;
}
}
}
Instance of Symbol 1450 MovieClip in Symbol 1714 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitTest(_parent.theStickMan)) {
if (_alpha > 50) {
_alpha = (_alpha-1);
}
} else if (_alpha < 100) {
_alpha = (_alpha+1);
}
}
Instance of Symbol 1457 MovieClip in Symbol 1714 MovieClip Frame 1
onClipEvent (load) {
whatStore = "none";
}
onClipEvent (enterFrame) {
rootSay = "Press spacebar to visit";
if (_root.sub.moveIt.theStickMan.hittest(_root.sub.moveIt.pablo)) {
whatStore = "mack";
_root.whatPerson = "pablo";
} else if (_root.sub.moveIt.theStickMan.hittest(_root.sub.moveIt.karatemission)) {
whatStore = "karatemission";
} else if (_root.sub.moveIt.theStickMan.hittest(_root.sub.moveIt.dvdstore)) {
whatStore = "dvdstore";
} else if (_root.sub.moveIt.theStickMan.hittest(_root.sub.moveIt.sniper)) {
whatStore = "sniper";
} else if (_root.sub.moveIt.theStickMan.hittest(_root.sub.moveIt.newspaper)) {
whatStore = "newspaper";
} else if (_root.sub.moveIt.theStickMan.hittest(_root.sub.moveIt.hospital)) {
whatStore = "hospital";
} else if (_root.sub.moveIt.theStickMan.hittest(_root.sub.moveIt.arcade)) {
whatStore = "arcade";
} else if (_root.sub.moveIt.theStickMan.hittest(_root.sub.moveIt.casino)) {
whatStore = "casino";
} else if (_root.sub.moveIt.theStickMan.hittest(_root.sub.moveIt.gunshop)) {
whatStore = "gunshop";
} else if (_root.sub.moveIt.theStickMan.hittest(_root.sub.moveIt.jail)) {
rootSay = "";
whatStore = "jail";
} else if (_root.sub.moveIt.theStickMan.hittest(_root.sub.moveIt.airport)) {
whatStore = "airport";
} else if (_root.sub.moveIt.theStickMan.hittest(_root.sub.moveIt.market)) {
whatStore = "market";
} else if (_root.sub.moveIt.theStickMan.hittest(_root.sub.moveIt.yourchar)) {
whatStore = "yourchar";
} else if (_root.sub.moveIt.theStickMan.hittest(_root.sub.moveIt.trivia)) {
whatStore = "trivia";
} else if (_root.sub.moveIt.theStickMan.hittest(_root.sub.moveIt.Mack)) {
whatStore = "mack";
_root.whatPerson = "mack";
} else if (_root.sub.moveIt.theStickMan.hittest(_root.sub.moveIt.work)) {
whatStore = "work";
} else if (_root.sub.moveIt.theStickMan.hittest(_root.sub.moveIt.school)) {
whatStore = "school";
} else if (_root.sub.moveIt.theStickMan.hittest(_root.sub.moveIt.forest)) {
whatStore = "forest";
} else if (_root.sub.moveIt.theStickMan.hittest(_root.sub.moveIt.bank)) {
whatStore = "bank";
} else {
rootSay = "";
whatStore = "none";
}
noneline = "Welcome to " + _root.whereAmI;
dvdstoreline = "the DVD store to trade and sell DVDs!";
if (whatStore == "mack") {
if (_root.whatPerson == "mack") {
mackline = "Mack to pay off your debt to Mr. Bernstein";
} else if (_root.whatPerson == "pablo") {
mackline = "Pablo";
}
}
karatemissionline = "Samurai Master Yomotomy Hideyoshi";
hospitalline = "the hospital to buy medicine!";
arcadeline = "the arcade to play games for money!";
casinoline = "the casino to gamble!";
gunshopline = "the gun store to buy guns!";
bankline = "the bank to store or steal money!";
jailline = "This is the jailhouse.";
airportline = "the airport to fly to another continent.";
marketline = "the store to buy items.";
yourcharline = "your hotel to equip items and weapons.";
newspaperline = "the newspaper to see the world news";
trivialine = "the restaurant to order food or play team trivia";
workline = "K2xL Software to work for money if you're broke.";
schoolline = "the school to raise your intelligence";
pabloline = "Pablo.";
forestline = "the forest to battle random enemies.";
sniperline = "to visit your old friend Mustafa";
_root.sub.moveIt.description = (rootSay + " ") + eval ([whatStore + "line"]);
if (_root.userhp <= 0) {
_root.sub.gotoAndPlay("death");
}
}
Instance of Symbol 1460 MovieClip "darkness" in Symbol 1714 MovieClip Frame 1
onClipEvent (load) {
roundit = false;
bam = "" + _root.days;
b = 0;
while (b <= bam.length) {
if (bam.charAt(b) == ".") {
break;
}
if (b == bam.length) {
roundit = true;
}
b++;
}
if (!roundit) {
decimal = bam.substring(b + 1, bam.length);
} else {
decimal = 1;
}
this.gotoAndStop(Math.round(decimal));
}
Symbol 1714 MovieClip Frame 2
_root.myPlace = 2;
cars.gotoAndPlay(1);
bloodsplatter.gotoAndPlay(40);
stop();
Symbol 1714 MovieClip Frame 3
_root.myPlace = 3;
cars.gotoAndPlay(1);
bloodsplatter.gotoAndPlay(40);
stop();
Instance of Symbol 1584 MovieClip in Symbol 1714 MovieClip Frame 3
onClipEvent (enterFrame) {
if (hitTest(_parent.theStickMan)) {
if (_alpha > 50) {
_alpha = (_alpha-1);
}
} else if (_alpha < 100) {
_alpha = (_alpha+1);
}
}
Symbol 1714 MovieClip Frame 4
_root.myPlace = 4;
cars.gotoAndPlay(1);
bloodsplatter.gotoAndPlay(40);
stop();
Instance of Symbol 1658 MovieClip in Symbol 1714 MovieClip Frame 4
onClipEvent (enterFrame) {
if (hitTest(_parent.theStickMan)) {
if (_alpha > 50) {
_alpha = (_alpha-1);
}
} else if (_alpha < 100) {
_alpha = (_alpha+1);
}
}
Symbol 1714 MovieClip Frame 5
_root.myPlace = 5;
cars.gotoAndPlay(1);
bloodsplatter.gotoAndPlay(40);
stop();
Instance of Symbol 1713 MovieClip in Symbol 1714 MovieClip Frame 5
onClipEvent (enterFrame) {
if (hitTest(_parent.theStickMan)) {
if (_alpha > 50) {
_alpha = (_alpha-1);
}
} else if (_alpha < 100) {
_alpha = (_alpha+1);
}
}
Instance of Symbol 1452 MovieClip "work" in Symbol 1714 MovieClip Frame 5
onClipEvent (load) {
if (_root.whereAmI != "North America") {
nextFrame();
} else {
stop();
}
}
Symbol 1714 MovieClip Frame 6
gotoAndPlay (2);
Symbol 1714 MovieClip Frame 10
theStickMan._y = _root.yLocation;
theStickMan._x = _root.xLocation;
gotoAndPlay(_root.myPlace);
Symbol 1722 Button
on (rollOver) {
_root.sub.itemdescription = "Hold up to 600 dvds. $2000";
}
on (release) {
_root.sub.buypouchPrice = 2000;
_root.sub.buypouchHold = 600;
sure._visible = true;
}
Symbol 1725 Button
on (rollOver) {
_root.sub.itemdescription = "Hold up to 800 dvds. $3500";
}
on (release) {
_root.sub.buypouchPrice = 3500;
_root.sub.buypouchHold = 800;
sure._visible = true;
}
Symbol 1728 Button
on (rollOver) {
_root.sub.itemdescription = "Hold up to 1000 dvds. $6000";
}
on (release) {
_root.sub.buypouchPrice = 6000;
_root.sub.buypouchHold = 2000;
sure._visible = true;
}
Symbol 1730 Button
on (release) {
if (_root.sub.buypouchPrice > _root.money) {
error = "You don't got enough cash!";
} else if (_root.dvdCapacity == _root.sub.buypouchHold) {
error = "You already have this pouch!";
} else {
_root.dvdCapacity = _root.sub.buypouchHold;
_root.money = _root.money - _root.sub.buypouchPrice;
_root.sub.sure._visible = false;
error = "";
}
}
Symbol 1732 Button
on (release) {
error = "";
_root.sub.sure._visible = false;
}
Symbol 1738 Button
on (rollOver) {
_root.sub.itemdescription = "Heal up your hp during a battle.";
}
on (release) {
if (_root.money >= 500) {
_root.money = _root.money - 500;
_root.rpgHeal = true;
healbutton._visible = false;
} else {
itemdescription = "You ain't go enough money!";
}
}
Symbol 1742 Button
on (rollOver) {
_root.sub.itemdescription = "Charge up your attack during a battle.";
}
on (release) {
if (_root.money >= 3000) {
_root.money = _root.money - 3000;
_root.rpgCharge = true;
chargebutton._visible = false;
} else {
itemdescription = "You ain't go enough money!";
}
}
Symbol 1746 Button
on (rollOver) {
_root.sub.itemdescription = "The Sedan. Cost: $15000";
}
on (release) {
error = "";
_root.whatitemtobuy = "sedan";
_root.whatitemtobuyprice = 15000;
_root.whatitem.gotoAndPlay("verify");
}
Symbol 1751 Button
on (release) {
if (_root.money < nacost) {
error = "Can't afford to travel there!";
} else {
_root.flying = true;
_root.money = _root.money - nacost;
_root.daysAddOn = _root.daysAddOn + nadays;
sadays = 1;
mdays = 1;
afdays = 1;
edays = 1;
adays = 1;
nadays = 1;
nacost = 0;
nadays = 0;
sacost = 50;
acost = 100;
adays = 2;
mcost = 100;
afcost = 80;
afdays = 2;
ecost = 100;
_root.whereAmI = "North America";
gotoAndPlay ("flying");
}
}
Symbol 1753 Button
on (release) {
if (_root.money < sacost) {
error = "Can't afford to travel there!";
} else {
_root.flying = true;
_root.money = _root.money - sacost;
_root.daysAddOn = _root.daysAddOn + sadays;
sadays = 1;
mdays = 1;
afdays = 1;
edays = 1;
adays = 1;
nadays = 1;
nacost = 50;
sacost = 0;
sadays = 0;
acost = 100;
adays = 2;
mcost = 100;
mdays = 2;
afcost = 80;
ecost = 100;
edays = 2;
_root.whereAmI = "South America";
gotoAndPlay ("flying");
}
}
Symbol 1755 Button
on (release) {
if (_root.money < acost) {
error = "Can't afford to travel there!";
} else {
_root.flying = true;
_root.money = _root.money - acost;
_root.daysAddOn = _root.daysAddOn + adays;
sadays = 1;
mdays = 1;
afdays = 1;
edays = 1;
adays = 1;
nadays = 1;
sacost = 100;
sadays = 2;
nacost = 100;
nadays = 2;
mcost = 75;
acost = 0;
adays = 0;
afcost = 80;
ecost = 100;
_root.whereAmI = "Asia";
gotoAndPlay ("flying");
}
}
Symbol 1757 Button
on (release) {
if (_root.money < mcost) {
error = "Can't afford to travel there!";
} else {
_root.flying = true;
_root.money = _root.money - mcost;
_root.daysAddOn = _root.daysAddOn + mdays;
sadays = 1;
mdays = 1;
afdays = 1;
edays = 1;
adays = 1;
nadays = 1;
sacost = 100;
nacost = 100;
mcost = 0;
mdays = 0;
acost = 50;
afcost = 50;
ecost = 75;
_root.whereAmI = "Middle East";
gotoAndPlay ("flying");
}
}
Symbol 1759 Button
on (release) {
if (_root.money < afcost) {
error = "Can't afford to travel there!";
} else {
_root.flying = true;
_root.money = _root.money - afcost;
_root.daysAddOn = _root.daysAddOn + afdays;
sadays = 1;
mdays = 1;
afdays = 1;
edays = 1;
adays = 1;
nadays = 1;
sacost = 100;
nacost = 100;
mcost = 50;
acost = 60;
adays = 2;
afcost = 0;
afdays = 0;
ecost = 125;
_root.whereAmI = "Africa";
gotoAndPlay ("flying");
}
}
Symbol 1761 Button
on (release) {
if (_root.money < ecost) {
error = "Can't afford to travel there!";
} else {
_root.flying = true;
_root.money = _root.money - ecost;
_root.daysAddOn = _root.daysAddOn + edays;
sadays = 1;
mdays = 1;
afdays = 1;
edays = 1;
adays = 1;
nadays = 1;
sacost = 110;
sadays = 2;
nacost = 110;
nadays = 2;
mcost = 75;
acost = 60;
afcost = 75;
ecost = 0;
edays = 0;
_root.whereAmI = "Europe";
gotoAndPlay ("flying");
}
}
Symbol 1790 Button
on (release) {
_root.flying = true;
_root.daysAddOn = _root.daysAddOn + 1;
sadays = 1;
mdays = 2;
afdays = 1;
edays = 2;
adays = 2;
nadays = 2;
nacost = 50;
sacost = 50;
acost = 50;
mcost = 50;
afcost = 50;
ecost = 50;
_root.whereAmI = "Antarctica";
gotoAndPlay ("flying");
}
Symbol 1795 Button
on (release) {
_root.soundChecker.gotoAndPlay("check");
_parent.gotoAndPlay("flying");
}
Symbol 1798 Button
on (release) {
getURL ("http://www.k2xl.com/games/StickWorld/credits.html");
}
Symbol 1801 MovieClip Frame 120
stop();
Instance of Symbol 1792 MovieClip in Symbol 1802 MovieClip Frame 1
onClipEvent (load) {
credits = "Stick World\n\nDeveloped by Danny Miller\n\nComplete list of credits should open in new window.";
credit.autoSize = "center";
_y = Stage.height;
}
onClipEvent (enterFrame) {
if ((_y + credit._height) < 0) {
_parent.nextFrame();
}
_y = (_y-1);
}
Symbol 1802 MovieClip Frame 2
getURL ("http://www.k2xlgames.com/games/StickWorld/credits.html", "_blank");
stop();
Symbol 1803 Button
on (release) {
_root.sub.gotoAndPlay("flying");
}
Symbol 1806 MovieClip Frame 1
_root.userhp = _root.hpMax;
if (_root.payLoan) {
_root.loanMoney = _root.loanMoney - _root.money;
if (_root.loanMoney <= 0) {
_root.loanMoney = 0;
_root.loanDeadLine = false;
_root.payLoan = false;
}
}
_root.money = 0;
_root.sub["hold" + _root.gunequipped]._visible = false;
_root.gunequipped = "paperclip";
_root.daysAddOn = _root.daysAddOn + 1;
Symbol 1813 Button
on (release) {
newspaper.scroll = newspaper.scroll + 5;
}
Symbol 1814 Button
on (release) {
newspaper.scroll = newspaper.scroll - 5;
}
Symbol 1815 MovieClip Frame 1
newspaper = _root.newsreport;
forecast = "Your world weekly forecast...\n\n" + _root.weatherReport.toUpperCase();
Symbol 1818 Button
on (release) {
mailBox.scroll = mailBox.scroll + 5;
}
Symbol 1819 Button
on (release) {
mailBox.scroll = mailBox.scroll - 5;
}
Symbol 1820 MovieClip Frame 1
stop();
mailBox = "";
MailNum = 0;
if (((_root.days >= 70) && (_root.days < 100)) && (!_root.Bernsteinpaid)) {
mailNum++;
mailBox = mailBox + (((((((("Message: " + mailNum) + "\nFrom: Mack\nSubject: Pay up times\nBody:\n") + _root.username) + ",\nYou've only got ") + (100 - _root.daysInt)) + " to pay up the $") + _root.BernsteinMoney) + " for Mr. Bernstein. If you have the money to pay him off, meet me at the North American Airport.");
}
if ((_root.daysInt % 7) == 0) {
mailNum++;
mailBox = mailBox + (((("\n\nMessage: " + mailNum) + "\nFrom: The Local Restaurant\nSubject: Trivia Night Tonight\nBody:\nDear ") + _root.username) + ",\nTonight is Trivia Night at the local restaurant! Go check it out and enter to win prize money.");
}
if (_root.bossMission == true) {
if (!_root.BossCompletion) {
mailNum++;
mailBox = mailBox + (((("\n\nMessage: " + mailNum) + "\nFrom: Your boss\nSubject: Your mission\nBody:\n") + _root.username) + ",\nRemember, he is supposed to be somewhere in South America. Do whatever you have to do to get the blueprints.");
}
}
if (_root.pabloMission == true) {
if (!_root.pabloCompletion) {
mailNum++;
mailBox = mailBox + (("\n\nMessage: " + mailNum) + "\nFrom: Pablo\nSubject: My Guitar\nBody:\n\nMy guitar. I miss it so much. Please keep looking. It should be in Europe somewhere.");
}
}
if ((_root.daysInt % 10) == 0) {
mailNum++;
mailBox = mailBox + (((("\n\nMessage: " + mailNum) + "\nFrom: Your Boss\nSubject: Payday\nBody:\nDear ") + _root.username) + ",\nToday's payday. Go by K2xL Software Building.");
}
if (_root.loanDeadLine) {
mailNum++;
mailBox = mailBox + (((("\n\nMessage: " + mailNum) + "\nFrom: Int. Bank\nSubject: Payment\nBody:\nDear ") + _root.userName) + "\n\tThis letter is to inform you that your loan deadline has passed. Please pay your loan or furthur action will be taken (that means those guys who chase you around won't stop chasing you).");
} else {
mailNum++;
if (_root.payLoan) {
if ((_root.loanDate - _root.days) == 0) {
mailBox = mailBox + (((("\n\nMessage: " + mailNum) + "\nFrom: Int. Bank\nSubject: Payment\nBody:\nDear ") + _root.userName) + "\n\tThis letter is to inform you that your loan is due today");
} else {
mailBox = mailBox + (((((("\n\nMessage: " + mailNum) + "\nFrom: Int. Bank\nSubject: Payment\nBody:\nDear ") + _root.userName) + "\n\tThis letter is to inform you that your loan will be due in ") + (_root.loanDate - _root.daysInt)) + " days");
}
}
}
Symbol 1823 Button
on (release) {
_root.sub.gotoAndPlay("yourchar");
}
Symbol 1827 Button
on (release) {
gotoAndPlay ("slots");
}
Symbol 1830 Button
on (release) {
gotoAndPlay ("craps");
}
Symbol 1833 Button
on (release) {
if (_root.money >= 100) {
_root.money = _root.money - 100;
_root.slotPlayed++;
gotoAndPlay (2);
} else {
error = "You don't have enough money!";
}
}
Symbol 1842 MovieClip Frame 1
theSlot = random(9);
Symbol 1842 MovieClip Frame 2
gotoAndPlay (1);
Symbol 1842 MovieClip Frame 3
stop();
Symbol 1844 Button
on (release) {
if (slot1._currentframe <= 2) {
slot1.gotoAndPlay(3);
} else if (slot2._currentframe <= 2) {
slot2.gotoAndPlay(3);
} else if (slot3._currentframe <= 2) {
slot3.gotoAndPlay(3);
gotoAndPlay (4);
}
}
Symbol 1846 Button
on (release) {
gotoAndPlay (1);
}
Symbol 1848 MovieClip Frame 1
thetimes = "Times played: " + _root.slotPlayed;
stop();
Symbol 1848 MovieClip Frame 2
jackpot = 10000;
stop();
stop();
Symbol 1848 MovieClip Frame 4
Num1 = slot1.theSlot;
Num2 = slot2.theSlot;
Num3 = slot3.theSlot;
if (((Num1 == 7) && (Num2 == 7)) && (Num3 == 7)) {
tmessage = ("GOLD JACKPOT!!!\nYOU WON " + jackpot) + " bucks!!!";
_root.money = _root.money + jackpot;
} else if ((Num1 == Num2) && (Num2 == Num3)) {
tmessage = ("SILVER JACKPOT!!!\nYOU WON " + (jackpot / 2)) + " bucks!!!";
_root.money = _root.money + (jackpot / 2);
} else if (Num1 == Num2) {
tmessage = ("BRONZE JACKPOT!!!\nYOU WON " + (jackpot / 40)) + " bucks!!!";
_root.money = _root.money + (jackpot / 40);
} else if (Num2 == Num3) {
tmessage = ("BRONZE JACKPOT!!!\nYOU WON " + (jackpot / 40)) + " bucks!!!";
_root.money = _root.money + (jackpot / 40);
} else if (Num1 == Num3) {
tmessage = ("BRONZE JACKPOT!!!\nYOU WON " + (jackpot / 40)) + " bucks!!!";
_root.money = _root.money + (jackpot / 40);
} else {
tmessage = "Ah, none were the same. Try again!";
}
stop();
Symbol 1856 Button
on (release) {
_root.daysAddOn = 0.1;
nextFrame();
}
Symbol 1857 Button
on (release) {
_parent.gotoAndStop(1);
}
Symbol 1859 Button
on (release) {
dice1.gotoAndPlay("roll");
dice2.gotoAndPlay("roll");
rolled = true;
rollButton._visible = false;
}
Symbol 1863 Button
on (release) {
daysAddOn = 0.1;
theBet = bet;
betting._visible = false;
Ok._visible = false;
street._visible = false;
rollButton._visible = true;
}
Symbol 1872 MovieClip Frame 1
if (x < 1) {
stop();
}
Symbol 1872 MovieClip Frame 7
if (int(x) == 0) {
x = 0;
}
if (x < 15) {
x++;
gotoAndPlay(random(6) + 1);
} else {
x = 0;
gotoAndStop(random(6) + 1);
}
Symbol 1874 MovieClip Frame 1
stop();
Symbol 1874 MovieClip Frame 2
stop();
Instance of Symbol 1865 MovieClip in Symbol 1874 MovieClip Frame 2
onClipEvent (load) {
_parent.rollButton._visible = false;
_parent.rolled = false;
_parent.firstRoll = true;
_parent.Ok._visible = false;
UserWin = false;
UserLose = false;
}
onClipEvent (enterFrame) {
if (_parent.rolled) {
trace("Okay, so you rolled the dice");
if (_parent.dice1done and _parent.dice2done) {
trace("The dice finished rolling");
if (_parent.firstRoll) {
trace("This was the first roll");
_parent.winningcombo = _parent.dice1._currentframe + _parent.dice2._currentframe;
trace("The combo you got was a " + _parent.winningcombo);
if ((_parent.winningcombo == "7") or (_parent.winningcombo == "11")) {
trace("You got a 7 or 11");
UserWin = true;
} else if (((_parent.winningcombo == "2") or (_parent.winningcombo == "3")) or (_parent.winningcombo == "12")) {
UserLose = true;
}
newDice = _parent.winningcombo;
} else if (!_parent.firstRoll) {
trace("This wasn't your first roll");
newDice = _parent.dice1._currentframe + _parent.dice2._currentframe;
if (newDice == _parent.winningcombo) {
trace("The dice was equal to what you needed!");
UserWin = true;
} else if (newDice == "7") {
UserLose = true;
}
}
if (UserLose) {
_parent.say = ("You rolled a " + newDice) + ", That means you lost!";
_root.money = _root.money - int(_parent.theBet);
_parent.rollButton._visible = false;
_parent.rolled = false;
_parent.firstRoll = true;
_parent.betting._visible = true;
_parent.Ok._visible = false;
_parent.street._visible = true;
UserWin = false;
UserLose = false;
trace("YOU LOSE");
} else if (!UserWin) {
trace("You didn't win yet.");
_parent.say = (((("You rolled a " + newDice) + "\n\nYou are betting $") + _parent.theBet) + "\n\nYou need to roll a ") + _parent.winningcombo;
_parent.rolled = false;
_parent.rollButton._visible = true;
_parent.firstRoll = false;
} else {
trace("Here now it says you won");
_parent.say = ("You rolled a " + _parent.winningcombo) + " That means you won your bet! Make a new bet to play again!";
_root.money = _root.money + int(_parent.theBet);
_parent.rollButton._visible = false;
_parent.rolled = false;
_parent.firstRoll = true;
_parent.betting._visible = true;
_parent.Ok._visible = false;
_parent.street._visible = true;
UserWin = false;
UserLose = false;
}
}
}
if (_parent.bet.length > 0) {
if (((isNaN(_parent.bet.charAt(_parent.bet.length - 1)) or (_parent.bet > 10000)) or (_parent.bet < 1)) or (_parent.bet > _root.money)) {
_parent.bet = _parent.bet.substr(0, _parent.bet.length - 1);
_parent.Ok._visible = false;
} else if (_parent.street._visible) {
_parent.Ok._visible = true;
}
} else {
_parent.Ok._visible = false;
}
}
Instance of Symbol 1872 MovieClip "dice1" in Symbol 1874 MovieClip Frame 2
onClipEvent (enterFrame) {
if (x == 0) {
_parent.dice1done = true;
} else {
_parent.dice1done = false;
}
}
Instance of Symbol 1872 MovieClip "dice2" in Symbol 1874 MovieClip Frame 2
onClipEvent (enterFrame) {
if (x == 0) {
_parent.dice2done = true;
} else {
_parent.dice2done = false;
}
}
Symbol 1875 MovieClip Frame 1
stop();
Symbol 1875 MovieClip Frame 2
stop();
Symbol 1875 MovieClip Frame 3
stop();
Symbol 1880 Button
on (release) {
if (_root.BernsteinPaid) {
yo = "I got your money already. Just the ending hasn't come yet.";
}
trace(_root.BernsteinMoney);
if (_root.money >= _root.BernsteinMoney) {
_root.Bernsteinpaid = true;
_root.money = _root.money - _root.BernsteinMoney;
_root.sub.gotoAndPlay("ending");
yourmine._visible = true;
} else {
yo = "You don't got the cash!";
}
}
Symbol 1883 Button
on (release) {
_root.sub.gotoAndPlay("explore");
}
Symbol 1887 MovieClip Frame 1
if (!_root.BernsteinPaid) {
yourmine._visible = false;
} else {
_parent.gotoAndPlay("ending");
}
gotoAndStop(_root.whatPerson);
Symbol 1887 MovieClip Frame 2
stop();
Symbol 1887 MovieClip Frame 3
stop();
guitar._visible = false;
if (_root.BossMission == false) {
yo = "Yo. Get out of my site yo!";
} else if (_root.pabloCompletion == true) {
guitar._visible = true;
yo = "Yo. Gracias again!";
} else if (_root.BossMission == true) {
if (_root.guitarHave) {
yo = "YOU GOT MY GUITAR! THANK YOU MY FRIEND. HERE ARE YOUR BLUEPRINTS *hands blueprints";
guitar._visible = true;
_root.pabloCompletion = true;
} else {
yo = "Ah, you are from K2xL Software eh? Well, I'd give you the blueprints just I'm busy looking for my guitar. If you find it then I'll be able to help you. Last time I saw it was in some store in my trip to Europe (they got some good guitars yo)";
}
_root.pabloMission = true;
}
Symbol 1897 MovieClip Frame 1
gotoAndStop(_root.whereAmI);
Instance of Symbol 1891 MovieClip in Symbol 1897 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.desk.hitTest(_parent.theStickMan)) {
this.say = "Press spacebar to leave.";
if (Key.isDown(32)) {
_root.sub.gotoAndPlay("explore");
}
} else {
this.say = "";
}
}
Instance of Symbol 1893 MovieClip in Symbol 1897 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.desk.hitTest(_parent.theStickMan)) {
this.say = "Press spacebar to buy some food.";
if (Key.isDown(32)) {
_parent._parent.gotoAndStop(2);
}
} else {
this.say = "";
}
}
Instance of Symbol 1895 MovieClip in Symbol 1897 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.desk.hitTest(_parent.theStickMan)) {
this.say = "Press spacebar to play trivia.";
if (Key.isDown(32)) {
_parent._parent._parent.gotoAndStop(2);
}
} else {
this.say = "";
}
}
Instance of Symbol 566 MovieClip in Symbol 1897 MovieClip Frame 1
onClipEvent (load) {
gotoAndStop ("im");
}
Instance of Symbol 566 MovieClip in Symbol 1897 MovieClip Frame 1
onClipEvent (load) {
gotoAndStop ("im");
}
Instance of Symbol 566 MovieClip in Symbol 1897 MovieClip Frame 1
onClipEvent (load) {
gotoAndStop ("im");
}
Instance of Symbol 566 MovieClip in Symbol 1897 MovieClip Frame 1
onClipEvent (load) {
gotoAndStop ("im");
}
Instance of Symbol 566 MovieClip in Symbol 1897 MovieClip Frame 1
onClipEvent (load) {
gotoAndStop ("im");
}
Instance of Symbol 566 MovieClip in Symbol 1897 MovieClip Frame 1
onClipEvent (load) {
gotoAndStop ("im");
}
Instance of Symbol 566 MovieClip in Symbol 1897 MovieClip Frame 1
onClipEvent (load) {
gotoAndStop ("im");
}
Instance of Symbol 566 MovieClip in Symbol 1897 MovieClip Frame 1
onClipEvent (load) {
gotoAndStop ("im");
}
Instance of Symbol 566 MovieClip in Symbol 1897 MovieClip Frame 1
onClipEvent (load) {
gotoAndStop ("im");
}
Instance of Symbol 566 MovieClip in Symbol 1897 MovieClip Frame 1
onClipEvent (load) {
gotoAndStop ("im");
}
Instance of Symbol 566 MovieClip in Symbol 1897 MovieClip Frame 1
onClipEvent (load) {
gotoAndStop ("im");
}
Instance of Symbol 566 MovieClip in Symbol 1897 MovieClip Frame 1
onClipEvent (load) {
gotoAndStop ("im");
}
Instance of Symbol 566 MovieClip in Symbol 1897 MovieClip Frame 1
onClipEvent (load) {
gotoAndStop ("im");
}
Instance of Symbol 566 MovieClip in Symbol 1897 MovieClip Frame 1
onClipEvent (load) {
gotoAndStop ("im");
}
Instance of Symbol 566 MovieClip in Symbol 1897 MovieClip Frame 1
onClipEvent (load) {
gotoAndStop ("im");
}
Instance of Symbol 609 MovieClip "theStickMan" in Symbol 1897 MovieClip Frame 1
onClipEvent (load) {
numofObjects = 15;
if (int(_root.LocalyLocation) == 0) {
_root.LocalyLocation = _y;
_root.LocalxLocation = _x;
}
_y = _root.LocalyLocation;
_x = _root.LocalxLocation;
speed = 2;
}
onClipEvent (enterFrame) {
if (_currentframe != 2) {
gotoAndStop (2);
}
_root.LocalyLocation = _y;
_root.LocalxLocation = _x;
markX = _x;
markY = _y;
if ((markX + markY) == sum) {
_root.mobile = false;
_root.sub._y = 1;
} else {
_root.mobile = true;
}
sum = markX + markY;
firstAngle = Math.abs(_rotation - 90);
secondAngle = 90 - firstAngle;
firstR = (Math.PI/2) - ((Math.PI * firstAngle) / 180);
secondR = (Math.PI/2) - ((Math.PI * secondAngle) / 180);
if ((this._rotation >= 90) && (this._rotation <= 180)) {
firstR = Math.PI - ((Math.PI * secondAngle) / 180);
secondR = Math.PI - ((Math.PI * firstAngle) / 180);
}
moveDistanceX = speed * Math.sin(firstR);
moveDistanceY = speed * Math.cos(firstR);
if (Key.isDown(39)) {
this._rotation = this._rotation + 10;
}
if (Key.isDown(40)) {
_x = (_x - moveDistanceX);
_y = (_y + moveDistanceY);
n = 1;
while (n <= numofObjects) {
if (this.hitTest(_parent["object" + n])) {
Mobile = false;
break;
}
if (n == numofObjects) {
Mobile = true;
}
n++;
}
if (!Mobile) {
_x = (_x + moveDistanceX);
_y = (_y - moveDistanceY);
}
}
if (Key.isDown(38)) {
_x = (_x + moveDistanceX);
_y = (_y - moveDistanceY);
n = 1;
while (n <= numofObjects) {
if (this.hitTest(_parent["object" + n])) {
Mobile = false;
break;
}
if (n == numofObjects) {
Mobile = true;
}
n++;
}
if (!Mobile) {
_x = (_x - moveDistanceX);
_y = (_y + moveDistanceY);
}
}
if (Key.isDown(37)) {
this._rotation = this._rotation - 10;
}
}
Instance of Symbol 566 MovieClip in Symbol 1897 MovieClip Frame 1
onClipEvent (load) {
gotoAndStop ("im");
}
Instance of Symbol 566 MovieClip in Symbol 1897 MovieClip Frame 1
onClipEvent (load) {
gotoAndStop ("im");
}
Instance of Symbol 566 MovieClip in Symbol 1897 MovieClip Frame 1
onClipEvent (load) {
gotoAndStop ("im");
}
Instance of Symbol 566 MovieClip in Symbol 1897 MovieClip Frame 1
onClipEvent (load) {
gotoAndStop ("im");
}
Instance of Symbol 566 MovieClip in Symbol 1897 MovieClip Frame 1
onClipEvent (load) {
gotoAndStop ("im");
}
Instance of Symbol 566 MovieClip in Symbol 1897 MovieClip Frame 1
onClipEvent (load) {
gotoAndStop ("im");
}
Instance of Symbol 566 MovieClip in Symbol 1897 MovieClip Frame 1
onClipEvent (load) {
gotoAndStop ("im");
}
Instance of Symbol 566 MovieClip in Symbol 1897 MovieClip Frame 1
onClipEvent (load) {
gotoAndStop ("im");
}
Instance of Symbol 566 MovieClip in Symbol 1897 MovieClip Frame 1
onClipEvent (load) {
gotoAndStop ("im");
}
Instance of Symbol 566 MovieClip in Symbol 1897 MovieClip Frame 1
onClipEvent (load) {
gotoAndStop ("im");
}
Instance of Symbol 566 MovieClip in Symbol 1897 MovieClip Frame 1
onClipEvent (load) {
gotoAndStop ("im");
}
Instance of Symbol 566 MovieClip in Symbol 1897 MovieClip Frame 1
onClipEvent (load) {
gotoAndStop ("im");
}
Instance of Symbol 566 MovieClip in Symbol 1897 MovieClip Frame 1
onClipEvent (load) {
gotoAndStop ("im");
}
Instance of Symbol 566 MovieClip in Symbol 1897 MovieClip Frame 1
onClipEvent (load) {
gotoAndStop ("im");
}
Symbol 1902 Button
on (release) {
if (_root.money >= 50) {
_root.money = _root.money - 50;
_root.userhp = _root.userhp + 30;
} else {
error = "You don't have enough money";
}
}
Symbol 1903 Button
on (release) {
gotoAndStop (1);
}
Symbol 1904 MovieClip Frame 1
stop();
Symbol 1904 MovieClip Frame 2
stop();
Symbol 1917 Button
on (release) {
_root.sub.trivi.whatthink = "Wallace says: " + _root.sub.trivi.techguysays;
}
Symbol 1918 Button
on (release) {
_root.sub.trivi.whatthink = "Yung Xia says: " + _root.sub.trivi.bookguysays;
}
Symbol 1919 Button
on (release) {
_root.sub.trivi.whatthink = "Rahzel says: " + _root.sub.trivi.tvguysays;
}
Symbol 1927 Button
on (release) {
if (teamName.length < 1) {
error = "Please enter a team name";
} else if (_root.money >= 10) {
_root.money = _root.money - 10;
_root.lastTimePlayedTrivia = _root.intDays;
stopAllSounds();
if (_root.playSound) {
_root.soundChecker.gotoAndStop("trivia");
}
gotoAndPlay ("Question");
} else {
error = "Not enough cash";
stop();
}
}
Symbol 1934 Button
on (release) {
gotoAndStop (1);
}
Symbol 1945 Button
on (release) {
gotoAndPlay ("Answered");
}
Symbol 1950 MovieClip Frame 1
teamName = function () {
n1 = random(9) + 1;
n2 = random(9) + 1;
if (n1 == 1) {
name1 = "The";
} else if (n1 == 2) {
name1 = "Big";
} else if (n1 == 3) {
name1 = "Super";
} else if (n1 == 4) {
name1 = "Ultra";
} else if (n1 == 5) {
name1 = "Rough";
} else if (n1 == 6) {
name1 = "Smarter";
} else if (n1 == 7) {
name1 = "Cool";
} else if (n1 == 8) {
name1 = "The Passion of the";
} else if (n1 == 9) {
name1 = "Kings of the";
}
if (n2 == 1) {
name2 = "Emos";
} else if (n2 == 2) {
name2 = "Bullwhips";
} else if (n2 == 3) {
name2 = "Troopers";
} else if (n2 == 4) {
name2 = "Runners";
} else if (n2 == 5) {
name2 = "Children";
} else if (n2 == 6) {
name2 = "Riders";
} else if (n2 == 7) {
name2 = "Cokes";
} else if (n2 == 8) {
name2 = "Geeks";
} else if (n2 == 9) {
name2 = "Matrix";
}
return((name1 + " ") + name2);
};
myTeam = new Array(10);
myTeamScore = new Array(10);
b = 1;
while (b <= 10) {
createTextField("Team" + b, b, 2 * b, 20 + (28 * b), 350, 100);
createTextField("TeamScore" + b, 10 + b, 250 + (2 * b), 20 + (28 * b), 50, 100);
if (b <= 9) {
do {
myTeam[b] = teamName();
} while ((((((((((myTeam[b] == myTeam[b - 1]) || (myTeam[b] == myTeam[b - 2])) || (myTeam[b] == myTeam[b - 3])) || (myTeam[b] == myTeam[b - 4])) || (myTeam[b] == myTeam[b - 5])) || (myTeam[b] == myTeam[b - 6])) || (myTeam[b] == myTeam[b - 7])) || (myTeam[b] == myTeam[b - 8])) || (myTeam[b] == myTeam[b - 9])) || (myTeam[b] == myTeam[b - 10]));
} else {
myTeam[b] = _root.sub.trivi.teamName;
}
myTeamScore[b] = 0;
eval ("Team" + b).text = myTeam[b];
eval ("TeamScore" + b).text = myTeamScore[b];
b++;
}
Symbol 1950 MovieClip Frame 2
b = 1;
while (b <= 10) {
a = 1;
while (a <= 10) {
if (b == a) {
} else if ((myTeamScore[b] > int(myTeamScore[b + 1])) && ((b + 1) != 11)) {
x = myTeamScore[b];
myTeamScore[b] = myTeamScore[b + 1];
myTeamScore[b + 1] = x;
y = myTeam[b];
myTeam[b] = myTeam[b + 1];
myTeam[b + 1] = y;
a = 0;
b = 0;
}
a++;
}
b++;
}
b = 1;
while (b <= 10) {
eval ("Team" + b).text = (b + ". ") + myTeam[11 - b];
eval ("TeamScore" + b).text = myTeamScore[11 - b];
if (myTeam[11 - b] == _parent.teamName) {
_parent.myTeamPlace = b;
}
myformat = new TextFormat();
myformat.font = "Arial";
eval ("Team" + b).setTextFormat(myformat);
eval ("TeamScore" + b).setTextFormat(myformat);
b++;
}
stop();
Symbol 1950 MovieClip Frame 3
b = 1;
while (b <= 10) {
if (myTeam[b] == _parent.teamName) {
if (_root.sub.trivi.right) {
myTeamScore[b] = myTeamScore[b] + _root.sub.trivi.pointworth;
}
} else if (random(2) == 0) {
myTeamScore[b] = myTeamScore[b] + _root.sub.trivi.pointworth;
}
b++;
}
gotoAndPlay (2);
Symbol 1951 Button
on (release) {
if (_root.sub.trivi.sure) {
finalAnswer._visible = false;
_root.sub.trivi.sure = false;
} else {
teamAnswer = choice1;
finalAnswer._visible = true;
_root.sub.trivi.sure = true;
}
}
Symbol 1952 Button
on (release) {
if (_root.sub.trivi.sure) {
finalAnswer._visible = false;
_root.sub.trivi.sure = false;
} else {
teamAnswer = choice3;
finalAnswer._visible = true;
_root.sub.trivi.sure = true;
}
}
Symbol 1953 Button
on (release) {
if (_root.sub.trivi.sure) {
finalAnswer._visible = false;
_root.sub.trivi.sure = false;
} else {
teamAnswer = choice2;
finalAnswer._visible = true;
_root.sub.trivi.sure = true;
}
}
Symbol 1954 Button
on (release) {
if (_root.sub.trivi.sure) {
finalAnswer._visible = false;
_root.sub.trivi.sure = false;
} else {
teamAnswer = choice4;
finalAnswer._visible = true;
_root.sub.trivi.sure = true;
}
}
Symbol 1956 MovieClip Frame 1
if (int(time) == 0) {
time = 20;
}
Symbol 1956 MovieClip Frame 60
time--;
if (time <= 0) {
_root.sub.trivi.teamAnswer = "(not answered)";
_root.sub.trivi.gotoAndPlay(3);
}
gotoAndPlay (1);
Symbol 1962 Button
on (release) {
if (gameQuestions >= 15) {
nextFrame();
} else {
gotoAndPlay ("Question");
}
}
Symbol 1969 MovieClip Frame 1
stop();
Symbol 1969 MovieClip Frame 2
stop();
gameQuestions = 0;
totalPoints = 0;
questionTolk = "";
_root.createEasyQuestion("What is the chemical symbol for lead?", "Ld", "Lp", "Pd", "Pb", "Pb", "Hmm, I think it's LP. Wait... it might be Pb.", "I think it's Pb.", "Ha, I failed Chemistry.");
_root.createEasyQuestion("Who was the first President of the United States", "Abraham Lincoln", "George Washington", "John Adams", "John F. Kennedey", "George Washington", "It's Lincoln *chuckle. Why are you even asking?", "Alright, put Washington.", "Uh...yeah, what the Asian guy said.");
_root.createEasyQuestion("What's the Greek letter that represents the diameter vs the circumfrence of a circle?", "Alpha", "Beta", "Pi", "Omega", "Pi", "I'm going to go with Beta.", "It's definitely Pi.", "I never took math, but I could really go for some pie.");
_root.createEasyQuestion("HTTP stands for _____.", "HyperText Transfer Protocal", "Hot Time Transfer Preparation", "Here's That Toy Poodle", "How To Trick People", "HyperText Transfer Protocal", "Oh! That's easy. It stands for HyperText Transfer Protocal.", "There must be a trick to doing this, but it definitely doesn\u00B9t stand for How To Trick People.", "Umm...can you come back to me?");
_root.createEasyQuestion("The Looney Tunes character, Foghorn Leghorn, is what kind of animal?", "Pig", "Dog", "Bunny", "Rooster", "Rooster", "I'm going to go with the pig.", "I haven't a clue.", "Foghorn Leghorn is the funniest character ever! He's a rooster.");
root.createEasyQuestion("Whatcolor is iodine in its gasceuos state?", "Blue", "Red", "Violet", "Black", "Violet", "I think it is violet.", "I know this one. It's violet.", "I think it is red.");
_root.createEasyQuestion("Esperanza means what in Spanish?", "Happiness", "Hope", "Wonderment", "Bravery", "Hope", "Isn't there a song called Color Esperanza?", "It might be wonderment, but don't quote me.", "I had a friend named Esperanza.");
_root.createEasyQuestion("Who holds the major league record for most home runs in a career?", "Hank Aaron", "Barry Bonds", "Ted Williams", "Babe Ruth", "Hank Aaron", "It's either bonds or the babe... I think...hmm maybe not... or is it ted... maybe hank... o i give up!", "How should i know!", "This one is a no-brainer, so i'm gonna tell u the answer is a player who is not currently playing.");
_root.createEasyQuestion("What animal is the mascot of NBA's Atlanta Hawks?", "A Hawk", "A Red Sparrow", "An African Swallow", "A Bulldog", "A Hawk", "Um, a hawk right?", "I would guess hawk...Atlanta-Hawk right? Or is this a trick question?", "They gave us the answer! Choose Hawk!");
_root.createEasyQuestion("Which famous sports figure had the nickname 'the great one.'?", "Wayne Gretzky", "Tiger Woods", "Michael Jordan", "Lance Armstrong", "Wayne Gretzky", "They're all pretty great, Michael's the greatest though right?", "I'm gonna guess Michael Jordan. He's the only one I've heard of.", "I'm 100% it's a hockey player.");
_root.createEasyQuestion("How much is a baker's dozen", "12", "6", "18", "13", "13", "...?!?!?", "I don't feel like doing the math, but it's twelve = dozen.", "Aww man, i knew i should have payed attention in culinary school. It isn't 12 though, I'm sure it's a trick.");
_root.createEasyQuestion("Complete the phrase: No Pain, No ____.", "Game", "Gain", "Sane", "Peanuts", "Gain", "Peanuts?", "Peanuts.", "Come on you jock, GAME.");
_root.createEasyQuestion("What is the capital of Germany?", "Berlin", "Munich", "Geneva", "Brussels", "Berlin", "... Berlin right?", "If you can't get this, you're really, really, really, STUPID!!!", "The olympics were in Munich a while back...");
_root.createEasyQuestion("What is the nickname of the fans of Duke?", "The Red Army", "The Izzo's", "The Cameron Crazies", "The Doherty Disciples", "The Cameron Crazies", "I really have no idea. Rahzel should know.", "The Red Army was the nickname of the Soviet Union's armed forces during the cold war.", "Cameron Crazy last time I checked.");
_root.createEasyQuestion("How many periods are in a hockey game?", "3", "4", "1", "2", "3", "1", "2", "3");
_root.createEasyQuestion("The high speed train system in Europe is called the what?", "TGV", "Bulletway", "TVG", "ETS", "TGV", "I know they start with a T and they're called bullet trains, I went to France.", "Could be ETS, European Train system, perhaps", "I'm gonna guess TGV");
_root.createEasyQuestion("What type of drug is heroin?", "Stimulant", "Depressant", "Narcotic", "Barbituate", "Narcotic", "Narcotic", "Narcotic", "Narcotic right?");
_root.createEasyQuestion("Which of these is not a nickname for Marijuana", "Hydro", "Mary Jane", "Pot", "Slump", "Slump", "I've never heard of hydro or slump", "Darn, I don't take drugs but 'Mary Jane' does not sound like one.", "Hydro or slump i think...");
_root.createEasyQuestion("Who created the Simpsons?", "Pete Maravich", "Matt Groening", "Trey Parker", "Seth Macfarlane", "Matt Groening", "Oh man Seth Macfarlane is hilarious, he created family guy. NO JOKE!", "Trey Parker created the Simpsons, or was it South Park...", "Groening created Futurama. Futurama is like the same humor as Simpsons.");
_root.createEasyQuestion("What is the largest country in the world in size.", "India", "Russia", "USA", "China", "Russia", "USA! USA!", "Hah, well it is not USA. Russia is bigger than USA.", "USA! USA!");
_root.createEasyQuestion("In the TV show Family Guy, what is Peters lastname?", "Gordon", "Higgins", "Griffen", "Hable", "Griffen", "Griffen", "Gordon", "Griffen");
_root.createEasyQuestion("Which bird was last seen in the wild on the island ofmaritius in 1681?", "Dodo", "Carrier Pidgeon", "Big Bird", "Humut", "Dodo", "Dodo", "Dodo", "Big Bird");
_root.createEasyQuestion("In what century did Nathaniel Hawthorne live and write?", "19th", "18th", "17th", "16th", "19th", "I'm", "in", "American Lit.");
_root.createEasyQuestion("What is the longest in length river in the world?", "Amazon", "Nile", "Mississippi", "Yellow River", "Nile", "The Chinesedid not name the river yellow for nothing.", "The Amazon is the widest, but I am not sure that it is the longest.", "Denial is not just a river in Egypt son!");
_root.createEasyQuestion("Which of these Presidents was quoted saying 'misunderestimated'", "Dan Quale", "W. Bush", "Sn. Bush", "Al Gore", "W. Bush", "Ha ha Bush is funny, He says random things all the time.", "Ha, I heardthe same guy say 'The country of Africa'", "I heard W. Bush didn't like brocalli.");
_root.createEasyQuestion("How many terms can a President be in office.", "2", "4", "8", "10", "2", "It's 8 years.", "Ah two four year terms.", "It seems Bush has been in office forever.");
_root.createEasyQuestion("Flash is a program by", "Microsoft", "Macromedia", "Adobe", "EA Sports", "Macromedia", "Macromedia Flash MX 2004 was used to make this game.", "I have no idea.", "Ha, it ain't EA Sports, that's a video game.");
_root.createEasyQuestion("Which of these was Michael Jordan's number when he was first drafted by the bulls?", "23", "32", "33", "45", "23", "Ah MJ wore 45 I know that.", "I don't watch basketball.", "23. How do you not know that?");
_root.createEasyQuestion("What is the mascot of TCU?", "Horny Toad", "Buffalos", "Wallabes", "Kuala Bears", "Horny Toad", "Ahhh I just saw them play.", "I've never seen a Buffalo as a mascot", "Horny Toad. I'm 99 percent sure.");
_root.createMediumQuestion("What does the computer term RAM stand for?", "Ready Accepted Meter", "Random Access Memory", "Real Age Management", "Read Accessible Memory", "Random Access Memory", "It has to do with memory...", "Ah no clue.", "Reh reh wah?");
_root.createMediumQuestion("The Atomic Symbol for Potassium is?", "P", "K", "Ka", "Pa", "K", "Pa", "K", "Pa");
_root.createMediumQuestion("What is Cat in Spanish?", "El Gato", "La Corta", "El Kina", "La Feno", "El Gato", "El Kina", "EL Gato", "La Feno");
_root.createMediumQuestion("Rapper Nas is from what second of the US?", "Long Beach", "Queens Bridge", "Miami", "Compton", "Queens Bridge", "Queens Bridge", "Miami", "Long Beach");
_root.createMediumQuestion("In Greek Mythology who was the messenger of the Gods? ", "Demeter", "Eros", "Hermes", "Artemis", "Hermes", "Demeter", "Hermes", "Hermes");
_root.createMediumQuestion("Which of the following empires was the largest in size.", "Roman", "British", "Ottoman", "Mongol", "Mongol", "Rome... I hear a lot of that on history channel.", "The largest Empire... Mongol, i'm pretty sure.", "I have no clue man.");
_root.createMediumQuestion("How much of a panda's diet consists of bamboo?", "99%", "50%", "25%", "0%", "99%", "Sounds like it's 100% man, but i don't know much 'bout pandas", "The precise answer is 99%", "All i see 'em eatin on the tele is bamboo dude.");
_root.createMediumQuestion("Who won the AL MVP in 2002?", "Alex Rodriguez", "Barry Bonds", "Miguel Tejada", "Juan Encarnacion", "Miguel Tejada", "Tejada was awful last year so i don't think it's him.", "BONDS! JAMES BONDS!", "It was Tejada, Encarnacion should have never won");
_root.createMediumQuestion("Who won the world series in 1995?", "The New York Yankees", "The Atlanta Braves", "The Cleveland Indians", "The Toronto Blue Jays", "The Atlanta Braves", "Yankees win everything, i wouldn't be suprised if it was them.", "Indian is a politically incorrect term.", "I remember the Indians and the Braves played.");
_root.createMediumQuestion("What country's name means 'Land of Many Waters'?", "Portugal", "Panama", "Brazil", "Guyana", "Guyana", "Hew, this is a toughee. Better ask someone else. ", "I think its Brazil, but i'm not sure", "The babes in Brazil are HOT!");
_root.createMediumQuestion("Who directed Caddyshack?", "Harold Ramis", "Henry Rinehart", "Mel Brooks", "Quentin Tarantino", "Harold Ramis", "Quentin Tarantino is awesome, but i don't know the answer.", "Why you ask me, I study all day, no time for the TV.", "It starts with H and ends with R.");
_root.createMediumQuestion("What are Male Kangaroos called?", "Kiwis", "Boomers", "Kangaroos", "Buggers", "Boomers", "Duhhh, i've heard bugger in some australian stuff.", "I'm quite sure it is boomer", "Kiwis man, there was that movie and the guy. I'm sure of it!");
_root.createMediumQuestion("Whos is the Florida Marlin's closer?", "Braden Looper", "Ugueth Urbina", "Armando Benitez", "Octavio Dotel", "Armando Benitez", "I think Rahzel knows", "Armando sounds like my cousin Axe mandia.", "It was looper last year.");
_root.createMediumQuestion("What year did The Beatles first appear in the United States?", "1961", "1962", "1963", "1964", "1964", "The Beatles swept the nation in February of 1964.", "I'm willing to bet it was sometime in the 1960s.", "Well, the first time I remeber seeing them was on the Ed Sullivan Show back in 1964.");
_root.createMediumQuestion("Which of the following did Sir Arthur Conan Doyle NOT write?", "A Scandle in Bohemia", "The Scarlet Letter", "A Study in Scarlet", "The Hound of the Baskervilles", "The Scarlet Letter", "Hmmmm....I'm goint to go with A Scandle in Bohemia.", "It's got to be A Study in Scarlet.", "I don't know, but my old English teacher said something about study, so I'm going to go with A Study in Scarlet.");
_root.createMediumQuestion("Why is the sky blue?", "Reflection of the oceans.", "Refraction of sun light.", "Reaction of airplane exhaust with atmosphere.", "Today it is unknown.", "Refraction of sun light.", "Hmmmm....I'm goint to go with *Drools*", "Reflection of the oceans.", "Ummmm....");
_root.createMediumQuestion("In badminton, the object hit between the two teams is called a _____.", "shuttlecock", "ball", "disk", "javeline", "shuttlecock", "Why would anyone hit disks? If a disk breaks, you'll never be able to hear your illegally downloaded songs.", "I think it is a ball, like in all the other court sports.", "It's a shuttlecock, also known as a birdie. It can only be hit once on each side before going over the net.");
_root.createMediumQuestion("What is used to measure the pH of an acid or base?", "thermometer", "calorimeter", "litmus paper", "buret", "litmus paper", "I think it is litmus paper.", "Litmus paper changes colors in acids and bases depending on the pH.", "I don't know, but I'll take a random guess and say that paper thingy.");
_root.createMediumQuestion("Jainism was rediscovered by _____.", "Mahavira", "Siddhartha Guatama", "Krishna", "Arjuna", "Mahavira", "I think it was Krishna.", "Krishna and Arjuna are mentioned in the Mahabharata, so I think it was Siddhartha Guatama.", "I think it was Arjuna.");
_root.createMediumQuestion("What Hindu god is known as the god of knowledge and has the head of an elephant?", "Brahma", "Vishnu", "Shiva", "Ganesha", "Ganesha", "It must be Ganesha.", "I'm thinking that god was Shiva.", "It was Brahma...I'd bet the farm on it.");
_root.createMediumQuestion("What leader was assisinated that led to a start of WWI?", "Franz Ferdinand", "Adolph Rupp", "Mein Vergenstoken", "Leoned Breznev", "Franz Ferdinand", "Leoned Breznev was in that song.", "It was some Austro-Hungarian guy.", "Adolph Rupp was definately a basketball coach.");
_root.createMediumQuestion("What was the name of the German Air Force in WWII?", "Nerozennen", "Luftwaffa", "Nazi Force", "Storm Troops", "Luftwaffa", "I know that they were Nazis.", "It was 100% the Nerozennen.", "Storm Troopers, those are in Star Wars.");
_root.createMediumQuestion("What country is Casablanca in?", "Italy", "France", "Morocco", "Libya", "Morocco", "Definately France.", "France is the right answer.", "Hmm... long time since i seen this movie, but the answer has to be france.");
_root.createMediumQuestion("How many major crusades were there?", "3", "7", "12", "10", "3", "O man we just learned this in History! It's too bad i was sleeping.", "10, I believe.", "My favorite number is seven, and my favorite movie is seven too. So i'm gonna go with 12");
_root.createMediumQuestion("Coco Crisp plays what sport?", "Hockey", "Basketball", "Baseball", "Rowing", "Baseball", "Rowing is the only one i don't know of.", "He's my cousin, and he plays. O who am i kidding he's not my cousin.", "Baseball all the way, he's my favorite bench-warmer for the Indians.");
_root.createMediumQuestion("What coach lead teams to the NCAA Final Four in four different decades?", "Tubby Smith", "Adolph Rupp", "Dean Smith", "John Wooden", "Dean Smith", "Sounds like Adolph... He sounds like a winner.", "Should be John Wooden he's won 11 NCAA titles.", "I've seen Dean Smith on TV.");
root.createMediumQuestion("Which band member to band matched up INCORRECTLY?", "Jimmy Page- Led Zeppelin", "Justin Sane- Anti Flag", "Roger Daltry- The Who", "Roger Waters- Weezer", "Roger Waters- Weezer", "Waters is with Floyd duh", "Justin Sane the literary merit is crazy", "Pretty sure Waters was with Floyd.");
root.createMediumQuestion("Which of the following is NOT a GUI operating system?", "MS-DOS", "Linux", "Windows", "Macintosh", "MS-DOS", "GUI stands for Graphical user interface, answer must mean only text comamnd driven...", "I own a pc with windows operating system.", "Dunno don't care.");
_root.createMediumQuestion("What is the capital of Ghana?", "Sucra", "Accra", "Mandon", "Rezon", "Accra", "Feel", "The", "Beat!");
_root.createMediumQuestion("What is the average speed of a falling raindrop?", "98.3 mph", "7 mph", "103 mph", "There is no average", "7 mph", "Dude, these are hard", "Terminal velocity is around 100 mph", "7 = good movie.");
_root.createMediumQuestion("Pi is most accuratly written as ", "3.141592629", "3.14129239", "3.141492629", "3", "3.141592629", "No clue. It's like around 22/7", "Ah, it isn't 3.", "3.1414 doesn't sound right.");
_root.createMediumQuestion("There are how many associate justices in the Supreme Court?", "10", "12", "4", "8", "8", "No clue!", "12 sounds too much.", "4 sounds too little.");
_root.createHardQuestion("What is the nickname of Al Gore's wife, Mary Elizabeth?", "Swiffer", "Caller", "Tipper", "Yeller", "Tipper", "Swiffing is probably what she does a lot.", "Ha, don't know.", "She looks drunk... maybe that could be a clue.");
_root.createHardQuestion("How old must a person be to become a U.S. senator?", "30", "18", "21", "45", "30", "18 year old's running for senator?", "I think it's 30 or higher. How many senators are 30 or less?", "Ah, Bill Clinton was 35 when he was senator wasn't he? Maybe that was governer...");
_root.createHardQuestion("Who wrote Return of the Native?", "Thomas Hardy", "John Grisham", "Douglas Adams", "Tom Clancy", "Thomas Hardy", "Ah we had to read this for English, God it was awful.", "I'd go with Thomas Hardy", "Definently not Tom Clancy.");
_root.createHardQuestion("Who hit the winning single for the Atlanta Braves to win the NLCS in 1992?", "Sid Breem", "Mark Derosa", "Francisco Cabrera", "John Smoltz", "Francisco Cabrera", "Smoltz is a pitcher, so he probably doesn't get hits too often.", "I don't know baseball too well.", "I know Sid Breem scored the run.");
_root.createHardQuestion("Who is the current president of South Africa", "Nelson Mandela", "Thabo Mbeki", "India Nkruma", "JidanArumba", "Thabo Mbeki", "I've heard of Nelson Mandela.", "Well, Nelson Mandela sounds the most familiar, but is he the president of another African country?", "Umm Jidan Arumba sounds African");
_root.createHardQuestion("The name of Greendays lead singer?", "Mike Dirnt", "Tom Briggins", "Billie Joel Armstrong", "Rivers Cuomo", "Billie Joel Armstrong", "It's Billie Joel Armstrong.", "Music is against my religion.", "Yeah, it's Billy Joel Armstrong. At least I'm pretty sure.");
_root.createHardQuestion("How much sugar is in Diet Snapple?", "1g", "0g", "10g", "2g", "2g", "Diet, who drinks diet. probably 1 though.", "10 is even, 10 is right", "Ummmm...");
_root.createHardQuestion("This actor is related to Francis Ford Coppola starred in Raising Arizona.", "Coppola", " Lindo", "Cruise", "Cage", "Cage", "no me gusta cine", "i dunno.", "Oh, I think it was the guy who was nominated for an academy award for adaptation.");
_root.createHardQuestion("In Judaism, Chanukah occurs during the Hebrew month of _____.", "Adar", "Av", "Kislev", "Iyar", "Kislev", "Ummmm...", "Well...", "Let me consult my calendar...December!");
_root.createHardQuestion("In the reaction of potassium iodide and lead nitrate, the color of the products is _____.", "Red", "Blue", "Clear", "Yellow", "Yellow", "...Blue skies, smiling at me...nothing but blue skies do I see...", "Hmmmmmmmmm....give me a moment to mix the solutions...YELLOW!", "Ooooooo....red is pretty.");
_root.createHardQuestion("In the combustion of methane, what other reactant is required?", "Carbon Dioxide", "Water", "Oxygen", "Escargot", "Oxygen", "I believe the answer is oxygen.", "If memory serves, which it usually doesn't, I think it is carbon dioxide.", "Ha, I failed chemistry.");
_root.createHardQuestion("What is the atomic symbol for tungsten?", "W", "V", "Y", "T", "W", "It would have to be T.", "Tungsten is W.", "Y...y would I know this?");
_root.createHardQuestion("What is the ratio of the line between the midpoints of two sides of a triangle to the third side?", "1:1", "1:2", "1:3", "1:4", "1:2", "I'm sorry, but I smell my roast burning...ask someone else.", "The line drawn between the midpoints of two sides of a triangle is half the length of the third side.", "Well, the answer is 1:3.");
_root.createHardQuestion("What national soccer team won the world cup in 1966?", "France", "England", "Spain", "Brazil", "England", "my fathers name is Gimpy", "Brazil are the BOMB at Soccer", "all signs point to the english");
_root.createHardQuestion("What was the first movie to ever win best picture", "Casablanca", "Citizen Kaine", "Wings", "Rocky", "Wings", "tough one", "i sell lawn chairs in my free time", "uhhh, i would guess its kinda old");
_root.createHardQuestion("Who holds the record for mst rushing touchdowns in an NFL regular season?", "Priest Holmes", "Jim Brown", "Barry Sanders", "Emmit Smith", "Priest Holmes", "i would guess Jim Brown", "the shortest distance between 2 points in a givin universe is a straight line...in the opposite direction", "maybe it could be priest or sanders");
_root.createHardQuestion("How Fast is Light Speed?", "100,000 miles per second", "186,282 miles per second", "500,002 miles per second", "236,754 miles per second", "186,282 miles per second", "resistance", "is", "futile");
_root.createHardQuestion("How many kilobytes are in a megabyte?", "1024", "1000", "100", "256", "1024", "Shoot, I remember that it is not 1000, I think it's 1024. But it isn't 100 or 1000 I'm sure.", "It's metric system right? Probably 1000 or 100", "What's a byte?");
_root.createHardQuestion("42 is ", "The answer to life, universe, and everything.", "The question to life, univserse, and everything.", "Wrong.", "Douglas Adams", "The answer to life, universe, and everything.", "Douglas Adams was a hilarious author!", "The question is what do you get when you multiply 6 by 9.", "I don't get it.");
_root.createHardQuestion("Which of these were not in ancient times thought as an element", "Earth", "Wind", "Fire", "Water", "Water", "Ah... yeah....", "Oh shoot, I know this...", "Wind looks the odd one out doesn't it?");
questionNum = new Array();
u = 1;
while (u <= 15) {
sameQuestion = false;
if (u < 5) {
questionNum[u] = random(Easy.totalQuestions) + 1;
p = 1;
while (p < 5) {
if (questionNum[u] == questionNum[p]) {
if (p != u) {
sameQuestion = true;
u--;
}
} else if (p == 5) {
sameQuestion = false;
}
p++;
}
} else if ((u >= 5) && (u < 10)) {
questionNum[u] = random(Medium.totalQuestions) + 1;
p = 5;
while (p < 10) {
if (questionNum[u] == questionNum[p]) {
if (p != u) {
sameQuestion = true;
u--;
}
}
if (p == 10) {
if (!sameQuestion) {
sameQuestion = false;
}
}
p++;
}
} else {
questionNum[u] = random(Hard.totalQuestions) + 1;
p = 10;
while (p < 15) {
if (questionNum[u] == questionNum[p]) {
if (p != u) {
sameQuestion = true;
u--;
}
}
if (p == 15) {
sameQuestion = false;
}
p++;
}
}
questionNum[u];
u++;
}
if (_root.lastTimePlayedTrivia == _root.intDays) {
gotoAndPlay ("comeAgain");
} else if ((_root.intDays % 7) != 0) {
gotoAndPlay ("comeAgain");
}
directions = ((((("Rules\nThere are 15 rounds of questions. The first 5 are easy questions (worth 1 point), the next 5 are medium questions (worth 3 points), and the last 5 are hard questions (worth 5 points). You have 20 seconds to answer each question.\nYou have three teammates\n\nWallace: Technology is his game.\nYung Xia: Good at science, math, and geography.\nRahzel: Watches too much TV and Sports and knows many useless facts.\n\nPrizes:\n1st Place: $10,000 per teammate\n2nd Place: $5,000 per teammate\n3rd Place: $1,000 per teammate\nThere are 10 other teams.\nTOTAL NUMBER OF HARD QUESTIONS: " + Hard.totalQuestions) + "\nTOTAL NUMBER OF MEDIUM QUESTIONS: ") + Medium.totalQuestions) + "\nTOTAL NUMBER OF EASY QUESTIONS: ") + Easy.totalQuestions) + "\nIf you tie, the person the computer calculates gets the money.";
Symbol 1969 MovieClip Frame 3
stop();
matotalPoints = "TOTAL POINTS: " + totalPoints;
gameQuestions++;
whatthink = "Click a character for their advice";
finalAnswer._visible = false;
_root.sub.trivi.sure = false;
mark0 = 0;
mark1 = 0;
questionTolk = questionTolk + (questionNum + " ");
if (gameQuestions < 5) {
questionNumb = questionNum[gameQuestions];
pointWorth = 1;
thequestion = (("Question " + gameQuestions) + ": ") + _root.sub.trivi.Easy["question" + questionNumb];
choice1 = _root.sub.trivi.Easy[("question" + questionNumb) + "choiceA"];
choice2 = Easy[("question" + questionNumb) + "choiceB"];
choice3 = Easy[("question" + questionNumb) + "choiceC"];
choice4 = Easy[("question" + questionNumb) + "choiceD"];
techguysays = Easy[("question" + questionNumb) + "techguy"];
bookguysays = Easy[("question" + questionNumb) + "bookguy"];
tvguysays = Easy[("question" + questionNumb) + "tvguy"];
answer = Easy[("question" + questionNumb) + "answer"];
} else if ((gameQuestions >= 5) && (gameQuestions < 10)) {
questionNumb = questionNum[gameQuestions];
pointWorth = 3;
thequestion = (("Question " + gameQuestions) + ": ") + Medium["question" + questionNumb];
choice1 = Medium[("question" + questionNumb) + "choiceA"];
choice2 = Medium[("question" + questionNumb) + "choiceB"];
choice3 = Medium[("question" + questionNumb) + "choiceC"];
choice4 = Medium[("question" + questionNumb) + "choiceD"];
techguysays = Medium[("question" + questionNumb) + "techguy"];
bookguysays = Medium[("question" + questionNumb) + "bookguy"];
tvguysays = Medium[("question" + questionNumb) + "tvguy"];
answer = Medium[("question" + questionNumb) + "answer"];
} else {
questionNumb = questionNum[gameQuestions];
pointWorth = 5;
thequestion = (("Question " + gameQuestions) + ": ") + Hard["question" + questionNumb];
choice1 = Hard[("question" + questionNumb) + "choiceA"];
choice2 = Hard[("question" + questionNumb) + "choiceB"];
choice3 = Hard[("question" + questionNumb) + "choiceC"];
choice4 = Hard[("question" + questionNumb) + "choiceD"];
techguysays = Hard[("question" + questionNumb) + "techguy"];
bookguysays = Hard[("question" + questionNumb) + "bookguy"];
tvguysays = Hard[("question" + questionNumb) + "tvguy"];
answer = Hard[("question" + questionNumb) + "answer"];
}
Symbol 1969 MovieClip Frame 4
stop();
scoreBoard.gotoAndPlay(3);
if (teamAnswer == answer) {
answer = "The correct answer was " + answer;
totalPoints = totalPoints + pointworth;
right = true;
answer = answer + "\nYour team got it right!";
} else {
answer = "The correct answer was " + answer;
answer = answer + ("\nYour team got it wrong, you chose " + teamAnswer);
right = false;
}
Symbol 1969 MovieClip Frame 5
stopAllSounds();
_root.soundChecker.gotoAndPlay(1);
thanks = "Your team ended up in place #" + myTeamPlace;
if (myTeamPlace == 3) {
thanks = thanks + "\nYOU WON $1000!";
_root.money = _root.money + 1000;
} else if (myTeamPlace == 2) {
thanks = thanks + "\nYOU WON $5000!!";
_root.money = _root.money + 5000;
} else if (myTeamPlace == 1) {
thanks = thanks + "\nYOU WON $10,000!!!";
_root.money = _root.money + 10000;
} else {
thanks = thanks + "\nAh, your team didn't make top 3. Good try!";
}
thanks = thanks + "\nCome back in a week to play again!";
Symbol 1969 MovieClip Frame 6
stop();
Symbol 1973 MovieClip Frame 1
mes = "PAYDAY IS TODAY. CLICK HERE TO COLLECT YOUR $" + _root.payDayMoney;
Symbol 1973 MovieClip Frame 2
gotoAndPlay (1);
Symbol 1974 Button
on (release) {
_root.money = _root.money + _root.payDayMoney;
_root.payDayMoney = 0;
}
Symbol 1975 MovieClip Frame 1
mes = "PAYDAY IS ON DAYS DIVISIBLE BY 4. COME BY ON THOSE DAYS TO COLLECT YOUR $" + _root.payDayMoney;
stop();
Symbol 1975 MovieClip Frame 2
stop();
Symbol 1975 MovieClip Frame 3
gotoAndPlay (1);
Symbol 1981 Button
on (release) {
_root.daysAddOn = _root.daysAddOn + 0.2;
gotoAndPlay ("typer");
}
Symbol 1985 Button
on (release) {
if (bossTalkDay == _root.days) {
error = "You've already talked to the boss today.";
} else {
bossTalkDay == _root.days;
gotoAndPlay ("takeTest");
}
}
Symbol 1990 Button
on (release) {
_root.daysAddOn = _root.daysAddOn + 0.7;
gotoAndPlay ("coffeegame");
}
Symbol 1993 Button
on (release) {
gotoAndPlay ("hire");
}
Symbol 1996 Button
on (release) {
_root.daysAddOn = _root.daysAddOn + 0.2;
gotoAndPlay ("parkgame");
}
Symbol 2003 Button
on (release) {
theRound = 1;
gotoAndPlay ("startRound");
}
Symbol 2006 MovieClip Frame 29
stop();
Symbol 2008 MovieClip Frame 1
if (timer < 0) {
timer = 5;
}
mark1 = getTimer();
Symbol 2008 MovieClip Frame 2
mark2 = getTimer();
theMark = mark2 - mark1;
if (theMark >= 1000) {
timer--;
if (timer < 0) {
this._parent.nextFrame();
} else {
gotoAndPlay (1);
}
}
gotoAndPlay (2);
Symbol 2008 MovieClip Frame 3
gotoAndPlay (2);
Symbol 2017 MovieClip Frame 1
if (timer < 0) {
timer = 25;
}
mark1 = getTimer();
Symbol 2017 MovieClip Frame 2
mark2 = getTimer();
theMark = mark2 - mark1;
if (theMark >= 1000) {
timer--;
if (timer < 0) {
this._parent.gotoAndPlay("lose");
} else {
gotoAndPlay (1);
}
}
gotoAndPlay (2);
Symbol 2017 MovieClip Frame 3
gotoAndPlay (2);
Symbol 2020 Button
on (release) {
theRound++;
gotoAndPlay ("startRound");
}
Symbol 2024 MovieClip Frame 1
stop();
Symbol 2024 MovieClip Frame 2
round = "ROUND " + theRound;
stop();
Symbol 2024 MovieClip Frame 3
function makeLetter() {
randomize();
theLetters = new Array("a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z");
return(theLetters[random(theLetters.length)]);
}
theMessage = "START TYPING";
howManyLetters = theRound * 5;
prize = theRound * 10;
countdown.timer = 25 + (2 * theRound);
thePrize = "PAYCHECK: $" + prize;
lettersLeft = "LETTERS LEFT: " + howManyLetters;
theLetterToGuess = makeLetter();
stop();
Instance of Symbol 2011 MovieClip "keyReader" in Symbol 2024 MovieClip Frame 3
onClipEvent (enterFrame) {
Selection.setFocus("_root.sub.theWork.typo.theInput");
if (this._parent.theInput.substring(0, 1).toLowerCase() == this._parent.theLetterToGuess) {
this._parent.howManyLetters--;
if (this._parent.howManyLetters <= 0) {
this._parent.bonus = this._parent.countdown.timer;
this._parent.nextFrame();
}
this._parent.lettersLeft = "LETTERS LEFT: " + this._parent.howManyLetters;
this._parent.theMessage = ("CORRECT! KEY WAS '" + this._parent.theLetterToGuess) + "'";
this._parent.theLetterToGuess = this._parent.makeLetter();
}
this._parent.theInput = "";
}
Instance of Symbol 2015 MovieClip in Symbol 2024 MovieClip Frame 3
onClipEvent (enterFrame) {
this.theMessage = this._parent.theMessage;
}
Symbol 2024 MovieClip Frame 4
lettersLeft = ("ROUND " + theRound) + " COMPLETED";
prize = (theRound * 10) + (bonus * _root.workLevel);
cashWon = (((((("CASH EARNED: (ROUND: " + theRound) + " *10 + TIME LEFT: ") + bonus) + " * WorkLevel ") + _root.workLevel) + ") = $") + prize;
_root.payDayMoney = _root.payDayMoney + prize;
paydayTot = "PAYDAY TOTAL: $" + _root.payDayMoney;
stop();
Symbol 2024 MovieClip Frame 5
stop();
theMessage = (((("Too bad, looks like you didn't guess the letter '" + theLetterToGuess) + "'\n\nYou're finished ") + _root.userName) + ",\nCome back on days divisible by 10 to get your paycheck from your boss. A reminder should come in the mail on payday. Don't worry if you forget to come. The paycheck's amount will be added to the next payday.\nYour next expect paycheck should be in the amount of $") + _root.payDayMoney;
Symbol 2027 Button
on (release) {
gotoAndPlay ("start");
}
Symbol 2034 MovieClip Frame 1
gotoAndPlay (60);
Symbol 2034 MovieClip Frame 89
gotoAndPlay (30);
Symbol 2037 MovieClip Frame 1
gotoAndPlay (60);
Symbol 2037 MovieClip Frame 89
gotoAndPlay (30);
Symbol 2039 MovieClip Frame 175
stop();
Symbol 2040 MovieClip Frame 1
stop();
Symbol 2041 MovieClip Frame 1
g = random(2);
if (g == 1) {
gotoAndPlay (75);
}
Symbol 2041 MovieClip Frame 75
g = random(2);
if (g == 1) {
gotoAndPlay (2);
}
Symbol 2046 MovieClip Frame 1
factr = random((_parent.Level * _parent.Level) + 2) + 1;
if (int(tz) == 0) {
tz = 0;
}
tz++;
if (tz > 35) {
tz = 0;
b = random(2) + 1;
b2 = random(2) + 1;
}
if (b == 1) {
_x = (_x + factr);
} else {
_x = (_x - factr);
}
if (b2 == 1) {
_y = (_y + (factr / 2));
} else {
_y = (_y - (factr / 2));
}
if (_x > 510) {
_x = -29;
} else if (_x < -100) {
_x = 500;
}
if (_y > 420) {
_y = (_y - factr);
} else if (_y < -100) {
_y = (_y + factr);
}
Symbol 2046 MovieClip Frame 2
gotoAndPlay (1);
Symbol 2049 MovieClip Frame 1
orginY = coffeeSub._y;
_parent.cofbut._visible = true;
stop();
Symbol 2049 MovieClip Frame 2
coffeeSub._y = coffeeSub._y - 30;
if (coffeeSub._y < (orginY - 3000)) {
coffeeSub._y = orginY;
gotoAndPlay (1);
}
Symbol 2049 MovieClip Frame 3
gotoAndPlay (2);
Symbol 2052 MovieClip Frame 1
if (timer < 0) {
timer = 20;
}
mark1 = getTimer();
Symbol 2052 MovieClip Frame 2
mark2 = getTimer();
theMark = mark2 - mark1;
if (theMark >= 1000) {
timer--;
if (timer < 0) {
this._parent.gotoAndPlay("lose");
} else {
gotoAndPlay (1);
}
}
gotoAndPlay (2);
Symbol 2052 MovieClip Frame 3
gotoAndPlay (2);
Symbol 2057 Button
on (release) {
Level++;
gotoAndPlay (2);
}
Symbol 2060 MovieClip Frame 1
Level = 1;
totalEarned = 0;
stop();
Symbol 2060 MovieClip Frame 2
hp = 0;
dalevel = "LEVEL\n" + Level;
prize = Level * Level;
dprize = "PRIZE $" + prize;
stop();
Instance of Symbol 2049 MovieClip "coffee" in Symbol 2060 MovieClip Frame 2
onClipEvent (enterFrame) {
_x = (_x + (((_root._xmouse - this._x) / 10) + int(_parent.Level)));
_y = (_y + (((_root._ymouse - this._y) / 10) + int(_parent.Level)));
}
onClipEvent (enterFrame) {
if (_parent.theBossDude.hitTest(_parent.coffee)) {
_parent.theBossDude.indicator._y--;
if (_parent.theBossDude.indicator._y <= 50) {
_parent.timeleft = _parent.countdown.timer;
_parent.nextFrame();
}
_parent.hpofBoss++;
}
}
Symbol 2060 MovieClip Frame 3
prize = prize + timeleft;
totalEarned = totalEarned + prize;
_root.payDayMoney = _root.payDayMoney + prize;
prize = prize * _root.workLevel;
goodjob = ((((((((((((((("GOOD JOB\n\nCASH EARNED: $" + prize) + "\n(LEVEL SQUARED + TIME LEFT * WORKLEVEL)\n(") + "(") + Level) + " * ") + Level) + " + ") + timeleft) + " seconds left) * ") + _root.workLevel) + " = $") + prize) + ")\n\nTOTAL CASH EARNED $") + totalEarned) + "\n\nPAY DAY CHECK : ") + _root.payDayMoney;
stop();
Symbol 2060 MovieClip Frame 4
an = ((":(\nTOTAL CASH EARNED TODAY $" + totalEarned) + "\n\nYour next expect paycheck should be in the amount of $") + _root.payDayMoney;
stop();
Symbol 2064 Button
on (release) {
_root.daysAddOn = 0.1;
nextFrame();
}
Instance of Symbol 606 MovieClip in Symbol 2068 MovieClip Frame 6
onClipEvent (enterFrame) {
m = 1;
while (m <= 7) {
if (hitTest(_parent._parent["badguy" + m])) {
if (_parent._parent["badguy" + m]._currentframe != 6) {
if (Math.abs(_parent._parent.theStickMan.cspeed) > 7) {
_parent._parent["badguy" + m].gotoAndStop("dead");
_parent._parent.numGuys--;
if (_parent._parent.numGuys <= 0) {
_parent._parent.nextFrame();
}
}
}
}
m++;
}
}
Symbol 2072 MovieClip Frame 1
stop();
Symbol 2072 MovieClip Frame 2
k = 2;
stop();
Instance of Symbol 25 MovieClip [badguyX] "badguy1" in Symbol 2072 MovieClip Frame 2
onClipEvent (load) {
turnease = 1;
speed = 1;
endx = 0;
endy = 0;
_x = random(200);
_y = random(200);
_parent.numGuys++;
}
onClipEvent (enterFrame) {
if (hitTest(_parent.leftboundA)) {
_x = ((_parent.leftboundA._x + (_width / 2)) + 1);
}
if (hitTest(_parent.rightboundA)) {
_x = ((_parent.rightboundA._x - (_width / 2)) - 1);
}
if (hitTest(_parent.topboundA)) {
_y = ((_parent.topboundA._y + (_height / 2)) + 1);
}
if (hitTest(_parent.bottomboundA)) {
_y = ((_parent.bottomboundA._y - (_height / 2)) - 1);
}
if (_currentframe < 5) {
currentF = _parent._currentframe;
if (int(turnRandom == 0)) {
turnRandom = 0;
}
k = _parent.k;
if (random(2) == 0) {
k = k * -1;
}
turnRandom = turnRandom + k;
endx = endx + (((_parent.theStickMan._x + turnRandom) - endx) / turnease);
endy = endy + (((_parent.theStickMan._y + turnRandom) - endy) / turnease);
x = endx - _x;
y = endy - _y;
finalAngle = int(((Math.atan2(y, x) * 180) / 3.141593) + 90);
if (finalAngle < 0) {
finalAngle = finalAngle + 360;
}
_rotation = finalAngle;
if (!hitTest(_parent.theStickMan)) {
this.gotoAndPlay("walk");
_x = (_x - (Math.sin(_rotation * 0.017453) * speed));
_y = (_y + (Math.cos(_rotation * 0.017453) * speed));
} else {
this.gotoAndPlay("attack");
}
}
}
Instance of Symbol 25 MovieClip [badguyX] "badguy2" in Symbol 2072 MovieClip Frame 2
onClipEvent (load) {
turnease = 1;
speed = 1;
endx = 0;
endy = 0;
_x = random(200);
_y = random(200);
_parent.numGuys++;
}
onClipEvent (enterFrame) {
if (hitTest(_parent.leftboundA)) {
_x = ((_parent.leftboundA._x + (_width / 2)) + 1);
}
if (hitTest(_parent.rightboundA)) {
_x = ((_parent.rightboundA._x - (_width / 2)) - 1);
}
if (hitTest(_parent.topboundA)) {
_y = ((_parent.topboundA._y + (_height / 2)) + 1);
}
if (hitTest(_parent.bottomboundA)) {
_y = ((_parent.bottomboundA._y - (_height / 2)) - 1);
}
if (_currentframe < 5) {
currentF = _parent._currentframe;
if (int(turnRandom == 0)) {
turnRandom = 0;
}
k = _parent.k;
if (random(2) == 0) {
k = k * -1;
}
turnRandom = turnRandom + k;
endx = endx + (((_parent.theStickMan._x + turnRandom) - endx) / turnease);
endy = endy + (((_parent.theStickMan._y + turnRandom) - endy) / turnease);
x = endx - _x;
y = endy - _y;
finalAngle = int(((Math.atan2(y, x) * 180) / 3.141593) + 90);
if (finalAngle < 0) {
finalAngle = finalAngle + 360;
}
_rotation = finalAngle;
if (!hitTest(_parent.theStickMan)) {
this.gotoAndPlay("walk");
_x = (_x - (Math.sin(_rotation * 0.017453) * speed));
_y = (_y + (Math.cos(_rotation * 0.017453) * speed));
} else {
this.gotoAndPlay("attack");
}
}
}
Instance of Symbol 25 MovieClip [badguyX] "badguy3" in Symbol 2072 MovieClip Frame 2
onClipEvent (load) {
turnease = 1;
speed = 1;
endx = 0;
endy = 0;
_x = random(200);
_y = random(200);
_parent.numGuys++;
}
onClipEvent (enterFrame) {
if (hitTest(_parent.leftboundA)) {
_x = ((_parent.leftboundA._x + (_width / 2)) + 1);
}
if (hitTest(_parent.rightboundA)) {
_x = ((_parent.rightboundA._x - (_width / 2)) - 1);
}
if (hitTest(_parent.topboundA)) {
_y = ((_parent.topboundA._y + (_height / 2)) + 1);
}
if (hitTest(_parent.bottomboundA)) {
_y = ((_parent.bottomboundA._y - (_height / 2)) - 1);
}
if (_currentframe < 5) {
currentF = _parent._currentframe;
if (int(turnRandom == 0)) {
turnRandom = 0;
}
k = _parent.k;
if (random(2) == 0) {
k = k * -1;
}
turnRandom = turnRandom + k;
endx = endx + (((_parent.theStickMan._x + turnRandom) - endx) / turnease);
endy = endy + (((_parent.theStickMan._y + turnRandom) - endy) / turnease);
x = endx - _x;
y = endy - _y;
finalAngle = int(((Math.atan2(y, x) * 180) / 3.141593) + 90);
if (finalAngle < 0) {
finalAngle = finalAngle + 360;
}
_rotation = finalAngle;
if (!hitTest(_parent.theStickMan)) {
this.gotoAndPlay("walk");
_x = (_x - (Math.sin(_rotation * 0.017453) * speed));
_y = (_y + (Math.cos(_rotation * 0.017453) * speed));
} else {
this.gotoAndPlay("attack");
}
}
}
Instance of Symbol 25 MovieClip [badguyX] "badguy4" in Symbol 2072 MovieClip Frame 2
onClipEvent (load) {
turnease = 1;
speed = 1;
endx = 0;
endy = 0;
_x = random(200);
_y = random(200);
_parent.numGuys++;
}
onClipEvent (enterFrame) {
if (hitTest(_parent.leftboundA)) {
_x = ((_parent.leftboundA._x + (_width / 2)) + 1);
}
if (hitTest(_parent.rightboundA)) {
_x = ((_parent.rightboundA._x - (_width / 2)) - 1);
}
if (hitTest(_parent.topboundA)) {
_y = ((_parent.topboundA._y + (_height / 2)) + 1);
}
if (hitTest(_parent.bottomboundA)) {
_y = ((_parent.bottomboundA._y - (_height / 2)) - 1);
}
if (_currentframe < 5) {
currentF = _parent._currentframe;
if (int(turnRandom == 0)) {
turnRandom = 0;
}
k = _parent.k;
if (random(2) == 0) {
k = k * -1;
}
turnRandom = turnRandom + k;
endx = endx + (((_parent.theStickMan._x + turnRandom) - endx) / turnease);
endy = endy + (((_parent.theStickMan._y + turnRandom) - endy) / turnease);
x = endx - _x;
y = endy - _y;
finalAngle = int(((Math.atan2(y, x) * 180) / 3.141593) + 90);
if (finalAngle < 0) {
finalAngle = finalAngle + 360;
}
_rotation = finalAngle;
if (!hitTest(_parent.theStickMan)) {
this.gotoAndPlay("walk");
_x = (_x - (Math.sin(_rotation * 0.017453) * speed));
_y = (_y + (Math.cos(_rotation * 0.017453) * speed));
} else {
this.gotoAndPlay("attack");
}
}
}
Instance of Symbol 25 MovieClip [badguyX] "badguy5" in Symbol 2072 MovieClip Frame 2
onClipEvent (load) {
turnease = 1;
speed = 1;
endx = 0;
endy = 0;
_x = random(200);
_y = random(200);
_parent.numGuys++;
}
onClipEvent (enterFrame) {
if (hitTest(_parent.leftboundA)) {
_x = ((_parent.leftboundA._x + (_width / 2)) + 1);
}
if (hitTest(_parent.rightboundA)) {
_x = ((_parent.rightboundA._x - (_width / 2)) - 1);
}
if (hitTest(_parent.topboundA)) {
_y = ((_parent.topboundA._y + (_height / 2)) + 1);
}
if (hitTest(_parent.bottomboundA)) {
_y = ((_parent.bottomboundA._y - (_height / 2)) - 1);
}
if (_currentframe < 5) {
currentF = _parent._currentframe;
if (int(turnRandom == 0)) {
turnRandom = 0;
}
k = _parent.k;
if (random(2) == 0) {
k = k * -1;
}
turnRandom = turnRandom + k;
endx = endx + (((_parent.theStickMan._x + turnRandom) - endx) / turnease);
endy = endy + (((_parent.theStickMan._y + turnRandom) - endy) / turnease);
x = endx - _x;
y = endy - _y;
finalAngle = int(((Math.atan2(y, x) * 180) / 3.141593) + 90);
if (finalAngle < 0) {
finalAngle = finalAngle + 360;
}
_rotation = finalAngle;
if (!hitTest(_parent.theStickMan)) {
this.gotoAndPlay("walk");
_x = (_x - (Math.sin(_rotation * 0.017453) * speed));
_y = (_y + (Math.cos(_rotation * 0.017453) * speed));
} else {
this.gotoAndPlay("attack");
}
}
}
Instance of Symbol 25 MovieClip [badguyX] "badguy6" in Symbol 2072 MovieClip Frame 2
onClipEvent (load) {
turnease = 1;
speed = 1;
endx = 0;
endy = 0;
_x = random(200);
_y = random(200);
_parent.numGuys++;
}
onClipEvent (enterFrame) {
if (hitTest(_parent.leftboundA)) {
_x = ((_parent.leftboundA._x + (_width / 2)) + 1);
}
if (hitTest(_parent.rightboundA)) {
_x = ((_parent.rightboundA._x - (_width / 2)) - 1);
}
if (hitTest(_parent.topboundA)) {
_y = ((_parent.topboundA._y + (_height / 2)) + 1);
}
if (hitTest(_parent.bottomboundA)) {
_y = ((_parent.bottomboundA._y - (_height / 2)) - 1);
}
if (_currentframe < 5) {
currentF = _parent._currentframe;
if (int(turnRandom == 0)) {
turnRandom = 0;
}
k = _parent.k;
if (random(2) == 0) {
k = k * -1;
}
turnRandom = turnRandom + k;
endx = endx + (((_parent.theStickMan._x + turnRandom) - endx) / turnease);
endy = endy + (((_parent.theStickMan._y + turnRandom) - endy) / turnease);
x = endx - _x;
y = endy - _y;
finalAngle = int(((Math.atan2(y, x) * 180) / 3.141593) + 90);
if (finalAngle < 0) {
finalAngle = finalAngle + 360;
}
_rotation = finalAngle;
if (!hitTest(_parent.theStickMan)) {
this.gotoAndPlay("walk");
_x = (_x - (Math.sin(_rotation * 0.017453) * speed));
_y = (_y + (Math.cos(_rotation * 0.017453) * speed));
} else {
this.gotoAndPlay("attack");
}
}
}
Instance of Symbol 25 MovieClip [badguyX] "badguy7" in Symbol 2072 MovieClip Frame 2
onClipEvent (load) {
turnease = 1;
speed = 1;
endx = 0;
endy = 0;
_x = random(200);
_y = random(200);
_parent.numGuys++;
}
onClipEvent (enterFrame) {
if (hitTest(_parent.leftboundA)) {
_x = ((_parent.leftboundA._x + (_width / 2)) + 1);
}
if (hitTest(_parent.rightboundA)) {
_x = ((_parent.rightboundA._x - (_width / 2)) - 1);
}
if (hitTest(_parent.topboundA)) {
_y = ((_parent.topboundA._y + (_height / 2)) + 1);
}
if (hitTest(_parent.bottomboundA)) {
_y = ((_parent.bottomboundA._y - (_height / 2)) - 1);
}
if (_currentframe < 5) {
currentF = _parent._currentframe;
if (int(turnRandom == 0)) {
turnRandom = 0;
}
k = _parent.k;
if (random(2) == 0) {
k = k * -1;
}
turnRandom = turnRandom + k;
endx = endx + (((_parent.theStickMan._x + turnRandom) - endx) / turnease);
endy = endy + (((_parent.theStickMan._y + turnRandom) - endy) / turnease);
x = endx - _x;
y = endy - _y;
finalAngle = int(((Math.atan2(y, x) * 180) / 3.141593) + 90);
if (finalAngle < 0) {
finalAngle = finalAngle + 360;
}
_rotation = finalAngle;
if (!hitTest(_parent.theStickMan)) {
this.gotoAndPlay("walk");
_x = (_x - (Math.sin(_rotation * 0.017453) * speed));
_y = (_y + (Math.cos(_rotation * 0.017453) * speed));
} else {
this.gotoAndPlay("attack");
}
}
}
Instance of Symbol 2068 MovieClip "theStickMan" in Symbol 2072 MovieClip Frame 2
onClipEvent (load) {
yStart = _y;
theStickMan._y = _root.yLocation;
theStickMan._x = _root.xLocation;
speed = 15;
cspeed = 0;
maxSpeed = 15;
down = false;
up = true;
ease = 5;
gotoAndStop (6);
z = 0;
}
onClipEvent (enterFrame) {
z++;
if (z >= 60) {
z = 0;
_parent.secondsLeft--;
if (_parent.secondsLeft <= 0) {
_parent.gotoAndPlay("lose");
}
}
_parent.manumGuys = "Number of guys left: " + _parent.numGuys;
if (hitTest(_parent.leftbound)) {
_x = ((_parent.leftbound._x + (_width / 2)) + 1);
cspeed = cspeed * -1;
}
if (hitTest(_parent.rightbound)) {
_x = ((_parent.rightbound._x - (_width / 2)) - 1);
cspeed = cspeed * -1;
}
if (hitTest(_parent.topbound)) {
_y = ((_parent.topbound._y + (_height / 2)) + 1);
cspeed = cspeed * -1;
}
if (hitTest(_parent.bottombound)) {
_y = ((_parent.bottombound._y - (_height / 2)) - 1);
cspeed = cspeed * -1;
}
_width = r;
_height = r;
}
onClipEvent (enterFrame) {
if (((_currentframe == 6) || (_currentframe == 7)) || (_currentframe == 3)) {
firstAngle = Math.abs(_rotation - 90);
secondAngle = 90 - firstAngle;
firstR = (Math.PI/2) - ((Math.PI * firstAngle) / 180);
secondR = (Math.PI/2) - ((Math.PI * secondAngle) / 180);
if ((this._rotation >= 90) && (this._rotation <= 180)) {
firstR = Math.PI - ((Math.PI * secondAngle) / 180);
secondR = Math.PI - ((Math.PI * firstAngle) / 180);
}
moveDistanceX = cspeed * Math.sin(firstR);
moveDistanceY = cspeed * Math.cos(firstR);
if (Key.isDown(39)) {
this._rotation = this._rotation + cspeed;
}
if (Key.isDown(40)) {
cspeed = cspeed - 0.2;
}
if (Key.isDown(38)) {
cspeed = cspeed + 0.2;
}
if (Key.isDown(37)) {
this._rotation = this._rotation - cspeed;
}
if (cspeed < -0.1) {
up = false;
down = true;
cspeed = cspeed + 0.1;
} else if (cspeed > 0.1) {
up = true;
down = false;
cspeed = cspeed - 0.1;
} else {
_root.mobile = false;
cspeed = 0;
}
if (cspeed < (-maxSpeed)) {
cspeed = -maxSpeed;
} else if (cspeed > maxSpeed) {
cspeed = maxSpeed;
}
moveDistanceX = cspeed * Math.sin(firstR);
moveDistanceY = cspeed * Math.cos(firstR);
_x = (_x + moveDistanceX);
_y = (_y - moveDistanceY);
} else {
firstAngle = Math.abs(_rotation - 90);
secondAngle = 90 - firstAngle;
firstR = (Math.PI/2) - ((Math.PI * firstAngle) / 180);
secondR = (Math.PI/2) - ((Math.PI * secondAngle) / 180);
if ((this._rotation >= 90) && (this._rotation <= 180)) {
firstR = Math.PI - ((Math.PI * secondAngle) / 180);
secondR = Math.PI - ((Math.PI * firstAngle) / 180);
}
moveDistanceX = speed * Math.sin(firstR);
moveDistanceY = speed * Math.cos(firstR);
if (Key.isDown(39)) {
this._rotation = this._rotation + speed;
}
if (Key.isDown(40)) {
_x = (_x - moveDistanceX);
_y = (_y + moveDistanceY);
}
if (Key.isDown(38)) {
_x = (_x + moveDistanceX);
_y = (_y - moveDistanceY);
}
if (Key.isDown(37)) {
this._rotation = this._rotation - speed;
}
}
}
Symbol 2072 MovieClip Frame 3
prize = ((30 - secondsLeft) * _root.workLevel) * 50;
say = ((((((((("Congratulations.\nYou successfully ran over 7 pedestrians in " + secondsLeft) + "\nYou have earned $") + prize) + "\n(30 seconds - ") + secondsLeft) + " seconds left * work level of ") + _root.workLevel) + " * 50 = $") + prize) + ")";
_root.payDayMoney = _root.payDayMoney + prize;
stop();
Symbol 2072 MovieClip Frame 4
stop();
say = "You lost.";
Symbol 2080 Button
on (release) {
_root.enemyPower = 80;
_root.theEnemy = "kxl";
_root.sub.gotoAndPlay("rpgFight");
}
Symbol 2089 Button
on (release) {
choice = choiceA;
gotoAndPlay (2);
}
Symbol 2090 Button
on (release) {
choice = choiceB;
gotoAndPlay (2);
}
Symbol 2091 Button
on (release) {
choice = choiceA;
}
Symbol 2092 Button
on (release) {
choice = choiceB;
}
Symbol 2093 MovieClip Frame 1
neededIntel = _root.workLevel * 7;
if (int(Replies) == 0) {
Replies = 0;
BossSays = ("Why " + _root.userName) + ", what brings you to my office?";
choiceA = "Well, I would like a raise.";
choiceB = "Just wanted to say hello.";
} else {
if (choice == "Well, I would like a raise.") {
if (_root.userIntel < neededIntel) {
BossSays = (((("A raise? Why should I give you a raise to Level " + _root.workLevel) + 1) + " if you have only ") + _root.userIntel) + " intelligence? I think I'll decide against this promotion.";
choiceA = "Hmm, well I respect your decision. Sorry I bothered you.";
choiceB = "Well, I feel that I have worked hard and deserve to be rewarded.";
} else {
BossSays = ("A raise? Hmm, well you have shown that you could be more useful. Having " + _root.userIntel) + " intelligence has beneifited K2xL...";
choiceA = "Thank you, sir.";
choiceB = "So I assume that you will give me a raise?";
}
}
if (choice == "Hmm, well I respect your decision. Sorry I bothered you.") {
BossSays = "Good day.";
choiceA = ":(";
choiceB = ":(";
}
if (choice == "Well, I feel that I have worked hard and deserve to be rewarded.") {
if ((neededIntel - _root.userIntel) < 4) {
if (random(2) == 0) {
_root.workLevel++;
BossSays = "Hmm. I supposed you are right...You have demonstrated good work skills. I'll promote you to level " + _root.workLevel;
choiceA = ":)";
choiceB = ":)";
} else {
_root.workLevel--;
if (_root.workLevel <= 0) {
_root.workLevel = 0;
}
BossSays = "I SAID NO. AND BECAUSE OF YOUR INCOMPENTENCE I AM DEMOTING YOU TO LEVEL " + _root.workLevel;
choiceA = ":(";
choiceB = ":(";
}
} else {
_root.workLevel--;
if (_root.workLevel <= 0) {
_root.workLevel = 0;
}
BossSays = ("Listen you complete idiot. Your intelligence is not even CLOSE to good enough for me to even consider this. In fact, I think I'll demote you to Work Level " + _root.workLevel) + " until you get some brains.";
}
choiceA = ":(";
choiceB = ":(";
}
if ((choice == "Thank you, sir.") || (choice == "Yes, and thank you.")) {
_root.workLevel++;
BossSays = "Yes. You convinced me. I'll promote you to level " + _root.workLevel;
choiceA = ":)";
choiceB = ":)";
}
if (choice == "Hmm, good point. Sorry I bothered you.") {
this._parent.gotoAndPlay(1);
}
if (choice == "So I assume that you will give me a raise?") {
BossSays = ("Assume!? Let me remind you Mr. " + _root.userName) + " that you should never assume that you will get promoted. Take now as an example. Now get out of my office. Or I will have you demoted.";
choiceA = "I apologize, sir.";
choiceB = "Please don't take that tone with me, sir.";
}
if (choice == "I apologize, sir.") {
BossSays = "It's alright. Just I'm a bit in a turmoil right now. So if you could give me so peace and quiet, me and you can get back to work.";
choiceA = "Oh, I understand. I'll be on my way.";
choiceB = "What's wrong?";
}
if (choice == "What's wrong?") {
if (!_root.BossMission) {
BossSays = "Just we are supposed to finish up work for a client from South America named Pablo, just he has some blueprints. He told us to meet us under the bank, but we can't find where this 'bank' is...Hold on, you know South America pretty well? Maybe you can help find us the guy!";
choiceA = "Sure.";
choiceB = "No thanks";
} else {
BossSays = "It is just hard finding clients now. But they will come soon enough. But sorry, this firm can't afford to pay it's employees any more money.";
choiceA = ":(";
choiceB = ":(";
}
}
if (choice == "No thanks") {
BossSays = "Fine. Then get out of my office. No raise buddy.";
choiceA = ":(";
choiceB = ":(";
}
if (choice == "Sure.") {
BossSays = "Excellent. Get the blueprints and the money from the man, then mail them here. I'll let you keep 20% of the money if you actually find him. That means you get 20% of $20,000! Now get out of here and find him!";
choiceA = ":)";
choiceB = ":)";
_root.BossMission = true;
}
if (choice == "Please don't take that tone with me, sir.") {
_root.workLevel = _root.workLevel - 2;
if (_root.workLevel <= 0) {
_root.workLevel = 0;
}
BossSays = ("I WILL TAKE ANY TONE I WANT WITH YOU! GET OUT OF HERE. YOU HAVE BEEN DEMOTED TO WORK LEVEL " + _root.workLevel) + ". GOOD DAY.";
choiceA = ":(";
choiceB = ":(";
}
if ((choice == ":(") || (choice == ":)")) {
this._parent.gotoAndPlay(1);
}
if (choice == "Just wanted to say hello.") {
BossSays = ("Ah, thank you " + _root.userName) + ". That actually cheered me up a bit. See, I'm in a bit of a mess right now.";
choiceA = "Oh, I understand. I'll be on my way.";
choiceB = "What's wrong?";
}
if (choice == "Oh, I understand. I'll be on my way.") {
if (_root.userIntel > int(neededIntel + (neededIntel * 0.25))) {
BossSays = ((("Now hold on a moment there... I do want to talk to you about your work. I have noticed that your intellegence level at " + _root.userIntel) + " is far beyond from where you are working at right now. I just wanted to offer a new job, at work level +") + (_root.workLevel + 1)) + ".\nSo what do you say?";
choiceA = "Yes, and thank you.";
choiceB = "No, I am happy where I work.";
} else {
BossSays = "Make sure you shut the door on your way out.";
choiceA = ":(";
choiceB = ":(";
}
}
if (choice == "No, I am happy where I work.") {
BossSays = "Why I've never seen an employee that unselfish. To think I thought you were coming into this office to demand a promotion. I do feel I should reward you for your hard work. And this is why I'm going to give you an early season bonus of $100. Good day " + _root.userName;
choiceA = ":)";
choiceB = ":)";
_root.money = _root.money + 100;
}
}
stop();
Symbol 2093 MovieClip Frame 2
Replies++;
gotoAndPlay (1);
Symbol 2097 MovieClip Frame 1
currentLevel = ("You're Work Level: " + _root.workLevel) + newline;
if (_root.workLevel >= 1) {
talkToBoss._visible = true;
getHired._visible = false;
} else {
getHired._visible = true;
talkToBoss._visible = false;
}
c = 0;
m = 1;
while (m < 5) {
if (_root.workLevel > c) {
eval (("lvl" + m) + "job")._visible = true;
} else {
eval (("lvl" + m) + "job")._visible = false;
}
c = c + 3;
m++;
}
if ((_root.intDays % 4) == 0) {
payDayCollect.gotoAndPlay(2);
} else {
payDayCollect.gotoAndPlay("blank");
}
stop();
Symbol 2097 MovieClip Frame 2
stop();
Symbol 2097 MovieClip Frame 3
stop();
Symbol 2097 MovieClip Frame 4
stop();
Symbol 2097 MovieClip Frame 19
stop();
Symbol 2097 MovieClip Frame 20
bossTalkDay = _root.days;
if (_root.workLevel <= 0) {
gotoAndPlay ("hire");
}
if (((_root.BossMission == true) && (_root.pabloCompletion == true)) && ((!_root.BossCompletion) == true)) {
pay = 4000;
sa = ("YOU GOT THE BLUE PRINTS! HERE'S YOUR PAY OF $" + pay) + "!";
_root.money = _root.money + pay;
_root.BossCompletion = true;
nextFrame();
} else {
stop();
}
Symbol 2104 Button
on (release) {
if (_root.money >= 100) {
_root.money = _root.money - 100;
gotoAndPlay ("intel");
} else {
error = "You can't afford school.";
}
}
Symbol 2108 Button
on (release) {
if (_root.money > 100) {
_root.money = _root.money - 100;
gotoAndPlay ("intel");
} else {
error = "You can't afford school.";
}
}
Symbol 2111 Button
on (release) {
gotoAndPlay (1);
}
Symbol 2112 MovieClip Frame 1
stop();
Symbol 2112 MovieClip Frame 2
gainedIntel = random(3) + 1;
_root.userIntel = _root.userIntel + gainedIntel;
_root.daysAddOn = _root.daysAddOn + 0.3;
intelG = ("You gained " + gainedIntel) + " intelligence.";
stop();
Symbol 2118 MovieClip Frame 1
gotoAndPlay(random(5));
Symbol 2122 MovieClip Frame 1
gotoAndPlay(random(5));
Symbol 2125 MovieClip Frame 1
gotoAndPlay(random(5));
Symbol 2133 MovieClip Frame 1
gotoAndPlay ("blank");
Symbol 2133 MovieClip Frame 5
stop();
Symbol 2133 MovieClip Frame 7
stop();
Symbol 2133 MovieClip Frame 10
gotoAndStop([_root.theEnemy.toLowerCase()]);
Symbol 2137 Button
on (release) {
_parent.attackGage.gotoAndPlay(2);
}
Symbol 2139 Button
on (release) {
_parent.heal.gotoAndPlay(2);
_parent.stickhp = _parent.stickhp + random(_parent.stickhp);
if (_parent.stickhp > _root.hpMax) {
_parent.stickhp = _root.hpMax;
}
_parent.gotoAndPlay("computer");
}
Symbol 2141 Button
on (release) {
_parent.charge.gotoAndPlay(2);
_parent.gotoAndPlay("computer");
}
Symbol 2142 MovieClip Frame 1
if (_parent.charge._currentframe == 2) {
ch._visible = false;
} else {
ch._visible = true;
}
Symbol 2146 MovieClip Frame 1
gotoAndPlay(random(20) + 1);
Symbol 2147 MovieClip Frame 1
stop();
Symbol 2149 MovieClip Frame 1
stop();
pow = "POW!\n-" + _parent._parent._parent.attackPower;
_parent._parent._parent.enemyhp = _parent._parent._parent.enemyhp - _parent._parent._parent.attackPower;
Symbol 2150 MovieClip Frame 1
gotoAndPlay(random(15));
Symbol 2150 MovieClip Frame 70
stop();
Symbol 2152 MovieClip Frame 70
_parent._parent.gotoAndPlay("computer");
stop();
Symbol 2153 MovieClip Frame 1
stop();
Symbol 2153 MovieClip Frame 2
stop();
Symbol 2153 MovieClip Frame 3
_parent.attackPower = Math.round(_parent.attackPower / 2);
stop();
Symbol 2160 Button
on (keyPress "<Space>") {
if (!spacebar) {
spaceBar = true;
attackPow = Math.round(((90 + (_parent.stickhp / 10)) - Math.abs(attackbar._y - perfect._y)) / 4) + random(_root.bodypower);
_parent.attackPower = attackPow;
_parent.gotoAndPlay("attack");
}
}
Symbol 2162 MovieClip Frame 1
stop();
Symbol 2162 MovieClip Frame 2
stop();
Instance of Symbol 2158 MovieClip "perfect" in Symbol 2162 MovieClip Frame 2
onClipEvent (enterFrame) {
if (_parent.spaceBar) {
} else {
if (int(speedIt) == 0) {
speedIt = 1;
}
speedIt = speedIt + (1 / Math.round(_root.userIntel + 1));
if (speedIt > 40) {
speedIt = 40;
}
if (int(b) == 0) {
b = 0;
}
if (down) {
b++;
_y = (_y + random(speedIt));
} else {
b--;
_y = (_y - random(speedIt));
}
if (_y < 0) {
down = true;
} else if (_y >= 118.4) {
down = false;
}
}
}
Instance of Symbol 2161 MovieClip "attackbar" in Symbol 2162 MovieClip Frame 2
onClipEvent (enterFrame) {
if (_parent.spaceBar) {
} else {
if (int(speedIt) == 0) {
speedIt = 1;
}
speedIt = speedIt + (1 / (_root.bodypower + 1));
if (speedIt > 40) {
speedIt = 40;
}
if (int(b) == 0) {
b = 0;
}
if (down) {
b++;
_y = (_y + random(speedIt));
} else {
b--;
_y = (_y - random(speedIt));
}
if (_y < 0) {
down = true;
} else if (_y >= 118.4) {
down = false;
}
}
}
Symbol 2170 MovieClip Frame 1
gotoAndPlay(random(20));
Symbol 2170 MovieClip Frame 40
stop();
Symbol 2171 MovieClip Frame 1
stop();
Symbol 2171 MovieClip Frame 2
stop();
Symbol 2174 MovieClip Frame 1
stop();
pow = "POW!\n-" + (int(_parent._parent.attackPower) + 1);
_parent._parent.enemyhp = _parent._parent.enemyhp - (_parent._parent.attackPower + 1);
Symbol 2176 MovieClip Frame 1
stop();
enemyattack = Math.round(random(_parent._parent.enemyhp) + 1);
pow = "POW!\n-" + (enemyattack + 1);
_parent._parent.stickhp = _parent._parent.stickhp - (enemyattack + 1);
Symbol 2177 MovieClip Frame 195
_parent.gotoAndPlay("computer");
Symbol 2184 MovieClip Frame 135
_parent.gotoAndPlay("playerturn");
Symbol 2187 MovieClip Frame 28
stop();
Symbol 2190 MovieClip Frame 28
stop();
Symbol 2191 MovieClip Frame 19
stop();
Symbol 2192 Button
on (release) {
_root.sub.gotoAndPlay("death");
}
Symbol 2193 MovieClip Frame 1
stickhp = _root.userhp;
cashPrize = _root.enemyPower;
enemyhp = cashPrize;
stop();
Instance of Symbol 2142 MovieClip "submenu" in Symbol 2193 MovieClip Frame 1
onClipEvent (enterFrame) {
if (!_root.rpgCharge) {
this.charge.enabled = false;
}
if (!_root.rpgHeal) {
this.heal.enabled = false;
}
}
Symbol 2193 MovieClip Frame 2
if (stickhp <= 0) {
gotoAndPlay ("lose");
}
stop();
Symbol 2193 MovieClip Frame 3
if (charge._currentframe == 2) {
gotoAndPlay ("charge");
} else {
stop();
}
Symbol 2193 MovieClip Frame 5
stop();
charge.nextFrame();
Symbol 2193 MovieClip Frame 6
if (enemyhp <= 0) {
gotoAndPlay ("win");
}
stop();
Symbol 2193 MovieClip Frame 11
_root.userhp = stickhp;
_root.hpMax = _root.hpMax + (random(5) + 1);
foundmoney = random(_root.enemyPower) + 1;
_root.money = _root.money + foundmoney;
maxHP = ((("You can now hold more HP!\n(Max HP increased to " + _root.hpMax) + ")\nPlus you found $") + foundmoney) + " in his pocket.";
if (_root.theEnemy == "kxl") {
_root.workLevel = 1;
}
if (_root.theEnemy == "jail") {
_root.jailMission = true;
_root.money = _root.money + 100000;
}
_root.theEnemy = " ";
stop();
Symbol 2193 MovieClip Frame 12
stop();
Symbol 2197 Button
on (release) {
_root.daysAddOn = _root.daysAddOn + 0.2;
_root.theEnemy = "nomad";
_root.enemyPower = random(100) + 1;
gotoAndPlay ("rpgFight");
}
Symbol 2198 Button
on (release) {
unloadMovieNum (3);
_root.sub.gotoAndPlay("explore");
}
Symbol 2199 Button
on (release) {
_parent.gotoAndStop("yourchar");
}
Symbol 2203 Button
on (release) {
if (_root.money >= 200) {
_root.money = _root.money - 200;
_root.daysAddOn = 0.2;
gotoAndPlay (2);
} else {
error = "Not enough cash";
}
}
Symbol 2206 Button
on (release) {
if (_root.money >= 100) {
_root.money = _root.money - 100;
score = (_root.bodypower + random(3)) + 1;
_root.daysAddOn = 0.1;
gotoAndPlay ("results");
} else {
error = "Not enough cash";
}
}
Symbol 2213 MovieClip Frame 1
stop();
Symbol 2213 MovieClip Frame 10
_parent.score++;
if (_root.userhp > 5) {
_root.userhp = _root.userhp - random(3);
} else {
_parent.nextFrame();
}
Symbol 2213 MovieClip Frame 19
stop();
Symbol 2213 MovieClip Frame 20
gotoAndPlay (1);
Symbol 2215 Button
on (keyPress "<Left>") {
if (!left) {
weights.nextFrame();
indicator.nextFrame();
left = true;
}
}
on (keyPress "<Right>") {
if (left) {
indicator.nextFrame();
weights.nextFrame();
left = false;
}
}
Symbol 2218 MovieClip Frame 1
stop();
Symbol 2218 MovieClip Frame 3
gotoAndPlay (1);
Symbol 2222 MovieClip Frame 1
if (timer < 0) {
timer = 15;
}
mark1 = getTimer();
Symbol 2222 MovieClip Frame 2
mark2 = getTimer();
theMark = mark2 - mark1;
if (theMark >= 1000) {
timer--;
if (timer < 0) {
this._parent.gotoAndPlay("results");
} else {
gotoAndPlay (1);
}
}
gotoAndPlay (2);
Symbol 2222 MovieClip Frame 3
gotoAndPlay (2);
Symbol 2225 MovieClip Frame 1
stop();
Symbol 2225 MovieClip Frame 2
liftspeed = 5;
indicator.stop();
score = _root.bodypower;
stop();
Symbol 2225 MovieClip Frame 3
_root.bodypower = score;
stop();
Symbol 2233 Button
on (release) {
_root.timeToPlaySniper = _root.intDays + 7;
_root.daysAddOn = 1;
nextFrame();
}
Symbol 2251 MovieClip Frame 2
stop();
Symbol 2254 MovieClip Frame 24
stop();
Symbol 2255 MovieClip Frame 1
stop();
Instance of Symbol 2247 MovieClip "head" in Symbol 2255 MovieClip Frame 1
/* no clip actions */
Symbol 2255 MovieClip Frame 2
stop();
Instance of Symbol 2251 MovieClip in Symbol 2255 MovieClip Frame 3
onClipEvent (load) {
ground = _y + _width;
}
onClipEvent (enterFrame) {
if (_rotation > -90) {
_rotation = (_rotation - 10);
}
if (_y < (ground * 2.5)) {
_y = (_y+1);
}
}
Instance of Symbol 2255 MovieClip "badguy7" in Symbol 2256 MovieClip Frame 1
onClipEvent (load) {
if (_parent._parent.guysNeeded < 10) {
if (random(10) == 0) {
_parent._parent.guysNeeded++;
nextFrame();
}
}
}
Instance of Symbol 2255 MovieClip "badguy8" in Symbol 2256 MovieClip Frame 1
/* no clip actions */
Instance of Symbol 2255 MovieClip "badguy6" in Symbol 2256 MovieClip Frame 1
/* no clip actions */
Instance of Symbol 2255 MovieClip "badguy2" in Symbol 2256 MovieClip Frame 1
/* no clip actions */
Instance of Symbol 2255 MovieClip "badguy5" in Symbol 2256 MovieClip Frame 1
/* no clip actions */
Instance of Symbol 2255 MovieClip "badguy4" in Symbol 2256 MovieClip Frame 1
/* no clip actions */
Instance of Symbol 2255 MovieClip "badguy3" in Symbol 2256 MovieClip Frame 1
/* no clip actions */
Instance of Symbol 2255 MovieClip "badguy1" in Symbol 2256 MovieClip Frame 1
/* no clip actions */
Instance of Symbol 2255 MovieClip "badguy9" in Symbol 2256 MovieClip Frame 1
/* no clip actions */
Instance of Symbol 2255 MovieClip "badguy10" in Symbol 2256 MovieClip Frame 1
/* no clip actions */
Instance of Symbol 2255 MovieClip "badguy11" in Symbol 2256 MovieClip Frame 1
/* no clip actions */
Instance of Symbol 2255 MovieClip "badguy12" in Symbol 2256 MovieClip Frame 1
/* no clip actions */
Symbol 2257 MovieClip Frame 1
guysNeeded = 0;
Symbol 2261 MovieClip Frame 1
if (int(time) == 0) {
time = 100;
}
Symbol 2261 MovieClip Frame 60
time--;
if (time <= 0) {
_parent.nextFrame();
}
gotoAndPlay (1);
Instance of Symbol 2258 MovieClip "Image" in Symbol 2264 MovieClip Frame 1
onClipEvent (load) {
zoomLevel = 1;
}
onClipEvent (enterFrame) {
_width = (500 * zoomLevel);
_height = (500 * zoomLevel);
setProperty(this, _x , (((0 * (zoomLevel - 2)) - _parent._x) - 250) * zoomLevel);
setProperty(this, _y , (((0 * (zoomLevel - 2)) - _parent._y) - 250) * zoomLevel);
if (Key.isDown(38)) {
if (spaceDone == true) {
if (zoomLevel <= 8) {
zoomLevel = zoomLevel * 2;
}
spaceDone = false;
}
} else if (Key.isDown(40)) {
if (spaceDone == true) {
if (zoomLevel > 1) {
zoomLevel = zoomLevel / 2;
}
spaceDone = false;
}
} else {
spaceDone = true;
}
}
Symbol 2271 MovieClip Frame 1
_root.money = _root.money + 50000;
Symbol 2275 MovieClip Frame 1
say = ("Sorry, you've got to wait until at least day " + _root.timeToPlaySniper) + " to shoot some more of the gang";
Symbol 2276 MovieClip Frame 1
if (_root.gunequipped != "awp") {
gotoAndStop ("cant");
} else if (_root.timeToPlaySniper > _root.intDays) {
gotoAndStop ("cant2");
} else {
stop();
}
Instance of Symbol 2264 MovieClip "Zoom" in Symbol 2276 MovieClip Frame 2
onClipEvent (load) {
Mouse.hide();
mySound = new Sound(this);
mySound.attachSound("awp");
badguysWanted = true;
numGuys = 12;
_parent.guysNeeded = 0;
p = 1;
while (p <= 4) {
this["x" + p] = (random(2) + ((p - 1) * 3)) + 1;
_parent.Zoom.Image.area51.sub["badguy" + eval ("x" + p)].gotoAndStop(2);
_parent.Zoom.Image.area51.sub["badguy" + eval ("x" + p)].earring = true;
_parent.LittleImage.area51.sub["badguy" + eval ("x" + p)].gotoAndStop(2);
_parent.LittleImage.area51.sub["badguy" + eval ("x" + p)].earring = true;
_parent.guysNeeded++;
p++;
}
}
onClipEvent (mouseDown) {
if (_root.playSound) {
mySound.start(0, 1);
}
attachMovie("snipeshot", "snipeshot1", 13);
snipeshot1._x = globalToLocal(_parent.scope._x);
snipeshot1._y = globalToLocal(_parent.scope._y);
v = 1;
while (v <= numGuys) {
if (snipeshot1.hitTest(_parent.Zoom.Image.area51.sub["badguy" + v])) {
if (_parent.Zoom.Image.area51.sub["badguy" + v].earring) {
if (snipeshot1.hitTest(_parent.Zoom.Image.area51.sub["badguy" + v].head)) {
_parent.Zoom.Image.area51.sub["badguy" + v].nextFrame();
_parent.LittleImage.area51.sub["badguy" + v].nextFrame();
_parent.guysNeeded--;
if (_parent.guysNeeded <= 0) {
_parent.gotoAndStop("win");
}
break;
}
} else {
_parent.gotoAndStop("fail");
}
} else if (v >= numGuys) {
_parent.gotoAndStop("fail");
}
v++;
}
}
onClipEvent (enterFrame) {
_parent.theguysNeeded = "Enemies Left: " + _parent.guysNeeded;
_x = (_x + ((_parent._xmouse - _x) / 10));
_y = (_y + ((_parent._ymouse - _y) / 10));
_parent.scope._x = _x;
_parent.scope._y = _y;
}
Symbol 2276 MovieClip Frame 3
Mouse.show();
Symbol 2276 MovieClip Frame 4
Mouse.show();
Symbol 2276 MovieClip Frame 5
Mouse.show();
Symbol 2276 MovieClip Frame 6
Mouse.show();
Symbol 2282 Button
on (release) {
if ((_root.intDays % 5) != 0) {
j = 1;
while (j <= 10) {
if (((_root.intDays + j) % 5) == 0) {
x = _root.intDays + j;
break;
}
j++;
}
reason = ("Sorry, the next tournament is on day " + x) + "\n(every 5 days)";
gotoAndStop ("sorry");
} else if (_root.money < 1000) {
reason = "You don't have enough money to enter.";
gotoAndStop ("sorry");
} else {
_root.money = _root.money - 1000;
_root.daysAddOn = 1;
fightNum = 1;
nextFrame();
}
}
Symbol 2286 Button
on (release) {
_parent.gotoAndStop("next");
}
Symbol 2290 Button
on (release) {
if (_parent.fightNum == 4) {
_parent.prize = 20000;
_parent.gotoAndStop("win");
} else if (_parent.fightNum == 3) {
prize = 10000;
_parent.gotoAndStop("win");
} else {
_parent.prize = 0;
_parent.gotoAndStop("lose");
}
}
Symbol 2292 MovieClip Frame 359
if (_parent.line.length >= 1) {
gotoAndPlay (1000);
}
Symbol 2292 MovieClip Frame 638
stop();
Symbol 2292 MovieClip Frame 1014
_parent.line = "";
stop();
Symbol 2301 Button
on (release) {
if (_root.money >= 5000) {
_root.money = _root.money - 5000;
_root.karateTrained = true;
_root.daysAddOn = 1;
gotoAndStop (1);
} else {
reason = "You can't afford my training";
gotoAndStop ("sorry");
}
}
Symbol 2303 Button
on (release) {
gotoAndStop (2);
}
Symbol 2305 MovieClip Frame 1
if (!_root.karateTrained) {
gotoAndStop ("needTraining");
} else {
stop();
}
Symbol 2305 MovieClip Frame 2
stop();
Instance of Symbol 2292 MovieClip in Symbol 2305 MovieClip Frame 2
onClipEvent (load) {
stop();
_parent.theFight = "Fight #" + _parent.fightNum;
_parent.line = "";
i = 0;
newKey = true;
letter = new Array("a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z");
letterPosition = new Array();
b = 0;
while (b <= (12 + (_parent.fightNum * 2))) {
v = random(letter.length);
z = letter[v];
_parent.line = _parent.line + z;
letterPosition[b] = v + 65;
b++;
}
}
onClipEvent (enterFrame) {
firstLetter = _parent.line.charAt(0);
if (Key.isDown(letterPosition[i])) {
_parent.line = _parent.line.substr(1, _parent.line.length);
if (i == 0) {
play();
}
i++;
}
}
Symbol 2305 MovieClip Frame 3
say = "The tournament is over. You did well my apprentice. You won " + prize;
_root.money = _root.money + prize;
stop();
Symbol 2305 MovieClip Frame 4
stop();
Symbol 2305 MovieClip Frame 5
if ((_root.userIntel < 25) || (_root.bodypower < 15)) {
reason = "Sorry, your strength must be at least 25 and your intellgence must be at least 15 to be trained by me.";
gotoAndStop ("sorry");
} else {
stop();
}
Symbol 2305 MovieClip Frame 6
if (fightNum >= 5) {
prize = 50000;
gotoAndPlay ("win");
} else {
stop();
fightNum++;
}
Symbol 2305 MovieClip Frame 7
stop();
Symbol 2315 Button
on (release) {
encoded = uncoded;
stvar = "1";
while (Number(stvar) <= Number(length(encoded))) {
trace(stvar);
letter = chr(ord(mbsubstring(encoded, stvar, 1)) - uncode);
uncoded = uncoded add letter;
stvar = Number(stvar) + 1;
}
_root.writeData(uncoded);
uncodedCode = uncoded;
uncoded = "Loaded - Notice, not everything may have been loaded in, hopefully it did but I'm not sure.";
}
Symbol 2321 Button
on (press) {
startDrag ("/draggedmovie");
}
on (release) {
stopDrag();
}
Symbol 2324 Button
on (release) {
tellTarget ("/draggedmovie") {
gotoAndStop (1);
};
}
Symbol 2325 MovieClip Frame 1
stop();
Symbol 2326 MovieClip Frame 1
uncoded = _root.readData();
code = 129;
uncode = 129;
if (Number(length(code)) > 1) {
encoded = "";
stvar = "1";
while (Number(stvar) <= Number(length(uncoded))) {
letter = chr(Number(ord(mbsubstring(uncoded, stvar, 1))) + Number(code));
encoded = encoded add letter;
stvar = Number(stvar) + 1;
}
uncoded = "";
} else {
code = "EnterCodeHere";
}
Symbol 2331 MovieClip Frame 1
gotoAndStop(_root.whereAmI);
Instance of Symbol 537 MovieClip in Symbol 2331 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.desk.hitTest(_parent.theStickMan)) {
this.say = "Press spacebar to leave.";
if (Key.isDown(32)) {
_root.sub.gotoAndPlay("explore");
}
} else {
this.say = "";
}
}
Instance of Symbol 2330 MovieClip in Symbol 2331 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.desk.hitTest(_parent.theStickMan)) {
this.say = "Press spacebar to buy/sell dvds.";
if (Key.isDown(32)) {
_parent._parent.gotoAndStop(2);
}
} else {
this.say = "";
}
}
Instance of Symbol 566 MovieClip in Symbol 2331 MovieClip Frame 1
onClipEvent (load) {
gotoAndPlay (4);
}
Instance of Symbol 566 MovieClip in Symbol 2331 MovieClip Frame 1
onClipEvent (load) {
gotoAndStop ("im");
}
Instance of Symbol 566 MovieClip in Symbol 2331 MovieClip Frame 1
onClipEvent (load) {
gotoAndStop ("im");
}
Instance of Symbol 566 MovieClip in Symbol 2331 MovieClip Frame 1
onClipEvent (load) {
gotoAndPlay (4);
}
Instance of Symbol 566 MovieClip in Symbol 2331 MovieClip Frame 1
onClipEvent (load) {
gotoAndPlay (4);
}
Instance of Symbol 566 MovieClip in Symbol 2331 MovieClip Frame 1
onClipEvent (load) {
gotoAndStop ("im");
}
Instance of Symbol 609 MovieClip "theStickMan" in Symbol 2331 MovieClip Frame 1
onClipEvent (load) {
numofObjects = 15;
if (int(_root.LocalyLocation) == 0) {
_root.LocalyLocation = _y;
_root.LocalxLocation = _x;
}
_y = _root.LocalyLocation;
_x = _root.LocalxLocation;
speed = 2;
}
onClipEvent (enterFrame) {
if (_currentframe != 2) {
gotoAndStop (2);
}
_root.LocalyLocation = _y;
_root.LocalxLocation = _x;
markX = _x;
markY = _y;
if ((markX + markY) == sum) {
_root.mobile = false;
_root.sub._y = 1;
} else {
_root.mobile = true;
}
sum = markX + markY;
firstAngle = Math.abs(_rotation - 90);
secondAngle = 90 - firstAngle;
firstR = (Math.PI/2) - ((Math.PI * firstAngle) / 180);
secondR = (Math.PI/2) - ((Math.PI * secondAngle) / 180);
if ((this._rotation >= 90) && (this._rotation <= 180)) {
firstR = Math.PI - ((Math.PI * secondAngle) / 180);
secondR = Math.PI - ((Math.PI * firstAngle) / 180);
}
moveDistanceX = speed * Math.sin(firstR);
moveDistanceY = speed * Math.cos(firstR);
if (Key.isDown(39)) {
this._rotation = this._rotation + 10;
}
if (Key.isDown(40)) {
_x = (_x - moveDistanceX);
_y = (_y + moveDistanceY);
n = 1;
while (n <= numofObjects) {
if (this.hitTest(_parent["object" + n])) {
Mobile = false;
break;
}
if (n == numofObjects) {
Mobile = true;
}
n++;
}
if (!Mobile) {
_x = (_x + moveDistanceX);
_y = (_y - moveDistanceY);
}
}
if (Key.isDown(38)) {
_x = (_x + moveDistanceX);
_y = (_y - moveDistanceY);
n = 1;
while (n <= numofObjects) {
if (this.hitTest(_parent["object" + n])) {
Mobile = false;
break;
}
if (n == numofObjects) {
Mobile = true;
}
n++;
}
if (!Mobile) {
_x = (_x - moveDistanceX);
_y = (_y + moveDistanceY);
}
}
if (Key.isDown(37)) {
this._rotation = this._rotation - 10;
}
}
Symbol 2332 MovieClip Frame 1
stop();
Symbol 2332 MovieClip Frame 2
_root.sub.gotoAndStop("dvdbuy");
stop();
Symbol 2340 MovieClip Frame 1
gotoAndStop(_root.whereAmI);
Instance of Symbol 537 MovieClip in Symbol 2340 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.desk.hitTest(_parent.theStickMan)) {
this.say = "Press spacebar to leave.";
if (Key.isDown(32)) {
_root.sub.gotoAndPlay("explore");
}
} else {
this.say = "";
}
}
Instance of Symbol 2336 MovieClip in Symbol 2340 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.desk.hitTest(_parent.theStickMan)) {
this.say = "Press spacebar to visit the jail officer.";
if (Key.isDown(32)) {
_parent._parent.gotoAndStop(2);
}
} else {
this.say = "";
}
}
Instance of Symbol 2338 MovieClip in Symbol 2340 MovieClip Frame 1
onClipEvent (load) {
if (_root.jailMission) {
_visible = false;
}
}
onClipEvent (enterFrame) {
if (this.desk.hitTest(_parent.theStickMan)) {
this.say = "Prisoner: Hey, if you free me, I'll give you a hundred grand. But you gotta kill the jail officer.";
} else {
this.say = "";
}
}
Instance of Symbol 566 MovieClip in Symbol 2340 MovieClip Frame 1
onClipEvent (load) {
if (_root.jailMission) {
_visible = false;
}
gotoAndPlay ("im");
}
Instance of Symbol 566 MovieClip in Symbol 2340 MovieClip Frame 1
onClipEvent (load) {
if (_root.jailMission) {
_visible = false;
}
gotoAndStop ("im");
}
Instance of Symbol 566 MovieClip in Symbol 2340 MovieClip Frame 1
onClipEvent (load) {
if (_root.jailMission) {
_visible = false;
}
gotoAndStop ("im");
}
Instance of Symbol 566 MovieClip in Symbol 2340 MovieClip Frame 1
onClipEvent (load) {
if (_root.jailMission) {
_visible = false;
}
gotoAndStop ("im");
}
Instance of Symbol 609 MovieClip "theStickMan" in Symbol 2340 MovieClip Frame 1
onClipEvent (load) {
numofObjects = 15;
if (int(_root.LocalyLocation) == 0) {
_root.LocalyLocation = _y;
_root.LocalxLocation = _x;
}
_y = _root.LocalyLocation;
_x = _root.LocalxLocation;
speed = 2;
}
onClipEvent (enterFrame) {
if (_currentframe != 2) {
gotoAndStop (2);
}
_root.LocalyLocation = _y;
_root.LocalxLocation = _x;
markX = _x;
markY = _y;
if ((markX + markY) == sum) {
_root.mobile = false;
_root.sub._y = 1;
} else {
_root.mobile = true;
}
sum = markX + markY;
firstAngle = Math.abs(_rotation - 90);
secondAngle = 90 - firstAngle;
firstR = (Math.PI/2) - ((Math.PI * firstAngle) / 180);
secondR = (Math.PI/2) - ((Math.PI * secondAngle) / 180);
if ((this._rotation >= 90) && (this._rotation <= 180)) {
firstR = Math.PI - ((Math.PI * secondAngle) / 180);
secondR = Math.PI - ((Math.PI * firstAngle) / 180);
}
moveDistanceX = speed * Math.sin(firstR);
moveDistanceY = speed * Math.cos(firstR);
if (Key.isDown(39)) {
this._rotation = this._rotation + 10;
}
if (Key.isDown(40)) {
_x = (_x - moveDistanceX);
_y = (_y + moveDistanceY);
n = 1;
while (n <= numofObjects) {
if (this.hitTest(_parent["object" + n])) {
Mobile = false;
break;
}
if (n == numofObjects) {
Mobile = true;
}
n++;
}
if (!Mobile) {
_x = (_x + moveDistanceX);
_y = (_y - moveDistanceY);
}
}
if (Key.isDown(38)) {
_x = (_x + moveDistanceX);
_y = (_y - moveDistanceY);
n = 1;
while (n <= numofObjects) {
if (this.hitTest(_parent["object" + n])) {
Mobile = false;
break;
}
if (n == numofObjects) {
Mobile = true;
}
n++;
}
if (!Mobile) {
_x = (_x - moveDistanceX);
_y = (_y + moveDistanceY);
}
}
if (Key.isDown(37)) {
this._rotation = this._rotation - 10;
}
}
Symbol 2343 Button
on (release) {
prevFrame();
}
Symbol 2346 Button
on (release) {
_root.theEnemy = "jail";
_root.enemyPower = 500;
_root.sub.gotoAndPlay("rpgFight");
}
Symbol 2348 MovieClip Frame 1
stop();
Symbol 2348 MovieClip Frame 2
error = ("Costs " + _root.doctorcost) + " to heal.";
stop();
Symbol 2349 Button
on (release) {
gotoAndPlay ("done");
}
Symbol 2357 MovieClip Frame 1
stopAllSounds();
Symbol 2357 MovieClip Frame 6251
_root.sub.gotoAndPlay("credits");
stop();
Symbol 2360 Button
on (release) {
_root.gotoAndStop("Scene 4", 1);
}
Symbol 2362 MovieClip Frame 1
userdiehard = 0;
usermatrix = 0;
userjtok = 0;
userfightclub = 0;
userfindnemo = 0;
userbraveheart = 0;
usergodfather = 0;
userdumb = 0;
userpulpfiction = 0;
_root.firsttime = true;
Symbol 2362 MovieClip Frame 2
dbonus = 0;
mbonus = 0;
jbonus = 0;
fbonus = 0;
findbonus = 0;
bravebonus = 0;
godbonus = 0;
dumbbonus = 0;
pulpbonus = 0;
if (!_root.bigevent) {
if (_root.whereAmI == "North America") {
mbonus = 1;
findbonus = 2;
dumbbonus = 1;
fbonus = 2;
} else if (_root.whereAmI == "South America") {
mbonus = 0.5;
findbonus = 0.5;
dumbbonus = 0.5;
dbonus = 1;
} else if (_root.whereAmI == "Europe") {
bravebonus = 0.5;
godbonus = 1;
dbonus = 1;
pulpbonus = 0.5;
} else if (_root.whereAmI == "Asia") {
bravebonus = 0.5;
godbonus = 1;
dbonus = 0.5;
mbonus = 1;
} else if (_root.whereAmI == "Africa") {
jbonus = 1;
dumbbonus = 0.5;
findbonus = 1;
mbonus = 1;
} else if (_root.whereAmI == "Middle East") {
godbonus = 1;
dbonus = 0.5;
fbonus = 1;
mbonus = 1;
}
}
gotoAndPlay ("maina");
Symbol 2362 MovieClip Frame 3
_root.flychecker.gotoAndPlay("check");
welcomeTo = "Welcome to " + _root.whereAmI;
dday = (("Cars destroyed: " + _root.carKills) + "\nLoan Bouncers Killed: ") + _root.guyKills;
stop();
Mouse.show();
Instance of Symbol 122 MovieClip "flychecker" in Symbol 2362 MovieClip Frame 3
onClipEvent (load) {
_alpha = 50;
}
Symbol 2362 MovieClip Frame 4
stop();
madvdCapacity = (("DVD Capactiy: " + _root.numDVDs) + "/") + _root.dvdCapacity;
Symbol 2362 MovieClip Frame 5
stop();
Symbol 2362 MovieClip Frame 6
stop();
_root.zoomout = true;
Symbol 2362 MovieClip Frame 7
stop();
Symbol 2362 MovieClip Frame 8
error = ("It cost $" + _root.doctorcost) + " bucks.";
stop();
Instance of Symbol 122 MovieClip "flychecker" in Symbol 2362 MovieClip Frame 8
onClipEvent (load) {
_alpha = 50;
}
Symbol 2362 MovieClip Frame 9
thexpos = 390;
theypos = 420;
itemequipmask.gotoAndPlay(1);
gunequipmask.gotoAndPlay(1);
_root.speed = _root[_root.itemequipped + "speed"];
_root.sub.itemequipmask._x = _root.sub["hold" + _root.itemequipped]._x;
_root.sub.itemequipmask._y = _root.sub["hold" + _root.itemequipped]._y;
_root.sub.itemequipmask._width = _root.sub["hold" + _root.itemequipped]._width;
_root.sub.itemequipmask._height = _root.sub["hold" + _root.itemequipped]._height;
_root.zoomfactor = _root[_root.gunequipped + "zoomfactor"];
_root.sub["hold" + _root.gunequipped]._visible = true;
_root.sub["hold" + _root.itemequipped]._visible = true;
_root.sub.gunequipmask._x = _root.sub["hold" + _root.gunequipped]._x;
_root.sub.gunequipmask._y = _root.sub["hold" + _root.gunequipped]._y;
_root.sub.gunequipmask._width = _root.sub["hold" + _root.gunequipped]._width;
_root.sub.gunequipmask._height = _root.sub["hold" + _root.gunequipped]._height;
itemequipmask.gotoAndPlay(1);
gunequipmask.gotoAndPlay(1);
stop();
Symbol 2362 MovieClip Frame 10
moveIt.gotoAndPlay(10);
itemequipmask.gotoAndPlay("blank");
gunequipmask.gotoAndPlay("blank");
_root.LocalyLocation = 0;
_root.LocalxLocation = 0;
stop();
Instance of Symbol 457 MovieClip "quality" in Symbol 2362 MovieClip Frame 10
/* no clip actions */
Symbol 2362 MovieClip Frame 11
if (_root.rpgCharge) {
chargebutton._visible = false;
}
if (_root.rpgHeal) {
healbutton._visible = false;
}
error = "";
bikespeed = "Speed = " + _root.bikespeed;
nikespeed = "Speed = " + _root.nikespeed;
skatespeed = "Speed = " + _root.skatespeed;
sedanspeed = ("The Sedan\nAcceleration = " + _root.sedanspeed) + "\nCan destroy other cars.";
souteneurspeed = ("Le Souteneur\nAcceleration = " + _root.souteneurspeed) + "\nCan destroy other cars.";
sure._visible = false;
stop();
Instance of Symbol 122 MovieClip "flychecker" in Symbol 2362 MovieClip Frame 11
onClipEvent (load) {
_alpha = 50;
}
Instance of Symbol 93 MovieClip in Symbol 2362 MovieClip Frame 11
on (rollOver) {
_root.sub.itemdescription = "Run faster! Costs: 500";
}
on (release) {
error = "";
_root.whatitemtobuy = "nike";
_root.whatitemtobuyprice = 500;
_root.whatitem.gotoAndPlay("verify");
}
Instance of Symbol 95 MovieClip in Symbol 2362 MovieClip Frame 11
on (rollOver) {
_root.sub.itemdescription = "Skate around town! Cost: $800";
}
on (release) {
error = "";
_root.whatitemtobuy = "skate";
_root.whatitemtobuyprice = 800;
_root.whatitem.gotoAndPlay("verify");
}
Instance of Symbol 99 MovieClip in Symbol 2362 MovieClip Frame 11
on (rollOver) {
_root.sub.itemdescription = "Bike away around town! Costs: $1200";
}
on (release) {
error = "";
_root.whatitemtobuy = "bike";
_root.whatitemtobuyprice = 1200;
_root.whatitem.gotoAndPlay("verify");
}
Instance of Symbol 103 MovieClip in Symbol 2362 MovieClip Frame 11
on (rollOver) {
_root.sub.itemdescription = "Le Souteneur. Cost: $25000";
}
on (release) {
error = "";
_root.whatitemtobuy = "souteneur";
_root.whatitemtobuyprice = 25000;
_root.whatitem.gotoAndPlay("verify");
}
Symbol 2362 MovieClip Frame 12
if (!_root.BernsteinPaid) {
Antarctica._visible = false;
} else {
Antarctica._visible = true;
}
if (!_root.firsttime) {
} else {
nacost = 0;
nadays = 0;
sacost = 50;
acost = 100;
adays = 2;
mcost = 100;
afcost = 80;
afdays = 2;
ecost = 100;
_root.firsttime = false;
}
nadays = nadays / 2;
adays = adays / 2;
afdays = afdays / 2;
sadays = sadays / 2;
edays = edays / 2;
mdays = mdays / 2;
if (_root.whereAmI == "Middle East") {
airportwelcome = _root.whereAmI + "ern International Airport!";
} else if (_root.whereAmI == "Europe") {
airportwelcome = _root.whereAmI + "an International Airport!";
} else {
airportwelcome = _root.whereAmI + "n International Airport!";
}
error = " ";
_root._root.sub[_root.whereAmI].enabled = false;
stop();
Symbol 2362 MovieClip Frame 13
stop();
Symbol 2362 MovieClip Frame 14
stop();
Symbol 2362 MovieClip Frame 15
stop();
Symbol 2362 MovieClip Frame 16
itemequipmask.gotoAndPlay("blank");
gunequipmask.gotoAndPlay("blank");
gunequipmask._x = 700;
gunequipmask._y = -600;
itemequipmask._x = 700;
itemequipmask._y = -600;
stop();
Symbol 2362 MovieClip Frame 17
stop();
Symbol 2362 MovieClip Frame 18
stop();
Symbol 2362 MovieClip Frame 19
itemequipmask.gotoAndPlay("blank");
gunequipmask.gotoAndPlay("blank");
stop();
Symbol 2362 MovieClip Frame 20
stop();
Symbol 2362 MovieClip Frame 21
stop();
Symbol 2362 MovieClip Frame 22
stop();
Symbol 2362 MovieClip Frame 23
stop();
Symbol 2362 MovieClip Frame 24
stop();
Symbol 2362 MovieClip Frame 25
stop();
loadMovieNum ("form.swf", 3);
Symbol 2362 MovieClip Frame 26
itemequipmask.gotoAndPlay("blank");
gunequipmask.gotoAndPlay("blank");
stop();
Symbol 2362 MovieClip Frame 27
itemequipmask.gotoAndPlay("blank");
gunequipmask.gotoAndPlay("blank");
stop();
Symbol 2362 MovieClip Frame 28
itemequipmask.gotoAndPlay("blank");
gunequipmask.gotoAndPlay("blank");
stop();
Symbol 2362 MovieClip Frame 29
stop();
Symbol 2362 MovieClip Frame 30
stop();
Symbol 2362 MovieClip Frame 31
stop();
Symbol 2362 MovieClip Frame 32
_root.MackDead = true;
stop();
Symbol 2362 MovieClip Frame 33
stop();
Symbol 2362 MovieClip Frame 34
getURL ("http://www.k2xlgames.com/games/StickWorld/help.php", "_blank");
stop();
Symbol 2374 MovieClip Frame 1
if (_root.autoSound == false) {
if (!_root.playsound) {
stopAllSounds();
}
gotoAndPlay ("stop");
} else if (_root.playsound == true) {
stopAllSounds();
gotoAndStop([_root.whereAmI]);
} else {
gotoAndPlay ("stop");
}
Symbol 2374 MovieClip Frame 13
stop();
Symbol 2378 Button
on (keyPress "<PgUp>") {
loadMovieNum ("speedmonitor.swf", 2);
}
Symbol 2382 Button
on (press) {
startDrag ("/fpsSpeedometer");
}
on (release) {
stopDrag();
}
Symbol 2393 Button
on (release) {
previtem = "a";
gotoAndStop ("choose");
}
Symbol 2395 Button
on (release) {
previtem = "b";
gotoAndStop ("choose");
}
Symbol 2397 Button
on (release) {
previtem = "c";
gotoAndStop ("choose");
}
Symbol 2399 Button
on (release) {
previtem = "d";
gotoAndStop ("choose");
}
Symbol 2401 Button
on (release) {
previtem = "e";
gotoAndStop ("choose");
}
Symbol 2404 Button
on (rollOver) {
gotoAndStop(previtem);
}
Symbol 2407 Button
on (release) {
Set("/fpsSpeedometer/subroutines:subSetting", "100");
gotoAndStop ("e");
}
Symbol 2408 Button
on (release) {
Set("/fpsSpeedometer/subroutines:subSetting", "75");
gotoAndStop ("b");
}
Symbol 2409 Button
on (release) {
Set("/fpsSpeedometer/subroutines:subSetting", "50");
gotoAndStop ("c");
}
Symbol 2410 Button
on (release) {
Set("/fpsSpeedometer/subroutines:subSetting", "25");
gotoAndStop ("d");
}
Symbol 2411 Button
on (release) {
Set("/fpsSpeedometer/subroutines:subSetting", "10");
gotoAndStop ("a");
}
Symbol 2412 Button
on (release) {
gotoAndStop(previtem);
}
Symbol 2413 MovieClip Frame 1
stop();
Symbol 2418 MovieClip Frame 1
subSetting = "10";
stop();
Symbol 2418 MovieClip Frame 10
Set("/fpsSpeedometer:frame", Number(/fpsSpeedometer:frame) + 1);
Set("/fpsSpeedometer:time", int(getTimer() / 1000));
if (Number(/fpsSpeedometer:time) >= 1) {
Set("/fpsSpeedometer:actualFPS", /fpsSpeedometer:frame);
}
if ((Number(subFrame) < 1) or (Number(subFrame) > Number(subSetting))) {
subFrame = "1";
timeStamp1 = getTimer() / 1000;
} else if (Number(subFrame) == Number(subSetting)) {
timeStamp2 = getTimer() / 1000;
elapsed = timestamp2 - timestamp1;
Set("/fpsSpeedometer:fiftyFPS", subSetting / elapsed);
subFrame = 0;
} else {
subFrame = Number(subFrame) + 1;
}
Symbol 2419 MovieClip Frame 1
call("/fpsSpeedometer/subroutines:calcFPS");
Symbol 2419 MovieClip Frame 2
gotoAndPlay (1);
Symbol 2432 Button
on (release) {
_root.autoSound = true;
_root.playsound = true;
_root.soundChecker.gotoAndPlay("check");
}
Symbol 2436 Button
on (release) {
soundCheck(2);
}
Symbol 2437 Button
on (release) {
soundCheck(1);
}
Symbol 2438 Button
on (release) {
soundCheck(4);
}
Symbol 2439 Button
on (release) {
soundCheck(3);
}
Symbol 2440 Button
on (release) {
soundCheck(6);
}
Symbol 2441 Button
on (release) {
soundCheck(5);
}
Symbol 2442 Button
on (release) {
soundCheck(8);
}
Symbol 2443 Button
on (release) {
soundCheck(7);
}
Symbol 2444 Button
on (release) {
soundCheck(10);
}
Symbol 2445 Button
on (release) {
soundCheck(9);
}
Symbol 2447 Button
on (release) {
_root.autoSound = false;
_root.playsound = false;
_root.soundChecker.gotoAndPlay("check");
}
Symbol 2448 MovieClip Frame 1
stop();
function soundCheck(frame) {
_root.autoSound = false;
if (_root.soundChecker._currentframe != (frame + 1)) {
stopAllSounds();
_root.playsound = true;
_root.soundChecker.gotoAndStop(frame + 1);
}
}
Symbol 2448 MovieClip Frame 10
stop();
Symbol 2451 MovieClip Frame 1
if (_root.daysAddOn > 0) {
gotoAndPlay ("addEvent");
} else {
_root.bigevent = false;
_root.daysAddOn = 0;
gotoAndPlay (2);
}
Symbol 2451 MovieClip Frame 3
gotoAndPlay (1);
Symbol 2451 MovieClip Frame 4
function getEvent() {
theEvent = random(20) + 1;
if (theEvent == 1) {
adder = "A local gang tried to burn the blockbuster store! The Godfather movie prices has blasted! Now is the time to sell!";
_root.sub.godfather = _root.sub.godfather * 1.7;
Math.formatDecimals(_root.sub.godfather, 2);
_root.bigevent = true;
}
if (theEvent == 2) {
adder = "New DVD version of Die Hard released! Prices are at a all time low!";
_root.sub.diehard = _root.sub.diehard / 1.5;
Math.formatDecimals(_root.sub.diehard, 2);
_root.bigevent = true;
}
if (theEvent == 3) {
adder = "New DVD version of the Matrix released! Prices are at a all time low!";
_root.sub.matrix = _root.sub.matrix / 1.5;
Math.formatDecimals(_root.sub.matrix, 2);
_root.bigevent = true;
}
if (theEvent == 4) {
adder = "TV special on Braveheart! Demand grows for Braveheart and prices jump!";
_root.sub.braveheart = _root.sub.braveheart * 1.5;
Math.formatDecimals(_root.sub.braveheart, 2);
_root.bigevent = true;
}
if (theEvent == 5) {
adder = "Disney sued! Prices of Finding Nemo pummels!";
_root.sub.findnemo = _root.sub.findnemo / 1.5;
Math.formatDecimals(_root.sub.findnemo, 2);
_root.bigevent = true;
}
if (theEvent == 6) {
adder = "Remember that each continent has it's own special DVD prices.";
_root.bigevent = false;
}
if (theEvent == 7) {
adder = "Rumors have it that the North American bank is the hardest to rob.";
_root.bigevent = false;
}
if (theEvent == 8) {
adder = "The harder the banks are to rob, the better the rewards are.";
_root.bigevent = false;
}
if (theEvent == 9) {
adder = "Check out the arcade to play some addicting games for cash!";
_root.bigevent = false;
}
if (theEvent == 10) {
adder = "Check out K2xL.com! Please check the credits as well. If you have any questions you can AIM the creator: ScratchFromStart";
_root.bigevent = false;
}
if (theEvent == 11) {
adder = "Be careful at the casino, don't waste too much money...";
_root.bigevent = false;
}
if (theEvent == 12) {
adder = "Getting around too slowly? Krogar offers faster transportation vehicles.";
_root.bigevent = false;
}
if (theEvent == 13) {
adder = "Be aware that each gun has it's power! Search around the world for the best continents.";
_root.bigevent = false;
}
if (theEvent == 14) {
adder = "Check out the K2xL message boards for game FAQs. Go to K2xL.com/boards .";
_root.bigevent = false;
}
if (theEvent == 15) {
adder = "Each gun has it's pros and cons. Some guns have more ammo and reload faster, while others are more powerful but have less ammo. You can switch guns from your hotel.";
_root.bigevent = false;
}
if (theEvent == 16) {
adder = "New shipments of Fight Club in from Japan! Prices plummet!";
_root.sub.fightclub = _root.sub.fightclub / 1.5;
Math.formatDecimals(_root.sub.fightclub, 2);
_root.bigevent = true;
}
if (theEvent == 17) {
adder = "Sequel of Pulp Fiction released! DVD prices skyrocket";
_root.sub.pulpfiction = _root.sub.pulpfiction * 1.6;
Math.formatDecimals(_root.sub.pulpfiction, 2);
_root.bigevent = true;
}
if (theEvent == 18) {
adder = "Make sure you check out trivia at the restaurant every day divisible by 7!";
_root.bigevent = false;
}
if (theEvent == 19) {
adder = "A Samurai Master is looking for someone to become his apprentice! If you are interested please go to Asia.";
_root.bigevent = false;
}
if (theEvent == 20) {
adder = "If you're low on cash, try getting a job at K2xL Software. The higher the worklevel you are, the more jobs you can do at K2xL you'll unlock.";
_root.bigevent = false;
}
return(adder);
}
function bankChange() {
if (_root.days >= 1) {
_root.bankMoney = _root.bankMoney + Number(_root.bankMoney * (_root.bankRate / 100));
trace("LOAN MONEY BEFORE NUMBERED: " + _root.loanMoney);
_root.loanMoney = Number(_root.loanMoney);
_root.loanMoney = _root.loanMoney + Number(_root.loanMoney * (Number(_root.loanRate) / 100));
trace("LOAN MONEY AFTER NUMBERED: " + _root.loanMoney);
_root.Nobankrobmoney = Number(Math.pow(Math.formatDecimals(_root.Nobankrobmoney + (_root.Nobankrobmoney * _root.Nobankrate), 2), 1));
_root.Sobankrobmoney = Math.pow(Math.formatDecimals(_root.Sobankrobmoney + (_root.Sobankrobmoney * _root.Sobankrate), 2), 1);
_root.Asbankrobmoney = Math.pow(Math.formatDecimals(_root.Asbankrobmoney + (_root.Asbankrobmoney * _root.Asbankrate), 2), 1);
_root.Afbankrobmoney = Math.pow(Math.formatDecimals(_root.Afbankrobmoney + (_root.Afbankrobmoney * _root.Afbankrate), 2), 1);
_root.Mibankrobmoney = Math.pow(Math.formatDecimals(_root.Mibankrobmoney + (_root.Mibankrobmoney * _root.Mibankrate), 2), 1);
_root.Eubankrobmoney = Math.pow(Math.formatDecimals(_root.Eubankrobmoney + (_root.Eubankrobmoney * _root.Eubankrate), 2), 1);
}
if ((_root.loanDate <= _root.days) && (_root.payLoan)) {
_root.loanDeadLine = true;
} else {
_root.loanDeadLine = false;
}
_root.todayBankRate = random(3) + 2;
_root.todayLoanRate = random(5) + 2;
_root.sub.dvalue = 4;
_root.sub.mvalue = 7;
_root.sub.jvalue = 1;
_root.sub.fightvalue = 5;
_root.sub.findvalue = 2;
_root.sub.bravevalue = 6;
_root.sub.godvalue = 8;
_root.sub.dumbvalue = 3;
_root.sub.pulpvalue = 9;
}
_root.intDays = Math.floor(_root.days);
if (_root.daysAddOn < 1) {
_root.sub.dvalue = 4;
_root.sub.mvalue = 7;
_root.sub.jvalue = 1;
_root.sub.fightvalue = 5;
_root.sub.findvalue = 2;
_root.sub.bravevalue = 6;
_root.sub.godvalue = 8;
_root.sub.dumbvalue = 3;
_root.sub.pulpvalue = 9;
_root.days = _root.days + _root.daysAddOn;
_root.daysAddOn = 0;
} else {
_root.daysAddOn--;
_root.days++;
}
if (Math.floor(_root.days) > _root.intDays) {
bankChange();
if (_root.intDays <= 1) {
forecast = _root.makeWeather(true);
} else {
forecast = _root.makeWeather(false);
}
_root.newsreport = (((("Day " + Math.floor(_root.days)) + newline) + getEvent()) + "\n\n") + _root.newsreport;
_root.weatherReport = forecast;
}
if (_root.flying) {
_root.flying = false;
}
_root.intDays = Math.floor(_root.days);
_root.sub.diehard = Math.formatDecimals((((random(_root.sub.dvalue) + _root.sub.dvalue) + (random(10) / 10)) + (random(10) / 100)) + _root.sub.dbonus, 2);
_root.sub.matrix = Math.formatDecimals((((random(_root.sub.mvalue) + _root.sub.mvalue) + (random(10) / 10)) + (random(10) / 100)) + _root.sub.mbonus, 2);
_root.sub.jtok = Math.formatDecimals((((random(_root.sub.jvalue) + _root.sub.jvalue) + (random(10) / 10)) + (random(10) / 100)) + _root.sub.jbonus, 2);
_root.sub.fightclub = Math.formatDecimals(((random(_root.sub.fightvalue) + _root.sub.fightvalue) + (random(10) / 10)) + (random(10 + _root.sub.fbonus) / 100), 2);
_root.sub.findnemo = Math.formatDecimals((((random(_root.sub.findvalue) + _root.sub.findvalue) + (random(10) / 10)) + (random(10) / 100)) + _root.sub.findbonus, 2);
_root.sub.braveheart = Math.formatDecimals((((random(_root.sub.bravevalue) + _root.sub.bravevalue) + (random(10) / 10)) + (random(10) / 100)) + _root.sub.bravebonus, 2);
_root.sub.godfather = Math.formatDecimals((((random(_root.sub.godvalue) + _root.sub.godvalue) + (random(10) / 10)) + (random(10) / 100)) + _root.sub.godbonus, 2);
_root.sub.dumb = Math.formatDecimals((((random(_root.sub.dumbvalue) + _root.sub.dumbvalue) + (random(10) / 10)) + (random(10) / 100)) + _root.sub.dumbbonus, 2);
_root.sub.pulpfiction = Math.formatDecimals((((random(_root.sub.pulpvalue) + _root.sub.pulpvalue) + (random(10) / 10)) + (random(10) / 100)) + _root.sub.pulpbonus, 2);
if (_root.intDays > 100) {
if (_root.MackDead) {
_root.sub.gotoAndPlay("gameOver");
}
}
gotoAndPlay (1);
Symbol 2457 Button
on (release) {
gotoAndPlay (1);
}
Symbol 2459 Button
on (release) {
gotoAndPlay ("buygun");
}
Symbol 2461 MovieClip Frame 1
stop();
Symbol 2461 MovieClip Frame 5
stop();
areyousure = "Are you sure you want to buy this " + _root.whatguntobuy;
Symbol 2461 MovieClip Frame 6
if (_root.money >= _root.whatguntobuyprice) {
_root.sub["hold" + _root.whatguntobuy]._visible = true;
_root.gunequipped = _root.whatguntobuy;
_root.money = _root.money - _root.whatguntobuyprice;
_root.power = _root[_root.whatguntobuy + "power"];
_root.zoomfactor = _root[_root.whatguntobuy + "zoomfactor"];
} else if (int(_root.money) < int(_root.whatguntobuyprice)) {
_root.sub.storesub.guytalk.whathesays = "Don't have enough money fool!";
}
gotoAndPlay (1);
Symbol 2463 Button
on (release) {
gotoAndPlay (1);
}
Symbol 2464 Button
on (release) {
gotoAndPlay ("buygun");
}
Symbol 2466 MovieClip Frame 1
stop();
Symbol 2466 MovieClip Frame 5
stop();
areyousure = "Are you sure you want to buy this?";
Symbol 2466 MovieClip Frame 6
if (int(_root.money) >= int(_root.whatitemtobuyprice)) {
_root.sub["hold" + _root.whatitemtobuy]._visible = true;
_root.itemequipped = _root.whatitemtobuy;
_root.money = _root.money - _root.whatitemtobuyprice;
_root.speed = _root[_root.whatitemtobuy + "speed"];
} else if (int(_root.money) < int(_root.whatitemtobuyprice)) {
_root.sub.error = "Don't have enough money fool!";
}
gotoAndPlay (1);