Frame 8
stop();
Frame 9
stop();
user_so = SharedObject.getLocal("user");
_root.goodhit = new Sound(_root);
_root.goodhit.attachSound("almosthit");
_root.almosthit = new Sound(_root);
_root.almosthit.attachSound("goodhit");
_root.hitit = new Sound(_root);
_root.hitit.attachSound("hitit");
_root.burgerbutton = function () {
if (_root.user_so.data.friesunlocked) {
if (_root.friesactivated == true) {
_root.FRY = true;
_root.SODA = false;
} else {
_root.FRY = false;
}
} else {
_root.FRY = false;
}
if (_root.user_so.data.sodaunlocked) {
if (_root.sodaactivated == true) {
_root.SODA = true;
_root.FRY = true;
} else {
_root.SODA = false;
}
} else {
_root.SODA = false;
}
if (_root.SODA or (_root.gamemode == "challenge")) {
_root.howMany = _root.dropperQ.length;
} else if (_root.FRY) {
_root.howMany = _root.dropperQ.length - 1;
} else {
_root.howMany = _root.dropperQ.length - 2;
}
_root.gamemode = "campaign";
_root.gametype = ("level" + _root.user_so.data.campaignlevel) + "menu";
_root.gotoAndStop(("level" + _root.user_so.data.campaignlevel) + "play");
};
Frame 13
stop();
if (user_so.data.score1 != undefined) {
_root.score1.text = user_so.data.score1;
} else {
user_so.data.score1 = 0;
}
if (user_so.data.score2 != undefined) {
_root.score2.text = user_so.data.score2;
} else {
user_so.data.score2 = 0;
}
if (user_so.data.score3 != undefined) {
_root.score3.text = user_so.data.score3;
} else {
user_so.data.score3 = 0;
}
if (user_so.data.score4 != undefined) {
_root.score4.text = user_so.data.score4;
} else {
user_so.data.score4 = 0;
}
if (user_so.data.score5 != undefined) {
_root.score5.text = user_so.data.score5;
} else {
user_so.data.score5 = 0;
}
if (user_so.data.score6 != undefined) {
_root.score6.text = user_so.data.score6;
} else {
user_so.data.score6 = 0;
}
if (user_so.data.score7 != undefined) {
_root.score7.text = user_so.data.score7;
} else {
user_so.data.score7 = 0;
}
if (user_so.data.score8 != undefined) {
_root.score8.text = user_so.data.score8;
} else {
user_so.data.score8 = 0;
}
if (user_so.data.score9 != undefined) {
_root.score9.text = user_so.data.score9;
} else {
user_so.data.score9 = 0;
}
if (user_so.data.score10 != undefined) {
_root.score10.text = user_so.data.score10;
} else {
user_so.data.score10 = 0;
}
if (user_so.data.username != undefined) {
_root.username.text = user_so.data.username;
} else {
user_so.data.username = "(ENTER USERNAME HERE)";
}
_root.onEnterFrame = function () {
};
_root.DOIT.onEnterFrame = function () {
user_so.data.username = _root.username.text;
};
stop();
Frame 23
if ((_root.user_so.data.campaignlevel == undefined) or (!_root.user_so.data.campaignlevel)) {
_root.user_so.data.campaignlevel = 1;
_root.user_so.data.campaignmoney = 1000;
_root.user_so.data.burgersmade = 0;
_root.user_so.data.burgerunlocked = false;
_root.user_so.data.cheeseburgerunlocked = false;
_root.user_so.data.doublecheeseburgerunlocked = false;
_root.user_so.data.bacondoublecheeseburgerburgerunlocked = false;
_root.user_so.data.friesunlocked = false;
_root.user_so.data.cccburgerunlocked = false;
_root.user_so.data.bbbburgerunlocked = false;
_root.user_so.data.healthyhippyburgerunlocked = false;
_root.user_so.data.supersizeunlocked = false;
_root.user_so.data.meatybeastunlocked = false;
}
if ((_root.user_so.data.burgersmade == undefined) or (!_root.user_so.data.burgersmade)) {
_root.user_so.data.burgersmade = 0;
}
Instance of Symbol 191 MovieClip in Frame 23
onClipEvent (enterFrame) {
this.cash.text = "$" + _root.user_so.data.campaignmoney;
}
Instance of Symbol 202 MovieClip in Frame 23
onClipEvent (load) {
if (_root.user_so.data.campaignlevel == 1) {
this.gotoAndStop("active");
} else {
this.gotoAndStop("inactive");
}
}
onClipEvent (enterFrame) {
if (_root.user_so.data.campaignlevel == 1) {
this.gotoAndStop("active");
} else {
this.gotoAndStop("inactive");
}
}
Instance of Symbol 206 MovieClip in Frame 23
onClipEvent (load) {
if (_root.user_so.data.campaignlevel == 2) {
this.gotoAndStop("active");
} else {
this.gotoAndStop("inactive");
}
}
onClipEvent (enterFrame) {
if (_root.user_so.data.campaignlevel == 2) {
this.gotoAndStop("active");
} else {
this.gotoAndStop("inactive");
}
}
Instance of Symbol 212 MovieClip in Frame 23
onClipEvent (load) {
if (_root.user_so.data.campaignlevel == 3) {
this.gotoAndStop("active");
} else {
this.gotoAndStop("inactive");
}
}
onClipEvent (enterFrame) {
if (_root.user_so.data.campaignlevel == 3) {
this.gotoAndStop("active");
} else {
this.gotoAndStop("inactive");
}
}
Instance of Symbol 230 MovieClip in Frame 35
onClipEvent (load) {
if (_root.user_so.data.cheeseburgerunlocked == false) {
this.gotoAndStop("locked");
this.locked = true;
}
if (_root.user_so.data.cheeseburgerunlocked == true) {
this.gotoAndStop("unlocked");
this.locked = false;
}
this.price = 1250;
}
Instance of Symbol 234 MovieClip in Frame 35
onClipEvent (load) {
if (_root.user_sb.data.cheeseburgerunlocked) {
this._visbile = false;
} else {
this._visible = true;
}
}
onClipEvent (enterFrame) {
if (_root.user_sb.data.cheeseburgerunlocked) {
this._visbile = false;
} else {
this._visible = true;
}
}
Instance of Symbol 248 MovieClip in Frame 35
onClipEvent (load) {
this.locked = true;
this.price = 2500;
}
Instance of Symbol 230 MovieClip in Frame 41
onClipEvent (load) {
if (_root.user_so.data.cheeseburgerunlocked == false) {
this.gotoAndStop("locked");
}
if (_root.user_so.data.cheeseburgerunlocked == true) {
this.gotoAndStop("unlocked");
}
this.price = 1500;
}
Instance of Symbol 257 MovieClip in Frame 41
onClipEvent (load) {
if (_root.user_so.data.bacondoublecheeseburgerunlocked == false) {
this.gotoAndStop("locked");
}
if (_root.user_so.data.bacondoublecheeseburgerunlocked == true) {
this.gotoAndStop("unlocked");
}
this.price = 1500;
}
Instance of Symbol 259 MovieClip in Frame 41
onClipEvent (load) {
if (_root.user_sb.data.bacondoublecheeseburgerunlocked) {
this._visbile = false;
} else {
this._visible = true;
}
}
onClipEvent (enterFrame) {
if (_root.user_sb.data.bacondoublecheeseburgerunlocked) {
this._visbile = false;
} else {
this._visible = true;
}
}
Instance of Symbol 275 MovieClip in Frame 41
onClipEvent (load) {
if (_root.user_so.data.friesunlocked == false) {
this.gotoAndStop("locked");
_root.friesactivated = false;
}
if (_root.user_so.data.friesunlocked == true) {
this.gotoAndStop("unactivated");
_root.friesactivated = false;
}
this.price = 2500;
}
Instance of Symbol 277 MovieClip in Frame 41
onClipEvent (load) {
if (_root.user_sb.data.friesunlocked) {
this._visbile = false;
} else {
this._visible = true;
}
}
onClipEvent (enterFrame) {
if (_root.user_sb.data.friesunlocked) {
this._visbile = false;
} else {
this._visible = true;
}
}
Instance of Symbol 290 MovieClip in Frame 41
onClipEvent (load) {
this.locked = true;
this.price = 10000;
}
Instance of Symbol 234 MovieClip in Frame 45
onClipEvent (load) {
if (_root.user_so.data.cheeseburgerunlocked) {
this._visible = false;
} else {
this._visible = true;
}
}
onClipEvent (enterFrame) {
if (_root.user_so.data.cheeseburgerunlocked) {
this._visible = false;
} else {
this._visible = true;
}
}
Instance of Symbol 257 MovieClip in Frame 45
onClipEvent (load) {
if (_root.user_so.data.bacondoublecheeseburgerunlocked == false) {
this.gotoAndStop("locked");
}
if (_root.user_so.data.bacondoublecheeseburgerunlocked == true) {
this.gotoAndStop("unlocked");
}
this.price = 2000;
}
Instance of Symbol 259 MovieClip in Frame 45
onClipEvent (load) {
if (_root.user_so.data.bacondoublecheeseburgerunlocked) {
this._visible = false;
} else {
this._visible = true;
}
}
onClipEvent (enterFrame) {
if (_root.user_so.data.bacondoublecheeseburgerunlocked) {
this._visible = false;
} else {
this._visible = true;
}
}
Instance of Symbol 308 MovieClip "fries" in Frame 45
onClipEvent (load) {
if (_root.user_so.data.friesunlocked == false) {
this.gotoAndStop("locked");
}
if (_root.user_so.data.friesunlocked == true) {
this.gotoAndStop("unactivated");
}
this.price = 3000;
_root.friesactivated = false;
}
Instance of Symbol 277 MovieClip in Frame 45
onClipEvent (load) {
if (_root.user_so.data.friesunlocked) {
this._visible = false;
} else {
this._visible = true;
}
}
onClipEvent (enterFrame) {
if (_root.user_so.data.friesunlocked) {
this._visible = false;
} else {
this._visible = true;
}
}
Instance of Symbol 313 MovieClip in Frame 45
onClipEvent (load) {
if (_root.user_so.data.specialchickenunlocked == false) {
this.gotoAndStop("locked");
}
if (_root.user_so.data.specialchickenunlocked == true) {
this.gotoAndStop("unlocked");
}
this.price = 2000;
}
Instance of Symbol 315 MovieClip in Frame 45
onClipEvent (load) {
if (_root.user_so.data.specialchickenunlocked) {
this._visible = false;
} else {
this._visible = true;
}
}
onClipEvent (enterFrame) {
if (_root.user_so.data.specialchickenunlocked) {
this._visible = false;
} else {
this._visible = true;
}
}
Instance of Symbol 320 MovieClip in Frame 45
onClipEvent (load) {
if (_root.user_so.data.westernbbqburgerunlocked == false) {
this.gotoAndStop("locked");
}
if (_root.user_so.data.westernbbqburgerunlocked == true) {
this.gotoAndStop("unlocked");
}
this.price = 3000;
}
Instance of Symbol 322 MovieClip in Frame 45
onClipEvent (load) {
if (_root.user_so.data.westernbbqburgerunlocked) {
this._visible = false;
} else {
this._visible = true;
}
}
onClipEvent (enterFrame) {
if (_root.user_so.data.westernbbqburgerunlocked) {
this._visible = false;
} else {
this._visible = true;
}
}
Instance of Symbol 333 MovieClip in Frame 45
onClipEvent (load) {
if (_root.user_so.data.veggieburgerunlocked == false) {
this.gotoAndStop("locked");
}
if (_root.user_so.data.veggieburgerunlocked == true) {
this.gotoAndStop("unlocked");
}
this.price = 4000;
}
Instance of Symbol 335 MovieClip in Frame 45
onClipEvent (load) {
if (_root.user_so.data.veggieburgerunlocked) {
this._visible = false;
} else {
this._visible = true;
}
}
onClipEvent (enterFrame) {
if (_root.user_so.data.veggieburgerunlocked) {
this._visible = false;
} else {
this._visible = true;
}
}
Instance of Symbol 342 MovieClip in Frame 45
onClipEvent (load) {
if (_root.user_so.data.beastunlocked == false) {
this.gotoAndStop("locked");
}
if (_root.user_so.data.beastunlocked == true) {
this.gotoAndStop("unlocked");
}
this.price = 5000;
}
Instance of Symbol 344 MovieClip in Frame 45
onClipEvent (load) {
if (_root.user_so.data.beastunlocked) {
this._visible = false;
} else {
this._visible = true;
}
}
onClipEvent (enterFrame) {
if (_root.user_so.data.beastburgerunlocked) {
this._visible = false;
} else {
this._visible = true;
}
}
Instance of Symbol 354 MovieClip "soda" in Frame 45
onClipEvent (load) {
if (_root.user_so.data.sodaunlocked == false) {
this.gotoAndStop("locked");
}
if (_root.user_so.data.sodaunlocked == true) {
this.gotoAndStop("unactivated");
}
this.price = 10000;
_root.sodaactivated = false;
}
onClipEvent (enterFrame) {
if (_root.friesactivated and _root.user_so.data.sodaunlocked) {
_root.sodaactivated = false;
_root.SODA = false;
this.gotoAndStop("unactivated");
}
}
Instance of Symbol 356 MovieClip in Frame 45
onClipEvent (load) {
if (_root.user_so.data.sodaunlocked) {
this._visible = false;
} else {
this._visible = true;
}
}
onClipEvent (enterFrame) {
if (_root.user_so.data.sodaunlocked) {
this._visible = false;
} else {
this._visible = true;
}
}
Instance of Symbol 365 MovieClip in Frame 45
onClipEvent (load) {
this.locked = true;
this.price = 50000;
}
Frame 48
stop();
_root.toppingcount = 0;
_root.dropdone = true;
_root.shitToDelete = Array();
_root.currentDropper = _root.dropperQ[0];
_root.nextDropper = _root.dropperQ[1];
_root.main.gotoAndStop(_root.currentDropper);
_root.topthing = bbun;
_root.enuff = 0;
_root.deliciousness = 0;
_root.Cost = 0;
_root.Valu = 0;
_root.Profit = 0;
_root.FINISHED = false;
_root.STOPCLOCK = false;
_root.announce._visible = true;
_root.escapepressed = false;
_root.plainpatty = Object();
_root.plainpatty.xDiff = 8;
_root.plainpatty.yDiff = -20;
_root.plainpatty.fallspeed = 2;
_root.plainpatty.automatic = false;
_root.plainpatty.done = false;
_root.plainpatty.cost = 25;
_root.plainpatty.valu = 200 * _root.valubonus;
_root.veggiepatty = Object();
_root.veggiepatty.xDiff = 8;
_root.veggiepatty.yDiff = -20;
_root.veggiepatty.fallspeed = 2;
_root.veggiepatty.automatic = false;
_root.veggiepatty.done = false;
_root.veggiepatty.cost = 50;
_root.veggiepatty.valu = 550 * _root.valubonus;
_root.bigpatty = Object();
_root.bigpatty.xDiff = 8;
_root.bigpatty.yDiff = -40;
_root.bigpatty.fallspeed = 2;
_root.bigpatty.automatic = false;
_root.bigpatty.done = false;
_root.bigpatty.cost = 80;
_root.bigpatty.valu = 800 * _root.valubonus;
_root.chickenpatty = Object();
_root.chickenpatty.xDiff = 8;
_root.chickenpatty.yDiff = -20;
_root.chickenpatty.fallspeed = 2;
_root.chickenpatty.automatic = false;
_root.chickenpatty.done = false;
_root.chickenpatty.cost = 55;
_root.chickenpatty.valu = 500 * _root.valubonus;
_root.tomato = Object();
_root.tomato.xDiff = 27;
_root.tomato.yDiff = -34;
_root.tomato.fallspeed = 1;
_root.tomato.automatic = false;
_root.tomato.done = false;
_root.tomato.cost = 7;
_root.tomato.valu = 30 * _root.valubonus;
_root.pickels = Object();
_root.pickels.xDiff = 30;
_root.pickels.yDiff = 10;
_root.pickels.fallspeed = 4;
_root.pickels.automatic = false;
_root.pickels.done = false;
_root.pickels.cost = 20;
_root.pickels.valu = 75 * _root.valubonus;
_root.fry = Object();
_root.fry.xDiff = 45;
_root.fry.yDiff = 10;
_root.fry.fallspeed = 4;
_root.fry.automatic = false;
_root.fry.done = false;
_root.fry.cost = 10;
_root.fry.valu = 30 * _root.valubonus;
_root.fry.fry = true;
_root.ketchup = Object();
_root.ketchup.xDiff = 27;
_root.ketchup.yDiff = -34;
_root.ketchup.fallspeed = 1;
_root.ketchup.automatic = true;
_root.ketchup.done = false;
_root.ketchup.cost = 0.5;
_root.ketchup.valu = 1 * _root.valubonus;
_root.bbq = Object();
_root.bbq.xDiff = 27;
_root.bbq.yDiff = -34;
_root.bbq.fallspeed = 1;
_root.bbq.automatic = true;
_root.bbq.done = false;
_root.bbq.cost = 1;
_root.bbq.valu = 20 * _root.valubonus;
_root.special = Object();
_root.special.xDiff = 27;
_root.special.yDiff = -34;
_root.special.fallspeed = 1;
_root.special.automatic = true;
_root.special.done = false;
_root.special.cost = 1.5;
_root.special.valu = 15 * _root.valubonus;
_root.soda = Object();
_root.soda.xDiff = 27;
_root.soda.yDiff = -34;
_root.soda.fallspeed = 1;
_root.soda.automatic = false;
_root.soda.done = false;
_root.soda.cost = 5;
_root.soda.valu = 5 * _root.valubonus;
_root.soda.soda = true;
_root.cheese = Object();
_root.cheese.xDiff = 27;
_root.cheese.yDiff = -34;
_root.cheese.fallspeed = 0.25;
_root.cheese.automatic = false;
_root.cheese.done = false;
_root.cheese.cost = 10;
_root.cheese.valu = 100 * _root.valubonus;
_root.lettuce = Object();
_root.lettuce.xDiff = 27;
_root.lettuce.yDiff = -34;
_root.lettuce.fallspeed = 0.25;
_root.lettuce.automatic = false;
_root.lettuce.done = false;
_root.lettuce.cost = 5;
_root.lettuce.valu = 75 * _root.valubonus;
_root.bacon = Object();
_root.bacon.xDiff = 15;
_root.bacon.yDiff = -50;
_root.bacon.fallspeed = 1;
_root.bacon.automatic = false;
_root.bacon.done = false;
_root.bacon.cost = 5;
_root.bacon.valu = 200 * _root.valubonus;
_root.tbun = Object();
_root.tbun.xDiff = 27;
_root.tbun.yDiff = -34;
_root.tbun.fallspeed = 1;
_root.tbun.automatic = false;
_root.tbun.done = false;
_root.tbun.hold = true;
_root.tbun.cost = 10;
_root.tbun.holdvalu = 2 * _root.valubonus;
_root.tbun.valu = 20 * _root.valubonus;
_root.cSpeed = 0.9;
_root.attachMovie("announce", "announce", _root.getNextHighestDepth() + 1000, {_x:117.8, _y:157.4});
_root.shitToDelete.push({ref:_root.announce});
_root.announce.onEnterFrame = function () {
this.swapDepths(_root.toppingcount + 10000);
};
_root.onEnterFrame = function () {
if (_root.deliciousness < 0) {
_root.deliciousness = 0;
}
_root.cost.text = "$" + _root.Cost;
_root.VALUE = Math.round(((_root.Valu * _root.deliciousness) / 100) - ((_root.Valu * (30 - _root.displayTime)) / 300));
_root.valu.text = "$" + _root.VALUE;
_root.Profit = _root.VALUE - _root.Cost;
_root.profit.text = "$" + _root.Profit;
if (Key.isDown(32)) {
if (!spacepressed) {
spacepressed = true;
if (!_root.FINISHED) {
_root.changeDropper();
}
if (_root.FINISHED) {
_root.announce.removeMovieClip();
_root.currentDropper = 0;
_root.cleanUp();
Mouse.show();
if (_root.gamemode == "campaign") {
_root.gotoAndStop(_root.gametype);
} else {
_root.gotoAndStop("challenge");
}
}
}
} else {
spacepressed = false;
}
if (Key.isDown(27)) {
if (!escapepressed) {
endGame("finish");
}
} else {
escapepressed = false;
}
};
if (_root.SODA) {
displayTime = 50;
} else if (_root.FRY) {
displayTime = 45;
} else {
displayTime = 30;
}
_root.countDown = function () {
if (!_root.STOPCLOCK) {
displayTime--;
clock.text = displayTime;
if (displayTime == 0) {
clearInterval(timer);
_root.endGame("timeover");
}
}
};
timer = setInterval(_root.countDown, 1000);
_root.endGame = function (why) {
_root.dropdone = false;
Listener.onMouseDown = function () {
};
Listener.onMouseUp = function () {
};
_root.announce.swapDepths(10000 + _root.toppingcount);
_root.announce._visible = true;
_root.belt.stop();
_root.cSpeed = 0;
_root.FINISHED = true;
_root.STOPCLOCK = true;
_root.announce.gotoAndStop(why);
};
_root.cleanUp = function () {
clearInterval(timer);
for (f in _root.shitToDelete) {
_root.shitToDelete[f].ref.removeMovieClip();
}
_root.announce.removeMovieClip();
};
Mouse.hide();
var Listener = new Object();
Listener.onMouseDown = function () {
if (_root.dropdone or _root[_root.currentDropper].automatic) {
_root.main.dropper.gotoAndPlay("drop");
if (_root[_root.currentDropper].automatic) {
_root.dropdone = false;
_root.main.dropper.onEnterFrame = function () {
_root.createTopping(_root.currentDropper);
};
} else if (_root[_root.currentDropper].hold) {
_root.main.dropper.onEnterFrame = function () {
_root.doCenter(0, false, true);
};
} else if (_root[_root.currentDropper].soda) {
_root.dropdone = false;
_root.main.dropper.onEnterFrame = function () {
_root.createSoda(_root.currentDropper);
};
} else if (_root[_root.currentDropper].fry) {
_root.dropdone = false;
_root.createFry(_root.currentDropper);
} else {
_root.dropdone = false;
_root.createTopping(_root.currentDropper);
}
}
};
Listener.onMouseUp = function () {
if (_root[_root.currentDropper].automatic) {
_root.main.dropper.onEnterFrame = function () {
this.gotoAndStop(1);
_root.dropdone = true;
};
}
if (_root[_root.currentDropper].soda) {
_root.main.dropper.onEnterFrame = function () {
this.gotoAndStop(1);
_root.dropdone = true;
};
}
if (_root[_root.currentDropper].hold) {
if (_root.dropdone != false) {
_root.main.dropper.onEnterFrame = function () {
};
_root.main.dropper.gotoAndPlay("end");
_root.dropdone = false;
_root.createTopping(_root.currentDropper);
}
}
};
Mouse.addListener(Listener);
_root.main.onEnterFrame = function () {
this._x = _xmouse - (this._width / 2);
};
_root.createTopping = function (which) {
if (!_root[_root.currentDropper].automatic) {
_root.toppingcount++;
newpatty = _root.attachMovie(which, which + _root.toppingcount, 1000 + _root.toppingcount, {_x:_root.main._x + _root[_root.currentDropper].xDiff, _y:(_root.main._y + _root.main._height) + _root[_root.currentDropper].yDiff});
_root.shitToDelete.push({ref:_root[which + _root.toppingcount]});
newpatty.landed = false;
_root.Cost = _root.Cost + _root[_root.currentDropper].cost;
newpatty.xSpeed = 0;
newpatty.ySpeed = 0;
newpatty.valu = _root[which].valu;
newpatty.missed = false;
if (which == "tbun") {
newpatty.holded = true;
newpatty.downmore = true;
} else if (which == "cheese") {
newpatty.downmore = true;
} else {
newpatty.holded = false;
}
newpatty.done = false;
newpatty.gotoAndPlay("fall");
newpatty.landon = _root.topthing;
newpatty.onEnterFrame = function () {
if ((this.landed and (!this.missedleft)) and (!this.missedright)) {
this.xSpeed = _root.cSpeed;
this._x = this._x - this.xSpeed;
}
if (!this.landed) {
this.ySpeed = this.ySpeed - _root[_root.currentDropper].fallspeed;
this._y = this._y - this.ySpeed;
if ((this.hitTest(this.landon) and (!this.missedleft)) and (!this.missedright)) {
this.gotoAndStop("still");
if (!this.holded) {
_root.doCenter(this);
} else {
_root.doCenter(this, false, false, true);
}
if ((!this.missedleft) and (!this.missedright)) {
if (!this.downmore) {
this._y = this.landon._y - (this._height / 1.5);
} else {
this._y = this.landon._y - (this._height / 2);
}
this.ySpeed = 0;
_root.topthing = this;
this.landed = true;
} else if (this.missedleft) {
this.gotoAndPlay("missedleft");
_root.deliciousness = _root.deliciousness - 10;
} else if (this.missedright) {
this.gotoAndPlay("missedright");
_root.deliciousness = _root.deliciousness - 10;
}
} else if ((this.hitTest(_root.belt) and (!this.missedleft)) and (!this.missedright)) {
_root.announce.gotoAndPlay("miss");
if ((_root.currentDropper == "tbun") and (!_root.FRY)) {
_root.endGame("finish");
} else {
_root.dropdone = true;
}
_root.deliciousness = _root.deliciousness - 10;
this.ySpeed = 0;
this._y = (_root.belt._y + (this._height / 3)) - 25;
this.landed = true;
this.gotoAndStop("still");
}
}
};
} else if (_root.main.dropper.hittest.hitTest(_root.topthing)) {
_root.toppingcount++;
_root.doCenter(_root.main.dropper.hittest, true);
_root.doSpread(_root.currentDropper);
}
};
_root.createFry = function (which) {
_root.toppingcount++;
newpatty = _root.attachMovie(which, which + _root.toppingcount, 1000 + _root.toppingcount, {_x:_root.main._x + _root[_root.currentDropper].xDiff, _y:(_root.main._y + _root.main._height) + _root[_root.currentDropper].yDiff});
_root.shitToDelete.push({ref:_root[which + _root.toppingcount]});
newpatty.landed = false;
_root.Cost = _root.Cost + _root[_root.currentDropper].cost;
newpatty.xSpeed = 0;
newpatty.ySpeed = 0;
newpatty.valu = _root[which].valu;
newpatty.missed = false;
newpatty.holded = false;
newpatty.done = false;
newpatty.gotoAndPlay("fall");
newpatty.landon = _root.fries;
newpatty.onEnterFrame = function () {
if ((this.landed and (!this.missedleft)) and (!this.missedright)) {
this.xSpeed = _root.cSpeed;
this._x = this._x - this.xSpeed;
}
if (!this.landed) {
this.ySpeed = this.ySpeed - _root[_root.currentDropper].fallspeed;
this._y = this._y - this.ySpeed;
if ((this.hitTest(this.landon) and (!this.missedleft)) and (!this.missedright)) {
_root.doFryCenter(this);
if ((!this.missedleft) and (!this.missedright)) {
this.removeMovieClip();
} else if (this.missedleft) {
this.gotoAndPlay("missedleft");
_root.deliciousness = _root.deliciousness - 10;
} else if (this.missedright) {
this.gotoAndPlay("missedright");
_root.deliciousness = _root.deliciousness - 10;
}
} else if ((this.hitTest(_root.belt) and (!this.missedleft)) and (!this.missedright)) {
_root.announce.gotoAndPlay("miss");
_root.deliciousness = _root.deliciousness - 10;
this.ySpeed = 0;
this._y = (_root.belt._y + (this._height / 3)) - 25;
this.landed = true;
this.gotoAndStop("still");
}
}
};
};
_root.createSoda = function (which) {
if (_root.main.dropper.hittest.hitTest(_root.sodacup)) {
_root.toppingcount++;
_root.doSodaCenter(_root.main.dropper.hittest);
}
};
_root.changeDropper = function () {
if (_root.dropdone) {
if (Math.round(_root.enuff) == 25) {
if ((_root[_root.currentDropper].automatic or _root[_root.currentDropper].soda) or _root[_root.currentDropper].hold) {
_root.deliciousness = _root.deliciousness + 10;
}
}
if ((_root.currentDropper == "tbun") and _root.SODA) {
_root.main.gotoAndStop("soda");
_root.currentDropper = "soda";
_root.dropperQ.shift();
_root.howMuch.shift();
} else if ((_root.currentDropper == "tbun") and _root.FRY) {
_root.main.gotoAndStop("fry");
_root.currentDropper = "fry";
_root.dropperQ.shift();
_root.dropperQ.shift();
_root.howMuch.shift();
_root.howMuch.shift();
} else if (_root.currentDropper == "soda") {
_root.main.gotoAndStop("fry");
_root.currentDropper = "fry";
_root.dropperQ.shift();
_root.howMuch.shift();
}
if ((_root.currentDropper != "fry") and (_root.currentDropper != "soda")) {
if (root.currentDropper != "tbun") {
_root.main.gotoAndStop(_root.nextDropper);
_root.currentDropper = _root.nextDropper;
_root.dropperQ.shift();
_root.howMuch.shift();
}
}
_root.enuff = 0;
_root.dropdone = true;
_root.nextDropper = _root.dropperQ[1];
}
};
_root.doCenter = function (what, auto, hold, holded) {
if (auto) {
_root.Valu = _root.Valu + _root[_root.currentDropper].valu;
} else if (hold) {
_root.Valu = _root.Valu + _root.tbun.holdvalu;
} else {
_root.Valu = _root.Valu + what.valu;
}
missed = false;
if (auto) {
center = _root.main._x + (_root.main._width / 2);
} else if (hold) {
_root.enuff = _root.enuff + 1;
_root.deliciousness = _root.deliciousness + 0.2;
} else {
center = what._x + (what._width / 2);
}
bcenter = _root.bbun._x + (_root.bbun._width / 2);
diff = Math.abs(center - bcenter);
size = _root.howMany * _root.howMuch[0];
if (!hold) {
if (Math.round(_root.enuff) >= 25) {
if (auto) {
if (Math.round(_root.enuff) > 25) {
_root.deliciousness = _root.deliciousness - (100 / size);
}
} else if (!holded) {
_root.deliciousness = _root.deliciousness - 10;
}
} else if (diff < 2) {
_root.announce.gotoAndPlay("hitit");
if (!auto) {
_root.hitit.start();
}
_root.deliciousness = _root.deliciousness + (100 / size);
} else if ((diff >= 2) and (diff < 5)) {
if (!auto) {
_root.almosthit.start();
}
_root.announce.gotoAndPlay("almost");
_root.deliciousness = _root.deliciousness + (80 / size);
} else if ((diff >= 5) and (diff < 10)) {
if (!auto) {
_root.goodhit.start();
}
_root.announce.gotoAndPlay("good");
_root.deliciousness = _root.deliciousness + (60 / size);
} else if ((diff >= 10) and (diff < 15)) {
_root.announce.gotoAndPlay("weak");
_root.deliciousness = _root.deliciousness + (40 / size);
} else if ((diff >= 15) and (diff < 20)) {
_root.announce.gotoAndPlay("lame");
_root.deliciousness = _root.deliciousness + (20 / size);
}
if (((diff >= 20) and (!holded)) and (!hold)) {
_root.announce.gotoAndPlay("miss");
if ((center - bcenter) < 0) {
what.missedleft = true;
missed = true;
} else {
what.missedright = true;
missed = true;
}
}
} else if (hold) {
what.missedright = true;
missed = true;
if (Math.round(_root.enuff) > 25) {
_root.deliciousness = _root.deliciousness - 2;
}
}
if ((!missed) and (!holded)) {
_root.enuff = _root.enuff + (50 / (_root.howMuch[0] * 2));
}
if ((_root.currentDropper == "tbun") and holded) {
if (Math.round(_root.enuff) == 25) {
_root.deliciousness = _root.deliciousness + 10;
}
if (!_root.FRY) {
_root.endGame("finish");
} else {
_root.dropdone = true;
}
}
if (((!auto) and (!hold)) and (!_root.FINISH)) {
_root.dropdone = true;
}
};
_root.doFryCenter = function (what) {
_root.Valu = _root.Valu + _root.fry.valu;
missed = false;
center = what._x + (what._width / 2);
bcenter = _root.fries._x + (_root.fries._width / 2);
diff = Math.abs(center - bcenter);
size = _root.howMany * _root.howMuch[0];
if (diff < 10) {
_root.announce.gotoAndPlay("hitit");
if (!auto) {
_root.hitit.start();
}
_root.deliciousness = _root.deliciousness + (100 / size);
} else if ((diff >= 10) and (diff < 20)) {
if (!auto) {
_root.almosthit.start();
}
_root.announce.gotoAndPlay("almost");
_root.deliciousness = _root.deliciousness + (80 / size);
} else if ((diff >= 20) and (diff < 30)) {
if (!auto) {
_root.goodhit.start();
}
_root.announce.gotoAndPlay("good");
_root.deliciousness = _root.deliciousness + (60 / size);
} else if ((diff >= 30) and (diff < 40)) {
_root.announce.gotoAndPlay("weak");
_root.deliciousness = _root.deliciousness + (40 / size);
} else if ((diff >= 40) and (diff < 50)) {
_root.announce.gotoAndPlay("lame");
_root.deliciousness = _root.deliciousness + (20 / size);
}
if (((diff >= 50) and (!holded)) and (!hold)) {
_root.announce.gotoAndPlay("miss");
if ((center - bcenter) < 0) {
what.missedleft = true;
missed = true;
} else {
what.missedright = true;
missed = true;
}
}
if (!missed) {
_root.enuff = _root.enuff + (50 / (_root.howMuch[0] * 2));
_root.dropdone = true;
if (_root.fries._currentframe < 17) {
_root.fries.gotoAndStop(_root.fries._currentframe + 1);
}
}
if (Math.round(_root.enuff) >= 25) {
_root.endGame("finish");
}
};
_root.doSodaCenter = function (what) {
_root.Valu = _root.Valu + _root.soda.valu;
missed = false;
center = _root.main._x + (_root.main._width / 2);
bcenter = _root.sodacup._x + (_root.sodacup._width / 2);
diff = Math.abs(center - bcenter);
size = _root.howMany * _root.howMuch[0];
if (Math.round(_root.enuff) > 25) {
_root.deliciousness = _root.deliciousness - (100 / size);
} else if (diff < 5) {
_root.announce.gotoAndPlay("hitit");
_root.deliciousness = _root.deliciousness + (100 / size);
} else if ((diff >= 5) and (diff < 15)) {
_root.announce.gotoAndPlay("almost");
_root.deliciousness = _root.deliciousness + (80 / size);
} else if ((diff >= 15) and (diff < 25)) {
_root.announce.gotoAndPlay("good");
_root.deliciousness = _root.deliciousness + (60 / size);
} else if ((diff >= 25) and (diff < 35)) {
_root.announce.gotoAndPlay("weak");
_root.deliciousness = _root.deliciousness + (40 / size);
} else if ((diff >= 35) and (diff < 40)) {
_root.announce.gotoAndPlay("lame");
_root.deliciousness = _root.deliciousness + (20 / size);
}
if (((diff >= 40) and (!holded)) and (!hold)) {
_root.announce.gotoAndPlay("miss");
if ((center - bcenter) < 0) {
what.missedleft = true;
missed = true;
} else {
what.missedright = true;
missed = true;
}
} else if (hold) {
what.missedright = true;
missed = true;
}
if ((!missed) and (!holded)) {
_root.enuff = _root.enuff + (50 / (_root.howMuch[0] * 2));
}
if ((_root.currentDropper == "tbun") and holded) {
_root.endGame("finish");
}
};
_root.doSpread = function (what) {
if (_root[what].done == false) {
_root[what].done = true;
goof = _root.attachMovie(what, (what + _root.toppingcount) + 1000, 1003 + _root.toppingcount, {_x:_root.main._x, _y:_root.topthing._y});
_root.shitToDelete.push({ref:_root[(what + _root.toppingcount) + 1000]});
goof.onEnterFrame = function () {
this._x = this._x - _root.cSpeed;
};
}
goof.gotoAndStop(goof._currentframe + 1);
};
_root.bbun.onEnterFrame = function () {
this._x = this._x - _root.cSpeed;
};
if (_root.SODA) {
_root.sodacup.onEnterFrame = function () {
this._x = this._x - _root.cSpeed;
};
}
if (_root.FRY) {
_root.fries.onEnterFrame = function () {
this._x = this._x - _root.cSpeed;
};
}
Instance of Symbol 457 MovieClip in Frame 48
onClipEvent (load) {
tot_frames = this._totalframes - 1;
gotoAndStop (1);
}
onClipEvent (enterFrame) {
bar_d = Math.round((_root.enuff / (50 / tot_frames)) + 1);
if (bar_d > 51) {
bar_d = 51;
}
if (bar_d != this._currentframe) {
this.gotoAndStop(bar_d);
}
}
Instance of Symbol 480 MovieClip in Frame 48
onClipEvent (load) {
tot_frames = this._totalframes - 1;
gotoAndStop (1);
}
onClipEvent (enterFrame) {
bar_d = Math.round((_root.deliciousness / (100 / tot_frames)) + 1);
if (bar_d > 101) {
bar_d = 101;
}
if (bar_d < 1) {
bar_d = 1;
}
if (bar_d != this._currentframe) {
this.gotoAndStop(bar_d);
}
}
Frame 60
_root.toppingcount = 0;
_root.dropdone = true;
_root.shitToDelete = Array();
_root.currentDropper = _root.dropperQ[0];
_root.nextDropper = _root.dropperQ[1];
_root.main.gotoAndStop(_root.currentDropper);
_root.topthing = bbun;
_root.enuff = 0;
_root.deliciousness = 0;
_root.Cost = 0;
_root.Valu = 0;
_root.Profit = 0;
_root.FINISHED = false;
_root.STOPCLOCK = false;
_root.announce._visible = true;
_root.escapepressed = false;
_root.plainpatty = Object();
_root.plainpatty.xDiff = 8;
_root.plainpatty.yDiff = -20;
_root.plainpatty.fallspeed = 2;
_root.plainpatty.automatic = false;
_root.plainpatty.done = false;
_root.plainpatty.cost = 25;
_root.plainpatty.valu = 200 * _root.valubonus;
_root.veggiepatty = Object();
_root.veggiepatty.xDiff = 8;
_root.veggiepatty.yDiff = -20;
_root.veggiepatty.fallspeed = 2;
_root.veggiepatty.automatic = false;
_root.veggiepatty.done = false;
_root.veggiepatty.cost = 50;
_root.veggiepatty.valu = 550 * _root.valubonus;
_root.bigpatty = Object();
_root.bigpatty.xDiff = 8;
_root.bigpatty.yDiff = -40;
_root.bigpatty.fallspeed = 2;
_root.bigpatty.automatic = false;
_root.bigpatty.done = false;
_root.bigpatty.cost = 80;
_root.bigpatty.valu = 800 * _root.valubonus;
_root.chickenpatty = Object();
_root.chickenpatty.xDiff = 8;
_root.chickenpatty.yDiff = -20;
_root.chickenpatty.fallspeed = 2;
_root.chickenpatty.automatic = false;
_root.chickenpatty.done = false;
_root.chickenpatty.cost = 55;
_root.chickenpatty.valu = 500 * _root.valubonus;
_root.tomato = Object();
_root.tomato.xDiff = 27;
_root.tomato.yDiff = -34;
_root.tomato.fallspeed = 1;
_root.tomato.automatic = false;
_root.tomato.done = false;
_root.tomato.cost = 7;
_root.tomato.valu = 30 * _root.valubonus;
_root.pickels = Object();
_root.pickels.xDiff = 30;
_root.pickels.yDiff = 10;
_root.pickels.fallspeed = 4;
_root.pickels.automatic = false;
_root.pickels.done = false;
_root.pickels.cost = 20;
_root.pickels.valu = 75 * _root.valubonus;
_root.fry = Object();
_root.fry.xDiff = 45;
_root.fry.yDiff = 10;
_root.fry.fallspeed = 4;
_root.fry.automatic = false;
_root.fry.done = false;
_root.fry.cost = 10;
_root.fry.valu = 30 * _root.valubonus;
_root.fry.fry = true;
_root.ketchup = Object();
_root.ketchup.xDiff = 27;
_root.ketchup.yDiff = -34;
_root.ketchup.fallspeed = 1;
_root.ketchup.automatic = true;
_root.ketchup.done = false;
_root.ketchup.cost = 0.5;
_root.ketchup.valu = 1 * _root.valubonus;
_root.bbq = Object();
_root.bbq.xDiff = 27;
_root.bbq.yDiff = -34;
_root.bbq.fallspeed = 1;
_root.bbq.automatic = true;
_root.bbq.done = false;
_root.bbq.cost = 1;
_root.bbq.valu = 20 * _root.valubonus;
_root.special = Object();
_root.special.xDiff = 27;
_root.special.yDiff = -34;
_root.special.fallspeed = 1;
_root.special.automatic = true;
_root.special.done = false;
_root.special.cost = 1.5;
_root.special.valu = 15 * _root.valubonus;
_root.soda = Object();
_root.soda.xDiff = 27;
_root.soda.yDiff = -34;
_root.soda.fallspeed = 1;
_root.soda.automatic = false;
_root.soda.done = false;
_root.soda.cost = 5;
_root.soda.valu = 5 * _root.valubonus;
_root.soda.soda = true;
_root.cheese = Object();
_root.cheese.xDiff = 27;
_root.cheese.yDiff = -34;
_root.cheese.fallspeed = 0.25;
_root.cheese.automatic = false;
_root.cheese.done = false;
_root.cheese.cost = 10;
_root.cheese.valu = 100 * _root.valubonus;
_root.lettuce = Object();
_root.lettuce.xDiff = 27;
_root.lettuce.yDiff = -34;
_root.lettuce.fallspeed = 0.25;
_root.lettuce.automatic = false;
_root.lettuce.done = false;
_root.lettuce.cost = 5;
_root.lettuce.valu = 75 * _root.valubonus;
_root.bacon = Object();
_root.bacon.xDiff = 15;
_root.bacon.yDiff = -50;
_root.bacon.fallspeed = 1;
_root.bacon.automatic = false;
_root.bacon.done = false;
_root.bacon.cost = 5;
_root.bacon.valu = 200 * _root.valubonus;
_root.tbun = Object();
_root.tbun.xDiff = 27;
_root.tbun.yDiff = -34;
_root.tbun.fallspeed = 1;
_root.tbun.automatic = false;
_root.tbun.done = false;
_root.tbun.hold = true;
_root.tbun.cost = 10;
_root.tbun.holdvalu = 2 * _root.valubonus;
_root.tbun.valu = 20 * _root.valubonus;
_root.cSpeed = 0.9;
_root.attachMovie("announce", "announce", _root.getNextHighestDepth() + 1000, {_x:117.8, _y:157.4});
_root.shitToDelete.push({ref:_root.announce});
_root.announce.onEnterFrame = function () {
this.swapDepths(_root.toppingcount + 10000);
};
_root.onEnterFrame = function () {
if (_root.deliciousness < 0) {
_root.deliciousness = 0;
}
_root.cost.text = "$" + _root.Cost;
_root.VALUE = Math.round(((_root.Valu * _root.deliciousness) / 100) - ((_root.Valu * (30 - _root.displayTime)) / 300));
_root.valu.text = "$" + _root.VALUE;
_root.Profit = _root.VALUE - _root.Cost;
_root.profit.text = "$" + _root.Profit;
if (Key.isDown(32)) {
if (!spacepressed) {
spacepressed = true;
if (!_root.FINISHED) {
_root.changeDropper();
}
if (_root.FINISHED) {
_root.announce.removeMovieClip();
_root.currentDropper = 0;
_root.cleanUp();
Mouse.show();
if (_root.gamemode == "campaign") {
_root.gotoAndStop(_root.gametype);
} else {
_root.gotoAndStop("challenge");
}
}
}
} else {
spacepressed = false;
}
if (Key.isDown(27)) {
if (!escapepressed) {
endGame("finish");
}
} else {
escapepressed = false;
}
};
if (_root.SODA) {
displayTime = 50;
} else if (_root.FRY) {
displayTime = 45;
} else {
displayTime = 30;
}
_root.countDown = function () {
if (!_root.STOPCLOCK) {
displayTime--;
clock.text = displayTime;
if (displayTime == 0) {
clearInterval(timer);
_root.endGame("timeover");
}
}
};
timer = setInterval(_root.countDown, 1000);
_root.endGame = function (why) {
_root.dropdone = false;
Listener.onMouseDown = function () {
};
Listener.onMouseUp = function () {
};
_root.announce.swapDepths(10000 + _root.toppingcount);
_root.announce._visible = true;
_root.belt.stop();
_root.cSpeed = 0;
_root.FINISHED = true;
_root.STOPCLOCK = true;
_root.announce.gotoAndStop(why);
};
_root.cleanUp = function () {
clearInterval(timer);
for (f in _root.shitToDelete) {
_root.shitToDelete[f].ref.removeMovieClip();
}
_root.announce.removeMovieClip();
};
Mouse.hide();
var Listener = new Object();
Listener.onMouseDown = function () {
if (_root.dropdone or _root[_root.currentDropper].automatic) {
_root.main.dropper.gotoAndPlay("drop");
if (_root[_root.currentDropper].automatic) {
_root.dropdone = false;
_root.main.dropper.onEnterFrame = function () {
_root.createTopping(_root.currentDropper);
};
} else if (_root[_root.currentDropper].hold) {
_root.main.dropper.onEnterFrame = function () {
_root.doCenter(0, false, true);
};
} else if (_root[_root.currentDropper].soda) {
_root.dropdone = false;
_root.main.dropper.onEnterFrame = function () {
_root.createSoda(_root.currentDropper);
};
} else if (_root[_root.currentDropper].fry) {
_root.dropdone = false;
_root.createFry(_root.currentDropper);
} else {
_root.dropdone = false;
_root.createTopping(_root.currentDropper);
}
}
};
Listener.onMouseUp = function () {
if (_root[_root.currentDropper].automatic) {
_root.main.dropper.onEnterFrame = function () {
this.gotoAndStop(1);
_root.dropdone = true;
};
}
if (_root[_root.currentDropper].soda) {
_root.main.dropper.onEnterFrame = function () {
this.gotoAndStop(1);
_root.dropdone = true;
};
}
if (_root[_root.currentDropper].hold) {
if (_root.dropdone != false) {
_root.main.dropper.onEnterFrame = function () {
};
_root.main.dropper.gotoAndPlay("end");
_root.dropdone = false;
_root.createTopping(_root.currentDropper);
}
}
};
Mouse.addListener(Listener);
_root.main.onEnterFrame = function () {
this._x = _xmouse - (this._width / 2);
};
_root.createTopping = function (which) {
if (!_root[_root.currentDropper].automatic) {
_root.toppingcount++;
newpatty = _root.attachMovie(which, which + _root.toppingcount, 1000 + _root.toppingcount, {_x:_root.main._x + _root[_root.currentDropper].xDiff, _y:(_root.main._y + _root.main._height) + _root[_root.currentDropper].yDiff});
_root.shitToDelete.push({ref:_root[which + _root.toppingcount]});
newpatty.landed = false;
_root.Cost = _root.Cost + _root[_root.currentDropper].cost;
newpatty.xSpeed = 0;
newpatty.ySpeed = 0;
newpatty.valu = _root[which].valu;
newpatty.missed = false;
if (which == "tbun") {
newpatty.holded = true;
newpatty.downmore = true;
} else if (which == "cheese") {
newpatty.downmore = true;
} else {
newpatty.holded = false;
}
newpatty.done = false;
newpatty.gotoAndPlay("fall");
newpatty.landon = _root.topthing;
newpatty.onEnterFrame = function () {
if ((this.landed and (!this.missedleft)) and (!this.missedright)) {
this.xSpeed = _root.cSpeed;
this._x = this._x - this.xSpeed;
}
if (!this.landed) {
this.ySpeed = this.ySpeed - _root[_root.currentDropper].fallspeed;
this._y = this._y - this.ySpeed;
if ((this.hitTest(this.landon) and (!this.missedleft)) and (!this.missedright)) {
this.gotoAndStop("still");
if (!this.holded) {
_root.doCenter(this);
} else {
_root.doCenter(this, false, false, true);
}
if ((!this.missedleft) and (!this.missedright)) {
if (!this.downmore) {
this._y = this.landon._y - (this._height / 1.5);
} else {
this._y = this.landon._y - (this._height / 2);
}
this.ySpeed = 0;
_root.topthing = this;
this.landed = true;
} else if (this.missedleft) {
this.gotoAndPlay("missedleft");
_root.deliciousness = _root.deliciousness - 10;
} else if (this.missedright) {
this.gotoAndPlay("missedright");
_root.deliciousness = _root.deliciousness - 10;
}
} else if ((this.hitTest(_root.belt) and (!this.missedleft)) and (!this.missedright)) {
_root.announce.gotoAndPlay("miss");
if ((_root.currentDropper == "tbun") and (!_root.FRY)) {
_root.endGame("finish");
} else {
_root.dropdone = true;
}
_root.deliciousness = _root.deliciousness - 10;
this.ySpeed = 0;
this._y = (_root.belt._y + (this._height / 3)) - 25;
this.landed = true;
this.gotoAndStop("still");
}
}
};
} else if (_root.main.dropper.hittest.hitTest(_root.topthing)) {
_root.toppingcount++;
_root.doCenter(_root.main.dropper.hittest, true);
_root.doSpread(_root.currentDropper);
}
};
_root.createFry = function (which) {
_root.toppingcount++;
newpatty = _root.attachMovie(which, which + _root.toppingcount, 1000 + _root.toppingcount, {_x:_root.main._x + _root[_root.currentDropper].xDiff, _y:(_root.main._y + _root.main._height) + _root[_root.currentDropper].yDiff});
_root.shitToDelete.push({ref:_root[which + _root.toppingcount]});
newpatty.landed = false;
_root.Cost = _root.Cost + _root[_root.currentDropper].cost;
newpatty.xSpeed = 0;
newpatty.ySpeed = 0;
newpatty.valu = _root[which].valu;
newpatty.missed = false;
newpatty.holded = false;
newpatty.done = false;
newpatty.gotoAndPlay("fall");
newpatty.landon = _root.fries;
newpatty.onEnterFrame = function () {
if ((this.landed and (!this.missedleft)) and (!this.missedright)) {
this.xSpeed = _root.cSpeed;
this._x = this._x - this.xSpeed;
}
if (!this.landed) {
this.ySpeed = this.ySpeed - _root[_root.currentDropper].fallspeed;
this._y = this._y - this.ySpeed;
if ((this.hitTest(this.landon) and (!this.missedleft)) and (!this.missedright)) {
_root.doFryCenter(this);
if ((!this.missedleft) and (!this.missedright)) {
this.removeMovieClip();
} else if (this.missedleft) {
this.gotoAndPlay("missedleft");
_root.deliciousness = _root.deliciousness - 10;
} else if (this.missedright) {
this.gotoAndPlay("missedright");
_root.deliciousness = _root.deliciousness - 10;
}
} else if ((this.hitTest(_root.belt) and (!this.missedleft)) and (!this.missedright)) {
_root.announce.gotoAndPlay("miss");
_root.deliciousness = _root.deliciousness - 10;
this.ySpeed = 0;
this._y = (_root.belt._y + (this._height / 3)) - 25;
this.landed = true;
this.gotoAndStop("still");
}
}
};
};
_root.createSoda = function (which) {
if (_root.main.dropper.hittest.hitTest(_root.sodacup)) {
_root.toppingcount++;
_root.doSodaCenter(_root.main.dropper.hittest);
}
};
_root.changeDropper = function () {
if (_root.dropdone) {
if (Math.round(_root.enuff) == 25) {
if ((_root[_root.currentDropper].automatic or _root[_root.currentDropper].soda) or _root[_root.currentDropper].hold) {
_root.deliciousness = _root.deliciousness + 10;
}
}
if ((_root.currentDropper == "tbun") and _root.SODA) {
_root.main.gotoAndStop("soda");
_root.currentDropper = "soda";
_root.dropperQ.shift();
_root.howMuch.shift();
} else if ((_root.currentDropper == "tbun") and _root.FRY) {
_root.main.gotoAndStop("fry");
_root.currentDropper = "fry";
_root.dropperQ.shift();
_root.dropperQ.shift();
_root.howMuch.shift();
_root.howMuch.shift();
} else if (_root.currentDropper == "soda") {
_root.main.gotoAndStop("fry");
_root.currentDropper = "fry";
_root.dropperQ.shift();
_root.howMuch.shift();
}
if ((_root.currentDropper != "fry") and (_root.currentDropper != "soda")) {
if (root.currentDropper != "tbun") {
_root.main.gotoAndStop(_root.nextDropper);
_root.currentDropper = _root.nextDropper;
_root.dropperQ.shift();
_root.howMuch.shift();
}
}
_root.enuff = 0;
_root.dropdone = true;
_root.nextDropper = _root.dropperQ[1];
}
};
_root.doCenter = function (what, auto, hold, holded) {
if (auto) {
_root.Valu = _root.Valu + _root[_root.currentDropper].valu;
} else if (hold) {
_root.Valu = _root.Valu + _root.tbun.holdvalu;
} else {
_root.Valu = _root.Valu + what.valu;
}
missed = false;
if (auto) {
center = _root.main._x + (_root.main._width / 2);
} else if (hold) {
_root.enuff = _root.enuff + 1;
_root.deliciousness = _root.deliciousness + 0.2;
} else {
center = what._x + (what._width / 2);
}
bcenter = _root.bbun._x + (_root.bbun._width / 2);
diff = Math.abs(center - bcenter);
size = _root.howMany * _root.howMuch[0];
if (!hold) {
if (Math.round(_root.enuff) >= 25) {
if (auto) {
if (Math.round(_root.enuff) > 25) {
_root.deliciousness = _root.deliciousness - (100 / size);
}
} else if (!holded) {
_root.deliciousness = _root.deliciousness - 10;
}
} else if (diff < 2) {
_root.announce.gotoAndPlay("hitit");
if (!auto) {
_root.hitit.start();
}
_root.deliciousness = _root.deliciousness + (100 / size);
} else if ((diff >= 2) and (diff < 5)) {
if (!auto) {
_root.almosthit.start();
}
_root.announce.gotoAndPlay("almost");
_root.deliciousness = _root.deliciousness + (80 / size);
} else if ((diff >= 5) and (diff < 10)) {
if (!auto) {
_root.goodhit.start();
}
_root.announce.gotoAndPlay("good");
_root.deliciousness = _root.deliciousness + (60 / size);
} else if ((diff >= 10) and (diff < 15)) {
_root.announce.gotoAndPlay("weak");
_root.deliciousness = _root.deliciousness + (40 / size);
} else if ((diff >= 15) and (diff < 20)) {
_root.announce.gotoAndPlay("lame");
_root.deliciousness = _root.deliciousness + (20 / size);
}
if (((diff >= 20) and (!holded)) and (!hold)) {
_root.announce.gotoAndPlay("miss");
if ((center - bcenter) < 0) {
what.missedleft = true;
missed = true;
} else {
what.missedright = true;
missed = true;
}
}
} else if (hold) {
what.missedright = true;
missed = true;
if (Math.round(_root.enuff) > 25) {
_root.deliciousness = _root.deliciousness - 2;
}
}
if ((!missed) and (!holded)) {
_root.enuff = _root.enuff + (50 / (_root.howMuch[0] * 2));
}
if ((_root.currentDropper == "tbun") and holded) {
if (Math.round(_root.enuff) == 25) {
_root.deliciousness = _root.deliciousness + 10;
}
if (!_root.FRY) {
_root.endGame("finish");
} else {
_root.dropdone = true;
}
}
if (((!auto) and (!hold)) and (!_root.FINISH)) {
_root.dropdone = true;
}
};
_root.doFryCenter = function (what) {
_root.Valu = _root.Valu + _root.fry.valu;
missed = false;
center = what._x + (what._width / 2);
bcenter = _root.fries._x + (_root.fries._width / 2);
diff = Math.abs(center - bcenter);
size = _root.howMany * _root.howMuch[0];
if (diff < 10) {
_root.announce.gotoAndPlay("hitit");
if (!auto) {
_root.hitit.start();
}
_root.deliciousness = _root.deliciousness + (100 / size);
} else if ((diff >= 10) and (diff < 20)) {
if (!auto) {
_root.almosthit.start();
}
_root.announce.gotoAndPlay("almost");
_root.deliciousness = _root.deliciousness + (80 / size);
} else if ((diff >= 20) and (diff < 30)) {
if (!auto) {
_root.goodhit.start();
}
_root.announce.gotoAndPlay("good");
_root.deliciousness = _root.deliciousness + (60 / size);
} else if ((diff >= 30) and (diff < 40)) {
_root.announce.gotoAndPlay("weak");
_root.deliciousness = _root.deliciousness + (40 / size);
} else if ((diff >= 40) and (diff < 50)) {
_root.announce.gotoAndPlay("lame");
_root.deliciousness = _root.deliciousness + (20 / size);
}
if (((diff >= 50) and (!holded)) and (!hold)) {
_root.announce.gotoAndPlay("miss");
if ((center - bcenter) < 0) {
what.missedleft = true;
missed = true;
} else {
what.missedright = true;
missed = true;
}
}
if (!missed) {
_root.enuff = _root.enuff + (50 / (_root.howMuch[0] * 2));
_root.dropdone = true;
if (_root.fries._currentframe < 17) {
_root.fries.gotoAndStop(_root.fries._currentframe + 1);
}
}
if (Math.round(_root.enuff) >= 25) {
_root.endGame("finish");
}
};
_root.doSodaCenter = function (what) {
_root.Valu = _root.Valu + _root.soda.valu;
missed = false;
center = _root.main._x + (_root.main._width / 2);
bcenter = _root.sodacup._x + (_root.sodacup._width / 2);
diff = Math.abs(center - bcenter);
size = _root.howMany * _root.howMuch[0];
if (Math.round(_root.enuff) > 25) {
_root.deliciousness = _root.deliciousness - (100 / size);
} else if (diff < 5) {
_root.announce.gotoAndPlay("hitit");
_root.deliciousness = _root.deliciousness + (100 / size);
} else if ((diff >= 5) and (diff < 15)) {
_root.announce.gotoAndPlay("almost");
_root.deliciousness = _root.deliciousness + (80 / size);
} else if ((diff >= 15) and (diff < 25)) {
_root.announce.gotoAndPlay("good");
_root.deliciousness = _root.deliciousness + (60 / size);
} else if ((diff >= 25) and (diff < 35)) {
_root.announce.gotoAndPlay("weak");
_root.deliciousness = _root.deliciousness + (40 / size);
} else if ((diff >= 35) and (diff < 40)) {
_root.announce.gotoAndPlay("lame");
_root.deliciousness = _root.deliciousness + (20 / size);
}
if (((diff >= 40) and (!holded)) and (!hold)) {
_root.announce.gotoAndPlay("miss");
if ((center - bcenter) < 0) {
what.missedleft = true;
missed = true;
} else {
what.missedright = true;
missed = true;
}
} else if (hold) {
what.missedright = true;
missed = true;
}
if ((!missed) and (!holded)) {
_root.enuff = _root.enuff + (50 / (_root.howMuch[0] * 2));
}
if ((_root.currentDropper == "tbun") and holded) {
_root.endGame("finish");
}
};
_root.doSpread = function (what) {
if (_root[what].done == false) {
_root[what].done = true;
goof = _root.attachMovie(what, (what + _root.toppingcount) + 1000, 1003 + _root.toppingcount, {_x:_root.main._x, _y:_root.topthing._y});
_root.shitToDelete.push({ref:_root[(what + _root.toppingcount) + 1000]});
goof.onEnterFrame = function () {
this._x = this._x - _root.cSpeed;
};
}
goof.gotoAndStop(goof._currentframe + 1);
};
_root.bbun.onEnterFrame = function () {
this._x = this._x - _root.cSpeed;
};
if (_root.SODA) {
_root.sodacup.onEnterFrame = function () {
this._x = this._x - _root.cSpeed;
};
}
if (_root.FRY) {
_root.fries.onEnterFrame = function () {
this._x = this._x - _root.cSpeed;
};
}
Instance of Symbol 500 MovieClip in Frame 60
onClipEvent (load) {
tot_frames = this._totalframes - 1;
gotoAndStop (1);
}
onClipEvent (enterFrame) {
bar_d = Math.round((_root.enuff / (50 / tot_frames)) + 1);
if (bar_d > 51) {
bar_d = 51;
}
if (bar_d != this._currentframe) {
this.gotoAndStop(bar_d);
}
}
Instance of Symbol 502 MovieClip in Frame 60
onClipEvent (load) {
tot_frames = this._totalframes - 1;
gotoAndStop (1);
}
onClipEvent (enterFrame) {
bar_d = Math.round((_root.deliciousness / (100 / tot_frames)) + 1);
if (bar_d > 101) {
bar_d = 101;
}
if (bar_d < 1) {
bar_d = 1;
}
if (bar_d != this._currentframe) {
this.gotoAndStop(bar_d);
}
}
Frame 62
_root.toppingcount = 0;
_root.dropdone = true;
_root.shitToDelete = Array();
_root.currentDropper = _root.dropperQ[0];
_root.nextDropper = _root.dropperQ[1];
_root.main.gotoAndStop(_root.currentDropper);
_root.topthing = bbun;
_root.enuff = 0;
_root.deliciousness = 0;
_root.Cost = 0;
_root.Valu = 0;
_root.Profit = 0;
_root.FINISHED = false;
_root.STOPCLOCK = false;
_root.announce._visible = true;
_root.escapepressed = false;
_root.plainpatty = Object();
_root.plainpatty.xDiff = 8;
_root.plainpatty.yDiff = -20;
_root.plainpatty.fallspeed = 2;
_root.plainpatty.automatic = false;
_root.plainpatty.done = false;
_root.plainpatty.cost = 25;
_root.plainpatty.valu = 200 * _root.valubonus;
_root.veggiepatty = Object();
_root.veggiepatty.xDiff = 8;
_root.veggiepatty.yDiff = -20;
_root.veggiepatty.fallspeed = 2;
_root.veggiepatty.automatic = false;
_root.veggiepatty.done = false;
_root.veggiepatty.cost = 50;
_root.veggiepatty.valu = 550 * _root.valubonus;
_root.bigpatty = Object();
_root.bigpatty.xDiff = 8;
_root.bigpatty.yDiff = -40;
_root.bigpatty.fallspeed = 2;
_root.bigpatty.automatic = false;
_root.bigpatty.done = false;
_root.bigpatty.cost = 80;
_root.bigpatty.valu = 800 * _root.valubonus;
_root.chickenpatty = Object();
_root.chickenpatty.xDiff = 8;
_root.chickenpatty.yDiff = -20;
_root.chickenpatty.fallspeed = 2;
_root.chickenpatty.automatic = false;
_root.chickenpatty.done = false;
_root.chickenpatty.cost = 55;
_root.chickenpatty.valu = 500 * _root.valubonus;
_root.tomato = Object();
_root.tomato.xDiff = 27;
_root.tomato.yDiff = -34;
_root.tomato.fallspeed = 1;
_root.tomato.automatic = false;
_root.tomato.done = false;
_root.tomato.cost = 7;
_root.tomato.valu = 30 * _root.valubonus;
_root.pickels = Object();
_root.pickels.xDiff = 30;
_root.pickels.yDiff = 10;
_root.pickels.fallspeed = 4;
_root.pickels.automatic = false;
_root.pickels.done = false;
_root.pickels.cost = 20;
_root.pickels.valu = 75 * _root.valubonus;
_root.fry = Object();
_root.fry.xDiff = 45;
_root.fry.yDiff = 10;
_root.fry.fallspeed = 4;
_root.fry.automatic = false;
_root.fry.done = false;
_root.fry.cost = 10;
_root.fry.valu = 30 * _root.valubonus;
_root.fry.fry = true;
_root.ketchup = Object();
_root.ketchup.xDiff = 27;
_root.ketchup.yDiff = -34;
_root.ketchup.fallspeed = 1;
_root.ketchup.automatic = true;
_root.ketchup.done = false;
_root.ketchup.cost = 0.5;
_root.ketchup.valu = 1 * _root.valubonus;
_root.bbq = Object();
_root.bbq.xDiff = 27;
_root.bbq.yDiff = -34;
_root.bbq.fallspeed = 1;
_root.bbq.automatic = true;
_root.bbq.done = false;
_root.bbq.cost = 1;
_root.bbq.valu = 20 * _root.valubonus;
_root.special = Object();
_root.special.xDiff = 27;
_root.special.yDiff = -34;
_root.special.fallspeed = 1;
_root.special.automatic = true;
_root.special.done = false;
_root.special.cost = 1.5;
_root.special.valu = 15 * _root.valubonus;
_root.soda = Object();
_root.soda.xDiff = 27;
_root.soda.yDiff = -34;
_root.soda.fallspeed = 1;
_root.soda.automatic = false;
_root.soda.done = false;
_root.soda.cost = 5;
_root.soda.valu = 5 * _root.valubonus;
_root.soda.soda = true;
_root.cheese = Object();
_root.cheese.xDiff = 27;
_root.cheese.yDiff = -34;
_root.cheese.fallspeed = 0.25;
_root.cheese.automatic = false;
_root.cheese.done = false;
_root.cheese.cost = 10;
_root.cheese.valu = 100 * _root.valubonus;
_root.lettuce = Object();
_root.lettuce.xDiff = 27;
_root.lettuce.yDiff = -34;
_root.lettuce.fallspeed = 0.25;
_root.lettuce.automatic = false;
_root.lettuce.done = false;
_root.lettuce.cost = 5;
_root.lettuce.valu = 75 * _root.valubonus;
_root.bacon = Object();
_root.bacon.xDiff = 15;
_root.bacon.yDiff = -50;
_root.bacon.fallspeed = 1;
_root.bacon.automatic = false;
_root.bacon.done = false;
_root.bacon.cost = 5;
_root.bacon.valu = 200 * _root.valubonus;
_root.tbun = Object();
_root.tbun.xDiff = 27;
_root.tbun.yDiff = -34;
_root.tbun.fallspeed = 1;
_root.tbun.automatic = false;
_root.tbun.done = false;
_root.tbun.hold = true;
_root.tbun.cost = 10;
_root.tbun.holdvalu = 2 * _root.valubonus;
_root.tbun.valu = 20 * _root.valubonus;
_root.cSpeed = 0.9;
_root.attachMovie("announce", "announce", _root.getNextHighestDepth() + 1000, {_x:117.8, _y:157.4});
_root.shitToDelete.push({ref:_root.announce});
_root.announce.onEnterFrame = function () {
this.swapDepths(_root.toppingcount + 10000);
};
_root.onEnterFrame = function () {
if (_root.deliciousness < 0) {
_root.deliciousness = 0;
}
_root.cost.text = "$" + _root.Cost;
_root.VALUE = Math.round(((_root.Valu * _root.deliciousness) / 100) - ((_root.Valu * (30 - _root.displayTime)) / 300));
_root.valu.text = "$" + _root.VALUE;
_root.Profit = _root.VALUE - _root.Cost;
_root.profit.text = "$" + _root.Profit;
if (Key.isDown(32)) {
if (!spacepressed) {
spacepressed = true;
if (!_root.FINISHED) {
_root.changeDropper();
}
if (_root.FINISHED) {
_root.announce.removeMovieClip();
_root.currentDropper = 0;
_root.cleanUp();
Mouse.show();
if (_root.gamemode == "campaign") {
_root.gotoAndStop(_root.gametype);
} else {
_root.gotoAndStop("challenge");
}
}
}
} else {
spacepressed = false;
}
if (Key.isDown(27)) {
if (!escapepressed) {
endGame("finish");
}
} else {
escapepressed = false;
}
};
if (_root.SODA) {
displayTime = 50;
} else if (_root.FRY) {
displayTime = 45;
} else {
displayTime = 30;
}
_root.countDown = function () {
if (!_root.STOPCLOCK) {
displayTime--;
clock.text = displayTime;
if (displayTime == 0) {
clearInterval(timer);
_root.endGame("timeover");
}
}
};
timer = setInterval(_root.countDown, 1000);
_root.endGame = function (why) {
_root.dropdone = false;
Listener.onMouseDown = function () {
};
Listener.onMouseUp = function () {
};
_root.announce.swapDepths(10000 + _root.toppingcount);
_root.announce._visible = true;
_root.belt.stop();
_root.cSpeed = 0;
_root.FINISHED = true;
_root.STOPCLOCK = true;
_root.announce.gotoAndStop(why);
};
_root.cleanUp = function () {
clearInterval(timer);
for (f in _root.shitToDelete) {
_root.shitToDelete[f].ref.removeMovieClip();
}
_root.announce.removeMovieClip();
};
Mouse.hide();
var Listener = new Object();
Listener.onMouseDown = function () {
if (_root.dropdone or _root[_root.currentDropper].automatic) {
_root.main.dropper.gotoAndPlay("drop");
if (_root[_root.currentDropper].automatic) {
_root.dropdone = false;
_root.main.dropper.onEnterFrame = function () {
_root.createTopping(_root.currentDropper);
};
} else if (_root[_root.currentDropper].hold) {
_root.main.dropper.onEnterFrame = function () {
_root.doCenter(0, false, true);
};
} else if (_root[_root.currentDropper].soda) {
_root.dropdone = false;
_root.main.dropper.onEnterFrame = function () {
_root.createSoda(_root.currentDropper);
};
} else if (_root[_root.currentDropper].fry) {
_root.dropdone = false;
_root.createFry(_root.currentDropper);
} else {
_root.dropdone = false;
_root.createTopping(_root.currentDropper);
}
}
};
Listener.onMouseUp = function () {
if (_root[_root.currentDropper].automatic) {
_root.main.dropper.onEnterFrame = function () {
this.gotoAndStop(1);
_root.dropdone = true;
};
}
if (_root[_root.currentDropper].soda) {
_root.main.dropper.onEnterFrame = function () {
this.gotoAndStop(1);
_root.dropdone = true;
};
}
if (_root[_root.currentDropper].hold) {
if (_root.dropdone != false) {
_root.main.dropper.onEnterFrame = function () {
};
_root.main.dropper.gotoAndPlay("end");
_root.dropdone = false;
_root.createTopping(_root.currentDropper);
}
}
};
Mouse.addListener(Listener);
_root.main.onEnterFrame = function () {
this._x = _xmouse - (this._width / 2);
};
_root.createTopping = function (which) {
if (!_root[_root.currentDropper].automatic) {
_root.toppingcount++;
newpatty = _root.attachMovie(which, which + _root.toppingcount, 1000 + _root.toppingcount, {_x:_root.main._x + _root[_root.currentDropper].xDiff, _y:(_root.main._y + _root.main._height) + _root[_root.currentDropper].yDiff});
_root.shitToDelete.push({ref:_root[which + _root.toppingcount]});
newpatty.landed = false;
_root.Cost = _root.Cost + _root[_root.currentDropper].cost;
newpatty.xSpeed = 0;
newpatty.ySpeed = 0;
newpatty.valu = _root[which].valu;
newpatty.missed = false;
if (which == "tbun") {
newpatty.holded = true;
newpatty.downmore = true;
} else if (which == "cheese") {
newpatty.downmore = true;
} else {
newpatty.holded = false;
}
newpatty.done = false;
newpatty.gotoAndPlay("fall");
newpatty.landon = _root.topthing;
newpatty.onEnterFrame = function () {
if ((this.landed and (!this.missedleft)) and (!this.missedright)) {
this.xSpeed = _root.cSpeed;
this._x = this._x - this.xSpeed;
}
if (!this.landed) {
this.ySpeed = this.ySpeed - _root[_root.currentDropper].fallspeed;
this._y = this._y - this.ySpeed;
if ((this.hitTest(this.landon) and (!this.missedleft)) and (!this.missedright)) {
this.gotoAndStop("still");
if (!this.holded) {
_root.doCenter(this);
} else {
_root.doCenter(this, false, false, true);
}
if ((!this.missedleft) and (!this.missedright)) {
if (!this.downmore) {
this._y = this.landon._y - (this._height / 1.5);
} else {
this._y = this.landon._y - (this._height / 2);
}
this.ySpeed = 0;
_root.topthing = this;
this.landed = true;
} else if (this.missedleft) {
this.gotoAndPlay("missedleft");
_root.deliciousness = _root.deliciousness - 10;
} else if (this.missedright) {
this.gotoAndPlay("missedright");
_root.deliciousness = _root.deliciousness - 10;
}
} else if ((this.hitTest(_root.belt) and (!this.missedleft)) and (!this.missedright)) {
_root.announce.gotoAndPlay("miss");
if ((_root.currentDropper == "tbun") and (!_root.FRY)) {
_root.endGame("finish");
} else {
_root.dropdone = true;
}
_root.deliciousness = _root.deliciousness - 10;
this.ySpeed = 0;
this._y = (_root.belt._y + (this._height / 3)) - 25;
this.landed = true;
this.gotoAndStop("still");
}
}
};
} else if (_root.main.dropper.hittest.hitTest(_root.topthing)) {
_root.toppingcount++;
_root.doCenter(_root.main.dropper.hittest, true);
_root.doSpread(_root.currentDropper);
}
};
_root.createFry = function (which) {
_root.toppingcount++;
newpatty = _root.attachMovie(which, which + _root.toppingcount, 1000 + _root.toppingcount, {_x:_root.main._x + _root[_root.currentDropper].xDiff, _y:(_root.main._y + _root.main._height) + _root[_root.currentDropper].yDiff});
_root.shitToDelete.push({ref:_root[which + _root.toppingcount]});
newpatty.landed = false;
_root.Cost = _root.Cost + _root[_root.currentDropper].cost;
newpatty.xSpeed = 0;
newpatty.ySpeed = 0;
newpatty.valu = _root[which].valu;
newpatty.missed = false;
newpatty.holded = false;
newpatty.done = false;
newpatty.gotoAndPlay("fall");
newpatty.landon = _root.fries;
newpatty.onEnterFrame = function () {
if ((this.landed and (!this.missedleft)) and (!this.missedright)) {
this.xSpeed = _root.cSpeed;
this._x = this._x - this.xSpeed;
}
if (!this.landed) {
this.ySpeed = this.ySpeed - _root[_root.currentDropper].fallspeed;
this._y = this._y - this.ySpeed;
if ((this.hitTest(this.landon) and (!this.missedleft)) and (!this.missedright)) {
_root.doFryCenter(this);
if ((!this.missedleft) and (!this.missedright)) {
this.removeMovieClip();
} else if (this.missedleft) {
this.gotoAndPlay("missedleft");
_root.deliciousness = _root.deliciousness - 10;
} else if (this.missedright) {
this.gotoAndPlay("missedright");
_root.deliciousness = _root.deliciousness - 10;
}
} else if ((this.hitTest(_root.belt) and (!this.missedleft)) and (!this.missedright)) {
_root.announce.gotoAndPlay("miss");
_root.deliciousness = _root.deliciousness - 10;
this.ySpeed = 0;
this._y = (_root.belt._y + (this._height / 3)) - 25;
this.landed = true;
this.gotoAndStop("still");
}
}
};
};
_root.createSoda = function (which) {
if (_root.main.dropper.hittest.hitTest(_root.sodacup)) {
_root.toppingcount++;
_root.doSodaCenter(_root.main.dropper.hittest);
}
};
_root.changeDropper = function () {
if (_root.dropdone) {
if (Math.round(_root.enuff) == 25) {
if ((_root[_root.currentDropper].automatic or _root[_root.currentDropper].soda) or _root[_root.currentDropper].hold) {
_root.deliciousness = _root.deliciousness + 10;
}
}
if ((_root.currentDropper == "tbun") and _root.SODA) {
_root.main.gotoAndStop("soda");
_root.currentDropper = "soda";
_root.dropperQ.shift();
_root.howMuch.shift();
} else if ((_root.currentDropper == "tbun") and _root.FRY) {
_root.main.gotoAndStop("fry");
_root.currentDropper = "fry";
_root.dropperQ.shift();
_root.dropperQ.shift();
_root.howMuch.shift();
_root.howMuch.shift();
} else if (_root.currentDropper == "soda") {
_root.main.gotoAndStop("fry");
_root.currentDropper = "fry";
_root.dropperQ.shift();
_root.howMuch.shift();
}
if ((_root.currentDropper != "fry") and (_root.currentDropper != "soda")) {
if (root.currentDropper != "tbun") {
_root.main.gotoAndStop(_root.nextDropper);
_root.currentDropper = _root.nextDropper;
_root.dropperQ.shift();
_root.howMuch.shift();
}
}
_root.enuff = 0;
_root.dropdone = true;
_root.nextDropper = _root.dropperQ[1];
}
};
_root.doCenter = function (what, auto, hold, holded) {
if (auto) {
_root.Valu = _root.Valu + _root[_root.currentDropper].valu;
} else if (hold) {
_root.Valu = _root.Valu + _root.tbun.holdvalu;
} else {
_root.Valu = _root.Valu + what.valu;
}
missed = false;
if (auto) {
center = _root.main._x + (_root.main._width / 2);
} else if (hold) {
_root.enuff = _root.enuff + 1;
_root.deliciousness = _root.deliciousness + 0.2;
} else {
center = what._x + (what._width / 2);
}
bcenter = _root.bbun._x + (_root.bbun._width / 2);
diff = Math.abs(center - bcenter);
size = _root.howMany * _root.howMuch[0];
if (!hold) {
if (Math.round(_root.enuff) >= 25) {
if (auto) {
if (Math.round(_root.enuff) > 25) {
_root.deliciousness = _root.deliciousness - (100 / size);
}
} else if (!holded) {
_root.deliciousness = _root.deliciousness - 10;
}
} else if (diff < 2) {
_root.announce.gotoAndPlay("hitit");
if (!auto) {
_root.hitit.start();
}
_root.deliciousness = _root.deliciousness + (100 / size);
} else if ((diff >= 2) and (diff < 5)) {
if (!auto) {
_root.almosthit.start();
}
_root.announce.gotoAndPlay("almost");
_root.deliciousness = _root.deliciousness + (80 / size);
} else if ((diff >= 5) and (diff < 10)) {
if (!auto) {
_root.goodhit.start();
}
_root.announce.gotoAndPlay("good");
_root.deliciousness = _root.deliciousness + (60 / size);
} else if ((diff >= 10) and (diff < 15)) {
_root.announce.gotoAndPlay("weak");
_root.deliciousness = _root.deliciousness + (40 / size);
} else if ((diff >= 15) and (diff < 20)) {
_root.announce.gotoAndPlay("lame");
_root.deliciousness = _root.deliciousness + (20 / size);
}
if (((diff >= 20) and (!holded)) and (!hold)) {
_root.announce.gotoAndPlay("miss");
if ((center - bcenter) < 0) {
what.missedleft = true;
missed = true;
} else {
what.missedright = true;
missed = true;
}
}
} else if (hold) {
what.missedright = true;
missed = true;
if (Math.round(_root.enuff) > 25) {
_root.deliciousness = _root.deliciousness - 2;
}
}
if ((!missed) and (!holded)) {
_root.enuff = _root.enuff + (50 / (_root.howMuch[0] * 2));
}
if ((_root.currentDropper == "tbun") and holded) {
if (Math.round(_root.enuff) == 25) {
_root.deliciousness = _root.deliciousness + 10;
}
if (!_root.FRY) {
_root.endGame("finish");
} else {
_root.dropdone = true;
}
}
if (((!auto) and (!hold)) and (!_root.FINISH)) {
_root.dropdone = true;
}
};
_root.doFryCenter = function (what) {
_root.Valu = _root.Valu + _root.fry.valu;
missed = false;
center = what._x + (what._width / 2);
bcenter = _root.fries._x + (_root.fries._width / 2);
diff = Math.abs(center - bcenter);
size = _root.howMany * _root.howMuch[0];
if (diff < 10) {
_root.announce.gotoAndPlay("hitit");
if (!auto) {
_root.hitit.start();
}
_root.deliciousness = _root.deliciousness + (100 / size);
} else if ((diff >= 10) and (diff < 20)) {
if (!auto) {
_root.almosthit.start();
}
_root.announce.gotoAndPlay("almost");
_root.deliciousness = _root.deliciousness + (80 / size);
} else if ((diff >= 20) and (diff < 30)) {
if (!auto) {
_root.goodhit.start();
}
_root.announce.gotoAndPlay("good");
_root.deliciousness = _root.deliciousness + (60 / size);
} else if ((diff >= 30) and (diff < 40)) {
_root.announce.gotoAndPlay("weak");
_root.deliciousness = _root.deliciousness + (40 / size);
} else if ((diff >= 40) and (diff < 50)) {
_root.announce.gotoAndPlay("lame");
_root.deliciousness = _root.deliciousness + (20 / size);
}
if (((diff >= 50) and (!holded)) and (!hold)) {
_root.announce.gotoAndPlay("miss");
if ((center - bcenter) < 0) {
what.missedleft = true;
missed = true;
} else {
what.missedright = true;
missed = true;
}
}
if (!missed) {
_root.enuff = _root.enuff + (50 / (_root.howMuch[0] * 2));
_root.dropdone = true;
if (_root.fries._currentframe < 17) {
_root.fries.gotoAndStop(_root.fries._currentframe + 1);
}
}
if (Math.round(_root.enuff) >= 25) {
_root.endGame("finish");
}
};
_root.doSodaCenter = function (what) {
_root.Valu = _root.Valu + _root.soda.valu;
missed = false;
center = _root.main._x + (_root.main._width / 2);
bcenter = _root.sodacup._x + (_root.sodacup._width / 2);
diff = Math.abs(center - bcenter);
size = _root.howMany * _root.howMuch[0];
if (Math.round(_root.enuff) > 25) {
_root.deliciousness = _root.deliciousness - (100 / size);
} else if (diff < 5) {
_root.announce.gotoAndPlay("hitit");
_root.deliciousness = _root.deliciousness + (100 / size);
} else if ((diff >= 5) and (diff < 15)) {
_root.announce.gotoAndPlay("almost");
_root.deliciousness = _root.deliciousness + (80 / size);
} else if ((diff >= 15) and (diff < 25)) {
_root.announce.gotoAndPlay("good");
_root.deliciousness = _root.deliciousness + (60 / size);
} else if ((diff >= 25) and (diff < 35)) {
_root.announce.gotoAndPlay("weak");
_root.deliciousness = _root.deliciousness + (40 / size);
} else if ((diff >= 35) and (diff < 40)) {
_root.announce.gotoAndPlay("lame");
_root.deliciousness = _root.deliciousness + (20 / size);
}
if (((diff >= 40) and (!holded)) and (!hold)) {
_root.announce.gotoAndPlay("miss");
if ((center - bcenter) < 0) {
what.missedleft = true;
missed = true;
} else {
what.missedright = true;
missed = true;
}
} else if (hold) {
what.missedright = true;
missed = true;
}
if ((!missed) and (!holded)) {
_root.enuff = _root.enuff + (50 / (_root.howMuch[0] * 2));
}
if ((_root.currentDropper == "tbun") and holded) {
_root.endGame("finish");
}
};
_root.doSpread = function (what) {
if (_root[what].done == false) {
_root[what].done = true;
goof = _root.attachMovie(what, (what + _root.toppingcount) + 1000, 1003 + _root.toppingcount, {_x:_root.main._x, _y:_root.topthing._y});
_root.shitToDelete.push({ref:_root[(what + _root.toppingcount) + 1000]});
goof.onEnterFrame = function () {
this._x = this._x - _root.cSpeed;
};
}
goof.gotoAndStop(goof._currentframe + 1);
};
_root.bbun.onEnterFrame = function () {
this._x = this._x - _root.cSpeed;
};
if (_root.SODA) {
_root.sodacup.onEnterFrame = function () {
this._x = this._x - _root.cSpeed;
};
}
if (_root.FRY) {
_root.fries.onEnterFrame = function () {
this._x = this._x - _root.cSpeed;
};
}
Instance of Symbol 533 MovieClip in Frame 62
onClipEvent (load) {
tot_frames = this._totalframes - 1;
gotoAndStop (1);
}
onClipEvent (enterFrame) {
bar_d = Math.round((_root.enuff / (50 / tot_frames)) + 1);
if (bar_d > 51) {
bar_d = 51;
}
if (bar_d != this._currentframe) {
this.gotoAndStop(bar_d);
}
}
Instance of Symbol 535 MovieClip in Frame 62
onClipEvent (load) {
tot_frames = this._totalframes - 1;
gotoAndStop (1);
}
onClipEvent (enterFrame) {
bar_d = Math.round((_root.deliciousness / (100 / tot_frames)) + 1);
if (bar_d > 101) {
bar_d = 101;
}
if (bar_d < 1) {
bar_d = 1;
}
if (bar_d != this._currentframe) {
this.gotoAndStop(bar_d);
}
}
Frame 66
_root.onEnterFrame = function () {
if (Key.isDown(32)) {
_root.gotoAndStop("campaign");
}
};
Instance of Symbol 72 MovieClip [plainpatty] in Frame 66
onClipEvent (load) {
stop();
}
Instance of Symbol 449 MovieClip "perfect" in Frame 66
onClipEvent (enterFrame) {
if (_parent._currentframe == 26) {
this.play();
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 480 MovieClip in Frame 66
onClipEvent (load) {
tot_frames = this._totalframes - 1;
gotoAndStop (1);
}
onClipEvent (enterFrame) {
bar_d = Math.round((_root.deliciousness / (100 / tot_frames)) + 1);
if (bar_d > 101) {
bar_d = 101;
}
if (bar_d < 1) {
bar_d = 1;
}
if (bar_d != this._currentframe) {
this.gotoAndStop(bar_d);
}
}
Instance of Symbol 57 MovieClip [announce] "announce" in Frame 66
onClipEvent (enterFrame) {
this.swapDepths(10000);
}
Symbol 14 MovieClip Frame 64
gotoAndPlay ("repeat");
Symbol 15 MovieClip [bacon] Frame 12
stop();
Symbol 20 MovieClip Frame 64
gotoAndPlay ("repeat");
Symbol 21 MovieClip [lettuce] Frame 12
stop();
Symbol 26 MovieClip Frame 64
gotoAndPlay ("repeat");
Symbol 27 MovieClip [cheese] Frame 12
stop();
Symbol 31 MovieClip [pickels] Frame 12
stop();
Symbol 34 MovieClip [fry] Frame 1
stop();
Symbol 57 MovieClip [announce] Frame 1
stop();
Symbol 57 MovieClip [announce] Frame 7
stop();
Symbol 57 MovieClip [announce] Frame 9
profit.text = _root.Profit;
if (_root.gamemode == "challenge") {
if (_root.Profit < _root.user_so.data[_root.gametype]) {
highscore._visible = false;
} else {
_root.user_so.data[_root.gametype] = _root.Profit;
highscore._visible = true;
}
}
if (_root.gamemode == "campaign") {
highscore._visible = false;
_root.user_sb.data.campaignmoney = _root.user_sb.data.campaignmoney + _root.Profit;
}
play();
Instance of Symbol 41 MovieClip "highscore" in Symbol 57 MovieClip [announce] Frame 9
onClipEvent (load) {
this._visible = false;
}
Symbol 57 MovieClip [announce] Frame 11
profit.text = _root.Profit;
if (_root.gamemode == "challenge") {
if (_root.Profit < _root.user_so.data[_root.gametype]) {
highscore._visible = false;
} else {
_root.user_so.data[_root.gametype] = _root.Profit;
highscore._visible = true;
}
}
if (_root.gamemode == "campaign") {
highscore._visible = false;
_root.user_so.data.campaignmoney = _root.user_so.data.campaignmoney + _root.Profit;
}
play();
Symbol 57 MovieClip [announce] Frame 247
stop();
Symbol 57 MovieClip [announce] Frame 275
gotoAndStop (1);
Symbol 57 MovieClip [announce] Frame 303
gotoAndStop (1);
Symbol 57 MovieClip [announce] Frame 331
gotoAndStop (1);
Symbol 57 MovieClip [announce] Frame 359
gotoAndStop (1);
Symbol 57 MovieClip [announce] Frame 387
gotoAndStop (1);
Symbol 57 MovieClip [announce] Frame 415
gotoAndStop (1);
Symbol 60 MovieClip [tomato] Frame 32
this._visible = false;
stop();
Symbol 60 MovieClip [tomato] Frame 54
this._visible = false;
stop();
Symbol 64 MovieClip [chickenpatty] Frame 22
gotoAndPlay ("fall");
Symbol 64 MovieClip [chickenpatty] Frame 44
this._visible = false;
stop();
Symbol 64 MovieClip [chickenpatty] Frame 66
this._visible = false;
stop();
Symbol 66 MovieClip [bigpatty] Frame 22
gotoAndPlay ("fall");
Symbol 66 MovieClip [bigpatty] Frame 44
this._visible = false;
stop();
Symbol 66 MovieClip [bigpatty] Frame 66
this._visible = false;
stop();
Symbol 69 MovieClip [veggiepatty] Frame 22
gotoAndPlay ("fall");
Symbol 69 MovieClip [veggiepatty] Frame 44
this._visible = false;
stop();
Symbol 69 MovieClip [veggiepatty] Frame 66
this._visible = false;
stop();
Symbol 72 MovieClip [plainpatty] Frame 22
gotoAndPlay ("fall");
Symbol 72 MovieClip [plainpatty] Frame 44
this._visible = false;
stop();
Symbol 72 MovieClip [plainpatty] Frame 66
this._visible = false;
stop();
Symbol 78 MovieClip Frame 1
_root.stop();
PercentLoaded = (_root.getBytesLoaded() / _root.getBytesTotal()) * 100;
if (PercentLoaded != 100) {
setProperty(bar, _xscale , PercentLoaded);
} else {
_root.play();
}
Symbol 78 MovieClip Frame 2
gotoAndPlay (1);
Symbol 83 Button
on (release) {
getURL ("http://www.maxgames.com", "_blank");
}
Symbol 86 MovieClip Frame 60
stop();
Symbol 100 MovieClip Frame 14
stop();
Symbol 103 MovieClip Frame 240
_root.play();
Symbol 129 Button
on (press) {
_root.gotoAndStop("campaign");
_root.gamemode = "campaign";
}
Symbol 132 Button
on (press) {
if (_root.user_so.data.challengeunlocked) {
_root.gotoAndStop("challenge");
_root.gamemode = "challenge";
}
}
Symbol 136 Button
on (press) {
getURL ("http://www.maxgames.com/", _blank);
}
Instance of Symbol 133 MovieClip in Symbol 137 MovieClip Frame 44
onClipEvent (load) {
if (_root.user_so.data.challengeunlocked) {
this._visible = true;
} else {
this._visible = false;
}
}
Symbol 137 MovieClip Frame 53
stop();
Symbol 138 MovieClip Frame 1
gotoAndPlay ("start");
Symbol 138 MovieClip Frame 991
gotoAndPlay ("start");
Symbol 153 Button
on (press) {
gotoAndStop ("mainmenu");
}
Symbol 154 Button
on (press) {
_root.dropperQ = ["bacon", "bigpatty", "cheese", "lettuce", "bbq", "tomato", "tbun"];
_root.howMuch = [1, 1, 1, 1, 50, 1, 1];
_root.valubonus = 3.5;
_root.burgerbutton();
_root.SODA = false;
_root.FRY = false;
_root.gamemode = "challenge";
_root.gametype = "score2";
_root.gotoAndStop("level3play");
}
Symbol 155 Button
on (press) {
_root.dropperQ = ["chickenpatty", "cheese", "special", "lettuce", "pickels", "tomato", "tbun"];
_root.howMuch = [1, 1, 50, 1, 1, 1, 1];
_root.valubonus = 3.5;
_root.burgerbutton();
_root.SODA = false;
_root.FRY = false;
_root.gamemode = "challenge";
_root.gametype = "score3";
_root.gotoAndStop("level3play");
}
Symbol 157 Button
on (press) {
_root.dropperQ = ["lettuce", "veggiepatty", "pickels", "lettuce", "tomato", "veggiepatty", "lettuce", "tomato", "tbun"];
_root.howMuch = [1, 1, 1, 1, 1, 1, 1, 1, 1];
_root.valubonus = 4;
_root.burgerbutton();
_root.SODA = false;
_root.FRY = false;
_root.gamemode = "challenge";
_root.gametype = "score4";
_root.gotoAndStop("level3play");
}
Symbol 158 Button
on (press) {
_root.dropperQ = ["bacon", "bigpatty", "cheese", "chickenpatty", "pickels", "plainpatty", "ketchup", "lettuce", "tomato", "tbun"];
_root.howMuch = [1, 1, 1, 1, 1, 1, 50, 1, 1, 1];
_root.valubonus = 5;
_root.burgerbutton();
_root.SODA = false;
_root.FRY = false;
_root.gamemode = "challenge";
_root.gametype = "score5";
_root.gotoAndStop("level3play");
}
Symbol 160 Button
on (press) {
_root.dropperQ = ["plainpatty", "cheese", "ketchup", "pickels", "tomato", "tbun"];
_root.howMuch = [4, 1, 50, 1, 1, 1];
_root.valubonus = 2.5;
_root.burgerbutton();
_root.SODA = false;
_root.FRY = false;
_root.gamemode = "challenge";
_root.gametype = "score6";
_root.gotoAndStop("level3play");
}
Symbol 161 Button
on (press) {
_root.dropperQ = ["lettuce", "bigpatty", "bacon", "bigpatty", "cheese", "ketchup", "tbun"];
_root.howMuch = [1, 1, 1, 1, 1, 50, 1];
_root.valubonus = 2.5;
_root.burgerbutton();
_root.SODA = false;
_root.FRY = false;
_root.gamemode = "challenge";
_root.gametype = "score7";
_root.gotoAndStop("level3play");
}
Symbol 162 Button
on (press) {
_root.dropperQ = ["bacon", "chickenpatty", "special", "tomato", "chickenpatty", "cheese", "bacon", "pickels", "tbun"];
_root.howMuch = [1, 1, 50, 1, 1, 1, 1, 1, 1];
_root.valubonus = 2.5;
_root.burgerbutton();
_root.SODA = false;
_root.FRY = false;
_root.gamemode = "challenge";
_root.gametype = "score8";
_root.gotoAndStop("level3play");
}
Symbol 163 Button
on (press) {
_root.dropperQ = ["plainpatty", "cheese", "bacon", "veggiepatty", "lettuce", "plainpatty", "cheese", "bbq", "tbun"];
_root.howMuch = [1, 1, 1, 1, 1, 1, 1, 50, 1];
_root.valubonus = 2.5;
_root.burgerbutton();
_root.SODA = false;
_root.FRY = false;
_root.gamemode = "challenge";
_root.gametype = "score9";
_root.gotoAndStop("level3play");
}
Symbol 164 Button
on (press) {
_root.dropperQ = ["bacon", "cheese", "bacon", "cheese", "bigpatty", "ketchup", "bacon", "cheese", "tomato", "tbun"];
_root.howMuch = [1, 1, 1, 1, 1, 50, 1, 1, 1, 1];
_root.valubonus = 2.5;
_root.burgerbutton();
_root.SODA = false;
_root.FRY = false;
_root.gamemode = "challenge";
_root.gametype = "score10";
_root.gotoAndStop("level3play");
}
Symbol 170 Button
on (press) {
_root.dropperQ = ["plainpatty", "cheese", "ketchup", "bacon", "plainpatty", "cheese", "ketchup", "lettuce", "tomato", "tbun"];
_root.howMuch = [1, 1, 50, 1, 1, 1, 50, 1, 1, 1];
_root.valubonus = 2.5;
_root.burgerbutton();
_root.SODA = false;
_root.FRY = false;
_root.gamemode = "challenge";
_root.gametype = "score1";
_root.gotoAndStop("level3play");
}
Symbol 175 Button
on (press) {
function __rankz_send__(par1, par2, par3, par4) {
par227 = new LoadVars();
par228 = new LoadVars();
par227.flashkey = par2;
par227.SU0249 = par1;
par227.bmFtZTE = par3;
par227.c2NvcmUx = par4 + "Z";
par227.c2NvcmUx = par227.c2NvcmUx.split("0").join("U");
par227.c2NvcmUx = par227.c2NvcmUx.split("").join("A");
par227.c2NvcmUx = par227.c2NvcmUx.split("AU").join("Y");
par227.c2NvcmUx = par227.c2NvcmUx.split("A1").join("B");
par227.c2NvcmUx = par227.c2NvcmUx.split(".").join("N");
par227.flashkey = par227.flashkey.split("=").join("");
par227.SU0249 = par227.SU0249.split("=").join("");
par228.onLoad = function (success) {
if (success) {
}
};
par227.sendAndLoad("http://rankz.armorbot.com/submit/as3_v0.php", par228, "POST");
}
bXlnYW1lX25hbWVfdmFyaWFibGU = _root.username.text;
bXlnYW1lX3Njb3JlX3ZhcmlhYmxl = _root.user_so.data.score1;
_root.user_so.data.username = _root.username.text;
__rankz_send__("MTg3MmolZSVhJW4lcw==", "bHFzd1R1Sm0=", bXlnYW1lX25hbWVfdmFyaWFibGU, bXlnYW1lX3Njb3JlX3ZhcmlhYmxl);
score1button._visible = false;
getURL ("http://rankz.armorbot.com/BBDCscores/", _blank);
}
Symbol 176 Button
on (press) {
function __rankz_send__(par1, par2, par3, par4) {
par227 = new LoadVars();
par228 = new LoadVars();
par227.flashkey = par2;
par227.SU0249 = par1;
par227.bmFtZTE = par3;
par227.c2NvcmUx = par4 + "Z";
par227.c2NvcmUx = par227.c2NvcmUx.split("0").join("U");
par227.c2NvcmUx = par227.c2NvcmUx.split("").join("A");
par227.c2NvcmUx = par227.c2NvcmUx.split("AU").join("Y");
par227.c2NvcmUx = par227.c2NvcmUx.split("A1").join("B");
par227.c2NvcmUx = par227.c2NvcmUx.split(".").join("N");
par227.flashkey = par227.flashkey.split("=").join("");
par227.SU0249 = par227.SU0249.split("=").join("");
par228.onLoad = function (success) {
if (success) {
}
};
par227.sendAndLoad("http://rankz.armorbot.com/submit/as3_v0.php", par228, "POST");
}
bXlnYW1lX25hbWVfdmFyaWFibGU = _root.username.text;
bXlnYW1lX3Njb3JlX3ZhcmlhYmxl = _root.user_so.data.score2;
_root.user_so.data.username = _root.username.text;
__rankz_send__("MTg3M2olZSVhJW4lcw==", "cHNFYmFieWY=", bXlnYW1lX25hbWVfdmFyaWFibGU, bXlnYW1lX3Njb3JlX3ZhcmlhYmxl);
score2button._visible = false;
getURL ("http://rankz.armorbot.com/BBWscores/", _blank);
}
Symbol 177 Button
on (press) {
function __rankz_send__(par1, par2, par3, par4) {
par227 = new LoadVars();
par228 = new LoadVars();
par227.flashkey = par2;
par227.SU0249 = par1;
par227.bmFtZTE = par3;
par227.c2NvcmUx = par4 + "Z";
par227.c2NvcmUx = par227.c2NvcmUx.split("0").join("U");
par227.c2NvcmUx = par227.c2NvcmUx.split("").join("A");
par227.c2NvcmUx = par227.c2NvcmUx.split("AU").join("Y");
par227.c2NvcmUx = par227.c2NvcmUx.split("A1").join("B");
par227.c2NvcmUx = par227.c2NvcmUx.split(".").join("N");
par227.flashkey = par227.flashkey.split("=").join("");
par227.SU0249 = par227.SU0249.split("=").join("");
par228.onLoad = function (success) {
if (success) {
}
};
par227.sendAndLoad("http://rankz.armorbot.com/submit/as3_v0.php", par228, "POST");
}
bXlnYW1lX25hbWVfdmFyaWFibGU = _root.username.text;
bXlnYW1lX3Njb3JlX3ZhcmlhYmxl = _root.user_so.data.score3;
_root.user_so.data.username = _root.username.text;
__rankz_send__("MTg3NGolZSVhJW4lcw==", "d2Z2cWtGWm4=", bXlnYW1lX25hbWVfdmFyaWFibGU, bXlnYW1lX3Njb3JlX3ZhcmlhYmxl);
score3button._visible = false;
getURL ("http://rankz.armorbot.com/BBSCscores/", _blank);
}
Symbol 178 Button
on (press) {
function __rankz_send__(par1, par2, par3, par4) {
par227 = new LoadVars();
par228 = new LoadVars();
par227.flashkey = par2;
par227.SU0249 = par1;
par227.bmFtZTE = par3;
par227.c2NvcmUx = par4 + "Z";
par227.c2NvcmUx = par227.c2NvcmUx.split("0").join("U");
par227.c2NvcmUx = par227.c2NvcmUx.split("").join("A");
par227.c2NvcmUx = par227.c2NvcmUx.split("AU").join("Y");
par227.c2NvcmUx = par227.c2NvcmUx.split("A1").join("B");
par227.c2NvcmUx = par227.c2NvcmUx.split(".").join("N");
par227.flashkey = par227.flashkey.split("=").join("");
par227.SU0249 = par227.SU0249.split("=").join("");
par228.onLoad = function (success) {
if (success) {
}
};
par227.sendAndLoad("http://rankz.armorbot.com/submit/as3_v0.php", par228, "POST");
}
bXlnYW1lX25hbWVfdmFyaWFibGU = _root.username.text;
bXlnYW1lX3Njb3JlX3ZhcmlhYmxl = _root.user_so.data.score4;
_root.user_so.data.username = _root.username.text;
__rankz_send__("MTg3NWolZSVhJW4lcw==", "eFJRVnViZ2c=", bXlnYW1lX25hbWVfdmFyaWFibGU, bXlnYW1lX3Njb3JlX3ZhcmlhYmxl);
score4button._visible = false;
getURL ("http://rankz.armorbot.com/BBHHscores/", _blank);
}
Symbol 179 Button
on (press) {
function __rankz_send__(par1, par2, par3, par4) {
par227 = new LoadVars();
par228 = new LoadVars();
par227.flashkey = par2;
par227.SU0249 = par1;
par227.bmFtZTE = par3;
par227.c2NvcmUx = par4 + "Z";
par227.c2NvcmUx = par227.c2NvcmUx.split("0").join("U");
par227.c2NvcmUx = par227.c2NvcmUx.split("").join("A");
par227.c2NvcmUx = par227.c2NvcmUx.split("AU").join("Y");
par227.c2NvcmUx = par227.c2NvcmUx.split("A1").join("B");
par227.c2NvcmUx = par227.c2NvcmUx.split(".").join("N");
par227.flashkey = par227.flashkey.split("=").join("");
par227.SU0249 = par227.SU0249.split("=").join("");
par228.onLoad = function (success) {
if (success) {
}
};
par227.sendAndLoad("http://rankz.armorbot.com/submit/as3_v0.php", par228, "POST");
}
bXlnYW1lX25hbWVfdmFyaWFibGU = _root.username.text;
bXlnYW1lX3Njb3JlX3ZhcmlhYmxl = _root.user_so.data.score5;
_root.user_so.data.username = _root.username.text;
__rankz_send__("MTg3NmolZSVhJW4lcw==", "amdFdm54WlU=", bXlnYW1lX25hbWVfdmFyaWFibGU, bXlnYW1lX3Njb3JlX3ZhcmlhYmxl);
score5button._visible = false;
getURL ("http://rankz.armorbot.com/BBBscores/", _blank);
}
Symbol 180 Button
on (press) {
function __rankz_send__(par1, par2, par3, par4) {
par227 = new LoadVars();
par228 = new LoadVars();
par227.flashkey = par2;
par227.SU0249 = par1;
par227.bmFtZTE = par3;
par227.c2NvcmUx = par4 + "Z";
par227.c2NvcmUx = par227.c2NvcmUx.split("0").join("U");
par227.c2NvcmUx = par227.c2NvcmUx.split("").join("A");
par227.c2NvcmUx = par227.c2NvcmUx.split("AU").join("Y");
par227.c2NvcmUx = par227.c2NvcmUx.split("A1").join("B");
par227.c2NvcmUx = par227.c2NvcmUx.split(".").join("N");
par227.flashkey = par227.flashkey.split("=").join("");
par227.SU0249 = par227.SU0249.split("=").join("");
par228.onLoad = function (success) {
if (success) {
}
};
par227.sendAndLoad("http://rankz.armorbot.com/submit/as3_v0.php", par228, "POST");
}
bXlnYW1lX25hbWVfdmFyaWFibGU = _root.username.text;
bXlnYW1lX3Njb3JlX3ZhcmlhYmxl = _root.user_so.data.score6;
_root.user_so.data.username = _root.username.text;
__rankz_send__("MTg3N2olZSVhJW4lcw==", "WUh3eHpWcmc=", bXlnYW1lX25hbWVfdmFyaWFibGU, bXlnYW1lX3Njb3JlX3ZhcmlhYmxl);
score6button._visible = false;
getURL ("http://rankz.armorbot.com/BBQscores/", _blank);
}
Symbol 181 Button
on (press) {
function __rankz_send__(par1, par2, par3, par4) {
par227 = new LoadVars();
par228 = new LoadVars();
par227.flashkey = par2;
par227.SU0249 = par1;
par227.bmFtZTE = par3;
par227.c2NvcmUx = par4 + "Z";
par227.c2NvcmUx = par227.c2NvcmUx.split("0").join("U");
par227.c2NvcmUx = par227.c2NvcmUx.split("").join("A");
par227.c2NvcmUx = par227.c2NvcmUx.split("AU").join("Y");
par227.c2NvcmUx = par227.c2NvcmUx.split("A1").join("B");
par227.c2NvcmUx = par227.c2NvcmUx.split(".").join("N");
par227.flashkey = par227.flashkey.split("=").join("");
par227.SU0249 = par227.SU0249.split("=").join("");
par228.onLoad = function (success) {
if (success) {
}
};
par227.sendAndLoad("http://rankz.armorbot.com/submit/as3_v0.php", par228, "POST");
}
bXlnYW1lX25hbWVfdmFyaWFibGU = _root.username.text;
bXlnYW1lX3Njb3JlX3ZhcmlhYmxl = _root.user_so.data.score7;
_root.user_so.data.username = _root.username.text;
__rankz_send__("MTg3OGolZSVhJW4lcw==", "U0R2TnpoT0I=", bXlnYW1lX25hbWVfdmFyaWFibGU, bXlnYW1lX3Njb3JlX3ZhcmlhYmxl);
score7button._visible = false;
getURL ("http://rankz.armorbot.com/BBDBscores/", _blank);
}
Symbol 182 Button
on (press) {
function __rankz_send__(par1, par2, par3, par4) {
par227 = new LoadVars();
par228 = new LoadVars();
par227.flashkey = par2;
par227.SU0249 = par1;
par227.bmFtZTE = par3;
par227.c2NvcmUx = par4 + "Z";
par227.c2NvcmUx = par227.c2NvcmUx.split("0").join("U");
par227.c2NvcmUx = par227.c2NvcmUx.split("").join("A");
par227.c2NvcmUx = par227.c2NvcmUx.split("AU").join("Y");
par227.c2NvcmUx = par227.c2NvcmUx.split("A1").join("B");
par227.c2NvcmUx = par227.c2NvcmUx.split(".").join("N");
par227.flashkey = par227.flashkey.split("=").join("");
par227.SU0249 = par227.SU0249.split("=").join("");
par228.onLoad = function (success) {
if (success) {
}
};
par227.sendAndLoad("http://rankz.armorbot.com/submit/as3_v0.php", par228, "POST");
}
bXlnYW1lX25hbWVfdmFyaWFibGU = _root.username.text;
bXlnYW1lX3Njb3JlX3ZhcmlhYmxl = _root.user_so.data.score8;
_root.user_so.data.username = _root.username.text;
__rankz_send__("MTg3OWolZSVhJW4lcw==", "RVZUUFRWRnE=", bXlnYW1lX25hbWVfdmFyaWFibGU, bXlnYW1lX3Njb3JlX3ZhcmlhYmxl);
score8button._visible = false;
getURL ("http://rankz.armorbot.com/BBDBBscores/", _blank);
}
Symbol 183 Button
on (press) {
function __rankz_send__(par1, par2, par3, par4) {
par227 = new LoadVars();
par228 = new LoadVars();
par227.flashkey = par2;
par227.SU0249 = par1;
par227.bmFtZTE = par3;
par227.c2NvcmUx = par4 + "Z";
par227.c2NvcmUx = par227.c2NvcmUx.split("0").join("U");
par227.c2NvcmUx = par227.c2NvcmUx.split("").join("A");
par227.c2NvcmUx = par227.c2NvcmUx.split("AU").join("Y");
par227.c2NvcmUx = par227.c2NvcmUx.split("A1").join("B");
par227.c2NvcmUx = par227.c2NvcmUx.split(".").join("N");
par227.flashkey = par227.flashkey.split("=").join("");
par227.SU0249 = par227.SU0249.split("=").join("");
par228.onLoad = function (success) {
if (success) {
}
};
par227.sendAndLoad("http://rankz.armorbot.com/submit/as3_v0.php", par228, "POST");
}
bXlnYW1lX25hbWVfdmFyaWFibGU = _root.username.text;
bXlnYW1lX3Njb3JlX3ZhcmlhYmxl = _root.user_so.data.score9;
_root.user_so.data.username = _root.username.text;
__rankz_send__("MTg4MGolZSVhJW4lcw==", "V1JaUHFQU3A=", bXlnYW1lX25hbWVfdmFyaWFibGU, bXlnYW1lX3Njb3JlX3ZhcmlhYmxl);
score9button._visible = false;
getURL ("http://rankz.armorbot.com/BBMscores/", _blank);
}
Symbol 184 Button
on (press) {
function __rankz_send__(par1, par2, par3, par4) {
par227 = new LoadVars();
par228 = new LoadVars();
par227.flashkey = par2;
par227.SU0249 = par1;
par227.bmFtZTE = par3;
par227.c2NvcmUx = par4 + "Z";
par227.c2NvcmUx = par227.c2NvcmUx.split("0").join("U");
par227.c2NvcmUx = par227.c2NvcmUx.split("").join("A");
par227.c2NvcmUx = par227.c2NvcmUx.split("AU").join("Y");
par227.c2NvcmUx = par227.c2NvcmUx.split("A1").join("B");
par227.c2NvcmUx = par227.c2NvcmUx.split(".").join("N");
par227.flashkey = par227.flashkey.split("=").join("");
par227.SU0249 = par227.SU0249.split("=").join("");
par228.onLoad = function (success) {
if (success) {
}
};
par227.sendAndLoad("http://rankz.armorbot.com/submit/as3_v0.php", par228, "POST");
}
bXlnYW1lX25hbWVfdmFyaWFibGU = _root.username.text;
bXlnYW1lX3Njb3JlX3ZhcmlhYmxl = _root.user_so.data.score10;
_root.user_so.data.username = _root.username.text;
__rankz_send__("MTg4MWolZSVhJW4lcw==", "dndjRWRTZlY=", bXlnYW1lX25hbWVfdmFyaWFibGU, bXlnYW1lX3Njb3JlX3ZhcmlhYmxl);
score10button._visible = false;
getURL ("http://rankz.armorbot.com/BBGscores/", _blank);
}
Symbol 196 Button
on (press) {
gotoAndStop ("howtoplay");
}
Symbol 201 Button
on (press) {
_root.gotoAndStop("level1menu");
}
Symbol 205 Button
on (press) {
_root.gotoAndStop("level2menu");
}
Symbol 211 Button
on (press) {
_root.gotoAndStop("level3menu");
}
Symbol 214 Button
on (press) {
gotoAndStop ("areyousure");
}
Symbol 216 Button
on (press) {
_root.user_so.data.campaignlevel = 1;
_root.user_so.data.campaignmoney = 1000;
_root.user_so.data.burgerunlocked = false;
_root.user_so.data.cheeseburgerunlocked = false;
_root.user_so.data.bacondoublecheeseburgerunlocked = false;
_root.user_so.data.friesunlocked = false;
_root.user_so.data.sodaunlocked = false;
_root.user_so.data.specialchickenunlocked = false;
_root.user_so.data.westernbbqburgerunlocked = false;
_root.user_so.data.veggieburgerunlocked = false;
_root.user_so.data.beastunlocked = false;
}
Symbol 217 MovieClip Frame 1
stop();
Symbol 224 MovieClip Frame 1
if ((_parent._parent.price >= _root.user_so.data.campaignmoney) and _parent._parent.locked) {
this._visible = true;
} else {
this._visible = false;
}
Symbol 226 MovieClip Frame 1
if ((_parent._parent.price >= _root.user_so.data.campaignmoney) and _parent._parent.locked) {
this._visible = true;
} else {
this._visible = false;
}
Symbol 227 Button
on (press) {
if (_root.user_so.data.campaignmoney >= this.price) {
_root.user_so.data.campaignmoney = _root.user_so.data.campaignmoney - this.price;
_root.user_so.data.cheeseburgerunlocked = true;
this.gotoAndPlay("unlock");
this.locked = false;
}
}
Symbol 229 Button
on (press) {
_root.dropperQ = ["plainpatty", "cheese", "ketchup", "lettuce", "tomato", "tbun", "soda", "fries"];
_root.howMuch = [1, 1, 50, 1, 1, 1, 75, 10];
_root.howMany = _root.dropperQ.length;
_root.valubonus = 1.5;
_root.burgerbutton();
}
Symbol 230 MovieClip Frame 1
stop();
Symbol 230 MovieClip Frame 6
_root.hitit.start();
it.stop();
Symbol 230 MovieClip Frame 33
stop();
Symbol 231 Button
on (press) {
_root.dropperQ = ["plainpatty", "ketchup", "tomato", "tbun", "soda", "fries"];
_root.howMuch = [1, 50, 1, 1, 75, 10];
_root.howMany = _root.dropperQ.length;
_root.valubonus = 1;
_root.burgerbutton();
}
Symbol 242 Button
on (press) {
gotoAndStop ("campaign");
}
Symbol 247 Button
on (press) {
if (_root.user_so.data.campaignmoney >= this.price) {
_root.user_so.data.campaignmoney = _root.user_so.data.campaignmoney - this.price;
_root.user_so.data.campaignlevel = 2;
_root.gotoAndStop("campaign");
}
}
Symbol 253 MovieClip Frame 1
if ((_parent._parent.price >= _root.user_so.data.campaignmoney) and _parent._parent.locked) {
this._visible = true;
} else {
this._visible = false;
}
Symbol 254 Button
on (press) {
if (_root.user_so.data.campaignmoney >= this.price) {
_root.user_so.data.campaignmoney = _root.user_so.data.campaignmoney - this.price;
_root.user_so.data.bacondoublecheeseburgerunlocked = true;
gotoAndPlay ("unlock");
this.locked = false;
}
}
Symbol 256 Button
on (press) {
_root.dropperQ = ["plainpatty", "cheese", "ketchup", "bacon", "plainpatty", "cheese", "ketchup", "lettuce", "tomato", "tbun", "soda", "fries"];
_root.howMuch = [1, 1, 50, 1, 1, 1, 50, 1, 1, 1, 75, 10];
_root.valubonus = 2.5;
_root.burgerbutton();
}
Symbol 257 MovieClip Frame 1
stop();
Symbol 257 MovieClip Frame 6
_root.hitit.start();
it.stop();
Symbol 257 MovieClip Frame 33
stop();
Symbol 271 MovieClip Frame 1
if ((_parent._parent.price >= _root.user_so.data.campaignmoney) and _parent._parent.locked) {
this._visible = true;
} else {
this._visible = false;
}
Symbol 272 Button
on (press) {
if (_root.user_so.data.campaignmoney >= this.price) {
_root.user_so.data.campaignmoney = _root.user_so.data.campaignmoney - this.price;
_root.user_so.data.friesunlocked = true;
_root.friesactivated = true;
gotoAndPlay ("unlock");
this.locked = false;
}
}
Instance of Symbol 270 MovieClip in Symbol 273 MovieClip Frame 1
onClipEvent (load) {
if (_root.user_sb.data.campaignmoney >= _parent.price) {
this._visbile = false;
} else {
this._visible = true;
}
}
onClipEvent (enterFrame) {
if (_root.user_sb.data.campaignmoney >= _parent.price) {
this._visbile = false;
} else {
this._visible = true;
}
}
Instance of Symbol 271 MovieClip in Symbol 273 MovieClip Frame 2
onClipEvent (load) {
if (_root.user_sb.data.campaignmoney >= _parent.price) {
this._visbile = false;
} else {
this._visible = true;
}
}
onClipEvent (enterFrame) {
if (_root.user_sb.data.campaignmoney >= _parent.price) {
this._visbile = false;
} else {
this._visible = true;
}
}
Instance of Symbol 226 MovieClip in Symbol 273 MovieClip Frame 2
onClipEvent (load) {
if (_root.user_sb.data.campaignmoney >= _parent.price) {
this._visbile = false;
} else {
this._visible = true;
}
}
onClipEvent (enterFrame) {
if (_root.user_sb.data.campaignmoney >= _parent.price) {
this._visbile = false;
} else {
this._visible = true;
}
}
Symbol 274 Button
on (press) {
if (_root.friesactivated) {
_root.friesactivated = false;
_root.FRY = false;
gotoAndStop ("unactivated");
} else if (!_root.friesactivated) {
_root.friesactivated = true;
_root.FRY = true;
gotoAndStop ("unlocked");
}
}
Symbol 275 MovieClip Frame 1
stop();
Symbol 275 MovieClip Frame 6
_root.hitit.start();
it.stop();
_root.friesactivated = true;
Symbol 275 MovieClip Frame 33
stop();
Symbol 289 Button
on (press) {
if (_root.user_so.data.campaignmoney >= this.price) {
_root.user_so.data.campaignmoney = _root.user_so.data.campaignmoney - this.price;
_root.user_so.data.campaignlevel = 3;
_root.gotoAndStop("campaign");
}
}
Symbol 303 MovieClip Frame 1
if ((_parent._parent.price >= _root.user_so.data.campaignmoney) and _parent._parent.locked) {
this._visible = true;
} else {
this._visible = false;
}
Symbol 304 Button
on (press) {
if (_root.user_so.data.campaignmoney >= this.price) {
_root.user_so.data.campaignmoney = _root.user_so.data.campaignmoney - this.price;
_root.user_so.data.friesunlocked = true;
_root.friesactivated = true;
gotoAndPlay ("unlock");
this.locked = false;
}
}
Instance of Symbol 302 MovieClip in Symbol 305 MovieClip Frame 1
onClipEvent (load) {
if (_root.user_sb.data.campaignmoney >= _parent.price) {
this._visbile = false;
} else {
this._visible = true;
}
}
onClipEvent (enterFrame) {
if (_root.user_sb.data.campaignmoney >= _parent.price) {
this._visbile = false;
} else {
this._visible = true;
}
}
Instance of Symbol 226 MovieClip in Symbol 305 MovieClip Frame 2
onClipEvent (load) {
if (_root.user_sb.data.campaignmoney >= _parent.price) {
this._visbile = false;
} else {
this._visible = true;
}
}
onClipEvent (enterFrame) {
if (_root.user_sb.data.campaignmoney >= _parent.price) {
this._visbile = false;
} else {
this._visible = true;
}
}
Symbol 306 Button
on (press) {
_root.friesactivated = false;
_root.FRY = false;
_root.SODA = false;
gotoAndStop ("unactivated");
}
Symbol 307 Button
on (press) {
_root.friesactivated = true;
_root.sodaactivated = false;
_root.FRY = true;
_root.SODA = false;
this.gotoAndStop("unlocked");
_root.soda.gotoAndStop("unactivated");
}
Symbol 308 MovieClip Frame 1
stop();
Symbol 308 MovieClip Frame 6
_root.hitit.start();
it.stop();
_root.friesactivated = true;
Symbol 308 MovieClip Frame 33
stop();
Symbol 309 MovieClip Frame 1
if ((_parent._parent.price >= _root.user_so.data.campaignmoney) and _parent._parent.locked) {
this._visible = true;
} else {
this._visible = false;
}
Symbol 310 Button
on (press) {
if (_root.user_so.data.campaignmoney >= this.price) {
_root.user_so.data.campaignmoney = _root.user_so.data.campaignmoney - this.price;
_root.user_so.data.specialchickenunlocked = true;
this.gotoAndPlay("unlock");
this.locked = false;
}
}
Symbol 312 Button
on (press) {
_root.dropperQ = ["chickenpatty", "cheese", "special", "lettuce", "pickels", "tomato", "tbun", "soda", "fries"];
_root.howMuch = [1, 1, 50, 1, 1, 1, 1, 75, 10];
_root.valubonus = 3;
_root.burgerbutton();
}
Symbol 313 MovieClip Frame 1
stop();
Symbol 313 MovieClip Frame 6
_root.hitit.start();
it.stop();
Symbol 313 MovieClip Frame 33
stop();
Symbol 316 MovieClip Frame 1
if ((_parent._parent.price >= _root.user_so.data.campaignmoney) and _parent._parent.locked) {
this._visible = true;
} else {
this._visible = false;
}
Symbol 317 Button
on (press) {
if (_root.user_so.data.campaignmoney >= this.price) {
_root.user_so.data.campaignmoney = _root.user_so.data.campaignmoney - this.price;
_root.user_so.data.westernbbqburgerunlocked = true;
this.gotoAndPlay("unlock");
this.locked = false;
}
}
Symbol 319 Button
on (press) {
_root.dropperQ = ["bacon", "bigpatty", "cheese", "lettuce", "bbq", "tomato", "tbun", "soda", "fries"];
_root.howMuch = [1, 1, 1, 1, 50, 1, 1, 75, 10];
_root.valubonus = 3;
_root.burgerbutton();
}
Symbol 320 MovieClip Frame 1
stop();
Symbol 320 MovieClip Frame 6
_root.hitit.start();
it.stop();
Symbol 320 MovieClip Frame 33
stop();
Symbol 329 MovieClip Frame 1
if ((_parent._parent.price >= _root.user_so.data.campaignmoney) and _parent._parent.locked) {
this._visible = true;
} else {
this._visible = false;
}
Symbol 330 Button
on (press) {
if (_root.user_so.data.campaignmoney >= this.price) {
_root.user_so.data.campaignmoney = _root.user_so.data.campaignmoney - this.price;
_root.user_so.data.veggieburgerunlocked = true;
this.gotoAndPlay("unlock");
this.locked = false;
}
}
Symbol 332 Button
on (press) {
_root.dropperQ = ["lettuce", "veggiepatty", "pickels", "lettuce", "tomato", "veggiepatty", "lettuce", "tomato", "tbun", "soda", "fries"];
_root.howMuch = [1, 1, 1, 1, 1, 1, 1, 1, 1, 75, 10];
_root.valubonus = 6;
_root.burgerbutton();
}
Symbol 333 MovieClip Frame 1
stop();
Symbol 333 MovieClip Frame 6
_root.hitit.start();
it.stop();
Symbol 333 MovieClip Frame 33
stop();
Symbol 338 MovieClip Frame 1
if ((_parent._parent.price >= _root.user_so.data.campaignmoney) and _parent._parent.locked) {
this._visible = true;
} else {
this._visible = false;
}
Symbol 339 Button
on (press) {
if (_root.user_so.data.campaignmoney >= this.price) {
_root.user_so.data.campaignmoney = _root.user_so.data.campaignmoney - this.price;
_root.user_so.data.beastunlocked = true;
this.gotoAndPlay("unlock");
this.locked = false;
}
}
Symbol 341 Button
on (press) {
_root.dropperQ = ["bacon", "bigpatty", "cheese", "chickenpatty", "pickels", "plainpatty", "ketchup", "lettuce", "tomato", "tbun", "soda", "fries"];
_root.howMuch = [1, 1, 1, 1, 1, 1, 50, 1, 1, 1, 75, 10];
_root.valubonus = 7;
_root.burgerbutton();
}
Symbol 342 MovieClip Frame 1
stop();
Symbol 342 MovieClip Frame 6
_root.hitit.start();
it.stop();
Symbol 342 MovieClip Frame 33
stop();
Symbol 349 MovieClip Frame 1
if ((_parent._parent.price >= _root.user_so.data.campaignmoney) and _parent._parent.locked) {
this._visible = true;
} else {
this._visible = false;
}
Symbol 350 Button
on (press) {
if (_root.user_so.data.campaignmoney >= this.price) {
_root.user_so.data.campaignmoney = _root.user_so.data.campaignmoney - this.price;
_root.user_so.data.sodaunlocked = true;
_root.sodaactivated = true;
_root.friesactivated = false;
_root.SODA = true;
_root.FRY = true;
gotoAndPlay ("unlock");
_root.fries.gotoAndStop("unactivated");
this.locked = false;
}
}
Instance of Symbol 348 MovieClip in Symbol 351 MovieClip Frame 1
onClipEvent (load) {
if (_root.user_sb.data.campaignmoney >= _parent.price) {
this._visbile = false;
} else {
this._visible = true;
}
}
onClipEvent (enterFrame) {
if (_root.user_sb.data.campaignmoney >= _parent.price) {
this._visbile = false;
} else {
this._visible = true;
}
}
Instance of Symbol 226 MovieClip in Symbol 351 MovieClip Frame 2
onClipEvent (load) {
if (_root.user_sb.data.campaignmoney >= _parent.price) {
this._visbile = false;
} else {
this._visible = true;
}
}
onClipEvent (enterFrame) {
if (_root.user_sb.data.campaignmoney >= _parent.price) {
this._visbile = false;
} else {
this._visible = true;
}
}
Symbol 352 Button
on (press) {
_root.sodaactivated = false;
_root.friesactivated = false;
_root.SODA = false;
_root.FRY = false;
gotoAndStop ("unactivated");
}
Symbol 353 Button
on (press) {
_root.sodaactivated = true;
_root.friesactivated = false;
_root.SODA = true;
_root.FRY = true;
gotoAndStop ("unlocked");
_root.fries.gotoAndStop("unactivated");
}
Symbol 354 MovieClip Frame 1
stop();
Symbol 354 MovieClip Frame 6
_root.hitit.start();
it.stop();
Symbol 354 MovieClip Frame 33
stop();
Symbol 364 Button
on (press) {
if (_root.user_so.data.campaignmoney >= this.price) {
_root.user_so.data.campaignmoney = _root.user_so.data.campaignmoney - this.price;
_root.user_so.data.challengeunlocked = true;
_root.gotoAndStop("mainmenu");
}
}
Symbol 371 MovieClip Frame 1
stop();
Instance of Symbol 72 MovieClip [plainpatty] in Symbol 371 MovieClip Frame 1
onClipEvent (load) {
stop();
}
Instance of Symbol 72 MovieClip [plainpatty] in Symbol 371 MovieClip Frame 1
onClipEvent (load) {
stop();
}
Instance of Symbol 72 MovieClip [plainpatty] in Symbol 371 MovieClip Frame 1
onClipEvent (load) {
stop();
}
Instance of Symbol 72 MovieClip [plainpatty] in Symbol 371 MovieClip Frame 2
onClipEvent (load) {
stop();
}
Instance of Symbol 72 MovieClip [plainpatty] in Symbol 371 MovieClip Frame 6
onClipEvent (load) {
stop();
}
Symbol 372 MovieClip Frame 1
stop();
Instance of Symbol 69 MovieClip [veggiepatty] in Symbol 372 MovieClip Frame 1
onClipEvent (load) {
stop();
}
Instance of Symbol 69 MovieClip [veggiepatty] in Symbol 372 MovieClip Frame 1
onClipEvent (load) {
stop();
}
Instance of Symbol 69 MovieClip [veggiepatty] in Symbol 372 MovieClip Frame 1
onClipEvent (load) {
stop();
}
Instance of Symbol 69 MovieClip [veggiepatty] in Symbol 372 MovieClip Frame 2
onClipEvent (load) {
stop();
}
Instance of Symbol 69 MovieClip [veggiepatty] in Symbol 372 MovieClip Frame 6
onClipEvent (load) {
stop();
}
Symbol 373 MovieClip Frame 1
stop();
Instance of Symbol 66 MovieClip [bigpatty] in Symbol 373 MovieClip Frame 1
onClipEvent (load) {
stop();
}
Instance of Symbol 66 MovieClip [bigpatty] in Symbol 373 MovieClip Frame 2
onClipEvent (load) {
stop();
}
Symbol 374 MovieClip Frame 1
stop();
Instance of Symbol 64 MovieClip [chickenpatty] in Symbol 374 MovieClip Frame 1
onClipEvent (load) {
stop();
}
Instance of Symbol 64 MovieClip [chickenpatty] in Symbol 374 MovieClip Frame 1
onClipEvent (load) {
stop();
}
Instance of Symbol 64 MovieClip [chickenpatty] in Symbol 374 MovieClip Frame 1
onClipEvent (load) {
stop();
}
Instance of Symbol 64 MovieClip [chickenpatty] in Symbol 374 MovieClip Frame 2
onClipEvent (load) {
stop();
}
Instance of Symbol 64 MovieClip [chickenpatty] in Symbol 374 MovieClip Frame 6
onClipEvent (load) {
stop();
}
Symbol 378 MovieClip Frame 1
stop();
Symbol 379 MovieClip Frame 1
stop();
Instance of Symbol 60 MovieClip [tomato] in Symbol 379 MovieClip Frame 1
onClipEvent (enterFrame) {
stop();
}
Instance of Symbol 60 MovieClip [tomato] in Symbol 379 MovieClip Frame 1
onClipEvent (enterFrame) {
stop();
}
Instance of Symbol 60 MovieClip [tomato] in Symbol 379 MovieClip Frame 1
onClipEvent (enterFrame) {
stop();
}
Instance of Symbol 60 MovieClip [tomato] in Symbol 379 MovieClip Frame 1
onClipEvent (enterFrame) {
stop();
}
Instance of Symbol 60 MovieClip [tomato] in Symbol 379 MovieClip Frame 2
onClipEvent (enterFrame) {
stop();
}
Instance of Symbol 60 MovieClip [tomato] in Symbol 379 MovieClip Frame 7
onClipEvent (enterFrame) {
stop();
}
Instance of Symbol 60 MovieClip [tomato] in Symbol 379 MovieClip Frame 9
onClipEvent (enterFrame) {
stop();
}
Symbol 390 MovieClip Frame 1
stop();
Symbol 390 MovieClip Frame 5
gotoAndPlay ("drop");
Symbol 395 MovieClip Frame 1
stop();
Symbol 395 MovieClip Frame 5
gotoAndPlay ("drop");
Symbol 400 MovieClip Frame 1
stop();
Symbol 400 MovieClip Frame 5
gotoAndPlay ("drop");
Symbol 407 MovieClip Frame 1
stop();
Symbol 407 MovieClip Frame 46
stop();
Symbol 407 MovieClip Frame 89
stop();
Symbol 409 MovieClip Frame 1
stop();
Symbol 411 MovieClip Frame 1
stop();
Symbol 412 MovieClip Frame 1
stop();
Symbol 419 MovieClip Frame 1
stop();
Symbol 419 MovieClip Frame 5
gotoAndPlay ("drop");
Symbol 423 MovieClip Frame 1
stop();
Symbol 424 MovieClip Frame 1
stop();
Symbol 444 MovieClip Frame 1
stop();
Symbol 449 MovieClip Frame 1
stop();
Symbol 449 MovieClip Frame 25
gotoAndPlay ("repeat");
Symbol 451 MovieClip Frame 1
stop();
Symbol 451 MovieClip Frame 23
gotoAndPlay ("repeat");
Symbol 453 MovieClip Frame 1
stop();
Symbol 453 MovieClip Frame 23
gotoAndPlay ("repeat");
Instance of Symbol 449 MovieClip "perfect" in Symbol 457 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent._currentframe == 26) {
this.play();
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 451 MovieClip "notenuff" in Symbol 457 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent._currentframe >= 27) {
this.play();
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 453 MovieClip "notenuff" in Symbol 457 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent._currentframe < 26) {
this.play();
} else {
this.gotoAndStop(1);
}
}
Symbol 460 MovieClip Frame 1
stop();
Symbol 460 MovieClip Frame 24
gotoAndPlay ("repeat");
Symbol 463 MovieClip Frame 1
stop();
Symbol 463 MovieClip Frame 24
gotoAndPlay ("repeat");
Symbol 465 MovieClip Frame 1
stop();
Symbol 465 MovieClip Frame 24
gotoAndPlay ("repeat");
Symbol 467 MovieClip Frame 1
stop();
Symbol 467 MovieClip Frame 24
gotoAndPlay ("repeat");
Symbol 469 MovieClip Frame 1
stop();
Symbol 469 MovieClip Frame 24
gotoAndPlay ("repeat");
Symbol 471 MovieClip Frame 1
stop();
Symbol 471 MovieClip Frame 24
gotoAndPlay ("repeat");
Symbol 473 MovieClip Frame 1
stop();
Symbol 473 MovieClip Frame 24
gotoAndPlay ("repeat");
Symbol 479 MovieClip Frame 1
stop();
Symbol 479 MovieClip Frame 12
gotoAndPlay ("repeat");
Instance of Symbol 460 MovieClip "notenuff" in Symbol 480 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((27 > _parent._currentframe) and (_parent._currentframe >= 13)) {
this.play();
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 463 MovieClip "notenuff" in Symbol 480 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((38 > _parent._currentframe) and (_parent._currentframe >= 27)) {
this.play();
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 465 MovieClip "notenuff" in Symbol 480 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((51 > _parent._currentframe) and (_parent._currentframe >= 38)) {
this.play();
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 467 MovieClip "notenuff" in Symbol 480 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((64 > _parent._currentframe) and (_parent._currentframe >= 51)) {
this.play();
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 469 MovieClip "notenuff" in Symbol 480 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((78 > _parent._currentframe) and (_parent._currentframe >= 64)) {
this.play();
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 471 MovieClip "notenuff" in Symbol 480 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((90 > _parent._currentframe) and (_parent._currentframe >= 78)) {
this.play();
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 473 MovieClip "notenuff" in Symbol 480 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((100 > _parent._currentframe) and (_parent._currentframe >= 90)) {
this.play();
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 479 MovieClip "notenuff" in Symbol 480 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent._currentframe == 101) {
this.play();
} else {
this.gotoAndStop(1);
}
}
Symbol 480 MovieClip Frame 101
stop();
Symbol 489 MovieClip Frame 1295
gotoAndPlay (1);
Instance of Symbol 449 MovieClip "perfect" in Symbol 500 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent._currentframe == 26) {
this.play();
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 451 MovieClip "notenuff" in Symbol 500 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent._currentframe >= 27) {
this.play();
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 453 MovieClip "notenuff" in Symbol 500 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent._currentframe < 26) {
this.play();
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 460 MovieClip "notenuff" in Symbol 502 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((27 > _parent._currentframe) and (_parent._currentframe >= 13)) {
this.play();
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 463 MovieClip "notenuff" in Symbol 502 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((38 > _parent._currentframe) and (_parent._currentframe >= 27)) {
this.play();
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 465 MovieClip "notenuff" in Symbol 502 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((51 > _parent._currentframe) and (_parent._currentframe >= 38)) {
this.play();
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 467 MovieClip "notenuff" in Symbol 502 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((64 > _parent._currentframe) and (_parent._currentframe >= 51)) {
this.play();
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 469 MovieClip "notenuff" in Symbol 502 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((78 > _parent._currentframe) and (_parent._currentframe >= 64)) {
this.play();
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 471 MovieClip "notenuff" in Symbol 502 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((90 > _parent._currentframe) and (_parent._currentframe >= 78)) {
this.play();
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 473 MovieClip "notenuff" in Symbol 502 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((100 > _parent._currentframe) and (_parent._currentframe >= 90)) {
this.play();
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 479 MovieClip "notenuff" in Symbol 502 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent._currentframe == 101) {
this.play();
} else {
this.gotoAndStop(1);
}
}
Symbol 502 MovieClip Frame 101
stop();
Symbol 508 MovieClip Frame 871
gotoAndPlay (435);
Symbol 529 MovieClip Frame 1
stop();
Instance of Symbol 449 MovieClip "perfect" in Symbol 533 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent._currentframe == 26) {
this.play();
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 451 MovieClip "notenuff" in Symbol 533 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent._currentframe >= 27) {
this.play();
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 453 MovieClip "notenuff" in Symbol 533 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent._currentframe < 26) {
this.play();
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 460 MovieClip "notenuff" in Symbol 535 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((27 > _parent._currentframe) and (_parent._currentframe >= 13)) {
this.play();
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 463 MovieClip "notenuff" in Symbol 535 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((38 > _parent._currentframe) and (_parent._currentframe >= 27)) {
this.play();
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 465 MovieClip "notenuff" in Symbol 535 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((51 > _parent._currentframe) and (_parent._currentframe >= 38)) {
this.play();
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 467 MovieClip "notenuff" in Symbol 535 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((64 > _parent._currentframe) and (_parent._currentframe >= 51)) {
this.play();
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 469 MovieClip "notenuff" in Symbol 535 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((78 > _parent._currentframe) and (_parent._currentframe >= 64)) {
this.play();
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 471 MovieClip "notenuff" in Symbol 535 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((90 > _parent._currentframe) and (_parent._currentframe >= 78)) {
this.play();
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 473 MovieClip "notenuff" in Symbol 535 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((100 > _parent._currentframe) and (_parent._currentframe >= 90)) {
this.play();
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 479 MovieClip "notenuff" in Symbol 535 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent._currentframe == 101) {
this.play();
} else {
this.gotoAndStop(1);
}
}
Symbol 535 MovieClip Frame 101
stop();