Frame 1
if (start != 1) {
start = 1;
onon = 0;
knapp.useHandCursor = 0;
}
pa = (_framesloaded / _totalframes) * 100;
if (onon < pa) {
onon++;
}
naze = (onon / 4) + 2;
loadd.gotoAndStop(naze);
if (onon == 100) {
laddartext.text = "Press Start";
knapp._alpha = 100;
} else {
laddartext.text = onon;
}
Frame 2
gotoAndPlay (1);
Frame 4
gotoAndPlay (3);
Frame 5
if (mission == 1) {
cashmachine.missionpeople = 0;
cashmachine.missionmoney = 200;
cashmachine.missionhappy = 0;
cashmachine.missionangry = 0;
deadlinetim = 0;
deadlinefem = 0;
} else if (mission == 2) {
cashmachine.missionpeople = 0;
cashmachine.missionmoney = 200;
cashmachine.missionhappy = 2;
cashmachine.missionangry = 0;
deadlinetim = 0;
deadlinefem = 0;
} else if (mission == 3) {
cashmachine.missionpeople = 0;
cashmachine.missionmoney = 500;
cashmachine.missionhappy = 4;
cashmachine.missionangry = 10;
deadlinetim = 0;
deadlinefem = 0;
} else if (mission == 4) {
cashmachine.missionpeople = 2;
cashmachine.missionmoney = 500;
cashmachine.missionhappy = 5;
cashmachine.missionangry = 5;
deadlinetim = 23;
deadlinefem = 0;
} else if (mission == 5) {
cashmachine.missionpeople = 5;
cashmachine.missionmoney = 800;
cashmachine.missionhappy = 8;
cashmachine.missionangry = 5;
deadlinetim = 23;
deadlinefem = 0;
} else if (mission == 6) {
cashmachine.missionpeople = 8;
cashmachine.missionmoney = 1000;
cashmachine.missionhappy = 14;
cashmachine.missionangry = 5;
deadlinetim = 23;
deadlinefem = 0;
} else if (mission == 7) {
cashmachine.missionpeople = 0;
cashmachine.missionmoney = 0;
cashmachine.missionhappy = 5;
cashmachine.missionangry = 2;
deadlinetim = 6;
deadlinefem = 11;
} else if (mission == 8) {
cashmachine.missionpeople = 0;
cashmachine.missionmoney = 0;
cashmachine.missionhappy = 10;
cashmachine.missionangry = 2;
deadlinetim = 15;
deadlinefem = 6;
} else if (mission == 9) {
cashmachine.missionpeople = 5;
cashmachine.missionmoney = 1500;
cashmachine.missionhappy = 20;
cashmachine.missionangry = 2;
deadlinetim = 0;
deadlinefem = 0;
} else if (mission == 10) {
cashmachine.missionpeople = 0;
cashmachine.missionhappy = 20;
cashmachine.missionmoney = 0;
cashmachine.missionangry = 1;
deadlinetim = 0;
deadlinefem = 0;
} else if (mission == 11) {
cashmachine.missionpeople = 0;
cashmachine.missionmoney = 0;
cashmachine.missionhappy = 30;
cashmachine.missionangry = 1;
deadlinetim = 23;
deadlinefem = 11;
} else if (mission == 12) {
cashmachine.missionpeople = 0;
cashmachine.missionmoney = 2000;
cashmachine.missionhappy = 0;
cashmachine.missionangry = 1;
deadlinetim = 0;
deadlinefem = 0;
} else if (mission == 13) {
cashmachine.missionpeople = 15;
cashmachine.missionmoney = 0;
cashmachine.missionhappy = 0;
cashmachine.missionangry = 1;
deadlinetim = 0;
deadlinefem = 0;
}
if (((cashmachine.missionpeople <= people) && (cashmachine.missionmoney <= money)) && (cashmachine.missionhappy <= goodcustomers)) {
skydd = 1;
gotoAndPlay (11);
}
if (skydd != 1) {
if ((cashmachine.missionangry <= badcustomers) && (cashmachine.missionangry != 0)) {
gotoAndPlay (13);
}
if ((deadlinetim > 0) || (deadlinefem > 0)) {
if ((clocktim >= deadlinetim) && (clockfem >= deadlinefem)) {
gotoAndPlay (13);
}
if (deadlinefem == 0) {
deadline = deadlinetim + ":00";
} else if (deadlinefem == 1) {
deadline = deadlinetim + ":05";
} else {
deadline = (deadlinetim + ":") + (deadlinefem * 5);
}
} else {
deadline = 0;
}
}
cashmachine.missiondeadline = deadline;
cashmachine.custom = customers;
cashmachine.angry = badcustomers;
cashmachine.happy = goodcustomers;
cashmachine.money = money;
cashmachine.people = people;
if (getTimer() > clocktimer) {
if (clockfem == 0) {
clock.text = clocktim + ":00";
} else if (clockfem == 1) {
clock.text = clocktim + ":05";
} else {
clock.text = (clocktim + ":") + (clockfem * 5);
}
clocktimer = getTimer() + 2000;
clockfem++;
if (clockfem == 12) {
clockfem = 0;
clocktim++;
if (clocktim == 24) {
clocktim = 0;
}
}
}
if (cashmachine.pressed == 1) {
cashmachine.pressed = 0;
if (cashmachine._currentframe < 3) {
cashmachine.gotoAndPlay("zip");
} else {
cashmachine.gotoAndPlay(1);
}
}
i = 0;
while (i < 21) {
if (i < people) {
if (eval ("chair" + (i + 1))._currentframe < 3) {
eval ("chair" + (i + 1)).gotoAndPlay("full");
}
} else if (eval ("chair" + (i + 1))._currentframe > 2) {
eval ("chair" + (i + 1)).gotoAndPlay("none");
}
i++;
}
if ((people > 0) && (getTimer() > dis)) {
people--;
dis = getTimer() + 60000;
}
burgercount.text = burgers;
fritescount.text = frites;
colacount.text = cola;
icecreamcount.text = icecream;
if (bb == 1) {
bagen._alpha = 100;
} else {
bagen._alpha = 0;
bagburgers = 0;
bagfrites = 0;
bagcola = 0;
bagicecream = 0;
}
if (aldrig != 1) {
aldrig = 1;
line = 0;
order = 0;
}
i = 0;
while (i < 3) {
if (i < bagburgers) {
eval ("b" + (i + 1))._alpha = 100;
} else {
eval ("b" + (i + 1))._alpha = 0;
}
if (i < bagfrites) {
eval ("f" + (i + 1))._alpha = 100;
} else {
eval ("f" + (i + 1))._alpha = 0;
}
if (i < bagcola) {
eval ("c" + (i + 1))._alpha = 100;
} else {
eval ("c" + (i + 1))._alpha = 0;
}
if (i < bagicecream) {
eval ("k" + (i + 1))._alpha = 100;
} else {
eval ("k" + (i + 1))._alpha = 0;
}
i++;
}
if (getTimer() > lastcustomer) {
lastcustomer = (getTimer() + 4000) + (random(30) * 1000);
if (free1 == 0) {
line++;
free1 = 1;
gubbe1._x = -100;
gubbe1.order = line;
} else if (free2 == 0) {
line++;
free2 = 1;
gubbe2._x = -100;
gubbe2.order = line;
} else if (free3 == 0) {
line++;
free3 = 1;
gubbe3._x = -100;
gubbe3.order = line;
}
}
owen._alpha = 0;
owen._x = -500;
owen._y = -500;
colamachine._x = -500;
colamachine._y = -500;
icemachine._x = -500;
icemachine._y = -500;
grill._x = -500;
grill._y = -500;
gubbe1._y = 200;
gubbe2._y = 200;
gubbe3._y = 200;
if (order == 1) {
bubble._alpha = 100;
bubble._x = 430.4;
bubble._y = 65;
} else {
bubble._alpha = 0;
bubble._x = -500;
bubble._y = -500;
}
if ((getTimer() > klaga) && (arg == 1)) {
arg = 0;
byte = 1;
bubble.gotoAndPlay(1);
order = 0;
}
if (byte == 1) {
byte = 0;
line--;
i = 1;
while (i < 4) {
if (eval ("gubbe" + i).order == 1) {
eval ("gubbe" + i).front = 0;
order = 0;
}
if (eval ("gubbe" + i).order != 0) {
eval ("gubbe" + i).order = eval ("gubbe" + i).order - 1;
}
i++;
}
}
if (payy == 1) {
i = 1;
while (i < 4) {
if (eval ("gubbe" + i).front == 1) {
if ((eval ("gubbe" + i).front == 1) && (eval ("gubbe" + i).payed == 1)) {
eval ("gubbe" + i).payed = 0;
eval ("gubbe" + i).front = 0;
cashmachine.gotoAndPlay("close");
byte = 1;
payy = 0;
money = money + ((((boughtburgers * 25) + (boughtfrites * 10)) + (boughtcola * 20)) + (boughticecream * 15));
order = 0;
}
} else if (cashmachine._currentframe < 3) {
cashmachine.gotoAndPlay("open");
}
i++;
}
}
i = 0;
while (i < 3) {
ii = i + 1;
if (eval ("free" + ii) == 1) {
if (eval ("gubbe" + ii).order == 1) {
if (eval ("gubbe" + ii)._x < 270) {
eval ("gubbe" + ii)._x++;
if (eval ("gubbe" + ii)._currentframe < 3) {
eval ("gubbe" + ii).gotoAndPlay("walk");
}
eval ("gubbe" + ii).front = 0;
} else {
if ((eval ("gubbe" + ii)._currentframe > 2) && (eval ("gubbe" + ii)._currentframe < 18)) {
eval ("gubbe" + ii).gotoAndPlay(1);
}
eval ("gubbe" + ii).front = 1;
}
} else if (eval ("gubbe" + ii).order == 2) {
if (eval ("gubbe" + ii)._x < 170) {
eval ("gubbe" + ii)._x++;
if (eval ("gubbe" + ii)._currentframe < 3) {
eval ("gubbe" + ii).gotoAndPlay("walk");
}
eval ("gubbe" + ii).front = 0;
} else if ((eval ("gubbe" + ii)._currentframe > 2) && (eval ("gubbe" + ii)._currentframe < 18)) {
eval ("gubbe" + ii).gotoAndPlay(1);
}
} else if (eval ("gubbe" + ii).order == 3) {
if (eval ("gubbe" + ii)._x < 70) {
eval ("gubbe" + ii)._x++;
if (eval ("gubbe" + ii)._currentframe < 3) {
eval ("gubbe" + ii).gotoAndPlay("walk");
}
eval ("gubbe" + ii).front = 0;
} else if ((eval ("gubbe" + ii)._currentframe > 2) && (eval ("gubbe" + ii)._currentframe < 18)) {
eval ("gubbe" + ii).gotoAndPlay(1);
}
} else if (eval ("gubbe" + ii).order == 0) {
if (eval ("gubbe" + ii)._x < 600) {
eval ("gubbe" + ii)._x++;
if (eval ("gubbe" + ii)._currentframe < 3) {
eval ("gubbe" + ii).gotoAndPlay("walk");
}
eval ("gubbe" + ii).front = 0;
} else if (ii == 1) {
free1 = 0;
if (eval ("gubbe" + ii).klagat == 0) {
people++;
}
} else if (ii == 2) {
free2 = 0;
if (eval ("gubbe" + ii).klagat == 0) {
people++;
}
} else if (ii == 3) {
free3 = 0;
if (eval ("gubbe" + ii).klagat == 0) {
people++;
}
}
}
}
i++;
}
if (order != 1) {
i = 0;
while (i < 3) {
ii = i + 1;
if (eval ("gubbe" + ii).front == 1) {
order = 1;
bubble._alpha = 100;
bubble.bb = random(3);
bubble.ff = random(3);
bubble.cc = random(3);
bubble.ss = random(3);
}
i++;
}
}
if (order == 0) {
bubble._alpha = 0;
}
Instance of Symbol 140 MovieClip "cashmachine" in Frame 5
on (release) {
if ((_currentframe < 3) || (_currentframe > 34)) {
pressed = 1;
}
}
Frame 6
gotoAndPlay (5);
Frame 7
if (getTimer() > clocktimer) {
if (clockfem == 0) {
clock.text = clocktim + ":00";
} else if (clockfem == 1) {
clock.text = clocktim + ":05";
} else {
clock.text = (clocktim + ":") + (clockfem * 5);
}
clocktimer = getTimer() + 1000;
clockfem++;
if (clockfem == 12) {
clockfem = 0;
clocktim++;
if (clocktim == 24) {
clocktim = 0;
}
}
}
if (owen.done > 0) {
owen.done--;
burgers++;
}
burgercount.text = burgers;
fritescount.text = frites;
colacount.text = cola;
icecreamcount.text = icecream;
if (getTimer() > lastcustomer) {
lastcustomer = (getTimer() + 4000) + (random(30) * 1000);
if (free1 == 0) {
line++;
free1 = 1;
gubbe1._x = -100;
gubbe1.order = line;
} else if (free2 == 0) {
line++;
free2 = 1;
gubbe2._x = -100;
gubbe2.order = line;
} else if (free3 == 0) {
line++;
free3 = 1;
gubbe3._x = -100;
gubbe3.order = line;
}
}
owen._alpha = 100;
owen._x = 372.1;
owen._y = 140.3;
icemachine._x = 86.8;
icemachine._y = 101.8;
colamachine._x = -500;
colamachine._y = -500;
grill._x = -500;
grill._y = -500;
gubbe1._y = -500;
gubbe2._y = -500;
gubbe3._y = -500;
bubble._x = -500;
bubble._y = -500;
if (icemachine.have == 1) {
icemachine.have = 0;
icecream++;
}
i = 0;
while (i < 3) {
ii = i + 1;
if (eval ("free" + ii) == 1) {
if (eval ("gubbe" + ii).order == 1) {
if (eval ("gubbe" + ii)._x < 270) {
eval ("gubbe" + ii)._x++;
if (eval ("gubbe" + ii)._currentframe < 3) {
eval ("gubbe" + ii).gotoAndPlay("walk");
}
eval ("gubbe" + ii).front = 0;
} else {
if ((eval ("gubbe" + ii)._currentframe > 2) && (eval ("gubbe" + ii)._currentframe < 18)) {
eval ("gubbe" + ii).gotoAndPlay(1);
}
eval ("gubbe" + ii).front = 1;
}
} else if (eval ("gubbe" + ii).order == 2) {
if (eval ("gubbe" + ii)._x < 170) {
eval ("gubbe" + ii)._x++;
if (eval ("gubbe" + ii)._currentframe < 3) {
eval ("gubbe" + ii).gotoAndPlay("walk");
}
eval ("gubbe" + ii).front = 0;
} else if ((eval ("gubbe" + ii)._currentframe > 2) && (eval ("gubbe" + ii)._currentframe < 18)) {
eval ("gubbe" + ii).gotoAndPlay(1);
}
} else if (eval ("gubbe" + ii).order == 3) {
if (eval ("gubbe" + ii)._x < 70) {
eval ("gubbe" + ii)._x++;
if (eval ("gubbe" + ii)._currentframe < 3) {
eval ("gubbe" + ii).gotoAndPlay("walk");
}
eval ("gubbe" + ii).front = 0;
} else if ((eval ("gubbe" + ii)._currentframe > 2) && (eval ("gubbe" + ii)._currentframe < 18)) {
eval ("gubbe" + ii).gotoAndPlay(1);
}
} else if (eval ("gubbe" + ii).order == 0) {
if (eval ("gubbe" + ii)._x < 600) {
eval ("gubbe" + ii)._x++;
if (eval ("gubbe" + ii)._currentframe < 3) {
eval ("gubbe" + ii).gotoAndPlay("walk");
}
eval ("gubbe" + ii).front = 0;
} else if (ii == 1) {
free1 = 0;
if (eval ("gubbe" + ii).klagat == 0) {
people++;
}
} else if (ii == 2) {
free2 = 0;
if (eval ("gubbe" + ii).klagat == 0) {
people++;
}
} else if (ii == 3) {
free3 = 0;
if (eval ("gubbe" + ii).klagat == 0) {
people++;
}
}
}
}
i++;
}
Frame 8
gotoAndPlay (7);
Frame 9
if (getTimer() > clocktimer) {
if (clockfem == 0) {
clock.text = clocktim + ":00";
} else if (clockfem == 1) {
clock.text = clocktim + ":05";
} else {
clock.text = (clocktim + ":") + (clockfem * 5);
}
clocktimer = getTimer() + 1000;
clockfem++;
if (clockfem == 12) {
clockfem = 0;
clocktim++;
if (clocktim == 24) {
clocktim = 0;
}
}
}
if (colamachine.gotcola == 1) {
colamachine.gotcola = 0;
cola++;
}
burgercount.text = burgers;
fritescount.text = frites;
colacount.text = cola;
icecreamcount.text = icecream;
if (grill.have > 0) {
grill.have--;
frites++;
}
if (getTimer() > lastcustomer) {
lastcustomer = (getTimer() + 4000) + (random(30) * 1000);
if (free1 == 0) {
line++;
free1 = 1;
gubbe1._x = -100;
gubbe1.order = line;
} else if (free2 == 0) {
line++;
free2 = 1;
gubbe2._x = -100;
gubbe2.order = line;
} else if (free3 == 0) {
line++;
free3 = 1;
gubbe3._x = -100;
gubbe3.order = line;
}
}
owen._alpha = 0;
owen._x = -500;
owen._y = -500;
colamachine._x = 235.6;
colamachine._y = 127.3;
icemachine._x = -500;
icemachine._y = -500;
grill._x = 423.4;
grill._y = 166;
gubbe1._y = -500;
gubbe2._y = -500;
gubbe3._y = -500;
bubble._x = -500;
bubble._y = -500;
i = 0;
while (i < 3) {
ii = i + 1;
if (eval ("free" + ii) == 1) {
if (eval ("gubbe" + ii).order == 1) {
if (eval ("gubbe" + ii)._x < 270) {
eval ("gubbe" + ii)._x++;
if (eval ("gubbe" + ii)._currentframe < 3) {
eval ("gubbe" + ii).gotoAndPlay("walk");
}
eval ("gubbe" + ii).front = 0;
} else {
if ((eval ("gubbe" + ii)._currentframe > 2) && (eval ("gubbe" + ii)._currentframe < 18)) {
eval ("gubbe" + ii).gotoAndPlay(1);
}
eval ("gubbe" + ii).front = 1;
}
} else if (eval ("gubbe" + ii).order == 2) {
if (eval ("gubbe" + ii)._x < 170) {
eval ("gubbe" + ii)._x++;
if (eval ("gubbe" + ii)._currentframe < 3) {
eval ("gubbe" + ii).gotoAndPlay("walk");
}
eval ("gubbe" + ii).front = 0;
} else if ((eval ("gubbe" + ii)._currentframe > 2) && (eval ("gubbe" + ii)._currentframe < 18)) {
eval ("gubbe" + ii).gotoAndPlay(1);
}
} else if (eval ("gubbe" + ii).order == 3) {
if (eval ("gubbe" + ii)._x < 70) {
eval ("gubbe" + ii)._x++;
if (eval ("gubbe" + ii)._currentframe < 3) {
eval ("gubbe" + ii).gotoAndPlay("walk");
}
eval ("gubbe" + ii).front = 0;
} else if ((eval ("gubbe" + ii)._currentframe > 2) && (eval ("gubbe" + ii)._currentframe < 18)) {
eval ("gubbe" + ii).gotoAndPlay(1);
}
} else if (eval ("gubbe" + ii).order == 0) {
if (eval ("gubbe" + ii)._x < 600) {
eval ("gubbe" + ii)._x++;
if (eval ("gubbe" + ii)._currentframe < 3) {
eval ("gubbe" + ii).gotoAndPlay("walk");
}
eval ("gubbe" + ii).front = 0;
} else if (ii == 1) {
free1 = 0;
if (eval ("gubbe" + ii).klagat == 0) {
people++;
}
} else if (ii == 2) {
free2 = 0;
if (eval ("gubbe" + ii).klagat == 0) {
people++;
}
} else if (ii == 3) {
free3 = 0;
if (eval ("gubbe" + ii).klagat == 0) {
people++;
}
}
}
}
i++;
}
Frame 10
gotoAndPlay (9);
Frame 11
people = 0;
i = 0;
while (i < 21) {
if (i < people) {
if (eval ("chair" + (i + 1))._currentframe < 3) {
eval ("chair" + (i + 1)).gotoAndPlay("full");
}
} else if (eval ("chair" + (i + 1))._currentframe > 2) {
eval ("chair" + (i + 1)).gotoAndPlay("none");
}
i++;
}
Frame 12
gotoAndPlay (11);
Frame 14
gotoAndPlay (13);
Frame 16
gotoAndPlay(_currentframe - 1);
Frame 18
gotoAndPlay(_currentframe - 1);
Frame 20
gotoAndPlay(_currentframe - 1);
Frame 22
gotoAndPlay(_currentframe - 1);
Frame 24
gotoAndPlay(_currentframe - 1);
Frame 26
gotoAndPlay(_currentframe - 1);
Frame 28
gotoAndPlay(_currentframe - 1);
Symbol 7 Button
on (release) {
if (onon == 100) {
gotoAndPlay (3);
}
}
Symbol 38 MovieClip Frame 2
gotoAndPlay (1);
Symbol 42 Button
on (release) {
gotoAndPlay (15);
}
Symbol 44 Button
on (release) {
clocktim = 0;
clockfem = 0;
mission = 1;
skydd = 0;
free1 = 0;
free2 = 0;
free3 = 0;
clockfem = 0;
clocktim = 0;
people = 0;
customers = 0;
goodcustomers = 0;
badcustomers = 0;
money = 0;
burgers = 0;
frites = 0;
cola = 0;
icecream = 0;
bagburgers = 0;
bagfrites = 0;
bagcola = 0;
bagicecream = 0;
lastcustomer = (getTimer() + 4000) + (random(30) * 1000);
dis = getTimer() + 60000;
gotoAndPlay (5);
}
Symbol 64 MovieClip Frame 2
gotoAndPlay (1);
Symbol 64 MovieClip Frame 3
if (start != 1) {
start = 1;
timen = (getTimer() + 2000) + (random(5) * 1000);
}
if (getTimer() > timen) {
timen = (getTimer() + 2000) + (random(5) * 1000);
if (random(2) == 1) {
gotoAndPlay (17);
} else {
gotoAndPlay (5);
}
}
Symbol 64 MovieClip Frame 4
gotoAndPlay (1);
Symbol 64 MovieClip Frame 9
looptimer = getTimer() + 1500;
Symbol 64 MovieClip Frame 11
if (getTimer() < looptimer) {
gotoAndPlay (10);
}
Symbol 64 MovieClip Frame 16
gotoAndPlay (3);
Symbol 64 MovieClip Frame 30
looptime = getTimer() + 2000;
Symbol 64 MovieClip Frame 33
if (getTimer() < looptime) {
gotoAndPlay (32);
}
Symbol 64 MovieClip Frame 50
gotoAndPlay (3);
Symbol 140 MovieClip Frame 2
gotoAndPlay (1);
Symbol 140 MovieClip Frame 19
gotoAndPlay (18);
Symbol 140 MovieClip Frame 34
gotoAndPlay (1);
Symbol 140 MovieClip Frame 77
gotoAndPlay (78);
Symbol 140 MovieClip Frame 78
moneyframe.text = money;
customframe.text = custom;
happyframe.text = happy;
angryframe.text = angry;
if (missionmoney == 0) {
needmax.text = "NONE";
} else {
needmax.text = (money + "/") + missionmoney;
}
if (missionhappy == 0) {
needhappy.text = "NONE";
} else {
needhappy.text = (happy + "/") + missionhappy;
}
if (missionpeople == 0) {
needtable.text = "NONE";
} else {
needtable.text = (people + "/") + missionpeople;
}
if (missionangry == 0) {
needangry.text = "NONE";
} else {
needangry.text = (angry + "/") + missionangry;
}
if (missiondeadline == 0) {
needdeadline.text = "NONE";
} else {
needdeadline.text = missiondeadline;
}
Symbol 140 MovieClip Frame 79
gotoAndPlay (78);
Symbol 143 Button
on (release) {
if (((bagen._alpha == 100) && (icecream > 0)) && (bagicecream < 3)) {
icecream--;
bagicecream++;
}
}
Symbol 146 Button
on (release) {
if (((bagen._alpha == 100) && (cola > 0)) && (bagcola < 3)) {
cola--;
bagcola++;
}
}
Symbol 150 Button
on (release) {
if (((bagen._alpha == 100) && (frites > 0)) && (bagfrites < 3)) {
frites--;
bagfrites++;
}
}
Symbol 152 Button
on (release) {
if (((bagen._alpha == 100) && (burgers > 0)) && (bagburgers < 3)) {
burgers--;
bagburgers++;
}
}
Symbol 156 Button
on (release) {
gotoAndPlay (7);
}
Symbol 157 Button
on (release) {
gotoAndPlay (9);
}
Symbol 165 Button
on (release) {
if (order == 1) {
customers++;
if ((((bagburgers == bubble.bb) && (bagfrites == bubble.ff)) && (bagcola == bubble.cc)) && (bagicecream == bubble.ss)) {
boughtburgers = bagburgers;
boughtfrites = bagfrites;
boughtcola = bagcola;
boughticecream = bagicecream;
bb = 0;
goodcustomers++;
i = 1;
while (i <= 3) {
if (eval ("gubbe" + i).front == 1) {
eval ("gubbe" + i).gotoAndPlay("pay");
eval ("gubbe" + i).klagat = 0;
}
i++;
}
payy = 1;
} else {
bb = 0;
badcustomers++;
i = 1;
while (i <= 3) {
if (eval ("gubbe" + i).front == 1) {
eval ("gubbe" + i).gotoAndPlay("fuck");
eval ("gubbe" + i).klagat = 1;
}
i++;
}
klaga = getTimer() + 5000;
arg = 1;
bubble.gotoAndPlay(3);
}
}
}
Symbol 168 Button
on (release) {
bb = 1;
}
Symbol 171 Button
on (release) {
if (topping._currentframe < 3) {
topping.gotoAndPlay(3);
}
}
Symbol 211 MovieClip Frame 2
gotoAndPlay (1);
Symbol 211 MovieClip Frame 4
gotoAndPlay (3);
Symbol 211 MovieClip Frame 60
gotoAndPlay (58);
Symbol 214 Button
on (press) {
if (topping._currentframe > 2) {
topping.gotoAndPlay("fill");
}
}
on (release) {
if (topping._currentframe > 4) {
if ((topping._currentframe > 44) && (topping._currentframe < 53)) {
have = 1;
}
topping.gotoAndPlay("none");
}
}
Symbol 216 MovieClip Frame 1
if (topping.have == 1) {
topping.have = 0;
have = 1;
}
Symbol 216 MovieClip Frame 2
gotoAndPlay (1);
Symbol 233 MovieClip Frame 1
b.text = bb;
f.text = ff;
c.text = cc;
i.text = ss;
Symbol 233 MovieClip Frame 2
gotoAndPlay (1);
Symbol 233 MovieClip Frame 4
gotoAndPlay (3);
Symbol 257 Button
on (release) {
gotoAndPlay (35);
payed = 1;
}
Symbol 277 MovieClip Frame 2
gotoAndPlay (1);
Symbol 277 MovieClip Frame 17
gotoAndPlay (3);
Symbol 277 MovieClip Frame 34
gotoAndPlay (33);
Symbol 277 MovieClip Frame 49
gotoAndPlay (1);
Symbol 277 MovieClip Frame 59
settat = getTimer() + 4000;
Symbol 277 MovieClip Frame 61
if (getTimer() < settat) {
gotoAndPlay (60);
}
Symbol 277 MovieClip Frame 71
gotoAndPlay (1);
Symbol 279 Button
on (release) {
if (metal._currentframe < 3) {
metal.gotoAndPlay(3);
}
}
Symbol 287 MovieClip Frame 1
many = 0;
Symbol 287 MovieClip Frame 2
gotoAndPlay (1);
Symbol 287 MovieClip Frame 3
many = 3;
Symbol 287 MovieClip Frame 4
gotoAndPlay (3);
Symbol 287 MovieClip Frame 5
many = 2;
Symbol 287 MovieClip Frame 6
gotoAndPlay (5);
Symbol 287 MovieClip Frame 7
many = 1;
Symbol 287 MovieClip Frame 8
gotoAndPlay (7);
Symbol 319 MovieClip Frame 2
gotoAndPlay (1);
Symbol 319 MovieClip Frame 4
gotoAndPlay (3);
Symbol 319 MovieClip Frame 13
gotoAndPlay (12);
Symbol 319 MovieClip Frame 21
if (getTimer() < klara) {
gotoAndPlay (22);
} else if (getTimer() > burn) {
gotoAndPlay (26);
} else if (getTimer() > klara) {
gotoAndPlay (24);
}
Symbol 319 MovieClip Frame 22
status = "bad";
Symbol 319 MovieClip Frame 23
gotoAndPlay (3);
Symbol 319 MovieClip Frame 24
status = "good";
Symbol 319 MovieClip Frame 25
gotoAndPlay (24);
Symbol 319 MovieClip Frame 26
status = "bad";
Symbol 319 MovieClip Frame 27
gotoAndPlay (26);
Symbol 321 MovieClip Frame 1
if ((metal.pommes == 1) && (plate._currentframe < 3)) {
metal.pommes = 0;
plate.gotoAndPlay(3);
}
if (nada != 1) {
nada = 1;
have = 0;
metal.pommes = 0;
plate.produced = 0;
}
if (plate.produced > 0) {
plate.produced--;
have++;
}
Instance of Symbol 287 MovieClip "plate" in Symbol 321 MovieClip Frame 1
on (release) {
if (many > 0) {
if (many == 1) {
gotoAndPlay (1);
produced++;
produced++;
}
if (many == 2) {
gotoAndPlay (1);
produced++;
produced++;
}
if (many == 3) {
gotoAndPlay (1);
produced++;
produced++;
}
}
}
Instance of Symbol 319 MovieClip "metal" in Symbol 321 MovieClip Frame 1
on (release) {
if (_currentframe > 2) {
if (_currentframe < 5) {
gotoAndPlay (5);
klara = (getTimer() + 10000) + (random(20) + 1000);
burn = (klara + 20000) + (random(20) + 1000);
}
if ((_currentframe > 11) && (_currentframe < 14)) {
gotoAndPlay (14);
}
if ((_currentframe > 21) && (pommes == 0)) {
if (status == "good") {
pommes = 1;
}
gotoAndPlay (1);
}
}
}
Symbol 321 MovieClip Frame 2
gotoAndPlay (1);
Symbol 323 Button
on (release) {
if (cola1._alpha == 0) {
cola1._alpha = 100;
cola1.gotoAndPlay(3);
} else if (cola2._alpha == 0) {
cola2._alpha = 100;
cola2.gotoAndPlay(3);
}
}
Symbol 325 Button
on (release) {
if (cola2._alpha == 100) {
cola2._alpha = 0;
if ((cola2._currentframe > 47) && (cola2._currentframe < 71)) {
gotcola = 1;
}
}
}
Symbol 326 Button
on (release) {
if (cola1._alpha == 100) {
cola1._alpha = 0;
if ((cola1._currentframe > 47) && (cola1._currentframe < 71)) {
gotcola = 1;
}
}
}
Symbol 385 MovieClip Frame 1
over._alpha = 100;
Symbol 385 MovieClip Frame 2
gotoAndPlay (1);
Symbol 385 MovieClip Frame 4
if (over._alpha > 50) {
over._alpha = over._alpha - 4;
gotoAndPlay (3);
}
Symbol 385 MovieClip Frame 74
over._alpha = 100;
Symbol 385 MovieClip Frame 86
gotoAndPlay (85);
Symbol 401 MovieClip Frame 2
gotoAndPlay (1);
Symbol 401 MovieClip Frame 4
gotoAndPlay (3);
Symbol 401 MovieClip Frame 12
gotoAndPlay (5);
Symbol 403 MovieClip Frame 1
if (start != 1) {
start = 1;
meat1.picked = 2;
meat2.picked = 2;
meat3.picked = 2;
meat4.picked = 2;
meat1._alpha = 0;
meat2._alpha = 0;
meat3._alpha = 0;
meat4._alpha = 0;
done = 0;
}
if (meat1.picked == 1) {
meat1.picked = 2;
set1 = 0;
setset1 = 0;
if (meat1.quality == 2) {
done++;
}
}
if (meat2.picked == 1) {
meat2.picked = 2;
set2 = 0;
setset2 = 0;
if (meat2.quality == 2) {
done++;
}
}
if (meat3.picked == 1) {
meat3.picked = 2;
set3 = 0;
setset3 = 0;
if (meat3.quality == 2) {
done++;
}
}
if (meat4.picked == 1) {
meat4.picked = 2;
set4 = 0;
setset4 = 0;
if (meat4.quality == 2) {
done++;
}
}
if (set1 == 1) {
if (setset1 != 1) {
setset1 = 1;
meat1.picked = 0;
meat1._alpha = 100;
meat1.gotoAndPlay(1);
meat1ready = (getTimer() + 4000) + (random(20) * 1000);
meat1burn = (meat1ready + 4000) + (random(10) * 1000);
} else {
meat1._alpha = 100;
if (getTimer() > meat1burn) {
if (meat1._currentframe < 5) {
meat1.gotoAndPlay(5);
}
} else if (getTimer() > meat1ready) {
if (meat1._currentframe < 3) {
meat1.gotoAndPlay(3);
}
} else if (meat1._currentframe > 2) {
meat1.gotoAndPlay(1);
}
}
}
if (set2 == 1) {
if (setset2 != 1) {
setset2 = 1;
meat2.picked = 0;
meat2._alpha = 100;
meat2.gotoAndPlay(1);
meat2ready = (getTimer() + 4000) + (random(20) * 1000);
meat2burn = (meat2ready + 4000) + (random(10) * 1000);
} else {
meat2._alpha = 100;
if (getTimer() > meat2burn) {
if (meat2._currentframe < 5) {
meat2.gotoAndPlay(5);
}
} else if (getTimer() > meat2ready) {
if (meat2._currentframe < 3) {
meat2.gotoAndPlay(3);
}
} else if (meat2._currentframe > 2) {
meat2.gotoAndPlay(1);
}
}
}
if (set3 == 1) {
if (setset3 != 1) {
setset3 = 1;
meat3.picked = 0;
meat3._alpha = 100;
meat3.gotoAndPlay(1);
meat3ready = (getTimer() + 4000) + (random(20) * 1000);
meat3burn = (meat3ready + 4000) + (random(10) * 1000);
} else {
meat3._alpha = 100;
if (getTimer() > meat3burn) {
if (meat3._currentframe < 5) {
meat3.gotoAndPlay(5);
}
} else if (getTimer() > meat3ready) {
if (meat3._currentframe < 3) {
meat3.gotoAndPlay(3);
}
} else if (meat3._currentframe > 2) {
meat3.gotoAndPlay(1);
}
}
}
if (set4 == 1) {
if (setset4 != 1) {
setset4 = 1;
meat4.picked = 0;
meat4._alpha = 100;
meat4.gotoAndPlay(1);
meat4ready = (getTimer() + 4000) + (random(20) * 1000);
meat4burn = (meat4ready + 4000) + (random(10) * 1000);
} else {
meat4._alpha = 100;
if (getTimer() > meat4burn) {
if (meat4._currentframe < 5) {
meat4.gotoAndPlay(5);
}
} else if (getTimer() > meat4ready) {
if (meat4._currentframe < 3) {
meat4.gotoAndPlay(3);
}
} else if (meat4._currentframe > 2) {
meat4.gotoAndPlay(1);
}
}
}
if (meatbag.ai == 1) {
meatbag.ai = 0;
if (set1 != 1) {
set1 = 1;
} else if (set2 != 1) {
set2 = 1;
} else if (set3 != 1) {
set3 = 1;
} else if (set4 != 1) {
set4 = 1;
}
}
Instance of Symbol 390 MovieClip "meatbag" in Symbol 403 MovieClip Frame 1
on (release) {
ai = 1;
}
Instance of Symbol 401 MovieClip "meat4" in Symbol 403 MovieClip Frame 1
on (release) {
if (picked == 0) {
picked = 1;
this._alpha = 0;
if (_currentframe < 3) {
quality = 1;
} else if (_currentframe < 5) {
quality = 2;
} else {
quality = 3;
}
}
}
Instance of Symbol 401 MovieClip "meat3" in Symbol 403 MovieClip Frame 1
on (release) {
if (picked == 0) {
picked = 1;
this._alpha = 0;
if (_currentframe < 3) {
quality = 1;
} else if (_currentframe < 5) {
quality = 2;
} else {
quality = 3;
}
}
}
Instance of Symbol 401 MovieClip "meat2" in Symbol 403 MovieClip Frame 1
on (release) {
if (picked == 0) {
picked = 1;
this._alpha = 0;
if (_currentframe < 3) {
quality = 1;
} else if (_currentframe < 5) {
quality = 2;
} else {
quality = 3;
}
}
}
Instance of Symbol 401 MovieClip "meat1" in Symbol 403 MovieClip Frame 1
on (release) {
if (picked == 0) {
picked = 1;
this._alpha = 0;
if (this._currentframe < 3) {
quality = 1;
} else if (this._currentframe < 5) {
quality = 2;
} else {
quality = 3;
}
}
}
Symbol 403 MovieClip Frame 2
gotoAndPlay (1);
Symbol 405 Button
on (release) {
gotoAndPlay (5);
}
Symbol 410 Button
on (release) {
skydd = 0;
line = 0;
mission++;
clocktim = 0;
clockfem = 0;
free1 = 0;
order = 0;
free2 = 0;
free3 = 0;
clockfem = 0;
clocktim = 0;
people = 0;
customers = 0;
goodcustomers = 0;
badcustomers = 0;
money = 0;
burgers = 0;
frites = 0;
cola = 0;
icecream = 0;
bagburgers = 0;
bagfrites = 0;
bagcola = 0;
bagicecream = 0;
lastcustomer = (getTimer() + 4000) + (random(30) * 1000);
dis = getTimer() + 60000;
gotoAndPlay (5);
}
Symbol 414 Button
on (release) {
skydd = 0;
line = 0;
clocktim = 0;
clockfem = 0;
order = 0;
free1 = 0;
free2 = 0;
free3 = 0;
clockfem = 0;
clocktim = 0;
people = 0;
customers = 0;
goodcustomers = 0;
badcustomers = 0;
money = 0;
burgers = 0;
frites = 0;
cola = 0;
icecream = 0;
bagburgers = 0;
bagfrites = 0;
bagcola = 0;
bagicecream = 0;
lastcustomer = (getTimer() + 4000) + (random(30) * 1000);
dis = getTimer() + 60000;
gotoAndPlay (5);
}
Symbol 416 Button
on (release) {
gotoAndPlay(_currentframe + 2);
}
Symbol 420 Button
on (release) {
gotoAndPlay(_currentframe - 2);
}