Frame 1
function smash_start() {
smashRandom = random(2) + 1;
if (smashRandom == 1) {
_root.smashSound1.start();
} else {
_root.smashSound2.start();
}
}
function pour_beer_start() {
_root.pour_beer.start();
}
function pour_beer_stop() {
_root.pour_beer.stop();
}
function thisMove(MovieName, moveVar) {
MovieName._x = MovieName._x + moveVar;
if (MovieName._x > 300) {
MovieName._x = -346;
}
}
fscommand ("fullscreen", "true");
fscommand ("showmenu", "false");
_root.lever1_state = false;
_root.lever2_state = false;
_root.spider_state = false;
_root.worm_state = false;
_root.cigarette_state = false;
_root.ice_state = false;
_root.speed = 0;
_root.depth = 0;
_root.temp_depth = 0;
_root.pint_glass_fall = false;
_root.tall_glass_fall = false;
_root.lever1_occupied = false;
_root.lever2_occupied = false;
_root.lever1_glass = 0;
_root.lever2_glass = 0;
_root.lever1_overflow = false;
_root.lever2_overflow = false;
_root.order_no = 0;
_root.make_order = false;
_root.new_customer = true;
_root.wait_for_order = false;
_root.drink_type = 0;
_root.current_drink_name = 0;
_root.order_accomplish = false;
_root.person_order = 0;
_root.speech_no = 0;
_root.current_drink_movie = 0;
_root.remove_animation = false;
_root.start_time = 90;
_root.drink_panel1_occupied = false;
_root.drink_panel2_occupied = false;
_root.drink_panel1_glass = 0;
_root.drink_panel2_glass = 0;
_root.drink_panel1_state = false;
_root.drink_panel2_state = false;
_root.drink_panel1_overflow = false;
_root.drink_panel2_overflow = false;
_root.latest_glass_movie = 0;
_root.prev_customer_no = 0;
_root.prev_speech_no = 0;
_root.score = 0;
_root.time_remaining = 60;
_root.game_duration = 0;
_root.speech_time_remaining = 20;
_root.lever1_timout = 30;
_root.lever2_timout = 30;
_root.drink_panel1_timout = 30;
_root.drink_panel2_timout = 30;
_root.vodka_glass = 0;
_root.whiskey_glass = 0;
_root.gameover_screen_timout = 0;
_root.player_level = 1;
_root.speech_thanks_no;
_root.game_finish = false;
increaseTime = setInterval(function () {
_root.score = _root.score + 20;
_root.time_remaining--;
_root.speech_time_remaining--;
_root.game_duration++;
_root.lever1_timout++;
_root.lever2_timout++;
_root.drink_panel1_timout++;
_root.drink_panel2_timout++;
_root.gameover_screen_timout++;
}, 1000);
_root.smashSound1 = new Sound(_root);
_root.smashSound1.attachSound("glass_smash1");
_root.smashSound2 = new Sound(_root);
_root.smashSound2.attachSound("glass_smash2");
_root.pour_beer = new Sound(_root);
_root.pour_beer.attachSound("pour_beer");
_root.ice_drink = new Sound(_root);
_root.ice_drink.attachSound("ice_drink");
_root.glass_onbar1 = new Sound(_root);
_root.glass_onbar1.attachSound("glass_onbar1");
_root.glass_onbar2 = new Sound(_root);
_root.glass_onbar2.attachSound("glass_onbar2");
_root.money = new Sound(_root);
_root.money.attachSound("money");
_root.ice_drop = new Sound(_root);
_root.ice_drop.attachSound("ice_drop");
_root.level_up = new Sound(_root);
_root.level_up.attachSound("level_up");
_root.intro_mus = new Sound(_root);
_root.intro_mus.attachSound("intro_mus");
_root.mus = new Sound(_root);
_root.mus.attachSound("mus");
stop();
Frame 2
stopAllSounds();
_root.intro_mus.start(0, 99);
_root.lever1_state = false;
_root.lever2_state = false;
_root.spider_state = false;
_root.worm_state = false;
_root.cigarette_state = false;
_root.ice_state = false;
_root.speed = 0;
_root.pint_glass_fall = false;
_root.tall_glass_fall = false;
_root.lever1_occupied = false;
_root.lever2_occupied = false;
_root.lever1_glass = 0;
_root.lever2_glass = 0;
_root.lever1_overflow = false;
_root.lever2_overflow = false;
_root.order_no = 0;
_root.make_order = false;
_root.new_customer = true;
_root.wait_for_order = false;
_root.drink_type = 0;
_root.current_drink_name = 0;
_root.order_accomplish = false;
_root.person_order = 0;
_root.speech_no = 0;
_root.current_drink_movie = 0;
_root.remove_animation = false;
_root.start_time = 90;
_root.drink_panel1_occupied = false;
_root.drink_panel2_occupied = false;
_root.drink_panel1_glass = 0;
_root.drink_panel2_glass = 0;
_root.drink_panel1_state = false;
_root.drink_panel2_state = false;
_root.drink_panel1_overflow = false;
_root.drink_panel2_overflow = false;
_root.latest_glass_movie = 0;
_root.prev_customer_no = 0;
_root.prev_speech_no = 0;
_root.score = 0;
_root.time_remaining = 60;
_root.game_duration = 0;
_root.speech_time_remaining = 20;
_root.lever1_timout = 30;
_root.lever2_timout = 30;
_root.drink_panel1_timout = 30;
_root.drink_panel2_timout = 30;
_root.vodka_glass = 0;
_root.whiskey_glass = 0;
_root.gameover_screen_timout = 0;
_root.player_level = 1;
_root.speech_thanks_no;
_root.game_finish = false;
_root.lever1.gotoAndStop(1);
_root.lever2.gotoAndStop(1);
_root.beer_pour1.gotoAndStop(1);
_root.beer_pour2.gotoAndStop(1);
_root.coke_pour.gotoAndStop(1);
_root.lemon_pour.gotoAndStop(1);
_root.vodka.gotoAndStop(2);
_root.whiskey.gotoAndStop(2);
_root.mov_drips1.gotoAndStop(1);
_root.mov_drips2.gotoAndStop(1);
removeMovieClip(_root["tall_glass" + _root.depth]);
removeMovieClip(_root["pint_glass" + _root.depth]);
_root.depth--;
removeMovieClip(_root["tall_glass" + _root.depth]);
removeMovieClip(_root["pint_glass" + _root.depth]);
_root.depth--;
removeMovieClip(_root["tall_glass" + _root.depth]);
removeMovieClip(_root["pint_glass" + _root.depth]);
_root.depth--;
removeMovieClip(_root["tall_glass" + _root.depth]);
removeMovieClip(_root["pint_glass" + _root.depth]);
_root.depth--;
removeMovieClip(_root["tall_glass" + _root.depth]);
removeMovieClip(_root["pint_glass" + _root.depth]);
_root.depth--;
removeMovieClip(_root["tall_glass" + _root.depth]);
removeMovieClip(_root["pint_glass" + _root.depth]);
_root.depth--;
removeMovieClip(_root["tall_glass" + _root.depth]);
removeMovieClip(_root["pint_glass" + _root.depth]);
_root.depth--;
removeMovieClip(_root["tall_glass" + _root.depth]);
removeMovieClip(_root["pint_glass" + _root.depth]);
_root.depth--;
removeMovieClip(_root["tall_glass" + _root.depth]);
removeMovieClip(_root["pint_glass" + _root.depth]);
_root.depth--;
removeMovieClip(_root["tall_glass" + _root.depth]);
removeMovieClip(_root["pint_glass" + _root.depth]);
_root.depth--;
removeMovieClip(_root["tall_glass" + _root.depth]);
removeMovieClip(_root["pint_glass" + _root.depth]);
_root.depth--;
removeMovieClip(_root["tall_glass" + _root.depth]);
removeMovieClip(_root["pint_glass" + _root.depth]);
_root.depth--;
removeMovieClip(_root["tall_glass" + _root.depth]);
removeMovieClip(_root["pint_glass" + _root.depth]);
_root.depth--;
removeMovieClip(_root["tall_glass" + _root.depth]);
removeMovieClip(_root["pint_glass" + _root.depth]);
_root.depth--;
removeMovieClip(_root["tall_glass" + _root.depth]);
removeMovieClip(_root["pint_glass" + _root.depth]);
_root.depth--;
removeMovieClip(_root["tall_glass" + _root.depth]);
removeMovieClip(_root["pint_glass" + _root.depth]);
_root.depth--;
removeMovieClip(_root["tall_glass" + _root.depth]);
removeMovieClip(_root["pint_glass" + _root.depth]);
_root.depth--;
removeMovieClip(_root["tall_glass" + _root.depth]);
removeMovieClip(_root["pint_glass" + _root.depth]);
_root.depth--;
removeMovieClip(_root["tall_glass" + _root.depth]);
removeMovieClip(_root["pint_glass" + _root.depth]);
_root.depth--;
removeMovieClip(_root["tall_glass" + _root.depth]);
removeMovieClip(_root["pint_glass" + _root.depth]);
_root.depth--;
removeMovieClip(_root["tall_glass" + _root.depth]);
removeMovieClip(_root["pint_glass" + _root.depth]);
_root.depth--;
removeMovieClip(_root["tall_glass" + _root.depth]);
removeMovieClip(_root["pint_glass" + _root.depth]);
_root.depth--;
removeMovieClip(_root["tall_glass" + _root.depth]);
removeMovieClip(_root["pint_glass" + _root.depth]);
_root.depth--;
removeMovieClip(_root["tall_glass" + _root.depth]);
removeMovieClip(_root["pint_glass" + _root.depth]);
_root.depth--;
removeMovieClip(_root["tall_glass" + _root.depth]);
removeMovieClip(_root["pint_glass" + _root.depth]);
_root.depth--;
removeMovieClip(_root["tall_glass" + _root.depth]);
removeMovieClip(_root["pint_glass" + _root.depth]);
_root.depth--;
removeMovieClip(_root["tall_glass" + _root.depth]);
removeMovieClip(_root["pint_glass" + _root.depth]);
_root.depth--;
removeMovieClip(_root["tall_glass" + _root.depth]);
removeMovieClip(_root["pint_glass" + _root.depth]);
_root.depth--;
removeMovieClip(_root["tall_glass" + _root.depth]);
removeMovieClip(_root["pint_glass" + _root.depth]);
_root.depth--;
removeMovieClip(_root["tall_glass" + _root.depth]);
removeMovieClip(_root["pint_glass" + _root.depth]);
_root.depth--;
removeMovieClip(_root["tall_glass" + _root.depth]);
removeMovieClip(_root["pint_glass" + _root.depth]);
_root.depth--;
removeMovieClip(_root["tall_glass" + _root.depth]);
removeMovieClip(_root["pint_glass" + _root.depth]);
_root.depth--;
removeMovieClip(_root["tall_glass" + _root.depth]);
removeMovieClip(_root["pint_glass" + _root.depth]);
_root.depth--;
removeMovieClip(_root["tall_glass" + _root.depth]);
removeMovieClip(_root["pint_glass" + _root.depth]);
_root.depth--;
removeMovieClip(_root["tall_glass" + _root.depth]);
removeMovieClip(_root["pint_glass" + _root.depth]);
_root.depth--;
removeMovieClip(_root["tall_glass" + _root.depth]);
removeMovieClip(_root["pint_glass" + _root.depth]);
_root.depth--;
removeMovieClip(_root["tall_glass" + _root.depth]);
removeMovieClip(_root["pint_glass" + _root.depth]);
_root.depth--;
removeMovieClip(_root["tall_glass" + _root.depth]);
removeMovieClip(_root["pint_glass" + _root.depth]);
_root.depth--;
removeMovieClip(_root["tall_glass" + _root.depth]);
removeMovieClip(_root["pint_glass" + _root.depth]);
_root.depth--;
removeMovieClip(_root["tall_glass" + _root.depth]);
removeMovieClip(_root["pint_glass" + _root.depth]);
_root.depth--;
_root.temp_depth = 0;
_root.depth = 0;
stop();
Frame 4
stopAllSounds();
_root.mus.start(0, 99);
setInterval(function () {
if (_root.time_remaining == 0) {
_root.time_remaining = 99;
_root.game_finish = true;
_root.final_score = _root.score;
_root.gameover_screen_timout = 0;
_root.end.play();
}
if (_root.game_finish == true) {
_root.score = 0;
_root.time_remaining = 99;
if (_root.gameover_screen_timout == 30) {
_root.gotoAndStop(2);
_root.end.gotoAndStop(1);
}
} else if (_root.game_duration == 120) {
_root.game_duration = 0;
_root.player_level++;
_root.display_level.play(_root.player_level);
_root.level_up.start();
}
if (_root.lever1_timout == 17) {
lever1.gotoAndPlay(13);
_root.lever1_timout = 30;
}
if (_root.lever2_timout == 17) {
lever2.gotoAndPlay(13);
_root.lever2_timout = 30;
}
if (_root.drink_panel1_timout == 5) {
_root.drink_panel1_timout = 30;
_root.drink_panel1_state = false;
_root.coke_pour.gotoAndStop(1);
_root.drink_panel1_glass.glass.stop();
}
if (_root.drink_panel2_timout == 5) {
_root.drink_panel2_timout = 30;
_root.drink_panel2_state = false;
_root.lemon_pour.gotoAndStop(1);
_root.drink_panel2_glass.glass.stop();
}
if (_root.new_customer == true) {
trace("here i come");
_root.customer_no = random(9) + 2;
if (_root.customer_no != _root.prev_customer_no) {
_root.customers.gotoAndStop(customer_no);
_root.new_customer = false;
}
}
if (_root.make_order == true) {
_root.speech_no = random(20) + 2;
if (_root.speech_no != _root.prev_speech_no) {
_root.order_no++;
_root.speech._alpha = 100;
_root.speech.gotoAndStop(_root.speech_no);
_root.make_order = false;
_root.wait_for_order = true;
if (_root.player_level == 1) {
_root.speech_time_remaining = 40;
} else if (_root.player_level == 2) {
_root.speech_time_remaining = 30;
} else if (_root.player_level == 3) {
_root.speech_time_remaining = 20;
} else if (_root.player_level == 4) {
_root.speech_time_remaining = 15;
} else if (_root.player_level == 5) {
_root.speech_time_remaining = 10;
} else if (_root.player_level == 6) {
_root.speech_time_remaining = 5;
} else if (_root.player_level == 7) {
_root.speech_time_remaining = 3;
}
}
}
if (_root.start_time != 0) {
_root.start_time--;
} else {
if (_root.wait_for_order == true) {
if ((_root.current_drink_type == _root["order" + _root.order_no][0][1]) && (_root["order" + _root.order_no][0][2] > 0)) {
_root["order" + _root.order_no][0][2]--;
trace("nice one1");
_root.remove_animation = true;
trace(_root["order" + _root.order_no]);
if ((_root.current_drink_type == "beer1") || (_root.current_drink_type == "beer2")) {
_root.bonus_drink.gotoAndStop("3sec");
_root.time_remaining = _root.time_remaining + 3;
} else {
_root.bonus_drink.gotoAndStop("3sec");
_root.time_remaining = _root.time_remaining + 3;
}
_root.speech_thanks_no = random(9) + 2;
if (_root.speech_thanks_no != _root.prev_speech_thanks_no) {
_root.speech_general.gotoAndStop(_root.speech_thanks_no);
}
}
if ((_root["order" + _root.order_no][0][2] == 0) && (_root["order" + _root.order_no][0][0] == "notok")) {
_root["order" + _root.order_no][0][0] = "ok";
trace(_root["order" + _root.order_no]);
}
if (_root["order" + _root.order_no][0][0] != "ok") {
_root.order_accomplish = false;
}
if ((_root.current_drink_type == _root["order" + _root.order_no][1][1]) && (_root["order" + _root.order_no][1][2] > 0)) {
_root["order" + _root.order_no][1][2]--;
trace("nice one2");
_root.remove_animation = true;
trace(_root["order" + _root.order_no]);
if ((_root.current_drink_type == "beer1") || (_root.current_drink_type == "beer2")) {
_root.bonus_drink.gotoAndStop("3sec");
_root.time_remaining = _root.time_remaining + 3;
} else {
_root.bonus_drink.gotoAndStop("3sec");
_root.time_remaining = _root.time_remaining + 3;
}
_root.speech_thanks_no = random(10) + 2;
if (_root.speech_thanks_no != _root.prev_speech_thanks_no) {
_root.speech_general.gotoAndStop(_root.speech_thanks_no);
}
}
if ((_root["order" + _root.order_no][1][2] == 0) && (_root["order" + _root.order_no][1][0] == "notok")) {
_root["order" + _root.order_no][1][0] = "ok";
}
if (_root["order" + _root.order_no][1][0] != "ok") {
_root.order_accomplish = false;
}
if ((_root.current_drink_type == _root["order" + _root.order_no][2][1]) && (_root["order" + _root.order_no][2][2] > 0)) {
_root["order" + _root.order_no][2][2]--;
trace("nice one3");
_root.remove_animation = true;
trace(_root["order" + _root.order_no]);
if ((_root.current_drink_type == "beer1") || (_root.current_drink_type == "beer2")) {
_root.bonus_drink.gotoAndStop("3sec");
_root.time_remaining = _root.time_remaining + 3;
} else {
_root.bonus_drink.gotoAndStop("3sec");
_root.time_remaining = _root.time_remaining + 3;
}
_root.speech_thanks_no = random(7) + 2;
if (_root.speech_thanks_no != _root.prev_speech_thanks_no) {
_root.speech_general.gotoAndStop(_root.speech_thanks_no);
}
}
if ((_root["order" + _root.order_no][2][2] == 0) && (_root["order" + _root.order_no][2][0] == "notok")) {
_root["order" + _root.order_no][2][0] = "ok";
}
if (_root["order" + _root.order_no][2][0] != "ok") {
_root.order_accomplish = false;
}
if ((_root.current_drink_type == _root["order" + _root.order_no][3][1]) && (_root["order" + _root.order_no][3][2] > 0)) {
_root["order" + _root.order_no][3][2]--;
trace("nice one4");
_root.remove_animation = true;
trace(_root["order" + _root.order_no]);
if ((_root.current_drink_type == "beer1") || (_root.current_drink_type == "beer2")) {
_root.bonus_drink.gotoAndStop("3sec");
_root.time_remaining = _root.time_remaining + 3;
} else {
_root.bonus_drink.gotoAndStop("3sec");
_root.time_remaining = _root.time_remaining + 3;
}
_root.speech_thanks_no = random(7) + 2;
if (_root.speech_thanks_no != _root.prev_speech_thanks_no) {
_root.speech_general.gotoAndStop(_root.speech_thanks_no);
}
}
_root.current_drink_type = 0;
if ((_root["order" + _root.order_no][3][2] == 0) && (_root["order" + _root.order_no][3][0] == "notok")) {
_root["order" + _root.order_no][3][0] = "ok";
}
if (_root["order" + _root.order_no][3][0] != "ok") {
_root.order_accomplish = false;
}
}
if (_root.remove_animation == true) {
_root.current_drink_movie._alpha = _root.current_drink_movie._alpha - 10;
if (_root.current_drink_movie._alpha < 1) {
_root.remove_animation = false;
removeMovieClip(_root.current_drink_movie);
}
}
if (_root.order_accomplish == true) {
_root.prev_customer_no = _root.customer_no;
_root.prev_speech_no = _root.speech_no;
_root.money.start();
_root.customer_no--;
_root.customers["customer" + _root.customer_no].gotoAndStop("leave");
_root.order_accomplish = false;
_root.wait_for_order = false;
_root.speech.gotoAndStop(1);
_root.time_remaining = _root.time_remaining + 5;
_root.bonus_order.gotoAndStop("5sec");
_root.speech_general_no = random(7) + 2;
_root.speech_general.gotoAndStop(_root.speech_general_no);
}
if (_root.wait_for_order == true) {
_root.order_accomplish = true;
}
}
_root.prev_speech_thanks_no == _root.speech_thanks_no;
if (_root.speech_time_remaining <= 0) {
_root.speech._alpha--;
}
}, 50);
stop();
Instance of Symbol 127 MovieClip "end" in Frame 4
onClipEvent (load) {
this.swapDepths(32004);
}
Instance of Symbol 138 MovieClip "spider" in Frame 4
onClipEvent (load) {
spider_xpos = this._x;
spider_ypos = this._y;
}
Instance of Symbol 150 MovieClip "bonus_order" in Frame 4
onClipEvent (load) {
this.swapDepths(32001);
}
Instance of Symbol 150 MovieClip "bonus_drink" in Frame 4
onClipEvent (load) {
this.swapDepths(32001);
}
Instance of Symbol 219 MovieClip "vodka" in Frame 4
on (press) {
startDrag (_root.vodka, true);
}
on (release) {
stopDrag();
_root.vodka.gotoAndStop(2);
}
Instance of Symbol 222 MovieClip "whiskey" in Frame 4
on (press) {
startDrag (_root.whiskey, true);
}
on (release) {
stopDrag();
_root.whiskey.gotoAndStop(2);
}
Instance of Symbol 274 MovieClip "cigarette" in Frame 4
onClipEvent (load) {
fag_xpos = this._x;
fag_ypos = this._y;
trace("ypos of fagman is ");
trace(fag_ypos);
}
Instance of Symbol 323 MovieClip "lever2" in Frame 4
on (press) {
_root.lever2.play();
_root.lever2_timout = 0;
}
Instance of Symbol 324 MovieClip "lever1" in Frame 4
on (press) {
_root.lever1.play();
_root.lever1_timout = 0;
}
Instance of Symbol 346 MovieClip "worm" in Frame 4
onClipEvent (load) {
worm_xpos = this._x;
worm_ypos = this._y;
worm_rotation = this._rotation;
trace("worm ypos start" + _root.worm.worm_ypos);
}
onClipEvent (enterFrame) {
if (_root.worm_state == false) {
this._x = this._x + 0.4;
}
}
Symbol 17 MovieClip Frame 1
bytes_loaded = Math.round(_root.getBytesLoaded());
bytes_total = Math.round(_root.getBytesTotal());
getPercent = bytes_loaded / bytes_total;
loadBar._width = getPercent * 100;
loadText = Math.round(getPercent * 100) + "%";
if (bytes_loaded == bytes_total) {
_root.gotoAndPlay(2);
}
Symbol 17 MovieClip Frame 2
gotoAndPlay (1);
Symbol 27 Button
on (release) {
_root.lever1_state = false;
_root.lever2_state = false;
_root.spider_state = false;
_root.worm_state = false;
_root.cigarette_state = false;
_root.ice_state = false;
_root.speed = 0;
_root.depth = 0;
_root.temp_depth = 0;
_root.pint_glass_fall = false;
_root.tall_glass_fall = false;
_root.lever1_occupied = false;
_root.lever2_occupied = false;
_root.lever1_glass = 0;
_root.lever2_glass = 0;
_root.lever1_overflow = false;
_root.lever2_overflow = false;
_root.order_no = 0;
_root.make_order = false;
_root.new_customer = true;
_root.wait_for_order = false;
_root.drink_type = 0;
_root.current_drink_name = 0;
_root.order_accomplish = false;
_root.person_order = 0;
_root.speech_no = 0;
_root.current_drink_movie = 0;
_root.remove_animation = false;
_root.start_time = 90;
_root.drink_panel1_occupied = false;
_root.drink_panel2_occupied = false;
_root.drink_panel1_glass = 0;
_root.drink_panel2_glass = 0;
_root.drink_panel1_state = false;
_root.drink_panel2_state = false;
_root.drink_panel1_overflow = false;
_root.drink_panel2_overflow = false;
_root.latest_glass_movie = 0;
_root.prev_customer_no = 0;
_root.prev_speech_no = 0;
_root.score = 0;
_root.time_remaining = 60;
_root.game_duration = 0;
_root.speech_time_remaining = 20;
_root.lever1_timout = 30;
_root.lever2_timout = 30;
_root.drink_panel1_timout = 30;
_root.drink_panel2_timout = 30;
_root.vodka_glass = 0;
_root.whiskey_glass = 0;
_root.gameover_screen_timout = 0;
_root.player_level = 1;
_root.speech_thanks_no;
_root.game_finish = false;
_root.lever1.gotoAndStop(1);
_root.lever2.gotoAndStop(1);
_root.beer_pour1.gotoAndStop(1);
_root.beer_pour2.gotoAndStop(1);
_root.coke_pour.gotoAndStop(1);
_root.lemon_pour.gotoAndStop(1);
_root.vodka.gotoAndStop(2);
_root.whiskey.gotoAndStop(2);
_root.mov_drips1.gotoAndStop(1);
_root.mov_drips2.gotoAndStop(1);
_root.temp_depth = 0;
_root.depth = 0;
this.gotoAndPlay(3);
}
Symbol 70 MovieClip Frame 1
stop();
Symbol 70 MovieClip Frame 2
this.fill_level = 1;
Symbol 70 MovieClip Frame 80
this.fill_level = 2;
this._parent.drink_type = this._parent.temp_drink_type;
stop();
Symbol 70 MovieClip Frame 81
this.fill_level = 1;
Symbol 70 MovieClip Frame 159
this.fill_level = 2;
this._parent.drink_type = this._parent.temp_drink_type;
stop();
Instance of Symbol 31 MovieClip "movie51" in Symbol 93 MovieClip Frame 1
onClipEvent (enterFrame) {
_root.thisMove(this, 6);
}
Instance of Symbol 31 MovieClip "movie34" in Symbol 93 MovieClip Frame 1
onClipEvent (enterFrame) {
_root.thisMove(this, 4);
}
Instance of Symbol 31 MovieClip "movie7" in Symbol 93 MovieClip Frame 1
onClipEvent (enterFrame) {
_root.thisMove(this, 3);
}
Instance of Symbol 31 MovieClip "movie3" in Symbol 93 MovieClip Frame 1
onClipEvent (enterFrame) {
_root.thisMove(this, 3);
}
Instance of Symbol 31 MovieClip "movie3" in Symbol 93 MovieClip Frame 1
onClipEvent (enterFrame) {
_root.thisMove(this, 5);
}
Instance of Symbol 31 MovieClip "movie51" in Symbol 93 MovieClip Frame 1
onClipEvent (enterFrame) {
_root.thisMove(this, 4);
}
Instance of Symbol 31 MovieClip "movie51" in Symbol 93 MovieClip Frame 1
onClipEvent (enterFrame) {
_root.thisMove(this, 1);
}
Instance of Symbol 31 MovieClip "movie51" in Symbol 93 MovieClip Frame 1
onClipEvent (enterFrame) {
_root.thisMove(this, 5);
}
Instance of Symbol 31 MovieClip "movie1" in Symbol 93 MovieClip Frame 1
onClipEvent (enterFrame) {
_root.thisMove(this, 1);
}
Instance of Symbol 31 MovieClip "movie3" in Symbol 93 MovieClip Frame 1
onClipEvent (enterFrame) {
_root.thisMove(this, 3);
}
Instance of Symbol 31 MovieClip "movie2" in Symbol 93 MovieClip Frame 1
onClipEvent (enterFrame) {
_root.thisMove(this, 7);
}
Instance of Symbol 31 MovieClip "movie4" in Symbol 93 MovieClip Frame 1
onClipEvent (enterFrame) {
_root.thisMove(this, 0.5);
}
Instance of Symbol 31 MovieClip "movie5" in Symbol 93 MovieClip Frame 1
onClipEvent (enterFrame) {
_root.thisMove(this, 2);
}
Symbol 105 MovieClip Frame 1
stop();
Symbol 105 MovieClip Frame 456
_root.help.help_on = true;
stop();
Symbol 109 Button
on (release) {
if (_root.help.help_on == true) {
_root.help.gotoAndStop(1);
_root.help.help_on = false;
} else {
_root.help.play();
_root.help.help_on = true;
}
}
Instance of Symbol 31 MovieClip "movie51" in Symbol 112 MovieClip Frame 1
onClipEvent (enterFrame) {
_root.thisMove(this, 6);
}
Instance of Symbol 31 MovieClip "movie34" in Symbol 112 MovieClip Frame 1
onClipEvent (enterFrame) {
_root.thisMove(this, 4);
}
Instance of Symbol 31 MovieClip "movie7" in Symbol 112 MovieClip Frame 1
onClipEvent (enterFrame) {
_root.thisMove(this, 3);
}
Instance of Symbol 31 MovieClip "movie3" in Symbol 112 MovieClip Frame 1
onClipEvent (enterFrame) {
_root.thisMove(this, 3);
}
Instance of Symbol 31 MovieClip "movie3" in Symbol 112 MovieClip Frame 1
onClipEvent (enterFrame) {
_root.thisMove(this, 5);
}
Instance of Symbol 31 MovieClip "movie51" in Symbol 112 MovieClip Frame 1
onClipEvent (enterFrame) {
_root.thisMove(this, 4);
}
Instance of Symbol 31 MovieClip "movie51" in Symbol 112 MovieClip Frame 1
onClipEvent (enterFrame) {
_root.thisMove(this, 1);
}
Instance of Symbol 31 MovieClip "movie51" in Symbol 112 MovieClip Frame 1
onClipEvent (enterFrame) {
_root.thisMove(this, 5);
}
Instance of Symbol 31 MovieClip "movie1" in Symbol 112 MovieClip Frame 1
onClipEvent (enterFrame) {
_root.thisMove(this, 1);
}
Instance of Symbol 31 MovieClip "movie3" in Symbol 112 MovieClip Frame 1
onClipEvent (enterFrame) {
_root.thisMove(this, 3);
}
Instance of Symbol 31 MovieClip "movie2" in Symbol 112 MovieClip Frame 1
onClipEvent (enterFrame) {
_root.thisMove(this, 7);
}
Instance of Symbol 31 MovieClip "movie4" in Symbol 112 MovieClip Frame 1
onClipEvent (enterFrame) {
_root.thisMove(this, 0.5);
}
Instance of Symbol 31 MovieClip "movie5" in Symbol 112 MovieClip Frame 1
onClipEvent (enterFrame) {
_root.thisMove(this, 2);
}
Symbol 119 Button
on (release) {
_root.lever1_state = false;
_root.lever2_state = false;
_root.spider_state = false;
_root.worm_state = false;
_root.cigarette_state = false;
_root.ice_state = false;
_root.speed = 0;
_root.pint_glass_fall = false;
_root.tall_glass_fall = false;
_root.lever1_occupied = false;
_root.lever2_occupied = false;
_root.lever1_glass = 0;
_root.lever2_glass = 0;
_root.lever1_overflow = false;
_root.lever2_overflow = false;
_root.order_no = 0;
_root.make_order = false;
_root.new_customer = true;
_root.wait_for_order = false;
_root.drink_type = 0;
_root.current_drink_name = 0;
_root.order_accomplish = false;
_root.person_order = 0;
_root.speech_no = 0;
_root.current_drink_movie = 0;
_root.remove_animation = false;
_root.start_time = 90;
_root.drink_panel1_occupied = false;
_root.drink_panel2_occupied = false;
_root.drink_panel1_glass = 0;
_root.drink_panel2_glass = 0;
_root.drink_panel1_state = false;
_root.drink_panel2_state = false;
_root.drink_panel1_overflow = false;
_root.drink_panel2_overflow = false;
_root.latest_glass_movie = 0;
_root.prev_customer_no = 0;
_root.prev_speech_no = 0;
_root.score = 0;
_root.time_remaining = 60;
_root.game_duration = 0;
_root.speech_time_remaining = 20;
_root.lever1_timout = 30;
_root.lever2_timout = 30;
_root.drink_panel1_timout = 30;
_root.drink_panel2_timout = 30;
_root.vodka_glass = 0;
_root.whiskey_glass = 0;
_root.gameover_screen_timout = 0;
_root.player_level = 1;
_root.speech_thanks_no;
_root.game_finish = false;
_root.lever1.gotoAndStop(1);
_root.lever2.gotoAndStop(1);
_root.beer_pour1.gotoAndStop(1);
_root.beer_pour2.gotoAndStop(1);
_root.coke_pour.gotoAndStop(1);
_root.lemon_pour.gotoAndStop(1);
_root.vodka.gotoAndStop(2);
_root.whiskey.gotoAndStop(2);
_root.mov_drips1.gotoAndStop(1);
_root.mov_drips2.gotoAndStop(1);
removeMovieClip(_root["tall_glass" + _root.depth]);
removeMovieClip(_root["pint_glass" + _root.depth]);
_root.depth--;
removeMovieClip(_root["tall_glass" + _root.depth]);
removeMovieClip(_root["pint_glass" + _root.depth]);
_root.depth--;
removeMovieClip(_root["tall_glass" + _root.depth]);
removeMovieClip(_root["pint_glass" + _root.depth]);
_root.depth--;
removeMovieClip(_root["tall_glass" + _root.depth]);
removeMovieClip(_root["pint_glass" + _root.depth]);
_root.depth--;
removeMovieClip(_root["tall_glass" + _root.depth]);
removeMovieClip(_root["pint_glass" + _root.depth]);
_root.depth--;
removeMovieClip(_root["tall_glass" + _root.depth]);
removeMovieClip(_root["pint_glass" + _root.depth]);
_root.depth--;
removeMovieClip(_root["tall_glass" + _root.depth]);
removeMovieClip(_root["pint_glass" + _root.depth]);
_root.depth--;
removeMovieClip(_root["tall_glass" + _root.depth]);
removeMovieClip(_root["pint_glass" + _root.depth]);
_root.depth--;
removeMovieClip(_root["tall_glass" + _root.depth]);
removeMovieClip(_root["pint_glass" + _root.depth]);
_root.depth--;
removeMovieClip(_root["tall_glass" + _root.depth]);
removeMovieClip(_root["pint_glass" + _root.depth]);
_root.depth--;
removeMovieClip(_root["tall_glass" + _root.depth]);
removeMovieClip(_root["pint_glass" + _root.depth]);
_root.depth--;
removeMovieClip(_root["tall_glass" + _root.depth]);
removeMovieClip(_root["pint_glass" + _root.depth]);
_root.depth--;
removeMovieClip(_root["tall_glass" + _root.depth]);
removeMovieClip(_root["pint_glass" + _root.depth]);
_root.depth--;
removeMovieClip(_root["tall_glass" + _root.depth]);
removeMovieClip(_root["pint_glass" + _root.depth]);
_root.depth--;
removeMovieClip(_root["tall_glass" + _root.depth]);
removeMovieClip(_root["pint_glass" + _root.depth]);
_root.depth--;
removeMovieClip(_root["tall_glass" + _root.depth]);
removeMovieClip(_root["pint_glass" + _root.depth]);
_root.depth--;
removeMovieClip(_root["tall_glass" + _root.depth]);
removeMovieClip(_root["pint_glass" + _root.depth]);
_root.depth--;
removeMovieClip(_root["tall_glass" + _root.depth]);
removeMovieClip(_root["pint_glass" + _root.depth]);
_root.depth--;
removeMovieClip(_root["tall_glass" + _root.depth]);
removeMovieClip(_root["pint_glass" + _root.depth]);
_root.depth--;
removeMovieClip(_root["tall_glass" + _root.depth]);
removeMovieClip(_root["pint_glass" + _root.depth]);
_root.depth--;
removeMovieClip(_root["tall_glass" + _root.depth]);
removeMovieClip(_root["pint_glass" + _root.depth]);
_root.depth--;
removeMovieClip(_root["tall_glass" + _root.depth]);
removeMovieClip(_root["pint_glass" + _root.depth]);
_root.depth--;
removeMovieClip(_root["tall_glass" + _root.depth]);
removeMovieClip(_root["pint_glass" + _root.depth]);
_root.depth--;
removeMovieClip(_root["tall_glass" + _root.depth]);
removeMovieClip(_root["pint_glass" + _root.depth]);
_root.depth--;
removeMovieClip(_root["tall_glass" + _root.depth]);
removeMovieClip(_root["pint_glass" + _root.depth]);
_root.depth--;
removeMovieClip(_root["tall_glass" + _root.depth]);
removeMovieClip(_root["pint_glass" + _root.depth]);
_root.depth--;
removeMovieClip(_root["tall_glass" + _root.depth]);
removeMovieClip(_root["pint_glass" + _root.depth]);
_root.depth--;
removeMovieClip(_root["tall_glass" + _root.depth]);
removeMovieClip(_root["pint_glass" + _root.depth]);
_root.depth--;
removeMovieClip(_root["tall_glass" + _root.depth]);
removeMovieClip(_root["pint_glass" + _root.depth]);
_root.depth--;
removeMovieClip(_root["tall_glass" + _root.depth]);
removeMovieClip(_root["pint_glass" + _root.depth]);
_root.depth--;
removeMovieClip(_root["tall_glass" + _root.depth]);
removeMovieClip(_root["pint_glass" + _root.depth]);
_root.depth--;
removeMovieClip(_root["tall_glass" + _root.depth]);
removeMovieClip(_root["pint_glass" + _root.depth]);
_root.depth--;
removeMovieClip(_root["tall_glass" + _root.depth]);
removeMovieClip(_root["pint_glass" + _root.depth]);
_root.depth--;
removeMovieClip(_root["tall_glass" + _root.depth]);
removeMovieClip(_root["pint_glass" + _root.depth]);
_root.depth--;
removeMovieClip(_root["tall_glass" + _root.depth]);
removeMovieClip(_root["pint_glass" + _root.depth]);
_root.depth--;
removeMovieClip(_root["tall_glass" + _root.depth]);
removeMovieClip(_root["pint_glass" + _root.depth]);
_root.depth--;
removeMovieClip(_root["tall_glass" + _root.depth]);
removeMovieClip(_root["pint_glass" + _root.depth]);
_root.depth--;
removeMovieClip(_root["tall_glass" + _root.depth]);
removeMovieClip(_root["pint_glass" + _root.depth]);
_root.depth--;
removeMovieClip(_root["tall_glass" + _root.depth]);
removeMovieClip(_root["pint_glass" + _root.depth]);
_root.depth--;
removeMovieClip(_root["tall_glass" + _root.depth]);
removeMovieClip(_root["pint_glass" + _root.depth]);
_root.depth--;
_root.temp_depth = 0;
_root.depth = 0;
_root.gotoAndPlay(3);
this.gotoAndStop(1);
}
Symbol 123 Button
on (release) {
_root.lever1_state = false;
_root.lever2_state = false;
_root.spider_state = false;
_root.worm_state = false;
_root.cigarette_state = false;
_root.ice_state = false;
_root.speed = 0;
_root.pint_glass_fall = false;
_root.tall_glass_fall = false;
_root.lever1_occupied = false;
_root.lever2_occupied = false;
_root.lever1_glass = 0;
_root.lever2_glass = 0;
_root.lever1_overflow = false;
_root.lever2_overflow = false;
_root.order_no = 0;
_root.make_order = false;
_root.new_customer = true;
_root.wait_for_order = false;
_root.drink_type = 0;
_root.current_drink_name = 0;
_root.order_accomplish = false;
_root.person_order = 0;
_root.speech_no = 0;
_root.current_drink_movie = 0;
_root.remove_animation = false;
_root.start_time = 90;
_root.drink_panel1_occupied = false;
_root.drink_panel2_occupied = false;
_root.drink_panel1_glass = 0;
_root.drink_panel2_glass = 0;
_root.drink_panel1_state = false;
_root.drink_panel2_state = false;
_root.drink_panel1_overflow = false;
_root.drink_panel2_overflow = false;
_root.latest_glass_movie = 0;
_root.prev_customer_no = 0;
_root.prev_speech_no = 0;
_root.score = 0;
_root.time_remaining = 60;
_root.game_duration = 0;
_root.speech_time_remaining = 20;
_root.lever1_timout = 30;
_root.lever2_timout = 30;
_root.drink_panel1_timout = 30;
_root.drink_panel2_timout = 30;
_root.vodka_glass = 0;
_root.whiskey_glass = 0;
_root.gameover_screen_timout = 0;
_root.player_level = 1;
_root.speech_thanks_no;
_root.game_finish = false;
_root.lever1.gotoAndStop(1);
_root.lever2.gotoAndStop(1);
_root.beer_pour1.gotoAndStop(1);
_root.beer_pour2.gotoAndStop(1);
_root.coke_pour.gotoAndStop(1);
_root.lemon_pour.gotoAndStop(1);
_root.vodka.gotoAndStop(2);
_root.whiskey.gotoAndStop(2);
_root.mov_drips1.gotoAndStop(1);
_root.mov_drips2.gotoAndStop(1);
removeMovieClip(_root["tall_glass" + _root.depth]);
removeMovieClip(_root["pint_glass" + _root.depth]);
_root.depth--;
removeMovieClip(_root["tall_glass" + _root.depth]);
removeMovieClip(_root["pint_glass" + _root.depth]);
_root.depth--;
removeMovieClip(_root["tall_glass" + _root.depth]);
removeMovieClip(_root["pint_glass" + _root.depth]);
_root.depth--;
removeMovieClip(_root["tall_glass" + _root.depth]);
removeMovieClip(_root["pint_glass" + _root.depth]);
_root.depth--;
removeMovieClip(_root["tall_glass" + _root.depth]);
removeMovieClip(_root["pint_glass" + _root.depth]);
_root.depth--;
removeMovieClip(_root["tall_glass" + _root.depth]);
removeMovieClip(_root["pint_glass" + _root.depth]);
_root.depth--;
removeMovieClip(_root["tall_glass" + _root.depth]);
removeMovieClip(_root["pint_glass" + _root.depth]);
_root.depth--;
removeMovieClip(_root["tall_glass" + _root.depth]);
removeMovieClip(_root["pint_glass" + _root.depth]);
_root.depth--;
removeMovieClip(_root["tall_glass" + _root.depth]);
removeMovieClip(_root["pint_glass" + _root.depth]);
_root.depth--;
removeMovieClip(_root["tall_glass" + _root.depth]);
removeMovieClip(_root["pint_glass" + _root.depth]);
_root.depth--;
removeMovieClip(_root["tall_glass" + _root.depth]);
removeMovieClip(_root["pint_glass" + _root.depth]);
_root.depth--;
removeMovieClip(_root["tall_glass" + _root.depth]);
removeMovieClip(_root["pint_glass" + _root.depth]);
_root.depth--;
removeMovieClip(_root["tall_glass" + _root.depth]);
removeMovieClip(_root["pint_glass" + _root.depth]);
_root.depth--;
removeMovieClip(_root["tall_glass" + _root.depth]);
removeMovieClip(_root["pint_glass" + _root.depth]);
_root.depth--;
removeMovieClip(_root["tall_glass" + _root.depth]);
removeMovieClip(_root["pint_glass" + _root.depth]);
_root.depth--;
removeMovieClip(_root["tall_glass" + _root.depth]);
removeMovieClip(_root["pint_glass" + _root.depth]);
_root.depth--;
removeMovieClip(_root["tall_glass" + _root.depth]);
removeMovieClip(_root["pint_glass" + _root.depth]);
_root.depth--;
removeMovieClip(_root["tall_glass" + _root.depth]);
removeMovieClip(_root["pint_glass" + _root.depth]);
_root.depth--;
removeMovieClip(_root["tall_glass" + _root.depth]);
removeMovieClip(_root["pint_glass" + _root.depth]);
_root.depth--;
removeMovieClip(_root["tall_glass" + _root.depth]);
removeMovieClip(_root["pint_glass" + _root.depth]);
_root.depth--;
removeMovieClip(_root["tall_glass" + _root.depth]);
removeMovieClip(_root["pint_glass" + _root.depth]);
_root.depth--;
removeMovieClip(_root["tall_glass" + _root.depth]);
removeMovieClip(_root["pint_glass" + _root.depth]);
_root.depth--;
removeMovieClip(_root["tall_glass" + _root.depth]);
removeMovieClip(_root["pint_glass" + _root.depth]);
_root.depth--;
removeMovieClip(_root["tall_glass" + _root.depth]);
removeMovieClip(_root["pint_glass" + _root.depth]);
_root.depth--;
removeMovieClip(_root["tall_glass" + _root.depth]);
removeMovieClip(_root["pint_glass" + _root.depth]);
_root.depth--;
removeMovieClip(_root["tall_glass" + _root.depth]);
removeMovieClip(_root["pint_glass" + _root.depth]);
_root.depth--;
removeMovieClip(_root["tall_glass" + _root.depth]);
removeMovieClip(_root["pint_glass" + _root.depth]);
_root.depth--;
removeMovieClip(_root["tall_glass" + _root.depth]);
removeMovieClip(_root["pint_glass" + _root.depth]);
_root.depth--;
removeMovieClip(_root["tall_glass" + _root.depth]);
removeMovieClip(_root["pint_glass" + _root.depth]);
_root.depth--;
removeMovieClip(_root["tall_glass" + _root.depth]);
removeMovieClip(_root["pint_glass" + _root.depth]);
_root.depth--;
removeMovieClip(_root["tall_glass" + _root.depth]);
removeMovieClip(_root["pint_glass" + _root.depth]);
_root.depth--;
removeMovieClip(_root["tall_glass" + _root.depth]);
removeMovieClip(_root["pint_glass" + _root.depth]);
_root.depth--;
removeMovieClip(_root["tall_glass" + _root.depth]);
removeMovieClip(_root["pint_glass" + _root.depth]);
_root.depth--;
removeMovieClip(_root["tall_glass" + _root.depth]);
removeMovieClip(_root["pint_glass" + _root.depth]);
_root.depth--;
removeMovieClip(_root["tall_glass" + _root.depth]);
removeMovieClip(_root["pint_glass" + _root.depth]);
_root.depth--;
removeMovieClip(_root["tall_glass" + _root.depth]);
removeMovieClip(_root["pint_glass" + _root.depth]);
_root.depth--;
removeMovieClip(_root["tall_glass" + _root.depth]);
removeMovieClip(_root["pint_glass" + _root.depth]);
_root.depth--;
removeMovieClip(_root["tall_glass" + _root.depth]);
removeMovieClip(_root["pint_glass" + _root.depth]);
_root.depth--;
removeMovieClip(_root["tall_glass" + _root.depth]);
removeMovieClip(_root["pint_glass" + _root.depth]);
_root.depth--;
removeMovieClip(_root["tall_glass" + _root.depth]);
removeMovieClip(_root["pint_glass" + _root.depth]);
_root.depth--;
_root.temp_depth = 0;
_root.depth = 0;
_root.gotoAndStop(2);
this.gotoAndStop(1);
}
Symbol 127 MovieClip Frame 1
stop();
Symbol 127 MovieClip Frame 40
stop();
Symbol 129 Button
on (press) {
_root.spider_state = true;
startDrag (_root.spider);
this._parent.stop();
}
on (release) {
_root.spider_state = false;
stopDrag();
_root.spider.gotoAndPlay(2);
}
Symbol 138 MovieClip Frame 1
stop();
Symbol 138 MovieClip Frame 2
_root.temp_depth = _root.depth;
if (_root.spider.spider_animate.hitTest(_root["tall_glass" + _root.temp_depth])) {
_root["tall_glass" + _root.temp_depth].spider.nextFrame();
_root.spider._x = spider_xpos - 12;
_root.spider._y = spider_ypos - 12;
_root.speed = 10;
_root.ice_drink.start();
_root.spider.spider_animate.gotoAndPlay(1);
gotoAndStop (1);
}
if (_root.spider.spider_animate.hitTest(_root["pint_glass" + _root.temp_depth])) {
_root["pint_glass" + _root.temp_depth].spider.nextFrame();
_root.spider._x = spider_xpos - 12;
_root.spider._y = spider_ypos - 12;
_root.speed = 10;
_root.ice_drink.start();
_root.spider.spider_animate.gotoAndPlay(1);
gotoAndStop (1);
}
_root.temp_depth--;
if (_root.spider.spider_animate.hitTest(_root["tall_glass" + _root.temp_depth])) {
_root["tall_glass" + _root.temp_depth].spider.nextFrame();
_root.spider._x = spider_xpos - 12;
_root.spider._y = spider_ypos - 12;
_root.speed = 10;
_root.ice_drink.start();
_root.spider.spider_animate.gotoAndPlay(1);
gotoAndStop (1);
}
if (_root.spider.spider_animate.hitTest(_root["pint_glass" + _root.temp_depth])) {
_root["pint_glass" + _root.temp_depth].spider.nextFrame();
_root.spider._x = spider_xpos - 12;
_root.spider._y = spider_ypos - 12;
_root.speed = 10;
_root.ice_drink.start();
_root.spider.spider_animate.gotoAndPlay(1);
gotoAndStop (1);
}
_root.temp_depth--;
if (_root.spider.spider_animate.hitTest(_root["tall_glass" + _root.temp_depth])) {
_root["tall_glass" + _root.temp_depth].spider.nextFrame();
_root.spider._x = spider_xpos - 12;
_root.spider._y = spider_ypos - 12;
_root.speed = 10;
_root.ice_drink.start();
_root.spider.spider_animate.gotoAndPlay(1);
gotoAndStop (1);
}
if (_root.spider.spider_animate.hitTest(_root["pint_glass" + _root.temp_depth])) {
_root["pint_glass" + _root.temp_depth].spider.nextFrame();
_root.spider._x = spider_xpo - 12;
_root.spider._y = spider_ypos - 12;
_root.speed = 10;
_root.ice_drink.start();
_root.spider.spider_animate.gotoAndPlay(1);
gotoAndStop (1);
}
_root.temp_depth--;
if (_root.spider.spider_animate.hitTest(_root["tall_glass" + _root.temp_depth])) {
_root["tall_glass" + _root.temp_depth].spider.nextFrame();
_root.spider._x = spider_xpos - 12;
_root.spider._y = spider_ypos - 12;
_root.speed = 10;
_root.ice_drink.start();
_root.spider.spider_animate.gotoAndPlay(1);
gotoAndStop (1);
}
if (_root.spider.spider_animate.hitTest(_root["pint_glass" + _root.temp_depth])) {
_root["pint_glass" + _root.temp_depth].spider.nextFrame();
_root.spider._x = spider_xpos - 12;
_root.spider._y = spider_ypos - 12;
_root.speed = 10;
_root.ice_drink.start();
_root.spider.spider_animate.gotoAndPlay(1);
gotoAndStop (1);
}
_root.temp_depth--;
if (_root.spider.spider_animate.hitTest(_root["tall_glass" + _root.temp_depth])) {
_root["tall_glass" + _root.temp_depth].spider.nextFrame();
_root.spider._x = spider_xpos - 12;
_root.spider._y = spider_ypos - 12;
_root.speed = 10;
_root.ice_drink.start();
_root.spider.spider_animate.gotoAndPlay(1);
gotoAndStop (1);
}
if (_root.spider.spider_animate.hitTest(_root["pint_glass" + _root.temp_depth])) {
_root["pint_glass" + _root.temp_depth].spider.nextFrame();
_root.spider._x = spider_xpos - 12;
_root.spider._y = spider_ypos - 12;
_root.speed = 10;
_root.ice_drink.start();
_root.spider.spider_animate.gotoAndPlay(1);
gotoAndStop (1);
}
if (_root.spider._y < 610) {
_root.speed = _root.speed + 1;
_root.spider._y = _root.spider._y + _root.speed;
play();
} else {
_root.spider._x = spider_xpos;
_root.spider._y = spider_ypos;
_root.speed = 10;
_root.ice_drink.start();
_root.spider.spider_animate.gotoAndPlay(1);
gotoAndStop (1);
}
Symbol 138 MovieClip Frame 3
gotoAndPlay (2);
Symbol 141 MovieClip Frame 21
this._parent.gotoAndStop(1);
stop();
Symbol 143 MovieClip Frame 21
this._parent.gotoAndStop(1);
stop();
Symbol 145 MovieClip Frame 21
this._parent.gotoAndStop(1);
stop();
Symbol 147 MovieClip Frame 21
this._parent.gotoAndStop(1);
stop();
Symbol 149 MovieClip Frame 21
this._parent.gotoAndStop(1);
stop();
Symbol 150 MovieClip Frame 1
stop();
Symbol 150 MovieClip Frame 2
stop();
Symbol 150 MovieClip Frame 3
stop();
Symbol 150 MovieClip Frame 4
stop();
Symbol 150 MovieClip Frame 5
stop();
Symbol 150 MovieClip Frame 6
stop();
Symbol 154 MovieClip Frame 66
stop();
Symbol 156 MovieClip Frame 56
stop();
Symbol 158 MovieClip Frame 56
stop();
Symbol 160 MovieClip Frame 56
stop();
Symbol 162 MovieClip Frame 56
stop();
Symbol 164 MovieClip Frame 56
stop();
Symbol 166 MovieClip Frame 56
stop();
Symbol 167 MovieClip Frame 1
stop();
Symbol 167 MovieClip Frame 2
stop();
Symbol 167 MovieClip Frame 3
stop();
Symbol 167 MovieClip Frame 4
stop();
Symbol 167 MovieClip Frame 5
stop();
Symbol 167 MovieClip Frame 6
stop();
Symbol 167 MovieClip Frame 7
stop();
Symbol 173 Button
on (press) {
_root.ice_state = true;
startDrag (_root.ice, true);
}
on (release) {
_root.ice_state = false;
stopDrag();
nextFrame();
}
Symbol 175 MovieClip Frame 1
stop();
Symbol 175 MovieClip Frame 2
_root.temp_depth = _root.depth;
if (((_root.ice._y > _root["tall_glass" + _root.temp_depth]._y) && (_root.ice._x <= (_root["tall_glass" + _root.temp_depth]._x + 6))) && (_root.ice._x >= (_root["tall_glass" + _root.temp_depth]._x - 6))) {
_root["tall_glass" + _root.temp_depth].ice.nextFrame();
_root.ice._x = 657.6;
_root.ice._y = 518.9;
_root.speed = 10;
_root.ice_drink.start();
if (_root["tall_glass" + _root.temp_depth].drink_type == "vodka") {
_root["tall_glass" + _root.temp_depth].drink_type = "vodka_ice";
} else if (_root["tall_glass" + _root.temp_depth].drink_type == "whiskey") {
_root["tall_glass" + _root.temp_depth].drink_type = "whiskey_ice";
} else {
_root["tall_glass" + _root.temp_depth].drink_type = "ice";
}
gotoAndStop (1);
}
if (((_root.ice._y > _root["pint_glass" + _root.temp_depth]._y) && (_root.ice._x <= (_root["pint_glass" + _root.temp_depth]._x + 8))) && (_root.ice._x >= (_root["pint_glass" + _root.temp_depth]._x - 8))) {
_root["pint_glass" + _root.temp_depth].ice.nextFrame();
_root.ice._x = 657.6;
_root.ice._y = 518.9;
_root.speed = 10;
_root.ice_drink.start();
gotoAndStop (1);
}
_root.temp_depth--;
if (((_root.ice._y > _root["tall_glass" + _root.temp_depth]._y) && (_root.ice._x <= (_root["tall_glass" + _root.temp_depth]._x + 6))) && (_root.ice._x >= (_root["tall_glass" + _root.temp_depth]._x - 6))) {
_root["tall_glass" + _root.temp_depth].ice.nextFrame();
_root.ice._x = 657.6;
_root.ice._y = 518.9;
_root.speed = 10;
_root.ice_drink.start();
if (_root["tall_glass" + _root.temp_depth].drink_type == "vodka") {
_root["tall_glass" + _root.temp_depth].drink_type = "vodka_ice";
} else if (_root["tall_glass" + _root.temp_depth].drink_type == "whiskey") {
_root["tall_glass" + _root.temp_depth].drink_type = "whiskey_ice";
}
gotoAndStop (1);
}
if (((_root.ice._y > _root["pint_glass" + _root.temp_depth]._y) && (_root.ice._x <= (_root["pint_glass" + _root.temp_depth]._x + 8))) && (_root.ice._x >= (_root["pint_glass" + _root.temp_depth]._x - 8))) {
_root["pint_glass" + _root.temp_depth].ice.nextFrame();
_root.ice._x = 657.6;
_root.ice._y = 518.9;
_root.speed = 10;
_root.ice_drink.start();
gotoAndStop (1);
}
_root.temp_depth--;
if (((_root.ice._y > _root["tall_glass" + _root.temp_depth]._y) && (_root.ice._x <= (_root["tall_glass" + _root.temp_depth]._x + 6))) && (_root.ice._x >= (_root["tall_glass" + _root.temp_depth]._x - 6))) {
_root["tall_glass" + _root.temp_depth].ice.nextFrame();
_root.ice._x = 657.6;
_root.ice._y = 518.9;
_root.speed = 10;
_root.ice_drink.start();
if (_root["tall_glass" + _root.temp_depth].drink_type == "vodka") {
_root["tall_glass" + _root.temp_depth].drink_type = "vodka_ice";
} else if (_root["tall_glass" + _root.temp_depth].drink_type == "whiskey") {
_root["tall_glass" + _root.temp_depth].drink_type = "whiskey_ice";
}
gotoAndStop (1);
}
if (((_root.ice._y > _root["pint_glass" + _root.temp_depth]._y) && (_root.ice._x <= (_root["pint_glass" + _root.temp_depth]._x + 8))) && (_root.ice._x >= (_root["pint_glass" + _root.temp_depth]._x - 8))) {
_root["pint_glass" + _root.temp_depth].ice.nextFrame();
_root.ice._x = 657.6;
_root.ice._y = 518.9;
_root.speed = 10;
_root.ice_drink.start();
gotoAndStop (1);
}
_root.temp_depth--;
if (((_root.ice._y > _root["tall_glass" + _root.temp_depth]._y) && (_root.ice._x <= (_root["tall_glass" + _root.temp_depth]._x + 6))) && (_root.ice._x >= (_root["tall_glass" + _root.temp_depth]._x - 6))) {
_root["tall_glass" + _root.temp_depth].ice.nextFrame();
_root.ice._x = 657.6;
_root.ice._y = 518.9;
_root.speed = 10;
_root.ice_drink.start();
if (_root["tall_glass" + _root.temp_depth].drink_type == "vodka") {
_root["tall_glass" + _root.temp_depth].drink_type = "vodka_ice";
} else if (_root["tall_glass" + _root.temp_depth].drink_type == "whiskey") {
_root["tall_glass" + _root.temp_depth].drink_type = "whiskey_ice";
}
gotoAndStop (1);
}
if (((_root.ice._y > _root["pint_glass" + _root.temp_depth]._y) && (_root.ice._x <= (_root["pint_glass" + _root.temp_depth]._x + 8))) && (_root.ice._x >= (_root["pint_glass" + _root.temp_depth]._x - 8))) {
_root["pint_glass" + _root.temp_depth].ice.nextFrame();
_root.ice._x = 657.6;
_root.ice._y = 518.9;
_root.speed = 10;
_root.ice_drink.start();
gotoAndStop (1);
}
_root.temp_depth--;
if (((_root.ice._y > _root["tall_glass" + _root.temp_depth]._y) && (_root.ice._x <= (_root["tall_glass" + _root.temp_depth]._x + 6))) && (_root.ice._x >= (_root["tall_glass" + _root.temp_depth]._x - 6))) {
_root["tall_glass" + _root.temp_depth].ice.nextFrame();
_root.ice._x = 657.6;
_root.ice._y = 518.9;
_root.speed = 10;
_root.ice_drink.start();
if (_root["tall_glass" + _root.temp_depth].drink_type == "vodka") {
_root["tall_glass" + _root.temp_depth].drink_type = "vodka_ice";
} else if (_root["tall_glass" + _root.temp_depth].drink_type == "whiskey") {
_root["tall_glass" + _root.temp_depth].drink_type = "whiskey_ice";
}
gotoAndStop (1);
}
if (((_root.ice._y > _root["pint_glass" + _root.temp_depth]._y) && (_root.ice._x <= (_root["pint_glass" + _root.temp_depth]._x + 8))) && (_root.ice._x >= (_root["pint_glass" + _root.temp_depth]._x - 8))) {
_root["pint_glass" + _root.temp_depth].ice.nextFrame();
_root.ice._x = 657.6;
_root.ice._y = 518.9;
_root.speed = 10;
_root.ice_drink.start();
gotoAndStop (1);
}
_root.temp_depth--;
if (((_root.ice._y > _root["tall_glass" + _root.temp_depth]._y) && (_root.ice._x <= (_root["tall_glass" + _root.temp_depth]._x + 6))) && (_root.ice._x >= (_root["tall_glass" + _root.temp_depth]._x - 6))) {
_root["tall_glass" + _root.temp_depth].ice.nextFrame();
_root.ice._x = 657.6;
_root.ice._y = 518.9;
_root.speed = 10;
_root.ice_drink.start();
if (_root["tall_glass" + _root.temp_depth].drink_type == "vodka") {
_root["tall_glass" + _root.temp_depth].drink_type = "vodka_ice";
} else if (_root["tall_glass" + _root.temp_depth].drink_type == "whiskey") {
_root["tall_glass" + _root.temp_depth].drink_type = "whiskey_ice";
}
gotoAndStop (1);
}
if (((_root.ice._y > _root["pint_glass" + _root.temp_depth]._y) && (_root.ice._x <= (_root["pint_glass" + _root.temp_depth]._x + 8))) && (_root.ice._x >= (_root["pint_glass" + _root.temp_depth]._x - 8))) {
_root["pint_glass" + _root.temp_depth].ice.nextFrame();
_root.ice._x = 657.6;
_root.ice._y = 518.9;
_root.speed = 10;
_root.ice_drink.start();
gotoAndStop (1);
}
_root.temp_depth--;
if (((_root.ice._y > _root["tall_glass" + _root.temp_depth]._y) && (_root.ice._x <= (_root["tall_glass" + _root.temp_depth]._x + 6))) && (_root.ice._x >= (_root["tall_glass" + _root.temp_depth]._x - 6))) {
_root["tall_glass" + _root.temp_depth].ice.nextFrame();
_root.ice._x = 657.6;
_root.ice._y = 518.9;
_root.speed = 10;
_root.ice_drink.start();
if (_root["tall_glass" + _root.temp_depth].drink_type == "vodka") {
_root["tall_glass" + _root.temp_depth].drink_type = "vodka_ice";
} else if (_root["tall_glass" + _root.temp_depth].drink_type == "whiskey") {
_root["tall_glass" + _root.temp_depth].drink_type = "whiskey_ice";
}
gotoAndStop (1);
}
if (((_root.ice._y > _root["pint_glass" + _root.temp_depth]._y) && (_root.ice._x <= (_root["pint_glass" + _root.temp_depth]._x + 8))) && (_root.ice._x >= (_root["pint_glass" + _root.temp_depth]._x - 8))) {
_root["pint_glass" + _root.temp_depth].ice.nextFrame();
_root.ice._x = 657.6;
_root.ice._y = 518.9;
_root.speed = 10;
_root.ice_drink.start();
gotoAndStop (1);
}
_root.temp_depth--;
if (((_root.ice._y > _root["tall_glass" + _root.temp_depth]._y) && (_root.ice._x <= (_root["tall_glass" + _root.temp_depth]._x + 6))) && (_root.ice._x >= (_root["tall_glass" + _root.temp_depth]._x - 6))) {
_root["tall_glass" + _root.temp_depth].ice.nextFrame();
_root.ice._x = 657.6;
_root.ice._y = 518.9;
_root.speed = 10;
_root.ice_drink.start();
if (_root["tall_glass" + _root.temp_depth].drink_type == "vodka") {
_root["tall_glass" + _root.temp_depth].drink_type = "vodka_ice";
} else if (_root["tall_glass" + _root.temp_depth].drink_type == "whiskey") {
_root["tall_glass" + _root.temp_depth].drink_type = "whiskey_ice";
}
gotoAndStop (1);
}
if (((_root.ice._y > _root["pint_glass" + _root.temp_depth]._y) && (_root.ice._x <= (_root["pint_glass" + _root.temp_depth]._x + 8))) && (_root.ice._x >= (_root["pint_glass" + _root.temp_depth]._x - 8))) {
_root["pint_glass" + _root.temp_depth].ice.nextFrame();
_root.ice._x = 657.6;
_root.ice._y = 518.9;
_root.speed = 10;
_root.ice_drink.start();
gotoAndStop (1);
}
_root.temp_depth--;
if (((_root.ice._y > _root["tall_glass" + _root.temp_depth]._y) && (_root.ice._x <= (_root["tall_glass" + _root.temp_depth]._x + 6))) && (_root.ice._x >= (_root["tall_glass" + _root.temp_depth]._x - 6))) {
_root["tall_glass" + _root.temp_depth].ice.nextFrame();
_root.ice._x = 657.6;
_root.ice._y = 518.9;
_root.speed = 10;
_root.ice_drink.start();
if (_root["tall_glass" + _root.temp_depth].drink_type == "vodka") {
_root["tall_glass" + _root.temp_depth].drink_type = "vodka_ice";
} else if (_root["tall_glass" + _root.temp_depth].drink_type == "whiskey") {
_root["tall_glass" + _root.temp_depth].drink_type = "whiskey_ice";
}
gotoAndStop (1);
}
if (((_root.ice._y > _root["pint_glass" + _root.temp_depth]._y) && (_root.ice._x <= (_root["pint_glass" + _root.temp_depth]._x + 8))) && (_root.ice._x >= (_root["pint_glass" + _root.temp_depth]._x - 8))) {
_root["pint_glass" + _root.temp_depth].ice.nextFrame();
_root.ice._x = 657.6;
_root.ice._y = 518.9;
_root.speed = 10;
_root.ice_drink.start();
gotoAndStop (1);
}
_root.temp_depth--;
if (((_root.ice._y > _root["tall_glass" + _root.temp_depth]._y) && (_root.ice._x <= (_root["tall_glass" + _root.temp_depth]._x + 6))) && (_root.ice._x >= (_root["tall_glass" + _root.temp_depth]._x - 6))) {
_root["tall_glass" + _root.temp_depth].ice.nextFrame();
_root.ice._x = 657.6;
_root.ice._y = 518.9;
_root.speed = 10;
_root.ice_drink.start();
if (_root["tall_glass" + _root.temp_depth].drink_type == "vodka") {
_root["tall_glass" + _root.temp_depth].drink_type = "vodka_ice";
} else if (_root["tall_glass" + _root.temp_depth].drink_type == "whiskey") {
_root["tall_glass" + _root.temp_depth].drink_type = "whiskey_ice";
}
gotoAndStop (1);
}
if (((_root.ice._y > _root["pint_glass" + _root.temp_depth]._y) && (_root.ice._x <= (_root["pint_glass" + _root.temp_depth]._x + 8))) && (_root.ice._x >= (_root["pint_glass" + _root.temp_depth]._x - 8))) {
_root["pint_glass" + _root.temp_depth].ice.nextFrame();
_root.ice._x = 657.6;
_root.ice._y = 518.9;
_root.speed = 10;
_root.ice_drink.start();
gotoAndStop (1);
}
if (_root.ice._y < 610) {
_root.speed = _root.speed + 1;
_root.ice._y = _root.ice._y + _root.speed;
_root.ice._rotation = _root.ice._rotation + 10;
play();
} else {
_root.ice._x = 657.6;
_root.ice._y = 518.9;
_root.speed = 10;
_root.ice_drop.start();
gotoAndStop (1);
}
Symbol 175 MovieClip Frame 3
gotoAndPlay (2);
Symbol 195 MovieClip Frame 1
stop();
Symbol 195 MovieClip Frame 35
stop();
Symbol 204 MovieClip Frame 1
stop();
Symbol 204 MovieClip Frame 35
stop();
Symbol 206 MovieClip Frame 25
stop();
Symbol 208 MovieClip Frame 1
stop();
Symbol 208 MovieClip Frame 34
gotoAndPlay ("start");
Symbol 212 MovieClip Frame 1
stop();
Symbol 212 MovieClip Frame 2
stop();
Symbol 218 MovieClip Frame 67
_root.vodka._x = 158.95;
_root.vodka._y = 517.05;
_root.vodka.gotoAndStop(1);
Symbol 219 MovieClip Frame 1
stop();
Symbol 219 MovieClip Frame 2
if ((_root.vodka._y >= 328) || (_root.vodka._y <= 233)) {
trace("out");
_root.vodka._x = 158.95;
_root.vodka._y = 517.05;
gotoAndStop (1);
} else {
_root.temp_depth = _root.depth;
trace("in");
distance_x = 1000;
if ((_root.vodka._x <= (_root["tall_glass" + _root.temp_depth]._x + 70)) && (_root.vodka._x >= (_root["tall_glass" + _root.temp_depth]._x - 70))) {
if (_root.vodka._x >= _root["tall_glass" + _root.temp_depth]._x) {
temp_distance_x = _root.vodka._x - _root["tall_glass" + _root.temp_depth]._x;
if (temp_distance_x <= distance_x) {
distance_x = temp_distance_x;
_root.vodka_glass = _root["tall_glass" + _root.temp_depth];
}
} else {
temp_distance_x = _root["tall_glass" + _root.temp_depth]._x - _root.vodka._x;
if (temp_distance_x <= distance_x) {
distance_x = temp_distance_x;
_root.vodka_glass = _root["tall_glass" + _root.temp_depth];
}
}
}
_root.temp_depth--;
if ((_root.vodka._x <= (_root["tall_glass" + _root.temp_depth]._x + 70)) && (_root.vodka._x >= (_root["tall_glass" + _root.temp_depth]._x - 70))) {
if (_root.vodka._x >= _root["tall_glass" + _root.temp_depth]._x) {
temp_distance_x = _root.vodka._x - _root["tall_glass" + _root.temp_depth]._x;
if (temp_distance_x <= distance_x) {
distance_x = temp_distance_x;
_root.vodka_glass = _root["tall_glass" + _root.temp_depth];
}
} else {
temp_distance_x = _root["tall_glass" + _root.temp_depth]._x - _root.vodka._x;
if (temp_distance_x <= distance_x) {
distance_x = temp_distance_x;
_root.vodka_glass = _root["tall_glass" + _root.temp_depth];
}
}
}
_root.temp_depth--;
if ((_root.vodka._x <= (_root["tall_glass" + _root.temp_depth]._x + 70)) && (_root.vodka._x >= (_root["tall_glass" + _root.temp_depth]._x - 70))) {
if (_root.vodka._x >= _root["tall_glass" + _root.temp_depth]._x) {
temp_distance_x = _root.vodka._x - _root["tall_glass" + _root.temp_depth]._x;
if (temp_distance_x <= distance_x) {
distance_x = temp_distance_x;
_root.vodka_glass = _root["tall_glass" + _root.temp_depth];
}
} else {
temp_distance_x = _root["tall_glass" + _root.temp_depth]._x - _root.vodka._x;
if (temp_distance_x <= distance_x) {
distance_x = temp_distance_x;
_root.vodka_glass = _root["tall_glass" + _root.temp_depth];
}
}
}
_root.temp_depth--;
if ((_root.vodka._x <= (_root["tall_glass" + _root.temp_depth]._x + 70)) && (_root.vodka._x >= (_root["tall_glass" + _root.temp_depth]._x - 70))) {
if (_root.vodka._x >= _root["tall_glass" + _root.temp_depth]._x) {
temp_distance_x = _root.vodka._x - _root["tall_glass" + _root.temp_depth]._x;
if (temp_distance_x <= distance_x) {
distance_x = temp_distance_x;
_root.vodka_glass = _root["tall_glass" + _root.temp_depth];
}
} else {
temp_distance_x = _root["tall_glass" + _root.temp_depth]._x - _root.vodka._x;
if (temp_distance_x <= distance_x) {
distance_x = temp_distance_x;
_root.vodka_glass = _root["tall_glass" + _root.temp_depth];
}
}
}
_root.temp_depth--;
if ((_root.vodka._x <= (_root["tall_glass" + _root.temp_depth]._x + 70)) && (_root.vodka._x >= (_root["tall_glass" + _root.temp_depth]._x - 70))) {
if (_root.vodka._x >= _root["tall_glass" + _root.temp_depth]._x) {
temp_distance_x = _root.vodka._x - _root["tall_glass" + _root.temp_depth]._x;
if (temp_distance_x <= distance_x) {
distance_x = temp_distance_x;
_root.vodka_glass = _root["tall_glass" + _root.temp_depth];
}
} else {
temp_distance_x = _root["tall_glass" + _root.temp_depth]._x - _root.vodka._x;
if (temp_distance_x <= distance_x) {
distance_x = temp_distance_x;
_root.vodka_glass = _root["tall_glass" + _root.temp_depth];
}
}
}
_root.temp_depth--;
if ((_root.vodka._x <= (_root["tall_glass" + _root.temp_depth]._x + 70)) && (_root.vodka._x >= (_root["tall_glass" + _root.temp_depth]._x - 70))) {
if (_root.vodka._x >= _root["tall_glass" + _root.temp_depth]._x) {
temp_distance_x = _root.vodka._x - _root["tall_glass" + _root.temp_depth]._x;
if (temp_distance_x <= distance_x) {
distance_x = temp_distance_x;
_root.vodka_glass = _root["tall_glass" + _root.temp_depth];
}
} else {
temp_distance_x = _root["tall_glass" + _root.temp_depth]._x - _root.vodka._x;
if (temp_distance_x <= distance_x) {
distance_x = temp_distance_x;
_root.vodka_glass = _root["tall_glass" + _root.temp_depth];
}
}
}
_root.temp_depth--;
if ((_root.vodka._x <= (_root["tall_glass" + _root.temp_depth]._x + 70)) && (_root.vodka._x >= (_root["tall_glass" + _root.temp_depth]._x - 70))) {
if (_root.vodka._x >= _root["tall_glass" + _root.temp_depth]._x) {
temp_distance_x = _root.vodka._x - _root["tall_glass" + _root.temp_depth]._x;
if (temp_distance_x <= distance_x) {
distance_x = temp_distance_x;
_root.vodka_glass = _root["tall_glass" + _root.temp_depth];
}
} else {
temp_distance_x = _root["tall_glass" + _root.temp_depth]._x - _root.vodka._x;
if (temp_distance_x <= distance_x) {
distance_x = temp_distance_x;
_root.vodka_glass = _root["tall_glass" + _root.temp_depth];
}
}
}
_root.temp_depth--;
if ((_root.vodka._x <= (_root["tall_glass" + _root.temp_depth]._x + 70)) && (_root.vodka._x >= (_root["tall_glass" + _root.temp_depth]._x - 70))) {
if (_root.vodka._x >= _root["tall_glass" + _root.temp_depth]._x) {
temp_distance_x = _root.vodka._x - _root["tall_glass" + _root.temp_depth]._x;
if (temp_distance_x <= distance_x) {
distance_x = temp_distance_x;
_root.vodka_glass = _root["tall_glass" + _root.temp_depth];
}
} else {
temp_distance_x = _root["tall_glass" + _root.temp_depth]._x - _root.vodka._x;
if (temp_distance_x <= distance_x) {
distance_x = temp_distance_x;
_root.vodka_glass = _root["tall_glass" + _root.temp_depth];
}
}
}
_root.temp_depth--;
if ((_root.vodka._x <= (_root["tall_glass" + _root.temp_depth]._x + 70)) && (_root.vodka._x >= (_root["tall_glass" + _root.temp_depth]._x - 70))) {
if (_root.vodka._x >= _root["tall_glass" + _root.temp_depth]._x) {
temp_distance_x = _root.vodka._x - _root["tall_glass" + _root.temp_depth]._x;
if (temp_distance_x <= distance_x) {
distance_x = temp_distance_x;
_root.vodka_glass = _root["tall_glass" + _root.temp_depth];
}
} else {
temp_distance_x = _root["tall_glass" + _root.temp_depth]._x - _root.vodka._x;
if (temp_distance_x <= distance_x) {
distance_x = temp_distance_x;
_root.vodka_glass = _root["tall_glass" + _root.temp_depth];
}
}
}
_root.temp_depth--;
if ((_root.vodka._x <= (_root["tall_glass" + _root.temp_depth]._x + 70)) && (_root.vodka._x >= (_root["tall_glass" + _root.temp_depth]._x - 70))) {
if (_root.vodka._x >= _root["tall_glass" + _root.temp_depth]._x) {
temp_distance_x = _root.vodka._x - _root["tall_glass" + _root.temp_depth]._x;
if (temp_distance_x <= distance_x) {
distance_x = temp_distance_x;
_root.vodka_glass = _root["tall_glass" + _root.temp_depth];
}
} else {
temp_distance_x = _root["tall_glass" + _root.temp_depth]._x - _root.vodka._x;
if (temp_distance_x <= distance_x) {
distance_x = temp_distance_x;
_root.vodka_glass = _root["tall_glass" + _root.temp_depth];
}
}
}
_root.temp_depth--;
if ((_root.vodka._x <= (_root["tall_glass" + _root.temp_depth]._x + 70)) && (_root.vodka._x >= (_root["tall_glass" + _root.temp_depth]._x - 70))) {
if (_root.vodka._x >= _root["tall_glass" + _root.temp_depth]._x) {
temp_distance_x = _root.vodka._x - _root["tall_glass" + _root.temp_depth]._x;
if (temp_distance_x <= distance_x) {
distance_x = temp_distance_x;
_root.vodka_glass = _root["tall_glass" + _root.temp_depth];
}
} else {
temp_distance_x = _root["tall_glass" + _root.temp_depth]._x - _root.vodka._x;
if (temp_distance_x <= distance_x) {
distance_x = temp_distance_x;
_root.vodka_glass = _root["tall_glass" + _root.temp_depth];
}
}
}
_root.temp_depth--;
if ((_root.vodka._x <= (_root["tall_glass" + _root.temp_depth]._x + 70)) && (_root.vodka._x >= (_root["tall_glass" + _root.temp_depth]._x - 70))) {
if (_root.vodka._x >= _root["tall_glass" + _root.temp_depth]._x) {
temp_distance_x = _root.vodka._x - _root["tall_glass" + _root.temp_depth]._x;
if (temp_distance_x <= distance_x) {
distance_x = temp_distance_x;
_root.vodka_glass = _root["tall_glass" + _root.temp_depth];
}
} else {
temp_distance_x = _root["tall_glass" + _root.temp_depth]._x - _root.vodka._x;
if (temp_distance_x <= distance_x) {
distance_x = temp_distance_x;
_root.vodka_glass = _root["tall_glass" + _root.temp_depth];
}
}
}
_root.temp_depth--;
if ((_root.vodka._x <= (_root["tall_glass" + _root.temp_depth]._x + 70)) && (_root.vodka._x >= (_root["tall_glass" + _root.temp_depth]._x - 70))) {
if (_root.vodka._x >= _root["tall_glass" + _root.temp_depth]._x) {
temp_distance_x = _root.vodka._x - _root["tall_glass" + _root.temp_depth]._x;
if (temp_distance_x <= distance_x) {
distance_x = temp_distance_x;
_root.vodka_glass = _root["tall_glass" + _root.temp_depth];
}
} else {
temp_distance_x = _root["tall_glass" + _root.temp_depth]._x - _root.vodka._x;
if (temp_distance_x <= distance_x) {
distance_x = temp_distance_x;
_root.vodka_glass = _root["tall_glass" + _root.temp_depth];
}
}
}
_root.temp_depth--;
if ((_root.vodka._x <= (_root["tall_glass" + _root.temp_depth]._x + 70)) && (_root.vodka._x >= (_root["tall_glass" + _root.temp_depth]._x - 70))) {
if (_root.vodka._x >= _root["tall_glass" + _root.temp_depth]._x) {
temp_distance_x = _root.vodka._x - _root["tall_glass" + _root.temp_depth]._x;
if (temp_distance_x <= distance_x) {
distance_x = temp_distance_x;
_root.vodka_glass = _root["tall_glass" + _root.temp_depth];
}
} else {
temp_distance_x = _root["tall_glass" + _root.temp_depth]._x - _root.vodka._x;
if (temp_distance_x <= distance_x) {
distance_x = temp_distance_x;
_root.vodka_glass = _root["tall_glass" + _root.temp_depth];
}
}
}
_root.temp_depth--;
if ((_root.vodka._x <= (_root["tall_glass" + _root.temp_depth]._x + 70)) && (_root.vodka._x >= (_root["tall_glass" + _root.temp_depth]._x - 70))) {
if (_root.vodka._x >= _root["tall_glass" + _root.temp_depth]._x) {
temp_distance_x = _root.vodka._x - _root["tall_glass" + _root.temp_depth]._x;
if (temp_distance_x <= distance_x) {
distance_x = temp_distance_x;
_root.vodka_glass = _root["tall_glass" + _root.temp_depth];
}
} else {
temp_distance_x = _root["tall_glass" + _root.temp_depth]._x - _root.vodka._x;
if (temp_distance_x <= distance_x) {
distance_x = temp_distance_x;
_root.vodka_glass = _root["tall_glass" + _root.temp_depth];
}
}
}
_root.temp_depth--;
if ((_root.vodka._x <= (_root["tall_glass" + _root.temp_depth]._x + 70)) && (_root.vodka._x >= (_root["tall_glass" + _root.temp_depth]._x - 70))) {
if (_root.vodka._x >= _root["tall_glass" + _root.temp_depth]._x) {
temp_distance_x = _root.vodka._x - _root["tall_glass" + _root.temp_depth]._x;
if (temp_distance_x <= distance_x) {
distance_x = temp_distance_x;
_root.vodka_glass = _root["tall_glass" + _root.temp_depth];
}
} else {
temp_distance_x = _root["tall_glass" + _root.temp_depth]._x - _root.vodka._x;
if (temp_distance_x <= distance_x) {
distance_x = temp_distance_x;
_root.vodka_glass = _root["tall_glass" + _root.temp_depth];
}
}
}
_root.temp_depth--;
if ((_root.vodka._x <= (_root["tall_glass" + _root.temp_depth]._x + 70)) && (_root.vodka._x >= (_root["tall_glass" + _root.temp_depth]._x - 70))) {
if (_root.vodka._x >= _root["tall_glass" + _root.temp_depth]._x) {
temp_distance_x = _root.vodka._x - _root["tall_glass" + _root.temp_depth]._x;
if (temp_distance_x <= distance_x) {
distance_x = temp_distance_x;
_root.vodka_glass = _root["tall_glass" + _root.temp_depth];
}
} else {
temp_distance_x = _root["tall_glass" + _root.temp_depth]._x - _root.vodka._x;
if (temp_distance_x <= distance_x) {
distance_x = temp_distance_x;
_root.vodka_glass = _root["tall_glass" + _root.temp_depth];
}
}
}
_root.temp_depth--;
if ((_root.vodka._x <= (_root["tall_glass" + _root.temp_depth]._x + 70)) && (_root.vodka._x >= (_root["tall_glass" + _root.temp_depth]._x - 70))) {
if (_root.vodka._x >= _root["tall_glass" + _root.temp_depth]._x) {
temp_distance_x = _root.vodka._x - _root["tall_glass" + _root.temp_depth]._x;
if (temp_distance_x <= distance_x) {
distance_x = temp_distance_x;
_root.vodka_glass = _root["tall_glass" + _root.temp_depth];
}
} else {
temp_distance_x = _root["tall_glass" + _root.temp_depth]._x - _root.vodka._x;
if (temp_distance_x <= distance_x) {
distance_x = temp_distance_x;
_root.vodka_glass = _root["tall_glass" + _root.temp_depth];
}
}
}
_root.temp_depth--;
if ((_root.vodka._x <= (_root["tall_glass" + _root.temp_depth]._x + 70)) && (_root.vodka._x >= (_root["tall_glass" + _root.temp_depth]._x - 70))) {
if (_root.vodka._x >= _root["tall_glass" + _root.temp_depth]._x) {
temp_distance_x = _root.vodka._x - _root["tall_glass" + _root.temp_depth]._x;
if (temp_distance_x <= distance_x) {
distance_x = temp_distance_x;
_root.vodka_glass = _root["tall_glass" + _root.temp_depth];
}
} else {
temp_distance_x = _root["tall_glass" + _root.temp_depth]._x - _root.vodka._x;
if (temp_distance_x <= distance_x) {
distance_x = temp_distance_x;
_root.vodka_glass = _root["tall_glass" + _root.temp_depth];
}
}
}
_root.temp_depth--;
if ((_root.vodka._x <= (_root["tall_glass" + _root.temp_depth]._x + 70)) && (_root.vodka._x >= (_root["tall_glass" + _root.temp_depth]._x - 70))) {
if (_root.vodka._x >= _root["tall_glass" + _root.temp_depth]._x) {
temp_distance_x = _root.vodka._x - _root["tall_glass" + _root.temp_depth]._x;
if (temp_distance_x <= distance_x) {
distance_x = temp_distance_x;
_root.vodka_glass = _root["tall_glass" + _root.temp_depth];
}
} else {
temp_distance_x = _root["tall_glass" + _root.temp_depth]._x - _root.vodka._x;
if (temp_distance_x <= distance_x) {
distance_x = temp_distance_x;
_root.vodka_glass = _root["tall_glass" + _root.temp_depth];
}
}
}
gotoAndStop (1);
if (distance_x != 1000) {
_root.vodka._x = _root.vodka_glass._x + 60;
_root.vodka._y = _root.vodka_glass._y - 20;
if ((_root.vodka_glass.drink_type == "coke") || (_root.vodka_glass.drink_type == "vodka_coke")) {
_root.vodka_glass.drink_type = "vodka_coke";
} else if ((_root.vodka_glass.drink_type == "lemon") || (_root.vodka_glass.drink_type == "vodka_lemon")) {
_root.vodka_glass.drink_type = "vodka_lemon";
} else if ((_root.vodka_glass.drink_type == "vodka") || (_root.vodka_glass.drink_type == "vodka_ice")) {
} else if (_root.vodka_glass.drink_type == "ice") {
_root.vodka_glass.drink_type = "vodka_ice";
_root.vodka_glass.vodka_shot.play();
} else {
_root.vodka_glass.drink_type = "vodka";
_root.vodka_glass.vodka_shot.play();
}
trace(_root.vodka_glass.drink_type);
gotoAndPlay (3);
}
}
Symbol 219 MovieClip Frame 3
stop();
Symbol 220 MovieClip Frame 1
stop();
Symbol 221 MovieClip Frame 67
_root.whiskey._x = 212.25;
_root.whiskey._y = 529.8;
_root.whiskey.gotoAndStop(1);
Symbol 222 MovieClip Frame 1
stop();
Symbol 222 MovieClip Frame 2
if ((_root.whiskey._y >= 348.8) || (_root.whiskey._y <= 256.8)) {
trace("out");
_root.whiskey._x = 212.25;
_root.whiskey._y = 529.8;
gotoAndStop (1);
} else {
_root.temp_depth = _root.depth;
trace("in");
distance_x = 1000;
if ((_root.whiskey._x <= (_root["tall_glass" + _root.temp_depth]._x + 70)) && (_root.whiskey._x >= (_root["tall_glass" + _root.temp_depth]._x - 70))) {
if (_root.whiskey._x >= _root["tall_glass" + _root.temp_depth]._x) {
temp_distance_x = _root.whiskey._x - _root["tall_glass" + _root.temp_depth]._x;
if (temp_distance_x <= distance_x) {
distance_x = temp_distance_x;
_root.whiskey_glass = _root["tall_glass" + _root.temp_depth];
}
} else {
temp_distance_x = _root["tall_glass" + _root.temp_depth]._x - _root.whiskey._x;
if (temp_distance_x <= distance_x) {
distance_x = temp_distance_x;
_root.whiskey_glass = _root["tall_glass" + _root.temp_depth];
}
}
}
_root.temp_depth--;
if ((_root.whiskey._x <= (_root["tall_glass" + _root.temp_depth]._x + 70)) && (_root.whiskey._x >= (_root["tall_glass" + _root.temp_depth]._x - 70))) {
if (_root.whiskey._x >= _root["tall_glass" + _root.temp_depth]._x) {
temp_distance_x = _root.whiskey._x - _root["tall_glass" + _root.temp_depth]._x;
if (temp_distance_x <= distance_x) {
distance_x = temp_distance_x;
_root.whiskey_glass = _root["tall_glass" + _root.temp_depth];
}
} else {
temp_distance_x = _root["tall_glass" + _root.temp_depth]._x - _root.whiskey._x;
if (temp_distance_x <= distance_x) {
distance_x = temp_distance_x;
_root.whiskey_glass = _root["tall_glass" + _root.temp_depth];
}
}
}
_root.temp_depth--;
if ((_root.whiskey._x <= (_root["tall_glass" + _root.temp_depth]._x + 70)) && (_root.whiskey._x >= (_root["tall_glass" + _root.temp_depth]._x - 70))) {
if (_root.whiskey._x >= _root["tall_glass" + _root.temp_depth]._x) {
temp_distance_x = _root.whiskey._x - _root["tall_glass" + _root.temp_depth]._x;
if (temp_distance_x <= distance_x) {
distance_x = temp_distance_x;
_root.whiskey_glass = _root["tall_glass" + _root.temp_depth];
}
} else {
temp_distance_x = _root["tall_glass" + _root.temp_depth]._x - _root.whiskey._x;
if (temp_distance_x <= distance_x) {
distance_x = temp_distance_x;
_root.whiskey_glass = _root["tall_glass" + _root.temp_depth];
}
}
}
_root.temp_depth--;
if ((_root.whiskey._x <= (_root["tall_glass" + _root.temp_depth]._x + 70)) && (_root.whiskey._x >= (_root["tall_glass" + _root.temp_depth]._x - 70))) {
if (_root.whiskey._x >= _root["tall_glass" + _root.temp_depth]._x) {
temp_distance_x = _root.whiskey._x - _root["tall_glass" + _root.temp_depth]._x;
if (temp_distance_x <= distance_x) {
distance_x = temp_distance_x;
_root.whiskey_glass = _root["tall_glass" + _root.temp_depth];
}
} else {
temp_distance_x = _root["tall_glass" + _root.temp_depth]._x - _root.whiskey._x;
if (temp_distance_x <= distance_x) {
distance_x = temp_distance_x;
_root.whiskey_glass = _root["tall_glass" + _root.temp_depth];
}
}
}
_root.temp_depth--;
if ((_root.whiskey._x <= (_root["tall_glass" + _root.temp_depth]._x + 70)) && (_root.whiskey._x >= (_root["tall_glass" + _root.temp_depth]._x - 70))) {
if (_root.whiskey._x >= _root["tall_glass" + _root.temp_depth]._x) {
temp_distance_x = _root.whiskey._x - _root["tall_glass" + _root.temp_depth]._x;
if (temp_distance_x <= distance_x) {
distance_x = temp_distance_x;
_root.whiskey_glass = _root["tall_glass" + _root.temp_depth];
}
} else {
temp_distance_x = _root["tall_glass" + _root.temp_depth]._x - _root.whiskey._x;
if (temp_distance_x <= distance_x) {
distance_x = temp_distance_x;
_root.whiskey_glass = _root["tall_glass" + _root.temp_depth];
}
}
}
_root.temp_depth--;
if ((_root.whiskey._x <= (_root["tall_glass" + _root.temp_depth]._x + 70)) && (_root.whiskey._x >= (_root["tall_glass" + _root.temp_depth]._x - 70))) {
if (_root.whiskey._x >= _root["tall_glass" + _root.temp_depth]._x) {
temp_distance_x = _root.whiskey._x - _root["tall_glass" + _root.temp_depth]._x;
if (temp_distance_x <= distance_x) {
distance_x = temp_distance_x;
_root.whiskey_glass = _root["tall_glass" + _root.temp_depth];
}
} else {
temp_distance_x = _root["tall_glass" + _root.temp_depth]._x - _root.whiskey._x;
if (temp_distance_x <= distance_x) {
distance_x = temp_distance_x;
_root.whiskey_glass = _root["tall_glass" + _root.temp_depth];
}
}
}
_root.temp_depth--;
if ((_root.whiskey._x <= (_root["tall_glass" + _root.temp_depth]._x + 70)) && (_root.whiskey._x >= (_root["tall_glass" + _root.temp_depth]._x - 70))) {
if (_root.whiskey._x >= _root["tall_glass" + _root.temp_depth]._x) {
temp_distance_x = _root.whiskey._x - _root["tall_glass" + _root.temp_depth]._x;
if (temp_distance_x <= distance_x) {
distance_x = temp_distance_x;
_root.whiskey_glass = _root["tall_glass" + _root.temp_depth];
}
} else {
temp_distance_x = _root["tall_glass" + _root.temp_depth]._x - _root.whiskey._x;
if (temp_distance_x <= distance_x) {
distance_x = temp_distance_x;
_root.whiskey_glass = _root["tall_glass" + _root.temp_depth];
}
}
}
_root.temp_depth--;
if ((_root.whiskey._x <= (_root["tall_glass" + _root.temp_depth]._x + 70)) && (_root.whiskey._x >= (_root["tall_glass" + _root.temp_depth]._x - 70))) {
if (_root.whiskey._x >= _root["tall_glass" + _root.temp_depth]._x) {
temp_distance_x = _root.whiskey._x - _root["tall_glass" + _root.temp_depth]._x;
if (temp_distance_x <= distance_x) {
distance_x = temp_distance_x;
_root.whiskey_glass = _root["tall_glass" + _root.temp_depth];
}
} else {
temp_distance_x = _root["tall_glass" + _root.temp_depth]._x - _root.whiskey._x;
if (temp_distance_x <= distance_x) {
distance_x = temp_distance_x;
_root.whiskey_glass = _root["tall_glass" + _root.temp_depth];
}
}
}
_root.temp_depth--;
if ((_root.whiskey._x <= (_root["tall_glass" + _root.temp_depth]._x + 70)) && (_root.whiskey._x >= (_root["tall_glass" + _root.temp_depth]._x - 70))) {
if (_root.whiskey._x >= _root["tall_glass" + _root.temp_depth]._x) {
temp_distance_x = _root.whiskey._x - _root["tall_glass" + _root.temp_depth]._x;
if (temp_distance_x <= distance_x) {
distance_x = temp_distance_x;
_root.whiskey_glass = _root["tall_glass" + _root.temp_depth];
}
} else {
temp_distance_x = _root["tall_glass" + _root.temp_depth]._x - _root.whiskey._x;
if (temp_distance_x <= distance_x) {
distance_x = temp_distance_x;
_root.whiskey_glass = _root["tall_glass" + _root.temp_depth];
}
}
}
_root.temp_depth--;
if ((_root.whiskey._x <= (_root["tall_glass" + _root.temp_depth]._x + 70)) && (_root.whiskey._x >= (_root["tall_glass" + _root.temp_depth]._x - 70))) {
if (_root.whiskey._x >= _root["tall_glass" + _root.temp_depth]._x) {
temp_distance_x = _root.whiskey._x - _root["tall_glass" + _root.temp_depth]._x;
if (temp_distance_x <= distance_x) {
distance_x = temp_distance_x;
_root.whiskey_glass = _root["tall_glass" + _root.temp_depth];
}
} else {
temp_distance_x = _root["tall_glass" + _root.temp_depth]._x - _root.whiskey._x;
if (temp_distance_x <= distance_x) {
distance_x = temp_distance_x;
_root.whiskey_glass = _root["tall_glass" + _root.temp_depth];
}
}
}
_root.temp_depth--;
if ((_root.whiskey._x <= (_root["tall_glass" + _root.temp_depth]._x + 70)) && (_root.whiskey._x >= (_root["tall_glass" + _root.temp_depth]._x - 70))) {
if (_root.whiskey._x >= _root["tall_glass" + _root.temp_depth]._x) {
temp_distance_x = _root.whiskey._x - _root["tall_glass" + _root.temp_depth]._x;
if (temp_distance_x <= distance_x) {
distance_x = temp_distance_x;
_root.whiskey_glass = _root["tall_glass" + _root.temp_depth];
}
} else {
temp_distance_x = _root["tall_glass" + _root.temp_depth]._x - _root.whiskey._x;
if (temp_distance_x <= distance_x) {
distance_x = temp_distance_x;
_root.whiskey_glass = _root["tall_glass" + _root.temp_depth];
}
}
}
_root.temp_depth--;
if ((_root.whiskey._x <= (_root["tall_glass" + _root.temp_depth]._x + 70)) && (_root.whiskey._x >= (_root["tall_glass" + _root.temp_depth]._x - 70))) {
if (_root.whiskey._x >= _root["tall_glass" + _root.temp_depth]._x) {
temp_distance_x = _root.whiskey._x - _root["tall_glass" + _root.temp_depth]._x;
if (temp_distance_x <= distance_x) {
distance_x = temp_distance_x;
_root.whiskey_glass = _root["tall_glass" + _root.temp_depth];
}
} else {
temp_distance_x = _root["tall_glass" + _root.temp_depth]._x - _root.whiskey._x;
if (temp_distance_x <= distance_x) {
distance_x = temp_distance_x;
_root.whiskey_glass = _root["tall_glass" + _root.temp_depth];
}
}
}
_root.temp_depth--;
if ((_root.whiskey._x <= (_root["tall_glass" + _root.temp_depth]._x + 70)) && (_root.whiskey._x >= (_root["tall_glass" + _root.temp_depth]._x - 70))) {
if (_root.whiskey._x >= _root["tall_glass" + _root.temp_depth]._x) {
temp_distance_x = _root.whiskey._x - _root["tall_glass" + _root.temp_depth]._x;
if (temp_distance_x <= distance_x) {
distance_x = temp_distance_x;
_root.whiskey_glass = _root["tall_glass" + _root.temp_depth];
}
} else {
temp_distance_x = _root["tall_glass" + _root.temp_depth]._x - _root.whiskey._x;
if (temp_distance_x <= distance_x) {
distance_x = temp_distance_x;
_root.whiskey_glass = _root["tall_glass" + _root.temp_depth];
}
}
}
_root.temp_depth--;
if ((_root.whiskey._x <= (_root["tall_glass" + _root.temp_depth]._x + 70)) && (_root.whiskey._x >= (_root["tall_glass" + _root.temp_depth]._x - 70))) {
if (_root.whiskey._x >= _root["tall_glass" + _root.temp_depth]._x) {
temp_distance_x = _root.whiskey._x - _root["tall_glass" + _root.temp_depth]._x;
if (temp_distance_x <= distance_x) {
distance_x = temp_distance_x;
_root.whiskey_glass = _root["tall_glass" + _root.temp_depth];
}
} else {
temp_distance_x = _root["tall_glass" + _root.temp_depth]._x - _root.whiskey._x;
if (temp_distance_x <= distance_x) {
distance_x = temp_distance_x;
_root.whiskey_glass = _root["tall_glass" + _root.temp_depth];
}
}
}
_root.temp_depth--;
if ((_root.whiskey._x <= (_root["tall_glass" + _root.temp_depth]._x + 70)) && (_root.whiskey._x >= (_root["tall_glass" + _root.temp_depth]._x - 70))) {
if (_root.whiskey._x >= _root["tall_glass" + _root.temp_depth]._x) {
temp_distance_x = _root.whiskey._x - _root["tall_glass" + _root.temp_depth]._x;
if (temp_distance_x <= distance_x) {
distance_x = temp_distance_x;
_root.whiskey_glass = _root["tall_glass" + _root.temp_depth];
}
} else {
temp_distance_x = _root["tall_glass" + _root.temp_depth]._x - _root.whiskey._x;
if (temp_distance_x <= distance_x) {
distance_x = temp_distance_x;
_root.whiskey_glass = _root["tall_glass" + _root.temp_depth];
}
}
}
_root.temp_depth--;
if ((_root.whiskey._x <= (_root["tall_glass" + _root.temp_depth]._x + 70)) && (_root.whiskey._x >= (_root["tall_glass" + _root.temp_depth]._x - 70))) {
if (_root.whiskey._x >= _root["tall_glass" + _root.temp_depth]._x) {
temp_distance_x = _root.whiskey._x - _root["tall_glass" + _root.temp_depth]._x;
if (temp_distance_x <= distance_x) {
distance_x = temp_distance_x;
_root.whiskey_glass = _root["tall_glass" + _root.temp_depth];
}
} else {
temp_distance_x = _root["tall_glass" + _root.temp_depth]._x - _root.whiskey._x;
if (temp_distance_x <= distance_x) {
distance_x = temp_distance_x;
_root.whiskey_glass = _root["tall_glass" + _root.temp_depth];
}
}
}
_root.temp_depth--;
if ((_root.whiskey._x <= (_root["tall_glass" + _root.temp_depth]._x + 70)) && (_root.whiskey._x >= (_root["tall_glass" + _root.temp_depth]._x - 70))) {
if (_root.whiskey._x >= _root["tall_glass" + _root.temp_depth]._x) {
temp_distance_x = _root.whiskey._x - _root["tall_glass" + _root.temp_depth]._x;
if (temp_distance_x <= distance_x) {
distance_x = temp_distance_x;
_root.whiskey_glass = _root["tall_glass" + _root.temp_depth];
}
} else {
temp_distance_x = _root["tall_glass" + _root.temp_depth]._x - _root.whiskey._x;
if (temp_distance_x <= distance_x) {
distance_x = temp_distance_x;
_root.whiskey_glass = _root["tall_glass" + _root.temp_depth];
}
}
}
_root.temp_depth--;
if ((_root.whiskey._x <= (_root["tall_glass" + _root.temp_depth]._x + 70)) && (_root.whiskey._x >= (_root["tall_glass" + _root.temp_depth]._x - 70))) {
if (_root.whiskey._x >= _root["tall_glass" + _root.temp_depth]._x) {
temp_distance_x = _root.whiskey._x - _root["tall_glass" + _root.temp_depth]._x;
if (temp_distance_x <= distance_x) {
distance_x = temp_distance_x;
_root.whiskey_glass = _root["tall_glass" + _root.temp_depth];
}
} else {
temp_distance_x = _root["tall_glass" + _root.temp_depth]._x - _root.whiskey._x;
if (temp_distance_x <= distance_x) {
distance_x = temp_distance_x;
_root.whiskey_glass = _root["tall_glass" + _root.temp_depth];
}
}
}
_root.temp_depth--;
if ((_root.whiskey._x <= (_root["tall_glass" + _root.temp_depth]._x + 70)) && (_root.whiskey._x >= (_root["tall_glass" + _root.temp_depth]._x - 70))) {
if (_root.whiskey._x >= _root["tall_glass" + _root.temp_depth]._x) {
temp_distance_x = _root.whiskey._x - _root["tall_glass" + _root.temp_depth]._x;
if (temp_distance_x <= distance_x) {
distance_x = temp_distance_x;
_root.whiskey_glass = _root["tall_glass" + _root.temp_depth];
}
} else {
temp_distance_x = _root["tall_glass" + _root.temp_depth]._x - _root.whiskey._x;
if (temp_distance_x <= distance_x) {
distance_x = temp_distance_x;
_root.whiskey_glass = _root["tall_glass" + _root.temp_depth];
}
}
}
_root.temp_depth--;
if ((_root.whiskey._x <= (_root["tall_glass" + _root.temp_depth]._x + 70)) && (_root.whiskey._x >= (_root["tall_glass" + _root.temp_depth]._x - 70))) {
if (_root.whiskey._x >= _root["tall_glass" + _root.temp_depth]._x) {
temp_distance_x = _root.whiskey._x - _root["tall_glass" + _root.temp_depth]._x;
if (temp_distance_x <= distance_x) {
distance_x = temp_distance_x;
_root.whiskey_glass = _root["tall_glass" + _root.temp_depth];
}
} else {
temp_distance_x = _root["tall_glass" + _root.temp_depth]._x - _root.whiskey._x;
if (temp_distance_x <= distance_x) {
distance_x = temp_distance_x;
_root.whiskey_glass = _root["tall_glass" + _root.temp_depth];
}
}
}
gotoAndStop (1);
if (distance_x != 1000) {
_root.whiskey._x = _root.whiskey_glass._x + 60;
_root.whiskey._y = _root.whiskey_glass._y - 30;
if ((_root.whiskey_glass.drink_type == "coke") || (_root.whiskey_glass.drink_type == "whiskey_coke")) {
_root.whiskey_glass.drink_type = "whiskey_coke";
} else if ((_root.whiskey_glass.drink_type == "lemon") || (_root.whiskey_glass.drink_type == "whiskey_lemon")) {
_root.whiskey_glass.drink_type = "whiskey_lemon";
} else if ((_root.whiskey_glass.drink_type == "whiskey") || (_root.whiskey_glass.drink_type == "whiskey_ice")) {
} else if (_root.whiskey_glass.drink_type == "ice") {
_root.whiskey_glass.whiskey_shot.play();
_root.whiskey_glass.drink_type = "whiskey_ice";
} else {
_root.whiskey_glass.drink_type = "whiskey";
_root.whiskey_glass.whiskey_shot.play();
}
trace(_root.whiskey_glass.drink_type);
gotoAndPlay (3);
}
}
Symbol 222 MovieClip Frame 3
stop();
Symbol 224 Button
on (press) {
_root.tall_glass_hold = 1;
startDrag (this, true);
}
on (release) {
_root.tall_glass_hold = 0;
stopDrag();
nextFrame();
}
Symbol 226 MovieClip Frame 1
stop();
Symbol 226 MovieClip Frame 55
stop();
Symbol 233 MovieClip Frame 1
stop();
Symbol 233 MovieClip Frame 2
stop();
Symbol 234 MovieClip Frame 1
stop();
Symbol 234 MovieClip Frame 2
stop();
Symbol 235 MovieClip Frame 1
stop();
Symbol 235 MovieClip Frame 2
stop();
Symbol 235 MovieClip Frame 3
stop();
Symbol 235 MovieClip Frame 4
stop();
Symbol 248 MovieClip Frame 1
stop();
Symbol 248 MovieClip Frame 2
stop();
Symbol 250 MovieClip Frame 1
stop();
Symbol 250 MovieClip Frame 55
stop();
Symbol 251 Button
on (press) {
_root.tall_glass_hold = 1;
startDrag (this, true);
_root[("drink_panel" + current_panel) + "_occupied"] = false;
_root[("drink_panel" + current_panel) + "_glass"].glass.stop();
_root[("drink_panel" + current_panel) + "_glass"] = 0;
}
on (release) {
_root.tall_glass_hold = 0;
stopDrag();
gotoAndStop (2);
}
Symbol 252 MovieClip Frame 1
stop();
Symbol 252 MovieClip Frame 2
this.speed = 10;
_root.tall_glass_fall = false;
if (((this._y < 380) && (this._y >= 280)) || (((this._x >= 606) && (this._x <= 775)) && ((this._y >= 396) && (this._y <= 414)))) {
trace(this._x);
trace(this._y);
if ((this._x >= 449) && (this._x <= 499)) {
if (_root.drink_panel1_occupied == false) {
this._x = 497;
this._y = 364;
_root.drink_panel1_occupied = true;
current_panel = 1;
_root.drink_panel1_glass = this;
if (_root.drink_panel1_state == true) {
if (_root.drink_panel1_glass.glass.fill_level == 0) {
_root.drink_panel1_glass.glass.gotoAndPlay("coke");
} else if (_root.drink_panel1_glass.glass.fill_level == 1) {
_root.drink_panel1_glass.glass.play();
}
}
if (((_root.drink_panel1_glass.drink_type == "vodka") || (_root.drink_panel1_glass.drink_type == "vodka_coke")) || (_root.drink_panel1_glass.drink_type == "vodka_ice")) {
_root.drink_panel1_glass.temp_drink_type = "vodka_coke";
} else if (((_root.drink_panel1_glass.drink_type == "whiskey") || (_root.drink_panel1_glass.drink_type == "whiskey_coke")) || (_root.drink_panel1_glass.drink_type == "whiskey_ice")) {
_root.drink_panel1_glass.temp_drink_type = "whiskey_coke";
} else if (_root.drink_panel1_glass.drink_type == "ice") {
_root.drink_panel1_glass.temp_drink_type = "coke";
} else {
_root.drink_panel1_glass.temp_drink_type = "coke";
}
} else {
_root.tall_glass_fall = true;
}
}
if ((this._x > 499) && (this._x <= 552)) {
if (_root.drink_panel2_occupied == false) {
this._x = 535.95;
this._y = 364;
_root.drink_panel2_occupied = true;
current_panel = 2;
_root.drink_panel2_glass = this;
if (_root.drink_panel2_state == true) {
if (_root.drink_panel2_glass.glass.fill_level == 0) {
_root.drink_panel2_glass.glass.gotoAndPlay("lemon");
} else if (_root.drink_panel2_glass.glass.fill_level == 1) {
_root.drink_panel2_glass.glass.play();
}
}
if (((_root.drink_panel2_glass.drink_type == "vodka") || (_root.drink_panel2_glass.drink_type == "vodka_lemon")) || (_root.drink_panel2_glass.drink_type == "vodka_ice")) {
_root.drink_panel2_glass.temp_drink_type = "vodka_lemon";
} else if ((_root.drink_panel2_glass.drink_type == "whiskey") || (_root.drink_panel2_glass.drink_type == "whiskey_lemon")) {
_root.drink_panel2_glass.temp_drink_type = "whiskey_lemon";
} else if (_root.drink_panel2_glass.drink_type == "ice") {
_root.drink_panel2_glass.temp_drink_type = "lemon";
} else {
_root.drink_panel2_glass.temp_drink_type = "lemon";
}
} else {
_root.tall_glass_fall = true;
}
} else if ((this._y < 365) && (this._y >= 280)) {
_root.latest_glass_movie = this;
sound_random = random(2) + 1;
if (sound_random == 1) {
_root.glass_onbar1.start();
} else {
_root.glass_onbar2.start();
}
}
if ((((this._x > 280) && (this._x < 423)) && (this._y > 280)) && (this._y < 338)) {
_root.current_drink_type = this.drink_type;
_root.current_drink_movie = this;
trace(this.drink_type);
}
if (_root.tall_glass_fall == false) {
this.gotoAndStop(5);
}
} else if (this._y >= 365) {
_root.tall_glass_fall = true;
trace("below the bar");
} else if (this._y < 280) {
_root.tall_glass_fall = true;
trace("above the bar");
}
if (_root.tall_glass_fall == true) {
play();
}
Symbol 252 MovieClip Frame 3
this._y = this._y + this.speed;
this._rotation = this._rotation + 10;
this.speed = this.speed + 1;
if (this._y >= 600) {
removeMovieClip(this);
_root.speed = 10;
_root.smash_start();
}
Symbol 252 MovieClip Frame 4
gotoAndPlay (3);
Symbol 252 MovieClip Frame 5
stop();
Symbol 254 Button
on (press) {
_root.depth++;
duplicateMovieClip (_root.tall_glass, "tall_glass" + _root.depth, _root.depth);
_root["tall_glass" + _root.depth].glass.fill_level = 0;
startDrag ("_root.tall_glass" + _root.depth, true);
}
on (releaseOutside) {
_root.tall_glass_hold = 0;
stopDrag();
_root["tall_glass" + _root.depth].nextFrame();
}
Symbol 256 Button
on (press) {
_root.depth++;
duplicateMovieClip (_root.pint_glass, "pint_glass" + _root.depth, _root.depth);
startDrag ("_root.pint_glass" + _root.depth, true);
}
on (releaseOutside) {
_root.pint_glass_hold = 0;
stopDrag();
_root["pint_glass" + _root.depth].nextFrame();
}
Symbol 257 Button
on (press) {
_root.pint_glass_hold = 1;
startDrag (this, true);
}
on (release) {
_root.pint_glass_hold = 0;
stopDrag();
nextFrame();
}
Symbol 267 MovieClip Frame 50
stop();
Symbol 268 MovieClip Frame 1
this.fill_level = 0;
stop();
Symbol 268 MovieClip Frame 2
this.fill_level = 1;
_root.pour_beer_start();
Symbol 268 MovieClip Frame 288
this.fill_level = 2;
this._parent.drink_type = this._parent.temp_drink_type;
Symbol 268 MovieClip Frame 335
this.fill_level = 3;
_root[("lever" + _parent.current_lever) + "_overflow"] = true;
Symbol 268 MovieClip Frame 394
_root["mov_drips" + _parent.current_lever].gotoAndPlay(2);
stop();
Symbol 268 MovieClip Frame 395
stop();
Symbol 269 Button
on (press) {
_root.pint_glass_hold = 1;
startDrag (this, true);
_root[("lever" + current_lever) + "_occupied"] = false;
if (_root[("lever" + current_lever) + "_overflow"] == true) {
_root[("lever" + current_lever) + "_glass"].glass.gotoAndStop("overflow_hold");
_root[("lever" + current_lever) + "_glass"].glass.wave.stop();
} else {
_root[("lever" + current_lever) + "_glass"].glass.stop();
}
_root["mov_drips" + current_lever].gotoAndStop(1);
_root[("lever" + current_lever) + "_overflow"] = false;
_root[("lever" + current_lever) + "_glass"] = 0;
}
on (release) {
_root.pint_glass_hold = 0;
stopDrag();
gotoAndStop (2);
}
Symbol 270 MovieClip Frame 1
stop();
Symbol 270 MovieClip Frame 2
this.speed = 10;
_root.pint_glass_fall = false;
trace(this._x);
if (((this._y < 365) && (this._y >= 280)) || (((this._x >= 606) && (this._x <= 775)) && ((this._y >= 396) && (this._y <= 414)))) {
if ((this._x >= 606) && (this._x <= 690.5)) {
if (_root.lever1_occupied == false) {
this._x = 643.95;
this._y = 407.95;
_root.lever1_occupied = true;
current_lever = 1;
_root.lever1_glass = this;
if (_root.lever1_state == true) {
_root.lever1_glass.glass.play();
}
_root.lever1_glass.temp_drink_type = "beer1";
} else {
_root.pint_glass_fall = true;
}
}
if ((this._x > 690.5) && (this._x <= 775)) {
if (_root.lever2_occupied == false) {
this._x = 741.95;
this._y = 407.95;
_root.lever2_occupied = true;
current_lever = 2;
_root.lever2_glass = this;
if (_root.lever2_state == true) {
_root.lever2_glass.glass.play();
}
_root.lever2_glass.temp_drink_type = "beer2";
} else {
_root.pint_glass_fall = true;
}
}
if ((((this._y < 365) && (this._y >= 280)) && (this._x > 17)) && (this._x < 429)) {
_root.latest_glass_movie = this;
sound_random = random(2) + 1;
if (sound_random == 1) {
_root.glass_onbar1.start();
} else {
_root.glass_onbar2.start();
}
if ((((this._x > 280) && (this._x < 423)) && (this._y > 280)) && (this._y < 338)) {
_root.current_drink_type = this.drink_type;
_root.current_drink_movie = this;
}
}
if (_root.pint_glass_fall == false) {
this.gotoAndStop(5);
}
} else if (this._y >= 365) {
_root.pint_glass_fall = true;
trace("below the bar");
} else if (this._y < 280) {
_root.pint_glass_fall = true;
trace("above the bar");
}
if (_root.pint_glass_fall == true) {
play();
}
trace(_root.lever1_occupied);
trace(_root.lever2_occupied);
Symbol 270 MovieClip Frame 3
this._y = this._y + this.speed;
this._rotation = this._rotation + 10;
this.speed = this.speed + 1;
if (this._y >= 600) {
removeMovieClip(this);
_root.speed = 10;
_root.smash_start();
}
Symbol 270 MovieClip Frame 4
gotoAndPlay (3);
Symbol 270 MovieClip Frame 5
stop();
Symbol 272 Button
on (press) {
_root.cigarette_state = true;
startDrag (_root.cigarette);
_root.cigarette.cigarette_anim.stop();
}
on (release) {
_root.cigarette_state = false;
stopDrag();
_root.cigarette.gotoAndPlay(2);
}
Symbol 273 MovieClip Frame 597
count++;
if (count > 10) {
gotoAndPlay (1);
} else {
gotoAndPlay ("counter");
}
Symbol 274 MovieClip Frame 1
trace("xpos of fag" + fag_xpos);
trace("ypos of fag" + fag_ypos);
stop();
Symbol 274 MovieClip Frame 2
_root.temp_depth = _root.depth;
if (_root.cigarette.cigarette_anim.hitTest(_root["tall_glass" + _root.temp_depth])) {
_root["tall_glass" + _root.temp_depth].cigarette.nextFrame();
_root.cigarette._x = fag_xpos - 12;
_root.cigarette._y = fag_ypos - 12;
_root.speed = 10;
_root.ice_drink.start();
_root.cigarette.cigarette_anim.gotoAndPlay(1);
gotoAndStop (1);
}
if (_root.cigarette.cigarette_anim.hitTest(_root["pint_glass" + _root.temp_depth])) {
_root["pint_glass" + _root.temp_depth].cigarette.nextFrame();
_root.cigarette._x = fag_xpos - 12;
_root.cigarette._y = fag_ypos - 12;
_root.speed = 10;
_root.ice_drink.start();
_root.cigarette.cigarette_anim.gotoAndPlay(1);
gotoAndStop (1);
}
_root.temp_depth--;
if (_root.cigarette.cigarette_anim.hitTest(_root["tall_glass" + _root.temp_depth])) {
_root["tall_glass" + _root.temp_depth].cigarette.nextFrame();
_root.cigarette._x = fag_xpos - 12;
_root.cigarette._y = fag_ypos - 12;
_root.speed = 10;
_root.ice_drink.start();
_root.cigarette.cigarette_anim.gotoAndPlay(1);
gotoAndStop (1);
}
if (_root.cigarette.cigarette_anim.hitTest(_root["pint_glass" + _root.temp_depth])) {
_root["pint_glass" + _root.temp_depth].cigarette.nextFrame();
_root.cigarette._x = fag_xpos - 12;
_root.cigarette._y = fag_ypos - 12;
_root.speed = 10;
_root.ice_drink.start();
_root.cigarette.cigarette_anim.gotoAndPlay(1);
gotoAndStop (1);
}
_root.temp_depth--;
if (_root.cigarette.cigarette_anim.hitTest(_root["tall_glass" + _root.temp_depth])) {
_root["tall_glass" + _root.temp_depth].cigarette.nextFrame();
_root.cigarette._x = fag_xpos - 12;
_root.cigarette._y = fag_ypos - 12;
_root.speed = 10;
_root.ice_drink.start();
_root.cigarette.cigarette_anim.gotoAndPlay(1);
gotoAndStop (1);
}
if (_root.cigarette.cigarette_anim.hitTest(_root["pint_glass" + _root.temp_depth])) {
_root["pint_glass" + _root.temp_depth].cigarette.nextFrame();
_root.cigarette._x = fag_xpos - 12;
_root.cigarette._y = fag_ypos - 12;
_root.speed = 10;
_root.ice_drink.start();
_root.cigarette.cigarette_anim.gotoAndPlay(1);
gotoAndStop (1);
}
_root.temp_depth--;
if (_root.cigarette.cigarette_anim.hitTest(_root["tall_glass" + _root.temp_depth])) {
_root["tall_glass" + _root.temp_depth].cigarette.nextFrame();
_root.cigarette._x = fag_xpos - 12;
_root.cigarette._y = fag_ypos - 12;
_root.speed = 10;
_root.ice_drink.start();
_root.cigarette.cigarette_anim.gotoAndPlay(1);
gotoAndStop (1);
}
if (_root.cigarette.cigarette_anim.hitTest(_root["pint_glass" + _root.temp_depth])) {
_root["pint_glass" + _root.temp_depth].cigarette.nextFrame();
_root.cigarette._x = fag_xpos - 12;
_root.cigarette._y = fag_ypos - 12;
_root.speed = 10;
_root.ice_drink.start();
_root.cigarette.cigarette_anim.gotoAndPlay(1);
gotoAndStop (1);
}
_root.temp_depth--;
if (_root.cigarette.cigarette_anim.hitTest(_root["tall_glass" + _root.temp_depth])) {
_root["tall_glass" + _root.temp_depth].cigarette.nextFrame();
_root.cigarette._x = fag_xpos - 12;
_root.cigarette._y = fag_ypos - 12;
_root.speed = 10;
_root.ice_drink.start();
_root.cigarette.cigarette_anim.gotoAndPlay(1);
gotoAndStop (1);
}
if (_root.cigarette.cigarette_anim.hitTest(_root["pint_glass" + _root.temp_depth])) {
_root["pint_glass" + _root.temp_depth].cigarette.nextFrame();
_root.cigarette._x = fag_xpos - 12;
_root.cigarette._y = fag_ypos - 12;
_root.speed = 10;
_root.ice_drink.start();
_root.cigarette.cigarette_anim.gotoAndPlay(1);
gotoAndStop (1);
}
_root.temp_depth--;
if (_root.cigarette.cigarette_anim.hitTest(_root["tall_glass" + _root.temp_depth])) {
_root["tall_glass" + _root.temp_depth].cigarette.nextFrame();
_root.cigarette._x = fag_xpos - 12;
_root.cigarette._y = fag_ypos - 12;
_root.speed = 10;
_root.ice_drink.start();
_root.cigarette.cigarette_anim.gotoAndPlay(1);
gotoAndStop (1);
}
if (_root.cigarette.cigarette_anim.hitTest(_root["pint_glass" + _root.temp_depth])) {
_root["pint_glass" + _root.temp_depth].cigarette.nextFrame();
_root.cigarette._x = fag_xpos - 12;
_root.cigarette._y = fag_ypos - 12;
_root.speed = 10;
_root.ice_drink.start();
_root.cigarette.cigarette_anim.gotoAndPlay(1);
gotoAndStop (1);
}
if (_root.cigarette._y < 610) {
_root.speed = _root.speed + 1;
_root.cigarette._y = _root.cigarette._y + _root.speed;
play();
} else {
_root.cigarette._x = fag_xpos;
_root.cigarette._y = fag_ypos;
_root.speed = 10;
_root.ice_drink.start();
_root.cigarette.cigarette_anim.gotoAndPlay(1);
gotoAndStop (1);
}
Symbol 274 MovieClip Frame 3
gotoAndPlay (2);
Symbol 279 MovieClip Frame 30
stop();
Symbol 281 MovieClip Frame 30
stop();
Symbol 283 MovieClip Frame 30
stop();
Symbol 285 MovieClip Frame 30
stop();
Symbol 287 MovieClip Frame 30
stop();
Symbol 289 MovieClip Frame 30
stop();
Symbol 291 MovieClip Frame 30
stop();
Symbol 293 MovieClip Frame 30
stop();
Symbol 295 MovieClip Frame 30
stop();
Symbol 297 MovieClip Frame 30
stop();
Symbol 299 MovieClip Frame 30
stop();
Symbol 300 MovieClip Frame 1
stop();
Symbol 300 MovieClip Frame 2
stop();
Symbol 300 MovieClip Frame 3
stop();
Symbol 300 MovieClip Frame 4
stop();
Symbol 300 MovieClip Frame 5
stop();
Symbol 300 MovieClip Frame 6
stop();
Symbol 300 MovieClip Frame 7
stop();
Symbol 300 MovieClip Frame 8
stop();
Symbol 300 MovieClip Frame 9
stop();
Symbol 300 MovieClip Frame 10
stop();
Symbol 300 MovieClip Frame 11
stop();
Symbol 300 MovieClip Frame 12
stop();
Symbol 309 MovieClip Frame 1
stop();
Symbol 309 MovieClip Frame 2
_root.person_order = [["notok", "coke", 1], ["notok", "lemon", 1], ["notok", "green_bottle", 1], ["notok", "beer1", 1]];
_root["order" + _root.order_no] = _root.person_order;
stop();
Symbol 309 MovieClip Frame 3
_root.person_order = [["notok", "yellow_bottle", 2], ["notok", "gray_bottle", 1], ["notok", "green_bottle", 1], ["notok", "beer2", 1]];
_root["order" + _root.order_no] = _root.person_order;
stop();
Symbol 309 MovieClip Frame 4
_root.person_order = [["notok", "beer1", 1], ["notok", "beer2", 1], ["ok", "ok", "ok"], ["ok", "ok", "ok"]];
_root["order" + _root.order_no] = _root.person_order;
stop();
Symbol 309 MovieClip Frame 5
_root.person_order = [["notok", "beer1", 1], ["notok", "beer2", 2], ["ok", "ok", "ok"], ["ok", "ok", "ok"]];
_root["order" + _root.order_no] = _root.person_order;
stop();
Symbol 309 MovieClip Frame 6
_root.person_order = [["notok", "beer1", 2], ["notok", "beer2", 2], ["ok", "ok", "ok"], ["ok", "ok", "ok"]];
_root["order" + _root.order_no] = _root.person_order;
stop();
Symbol 309 MovieClip Frame 7
_root.person_order = [["notok", "coke", 2], ["notok", "lemon", 2], ["ok", "ok", "ok"], ["ok", "ok", "ok"]];
_root["order" + _root.order_no] = _root.person_order;
stop();
Symbol 309 MovieClip Frame 8
_root.person_order = [["notok", "yellow_bottle", 2], ["notok", "gray_bottle", 2], ["ok", "ok", "ok"], ["ok", "ok", "ok"]];
_root["order" + _root.order_no] = _root.person_order;
stop();
Symbol 309 MovieClip Frame 9
_root.person_order = [["notok", "beer1", 1], ["notok", "lemon", 1], ["notok", "green_bottle", 1], ["ok", "ok", "ok"]];
_root["order" + _root.order_no] = _root.person_order;
stop();
Symbol 309 MovieClip Frame 10
_root.person_order = [["notok", "coke", 1], ["notok", "beer2", 1], ["ok", "ok", "ok"], ["ok", "ok", "ok"]];
_root["order" + _root.order_no] = _root.person_order;
stop();
Symbol 309 MovieClip Frame 11
_root.person_order = [["notok", "green_bottle", 1], ["notok", "gray_bottle", 1], ["notok", "yellow_bottle", 1], ["ok", "ok", "ok"]];
_root["order" + _root.order_no] = _root.person_order;
stop();
Symbol 309 MovieClip Frame 12
_root.person_order = [["notok", "vodka_coke", 1], ["notok", "whiskey_coke", 1], ["ok", "ok", "ok"], ["ok", "ok", "ok"]];
_root["order" + _root.order_no] = _root.person_order;
stop();
Symbol 309 MovieClip Frame 13
_root.person_order = [["notok", "vodka_lemon", 2], ["ok", "ok", "ok"], ["ok", "ok", "ok"], ["ok", "ok", "ok"]];
_root["order" + _root.order_no] = _root.person_order;
stop();
Symbol 309 MovieClip Frame 14
_root.person_order = [["notok", "whiskey_ice", 2], ["notok", "coke", 1], ["notok", "beer1", 1], ["ok", "ok", "ok"]];
_root["order" + _root.order_no] = _root.person_order;
stop();
Symbol 309 MovieClip Frame 15
_root.person_order = [["notok", "vodka_lemon", 1], ["notok", "beer1", 2], ["notok", "vodka_ice", 2], ["ok", "ok", "ok"]];
_root["order" + _root.order_no] = _root.person_order;
stop();
Symbol 309 MovieClip Frame 16
_root.person_order = [["notok", "beer1", 2], ["notok", "beer2", 1], ["notok", "vodka_coke", 2], ["ok", "ok", "ok"]];
_root["order" + _root.order_no] = _root.person_order;
stop();
Symbol 309 MovieClip Frame 17
_root.person_order = [["notok", "vodka_ice", 1], ["notok", "lemon", 1], ["notok", "green_bottle", 2], ["notok", "beer2", 2]];
_root["order" + _root.order_no] = _root.person_order;
stop();
Symbol 309 MovieClip Frame 18
_root.person_order = [["notok", "whiskey_lemon", 1], ["notok", "vodka_lemon", 1], ["ok", "ok", "ok"], ["ok", "ok", "ok"]];
_root["order" + _root.order_no] = _root.person_order;
stop();
Symbol 309 MovieClip Frame 19
_root.person_order = [["notok", "whiskey_ice", 1], ["notok", "vodka_ice", 1], ["notok", "beer1", 1], ["notok", "beer2", 1]];
_root["order" + _root.order_no] = _root.person_order;
stop();
Symbol 309 MovieClip Frame 20
_root.person_order = [["notok", "whiskey_ice", 1], ["notok", "yellow_bottle", 1], ["notok", "beer2", 1], ["ok", "ok", "ok"]];
_root["order" + _root.order_no] = _root.person_order;
stop();
Symbol 309 MovieClip Frame 21
_root.person_order = [["notok", "vodka_ice", 1], ["notok", "gray_bottle", 1], ["notok", "whiskey_ice", 1], ["notok", "whiskey_coke", 1]];
_root["order" + _root.order_no] = _root.person_order;
stop();
Symbol 314 Button
on (press) {
if (_root.drink_panel2_state == false) {
_root.drink_panel2_state = true;
_root.lemon_pour.gotoAndPlay(2);
_root.drink_panel2_timout = 0;
if (_root.drink_panel2_state == true) {
if (_root.drink_panel2_glass.glass.fill_level == 0) {
_root.drink_panel2_glass.glass.gotoAndPlay("lemon");
} else if (_root.drink_panel2_glass.glass.fill_level == 1) {
_root.drink_panel2_glass.glass.play();
}
}
} else {
_root.drink_panel2_state = false;
_root.lemon_pour.gotoAndStop(1);
_root.drink_panel2_glass.glass.stop();
}
}
Symbol 318 Button
on (press) {
if (_root.drink_panel1_state == false) {
_root.drink_panel1_state = true;
_root.drink_panel1_timout = 0;
_root.coke_pour.gotoAndPlay(2);
if (_root.drink_panel1_state == true) {
if (_root.drink_panel1_glass.glass.fill_level == 0) {
_root.drink_panel1_glass.glass.gotoAndPlay("coke");
} else if (_root.drink_panel1_glass.glass.fill_level == 1) {
_root.drink_panel1_glass.glass.play();
}
}
} else {
_root.drink_panel1_state = false;
_root.coke_pour.gotoAndStop(1);
_root.drink_panel1_glass.glass.stop();
}
}
Symbol 321 Button
on (press) {
tellTarget (_root.lever1) {
play();
};
}
Symbol 323 MovieClip Frame 1
_root.lever2_state = false;
stop();
Symbol 323 MovieClip Frame 7
_root.beer_pour2.play();
Symbol 323 MovieClip Frame 13
_root.lever2_state = true;
_root.lever2_glass.glass.play();
stop();
Symbol 323 MovieClip Frame 20
_root.lever2_glass.glass.stop();
_root.beer_pour2.play();
Symbol 324 MovieClip Frame 1
_root.lever1_state = false;
stop();
Symbol 324 MovieClip Frame 7
_root.beer_pour1.play();
Symbol 324 MovieClip Frame 13
_root.lever1_state = true;
_root.lever1_glass.glass.play();
stop();
Symbol 324 MovieClip Frame 20
_root.lever1_glass.glass.stop();
_root.beer_pour1.play();
Symbol 327 Button
on (press) {
_root.worm_state = true;
startDrag (_root.worm);
_root.worm.worm_anim.stop();
}
on (release) {
_root.worm_state = false;
stopDrag();
_root.worm.gotoAndPlay(2);
}
Symbol 346 MovieClip Frame 1
stop();
Symbol 346 MovieClip Frame 2
_root.temp_depth = _root.depth;
if (((_root.worm._y > _root["tall_glass" + _root.temp_depth]._y) && (_root.worm._x <= (_root["tall_glass" + _root.temp_depth]._x + 6))) && (_root.worm._x >= (_root["tall_glass" + _root.temp_depth]._x - 6))) {
_root["tall_glass" + _root.temp_depth].worm.nextFrame();
_root.worm._x = worm_xpos - 12;
_root.worm._y = worm_ypos - 12;
_root.speed = 10;
_root.worm._rotation = worm_rotation;
_root.ice_drink.start();
gotoAndStop (1);
}
if (((_root.worm._y > _root["pint_glass" + _root.temp_depth]._y) && (_root.worm._x <= (_root["pint_glass" + _root.temp_depth]._x + 8))) && (_root.worm._x >= (_root["pint_glass" + _root.temp_depth]._x - 8))) {
_root["pint_glass" + _root.temp_depth].worm.nextFrame();
_root.worm._x = worm_xpos - 12;
_root.worm._y = worm_ypos - 12;
_root.speed = 10;
_root.worm._rotation = worm_rotation;
_root.ice_drink.start();
gotoAndStop (1);
}
_root.temp_depth--;
if (((_root.worm._y > _root["tall_glass" + _root.temp_depth]._y) && (_root.worm._x <= (_root["tall_glass" + _root.temp_depth]._x + 6))) && (_root.worm._x >= (_root["tall_glass" + _root.temp_depth]._x - 6))) {
_root["tall_glass" + _root.temp_depth].worm.nextFrame();
_root.worm._x = worm_xpos - 12;
_root.worm._y = worm_ypos - 12;
_root.speed = 10;
_root.worm._rotation = worm_rotation;
_root.ice_drink.start();
gotoAndStop (1);
}
if (((_root.worm._y > _root["pint_glass" + _root.temp_depth]._y) && (_root.worm._x <= (_root["pint_glass" + _root.temp_depth]._x + 8))) && (_root.worm._x >= (_root["pint_glass" + _root.temp_depth]._x - 8))) {
_root["pint_glass" + _root.temp_depth].worm.nextFrame();
_root.worm._x = worm_xpos - 12;
_root.worm._y = worm_ypos - 12;
_root.speed = 10;
_root.worm._rotation = worm_rotation;
_root.ice_drink.start();
gotoAndStop (1);
}
_root.temp_depth--;
if (((_root.worm._y > _root["tall_glass" + _root.temp_depth]._y) && (_root.worm._x <= (_root["tall_glass" + _root.temp_depth]._x + 6))) && (_root.worm._x >= (_root["tall_glass" + _root.temp_depth]._x - 6))) {
_root["tall_glass" + _root.temp_depth].worm.nextFrame();
_root.worm._x = worm_xpos - 12;
_root.worm._y = worm_ypos - 12;
_root.speed = 10;
_root.worm._rotation = worm_rotation;
_root.ice_drink.start();
gotoAndStop (1);
}
if (((_root.worm._y > _root["pint_glass" + _root.temp_depth]._y) && (_root.worm._x <= (_root["pint_glass" + _root.temp_depth]._x + 8))) && (_root.worm._x >= (_root["pint_glass" + _root.temp_depth]._x - 8))) {
_root["pint_glass" + _root.temp_depth].worm.nextFrame();
_root.worm._x = worm_xpos - 12;
_root.worm._y = worm_ypos - 12;
_root.speed = 10;
_root.worm._rotation = worm_rotation;
_root.ice_drink.start();
gotoAndStop (1);
}
_root.temp_depth--;
if (((_root.worm._y > _root["tall_glass" + _root.temp_depth]._y) && (_root.worm._x <= (_root["tall_glass" + _root.temp_depth]._x + 6))) && (_root.worm._x >= (_root["tall_glass" + _root.temp_depth]._x - 6))) {
_root["tall_glass" + _root.temp_depth].worm.nextFrame();
_root.worm._x = worm_xpos - 12;
_root.worm._y = worm_ypos - 12;
_root.speed = 10;
_root.worm._rotation = worm_rotation;
_root.ice_drink.start();
gotoAndStop (1);
}
if (((_root.worm._y > _root["pint_glass" + _root.temp_depth]._y) && (_root.worm._x <= (_root["pint_glass" + _root.temp_depth]._x + 8))) && (_root.worm._x >= (_root["pint_glass" + _root.temp_depth]._x - 8))) {
_root["pint_glass" + _root.temp_depth].worm.nextFrame();
_root.worm._x = worm_xpos - 12;
_root.worm._y = worm_ypos - 12;
_root.speed = 10;
_root.worm._rotation = worm_rotation;
_root.ice_drink.start();
gotoAndStop (1);
}
_root.temp_depth--;
if (((_root.worm._y > _root["tall_glass" + _root.temp_depth]._y) && (_root.worm._x <= (_root["tall_glass" + _root.temp_depth]._x + 6))) && (_root.worm._x >= (_root["tall_glass" + _root.temp_depth]._x - 6))) {
_root["tall_glass" + _root.temp_depth].worm.nextFrame();
_root.worm._x = worm_xpos - 12;
_root.worm._y = worm_ypos - 12;
_root.speed = 10;
_root.worm._rotation = worm_rotation;
_root.ice_drink.start();
gotoAndStop (1);
}
if (((_root.worm._y > _root["pint_glass" + _root.temp_depth]._y) && (_root.worm._x <= (_root["pint_glass" + _root.temp_depth]._x + 8))) && (_root.worm._x >= (_root["pint_glass" + _root.temp_depth]._x - 8))) {
_root["pint_glass" + _root.temp_depth].worm.nextFrame();
_root.worm._x = worm_xpos - 12;
_root.worm._y = worm_ypos - 12;
_root.speed = 10;
_root.worm._rotation = worm_rotation;
_root.ice_drink.start();
gotoAndStop (1);
}
if (_root.worm._y < 610) {
_root.speed = _root.speed + 1;
_root.worm._y = _root.worm._y + _root.speed;
_root.worm._rotation = _root.worm._rotation + 10;
play();
} else {
_root.worm._x = worm_xpos;
_root.worm._y = worm_ypos;
trace("worm ypos else" + _root.worm.worm_ypos);
_root.speed = 10;
_root.worm._rotation = worm_rotation;
_root.ice_drop.start();
gotoAndStop (1);
}
Symbol 346 MovieClip Frame 3
gotoAndPlay (2);
Symbol 357 MovieClip Frame 45
_parent.gotoAndStop("idle");
Symbol 361 MovieClip Frame 41
_root.new_customer = true;
this._parent.gotoAndStop(1);
stop();
Symbol 362 MovieClip Frame 1
stop();
Symbol 362 MovieClip Frame 2
_root.make_order = true;
stop();
Symbol 362 MovieClip Frame 3
stop();
Symbol 362 MovieClip Frame 4
stop();
Symbol 362 MovieClip Frame 5
_root.new_customer = true;
stop();
Symbol 366 MovieClip Frame 45
_parent.gotoAndStop("idle");
Symbol 369 MovieClip Frame 56
_root.new_customer = true;
this._parent.gotoAndStop(1);
stop();
Symbol 370 MovieClip Frame 1
stop();
Symbol 370 MovieClip Frame 2
_root.make_order = true;
stop();
Symbol 370 MovieClip Frame 3
stop();
Symbol 370 MovieClip Frame 4
stop();
Symbol 370 MovieClip Frame 5
_root.new_customer = true;
stop();
Symbol 377 MovieClip Frame 45
_parent.gotoAndStop("idle");
Symbol 379 MovieClip Frame 1
walk_random = random(5);
trace(walk_random);
if (walk_random == 1) {
play();
} else {
gotoAndPlay ("walk_normal");
}
Symbol 379 MovieClip Frame 76
_root.new_customer = true;
this._parent.gotoAndStop(1);
stop();
Symbol 379 MovieClip Frame 115
_root.new_customer = true;
this._parent.gotoAndStop(1);
stop();
Symbol 380 MovieClip Frame 1
stop();
Symbol 380 MovieClip Frame 2
_root.make_order = true;
stop();
Symbol 380 MovieClip Frame 3
stop();
Symbol 380 MovieClip Frame 4
stop();
Symbol 380 MovieClip Frame 5
_root.new_customer = true;
stop();
Symbol 383 MovieClip Frame 45
_parent.gotoAndStop("idle");
Symbol 390 MovieClip Frame 442
stop();
Symbol 391 MovieClip Frame 1
walk_random = random(5);
trace(walk_random);
if (walk_random == 1) {
play();
} else if (walk_random == 2) {
gotoAndPlay ("walk_2");
} else {
gotoAndPlay ("walk_3");
}
Symbol 391 MovieClip Frame 46
_root.new_customer = true;
this._parent.gotoAndStop(1);
stop();
Symbol 391 MovieClip Frame 75
_root.new_customer = true;
this._parent.gotoAndStop(1);
stop();
Symbol 391 MovieClip Frame 111
_root.new_customer = true;
this._parent.gotoAndStop(1);
stop();
Symbol 392 MovieClip Frame 1
stop();
Symbol 392 MovieClip Frame 2
_root.make_order = true;
stop();
Symbol 392 MovieClip Frame 3
stop();
Symbol 392 MovieClip Frame 4
stop();
Symbol 392 MovieClip Frame 5
_root.new_customer = true;
stop();
Symbol 393 MovieClip Frame 45
_parent.gotoAndStop("idle");
Symbol 394 MovieClip Frame 1
walk_random = random(4);
if (walk_random == 1) {
gotoAndPlay ("walk_2");
} else if (walk_random == 2) {
gotoAndPlay ("walk_3");
} else {
play();
}
Symbol 394 MovieClip Frame 40
_root.new_customer = true;
this._parent.gotoAndStop(1);
stop();
Symbol 394 MovieClip Frame 80
_root.new_customer = true;
this._parent.gotoAndStop(1);
stop();
Symbol 394 MovieClip Frame 102
_root.new_customer = true;
this._parent.gotoAndStop(1);
stop();
Symbol 395 MovieClip Frame 1
stop();
Symbol 395 MovieClip Frame 2
_root.make_order = true;
stop();
Symbol 395 MovieClip Frame 3
stop();
Symbol 395 MovieClip Frame 4
stop();
Symbol 395 MovieClip Frame 5
_root.new_customer = true;
stop();
Symbol 406 MovieClip Frame 45
this._parent.gotoAndStop("idle");
Symbol 409 MovieClip Frame 1
walk_random = random(3);
trace(walk_random);
if (walk_random == 1) {
gotoAndPlay ("walk_2");
} else if (walk_random == 2) {
gotoAndPlay ("walk_3");
} else {
play();
}
Symbol 409 MovieClip Frame 40
_root.new_customer = true;
this._parent.gotoAndStop(1);
stop();
Symbol 409 MovieClip Frame 80
_root.new_customer = true;
this._parent.gotoAndStop(1);
stop();
Symbol 409 MovieClip Frame 88
_root.new_customer = true;
this._parent.gotoAndStop(1);
stop();
Symbol 410 MovieClip Frame 1
stop();
Symbol 410 MovieClip Frame 2
_root.make_order = true;
stop();
Symbol 410 MovieClip Frame 3
stop();
Symbol 410 MovieClip Frame 4
stop();
Symbol 410 MovieClip Frame 5
_root.new_customer = true;
stop();
Symbol 423 MovieClip Frame 1
walk_random = random(3);
trace(walk_random);
if (walk_random == 1) {
play();
} else {
gotoAndPlay ("walk_2");
}
Symbol 423 MovieClip Frame 45
_parent.gotoAndStop("idle");
Symbol 423 MovieClip Frame 100
_parent.gotoAndStop("idle");
Symbol 440 MovieClip Frame 29
Symbol 442 MovieClip Frame 1
walk_random = random(3);
if (walk_random == 1) {
gotoAndPlay ("walk_2");
} else {
play();
}
Symbol 442 MovieClip Frame 41
_root.new_customer = true;
this._parent.gotoAndStop(1);
stop();
Symbol 442 MovieClip Frame 83
_root.new_customer = true;
this._parent.gotoAndStop(1);
stop();
Symbol 443 MovieClip Frame 1
stop();
Symbol 443 MovieClip Frame 2
_root.make_order = true;
stop();
Symbol 443 MovieClip Frame 3
stop();
Symbol 443 MovieClip Frame 4
stop();
Symbol 443 MovieClip Frame 5
_root.new_customer = true;
stop();
Symbol 450 MovieClip Frame 1
walk_random = random(2);
if (walk_random == 1) {
gotoAndPlay ("walk_2");
} else {
play();
}
Symbol 450 MovieClip Frame 50
_parent.gotoAndStop("idle");
Symbol 450 MovieClip Frame 70
_parent.gotoAndStop("idle");
Symbol 453 MovieClip Frame 1
walk_random = random(2);
if (walk_random == 1) {
gotoAndPlay ("walk_2");
} else {
play();
}
Symbol 453 MovieClip Frame 51
_root.new_customer = true;
this._parent.gotoAndStop(1);
stop();
Symbol 453 MovieClip Frame 75
_root.new_customer = true;
this._parent.gotoAndStop(1);
stop();
Symbol 455 MovieClip Frame 1
stop();
Symbol 455 MovieClip Frame 2
_root.make_order = true;
stop();
Symbol 455 MovieClip Frame 3
stop();
Symbol 455 MovieClip Frame 4
stop();
Symbol 455 MovieClip Frame 5
_root.new_customer = true;
stop();
Symbol 462 MovieClip Frame 50
_parent.gotoAndStop("idle");
Symbol 465 MovieClip Frame 1
walk_random = random(3);
trace(walk_random);
if (walk_random == 1) {
play();
} else {
gotoAndPlay ("walk_2");
}
Symbol 465 MovieClip Frame 51
_root.new_customer = true;
this._parent.gotoAndStop(1);
stop();
Symbol 465 MovieClip Frame 108
_root.new_customer = true;
this._parent.gotoAndStop(1);
stop();
Symbol 466 MovieClip Frame 1
stop();
Symbol 466 MovieClip Frame 2
_root.make_order = true;
stop();
Symbol 466 MovieClip Frame 3
stop();
Symbol 466 MovieClip Frame 4
trace("i came");
stop();
Symbol 466 MovieClip Frame 5
_root.new_customer = true;
stop();
Symbol 467 MovieClip Frame 1
stop();
Symbol 467 MovieClip Frame 2
stop();
Symbol 467 MovieClip Frame 3
stop();
Symbol 467 MovieClip Frame 4
stop();
Symbol 467 MovieClip Frame 5
stop();
Symbol 467 MovieClip Frame 6
stop();
Symbol 467 MovieClip Frame 7
stop();
Symbol 467 MovieClip Frame 8
stop();
Symbol 467 MovieClip Frame 9
stop();
Symbol 467 MovieClip Frame 10
stop();
Symbol 470 Button
on (press) {
_root.yellow_bottle_hold = 1;
startDrag (this, true);
}
on (release) {
_root.yellow_bottle_hold = 0;
stopDrag();
nextFrame();
}
Symbol 471 Button
on (press) {
_root.yellow_bottle_hold = 1;
startDrag (this, true);
_root[("lever" + current_lever) + "_occupied"] = false;
}
on (release) {
_root.yellow_bottle_hold = 0;
stopDrag();
gotoAndStop (2);
}
Symbol 472 MovieClip Frame 1
stop();
Symbol 472 MovieClip Frame 2
this.speed = 10;
_root.yellow_bottle_fall = false;
if (((this._y < 365) && (this._y >= 280)) || (((this._x >= 606) && (this._x <= 775)) && ((this._y >= 396) && (this._y <= 414)))) {
if ((this._x >= 606) && (this._x <= 690.5)) {
if (_root.lever1_occupied == false) {
this._x = 643.95;
this._y = 407.95;
_root.lever1_occupied = true;
current_lever = 1;
_root.lever1_glass = this;
} else {
_root.yellow_bottle_fall = true;
}
}
if ((this._x > 690.5) && (this._x <= 775)) {
if (_root.lever2_occupied == false) {
this._x = 741.95;
this._y = 407.95;
_root.lever2_occupied = true;
current_lever = 2;
_root.lever2_glass = this;
} else {
_root.yellow_bottle_fall = true;
}
}
if ((((this._y < 365) && (this._y >= 280)) && (this._x > 17)) && (this._x < 429)) {
_root.latest_glass_movie = this;
sound_random = random(2) + 1;
if (sound_random == 1) {
_root.glass_onbar1.start();
} else {
_root.glass_onbar2.start();
}
if ((((this._x > 280) && (this._x < 423)) && (this._y > 280)) && (this._y < 338)) {
_root.current_drink_type = "yellow_bottle";
_root.current_drink_movie = this;
}
}
if (_root.yellow_bottle_fall == false) {
this.gotoAndStop(5);
}
} else if (this._y >= 365) {
_root.yellow_bottle_fall = true;
} else if (this._y < 280) {
_root.yellow_bottle_fall = true;
}
if (_root.yellow_bottle_fall == true) {
play();
}
Symbol 472 MovieClip Frame 3
this._y = this._y + this.speed;
this._rotation = this._rotation + 10;
this.speed = this.speed + 1;
if (this._y >= 600) {
removeMovieClip(this);
_root.speed = 10;
_root.smash_start();
}
Symbol 472 MovieClip Frame 4
gotoAndPlay (3);
Symbol 472 MovieClip Frame 5
stop();
Symbol 473 Button
on (press) {
_root.depth++;
duplicateMovieClip (_root.yellow_bottle, "yellow_bottle" + _root.depth, _root.depth);
startDrag ("_root.yellow_bottle" + _root.depth, true);
}
on (releaseOutside) {
_root.yellow_bottle_hold = 0;
stopDrag();
_root["yellow_bottle" + _root.depth].nextFrame();
}
Symbol 474 Button
on (press) {
_root.gray_bottle_hold = 1;
startDrag (this, true);
}
on (release) {
_root.gray_bottle_hold = 0;
stopDrag();
nextFrame();
}
Symbol 475 Button
on (press) {
_root.gray_bottle_hold = 1;
startDrag (this, true);
_root[("lever" + current_lever) + "_occupied"] = false;
}
on (release) {
_root.gray_bottle_hold = 0;
stopDrag();
gotoAndStop (2);
}
Symbol 476 MovieClip Frame 1
stop();
Symbol 476 MovieClip Frame 2
this.speed = 10;
_root.gray_bottle_fall = false;
if (((this._y < 365) && (this._y >= 280)) || (((this._x >= 606) && (this._x <= 775)) && ((this._y >= 396) && (this._y <= 414)))) {
if ((this._x >= 606) && (this._x <= 690.5)) {
if (_root.lever1_occupied == false) {
this._x = 643.95;
this._y = 407.95;
_root.lever1_occupied = true;
current_lever = 1;
_root.lever1_glass = this;
} else {
_root.gray_bottle_fall = true;
}
}
if ((this._x > 690.5) && (this._x <= 775)) {
if (_root.lever2_occupied == false) {
this._x = 741.95;
this._y = 407.95;
_root.lever2_occupied = true;
current_lever = 2;
_root.lever2_glass = this;
} else {
_root.gray_bottle_fall = true;
}
}
if ((((this._y < 365) && (this._y >= 280)) && (this._x > 17)) && (this._x < 429)) {
_root.latest_glass_movie = this;
sound_random = random(2) + 1;
if (sound_random == 1) {
_root.glass_onbar1.start();
} else {
_root.glass_onbar2.start();
}
if ((((this._x > 280) && (this._x < 423)) && (this._y > 280)) && (this._y < 338)) {
_root.current_drink_type = "gray_bottle";
_root.current_drink_movie = this;
}
}
if (_root.gray_bottle_fall == false) {
this.gotoAndStop(5);
}
} else if (this._y >= 365) {
_root.gray_bottle_fall = true;
trace("below the bar");
} else if (this._y < 280) {
_root.gray_bottle_fall = true;
trace("above the bar");
}
if (_root.gray_bottle_fall == true) {
play();
}
Symbol 476 MovieClip Frame 3
this._y = this._y + this.speed;
this._rotation = this._rotation + 10;
this.speed = this.speed + 1;
if (this._y >= 600) {
removeMovieClip(this);
_root.speed = 10;
_root.smash_start();
}
Symbol 476 MovieClip Frame 4
gotoAndPlay (3);
Symbol 476 MovieClip Frame 5
stop();
Symbol 477 Button
on (press) {
_root.depth++;
duplicateMovieClip (_root.gray_bottle, "gray_bottle" + _root.depth, _root.depth);
startDrag ("_root.gray_bottle" + _root.depth, true);
}
on (releaseOutside) {
_root.gray_bottle_hold = 0;
stopDrag();
_root["gray_bottle" + _root.depth].nextFrame();
}
Symbol 478 Button
on (press) {
_root.green_bottle_hold = 1;
startDrag (this, true);
}
on (release) {
_root.green_bottle_hold = 0;
stopDrag();
nextFrame();
}
Symbol 479 Button
on (press) {
_root.green_bottle_hold = 1;
startDrag (this, true);
_root[("lever" + current_lever) + "_occupied"] = false;
}
on (release) {
_root.green_bottle_hold = 0;
stopDrag();
gotoAndStop (2);
}
Symbol 480 MovieClip Frame 1
stop();
Symbol 480 MovieClip Frame 2
this.speed = 10;
_root.green_bottle_fall = false;
if (((this._y < 365) && (this._y >= 280)) || (((this._x >= 606) && (this._x <= 775)) && ((this._y >= 396) && (this._y <= 414)))) {
if ((this._x >= 606) && (this._x <= 690.5)) {
if (_root.lever1_occupied == false) {
this._x = 643.95;
this._y = 407.95;
_root.lever1_occupied = true;
current_lever = 1;
_root.lever1_glass = this;
} else {
_root.green_bottle_fall = true;
}
}
if ((this._x > 690.5) && (this._x <= 775)) {
if (_root.lever2_occupied == false) {
this._x = 741.95;
this._y = 407.95;
_root.lever2_occupied = true;
current_lever = 2;
_root.lever2_glass = this;
} else {
_root.green_bottle_fall = true;
}
}
if ((((this._y < 365) && (this._y >= 280)) && (this._x > 17)) && (this._x < 429)) {
_root.latest_glass_movie = this;
sound_random = random(2) + 1;
if (sound_random == 1) {
_root.glass_onbar1.start();
} else {
_root.glass_onbar2.start();
}
if ((((this._x > 280) && (this._x < 423)) && (this._y > 280)) && (this._y < 338)) {
_root.current_drink_type = "green_bottle";
_root.current_drink_movie = this;
}
}
if (_root.green_bottle_fall == false) {
this.gotoAndStop(5);
}
} else if (this._y >= 365) {
_root.green_bottle_fall = true;
trace("below the bar");
} else if (this._y < 280) {
_root.green_bottle_fall = true;
trace("above the bar");
}
if (_root.green_bottle_fall == true) {
play();
}
trace(_root.lever1_occupied);
trace(_root.lever2_occupied);
Symbol 480 MovieClip Frame 3
this._y = this._y + this.speed;
this._rotation = this._rotation + 10;
this.speed = this.speed + 1;
if (this._y >= 600) {
removeMovieClip(this);
_root.speed = 10;
_root.smash_start();
}
Symbol 480 MovieClip Frame 4
gotoAndPlay (3);
Symbol 480 MovieClip Frame 5
stop();
Symbol 481 Button
on (press) {
_root.depth++;
duplicateMovieClip (_root.green_bottle, "green_bottle" + _root.depth, _root.depth);
startDrag ("_root.green_bottle" + _root.depth, true);
}
on (releaseOutside) {
_root.green_bottle_hold = 0;
stopDrag();
_root["green_bottle" + _root.depth].nextFrame();
}