Frame 1
function button1(obj, item) {
_root._quality = "LOW";
}
function button2(obj, item) {
_root._quality = "MEDIUM";
}
function button3(obj, item) {
_root._quality = "HIGH";
}
function button4(obj, item) {
sfx1 = new Sound();
sfx1.attachSound("sfx1");
sfx1.start();
sfx1.setVolume(0);
}
function button5(obj, item) {
sfx1 = new Sound();
sfx1.attachSound("sfx1");
sfx1.start();
sfx1.setVolume(100);
}
function button6(obj, item) {
getURL ("http://www.hallpass.com", "_blank");
}
function button7(obj, item) {
getURL ("http://www.eviludy.net", "_blank");
}
cm = new ContextMenu();
cm.hideBuiltInItems();
cm.customItems.push(new ContextMenuItem("Low Graphic Quality", button1));
cm.customItems.push(new ContextMenuItem("Medium Graphic Quality", button2));
cm.customItems.push(new ContextMenuItem("High Graphic Quality", button3));
cm.customItems.push(new ContextMenuItem("Turn sound off", button4));
cm.customItems.push(new ContextMenuItem("Turn sound on", button5));
cm.customItems.push(new ContextMenuItem("Play More games!", button6));
cm.customItems.push(new ContextMenuItem("Creator's Website!", button7));
cm.customItems[3].separatorBefore = true;
cm.customItems[5].separatorBefore = true;
_root.menu = cm;
stop();
Instance of Symbol 36 MovieClip in Frame 1
onClipEvent (enterFrame) {
Mouse.hide();
_x = _root._xmouse;
_y = _root._ymouse;
}
Frame 2
stop();
Frame 3
stop();
Frame 5
scoretable.filename = "scores/la_fee_verte.sco";
scoretable.scoresize = 10;
scoretable.action = "INSERT";
scoretable.viewtype = "FLASH";
if (_root.submitting == false) {
scoretable.winname = "none";
scoretable.winscore = 0;
} else if (_root.submitting == true) {
scoretable.winname = _root.nameEnter;
scoretable.winscore = _root.finalscore;
}
System.security.allowDomain("eviludy.net");
scoretable.loadVariables(_root.xfile, "GET");
Frame 6
glass.stop();
play();
Instance of Symbol 237 MovieClip in Frame 6
onClipEvent (load) {
this.gotoAndStop(_root.country);
}
onClipEvent (enterFrame) {
this.gotoAndStop(_root.country);
}
Instance of Symbol 256 MovieClip in Frame 6
onClipEvent (load) {
this.gotoAndStop(_root.country);
}
onClipEvent (enterFrame) {
this.gotoAndStop(_root.country);
}
Instance of Symbol 261 MovieClip in Frame 6
onClipEvent (load) {
this.stop();
}
on (rollOver) {
this.gotoAndStop(2);
}
on (rollOut) {
this.gotoAndStop(1);
_root.secondglass.stop();
}
onClipEvent (enterFrame) {
if ((yarr == true) && (_root.functionable == true)) {
_root.poison--;
if (_root.poison < 0) {
_root.poison = 0;
}
}
}
onClipEvent (mouseDown) {
if (this.hitTest(_root.cursor.top)) {
_root.secondglass.play();
this.gotoAndStop(3);
}
}
onClipEvent (mouseUp) {
_root.secondglass.stop();
if (this.hitTest(_root.cursor.top)) {
this.gotoAndStop(1);
}
}
Instance of Symbol 301 MovieClip in Frame 6
onClipEvent (enterFrame) {
rar = Math.round(_root.poison / 10);
if (rar < 1) {
rar = 1;
}
if (rar > 100) {
rar = 100;
}
this.gotoAndStop(rar);
}
Instance of Symbol 308 MovieClip in Frame 6
onClipEvent (enterFrame) {
rar = Math.round(_root.wormwood);
if (rar < 1) {
rar = 1;
}
if (rar > 100) {
rar = 100;
}
this.gotoAndStop(rar);
}
Instance of Symbol 157 MovieClip in Frame 6
onClipEvent (enterFrame) {
valuex = _root.poison / _root.poisonmax;
widthmarker = valuex * 287;
this._width = widthmarker;
if ((_root.death == false) && (_root.poison == _root.poisonmax)) {
_root.death = true;
_root.die.play();
}
}
Instance of Symbol 159 MovieClip in Frame 6
onClipEvent (enterFrame) {
valuex = _root.wormwood / _root.wormwoodmax;
widthmarker = valuex * 287;
this._width = widthmarker;
}
Instance of Symbol 314 MovieClip in Frame 6
onClipEvent (load) {
if (_root.country == 1) {
country = "Bulgaria";
} else if (_root.country == 2) {
country = "Czech";
} else if (_root.country == 3) {
country = "France";
} else if (_root.country == 4) {
country = "Germany";
} else if (_root.country == 5) {
country = "Spain";
}
elmessage = ((("You are drinking Absinthe from " + country) + ", containing ") + _root.alcohol) + "% Alcohol.";
}
onClipEvent (enterFrame) {
if (_root.country == 1) {
country = "Bulgaria";
} else if (_root.country == 2) {
country = "Czech";
} else if (_root.country == 3) {
country = "France";
} else if (_root.country == 4) {
country = "Germany";
} else if (_root.country == 5) {
country = "Spain";
}
elmessage = ((("You are drinking Absinthe from " + country) + ", containing ") + _root.alcohol) + "% Alcohol.";
}
Instance of Symbol 354 MovieClip in Frame 6
onClipEvent (enterFrame) {
if (_root.death == true) {
this._visible = false;
}
}
Instance of Symbol 367 MovieClip "sys" in Frame 6
onClipEvent (load) {
this.swapDepths(16000);
}
Instance of Symbol 36 MovieClip "cursor" in Frame 6
onClipEvent (enterFrame) {
this.swapDepths(16001);
Mouse.hide();
_x = _root._xmouse;
_y = _root._ymouse;
_root.score = Math.round(_root.score);
if (_root.death == false) {
if (_root.minutes < 0) {
_root.die.play();
_root.death = true;
}
_root.hundreds = _root.hundreds - 1.5;
if (_root.hundreds < 0) {
_root.seconds--;
_root.score = _root.score + _root.wormwood;
_root.score = _root.score + Math.round(_root.poison / 100);
_root.hundreds = 99;
}
if (_root.seconds < 0) {
_root.minutes--;
if (_root.minutes < 4) {
_root.poppingmessage = "Another minute has passed!";
}
_root.seconds = 59;
}
part_1 = ("0" + _root.minutes) + ":";
if (_root.seconds > 9) {
part_2 = ("" + _root.seconds) + ":";
} else if (_root.seconds < 10) {
part_2 = ("0" + _root.seconds) + ":";
}
if (_root.hundreds > 9) {
part_3 = ("" + Math.floor(_root.hundreds)) + "";
} else if (_root.hundreds < 10) {
part_3 = ("0" + Math.floor(_root.hundreds)) + "";
}
_root.countervariable = (part_1 + part_2) + part_3;
if (_root.poison > 750) {
_root.poppingmessage = "The amount of alcohol in your blood is alarming! Drink some water!";
}
}
}
Frame 25
_root.spoonaction = 0;
stop();
Instance of Symbol 434 MovieClip "spoon" in Frame 25
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
if (_root.droprunning == true) {
_root.drinkabsinth.enabled = false;
} else if (_root.droprunning == false) {
_root.drinkabsinth.enabled = true;
}
}
Frame 75
glass.gotoAndStop(1);
gotoAndPlay (6);
Frame 76
_root.finalscore = _root.score;
stopAllSounds();
Instance of Symbol 36 MovieClip in Frame 76
onClipEvent (enterFrame) {
Mouse.hide();
_x = _root._xmouse;
_y = _root._ymouse;
}
Instance of Symbol 6 MovieClip in Symbol 8 MovieClip Frame 1
onClipEvent (enterFrame) {
_root.xfile = "http://www.eviludy.net/server/highscores/scores.php";
_root.b_loaded = _root.getBytesLoaded();
_root.b_total = _root.getBytesTotal();
_root.percent = Math.round((_root.b_loaded / _root.b_total) * 100);
this._height = _root.percent * 3.7;
_root.percenttext = ("" + _root.percent) + "%";
if (_root.percent == 100) {
_root.play();
}
}
Symbol 19 Button
on (release) {
getURL ("http://www.hallpass.com", "_blank");
}
Symbol 26 Button
on (release) {
getURL ("http://www.hallpass.com", "_blank");
}
Symbol 32 Button
on (release) {
getURL ("http://www.eviludy.net", "_blank");
}
Symbol 43 Button
on (release) {
getURL ("http://www.hallpass.com", "_blank");
}
Symbol 76 Button
on (release) {
play();
}
Symbol 82 MovieClip Frame 490
stop();
Symbol 82 MovieClip Frame 579
_root.nextFrame();
Symbol 136 Button
on (release) {
_root.score = 0;
_root.alcohol = 70;
_root.country = 3;
_root.poisonmax = 1000;
_root.wormwoodmax = 100;
_root.poison = 0;
_root.wormwood = 0;
_root.minutes = 5;
_root.seconds = 0;
_root.hundreds = 0;
_root.death = false;
_root.poppingmessage = "Click on the Absinth glass to drink it.";
_root.o = 3;
stopAllSounds();
AbsintheParty = new Sound();
AbsintheParty.attachSound("AbsintheParty");
AbsintheParty.start(0, 2);
gotoAndStop (6);
}
Symbol 138 Button
on (release) {
gotoAndStop (4);
}
Symbol 140 Button
on (release) {
gotoAndStop (5);
_root.submitting = false;
}
Symbol 142 Button
on (release) {
getURL ("http://en.wikipedia.org/wiki/Absinthe", "_blank");
}
Symbol 144 Button
on (press, release) {
getURL ("http://www.hallpass.com", "_blank");
}
Symbol 146 Button
on (release) {
gotoAndStop (3);
}
Symbol 163 Button
on (release) {
nextFrame();
}
Symbol 169 MovieClip Frame 1
stop();
_root.functionable = true;
Symbol 169 MovieClip Frame 1001
stop();
_root.functionable = false;
Symbol 169 MovieClip Frame 1002
prevFrame();
Symbol 171 Button
on (release) {
prevFrame();
}
Symbol 186 MovieClip Frame 1
stop();
Symbol 226 MovieClip Frame 1
stop();
Symbol 228 MovieClip Frame 1
stop();
Symbol 237 MovieClip Frame 1
stop();
Symbol 256 MovieClip Frame 1
stop();
Symbol 261 MovieClip Frame 1
yarr = false;
Symbol 261 MovieClip Frame 2
yarr = false;
Symbol 261 MovieClip Frame 3
yarr = true;
Symbol 267 MovieClip Frame 59
if (_root.spoonaction == 0) {
_root.poison = _root.poison + (_root.alcohol / 10);
_root.wormwood = _root.wormwood + (Math.round((Math.random() * 5) + (_root.country / 2)) / 10);
if (_root.poison > _root.poisonmax) {
_root.poison = _root.poisonmax;
}
if (_root.wormwood > _root.wormwoodmax) {
_root.wormwood = _root.wormwoodmax;
}
}
if (_root.spoonaction == 1) {
_root.poison = _root.poison + (Math.round(_root.alcohol / 2) / 10);
_root.wormwood = _root.wormwood + (Math.round(((Math.random() * 5) + (_root.country / 2)) / 2) / 10);
if (_root.poison > _root.poisonmax) {
_root.poison = _root.poisonmax;
}
if (_root.wormwood > _root.wormwoodmax) {
_root.wormwood = _root.wormwoodmax;
}
}
if (_root.spoonaction == 2) {
_root.poison = _root.poison + (Math.round(_root.alcohol / 2) / 10);
_root.wormwood = _root.wormwood + (Math.round(((Math.random() * 5) + (_root.country / 2)) * 2) / 10);
if (_root.poison > _root.poisonmax) {
_root.poison = _root.poisonmax;
}
if (_root.wormwood > _root.wormwoodmax) {
_root.wormwood = _root.wormwoodmax;
}
}
if (_root.spoonaction == 3) {
_root.poison = _root.poison + (Math.round(_root.alcohol * 2) / 10);
_root.wormwood = _root.wormwood + (Math.round(((Math.random() * 5) + (_root.country / 2)) / 2) / 10);
if (_root.poison > _root.poisonmax) {
_root.poison = _root.poisonmax;
}
if (_root.wormwood > _root.wormwoodmax) {
_root.wormwood = _root.wormwoodmax;
}
}
_root.score = _root.score + 1000;
Symbol 267 MovieClip Frame 60
if (_root.spoonaction == 0) {
_root.poison = _root.poison + (_root.alcohol / 10);
_root.wormwood = _root.wormwood + (Math.round((Math.random() * 5) + (_root.country / 2)) / 10);
if (_root.poison > _root.poisonmax) {
_root.poison = _root.poisonmax;
}
if (_root.wormwood > _root.wormwoodmax) {
_root.wormwood = _root.wormwoodmax;
}
}
if (_root.spoonaction == 1) {
_root.poison = _root.poison + (Math.round(_root.alcohol / 2) / 10);
_root.wormwood = _root.wormwood + (Math.round(((Math.random() * 5) + (_root.country / 2)) / 2) / 10);
if (_root.poison > _root.poisonmax) {
_root.poison = _root.poisonmax;
}
if (_root.wormwood > _root.wormwoodmax) {
_root.wormwood = _root.wormwoodmax;
}
}
if (_root.spoonaction == 2) {
_root.poison = _root.poison + (Math.round(_root.alcohol / 2) / 10);
_root.wormwood = _root.wormwood + (Math.round(((Math.random() * 5) + (_root.country / 2)) * 2) / 10);
if (_root.poison > _root.poisonmax) {
_root.poison = _root.poisonmax;
}
if (_root.wormwood > _root.wormwoodmax) {
_root.wormwood = _root.wormwoodmax;
}
}
if (_root.spoonaction == 3) {
_root.poison = _root.poison + (Math.round(_root.alcohol * 2) / 10);
_root.wormwood = _root.wormwood + (Math.round(((Math.random() * 5) + (_root.country / 2)) / 2) / 10);
if (_root.poison > _root.poisonmax) {
_root.poison = _root.poisonmax;
}
if (_root.wormwood > _root.wormwoodmax) {
_root.wormwood = _root.wormwoodmax;
}
}
Symbol 267 MovieClip Frame 61
if (_root.spoonaction == 0) {
_root.poison = _root.poison + (_root.alcohol / 10);
_root.wormwood = _root.wormwood + (Math.round((Math.random() * 5) + (_root.country / 2)) / 10);
if (_root.poison > _root.poisonmax) {
_root.poison = _root.poisonmax;
}
if (_root.wormwood > _root.wormwoodmax) {
_root.wormwood = _root.wormwoodmax;
}
}
if (_root.spoonaction == 1) {
_root.poison = _root.poison + (Math.round(_root.alcohol / 2) / 10);
_root.wormwood = _root.wormwood + (Math.round(((Math.random() * 5) + (_root.country / 2)) / 2) / 10);
if (_root.poison > _root.poisonmax) {
_root.poison = _root.poisonmax;
}
if (_root.wormwood > _root.wormwoodmax) {
_root.wormwood = _root.wormwoodmax;
}
}
if (_root.spoonaction == 2) {
_root.poison = _root.poison + (Math.round(_root.alcohol / 2) / 10);
_root.wormwood = _root.wormwood + (Math.round(((Math.random() * 5) + (_root.country / 2)) * 2) / 10);
if (_root.poison > _root.poisonmax) {
_root.poison = _root.poisonmax;
}
if (_root.wormwood > _root.wormwoodmax) {
_root.wormwood = _root.wormwoodmax;
}
}
if (_root.spoonaction == 3) {
_root.poison = _root.poison + (Math.round(_root.alcohol * 2) / 10);
_root.wormwood = _root.wormwood + (Math.round(((Math.random() * 5) + (_root.country / 2)) / 2) / 10);
if (_root.poison > _root.poisonmax) {
_root.poison = _root.poisonmax;
}
if (_root.wormwood > _root.wormwoodmax) {
_root.wormwood = _root.wormwoodmax;
}
}
Symbol 267 MovieClip Frame 62
if (_root.spoonaction == 0) {
_root.poison = _root.poison + (_root.alcohol / 10);
_root.wormwood = _root.wormwood + (Math.round((Math.random() * 5) + (_root.country / 2)) / 10);
if (_root.poison > _root.poisonmax) {
_root.poison = _root.poisonmax;
}
if (_root.wormwood > _root.wormwoodmax) {
_root.wormwood = _root.wormwoodmax;
}
}
if (_root.spoonaction == 1) {
_root.poison = _root.poison + (Math.round(_root.alcohol / 2) / 10);
_root.wormwood = _root.wormwood + (Math.round(((Math.random() * 5) + (_root.country / 2)) / 2) / 10);
if (_root.poison > _root.poisonmax) {
_root.poison = _root.poisonmax;
}
if (_root.wormwood > _root.wormwoodmax) {
_root.wormwood = _root.wormwoodmax;
}
}
if (_root.spoonaction == 2) {
_root.poison = _root.poison + (Math.round(_root.alcohol / 2) / 10);
_root.wormwood = _root.wormwood + (Math.round(((Math.random() * 5) + (_root.country / 2)) * 2) / 10);
if (_root.poison > _root.poisonmax) {
_root.poison = _root.poisonmax;
}
if (_root.wormwood > _root.wormwoodmax) {
_root.wormwood = _root.wormwoodmax;
}
}
if (_root.spoonaction == 3) {
_root.poison = _root.poison + (Math.round(_root.alcohol * 2) / 10);
_root.wormwood = _root.wormwood + (Math.round(((Math.random() * 5) + (_root.country / 2)) / 2) / 10);
if (_root.poison > _root.poisonmax) {
_root.poison = _root.poisonmax;
}
if (_root.wormwood > _root.wormwoodmax) {
_root.wormwood = _root.wormwoodmax;
}
}
Symbol 267 MovieClip Frame 63
if (_root.spoonaction == 0) {
_root.poison = _root.poison + (_root.alcohol / 10);
_root.wormwood = _root.wormwood + (Math.round((Math.random() * 5) + (_root.country / 2)) / 10);
if (_root.poison > _root.poisonmax) {
_root.poison = _root.poisonmax;
}
if (_root.wormwood > _root.wormwoodmax) {
_root.wormwood = _root.wormwoodmax;
}
}
if (_root.spoonaction == 1) {
_root.poison = _root.poison + (Math.round(_root.alcohol / 2) / 10);
_root.wormwood = _root.wormwood + (Math.round(((Math.random() * 5) + (_root.country / 2)) / 2) / 10);
if (_root.poison > _root.poisonmax) {
_root.poison = _root.poisonmax;
}
if (_root.wormwood > _root.wormwoodmax) {
_root.wormwood = _root.wormwoodmax;
}
}
if (_root.spoonaction == 2) {
_root.poison = _root.poison + (Math.round(_root.alcohol / 2) / 10);
_root.wormwood = _root.wormwood + (Math.round(((Math.random() * 5) + (_root.country / 2)) * 2) / 10);
if (_root.poison > _root.poisonmax) {
_root.poison = _root.poisonmax;
}
if (_root.wormwood > _root.wormwoodmax) {
_root.wormwood = _root.wormwoodmax;
}
}
if (_root.spoonaction == 3) {
_root.poison = _root.poison + (Math.round(_root.alcohol * 2) / 10);
_root.wormwood = _root.wormwood + (Math.round(((Math.random() * 5) + (_root.country / 2)) / 2) / 10);
if (_root.poison > _root.poisonmax) {
_root.poison = _root.poisonmax;
}
if (_root.wormwood > _root.wormwoodmax) {
_root.wormwood = _root.wormwoodmax;
}
}
Symbol 267 MovieClip Frame 64
if (_root.spoonaction == 0) {
_root.poison = _root.poison + (_root.alcohol / 10);
_root.wormwood = _root.wormwood + (Math.round((Math.random() * 5) + (_root.country / 2)) / 10);
if (_root.poison > _root.poisonmax) {
_root.poison = _root.poisonmax;
}
if (_root.wormwood > _root.wormwoodmax) {
_root.wormwood = _root.wormwoodmax;
}
}
if (_root.spoonaction == 1) {
_root.poison = _root.poison + (Math.round(_root.alcohol / 2) / 10);
_root.wormwood = _root.wormwood + (Math.round(((Math.random() * 5) + (_root.country / 2)) / 2) / 10);
if (_root.poison > _root.poisonmax) {
_root.poison = _root.poisonmax;
}
if (_root.wormwood > _root.wormwoodmax) {
_root.wormwood = _root.wormwoodmax;
}
}
if (_root.spoonaction == 2) {
_root.poison = _root.poison + (Math.round(_root.alcohol / 2) / 10);
_root.wormwood = _root.wormwood + (Math.round(((Math.random() * 5) + (_root.country / 2)) * 2) / 10);
if (_root.poison > _root.poisonmax) {
_root.poison = _root.poisonmax;
}
if (_root.wormwood > _root.wormwoodmax) {
_root.wormwood = _root.wormwoodmax;
}
}
if (_root.spoonaction == 3) {
_root.poison = _root.poison + (Math.round(_root.alcohol * 2) / 10);
_root.wormwood = _root.wormwood + (Math.round(((Math.random() * 5) + (_root.country / 2)) / 2) / 10);
if (_root.poison > _root.poisonmax) {
_root.poison = _root.poisonmax;
}
if (_root.wormwood > _root.wormwoodmax) {
_root.wormwood = _root.wormwoodmax;
}
}
Symbol 267 MovieClip Frame 65
if (_root.spoonaction == 0) {
_root.poison = _root.poison + (_root.alcohol / 10);
_root.wormwood = _root.wormwood + (Math.round((Math.random() * 5) + (_root.country / 2)) / 10);
if (_root.poison > _root.poisonmax) {
_root.poison = _root.poisonmax;
}
if (_root.wormwood > _root.wormwoodmax) {
_root.wormwood = _root.wormwoodmax;
}
}
if (_root.spoonaction == 1) {
_root.poison = _root.poison + (Math.round(_root.alcohol / 2) / 10);
_root.wormwood = _root.wormwood + (Math.round(((Math.random() * 5) + (_root.country / 2)) / 2) / 10);
if (_root.poison > _root.poisonmax) {
_root.poison = _root.poisonmax;
}
if (_root.wormwood > _root.wormwoodmax) {
_root.wormwood = _root.wormwoodmax;
}
}
if (_root.spoonaction == 2) {
_root.poison = _root.poison + (Math.round(_root.alcohol / 2) / 10);
_root.wormwood = _root.wormwood + (Math.round(((Math.random() * 5) + (_root.country / 2)) * 2) / 10);
if (_root.poison > _root.poisonmax) {
_root.poison = _root.poisonmax;
}
if (_root.wormwood > _root.wormwoodmax) {
_root.wormwood = _root.wormwoodmax;
}
}
if (_root.spoonaction == 3) {
_root.poison = _root.poison + (Math.round(_root.alcohol * 2) / 10);
_root.wormwood = _root.wormwood + (Math.round(((Math.random() * 5) + (_root.country / 2)) / 2) / 10);
if (_root.poison > _root.poisonmax) {
_root.poison = _root.poisonmax;
}
if (_root.wormwood > _root.wormwoodmax) {
_root.wormwood = _root.wormwoodmax;
}
}
Symbol 267 MovieClip Frame 66
if (_root.spoonaction == 0) {
_root.poison = _root.poison + (_root.alcohol / 10);
_root.wormwood = _root.wormwood + (Math.round((Math.random() * 5) + (_root.country / 2)) / 10);
if (_root.poison > _root.poisonmax) {
_root.poison = _root.poisonmax;
}
if (_root.wormwood > _root.wormwoodmax) {
_root.wormwood = _root.wormwoodmax;
}
}
if (_root.spoonaction == 1) {
_root.poison = _root.poison + (Math.round(_root.alcohol / 2) / 10);
_root.wormwood = _root.wormwood + (Math.round(((Math.random() * 5) + (_root.country / 2)) / 2) / 10);
if (_root.poison > _root.poisonmax) {
_root.poison = _root.poisonmax;
}
if (_root.wormwood > _root.wormwoodmax) {
_root.wormwood = _root.wormwoodmax;
}
}
if (_root.spoonaction == 2) {
_root.poison = _root.poison + (Math.round(_root.alcohol / 2) / 10);
_root.wormwood = _root.wormwood + (Math.round(((Math.random() * 5) + (_root.country / 2)) * 2) / 10);
if (_root.poison > _root.poisonmax) {
_root.poison = _root.poisonmax;
}
if (_root.wormwood > _root.wormwoodmax) {
_root.wormwood = _root.wormwoodmax;
}
}
if (_root.spoonaction == 3) {
_root.poison = _root.poison + (Math.round(_root.alcohol * 2) / 10);
_root.wormwood = _root.wormwood + (Math.round(((Math.random() * 5) + (_root.country / 2)) / 2) / 10);
if (_root.poison > _root.poisonmax) {
_root.poison = _root.poisonmax;
}
if (_root.wormwood > _root.wormwoodmax) {
_root.wormwood = _root.wormwoodmax;
}
}
Symbol 267 MovieClip Frame 67
if (_root.spoonaction == 0) {
_root.poison = _root.poison + (_root.alcohol / 10);
_root.wormwood = _root.wormwood + (Math.round((Math.random() * 5) + (_root.country / 2)) / 10);
if (_root.poison > _root.poisonmax) {
_root.poison = _root.poisonmax;
}
if (_root.wormwood > _root.wormwoodmax) {
_root.wormwood = _root.wormwoodmax;
}
}
if (_root.spoonaction == 1) {
_root.poison = _root.poison + (Math.round(_root.alcohol / 2) / 10);
_root.wormwood = _root.wormwood + (Math.round(((Math.random() * 5) + (_root.country / 2)) / 2) / 10);
if (_root.poison > _root.poisonmax) {
_root.poison = _root.poisonmax;
}
if (_root.wormwood > _root.wormwoodmax) {
_root.wormwood = _root.wormwoodmax;
}
}
if (_root.spoonaction == 2) {
_root.poison = _root.poison + (Math.round(_root.alcohol / 2) / 10);
_root.wormwood = _root.wormwood + (Math.round(((Math.random() * 5) + (_root.country / 2)) * 2) / 10);
if (_root.poison > _root.poisonmax) {
_root.poison = _root.poisonmax;
}
if (_root.wormwood > _root.wormwoodmax) {
_root.wormwood = _root.wormwoodmax;
}
}
if (_root.spoonaction == 3) {
_root.poison = _root.poison + (Math.round(_root.alcohol * 2) / 10);
_root.wormwood = _root.wormwood + (Math.round(((Math.random() * 5) + (_root.country / 2)) / 2) / 10);
if (_root.poison > _root.poisonmax) {
_root.poison = _root.poisonmax;
}
if (_root.wormwood > _root.wormwoodmax) {
_root.wormwood = _root.wormwoodmax;
}
}
Symbol 267 MovieClip Frame 68
if (_root.spoonaction == 0) {
_root.poison = _root.poison + (_root.alcohol / 10);
_root.wormwood = _root.wormwood + (Math.round((Math.random() * 5) + (_root.country / 2)) / 10);
if (_root.poison > _root.poisonmax) {
_root.poison = _root.poisonmax;
}
if (_root.wormwood > _root.wormwoodmax) {
_root.wormwood = _root.wormwoodmax;
}
}
if (_root.spoonaction == 1) {
_root.poison = _root.poison + (Math.round(_root.alcohol / 2) / 10);
_root.wormwood = _root.wormwood + (Math.round(((Math.random() * 5) + (_root.country / 2)) / 2) / 10);
if (_root.poison > _root.poisonmax) {
_root.poison = _root.poisonmax;
}
if (_root.wormwood > _root.wormwoodmax) {
_root.wormwood = _root.wormwoodmax;
}
}
if (_root.spoonaction == 2) {
_root.poison = _root.poison + (Math.round(_root.alcohol / 2) / 10);
_root.wormwood = _root.wormwood + (Math.round(((Math.random() * 5) + (_root.country / 2)) * 2) / 10);
if (_root.poison > _root.poisonmax) {
_root.poison = _root.poisonmax;
}
if (_root.wormwood > _root.wormwoodmax) {
_root.wormwood = _root.wormwoodmax;
}
}
if (_root.spoonaction == 3) {
_root.poison = _root.poison + (Math.round(_root.alcohol * 2) / 10);
_root.wormwood = _root.wormwood + (Math.round(((Math.random() * 5) + (_root.country / 2)) / 2) / 10);
if (_root.poison > _root.poisonmax) {
_root.poison = _root.poisonmax;
}
if (_root.wormwood > _root.wormwoodmax) {
_root.wormwood = _root.wormwoodmax;
}
}
Symbol 267 MovieClip Frame 69
_root.poison = Math.ceil(_root.poison);
_root.wormwood = Math.ceil(_root.wormwood);
if (_root.poison > _root.poisonmax) {
_root.poison = _root.poisonmax;
}
if (_root.wormwood > _root.wormwoodmax) {
_root.wormwood = _root.wormwoodmax;
}
randomizer = Math.round((Math.random() * 5) + 1);
if (randomizer == 1) {
_root.poppingmessage = "Try using different drinking methods (top left corner) for different effects.";
} else if (randomizer == 2) {
_root.poppingmessage = "Select another Absinth delivery country for other wormwood amounts.";
} else if (randomizer == 3) {
_root.poppingmessage = "Use the button in the upper right corner to select another alcohol amount.";
} else if (randomizer == 4) {
_root.poppingmessage = "The more alcohol, the higher your score, but don't drink yourself to death!";
} else if (randomizer == 5) {
_root.poppingmessage = "Beware of the hallicunations that high amounts of Wormwood bring!";
} else if (randomizer == 6) {
_root.poppingmessage = "Hurry up, time is ticking out!";
}
Symbol 267 MovieClip Frame 70
o = Math.round(Math.random() * _root.wormwoodmax);
if (o < _root.wormwood) {
if (_root.wormwood >= 50) {
f = Math.round((Math.random() * 3) + 1);
if (f == 1) {
_root.gnome1.play();
} else if (f == 2) {
_root.gnome2.play();
} else if (f == 3) {
_root.gnome3.play();
}
}
}
i = Math.round(Math.random() * _root.wormwoodmax);
if (i < _root.wormwood) {
if (_root.wormwood < 40) {
_root.fairy1.duplicateMovieClip("fairy" + _root.o, _root.o);
_root["fairy" + _root.o]._x = Math.random() * 400;
_root["fairy" + _root.o]._y = Math.random() * 360;
_root.o++;
} else if ((_root.wormwood >= 40) && (_root.wormwood < 60)) {
_root.fairy2.duplicateMovieClip("fairy" + _root.o, _root.o);
_root["fairy" + _root.o]._x = Math.random() * 400;
_root["fairy" + _root.o]._y = (Math.random() * 240) + 220;
_root.o++;
} else if ((_root.wormwood >= 60) && (_root.wormwood < 80)) {
_root.fairy1.duplicateMovieClip("fairy" + _root.o, _root.o);
_root["fairy" + _root.o]._x = Math.random() * 400;
_root["fairy" + _root.o]._y = Math.random() * 360;
_root.o++;
_root.fairy2.duplicateMovieClip("fairy" + _root.o, _root.o);
_root["fairy" + _root.o]._x = Math.random() * 400;
_root["fairy" + _root.o]._y = (Math.random() * 240) + 220;
_root.o++;
} else if (_root.wormwood >= 80) {
_root.fairy1.duplicateMovieClip("fairy" + _root.o, _root.o);
_root["fairy" + _root.o]._x = Math.random() * 400;
_root["fairy" + _root.o]._y = Math.random() * 360;
_root.o++;
_root.fairy2.duplicateMovieClip("fairy" + _root.o, _root.o);
_root["fairy" + _root.o]._x = Math.random() * 400;
_root["fairy" + _root.o]._y = (Math.random() * 240) + 220;
_root.o++;
_root.fairy1.duplicateMovieClip("fairy" + _root.o, _root.o);
_root["fairy" + _root.o]._x = Math.random() * 400;
_root["fairy" + _root.o]._y = Math.random() * 360;
_root.o++;
}
}
_root.score = _root.score + _root.alcohol;
stop();
_root.play();
q = Math.round(Math.random() * _root.wormwood);
if (q > 25) {
_root.eyer.play();
}
w = Math.round(Math.random() * _root.wormwood);
if (w > 85) {
_root.eyer.play();
}
if (_root.wormwood >= 100) {
l = Math.round(Math.random() * 5);
if (l == 3) {
_root.angryface.play();
}
}
Symbol 298 MovieClip Frame 1
stop();
Symbol 301 MovieClip Frame 1
stop();
Symbol 308 MovieClip Frame 1
stop();
Symbol 319 Button
on (release) {
nextFrame();
}
Symbol 321 Button
on (release) {
gotoAndStop (1);
}
Symbol 322 Button
on (release) {
_root.country = 4;
gotoAndStop (3);
}
Symbol 323 Button
on (release) {
_root.country = 5;
gotoAndStop (3);
}
Symbol 324 Button
on (release) {
_root.country = 2;
gotoAndStop (3);
}
Symbol 325 Button
on (release) {
_root.country = 3;
gotoAndStop (3);
}
Symbol 326 Button
on (release) {
_root.country = 1;
gotoAndStop (3);
}
Symbol 332 Button
on (release) {
_root.alcohol = 69;
gotoAndStop (1);
}
Symbol 333 Button
on (release) {
_root.alcohol = 67;
gotoAndStop (1);
}
Symbol 334 Button
on (release) {
_root.alcohol = 68;
gotoAndStop (1);
}
Symbol 335 Button
on (release) {
_root.alcohol = 56;
gotoAndStop (1);
}
Symbol 336 Button
on (release) {
_root.alcohol = 65;
gotoAndStop (1);
}
Symbol 337 Button
on (release) {
_root.alcohol = 48;
gotoAndStop (1);
}
Symbol 338 Button
on (release) {
_root.alcohol = 55;
gotoAndStop (1);
}
Symbol 346 Button
on (release) {
_root.alcohol = 85;
gotoAndStop (1);
}
Symbol 347 Button
on (release) {
_root.alcohol = 90;
gotoAndStop (1);
}
Symbol 348 Button
on (release) {
_root.alcohol = 70;
gotoAndStop (1);
}
Symbol 349 Button
on (release) {
_root.alcohol = 75;
gotoAndStop (1);
}
Symbol 354 MovieClip Frame 1
stop();
Symbol 361 MovieClip Frame 45
this.removeMovieClip();
Symbol 362 MovieClip Frame 115
this.removeMovieClip();
Symbol 366 MovieClip Frame 1
stop();
Symbol 366 MovieClip Frame 100
_root.cursor.removeMovieClip();
_root.sys.removeMovieClip();
stopAllSounds();
_root.gotoAndStop(76);
stop();
Symbol 366 MovieClip Frame 101
prevFrame();
Symbol 374 Button
on (release) {
if (_root.death == false) {
_root.glass.play();
_root.nextFrame();
}
}
Symbol 378 Button
on (release) {
_root.spoon.gotoAndStop(3);
_root.spoon.inside.play();
_root.spoon._visible = true;
_root.b1.enabled = false;
_root.b2.enabled = false;
_root.b3.enabled = false;
_root.b1._visible = false;
_root.b2._visible = false;
_root.b3._visible = false;
_root.textclip._visible = false;
}
Symbol 384 Button
on (release) {
_root.spoon.gotoAndStop(2);
_root.spoon.inside.play();
_root.spoon._visible = true;
_root.b1.enabled = false;
_root.b2.enabled = false;
_root.b3.enabled = false;
_root.b1._visible = false;
_root.b2._visible = false;
_root.b3._visible = false;
_root.textclip._visible = false;
}
Symbol 389 Button
on (release) {
_root.spoon.gotoAndStop(1);
_root.spoon.inside.play();
_root.spoon._visible = true;
_root.b1.enabled = false;
_root.b2.enabled = false;
_root.b3.enabled = false;
_root.b1._visible = false;
_root.b2._visible = false;
_root.b3._visible = false;
_root.textclip._visible = false;
}
Symbol 397 MovieClip Frame 1
stop();
Symbol 397 MovieClip Frame 2
_root.droprunning = true;
_root.spoonaction = 1;
Symbol 397 MovieClip Frame 172
_root.droprunning = false;
_parent._visible = false;
Symbol 425 MovieClip Frame 2
_root.droprunning = true;
_root.spoonaction = 2;
Symbol 425 MovieClip Frame 172
_root.droprunning = false;
_parent._visible = false;
_parent.gotoAndStop(1);
Symbol 433 MovieClip Frame 2
_root.droprunning = true;
_root.spoonaction = 3;
Symbol 433 MovieClip Frame 172
_root.droprunning = false;
_parent._visible = false;
_parent.gotoAndStop(1);
Symbol 434 MovieClip Frame 1
stop();
Symbol 459 MovieClip Frame 220
stop();
Symbol 460 Button
on (release) {
stopAllSounds();
gotoAndStop (3);
}
Symbol 462 Button
on (release) {
_root.submitting = true;
getURL ("http://www.hallpass.com", "_blank");
stopAllSounds();
gotoAndStop (5);
}
Symbol 464 Button
on (release) {
getURL ("http://www.hallpass.com", "_blank");
}