Frame 2
iBytesTotal = _root.getBytesTotal();
iBytesLoaded = _root.getBytesLoaded();
iBytes = Math.ceil((iBytesLoaded / iBytesTotal) * 100);
_root.txtLoading.text = iBytes + "%";
Frame 3
if (iBytes < 100) {
gotoAndPlay (2);
} else {
gotoAndPlay (4);
}
Frame 5
function StartGame() {
_global.Acumulated = 0;
_global.Step = 1;
_global.SandwichPart = 1;
_global.Lifes = 4;
_global.Recipe = Math.floor(Math.random() * 53);
_global.SecondsToMess = 4;
_global.FirstTime = true;
_global.Done = false;
_global.Packed = false;
_global.Go = false;
_global.Top = 0;
_global.Score = 0;
GetRecipe(_global.Recipe);
z = 1;
while (z <= 16) {
_root["mcSlot" + z].mcDoor.gotoAndStop("closed");
z++;
}
_root.CloseSlots();
_global.myInterval = setInterval(CloseSlots, _global.SecondsToMess * 1000);
_root.mcTimer.myAdditional = 0;
_root.mcTimer.countDown = 1;
_root.mcTimer.myCount = ((_global.aIngredients.length - 2) * 3) + 1;
_root.mcTimer.myStart = getTimer() / 1000;
_global.Go = true;
}
function NextSandwich() {
_global.Step = 1;
_global.Acumulated = 0;
_global.SandwichPart = 1;
_global.Recipe = Math.floor(Math.random() * 53);
_global.FirstTime = true;
_global.Done = false;
_global.Packed = false;
GetRecipe(_global.Recipe);
_root.PutSlots();
_root.mcWaiter.gotoAndPlay("in");
_global.Reset = true;
_root.mcTimer.txtCountdown.text = "GET READY...";
_global.myInterval = setInterval(CloseSlots, _global.SecondsToMess * 1000);
}
function ResetTimer() {
_root.mcTimer.countDown = 1;
_root.mcTimer.myAdditional = _root.mcTimer.countDown;
_root.mcTimer.myCount = (_global.aIngredients.length - 2) * 3;
_root.mcTimer.myStart = getTimer() / 1000;
}
function CloseSlots() {
if (_global.FirstTime == false) {
z = 1;
while (z <= 16) {
_root["mcSlot" + z].mcDoor.gotoAndPlay("close");
z++;
}
} else {
_global.FirstTime = false;
_root.MessIngredients();
}
}
function MessIngredients() {
z = 0;
while (z <= 15) {
Item = SecondList[z];
_root["mcSlot" + (z + 1)].mcEmpty["mcIngred" + Item].removeMovieClip();
z++;
}
FirstList = new Array();
SecondList = new Array();
z = 1;
while (z <= 16) {
FirstList[z - 1] = z;
z++;
}
z = 0;
while (z <= 15) {
Item = Math.floor(Math.random() * FirstList.length);
SecondList[z] = FirstList[Item];
FirstList[Item] = "";
FirstList.sort();
FirstList.shift();
z++;
}
z = 0;
while (z <= 15) {
Item = SecondList[z];
_root["mcSlot" + (z + 1)].mcEmpty.attachMovie("mcIngred" + Item, "mcIngred" + Item, Item + 1000);
_root["mcSlot" + (z + 1)].mcEmpty["mcIngred" + Item]._x = 32;
_root["mcSlot" + (z + 1)].mcEmpty["mcIngred" + Item]._y = 32;
_root["mcSlot" + (z + 1)].mcEmpty["mcIngred" + Item].onRelease = function () {
_root.CheckIngredient(substring(this._name, 9, this._name.length - 8));
};
z++;
}
z = 1;
while (z <= 16) {
_root["mcSlot" + z].mcDoor.gotoAndPlay("open");
z++;
}
if (_global.Reset == true) {
_root.ResetTimer();
_global.Reset = false;
_global.Go = true;
}
}
function GetRecipe(therecipe) {
_root.txtRecipe.text = "";
z = 1;
while (z <= 15) {
_root["mcChecked" + z].removeMovieClip();
z++;
}
_global.aIngredients = new Array();
thestring = _global.aRecipes[therecipe];
item = 0;
ingredient = "";
z = 1;
while (z <= thestring.length) {
if ((substring(thestring, z, 1)) == "-") {
_global.aIngredients[item] = ingredient;
ingredient = "";
item++;
} else {
ingredient = ingredient + (substring(thestring, z, 1));
}
z++;
}
_root.mcTicker.txtSandwich.text = _global.aIngredients[0];
z = 1;
while (z <= (_global.aIngredients.length - 2)) {
_root.txtRecipe.text = _root.txtRecipe.text + (_global.aBasics[_global.aIngredients[z]] + "\r");
_root.attachMovie("mcChecked", "mcChecked" + z, z + 2000);
_root["mcChecked" + z]._x = 310;
_root["mcChecked" + z]._y = (z * 19) + 90;
_root["mcChecked" + z]._visible = false;
z++;
}
_root.txtRecipeTitle._visible = true;
_root.txtRecipe._visible = true;
}
function CheckIngredient(theingredient) {
if (theingredient == _global.aIngredients[_global.Step]) {
if (_global.Done == false) {
_root.attachMovie("mcIngred" + theingredient, "mcIngred" + _global.SandwichPart, _global.SandwichPart + 3000);
if (((theingredient == 6) || (theingredient == 11)) || (theingredient == 14)) {
_global.Displacement = 2;
} else {
_global.Displacement = 0;
}
_global.Acumulated = _global.Acumulated + _global.Displacement;
_root["mcIngred" + _global.SandwichPart]._x = 500;
_root["mcIngred" + _global.SandwichPart]._y = (322 - (_global.SandwichPart * 5)) + _global.Acumulated;
_root["mcIngred" + _global.SandwichPart].gotoAndPlay("fall");
if (((theingredient != 6) && (theingredient != 11)) && (theingredient != 14)) {
_root.SoundWoo();
}
_global.SandwichPart++;
_root["mcChecked" + _global.Step]._visible = true;
_global.Step++;
if (_global.Step == (_global.aIngredients.length - 1)) {
_global.Done = true;
}
} else if (theingredient == 2) {
_global.Packed = true;
z = 1;
while (z <= 16) {
_root["mcSlot" + z].mcDoor.gotoAndPlay("close");
z++;
}
clearInterval(_global.myInterval);
z = 1;
while (z <= 16) {
_root["mcIngred" + z].removeMovieClip();
z++;
}
_root.mcHdBread2.removeMovieClip();
_root.mcBag2._visible = true;
_root.SoundDing();
_global.Go = false;
_root.mcWaiter.gotoAndPlay("out");
}
} else {
_root["mcLife" + _global.Lifes]._visible = false;
_global.Lifes--;
_root.SoundPoing();
if (_global.Lifes <= 0) {
_root.GameOver();
} else {
_global.Packed = true;
z = 1;
while (z <= 16) {
_root["mcSlot" + z].mcDoor.gotoAndPlay("close");
z++;
}
clearInterval(_global.myInterval);
z = 1;
while (z <= 16) {
_root["mcIngred" + z].removeMovieClip();
z++;
}
_root.mcHdBread2.removeMovieClip();
_global.Go = false;
_root.mcBoxe.gotoAndPlay("in");
}
}
}
function ForceNextLevel() {
_root.txtRecipe._visible = false;
_root.txtRecipeTitle._visible = false;
z = 1;
while (z <= 16) {
_root["mcChecked" + z]._visible = false;
z++;
}
_root.TakeSlots();
}
function Delivery() {
_root.txtRecipe._visible = false;
_root.txtRecipeTitle._visible = false;
z = 1;
while (z <= 16) {
_root["mcChecked" + z]._visible = false;
z++;
}
_root.TakeSlots();
}
function PutSlots() {
_global.FirstList = new Array();
_global.SecondList = new Array();
z = 1;
while (z <= 16) {
_global.FirstList[z - 1] = z;
z++;
}
z = 0;
while (z <= 15) {
Item = Math.floor(Math.random() * _global.FirstList.length);
_global.SecondList[z] = _global.FirstList[Item];
_global.FirstList[Item] = "";
_global.FirstList.sort();
_global.FirstList.shift();
z++;
}
_global.z = 0;
while (_global.z <= 15) {
_root["mcSlot" + (_global.z + 1)]._xscale = 0;
_root["mcSlot" + (_global.z + 1)]._yscale = 0;
_root["mcSlot" + (_global.z + 1)]._alpha = 0;
_global.z++;
}
_global.z = 0;
while (_global.z <= 15) {
_root.createEmptyMovieClip("mcEngineSlot" + (_global.z + 1), (5000 + _global.z) + 1);
_root["mcEngineSlot" + (_global.z + 1)].onEnterFrame = function () {
if (this.flaggo == undefined) {
this.flaggo = false;
}
if (this.counter == undefined) {
this.counter = 0;
this.randomized = Math.floor(Math.random() * 10);
} else {
this.counter++;
}
if (this.counter >= this.randomized) {
_root["mcEngineSlot" + ((substring(this._name, 13, this._name.length - 12)) - 1)].flaggo = true;
}
if ((this.flaggo == true) || ((substring(this._name, 13, this._name.length - 12)) == 16)) {
if (_root["mcSlot" + _global.SecondList[(substring(this._name, 13, this._name.length - 12)) - 1]]._alpha < 90) {
_root["mcSlot" + _global.SecondList[(substring(this._name, 13, this._name.length - 12)) - 1]]._xscale = _root["mcSlot" + _global.SecondList[(substring(this._name, 13, this._name.length - 12)) - 1]]._xscale + 5;
_root["mcSlot" + _global.SecondList[(substring(this._name, 13, this._name.length - 12)) - 1]]._yscale = _root["mcSlot" + _global.SecondList[(substring(this._name, 13, this._name.length - 12)) - 1]]._yscale + 5;
_root["mcSlot" + _global.SecondList[(substring(this._name, 13, this._name.length - 12)) - 1]]._alpha = _root["mcSlot" + _global.SecondList[(substring(this._name, 13, this._name.length - 12)) - 1]]._alpha + 5;
} else {
_root["mcSlot" + _global.SecondList[(substring(this._name, 13, this._name.length - 12)) - 1]]._alpha = 100;
this.removeMovieClip();
}
}
};
_global.z++;
}
}
function TakeSlots() {
z = 0;
while (z <= 15) {
Item = SecondList[z];
_root["mcSlot" + (z + 1)].mcEmpty["mcIngred" + Item].removeMovieClip();
z++;
}
_root.mcHdBread2.removeMovieClip();
_root.createEmptyMovieClip("mcEngineSlot", 5000);
_root.mcEngineSlot.onEnterFrame = function () {
if (_root.mcSlot1._alpha > 0) {
z = 1;
while (z <= 16) {
_root["mcSlot" + z]._alpha = _root["mcSlot" + z]._alpha - 10;
z++;
}
} else {
if (_global.Lifes > 0) {
if (_global.Done == true) {
_root.mcDelivery.gotoAndPlay("pass");
} else {
_root.NextSandwich();
}
}
this.removeMovieClip();
}
};
}
function GameOver() {
_global.Go = false;
clearInterval(_global.myInterval);
_root.RemoveAll();
_root.mcWaiter.gotoAndPlay("fired");
_root.TakeSlots();
_global.NewGame = true;
_root.mcFired._visible = true;
_root.mcFired.gotoAndPlay("fired");
if (_global.Score > _global.Top) {
_global.Top = _global.Score;
_root.txtTop.text = _global.Top;
}
}
function RemoveAll() {
z = 1;
while (z <= 15) {
_root["mcChecked" + z].removeMovieClip();
z++;
}
z = 1;
while (z <= 16) {
_root["mcSlot" + z]._visible = false;
z++;
}
z = 1;
while (z <= 16) {
_root["mcIngred" + z].removeMovieClip();
z++;
}
_root.mcTicker._visible = false;
_root.mcTimer._visible = false;
_root.txtLifesTitle._visible = false;
_root.txtTopTitle._visible = false;
_root.txtScoreTitle._visible = false;
_root.txtRecipeTitle._visible = false;
_root.txtRecipe._visible = false;
_root.txtScore._visible = false;
_root.txtTop._visible = false;
_root.mcLife1._visible = false;
_root.mcLife2._visible = false;
_root.mcLife3._visible = false;
_root.mcLife4._visible = false;
_root.mcWaiter._visible = false;
_root.mcBag2._visible = false;
_root.btnPlayAgain._x = 1000;
_root.btnPlayAgain.enabled = false;
}
function CounterSoundA() {
sndCounterSoundA = new Sound(this);
sndCounterSoundA.attachSound("click");
_root.sndCounterSoundA.setVolume(100);
sndCounterSoundA.start();
}
function CounterSoundB() {
sndCounterSoundB = new Sound(this);
sndCounterSoundB.attachSound("hit");
_root.sndCounterSoundB.setVolume(100);
sndCounterSoundB.start();
}
function SoundTrack() {
sndTrack = new Sound(this);
sndTrack.attachSound("track");
_root.sndTrack.setVolume(100);
sndTrack.start();
sndTrack.onSoundComplete = function () {
sndTrack.start();
};
}
function SoundPoing() {
sndPoing = new Sound(this);
sndPoing.attachSound("poing");
sndPoing.setVolume(100);
sndPoing.start();
}
function SoundWoo() {
sndWoo = new Sound(this);
sndWoo.attachSound("woo");
sndWoo.setVolume(100);
sndWoo.start();
}
function SoundDing() {
sndDing = new Sound(this);
sndDing.attachSound("ding");
sndDing.setVolume(100);
sndDing.start();
}
_root.mcCounting._visible = false;
_root.mcNextRound._visible = false;
_global.NewGame = true;
_root.SoundTrack();
_root.RemoveAll();
stop();
_global.aBasics = new Array();
_global.aBasics[1] = "Bacon";
_global.aBasics[2] = "Paper bag";
_global.aBasics[3] = "Sliced bread";
_global.aBasics[4] = "Burger bread (bottom)";
_global.aBasics[5] = "Burger bread (top)";
_global.aBasics[6] = "Catchup";
_global.aBasics[7] = "Cheese";
_global.aBasics[8] = "Egg";
_global.aBasics[9] = "Hotdog bread";
_global.aBasics[10] = "Lettuce";
_global.aBasics[11] = "Mayonaise";
_global.aBasics[12] = "Meat (well done)";
_global.aBasics[13] = "Meat";
_global.aBasics[14] = "Mustard";
_global.aBasics[15] = "Sausage";
_global.aBasics[16] = "Tomato";
_global.aRecipes = new Array();
_global.aRecipes[0] = "Hot dog-9-15-14-6-2-";
_global.aRecipes[1] = "Hot Dog-9-15-6-2-";
_global.aRecipes[2] = "Hot Dog-9-15-11-2-";
_global.aRecipes[3] = "Hot Dog-9-15-14-2-";
_global.aRecipes[4] = "Hamburger-4-13-5-2-";
_global.aRecipes[5] = "Hamburger-4-12-5-2-";
_global.aRecipes[6] = "Hamburger-4-12-10-5-2-";
_global.aRecipes[7] = "Hamburger-4-12-6-5-2-";
_global.aRecipes[8] = "Hamburger-4-12-11-5-2-";
_global.aRecipes[9] = "Hamburger-4-12-14-5-2-";
_global.aRecipes[10] = "Hamburger-4-13-6-5-2-";
_global.aRecipes[11] = "Hamburger-4-13-11-5-2-";
_global.aRecipes[12] = "Hamburger-4-13-14-5-2-";
_global.aRecipes[13] = "Hot Dog-9-15-6-14-2-";
_global.aRecipes[14] = "Cheeseburger-4-7-12-7-5-2-";
_global.aRecipes[15] = "Cheeseburger-4-12-7-6-5-2-";
_global.aRecipes[16] = "Cheeseburger-4-12-7-11-5-2-";
_global.aRecipes[17] = "Cheeseburger-4-12-7-14-5-2-";
_global.aRecipes[18] = "Cheeseburger-4-13-7-6-5-2-";
_global.aRecipes[19] = "Cheeseburger-4-13-7-11-5-2-";
_global.aRecipes[20] = "Cheeseburger-4-13-7-14-5-2-";
_global.aRecipes[21] = "Hot Dog-9-15-6-14-11-2-";
_global.aRecipes[22] = "Veggie-3-7-10-16-11-3-2-";
_global.aRecipes[23] = "BLT-3-1-10-16-11-3-2-";
_global.aRecipes[24] = "Bacon Cheeseburger-4-12-1-7-6-5-2-";
_global.aRecipes[25] = "Bacon Cheeseburger-4-12-1-7-11-5-2-";
_global.aRecipes[26] = "Bacon Cheeseburger-4-12-1-7-14-5-2-";
_global.aRecipes[27] = "Bacon Cheeseburger-4-13-1-7-6-5-2-";
_global.aRecipes[28] = "Bacon Cheeseburger-4-13-1-7-11-5-2-";
_global.aRecipes[29] = "Bacon Cheeseburger-4-13-1-7-14-5-2-";
_global.aRecipes[30] = "Double Cheeseburger-4-12-7-12-7-6-5-2-";
_global.aRecipes[31] = "Double Cheeseburger-4-12-7-12-7-11-5-2-";
_global.aRecipes[32] = "Double Cheeseburger-4-12-7-12-7-14-5-2-";
_global.aRecipes[33] = "Double Cheeseburger-4-13-7-13-7-6-5-2-";
_global.aRecipes[34] = "Double Cheeseburger-4-13-7-13-7-11-5-2-";
_global.aRecipes[35] = "Double Cheeseburger-4-13-7-13-7-14-5-2-";
_global.aRecipes[36] = "Egg Bacon Cheeseburger-3-12-7-8-10-11-3-2-";
_global.aRecipes[37] = "Double Bacon Cheeseburger-4-12-7-12-7-1-6-5-2-";
_global.aRecipes[38] = "Double Bacon Cheeseburger-4-12-7-12-7-1-11-5-2-";
_global.aRecipes[39] = "Double Bacon Cheeseburger-4-12-7-12-7-1-14-5-2-";
_global.aRecipes[40] = "Double Bacon Cheeseburger-4-13-7-13-7-1-6-5-2-";
_global.aRecipes[41] = "Double Bacon Cheeseburger-4-13-7-13-7-1-11-5-2-";
_global.aRecipes[42] = "Double Bacon Cheeseburger-4-13-7-13-7-1-14-5-2-";
_global.aRecipes[43] = "Super Cheeseburger-4-7-16-10-1-12-7-5-2-";
_global.aRecipes[44] = "Veggie Deluxe-3-11-8-7-10-16-11-3-2-";
_global.aRecipes[45] = "Eggtastic-3-8-7-1-10-16-11-3-2-";
_global.aRecipes[46] = "Sunny Day-3-6-8-7-1-10-16-11-3-2-";
_global.aRecipes[47] = "Big Mac-4-6-11-13-4-13-10-6-11-5-2-";
_global.aRecipes[48] = "Ultimate Cheeseburger-4-14-13-7-13-7-10-16-6-5-2-";
_global.aRecipes[49] = "Ultimate Bacon Cheeseburger-4-14-13-7-13-7-1-10-16-6-5-2-";
_global.aRecipes[50] = "Gutbuster-4-14-1-13-7-1-13-7-1-8-6-5-2-";
_global.aRecipes[51] = "Eggomaniac-3-11-8-7-8-7-1-10-16-11-3-2-";
_global.aRecipes[52] = "The Works-4-13-7-1-8-10-16-6-11-14-5-2-";
_global.aRecipes[53] = "Special Topburger-4-11-12-16-7-4-11-13-10-1-7-5-2-";
_root.mcBag2._visible = false;
Instance of Symbol 127 MovieClip "mcNextRound" in Frame 5
on (release) {
_root.mcCounting._visible = false;
_root.mcNextRound._visible = false;
_root.NextSandwich();
}
Symbol 11 MovieClip [mcIngred6] Frame 1
stop();
Symbol 11 MovieClip [mcIngred6] Frame 2
play();
Symbol 11 MovieClip [mcIngred6] Frame 16
stop();
Symbol 14 MovieClip [mcIngred14] Frame 1
stop();
Symbol 14 MovieClip [mcIngred14] Frame 2
play();
Symbol 14 MovieClip [mcIngred14] Frame 16
stop();
Symbol 17 MovieClip [mcIngred11] Frame 1
stop();
Symbol 17 MovieClip [mcIngred11] Frame 2
play();
Symbol 17 MovieClip [mcIngred11] Frame 16
stop();
Symbol 21 MovieClip [mcIngred9] Frame 1
stop();
Symbol 21 MovieClip [mcIngred9] Frame 2
play();
Symbol 21 MovieClip [mcIngred9] Frame 16
_root.attachMovie("mcHdBread2", "mcHdBread2", 4000);
_root.mcHdBread2._x = 500;
_root.mcHdBread2._y = 317;
stop();
Symbol 24 MovieClip [mcIngred3] Frame 1
stop();
Symbol 24 MovieClip [mcIngred3] Frame 2
play();
Symbol 24 MovieClip [mcIngred3] Frame 16
stop();
Symbol 27 MovieClip [mcIngred7] Frame 1
stop();
Symbol 27 MovieClip [mcIngred7] Frame 2
play();
Symbol 27 MovieClip [mcIngred7] Frame 16
stop();
Symbol 29 MovieClip [mcIngred4] Frame 1
stop();
Symbol 29 MovieClip [mcIngred4] Frame 2
play();
Symbol 29 MovieClip [mcIngred4] Frame 16
stop();
Symbol 31 MovieClip [mcIngred5] Frame 1
stop();
Symbol 31 MovieClip [mcIngred5] Frame 2
play();
Symbol 31 MovieClip [mcIngred5] Frame 16
stop();
Symbol 33 MovieClip [mcIngred12] Frame 1
stop();
Symbol 33 MovieClip [mcIngred12] Frame 2
play();
Symbol 33 MovieClip [mcIngred12] Frame 16
stop();
Symbol 35 MovieClip [mcIngred16] Frame 1
stop();
Symbol 35 MovieClip [mcIngred16] Frame 2
play();
Symbol 35 MovieClip [mcIngred16] Frame 16
stop();
Symbol 37 MovieClip [mcIngred1] Frame 1
stop();
Symbol 37 MovieClip [mcIngred1] Frame 2
play();
Symbol 37 MovieClip [mcIngred1] Frame 16
stop();
Symbol 39 MovieClip [mcIngred10] Frame 1
stop();
Symbol 39 MovieClip [mcIngred10] Frame 2
play();
Symbol 39 MovieClip [mcIngred10] Frame 16
stop();
Symbol 41 MovieClip [mcIngred8] Frame 1
stop();
Symbol 41 MovieClip [mcIngred8] Frame 2
play();
Symbol 41 MovieClip [mcIngred8] Frame 16
stop();
Symbol 43 MovieClip [mcIngred15] Frame 1
stop();
Symbol 43 MovieClip [mcIngred15] Frame 2
play();
Symbol 43 MovieClip [mcIngred15] Frame 16
stop();
Symbol 45 MovieClip [mcIngred13] Frame 1
stop();
Symbol 45 MovieClip [mcIngred13] Frame 2
play();
Symbol 45 MovieClip [mcIngred13] Frame 16
stop();
Symbol 52 MovieClip [mcTimer] Frame 1
this.onEnterFrame = function () {
if (_global.Go == true) {
if (countDown > 0.5) {
myNow = getTimer() / 1000;
countDown = ((myCount - myNow) + myStart) + myAdditional;
this.txtCountdown.text = Math.floor(countDown);
} else {
_root["mcLife" + _global.Lifes]._visible = false;
_global.Lifes--;
_root.SoundPoing();
if (_global.Lifes <= 0) {
_root.GameOver();
} else {
this.txtCountdown.text = "0";
_global.Go = false;
_global.Packed = true;
z = 1;
while (z <= 16) {
_root["mcSlot" + z].mcDoor.gotoAndPlay("close");
z++;
}
clearInterval(_global.myInterval);
z = 1;
while (z <= 16) {
_root["mcIngred" + z].removeMovieClip();
z++;
}
_root.mcHdBread2.removeMovieClip();
_root.mcBoxe.gotoAndPlay("in");
}
}
}
};
Symbol 60 Button
on (release) {
getURL ("http://www.lostjungle.com");
}
Symbol 61 Button
on (release) {
getURL ("http://www.lostjungle.com/add.php?game=sandwich");
}
Symbol 73 MovieClip Frame 1
stop();
Symbol 73 MovieClip Frame 2
play();
Symbol 73 MovieClip Frame 30
_root.mcBag2._visible = false;
Symbol 73 MovieClip Frame 43
_root.Delivery();
stop();
Symbol 73 MovieClip Frame 44
play();
Symbol 73 MovieClip Frame 55
stop();
Symbol 73 MovieClip Frame 56
play();
Symbol 73 MovieClip Frame 100
stop();
Symbol 73 MovieClip Frame 101
play();
Symbol 73 MovieClip Frame 103
stop();
Symbol 75 MovieClip Frame 1
stop();
Symbol 75 MovieClip Frame 2
play();
Symbol 75 MovieClip Frame 19
_root.mcWaiter.gotoAndPlay("die");
Symbol 75 MovieClip Frame 36
_root.ForceNextLevel();
stop();
Symbol 93 MovieClip Frame 1
stop();
Symbol 93 MovieClip Frame 2
play();
Symbol 107 MovieClip Frame 1
stop();
Symbol 107 MovieClip Frame 2
play();
Symbol 107 MovieClip Frame 44
_root.mcDelivery.mcDeliveryCar.mcHand.gotoAndPlay("in");
Symbol 107 MovieClip Frame 82
_root.mcCounting._visible = true;
_root.mcCounting.txtSandScore.text = "0";
_global.mcCounting.txtExtraBonus.text = "0";
_global.mcCounting.txtTotal.text = "0";
_global.SandScore = 0;
_global.ExtraBonus = 0;
_global.TSandScore = _global.aIngredients.length * 10;
_global.TExtraBonus = _root.mcTimer.txtCountdown.text * 100;
_root.createEmptyMovieClip("mcCounter", 15);
_root.mcCounter.onEnterFrame = function () {
this.FlagSandScore = false;
this.FlagExtraBonus = false;
if (_global.SandScore < _global.TSandScore) {
_root.CounterSoundA();
_global.SandScore = _global.SandScore + 1;
} else if (this.FlagSandScore == false) {
this.FlagSandScore = true;
}
if (this.FlagSandScore == true) {
if (_global.ExtraBonus < _global.TExtraBonus) {
_root.CounterSoundA();
_global.ExtraBonus = _global.ExtraBonus + 10;
} else if (this.FlagExtraBonus == false) {
this.FlagExtraBonus = true;
}
}
_root.mcCounting.txtSandScore.text = _global.SandScore;
_root.mcCounting.txtExtraBonus.text = _global.ExtraBonus;
_root.mcCounting.txtTotal.text = _global.SandScore + _global.ExtraBonus;
if ((this.FlagSandScore == true) && (this.FlagExtraBonus == true)) {
_global.Score = _global.Score + (_global.SandScore + _global.ExtraBonus);
_root.txtScore.text = _global.Score;
_root.CounterSoundB();
_root.mcNextRound._visible = true;
_root.mcCounter.removeMovieClip();
}
};
stop();
Symbol 114 MovieClip Frame 1
stop();
Symbol 114 MovieClip Frame 2
play();
Symbol 114 MovieClip Frame 10
if (_global.Packed == false) {
_root.MessIngredients();
}
Symbol 114 MovieClip Frame 11
stop();
Symbol 114 MovieClip Frame 12
play();
Symbol 114 MovieClip Frame 30
stop();
Symbol 116 MovieClip Frame 1
stop();
Symbol 135 MovieClip Frame 1
stop();
Symbol 135 MovieClip Frame 2
play();
Symbol 135 MovieClip Frame 70
_root.btnPlayAgain.enabled = true;
_root.btnPlayAgain._x = 340;
stop();
Symbol 136 MovieClip Frame 1
stop();
Symbol 136 MovieClip Frame 2
play();
Symbol 136 MovieClip Frame 60
_root.StartGame();
Symbol 144 Button
on (release) {
getURL ("http://www.lostjungle.com/yankleber", "_blank");
}
Symbol 153 Button
on (release) {
_root.btnPlayNow.enabled = false;
_root.mcTitle._visible = false;
z = 1;
while (z <= 16) {
_root["mcSlot" + z]._visible = true;
z++;
}
_root.mcTicker._visible = true;
_root.mcTimer._visible = true;
_root.txtLifesTitle._visible = true;
_root.txtScoreTitle._visible = true;
_root.txtTopTitle._visible = true;
_root.txtRecipeTitle._visible = true;
_root.txtScore._visible = true;
_root.txtScore.text = "0";
_root.txtTop._visible = true;
_root.mcLife1._visible = true;
_root.mcLife2._visible = true;
_root.mcLife3._visible = true;
_root.mcLife4._visible = true;
_root.mcWaiter._visible = true;
_root.mcWaiter.gotoAndPlay("in");
_root.PutSlots();
_root.mcDelay.gotoAndPlay(2);
}
Symbol 154 Button
on (release) {
_root.mcFired._visible = false;
_root.btnPlayAgain.enabled = false;
_root.btnPlayAgain._x = 1000;
_root.mcCounting._visible = false;
_root.mcNextRound._visible = false;
z = 1;
while (z <= 16) {
_root["mcSlot" + z].mcDoor.gotoAndStop("closed");
z++;
}
_root.mcTitle._visible = true;
_root.btnPlayNow.enabled = true;
}