Frame 1
stop();
loadProgress = 0;
onEnterFrame = function () {
if (_currentframe != 1) {
return(undefined);
}
loadProgress = int((100 * getBytesLoaded()) / getBytesTotal());
_bytesCount.text = Math.round(getBytesLoaded() / 1000) + "KB";
_loaded.text = ("LOADING PROGRESS : " + loadProgress) + " percents";
_loading.gotoAndStop(int((100 * getBytesLoaded()) / getBytesTotal()));
if (getBytesLoaded() == getBytesTotal()) {
gotoAndStop (2);
}
};
Stage.scaleMode = "noScale";
_root._quality = "BEST";
_mcHome.onRollOver = function () {
this.varTweenXscale.stop();
this.varTweenXscale = new mx.transitions.Tween(this, "_xscale", mx.transitions.easing.Back.easeOut, this._xscale, 110, 0.25, true);
this.varTweenYscale.stop();
this.varTweenYscale = new mx.transitions.Tween(this, "_yscale", mx.transitions.easing.Back.easeOut, this._yscale, 110, 0.25, true);
this.varTweenAlpha.stop();
this.varTweenAlpha = new mx.transitions.Tween(this, "_alpha", mx.transitions.easing.Regular.easeOut, this._alpha, 100, 0.25, true);
};
_mcHome.onRollOut = (flashist_mc.onReleaseOutside = function () {
this.varTweenXscale = new mx.transitions.Tween(this, "_xscale", mx.transitions.easing.Back.easeOut, this._xscale, 100, 0.25, true);
this.varTweenYscale.stop();
this.varTweenYscale = new mx.transitions.Tween(this, "_yscale", mx.transitions.easing.Back.easeOut, this._yscale, 100, 0.25, true);
this.varTweenAlpha.stop();
this.varTweenAlpha = new mx.transitions.Tween(this, "_alpha", mx.transitions.easing.Regular.easeOut, this._alpha, 90, 0.25, true);
});
_mcHome.onRelease = function () {
this.varTweenXscale.stop();
this.varTweenXscale = new mx.transitions.Tween(this, "_xscale", mx.transitions.easing.Back.easeOut, this._xscale, 110, 0.25, true);
this.varTweenYscale.stop();
this.varTweenYscale = new mx.transitions.Tween(this, "_yscale", mx.transitions.easing.Back.easeOut, this._yscale, 110, 0.25, true);
this.varTweenAlpha.stop();
this.varTweenAlpha = new mx.transitions.Tween(this, "_alpha", mx.transitions.easing.Regular.easeOut, this._alpha, 100, 0.25, true);
};
_mcHome.onPress = function () {
getURL ("http://sexhotgames.com/", "_blank");
this.varTweenXscale.stop();
this.varTweenXscale = new mx.transitions.Tween(this, "_xscale", mx.transitions.easing.Back.easeOut, this._xscale, 90, 0.25, true);
this.varTweenYscale.stop();
this.varTweenYscale = new mx.transitions.Tween(this, "_yscale", mx.transitions.easing.Back.easeOut, this._yscale, 90, 0.25, true);
this.varTweenAlpha.stop();
this.varTweenAlpha = new mx.transitions.Tween(this, "_alpha", mx.transitions.easing.Regular.easeOut, this._alpha, 75, 0.25, true);
};
Frame 2
_root._quality = "HIGH";
sounds._x = -100;
_global.click_sound = new Sound();
_global.click_sound.attachSound("doubleClick");
_global.dayTime = 1;
_global.dayStatus = 1;
_global.dayNo = 1;
_global.money = 1000;
_global.earn_money_amount = 2500;
_global.prepayment_money_amount = 1250;
_global.prepayment = false;
_global.knowHome = false;
_global.knowHotel = false;
_global.knowRestaurant = false;
_global.restaurant_wait = false;
_global.followHotel = false;
_global.noFoto = false;
_global.secretaryLastDialogue = 0;
_global.hotelLastDialogue = 0;
_global.fitnessLastDialogue = 0;
_global.homeLastDialogue = 0;
_global.targetLastDialogue = 0;
_global.husbandLastDialogue = 0;
_global.fitnessTime = 20;
_global.fitnessDays = new Array();
_global.fitnessDays[0] = 2;
_global.fitnessDays[1] = 4;
_global.restaurantTime = 21;
_global.restaurantDays = new Array();
_global.restaurantDays[0] = 2;
_global.restaurantDays[1] = 4;
_global.hotelTime = 24;
_global.hotelDays = new Array();
_global.hotelDays[0] = 2;
_global.hotelDays[1] = 4;
_global.hotelDays[2] = 5;
_global.following = false;
_global.loversFollowed = false;
_global.hotelCheat = false;
_global.fitnessCheat = false;
_global.restaurantWaitTime = 2;
_global.followHotel = false;
_global.havePen = false;
_global.haveFlowers = false;
_global.haveWatches = false;
_global.haveTickets = false;
_global.havePhotoFitness = false;
_global.havePhotoHotel = false;
_global.havePhotoRestaurant = false;
_global.havePhotoSex = false;
_global.givenPen = false;
_global.givenFlowers = false;
_global.givenWatches = false;
_global.givenTickets = false;
_global.costPen = 175;
_global.costFlowers = 105;
_global.costWatches = 315;
_global.costTickets = 1695;
_global.restaurant_wait = false;
_global.office_pregetmoney_msg = "You get your prepayment.";
_global.office_getmoney_msg = "You get your money. Your mission accomplished.";
_global.office_secretaryoff_msg = "Your secretary went home at 18:00.";
_global.fitness_off_msg = "Too late for Fitness Center to be open. Try again tomorrow morning.";
_global.dayStatusArray = new Array("Morning", "Noon", "Evening");
_global.dayTimeArray = new Array("08:00 am", "08:30 am", "09:00 am", "09:30 am", "10:00 am", "10:30 am", "11:00 am", "11:30 am", "12:00 pm", "12:30 pm", "01:00 pm", "01:30 pm", "02:00 pm", "02:30 pm", "03:00 pm", "03:30 pm", "04:00 pm", "04:30 pm", "05:00 pm", "05:30 pm", "06:00 pm", "06:30 pm", "07:00 pm", "07:30 pm", "08:00 pm", "08:30 pm", "09:00 pm", "09:30 pm", "10:00 pm", "10:30 pm", "11:00 pm", "11:30 pm");
_s1Button.onRollOver = function () {
_s1Button.gotoAndStop(2);
};
_s1Button.onRollOut = function () {
_s1Button.gotoAndStop(1);
};
_s1Button.onPress = function () {
_root.gotoAndPlay("office_sex");
};
_s2Button.onRollOver = function () {
_s2Button.gotoAndStop(2);
};
_s2Button.onRollOut = function () {
_s2Button.gotoAndStop(1);
};
_s2Button.onPress = function () {
_root.gotoAndPlay("fitness_presex");
};
_s3Button.onRollOver = function () {
_s3Button.gotoAndStop(2);
};
_s3Button.onRollOut = function () {
_s3Button.gotoAndStop(1);
};
_s3Button.onPress = function () {
_root.gotoAndPlay("hotel_presex");
};
_s4Button.onRollOver = function () {
_s4Button.gotoAndStop(2);
};
_s4Button.onRollOut = function () {
_s4Button.gotoAndStop(1);
};
_s4Button.onPress = function () {
_root.gotoAndPlay("home_presex");
};
_questionButton.onRollOver = function () {
_questionButton.gotoAndStop(2);
};
_questionButton.onRollOut = function () {
_questionButton.gotoAndStop(1);
};
_questionButton.onPress = function () {
_root.gotoAndPlay("QUESTION");
};
_nextButton.onRollOver = function () {
_nextButton.gotoAndStop(2);
};
_nextButton.onRollOut = function () {
_nextButton.gotoAndStop(1);
};
_nextButton.onPress = function () {
_root.gotoAndPlay("office_dialogue0start");
};
_global.dayStatusFunction = function () {
return(_global.dayStatusArray[_global.dayStatus - 1]);
};
_global.dayTimeFunction = function () {
return(_global.dayTimeArray[_global.dayTime - 1]);
};
_global.waitTime = function () {
_global.dayTime++;
if (_global.dayTime > 32) {
_global.dayTime = 1;
_global.dayNo++;
}
if (_global.dayTime <= 8) {
_global.dayStatus = 1;
}
if ((_global.dayTime > 8) && (_global.dayTime <= 20)) {
_global.dayStatus = 2;
}
if (_global.dayTime > 20) {
_global.dayStatus = 3;
}
return(eval (true)());
};
_global.waitDay = function () {
_global.dayTime = 1;
_global.dayNo++;
return(eval (true)());
};
_global.waitNoon = function () {
_global.dayTime = 9;
return(eval (true)());
};
_global.waitEvening = function () {
_global.dayTime = 21;
return(eval (true)());
};
_global.secretaryTalk = function () {
_global.waitTime();
if (_global.secretaryLastDialogue == 0) {
if (_global.havePen) {
_global.havePen = false;
_global.givenPen = true;
_global.secretaryLastDialogue = 1;
trace("The Gift Exists");
_root.gotoAndPlay("office_dialogue1gift");
return(true);
}
trace("The Gift Doesn't Exist");
_root.gotoAndPlay("office_dialogue1nogift");
return(true);
}
if (_global.secretaryLastDialogue == 1) {
_root.gotoAndPlay("office_sexhad");
}
};
_global.targetPhoneTalk = function () {
if (_global.targetLastDialogue == 0) {
_global.targetLastDialogue = 1;
_global.knowHome = true;
trace("The first call to target");
_root.gotoAndPlay("target_dialogue0");
return(true);
}
if (_global.targetLastDialogue == 1) {
_root.gotoAndPlay("target_busy");
}
};
_global.haveOneEvidence = function () {
if (((_global.havePhotoFitness || (_global.havePhotoHotel)) || (_global.havePhotoRestaurant)) || (_global.havePhotoSex)) {
return(true);
}
return(false);
};
_global.haveAllEvidence = function () {
if (((_global.havePhotoFitness && (_global.havePhotoHotel)) && (_global.havePhotoRestaurant)) && (_global.havePhotoSex)) {
return(true);
}
return(false);
};
_global.homeTalk = function () {
if ((_global.homeLastDialogue == 0) && (_global.haveAllEvidence())) {
_global.homeLastDialogue = 1;
trace("The first visit to target's home");
_root.gotoAndPlay("home_dialogue0");
return(true);
}
if (_global.homeLastDialogue == 0) {
_root.gotoAndPlay("home_dialogue0noevidences");
return(true);
}
};
_global.husbandTalk = function () {
if ((_global.husbandLastDialogue == 0) && (_global.haveAllEvidence())) {
_global.husbandLastDialogue = 1;
trace("The first call to target's husband");
_root.gotoAndPlay("husband_dialogue0");
return(true);
}
if (_global.husbandLastDialogue == 0) {
_root.gotoAndPlay("husband_dialogue0noevidences");
return(true);
}
};
_global.hotelTalk = function () {
_global.waitTime();
if (_global.hotelLastDialogue == 0) {
_global.hotelLastDialogue = 1;
_root.gotoAndPlay("hotel_dialogue0");
return(true);
}
if (_global.hotelLastDialogue == 1) {
if (_global.haveWatches) {
_global.hotelCheat = true;
_global.haveWatches = false;
_global.givenWatches = true;
_global.hotelLastDialogue = 2;
trace("The Gift Exists");
_root.gotoAndPlay("hotel_dialogue1gift");
return(true);
}
trace("The Gift Doesn't Exist");
_root.gotoAndPlay("hotel_dialogue1nogift");
return(true);
}
if ((_global.hotelLastDialogue == 2) && (_global.checkHotelDay())) {
trace("# The day time is " + _global.dayTime);
if (_global.dayTime >= _global.hotelTime) {
_root.gotoAndPlay("hotel_dialogue2info");
return(true);
}
}
if (_global.hotelLastDialogue == 2) {
_root.gotoAndPlay("hotel_sexhad");
return(true);
}
};
_global.getDayName = function () {
tmp = _global.dayNo - (7 * int(_global.dayNo / 7));
switch (tmp) {
case 0 :
return("Sunday");
case 1 :
return("Monday");
case 2 :
return("Tuesday");
case 3 :
return("Wednesday");
case 4 :
return("Thursday");
case 5 :
return("Friday");
case 6 :
return("Saturday");
}
return(false);
};
_global.fitnessTalk = function () {
_global.waitTime();
if (_global.fitnessLastDialogue == 0) {
_global.fitnessLastDialogue = 1;
_root.gotoAndPlay("fitness_dialogue0");
return(true);
}
if (_global.fitnessLastDialogue == 1) {
if (_global.haveFlowers) {
_global.fitnessCheat = true;
_global.haveFlowers = false;
_global.givenFlowers = true;
_global.fitnessLastDialogue = 2;
trace("The Gift Exists");
_root.gotoAndPlay("fitness_dialogue1gift");
return(true);
}
trace("The Gift Doesn't Exist");
_root.gotoAndPlay("fitness_dialogue1nogift");
return(true);
}
if (_global.fitnessLastDialogue == 2) {
_root.gotoAndPlay("fitness_sexhad");
}
};
_global.checkFitnessTime = function () {
fitnessDayCheck = false;
trace("Fitness day Array length = " + _global.fitnessDays.length);
i = 0;
while (i < _global.fitnessDays.length) {
trace(((" Fitness Day [" + i) + "] = ") + _global.fitnessDays[i]);
if (_global.fitnessDays[i] == _global.dayNo) {
trace((((" !!!Day No [" + i) + "] = ") + _global.fitnessDays[i]) + ". Fitness Day Check passed");
fitnessDayCheck = true;
break;
}
i++;
}
if ((_global.dayTime == _global.fitnessTime) && (fitnessDayCheck)) {
trace(" Fitness Time == Day Time");
return(true);
}
return(false);
};
_global.checkHotelTime = function () {
hotelDayCheck = false;
trace("Hotel day Array length = " + _global.hotelDays.length);
i = 0;
while (i < _global.hotelDays.length) {
trace(((" Hotel Day [" + i) + "] = ") + _global.hotelDays[i]);
if (_global.hotelDays[i] == _global.dayNo) {
trace((((" !!!Day No [" + i) + "] = ") + _global.hotelDays[i]) + ". Hotel Day Check passed");
hotelDayCheck = true;
break;
}
i++;
}
if ((_global.dayTime == _global.hotelTime) && (hotelDayCheck)) {
trace(" Hotel Time == Day Time");
return(true);
}
return(false);
};
_global.checkHotelDay = function () {
hotelDayCheck = false;
trace("Hotel day Array length = " + _global.hotelDays.length);
i = 0;
while (i < _global.hotelDays.length) {
trace(((" Hotel Day [" + i) + "] = ") + _global.hotelDays[i]);
if (_global.hotelDays[i] == _global.dayNo) {
trace((((" !!!Day No [" + i) + "] = ") + _global.hotelDays[i]) + ". Hotel Day Check passed");
hotelDayCheck = true;
break;
}
i++;
}
return(hotelDayCheck);
};
_global.checkRestaurantTime = function () {
restaurantDayCheck = false;
trace("Restaurant day Array length = " + _global.restaurantDays.length);
trace("Current day is " + _global.dayNo);
i = 0;
while (i < _global.restaurantDays.length) {
trace(((" Restaurant Day [" + i) + "] = ") + _global.restaurantDays[i]);
if (_global.restaurantDays[i] == _global.dayNo) {
trace((((" !!!Day No [" + i) + "] = ") + _global.restaurantDays[i]) + ". Restaurant Day Check passed");
restaurantDayCheck = true;
break;
}
i++;
}
if ((_global.dayTime == _global.restaurantTime) && (restaurantDayCheck)) {
trace(" Restaurant Time == Day Time");
return(true);
}
return(false);
};
_global.getDayName = function () {
tmp = _global.dayNo - (7 * int(_global.dayNo / 7));
switch (tmp) {
case 0 :
return("Sunday");
case 1 :
return("Monday");
case 2 :
return("Tuesday");
case 3 :
return("Wednesday");
case 4 :
return("Thursday");
case 5 :
return("Friday");
case 6 :
return("Saturday");
}
return(false);
};
stop();
Instance of Symbol 23 MovieClip "_s1Button" in Frame 2
/* no clip actions */
Instance of Symbol 23 MovieClip "_s2Button" in Frame 2
/* no clip actions */
Instance of Symbol 23 MovieClip "_s3Button" in Frame 2
/* no clip actions */
Instance of Symbol 23 MovieClip "_s4Button" in Frame 2
/* no clip actions */
Instance of Symbol 26 MovieClip "_questionButton" in Frame 2
/* no clip actions */
Frame 3
_global.before = _root._currentframe;
stop();
Frame 4
_global.before = _root._currentframe;
stop();
Frame 5
_global.before = _root._currentframe;
stop();
Frame 6
_global.before = _root._currentframe;
stop();
Frame 7
_global.before = _root._currentframe;
stop();
Frame 8
_global.before = _root._currentframe;
stop();
Frame 9
stop();
Frame 10
function outputQuestion() {
id11211 = setInterval(showNextSymbol, interval, _global.s);
}
function showNextSymbol() {
if (_global.s.charAt(_global.pointer) == "") {
clearInterval(id11211);
} else {
_root.framex.qtext.text = _root.framex.qtext.text + _global.s.charAt(_global.pointer);
_global.pointer++;
}
}
_global.waitTime();
_global.questionList = new Array("Hello, Sir! How can I help you?", "0", "Michelle, my name is Michelle.", "0", "Thanks", "0", "We do not disclose information about our clients. Unfortunately, I can\u2019t help you.", "0", "I\u2019m very glad that we found a common language.", "0", "Odd, but I have never been given flowers.", "1");
_global.failList = new Array("No you asshole.", "1", "Jackass!", "1", "Sir, I\u2019m asking you to leave here, otherwise I will have to call security.", "1", "Sir, I\u2019m asking you to leave here, otherwise I will have to call security.", "1", "Moron!", "1", "You are crazy!", "1");
_global.answerList = new Array("Hello Miss ...", "Hello. Can we have sex right now?", "Hello. Can you give me your phone number, sexy?", "1", "What a charming name.", "Oh what lovely breasts!", "Oh, how sexy you are! Let\u2019s get down to business?", "1", "Does Mrs. Hallivan always come here?", "Mrs. Hallivan is a slut isn\u2019t she?", "Mrs. Hallivan is a bitch isn\u2019t she?", "1", "On course not. I wouldn\u2019t count on it.", "Maybe you need some money?", "I think we just need to agree on the price issue?", "1", "You are so wonderful Michelle. You must constantly get flowers from men?", "I\u2019m also very happy. Let\u2019s use our tongues differently?", "I\u2019m also very happy. Maybe it's time to move to body language?", "1", "Yes.", "No.", "No, really", "1");
_global.pointer = 0;
_global.s = "";
var id11211;
var done = false;
var interval = 30;
_global.rightDo = function (a) {
trace("Right!");
_global.currentQuestion++;
if (_global.currentQuestion > (_global.questionList.length / 2)) {
trace("That is all for this Question Set");
_root.gotoAndPlay(_global.successFrameName);
return(true);
}
_global.modframe(_global.currentQuestion, 0);
return(true);
};
_global.wrongDo = function (a) {
if (_global.isLivesPowered) {
_global.livesCount--;
if (_global.livesCount >= 0) {
_root.framex.livesBar.livesCounter.text = _global.livesCount + "/3";
} else {
_root.framex.livesBar.livesCounter.text = "0/3";
}
trace(("###### YOU HAVE " + _global.livesCount) + " LIFES LEFT");
if (_global.livesCount == 2) {
_root.framex.livesBar.gotoAndPlay(2);
}
if (_global.livesCount == 1) {
_root.framex.livesBar.gotoAndPlay(15);
}
if (_global.livesCount == 0) {
_root.framex.livesBar.gotoAndPlay(30);
}
if (_global.livesCount < 0) {
trace("### False! You failed this set!");
_root.gotoAndPlay(_global.failFrameName);
}
_global.modframe(0, _global.currentQuestion);
} else {
_global.modframe(0, _global.currentQuestion);
}
trace("False!");
};
_global.qcheck = function (a) {
if (_global.rans == a) {
switch (a) {
case 1 :
_root.framex.a1but.gotoAndPlay(2);
break;
case 2 :
_root.framex.a2but.gotoAndPlay(2);
break;
case 3 :
_root.framex.a3but.gotoAndPlay(2);
break;
default :
trace("Error : Check button and right answer naming...");
}
} else {
switch (a) {
case 1 :
_root.framex.a1but.gotoAndPlay(10);
break;
case 2 :
_root.framex.a2but.gotoAndPlay(10);
break;
case 3 :
_root.framex.a3but.gotoAndPlay(10);
break;
default :
trace("Error : Check button and right answer naming...");
}
}
};
_global.leaveCheck = function () {
trace("Leaving Question Set");
_root.gotoAndPlay(_global.failFrameName);
};
_global.tryAgainCheck = function () {
trace("Starting again this Question Set");
_global.modframe(_global.currentQuestion, 0);
};
_global.continueCheck = function () {
trace("Next Question from this Set");
_global.currentQuestion++;
if (_global.currentQuestion > (_global.questionList.length / 2)) {
trace("That is all for this Question Set");
_root.gotoAndPlay(_global.successFrameName);
return(true);
}
_global.modframe(_global.currentQuestion, 0);
return(true);
};
_global.modframe = function (q, f) {
_root.framex.unfadex.gotoAndPlay(1);
if (_global.isLivesPowered) {
_root.framex.livesBar._visible = true;
}
_root.framex.happyChick._visible = false;
_root.framex.unhappyChick._visible = false;
_root.framex.leaveButton._visible = false;
_root.framex.leaveButton.enabled = false;
_root.framex.tryAgainButton._visible = false;
_root.framex.tryAgainButton.enabled = false;
_root.framex.continueButton._visible = false;
_root.framex.continueButton.enabled = false;
_root.framex.a1but._visible = false;
_root.framex.a1but.enabled = false;
_root.framex.a2but._visible = false;
_root.framex.a1but.enabled = false;
_root.framex.a3but._visible = false;
_root.framex.a1but.enabled = false;
trace("In modframe function");
if (((q == 0) && (f == 0)) || ((q != 0) && (f != 0))) {
trace("Error: Check modframe function parameters");
return(false);
}
if (((q < 0) || (q > (_global.questionList.length / 2))) || ((f < 0) || (f > (_global.failList.length / 2)))) {
trace("Error: Check question or fail index !");
return(false);
}
if ((q != 0) && (f == 0)) {
_root.framex.unhappyChick._visible = false;
_root.framex.happyChick._visible = true;
trace("Question text: " + _global.questionList[(q - 1) * 2]);
trace("Right Answer : " + _global.answerList[((q - 1) * 4) + 3]);
trace("Answer 1 text: " + _global.answerList[(q - 1) * 4]);
trace("Answer 2 text: " + _global.answerList[((q - 1) * 4) + 1]);
trace("Answer 3 text: " + _global.answerList[((q - 1) * 4) + 2]);
if ((parseInt(_global.questionList[((q - 1) * 2) + 1]) < 0) && (parseInt(_global.questionList[((q - 1) * 2) + 1]) > 1)) {
trace("Error: Check Question option at No " + q);
return(false);
}
if (parseInt(_global.questionList[((q - 1) * 2) + 1]) == 0) {
trace("Question is with answers");
_root.framex.a1but._visible = true;
_root.framex.a1but.enabled = true;
_root.framex.a2but._visible = true;
_root.framex.a1but.enabled = true;
_root.framex.a3but._visible = true;
_root.framex.a1but.enabled = true;
if ((parseInt(_global.answerList[((q - 1) * 4) + 3]) < 1) || (parseInt(_global.answerList[((q - 1) * 4) + 3]) > 3)) {
trace("Error: Check right answer index at Question " + q);
return(false);
}
ransInt = parseInt(_global.answerList[((q - 1) * 4) + 3]);
_global.pointer = 0;
_root.framex.qtext.text = "";
_global.s = _global.questionList[(q - 1) * 2];
outputQuestion();
ransIndex = random(3) + 1;
_global.rans = ransIndex;
trace((("Random Answer is " + ransIndex) + " and index form array is ") + ransInt);
answers = new Array(_global.answerList[(q - 1) * 4], _global.answerList[((q - 1) * 4) + 1], _global.answerList[((q - 1) * 4) + 2]);
i = 0;
if (ransIndex > ransInt) {
while (i < (ransIndex - ransInt)) {
answers.unshift(answers.pop());
i++;
}
}
if (ransIndex < ransInt) {
while (i < (ransInt - ransIndex)) {
answers.push(answers.shift());
i++;
}
}
_root.framex.a1but.a1text.text = answers[0];
_root.framex.a2but.a2text.text = answers[1];
_root.framex.a3but.a3text.text = answers[2];
return(true);
}
if (parseInt(_global.questionList[((q - 1) * 2) + 1]) == 1) {
trace("Question is with continue button");
_global.pointer = 0;
_root.framex.qtext.text = "";
_global.s = _global.questionList[(q - 1) * 2];
outputQuestion();
_root.framex.continueButton._visible = true;
_root.framex.continueButton.enabled = true;
return(true);
}
return(true);
}
if ((q == 0) && (f != 0)) {
trace((("###Fail phrase No " + f) + " is ") + _global.failList[(f - 1) * 2]);
trace("###Array No for that Fail phrase is " + ((f - 1) * 2));
_root.framex.tryAgainButton._visible = false;
_root.framex.tryAgainButton.enabled = false;
_root.framex.continueButton._visible = false;
_root.framex.continueButton.enabled = false;
_root.framex.happyChick._visible = false;
_root.framex.unhappyChick._visible = true;
trace("In F block");
_global.pointer = 0;
_root.framex.qtext.text = "";
_global.s = _global.failList[(f - 1) * 2];
outputQuestion();
if ((parseInt(_global.failList[((f - 1) * 2) + 1]) < 0) && (parseInt(_global.failList[((f - 1) * 2) + 1]) > 2)) {
trace("Error: Check Fail option at Fail phrase No " + f);
return(false);
}
if (parseInt(_global.failList[((f - 1) * 2) + 1]) == 0) {
trace("Fail option is to leave");
_root.framex.leaveButton._visible = true;
_root.framex.leaveButton.enabled = true;
return(true);
}
if (parseInt(_global.failList[((f - 1) * 2) + 1]) == 1) {
trace("Fail option is to try again");
_root.framex.tryAgainButton._visible = true;
_root.framex.tryAgainButton.enabled = true;
return(true);
}
if (parseInt(_global.failList[((f - 1) * 2) + 1]) == 2) {
trace("Fail option is to continue");
_root.framex.continueButton._visible = true;
_root.framex.continueButton.enabled = true;
return(true);
}
if (parseInt(_global.failList[((f - 1) * 2) + 1]) == 3) {
trace("Fail option is to jump to fail frame");
_root.gotoAndPlay(_global.failFrameName);
return(true);
}
return(true);
}
};
_global.isLivesPowered = false;
_global.livesCount = 3;
_global.currentQuestion = 1;
_global.setFrameName = "fitness_dialogue0";
_global.failFrameName = "fitness_inside";
_global.successFrameName = "fitness_inside";
_global.modframe(_global.currentQuestion, 0);
stop();
Frame 11
function outputQuestion() {
id11211 = setInterval(showNextSymbol, interval, _global.s);
}
function showNextSymbol() {
if (_global.s.charAt(_global.pointer) == "") {
clearInterval(id11211);
} else {
_root.framex.qtext.text = _root.framex.qtext.text + _global.s.charAt(_global.pointer);
_global.pointer++;
}
}
_global.waitTime();
_global.questionList = new Array("Hello! It\u2019s you again.", "0", "I\u2019m glad to see you also.", "0", "These are the most beautiful flowers anyone\u2019s ever given me.", "0", "Do you remember you asked for information about Mrs. Hallivan? Here it is. She comes in a white limo every Tuesday and Thursday at 17:30.", "0", "Come with me, I want to show you something.", "1");
_global.failList = new Array("Bastard!", "1", "Asshole!", "1", "Never!", "1", "Fuck you!", "1", "You are crazy!", "1");
_global.answerList = new Array("Hello. It\u2019s great to see you again.", "Of course it is. Can we have sex this time?", "Of course it is. Now bend over and show me your sexy ass.", "1", "I have something here for you, Michelle.", "Michelle, I have something hard for you. Let's go somewhere private.", "Michelle, it's time you had sex with me.", "1", "I\u2019m glad to see you happy Michelle.", "Well, now can we have sex?", "Do I deserve a blowjob?", "1", "Michelle, you are so kind to me. I owe you so much.", "Michelle, come to me you hot little bitch.", "Michelle, you\u2019re such a fool.", "1", "Yes.", "No.", "No, really", "1");
_global.pointer = 0;
_global.s = "";
var id11211;
var done = false;
var interval = 30;
_global.rightDo = function (a) {
trace("Right!");
_global.currentQuestion++;
if (_global.currentQuestion > (_global.questionList.length / 2)) {
trace("That is all for this Question Set");
_root.gotoAndPlay(_global.successFrameName);
return(true);
}
_global.modframe(_global.currentQuestion, 0);
return(true);
};
_global.wrongDo = function (a) {
if (_global.isLivesPowered) {
_global.livesCount--;
if (_global.livesCount >= 0) {
_root.framex.livesBar.livesCounter.text = _global.livesCount + "/3";
} else {
_root.framex.livesBar.livesCounter.text = "0/3";
}
trace(("###### YOU HAVE " + _global.livesCount) + " LIFES LEFT");
if (_global.livesCount == 2) {
_root.framex.livesBar.gotoAndPlay(2);
}
if (_global.livesCount == 1) {
_root.framex.livesBar.gotoAndPlay(15);
}
if (_global.livesCount == 0) {
_root.framex.livesBar.gotoAndPlay(30);
}
if (_global.livesCount < 0) {
trace("### False! You failed this set!");
_root.gotoAndPlay(_global.failFrameName);
}
_global.modframe(0, _global.currentQuestion);
} else {
_global.modframe(0, _global.currentQuestion);
}
trace("False!");
};
_global.qcheck = function (a) {
if (_global.rans == a) {
switch (a) {
case 1 :
_root.framex.a1but.gotoAndPlay(2);
break;
case 2 :
_root.framex.a2but.gotoAndPlay(2);
break;
case 3 :
_root.framex.a3but.gotoAndPlay(2);
break;
default :
trace("Error : Check button and right answer naming...");
}
} else {
switch (a) {
case 1 :
_root.framex.a1but.gotoAndPlay(10);
break;
case 2 :
_root.framex.a2but.gotoAndPlay(10);
break;
case 3 :
_root.framex.a3but.gotoAndPlay(10);
break;
default :
trace("Error : Check button and right answer naming...");
}
}
};
_global.leaveCheck = function () {
trace("Leaving Question Set");
_root.gotoAndPlay(_global.failFrameName);
};
_global.tryAgainCheck = function () {
trace("Starting again this Question Set");
_global.modframe(_global.currentQuestion, 0);
};
_global.continueCheck = function () {
trace("Next Question from this Set");
_global.currentQuestion++;
if (_global.currentQuestion > (_global.questionList.length / 2)) {
trace("That is all for this Question Set");
_root.gotoAndPlay(_global.successFrameName);
return(true);
}
_global.modframe(_global.currentQuestion, 0);
return(true);
};
_global.modframe = function (q, f) {
_root.framex.unfadex.gotoAndPlay(1);
if (_global.isLivesPowered) {
_root.framex.livesBar._visible = true;
}
_root.framex.happyChick._visible = false;
_root.framex.unhappyChick._visible = false;
_root.framex.leaveButton._visible = false;
_root.framex.leaveButton.enabled = false;
_root.framex.tryAgainButton._visible = false;
_root.framex.tryAgainButton.enabled = false;
_root.framex.continueButton._visible = false;
_root.framex.continueButton.enabled = false;
_root.framex.a1but._visible = false;
_root.framex.a1but.enabled = false;
_root.framex.a2but._visible = false;
_root.framex.a1but.enabled = false;
_root.framex.a3but._visible = false;
_root.framex.a1but.enabled = false;
trace("In modframe function");
if (((q == 0) && (f == 0)) || ((q != 0) && (f != 0))) {
trace("Error: Check modframe function parameters");
return(false);
}
if (((q < 0) || (q > (_global.questionList.length / 2))) || ((f < 0) || (f > (_global.failList.length / 2)))) {
trace("Error: Check question or fail index !");
return(false);
}
if ((q != 0) && (f == 0)) {
_root.framex.unhappyChick._visible = false;
_root.framex.happyChick._visible = true;
trace("Question text: " + _global.questionList[(q - 1) * 2]);
trace("Right Answer : " + _global.answerList[((q - 1) * 4) + 3]);
trace("Answer 1 text: " + _global.answerList[(q - 1) * 4]);
trace("Answer 2 text: " + _global.answerList[((q - 1) * 4) + 1]);
trace("Answer 3 text: " + _global.answerList[((q - 1) * 4) + 2]);
if ((parseInt(_global.questionList[((q - 1) * 2) + 1]) < 0) && (parseInt(_global.questionList[((q - 1) * 2) + 1]) > 1)) {
trace("Error: Check Question option at No " + q);
return(false);
}
if (parseInt(_global.questionList[((q - 1) * 2) + 1]) == 0) {
trace("Question is with answers");
_root.framex.a1but._visible = true;
_root.framex.a1but.enabled = true;
_root.framex.a2but._visible = true;
_root.framex.a1but.enabled = true;
_root.framex.a3but._visible = true;
_root.framex.a1but.enabled = true;
if ((parseInt(_global.answerList[((q - 1) * 4) + 3]) < 1) || (parseInt(_global.answerList[((q - 1) * 4) + 3]) > 3)) {
trace("Error: Check right answer index at Question " + q);
return(false);
}
ransInt = parseInt(_global.answerList[((q - 1) * 4) + 3]);
_global.pointer = 0;
_root.framex.qtext.text = "";
_global.s = _global.questionList[(q - 1) * 2];
outputQuestion();
ransIndex = random(3) + 1;
_global.rans = ransIndex;
trace((("Random Answer is " + ransIndex) + " and index form array is ") + ransInt);
answers = new Array(_global.answerList[(q - 1) * 4], _global.answerList[((q - 1) * 4) + 1], _global.answerList[((q - 1) * 4) + 2]);
i = 0;
if (ransIndex > ransInt) {
while (i < (ransIndex - ransInt)) {
answers.unshift(answers.pop());
i++;
}
}
if (ransIndex < ransInt) {
while (i < (ransInt - ransIndex)) {
answers.push(answers.shift());
i++;
}
}
_root.framex.a1but.a1text.text = answers[0];
_root.framex.a2but.a2text.text = answers[1];
_root.framex.a3but.a3text.text = answers[2];
return(true);
}
if (parseInt(_global.questionList[((q - 1) * 2) + 1]) == 1) {
trace("Question is with continue button");
_global.pointer = 0;
_root.framex.qtext.text = "";
_global.s = _global.questionList[(q - 1) * 2];
outputQuestion();
_root.framex.continueButton._visible = true;
_root.framex.continueButton.enabled = true;
return(true);
}
return(true);
}
if ((q == 0) && (f != 0)) {
trace((("###Fail phrase No " + f) + " is ") + _global.failList[(f - 1) * 2]);
trace("###Array No for that Fail phrase is " + ((f - 1) * 2));
_root.framex.tryAgainButton._visible = false;
_root.framex.tryAgainButton.enabled = false;
_root.framex.continueButton._visible = false;
_root.framex.continueButton.enabled = false;
_root.framex.happyChick._visible = false;
_root.framex.unhappyChick._visible = true;
trace("In F block");
_global.pointer = 0;
_root.framex.qtext.text = "";
_global.s = _global.failList[(f - 1) * 2];
outputQuestion();
if ((parseInt(_global.failList[((f - 1) * 2) + 1]) < 0) && (parseInt(_global.failList[((f - 1) * 2) + 1]) > 2)) {
trace("Error: Check Fail option at Fail phrase No " + f);
return(false);
}
if (parseInt(_global.failList[((f - 1) * 2) + 1]) == 0) {
trace("Fail option is to leave");
_root.framex.leaveButton._visible = true;
_root.framex.leaveButton.enabled = true;
return(true);
}
if (parseInt(_global.failList[((f - 1) * 2) + 1]) == 1) {
trace("Fail option is to try again");
_root.framex.tryAgainButton._visible = true;
_root.framex.tryAgainButton.enabled = true;
return(true);
}
if (parseInt(_global.failList[((f - 1) * 2) + 1]) == 2) {
trace("Fail option is to continue");
_root.framex.continueButton._visible = true;
_root.framex.continueButton.enabled = true;
return(true);
}
if (parseInt(_global.failList[((f - 1) * 2) + 1]) == 3) {
trace("Fail option is to jump to fail frame");
_root.gotoAndPlay(_global.failFrameName);
return(true);
}
return(true);
}
};
_global.isLivesPowered = false;
_global.livesCount = 3;
_global.currentQuestion = 1;
_global.setFrameName = "fitness_dialogue1gift";
_global.failFrameName = "fitness_presex";
_global.successFrameName = "fitness_presex";
_global.modframe(_global.currentQuestion, 0);
stop();
Frame 12
function outputQuestion() {
id11211 = setInterval(showNextSymbol, interval, _global.s);
}
function showNextSymbol() {
if (_global.s.charAt(_global.pointer) == "") {
clearInterval(id11211);
} else {
_root.framex.qtext.text = _root.framex.qtext.text + _global.s.charAt(_global.pointer);
_global.pointer++;
}
}
_global.waitTime();
_global.questionList = new Array("Hello! It\u2019s you again.", "0", "I\u2019m glad to see you also, but you didn\u2019t bring me flowers.", "1");
_global.failList = new Array("Asshole!", "1", "You are crazy!", "1");
_global.answerList = new Array("Yes, I couldn\u2019t wait to see you again.", "Of course it is. Can we have sex this time?", "Of course it is. Now bend over and show me your sexy ass.", "1", "Yes.", "No.", "No, really", "1");
_global.pointer = 0;
_global.s = "";
var id11211;
var done = false;
var interval = 30;
_global.rightDo = function (a) {
trace("Right!");
_global.currentQuestion++;
if (_global.currentQuestion > (_global.questionList.length / 2)) {
trace("That is all for this Question Set");
_root.gotoAndPlay(_global.successFrameName);
return(true);
}
_global.modframe(_global.currentQuestion, 0);
return(true);
};
_global.wrongDo = function (a) {
if (_global.isLivesPowered) {
_global.livesCount--;
if (_global.livesCount >= 0) {
_root.framex.livesBar.livesCounter.text = _global.livesCount + "/3";
} else {
_root.framex.livesBar.livesCounter.text = "0/3";
}
trace(("###### YOU HAVE " + _global.livesCount) + " LIFES LEFT");
if (_global.livesCount == 2) {
_root.framex.livesBar.gotoAndPlay(2);
}
if (_global.livesCount == 1) {
_root.framex.livesBar.gotoAndPlay(15);
}
if (_global.livesCount == 0) {
_root.framex.livesBar.gotoAndPlay(30);
}
if (_global.livesCount < 0) {
trace("### False! You failed this set!");
_root.gotoAndPlay(_global.failFrameName);
}
_global.modframe(0, _global.currentQuestion);
} else {
_global.modframe(0, _global.currentQuestion);
}
trace("False!");
};
_global.qcheck = function (a) {
if (_global.rans == a) {
switch (a) {
case 1 :
_root.framex.a1but.gotoAndPlay(2);
break;
case 2 :
_root.framex.a2but.gotoAndPlay(2);
break;
case 3 :
_root.framex.a3but.gotoAndPlay(2);
break;
default :
trace("Error : Check button and right answer naming...");
}
} else {
switch (a) {
case 1 :
_root.framex.a1but.gotoAndPlay(10);
break;
case 2 :
_root.framex.a2but.gotoAndPlay(10);
break;
case 3 :
_root.framex.a3but.gotoAndPlay(10);
break;
default :
trace("Error : Check button and right answer naming...");
}
}
};
_global.leaveCheck = function () {
trace("Leaving Question Set");
_root.gotoAndPlay(_global.failFrameName);
};
_global.tryAgainCheck = function () {
trace("Starting again this Question Set");
_global.modframe(_global.currentQuestion, 0);
};
_global.continueCheck = function () {
trace("Next Question from this Set");
_global.currentQuestion++;
if (_global.currentQuestion > (_global.questionList.length / 2)) {
trace("That is all for this Question Set");
_root.gotoAndPlay(_global.successFrameName);
return(true);
}
_global.modframe(_global.currentQuestion, 0);
return(true);
};
_global.modframe = function (q, f) {
_root.framex.unfadex.gotoAndPlay(1);
if (_global.isLivesPowered) {
_root.framex.livesBar._visible = true;
}
_root.framex.happyChick._visible = false;
_root.framex.unhappyChick._visible = false;
_root.framex.leaveButton._visible = false;
_root.framex.leaveButton.enabled = false;
_root.framex.tryAgainButton._visible = false;
_root.framex.tryAgainButton.enabled = false;
_root.framex.continueButton._visible = false;
_root.framex.continueButton.enabled = false;
_root.framex.a1but._visible = false;
_root.framex.a1but.enabled = false;
_root.framex.a2but._visible = false;
_root.framex.a1but.enabled = false;
_root.framex.a3but._visible = false;
_root.framex.a1but.enabled = false;
trace("In modframe function");
if (((q == 0) && (f == 0)) || ((q != 0) && (f != 0))) {
trace("Error: Check modframe function parameters");
return(false);
}
if (((q < 0) || (q > (_global.questionList.length / 2))) || ((f < 0) || (f > (_global.failList.length / 2)))) {
trace("Error: Check question or fail index !");
return(false);
}
if ((q != 0) && (f == 0)) {
_root.framex.unhappyChick._visible = false;
_root.framex.happyChick._visible = true;
trace("Question text: " + _global.questionList[(q - 1) * 2]);
trace("Right Answer : " + _global.answerList[((q - 1) * 4) + 3]);
trace("Answer 1 text: " + _global.answerList[(q - 1) * 4]);
trace("Answer 2 text: " + _global.answerList[((q - 1) * 4) + 1]);
trace("Answer 3 text: " + _global.answerList[((q - 1) * 4) + 2]);
if ((parseInt(_global.questionList[((q - 1) * 2) + 1]) < 0) && (parseInt(_global.questionList[((q - 1) * 2) + 1]) > 1)) {
trace("Error: Check Question option at No " + q);
return(false);
}
if (parseInt(_global.questionList[((q - 1) * 2) + 1]) == 0) {
trace("Question is with answers");
_root.framex.a1but._visible = true;
_root.framex.a1but.enabled = true;
_root.framex.a2but._visible = true;
_root.framex.a1but.enabled = true;
_root.framex.a3but._visible = true;
_root.framex.a1but.enabled = true;
if ((parseInt(_global.answerList[((q - 1) * 4) + 3]) < 1) || (parseInt(_global.answerList[((q - 1) * 4) + 3]) > 3)) {
trace("Error: Check right answer index at Question " + q);
return(false);
}
ransInt = parseInt(_global.answerList[((q - 1) * 4) + 3]);
_global.pointer = 0;
_root.framex.qtext.text = "";
_global.s = _global.questionList[(q - 1) * 2];
outputQuestion();
ransIndex = random(3) + 1;
_global.rans = ransIndex;
trace((("Random Answer is " + ransIndex) + " and index form array is ") + ransInt);
answers = new Array(_global.answerList[(q - 1) * 4], _global.answerList[((q - 1) * 4) + 1], _global.answerList[((q - 1) * 4) + 2]);
i = 0;
if (ransIndex > ransInt) {
while (i < (ransIndex - ransInt)) {
answers.unshift(answers.pop());
i++;
}
}
if (ransIndex < ransInt) {
while (i < (ransInt - ransIndex)) {
answers.push(answers.shift());
i++;
}
}
_root.framex.a1but.a1text.text = answers[0];
_root.framex.a2but.a2text.text = answers[1];
_root.framex.a3but.a3text.text = answers[2];
return(true);
}
if (parseInt(_global.questionList[((q - 1) * 2) + 1]) == 1) {
trace("Question is with continue button");
_global.pointer = 0;
_root.framex.qtext.text = "";
_global.s = _global.questionList[(q - 1) * 2];
outputQuestion();
_root.framex.continueButton._visible = true;
_root.framex.continueButton.enabled = true;
return(true);
}
return(true);
}
if ((q == 0) && (f != 0)) {
trace((("###Fail phrase No " + f) + " is ") + _global.failList[(f - 1) * 2]);
trace("###Array No for that Fail phrase is " + ((f - 1) * 2));
_root.framex.tryAgainButton._visible = false;
_root.framex.tryAgainButton.enabled = false;
_root.framex.continueButton._visible = false;
_root.framex.continueButton.enabled = false;
_root.framex.happyChick._visible = false;
_root.framex.unhappyChick._visible = true;
trace("In F block");
_global.pointer = 0;
_root.framex.qtext.text = "";
_global.s = _global.failList[(f - 1) * 2];
outputQuestion();
if ((parseInt(_global.failList[((f - 1) * 2) + 1]) < 0) && (parseInt(_global.failList[((f - 1) * 2) + 1]) > 2)) {
trace("Error: Check Fail option at Fail phrase No " + f);
return(false);
}
if (parseInt(_global.failList[((f - 1) * 2) + 1]) == 0) {
trace("Fail option is to leave");
_root.framex.leaveButton._visible = true;
_root.framex.leaveButton.enabled = true;
return(true);
}
if (parseInt(_global.failList[((f - 1) * 2) + 1]) == 1) {
trace("Fail option is to try again");
_root.framex.tryAgainButton._visible = true;
_root.framex.tryAgainButton.enabled = true;
return(true);
}
if (parseInt(_global.failList[((f - 1) * 2) + 1]) == 2) {
trace("Fail option is to continue");
_root.framex.continueButton._visible = true;
_root.framex.continueButton.enabled = true;
return(true);
}
if (parseInt(_global.failList[((f - 1) * 2) + 1]) == 3) {
trace("Fail option is to jump to fail frame");
_root.gotoAndPlay(_global.failFrameName);
return(true);
}
return(true);
}
};
_global.isLivesPowered = false;
_global.livesCount = 3;
_global.currentQuestion = 1;
_global.setFrameName = "fitness_dialogue1nogift";
_global.failFrameName = "fitness_inside";
_global.successFrameName = "fitness_inside";
_global.modframe(_global.currentQuestion, 0);
stop();
Frame 13
function outputQuestion() {
id11211 = setInterval(showNextSymbol, interval, _global.s);
}
function showNextSymbol() {
if (_global.s.charAt(_global.pointer) == "") {
clearInterval(id11211);
} else {
_root.framex.qtext.text = _root.framex.qtext.text + _global.s.charAt(_global.pointer);
_global.pointer++;
}
}
_global.questionList = new Array("John you are just amazing in bed, but I'm very busy today. I have to go now.", "1");
_global.failList = new Array("You are crazy!", "1");
_global.answerList = new Array("Yes.", "No.", "No, really", "1");
_global.pointer = 0;
_global.s = "";
var id11211;
var done = false;
var interval = 30;
_global.rightDo = function (a) {
trace("Right!");
_global.currentQuestion++;
if (_global.currentQuestion > (_global.questionList.length / 2)) {
trace("That is all for this Question Set");
_root.gotoAndPlay(_global.successFrameName);
return(true);
}
_global.modframe(_global.currentQuestion, 0);
return(true);
};
_global.wrongDo = function (a) {
if (_global.isLivesPowered) {
_global.livesCount--;
if (_global.livesCount >= 0) {
_root.framex.livesBar.livesCounter.text = _global.livesCount + "/3";
} else {
_root.framex.livesBar.livesCounter.text = "0/3";
}
trace(("###### YOU HAVE " + _global.livesCount) + " LIFES LEFT");
if (_global.livesCount == 2) {
_root.framex.livesBar.gotoAndPlay(2);
}
if (_global.livesCount == 1) {
_root.framex.livesBar.gotoAndPlay(15);
}
if (_global.livesCount == 0) {
_root.framex.livesBar.gotoAndPlay(30);
}
if (_global.livesCount < 0) {
trace("### False! You failed this set!");
_root.gotoAndPlay(_global.failFrameName);
}
_global.modframe(0, _global.currentQuestion);
} else {
_global.modframe(0, _global.currentQuestion);
}
trace("False!");
};
_global.qcheck = function (a) {
if (_global.rans == a) {
switch (a) {
case 1 :
_root.framex.a1but.gotoAndPlay(2);
break;
case 2 :
_root.framex.a2but.gotoAndPlay(2);
break;
case 3 :
_root.framex.a3but.gotoAndPlay(2);
break;
default :
trace("Error : Check button and right answer naming...");
}
} else {
switch (a) {
case 1 :
_root.framex.a1but.gotoAndPlay(10);
break;
case 2 :
_root.framex.a2but.gotoAndPlay(10);
break;
case 3 :
_root.framex.a3but.gotoAndPlay(10);
break;
default :
trace("Error : Check button and right answer naming...");
}
}
};
_global.leaveCheck = function () {
trace("Leaving Question Set");
_root.gotoAndPlay(_global.failFrameName);
};
_global.tryAgainCheck = function () {
trace("Starting again this Question Set");
_global.modframe(_global.currentQuestion, 0);
};
_global.continueCheck = function () {
trace("Next Question from this Set");
_global.currentQuestion++;
if (_global.currentQuestion > (_global.questionList.length / 2)) {
trace("That is all for this Question Set");
_root.gotoAndPlay(_global.successFrameName);
return(true);
}
_global.modframe(_global.currentQuestion, 0);
return(true);
};
_global.modframe = function (q, f) {
_root.framex.unfadex.gotoAndPlay(1);
if (_global.isLivesPowered) {
_root.framex.livesBar._visible = true;
}
_root.framex.happyChick._visible = false;
_root.framex.unhappyChick._visible = false;
_root.framex.leaveButton._visible = false;
_root.framex.leaveButton.enabled = false;
_root.framex.tryAgainButton._visible = false;
_root.framex.tryAgainButton.enabled = false;
_root.framex.continueButton._visible = false;
_root.framex.continueButton.enabled = false;
_root.framex.a1but._visible = false;
_root.framex.a1but.enabled = false;
_root.framex.a2but._visible = false;
_root.framex.a1but.enabled = false;
_root.framex.a3but._visible = false;
_root.framex.a1but.enabled = false;
trace("In modframe function");
if (((q == 0) && (f == 0)) || ((q != 0) && (f != 0))) {
trace("Error: Check modframe function parameters");
return(false);
}
if (((q < 0) || (q > (_global.questionList.length / 2))) || ((f < 0) || (f > (_global.failList.length / 2)))) {
trace("Error: Check question or fail index !");
return(false);
}
if ((q != 0) && (f == 0)) {
_root.framex.unhappyChick._visible = false;
_root.framex.happyChick._visible = true;
trace("Question text: " + _global.questionList[(q - 1) * 2]);
trace("Right Answer : " + _global.answerList[((q - 1) * 4) + 3]);
trace("Answer 1 text: " + _global.answerList[(q - 1) * 4]);
trace("Answer 2 text: " + _global.answerList[((q - 1) * 4) + 1]);
trace("Answer 3 text: " + _global.answerList[((q - 1) * 4) + 2]);
if ((parseInt(_global.questionList[((q - 1) * 2) + 1]) < 0) && (parseInt(_global.questionList[((q - 1) * 2) + 1]) > 1)) {
trace("Error: Check Question option at No " + q);
return(false);
}
if (parseInt(_global.questionList[((q - 1) * 2) + 1]) == 0) {
trace("Question is with answers");
_root.framex.a1but._visible = true;
_root.framex.a1but.enabled = true;
_root.framex.a2but._visible = true;
_root.framex.a1but.enabled = true;
_root.framex.a3but._visible = true;
_root.framex.a1but.enabled = true;
if ((parseInt(_global.answerList[((q - 1) * 4) + 3]) < 1) || (parseInt(_global.answerList[((q - 1) * 4) + 3]) > 3)) {
trace("Error: Check right answer index at Question " + q);
return(false);
}
ransInt = parseInt(_global.answerList[((q - 1) * 4) + 3]);
_global.pointer = 0;
_root.framex.qtext.text = "";
_global.s = _global.questionList[(q - 1) * 2];
outputQuestion();
ransIndex = random(3) + 1;
_global.rans = ransIndex;
trace((("Random Answer is " + ransIndex) + " and index form array is ") + ransInt);
answers = new Array(_global.answerList[(q - 1) * 4], _global.answerList[((q - 1) * 4) + 1], _global.answerList[((q - 1) * 4) + 2]);
i = 0;
if (ransIndex > ransInt) {
while (i < (ransIndex - ransInt)) {
answers.unshift(answers.pop());
i++;
}
}
if (ransIndex < ransInt) {
while (i < (ransInt - ransIndex)) {
answers.push(answers.shift());
i++;
}
}
_root.framex.a1but.a1text.text = answers[0];
_root.framex.a2but.a2text.text = answers[1];
_root.framex.a3but.a3text.text = answers[2];
return(true);
}
if (parseInt(_global.questionList[((q - 1) * 2) + 1]) == 1) {
trace("Question is with continue button");
_global.pointer = 0;
_root.framex.qtext.text = "";
_global.s = _global.questionList[(q - 1) * 2];
outputQuestion();
_root.framex.continueButton._visible = true;
_root.framex.continueButton.enabled = true;
return(true);
}
return(true);
}
if ((q == 0) && (f != 0)) {
trace((("###Fail phrase No " + f) + " is ") + _global.failList[(f - 1) * 2]);
trace("###Array No for that Fail phrase is " + ((f - 1) * 2));
_root.framex.tryAgainButton._visible = false;
_root.framex.tryAgainButton.enabled = false;
_root.framex.continueButton._visible = false;
_root.framex.continueButton.enabled = false;
_root.framex.happyChick._visible = false;
_root.framex.unhappyChick._visible = true;
trace("In F block");
_global.pointer = 0;
_root.framex.qtext.text = "";
_global.s = _global.failList[(f - 1) * 2];
outputQuestion();
if ((parseInt(_global.failList[((f - 1) * 2) + 1]) < 0) && (parseInt(_global.failList[((f - 1) * 2) + 1]) > 2)) {
trace("Error: Check Fail option at Fail phrase No " + f);
return(false);
}
if (parseInt(_global.failList[((f - 1) * 2) + 1]) == 0) {
trace("Fail option is to leave");
_root.framex.leaveButton._visible = true;
_root.framex.leaveButton.enabled = true;
return(true);
}
if (parseInt(_global.failList[((f - 1) * 2) + 1]) == 1) {
trace("Fail option is to try again");
_root.framex.tryAgainButton._visible = true;
_root.framex.tryAgainButton.enabled = true;
return(true);
}
if (parseInt(_global.failList[((f - 1) * 2) + 1]) == 2) {
trace("Fail option is to continue");
_root.framex.continueButton._visible = true;
_root.framex.continueButton.enabled = true;
return(true);
}
if (parseInt(_global.failList[((f - 1) * 2) + 1]) == 3) {
trace("Fail option is to jump to fail frame");
_root.gotoAndPlay(_global.failFrameName);
return(true);
}
return(true);
}
};
_global.isLivesPowered = false;
_global.livesCount = 3;
_global.currentQuestion = 1;
_global.setFrameName = "fitness_sexhad";
_global.failFrameName = "fitness_inside";
_global.successFrameName = "fitness_inside";
_global.modframe(_global.currentQuestion, 0);
stop();
Frame 14
function outputQuestion() {
id11211 = setInterval(showNextSymbol, interval, _global.s);
}
function showNextSymbol() {
if (_global.s.charAt(_global.pointer) == "") {
clearInterval(id11211);
} else {
_root.framex.qtext.text = _root.framex.qtext.text + _global.s.charAt(_global.pointer);
_global.pointer++;
}
}
_global.waitTime();
_global.questionList = new Array("Hello Mr. Smith", "0", "I'm fine thanks. We have a new customer. Do you want to talk to him in the conference room?", "0");
_global.failList = new Array("Curmudgeon!!", "1", "You are crazy! You should talk to him!", "3");
_global.answerList = new Array("Hi Kylie, how are you?", "Hi Kylie, why are you wearing such a long skirt today?", "Hi Kylie, can I get a blowjob?", "1", "Yes.", "No, I\u2019m too busy.", "No, not today.", "1");
_global.pointer = 0;
_global.s = "";
var id11211;
var done = false;
var interval = 30;
_global.rightDo = function (a) {
trace("Right!");
_global.currentQuestion++;
if (_global.currentQuestion > (_global.questionList.length / 2)) {
trace("That is all for this Question Set");
_root.gotoAndPlay(_global.successFrameName);
return(true);
}
_global.modframe(_global.currentQuestion, 0);
return(true);
};
_global.wrongDo = function (a) {
if (_global.isLivesPowered) {
_global.livesCount--;
if (_global.livesCount >= 0) {
_root.framex.livesBar.livesCounter.text = _global.livesCount + "/3";
} else {
_root.framex.livesBar.livesCounter.text = "0/3";
}
trace(("###### YOU HAVE " + _global.livesCount) + " LIFES LEFT");
if (_global.livesCount == 2) {
_root.framex.livesBar.gotoAndPlay(2);
}
if (_global.livesCount == 1) {
_root.framex.livesBar.gotoAndPlay(15);
}
if (_global.livesCount == 0) {
_root.framex.livesBar.gotoAndPlay(30);
}
if (_global.livesCount < 0) {
trace("### False! You failed this set!");
_root.gotoAndPlay(_global.failFrameName);
}
_global.modframe(0, _global.currentQuestion);
} else {
_global.modframe(0, _global.currentQuestion);
}
trace("False!");
};
_global.qcheck = function (a) {
if (_global.rans == a) {
switch (a) {
case 1 :
_root.framex.a1but.gotoAndPlay(2);
break;
case 2 :
_root.framex.a2but.gotoAndPlay(2);
break;
case 3 :
_root.framex.a3but.gotoAndPlay(2);
break;
default :
trace("Error : Check button and right answer naming...");
}
} else {
switch (a) {
case 1 :
_root.framex.a1but.gotoAndPlay(10);
break;
case 2 :
_root.framex.a2but.gotoAndPlay(10);
break;
case 3 :
_root.framex.a3but.gotoAndPlay(10);
break;
default :
trace("Error : Check button and right answer naming...");
}
}
};
_global.leaveCheck = function () {
trace("Leaving Question Set");
_root.gotoAndPlay(_global.failFrameName);
};
_global.tryAgainCheck = function () {
trace("Starting again this Question Set");
_global.modframe(_global.currentQuestion, 0);
};
_global.continueCheck = function () {
trace("Next Question from this Set");
_global.currentQuestion++;
if (_global.currentQuestion > (_global.questionList.length / 2)) {
trace("That is all for this Question Set");
_root.gotoAndPlay(_global.successFrameName);
return(true);
}
_global.modframe(_global.currentQuestion, 0);
return(true);
};
_global.modframe = function (q, f) {
_root.framex.unfadex.gotoAndPlay(1);
if (_global.isLivesPowered) {
_root.framex.livesBar._visible = true;
}
_root.framex.happyChick._visible = false;
_root.framex.unhappyChick._visible = false;
_root.framex.leaveButton._visible = false;
_root.framex.leaveButton.enabled = false;
_root.framex.tryAgainButton._visible = false;
_root.framex.tryAgainButton.enabled = false;
_root.framex.continueButton._visible = false;
_root.framex.continueButton.enabled = false;
_root.framex.a1but._visible = false;
_root.framex.a1but.enabled = false;
_root.framex.a2but._visible = false;
_root.framex.a1but.enabled = false;
_root.framex.a3but._visible = false;
_root.framex.a1but.enabled = false;
trace("In modframe function");
if (((q == 0) && (f == 0)) || ((q != 0) && (f != 0))) {
trace("Error: Check modframe function parameters");
return(false);
}
if (((q < 0) || (q > (_global.questionList.length / 2))) || ((f < 0) || (f > (_global.failList.length / 2)))) {
trace("Error: Check question or fail index !");
return(false);
}
if ((q != 0) && (f == 0)) {
_root.framex.unhappyChick._visible = false;
_root.framex.happyChick._visible = true;
trace("Question text: " + _global.questionList[(q - 1) * 2]);
trace("Right Answer : " + _global.answerList[((q - 1) * 4) + 3]);
trace("Answer 1 text: " + _global.answerList[(q - 1) * 4]);
trace("Answer 2 text: " + _global.answerList[((q - 1) * 4) + 1]);
trace("Answer 3 text: " + _global.answerList[((q - 1) * 4) + 2]);
if ((parseInt(_global.questionList[((q - 1) * 2) + 1]) < 0) && (parseInt(_global.questionList[((q - 1) * 2) + 1]) > 1)) {
trace("Error: Check Question option at No " + q);
return(false);
}
if (parseInt(_global.questionList[((q - 1) * 2) + 1]) == 0) {
trace("Question is with answers");
_root.framex.a1but._visible = true;
_root.framex.a1but.enabled = true;
_root.framex.a2but._visible = true;
_root.framex.a1but.enabled = true;
_root.framex.a3but._visible = true;
_root.framex.a1but.enabled = true;
if ((parseInt(_global.answerList[((q - 1) * 4) + 3]) < 1) || (parseInt(_global.answerList[((q - 1) * 4) + 3]) > 3)) {
trace("Error: Check right answer index at Question " + q);
return(false);
}
ransInt = parseInt(_global.answerList[((q - 1) * 4) + 3]);
_global.pointer = 0;
_root.framex.qtext.text = "";
_global.s = _global.questionList[(q - 1) * 2];
outputQuestion();
ransIndex = random(3) + 1;
_global.rans = ransIndex;
trace((("Random Answer is " + ransIndex) + " and index form array is ") + ransInt);
answers = new Array(_global.answerList[(q - 1) * 4], _global.answerList[((q - 1) * 4) + 1], _global.answerList[((q - 1) * 4) + 2]);
i = 0;
if (ransIndex > ransInt) {
while (i < (ransIndex - ransInt)) {
answers.unshift(answers.pop());
i++;
}
}
if (ransIndex < ransInt) {
while (i < (ransInt - ransIndex)) {
answers.push(answers.shift());
i++;
}
}
_root.framex.a1but.a1text.text = answers[0];
_root.framex.a2but.a2text.text = answers[1];
_root.framex.a3but.a3text.text = answers[2];
return(true);
}
if (parseInt(_global.questionList[((q - 1) * 2) + 1]) == 1) {
trace("Question is with continue button");
_global.pointer = 0;
_root.framex.qtext.text = "";
_global.s = _global.questionList[(q - 1) * 2];
outputQuestion();
_root.framex.continueButton._visible = true;
_root.framex.continueButton.enabled = true;
return(true);
}
return(true);
}
if ((q == 0) && (f != 0)) {
if (parseInt(_global.failList[((f - 1) * 2) + 1]) == 3) {
trace("Fail option is to jump to fail frame");
_root.gotoAndPlay(_global.failFrameName);
return(true);
}
trace((("###Fail phrase No " + f) + " is ") + _global.failList[(f - 1) * 2]);
trace("###Array No for that Fail phrase is " + ((f - 1) * 2));
_root.framex.tryAgainButton._visible = false;
_root.framex.tryAgainButton.enabled = false;
_root.framex.continueButton._visible = false;
_root.framex.continueButton.enabled = false;
_root.framex.happyChick._visible = false;
_root.framex.unhappyChick._visible = true;
trace("In F block");
_global.pointer = 0;
_root.framex.qtext.text = "";
_global.s = _global.failList[(f - 1) * 2];
outputQuestion();
if ((parseInt(_global.failList[((f - 1) * 2) + 1]) < 0) && (parseInt(_global.failList[((f - 1) * 2) + 1]) > 2)) {
trace("Error: Check Fail option at Fail phrase No " + f);
return(false);
}
if (parseInt(_global.failList[((f - 1) * 2) + 1]) == 0) {
trace("Fail option is to leave");
_root.framex.leaveButton._visible = true;
_root.framex.leaveButton.enabled = true;
return(true);
}
if (parseInt(_global.failList[((f - 1) * 2) + 1]) == 1) {
trace("Fail option is to try again");
_root.framex.tryAgainButton._visible = true;
_root.framex.tryAgainButton.enabled = true;
return(true);
}
if (parseInt(_global.failList[((f - 1) * 2) + 1]) == 2) {
trace("Fail option is to continue");
_root.framex.continueButton._visible = true;
_root.framex.continueButton.enabled = true;
return(true);
}
return(true);
}
};
_global.isLivesPowered = false;
_global.livesCount = 3;
_global.currentQuestion = 1;
_global.setFrameName = "office_dialogue0start";
_global.failFrameName = "office_dialogue0briefing";
_global.successFrameName = "office_dialogue0visitor";
_global.modframe(_global.currentQuestion, 0);
stop();
Frame 15
function outputQuestion() {
id11211 = setInterval(showNextSymbol, interval, _global.s);
}
function showNextSymbol() {
if (_global.s.charAt(_global.pointer) == "") {
clearInterval(id11211);
} else {
_root.framex.qtext.text = _root.framex.qtext.text + _global.s.charAt(_global.pointer);
_global.pointer++;
}
}
_global.waitTime();
_global.questionList = new Array("Hello Mr. Smith", "0", "Hallivan, my name is Hallivan", "0", "Yes, of course, Mr. Smith. I'm going on a business trip for a month. I doubt that my wife will be faithful to me all that time.", "0", "Follow her and get me proof of her infidelity.", "0", "Yes, of course, Mr. Smith. You need a down payment?", "0");
_global.failList = new Array("Fuck you!", "1", "No! Idiot!", "1", "No! Idiot!", "1", "Go fuck a goat!", "1", "Brainless jerk!", "3");
_global.answerList = new Array("Hello, Mr. ...", "Hello Mr Moneybags.", "Hey dude.", "1", "Very good. Mr. Hallivan. Let's get down to business.", "Apparently you should divorce your wife.", "Apparently your wife fucks everything that moves.", "1", "What do you want from me?", "You want me to sleep with her?", "You want me to shoot the bitch?", "1", "I know what to do. You know our prices?", "I\u2019m too busy, I have to cancel.", "It will cost you $5 Million.", "1", "Yes, I need an advance to get started on your case.", "No thanks, we will bill you the entire amount.", "No thanks. We work without advances.", "1");
_global.pointer = 0;
_global.s = "";
var id11211;
var done = false;
var interval = 30;
_global.rightDo = function (a) {
trace("Right!");
_global.currentQuestion++;
if (_global.currentQuestion > (_global.questionList.length / 2)) {
trace("That is all for this Question Set");
_root.gotoAndPlay(_global.successFrameName);
trace("#We are going to " + _global.successFrameName);
return(true);
}
_global.modframe(_global.currentQuestion, 0);
return(true);
};
_global.wrongDo = function (a) {
if (_global.isLivesPowered) {
_global.livesCount--;
if (_global.livesCount >= 0) {
_root.framex.livesBar.livesCounter.text = _global.livesCount + "/3";
} else {
_root.framex.livesBar.livesCounter.text = "0/3";
}
trace(("###### YOU HAVE " + _global.livesCount) + " LIFES LEFT");
if (_global.livesCount == 2) {
_root.framex.livesBar.gotoAndPlay(2);
}
if (_global.livesCount == 1) {
_root.framex.livesBar.gotoAndPlay(15);
}
if (_global.livesCount == 0) {
_root.framex.livesBar.gotoAndPlay(30);
}
if (_global.livesCount < 0) {
trace("### False! You failed this set!");
_root.gotoAndPlay(_global.failFrameName);
}
_global.modframe(0, _global.currentQuestion);
} else {
_global.modframe(0, _global.currentQuestion);
}
trace("False!");
};
_global.qcheck = function (a) {
if (_global.rans == a) {
switch (a) {
case 1 :
_root.framex.a1but.gotoAndPlay(2);
break;
case 2 :
_root.framex.a2but.gotoAndPlay(2);
break;
case 3 :
_root.framex.a3but.gotoAndPlay(2);
break;
default :
trace("Error : Check button and right answer naming...");
}
} else {
switch (a) {
case 1 :
_root.framex.a1but.gotoAndPlay(10);
break;
case 2 :
_root.framex.a2but.gotoAndPlay(10);
break;
case 3 :
_root.framex.a3but.gotoAndPlay(10);
break;
default :
trace("Error : Check button and right answer naming...");
}
}
};
_global.leaveCheck = function () {
trace("Leaving Question Set");
_root.gotoAndPlay(_global.failFrameName);
};
_global.tryAgainCheck = function () {
trace("Starting again this Question Set");
_global.modframe(_global.currentQuestion, 0);
};
_global.continueCheck = function () {
trace("Next Question from this Set");
_global.currentQuestion++;
if (_global.currentQuestion > (_global.questionList.length / 2)) {
trace("That is all for this Question Set");
_root.gotoAndPlay(_global.successFrameName);
return(true);
}
_global.modframe(_global.currentQuestion, 0);
return(true);
};
_global.modframe = function (q, f) {
_root.framex.unfadex.gotoAndPlay(1);
if (_global.isLivesPowered) {
_root.framex.livesBar._visible = true;
}
_root.framex.happyChick._visible = false;
_root.framex.unhappyChick._visible = false;
_root.framex.leaveButton._visible = false;
_root.framex.leaveButton.enabled = false;
_root.framex.tryAgainButton._visible = false;
_root.framex.tryAgainButton.enabled = false;
_root.framex.continueButton._visible = false;
_root.framex.continueButton.enabled = false;
_root.framex.a1but._visible = false;
_root.framex.a1but.enabled = false;
_root.framex.a2but._visible = false;
_root.framex.a1but.enabled = false;
_root.framex.a3but._visible = false;
_root.framex.a1but.enabled = false;
trace("In modframe function");
if (((q == 0) && (f == 0)) || ((q != 0) && (f != 0))) {
trace("Error: Check modframe function parameters");
return(false);
}
if (((q < 0) || (q > (_global.questionList.length / 2))) || ((f < 0) || (f > (_global.failList.length / 2)))) {
trace("Error: Check question or fail index !");
return(false);
}
if ((q != 0) && (f == 0)) {
_root.framex.unhappyChick._visible = false;
_root.framex.happyChick._visible = true;
trace("Question text: " + _global.questionList[(q - 1) * 2]);
trace("Right Answer : " + _global.answerList[((q - 1) * 4) + 3]);
trace("Answer 1 text: " + _global.answerList[(q - 1) * 4]);
trace("Answer 2 text: " + _global.answerList[((q - 1) * 4) + 1]);
trace("Answer 3 text: " + _global.answerList[((q - 1) * 4) + 2]);
if ((parseInt(_global.questionList[((q - 1) * 2) + 1]) < 0) && (parseInt(_global.questionList[((q - 1) * 2) + 1]) > 1)) {
trace("Error: Check Question option at No " + q);
return(false);
}
if (parseInt(_global.questionList[((q - 1) * 2) + 1]) == 0) {
trace("Question is with answers");
_root.framex.a1but._visible = true;
_root.framex.a1but.enabled = true;
_root.framex.a2but._visible = true;
_root.framex.a1but.enabled = true;
_root.framex.a3but._visible = true;
_root.framex.a1but.enabled = true;
if ((parseInt(_global.answerList[((q - 1) * 4) + 3]) < 1) || (parseInt(_global.answerList[((q - 1) * 4) + 3]) > 3)) {
trace("Error: Check right answer index at Question " + q);
return(false);
}
ransInt = parseInt(_global.answerList[((q - 1) * 4) + 3]);
_global.pointer = 0;
_root.framex.qtext.text = "";
_global.s = _global.questionList[(q - 1) * 2];
outputQuestion();
ransIndex = random(3) + 1;
_global.rans = ransIndex;
trace((("Random Answer is " + ransIndex) + " and index form array is ") + ransInt);
answers = new Array(_global.answerList[(q - 1) * 4], _global.answerList[((q - 1) * 4) + 1], _global.answerList[((q - 1) * 4) + 2]);
i = 0;
if (ransIndex > ransInt) {
while (i < (ransIndex - ransInt)) {
answers.unshift(answers.pop());
i++;
}
}
if (ransIndex < ransInt) {
while (i < (ransInt - ransIndex)) {
answers.push(answers.shift());
i++;
}
}
_root.framex.a1but.a1text.text = answers[0];
_root.framex.a2but.a2text.text = answers[1];
_root.framex.a3but.a3text.text = answers[2];
return(true);
}
if (parseInt(_global.questionList[((q - 1) * 2) + 1]) == 1) {
trace("Question is with continue button");
_global.pointer = 0;
_root.framex.qtext.text = "";
_global.s = _global.questionList[(q - 1) * 2];
outputQuestion();
_root.framex.continueButton._visible = true;
_root.framex.continueButton.enabled = true;
return(true);
}
return(true);
}
if ((q == 0) && (f != 0)) {
if (parseInt(_global.failList[((f - 1) * 2) + 1]) == 3) {
trace("Fail option is to jump to fail frame");
_root.gotoAndPlay(_global.failFrameName);
return(true);
}
trace((("###Fail phrase No " + f) + " is ") + _global.failList[(f - 1) * 2]);
trace("###Array No for that Fail phrase is " + ((f - 1) * 2));
_root.framex.tryAgainButton._visible = false;
_root.framex.tryAgainButton.enabled = false;
_root.framex.continueButton._visible = false;
_root.framex.continueButton.enabled = false;
_root.framex.happyChick._visible = false;
_root.framex.unhappyChick._visible = true;
trace("In F block");
_global.pointer = 0;
_root.framex.qtext.text = "";
_global.s = _global.failList[(f - 1) * 2];
outputQuestion();
if ((parseInt(_global.failList[((f - 1) * 2) + 1]) < 0) && (parseInt(_global.failList[((f - 1) * 2) + 1]) > 2)) {
trace("Error: Check Fail option at Fail phrase No " + f);
return(false);
}
if (parseInt(_global.failList[((f - 1) * 2) + 1]) == 0) {
trace("Fail option is to leave");
_root.framex.leaveButton._visible = true;
_root.framex.leaveButton.enabled = true;
return(true);
}
if (parseInt(_global.failList[((f - 1) * 2) + 1]) == 1) {
trace("Fail option is to try again");
_root.framex.tryAgainButton._visible = true;
_root.framex.tryAgainButton.enabled = true;
return(true);
}
if (parseInt(_global.failList[((f - 1) * 2) + 1]) == 2) {
trace("Fail option is to continue");
_root.framex.continueButton._visible = true;
_root.framex.continueButton.enabled = true;
return(true);
}
return(true);
}
};
_global.isLivesPowered = false;
_global.livesCount = 3;
_global.currentQuestion = 1;
_global.setFrameName = "office_dialogue0visitor";
_global.failFrameName = "office_dialogue0visitorNA";
_global.successFrameName = "office_dialogue0visitorA";
_global.modframe(_global.currentQuestion, 0);
stop();
Frame 16
function outputQuestion() {
id11211 = setInterval(showNextSymbol, interval, _global.s);
}
function showNextSymbol() {
if (_global.s.charAt(_global.pointer) == "") {
clearInterval(id11211);
} else {
_root.framex.qtext.text = _root.framex.qtext.text + _global.s.charAt(_global.pointer);
_global.pointer++;
}
}
_global.waitTime();
_global.prepayment = true;
_global.questionList = new Array("OK, I understand, you need spending money. I'll leave an advance to your secretary. Goodbye Mr. Smith.", "1");
_global.failList = new Array("Brainless jerk!", "1");
_global.answerList = new Array("Yes.", "No.", "No, really", "1");
_global.pointer = 0;
_global.s = "";
var id11211;
var done = false;
var interval = 30;
_global.rightDo = function (a) {
trace("Right!");
_global.currentQuestion++;
if (_global.currentQuestion > (_global.questionList.length / 2)) {
trace("That is all for this Question Set");
_root.gotoAndPlay(_global.successFrameName);
trace("#We are going to " + _global.successFrameName);
return(true);
}
_global.modframe(_global.currentQuestion, 0);
return(true);
};
_global.wrongDo = function (a) {
if (_global.isLivesPowered) {
_global.livesCount--;
if (_global.livesCount >= 0) {
_root.framex.livesBar.livesCounter.text = _global.livesCount + "/3";
} else {
_root.framex.livesBar.livesCounter.text = "0/3";
}
trace(("###### YOU HAVE " + _global.livesCount) + " LIFES LEFT");
if (_global.livesCount == 2) {
_root.framex.livesBar.gotoAndPlay(2);
}
if (_global.livesCount == 1) {
_root.framex.livesBar.gotoAndPlay(15);
}
if (_global.livesCount == 0) {
_root.framex.livesBar.gotoAndPlay(30);
}
if (_global.livesCount < 0) {
trace("### False! You failed this set!");
_root.gotoAndPlay(_global.failFrameName);
}
_global.modframe(0, _global.currentQuestion);
} else {
_global.modframe(0, _global.currentQuestion);
}
trace("False!");
};
_global.qcheck = function (a) {
if (_global.rans == a) {
switch (a) {
case 1 :
_root.framex.a1but.gotoAndPlay(2);
break;
case 2 :
_root.framex.a2but.gotoAndPlay(2);
break;
case 3 :
_root.framex.a3but.gotoAndPlay(2);
break;
default :
trace("Error : Check button and right answer naming...");
}
} else {
switch (a) {
case 1 :
_root.framex.a1but.gotoAndPlay(10);
break;
case 2 :
_root.framex.a2but.gotoAndPlay(10);
break;
case 3 :
_root.framex.a3but.gotoAndPlay(10);
break;
default :
trace("Error : Check button and right answer naming...");
}
}
};
_global.leaveCheck = function () {
trace("Leaving Question Set");
_root.gotoAndPlay(_global.failFrameName);
};
_global.tryAgainCheck = function () {
trace("Starting again this Question Set");
_global.modframe(_global.currentQuestion, 0);
};
_global.continueCheck = function () {
trace("Next Question from this Set");
_global.currentQuestion++;
if (_global.currentQuestion > (_global.questionList.length / 2)) {
trace("That is all for this Question Set");
_root.gotoAndPlay(_global.successFrameName);
return(true);
}
_global.modframe(_global.currentQuestion, 0);
return(true);
};
_global.modframe = function (q, f) {
_root.framex.unfadex.gotoAndPlay(1);
if (_global.isLivesPowered) {
_root.framex.livesBar._visible = true;
}
_root.framex.happyChick._visible = false;
_root.framex.unhappyChick._visible = false;
_root.framex.leaveButton._visible = false;
_root.framex.leaveButton.enabled = false;
_root.framex.tryAgainButton._visible = false;
_root.framex.tryAgainButton.enabled = false;
_root.framex.continueButton._visible = false;
_root.framex.continueButton.enabled = false;
_root.framex.a1but._visible = false;
_root.framex.a1but.enabled = false;
_root.framex.a2but._visible = false;
_root.framex.a1but.enabled = false;
_root.framex.a3but._visible = false;
_root.framex.a1but.enabled = false;
trace("In modframe function");
if (((q == 0) && (f == 0)) || ((q != 0) && (f != 0))) {
trace("Error: Check modframe function parameters");
return(false);
}
if (((q < 0) || (q > (_global.questionList.length / 2))) || ((f < 0) || (f > (_global.failList.length / 2)))) {
trace("Error: Check question or fail index !");
return(false);
}
if ((q != 0) && (f == 0)) {
_root.framex.unhappyChick._visible = false;
_root.framex.happyChick._visible = true;
trace("Question text: " + _global.questionList[(q - 1) * 2]);
trace("Right Answer : " + _global.answerList[((q - 1) * 4) + 3]);
trace("Answer 1 text: " + _global.answerList[(q - 1) * 4]);
trace("Answer 2 text: " + _global.answerList[((q - 1) * 4) + 1]);
trace("Answer 3 text: " + _global.answerList[((q - 1) * 4) + 2]);
if ((parseInt(_global.questionList[((q - 1) * 2) + 1]) < 0) && (parseInt(_global.questionList[((q - 1) * 2) + 1]) > 1)) {
trace("Error: Check Question option at No " + q);
return(false);
}
if (parseInt(_global.questionList[((q - 1) * 2) + 1]) == 0) {
trace("Question is with answers");
_root.framex.a1but._visible = true;
_root.framex.a1but.enabled = true;
_root.framex.a2but._visible = true;
_root.framex.a1but.enabled = true;
_root.framex.a3but._visible = true;
_root.framex.a1but.enabled = true;
if ((parseInt(_global.answerList[((q - 1) * 4) + 3]) < 1) || (parseInt(_global.answerList[((q - 1) * 4) + 3]) > 3)) {
trace("Error: Check right answer index at Question " + q);
return(false);
}
ransInt = parseInt(_global.answerList[((q - 1) * 4) + 3]);
_global.pointer = 0;
_root.framex.qtext.text = "";
_global.s = _global.questionList[(q - 1) * 2];
outputQuestion();
ransIndex = random(3) + 1;
_global.rans = ransIndex;
trace((("Random Answer is " + ransIndex) + " and index form array is ") + ransInt);
answers = new Array(_global.answerList[(q - 1) * 4], _global.answerList[((q - 1) * 4) + 1], _global.answerList[((q - 1) * 4) + 2]);
i = 0;
if (ransIndex > ransInt) {
while (i < (ransIndex - ransInt)) {
answers.unshift(answers.pop());
i++;
}
}
if (ransIndex < ransInt) {
while (i < (ransInt - ransIndex)) {
answers.push(answers.shift());
i++;
}
}
_root.framex.a1but.a1text.text = answers[0];
_root.framex.a2but.a2text.text = answers[1];
_root.framex.a3but.a3text.text = answers[2];
return(true);
}
if (parseInt(_global.questionList[((q - 1) * 2) + 1]) == 1) {
trace("Question is with continue button");
_global.pointer = 0;
_root.framex.qtext.text = "";
_global.s = _global.questionList[(q - 1) * 2];
outputQuestion();
_root.framex.continueButton._visible = true;
_root.framex.continueButton.enabled = true;
return(true);
}
return(true);
}
if ((q == 0) && (f != 0)) {
if (parseInt(_global.failList[((f - 1) * 2) + 1]) == 3) {
trace("Fail option is to jump to fail frame");
_root.gotoAndPlay(_global.failFrameName);
return(true);
}
trace((("###Fail phrase No " + f) + " is ") + _global.failList[(f - 1) * 2]);
trace("###Array No for that Fail phrase is " + ((f - 1) * 2));
_root.framex.tryAgainButton._visible = false;
_root.framex.tryAgainButton.enabled = false;
_root.framex.continueButton._visible = false;
_root.framex.continueButton.enabled = false;
_root.framex.happyChick._visible = false;
_root.framex.unhappyChick._visible = true;
trace("In F block");
_global.pointer = 0;
_root.framex.qtext.text = "";
_global.s = _global.failList[(f - 1) * 2];
outputQuestion();
if ((parseInt(_global.failList[((f - 1) * 2) + 1]) < 0) && (parseInt(_global.failList[((f - 1) * 2) + 1]) > 2)) {
trace("Error: Check Fail option at Fail phrase No " + f);
return(false);
}
if (parseInt(_global.failList[((f - 1) * 2) + 1]) == 0) {
trace("Fail option is to leave");
_root.framex.leaveButton._visible = true;
_root.framex.leaveButton.enabled = true;
return(true);
}
if (parseInt(_global.failList[((f - 1) * 2) + 1]) == 1) {
trace("Fail option is to try again");
_root.framex.tryAgainButton._visible = true;
_root.framex.tryAgainButton.enabled = true;
return(true);
}
if (parseInt(_global.failList[((f - 1) * 2) + 1]) == 2) {
trace("Fail option is to continue");
_root.framex.continueButton._visible = true;
_root.framex.continueButton.enabled = true;
return(true);
}
return(true);
}
};
_global.isLivesPowered = false;
_global.livesCount = 3;
_global.currentQuestion = 1;
_global.setFrameName = "office_dialogue0visitorA";
_global.failFrameName = "office_dialogue0briefing";
_global.successFrameName = "office_dialogue0briefing";
_global.modframe(_global.currentQuestion, 0);
stop();
Frame 17
function outputQuestion() {
id11211 = setInterval(showNextSymbol, interval, _global.s);
}
function showNextSymbol() {
if (_global.s.charAt(_global.pointer) == "") {
clearInterval(id11211);
} else {
_root.framex.qtext.text = _root.framex.qtext.text + _global.s.charAt(_global.pointer);
_global.pointer++;
}
}
_global.waitTime();
_global.questionList = new Array("Thank you, Mr. Smith, I hope you don\u2019t let me down. Goodbye.", "1");
_global.failList = new Array("Brainless jerk!", "1");
_global.answerList = new Array("Yes.", "No.", "No, really", "1");
_global.pointer = 0;
_global.s = "";
var id11211;
var done = false;
var interval = 30;
_global.rightDo = function (a) {
trace("Right!");
_global.currentQuestion++;
if (_global.currentQuestion > (_global.questionList.length / 2)) {
trace("That is all for this Question Set");
_root.gotoAndPlay(_global.successFrameName);
trace("#We are going to " + _global.successFrameName);
return(true);
}
_global.modframe(_global.currentQuestion, 0);
return(true);
};
_global.wrongDo = function (a) {
if (_global.isLivesPowered) {
_global.livesCount--;
if (_global.livesCount >= 0) {
_root.framex.livesBar.livesCounter.text = _global.livesCount + "/3";
} else {
_root.framex.livesBar.livesCounter.text = "0/3";
}
trace(("###### YOU HAVE " + _global.livesCount) + " LIFES LEFT");
if (_global.livesCount == 2) {
_root.framex.livesBar.gotoAndPlay(2);
}
if (_global.livesCount == 1) {
_root.framex.livesBar.gotoAndPlay(15);
}
if (_global.livesCount == 0) {
_root.framex.livesBar.gotoAndPlay(30);
}
if (_global.livesCount < 0) {
trace("### False! You failed this set!");
_root.gotoAndPlay(_global.failFrameName);
}
_global.modframe(0, _global.currentQuestion);
} else {
_global.modframe(0, _global.currentQuestion);
}
trace("False!");
};
_global.qcheck = function (a) {
if (_global.rans == a) {
switch (a) {
case 1 :
_root.framex.a1but.gotoAndPlay(2);
break;
case 2 :
_root.framex.a2but.gotoAndPlay(2);
break;
case 3 :
_root.framex.a3but.gotoAndPlay(2);
break;
default :
trace("Error : Check button and right answer naming...");
}
} else {
switch (a) {
case 1 :
_root.framex.a1but.gotoAndPlay(10);
break;
case 2 :
_root.framex.a2but.gotoAndPlay(10);
break;
case 3 :
_root.framex.a3but.gotoAndPlay(10);
break;
default :
trace("Error : Check button and right answer naming...");
}
}
};
_global.leaveCheck = function () {
trace("Leaving Question Set");
_root.gotoAndPlay(_global.failFrameName);
};
_global.tryAgainCheck = function () {
trace("Starting again this Question Set");
_global.modframe(_global.currentQuestion, 0);
};
_global.continueCheck = function () {
trace("Next Question from this Set");
_global.currentQuestion++;
if (_global.currentQuestion > (_global.questionList.length / 2)) {
trace("That is all for this Question Set");
_root.gotoAndPlay(_global.successFrameName);
return(true);
}
_global.modframe(_global.currentQuestion, 0);
return(true);
};
_global.modframe = function (q, f) {
_root.framex.unfadex.gotoAndPlay(1);
if (_global.isLivesPowered) {
_root.framex.livesBar._visible = true;
}
_root.framex.happyChick._visible = false;
_root.framex.unhappyChick._visible = false;
_root.framex.leaveButton._visible = false;
_root.framex.leaveButton.enabled = false;
_root.framex.tryAgainButton._visible = false;
_root.framex.tryAgainButton.enabled = false;
_root.framex.continueButton._visible = false;
_root.framex.continueButton.enabled = false;
_root.framex.a1but._visible = false;
_root.framex.a1but.enabled = false;
_root.framex.a2but._visible = false;
_root.framex.a1but.enabled = false;
_root.framex.a3but._visible = false;
_root.framex.a1but.enabled = false;
trace("In modframe function");
if (((q == 0) && (f == 0)) || ((q != 0) && (f != 0))) {
trace("Error: Check modframe function parameters");
return(false);
}
if (((q < 0) || (q > (_global.questionList.length / 2))) || ((f < 0) || (f > (_global.failList.length / 2)))) {
trace("Error: Check question or fail index !");
return(false);
}
if ((q != 0) && (f == 0)) {
_root.framex.unhappyChick._visible = false;
_root.framex.happyChick._visible = true;
trace("Question text: " + _global.questionList[(q - 1) * 2]);
trace("Right Answer : " + _global.answerList[((q - 1) * 4) + 3]);
trace("Answer 1 text: " + _global.answerList[(q - 1) * 4]);
trace("Answer 2 text: " + _global.answerList[((q - 1) * 4) + 1]);
trace("Answer 3 text: " + _global.answerList[((q - 1) * 4) + 2]);
if ((parseInt(_global.questionList[((q - 1) * 2) + 1]) < 0) && (parseInt(_global.questionList[((q - 1) * 2) + 1]) > 1)) {
trace("Error: Check Question option at No " + q);
return(false);
}
if (parseInt(_global.questionList[((q - 1) * 2) + 1]) == 0) {
trace("Question is with answers");
_root.framex.a1but._visible = true;
_root.framex.a1but.enabled = true;
_root.framex.a2but._visible = true;
_root.framex.a1but.enabled = true;
_root.framex.a3but._visible = true;
_root.framex.a1but.enabled = true;
if ((parseInt(_global.answerList[((q - 1) * 4) + 3]) < 1) || (parseInt(_global.answerList[((q - 1) * 4) + 3]) > 3)) {
trace("Error: Check right answer index at Question " + q);
return(false);
}
ransInt = parseInt(_global.answerList[((q - 1) * 4) + 3]);
_global.pointer = 0;
_root.framex.qtext.text = "";
_global.s = _global.questionList[(q - 1) * 2];
outputQuestion();
ransIndex = random(3) + 1;
_global.rans = ransIndex;
trace((("Random Answer is " + ransIndex) + " and index form array is ") + ransInt);
answers = new Array(_global.answerList[(q - 1) * 4], _global.answerList[((q - 1) * 4) + 1], _global.answerList[((q - 1) * 4) + 2]);
i = 0;
if (ransIndex > ransInt) {
while (i < (ransIndex - ransInt)) {
answers.unshift(answers.pop());
i++;
}
}
if (ransIndex < ransInt) {
while (i < (ransInt - ransIndex)) {
answers.push(answers.shift());
i++;
}
}
_root.framex.a1but.a1text.text = answers[0];
_root.framex.a2but.a2text.text = answers[1];
_root.framex.a3but.a3text.text = answers[2];
return(true);
}
if (parseInt(_global.questionList[((q - 1) * 2) + 1]) == 1) {
trace("Question is with continue button");
_global.pointer = 0;
_root.framex.qtext.text = "";
_global.s = _global.questionList[(q - 1) * 2];
outputQuestion();
_root.framex.continueButton._visible = true;
_root.framex.continueButton.enabled = true;
return(true);
}
return(true);
}
if ((q == 0) && (f != 0)) {
if (parseInt(_global.failList[((f - 1) * 2) + 1]) == 3) {
trace("Fail option is to jump to fail frame");
_root.gotoAndPlay(_global.failFrameName);
return(true);
}
trace((("###Fail phrase No " + f) + " is ") + _global.failList[(f - 1) * 2]);
trace("###Array No for that Fail phrase is " + ((f - 1) * 2));
_root.framex.tryAgainButton._visible = false;
_root.framex.tryAgainButton.enabled = false;
_root.framex.continueButton._visible = false;
_root.framex.continueButton.enabled = false;
_root.framex.happyChick._visible = false;
_root.framex.unhappyChick._visible = true;
trace("In F block");
_global.pointer = 0;
_root.framex.qtext.text = "";
_global.s = _global.failList[(f - 1) * 2];
outputQuestion();
if ((parseInt(_global.failList[((f - 1) * 2) + 1]) < 0) && (parseInt(_global.failList[((f - 1) * 2) + 1]) > 2)) {
trace("Error: Check Fail option at Fail phrase No " + f);
return(false);
}
if (parseInt(_global.failList[((f - 1) * 2) + 1]) == 0) {
trace("Fail option is to leave");
_root.framex.leaveButton._visible = true;
_root.framex.leaveButton.enabled = true;
return(true);
}
if (parseInt(_global.failList[((f - 1) * 2) + 1]) == 1) {
trace("Fail option is to try again");
_root.framex.tryAgainButton._visible = true;
_root.framex.tryAgainButton.enabled = true;
return(true);
}
if (parseInt(_global.failList[((f - 1) * 2) + 1]) == 2) {
trace("Fail option is to continue");
_root.framex.continueButton._visible = true;
_root.framex.continueButton.enabled = true;
return(true);
}
return(true);
}
};
_global.isLivesPowered = false;
_global.livesCount = 3;
_global.currentQuestion = 1;
_global.setFrameName = "office_dialogue0visitorNA";
_global.failFrameName = "office_dialogue0briefing";
_global.successFrameName = "office_dialogue0briefing";
_global.modframe(_global.currentQuestion, 0);
stop();
Frame 18
function outputQuestion() {
id11211 = setInterval(showNextSymbol, interval, _global.s);
}
function showNextSymbol() {
if (_global.s.charAt(_global.pointer) == "") {
clearInterval(id11211);
} else {
_root.framex.qtext.text = _root.framex.qtext.text + _global.s.charAt(_global.pointer);
_global.pointer++;
}
}
_global.waitTime();
_global.questionList = new Array("We have a client who thinks his wife is cheating on him. The client needs proof of this. I noted the location on the map where there\u2019s a fitness club which is used by the client\u2019s wife. The client left his and his wife\u2019s phone numbers.", "0", "I know, but I would work even better if I had a new, expensive pen.", "1");
_global.failList = new Array("Do it yourself John! ", "1", "Do it yourself John! ", "1");
_global.answerList = new Array("Kylie, baby, you're the best!", "Kylie, baby, you\u2019re beautiful. Now get me a coffee!", "Kylie, baby, you\u2019re beautiful. Now give me a blowjob!", "1", "Yes.", "No.", "No, really", "1");
_global.pointer = 0;
_global.s = "";
var id11211;
var done = false;
var interval = 30;
_global.rightDo = function (a) {
trace("Right!");
_global.currentQuestion++;
if (_global.currentQuestion > (_global.questionList.length / 2)) {
trace("That is all for this Question Set");
_root.gotoAndPlay(_global.successFrameName);
return(true);
}
_global.modframe(_global.currentQuestion, 0);
return(true);
};
_global.wrongDo = function (a) {
if (_global.isLivesPowered) {
_global.livesCount--;
if (_global.livesCount >= 0) {
_root.framex.livesBar.livesCounter.text = _global.livesCount + "/3";
} else {
_root.framex.livesBar.livesCounter.text = "0/3";
}
trace(("###### YOU HAVE " + _global.livesCount) + " LIFES LEFT");
if (_global.livesCount == 2) {
_root.framex.livesBar.gotoAndPlay(2);
}
if (_global.livesCount == 1) {
_root.framex.livesBar.gotoAndPlay(15);
}
if (_global.livesCount == 0) {
_root.framex.livesBar.gotoAndPlay(30);
}
if (_global.livesCount < 0) {
trace("### False! You failed this set!");
_root.gotoAndPlay(_global.failFrameName);
}
_global.modframe(0, _global.currentQuestion);
} else {
_global.modframe(0, _global.currentQuestion);
}
trace("False!");
};
_global.qcheck = function (a) {
if (_global.rans == a) {
switch (a) {
case 1 :
_root.framex.a1but.gotoAndPlay(2);
break;
case 2 :
_root.framex.a2but.gotoAndPlay(2);
break;
case 3 :
_root.framex.a3but.gotoAndPlay(2);
break;
default :
trace("Error : Check button and right answer naming...");
}
} else {
switch (a) {
case 1 :
_root.framex.a1but.gotoAndPlay(10);
break;
case 2 :
_root.framex.a2but.gotoAndPlay(10);
break;
case 3 :
_root.framex.a3but.gotoAndPlay(10);
break;
default :
trace("Error : Check button and right answer naming...");
}
}
};
_global.leaveCheck = function () {
trace("Leaving Question Set");
_root.gotoAndPlay(_global.failFrameName);
};
_global.tryAgainCheck = function () {
trace("Starting again this Question Set");
_global.modframe(_global.currentQuestion, 0);
};
_global.continueCheck = function () {
trace("Next Question from this Set");
_global.currentQuestion++;
if (_global.currentQuestion > (_global.questionList.length / 2)) {
trace("That is all for this Question Set");
_root.gotoAndPlay(_global.successFrameName);
return(true);
}
_global.modframe(_global.currentQuestion, 0);
return(true);
};
_global.modframe = function (q, f) {
_root.framex.unfadex.gotoAndPlay(1);
if (_global.isLivesPowered) {
_root.framex.livesBar._visible = true;
}
_root.framex.happyChick._visible = false;
_root.framex.unhappyChick._visible = false;
_root.framex.leaveButton._visible = false;
_root.framex.leaveButton.enabled = false;
_root.framex.tryAgainButton._visible = false;
_root.framex.tryAgainButton.enabled = false;
_root.framex.continueButton._visible = false;
_root.framex.continueButton.enabled = false;
_root.framex.a1but._visible = false;
_root.framex.a1but.enabled = false;
_root.framex.a2but._visible = false;
_root.framex.a1but.enabled = false;
_root.framex.a3but._visible = false;
_root.framex.a1but.enabled = false;
trace("In modframe function");
if (((q == 0) && (f == 0)) || ((q != 0) && (f != 0))) {
trace("Error: Check modframe function parameters");
return(false);
}
if (((q < 0) || (q > (_global.questionList.length / 2))) || ((f < 0) || (f > (_global.failList.length / 2)))) {
trace("Error: Check question or fail index !");
return(false);
}
if ((q != 0) && (f == 0)) {
_root.framex.unhappyChick._visible = false;
_root.framex.happyChick._visible = true;
trace("Question text: " + _global.questionList[(q - 1) * 2]);
trace("Right Answer : " + _global.answerList[((q - 1) * 4) + 3]);
trace("Answer 1 text: " + _global.answerList[(q - 1) * 4]);
trace("Answer 2 text: " + _global.answerList[((q - 1) * 4) + 1]);
trace("Answer 3 text: " + _global.answerList[((q - 1) * 4) + 2]);
if ((parseInt(_global.questionList[((q - 1) * 2) + 1]) < 0) && (parseInt(_global.questionList[((q - 1) * 2) + 1]) > 1)) {
trace("Error: Check Question option at No " + q);
return(false);
}
if (parseInt(_global.questionList[((q - 1) * 2) + 1]) == 0) {
trace("Question is with answers");
_root.framex.a1but._visible = true;
_root.framex.a1but.enabled = true;
_root.framex.a2but._visible = true;
_root.framex.a1but.enabled = true;
_root.framex.a3but._visible = true;
_root.framex.a1but.enabled = true;
if ((parseInt(_global.answerList[((q - 1) * 4) + 3]) < 1) || (parseInt(_global.answerList[((q - 1) * 4) + 3]) > 3)) {
trace("Error: Check right answer index at Question " + q);
return(false);
}
ransInt = parseInt(_global.answerList[((q - 1) * 4) + 3]);
_global.pointer = 0;
_root.framex.qtext.text = "";
_global.s = _global.questionList[(q - 1) * 2];
outputQuestion();
ransIndex = random(3) + 1;
_global.rans = ransIndex;
trace((("Random Answer is " + ransIndex) + " and index form array is ") + ransInt);
answers = new Array(_global.answerList[(q - 1) * 4], _global.answerList[((q - 1) * 4) + 1], _global.answerList[((q - 1) * 4) + 2]);
i = 0;
if (ransIndex > ransInt) {
while (i < (ransIndex - ransInt)) {
answers.unshift(answers.pop());
i++;
}
}
if (ransIndex < ransInt) {
while (i < (ransInt - ransIndex)) {
answers.push(answers.shift());
i++;
}
}
_root.framex.a1but.a1text.text = answers[0];
_root.framex.a2but.a2text.text = answers[1];
_root.framex.a3but.a3text.text = answers[2];
return(true);
}
if (parseInt(_global.questionList[((q - 1) * 2) + 1]) == 1) {
trace("Question is with continue button");
_global.pointer = 0;
_root.framex.qtext.text = "";
_global.s = _global.questionList[(q - 1) * 2];
outputQuestion();
_root.framex.continueButton._visible = true;
_root.framex.continueButton.enabled = true;
return(true);
}
return(true);
}
if ((q == 0) && (f != 0)) {
trace((("###Fail phrase No " + f) + " is ") + _global.failList[(f - 1) * 2]);
trace("###Array No for that Fail phrase is " + ((f - 1) * 2));
_root.framex.tryAgainButton._visible = false;
_root.framex.tryAgainButton.enabled = false;
_root.framex.continueButton._visible = false;
_root.framex.continueButton.enabled = false;
_root.framex.happyChick._visible = false;
_root.framex.unhappyChick._visible = true;
trace("In F block");
_global.pointer = 0;
_root.framex.qtext.text = "";
_global.s = _global.failList[(f - 1) * 2];
outputQuestion();
if ((parseInt(_global.failList[((f - 1) * 2) + 1]) < 0) && (parseInt(_global.failList[((f - 1) * 2) + 1]) > 2)) {
trace("Error: Check Fail option at Fail phrase No " + f);
return(false);
}
if (parseInt(_global.failList[((f - 1) * 2) + 1]) == 0) {
trace("Fail option is to leave");
_root.framex.leaveButton._visible = true;
_root.framex.leaveButton.enabled = true;
return(true);
}
if (parseInt(_global.failList[((f - 1) * 2) + 1]) == 1) {
trace("Fail option is to try again");
_root.framex.tryAgainButton._visible = true;
_root.framex.tryAgainButton.enabled = true;
return(true);
}
if (parseInt(_global.failList[((f - 1) * 2) + 1]) == 2) {
trace("Fail option is to continue");
_root.framex.continueButton._visible = true;
_root.framex.continueButton.enabled = true;
return(true);
}
if (parseInt(_global.failList[((f - 1) * 2) + 1]) == 3) {
trace("Fail option is to jump to fail frame");
_root.gotoAndPlay(_global.failFrameName);
return(true);
}
return(true);
}
};
_global.isLivesPowered = false;
_global.livesCount = 3;
_global.currentQuestion = 1;
_global.setFrameName = "office_dialogue0briefing";
if (_global.prepayment) {
_global.failFrameName = "office_prepayment";
_global.successFrameName = "office_prepayment";
} else {
_global.failFrameName = "office";
_global.successFrameName = "office";
}
_global.modframe(_global.currentQuestion, 0);
stop();
Frame 19
function outputQuestion() {
id11211 = setInterval(showNextSymbol, interval, _global.s);
}
function showNextSymbol() {
if (_global.s.charAt(_global.pointer) == "") {
clearInterval(id11211);
} else {
_root.framex.qtext.text = _root.framex.qtext.text + _global.s.charAt(_global.pointer);
_global.pointer++;
}
}
_global.waitTime();
_global.questionList = new Array("Hi John", "0", "Bad", "0", "Oh John, you're wonderful, I\u2019ve wanted this pen for so long.", "0", "Come to me John. There\u2019s no time for foreplay, I have too much work today.", "1");
_global.failList = new Array("Go fuck yourself.", "1", "Asshole!", "1", "Jerk! ", "1", "You are crazy!", "1");
_global.answerList = new Array("Hi Kylie, how are you?", "Hi Kylie, why are you so angry? You haven't had sex in awhile?", "Hi Kylie, can we have some quick sex under your desk?", "1", "I have a surprise for you.", "I know what will improve your mood. A blowjob.", "I know what will improve your mood. Anal sex in the bathroom.", "1", "Do I deserve a reward?", "Okay, I have to go.", "Okay, I'm too busy to talk to you.", "1", "Yes.", "No.", "No, really", "1");
_global.pointer = 0;
_global.s = "";
var id11211;
var done = false;
var interval = 30;
_global.rightDo = function (a) {
trace("Right!");
_global.currentQuestion++;
if (_global.currentQuestion > (_global.questionList.length / 2)) {
trace("That is all for this Question Set");
_root.gotoAndPlay(_global.successFrameName);
return(true);
}
_global.modframe(_global.currentQuestion, 0);
return(true);
};
_global.wrongDo = function (a) {
if (_global.isLivesPowered) {
_global.livesCount--;
if (_global.livesCount >= 0) {
_root.framex.livesBar.livesCounter.text = _global.livesCount + "/3";
} else {
_root.framex.livesBar.livesCounter.text = "0/3";
}
trace(("###### YOU HAVE " + _global.livesCount) + " LIFES LEFT");
if (_global.livesCount == 2) {
_root.framex.livesBar.gotoAndPlay(2);
}
if (_global.livesCount == 1) {
_root.framex.livesBar.gotoAndPlay(15);
}
if (_global.livesCount == 0) {
_root.framex.livesBar.gotoAndPlay(30);
}
if (_global.livesCount < 0) {
trace("### False! You failed this set!");
_root.gotoAndPlay(_global.failFrameName);
}
_global.modframe(0, _global.currentQuestion);
} else {
_global.modframe(0, _global.currentQuestion);
}
trace("False!");
};
_global.qcheck = function (a) {
if (_global.rans == a) {
switch (a) {
case 1 :
_root.framex.a1but.gotoAndPlay(2);
break;
case 2 :
_root.framex.a2but.gotoAndPlay(2);
break;
case 3 :
_root.framex.a3but.gotoAndPlay(2);
break;
default :
trace("Error : Check button and right answer naming...");
}
} else {
switch (a) {
case 1 :
_root.framex.a1but.gotoAndPlay(10);
break;
case 2 :
_root.framex.a2but.gotoAndPlay(10);
break;
case 3 :
_root.framex.a3but.gotoAndPlay(10);
break;
default :
trace("Error : Check button and right answer naming...");
}
}
};
_global.leaveCheck = function () {
trace("Leaving Question Set");
_root.gotoAndPlay(_global.failFrameName);
};
_global.tryAgainCheck = function () {
trace("Starting again this Question Set");
_global.modframe(_global.currentQuestion, 0);
};
_global.continueCheck = function () {
trace("Next Question from this Set");
_global.currentQuestion++;
if (_global.currentQuestion > (_global.questionList.length / 2)) {
trace("That is all for this Question Set");
_root.gotoAndPlay(_global.successFrameName);
return(true);
}
_global.modframe(_global.currentQuestion, 0);
return(true);
};
_global.modframe = function (q, f) {
_root.framex.unfadex.gotoAndPlay(1);
if (_global.isLivesPowered) {
_root.framex.livesBar._visible = true;
}
_root.framex.happyChick._visible = false;
_root.framex.unhappyChick._visible = false;
_root.framex.leaveButton._visible = false;
_root.framex.leaveButton.enabled = false;
_root.framex.tryAgainButton._visible = false;
_root.framex.tryAgainButton.enabled = false;
_root.framex.continueButton._visible = false;
_root.framex.continueButton.enabled = false;
_root.framex.a1but._visible = false;
_root.framex.a1but.enabled = false;
_root.framex.a2but._visible = false;
_root.framex.a1but.enabled = false;
_root.framex.a3but._visible = false;
_root.framex.a1but.enabled = false;
trace("In modframe function");
if (((q == 0) && (f == 0)) || ((q != 0) && (f != 0))) {
trace("Error: Check modframe function parameters");
return(false);
}
if (((q < 0) || (q > (_global.questionList.length / 2))) || ((f < 0) || (f > (_global.failList.length / 2)))) {
trace("Error: Check question or fail index !");
return(false);
}
if ((q != 0) && (f == 0)) {
_root.framex.unhappyChick._visible = false;
_root.framex.happyChick._visible = true;
trace("Question text: " + _global.questionList[(q - 1) * 2]);
trace("Right Answer : " + _global.answerList[((q - 1) * 4) + 3]);
trace("Answer 1 text: " + _global.answerList[(q - 1) * 4]);
trace("Answer 2 text: " + _global.answerList[((q - 1) * 4) + 1]);
trace("Answer 3 text: " + _global.answerList[((q - 1) * 4) + 2]);
if ((parseInt(_global.questionList[((q - 1) * 2) + 1]) < 0) && (parseInt(_global.questionList[((q - 1) * 2) + 1]) > 1)) {
trace("Error: Check Question option at No " + q);
return(false);
}
if (parseInt(_global.questionList[((q - 1) * 2) + 1]) == 0) {
trace("Question is with answers");
_root.framex.a1but._visible = true;
_root.framex.a1but.enabled = true;
_root.framex.a2but._visible = true;
_root.framex.a1but.enabled = true;
_root.framex.a3but._visible = true;
_root.framex.a1but.enabled = true;
if ((parseInt(_global.answerList[((q - 1) * 4) + 3]) < 1) || (parseInt(_global.answerList[((q - 1) * 4) + 3]) > 3)) {
trace("Error: Check right answer index at Question " + q);
return(false);
}
ransInt = parseInt(_global.answerList[((q - 1) * 4) + 3]);
_global.pointer = 0;
_root.framex.qtext.text = "";
_global.s = _global.questionList[(q - 1) * 2];
outputQuestion();
ransIndex = random(3) + 1;
_global.rans = ransIndex;
trace((("Random Answer is " + ransIndex) + " and index form array is ") + ransInt);
answers = new Array(_global.answerList[(q - 1) * 4], _global.answerList[((q - 1) * 4) + 1], _global.answerList[((q - 1) * 4) + 2]);
i = 0;
if (ransIndex > ransInt) {
while (i < (ransIndex - ransInt)) {
answers.unshift(answers.pop());
i++;
}
}
if (ransIndex < ransInt) {
while (i < (ransInt - ransIndex)) {
answers.push(answers.shift());
i++;
}
}
_root.framex.a1but.a1text.text = answers[0];
_root.framex.a2but.a2text.text = answers[1];
_root.framex.a3but.a3text.text = answers[2];
return(true);
}
if (parseInt(_global.questionList[((q - 1) * 2) + 1]) == 1) {
trace("Question is with continue button");
_global.pointer = 0;
_root.framex.qtext.text = "";
_global.s = _global.questionList[(q - 1) * 2];
outputQuestion();
_root.framex.continueButton._visible = true;
_root.framex.continueButton.enabled = true;
return(true);
}
return(true);
}
if ((q == 0) && (f != 0)) {
trace((("###Fail phrase No " + f) + " is ") + _global.failList[(f - 1) * 2]);
trace("###Array No for that Fail phrase is " + ((f - 1) * 2));
_root.framex.tryAgainButton._visible = false;
_root.framex.tryAgainButton.enabled = false;
_root.framex.continueButton._visible = false;
_root.framex.continueButton.enabled = false;
_root.framex.happyChick._visible = false;
_root.framex.unhappyChick._visible = true;
trace("In F block");
_global.pointer = 0;
_root.framex.qtext.text = "";
_global.s = _global.failList[(f - 1) * 2];
outputQuestion();
if ((parseInt(_global.failList[((f - 1) * 2) + 1]) < 0) && (parseInt(_global.failList[((f - 1) * 2) + 1]) > 2)) {
trace("Error: Check Fail option at Fail phrase No " + f);
return(false);
}
if (parseInt(_global.failList[((f - 1) * 2) + 1]) == 0) {
trace("Fail option is to leave");
_root.framex.leaveButton._visible = true;
_root.framex.leaveButton.enabled = true;
return(true);
}
if (parseInt(_global.failList[((f - 1) * 2) + 1]) == 1) {
trace("Fail option is to try again");
_root.framex.tryAgainButton._visible = true;
_root.framex.tryAgainButton.enabled = true;
return(true);
}
if (parseInt(_global.failList[((f - 1) * 2) + 1]) == 2) {
trace("Fail option is to continue");
_root.framex.continueButton._visible = true;
_root.framex.continueButton.enabled = true;
return(true);
}
if (parseInt(_global.failList[((f - 1) * 2) + 1]) == 3) {
trace("Fail option is to jump to fail frame");
_root.gotoAndPlay(_global.failFrameName);
return(true);
}
return(true);
}
};
_global.isLivesPowered = false;
_global.livesCount = 3;
_global.currentQuestion = 1;
_global.setFrameName = "office_dialogue1gift";
_global.failFrameName = "office_sex";
_global.successFrameName = "office_sex";
_global.modframe(_global.currentQuestion, 0);
stop();
Frame 20
function outputQuestion() {
id11211 = setInterval(showNextSymbol, interval, _global.s);
}
function showNextSymbol() {
if (_global.s.charAt(_global.pointer) == "") {
clearInterval(id11211);
} else {
_root.framex.qtext.text = _root.framex.qtext.text + _global.s.charAt(_global.pointer);
_global.pointer++;
}
}
_global.waitTime();
_global.questionList = new Array("Hi John", "0", "Bad", "0", "That\u2019s all? I was hoping you would give me an expensive pen.", "1");
_global.failList = new Array("Fuck you.", "1", "Fuck you John!", "1", "Fuck you John!", "1");
_global.answerList = new Array("Hi Kylie, how are you?", "Hi Kylie, why are you so angry? You haven't had sex in awhile?", "Hi Kylie, can we have some quick sex under your desk?", "1", "You look great today.", "Oral sex will lift your spirits!", "Sex will cheer you up!", "1", "Yes.", "No.", "No, really", "1");
_global.pointer = 0;
_global.s = "";
var id11211;
var done = false;
var interval = 30;
_global.rightDo = function (a) {
trace("Right!");
_global.currentQuestion++;
if (_global.currentQuestion > (_global.questionList.length / 2)) {
trace("That is all for this Question Set");
_root.gotoAndPlay(_global.successFrameName);
return(true);
}
_global.modframe(_global.currentQuestion, 0);
return(true);
};
_global.wrongDo = function (a) {
if (_global.isLivesPowered) {
_global.livesCount--;
if (_global.livesCount >= 0) {
_root.framex.livesBar.livesCounter.text = _global.livesCount + "/3";
} else {
_root.framex.livesBar.livesCounter.text = "0/3";
}
trace(("###### YOU HAVE " + _global.livesCount) + " LIFES LEFT");
if (_global.livesCount == 2) {
_root.framex.livesBar.gotoAndPlay(2);
}
if (_global.livesCount == 1) {
_root.framex.livesBar.gotoAndPlay(15);
}
if (_global.livesCount == 0) {
_root.framex.livesBar.gotoAndPlay(30);
}
if (_global.livesCount < 0) {
trace("### False! You failed this set!");
_root.gotoAndPlay(_global.failFrameName);
}
_global.modframe(0, _global.currentQuestion);
} else {
_global.modframe(0, _global.currentQuestion);
}
trace("False!");
};
_global.qcheck = function (a) {
if (_global.rans == a) {
switch (a) {
case 1 :
_root.framex.a1but.gotoAndPlay(2);
break;
case 2 :
_root.framex.a2but.gotoAndPlay(2);
break;
case 3 :
_root.framex.a3but.gotoAndPlay(2);
break;
default :
trace("Error : Check button and right answer naming...");
}
} else {
switch (a) {
case 1 :
_root.framex.a1but.gotoAndPlay(10);
break;
case 2 :
_root.framex.a2but.gotoAndPlay(10);
break;
case 3 :
_root.framex.a3but.gotoAndPlay(10);
break;
default :
trace("Error : Check button and right answer naming...");
}
}
};
_global.leaveCheck = function () {
trace("Leaving Question Set");
_root.gotoAndPlay(_global.failFrameName);
};
_global.tryAgainCheck = function () {
trace("Starting again this Question Set");
_global.modframe(_global.currentQuestion, 0);
};
_global.continueCheck = function () {
trace("Next Question from this Set");
_global.currentQuestion++;
if (_global.currentQuestion > (_global.questionList.length / 2)) {
trace("That is all for this Question Set");
_root.gotoAndPlay(_global.successFrameName);
return(true);
}
_global.modframe(_global.currentQuestion, 0);
return(true);
};
_global.modframe = function (q, f) {
_root.framex.unfadex.gotoAndPlay(1);
if (_global.isLivesPowered) {
_root.framex.livesBar._visible = true;
}
_root.framex.happyChick._visible = false;
_root.framex.unhappyChick._visible = false;
_root.framex.leaveButton._visible = false;
_root.framex.leaveButton.enabled = false;
_root.framex.tryAgainButton._visible = false;
_root.framex.tryAgainButton.enabled = false;
_root.framex.continueButton._visible = false;
_root.framex.continueButton.enabled = false;
_root.framex.a1but._visible = false;
_root.framex.a1but.enabled = false;
_root.framex.a2but._visible = false;
_root.framex.a1but.enabled = false;
_root.framex.a3but._visible = false;
_root.framex.a1but.enabled = false;
trace("In modframe function");
if (((q == 0) && (f == 0)) || ((q != 0) && (f != 0))) {
trace("Error: Check modframe function parameters");
return(false);
}
if (((q < 0) || (q > (_global.questionList.length / 2))) || ((f < 0) || (f > (_global.failList.length / 2)))) {
trace("Error: Check question or fail index !");
return(false);
}
if ((q != 0) && (f == 0)) {
_root.framex.unhappyChick._visible = false;
_root.framex.happyChick._visible = true;
trace("Question text: " + _global.questionList[(q - 1) * 2]);
trace("Right Answer : " + _global.answerList[((q - 1) * 4) + 3]);
trace("Answer 1 text: " + _global.answerList[(q - 1) * 4]);
trace("Answer 2 text: " + _global.answerList[((q - 1) * 4) + 1]);
trace("Answer 3 text: " + _global.answerList[((q - 1) * 4) + 2]);
if ((parseInt(_global.questionList[((q - 1) * 2) + 1]) < 0) && (parseInt(_global.questionList[((q - 1) * 2) + 1]) > 1)) {
trace("Error: Check Question option at No " + q);
return(false);
}
if (parseInt(_global.questionList[((q - 1) * 2) + 1]) == 0) {
trace("Question is with answers");
_root.framex.a1but._visible = true;
_root.framex.a1but.enabled = true;
_root.framex.a2but._visible = true;
_root.framex.a1but.enabled = true;
_root.framex.a3but._visible = true;
_root.framex.a1but.enabled = true;
if ((parseInt(_global.answerList[((q - 1) * 4) + 3]) < 1) || (parseInt(_global.answerList[((q - 1) * 4) + 3]) > 3)) {
trace("Error: Check right answer index at Question " + q);
return(false);
}
ransInt = parseInt(_global.answerList[((q - 1) * 4) + 3]);
_global.pointer = 0;
_root.framex.qtext.text = "";
_global.s = _global.questionList[(q - 1) * 2];
outputQuestion();
ransIndex = random(3) + 1;
_global.rans = ransIndex;
trace((("Random Answer is " + ransIndex) + " and index form array is ") + ransInt);
answers = new Array(_global.answerList[(q - 1) * 4], _global.answerList[((q - 1) * 4) + 1], _global.answerList[((q - 1) * 4) + 2]);
i = 0;
if (ransIndex > ransInt) {
while (i < (ransIndex - ransInt)) {
answers.unshift(answers.pop());
i++;
}
}
if (ransIndex < ransInt) {
while (i < (ransInt - ransIndex)) {
answers.push(answers.shift());
i++;
}
}
_root.framex.a1but.a1text.text = answers[0];
_root.framex.a2but.a2text.text = answers[1];
_root.framex.a3but.a3text.text = answers[2];
return(true);
}
if (parseInt(_global.questionList[((q - 1) * 2) + 1]) == 1) {
trace("Question is with continue button");
_global.pointer = 0;
_root.framex.qtext.text = "";
_global.s = _global.questionList[(q - 1) * 2];
outputQuestion();
_root.framex.continueButton._visible = true;
_root.framex.continueButton.enabled = true;
return(true);
}
return(true);
}
if ((q == 0) && (f != 0)) {
trace((("###Fail phrase No " + f) + " is ") + _global.failList[(f - 1) * 2]);
trace("###Array No for that Fail phrase is " + ((f - 1) * 2));
_root.framex.tryAgainButton._visible = false;
_root.framex.tryAgainButton.enabled = false;
_root.framex.continueButton._visible = false;
_root.framex.continueButton.enabled = false;
_root.framex.happyChick._visible = false;
_root.framex.unhappyChick._visible = true;
trace("In F block");
_global.pointer = 0;
_root.framex.qtext.text = "";
_global.s = _global.failList[(f - 1) * 2];
outputQuestion();
if ((parseInt(_global.failList[((f - 1) * 2) + 1]) < 0) && (parseInt(_global.failList[((f - 1) * 2) + 1]) > 2)) {
trace("Error: Check Fail option at Fail phrase No " + f);
return(false);
}
if (parseInt(_global.failList[((f - 1) * 2) + 1]) == 0) {
trace("Fail option is to leave");
_root.framex.leaveButton._visible = true;
_root.framex.leaveButton.enabled = true;
return(true);
}
if (parseInt(_global.failList[((f - 1) * 2) + 1]) == 1) {
trace("Fail option is to try again");
_root.framex.tryAgainButton._visible = true;
_root.framex.tryAgainButton.enabled = true;
return(true);
}
if (parseInt(_global.failList[((f - 1) * 2) + 1]) == 2) {
trace("Fail option is to continue");
_root.framex.continueButton._visible = true;
_root.framex.continueButton.enabled = true;
return(true);
}
if (parseInt(_global.failList[((f - 1) * 2) + 1]) == 3) {
trace("Fail option is to jump to fail frame");
_root.gotoAndPlay(_global.failFrameName);
return(true);
}
return(true);
}
};
_global.isLivesPowered = false;
_global.livesCount = 3;
_global.currentQuestion = 1;
_global.setFrameName = "office_dialogue1nogift";
_global.failFrameName = "office";
_global.successFrameName = "office";
_global.modframe(_global.currentQuestion, 0);
stop();
Frame 21
function outputQuestion() {
id11211 = setInterval(showNextSymbol, interval, _global.s);
}
function showNextSymbol() {
if (_global.s.charAt(_global.pointer) == "") {
clearInterval(id11211);
} else {
_root.framex.qtext.text = _root.framex.qtext.text + _global.s.charAt(_global.pointer);
_global.pointer++;
}
}
_global.waitTime();
_global.questionList = new Array("Hello Sir! How can I help you?", "0", "My name is Marie.", "0", "We do not disclose information about our customers. Unfortunately, I can\u2019t help you.", "0", "I need a nice watch, and you?", "0", "Maybe we can come to an agreement.", "1");
_global.failList = new Array("Never!", "1", "Sir I am asking you to leave here or I will have to call security.", "1", "Get the fuck out of here!", "1", "You will never be happy.", "1", "You will never be happy.", "1");
_global.answerList = new Array("Hello Miss ...", "Hello. Can we have sex right now?", "Hello. Maybe you and I should have sex in your bathroom?", "1", "Marie, a moment ago there was a man and a woman who entered your hotel. I need to know who it is and how often they visit your hotel.", "What a lovely mouth, can you give me a blowjob?", "Oh, how sexy you are! Let\u2019s have sex?", "1", "Marie, what do you need to be happy?", "Marie, can we just have nasty sex?", "I think we just need to agree on a price.", "1", "I need more information about this couple.", "I need to have monkey sex with you.", "I need your mouth on my penis.", "1", "Yes.", "No.", "No, really", "1");
_global.pointer = 0;
_global.s = "";
var id11211;
var done = false;
var interval = 30;
_global.rightDo = function (a) {
trace("Right!");
_global.currentQuestion++;
if (_global.currentQuestion > (_global.questionList.length / 2)) {
trace("That is all for this Question Set");
_root.gotoAndPlay(_global.successFrameName);
return(true);
}
_global.modframe(_global.currentQuestion, 0);
return(true);
};
_global.wrongDo = function (a) {
if (_global.isLivesPowered) {
_global.livesCount--;
if (_global.livesCount >= 0) {
_root.framex.livesBar.livesCounter.text = _global.livesCount + "/3";
} else {
_root.framex.livesBar.livesCounter.text = "0/3";
}
trace(("###### YOU HAVE " + _global.livesCount) + " LIFES LEFT");
if (_global.livesCount == 2) {
_root.framex.livesBar.gotoAndPlay(2);
}
if (_global.livesCount == 1) {
_root.framex.livesBar.gotoAndPlay(15);
}
if (_global.livesCount == 0) {
_root.framex.livesBar.gotoAndPlay(30);
}
if (_global.livesCount < 0) {
trace("### False! You failed this set!");
_root.gotoAndPlay(_global.failFrameName);
}
_global.modframe(0, _global.currentQuestion);
} else {
_global.modframe(0, _global.currentQuestion);
}
trace("False!");
};
_global.qcheck = function (a) {
if (_global.rans == a) {
switch (a) {
case 1 :
_root.framex.a1but.gotoAndPlay(2);
break;
case 2 :
_root.framex.a2but.gotoAndPlay(2);
break;
case 3 :
_root.framex.a3but.gotoAndPlay(2);
break;
default :
trace("Error : Check button and right answer naming...");
}
} else {
switch (a) {
case 1 :
_root.framex.a1but.gotoAndPlay(10);
break;
case 2 :
_root.framex.a2but.gotoAndPlay(10);
break;
case 3 :
_root.framex.a3but.gotoAndPlay(10);
break;
default :
trace("Error : Check button and right answer naming...");
}
}
};
_global.leaveCheck = function () {
trace("Leaving Question Set");
_root.gotoAndPlay(_global.failFrameName);
};
_global.tryAgainCheck = function () {
trace("Starting again this Question Set");
_global.modframe(_global.currentQuestion, 0);
};
_global.continueCheck = function () {
trace("Next Question from this Set");
_global.currentQuestion++;
if (_global.currentQuestion > (_global.questionList.length / 2)) {
trace("That is all for this Question Set");
_root.gotoAndPlay(_global.successFrameName);
return(true);
}
_global.modframe(_global.currentQuestion, 0);
return(true);
};
_global.modframe = function (q, f) {
_root.framex.unfadex.gotoAndPlay(1);
if (_global.isLivesPowered) {
_root.framex.livesBar._visible = true;
}
_root.framex.happyChick._visible = false;
_root.framex.unhappyChick._visible = false;
_root.framex.leaveButton._visible = false;
_root.framex.leaveButton.enabled = false;
_root.framex.tryAgainButton._visible = false;
_root.framex.tryAgainButton.enabled = false;
_root.framex.continueButton._visible = false;
_root.framex.continueButton.enabled = false;
_root.framex.a1but._visible = false;
_root.framex.a1but.enabled = false;
_root.framex.a2but._visible = false;
_root.framex.a1but.enabled = false;
_root.framex.a3but._visible = false;
_root.framex.a1but.enabled = false;
trace("In modframe function");
if (((q == 0) && (f == 0)) || ((q != 0) && (f != 0))) {
trace("Error: Check modframe function parameters");
return(false);
}
if (((q < 0) || (q > (_global.questionList.length / 2))) || ((f < 0) || (f > (_global.failList.length / 2)))) {
trace("Error: Check question or fail index !");
return(false);
}
if ((q != 0) && (f == 0)) {
_root.framex.unhappyChick._visible = false;
_root.framex.happyChick._visible = true;
trace("Question text: " + _global.questionList[(q - 1) * 2]);
trace("Right Answer : " + _global.answerList[((q - 1) * 4) + 3]);
trace("Answer 1 text: " + _global.answerList[(q - 1) * 4]);
trace("Answer 2 text: " + _global.answerList[((q - 1) * 4) + 1]);
trace("Answer 3 text: " + _global.answerList[((q - 1) * 4) + 2]);
if ((parseInt(_global.questionList[((q - 1) * 2) + 1]) < 0) && (parseInt(_global.questionList[((q - 1) * 2) + 1]) > 1)) {
trace("Error: Check Question option at No " + q);
return(false);
}
if (parseInt(_global.questionList[((q - 1) * 2) + 1]) == 0) {
trace("Question is with answers");
_root.framex.a1but._visible = true;
_root.framex.a1but.enabled = true;
_root.framex.a2but._visible = true;
_root.framex.a1but.enabled = true;
_root.framex.a3but._visible = true;
_root.framex.a1but.enabled = true;
if ((parseInt(_global.answerList[((q - 1) * 4) + 3]) < 1) || (parseInt(_global.answerList[((q - 1) * 4) + 3]) > 3)) {
trace("Error: Check right answer index at Question " + q);
return(false);
}
ransInt = parseInt(_global.answerList[((q - 1) * 4) + 3]);
_global.pointer = 0;
_root.framex.qtext.text = "";
_global.s = _global.questionList[(q - 1) * 2];
outputQuestion();
ransIndex = random(3) + 1;
_global.rans = ransIndex;
trace((("Random Answer is " + ransIndex) + " and index form array is ") + ransInt);
answers = new Array(_global.answerList[(q - 1) * 4], _global.answerList[((q - 1) * 4) + 1], _global.answerList[((q - 1) * 4) + 2]);
i = 0;
if (ransIndex > ransInt) {
while (i < (ransIndex - ransInt)) {
answers.unshift(answers.pop());
i++;
}
}
if (ransIndex < ransInt) {
while (i < (ransInt - ransIndex)) {
answers.push(answers.shift());
i++;
}
}
_root.framex.a1but.a1text.text = answers[0];
_root.framex.a2but.a2text.text = answers[1];
_root.framex.a3but.a3text.text = answers[2];
return(true);
}
if (parseInt(_global.questionList[((q - 1) * 2) + 1]) == 1) {
trace("Question is with continue button");
_global.pointer = 0;
_root.framex.qtext.text = "";
_global.s = _global.questionList[(q - 1) * 2];
outputQuestion();
_root.framex.continueButton._visible = true;
_root.framex.continueButton.enabled = true;
return(true);
}
return(true);
}
if ((q == 0) && (f != 0)) {
trace((("###Fail phrase No " + f) + " is ") + _global.failList[(f - 1) * 2]);
trace("###Array No for that Fail phrase is " + ((f - 1) * 2));
_root.framex.tryAgainButton._visible = false;
_root.framex.tryAgainButton.enabled = false;
_root.framex.continueButton._visible = false;
_root.framex.continueButton.enabled = false;
_root.framex.happyChick._visible = false;
_root.framex.unhappyChick._visible = true;
trace("In F block");
_global.pointer = 0;
_root.framex.qtext.text = "";
_global.s = _global.failList[(f - 1) * 2];
outputQuestion();
if ((parseInt(_global.failList[((f - 1) * 2) + 1]) < 0) && (parseInt(_global.failList[((f - 1) * 2) + 1]) > 2)) {
trace("Error: Check Fail option at Fail phrase No " + f);
return(false);
}
if (parseInt(_global.failList[((f - 1) * 2) + 1]) == 0) {
trace("Fail option is to leave");
_root.framex.leaveButton._visible = true;
_root.framex.leaveButton.enabled = true;
return(true);
}
if (parseInt(_global.failList[((f - 1) * 2) + 1]) == 1) {
trace("Fail option is to try again");
_root.framex.tryAgainButton._visible = true;
_root.framex.tryAgainButton.enabled = true;
return(true);
}
if (parseInt(_global.failList[((f - 1) * 2) + 1]) == 2) {
trace("Fail option is to continue");
_root.framex.continueButton._visible = true;
_root.framex.continueButton.enabled = true;
return(true);
}
if (parseInt(_global.failList[((f - 1) * 2) + 1]) == 3) {
trace("Fail option is to jump to fail frame");
_root.gotoAndPlay(_global.failFrameName);
return(true);
}
return(true);
}
};
_global.isLivesPowered = false;
_global.livesCount = 3;
_global.currentQuestion = 1;
_global.setFrameName = "hotel_dialogue0";
_global.failFrameName = "hotel_inside";
_global.successFrameName = "hotel_inside";
_global.modframe(_global.currentQuestion, 0);
stop();
Frame 22
function outputQuestion() {
id11211 = setInterval(showNextSymbol, interval, _global.s);
}
function showNextSymbol() {
if (_global.s.charAt(_global.pointer) == "") {
clearInterval(id11211);
} else {
_root.framex.qtext.text = _root.framex.qtext.text + _global.s.charAt(_global.pointer);
_global.pointer++;
}
}
_global.waitTime();
_global.questionList = new Array("Hello, again! How can I help you?", "0", "Oh, you know how to make a girl happy!", "0", "Yes. Mrs. Hallivan visits the hotel with a friend at 6pm every Tuesday, Thursday and Friday.", "0", "I will be able to put you in the room next door and I know it has a small hole in the wall.", "0", "Take me stallion!", "1");
_global.failList = new Array("Really? You are such a loser!", "1", "PIG!", "1", "No thanks!", "1", "Bye!", "1", "Bye!", "1");
_global.answerList = new Array("Hello Marie. I hope I can make you happy with this watch!", "Hello Marie. Can I fuck you now?", "Hello Marie. Can you give me a look at those terrific tits?", "1", "Will you help me Marie?", "Anal sex with you would make me happy!", "It would make me happy to come in your mouth!", "1", "Thanks Marie. Now if I just had a way to watch them.", "Thanks Marie, I owe you some serious pussy licking!", "Thanks Marie, I owe you a lot. Here\u2019s 12 inches!", "1", "Marie, you're the best! I will do anything you want.", "Thank you Marie and bye!", "Bye Marie!", "1", "Yes.", "No.", "No, really", "1");
_global.pointer = 0;
_global.s = "";
var id11211;
var done = false;
var interval = 30;
_global.rightDo = function (a) {
trace("Right!");
_global.currentQuestion++;
if (_global.currentQuestion > (_global.questionList.length / 2)) {
trace("That is all for this Question Set");
_root.gotoAndPlay(_global.successFrameName);
return(true);
}
_global.modframe(_global.currentQuestion, 0);
return(true);
};
_global.wrongDo = function (a) {
if (_global.isLivesPowered) {
_global.livesCount--;
if (_global.livesCount >= 0) {
_root.framex.livesBar.livesCounter.text = _global.livesCount + "/3";
} else {
_root.framex.livesBar.livesCounter.text = "0/3";
}
trace(("###### YOU HAVE " + _global.livesCount) + " LIFES LEFT");
if (_global.livesCount == 2) {
_root.framex.livesBar.gotoAndPlay(2);
}
if (_global.livesCount == 1) {
_root.framex.livesBar.gotoAndPlay(15);
}
if (_global.livesCount == 0) {
_root.framex.livesBar.gotoAndPlay(30);
}
if (_global.livesCount < 0) {
trace("### False! You failed this set!");
_root.gotoAndPlay(_global.failFrameName);
}
_global.modframe(0, _global.currentQuestion);
} else {
_global.modframe(0, _global.currentQuestion);
}
trace("False!");
};
_global.qcheck = function (a) {
if (_global.rans == a) {
switch (a) {
case 1 :
_root.framex.a1but.gotoAndPlay(2);
break;
case 2 :
_root.framex.a2but.gotoAndPlay(2);
break;
case 3 :
_root.framex.a3but.gotoAndPlay(2);
break;
default :
trace("Error : Check button and right answer naming...");
}
} else {
switch (a) {
case 1 :
_root.framex.a1but.gotoAndPlay(10);
break;
case 2 :
_root.framex.a2but.gotoAndPlay(10);
break;
case 3 :
_root.framex.a3but.gotoAndPlay(10);
break;
default :
trace("Error : Check button and right answer naming...");
}
}
};
_global.leaveCheck = function () {
trace("Leaving Question Set");
_root.gotoAndPlay(_global.failFrameName);
};
_global.tryAgainCheck = function () {
trace("Starting again this Question Set");
_global.modframe(_global.currentQuestion, 0);
};
_global.continueCheck = function () {
trace("Next Question from this Set");
_global.currentQuestion++;
if (_global.currentQuestion > (_global.questionList.length / 2)) {
trace("That is all for this Question Set");
_root.gotoAndPlay(_global.successFrameName);
return(true);
}
_global.modframe(_global.currentQuestion, 0);
return(true);
};
_global.modframe = function (q, f) {
_root.framex.unfadex.gotoAndPlay(1);
if (_global.isLivesPowered) {
_root.framex.livesBar._visible = true;
}
_root.framex.happyChick._visible = false;
_root.framex.unhappyChick._visible = false;
_root.framex.leaveButton._visible = false;
_root.framex.leaveButton.enabled = false;
_root.framex.tryAgainButton._visible = false;
_root.framex.tryAgainButton.enabled = false;
_root.framex.continueButton._visible = false;
_root.framex.continueButton.enabled = false;
_root.framex.a1but._visible = false;
_root.framex.a1but.enabled = false;
_root.framex.a2but._visible = false;
_root.framex.a1but.enabled = false;
_root.framex.a3but._visible = false;
_root.framex.a1but.enabled = false;
trace("In modframe function");
if (((q == 0) && (f == 0)) || ((q != 0) && (f != 0))) {
trace("Error: Check modframe function parameters");
return(false);
}
if (((q < 0) || (q > (_global.questionList.length / 2))) || ((f < 0) || (f > (_global.failList.length / 2)))) {
trace("Error: Check question or fail index !");
return(false);
}
if ((q != 0) && (f == 0)) {
_root.framex.unhappyChick._visible = false;
_root.framex.happyChick._visible = true;
trace("Question text: " + _global.questionList[(q - 1) * 2]);
trace("Right Answer : " + _global.answerList[((q - 1) * 4) + 3]);
trace("Answer 1 text: " + _global.answerList[(q - 1) * 4]);
trace("Answer 2 text: " + _global.answerList[((q - 1) * 4) + 1]);
trace("Answer 3 text: " + _global.answerList[((q - 1) * 4) + 2]);
if ((parseInt(_global.questionList[((q - 1) * 2) + 1]) < 0) && (parseInt(_global.questionList[((q - 1) * 2) + 1]) > 1)) {
trace("Error: Check Question option at No " + q);
return(false);
}
if (parseInt(_global.questionList[((q - 1) * 2) + 1]) == 0) {
trace("Question is with answers");
_root.framex.a1but._visible = true;
_root.framex.a1but.enabled = true;
_root.framex.a2but._visible = true;
_root.framex.a1but.enabled = true;
_root.framex.a3but._visible = true;
_root.framex.a1but.enabled = true;
if ((parseInt(_global.answerList[((q - 1) * 4) + 3]) < 1) || (parseInt(_global.answerList[((q - 1) * 4) + 3]) > 3)) {
trace("Error: Check right answer index at Question " + q);
return(false);
}
ransInt = parseInt(_global.answerList[((q - 1) * 4) + 3]);
_global.pointer = 0;
_root.framex.qtext.text = "";
_global.s = _global.questionList[(q - 1) * 2];
outputQuestion();
ransIndex = random(3) + 1;
_global.rans = ransIndex;
trace((("Random Answer is " + ransIndex) + " and index form array is ") + ransInt);
answers = new Array(_global.answerList[(q - 1) * 4], _global.answerList[((q - 1) * 4) + 1], _global.answerList[((q - 1) * 4) + 2]);
i = 0;
if (ransIndex > ransInt) {
while (i < (ransIndex - ransInt)) {
answers.unshift(answers.pop());
i++;
}
}
if (ransIndex < ransInt) {
while (i < (ransInt - ransIndex)) {
answers.push(answers.shift());
i++;
}
}
_root.framex.a1but.a1text.text = answers[0];
_root.framex.a2but.a2text.text = answers[1];
_root.framex.a3but.a3text.text = answers[2];
return(true);
}
if (parseInt(_global.questionList[((q - 1) * 2) + 1]) == 1) {
trace("Question is with continue button");
_global.pointer = 0;
_root.framex.qtext.text = "";
_global.s = _global.questionList[(q - 1) * 2];
outputQuestion();
_root.framex.continueButton._visible = true;
_root.framex.continueButton.enabled = true;
return(true);
}
return(true);
}
if ((q == 0) && (f != 0)) {
trace((("###Fail phrase No " + f) + " is ") + _global.failList[(f - 1) * 2]);
trace("###Array No for that Fail phrase is " + ((f - 1) * 2));
_root.framex.tryAgainButton._visible = false;
_root.framex.tryAgainButton.enabled = false;
_root.framex.continueButton._visible = false;
_root.framex.continueButton.enabled = false;
_root.framex.happyChick._visible = false;
_root.framex.unhappyChick._visible = true;
trace("In F block");
_global.pointer = 0;
_root.framex.qtext.text = "";
_global.s = _global.failList[(f - 1) * 2];
outputQuestion();
if ((parseInt(_global.failList[((f - 1) * 2) + 1]) < 0) && (parseInt(_global.failList[((f - 1) * 2) + 1]) > 2)) {
trace("Error: Check Fail option at Fail phrase No " + f);
return(false);
}
if (parseInt(_global.failList[((f - 1) * 2) + 1]) == 0) {
trace("Fail option is to leave");
_root.framex.leaveButton._visible = true;
_root.framex.leaveButton.enabled = true;
return(true);
}
if (parseInt(_global.failList[((f - 1) * 2) + 1]) == 1) {
trace("Fail option is to try again");
_root.framex.tryAgainButton._visible = true;
_root.framex.tryAgainButton.enabled = true;
return(true);
}
if (parseInt(_global.failList[((f - 1) * 2) + 1]) == 2) {
trace("Fail option is to continue");
_root.framex.continueButton._visible = true;
_root.framex.continueButton.enabled = true;
return(true);
}
if (parseInt(_global.failList[((f - 1) * 2) + 1]) == 3) {
trace("Fail option is to jump to fail frame");
_root.gotoAndPlay(_global.failFrameName);
return(true);
}
return(true);
}
};
_global.isLivesPowered = false;
_global.livesCount = 3;
_global.currentQuestion = 1;
_global.setFrameName = "hotel_dialogue1gift";
_global.failFrameName = "hotel_presex";
_global.successFrameName = "hotel_presex";
_global.modframe(_global.currentQuestion, 0);
stop();
Frame 23
function outputQuestion() {
id11211 = setInterval(showNextSymbol, interval, _global.s);
}
function showNextSymbol() {
if (_global.s.charAt(_global.pointer) == "") {
clearInterval(id11211);
} else {
_root.framex.qtext.text = _root.framex.qtext.text + _global.s.charAt(_global.pointer);
_global.pointer++;
}
}
_global.waitTime();
_global.questionList = new Array("Hello again. How are you?", "0", "Thank you. Why are you here?", "0", "No watch, no information.", "1");
_global.failList = new Array("Never!", "1", "Get out of here!", "1", "Get out of here!", "1");
_global.answerList = new Array("Hello Marie. You look great.", "Hello Marie. Can I fuck you now?", "Hello Marie. Can you give me a look at those terrific tits?", "1", "I need information.", "I need you.", "I need your sweet ass.", "1", "Yes.", "No.", "No, really", "1");
_global.pointer = 0;
_global.s = "";
var id11211;
var done = false;
var interval = 30;
_global.rightDo = function (a) {
trace("Right!");
_global.currentQuestion++;
if (_global.currentQuestion > (_global.questionList.length / 2)) {
trace("That is all for this Question Set");
_root.gotoAndPlay(_global.successFrameName);
return(true);
}
_global.modframe(_global.currentQuestion, 0);
return(true);
};
_global.wrongDo = function (a) {
if (_global.isLivesPowered) {
_global.livesCount--;
if (_global.livesCount >= 0) {
_root.framex.livesBar.livesCounter.text = _global.livesCount + "/3";
} else {
_root.framex.livesBar.livesCounter.text = "0/3";
}
trace(("###### YOU HAVE " + _global.livesCount) + " LIFES LEFT");
if (_global.livesCount == 2) {
_root.framex.livesBar.gotoAndPlay(2);
}
if (_global.livesCount == 1) {
_root.framex.livesBar.gotoAndPlay(15);
}
if (_global.livesCount == 0) {
_root.framex.livesBar.gotoAndPlay(30);
}
if (_global.livesCount < 0) {
trace("### False! You failed this set!");
_root.gotoAndPlay(_global.failFrameName);
}
_global.modframe(0, _global.currentQuestion);
} else {
_global.modframe(0, _global.currentQuestion);
}
trace("False!");
};
_global.qcheck = function (a) {
if (_global.rans == a) {
switch (a) {
case 1 :
_root.framex.a1but.gotoAndPlay(2);
break;
case 2 :
_root.framex.a2but.gotoAndPlay(2);
break;
case 3 :
_root.framex.a3but.gotoAndPlay(2);
break;
default :
trace("Error : Check button and right answer naming...");
}
} else {
switch (a) {
case 1 :
_root.framex.a1but.gotoAndPlay(10);
break;
case 2 :
_root.framex.a2but.gotoAndPlay(10);
break;
case 3 :
_root.framex.a3but.gotoAndPlay(10);
break;
default :
trace("Error : Check button and right answer naming...");
}
}
};
_global.leaveCheck = function () {
trace("Leaving Question Set");
_root.gotoAndPlay(_global.failFrameName);
};
_global.tryAgainCheck = function () {
trace("Starting again this Question Set");
_global.modframe(_global.currentQuestion, 0);
};
_global.continueCheck = function () {
trace("Next Question from this Set");
_global.currentQuestion++;
if (_global.currentQuestion > (_global.questionList.length / 2)) {
trace("That is all for this Question Set");
_root.gotoAndPlay(_global.successFrameName);
return(true);
}
_global.modframe(_global.currentQuestion, 0);
return(true);
};
_global.modframe = function (q, f) {
_root.framex.unfadex.gotoAndPlay(1);
if (_global.isLivesPowered) {
_root.framex.livesBar._visible = true;
}
_root.framex.happyChick._visible = false;
_root.framex.unhappyChick._visible = false;
_root.framex.leaveButton._visible = false;
_root.framex.leaveButton.enabled = false;
_root.framex.tryAgainButton._visible = false;
_root.framex.tryAgainButton.enabled = false;
_root.framex.continueButton._visible = false;
_root.framex.continueButton.enabled = false;
_root.framex.a1but._visible = false;
_root.framex.a1but.enabled = false;
_root.framex.a2but._visible = false;
_root.framex.a1but.enabled = false;
_root.framex.a3but._visible = false;
_root.framex.a1but.enabled = false;
trace("In modframe function");
if (((q == 0) && (f == 0)) || ((q != 0) && (f != 0))) {
trace("Error: Check modframe function parameters");
return(false);
}
if (((q < 0) || (q > (_global.questionList.length / 2))) || ((f < 0) || (f > (_global.failList.length / 2)))) {
trace("Error: Check question or fail index !");
return(false);
}
if ((q != 0) && (f == 0)) {
_root.framex.unhappyChick._visible = false;
_root.framex.happyChick._visible = true;
trace("Question text: " + _global.questionList[(q - 1) * 2]);
trace("Right Answer : " + _global.answerList[((q - 1) * 4) + 3]);
trace("Answer 1 text: " + _global.answerList[(q - 1) * 4]);
trace("Answer 2 text: " + _global.answerList[((q - 1) * 4) + 1]);
trace("Answer 3 text: " + _global.answerList[((q - 1) * 4) + 2]);
if ((parseInt(_global.questionList[((q - 1) * 2) + 1]) < 0) && (parseInt(_global.questionList[((q - 1) * 2) + 1]) > 1)) {
trace("Error: Check Question option at No " + q);
return(false);
}
if (parseInt(_global.questionList[((q - 1) * 2) + 1]) == 0) {
trace("Question is with answers");
_root.framex.a1but._visible = true;
_root.framex.a1but.enabled = true;
_root.framex.a2but._visible = true;
_root.framex.a1but.enabled = true;
_root.framex.a3but._visible = true;
_root.framex.a1but.enabled = true;
if ((parseInt(_global.answerList[((q - 1) * 4) + 3]) < 1) || (parseInt(_global.answerList[((q - 1) * 4) + 3]) > 3)) {
trace("Error: Check right answer index at Question " + q);
return(false);
}
ransInt = parseInt(_global.answerList[((q - 1) * 4) + 3]);
_global.pointer = 0;
_root.framex.qtext.text = "";
_global.s = _global.questionList[(q - 1) * 2];
outputQuestion();
ransIndex = random(3) + 1;
_global.rans = ransIndex;
trace((("Random Answer is " + ransIndex) + " and index form array is ") + ransInt);
answers = new Array(_global.answerList[(q - 1) * 4], _global.answerList[((q - 1) * 4) + 1], _global.answerList[((q - 1) * 4) + 2]);
i = 0;
if (ransIndex > ransInt) {
while (i < (ransIndex - ransInt)) {
answers.unshift(answers.pop());
i++;
}
}
if (ransIndex < ransInt) {
while (i < (ransInt - ransIndex)) {
answers.push(answers.shift());
i++;
}
}
_root.framex.a1but.a1text.text = answers[0];
_root.framex.a2but.a2text.text = answers[1];
_root.framex.a3but.a3text.text = answers[2];
return(true);
}
if (parseInt(_global.questionList[((q - 1) * 2) + 1]) == 1) {
trace("Question is with continue button");
_global.pointer = 0;
_root.framex.qtext.text = "";
_global.s = _global.questionList[(q - 1) * 2];
outputQuestion();
_root.framex.continueButton._visible = true;
_root.framex.continueButton.enabled = true;
return(true);
}
return(true);
}
if ((q == 0) && (f != 0)) {
trace((("###Fail phrase No " + f) + " is ") + _global.failList[(f - 1) * 2]);
trace("###Array No for that Fail phrase is " + ((f - 1) * 2));
_root.framex.tryAgainButton._visible = false;
_root.framex.tryAgainButton.enabled = false;
_root.framex.continueButton._visible = false;
_root.framex.continueButton.enabled = false;
_root.framex.happyChick._visible = false;
_root.framex.unhappyChick._visible = true;
trace("In F block");
_global.pointer = 0;
_root.framex.qtext.text = "";
_global.s = _global.failList[(f - 1) * 2];
outputQuestion();
if ((parseInt(_global.failList[((f - 1) * 2) + 1]) < 0) && (parseInt(_global.failList[((f - 1) * 2) + 1]) > 2)) {
trace("Error: Check Fail option at Fail phrase No " + f);
return(false);
}
if (parseInt(_global.failList[((f - 1) * 2) + 1]) == 0) {
trace("Fail option is to leave");
_root.framex.leaveButton._visible = true;
_root.framex.leaveButton.enabled = true;
return(true);
}
if (parseInt(_global.failList[((f - 1) * 2) + 1]) == 1) {
trace("Fail option is to try again");
_root.framex.tryAgainButton._visible = true;
_root.framex.tryAgainButton.enabled = true;
return(true);
}
if (parseInt(_global.failList[((f - 1) * 2) + 1]) == 2) {
trace("Fail option is to continue");
_root.framex.continueButton._visible = true;
_root.framex.continueButton.enabled = true;
return(true);
}
if (parseInt(_global.failList[((f - 1) * 2) + 1]) == 3) {
trace("Fail option is to jump to fail frame");
_root.gotoAndPlay(_global.failFrameName);
return(true);
}
return(true);
}
};
_global.isLivesPowered = false;
_global.livesCount = 3;
_global.currentQuestion = 1;
_global.setFrameName = "hotel_dialogue1nogift";
_global.failFrameName = "hotel_inside";
_global.successFrameName = "hotel_inside";
_global.modframe(_global.currentQuestion, 0);
stop();
Frame 24
function outputQuestion() {
id11211 = setInterval(showNextSymbol, interval, _global.s);
}
function showNextSymbol() {
if (_global.s.charAt(_global.pointer) == "") {
clearInterval(id11211);
} else {
_root.framex.qtext.text = _root.framex.qtext.text + _global.s.charAt(_global.pointer);
_global.pointer++;
}
}
_global.waitTime();
_global.questionList = new Array("Hello Mister.", "0", "Here are the keys to your room. It\u2019s number 69.", "1");
_global.failList = new Array("I don\u2019t have time!", "1", "I don\u2019t have time!", "1");
_global.answerList = new Array("Hi Marie, where\u2019s my room!", "Hi Marie, let's have sex!", "Hi Marie, can we fuck again?", "1", "Yes.", "No.", "No, really", "1");
_global.pointer = 0;
_global.s = "";
var id11211;
var done = false;
var interval = 30;
_global.rightDo = function (a) {
trace("Right!");
_global.currentQuestion++;
if (_global.currentQuestion > (_global.questionList.length / 2)) {
trace("That is all for this Question Set");
_root.gotoAndPlay(_global.successFrameName);
return(true);
}
_global.modframe(_global.currentQuestion, 0);
return(true);
};
_global.wrongDo = function (a) {
if (_global.isLivesPowered) {
_global.livesCount--;
if (_global.livesCount >= 0) {
_root.framex.livesBar.livesCounter.text = _global.livesCount + "/3";
} else {
_root.framex.livesBar.livesCounter.text = "0/3";
}
trace(("###### YOU HAVE " + _global.livesCount) + " LIFES LEFT");
if (_global.livesCount == 2) {
_root.framex.livesBar.gotoAndPlay(2);
}
if (_global.livesCount == 1) {
_root.framex.livesBar.gotoAndPlay(15);
}
if (_global.livesCount == 0) {
_root.framex.livesBar.gotoAndPlay(30);
}
if (_global.livesCount < 0) {
trace("### False! You failed this set!");
_root.gotoAndPlay(_global.failFrameName);
}
_global.modframe(0, _global.currentQuestion);
} else {
_global.modframe(0, _global.currentQuestion);
}
trace("False!");
};
_global.qcheck = function (a) {
if (_global.rans == a) {
switch (a) {
case 1 :
_root.framex.a1but.gotoAndPlay(2);
break;
case 2 :
_root.framex.a2but.gotoAndPlay(2);
break;
case 3 :
_root.framex.a3but.gotoAndPlay(2);
break;
default :
trace("Error : Check button and right answer naming...");
}
} else {
switch (a) {
case 1 :
_root.framex.a1but.gotoAndPlay(10);
break;
case 2 :
_root.framex.a2but.gotoAndPlay(10);
break;
case 3 :
_root.framex.a3but.gotoAndPlay(10);
break;
default :
trace("Error : Check button and right answer naming...");
}
}
};
_global.leaveCheck = function () {
trace("Leaving Question Set");
_root.gotoAndPlay(_global.failFrameName);
};
_global.tryAgainCheck = function () {
trace("Starting again this Question Set");
_global.modframe(_global.currentQuestion, 0);
};
_global.continueCheck = function () {
trace("Next Question from this Set");
_global.currentQuestion++;
if (_global.currentQuestion > (_global.questionList.length / 2)) {
trace("That is all for this Question Set");
_root.gotoAndPlay(_global.successFrameName);
return(true);
}
_global.modframe(_global.currentQuestion, 0);
return(true);
};
_global.modframe = function (q, f) {
_root.framex.unfadex.gotoAndPlay(1);
if (_global.isLivesPowered) {
_root.framex.livesBar._visible = true;
}
_root.framex.happyChick._visible = false;
_root.framex.unhappyChick._visible = false;
_root.framex.leaveButton._visible = false;
_root.framex.leaveButton.enabled = false;
_root.framex.tryAgainButton._visible = false;
_root.framex.tryAgainButton.enabled = false;
_root.framex.continueButton._visible = false;
_root.framex.continueButton.enabled = false;
_root.framex.a1but._visible = false;
_root.framex.a1but.enabled = false;
_root.framex.a2but._visible = false;
_root.framex.a1but.enabled = false;
_root.framex.a3but._visible = false;
_root.framex.a1but.enabled = false;
trace("In modframe function");
if (((q == 0) && (f == 0)) || ((q != 0) && (f != 0))) {
trace("Error: Check modframe function parameters");
return(false);
}
if (((q < 0) || (q > (_global.questionList.length / 2))) || ((f < 0) || (f > (_global.failList.length / 2)))) {
trace("Error: Check question or fail index !");
return(false);
}
if ((q != 0) && (f == 0)) {
_root.framex.unhappyChick._visible = false;
_root.framex.happyChick._visible = true;
trace("Question text: " + _global.questionList[(q - 1) * 2]);
trace("Right Answer : " + _global.answerList[((q - 1) * 4) + 3]);
trace("Answer 1 text: " + _global.answerList[(q - 1) * 4]);
trace("Answer 2 text: " + _global.answerList[((q - 1) * 4) + 1]);
trace("Answer 3 text: " + _global.answerList[((q - 1) * 4) + 2]);
if ((parseInt(_global.questionList[((q - 1) * 2) + 1]) < 0) && (parseInt(_global.questionList[((q - 1) * 2) + 1]) > 1)) {
trace("Error: Check Question option at No " + q);
return(false);
}
if (parseInt(_global.questionList[((q - 1) * 2) + 1]) == 0) {
trace("Question is with answers");
_root.framex.a1but._visible = true;
_root.framex.a1but.enabled = true;
_root.framex.a2but._visible = true;
_root.framex.a1but.enabled = true;
_root.framex.a3but._visible = true;
_root.framex.a1but.enabled = true;
if ((parseInt(_global.answerList[((q - 1) * 4) + 3]) < 1) || (parseInt(_global.answerList[((q - 1) * 4) + 3]) > 3)) {
trace("Error: Check right answer index at Question " + q);
return(false);
}
ransInt = parseInt(_global.answerList[((q - 1) * 4) + 3]);
_global.pointer = 0;
_root.framex.qtext.text = "";
_global.s = _global.questionList[(q - 1) * 2];
outputQuestion();
ransIndex = random(3) + 1;
_global.rans = ransIndex;
trace((("Random Answer is " + ransIndex) + " and index form array is ") + ransInt);
answers = new Array(_global.answerList[(q - 1) * 4], _global.answerList[((q - 1) * 4) + 1], _global.answerList[((q - 1) * 4) + 2]);
i = 0;
if (ransIndex > ransInt) {
while (i < (ransIndex - ransInt)) {
answers.unshift(answers.pop());
i++;
}
}
if (ransIndex < ransInt) {
while (i < (ransInt - ransIndex)) {
answers.push(answers.shift());
i++;
}
}
_root.framex.a1but.a1text.text = answers[0];
_root.framex.a2but.a2text.text = answers[1];
_root.framex.a3but.a3text.text = answers[2];
return(true);
}
if (parseInt(_global.questionList[((q - 1) * 2) + 1]) == 1) {
trace("Question is with continue button");
_global.pointer = 0;
_root.framex.qtext.text = "";
_global.s = _global.questionList[(q - 1) * 2];
outputQuestion();
_root.framex.continueButton._visible = true;
_root.framex.continueButton.enabled = true;
return(true);
}
return(true);
}
if ((q == 0) && (f != 0)) {
trace((("###Fail phrase No " + f) + " is ") + _global.failList[(f - 1) * 2]);
trace("###Array No for that Fail phrase is " + ((f - 1) * 2));
_root.framex.tryAgainButton._visible = false;
_root.framex.tryAgainButton.enabled = false;
_root.framex.continueButton._visible = false;
_root.framex.continueButton.enabled = false;
_root.framex.happyChick._visible = false;
_root.framex.unhappyChick._visible = true;
trace("In F block");
_global.pointer = 0;
_root.framex.qtext.text = "";
_global.s = _global.failList[(f - 1) * 2];
outputQuestion();
if ((parseInt(_global.failList[((f - 1) * 2) + 1]) < 0) && (parseInt(_global.failList[((f - 1) * 2) + 1]) > 2)) {
trace("Error: Check Fail option at Fail phrase No " + f);
return(false);
}
if (parseInt(_global.failList[((f - 1) * 2) + 1]) == 0) {
trace("Fail option is to leave");
_root.framex.leaveButton._visible = true;
_root.framex.leaveButton.enabled = true;
return(true);
}
if (parseInt(_global.failList[((f - 1) * 2) + 1]) == 1) {
trace("Fail option is to try again");
_root.framex.tryAgainButton._visible = true;
_root.framex.tryAgainButton.enabled = true;
return(true);
}
if (parseInt(_global.failList[((f - 1) * 2) + 1]) == 2) {
trace("Fail option is to continue");
_root.framex.continueButton._visible = true;
_root.framex.continueButton.enabled = true;
return(true);
}
if (parseInt(_global.failList[((f - 1) * 2) + 1]) == 3) {
trace("Fail option is to jump to fail frame");
_root.gotoAndPlay(_global.failFrameName);
return(true);
}
return(true);
}
};
_global.isLivesPowered = false;
_global.livesCount = 3;
_global.currentQuestion = 1;
_global.setFrameName = "hotel_dialogue2info";
_global.failFrameName = "hotel_room";
_global.successFrameName = "hotel_room";
_global.modframe(_global.currentQuestion, 0);
stop();
Frame 25
stop();
Frame 26
function outputQuestion() {
id11211 = setInterval(showNextSymbol, interval, _global.s);
}
function showNextSymbol() {
if (_global.s.charAt(_global.pointer) == "") {
clearInterval(id11211);
} else {
_root.framex.qtext.text = _root.framex.qtext.text + _global.s.charAt(_global.pointer);
_global.pointer++;
}
}
_global.waitTime();
_global.questionList = new Array("Hello.", "0", "Who am I talking to?", "0", "What do you want?", "0", "Ok.", "1");
_global.failList = new Array("Asshole!", "1", "What are you, an idiot?", "1", "I have no money.", "1", "I have no money.", "1");
_global.answerList = new Array("Hello Mrs. Hallivan.", "Hey bitch.", "Hello slut.", "1", "I have some photos of you having sex with your lover!", "I saw you in the fitness center when you flirted with your coach.", "I saw you at the hotel when you flirted with the hotel manager.", "1", "If you have sex with me, I won\u2019t tell your husband.", "I want money.", "I want $5 million..", "1", "Yes.", "No.", "No, really", "1");
_global.pointer = 0;
_global.s = "";
var id11211;
var done = false;
var interval = 30;
_global.rightDo = function (a) {
trace("Right!");
_global.currentQuestion++;
if (_global.currentQuestion > (_global.questionList.length / 2)) {
trace("That is all for this Question Set");
_root.gotoAndPlay(_global.successFrameName);
return(true);
}
_global.modframe(_global.currentQuestion, 0);
return(true);
};
_global.wrongDo = function (a) {
if (_global.isLivesPowered) {
_global.livesCount--;
if (_global.livesCount >= 0) {
_root.framex.livesBar.livesCounter.text = _global.livesCount + "/3";
} else {
_root.framex.livesBar.livesCounter.text = "0/3";
}
trace(("###### YOU HAVE " + _global.livesCount) + " LIFES LEFT");
if (_global.livesCount == 2) {
_root.framex.livesBar.gotoAndPlay(2);
}
if (_global.livesCount == 1) {
_root.framex.livesBar.gotoAndPlay(15);
}
if (_global.livesCount == 0) {
_root.framex.livesBar.gotoAndPlay(30);
}
if (_global.livesCount < 0) {
trace("### False! You failed this set!");
_root.gotoAndPlay(_global.failFrameName);
}
_global.modframe(0, _global.currentQuestion);
} else {
_global.modframe(0, _global.currentQuestion);
}
trace("False!");
};
_global.qcheck = function (a) {
if (_global.rans == a) {
switch (a) {
case 1 :
_root.framex.a1but.gotoAndPlay(2);
break;
case 2 :
_root.framex.a2but.gotoAndPlay(2);
break;
case 3 :
_root.framex.a3but.gotoAndPlay(2);
break;
default :
trace("Error : Check button and right answer naming...");
}
} else {
switch (a) {
case 1 :
_root.framex.a1but.gotoAndPlay(10);
break;
case 2 :
_root.framex.a2but.gotoAndPlay(10);
break;
case 3 :
_root.framex.a3but.gotoAndPlay(10);
break;
default :
trace("Error : Check button and right answer naming...");
}
}
};
_global.leaveCheck = function () {
trace("Leaving Question Set");
_root.gotoAndPlay(_global.failFrameName);
};
_global.tryAgainCheck = function () {
trace("Starting again this Question Set");
_global.modframe(_global.currentQuestion, 0);
};
_global.continueCheck = function () {
trace("Next Question from this Set");
_global.currentQuestion++;
if (_global.currentQuestion > (_global.questionList.length / 2)) {
trace("That is all for this Question Set");
_root.gotoAndPlay(_global.successFrameName);
return(true);
}
_global.modframe(_global.currentQuestion, 0);
return(true);
};
_global.modframe = function (q, f) {
_root.framex.unfadex.gotoAndPlay(1);
if (_global.isLivesPowered) {
_root.framex.livesBar._visible = true;
}
_root.framex.happyChick._visible = false;
_root.framex.unhappyChick._visible = false;
_root.framex.leaveButton._visible = false;
_root.framex.leaveButton.enabled = false;
_root.framex.tryAgainButton._visible = false;
_root.framex.tryAgainButton.enabled = false;
_root.framex.continueButton._visible = false;
_root.framex.continueButton.enabled = false;
_root.framex.a1but._visible = false;
_root.framex.a1but.enabled = false;
_root.framex.a2but._visible = false;
_root.framex.a1but.enabled = false;
_root.framex.a3but._visible = false;
_root.framex.a1but.enabled = false;
trace("In modframe function");
if (((q == 0) && (f == 0)) || ((q != 0) && (f != 0))) {
trace("Error: Check modframe function parameters");
return(false);
}
if (((q < 0) || (q > (_global.questionList.length / 2))) || ((f < 0) || (f > (_global.failList.length / 2)))) {
trace("Error: Check question or fail index !");
return(false);
}
if ((q != 0) && (f == 0)) {
_root.framex.unhappyChick._visible = false;
_root.framex.happyChick._visible = true;
trace("Question text: " + _global.questionList[(q - 1) * 2]);
trace("Right Answer : " + _global.answerList[((q - 1) * 4) + 3]);
trace("Answer 1 text: " + _global.answerList[(q - 1) * 4]);
trace("Answer 2 text: " + _global.answerList[((q - 1) * 4) + 1]);
trace("Answer 3 text: " + _global.answerList[((q - 1) * 4) + 2]);
if ((parseInt(_global.questionList[((q - 1) * 2) + 1]) < 0) && (parseInt(_global.questionList[((q - 1) * 2) + 1]) > 1)) {
trace("Error: Check Question option at No " + q);
return(false);
}
if (parseInt(_global.questionList[((q - 1) * 2) + 1]) == 0) {
trace("Question is with answers");
_root.framex.a1but._visible = true;
_root.framex.a1but.enabled = true;
_root.framex.a2but._visible = true;
_root.framex.a1but.enabled = true;
_root.framex.a3but._visible = true;
_root.framex.a1but.enabled = true;
if ((parseInt(_global.answerList[((q - 1) * 4) + 3]) < 1) || (parseInt(_global.answerList[((q - 1) * 4) + 3]) > 3)) {
trace("Error: Check right answer index at Question " + q);
return(false);
}
ransInt = parseInt(_global.answerList[((q - 1) * 4) + 3]);
_global.pointer = 0;
_root.framex.qtext.text = "";
_global.s = _global.questionList[(q - 1) * 2];
outputQuestion();
ransIndex = random(3) + 1;
_global.rans = ransIndex;
trace((("Random Answer is " + ransIndex) + " and index form array is ") + ransInt);
answers = new Array(_global.answerList[(q - 1) * 4], _global.answerList[((q - 1) * 4) + 1], _global.answerList[((q - 1) * 4) + 2]);
i = 0;
if (ransIndex > ransInt) {
while (i < (ransIndex - ransInt)) {
answers.unshift(answers.pop());
i++;
}
}
if (ransIndex < ransInt) {
while (i < (ransInt - ransIndex)) {
answers.push(answers.shift());
i++;
}
}
_root.framex.a1but.a1text.text = answers[0];
_root.framex.a2but.a2text.text = answers[1];
_root.framex.a3but.a3text.text = answers[2];
return(true);
}
if (parseInt(_global.questionList[((q - 1) * 2) + 1]) == 1) {
trace("Question is with continue button");
_global.pointer = 0;
_root.framex.qtext.text = "";
_global.s = _global.questionList[(q - 1) * 2];
outputQuestion();
_root.framex.continueButton._visible = true;
_root.framex.continueButton.enabled = true;
return(true);
}
return(true);
}
if ((q == 0) && (f != 0)) {
trace((("###Fail phrase No " + f) + " is ") + _global.failList[(f - 1) * 2]);
trace("###Array No for that Fail phrase is " + ((f - 1) * 2));
_root.framex.tryAgainButton._visible = false;
_root.framex.tryAgainButton.enabled = false;
_root.framex.continueButton._visible = false;
_root.framex.continueButton.enabled = false;
_root.framex.happyChick._visible = false;
_root.framex.unhappyChick._visible = true;
trace("In F block");
_global.pointer = 0;
_root.framex.qtext.text = "";
_global.s = _global.failList[(f - 1) * 2];
outputQuestion();
if ((parseInt(_global.failList[((f - 1) * 2) + 1]) < 0) && (parseInt(_global.failList[((f - 1) * 2) + 1]) > 2)) {
trace("Error: Check Fail option at Fail phrase No " + f);
return(false);
}
if (parseInt(_global.failList[((f - 1) * 2) + 1]) == 0) {
trace("Fail option is to leave");
_root.framex.leaveButton._visible = true;
_root.framex.leaveButton.enabled = true;
return(true);
}
if (parseInt(_global.failList[((f - 1) * 2) + 1]) == 1) {
trace("Fail option is to try again");
_root.framex.tryAgainButton._visible = true;
_root.framex.tryAgainButton.enabled = true;
return(true);
}
if (parseInt(_global.failList[((f - 1) * 2) + 1]) == 2) {
trace("Fail option is to continue");
_root.framex.continueButton._visible = true;
_root.framex.continueButton.enabled = true;
return(true);
}
if (parseInt(_global.failList[((f - 1) * 2) + 1]) == 3) {
trace("Fail option is to jump to fail frame");
_root.gotoAndPlay(_global.failFrameName);
return(true);
}
return(true);
}
};
_global.isLivesPowered = false;
_global.livesCount = 3;
_global.currentQuestion = 1;
_global.setFrameName = "home_dialogue0";
_global.failFrameName = "home_presex";
_global.successFrameName = "home_presex";
_global.modframe(_global.currentQuestion, 0);
stop();
Frame 27
function outputQuestion() {
id11211 = setInterval(showNextSymbol, interval, _global.s);
}
function showNextSymbol() {
if (_global.s.charAt(_global.pointer) == "") {
clearInterval(id11211);
} else {
_root.framex.qtext.text = _root.framex.qtext.text + _global.s.charAt(_global.pointer);
_global.pointer++;
}
}
_global.waitTime();
_global.questionList = new Array("Hello! So you are saying you have evidences? They are not convinient, sorry.", "0", "Hello! So you are saying you have evidences? They are not convinient, sorry.", "0", "Come back when you get some.", "1");
_global.failList = new Array("Asshole!", "1", "Are you an idiot?", "1", "Are you an idiot?", "1");
_global.answerList = new Array("Hello Mrs. Hallivan.", "Hey bitch.", "Hello slut.", "1", "I am a private detective and I saw you with your lover.", "I am a private detective and I saw you in the fitness center when you flirted with your coach.", "I am a private detective and I saw you at the hotel when you flirted with the hotel manager.", "1", "Yes.", "No.", "No, really", "1");
_global.pointer = 0;
_global.s = "";
var id11211;
var done = false;
var interval = 30;
_global.rightDo = function (a) {
trace("Right!");
_global.currentQuestion++;
if (_global.currentQuestion > (_global.questionList.length / 2)) {
trace("That is all for this Question Set");
_root.gotoAndPlay(_global.successFrameName);
return(true);
}
_global.modframe(_global.currentQuestion, 0);
return(true);
};
_global.wrongDo = function (a) {
if (_global.isLivesPowered) {
_global.livesCount--;
if (_global.livesCount >= 0) {
_root.framex.livesBar.livesCounter.text = _global.livesCount + "/3";
} else {
_root.framex.livesBar.livesCounter.text = "0/3";
}
trace(("###### YOU HAVE " + _global.livesCount) + " LIFES LEFT");
if (_global.livesCount == 2) {
_root.framex.livesBar.gotoAndPlay(2);
}
if (_global.livesCount == 1) {
_root.framex.livesBar.gotoAndPlay(15);
}
if (_global.livesCount == 0) {
_root.framex.livesBar.gotoAndPlay(30);
}
if (_global.livesCount < 0) {
trace("### False! You failed this set!");
_root.gotoAndPlay(_global.failFrameName);
}
_global.modframe(0, _global.currentQuestion);
} else {
_global.modframe(0, _global.currentQuestion);
}
trace("False!");
};
_global.qcheck = function (a) {
if (_global.rans == a) {
switch (a) {
case 1 :
_root.framex.a1but.gotoAndPlay(2);
break;
case 2 :
_root.framex.a2but.gotoAndPlay(2);
break;
case 3 :
_root.framex.a3but.gotoAndPlay(2);
break;
default :
trace("Error : Check button and right answer naming...");
}
} else {
switch (a) {
case 1 :
_root.framex.a1but.gotoAndPlay(10);
break;
case 2 :
_root.framex.a2but.gotoAndPlay(10);
break;
case 3 :
_root.framex.a3but.gotoAndPlay(10);
break;
default :
trace("Error : Check button and right answer naming...");
}
}
};
_global.leaveCheck = function () {
trace("Leaving Question Set");
_root.gotoAndPlay(_global.failFrameName);
};
_global.tryAgainCheck = function () {
trace("Starting again this Question Set");
_global.modframe(_global.currentQuestion, 0);
};
_global.continueCheck = function () {
trace("Next Question from this Set");
_global.currentQuestion++;
if (_global.currentQuestion > (_global.questionList.length / 2)) {
trace("That is all for this Question Set");
_root.gotoAndPlay(_global.successFrameName);
return(true);
}
_global.modframe(_global.currentQuestion, 0);
return(true);
};
_global.modframe = function (q, f) {
_root.framex.unfadex.gotoAndPlay(1);
if (_global.isLivesPowered) {
_root.framex.livesBar._visible = true;
}
_root.framex.happyChick._visible = false;
_root.framex.unhappyChick._visible = false;
_root.framex.leaveButton._visible = false;
_root.framex.leaveButton.enabled = false;
_root.framex.tryAgainButton._visible = false;
_root.framex.tryAgainButton.enabled = false;
_root.framex.continueButton._visible = false;
_root.framex.continueButton.enabled = false;
_root.framex.a1but._visible = false;
_root.framex.a1but.enabled = false;
_root.framex.a2but._visible = false;
_root.framex.a1but.enabled = false;
_root.framex.a3but._visible = false;
_root.framex.a1but.enabled = false;
trace("In modframe function");
if (((q == 0) && (f == 0)) || ((q != 0) && (f != 0))) {
trace("Error: Check modframe function parameters");
return(false);
}
if (((q < 0) || (q > (_global.questionList.length / 2))) || ((f < 0) || (f > (_global.failList.length / 2)))) {
trace("Error: Check question or fail index !");
return(false);
}
if ((q != 0) && (f == 0)) {
_root.framex.unhappyChick._visible = false;
_root.framex.happyChick._visible = true;
trace("Question text: " + _global.questionList[(q - 1) * 2]);
trace("Right Answer : " + _global.answerList[((q - 1) * 4) + 3]);
trace("Answer 1 text: " + _global.answerList[(q - 1) * 4]);
trace("Answer 2 text: " + _global.answerList[((q - 1) * 4) + 1]);
trace("Answer 3 text: " + _global.answerList[((q - 1) * 4) + 2]);
if ((parseInt(_global.questionList[((q - 1) * 2) + 1]) < 0) && (parseInt(_global.questionList[((q - 1) * 2) + 1]) > 1)) {
trace("Error: Check Question option at No " + q);
return(false);
}
if (parseInt(_global.questionList[((q - 1) * 2) + 1]) == 0) {
trace("Question is with answers");
_root.framex.a1but._visible = true;
_root.framex.a1but.enabled = true;
_root.framex.a2but._visible = true;
_root.framex.a1but.enabled = true;
_root.framex.a3but._visible = true;
_root.framex.a1but.enabled = true;
if ((parseInt(_global.answerList[((q - 1) * 4) + 3]) < 1) || (parseInt(_global.answerList[((q - 1) * 4) + 3]) > 3)) {
trace("Error: Check right answer index at Question " + q);
return(false);
}
ransInt = parseInt(_global.answerList[((q - 1) * 4) + 3]);
_global.pointer = 0;
_root.framex.qtext.text = "";
_global.s = _global.questionList[(q - 1) * 2];
outputQuestion();
ransIndex = random(3) + 1;
_global.rans = ransIndex;
trace((("Random Answer is " + ransIndex) + " and index form array is ") + ransInt);
answers = new Array(_global.answerList[(q - 1) * 4], _global.answerList[((q - 1) * 4) + 1], _global.answerList[((q - 1) * 4) + 2]);
i = 0;
if (ransIndex > ransInt) {
while (i < (ransIndex - ransInt)) {
answers.unshift(answers.pop());
i++;
}
}
if (ransIndex < ransInt) {
while (i < (ransInt - ransIndex)) {
answers.push(answers.shift());
i++;
}
}
_root.framex.a1but.a1text.text = answers[0];
_root.framex.a2but.a2text.text = answers[1];
_root.framex.a3but.a3text.text = answers[2];
return(true);
}
if (parseInt(_global.questionList[((q - 1) * 2) + 1]) == 1) {
trace("Question is with continue button");
_global.pointer = 0;
_root.framex.qtext.text = "";
_global.s = _global.questionList[(q - 1) * 2];
outputQuestion();
_root.framex.continueButton._visible = true;
_root.framex.continueButton.enabled = true;
return(true);
}
return(true);
}
if ((q == 0) && (f != 0)) {
trace((("###Fail phrase No " + f) + " is ") + _global.failList[(f - 1) * 2]);
trace("###Array No for that Fail phrase is " + ((f - 1) * 2));
_root.framex.tryAgainButton._visible = false;
_root.framex.tryAgainButton.enabled = false;
_root.framex.continueButton._visible = false;
_root.framex.continueButton.enabled = false;
_root.framex.happyChick._visible = false;
_root.framex.unhappyChick._visible = true;
trace("In F block");
_global.pointer = 0;
_root.framex.qtext.text = "";
_global.s = _global.failList[(f - 1) * 2];
outputQuestion();
if ((parseInt(_global.failList[((f - 1) * 2) + 1]) < 0) && (parseInt(_global.failList[((f - 1) * 2) + 1]) > 2)) {
trace("Error: Check Fail option at Fail phrase No " + f);
return(false);
}
if (parseInt(_global.failList[((f - 1) * 2) + 1]) == 0) {
trace("Fail option is to leave");
_root.framex.leaveButton._visible = true;
_root.framex.leaveButton.enabled = true;
return(true);
}
if (parseInt(_global.failList[((f - 1) * 2) + 1]) == 1) {
trace("Fail option is to try again");
_root.framex.tryAgainButton._visible = true;
_root.framex.tryAgainButton.enabled = true;
return(true);
}
if (parseInt(_global.failList[((f - 1) * 2) + 1]) == 2) {
trace("Fail option is to continue");
_root.framex.continueButton._visible = true;
_root.framex.continueButton.enabled = true;
return(true);
}
if (parseInt(_global.failList[((f - 1) * 2) + 1]) == 3) {
trace("Fail option is to jump to fail frame");
_root.gotoAndPlay(_global.failFrameName);
return(true);
}
return(true);
}
};
_global.isLivesPowered = false;
_global.livesCount = 3;
_global.currentQuestion = 1;
_global.setFrameName = "home_dialogue0noevidences";
_global.failFrameName = _global.before;
_global.successFrameName = _global.before;
_global.modframe(_global.currentQuestion, 0);
stop();
Frame 28
function outputQuestion() {
id11211 = setInterval(showNextSymbol, interval, _global.s);
}
function showNextSymbol() {
if (_global.s.charAt(_global.pointer) == "") {
clearInterval(id11211);
} else {
_root.framex.qtext.text = _root.framex.qtext.text + _global.s.charAt(_global.pointer);
_global.pointer++;
}
}
_global.waitTime();
_global.questionList = new Array("Hello.", "0", "Who am I talking to?", "0", "Ok, come to my house. It\u2019s number 29 at 56th street. We should talk face to face.", "1");
_global.failList = new Array("Asshole!", "1", "Fuck off.", "1", "Fuck off.", "1");
_global.answerList = new Array("Hello Mrs. Hallivan.", "Hey bitch.", "Hello slut.", "1", "I am a private detective and I have proof of your infidelity.", "I am a private detective and I want to have sex with you.", "I am a private detective and I want to touch your ass.", "1", "Yes.", "No.", "No, really", "1");
_global.pointer = 0;
_global.s = "";
var id11211;
var done = false;
var interval = 30;
_global.rightDo = function (a) {
trace("Right!");
_global.currentQuestion++;
if (_global.currentQuestion > (_global.questionList.length / 2)) {
trace("That is all for this Question Set");
_root.gotoAndPlay(_global.successFrameName);
return(true);
}
_global.modframe(_global.currentQuestion, 0);
return(true);
};
_global.wrongDo = function (a) {
if (_global.isLivesPowered) {
_global.livesCount--;
if (_global.livesCount >= 0) {
_root.framex.livesBar.livesCounter.text = _global.livesCount + "/3";
} else {
_root.framex.livesBar.livesCounter.text = "0/3";
}
trace(("###### YOU HAVE " + _global.livesCount) + " LIFES LEFT");
if (_global.livesCount == 2) {
_root.framex.livesBar.gotoAndPlay(2);
}
if (_global.livesCount == 1) {
_root.framex.livesBar.gotoAndPlay(15);
}
if (_global.livesCount == 0) {
_root.framex.livesBar.gotoAndPlay(30);
}
if (_global.livesCount < 0) {
trace("### False! You failed this set!");
_root.gotoAndPlay(_global.failFrameName);
}
_global.modframe(0, _global.currentQuestion);
} else {
_global.modframe(0, _global.currentQuestion);
}
trace("False!");
};
_global.qcheck = function (a) {
if (_global.rans == a) {
switch (a) {
case 1 :
_root.framex.a1but.gotoAndPlay(2);
break;
case 2 :
_root.framex.a2but.gotoAndPlay(2);
break;
case 3 :
_root.framex.a3but.gotoAndPlay(2);
break;
default :
trace("Error : Check button and right answer naming...");
}
} else {
switch (a) {
case 1 :
_root.framex.a1but.gotoAndPlay(10);
break;
case 2 :
_root.framex.a2but.gotoAndPlay(10);
break;
case 3 :
_root.framex.a3but.gotoAndPlay(10);
break;
default :
trace("Error : Check button and right answer naming...");
}
}
};
_global.leaveCheck = function () {
trace("Leaving Question Set");
_root.gotoAndPlay(_global.failFrameName);
};
_global.tryAgainCheck = function () {
trace("Starting again this Question Set");
_global.modframe(_global.currentQuestion, 0);
};
_global.continueCheck = function () {
trace("Next Question from this Set");
_global.currentQuestion++;
if (_global.currentQuestion > (_global.questionList.length / 2)) {
trace("That is all for this Question Set");
_root.gotoAndPlay(_global.successFrameName);
return(true);
}
_global.modframe(_global.currentQuestion, 0);
return(true);
};
_global.modframe = function (q, f) {
_root.framex.unfadex.gotoAndPlay(1);
if (_global.isLivesPowered) {
_root.framex.livesBar._visible = true;
}
_root.framex.happyChick._visible = false;
_root.framex.unhappyChick._visible = false;
_root.framex.leaveButton._visible = false;
_root.framex.leaveButton.enabled = false;
_root.framex.tryAgainButton._visible = false;
_root.framex.tryAgainButton.enabled = false;
_root.framex.continueButton._visible = false;
_root.framex.continueButton.enabled = false;
_root.framex.a1but._visible = false;
_root.framex.a1but.enabled = false;
_root.framex.a2but._visible = false;
_root.framex.a1but.enabled = false;
_root.framex.a3but._visible = false;
_root.framex.a1but.enabled = false;
trace("In modframe function");
if (((q == 0) && (f == 0)) || ((q != 0) && (f != 0))) {
trace("Error: Check modframe function parameters");
return(false);
}
if (((q < 0) || (q > (_global.questionList.length / 2))) || ((f < 0) || (f > (_global.failList.length / 2)))) {
trace("Error: Check question or fail index !");
return(false);
}
if ((q != 0) && (f == 0)) {
_root.framex.unhappyChick._visible = false;
_root.framex.happyChick._visible = true;
trace("Question text: " + _global.questionList[(q - 1) * 2]);
trace("Right Answer : " + _global.answerList[((q - 1) * 4) + 3]);
trace("Answer 1 text: " + _global.answerList[(q - 1) * 4]);
trace("Answer 2 text: " + _global.answerList[((q - 1) * 4) + 1]);
trace("Answer 3 text: " + _global.answerList[((q - 1) * 4) + 2]);
if ((parseInt(_global.questionList[((q - 1) * 2) + 1]) < 0) && (parseInt(_global.questionList[((q - 1) * 2) + 1]) > 1)) {
trace("Error: Check Question option at No " + q);
return(false);
}
if (parseInt(_global.questionList[((q - 1) * 2) + 1]) == 0) {
trace("Question is with answers");
_root.framex.a1but._visible = true;
_root.framex.a1but.enabled = true;
_root.framex.a2but._visible = true;
_root.framex.a1but.enabled = true;
_root.framex.a3but._visible = true;
_root.framex.a1but.enabled = true;
if ((parseInt(_global.answerList[((q - 1) * 4) + 3]) < 1) || (parseInt(_global.answerList[((q - 1) * 4) + 3]) > 3)) {
trace("Error: Check right answer index at Question " + q);
return(false);
}
ransInt = parseInt(_global.answerList[((q - 1) * 4) + 3]);
_global.pointer = 0;
_root.framex.qtext.text = "";
_global.s = _global.questionList[(q - 1) * 2];
outputQuestion();
ransIndex = random(3) + 1;
_global.rans = ransIndex;
trace((("Random Answer is " + ransIndex) + " and index form array is ") + ransInt);
answers = new Array(_global.answerList[(q - 1) * 4], _global.answerList[((q - 1) * 4) + 1], _global.answerList[((q - 1) * 4) + 2]);
i = 0;
if (ransIndex > ransInt) {
while (i < (ransIndex - ransInt)) {
answers.unshift(answers.pop());
i++;
}
}
if (ransIndex < ransInt) {
while (i < (ransInt - ransIndex)) {
answers.push(answers.shift());
i++;
}
}
_root.framex.a1but.a1text.text = answers[0];
_root.framex.a2but.a2text.text = answers[1];
_root.framex.a3but.a3text.text = answers[2];
return(true);
}
if (parseInt(_global.questionList[((q - 1) * 2) + 1]) == 1) {
trace("Question is with continue button");
_global.pointer = 0;
_root.framex.qtext.text = "";
_global.s = _global.questionList[(q - 1) * 2];
outputQuestion();
_root.framex.continueButton._visible = true;
_root.framex.continueButton.enabled = true;
return(true);
}
return(true);
}
if ((q == 0) && (f != 0)) {
trace((("###Fail phrase No " + f) + " is ") + _global.failList[(f - 1) * 2]);
trace("###Array No for that Fail phrase is " + ((f - 1) * 2));
_root.framex.tryAgainButton._visible = false;
_root.framex.tryAgainButton.enabled = false;
_root.framex.continueButton._visible = false;
_root.framex.continueButton.enabled = false;
_root.framex.happyChick._visible = false;
_root.framex.unhappyChick._visible = true;
trace("In F block");
_global.pointer = 0;
_root.framex.qtext.text = "";
_global.s = _global.failList[(f - 1) * 2];
outputQuestion();
if ((parseInt(_global.failList[((f - 1) * 2) + 1]) < 0) && (parseInt(_global.failList[((f - 1) * 2) + 1]) > 2)) {
trace("Error: Check Fail option at Fail phrase No " + f);
return(false);
}
if (parseInt(_global.failList[((f - 1) * 2) + 1]) == 0) {
trace("Fail option is to leave");
_root.framex.leaveButton._visible = true;
_root.framex.leaveButton.enabled = true;
return(true);
}
if (parseInt(_global.failList[((f - 1) * 2) + 1]) == 1) {
trace("Fail option is to try again");
_root.framex.tryAgainButton._visible = true;
_root.framex.tryAgainButton.enabled = true;
return(true);
}
if (parseInt(_global.failList[((f - 1) * 2) + 1]) == 2) {
trace("Fail option is to continue");
_root.framex.continueButton._visible = true;
_root.framex.continueButton.enabled = true;
return(true);
}
if (parseInt(_global.failList[((f - 1) * 2) + 1]) == 3) {
trace("Fail option is to jump to fail frame");
_root.gotoAndPlay(_global.failFrameName);
return(true);
}
return(true);
}
};
_global.isLivesPowered = false;
_global.livesCount = 3;
_global.currentQuestion = 1;
_global.setFrameName = "target_dialogue0";
_global.failFrameName = "office";
_global.successFrameName = "office";
_global.modframe(_global.currentQuestion, 0);
stop();
Frame 29
function outputQuestion() {
id11211 = setInterval(showNextSymbol, interval, _global.s);
}
function showNextSymbol() {
if (_global.s.charAt(_global.pointer) == "") {
clearInterval(id11211);
} else {
_root.framex.qtext.text = _root.framex.qtext.text + _global.s.charAt(_global.pointer);
_global.pointer++;
}
}
_global.questionList = new Array("I am busy now!", "1");
_global.failList = new Array("You are crazy!", "1");
_global.answerList = new Array("Yes.", "No.", "No, really", "1");
_global.pointer = 0;
_global.s = "";
var id11211;
var done = false;
var interval = 30;
_global.rightDo = function (a) {
trace("Right!");
_global.currentQuestion++;
if (_global.currentQuestion > (_global.questionList.length / 2)) {
trace("That is all for this Question Set");
_root.gotoAndPlay(_global.successFrameName);
return(true);
}
_global.modframe(_global.currentQuestion, 0);
return(true);
};
_global.wrongDo = function (a) {
if (_global.isLivesPowered) {
_global.livesCount--;
if (_global.livesCount >= 0) {
_root.framex.livesBar.livesCounter.text = _global.livesCount + "/3";
} else {
_root.framex.livesBar.livesCounter.text = "0/3";
}
trace(("###### YOU HAVE " + _global.livesCount) + " LIFES LEFT");
if (_global.livesCount == 2) {
_root.framex.livesBar.gotoAndPlay(2);
}
if (_global.livesCount == 1) {
_root.framex.livesBar.gotoAndPlay(15);
}
if (_global.livesCount == 0) {
_root.framex.livesBar.gotoAndPlay(30);
}
if (_global.livesCount < 0) {
trace("### False! You failed this set!");
_root.gotoAndPlay(_global.failFrameName);
}
_global.modframe(0, _global.currentQuestion);
} else {
_global.modframe(0, _global.currentQuestion);
}
trace("False!");
};
_global.qcheck = function (a) {
if (_global.rans == a) {
switch (a) {
case 1 :
_root.framex.a1but.gotoAndPlay(2);
break;
case 2 :
_root.framex.a2but.gotoAndPlay(2);
break;
case 3 :
_root.framex.a3but.gotoAndPlay(2);
break;
default :
trace("Error : Check button and right answer naming...");
}
} else {
switch (a) {
case 1 :
_root.framex.a1but.gotoAndPlay(10);
break;
case 2 :
_root.framex.a2but.gotoAndPlay(10);
break;
case 3 :
_root.framex.a3but.gotoAndPlay(10);
break;
default :
trace("Error : Check button and right answer naming...");
}
}
};
_global.leaveCheck = function () {
trace("Leaving Question Set");
_root.gotoAndPlay(_global.failFrameName);
};
_global.tryAgainCheck = function () {
trace("Starting again this Question Set");
_global.modframe(_global.currentQuestion, 0);
};
_global.continueCheck = function () {
trace("Next Question from this Set");
_global.currentQuestion++;
if (_global.currentQuestion > (_global.questionList.length / 2)) {
trace("That is all for this Question Set");
_root.gotoAndPlay(_global.successFrameName);
return(true);
}
_global.modframe(_global.currentQuestion, 0);
return(true);
};
_global.modframe = function (q, f) {
_root.framex.unfadex.gotoAndPlay(1);
if (_global.isLivesPowered) {
_root.framex.livesBar._visible = true;
}
_root.framex.happyChick._visible = false;
_root.framex.unhappyChick._visible = false;
_root.framex.leaveButton._visible = false;
_root.framex.leaveButton.enabled = false;
_root.framex.tryAgainButton._visible = false;
_root.framex.tryAgainButton.enabled = false;
_root.framex.continueButton._visible = false;
_root.framex.continueButton.enabled = false;
_root.framex.a1but._visible = false;
_root.framex.a1but.enabled = false;
_root.framex.a2but._visible = false;
_root.framex.a1but.enabled = false;
_root.framex.a3but._visible = false;
_root.framex.a1but.enabled = false;
trace("In modframe function");
if (((q == 0) && (f == 0)) || ((q != 0) && (f != 0))) {
trace("Error: Check modframe function parameters");
return(false);
}
if (((q < 0) || (q > (_global.questionList.length / 2))) || ((f < 0) || (f > (_global.failList.length / 2)))) {
trace("Error: Check question or fail index !");
return(false);
}
if ((q != 0) && (f == 0)) {
_root.framex.unhappyChick._visible = false;
_root.framex.happyChick._visible = true;
trace("Question text: " + _global.questionList[(q - 1) * 2]);
trace("Right Answer : " + _global.answerList[((q - 1) * 4) + 3]);
trace("Answer 1 text: " + _global.answerList[(q - 1) * 4]);
trace("Answer 2 text: " + _global.answerList[((q - 1) * 4) + 1]);
trace("Answer 3 text: " + _global.answerList[((q - 1) * 4) + 2]);
if ((parseInt(_global.questionList[((q - 1) * 2) + 1]) < 0) && (parseInt(_global.questionList[((q - 1) * 2) + 1]) > 1)) {
trace("Error: Check Question option at No " + q);
return(false);
}
if (parseInt(_global.questionList[((q - 1) * 2) + 1]) == 0) {
trace("Question is with answers");
_root.framex.a1but._visible = true;
_root.framex.a1but.enabled = true;
_root.framex.a2but._visible = true;
_root.framex.a1but.enabled = true;
_root.framex.a3but._visible = true;
_root.framex.a1but.enabled = true;
if ((parseInt(_global.answerList[((q - 1) * 4) + 3]) < 1) || (parseInt(_global.answerList[((q - 1) * 4) + 3]) > 3)) {
trace("Error: Check right answer index at Question " + q);
return(false);
}
ransInt = parseInt(_global.answerList[((q - 1) * 4) + 3]);
_global.pointer = 0;
_root.framex.qtext.text = "";
_global.s = _global.questionList[(q - 1) * 2];
outputQuestion();
ransIndex = random(3) + 1;
_global.rans = ransIndex;
trace((("Random Answer is " + ransIndex) + " and index form array is ") + ransInt);
answers = new Array(_global.answerList[(q - 1) * 4], _global.answerList[((q - 1) * 4) + 1], _global.answerList[((q - 1) * 4) + 2]);
i = 0;
if (ransIndex > ransInt) {
while (i < (ransIndex - ransInt)) {
answers.unshift(answers.pop());
i++;
}
}
if (ransIndex < ransInt) {
while (i < (ransInt - ransIndex)) {
answers.push(answers.shift());
i++;
}
}
_root.framex.a1but.a1text.text = answers[0];
_root.framex.a2but.a2text.text = answers[1];
_root.framex.a3but.a3text.text = answers[2];
return(true);
}
if (parseInt(_global.questionList[((q - 1) * 2) + 1]) == 1) {
trace("Question is with continue button");
_global.pointer = 0;
_root.framex.qtext.text = "";
_global.s = _global.questionList[(q - 1) * 2];
outputQuestion();
_root.framex.continueButton._visible = true;
_root.framex.continueButton.enabled = true;
return(true);
}
return(true);
}
if ((q == 0) && (f != 0)) {
trace((("###Fail phrase No " + f) + " is ") + _global.failList[(f - 1) * 2]);
trace("###Array No for that Fail phrase is " + ((f - 1) * 2));
_root.framex.tryAgainButton._visible = false;
_root.framex.tryAgainButton.enabled = false;
_root.framex.continueButton._visible = false;
_root.framex.continueButton.enabled = false;
_root.framex.happyChick._visible = false;
_root.framex.unhappyChick._visible = true;
trace("In F block");
_global.pointer = 0;
_root.framex.qtext.text = "";
_global.s = _global.failList[(f - 1) * 2];
outputQuestion();
if ((parseInt(_global.failList[((f - 1) * 2) + 1]) < 0) && (parseInt(_global.failList[((f - 1) * 2) + 1]) > 2)) {
trace("Error: Check Fail option at Fail phrase No " + f);
return(false);
}
if (parseInt(_global.failList[((f - 1) * 2) + 1]) == 0) {
trace("Fail option is to leave");
_root.framex.leaveButton._visible = true;
_root.framex.leaveButton.enabled = true;
return(true);
}
if (parseInt(_global.failList[((f - 1) * 2) + 1]) == 1) {
trace("Fail option is to try again");
_root.framex.tryAgainButton._visible = true;
_root.framex.tryAgainButton.enabled = true;
return(true);
}
if (parseInt(_global.failList[((f - 1) * 2) + 1]) == 2) {
trace("Fail option is to continue");
_root.framex.continueButton._visible = true;
_root.framex.continueButton.enabled = true;
return(true);
}
if (parseInt(_global.failList[((f - 1) * 2) + 1]) == 3) {
trace("Fail option is to jump to fail frame");
_root.gotoAndPlay(_global.failFrameName);
return(true);
}
return(true);
}
};
_global.isLivesPowered = false;
_global.livesCount = 3;
_global.currentQuestion = 1;
_global.setFrameName = "target_busy";
_global.failFrameName = "office";
_global.successFrameName = "office";
_global.modframe(_global.currentQuestion, 0);
stop();
Frame 30
function outputQuestion() {
id11211 = setInterval(showNextSymbol, interval, _global.s);
}
function showNextSymbol() {
if (_global.s.charAt(_global.pointer) == "") {
clearInterval(id11211);
} else {
_root.framex.qtext.text = _root.framex.qtext.text + _global.s.charAt(_global.pointer);
_global.pointer++;
}
}
_global.waitTime();
_global.questionList = new Array("Hello Mr. Smith.", "0", "Did you accomplish your task?", "0", "I knew you were a professional, Mr. Smith. The money will be sent to your account immediately.", "1");
_global.failList = new Array("Don\u2019t you dare talk like that about my wife!", "1", "I'm not interested in your lies.", "1", "I'm not interested in your lies.", "1");
_global.answerList = new Array("Hello Mr. Hallivan.", "Hello Mr. Hallivan. Your wife is a whore!", "Hello Mr. Hallivan. Your wife has a tight pussy!", "1", "Yes, I gathered all the necessary evidence and sent it to you.", "I slept with your wife, to prove adultery!", "I fucked both your wife and her lover!", "1", "Yes.", "No.", "No, really", "1");
_global.pointer = 0;
_global.s = "";
var id11211;
var done = false;
var interval = 30;
_global.rightDo = function (a) {
trace("Right!");
_global.currentQuestion++;
if (_global.currentQuestion > (_global.questionList.length / 2)) {
trace("That is all for this Question Set");
_root.gotoAndPlay(_global.successFrameName);
return(true);
}
_global.modframe(_global.currentQuestion, 0);
return(true);
};
_global.wrongDo = function (a) {
if (_global.isLivesPowered) {
_global.livesCount--;
if (_global.livesCount >= 0) {
_root.framex.livesBar.livesCounter.text = _global.livesCount + "/3";
} else {
_root.framex.livesBar.livesCounter.text = "0/3";
}
trace(("###### YOU HAVE " + _global.livesCount) + " LIFES LEFT");
if (_global.livesCount == 2) {
_root.framex.livesBar.gotoAndPlay(2);
}
if (_global.livesCount == 1) {
_root.framex.livesBar.gotoAndPlay(15);
}
if (_global.livesCount == 0) {
_root.framex.livesBar.gotoAndPlay(30);
}
if (_global.livesCount < 0) {
trace("### False! You failed this set!");
_root.gotoAndPlay(_global.failFrameName);
}
_global.modframe(0, _global.currentQuestion);
} else {
_global.modframe(0, _global.currentQuestion);
}
trace("False!");
};
_global.qcheck = function (a) {
if (_global.rans == a) {
switch (a) {
case 1 :
_root.framex.a1but.gotoAndPlay(2);
break;
case 2 :
_root.framex.a2but.gotoAndPlay(2);
break;
case 3 :
_root.framex.a3but.gotoAndPlay(2);
break;
default :
trace("Error : Check button and right answer naming...");
}
} else {
switch (a) {
case 1 :
_root.framex.a1but.gotoAndPlay(10);
break;
case 2 :
_root.framex.a2but.gotoAndPlay(10);
break;
case 3 :
_root.framex.a3but.gotoAndPlay(10);
break;
default :
trace("Error : Check button and right answer naming...");
}
}
};
_global.leaveCheck = function () {
trace("Leaving Question Set");
_root.gotoAndPlay(_global.failFrameName);
};
_global.tryAgainCheck = function () {
trace("Starting again this Question Set");
_global.modframe(_global.currentQuestion, 0);
};
_global.continueCheck = function () {
trace("Next Question from this Set");
_global.currentQuestion++;
if (_global.currentQuestion > (_global.questionList.length / 2)) {
trace("That is all for this Question Set");
_root.gotoAndPlay(_global.successFrameName);
return(true);
}
_global.modframe(_global.currentQuestion, 0);
return(true);
};
_global.modframe = function (q, f) {
_root.framex.unfadex.gotoAndPlay(1);
if (_global.isLivesPowered) {
_root.framex.livesBar._visible = true;
}
_root.framex.happyChick._visible = false;
_root.framex.unhappyChick._visible = false;
_root.framex.leaveButton._visible = false;
_root.framex.leaveButton.enabled = false;
_root.framex.tryAgainButton._visible = false;
_root.framex.tryAgainButton.enabled = false;
_root.framex.continueButton._visible = false;
_root.framex.continueButton.enabled = false;
_root.framex.a1but._visible = false;
_root.framex.a1but.enabled = false;
_root.framex.a2but._visible = false;
_root.framex.a1but.enabled = false;
_root.framex.a3but._visible = false;
_root.framex.a1but.enabled = false;
trace("In modframe function");
if (((q == 0) && (f == 0)) || ((q != 0) && (f != 0))) {
trace("Error: Check modframe function parameters");
return(false);
}
if (((q < 0) || (q > (_global.questionList.length / 2))) || ((f < 0) || (f > (_global.failList.length / 2)))) {
trace("Error: Check question or fail index !");
return(false);
}
if ((q != 0) && (f == 0)) {
_root.framex.unhappyChick._visible = false;
_root.framex.happyChick._visible = true;
trace("Question text: " + _global.questionList[(q - 1) * 2]);
trace("Right Answer : " + _global.answerList[((q - 1) * 4) + 3]);
trace("Answer 1 text: " + _global.answerList[(q - 1) * 4]);
trace("Answer 2 text: " + _global.answerList[((q - 1) * 4) + 1]);
trace("Answer 3 text: " + _global.answerList[((q - 1) * 4) + 2]);
if ((parseInt(_global.questionList[((q - 1) * 2) + 1]) < 0) && (parseInt(_global.questionList[((q - 1) * 2) + 1]) > 1)) {
trace("Error: Check Question option at No " + q);
return(false);
}
if (parseInt(_global.questionList[((q - 1) * 2) + 1]) == 0) {
trace("Question is with answers");
_root.framex.a1but._visible = true;
_root.framex.a1but.enabled = true;
_root.framex.a2but._visible = true;
_root.framex.a1but.enabled = true;
_root.framex.a3but._visible = true;
_root.framex.a1but.enabled = true;
if ((parseInt(_global.answerList[((q - 1) * 4) + 3]) < 1) || (parseInt(_global.answerList[((q - 1) * 4) + 3]) > 3)) {
trace("Error: Check right answer index at Question " + q);
return(false);
}
ransInt = parseInt(_global.answerList[((q - 1) * 4) + 3]);
_global.pointer = 0;
_root.framex.qtext.text = "";
_global.s = _global.questionList[(q - 1) * 2];
outputQuestion();
ransIndex = random(3) + 1;
_global.rans = ransIndex;
trace((("Random Answer is " + ransIndex) + " and index form array is ") + ransInt);
answers = new Array(_global.answerList[(q - 1) * 4], _global.answerList[((q - 1) * 4) + 1], _global.answerList[((q - 1) * 4) + 2]);
i = 0;
if (ransIndex > ransInt) {
while (i < (ransIndex - ransInt)) {
answers.unshift(answers.pop());
i++;
}
}
if (ransIndex < ransInt) {
while (i < (ransInt - ransIndex)) {
answers.push(answers.shift());
i++;
}
}
_root.framex.a1but.a1text.text = answers[0];
_root.framex.a2but.a2text.text = answers[1];
_root.framex.a3but.a3text.text = answers[2];
return(true);
}
if (parseInt(_global.questionList[((q - 1) * 2) + 1]) == 1) {
trace("Question is with continue button");
_global.pointer = 0;
_root.framex.qtext.text = "";
_global.s = _global.questionList[(q - 1) * 2];
outputQuestion();
_root.framex.continueButton._visible = true;
_root.framex.continueButton.enabled = true;
return(true);
}
return(true);
}
if ((q == 0) && (f != 0)) {
trace((("###Fail phrase No " + f) + " is ") + _global.failList[(f - 1) * 2]);
trace("###Array No for that Fail phrase is " + ((f - 1) * 2));
_root.framex.tryAgainButton._visible = false;
_root.framex.tryAgainButton.enabled = false;
_root.framex.continueButton._visible = false;
_root.framex.continueButton.enabled = false;
_root.framex.happyChick._visible = false;
_root.framex.unhappyChick._visible = true;
trace("In F block");
_global.pointer = 0;
_root.framex.qtext.text = "";
_global.s = _global.failList[(f - 1) * 2];
outputQuestion();
if ((parseInt(_global.failList[((f - 1) * 2) + 1]) < 0) && (parseInt(_global.failList[((f - 1) * 2) + 1]) > 2)) {
trace("Error: Check Fail option at Fail phrase No " + f);
return(false);
}
if (parseInt(_global.failList[((f - 1) * 2) + 1]) == 0) {
trace("Fail option is to leave");
_root.framex.leaveButton._visible = true;
_root.framex.leaveButton.enabled = true;
return(true);
}
if (parseInt(_global.failList[((f - 1) * 2) + 1]) == 1) {
trace("Fail option is to try again");
_root.framex.tryAgainButton._visible = true;
_root.framex.tryAgainButton.enabled = true;
return(true);
}
if (parseInt(_global.failList[((f - 1) * 2) + 1]) == 2) {
trace("Fail option is to continue");
_root.framex.continueButton._visible = true;
_root.framex.continueButton.enabled = true;
return(true);
}
if (parseInt(_global.failList[((f - 1) * 2) + 1]) == 3) {
trace("Fail option is to jump to fail frame");
_root.gotoAndPlay(_global.failFrameName);
return(true);
}
return(true);
}
};
_global.isLivesPowered = false;
_global.livesCount = 3;
_global.currentQuestion = 1;
_global.setFrameName = "husband_dialogue0";
_global.failFrameName = "office_money";
_global.successFrameName = "office_money";
_global.modframe(_global.currentQuestion, 0);
stop();
Frame 31
function outputQuestion() {
id11211 = setInterval(showNextSymbol, interval, _global.s);
}
function showNextSymbol() {
if (_global.s.charAt(_global.pointer) == "") {
clearInterval(id11211);
} else {
_root.framex.qtext.text = _root.framex.qtext.text + _global.s.charAt(_global.pointer);
_global.pointer++;
}
}
_global.waitTime();
_global.questionList = new Array("Hello Mr. Smith.", "0", "Did you accomplish your task?", "0", "I knew that you were a professional, Mr. Smith. But I only pay for indisputable evidence, not some possibly doctored photos.", "1");
_global.failList = new Array("Don\u2019t you dare talk like that about my wife!", "1", "I'm not interested in your lies.", "1", "I'm not interested in your lies.", "1");
_global.answerList = new Array("Hello Mr. Hallivan.", "Hello Mr. Hallivan. Your wife is a whore!", "Hello Mr. Hallivan. Your wife has a tight pussy!", "1", "Not yet, but I have some photos.", "I slept with your wife, to prove adultery!", "I fucked both your wife and her lover!", "1", "Yes.", "No.", "No, really", "1");
_global.pointer = 0;
_global.s = "";
var id11211;
var done = false;
var interval = 30;
_global.rightDo = function (a) {
trace("Right!");
_global.currentQuestion++;
if (_global.currentQuestion > (_global.questionList.length / 2)) {
trace("That is all for this Question Set");
_root.gotoAndPlay(_global.successFrameName);
return(true);
}
_global.modframe(_global.currentQuestion, 0);
return(true);
};
_global.wrongDo = function (a) {
if (_global.isLivesPowered) {
_global.livesCount--;
if (_global.livesCount >= 0) {
_root.framex.livesBar.livesCounter.text = _global.livesCount + "/3";
} else {
_root.framex.livesBar.livesCounter.text = "0/3";
}
trace(("###### YOU HAVE " + _global.livesCount) + " LIFES LEFT");
if (_global.livesCount == 2) {
_root.framex.livesBar.gotoAndPlay(2);
}
if (_global.livesCount == 1) {
_root.framex.livesBar.gotoAndPlay(15);
}
if (_global.livesCount == 0) {
_root.framex.livesBar.gotoAndPlay(30);
}
if (_global.livesCount < 0) {
trace("### False! You failed this set!");
_root.gotoAndPlay(_global.failFrameName);
}
_global.modframe(0, _global.currentQuestion);
} else {
_global.modframe(0, _global.currentQuestion);
}
trace("False!");
};
_global.qcheck = function (a) {
if (_global.rans == a) {
switch (a) {
case 1 :
_root.framex.a1but.gotoAndPlay(2);
break;
case 2 :
_root.framex.a2but.gotoAndPlay(2);
break;
case 3 :
_root.framex.a3but.gotoAndPlay(2);
break;
default :
trace("Error : Check button and right answer naming...");
}
} else {
switch (a) {
case 1 :
_root.framex.a1but.gotoAndPlay(10);
break;
case 2 :
_root.framex.a2but.gotoAndPlay(10);
break;
case 3 :
_root.framex.a3but.gotoAndPlay(10);
break;
default :
trace("Error : Check button and right answer naming...");
}
}
};
_global.leaveCheck = function () {
trace("Leaving Question Set");
_root.gotoAndPlay(_global.failFrameName);
};
_global.tryAgainCheck = function () {
trace("Starting again this Question Set");
_global.modframe(_global.currentQuestion, 0);
};
_global.continueCheck = function () {
trace("Next Question from this Set");
_global.currentQuestion++;
if (_global.currentQuestion > (_global.questionList.length / 2)) {
trace("That is all for this Question Set");
_root.gotoAndPlay(_global.successFrameName);
return(true);
}
_global.modframe(_global.currentQuestion, 0);
return(true);
};
_global.modframe = function (q, f) {
_root.framex.unfadex.gotoAndPlay(1);
if (_global.isLivesPowered) {
_root.framex.livesBar._visible = true;
}
_root.framex.happyChick._visible = false;
_root.framex.unhappyChick._visible = false;
_root.framex.leaveButton._visible = false;
_root.framex.leaveButton.enabled = false;
_root.framex.tryAgainButton._visible = false;
_root.framex.tryAgainButton.enabled = false;
_root.framex.continueButton._visible = false;
_root.framex.continueButton.enabled = false;
_root.framex.a1but._visible = false;
_root.framex.a1but.enabled = false;
_root.framex.a2but._visible = false;
_root.framex.a1but.enabled = false;
_root.framex.a3but._visible = false;
_root.framex.a1but.enabled = false;
trace("In modframe function");
if (((q == 0) && (f == 0)) || ((q != 0) && (f != 0))) {
trace("Error: Check modframe function parameters");
return(false);
}
if (((q < 0) || (q > (_global.questionList.length / 2))) || ((f < 0) || (f > (_global.failList.length / 2)))) {
trace("Error: Check question or fail index !");
return(false);
}
if ((q != 0) && (f == 0)) {
_root.framex.unhappyChick._visible = false;
_root.framex.happyChick._visible = true;
trace("Question text: " + _global.questionList[(q - 1) * 2]);
trace("Right Answer : " + _global.answerList[((q - 1) * 4) + 3]);
trace("Answer 1 text: " + _global.answerList[(q - 1) * 4]);
trace("Answer 2 text: " + _global.answerList[((q - 1) * 4) + 1]);
trace("Answer 3 text: " + _global.answerList[((q - 1) * 4) + 2]);
if ((parseInt(_global.questionList[((q - 1) * 2) + 1]) < 0) && (parseInt(_global.questionList[((q - 1) * 2) + 1]) > 1)) {
trace("Error: Check Question option at No " + q);
return(false);
}
if (parseInt(_global.questionList[((q - 1) * 2) + 1]) == 0) {
trace("Question is with answers");
_root.framex.a1but._visible = true;
_root.framex.a1but.enabled = true;
_root.framex.a2but._visible = true;
_root.framex.a1but.enabled = true;
_root.framex.a3but._visible = true;
_root.framex.a1but.enabled = true;
if ((parseInt(_global.answerList[((q - 1) * 4) + 3]) < 1) || (parseInt(_global.answerList[((q - 1) * 4) + 3]) > 3)) {
trace("Error: Check right answer index at Question " + q);
return(false);
}
ransInt = parseInt(_global.answerList[((q - 1) * 4) + 3]);
_global.pointer = 0;
_root.framex.qtext.text = "";
_global.s = _global.questionList[(q - 1) * 2];
outputQuestion();
ransIndex = random(3) + 1;
_global.rans = ransIndex;
trace((("Random Answer is " + ransIndex) + " and index form array is ") + ransInt);
answers = new Array(_global.answerList[(q - 1) * 4], _global.answerList[((q - 1) * 4) + 1], _global.answerList[((q - 1) * 4) + 2]);
i = 0;
if (ransIndex > ransInt) {
while (i < (ransIndex - ransInt)) {
answers.unshift(answers.pop());
i++;
}
}
if (ransIndex < ransInt) {
while (i < (ransInt - ransIndex)) {
answers.push(answers.shift());
i++;
}
}
_root.framex.a1but.a1text.text = answers[0];
_root.framex.a2but.a2text.text = answers[1];
_root.framex.a3but.a3text.text = answers[2];
return(true);
}
if (parseInt(_global.questionList[((q - 1) * 2) + 1]) == 1) {
trace("Question is with continue button");
_global.pointer = 0;
_root.framex.qtext.text = "";
_global.s = _global.questionList[(q - 1) * 2];
outputQuestion();
_root.framex.continueButton._visible = true;
_root.framex.continueButton.enabled = true;
return(true);
}
return(true);
}
if ((q == 0) && (f != 0)) {
trace((("###Fail phrase No " + f) + " is ") + _global.failList[(f - 1) * 2]);
trace("###Array No for that Fail phrase is " + ((f - 1) * 2));
_root.framex.tryAgainButton._visible = false;
_root.framex.tryAgainButton.enabled = false;
_root.framex.continueButton._visible = false;
_root.framex.continueButton.enabled = false;
_root.framex.happyChick._visible = false;
_root.framex.unhappyChick._visible = true;
trace("In F block");
_global.pointer = 0;
_root.framex.qtext.text = "";
_global.s = _global.failList[(f - 1) * 2];
outputQuestion();
if ((parseInt(_global.failList[((f - 1) * 2) + 1]) < 0) && (parseInt(_global.failList[((f - 1) * 2) + 1]) > 2)) {
trace("Error: Check Fail option at Fail phrase No " + f);
return(false);
}
if (parseInt(_global.failList[((f - 1) * 2) + 1]) == 0) {
trace("Fail option is to leave");
_root.framex.leaveButton._visible = true;
_root.framex.leaveButton.enabled = true;
return(true);
}
if (parseInt(_global.failList[((f - 1) * 2) + 1]) == 1) {
trace("Fail option is to try again");
_root.framex.tryAgainButton._visible = true;
_root.framex.tryAgainButton.enabled = true;
return(true);
}
if (parseInt(_global.failList[((f - 1) * 2) + 1]) == 2) {
trace("Fail option is to continue");
_root.framex.continueButton._visible = true;
_root.framex.continueButton.enabled = true;
return(true);
}
if (parseInt(_global.failList[((f - 1) * 2) + 1]) == 3) {
trace("Fail option is to jump to fail frame");
_root.gotoAndPlay(_global.failFrameName);
return(true);
}
return(true);
}
};
_global.isLivesPowered = false;
_global.livesCount = 3;
_global.currentQuestion = 1;
_global.setFrameName = "husband_dialogue0noevidences";
_global.failFrameName = "office";
_global.successFrameName = "office";
_global.modframe(_global.currentQuestion, 0);
stop();
Frame 32
stop();
Frame 33
stop();
Frame 34
stop();
Frame 35
function outputQuestion() {
id11211 = setInterval(showNextSymbol, interval, _global.s);
}
function showNextSymbol() {
if (_global.s.charAt(_global.pointer) == "") {
clearInterval(id11211);
} else {
_root.framex.qtext.text = _root.framex.qtext.text + _global.s.charAt(_global.pointer);
_global.pointer++;
}
}
_global.questionList = new Array("John, you were great, but I'm very busy today. Let's do it again later.", "1");
_global.failList = new Array("You are crazy!", "1");
_global.answerList = new Array("Yes.", "No.", "No, really", "1");
_global.pointer = 0;
_global.s = "";
var id11211;
var done = false;
var interval = 30;
_global.rightDo = function (a) {
trace("Right!");
_global.currentQuestion++;
if (_global.currentQuestion > (_global.questionList.length / 2)) {
trace("That is all for this Question Set");
_root.gotoAndPlay(_global.successFrameName);
return(true);
}
_global.modframe(_global.currentQuestion, 0);
return(true);
};
_global.wrongDo = function (a) {
if (_global.isLivesPowered) {
_global.livesCount--;
if (_global.livesCount >= 0) {
_root.framex.livesBar.livesCounter.text = _global.livesCount + "/3";
} else {
_root.framex.livesBar.livesCounter.text = "0/3";
}
trace(("###### YOU HAVE " + _global.livesCount) + " LIFES LEFT");
if (_global.livesCount == 2) {
_root.framex.livesBar.gotoAndPlay(2);
}
if (_global.livesCount == 1) {
_root.framex.livesBar.gotoAndPlay(15);
}
if (_global.livesCount == 0) {
_root.framex.livesBar.gotoAndPlay(30);
}
if (_global.livesCount < 0) {
trace("### False! You failed this set!");
_root.gotoAndPlay(_global.failFrameName);
}
_global.modframe(0, _global.currentQuestion);
} else {
_global.modframe(0, _global.currentQuestion);
}
trace("False!");
};
_global.qcheck = function (a) {
if (_global.rans == a) {
switch (a) {
case 1 :
_root.framex.a1but.gotoAndPlay(2);
break;
case 2 :
_root.framex.a2but.gotoAndPlay(2);
break;
case 3 :
_root.framex.a3but.gotoAndPlay(2);
break;
default :
trace("Error : Check button and right answer naming...");
}
} else {
switch (a) {
case 1 :
_root.framex.a1but.gotoAndPlay(10);
break;
case 2 :
_root.framex.a2but.gotoAndPlay(10);
break;
case 3 :
_root.framex.a3but.gotoAndPlay(10);
break;
default :
trace("Error : Check button and right answer naming...");
}
}
};
_global.leaveCheck = function () {
trace("Leaving Question Set");
_root.gotoAndPlay(_global.failFrameName);
};
_global.tryAgainCheck = function () {
trace("Starting again this Question Set");
_global.modframe(_global.currentQuestion, 0);
};
_global.continueCheck = function () {
trace("Next Question from this Set");
_global.currentQuestion++;
if (_global.currentQuestion > (_global.questionList.length / 2)) {
trace("That is all for this Question Set");
_root.gotoAndPlay(_global.successFrameName);
return(true);
}
_global.modframe(_global.currentQuestion, 0);
return(true);
};
_global.modframe = function (q, f) {
_root.framex.unfadex.gotoAndPlay(1);
if (_global.isLivesPowered) {
_root.framex.livesBar._visible = true;
}
_root.framex.happyChick._visible = false;
_root.framex.unhappyChick._visible = false;
_root.framex.leaveButton._visible = false;
_root.framex.leaveButton.enabled = false;
_root.framex.tryAgainButton._visible = false;
_root.framex.tryAgainButton.enabled = false;
_root.framex.continueButton._visible = false;
_root.framex.continueButton.enabled = false;
_root.framex.a1but._visible = false;
_root.framex.a1but.enabled = false;
_root.framex.a2but._visible = false;
_root.framex.a1but.enabled = false;
_root.framex.a3but._visible = false;
_root.framex.a1but.enabled = false;
trace("In modframe function");
if (((q == 0) && (f == 0)) || ((q != 0) && (f != 0))) {
trace("Error: Check modframe function parameters");
return(false);
}
if (((q < 0) || (q > (_global.questionList.length / 2))) || ((f < 0) || (f > (_global.failList.length / 2)))) {
trace("Error: Check question or fail index !");
return(false);
}
if ((q != 0) && (f == 0)) {
_root.framex.unhappyChick._visible = false;
_root.framex.happyChick._visible = true;
trace("Question text: " + _global.questionList[(q - 1) * 2]);
trace("Right Answer : " + _global.answerList[((q - 1) * 4) + 3]);
trace("Answer 1 text: " + _global.answerList[(q - 1) * 4]);
trace("Answer 2 text: " + _global.answerList[((q - 1) * 4) + 1]);
trace("Answer 3 text: " + _global.answerList[((q - 1) * 4) + 2]);
if ((parseInt(_global.questionList[((q - 1) * 2) + 1]) < 0) && (parseInt(_global.questionList[((q - 1) * 2) + 1]) > 1)) {
trace("Error: Check Question option at No " + q);
return(false);
}
if (parseInt(_global.questionList[((q - 1) * 2) + 1]) == 0) {
trace("Question is with answers");
_root.framex.a1but._visible = true;
_root.framex.a1but.enabled = true;
_root.framex.a2but._visible = true;
_root.framex.a1but.enabled = true;
_root.framex.a3but._visible = true;
_root.framex.a1but.enabled = true;
if ((parseInt(_global.answerList[((q - 1) * 4) + 3]) < 1) || (parseInt(_global.answerList[((q - 1) * 4) + 3]) > 3)) {
trace("Error: Check right answer index at Question " + q);
return(false);
}
ransInt = parseInt(_global.answerList[((q - 1) * 4) + 3]);
_global.pointer = 0;
_root.framex.qtext.text = "";
_global.s = _global.questionList[(q - 1) * 2];
outputQuestion();
ransIndex = random(3) + 1;
_global.rans = ransIndex;
trace((("Random Answer is " + ransIndex) + " and index form array is ") + ransInt);
answers = new Array(_global.answerList[(q - 1) * 4], _global.answerList[((q - 1) * 4) + 1], _global.answerList[((q - 1) * 4) + 2]);
i = 0;
if (ransIndex > ransInt) {
while (i < (ransIndex - ransInt)) {
answers.unshift(answers.pop());
i++;
}
}
if (ransIndex < ransInt) {
while (i < (ransInt - ransIndex)) {
answers.push(answers.shift());
i++;
}
}
_root.framex.a1but.a1text.text = answers[0];
_root.framex.a2but.a2text.text = answers[1];
_root.framex.a3but.a3text.text = answers[2];
return(true);
}
if (parseInt(_global.questionList[((q - 1) * 2) + 1]) == 1) {
trace("Question is with continue button");
_global.pointer = 0;
_root.framex.qtext.text = "";
_global.s = _global.questionList[(q - 1) * 2];
outputQuestion();
_root.framex.continueButton._visible = true;
_root.framex.continueButton.enabled = true;
return(true);
}
return(true);
}
if ((q == 0) && (f != 0)) {
trace((("###Fail phrase No " + f) + " is ") + _global.failList[(f - 1) * 2]);
trace("###Array No for that Fail phrase is " + ((f - 1) * 2));
_root.framex.tryAgainButton._visible = false;
_root.framex.tryAgainButton.enabled = false;
_root.framex.continueButton._visible = false;
_root.framex.continueButton.enabled = false;
_root.framex.happyChick._visible = false;
_root.framex.unhappyChick._visible = true;
trace("In F block");
_global.pointer = 0;
_root.framex.qtext.text = "";
_global.s = _global.failList[(f - 1) * 2];
outputQuestion();
if ((parseInt(_global.failList[((f - 1) * 2) + 1]) < 0) && (parseInt(_global.failList[((f - 1) * 2) + 1]) > 2)) {
trace("Error: Check Fail option at Fail phrase No " + f);
return(false);
}
if (parseInt(_global.failList[((f - 1) * 2) + 1]) == 0) {
trace("Fail option is to leave");
_root.framex.leaveButton._visible = true;
_root.framex.leaveButton.enabled = true;
return(true);
}
if (parseInt(_global.failList[((f - 1) * 2) + 1]) == 1) {
trace("Fail option is to try again");
_root.framex.tryAgainButton._visible = true;
_root.framex.tryAgainButton.enabled = true;
return(true);
}
if (parseInt(_global.failList[((f - 1) * 2) + 1]) == 2) {
trace("Fail option is to continue");
_root.framex.continueButton._visible = true;
_root.framex.continueButton.enabled = true;
return(true);
}
if (parseInt(_global.failList[((f - 1) * 2) + 1]) == 3) {
trace("Fail option is to jump to fail frame");
_root.gotoAndPlay(_global.failFrameName);
return(true);
}
return(true);
}
};
_global.isLivesPowered = false;
_global.livesCount = 3;
_global.currentQuestion = 1;
_global.setFrameName = "office_sexhad";
_global.failFrameName = "office";
_global.successFrameName = "office";
_global.modframe(_global.currentQuestion, 0);
stop();
Frame 36
stop();
Frame 37
function outputQuestion() {
id11211 = setInterval(showNextSymbol, interval, _global.s);
}
function showNextSymbol() {
if (_global.s.charAt(_global.pointer) == "") {
clearInterval(id11211);
} else {
_root.framex.qtext.text = _root.framex.qtext.text + _global.s.charAt(_global.pointer);
_global.pointer++;
}
}
_global.questionList = new Array("John, I have too much work. Let\u2019s do it again some other time.", "1");
_global.failList = new Array("You are crazy!", "1");
_global.answerList = new Array("Yes.", "No.", "No, really", "1");
_global.pointer = 0;
_global.s = "";
var id11211;
var done = false;
var interval = 30;
_global.rightDo = function (a) {
trace("Right!");
_global.currentQuestion++;
if (_global.currentQuestion > (_global.questionList.length / 2)) {
trace("That is all for this Question Set");
_root.gotoAndPlay(_global.successFrameName);
return(true);
}
_global.modframe(_global.currentQuestion, 0);
return(true);
};
_global.wrongDo = function (a) {
if (_global.isLivesPowered) {
_global.livesCount--;
if (_global.livesCount >= 0) {
_root.framex.livesBar.livesCounter.text = _global.livesCount + "/3";
} else {
_root.framex.livesBar.livesCounter.text = "0/3";
}
trace(("###### YOU HAVE " + _global.livesCount) + " LIFES LEFT");
if (_global.livesCount == 2) {
_root.framex.livesBar.gotoAndPlay(2);
}
if (_global.livesCount == 1) {
_root.framex.livesBar.gotoAndPlay(15);
}
if (_global.livesCount == 0) {
_root.framex.livesBar.gotoAndPlay(30);
}
if (_global.livesCount < 0) {
trace("### False! You failed this set!");
_root.gotoAndPlay(_global.failFrameName);
}
_global.modframe(0, _global.currentQuestion);
} else {
_global.modframe(0, _global.currentQuestion);
}
trace("False!");
};
_global.qcheck = function (a) {
if (_global.rans == a) {
switch (a) {
case 1 :
_root.framex.a1but.gotoAndPlay(2);
break;
case 2 :
_root.framex.a2but.gotoAndPlay(2);
break;
case 3 :
_root.framex.a3but.gotoAndPlay(2);
break;
default :
trace("Error : Check button and right answer naming...");
}
} else {
switch (a) {
case 1 :
_root.framex.a1but.gotoAndPlay(10);
break;
case 2 :
_root.framex.a2but.gotoAndPlay(10);
break;
case 3 :
_root.framex.a3but.gotoAndPlay(10);
break;
default :
trace("Error : Check button and right answer naming...");
}
}
};
_global.leaveCheck = function () {
trace("Leaving Question Set");
_root.gotoAndPlay(_global.failFrameName);
};
_global.tryAgainCheck = function () {
trace("Starting again this Question Set");
_global.modframe(_global.currentQuestion, 0);
};
_global.continueCheck = function () {
trace("Next Question from this Set");
_global.currentQuestion++;
if (_global.currentQuestion > (_global.questionList.length / 2)) {
trace("That is all for this Question Set");
_root.gotoAndPlay(_global.successFrameName);
return(true);
}
_global.modframe(_global.currentQuestion, 0);
return(true);
};
_global.modframe = function (q, f) {
_root.framex.unfadex.gotoAndPlay(1);
if (_global.isLivesPowered) {
_root.framex.livesBar._visible = true;
}
_root.framex.happyChick._visible = false;
_root.framex.unhappyChick._visible = false;
_root.framex.leaveButton._visible = false;
_root.framex.leaveButton.enabled = false;
_root.framex.tryAgainButton._visible = false;
_root.framex.tryAgainButton.enabled = false;
_root.framex.continueButton._visible = false;
_root.framex.continueButton.enabled = false;
_root.framex.a1but._visible = false;
_root.framex.a1but.enabled = false;
_root.framex.a2but._visible = false;
_root.framex.a1but.enabled = false;
_root.framex.a3but._visible = false;
_root.framex.a1but.enabled = false;
trace("In modframe function");
if (((q == 0) && (f == 0)) || ((q != 0) && (f != 0))) {
trace("Error: Check modframe function parameters");
return(false);
}
if (((q < 0) || (q > (_global.questionList.length / 2))) || ((f < 0) || (f > (_global.failList.length / 2)))) {
trace("Error: Check question or fail index !");
return(false);
}
if ((q != 0) && (f == 0)) {
_root.framex.unhappyChick._visible = false;
_root.framex.happyChick._visible = true;
trace("Question text: " + _global.questionList[(q - 1) * 2]);
trace("Right Answer : " + _global.answerList[((q - 1) * 4) + 3]);
trace("Answer 1 text: " + _global.answerList[(q - 1) * 4]);
trace("Answer 2 text: " + _global.answerList[((q - 1) * 4) + 1]);
trace("Answer 3 text: " + _global.answerList[((q - 1) * 4) + 2]);
if ((parseInt(_global.questionList[((q - 1) * 2) + 1]) < 0) && (parseInt(_global.questionList[((q - 1) * 2) + 1]) > 1)) {
trace("Error: Check Question option at No " + q);
return(false);
}
if (parseInt(_global.questionList[((q - 1) * 2) + 1]) == 0) {
trace("Question is with answers");
_root.framex.a1but._visible = true;
_root.framex.a1but.enabled = true;
_root.framex.a2but._visible = true;
_root.framex.a1but.enabled = true;
_root.framex.a3but._visible = true;
_root.framex.a1but.enabled = true;
if ((parseInt(_global.answerList[((q - 1) * 4) + 3]) < 1) || (parseInt(_global.answerList[((q - 1) * 4) + 3]) > 3)) {
trace("Error: Check right answer index at Question " + q);
return(false);
}
ransInt = parseInt(_global.answerList[((q - 1) * 4) + 3]);
_global.pointer = 0;
_root.framex.qtext.text = "";
_global.s = _global.questionList[(q - 1) * 2];
outputQuestion();
ransIndex = random(3) + 1;
_global.rans = ransIndex;
trace((("Random Answer is " + ransIndex) + " and index form array is ") + ransInt);
answers = new Array(_global.answerList[(q - 1) * 4], _global.answerList[((q - 1) * 4) + 1], _global.answerList[((q - 1) * 4) + 2]);
i = 0;
if (ransIndex > ransInt) {
while (i < (ransIndex - ransInt)) {
answers.unshift(answers.pop());
i++;
}
}
if (ransIndex < ransInt) {
while (i < (ransInt - ransIndex)) {
answers.push(answers.shift());
i++;
}
}
_root.framex.a1but.a1text.text = answers[0];
_root.framex.a2but.a2text.text = answers[1];
_root.framex.a3but.a3text.text = answers[2];
return(true);
}
if (parseInt(_global.questionList[((q - 1) * 2) + 1]) == 1) {
trace("Question is with continue button");
_global.pointer = 0;
_root.framex.qtext.text = "";
_global.s = _global.questionList[(q - 1) * 2];
outputQuestion();
_root.framex.continueButton._visible = true;
_root.framex.continueButton.enabled = true;
return(true);
}
return(true);
}
if ((q == 0) && (f != 0)) {
trace((("###Fail phrase No " + f) + " is ") + _global.failList[(f - 1) * 2]);
trace("###Array No for that Fail phrase is " + ((f - 1) * 2));
_root.framex.tryAgainButton._visible = false;
_root.framex.tryAgainButton.enabled = false;
_root.framex.continueButton._visible = false;
_root.framex.continueButton.enabled = false;
_root.framex.happyChick._visible = false;
_root.framex.unhappyChick._visible = true;
trace("In F block");
_global.pointer = 0;
_root.framex.qtext.text = "";
_global.s = _global.failList[(f - 1) * 2];
outputQuestion();
if ((parseInt(_global.failList[((f - 1) * 2) + 1]) < 0) && (parseInt(_global.failList[((f - 1) * 2) + 1]) > 2)) {
trace("Error: Check Fail option at Fail phrase No " + f);
return(false);
}
if (parseInt(_global.failList[((f - 1) * 2) + 1]) == 0) {
trace("Fail option is to leave");
_root.framex.leaveButton._visible = true;
_root.framex.leaveButton.enabled = true;
return(true);
}
if (parseInt(_global.failList[((f - 1) * 2) + 1]) == 1) {
trace("Fail option is to try again");
_root.framex.tryAgainButton._visible = true;
_root.framex.tryAgainButton.enabled = true;
return(true);
}
if (parseInt(_global.failList[((f - 1) * 2) + 1]) == 2) {
trace("Fail option is to continue");
_root.framex.continueButton._visible = true;
_root.framex.continueButton.enabled = true;
return(true);
}
if (parseInt(_global.failList[((f - 1) * 2) + 1]) == 3) {
trace("Fail option is to jump to fail frame");
_root.gotoAndPlay(_global.failFrameName);
return(true);
}
return(true);
}
};
_global.isLivesPowered = false;
_global.livesCount = 3;
_global.currentQuestion = 1;
_global.setFrameName = "hotel_sexhad";
_global.failFrameName = "hotel_inside";
_global.successFrameName = "hotel_inside";
_global.modframe(_global.currentQuestion, 0);
stop();
Frame 38
stop();
Frame 39
stop();
Frame 40
stop();
Frame 41
stop();
Frame 42
stop();
Frame 43
stop();
Frame 44
stop();
Frame 45
stop();
Frame 46
stop();
Frame 47
stop();
Frame 48
stop();
Frame 49
_global.waitTime();
_root._quality = "MEDIUM";
if (sounds._currentframe != 1) {
stopAllSounds();
sounds.gotoAndPlay(3);
}
_nextButton.onRollOver = function () {
_nextButton.gotoAndStop(2);
};
_nextButton.onRollOut = function () {
_nextButton.gotoAndStop(1);
};
_nextButton.onPress = function () {
_root.gotoAndPlay("office_cum");
};
stop();
Frame 50
_nextButton.onRollOver = function () {
_nextButton.gotoAndStop(2);
};
_nextButton.onRollOut = function () {
_nextButton.gotoAndStop(1);
};
_nextButton.onPress = function () {
_root.gotoAndPlay("office");
};
stop();
Frame 51
_global.waitTime();
if (sounds._currentframe != 1) {
stopAllSounds();
sounds.gotoAndPlay(3);
}
_nextButton.onRollOver = function () {
_nextButton.gotoAndStop(2);
};
_nextButton.onRollOut = function () {
_nextButton.gotoAndStop(1);
};
_nextButton.onPress = function () {
_root.gotoAndPlay("fitness_sex");
};
stop();
Instance of Symbol 795 MovieClip in Frame 51
/* no clip actions */
Frame 52
_global.waitTime();
_nextButton.onRollOver = function () {
_nextButton.gotoAndStop(2);
};
_nextButton.onRollOut = function () {
_nextButton.gotoAndStop(1);
};
_nextButton.onPress = function () {
_root.gotoAndPlay("fitness_cum");
};
stop();
Frame 53
_global.waitTime();
_nextButton.onRollOver = function () {
_nextButton.gotoAndStop(2);
};
_nextButton.onRollOut = function () {
_nextButton.gotoAndStop(1);
};
_nextButton.onPress = function () {
_root.gotoAndPlay("fitness_inside");
};
stop();
Frame 54
_global.waitTime();
if (sounds._currentframe != 1) {
stopAllSounds();
sounds.gotoAndPlay(3);
}
_nextButton.onRollOver = function () {
_nextButton.gotoAndStop(2);
};
_nextButton.onRollOut = function () {
_nextButton.gotoAndStop(1);
};
_nextButton.onPress = function () {
_root.gotoAndPlay("hotel_sex");
};
stop();
Frame 55
_global.waitTime();
_nextButton.onRollOver = function () {
_nextButton.gotoAndStop(2);
};
_nextButton.onRollOut = function () {
_nextButton.gotoAndStop(1);
};
_nextButton.onPress = function () {
_root.gotoAndPlay("hotel_cum");
};
stop();
Frame 56
_global.waitTime();
_nextButton.onRollOver = function () {
_nextButton.gotoAndStop(2);
};
_nextButton.onRollOut = function () {
_nextButton.gotoAndStop(1);
};
_nextButton.onPress = function () {
_root.gotoAndPlay("hotel_inside");
};
stop();
Frame 57
_global.waitTime();
if (sounds._currentframe != 1) {
stopAllSounds();
sounds.gotoAndPlay(3);
}
_nextButton.onRollOver = function () {
_nextButton.gotoAndStop(2);
};
_nextButton.onRollOut = function () {
_nextButton.gotoAndStop(1);
};
_nextButton.onPress = function () {
_root.gotoAndPlay("home_sex");
};
stop();
Frame 58
_global.waitTime();
_nextButton.onRollOver = function () {
_nextButton.gotoAndStop(2);
};
_nextButton.onRollOut = function () {
_nextButton.gotoAndStop(1);
};
_nextButton.onPress = function () {
_root.gotoAndPlay("home_cum");
};
stop();
Frame 59
_global.waitTime();
_nextButton.onRollOver = function () {
_nextButton.gotoAndStop(2);
};
_nextButton.onRollOut = function () {
_nextButton.gotoAndStop(1);
};
_nextButton.onPress = function () {
_root.gotoAndPlay("AD");
};
stop();
Frame 60
stop();
Frame 61
stop();
Frame 62
stop();
Frame 63
stop();
Symbol 1282 MovieClip [__Packages.mx.transitions.OnEnterFrameBeacon] Frame 0
class mx.transitions.OnEnterFrameBeacon
{
function OnEnterFrameBeacon () {
}
static function init() {
var _local4 = _global.MovieClip;
if (!_root.__OnEnterFrameBeacon) {
mx.transitions.BroadcasterMX.initialize(_local4);
var _local3 = _root.createEmptyMovieClip("__OnEnterFrameBeacon", 9876);
_local3.onEnterFrame = function () {
_global.MovieClip.broadcastMessage("onEnterFrame");
};
}
}
static var version = "1.1.0.52";
}
Symbol 1283 MovieClip [__Packages.mx.transitions.BroadcasterMX] Frame 0
class mx.transitions.BroadcasterMX
{
var _listeners;
function BroadcasterMX () {
}
static function initialize(o, dontCreateArray) {
if (o.broadcastMessage != undefined) {
delete o.broadcastMessage;
}
o.addListener = mx.transitions.BroadcasterMX.prototype.addListener;
o.removeListener = mx.transitions.BroadcasterMX.prototype.removeListener;
if (!dontCreateArray) {
o._listeners = new Array();
}
}
function addListener(o) {
removeListener(o);
if (broadcastMessage == undefined) {
broadcastMessage = mx.transitions.BroadcasterMX.prototype.broadcastMessage;
}
return(_listeners.push(o));
}
function removeListener(o) {
var _local2 = _listeners;
var _local3 = _local2.length;
while (_local3--) {
if (_local2[_local3] == o) {
_local2.splice(_local3, 1);
if (!_local2.length) {
broadcastMessage = undefined;
}
return(true);
}
}
return(false);
}
function broadcastMessage() {
var _local5 = String(arguments.shift());
var _local4 = _listeners.concat();
var _local6 = _local4.length;
var _local3 = 0;
while (_local3 < _local6) {
_local4[_local3][_local5].apply(_local4[_local3], arguments);
_local3++;
}
}
static var version = "1.1.0.52";
}
Symbol 1284 MovieClip [__Packages.mx.transitions.Tween] Frame 0
class mx.transitions.Tween
{
var obj, prop, begin, useSeconds, _listeners, addListener, prevTime, _time, looping, _duration, broadcastMessage, isPlaying, _fps, prevPos, _pos, change, _intervalID, _startTime;
function Tween (obj, prop, func, begin, finish, duration, useSeconds) {
mx.transitions.OnEnterFrameBeacon.init();
if (!arguments.length) {
return;
}
this.obj = obj;
this.prop = prop;
this.begin = begin;
position = (begin);
this.duration = (duration);
this.useSeconds = useSeconds;
if (func) {
this.func = func;
}
this.finish = (finish);
_listeners = [];
addListener(this);
start();
}
function set time(t) {
prevTime = _time;
if (t > duration) {
if (looping) {
rewind(t - _duration);
update();
broadcastMessage("onMotionLooped", this);
} else {
if (useSeconds) {
_time = _duration;
update();
}
stop();
broadcastMessage("onMotionFinished", this);
}
} else if (t < 0) {
rewind();
update();
} else {
_time = t;
update();
}
//return(time);
}
function get time() {
return(_time);
}
function set duration(d) {
_duration = (((d == null) || (d <= 0)) ? (_global.Infinity) : (d));
//return(duration);
}
function get duration() {
return(_duration);
}
function set FPS(fps) {
var _local2 = isPlaying;
stopEnterFrame();
_fps = fps;
if (_local2) {
startEnterFrame();
}
//return(FPS);
}
function get FPS() {
return(_fps);
}
function set position(p) {
setPosition(p);
//return(position);
}
function setPosition(p) {
prevPos = _pos;
obj[prop] = (_pos = p);
broadcastMessage("onMotionChanged", this, _pos);
updateAfterEvent();
}
function get position() {
return(getPosition());
}
function getPosition(t) {
if (t == undefined) {
t = _time;
}
return(func(t, begin, change, _duration));
}
function set finish(f) {
change = f - begin;
//return(finish);
}
function get finish() {
return(begin + change);
}
function continueTo(finish, duration) {
begin = position;
this.finish = (finish);
if (duration != undefined) {
this.duration = (duration);
}
start();
}
function yoyo() {
continueTo(begin, time);
}
function startEnterFrame() {
if (_fps == undefined) {
_global.MovieClip.addListener(this);
} else {
_intervalID = setInterval(this, "onEnterFrame", 1000 / _fps);
}
isPlaying = true;
}
function stopEnterFrame() {
if (_fps == undefined) {
_global.MovieClip.removeListener(this);
} else {
clearInterval(_intervalID);
}
isPlaying = false;
}
function start() {
rewind();
startEnterFrame();
broadcastMessage("onMotionStarted", this);
}
function stop() {
stopEnterFrame();
broadcastMessage("onMotionStopped", this);
}
function resume() {
fixTime();
startEnterFrame();
broadcastMessage("onMotionResumed", this);
}
function rewind(t) {
_time = ((t == undefined) ? 0 : (t));
fixTime();
update();
}
function fforward() {
time = (_duration);
fixTime();
}
function nextFrame() {
if (useSeconds) {
time = ((getTimer() - _startTime) / 1000);
} else {
time = (_time + 1);
}
}
function onEnterFrame() {
nextFrame();
}
function prevFrame() {
if (!useSeconds) {
time = (_time - 1);
}
}
function toString() {
return("[Tween]");
}
function fixTime() {
if (useSeconds) {
_startTime = getTimer() - (_time * 1000);
}
}
function update() {
position = (getPosition(_time));
}
static var version = "1.1.0.52";
static var __initBeacon = mx.transitions.OnEnterFrameBeacon.init();
static var __initBroadcaster = mx.transitions.BroadcasterMX.initialize(mx.transitions.Tween.prototype, true);
function func(t, b, c, d) {
return(((c * t) / d) + b);
}
}
Symbol 1285 MovieClip [__Packages.mx.transitions.easing.Back] Frame 0
class mx.transitions.easing.Back
{
function Back () {
}
static function easeIn(t, b, c, d, s) {
if (s == undefined) {
s = 1.70158;
}
t = t / d;
return((((c * t) * t) * (((s + 1) * t) - s)) + b);
}
static function easeOut(t, b, c, d, s) {
if (s == undefined) {
s = 1.70158;
}
t = (t / d) - 1;
return((c * (((t * t) * (((s + 1) * t) + s)) + 1)) + b);
}
static function easeInOut(t, b, c, d, s) {
if (s == undefined) {
s = 1.70158;
}
t = t / (d / 2);
if (t < 1) {
s = s * 1.525;
return(((c / 2) * ((t * t) * (((s + 1) * t) - s))) + b);
}
t = t - 2;
s = s * 1.525;
return(((c / 2) * (((t * t) * (((s + 1) * t) + s)) + 2)) + b);
}
static var version = "1.1.0.52";
}
Symbol 1286 MovieClip [__Packages.mx.transitions.easing.Regular] Frame 0
class mx.transitions.easing.Regular
{
function Regular () {
}
static function easeIn(t, b, c, d) {
t = t / d;
return(((c * t) * t) + b);
}
static function easeOut(t, b, c, d) {
t = t / d;
return((((-c) * t) * (t - 2)) + b);
}
static function easeInOut(t, b, c, d) {
t = t / (d / 2);
if (t < 1) {
return((((c / 2) * t) * t) + b);
}
t--;
return((((-c) / 2) * ((t * (t - 2)) - 1)) + b);
}
static var version = "1.1.0.52";
}
Symbol 23 MovieClip Frame 1
stop();
Symbol 23 MovieClip Frame 2
stop();
Symbol 23 MovieClip Frame 3
stop();
Symbol 26 MovieClip Frame 1
stop();
Symbol 26 MovieClip Frame 2
stop();
Symbol 26 MovieClip Frame 3
stop();
Symbol 38 Button
on (press) {
_global.click_sound.start();
getURL ("http://www.sexhotgames.com", "_self");
}
Symbol 47 Button
on (press) {
_global.click_sound.start();
_root.sounds._x = 0;
_root.gotoAndPlay("office_dialogue0start");
}
Symbol 105 MovieClip Frame 1
firstTime = false;
trace(firstTime);
trace(_root._currentframe);
if ((_root._currentframe == 2) && (firstTime == false)) {
gotoAndStop (2);
firstTime = true;
trace(firstTime);
}
_sound_button.onPress = function () {
if (_currentframe == 1) {
if ((_root._currentframe >= 49) && (_root._currentframe <= 59)) {
gotoAndStop (3);
} else {
gotoAndStop (2);
}
} else {
firstTime = true;
stopAllSounds();
gotoAndStop (1);
}
};
stop();
Symbol 105 MovieClip Frame 2
stop();
Symbol 105 MovieClip Frame 3
stop();
Symbol 111 MovieClip Frame 1
stop();
Symbol 111 MovieClip Frame 2
stop();
Symbol 126 MovieClip Frame 1
stop();
Symbol 126 MovieClip Frame 2
stop();
Symbol 128 MovieClip Frame 1
stop();
Symbol 128 MovieClip Frame 2
stop();
Symbol 136 MovieClip Frame 1
stop();
Symbol 136 MovieClip Frame 2
stop();
Symbol 136 MovieClip Frame 3
stop();
Symbol 140 MovieClip Frame 1
stop();
Symbol 140 MovieClip Frame 2
stop();
Symbol 151 MovieClip Frame 1
stop();
Symbol 151 MovieClip Frame 13
stop();
Symbol 155 MovieClip Frame 1
stop();
Symbol 155 MovieClip Frame 13
stop();
Symbol 159 MovieClip Frame 1
stop();
Symbol 159 MovieClip Frame 13
stop();
Symbol 163 MovieClip Frame 1
stop();
Symbol 163 MovieClip Frame 13
stop();
Symbol 167 MovieClip Frame 1
stop();
Symbol 167 MovieClip Frame 13
stop();
Symbol 171 MovieClip Frame 1
stop();
Symbol 171 MovieClip Frame 13
stop();
Symbol 172 MovieClip Frame 1
if (!_global.knowHome) {
_home_button._visible = false;
}
if (!_global.knowHotel) {
_hotel_button._visible = false;
}
if (!_global.knowRestaurant) {
_restaurant_button._visible = false;
}
_shop_button.onPress = function () {
_global.click_sound.start();
_global.waitTime();
_root.gotoAndPlay("shop");
};
_shop_button.onRollOver = function () {
_shop_button.gotoAndPlay(2);
};
_shop_button.onRollOut = function () {
_shop_button.gotoAndStop(1);
};
_home_button.onPress = function () {
_global.click_sound.start();
_global.waitTime();
_global.homeTalk();
};
_home_button.onRollOver = function () {
_home_button.gotoAndPlay(2);
};
_home_button.onRollOut = function () {
_home_button.gotoAndStop(1);
};
_office_button.onPress = function () {
_global.click_sound.start();
_global.waitTime();
_root.gotoAndStop("office");
};
_office_button.onRollOver = function () {
_office_button.gotoAndPlay(2);
};
_office_button.onRollOut = function () {
_office_button.gotoAndStop(1);
};
_hotel_button.onPress = function () {
_global.click_sound.start();
_global.waitTime();
_root.gotoAndPlay("hotel_outside");
};
_hotel_button.onRollOver = function () {
_hotel_button.gotoAndPlay(2);
};
_hotel_button.onRollOut = function () {
_hotel_button.gotoAndStop(1);
};
_fitness_button.onPress = function () {
_global.click_sound.start();
_global.waitTime();
_root.gotoAndPlay("fitness_outside");
};
_fitness_button.onRollOver = function () {
_fitness_button.gotoAndPlay(2);
};
_fitness_button.onRollOut = function () {
_fitness_button.gotoAndStop(1);
};
_restaurant_button.onPress = function () {
_global.click_sound.start();
_global.waitTime();
_root.gotoAndPlay("restaurant_outside");
};
_restaurant_button.onRollOver = function () {
_restaurant_button.gotoAndPlay(2);
};
_restaurant_button.onRollOut = function () {
_restaurant_button.gotoAndStop(1);
};
stop();
Symbol 175 Button
on (press) {
_global.click_sound.start();
_parent.gotoAndPlay(8);
gotoAndPlay (11);
}
Symbol 176 MovieClip Frame 1
stop();
_button.onRollOver = function () {
_button.gotoAndStop(2);
};
_button.onRollOut = function () {
_button.gotoAndStop(1);
};
_button.onPress = function () {
_global.click_sound.start();
_parent._phone._visible = false;
_parent._nicole._visible = false;
_parent._inventory._visible = false;
_parent.gotoAndPlay(2);
gotoAndPlay (2);
};
Symbol 176 MovieClip Frame 10
stop();
Symbol 176 MovieClip Frame 20
_parent._phone._visible = true;
_parent._nicole._visible = true;
_parent._inventory._visible = true;
gotoAndStop (1);
Symbol 180 MovieClip Frame 1
stop();
Symbol 180 MovieClip Frame 2
stop();
Symbol 184 Button
on (press) {
trace("12341234");
_global.click_sound.start();
_global.husbandTalk();
}
Symbol 186 Button
on (press) {
trace("12341234");
_global.click_sound.start();
_global.targetPhoneTalk();
}
Symbol 190 Button
on (press) {
_global.click_sound.start();
gotoAndPlay (11);
}
Symbol 191 MovieClip Frame 1
stop();
_joseph.onRollOver = function () {
_joseph.gotoAndStop(2);
};
_joseph.onRollOut = function () {
_joseph.gotoAndStop(1);
};
_joseph.onPress = function () {
_global.click_sound.start();
_global.husbandTalk();
};
_nicole.onRollOver = function () {
_nicole.gotoAndStop(2);
};
_nicole.onRollOut = function () {
_nicole.gotoAndStop(1);
};
_nicole.onPress = function () {
_global.click_sound.start();
_global.targetTalk();
};
_button.onRollOver = function () {
_button.gotoAndStop(2);
};
_button.onRollOut = function () {
_button.gotoAndStop(1);
};
_button.onPress = function () {
_global.click_sound.start();
_parent._map._visible = false;
_parent._nicole._visible = false;
_parent._inventory._visible = false;
gotoAndPlay (2);
};
Symbol 191 MovieClip Frame 2
_joseph.onRollOver = function () {
_joseph.gotoAndStop(2);
};
_joseph.onRollOut = function () {
_joseph.gotoAndStop(1);
};
_joseph.onPress = function () {
_global.husbandTalk();
};
_nicole.onRollOver = function () {
_nicole.gotoAndStop(2);
};
_nicole.onRollOut = function () {
_nicole.gotoAndStop(1);
};
_nicole.onPress = function () {
_global.targetTalk();
};
_button.onRollOver = function () {
_button.gotoAndStop(2);
};
_button.onRollOut = function () {
_button.gotoAndStop(1);
};
_button.onPress = function () {
_parent._map._visible = false;
_parent._nicole._visible = false;
_parent._inventory._visible = false;
gotoAndPlay (2);
};
Symbol 191 MovieClip Frame 10
stop();
Symbol 191 MovieClip Frame 20
_parent._map._visible = true;
_parent._nicole._visible = true;
_parent._inventory._visible = true;
gotoAndStop (1);
Symbol 195 MovieClip Frame 1
stop();
Symbol 195 MovieClip Frame 2
stop();
Symbol 196 MovieClip Frame 1
_button.onRollOver = function () {
_button.gotoAndStop(2);
};
_button.onRollOut = function () {
_button.gotoAndStop(1);
};
_button.onPress = function () {
_global.click_sound.start();
if (_global.dayTime >= 21) {
_root.gotoAndPlay("office_secretaryoff");
} else {
_global.secretaryTalk();
}
};
Symbol 200 MovieClip Frame 1
stop();
Symbol 200 MovieClip Frame 2
stop();
Symbol 237 MovieClip Frame 1
_pen._visible = false;
_flowers._visible = false;
_watches._visible = false;
_tickets._visible = false;
_fitness._visible = false;
_hotel._visible = false;
_restaurant._visible = false;
_sex._visible = false;
if (_global.havePen && (!_global.givenPen)) {
_pen._visible = true;
}
if (_global.haveFlowers && (!_global.givenFlowers)) {
_flowers._visible = true;
}
if (_global.haveWatches && (!_global.givenWatches)) {
_watches._visible = true;
}
if (_global.haveTickets && (!_global.givenTickets)) {
_tickets._visible = true;
}
if (_global.havePhotoFitness) {
_fitness._visible = true;
}
if (_global.havePhotoHotel) {
_hotel._visible = true;
}
if (_global.havePhotoRestaurant) {
_restaurant._visible = true;
}
if (_global.havePhotoSex) {
_sex._visible = true;
}
Symbol 239 Button
on (press) {
_global.click_sound.start();
_parent.gotoAndPlay(8);
gotoAndPlay (11);
}
Symbol 243 MovieClip Frame 1
_button.onRollOver = function () {
_button.gotoAndStop(2);
};
_button.onRollOut = function () {
_button.gotoAndStop(1);
};
_button.onPress = function () {
_global.click_sound.start();
_parent._map._visible = false;
_parent._nicole._visible = false;
_parent._phone._visible = false;
_parent.gotoAndPlay(2);
gotoAndPlay (2);
};
stop();
Symbol 243 MovieClip Frame 10
_moneyInfo._moneyText.text = "$" + _global.money;
stop();
Symbol 243 MovieClip Frame 20
_parent._map._visible = true;
_parent._nicole._visible = true;
_parent._phone._visible = true;
gotoAndStop (1);
Symbol 246 MovieClip Frame 15
stop();
Symbol 247 MovieClip Frame 1
_day_status._text.text = (((_global.getDayName() + " ") + _global.dayStatusFunction()) + " ") + _global.dayTimeFunction();
_day_status.gotoAndStop(_global.dayStatus);
trace((_global.dayStatus + " = ") + _global.dayStatusFunction());
if (_global.dayTime >= 21) {
_office_background.gotoAndStop(2);
} else {
_office_background.gotoAndStop(1);
}
stop();
_wait_button.onRollOver = function () {
_wait_button.gotoAndStop(2);
};
_wait_button.onRollOut = function () {
_wait_button.gotoAndStop(1);
};
_wait_button.onPress = function () {
_global.click_sound.start();
_global.waitTime();
_day_status._text.text = (((_global.getDayName() + " ") + _global.dayStatusFunction()) + " ") + _global.dayTimeFunction();
_day_status.gotoAndStop(_global.dayStatus);
if (_global.dayTime == 32) {
_wait_button._sleep30.gotoAndStop(2);
}
if (_global.dayTime == 21) {
unfadex.gotoAndPlay(1);
_office_background.gotoAndStop(2);
}
if (_global.dayTime == 1) {
unfadex.gotoAndPlay(1);
_wait_button._sleep30.gotoAndStop(1);
_office_background.gotoAndStop(1);
}
};
Symbol 247 MovieClip Frame 7
stop();
Symbol 247 MovieClip Frame 14
gotoAndPlay (1);
Symbol 254 Button
on (press) {
_global.click_sound.start();
_parent.gotoAndPlay(8);
gotoAndPlay (11);
}
Symbol 255 MovieClip Frame 1
stop();
_button.onRollOver = function () {
_button.gotoAndStop(2);
};
_button.onRollOut = function () {
_button.gotoAndStop(1);
};
_button.onPress = function () {
_global.click_sound.start();
_parent._phone._visible = false;
_parent._nicole._visible = false;
_parent.gotoAndPlay(2);
gotoAndPlay (2);
};
Symbol 255 MovieClip Frame 10
stop();
Symbol 255 MovieClip Frame 20
_parent._phone._visible = true;
_parent._nicole._visible = true;
gotoAndStop (1);
Symbol 257 MovieClip Frame 1
stop();
Symbol 257 MovieClip Frame 2
stop();
Symbol 258 MovieClip Frame 1
_button.onRollOver = function () {
_button.gotoAndStop(2);
};
_button.onRollOut = function () {
_button.gotoAndStop(1);
};
_button.onPress = function () {
_global.click_sound.start();
_global.hotelTalk();
};
Symbol 259 MovieClip Frame 1
_day_status._text.text = (((_global.getDayName() + " ") + _global.dayStatusFunction()) + " ") + _global.dayTimeFunction();
_day_status.gotoAndStop(_global.dayStatus);
trace((_global.dayStatus + " = ") + _global.dayStatusFunction());
if (_global.dayTime >= 21) {
_office_background.gotoAndStop(2);
} else {
_office_background.gotoAndStop(1);
}
stop();
_wait_button.onRollOver = function () {
_wait_button.gotoAndStop(2);
};
_wait_button.onRollOut = function () {
_wait_button.gotoAndStop(1);
};
_wait_button.onPress = function () {
_global.waitTime();
_day_status._text.text = (((_global.getDayName() + " ") + _global.dayStatusFunction()) + " ") + _global.dayTimeFunction();
_day_status.gotoAndStop(_global.dayStatus);
if (_global.dayTime == 32) {
_wait_button._sleep30.gotoAndStop(2);
}
if (_global.dayTime == 21) {
unfadex.gotoAndPlay(1);
_office_background.gotoAndStop(2);
}
if (_global.dayTime == 1) {
unfadex.gotoAndPlay(1);
_wait_button._sleep30.gotoAndStop(1);
_office_background.gotoAndStop(1);
}
};
Symbol 259 MovieClip Frame 7
stop();
Symbol 259 MovieClip Frame 14
gotoAndPlay (1);
Symbol 281 Button
on (press) {
_global.click_sound.start();
_parent._parent.unfadex.gotoAndPlay(1);
_global.havePhotoHotel = true;
gotoAndPlay (112);
}
Symbol 283 Button
on (press) {
gotoAndPlay (118);
}
Symbol 284 MovieClip Frame 1
stop();
Symbol 284 MovieClip Frame 2
play();
Symbol 284 MovieClip Frame 62
x5.w1.gotoAndStop(1);
x5.w2.gotoAndStop(1);
Symbol 284 MovieClip Frame 110
if (_global.noFoto) {
gotoAndPlay (112);
}
Symbol 284 MovieClip Frame 111
stop();
Symbol 284 MovieClip Frame 112
if (_global.noFoto) {
photoX._visible = false;
}
Symbol 284 MovieClip Frame 117
if (!_global.noFoto) {
stop();
}
Symbol 284 MovieClip Frame 127
x5.w1.gotoAndPlay(1);
x5.w2.gotoAndPlay(1);
Symbol 284 MovieClip Frame 187
_parent._parent.gotoAndPlay(8);
_global.noFoto = true;
_global.followHotel = false;
stop();
Symbol 288 MovieClip Frame 1
stop();
Symbol 288 MovieClip Frame 2
stop();
Symbol 293 MovieClip Frame 1
stop();
Symbol 293 MovieClip Frame 2
stop();
Symbol 294 MovieClip Frame 1
_button.onRollOver = function () {
_button.gotoAndStop(2);
};
_button.onRollOut = function () {
_button.gotoAndStop(1);
};
_button.onPress = function () {
_global.click_sound.start();
_root.gotoAndPlay("hotel_inside");
};
Symbol 295 MovieClip Frame 1
_day_status._text.text = (((_global.getDayName() + " ") + _global.dayStatusFunction()) + " ") + _global.dayTimeFunction();
_day_status.gotoAndStop(_global.dayStatus);
trace((_global.dayStatus + " = ") + _global.dayStatusFunction());
if (_global.dayTime >= 21) {
_office_background.gotoAndStop(2);
} else {
_office_background.gotoAndStop(1);
}
if (_global.followHotel) {
_wait_button._visible = false;
_map._visible = false;
_nicole._visible = false;
gotoAndPlay (2);
_office_background.x5_anim.gotoAndPlay(2);
}
stop();
_wait_button.onRollOver = function () {
_wait_button.gotoAndStop(2);
};
_wait_button.onRollOut = function () {
_wait_button.gotoAndStop(1);
};
_wait_button.onPress = function () {
_global.click_sound.start();
_global.dayTime++;
if (_global.dayTime > 32) {
_global.dayTime = 1;
_global.dayNo++;
}
if (_global.checkHotelTime() && (_global.hotelCheat)) {
_wait_button._visible = false;
_map._visible = false;
_nicole._visible = false;
gotoAndPlay (2);
_office_background.x5_anim.gotoAndPlay(2);
}
if (_global.dayTime <= 8) {
_global.dayStatus = 1;
}
if ((_global.dayTime > 8) && (_global.dayTime <= 20)) {
_global.dayStatus = 2;
}
if (_global.dayTime > 20) {
_global.dayStatus = 3;
}
_day_status._text.text = (((_global.getDayName() + " ") + _global.dayStatusFunction()) + " ") + _global.dayTimeFunction();
_day_status.gotoAndStop(_global.dayStatus);
if (_global.dayTime == 32) {
_wait_button._sleep30.gotoAndStop(2);
}
if (_global.dayTime == 21) {
unfadex.gotoAndPlay(1);
_office_background.gotoAndStop(2);
}
if (_global.dayTime == 1) {
unfadex.gotoAndPlay(1);
_wait_button._sleep30.gotoAndStop(1);
_office_background.gotoAndStop(1);
}
};
Symbol 295 MovieClip Frame 2
play();
Symbol 295 MovieClip Frame 7
stop();
Symbol 295 MovieClip Frame 8
play();
Symbol 295 MovieClip Frame 14
_watched = true;
_map._visible = true;
_nicole._visible = true;
gotoAndStop (1);
Symbol 320 MovieClip Frame 1
_button.onRollOver = function () {
_button.gotoAndStop(2);
};
_button.onRollOut = function () {
_button.gotoAndStop(1);
};
_button.onPress = function () {
_global.click_sound.start();
_global.fitnessTalk();
};
Symbol 321 MovieClip Frame 1
_day_status._text.text = (((_global.getDayName() + " ") + _global.dayStatusFunction()) + " ") + _global.dayTimeFunction();
_day_status.gotoAndStop(_global.dayStatus);
trace((_global.dayStatus + " = ") + _global.dayStatusFunction());
if (_global.dayTime >= 21) {
_office_background.gotoAndStop(2);
} else {
_office_background.gotoAndStop(1);
}
stop();
_wait_button.onRollOver = function () {
_wait_button.gotoAndStop(2);
};
_wait_button.onRollOut = function () {
_wait_button.gotoAndStop(1);
};
_wait_button.onPress = function () {
_global.waitTime();
_day_status._text.text = (((_global.getDayName() + " ") + _global.dayStatusFunction()) + " ") + _global.dayTimeFunction();
_day_status.gotoAndStop(_global.dayStatus);
if (_global.dayTime == 32) {
_wait_button._sleep30.gotoAndStop(2);
}
if (_global.dayTime == 21) {
unfadex.gotoAndPlay(1);
_office_background.gotoAndStop(2);
}
if (_global.dayTime == 1) {
unfadex.gotoAndPlay(1);
_wait_button._sleep30.gotoAndStop(1);
_office_background.gotoAndStop(1);
}
};
Symbol 321 MovieClip Frame 7
stop();
Symbol 321 MovieClip Frame 14
gotoAndPlay (1);
Symbol 329 Button
on (press) {
_global.click_sound.start();
_parent._parent.unfadex.gotoAndPlay(1);
_global.havePhotoFitness = true;
gotoAndPlay (112);
}
Symbol 330 Button
on (press) {
gotoAndPlay (118);
}
Symbol 335 Button
on (press) {
_global.click_sound.start();
_global.waitTime();
_global.knowRestaurant = true;
_global.following = true;
_root.gotoAndPlay("restaurant_outside");
}
Symbol 337 MovieClip Frame 1
stop();
Symbol 337 MovieClip Frame 2
play();
Symbol 337 MovieClip Frame 62
x5.w1.gotoAndStop(1);
x5.w2.gotoAndStop(1);
Symbol 337 MovieClip Frame 110
if (_global.knowRestaurant) {
gotoAndPlay (112);
}
Symbol 337 MovieClip Frame 111
if (!_global.knowRestaurant) {
stop();
} else {
photoX._visible = false;
}
Symbol 337 MovieClip Frame 112
if (_global.knowRestaurant) {
photoX._visible = false;
}
Symbol 337 MovieClip Frame 117
if (!_global.knowRestaurant) {
stop();
}
Symbol 337 MovieClip Frame 127
x5.w1.gotoAndPlay(1);
x5.w2.gotoAndPlay(1);
Symbol 337 MovieClip Frame 187
stop();
Symbol 339 MovieClip Frame 1
stop();
Symbol 339 MovieClip Frame 2
stop();
Symbol 341 MovieClip Frame 1
stop();
Symbol 341 MovieClip Frame 2
stop();
Symbol 342 MovieClip Frame 1
_button.onRollOver = function () {
_button.gotoAndStop(2);
};
_button.onRollOut = function () {
_button.gotoAndStop(1);
};
_button.onPress = function () {
_global.click_sound.start();
if (_global.dayTime >= 21) {
_root.gotoAndPlay("fitness_off");
} else {
_root.gotoAndPlay("fitness_inside");
}
};
Symbol 343 MovieClip Frame 1
_day_status._text.text = (((_global.getDayName() + " ") + _global.dayStatusFunction()) + " ") + _global.dayTimeFunction();
_day_status.gotoAndStop(_global.dayStatus);
trace((_global.dayStatus + " = ") + _global.dayStatusFunction());
if (_global.dayTime >= 21) {
_office_background.gotoAndStop(2);
} else {
_office_background.gotoAndStop(1);
}
if ((_global.checkFitnessTime() && (_global.fitnessCheat)) && (!_global._watchedFitness)) {
_map._visible = false;
_nicole._visible = false;
gotoAndPlay (2);
_office_background.x5_anim.gotoAndPlay(2);
}
stop();
_wait_button.onRollOver = function () {
_wait_button.gotoAndStop(2);
};
_wait_button.onRollOut = function () {
_wait_button.gotoAndStop(1);
};
_wait_button.onPress = function () {
_global.click_sound.start();
_global.dayTime++;
if (_global.dayTime > 32) {
_global.dayTime = 1;
_global.dayNo++;
}
if ((_global.checkFitnessTime() && (_global.fitnessCheat)) && (!_global._watchedFitness)) {
_wait_button._visible = false;
_map._visible = false;
_nicole._visible = false;
gotoAndPlay (2);
_office_background.x5_anim.gotoAndPlay(2);
}
if (_global.dayTime <= 8) {
_global.dayStatus = 1;
}
if ((_global.dayTime > 8) && (_global.dayTime <= 20)) {
_global.dayStatus = 2;
}
if (_global.dayTime > 20) {
_global.dayStatus = 3;
}
_day_status._text.text = (((_global.getDayName() + " ") + _global.dayStatusFunction()) + " ") + _global.dayTimeFunction();
_day_status.gotoAndStop(_global.dayStatus);
if (_global.dayTime == 32) {
_wait_button._sleep30.gotoAndStop(2);
}
if (_global.dayTime == 21) {
unfadex.gotoAndPlay(1);
_office_background.gotoAndStop(2);
}
if (_global.dayTime == 1) {
unfadex.gotoAndPlay(1);
_wait_button._sleep30.gotoAndStop(1);
_office_background.gotoAndStop(1);
}
};
Symbol 343 MovieClip Frame 2
play();
Symbol 343 MovieClip Frame 7
stop();
Symbol 343 MovieClip Frame 8
play();
Symbol 343 MovieClip Frame 14
_watched = true;
_map._visible = true;
_nicole._visible = true;
gotoAndStop (1);
Symbol 357 Button
on (press) {
_global.click_sound.start();
_parent._parent.unfadex.gotoAndPlay(1);
_global.havePhotoRestaurant = true;
gotoAndPlay (112);
}
Symbol 358 Button
on (press) {
gotoAndPlay (118);
}
Symbol 359 Button
on (press) {
_global.click_sound.start();
_global.knowHotel = true;
_root.gotoAndPlay("hotel_outside");
}
Symbol 360 MovieClip Frame 1
stop();
Symbol 360 MovieClip Frame 2
play();
Symbol 360 MovieClip Frame 62
x5.w1.gotoAndStop(1);
x5.w2.gotoAndStop(1);
Symbol 360 MovieClip Frame 110
if (_global.knowHotel) {
gotoAndPlay (112);
}
Symbol 360 MovieClip Frame 111
stop();
Symbol 360 MovieClip Frame 112
if (_global.knowHotel) {
photoX._visible = false;
}
Symbol 360 MovieClip Frame 117
if (!_global.knowHotel) {
stop();
}
Symbol 360 MovieClip Frame 127
_parent._parent.gotoAndPlay(8);
_global.restaurant_wait = true;
_global.following = false;
stop();
Symbol 360 MovieClip Frame 128
x5.w1.gotoAndPlay(1);
x5.w2.gotoAndPlay(1);
Symbol 360 MovieClip Frame 189
if (!_global.followHotel) {
_parent._parent.gotoAndPlay(8);
}
stop();
Symbol 363 MovieClip Frame 1
stop();
Symbol 363 MovieClip Frame 2
stop();
Symbol 367 MovieClip Frame 1
stop();
Symbol 367 MovieClip Frame 2
stop();
Symbol 368 MovieClip Frame 1
_button.onRollOver = function () {
_button.gotoAndStop(2);
};
_button.onRollOut = function () {
_button.gotoAndStop(1);
};
_button.onPress = function () {
_global.click_sound.start();
_global.dayTime++;
if (_global.dayTime > 32) {
_global.dayTime = 1;
_global.dayNo++;
}
if (_global.checkRestaurantTime() && (!_global.restaurant_wait)) {
_parent._map._visible = false;
_parent._nicole._visible = false;
_parent.gotoAndPlay(2);
_parent._office_background.x5_anim.gotoAndPlay(2);
}
if (_global.dayTime <= 8) {
_global.dayStatus = 1;
}
if ((_global.dayTime > 8) && (_global.dayTime <= 20)) {
_global.dayStatus = 2;
}
if (_global.dayTime > 20) {
_global.dayStatus = 3;
}
_parent.condition2 = true;
_parent._day_status._text.text = (((_global.getDayName() + " ") + _global.dayStatusFunction()) + " ") + _global.dayTimeFunction();
_parent._day_status.gotoAndStop(_global.dayStatus);
if (_global.dayTime == 32) {
_wait_button._sleep30.gotoAndStop(2);
}
if (_global.dayTime == 21) {
_parent.unfadex.gotoAndPlay(1);
_parent._office_background.gotoAndStop(2);
}
if (_global.dayTime == 1) {
_parent.unfadex.gotoAndPlay(1);
_parent._wait_button._sleep30.gotoAndStop(1);
_parent._office_background.gotoAndStop(1);
}
trace((_global.restaurant_wait + " - ") + _parent._condition2);
finalTime = _global.restaurantTime + _global.restaurantWaitTime;
trace("# The final time is " + finalTime);
trace("# The day time is " + _global.dayTime);
trace("# Restaurant wait flag is " + _global.restaurant_wait);
if (_global.restaurant_wait && (_global.dayTime > finalTime)) {
trace("# Attention!");
_parent._wait_button._visible = false;
_parent._map._visible = false;
_parent._nicole._visible = false;
_global.restaurant_wait = false;
_global.followHotel = true;
_parent.gotoAndPlay(2);
_parent._office_background.x5_anim.gotoAndPlay(128);
}
};
Symbol 369 MovieClip Frame 1
_day_status._text.text = (((_global.getDayName() + " ") + _global.dayStatusFunction()) + " ") + _global.dayTimeFunction();
_day_status.gotoAndStop(_global.dayStatus);
trace((_global.dayStatus + " = ") + _global.dayStatusFunction());
_condition = true;
_condition2 = false;
if (_global.following) {
_office_background.gotoAndPlay(2);
_wait_button._visible = false;
_map._visible = false;
_nicole._visible = false;
gotoAndPlay (2);
_office_background.x5_anim.gotoAndPlay(2);
}
if (_global.checkRestaurantTime() && (!_global.restaurant_wait)) {
_map._visible = false;
_nicole._visible = false;
gotoAndPlay (2);
_office_background.x5_anim.gotoAndPlay(2);
}
if (_global.dayTime >= 21) {
_office_background.gotoAndStop(2);
} else {
_office_background.gotoAndStop(1);
}
stop();
_wait_button.onRollOver = function () {
_wait_button.gotoAndStop(2);
};
_wait_button.onRollOut = function () {
_wait_button.gotoAndStop(1);
};
_wait_button.onPress = function () {
_global.click_sound.start();
_global.dayTime++;
if (_global.dayTime > 32) {
_global.dayTime = 1;
_global.dayNo++;
}
if (_global.checkRestaurantTime() && (!_global.restaurant_wait)) {
_map._visible = false;
_nicole._visible = false;
gotoAndPlay (2);
_office_background.x5_anim.gotoAndPlay(2);
}
if (_global.dayTime <= 8) {
_global.dayStatus = 1;
}
if ((_global.dayTime > 8) && (_global.dayTime <= 20)) {
_global.dayStatus = 2;
}
if (_global.dayTime > 20) {
_global.dayStatus = 3;
}
_day_status._text.text = (((_global.getDayName() + " ") + _global.dayStatusFunction()) + " ") + _global.dayTimeFunction();
_day_status.gotoAndStop(_global.dayStatus);
if (_global.dayTime == 32) {
_wait_button._sleep30.gotoAndStop(2);
}
if (_global.dayTime == 21) {
unfadex.gotoAndPlay(1);
_office_background.gotoAndStop(2);
}
if (_global.dayTime == 1) {
unfadex.gotoAndPlay(1);
_wait_button._sleep30.gotoAndStop(1);
_office_background.gotoAndStop(1);
}
finalTime = _global.restaurantTime + _global.restaurantWaitTime;
trace("# The final time is " + finalTime);
trace("# The day time is " + _global.dayTime);
trace("# Restaurant wait flag is " + _global.restaurant_wait);
if (_global.restaurant_wait && (_global.dayTime > finalTime)) {
trace("# Attention!");
_global.restaurant_wait = false;
_global.followHotel = true;
_wait_button._visible = false;
_map._visible = false;
_nicole._visible = false;
gotoAndPlay (2);
_office_background.x5_anim.gotoAndPlay(128);
}
};
Symbol 369 MovieClip Frame 2
play();
Symbol 369 MovieClip Frame 7
stop();
Symbol 369 MovieClip Frame 8
play();
Symbol 369 MovieClip Frame 14
_watched = true;
_map._visible = true;
_nicole._visible = true;
gotoAndStop (1);
Symbol 388 MovieClip Frame 1
_continueButton.onPress = function () {
_global.click_sound.start();
trace("Before is " + _global.before);
_root.gotoAndPlay(_global.before);
};
_pen._cost.text = "Pen $" + _global.costPen;
_flowers._cost.text = "Flowers $" + _global.costFlowers;
_watches._cost.text = "Watches $" + _global.costWatches;
_tickets._cost.text = "Tickets to Bali $" + _global.costTickets;
_moneyBar._moneyText.text = "$" + _global.money;
_pen.onPress = function () {
_global.click_sound.start();
if (_global.money >= _global.costPen) {
_global.havePen = true;
_pen._visible = false;
_pen.enabled = false;
_global.money = _global.money - _global.costPen;
_moneyBar._moneyText.text = "$" + _global.money;
} else {
_root.gotoAndPlay("giftshop_nomoney");
}
};
_flowers.onPress = function () {
_global.click_sound.start();
if (_global.money >= _global.costFlowers) {
_global.haveFlowers = true;
_flowers._visible = false;
_flowers.enabled = false;
_global.money = _global.money - _global.costFlowers;
_moneyBar._moneyText.text = "$" + _global.money;
} else {
_root.gotoAndPlay("giftshop_nomoney");
}
};
_watches.onPress = function () {
_global.click_sound.start();
if (_global.money >= _global.costWatches) {
_global.haveWatches = true;
_watches._visible = false;
_watches.enabled = false;
_global.money = _global.money - _global.costWatches;
_moneyBar._moneyText.text = "$" + _global.money;
} else {
_root.gotoAndPlay("giftshop_nomoney");
}
};
_tickets.onPress = function () {
_global.click_sound.start();
if (_global.money >= _global.costTickets) {
_global.haveTickets = true;
_tickets._visible = false;
_tickets.enabled = false;
_global.money = _global.money - _global.costTickets;
_moneyBar._moneyText.text = "$" + _global.money;
} else {
_root.gotoAndPlay("giftshop_nomoney");
}
};
if (_global.havePen || (_global.givenPen)) {
_pen._visible = false;
_pen.enabled = false;
}
if (_global.haveFlowers || (_global.givenFlowers)) {
_flowers._visible = false;
_flowers.enabled = false;
}
if (_global.haveWatches || (_global.givenWatches)) {
_watches._visible = false;
_watches.enabled = false;
}
if (_global.haveTickets || (_global.givenTickets)) {
_tickets._visible = false;
_tickets.enabled = false;
}
Symbol 400 MovieClip Frame 1
stop();
Symbol 400 MovieClip Frame 14
stop();
Symbol 400 MovieClip Frame 29
stop();
Symbol 400 MovieClip Frame 45
stop();
Symbol 400 MovieClip Frame 46
stop();
Symbol 426 MovieClip Frame 1
onPress = function () {
_global.qcheck(1);
};
stop();
Symbol 426 MovieClip Frame 2
_global.click_sound.start();
Symbol 426 MovieClip Frame 9
_global.rightDo();
gotoAndStop (1);
Symbol 426 MovieClip Frame 10
_global.click_sound.start();
Symbol 426 MovieClip Frame 18
_global.wrongDo();
gotoAndStop (1);
Symbol 428 MovieClip Frame 1
onPress = function () {
_global.qcheck(2);
};
stop();
Symbol 428 MovieClip Frame 2
_global.click_sound.start();
Symbol 428 MovieClip Frame 9
_global.rightDo();
gotoAndStop (1);
Symbol 428 MovieClip Frame 10
_global.click_sound.start();
Symbol 428 MovieClip Frame 18
_global.wrongDo();
gotoAndStop (1);
Symbol 430 MovieClip Frame 1
onPress = function () {
_global.qcheck(3);
};
stop();
Symbol 430 MovieClip Frame 2
_global.click_sound.start();
Symbol 430 MovieClip Frame 9
_global.rightDo();
gotoAndStop (1);
Symbol 430 MovieClip Frame 10
_global.click_sound.start();
Symbol 430 MovieClip Frame 18
_global.wrongDo();
gotoAndStop (1);
Symbol 433 MovieClip Frame 1
onPress = function () {
_global.click_sound.start();
_global.tryAgainCheck();
};
Symbol 435 MovieClip Frame 1
onPress = function () {
_global.click_sound.start();
_global.leaveCheck();
};
Symbol 437 MovieClip Frame 1
onPress = function () {
_global.click_sound.start();
_global.continueCheck();
};
Symbol 438 MovieClip Frame 1
_day_status._text.text = (((_global.getDayName() + " ") + _global.dayStatusFunction()) + " ") + _global.dayTimeFunction();
_day_status.gotoAndStop(_global.dayStatus);
trace((_global.dayStatus + " = ") + _global.dayStatusFunction());
livesBar._visible = false;
stop();
Symbol 457 MovieClip Frame 1
_day_status._text.text = (((_global.getDayName() + " ") + _global.dayStatusFunction()) + " ") + _global.dayTimeFunction();
_day_status.gotoAndStop(_global.dayStatus);
trace((_global.dayStatus + " = ") + _global.dayStatusFunction());
if (_global.dayTime >= 21) {
_office_background.gotoAndStop(2);
} else {
_office_background.gotoAndStop(1);
}
livesBar._visible = false;
stop();
Symbol 462 MovieClip Frame 1
_day_status._text.text = (((_global.getDayName() + " ") + _global.dayStatusFunction()) + " ") + _global.dayTimeFunction();
_day_status.gotoAndStop(_global.dayStatus);
trace((_global.dayStatus + " = ") + _global.dayStatusFunction());
if (_global.dayTime >= 21) {
_office_background.gotoAndStop(2);
} else {
_office_background.gotoAndStop(1);
}
livesBar._visible = false;
stop();
Symbol 475 MovieClip Frame 1
_day_status._text.text = (((_global.getDayName() + " ") + _global.dayStatusFunction()) + " ") + _global.dayTimeFunction();
_day_status.gotoAndStop(_global.dayStatus);
trace((_global.dayStatus + " = ") + _global.dayStatusFunction());
livesBar._visible = false;
stop();
Symbol 484 MovieClip Frame 1
stop();
Symbol 484 MovieClip Frame 2
stop();
Symbol 484 MovieClip Frame 3
stop();
Symbol 485 Button
on (press) {
_global.click_sound.start();
_parent._parent.unfadex.gotoAndPlay(1);
gotoAndPlay (112);
}
Symbol 487 Button
on (press) {
gotoAndPlay (21);
}
Symbol 488 MovieClip Frame 1
stop();
Symbol 488 MovieClip Frame 20
stop();
Symbol 488 MovieClip Frame 40
stop();
Symbol 489 MovieClip Frame 1
_day_status._text.text = (((_global.getDayName() + " ") + _global.dayStatusFunction()) + " ") + _global.dayTimeFunction();
_day_status.gotoAndStop(_global.dayStatus);
trace((_global.dayStatus + " = ") + _global.dayStatusFunction());
_camera._visible = false;
_nextButton.enabled = false;
_nextButton.gotoAndStop(2);
_nextButton.onPress = function () {
_global.click_sound.start();
_global.havePhotoSex = true;
_root.gotoAndPlay("hotel_inside");
};
_nextButton.onRollOver = function () {
_nextButton.gotoAndStop(2);
};
_nextButton.onRollOut = function () {
_nextButton.gotoAndStop(1);
};
_hole.onPress = function () {
_global.click_sound.start();
_picture.gotoAndPlay(2);
_camera._visible = false;
_hole._visible = false;
_hole.enabled = false;
_nextButton.gotoAndStop(1);
_nextButton.enabled = true;
_global.havePhotoSex = true;
};
_hole.onRollOver = function () {
_camera._visible = true;
};
_hole.onRollOut = function () {
_camera._visible = false;
};
_hole.onReleaseOutside = function () {
_camera._visible = false;
};
_hole.onRelease = function () {
_camera._visible = false;
};
Symbol 494 MovieClip Frame 1
stop();
Symbol 494 MovieClip Frame 2
stop();
Symbol 510 MovieClip Frame 1
_day_status._text.text = (((_global.getDayName() + " ") + _global.dayStatusFunction()) + " ") + _global.dayTimeFunction();
_day_status.gotoAndStop(_global.dayStatus);
trace((_global.dayStatus + " = ") + _global.dayStatusFunction());
if (_global.dayTime >= 21) {
_office_background.gotoAndStop(2);
} else {
_office_background.gotoAndStop(1);
}
livesBar._visible = false;
stop();
Symbol 514 MovieClip Frame 1
_day_status._text.text = (((_global.getDayName() + " ") + _global.dayStatusFunction()) + " ") + _global.dayTimeFunction();
_day_status.gotoAndStop(_global.dayStatus);
trace((_global.dayStatus + " = ") + _global.dayStatusFunction());
if (_global.dayTime >= 21) {
_office_background.gotoAndStop(2);
} else {
_office_background.gotoAndStop(1);
}
livesBar._visible = false;
stop();
Symbol 518 MovieClip Frame 1
_day_status._text.text = (((_global.getDayName() + " ") + _global.dayStatusFunction()) + " ") + _global.dayTimeFunction();
_day_status.gotoAndStop(_global.dayStatus);
trace((_global.dayStatus + " = ") + _global.dayStatusFunction());
if (_global.dayTime >= 21) {
_office_background.gotoAndStop(2);
} else {
_office_background.gotoAndStop(1);
}
livesBar._visible = false;
stop();
Symbol 524 MovieClip Frame 1
if (_global.prepayment) {
_earning.text = "$" + _global.prepayment_money_amount;
} else {
_earning.text = "$" + _global.earn_money_amount;
}
stop();
Symbol 525 MovieClip Frame 20
stop();
Symbol 526 MovieClip Frame 1
function outputText(s) {
id = setInterval(showNextSymbol, interval, s);
}
function showNextSymbol(s) {
if (s.charAt(pointer) == "") {
clearInterval(id);
} else {
_text._textArea.text = _text._textArea.text + s.charAt(pointer);
pointer++;
}
}
if (_global.prepayment) {
_global.money = _global.money + _global.prepayment_money_amount;
} else {
_global.money = _global.money + _global.earn_money_amount;
}
_day_status._text.text = (((_global.getDayName() + " ") + _global.dayStatusFunction()) + " ") + _global.dayTimeFunction();
_day_status.gotoAndStop(_global.dayStatus);
trace((_global.dayStatus + " = ") + _global.dayStatusFunction());
if (_global.dayTime >= 21) {
_office_background.gotoAndStop(2);
} else {
_office_background.gotoAndStop(1);
}
_nextButton.onPress = function () {
_global.click_sound.start();
_root.gotoAndPlay("QUESTION");
};
_nextButton.onRollOver = function () {
_nextButton.gotoAndStop(2);
};
_nextButton.onRollOut = function () {
_nextButton.gotoAndStop(1);
};
var textToPrint = _global.office_getmoney_msg;
var pointer = 0;
var id;
var interval = 5;
var done = false;
_text._textArea.text = "";
outputText(textToPrint);
Symbol 528 MovieClip Frame 1
_earning.text = "$" + _global.prepayment_money_amount;
stop();
Symbol 529 MovieClip Frame 20
stop();
Symbol 530 MovieClip Frame 1
function outputText(s) {
id = setInterval(showNextSymbol, interval, s);
}
function showNextSymbol(s) {
if (s.charAt(pointer) == "") {
clearInterval(id);
} else {
_text._textArea.text = _text._textArea.text + s.charAt(pointer);
pointer++;
}
}
_global.money = _global.money + _global.prepayment_money_amount;
_day_status._text.text = (((_global.getDayName() + " ") + _global.dayStatusFunction()) + " ") + _global.dayTimeFunction();
_day_status.gotoAndStop(_global.dayStatus);
trace((_global.dayStatus + " = ") + _global.dayStatusFunction());
if (_global.dayTime >= 21) {
_office_background.gotoAndStop(2);
} else {
_office_background.gotoAndStop(1);
}
_nextButton.onPress = function () {
_global.click_sound.start();
_root.gotoAndPlay("office");
};
_nextButton.onRollOver = function () {
_nextButton.gotoAndStop(2);
};
_nextButton.onRollOut = function () {
_nextButton.gotoAndStop(1);
};
var textToPrint = _global.office_pregetmoney_msg;
var pointer = 0;
var id;
var interval = 5;
var done = false;
_text._textArea.text = "";
outputText(textToPrint);
Symbol 531 MovieClip Frame 1
function outputText(s) {
id = setInterval(showNextSymbol, interval, s);
}
function showNextSymbol(s) {
if (s.charAt(pointer) == "") {
clearInterval(id);
} else {
_text._textArea.text = _text._textArea.text + s.charAt(pointer);
pointer++;
}
}
_day_status._text.text = (((_global.getDayName() + " ") + _global.dayStatusFunction()) + " ") + _global.dayTimeFunction();
_day_status.gotoAndStop(_global.dayStatus);
trace((_global.dayStatus + " = ") + _global.dayStatusFunction());
if (_global.dayTime >= 21) {
_office_background.gotoAndStop(2);
} else {
_office_background.gotoAndStop(1);
}
_nextButton.onPress = function () {
_global.click_sound.start();
_root.gotoAndPlay("office");
};
_nextButton.onRollOver = function () {
_nextButton.gotoAndStop(2);
};
_nextButton.onRollOut = function () {
_nextButton.gotoAndStop(1);
};
var textToPrint = _global.office_secretaryoff_msg;
var pointer = 0;
var id;
var interval = 5;
var done = false;
_text._textArea.text = "";
outputText(textToPrint);
Symbol 532 MovieClip Frame 1
function outputText(s) {
id = setInterval(showNextSymbol, interval, s);
}
function showNextSymbol(s) {
if (s.charAt(pointer) == "") {
clearInterval(id);
} else {
_text._textArea.text = _text._textArea.text + s.charAt(pointer);
pointer++;
}
}
_day_status._text.text = (((_global.getDayName() + " ") + _global.dayStatusFunction()) + " ") + _global.dayTimeFunction();
_day_status.gotoAndStop(_global.dayStatus);
trace((_global.dayStatus + " = ") + _global.dayStatusFunction());
if (_global.dayTime >= 21) {
_office_background.gotoAndStop(2);
} else {
_office_background.gotoAndStop(1);
}
_nextButton.onPress = function () {
_global.click_sound.start();
_root.gotoAndPlay("fitness_outside");
};
_nextButton.onRollOver = function () {
_nextButton.gotoAndStop(2);
};
_nextButton.onRollOut = function () {
_nextButton.gotoAndStop(1);
};
var textToPrint = _global.fitness_off_msg;
var pointer = 0;
var id;
var interval = 5;
var done = false;
_text._textArea.text = "";
outputText(textToPrint);
Symbol 619 Button
on (press) {
_global.click_sound.start();
speed = 2;
if (scene != 3) {
newScene = 3;
sceneChange = true;
number = _s1Sounds._currentframe - 1;
eval (("_s1Sounds._s" + number) + "SoundsLine").stop();
_s1Sounds.gotoAndStop(4);
_s1Sounds._s3SoundsLine.gotoAndPlay(1);
}
if ((_bar._currentframe < 750) and (_bar._currentframe >= 500)) {
barStep = 2;
} else {
barStep = 0.2;
}
}
Symbol 623 Button
on (press) {
_global.click_sound.start();
if (scene != 2) {
newScene = 2;
sceneChange = true;
number = _s1Sounds._currentframe - 1;
eval (("_s1Sounds._s" + number) + "SoundsLine").stop();
_s1Sounds.gotoAndStop(3);
_s1Sounds._s2SoundsLine.gotoAndPlay(1);
}
if ((_bar._currentframe < 500) and (_bar._currentframe >= 250)) {
barStep = 2;
} else {
barStep = 0.2;
}
}
Symbol 627 Button
on (press) {
_global.click_sound.start();
if (scene == 0) {
scene = 1;
_s1Sounds.gotoAndStop(2);
_s1Sounds.s1SoundsLine.gotoAndPlay(1);
} else if (scene != 1) {
newScene = 1;
sceneChange = true;
number = _s1Sounds._currentframe - 1;
eval (("_s1Sounds._s" + number) + "SoundsLine").stop();
_s1Sounds.gotoAndStop(2);
_s1Sounds._s1SoundsLine.gotoAndPlay(1);
}
if (_bar._currentframe < 250) {
barStep = 2;
} else {
barStep = 0.2;
}
}
Symbol 631 Button
on (press) {
_global.click_sound.start();
speed = 4;
if (scene != 3) {
newScene = 3;
sceneChange = true;
}
if ((_bar._currentframe < 1000) and (_bar._currentframe >= 750)) {
barStep = 2;
} else {
barStep = 0.2;
}
}
Symbol 635 Button
on (press) {
_global.click_sound.start();
_bar._x = 10000;
_b1._x = 10000;
_b2._x = 10000;
_b3._x = 10000;
_b4._x = 10000;
_b5._x = 10000;
scene = 4;
}
Symbol 650 MovieClip Frame 1
stop();
Symbol 650 MovieClip Frame 2
stop();
Symbol 650 MovieClip Frame 3
stop();
Symbol 650 MovieClip Frame 4
stop();
Symbol 685 MovieClip Frame 1
stop();
Symbol 685 MovieClip Frame 1000
stop();
Symbol 687 MovieClip Frame 1
var nbs = new Sound();
nbs.attachSound("newButtonSound");
_b2._visible = false;
_b3._visible = false;
_b4._visible = false;
_b5._visible = false;
keyFrames = new Array(2, 20, 16, 10, 2, 38, 30, 10, 2, 50, 45, 7);
playForward = true;
newScene = 0;
scene = 0;
speed = 1;
barValue = 0;
barStep = 0;
newScene = 1;
sceneChange = false;
speedLow = 0;
onEnterFrame = function () {
if ((_bar._currentframe >= 250) and (_b2._visible == false)) {
nbs.start();
_b2._visible = true;
barStep = 0.2;
}
if ((_bar._currentframe >= 500) and (_b3._visible == false)) {
nbs.start();
_b3._visible = true;
barStep = 0.2;
}
if ((_bar._currentframe >= 750) and (_b4._visible == false)) {
nbs.start();
_b4._visible = true;
barStep = 0.2;
}
if ((_bar._currentframe >= 1000) and (_b5._visible == false)) {
nbs.start();
_b5._visible = true;
barStep = 0.2;
}
barValue = barValue + barStep;
_bar.gotoAndStop(Math.round(barValue));
if (scene == 0) {
if (playForward) {
if (_currentframe < 7) {
if (speedLow < 1) {
speedLow++;
} else {
nextFrame();
speedLow = 0;
}
} else {
playForward = false;
}
} else if (_currentframe > 1) {
if (speedLow < 1) {
speedLow++;
} else {
prevFrame();
speedLow = 0;
}
} else {
playForward = true;
}
}
if (scene == 1) {
if (playForward) {
if (_currentframe < keyFrames[1]) {
if (sceneChange) {
scene = newScene;
sceneChange = false;
}
if (_currentframe < keyFrames[2]) {
gotoAndStop(_currentframe + 2);
_inside.gotoAndStop(_currentframe);
} else {
nextFrame();
_inside.nextFrame();
}
} else {
playForward = false;
}
} else if (_currentframe > keyFrames[0]) {
if (_currentframe > keyFrames[3]) {
gotoAndStop(_currentframe - 2);
_inside.gotoAndStop(_currentframe);
} else {
prevFrame();
_inside.prevFrame();
}
} else {
playForward = true;
}
}
if (scene == 2) {
if (playForward) {
if (_currentframe < keyFrames[5]) {
if (sceneChange) {
scene = newScene;
sceneChange = false;
}
if (_currentframe < keyFrames[6]) {
gotoAndStop(_currentframe + 2);
_inside.gotoAndStop(_currentframe);
} else {
nextFrame();
_inside.nextFrame();
}
} else {
playForward = false;
}
} else if (_currentframe > keyFrames[4]) {
if (_currentframe > keyFrames[7]) {
gotoAndStop(_currentframe - 2);
_inside.gotoAndStop(_currentframe);
} else {
prevFrame();
_inside.prevFrame();
}
} else {
playForward = true;
}
}
if (scene == 3) {
if (playForward) {
if (((_currentframe + speed) + 1) < keyFrames[9]) {
if (sceneChange) {
scene = newScene;
sceneChange = false;
}
if (_currentframe < keyFrames[10]) {
gotoAndStop((_currentframe + 1) + speed);
_inside.gotoAndStop(_currentframe);
} else {
gotoAndStop(_currentframe + speed);
_inside.gotoAndStop(_currentframe);
}
} else {
playForward = false;
}
} else if (((_currentframe - speed) - 1) > keyFrames[8]) {
if (_currentframe > keyFrames[11]) {
gotoAndStop((_currentframe - 1) - speed);
_inside.gotoAndStop(_currentframe);
} else {
gotoAndStop(_currentframe - speed);
_inside.gotoAndStop(_currentframe);
}
} else {
playForward = true;
}
}
if (scene == 4) {
if (playForward) {
if (_currentframe == 50) {
playForward = false;
} else {
nextFrame();
}
} else if (_currentframe == 2) {
stop();
_root.gotoAndPlay("office_cum");
} else if (_currentframe > 5) {
gotoAndStop(_currentframe - 4);
} else {
prevFrame();
}
}
};
Symbol 693 MovieClip Frame 10
stop();
Symbol 720 MovieClip Frame 249
if (_root.sounds._currentframe == 1) {
stopAllSounds();
} else {
stopAllSounds();
_root.sounds.gotoAndPlay(2);
}
_root._quality = "HIGH";
_root.gotoAndPlay("office");
Symbol 785 MovieClip Frame 1
stop();
Symbol 785 MovieClip Frame 500
_parent.next_button._visible = true;
stop();
Symbol 790 MovieClip Frame 1
stop();
Symbol 790 MovieClip Frame 2
stop();
Symbol 790 MovieClip Frame 3
stop();
Symbol 793 MovieClip Frame 1
stop();
Symbol 794 MovieClip Frame 1
this.onEnterFrame = function () {
rnd = random(5);
trace(rnd);
switch (rnd) {
case 0 :
msg_clip.msg.text = "I don't like it!";
break;
case 1 :
msg_clip.msg.text = "Please stop it!";
break;
case 2 :
msg_clip.msg.text = "I can't stand it!";
break;
case 3 :
msg_clip.msg.text = "Please don't touch me here!";
break;
case 4 :
msg_clip.msg.text = "I hate it!";
}
delete this.onEnterFrame;
};
Symbol 794 MovieClip Frame 21
stop();
Symbol 795 MovieClip Frame 1
next_button._visible = false;
stop_message._visible = false;
pleasure_delay = 1;
hand_tit1._visible = false;
hand_tit2._visible = false;
hand_leg1._visible = false;
hand_leg2._visible = false;
hand_waist1._visible = false;
hand_waist2._visible = false;
hand_pussy._visible = false;
tit1_tease._visible = false;
tit2_tease._visible = false;
hand_waist1_tease._visible = false;
hand_waist2_tease._visible = false;
hand_leg1_tease._visible = false;
hand_leg2_tease._visible = false;
hand_pussy_tease._visible = false;
current_level = 1;
pleasure_level = 0;
playSound = function () {
number = random(3) + 1;
_s1Sounds.gotoAndStop(number);
eval (("_s1Sounds._s" + number) + "SoundsLine").gotoAndPlay(1);
return(true);
};
stopSound = function () {
_s1Sounds.stop();
_s1Sounds._s1SoundsLine.stop();
_s1Sounds._s2SoundsLine.stop();
_s1Sounds._s3SoundsLine.stop();
return(true);
};
stopSound();
next_button.onPress = function () {
_global.click_sound.start();
_root.gotoAndPlay("fitness_sex");
};
tits.onRollOver = function () {
Mouse.hide();
hand_tit1._visible = true;
hand_tit2._visible = true;
};
tits.onPress = function () {
Mouse.hide();
playSound();
onEnterFrame = function () {
if ((pleasure_level < 441) && (pleasure_level >= 378)) {
i++;
if (i > pleasure_delay) {
i = 0;
}
if (i == 0) {
pleasure_level++;
}
pleasure_meter.gotoAndStop(pleasure_level);
} else {
if (pleasure_level != 441) {
stop_message._visible = true;
}
if (pleasure_level >= 500) {
stop_message._visible = false;
}
stop_message.gotoAndPlay(1);
delete onEnterFrame;
}
};
hand_tit1._visible = false;
tit1._visible = false;
tit1_tease._visible = true;
hand_tit2._visible = false;
tit2._visible = false;
tit2_tease._visible = true;
tit1_tease.gotoAndPlay(1);
tit2_tease.gotoAndPlay(1);
};
tits.onRelease = function () {
Mouse.show();
stopSound();
delete onEnterFrame;
stop_message._visible = false;
hand_tit1._visible = false;
tit1._visible = true;
tit1_tease._visible = false;
hand_tit2._visible = false;
tit2._visible = true;
tit2_tease._visible = false;
};
tits.onReleaseOutside = function () {
Mouse.show();
stopSound();
delete onEnterFrame;
stop_message._visible = false;
hand_tit1._visible = false;
tit1._visible = true;
tit1_tease._visible = false;
hand_tit2._visible = false;
tit2._visible = true;
tit2_tease._visible = false;
};
tits.onRollOut = function () {
Mouse.show();
hand_tit1._visible = false;
hand_tit2._visible = false;
};
tit1.onRollOver = function () {
Mouse.hide();
hand_tit1._visible = true;
};
i = 0;
tit1.onPress = function () {
Mouse.hide();
playSound();
onEnterFrame = function () {
if ((pleasure_level < 315) && (pleasure_level >= 252)) {
i++;
if (i > pleasure_delay) {
i = 0;
}
if (i == 0) {
pleasure_level++;
}
pleasure_meter.gotoAndStop(pleasure_level);
} else {
if (pleasure_level != 315) {
stop_message._visible = true;
}
if (pleasure_level >= 500) {
stop_message._visible = false;
}
stop_message.gotoAndPlay(1);
delete onEnterFrame;
}
};
hand_tit1._visible = false;
tit1._visible = false;
tit1_tease._visible = true;
tit1_tease.gotoAndPlay(1);
};
tit1.onRelease = function () {
Mouse.show();
stopSound();
delete onEnterFrame;
stop_message._visible = false;
hand_tit1._visible = false;
tit1._visible = true;
tit1_tease._visible = false;
};
tit1.onReleaseOutside = function () {
Mouse.show();
stopSound();
delete onEnterFrame;
stop_message._visible = false;
hand_tit1._visible = false;
tit1._visible = true;
tit1_tease._visible = false;
};
tit1.onRollOut = function () {
Mouse.show();
hand_tit1._visible = false;
};
tit2.onRollOver = function () {
Mouse.hide();
hand_tit2._visible = true;
};
tit2.onPress = function () {
Mouse.hide();
playSound();
onEnterFrame = function () {
if ((pleasure_level < 378) && (pleasure_level >= 315)) {
i++;
if (i > pleasure_delay) {
i = 0;
}
if (i == 0) {
pleasure_level++;
}
pleasure_meter.gotoAndStop(pleasure_level);
} else {
if (pleasure_level != 378) {
stop_message._visible = true;
}
if (pleasure_level >= 500) {
stop_message._visible = false;
}
stop_message.gotoAndPlay(1);
delete onEnterFrame;
}
};
hand_tit2._visible = false;
tit2._visible = false;
tit2_tease._visible = true;
tit2_tease.gotoAndPlay(1);
};
tit2.onRelease = function () {
Mouse.show();
stopSound();
delete onEnterFrame;
stop_message._visible = false;
hand_tit2._visible = true;
tit2._visible = false;
tit2_tease._visible = false;
};
tit2.onReleaseOutside = function () {
Mouse.show();
stopSound();
delete onEnterFrame;
stop_message._visible = false;
hand_tit2._visible = false;
tit2._visible = true;
tit2_tease._visible = false;
};
tit2.onRollOut = function () {
Mouse.show();
hand_tit2._visible = false;
};
waist1.onRollOver = function () {
Mouse.hide();
hand_waist1._visible = true;
};
waist1.onPress = function () {
Mouse.hide();
playSound();
onEnterFrame = function () {
if ((pleasure_level < 189) && (pleasure_level >= 126)) {
i++;
if (i > pleasure_delay) {
i = 0;
}
if (i == 0) {
pleasure_level++;
}
pleasure_meter.gotoAndStop(pleasure_level);
} else {
if (pleasure_level != 189) {
stop_message._visible = true;
}
if (pleasure_level >= 500) {
stop_message._visible = false;
}
stop_message.gotoAndPlay(1);
delete onEnterFrame;
}
};
hand_waist1._visible = false;
waist1._visible = false;
hand_waist1_tease._visible = true;
hand_waist1_tease.gotoAndPlay(1);
};
waist1.onRelease = function () {
Mouse.show();
stopSound();
delete onEnterFrame;
stop_message._visible = false;
hand_waist1._visible = false;
waist1._visible = true;
hand_waist1_tease._visible = false;
};
waist1.onReleaseOutside = function () {
Mouse.show();
stopSound();
delete onEnterFrame;
stop_message._visible = false;
hand_waist1._visible = false;
waist1._visible = true;
hand_waist1_tease._visible = false;
};
waist1.onRollOut = function () {
Mouse.show();
hand_waist1._visible = false;
};
waist2.onRollOver = function () {
Mouse.hide();
hand_waist2._visible = true;
};
waist2.onPress = function () {
Mouse.hide();
playSound();
onEnterFrame = function () {
if ((pleasure_level < 252) && (pleasure_level >= 189)) {
i++;
if (i > pleasure_delay) {
i = 0;
}
if (i == 0) {
pleasure_level++;
}
pleasure_meter.gotoAndStop(pleasure_level);
} else {
if (pleasure_level != 252) {
stop_message._visible = true;
}
if (pleasure_level >= 500) {
stop_message._visible = false;
}
stop_message.gotoAndPlay(1);
delete onEnterFrame;
}
};
hand_waist2._visible = false;
waist2._visible = false;
hand_waist2_tease._visible = true;
hand_waist2_tease.gotoAndPlay(1);
};
waist2.onRelease = function () {
Mouse.show();
stopSound();
delete onEnterFrame;
stop_message._visible = false;
hand_waist2._visible = false;
waist2._visible = true;
hand_waist2_tease._visible = false;
};
waist2.onReleaseOutside = function () {
Mouse.show();
stopSound();
delete onEnterFrame;
stop_message._visible = false;
hand_waist2._visible = false;
waist2._visible = true;
hand_waist2_tease._visible = false;
};
waist2.onRollOut = function () {
Mouse.show();
hand_waist2._visible = false;
};
leg1.onRollOver = function () {
Mouse.hide();
hand_leg1._visible = true;
};
leg1.onPress = function () {
Mouse.hide();
playSound();
onEnterFrame = function () {
if ((pleasure_level < 63) && (pleasure_level >= 0)) {
i++;
if (i > pleasure_delay) {
i = 0;
}
if (i == 0) {
pleasure_level++;
}
pleasure_meter.gotoAndStop(pleasure_level);
} else {
if (pleasure_level != 63) {
stop_message._visible = true;
}
if (pleasure_level >= 500) {
stop_message._visible = false;
}
stop_message.gotoAndPlay(1);
delete onEnterFrame;
}
};
hand_leg1._visible = false;
leg1._visible = false;
hand_leg1_tease._visible = true;
hand_leg1_tease.gotoAndPlay(1);
};
leg1.onRelease = function () {
Mouse.show();
stopSound();
delete onEnterFrame;
stop_message._visible = false;
hand_leg1._visible = false;
leg1._visible = true;
hand_leg1_tease._visible = false;
};
leg1.onReleaseOutside = function () {
Mouse.show();
stopSound();
delete onEnterFrame;
stop_message._visible = false;
hand_leg1._visible = false;
leg1._visible = true;
hand_leg1_tease._visible = false;
};
leg1.onRollOut = function () {
Mouse.show();
hand_leg1._visible = false;
};
leg2.onRollOver = function () {
Mouse.hide();
hand_leg2._visible = true;
};
leg2.onPress = function () {
Mouse.hide();
playSound();
onEnterFrame = function () {
if ((pleasure_level < 126) && (pleasure_level >= 63)) {
i++;
if (i > pleasure_delay) {
i = 0;
}
if (i == 0) {
pleasure_level++;
}
pleasure_meter.gotoAndStop(pleasure_level);
} else {
if (pleasure_level != 126) {
stop_message._visible = true;
}
if (pleasure_level >= 500) {
stop_message._visible = false;
}
stop_message.gotoAndPlay(1);
delete onEnterFrame;
}
};
hand_leg2._visible = false;
leg2._visible = false;
hand_leg2_tease._visible = true;
hand_leg2_tease.gotoAndPlay(1);
};
leg2.onRelease = function () {
Mouse.show();
stopSound();
delete onEnterFrame;
stop_message._visible = false;
hand_leg2._visible = false;
leg2._visible = true;
hand_leg2_tease._visible = false;
};
leg2.onReleaseOutside = function () {
Mouse.show();
stopSound();
delete onEnterFrame;
stop_message._visible = false;
hand_leg2._visible = false;
leg2._visible = true;
hand_leg2_tease._visible = false;
};
leg2.onRollOut = function () {
Mouse.show();
hand_leg2._visible = false;
};
pussy.onRollOver = function () {
Mouse.hide();
hand_pussy._visible = true;
};
pussy.onPress = function () {
Mouse.hide();
playSound();
onEnterFrame = function () {
if ((pleasure_level < 500) && (pleasure_level >= 441)) {
i++;
if (i > pleasure_delay) {
i = 0;
}
if (i == 0) {
pleasure_level++;
}
pleasure_meter.gotoAndStop(pleasure_level);
} else {
if (pleasure_level != 500) {
stop_message._visible = true;
}
if (pleasure_level >= 500) {
stop_message._visible = false;
}
stop_message.gotoAndPlay(1);
delete onEnterFrame;
}
};
hand_pussy._visible = false;
pussy._visible = false;
hand_pussy_tease._visible = true;
hand_pussy_tease.gotoAndPlay(1);
};
pussy.onRelease = function () {
Mouse.show();
stopSound();
delete onEnterFrame;
stop_message._visible = false;
hand_pussy._visible = false;
pussy._visible = true;
hand_pussy_tease._visible = false;
};
pussy.onReleaseOutside = function () {
Mouse.show();
stopSound();
delete onEnterFrame;
stop_message._visible = false;
hand_pussy._visible = false;
pussy._visible = true;
hand_pussy_tease._visible = false;
};
pussy.onRollOut = function () {
Mouse.show();
hand_pussy._visible = false;
};
stop();
Symbol 861 Button
on (press) {
speed = 2;
_global.click_sound.start();
if (scene != 3) {
newScene = 3;
sceneChange = true;
number = _s1Sounds._currentframe - 1;
eval (("_s1Sounds._s" + number) + "SoundsLine").stop();
_s1Sounds.gotoAndStop(4);
_s1Sounds._s3SoundsLine.gotoAndPlay(1);
}
if ((_bar._currentframe < 750) and (_bar._currentframe >= 500)) {
barStep = 2;
} else {
barStep = 0.2;
}
}
Symbol 862 Button
on (press) {
speed = 4;
_global.click_sound.start();
if (scene != 3) {
newScene = 3;
sceneChange = true;
}
if ((_bar._currentframe < 1000) and (_bar._currentframe >= 750)) {
barStep = 2;
} else {
barStep = 0.2;
}
}
Symbol 865 MovieClip Frame 1
var nbs = new Sound();
nbs.attachSound("newButtonSound");
_b2._visible = false;
_b3._visible = false;
_b4._visible = false;
_b5._visible = false;
keyFrames = new Array(2, 20, 16, 10, 2, 38, 30, 10, 2, 50, 45, 7);
playForward = true;
newScene = 0;
scene = 0;
speed = 1;
barValue = 0;
barStep = 0;
newScene = 1;
sceneChange = false;
speedLow = 0;
onEnterFrame = function () {
if ((_bar._currentframe >= 250) and (_b2._visible == false)) {
nbs.start();
_b2._visible = true;
barStep = 0.2;
}
if ((_bar._currentframe >= 500) and (_b3._visible == false)) {
nbs.start();
_b3._visible = true;
barStep = 0.2;
}
if ((_bar._currentframe >= 750) and (_b4._visible == false)) {
nbs.start();
_b4._visible = true;
barStep = 0.2;
}
if ((_bar._currentframe >= 1000) and (_b5._visible == false)) {
nbs.start();
_b5._visible = true;
barStep = 0.2;
}
barValue = barValue + barStep;
_bar.gotoAndStop(Math.round(barValue));
if (scene == 0) {
if (playForward) {
if (_currentframe < 7) {
if (speedLow < 1) {
speedLow++;
} else {
nextFrame();
speedLow = 0;
}
} else {
playForward = false;
}
} else if (_currentframe > 1) {
if (speedLow < 1) {
speedLow++;
} else {
prevFrame();
speedLow = 0;
}
} else {
playForward = true;
}
}
if (scene == 1) {
if (playForward) {
if (_currentframe < keyFrames[1]) {
if (sceneChange) {
scene = newScene;
sceneChange = false;
}
if (_currentframe < keyFrames[2]) {
gotoAndStop(_currentframe + 2);
_inside.gotoAndStop(_currentframe);
} else {
nextFrame();
_inside.nextFrame();
}
} else {
playForward = false;
}
} else if (_currentframe > keyFrames[0]) {
if (_currentframe > keyFrames[3]) {
gotoAndStop(_currentframe - 2);
_inside.gotoAndStop(_currentframe);
} else {
prevFrame();
_inside.prevFrame();
}
} else {
playForward = true;
}
}
if (scene == 2) {
if (playForward) {
if (_currentframe < keyFrames[5]) {
if (sceneChange) {
scene = newScene;
sceneChange = false;
}
if (_currentframe < keyFrames[6]) {
gotoAndStop(_currentframe + 2);
_inside.gotoAndStop(_currentframe);
} else {
nextFrame();
_inside.nextFrame();
}
} else {
playForward = false;
}
} else if (_currentframe > keyFrames[4]) {
if (_currentframe > keyFrames[7]) {
gotoAndStop(_currentframe - 2);
_inside.gotoAndStop(_currentframe);
} else {
prevFrame();
_inside.prevFrame();
}
} else {
playForward = true;
}
}
if (scene == 3) {
if (playForward) {
if (((_currentframe + speed) + 1) < keyFrames[9]) {
if (sceneChange) {
scene = newScene;
sceneChange = false;
}
if (_currentframe < keyFrames[10]) {
gotoAndStop((_currentframe + 1) + speed);
_inside.gotoAndStop(_currentframe);
} else {
gotoAndStop(_currentframe + speed);
_inside.gotoAndStop(_currentframe);
}
} else {
playForward = false;
}
} else if (((_currentframe - speed) - 1) > keyFrames[8]) {
if (_currentframe > keyFrames[11]) {
gotoAndStop((_currentframe - 1) - speed);
_inside.gotoAndStop(_currentframe);
} else {
gotoAndStop(_currentframe - speed);
_inside.gotoAndStop(_currentframe);
}
} else {
playForward = true;
}
}
if (scene == 4) {
if (playForward) {
if (_currentframe == 50) {
playForward = false;
} else {
nextFrame();
}
} else if (_currentframe == 2) {
stop();
_root.gotoAndPlay("fitness_cum");
} else if (_currentframe > 5) {
gotoAndStop(_currentframe - 4);
} else {
prevFrame();
}
}
};
Symbol 890 MovieClip Frame 200
if (_root.sounds._currentframe != 1) {
stopAllSounds();
_root.sounds.gotoAndPlay(2);
}
_root.gotoAndPlay("fitness_inside");
Symbol 932 MovieClip Frame 1
stop();
Symbol 933 MovieClip Frame 1
this.onEnterFrame = function () {
rnd = random(5);
trace(rnd);
switch (rnd) {
case 0 :
msg_clip.msg.text = "I don't like it!";
break;
case 1 :
msg_clip.msg.text = "Please stop it!";
break;
case 2 :
msg_clip.msg.text = "I can't stand it!";
break;
case 3 :
msg_clip.msg.text = "Please don't touch me here!";
break;
case 4 :
msg_clip.msg.text = "I hate it!";
}
delete this.onEnterFrame;
};
Symbol 933 MovieClip Frame 21
stop();
Symbol 934 MovieClip Frame 1
next_button._visible = false;
stop_message._visible = false;
pleasure_delay = 1;
hand_tit1._visible = false;
hand_tit2._visible = false;
hand_leg1._visible = false;
hand_leg2._visible = false;
hand_waist1._visible = false;
hand_waist2._visible = false;
hand_pussy._visible = false;
tit1_tease._visible = false;
tit2_tease._visible = false;
hand_waist1_tease._visible = false;
hand_waist2_tease._visible = false;
hand_leg1_tease._visible = false;
hand_leg2_tease._visible = false;
hand_pussy_tease._visible = false;
current_level = 1;
pleasure_level = 0;
playSound = function () {
number = random(3) + 1;
_s1Sounds.gotoAndStop(number);
eval (("_s1Sounds._s" + number) + "SoundsLine").gotoAndPlay(1);
return(true);
};
stopSound = function () {
_s1Sounds.stop();
_s1Sounds._s1SoundsLine.stop();
_s1Sounds._s2SoundsLine.stop();
_s1Sounds._s3SoundsLine.stop();
return(true);
};
stopSound();
next_button.onPress = function () {
_global.click_sound.start();
_root.gotoAndPlay("hotel_sex");
};
tits.onRollOver = function () {
Mouse.hide();
hand_tit1._visible = true;
hand_tit2._visible = true;
};
tits.onPress = function () {
Mouse.hide();
playSound();
onEnterFrame = function () {
if ((pleasure_level < 441) && (pleasure_level >= 378)) {
i++;
if (i > pleasure_delay) {
i = 0;
}
if (i == 0) {
pleasure_level++;
}
pleasure_meter.gotoAndStop(pleasure_level);
} else {
if (pleasure_level != 441) {
stop_message._visible = true;
}
if (pleasure_level >= 500) {
stop_message._visible = false;
}
stop_message.gotoAndPlay(1);
delete onEnterFrame;
}
};
hand_tit1._visible = false;
tit1._visible = false;
tit1_tease._visible = true;
hand_tit2._visible = false;
tit2._visible = false;
tit2_tease._visible = true;
tit1_tease.gotoAndPlay(1);
tit2_tease.gotoAndPlay(1);
};
tits.onRelease = function () {
Mouse.show();
stopSound();
delete onEnterFrame;
stop_message._visible = false;
hand_tit1._visible = false;
tit1._visible = true;
tit1_tease._visible = false;
hand_tit2._visible = false;
tit2._visible = true;
tit2_tease._visible = false;
};
tits.onReleaseOutside = function () {
Mouse.show();
stopSound();
delete onEnterFrame;
stop_message._visible = false;
hand_tit1._visible = false;
tit1._visible = true;
tit1_tease._visible = false;
hand_tit2._visible = false;
tit2._visible = true;
tit2_tease._visible = false;
};
tits.onRollOut = function () {
Mouse.show();
hand_tit1._visible = false;
hand_tit2._visible = false;
};
tit1.onRollOver = function () {
Mouse.hide();
hand_tit1._visible = true;
};
i = 0;
tit1.onPress = function () {
Mouse.hide();
playSound();
onEnterFrame = function () {
if ((pleasure_level < 315) && (pleasure_level >= 252)) {
i++;
if (i > pleasure_delay) {
i = 0;
}
if (i == 0) {
pleasure_level++;
}
pleasure_meter.gotoAndStop(pleasure_level);
} else {
if (pleasure_level != 315) {
stop_message._visible = true;
}
if (pleasure_level >= 500) {
stop_message._visible = false;
}
stop_message.gotoAndPlay(1);
delete onEnterFrame;
}
};
hand_tit1._visible = false;
tit1._visible = false;
tit1_tease._visible = true;
tit1_tease.gotoAndPlay(1);
};
tit1.onRelease = function () {
Mouse.show();
stopSound();
delete onEnterFrame;
stop_message._visible = false;
hand_tit1._visible = false;
tit1._visible = true;
tit1_tease._visible = false;
};
tit1.onReleaseOutside = function () {
Mouse.show();
stopSound();
delete onEnterFrame;
stop_message._visible = false;
hand_tit1._visible = false;
tit1._visible = true;
tit1_tease._visible = false;
};
tit1.onRollOut = function () {
Mouse.show();
hand_tit1._visible = false;
};
tit2.onRollOver = function () {
Mouse.hide();
hand_tit2._visible = true;
};
tit2.onPress = function () {
Mouse.hide();
playSound();
onEnterFrame = function () {
if ((pleasure_level < 378) && (pleasure_level >= 315)) {
i++;
if (i > pleasure_delay) {
i = 0;
}
if (i == 0) {
pleasure_level++;
}
pleasure_meter.gotoAndStop(pleasure_level);
} else {
if (pleasure_level != 378) {
stop_message._visible = true;
}
if (pleasure_level >= 500) {
stop_message._visible = false;
}
stop_message.gotoAndPlay(1);
delete onEnterFrame;
}
};
hand_tit2._visible = false;
tit2._visible = false;
tit2_tease._visible = true;
tit2_tease.gotoAndPlay(1);
};
tit2.onRelease = function () {
Mouse.show();
stopSound();
delete onEnterFrame;
stop_message._visible = false;
hand_tit2._visible = true;
tit2._visible = false;
tit2_tease._visible = false;
};
tit2.onReleaseOutside = function () {
Mouse.show();
stopSound();
delete onEnterFrame;
stop_message._visible = false;
hand_tit2._visible = false;
tit2._visible = true;
tit2_tease._visible = false;
};
tit2.onRollOut = function () {
Mouse.show();
hand_tit2._visible = false;
};
waist1.onRollOver = function () {
Mouse.hide();
hand_waist1._visible = true;
};
waist1.onPress = function () {
Mouse.hide();
playSound();
onEnterFrame = function () {
if ((pleasure_level < 189) && (pleasure_level >= 126)) {
i++;
if (i > pleasure_delay) {
i = 0;
}
if (i == 0) {
pleasure_level++;
}
pleasure_meter.gotoAndStop(pleasure_level);
} else {
if (pleasure_level != 189) {
stop_message._visible = true;
}
if (pleasure_level >= 500) {
stop_message._visible = false;
}
stop_message.gotoAndPlay(1);
delete onEnterFrame;
}
};
hand_waist1._visible = false;
waist1._visible = false;
hand_waist1_tease._visible = true;
hand_waist1_tease.gotoAndPlay(1);
};
waist1.onRelease = function () {
Mouse.show();
stopSound();
delete onEnterFrame;
stop_message._visible = false;
hand_waist1._visible = false;
waist1._visible = true;
hand_waist1_tease._visible = false;
};
waist1.onReleaseOutside = function () {
Mouse.show();
stopSound();
delete onEnterFrame;
stop_message._visible = false;
hand_waist1._visible = false;
waist1._visible = true;
hand_waist1_tease._visible = false;
};
waist1.onRollOut = function () {
Mouse.show();
hand_waist1._visible = false;
};
waist2.onRollOver = function () {
Mouse.hide();
hand_waist2._visible = true;
};
waist2.onPress = function () {
Mouse.hide();
playSound();
onEnterFrame = function () {
if ((pleasure_level < 252) && (pleasure_level >= 189)) {
i++;
if (i > pleasure_delay) {
i = 0;
}
if (i == 0) {
pleasure_level++;
}
pleasure_meter.gotoAndStop(pleasure_level);
} else {
if (pleasure_level != 252) {
stop_message._visible = true;
}
if (pleasure_level >= 500) {
stop_message._visible = false;
}
stop_message.gotoAndPlay(1);
delete onEnterFrame;
}
};
hand_waist2._visible = false;
waist2._visible = false;
hand_waist2_tease._visible = true;
hand_waist2_tease.gotoAndPlay(1);
};
waist2.onRelease = function () {
Mouse.show();
stopSound();
delete onEnterFrame;
stop_message._visible = false;
hand_waist2._visible = false;
waist2._visible = true;
hand_waist2_tease._visible = false;
};
waist2.onReleaseOutside = function () {
Mouse.show();
stopSound();
delete onEnterFrame;
stop_message._visible = false;
hand_waist2._visible = false;
waist2._visible = true;
hand_waist2_tease._visible = false;
};
waist2.onRollOut = function () {
Mouse.show();
hand_waist2._visible = false;
};
leg1.onRollOver = function () {
Mouse.hide();
hand_leg1._visible = true;
};
leg1.onPress = function () {
Mouse.hide();
playSound();
onEnterFrame = function () {
if ((pleasure_level < 63) && (pleasure_level >= 0)) {
i++;
if (i > pleasure_delay) {
i = 0;
}
if (i == 0) {
pleasure_level++;
}
pleasure_meter.gotoAndStop(pleasure_level);
} else {
if (pleasure_level != 63) {
stop_message._visible = true;
}
if (pleasure_level >= 500) {
stop_message._visible = false;
}
stop_message.gotoAndPlay(1);
delete onEnterFrame;
}
};
hand_leg1._visible = false;
leg1._visible = false;
hand_leg1_tease._visible = true;
hand_leg1_tease.gotoAndPlay(1);
};
leg1.onRelease = function () {
Mouse.show();
stopSound();
delete onEnterFrame;
stop_message._visible = false;
hand_leg1._visible = false;
leg1._visible = true;
hand_leg1_tease._visible = false;
};
leg1.onReleaseOutside = function () {
Mouse.show();
stopSound();
delete onEnterFrame;
stop_message._visible = false;
hand_leg1._visible = false;
leg1._visible = true;
hand_leg1_tease._visible = false;
};
leg1.onRollOut = function () {
Mouse.show();
hand_leg1._visible = false;
};
leg2.onRollOver = function () {
Mouse.hide();
hand_leg2._visible = true;
};
leg2.onPress = function () {
Mouse.hide();
playSound();
onEnterFrame = function () {
if ((pleasure_level < 126) && (pleasure_level >= 63)) {
i++;
if (i > pleasure_delay) {
i = 0;
}
if (i == 0) {
pleasure_level++;
}
pleasure_meter.gotoAndStop(pleasure_level);
} else {
if (pleasure_level != 126) {
stop_message._visible = true;
}
if (pleasure_level >= 500) {
stop_message._visible = false;
}
stop_message.gotoAndPlay(1);
delete onEnterFrame;
}
};
hand_leg2._visible = false;
leg2._visible = false;
hand_leg2_tease._visible = true;
hand_leg2_tease.gotoAndPlay(1);
};
leg2.onRelease = function () {
Mouse.show();
stopSound();
delete onEnterFrame;
stop_message._visible = false;
hand_leg2._visible = false;
leg2._visible = true;
hand_leg2_tease._visible = false;
};
leg2.onReleaseOutside = function () {
Mouse.show();
stopSound();
delete onEnterFrame;
stop_message._visible = false;
hand_leg2._visible = false;
leg2._visible = true;
hand_leg2_tease._visible = false;
};
leg2.onRollOut = function () {
Mouse.show();
hand_leg2._visible = false;
};
pussy.onRollOver = function () {
Mouse.hide();
hand_pussy._visible = true;
};
pussy.onPress = function () {
Mouse.hide();
playSound();
onEnterFrame = function () {
if ((pleasure_level < 500) && (pleasure_level >= 441)) {
i++;
if (i > pleasure_delay) {
i = 0;
}
if (i == 0) {
pleasure_level++;
}
pleasure_meter.gotoAndStop(pleasure_level);
} else {
if (pleasure_level != 500) {
stop_message._visible = true;
}
if (pleasure_level >= 500) {
stop_message._visible = false;
}
stop_message.gotoAndPlay(1);
delete onEnterFrame;
}
};
hand_pussy._visible = false;
pussy._visible = false;
hand_pussy_tease._visible = true;
hand_pussy_tease.gotoAndPlay(1);
};
pussy.onRelease = function () {
Mouse.show();
stopSound();
delete onEnterFrame;
stop_message._visible = false;
hand_pussy._visible = false;
pussy._visible = true;
hand_pussy_tease._visible = false;
};
pussy.onReleaseOutside = function () {
Mouse.show();
stopSound();
delete onEnterFrame;
stop_message._visible = false;
hand_pussy._visible = false;
pussy._visible = true;
hand_pussy_tease._visible = false;
};
pussy.onRollOut = function () {
Mouse.show();
hand_pussy._visible = false;
};
stop();
Symbol 994 MovieClip Frame 1
var nbs = new Sound();
nbs.attachSound("newButtonSound");
_b2._visible = false;
_b3._visible = false;
_b4._visible = false;
_b5._visible = false;
keyFrames = new Array(2, 20, 16, 10, 2, 38, 30, 10, 2, 50, 45, 7);
playForward = true;
newScene = 0;
scene = 0;
speed = 1;
barValue = 0;
barStep = 0;
newScene = 1;
sceneChange = false;
speedLow = 0;
onEnterFrame = function () {
if ((_bar._currentframe >= 250) and (_b2._visible == false)) {
nbs.start();
_b2._visible = true;
barStep = 0.2;
}
if ((_bar._currentframe >= 500) and (_b3._visible == false)) {
nbs.start();
_b3._visible = true;
barStep = 0.2;
}
if ((_bar._currentframe >= 750) and (_b4._visible == false)) {
nbs.start();
_b4._visible = true;
barStep = 0.2;
}
if ((_bar._currentframe >= 1000) and (_b5._visible == false)) {
nbs.start();
_b5._visible = true;
barStep = 0.2;
}
barValue = barValue + barStep;
_bar.gotoAndStop(Math.round(barValue));
if (scene == 0) {
if (playForward) {
if (_currentframe < 7) {
if (speedLow < 1) {
speedLow++;
} else {
nextFrame();
speedLow = 0;
}
} else {
playForward = false;
}
} else if (_currentframe > 1) {
if (speedLow < 1) {
speedLow++;
} else {
prevFrame();
speedLow = 0;
}
} else {
playForward = true;
}
}
if (scene == 1) {
if (playForward) {
if (_currentframe < keyFrames[1]) {
if (sceneChange) {
scene = newScene;
sceneChange = false;
}
if (_currentframe < keyFrames[2]) {
gotoAndStop(_currentframe + 2);
_inside.gotoAndStop(_currentframe);
} else {
nextFrame();
_inside.nextFrame();
}
} else {
playForward = false;
}
} else if (_currentframe > keyFrames[0]) {
if (_currentframe > keyFrames[3]) {
gotoAndStop(_currentframe - 2);
_inside.gotoAndStop(_currentframe);
} else {
prevFrame();
_inside.prevFrame();
}
} else {
playForward = true;
}
}
if (scene == 2) {
if (playForward) {
if (_currentframe < keyFrames[5]) {
if (sceneChange) {
scene = newScene;
sceneChange = false;
}
if (_currentframe < keyFrames[6]) {
gotoAndStop(_currentframe + 2);
_inside.gotoAndStop(_currentframe);
} else {
nextFrame();
_inside.nextFrame();
}
} else {
playForward = false;
}
} else if (_currentframe > keyFrames[4]) {
if (_currentframe > keyFrames[7]) {
gotoAndStop(_currentframe - 2);
_inside.gotoAndStop(_currentframe);
} else {
prevFrame();
_inside.prevFrame();
}
} else {
playForward = true;
}
}
if (scene == 3) {
if (playForward) {
if (((_currentframe + speed) + 1) < keyFrames[9]) {
if (sceneChange) {
scene = newScene;
sceneChange = false;
}
if (_currentframe < keyFrames[10]) {
gotoAndStop((_currentframe + 1) + speed);
_inside.gotoAndStop(_currentframe);
} else {
gotoAndStop(_currentframe + speed);
_inside.gotoAndStop(_currentframe);
}
} else {
playForward = false;
}
} else if (((_currentframe - speed) - 1) > keyFrames[8]) {
if (_currentframe > keyFrames[11]) {
gotoAndStop((_currentframe - 1) - speed);
_inside.gotoAndStop(_currentframe);
} else {
gotoAndStop(_currentframe - speed);
_inside.gotoAndStop(_currentframe);
}
} else {
playForward = true;
}
}
if (scene == 4) {
if (playForward) {
if (_currentframe == 50) {
playForward = false;
} else {
nextFrame();
}
} else if (_currentframe == 2) {
stop();
_root.gotoAndPlay("hotel_cum");
} else if (_currentframe > 5) {
gotoAndStop(_currentframe - 4);
} else {
prevFrame();
}
}
};
Symbol 1028 MovieClip Frame 174
if (_root.sounds._currentframe != 1) {
stopAllSounds();
_root.sounds.gotoAndPlay(2);
}
_root.gotoAndPlay("hotel_inside");
Symbol 1057 MovieClip Frame 1
stop();
Symbol 1058 MovieClip Frame 1
this.onEnterFrame = function () {
rnd = random(5);
trace(rnd);
switch (rnd) {
case 0 :
msg_clip.msg.text = "I don't like it!";
break;
case 1 :
msg_clip.msg.text = "Please stop it!";
break;
case 2 :
msg_clip.msg.text = "I can't stand it!";
break;
case 3 :
msg_clip.msg.text = "Please don't touch me here!";
break;
case 4 :
msg_clip.msg.text = "I hate it!";
}
delete this.onEnterFrame;
};
Symbol 1058 MovieClip Frame 21
stop();
Symbol 1059 MovieClip Frame 1
next_button._visible = false;
stop_message._visible = false;
pleasure_delay = 1;
hand_tit1._visible = false;
hand_tit2._visible = false;
hand_leg1._visible = false;
hand_leg2._visible = false;
hand_waist1._visible = false;
hand_waist2._visible = false;
hand_pussy._visible = false;
tit1_tease._visible = false;
tit2_tease._visible = false;
hand_waist1_tease._visible = false;
hand_waist2_tease._visible = false;
hand_leg1_tease._visible = false;
hand_leg2_tease._visible = false;
hand_pussy_tease._visible = false;
current_level = 1;
pleasure_level = 0;
playSound = function () {
number = random(3) + 1;
_s1Sounds.gotoAndStop(number);
eval (("_s1Sounds._s" + number) + "SoundsLine").gotoAndPlay(1);
return(true);
};
stopSound = function () {
_s1Sounds.stop();
_s1Sounds._s1SoundsLine.stop();
_s1Sounds._s2SoundsLine.stop();
_s1Sounds._s3SoundsLine.stop();
return(true);
};
stopSound();
next_button.onPress = function () {
_global.click_sound.start();
_root.gotoAndPlay("home_sex");
};
tits.onRollOver = function () {
Mouse.hide();
hand_tit1._visible = true;
hand_tit2._visible = true;
};
tits.onPress = function () {
Mouse.hide();
playSound();
onEnterFrame = function () {
if ((pleasure_level < 441) && (pleasure_level >= 378)) {
i++;
if (i > pleasure_delay) {
i = 0;
}
if (i == 0) {
pleasure_level++;
}
pleasure_meter.gotoAndStop(pleasure_level);
} else {
if (pleasure_level != 441) {
stop_message._visible = true;
}
if (pleasure_level >= 500) {
stop_message._visible = false;
}
stop_message.gotoAndPlay(1);
delete onEnterFrame;
}
};
hand_tit1._visible = false;
tit1._visible = false;
tit1_tease._visible = true;
hand_tit2._visible = false;
tit2._visible = false;
tit2_tease._visible = true;
tit1_tease.gotoAndPlay(1);
tit2_tease.gotoAndPlay(1);
};
tits.onRelease = function () {
Mouse.show();
stopSound();
delete onEnterFrame;
stop_message._visible = false;
hand_tit1._visible = false;
tit1._visible = true;
tit1_tease._visible = false;
hand_tit2._visible = false;
tit2._visible = true;
tit2_tease._visible = false;
};
tits.onReleaseOutside = function () {
Mouse.show();
stopSound();
delete onEnterFrame;
stop_message._visible = false;
hand_tit1._visible = false;
tit1._visible = true;
tit1_tease._visible = false;
hand_tit2._visible = false;
tit2._visible = true;
tit2_tease._visible = false;
};
tits.onRollOut = function () {
Mouse.show();
hand_tit1._visible = false;
hand_tit2._visible = false;
};
tit1.onRollOver = function () {
Mouse.hide();
hand_tit1._visible = true;
};
i = 0;
tit1.onPress = function () {
Mouse.hide();
playSound();
onEnterFrame = function () {
if ((pleasure_level < 315) && (pleasure_level >= 252)) {
i++;
if (i > pleasure_delay) {
i = 0;
}
if (i == 0) {
pleasure_level++;
}
pleasure_meter.gotoAndStop(pleasure_level);
} else {
if (pleasure_level != 315) {
stop_message._visible = true;
}
if (pleasure_level >= 500) {
stop_message._visible = false;
}
stop_message.gotoAndPlay(1);
delete onEnterFrame;
}
};
hand_tit1._visible = false;
tit1._visible = false;
tit1_tease._visible = true;
tit1_tease.gotoAndPlay(1);
};
tit1.onRelease = function () {
Mouse.show();
stopSound();
delete onEnterFrame;
stop_message._visible = false;
hand_tit1._visible = false;
tit1._visible = true;
tit1_tease._visible = false;
};
tit1.onReleaseOutside = function () {
Mouse.show();
stopSound();
delete onEnterFrame;
stop_message._visible = false;
hand_tit1._visible = false;
tit1._visible = true;
tit1_tease._visible = false;
};
tit1.onRollOut = function () {
Mouse.show();
hand_tit1._visible = false;
};
tit2.onRollOver = function () {
Mouse.hide();
hand_tit2._visible = true;
};
tit2.onPress = function () {
Mouse.hide();
playSound();
onEnterFrame = function () {
if ((pleasure_level < 378) && (pleasure_level >= 315)) {
i++;
if (i > pleasure_delay) {
i = 0;
}
if (i == 0) {
pleasure_level++;
}
pleasure_meter.gotoAndStop(pleasure_level);
} else {
if (pleasure_level != 378) {
stop_message._visible = true;
}
if (pleasure_level >= 500) {
stop_message._visible = false;
}
stop_message.gotoAndPlay(1);
delete onEnterFrame;
}
};
hand_tit2._visible = false;
tit2._visible = false;
tit2_tease._visible = true;
tit2_tease.gotoAndPlay(1);
};
tit2.onRelease = function () {
Mouse.show();
stopSound();
delete onEnterFrame;
stop_message._visible = false;
hand_tit2._visible = true;
tit2._visible = false;
tit2_tease._visible = false;
};
tit2.onReleaseOutside = function () {
Mouse.show();
stopSound();
delete onEnterFrame;
stop_message._visible = false;
hand_tit2._visible = false;
tit2._visible = true;
tit2_tease._visible = false;
};
tit2.onRollOut = function () {
Mouse.show();
hand_tit2._visible = false;
};
waist1.onRollOver = function () {
Mouse.hide();
hand_waist1._visible = true;
};
waist1.onPress = function () {
Mouse.hide();
playSound();
onEnterFrame = function () {
if ((pleasure_level < 189) && (pleasure_level >= 126)) {
i++;
if (i > pleasure_delay) {
i = 0;
}
if (i == 0) {
pleasure_level++;
}
pleasure_meter.gotoAndStop(pleasure_level);
} else {
if (pleasure_level != 189) {
stop_message._visible = true;
}
if (pleasure_level >= 500) {
stop_message._visible = false;
}
stop_message.gotoAndPlay(1);
delete onEnterFrame;
}
};
hand_waist1._visible = false;
waist1._visible = false;
hand_waist1_tease._visible = true;
hand_waist1_tease.gotoAndPlay(1);
};
waist1.onRelease = function () {
Mouse.show();
stopSound();
delete onEnterFrame;
stop_message._visible = false;
hand_waist1._visible = false;
waist1._visible = true;
hand_waist1_tease._visible = false;
};
waist1.onReleaseOutside = function () {
Mouse.show();
stopSound();
delete onEnterFrame;
stop_message._visible = false;
hand_waist1._visible = false;
waist1._visible = true;
hand_waist1_tease._visible = false;
};
waist1.onRollOut = function () {
Mouse.show();
hand_waist1._visible = false;
};
waist2.onRollOver = function () {
Mouse.hide();
hand_waist2._visible = true;
};
waist2.onPress = function () {
Mouse.hide();
playSound();
onEnterFrame = function () {
if ((pleasure_level < 252) && (pleasure_level >= 189)) {
i++;
if (i > pleasure_delay) {
i = 0;
}
if (i == 0) {
pleasure_level++;
}
pleasure_meter.gotoAndStop(pleasure_level);
} else {
if (pleasure_level != 252) {
stop_message._visible = true;
}
if (pleasure_level >= 500) {
stop_message._visible = false;
}
stop_message.gotoAndPlay(1);
delete onEnterFrame;
}
};
hand_waist2._visible = false;
waist2._visible = false;
hand_waist2_tease._visible = true;
hand_waist2_tease.gotoAndPlay(1);
};
waist2.onRelease = function () {
Mouse.show();
stopSound();
delete onEnterFrame;
stop_message._visible = false;
hand_waist2._visible = false;
waist2._visible = true;
hand_waist2_tease._visible = false;
};
waist2.onReleaseOutside = function () {
Mouse.show();
stopSound();
delete onEnterFrame;
stop_message._visible = false;
hand_waist2._visible = false;
waist2._visible = true;
hand_waist2_tease._visible = false;
};
waist2.onRollOut = function () {
Mouse.show();
hand_waist2._visible = false;
};
leg1.onRollOver = function () {
Mouse.hide();
hand_leg1._visible = true;
};
leg1.onPress = function () {
Mouse.hide();
playSound();
onEnterFrame = function () {
if ((pleasure_level < 63) && (pleasure_level >= 0)) {
i++;
if (i > pleasure_delay) {
i = 0;
}
if (i == 0) {
pleasure_level++;
}
pleasure_meter.gotoAndStop(pleasure_level);
} else {
if (pleasure_level != 63) {
stop_message._visible = true;
}
if (pleasure_level >= 500) {
stop_message._visible = false;
}
stop_message.gotoAndPlay(1);
delete onEnterFrame;
}
};
hand_leg1._visible = false;
leg1._visible = false;
hand_leg1_tease._visible = true;
hand_leg1_tease.gotoAndPlay(1);
};
leg1.onRelease = function () {
Mouse.show();
stopSound();
delete onEnterFrame;
stop_message._visible = false;
hand_leg1._visible = false;
leg1._visible = true;
hand_leg1_tease._visible = false;
};
leg1.onReleaseOutside = function () {
Mouse.show();
stopSound();
delete onEnterFrame;
stop_message._visible = false;
hand_leg1._visible = false;
leg1._visible = true;
hand_leg1_tease._visible = false;
};
leg1.onRollOut = function () {
Mouse.show();
hand_leg1._visible = false;
};
leg2.onRollOver = function () {
Mouse.hide();
hand_leg2._visible = true;
};
leg2.onPress = function () {
Mouse.hide();
playSound();
onEnterFrame = function () {
if ((pleasure_level < 126) && (pleasure_level >= 63)) {
i++;
if (i > pleasure_delay) {
i = 0;
}
if (i == 0) {
pleasure_level++;
}
pleasure_meter.gotoAndStop(pleasure_level);
} else {
if (pleasure_level != 126) {
stop_message._visible = true;
}
if (pleasure_level >= 500) {
stop_message._visible = false;
}
stop_message.gotoAndPlay(1);
delete onEnterFrame;
}
};
hand_leg2._visible = false;
leg2._visible = false;
hand_leg2_tease._visible = true;
hand_leg2_tease.gotoAndPlay(1);
};
leg2.onRelease = function () {
Mouse.show();
stopSound();
delete onEnterFrame;
stop_message._visible = false;
hand_leg2._visible = false;
leg2._visible = true;
hand_leg2_tease._visible = false;
};
leg2.onReleaseOutside = function () {
Mouse.show();
stopSound();
delete onEnterFrame;
stop_message._visible = false;
hand_leg2._visible = false;
leg2._visible = true;
hand_leg2_tease._visible = false;
};
leg2.onRollOut = function () {
Mouse.show();
hand_leg2._visible = false;
};
pussy.onRollOver = function () {
Mouse.hide();
hand_pussy._visible = true;
};
pussy.onPress = function () {
Mouse.hide();
playSound();
onEnterFrame = function () {
if ((pleasure_level < 500) && (pleasure_level >= 441)) {
i++;
if (i > pleasure_delay) {
i = 0;
}
if (i == 0) {
pleasure_level++;
}
pleasure_meter.gotoAndStop(pleasure_level);
} else {
if (pleasure_level != 500) {
stop_message._visible = true;
}
if (pleasure_level >= 500) {
stop_message._visible = false;
}
stop_message.gotoAndPlay(1);
delete onEnterFrame;
}
};
hand_pussy._visible = false;
pussy._visible = false;
hand_pussy_tease._visible = true;
hand_pussy_tease.gotoAndPlay(1);
};
pussy.onRelease = function () {
Mouse.show();
stopSound();
delete onEnterFrame;
stop_message._visible = false;
hand_pussy._visible = false;
pussy._visible = true;
hand_pussy_tease._visible = false;
};
pussy.onReleaseOutside = function () {
Mouse.show();
stopSound();
delete onEnterFrame;
stop_message._visible = false;
hand_pussy._visible = false;
pussy._visible = true;
hand_pussy_tease._visible = false;
};
pussy.onRollOut = function () {
Mouse.show();
hand_pussy._visible = false;
};
stop();
Symbol 1120 MovieClip Frame 1
var nbs = new Sound();
nbs.attachSound("newButtonSound");
_b2._visible = false;
_b3._visible = false;
_b4._visible = false;
_b5._visible = false;
keyFrames = new Array(2, 20, 16, 10, 2, 38, 30, 10, 2, 50, 45, 7);
playForward = true;
newScene = 0;
scene = 0;
speed = 1;
barValue = 0;
barStep = 0;
newScene = 1;
sceneChange = false;
speedLow = 0;
onEnterFrame = function () {
if ((_bar._currentframe >= 250) and (_b2._visible == false)) {
nbs.start();
_b2._visible = true;
barStep = 0.2;
}
if ((_bar._currentframe >= 500) and (_b3._visible == false)) {
nbs.start();
_b3._visible = true;
barStep = 0.2;
}
if ((_bar._currentframe >= 750) and (_b4._visible == false)) {
nbs.start();
_b4._visible = true;
barStep = 0.2;
}
if ((_bar._currentframe >= 1000) and (_b5._visible == false)) {
nbs.start();
_b5._visible = true;
barStep = 0.2;
}
barValue = barValue + barStep;
_bar.gotoAndStop(Math.round(barValue));
if (scene == 0) {
if (playForward) {
if (_currentframe < 7) {
if (speedLow < 1) {
speedLow++;
} else {
nextFrame();
speedLow = 0;
}
} else {
playForward = false;
}
} else if (_currentframe > 1) {
if (speedLow < 1) {
speedLow++;
} else {
prevFrame();
speedLow = 0;
}
} else {
playForward = true;
}
}
if (scene == 1) {
if (playForward) {
if (_currentframe < keyFrames[1]) {
if (sceneChange) {
scene = newScene;
sceneChange = false;
}
if (_currentframe < keyFrames[2]) {
gotoAndStop(_currentframe + 2);
_inside.gotoAndStop(_currentframe);
} else {
nextFrame();
_inside.nextFrame();
}
} else {
playForward = false;
}
} else if (_currentframe > keyFrames[0]) {
if (_currentframe > keyFrames[3]) {
gotoAndStop(_currentframe - 2);
_inside.gotoAndStop(_currentframe);
} else {
prevFrame();
_inside.prevFrame();
}
} else {
playForward = true;
}
}
if (scene == 2) {
if (playForward) {
if (_currentframe < keyFrames[5]) {
if (sceneChange) {
scene = newScene;
sceneChange = false;
}
if (_currentframe < keyFrames[6]) {
gotoAndStop(_currentframe + 2);
_inside.gotoAndStop(_currentframe);
} else {
nextFrame();
_inside.nextFrame();
}
} else {
playForward = false;
}
} else if (_currentframe > keyFrames[4]) {
if (_currentframe > keyFrames[7]) {
gotoAndStop(_currentframe - 2);
_inside.gotoAndStop(_currentframe);
} else {
prevFrame();
_inside.prevFrame();
}
} else {
playForward = true;
}
}
if (scene == 3) {
if (playForward) {
if (((_currentframe + speed) + 1) < keyFrames[9]) {
if (sceneChange) {
scene = newScene;
sceneChange = false;
}
if (_currentframe < keyFrames[10]) {
gotoAndStop((_currentframe + 1) + speed);
_inside.gotoAndStop(_currentframe);
} else {
gotoAndStop(_currentframe + speed);
_inside.gotoAndStop(_currentframe);
}
} else {
playForward = false;
}
} else if (((_currentframe - speed) - 1) > keyFrames[8]) {
if (_currentframe > keyFrames[11]) {
gotoAndStop((_currentframe - 1) - speed);
_inside.gotoAndStop(_currentframe);
} else {
gotoAndStop(_currentframe - speed);
_inside.gotoAndStop(_currentframe);
}
} else {
playForward = true;
}
}
if (scene == 4) {
if (playForward) {
if (_currentframe == 50) {
playForward = false;
} else {
nextFrame();
}
} else if (_currentframe == 2) {
stop();
_root.gotoAndPlay("home_cum");
} else if (_currentframe > 5) {
gotoAndStop(_currentframe - 4);
} else {
prevFrame();
}
}
};
Symbol 1155 MovieClip Frame 171
if (_root.sounds._currentframe != 1) {
stopAllSounds();
_root.sounds.gotoAndPlay(2);
}
_root.gotoAndPlay("QUESTION");
Symbol 1161 MovieClip Frame 1
stop();
Symbol 1161 MovieClip Frame 2
stop();
Symbol 1174 MovieClip Frame 1
stop();
Symbol 1174 MovieClip Frame 2
stop();
Symbol 1174 MovieClip Frame 3
stop();
Symbol 1174 MovieClip Frame 4
stop();
Symbol 1176 MovieClip Frame 1
urlGo = "";
rnd = random(4) + 1;
_adsPic.gotoAndStop(rnd);
switch (rnd) {
case 1 :
urlGo = "http://www.adult-empire.com/rs.php?site_id=5380&wm_id=4665";
break;
case 2 :
urlGo = "http://www.adult-empire.com/rs.php?site_id=6850&wm_id=4665";
break;
case 3 :
urlGo = "http://www.adult-empire.com/rs.php?site_id=7062&wm_id=4665";
break;
case 4 :
urlGo = "http://www.adult-empire.com/rs.php?site_id=7675&wm_id=4665";
}
onPress = function () {
getURL (urlGo, "_blank");
};
onRollOver = function () {
_backGround.nextFrame();
};
onRollOut = function () {
_backGround.prevFrame();
};
Symbol 1213 MovieClip Frame 1
stop();
Symbol 1213 MovieClip Frame 2
stop();
Symbol 1213 MovieClip Frame 3
stop();
Symbol 1213 MovieClip Frame 4
stop();
Symbol 1213 MovieClip Frame 5
stop();
Symbol 1213 MovieClip Frame 6
stop();
Symbol 1213 MovieClip Frame 7
stop();
Symbol 1213 MovieClip Frame 8
stop();
Symbol 1213 MovieClip Frame 9
stop();
Symbol 1213 MovieClip Frame 10
stop();
Symbol 1213 MovieClip Frame 11
stop();
Symbol 1213 MovieClip Frame 12
stop();
Symbol 1213 MovieClip Frame 13
stop();
Symbol 1213 MovieClip Frame 14
stop();
Symbol 1213 MovieClip Frame 15
stop();
Symbol 1213 MovieClip Frame 16
stop();
Symbol 1213 MovieClip Frame 17
stop();
Symbol 1213 MovieClip Frame 18
stop();
Symbol 1214 MovieClip Frame 1
urlGo = "http://refer.ccbill.com/cgi-bin/clicks.cgi?CA=939775-0000&PA=2012352&BAN=0";
rnd = random(18) + 1;
_adsPic.gotoAndStop(rnd);
onPress = function () {
getURL (urlGo, "_blank");
};
onRollOver = function () {
_backGround.nextFrame();
};
onRollOut = function () {
_backGround.prevFrame();
};
Symbol 1227 MovieClip Frame 1
stop();
Symbol 1227 MovieClip Frame 2
stop();
Symbol 1227 MovieClip Frame 3
stop();
Symbol 1227 MovieClip Frame 4
stop();
Symbol 1228 MovieClip Frame 1
urlGo = "";
rnd = random(4) + 1;
_adsPic.gotoAndStop(rnd);
switch (rnd) {
case 1 :
urlGo = "http://www.cartoongonzo.com/index.html?id=majiic12";
break;
case 2 :
urlGo = "http://www.cartoonreality.com/index.html?id=majiic12";
break;
case 3 :
urlGo = "http://www.flashgamesforadults.com/?t=201869,1,3,0";
break;
case 4 :
urlGo = "http://www.3dsupermodels.com/?t=201869,1,10,0";
}
onPress = function () {
getURL (urlGo, "_blank");
};
onRollOver = function () {
_backGround.nextFrame();
};
onRollOut = function () {
_backGround.prevFrame();
};
Symbol 1238 MovieClip Frame 1
stop();
Symbol 1238 MovieClip Frame 2
stop();
Symbol 1238 MovieClip Frame 3
stop();
Symbol 1239 MovieClip Frame 1
urlGo = "";
rnd = random(3) + 1;
_adsPic.gotoAndStop(rnd);
switch (rnd) {
case 1 :
urlGo = "http://www.adult-empire.com/rs.php?site_id=7350&wm_id=4665";
break;
case 2 :
urlGo = "http://www.adult-empire.com/rs.php?site_id=7321&wm_id=4665";
break;
case 3 :
urlGo = "http://www.adult-empire.com/rs.php?site_id=7323&wm_id=4665";
}
onPress = function () {
getURL (urlGo, "_blank");
};
onRollOver = function () {
_backGround.nextFrame();
};
onRollOut = function () {
_backGround.prevFrame();
};
Symbol 1247 MovieClip Frame 1
stop();
Symbol 1247 MovieClip Frame 2
stop();
Symbol 1247 MovieClip Frame 3
stop();
Symbol 1248 MovieClip Frame 1
urlGo = "http://www.sexgamedevil.com/?id=nemos-whores&AID=2186164";
rnd = random(3) + 1;
_adsPic.gotoAndStop(rnd);
onPress = function () {
getURL (urlGo, "_blank");
};
onRollOver = function () {
_backGround.nextFrame();
};
onRollOut = function () {
_backGround.prevFrame();
};
Symbol 1258 MovieClip Frame 1
stop();
Symbol 1258 MovieClip Frame 2
stop();
Symbol 1258 MovieClip Frame 3
stop();
Symbol 1259 MovieClip Frame 1
urlGo = "";
rnd = random(3) + 1;
_adsPic.gotoAndStop(rnd);
switch (rnd) {
case 1 :
urlGo = "http://leandrocomics.com/main.html?id=majiic12";
break;
case 2 :
urlGo = "http://xl-toons.com/main.html?id=majiic12";
break;
case 3 :
urlGo = "http://onlinesuperheroes.com/main.html?id=majiic12";
}
onPress = function () {
getURL (urlGo, "_blank");
};
onRollOver = function () {
_backGround.nextFrame();
};
onRollOut = function () {
_backGround.prevFrame();
};
Symbol 1266 Button
on (press) {
stopAllSounds();
_root.gotoAndPlay(1);
}
Symbol 1269 Button
on (release) {
getURL ("http://www.sexhotgames.com", "_self");
}
Symbol 1271 Button
on (release) {
getURL ("http://refer.ccbill.com/cgi-bin/clicks.cgi?CA=939775-0000&PA=2012352&BAN=0", "_self");
}
Symbol 1281 MovieClip Frame 1
Stage.scaleMode = "noScale";
_mcHome.onRollOver = function () {
this.varTweenXscale.stop();
this.varTweenXscale = new mx.transitions.Tween(this, "_xscale", mx.transitions.easing.Back.easeOut, this._xscale, 110, 0.25, true);
this.varTweenYscale.stop();
this.varTweenYscale = new mx.transitions.Tween(this, "_yscale", mx.transitions.easing.Back.easeOut, this._yscale, 110, 0.25, true);
this.varTweenAlpha.stop();
this.varTweenAlpha = new mx.transitions.Tween(this, "_alpha", mx.transitions.easing.Regular.easeOut, this._alpha, 100, 0.25, true);
};
_mcHome.onRollOut = (flashist_mc.onReleaseOutside = function () {
this.varTweenXscale = new mx.transitions.Tween(this, "_xscale", mx.transitions.easing.Back.easeOut, this._xscale, 100, 0.25, true);
this.varTweenYscale.stop();
this.varTweenYscale = new mx.transitions.Tween(this, "_yscale", mx.transitions.easing.Back.easeOut, this._yscale, 100, 0.25, true);
this.varTweenAlpha.stop();
this.varTweenAlpha = new mx.transitions.Tween(this, "_alpha", mx.transitions.easing.Regular.easeOut, this._alpha, 90, 0.25, true);
});
_mcHome.onRelease = function () {
this.varTweenXscale.stop();
this.varTweenXscale = new mx.transitions.Tween(this, "_xscale", mx.transitions.easing.Back.easeOut, this._xscale, 110, 0.25, true);
this.varTweenYscale.stop();
this.varTweenYscale = new mx.transitions.Tween(this, "_yscale", mx.transitions.easing.Back.easeOut, this._yscale, 110, 0.25, true);
this.varTweenAlpha.stop();
this.varTweenAlpha = new mx.transitions.Tween(this, "_alpha", mx.transitions.easing.Regular.easeOut, this._alpha, 100, 0.25, true);
};
_mcHome.onPress = function () {
getURL ("http://sexhotgames.com/", "_blank");
this.varTweenXscale.stop();
this.varTweenXscale = new mx.transitions.Tween(this, "_xscale", mx.transitions.easing.Back.easeOut, this._xscale, 90, 0.25, true);
this.varTweenYscale.stop();
this.varTweenYscale = new mx.transitions.Tween(this, "_yscale", mx.transitions.easing.Back.easeOut, this._yscale, 90, 0.25, true);
this.varTweenAlpha.stop();
this.varTweenAlpha = new mx.transitions.Tween(this, "_alpha", mx.transitions.easing.Regular.easeOut, this._alpha, 75, 0.25, true);
};
Symbol 1281 MovieClip Frame 16
stop();