Frame 1
Stage.showMenu = false;
Frame 5
ifFrameLoaded (114) {
gotoAndPlay (7);
}
Frame 6
gotoAndPlay (1);
Frame 13
name = "";
email = "";
score = 0;
session_id = 0;
level = 1;
Frame 81
stop();
Frame 110
stop();
Frame 111
ratingLevel1 = 0;
ratingLevel2 = 1000;
ratingLevel3 = 15000;
ratingLevel4 = 30000;
level = 1;
score = 0;
emptyGlass1SX = emptyGlass1._x;
emptyGlass2SX = emptyGlass2._x;
emptyGlass3SX = emptyGlass3._x;
emptyGlass4SX = emptyGlass4._x;
emptyGlass5SX = emptyGlass5._x;
emptyGlass6SX = emptyGlass6._x;
emptyGlass7SX = emptyGlass7._x;
emptyGlass8SX = emptyGlass8._x;
emptyGlass1SY = emptyGlass1._y;
emptyGlass2SY = emptyGlass2._y;
emptyGlass3SY = emptyGlass3._y;
emptyGlass4SY = emptyGlass4._y;
emptyGlass5SY = emptyGlass5._y;
emptyGlass6SY = emptyGlass6._y;
emptyGlass7SY = emptyGlass7._y;
emptyGlass8SY = emptyGlass8._y;
glassMovie1SX = glassMovie1._x;
glassMovie2SX = glassMovie2._x;
glassMovie3SX = glassMovie3._x;
glassMovie4SX = glassMovie4._x;
glassMovie1SY = glassMovie1._y;
glassMovie2SY = glassMovie2._y;
glassMovie3SY = glassMovie3._y;
glassMovie4SY = glassMovie4._y;
drinker1aSX = drinker1a._x;
drinker2aSX = drinker2a._x;
drinker3aSX = drinker3a._x;
drinker4aSX = drinker4a._x;
drinker5aSX = drinker5a._x;
drinker6aSX = drinker6a._x;
drinker7aSX = drinker7a._x;
drinker8aSX = drinker8a._x;
drinker9aSX = drinker9a._x;
drinker10aSX = drinker10a._x;
drinker1bSX = drinker1b._x;
drinker2bSX = drinker2b._x;
drinker3bSX = drinker3b._x;
drinker4bSX = drinker4b._x;
drinker5bSX = drinker5b._x;
drinker6bSX = drinker6b._x;
drinker7bSX = drinker7b._x;
drinker8bSX = drinker8b._x;
drinker9bSX = drinker9b._x;
drinker10bSX = drinker10b._x;
drinker1cSX = drinker1c._x;
drinker2cSX = drinker2c._x;
drinker3cSX = drinker3c._x;
drinker4cSX = drinker4c._x;
drinker5cSX = drinker5c._x;
drinker6cSX = drinker6c._x;
drinker7cSX = drinker7c._x;
drinker8cSX = drinker8c._x;
drinker9cSX = drinker9c._x;
drinker10cSX = drinker10c._x;
drinker1dSX = drinker1d._x;
drinker2dSX = drinker2d._x;
drinker3dSX = drinker3d._x;
drinker4dSX = drinker4d._x;
drinker5dSX = drinker5d._x;
drinker6dSX = drinker6d._x;
drinker7dSX = drinker7d._x;
drinker8dSX = drinker8d._x;
drinker9dSX = drinker9d._x;
drinker1daSX = drinker10d._x;
drinker1aSY = drinker1a._y;
drinker2aSY = drinker2a._y;
drinker3aSY = drinker3a._y;
drinker4aSY = drinker4a._y;
drinker5aSY = drinker5a._y;
drinker6aSY = drinker6a._y;
drinker7aSY = drinker7a._y;
drinker8aSY = drinker8a._y;
drinker9aSY = drinker9a._y;
drinker10aSY = drinker10a._y;
drinker1bSY = drinker1b._y;
drinker2bSY = drinker2b._y;
drinker3bSY = drinker3b._y;
drinker4bSY = drinker4b._y;
drinker5bSY = drinker5b._y;
drinker6bSY = drinker6b._y;
drinker7bSY = drinker7b._y;
drinker8bSY = drinker8b._y;
drinker9bSY = drinker9b._y;
drinker10bSY = drinker10b._y;
drinker1cSY = drinker1c._y;
drinker2cSY = drinker2c._y;
drinker3cSY = drinker3c._y;
drinker4cSY = drinker4c._y;
drinker5cSY = drinker5c._y;
drinker6cSY = drinker6c._y;
drinker7cSY = drinker7c._y;
drinker8cSY = drinker8c._y;
drinker9cSY = drinker9c._y;
drinker10cSY = drinker10c._y;
drinker1dSY = drinker1d._y;
drinker2dSY = drinker2d._y;
drinker3dSY = drinker3d._y;
drinker4dSY = drinker4d._y;
drinker5dSY = drinker5d._y;
drinker6dSY = drinker6d._y;
drinker7dSY = drinker7d._y;
drinker8dSY = drinker8d._y;
drinker9dSY = drinker9d._y;
drinker1daSY = drinker10d._y;
Frame 114
_root.wallHitFlag = 0;
_root.floorHitFlag = 0;
drinkerNumber1 = 1;
drinkerNumber2 = 1;
drinkerNumber3 = 1;
drinkerNumber4 = 1;
drinkerNumber5 = 1;
drinkerNumber6 = 1;
drinkerNumber7 = 1;
drinkerNumber8 = 1;
drinkerNumber9 = 1;
drinkerNumber10 = 1;
drinkerSpeed1 = 1;
drinkerSpeed2 = 1.2;
drinkerSpeed3 = 1.4;
drinkerSpeed4 = 1.6;
drinkerSpeed5 = 1.8;
drinkerSpeed6 = 2;
drinkerSpeed7 = 2.2;
drinkerSpeed8 = 2.4;
drinkerSpeed9 = 2.6;
drinkerSpeed10 = 2.8;
drinkerFallbackSpeed1 = -10;
drinkerFallbackSpeed2 = -9;
drinkerFallbackSpeed3 = -9;
drinkerFallbackSpeed4 = -8;
drinkerFallbackSpeed5 = -8;
drinkerFallbackSpeed6 = -7;
drinkerFallbackSpeed7 = -7;
drinkerFallbackSpeed8 = -6;
drinkerFallbackSpeed9 = -5;
drinkerFallbackSpeed10 = -4;
drinkLimit1 = 110;
drinkLimit2 = 110;
drinkLimit3 = 100;
drinkLimit4 = 90;
drinkLimit5 = 90;
drinkLimit6 = 80;
drinkLimit7 = 70;
drinkLimit8 = 70;
drinkLimit9 = 70;
drinkLimit10 = 60;
pointValue1 = 25;
pointValue2 = 75;
pointValue3 = 150;
pointValue4 = 300;
pointValue5 = 500;
pointValue6 = 750;
pointValue7 = 1000;
pointValue8 = 2000;
pointValue9 = 5000;
pointValue10 = 10000;
bonus1 = 500;
bonus2 = 1000;
bonus3 = 2000;
bonus4 = 4000;
bonus5 = 6000;
bonus6 = 10000;
bonus7 = 20000;
bonus8 = 30000;
bonus9 = 50000;
bonus10 = 100000 /* 0x0186A0 */;
drinkerSpeed = eval ("drinkerSpeed" + level);
drinkLimit = eval ("drinkLimit" + level);
drinkerNumber = eval ("drinkerNumber" + level);
drinkerFallbackSpeed = eval ("drinkerFallbackSpeed" + level);
pointValue = eval ("pointValue" + level);
wallPosa = 44;
wallPosb = 35;
wallPosc = 30;
wallPosd = 12;
barEnda = 373;
barEndb = 397;
barEndc = 415;
barEndd = 453;
_root.drinker1a.xSpeed = drinkerSpeed;
_root.drinker2a.xSpeed = drinkerSpeed;
_root.drinker3a.xSpeed = drinkerSpeed;
_root.drinker4a.xSpeed = drinkerSpeed;
_root.drinker5a.xSpeed = drinkerSpeed;
_root.drinker6a.xSpeed = drinkerSpeed;
_root.drinker7a.xSpeed = drinkerSpeed;
_root.drinker8a.xSpeed = drinkerSpeed;
_root.drinker9a.xSpeed = drinkerSpeed;
_root.drinker10a.xSpeed = drinkerSpeed;
_root.drinker1b.xSpeed = drinkerSpeed;
_root.drinker2b.xSpeed = drinkerSpeed;
_root.drinker3b.xSpeed = drinkerSpeed;
_root.drinker4b.xSpeed = drinkerSpeed;
_root.drinker5b.xSpeed = drinkerSpeed;
_root.drinker6b.xSpeed = drinkerSpeed;
_root.drinker7b.xSpeed = drinkerSpeed;
_root.drinker8b.xSpeed = drinkerSpeed;
_root.drinker9b.xSpeed = drinkerSpeed;
_root.drinker10b.xSpeed = drinkerSpeed;
_root.drinker1c.xSpeed = drinkerSpeed;
_root.drinker2c.xSpeed = drinkerSpeed;
_root.drinker3c.xSpeed = drinkerSpeed;
_root.drinker4c.xSpeed = drinkerSpeed;
_root.drinker5c.xSpeed = drinkerSpeed;
_root.drinker6c.xSpeed = drinkerSpeed;
_root.drinker7c.xSpeed = drinkerSpeed;
_root.drinker8c.xSpeed = drinkerSpeed;
_root.drinker9c.xSpeed = drinkerSpeed;
_root.drinker10c.xSpeed = drinkerSpeed;
_root.drinker1d.xSpeed = drinkerSpeed;
_root.drinker2d.xSpeed = drinkerSpeed;
_root.drinker3d.xSpeed = drinkerSpeed;
_root.drinker4d.xSpeed = drinkerSpeed;
_root.drinker5d.xSpeed = drinkerSpeed;
_root.drinker6d.xSpeed = drinkerSpeed;
_root.drinker7d.xSpeed = drinkerSpeed;
_root.drinker8d.xSpeed = drinkerSpeed;
_root.drinker9d.xSpeed = drinkerSpeed;
_root.drinker10d.xSpeed = drinkerSpeed;
_root.drinker1a.drinking = 0;
_root.drinker2a.drinking = 0;
_root.drinker3a.drinking = 0;
_root.drinker4a.drinking = 0;
_root.drinker5a.drinking = 0;
_root.drinker6a.drinking = 0;
_root.drinker7a.drinking = 0;
_root.drinker8a.drinking = 0;
_root.drinker9a.drinking = 0;
_root.drinker10a.drinking = 0;
_root.drinker1b.drinking = 0;
_root.drinker2b.drinking = 0;
_root.drinker3b.drinking = 0;
_root.drinker4b.drinking = 0;
_root.drinker5b.drinking = 0;
_root.drinker6b.drinking = 0;
_root.drinker7b.drinking = 0;
_root.drinker8b.drinking = 0;
_root.drinker9b.drinking = 0;
_root.drinker10b.drinking = 0;
_root.drinker1c.drinking = 0;
_root.drinker2c.drinking = 0;
_root.drinker3c.drinking = 0;
_root.drinker4c.drinking = 0;
_root.drinker5c.drinking = 0;
_root.drinker6c.drinking = 0;
_root.drinker7c.drinking = 0;
_root.drinker8c.drinking = 0;
_root.drinker9c.drinking = 0;
_root.drinker10c.drinking = 0;
_root.drinker1d.drinking = 0;
_root.drinker2d.drinking = 0;
_root.drinker3d.drinking = 0;
_root.drinker4d.drinking = 0;
_root.drinker5d.drinking = 0;
_root.drinker6d.drinking = 0;
_root.drinker7d.drinking = 0;
_root.drinker8d.drinking = 0;
_root.drinker9d.drinking = 0;
_root.drinker10d.drinking = 0;
_root.drinker1a.out = 0;
_root.drinker2a.out = 0;
_root.drinker3a.out = 0;
_root.drinker4a.out = 0;
_root.drinker5a.out = 0;
_root.drinker6a.out = 0;
_root.drinker7a.out = 0;
_root.drinker8a.out = 0;
_root.drinker9a.out = 0;
_root.drinker10a.out = 0;
_root.drinker1b.out = 0;
_root.drinker2b.out = 0;
_root.drinker3b.out = 0;
_root.drinker4b.out = 0;
_root.drinker5b.out = 0;
_root.drinker6b.out = 0;
_root.drinker7b.out = 0;
_root.drinker8b.out = 0;
_root.drinker9b.out = 0;
_root.drinker10b.out = 0;
_root.drinker1c.out = 0;
_root.drinker2c.out = 0;
_root.drinker3c.out = 0;
_root.drinker4c.out = 0;
_root.drinker5c.out = 0;
_root.drinker6c.out = 0;
_root.drinker7c.out = 0;
_root.drinker8c.out = 0;
_root.drinker9c.out = 0;
_root.drinker10c.out = 0;
_root.drinker1d.out = 0;
_root.drinker2d.out = 0;
_root.drinker3d.out = 0;
_root.drinker4d.out = 0;
_root.drinker5d.out = 0;
_root.drinker6d.out = 0;
_root.drinker7d.out = 0;
_root.drinker8d.out = 0;
_root.drinker9d.out = 0;
_root.drinker10d.out = 0;
drinkerTotal = 4;
glassNumber = 4;
emptyNumber = 8;
emptySpeed = 4;
_root.used1 = 0;
_root.used2 = 0;
_root.used3 = 0;
_root.used4 = 0;
returned1 = 0;
returned2 = 0;
returned3 = 0;
returned4 = 0;
returned5 = 0;
returned6 = 0;
returned7 = 0;
returned8 = 0;
startX1a = 80;
startX1b = 70;
startX1c = 66;
startX1d = 60;
startX2a = 80;
startX2b = 70;
startX2c = 66;
startX2d = 60;
startX3a = 80;
startX3b = 70;
startX3c = 66;
startX3d = 60;
startX4a = 80;
startX4b = 70;
startX4c = 66;
startX4d = 60;
startX5a = 80;
startX5b = 70;
startX5c = 66;
startX5d = 60;
startX6a = 80;
startX6b = 70;
startX6c = 66;
startX6d = 60;
startX7a = 80;
startX7b = 70;
startX7c = 66;
startX7d = 60;
startX8a = 80;
startX8b = 70;
startX8c = 66;
startX8d = 60;
startX9a = 80;
startX9b = 70;
startX9c = 66;
startX9d = 60;
startX10a = 80;
startX10b = 70;
startX10c = 66;
startX10d = 60;
startY1a = 80;
startY1b = 117;
startY1c = 156;
startY1d = 201;
startY2a = 80;
startY2b = 117;
startY2c = 156;
startY2d = 201;
startY3a = 80;
startY3b = 117;
startY3c = 156;
startY3d = 201;
startY4a = 80;
startY4b = 117;
startY4c = 156;
startY4d = 201;
startY5a = 80;
startY5b = 117;
startY5c = 156;
startY5d = 201;
startY6a = 80;
startY6b = 117;
startY6c = 156;
startY6d = 201;
startY7a = 80;
startY7b = 117;
startY7c = 156;
startY7d = 201;
startY8a = 80;
startY8b = 117;
startY8c = 156;
startY8d = 201;
startY9a = 80;
startY9b = 117;
startY9c = 156;
startY9d = 201;
startY10a = 80;
startY10b = 117;
startY10c = 156;
startY10d = 201;
barTenderLocation = 1;
barTenderY1 = 99;
barTenderX1 = 430;
barTenderY2 = 130;
barTenderX2 = 445;
barTenderY3 = 173;
barTenderX3 = 468;
barTenderY4 = 221;
barTenderX4 = 500;
init = 1;
outTotal = 0;
emptyGlass1._x = emptyGlass1SX;
emptyGlass2._x = emptyGlass2SX;
emptyGlass3._x = emptyGlass3SX;
emptyGlass4._x = emptyGlass4SX;
emptyGlass5._x = emptyGlass5SX;
emptyGlass6._x = emptyGlass6SX;
emptyGlass7._x = emptyGlass7SX;
emptyGlass8._x = emptyGlass8SX;
emptyGlass1._y = emptyGlass1SY;
emptyGlass2._y = emptyGlass2SY;
emptyGlass3._y = emptyGlass3SY;
emptyGlass4._y = emptyGlass4SY;
emptyGlass5._y = emptyGlass5SY;
emptyGlass6._y = emptyGlass6SY;
emptyGlass7._y = emptyGlass7SY;
emptyGlass8._y = emptyGlass8SY;
glassMovie1._x = glassMovie1SX;
glassMovie2._x = glassMovie2SX;
glassMovie3._x = glassMovie3SX;
glassMovie4._x = glassMovie4SX;
glassMovie1._y = glassMovie1SY;
glassMovie2._y = glassMovie2SY;
glassMovie3._y = glassMovie3SY;
glassMovie4._y = glassMovie4SY;
with (glassMovie1) {
gotoAndStop(1);
}
with (glassMovie2) {
gotoAndStop(1);
}
with (glassMovie3) {
gotoAndStop(1);
}
with (glassMovie4) {
gotoAndStop(1);
}
with (glassMovie1.fullGlass) {
gotoAndStop(1);
}
with (glassMovie2.fullGlass) {
gotoAndStop(1);
}
with (glassMovie3.fullGlass) {
gotoAndStop(1);
}
with (glassMovie4.fullGlass) {
gotoAndStop(1);
}
with (emptyGlass1) {
gotoAndStop(1);
}
with (emptyGlass2) {
gotoAndStop(1);
}
with (emptyGlass3) {
gotoAndStop(1);
}
with (emptyGlass4) {
gotoAndStop(1);
}
with (emptyGlass5) {
gotoAndStop(1);
}
with (emptyGlass6) {
gotoAndStop(1);
}
with (emptyGlass7) {
gotoAndStop(1);
}
with (emptyGlass8) {
gotoAndStop(1);
}
drinker1a._x = drinker1aSX;
drinker2a._x = drinker2aSX;
drinker3a._x = drinker3aSX;
drinker4a._x = drinker4aSX;
drinker5a._x = drinker5aSX;
drinker6a._x = drinker6aSX;
drinker7a._x = drinker7aSX;
drinker8a._x = drinker8aSX;
drinker9a._x = drinker9aSX;
drinker10a._x = drinker10aSX;
drinker1b._x = drinker1bSX;
drinker2b._x = drinker2bSX;
drinker3b._x = drinker3bSX;
drinker4b._x = drinker4bSX;
drinker5b._x = drinker5bSX;
drinker6b._x = drinker6bSX;
drinker7b._x = drinker7bSX;
drinker8b._x = drinker8bSX;
drinker9b._x = drinker9bSX;
drinker10b._x = drinker10bSX;
drinker1c._x = drinker1cSX;
drinker2c._x = drinker2cSX;
drinker3c._x = drinker3cSX;
drinker4c._x = drinker4cSX;
drinker5c._x = drinker5cSX;
drinker6c._x = drinker6cSX;
drinker7c._x = drinker7cSX;
drinker8c._x = drinker8cSX;
drinker9c._x = drinker9cSX;
drinker10c._x = drinker10cSX;
drinker1d._x = drinker1dSX;
drinker2d._x = drinker2dSX;
drinker3d._x = drinker3dSX;
drinker4d._x = drinker4dSX;
drinker5d._x = drinker5dSX;
drinker6d._x = drinker6dSX;
drinker7d._x = drinker7dSX;
drinker8d._x = drinker8dSX;
drinker9d._x = drinker9dSX;
drinker10d._x = drinker10dSX;
drinker1a._y = drinker1aSY;
drinker2a._y = drinker2aSY;
drinker3a._y = drinker3aSY;
drinker4a._y = drinker4aSY;
drinker5a._y = drinker5aSY;
drinker6a._y = drinker6aSY;
drinker7a._y = drinker7aSY;
drinker8a._y = drinker8aSY;
drinker9a._y = drinker9aSY;
drinker10a._y = drinker10aSY;
drinker1b._y = drinker1bSY;
drinker2b._y = drinker2bSY;
drinker3b._y = drinker3bSY;
drinker4b._y = drinker4bSY;
drinker5b._y = drinker5bSY;
drinker6b._y = drinker6bSY;
drinker7b._y = drinker7bSY;
drinker8b._y = drinker8bSY;
drinker9b._y = drinker9bSY;
drinker10b._y = drinker10bSY;
drinker1c._y = drinker1cSY;
drinker2c._y = drinker2cSY;
drinker3c._y = drinker3cSY;
drinker4c._y = drinker4cSY;
drinker5c._y = drinker5cSY;
drinker6c._y = drinker6cSY;
drinker7c._y = drinker7cSY;
drinker8c._y = drinker8cSY;
drinker9c._y = drinker9cSY;
drinker10c._y = drinker10cSY;
drinker1d._y = drinker1dSY;
drinker2d._y = drinker2dSY;
drinker3d._y = drinker3dSY;
drinker4d._y = drinker4dSY;
drinker5d._y = drinker5dSY;
drinker6d._y = drinker6dSY;
drinker7d._y = drinker7dSY;
drinker8d._y = drinker8dSY;
drinker9d._y = drinker9dSY;
drinker10d._y = drinker10dSY;
if (init == 1) {
i = level;
eval (("drinker" + i) + "a")._x = eval (("startX" + i) + "a");
eval (("drinker" + i) + "a")._y = eval (("startY" + i) + "a");
with (eval (("drinker" + i) + "a")) {
gotoAndStop(1);
}
init = 0;
eval (("drinker" + i) + "b")._x = eval (("startX" + i) + "b");
eval (("drinker" + i) + "b")._y = eval (("startY" + i) + "b");
with (eval (("drinker" + i) + "b")) {
gotoAndStop(1);
}
init = 0;
eval (("drinker" + i) + "c")._x = eval (("startX" + i) + "c");
eval (("drinker" + i) + "c")._y = eval (("startY" + i) + "c");
with (eval (("drinker" + i) + "c")) {
gotoAndStop(1);
}
init = 0;
eval (("drinker" + i) + "d")._x = eval (("startX" + i) + "d");
eval (("drinker" + i) + "d")._y = eval (("startY" + i) + "d");
with (eval (("drinker" + i) + "d")) {
gotoAndStop(1);
}
init = 0;
with (_root.bardude) {
gotoAndStop(1);
}
}
Frame 142
drinkLimit = 50 + random(60);
i = level;
outTotal = 0;
glassRow = "a";
if (eval ("barEnd" + glassRow) < eval (("_root.drinker" + i) + glassRow)._x) {
gotoAndPlay (207);
}
if (eval (("_root.drinker" + i) + glassRow)._x < eval ("wallPos" + glassRow)) {
outTotal++;
if (eval (("_root.drinker" + i) + glassRow).out == 0) {
_root.score = _root.score + pointValue;
}
eval (("_root.drinker" + i) + glassRow).out = 1;
} else {
eval (("_root.drinker" + i) + glassRow).out = 0;
}
eval (("_root.drinker" + i) + glassRow)._x = eval (("_root.drinker" + i) + glassRow)._x + eval (("_root.drinker" + i) + glassRow).xSpeed;
glassRow = "b";
if (eval ("barEnd" + glassRow) < eval (("_root.drinker" + i) + glassRow)._x) {
gotoAndPlay (207);
}
if (eval (("_root.drinker" + i) + glassRow)._x < eval ("wallPos" + glassRow)) {
outTotal++;
if (eval (("_root.drinker" + i) + glassRow).out == 0) {
_root.score = _root.score + pointValue;
}
eval (("_root.drinker" + i) + glassRow).out = 1;
} else {
eval (("_root.drinker" + i) + glassRow).out = 0;
}
eval (("_root.drinker" + i) + glassRow)._x = eval (("_root.drinker" + i) + glassRow)._x + eval (("_root.drinker" + i) + glassRow).xSpeed;
glassRow = "c";
if (eval ("barEnd" + glassRow) < eval (("_root.drinker" + i) + glassRow)._x) {
gotoAndPlay (207);
}
if (eval (("_root.drinker" + i) + glassRow)._x < eval ("wallPos" + glassRow)) {
outTotal++;
if (eval (("_root.drinker" + i) + glassRow).out == 0) {
_root.score = _root.score + pointValue;
}
eval (("_root.drinker" + i) + glassRow).out = 1;
} else {
eval (("_root.drinker" + i) + glassRow).out = 0;
}
eval (("_root.drinker" + i) + glassRow)._x = eval (("_root.drinker" + i) + glassRow)._x + eval (("_root.drinker" + i) + glassRow).xSpeed;
glassRow = "d";
if (eval ("barEnd" + glassRow) < eval (("_root.drinker" + i) + glassRow)._x) {
gotoAndPlay (207);
}
if (eval (("_root.drinker" + i) + glassRow)._x < eval ("wallPos" + glassRow)) {
outTotal++;
if (eval (("_root.drinker" + i) + glassRow).out == 0) {
_root.score = _root.score + pointValue;
}
eval (("_root.drinker" + i) + glassRow).out = 1;
} else {
eval (("_root.drinker" + i) + glassRow).out = 0;
}
eval (("_root.drinker" + i) + glassRow)._x = eval (("_root.drinker" + i) + glassRow)._x + eval (("_root.drinker" + i) + glassRow).xSpeed;
i = 1;
while (glassNumber >= i) {
if (eval ("_root.used" + i) == 0) {
eval ("_root.glassMovie" + i)._y = eval ("barTenderY" + barTenderLocation);
eval ("_root.glassMovie" + i)._x = eval ("barTenderX" + barTenderLocation);
_root.bardude._y = eval ("barTenderY" + barTenderLocation);
_root.bardude._x = eval ("barTenderX" + barTenderLocation);
}
i++;
}
if (_root.launched == 1) {
if (_root.used1 == 0) {
_root.useBeer = 1;
} else if (_root.used2 == 0) {
_root.useBeer = 2;
} else if (_root.used3 == 0) {
_root.useBeer = 3;
} else if (_root.used4 == 0) {
_root.useBeer = 4;
}
Set("_root.used" + _root.useBeer, 1);
with (eval ("_root.glassMovie" + _root.useBeer)) {
play();
}
if (barTenderLocation == 1) {
Set("_root.glassRow" + _root.useBeer, "a");
} else if (bartenderLocation == 2) {
Set("_root.glassRow" + _root.useBeer, "b");
} else if (bartenderLocation == 3) {
Set("_root.glassRow" + _root.useBeer, "c");
} else if (bartenderLocation == 4) {
Set("_root.glassRow" + _root.useBeer, "d");
}
_root.useBeer = 0;
_root.launched = 0;
with (_root.bardude) {
gotoAndPlay(1);
}
}
Frame 143
j = 1;
while (glassNumber >= j) {
i = level;
glassRow = eval ("glassRow" + j);
if (((eval ("_root.glassMovie" + j).hitTest(_root.wall1) or eval ("_root.glassMovie" + j).hitTest(_root.wall2)) or eval ("_root.glassMovie" + j).hitTest(_root.wall3)) or eval ("_root.glassMovie" + j).hitTest(_root.wall4)) {
_root.wallHitFlag = 1;
with (_root.glassMovie1) {
stop();
_root.used1 = 0;
}
with (_root.glassMovie2) {
stop();
_root.used2 = 0;
}
with (_root.glassMovie3) {
stop();
_root.used3 = 0;
}
with (_root.glassMovie4) {
stop();
_root.used4 = 0;
}
with (eval (("_root.glassMovie" + j) + ".fullGlass")) {
gotoAndStop(2);
}
with (glassMovie1) {
stop();
}
with (glassMovie2) {
stop();
}
with (glassMovie3) {
stop();
}
with (glassMovie4) {
stop();
}
gotoAndPlay (157);
}
if (eval ("_root.glassMovie" + j).hitTest(eval (("_root.drinker" + i) + glassRow)) and (eval ((("_root.drinker" + i) + glassRow) + ".drinking") == 0)) {
Set(((("_root.drinker" + i) + glassRow) + ".drinkerHit") + j, 1);
Set((("_root.drinker" + i) + glassRow) + ".drinkerHit", 1);
}
if (eval (((("_root.drinker" + i) + glassRow) + ".drinkerHit") + j) == 1) {
Set(((("_root.drinker" + i) + glassRow) + ".drinkerHit") + j, 0);
eval (("_root.drinker" + i) + glassRow).xSpeed = drinkerFallbackSpeed;
eval (("_root.drinker" + i) + glassRow).drinking = 1;
with (eval (("_root.drinker" + i) + glassRow)) {
play();
}
with (eval ("_root.glassMovie" + j)) {
gotoAndStop(1);
}
Set("_root.used" + j, 0);
}
m = level;
glassRowi = "a";
currentX = eval ("_root.drinker" + m)._x;
if (eval (("_root.drinker" + m) + glassRowi).drinking == 1) {
eval (("_root.drinker" + m) + glassRowi).drinkerCount++;
if (eval (("_root.drinker" + m) + glassRowi).drinkerCount >= drinkLimit) {
with (eval (("_root.drinker" + m) + glassRowi)) {
gotoAndPlay(1);
}
eval (("_root.drinker" + m) + glassRowi).drinkerCount = 0;
eval (("_root.drinker" + m) + glassRowi).xSpeed = drinkerSpeed;
eval (("_root.drinker" + m) + glassRowi).drinking = 0;
g = 1;
if (eval ("wallPos" + glassRowi) < eval (("_root.drinker" + m) + glassRowi)._x) {
while (emptyNumber >= g) {
if (eval ("_root.returned" + g) == 0) {
Set("_root.returned" + g, 1);
eval ("_root.emptyGlass" + g)._x = eval (("_root.drinker" + m) + glassRowi)._x;
eval ("_root.emptyGlass" + g)._y = eval (("_root.drinker" + m) + glassRowi)._y;
Set("_root.emptySpeed" + g, _root.emptySpeed);
eval ("_root.emptyGlass" + g).row = 1;
g = _root.emptyNumber + 1;
}
g++;
}
}
}
}
glassRowi = "b";
currentX = eval ("_root.drinker" + m)._x;
if (eval (("_root.drinker" + m) + glassRowi).drinking == 1) {
eval (("_root.drinker" + m) + glassRowi).drinkerCount++;
if (eval (("_root.drinker" + m) + glassRowi).drinkerCount >= drinkLimit) {
with (eval (("_root.drinker" + m) + glassRowi)) {
gotoAndPlay(1);
}
eval (("_root.drinker" + m) + glassRowi).drinkerCount = 0;
eval (("_root.drinker" + m) + glassRowi).xSpeed = drinkerSpeed;
eval (("_root.drinker" + m) + glassRowi).drinking = 0;
g = 1;
if (eval ("wallPos" + glassRowi) < eval (("_root.drinker" + m) + glassRowi)._x) {
while (emptyNumber >= g) {
if (eval ("_root.returned" + g) == 0) {
Set("_root.returned" + g, 1);
eval ("_root.emptyGlass" + g)._x = eval (("_root.drinker" + m) + glassRowi)._x;
eval ("_root.emptyGlass" + g)._y = eval (("_root.drinker" + m) + glassRowi)._y;
Set("_root.emptySpeed" + g, _root.emptySpeed);
eval ("_root.emptyGlass" + g).row = 2;
g = _root.emptyNumber + 1;
}
g++;
}
}
}
}
glassRowi = "c";
currentX = eval ("_root.drinker" + m)._x;
if (eval (("_root.drinker" + m) + glassRowi).drinking == 1) {
eval (("_root.drinker" + m) + glassRowi).drinkerCount++;
if (eval (("_root.drinker" + m) + glassRowi).drinkerCount >= drinkLimit) {
with (eval (("_root.drinker" + m) + glassRowi)) {
gotoAndPlay(1);
}
eval (("_root.drinker" + m) + glassRowi).drinkerCount = 0;
eval (("_root.drinker" + m) + glassRowi).xSpeed = drinkerSpeed;
eval (("_root.drinker" + m) + glassRowi).drinking = 0;
g = 1;
if (eval ("wallPos" + glassRowi) < eval (("_root.drinker" + m) + glassRowi)._x) {
while (emptyNumber >= g) {
if (eval ("_root.returned" + g) == 0) {
Set("_root.returned" + g, 1);
eval ("_root.emptyGlass" + g)._x = eval (("_root.drinker" + m) + glassRowi)._x;
eval ("_root.emptyGlass" + g)._y = eval (("_root.drinker" + m) + glassRowi)._y;
Set("_root.emptySpeed" + g, _root.emptySpeed);
eval ("_root.emptyGlass" + g).row = 3;
g = _root.emptyNumber + 1;
}
g++;
}
}
}
}
glassRowi = "d";
currentX = eval ("_root.drinker" + m)._x;
if (eval (("_root.drinker" + m) + glassRowi).drinking == 1) {
eval (("_root.drinker" + m) + glassRowi).drinkerCount++;
if (eval (("_root.drinker" + m) + glassRowi).drinkerCount >= drinkLimit) {
with (eval (("_root.drinker" + m) + glassRowi)) {
gotoAndPlay(1);
}
eval (("_root.drinker" + m) + glassRowi).drinkerCount = 0;
eval (("_root.drinker" + m) + glassRowi).xSpeed = drinkerSpeed;
eval (("_root.drinker" + m) + glassRowi).drinking = 0;
g = 1;
if (eval ("wallPos" + glassRowi) < eval (("_root.drinker" + m) + glassRowi)._x) {
while (emptyNumber >= g) {
if (eval ("_root.returned" + g) == 0) {
Set("_root.returned" + g, 1);
eval ("_root.emptyGlass" + g)._x = eval (("_root.drinker" + m) + glassRowi)._x;
eval ("_root.emptyGlass" + g)._y = eval (("_root.drinker" + m) + glassRowi)._y;
Set("_root.emptySpeed" + g, _root.emptySpeed);
eval ("_root.emptyGlass" + g).row = 4;
g = _root.emptyNumber + 1;
}
g++;
}
}
}
}
j++;
}
k = 1;
while (emptyNumber >= k) {
eval ("_root.emptyGlass" + k)._x = eval ("_root.emptyGlass" + k)._x + eval ("_root.emptySpeed" + k);
if (eval ("_root.emptyGlass" + k).hitTest(_root.barEnd1) == 1) {
_root.floorHitFlag = 1;
with (eval ("_root.emptyGlass" + k)) {
play();
}
}
if (eval ("_root.emptyGlass" + k).hitTest(_root.barEnd2) == 1) {
_root.floorHitFlag = 1;
with (eval ("_root.emptyGlass" + k)) {
play();
}
}
if (eval ("_root.emptyGlass" + k).hitTest(_root.barEnd3) == 1) {
_root.floorHitFlag = 1;
with (eval ("_root.emptyGlass" + k)) {
play();
}
}
if (eval ("_root.emptyGlass" + k).hitTest(_root.barEnd4) == 1) {
_root.floorHitFlag = 1;
with (eval ("_root.emptyGlass" + k)) {
play();
}
}
if (eval ("_root.emptyGlass" + k).hitTest(_root.bardude) == 1) {
if (eval ("_root.emptyGlass" + k).row == _root.bartenderLocation) {
eval ("_root.emptyGlass" + k)._x = -100;
eval ("_root.emptyGlass" + k)._y = -100;
Set("_root.returned" + k, 0);
Set("_root.emptySpeed" + k, 0);
}
}
k++;
}
if (_root.wallHitFlag == 1) {
gotoAndPlay (157);
} else if (_root.outTotal == (_root.drinkerNumber * 4)) {
gotoAndPlay (259);
} else if (_root.floorHitFlag == 1) {
gotoAndPlay (207);
} else if ((_root.wallHitFlag == 0) and (_root.floorHitFlag == 0)) {
gotoAndPlay (142);
}
Frame 206
gotoAndStop (354);
Frame 258
gotoAndStop (354);
Frame 259
score = score + eval ("bonus" + level);
with (_root.glassMovie1) {
stop();
_root.used1 = 0;
}
with (_root.glassMovie2) {
stop();
_root.used2 = 0;
}
with (_root.glassMovie3) {
stop();
_root.used3 = 0;
}
with (_root.glassMovie4) {
stop();
_root.used4 = 0;
}
with (glassMovie1) {
stop();
}
with (glassMovie2) {
stop();
}
with (glassMovie3) {
stop();
}
with (glassMovie4) {
stop();
}
Frame 353
level++;
if (level < 10) {
gotoAndPlay (114);
} else if (level == 10) {
gotoAndStop (354);
}
Frame 354
play();
session_id = random(999999999);
xxx = "_level0.name";
Selection.setFocus(xxx);
confirmation = "N";
stopAllSounds();
Frame 362
stop();
Frame 363
loadVariablesNum ((((("http://games.amnesia.com.au/highscores/jacksbar/flashhighscore.cfm?name=" + name) + "&score=") + score) + "&session_id=") + session_id, 0);
Frame 380
if (confirmation == "YES") {
gotoAndPlay (383);
confirmation = "N";
} else {
gotoAndPlay (365);
}
Frame 403
stop();
Symbol 24 MovieClip Frame 1
if (this.sessionstarted != 1) {
this.arcade = new LoadVars();
this.sessionvars = new LoadVars();
this.arcade.gamename = "jacksbar";
this.arcade.sessdo = "sessionstart";
this.arcade.sendAndLoad("arcade.php", sessionvars, "POST");
this.sessionstarted = 1;
}
if (_root.gameover == 1) {
if ((this.askpermission != 1) && (this.sessionvars.connStatus == 1)) {
this.prequestvars = new LoadVars();
this.pranswer = new LoadVars();
this.prequestvars.gametime = this.sessionvars.gametime;
this.prequestvars.fakekey = this.sessionvars.initbar;
if (_root.score != 0) {
this.prequestvars.score = _root.score;
} else {
this.prequestvars.score = -1;
}
this.prequestvars.id = this.sessionvars.lastid;
this.prequestvars.sessdo = "permrequest";
this.prequestvars.note = (this.prequestvars.id * this.prequestvars.score) * this.prequestvars.fakekey;
this.prequestvars.sendAndLoad("./arcade.php", this.pranswer, "POST");
this.askpermission = 1;
}
if ((this.pranswer.validate == 1) && (this.finalsent != 1)) {
this.burnscore = new LoadVars();
this.burnscore.microone = this.pranswer.microone;
this.burnscore.gametime = this.prequestvars.gametime;
this.burnscore.id = this.prequestvars.id;
if (_root.score == 0) {
this.burnscore.noscore = 1;
}
this.burnscore.sessdo = "burn";
this.burnscore.send("./arcade.php", "_self", "POST");
this.finalsent = 1;
}
}
Symbol 61 MovieClip Frame 9
stop();
Symbol 101 Button
on (release) {
getURL ("http://www.amnesia.com.au", "_blank");
}
Symbol 108 Button
on (release) {
play();
}
Symbol 42 MovieClip Frame 1
stop();
Symbol 42 MovieClip Frame 2
stop();
Symbol 137 Button
on (release) {
gotoAndPlay (111);
}
Symbol 156 Button
on (release) {
gotoAndPlay (111);
}
Symbol 158 MovieClip Frame 1
stop();
Symbol 158 MovieClip Frame 2
stop();
Symbol 168 MovieClip Frame 1
stop();
Symbol 168 MovieClip Frame 2
stop();
Symbol 173 MovieClip Frame 1
stop();
Symbol 173 MovieClip Frame 2
stop();
Symbol 178 MovieClip Frame 1
stop();
Symbol 178 MovieClip Frame 2
stop();
Symbol 180 MovieClip Frame 1
stop();
Symbol 180 MovieClip Frame 2
stop();
Symbol 186 MovieClip Frame 1
stop();
Symbol 186 MovieClip Frame 2
stop();
Symbol 188 MovieClip Frame 1
stop();
Symbol 188 MovieClip Frame 2
stop();
Symbol 189 MovieClip Frame 1
stop();
Symbol 189 MovieClip Frame 2
stop();
Symbol 191 MovieClip Frame 1
stop();
Symbol 191 MovieClip Frame 2
stop();
Symbol 195 MovieClip Frame 1
stop();
Symbol 195 MovieClip Frame 2
stop();
Symbol 198 MovieClip Frame 1
stop();
Symbol 198 MovieClip Frame 2
stop();
Symbol 200 MovieClip Frame 1
stop();
Symbol 200 MovieClip Frame 2
stop();
Symbol 204 MovieClip Frame 1
stop();
Symbol 204 MovieClip Frame 2
stop();
Symbol 207 MovieClip Frame 1
stop();
Symbol 207 MovieClip Frame 2
stop();
Symbol 209 MovieClip Frame 1
stop();
Symbol 209 MovieClip Frame 2
stop();
Symbol 208 MovieClip Frame 1
stop();
Symbol 211 MovieClip Frame 1
stop();
Symbol 211 MovieClip Frame 7
_root.launched = 1;
stop();
Symbol 213 Button
on (release) {
level = 1;
_root.init = 1;
score = 0;
gotoAndPlay (114);
}
Symbol 234 Button
on (release, keyPress "<Space>") {
with (_root.bardude) {
play();
}
}
Symbol 236 Button
on (release, keyPress "<Down>") {
_root.barTenderLocation++;
if (4 < _root.barTenderLocation) {
_root.barTenderLocation = 1;
}
}
Symbol 237 Button
on (release, keyPress "<Up>") {
_root.barTenderLocation--;
if (_root.barTenderLocation < 1) {
_root.barTenderLocation = 4;
}
}
Symbol 238 Button
on (release, keyPress "<Space>") {
with (_root.bardude) {
play();
}
}
Symbol 239 Button
on (release, keyPress "<Down>") {
_root.barTenderLocation++;
if (4 < _root.barTenderLocation) {
_root.barTenderLocation = 1;
}
}
Symbol 240 Button
on (release, keyPress "<Up>") {
_root.barTenderLocation--;
if (_root.barTenderLocation < 1) {
_root.barTenderLocation = 4;
}
}
Symbol 252 Button
on (release) {
_root.gameover = 1;
}
Symbol 260 Button
on (release) {
score = 0;
gotoAndPlay (111);
play();
}
Symbol 261 Button
on (release) {
level = 1;
_root.init = 1;
score = 0;
gotoAndPlay (114);
}
Symbol 263 Button
on (release) {
_root.gameover = 1;
}