Frame 1
function Events() {
if (_root.EventName == "Intro") {
if (_root.EventNum == 1) {
gotoAndStop (3);
_root.Text = "Cough.. Nephew.. I am not long for this world and the next one calls my name. cough... But before I go, Promise me you will carry on the business..";
_root.TextBox.play();
_root.TextBox.But.gotoAndPlay("Next");
_root.Face.gotoAndStop("Uncle");
} else if (_root.EventNum == 2) {
_root.Text = "Do you Promise me?";
} else if (_root.EventNum == 3) {
_root.Text = "Thank you.. It's all up to you now....";
} else if (_root.EventNum == 4) {
_root.gotoAndStop("Map");
_root.Face.gotoAndStop("Deal");
_root.Char.gotoAndStop("Deal");
_root.Text = "Good afternoon Sir. My name is Mr Deal, I was your Uncles assistant and I'll be carrying on this job, and will help you get used to life here at the Paradise Hotel. Do come in, It's your Hotel after all.";
} else if (_root.EventNum == 5) {
_root.gotoAndStop("Reciption");
_root.Char.gotoAndStop("May");
_root.Text = "This is Miss May, she is the Receptionist for the Hotel.";
} else if (_root.EventNum == 6) {
_root.Face.gotoAndStop("May");
_root.Text = "Welcome sir. It is good to meet you. I hope that you will be able to bring this place back to its former glory";
} else if (_root.EventNum == 7) {
_root.gotoAndStop("Office");
_root.Face.gotoAndStop("Deal");
_root.Char.gotoAndStop("Deal");
_root.Text = "This is your Office Sir. Today is Sunday so you will have the rest of the day to get used to the place. Wages are paid weekly on Fridays and on Mondays you will get to select which of the girls does what for the week.";
} else if (_root.EventNum == 8) {
_root.Text = "What girls? Oh sorry, didn't you know? The paradise Hotel is a Bordello. Please take time to speak to the girls today. They are a nice group.";
} else if (_root.EventNum == 9) {
_root.Text = "The girls will be able to make more money if you specially train them. We have a training room in the loft. Be sure to book a girl in for training and train her up.";
} else if (_root.EventNum == 10) {
_root.TextBox.But.gotoAndPlay("End");
_root.Text = "I'll be around to help you when you need it. When you have finished for the day, be sure to go to bed and get some sleep. Good luck Sir.";
} else if (_root.EventNum == 11) {
_root.Text = "";
_root.Face.gotoAndStop("Blank");
_root.Char.gotoAndStop("Blank");
_root.TextBox.play();
}
} else if (_root.EventName == "RepeatWeek") {
if (_root.EventNum == 1) {
if (_root.BackUpWeek[0].Week[0].Type != "") {
i = 0;
while (i < 3) {
b = 0;
while (b < 7) {
if (_root.GirlArray[i].Week[b].Type != "ill") {
_root.GirlArray[i].Week[b].Type = _root.BackUpWeek[i].Week[b].Type;
_root.Plan[(i + "_") + b].gotoAndStop(_root.GirlArray[i].Week[b].Type);
}
b++;
}
i++;
}
}
}
} else if (_root.EventName == "Submit_Week") {
if (_root.EventNum == 1) {
_root.Text = "Are you sure?";
_root.Face.gotoAndStop("Deal");
_root.TextBox.gotoAndPlay("Question");
} else if (_root.EventNum == 2) {
_root.EventNum = 1;
_root.Text = "";
_root.Face.gotoAndStop("Blank");
_root.TextBox.play();
} else if (_root.EventNum == 3) {
if (((_root.GirlArray[0].Week[6].Type == "Work") || (_root.GirlArray[1].Week[6].Type == "Work")) || (_root.GirlArray[2].Week[6].Type == "Work")) {
_root.Face.Image.gotoAndStop("Sad");
_root.Text = "Sorry, We are shut on Sundays, so no work can be done";
_root.TextBox.gotoAndStop("Normal-2");
_root.TextBox.But.gotoAndPlay("End");
} else {
Temp = false;
i = 0;
while (i < 7) {
if ((((_root.GirlArray[0].Week[i].Type == "Train") && (_root.GirlArray[1].Week[i].Type == "Train")) || ((_root.GirlArray[1].Week[i].Type == "Train") && (_root.GirlArray[2].Week[i].Type == "Train"))) || ((_root.GirlArray[0].Week[i].Type == "Train") && (_root.GirlArray[2].Week[i].Type == "Train"))) {
Temp = true;
}
i++;
}
if (Temp == true) {
_root.Face.Image.gotoAndStop("Sad");
_root.Text = "Sorry, You can't train two girls on the same day";
_root.TextBox.gotoAndStop("Normal-2");
_root.TextBox.But.gotoAndPlay("End");
} else {
_root.PlanTrig = true;
_root.Text = "";
_root.Face.gotoAndStop("Blank");
_root.TextBox.play();
_root.Plan.gotoAndStop(2);
}
}
} else if (_root.EventNum == 4) {
_root.Text = "";
_root.Face.gotoAndStop("Blank");
_root.TextBox.play();
}
} else if (_root.EventName == "Sleep") {
if (_root.EventNum == 1) {
_root.gotoAndStop("Sleep");
_root.DateNum = _root.DateNum + 1;
_root.TotalDays = _root.TotalDays + 1;
_root.TrainDone = false;
_root.Whatdate();
_root.Doctor = false;
if (_root.Day == "Sunday") {
_root.Day = "Monday";
i = 0;
while (i < 3) {
b = 0;
while (b < 7) {
if (_root.GirlArray[i].Week[b].Type != "ill") {
_root.BackUpWeek[i].Week[b].Type = _root.GirlArray[i].Week[b].Type;
} else {
_root.BackUpWeek[i].Week[b].Type = "Off";
}
b++;
}
i++;
}
if ((_root.GirlArray[0].Week[6].Type == "ill") && (_root.GirlHealth[0].ill == false)) {
_root.GirlArray[0].Week[0].Type = "Off";
_root.GirlArray[0].Week[1].Type = "Off";
_root.GirlArray[0].Week[2].Type = "Off";
_root.GirlArray[0].Week[3].Type = "Off";
_root.GirlArray[0].Week[4].Type = "Off";
_root.GirlArray[0].Week[5].Type = "Off";
_root.GirlArray[0].Week[6].Type = "Off";
}
if ((_root.GirlArray[1].Week[6].Type == "ill") && (_root.GirlHealth[1].ill == false)) {
_root.GirlArray[1].Week[0].Type = "Off";
_root.GirlArray[1].Week[1].Type = "Off";
_root.GirlArray[1].Week[2].Type = "Off";
_root.GirlArray[1].Week[3].Type = "Off";
_root.GirlArray[1].Week[4].Type = "Off";
_root.GirlArray[1].Week[5].Type = "Off";
_root.GirlArray[1].Week[6].Type = "Off";
}
if ((_root.GirlArray[2].Week[6].Type == "ill") && (_root.GirlHealth[2].ill == false)) {
_root.GirlArray[2].Week[0].Type = "Off";
_root.GirlArray[2].Week[1].Type = "Off";
_root.GirlArray[2].Week[2].Type = "Off";
_root.GirlArray[2].Week[3].Type = "Off";
_root.GirlArray[2].Week[4].Type = "Off";
_root.GirlArray[2].Week[5].Type = "Off";
_root.GirlArray[2].Week[6].Type = "Off";
}
} else if (_root.Day == "Monday") {
_root.Day = "Tuesday";
} else if (_root.Day == "Tuesday") {
_root.Day = "Wednesday";
} else if (_root.Day == "Wednesday") {
_root.Day = "Thursday";
} else if (_root.Day == "Thursday") {
_root.Day = "Friday";
} else if (_root.Day == "Friday") {
_root.Day = "Saturday";
} else if (_root.Day == "Saturday") {
_root.Day = "Sunday";
}
_root.DaysBussiness();
} else if (_root.EventNum == 2) {
a = 0;
while (a < 3) {
if ((_root.GirlArray[a].Health <= 0) && (_root.GirlHealth[a].ill == false)) {
_root.Face.gotoAndStop("Deal");
_root.Face.Image.gotoAndStop("Upset");
_root.Text = ("Bad News.. " + _root.GirlArray[a].Name) + " is very ill. She needs a lot of rest, so I have given her the rest of the week off ";
if (_root.TextBox._currentframe == 1) {
_root.TextBox.play();
}
b = 0;
while (b < 7) {
_root.GirlArray[a].Week[b].Type = "ill";
_root.GirlHealth[a].ill = true;
b++;
}
}
a++;
}
if (_root.FullDate == "20/3/2010") {
_root.gotoAndStop("Credits");
} else if (_root.Day == "Monday") {
b = 0;
while (b < 3) {
c = 0;
while (c < 7) {
if ((_root.GirlArray[b].Week[c].Type == "ill") && (_root.GirlHealth[b].ill == true)) {
_root.GirlArray[b].Week[c].Type = "ill";
} else {
_root.GirlArray[b].Week[c].Type = "Off";
}
c++;
}
b++;
}
_root.Face.gotoAndStop("Deal");
_root.Face.Image.gotoAndStop("Happy");
_root.Text = "Good Morning, Sir. Time to plan the week. Click on the day square for each girl to cycle through your options. Girls cannot work or train when they are ill. ";
b = 0;
while (b < 3) {
if (_root.GirlArray[b].Week[0].Type == "ill") {
_root.Text = _root.Text + (_root.GirlArray[b].Name + " is still unwell so I have given her the week off to get better. ");
}
b++;
}
_root.PlanTrig = false;
if (_root.TextBox._currentframe == 1) {
_root.TextBox.play();
}
} else if (_root.Day == "Wednesday") {
c = 0;
while (c < 3) {
if (_root.GirlArray[c].Week[0].Type == "ill") {
_root.Face.gotoAndStop("Deal");
_root.Text = _root.Text + (("Since " + _root.GirlArray[c].Name) + " is unwell, I have called out the Doctor at no charge. She is waiting in the Lounge.");
if (_root.TextBox._currentframe == 1) {
_root.TextBox.play();
}
_root.Doctor = true;
}
c++;
}
} else if (_root.Day == "Friday") {
TotalWage = (_root.GirlArray[0].Wage + _root.GirlArray[1].Wage) + _root.GirlArray[2].Wage;
_root.Money = _root.Money - TotalWage;
_root.Money = _root.Money - 100;
_root.Face.gotoAndStop("Deal");
_root.Text = ("Today is Pay day, sir. Total wages are " + TotalWage) + " Coins, and 100 coins expenses. ";
if (_root.TextBox._currentframe == 1) {
_root.TextBox.play();
}
_root.TotalMoneyOut = _root.TotalMoneyOut + 100;
_root.TotalMoneyOut = _root.TotalMoneyOut + TotalWage;
a = 0;
while (a < 3) {
if ((_root.GirlArray[a].Health <= 0) && (_root.GirlHealth[a].ill == false)) {
_root.Face.gotoAndStop("Deal");
_root.Face.Image.gotoAndStop("Upset");
_root.Text = _root.Text + ((" " + _root.GirlArray[a].Name) + " is very ill. She needs a lot of rest, so I have given her the rest of the week off ");
if (_root.TextBox._currentframe == 1) {
_root.TextBox.play();
}
b = 0;
while (b < 7) {
_root.GirlArray[a].Week[b].Type = "ill";
_root.GirlHealth[a].ill = true;
b++;
}
}
a++;
}
} else if (_root.Day == "Sunday") {
_root.Face.gotoAndStop("Deal");
_root.WeekTake = (_root.GirlArray[0].Money + _root.GirlArray[1].Money) + _root.GirlArray[2].Money;
_root.Text = (((((((((((((("Good Morning, Sir. Today we are shut. This weeks takings are-\r" + _root.GirlArray[0].Name) + " - ") + _root.GirlArray[0].Money) + "\r") + _root.GirlArray[1].Name) + " - ") + _root.GirlArray[1].Money) + "\r") + _root.GirlArray[2].Name) + " - ") + _root.GirlArray[2].Money) + "\r") + "A total of ") + _root.WeekTake) + ". ";
if (_root.TextBox._currentframe == 1) {
_root.TextBox.play();
}
_root.Money = _root.Money + _root.WeekTake;
_root.TotalMoneyIn = _root.TotalMoneyIn + _root.WeekTake;
_root.GirlArray[0].Money = 0;
_root.GirlArray[1].Money = 0;
_root.GirlArray[2].Money = 0;
a = 0;
while (a < 3) {
if ((_root.GirlArray[a].Health <= 0) && (_root.GirlHealth[a].ill == false)) {
_root.Face.gotoAndStop("Deal");
_root.Face.Image.gotoAndStop("Upset");
_root.Text = _root.Text + ((" " + _root.GirlArray[a].Name) + " is very ill. She needs a lot of rest, so I have given her the rest of the week off ");
if (_root.TextBox._currentframe == 1) {
_root.TextBox.play();
}
b = 0;
while (b < 7) {
_root.GirlArray[a].Week[b].Type = "ill";
_root.GirlHealth[a].ill = true;
b++;
}
}
a++;
}
}
if (_root.DateNum == 25) {
_root.Face.gotoAndStop("Deal");
_root.Text = _root.Text + "The Mayor is waiting in the lounge for an important meeting with you. You must meet with him before the end of the day.";
_root.TextBox.gotoAndPlay("Normal");
_root.Mayor = true;
}
if ((_root.Text == "") && (_root.TextBox._currentframe > 1)) {
_root.TextBox.play();
}
} else if (_root.EventNum == 3) {
if ((_root.Day == "Friday") && (_root.Money <= 0)) {
_root.gotoAndStop("Credits");
} else {
_root.Text = "";
_root.Face.gotoAndStop("Blank");
_root.TextBox.play();
}
}
if ((_root.Text == "") && (_root.NightOver == true)) {
_root.TextBox.gotoAndStop(1);
_root.NightOver = false;
}
} else if (_root.EventName == "Attack") {
if (_root.EventNum == 1) {
_root.Char.gotoAndStop("Girl" + _root.GNum);
_root.Face.gotoAndStop("Girl" + _root.GNum);
_root.Face.Image.gotoAndStop("Angry");
if (_root.GNum == 0) {
_root.Text = "Sir! This Ruffen needs to be taught a lesson!";
} else if (_root.GNum == 1) {
_root.Text = "Boss! Right on time, This creep won't take No for an answer, care to help out?";
} else if (_root.GNum == 2) {
_root.Text = "Oh Sir! This guy isn't being very nice at all, please help me.";
}
_root.TextBox.But.gotoAndPlay("Next");
_root.TextBox.play();
} else if (_root.EventNum == 2) {
_root.Char.gotoAndStop(1);
_root.Face.gotoAndStop(1);
_root.Text = "Aim for his head with the mouse and use the Right Mouse button to punch. If you want to block his attacks, Hold 'Space' to block and keep your hands blocking his fists.";
_root.TextBox.But.gotoAndPlay("Next");
} else if (_root.EventNum == 3) {
_root.Text = "Ready? Then click to start!";
_root.TextBox.But.gotoAndPlay("End");
_root.Char.gotoAndStop(1);
} else if (_root.EventNum == 4) {
_root.Game.On = true;
_root.TextBox.play();
} else if (_root.EventNum == 6) {
_root.Char.gotoAndStop("Girl" + _root.GNum);
_root.Face.gotoAndStop("Girl" + _root.GNum);
_root.Face.Image.gotoAndStop("Happy");
if (_root.GNum == 0) {
_root.Text = "Thank you Sir, he won't forget that anytime soon!";
} else if (_root.GNum == 1) {
_root.Text = "Hey, Way to go Boss! Now let's kick that bum out of here!";
} else if (_root.GNum == 2) {
_root.Text = "Oh, Sir, that was great. Thank you soo much.";
}
_root.TextBox.play();
_root.TextBox.But.gotoAndPlay("Next");
_root.Cursor.gotoAndStop(1);
} else if (_root.EventNum == 7) {
_root.Face.gotoAndStop(1);
_root.gotoAndStop("Office");
_root.EventNum = 1;
_root.EventName = "";
_root.TextBox.play();
_root.Attacking = false;
} else if (_root.EventNum == 8) {
_root.Char.gotoAndStop("Girl" + _root.GNum);
_root.Face.gotoAndStop("Girl" + _root.GNum);
_root.Face.Image.gotoAndStop("Sad");
if (_root.GNum == 0) {
_root.Text = "Are you alright? Don't worry about it, Sir..";
} else if (_root.GNum == 1) {
_root.Text = "Aww Boss, You should have tried harder!";
} else if (_root.GNum == 2) {
_root.Text = "Oh... Sir, are you okay?";
}
_root.TextBox.play();
_root.TextBox.But.gotoAndPlay("Next");
_root.Cursor.gotoAndStop(1);
} else if (_root.EventNum == 9) {
_root.Face.gotoAndStop(1);
_root.EventName = "Sleep";
_root.EventNum = 1;
_root.Money = _root.Money - _root.ClientPay;
_root.TotalMoneyOut = _root.TotalMoneyOut + _root.ClientPay;
_root.TextBox.play();
_root.Attacking = false;
_root.Events();
}
} else if (_root.EventName == "Train") {
if (_root.EventNum == 1) {
_root.Face.gotoAndStop("Girl" + _root.GNum);
_root.Char.gotoAndStop("Girl" + _root.GNum);
_root.GirlArray[GNum].PlayerLove = _root.GirlArray[GNum].PlayerLove + 1;
if (_root.GNum == 0) {
_root.Text = "Good day Sir, What are we going to learn today?";
} else if (_root.GNum == 1) {
_root.Text = "Hi ya Boss! So, what's up for Todays Lesson?";
} else if (_root.GNum == 2) {
_root.Text = "Morning Sir, What are you going to teach me today?";
}
_root.TextBox.But.gotoAndPlay("Next");
_root.TextBox.play();
} else if (_root.EventNum == 2) {
_root.Plan.gotoAndStop(2);
_root.Face.gotoAndStop("Blank");
_root.Text = "Please Select a Skill";
_root.TextBox.gotoAndStop("State-2");
} else if (_root.EventNum == 3) {
_root.Face.Image.gotoAndStop("Angry");
_root.TextBox.gotoAndStop("State-2");
_root.GirlArray[GNum].PlayerLove = _root.GirlArray[GNum].PlayerLove - 5;
if (_root.GNum == 0) {
_root.Text = "Someone like me, would never lower herself to do THAT!";
} else if (_root.GNum == 1) {
_root.Text = "Sorry Boss, that isn't my cup of tea";
} else if (_root.GNum == 2) {
_root.Text = "I'm sorry, sir, but I don't feel right about doing that";
}
} else if (_root.EventNum == 4) {
_root.Face.Image.gotoAndStop("Happy");
_root.TextBox.gotoAndStop("State-2");
if (_root.GNum == 0) {
_root.Text = "I am gad to say I am an expert at that!";
} else if (_root.GNum == 1) {
_root.Text = "No sweat Boss! I'm a Pro! Wanna try something else?";
} else if (_root.GNum == 2) {
_root.Text = "I don't think you can teach me anything else about that.";
}
} else if (_root.EventNum == 5) {
_root.Plan.gotoAndStop(_root.GSkill + 3);
_root.TextBox.gotoAndStop("Action-2");
} else if (_root.EventNum == 6) {
if (_root.GSkill < 4) {
_root.TextBox.gotoAndStop("Normal-2");
TempEXP = _root.GirlArray[_root.GNum].Skills[_root.GSkill].Exp;
_root.GirlArray[_root.GNum].Skills[_root.GSkill].Exp = _root.GirlArray[_root.GNum].Skills[_root.GSkill].Exp + _root.GirlArray[_root.GNum].Skills[_root.GSkill].Learn;
Fee = _root.GirlArray[_root.GNum].Skills[_root.GSkill].EXP / 2;
_root.Text = _root.GirlArray[_root.GNum].Name + " has increase in her skill.";
if ((TempEXP < 30) && (_root.GirlArray[_root.GNum].Skills[_root.GSkill].EXP >= 30)) {
WageUp = _root.GirlArray[_root.GNum].Skills[_root.GSkill].Price * 2;
_root.GirlArray[_root.GNum].Wage = _root.GirlArray[_root.GNum].Wage + WageUp;
_root.Text = _root.Text + (" She can now perform this skill on clients. Her wage has increased by " + WageUp);
}
if ((TempEXP < 50) && (_root.GirlArray[_root.GNum].Skills[_root.GSkill].EXP >= 50)) {
WageUp = _root.GirlArray[_root.GNum].Skills[_root.GSkill].Price * 2;
_root.GirlArray[_root.GNum].Wage = _root.GirlArray[_root.GNum].Wage + WageUp;
_root.Text = _root.Text + (" Her wage has increased by " + WageUp);
}
if ((TempEXP < 100) && (_root.GirlArray[_root.GNum].Skills[_root.GSkill].EXP >= 100)) {
WageUp = _root.GirlArray[_root.GNum].Skills[_root.GSkill].Price * 2;
_root.GirlArray[_root.GNum].Wage = _root.GirlArray[_root.GNum].Wage + WageUp;
_root.Text = _root.Text + (((" " + _root.GirlArray[_root.GNum].Name) + " has mastered the skill. Her wage has increased by ") + WageUp);
}
_root.GirlArray[_root.GNum].Health = _root.GirlArray[_root.GNum].Health - 10;
TotalEXP = 0;
c = 0;
while (c < 10) {
TotalEXP = TotalEXP + _root.GirlArray[_root.GNum].Skills[c].EXP;
c++;
}
if ((TotalEXP < 161) && (_root.GirlArray[_root.GNum].Popular < 1)) {
_root.GirlArray[_root.GNum].Popular = 1;
} else if ((TotalEXP > 319) && (_root.GirlArray[_root.GNum].Popular < 2)) {
_root.GirlArray[_root.GNum].Popular = 2;
_root.Text = _root.Text + " populatity has Increased";
} else if ((TotalEXP > 479) && (_root.GirlArray[_root.GNum].Popular < 3)) {
_root.GirlArray[_root.GNum].Popular = 3;
_root.Text = _root.Text + " populatity has Increased";
} else if ((TotalEXP > 639) && (_root.GirlArray[_root.GNum].Popular < 4)) {
_root.GirlArray[_root.GNum].Popular = 4;
_root.Text = _root.Text + " populatity has Increased";
} else if ((TotalEXP > 799) && (_root.GirlArray[_root.GNum].Popular < 5)) {
_root.GirlArray[_root.GNum].Popular = 5;
_root.Text = _root.Text + " populatity has Increased";
}
}
} else if (_root.EventNum == 7) {
_root.Text = "";
_root.Char.gotoAndStop("Blank");
_root.Face.gotoAndStop("Blank");
_root.TextBox.play();
gotoAndStop (5);
} else if (_root.EventNum == 8) {
_root.Face.Image.gotoAndStop("Happy");
_root.TextBox.gotoAndStop("State-2");
if (_root.GNum == 0) {
_root.Text = "I think I need more Experince before I try that";
} else if (_root.GNum == 1) {
_root.Text = "Well Boss, I could do with some more experince in the basic's first";
} else if (_root.GNum == 2) {
_root.Text = "I really should get good at the basic's before I try this..";
}
} else if (_root.EventNum == 9) {
_root.Face.gotoAndStop("Girl" + _root.GNum);
_root.Char.gotoAndStop("Girl" + _root.GNum);
_root.Plan.gotoAndStop(1);
_root.GirlArray[GNum].PlayerLove = _root.GirlArray[GNum].PlayerLove - 2;
if (_root.GNum == 0) {
_root.Text = "Okay Sir, I'll see you some other time..";
} else if (_root.GNum == 1) {
_root.Text = "Not learning today? Well, you're the boss!";
} else if (_root.GNum == 2) {
_root.Text = "I'll just train some other day then Sir..";
}
_root.TextBox.But.gotoAndPlay("Next");
_root.TextBox.gotoAndPlay("Normal-2");
} else if (_root.EventNum == 10) {
_root.Text = "";
_root.Char.gotoAndStop("Blank");
_root.Face.gotoAndStop("Blank");
_root.TextBox.play();
gotoAndStop (5);
}
} else if (_root.EventName == "Mayor") {
if (_root.EventNum == 1) {
_root.Text = "Hello Dear Chap, I've come for this months rent, 150 Coins";
_root.TextBox.play();
_root.Face.gotoAndStop("Mayor");
_root.Char.gotoAndStop("Mayor");
} else if (_root.EventNum == 2) {
_root.Money = _root.Money - 150;
_root.TotalMoneyOut = _root.TotalMoneyOut + 150;
_root.Text = "What? you can't pay? I'm sorry, but with all the pressure to close this place.. I'll have to close you down.";
_root.gotoAndStop("Credits");
} else if (_root.EventNum == 4) {
_root.Money = _root.Money - 150;
_root.TotalMoneyOut = _root.TotalMoneyOut + 150;
_root.Text = "Thank you. I'll come around again next month.";
} else if (_root.EventNum == 5) {
_root.Text = "";
_root.Char.gotoAndStop("Blank");
_root.Face.gotoAndStop("Blank");
_root.TextBox.play();
_root.Mayor = false;
}
} else if (_root.EventName == "Doctor") {
if (_root.EventNum == 1) {
_root.Text = "Well... Good Day, I hear one of your girls is unwell? Which one?";
_root.TextBox.gotoAndPlay("Girls");
_root.Face.gotoAndStop("Doctor");
_root.Char.gotoAndStop("Doctor");
} else if (_root.EventNum == 2) {
_root.Text = "Oh? There is nothing wrong with her!";
_root.TextBox.gotoAndStop("Normal-2");
} else if (_root.EventNum == 3) {
_root.Text = "The Doctor Leaves";
_root.Face.gotoAndStop("Blank");
_root.Char.gotoAndStop("Blank");
_root.Doctor = false;
} else if ((_root.EventNum == 4) && (_root.Doctor == true)) {
Fee = Math.round((_root.GirlArray[GNum].Wage / 4) * (((100 - _root.GirlArray[GNum].Health) / 10) + 15));
_root.Text = "I can deal with that no problem! But it'll cost you " + Fee;
_root.TextBox.gotoAndStop("Question-2");
} else if (_root.EventNum == 5) {
_root.Text = "The Doctor Leaves";
_root.TextBox.gotoAndStop("Normal-2");
_root.Face.gotoAndStop("Blank");
_root.Char.gotoAndStop("Blank");
_root.Doctor = false;
_root.EventNum = 6;
} else if ((_root.EventNum == 6) && (_root.Doctor == true)) {
_root.Text = _root.GirlArray[GNum].Name + " is better now and can go back to work next week. The Doctor Leaves.";
_root.TextBox.gotoAndStop("Normal-2");
_root.Money = _root.Money - Fee;
_root.TotalMoneyOut = _root.TotalMoneyOut + Fee;
_root.GirlHealth[GNum].ill = false;
_root.GirlArray[GNum].Week[0].Type = "Off";
_root.GirlArray[GNum].Week[1].Type = "Off";
_root.GirlArray[GNum].Week[2].Type = "Off";
_root.GirlArray[GNum].Week[3].Type = "Off";
_root.GirlArray[GNum].Week[4].Type = "Off";
_root.GirlArray[GNum].Week[5].Type = "Off";
_root.GirlArray[GNum].Week[6].Type = "Off";
_root.GirlArray[GNum].Health = 100;
_root.Face.gotoAndStop("Blank");
_root.Char.gotoAndStop("Blank");
_root.Doctor = false;
} else if (_root.EventNum == 7) {
_root.Text = "";
_root.Char.gotoAndStop("Blank");
_root.Face.gotoAndStop("Blank");
_root.TextBox.play();
}
}
}
function Whatdate() {
if ((_root.Month == 1) && (_root.DateNum == 32)) {
_root.DateNum = 1;
_root.Month = 2;
} else if ((_root.Month == 2) && (_root.DateNum == 29)) {
_root.DateNum = 1;
_root.Month = 3;
} else if ((_root.Month == 3) && (_root.DateNum == 32)) {
_root.DateNum = 1;
_root.Month = 4;
} else if ((_root.Month == 4) && (_root.DateNum == 31)) {
_root.DateNum = 1;
_root.Month = 5;
} else if ((_root.Month == 5) && (_root.DateNum == 32)) {
_root.DateNum = 1;
_root.Month = 6;
} else if ((_root.Month == 6) && (_root.DateNum == 31)) {
_root.DateNum = 1;
_root.Month = 7;
} else if ((_root.Month == 7) && (_root.DateNum == 32)) {
_root.DateNum = 1;
_root.Month = 8;
} else if ((_root.Month == 8) && (_root.DateNum == 32)) {
_root.DateNum = 1;
_root.Month = 9;
} else if ((_root.Month == 9) && (_root.DateNum == 31)) {
_root.DateNum = 1;
_root.Month = 10;
} else if ((_root.Month == 10) && (_root.DateNum == 32)) {
_root.DateNum = 1;
_root.Month = 11;
} else if ((_root.Month == 11) && (_root.DateNum == 31)) {
_root.DateNum = 1;
_root.Month = 12;
} else if ((_root.Month == 12) && (_root.DateNum == 32)) {
_root.DateNum = 1;
_root.Month = 1;
_root.Year = _root.Year + 1;
}
_root.FullDate = (((_root.DateNum + "/") + _root.Month) + "/") + _root.Year;
}
function GirlInteract(GirlName, Interact) {
if (GirlName == "May") {
if (Interact == "Talk") {
_root.Text = ("Today, we are expecting " + _root.Expected) + " Customers, Sir.";
_root.Face.gotoAndStop("May");
_root.Char.gotoAndStop("May");
_root.TextBox.play();
} else if (Interact == "Bis") {
_root.Text = "Which Girl's schedule do you wish to see?";
_root.Face.gotoAndStop("May");
_root.Char.gotoAndStop("May");
_root.TextBox.gotoAndPlay("Girls");
} else if (Interact == "Stat") {
_root.Text = "I'm not one of the Girls Sir, I'm only the Receptionist here";
_root.Face.gotoAndStop("May");
_root.Char.gotoAndStop("May");
_root.TextBox.play();
}
} else if (GirlName == "Girl0") {
if (Interact == "Talk") {
_root.GirlArray[0].PlayerLove = _root.GirlArray[0].PlayerLove + 1;
if (_root.DateNum == 1) {
_root.Text = ("Good Day Sir. My Name is " + _root.GirlArray[0].Name) + ". I look forward to working for you.";
_root.Face.gotoAndStop("Girl0");
_root.Face.Image.gotoAndStop("Happy");
} else if (_root.GirlArray[0].PlayerLove <= 10) {
_root.Text = "Good Day Sir. I trust nothing is the matter?";
_root.Face.gotoAndStop("Girl0");
_root.Face.Image.gotoAndStop("Normal");
} else if (_root.GirlArray[0].PlayerLove <= 20) {
_root.Text = "Good Day Sir, I hope you are having a good day";
_root.Face.gotoAndStop("Girl0");
_root.Face.Image.gotoAndStop("Normal");
} else if (_root.GirlArray[0].PlayerLove <= 30) {
_root.Text = "Good Day Sir, I always enjoy seeing you";
_root.Face.gotoAndStop("Girl0");
_root.Face.Image.gotoAndStop("Happy");
} else {
_root.Text = "Good Day Sir, Its a peasure to have you around the place.";
_root.Face.gotoAndStop("Girl0");
_root.Face.Image.gotoAndStop("Happy");
}
_root.TextBox.play();
} else if (Interact == "Bis") {
if (_root.GirlArray[0].ClientsPerWeek == 0) {
_root.Text = ("I wonder what's the matter.. I have had " + _root.GirlArray[0].ClientsPerWeek) + " clients this week";
_root.Face.gotoAndStop("Girl0");
_root.Face.Image.gotoAndStop("Upset");
_root.Char.gotoAndStop("Girl0");
} else if (_root.GirlArray[0].ClientsPerWeek <= 5) {
_root.Text = ("I wonder if something is wrong with me.. I have only had " + _root.GirlArray[0].ClientsPerWeek) + " clients so far this week.";
_root.Face.gotoAndStop("Girl0");
_root.Face.Image.gotoAndStop("Upset");
_root.Char.gotoAndStop("Girl0");
} else if (_root.GirlArray[0].ClientsPerWeek > 5) {
_root.Text = _root.GirlArray[0].ClientsPerWeek + " this week.. I guess that's not a bad amount.";
_root.Face.gotoAndStop("Girl0");
_root.Face.Image.gotoAndStop("Normal");
_root.Char.gotoAndStop("Girl0");
}
_root.TextBox.play();
} else if (Interact == "Stat") {
_root.GNum = 0;
_root.Char.gotoAndStop("Girl0");
_root.Stats.play();
}
} else if (GirlName == "Girl1") {
if (Interact == "Talk") {
_root.GirlArray[1].PlayerLove = _root.GirlArray[1].PlayerLove + 1;
if (_root.DateNum == 1) {
_root.Text = ("Hey Boss, I'm " + _root.GirlArray[1].Name) + ". Hope you stick around";
_root.Face.gotoAndStop("Girl1");
_root.Face.Image.gotoAndStop("Happy");
} else if (_root.GirlArray[1].PlayerLove <= 10) {
_root.Text = "Hiya Boss, Anything running smooth?";
_root.Face.gotoAndStop("Girl1");
_root.Face.Image.gotoAndStop("Normal");
} else if (_root.GirlArray[1].PlayerLove <= 20) {
_root.Text = "Hi Boss, You doing well?";
_root.Face.gotoAndStop("Girl1");
_root.Face.Image.gotoAndStop("Normal");
} else if (_root.GirlArray[1].PlayerLove <= 30) {
_root.Text = "Hey, Good to see you Boss!";
_root.Face.gotoAndStop("Girl1");
_root.Face.Image.gotoAndStop("Happy");
} else {
_root.Text = "Great to see ya Boss";
_root.Face.gotoAndStop("Girl1");
_root.Face.Image.gotoAndStop("Happy");
}
_root.TextBox.play();
} else if (Interact == "Bis") {
if (_root.GirlArray[1].ClientsPerWeek == 0) {
_root.Text = ("Oh damn, I can't believe I had " + _root.GirlArray[1].ClientsPerWeek) + " clients all week";
_root.Face.gotoAndStop("Girl1");
_root.Face.Image.gotoAndStop("Sad");
_root.Char.gotoAndStop("Girl1");
} else if (_root.GirlArray[1].ClientsPerWeek <= 5) {
_root.Text = ("What's wrong with men? A Cute babe like me and only " + _root.GirlArray[1].ClientsPerWeek) + " clients all week?";
_root.Face.gotoAndStop("Girl1");
_root.Face.Image.gotoAndStop("Sad");
_root.Char.gotoAndStop("Girl1");
} else if (_root.GirlArray[1].ClientsPerWeek > 5) {
_root.Text = ("It's odd I only got " + _root.GirlArray[1].ClientsPerWeek) + " clients this week, but I guess that's not too bad.";
_root.Face.gotoAndStop("Girl1");
_root.Face.Image.gotoAndStop("Normal");
_root.Char.gotoAndStop("Girl1");
}
_root.TextBox.play();
} else if (Interact == "Stat") {
_root.GNum = 1;
_root.Char.gotoAndStop("Girl1");
_root.Stats.play();
}
} else if (GirlName == "Girl2") {
if (Interact == "Talk") {
_root.GirlArray[2].PlayerLove = _root.GirlArray[2].PlayerLove + 1;
if (_root.DateNum == 1) {
_root.Text = ("Hello Sir. My name is " + _root.GirlArray[2].Name) + ". I look forward to working for you.";
_root.Face.gotoAndStop("Girl2");
_root.Face.Image.gotoAndStop("Happy");
} else if (_root.GirlArray[2].PlayerLove <= 10) {
_root.Text = "Hello Sir. I hope things are going well.";
_root.Face.gotoAndStop("Girl2");
_root.Face.Image.gotoAndStop("Normal");
} else if (_root.GirlArray[2].PlayerLove <= 20) {
_root.Text = "Hello Sir, nothing wrong, I hope?";
_root.Face.gotoAndStop("Girl2");
_root.Face.Image.gotoAndStop("Normal");
} else if (_root.GirlArray[2].PlayerLove <= 30) {
_root.Text = "Hi Sir, good to see you dropping by";
_root.Face.gotoAndStop("Girl2");
_root.Face.Image.gotoAndStop("Happy");
} else {
_root.Text = "Sir, it's aways a good to see you";
_root.Face.gotoAndStop("Girl2");
_root.Face.Image.gotoAndStop("Happy");
}
_root.TextBox.play();
} else if (Interact == "Bis") {
if (_root.GirlArray[2].ClientsPerWeek == 0) {
_root.Text = ("I must be sliping if I have had " + _root.GirlArray[2].ClientsPerWeek) + " this week";
_root.Face.gotoAndStop("Girl2");
_root.Face.Image.gotoAndStop("Sad");
_root.Char.gotoAndStop("Girl2");
} else if (_root.GirlArray[2].ClientsPerWeek <= 5) {
_root.Text = ("I need to try harder if I only have " + _root.GirlArray[2].ClientsPerWeek) + " clients all week?";
_root.Face.gotoAndStop("Girl2");
_root.Face.Image.gotoAndStop("Sad");
_root.Char.gotoAndStop("Girl2");
} else if (_root.GirlArray[2].ClientsPerWeek > 5) {
_root.Text = ("Business seems to be going well since I have had " + _root.GirlArray[2].ClientsPerWeek) + " clients this week.";
_root.Face.gotoAndStop("Girl2");
_root.Face.Image.gotoAndStop("Normal");
_root.Char.gotoAndStop("Girl2");
}
_root.TextBox.play();
} else if (Interact == "Stat") {
_root.GNum = 2;
_root.Char.gotoAndStop("Girl2");
_root.Stats.play();
}
}
}
function BusyGirl(GirlNum) {
if (_root.Day == "Monday") {
DayNumTemp = 0;
} else if (_root.Day == "Tuesday") {
DayNumTemp = 1;
} else if (_root.Day == "Wednesday") {
DayNumTemp = 2;
} else if (_root.Day == "Thursday") {
DayNumTemp = 3;
} else if (_root.Day == "Friday") {
DayNumTemp = 4;
} else if (_root.Day == "Saturday") {
DayNumTemp = 5;
} else if (_root.Day == "Sunday") {
DayNumTemp = 6;
}
if (_root.GirlArray[GirlNum].Week[DayNumTemp].Type == "Work") {
_root.EventName = "Blank";
_root.Text = _root.GirlArray[GirlNum].Name + " is working today so can not be disturbed.";
_root.TextBox.play();
} else if (_root.GirlArray[GirlNum].Week[DayNumTemp].Type == "ill") {
_root.EventName = "Blank";
_root.Text = _root.GirlArray[GirlNum].Name + " is ill today so can not be disturbed.";
_root.TextBox.play();
} else {
_root.gotoAndStop("Bed" + GirlNum);
}
}
function DaysBussiness() {
_root.Expected = 0;
if (_root.Day == "Monday") {
_root.GirlArray[0].Money = 0;
_root.GirlArray[1].Money = 0;
_root.GirlArray[2].Money = 0;
_root.GirlArray[0].ClientsPerWeek = 0;
_root.GirlArray[1].ClientsPerWeek = 0;
_root.GirlArray[2].ClientsPerWeek = 0;
DayNumTemp = 0;
} else if (_root.Day == "Tuesday") {
DayNumTemp = 1;
} else if (_root.Day == "Wednesday") {
DayNumTemp = 2;
} else if (_root.Day == "Thursday") {
DayNumTemp = 3;
} else if (_root.Day == "Friday") {
DayNumTemp = 4;
} else if (_root.Day == "Saturday") {
DayNumTemp = 5;
} else if (_root.Day == "Sunday") {
DayNumTemp = 6;
}
i = 0;
while (i < 3) {
_root.GirlArray[i].Week[0].Clients = 0;
_root.GirlArray[i].Week[1].Clients = 0;
_root.GirlArray[i].Week[2].Clients = 0;
_root.GirlArray[i].Week[3].Clients = 0;
_root.GirlArray[i].Week[4].Clients = 0;
_root.GirlArray[i].Week[5].Clients = 0;
_root.GirlArray[i].Week[6].Clients = 0;
A = 0;
while (A < 5) {
_root.GirlArray[i].Clients[A].Action1 = 10;
_root.GirlArray[i].Clients[A].Action2 = 10;
_root.GirlArray[i].Clients[A].Action3 = 10;
A++;
}
i++;
}
i = 0;
while (i < 3) {
if (_root.GirlArray[i].Week[DayNumTemp].Type == "ill") {
if (_root.GirlArray[i].Health < 100) {
_root.GirlArray[i].Health = _root.GirlArray[i].Health + 10;
}
} else if (_root.GirlArray[i].Week[DayNumTemp].Type == "Off") {
if (_root.GirlArray[i].Health < 81) {
_root.GirlArray[i].Health = _root.GirlArray[i].Health + 20;
_root.GirlArray[i].PlayerLove = _root.GirlArray[i].PlayerLove + 2;
} else if (_root.GirlArray[i].Health < 100) {
_root.GirlArray[i].Health = 100;
}
} else if (_root.GirlArray[i].Week[DayNumTemp].Type == "Train") {
_root.GirlArray[i].Week[DayNumTemp].Clients = 0;
} else if (_root.GirlArray[i].Week[DayNumTemp].Type == "Work") {
_root.GirlArray[i].Week[DayNumTemp].Clients = random(_root.GirlArray[i].Popular + 1);
_root.Expected = _root.Expected + _root.GirlArray[i].Week[DayNumTemp].Clients;
_root.GirlArray[i].Health = _root.GirlArray[i].Health - 2;
B = 1;
while (B <= _root.GirlArray[i].Week[DayNumTemp].Clients) {
_root.GirlArray[i].Clients[B - 1].Name = random(3);
if ((_root.GirlArray[i].Clients[B - 1].Name == 0) && (i != 0)) {
_root.GirlArray[i].Clients[B - 1].Name = random(3);
} else if ((_root.GirlArray[i].Clients[B - 1].Name == 1) && (i != 1)) {
_root.GirlArray[i].Clients[B - 1].Name = random(3);
} else if ((_root.GirlArray[i].Clients[B - 1].Name == 2) && (i != 2)) {
_root.GirlArray[i].Clients[B - 1].Name = random(3);
}
_root.GirlArray[i].ClientsPerWeek = _root.GirlArray[i].ClientsPerWeek + _root.GirlArray[i].Week[DayNumTemp].Clients;
_root.GirlArray[i].TotalClients = _root.GirlArray[i].TotalClients + _root.GirlArray[i].Week[DayNumTemp].Clients;
_root.GirlArray[i].Health = _root.GirlArray[i].Health - 5;
Loop = true;
do {
RanNum = random(11);
if (RanNum == 10) {
Loop = false;
}
if ((_root.Clients[b - 1].Likes[RanNum] == true) && (_root.GirlArray[i].Skills[RanNum].Exp >= 30)) {
_root.GirlArray[i].Clients[b - 1].Action1 = RanNum;
_root.GirlArray[i].Money = _root.GirlArray[i].Money + Math.round(1.2 * (_root.GirlArray[i].Skills[RanNum].Price + (_root.GirlArray[i].Skills[RanNum].Price * (_root.GirlArray[i].Skills[RanNum].EXP / 100))));
if ((_root.GirlArray[i].Skills[RanNum].Exp + _root.GirlArray[i].Skills[RanNum].Job) <= 150) {
_root.GirlArray[i].Skills[RanNum].Exp = _root.GirlArray[i].Skills[RanNum].Exp + _root.GirlArray[i].Skills[RanNum].Job;
} else if (_root.GirlArray[i].Skills[RanNum].Exp < 150) {
_root.GirlArray[i].Skills[RanNum].Exp = 150;
}
if ((RanNum > 0) && (_root.Day != "Sunday")) {
if (_root.FullDate != "20/1/2011") {
_root.AttackClient(_root.GirlArray[i].Money, i);
}
}
Loop = false;
}
} while (Loop != false);
Loop = true;
do {
RanNum = random(11);
if (RanNum == 10) {
Loop = false;
}
if ((_root.Clients[b - 1].Likes[RanNum] == true) && (_root.GirlArray[i].Skills[RanNum].Exp >= 30)) {
_root.GirlArray[i].Clients[b - 1].Action2 = RanNum;
_root.GirlArray[i].Money = _root.GirlArray[i].Money + (_root.GirlArray[i].Skills[RanNum].Price + Math.round(_root.GirlArray[i].Skills[RanNum].Price * (_root.GirlArray[i].Skills[RanNum].EXP / 100)));
if ((_root.GirlArray[i].Skills[RanNum].Exp + _root.GirlArray[i].Skills[RanNum].Job) <= 150) {
_root.GirlArray[i].Skills[RanNum].Exp = _root.GirlArray[i].Skills[RanNum].Exp + _root.GirlArray[i].Skills[RanNum].Job;
} else if (_root.GirlArray[i].Skills[RanNum].Exp < 150) {
_root.GirlArray[i].Skills[RanNum].Exp = 150;
}
if ((RanNum > 0) && (_root.Day != "Sunday")) {
_root.AttackClient(_root.GirlArray[i].Money, i);
}
Loop = false;
}
} while (Loop != false);
Loop = true;
do {
RanNum = random(11);
if (RanNum == 10) {
Loop = false;
}
if ((_root.Clients[b - 1].Likes[RanNum] == true) && (_root.GirlArray[i].Skills[RanNum].Exp >= 30)) {
_root.GirlArray[i].Clients[b - 1].Action3 = RanNum;
_root.GirlArray[i].Money = _root.GirlArray[i].Money + (_root.GirlArray[i].Skills[RanNum].Price + Math.round(_root.GirlArray[i].Skills[RanNum].Price * (_root.GirlArray[i].Skills[RanNum].EXP / 100)));
if ((_root.GirlArray[i].Skills[RanNum].Exp + _root.GirlArray[i].Skills[RanNum].Job) <= 150) {
_root.GirlArray[i].Skills[RanNum].Exp = _root.GirlArray[i].Skills[RanNum].Exp + _root.GirlArray[i].Skills[RanNum].Job;
} else if (_root.GirlArray[i].Skills[RanNum].Exp < 150) {
_root.GirlArray[i].Skills[RanNum].Exp = 150;
}
if ((RanNum > 0) && (_root.Day != "Sunday")) {
_root.AttackClient(_root.GirlArray[i].Money, i);
}
Loop = false;
}
} while (Loop != false);
B++;
}
}
i++;
}
}
function TrainGirl(GirlNum) {
if (_root.Day == "Monday") {
DayNumTemp = 0;
} else if (_root.Day == "Tuesday") {
DayNumTemp = 1;
} else if (_root.Day == "Wednesday") {
DayNumTemp = 2;
} else if (_root.Day == "Thursday") {
DayNumTemp = 3;
} else if (_root.Day == "Friday") {
DayNumTemp = 4;
} else if (_root.Day == "Saturday") {
DayNumTemp = 5;
} else if (_root.Day == "Sunday") {
DayNumTemp = 6;
}
if ((_root.GirlArray[GirlNum].Week[DayNumTemp].Type == "Train") && ((_root.TrainDone == false) || (_root.TrainDone == "false"))) {
_root.GNum = GirlNum;
_root.TrainDone = true;
_root.gotoAndStop("Loft");
}
}
function AttackClient(Pay, Num) {
temp = random(100);
if ((_root.Attacking == false) && (temp == 99)) {
_root.ClientPay = Pay;
_root.AttackNum = Num;
_root.Attacking = true;
}
}
function getCookie(c, n) {
var so = SharedObject.getLocal(c);
return(so.data[n]);
}
function SaveCookie(Name, Data) {
var TempData = Data;
_root.so.data[Name] = TempData;
TempData = "";
_root.so.flush();
}
fscommand ("showmenu", "false");
fscommand ("allowscale", "true");
Mouse.hide();
_root.Attacking = false;
_root.SName = "On";
startDrag (cursor, true);
stop();
_root.SFX1 = new Sound();
_root.SFX1.attachSound("Tit");
_root.SFX2 = new Sound();
_root.SFX2.attachSound("Suck");
_root.SFX3 = new Sound();
_root.SFX3.attachSound("Hand");
_root.Text = "";
_root.GInteract = "";
_root.Money = 1000;
_root.WeeksTake = 0;
_root.TotalMoneyIn = 0;
_root.TotalMoneyOut = 0;
_root.TotalDays = 0;
_root.DateNum = 20;
_root.Day = "Sunday";
_root.Year = 2010;
_root.Month = 1;
_root.Whatdate();
_root.PlanTrig = true;
_root.Expected = 0;
_root.Player_Name = "";
_root.EventName = "";
_root.EventNum = 0;
_root.Doctor = false;
_root.Mayor = false;
_root.NightOver = false;
_root.Clients = new Array([0], [1], [2], [3], [4], [5], [6], [7], [8], [9]);
_root.Clients[0].Likes = new Array(true, true, true, false, true, false, false, false, true, true);
_root.Clients[1].Likes = new Array(false, true, false, true, true, true, false, true, false, false);
_root.Clients[2].Likes = new Array(true, true, true, false, false, false, true, false, true, true);
_root.Clients[3].Likes = new Array(false, false, true, true, true, false, true, false, true, true);
_root.GirlArray = new Array([0], [1], [2], [3]);
_root.GirlHealth = new Array([0], [1], [2]);
_root.BackUpWeek = new Array([0], [1], [2]);
_root.GirlArray[0].Name = "June";
_root.GirlArray[0].Wage = 10;
_root.GirlArray[0].Money = 0;
_root.GirlArray[0].BaseFee = 2;
_root.GirlArray[0].PlayerLove = 0;
_root.GirlArray[0].Health = 100;
_root.GirlArray[0].Happyness = 50;
_root.GirlArray[0].ClientsPerWeek = 0;
_root.GirlArray[0].TotalClients = 0;
_root.GirlHealth[0].ill = false;
_root.GirlArray[0].Popular = 1;
_root.GirlArray[0].Skills = new Array([0], [1], [2], [3], [4], [5], [6], [7], [8], [9]);
_root.GirlArray[0].Skills[0].Exp = 30;
_root.GirlArray[0].Skills[0].Learn = 15;
_root.GirlArray[0].Skills[0].Job = 2;
_root.GirlArray[0].Skills[0].Price = 8;
_root.GirlArray[0].Skills[1].Exp = 30;
_root.GirlArray[0].Skills[1].Learn = 10;
_root.GirlArray[0].Skills[1].Job = 1;
_root.GirlArray[0].Skills[1].Price = 8;
_root.GirlArray[0].Skills[2].Exp = 0;
_root.GirlArray[0].Skills[2].Learn = 10;
_root.GirlArray[0].Skills[2].Job = 1;
_root.GirlArray[0].Skills[2].Price = 6;
_root.GirlArray[0].Skills[3].Exp = 0;
_root.GirlArray[0].Skills[3].Learn = 5;
_root.GirlArray[0].Skills[3].Job = 1;
_root.GirlArray[0].Skills[3].Price = 12;
_root.GirlArray[0].Skills[4].Exp = 0;
_root.GirlArray[0].Skills[4].Learn = 20;
_root.GirlArray[0].Skills[4].Job = 2;
_root.GirlArray[0].Skills[4].Price = 16;
_root.GirlArray[0].Skills[5].Exp = 0;
_root.GirlArray[0].Skills[5].Learn = 0;
_root.GirlArray[0].Skills[5].Job = 0;
_root.GirlArray[0].Skills[5].Price = 24;
_root.GirlArray[0].Skills[6].Exp = 0;
_root.GirlArray[0].Skills[6].Learn = 15;
_root.GirlArray[0].Skills[6].Job = 2;
_root.GirlArray[0].Skills[6].Price = 8;
_root.GirlArray[0].Skills[7].Exp = 0;
_root.GirlArray[0].Skills[7].Learn = 10;
_root.GirlArray[0].Skills[7].Job = 1;
_root.GirlArray[0].Skills[7].Price = 30;
_root.GirlArray[0].Skills[8].Exp = 0;
_root.GirlArray[0].Skills[8].Learn = 5;
_root.GirlArray[0].Skills[8].Job = 1;
_root.GirlArray[0].Skills[8].Price = 40;
_root.GirlArray[0].Skills[9].Exp = 0;
_root.GirlArray[0].Skills[9].Learn = 5;
_root.GirlArray[0].Skills[9].Job = 2;
_root.GirlArray[0].Skills[9].Price = 40;
_root.GirlArray[0].Clients = new Array([0], [1], [2], [3], [4]);
_root.GirlArray[0].Clients[0].Action1 = 10;
_root.GirlArray[0].Clients[0].Action2 = 10;
_root.GirlArray[0].Clients[0].Action3 = 10;
_root.GirlArray[0].Clients[0].Name = 0;
_root.GirlArray[0].Clients[1].Action1 = 10;
_root.GirlArray[0].Clients[1].Action2 = 10;
_root.GirlArray[0].Clients[1].Action3 = 10;
_root.GirlArray[0].Clients[1].Name = 0;
_root.GirlArray[0].Clients[2].Action1 = 10;
_root.GirlArray[0].Clients[2].Action2 = 10;
_root.GirlArray[0].Clients[2].Action3 = 10;
_root.GirlArray[0].Clients[2].Name = 0;
_root.GirlArray[0].Clients[3].Action1 = 10;
_root.GirlArray[0].Clients[3].Action2 = 10;
_root.GirlArray[0].Clients[3].Action3 = 10;
_root.GirlArray[0].Clients[3].Name = 0;
_root.GirlArray[0].Clients[4].Action1 = 10;
_root.GirlArray[0].Clients[4].Action2 = 10;
_root.GirlArray[0].Clients[4].Action3 = 10;
_root.GirlArray[0].Clients[4].Name = 0;
_root.GirlArray[0].Week = new Array([0], [1], [2], [3], [4], [5], [6]);
_root.BackUpWeek[0].Week = new Array([0], [1], [2], [3], [4], [5], [6]);
_root.GirlArray[0].Week[0].Type = "";
_root.GirlArray[0].Week[0].Clients = 0;
_root.GirlArray[0].Week[1].Type = "";
_root.GirlArray[0].Week[1].Clients = 0;
_root.GirlArray[0].Week[2].Type = "";
_root.GirlArray[0].Week[2].Clients = 0;
_root.GirlArray[0].Week[3].Type = "";
_root.GirlArray[0].Week[3].Clients = 0;
_root.GirlArray[0].Week[4].Type = "";
_root.GirlArray[0].Week[4].Clients = 0;
_root.GirlArray[0].Week[5].Type = "";
_root.GirlArray[0].Week[5].Clients = 0;
_root.GirlArray[0].Week[6].Type = "Off";
_root.GirlArray[0].Week[6].Clients = 0;
_root.GirlArray[1].Name = "August";
_root.GirlArray[1].Wage = 10;
_root.GirlArray[1].Money = 0;
_root.GirlArray[1].BaseFee = 2;
_root.GirlArray[1].PlayerLove = 0;
_root.GirlArray[1].Health = 100;
_root.GirlArray[1].Happyness = 50;
_root.GirlArray[1].ClientsPerWeek = 0;
_root.GirlArray[1].TotalClients = 0;
_root.GirlHealth[1].ill = false;
_root.GirlArray[1].Popular = 1;
_root.GirlArray[1].Skills = new Array([0], [1], [2], [3], [4], [5], [6], [7], [8], [9]);
_root.GirlArray[1].Skills[0].Exp = 0;
_root.GirlArray[1].Skills[0].Learn = 0;
_root.GirlArray[1].Skills[0].Job = 0;
_root.GirlArray[1].Skills[0].Price = 0;
_root.GirlArray[1].Skills[1].Exp = 0;
_root.GirlArray[1].Skills[1].Learn = 0;
_root.GirlArray[1].Skills[1].Job = 0;
_root.GirlArray[1].Skills[1].Price = 0;
_root.GirlArray[1].Skills[2].Exp = 30;
_root.GirlArray[1].Skills[2].Learn = 10;
_root.GirlArray[1].Skills[2].Job = 1;
_root.GirlArray[1].Skills[2].Price = 6;
_root.GirlArray[1].Skills[3].Exp = 30;
_root.GirlArray[1].Skills[3].Learn = 10;
_root.GirlArray[1].Skills[3].Job = 1;
_root.GirlArray[1].Skills[3].Price = 12;
_root.GirlArray[1].Skills[4].Exp = 0;
_root.GirlArray[1].Skills[4].Learn = 20;
_root.GirlArray[1].Skills[4].Job = 2;
_root.GirlArray[1].Skills[4].Price = 16;
_root.GirlArray[1].Skills[5].Exp = 0;
_root.GirlArray[1].Skills[5].Learn = 10;
_root.GirlArray[1].Skills[5].Job = 1;
_root.GirlArray[1].Skills[5].Price = 24;
_root.GirlArray[1].Skills[6].Exp = 0;
_root.GirlArray[1].Skills[6].Learn = 15;
_root.GirlArray[1].Skills[6].Job = 2;
_root.GirlArray[1].Skills[6].Price = 8;
_root.GirlArray[1].Skills[7].Exp = 0;
_root.GirlArray[1].Skills[7].Learn = 10;
_root.GirlArray[1].Skills[7].Job = 1;
_root.GirlArray[1].Skills[7].Price = 30;
_root.GirlArray[1].Skills[8].Exp = 0;
_root.GirlArray[1].Skills[8].Learn = 5;
_root.GirlArray[1].Skills[8].Job = 1;
_root.GirlArray[1].Skills[8].Price = 40;
_root.GirlArray[1].Skills[9].Exp = 0;
_root.GirlArray[1].Skills[9].Learn = 5;
_root.GirlArray[1].Skills[9].Job = 2;
_root.GirlArray[1].Skills[9].Price = 40;
_root.GirlArray[1].Clients = new Array([0], [1], [2], [3], [4]);
_root.GirlArray[1].Clients[0].Action1 = 10;
_root.GirlArray[1].Clients[0].Action2 = 10;
_root.GirlArray[1].Clients[0].Action3 = 10;
_root.GirlArray[1].Clients[0].Name = 0;
_root.GirlArray[1].Clients[1].Action1 = 10;
_root.GirlArray[1].Clients[1].Action2 = 10;
_root.GirlArray[1].Clients[1].Action3 = 10;
_root.GirlArray[1].Clients[1].Name = 0;
_root.GirlArray[1].Clients[2].Action1 = 10;
_root.GirlArray[1].Clients[2].Action2 = 10;
_root.GirlArray[1].Clients[2].Action3 = 10;
_root.GirlArray[1].Clients[2].Name = 0;
_root.GirlArray[1].Clients[3].Action1 = 10;
_root.GirlArray[1].Clients[3].Action2 = 10;
_root.GirlArray[1].Clients[3].Action3 = 10;
_root.GirlArray[1].Clients[3].Name = 0;
_root.GirlArray[1].Clients[4].Action1 = 10;
_root.GirlArray[1].Clients[4].Action2 = 10;
_root.GirlArray[1].Clients[4].Action3 = 10;
_root.GirlArray[1].Clients[4].Name = 0;
_root.GirlArray[1].Week = new Array([0], [1], [2], [3], [4], [5], [6]);
_root.BackUpWeek[1].Week = new Array([0], [1], [2], [3], [4], [5], [6]);
_root.GirlArray[1].Week[0].Type = "";
_root.GirlArray[1].Week[0].Clients = 0;
_root.GirlArray[1].Week[1].Type = "";
_root.GirlArray[1].Week[1].Clients = 0;
_root.GirlArray[1].Week[2].Type = "";
_root.GirlArray[1].Week[2].Clients = 0;
_root.GirlArray[1].Week[3].Type = "";
_root.GirlArray[1].Week[3].Clients = 0;
_root.GirlArray[1].Week[4].Type = "";
_root.GirlArray[1].Week[4].Clients = 0;
_root.GirlArray[1].Week[5].Type = "";
_root.GirlArray[1].Week[5].Clients = 0;
_root.GirlArray[1].Week[6].Type = "Off";
_root.GirlArray[1].Week[6].Clients = 0;
_root.GirlArray[2].Name = "April";
_root.GirlArray[2].Wage = 10;
_root.GirlArray[2].Money = 0;
_root.GirlArray[2].BaseFee = 2;
_root.GirlArray[2].PlayerLove = 0;
_root.GirlArray[2].Health = 100;
_root.GirlArray[2].Happyness = 50;
_root.GirlArray[2].ClientsPerWeek = 0;
_root.GirlArray[2].TotalClients = 0;
_root.GirlHealth[2].ill = false;
_root.GirlArray[2].Popular = 1;
_root.GirlArray[2].Skills = new Array([0], [1], [2], [3], [4], [5], [6], [7], [8], [9]);
_root.GirlArray[2].Skills[0].Exp = 0;
_root.GirlArray[2].Skills[0].Learn = 10;
_root.GirlArray[2].Skills[0].Job = 1;
_root.GirlArray[2].Skills[0].Price = 8;
_root.GirlArray[2].Skills[1].Exp = 30;
_root.GirlArray[2].Skills[1].Learn = 10;
_root.GirlArray[2].Skills[1].Job = 1;
_root.GirlArray[2].Skills[1].Price = 8;
_root.GirlArray[2].Skills[2].Exp = 30;
_root.GirlArray[2].Skills[2].Learn = 10;
_root.GirlArray[2].Skills[2].Job = 1;
_root.GirlArray[2].Skills[2].Price = 6;
_root.GirlArray[2].Skills[3].Exp = 0;
_root.GirlArray[2].Skills[3].Learn = 0;
_root.GirlArray[2].Skills[3].Job = 0;
_root.GirlArray[2].Skills[3].Price = 0;
_root.GirlArray[2].Skills[4].Exp = 0;
_root.GirlArray[2].Skills[4].Learn = 20;
_root.GirlArray[2].Skills[4].Job = 2;
_root.GirlArray[2].Skills[4].Price = 16;
_root.GirlArray[2].Skills[5].Exp = 0;
_root.GirlArray[2].Skills[5].Learn = 10;
_root.GirlArray[2].Skills[5].Job = 1;
_root.GirlArray[2].Skills[5].Price = 24;
_root.GirlArray[2].Skills[6].Exp = 0;
_root.GirlArray[2].Skills[6].Learn = 15;
_root.GirlArray[2].Skills[6].Job = 2;
_root.GirlArray[2].Skills[6].Price = 8;
_root.GirlArray[2].Skills[7].Exp = 0;
_root.GirlArray[2].Skills[7].Learn = 0;
_root.GirlArray[2].Skills[7].Job = 0;
_root.GirlArray[2].Skills[7].Price = 30;
_root.GirlArray[2].Skills[8].Exp = 0;
_root.GirlArray[2].Skills[8].Learn = 0;
_root.GirlArray[2].Skills[8].Job = 0;
_root.GirlArray[2].Skills[8].Price = 0;
_root.GirlArray[2].Skills[9].Exp = 0;
_root.GirlArray[2].Skills[9].Learn = 0;
_root.GirlArray[2].Skills[9].Job = 0;
_root.GirlArray[2].Skills[9].Price = 8;
_root.GirlArray[2].Clients = new Array([0], [1], [2], [3], [4]);
_root.GirlArray[2].Clients[0].Action1 = 10;
_root.GirlArray[2].Clients[0].Action2 = 10;
_root.GirlArray[2].Clients[0].Action3 = 10;
_root.GirlArray[2].Clients[0].Name = 0;
_root.GirlArray[2].Clients[1].Action1 = 10;
_root.GirlArray[2].Clients[1].Action2 = 10;
_root.GirlArray[2].Clients[1].Action3 = 10;
_root.GirlArray[2].Clients[1].Name = 0;
_root.GirlArray[2].Clients[2].Action1 = 10;
_root.GirlArray[2].Clients[2].Action2 = 10;
_root.GirlArray[2].Clients[2].Action3 = 10;
_root.GirlArray[2].Clients[2].Name = 0;
_root.GirlArray[2].Clients[3].Action1 = 10;
_root.GirlArray[2].Clients[3].Action2 = 10;
_root.GirlArray[2].Clients[3].Action3 = 10;
_root.GirlArray[2].Clients[3].Name = 0;
_root.GirlArray[2].Clients[4].Action1 = 10;
_root.GirlArray[2].Clients[4].Action2 = 10;
_root.GirlArray[2].Clients[4].Action3 = 10;
_root.GirlArray[2].Clients[4].Name = 0;
_root.GirlArray[2].Week = new Array([0], [1], [2], [3], [4], [5], [6]);
_root.BackUpWeek[2].Week = new Array([0], [1], [2], [3], [4], [5], [6]);
_root.GirlArray[2].Week[0].Type = "";
_root.GirlArray[2].Week[0].Clients = 0;
_root.GirlArray[2].Week[1].Type = "";
_root.GirlArray[2].Week[1].Clients = 0;
_root.GirlArray[2].Week[2].Type = "";
_root.GirlArray[2].Week[2].Clients = 0;
_root.GirlArray[2].Week[3].Type = "";
_root.GirlArray[2].Week[3].Clients = 0;
_root.GirlArray[2].Week[4].Type = "";
_root.GirlArray[2].Week[4].Clients = 0;
_root.GirlArray[2].Week[5].Type = "";
_root.GirlArray[2].Week[5].Clients = 0;
_root.GirlArray[2].Week[6].Type = "Off";
_root.GirlArray[2].Week[6].Clients = 0;
_root.GirlArray[3].Name = "May";
_root.GirlArray[3].Skills = new Array([0], [1], [2], [3], [4], [5], [6], [7], [8], [9]);
_root.GirlArray[3].Skills[0].Exp = 100;
_root.GirlArray[3].Skills[0].Learn = 100;
_root.GirlArray[3].Skills[0].Job = 100;
_root.GirlArray[3].Skills[0].Price = 100;
_root.GirlArray[3].Skills[1].Exp = 1000;
_root.GirlArray[3].Skills[1].Learn = 100;
_root.GirlArray[3].Skills[1].Job = 100;
_root.GirlArray[3].Skills[1].Price = 100;
_root.GirlArray[3].Skills[2].Exp = 100;
_root.GirlArray[3].Skills[2].Learn = 100;
_root.GirlArray[3].Skills[2].Job = 100;
_root.GirlArray[3].Skills[2].Price = 100;
_root.GirlArray[3].Skills[3].Exp = 100;
_root.GirlArray[3].Skills[3].Learn = 100;
_root.GirlArray[3].Skills[3].Job = 100;
_root.GirlArray[3].Skills[3].Price = 100;
_root.GirlArray[3].Skills[4].Exp = 100;
_root.GirlArray[3].Skills[4].Learn = 100;
_root.GirlArray[3].Skills[4].Job = 100;
_root.GirlArray[3].Skills[4].Price = 100;
_root.GirlArray[3].Skills[5].Exp = 100;
_root.GirlArray[3].Skills[5].Learn = 100;
_root.GirlArray[3].Skills[5].Job = 100;
_root.GirlArray[3].Skills[5].Price = 100;
_root.GirlArray[3].Skills[6].Exp = 100;
_root.GirlArray[3].Skills[6].Learn = 100;
_root.GirlArray[3].Skills[6].Job = 100;
_root.GirlArray[3].Skills[6].Price = 100;
_root.GirlArray[3].Skills[7].Exp = 100;
_root.GirlArray[3].Skills[7].Learn = 100;
_root.GirlArray[3].Skills[7].Job = 100;
_root.GirlArray[3].Skills[7].Price = 100;
_root.GirlArray[3].Skills[8].Exp = 100;
_root.GirlArray[3].Skills[8].Learn = 100;
_root.GirlArray[3].Skills[8].Job = 100;
_root.GirlArray[3].Skills[8].Price = 100;
_root.GirlArray[3].Skills[9].Exp = 100;
_root.GirlArray[3].Skills[9].Learn = 100;
_root.GirlArray[3].Skills[9].Job = 100;
_root.GirlArray[3].Skills[9].Price = 100;
Frame 2
stop();
Frame 3
stop();
Frame 4
stop();
if (_root.Day != "Sunday") {
_root.Char.gotoAndStop("May");
_root.GInteract = "May";
_root.Convo.play();
}
Frame 5
stop();
_root.Girl0 = _root.GirlArray[0].Name;
_root.Girl1 = _root.GirlArray[1].Name;
_root.Girl2 = _root.GirlArray[2].Name;
_root.Convo.gotoAndPlay("Action");
if (_root.PlanTrig == true) {
_root.Plan.gotoAndStop(2);
}
Instance of Symbol 242 MovieClip "Bed" in Frame 5
on (press) {
if (_root.PlanTrig == true) {
if (_root.Mayor == false) {
_root.EventName = "Sleep";
_root.EventNum = 1;
_root.Events();
}
}
}
Frame 6
if (_root.Attacking && (_root.Money > 0)) {
_root.GotoAndStop(14);
}
stop();
Frame 7
stop();
_root.Char.gotoAndStop("Girl0");
_root.GInteract = "Girl0";
_root.Convo.play();
Frame 8
stop();
_root.Char.gotoAndStop("Girl1");
_root.GInteract = "Girl1";
_root.Convo.play();
Frame 9
stop();
_root.Char.gotoAndStop("Girl2");
_root.GInteract = "Girl2";
_root.Convo.play();
Frame 10
stop();
_root.EventName = "Train";
_root.EventNum = 1;
_root.Events();
Frame 11
stop();
Frame 12
_root.TotalCustom = (_root.GirlArray[0].TotalClients + _root.GirlArray[1].TotalClients) + _root.GirlArray[2].TotalClients;
_root.TotalScore = (_root.TotalMoneyIn - _root.TotalMoneyOut) * _root.TotalCustom;
_root.TotalG0 = _root.GirlArray[0].TotalClients;
_root.TotalG1 = _root.GirlArray[1].TotalClients;
_root.TotalG2 = _root.GirlArray[2].TotalClients;
stop();
Frame 13
stop();
if (_root.Doctor == true) {
_root.EventName = "Doctor";
_root.EventNum = 1;
_root.Events();
} else if (_root.Mayor == true) {
_root.EventName = "Mayor";
_root.EventNum = 1;
_root.Events();
}
Frame 14
function CheckHealth(Amount, Guy) {
if (Guy == "Him") {
_root.Game.HimHealth = _root.Game.HimHealth - Amount;
_root.HimHealth._width = _root.HimHealth._width - (Amount * 2);
if (_root.Game.HimHealth <= 0) {
_root.Client.gotoAndPlay("KO");
_root.Game.On = false;
_root.EventNum = 6;
_root.Events();
_root.Cursor.gotoAndStop(1);
}
} else if (Guy == "You") {
_root.Game.YouHealth = _root.Game.YouHealth - Amount;
_root.YouHealth._width = _root.YouHealth._width - (Amount * 2);
_root.Red.gotoAndPlay(1);
if (_root.Game.YouHealth <= 0) {
_root.Game.On = false;
_root.EventNum = 8;
_root.Events();
_root.Cursor.gotoAndStop(1);
}
}
}
function MoveCall() {
if (_root.Game.Move < 11) {
_root.Client._x = _root.Client._x - _root.Game.Speed;
_root.Game.Move = _root.Game.Move + 1;
} else if (_root.Game.Move < 31) {
_root.Client._x = _root.Client._x + _root.Game.Speed;
_root.Game.Move = _root.Game.Move + 1;
} else if (_root.Game.Move < 41) {
_root.Client._x = _root.Client._x - _root.Game.Speed;
_root.Game.Move = _root.Game.Move + 1;
} else {
_root.Game.Move = 0;
}
}
stop();
_root.Game = new Array();
_root.Game.On = false;
_root.Game.Block = false;
_root.Game.Punch = 1;
_root.Game.YouHealth = 100;
_root.Game.HimHealth = 100;
_root.Game.Move = 0;
_root.Game.Speed = 10;
_root.Red.gotoAndStop(6);
_root.EventName = "Attack";
_root.EventNum = 1;
_root.GNum = _root.AttackNum;
_root.Events();
_root.Cursor.gotoAndStop(2);
Frame 15
stop();
_root.EventName = "Nightvisit";
_root.EventNum = 1;
_root.Events();
Frame 16
_root.TotalCustom = (_root.GirlArray[0].TotalClients + _root.GirlArray[1].TotalClients) + _root.GirlArray[2].TotalClients;
_root.TotalScore = (_root.TotalMoneyIn - _root.TotalMoneyOut) * _root.TotalCustom;
_root.TotalG0 = _root.GirlArray[0].TotalClients;
_root.TotalG1 = _root.GirlArray[1].TotalClients;
_root.TotalG2 = _root.GirlArray[2].TotalClients;
stop();
Frame 17
stop();
Frame 18
stop();
Symbol 10 MovieClip Frame 15
if (_framesloaded >= _totalframes) {
} else {
gotoAndPlay (10);
}
Symbol 10 MovieClip Frame 30
tellTarget ("/") {
play();
};
Symbol 13 MovieClip Frame 8
gotoAndPlay (1);
Symbol 13 MovieClip Frame 16
gotoAndPlay (9);
Symbol 21 Button
on (press) {
_root.EventNum = _root.EventNum + 2;
_root.Events();
}
Symbol 23 Button
on (press) {
_root.EventNum = _root.EventNum + 1;
_root.Events();
}
Symbol 26 Button
on (press) {
if (_root.EventName == "Doctor") {
_root.GNum = 0;
if (_root.GirlArray[GNum].Week[0].Type == "ill") {
_root.EventNum = _root.EventNum + 1;
} else {
_root.EventNum = _root.EventNum + 3;
}
_root.Events();
} else {
_root.GNum = 0;
_root.Plan.gotoAndStop(2);
_root.Face.gotoAndStop("Blank");
this.play();
}
}
Symbol 28 Button
on (press) {
if (_root.EventName == "Doctor") {
_root.GNum = 1;
if (_root.GirlArray[GNum].Week[0].Type == "ill") {
_root.EventNum = _root.EventNum + 1;
} else {
_root.EventNum = _root.EventNum + 3;
}
_root.Events();
} else {
_root.GNum = 1;
_root.Plan.gotoAndStop(2);
_root.Face.gotoAndStop("Blank");
this.play();
}
}
Symbol 30 Button
on (press) {
if (_root.EventName == "Doctor") {
_root.GNum = 2;
if (_root.GirlArray[GNum].Week[0].Type == "ill") {
_root.EventNum = _root.EventNum + 1;
} else {
_root.EventNum = _root.EventNum + 3;
}
_root.Events();
} else {
_root.GNum = 2;
_root.Plan.gotoAndStop(2);
_root.Face.gotoAndStop("Blank");
this.play();
}
}
Symbol 33 MovieClip Frame 1
stop();
Symbol 33 MovieClip Frame 5
stop();
Instance of Symbol 18 MovieClip in Symbol 33 MovieClip Frame 5
onClipEvent (keyDown) {
if (Key.getCode() == 32) {
if ((_root.EventName != "Interact") && (_root.EventName != "Blank")) {
if ((_root.EventName == "Mayor") && (_root.EventNum == 1)) {
if (_root.Money < 150) {
_root.EventNum = _root.EventNum + 1;
} else {
_root.EventNum = 4;
}
} else {
_root.EventNum = _root.EventNum + 1;
}
_root.Events();
} else {
_root.TextBox.play();
_root.Face.gotoAndStop("Blank");
}
}
}
on (press) {
if ((_root.EventName != "Interact") && (_root.EventName != "Blank")) {
if ((_root.EventName == "Mayor") && (_root.EventNum == 1)) {
if (_root.Money < 150) {
_root.EventNum = _root.EventNum + 1;
} else {
_root.EventNum = 4;
}
} else {
_root.EventNum = _root.EventNum + 1;
}
_root.Events();
} else {
_root.TextBox.play();
_root.Face.gotoAndStop("Blank");
}
}
Symbol 33 MovieClip Frame 9
gotoAndStop (1);
Symbol 33 MovieClip Frame 10
Symbol 33 MovieClip Frame 14
stop();
Symbol 33 MovieClip Frame 18
gotoAndStop (1);
Symbol 33 MovieClip Frame 19
Symbol 33 MovieClip Frame 23
stop();
Symbol 33 MovieClip Frame 27
gotoAndStop (1);
Symbol 33 MovieClip Frame 28
stop();
Symbol 33 MovieClip Frame 32
stop();
Symbol 33 MovieClip Frame 36
gotoAndStop (1);
Symbol 33 MovieClip Frame 37
stop();
Symbol 33 MovieClip Frame 41
stop();
Instance of Symbol 18 MovieClip in Symbol 33 MovieClip Frame 41
onClipEvent (keyDown) {
if (Key.getCode() == 32) {
if ((_root.EventName != "Interact") && (_root.EventName != "Blank")) {
if ((_root.EventName == "Mayor") && (_root.EventNum == 1)) {
if (_root.Money < 150) {
_root.EventNum = _root.EventNum + 1;
} else {
_root.EventNum = 4;
}
} else {
_root.EventNum = _root.EventNum + 1;
}
_root.Events();
} else {
_root.TextBox.play();
_root.Face.gotoAndStop("Blank");
}
}
}
on (press) {
if ((_root.EventName != "Interact") && (_root.EventName != "Blank")) {
if ((_root.EventName == "Mayor") && (_root.EventNum == 1)) {
if (_root.Money < 150) {
_root.EventNum = _root.EventNum + 1;
} else {
_root.EventNum = 4;
}
} else {
_root.EventNum = _root.EventNum + 1;
}
_root.Events();
} else {
_root.TextBox.play();
_root.Face.gotoAndStop("Blank");
}
}
Symbol 33 MovieClip Frame 45
gotoAndStop (1);
Symbol 42 MovieClip Frame 1
stop();
_root.Game.Block = false;
Symbol 42 MovieClip Frame 2
stop();
Symbol 42 MovieClip Frame 3
if (GloveHit.hitTest(_root.Client.ClientHit1)) {
_root.Client.gotoAndPlay("Hurt");
_root.CheckHealth(10, "Him");
}
Symbol 42 MovieClip Frame 5
gotoAndStop (1);
Symbol 42 MovieClip Frame 6
if (GloveHit.hitTest(_root.Client.ClientHit1)) {
_root.Client.gotoAndPlay("Hurt");
_root.CheckHealth(10, "Him");
}
Symbol 42 MovieClip Frame 8
gotoAndStop (1);
Symbol 43 MovieClip Frame 1
stop();
Instance of Symbol 42 MovieClip "Gloves" in Symbol 43 MovieClip Frame 2
onClipEvent (keyDown) {
if (Key.isDown(32) && (_root.Game.On == true)) {
this.gotoAndStop("Block");
_root.Game.Block = true;
}
}
onClipEvent (mouseDown) {
if ((this._currentframe == 1) && (_root.Game.On == true)) {
if (_root.Game.Punch == 1) {
this.gotoAndPlay("Punch1");
_root.Game.Punch = 2;
} else if (_root.Game.Punch == 2) {
this.gotoAndPlay("Punch2");
_root.Game.Punch = 1;
}
}
}
onClipEvent (keyUp) {
if (!Key.isDown(32)) {
this.gotoAndStop("Wait");
}
}
Symbol 49 Button
on (press) {
_root.EventName = "Intro";
_root.EventNum = 1;
_root.Events();
}
Symbol 51 Button
on (press) {
Options.gotoAndStop(2);
}
Symbol 55 Button
on (press) {
gotoAndStop (1);
}
Symbol 59 Button
on (press) {
if (_quality == "LOW") {
_quality = "MEDIUM";
_root.QName = "MEDIUM";
} else if (_quality == "MEDIUM") {
_quality = "HIGH";
_root.QName = "HIGH";
} else if (_quality == "HIGH") {
_quality = "BEST";
_root.QName = "BEST";
} else if (_quality == "BEST") {
_quality = "LOW";
_root.QName = "LOW";
}
}
Symbol 62 Button
on (press) {
if (_root.SName == "On") {
_root.SName = "Off";
} else if (_root.SName == "Off") {
_root.SName = "On";
}
}
Symbol 63 MovieClip Frame 1
stop();
Symbol 63 MovieClip Frame 2
stop();
Symbol 65 MovieClip Frame 6
stop();
Symbol 69 MovieClip Frame 1
stop();
Symbol 69 MovieClip Frame 2
play();
Symbol 69 MovieClip Frame 20
gotoAndStop (1);
Symbol 69 MovieClip Frame 21
play();
Symbol 69 MovieClip Frame 39
gotoAndStop (1);
Symbol 69 MovieClip Frame 40
play();
Symbol 69 MovieClip Frame 58
gotoAndStop (1);
Symbol 130 MovieClip Frame 1
stop();
Symbol 130 MovieClip Frame 2
stop();
Symbol 130 MovieClip Frame 3
stop();
Symbol 130 MovieClip Frame 4
stop();
Symbol 130 MovieClip Frame 5
stop();
Symbol 130 MovieClip Frame 6
stop();
Symbol 130 MovieClip Frame 7
stop();
Symbol 130 MovieClip Frame 8
stop();
Symbol 140 MovieClip Frame 1
stop();
Symbol 140 MovieClip Frame 2
stop();
Symbol 140 MovieClip Frame 3
stop();
Symbol 140 MovieClip Frame 4
stop();
Symbol 140 MovieClip Frame 5
stop();
Symbol 140 MovieClip Frame 6
stop();
Symbol 151 MovieClip Frame 1
stop();
Symbol 151 MovieClip Frame 2
stop();
Symbol 151 MovieClip Frame 3
stop();
Symbol 151 MovieClip Frame 4
stop();
Symbol 151 MovieClip Frame 5
stop();
Symbol 151 MovieClip Frame 6
stop();
Symbol 156 MovieClip Frame 1
stop();
Symbol 156 MovieClip Frame 2
stop();
Symbol 156 MovieClip Frame 3
stop();
Symbol 156 MovieClip Frame 4
stop();
Symbol 156 MovieClip Frame 5
stop();
Symbol 156 MovieClip Frame 6
stop();
Symbol 174 MovieClip Frame 1
stop();
Symbol 174 MovieClip Frame 2
stop();
Symbol 174 MovieClip Frame 3
stop();
Symbol 174 MovieClip Frame 4
stop();
Symbol 174 MovieClip Frame 5
stop();
Symbol 174 MovieClip Frame 6
stop();
Symbol 180 MovieClip Frame 1
stop();
Symbol 180 MovieClip Frame 2
stop();
Symbol 180 MovieClip Frame 3
stop();
Symbol 180 MovieClip Frame 4
stop();
Symbol 180 MovieClip Frame 5
stop();
Symbol 180 MovieClip Frame 6
stop();
Symbol 182 MovieClip Frame 1
stop();
Symbol 182 MovieClip Frame 2
stop();
Symbol 182 MovieClip Frame 3
stop();
Symbol 182 MovieClip Frame 4
stop();
Symbol 182 MovieClip Frame 5
stop();
Symbol 182 MovieClip Frame 6
stop();
Symbol 183 MovieClip Frame 1
stop();
Symbol 183 MovieClip Frame 2
stop();
Symbol 183 MovieClip Frame 3
stop();
Symbol 183 MovieClip Frame 4
stop();
Symbol 183 MovieClip Frame 5
stop();
Symbol 183 MovieClip Frame 6
stop();
Symbol 183 MovieClip Frame 7
stop();
Symbol 183 MovieClip Frame 8
stop();
Symbol 185 MovieClip Frame 1
stop();
Symbol 187 MovieClip Frame 1
stop();
Symbol 190 Button
on (press) {
gotoAndStop (6);
if ((_root.Convo._currentframe == 5) || (_root.Convo._currentframe == 14)) {
_root.Convo.play();
}
_root.Face.gotoAndStop("Blank");
_root.Char.gotoAndStop("Blank");
}
Symbol 196 Button
on (press) {
_root.EventName = "Interact";
_root.GirlInteract(_root.GInteract, "Talk");
}
Symbol 204 Button
on (press) {
_root.EventName = "Interact";
_root.GirlInteract(_root.GInteract, "Bis");
}
Symbol 208 Button
on (press) {
_root.EventName = "Interact";
_root.GirlInteract(_root.GInteract, "Stat");
}
Symbol 210 Button
on (press) {
if (_root.PlanTrig == true) {
if (_root.Plan._currentframe == 1) {
_root.Plan.gotoAndStop(2);
} else {
_root.Plan.gotoAndStop(1);
}
}
}
Symbol 211 MovieClip Frame 1
stop();
Symbol 211 MovieClip Frame 5
stop();
Symbol 211 MovieClip Frame 9
gotoAndStop (1);
Symbol 211 MovieClip Frame 14
stop();
Symbol 211 MovieClip Frame 18
gotoAndStop (1);
Symbol 218 Button
on (press) {
this.gotoAndStop(1);
}
Symbol 235 MovieClip Frame 1
stop();
Symbol 235 MovieClip Frame 2
stop();
Symbol 235 MovieClip Frame 3
stop();
Symbol 235 MovieClip Frame 4
stop();
Symbol 235 MovieClip Frame 5
stop();
Symbol 235 MovieClip Frame 6
stop();
Symbol 235 MovieClip Frame 7
stop();
Symbol 235 MovieClip Frame 8
stop();
Symbol 235 MovieClip Frame 9
stop();
Symbol 235 MovieClip Frame 10
stop();
Symbol 235 MovieClip Frame 11
stop();
Symbol 239 MovieClip Frame 1
stop();
Symbol 239 MovieClip Frame 2
stop();
i = 0;
while (i < 4) {
Girlname = _root.GirlArray[_root.GNum].name;
this[i + "_0"].gotoAndStop(_root.GirlArray[_root.GNum].Clients[i].Action1 + 1);
this[i + "_1"].gotoAndStop(_root.GirlArray[_root.GNum].Clients[i].Action2 + 1);
this[i + "_2"].gotoAndStop(_root.GirlArray[_root.GNum].Clients[i].Action3 + 1);
i++;
}
Instance of Symbol 235 MovieClip "0_0" in Symbol 239 MovieClip Frame 2
on (press) {
if (_root.PlanTrig == false) {
if (this._currentframe == 1) {
this.gotoAndStop("Work");
_root.GirlArray[0].Week[0].Type = "Work";
} else if (this._currentframe == 2) {
this.gotoAndStop("Train");
_root.GirlArray[0].Week[0].Type = "Train";
} else if (this._currentframe == 3) {
this.gotoAndStop("Off");
_root.GirlArray[0].Week[0].Type = "Off";
}
}
}
Instance of Symbol 235 MovieClip "0_1" in Symbol 239 MovieClip Frame 2
on (press) {
if (_root.PlanTrig == false) {
if (this._currentframe == 1) {
this.gotoAndStop("Work");
_root.GirlArray[0].Week[1].Type = "Work";
} else if (this._currentframe == 2) {
this.gotoAndStop("Train");
_root.GirlArray[0].Week[1].Type = "Train";
} else if (this._currentframe == 3) {
this.gotoAndStop("Off");
_root.GirlArray[0].Week[1].Type = "Off";
}
}
}
Instance of Symbol 235 MovieClip "0_2" in Symbol 239 MovieClip Frame 2
on (press) {
if (_root.PlanTrig == false) {
if (this._currentframe == 1) {
this.gotoAndStop("Work");
_root.GirlArray[0].Week[2].Type = "Work";
} else if (this._currentframe == 2) {
this.gotoAndStop("Train");
_root.GirlArray[0].Week[2].Type = "Train";
} else if (this._currentframe == 3) {
this.gotoAndStop("Off");
_root.GirlArray[0].Week[2].Type = "Off";
}
}
}
Instance of Symbol 235 MovieClip "1_0" in Symbol 239 MovieClip Frame 2
on (press) {
if (_root.PlanTrig == false) {
if (this._currentframe == 1) {
this.gotoAndStop("Work");
_root.GirlArray[0].Week[0].Type = "Work";
} else if (this._currentframe == 2) {
this.gotoAndStop("Train");
_root.GirlArray[0].Week[0].Type = "Train";
} else if (this._currentframe == 3) {
this.gotoAndStop("Off");
_root.GirlArray[0].Week[0].Type = "Off";
}
}
}
Instance of Symbol 235 MovieClip "1_1" in Symbol 239 MovieClip Frame 2
on (press) {
if (_root.PlanTrig == false) {
if (this._currentframe == 1) {
this.gotoAndStop("Work");
_root.GirlArray[0].Week[1].Type = "Work";
} else if (this._currentframe == 2) {
this.gotoAndStop("Train");
_root.GirlArray[0].Week[1].Type = "Train";
} else if (this._currentframe == 3) {
this.gotoAndStop("Off");
_root.GirlArray[0].Week[1].Type = "Off";
}
}
}
Instance of Symbol 235 MovieClip "1_2" in Symbol 239 MovieClip Frame 2
on (press) {
if (_root.PlanTrig == false) {
if (this._currentframe == 1) {
this.gotoAndStop("Work");
_root.GirlArray[0].Week[2].Type = "Work";
} else if (this._currentframe == 2) {
this.gotoAndStop("Train");
_root.GirlArray[0].Week[2].Type = "Train";
} else if (this._currentframe == 3) {
this.gotoAndStop("Off");
_root.GirlArray[0].Week[2].Type = "Off";
}
}
}
Instance of Symbol 235 MovieClip "2_0" in Symbol 239 MovieClip Frame 2
on (press) {
if (_root.PlanTrig == false) {
if (this._currentframe == 1) {
this.gotoAndStop("Work");
_root.GirlArray[0].Week[0].Type = "Work";
} else if (this._currentframe == 2) {
this.gotoAndStop("Train");
_root.GirlArray[0].Week[0].Type = "Train";
} else if (this._currentframe == 3) {
this.gotoAndStop("Off");
_root.GirlArray[0].Week[0].Type = "Off";
}
}
}
Instance of Symbol 235 MovieClip "2_1" in Symbol 239 MovieClip Frame 2
on (press) {
if (_root.PlanTrig == false) {
if (this._currentframe == 1) {
this.gotoAndStop("Work");
_root.GirlArray[0].Week[1].Type = "Work";
} else if (this._currentframe == 2) {
this.gotoAndStop("Train");
_root.GirlArray[0].Week[1].Type = "Train";
} else if (this._currentframe == 3) {
this.gotoAndStop("Off");
_root.GirlArray[0].Week[1].Type = "Off";
}
}
}
Instance of Symbol 235 MovieClip "2_2" in Symbol 239 MovieClip Frame 2
on (press) {
if (_root.PlanTrig == false) {
if (this._currentframe == 1) {
this.gotoAndStop("Work");
_root.GirlArray[0].Week[2].Type = "Work";
} else if (this._currentframe == 2) {
this.gotoAndStop("Train");
_root.GirlArray[0].Week[2].Type = "Train";
} else if (this._currentframe == 3) {
this.gotoAndStop("Off");
_root.GirlArray[0].Week[2].Type = "Off";
}
}
}
Instance of Symbol 235 MovieClip "3_0" in Symbol 239 MovieClip Frame 2
on (press) {
if (_root.PlanTrig == false) {
if (this._currentframe == 1) {
this.gotoAndStop("Work");
_root.GirlArray[0].Week[0].Type = "Work";
} else if (this._currentframe == 2) {
this.gotoAndStop("Train");
_root.GirlArray[0].Week[0].Type = "Train";
} else if (this._currentframe == 3) {
this.gotoAndStop("Off");
_root.GirlArray[0].Week[0].Type = "Off";
}
}
}
Instance of Symbol 235 MovieClip "3_1" in Symbol 239 MovieClip Frame 2
on (press) {
if (_root.PlanTrig == false) {
if (this._currentframe == 1) {
this.gotoAndStop("Work");
_root.GirlArray[0].Week[1].Type = "Work";
} else if (this._currentframe == 2) {
this.gotoAndStop("Train");
_root.GirlArray[0].Week[1].Type = "Train";
} else if (this._currentframe == 3) {
this.gotoAndStop("Off");
_root.GirlArray[0].Week[1].Type = "Off";
}
}
}
Instance of Symbol 235 MovieClip "3_2" in Symbol 239 MovieClip Frame 2
on (press) {
if (_root.PlanTrig == false) {
if (this._currentframe == 1) {
this.gotoAndStop("Work");
_root.GirlArray[0].Week[2].Type = "Work";
} else if (this._currentframe == 2) {
this.gotoAndStop("Train");
_root.GirlArray[0].Week[2].Type = "Train";
} else if (this._currentframe == 3) {
this.gotoAndStop("Off");
_root.GirlArray[0].Week[2].Type = "Off";
}
}
}
Symbol 244 Button
on (press) {
if (_root.PlanTrig == true) {
gotoAndStop (6);
if ((_root.Convo._currentframe == 5) || (_root.Convo._currentframe == 14)) {
_root.Convo.play();
}
_root.Face.gotoAndStop("Blank");
_root.Char.gotoAndStop("Blank");
}
}
Symbol 257 Button
on (press) {
_root.EventName = "Submit_Week";
_root.EventNum = 1;
_root.Events();
_root.DaysBussiness();
}
Symbol 262 MovieClip Frame 1
stop();
Symbol 262 MovieClip Frame 2
stop();
Symbol 262 MovieClip Frame 3
stop();
Symbol 262 MovieClip Frame 4
stop();
Symbol 266 Button
on (press) {
_root.EventName = "RepeatWeek";
_root.EventNum = 1;
_root.Events();
}
Symbol 267 MovieClip Frame 1
stop();
b = 0;
while (b < 3) {
i = 0;
while (i < 7) {
this[(b + "_") + i].gotoAndStop(_root.GirlArray[b].Week[i].Type);
i++;
}
b++;
}
if (_root.PlanTrig == true) {
this.sub_but._visible = false;
this.repeat_but._visible = false;
}
Instance of Symbol 262 MovieClip "0_0" in Symbol 267 MovieClip Frame 1
on (press) {
if (_root.PlanTrig == false) {
if (this._currentframe == 1) {
this.gotoAndStop("Work");
_root.GirlArray[0].Week[0].Type = "Work";
} else if (this._currentframe == 2) {
this.gotoAndStop("Train");
_root.GirlArray[0].Week[0].Type = "Train";
} else if (this._currentframe == 3) {
this.gotoAndStop("Off");
_root.GirlArray[0].Week[0].Type = "Off";
}
}
}
Instance of Symbol 262 MovieClip "0_1" in Symbol 267 MovieClip Frame 1
on (press) {
if (_root.PlanTrig == false) {
if (this._currentframe == 1) {
this.gotoAndStop("Work");
_root.GirlArray[0].Week[1].Type = "Work";
} else if (this._currentframe == 2) {
this.gotoAndStop("Train");
_root.GirlArray[0].Week[1].Type = "Train";
} else if (this._currentframe == 3) {
this.gotoAndStop("Off");
_root.GirlArray[0].Week[1].Type = "Off";
}
}
}
Instance of Symbol 262 MovieClip "0_2" in Symbol 267 MovieClip Frame 1
on (press) {
if (_root.PlanTrig == false) {
if (this._currentframe == 1) {
this.gotoAndStop("Work");
_root.GirlArray[0].Week[2].Type = "Work";
} else if (this._currentframe == 2) {
this.gotoAndStop("Train");
_root.GirlArray[0].Week[2].Type = "Train";
} else if (this._currentframe == 3) {
this.gotoAndStop("Off");
_root.GirlArray[0].Week[2].Type = "Off";
}
}
}
Instance of Symbol 262 MovieClip "0_3" in Symbol 267 MovieClip Frame 1
on (press) {
if (_root.PlanTrig == false) {
if (this._currentframe == 1) {
this.gotoAndStop("Work");
_root.GirlArray[0].Week[3].Type = "Work";
} else if (this._currentframe == 2) {
this.gotoAndStop("Train");
_root.GirlArray[0].Week[3].Type = "Train";
} else if (this._currentframe == 3) {
this.gotoAndStop("Off");
_root.GirlArray[0].Week[3].Type = "Off";
}
}
}
Instance of Symbol 262 MovieClip "0_4" in Symbol 267 MovieClip Frame 1
on (press) {
if (_root.PlanTrig == false) {
if (this._currentframe == 1) {
this.gotoAndStop("Work");
_root.GirlArray[0].Week[4].Type = "Work";
} else if (this._currentframe == 2) {
this.gotoAndStop("Train");
_root.GirlArray[0].Week[4].Type = "Train";
} else if (this._currentframe == 3) {
this.gotoAndStop("Off");
_root.GirlArray[0].Week[4].Type = "Off";
}
}
}
Instance of Symbol 262 MovieClip "0_5" in Symbol 267 MovieClip Frame 1
on (press) {
if (_root.PlanTrig == false) {
if (this._currentframe == 1) {
this.gotoAndStop("Work");
_root.GirlArray[0].Week[5].Type = "Work";
} else if (this._currentframe == 2) {
this.gotoAndStop("Train");
_root.GirlArray[0].Week[5].Type = "Train";
} else if (this._currentframe == 3) {
this.gotoAndStop("Off");
_root.GirlArray[0].Week[5].Type = "Off";
}
}
}
Instance of Symbol 262 MovieClip "0_6" in Symbol 267 MovieClip Frame 1
on (press) {
if (_root.PlanTrig == false) {
if (this._currentframe == 1) {
this.gotoAndStop("Work");
_root.GirlArray[0].Week[6].Type = "Work";
} else if (this._currentframe == 2) {
this.gotoAndStop("Train");
_root.GirlArray[0].Week[6].Type = "Train";
} else if (this._currentframe == 3) {
this.gotoAndStop("Off");
_root.GirlArray[0].Week[6].Type = "Off";
}
}
}
Instance of Symbol 262 MovieClip "1_0" in Symbol 267 MovieClip Frame 1
on (press) {
if (_root.PlanTrig == false) {
if (this._currentframe == 1) {
this.gotoAndStop("Work");
_root.GirlArray[1].Week[0].Type = "Work";
} else if (this._currentframe == 2) {
this.gotoAndStop("Train");
_root.GirlArray[1].Week[0].Type = "Train";
} else if (this._currentframe == 3) {
this.gotoAndStop("Off");
_root.GirlArray[1].Week[0].Type = "Off";
}
}
}
Instance of Symbol 262 MovieClip "1_1" in Symbol 267 MovieClip Frame 1
on (press) {
if (_root.PlanTrig == false) {
if (this._currentframe == 1) {
this.gotoAndStop("Work");
_root.GirlArray[1].Week[1].Type = "Work";
} else if (this._currentframe == 2) {
this.gotoAndStop("Train");
_root.GirlArray[1].Week[1].Type = "Train";
} else if (this._currentframe == 3) {
this.gotoAndStop("Off");
_root.GirlArray[1].Week[1].Type = "Off";
}
}
}
Instance of Symbol 262 MovieClip "1_2" in Symbol 267 MovieClip Frame 1
on (press) {
if (_root.PlanTrig == false) {
if (this._currentframe == 1) {
this.gotoAndStop("Work");
_root.GirlArray[1].Week[2].Type = "Work";
} else if (this._currentframe == 2) {
this.gotoAndStop("Train");
_root.GirlArray[1].Week[2].Type = "Train";
} else if (this._currentframe == 3) {
this.gotoAndStop("Off");
_root.GirlArray[1].Week[2].Type = "Off";
}
}
}
Instance of Symbol 262 MovieClip "1_3" in Symbol 267 MovieClip Frame 1
on (press) {
if (_root.PlanTrig == false) {
if (this._currentframe == 1) {
this.gotoAndStop("Work");
_root.GirlArray[1].Week[3].Type = "Work";
} else if (this._currentframe == 2) {
this.gotoAndStop("Train");
_root.GirlArray[1].Week[3].Type = "Train";
} else if (this._currentframe == 3) {
this.gotoAndStop("Off");
_root.GirlArray[1].Week[3].Type = "Off";
}
}
}
Instance of Symbol 262 MovieClip "1_4" in Symbol 267 MovieClip Frame 1
on (press) {
if (_root.PlanTrig == false) {
if (this._currentframe == 1) {
this.gotoAndStop("Work");
_root.GirlArray[1].Week[4].Type = "Work";
} else if (this._currentframe == 2) {
this.gotoAndStop("Train");
_root.GirlArray[1].Week[4].Type = "Train";
} else if (this._currentframe == 3) {
this.gotoAndStop("Off");
_root.GirlArray[1].Week[4].Type = "Off";
}
}
}
Instance of Symbol 262 MovieClip "1_5" in Symbol 267 MovieClip Frame 1
on (press) {
if (_root.PlanTrig == false) {
if (this._currentframe == 1) {
this.gotoAndStop("Work");
_root.GirlArray[1].Week[5].Type = "Work";
} else if (this._currentframe == 2) {
this.gotoAndStop("Train");
_root.GirlArray[1].Week[5].Type = "Train";
} else if (this._currentframe == 3) {
this.gotoAndStop("Off");
_root.GirlArray[1].Week[5].Type = "Off";
}
}
}
Instance of Symbol 262 MovieClip "1_6" in Symbol 267 MovieClip Frame 1
on (press) {
if (_root.PlanTrig == false) {
if (this._currentframe == 1) {
this.gotoAndStop("Work");
_root.GirlArray[1].Week[6].Type = "Work";
} else if (this._currentframe == 2) {
this.gotoAndStop("Train");
_root.GirlArray[1].Week[6].Type = "Train";
} else if (this._currentframe == 3) {
this.gotoAndStop("Off");
_root.GirlArray[1].Week[6].Type = "Off";
}
}
}
Instance of Symbol 262 MovieClip "2_0" in Symbol 267 MovieClip Frame 1
on (press) {
if (_root.PlanTrig == false) {
if (this._currentframe == 1) {
this.gotoAndStop("Work");
_root.GirlArray[2].Week[0].Type = "Work";
} else if (this._currentframe == 2) {
this.gotoAndStop("Train");
_root.GirlArray[2].Week[0].Type = "Train";
} else if (this._currentframe == 3) {
this.gotoAndStop("Off");
_root.GirlArray[2].Week[0].Type = "Off";
}
}
}
Instance of Symbol 262 MovieClip "2_1" in Symbol 267 MovieClip Frame 1
on (press) {
if (_root.PlanTrig == false) {
if (this._currentframe == 1) {
this.gotoAndStop("Work");
_root.GirlArray[2].Week[1].Type = "Work";
} else if (this._currentframe == 2) {
this.gotoAndStop("Train");
_root.GirlArray[2].Week[1].Type = "Train";
} else if (this._currentframe == 3) {
this.gotoAndStop("Off");
_root.GirlArray[2].Week[1].Type = "Off";
}
}
}
Instance of Symbol 262 MovieClip "2_2" in Symbol 267 MovieClip Frame 1
on (press) {
if (_root.PlanTrig == false) {
if (this._currentframe == 1) {
this.gotoAndStop("Work");
_root.GirlArray[2].Week[2].Type = "Work";
} else if (this._currentframe == 2) {
this.gotoAndStop("Train");
_root.GirlArray[2].Week[2].Type = "Train";
} else if (this._currentframe == 3) {
this.gotoAndStop("Off");
_root.GirlArray[2].Week[2].Type = "Off";
}
}
}
Instance of Symbol 262 MovieClip "2_3" in Symbol 267 MovieClip Frame 1
on (press) {
if (_root.PlanTrig == false) {
if (this._currentframe == 1) {
this.gotoAndStop("Work");
_root.GirlArray[2].Week[3].Type = "Work";
} else if (this._currentframe == 2) {
this.gotoAndStop("Train");
_root.GirlArray[2].Week[3].Type = "Train";
} else if (this._currentframe == 3) {
this.gotoAndStop("Off");
_root.GirlArray[2].Week[3].Type = "Off";
}
}
}
Instance of Symbol 262 MovieClip "2_4" in Symbol 267 MovieClip Frame 1
on (press) {
if (_root.PlanTrig == false) {
if (this._currentframe == 1) {
this.gotoAndStop("Work");
_root.GirlArray[2].Week[4].Type = "Work";
} else if (this._currentframe == 2) {
this.gotoAndStop("Train");
_root.GirlArray[2].Week[4].Type = "Train";
} else if (this._currentframe == 3) {
this.gotoAndStop("Off");
_root.GirlArray[2].Week[4].Type = "Off";
}
}
}
Instance of Symbol 262 MovieClip "2_5" in Symbol 267 MovieClip Frame 1
on (press) {
if (_root.PlanTrig == false) {
if (this._currentframe == 1) {
this.gotoAndStop("Work");
_root.GirlArray[2].Week[5].Type = "Work";
} else if (this._currentframe == 2) {
this.gotoAndStop("Train");
_root.GirlArray[2].Week[5].Type = "Train";
} else if (this._currentframe == 3) {
this.gotoAndStop("Off");
_root.GirlArray[2].Week[5].Type = "Off";
}
}
}
Instance of Symbol 262 MovieClip "2_6" in Symbol 267 MovieClip Frame 1
on (press) {
if (_root.PlanTrig == false) {
if (this._currentframe == 1) {
this.gotoAndStop("Work");
_root.GirlArray[2].Week[6].Type = "Work";
} else if (this._currentframe == 2) {
this.gotoAndStop("Train");
_root.GirlArray[2].Week[6].Type = "Train";
} else if (this._currentframe == 3) {
this.gotoAndStop("Off");
_root.GirlArray[2].Week[6].Type = "Off";
}
}
}
Symbol 267 MovieClip Frame 2
stop();
Symbol 270 Button
on (press) {
if (_root.FullDate != "20/1/2011") {
gotoAndStop (4);
if ((_root.Convo._currentframe == 5) || (_root.Convo._currentframe == 14)) {
_root.Convo.play();
}
_root.Face.gotoAndStop("Blank");
_root.Char.gotoAndStop("Blank");
}
}
Symbol 274 Button
on (press) {
if (_root.FullDate != "20/1/2011") {
gotoAndStop (13);
if ((_root.Convo._currentframe == 5) || (_root.Convo._currentframe == 14)) {
_root.Convo.play();
}
_root.Face.gotoAndStop("Blank");
_root.Char.gotoAndStop("Blank");
}
}
Symbol 276 Button
on (press) {
if (_root.FullDate != "20/1/2011") {
gotoAndStop (5);
if ((_root.Convo._currentframe == 5) || (_root.Convo._currentframe == 14)) {
_root.Convo.play();
}
_root.Face.gotoAndStop("Blank");
_root.Char.gotoAndStop("Blank");
}
}
Symbol 278 Button
on (press) {
if (_root.FullDate != "20/1/2011") {
_root.BusyGirl(0);
if ((_root.Convo._currentframe == 5) || (_root.Convo._currentframe == 14)) {
_root.Convo.play();
}
_root.Face.gotoAndStop("Blank");
_root.Char.gotoAndStop("Blank");
}
}
Symbol 280 Button
on (press) {
if (_root.FullDate != "20/1/2011") {
_root.BusyGirl(1);
if ((_root.Convo._currentframe == 5) || (_root.Convo._currentframe == 14)) {
_root.Convo.play();
}
_root.Face.gotoAndStop("Blank");
_root.Char.gotoAndStop("Blank");
}
}
Symbol 282 Button
on (press) {
if (_root.FullDate != "20/1/2011") {
_root.BusyGirl(2);
if ((_root.Convo._currentframe == 5) || (_root.Convo._currentframe == 14)) {
_root.Convo.play();
}
_root.Face.gotoAndStop("Blank");
_root.Char.gotoAndStop("Blank");
}
}
Symbol 284 Button
on (press) {
if (_root.FullDate != "20/1/2011") {
i = 0;
while (i < 3) {
_root.TrainGirl(i);
i++;
}
if ((_root.Convo._currentframe == 5) || (_root.Convo._currentframe == 14)) {
_root.Convo.play();
}
_root.Face.gotoAndStop("Blank");
_root.Char.gotoAndStop("Blank");
}
}
Symbol 286 Button
on (press) {
gotoAndStop (6);
if ((_root.Convo._currentframe == 5) || (_root.Convo._currentframe == 14)) {
_root.Convo.play();
}
_root.Face.gotoAndStop("Blank");
_root.Char.gotoAndStop("Blank");
}
Symbol 288 Button
on (press) {
this.gotoAndStop(1);
}
Symbol 319 MovieClip Frame 1
stop();
Symbol 319 MovieClip Frame 2
stop();
i = 0;
while (i < 4) {
Girlname = _root.GirlArray[_root.GNum].name;
Wage = _root.GirlArray[_root.GNum].Wage;
Health = _root.GirlArray[_root.GNum].Health;
Pop = _root.GirlArray[_root.GNum].Popular;
S1 = _root.GirlArray[_root.GNum].Skills[0].Exp;
S2 = _root.GirlArray[_root.GNum].Skills[1].Exp;
S3 = _root.GirlArray[_root.GNum].Skills[2].Exp;
S4 = _root.GirlArray[_root.GNum].Skills[3].Exp;
S5 = _root.GirlArray[_root.GNum].Skills[4].Exp;
S6 = _root.GirlArray[_root.GNum].Skills[5].Exp;
S7 = _root.GirlArray[_root.GNum].Skills[6].Exp;
S8 = _root.GirlArray[_root.GNum].Skills[7].Exp;
S9 = _root.GirlArray[_root.GNum].Skills[8].Exp;
S10 = _root.GirlArray[_root.GNum].Skills[9].Exp;
i++;
}
Symbol 325 MovieClip Frame 1
temp = random(2);
if (temp == 0) {
stop();
} else {
gotoAndStop (2);
}
Symbol 327 Button
on (press) {
_root.GSkill = 3;
_root.EventNum = 4;
_root.Events();
}
Symbol 328 Button
on (press) {
_root.GSkill = 3;
_root.EventNum = 4;
_root.Events();
}
Symbol 329 Button
on (press) {
_root.GSkill = 3;
_root.EventNum = 4;
_root.Events();
}
Symbol 331 Button
on (press) {
if (_root.GirlArray[_root.GNum].Skills[0].Learn == 0) {
_root.EventNum = 3;
_root.Events();
} else if (_root.GirlArray[_root.GNum].Skills[0].EXP >= 100) {
_root.EventNum = 4;
_root.Events();
} else {
_root.GSkill = 0;
_root.EventNum = 5;
_root.Events();
}
}
Symbol 333 Button
on (press) {
if (_root.GirlArray[_root.GNum].Skills[1].Learn == 0) {
_root.EventNum = 3;
_root.Events();
} else if (_root.GirlArray[_root.GNum].Skills[1].EXP >= 100) {
_root.EventNum = 4;
_root.Events();
} else {
_root.GSkill = 1;
_root.EventNum = 5;
_root.Events();
}
}
Symbol 335 Button
on (press) {
if (_root.GirlArray[_root.GNum].Skills[2].Learn == 0) {
_root.EventNum = 3;
_root.Events();
} else if (_root.GirlArray[_root.GNum].Skills[2].EXP >= 100) {
_root.EventNum = 4;
_root.Events();
} else {
_root.GSkill = 2;
_root.EventNum = 5;
_root.Events();
}
}
Symbol 337 Button
on (press) {
_root.GSkill = 3;
_root.EventNum = 4;
_root.Events();
}
Symbol 339 Button
on (press) {
_root.GSkill = 3;
_root.EventNum = 4;
_root.Events();
}
Symbol 340 Button
on (press) {
_root.GSkill = 3;
_root.EventNum = 4;
_root.Events();
}
Symbol 341 Button
on (press) {
_root.GSkill = 3;
_root.EventNum = 4;
_root.Events();
}
Symbol 343 Button
on (press) {
_root.EventNum = 9;
_root.Events();
}
Symbol 362 MovieClip Frame 1
if (_root.GNum == 0) {
} else if (_root.GNum == 1) {
gotoAndPlay (10);
} else if (_root.GNum == 2) {
gotoAndPlay (19);
} else if (_root.GNum == 3) {
gotoAndPlay (36);
}
Symbol 362 MovieClip Frame 2
if (_root.SName == "On") {
_root.SFX1.start();
}
Symbol 362 MovieClip Frame 9
gotoAndPlay (1);
Symbol 362 MovieClip Frame 11
if (_root.SName == "On") {
_root.SFX1.start();
}
Symbol 362 MovieClip Frame 18
gotoAndPlay (10);
Symbol 362 MovieClip Frame 20
if (_root.SName == "On") {
_root.SFX1.start();
}
Symbol 362 MovieClip Frame 28
if (_root.SName == "On") {
_root.SFX1.start();
}
Symbol 362 MovieClip Frame 35
gotoAndPlay (19);
Symbol 362 MovieClip Frame 37
if (_root.SName == "On") {
_root.SFX1.start();
}
Symbol 362 MovieClip Frame 45
gotoAndPlay (36);
Symbol 402 MovieClip Frame 1
if (_root.GNum == 0) {
} else if (_root.GNum == 1) {
gotoAndPlay (18);
} else if (_root.GNum == 2) {
gotoAndPlay (20);
} else if (_root.GNum == 3) {
gotoAndPlay (38);
}
Symbol 402 MovieClip Frame 6
if (_root.SName == "On") {
_root.SFX2.start();
}
Symbol 402 MovieClip Frame 17
gotoAndPlay (6);
Symbol 402 MovieClip Frame 24
if (_root.SName == "On") {
_root.SFX2.start();
}
Symbol 402 MovieClip Frame 36
gotoAndPlay (25);
Symbol 402 MovieClip Frame 43
if (_root.SName == "On") {
_root.SFX2.start();
}
Symbol 402 MovieClip Frame 54
gotoAndPlay (43);
Symbol 446 MovieClip Frame 1
if (_root.GNum == 0) {
} else if (_root.GNum == 1) {
gotoAndPlay (11);
} else if (_root.GNum == 2) {
gotoAndPlay (22);
} else if (_root.GNum == 3) {
gotoAndPlay (35);
}
Symbol 446 MovieClip Frame 2
if (_root.SName == "On") {
_root.SFX3.start();
}
Symbol 446 MovieClip Frame 10
gotoAndPlay (1);
Symbol 446 MovieClip Frame 12
if (_root.SName == "On") {
_root.SFX3.start();
}
Symbol 446 MovieClip Frame 21
gotoAndPlay (11);
Symbol 446 MovieClip Frame 23
if (_root.SName == "On") {
_root.SFX3.start();
}
Symbol 446 MovieClip Frame 34
gotoAndPlay (22);
Symbol 446 MovieClip Frame 36
if (_root.SName == "On") {
_root.SFX3.start();
}
Symbol 446 MovieClip Frame 50
gotoAndPlay (35);
Symbol 448 MovieClip Frame 1
stop();
Symbol 448 MovieClip Frame 2
stop();
Symbol 448 MovieClip Frame 3
stop();
Symbol 448 MovieClip Frame 4
stop();
Symbol 448 MovieClip Frame 5
stop();
Symbol 448 MovieClip Frame 6
stop();
Symbol 448 MovieClip Frame 12
gotoAndStop (2);
Symbol 458 MovieClip Frame 19
temp = random(3);
temp2 = random(100);
if (temp2 > 98) {
if (((_root.GirlArray[temp].PlayerLove > 90) && (_root.Month > 5)) && (_root.GirlHealth[temp].ill == false)) {
_root.GNum = temp;
_root.gotoAndStop("NightTime");
}
}
Symbol 458 MovieClip Frame 38
_root.EventNum = 2;
_root.Events();
_root.gotoAndStop("Office");
Symbol 467 MovieClip Frame 1
frame = random(3);
if (frame == 0) {
stop();
} else {
gotoAndStop(frame + 1);
}
Symbol 471 MovieClip Frame 1
frame = random(3);
if (frame == 0) {
stop();
} else {
gotoAndStop(frame + 1);
}
Symbol 478 MovieClip Frame 1
stop();
Symbol 478 MovieClip Frame 4
gotoAndStop (1);
Symbol 478 MovieClip Frame 5
if ((_root.Game.Block == false) || (!ClientPunch.hitTest(_root.Gloves))) {
_root.CheckHealth(10, "You");
}
Symbol 478 MovieClip Frame 8
gotoAndStop (1);
Symbol 478 MovieClip Frame 9
if ((_root.Game.Block == false) || (!ClientPunch.hitTest(_root.Gloves))) {
_root.CheckHealth(10, "You");
}
Symbol 478 MovieClip Frame 12
gotoAndStop (1);
Symbol 478 MovieClip Frame 17
gotoAndStop (1);
Symbol 478 MovieClip Frame 22
stop();
Symbol 484 MovieClip Frame 5
if (_root.Game.On == true) {
action = random(3);
if (action == 0) {
_root.Client.gotoAndPlay("Punch1");
} else if (action == 1) {
_root.Client.gotoAndPlay("Punch2");
} else if (action == 2) {
_root.Client.gotoAndPlay("Block");
}
}
if (_root.Game.On == true) {
_root.MoveCall();
}
Symbol 495 Button
on (press) {
_root.GSkill = 3;
_root.EventNum = 11;
_root.Events();
}
Symbol 496 Button
on (press) {
_root.GSkill = 3;
_root.EventNum = 11;
_root.Events();
}
Symbol 497 Button
on (press) {
_root.GSkill = 3;
_root.EventNum = 11;
_root.Events();
}
Symbol 498 Button
on (press) {
if (_root.GirlArray[_root.GNum].Skills[0].Learn == 0) {
_root.EventNum = 10;
_root.Events();
} else {
_root.GSkill = 0;
_root.EventNum = 11;
_root.Events();
}
}
Symbol 499 Button
on (press) {
if (_root.GirlArray[_root.GNum].Skills[1].Learn == 0) {
_root.EventNum = 10;
_root.Events();
} else {
_root.GSkill = 1;
_root.EventNum = 11;
_root.Events();
}
}
Symbol 500 Button
on (press) {
if (_root.GirlArray[_root.GNum].Skills[2].Learn == 0) {
_root.EventNum = 10;
_root.Events();
} else {
_root.GSkill = 2;
_root.EventNum = 11;
_root.Events();
}
}
Symbol 501 Button
on (press) {
_root.GSkill = 3;
_root.EventNum = 11;
_root.Events();
}
Symbol 502 Button
on (press) {
_root.GSkill = 3;
_root.EventNum = 11;
_root.Events();
}
Symbol 503 Button
on (press) {
_root.GSkill = 3;
_root.EventNum = 11;
_root.Events();
}
Symbol 504 Button
on (press) {
_root.GSkill = 3;
_root.EventNum = 11;
_root.Events();
}
Symbol 505 Button
on (press) {
_root.EventNum = 7;
_root.Events();
}
Symbol 507 MovieClip Frame 1
stop();
Symbol 507 MovieClip Frame 2
stop();
Symbol 507 MovieClip Frame 3
stop();
Symbol 507 MovieClip Frame 4
stop();
Symbol 507 MovieClip Frame 5
stop();
Symbol 507 MovieClip Frame 12
gotoAndStop (2);
Symbol 513 MovieClip Frame 76
_root.AnotherPoints = "If only you had the full Version. Only at Ero-Mania.net";
Symbol 513 MovieClip Frame 110
_root.gotoAndStop(1);