Frame 3
OPTION_GROUP_COLOR = 1;
OPTION_GROUP_SIZE = 2;
OPTION_GROUP_SIZELARGE = 3;
OPTION_GROUP_SIZEBIG = 4;
OPTION_GROUP_SIZELONG = 5;
OPTION_GROUP_NUMBER = 10;
OPTION_GROUP_BOOLEAN = 11;
OPTION_GROUP_EXPRESSION = 12;
OPTION_GROUP_UNIFORM = 20;
noQuiz = 0;
noTurn = 0;
noPic = 0;
noQuestion = 0;
picTime = 12;
gameDataAdded = false;
curQuizMov = null;
curQuizNo = -1;
curTurn = -1;
curPicture = -1;
curQuestion = -1;
curOption = -1;
quizes = new Array();
getCurPic = function () {
return(quizes[curQuizNo].turns[curTurn].pictures[curPicture]);
};
getCurQuestion = function () {
return(getCurPic().questions[curQuestion]);
};
addQuiz = function (mv) {
mv._visible = false;
curQuizMov = mv;
curQuizNo++;
curTurn = -1;
quizes[curQuizNo] = new Object();
quizes[curQuizNo].turns = new Array();
};
addTurn = function () {
curTurn++;
curPicture = -1;
quizes[curQuizNo].turns[curTurn] = new Object();
quizes[curQuizNo].turns[curTurn].pictures = new Array();
};
addPicture = function (picture_label) {
curPicture++;
curQuestion = -1;
quizes[curQuizNo].turns[curTurn].pictures[curPicture] = new Object();
getCurPic().picLabel = picture_label;
getCurPic().questions = new Array();
};
addQuestion = function (q, score) {
curQuestion++;
curOption = -1;
getCurPic().questions[curQuestion] = new Object();
getCurQuestion().question = q;
getCurQuestion().picture = "";
getCurQuestion().options = new Array();
getCurQuestion().answer = -1;
getCurQuestion().score = score;
};
addOption = function (o, isTrue) {
curOption++;
getCurQuestion().options[curOption] = o;
if (isTrue == undefined) {
isTrue = false;
} else if (isTrue) {
if (getCurQuestion().answer != -1) {
trace("[_root.addOption] ERROR: Each question can only have 1 answer.");
trace((" Option= '" + o) + "'");
} else {
getCurQuestion().answer = curOption;
}
}
};
_addOption = function (option, answer) {
isTrue = false;
if (option == answer) {
isTrue = true;
}
addOption(option, isTrue);
};
addOptionGroup = function (group, answer) {
switch (group) {
case OPTION_GROUP_COLOR :
_addOption("black", answer);
_addOption("white", answer);
_addOption("gray", answer);
_addOption("red", answer);
_addOption("green", answer);
_addOption("blue", answer);
_addOption("pink", answer);
_addOption("purple", answer);
_addOption("yellow", answer);
_addOption("orange", answer);
_addOption("cyan", answer);
_addOption("brown", answer);
break;
case OPTION_GROUP_SIZEBIG :
_addOption("small", answer);
_addOption("medium", answer);
_addOption("big", answer);
break;
case OPTION_GROUP_SIZELARGE :
_addOption("short", answer);
_addOption("medium", answer);
_addOption("long", answer);
break;
case OPTION_GROUP_SIZELONG :
_addOption("very short", answer);
_addOption("short", answer);
_addOption("medium", answer);
_addOption("long", answer);
_addOption("very long", answer);
break;
case OPTION_GROUP_NUMBER :
_addOption("0", answer);
_addOption("1", answer);
_addOption("2", answer);
_addOption("3", answer);
_addOption("4", answer);
_addOption("5", answer);
_addOption("6", answer);
break;
case OPTION_GROUP_UNIFORM :
_addOption("nothing", answer);
_addOption("school uniform", answer);
_addOption("woman kimono", answer);
_addOption("martial art kimono", answer);
_addOption("swim suit", answer);
_addOption("nurse uniform", answer);
_addOption("doctor uniform", answer);
_addOption("maid dress", answer);
_addOption("police uniform", answer);
_addOption("military uniform", answer);
_addOption("cheerleader dress", answer);
break;
case OPTION_GROUP_BOOLEAN :
_addOption("true", answer);
_addOption("false", answer);
_addOption("don't know", answer);
break;
case OPTION_GROUP_EXPRESSION :
_addOption("sad", answer);
_addOption("scared", answer);
_addOption("curious", answer);
_addOption("evil smile", answer);
_addOption("angry", answer);
_addOption("serious", answer);
_addOption("smile", answer);
break;
default :
trace("[_root.addOptionGroup] ERROR: Option group not valid.");
trace((" group='" + group) + "'");
}
if (getCurQuestion().answer == -1) {
if (answer != undefined) {
_addOption(answer, answer);
} else {
trace("[_root.addOptionGroup()] ERROR: No right answer was specified nor it was defined previously. So no answers will be valid");
trace("[_root.addOptionGroup()] Question: " + getCurQuestion().question);
}
}
};
Frame 4
this.stop();
Frame 7
this.prevFrame();
Symbol 1 MovieClip Frame 1
function reset() {
_counter = 0;
_noVezes = 1;
_startTime = new Date();
onReset();
}
function start() {
reset();
onStart();
this.gotoAndPlay("fStart");
}
function stop() {
gotoAndStop ("fStop");
onStop();
}
function execute(_tipo, _tempo, _vezes) {
setTipo(_tipo);
setTempo(_tempo);
setVezes(_vezes);
start();
}
function _executaTimer() {
OnTimer();
_noVezes++;
if ((vezes >= 0) && (_noVezes > vezes)) {
this.stop();
}
}
function _execute() {
_counter++;
if (_counter >= tempo) {
_counter = 0;
_executaTimer();
}
}
indicador._visible = false;
tempo = 1;
tipo = "frame";
vezes = -1;
_noVezes = 1;
_counter = 0;
_timeStart = new Date();
getTipo = function () {
return(tipo);
};
setTipo = function (t) {
if ((t == "frame") || (t == "time")) {
tipo = t;
} else {
trace("[SSPtimer] ERRO: valor de tipo deve ser igual a \"frame\" ou \"time\".");
}
};
getTempo = function () {
return(tempo);
};
setTempo = function (valor) {
tempo = valor;
};
getVezes = function () {
return(vezes);
};
setVezes = function (no) {
if (no >= -1) {
vezes = no;
} else {
trace("[SSPtimer] ERRO: n\u00FAmero de vezes deve ser -1 ou um n\u00FAmero inteiro positivo.");
}
};
OnTimer = function () {
};
OnStart = function () {
};
OnStop = function () {
};
OnReset = function () {
};
Symbol 1 MovieClip Frame 2
stop();
Symbol 1 MovieClip Frame 3
_execute();
Symbol 1 MovieClip Frame 4
_execute();
gotoAndPlay ("fStart");
Symbol 2 MovieClip Frame 1
function reset() {
barra = _parent;
movie = _root;
total = 0;
loaded = 0;
maximo = 0;
_percentLoaded = 0;
tipo = "byte";
}
function inicia() {
barra.stop();
movie.stop();
if (maximo > 0) {
total = maximo;
} else if (tipo == "frame") {
total = movie._totalframes;
} else {
total = movie.getBytesTotal();
}
}
function para() {
timer.stop();
gotoAndStop ("ativo");
}
function setBarra(bar) {
barra = bar;
}
function getBarra() {
return(barra);
}
function setMovie(mv) {
movie = mv;
}
function getMovie() {
return(movie);
}
function getTipo() {
return(tipo);
}
function getMaximo() {
return(maximo);
}
function onLoadComplete() {
}
indicador._visible = false;
barra = null;
movie = null;
total = 0;
loaded = 0;
_percentLoaded = 0;
tipo = "byte";
maximo = 0;
real_maximo = 4147;
setTipo = function (t) {
if ((t == "frame") || (t == "byte")) {
tipo = t;
} else {
trace("[SSPLoader] ERRO: valor de tipo deve ser igual a \"frame\" ou \"byte\", em min\u00FAsculas.");
}
};
setMaximo = function (max) {
if (maximo > 0) {
maximo = max;
} else {
trace("[SSPLoader] ERRO: valor m\u00E1ximo verificado deve ser maior que 0.");
}
};
reset();
inicia();
Symbol 2 MovieClip Frame 2
timer.OnTimer = function () {
txtTipo = "";
if (tipo == "frame") {
loaded = _root._framesloaded;
txtTipo = "frames";
} else {
loaded = _root.getBytesLoaded();
txtTipo = "kb";
}
if ((loaded > total) || (loaded < 0)) {
trace(((("[SSPLoader] ERRO: bytes carregados (" + loaded) + ") ou total de bytes (") + maximo) + ") possuem valor inv\u00E1lido.");
} else {
real_loaded = Math.round((real_maximo * loaded) / maximo);
_percentLoaded = total / loaded;
frame = Math.round(barra._totalframes / _percentLoaded);
_parent.gotoAndStop(frame);
txtLoaded = Math.round((_root.getBytesLoaded() * real_maximo) / total);
txtTotal = Math.round(real_maximo);
barra.txtLoaded = (((txtLoaded + txtTipo) + " of ") + txtTotal) + txtTipo;
if (loaded >= total) {
onLoadComplete();
movie.play();
}
}
};
timer.execute("frame", 1);
stop();
Symbol 10 MovieClip Frame 1
stop();
Symbol 23 Button
on (release) {
_root.gotoAndStop("game");
}
Symbol 27 Button
on (release) {
getURL ("mailto:hierophant2@gmail.com", "_blank");
}
Symbol 57 MovieClip Frame 1
if (!_root.gameDataAdded) {
_root.addQuiz(this);
_root.addTurn();
_root.addPicture("sofa");
_root.addQuestion("Is the girl lying above what?", 1);
_root.addOption("floor");
_root.addOption("bed");
_root.addOption("sofa", true);
_root.addOption("car seat");
_root.addQuestion("What is her hair color?", 2);
_root.addOptionGroup(_root.OPTION_GROUP_COLOR, "blue");
_root.addQuestion("She is smiling.", 1);
_root.addOptionGroup(_root.OPTION_GROUP_BOOLEAN, "true");
_root.addQuestion("What is she wearing?", 2);
_root.addOption("underwear");
_root.addOption("bracelet");
_root.addOption("collar", true);
_root.addOption("bra");
_root.addOption("tiara");
_root.addQuestion("What is the size of her hair?", 2);
_root.addOptionGroup(_root.OPTION_GROUP_SIZELARGE, "short");
_root.addPicture("pic1");
_root.addQuestion("What is her hair color?", 2);
_root.addOptionGroup(_root.OPTION_GROUP_COLOR, "pink");
_root.addQuestion("What she is touching on her right hand?", 2);
_root.addOption("floor");
_root.addOption("wall");
_root.addOption("ladder", true);
_root.addOption("herself");
_root.addOption("pool");
_root.addQuestion("What is the size of her breasts?", 1);
_root.addOptionGroup(_root.OPTION_GROUP_SIZEBIG, "small");
_root.addQuestion("What is the color of her eyes?", 5);
_root.addOptionGroup(_root.OPTION_GROUP_COLOR, "purple");
_root.addQuestion("What is she wearing?", 2);
_root.addOptionGroup(_root.OPTION_GROUP_UNIFORM, "swim suit");
_root.addQuestion("What is the color of her dress?", 2);
_root.addOptionGroup(_root.OPTION_GROUP_COLOR, "orange");
_root.addQuestion("What is behind her?", 4);
_root.addOption("another girl");
_root.addOption("ladder");
_root.addOption("palm tree", true);
_root.addOption("airplane");
_root.addOption("sun");
_root.addTurn();
_root.addPicture("drollingGirl");
_root.addQuestion("What is the color of her eyes?", 2);
_root.addOptionGroup(_root.OPTION_GROUP_COLOR, "red");
_root.addQuestion("What is her hair color?", 2);
_root.addOptionGroup(_root.OPTION_GROUP_COLOR, "brown");
_root.addQuestion("What is the size of her breasts?", 2);
_root.addOptionGroup(_root.OPTION_GROUP_SIZEBIG, "big");
_root.addQuestion("What is the size of her hair?", 2);
_root.addOptionGroup(_root.OPTION_GROUP_SIZELARGE, "short");
_root.addQuestion("She is drolling.", 1);
_root.addOptionGroup(_root.OPTION_GROUP_BOOLEAN, "true");
_root.addQuestion("She is lactating.", 1);
_root.addOptionGroup(_root.OPTION_GROUP_BOOLEAN, "false");
_root.addQuestion("How is her face expression?", 2);
_root.addOptionGroup(_root.OPTION_GROUP_EXPRESSION, "smile");
_root.addQuestion("Where she is?", 2);
_root.addOption("bedroom");
_root.addOption("sexroom");
_root.addOption("sickroom", true);
_root.addOption("bathroom");
_root.addOption("store room");
_root.addOption("dinner room");
root.addPicture("asshole");
_root.addQuestion("What is her hair color?", 1);
_root.addOptionGroup(_root.OPTION_GROUP_COLOR, "blue");
_root.addQuestion("Her vagina is filled with cum.", 1);
_root.addOptionGroup(_root.OPTION_GROUP_BOOLEAN, "false");
_root.addQuestion("What is she wearing?", 4);
_root.addOption("tiara");
_root.addOption("horns");
_root.addOption("cat ear");
_root.addOption("veil");
_root.addOption("nothing", true);
_root.addOption("bunny ear");
_root.addQuestion("What toy she is using?", 4);
_root.addOption("dildo");
_root.addOption("vibrator");
_root.addOption("anal beads");
_root.addOption("nothing", true);
_root.addTurn();
_root.addPicture("pic3");
_root.addQuestion("What is the hair color of the girl in the middle?", 2);
_root.addOptionGroup(_root.OPTION_GROUP_COLOR, "purple");
_root.addQuestion("What the demon girl in the left is wearing?", 4);
_root.addOption("strap-on");
_root.addOption("glasses");
_root.addOptionGroup(_root.OPTION_GROUP_UNIFORM, "nothing");
_root.addQuestion("What is the color of the demon girls' horns?", 2);
_root.addOptionGroup(_root.OPTION_GROUP_COLOR, "orange");
_root.addQuestion("What is the color of the demon girls' eyes?", 2);
_root.addOptionGroup(_root.OPTION_GROUP_COLOR, "red");
_root.addQuestion("What is the color of the catgirl ears shown in the picture?", 6);
_root.addOptionGroup(_root.OPTION_GROUP_COLOR, "black");
_root.addQuestion("There is a catgirl in the picture", 3);
_root.addOptionGroup(_root.OPTION_GROUP_BOOLEAN, "true");
_root.addQuestion("What the girl in the middle is wearing?", 4);
_root.addOptionGroup(_root.OPTION_GROUP_UNIFORM, "school uniform");
_root.addTurn();
_root.addPicture("harem");
_root.addQuestion("What she have in her head?", 2);
_root.addOption("tiara");
_root.addOption("horns");
_root.addOption("cat ear");
_root.addOption("leopard ear", true);
_root.addOption("nothing");
_root.addOption("kinky stuff");
_root.addQuestion("Her mouth is covered by veil.", 2);
_root.addOptionGroup(_root.OPTION_GROUP_BOOLEAN, "false");
_root.addQuestion("What she have in her head?", 4);
_root.addOption("tiara");
_root.addOption("horns");
_root.addOption("cat ear");
_root.addOption("veil", true);
_root.addOption("nothing");
_root.addOption("bunny ear");
_root.addQuestion("In which leg is she wearing a bracelet?", 2);
_root.addOption("left", true);
_root.addOption("right");
_root.addQuestion("She is wearing a leopard tail.", 1);
_root.addOptionGroup(_root.OPTION_GROUP_BOOLEAN, "true");
_root.addQuestion("What is her eye color?", 10);
_root.addOptionGroup(_root.OPTION_GROUP_COLOR, "green");
_root.addTurn();
_root.addPicture("blondeMistress");
_root.addQuestion("What is the color of her hair?", 1);
_root.addOptionGroup(_root.OPTION_GROUP_COLOR, "yellow");
_root.addQuestion("What is the color of her eyes?", 4);
_root.addOptionGroup(_root.OPTION_GROUP_COLOR, "blue");
_root.addQuestion("She is blushing.", 1);
_root.addOptionGroup(_root.OPTION_GROUP_BOOLEAN, "true");
_root.addQuestion("How is her face expression?", 4);
_root.addOptionGroup(_root.OPTION_GROUP_EXPRESSION, "smile");
_root.addQuestion("What is the size of her hair?", 1);
_root.addOptionGroup(_root.OPTION_GROUP_SIZELARGE, "long");
_root.addTurn();
_root.addPicture("dolls");
_root.addQuestion("How many girls are dolls?", 2);
_root.addOptionGroup(_root.OPTION_GROUP_NUMBER, "4");
_root.addQuestion("How many girls are there?", 2);
_root.addOptionGroup(_root.OPTION_GROUP_NUMBER, "4");
_root.addQuestion("What is the color of the center doll's ribbon?", 3);
_root.addOptionGroup(_root.OPTION_GROUP_COLOR, "green");
_root.addQuestion("What is the color of the orange-haired doll's ribbon?", 3);
_root.addOptionGroup(_root.OPTION_GROUP_COLOR, "pink");
_root.addQuestion("What doll is using a black hat?", 4);
_root.addOption("left one");
_root.addOption("right one", true);
_root.addOption("top one");
_root.addOption("below one");
_root.addOption("center one");
_root.addOption("none");
_root.addQuestion("How many short haired dolls are there?", 3);
_root.addOptionGroup(_root.OPTION_GROUP_NUMBER, "1");
_root.addTurn();
_root.addPicture("pic4");
_root.addQuestion("What is she holding in her left hand?", 3);
_root.addOption("whip");
_root.addOption("candle", true);
_root.addOption("rectal syringe");
_root.addOption("trident");
_root.addOption("handcuffs");
_root.addOption("dildo");
_root.addQuestion("What is she holding in her right hand?", 3);
_root.addOption("whip", true);
_root.addOption("candle");
_root.addOption("rectal syringe");
_root.addOption("trident");
_root.addOption("handcuffs");
_root.addOption("dildo");
_root.addQuestion("What she have in her head?", 4);
_root.addOption("tiara", true);
_root.addOption("horns");
_root.addOption("maid hat");
_root.addOption("mistress hat");
_root.addOption("cat ears");
_root.addOption("bunny ears");
_root.addQuestion("What the color of her panties?", 4);
_root.addOptionGroup(_root.OPTION_GROUP_COLOR, "yellow");
_root.addQuestion("How is her face expression?", 4);
_root.addOptionGroup(_root.OPTION_GROUP_EXPRESSION, "smile");
_root.addTurn();
_root.addPicture("blueMistress");
_root.addQuestion("What is the hair color of the woman in the middle?", 2);
_root.addOptionGroup(_root.OPTION_GROUP_COLOR, "blue");
_root.addQuestion("What is the hair color of the woman in the left?", 2);
_root.addOptionGroup(_root.OPTION_GROUP_COLOR, "black");
_root.addQuestion("What is the hair color of the woman in the right?", 2);
_root.addOptionGroup(_root.OPTION_GROUP_COLOR, "brown");
_root.addQuestion("The girl in the left is wearing a collar.", 2);
_root.addOptionGroup(_root.OPTION_GROUP_BOOLEAN, "false");
_root.addQuestion("The girl in the center is wearing a collar.", 2);
_root.addOptionGroup(_root.OPTION_GROUP_BOOLEAN, "true");
_root.addQuestion("What is the size of the hair of the girl in the right?", 1);
_root.addOptionGroup(_root.OPTION_GROUP_SIZELARGE, "short");
_root.addQuestion("The girl in the center have fiercings in her belly.", 2);
_root.addOptionGroup(_root.OPTION_GROUP_BOOLEAN, "false");
_root.addQuestion("How many people are there?", 1);
_root.addOptionGroup(_root.OPTION_GROUP_NUMBER, "4");
_root.addTurn();
_root.addPicture("competition");
_root.addQuestion("What number is the naked woman?", 6);
_root.addOption("12");
_root.addOption("13");
_root.addOption("14");
_root.addOption("15", true);
_root.addOption("16");
_root.addOption("17");
_root.addQuestion("What number is the girl in blue suit?", 8);
_root.addOption("12");
_root.addOption("13");
_root.addOption("14");
_root.addOption("15", true);
_root.addOption("16");
_root.addOption("17");
_root.addQuestion("What number is the girl with pink hair?", 6);
_root.addOption("12");
_root.addOption("13");
_root.addOption("14", true);
_root.addOption("15");
_root.addOption("16");
_root.addOption("17");
_root.addQuestion("What number is the girl with reddish suit?", 6);
_root.addOption("12");
_root.addOption("13");
_root.addOption("14", true);
_root.addOption("15");
_root.addOption("16");
_root.addOption("17");
_root.addQuestion("What number is the pigtail girl?", 8);
_root.addOption("12");
_root.addOption("13");
_root.addOption("14", true);
_root.addOption("15");
_root.addOption("16");
_root.addOption("17");
_root.addQuestion("What number is the girl with blue hair?", 6);
_root.addOption("12");
_root.addOption("13");
_root.addOption("14");
_root.addOption("15");
_root.addOption("16", true);
_root.addOption("17");
_root.addQuestion("What number is the girl with brown hair?", 6);
_root.addOption("12");
_root.addOption("13", true);
_root.addOption("14");
_root.addOption("15");
_root.addOption("16");
_root.addOption("17");
_root.addQuestion("What number is the girl in purple suit?", 7);
_root.addOption("12");
_root.addOption("13", true);
_root.addOption("14");
_root.addOption("15");
_root.addOption("16");
_root.addOption("17");
_root.addQuestion("Girl 14 has a vibrator.", 4);
_root.addOptionGroup(_root.OPTION_GROUP_BOOLEAN, "false");
_root.addQuestion("Girl 15 has a vibrator.", 2);
_root.addOptionGroup(_root.OPTION_GROUP_BOOLEAN, "true");
_root.addTurn();
_root.addPicture("tatooGirl");
_root.addQuestion("What is her eye color?", 2);
_root.addOptionGroup(_root.OPTION_GROUP_COLOR, "green");
_root.addQuestion("What is the color of her hair?", 1);
_root.addOptionGroup(_root.OPTION_GROUP_COLOR, "yellow");
_root.addQuestion("What is the color of her ribbons?", 1);
_root.addOptionGroup(_root.OPTION_GROUP_COLOR, "red");
_root.addQuestion("Which tatoo she have in her left breast?", 5);
_root.addOption("butterfly");
_root.addOption("roses", true);
_root.addOption("skull");
_root.addOption("snake");
_root.addOption("bird");
_root.addOption("iguana");
_root.addOption("nothing");
_root.addQuestion("Which tatoo she have in her right breast?", 5);
_root.addOption("butterfly");
_root.addOption("roses");
_root.addOption("skull");
_root.addOption("snake");
_root.addOption("bird");
_root.addOption("iguana", true);
_root.addOption("nothing");
_root.addQuestion("Which tatoo she have in her left thigh?", 10);
_root.addOption("butterfly");
_root.addOption("roses", true);
_root.addOption("skull");
_root.addOption("snake");
_root.addOption("bird");
_root.addOption("iguana");
_root.addOption("nothing");
_root.addQuestion("Which tatoo she have in her right thigh?", 10);
_root.addOption("butterfly");
_root.addOption("roses", true);
_root.addOption("skull");
_root.addOption("snake");
_root.addOption("bird");
_root.addOption("iguana");
_root.addOption("nothing");
_root.addQuestion("Which tatoo she have in her right breast?", 8);
_root.addOption("butterfly");
_root.addOption("roses");
_root.addOption("skull", true);
_root.addOption("snake");
_root.addOption("bird");
_root.addOption("iguana");
_root.addOption("nothing");
_root.addQuestion("Which tatoo she have in her belly?", 3);
_root.addOption("butterfly", true);
_root.addOption("roses");
_root.addOption("skull");
_root.addOption("snake");
_root.addOption("bird");
_root.addOption("iguana");
_root.addOption("nothing");
_root.addQuestion("Which tatoo she have in her chest?", 3);
_root.addOption("butterfly");
_root.addOption("roses");
_root.addOption("skull");
_root.addOption("snake", true);
_root.addOption("bird");
_root.addOption("iguana");
_root.addOption("nothing");
_root.addQuestion("How many fiercings do she have in her left breast?", 10);
_root.addOptionGroup(_root.OPTION_GROUP_NUMBER, "3");
_root.gameDataAdded = true;
}
this.stop();
Symbol 62 MovieClip Frame 51
_parent.gotoAndStop("image");
Symbol 63 MovieClip Frame 1
maxCnt = (_root.picTime - (_parent.noTurn / 2)) * 25;
cnt = maxCnt;
_parent.getQuizMovie()._visible = true;
Symbol 63 MovieClip Frame 2
cnt--;
Symbol 63 MovieClip Frame 3
cnt--;
if (cnt < 0) {
_parent.getQuizMovie()._visible = false;
_parent.gotoAndStop("question");
} else {
this.gotoAndPlay("continue");
}
Symbol 79 Button
on (release) {
_parent.selected = 1;
_parent.gotoAndStop("answer");
}
Symbol 80 Button
on (release) {
_parent.selected = 2;
_parent.gotoAndStop("answer");
}
Symbol 81 Button
on (release) {
_parent.selected = 3;
_parent.gotoAndStop("answer");
}
Symbol 82 Button
on (release) {
_parent.selected = 4;
_parent.gotoAndStop("answer");
}
Symbol 83 Button
on (release) {
_parent.selected = 5;
_parent.gotoAndStop("answer");
}
Symbol 84 MovieClip Frame 1
_root.curQuestion++;
noQuestion = _parent.noQuestionPerGame;
noTries = _parent.noTries;
score = _parent.score;
_parent.sortOptions();
question = _parent.getQuestion();
itr = 1;
while (itr <= 5) {
if (itr <= _parent.noOptions) {
this["btn" + itr]._visible = true;
this["option" + itr] = (itr + ")") + _parent.getOption(itr);
} else {
this["btn" + itr]._visible = false;
this["option" + itr] = "";
}
itr++;
}
Symbol 84 MovieClip Frame 3
this.stop();
Symbol 106 MovieClip Frame 1
isCorrect = (_parent.getSelectedAnswer() == _parent.getCorrectAnswer()) || (_parent.selected == 9999);
if (isCorrect) {
this.gotoAndPlay("isCorrect");
} else {
this.gotoAndPlay("isWrong");
}
Symbol 106 MovieClip Frame 2
_parent.score = _parent.score + ((10 * (_parent.noTurn + 1)) * _parent.getQuestionScore());
Symbol 106 MovieClip Frame 30
_parent.score = _parent.score + ((10 * (_parent.noTurn + 1)) * _parent.getQuestionScore());
if (_parent.noQuestionPerTurn < _parent.noQuestionsPerTurn) {
_parent.gotoAndStop("question");
} else if ((_parent.noTurn + 1) >= _parent.getNoTurns()) {
_parent.gotoAndStop("win");
} else {
_parent.gotoAndStop("next");
}
Symbol 106 MovieClip Frame 100
_parent.score = _parent.score - ((_parent.noTurn + 1) * _parent.getQuestionScore());
_parent.noTries--;
Symbol 106 MovieClip Frame 130
if (_parent.noTries >= 0) {
if (_parent.noQuestionPerTurn < _parent.noQuestionsPerTurn) {
_parent.gotoAndStop("question");
} else if ((_parent.noTurn + 1) >= _parent.getNoTurns()) {
_parent.gotoAndStop("win");
} else {
_parent.gotoAndStop("next");
}
}
Symbol 106 MovieClip Frame 191
_root.gotoAndStop("menu");
Symbol 109 MovieClip Frame 77
_parent.gotoAndStop("gallery");
Symbol 114 Button
on (release) {
_root.gotoAndStop("menu");
}
Symbol 117 Button
on (release) {
this.gotoAndStop("video");
}
Symbol 118 Button
on (release) {
pic = "pic1";
this.gotoAndStop("pics");
}
Symbol 120 Button
on (release) {
pic = "harem";
this.gotoAndStop("pics");
}
Symbol 121 Button
on (release) {
pic = "pic4";
this.gotoAndStop("pics");
}
Symbol 122 Button
on (release) {
pic = "pic3";
this.gotoAndStop("pics");
}
Symbol 123 Button
on (release) {
pic = "drollingGirl";
this.gotoAndStop("pics");
}
Symbol 125 Button
on (release) {
pic = "tatooGirl";
this.gotoAndStop("pics");
}
Symbol 127 Button
on (release) {
pic = "dolls";
this.gotoAndStop("pics");
}
Symbol 128 Button
on (release) {
pic = "competition";
this.gotoAndStop("pics");
}
Symbol 130 Button
on (release) {
pic = "blueMistress";
this.gotoAndStop("pics");
}
Symbol 132 Button
on (release) {
pic = "blondeMistress";
this.gotoAndStop("pics");
}
Symbol 134 Button
on (release) {
pic = "sofa";
this.gotoAndStop("pics");
}
Symbol 136 Button
on (release) {
pic = "pic14";
this.gotoAndStop("pics");
}
Symbol 137 Button
on (release) {
pic = "pic13";
this.gotoAndStop("pics");
}
Symbol 138 Button
on (release) {
pic = "asshole";
this.gotoAndStop("pics");
}
Symbol 140 Button
on (release) {
this.gotoAndStop("video2");
}
Symbol 142 Button
on (release) {
this.gotoAndStop("video3");
}
Symbol 143 Button
on (release) {
this.gotoAndStop("menu");
}
Symbol 147 MovieClip Frame 1
pic = "";
bugfixed = false;
Symbol 147 MovieClip Frame 2
if (!bugfixed) {
pic = "pic1";
this.gotoAndPlay("pics");
} else {
this.stop();
}
Symbol 147 MovieClip Frame 5
this.quiz.gotoAndStop(pic);
Symbol 147 MovieClip Frame 10
if (!bugfixed) {
this.gotoAndStop("menu");
this.bugfixed = true;
}
Symbol 148 MovieClip Frame 1
noQuiz = 0;
noTurn = -1;
noPic = -1;
noQuestion = -1;
noAnswer = -1;
selected = -1;
noTries = 4;
noQuestionPerTurn = 0;
noQuestionPerGame = 0;
noQuestionsPerTurn = 0;
maxQuestionsPerTurn = 3;
maxOptions = 5;
noOptions = maxOptions;
score = 0;
sortedOptions = new Array();
itr = 1;
while (itr < 10) {
this["quiz" + itr]._visible = false;
itr++;
}
getQuizMovie = function () {
nrQuiz = noQuiz + 1;
quizName = "quiz" + nrQuiz;
return(this[quizName]);
};
getQuestion = function () {
return(_root.quizes[noQuiz].turns[noTurn].pictures[noPic].questions[noQuestion].question);
};
getOption = function (no) {
return(_root.quizes[noQuiz].turns[noTurn].pictures[noPic].questions[noQuestion].options[sortedOptions[no - 1]]);
};
getSelectedAnswer = function () {
return(sortedOptions[selected - 1]);
};
getCorrectAnswer = function () {
return(_root.quizes[noQuiz].turns[noTurn].pictures[noPic].questions[noQuestion].answer);
};
sortOptions = function () {
sortedOptions2 = new Array();
question = _root.quizes[noQuiz].turns[noTurn].pictures[noPic].questions[noQuestion];
sortedOptions2.push(question.answer);
if (maxOptions > question.options.length) {
noOptions = question.options.length;
} else {
noOptions = maxOptions;
}
itr = 0;
while (itr < (noOptions - 1)) {
sortNo = -1;
while (sortNo == -1) {
sortNo = Math.round(Math.random() * (question.options.length - 1));
itr2 = 0;
while (itr2 < sortedOptions2.length) {
if (sortNo == sortedOptions2[itr2]) {
sortNo = -1;
}
itr2++;
}
}
sortedOptions2.push(sortNo);
itr++;
}
sortNo = Math.round(Math.random() * (noOptions - 1));
hasPassedAnswer = false;
itr = 0;
while (itr < noOptions) {
if (itr == sortNo) {
sortedOptions[itr] = sortedOptions2[0];
hasPassedAnswer = true;
} else if (!hasPassedAnswer) {
sortedOptions[itr] = sortedOptions2[itr + 1];
} else {
sortedOptions[itr] = sortedOptions2[itr];
}
itr++;
}
};
getNoTurns = function () {
return(_root.quizes[noQuiz].turns.length);
};
getQuestionScore = function () {
return(_root.quizes[noQuiz].turns[noTurn].pictures[noPic].questions[noQuestion].score);
};
Symbol 148 MovieClip Frame 2
noTurn++;
noQuestionPerTurn = 0;
usedQuestions = new Array();
sortVal = Math.random() * _root.quizes[noQuiz].turns[noTurn].pictures.length;
noPic = Math.floor(sortVal);
if (noPic == 2) {
noPic--;
}
screen.noPic = noTurn + 1;
getQuizMovie().gotoAndStop(_root.quizes[noQuiz].turns[noTurn].pictures[noPic].picLabel);
if (_root.quizes[noQuiz].turns[noTurn].pictures[noPic].questions.length < maxQuestionsPerTurn) {
noQuestionsPerTurn = _root.quizes[noQuiz].turns[noTurn].pictures[noPic].questions.length;
} else {
noQuestionsPerTurn = maxQuestionsPerTurn;
}
this.stop();
Symbol 148 MovieClip Frame 4
noQuestionPerGame++;
noQuestionPerTurn++;
noQuestion = -1;
while (noQuestion == -1) {
noQuestionsInPic = _root.quizes[noQuiz].turns[noTurn].pictures[noPic].questions.length;
noQuestion = Math.floor(Math.random() * noQuestionsInPic);
if (noQuestion >= noQuestionsInPic) {
noQuestion = noQuestionsInPic - 1;
}
itr = 0;
while (itr < usedQuestions.length) {
if (noQuestion == usedQuestions[itr]) {
noQuestion = -1;
}
itr++;
}
}
usedQuestions.push(noQuestion);