Frame 1
function checkPreloader() {
var _local3 = this.getBytesLoaded();
var _local2 = this.getBytesTotal();
mProgressLine.ekg._xscale = (_local3 / _local2) * 100;
tProgress.text = Math.round((_local3 / _local2) * 100) + "% downloaded";
if (_local3 >= _local2) {
clearInterval(nPreloaderInterval);
preloaderStartBtn._visible = true;
preloaderStartBtn._alpha = 100;
}
}
_global.patientTalking = false;
_global.awaitingResponse = false;
_global.questionAsked = 0;
_global.hurryUp = false;
_global.whoKnows = 0;
_global.libraryExclamation = 0;
_global.chefTalking = false;
_global.chefArrived = false;
_global.chefConversation = 0;
_global.questionAnswered = false;
_global.theAnswer = 0;
_global.giveAnswer = 0;
_global.responseGrabbed = fales;
_global.dogCatcherArrived = false;
_global.dogCatcherTalking = false;
_global.dogCatcherConversation = false;
_global.garbageManArrived = false;
_global.garbageManTalking = false;
_global.garbageManConversation = false;
_global.clerkArrived = false;
_global.clerkTalking = false;
_global.clerkConversation = false;
_global.principalArrived = false;
_global.principalTalking = false;
_global.principalConversation = false;
_global.butcherArrived = false;
_global.butcherTalking = false;
_global.butcherConversation = false;
_global.hairdresserArrived = false;
_global.hairdresserTalking = false;
_global.hairdresserConversation = false;
_global.mechanicArrived = false;
_global.mechanicTalking = false;
_global.mechanicConversation = false;
_global.turnNumber = 0;
_global.suspect01done = false;
_global.suspect02done = false;
_global.suspect03done = false;
_global.suspect04done = false;
_global.suspect05done = false;
_global.suspect06done = false;
_global.suspect07done = false;
_global.suspect08done = false;
_global.question01asked = false;
_global.question02asked = false;
_global.question03asked = false;
_global.question04asked = false;
_global.question05asked = false;
_global.question06asked = false;
_global.question07asked = false;
_global.question08asked = false;
_global.question09asked = false;
_global.question10asked = false;
_global.question11asked = false;
_global.question12asked = false;
_global.question13asked = false;
_global.question14asked = false;
_global.question15asked = false;
_global.endingResponse = 0;
_global.question01written = false;
_global.question02written = false;
_global.question03written = false;
_global.question04written = false;
_global.question05written = false;
_global.question06written = false;
_global.question07written = false;
_global.question08written = false;
_global.question09written = false;
_global.question10written = false;
_global.question11written = false;
_global.question12written = false;
_global.question13written = false;
_global.question14written = false;
_global.question15written = false;
_global.question01answer = false;
_global.question02answer = false;
_global.question03answer = false;
_global.question04answer = false;
_global.question05answer = false;
_global.question06answer = false;
_global.question07answer = false;
_global.question08answer = false;
_global.question09answer = false;
_global.question10answer = false;
_global.question11answer = false;
_global.question12answer = false;
_global.question13answer = false;
_global.question14answer = false;
_global.question15answer = false;
stop();
var nPreloaderInterval = setInterval(this, "checkPreloader", 100);
onEnterFrame = function () {
};
preloaderStartBtn.onRelease = function () {
gotoAndPlay ("intro1");
};
weblink.onRelease = function () {
getURL ("http://pulledhair.com");
};
Frame 16
function init() {
hospital01 = new Sound();
hospital01.attachSound("hospital01");
hospital.setVolume(100);
hospital01.start(0, 100);
}
init();
onEnterFrame = function () {
this.nextFrame();
};
Frame 66
onEnterFrame = function () {
stop();
};
clickNext.onRelease = function () {
gotoAndStop ("intro3");
};
stop();
Frame 77
function init() {
_global.patientTalking = true;
}
init();
onEnterFrame = function () {
stop();
};
clickNext.onRelease = function () {
gotoAndStop ("intro4");
};
stop();
Frame 89
var randomNumber = 0;
onEnterFrame = function () {
stop();
};
clickNext.onRelease = function () {
_global.turnNumber++;
_global.questionAsked = random(4) + 1;
if (questionAsked == 1) {
_global.questionAsked = 3;
_global.question03asked = true;
} else if (questionAsked == 2) {
_global.questionAsked = 4;
_global.question04asked = true;
} else if (questionAsked == 3) {
_global.questionAsked = 9;
_global.question09asked = true;
} else if (questionAsked == 4) {
_global.questionAsked = 12;
_global.question12asked = true;
}
_global.whoKnows = random(8) + 1;
if (whoKnows == 1) {
_global.suspect01done = true;
} else if (whoKnows == 2) {
_global.suspect02done = true;
} else if (whoKnows == 3) {
_global.suspect03done = true;
} else if (whoKnows == 4) {
_global.suspect04done = true;
} else if (whoKnows == 5) {
_global.suspect05done = true;
} else if (whoKnows == 6) {
_global.suspect06done = true;
} else if (whoKnows == 7) {
_global.suspect07done = true;
} else if (whoKnows == 8) {
_global.suspect08done = true;
}
gotoAndStop ("inside_hospital");
};
stop();
Frame 102
onEnterFrame = function () {
if (!awaitingResponse) {
if (questionAsked == 1) {
var _local15 = attachMovie("text_patientQuestion01", "text_patientQuestion01", 100);
_local15._x = 163;
_local15._y = 269;
}
if (questionAsked == 3) {
var _local10 = attachMovie("text_patientQuestion03", "text_patientQuestion03", 100);
_local10._x = 163;
_local10._y = 269;
}
if (questionAsked == 4) {
var _local15 = attachMovie("text_patientQuestion04", "text_patientQuestion04", 100);
text_patientQuestion04._x = 163;
text_patientQuestion04._y = 269;
}
if (questionAsked == 5) {
var _local4 = attachMovie("text_patientQuestion05", "text_patientQuestion05", 100);
_local4._x = 163;
_local4._y = 269;
}
if (questionAsked == 6) {
var _local8 = attachMovie("text_patientQuestion06", "text_patientQuestion06", 100);
_local8._x = 163;
_local8._y = 269;
}
if (questionAsked == 7) {
var _local6 = attachMovie("text_patientQuestion07", "text_patientQuestion07", 100);
_local6._x = 163;
_local6._y = 269;
}
if (questionAsked == 8) {
var _local3 = attachMovie("text_patientQuestion08", "text_patientQuestion08", 100);
_local3._x = 163;
_local3._y = 269;
}
if (questionAsked == 9) {
var _local2 = attachMovie("text_patientQuestion09", "text_patientQuestion09", 100);
_local2._x = 163;
_local2._y = 269;
}
if (questionAsked == 10) {
var _local11 = attachMovie("text_patientQuestion10", "text_patientQuestion10", 100);
_local11._x = 163;
_local11._y = 269;
}
if (questionAsked == 11) {
var _local9 = attachMovie("text_patientQuestion11", "text_patientQuestion11", 100);
_local9._x = 163;
_local9._y = 269;
}
if (questionAsked == 12) {
var _local13 = attachMovie("text_patientQuestion12", "text_patientQuestion12", 100);
_local13._x = 163;
_local13._y = 269;
}
if (questionAsked == 13) {
var _local12 = attachMovie("text_patientQuestion13", "text_patientQuestion13", 100);
_local12._x = 163;
_local12._y = 269;
}
if (questionAsked == 14) {
var _local7 = attachMovie("text_patientQuestion14", "text_patientQuestion14", 100);
_local7._x = 163;
_local7._y = 269;
}
if (questionAsked == 15) {
var _local5 = attachMovie("text_patientQuestion15", "text_patientQuestion15", 100);
_local5._x = 163;
_local5._y = 269;
}
_global.awaitingResponse = true;
}
if (giveAnswer == 4) {
_global.giveAnswer++;
_global.patientTalking = false;
if (questionAsked == 1) {
if (theAnswer == 1) {
var _local14 = attachMovie("text_giveAnswer01a", "myResponse", 100);
_global.question01answer = 1;
} else {
var _local14 = attachMovie("text_giveAnswer01b", "myResponse", 100);
_global.question01answer = 2;
}
} else if (questionAsked == 2) {
if (theAnswer == 1) {
var _local14 = attachMovie("text_giveAnswer02a", "myResponse", 100);
_global.question02answer = 1;
} else {
var _local14 = attachMovie("text_giveAnswer02b", "myResponse", 100);
_global.question02answer = 2;
}
} else if (questionAsked == 3) {
if (theAnswer == 1) {
var _local14 = attachMovie("text_giveAnswer03a", "myResponse", 100);
_global.question03answer = 1;
} else {
var _local14 = attachMovie("text_giveAnswer03b", "myResponse", 100);
_global.question03answer = 2;
}
} else if (questionAsked == 4) {
if (theAnswer == 1) {
var _local14 = attachMovie("text_giveAnswer04a", "myResponse", 100);
_global.question04answer = 1;
} else {
var _local14 = attachMovie("text_giveAnswer04b", "myResponse", 100);
_global.question04answer = 2;
}
} else if (questionAsked == 5) {
if (theAnswer == 1) {
var _local14 = attachMovie("text_giveAnswer02a", "myResponse", 100);
_global.question05answer = 1;
} else {
var _local14 = attachMovie("text_giveAnswer02b", "myResponse", 100);
_global.question05answer = 2;
}
} else if (questionAsked == 6) {
if (theAnswer == 1) {
var _local14 = attachMovie("text_giveAnswer02a", "myResponse", 100);
_global.question06answer = 1;
} else {
var _local14 = attachMovie("text_giveAnswer02b", "myResponse", 100);
_global.question06answer = 2;
}
} else if (questionAsked == 7) {
if (theAnswer == 1) {
var _local14 = attachMovie("text_giveAnswer06a", "myResponse", 100);
_global.question07answer = 1;
} else {
var _local14 = attachMovie("text_giveAnswer06b", "myResponse", 100);
_global.question07answer = 2;
}
} else if (questionAsked == 8) {
if (theAnswer == 1) {
var _local14 = attachMovie("text_giveAnswer02a", "myResponse", 100);
_global.question08answer = 1;
} else {
var _local14 = attachMovie("text_giveAnswer02b", "myResponse", 100);
_global.question08answer = 2;
}
} else if (questionAsked == 9) {
if (theAnswer == 1) {
var _local14 = attachMovie("text_giveAnswer02a", "myResponse", 100);
_global.question09answer = 1;
} else {
var _local14 = attachMovie("text_giveAnswer02b", "myResponse", 100);
_global.question09answer = 2;
}
} else if (questionAsked == 10) {
if (theAnswer == 1) {
var _local14 = attachMovie("text_giveAnswer07a", "myResponse", 100);
_global.question10answer = 1;
} else {
var _local14 = attachMovie("text_giveAnswer07b", "myResponse", 100);
_global.question10answer = 2;
}
} else if (questionAsked == 11) {
if (theAnswer == 1) {
var _local14 = attachMovie("text_giveAnswer08a", "myResponse", 100);
_global.question11answer = 1;
} else {
var _local14 = attachMovie("text_giveAnswer08b", "myResponse", 100);
_global.question11answer = 2;
}
} else if (questionAsked == 12) {
if (theAnswer == 1) {
var _local14 = attachMovie("text_giveAnswer09a", "myResponse", 100);
_global.question12answer = 1;
} else {
var _local14 = attachMovie("text_giveAnswer09b", "myResponse", 100);
_global.question12answer = 2;
}
} else if (questionAsked == 13) {
if (theAnswer == 1) {
var _local14 = attachMovie("text_giveAnswer02a", "myResponse", 100);
_global.question13answer = 1;
} else {
var _local14 = attachMovie("text_giveAnswer02b", "myResponse", 100);
_global.question13answer = 2;
}
} else if (questionAsked == 14) {
if (theAnswer == 1) {
var _local14 = attachMovie("text_giveAnswer11a", "myResponse", 100);
_global.question14answer = 1;
} else {
var _local14 = attachMovie("text_giveAnswer11b", "myResponse", 100);
_global.question14answer = 2;
}
} else if (questionAsked == 15) {
if (theAnswer == 1) {
var _local14 = attachMovie("text_giveAnswer02a", "myResponse", 100);
_global.question15answer = 1;
} else {
var _local14 = attachMovie("text_giveAnswer02b", "myResponse", 100);
_global.question15answer = 2;
}
}
_local14._x = 133;
_local14._y = 334;
}
};
clickNext.onRelease = function () {
if ((awaitingResponse and (!hurryUp)) and (!questionAnswered)) {
_global.patientTalking = true;
var _local20 = this.text_patientQuestion01;
_local20.swapDepths(10);
_local20.removeMovieClip();
var _local25 = this.text_patientQuestion02;
_local25.swapDepths(10);
_local25.removeMovieClip();
var _local23 = this.text_patientQuestion03;
_local23.swapDepths(10);
_local23.removeMovieClip();
var _local12 = this.text_patientQuestion04;
_local12.swapDepths(10);
_local12.removeMovieClip();
var _local10 = this.text_patientQuestion05;
_local10.swapDepths(10);
_local10.removeMovieClip();
var _local18 = this.text_patientQuestion06;
_local18.swapDepths(10);
_local18.removeMovieClip();
var _local16 = this.text_patientQuestion07;
_local16.swapDepths(10);
_local16.removeMovieClip();
var _local6 = this.text_patientQuestion08;
_local6.swapDepths(10);
_local6.removeMovieClip();
var _local5 = this.text_patientQuestion09;
_local5.swapDepths(10);
_local5.removeMovieClip();
var _local24 = this.text_patientQuestion10;
_local24.swapDepths(10);
_local24.removeMovieClip();
var _local22 = this.text_patientQuestion11;
_local22.swapDepths(10);
_local22.removeMovieClip();
var _local28 = this.text_patientQuestion12;
_local28.swapDepths(10);
_local28.removeMovieClip();
var _local26 = this.text_patientQuestion13;
_local26.swapDepths(10);
_local26.removeMovieClip();
var _local17 = this.text_patientQuestion14;
_local17.swapDepths(10);
_local17.removeMovieClip();
var _local13 = this.text_patientQuestion15;
_local13.swapDepths(10);
_local13.removeMovieClip();
var _local14 = attachMovie("text_patient03", "text_patient03", 100);
_local14._x = 163;
_local14._y = 269;
_global.hurryUp = true;
} else if (hurryUp) {
var _local14 = _root.text_patient03;
_local14.swapDepths(10);
_local14.removeMovieClip();
_root.hospital01.stop("hospital01");
_global.hurryUp = false;
_global.patientTalking = false;
gotoAndStop ("overheadMap");
} else if (questionAnswered) {
if (giveAnswer == 0) {
_global.patientTalking = true;
_global.giveAnswer++;
var _local7 = attachMovie("text_giveAnswer01", "text_giveAnswer01", 100);
_local7._x = 163;
_local7._y = 269;
} else if (giveAnswer == 1) {
_global.giveAnswer++;
_global.patientTalking = false;
var _local7 = _root.text_giveAnswer01;
_local7.swapDepths(10);
_local7.removeMovieClip();
var _local27 = attachMovie("text_giveAnswer01_introA", "text_giveAnswer01_introA", 100);
_local27._x = 133;
_local27._y = 334;
} else if (giveAnswer == 2) {
_global.giveAnswer++;
_global.patientTalking = true;
var _local7 = _root.text_giveAnswer01_introA;
_local7.swapDepths(10);
_local7.removeMovieClip();
var _local29 = attachMovie("text_giveAnswer01_introB", "text_giveAnswer01_introB", 100);
_local29._x = 163;
_local29._y = 269;
} else if (giveAnswer == 3) {
_global.giveAnswer++;
_global.patientTalking = false;
var _local7 = _root.text_giveAnswer01_introB;
_local7.swapDepths(10);
_local7.removeMovieClip();
} else if (giveAnswer == 5) {
_global.giveAnswer++;
_global.patientTalking = true;
var _local30 = _root.myResponse;
_local30.swapDepths(10);
_local30.removeMovieClip();
var _local4 = random(5) + 1;
if (_local4 == 1) {
var _local11 = attachMovie("text_giveAnswerEnd01", "text_giveAnswerEnd01", 100);
_local11._x = 163;
_local11._y = 269;
} else if (_local4 == 2) {
var _local8 = attachMovie("text_giveAnswerEnd02", "text_giveAnswerEnd02", 100);
_local8._x = 163;
_local8._y = 269;
} else if (_local4 == 3) {
var _local9 = attachMovie("text_giveAnswerEnd03", "text_giveAnswerEnd03", 100);
_local9._x = 163;
_local9._y = 269;
} else if (_local4 == 4) {
var _local19 = attachMovie("text_giveAnswerEnd04", "text_giveAnswerEnd04", 100);
_local19._x = 163;
_local19._y = 269;
} else if (_local4 == 5) {
var _local21 = attachMovie("text_giveAnswerEnd05", "text_giveAnswerEnd05", 100);
_local21._x = 163;
_local21._y = 269;
}
} else if (giveAnswer == 6) {
_global.giveAnswer++;
var _local11 = _root.text_giveAnswerEnd01;
_local11.swapDepths(10);
_local11.removeMovieClip();
var _local8 = _root.text_giveAnswerEnd02;
_local8.swapDepths(10);
_local8.removeMovieClip();
var _local9 = _root.text_giveAnswerEnd03;
_local9.swapDepths(10);
_local9.removeMovieClip();
var _local19 = _root.text_giveAnswerEnd04;
_local19.swapDepths(10);
_local19.removeMovieClip();
var _local21 = _root.text_giveAnswerEnd05;
_local21.swapDepths(10);
_local21.removeMovieClip();
if (turnNumber == 3) {
_root.gotoAndStop("ending01");
} else {
var _local15 = attachMovie("text_giveAnswerEnd06", "text_giveAnswerEnd06", 100);
_local15._x = 163;
_local15._y = 269;
}
} else if (giveAnswer == 7) {
_global.giveAnswer = 0;
_global.turnNumber++;
_global.questionAsked = chooseQuestion();
_global.whoKnows = chooseWhoKnows();
_global.awaitingResponse = 0;
_global.questionAnswered = false;
_global.theAnswer = 0;
}
}
};
chooseQuestion = function () {
if (turnNumber == 2) {
randomNumber = random(5) + 1;
if (randomNumber == 1) {
_global.question01asked = true;
} else if (randomNumber == 2) {
randomNumber = 6;
_global.question06asked = true;
} else if (randomNumber == 3) {
randomNumber = 13;
_global.question13asked = true;
} else if (randomNumber == 4) {
randomNumber = 8;
_global.question08asked = true;
} else if (randomNumber == 5) {
randomNumber = 10;
_global.question10asked = true;
}
} else if (turnNumber == 3) {
randomNumber = random(5) + 1;
if (randomNumber == 1) {
randomNumber = 5;
_global.question05asked = true;
} else if (randomNumber == 2) {
randomNumber = 7;
_global.question07asked = true;
} else if (randomNumber == 3) {
randomNumber = 11;
_global.question11asked = true;
} else if (randomNumber == 4) {
randomNumber = 14;
_global.question14asked = true;
} else if (randomNumber == 5) {
randomNumber = 15;
_global.question15asked = true;
}
}
return(randomNumber);
};
chooseWhoKnows = function () {
randomNumber = random(8) + 1;
if (randomNumber == 1) {
if (suspect01done) {
randomNumber = _root.chooseWhoKnows();
}
_global.suspect01done = true;
} else if (randomNumber == 2) {
if (suspect02done) {
randomNumber = _root.chooseWhoKnows();
}
_global.suspect02done = true;
} else if (randomNumber == 3) {
if (suspect03done) {
randomNumber = _root.chooseWhoKnows();
}
_global.suspect03done = true;
} else if (randomNumber == 4) {
if (suspect04done) {
randomNumber = _root.chooseWhoKnows();
}
_global.suspect04done = true;
} else if (randomNumber == 5) {
if (suspect05done) {
randomNumber = _root.chooseWhoKnows();
}
_global.suspect05done = true;
} else if (randomNumber == 6) {
if (suspect06done) {
randomNumber = _root.chooseWhoKnows();
}
_global.suspect06done = true;
} else if (randomNumber == 7) {
if (suspect07done) {
randomNumber = _root.chooseWhoKnows();
}
_global.suspect07done = true;
} else if (randomNumber == 8) {
if (suspect08done) {
randomNumber = _root.chooseWhoKnows();
}
_global.suspect08done = true;
}
return(randomNumber);
};
stop();
Frame 117
function init() {
traffic01 = new Sound();
traffic01.attachSound("traffic01");
traffic01.start(0, 999);
}
init();
library.onRelease = function () {
_root.traffic01.stop("traffic01");
library01 = new Sound();
library01.attachSound("library01");
library01.setVolume(100);
library01.start(0, 100);
gotoAndStop ("inside_library01");
};
hospital.onRelease = function () {
_root.traffic01.stop("traffic01");
hospital01 = new Sound();
hospital01.attachSound("hospital01");
hospital01.setVolume(100);
hospital01.start(0, 100);
gotoAndStop ("inside_hospital");
};
dogPound.onRelease = function () {
_root.traffic01.stop("traffic01");
gotoAndStop ("inside_dogPound");
};
highSchool.onRelease = function () {
_root.traffic01.stop("traffic01");
gotoAndStop ("inside_highSchool");
};
butcher.onRelease = function () {
_root.traffic01.stop("traffic01");
gotoAndStop ("inside_butcher");
};
garbageDump.onRelease = function () {
_root.traffic01.stop("traffic01");
gotoAndStop ("inside_garbageDump");
};
hairdresser.onRelease = function () {
_root.traffic01.stop("traffic01");
gotoAndStop ("inside_hairdresser");
};
italianRestaurant.onRelease = function () {
_root.traffic01.stop("traffic01");
gotoAndStop ("inside_restaurant");
};
grocery.onRelease = function () {
_root.traffic01.stop("traffic01");
gotoAndStop ("inside_groceryStore");
};
autoRepair.onRelease = function () {
_root.traffic01.stop("traffic01");
gotoAndStop ("inside_mechanic");
};
stop();
Frame 132
if (turnNumber == 1) {
book01._x = 162;
firstBook._x = 89.7;
} else if (turnNumber == 2) {
book02._x = 181;
secondBook._x = 89.7;
} else if (turnNumber == 3) {
book03._x = 139;
thirdBook._x = 89.7;
}
onEnterFrame = function () {
stop();
};
clickNext.onRelease = function () {
turnPage02 = new Sound();
turnPage02.attachSound("turnPage02");
turnPage02.start();
gotoAndStop ("inside_library01b");
};
stop();
Frame 144
clickNext.onRelease = function () {
turnPage02 = new Sound();
turnPage02.attachSound("turnPage02");
turnPage02.start();
gotoAndStop ("inside_library02");
};
stop();
Frame 159
onEnterFrame = function () {
stop();
};
clickNext.onRelease = function () {
gotoAndStop ("inside_library03");
};
stop();
Frame 174
onEnterFrame = function () {
stop();
};
clickNext.onRelease = function () {
gotoAndStop ("inside_library04");
};
stop();
Frame 188
onEnterFrame = function () {
stop();
};
clickNext.onRelease = function () {
gotoAndStop ("inside_library05");
};
stop();
Frame 204
function init() {
if (whoKnows == 1) {
biteMark._x = 72.5;
} else if (whoKnows == 2) {
paddle._x = 79.2;
} else if (whoKnows == 3) {
bloodSmear._x = 114;
} else if (whoKnows == 4) {
garbageSmear._x = 103;
} else if (whoKnows == 5) {
hairClipping._x = 105;
} else if (whoKnows == 6) {
spaghettiStain._x = 135.6;
} else if (whoKnows == 7) {
banana._x = 129;
} else if (whoKnows == 8) {
greaseStain._x = 81;
}
}
init();
onEnterFrame = function () {
stop();
};
clickNext.onRelease = function () {
turnPage01 = new Sound();
turnPage01.attachSound("turnPage02");
turnPage01.start();
gotoAndStop ("inside_library06");
};
stop();
Frame 219
onEnterFrame = function () {
stop();
};
clickNext.onRelease = function () {
if (libraryExclamation == 0) {
_global.libraryExclamation++;
var _local5 = attachMovie("text_library03", "text_library03", 100);
_local5._x = 199;
_local5._y = 193;
} else if (libraryExclamation == 1) {
_global.libraryExclamation++;
var _local5 = _root.text_library03;
_local5.swapDepths(10);
_local5.removeMovieClip();
var _local10 = attachMovie("text_library04", "text_library04", 100);
_local10._x = 199;
_local10._y = 193;
} else if (libraryExclamation == 2) {
_global.libraryExclamation++;
var _local10 = _root.text_library04;
_local10.swapDepths(10);
_local10.removeMovieClip();
if (whoKnows == 1) {
var _local7 = attachMovie("text_libraryEvidence06", "text_libraryEvidence06", 100);
_local7._x = 199;
_local7._y = 193;
} else if (whoKnows == 2) {
var _local6 = attachMovie("text_libraryEvidence07", "text_libraryEvidence07", 100);
_local6._x = 199;
_local6._y = 193;
} else if (whoKnows == 3) {
var _local4 = attachMovie("text_libraryEvidence04", "text_libraryEvidence04", 100);
_local4._x = 199;
_local4._y = 193;
} else if (whoKnows == 4) {
var _local12 = attachMovie("text_libraryEvidence08", "text_libraryEvidence08", 100);
_local12._x = 199;
_local12._y = 193;
} else if (whoKnows == 5) {
var _local11 = attachMovie("text_libraryEvidence02", "text_libraryEvidence02", 100);
_local11._x = 199;
_local11._y = 193;
} else if (whoKnows == 6) {
var _local8 = attachMovie("text_libraryEvidence01", "text_libraryEvidence01", 100);
_local8._x = 199;
_local8._y = 193;
} else if (whoKnows == 7) {
var _local3 = attachMovie("text_libraryEvidence05", "text_libraryEvidence05", 100);
_local3._x = 199;
_local3._y = 193;
} else if (whoKnows == 8) {
var _local9 = attachMovie("text_libraryEvidence03", "text_libraryEvidence03", 100);
_local9._x = 199;
_local9._y = 193;
}
} else if (libraryExclamation == 3) {
_global.libraryExclamation = 0;
var _local8 = _root.text_libraryEvidence01;
_local8.swapDepths(10);
_local8.removeMovieClip();
var _local11 = _root.text_libraryEvidence02;
_local11.swapDepths(10);
_local11.removeMovieClip();
var _local9 = _root.text_libraryEvidence03;
_local9.swapDepths(10);
_local9.removeMovieClip();
var _local4 = _root.text_libraryEvidence04;
_local4.swapDepths(10);
_local4.removeMovieClip();
var _local3 = _root.text_libraryEvidence05;
_local3.swapDepths(10);
_local3.removeMovieClip();
var _local7 = _root.text_libraryEvidence06;
_local7.swapDepths(10);
_local7.removeMovieClip();
var _local6 = _root.text_libraryEvidence07;
_local6.swapDepths(10);
_local6.removeMovieClip();
var _local12 = _root.text_libraryEvidence08;
_local12.swapDepths(10);
_local12.removeMovieClip();
_root.turnPage02.stop("library01");
gotoAndStop ("overheadMap");
}
};
stop();
Frame 234
function init() {
_global.chefArrived = false;
_global.chefConversation = 0;
if (whoKnows == 6) {
chef.gotoAndStop("reading");
}
restaurant01 = new Sound();
restaurant01.attachSound("restaurant01");
restaurant01.start(0, 999);
}
init();
onEnterFrame = function () {
if (chefArrived and (chefConversation == 0)) {
_global.chefConversation++;
_global.chefTalking = true;
var _local2 = random(4) + 1;
if (_local2 == 1) {
var _local6 = attachMovie("text_greeting01", "text_greeting01", 100);
_local6._x = 259;
_local6._y = 129;
} else if (_local2 == 2) {
var _local5 = attachMovie("text_greeting02", "text_greeting02", 100);
_local5._x = 259;
_local5._y = 129;
} else if (_local2 == 3) {
var _local4 = attachMovie("text_greeting03", "text_greeting03", 100);
_local4._x = 259;
_local4._y = 129;
} else if (_local2 == 4) {
var _local3 = attachMovie("text_greeting04", "text_greeting04", 100);
_local3._x = 259;
_local3._y = 129;
}
}
};
clickNext.onRelease = function () {
if (chefConversation == 1) {
_global.chefConversation++;
_global.chefTalking = false;
var _local54 = _root.text_greeting01;
_local54.swapDepths(10);
_local54.removeMovieClip();
var _local53 = _root.text_greeting02;
_local53.swapDepths(10);
_local53.removeMovieClip();
var _local50 = _root.text_greeting03;
_local50.swapDepths(10);
_local50.removeMovieClip();
var _local11 = _root.text_greeting04;
_local11.swapDepths(10);
_local11.removeMovieClip();
var _local24 = attachMovie("text_beginQuestioning01", "text_beginQuestioning01", 100);
_local24._x = 133;
_local24._y = 334;
} else if (chefConversation == 2) {
_global.chefConversation++;
_global.chefTalking = true;
var _local24 = _root.text_beginQuestioning01;
_local24.swapDepths(10);
_local24.removeMovieClip();
var _local3 = random(4) + 1;
if (_local3 == 1) {
var _local41 = attachMovie("text_beginQuestioning02a", "text_beginQuestioning02a", 100);
_local41._x = 225;
_local41._y = 129;
} else if (_local3 == 2) {
var _local25 = attachMovie("text_beginQuestioning02b", "text_beginQuestioning02b", 100);
_local25._x = 225;
_local25._y = 129;
} else if (_local3 == 3) {
var _local29 = attachMovie("text_beginQuestioning02c", "text_beginQuestioning02c", 100);
_local29._x = 225;
_local29._y = 129;
} else if (_local3 == 4) {
var _local16 = attachMovie("text_beginQuestioning02d", "text_beginQuestioning02d", 100);
_local16._x = 225;
_local16._y = 129;
}
} else if (chefConversation == 3) {
_global.chefConversation++;
_global.chefTalking = false;
var _local41 = _root.text_beginQuestioning02a;
_local41.swapDepths(10);
_local41.removeMovieClip();
var _local25 = _root.text_beginQuestioning02b;
_local25.swapDepths(10);
_local25.removeMovieClip();
var _local29 = _root.text_beginQuestioning02c;
_local29.swapDepths(10);
_local29.removeMovieClip();
var _local16 = _root.text_beginQuestioning02d;
_local16.swapDepths(10);
_local16.removeMovieClip();
if (questionAsked == 1) {
var _local47 = attachMovie("text_myQuestion01", "text_myQuestion01", 100);
_local47._x = 133;
_local47._y = 334;
} else if (questionAsked == 2) {
var _local30 = attachMovie("text_myQuestion02", "text_myQuestion02", 100);
_local30._x = 133;
_local30._y = 334;
} else if (questionAsked == 3) {
var _local34 = attachMovie("text_myQuestion03", "text_myQuestion03", 100);
_local34._x = 133;
_local34._y = 334;
} else if (questionAsked == 4) {
var _local20 = attachMovie("text_myQuestion04", "text_myQuestion04", 100);
_local20._x = 133;
_local20._y = 334;
} else if (questionAsked == 5) {
var _local26 = attachMovie("text_myQuestion05", "text_myQuestion05", 100);
_local26._x = 133;
_local26._y = 334;
} else if (questionAsked == 6) {
var _local14 = attachMovie("text_myQuestion06", "text_myQuestion06", 100);
_local14._x = 133;
_local14._y = 334;
} else if (questionAsked == 7) {
var _local17 = attachMovie("text_myQuestion07", "text_myQuestion07", 100);
_local17._x = 133;
_local17._y = 334;
} else if (questionAsked == 8) {
var _local12 = attachMovie("text_myQuestion08", "text_myQuestion08", 100);
_local12._x = 133;
_local12._y = 334;
} else if (questionAsked == 9) {
var _local13 = attachMovie("text_myQuestion09", "text_myQuestion09", 100);
_local13._x = 133;
_local13._y = 334;
} else if (questionAsked == 10) {
var _local35 = attachMovie("text_myQuestion10", "text_myQuestion10", 100);
_local35._x = 133;
_local35._y = 334;
} else if (questionAsked == 11) {
var _local42 = attachMovie("text_myQuestion11", "text_myQuestion11", 100);
_local42._x = 133;
_local42._y = 334;
} else if (questionAsked == 12) {
var _local27 = attachMovie("text_myQuestion12", "text_myQuestion12", 100);
_local27._x = 133;
_local27._y = 334;
} else if (questionAsked == 13) {
var _local31 = attachMovie("text_myQuestion13", "text_myQuestion13", 100);
_local31._x = 133;
_local31._y = 334;
} else if (questionAsked == 14) {
var _local18 = attachMovie("text_myQuestion14", "text_myQuestion14", 100);
_local18._x = 133;
_local18._y = 334;
} else if (questionAsked == 15) {
var _local21 = attachMovie("text_myQuestion15", "text_myQuestion15", 100);
_local21._x = 133;
_local21._y = 334;
}
} else if (chefConversation == 4) {
_global.chefConversation++;
_global.chefTalking = true;
var _local47 = _root.text_myQuestion01;
_local47.swapDepths(10);
_local47.removeMovieClip();
var _local30 = _root.text_myQuestion02;
_local30.swapDepths(10);
_local30.removeMovieClip();
var _local34 = _root.text_myQuestion03;
_local34.swapDepths(10);
_local34.removeMovieClip();
var _local20 = _root.text_myQuestion04;
_local20.swapDepths(10);
_local20.removeMovieClip();
var _local26 = _root.text_myQuestion05;
_local26.swapDepths(10);
_local26.removeMovieClip();
var _local14 = _root.text_myQuestion06;
_local14.swapDepths(10);
_local14.removeMovieClip();
var _local17 = _root.text_myQuestion07;
_local17.swapDepths(10);
_local17.removeMovieClip();
var _local12 = _root.text_myQuestion08;
_local12.swapDepths(10);
_local12.removeMovieClip();
var _local13 = _root.text_myQuestion09;
_local13.swapDepths(10);
_local13.removeMovieClip();
var _local35 = _root.text_myQuestion10;
_local35.swapDepths(10);
_local35.removeMovieClip();
var _local42 = _root.text_myQuestion11;
_local42.swapDepths(10);
_local42.removeMovieClip();
var _local27 = _root.text_myQuestion12;
_local27.swapDepths(10);
_local27.removeMovieClip();
var _local31 = _root.text_myQuestion13;
_local31.swapDepths(10);
_local31.removeMovieClip();
var _local18 = _root.text_myQuestion14;
_local18.swapDepths(10);
_local18.removeMovieClip();
var _local21 = _root.text_myQuestion15;
_local21.swapDepths(10);
_local21.removeMovieClip();
if (whoKnows == 6) {
_global.questionAnswered = true;
_global.theAnswer = random(2) + 1;
if (questionAsked == 1) {
if (theAnswer == 1) {
var _local36 = attachMovie("text_answerResponse01a", "text_answerResponse01a", 100);
_local36._x = 225;
_local36._y = 129;
} else {
var _local32 = attachMovie("text_answerResponse01b", "text_answerResponse01b", 100);
_local32._x = 225;
_local32._y = 129;
}
} else if (questionAsked == 2) {
if (theAnswer == 1) {
var _local22 = attachMovie("text_answerResponse02a", "text_answerResponse02a", 100);
_local22._x = 225;
_local22._y = 129;
} else {
var _local19 = attachMovie("text_answerResponse02b", "text_answerResponse02b", 100);
_local19._x = 225;
_local19._y = 129;
}
} else if (questionAsked == 3) {
if (theAnswer == 1) {
var _local28 = attachMovie("text_answerResponse03a", "text_answerResponse03a", 100);
_local28._x = 225;
_local28._y = 129;
} else {
var _local23 = attachMovie("text_answerResponse03b", "text_answerResponse03b", 100);
_local23._x = 225;
_local23._y = 129;
}
} else if (questionAsked == 4) {
if (theAnswer == 1) {
var _local51 = attachMovie("text_answerResponse04a", "text_answerResponse04a", 100);
_local51._x = 225;
_local51._y = 129;
} else {
var _local48 = attachMovie("text_answerResponse04b", "text_answerResponse04b", 100);
_local48._x = 225;
_local48._y = 129;
}
} else if (questionAsked == 5) {
if (theAnswer == 1) {
var _local8 = attachMovie("text_answerResponse05", "text_answerResponse05", 100);
_local8._x = 225;
_local8._y = 129;
} else {
var _local19 = attachMovie("text_answerResponse02b", "text_answerResponse02b", 100);
_local19._x = 225;
_local19._y = 129;
}
} else if (questionAsked == 6) {
if (theAnswer == 1) {
var _local22 = attachMovie("text_answerResponse02a", "text_answerResponse02a", 100);
_local22._x = 225;
_local22._y = 129;
} else {
var _local19 = attachMovie("text_answerResponse02b", "text_answerResponse02b", 100);
_local19._x = 225;
_local19._y = 129;
}
} else if (questionAsked == 7) {
if (theAnswer == 1) {
var _local43 = attachMovie("text_answerResponse06a", "text_answerResponse06a", 100);
_local43._x = 225;
_local43._y = 129;
} else {
var _local37 = attachMovie("text_answerResponse06b", "text_answerResponse06b", 100);
_local37._x = 225;
_local37._y = 129;
}
} else if (questionAsked == 8) {
if (theAnswer == 1) {
var _local22 = attachMovie("text_answerResponse02a", "text_answerResponse02a", 100);
_local22._x = 225;
_local22._y = 129;
} else {
var _local19 = attachMovie("text_answerResponse02b", "text_answerResponse02b", 100);
_local19._x = 225;
_local19._y = 129;
}
} else if (questionAsked == 9) {
if (theAnswer == 1) {
var _local22 = attachMovie("text_answerResponse02a", "text_answerResponse02a", 100);
_local22._x = 225;
_local22._y = 129;
} else {
var _local19 = attachMovie("text_answerResponse02b", "text_answerResponse02b", 100);
_local19._x = 225;
_local19._y = 129;
}
} else if (questionAsked == 10) {
if (theAnswer == 1) {
var _local49 = attachMovie("text_answerResponse07a", "text_answerResponse07a", 100);
_local49._x = 225;
_local49._y = 129;
} else {
var _local44 = attachMovie("text_answerResponse07b", "text_answerResponse07b", 100);
_local44._x = 225;
_local44._y = 129;
}
} else if (questionAsked == 11) {
if (theAnswer == 1) {
var _local6 = attachMovie("text_answerResponse08a", "text_answerResponse08a", 100);
_local6._x = 225;
_local6._y = 129;
} else {
var _local4 = attachMovie("text_answerResponse08b", "text_answerResponse08b", 100);
_local4._x = 225;
_local4._y = 129;
}
} else if (questionAsked == 12) {
if (theAnswer == 1) {
var _local9 = attachMovie("text_answerResponse09a", "text_answerResponse09a", 100);
_local9._x = 225;
_local9._y = 129;
} else {
var _local7 = attachMovie("text_answerResponse09b", "text_answerResponse09b", 100);
_local7._x = 225;
_local7._y = 129;
}
} else if (questionAsked == 13) {
if (theAnswer == 1) {
var _local15 = attachMovie("text_answerResponse10", "text_answerResponse10", 100);
_local15._x = 225;
_local15._y = 129;
} else {
var _local19 = attachMovie("text_answerResponse02b", "text_answerResponse02b", 100);
_local19._x = 225;
_local19._y = 129;
}
} else if (questionAsked == 14) {
if (theAnswer == 1) {
var _local45 = attachMovie("text_answerResponse11a", "text_answerResponse11a", 100);
_local45._x = 225;
_local45._y = 129;
} else {
var _local38 = attachMovie("text_answerResponse11b", "text_answerResponse11b", 100);
_local38._x = 225;
_local38._y = 129;
}
} else if (questionAsked == 15) {
if (theAnswer == 1) {
var _local22 = attachMovie("text_answerResponse02a", "text_answerResponse02a", 100);
_local22._x = 225;
_local22._y = 129;
} else {
var _local19 = attachMovie("text_answerResponse02b", "text_answerResponse02b", 100);
_local19._x = 225;
_local19._y = 129;
}
}
} else {
var _local3 = random(4) + 1;
if (_local3 == 1) {
var _local10 = attachMovie("text_denial01", "text_denial01", 100);
_local10._x = 225;
_local10._y = 129;
} else if (_local3 == 2) {
var _local55 = attachMovie("text_denial02", "text_denial02", 100);
_local55._x = 225;
_local55._y = 129;
} else if (_local3 == 3) {
var _local5 = attachMovie("text_denial03", "text_denial03", 100);
_local5._x = 225;
_local5._y = 129;
} else if (_local3 == 4) {
var _local52 = attachMovie("text_denial04", "text_denial04", 100);
_local52._x = 225;
_local52._y = 129;
}
}
} else if (chefConversation == 5) {
_global.chefConversation++;
_global.chefTalking = false;
var _local36 = _root.text_answerResponse01a;
_local36.swapDepths(10);
_local36.removeMovieClip();
var _local32 = _root.text_answerResponse01b;
_local32.swapDepths(10);
_local32.removeMovieClip();
var _local22 = _root.text_answerResponse02a;
_local22.swapDepths(10);
_local22.removeMovieClip();
var _local19 = _root.text_answerResponse02b;
_local19.swapDepths(10);
_local19.removeMovieClip();
var _local28 = _root.text_answerResponse03a;
_local28.swapDepths(10);
_local28.removeMovieClip();
var _local23 = _root.text_answerResponse03b;
_local23.swapDepths(10);
_local23.removeMovieClip();
var _local51 = _root.text_answerResponse04a;
_local51.swapDepths(10);
_local51.removeMovieClip();
var _local48 = _root.text_answerResponse04b;
_local48.swapDepths(10);
_local48.removeMovieClip();
var _local8 = _root.text_answerResponse05;
_local8.swapDepths(10);
_local8.removeMovieClip();
var _local43 = _root.text_answerResponse06a;
_local43.swapDepths(10);
_local43.removeMovieClip();
var _local37 = _root.text_answerResponse06b;
_local37.swapDepths(10);
_local37.removeMovieClip();
var _local49 = _root.text_answerResponse07a;
_local49.swapDepths(10);
_local49.removeMovieClip();
var _local44 = _root.text_answerResponse07b;
_local44.swapDepths(10);
_local44.removeMovieClip();
var _local6 = _root.text_answerResponse08a;
_local6.swapDepths(10);
_local6.removeMovieClip();
var _local4 = _root.text_answerResponse08b;
_local4.swapDepths(10);
_local4.removeMovieClip();
var _local9 = _root.text_answerResponse09a;
_local9.swapDepths(10);
_local9.removeMovieClip();
var _local7 = _root.text_answerResponse09b;
_local7.swapDepths(10);
_local7.removeMovieClip();
var _local15 = _root.text_answerResponse10;
_local15.swapDepths(10);
_local15.removeMovieClip();
var _local45 = _root.text_answerResponse11a;
_local45.swapDepths(10);
_local45.removeMovieClip();
var _local38 = _root.text_answerResponse11b;
_local38.swapDepths(10);
_local38.removeMovieClip();
var _local10 = _root.text_denial01;
_local10.swapDepths(10);
_local10.removeMovieClip();
var _local55 = _root.text_denial02;
_local55.swapDepths(10);
_local55.removeMovieClip();
var _local5 = _root.text_denial03;
_local5.swapDepths(10);
_local5.removeMovieClip();
var _local52 = _root.text_denial04;
_local52.swapDepths(10);
_local52.removeMovieClip();
var _local39 = attachMovie("text_endQuestioning01", "text_endQuestioning01", 100);
_local39._x = 133;
_local39._y = 334;
} else if (chefConversation == 6) {
_global.chefConversation++;
_global.chefTalking = true;
var _local39 = _root.text_endQuestioning01;
_local39.swapDepths(10);
_local39.removeMovieClip();
var _local3 = random(3) + 1;
if (_local3 == 1) {
var _local33 = attachMovie("text_endQuestioning02a", "text_endQuestioning02a", 100);
_local33._x = 225;
_local33._y = 129;
} else if (_local3 == 2) {
var _local40 = attachMovie("text_endQuestioning02b", "text_endQuestioning02b", 100);
_local40._x = 225;
_local40._y = 129;
} else if (_local3 == 3) {
var _local46 = attachMovie("text_endQuestioning02c", "text_endQuestioning02c", 100);
_local46._x = 225;
_local46._y = 129;
}
} else if (chefConversation == 7) {
var _local33 = _root.text_endQuestioning02a;
_local33.swapDepths(10);
_local33.removeMovieClip();
var _local40 = _root.text_endQuestioning02b;
_local40.swapDepths(10);
_local40.removeMovieClip();
var _local46 = _root.text_endQuestioning02c;
_local46.swapDepths(10);
_local46.removeMovieClip();
_root.restaurant01.stop("restaurant01");
gotoAndStop ("overheadMap");
}
};
stop();
Frame 249
function init() {
_global.dogCatcherArrived = false;
_global.dogCatcherConversation = 0;
if (whoKnows == 1) {
dogCatcher.gotoAndStop("reading");
}
dogPound01 = new Sound();
dogPound01.attachSound("dogPound01");
dogPound01.start(0, 999);
}
init();
onEnterFrame = function () {
if (dogCatcherArrived and (dogCatcherConversation == 0)) {
_global.dogCatcherConversation++;
_global.dogCatcherTalking = true;
var _local2 = random(4) + 1;
if (_local2 == 1) {
var _local6 = attachMovie("text_greeting01", "text_greeting01", 100);
_local6._x = 259;
_local6._y = 129;
} else if (_local2 == 2) {
var _local5 = attachMovie("text_greeting02", "text_greeting02", 100);
_local5._x = 259;
_local5._y = 129;
} else if (_local2 == 3) {
var _local4 = attachMovie("text_greeting03", "text_greeting03", 100);
_local4._x = 259;
_local4._y = 129;
} else if (_local2 == 4) {
var _local3 = attachMovie("text_greeting04", "text_greeting04", 100);
_local3._x = 259;
_local3._y = 129;
}
}
};
clickNext.onRelease = function () {
if (dogCatcherConversation == 1) {
_global.dogCatcherConversation++;
_global.dogCatcherTalking = false;
var _local54 = _root.text_greeting01;
_local54.swapDepths(10);
_local54.removeMovieClip();
var _local53 = _root.text_greeting02;
_local53.swapDepths(10);
_local53.removeMovieClip();
var _local50 = _root.text_greeting03;
_local50.swapDepths(10);
_local50.removeMovieClip();
var _local11 = _root.text_greeting04;
_local11.swapDepths(10);
_local11.removeMovieClip();
var _local24 = attachMovie("text_beginQuestioning01", "text_beginQuestioning01", 100);
_local24._x = 133;
_local24._y = 334;
} else if (dogCatcherConversation == 2) {
_global.dogCatcherConversation++;
_global.dogCatcherTalking = true;
var _local24 = _root.text_beginQuestioning01;
_local24.swapDepths(10);
_local24.removeMovieClip();
var _local3 = random(4) + 1;
if (_local3 == 1) {
var _local41 = attachMovie("text_beginQuestioning02a", "text_beginQuestioning02a", 100);
_local41._x = 225;
_local41._y = 129;
} else if (_local3 == 2) {
var _local25 = attachMovie("text_beginQuestioning02b", "text_beginQuestioning02b", 100);
_local25._x = 225;
_local25._y = 129;
} else if (_local3 == 3) {
var _local29 = attachMovie("text_beginQuestioning02c", "text_beginQuestioning02c", 100);
_local29._x = 225;
_local29._y = 129;
} else if (_local3 == 4) {
var _local16 = attachMovie("text_beginQuestioning02d", "text_beginQuestioning02d", 100);
_local16._x = 225;
_local16._y = 129;
}
} else if (dogCatcherConversation == 3) {
_global.dogCatcherConversation++;
_global.dogCatcherTalking = false;
var _local41 = _root.text_beginQuestioning02a;
_local41.swapDepths(10);
_local41.removeMovieClip();
var _local25 = _root.text_beginQuestioning02b;
_local25.swapDepths(10);
_local25.removeMovieClip();
var _local29 = _root.text_beginQuestioning02c;
_local29.swapDepths(10);
_local29.removeMovieClip();
var _local16 = _root.text_beginQuestioning02d;
_local16.swapDepths(10);
_local16.removeMovieClip();
if (questionAsked == 1) {
var _local47 = attachMovie("text_myQuestion01", "text_myQuestion01", 100);
_local47._x = 133;
_local47._y = 334;
} else if (questionAsked == 2) {
var _local30 = attachMovie("text_myQuestion02", "text_myQuestion02", 100);
_local30._x = 133;
_local30._y = 334;
} else if (questionAsked == 3) {
var _local34 = attachMovie("text_myQuestion03", "text_myQuestion03", 100);
_local34._x = 133;
_local34._y = 334;
} else if (questionAsked == 4) {
var _local20 = attachMovie("text_myQuestion04", "text_myQuestion04", 100);
_local20._x = 133;
_local20._y = 334;
} else if (questionAsked == 5) {
var _local26 = attachMovie("text_myQuestion05", "text_myQuestion05", 100);
_local26._x = 133;
_local26._y = 334;
} else if (questionAsked == 6) {
var _local14 = attachMovie("text_myQuestion06", "text_myQuestion06", 100);
_local14._x = 133;
_local14._y = 334;
} else if (questionAsked == 7) {
var _local17 = attachMovie("text_myQuestion07", "text_myQuestion07", 100);
_local17._x = 133;
_local17._y = 334;
} else if (questionAsked == 8) {
var _local12 = attachMovie("text_myQuestion08", "text_myQuestion08", 100);
_local12._x = 133;
_local12._y = 334;
} else if (questionAsked == 9) {
var _local13 = attachMovie("text_myQuestion09", "text_myQuestion09", 100);
_local13._x = 133;
_local13._y = 334;
} else if (questionAsked == 10) {
var _local35 = attachMovie("text_myQuestion10", "text_myQuestion10", 100);
_local35._x = 133;
_local35._y = 334;
} else if (questionAsked == 11) {
var _local42 = attachMovie("text_myQuestion11", "text_myQuestion11", 100);
_local42._x = 133;
_local42._y = 334;
} else if (questionAsked == 12) {
var _local27 = attachMovie("text_myQuestion12", "text_myQuestion12", 100);
_local27._x = 133;
_local27._y = 334;
} else if (questionAsked == 13) {
var _local31 = attachMovie("text_myQuestion13", "text_myQuestion13", 100);
_local31._x = 133;
_local31._y = 334;
} else if (questionAsked == 14) {
var _local18 = attachMovie("text_myQuestion14", "text_myQuestion14", 100);
_local18._x = 133;
_local18._y = 334;
} else if (questionAsked == 15) {
var _local21 = attachMovie("text_myQuestion15", "text_myQuestion15", 100);
_local21._x = 133;
_local21._y = 334;
}
} else if (dogCatcherConversation == 4) {
_global.dogCatcherConversation++;
_global.dogCatcherTalking = true;
var _local47 = _root.text_myQuestion01;
_local47.swapDepths(10);
_local47.removeMovieClip();
var _local30 = _root.text_myQuestion02;
_local30.swapDepths(10);
_local30.removeMovieClip();
var _local34 = _root.text_myQuestion03;
_local34.swapDepths(10);
_local34.removeMovieClip();
var _local20 = _root.text_myQuestion04;
_local20.swapDepths(10);
_local20.removeMovieClip();
var _local26 = _root.text_myQuestion05;
_local26.swapDepths(10);
_local26.removeMovieClip();
var _local14 = _root.text_myQuestion06;
_local14.swapDepths(10);
_local14.removeMovieClip();
var _local17 = _root.text_myQuestion07;
_local17.swapDepths(10);
_local17.removeMovieClip();
var _local12 = _root.text_myQuestion08;
_local12.swapDepths(10);
_local12.removeMovieClip();
var _local13 = _root.text_myQuestion09;
_local13.swapDepths(10);
_local13.removeMovieClip();
var _local35 = _root.text_myQuestion10;
_local35.swapDepths(10);
_local35.removeMovieClip();
var _local42 = _root.text_myQuestion11;
_local42.swapDepths(10);
_local42.removeMovieClip();
var _local27 = _root.text_myQuestion12;
_local27.swapDepths(10);
_local27.removeMovieClip();
var _local31 = _root.text_myQuestion13;
_local31.swapDepths(10);
_local31.removeMovieClip();
var _local18 = _root.text_myQuestion14;
_local18.swapDepths(10);
_local18.removeMovieClip();
var _local21 = _root.text_myQuestion15;
_local21.swapDepths(10);
_local21.removeMovieClip();
if (whoKnows == 1) {
_global.questionAnswered = true;
_global.theAnswer = random(2) + 1;
if (questionAsked == 1) {
if (theAnswer == 1) {
var _local36 = attachMovie("text_answerResponse01a", "text_answerResponse01a", 100);
_local36._x = 225;
_local36._y = 129;
} else {
var _local32 = attachMovie("text_answerResponse01b", "text_answerResponse01b", 100);
_local32._x = 225;
_local32._y = 129;
}
} else if (questionAsked == 2) {
if (theAnswer == 1) {
var _local22 = attachMovie("text_answerResponse02a", "text_answerResponse02a", 100);
_local22._x = 225;
_local22._y = 129;
} else {
var _local19 = attachMovie("text_answerResponse02b", "text_answerResponse02b", 100);
_local19._x = 225;
_local19._y = 129;
}
} else if (questionAsked == 3) {
if (theAnswer == 1) {
var _local28 = attachMovie("text_answerResponse03a", "text_answerResponse03a", 100);
_local28._x = 225;
_local28._y = 129;
} else {
var _local23 = attachMovie("text_answerResponse03b", "text_answerResponse03b", 100);
_local23._x = 225;
_local23._y = 129;
}
} else if (questionAsked == 4) {
if (theAnswer == 1) {
var _local51 = attachMovie("text_answerResponse04a", "text_answerResponse04a", 100);
_local51._x = 225;
_local51._y = 129;
} else {
var _local48 = attachMovie("text_answerResponse04b", "text_answerResponse04b", 100);
_local48._x = 225;
_local48._y = 129;
}
} else if (questionAsked == 5) {
if (theAnswer == 1) {
var _local8 = attachMovie("text_answerResponse05", "text_answerResponse05", 100);
_local8._x = 225;
_local8._y = 129;
} else {
var _local19 = attachMovie("text_answerResponse02b", "text_answerResponse02b", 100);
_local19._x = 225;
_local19._y = 129;
}
} else if (questionAsked == 6) {
if (theAnswer == 1) {
var _local22 = attachMovie("text_answerResponse02a", "text_answerResponse02a", 100);
_local22._x = 225;
_local22._y = 129;
} else {
var _local19 = attachMovie("text_answerResponse02b", "text_answerResponse02b", 100);
_local19._x = 225;
_local19._y = 129;
}
} else if (questionAsked == 7) {
if (theAnswer == 1) {
var _local43 = attachMovie("text_answerResponse06a", "text_answerResponse06a", 100);
_local43._x = 225;
_local43._y = 129;
} else {
var _local37 = attachMovie("text_answerResponse06b", "text_answerResponse06b", 100);
_local37._x = 225;
_local37._y = 129;
}
} else if (questionAsked == 8) {
if (theAnswer == 1) {
var _local22 = attachMovie("text_answerResponse02a", "text_answerResponse02a", 100);
_local22._x = 225;
_local22._y = 129;
} else {
var _local19 = attachMovie("text_answerResponse02b", "text_answerResponse02b", 100);
_local19._x = 225;
_local19._y = 129;
}
} else if (questionAsked == 9) {
if (theAnswer == 1) {
var _local22 = attachMovie("text_answerResponse02a", "text_answerResponse02a", 100);
_local22._x = 225;
_local22._y = 129;
} else {
var _local19 = attachMovie("text_answerResponse02b", "text_answerResponse02b", 100);
_local19._x = 225;
_local19._y = 129;
}
} else if (questionAsked == 10) {
if (theAnswer == 1) {
var _local49 = attachMovie("text_answerResponse07a", "text_answerResponse07a", 100);
_local49._x = 225;
_local49._y = 129;
} else {
var _local44 = attachMovie("text_answerResponse07b", "text_answerResponse07b", 100);
_local44._x = 225;
_local44._y = 129;
}
} else if (questionAsked == 11) {
if (theAnswer == 1) {
var _local6 = attachMovie("text_answerResponse08a", "text_answerResponse08a", 100);
_local6._x = 225;
_local6._y = 129;
} else {
var _local4 = attachMovie("text_answerResponse08b", "text_answerResponse08b", 100);
_local4._x = 225;
_local4._y = 129;
}
} else if (questionAsked == 12) {
if (theAnswer == 1) {
var _local9 = attachMovie("text_answerResponse09a", "text_answerResponse09a", 100);
_local9._x = 225;
_local9._y = 129;
} else {
var _local7 = attachMovie("text_answerResponse09b", "text_answerResponse09b", 100);
_local7._x = 225;
_local7._y = 129;
}
} else if (questionAsked == 13) {
if (theAnswer == 1) {
var _local15 = attachMovie("text_answerResponse10", "text_answerResponse10", 100);
_local15._x = 225;
_local15._y = 129;
} else {
var _local19 = attachMovie("text_answerResponse02b", "text_answerResponse02b", 100);
_local19._x = 225;
_local19._y = 129;
}
} else if (questionAsked == 14) {
if (theAnswer == 1) {
var _local45 = attachMovie("text_answerResponse11a", "text_answerResponse11a", 100);
_local45._x = 225;
_local45._y = 129;
} else {
var _local38 = attachMovie("text_answerResponse11b", "text_answerResponse11b", 100);
_local38._x = 225;
_local38._y = 129;
}
} else if (questionAsked == 15) {
if (theAnswer == 1) {
var _local22 = attachMovie("text_answerResponse02a", "text_answerResponse02a", 100);
_local22._x = 225;
_local22._y = 129;
} else {
var _local19 = attachMovie("text_answerResponse02b", "text_answerResponse02b", 100);
_local19._x = 225;
_local19._y = 129;
}
}
} else {
var _local3 = random(4) + 1;
if (_local3 == 1) {
var _local10 = attachMovie("text_denial01", "text_denial01", 100);
_local10._x = 225;
_local10._y = 129;
} else if (_local3 == 2) {
var _local55 = attachMovie("text_denial02", "text_denial02", 100);
_local55._x = 225;
_local55._y = 129;
} else if (_local3 == 3) {
var _local5 = attachMovie("text_denial03", "text_denial03", 100);
_local5._x = 225;
_local5._y = 129;
} else if (_local3 == 4) {
var _local52 = attachMovie("text_denial04", "text_denial04", 100);
_local52._x = 225;
_local52._y = 129;
}
}
} else if (dogCatcherConversation == 5) {
_global.dogCatcherConversation++;
_global.dogCatcherTalking = false;
var _local36 = _root.text_answerResponse01a;
_local36.swapDepths(10);
_local36.removeMovieClip();
var _local32 = _root.text_answerResponse01b;
_local32.swapDepths(10);
_local32.removeMovieClip();
var _local22 = _root.text_answerResponse02a;
_local22.swapDepths(10);
_local22.removeMovieClip();
var _local19 = _root.text_answerResponse02b;
_local19.swapDepths(10);
_local19.removeMovieClip();
var _local28 = _root.text_answerResponse03a;
_local28.swapDepths(10);
_local28.removeMovieClip();
var _local23 = _root.text_answerResponse03b;
_local23.swapDepths(10);
_local23.removeMovieClip();
var _local51 = _root.text_answerResponse04a;
_local51.swapDepths(10);
_local51.removeMovieClip();
var _local48 = _root.text_answerResponse04b;
_local48.swapDepths(10);
_local48.removeMovieClip();
var _local8 = _root.text_answerResponse05;
_local8.swapDepths(10);
_local8.removeMovieClip();
var _local43 = _root.text_answerResponse06a;
_local43.swapDepths(10);
_local43.removeMovieClip();
var _local37 = _root.text_answerResponse06b;
_local37.swapDepths(10);
_local37.removeMovieClip();
var _local49 = _root.text_answerResponse07a;
_local49.swapDepths(10);
_local49.removeMovieClip();
var _local44 = _root.text_answerResponse07b;
_local44.swapDepths(10);
_local44.removeMovieClip();
var _local6 = _root.text_answerResponse08a;
_local6.swapDepths(10);
_local6.removeMovieClip();
var _local4 = _root.text_answerResponse08b;
_local4.swapDepths(10);
_local4.removeMovieClip();
var _local9 = _root.text_answerResponse09a;
_local9.swapDepths(10);
_local9.removeMovieClip();
var _local7 = _root.text_answerResponse09b;
_local7.swapDepths(10);
_local7.removeMovieClip();
var _local15 = _root.text_answerResponse10;
_local15.swapDepths(10);
_local15.removeMovieClip();
var _local45 = _root.text_answerResponse11a;
_local45.swapDepths(10);
_local45.removeMovieClip();
var _local38 = _root.text_answerResponse11b;
_local38.swapDepths(10);
_local38.removeMovieClip();
var _local10 = _root.text_denial01;
_local10.swapDepths(10);
_local10.removeMovieClip();
var _local55 = _root.text_denial02;
_local55.swapDepths(10);
_local55.removeMovieClip();
var _local5 = _root.text_denial03;
_local5.swapDepths(10);
_local5.removeMovieClip();
var _local52 = _root.text_denial04;
_local52.swapDepths(10);
_local52.removeMovieClip();
var _local39 = attachMovie("text_endQuestioning01", "text_endQuestioning01", 100);
_local39._x = 133;
_local39._y = 334;
} else if (dogCatcherConversation == 6) {
_global.dogCatcherConversation++;
_global.dogCatcherTalking = true;
var _local39 = _root.text_endQuestioning01;
_local39.swapDepths(10);
_local39.removeMovieClip();
var _local3 = random(3) + 1;
if (_local3 == 1) {
var _local33 = attachMovie("text_endQuestioning02a", "text_endQuestioning02a", 100);
_local33._x = 225;
_local33._y = 129;
} else if (_local3 == 2) {
var _local40 = attachMovie("text_endQuestioning02b", "text_endQuestioning02b", 100);
_local40._x = 225;
_local40._y = 129;
} else if (_local3 == 3) {
var _local46 = attachMovie("text_endQuestioning02c", "text_endQuestioning02c", 100);
_local46._x = 225;
_local46._y = 129;
}
} else if (dogCatcherConversation == 7) {
var _local33 = _root.text_endQuestioning02a;
_local33.swapDepths(10);
_local33.removeMovieClip();
var _local40 = _root.text_endQuestioning02b;
_local40.swapDepths(10);
_local40.removeMovieClip();
var _local46 = _root.text_endQuestioning02c;
_local46.swapDepths(10);
_local46.removeMovieClip();
_root.dogPound01.stop("dogPound01");
gotoAndStop ("overheadMap");
}
};
stop();
Frame 264
function init() {
_global.garbageManArrived = false;
_global.garbageManConversation = 0;
if (whoKnows == 4) {
garbageMan.gotoAndStop("reading");
}
garbageDump01 = new Sound();
garbageDump01.attachSound("garbageDump01");
garbageDump01.start(0, 999);
}
init();
onEnterFrame = function () {
if (garbageManArrived and (garbageManConversation == 0)) {
_global.garbageManConversation++;
_global.garbageManTalking = true;
var _local2 = random(4) + 1;
if (_local2 == 1) {
var _local6 = attachMovie("text_greeting01", "text_greeting01", 100);
_local6._x = 259;
_local6._y = 129;
} else if (_local2 == 2) {
var _local5 = attachMovie("text_greeting02", "text_greeting02", 100);
_local5._x = 259;
_local5._y = 129;
} else if (_local2 == 3) {
var _local4 = attachMovie("text_greeting03", "text_greeting03", 100);
_local4._x = 259;
_local4._y = 129;
} else if (_local2 == 4) {
var _local3 = attachMovie("text_greeting04", "text_greeting04", 100);
_local3._x = 259;
_local3._y = 129;
}
}
};
clickNext.onRelease = function () {
if (garbageManConversation == 1) {
_global.garbageManConversation++;
_global.garbageManTalking = false;
var _local54 = _root.text_greeting01;
_local54.swapDepths(10);
_local54.removeMovieClip();
var _local53 = _root.text_greeting02;
_local53.swapDepths(10);
_local53.removeMovieClip();
var _local50 = _root.text_greeting03;
_local50.swapDepths(10);
_local50.removeMovieClip();
var _local11 = _root.text_greeting04;
_local11.swapDepths(10);
_local11.removeMovieClip();
var _local24 = attachMovie("text_beginQuestioning01", "text_beginQuestioning01", 100);
_local24._x = 133;
_local24._y = 334;
} else if (garbageManConversation == 2) {
_global.garbageManConversation++;
_global.garbageManTalking = true;
var _local24 = _root.text_beginQuestioning01;
_local24.swapDepths(10);
_local24.removeMovieClip();
var _local3 = random(4) + 1;
if (_local3 == 1) {
var _local41 = attachMovie("text_beginQuestioning02a", "text_beginQuestioning02a", 100);
_local41._x = 225;
_local41._y = 129;
} else if (_local3 == 2) {
var _local25 = attachMovie("text_beginQuestioning02b", "text_beginQuestioning02b", 100);
_local25._x = 225;
_local25._y = 129;
} else if (_local3 == 3) {
var _local29 = attachMovie("text_beginQuestioning02c", "text_beginQuestioning02c", 100);
_local29._x = 225;
_local29._y = 129;
} else if (_local3 == 4) {
var _local16 = attachMovie("text_beginQuestioning02d", "text_beginQuestioning02d", 100);
_local16._x = 225;
_local16._y = 129;
}
} else if (garbageManConversation == 3) {
_global.garbageManConversation++;
_global.garbageManTalking = false;
var _local41 = _root.text_beginQuestioning02a;
_local41.swapDepths(10);
_local41.removeMovieClip();
var _local25 = _root.text_beginQuestioning02b;
_local25.swapDepths(10);
_local25.removeMovieClip();
var _local29 = _root.text_beginQuestioning02c;
_local29.swapDepths(10);
_local29.removeMovieClip();
var _local16 = _root.text_beginQuestioning02d;
_local16.swapDepths(10);
_local16.removeMovieClip();
if (questionAsked == 1) {
var _local47 = attachMovie("text_myQuestion01", "text_myQuestion01", 100);
_local47._x = 133;
_local47._y = 334;
} else if (questionAsked == 2) {
var _local30 = attachMovie("text_myQuestion02", "text_myQuestion02", 100);
_local30._x = 133;
_local30._y = 334;
} else if (questionAsked == 3) {
var _local34 = attachMovie("text_myQuestion03", "text_myQuestion03", 100);
_local34._x = 133;
_local34._y = 334;
} else if (questionAsked == 4) {
var _local20 = attachMovie("text_myQuestion04", "text_myQuestion04", 100);
_local20._x = 133;
_local20._y = 334;
} else if (questionAsked == 5) {
var _local26 = attachMovie("text_myQuestion05", "text_myQuestion05", 100);
_local26._x = 133;
_local26._y = 334;
} else if (questionAsked == 6) {
var _local14 = attachMovie("text_myQuestion06", "text_myQuestion06", 100);
_local14._x = 133;
_local14._y = 334;
} else if (questionAsked == 7) {
var _local17 = attachMovie("text_myQuestion07", "text_myQuestion07", 100);
_local17._x = 133;
_local17._y = 334;
} else if (questionAsked == 8) {
var _local12 = attachMovie("text_myQuestion08", "text_myQuestion08", 100);
_local12._x = 133;
_local12._y = 334;
} else if (questionAsked == 9) {
var _local13 = attachMovie("text_myQuestion09", "text_myQuestion09", 100);
_local13._x = 133;
_local13._y = 334;
} else if (questionAsked == 10) {
var _local35 = attachMovie("text_myQuestion10", "text_myQuestion10", 100);
_local35._x = 133;
_local35._y = 334;
} else if (questionAsked == 11) {
var _local42 = attachMovie("text_myQuestion11", "text_myQuestion11", 100);
_local42._x = 133;
_local42._y = 334;
} else if (questionAsked == 12) {
var _local27 = attachMovie("text_myQuestion12", "text_myQuestion12", 100);
_local27._x = 133;
_local27._y = 334;
} else if (questionAsked == 13) {
var _local31 = attachMovie("text_myQuestion13", "text_myQuestion13", 100);
_local31._x = 133;
_local31._y = 334;
} else if (questionAsked == 14) {
var _local18 = attachMovie("text_myQuestion14", "text_myQuestion14", 100);
_local18._x = 133;
_local18._y = 334;
} else if (questionAsked == 15) {
var _local21 = attachMovie("text_myQuestion15", "text_myQuestion15", 100);
_local21._x = 133;
_local21._y = 334;
}
} else if (garbageManConversation == 4) {
_global.garbageManConversation++;
_global.garbageManTalking = true;
var _local47 = _root.text_myQuestion01;
_local47.swapDepths(10);
_local47.removeMovieClip();
var _local30 = _root.text_myQuestion02;
_local30.swapDepths(10);
_local30.removeMovieClip();
var _local34 = _root.text_myQuestion03;
_local34.swapDepths(10);
_local34.removeMovieClip();
var _local20 = _root.text_myQuestion04;
_local20.swapDepths(10);
_local20.removeMovieClip();
var _local26 = _root.text_myQuestion05;
_local26.swapDepths(10);
_local26.removeMovieClip();
var _local14 = _root.text_myQuestion06;
_local14.swapDepths(10);
_local14.removeMovieClip();
var _local17 = _root.text_myQuestion07;
_local17.swapDepths(10);
_local17.removeMovieClip();
var _local12 = _root.text_myQuestion08;
_local12.swapDepths(10);
_local12.removeMovieClip();
var _local13 = _root.text_myQuestion09;
_local13.swapDepths(10);
_local13.removeMovieClip();
var _local35 = _root.text_myQuestion10;
_local35.swapDepths(10);
_local35.removeMovieClip();
var _local42 = _root.text_myQuestion11;
_local42.swapDepths(10);
_local42.removeMovieClip();
var _local27 = _root.text_myQuestion12;
_local27.swapDepths(10);
_local27.removeMovieClip();
var _local31 = _root.text_myQuestion13;
_local31.swapDepths(10);
_local31.removeMovieClip();
var _local18 = _root.text_myQuestion14;
_local18.swapDepths(10);
_local18.removeMovieClip();
var _local21 = _root.text_myQuestion15;
_local21.swapDepths(10);
_local21.removeMovieClip();
if (whoKnows == 4) {
_global.questionAnswered = true;
_global.theAnswer = random(2) + 1;
if (questionAsked == 1) {
if (theAnswer == 1) {
var _local36 = attachMovie("text_answerResponse01a", "text_answerResponse01a", 100);
_local36._x = 225;
_local36._y = 129;
} else {
var _local32 = attachMovie("text_answerResponse01b", "text_answerResponse01b", 100);
_local32._x = 225;
_local32._y = 129;
}
} else if (questionAsked == 2) {
if (theAnswer == 1) {
var _local22 = attachMovie("text_answerResponse02a", "text_answerResponse02a", 100);
_local22._x = 225;
_local22._y = 129;
} else {
var _local19 = attachMovie("text_answerResponse02b", "text_answerResponse02b", 100);
_local19._x = 225;
_local19._y = 129;
}
} else if (questionAsked == 3) {
if (theAnswer == 1) {
var _local28 = attachMovie("text_answerResponse03a", "text_answerResponse03a", 100);
_local28._x = 225;
_local28._y = 129;
} else {
var _local23 = attachMovie("text_answerResponse03b", "text_answerResponse03b", 100);
_local23._x = 225;
_local23._y = 129;
}
} else if (questionAsked == 4) {
if (theAnswer == 1) {
var _local51 = attachMovie("text_answerResponse04a", "text_answerResponse04a", 100);
_local51._x = 225;
_local51._y = 129;
} else {
var _local48 = attachMovie("text_answerResponse04b", "text_answerResponse04b", 100);
_local48._x = 225;
_local48._y = 129;
}
} else if (questionAsked == 5) {
if (theAnswer == 1) {
var _local8 = attachMovie("text_answerResponse05", "text_answerResponse05", 100);
_local8._x = 225;
_local8._y = 129;
} else {
var _local19 = attachMovie("text_answerResponse02b", "text_answerResponse02b", 100);
_local19._x = 225;
_local19._y = 129;
}
} else if (questionAsked == 6) {
if (theAnswer == 1) {
var _local22 = attachMovie("text_answerResponse02a", "text_answerResponse02a", 100);
_local22._x = 225;
_local22._y = 129;
} else {
var _local19 = attachMovie("text_answerResponse02b", "text_answerResponse02b", 100);
_local19._x = 225;
_local19._y = 129;
}
} else if (questionAsked == 7) {
if (theAnswer == 1) {
var _local43 = attachMovie("text_answerResponse06a", "text_answerResponse06a", 100);
_local43._x = 225;
_local43._y = 129;
} else {
var _local37 = attachMovie("text_answerResponse06b", "text_answerResponse06b", 100);
_local37._x = 225;
_local37._y = 129;
}
} else if (questionAsked == 8) {
if (theAnswer == 1) {
var _local22 = attachMovie("text_answerResponse02a", "text_answerResponse02a", 100);
_local22._x = 225;
_local22._y = 129;
} else {
var _local19 = attachMovie("text_answerResponse02b", "text_answerResponse02b", 100);
_local19._x = 225;
_local19._y = 129;
}
} else if (questionAsked == 9) {
if (theAnswer == 1) {
var _local22 = attachMovie("text_answerResponse02a", "text_answerResponse02a", 100);
_local22._x = 225;
_local22._y = 129;
} else {
var _local19 = attachMovie("text_answerResponse02b", "text_answerResponse02b", 100);
_local19._x = 225;
_local19._y = 129;
}
} else if (questionAsked == 10) {
if (theAnswer == 1) {
var _local49 = attachMovie("text_answerResponse07a", "text_answerResponse07a", 100);
_local49._x = 225;
_local49._y = 129;
} else {
var _local44 = attachMovie("text_answerResponse07b", "text_answerResponse07b", 100);
_local44._x = 225;
_local44._y = 129;
}
} else if (questionAsked == 11) {
if (theAnswer == 1) {
var _local6 = attachMovie("text_answerResponse08a", "text_answerResponse08a", 100);
_local6._x = 225;
_local6._y = 129;
} else {
var _local4 = attachMovie("text_answerResponse08b", "text_answerResponse08b", 100);
_local4._x = 225;
_local4._y = 129;
}
} else if (questionAsked == 12) {
if (theAnswer == 1) {
var _local9 = attachMovie("text_answerResponse09a", "text_answerResponse09a", 100);
_local9._x = 225;
_local9._y = 129;
} else {
var _local7 = attachMovie("text_answerResponse09b", "text_answerResponse09b", 100);
_local7._x = 225;
_local7._y = 129;
}
} else if (questionAsked == 13) {
if (theAnswer == 1) {
var _local15 = attachMovie("text_answerResponse10", "text_answerResponse10", 100);
_local15._x = 225;
_local15._y = 129;
} else {
var _local19 = attachMovie("text_answerResponse02b", "text_answerResponse02b", 100);
_local19._x = 225;
_local19._y = 129;
}
} else if (questionAsked == 14) {
if (theAnswer == 1) {
var _local45 = attachMovie("text_answerResponse11a", "text_answerResponse11a", 100);
_local45._x = 225;
_local45._y = 129;
} else {
var _local38 = attachMovie("text_answerResponse11b", "text_answerResponse11b", 100);
_local38._x = 225;
_local38._y = 129;
}
} else if (questionAsked == 15) {
if (theAnswer == 1) {
var _local22 = attachMovie("text_answerResponse02a", "text_answerResponse02a", 100);
_local22._x = 225;
_local22._y = 129;
} else {
var _local19 = attachMovie("text_answerResponse02b", "text_answerResponse02b", 100);
_local19._x = 225;
_local19._y = 129;
}
}
} else {
var _local3 = random(4) + 1;
if (_local3 == 1) {
var _local10 = attachMovie("text_denial01", "text_denial01", 100);
_local10._x = 225;
_local10._y = 129;
} else if (_local3 == 2) {
var _local55 = attachMovie("text_denial02", "text_denial02", 100);
_local55._x = 225;
_local55._y = 129;
} else if (_local3 == 3) {
var _local5 = attachMovie("text_denial03", "text_denial03", 100);
_local5._x = 225;
_local5._y = 129;
} else if (_local3 == 4) {
var _local52 = attachMovie("text_denial04", "text_denial04", 100);
_local52._x = 225;
_local52._y = 129;
}
}
} else if (garbageManConversation == 5) {
_global.garbageManConversation++;
_global.garbageManTalking = false;
var _local36 = _root.text_answerResponse01a;
_local36.swapDepths(10);
_local36.removeMovieClip();
var _local32 = _root.text_answerResponse01b;
_local32.swapDepths(10);
_local32.removeMovieClip();
var _local22 = _root.text_answerResponse02a;
_local22.swapDepths(10);
_local22.removeMovieClip();
var _local19 = _root.text_answerResponse02b;
_local19.swapDepths(10);
_local19.removeMovieClip();
var _local28 = _root.text_answerResponse03a;
_local28.swapDepths(10);
_local28.removeMovieClip();
var _local23 = _root.text_answerResponse03b;
_local23.swapDepths(10);
_local23.removeMovieClip();
var _local51 = _root.text_answerResponse04a;
_local51.swapDepths(10);
_local51.removeMovieClip();
var _local48 = _root.text_answerResponse04b;
_local48.swapDepths(10);
_local48.removeMovieClip();
var _local8 = _root.text_answerResponse05;
_local8.swapDepths(10);
_local8.removeMovieClip();
var _local43 = _root.text_answerResponse06a;
_local43.swapDepths(10);
_local43.removeMovieClip();
var _local37 = _root.text_answerResponse06b;
_local37.swapDepths(10);
_local37.removeMovieClip();
var _local49 = _root.text_answerResponse07a;
_local49.swapDepths(10);
_local49.removeMovieClip();
var _local44 = _root.text_answerResponse07b;
_local44.swapDepths(10);
_local44.removeMovieClip();
var _local6 = _root.text_answerResponse08a;
_local6.swapDepths(10);
_local6.removeMovieClip();
var _local4 = _root.text_answerResponse08b;
_local4.swapDepths(10);
_local4.removeMovieClip();
var _local9 = _root.text_answerResponse09a;
_local9.swapDepths(10);
_local9.removeMovieClip();
var _local7 = _root.text_answerResponse09b;
_local7.swapDepths(10);
_local7.removeMovieClip();
var _local15 = _root.text_answerResponse10;
_local15.swapDepths(10);
_local15.removeMovieClip();
var _local45 = _root.text_answerResponse11a;
_local45.swapDepths(10);
_local45.removeMovieClip();
var _local38 = _root.text_answerResponse11b;
_local38.swapDepths(10);
_local38.removeMovieClip();
var _local10 = _root.text_denial01;
_local10.swapDepths(10);
_local10.removeMovieClip();
var _local55 = _root.text_denial02;
_local55.swapDepths(10);
_local55.removeMovieClip();
var _local5 = _root.text_denial03;
_local5.swapDepths(10);
_local5.removeMovieClip();
var _local52 = _root.text_denial04;
_local52.swapDepths(10);
_local52.removeMovieClip();
var _local39 = attachMovie("text_endQuestioning01", "text_endQuestioning01", 100);
_local39._x = 133;
_local39._y = 334;
} else if (garbageManConversation == 6) {
_global.garbageManConversation++;
_global.garbageManTalking = true;
var _local39 = _root.text_endQuestioning01;
_local39.swapDepths(10);
_local39.removeMovieClip();
var _local3 = random(3) + 1;
if (_local3 == 1) {
var _local33 = attachMovie("text_endQuestioning02a", "text_endQuestioning02a", 100);
_local33._x = 225;
_local33._y = 129;
} else if (_local3 == 2) {
var _local40 = attachMovie("text_endQuestioning02b", "text_endQuestioning02b", 100);
_local40._x = 225;
_local40._y = 129;
} else if (_local3 == 3) {
var _local46 = attachMovie("text_endQuestioning02c", "text_endQuestioning02c", 100);
_local46._x = 225;
_local46._y = 129;
}
} else if (garbageManConversation == 7) {
var _local33 = _root.text_endQuestioning02a;
_local33.swapDepths(10);
_local33.removeMovieClip();
var _local40 = _root.text_endQuestioning02b;
_local40.swapDepths(10);
_local40.removeMovieClip();
var _local46 = _root.text_endQuestioning02c;
_local46.swapDepths(10);
_local46.removeMovieClip();
_root.garbageDump01.stop("garbageDump01");
gotoAndStop ("overheadMap");
}
};
stop();
Frame 279
function init() {
_global.principalArrived = false;
_global.principalConversation = 0;
if (whoKnows == 2) {
principal.gotoAndStop("reading");
}
highSchool01 = new Sound();
highSchool01.attachSound("highSchool01");
highSchool01.start(0, 999);
}
init();
onEnterFrame = function () {
if (principalArrived and (principalConversation == 0)) {
_global.principalConversation++;
_global.principalTalking = true;
var _local2 = random(4) + 1;
if (_local2 == 1) {
var _local6 = attachMovie("text_greeting01", "text_greeting01", 100);
_local6._x = 275;
_local6._y = 129;
} else if (_local2 == 2) {
var _local5 = attachMovie("text_greeting02", "text_greeting02", 100);
_local5._x = 275;
_local5._y = 129;
} else if (_local2 == 3) {
var _local4 = attachMovie("text_greeting03", "text_greeting03", 100);
_local4._x = 275;
_local4._y = 129;
} else if (_local2 == 4) {
var _local3 = attachMovie("text_greeting04", "text_greeting04", 100);
_local3._x = 275;
_local3._y = 129;
}
}
};
clickNext.onRelease = function () {
if (principalConversation == 1) {
_global.principalConversation++;
_global.principalTalking = false;
var _local54 = _root.text_greeting01;
_local54.swapDepths(10);
_local54.removeMovieClip();
var _local53 = _root.text_greeting02;
_local53.swapDepths(10);
_local53.removeMovieClip();
var _local50 = _root.text_greeting03;
_local50.swapDepths(10);
_local50.removeMovieClip();
var _local11 = _root.text_greeting04;
_local11.swapDepths(10);
_local11.removeMovieClip();
var _local24 = attachMovie("text_beginQuestioning01", "text_beginQuestioning01", 100);
_local24._x = 133;
_local24._y = 334;
} else if (principalConversation == 2) {
_global.principalConversation++;
_global.principalTalking = true;
var _local24 = _root.text_beginQuestioning01;
_local24.swapDepths(10);
_local24.removeMovieClip();
var _local3 = random(4) + 1;
if (_local3 == 1) {
var _local41 = attachMovie("text_beginQuestioning02a", "text_beginQuestioning02a", 100);
_local41._x = 275;
_local41._y = 129;
} else if (_local3 == 2) {
var _local25 = attachMovie("text_beginQuestioning02b", "text_beginQuestioning02b", 100);
_local25._x = 275;
_local25._y = 129;
} else if (_local3 == 3) {
var _local29 = attachMovie("text_beginQuestioning02c", "text_beginQuestioning02c", 100);
_local29._x = 275;
_local29._y = 129;
} else if (_local3 == 4) {
var _local16 = attachMovie("text_beginQuestioning02d", "text_beginQuestioning02d", 100);
_local16._x = 275;
_local16._y = 129;
}
} else if (principalConversation == 3) {
_global.principalConversation++;
_global.principalTalking = false;
var _local41 = _root.text_beginQuestioning02a;
_local41.swapDepths(10);
_local41.removeMovieClip();
var _local25 = _root.text_beginQuestioning02b;
_local25.swapDepths(10);
_local25.removeMovieClip();
var _local29 = _root.text_beginQuestioning02c;
_local29.swapDepths(10);
_local29.removeMovieClip();
var _local16 = _root.text_beginQuestioning02d;
_local16.swapDepths(10);
_local16.removeMovieClip();
if (questionAsked == 1) {
var _local47 = attachMovie("text_myQuestion01", "text_myQuestion01", 100);
_local47._x = 133;
_local47._y = 334;
} else if (questionAsked == 2) {
var _local30 = attachMovie("text_myQuestion02", "text_myQuestion02", 100);
_local30._x = 133;
_local30._y = 334;
} else if (questionAsked == 3) {
var _local34 = attachMovie("text_myQuestion03", "text_myQuestion03", 100);
_local34._x = 133;
_local34._y = 334;
} else if (questionAsked == 4) {
var _local20 = attachMovie("text_myQuestion04", "text_myQuestion04", 100);
_local20._x = 133;
_local20._y = 334;
} else if (questionAsked == 5) {
var _local26 = attachMovie("text_myQuestion05", "text_myQuestion05", 100);
_local26._x = 133;
_local26._y = 334;
} else if (questionAsked == 6) {
var _local14 = attachMovie("text_myQuestion06", "text_myQuestion06", 100);
_local14._x = 133;
_local14._y = 334;
} else if (questionAsked == 7) {
var _local17 = attachMovie("text_myQuestion07", "text_myQuestion07", 100);
_local17._x = 133;
_local17._y = 334;
} else if (questionAsked == 8) {
var _local12 = attachMovie("text_myQuestion08", "text_myQuestion08", 100);
_local12._x = 133;
_local12._y = 334;
} else if (questionAsked == 9) {
var _local13 = attachMovie("text_myQuestion09", "text_myQuestion09", 100);
_local13._x = 133;
_local13._y = 334;
} else if (questionAsked == 10) {
var _local35 = attachMovie("text_myQuestion10", "text_myQuestion10", 100);
_local35._x = 133;
_local35._y = 334;
} else if (questionAsked == 11) {
var _local42 = attachMovie("text_myQuestion11", "text_myQuestion11", 100);
_local42._x = 133;
_local42._y = 334;
} else if (questionAsked == 12) {
var _local27 = attachMovie("text_myQuestion12", "text_myQuestion12", 100);
_local27._x = 133;
_local27._y = 334;
} else if (questionAsked == 13) {
var _local31 = attachMovie("text_myQuestion13", "text_myQuestion13", 100);
_local31._x = 133;
_local31._y = 334;
} else if (questionAsked == 14) {
var _local18 = attachMovie("text_myQuestion14", "text_myQuestion14", 100);
_local18._x = 133;
_local18._y = 334;
} else if (questionAsked == 15) {
var _local21 = attachMovie("text_myQuestion15", "text_myQuestion15", 100);
_local21._x = 133;
_local21._y = 334;
}
} else if (principalConversation == 4) {
_global.principalConversation++;
_global.principalTalking = true;
var _local47 = _root.text_myQuestion01;
_local47.swapDepths(10);
_local47.removeMovieClip();
var _local30 = _root.text_myQuestion02;
_local30.swapDepths(10);
_local30.removeMovieClip();
var _local34 = _root.text_myQuestion03;
_local34.swapDepths(10);
_local34.removeMovieClip();
var _local20 = _root.text_myQuestion04;
_local20.swapDepths(10);
_local20.removeMovieClip();
var _local26 = _root.text_myQuestion05;
_local26.swapDepths(10);
_local26.removeMovieClip();
var _local14 = _root.text_myQuestion06;
_local14.swapDepths(10);
_local14.removeMovieClip();
var _local17 = _root.text_myQuestion07;
_local17.swapDepths(10);
_local17.removeMovieClip();
var _local12 = _root.text_myQuestion08;
_local12.swapDepths(10);
_local12.removeMovieClip();
var _local13 = _root.text_myQuestion09;
_local13.swapDepths(10);
_local13.removeMovieClip();
var _local35 = _root.text_myQuestion10;
_local35.swapDepths(10);
_local35.removeMovieClip();
var _local42 = _root.text_myQuestion11;
_local42.swapDepths(10);
_local42.removeMovieClip();
var _local27 = _root.text_myQuestion12;
_local27.swapDepths(10);
_local27.removeMovieClip();
var _local31 = _root.text_myQuestion13;
_local31.swapDepths(10);
_local31.removeMovieClip();
var _local18 = _root.text_myQuestion14;
_local18.swapDepths(10);
_local18.removeMovieClip();
var _local21 = _root.text_myQuestion15;
_local21.swapDepths(10);
_local21.removeMovieClip();
if (whoKnows == 2) {
_global.questionAnswered = true;
_global.theAnswer = random(2) + 1;
if (questionAsked == 1) {
if (theAnswer == 1) {
var _local36 = attachMovie("text_answerResponse01a", "text_answerResponse01a", 100);
_local36._x = 275;
_local36._y = 129;
} else {
var _local32 = attachMovie("text_answerResponse01b", "text_answerResponse01b", 100);
_local32._x = 275;
_local32._y = 129;
}
} else if (questionAsked == 2) {
if (theAnswer == 1) {
var _local22 = attachMovie("text_answerResponse02a", "text_answerResponse02a", 100);
_local22._x = 275;
_local22._y = 129;
} else {
var _local19 = attachMovie("text_answerResponse02b", "text_answerResponse02b", 100);
_local19._x = 275;
_local19._y = 129;
}
} else if (questionAsked == 3) {
if (theAnswer == 1) {
var _local28 = attachMovie("text_answerResponse03a", "text_answerResponse03a", 100);
_local28._x = 275;
_local28._y = 129;
} else {
var _local23 = attachMovie("text_answerResponse03b", "text_answerResponse03b", 100);
_local23._x = 275;
_local23._y = 129;
}
} else if (questionAsked == 4) {
if (theAnswer == 1) {
var _local51 = attachMovie("text_answerResponse04a", "text_answerResponse04a", 100);
_local51._x = 275;
_local51._y = 129;
} else {
var _local48 = attachMovie("text_answerResponse04b", "text_answerResponse04b", 100);
_local48._x = 275;
_local48._y = 129;
}
} else if (questionAsked == 5) {
if (theAnswer == 1) {
var _local8 = attachMovie("text_answerResponse05", "text_answerResponse05", 100);
_local8._x = 275;
_local8._y = 129;
} else {
var _local19 = attachMovie("text_answerResponse02b", "text_answerResponse02b", 100);
_local19._x = 275;
_local19._y = 129;
}
} else if (questionAsked == 6) {
if (theAnswer == 1) {
var _local22 = attachMovie("text_answerResponse02a", "text_answerResponse02a", 100);
_local22._x = 275;
_local22._y = 129;
} else {
var _local19 = attachMovie("text_answerResponse02b", "text_answerResponse02b", 100);
_local19._x = 275;
_local19._y = 129;
}
} else if (questionAsked == 7) {
if (theAnswer == 1) {
var _local43 = attachMovie("text_answerResponse06a", "text_answerResponse06a", 100);
_local43._x = 275;
_local43._y = 129;
} else {
var _local37 = attachMovie("text_answerResponse06b", "text_answerResponse06b", 100);
_local37._x = 275;
_local37._y = 129;
}
} else if (questionAsked == 8) {
if (theAnswer == 1) {
var _local22 = attachMovie("text_answerResponse02a", "text_answerResponse02a", 100);
_local22._x = 275;
_local22._y = 129;
} else {
var _local19 = attachMovie("text_answerResponse02b", "text_answerResponse02b", 100);
_local19._x = 275;
_local19._y = 129;
}
} else if (questionAsked == 9) {
if (theAnswer == 1) {
var _local22 = attachMovie("text_answerResponse02a", "text_answerResponse02a", 100);
_local22._x = 275;
_local22._y = 129;
} else {
var _local19 = attachMovie("text_answerResponse02b", "text_answerResponse02b", 100);
_local19._x = 275;
_local19._y = 129;
}
} else if (questionAsked == 10) {
if (theAnswer == 1) {
var _local49 = attachMovie("text_answerResponse07a", "text_answerResponse07a", 100);
_local49._x = 275;
_local49._y = 129;
} else {
var _local44 = attachMovie("text_answerResponse07b", "text_answerResponse07b", 100);
_local44._x = 275;
_local44._y = 129;
}
} else if (questionAsked == 11) {
if (theAnswer == 1) {
var _local6 = attachMovie("text_answerResponse08a", "text_answerResponse08a", 100);
_local6._x = 275;
_local6._y = 129;
} else {
var _local4 = attachMovie("text_answerResponse08b", "text_answerResponse08b", 100);
_local4._x = 275;
_local4._y = 129;
}
} else if (questionAsked == 12) {
if (theAnswer == 1) {
var _local9 = attachMovie("text_answerResponse09a", "text_answerResponse09a", 100);
_local9._x = 275;
_local9._y = 129;
} else {
var _local7 = attachMovie("text_answerResponse09b", "text_answerResponse09b", 100);
_local7._x = 275;
_local7._y = 129;
}
} else if (questionAsked == 13) {
if (theAnswer == 1) {
var _local15 = attachMovie("text_answerResponse10", "text_answerResponse10", 100);
_local15._x = 275;
_local15._y = 129;
} else {
var _local19 = attachMovie("text_answerResponse02b", "text_answerResponse02b", 100);
_local19._x = 275;
_local19._y = 129;
}
} else if (questionAsked == 14) {
if (theAnswer == 1) {
var _local45 = attachMovie("text_answerResponse11a", "text_answerResponse11a", 100);
_local45._x = 275;
_local45._y = 129;
} else {
var _local38 = attachMovie("text_answerResponse11b", "text_answerResponse11b", 100);
_local38._x = 275;
_local38._y = 129;
}
} else if (questionAsked == 15) {
if (theAnswer == 1) {
var _local22 = attachMovie("text_answerResponse02a", "text_answerResponse02a", 100);
_local22._x = 275;
_local22._y = 129;
} else {
var _local19 = attachMovie("text_answerResponse02b", "text_answerResponse02b", 100);
_local19._x = 275;
_local19._y = 129;
}
}
} else {
var _local3 = random(4) + 1;
if (_local3 == 1) {
var _local10 = attachMovie("text_denial01", "text_denial01", 100);
_local10._x = 275;
_local10._y = 129;
} else if (_local3 == 2) {
var _local55 = attachMovie("text_denial02", "text_denial02", 100);
_local55._x = 275;
_local55._y = 129;
} else if (_local3 == 3) {
var _local5 = attachMovie("text_denial03", "text_denial03", 100);
_local5._x = 275;
_local5._y = 129;
} else if (_local3 == 4) {
var _local52 = attachMovie("text_denial04", "text_denial04", 100);
_local52._x = 275;
_local52._y = 129;
}
}
} else if (principalConversation == 5) {
_global.principalConversation++;
_global.principalTalking = false;
var _local36 = _root.text_answerResponse01a;
_local36.swapDepths(10);
_local36.removeMovieClip();
var _local32 = _root.text_answerResponse01b;
_local32.swapDepths(10);
_local32.removeMovieClip();
var _local22 = _root.text_answerResponse02a;
_local22.swapDepths(10);
_local22.removeMovieClip();
var _local19 = _root.text_answerResponse02b;
_local19.swapDepths(10);
_local19.removeMovieClip();
var _local28 = _root.text_answerResponse03a;
_local28.swapDepths(10);
_local28.removeMovieClip();
var _local23 = _root.text_answerResponse03b;
_local23.swapDepths(10);
_local23.removeMovieClip();
var _local51 = _root.text_answerResponse04a;
_local51.swapDepths(10);
_local51.removeMovieClip();
var _local48 = _root.text_answerResponse04b;
_local48.swapDepths(10);
_local48.removeMovieClip();
var _local8 = _root.text_answerResponse05;
_local8.swapDepths(10);
_local8.removeMovieClip();
var _local43 = _root.text_answerResponse06a;
_local43.swapDepths(10);
_local43.removeMovieClip();
var _local37 = _root.text_answerResponse06b;
_local37.swapDepths(10);
_local37.removeMovieClip();
var _local49 = _root.text_answerResponse07a;
_local49.swapDepths(10);
_local49.removeMovieClip();
var _local44 = _root.text_answerResponse07b;
_local44.swapDepths(10);
_local44.removeMovieClip();
var _local6 = _root.text_answerResponse08a;
_local6.swapDepths(10);
_local6.removeMovieClip();
var _local4 = _root.text_answerResponse08b;
_local4.swapDepths(10);
_local4.removeMovieClip();
var _local9 = _root.text_answerResponse09a;
_local9.swapDepths(10);
_local9.removeMovieClip();
var _local7 = _root.text_answerResponse09b;
_local7.swapDepths(10);
_local7.removeMovieClip();
var _local15 = _root.text_answerResponse10;
_local15.swapDepths(10);
_local15.removeMovieClip();
var _local45 = _root.text_answerResponse11a;
_local45.swapDepths(10);
_local45.removeMovieClip();
var _local38 = _root.text_answerResponse11b;
_local38.swapDepths(10);
_local38.removeMovieClip();
var _local10 = _root.text_denial01;
_local10.swapDepths(10);
_local10.removeMovieClip();
var _local55 = _root.text_denial02;
_local55.swapDepths(10);
_local55.removeMovieClip();
var _local5 = _root.text_denial03;
_local5.swapDepths(10);
_local5.removeMovieClip();
var _local52 = _root.text_denial04;
_local52.swapDepths(10);
_local52.removeMovieClip();
var _local39 = attachMovie("text_endQuestioning01", "text_endQuestioning01", 100);
_local39._x = 133;
_local39._y = 334;
} else if (principalConversation == 6) {
_global.principalConversation++;
_global.principalTalking = true;
var _local39 = _root.text_endQuestioning01;
_local39.swapDepths(10);
_local39.removeMovieClip();
var _local3 = random(3) + 1;
if (_local3 == 1) {
var _local33 = attachMovie("text_endQuestioning02a", "text_endQuestioning02a", 100);
_local33._x = 275;
_local33._y = 129;
} else if (_local3 == 2) {
var _local40 = attachMovie("text_endQuestioning02b", "text_endQuestioning02b", 100);
_local40._x = 275;
_local40._y = 129;
} else if (_local3 == 3) {
var _local46 = attachMovie("text_endQuestioning02c", "text_endQuestioning02c", 100);
_local46._x = 275;
_local46._y = 129;
}
} else if (principalConversation == 7) {
var _local33 = _root.text_endQuestioning02a;
_local33.swapDepths(10);
_local33.removeMovieClip();
var _local40 = _root.text_endQuestioning02b;
_local40.swapDepths(10);
_local40.removeMovieClip();
var _local46 = _root.text_endQuestioning02c;
_local46.swapDepths(10);
_local46.removeMovieClip();
_root.highSchool01.stop("highSchool01");
gotoAndStop ("overheadMap");
}
};
stop();
Frame 295
function init() {
_global.clerkArrived = false;
_global.clerkConversation = 0;
if (whoKnows == 7) {
clerk.gotoAndStop("reading");
}
groceryStore01 = new Sound();
groceryStore01.attachSound("groceryStore01");
groceryStore01.start(0, 999);
}
init();
onEnterFrame = function () {
if (clerkArrived and (clerkConversation == 0)) {
_global.clerkConversation++;
_global.clerkTalking = true;
var _local2 = random(4) + 1;
if (_local2 == 1) {
var _local6 = attachMovie("text_greeting01", "text_greeting01", 100);
_local6._x = 275;
_local6._y = 129;
} else if (_local2 == 2) {
var _local5 = attachMovie("text_greeting02", "text_greeting02", 100);
_local5._x = 275;
_local5._y = 129;
} else if (_local2 == 3) {
var _local4 = attachMovie("text_greeting03", "text_greeting03", 100);
_local4._x = 275;
_local4._y = 129;
} else if (_local2 == 4) {
var _local3 = attachMovie("text_greeting04", "text_greeting04", 100);
_local3._x = 275;
_local3._y = 129;
}
}
};
clickNext.onRelease = function () {
if (clerkConversation == 1) {
_global.clerkConversation++;
_global.clerkTalking = false;
var _local54 = _root.text_greeting01;
_local54.swapDepths(10);
_local54.removeMovieClip();
var _local53 = _root.text_greeting02;
_local53.swapDepths(10);
_local53.removeMovieClip();
var _local50 = _root.text_greeting03;
_local50.swapDepths(10);
_local50.removeMovieClip();
var _local11 = _root.text_greeting04;
_local11.swapDepths(10);
_local11.removeMovieClip();
var _local24 = attachMovie("text_beginQuestioning01", "text_beginQuestioning01", 100);
_local24._x = 133;
_local24._y = 334;
} else if (clerkConversation == 2) {
_global.clerkConversation++;
_global.clerkTalking = true;
var _local24 = _root.text_beginQuestioning01;
_local24.swapDepths(10);
_local24.removeMovieClip();
var _local3 = random(4) + 1;
if (_local3 == 1) {
var _local41 = attachMovie("text_beginQuestioning02a", "text_beginQuestioning02a", 100);
_local41._x = 275;
_local41._y = 129;
} else if (_local3 == 2) {
var _local25 = attachMovie("text_beginQuestioning02b", "text_beginQuestioning02b", 100);
_local25._x = 275;
_local25._y = 129;
} else if (_local3 == 3) {
var _local29 = attachMovie("text_beginQuestioning02c", "text_beginQuestioning02c", 100);
_local29._x = 275;
_local29._y = 129;
} else if (_local3 == 4) {
var _local16 = attachMovie("text_beginQuestioning02d", "text_beginQuestioning02d", 100);
_local16._x = 275;
_local16._y = 129;
}
} else if (clerkConversation == 3) {
_global.clerkConversation++;
_global.clerkTalking = false;
var _local41 = _root.text_beginQuestioning02a;
_local41.swapDepths(10);
_local41.removeMovieClip();
var _local25 = _root.text_beginQuestioning02b;
_local25.swapDepths(10);
_local25.removeMovieClip();
var _local29 = _root.text_beginQuestioning02c;
_local29.swapDepths(10);
_local29.removeMovieClip();
var _local16 = _root.text_beginQuestioning02d;
_local16.swapDepths(10);
_local16.removeMovieClip();
if (questionAsked == 1) {
var _local47 = attachMovie("text_myQuestion01", "text_myQuestion01", 100);
_local47._x = 133;
_local47._y = 334;
} else if (questionAsked == 2) {
var _local30 = attachMovie("text_myQuestion02", "text_myQuestion02", 100);
_local30._x = 133;
_local30._y = 334;
} else if (questionAsked == 3) {
var _local34 = attachMovie("text_myQuestion03", "text_myQuestion03", 100);
_local34._x = 133;
_local34._y = 334;
} else if (questionAsked == 4) {
var _local20 = attachMovie("text_myQuestion04", "text_myQuestion04", 100);
_local20._x = 133;
_local20._y = 334;
} else if (questionAsked == 5) {
var _local26 = attachMovie("text_myQuestion05", "text_myQuestion05", 100);
_local26._x = 133;
_local26._y = 334;
} else if (questionAsked == 6) {
var _local14 = attachMovie("text_myQuestion06", "text_myQuestion06", 100);
_local14._x = 133;
_local14._y = 334;
} else if (questionAsked == 7) {
var _local17 = attachMovie("text_myQuestion07", "text_myQuestion07", 100);
_local17._x = 133;
_local17._y = 334;
} else if (questionAsked == 8) {
var _local12 = attachMovie("text_myQuestion08", "text_myQuestion08", 100);
_local12._x = 133;
_local12._y = 334;
} else if (questionAsked == 9) {
var _local13 = attachMovie("text_myQuestion09", "text_myQuestion09", 100);
_local13._x = 133;
_local13._y = 334;
} else if (questionAsked == 10) {
var _local35 = attachMovie("text_myQuestion10", "text_myQuestion10", 100);
_local35._x = 133;
_local35._y = 334;
} else if (questionAsked == 11) {
var _local42 = attachMovie("text_myQuestion11", "text_myQuestion11", 100);
_local42._x = 133;
_local42._y = 334;
} else if (questionAsked == 12) {
var _local27 = attachMovie("text_myQuestion12", "text_myQuestion12", 100);
_local27._x = 133;
_local27._y = 334;
} else if (questionAsked == 13) {
var _local31 = attachMovie("text_myQuestion13", "text_myQuestion13", 100);
_local31._x = 133;
_local31._y = 334;
} else if (questionAsked == 14) {
var _local18 = attachMovie("text_myQuestion14", "text_myQuestion14", 100);
_local18._x = 133;
_local18._y = 334;
} else if (questionAsked == 15) {
var _local21 = attachMovie("text_myQuestion15", "text_myQuestion15", 100);
_local21._x = 133;
_local21._y = 334;
}
} else if (clerkConversation == 4) {
_global.clerkConversation++;
_global.clerkTalking = true;
var _local47 = _root.text_myQuestion01;
_local47.swapDepths(10);
_local47.removeMovieClip();
var _local30 = _root.text_myQuestion02;
_local30.swapDepths(10);
_local30.removeMovieClip();
var _local34 = _root.text_myQuestion03;
_local34.swapDepths(10);
_local34.removeMovieClip();
var _local20 = _root.text_myQuestion04;
_local20.swapDepths(10);
_local20.removeMovieClip();
var _local26 = _root.text_myQuestion05;
_local26.swapDepths(10);
_local26.removeMovieClip();
var _local14 = _root.text_myQuestion06;
_local14.swapDepths(10);
_local14.removeMovieClip();
var _local17 = _root.text_myQuestion07;
_local17.swapDepths(10);
_local17.removeMovieClip();
var _local12 = _root.text_myQuestion08;
_local12.swapDepths(10);
_local12.removeMovieClip();
var _local13 = _root.text_myQuestion09;
_local13.swapDepths(10);
_local13.removeMovieClip();
var _local35 = _root.text_myQuestion10;
_local35.swapDepths(10);
_local35.removeMovieClip();
var _local42 = _root.text_myQuestion11;
_local42.swapDepths(10);
_local42.removeMovieClip();
var _local27 = _root.text_myQuestion12;
_local27.swapDepths(10);
_local27.removeMovieClip();
var _local31 = _root.text_myQuestion13;
_local31.swapDepths(10);
_local31.removeMovieClip();
var _local18 = _root.text_myQuestion14;
_local18.swapDepths(10);
_local18.removeMovieClip();
var _local21 = _root.text_myQuestion15;
_local21.swapDepths(10);
_local21.removeMovieClip();
if (whoKnows == 7) {
_global.questionAnswered = true;
_global.theAnswer = random(2) + 1;
if (questionAsked == 1) {
if (theAnswer == 1) {
var _local36 = attachMovie("text_answerResponse01a", "text_answerResponse01a", 100);
_local36._x = 275;
_local36._y = 129;
} else {
var _local32 = attachMovie("text_answerResponse01b", "text_answerResponse01b", 100);
_local32._x = 275;
_local32._y = 129;
}
} else if (questionAsked == 2) {
if (theAnswer == 1) {
var _local22 = attachMovie("text_answerResponse02a", "text_answerResponse02a", 100);
_local22._x = 275;
_local22._y = 129;
} else {
var _local19 = attachMovie("text_answerResponse02b", "text_answerResponse02b", 100);
_local19._x = 275;
_local19._y = 129;
}
} else if (questionAsked == 3) {
if (theAnswer == 1) {
var _local28 = attachMovie("text_answerResponse03a", "text_answerResponse03a", 100);
_local28._x = 275;
_local28._y = 129;
} else {
var _local23 = attachMovie("text_answerResponse03b", "text_answerResponse03b", 100);
_local23._x = 275;
_local23._y = 129;
}
} else if (questionAsked == 4) {
if (theAnswer == 1) {
var _local51 = attachMovie("text_answerResponse04a", "text_answerResponse04a", 100);
_local51._x = 275;
_local51._y = 129;
} else {
var _local48 = attachMovie("text_answerResponse04b", "text_answerResponse04b", 100);
_local48._x = 275;
_local48._y = 129;
}
} else if (questionAsked == 5) {
if (theAnswer == 1) {
var _local8 = attachMovie("text_answerResponse05", "text_answerResponse05", 100);
_local8._x = 275;
_local8._y = 129;
} else {
var _local19 = attachMovie("text_answerResponse02b", "text_answerResponse02b", 100);
_local19._x = 275;
_local19._y = 129;
}
} else if (questionAsked == 6) {
if (theAnswer == 1) {
var _local22 = attachMovie("text_answerResponse02a", "text_answerResponse02a", 100);
_local22._x = 275;
_local22._y = 129;
} else {
var _local19 = attachMovie("text_answerResponse02b", "text_answerResponse02b", 100);
_local19._x = 275;
_local19._y = 129;
}
} else if (questionAsked == 7) {
if (theAnswer == 1) {
var _local43 = attachMovie("text_answerResponse06a", "text_answerResponse06a", 100);
_local43._x = 275;
_local43._y = 129;
} else {
var _local37 = attachMovie("text_answerResponse06b", "text_answerResponse06b", 100);
_local37._x = 275;
_local37._y = 129;
}
} else if (questionAsked == 8) {
if (theAnswer == 1) {
var _local22 = attachMovie("text_answerResponse02a", "text_answerResponse02a", 100);
_local22._x = 275;
_local22._y = 129;
} else {
var _local19 = attachMovie("text_answerResponse02b", "text_answerResponse02b", 100);
_local19._x = 275;
_local19._y = 129;
}
} else if (questionAsked == 9) {
if (theAnswer == 1) {
var _local22 = attachMovie("text_answerResponse02a", "text_answerResponse02a", 100);
_local22._x = 275;
_local22._y = 129;
} else {
var _local19 = attachMovie("text_answerResponse02b", "text_answerResponse02b", 100);
_local19._x = 275;
_local19._y = 129;
}
} else if (questionAsked == 10) {
if (theAnswer == 1) {
var _local49 = attachMovie("text_answerResponse07a", "text_answerResponse07a", 100);
_local49._x = 275;
_local49._y = 129;
} else {
var _local44 = attachMovie("text_answerResponse07b", "text_answerResponse07b", 100);
_local44._x = 275;
_local44._y = 129;
}
} else if (questionAsked == 11) {
if (theAnswer == 1) {
var _local6 = attachMovie("text_answerResponse08a", "text_answerResponse08a", 100);
_local6._x = 275;
_local6._y = 129;
} else {
var _local4 = attachMovie("text_answerResponse08b", "text_answerResponse08b", 100);
_local4._x = 275;
_local4._y = 129;
}
} else if (questionAsked == 12) {
if (theAnswer == 1) {
var _local9 = attachMovie("text_answerResponse09a", "text_answerResponse09a", 100);
_local9._x = 275;
_local9._y = 129;
} else {
var _local7 = attachMovie("text_answerResponse09b", "text_answerResponse09b", 100);
_local7._x = 275;
_local7._y = 129;
}
} else if (questionAsked == 13) {
if (theAnswer == 1) {
var _local15 = attachMovie("text_answerResponse10", "text_answerResponse10", 100);
_local15._x = 275;
_local15._y = 129;
} else {
var _local19 = attachMovie("text_answerResponse02b", "text_answerResponse02b", 100);
_local19._x = 275;
_local19._y = 129;
}
} else if (questionAsked == 14) {
if (theAnswer == 1) {
var _local45 = attachMovie("text_answerResponse11a", "text_answerResponse11a", 100);
_local45._x = 275;
_local45._y = 129;
} else {
var _local38 = attachMovie("text_answerResponse11b", "text_answerResponse11b", 100);
_local38._x = 275;
_local38._y = 129;
}
} else if (questionAsked == 15) {
if (theAnswer == 1) {
var _local22 = attachMovie("text_answerResponse02a", "text_answerResponse02a", 100);
_local22._x = 275;
_local22._y = 129;
} else {
var _local19 = attachMovie("text_answerResponse02b", "text_answerResponse02b", 100);
_local19._x = 275;
_local19._y = 129;
}
}
} else {
var _local3 = random(4) + 1;
if (_local3 == 1) {
var _local10 = attachMovie("text_denial01", "text_denial01", 100);
_local10._x = 275;
_local10._y = 129;
} else if (_local3 == 2) {
var _local55 = attachMovie("text_denial02", "text_denial02", 100);
_local55._x = 275;
_local55._y = 129;
} else if (_local3 == 3) {
var _local5 = attachMovie("text_denial03", "text_denial03", 100);
_local5._x = 275;
_local5._y = 129;
} else if (_local3 == 4) {
var _local52 = attachMovie("text_denial04", "text_denial04", 100);
_local52._x = 275;
_local52._y = 129;
}
}
} else if (clerkConversation == 5) {
_global.clerkConversation++;
_global.clerkTalking = false;
var _local36 = _root.text_answerResponse01a;
_local36.swapDepths(10);
_local36.removeMovieClip();
var _local32 = _root.text_answerResponse01b;
_local32.swapDepths(10);
_local32.removeMovieClip();
var _local22 = _root.text_answerResponse02a;
_local22.swapDepths(10);
_local22.removeMovieClip();
var _local19 = _root.text_answerResponse02b;
_local19.swapDepths(10);
_local19.removeMovieClip();
var _local28 = _root.text_answerResponse03a;
_local28.swapDepths(10);
_local28.removeMovieClip();
var _local23 = _root.text_answerResponse03b;
_local23.swapDepths(10);
_local23.removeMovieClip();
var _local51 = _root.text_answerResponse04a;
_local51.swapDepths(10);
_local51.removeMovieClip();
var _local48 = _root.text_answerResponse04b;
_local48.swapDepths(10);
_local48.removeMovieClip();
var _local8 = _root.text_answerResponse05;
_local8.swapDepths(10);
_local8.removeMovieClip();
var _local43 = _root.text_answerResponse06a;
_local43.swapDepths(10);
_local43.removeMovieClip();
var _local37 = _root.text_answerResponse06b;
_local37.swapDepths(10);
_local37.removeMovieClip();
var _local49 = _root.text_answerResponse07a;
_local49.swapDepths(10);
_local49.removeMovieClip();
var _local44 = _root.text_answerResponse07b;
_local44.swapDepths(10);
_local44.removeMovieClip();
var _local6 = _root.text_answerResponse08a;
_local6.swapDepths(10);
_local6.removeMovieClip();
var _local4 = _root.text_answerResponse08b;
_local4.swapDepths(10);
_local4.removeMovieClip();
var _local9 = _root.text_answerResponse09a;
_local9.swapDepths(10);
_local9.removeMovieClip();
var _local7 = _root.text_answerResponse09b;
_local7.swapDepths(10);
_local7.removeMovieClip();
var _local15 = _root.text_answerResponse10;
_local15.swapDepths(10);
_local15.removeMovieClip();
var _local45 = _root.text_answerResponse11a;
_local45.swapDepths(10);
_local45.removeMovieClip();
var _local38 = _root.text_answerResponse11b;
_local38.swapDepths(10);
_local38.removeMovieClip();
var _local10 = _root.text_denial01;
_local10.swapDepths(10);
_local10.removeMovieClip();
var _local55 = _root.text_denial02;
_local55.swapDepths(10);
_local55.removeMovieClip();
var _local5 = _root.text_denial03;
_local5.swapDepths(10);
_local5.removeMovieClip();
var _local52 = _root.text_denial04;
_local52.swapDepths(10);
_local52.removeMovieClip();
var _local39 = attachMovie("text_endQuestioning01", "text_endQuestioning01", 100);
_local39._x = 133;
_local39._y = 334;
} else if (clerkConversation == 6) {
_global.clerkConversation++;
_global.clerkTalking = true;
var _local39 = _root.text_endQuestioning01;
_local39.swapDepths(10);
_local39.removeMovieClip();
var _local3 = random(3) + 1;
if (_local3 == 1) {
var _local33 = attachMovie("text_endQuestioning02a", "text_endQuestioning02a", 100);
_local33._x = 275;
_local33._y = 129;
} else if (_local3 == 2) {
var _local40 = attachMovie("text_endQuestioning02b", "text_endQuestioning02b", 100);
_local40._x = 275;
_local40._y = 129;
} else if (_local3 == 3) {
var _local46 = attachMovie("text_endQuestioning02c", "text_endQuestioning02c", 100);
_local46._x = 275;
_local46._y = 129;
}
} else if (clerkConversation == 7) {
var _local33 = _root.text_endQuestioning02a;
_local33.swapDepths(10);
_local33.removeMovieClip();
var _local40 = _root.text_endQuestioning02b;
_local40.swapDepths(10);
_local40.removeMovieClip();
var _local46 = _root.text_endQuestioning02c;
_local46.swapDepths(10);
_local46.removeMovieClip();
_root.groceryStore01.stop("groceryStore01");
gotoAndStop ("overheadMap");
}
};
stop();
Frame 309
function init() {
_global.butcherArrived = false;
_global.butcherConversation = 0;
if (whoKnows == 3) {
butcher.gotoAndStop("reading");
}
butcherShop01 = new Sound();
butcherShop01.attachSound("butcherShop01");
butcherShop01.start(0, 999);
}
init();
onEnterFrame = function () {
if (butcherArrived and (butcherConversation == 0)) {
_global.butcherConversation++;
_global.butcherTalking = true;
var _local2 = random(4) + 1;
if (_local2 == 1) {
var _local6 = attachMovie("text_greeting01", "text_greeting01", 100);
_local6._x = 101;
_local6._y = 129;
} else if (_local2 == 2) {
var _local5 = attachMovie("text_greeting02", "text_greeting02", 100);
_local5._x = 101;
_local5._y = 129;
} else if (_local2 == 3) {
var _local4 = attachMovie("text_greeting03", "text_greeting03", 100);
_local4._x = 101;
_local4._y = 129;
} else if (_local2 == 4) {
var _local3 = attachMovie("text_greeting04", "text_greeting04", 100);
_local3._x = 101;
_local3._y = 129;
}
}
};
clickNext.onRelease = function () {
if (butcherConversation == 1) {
_global.butcherConversation++;
_global.butcherTalking = false;
var _local54 = _root.text_greeting01;
_local54.swapDepths(10);
_local54.removeMovieClip();
var _local53 = _root.text_greeting02;
_local53.swapDepths(10);
_local53.removeMovieClip();
var _local50 = _root.text_greeting03;
_local50.swapDepths(10);
_local50.removeMovieClip();
var _local11 = _root.text_greeting04;
_local11.swapDepths(10);
_local11.removeMovieClip();
var _local24 = attachMovie("text_beginQuestioning01", "text_beginQuestioning01", 100);
_local24._x = 133;
_local24._y = 334;
} else if (butcherConversation == 2) {
_global.butcherConversation++;
_global.butcherTalking = true;
var _local24 = _root.text_beginQuestioning01;
_local24.swapDepths(10);
_local24.removeMovieClip();
var _local3 = random(4) + 1;
if (_local3 == 1) {
var _local41 = attachMovie("text_beginQuestioning02a", "text_beginQuestioning02a", 100);
_local41._x = 101;
_local41._y = 129;
} else if (_local3 == 2) {
var _local25 = attachMovie("text_beginQuestioning02b", "text_beginQuestioning02b", 100);
_local25._x = 101;
_local25._y = 129;
} else if (_local3 == 3) {
var _local29 = attachMovie("text_beginQuestioning02c", "text_beginQuestioning02c", 100);
_local29._x = 101;
_local29._y = 129;
} else if (_local3 == 4) {
var _local16 = attachMovie("text_beginQuestioning02d", "text_beginQuestioning02d", 100);
_local16._x = 101;
_local16._y = 129;
}
} else if (butcherConversation == 3) {
_global.butcherConversation++;
_global.butcherTalking = false;
var _local41 = _root.text_beginQuestioning02a;
_local41.swapDepths(10);
_local41.removeMovieClip();
var _local25 = _root.text_beginQuestioning02b;
_local25.swapDepths(10);
_local25.removeMovieClip();
var _local29 = _root.text_beginQuestioning02c;
_local29.swapDepths(10);
_local29.removeMovieClip();
var _local16 = _root.text_beginQuestioning02d;
_local16.swapDepths(10);
_local16.removeMovieClip();
if (questionAsked == 1) {
var _local47 = attachMovie("text_myQuestion01", "text_myQuestion01", 100);
_local47._x = 133;
_local47._y = 334;
} else if (questionAsked == 2) {
var _local30 = attachMovie("text_myQuestion02", "text_myQuestion02", 100);
_local30._x = 133;
_local30._y = 334;
} else if (questionAsked == 3) {
var _local34 = attachMovie("text_myQuestion03", "text_myQuestion03", 100);
_local34._x = 133;
_local34._y = 334;
} else if (questionAsked == 4) {
var _local20 = attachMovie("text_myQuestion04", "text_myQuestion04", 100);
_local20._x = 133;
_local20._y = 334;
} else if (questionAsked == 5) {
var _local26 = attachMovie("text_myQuestion05", "text_myQuestion05", 100);
_local26._x = 133;
_local26._y = 334;
} else if (questionAsked == 6) {
var _local14 = attachMovie("text_myQuestion06", "text_myQuestion06", 100);
_local14._x = 133;
_local14._y = 334;
} else if (questionAsked == 7) {
var _local17 = attachMovie("text_myQuestion07", "text_myQuestion07", 100);
_local17._x = 133;
_local17._y = 334;
} else if (questionAsked == 8) {
var _local12 = attachMovie("text_myQuestion08", "text_myQuestion08", 100);
_local12._x = 133;
_local12._y = 334;
} else if (questionAsked == 9) {
var _local13 = attachMovie("text_myQuestion09", "text_myQuestion09", 100);
_local13._x = 133;
_local13._y = 334;
} else if (questionAsked == 10) {
var _local35 = attachMovie("text_myQuestion10", "text_myQuestion10", 100);
_local35._x = 133;
_local35._y = 334;
} else if (questionAsked == 11) {
var _local42 = attachMovie("text_myQuestion11", "text_myQuestion11", 100);
_local42._x = 133;
_local42._y = 334;
} else if (questionAsked == 12) {
var _local27 = attachMovie("text_myQuestion12", "text_myQuestion12", 100);
_local27._x = 133;
_local27._y = 334;
} else if (questionAsked == 13) {
var _local31 = attachMovie("text_myQuestion13", "text_myQuestion13", 100);
_local31._x = 133;
_local31._y = 334;
} else if (questionAsked == 14) {
var _local18 = attachMovie("text_myQuestion14", "text_myQuestion14", 100);
_local18._x = 133;
_local18._y = 334;
} else if (questionAsked == 15) {
var _local21 = attachMovie("text_myQuestion15", "text_myQuestion15", 100);
_local21._x = 133;
_local21._y = 334;
}
} else if (butcherConversation == 4) {
_global.butcherConversation++;
_global.butcherTalking = true;
var _local47 = _root.text_myQuestion01;
_local47.swapDepths(10);
_local47.removeMovieClip();
var _local30 = _root.text_myQuestion02;
_local30.swapDepths(10);
_local30.removeMovieClip();
var _local34 = _root.text_myQuestion03;
_local34.swapDepths(10);
_local34.removeMovieClip();
var _local20 = _root.text_myQuestion04;
_local20.swapDepths(10);
_local20.removeMovieClip();
var _local26 = _root.text_myQuestion05;
_local26.swapDepths(10);
_local26.removeMovieClip();
var _local14 = _root.text_myQuestion06;
_local14.swapDepths(10);
_local14.removeMovieClip();
var _local17 = _root.text_myQuestion07;
_local17.swapDepths(10);
_local17.removeMovieClip();
var _local12 = _root.text_myQuestion08;
_local12.swapDepths(10);
_local12.removeMovieClip();
var _local13 = _root.text_myQuestion09;
_local13.swapDepths(10);
_local13.removeMovieClip();
var _local35 = _root.text_myQuestion10;
_local35.swapDepths(10);
_local35.removeMovieClip();
var _local42 = _root.text_myQuestion11;
_local42.swapDepths(10);
_local42.removeMovieClip();
var _local27 = _root.text_myQuestion12;
_local27.swapDepths(10);
_local27.removeMovieClip();
var _local31 = _root.text_myQuestion13;
_local31.swapDepths(10);
_local31.removeMovieClip();
var _local18 = _root.text_myQuestion14;
_local18.swapDepths(10);
_local18.removeMovieClip();
var _local21 = _root.text_myQuestion15;
_local21.swapDepths(10);
_local21.removeMovieClip();
if (whoKnows == 3) {
_global.questionAnswered = true;
_global.theAnswer = random(2) + 1;
if (questionAsked == 1) {
if (theAnswer == 1) {
var _local36 = attachMovie("text_answerResponse01a", "text_answerResponse01a", 100);
_local36._x = 101;
_local36._y = 129;
} else {
var _local32 = attachMovie("text_answerResponse01b", "text_answerResponse01b", 100);
_local32._x = 101;
_local32._y = 129;
}
} else if (questionAsked == 2) {
if (theAnswer == 1) {
var _local22 = attachMovie("text_answerResponse02a", "text_answerResponse02a", 100);
_local22._x = 101;
_local22._y = 129;
} else {
var _local19 = attachMovie("text_answerResponse02b", "text_answerResponse02b", 100);
_local19._x = 101;
_local19._y = 129;
}
} else if (questionAsked == 3) {
if (theAnswer == 1) {
var _local28 = attachMovie("text_answerResponse03a", "text_answerResponse03a", 100);
_local28._x = 101;
_local28._y = 129;
} else {
var _local23 = attachMovie("text_answerResponse03b", "text_answerResponse03b", 100);
_local23._x = 101;
_local23._y = 129;
}
} else if (questionAsked == 4) {
if (theAnswer == 1) {
var _local51 = attachMovie("text_answerResponse04a", "text_answerResponse04a", 100);
_local51._x = 101;
_local51._y = 129;
} else {
var _local48 = attachMovie("text_answerResponse04b", "text_answerResponse04b", 100);
_local48._x = 101;
_local48._y = 129;
}
} else if (questionAsked == 5) {
if (theAnswer == 1) {
var _local8 = attachMovie("text_answerResponse05", "text_answerResponse05", 100);
_local8._x = 101;
_local8._y = 129;
} else {
var _local19 = attachMovie("text_answerResponse02b", "text_answerResponse02b", 100);
_local19._x = 101;
_local19._y = 129;
}
} else if (questionAsked == 6) {
if (theAnswer == 1) {
var _local22 = attachMovie("text_answerResponse02a", "text_answerResponse02a", 100);
_local22._x = 101;
_local22._y = 129;
} else {
var _local19 = attachMovie("text_answerResponse02b", "text_answerResponse02b", 100);
_local19._x = 101;
_local19._y = 129;
}
} else if (questionAsked == 7) {
if (theAnswer == 1) {
var _local43 = attachMovie("text_answerResponse06a", "text_answerResponse06a", 100);
_local43._x = 101;
_local43._y = 129;
} else {
var _local37 = attachMovie("text_answerResponse06b", "text_answerResponse06b", 100);
_local37._x = 101;
_local37._y = 129;
}
} else if (questionAsked == 8) {
if (theAnswer == 1) {
var _local22 = attachMovie("text_answerResponse02a", "text_answerResponse02a", 100);
_local22._x = 101;
_local22._y = 129;
} else {
var _local19 = attachMovie("text_answerResponse02b", "text_answerResponse02b", 100);
_local19._x = 101;
_local19._y = 129;
}
} else if (questionAsked == 9) {
if (theAnswer == 1) {
var _local22 = attachMovie("text_answerResponse02a", "text_answerResponse02a", 100);
_local22._x = 101;
_local22._y = 129;
} else {
var _local19 = attachMovie("text_answerResponse02b", "text_answerResponse02b", 100);
_local19._x = 101;
_local19._y = 129;
}
} else if (questionAsked == 10) {
if (theAnswer == 1) {
var _local49 = attachMovie("text_answerResponse07a", "text_answerResponse07a", 100);
_local49._x = 101;
_local49._y = 129;
} else {
var _local44 = attachMovie("text_answerResponse07b", "text_answerResponse07b", 100);
_local44._x = 101;
_local44._y = 129;
}
} else if (questionAsked == 11) {
if (theAnswer == 1) {
var _local6 = attachMovie("text_answerResponse08a", "text_answerResponse08a", 100);
_local6._x = 101;
_local6._y = 129;
} else {
var _local4 = attachMovie("text_answerResponse08b", "text_answerResponse08b", 100);
_local4._x = 101;
_local4._y = 129;
}
} else if (questionAsked == 12) {
if (theAnswer == 1) {
var _local9 = attachMovie("text_answerResponse09a", "text_answerResponse09a", 100);
_local9._x = 101;
_local9._y = 129;
} else {
var _local7 = attachMovie("text_answerResponse09b", "text_answerResponse09b", 100);
_local7._x = 101;
_local7._y = 129;
}
} else if (questionAsked == 13) {
if (theAnswer == 1) {
var _local15 = attachMovie("text_answerResponse10", "text_answerResponse10", 100);
_local15._x = 101;
_local15._y = 129;
} else {
var _local19 = attachMovie("text_answerResponse02b", "text_answerResponse02b", 100);
_local19._x = 101;
_local19._y = 129;
}
} else if (questionAsked == 14) {
if (theAnswer == 1) {
var _local45 = attachMovie("text_answerResponse11a", "text_answerResponse11a", 100);
_local45._x = 101;
_local45._y = 129;
} else {
var _local38 = attachMovie("text_answerResponse11b", "text_answerResponse11b", 100);
_local38._x = 101;
_local38._y = 129;
}
} else if (questionAsked == 15) {
if (theAnswer == 1) {
var _local22 = attachMovie("text_answerResponse02a", "text_answerResponse02a", 100);
_local22._x = 101;
_local22._y = 129;
} else {
var _local19 = attachMovie("text_answerResponse02b", "text_answerResponse02b", 100);
_local19._x = 101;
_local19._y = 129;
}
}
} else {
var _local3 = random(4) + 1;
if (_local3 == 1) {
var _local10 = attachMovie("text_denial01", "text_denial01", 100);
_local10._x = 101;
_local10._y = 129;
} else if (_local3 == 2) {
var _local55 = attachMovie("text_denial02", "text_denial02", 100);
_local55._x = 101;
_local55._y = 129;
} else if (_local3 == 3) {
var _local5 = attachMovie("text_denial03", "text_denial03", 100);
_local5._x = 101;
_local5._y = 129;
} else if (_local3 == 4) {
var _local52 = attachMovie("text_denial04", "text_denial04", 100);
_local52._x = 101;
_local52._y = 129;
}
}
} else if (butcherConversation == 5) {
_global.butcherConversation++;
_global.butcherTalking = false;
var _local36 = _root.text_answerResponse01a;
_local36.swapDepths(10);
_local36.removeMovieClip();
var _local32 = _root.text_answerResponse01b;
_local32.swapDepths(10);
_local32.removeMovieClip();
var _local22 = _root.text_answerResponse02a;
_local22.swapDepths(10);
_local22.removeMovieClip();
var _local19 = _root.text_answerResponse02b;
_local19.swapDepths(10);
_local19.removeMovieClip();
var _local28 = _root.text_answerResponse03a;
_local28.swapDepths(10);
_local28.removeMovieClip();
var _local23 = _root.text_answerResponse03b;
_local23.swapDepths(10);
_local23.removeMovieClip();
var _local51 = _root.text_answerResponse04a;
_local51.swapDepths(10);
_local51.removeMovieClip();
var _local48 = _root.text_answerResponse04b;
_local48.swapDepths(10);
_local48.removeMovieClip();
var _local8 = _root.text_answerResponse05;
_local8.swapDepths(10);
_local8.removeMovieClip();
var _local43 = _root.text_answerResponse06a;
_local43.swapDepths(10);
_local43.removeMovieClip();
var _local37 = _root.text_answerResponse06b;
_local37.swapDepths(10);
_local37.removeMovieClip();
var _local49 = _root.text_answerResponse07a;
_local49.swapDepths(10);
_local49.removeMovieClip();
var _local44 = _root.text_answerResponse07b;
_local44.swapDepths(10);
_local44.removeMovieClip();
var _local6 = _root.text_answerResponse08a;
_local6.swapDepths(10);
_local6.removeMovieClip();
var _local4 = _root.text_answerResponse08b;
_local4.swapDepths(10);
_local4.removeMovieClip();
var _local9 = _root.text_answerResponse09a;
_local9.swapDepths(10);
_local9.removeMovieClip();
var _local7 = _root.text_answerResponse09b;
_local7.swapDepths(10);
_local7.removeMovieClip();
var _local15 = _root.text_answerResponse10;
_local15.swapDepths(10);
_local15.removeMovieClip();
var _local45 = _root.text_answerResponse11a;
_local45.swapDepths(10);
_local45.removeMovieClip();
var _local38 = _root.text_answerResponse11b;
_local38.swapDepths(10);
_local38.removeMovieClip();
var _local10 = _root.text_denial01;
_local10.swapDepths(10);
_local10.removeMovieClip();
var _local55 = _root.text_denial02;
_local55.swapDepths(10);
_local55.removeMovieClip();
var _local5 = _root.text_denial03;
_local5.swapDepths(10);
_local5.removeMovieClip();
var _local52 = _root.text_denial04;
_local52.swapDepths(10);
_local52.removeMovieClip();
var _local39 = attachMovie("text_endQuestioning01", "text_endQuestioning01", 100);
_local39._x = 133;
_local39._y = 334;
} else if (butcherConversation == 6) {
_global.butcherConversation++;
_global.butcherTalking = true;
var _local39 = _root.text_endQuestioning01;
_local39.swapDepths(10);
_local39.removeMovieClip();
var _local3 = random(3) + 1;
if (_local3 == 1) {
var _local33 = attachMovie("text_endQuestioning02a", "text_endQuestioning02a", 100);
_local33._x = 101;
_local33._y = 129;
} else if (_local3 == 2) {
var _local40 = attachMovie("text_endQuestioning02b", "text_endQuestioning02b", 100);
_local40._x = 101;
_local40._y = 129;
} else if (_local3 == 3) {
var _local46 = attachMovie("text_endQuestioning02c", "text_endQuestioning02c", 100);
_local46._x = 101;
_local46._y = 129;
}
} else if (butcherConversation == 7) {
var _local33 = _root.text_endQuestioning02a;
_local33.swapDepths(10);
_local33.removeMovieClip();
var _local40 = _root.text_endQuestioning02b;
_local40.swapDepths(10);
_local40.removeMovieClip();
var _local46 = _root.text_endQuestioning02c;
_local46.swapDepths(10);
_local46.removeMovieClip();
_root.butcherShop01.stop("butcherShop01");
gotoAndStop ("overheadMap");
}
};
stop();
Frame 323
function init() {
_global.hairdresserArrived = false;
_global.hairdresserConversation = 0;
if (whoKnows == 5) {
hairdresser.gotoAndStop("reading");
}
hairSalon01 = new Sound();
hairSalon01.attachSound("hairSalon01");
hairSalon01.start(0, 999);
}
init();
onEnterFrame = function () {
if (hairdresserArrived and (hairdresserConversation == 0)) {
_global.hairdresserConversation++;
_global.hairdresserTalking = true;
var _local2 = random(4) + 1;
if (_local2 == 1) {
var _local6 = attachMovie("text_greeting01", "text_greeting01", 100);
_local6._x = 259;
_local6._y = 229;
} else if (_local2 == 2) {
var _local5 = attachMovie("text_greeting02", "text_greeting02", 100);
_local5._x = 259;
_local5._y = 229;
} else if (_local2 == 3) {
var _local4 = attachMovie("text_greeting03", "text_greeting03", 100);
_local4._x = 259;
_local4._y = 229;
} else if (_local2 == 4) {
var _local3 = attachMovie("text_greeting04", "text_greeting04", 100);
_local3._x = 259;
_local3._y = 229;
}
}
};
clickNext.onRelease = function () {
if (hairdresserConversation == 1) {
_global.hairdresserConversation++;
_global.hairdresserTalking = false;
var _local54 = _root.text_greeting01;
_local54.swapDepths(10);
_local54.removeMovieClip();
var _local53 = _root.text_greeting02;
_local53.swapDepths(10);
_local53.removeMovieClip();
var _local50 = _root.text_greeting03;
_local50.swapDepths(10);
_local50.removeMovieClip();
var _local11 = _root.text_greeting04;
_local11.swapDepths(10);
_local11.removeMovieClip();
var _local24 = attachMovie("text_beginQuestioning01", "text_beginQuestioning01", 100);
_local24._x = 133;
_local24._y = 334;
} else if (hairdresserConversation == 2) {
_global.hairdresserConversation++;
_global.hairdresserTalking = true;
var _local24 = _root.text_beginQuestioning01;
_local24.swapDepths(10);
_local24.removeMovieClip();
var _local3 = random(4) + 1;
if (_local3 == 1) {
var _local41 = attachMovie("text_beginQuestioning02a", "text_beginQuestioning02a", 100);
_local41._x = 225;
_local41._y = 229;
} else if (_local3 == 2) {
var _local25 = attachMovie("text_beginQuestioning02b", "text_beginQuestioning02b", 100);
_local25._x = 225;
_local25._y = 229;
} else if (_local3 == 3) {
var _local29 = attachMovie("text_beginQuestioning02c", "text_beginQuestioning02c", 100);
_local29._x = 225;
_local29._y = 229;
} else if (_local3 == 4) {
var _local16 = attachMovie("text_beginQuestioning02d", "text_beginQuestioning02d", 100);
_local16._x = 225;
_local16._y = 229;
}
} else if (hairdresserConversation == 3) {
_global.hairdresserConversation++;
_global.hairdresserTalking = false;
var _local41 = _root.text_beginQuestioning02a;
_local41.swapDepths(10);
_local41.removeMovieClip();
var _local25 = _root.text_beginQuestioning02b;
_local25.swapDepths(10);
_local25.removeMovieClip();
var _local29 = _root.text_beginQuestioning02c;
_local29.swapDepths(10);
_local29.removeMovieClip();
var _local16 = _root.text_beginQuestioning02d;
_local16.swapDepths(10);
_local16.removeMovieClip();
if (questionAsked == 1) {
var _local47 = attachMovie("text_myQuestion01", "text_myQuestion01", 100);
_local47._x = 133;
_local47._y = 334;
} else if (questionAsked == 2) {
var _local30 = attachMovie("text_myQuestion02", "text_myQuestion02", 100);
_local30._x = 133;
_local30._y = 334;
} else if (questionAsked == 3) {
var _local34 = attachMovie("text_myQuestion03", "text_myQuestion03", 100);
_local34._x = 133;
_local34._y = 334;
} else if (questionAsked == 4) {
var _local20 = attachMovie("text_myQuestion04", "text_myQuestion04", 100);
_local20._x = 133;
_local20._y = 334;
} else if (questionAsked == 5) {
var _local26 = attachMovie("text_myQuestion05", "text_myQuestion05", 100);
_local26._x = 133;
_local26._y = 334;
} else if (questionAsked == 6) {
var _local14 = attachMovie("text_myQuestion06", "text_myQuestion06", 100);
_local14._x = 133;
_local14._y = 334;
} else if (questionAsked == 7) {
var _local17 = attachMovie("text_myQuestion07", "text_myQuestion07", 100);
_local17._x = 133;
_local17._y = 334;
} else if (questionAsked == 8) {
var _local12 = attachMovie("text_myQuestion08", "text_myQuestion08", 100);
_local12._x = 133;
_local12._y = 334;
} else if (questionAsked == 9) {
var _local13 = attachMovie("text_myQuestion09", "text_myQuestion09", 100);
_local13._x = 133;
_local13._y = 334;
} else if (questionAsked == 10) {
var _local35 = attachMovie("text_myQuestion10", "text_myQuestion10", 100);
_local35._x = 133;
_local35._y = 334;
} else if (questionAsked == 11) {
var _local42 = attachMovie("text_myQuestion11", "text_myQuestion11", 100);
_local42._x = 133;
_local42._y = 334;
} else if (questionAsked == 12) {
var _local27 = attachMovie("text_myQuestion12", "text_myQuestion12", 100);
_local27._x = 133;
_local27._y = 334;
} else if (questionAsked == 13) {
var _local31 = attachMovie("text_myQuestion13", "text_myQuestion13", 100);
_local31._x = 133;
_local31._y = 334;
} else if (questionAsked == 14) {
var _local18 = attachMovie("text_myQuestion14", "text_myQuestion14", 100);
_local18._x = 133;
_local18._y = 334;
} else if (questionAsked == 15) {
var _local21 = attachMovie("text_myQuestion15", "text_myQuestion15", 100);
_local21._x = 133;
_local21._y = 334;
}
} else if (hairdresserConversation == 4) {
_global.hairdresserConversation++;
_global.hairdresserTalking = true;
var _local47 = _root.text_myQuestion01;
_local47.swapDepths(10);
_local47.removeMovieClip();
var _local30 = _root.text_myQuestion02;
_local30.swapDepths(10);
_local30.removeMovieClip();
var _local34 = _root.text_myQuestion03;
_local34.swapDepths(10);
_local34.removeMovieClip();
var _local20 = _root.text_myQuestion04;
_local20.swapDepths(10);
_local20.removeMovieClip();
var _local26 = _root.text_myQuestion05;
_local26.swapDepths(10);
_local26.removeMovieClip();
var _local14 = _root.text_myQuestion06;
_local14.swapDepths(10);
_local14.removeMovieClip();
var _local17 = _root.text_myQuestion07;
_local17.swapDepths(10);
_local17.removeMovieClip();
var _local12 = _root.text_myQuestion08;
_local12.swapDepths(10);
_local12.removeMovieClip();
var _local13 = _root.text_myQuestion09;
_local13.swapDepths(10);
_local13.removeMovieClip();
var _local35 = _root.text_myQuestion10;
_local35.swapDepths(10);
_local35.removeMovieClip();
var _local42 = _root.text_myQuestion11;
_local42.swapDepths(10);
_local42.removeMovieClip();
var _local27 = _root.text_myQuestion12;
_local27.swapDepths(10);
_local27.removeMovieClip();
var _local31 = _root.text_myQuestion13;
_local31.swapDepths(10);
_local31.removeMovieClip();
var _local18 = _root.text_myQuestion14;
_local18.swapDepths(10);
_local18.removeMovieClip();
var _local21 = _root.text_myQuestion15;
_local21.swapDepths(10);
_local21.removeMovieClip();
if (whoKnows == 5) {
_global.questionAnswered = true;
_global.theAnswer = random(2) + 1;
if (questionAsked == 1) {
if (theAnswer == 1) {
var _local36 = attachMovie("text_answerResponse01a", "text_answerResponse01a", 100);
_local36._x = 225;
_local36._y = 229;
} else {
var _local32 = attachMovie("text_answerResponse01b", "text_answerResponse01b", 100);
_local32._x = 225;
_local32._y = 229;
}
} else if (questionAsked == 2) {
if (theAnswer == 1) {
var _local22 = attachMovie("text_answerResponse02a", "text_answerResponse02a", 100);
_local22._x = 225;
_local22._y = 229;
} else {
var _local19 = attachMovie("text_answerResponse02b", "text_answerResponse02b", 100);
_local19._x = 225;
_local19._y = 229;
}
} else if (questionAsked == 3) {
if (theAnswer == 1) {
var _local28 = attachMovie("text_answerResponse03a", "text_answerResponse03a", 100);
_local28._x = 225;
_local28._y = 229;
} else {
var _local23 = attachMovie("text_answerResponse03b", "text_answerResponse03b", 100);
_local23._x = 225;
_local23._y = 229;
}
} else if (questionAsked == 4) {
if (theAnswer == 1) {
var _local51 = attachMovie("text_answerResponse04a", "text_answerResponse04a", 100);
_local51._x = 225;
_local51._y = 229;
} else {
var _local48 = attachMovie("text_answerResponse04b", "text_answerResponse04b", 100);
_local48._x = 225;
_local48._y = 229;
}
} else if (questionAsked == 5) {
if (theAnswer == 1) {
var _local8 = attachMovie("text_answerResponse05", "text_answerResponse05", 100);
_local8._x = 225;
_local8._y = 229;
} else {
var _local19 = attachMovie("text_answerResponse02b", "text_answerResponse02b", 100);
_local19._x = 225;
_local19._y = 229;
}
} else if (questionAsked == 6) {
if (theAnswer == 1) {
var _local22 = attachMovie("text_answerResponse02a", "text_answerResponse02a", 100);
_local22._x = 225;
_local22._y = 229;
} else {
var _local19 = attachMovie("text_answerResponse02b", "text_answerResponse02b", 100);
_local19._x = 225;
_local19._y = 229;
}
} else if (questionAsked == 7) {
if (theAnswer == 1) {
var _local43 = attachMovie("text_answerResponse06a", "text_answerResponse06a", 100);
_local43._x = 225;
_local43._y = 229;
} else {
var _local37 = attachMovie("text_answerResponse06b", "text_answerResponse06b", 100);
_local37._x = 225;
_local37._y = 229;
}
} else if (questionAsked == 8) {
if (theAnswer == 1) {
var _local22 = attachMovie("text_answerResponse02a", "text_answerResponse02a", 100);
_local22._x = 225;
_local22._y = 229;
} else {
var _local19 = attachMovie("text_answerResponse02b", "text_answerResponse02b", 100);
_local19._x = 225;
_local19._y = 229;
}
} else if (questionAsked == 9) {
if (theAnswer == 1) {
var _local22 = attachMovie("text_answerResponse02a", "text_answerResponse02a", 100);
_local22._x = 225;
_local22._y = 229;
} else {
var _local19 = attachMovie("text_answerResponse02b", "text_answerResponse02b", 100);
_local19._x = 225;
_local19._y = 229;
}
} else if (questionAsked == 10) {
if (theAnswer == 1) {
var _local49 = attachMovie("text_answerResponse07a", "text_answerResponse07a", 100);
_local49._x = 225;
_local49._y = 229;
} else {
var _local44 = attachMovie("text_answerResponse07b", "text_answerResponse07b", 100);
_local44._x = 225;
_local44._y = 229;
}
} else if (questionAsked == 11) {
if (theAnswer == 1) {
var _local6 = attachMovie("text_answerResponse08a", "text_answerResponse08a", 100);
_local6._x = 225;
_local6._y = 229;
} else {
var _local4 = attachMovie("text_answerResponse08b", "text_answerResponse08b", 100);
_local4._x = 225;
_local4._y = 229;
}
} else if (questionAsked == 12) {
if (theAnswer == 1) {
var _local9 = attachMovie("text_answerResponse09a", "text_answerResponse09a", 100);
_local9._x = 225;
_local9._y = 229;
} else {
var _local7 = attachMovie("text_answerResponse09b", "text_answerResponse09b", 100);
_local7._x = 225;
_local7._y = 229;
}
} else if (questionAsked == 13) {
if (theAnswer == 1) {
var _local15 = attachMovie("text_answerResponse10", "text_answerResponse10", 100);
_local15._x = 225;
_local15._y = 229;
} else {
var _local19 = attachMovie("text_answerResponse02b", "text_answerResponse02b", 100);
_local19._x = 225;
_local19._y = 229;
}
} else if (questionAsked == 14) {
if (theAnswer == 1) {
var _local45 = attachMovie("text_answerResponse11a", "text_answerResponse11a", 100);
_local45._x = 225;
_local45._y = 229;
} else {
var _local38 = attachMovie("text_answerResponse11b", "text_answerResponse11b", 100);
_local38._x = 225;
_local38._y = 229;
}
} else if (questionAsked == 15) {
if (theAnswer == 1) {
var _local22 = attachMovie("text_answerResponse02a", "text_answerResponse02a", 100);
_local22._x = 225;
_local22._y = 229;
} else {
var _local19 = attachMovie("text_answerResponse02b", "text_answerResponse02b", 100);
_local19._x = 225;
_local19._y = 229;
}
}
} else {
var _local3 = random(4) + 1;
if (_local3 == 1) {
var _local10 = attachMovie("text_denial01", "text_denial01", 100);
_local10._x = 225;
_local10._y = 229;
} else if (_local3 == 2) {
var _local55 = attachMovie("text_denial02", "text_denial02", 100);
_local55._x = 225;
_local55._y = 229;
} else if (_local3 == 3) {
var _local5 = attachMovie("text_denial03", "text_denial03", 100);
_local5._x = 225;
_local5._y = 229;
} else if (_local3 == 4) {
var _local52 = attachMovie("text_denial04", "text_denial04", 100);
_local52._x = 225;
_local52._y = 229;
}
}
} else if (hairdresserConversation == 5) {
_global.hairdresserConversation++;
_global.hairdresserTalking = false;
var _local36 = _root.text_answerResponse01a;
_local36.swapDepths(10);
_local36.removeMovieClip();
var _local32 = _root.text_answerResponse01b;
_local32.swapDepths(10);
_local32.removeMovieClip();
var _local22 = _root.text_answerResponse02a;
_local22.swapDepths(10);
_local22.removeMovieClip();
var _local19 = _root.text_answerResponse02b;
_local19.swapDepths(10);
_local19.removeMovieClip();
var _local28 = _root.text_answerResponse03a;
_local28.swapDepths(10);
_local28.removeMovieClip();
var _local23 = _root.text_answerResponse03b;
_local23.swapDepths(10);
_local23.removeMovieClip();
var _local51 = _root.text_answerResponse04a;
_local51.swapDepths(10);
_local51.removeMovieClip();
var _local48 = _root.text_answerResponse04b;
_local48.swapDepths(10);
_local48.removeMovieClip();
var _local8 = _root.text_answerResponse05;
_local8.swapDepths(10);
_local8.removeMovieClip();
var _local43 = _root.text_answerResponse06a;
_local43.swapDepths(10);
_local43.removeMovieClip();
var _local37 = _root.text_answerResponse06b;
_local37.swapDepths(10);
_local37.removeMovieClip();
var _local49 = _root.text_answerResponse07a;
_local49.swapDepths(10);
_local49.removeMovieClip();
var _local44 = _root.text_answerResponse07b;
_local44.swapDepths(10);
_local44.removeMovieClip();
var _local6 = _root.text_answerResponse08a;
_local6.swapDepths(10);
_local6.removeMovieClip();
var _local4 = _root.text_answerResponse08b;
_local4.swapDepths(10);
_local4.removeMovieClip();
var _local9 = _root.text_answerResponse09a;
_local9.swapDepths(10);
_local9.removeMovieClip();
var _local7 = _root.text_answerResponse09b;
_local7.swapDepths(10);
_local7.removeMovieClip();
var _local15 = _root.text_answerResponse10;
_local15.swapDepths(10);
_local15.removeMovieClip();
var _local45 = _root.text_answerResponse11a;
_local45.swapDepths(10);
_local45.removeMovieClip();
var _local38 = _root.text_answerResponse11b;
_local38.swapDepths(10);
_local38.removeMovieClip();
var _local10 = _root.text_denial01;
_local10.swapDepths(10);
_local10.removeMovieClip();
var _local55 = _root.text_denial02;
_local55.swapDepths(10);
_local55.removeMovieClip();
var _local5 = _root.text_denial03;
_local5.swapDepths(10);
_local5.removeMovieClip();
var _local52 = _root.text_denial04;
_local52.swapDepths(10);
_local52.removeMovieClip();
var _local39 = attachMovie("text_endQuestioning01", "text_endQuestioning01", 100);
_local39._x = 133;
_local39._y = 334;
} else if (hairdresserConversation == 6) {
_global.hairdresserConversation++;
_global.hairdresserTalking = true;
var _local39 = _root.text_endQuestioning01;
_local39.swapDepths(10);
_local39.removeMovieClip();
var _local3 = random(3) + 1;
if (_local3 == 1) {
var _local33 = attachMovie("text_endQuestioning02a", "text_endQuestioning02a", 100);
_local33._x = 225;
_local33._y = 229;
} else if (_local3 == 2) {
var _local40 = attachMovie("text_endQuestioning02b", "text_endQuestioning02b", 100);
_local40._x = 225;
_local40._y = 229;
} else if (_local3 == 3) {
var _local46 = attachMovie("text_endQuestioning02c", "text_endQuestioning02c", 100);
_local46._x = 225;
_local46._y = 229;
}
} else if (hairdresserConversation == 7) {
var _local33 = _root.text_endQuestioning02a;
_local33.swapDepths(10);
_local33.removeMovieClip();
var _local40 = _root.text_endQuestioning02b;
_local40.swapDepths(10);
_local40.removeMovieClip();
var _local46 = _root.text_endQuestioning02c;
_local46.swapDepths(10);
_local46.removeMovieClip();
_root.hairSalon01.stop("hairSalon01");
gotoAndStop ("overheadMap");
}
};
stop();
Frame 338
function init() {
_global.mechanicArrived = false;
_global.mechanicConversation = 0;
if (whoKnows == 8) {
mechanic.gotoAndStop("reading");
}
mechanic01 = new Sound();
mechanic01.attachSound("mechanic01");
mechanic01.start(0, 999);
}
init();
onEnterFrame = function () {
if (mechanicArrived and (mechanicConversation == 0)) {
_global.mechanicConversation++;
_global.mechanicTalking = true;
var _local2 = random(4) + 1;
if (_local2 == 1) {
var _local6 = attachMovie("text_greeting01", "text_greeting01", 100);
_local6._x = 259;
_local6._y = 229;
} else if (_local2 == 2) {
var _local5 = attachMovie("text_greeting02", "text_greeting02", 100);
_local5._x = 259;
_local5._y = 229;
} else if (_local2 == 3) {
var _local4 = attachMovie("text_greeting03", "text_greeting03", 100);
_local4._x = 259;
_local4._y = 229;
} else if (_local2 == 4) {
var _local3 = attachMovie("text_greeting04", "text_greeting04", 100);
_local3._x = 259;
_local3._y = 229;
}
}
};
clickNext.onRelease = function () {
if (mechanicConversation == 1) {
_global.mechanicConversation++;
_global.mechanicTalking = false;
var _local54 = _root.text_greeting01;
_local54.swapDepths(10);
_local54.removeMovieClip();
var _local53 = _root.text_greeting02;
_local53.swapDepths(10);
_local53.removeMovieClip();
var _local50 = _root.text_greeting03;
_local50.swapDepths(10);
_local50.removeMovieClip();
var _local11 = _root.text_greeting04;
_local11.swapDepths(10);
_local11.removeMovieClip();
var _local24 = attachMovie("text_beginQuestioning01", "text_beginQuestioning01", 100);
_local24._x = 133;
_local24._y = 334;
} else if (mechanicConversation == 2) {
_global.mechanicConversation++;
_global.mechanicTalking = true;
var _local24 = _root.text_beginQuestioning01;
_local24.swapDepths(10);
_local24.removeMovieClip();
var _local3 = random(4) + 1;
if (_local3 == 1) {
var _local41 = attachMovie("text_beginQuestioning02a", "text_beginQuestioning02a", 100);
_local41._x = 225;
_local41._y = 229;
} else if (_local3 == 2) {
var _local25 = attachMovie("text_beginQuestioning02b", "text_beginQuestioning02b", 100);
_local25._x = 225;
_local25._y = 229;
} else if (_local3 == 3) {
var _local29 = attachMovie("text_beginQuestioning02c", "text_beginQuestioning02c", 100);
_local29._x = 225;
_local29._y = 229;
} else if (_local3 == 4) {
var _local16 = attachMovie("text_beginQuestioning02d", "text_beginQuestioning02d", 100);
_local16._x = 225;
_local16._y = 229;
}
} else if (mechanicConversation == 3) {
_global.mechanicConversation++;
_global.mechanicTalking = false;
var _local41 = _root.text_beginQuestioning02a;
_local41.swapDepths(10);
_local41.removeMovieClip();
var _local25 = _root.text_beginQuestioning02b;
_local25.swapDepths(10);
_local25.removeMovieClip();
var _local29 = _root.text_beginQuestioning02c;
_local29.swapDepths(10);
_local29.removeMovieClip();
var _local16 = _root.text_beginQuestioning02d;
_local16.swapDepths(10);
_local16.removeMovieClip();
if (questionAsked == 1) {
var _local47 = attachMovie("text_myQuestion01", "text_myQuestion01", 100);
_local47._x = 133;
_local47._y = 334;
} else if (questionAsked == 2) {
var _local30 = attachMovie("text_myQuestion02", "text_myQuestion02", 100);
_local30._x = 133;
_local30._y = 334;
} else if (questionAsked == 3) {
var _local34 = attachMovie("text_myQuestion03", "text_myQuestion03", 100);
_local34._x = 133;
_local34._y = 334;
} else if (questionAsked == 4) {
var _local20 = attachMovie("text_myQuestion04", "text_myQuestion04", 100);
_local20._x = 133;
_local20._y = 334;
} else if (questionAsked == 5) {
var _local26 = attachMovie("text_myQuestion05", "text_myQuestion05", 100);
_local26._x = 133;
_local26._y = 334;
} else if (questionAsked == 6) {
var _local14 = attachMovie("text_myQuestion06", "text_myQuestion06", 100);
_local14._x = 133;
_local14._y = 334;
} else if (questionAsked == 7) {
var _local17 = attachMovie("text_myQuestion07", "text_myQuestion07", 100);
_local17._x = 133;
_local17._y = 334;
} else if (questionAsked == 8) {
var _local12 = attachMovie("text_myQuestion08", "text_myQuestion08", 100);
_local12._x = 133;
_local12._y = 334;
} else if (questionAsked == 9) {
var _local13 = attachMovie("text_myQuestion09", "text_myQuestion09", 100);
_local13._x = 133;
_local13._y = 334;
} else if (questionAsked == 10) {
var _local35 = attachMovie("text_myQuestion10", "text_myQuestion10", 100);
_local35._x = 133;
_local35._y = 334;
} else if (questionAsked == 11) {
var _local42 = attachMovie("text_myQuestion11", "text_myQuestion11", 100);
_local42._x = 133;
_local42._y = 334;
} else if (questionAsked == 12) {
var _local27 = attachMovie("text_myQuestion12", "text_myQuestion12", 100);
_local27._x = 133;
_local27._y = 334;
} else if (questionAsked == 13) {
var _local31 = attachMovie("text_myQuestion13", "text_myQuestion13", 100);
_local31._x = 133;
_local31._y = 334;
} else if (questionAsked == 14) {
var _local18 = attachMovie("text_myQuestion14", "text_myQuestion14", 100);
_local18._x = 133;
_local18._y = 334;
} else if (questionAsked == 15) {
var _local21 = attachMovie("text_myQuestion15", "text_myQuestion15", 100);
_local21._x = 133;
_local21._y = 334;
}
} else if (mechanicConversation == 4) {
_global.mechanicConversation++;
_global.mechanicTalking = true;
var _local47 = _root.text_myQuestion01;
_local47.swapDepths(10);
_local47.removeMovieClip();
var _local30 = _root.text_myQuestion02;
_local30.swapDepths(10);
_local30.removeMovieClip();
var _local34 = _root.text_myQuestion03;
_local34.swapDepths(10);
_local34.removeMovieClip();
var _local20 = _root.text_myQuestion04;
_local20.swapDepths(10);
_local20.removeMovieClip();
var _local26 = _root.text_myQuestion05;
_local26.swapDepths(10);
_local26.removeMovieClip();
var _local14 = _root.text_myQuestion06;
_local14.swapDepths(10);
_local14.removeMovieClip();
var _local17 = _root.text_myQuestion07;
_local17.swapDepths(10);
_local17.removeMovieClip();
var _local12 = _root.text_myQuestion08;
_local12.swapDepths(10);
_local12.removeMovieClip();
var _local13 = _root.text_myQuestion09;
_local13.swapDepths(10);
_local13.removeMovieClip();
var _local35 = _root.text_myQuestion10;
_local35.swapDepths(10);
_local35.removeMovieClip();
var _local42 = _root.text_myQuestion11;
_local42.swapDepths(10);
_local42.removeMovieClip();
var _local27 = _root.text_myQuestion12;
_local27.swapDepths(10);
_local27.removeMovieClip();
var _local31 = _root.text_myQuestion13;
_local31.swapDepths(10);
_local31.removeMovieClip();
var _local18 = _root.text_myQuestion14;
_local18.swapDepths(10);
_local18.removeMovieClip();
var _local21 = _root.text_myQuestion15;
_local21.swapDepths(10);
_local21.removeMovieClip();
if (whoKnows == 8) {
_global.questionAnswered = true;
_global.theAnswer = random(2) + 1;
if (questionAsked == 1) {
if (theAnswer == 1) {
var _local36 = attachMovie("text_answerResponse01a", "text_answerResponse01a", 100);
_local36._x = 225;
_local36._y = 229;
} else {
var _local32 = attachMovie("text_answerResponse01b", "text_answerResponse01b", 100);
_local32._x = 225;
_local32._y = 229;
}
} else if (questionAsked == 2) {
if (theAnswer == 1) {
var _local22 = attachMovie("text_answerResponse02a", "text_answerResponse02a", 100);
_local22._x = 225;
_local22._y = 229;
} else {
var _local19 = attachMovie("text_answerResponse02b", "text_answerResponse02b", 100);
_local19._x = 225;
_local19._y = 229;
}
} else if (questionAsked == 3) {
if (theAnswer == 1) {
var _local28 = attachMovie("text_answerResponse03a", "text_answerResponse03a", 100);
_local28._x = 225;
_local28._y = 229;
} else {
var _local23 = attachMovie("text_answerResponse03b", "text_answerResponse03b", 100);
_local23._x = 225;
_local23._y = 229;
}
} else if (questionAsked == 4) {
if (theAnswer == 1) {
var _local51 = attachMovie("text_answerResponse04a", "text_answerResponse04a", 100);
_local51._x = 225;
_local51._y = 229;
} else {
var _local48 = attachMovie("text_answerResponse04b", "text_answerResponse04b", 100);
_local48._x = 225;
_local48._y = 229;
}
} else if (questionAsked == 5) {
if (theAnswer == 1) {
var _local8 = attachMovie("text_answerResponse05", "text_answerResponse05", 100);
_local8._x = 225;
_local8._y = 229;
} else {
var _local19 = attachMovie("text_answerResponse02b", "text_answerResponse02b", 100);
_local19._x = 225;
_local19._y = 229;
}
} else if (questionAsked == 6) {
if (theAnswer == 1) {
var _local22 = attachMovie("text_answerResponse02a", "text_answerResponse02a", 100);
_local22._x = 225;
_local22._y = 229;
} else {
var _local19 = attachMovie("text_answerResponse02b", "text_answerResponse02b", 100);
_local19._x = 225;
_local19._y = 229;
}
} else if (questionAsked == 7) {
if (theAnswer == 1) {
var _local43 = attachMovie("text_answerResponse06a", "text_answerResponse06a", 100);
_local43._x = 225;
_local43._y = 229;
} else {
var _local37 = attachMovie("text_answerResponse06b", "text_answerResponse06b", 100);
_local37._x = 225;
_local37._y = 229;
}
} else if (questionAsked == 8) {
if (theAnswer == 1) {
var _local22 = attachMovie("text_answerResponse02a", "text_answerResponse02a", 100);
_local22._x = 225;
_local22._y = 229;
} else {
var _local19 = attachMovie("text_answerResponse02b", "text_answerResponse02b", 100);
_local19._x = 225;
_local19._y = 229;
}
} else if (questionAsked == 9) {
if (theAnswer == 1) {
var _local22 = attachMovie("text_answerResponse02a", "text_answerResponse02a", 100);
_local22._x = 225;
_local22._y = 229;
} else {
var _local19 = attachMovie("text_answerResponse02b", "text_answerResponse02b", 100);
_local19._x = 225;
_local19._y = 229;
}
} else if (questionAsked == 10) {
if (theAnswer == 1) {
var _local49 = attachMovie("text_answerResponse07a", "text_answerResponse07a", 100);
_local49._x = 225;
_local49._y = 229;
} else {
var _local44 = attachMovie("text_answerResponse07b", "text_answerResponse07b", 100);
_local44._x = 225;
_local44._y = 229;
}
} else if (questionAsked == 11) {
if (theAnswer == 1) {
var _local6 = attachMovie("text_answerResponse08a", "text_answerResponse08a", 100);
_local6._x = 225;
_local6._y = 229;
} else {
var _local4 = attachMovie("text_answerResponse08b", "text_answerResponse08b", 100);
_local4._x = 225;
_local4._y = 229;
}
} else if (questionAsked == 12) {
if (theAnswer == 1) {
var _local9 = attachMovie("text_answerResponse09a", "text_answerResponse09a", 100);
_local9._x = 225;
_local9._y = 229;
} else {
var _local7 = attachMovie("text_answerResponse09b", "text_answerResponse09b", 100);
_local7._x = 225;
_local7._y = 229;
}
} else if (questionAsked == 13) {
if (theAnswer == 1) {
var _local15 = attachMovie("text_answerResponse10", "text_answerResponse10", 100);
_local15._x = 225;
_local15._y = 229;
} else {
var _local19 = attachMovie("text_answerResponse02b", "text_answerResponse02b", 100);
_local19._x = 225;
_local19._y = 229;
}
} else if (questionAsked == 14) {
if (theAnswer == 1) {
var _local45 = attachMovie("text_answerResponse11a", "text_answerResponse11a", 100);
_local45._x = 225;
_local45._y = 229;
} else {
var _local38 = attachMovie("text_answerResponse11b", "text_answerResponse11b", 100);
_local38._x = 225;
_local38._y = 229;
}
} else if (questionAsked == 15) {
if (theAnswer == 1) {
var _local22 = attachMovie("text_answerResponse02a", "text_answerResponse02a", 100);
_local22._x = 225;
_local22._y = 229;
} else {
var _local19 = attachMovie("text_answerResponse02b", "text_answerResponse02b", 100);
_local19._x = 225;
_local19._y = 229;
}
}
} else {
var _local3 = random(4) + 1;
if (_local3 == 1) {
var _local10 = attachMovie("text_denial01", "text_denial01", 100);
_local10._x = 225;
_local10._y = 229;
} else if (_local3 == 2) {
var _local55 = attachMovie("text_denial02", "text_denial02", 100);
_local55._x = 225;
_local55._y = 229;
} else if (_local3 == 3) {
var _local5 = attachMovie("text_denial03", "text_denial03", 100);
_local5._x = 225;
_local5._y = 229;
} else if (_local3 == 4) {
var _local52 = attachMovie("text_denial04", "text_denial04", 100);
_local52._x = 225;
_local52._y = 229;
}
}
} else if (mechanicConversation == 5) {
_global.mechanicConversation++;
_global.mechanicTalking = false;
var _local36 = _root.text_answerResponse01a;
_local36.swapDepths(10);
_local36.removeMovieClip();
var _local32 = _root.text_answerResponse01b;
_local32.swapDepths(10);
_local32.removeMovieClip();
var _local22 = _root.text_answerResponse02a;
_local22.swapDepths(10);
_local22.removeMovieClip();
var _local19 = _root.text_answerResponse02b;
_local19.swapDepths(10);
_local19.removeMovieClip();
var _local28 = _root.text_answerResponse03a;
_local28.swapDepths(10);
_local28.removeMovieClip();
var _local23 = _root.text_answerResponse03b;
_local23.swapDepths(10);
_local23.removeMovieClip();
var _local51 = _root.text_answerResponse04a;
_local51.swapDepths(10);
_local51.removeMovieClip();
var _local48 = _root.text_answerResponse04b;
_local48.swapDepths(10);
_local48.removeMovieClip();
var _local8 = _root.text_answerResponse05;
_local8.swapDepths(10);
_local8.removeMovieClip();
var _local43 = _root.text_answerResponse06a;
_local43.swapDepths(10);
_local43.removeMovieClip();
var _local37 = _root.text_answerResponse06b;
_local37.swapDepths(10);
_local37.removeMovieClip();
var _local49 = _root.text_answerResponse07a;
_local49.swapDepths(10);
_local49.removeMovieClip();
var _local44 = _root.text_answerResponse07b;
_local44.swapDepths(10);
_local44.removeMovieClip();
var _local6 = _root.text_answerResponse08a;
_local6.swapDepths(10);
_local6.removeMovieClip();
var _local4 = _root.text_answerResponse08b;
_local4.swapDepths(10);
_local4.removeMovieClip();
var _local9 = _root.text_answerResponse09a;
_local9.swapDepths(10);
_local9.removeMovieClip();
var _local7 = _root.text_answerResponse09b;
_local7.swapDepths(10);
_local7.removeMovieClip();
var _local15 = _root.text_answerResponse10;
_local15.swapDepths(10);
_local15.removeMovieClip();
var _local45 = _root.text_answerResponse11a;
_local45.swapDepths(10);
_local45.removeMovieClip();
var _local38 = _root.text_answerResponse11b;
_local38.swapDepths(10);
_local38.removeMovieClip();
var _local10 = _root.text_denial01;
_local10.swapDepths(10);
_local10.removeMovieClip();
var _local55 = _root.text_denial02;
_local55.swapDepths(10);
_local55.removeMovieClip();
var _local5 = _root.text_denial03;
_local5.swapDepths(10);
_local5.removeMovieClip();
var _local52 = _root.text_denial04;
_local52.swapDepths(10);
_local52.removeMovieClip();
var _local39 = attachMovie("text_endQuestioning01", "text_endQuestioning01", 100);
_local39._x = 133;
_local39._y = 334;
} else if (mechanicConversation == 6) {
_global.mechanicConversation++;
_global.mechanicTalking = true;
var _local39 = _root.text_endQuestioning01;
_local39.swapDepths(10);
_local39.removeMovieClip();
var _local3 = random(3) + 1;
if (_local3 == 1) {
var _local33 = attachMovie("text_endQuestioning02a", "text_endQuestioning02a", 100);
_local33._x = 225;
_local33._y = 229;
} else if (_local3 == 2) {
var _local40 = attachMovie("text_endQuestioning02b", "text_endQuestioning02b", 100);
_local40._x = 225;
_local40._y = 229;
} else if (_local3 == 3) {
var _local46 = attachMovie("text_endQuestioning02c", "text_endQuestioning02c", 100);
_local46._x = 225;
_local46._y = 229;
}
} else if (mechanicConversation == 7) {
var _local33 = _root.text_endQuestioning02a;
_local33.swapDepths(10);
_local33.removeMovieClip();
var _local40 = _root.text_endQuestioning02b;
_local40.swapDepths(10);
_local40.removeMovieClip();
var _local46 = _root.text_endQuestioning02c;
_local46.swapDepths(10);
_local46.removeMovieClip();
_root.mechanic01.stop("mechanic01");
gotoAndStop ("overheadMap");
}
};
stop();
Frame 354
function init() {
_global.endingResponse++;
_global.patientTalking = true;
text_conclusion01._x = 180;
}
init();
clickNext.onRelease = function () {
if (endingResponse == 1) {
_global.endingResponse++;
_root.text_conclusion01._x = 1000;
_root.text_conclusion02._x = 203;
} else if (endingResponse == 2) {
_root.text_conclusion02._x = 1000;
gotoAndStop ("ending02");
}
};
stop();
Frame 369
function init() {
var _local2 = _root.clickNext.onRelease.text_conclusion02;
_local2.swapDepths(10);
_local2.removeMovieClip();
delete eval (_root.clickNext.onRelease());
var _local3 = choosePhrase();
var _local4 = choosePhrase();
var _local5 = choosePhrase();
textbox.text_conclusion03.text = ((((("'It's all about " + _local3) + " and ") + _local4) + " and ") + _local5) + "!'";
}
function choosePhrase() {
if (question01asked && (!question01written)) {
phrase = "boulders";
_global.question01written = true;
} else if (question03asked && (!question03written)) {
phrase = "the man on the moon";
_global.question03written = true;
} else if (question04asked && (!question04written)) {
phrase = "God";
_global.question04written = true;
} else if (question05asked && (!question05written)) {
phrase = "Hell";
_global.question05written = true;
} else if (question06asked && (!question06written)) {
phrase = "when I'm going to die";
_global.question06written = true;
} else if (question07asked && (!question07written)) {
phrase = "sports";
_global.question07written = true;
} else if (question08asked && (!question08written)) {
phrase = "love";
_global.question08written = true;
} else if (question09asked && (!question09written)) {
phrase = "my hair";
_global.question09written = true;
} else if (question10asked && (!question10written)) {
if (question10answer == 1) {
phrase = "Gabby Tremaine";
} else {
phrase = "Paco Cadwallader";
}
_global.question10written = true;
} else if (question11asked && (!question11written)) {
phrase = "the environment";
_global.question11written = true;
} else if (question12asked && (!question12written)) {
if (question12answer == 1) {
phrase = "Raakel Fairbairn";
} else {
phrase = "Baldwin Fielding";
}
_global.question12written = true;
} else if (question13asked && (!question13written)) {
phrase = "my sex life";
_global.question13written = true;
} else if (question14asked && (!question14written)) {
phrase = "gun control";
_global.question14written = true;
} else if (question15asked && (!question15written)) {
phrase = "xenophobia";
_global.question15written = true;
} else {
phrase = "if you are seeing \nthis then something was \nnot written correctly";
}
return(phrase);
}
var phrase = "";
init();
clickNext.onRelease = function () {
gotoAndPlay ("ending03");
};
stop();
Frame 381
clickNext.onRelease = function () {
gotoAndPlay ("ending04");
};
stop();
Frame 396
_global.patientTalking = false;
clickNext.onRelease = function () {
gotoAndPlay ("endingFadeOut");
};
stop();
Frame 459
stop();
stopAllSounds();
restartButton.onRelease = function () {
gotoAndStop ("preloader");
};
Symbol 364 MovieClip Frame 1
function LOGO_IN() {
var _local1 = new mx.transitions.Tween(AGlogo_mc, "_y", mx.transitions.easing.Strong.easeIn, -75, 85, 12, false);
_local1.onMotionFinished = function () {
LOGO_SMASH();
var _local3 = new mx.transitions.Tween(AGlogo_mc, "_y", mx.transitions.easing.Bounce.easeOut, 60, 85, 6, false);
var _local4 = new mx.transitions.Tween(AGlogo_mc, "_x", mx.transitions.easing.Bounce.easeOut, 30, 50, 6, false);
var _local2 = new mx.transitions.Tween(AGpresented_mc, "_y", mx.transitions.easing.Bounce.easeOut, 15, 25, 6, false);
var _local1 = new mx.transitions.Tween(AGpresented_mc, "_x", mx.transitions.easing.Bounce.easeOut, 110, 100, 6, false);
};
}
function LOGO_SMASH() {
AG_SMASH.start();
AGclick_btn._visible = true;
}
function AG_HOLD_COUNTER() {
if (AG_COUNT == AG_TIME) {
clearInterval(AG_HOLD_ID);
_level0.START_ping.broadcastMessage("presented");
this.unloadMovie();
} else {
AG_COUNT++;
}
}
_parent.stop();
var AG_SMASH = new Sound();
AG_SMASH.attachSound("Smash");
var AG_COUNT = 0;
var AG_TIME = 4;
var AG_HOLD_ID;
AG_HOLD_ID = setInterval(this, "AG_HOLD_COUNTER", 1000);
AGpresented_mc._alpha = 0;
AGclick_btn._visible = false;
AGlogo_mc._y = -70;
var AGpresented_IN = (new mx.transitions.Tween(AGpresented_mc, "_alpha", mx.transitions.easing.Strong.easeIn, 0, 100, 12, false));
AGpresented_IN.onMotionFinished = function () {
LOGO_IN();
};
AGskip_btn.onRelease = function () {
AG_COUNT = AG_TIME;
AG_HOLD_COUNTER();
};
AGclick_btn.onRelease = function () {
getURL ("http://www.addictinggames.com", "_blank");
};
Symbol 566 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 567 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 568 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 569 MovieClip [__Packages.mx.transitions.easing.Strong] Frame 0
class mx.transitions.easing.Strong
{
function Strong () {
}
static function easeIn(t, b, c, d) {
t = t / d;
return((((((c * t) * t) * t) * t) * t) + b);
}
static function easeOut(t, b, c, d) {
t = (t / d) - 1;
return((c * (((((t * t) * t) * t) * t) + 1)) + b);
}
static function easeInOut(t, b, c, d) {
t = t / (d / 2);
if (t < 1) {
return(((((((c / 2) * t) * t) * t) * t) * t) + b);
}
t = t - 2;
return(((c / 2) * (((((t * t) * t) * t) * t) + 2)) + b);
}
static var version = "1.1.0.52";
}
Symbol 570 MovieClip [__Packages.mx.transitions.easing.Bounce] Frame 0
class mx.transitions.easing.Bounce
{
function Bounce () {
}
static function easeOut(t, b, c, d) {
t = t / d;
if (t < 0.363636363636364) {
return((c * ((7.5625 * t) * t)) + b);
}
if (t < 0.727272727272727) {
t = t - 0.545454545454545;
return((c * (((7.5625 * t) * t) + 0.75)) + b);
}
if (t < 0.909090909090909) {
t = t - 0.818181818181818;
return((c * (((7.5625 * t) * t) + 0.9375)) + b);
}
t = t - 0.954545454545455;
return((c * (((7.5625 * t) * t) + 0.984375)) + b);
}
static function easeIn(t, b, c, d) {
return((c - easeOut(d - t, 0, c, d)) + b);
}
static function easeInOut(t, b, c, d) {
if (t < (d / 2)) {
return((easeIn(t * 2, 0, c, d) * 0.5) + b);
}
return(((easeOut((t * 2) - d, 0, c, d) * 0.5) + (c * 0.5)) + b);
}
static var version = "1.1.0.52";
}
Symbol 374 MovieClip Frame 1
onEnterFrame = function () {
if (patientTalking) {
this.nextFrame();
} else {
stop();
}
};
Symbol 374 MovieClip Frame 20
gotoAndPlay ("talk");
Symbol 377 MovieClip Frame 1
function init() {
countdown = (Math.random() * 200) + 60;
}
var countdown = 0;
init();
onEnterFrame = function () {
countdown--;
if (countdown < 0) {
gotoAndPlay ("blink");
} else {
stop();
}
};
stop();
Symbol 377 MovieClip Frame 12
onEnterFrame = function () {
this.nextFrame();
};
Symbol 377 MovieClip Frame 20
gotoAndStop ("look");
Symbol 459 MovieClip Frame 1
onEnterFrame = function () {
if (chefTalking) {
this.nextFrame();
} else {
gotoAndStop ("stopped");
}
};
Symbol 459 MovieClip Frame 13
gotoAndPlay ("stopped");
Symbol 463 MovieClip Frame 47
function init() {
_global.chefArrived = true;
}
init();
onEnterFrame = function () {
stop();
};
stop();
Symbol 463 MovieClip Frame 57
onEnterFrame = function () {
this.nextFrame();
};
Symbol 463 MovieClip Frame 125
function init() {
_global.chefArrived = true;
}
init();
onEnterFrame = function () {
stop();
};
stop();
Symbol 472 MovieClip Frame 1
onEnterFrame = function () {
if (dogCatcherTalking) {
this.nextFrame();
} else {
gotoAndStop ("stopped");
}
};
Symbol 472 MovieClip Frame 14
gotoAndPlay ("stopped");
Symbol 476 MovieClip Frame 48
function init() {
_global.dogCatcherArrived = true;
}
init();
onEnterFrame = function () {
stop();
};
stop();
Symbol 476 MovieClip Frame 58
onEnterFrame = function () {
this.nextFrame();
};
Symbol 476 MovieClip Frame 125
function init() {
_global.dogCatcherArrived = true;
}
init();
onEnterFrame = function () {
stop();
};
stop();
Symbol 483 MovieClip Frame 1
onEnterFrame = function () {
if (garbageManTalking) {
this.nextFrame();
} else {
gotoAndStop ("stopped");
}
};
Symbol 483 MovieClip Frame 15
gotoAndPlay ("stopped");
Symbol 487 MovieClip Frame 47
function init() {
_global.garbageManArrived = true;
}
init();
onEnterFrame = function () {
stop();
};
stop();
Symbol 487 MovieClip Frame 57
onEnterFrame = function () {
this.nextFrame();
};
Symbol 487 MovieClip Frame 125
function init() {
_global.garbageManArrived = true;
}
init();
onEnterFrame = function () {
stop();
};
stop();
Symbol 496 MovieClip Frame 1
onEnterFrame = function () {
if (principalTalking) {
this.nextFrame();
} else {
gotoAndStop ("stopped");
}
};
Symbol 496 MovieClip Frame 16
gotoAndPlay ("stopped");
Symbol 500 MovieClip Frame 47
function init() {
_global.principalArrived = true;
}
init();
onEnterFrame = function () {
stop();
};
stop();
Symbol 500 MovieClip Frame 57
onEnterFrame = function () {
this.nextFrame();
};
Symbol 500 MovieClip Frame 125
function init() {
_global.principalArrived = true;
}
init();
onEnterFrame = function () {
stop();
};
stop();
Symbol 509 MovieClip Frame 1
onEnterFrame = function () {
if (clerkTalking) {
this.nextFrame();
} else {
gotoAndStop ("stopped");
}
};
Symbol 509 MovieClip Frame 17
gotoAndPlay ("stopped");
Symbol 513 MovieClip Frame 47
function init() {
_global.clerkArrived = true;
}
init();
onEnterFrame = function () {
stop();
};
stop();
Symbol 513 MovieClip Frame 57
onEnterFrame = function () {
this.nextFrame();
};
Symbol 513 MovieClip Frame 125
function init() {
_global.clerkArrived = true;
}
init();
onEnterFrame = function () {
stop();
};
stop();
Symbol 523 MovieClip Frame 1
onEnterFrame = function () {
if (butcherTalking) {
this.nextFrame();
} else {
gotoAndStop ("stopped");
}
};
Symbol 523 MovieClip Frame 14
gotoAndPlay ("stopped");
Symbol 527 MovieClip Frame 47
function init() {
_global.butcherArrived = true;
}
init();
onEnterFrame = function () {
stop();
};
stop();
Symbol 527 MovieClip Frame 57
onEnterFrame = function () {
this.nextFrame();
};
Symbol 527 MovieClip Frame 125
function init() {
_global.butcherArrived = true;
}
init();
onEnterFrame = function () {
stop();
};
stop();
Symbol 535 MovieClip Frame 1
onEnterFrame = function () {
if (hairdresserTalking) {
this.nextFrame();
} else {
gotoAndStop ("stopped");
}
};
Symbol 535 MovieClip Frame 14
gotoAndPlay ("stopped");
Symbol 539 MovieClip Frame 47
function init() {
_global.hairdresserArrived = true;
}
init();
onEnterFrame = function () {
stop();
};
stop();
Symbol 539 MovieClip Frame 57
onEnterFrame = function () {
this.nextFrame();
};
Symbol 539 MovieClip Frame 125
function init() {
_global.hairdresserArrived = true;
}
init();
onEnterFrame = function () {
stop();
};
stop();
Symbol 547 MovieClip Frame 1
onEnterFrame = function () {
if (mechanicTalking) {
this.nextFrame();
} else {
gotoAndStop ("stopped");
}
};
Symbol 547 MovieClip Frame 14
gotoAndPlay ("stopped");
Symbol 551 MovieClip Frame 47
function init() {
_global.mechanicArrived = true;
}
init();
onEnterFrame = function () {
stop();
};
stop();
Symbol 551 MovieClip Frame 57
onEnterFrame = function () {
this.nextFrame();
};
Symbol 551 MovieClip Frame 125
function init() {
_global.mechanicArrived = true;
}
init();
onEnterFrame = function () {
stop();
};
stop();