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) {
_root.soundson = 0;
drip = new Sound();
drip.attachSound("drip");
drip.start();
drip.setVolume(0);
}
function button5(obj, item) {
_root.soundson = 1;
drip = new Sound();
drip.attachSound("sfx1");
drip.start();
drip.setVolume(100);
}
function button6(obj, item) {
getURL ("http://www.hallpass.com/", "_blank");
}
function button7(obj, item) {
getURL ("http://www.eviludy.net/", "_blank");
}
stop();
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;
_root.soundson = 1;
Instance of Symbol 99 MovieClip "cursor" in Frame 1
onClipEvent (load) {
Mouse.hide();
}
onClipEvent (enterFrame) {
_x = _root._xmouse;
_y = _root._ymouse;
}
Frame 2
stop();
Instance of Symbol 118 MovieClip in Frame 2
on (release) {
getURL ("http://www.hallpass.com", "_blank");
}
Frame 3
play();
Frame 4
stop();
_root.xfile = "http://www.eviludy.net/server/highscores/scores.php";
Instance of Symbol 99 MovieClip "cursor" in Frame 4
onClipEvent (load) {
Mouse.hide();
}
onClipEvent (enterFrame) {
_x = _root._xmouse;
_y = _root._ymouse;
}
onClipEvent (mouseDown) {
Mouse.hide();
}
Frame 6
if (_root.submscore == true) {
scoretable.filename = "scores/hippie_flower_game.sco";
scoretable.scoresize = 10;
scoretable.action = "INSERT";
scoretable.viewtype = "FLASH";
scoretable.winname = _root.pusher;
scoretable.winscore = _root.score;
System.security.allowDomain("eviludy.net");
scoretable.loadVariables(_root.xfile, "GET");
} else {
scoretable.filename = "scores/hippie_flower_game.sco";
scoretable.scoresize = 10;
scoretable.action = "INSERT";
scoretable.viewtype = "FLASH";
scoretable.winname = "none";
scoretable.winscore = 0;
System.security.allowDomain("eviludy.net");
scoretable.loadVariables(_root.xfile, "GET");
}
Frame 7
function enemy1a() {
_root.i++;
_root.attachMovie("enemy1", "enemy1_" + _root.i, i);
_root["enemy1_" + _root.i]._y = (((Math.random() * _root.uitwijking) * 2) - 70) + 71.5;
_root["enemy1_" + _root.i]._x = 742.4;
_root["enemy1_" + _root.i].live = true;
_root["enemy1_" + _root.i].onEnterFrame = function () {
if (_root.heighter > 1) {
this._x = this._x - 7;
this._y = this._y + 1.5;
}
if (this.middle.hitTest(_root.flowerface.inner)) {
_root.hp = _root.hp - 0.25;
}
this._y = this._y + _root.flowerface.grower;
if (this.live && (this.hitTest(_root.boomAnimation.killer))) {
_root.flowerface.grower = _root.flowerface.grower + 2;
this.live = false;
this.play();
}
if ((_x > 2550) || (_x < -2000)) {
this.removeMovieClip();
}
};
_root["enemy1_" + _root.i].onRollOver = function () {
if (this.live) {
_root.cursor.gotoAndStop(2);
}
};
_root["enemy1_" + _root.i].onRollOut = function () {
_root.cursor.gotoAndStop(1);
};
_root["enemy1_" + _root.i].onPress = function () {
if (this.live) {
_root.cursor.gotoAndStop(1);
_root.flowerface.grower = _root.flowerface.grower + 2;
this.live = false;
this.play();
}
};
}
function enemy1b() {
_root.i++;
_root.attachMovie("enemy1", "enemy1_" + _root.i, i);
_root["enemy1_" + _root.i]._y = (((Math.random() * _root.uitwijking) * 2) - 70) + 71.5;
_root["enemy1_" + _root.i]._x = -197.8;
_root["enemy1_" + _root.i]._xscale = -100;
_root["enemy1_" + _root.i].live = true;
_root["enemy1_" + _root.i].onEnterFrame = function () {
if (_root.heighter > 1) {
this._x = this._x + 7;
this._y = this._y + 1.5;
}
if (this.middle.hitTest(_root.flowerface.inner)) {
_root.hp = _root.hp - 0.25;
}
this._y = this._y + _root.flowerface.grower;
if (this.live && (this.hitTest(_root.boomAnimation.killer))) {
_root.flowerface.grower = _root.flowerface.grower + 2;
this.live = false;
this.play();
}
if ((_x > 2550) || (_x < -2000)) {
this.removeMovieClip();
}
};
_root["enemy1_" + _root.i].onRollOver = function () {
if (this.live) {
_root.cursor.gotoAndStop(2);
}
};
_root["enemy1_" + _root.i].onRollOut = function () {
_root.cursor.gotoAndStop(1);
};
_root["enemy1_" + _root.i].onPress = function () {
if (this.live) {
_root.cursor.gotoAndStop(1);
_root.flowerface.grower = _root.flowerface.grower + 2;
this.live = false;
this.play();
}
};
}
function enemy2a() {
_root.i++;
_root.attachMovie("enemy2", "enemy2_" + _root.i, i);
_root["enemy2_" + _root.i]._y = (((Math.random() * _root.uitwijking) * 2) - 70) + 405;
_root["enemy2_" + _root.i]._x = 730;
_root["enemy2_" + _root.i].live = true;
_root["enemy2_" + _root.i].onEnterFrame = function () {
if (_root.heighter > 1) {
this._x = this._x - 12;
this._y = this._y - 4;
}
if (this.middle.hitTest(_root.flowerface.inner)) {
_root.hp = _root.hp - 0.5;
}
this._y = this._y + _root.flowerface.grower;
if (this.live == true) {
this._rotation = this._rotation + 25;
}
if (this.live && (this.hitTest(_root.boomAnimation.killer))) {
_root.flowerface.grower = _root.flowerface.grower + 3;
this.live = false;
this.play();
}
if ((_x > 2550) || (_x < -2000)) {
this.removeMovieClip();
}
};
_root["enemy2_" + _root.i].onRollOver = function () {
if (this.live) {
_root.cursor.gotoAndStop(2);
}
};
_root["enemy2_" + _root.i].onRollOut = function () {
_root.cursor.gotoAndStop(1);
};
_root["enemy2_" + _root.i].onPress = function () {
if (this.live) {
_root.cursor.gotoAndStop(1);
_root.flowerface.grower = _root.flowerface.grower + 3;
this.live = false;
this.play();
}
};
}
function enemy2b() {
_root.i++;
_root.attachMovie("enemy2", "enemy2_" + _root.i, i);
_root["enemy2_" + _root.i]._y = (((Math.random() * _root.uitwijking) * 2) - 70) + 405;
_root["enemy2_" + _root.i]._x = -200;
_root["enemy2_" + _root.i]._xscale = -100;
_root["enemy2_" + _root.i].live = true;
_root["enemy2_" + _root.i].onEnterFrame = function () {
if (_root.heighter > 1) {
this._x = this._x + 12;
this._y = this._y - 4;
}
if (this.middle.hitTest(_root.flowerface.inner)) {
_root.hp = _root.hp - 0.5;
}
this._y = this._y + _root.flowerface.grower;
if (this.live == true) {
this._rotation = this._rotation + 25;
}
if (this.live && (this.hitTest(_root.boomAnimation.killer))) {
_root.flowerface.grower = _root.flowerface.grower + 3;
this.live = false;
this.play();
}
if ((_x > 2550) || (_x < -2000)) {
this.removeMovieClip();
}
};
_root["enemy2_" + _root.i].onRollOver = function () {
if (this.live) {
_root.cursor.gotoAndStop(2);
}
};
_root["enemy2_" + _root.i].onRollOut = function () {
_root.cursor.gotoAndStop(1);
};
_root["enemy2_" + _root.i].onPress = function () {
if (this.live) {
_root.cursor.gotoAndStop(1);
_root.flowerface.grower = _root.flowerface.grower + 3;
this.live = false;
this.play();
}
};
}
function enemy3a() {
_root.i++;
_root.attachMovie("enemy3", "enemy3_" + _root.i, i);
_root["enemy3_" + _root.i]._y = (((Math.random() * _root.uitwijking) * 2) - 70) + 190;
_root["enemy3_" + _root.i]._x = 1440;
_root["enemy3_" + _root.i].live = true;
_root["enemy3_" + _root.i].onEnterFrame = function () {
if (_root.heighter > 1) {
this._x = this._x - 15;
}
if (this.middle.hitTest(_root.flowerface.inner)) {
_root.hp = _root.hp - 0.5;
}
this._y = this._y + _root.flowerface.grower;
if (this.live && (this.hitTest(_root.boomAnimation.killer))) {
_root.flowerface.grower = _root.flowerface.grower + 3;
this.live = false;
this.play();
}
if ((_x > 2550) || (_x < -2000)) {
this.removeMovieClip();
}
};
_root["enemy3_" + _root.i].onRollOver = function () {
if (this.live) {
_root.cursor.gotoAndStop(2);
}
};
_root["enemy3_" + _root.i].onRollOut = function () {
_root.cursor.gotoAndStop(1);
};
_root["enemy3_" + _root.i].onPress = function () {
if (this.live) {
_root.cursor.gotoAndStop(1);
_root.flowerface.grower = _root.flowerface.grower + 3;
this.live = false;
this.play();
}
};
}
function enemy3b() {
_root.i++;
_root.attachMovie("enemy3", "enemy3_" + _root.i, i);
_root["enemy3_" + _root.i]._y = (((Math.random() * _root.uitwijking) * 2) - 70) + 190;
_root["enemy3_" + _root.i]._x = -1000;
_root["enemy3_" + _root.i].live = true;
_root["enemy3_" + _root.i].onEnterFrame = function () {
if (_root.heighter > 1) {
this._x = this._x + 15;
}
if (this.middle.hitTest(_root.flowerface.inner)) {
_root.hp = _root.hp - 0.5;
}
this._y = this._y + _root.flowerface.grower;
if (this.live && (this.hitTest(_root.boomAnimation.killer))) {
_root.flowerface.grower = _root.flowerface.grower + 3;
this.live = false;
this.play();
}
};
_root["enemy3_" + _root.i].onRollOver = function () {
if (this.live) {
_root.cursor.gotoAndStop(2);
}
};
_root["enemy3_" + _root.i].onRollOut = function () {
_root.cursor.gotoAndStop(1);
};
_root["enemy3_" + _root.i].onPress = function () {
if (this.live) {
_root.cursor.gotoAndStop(1);
_root.flowerface.grower = _root.flowerface.grower + 3;
this.live = false;
this.play();
}
};
}
function enemy4a() {
_root.i++;
_root.attachMovie("enemy4", "enemy4_" + _root.i, i);
_root["enemy4_" + _root.i]._y = (((Math.random() * _root.uitwijking) * 2) - 70) + -33;
_root["enemy4_" + _root.i]._x = 950;
_root["enemy4_" + _root.i].live = true;
_root["enemy4_" + _root.i].onEnterFrame = function () {
if (_root.heighter > 1) {
this._x = this._x - 15;
this._y = this._y + 5;
}
if (this.middle.hitTest(_root.flowerface.inner)) {
_root.hp = _root.hp - 0.5;
}
this._y = this._y + _root.flowerface.grower;
if (this.live && (this.hitTest(_root.boomAnimation.killer))) {
_root.flowerface.grower = _root.flowerface.grower + 3;
this.live = false;
this.play();
}
if ((_x > 2550) || (_x < -2000)) {
this.removeMovieClip();
}
};
_root["enemy4_" + _root.i].onRollOver = function () {
if (this.live) {
_root.cursor.gotoAndStop(2);
}
};
_root["enemy4_" + _root.i].onRollOut = function () {
_root.cursor.gotoAndStop(1);
};
_root["enemy4_" + _root.i].onPress = function () {
if (this.live) {
_root.cursor.gotoAndStop(1);
_root.flowerface.grower = _root.flowerface.grower + 3;
this.live = false;
this.play();
}
};
}
function enemy4b() {
_root.i++;
_root.attachMovie("enemy4", "enemy4_" + _root.i, i);
_root["enemy4_" + _root.i]._y = (((Math.random() * _root.uitwijking) * 2) - 70) + -33;
_root["enemy4_" + _root.i]._x = -500;
_root["enemy4_" + _root.i]._xscale = -100;
_root["enemy4_" + _root.i].live = true;
_root["enemy4_" + _root.i].onEnterFrame = function () {
if (_root.heighter > 1) {
this._x = this._x + 15;
this._y = this._y + 5;
}
if (this.middle.hitTest(_root.flowerface.inner)) {
_root.hp = _root.hp - 0.5;
}
this._y = this._y + _root.flowerface.grower;
if (this.live && (this.hitTest(_root.boomAnimation.killer))) {
_root.flowerface.grower = _root.flowerface.grower + 3;
this.live = false;
this.play();
}
if ((_x > 2550) || (_x < -2000)) {
this.removeMovieClip();
}
};
_root["enemy4_" + _root.i].onRollOver = function () {
if (this.live) {
_root.cursor.gotoAndStop(2);
}
};
_root["enemy4_" + _root.i].onRollOut = function () {
_root.cursor.gotoAndStop(1);
};
_root["enemy4_" + _root.i].onPress = function () {
if (this.live) {
_root.cursor.gotoAndStop(1);
_root.flowerface.grower = _root.flowerface.grower + 3;
this.live = false;
this.play();
}
};
}
function enemy5a() {
_root.i++;
_root.attachMovie("enemy5", "enemy5_" + _root.i, i);
_root["enemy5_" + _root.i]._y = (((Math.random() * _root.uitwijking) * 2) - 70) + 140;
_root["enemy5_" + _root.i]._x = 1110;
_root["enemy5_" + _root.i].live = true;
_root["enemy5_" + _root.i].onEnterFrame = function () {
if ((_root.heighter > 1) && (this.live)) {
this._x = this._x - 22;
}
if (this.middle.hitTest(_root.flowerface.inner)) {
_root.hp = _root.hp - 1;
}
if ((!this.live) && (_y > -30)) {
this._y = this._y + 15;
this._x = this._x - 15;
}
this._y = this._y + _root.flowerface.grower;
if (this.live && (this.hitTest(_root.boomAnimation.killer))) {
_root.flowerface.grower = _root.flowerface.grower + 5;
this.live = false;
this.play();
}
if ((_x > 2550) || (_x < -2000)) {
this.removeMovieClip();
}
};
_root["enemy5_" + _root.i].onRollOver = function () {
if (this.live) {
_root.cursor.gotoAndStop(2);
}
};
_root["enemy5_" + _root.i].onRollOut = function () {
_root.cursor.gotoAndStop(1);
};
_root["enemy5_" + _root.i].onPress = function () {
if (this.live) {
_root.cursor.gotoAndStop(1);
_root.flowerface.grower = _root.flowerface.grower + 5;
this.live = false;
this.play();
}
};
}
function enemy5b() {
_root.i++;
_root.attachMovie("enemy5", "enemy5_" + _root.i, i);
_root["enemy5_" + _root.i]._y = (((Math.random() * _root.uitwijking) * 2) - 70) + 140;
_root["enemy5_" + _root.i]._x = -860;
_root["enemy5_" + _root.i]._xscale = -100;
_root["enemy5_" + _root.i].live = true;
_root["enemy5_" + _root.i].onEnterFrame = function () {
if ((_root.heighter > 1) && (this.live)) {
this._x = this._x + 22;
}
if (this.middle.hitTest(_root.flowerface.inner)) {
_root.hp = _root.hp - 1;
}
if ((!this.live) && (_y > -30)) {
this._y = this._y + 15;
this._x = this._x + 15;
}
this._y = this._y + _root.flowerface.grower;
if (this.live && (this.hitTest(_root.boomAnimation.killer))) {
_root.cursor.gotoAndStop(1);
_root.flowerface.grower = _root.flowerface.grower + 5;
this.live = false;
this.play();
}
if ((_x > 2550) || (_x < -2000)) {
this.removeMovieClip();
}
};
_root["enemy5_" + _root.i].onRollOver = function () {
if (this.live) {
_root.cursor.gotoAndStop(2);
}
};
_root["enemy5_" + _root.i].onRollOut = function () {
_root.cursor.gotoAndStop(1);
};
_root["enemy5_" + _root.i].onPress = function () {
if (this.live) {
_root.cursor.gotoAndStop(1);
_root.flowerface.grower = _root.flowerface.grower + 5;
this.live = false;
this.play();
}
};
}
function enemy6a() {
_root.i++;
_root.attachMovie("enemy6", "enemy6_" + _root.i, i);
_root["enemy6_" + _root.i]._y = (((Math.random() * _root.uitwijking) * 4) - 140) + 240;
_root["enemy6_" + _root.i]._x = 600;
_root["enemy6_" + _root.i].live = true;
_root["enemy6_" + _root.i].onEnterFrame = function () {
if (_root.heighter > 1) {
this._x = this._x - 15;
}
if (this.middle.hitTest(_root.flowerface.inner)) {
_root.hp = _root.hp - 1.5;
}
this._y = this._y + _root.flowerface.grower;
if (this.live && (this.hitTest(_root.boomAnimation.killer))) {
_root.cursor.gotoAndStop(1);
_root.flowerface.grower = _root.flowerface.grower + 4;
this.live = false;
this.play();
}
if ((_x > 2550) || (_x < -2000)) {
this.removeMovieClip();
}
};
_root["enemy6_" + _root.i].onRollOver = function () {
if (this.live) {
_root.cursor.gotoAndStop(2);
}
};
_root["enemy6_" + _root.i].onRollOut = function () {
_root.cursor.gotoAndStop(1);
};
_root["enemy6_" + _root.i].onPress = function () {
if (this.live) {
_root.cursor.gotoAndStop(1);
_root.flowerface.grower = _root.flowerface.grower + 6;
this.live = false;
this.play();
}
};
}
function enemy6b() {
_root.i++;
_root.attachMovie("enemy6", "enemy6_" + _root.i, i);
_root["enemy6_" + _root.i]._y = (((Math.random() * _root.uitwijking) * 4) - 140) + 240;
_root["enemy6_" + _root.i]._x = -150;
_root["enemy6_" + _root.i]._xscale = -100;
_root["enemy6_" + _root.i].live = true;
_root["enemy6_" + _root.i].onEnterFrame = function () {
if (_root.heighter > 1) {
this._x = this._x + 15;
}
if (this.middle.hitTest(_root.flowerface.inner)) {
_root.hp = _root.hp - 1.5;
}
this._y = this._y + _root.flowerface.grower;
if (this.live && (this.hitTest(_root.boomAnimation.killer))) {
_root.cursor.gotoAndStop(1);
_root.flowerface.grower = _root.flowerface.grower + 6;
this.live = false;
this.play();
}
if ((_x > 2550) || (_x < -2000)) {
this.removeMovieClip();
}
};
_root["enemy6_" + _root.i].onRollOver = function () {
if (this.live) {
_root.cursor.gotoAndStop(2);
}
};
_root["enemy6_" + _root.i].onRollOut = function () {
_root.cursor.gotoAndStop(1);
};
_root["enemy6_" + _root.i].onPress = function () {
if (this.live) {
_root.cursor.gotoAndStop(1);
_root.flowerface.grower = _root.flowerface.grower + 4;
this.live = false;
this.play();
}
};
}
stop();
_root.score = 0;
_root.heighter = 0;
_root.hp = 125;
_root.maxhp = 125;
_root.i = 0;
_root.uitwijking = 60;
Instance of Symbol 176 MovieClip "flowerface" in Frame 7
onClipEvent (load) {
grower = 0;
ocounta = 0;
ocountb = 0;
acounta = 0;
acountb = 0;
dcounta = 0;
dcountb = 0;
gcounta = 0;
gcountb = 0;
hcounta = 0;
hcountb = 0;
kcounta = 0;
kcountb = 0;
noclip = 0;
}
onClipEvent (enterFrame) {
if (_root.i > 100) {
_root.i = 0;
}
if (ocounta > 0) {
ocounta--;
}
if (ocountb > 0) {
ocountb--;
}
if (acounta > 0) {
acounta--;
}
if (acountb > 0) {
acountb--;
}
if (dcounta > 0) {
dcounta--;
}
if (dcountb > 0) {
dcountb--;
}
if (gcounta > 0) {
gcounta--;
}
if (gcountb > 0) {
gcountb--;
}
if (hcounta > 0) {
hcounta--;
}
if (hcountb > 0) {
hcountb--;
}
if (kcounta > 0) {
kcounta--;
}
if (kcountb > 0) {
kcountb--;
}
if ((_root.score > 0) && (_root.score < 2500)) {
if (_root.score < 450) {
p = Math.round(Math.random() * 14000);
} else if (_root.score >= 450) {
p = Math.round(Math.random() * (95000 + _root.score));
}
if (p <= _root.score) {
o = Math.round(Math.random() + 1);
if ((o == 1) && (ocounta <= 0)) {
_root.enemy1a();
ocounta = 20;
} else if ((o == 2) && (ocountb <= 0)) {
_root.enemy1b();
ocountb = 20;
}
}
}
if ((_root.score > 250) && (_root.score < 5000)) {
s = Math.round(Math.random() * (140000 + _root.score));
if (s <= _root.score) {
a = Math.round(Math.random() + 1);
if ((a == 1) && (acounta <= 0)) {
_root.enemy2a();
acounta = 20;
} else if ((a == 2) && (acountb <= 0)) {
_root.enemy2b();
acountb = 20;
}
}
}
if ((_root.score > 1250) && (_root.score < 12000)) {
f = Math.round(Math.random() * (250000 + _root.score));
if (f <= _root.score) {
d = Math.round(Math.random() + 1);
if ((d == 1) && (dcounta <= 0)) {
_root.enemy3a();
dcounta = 20;
} else if ((d == 2) && (dcountb <= 0)) {
_root.enemy3b();
dcountb = 20;
}
}
}
if ((_root.score > 3000) && (_root.score < 19000)) {
z = Math.round(Math.random() * (400000 + _root.score));
if (z <= _root.score) {
g = Math.round(Math.random() + 1);
if ((g == 1) && (gcounta <= 0)) {
_root.enemy4a();
gcounta = 20;
} else if ((g == 2) && (gcountb <= 0)) {
_root.enemy4b();
gcountb = 20;
}
}
}
if ((_root.score > 5000) && (_root.score < 45000)) {
j = Math.round(Math.random() * (490000 + _root.score));
if (j <= _root.score) {
h = Math.round(Math.random() + 1);
if ((h == 1) && (hcounta <= 0)) {
_root.enemy5a();
hcounta = 20;
} else if ((h == 2) && (hcountb <= 0)) {
_root.enemy5b();
hcountb = 20;
}
}
}
if (_root.score > 10000) {
l = Math.round(Math.random() * (600000 + _root.score));
if (l <= _root.score) {
k = Math.round(Math.random() + 1);
if ((k == 1) && (kcounta <= 0)) {
_root.enemy6a();
kcountb = 20;
} else if ((k == 2) && (kcounta <= 0)) {
_root.enemy6b();
kcountb = 20;
}
}
}
if (grower > 0) {
_root.flowerbody._height = _root.flowerbody._height + grower;
_root.forgrounder._y = _root.forgrounder._y + grower;
_root.backgrounder._y = _root.backgrounder._y + grower;
_root.score = _root.score + grower;
_root.heighter = _root.heighter + grower;
_root.hp = _root.hp + (grower / 75);
if (_root.hp > _root.maxhp) {
_root.hp = _root.maxhp;
}
if (_root.heighter >= 3600) {
if (noclip == 0) {
_root.backgrounder.nextFrame();
_root.backgrounder._y = _root.backgrounder._y - 7800;
_root.heighter = 0;
noclip++;
} else if (noclip == 1) {
_root.backgrounder.nextFrame();
_root.backgrounder._y = _root.backgrounder._y - 3600;
_root.heighter = 0;
noclip++;
} else if (noclip == 2) {
_root.skyClip.play();
_root.backgrounder.nextFrame();
_root.backgrounder._y = _root.backgrounder._y - 3600;
_root.heighter = 0;
noclip++;
} else if (noclip == 3) {
_root.backgrounder.nextFrame();
_root.backgrounder._y = _root.backgrounder._y - 3600;
_root.heighter = 0;
noclip++;
} else if (noclip == 4) {
_root.backgrounder.nextFrame();
_root.backgrounder._y = _root.backgrounder._y - 3600;
_root.heighter = 0;
noclip++;
} else if (noclip >= 5) {
_root.skyClip.play();
_root.backgrounder.nextFrame();
_root.backgrounder._y = _root.backgrounder._y - 3600;
_root.heighter = 0;
noclip++;
}
}
grower--;
}
}
Instance of Symbol 277 MovieClip "boomAnimation" in Frame 7
onClipEvent (load) {
this.swapDepths(15994);
}
Instance of Symbol 178 MovieClip "s5" in Frame 7
onClipEvent (load) {
this.swapDepths(15998);
}
onClipEvent (load) {
lives = true;
fading = false;
counter = 10;
counter2 = 10;
done = false;
_root.slot = true;
countit = 150;
fadein = false;
}
on (press) {
if (lives == true) {
this.startDrag();
}
}
on (release) {
if (lives == true) {
this.stopDrag();
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.flowerface.inner) && (lives == true)) {
slurp = new Sound();
slurp.attachSound("slurp");
slurp.start();
_alpha = 100;
fading = true;
lives = false;
}
if ((_alpha > 0) && (fading == true)) {
_alpha = (_alpha - 10);
counter--;
}
if ((counter == 0) && (done == false)) {
_root.flowerface.grower = 25;
done = true;
_root.slot = false;
}
if ((!_root.slot) && (countit > 0)) {
countit--;
}
if (countit == 0) {
lives = true;
fading = false;
counter = 10;
done = false;
_x = 480;
_y = 50;
fadein = true;
_root.slot = true;
countit = 150;
}
if ((fadein == true) && (counter2 > 0)) {
_alpha = (_alpha + 10);
counter2--;
}
if (counter2 == 0) {
fadein = false;
counter2 = 10;
}
}
onClipEvent (mouseUp) {
this.stopDrag();
}
Instance of Symbol 178 MovieClip "s4" in Frame 7
onClipEvent (load) {
this.swapDepths(15997);
}
onClipEvent (load) {
lives = true;
fading = false;
counter = 10;
counter2 = 10;
done = false;
_root.slot2 = true;
countit = 150;
fadein = false;
}
on (press) {
if (lives == true) {
this.startDrag();
}
}
on (release) {
if (lives == true) {
this.stopDrag();
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.flowerface.inner) && (lives == true)) {
slurp = new Sound();
slurp.attachSound("slurp");
slurp.start();
_alpha = 100;
fading = true;
lives = false;
}
if ((_alpha > 0) && (fading == true)) {
_alpha = (_alpha - 10);
counter--;
}
if ((counter == 0) && (done == false)) {
_root.flowerface.grower = 20;
done = true;
_root.slot2 = false;
}
if ((!_root.slot2) && (countit > 0)) {
countit--;
}
if (countit == 0) {
lives = true;
fading = false;
counter = 10;
done = false;
_x = 420;
_y = 50;
fadein = true;
_root.slot2 = true;
countit = 150;
}
if ((fadein == true) && (counter2 > 0)) {
_alpha = (_alpha + 10);
counter2--;
}
if (counter2 == 0) {
fadein = false;
counter2 = 10;
}
}
onClipEvent (mouseUp) {
this.stopDrag();
}
Instance of Symbol 189 MovieClip "s1" in Frame 7
onClipEvent (load) {
this.swapDepths(15994);
}
onClipEvent (load) {
lives = true;
fading = false;
counter = 10;
counter2 = 10;
done = false;
_root.slot5 = true;
countit = 1000;
fadein = false;
}
on (press) {
if (lives == true) {
this.startDrag();
}
}
on (release) {
if (lives == true) {
this.stopDrag();
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.flowerface.inner) && (lives == true)) {
slurp = new Sound();
slurp.attachSound("slurp");
slurp.start();
_alpha = 100;
fading = true;
lives = false;
}
if ((_alpha > 0) && (fading == true)) {
_alpha = (_alpha - 10);
counter--;
}
if ((counter == 0) && (done == false)) {
_root.flowerface.grower = 45;
done = true;
_root.slot3 = false;
}
if ((!_root.slot3) && (countit > 0)) {
countit--;
}
if (countit == 0) {
lives = true;
fading = false;
counter = 10;
done = false;
_x = 10;
_y = 45;
fadein = true;
_root.slot3 = true;
countit = 1000;
}
if ((fadein == true) && (counter2 > 0)) {
_alpha = (_alpha + 10);
counter2--;
}
if (counter2 == 0) {
fadein = false;
counter2 = 10;
}
}
onClipEvent (mouseUp) {
this.stopDrag();
}
Instance of Symbol 191 MovieClip "s2" in Frame 7
onClipEvent (load) {
this.swapDepths(15995);
}
onClipEvent (load) {
lives = true;
fading = false;
counter = 10;
counter2 = 10;
done = false;
_root.slot4 = true;
countit = 1000;
fadein = false;
}
on (press) {
if (lives == true) {
this.startDrag();
}
}
on (release) {
if (lives == true) {
this.stopDrag();
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.flowerface.inner) && (lives == true)) {
_alpha = 100;
fading = true;
lives = false;
}
if ((_alpha > 0) && (fading == true)) {
_root.hp = _root.hp + (12 - (_alpha / 10));
if (_root.hp > _root.maxhp) {
_root.hp = _root.maxhp;
}
_alpha = (_alpha - 10);
counter--;
}
if ((counter == 0) && (done == false)) {
done = true;
_root.slot4 = false;
}
if ((!_root.slot4) && (countit > 0)) {
countit--;
}
if (countit == 0) {
lives = true;
fading = false;
counter = 10;
done = false;
_x = 70;
_y = 56;
fadein = true;
_root.slot3 = true;
countit = 1000;
}
if ((fadein == true) && (counter2 > 0)) {
_alpha = (_alpha + 10);
counter2--;
}
if (counter2 == 0) {
fadein = false;
counter2 = 10;
}
}
onClipEvent (mouseUp) {
this.stopDrag();
}
Instance of Symbol 193 MovieClip "s3" in Frame 7
onClipEvent (load) {
this.swapDepths(15996);
}
onClipEvent (load) {
lives = true;
fading = false;
counter = 4;
counter2 = 10;
done = false;
_root.slot5 = true;
countit = 1000;
fadein = false;
}
on (press) {
if (lives == true) {
this.startDrag();
}
}
on (release) {
if (lives == true) {
this.stopDrag();
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.flowerface.inner) && (lives == true)) {
_alpha = 100;
fading = true;
lives = false;
}
if ((_alpha > 0) && (fading == true)) {
_alpha = (_alpha - 25);
counter--;
}
if ((counter == 0) && (done == false)) {
done = true;
_root.boomAnimation.play();
_root.slot5 = false;
}
if ((!_root.slot5) && (countit > 0)) {
countit--;
}
if ((countit == 0) && (lives == false)) {
lives = true;
fading = false;
counter = 4;
done = false;
_x = 120;
_y = 50;
fadein = true;
_root.slot5 = true;
countit = 1000;
}
if ((fadein == true) && (counter2 > 0)) {
_alpha = (_alpha + 10);
counter2--;
}
if (counter2 == 0) {
fadein = false;
counter2 = 10;
}
}
onClipEvent (mouseUp) {
this.stopDrag();
}
Instance of Symbol 281 MovieClip "gamesystem" in Frame 7
onClipEvent (load) {
this.swapDepths(16000);
}
Instance of Symbol 99 MovieClip "cursor" in Frame 7
onClipEvent (load) {
Mouse.hide();
this.swapDepths(16001);
}
onClipEvent (enterFrame) {
_x = _root._xmouse;
_y = _root._ymouse;
}
onClipEvent (mouseDown) {
Mouse.hide();
}
Instance of Symbol 284 MovieClip "fadeRound" in Frame 7
onClipEvent (load) {
this.swapDepths(16005);
}
Instance of Symbol 94 MovieClip in Frame 8
onClipEvent (load) {
this.swapDepths(16000);
}
Instance of Symbol 99 MovieClip "cursor" in Frame 8
onClipEvent (load) {
Mouse.hide();
this.swapDepths(16001);
}
onClipEvent (enterFrame) {
_x = _root._xmouse;
_y = _root._ymouse;
}
onClipEvent (mouseDown) {
Mouse.hide();
}
Symbol 28 MovieClip Frame 20
if (_root.lives == 0) {
_root.gotoAndStop(32);
}
stop();
Symbol 29 MovieClip [enemy6] Frame 1
stop();
Symbol 29 MovieClip [enemy6] Frame 46
stop();
Symbol 29 MovieClip [enemy6] Frame 47
prevFrame();
Symbol 39 MovieClip [enemy5] Frame 1
stop();
Symbol 39 MovieClip [enemy5] Frame 43
stop();
Symbol 39 MovieClip [enemy5] Frame 44
prevFrame();
Symbol 44 MovieClip [enemy4] Frame 1
stop();
Symbol 44 MovieClip [enemy4] Frame 40
stop();
Symbol 44 MovieClip [enemy4] Frame 41
prevFrame();
Symbol 48 MovieClip [enemy3] Frame 1
stop();
Symbol 48 MovieClip [enemy3] Frame 40
stop();
Symbol 48 MovieClip [enemy3] Frame 41
prevFrame();
Symbol 60 MovieClip [enemy2] Frame 1
stop();
Symbol 60 MovieClip [enemy2] Frame 40
stop();
Symbol 60 MovieClip [enemy2] Frame 41
prevFrame();
Symbol 68 MovieClip [enemy1] Frame 1
stop();
Symbol 68 MovieClip [enemy1] Frame 41
stop();
Symbol 68 MovieClip [enemy1] Frame 42
prevFrame();
Instance of Symbol 72 MovieClip in Symbol 73 MovieClip Frame 1
onClipEvent (enterFrame) {
_root.b_loaded = _root.getBytesLoaded();
_root.b_total = _root.getBytesTotal();
_root.percent = Math.round((_root.b_loaded / _root.b_total) * 100);
_width = (_root.percent * 2);
if (_root.percent == 100) {
_root.play();
}
}
Symbol 83 Button
on (release) {
getURL ("http://www.hallpass.com", "_blank");
}
Symbol 99 MovieClip Frame 1
stop();
Symbol 118 MovieClip Frame 174
_root.nextFrame();
Symbol 137 Button
on (release) {
stopAllSounds();
gotoAndStop ("play");
}
Symbol 141 Button
on (release) {
gotoAndStop ("instructions");
}
Symbol 145 Button
on (release) {
_root.submscore = false;
gotoAndStop ("topscores");
}
Symbol 149 Button
on (release) {
getURL ("http://www.hallpass.com", "_blank");
}
Symbol 184 Button
on (release) {
nextFrame();
}
Symbol 200 Button
on (release) {
prevFrame();
}
Symbol 209 MovieClip Frame 1
stop();
Symbol 214 Button
on (release) {
gotoAndStop ("menu");
}
Symbol 252 Button
on (release) {
if (_root.submscore == false) {
gotoAndStop ("menu");
} else if (_root.submscore == true) {
stopAllSounds();
gotoAndPlay ("final");
}
}
Symbol 262 MovieClip Frame 1
stop();
Symbol 262 MovieClip Frame 20
stop();
Symbol 262 MovieClip Frame 40
stop();
Symbol 262 MovieClip Frame 100
stop();
Symbol 262 MovieClip Frame 160
gotoAndStop (40);
Symbol 272 MovieClip Frame 1
stop();
Symbol 277 MovieClip Frame 1
stop();
Instance of Symbol 196 MovieClip in Symbol 281 MovieClip Frame 1
onClipEvent (enterFrame) {
this._width = (_root.hp / _root.maxhp) * 510;
if (_root.hp <= 0) {
_root.fadeRound.play();
}
}
Instance of Symbol 94 MovieClip in Symbol 281 MovieClip Frame 1
onClipEvent (load) {
this.swapDepths(16001);
}
Symbol 284 MovieClip Frame 1
stop();
Symbol 284 MovieClip Frame 3
if (_root.soundson == 1) {
sfx1 = new Sound();
sfx1.attachSound("sfx1");
sfx1.start();
sfx1.setVolume(90);
}
Symbol 284 MovieClip Frame 4
if (_root.soundson == 1) {
sfx1 = new Sound();
sfx1.attachSound("sfx1");
sfx1.start();
sfx1.setVolume(80);
}
Symbol 284 MovieClip Frame 5
if (_root.soundson == 1) {
sfx1 = new Sound();
sfx1.attachSound("sfx1");
sfx1.start();
sfx1.setVolume(70);
}
Symbol 284 MovieClip Frame 6
if (_root.soundson == 1) {
sfx1 = new Sound();
sfx1.attachSound("sfx1");
sfx1.start();
sfx1.setVolume(60);
}
Symbol 284 MovieClip Frame 7
if (_root.soundson == 1) {
sfx1 = new Sound();
sfx1.attachSound("sfx1");
sfx1.start();
sfx1.setVolume(50);
}
Symbol 284 MovieClip Frame 8
if (_root.soundson == 1) {
sfx1 = new Sound();
sfx1.attachSound("sfx1");
sfx1.start();
sfx1.setVolume(40);
}
Symbol 284 MovieClip Frame 9
if (_root.soundson == 1) {
sfx1 = new Sound();
sfx1.attachSound("sfx1");
sfx1.start();
sfx1.setVolume(30);
}
Symbol 284 MovieClip Frame 10
if (_root.soundson == 1) {
sfx1 = new Sound();
sfx1.attachSound("sfx1");
sfx1.start();
sfx1.setVolume(20);
}
Symbol 284 MovieClip Frame 11
if (_root.soundson == 1) {
sfx1 = new Sound();
sfx1.attachSound("sfx1");
sfx1.start();
sfx1.setVolume(10);
}
Symbol 284 MovieClip Frame 12
if (_root.soundson == 1) {
sfx1 = new Sound();
sfx1.attachSound("sfx1");
sfx1.start();
sfx1.setVolume(0);
}
Symbol 284 MovieClip Frame 13
stopAllSounds();
if (_root.soundson == 1) {
sfx1 = new Sound();
sfx1.attachSound("sfx1");
sfx1.start();
sfx1.setVolume(100);
}
_root.cursor.gotoAndStop(1);
Symbol 284 MovieClip Frame 15
_root.gamesystem.removeMovieClip();
_root.s1.removeMovieClip();
_root.s2.removeMovieClip();
_root.s3.removeMovieClip();
_root.s4.removeMovieClip();
_root.s5.removeMovieClip();
_root.flowerface.removeMovieClip();
m = 0;
while (m < 250) {
_root["enemy1_" + m].removeMovieClip();
_root["enemy2_" + m].removeMovieClip();
_root["enemy3_" + m].removeMovieClip();
_root["enemy4_" + m].removeMovieClip();
_root["enemy5_" + m].removeMovieClip();
_root["enemy6_" + m].removeMovieClip();
m++;
}
_root.nextFrame();
Symbol 303 Button
on (release) {
stopAllSounds();
gotoAndPlay ("final");
}
Symbol 307 Button
on (release) {
_root.pusher = _root.nameinput;
trace(_root.pusher);
_root.submscore = true;
gotoAndStop ("topscores");
}