Frame 1
function new_question() {
_root.question_num++;
_root.stats.question_num_text = _root.question_num + "/10";
_root.question_text = _root.quiz[_root.question_num - 1][0];
_root.answer1.answer.answer_text = _root.quiz[_root.question_num - 1][1];
_root.answer2.answer.answer_text = _root.quiz[_root.question_num - 1][2];
_root.answer3.answer.answer_text = _root.quiz[_root.question_num - 1][3];
_root.answer4.answer.answer_text = _root.quiz[_root.question_num - 1][4];
_root.flash.play();
if (_root.question_num == 11) {
_root.gotoAndStop("score");
}
}
Stage.showMenu = false;
var quiz = new Array(["I would describe myself as...", "Handsome", "A Leader", "Cool", "The best damn window smasher ever", 3, 1, 2, 4], ["If I had 1,000,000 dollars, I would...", "Buy some stuff and put the rest in the bank", "Buy a dune buggy", "Buy a bunch of lottery tickets and booze", "Eat it", 1, 2, 3, 4], ["My favorite food is...", "Bread crumbs", "Booze", "Pizza", "Salted rotten figs soaking in expired milk", 2, 3, 1, 4], ["I hate it when...", "People don't spare me change", "Windows aren't broken", "Somebody says something really stupid", "I get kicked out of the house", 3, 4, 2, 1], ["I love to...", "Play chess", "Complain", "Beg for money", "Smash things", 2, 1, 3, 4], ["If I was able to do anything I want, I would...", "Get wasted and be obnoxious", "Eat a bagel", "Take a trip around the world", "Hire a butler named Jeeves", 3, 4, 1, 2], ["How many windows have you smashed in total?", "0", "1", "2", "Probably around 900", 1, 2, 3, 4], ["My favorite smell is...", "Bacon and eggs", "Booze of course!", "Cough syrup", "Pine", 1, 3, 4, 2], ["Who would win in a fight, two bear-sharks or a bear and a shark?", "Obviously the bear-sharks", "The bear and the shark", "They would tie", "That's a dumb question", 4, 3, 2, 1], ["I think SnubbyLand.com is...", "Better than my web site", "The best web site ever", "Awesome to the max", "All of the above", 2, 3, 4, 1]);
Instance of Symbol 23 MovieClip in Frame 1
onClipEvent (load) {
_root.stop();
this.loadBar.stop();
}
onClipEvent (enterFrame) {
if (_root.getBytesTotal() > 0) {
if (_root.getBytesLoaded() == _root.getBytesTotal()) {
_root.play();
} else {
var percentage = Math.round(10 * (_root.getBytesLoaded() / _root.getBytesTotal()));
this.loadBar.gotoAndStop(percentage);
this.percentText = percentage + "/10";
}
}
}
on (press) {
_root.getURL("http://www.SnubbyLand.com/", "_blank");
}
Frame 3
function fade_sparkles() {
var _local2 = 0;
while (_local2 < num_sparkles) {
_root["sparkle" + _local2]._alpha = _root["sparkle" + _local2]._alpha - fade_speeds[_local2];
if (_root["sparkle" + _local2]._alpha <= 0) {
_root["sparkle" + _local2]._x = Math.random() * Stage.width;
_root["sparkle" + _local2]._y = Math.random() * Stage.height;
_root["sparkle" + _local2]._alpha = 100;
}
_local2++;
}
}
function remove_sparkles() {
clearInterval(sparkles_interval);
var _local2 = 0;
while (_local2 < num_sparkles) {
removeMovieClip(_root["sparkle" + _local2]);
fade_speeds.pop();
_local2++;
}
}
stop();
var num_sparkles = 100;
var fade_speeds = new Array();
var a = 0;
while (a < num_sparkles) {
attachMovie("sparkle", "sparkle" + a, getNextHighestDepth());
_root["sparkle" + a].gotoAndStop(Math.floor((Math.random() * 3) + 1));
_root["sparkle" + a]._x = Math.random() * Stage.width;
_root["sparkle" + a]._y = Math.random() * Stage.height;
fade_speeds.push(Math.random() * 15);
a++;
}
var sparkles_interval = setInterval(fade_sparkles, 33.3333333333333);
Instance of Symbol 29 MovieClip in Frame 3
on (rollOver) {
this.gotoAndPlay("on");
}
on (rollOut) {
this.gotoAndPlay("off");
}
on (press) {
_root.remove_sparkles();
_root.gotoAndStop("quiz");
}
Instance of Symbol 31 MovieClip in Frame 3
on (rollOver) {
this.gotoAndPlay("on");
}
on (rollOut) {
this.gotoAndPlay("off");
}
on (press) {
getURL ("http://www.snubbyland.com/pge/duckluck.php", "_blank");
}
Instance of Symbol 33 MovieClip in Frame 3
on (rollOver) {
this.gotoAndPlay("on");
}
on (rollOut) {
this.gotoAndPlay("off");
}
on (press) {
getURL ("http://www.snubbyland.com/", "_blank");
}
Frame 4
var question_num = 0;
var score = 0;
_root.new_question();
Instance of Symbol 41 MovieClip in Frame 4
on (rollOver) {
this.gotoAndPlay("on");
}
on (rollOut) {
this.gotoAndPlay("off");
}
on (press) {
getURL ("http://www.snubbyland.com/", "_blank");
}
Instance of Symbol 54 MovieClip "answer1" in Frame 4
on (rollOver) {
this.gotoAndPlay("on");
}
on (rollOut) {
this.gotoAndPlay("off");
}
on (press) {
_root.score = _root.score + _root.quiz[_root.question_num - 1][5];
_root.new_question();
}
Instance of Symbol 54 MovieClip "answer2" in Frame 4
on (rollOver) {
this.gotoAndPlay("on");
}
on (rollOut) {
this.gotoAndPlay("off");
}
on (press) {
_root.score = _root.score + _root.quiz[_root.question_num - 1][6];
_root.new_question();
}
Instance of Symbol 54 MovieClip "answer3" in Frame 4
on (rollOver) {
this.gotoAndPlay("on");
}
on (rollOut) {
this.gotoAndPlay("off");
}
on (press) {
_root.score = _root.score + _root.quiz[_root.question_num - 1][7];
_root.new_question();
}
Instance of Symbol 54 MovieClip "answer4" in Frame 4
on (rollOver) {
this.gotoAndPlay("on");
}
on (rollOut) {
this.gotoAndPlay("off");
}
on (press) {
_root.score = _root.score + _root.quiz[_root.question_num - 1][8];
_root.new_question();
}
Frame 5
_root.stats.question_num_text = "10/10";
if (_root.score <= 17.5) {
title.gotoAndStop(1);
picture.gotoAndStop(1);
description = "As Stevie, you are obviously the smartest and most mature of all characters. Though a bit of a doormat, and a bit dainty, you are the leader of the household.";
} else if (_root.score <= 25) {
title.gotoAndStop(2);
picture.gotoAndStop(2);
description = "You are Duck, the lovable duck that is roomies with Freddy and Stevie. You don't say much, but you are definitely quite a character. Though annoyed easily, you are a free spirit.";
} else if (_root.score <= 32.5) {
title.gotoAndStop(3);
picture.gotoAndStop(3);
description = "You probably don't have many friends. Yup, you are repulsive ol' Freddy the Angry Hobo. You used to have your own TV show, but somehow it got taken off the air. Whatever.";
} else {
title.gotoAndStop(4);
picture.gotoAndStop(4);
description = "Everybody hates you! You are that damn neighbor that bugs everybody and breaks windows all the time. You have no morals, sense of personal space, or any sense really. You kinda' suck, man.";
}
Symbol 24 MovieClip Frame 7
stop();
Symbol 29 MovieClip Frame 1
stop();
Symbol 29 MovieClip Frame 6
stop();
Symbol 31 MovieClip Frame 1
stop();
Symbol 31 MovieClip Frame 6
stop();
Symbol 33 MovieClip Frame 1
stop();
Symbol 33 MovieClip Frame 6
stop();
Symbol 41 MovieClip Frame 1
stop();
Symbol 41 MovieClip Frame 6
stop();
Symbol 47 MovieClip Frame 1
stop();
Symbol 47 MovieClip Frame 6
stop();
Instance of Symbol 47 MovieClip in Symbol 49 MovieClip Frame 1
on (rollOver) {
this.gotoAndPlay("on");
}
on (rollOut) {
this.gotoAndPlay("off");
}
on (press) {
_root.flash.play();
_root.gotoAndStop("menu");
}
Symbol 54 MovieClip Frame 1
stop();
Symbol 54 MovieClip Frame 5
stop();