Frame 1
function NewBuilding(Num, Room, Deco, Price, Reputation, Position, Advert, Name, Infos) {
this.Num = Num;
this.Room = Room;
this.FreeRoom = Room;
this.Deco = Deco;
this.Price = Price;
this.Reputation = Reputation;
this.Position = Position;
this.Advert = Advert;
this.Name = Name;
this.Infos = Infos;
this.NbrCust = 0;
this.NbrF = 0;
this.Got = 0;
this.Advert1 = 0;
this.Advert2 = 0;
this.Advert3 = 0;
this.Advert4 = 0;
this.Advert5 = 0;
this.Advert6 = 0;
this.Upgrade = new Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
this.Fire = 0;
}
function NewEquip(Num, Name, Price, Comment) {
this.Num = Num;
this.Name = Name;
this.Price = Price;
this.Comment = Comment;
this.Filles = new Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
}
function NewGirl(Num, CHR, VIT, Character, Reputation, Libido, Refinement, Joy, Fuck, BJ, SM, Health, Name, Cara, Story, Rank, Price, Cost, Entretien, Comment2, Comment3, Got, Chance) {
this.Num = Num;
this.Charisma = CHR;
this.Constitution = VIT;
this.Character = Character;
this.Reputation = Reputation;
this.Libido = Libido;
this.Refinement = Refinement;
this.Joy = Joy;
this.Fuck = Fuck;
this.BJ = BJ;
this.SM = SM;
this.Health = Health;
this.Name = Name;
this.Caract = Cara;
this.Story = Story;
this.Rank = Rank;
this.Price = Price;
this.Cost = Cost;
this.Entretien = Entretien;
this.XP = 0;
this.OldBat = -1;
this.Comment1 = Cara;
this.Comment2 = Comment2;
this.Comment3 = Comment3;
this.VisibleCharacter = Character;
this.TotalXP = 0;
this.AbilitiePoints = 0;
this.Abilities = new Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
this.LearnedAbilities = new Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
this.Dress = 0;
this.Maladie = 0;
this.Libre = 0;
this.Got = Got;
this.Chance = Chance;
}
function NewMission(Num, Comment, Rank) {
this.Num = Num;
this.Comment = Comment;
this.Rank = Rank;
}
_root.Start._visible = true;
_root.Intro1._visible = false;
_root.Intro2._visible = false;
_root.Intro3._visible = false;
_root.PersoClip._visible = false;
_root.MenuGold._visible = true;
_root.MenuNbrDay._visible = true;
_root.MenuGoldT._visible = false;
_root.MenuNbrDayT._visible = false;
_root.Fond._visible = false;
_root.Menu._visible = false;
_root.Menu.Infos = "";
_root.Menu.Results = "";
_root.Menu.Yes._visible = false;
_root.Menu.No._visible = false;
_root.Menu.Next._visible = false;
_global.NbrDay = 0;
NbrDay = 0;
_root.MenuNbrDay = NbrDay;
_global.EndDay = 0;
_global.Fini;
Fini = 0;
_global.Perso = 0;
_global.Gold = new number();
_global.StartEvent = 0;
_root.StartEvent = 30;
_global.ActualMission;
ActualMission = 0;
_global.DayMission;
DayMission = 0;
_global.RankMission;
RankMission = 1;
_global.IntervalMission = 30;
_global.HighRank;
HighRank = 0;
_global.TypeMission;
_global.MissionM;
_global.MissionN;
_global.DoubleMission = 0;
_global.Indice = new number();
Indice = 0;
_global.Achat = new number();
Achat = 0;
_global.ActionBuilding = new number();
ActionBuilding = 0;
_global.AchatBuilding = 0;
_global.AchatAdvert = 0;
_global.WorkF = 0;
_global.Entret = 0;
_global.PrixAdvert = 0;
_global.ActionEquip = 0;
_global.AchatEquip = 0;
_global.AchatUpgrade = 0;
_root.Ranked = 0;
_root.Rankage = 0;
_root.WillRank = 0;
_global.EventNum = 0;
_global.Difficulty = 0;
_global.ListFilles = new Array();
_global.JokerActif = 0;
_global.DayJoker = 0;
_global.Joker1 = new Number();
_global.Joker2 = new Number();
Joker1 = 1;
Joker2 = 0;
_global.MarketPass = new Number();
MarketPass = 0;
_root.Dress.PlainDress.PlainDress = "Plain Dress";
_root.Dress.Yukata.Yukata = "Yukata";
_root.Dress.Kimono.Kimono = "Kimono";
_root.Dress.LKimono.LKimono = "Luxurious Kimono";
_root.Dress.SexyDress.SexyDress = "Sexy Dress";
_root.Dress.YobidashiDress.YobidashiDress = "Yobidashi Dress";
_root.Dress.PlainDressM.PlainDressM = "Plain Dress";
_root.Dress.YukataM.YukataM = "Yukata";
_root.Dress.KimonoM.KimonoM = "Kimono";
_root.Dress.LKimonoM.LKimonoM = "Luxurious Kimono";
_root.Dress.SexyDressM.SexyDressM = "Sexy Dress";
_root.Dress.YobidashiDressM.YobidashiDressM = "Yobidashi Dress";
_root.Abilities.Abilitie1.Abilitie = "Splendid Body";
_root.Abilities.Abilitie2.Abilitie = "Big breast";
_root.Abilities.Abilitie3.Abilitie = "Rest";
_root.Abilities.Abilitie4.Abilitie = "Smart";
_root.Abilities.Abilitie5.Abilitie = "Strong";
_root.Abilities.Abilitie6.Abilitie = "Shy";
_root.Abilities.Abilitie7.Abilitie = "Lolita";
_root.Abilities.Abilitie8.Abilitie = "Artist";
_root.Abilities.Abilitie9.Abilitie = "Maid";
_root.Abilities.Abilitie10.Abilitie = "Happiness";
_root.Abilities.Abilitie11.Abilitie = "Lucky";
_root.Abilities.Abilitie12.Abilitie = "Tough";
_root.Abilities.Abilitie13.Abilitie = "Nymphomaniac";
_root.Abilities.Abilitie14.Abilitie = "Obedient";
_root.Abilities.Abilitie15.Abilitie = "Sex Addict";
_root.Abilities.Abilitie16.Abilitie = "Experience";
_root.Abilities.Abilitie17.Abilitie = "Good Health";
_root.Abilities.Abilitie18.Abilitie = "Exhibitionnist";
_root.Abilities.Abilitie19.Abilitie = "Famous";
_root.Abilities.Abilitie20.Abilitie = "Tips";
_root.Abilities.Abilitie21.Abilitie = "Noble";
_root.Abilities.Abilitie22.Abilitie = "Excellent Reputation";
_root.Abilities.Abilitie23.Abilitie = "Cat Girl";
_root.Abilities.Abilitie24.Abilitie = "";
_root.Comment = "";
_root.BackupComment = "";
_root.FillesClip._visible = false;
_root.BuildingsClip._visible = false;
_root.ChoixPrix._visible = false;
_root.Dress._visible = false;
_root.Advert._visible = false;
_root.Upgrade._visible = false;
_root.Management._visible = false;
_root.Gestion._visible = false;
_root.School._visible = false;
_root.GirlListMain._visible = false;
_root.Abilities._visible = false;
_root.Joker._visible = false;
_root.Menu.BellEnd1._visible = false;
_root.Menu.BellEnd2._visible = false;
_root.Menu.BellEnd3._visible = false;
_root.Menu.BellEnd4._visible = false;
_root.Menu.BellEnd5._visible = false;
_root.Menu.BellEnd6._visible = false;
_root.Menu.BellEnd7._visible = false;
_root.Menu.BellEnd8._visible = false;
_root.Menu.SkuldEnd1._visible = false;
_root.Menu.SkuldEnd2._visible = false;
_root.Menu.SkuldEnd3._visible = false;
_root.Menu.SkuldEnd4._visible = false;
_root.Menu.SkuldEnd5._visible = false;
_root.Menu.SkuldEnd6._visible = false;
_root.Menu.SkuldEnd7._visible = false;
_root.Menu.SkuldEnd8._visible = false;
_root.Menu.UrdEnd1._visible = false;
_root.Menu.UrdEnd2._visible = false;
_root.Menu.UrdEnd3._visible = false;
_root.Menu.UrdEnd4._visible = false;
_root.Menu.UrdEnd5._visible = false;
_root.Menu.UrdEnd6._visible = false;
_root.Menu.UrdEnd7._visible = false;
_root.Menu.UrdEnd8._visible = false;
_root.FillesClip.FillesNom = "";
_root.FillesClip.Buy._visible = false;
_root.FillesClip.BuyEquip._visible = false;
_root.FillesClip.School._visible = false;
_root.FillesClip.ChangeEquip._visible = false;
_root.FillesClip.Work._visible = false;
_root.FillesClip.NoWork._visible = false;
_root.FillesClip.ChangePrice._visible = false;
_root.FillesClip.Sell._visible = false;
_root.FillesClip.RankUp._visible = false;
_root.FillesClip.Yes._visible = false;
_root.FillesClip.No._visible = false;
_root.FillesClip.Sameplace._visible = false;
NewBuilding.prototype.CLS = function () {
_root.BuildingsClip.Shack._visible = false;
_root.BuildingsClip.SmallHouse._visible = false;
_root.BuildingsClip.House._visible = false;
_root.BuildingsClip.CentralHouse._visible = false;
_root.BuildingsClip.BigHouse._visible = false;
_root.BuildingsClip.Palace._visible = false;
_root.BuildingsClip.CentralPalace._visible = false;
};
NewBuilding.prototype.Show = function (i) {
VecBuildings[0].CLS();
_root.BuildingsClip._visible = true;
if (VecBuildings[0].Got == i) {
_root.BuildingsClip.Shack._visible = true;
}
if (VecBuildings[1].Got == i) {
_root.BuildingsClip.SmallHouse._visible = true;
}
if (VecBuildings[2].Got == i) {
_root.BuildingsClip.House._visible = true;
}
if (VecBuildings[3].Got == i) {
_root.BuildingsClip.CentralHouse._visible = true;
}
if (VecBuildings[4].Got == i) {
_root.BuildingsClip.BigHouse._visible = true;
}
if (VecBuildings[5].Got == i) {
_root.BuildingsClip.Palace._visible = true;
}
if (VecBuildings[6].Got == i) {
_root.BuildingsClip.CentralPalace._visible = true;
}
};
NewBuilding.prototype.Action = function (i, num) {
if (i == 0) {
_root.BuildingsClip.Infos = VecBuildings[num].Infos;
_root.Comment = VecBuildings[num].Infos;
_root.BackupComment = VecBuildings[num].Infos;
_root.AchatBuilding = num;
_root.BuildingsClip.Yes._visible = true;
_root.BuildingsClip.No._visible = true;
} else if (i == 1) {
_root.Upgrade._visible = true;
_root.BuildingsClip._visible = false;
if (VecBuildings[num].Upgrade[0] == 0) {
_root.Upgrade.Bar._visible = true;
} else {
_root.Upgrade.Bar._visible = false;
}
if (VecBuildings[num].Upgrade[1] == 0) {
_root.Upgrade.Strip._visible = true;
} else {
_root.Upgrade.Strip._visible = false;
}
if (VecBuildings[num].Upgrade[2] == 0) {
_root.Upgrade.Garden._visible = true;
} else {
_root.Upgrade.Garden._visible = false;
}
if (VecBuildings[num].Upgrade[3] == 0) {
_root.Upgrade.Games._visible = true;
} else {
_root.Upgrade.Games._visible = false;
}
if (VecBuildings[num].Upgrade[4] == 0) {
_root.Upgrade.Opium._visible = true;
} else {
_root.Upgrade.Opium._visible = false;
}
if (VecBuildings[num].Upgrade[5] == 0) {
_root.Upgrade.Celebrity._visible = true;
} else {
_root.Upgrade.Celebrity._visible = false;
}
_root.Upgrade.Yes._visible = false;
_root.Upgrade.No._visible = false;
_root.AchatBuilding = num;
_root.Upgrade.Infos = "";
} else if (i == 3) {
_root.Advert._visible = true;
_root.Advert.Yes._visible = false;
_root.Advert.No._visible = false;
_root.BuildingsClip._visible = false;
if (VecBuildings[num].Advert1 == 0) {
_root.Advert.RabatteurM._visible = false;
_root.Advert.Rabatteur._visible = true;
} else {
_root.Advert.RabatteurM._visible = true;
_root.Advert.Rabatteur._visible = false;
}
if (VecBuildings[num].Advert2 == 0) {
_root.Advert.RabatteuseM._visible = false;
_root.Advert.Rabatteuse._visible = true;
} else {
_root.Advert.RabatteuseM._visible = true;
_root.Advert.Rabatteuse._visible = false;
}
if (VecBuildings[num].Advert3 == 0) {
_root.Advert.PanneauM._visible = false;
_root.Advert.Panneau._visible = true;
} else {
_root.Advert.PanneauM._visible = true;
_root.Advert.Panneau._visible = false;
}
if (VecBuildings[num].Advert4 == 0) {
_root.Advert.FlyersM._visible = false;
_root.Advert.Flyers._visible = true;
} else {
_root.Advert.FlyersM._visible = true;
_root.Advert.Flyers._visible = false;
}
if (VecBuildings[num].Advert5 == 0) {
_root.Advert.Panneau2M._visible = false;
_root.Advert.Panneau2._visible = true;
} else {
_root.Advert.Panneau2M._visible = true;
_root.Advert.Panneau2._visible = false;
}
if (VecBuildings[num].Advert6 == 0) {
_root.Advert.CelebrityM._visible = false;
_root.Advert.Celebrity._visible = true;
} else {
_root.Advert.CelebrityM._visible = true;
_root.Advert.Celebrity._visible = false;
}
_root.AchatBuilding = num;
_root.Advert.Infos = "";
} else if (i == 2) {
if (VecBuildings[num].FreeRoom > 0) {
VecBuildings[num].FreeRoom--;
Filles[_root.Indice].Libre = VecBuildings[num].Num;
Filles[_root.Indice].OldBat = num;
_root.BuildingsClip._visible = false;
_root.FillesClip._visible = true;
if (_root.RankMission < 4) {
_root.Comment = Filles[_root.Indice].Comment1;
} else if (_root.RankMission < 8) {
_root.Comment = Filles[_root.Indice].Comment2;
} else {
_root.Comment = Filles[_root.Indice].Comment3;
}
Filles[_root.Indice].Scores(_root.Indice);
} else {
_root.BuildingsClip.Infos = "This building has no more free room.";
}
}
};
NewEquip.prototype.RealFuck = function (i) {
temp = Filles[i].Fuck;
if (VecEquip[4].Filles[i] == 2) {
temp = temp - 5;
}
return(temp);
};
NewEquip.prototype.RealBJ = function (i) {
temp = Filles[i].BJ;
if (VecEquip[4].Filles[i] == 2) {
temp = temp - 5;
}
return(temp);
};
NewEquip.prototype.RealLibido = function (i) {
temp = Filles[i].Libido;
if (VecEquip[4].Filles[i] == 2) {
temp = temp - 5;
}
if (VecEquip[9].Filles[i] == 2) {
temp = temp - 15;
}
return(temp);
};
NewEquip.prototype.RealCharisma = function (i) {
temp = Filles[i].Charisma;
if (VecEquip[1].Filles[i] == 2) {
temp = temp - 5;
} else if (VecEquip[2].Filles[i] == 2) {
temp = temp - 10;
} else if (VecEquip[3].Filles[i] == 2) {
temp = temp - 20;
} else if (VecEquip[4].Filles[i] == 2) {
temp = temp - 10;
}
if (VecEquip[7].Filles[i] == 2) {
temp = temp - 5;
}
if (VecEquip[10].Filles[i] == 2) {
temp = temp - 5;
}
return(temp);
};
NewEquip.prototype.RealRefinement = function (i) {
temp = Filles[i].Refinement;
if (VecEquip[2].Filles[i] == 2) {
temp = temp - 5;
} else if (VecEquip[3].Filles[i] == 2) {
temp = temp - 10;
} else if (VecEquip[5].Filles[i] == 2) {
_root.RealFille.Refinement = _root.RealFille.Refinement - 25;
}
if (VecEquip[10].Filles[i] == 2) {
temp = temp - 5;
}
if (VecEquip[11].Filles[i] == 2) {
temp = temp - 5;
}
return(temp);
};
NewEquip.prototype.Reset = function () {
i = 0;
while (i < 6) {
if (VecEquip[i].Filles[_root.Indice] == 2) {
VecEquip[i].Filles[_root.Indice] = 1;
}
i++;
}
};
NewEquip.prototype.CLS = function () {
_root.Dress.PlainDress._visible = false;
_root.Dress.Yukata._visible = false;
_root.Dress.Kimono._visible = false;
_root.Dress.LKimono._visible = false;
_root.Dress.SexyDress._visible = false;
_root.Dress.YobidashiDress._visible = false;
_root.Dress.HRing._visible = false;
_root.Dress.Perfume._visible = false;
_root.Dress.Drugs._visible = false;
_root.Dress.Aphrodisiac._visible = false;
_root.Dress.Hairpin._visible = false;
_root.Dress.Mirror._visible = false;
_root.Dress.PlainDressM._visible = false;
_root.Dress.YukataM._visible = false;
_root.Dress.KimonoM._visible = false;
_root.Dress.LKimonoM._visible = false;
_root.Dress.SexyDressM._visible = false;
_root.Dress.YobidashiDressM._visible = false;
_root.Dress.HRingM._visible = false;
_root.Dress.PerfumeM._visible = false;
_root.Dress.DrugsM._visible = false;
_root.Dress.AphrodisiacM._visible = false;
_root.Dress.HairpinM._visible = false;
_root.Dress.MirrorM._visible = false;
};
NewEquip.prototype.Show = function (i) {
VecEquip[0].CLS();
if (i == 0) {
if (VecEquip[0].Filles[_root.Indice] == 0) {
_root.Dress.PlainDress._visible = false;
_root.Dress.PlainDressM._visible = false;
} else if (VecEquip[0].Filles[_root.Indice] == 1) {
_root.Dress.PlainDress._visible = true;
_root.Dress.PlainDressM._visible = false;
} else if (VecEquip[0].Filles[_root.Indice] == 2) {
_root.Dress.PlainDress._visible = false;
_root.Dress.PlainDressM._visible = true;
}
if (VecEquip[1].Filles[_root.Indice] == 0) {
_root.Dress.Yukata._visible = false;
_root.Dress.YukataM._visible = false;
} else if (VecEquip[1].Filles[_root.Indice] == 1) {
_root.Dress.Yukata._visible = true;
_root.Dress.YukataM._visible = false;
} else if (VecEquip[1].Filles[_root.Indice] == 2) {
_root.Dress.Yukata._visible = false;
_root.Dress.YukataM._visible = true;
}
if (VecEquip[2].Filles[_root.Indice] == 0) {
_root.Dress.Kimono._visible = false;
_root.Dress.KimonoM._visible = false;
} else if (VecEquip[2].Filles[_root.Indice] == 1) {
_root.Dress.Kimono._visible = true;
_root.Dress.KimonoM._visible = false;
} else if (VecEquip[2].Filles[_root.Indice] == 2) {
_root.Dress.Kimono._visible = false;
_root.Dress.KimonoM._visible = true;
}
if (VecEquip[3].Filles[_root.Indice] == 0) {
_root.Dress.LKimono._visible = false;
_root.Dress.LKimonoM._visible = false;
} else if (VecEquip[3].Filles[_root.Indice] == 1) {
_root.Dress.LKimono._visible = true;
_root.Dress.LKimonoM._visible = false;
} else if (VecEquip[3].Filles[_root.Indice] == 2) {
_root.Dress.LKimono._visible = false;
_root.Dress.LKimonoM._visible = true;
}
if (VecEquip[4].Filles[_root.Indice] == 0) {
_root.Dress.SexyDress._visible = false;
_root.Dress.SexyDressM._visible = false;
} else if (VecEquip[4].Filles[_root.Indice] == 1) {
_root.Dress.SexyDress._visible = true;
_root.Dress.SexyDressM._visible = false;
} else if (VecEquip[4].Filles[_root.Indice] == 2) {
_root.Dress.SexyDress._visible = false;
_root.Dress.SexyDressM._visible = true;
}
if (VecEquip[5].Filles[_root.Indice] == 0) {
_root.Dress.YobidashiDress._visible = false;
_root.Dress.YobidashiDressM._visible = false;
} else if (VecEquip[5].Filles[_root.Indice] == 1) {
_root.Dress.YobidashiDress._visible = true;
_root.Dress.YobidashiDressM._visible = false;
} else if (VecEquip[5].Filles[_root.Indice] == 2) {
_root.Dress.YobidashiDress._visible = false;
_root.Dress.YobidashiDressM._visible = true;
}
if (VecEquip[6].Filles[_root.Indice] == 0) {
_root.Dress.HRing._visible = false;
_root.Dress.HRingM._visible = false;
} else if (VecEquip[6].Filles[_root.Indice] == 1) {
_root.Dress.HRing._visible = true;
_root.Dress.HRingM._visible = false;
} else if (VecEquip[6].Filles[_root.Indice] == 2) {
_root.Dress.HRing._visible = false;
_root.Dress.HRingM._visible = true;
}
if (VecEquip[7].Filles[_root.Indice] == 0) {
_root.Dress.Perfume._visible = false;
_root.Dress.PerfumeM._visible = false;
} else if (VecEquip[7].Filles[_root.Indice] == 1) {
_root.Dress.Perfume._visible = true;
_root.Dress.PerfumeM._visible = false;
} else if (VecEquip[7].Filles[_root.Indice] == 2) {
_root.Dress.Perfume._visible = false;
_root.Dress.PerfumeM._visible = true;
}
if (VecEquip[8].Filles[_root.Indice] == 0) {
_root.Dress.Drugs._visible = false;
_root.Dress.DrugsM._visible = false;
} else if (VecEquip[8].Filles[_root.Indice] == 1) {
_root.Dress.Drugs._visible = true;
_root.Dress.DrugsM._visible = false;
} else if (VecEquip[8].Filles[_root.Indice] == 2) {
_root.Dress.Drugs._visible = false;
_root.Dress.DrugsM._visible = true;
}
if (VecEquip[9].Filles[_root.Indice] == 0) {
_root.Dress.Aphrodisiac._visible = false;
_root.Dress.AphrodisiacM._visible = false;
} else if (VecEquip[9].Filles[_root.Indice] == 1) {
_root.Dress.Aphrodisiac._visible = true;
_root.Dress.AphrodisiacM._visible = false;
} else if (VecEquip[9].Filles[_root.Indice] == 2) {
_root.Dress.Aphrodisiac._visible = false;
_root.Dress.AphrodisiacM._visible = true;
}
if (VecEquip[10].Filles[_root.Indice] == 0) {
_root.Dress.Mirror._visible = false;
_root.Dress.MirrorM._visible = false;
} else if (VecEquip[10].Filles[_root.Indice] == 1) {
_root.Dress.Mirror._visible = true;
_root.Dress.MirrorM._visible = false;
} else if (VecEquip[10].Filles[_root.Indice] == 2) {
_root.Dress.Mirror._visible = false;
_root.Dress.MirrorM._visible = true;
}
if (VecEquip[11].Filles[_root.Indice] == 0) {
_root.Dress.Hairpin._visible = false;
_root.Dress.HairpinM._visible = false;
} else if (VecEquip[11].Filles[_root.Indice] == 1) {
_root.Dress.Hairpin._visible = true;
_root.Dress.HairpinM._visible = false;
} else if (VecEquip[11].Filles[_root.Indice] == 2) {
_root.Dress.Hairpin._visible = false;
_root.Dress.HairpinM._visible = true;
}
} else if (i == 1) {
if (VecEquip[0].Filles[_root.Indice] == 0) {
_root.Dress.PlainDress._visible = true;
} else {
_root.Dress.PlainDress._visible = false;
}
if (VecEquip[1].Filles[_root.Indice] == 0) {
_root.Dress.Yukata._visible = true;
} else {
_root.Dress.Yukata._visible = false;
}
if (VecEquip[2].Filles[_root.Indice] == 0) {
_root.Dress.Kimono._visible = true;
} else {
_root.Dress.Kimono._visible = false;
}
if (VecEquip[3].Filles[_root.Indice] == 0) {
_root.Dress.LKimono._visible = true;
} else {
_root.Dress.LKimono._visible = false;
}
if (VecEquip[4].Filles[_root.Indice] == 0) {
_root.Dress.SexyDress._visible = true;
} else {
_root.Dress.SexyDress._visible = false;
}
if (VecEquip[5].Filles[_root.Indice] == 0) {
_root.Dress.YobidashiDress._visible = true;
} else {
_root.Dress.YobidashiDress._visible = false;
}
if (VecEquip[6].Filles[_root.Indice] == 0) {
_root.Dress.HRing._visible = true;
} else {
_root.Dress.HRing._visible = false;
}
if (VecEquip[7].Filles[_root.Indice] == 0) {
_root.Dress.Perfume._visible = true;
} else {
_root.Dress.Perfume._visible = false;
}
if (VecEquip[8].Filles[_root.Indice] == 0) {
_root.Dress.Drugs._visible = true;
} else {
_root.Dress.Drugs._visible = false;
}
if (VecEquip[9].Filles[_root.Indice] == 0) {
_root.Dress.Aphrodisiac._visible = true;
} else {
_root.Dress.Aphrodisiac._visible = false;
}
if (VecEquip[10].Filles[_root.Indice] == 0) {
_root.Dress.Mirror._visible = true;
} else {
_root.Dress.Mirror._visible = false;
}
if (VecEquip[11].Filles[_root.Indice] == 0) {
_root.Dress.Hairpin._visible = true;
} else {
_root.Dress.Hairpin._visible = false;
}
}
_root.Dress.Infos = "";
};
NewGirl.prototype.RemoveDress = function (i, j) {
if (j == 1) {
Filles[i].Charisma = Filles[i].Charisma - 5;
if (Filles[i].Charisma < 0) {
Filles[i].Charisma = 0;
}
} else if (j == 2) {
Filles[i].Charisma = Filles[i].Charisma - 10;
Filles[i].Refinement = Filles[i].Refinement - 5;
if (Filles[i].Charisma < 0) {
Filles[i].Charisma = 0;
}
if (Filles[i].Refinement < 0) {
Filles[i].Refinement = 0;
}
} else if (j == 3) {
Filles[i].Charisma = Filles[i].Charisma - 20;
Filles[i].Refinement = Filles[i].Refinement - 10;
if (Filles[i].Charisma < 0) {
Filles[i].Charisma = 0;
}
if (Filles[i].Refinement < 0) {
Filles[i].Refinement = 0;
}
} else if (j == 4) {
Filles[i].Charisma = Filles[i].Charisma - 10;
Filles[i].Libido = Filles[i].Libido - 5;
Filles[i].Fuck = Filles[i].Fuck - 5;
Filles[i].BJ = Filles[i].BJ - 5;
if (Filles[i].Charisma < 0) {
Filles[i].Charisma = 0;
}
if (Filles[i].Libido < 0) {
Filles[i].Libido = 0;
}
if (Filles[i].Fuck < 0) {
Filles[i].Fuck = 0;
}
if (Filles[i].BJ < 0) {
Filles[i].BJ = 0;
}
} else if (j == 5) {
Filles[i].Refinement = Filles[i].Refinement - 25;
if (Filles[i].Refinement < 0) {
Filles[i].Refinement = 0;
}
}
};
NewGirl.prototype.Tri = function (ordre) {
if (ordre == "Reputation") {
i = 0;
j = 0;
temp = new NewGirl(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, "", "", "", 0, 0, 0, 0);
while (i < (_root.MaxFilles + 1)) {
while (j < (_root.MaxFilles + 1)) {
if (Filles[i].Reputation > Filles[j].Reputation) {
temp = Filles[i];
Filles[i] = Filles[j];
Filles[j] = temp;
}
j++;
}
j = 0;
i++;
}
} else if (ordre == "Num") {
i = 0;
j = 0;
temp = new NewGirl(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, "", "", "", 0, 0, 0, 0);
while (i < (_root.MaxFilles + 1)) {
while (j < (_root.MaxFilles + 1)) {
if (Filles[i].Num < Filles[j].Num) {
temp = Filles[i];
Filles[i] = Filles[j];
Filles[j] = temp;
}
j++;
}
j = 0;
i++;
}
} else if (ordre == "Refinement") {
i = 0;
j = 0;
temp = new NewGirl(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, "", "", "", 0, 0, 0, 0, "", "");
while (i < (_root.MaxFilles + 1)) {
while (j < (_root.MaxFilles + 1)) {
if (Filles[i].Refinement > Filles[j].Refinement) {
temp = Filles[i];
Filles[i] = Filles[j];
Filles[j] = temp;
}
j++;
}
j = 0;
i++;
}
} else if ((ordre = "Rank")) {
i = 0;
j = 0;
temp = new NewGirl(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, "", "", "", 0, 0, 0, 0);
while (i < (_root.MaxFilles + 1)) {
while (j < (_root.MaxFilles + 1)) {
if (Filles[i].Rank > Filles[j].Rank) {
temp = Filles[i];
Filles[i] = Filles[j];
Filles[j] = temp;
}
j++;
}
j = 0;
i++;
}
}
};
NewGirl.prototype.Work = function (i) {
real = Filles[i].Num - 1;
if (i < (_root.MaxFilles + 1)) {
if ((Filles[i].Got == 1) and (Filles[i].Libre > 0)) {
if ((VecBuildings[Filles[i].Libre - 1].NbrCust > 0) or (Filles[i].Abilities[21] == 1)) {
if (real == 9) {
rnd = Math.round(random(9)) + _root.Difficulty;
rndd = Math.random();
rndd >= 0;
rnd = rnd * -1;
Filles[i].Character = Filles[i].Character + rnd;
Filles[i].VisibleCharacter = Filles[i].VisibleCharacter + rnd;
}
bat = Filles[i].Libre - 1;
charact = Filles[i].Character;
char = Filles[i].Charisma;
rep = Filles[i].Reputation;
ref = Filles[i].Refinement;
FF = Filles[i].Fuck;
FBJ = Filles[i].BJ;
lib = Filles[i].Libido;
joy = Filles[i].Joy;
const = Filles[i].Constitution;
prix = Filles[i].Cost;
health = Filles[i].Health;
abil = Filles[i].AbilitiePoints;
text = "";
if (Filles[i].Abilities[0] == 1) {
char = char + Math.round(char / 10);
}
r = random(1000);
if (Filles[i].Abilities[10] == 1) {
r = random(1100);
}
if (_root.NbrDay >= _root.StartEvent) {
if (Filles[i].Libre == 1) {
if ((r < (10 + _root.Difficulty)) and (_root.JokerActif != 3)) {
text = text + (Filles[i].Name + " got sick because of one of her customers. She won't be able to work before she get her health back to 100%.");
VecBuildings[Filles[i].Libre - 1].FreeRoom++;
Filles[i].Libre = -1;
Filles[i].Maladie = 1;
} else if (r < (40 + _root.Difficulty)) {
text = text + (Filles[i].Name + " was hurt by one of her customers. She lost 5% in charisma and 5% in joy.");
Filles[i].Joy = Filles[i].Joy - 5;
Filles[i].Charisma = Filles[i].Charisma - 5;
Filles[i].Price = Filles[i].Price - 5;
} else if (r < (45 + _root.Difficulty)) {
text = text + (("A customer ran away without paying your girl! " + Filles[i].Cost) + " Golds lost.");
_root.Gold = _root.Gold - Filles[i].Cost;
} else if ((r < (46 + _root.Difficulty)) and ((Filles[i].Num - 1) == _root.Perso)) {
text = text + "You were robbed!";
z = random(4);
z = Math.round(z);
_root.Gold = _root.Gold - Math.round(_root.Gold / z);
}
} else if (Filles[i].Libre == 2) {
if ((r < (10 + _root.Difficulty)) and (_root.JokerActif != 3)) {
text = text + (Filles[i].Name + " got sick because of one of her customers. She won't be able to work before she get her health back to 100%.");
VecBuildings[Filles[i].Libre - 1].FreeRoom++;
Filles[i].Libre = -1;
Filles[i].Maladie = 1;
} else if (r < (30 + _root.Difficulty)) {
text = text + (Filles[i].Name + " was hurt by one of her customers. She lost 5% in charisma and 5% in joy.");
Filles[i].Joy = Filles[i].Joy - 5;
Filles[i].Charisma = Filles[i].Charisma - 5;
Filles[i].Price = Filles[i].Price - 5;
} else if (r < (35 + _root.Difficulty)) {
text = text + (("A customer ran away without paying your girl! " + Filles[i].Cost) + " lost.");
_root.Gold = _root.Gold - Filles[i].Cost;
} else if ((r < (36 + _root.Difficulty)) and ((Filles[i].Num - 1) == _root.Perso)) {
text = text + "You were robbed!";
z = random(4);
z = Math.round(z);
_root.Gold = _root.Gold - Math.round(_root.Gold / z);
}
} else if (Filles[i].Libre == 3) {
if ((r < (5 + _root.Difficulty)) and (_root.JokerActif != 3)) {
text = text + (Filles[i].Name + " got sick because of one of her customers. She won't be able to work before she get her health back to 100%.");
VecBuildings[Filles[i].Libre - 1].FreeRoom++;
Filles[i].Libre = -1;
Filles[i].Maladie = 1;
} else if (r < (10 + _root.Difficulty)) {
text = text + (Filles[i].Name + " was hurt by one of her customers. She lost 5% in charisma and 5% in joy.");
Filles[i].Joy = Filles[i].Joy - 5;
Filles[i].Charisma = Filles[i].Charisma - 5;
Filles[i].Price = Filles[i].Price - 5;
} else if (r >= (960 + _root.Difficulty)) {
t = Math.round(Filles[i].Cost / 5);
_root.Gold = _root.Gold + t;
text = text + (((("A customer gave " + Filles[i].Name) + " a tip of ") + t) + " Golds.");
}
} else if (Filles[i].Libre == 4) {
if ((r < (0 + _root.Difficulty)) and (_root.JokerActif != 3)) {
text = text + (Filles[i].Name + " got sick because of one of her customers. She won't be able to work before she get her health back to 100%.");
VecBuildings[Filles[i].Libre - 1].FreeRoom++;
Filles[i].Libre = -1;
Filles[i].Maladie = 1;
} else if (r >= (950 + _root.Difficulty)) {
t = Math.round(Filles[i].Cost / 5);
_root.Gold = _root.Gold + t;
text = text + (((("A customer gave " + Filles[i].Name) + " a tip of ") + t) + " Golds.");
}
} else if (Filles[i].Libre == 5) {
if (r >= (940 + _root.Difficulty)) {
t = Math.round(Filles[i].Cost / 5);
_root.Gold = _root.Gold + t;
text = text + (((("A customer gave " + Filles[i].Name) + " a tip of ") + t) + " Golds.");
}
} else if (Filles[i].Libre == 6) {
if (r < (50 - _root.Difficulty)) {
text = text + "One of her customers was a celibrity. Joy +5%.";
Filles[i].Joy = Filles[i].Joy + 5;
Filles[i].Price = Filles[i].Price + 5;
} else if (r >= (930 + _root.Difficulty)) {
t = Math.round(Filles[i].Cost / 5);
_root.Gold = _root.Gold + t;
text = text + (((("A customer gave " + Filles[i].Name) + " a tip of ") + t) + " Golds.");
}
} else if (Filles[i].Libre == 7) {
if (r < (70 - _root.Difficulty)) {
text = text + "One of her customers was a celibrity. Joy +5%.";
Filles[i].Joy = Filles[i].Joy + 5;
Filles[i].Price = Filles[i].Price + 5;
} else if (r >= (920 + _root.Difficulty)) {
t = Math.round(Filles[i].Cost / 5);
_root.Gold = _root.Gold + t;
text = text + (((("A customer gave " + Filles[i].Name) + " a tip of ") + t) + " Golds.");
}
}
}
if (VecBuildings[bat].Upgrade[0] == 1) {
rnd = random(4);
if (rnd == 1) {
Filles[i].Character--;
text = text + "True character -1%. ";
}
charact = charact - 10;
if (charact < 0) {
charact = 0;
}
}
if (VecBuildings[bat].Upgrade[1] == 1) {
rnd = random(4);
if (rnd == 1) {
Filles[i].Charisma++;
text = text + "Charisma +1%. ";
Filles[i].Price = Filles[i].Price + 1;
}
char = char + 20;
if (char > 100) {
char = 100;
}
}
if (VecBuildings[bat].Upgrade[2] == 1) {
rnd = random(5);
if (rnd == 1) {
Filles[i].Refinement++;
text = text + "Refinement +1%. ";
Filles[i].Price = Filles[i].Price + 1;
}
ref = ref + 10;
const = const + 10;
if (ref > 100) {
ref = 100;
}
if (const > 100) {
const = 100;
}
}
if (VecBuildings[bat].Upgrade[4] == 1) {
rnd = random(4);
if (rnd == 1) {
Filles[i].Constitution++;
Filles[i].Character--;
Filles[i].VisibleCharacter--;
text = text + "Constitution +1%. True character -1%. ";
Filles[i].Price = Filles[i].Price + 1;
}
charact = charact - 20;
const = const + 20;
if (charact < 0) {
charact = 0;
}
if (const > 100) {
const = 100;
}
}
if (charact < Math.round(Filles[i].VisibleCharacter / 3)) {
charact = Math.round(Filles[i].VisibleCharacter / 3);
}
_root.Menu.Infos = ((Filles[i].Name + " works at ") + VecBuildings[Filles[i].Libre - 1].Name) + ".";
if (Filles[i].Abilities[8] == 1) {
VecBuildings[Filles[i].Libre - 1].Decoration++;
}
XPGain = 0;
r = Math.round(Math.random() * 100);
if (Filles[i].Rank > (bat + 2)) {
charact = charact + ((((Filles[i].Rank - 2) - bat) + _root.Difficulty) * 5);
}
if (_root.JokerActif == 2) {
r = 1000;
}
if (_root.JokerActif == 6) {
r = r + 10;
}
if (r > (charact - (Filles[i].Rank * 2))) {
Nbr = (((const + joy) + lib) - (50 - VecBuildings[bat].Reputation)) / 40;
Nbr = Math.round(Nbr);
if (real == 5) {
if (Nbr < 1) {
Nbr = 1;
} else if (Nbr > 4) {
Nbr = 4;
}
} else if (real == 17) {
if (Nbr < 1) {
Nbr = 1;
} else if (Nbr > 2) {
Nbr = 2;
}
} else if (Nbr < 1) {
Nbr = 1;
} else if (Nbr > 3) {
Nbr = 3;
}
if ((health < (66 - _root.Difficulty)) and (Nbr >= 2)) {
Nbr = 2;
if (((health - _root.Difficulty) < 33) and (Nbr > 1)) {
Nbr = 1;
}
}
OldNbr = Nbr;
quanti = 0;
Var = 0;
if (Filles[i].Abilities[21] == 1) {
VecBuildings[bat].NbrCust = VecBuildings[bat].NbrCust + 4;
}
Filles[i].TotalXP = Filles[i].TotalXP + 1;
if (Filles[i].TotalXP >= (_root.Difficulty * 3)) {
Filles[i].AbilitiePoints++;
Filles[i].TotalXP = 0;
}
while ((Nbr > 0) and (VecBuildings[bat].NbrCust > 0)) {
quanti++;
VecBuildings[bat].NbrCust--;
estimation = ((((Filles[i].Charisma + Filles[i].Fuck) + Filles[i].BJ) + (Filles[i].Refinement * 2)) + Filles[i].Libido) / (9 - Filles[i].Rank);
estimation = Math.round(estimation);
if (Filles[i].Cost > (estimation + ((estimation / 100) * 10))) {
Var = (-((Filles[i].Cost / estimation) - 1)) * 100;
}
if (Filles[i].Cost < (estimation - ((estimation / 100) * 20))) {
Var = ((estimation / Filles[i].Cost) - 1) * 100;
}
Var = Math.round(Var) * 2;
Pleasure = (((((((char + rep) + ref) + FF) + FBJ) + lib) + (joy / 2)) + Var) / 90;
Pleasure = Math.round(Pleasure);
if (Pleasure < 0) {
Pleasure = 0;
}
Xpgain = Xpgain + (((((((char + rep) + ref) + FF) + FBJ) + lib) + (joy / 2)) / 80);
if (real == 22) {
(XPGain = XPGain * 1);
}
if (Filles[i].Abilities[3] == 1) {
(XPGain = XPGain * 1);
}
if (Filles[i].Abilities[15] == 1) {
XPGain = XPGain * 2;
}
if (_root.JokerActif == 8) {
XPGain = XPGain * 2;
}
XPGain = Math.round(XPGain);
Filles[i].XP = Filles[i].XP + XPGain;
if (Pleasure > 3) {
Pleasure = 3;
}
Filles[i].CLS();
Filles[i].ImageX(i);
if (VecBuildings[bat].Updrage[3] == 1) {
prix = prix + (prix / 10);
}
if (VecBuildings[bat].Upgrade[1] == 1) {
prix = prix + ((prix / 100) * 2);
}
if (VecBuildings[bat].Upgrade[4] == 1) {
prix = prix + ((prix / 100) * 3);
}
prix = Math.round(prix);
if ((real != 24) and (_root.JokerActif != 5)) {
Filles[i].Health = Filles[i].Health - 1;
}
if (real != 20) {
rnd = random(100);
if (rnd > 55) {
Filles[i].Joy++;
} else {
Filles[i].Joy--;
}
}
prix = Math.round(prix);
_root.Gold = _root.Gold + prix;
if (real == 23) {
Filles[i].Reputation = Filles[i].Reputation + (Pleasure - 1);
} else {
Filles[i].Reputation = Filles[i].Reputation + Pleasure;
}
if (Filles[i].Abilities[7] == 1) {
Filles[i].Reputation++;
}
if (Filles[i].Reputation < 0) {
Filles[i].Reputation = 0;
}
if ((Filles[i].Reputation > 100) and (Filles[i].Abilities[18] == 0)) {
Filles[i].Reputation = 100;
}
if ((Filles[i].Reputation > Filles[i].Refinement) and (Filles[i].Abilities[18] == 0)) {
Filles[i].Reputation = Filles[i].Refinement;
}
Filles[i].Character--;
if (Filles[i].Character < 0) {
Filles[i].Character = 0;
}
rnd = Math.round(Math.random() * 100);
if (rnd > Filles[i].Fuck) {
rnd = Math.round(random(1) + 1);
if (real == 6) {
rnd = Math.round(random(5) + 1);
}
if (_root.JokerActif == 7) {
rnd = rnd * 2;
}
Filles[i].Fuck = Filles[i].Fuck + rnd;
if (Filles[i].Fuck > 100) {
Filles[i].Fuck = 100;
}
}
rnd = Math.round(Math.random() * 100);
if (rnd > Filles[i].BJ) {
rnd = Math.round(random(1) + 1);
if (real == 6) {
rnd = Math.round(random(5) + 1);
}
if (_root.JokerActif == 7) {
rnd = rnd * 2;
}
Filles[i].BJ = Filles[i].BJ + rnd;
if (Filles[i].BJ > 100) {
Filles[i].BJ = 100;
}
}
rnd = Math.round(Math.random() * 100);
if (_root.JokerActif == 7) {
rnd = 100;
}
if (rnd > 50) {
rnd = Math.round(random(1) + 1);
if (real == 6) {
rnd = Math.round(random(5) + 1);
}
if (real == 31) {
if (Filles[i].VisibleCharacter <= 20) {
if (_root.JokerActif == 7) {
rnd = rnd * 2;
}
Filles[i].Libido = Filles[i].Libido + rnd;
}
} else {
if (_root.JokerActif == 7) {
rnd = rnd * 2;
}
Filles[i].Libido = Filles[i].Libido + rnd;
}
if (Filles[i].Libido > 100) {
Filles[i].Libido = 100;
}
} else {
rnd = Math.round(random(1) + 1);
Filles[i].Libido = Filles[i].Libido - rnd;
if (Filles[i].Libido < 0) {
Filles[i].Libido = 0;
}
}
Nbr--;
}
_root.Menu.Infos = _root.Menu.Infos + ((" XP + " + XPGain) + ".");
if (abil != Filles[i].AbilitiePoints) {
_root.Menu.Infos = _root.Menu.Infos + ((" AP + " + (Filles[i].AbilitiePoints - abil)) + ".");
}
_root.Menu.Infos = _root.Menu.Infos + (((((("\rShe can work with " + OldNbr) + " customers. She met ") + quanti) + " customer(s) and earns you ") + Math.round(quanti * prix)) + " Golds.");
_root.Menu.Infos = _root.Menu.Infos + "\r";
if (FF != Filles[i].Fuck) {
_root.Menu.Infos = _root.Menu.Infos + (("Fuck + " + (Filles[i].Fuck - FF)) + "%. ");
Filles[i].Price = Filles[i].Price + (Filles[i].Fuck - FF);
}
if (FBJ != Filles[i].BJ) {
_root.Menu.Infos = _root.Menu.Infos + (("Blowjob + " + (Filles[i].BJ - FBJ)) + "%.\r");
Filles[i].Price = Filles[i].Price + (Filles[i].BJ - FBJ);
} else {
_root.Menu.Infos = _root.Menu.Infos + "\r";
}
num = 0;
j = 0;
while (j < _root.NbrBat) {
if (VecBuildings[j].Got == 1) {
num = j;
}
j++;
}
if (num == 0) {
if (Filles[i].Reputation > 20) {
Filles[i].Reputation = 20;
}
} else if (num == 1) {
if (Filles[i].Reputation > 40) {
Filles[i].Reputation = 40;
}
} else if (num == 2) {
if (Filles[i].Reputation > 70) {
Filles[i].Reputation = 70;
}
} else if (num == 3) {
if (Filles[i].Reputation > 80) {
Filles[i].Reputation = 80;
}
} else if (num >= 4) {
if (Filles[i].Reputation > 100) {
Filles[i].Reputation = 100;
}
}
if (Filles[i].Reputation > rep) {
_root.Menu.Infos = _root.Menu.Infos + (("Reputation + " + (Filles[i].Reputation - rep)) + "%.\r");
}
if (Filles[i].Health < 50) {
_root.Menu.Infos = _root.Menu.Infos + (("Be careful, she only has " + Filles[i].Health) + "% Health.\r");
}
_root.Menu.Infos = _root.Menu.Infos + (text + "\r");
if (real == 7) {
vol = Math.round(random(prix / 4));
_root.Menu.Infos = _root.Menu.Infos + (("She also stole " + vol) + " Golds.");
_root.Gold = _root.Gold + vol;
}
} else {
_root.Menu.Infos = Filles[i].Name + " did not want to work. \rThis had a negative influence on her character.";
VecBuildings[bat].NbrCust--;
Filles[i].Character++;
}
} else {
_root.Menu.Infos = "No more customers at " + VecBuildings[Filles[i].Libre - 1].Name;
}
return(1);
}
if ((Filles[i].Got == 1) and (Filles[i].Libre == -1)) {
_root.Menu.Infos = Filles[i].Name + " don't work today.";
r = Math.round(Math.random() * 100);
if (r < Filles[i].Fuck) {
r = Math.round(random(_root.Difficulty));
Filles[i].Fuck = Filles[i].Fuck - r;
_root.Menu.Infos = _root.Menu.Infos + (("\rFuck - " + r) + "%.");
Filles[i].Price = Filles[i].Price - r;
}
r = Math.round(Math.random() * 100);
if (r < Filles[i].BJ) {
r = Math.round(random(_root.Difficulty));
Filles[i].BJ = Filles[i].BJ - r;
_root.Menu.Infos = _root.Menu.Infos + (("\rBlowjob - " + r) + "%.");
Filles[i].Price = Filles[i].Price - r;
}
r = Math.round(Math.random() * 100);
if (r < Filles[i].SM) {
r = Math.round(random(_root.Difficulty));
Filles[i].SM = Filles[i].SM - r;
}
if ((Filles[i].Abilities[2] == 0) and (Filles[i].Abilities[16] == 0)) {
Filles[i].Health = Filles[i].Health + 20;
} else if (Filles[i].Abilities[16] == 1) {
Filles[i].Health = Filles[i].Health + 40;
} else {
Filles[i].Health = Filles[i].Health + 25;
}
if (Filles[i].Health > 100) {
Filles[i].Health = 100;
}
if (Filles[i].Abilities[2] == 1) {
_root.Menu.Infos = _root.Menu.Infos + (("\rShe recovers 25% Health. She's at " + Filles[i].Health) + "%.");
} else if (Filles[i].Abilities[16] == 1) {
_root.Menu.Infos = _root.Menu.Infos + (("\rShe recovers 40% Health. She's at " + Filles[i].Health) + "%.");
} else {
_root.Menu.Infos = _root.Menu.Infos + (("\rShe recovers 20% Health. She's at " + Filles[i].Health) + "%.");
}
return(1);
}
if ((Filles[i].Got == 1) and (Filles[i].Libre == -3)) {
if (_root.Gold >= (20 * Filles[i].Rank)) {
_root.Entret = _root.Entret + (20 * Filles[i].Rank);
r = random(5) + 1;
Filles[i].Refinement = Filles[i].Refinement + r;
Filles[i].Price = Filles[i].Price + r;
Filles[i].Scores(i);
_root.Menu.Infos = ((Filles[i].Name + " attend to a poetry class, she gain ") + r) + "% in refinement.\r";
r = random(20) + 1;
Filles[i].XP = Filles[i].XP + r;
_root.Menu.Infos = _root.Menu.Infos + (("XP + " + r) + ".");
r = random(100);
if (r > 70) {
r = random(4);
if (r == 0) {
if ((Filles[i].LearnedAbilities[3] == 0) and (Filles[i].Rank >= 1)) {
Filles[i].LearnedAbilities[3] = 1;
_root.Menu.Infos = _root.Menu.Infos + "\rLearned new abilitie: Smart.";
}
} else if (r == 1) {
if ((Filles[i].LearnedAbilities[5] == 0) and (Filles[i].Rank >= 2)) {
Filles[i].LearnedAbilities[5] = 1;
_root.Menu.Infos = _root.Menu.Infos + "\rLearned new abilitie: Shy.";
}
} else if (r == 2) {
if ((Filles[i].LearnedAbilities[7] == 0) and (Filles[i].Rank >= 2)) {
Filles[i].LearnedAbilities[7] = 1;
_root.Menu.Infos = _root.Menu.Infos + "\rLearned new abilitie: Artist.";
}
} else if ((Filles[i].LearnedAbilities[8] == 0) and (Filles[i].Rank >= 2)) {
Filles[i].LearnedAbilities[8] = 1;
_root.Menu.Infos = _root.Menu.Infos + "\rLearned new abilitie: Maid.";
}
}
} else {
_root.Menu.Infos = ("You wanted to send " + Filles[i].Name) + " to a poetry class but you don't have enough Golds.";
}
} else if ((Filles[i].Got == 1) and (Filles[i].Libre == -4)) {
if (_root.Gold >= (20 * Filles[i].Rank)) {
_root.Entret = _root.Entret + (20 * Filles[i].Rank);
r = random(5) + 1;
Filles[i].Charisma = Filles[i].Charisma + r;
Filles[i].Price = Filles[i].Price + r;
n = random(5) + 1;
Filles[i].Constitution = Filles[i].Constitution + n;
Filles[i].Price = Filles[i].Price + n;
Filles[i].Scores(i);
_root.Menu.Infos = ((((Filles[i].Name + " attend to a dance class, she gain ") + r) + "% in charisma and ") + n) + "% in constitution.\r";
r = random(20) + 1;
Filles[i].XP = Filles[i].XP + r;
_root.Menu.Infos = _root.Menu.Infos + (("She also gain " + r) + " XP.");
r = random(100);
if (r > 70) {
r = random(4);
if (r == 0) {
if ((Filles[i].LearnedAbilities[0] == 0) and (Filles[i].Rank >= 1)) {
Filles[i].LearnedAbilities[0] = 1;
_root.Menu.Infos = _root.Menu.Infos + "\rLearned new abilitie: Splendid Body.";
}
} else if (r == 1) {
if ((Filles[i].LearnedAbilities[2] == 0) and (Filles[i].Rank >= 1)) {
Filles[i].LearnedAbilities[2] = 1;
_root.Menu.Infos = _root.Menu.Infos + "\rLearned new abilitie: Rest.";
}
} else if (r == 2) {
if ((Filles[i].LearnedAbilities[4] == 0) and (Filles[i].Rank >= 1)) {
Filles[i].LearnedAbilities[4] = 1;
_root.Menu.Infos = _root.Menu.Infos + "\rLearned new abilitie: Strong.";
}
} else if ((Filles[i].LearnedAbilities[11] == 0) and (Filles[i].Rank >= 3)) {
Filles[i].LearnedAbilities[11] = 1;
_root.Menu.Infos = _root.Menu.Infos + "\rLearned new abilitie: Tough.";
}
}
} else {
_root.Menu.Infos = ("You wanted to send " + Filles[i].Name) + " to a dance class but you don't have enough Golds.";
}
} else if ((Filles[i].Got == 1) and (Filles[i].Libre == -5)) {
if (_root.Gold >= (20 * Filles[i].Rank)) {
_root.Entret = _root.Entret + (20 * Filles[i].Rank);
r = random(5) + 1;
Filles[i].Fuck = Filles[i].Fuck + r;
Filles[i].Price = Filles[i].Price + r;
n = random(5) + 1;
Filles[i].BJ = Filles[i].BJ + n;
Filles[i].Price = Filles[i].Price + n;
o = random(5) + 1;
Filles[i].Libido = Filles[i].Libido + o;
Filles[i].Price = Filles[i].Price + o;
Filles[i].Scores(i);
_root.Menu.Infos = ((((((Filles[i].Name + " attend to a sexual class, she gain ") + r) + "% in fuck, ") + n) + "% in blowjob and ") + o) + "% in libido.\r";
r = random(20) + 1;
Filles[i].XP = Filles[i].XP + r;
_root.Menu.Infos = _root.Menu.Infos + (("She also gain " + r) + " XP.");
r = random(100);
if (r > 70) {
r = random(3);
if (r == 0) {
if ((Filles[i].LearnedAbilities[12] == 0) and (Filles[i].Rank >= 3)) {
Filles[i].LearnedAbilities[12] = 1;
_root.Menu.Infos = _root.Menu.Infos + "\rLearned new abilitie: Nymphomaniac.";
}
} else if (r == 1) {
if ((Filles[i].LearnedAbilities[14] == 0) and (Filles[i].Rank >= 4)) {
Filles[i].LearnedAbilities[14] = 1;
_root.Menu.Infos = _root.Menu.Infos + "\rLearned new abilitie: Sex Maniac.";
}
} else if ((Filles[i].LearnedAbilities[17] == 0) and (Filles[i].Rank >= 6)) {
Filles[i].LearnedAbilities[17] = 1;
_root.Menu.Infos = _root.Menu.Infos + "\rLearned new abilitie: Exhibitionnist.";
}
}
} else {
_root.Menu.Infos = ("You wanted to send " + Filles[i].Name) + " to a sexual class but you don't have enough Golds.";
}
} else if ((Filles[i].Got == 1) and (Filles[i].Libre == -6)) {
if (_root.Gold >= (20 * Filles[i].Rank)) {
_root.Entret = _root.Entret + (20 * Filles[i].Rank);
r = random(5) + 1;
Filles[i].Character = Filles[i].Character - r;
Filles[i].VisibleCharacter = Filles[i].VisibleCharacter - r;
Filles[i].Price = Filles[i].Price + r;
if ((Filles[i].Num != 25) and (_root.JokerActif != 5)) {
Filles[i].Health = Filles[i].Health - r;
}
Filles[i].Scores(i);
_root.Menu.Infos = ((Filles[i].Name + " attend to a bondage class, she lost ") + r) + "% in character and health.\r";
r = random(20) + 1;
Filles[i].XP = Filles[i].XP + r;
_root.Menu.Infos = _root.Menu.Infos + (("She also gain " + r) + " XP.");
r = random(100);
if (r > 70) {
r = random(3);
if (r == 0) {
if ((Filles[i].LearnedAbilities[13] == 0) and (Filles[i].Rank >= 4)) {
Filles[i].LearnedAbilities[13] = 1;
_root.Menu.Infos = _root.Menu.Infos + "\rLearned new abilitie: Obedient.";
}
} else if (r == 1) {
if ((Filles[i].LearnedAbilities[15] == 0) and (Filles[i].Rank >= 5)) {
Filles[i].LearnedAbilities[15] = 1;
_root.Menu.Infos = _root.Menu.Infos + "\rLearned new abilitie: Experience.";
}
} else if ((Filles[i].LearnedAbilities[16] == 0) and (Filles[i].Rank >= 5)) {
Filles[i].LearnedAbilities[16] = 1;
_root.Menu.Infos = _root.Menu.Infos + "\rLearned new abilitie: Good Health.";
}
}
} else {
_root.Menu.Infos = ("You wanted to send " + Filles[i].Name) + " to a bondage class but you don't have enough Golds.";
}
} else if ((Filles[i].Got == 1) and (Filles[i].Libre == -7)) {
if (_root.Gold >= (40 * Filles[i].Rank)) {
_root.Entret = _root.Entret + (40 * Filles[i].Rank);
r = random(5) + 1;
Filles[i].Refinement = Filles[i].Refinement + r;
Filles[i].Reputation = Filles[i].Reputation + r;
Filles[i].Price = Filles[i].Price + (r * 2);
n = random(5) + 1;
if (Filles[i].Num != 21) {
Filles[i].Joy = Filles[i].Joy + n;
}
Filles[i].Scores(i);
_root.Menu.Infos = ((((Filles[i].Name + " made a ceremony, she gain ") + r) + "% in refinement and reputation, and ") + n) + "% in joy.\r";
} else {
_root.Menu.Infos = ("You wanted to send " + Filles[i].Name) + " to a ceremony in the 'floating world' but you don't have enough Golds.";
}
} else {
return(0);
}
} else {
return(2);
}
};
NewGirl.prototype.ActionsDay = function () {
Filles[0].Tri("Refinement");
Filles[0].Tri("Reputation");
_root.Menu.Buy._visible = false;
_root.Menu.List._visible = false;
_root.Menu.BEquip._visible = false;
_root.Menu.BBuilding._visible = false;
_root.Menu.UBuilding._visible = false;
_root.Menu.School._visible = false;
_root.Menu.Advertising._visible = false;
_root.Menu.NewDay._visible = false;
_root.Menu.Management._visible = false;
_root.Menu.Save._visible = false;
entr = 0;
n = 0;
while (n < (_root.MaxFilles + 1)) {
if (Filles[n].Got == 1) {
entr = entr + Filles[n].Entretien;
}
n++;
}
entr = entr + _root.PrixAdvert;
_root.Entret = entr;
i = 0;
while (i < _root.NbrBat) {
j = 0;
maxrep = 0;
cost = 0;
estprice = 0;
raf = 0;
costr = 0;
while (j < (_root.MaxFilles + 1)) {
if (Filles[j].Libre == VecBuildings[i].Num) {
raf = raf + Filles[j].Reputation;
maxrep = maxrep + Filles[j].Refinement;
if (Filles[j].Abilities[1] == 1) {
raf = raf + 5;
maxrep = maxrep + 5;
}
VecBuildings[i].NbrF = VecBuildings[i].NbrF + 1;
estprice = estprice + (((((Filles[j].Charisma + Filles[j].Fuck) + Filles[j].BJ) + (Filles[j].Refinement * 2)) + Filles[j].Libido) / (9 - Filles[j].Rank));
costr = costr + Filles[j].Cost;
}
j++;
}
costr = costr / VecBuildings[i].NbrF;
costr = Math.round(costr);
estprice = Math.round(estprice / VecBuildings[i].NbrF);
raf = raf / VecBuildings[i].NbrF;
raf = Math.round(raf);
r = random(50);
t = Math.random();
if (t < 0.5) {
r = -r;
}
sol = ((costr / estprice) - 1) * 100;
sol = Math.round(sol);
rep = VecBuildings[i].Reputation;
if (rep > maxrep) {
rep = maxrep;
}
if (_root.JokerActif == 1) {
VecBuildings[i].NbrCust = 30;
} else {
VecBuildings[i].NbrCust = Math.round((((((raf + rep) + (VecBuildings[i].Position * 2)) + (VecBuildings[i].Advert * 2)) + r) - (sol * 2)) / 20);
}
if (VecBuildings[i].NbrCust <= -5) {
VecBuildings[i].NbrCust = 0;
} else if (VecBuildings[i].NbrCust <= 0) {
VecBuildings[i].NbrCust = 1;
} else if (VecBuildings[i].NbrCust > 30) {
VecBuildings[i].NbrCust = 30;
}
i++;
}
_root.WorkF = 0;
q = 0;
_root.Menu.Next._visible = true;
while (q == 0) {
q = Filles[0].Work(_root.WorkF);
_root.WorkF++;
}
if (q == 2) {
_root.Menu.Next._visible = false;
Filles[0].Tri("Num");
i = 0;
while (i < (_root.MaxFilles + 1)) {
Filles[i].Libre = 0;
i++;
}
i = 0;
while (i < 7) {
VecBuildings[i].FreeRoom = VecBuildings[i].Room;
VecBuildings[i].NbrF = 0;
VecBuildings[i].NbrCust = 0;
i++;
}
Filles[0].CLS();
}
_root.FillesClip._visible = false;
_root.Menu._visible = true;
_root.FillesClip.Buy._visible = false;
_root.FillesClip.BuyEquip._visible = false;
_root.FillesClip.School._visible = false;
_root.FillesClip.ChangeEquip._visible = false;
_root.FillesClip.Work._visible = false;
_root.FillesClip.NoWork._visible = false;
_root.FillesClip.ChangePrice._visible = false;
_root.FillesClip.Sell._visible = false;
_root.FillesClip.Sameplace._visible = false;
};
NewGirl.prototype.ListMain = function () {
_root.GirlListMain.Girl1.Girl = "";
_root.GirlListMain.Girl2.Girl = "";
_root.GirlListMain.Girl3.Girl = "";
_root.GirlListMain.Girl4.Girl = "";
_root.GirlListMain.Girl5.Girl = "";
_root.GirlListMain.Girl6.Girl = "";
_root.GirlListMain.Girl7.Girl = "";
_root.GirlListMain.Girl8.Girl = "";
_root.GirlListMain.Girl9.Girl = "";
_root.GirlListMain.Girl10.Girl = "";
_root.GirlListMain.Girl11.Girl = "";
_root.GirlListMain.Girl12.Girl = "";
_root.GirlListMain.Girl13.Girl = "";
_root.GirlListMain.Girl14.Girl = "";
_root.GirlListMain.Girl15.Girl = "";
_root.GirlListMain.Girl16.Girl = "";
_root.GirlListMain.Girl17.Girl = "";
_root.GirlListMain.Girl18.Girl = "";
_root.GirlListMain.Girl19.Girl = "";
_root.GirlListMain.Girl20.Girl = "";
_root.GirlListMain.Girl21.Girl = "";
_root.GirlListMain.Girl22.Girl = "";
_root.GirlListMain.Girl23.Girl = "";
_root.GirlListMain.Girl24.Girl = "";
_root.GirlListMain.Girl25.Girl = "";
_root.GirlListMain.Girl26.Girl = "";
_root.GirlListMain.Girl27.Girl = "";
_root.GirlListMain.Girl28.Girl = "";
_root.GirlListMain.Girl29.Girl = "";
_root.GirlListMain.Girl30.Girl = "";
_root.GirlListMain.Girl31.Girl = "";
_root.GirlListMain.Girl32.Girl = "";
_root.GirlListMain.Girl33.Girl = "";
_root.GirlListMain.Girl34.Girl = "";
_root.GirlListMain.Girl35.Girl = "";
_root.GirlListMain.Girl1._visible = false;
_root.GirlListMain.Girl2._visible = false;
_root.GirlListMain.Girl3._visible = false;
_root.GirlListMain.Girl4._visible = false;
_root.GirlListMain.Girl5._visible = false;
_root.GirlListMain.Girl6._visible = false;
_root.GirlListMain.Girl7._visible = false;
_root.GirlListMain.Girl8._visible = false;
_root.GirlListMain.Girl9._visible = false;
_root.GirlListMain.Girl10._visible = false;
_root.GirlListMain.Girl11._visible = false;
_root.GirlListMain.Girl12._visible = false;
_root.GirlListMain.Girl13._visible = false;
_root.GirlListMain.Girl14._visible = false;
_root.GirlListMain.Girl15._visible = false;
_root.GirlListMain.Girl16._visible = false;
_root.GirlListMain.Girl17._visible = false;
_root.GirlListMain.Girl18._visible = false;
_root.GirlListMain.Girl19._visible = false;
_root.GirlListMain.Girl20._visible = false;
_root.GirlListMain.Girl21._visible = false;
_root.GirlListMain.Girl22._visible = false;
_root.GirlListMain.Girl23._visible = false;
_root.GirlListMain.Girl24._visible = false;
_root.GirlListMain.Girl25._visible = false;
_root.GirlListMain.Girl26._visible = false;
_root.GirlListMain.Girl27._visible = false;
_root.GirlListMain.Girl28._visible = false;
_root.GirlListMain.Girl29._visible = false;
_root.GirlListMain.Girl30._visible = false;
_root.GirlListMain.Girl31._visible = false;
_root.GirlListMain.Girl32._visible = false;
_root.GirlListMain.Girl33._visible = false;
_root.GirlListMain.Girl34._visible = false;
_root.GirlListMain.Girl35._visible = false;
_root.GirlListMain.Girl36._visible = false;
i = 0;
while (i < (_root.MaxFilles + 1)) {
ListFilles[i] = -1;
i++;
}
valeur = 0;
i = 0;
while (i < (_root.MaxFilles + 1)) {
if (Filles[i].Got == 1) {
ListFilles[valeur] = Filles[i].Num - 1;
nom = Filles[i].Name;
if (valeur == 0) {
_root.GirlListMain.Girl1.Girl = nom;
_root.GirlListMain.Girl1._visible = true;
}
if (valeur == 1) {
_root.GirlListMain.Girl2.Girl = nom;
_root.GirlListMain.Girl2._visible = true;
}
if (valeur == 2) {
_root.GirlListMain.Girl3.Girl = nom;
_root.GirlListMain.Girl3._visible = true;
}
if (valeur == 3) {
_root.GirlListMain.Girl4.Girl = nom;
_root.GirlListMain.Girl4._visible = true;
}
if (valeur == 4) {
_root.GirlListMain.Girl5.Girl = nom;
_root.GirlListMain.Girl5._visible = true;
}
if (valeur == 5) {
_root.GirlListMain.Girl6.Girl = nom;
_root.GirlListMain.Girl6._visible = true;
}
if (valeur == 6) {
_root.GirlListMain.Girl7.Girl = nom;
_root.GirlListMain.Girl7._visible = true;
}
if (valeur == 7) {
_root.GirlListMain.Girl8.Girl = nom;
_root.GirlListMain.Girl8._visible = true;
}
if (valeur == 8) {
_root.GirlListMain.Girl9.Girl = nom;
_root.GirlListMain.Girl9._visible = true;
}
if (valeur == 9) {
_root.GirlListMain.Girl10.Girl = nom;
_root.GirlListMain.Girl10._visible = true;
}
if (valeur == 10) {
_root.GirlListMain.Girl11.Girl = nom;
_root.GirlListMain.Girl11._visible = true;
}
if (valeur == 11) {
_root.GirlListMain.Girl12.Girl = nom;
_root.GirlListMain.Girl12._visible = true;
}
if (valeur == 12) {
_root.GirlListMain.Girl13.Girl = nom;
_root.GirlListMain.Girl13._visible = true;
}
if (valeur == 13) {
_root.GirlListMain.Girl14.Girl = nom;
_root.GirlListMain.Girl14._visible = true;
}
if (valeur == 14) {
_root.GirlListMain.Girl15.Girl = nom;
_root.GirlListMain.Girl15._visible = true;
}
if (valeur == 15) {
_root.GirlListMain.Girl16.Girl = nom;
_root.GirlListMain.Girl16._visible = true;
}
if (valeur == 16) {
_root.GirlListMain.Girl17.Girl = nom;
_root.GirlListMain.Girl17._visible = true;
}
if (valeur == 17) {
_root.GirlListMain.Girl18.Girl = nom;
_root.GirlListMain.Girl18._visible = true;
}
if (valeur == 18) {
_root.GirlListMain.Girl19.Girl = nom;
_root.GirlListMain.Girl19._visible = true;
}
if (valeur == 19) {
_root.GirlListMain.Girl20.Girl = nom;
_root.GirlListMain.Girl20._visible = true;
}
if (valeur == 20) {
_root.GirlListMain.Girl21.Girl = nom;
_root.GirlListMain.Girl21._visible = true;
}
if (valeur == 21) {
_root.GirlListMain.Girl22.Girl = nom;
_root.GirlListMain.Girl22._visible = true;
}
if (valeur == 22) {
_root.GirlListMain.Girl23.Girl = nom;
_root.GirlListMain.Girl23._visible = true;
}
if (valeur == 23) {
_root.GirlListMain.Girl24.Girl = nom;
_root.GirlListMain.Girl24._visible = true;
}
if (valeur == 24) {
_root.GirlListMain.Girl25.Girl = nom;
_root.GirlListMain.Girl25._visible = true;
}
if (valeur == 25) {
_root.GirlListMain.Girl26.Girl = nom;
_root.GirlListMain.Girl26._visible = true;
}
if (valeur == 26) {
_root.GirlListMain.Girl27.Girl = nom;
_root.GirlListMain.Girl27._visible = true;
}
if (valeur == 27) {
_root.GirlListMain.Girl28.Girl = nom;
_root.GirlListMain.Girl28._visible = true;
}
if (valeur == 28) {
_root.GirlListMain.Girl29.Girl = nom;
_root.GirlListMain.Girl29._visible = true;
}
if (valeur == 29) {
_root.GirlListMain.Girl30.Girl = nom;
_root.GirlListMain.Girl30._visible = true;
}
if (valeur == 30) {
_root.GirlListMain.Girl31.Girl = nom;
_root.GirlListMain.Girl31._visible = true;
}
if (valeur == 31) {
_root.GirlListMain.Girl32.Girl = nom;
_root.GirlListMain.Girl32._visible = true;
}
if (valeur == 32) {
_root.GirlListMain.Girl33.Girl = nom;
_root.GirlListMain.Girl33._visible = true;
}
if (valeur == 33) {
_root.GirlListMain.Girl34.Girl = nom;
_root.GirlListMain.Girl34._visible = true;
}
if (valeur == 34) {
_root.GirlListMain.Girl35.Girl = nom;
_root.GirlListMain.Girl35._visible = true;
}
if (valeur == 35) {
_root.GirlListMain.Girl36.Girl = nom;
_root.GirlListMain.Girl36._visible = true;
}
valeur++;
}
i++;
}
};
NewGirl.prototype.AfficheFille = function (i) {
Filles[i].CLS();
Filles[i].Scores(i);
Filles[i].Image(i);
_root.GirlListMain._visible = false;
_root.FillesClip._visible = true;
if (_root.FillesClip.BuyEquip._visible == true) {
_root.FillesClip.ChangeEquip._visible = false;
_root.FillesClip.ChangePrice._visible = false;
_root.FillesClip.Work._visible = false;
} else {
_root.FillesClip.ChangeEquip._visible = true;
_root.FillesClip.ChangePrice._visible = true;
_root.FillesClip.Work._visible = true;
_root.FillesClip.PlusRefinement._visible = true;
_root.FillesClip.PlusCharisma._visible = true;
_root.FillesClip.PlusConstitution._visible = true;
_root.FillesClip.PlusFuck._visible = true;
_root.FillesClip.PlusBJ._visible = true;
_root.FillesClip.PlusLibido._visible = true;
_root.FillesClip.Abilities._visible = true;
_root.FillesClip.Sell._visible = true;
}
_root.Achat = 1;
_root.Indice = i;
Filles[0].Tri("Num");
if (_root.RankMission < 4) {
_root.Comment = Filles[_root.Indice].Comment1;
} else if (_root.RankMission < 8) {
_root.Comment = Filles[_root.Indice].Comment2;
} else {
_root.Comment = Filles[_root.Indice].Comment3;
}
_root.FillesClip.FillesNotes = _root.Comment;
};
NewGirl.prototype.Ending = function (i) {
end = 0;
if ((Filles[i].Rank == 8) and (_root.RankMission > ((_root.NbrMission / 5) * 4))) {
_root.Comment = "Being such a perfect courtisan and such a wonderful manager, you became after some years a true legend in the floating world. Your reputation knows no bound and people fom everywhere come in your buildings to spend a lot of money. Congratulations!";
end = 1;
} else if ((Filles[i].Rank <= 2) and (_root.RankMission > ((_root.NbrMission / 5) * 4))) {
_root.Comment = "After so much work, you realised that being a prostitute or a courtisan isn't what you're made for. You gave up on this job and became one of the richest trader the kingdom ever knew.";
end = 2;
} else if (Filles[i].Libido >= 90) {
end = 3;
_root.Comment = "Prostitute is really the job for you. As you're almost always wanting to have sex, there is no way you'd give up such opportunities. You even met some customers for free, just because you had to have sex.";
} else if (_root.Gold >= 200000) {
end = 4;
_root.Comment = "Your reputation is well known in the floating world: Greedy Girl. You became so interrested in Golds that nothing else matters for you now.";
} else if (Filles[i].Rank == 8) {
end = 5;
_root.Comment = "Your impressive reputation turned you into one of the most influencial person in the floating world. Many people dreams to just be able to speak some time with you.";
} else if (_root.RankMission < (_root.NbrMission / 2)) {
end = 6;
_root.Comment = "Alas, your expectations did not meet an happy ending. Being a not very good manager, you could not keep your buildings together and eventually had to sold yourself to another house.";
} else if (_root.RankMission <= ((_root.NbrMission / 5) * 4)) {
end = 7;
_root.Comment = "You eventually gave up your job, but it was to become the local lord's concubine. You could leave the floating world and live a happy live in the women's aisle of the lord's castle.";
} else {
end = 8;
_root.Comment = "Such nice manager skills made you very well known in all the kingdom. So much known that even the king came to see who would be this women that could start from scratch and become an icon of the floating world.";
}
_root.Menu.Infos = _root.Comment;
if (_root.Perso == 0) {
if (end == 1) {
_root.Menu.BellEnd1._visible = true;
} else if (end == 2) {
_root.Menu.BellEnd2._visible = true;
} else if (end == 3) {
_root.Menu.BellEnd3._visible = true;
} else if (end == 4) {
_root.Menu.BellEnd4._visible = true;
} else if (end == 5) {
_root.Menu.BellEnd5._visible = true;
} else if (end == 6) {
_root.Menu.BellEnd6._visible = true;
} else if (end == 7) {
_root.Menu.BellEnd7._visible = true;
} else if (end == 8) {
_root.Menu.BellEnd8._visible = true;
}
} else if (_root.Perso == 3) {
if (end == 1) {
_root.Menu.SkuldEnd1._visible = true;
} else if (end == 2) {
_root.Menu.SkuldEnd2._visible = true;
} else if (end == 3) {
_root.Menu.SkuldEnd3._visible = true;
} else if (end == 4) {
_root.Menu.SkuldEnd4._visible = true;
} else if (end == 5) {
_root.Menu.SkuldEnd5._visible = true;
} else if (end == 6) {
_root.Menu.SkuldEnd6._visible = true;
} else if (end == 7) {
_root.Menu.SkuldEnd7._visible = true;
} else if (end == 8) {
_root.Menu.SkuldEnd8._visible = true;
}
} else if (_root.Perso == 1) {
if (end == 1) {
_root.Menu.UrdEnd1._visible = true;
} else if (end == 2) {
_root.Menu.UrdEnd2._visible = true;
} else if (end == 3) {
_root.Menu.UrdEnd3._visible = true;
} else if (end == 4) {
_root.Menu.UrdEnd4._visible = true;
} else if (end == 5) {
_root.Menu.UrdEnd5._visible = true;
} else if (end == 6) {
_root.Menu.UrdEnd6._visible = true;
} else if (end == 7) {
_root.Menu.UrdEnd7._visible = true;
} else if (end == 8) {
_root.Menu.UrdEnd8._visible = true;
}
} else if (_root.Perso == 1) {
if (end == 1) {
} else if (end == 2) {
} else if (end == 3) {
} else if (end == 4) {
} else if (end == 5) {
} else if (end == 6) {
} else if (end == 7) {
} else if (end == 8) {
}
}
};
NewGirl.prototype.Market = function () {
i = 0;
while (i < (_root.MaxFilles + 1)) {
if ((Filles[i].Got == 2) or (Filles[i].Got == 3)) {
rnd = random(100);
if (rnd <= Filles[i].Chance) {
Filles[i].Got = 2;
} else {
Filles[i].Got = 3;
}
}
i++;
}
};
NewGirl.prototype.Image = function (i) {
i = Filles[i].Num - 1;
if (i == 0) {
_root.FillesClip.BelldandyPresentation._visible = true;
} else if (i == 1) {
_root.FillesClip.UrdPresentation._visible = true;
} else if (i == 2) {
_root.FillesClip.HaruhiPresentation._visible = true;
} else if (i == 3) {
_root.FillesClip.SkuldPresentation._visible = true;
} else if (i == 4) {
_root.FillesClip.AerithPresentation._visible = true;
} else if (i == 5) {
_root.FillesClip.RikkuPresentation._visible = true;
} else if (i == 6) {
_root.FillesClip.TifaPresentation._visible = true;
} else if (i == 7) {
_root.FillesClip.YuffiePresentation._visible = true;
} else if (i == 8) {
_root.FillesClip.HinataPresentation._visible = true;
} else if (i == 9) {
_root.FillesClip.NaruPresentation._visible = true;
} else if (i == 10) {
_root.FillesClip.YunaPresentation._visible = true;
} else if (i == 11) {
_root.FillesClip.ShinobuPresentation._visible = true;
} else if (i == 12) {
_root.FillesClip.OsakaPresentation._visible = true;
} else if (i == 13) {
_root.FillesClip.SakuraPresentation._visible = true;
} else if (i == 14) {
_root.FillesClip.RanmaPresentation._visible = true;
} else if (i == 15) {
_root.FillesClip.WashuPresentation._visible = true;
} else if (i == 16) {
_root.FillesClip.SasamiPresentation._visible = true;
} else if (i == 17) {
_root.FillesClip.CCSakuraPresentation._visible = true;
} else if (i == 18) {
_root.FillesClip.RyokoPresentation._visible = true;
} else if (i == 19) {
_root.FillesClip.RobinPresentation._visible = true;
} else if (i == 20) {
_root.FillesClip.ReiPresentation._visible = true;
} else if (i == 21) {
_root.FillesClip.NamiPresentation._visible = true;
} else if (i == 22) {
_root.FillesClip.MikuruPresentation._visible = true;
} else if (i == 23) {
_root.FillesClip.KagamiPresentation._visible = true;
} else if (i == 24) {
_root.FillesClip.ChiiPresentation._visible = true;
} else if (i == 25) {
_root.FillesClip.AyekaPresentation._visible = true;
} else if (i == 26) {
_root.FillesClip.AyanePresentation._visible = true;
} else if (i == 27) {
_root.FillesClip.DeedlithPresentation._visible = true;
} else if (i == 28) {
_root.FillesClip.LuluPresentation._visible = true;
} else if (i == 29) {
_root.FillesClip.FranPresentation._visible = true;
} else if (i == 30) {
_root.FillesClip.InoPresentation._visible = true;
} else if (i == 31) {
_root.FillesClip.MatsumotoPresentation._visible = true;
} else if (i == 32) {
_root.FillesClip.MotokoPresentation._visible = true;
} else if (i == 33) {
_root.FillesClip.OrihimePresentation._visible = true;
} else if (i == 34) {
_root.FillesClip.RinoaPresentation._visible = true;
} else if (i == 35) {
_root.FillesClip.RukiaPresentation._visible = true;
} else if (i == 36) {
_root.FillesClip.TalimPresentation._visible = true;
} else if (i == 37) {
_root.FillesClip.ZeldaPresentation._visible = true;
} else if (i == 38) {
_root.FillesClip.CelesPresentation._visible = true;
} else if (i == 39) {
_root.FillesClip.ChihiroPresentation._visible = true;
} else if (i == 40) {
_root.FillesClip.KushanaPresentation._visible = true;
} else if (i == 41) {
_root.FillesClip.NadiaPresentation._visible = true;
}
};
NewGirl.prototype.ImageX = function (i) {
i = Filles[i].Num - 1;
r = random(8) + 1;
if (i == 0) {
if (r <= 3) {
_root.Menu.BelldandySex1._visible = true;
} else if (r <= 5) {
_root.Menu.BelldandySex2._visible = true;
} else if (r < 7) {
_root.Menu.BelldandySex3._visible = true;
} else {
_root.Menu.BelldandySex4._visible = true;
}
} else if (i == 1) {
_root.Menu.UrdSex1._visible = true;
} else if (i == 2) {
if (r <= 2) {
_root.Menu.HaruhiSex1._visible = true;
} else if (r <= 4) {
_root.Menu.HaruhiSex2._visible = true;
} else if (r <= 5) {
_root.Menu.HaruhiSex3._visible = true;
} else if (r <= 7) {
_root.Menu.HaruhiSex4._visible = true;
} else {
_root.Menu.HaruhiSex5._visible = true;
}
} else if (i == 3) {
if (r <= 2) {
_root.Menu.SkuldSex1._visible = true;
} else if (r <= 4) {
_root.Menu.SkuldSex2._visible = true;
} else if (r <= 5) {
_root.Menu.SkuldSex3._visible = true;
} else if (r <= 7) {
_root.Menu.SkuldSex4._visible = true;
} else {
_root.Menu.SkuldSex5._visible = true;
}
} else if (i == 4) {
if (r <= 1) {
_root.Menu.AerithSex1._visible = true;
} else if (r == 2) {
_root.Menu.AerithSex2._visible = true;
} else if (r == 3) {
_root.Menu.AerithSex3._visible = true;
} else if (r <= 5) {
_root.Menu.AerithSex4._visible = true;
} else if (r == 6) {
_root.Menu.AerithSex5._visible = true;
} else if (r == 7) {
_root.Menu.AerithSex6._visible = true;
} else {
_root.Menu.AerithSex7._visible = true;
}
} else if (i == 5) {
if (r <= 2) {
_root.Menu.RikkuSex1._visible = true;
} else if (r <= 4) {
_root.Menu.RikkuSex2._visible = true;
} else if (r <= 5) {
_root.Menu.RikkuSex3._visible = true;
} else if (r <= 7) {
_root.Menu.RikkuSex4._visible = true;
} else if (r <= 8) {
_root.Menu.RikkuSex5._visible = true;
} else {
_root.Menu.RikkuSex6._visible = true;
}
} else if (i == 6) {
if (r <= 1) {
_root.Menu.TifaSex1._visible = true;
} else if (r <= 2) {
_root.Menu.TifaSex2._visible = true;
} else if (r <= 4) {
_root.Menu.TifaSex3._visible = true;
} else if (r < 5) {
_root.Menu.TifaSex4._visible = true;
} else if (r < 7) {
_root.Menu.TifaSex5._visible = true;
} else {
_root.Menu.TifaSex6._visible = true;
}
} else if (i == 7) {
if (r <= 3) {
_root.Menu.YuffieSex1._visible = true;
} else if (r <= 5) {
_root.Menu.YuffieSex2._visible = true;
} else if (r <= 7) {
_root.Menu.YuffieSex3._visible = true;
} else {
_root.Menu.YuffieSex4._visible = true;
}
} else if (i == 8) {
if (r <= 5) {
_root.Menu.HinataSex1._visible = true;
} else {
_root.Menu.HinataSex2._visible = true;
}
} else if (i == 9) {
if (r <= 3) {
_root.Menu.NaruSex1._visible = true;
} else if (r <= 5) {
_root.Menu.NaruSex2._visible = true;
} else if (r <= 7) {
_root.Menu.NaruSex3._visible = true;
} else {
_root.Menu.NaruSex4._visible = true;
}
} else if (i == 10) {
if (r <= 3) {
_root.Menu.YunaSex1._visible = true;
} else if (r <= 5) {
_root.Menu.YunaSex2._visible = true;
} else {
_root.Menu.YunaSex3._visible = true;
}
} else if (i == 11) {
if (r <= 3) {
_root.Menu.ShinobuSex1._visible = true;
} else if (r <= 5) {
_root.Menu.ShinobuSex2._visible = true;
} else if (r <= 7) {
_root.Menu.ShinobuSex3._visible = true;
} else {
_root.Menu.ShinobuSex4._visible = true;
}
} else if (i == 12) {
_root.Menu.OsakaSex1._visible = true;
} else if (i == 13) {
if (r <= 1) {
_root.Menu.SakuraSex1._visible = true;
} else if (r == 2) {
_root.Menu.SakuraSex2._visible = true;
} else if (r == 3) {
_root.Menu.SakuraSex3._visible = true;
} else if (r == 4) {
_root.Menu.SakuraSex4._visible = true;
} else if (r == 5) {
_root.Menu.SakuraSex5._visible = true;
} else if (r == 6) {
_root.Menu.SakuraSex6._visible = true;
} else if (r <= 8) {
_root.Menu.SakuraSex7._visible = true;
} else {
_root.Menu.SakuraSex7._visible = true;
}
} else if (i == 14) {
_root.Menu.RanmaSex1._visible = true;
} else if (i == 15) {
_root.Menu.WashuSex1._visible = true;
} else if (i == 16) {
if (r <= 5) {
_root.Menu.SasamiSex1._visible = true;
} else {
_root.Menu.SasamiSex2._visible = true;
}
} else if (i == 17) {
if (r <= 2) {
_root.Menu.CCSakuraSex1._visible = true;
} else if (r == 3) {
_root.Menu.CCSakuraSex2._visible = true;
} else if (r == 4) {
_root.Menu.CCSakuraSex3._visible = true;
} else if (r == 5) {
_root.Menu.CCSakuraSex4._visible = true;
} else if (r == 6) {
_root.Menu.CCSakuraSex5._visible = true;
} else if (r == 7) {
_root.Menu.CCSakuraSex6._visible = true;
} else {
_root.Menu.CCSakuraSex7._visible = true;
}
} else if (i == 18) {
if (r <= 5) {
_root.Menu.RyokoSex1._visible = true;
} else {
_root.Menu.RyokoSex2._visible = true;
}
} else if (i == 19) {
if (r <= 5) {
_root.Menu.RobinSex1._visible = true;
} else {
_root.Menu.RobinSex2._visible = true;
}
} else if (i == 20) {
if (r <= 3) {
_root.Menu.ReiSex1._visible = true;
} else if (r <= 6) {
_root.Menu.ReiSex2._visible = true;
} else {
_root.Menu.ReiSex3._visible = true;
}
} else if (i == 21) {
if (r <= 2) {
_root.Menu.NamiSex1._visible = true;
} else if (r <= 4) {
_root.Menu.NamiSex2._visible = true;
} else if (r <= 6) {
_root.Menu.NamiSex3._visible = true;
} else {
_root.Menu.NamiSex4._visible = true;
}
} else if (i == 22) {
if (r <= 4) {
_root.Menu.MikuruSex1._visible = true;
} else {
_root.Menu.MikuruSex2._visible = true;
}
} else if (i == 23) {
_root.Menu.KagamiSex1._visible = true;
} else if (i == 24) {
if (r <= 3) {
_root.Menu.ChiiSex1._visible = true;
} else if (r <= 5) {
_root.Menu.ChiiSex2._visible = true;
} else {
_root.Menu.ChiiSex3._visible = true;
}
} else if (i == 25) {
_root.Menu.AyekaSex1._visible = true;
} else if (i == 26) {
if (r <= 4) {
_root.Menu.AyaneSex1._visible = true;
} else {
_root.Menu.AyaneSex2._visible = true;
}
} else if (i == 27) {
if (r <= 3) {
_root.Menu.DeedlithSex1._visible = true;
} else if (r <= 5) {
_root.Menu.DeedlithSex2._visible = true;
} else {
_root.Menu.DeedlithSex3._visible = true;
}
} else if (i == 28) {
if (r <= 3) {
_root.Menu.LuluSex1._visible = true;
} else if (r <= 5) {
_root.Menu.LuluSex2._visible = true;
} else if (r <= 7) {
_root.Menu.LuluSex3._visible = true;
} else {
_root.Menu.LuluSex4._visible = true;
}
} else if (i == 29) {
if (r <= 5) {
_root.Menu.FranSex1._visible = true;
} else {
_root.Menu.FranSex2._visible = true;
}
} else if (i == 30) {
if (r <= 2) {
_root.Menu.InoSex1._visible = true;
} else if (r <= 4) {
_root.Menu.InoSex2._visible = true;
} else if (r <= 6) {
_root.Menu.InoSex3._visible = true;
} else {
_root.Menu.InoSex4._visible = true;
}
} else if (i == 31) {
if (r <= 2) {
_root.Menu.MatsumotoSex1._visible = true;
} else if (r <= 4) {
_root.Menu.MatsumotoSex2._visible = true;
} else if (r <= 5) {
_root.Menu.MatsumotoSex3._visible = true;
} else if (r <= 7) {
_root.Menu.MatsumotoSex4._visible = true;
} else {
_root.Menu.MatsumotoSex5._visible = true;
}
} else if (i == 32) {
if (r <= 1) {
_root.Menu.MotokoSex1._visible = true;
} else if (r == 2) {
_root.Menu.MotokoSex2._visible = true;
} else if (r == 3) {
_root.Menu.MotokoSex3._visible = true;
} else if (r <= 5) {
_root.Menu.MotokoSex4._visible = true;
} else if (r == 6) {
_root.Menu.MotokoSex5._visible = true;
} else if (r == 7) {
_root.Menu.MotokoSex6._visible = true;
} else {
_root.Menu.MotokoSex7._visible = true;
}
} else if (i == 33) {
if (r <= 2) {
_root.Menu.OrihimeSex1._visible = true;
} else if (r <= 5) {
_root.Menu.OrihimeSex2._visible = true;
} else if (r < 7) {
_root.Menu.OrihimeSex3._visible = true;
} else {
_root.Menu.OrihimeSex4._visible = true;
}
} else if (i == 34) {
if (r <= 2) {
_root.Menu.RinoaSex1._visible = true;
} else if (r <= 5) {
_root.Menu.RinoaSex2._visible = true;
} else if (r < 7) {
_root.Menu.RinoaSex3._visible = true;
} else {
_root.Menu.RinoaSex4._visible = true;
}
} else if (i == 35) {
if (r < 1) {
_root.Menu.RukiaSex1._visible = true;
} else if (r <= 2) {
_root.Menu.RukiaSex2._visible = true;
} else if (r == 3) {
_root.Menu.RukiaSex3._visible = true;
} else if (r <= 5) {
_root.Menu.RukiaSex4._visible = true;
} else if (r == 6) {
_root.Menu.RukiaSex5._visible = true;
} else if (r == 7) {
_root.Menu.RukiaSex6._visible = true;
} else {
_root.Menu.RukiaSex7._visible = true;
}
} else if (i == 36) {
if (r <= 2) {
_root.Menu.TalimSex1._visible = true;
} else if (r <= 4) {
_root.Menu.TalimSex2._visible = true;
} else if (r < 6) {
_root.Menu.TalimSex3._visible = true;
} else {
_root.Menu.TalimSex4._visible = true;
}
} else if (i == 37) {
if (r <= 2) {
_root.Menu.ZeldaSex1._visible = true;
} else if (r <= 3) {
_root.Menu.ZeldaSex2._visible = true;
} else if (r <= 5) {
_root.Menu.ZeldaSex3._visible = true;
} else if (r <= 6) {
_root.Menu.ZeldaSex4._visible = true;
} else {
_root.Menu.ZeldaSex5._visible = true;
}
} else if (i == 38) {
if (r <= 2) {
_root.Menu.CelesSex1._visible = true;
} else if (r <= 4) {
_root.Menu.CelesSex2._visible = true;
} else if (r <= 5) {
_root.Menu.CelesSex3._visible = true;
} else if (r <= 7) {
_root.Menu.CelesSex4._visible = true;
} else {
_root.Menu.CelesSex5._visible = true;
}
} else if (i == 39) {
if (r <= 1) {
_root.Menu.ChihiroSex1._visible = true;
} else if (r <= 2) {
_root.Menu.ChihiroSex2._visible = true;
} else if (r <= 3) {
_root.Menu.ChihiroSex3._visible = true;
} else if (r <= 4) {
_root.Menu.ChihiroSex4._visible = true;
} else if (r <= 5) {
_root.Menu.ChihiroSex5._visible = true;
} else if (r <= 6) {
_root.Menu.ChihiroSex6._visible = true;
} else if (r <= 7) {
_root.Menu.ChihiroSex7._visible = true;
} else {
_root.Menu.ChihiroSex8._visible = true;
}
} else if (i == 40) {
if (r <= 1) {
_root.Menu.KushanaSex1._visible = true;
} else if (r == 2) {
_root.Menu.KushanaSex2._visible = true;
} else if (r == 3) {
_root.Menu.KushanaSex3._visible = true;
} else if (r <= 5) {
_root.Menu.KushanaSex4._visible = true;
} else if (r == 6) {
_root.Menu.KushanaSex5._visible = true;
} else if (r == 7) {
_root.Menu.KushanaSex6._visible = true;
} else {
_root.Menu.KushanaSex7._visible = true;
}
} else if (i == 41) {
if (r <= 2) {
_root.Menu.NadiaSex1._visible = true;
} else if (r <= 4) {
_root.Menu.NadiaSex2._visible = true;
} else if (r <= 6) {
_root.Menu.NadiaSex3._visible = true;
} else {
_root.Menu.NadiaSex4._visible = true;
}
}
};
NewGirl.prototype.CLS = function () {
_root.FillesClip.BelldandyPresentation._visible = false;
_root.Menu.BelldandySex1._visible = false;
_root.Menu.BelldandySex2._visible = false;
_root.Menu.BelldandySex3._visible = false;
_root.Menu.BelldandySex4._visible = false;
_root.Menu.UrdSex1._visible = false;
_root.Menu.HaruhiSex1._visible = false;
_root.Menu.HaruhiSex2._visible = false;
_root.Menu.HaruhiSex3._visible = false;
_root.Menu.HaruhiSex4._visible = false;
_root.Menu.HaruhiSex5._visible = false;
_root.Menu.SkuldSex1._visible = false;
_root.Menu.SkuldSex2._visible = false;
_root.Menu.SkuldSex3._visible = false;
_root.Menu.SkuldSex4._visible = false;
_root.Menu.SkuldSex5._visible = false;
_root.Menu.AerithSex1._visible = false;
_root.Menu.AerithSex2._visible = false;
_root.Menu.AerithSex3._visible = false;
_root.Menu.AerithSex4._visible = false;
_root.Menu.AerithSex5._visible = false;
_root.Menu.AerithSex6._visible = false;
_root.Menu.AerithSex7._visible = false;
_root.Menu.RikkuSex1._visible = false;
_root.Menu.RikkuSex2._visible = false;
_root.Menu.RikkuSex3._visible = false;
_root.Menu.RikkuSex4._visible = false;
_root.Menu.RikkuSex5._visible = false;
_root.Menu.RikkuSex6._visible = false;
_root.Menu.TifaSex1._visible = false;
_root.Menu.TifaSex2._visible = false;
_root.Menu.TifaSex3._visible = false;
_root.Menu.TifaSex4._visible = false;
_root.Menu.TifaSex5._visible = false;
_root.Menu.TifaSex6._visible = false;
_root.Menu.YuffieSex1._visible = false;
_root.Menu.YuffieSex2._visible = false;
_root.Menu.YuffieSex3._visible = false;
_root.Menu.YuffieSex4._visible = false;
_root.Menu.HinataSex1._visible = false;
_root.Menu.HinataSex2._visible = false;
_root.Menu.NaruSex1._visible = false;
_root.Menu.NaruSex2._visible = false;
_root.Menu.NaruSex3._visible = false;
_root.Menu.NaruSex4._visible = false;
_root.Menu.YunaSex1._visible = false;
_root.Menu.YunaSex2._visible = false;
_root.Menu.YunaSex3._visible = false;
_root.Menu.ShinobuSex1._visible = false;
_root.Menu.ShinobuSex2._visible = false;
_root.Menu.ShinobuSex3._visible = false;
_root.Menu.ShinobuSex4._visible = false;
_root.Menu.OsakaSex1._visible = false;
_root.Menu.SakuraSex1._visible = false;
_root.Menu.SakuraSex2._visible = false;
_root.Menu.SakuraSex3._visible = false;
_root.Menu.SakuraSex4._visible = false;
_root.Menu.SakuraSex5._visible = false;
_root.Menu.SakuraSex6._visible = false;
_root.Menu.SakuraSex7._visible = false;
_root.Menu.SakuraSex8._visible = false;
_root.Menu.RanmaSex1._visible = false;
_root.Menu.WashuSex1._visible = false;
_root.Menu.SasamiSex1._visible = false;
_root.Menu.SasamiSex2._visible = false;
_root.Menu.CCSakuraSex1._visible = false;
_root.Menu.CCSakuraSex2._visible = false;
_root.Menu.CCSakuraSex3._visible = false;
_root.Menu.CCSakuraSex4._visible = false;
_root.Menu.CCSakuraSex5._visible = false;
_root.Menu.CCSakuraSex6._visible = false;
_root.Menu.CCSakuraSex7._visible = false;
_root.Menu.RyokoSex1._visible = false;
_root.Menu.RyokoSex2._visible = false;
_root.Menu.RobinSex1._visible = false;
_root.Menu.RobinSex2._visible = false;
_root.Menu.ReiSex1._visible = false;
_root.Menu.ReiSex2._visible = false;
_root.Menu.ReiSex3._visible = false;
_root.Menu.NamiSex1._visible = false;
_root.Menu.NamiSex2._visible = false;
_root.Menu.NamiSex3._visible = false;
_root.Menu.NamiSex4._visible = false;
_root.Menu.NamiSex5._visible = false;
_root.Menu.MikuruSex1._visible = false;
_root.Menu.MikuruSex2._visible = false;
_root.Menu.KagamiSex1._visible = false;
_root.Menu.ChiiSex1._visible = false;
_root.Menu.ChiiSex2._visible = false;
_root.Menu.ChiiSex3._visible = false;
_root.Menu.AyekaSex1._visible = false;
_root.Menu.AyaneSex1._visible = false;
_root.Menu.AyaneSex2._visible = false;
_root.Menu.DeedlithSex1._visible = false;
_root.Menu.DeedlithSex2._visible = false;
_root.Menu.DeedlithSex3._visible = false;
_root.Menu.LuluSex1._visible = false;
_root.Menu.LuluSex2._visible = false;
_root.Menu.LuluSex3._visible = false;
_root.Menu.LuluSex4._visible = false;
_root.Menu.FranSex1._visible = false;
_root.Menu.FranSex2._visible = false;
_root.Menu.InoSex1._visible = false;
_root.Menu.InoSex2._visible = false;
_root.Menu.InoSex3._visible = false;
_root.Menu.InoSex4._visible = false;
_root.Menu.MatsumotoSex1._visible = false;
_root.Menu.MatsumotoSex2._visible = false;
_root.Menu.MatsumotoSex3._visible = false;
_root.Menu.MatsumotoSex4._visible = false;
_root.Menu.MatsumotoSex5._visible = false;
_root.Menu.MotokoSex1._visible = false;
_root.Menu.MotokoSex2._visible = false;
_root.Menu.MotokoSex3._visible = false;
_root.Menu.MotokoSex4._visible = false;
_root.Menu.MotokoSex5._visible = false;
_root.Menu.MotokoSex6._visible = false;
_root.Menu.MotokoSex7._visible = false;
_root.Menu.OrihimeSex1._visible = false;
_root.Menu.OrihimeSex2._visible = false;
_root.Menu.OrihimeSex3._visible = false;
_root.Menu.OrihimeSex4._visible = false;
_root.Menu.RinoaSex1._visible = false;
_root.Menu.RinoaSex2._visible = false;
_root.Menu.RinoaSex3._visible = false;
_root.Menu.RinoaSex4._visible = false;
_root.Menu.RukiaSex1._visible = false;
_root.Menu.RukiaSex2._visible = false;
_root.Menu.RukiaSex3._visible = false;
_root.Menu.RukiaSex4._visible = false;
_root.Menu.RukiaSex5._visible = false;
_root.Menu.RukiaSex6._visible = false;
_root.Menu.RukiaSex7._visible = false;
_root.Menu.TalimSex1._visible = false;
_root.Menu.TalimSex2._visible = false;
_root.Menu.TalimSex3._visible = false;
_root.Menu.TalimSex4._visible = false;
_root.Menu.ZeldaSex1._visible = false;
_root.Menu.ZeldaSex2._visible = false;
_root.Menu.ZeldaSex3._visible = false;
_root.Menu.ZeldaSex4._visible = false;
_root.Menu.ZeldaSex5._visible = false;
_root.Menu.CelesSex1._visible = false;
_root.Menu.CelesSex2._visible = false;
_root.Menu.CelesSex3._visible = false;
_root.Menu.CelesSex4._visible = false;
_root.Menu.CelesSex5._visible = false;
_root.Menu.ChihiroSex1._visible = false;
_root.Menu.ChihiroSex2._visible = false;
_root.Menu.ChihiroSex3._visible = false;
_root.Menu.ChihiroSex4._visible = false;
_root.Menu.ChihiroSex5._visible = false;
_root.Menu.ChihiroSex6._visible = false;
_root.Menu.ChihiroSex7._visible = false;
_root.Menu.ChihiroSex8._visible = false;
_root.Menu.KushanaSex1._visible = false;
_root.Menu.KushanaSex2._visible = false;
_root.Menu.KushanaSex3._visible = false;
_root.Menu.KushanaSex4._visible = false;
_root.Menu.KushanaSex5._visible = false;
_root.Menu.KushanaSex6._visible = false;
_root.Menu.KushanaSex7._visible = false;
_root.Menu.NadiaSex1._visible = false;
_root.Menu.NadiaSex2._visible = false;
_root.Menu.NadiaSex3._visible = false;
_root.Menu.NadiaSex4._visible = false;
_root.FillesClip.UrdPresentation._visible = false;
_root.FillesClip.HaruhiPresentation._visible = false;
_root.FillesClip.SkuldPresentation._visible = false;
_root.FillesClip.AerithPresentation._visible = false;
_root.FillesClip.RikkuPresentation._visible = false;
_root.FillesClip.TifaPresentation._visible = false;
_root.FillesClip.YuffiePresentation._visible = false;
_root.FillesClip.HinataPresentation._visible = false;
_root.FillesClip.NaruPresentation._visible = false;
_root.FillesClip.YunaPresentation._visible = false;
_root.FillesClip.ShinobuPresentation._visible = false;
_root.FillesClip.OsakaPresentation._visible = false;
_root.FillesClip.SakuraPresentation._visible = false;
_root.FillesClip.RanmaPresentation._visible = false;
_root.FillesClip.WashuPresentation._visible = false;
_root.FillesClip.SasamiPresentation._visible = false;
_root.FillesClip.CCSakuraPresentation._visible = false;
_root.FillesClip.RyokoPresentation._visible = false;
_root.FillesClip.RobinPresentation._visible = false;
_root.FillesClip.ReiPresentation._visible = false;
_root.FillesClip.NamiPresentation._visible = false;
_root.FillesClip.MikuruPresentation._visible = false;
_root.FillesClip.KagamiPresentation._visible = false;
_root.FillesClip.ChiiPresentation._visible = false;
_root.FillesClip.AyekaPresentation._visible = false;
_root.FillesClip.AyanePresentation._visible = false;
_root.FillesClip.DeedlithPresentation._visible = false;
_root.FillesClip.LuluPresentation._visible = false;
_root.FillesClip.FranPresentation._visible = false;
_root.FillesClip.InoPresentation._visible = false;
_root.FillesClip.MatsumotoPresentation._visible = false;
_root.FillesClip.MotokoPresentation._visible = false;
_root.FillesClip.OrihimePresentation._visible = false;
_root.FillesClip.RinoaPresentation._visible = false;
_root.FillesClip.RukiaPresentation._visible = false;
_root.FillesClip.TalimPresentation._visible = false;
_root.FillesClip.ZeldaPresentation._visible = false;
_root.FillesClip.CelesPresentation._visible = false;
_root.FillesClip.ChihiroPresentation._visible = false;
_root.FillesClip.KushanaPresentation._visible = false;
_root.FillesClip.NadiaPresentation._visible = false;
};
NewGirl.prototype.Scores = function (i) {
if (Filles[i].Charisma > 100) {
Filles[i].Charisma = 100;
} else if (Filles[i].Charisma < 0) {
Filles[i].Charisma = 0;
}
if (Filles[i].Abilities[22] == 1) {
Filles[i].Charisma = 100;
}
num = 0;
j = 0;
while (j < _root.NbrBat) {
if (VecBuildings[j].Got == 1) {
num = j;
}
j++;
}
if (num == 0) {
if (Filles[i].Reputation > 20) {
Filles[i].Reputation = 20;
}
} else if (num == 1) {
if (Filles[i].Reputation > 40) {
Filles[i].Reputation = 40;
}
} else if (num == 2) {
if (Filles[i].Reputation > 70) {
Filles[i].Reputation = 70;
}
} else if (num == 3) {
if (Filles[i].Reputation > 80) {
Filles[i].Reputation = 80;
}
} else if (num >= 4) {
if (Filles[i].Abilities[18] == 0) {
if (Filles[i].Reputation > 100) {
Filles[i].Reputation = 100;
}
}
}
if (Filles[i].Reputation < 0) {
Filles[i].Reputation = 0;
}
if (Filles[i].Constitution > 100) {
Filles[i].Constitution = 100;
} else if (Filles[i].Constitution < 0) {
Filles[i].Constitution = 0;
}
if (Filles[i].Libido > 100) {
Filles[i].Libido = 100;
} else if (Filles[i].Libido < 0) {
Filles[i].Libido = 0;
}
if (Filles[i].Abilities[22] == 1) {
Filles[i].Libido = 100;
}
if (Filles[i].Fuck > 100) {
Filles[i].Fuck = 100;
} else if (Filles[i].Fuck < 0) {
Filles[i].Fuck = 0;
}
if (Filles[i].Abilities[22] == 1) {
Filles[i].Fuck = 100;
}
if (Filles[i].BJ > 100) {
Filles[i].BJ = 100;
} else if (Filles[i].BJ < 0) {
Filles[i].BJ = 0;
}
if (Filles[i].Abilities[22] == 1) {
Filles[i].BJ = 100;
}
if (Filles[i].Refinement > 100) {
Filles[i].Refinement = 100;
} else if (Filles[i].Refinement < 0) {
Filles[i].Refinement = 0;
}
if (Filles[i].Joy > 100) {
Filles[i].Joy = 100;
} else if (Filles[i].Joy < 0) {
Filles[i].Joy = 0;
}
if (Filles[i].Health > 100) {
Filles[i].Health = 100;
} else if (Filles[i].Health < 0) {
Filles[i].Health = 0;
}
if (Filles[i].Character > 100) {
Filles[i].Character = 100;
} else if (Filles[i].Character < 0) {
Filles[i].Character = 0;
}
if (Filles[i].Character > 100) {
Filles[i].Character = 100;
} else if (Filles[i].VisibleCharacter < 0) {
Filles[i].VisibleCharacter = 0;
}
if (Filles[i].Rank == 1) {
_root.FillesClip.Rank = "Rank 1: Kirimise (Almost beggar)";
} else if (Filles[i].Rank == 2) {
_root.FillesClip.Rank = "Rank 2: Heya-Mochi (Low-class prostitute)";
} else if (Filles[i].Rank == 3) {
_root.FillesClip.Rank = "Rank 3: Zashiki-Mochi (Middle-class Prostitute)";
} else if (Filles[i].Rank == 4) {
_root.FillesClip.Rank = "Rank 4: Tsuke-Mawashi (Courtesan)";
} else if (Filles[i].Rank == 5) {
_root.FillesClip.Rank = "Rank 5: Ch\u00FBsan (Famous)";
} else if (Filles[i].Rank == 6) {
_root.FillesClip.Rank = "Rank 6: Yobidashi (High-Class Courtesan)";
} else if (Filles[i].Rank == 7) {
_root.FillesClip.Rank = "Rank 7: Koshi (Nation famous)";
} else if (Filles[i].Rank == 8) {
_root.FillesClip.Rank = "Rank 8: Tayu (Legendary)";
}
_root.FillesClip.FillesPrice = Filles[i].Cost;
_root.FillesClip.FillesName = Filles[i].Name;
_root.FillesClip.FillesCharisma = Filles[i].Charisma;
_root.FillesClip.FillesConstitution = Filles[i].Constitution;
_root.FillesClip.FillesLibido = Filles[i].Libido;
_root.FillesClip.FillesFuck = Filles[i].Fuck;
_root.FillesClip.FillesSM = Filles[i].SM;
_root.FillesClip.FillesBJ = Filles[i].BJ;
_root.FillesClip.FillesRefinement = Filles[i].Refinement;
_root.FillesClip.FillesJoy = Filles[i].Joy;
_root.FillesClip.FillesReputation = Filles[i].Reputation;
_root.FillesClip.FillesHealth = Filles[i].Health;
_root.FillesClip.FillesCharacter = Filles[i].VisibleCharacter;
_root.FillesClip.FillesEntretien = Filles[i].Entretien;
_root.FillesClip.FillesXP = Filles[i].XP;
_root.FillesClip.FillesNotes = (Filles[i].Caract + "\r") + Filles[i].Story;
prix = Filles[i].Price;
if (_root.JokerActif == 4) {
prix = Math.round(Filles[_root.Indice].Price / 2);
}
_root.FillesClip.Buy.Price = ("Buy for " + prix) + " Golds.";
if (Filles[i].Libre > 0) {
_root.FillesClip.Location = VecBuildings[Filles[i].Libre - 1].Name;
} else if (Filles[i].Libre == -1) {
_root.FillesClip.Location = "Does not work";
} else if (Filles[i].Libre == -3) {
_root.FillesClip.Location = "Poetry Class";
} else if (Filles[i].Libre == -4) {
_root.FillesClip.Location = "Dance Class";
} else if (Filles[i].Libre == -5) {
_root.FillesClip.Location = "Sexual Class";
} else if (Filles[i].Libre == -6) {
_root.FillesClip.Location = "Bondage Class";
} else if (Filles[i].Libre == -7) {
_root.FillesClip.Location = "Ceremony";
}
if (_root.Perso == (Filles[i].Num - 1)) {
_root.FillesClip.Sell.Sell = "Cannot sell yourself";
} else {
_root.FillesClip.Sell.Sell = ("Sell for " + Filles[i].Price) + " Golds.";
}
};
NewGirl.prototype.Event = function () {
eventnum = 0;
text = "\r";
i = 0;
while (i < _root.NbrBat) {
if (VecBuildings[i].Fire > 0) {
VecBuildings[i].FreeRoom = 0;
VecBuildings[i].Fire--;
if (VecBuildings[i].Fire == 0) {
VecBuildings[i].FreeRoom = VecBuildings[i].Room;
text = text + (VecBuildings[i].Name + " is ready. You can use it again.\r");
}
}
i++;
}
i = 0;
while (i < (_root.MaxFilles + 1)) {
if ((Filles[i].Maladie == 1) and (Filles[i].Health == 100)) {
Filles[i].Libre = -1;
Filles[i].Maladie = 0;
text = text + (Filles[i].Name + " is no longer sick.\r");
}
i++;
}
i = 0;
while (i < (_root.MaxFilles + 1)) {
if (Filles[i].Got == 4) {
r = random(10);
if (r > 3) {
Filles[i].Got = 2;
}
}
i++;
}
r = random(1000);
if (_root.NbrDay > _root.StartEvent) {
if (r < 50) {
i = 0;
n = 0;
while (i < (_root.MaxFilles + 1)) {
if (((Filles[i].Got == 1) and (Filles[i].Health < (40 + (_root.Difficulty * 2)))) and (_root.JokerActif != 3)) {
text = text + (Filles[i].Name + " ");
if (Filles[i].Libre > 0) {
VecBuildings[Filles[i].Libre - 1].FreeRoom++;
}
Filles[i].Libre = -1;
Filles[i].Maladie = 1;
n = 1;
}
i++;
}
if (n == 1) {
text = text + " got sick. She(they) won't be able to work until her(their) health is back at 100%.";
}
} else if (r < 75) {
r = 5 + _root.Difficulty;
r = random(5);
if ((VecBuildings[r].Got == 1) and (VecBuildings[r].Fire == 0)) {
text = text + (((("The building: " + VecBuildings[r].Name) + " caught fire! You won't be able to use it for ") + r) + " days!");
VecBuildings[r].Fire = r;
VecBuildings[r].FreeRoom = 0;
i = 0;
while (i < (_root.MaxFilles + 1)) {
if (Filles[i].Libre == VecBuildings[r].Num) {
Filles[i].Libre = -1;
}
i++;
}
}
} else if (r < 125) {
Filles[0].Tri("Num");
i = 0;
while (i < (_root.MaxFilles + 1)) {
if (((Filles[i].Joy < (25 + _root.Difficulty)) and (_root.Perso != i)) and (Filles[i].Got == 1)) {
r = random(Filles[i].Character) - Filles[i].Joy;
r = r + _root.Difficulty;
if (Filles[i].Num == 15) {
r = r + 10;
}
if (r > 25) {
Filles[i].Got = 4;
text = text + (Filles[i].Name + " ran away!!");
if (Filles[i].Libre > 0) {
VecBuildings[Filles[i].Libre - 1].FreeRoom++;
}
i = _root.MaxFilles + 1;
}
}
i++;
}
} else if (r < 200) {
i = 0;
while (i < (_root.MaxFilles + 1)) {
if (Filles[i].Got == 1) {
rnd = random(5);
Filles[i].Joy = Filles[i].Joy + rnd;
}
i++;
}
text = text + "The postman came and delivered letters to all your girls. This will make them happier to have news of their famillies.";
} else if (r < 210) {
i = 0;
while (i < (_root.MaxFilles + 1)) {
if ((Filles[i].Got == 1) and (Filles[i].Num != 25)) {
r = (random(10) + 9) + _root.Difficulty;
Filles[i].Health = Filles[i].Health - r;
}
i++;
}
text = text + "An epidemy is upon the floating world! All your girls lost some health.";
} else if (r < 240) {
r = Math.round(Math.random() * 4);
if ((VecBuildings[r].Got == 1) and (VecBuildings[r].Fire == 0)) {
text = text + (("The building: " + VecBuildings[r].Name) + " has been saccaged by hoodlums! You won't be able to use tomorrow!");
VecBuildings[r].Fire = 1;
VecBuildings[r].FreeRoom = 0;
i = 0;
while (i < (_root.MaxFilles + 1)) {
if (Filles[i].Libre == VecBuildings[r].Num) {
Filles[i].Libre = -1;
}
i++;
}
}
} else if (r < 300) {
Filles[0].Tri("Num");
i = 0;
j = 0;
while (j < 1000) {
while (i < (_root.MaxFilles + 1)) {
if ((Filles[i].Got == 5) and (_root.Gold > Filles[i].Price)) {
r = random(100);
if (r < Filles[i].Chance) {
text = text + (((("A girl named " + Filles[i].Name) + " came to sell herself to your house for ") + Filles[i].Price) + " Golds. Do you accept?");
eventnum = 1;
_root.EventNum = 1;
_root.Indice = i;
trace((_root.Indice + " ") + Filles[_root.Indice].Name);
i = _root.MaxFilles + 1;
j = 5000;
}
}
i++;
}
j++;
}
} else if (r < 350) {
Filles[0].Tri("Refinement");
Filles[0].Tri("Rank");
i = 0;
while (i < (_root.MaxFilles + 1)) {
if ((Filles[i].Got == 1) and (Filles[i].Rank >= 4)) {
r = Math.round((Filles[i].Charisma + Filles[i].Reputation) / 2);
text = text + (((Filles[i].Name + " worked for a theatral company. She won ") + r) + " Golds and some reputation.");
_root.Gold = _root.Gold + r;
_root.MenuGold = _root.Gold;
Filles[i].Reputation = Filles[i].Reputation + 5;
Filles[i].Scores[i];
i = _root.MaxFilles + 1;
}
i++;
}
} else if (r < 400) {
i = 0;
Filles[0].Tri("Num");
while (i < 1000) {
r = random(_root.MaxFilles + 1);
if ((Filles[r].Got == 1) and (r != _root.Perso)) {
total = Math.round((Filles[r].Price * (100 + (Filles[r].Rank * 20))) / 100);
text = text + (((("Somebody asked you to buy " + Filles[r].Name) + " from you for ") + total) + " Golds. Do you accept?");
eventnum = 2;
_root.EventNum = 2;
_root.Indice = r;
i = 1000;
}
i++;
}
}
}
_root.Menu.Infos = _root.Menu.Infos + ("\r" + text);
return(eventnum);
};
NewMission.prototype.New = function (rank) {
o = 0;
while (o == 0) {
r = random(5);
r = Math.round(r);
if ((r == 0) and (VecBuildings[6].Got == 0)) {
i = 0;
j = 0;
while (i < _root.NbrBat) {
if (VecBuildings[i].Got == 0) {
j = i;
i = _root.NbrBat + 1;
}
i++;
}
_root.TypeMission = 0;
_root.MissionM = j;
_root.MissionN = 0;
o = 1;
} else if (r == 1) {
i = 0;
j = 0;
while (i < (_root.MaxFilles + 1)) {
if (Filles[i].Got == 1) {
j++;
}
i++;
}
_root.TypeMission = 1;
_root.MissionM = j + _root.RankMission;
_root.MissionN = 1;
o = 1;
} else if (r == 2) {
i = 0;
j = 0;
k = 0;
while (i < (_root.MaxFilles + 1)) {
if (Filles[i].Got == 1) {
if (Filles[i].Rank > j) {
j = Filles[i].Rank;
k = 1;
} else if (Filles[i].Rank == j) {
k++;
}
}
i++;
}
if (j == 8) {
j = 7;
}
_root.TypeMission = 2;
_root.MissionM = k + _root.RankMission;
_root.MissionN = j + 1;
o = 1;
} else if (r == 3) {
_root.MissionM = _root.Gold + ((_root.RankMission * _root.RankMission) * 100);
_root.TypeMission = 3;
o = 1;
} else if (r == 4) {
k = 0;
if (_root.RankMission <= 1) {
k = 0;
} else if (_root.RankMission == 2) {
k = 0;
} else if (_root.RankMission == 3) {
k = 1;
} else if (_root.RankMission == 4) {
k = 1;
} else if (_root.RankMission == 5) {
k = 2;
} else if (_root.RankMission == 6) {
k = 2;
} else if (_root.RankMission == 7) {
k = 3;
} else if (_root.RankMission == 7) {
k = 3;
} else if (_root.RankMission == 8) {
k = 4;
} else if (_root.RankMission == 9) {
k = 4;
} else if (_root.RankMission == 10) {
k = 4;
}
i = 0;
p = 0;
while (p == 0) {
i = 0;
j = 0;
while (i < _root.NbrBat) {
if (VecBuildings[i].Upgrade[k] == 1) {
j++;
}
i++;
}
if (j > 0) {
if (k < 4) {
k++;
} else {
p = 1;
}
} else {
p = 1;
}
}
_root.TypeMission = 4;
_root.MissionM = k;
_root.MissionN = 1;
o = 1;
}
}
_root.DayMission = _root.DayMission + _root.IntervalMission;
};
NewMission.prototype.Check2 = function (num, m, n) {
if (num == 0) {
if (VecBuildings[m].Got == 1) {
return(1);
}
} else if (num == 1) {
i = 0;
j = 0;
while (i < (_root.MaxFilles + 1)) {
if (Filles[i].Got == 1) {
j++;
}
i++;
}
if (j >= m) {
return(1);
}
} else if (num == 2) {
i = 0;
j = 0;
while (i < (_root.MaxFilles + 1)) {
if ((Filles[i].Got == 1) and (Filles[i].Rank >= n)) {
j++;
}
i++;
}
if (j >= m) {
return(1);
}
} else if (num == 3) {
if (_root.Gold >= m) {
return(1);
}
} else if (num == 4) {
i = 0;
while (i < _root.NbrBat) {
if (VecBuildings[i].Upgrade[m] == 1) {
return(1);
}
i++;
}
}
return(0);
};
NewMithra.prototype.NomFonction = function () {
texte = "";
return(texte);
};
_global.MaxFilles = new number();
MaxFilles = 41;
_global.Filles = new Array();
_global.Filles[0] = new NewGirl(1, 45, 50, 20, 0, 50, 65, 35, 20, 10, 0, 100, "Belldandy", "", "", 1, 750, 28, 24, "", "", 5, 50);
_global.Filles[1] = new NewGirl(2, 20, 25, 50, 0, 20, 0, 15, 20, 10, 70, 100, "Urd", "", "", 1, 300, 9, 9, "", "", 2, 40);
_global.Filles[2] = new NewGirl(3, 40, 70, 30, 0, 40, 35, 70, 45, 50, 45, 100, "Haruhi", "", "", 1, 700, 32, 21, "Her character is much higher than what is shown.", "", 0, 20);
Filles[2].Character = 55;
_global.Filles[3] = new NewGirl(4, 80, 65, 60, 0, 50, 60, 70, 35, 25, 45, 100, "Skuld", "", "", 1, 900, 39, 33, "", "", 5, 30);
_global.Filles[4] = new NewGirl(5, 35, 30, 35, 0, 65, 50, 50, 45, 45, 45, 100, "Aerith", "", "", 1, 780, 36, 21, "", "", 0, 40);
_global.Filles[5] = new NewGirl(6, 60, 65, 40, 0, 50, 45, 75, 25, 55, 45, 100, "Rikku", "", "", 1, 1200, 35, 24, "Can have up to 4 customers each day.", "", 6, 25);
_global.Filles[6] = new NewGirl(7, 65, 60, 60, 0, 55, 25, 20, 55, 60, 40, 100, "Tifa", "", "", 1, 650, 38, 24, "Gain sexual stats faster than the other girls.", "", 0, 45);
_global.Filles[7] = new NewGirl(8, 25, 65, 45, 0, 35, 25, 85, 35, 25, 40, 100, "Yuffie", "", "", 1, 400, 21, 14, "Will steal money from her customers and give it to you.", "", 0, 75);
_global.Filles[8] = new NewGirl(9, 50, 30, 10, 0, 30, 60, 30, 20, 20, 95, 100, "Hinata", "", "", 1, 500, 30, 22, "", "", 0, 65);
_global.Filles[9] = new NewGirl(10, 45, 55, 70, 0, 60, 35, 55, 35, 30, 30, 100, "Naru", "", "", 1, 600, 30, 23, "", "Her real character is variable.", 2, 65);
_global.Filles[10] = new NewGirl(11, 65, 45, 35, 0, 30, 65, 40, 40, 35, 30, 100, "Yuna", "", "", 1, 1000, 38, 28, "", "", 6, 35);
_global.Filles[11] = new NewGirl(12, 40, 20, 15, 0, 40, 50, 40, 30, 25, 50, 100, "Shinobu", "", "", 1, 510, 29, 19, "", "", 0, 85);
_global.Filles[12] = new NewGirl(13, 35, 10, 20, 0, 45, 30, 45, 40, 35, 40, 100, "Osaka", "", "", 1, 390, 27, 14, "", "", 0, 95);
_global.Filles[13] = new NewGirl(14, 55, 60, 65, 0, 60, 45, 55, 35, 25, 20, 100, "Haruno Sakura", "", "", 1, 650, 33, 26, "", "", 0, 50);
_global.Filles[14] = new NewGirl(15, 60, 75, 65, 0, 65, 15, 55, 55, 10, 40, 100, "Ranma", "", "", 1, 500, 28, 26, "Has higher chances of running away.", "", 2, 50);
_global.Filles[15] = new NewGirl(16, 35, 40, 50, 0, 35, 40, 30, 20, 10, 70, 100, "Washu", "", "", 1, 400, 23, 21, "", "", 0, 50);
_global.Filles[16] = new NewGirl(17, 80, 5, 25, 0, 20, 55, 40, 15, 5, 5, 100, "Sasami", "", "", 1, 450, 29, 26, "", "", 0, 50);
_global.Filles[17] = new NewGirl(18, 75, 30, 35, 0, 30, 55, 45, 20, 25, 25, 100, "Sakura", "", "", 1, 550, 32, 27, "Cannot have more than 2 customers each day", "", 0, 40);
_global.Filles[18] = new NewGirl(19, 45, 75, 50, 0, 95, 15, 65, 75, 70, 90, 100, "Ryoko", "", "", 1, 900, 39, 15, "", "Her character is false, it is much lower than that.", 6, 35);
Filles[18].Character = 25;
_global.Filles[19] = new NewGirl(20, 65, 50, 50, 0, 65, 45, 10, 55, 55, 50, 100, "Nico Robin", "", "", 1, 700, 41, 25, "", "", 5, 65);
_global.Filles[20] = new NewGirl(21, 40, 45, 20, 0, 50, 40, 5, 45, 45, 45, 100, "Rei", "", "", 1, 400, 27, 17, "Her joy never change, it is blocked at 50.", "", 2, 50);
_global.Filles[21] = new NewGirl(22, 60, 45, 60, 0, 45, 35, 55, 40, 35, 45, 100, "Nami", "", "", 1, 650, 31, 23, "", "", 0, 40);
_global.Filles[22] = new NewGirl(23, 85, 25, 10, 0, 50, 40, 50, 60, 20, 100, 100, "Mikuru", "", "", 1, 750, 37, 21, "", "Gain XP faster than the other girls.", 2, 45);
_global.Filles[23] = new NewGirl(24, 30, 20, 40, 0, 35, 40, 35, 20, 10, 10, 100, "Kagami", "", "", 1, 300, 22, 18, "Her reputation rises slower than the other girls.", "", 0, 75);
_global.Filles[24] = new NewGirl(25, 65, 45, 15, 0, 5, 45, 25, 35, 35, 35, 100, "Chii", "", "", 1, 500, 31, 23, "Her health never change, it is blocked on 100.", "", 2, 30);
_global.Filles[25] = new NewGirl(26, 50, 50, 50, 0, 50, 50, 50, 50, 50, 50, 100, "Ayeka", "", "", 1, 725, 38, 25, "", "", 5, 40);
_global.Filles[26] = new NewGirl(27, 35, 75, 60, 0, 60, 45, 30, 50, 55, 75, 100, "Ayane", "", "", 1, 780, 36, 23, "", "", 2, 50);
_global.Filles[27] = new NewGirl(28, 65, 60, 40, 0, 20, 60, 55, 20, 15, 10, 100, "Deedlith", "", "", 1, 700, 30, 28, "", "", 6, 50);
_global.Filles[28] = new NewGirl(29, 55, 50, 75, 0, 70, 50, 40, 80, 75, 60, 100, "Lulu", "", "", 1, 850, 48, 29, "", "", 0, 50);
_global.Filles[29] = new NewGirl(30, 70, 55, 50, 0, 85, 40, 60, 85, 80, 80, 100, "Fran", "", "", 1, 875, 50, 25, "", "", 6, 40);
_global.Filles[30] = new NewGirl(31, 40, 55, 55, 0, 60, 45, 60, 25, 20, 20, 100, "Ino", "", "", 1, 700, 29, 23, "", "", 0, 50);
_global.Filles[31] = new NewGirl(32, 80, 70, 75, 0, 0, 20, 60, 50, 50, 50, 100, "Matsumoto", "", "", 1, 630, 28, 24, "Will not gain Libido until her Character is below 20%.", "", 0, 40);
_global.Filles[32] = new NewGirl(33, 50, 70, 40, 0, 30, 45, 50, 35, 30, 35, 100, "Motoko", "", "", 1, 710, 29, 23, "", "", 0, 35);
_global.Filles[33] = new NewGirl(34, 60, 30, 30, 0, 20, 60, 40, 20, 25, 25, 100, "Orihime", "", "", 1, 560, 31, 26, "Her joy is variable.", "", 0, 55);
_global.Filles[34] = new NewGirl(35, 45, 55, 40, 0, 60, 55, 45, 80, 80, 80, 100, "Rinoa", "", "", 1, 830, 47, 24, "", "", 0, 25);
_global.Filles[35] = new NewGirl(36, 40, 40, 50, 0, 60, 50, 25, 35, 40, 50, 100, "Rukia", "", "", 1, 630, 34, 24, "", "", 0, 50);
_global.Filles[36] = new NewGirl(37, 75, 25, 25, 0, 25, 60, 60, 10, 5, 5, 100, "Talim", "", "", 1, 570, 29, 28, "", "", 6, 30);
_global.Filles[37] = new NewGirl(38, 80, 50, 60, 0, 60, 65, 50, 60, 55, 55, 100, "Zelda", "", "", 1, 850, 48, 34, "", "", 6, 10);
_global.Filles[38] = new NewGirl(39, 50, 55, 40, 0, 50, 60, 20, 40, 40, 40, 100, "Celes", "", "", 1, 720, 38, 26, "", "", 5, 30);
_global.Filles[39] = new NewGirl(40, 40, 30, 20, 0, 30, 45, 50, 20, 20, 40, 100, "Chihiro", "", "", 1, 500, 25, 19, "", "", 0, 60);
_global.Filles[40] = new NewGirl(41, 50, 65, 50, 0, 40, 40, 20, 55, 60, 60, 100, "Kushana", "", "", 1, 700, 36, 23, "", "", 6, 10);
_global.Filles[41] = new NewGirl(42, 70, 50, 45, 0, 65, 60, 70, 50, 50, 50, 100, "Nadia", "", "", 1, 850, 44, 29, "", "", 6, 30);
Filles[0].LearnedAbilities[0] = 1;
Filles[1].LearnedAbilities[0] = 1;
Filles[6].LearnedAbilities[0] = 1;
Filles[14].LearnedAbilities[0] = 1;
Filles[22].LearnedAbilities[0] = 1;
Filles[24].LearnedAbilities[0] = 1;
Filles[26].LearnedAbilities[0] = 1;
Filles[29].LearnedAbilities[0] = 1;
Filles[34].LearnedAbilities[0] = 1;
Filles[41].LearnedAbilities[0] = 1;
Filles[1].LearnedAbilities[1] = 1;
Filles[6].LearnedAbilities[1] = 1;
Filles[18].LearnedAbilities[1] = 1;
Filles[19].LearnedAbilities[1] = 1;
Filles[21].LearnedAbilities[1] = 1;
Filles[22].LearnedAbilities[1] = 1;
Filles[26].LearnedAbilities[1] = 1;
Filles[28].LearnedAbilities[1] = 1;
Filles[31].LearnedAbilities[1] = 1;
Filles[33].LearnedAbilities[1] = 1;
Filles[12].LearnedAbilities[2] = 1;
Filles[22].LearnedAbilities[2] = 1;
Filles[31].LearnedAbilities[2] = 1;
Filles[33].LearnedAbilities[2] = 1;
Filles[39].LearnedAbilities[2] = 1;
Filles[2].LearnedAbilities[3] = 1;
Filles[3].LearnedAbilities[3] = 1;
Filles[9].LearnedAbilities[3] = 1;
Filles[15].LearnedAbilities[3] = 1;
Filles[37].LearnedAbilities[3] = 1;
Filles[5].LearnedAbilities[4] = 1;
Filles[6].LearnedAbilities[4] = 1;
Filles[7].LearnedAbilities[4] = 1;
Filles[9].LearnedAbilities[4] = 1;
Filles[13].LearnedAbilities[4] = 1;
Filles[14].LearnedAbilities[4] = 1;
Filles[18].LearnedAbilities[4] = 1;
Filles[26].LearnedAbilities[4] = 1;
Filles[29].LearnedAbilities[4] = 1;
Filles[30].LearnedAbilities[4] = 1;
Filles[31].LearnedAbilities[4] = 1;
Filles[32].LearnedAbilities[4] = 1;
Filles[34].LearnedAbilities[4] = 1;
Filles[35].LearnedAbilities[4] = 1;
Filles[36].LearnedAbilities[4] = 1;
Filles[38].LearnedAbilities[4] = 1;
Filles[40].LearnedAbilities[4] = 1;
Filles[8].LearnedAbilities[5] = 1;
Filles[11].LearnedAbilities[5] = 1;
Filles[22].LearnedAbilities[5] = 1;
Filles[3].LearnedAbilities[6] = 1;
Filles[11].LearnedAbilities[6] = 1;
Filles[16].LearnedAbilities[6] = 1;
Filles[17].LearnedAbilities[6] = 1;
Filles[39].LearnedAbilities[6] = 1;
Filles[0].LearnedAbilities[7] = 1;
Filles[17].LearnedAbilities[7] = 1;
Filles[27].LearnedAbilities[7] = 1;
Filles[35].LearnedAbilities[7] = 1;
Filles[37].LearnedAbilities[7] = 1;
Filles[41].LearnedAbilities[7] = 1;
Filles[0].LearnedAbilities[8] = 1;
Filles[11].LearnedAbilities[8] = 1;
Filles[16].LearnedAbilities[8] = 1;
Filles[22].LearnedAbilities[8] = 1;
Filles[39].LearnedAbilities[8] = 1;
Filles[5].LearnedAbilities[9] = 1;
Filles[7].LearnedAbilities[9] = 1;
Filles[12].LearnedAbilities[9] = 1;
Filles[16].LearnedAbilities[9] = 1;
Filles[31].LearnedAbilities[9] = 1;
Filles[33].LearnedAbilities[9] = 1;
Filles[36].LearnedAbilities[9] = 1;
Filles[41].LearnedAbilities[9] = 1;
Filles[2].LearnedAbilities[10] = 1;
Filles[9].LearnedAbilities[10] = 1;
Filles[12].LearnedAbilities[10] = 1;
Filles[33].LearnedAbilities[10] = 1;
Filles[36].LearnedAbilities[10] = 1;
Filles[37].LearnedAbilities[10] = 1;
Filles[6].LearnedAbilities[11] = 1;
Filles[13].LearnedAbilities[11] = 1;
Filles[14].LearnedAbilities[11] = 1;
Filles[18].LearnedAbilities[11] = 1;
Filles[26].LearnedAbilities[11] = 1;
Filles[36].LearnedAbilities[11] = 1;
Filles[1].LearnedAbilities[12] = 1;
Filles[4].LearnedAbilities[12] = 1;
Filles[14].LearnedAbilities[12] = 1;
Filles[18].LearnedAbilities[12] = 1;
Filles[25].LearnedAbilities[12] = 1;
Filles[34].LearnedAbilities[12] = 1;
Filles[41].LearnedAbilities[12] = 1;
Filles[0].LearnedAbilities[13] = 1;
Filles[8].LearnedAbilities[13] = 1;
Filles[11].LearnedAbilities[13] = 1;
Filles[17].LearnedAbilities[13] = 1;
Filles[20].LearnedAbilities[13] = 1;
Filles[22].LearnedAbilities[13] = 1;
Filles[24].LearnedAbilities[13] = 1;
Filles[36].LearnedAbilities[13] = 1;
Filles[39].LearnedAbilities[13] = 1;
Filles[1].LearnedAbilities[14] = 1;
Filles[4].LearnedAbilities[14] = 1;
Filles[6].LearnedAbilities[14] = 1;
Filles[14].LearnedAbilities[14] = 1;
Filles[18].LearnedAbilities[14] = 1;
Filles[22].LearnedAbilities[14] = 1;
Filles[25].LearnedAbilities[14] = 1;
Filles[33].LearnedAbilities[14] = 1;
Filles[1].LearnedAbilities[15] = 1;
Filles[2].LearnedAbilities[15] = 1;
Filles[6].LearnedAbilities[15] = 1;
Filles[9].LearnedAbilities[15] = 1;
Filles[10].LearnedAbilities[15] = 1;
Filles[15].LearnedAbilities[15] = 1;
Filles[19].LearnedAbilities[15] = 1;
Filles[20].LearnedAbilities[15] = 1;
Filles[21].LearnedAbilities[15] = 1;
Filles[22].LearnedAbilities[15] = 1;
Filles[27].LearnedAbilities[15] = 1;
Filles[28].LearnedAbilities[15] = 1;
Filles[29].LearnedAbilities[15] = 1;
Filles[31].LearnedAbilities[15] = 1;
Filles[35].LearnedAbilities[15] = 1;
Filles[37].LearnedAbilities[15] = 1;
Filles[40].LearnedAbilities[13] = 1;
Filles[5].LearnedAbilities[16] = 1;
Filles[15].LearnedAbilities[16] = 1;
Filles[18].LearnedAbilities[16] = 1;
Filles[20].LearnedAbilities[16] = 1;
Filles[25].LearnedAbilities[16] = 1;
Filles[27].LearnedAbilities[16] = 1;
Filles[29].LearnedAbilities[16] = 1;
Filles[31].LearnedAbilities[16] = 1;
Filles[35].LearnedAbilities[16] = 1;
Filles[1].LearnedAbilities[17] = 1;
Filles[5].LearnedAbilities[17] = 1;
Filles[6].LearnedAbilities[17] = 1;
Filles[7].LearnedAbilities[17] = 1;
Filles[14].LearnedAbilities[17] = 1;
Filles[18].LearnedAbilities[17] = 1;
Filles[19].LearnedAbilities[17] = 1;
Filles[21].LearnedAbilities[17] = 1;
Filles[22].LearnedAbilities[17] = 1;
Filles[26].LearnedAbilities[17] = 1;
Filles[29].LearnedAbilities[17] = 1;
Filles[31].LearnedAbilities[17] = 1;
Filles[41].LearnedAbilities[13] = 1;
Filles[4].LearnedAbilities[18] = 1;
Filles[5].LearnedAbilities[18] = 1;
Filles[10].LearnedAbilities[18] = 1;
Filles[19].LearnedAbilities[18] = 1;
Filles[21].LearnedAbilities[18] = 1;
Filles[25].LearnedAbilities[18] = 1;
Filles[37].LearnedAbilities[18] = 1;
Filles[38].LearnedAbilities[13] = 1;
Filles[40].LearnedAbilities[13] = 1;
Filles[0].LearnedAbilities[20] = 1;
Filles[1].LearnedAbilities[20] = 1;
Filles[3].LearnedAbilities[20] = 1;
Filles[8].LearnedAbilities[20] = 1;
Filles[10].LearnedAbilities[20] = 1;
Filles[16].LearnedAbilities[20] = 1;
Filles[25].LearnedAbilities[20] = 1;
Filles[27].LearnedAbilities[20] = 1;
Filles[34].LearnedAbilities[20] = 1;
Filles[37].LearnedAbilities[20] = 1;
Filles[38].LearnedAbilities[13] = 1;
Filles[40].LearnedAbilities[13] = 1;
Filles[4].LearnedAbilities[21] = 1;
Filles[5].LearnedAbilities[21] = 1;
Filles[10].LearnedAbilities[21] = 1;
Filles[20].LearnedAbilities[21] = 1;
Filles[25].LearnedAbilities[21] = 1;
Filles[27].LearnedAbilities[21] = 1;
Filles[34].LearnedAbilities[21] = 1;
Filles[36].LearnedAbilities[21] = 1;
Filles[37].LearnedAbilities[21] = 1;
Filles[2].LearnedAbilities[22] = 1;
Filles[9].LearnedAbilities[22] = 1;
Filles[14].LearnedAbilities[22] = 1;
Filles[17].LearnedAbilities[22] = 1;
Filles[18].LearnedAbilities[22] = 1;
Filles[22].LearnedAbilities[22] = 1;
Filles[29].LearnedAbilities[22] = 1;
_global.RealFille = new NewGirl();
Filles[Indice].CLS();
Filles[0].Market();
i = 0;
while (i < (_root.MaxFilles + 1)) {
Filles[i].Libre = -1;
i++;
}
_global.Missions = new Array();
_global.Missions[0] = new NewMission(1, "Buy the small house", 1);
_root.NbrBat = 7;
_global.VecBuildings = new Array();
_global.VecBuildings[0] = new NewBuilding(1, 1, 5, 50, 0, 1, 0, "the old shack", "An old shack far away from the 'floating world'. Doesn't look very nice but better than welcoming customers outdoor. \r Buy for 50 golds?");
_global.VecBuildings[1] = new NewBuilding(2, 2, 5, 250, 0, 5, 0, "the small house", "A small house nearby the 'floating world' but still away from it. Doesn't look very engaging but won't make people go away. \r Buy for 250 Golds?");
_global.VecBuildings[2] = new NewBuilding(3, 3, 10, 1000, 0, 10, 0, "the first house", "An house inside the island of the 'floating world'. Looks nice but it's not in the most frequented streets. \r Buy for 1.000 Golds?");
_global.VecBuildings[3] = new NewBuilding(4, 3, 15, 5000, 5, 20, 0, "the second house", "A house in the main street of the 'floating world'. Easy to see and engaging, but still not as impressive as the palace nearby. \r Buy for 5.000 Golds?");
_global.VecBuildings[4] = new NewBuilding(5, 5, 15, 15000, 10, 20, 0, "the big house", "A big house near the palaces of the main street. Nobody can pass next to this house without seeing it. \r Buy for 15.000 Golds?");
_global.VecBuildings[5] = new NewBuilding(6, 7, 20, 25000, 20, 30, 0, "the palace", "A splendid palace in the center of the 'floating world'. Everybody know where this house is and it's reputation is impressive. \r Buy for 25.000 Golds?");
_global.VecBuildings[6] = new NewBuilding(7, 10, 25, 45000, 50, 50, 0, "the central palace", "The most beautiful palace of the 'floating world', the center of this place. No one can come on the island without seeing this place and wishing to stay a night there. \r Buy for 45.000 Golds?");
_global.VecEquip = new Array();
_global.VecEquip[0] = new NewEquip(1, "Plain Dress", 0);
_global.VecEquip[1] = new NewEquip(2, "Yukata", 50, "Yukata: \r Charisma + 5");
_global.VecEquip[2] = new NewEquip(3, "Kimono", 300, "Kimono: \r Charisma + 10 \r Refinement + 5");
_global.VecEquip[3] = new NewEquip(4, "Luxurious Kimono", 1000, "Luxurious Kimono: \r Charisma + 20 \r Refinement + 10");
_global.VecEquip[4] = new NewEquip(5, "Sexy Dress", 500, "Sexy Dress: \r Charisma + 10 \r Libido + 5 \r Fuck + 5 Blowjob + 5");
_global.VecEquip[5] = new NewEquip(6, "Yobidashi Dress", 3000, "Yobidashi Dress: \r Refinement + 25");
_global.VecEquip[6] = new NewEquip(7, "Hypnotic Ring", 1000, "Hypnotic Ring: \r Character - 10");
_global.VecEquip[7] = new NewEquip(8, "Perfume", 400, "Perfume: \r Charisma + 5");
_global.VecEquip[8] = new NewEquip(9, "Drugs", 500, "Drugs: \r Unknown effets");
_global.VecEquip[9] = new NewEquip(10, "Aphrodisiac", 800, "Aphrodisiac: \r Libido + 15");
_global.VecEquip[10] = new NewEquip(11, "Mirror", 500, "Mirror: \r Charisma + 5 \r Refinement + 5");
_global.VecEquip[11] = new NewEquip(12, "Hairpin", 250, "Hairpin: \r Refinement + 5");
i = 0;
while (i < (_root.MaxFilles + 1)) {
_global.VecEquip[0].Filles[i] = 2;
i++;
}
i = 0;
while (i < (_root.MaxFilles + 1)) {
ListFilles[i] = -1;
i++;
}
Filles[0].Tri("Num");
Filles[0].CLS();
_root.sObject = SharedObject.getLocal("Simbro");
EndDay = 299;
Perso = 0;
Gold = 100;
_root.MenuGold = Gold;
IntervalMission = 30;
_root.NbrMission = 10;
_root.DoubleMission = 0;
VecBuildings[0].Got = 1;
_root.StartEvent = 30;
Missions[0].New(_root.RankMission);
_root.Comment = "Welcome to Sim Brothel. I am Yumi, i will help you during your time here.";
if (_root.TypeMission == 0) {
_root.Comment = _root.Comment + ((("\rYour new mission is to: Have the " + VecBuildings[_root.MissionM].Name) + " before day: ") + _root.DayMission);
} else if (_root.TypeMission == 1) {
_root.MissionM++;
_root.Comment = _root.Comment + ((("\rYour new mission is to: Have " + _root.MissionM) + " girls before day: ") + _root.DayMission);
} else if (_root.TypeMission == 2) {
_root.MissionN++;
_root.Comment = _root.Comment + ((((("\rYour new mission is to: Have " + _root.MissionM) + " girls rank ") + _root.MissionN) + " before day: ") + _root.DayMission);
} else if (_root.TypeMission == 3) {
_root.MissionM = _root.MissionM + 200;
_root.Comment = _root.Comment + ((("\rYour new mission is to: Have " + _root.MissionM) + " Golds before day: ") + _root.DayMission);
} else if (_root.TypeMission == 4) {
if (_root.MissionM == 0) {
_root.Comment = _root.Comment + ("\rYour new mission is to: Have a bar before day: " + _root.DayMission);
} else if (_root.MissionM == 1) {
_root.Comment = _root.Comment + ("\rYour new mission is to: Have a strip-tease room before day: " + _root.DayMission);
} else if (_root.MissionM == 2) {
_root.Comment = _root.Comment + ("\rYour new mission is to: Have a garden room before day: " + _root.DayMission);
} else if (_root.MissionM == 3) {
_root.Comment = _root.Comment + ("\rYour new mission is to: Have a money-games room before day: " + _root.DayMission);
} else {
_root.Comment = _root.Comment + ("\rYour new mission is to: Have an opium room before day: " + _root.DayMission);
}
}
_root.Comment = _root.Comment + (("\rThe ending of your work is at day: " + (_root.EndDay + 1)) + ".\rYou have to fulfill the most missions you can before that date.");
_root.Menu.Infos = _root.Comment;
_root.Menu.Restart._visible = false;
Instance of Symbol 14 MovieClip "Sell" in Symbol 226 MovieClip Frame 1
on (press) {
if (_root.Perso != (Filles[_root.Indice].Num - 1)) {
_root.FillesClip.FillesNotes = "You sold " + Filles[_root.Indice].Name;
Filles[_root.Indice].Got = 0;
Filles[_root.Indice].CLS();
_root.Gold = _root.Gold + Filles[_root.Indice].Price;
_root.MenuGold = _root.Gold;
i = 0;
while ((i >= 0) and (i < (_root.MaxFilles + 1))) {
if (_root.Indice < _root.MaxFilles) {
_root.Indice = _root.Indice + 1;
} else {
_root.Indice = 0;
}
if (Filles[_root.Indice].Got == 1) {
Filles[_root.Indice].Scores(_root.Indice);
Filles[_root.Indice].Image(_root.Indice);
i = -1;
} else {
i = i + 1;
}
}
if (i >= _root.MaxFilles) {
_root.FillesClip.FillesNotes = "No more list to show.";
}
}
}
Instance of Symbol 17 MovieClip "BuyEquip" in Symbol 226 MovieClip Frame 1
on (press) {
VecEquip[0].Show(1);
_root.Dress._visible = true;
_root.Dress.Yes._visible = false;
_root.Dress.No._visible = false;
_root.FillesClip._visible = false;
_root.ActionEquip = 0;
}
Instance of Symbol 20 MovieClip "Buy" in Symbol 226 MovieClip Frame 1
on (press) {
prix = Filles[_root.Indice].Price;
if (_root.JokerActif == 4) {
prix = Math.round(Filles[_root.Indice].Price / 2);
_root.JokerActif = 0;
}
if (_root.Gold >= prix) {
_root.FillesClip.FillesNotes = "You bought " + Filles[_root.Indice].Name;
Filles[_root.Indice].Got = 1;
Filles[_root.Indice].CLS();
_root.Gold = _root.Gold - prix;
_root.MenuGold = _root.Gold;
i = 0;
while ((i >= 0) and (i < (_root.MaxFilles + 1))) {
if (_root.Indice < _root.MaxFilles) {
_root.Indice = _root.Indice + 1;
} else {
_root.Indice = 0;
}
if ((Filles[_root.Indice].Got == _root.Achat) and ((Filles[_root.Indice].Libre == 0) or (Filles[_root.Indice].Libre == -1))) {
Filles[_root.Indice].Scores(_root.Indice);
Filles[_root.Indice].Image(_root.Indice);
i = -1;
} else {
i = i + 1;
}
}
if (i >= _root.MaxFilles) {
}
} else {
_root.FillesClip.FillesNotes = "You don't have enough Golds.";
}
}
Instance of Symbol 23 MovieClip "Work" in Symbol 226 MovieClip Frame 1
on (press) {
if (Filles[_root.Indice].Maladie == 0) {
_root.Menu._visible = false;
_root.Dress._visible = false;
_root.FillesClip._visible = false;
_root.BuildingsClip.Yes._visible = false;
_root.BuildingsClip.No._visible = false;
_root.BuildingsClip.NoWork._visible = true;
_root.BuildingsClip.School._visible = true;
_root.BuildingsClip.Ceremony._visible = true;
_root.BuildingsClip.Infos = "";
if (Filles[_root.Indice].Libre > 0) {
VecBuildings[Filles[_root.Indice].Libre - 1].FreeRoom++;
Filles[_root.Indice].Libre = -1;
}
_root.ActionBuilding = 2;
VecBuildings[0].Show(1);
} else {
_root.FillesClip.FillesNotes = "This girl is sick and need to rest.";
}
}
Instance of Symbol 26 MovieClip "ChangeEquip" in Symbol 226 MovieClip Frame 1
on (press) {
_root.Dress._visible = true;
_root.FillesClip._visible = false;
_root.Dress.Yes._visible = false;
_root.Dress.No._visible = false;
_root.ActionEquip = 1;
VecEquip[0].Show(0);
}
Instance of Symbol 28 MovieClip "No" in Symbol 226 MovieClip Frame 1
on (press) {
_root.FillesClip.Yes._visible = false;
_root.FillesClip.No._visible = false;
_root.FillesClip.RankUp._visible = true;
}
Instance of Symbol 30 MovieClip "Yes" in Symbol 226 MovieClip Frame 1
on (press) {
if (_root.Gold >= ((_root.WillRank * 50) * _root.Difficulty)) {
Filles[_root.Indice].Rank = _root.WillRank;
_root.Gold = _root.Gold - ((_root.WillRank * 50) * _root.Difficulty);
_root.MenuGold = _root.Gold;
_root.Comment = ("This girl is now Rank " + _root.WillRank) + ".";
_root.FillesClip.Yes._visible = false;
_root.FillesClip.No._visible = false;
_root.Ranked = 1;
_root.Rankage = 0;
} else {
_root.Comment = "You don't have enough Golds.";
}
_root.FillesClip.FillesNotes = _root.Comment;
Filles[0].Scores(_root.Indice);
}
Instance of Symbol 32 MovieClip "RankUp" in Symbol 226 MovieClip Frame 1
on (press) {
i = _root.Indice;
oldrank = Filles[i].Rank;
newrank = Filles[i].Rank;
num = 0;
j = 0;
while (j < _root.NbrBat) {
if (VecBuildings[j].Got == 1) {
num = j;
}
j++;
}
if (((((Filles[i].Rank == 7) and (Filles[i].Refinement >= 99)) and (Filles[i].Reputation >= 99)) and (Filles[i].Charisma >= 95)) and (num >= 6)) {
newrank = 8;
} else if (((((Filles[i].Rank == 6) and (Filles[i].Refinement > 90)) and (Filles[i].Reputation > 90)) and (Filles[i].Charisma > 80)) and (num >= 5)) {
newrank = 7;
} else if (((((Filles[i].Rank == 5) and (Filles[i].Refinement > 70)) and (Filles[i].Reputation > 70)) and (Filles[i].Charisma > 70)) and (num >= 4)) {
newrank = 6;
} else if (((((Filles[i].Rank == 4) and (Filles[i].Refinement > 55)) and (Filles[i].Reputation > 55)) and (Filles[i].Charisma > 60)) and (num >= 3)) {
newrank = 5;
} else if (((((Filles[i].Rank == 3) and (Filles[i].Refinement > 45)) and (Filles[i].Reputation > 45)) and (Filles[i].Charisma > 40)) and (num >= 2)) {
newrank = 4;
} else if ((((Filles[i].Rank == 2) and (Filles[i].Refinement > 25)) and (Filles[i].Reputation > 25)) and (num >= 1)) {
newrank = 3;
} else if ((Filles[i].Refinement > 10) and (Filles[i].Reputation > 10)) {
newrank = 2;
}
if (newrank > oldrank) {
_root.Comment = ((("This girl can pass to Rank " + newrank) + " but it will cost you ") + ((newrank * 50) * _root.Difficulty)) + " Golds.";
_root.FillesClip.Yes._visible = true;
_root.FillesClip.No._visible = true;
_root.WillRank = newrank;
} else {
_root.Comment = "This girl cannot gain a higher rank.";
}
Filles[0].Scores(i);
_root.FillesClip.FillesNotes = _root.Comment;
_root.FillesClip.RankUp._visible = false;
}
Instance of Symbol 55 MovieClip "FillesBoutonG" in Symbol 226 MovieClip Frame 1
on (press) {
_root.FillesClip.Yes._visible = false;
_root.FillesClip.No._visible = false;
i = 0;
while ((i >= 0) and (i < (_root.MaxFilles + 1))) {
if (_root.Indice > 0) {
_root.Indice = _root.Indice - 1;
} else {
_root.Indice = _root.MaxFilles;
}
if (Filles[_root.Indice].Got == _root.Achat) {
Filles[_root.Indice].CLS();
Filles[_root.Indice].Scores(_root.Indice);
Filles[_root.Indice].Image(_root.Indice);
i = -1;
} else {
i = i + 1;
}
}
if (_root.RankMission < 4) {
_root.Comment = Filles[_root.Indice].Comment1;
} else if (_root.RankMission < 8) {
_root.Comment = Filles[_root.Indice].Comment2;
} else {
_root.Comment = Filles[_root.Indice].Comment3;
}
if (i >= _root.MaxFilles) {
_root.Comment = "No more list to show.";
_root.FillesClip.FillesName = "";
}
if (_root.Rankage == 1) {
i = _root.Indice;
oldrank = Filles[i].Rank;
newrank = Filles[i].Rank;
num = 0;
j = 0;
while (j < _root.NbrBat) {
if (VecBuildings[j].Got == 1) {
num = j;
}
j++;
}
if (((((Filles[i].Rank == 7) and (Filles[i].Refinement >= 99)) and (Filles[i].Reputation >= 99)) and (Filles[i].Charisma >= 95)) and (num >= 6)) {
newrank = 8;
} else if (((((Filles[i].Rank == 6) and (Filles[i].Refinement > 90)) and (Filles[i].Reputation > 90)) and (Filles[i].Charisma > 80)) and (num >= 5)) {
newrank = 7;
} else if (((((Filles[i].Rank == 5) and (Filles[i].Refinement > 70)) and (Filles[i].Reputation > 70)) and (Filles[i].Charisma > 70)) and (num >= 4)) {
newrank = 6;
} else if (((((Filles[i].Rank == 4) and (Filles[i].Refinement > 55)) and (Filles[i].Reputation > 55)) and (Filles[i].Charisma > 60)) and (num >= 3)) {
newrank = 5;
} else if (((((Filles[i].Rank == 3) and (Filles[i].Refinement > 45)) and (Filles[i].Reputation > 45)) and (Filles[i].Charisma > 40)) and (num >= 2)) {
newrank = 4;
} else if ((((Filles[i].Rank == 2) and (Filles[i].Refinement > 25)) and (Filles[i].Reputation > 25)) and (num >= 1)) {
newrank = 3;
} else if ((Filles[i].Refinement > 10) and (Filles[i].Reputation > 10)) {
newrank = 2;
}
if (newrank > oldrank) {
_root.FillesClip.RankUp._visible = true;
} else {
_root.FillesClip.RankUp._visible = false;
}
}
_root.FillesClip.FillesNotes = _root.Comment;
}
Instance of Symbol 57 MovieClip "FillesBoutonD" in Symbol 226 MovieClip Frame 1
on (press) {
_root.FillesClip.Yes._visible = false;
_root.FillesClip.No._visible = false;
i = 0;
while ((i >= 0) and (i < (_root.MaxFilles + 1))) {
if (_root.Indice < _root.MaxFilles) {
_root.Indice = _root.Indice + 1;
} else {
_root.Indice = 0;
}
if (Filles[_root.Indice].Got == _root.Achat) {
Filles[_root.Indice].CLS();
Filles[_root.Indice].Scores(_root.Indice);
Filles[_root.Indice].Image(_root.Indice);
i = -1;
} else {
i = i + 1;
}
}
if (_root.RankMission < 4) {
_root.Comment = Filles[_root.Indice].Comment1;
} else if (_root.RankMission < 8) {
_root.Comment = Filles[_root.Indice].Comment2;
} else {
_root.Comment = Filles[_root.Indice].Comment3;
}
if (i >= _root.MaxFilles) {
_root.Comment = "No more list to show.";
_root.FillesClip.FillesName = "";
}
if (_root.Rankage == 1) {
i = _root.Indice;
oldrank = Filles[i].Rank;
newrank = Filles[i].Rank;
num = 0;
j = 0;
while (j < _root.NbrBat) {
if (VecBuildings[j].Got == 1) {
num = j;
}
j++;
}
if (((((Filles[i].Rank == 7) and (Filles[i].Refinement >= 99)) and (Filles[i].Reputation >= 99)) and (Filles[i].Charisma >= 95)) and (num >= 6)) {
newrank = 8;
} else if (((((Filles[i].Rank == 6) and (Filles[i].Refinement > 90)) and (Filles[i].Reputation > 90)) and (Filles[i].Charisma > 80)) and (num >= 5)) {
newrank = 7;
} else if (((((Filles[i].Rank == 5) and (Filles[i].Refinement > 70)) and (Filles[i].Reputation > 70)) and (Filles[i].Charisma > 70)) and (num >= 4)) {
newrank = 6;
} else if (((((Filles[i].Rank == 4) and (Filles[i].Refinement > 55)) and (Filles[i].Reputation > 55)) and (Filles[i].Charisma > 60)) and (num >= 3)) {
newrank = 5;
} else if (((((Filles[i].Rank == 3) and (Filles[i].Refinement > 45)) and (Filles[i].Reputation > 45)) and (Filles[i].Charisma > 40)) and (num >= 2)) {
newrank = 4;
} else if ((((Filles[i].Rank == 2) and (Filles[i].Refinement > 25)) and (Filles[i].Reputation > 25)) and (num >= 1)) {
newrank = 3;
} else if ((Filles[i].Refinement > 10) and (Filles[i].Reputation > 10)) {
newrank = 2;
}
if (newrank > oldrank) {
_root.FillesClip.RankUp._visible = true;
} else {
_root.FillesClip.RankUp._visible = false;
}
}
_root.FillesClip.FillesNotes = _root.Comment;
}
Instance of Symbol 70 MovieClip "X" in Symbol 226 MovieClip Frame 1
on (press) {
_root.Comment = "";
_root.FillesClip._visible = false;
if ((_root.Rankage == 0) or (_root.Achat == 2)) {
if (_root.FillesClip.Abilities._visible == true) {
_root.GirlListMain._visible = true;
Filles[0].ListMain();
} else {
_root.Menu._visible = true;
}
} else {
_root.Management._visible = true;
}
_root.Dress._visible = false;
_root.FillesClip.Buy._visible = false;
_root.FillesClip.School._visible = false;
_root.FillesClip.ChangeEquip._visible = false;
_root.FillesClip.Work._visible = false;
_root.FillesClip.NoWork._visible = false;
_root.FillesClip.Sameplace._visible = false;
_root.FillesClip.ChangePrice._visible = false;
_root.FillesClip.Sell._visible = false;
_root.FillesClip.RankUp._visible = false;
_root.FillesClip.Yes._visible = false;
_root.FillesClip.No._visible = false;
_root.FillesClip.PlusRefinement._visible = false;
_root.FillesClip.PlusCharisma._visible = false;
_root.FillesClip.PlusConstitution._visible = false;
_root.FillesClip.PlusFuck._visible = false;
_root.FillesClip.PlusBJ._visible = false;
_root.FillesClip.PlusLibido._visible = false;
}
Instance of Symbol 73 MovieClip in Symbol 226 MovieClip Frame 1
on (rollOver) {
_root.FillesClip.FillesNotes = "The more charisma a girl has, the more the customers will be happy.";
}
on (rollOut) {
_root.FillesClip.FillesNotes = _root.Comment;
}
Instance of Symbol 75 MovieClip in Symbol 226 MovieClip Frame 1
on (rollOver) {
_root.FillesClip.FillesNotes = "Constitution will allow the girl to work more and see more customers each day.";
}
on (rollOut) {
_root.FillesClip.FillesNotes = _root.Comment;
}
Instance of Symbol 77 MovieClip in Symbol 226 MovieClip Frame 1
on (rollOver) {
_root.FillesClip.FillesNotes = "A girl with too much character won't easily accept to work. This stat is only an estimation, as her real character is unknown.";
}
on (rollOut) {
_root.FillesClip.FillesNotes = _root.Comment;
}
Instance of Symbol 79 MovieClip in Symbol 226 MovieClip Frame 1
on (rollOver) {
_root.FillesClip.FillesNotes = "Reputation will attract customers and make a good advertising. Depend directly on her refinement and the buildings you have.";
}
on (rollOut) {
_root.FillesClip.FillesNotes = _root.Comment;
}
Instance of Symbol 81 MovieClip in Symbol 226 MovieClip Frame 1
on (rollOver) {
_root.FillesClip.FillesNotes = "If the girl is happy, she will work more and better. On the contrary, she may want to leave if she isn't happy.";
}
on (rollOut) {
_root.FillesClip.FillesNotes = _root.Comment;
}
Instance of Symbol 83 MovieClip in Symbol 226 MovieClip Frame 1
on (rollOver) {
_root.FillesClip.FillesNotes = "The ability of the girl to do her sexual job. The better she is, the more the customers will enjoy their stay.";
}
on (rollOut) {
_root.FillesClip.FillesNotes = _root.Comment;
}
Instance of Symbol 85 MovieClip in Symbol 226 MovieClip Frame 1
on (rollOver) {
_root.FillesClip.FillesNotes = "The other sexual stat, if the girl is good at it, the customers will be very happy during their stay.";
}
on (rollOut) {
_root.FillesClip.FillesNotes = _root.Comment;
}
Instance of Symbol 87 MovieClip in Symbol 226 MovieClip Frame 1
on (rollOver) {
_root.FillesClip.FillesNotes = "How much the girl like to have sex. The more she want to, the more customers she will be able to take care of.";
}
on (rollOut) {
_root.FillesClip.FillesNotes = _root.Comment;
}
Instance of Symbol 89 MovieClip in Symbol 226 MovieClip Frame 1
on (rollOver) {
_root.FillesClip.FillesNotes = "Having girls in good health in important, as their abilities will go down with their health.";
}
on (rollOut) {
_root.FillesClip.FillesNotes = _root.Comment;
}
Instance of Symbol 91 MovieClip in Symbol 226 MovieClip Frame 1
on (rollOver) {
_root.FillesClip.FillesNotes = "Probably the most important stat. From her refinement depend her reputation and her rank.";
}
on (rollOut) {
_root.FillesClip.FillesNotes = _root.Comment;
}
Instance of Symbol 94 MovieClip in Symbol 226 MovieClip Frame 1
on (rollOver) {
_root.FillesClip.FillesNotes = "Her rank is the most important thing for your girl here. It depend on the girl's reputation, refinement, charisma and the buildings you have.";
}
on (rollOut) {
_root.FillesClip.FillesNotes = _root.Comment;
}
Instance of Symbol 97 MovieClip in Symbol 226 MovieClip Frame 1
on (press) {
}
Instance of Symbol 100 MovieClip in Symbol 226 MovieClip Frame 1
on (rollOver) {
_root.FillesClip.FillesNotes = "This price is how much the girl will ask each time she see a customer.";
}
on (rollOut) {
_root.FillesClip.FillesNotes = _root.Comment;
}
Instance of Symbol 104 MovieClip "ChangePrice" in Symbol 226 MovieClip Frame 1
on (press) {
_root.FillesClip.FillesBoutonG._visible = false;
_root.FillesClip.FillesBoutonD._visible = false;
_root.FillesClip.X._visible = false;
_root.FillesClip.ChangeEquip._visible = false;
_root.FillesClip.Sell._visible = false;
_root.FillesClip.Work._visible = false;
_root.FillesClip.ChangePrice._visible = false;
_root.ChoixPrix._visible = true;
}
Instance of Symbol 108 MovieClip in Symbol 226 MovieClip Frame 1
on (rollOver) {
_root.FillesClip.FillesNotes = "This is how much you will have to pay this girl each day. Be careful that some girls may cost you more than they gain.";
}
on (rollOut) {
_root.FillesClip.FillesNotes = _root.Comment;
}
Instance of Symbol 111 MovieClip "PlusCharisma" in Symbol 226 MovieClip Frame 1
on (press) {
temp = VecEquip[0].RealCharisma(_root.Indice);
if (Filles[_root.Indice].XP > 0) {
if (Filles[_root.Indice].Charisma == 100) {
_root.Comment = "You can't rise this stat any higher.";
} else if (Filles[_root.Indice].XP >= (temp + 1)) {
Filles[_root.Indice].Charisma++;
Filles[_root.Indice].XP = Filles[_root.Indice].XP - (temp + 1);
Filles[0].Scores(_root.Indice);
_root.Comment = "Stat raised.";
} else {
_root.Comment = "This girl don't have enough XP for this.";
}
} else {
_root.Comment = "This girl don't have enough XP for this.";
}
_root.FillesClip.FillesNotes = _root.Comment;
}
on (rollOver) {
temp = VecEquip[0].RealCharisma(_root.Indice);
_root.FillesClip.FillesNotes = ("To raise this stat, this girl need " + (temp + 1)) + " XP.";
}
on (rollOut) {
_root.FillesClip.FillesNotes = _root.Comment;
}
Instance of Symbol 111 MovieClip "PlusConstitution" in Symbol 226 MovieClip Frame 1
on (press) {
if (Filles[_root.Indice].XP > 0) {
if (Filles[_root.Indice].Constitution == 100) {
_root.Comment = "You can't rise this stat any higher.";
} else if (Filles[_root.Indice].XP >= (Filles[_root.Indice].Constitution + 1)) {
Filles[_root.Indice].Constitution++;
Filles[_root.Indice].XP = Filles[_root.Indice].XP - (Filles[_root.Indice].Constitution + 1);
Filles[0].Scores(_root.Indice);
_root.Comment = "Stat raised.";
} else {
_root.Comment = "This girl don't have enough XP for this.";
}
} else {
_root.Comment = "This girl don't have enough XP for this.";
}
_root.FillesClip.FillesNotes = _root.Comment;
}
on (rollOver) {
_root.FillesClip.FillesNotes = ("To raise this stat, this girl need " + (Filles[_root.Indice].Constitution + 1)) + " XP.";
}
on (rollOut) {
_root.FillesClip.FillesNotes = _root.Comment;
}
Instance of Symbol 111 MovieClip "PlusFuck" in Symbol 226 MovieClip Frame 1
on (press) {
temp = VecEquip[0].RealFuck(_root.Indice);
if (Filles[_root.Indice].XP > 0) {
if (Filles[_root.Indice].Fuck == 100) {
_root.Comment = "You can't rise this stat any higher.";
} else if (Filles[_root.Indice].XP >= (temp + 1)) {
Filles[_root.Indice].Fuck++;
Filles[_root.Indice].XP = Filles[_root.Indice].XP - (temp + 1);
Filles[0].Scores(_root.Indice);
_root.Comment = "Stat raised.";
} else {
_root.Comment = "This girl don't have enough XP for this.";
}
} else {
_root.Comment = "This girl don't have enough XP for this.";
}
_root.FillesClip.FillesNotes = _root.Comment;
}
on (rollOver) {
temp = VecEquip[0].RealFuck(_root.Indice);
_root.FillesClip.FillesNotes = ("To raise this stat, this girl need " + (temp + 1)) + " XP.";
}
on (rollOut) {
_root.FillesClip.FillesNotes = _root.Comment;
}
Instance of Symbol 111 MovieClip "PlusBJ" in Symbol 226 MovieClip Frame 1
on (press) {
temp = VecEquip[0].RealBJ(_root.Indice);
if (Filles[_root.Indice].XP > 0) {
if (Filles[_root.Indice].BJ == 100) {
_root.Comment = "You can't rise this stat any higher.";
} else if (Filles[_root.Indice].XP >= (temp + 1)) {
Filles[_root.Indice].BJ++;
Filles[_root.Indice].XP = Filles[_root.Indice].XP - (temp + 1);
Filles[0].Scores(_root.Indice);
_root.Comment = "Stat raised.";
} else {
_root.Comment = "This girl don't have enough XP for this.";
}
} else {
_root.Comment = "This girl don't have enough XP for this.";
}
_root.FillesClip.FillesNotes = _root.Comment;
}
on (rollOver) {
temp = VecEquip[0].RealBJ(_root.Indice);
_root.FillesClip.FillesNotes = ("To raise this stat, this girl need " + (temp + 1)) + " XP.";
}
on (rollOut) {
_root.FillesClip.FillesNotes = _root.Comment;
}
Instance of Symbol 111 MovieClip "PlusLibido" in Symbol 226 MovieClip Frame 1
on (press) {
temp = VecEquip[0].RealLibido(_root.Indice);
if (Filles[_root.Indice].XP > 0) {
if (Filles[_root.Indice].Libido == 100) {
_root.Comment = "You can't rise this stat any higher.";
} else if (Filles[_root.Indice].XP >= (temp + 1)) {
Filles[_root.Indice].Libido++;
Filles[_root.Indice].XP = Filles[_root.Indice].XP - (temp + 1);
Filles[0].Scores(_root.Indice);
_root.Comment = "Stat raised.";
} else {
_root.Comment = "This girl don't have enough XP for this.";
}
} else {
_root.Comment = "This girl don't have enough XP for this.";
}
_root.FillesClip.FillesNotes = _root.Comment;
}
on (rollOver) {
temp = VecEquip[0].RealLibido(_root.Indice);
_root.FillesClip.FillesNotes = ("To raise this stat, this girl need " + (temp + 1)) + " XP.";
}
on (rollOut) {
_root.FillesClip.FillesNotes = _root.Comment;
}
Instance of Symbol 111 MovieClip "PlusRefinement" in Symbol 226 MovieClip Frame 1
on (press) {
temp = VecEquip[0].RealRefinement(_root.Indice);
if (Filles[_root.Indice].XP > 0) {
if (Filles[_root.Indice].Refinement == 100) {
_root.Comment = "You can't rise this stat any higher.";
} else if (Filles[_root.Indice].XP >= ((temp + 1) * 2)) {
Filles[_root.Indice].Refinement++;
Filles[_root.Indice].XP = Filles[_root.Indice].XP - ((temp + 1) * 2);
Filles[0].Scores(_root.Indice);
_root.Comment = "Stat raised.";
} else {
_root.Comment = "This girl don't have enough XP for this.";
}
} else {
_root.Comment = "This girl don't have enough XP for this.";
}
_root.FillesClip.FillesNotes = _root.Comment;
}
on (rollOver) {
temp = VecEquip[0].RealRefinement(_root.Indice);
_root.FillesClip.FillesNotes = ("To raise this stat, this girl need " + ((temp + 1) * 2)) + " XP.";
}
on (rollOut) {
_root.FillesClip.FillesNotes = _root.Comment;
}
Instance of Symbol 189 MovieClip "Abilities" in Symbol 226 MovieClip Frame 1
on (press) {
_root.FillesClip._visible = false;
_root.Abilities.AP = Filles[_root.Indice].AbilitiePoints;
if (Filles[_root.Indice].LearnedAbilities[0] == 1) {
_root.Abilities.Abilitie1._visible = true;
} else {
_root.Abilities.Abilitie1._visible = false;
}
if (Filles[_root.Indice].LearnedAbilities[1] == 1) {
_root.Abilities.Abilitie2._visible = true;
} else {
_root.Abilities.Abilitie2._visible = false;
}
if (Filles[_root.Indice].LearnedAbilities[2] == 1) {
_root.Abilities.Abilitie3._visible = true;
} else {
_root.Abilities.Abilitie3._visible = false;
}
if (Filles[_root.Indice].LearnedAbilities[3] == 1) {
_root.Abilities.Abilitie4._visible = true;
} else {
_root.Abilities.Abilitie4._visible = false;
}
if (Filles[_root.Indice].LearnedAbilities[4] == 1) {
_root.Abilities.Abilitie5._visible = true;
} else {
_root.Abilities.Abilitie5._visible = false;
}
if ((Filles[_root.Indice].LearnedAbilities[5] == 1) and (Filles[_root.Indice].Rank >= 2)) {
_root.Abilities.Abilitie6._visible = true;
} else {
_root.Abilities.Abilitie6._visible = false;
}
if ((Filles[_root.Indice].LearnedAbilities[6] == 1) and (Filles[_root.Indice].Rank >= 2)) {
_root.Abilities.Abilitie7._visible = true;
} else {
_root.Abilities.Abilitie7._visible = false;
}
if ((Filles[_root.Indice].LearnedAbilities[7] == 1) and (Filles[_root.Indice].Rank >= 2)) {
_root.Abilities.Abilitie8._visible = true;
} else {
_root.Abilities.Abilitie8._visible = false;
}
if ((Filles[_root.Indice].LearnedAbilities[8] == 1) and (Filles[_root.Indice].Rank >= 2)) {
_root.Abilities.Abilitie9._visible = true;
} else {
_root.Abilities.Abilitie9._visible = false;
}
if ((Filles[_root.Indice].LearnedAbilities[9] == 1) and (Filles[_root.Indice].Rank >= 3)) {
_root.Abilities.Abilitie10._visible = true;
} else {
_root.Abilities.Abilitie10._visible = false;
}
if ((Filles[_root.Indice].LearnedAbilities[10] == 1) and (Filles[_root.Indice].Rank >= 3)) {
_root.Abilities.Abilitie11._visible = true;
} else {
_root.Abilities.Abilitie11._visible = false;
}
if ((Filles[_root.Indice].LearnedAbilities[11] == 1) and (Filles[_root.Indice].Rank >= 3)) {
_root.Abilities.Abilitie12._visible = true;
} else {
_root.Abilities.Abilitie12._visible = false;
}
if ((Filles[_root.Indice].LearnedAbilities[12] == 1) and (Filles[_root.Indice].Rank >= 3)) {
_root.Abilities.Abilitie13._visible = true;
} else {
_root.Abilities.Abilitie13._visible = false;
}
if ((Filles[_root.Indice].LearnedAbilities[13] == 1) and (Filles[_root.Indice].Rank >= 4)) {
_root.Abilities.Abilitie14._visible = true;
} else {
_root.Abilities.Abilitie14._visible = false;
}
if ((Filles[_root.Indice].LearnedAbilities[14] == 1) and (Filles[_root.Indice].Rank >= 4)) {
_root.Abilities.Abilitie15._visible = true;
} else {
_root.Abilities.Abilitie15._visible = false;
}
if ((Filles[_root.Indice].LearnedAbilities[15] == 1) and (Filles[_root.Indice].Rank >= 5)) {
_root.Abilities.Abilitie16._visible = true;
} else {
_root.Abilities.Abilitie16._visible = false;
}
if ((Filles[_root.Indice].LearnedAbilities[16] == 1) and (Filles[_root.Indice].Rank >= 5)) {
_root.Abilities.Abilitie17._visible = true;
} else {
_root.Abilities.Abilitie17._visible = false;
}
if ((Filles[_root.Indice].LearnedAbilities[17] == 1) and (Filles[_root.Indice].Rank >= 6)) {
_root.Abilities.Abilitie18._visible = true;
} else {
_root.Abilities.Abilitie18._visible = false;
}
if ((Filles[_root.Indice].LearnedAbilities[18] == 1) and (Filles[_root.Indice].Rank >= 6)) {
_root.Abilities.Abilitie19._visible = true;
} else {
_root.Abilities.Abilitie19._visible = false;
}
if ((Filles[_root.Indice].LearnedAbilities[19] == 1) and (Filles[_root.Indice].Rank >= 7)) {
_root.Abilities.Abilitie20._visible = true;
} else {
_root.Abilities.Abilitie20._visible = false;
}
if ((Filles[_root.Indice].LearnedAbilities[20] == 1) and (Filles[_root.Indice].Rank >= 7)) {
_root.Abilities.Abilitie21._visible = true;
} else {
_root.Abilities.Abilitie21._visible = false;
}
if ((Filles[_root.Indice].LearnedAbilities[21] == 1) and (Filles[_root.Indice].Rank >= 8)) {
_root.Abilities.Abilitie22._visible = true;
} else {
_root.Abilities.Abilitie22._visible = false;
}
if ((Filles[_root.Indice].LearnedAbilities[22] == 1) and (Filles[_root.Indice].Rank >= 8)) {
_root.Abilities.Abilitie23._visible = true;
} else {
_root.Abilities.Abilitie23._visible = false;
}
if (Filles[_root.Indice].Abilities[0] == 1) {
_root.Abilities.Abilitie1.Back._alpha = 100;
} else {
_root.Abilities.Abilitie1.Back._alpha = 0;
}
if (Filles[_root.Indice].Abilities[1] == 1) {
_root.Abilities.Abilitie2.Back._alpha = 100;
} else {
_root.Abilities.Abilitie2.Back._alpha = 0;
}
if (Filles[_root.Indice].Abilities[2] == 1) {
_root.Abilities.Abilitie3.Back._alpha = 100;
} else {
_root.Abilities.Abilitie3.Back._alpha = 0;
}
if (Filles[_root.Indice].Abilities[3] == 1) {
_root.Abilities.Abilitie4.Back._alpha = 100;
} else {
_root.Abilities.Abilitie4.Back._alpha = 0;
}
if (Filles[_root.Indice].Abilities[4] == 1) {
_root.Abilities.Abilitie5.Back._alpha = 100;
} else {
_root.Abilities.Abilitie5.Back._alpha = 0;
}
if (Filles[_root.Indice].Abilities[5] == 1) {
_root.Abilities.Abilitie6.Back._alpha = 100;
} else {
_root.Abilities.Abilitie6.Back._alpha = 0;
}
if (Filles[_root.Indice].Abilities[6] == 1) {
_root.Abilities.Abilitie7.Back._alpha = 100;
} else {
_root.Abilities.Abilitie7.Back._alpha = 0;
}
if (Filles[_root.Indice].Abilities[7] == 1) {
_root.Abilities.Abilitie8.Back._alpha = 100;
} else {
_root.Abilities.Abilitie8.Back._alpha = 0;
}
if (Filles[_root.Indice].Abilities[8] == 1) {
_root.Abilities.Abilitie9.Back._alpha = 100;
} else {
_root.Abilities.Abilitie9.Back._alpha = 0;
}
if (Filles[_root.Indice].Abilities[9] == 1) {
_root.Abilities.Abilitie10.Back._alpha = 100;
} else {
_root.Abilities.Abilitie10.Back._alpha = 0;
}
if (Filles[_root.Indice].Abilities[10] == 1) {
_root.Abilities.Abilitie11.Back._alpha = 100;
} else {
_root.Abilities.Abilitie11.Back._alpha = 0;
}
if (Filles[_root.Indice].Abilities[11] == 1) {
_root.Abilities.Abilitie12.Back._alpha = 100;
} else {
_root.Abilities.Abilitie12.Back._alpha = 0;
}
if (Filles[_root.Indice].Abilities[12] == 1) {
_root.Abilities.Abilitie13.Back._alpha = 100;
} else {
_root.Abilities.Abilitie13.Back._alpha = 0;
}
if (Filles[_root.Indice].Abilities[13] == 1) {
_root.Abilities.Abilitie14.Back._alpha = 100;
} else {
_root.Abilities.Abilitie14.Back._alpha = 0;
}
if (Filles[_root.Indice].Abilities[14] == 1) {
_root.Abilities.Abilitie15.Back._alpha = 100;
} else {
_root.Abilities.Abilitie15.Back._alpha = 0;
}
if (Filles[_root.Indice].Abilities[15] == 1) {
_root.Abilities.Abilitie16.Back._alpha = 100;
} else {
_root.Abilities.Abilitie16.Back._alpha = 0;
}
if (Filles[_root.Indice].Abilities[16] == 1) {
_root.Abilities.Abilitie17.Back._alpha = 100;
} else {
_root.Abilities.Abilitie17.Back._alpha = 0;
}
if (Filles[_root.Indice].Abilities[17] == 1) {
_root.Abilities.Abilitie18.Back._alpha = 100;
} else {
_root.Abilities.Abilitie18.Back._alpha = 0;
}
if (Filles[_root.Indice].Abilities[18] == 1) {
_root.Abilities.Abilitie19.Back._alpha = 100;
} else {
_root.Abilities.Abilitie19.Back._alpha = 0;
}
if (Filles[_root.Indice].Abilities[19] == 1) {
_root.Abilities.Abilitie20.Back._alpha = 100;
} else {
_root.Abilities.Abilitie20.Back._alpha = 0;
}
if (Filles[_root.Indice].Abilities[20] == 1) {
_root.Abilities.Abilitie21.Back._alpha = 100;
} else {
_root.Abilities.Abilitie21.Back._alpha = 0;
}
if (Filles[_root.Indice].Abilities[21] == 1) {
_root.Abilities.Abilitie22.Back._alpha = 100;
} else {
_root.Abilities.Abilitie22.Back._alpha = 0;
}
if (Filles[_root.Indice].Abilities[22] == 1) {
_root.Abilities.Abilitie23.Back._alpha = 100;
} else {
_root.Abilities.Abilitie23.Back._alpha = 0;
}
_root.Abilities._visible = true;
_root.Comment = "";
}
Instance of Symbol 228 MovieClip "Abilitie1" in Symbol 232 MovieClip Frame 1
on (press) {
if (Filles[_root.Indice].Abilities[0] == 0) {
if (Filles[_root.Indice].AbilitiePoints >= 1) {
_root.Abilities.Abilitie1.Back._alpha = 100;
Filles[_root.Indice].AbilitiePoints = Filles[_root.Indice].AbilitiePoints - 1;
_root.Abilities.AP = Filles[_root.Indice].AbilitiePoints;
Filles[_root.Indice].Abilities[0] = 1;
_root.Comment = "Splendid Body activated.";
_root.Abilities.Infos = _root.Comment;
} else {
_root.Comment = "You don't have enough Abilitie Points.";
_root.Abilities.Infos = _root.Comment;
}
} else {
_root.Abilities.Abilitie1.Back._alpha = 0;
Filles[_root.Indice].AbilitiePoints = Filles[_root.Indice].AbilitiePoints + 1;
Filles[_root.Indice].Abilities[0] = 0;
_root.Abilities.AP = Filles[_root.Indice].AbilitiePoints;
_root.Comment = "Splendid Body De-activated.";
_root.Abilities.Infos = _root.Comment;
}
}
on (rollOver) {
_root.Abilities.Infos = "Splendid Body: Cost 1 AP \r10% Bonus in charisma when calculating customer's appreciation.";
}
on (rollOut) {
_root.Abilities.Infos = _root.Comment;
}
Instance of Symbol 228 MovieClip "Abilitie2" in Symbol 232 MovieClip Frame 1
on (press) {
if (Filles[_root.Indice].Abilities[1] == 0) {
if (Filles[_root.Indice].AbilitiePoints >= 4) {
_root.Abilities.Abilitie2.Back._alpha = 100;
Filles[_root.Indice].AbilitiePoints = Filles[_root.Indice].AbilitiePoints - 4;
_root.Abilities.AP = Filles[_root.Indice].AbilitiePoints;
Filles[_root.Indice].Abilities[1] = 1;
_root.Comment = "Big Breast activated.";
_root.Abilities.Infos = _root.Comment;
} else {
_root.Comment = "You don't have enough Abilitie Points.";
_root.Abilities.Infos = _root.Comment;
}
} else {
_root.Abilities.Abilitie2.Back._alpha = 0;
Filles[_root.Indice].AbilitiePoints = Filles[_root.Indice].AbilitiePoints + 4;
Filles[_root.Indice].Abilities[1] = 0;
_root.Abilities.AP = Filles[_root.Indice].AbilitiePoints;
_root.Comment = "Big Breast De-activated.";
_root.Abilities.Infos = _root.Comment;
}
}
on (rollOver) {
_root.Abilities.Infos = "Big Breast: Cost 4 AP \rAttract more customers.";
}
on (rollOut) {
_root.Abilities.Infos = _root.Comment;
}
Instance of Symbol 228 MovieClip "Abilitie3" in Symbol 232 MovieClip Frame 1
on (press) {
if (Filles[_root.Indice].Abilities[2] == 0) {
if (Filles[_root.Indice].AbilitiePoints >= 2) {
_root.Abilities.Abilitie3.Back._alpha = 100;
Filles[_root.Indice].AbilitiePoints = Filles[_root.Indice].AbilitiePoints - 2;
_root.Abilities.AP = Filles[_root.Indice].AbilitiePoints;
Filles[_root.Indice].Abilities[2] = 1;
_root.Comment = "Activated.";
_root.Abilities.Infos = _root.Comment;
} else {
_root.Comment = "You don't have enough Abilitie Points.";
_root.Abilities.Infos = _root.Comment;
}
} else {
_root.Abilities.Abilitie3.Back._alpha = 0;
Filles[_root.Indice].AbilitiePoints = Filles[_root.Indice].AbilitiePoints + 2;
Filles[_root.Indice].Abilities[2] = 0;
_root.Abilities.AP = Filles[_root.Indice].AbilitiePoints;
_root.Comment = "De-activated.";
_root.Abilities.Infos = _root.Comment;
}
}
on (rollOver) {
_root.Abilities.Infos = "Rest: Cost 2 AP \rRecover 25% Health when resting.";
}
on (rollOut) {
_root.Abilities.Infos = _root.Comment;
}
Instance of Symbol 228 MovieClip "Abilitie4" in Symbol 232 MovieClip Frame 1
on (press) {
if (Filles[_root.Indice].Abilities[3] == 0) {
if (Filles[_root.Indice].AbilitiePoints >= 6) {
_root.Abilities.Abilitie4.Back._alpha = 100;
Filles[_root.Indice].AbilitiePoints = Filles[_root.Indice].AbilitiePoints - 6;
_root.Abilities.AP = Filles[_root.Indice].AbilitiePoints;
Filles[_root.Indice].Abilities[3] = 1;
_root.Comment = "Activated.";
_root.Abilities.Infos = _root.Comment;
} else {
_root.Comment = "You don't have enough Abilitie Points.";
_root.Abilities.Infos = _root.Comment;
}
} else {
_root.Abilities.Abilitie4.Back._alpha = 0;
Filles[_root.Indice].AbilitiePoints = Filles[_root.Indice].AbilitiePoints + 6;
Filles[_root.Indice].Abilities[3] = 0;
_root.Abilities.AP = Filles[_root.Indice].AbilitiePoints;
_root.Comment = "De-activated.";
_root.Abilities.Infos = _root.Comment;
}
}
on (rollOver) {
_root.Abilities.Infos = "Smart: Cost 6 AP \rGain more XP.";
}
on (rollOut) {
_root.Abilities.Infos = _root.Comment;
}
Instance of Symbol 228 MovieClip "Abilitie5" in Symbol 232 MovieClip Frame 1
on (press) {
if (Filles[_root.Indice].Abilities[4] == 0) {
if (Filles[_root.Indice].AbilitiePoints >= 2) {
_root.Abilities.Abilitie5.Back._alpha = 100;
Filles[_root.Indice].AbilitiePoints = Filles[_root.Indice].AbilitiePoints - 2;
_root.Abilities.AP = Filles[_root.Indice].AbilitiePoints;
Filles[_root.Indice].Abilities[4] = 1;
_root.Comment = "Activated.";
_root.Abilities.Infos = _root.Comment;
} else {
_root.Comment = "You don't have enough Abilitie Points.";
_root.Abilities.Infos = _root.Comment;
}
} else {
_root.Abilities.Abilitie5.Back._alpha = 0;
Filles[_root.Indice].AbilitiePoints = Filles[_root.Indice].AbilitiePoints + 2;
Filles[_root.Indice].Abilities[4] = 0;
_root.Abilities.AP = Filles[_root.Indice].AbilitiePoints;
_root.Comment = "De-activated.";
_root.Abilities.Infos = _root.Comment;
}
}
on (rollOver) {
_root.Abilities.Infos = "Strong: Cost 2 AP \rMay gain 1% Constitution each day.";
}
on (rollOut) {
_root.Abilities.Infos = _root.Comment;
}
Instance of Symbol 228 MovieClip "Abilitie6" in Symbol 232 MovieClip Frame 1
on (press) {
if (Filles[_root.Indice].Abilities[5] == 0) {
if (Filles[_root.Indice].AbilitiePoints >= 2) {
_root.Abilities.Abilitie6.Back._alpha = 100;
Filles[_root.Indice].AbilitiePoints = Filles[_root.Indice].AbilitiePoints - 2;
_root.Abilities.AP = Filles[_root.Indice].AbilitiePoints;
Filles[_root.Indice].Abilities[5] = 1;
_root.Comment = "Activated.";
_root.Abilities.Infos = _root.Comment;
} else {
_root.Comment = "You don't have enough Abilitie Points.";
_root.Abilities.Infos = _root.Comment;
}
} else {
_root.Abilities.Abilitie6.Back._alpha = 0;
Filles[_root.Indice].AbilitiePoints = Filles[_root.Indice].AbilitiePoints + 2;
Filles[_root.Indice].Abilities[5] = 0;
_root.Abilities.AP = Filles[_root.Indice].AbilitiePoints;
_root.Comment = "De-activated.";
_root.Abilities.Infos = _root.Comment;
}
}
on (rollOver) {
_root.Abilities.Infos = "Shy: Cost 2 AP \rMay gain 1% Refinement each day.";
}
on (rollOut) {
_root.Abilities.Infos = _root.Comment;
}
Instance of Symbol 228 MovieClip "Abilitie7" in Symbol 232 MovieClip Frame 1
on (press) {
if (Filles[_root.Indice].Abilities[6] == 0) {
if (Filles[_root.Indice].AbilitiePoints >= 2) {
_root.Abilities.Abilitie7.Back._alpha = 100;
Filles[_root.Indice].AbilitiePoints = Filles[_root.Indice].AbilitiePoints - 2;
_root.Abilities.AP = Filles[_root.Indice].AbilitiePoints;
Filles[_root.Indice].Abilities[6] = 1;
_root.Comment = "Activated.";
_root.Abilities.Infos = _root.Comment;
} else {
_root.Comment = "You don't have enough Abilitie Points.";
_root.Abilities.Infos = _root.Comment;
}
} else {
_root.Abilities.Abilitie7.Back._alpha = 0;
Filles[_root.Indice].AbilitiePoints = Filles[_root.Indice].AbilitiePoints + 2;
Filles[_root.Indice].Abilities[6] = 0;
_root.Abilities.AP = Filles[_root.Indice].AbilitiePoints;
_root.Comment = "De-activated.";
_root.Abilities.Infos = _root.Comment;
}
}
on (rollOver) {
_root.Abilities.Infos = "Lolita: Cost 2 AP \rMay gain 1% Charisma each day.";
}
on (rollOut) {
_root.Abilities.Infos = _root.Comment;
}
Instance of Symbol 228 MovieClip "Abilitie8" in Symbol 232 MovieClip Frame 1
on (press) {
if (Filles[_root.Indice].Abilities[7] == 0) {
if (Filles[_root.Indice].AbilitiePoints >= 3) {
_root.Abilities.Abilitie8.Back._alpha = 100;
Filles[_root.Indice].AbilitiePoints = Filles[_root.Indice].AbilitiePoints - 3;
_root.Abilities.AP = Filles[_root.Indice].AbilitiePoints;
Filles[_root.Indice].Abilities[7] = 1;
_root.Comment = "Activated.";
_root.Abilities.Infos = _root.Comment;
} else {
_root.Comment = "You don't have enough Abilitie Points.";
_root.Abilities.Infos = _root.Comment;
}
} else {
_root.Abilities.Abilitie8.Back._alpha = 0;
Filles[_root.Indice].AbilitiePoints = Filles[_root.Indice].AbilitiePoints + 3;
Filles[_root.Indice].Abilities[7] = 0;
_root.Abilities.AP = Filles[_root.Indice].AbilitiePoints;
_root.Comment = "De-activated.";
_root.Abilities.Infos = _root.Comment;
}
}
on (rollOver) {
_root.Abilities.Infos = "Artist: Cost 3 AP \rGain reputation faster.";
}
on (rollOut) {
_root.Abilities.Infos = _root.Comment;
}
Instance of Symbol 228 MovieClip "Abilitie9" in Symbol 232 MovieClip Frame 1
on (press) {
if (Filles[_root.Indice].Abilities[8] == 0) {
if (Filles[_root.Indice].AbilitiePoints >= 6) {
_root.Abilities.Abilitie9.Back._alpha = 100;
Filles[_root.Indice].AbilitiePoints = Filles[_root.Indice].AbilitiePoints - 6;
_root.Abilities.AP = Filles[_root.Indice].AbilitiePoints;
Filles[_root.Indice].Abilities[8] = 1;
_root.Comment = "Activated.";
_root.Abilities.Infos = _root.Comment;
} else {
_root.Comment = "You don't have enough Abilitie Points.";
_root.Abilities.Infos = _root.Comment;
}
} else {
_root.Abilities.Abilitie9.Back._alpha = 0;
Filles[_root.Indice].AbilitiePoints = Filles[_root.Indice].AbilitiePoints + 6;
Filles[_root.Indice].Abilities[8] = 0;
_root.Abilities.AP = Filles[_root.Indice].AbilitiePoints;
_root.Comment = "De-activated.";
_root.Abilities.Infos = _root.Comment;
}
}
on (rollOver) {
_root.Abilities.Infos = "Maid: Cost 6 AP \rThe building where this girl work gain 1% Decoration each day.";
}
on (rollOut) {
_root.Abilities.Infos = _root.Comment;
}
Instance of Symbol 228 MovieClip "Abilitie10" in Symbol 232 MovieClip Frame 1
on (press) {
if (Filles[_root.Indice].Abilities[9] == 0) {
if (Filles[_root.Indice].AbilitiePoints >= 5) {
_root.Abilities.Abilitie10.Back._alpha = 100;
Filles[_root.Indice].AbilitiePoints = Filles[_root.Indice].AbilitiePoints - 5;
_root.Abilities.AP = Filles[_root.Indice].AbilitiePoints;
Filles[_root.Indice].Abilities[9] = 1;
_root.Comment = "Activated.";
_root.Abilities.Infos = _root.Comment;
} else {
_root.Comment = "You don't have enough Abilitie Points.";
_root.Abilities.Infos = _root.Comment;
}
} else {
_root.Abilities.Abilitie10.Back._alpha = 0;
Filles[_root.Indice].AbilitiePoints = Filles[_root.Indice].AbilitiePoints + 5;
Filles[_root.Indice].Abilities[9] = 0;
_root.Abilities.AP = Filles[_root.Indice].AbilitiePoints;
_root.Comment = "De-activated.";
_root.Abilities.Infos = _root.Comment;
}
}
on (rollOver) {
_root.Abilities.Infos = "Happiness: Cost 5 AP \rGain 1% Joy each day.";
}
on (rollOut) {
_root.Abilities.Infos = _root.Comment;
}
Instance of Symbol 228 MovieClip "Abilitie11" in Symbol 232 MovieClip Frame 1
on (press) {
if (Filles[_root.Indice].Abilities[10] == 0) {
if (Filles[_root.Indice].AbilitiePoints >= 8) {
_root.Abilities.Abilitie11.Back._alpha = 100;
Filles[_root.Indice].AbilitiePoints = Filles[_root.Indice].AbilitiePoints - 8;
_root.Abilities.AP = Filles[_root.Indice].AbilitiePoints;
Filles[_root.Indice].Abilities[10] = 1;
_root.Comment = "Activated.";
_root.Abilities.Infos = _root.Comment;
} else {
_root.Comment = "You don't have enough Abilitie Points.";
_root.Abilities.Infos = _root.Comment;
}
} else {
_root.Abilities.Abilitie11.Back._alpha = 0;
Filles[_root.Indice].AbilitiePoints = Filles[_root.Indice].AbilitiePoints + 8;
Filles[_root.Indice].Abilities[10] = 0;
_root.Abilities.AP = Filles[_root.Indice].AbilitiePoints;
_root.Comment = "De-activated.";
_root.Abilities.Infos = _root.Comment;
}
}
on (rollOver) {
_root.Abilities.Infos = "Lucky: Cost 8 AP \rLess harmful events on this girl.";
}
on (rollOut) {
_root.Abilities.Infos = _root.Comment;
}
Instance of Symbol 228 MovieClip "Abilitie12" in Symbol 232 MovieClip Frame 1
on (press) {
if (Filles[_root.Indice].Abilities[11] == 0) {
if (Filles[_root.Indice].AbilitiePoints >= 5) {
_root.Abilities.Abilitie12.Back._alpha = 100;
Filles[_root.Indice].AbilitiePoints = Filles[_root.Indice].AbilitiePoints - 5;
_root.Abilities.AP = Filles[_root.Indice].AbilitiePoints;
Filles[_root.Indice].Abilities[11] = 1;
_root.Comment = "Activated.";
_root.Abilities.Infos = _root.Comment;
} else {
_root.Comment = "You don't have enough Abilitie Points.";
_root.Abilities.Infos = _root.Comment;
}
} else {
_root.Abilities.Abilitie12.Back._alpha = 0;
Filles[_root.Indice].AbilitiePoints = Filles[_root.Indice].AbilitiePoints + 5;
Filles[_root.Indice].Abilities[11] = 0;
_root.Abilities.AP = Filles[_root.Indice].AbilitiePoints;
_root.Comment = "De-activated.";
_root.Abilities.Infos = _root.Comment;
}
}
on (rollOver) {
_root.Abilities.Infos = "Tough: Cost 5 AP \rGain 1% Constitution each day.";
}
on (rollOut) {
_root.Abilities.Infos = _root.Comment;
}
Instance of Symbol 228 MovieClip "Abilitie13" in Symbol 232 MovieClip Frame 1
on (press) {
if (Filles[_root.Indice].Abilities[12] == 0) {
if (Filles[_root.Indice].AbilitiePoints >= 7) {
_root.Abilities.Abilitie13.Back._alpha = 100;
Filles[_root.Indice].AbilitiePoints = Filles[_root.Indice].AbilitiePoints - 7;
_root.Abilities.AP = Filles[_root.Indice].AbilitiePoints;
Filles[_root.Indice].Abilities[12] = 1;
_root.Comment = "Activated.";
_root.Abilities.Infos = _root.Comment;
} else {
_root.Comment = "You don't have enough Abilitie Points.";
_root.Abilities.Infos = _root.Comment;
}
} else {
_root.Abilities.Abilitie13.Back._alpha = 0;
Filles[_root.Indice].AbilitiePoints = Filles[_root.Indice].AbilitiePoints + 7;
Filles[_root.Indice].Abilities[12] = 0;
_root.Abilities.AP = Filles[_root.Indice].AbilitiePoints;
_root.Comment = "De-activated.";
_root.Abilities.Infos = _root.Comment;
}
}
on (rollOver) {
_root.Abilities.Infos = "Nymphomaniac: Cost 7 AP \rGain 2% Libido each day.";
}
on (rollOut) {
_root.Abilities.Infos = _root.Comment;
}
Instance of Symbol 228 MovieClip "Abilitie14" in Symbol 232 MovieClip Frame 1
on (press) {
if (Filles[_root.Indice].Abilities[13] == 0) {
if (Filles[_root.Indice].AbilitiePoints >= 10) {
_root.Abilities.Abilitie14.Back._alpha = 100;
Filles[_root.Indice].AbilitiePoints = Filles[_root.Indice].AbilitiePoints - 10;
_root.Abilities.AP = Filles[_root.Indice].AbilitiePoints;
Filles[_root.Indice].Abilities[13] = 1;
_root.Comment = "Activated.";
_root.Abilities.Infos = _root.Comment;
} else {
_root.Comment = "You don't have enough Abilitie Points.";
_root.Abilities.Infos = _root.Comment;
}
} else {
_root.Abilities.Abilitie14.Back._alpha = 0;
Filles[_root.Indice].AbilitiePoints = Filles[_root.Indice].AbilitiePoints + 10;
Filles[_root.Indice].Abilities[13] = 0;
_root.Abilities.AP = Filles[_root.Indice].AbilitiePoints;
_root.Comment = "De-activated.";
_root.Abilities.Infos = _root.Comment;
}
}
on (rollOver) {
_root.Abilities.Infos = "Obedient: Cost 10 AP \rCharacter -1% each day.";
}
on (rollOut) {
_root.Abilities.Infos = _root.Comment;
}
Instance of Symbol 228 MovieClip "Abilitie15" in Symbol 232 MovieClip Frame 1
on (press) {
if (Filles[_root.Indice].Abilities[14] == 0) {
if (Filles[_root.Indice].AbilitiePoints >= 10) {
_root.Abilities.Abilitie15.Back._alpha = 100;
Filles[_root.Indice].AbilitiePoints = Filles[_root.Indice].AbilitiePoints - 10;
_root.Abilities.AP = Filles[_root.Indice].AbilitiePoints;
Filles[_root.Indice].Abilities[14] = 1;
_root.Comment = "Activated.";
_root.Abilities.Infos = _root.Comment;
} else {
_root.Comment = "You don't have enough Abilitie Points.";
_root.Abilities.Infos = _root.Comment;
}
} else {
_root.Abilities.Abilitie15.Back._alpha = 0;
Filles[_root.Indice].AbilitiePoints = Filles[_root.Indice].AbilitiePoints + 10;
Filles[_root.Indice].Abilities[14] = 0;
_root.Abilities.AP = Filles[_root.Indice].AbilitiePoints;
_root.Comment = "De-activated.";
_root.Abilities.Infos = _root.Comment;
}
}
on (rollOver) {
_root.Abilities.Infos = "Sex Maniac: Cost 10 AP \rGain 1% in Fuck and Blowjob each day.";
}
on (rollOut) {
_root.Abilities.Infos = _root.Comment;
}
Instance of Symbol 228 MovieClip "Abilitie16" in Symbol 232 MovieClip Frame 1
on (press) {
if (Filles[_root.Indice].Abilities[15] == 0) {
if (Filles[_root.Indice].AbilitiePoints >= 12) {
_root.Abilities.Abilitie16.Back._alpha = 100;
Filles[_root.Indice].AbilitiePoints = Filles[_root.Indice].AbilitiePoints - 12;
_root.Abilities.AP = Filles[_root.Indice].AbilitiePoints;
Filles[_root.Indice].Abilities[15] = 1;
_root.Comment = "Activated.";
_root.Abilities.Infos = _root.Comment;
} else {
_root.Comment = "You don't have enough Abilitie Points.";
_root.Abilities.Infos = _root.Comment;
}
} else {
_root.Abilities.Abilitie16.Back._alpha = 0;
Filles[_root.Indice].AbilitiePoints = Filles[_root.Indice].AbilitiePoints + 12;
Filles[_root.Indice].Abilities[15] = 0;
_root.Abilities.AP = Filles[_root.Indice].AbilitiePoints;
_root.Comment = "De-activated.";
_root.Abilities.Infos = _root.Comment;
}
}
on (rollOver) {
_root.Abilities.Infos = "Experience: Cost 12 AP \rGain twice the experience.";
}
on (rollOut) {
_root.Abilities.Infos = _root.Comment;
}
Instance of Symbol 228 MovieClip "Abilitie17" in Symbol 232 MovieClip Frame 1
on (press) {
if (Filles[_root.Indice].Abilities[16] == 0) {
if (Filles[_root.Indice].AbilitiePoints >= 12) {
_root.Abilities.Abilitie17.Back._alpha = 100;
Filles[_root.Indice].AbilitiePoints = Filles[_root.Indice].AbilitiePoints - 2;
_root.Abilities.AP = Filles[_root.Indice].AbilitiePoints;
Filles[_root.Indice].Abilities[16] = 1;
_root.Comment = "Activated.";
_root.Abilities.Infos = _root.Comment;
} else {
_root.Comment = "You don't have enough Abilitie Points.";
_root.Abilities.Infos = _root.Comment;
}
} else {
_root.Abilities.Abilitie17.Back._alpha = 0;
Filles[_root.Indice].AbilitiePoints = Filles[_root.Indice].AbilitiePoints + 12;
Filles[_root.Indice].Abilities[16] = 0;
_root.Abilities.AP = Filles[_root.Indice].AbilitiePoints;
_root.Comment = "De-activated.";
_root.Abilities.Infos = _root.Comment;
}
}
on (rollOver) {
_root.Abilities.Infos = "Good Health: Cost 12 AP \rRecover 40% Health when resting.";
}
on (rollOut) {
_root.Abilities.Infos = _root.Comment;
}
Instance of Symbol 228 MovieClip "Abilitie18" in Symbol 232 MovieClip Frame 1
on (press) {
if (Filles[_root.Indice].Abilities[17] == 0) {
if (Filles[_root.Indice].AbilitiePoints >= 15) {
_root.Abilities.Abilitie18.Back._alpha = 100;
Filles[_root.Indice].AbilitiePoints = Filles[_root.Indice].AbilitiePoints - 15;
_root.Abilities.AP = Filles[_root.Indice].AbilitiePoints;
Filles[_root.Indice].Abilities[17] = 1;
_root.Comment = "Activated.";
_root.Abilities.Infos = _root.Comment;
} else {
_root.Comment = "You don't have enough Abilitie Points.";
_root.Abilities.Infos = _root.Comment;
}
} else {
_root.Abilities.Abilitie18.Back._alpha = 0;
Filles[_root.Indice].AbilitiePoints = Filles[_root.Indice].AbilitiePoints + 15;
Filles[_root.Indice].Abilities[17] = 0;
_root.Abilities.AP = Filles[_root.Indice].AbilitiePoints;
_root.Comment = "De-activated.";
_root.Abilities.Infos = _root.Comment;
}
}
on (rollOver) {
_root.Abilities.Infos = "Exhibitionnist: Cost 15 AP \rGain 4% Charisma each day.";
}
on (rollOut) {
_root.Abilities.Infos = _root.Comment;
}
Instance of Symbol 228 MovieClip "Abilitie19" in Symbol 232 MovieClip Frame 1
on (press) {
if (Filles[_root.Indice].Abilities[18] == 0) {
if (Filles[_root.Indice].AbilitiePoints >= 15) {
_root.Abilities.Abilitie19.Back._alpha = 100;
Filles[_root.Indice].AbilitiePoints = Filles[_root.Indice].AbilitiePoints - 15;
_root.Abilities.AP = Filles[_root.Indice].AbilitiePoints;
Filles[_root.Indice].Abilities[18] = 1;
_root.Comment = "Activated.";
_root.Abilities.Infos = _root.Comment;
} else {
_root.Comment = "You don't have enough Abilitie Points.";
_root.Abilities.Infos = _root.Comment;
}
} else {
_root.Abilities.Abilitie19.Back._alpha = 0;
Filles[_root.Indice].AbilitiePoints = Filles[_root.Indice].AbilitiePoints + 15;
Filles[_root.Indice].Abilities[18] = 0;
_root.Abilities.AP = Filles[_root.Indice].AbilitiePoints;
_root.Comment = "De-activated.";
_root.Abilities.Infos = _root.Comment;
}
}
on (rollOver) {
_root.Abilities.Infos = "Famous: Cost 15 AP \rReputation may go above 100%.";
}
on (rollOut) {
_root.Abilities.Infos = _root.Comment;
}
Instance of Symbol 228 MovieClip "Abilitie20" in Symbol 232 MovieClip Frame 1
on (press) {
if (Filles[_root.Indice].Abilities[19] == 0) {
if (Filles[_root.Indice].AbilitiePoints >= 6) {
_root.Abilities.Abilitie20.Back._alpha = 100;
Filles[_root.Indice].AbilitiePoints = Filles[_root.Indice].AbilitiePoints - 6;
_root.Abilities.AP = Filles[_root.Indice].AbilitiePoints;
Filles[_root.Indice].Abilities[19] = 1;
_root.Comment = "Activated.";
_root.Abilities.Infos = _root.Comment;
} else {
_root.Comment = "You don't have enough Abilitie Points.";
_root.Abilities.Infos = _root.Comment;
}
} else {
_root.Abilities.Abilitie20.Back._alpha = 0;
Filles[_root.Indice].AbilitiePoints = Filles[_root.Indice].AbilitiePoints + 6;
Filles[_root.Indice].Abilities[19] = 0;
_root.Abilities.AP = Filles[_root.Indice].AbilitiePoints;
_root.Comment = "De-activated.";
_root.Abilities.Infos = _root.Comment;
}
}
on (rollOver) {
_root.Abilities.Infos = "Tips: Cost 6 AP \rAlways get a tip from her customers.";
}
on (rollOut) {
_root.Abilities.Infos = _root.Comment;
}
Instance of Symbol 228 MovieClip "Abilitie21" in Symbol 232 MovieClip Frame 1
on (press) {
if (Filles[_root.Indice].Abilities[20] == 0) {
if (Filles[_root.Indice].AbilitiePoints >= 15) {
_root.Abilities.Abilitie21.Back._alpha = 100;
Filles[_root.Indice].AbilitiePoints = Filles[_root.Indice].AbilitiePoints - 15;
_root.Abilities.AP = Filles[_root.Indice].AbilitiePoints;
Filles[_root.Indice].Abilities[20] = 1;
_root.Comment = "Activated.";
_root.Abilities.Infos = _root.Comment;
} else {
_root.Comment = "You don't have enough Abilitie Points.";
_root.Abilities.Infos = _root.Comment;
}
} else {
_root.Abilities.Abilitie21.Back._alpha = 0;
Filles[_root.Indice].AbilitiePoints = Filles[_root.Indice].AbilitiePoints + 15;
Filles[_root.Indice].Abilities[20] = 0;
_root.Abilities.AP = Filles[_root.Indice].AbilitiePoints;
_root.Comment = "De-activated.";
_root.Abilities.Infos = _root.Comment;
}
}
on (rollOver) {
_root.Abilities.Infos = "Noble: Cost 15 AP \rGain 1% Refinement each day.";
}
on (rollOut) {
_root.Abilities.Infos = _root.Comment;
}
Instance of Symbol 228 MovieClip "Abilitie22" in Symbol 232 MovieClip Frame 1
on (press) {
if (Filles[_root.Indice].Abilities[21] == 0) {
if (Filles[_root.Indice].AbilitiePoints >= 20) {
_root.Abilities.Abilitie22.Back._alpha = 100;
Filles[_root.Indice].AbilitiePoints = Filles[_root.Indice].AbilitiePoints - 20;
_root.Abilities.AP = Filles[_root.Indice].AbilitiePoints;
Filles[_root.Indice].Abilities[21] = 1;
_root.Comment = "Activated.";
_root.Abilities.Infos = _root.Comment;
} else {
_root.Comment = "You don't have enough Abilitie Points.";
_root.Abilities.Infos = _root.Comment;
}
} else {
_root.Abilities.Abilitie22.Back._alpha = 0;
Filles[_root.Indice].AbilitiePoints = Filles[_root.Indice].AbilitiePoints + 20;
Filles[_root.Indice].Abilities[21] = 0;
_root.Abilities.AP = Filles[_root.Indice].AbilitiePoints;
_root.Comment = "De-activated.";
_root.Abilities.Infos = _root.Comment;
}
}
on (rollOver) {
_root.Abilities.Infos = "Excellent Reputation: Cost 20 AP \rAlways maximum customers.";
}
on (rollOut) {
_root.Abilities.Infos = _root.Comment;
}
Instance of Symbol 228 MovieClip "Abilitie23" in Symbol 232 MovieClip Frame 1
on (press) {
if (Filles[_root.Indice].Abilities[22] == 0) {
if (Filles[_root.Indice].AbilitiePoints >= 20) {
_root.Abilities.Abilitie23.Back._alpha = 100;
Filles[_root.Indice].AbilitiePoints = Filles[_root.Indice].AbilitiePoints - 20;
_root.Abilities.AP = Filles[_root.Indice].AbilitiePoints;
Filles[_root.Indice].Abilities[22] = 1;
_root.Comment = "Activated.";
_root.Abilities.Infos = _root.Comment;
} else {
_root.Comment = "You don't have enough Abilitie Points.";
_root.Abilities.Infos = _root.Comment;
}
} else {
_root.Abilities.Abilitie23.Back._alpha = 0;
Filles[_root.Indice].AbilitiePoints = Filles[_root.Indice].AbilitiePoints + 20;
Filles[_root.Indice].Abilities[22] = 0;
_root.Abilities.AP = Filles[_root.Indice].AbilitiePoints;
_root.Comment = "De-activated.";
_root.Abilities.Infos = _root.Comment;
}
}
on (rollOver) {
_root.Abilities.Infos = "Cat Girl: Cost 20 AP \rCharisma, Fuck, Blowjob and Libido locked at 100%.";
}
on (rollOut) {
_root.Abilities.Infos = _root.Comment;
}
Instance of Symbol 70 MovieClip in Symbol 232 MovieClip Frame 1
on (press) {
_root.Abilities._visible = false;
_root.FillesClip._visible = true;
_root.Comment = "";
}
Instance of Symbol 97 MovieClip in Symbol 232 MovieClip Frame 1
on (press) {
}
Instance of Symbol 70 MovieClip in Symbol 235 MovieClip Frame 1
on (press) {
_root.Comment = "";
_root.GirlListMain._visible = false;
if ((_root.Rankage == 0) or (_root.Achat == 2)) {
_root.Menu._visible = true;
} else {
_root.Management._visible = true;
}
_root.Dress._visible = false;
_root.FillesClip.Buy._visible = false;
_root.FillesClip.BuyEquip._visible = false;
_root.FillesClip.School._visible = false;
_root.FillesClip.ChangeEquip._visible = false;
_root.FillesClip.Work._visible = false;
_root.FillesClip.NoWork._visible = false;
_root.FillesClip.Sameplace._visible = false;
_root.FillesClip.ChangePrice._visible = false;
_root.FillesClip.Sell._visible = false;
_root.FillesClip.RankUp._visible = false;
_root.FillesClip.Yes._visible = false;
_root.FillesClip.No._visible = false;
_root.FillesClip.PlusRefinement._visible = false;
_root.FillesClip.PlusCharisma._visible = false;
_root.FillesClip.PlusConstitution._visible = false;
_root.FillesClip.PlusFuck._visible = false;
_root.FillesClip.PlusBJ._visible = false;
_root.FillesClip.PlusLibido._visible = false;
}
Instance of Symbol 234 MovieClip "Girl1" in Symbol 235 MovieClip Frame 1
on (press) {
Filles[0].AfficheFille(ListFilles[0]);
}
Instance of Symbol 234 MovieClip "Girl2" in Symbol 235 MovieClip Frame 1
on (press) {
Filles[0].AfficheFille(ListFilles[1]);
}
Instance of Symbol 234 MovieClip "Girl3" in Symbol 235 MovieClip Frame 1
on (press) {
Filles[0].AfficheFille(ListFilles[2]);
}
Instance of Symbol 234 MovieClip "Girl4" in Symbol 235 MovieClip Frame 1
on (press) {
Filles[0].AfficheFille(ListFilles[3]);
}
Instance of Symbol 234 MovieClip "Girl5" in Symbol 235 MovieClip Frame 1
on (press) {
Filles[0].AfficheFille(ListFilles[4]);
}
Instance of Symbol 234 MovieClip "Girl6" in Symbol 235 MovieClip Frame 1
on (press) {
Filles[0].AfficheFille(ListFilles[5]);
}
Instance of Symbol 234 MovieClip "Girl7" in Symbol 235 MovieClip Frame 1
on (press) {
Filles[0].AfficheFille(ListFilles[6]);
}
Instance of Symbol 234 MovieClip "Girl8" in Symbol 235 MovieClip Frame 1
on (press) {
Filles[0].AfficheFille(ListFilles[7]);
}
Instance of Symbol 234 MovieClip "Girl9" in Symbol 235 MovieClip Frame 1
on (press) {
Filles[0].AfficheFille(ListFilles[8]);
}
Instance of Symbol 234 MovieClip "Girl10" in Symbol 235 MovieClip Frame 1
on (press) {
Filles[0].AfficheFille(ListFilles[9]);
}
Instance of Symbol 234 MovieClip "Girl11" in Symbol 235 MovieClip Frame 1
on (press) {
Filles[0].AfficheFille(ListFilles[10]);
}
Instance of Symbol 234 MovieClip "Girl12" in Symbol 235 MovieClip Frame 1
on (press) {
Filles[0].AfficheFille(ListFilles[11]);
}
Instance of Symbol 234 MovieClip "Girl13" in Symbol 235 MovieClip Frame 1
on (press) {
Filles[0].AfficheFille(ListFilles[12]);
}
Instance of Symbol 234 MovieClip "Girl14" in Symbol 235 MovieClip Frame 1
on (press) {
Filles[0].AfficheFille(ListFilles[13]);
}
Instance of Symbol 234 MovieClip "Girl15" in Symbol 235 MovieClip Frame 1
on (press) {
Filles[0].AfficheFille(ListFilles[14]);
}
Instance of Symbol 234 MovieClip "Girl16" in Symbol 235 MovieClip Frame 1
on (press) {
Filles[0].AfficheFille(ListFilles[15]);
}
Instance of Symbol 234 MovieClip "Girl17" in Symbol 235 MovieClip Frame 1
on (press) {
Filles[0].AfficheFille(ListFilles[16]);
}
Instance of Symbol 234 MovieClip "Girl18" in Symbol 235 MovieClip Frame 1
on (press) {
Filles[0].AfficheFille(ListFilles[17]);
}
Instance of Symbol 234 MovieClip "Girl19" in Symbol 235 MovieClip Frame 1
on (press) {
Filles[0].AfficheFille(ListFilles[18]);
}
Instance of Symbol 234 MovieClip "Girl20" in Symbol 235 MovieClip Frame 1
on (press) {
Filles[0].AfficheFille(ListFilles[19]);
}
Instance of Symbol 234 MovieClip "Girl21" in Symbol 235 MovieClip Frame 1
on (press) {
Filles[0].AfficheFille(ListFilles[20]);
}
Instance of Symbol 234 MovieClip "Girl22" in Symbol 235 MovieClip Frame 1
on (press) {
Filles[0].AfficheFille(ListFilles[21]);
}
Instance of Symbol 234 MovieClip "Girl23" in Symbol 235 MovieClip Frame 1
on (press) {
Filles[0].AfficheFille(ListFilles[22]);
}
Instance of Symbol 234 MovieClip "Girl24" in Symbol 235 MovieClip Frame 1
on (press) {
Filles[0].AfficheFille(ListFilles[23]);
}
Instance of Symbol 234 MovieClip "Girl25" in Symbol 235 MovieClip Frame 1
on (press) {
Filles[0].AfficheFille(ListFilles[24]);
}
Instance of Symbol 234 MovieClip "Girl26" in Symbol 235 MovieClip Frame 1
on (press) {
Filles[0].AfficheFille(ListFilles[25]);
}
Instance of Symbol 234 MovieClip "Girl27" in Symbol 235 MovieClip Frame 1
on (press) {
Filles[0].AfficheFille(ListFilles[26]);
}
Instance of Symbol 234 MovieClip "Girl28" in Symbol 235 MovieClip Frame 1
on (press) {
Filles[0].AfficheFille(ListFilles[27]);
}
Instance of Symbol 234 MovieClip "Girl29" in Symbol 235 MovieClip Frame 1
on (press) {
Filles[0].AfficheFille(ListFilles[28]);
}
Instance of Symbol 234 MovieClip "Girl30" in Symbol 235 MovieClip Frame 1
on (press) {
Filles[0].AfficheFille(ListFilles[29]);
}
Instance of Symbol 234 MovieClip "Girl31" in Symbol 235 MovieClip Frame 1
on (press) {
Filles[0].AfficheFille(ListFilles[30]);
}
Instance of Symbol 234 MovieClip "Girl32" in Symbol 235 MovieClip Frame 1
on (press) {
Filles[0].AfficheFille(ListFilles[31]);
}
Instance of Symbol 234 MovieClip "Girl33" in Symbol 235 MovieClip Frame 1
on (press) {
Filles[0].AfficheFille(ListFilles[32]);
}
Instance of Symbol 234 MovieClip "Girl34" in Symbol 235 MovieClip Frame 1
on (press) {
Filles[0].AfficheFille(ListFilles[33]);
}
Instance of Symbol 234 MovieClip "Girl35" in Symbol 235 MovieClip Frame 1
on (press) {
Filles[0].AfficheFille(ListFilles[34]);
}
Instance of Symbol 234 MovieClip "Girl36" in Symbol 235 MovieClip Frame 1
on (press) {
Filles[0].AfficheFille(ListFilles[35]);
}
Instance of Symbol 238 MovieClip in Symbol 250 MovieClip Frame 1
on (press) {
Filles[_root.Indice].Cost = Filles[_root.Indice].Cost + 1;
Filles[_root.Indice].Scores(_root.Indice);
}
Instance of Symbol 240 MovieClip in Symbol 250 MovieClip Frame 1
on (press) {
Filles[_root.Indice].Cost = Filles[_root.Indice].Cost - 1;
if (Filles[_root.Indice].Cost < 0) {
Filles[_root.Indice].Cost = 0;
}
Filles[_root.Indice].Scores(_root.Indice);
}
Instance of Symbol 243 MovieClip in Symbol 250 MovieClip Frame 1
on (press) {
i = ((((Filles[_root.Indice].Charisma + Filles[_root.Indice].Fuck) + Filles[_root.Indice].BJ) + (Filles[_root.Indice].Refinement * 2)) + Filles[_root.Indice].Libido) / (9 - Filles[_root.Indice].Rank);
i = Math.round(i);
Filles[_root.Indice].Cost = i;
_root.FillesClip.FillesPrice = Filles[_root.Indice].Cost;
}
Instance of Symbol 245 MovieClip in Symbol 250 MovieClip Frame 1
on (press) {
_root.FillesClip.FillesBoutonG._visible = true;
_root.FillesClip.FillesBoutonD._visible = true;
_root.FillesClip.X._visible = true;
_root.FillesClip.ChangeEquip._visible = true;
_root.FillesClip.Sell._visible = true;
_root.ChoixPrix._visible = false;
_root.FillesClip.Work._visible = true;
_root.FillesClip.ChangePrice._visible = true;
}
Instance of Symbol 247 MovieClip in Symbol 250 MovieClip Frame 1
on (press) {
Filles[_root.Indice].Cost = Filles[_root.Indice].Cost + 10;
Filles[_root.Indice].Scores(_root.Indice);
}
Instance of Symbol 249 MovieClip in Symbol 250 MovieClip Frame 1
on (press) {
Filles[_root.Indice].Cost = Filles[_root.Indice].Cost - 10;
if (Filles[_root.Indice].Cost < 0) {
Filles[_root.Indice].Cost = 0;
}
Filles[_root.Indice].Scores(_root.Indice);
}
Instance of Symbol 254 MovieClip "List" in Symbol 837 MovieClip Frame 1
on (press) {
Filles[0].Tri("Num");
_root.Menu._visible = false;
_root.GirlListMain._visible = true;
_root.FillesClip.BuyEquip._visible = false;
Filles[0].ListMain();
}
on (rollOver) {
_root.Menu.Infos = "Here, you can see all the girls you possess, their stats and characteristics. It is also here you can change their equipements and sell them.";
}
on (rollOut) {
_root.Menu.Infos = _root.Comment;
}
Instance of Symbol 256 MovieClip "Buy" in Symbol 837 MovieClip Frame 1
on (press) {
Filles[0].Tri("Num");
_root.Menu._visible = false;
_root.FillesClip._visible = true;
_root.FillesClip.Buy._visible = true;
_root.FillesClip.PlusRefinement._visible = false;
_root.FillesClip.PlusCharisma._visible = false;
_root.FillesClip.PlusConstitution._visible = false;
_root.FillesClip.PlusFuck._visible = false;
_root.FillesClip.PlusBJ._visible = false;
_root.FillesClip.PlusLibido._visible = false;
_root.FillesClip.Abilities._visible = false;
_root.Achat = 0;
Filles[_root.Indice].CLS();
i = 0;
while ((i >= 0) and (i < (_root.MaxFilles + 1))) {
if (_root.Indice < _root.MaxFilles) {
_root.Indice = _root.Indice + 1;
} else {
_root.Indice = 0;
}
if (Filles[_root.Indice].Got == _root.Achat) {
Filles[_root.Indice].CLS();
Filles[_root.Indice].Scores(_root.Indice);
Filles[_root.Indice].Image(_root.Indice);
i = -1;
} else {
i = i + 1;
}
}
if (_root.RankMission < 4) {
_root.Comment = Filles[_root.Indice].Comment1;
} else if (_root.RankMission < 8) {
_root.Comment = Filles[_root.Indice].Comment2;
} else {
_root.Comment = Filles[_root.Indice].Comment3;
}
if (i >= _root.MaxFilles) {
_root.Comment = "No more list to show.";
_root.FillesClip.FillesName = "";
}
_root.FillesClip.FillesNotes = _root.Comment;
}
on (rollOver) {
_root.Menu.Infos = "You can buy new girls if you have enough money. But be careful that this will also grow your expenses as you will have to take care of each new girl.";
}
on (rollOut) {
_root.Menu.Infos = _root.Comment;
}
Instance of Symbol 258 MovieClip "BEquip" in Symbol 837 MovieClip Frame 1
on (press) {
Filles[0].Tri("Num");
_root.Menu._visible = false;
_root.GirlListMain._visible = true;
Filles[0].ListMain();
_root.FillesClip.BuyEquip._visible = true;
_root.FillesClip.ChangeEquip._visible = false;
_root.FillesClip.ChangePrice._visible = false;
_root.FillesClip.Work._visible = false;
_root.FillesClip.PlusRefinement._visible = false;
_root.FillesClip.PlusCharisma._visible = false;
_root.FillesClip.PlusConstitution._visible = false;
_root.FillesClip.PlusFuck._visible = false;
_root.FillesClip.PlusBJ._visible = false;
_root.FillesClip.PlusLibido._visible = false;
}
on (rollOver) {
_root.Menu.Infos = "You can buy some equipements for your girls to enhance their abilities.";
}
on (rollOut) {
_root.Menu.Infos = _root.Comment;
}
Instance of Symbol 260 MovieClip "BBuilding" in Symbol 837 MovieClip Frame 1
on (press) {
_root.Menu._visible = false;
_root.BuildingsClip.Yes._visible = false;
_root.BuildingsClip.No._visible = false;
_root.BuildingsClip.NoWork._visible = false;
_root.BuildingsClip.School._visible = false;
_root.BuildingsClip.Ceremony._visible = false;
_root.BuildingsClip.Infos = "";
_root.ActionBuilding = 0;
VecBuildings[0].Show(_root.ActionBuilding);
}
on (rollOver) {
_root.Menu.Infos = "You will need new buildings if you want to have many girls. The cost is high but it is a necessity if you want to be successful.";
}
on (rollOut) {
_root.Menu.Infos = _root.Comment;
}
Instance of Symbol 262 MovieClip "UBuilding" in Symbol 837 MovieClip Frame 1
on (press) {
_root.Menu._visible = false;
_root.Upgrade.Yes._visible = false;
_root.Upgrade.No._visible = false;
_root.BuildingsClip.NoWork._visible = false;
_root.BuildingsClip.School._visible = false;
_root.BuildingsClip.Ceremony._visible = false;
_root.BuildingsClip.Infos = "";
_root.ActionBuilding = 1;
VecBuildings[0].Show(1);
}
on (rollOver) {
_root.Menu.Infos = "Upgrading a building will give a bonus to the girls working inside it, it will also make a good advertising.";
}
on (rollOut) {
_root.Menu.Infos = _root.Comment;
}
Instance of Symbol 264 MovieClip "Management" in Symbol 837 MovieClip Frame 1
on (press) {
_root.Menu._visible = false;
_root.Management._visible = true;
i = 0;
j = 0;
while (i < _root.NbrBat) {
if (VecBuildings[i].Got == 1) {
j = j + VecBuildings[i].Room;
}
i++;
}
n = 0;
m = 0;
while (n < (_root.MaxFilles + 1)) {
if (Filles[n].Got == 1) {
m++;
}
n++;
}
_root.Management.Infos = ((("You actually have " + j) + " room(s)( available and you have ") + m) + " girl(s).";
}
on (rollOver) {
_root.Menu.Infos = "Here, you can manage your houses and girls. You can make girls rank up, visit the slave market or see wich is your current mission.";
}
on (rollOut) {
_root.Menu.Infos = _root.Comment;
}
Instance of Symbol 266 MovieClip "Advertising" in Symbol 837 MovieClip Frame 1
on (press) {
_root.Menu._visible = false;
_root.BuildingsClip.Yes._visible = false;
_root.BuildingsClip.No._visible = false;
_root.BuildingsClip.NoWork._visible = false;
_root.BuildingsClip.School._visible = false;
_root.BuildingsClip.Ceremony._visible = false;
_root.BuildingsClip.Infos = "";
_root.ActionBuilding = 3;
VecBuildings[0].Show(1);
_root.BuildingsClip.Infos = "Choose for wich building you want to make advertising";
}
on (rollOver) {
_root.Menu.Infos = "Advertising is very important in the 'Floating World'. With a nice advertising, you can raise the price of your girls and gain more Golds. But be careful that advertisings must be paid each day.";
}
on (rollOut) {
_root.Menu.Infos = _root.Comment;
}
Instance of Symbol 268 MovieClip "NewDay" in Symbol 837 MovieClip Frame 1
on (press) {
_root.FillesClip.Sell._visible = false;
_root.FillesClip.PlusRefinement._visible = false;
_root.FillesClip.PlusCharisma._visible = false;
_root.FillesClip.PlusConstitution._visible = false;
_root.FillesClip.PlusFuck._visible = false;
_root.FillesClip.PlusBJ._visible = false;
_root.FillesClip.PlusLibido._visible = false;
Filles[0].ActionsDay();
}
on (rollOver) {
_root.Menu.Infos = "Begin a new day, choose where the girls will work (if you want them to work) and watch the results.";
}
on (rollOut) {
_root.Menu.Infos = _root.Comment;
}
Instance of Symbol 57 MovieClip "Next" in Symbol 837 MovieClip Frame 1
on (press) {
if (_root.Fini == 0) {
q = 0;
Filles[0].CLS();
_root.Menu.Next._visible = true;
while (q == 0) {
q = Filles[0].Work(_root.WorkF);
_root.WorkF++;
}
if (q == 2) {
i = 0;
while (i < (_root.MaxFilles + 1)) {
en = ((((Filles[i].Charisma + Filles[i].Reputation) + (Filles[i].Refinement * 2)) + Filles[i].Character) + (100 - Filles[i].Health)) / (9 - Filles[i].Rank);
en = Math.round(en);
Filles[i].Entretien = en;
if (Filles[i].Abilities[4] == 1) {
r = random(4);
if (r == 1) {
Filles[i].Constitution++;
}
}
if (Filles[i].Abilities[5] == 1) {
r = random(5);
if (r == 1) {
Filles[i].Refinement++;
}
}
if (Filles[i].Abilities[6] == 1) {
r = random(4);
if (r == 1) {
Filles[i].Charisma++;
}
}
if (Filles[i].Abilities[9] == 1) {
Filles[i].Joy++;
}
if (Filles[i].Abilities[11] == 1) {
Filles[i].Constitution++;
}
if (Filles[i].Abilities[12] == 1) {
Filles[i].Libido = Filles[i].Libido + 2;
}
if (Filles[i].Abilities[13] == 1) {
Filles[i].VisibleCharacter--;
}
if (Filles[i].Abilities[14] == 1) {
Filles[i].Fuck++;
Filles[i].BlowJob++;
}
if (Filles[i].Abilities[17] == 1) {
Filles[i].Charisma = Filles[i].Charisma + 4;
}
if (Filles[i].Abilities[20] == 1) {
Filles[i].Refinement++;
}
i++;
}
if (Filles[33].Got == 1) {
r = random(5);
n = random(10);
if (n > 5) {
Filles[33].Joy = Filles[33].Joy + r;
} else {
Filles[33].Joy = Filles[33].Joy - r;
}
}
if (_root.NbrDay == _root.EndDay) {
_root.Menu.Infos = "So, the time you were allowed is over. We will now see where your abilities takes you.";
_root.Fini = 1;
} else {
_root.Menu.Infos = ("Upkeep of " + _root.Entret) + " Golds";
_root.NbrDay++;
if (_root.DayJoker == 1) {
_root.Menu.Infos = _root.Menu.Infos + "\rYour joker wears off.";
}
_root.DayJoker--;
if ((_root.NbrDay % 7) == 0) {
_root.Menu.Infos = _root.Menu.Infos + "\rYou received your weekly Joker.";
r = random(9) + 1;
if (r == 5) {
r = 4;
}
_root.Joker1 = r;
}
_root.MenuNbrDay = _root.NbrDay;
i = 0;
if (_root.NbrDay == _root.DayMission) {
i = Missions[0].Check2(_root.TypeMission, _root.MissionM, _root.MissionN);
if (i == 1) {
_root.Menu.Infos = _root.Menu.Infos + "\rMission completed! Congratulations! You won a Joker!";
r = random(10) + 1;
if (r == 7) {
r = 5;
}
_root.Joker2 = r;
if ((_root.HighRank == 1) or (_root.DoubleMission == 0)) {
_root.RankMission++;
HighRank = 0;
} else {
HighRank = 1;
}
} else {
_root.Menu.Infos = _root.Menu.Infos + "\rMission failed!";
}
Missions[0].New(_root.RankMission);
if (_root.TypeMission == 0) {
_root.Menu.Infos = _root.Menu.Infos + ((("\rYour new mission is to: Have the " + VecBuildings[_root.MissionM].Name) + " before day: ") + _root.DayMission);
} else if (_root.TypeMission == 1) {
_root.Menu.Infos = _root.Menu.Infos + ((("\rYour new mission is to: Have " + _root.MissionM) + " girls before day: ") + _root.DayMission);
} else if (_root.TypeMission == 2) {
_root.Menu.Infos = _root.Menu.Infos + ((((("\rYour new mission is to: Have " + _root.MissionM) + " girls rank ") + _root.MissionN) + " before day: ") + _root.DayMission);
} else if (_root.TypeMission == 3) {
_root.Menu.Infos = _root.Menu.Infos + ((("\rYour new mission is to: Have " + _root.MissionM) + " Golds before day: ") + _root.DayMission);
} else if (_root.TypeMission == 4) {
if (_root.MissionM == 0) {
_root.Menu.Infos = _root.Menu.Infos + ("\rYour new mission is to: Have a bar before day: " + _root.DayMission);
} else if (_root.MissionM == 1) {
_root.Menu.Infos = _root.Menu.Infos + ("\rYour new mission is to: Have a strip-tease room before day: " + _root.DayMission);
} else if (_root.MissionM == 2) {
_root.Menu.Infos = _root.Menu.Infos + ("\rYour new mission is to: Have a garden room before day: " + _root.DayMission);
} else if (_root.MissionM == 3) {
_root.Menu.Infos = _root.Menu.Infos + ("\rYour new mission is to: Have a money-games room before day: " + _root.DayMission);
} else {
_root.Menu.Infos = _root.Menu.Infos + ("\rYour new mission is to: Have an opium room before day: " + _root.DayMission);
}
}
}
_root.Gold = _root.Gold - _root.Entret;
}
_root.Ranked = 0;
Filles[0].Market();
i = 0;
j = 0;
while (i < 7) {
VecBuildings[i].FreeRoom = VecBuildings[i].Room;
VecBuildings[i].NbrF = 0;
VecBuildings[i].NbrCust = 0;
i++;
}
j = 0;
while (j < (_root.MaxFilles + 1)) {
if (Filles[j].Got == 1) {
VecBuildings[Filles[j].Libre - 1].FreeRoom--;
}
j++;
}
Filles[0].CLS();
_root.Gold = Math.round(_root.Gold);
_root.MenuGold = _root.Gold;
Filles[0].Scores(_root.Indice);
if (_root.Fini == 0) {
r = Filles[0].Event();
if (r == 0) {
_root.Menu.Next._visible = false;
_root.Menu.Buy._visible = true;
_root.Menu.List._visible = true;
_root.Menu.BEquip._visible = true;
_root.Menu.BBuilding._visible = true;
_root.Menu.UBuilding._visible = true;
_root.Menu.School._visible = true;
_root.Menu.Advertising._visible = true;
_root.Menu.NewDay._visible = true;
_root.Menu.Save._visible = true;
_root.Menu.Management._visible = true;
_root.Menu.Yes._visible = false;
_root.Menu.No._visible = false;
} else {
_root.Menu.Next._visible = false;
_root.Menu.Yes._visible = true;
_root.Menu.No._visible = true;
}
}
_root.Comment = _root.Menu.Infos;
}
} else if (_root.Fini == 1) {
Filles[0].Tri("Num");
Filles[0].Ending(_root.Perso);
_root.Fini = 2;
} else if (_root.Fini == 2) {
r = random(8) + 1;
if (r == 1) {
_root.Comment = "To get the 'Legend' ending, finish with your character as a Rank8 and fulfill at least 9 missions.";
} else if (r == 2) {
_root.Comment = "To get the 'Merchant' ending, finish with at least 9 missions cleared and your character below rank 3.";
} else if (r == 3) {
_root.Comment = "To get the 'Nymphomaniac' ending, finish with your character's libido above 90 and no more than 9 missions cleared.";
} else if (r == 4) {
_root.Comment = "To get the 'Spoiled' ending, finish with more than 200.000 Golds and no more than 9 missions cleared.";
} else if (r == 5) {
_root.Comment = "To get the 'Tayu' ending, finish with your character at rank8 and no more than 9 missions cleared.";
} else if (r == 6) {
_root.Comment = "To get the 'Sold' ending, finish with less than 5 missions cleared and your character below rank8.";
} else if (r == 7) {
_root.Comment = "To get the 'Courtisan' ending, finish with more than 5 and less than 9 missions cleared and your character below rank8.";
} else if (r == 8) {
_root.Comment = "To get the 'King' ending, finish with more than 9 missions cleared and your character's rank above 2 but below 8.";
}
_root.Fini = 3;
_root.Menu.Infos = _root.Comment;
}
}
Instance of Symbol 393 MovieClip "Save" in Symbol 837 MovieClip Frame 1
on (press) {
_root.sObject.clear();
_root.sObject.data.Filles = Filles;
_root.sObject.data.Missions = Missions;
_root.sObject.data.VecBuildings = VecBuildings;
_root.sObject.data.VecEquip = VecEquip;
_root.sObject.data.EndDay = _root.EndDay;
_root.sObject.data.Perso = _root.Perso;
_root.sObject.data.Gold = _root.Gold;
_root.sObject.data.ActualMission = _root.ActualMission;
_root.sObject.data.DayMission = _root.DayMission;
_root.sObject.data.RankMission = _root.RankMission;
_root.sObject.data.IntervalMission = _root.IntervalMission;
_root.sObject.data.HighRank = _root.HighRank;
_root.sObject.data.DoubleMission = _root.DoubleMission;
_root.sObject.data.Indice = _root.Indice;
_root.sObject.data.Achat = _root.Achat;
_root.sObject.data.ActionBuilding = _root.ActionBuilding;
_root.sObject.data.AchatBuilding = _root.AchatBuilding;
_root.sObject.data.AchatAdvert = _root.AchatAdvert;
_root.sObject.data.WorkF = _root.WorkF;
_root.sObject.data.Entret = _root.Entret;
_root.sObject.data.PrixAdvert = _root.PrixAdvert;
_root.sObject.data.ActionEquip = _root.ActionEquip;
_root.sObject.data.AchatEquip = _root.AchatEquip;
_root.sObject.data.AchatUpgrade = _root.AchatUpgrade;
_root.sObject.data.Rankage = _root.Rankage;
_root.sObject.data.WillRank = _root.WillRank;
_root.sObject.data.MaxFilles = _root.MaxFilles;
_root.sObject.data.NbrBat = _root.NbrBat;
_root.sObject.data.NbrDay = _root.NbrDay;
_root.sObject.data.Difficulty = _root.Difficulty;
_root.sObject.data.StartEvent = _root.StartEvent;
_root.sObject.data.Ranked = _root.Ranked;
_root.sObject.data.TypeMission = _root.TypeMission;
_root.sObject.data.MissionM = _root.MissionM;
_root.sObject.data.MissionN = _root.MissionN;
_root.sObject.data.Joker1 = _root.Joker1;
_root.sObject.data.Joker2 = _root.Joker2;
_root.sObject.data.JokerActif = _root.JokerActif;
_root.sObject.data.DayJoker = _root.DayJoker;
_root.sObject.flush();
Filles = _root.sObject.data.Filles;
_root.Perso = _root.sObject.data.Perso;
_root.sObject.flush();
_root.Menu.Infos = "Game saved.";
}
Instance of Symbol 30 MovieClip "Yes" in Symbol 837 MovieClip Frame 1
on (press) {
if (_root.EventNum == 1) {
Filles[0].Tri("Num");
trace((Filles[_root.Indice].Name + " ") + _root.Indice);
if (_root.Gold >= Filles[_root.Indice].Price) {
_root.Gold = _root.Gold - Filles[_root.Indice].Price;
_root.MenuGold = _root.Gold;
Filles[_root.Indice].Got = 1;
_root.Comment = _root.Comment + (("\rYou bought " + Filles[_root.Indice].Name) + ".");
} else {
_root.Comment = _root.Comment + "\rYou don't have enough Golds.";
}
} else if (_root.EventNum == 2) {
Filles[0].Tri("Num");
trace(_root.Indice);
_root.Gold = _root.Gold + Math.round((Filles[_root.Indice].Price * 120) / 100);
if (Filles[_root.Indice].Libre > 0) {
VecBuildings[Filles[_root.Indice].Libre - 1].FreeRoom++;
}
_root.MenuGold = _root.Gold;
Filles[_root.Indice].Got = 5;
_root.Comment = _root.Comment + (("You sold " + Filles[_root.Indice].Name) + ".");
}
_root.EventNum = 0;
_root.Menu.Infos = _root.Comment;
_root.Menu.Next._visible = false;
_root.Menu.Buy._visible = true;
_root.Menu.List._visible = true;
_root.Menu.BEquip._visible = true;
_root.Menu.BBuilding._visible = true;
_root.Menu.UBuilding._visible = true;
_root.Menu.School._visible = true;
_root.Menu.Advertising._visible = true;
_root.Menu.NewDay._visible = true;
_root.Menu.Save._visible = true;
_root.Menu.Management._visible = true;
_root.Menu.Yes._visible = false;
_root.Menu.No._visible = false;
}
Instance of Symbol 28 MovieClip "No" in Symbol 837 MovieClip Frame 1
on (press) {
_root.EventNum = 0;
_root.Menu.Next._visible = false;
_root.Menu.Buy._visible = true;
_root.Menu.List._visible = true;
_root.Menu.BEquip._visible = true;
_root.Menu.BBuilding._visible = true;
_root.Menu.UBuilding._visible = true;
_root.Menu.School._visible = true;
_root.Menu.Advertising._visible = true;
_root.Menu.NewDay._visible = true;
_root.Menu.Save._visible = true;
_root.Menu.Management._visible = true;
_root.Menu.Yes._visible = false;
_root.Menu.No._visible = false;
}
Instance of Symbol 644 MovieClip "Restart" in Symbol 837 MovieClip Frame 1
on (press) {
EndDay = 299;
Perso = 0;
_root.Gold = 100;
_root.MenuGold = Gold;
_root.DayMission = 0;
IntervalMission = 30;
_root.NbrMission = 10;
_root.DoubleMission = 0;
VecBuildings[0].Got = 1;
_root.StartEvent = 30;
Missions[0].New(_root.RankMission);
_root.Comment = "Welcome to Sim Brothel. I am Yumi, i will help you during your time here.";
if (_root.TypeMission == 0) {
_root.Comment = _root.Comment + ((("\rYour new mission is to: Have the " + VecBuildings[_root.MissionM].Name) + " before day: ") + _root.DayMission);
} else if (_root.TypeMission == 1) {
_root.MissionM++;
_root.Comment = _root.Comment + ((("\rYour new mission is to: Have " + _root.MissionM) + " girls before day: ") + _root.DayMission);
} else if (_root.TypeMission == 2) {
_root.MissionN++;
_root.Comment = _root.Comment + ((((("\rYour new mission is to: Have " + _root.MissionM) + " girls rank ") + _root.MissionN) + " before day: ") + _root.DayMission);
} else if (_root.TypeMission == 3) {
_root.MissionM = _root.MissionM + 200;
_root.Comment = _root.Comment + ((("\rYour new mission is to: Have " + _root.MissionM) + " Golds before day: ") + _root.DayMission);
} else if (_root.TypeMission == 4) {
if (_root.MissionM == 1) {
_root.Comment = _root.Comment + ("\rYour new mission is to: Have a bar before day: " + _root.DayMission);
} else if (_root.MissionM == 2) {
_root.Comment = _root.Comment + ("\rYour new mission is to: Have a strip-tease room before day: " + _root.DayMission);
} else if (_root.MissionM == 3) {
_root.Comment = _root.Comment + ("\rYour new mission is to: Have a garden room before day: " + _root.DayMission);
} else if (_root.MissionM == 4) {
_root.Comment = _root.Comment + ("\rYour new mission is to: Have a money-games room before day: " + _root.DayMission);
} else {
_root.Comment = _root.Comment + ("\rYour new mission is to: Have an opium room before day: " + _root.DayMission);
}
}
_root.Comment = _root.Comment + (("\rThe ending of your work is at day: " + (_root.EndDay + 1)) + ".\rYou have to fulfill the most missions you can before that date.");
_root.Menu.Infos = _root.Comment;
_root.Menu._visible = false;
_root.Fond._visible = false;
_root.Start._visible = true;
}
Instance of Symbol 32 MovieClip in Symbol 851 MovieClip Frame 1
on (press) {
if (_root.Ranked == 0) {
_root.Rankage = 1;
_root.Management._visible = false;
_root.FillesClip._visible = true;
_root.FillesClip.Abilities._visible = false;
Filles[_root.Indice].CLS();
_root.Achat = 1;
i = 0;
while ((i >= 0) and (i < (_root.MaxFilles + 1))) {
if (_root.Indice < _root.MaxFilles) {
_root.Indice = _root.Indice + 1;
} else {
_root.Indice = 0;
}
if (Filles[_root.Indice].Got == 1) {
Filles[_root.Indice].CLS();
Filles[_root.Indice].Scores(_root.Indice);
Filles[_root.Indice].Image(_root.Indice);
i = -1;
} else {
i = i + 1;
}
}
if (_root.RankMission < 4) {
_root.Comment = Filles[_root.Indice].Comment1;
} else if (_root.RankMission < 8) {
_root.Comment = Filles[_root.Indice].Comment2;
} else {
_root.Comment = Filles[_root.Indice].Comment3;
}
if (i >= _root.MaxFilles) {
_root.Comment = "No more list to show.";
_root.FillesClip.FillesName = "";
}
i = _root.Indice;
oldrank = Filles[i].Rank;
newrank = Filles[i].Rank;
num = 0;
j = 0;
while (j < _root.NbrBat) {
if (VecBuildings[j].Got == 1) {
num = j;
}
j++;
}
if (((((Filles[i].Rank == 7) and (Filles[i].Refinement >= 99)) and (Filles[i].Reputation >= 99)) and (Filles[i].Charisma >= 95)) and (num >= 6)) {
newrank = 8;
} else if (((((Filles[i].Rank == 6) and (Filles[i].Refinement > 90)) and (Filles[i].Reputation > 90)) and (Filles[i].Charisma > 80)) and (num >= 5)) {
newrank = 7;
} else if (((((Filles[i].Rank == 5) and (Filles[i].Refinement > 70)) and (Filles[i].Reputation > 70)) and (Filles[i].Charisma > 70)) and (num >= 4)) {
newrank = 6;
} else if (((((Filles[i].Rank == 4) and (Filles[i].Refinement > 55)) and (Filles[i].Reputation > 55)) and (Filles[i].Charisma > 60)) and (num >= 3)) {
newrank = 5;
} else if (((((Filles[i].Rank == 3) and (Filles[i].Refinement > 45)) and (Filles[i].Reputation > 45)) and (Filles[i].Charisma > 40)) and (num >= 2)) {
newrank = 4;
} else if ((((Filles[i].Rank == 2) and (Filles[i].Refinement > 25)) and (Filles[i].Reputation > 25)) and (num >= 1)) {
newrank = 3;
} else if ((Filles[i].Refinement > 10) and (Filles[i].Reputation > 10)) {
newrank = 2;
}
if (newrank > oldrank) {
_root.FillesClip.RankUp._visible = true;
} else {
_root.FillesClip.RankUp._visible = false;
}
} else {
_root.Management.Infos = "You cannot make another attempt at ranking up today.";
}
_root.FillesClip.FillesNotes = _root.Comment;
}
on (rollOver) {
_root.Management.Infos = "Here you can try to make a girl rise a rank and become better suited to please her customers. Be aware that a rank up cost Golds.";
}
Instance of Symbol 70 MovieClip "X" in Symbol 851 MovieClip Frame 1
on (press) {
_root.Management._visible = false;
_root.Menu._visible = true;
_root.MenuGold = _root.Gold;
_root.Rankage = 0;
}
Instance of Symbol 844 MovieClip "Missions" in Symbol 851 MovieClip Frame 1
on (press) {
_root.Comment = "";
if (_root.TypeMission == 0) {
_root.Comment = _root.Comment + ((("\rYour mission is to: Have the " + VecBuildings[_root.MissionM].Name) + " before day: ") + _root.DayMission);
} else if (_root.TypeMission == 1) {
_root.Comment = _root.Comment + ((("\rYour mission is to: Have " + _root.MissionM) + " girls before day: ") + _root.DayMission);
} else if (_root.TypeMission == 2) {
_root.Comment = _root.Comment + ((((("\rYour mission is to: Have " + _root.MissionM) + " girls rank ") + _root.MissionN) + " before day: ") + _root.DayMission);
} else if (_root.TypeMission == 3) {
_root.Comment = _root.Comment + ((("\rYour mission is to: Have " + _root.MissionM) + " Golds before day: ") + _root.DayMission);
} else if (_root.TypeMission == 4) {
if (_root.MissionM == 0) {
_root.Comment = _root.Comment + ("\rYour mission is to: Have a bar before day: " + _root.DayMission);
} else if (_root.MissionM == 1) {
_root.Comment = _root.Comment + ("\rYour mission is to: Have a strip-tease room before day: " + _root.DayMission);
} else if (_root.MissionM == 2) {
_root.Comment = _root.Comment + ("\rYour mission is to: Have a garden room before day: " + _root.DayMission);
} else if (_root.MissionM == 3) {
_root.Comment = _root.Comment + ("\rYour mission is to: Have a money-games room before day: " + _root.DayMission);
} else {
_root.Comment = _root.Comment + ("\rYour mission is to: Have an opium room before day: " + _root.DayMission);
}
}
_root.Management.Infos = _root.Comment;
}
on (rollOver) {
_root.Management.Infos = "Click here to know what's your current mission.";
}
Instance of Symbol 846 MovieClip "Market" in Symbol 851 MovieClip Frame 1
on (press) {
if ((_root.Gold >= 50) or (_root.MarketPass == 1)) {
_root.Rankage = 0;
if (_root.MarketPass == 0) {
_root.Gold = _root.Gold - 50;
_root.MenuGold = _root.Gold;
}
_root.Management._visible = false;
_root.FillesClip._visible = true;
_root.FillesClip.Abilities._visible = false;
_root.FillesClip.Buy._visible = true;
_root.FillesClip.PlusRefinement._visible = false;
_root.FillesClip.PlusCharisma._visible = false;
_root.FillesClip.PlusConstitution._visible = false;
_root.FillesClip.PlusFuck._visible = false;
_root.FillesClip.PlusBJ._visible = false;
_root.FillesClip.PlusLibido._visible = false;
_root.Achat = 2;
Filles[_root.Indice].CLS();
i = 0;
while ((i >= 0) and (i < (_root.MaxFilles + 1))) {
if (_root.Indice < _root.MaxFilles) {
_root.Indice = _root.Indice + 1;
} else {
_root.Indice = 0;
}
if (Filles[_root.Indice].Got == _root.Achat) {
Filles[_root.Indice].CLS();
Filles[_root.Indice].Scores(_root.Indice);
Filles[_root.Indice].Image(_root.Indice);
i = -1;
} else {
i = i + 1;
}
}
if (_root.RankMission < 4) {
_root.Comment = Filles[_root.Indice].Comment1;
} else if (_root.RankMission < 8) {
_root.Comment = Filles[_root.Indice].Comment2;
} else {
_root.Comment = Filles[_root.Indice].Comment3;
}
if (i >= _root.MaxFilles) {
_root.Comment = "No more list to show.";
_root.FillesClip.FillesName = "";
}
_root.FillesClip.FillesNotes = _root.Comment;
} else {
_root.Management.Infos = "You don't have enough Golds to enter the market.";
}
}
on (rollOver) {
_root.Management.Infos = "The entrance to the slave market cost 50 Golds, be sure to have enough money before entering here.";
}
Instance of Symbol 848 MovieClip in Symbol 851 MovieClip Frame 1
on (press) {
_root.Gestion.Infos = "";
_root.Gestion.DayLeft = _root.EndDay - _root.NbrDay;
i = 0;
j = 0;
while (i < (_root.MaxFilles + 1)) {
if (Filles[i].Got == 1) {
j++;
}
i++;
}
_root.Gestion.NbrGirls = j;
i = 0;
j = 0;
n = 0;
while (i < _root.NbrBat) {
if (VecBuildings[i].Got == 1) {
j++;
n = n + VecBuildings[i].Room;
}
i++;
}
_root.Gestion.NbrBuildings = j;
_root.Gestion.NbrRooms = n;
if (_root.Difficulty == 1) {
_root.Gestion.Difficulty = "Easy";
} else if (_root.Difficulty == 2) {
_root.Gestion.Difficulty = "Normal";
} else if (_root.Difficulty == 3) {
_root.Gestion.Difficulty = "Hard";
}
_root.Gestion.RankMission = _root.RankMission;
entr = 0;
n = 0;
while (n < (_root.MaxFilles + 1)) {
if (Filles[n].Got == 1) {
entr = entr + Filles[n].Entretien;
}
if (((Filles[n].Got == 1) and (Filles[n].Libre <= -3)) and (Filles[i].Libre >= -6)) {
entr = entr + (Filles[i].Price * 20);
} else if ((Filles[n].Got == 1) and (Filles[n].Libre == -7)) {
entr = entr + (Filles[i].Price * 40);
}
n++;
}
entr = entr + _root.PrixAdvert;
_root.Gestion.Upkeep = entr;
i = 0;
while (i < _root.NbrBat) {
if (VecBuildings[i].Got == 1) {
j = 0;
maxrep = 0;
cost = 0;
estprice = 0;
raf = 0;
costr = 0;
while (j < (_root.MaxFilles + 1)) {
if (Filles[j].Libre == VecBuildings[i].Num) {
raf = raf + Filles[j].Reputation;
maxrep = maxrep + Filles[j].Refinement;
VecBuildings[i].NbrF = VecBuildings[i].NbrF + 1;
estprice = estprice + (((((Filles[j].Charisma + Filles[j].Fuck) + Filles[j].BJ) + (Filles[j].Refinement * 2)) + Filles[j].Libido) / (9 - Filles[j].Rank));
costr = costr + Filles[j].Cost;
}
j++;
}
costr = costr / VecBuildings[i].NbrF;
costr = Math.round(costr);
estprice = Math.round(estprice / VecBuildings[i].NbrF);
raf = raf / VecBuildings[i].NbrF;
raf = Math.round(raf);
r = 0;
sol = ((costr / estprice) - 1) * 100;
sol = Math.round(sol);
rep = VecBuildings[i].Reputation;
if (rep > maxrep) {
rep = maxrep;
}
VecBuildings[i].NbrCust = Math.round((((((raf + rep) + (VecBuildings[i].Position * 2)) + (VecBuildings[i].Advert * 2)) + r) - (sol * 2)) / 20);
if (VecBuildings[i].NbrCust <= -5) {
VecBuildings[i].NbrCust = 0;
} else if (VecBuildings[i].NbrCust <= 0) {
VecBuildings[i].NbrCust = 1;
} else if (VecBuildings[i].NbrCust > 30) {
VecBuildings[i].NbrCust = 30;
}
} else {
VecBuildings[i].NbrCust = 0;
}
if (i == 0) {
_root.Gestion.OldShack = VecBuildings[i].NbrCust;
} else if (i == 1) {
_root.Gestion.SmallHouse = VecBuildings[i].NbrCust;
} else if (i == 2) {
_root.Gestion.FirstHouse = VecBuildings[i].NbrCust;
} else if (i == 3) {
_root.Gestion.SecondHouse = VecBuildings[i].NbrCust;
} else if (i == 4) {
_root.Gestion.CentralHouse = VecBuildings[i].NbrCust;
} else if (i == 5) {
_root.Gestion.Palace = VecBuildings[i].NbrCust;
} else if (i == 6) {
_root.Gestion.CentralPalace = VecBuildings[i].NbrCust;
}
i++;
}
i = 0;
j = 0;
un = 0;
deux = 0;
trois = 0;
quatre = 0;
cinq = 0;
six = 0;
sept = 0;
huit = 0;
while (i < (_root.MaxFilles + 1)) {
if ((Filles[i].Got == 1) and (Filles[i].Libre == 1)) {
un++;
} else if ((Filles[i].Got == 1) and (Filles[i].Libre == 2)) {
deux++;
} else if ((Filles[i].Got == 1) and (Filles[i].Libre == 3)) {
trois++;
} else if ((Filles[i].Got == 1) and (Filles[i].Libre == 4)) {
quatre++;
} else if ((Filles[i].Got == 1) and (Filles[i].Libre == 5)) {
cinq++;
} else if ((Filles[i].Got == 1) and (Filles[i].Libre == 6)) {
six++;
} else if ((Filles[i].Got == 1) and (Filles[i].Libre == 7)) {
sept++;
}
i++;
}
_root.Gestion.OldShack2 = un;
_root.Gestion.SmallHouse2 = deux;
_root.Gestion.FirstHouse2 = trois;
_root.Gestion.SecondHouse2 = quatre;
_root.Gestion.CentralHouse2 = cinq;
_root.Gestion.Palace2 = six;
_root.Gestion.CentralPalace2 = sept;
i = 0;
n = 0;
Pleasure = 0;
MaxPleasure = 0;
while (i < (_root.MaxFilles + 1)) {
if (Filles[i].Got == 1) {
Pleasure = ((((((Filles[i].Charisma + Filles[i].Reputation) + Filles[i].Refinement) + Filles[i].Fuck) + Filles[i].BJ) + Filles[i].Libido) + (Filles[i].Joy / 2)) / 90;
Pleasure = Math.round(Pleasure);
if (Pleasure > MaxPleasure) {
n = i;
MaxPleasure = Pleasure;
}
}
i++;
}
_root.Gestion.Favorite = Filles[n].Name;
i = 0;
un = 0;
deux = 0;
trois = 0;
quatre = 0;
cinq = 0;
six = 0;
sept = 0;
huit = 0;
while (i < (_root.MaxFilles + 1)) {
if ((Filles[i].Got == 1) and (Filles[i].Rank == 1)) {
un++;
} else if ((Filles[i].Got == 1) and (Filles[i].Rank == 2)) {
deux++;
} else if ((Filles[i].Got == 1) and (Filles[i].Rank == 3)) {
trois++;
} else if ((Filles[i].Got == 1) and (Filles[i].Rank == 4)) {
quatre++;
} else if ((Filles[i].Got == 1) and (Filles[i].Rank == 5)) {
cinq++;
} else if ((Filles[i].Got == 1) and (Filles[i].Rank == 6)) {
six++;
} else if ((Filles[i].Got == 1) and (Filles[i].Rank == 7)) {
sept++;
} else if ((Filles[i].Got == 1) and (Filles[i].Rank == 8)) {
huit++;
}
i++;
}
_root.Gestion.Nbr1 = un;
_root.Gestion.Nbr2 = deux;
_root.Gestion.Nbr3 = trois;
_root.Gestion.Nbr4 = quatre;
_root.Gestion.Nbr5 = cinq;
_root.Gestion.Nbr6 = six;
_root.Gestion.Nbr7 = sept;
_root.Gestion.Nbr8 = huit;
_root.Management._visible = false;
_root.Gestion._visible = true;
}
on (rollOver) {
_root.Management.Infos = "Here you can watch the general stats of your houses and your girls.";
}
Instance of Symbol 850 MovieClip in Symbol 851 MovieClip Frame 1
on (press) {
_root.Management._visible = false;
if (_root.Joker1 == 0) {
_root.Joker.Joker1 = "\r\r\r\r\rNo Joker";
} else if (_root.Joker1 == 1) {
_root.Joker.Joker1 = "XP Boost\r\r\r\rEach girl gain 300 XP.\r\r\r\r\r\r100 Golds";
} else if (_root.Joker1 == 2) {
_root.Joker.Joker1 = "Esthetic Center\r\r\r\rEach girl gain 5% Charisma.\r\r\r\r\r50 Golds";
} else if (_root.Joker1 == 3) {
_root.Joker.Joker1 = "Hospital\r\r\r\rNo more sickness for 7 days.\r\r\r\r\r50 Golds";
} else if (_root.Joker1 == 4) {
_root.Joker.Joker1 = "Sexual Incense\r\r\r\r\rEach girl gain 15% Libido.\r\r\r\r\r50 Golds";
} else if (_root.Joker1 == 5) {
_root.Joker.Joker1 = "Abilitie\r\r\r\rEach girl gain a new abilitie rank4 or less.\r\r\r\r\r150 Golds";
} else if (_root.Joker1 == 6) {
_root.Joker.Joker1 = "Motivation\r\r\r\rLess girl will refuse to work for 7 days.\r\r\r\r100 Golds";
} else if (_root.Joker1 == 7) {
_root.Joker.Joker1 = "Sexual Learning\r\r\r\rEach girl gain twice the amount of Libido, Fuck and Blowjob for 7 days.\r\r\r\r100 Golds";
} else if (_root.Joker1 == 8) {
_root.Joker.Joker1 = "Sports Training\r\r\r\rEach girl gain 5% Constitution.\r\r\r\r\r100 Golds";
} else if (_root.Joker1 == 9) {
_root.Joker.Joker1 = "Hollyday\r\r\r\rEach girl get their health back to 100%.\r\r\r\r\r150 Golds";
}
if (_root.Joker2 == 0) {
_root.Joker.Joker2 = "\r\r\r\r\rNo Joker";
} else if (_root.Joker2 == 1) {
_root.Joker.Joker2 = "Excellent Advertising\r\r\r\rMaximum number of customers for 7 days.\r\r\r\r\r1000 Golds or a Girl";
} else if (_root.Joker2 == 2) {
_root.Joker.Joker2 = "Obedience\r\r\r\rAll girls will always accept to work for 7 days.\r\r\r\r\r500 Golds or a Girl";
} else if (_root.Joker2 == 3) {
_root.Joker.Joker2 = "Market Pass\r\r\r\rYou won't have to pay to enter the Slave Market anymore.\r\r\r\r300 Golds or a Girl";
} else if (_root.Joker2 == 4) {
_root.Joker.Joker2 = "Haggle\r\r\rThe next girl you will buy at the Slave Market will cost 50% less.\r\r\r\r\r300 Golds or a Girl";
} else if (_root.Joker2 == 5) {
_root.Joker.Joker2 = "Caffeine\r\r\r\rGirls won't lose Health while working for 7 days.\r\r\r\r\r300 Golds or a Girl";
} else if (_root.Joker2 == 6) {
_root.Joker.Joker2 = "Abilitie points\r\r\r\r\rEach girl gain 5 AP.\r\r\r\r\r800 Golds or a Girl";
} else if (_root.Joker2 == 7) {
_root.Joker.Joker2 = "Abilitie\r\r\rEach girl gain an abilitie rank5 or more.\r\r\r\r\r\r600 Golds or a Girl";
} else if (_root.Joker2 == 8) {
_root.Joker.Joker2 = "Super XP\r\r\r\rEach girl gain twice the XP while working for 7 days.\r\r\r\r\r500 Golds or a Girl";
} else if (_root.Joker2 == 9) {
_root.Joker.Joker2 = "Time Warp\r\r\rGet back 7 days in the past while keeping everything you have right now.\r\r\r\r\r1000 Golds or a Girl";
} else if (_root.Joker2 == 10) {
_root.Joker.Joker2 = "Refinement Lesson\r\r\r\rEach girl gain 10% Refinement.\r\r\r\r\r800 Golds or a Girl";
}
_root.Joker._visible = true;
}
Instance of Symbol 858 MovieClip in Symbol 863 MovieClip Frame 1
on (press) {
if (_root.Joker1 == 0) {
} else if (_root.Joker1 == 1) {
i = 0;
while (i < (_root.MaxFilles + 1)) {
if (Filles[i].Got == 1) {
Filles[i].XP = Filles[i].XP + 300;
}
i++;
}
_root.Joker.Joker1 = "XP +300 for each girl.";
} else if (_root.Joker1 == 2) {
i = 0;
while (i < (_root.MaxFilles + 1)) {
if (Filles[i].Got == 1) {
Filles[i].Charisma = Filles[i].Charisma + 5;
}
i++;
}
_root.Joker.Joker1 = "Charisma +5% for each girl.";
} else if (_root.Joker1 == 3) {
_root.JokerActif = 3;
_root.DayJoker = 7;
_root.Joker.Joker1 = "Hospital activated.";
} else if (_root.Joker1 == 4) {
i = 0;
while (i < (_root.MaxFilles + 1)) {
if (Filles[i].Got == 1) {
Filles[i].Libido = Filles[i].Libido + 15;
}
i++;
}
_root.Joker.Joker1 = "Libido +15% for each girl.";
} else if (_root.Joker1 == 5) {
i = 0;
while (i < (_root.MaxFilles + 1)) {
if (Filles[i].Got == 1) {
}
i++;
}
_root.Joker.Joker1 = "A new abilitie for each girl.";
} else if (_root.Joker1 == 6) {
_root.JokerActif = 6;
_root.DayJoker = 7;
_root.Joker.Joker1 = "Motivation activated.";
} else if (_root.Joker1 == 7) {
_root.JokerActif = 7;
_root.DayJoker = 7;
_root.Joker.Joker1 = "Sexual Learning activated.";
} else if (_root.Joker1 == 8) {
i = 0;
while (i < (_root.MaxFilles + 1)) {
if (Filles[i].Got == 1) {
Filles[i].Constitution = Filles[i].Constitution + 5;
}
i++;
}
_root.Joker.Joker1 = "Constitution +5% for each girl.";
} else if (_root.Joker1 == 9) {
i = 0;
while (i < (_root.MaxFilles + 1)) {
if (Filles[i].Got == 1) {
Filles[i].Health = 100;
}
i++;
}
_root.Joker.Joker1 = "Health max for each girl.";
}
_root.JokerActif = _root.Joker1;
_root.Joker1 = 0;
}
Instance of Symbol 858 MovieClip in Symbol 863 MovieClip Frame 1
on (press) {
if (_root.Joker2 == 0) {
} else if (_root.Joker2 == 1) {
_root.JokerActif = 1;
_root.DayJoker = 7;
_root.Joker.Joker2 = "Excellent Advertising activated.";
} else if (_root.Joker2 == 2) {
_root.JokerActif = 2;
_root.DayJoker = 7;
_root.Joker.Joker2 = "Obedience Activated.";
} else if (_root.Joker2 == 3) {
_root.MarketPass = 1;
_root.Joker.Joker2 = "Obtained Market Pass";
} else if (_root.Joker2 == 4) {
_root.JokerActif = 4;
_root.DayJoker = 7;
_root.Joker.Joker2 = "Haggle Activated.";
} else if (_root.Joker2 == 5) {
_root.JokerActif = 5;
_root.DayJoker = 7;
_root.Joker.Joker2 = "Caffeine Activated.";
} else if (_root.Joker2 == 6) {
i = 0;
while (i < (_root.MaxFilles + 1)) {
if (Filles[i].Got == 1) {
_root.Filles[i].AbilitiePoints = _root.Filles[i].AbilitiePoints + 5;
}
i++;
}
_root.Joker.Joker2 = "Each girl won 5 AP.";
} else if (_root.Joker2 == 7) {
i = 0;
while (i < (_root.MaxFilles + 1)) {
if (Filles[i].Got == 1) {
}
i++;
}
_root.Joker.Joker2 = "Each girl gain a new abilitie.";
} else if (_root.Joker2 == 8) {
_root.JokerActif = 8;
_root.DayJoker = 7;
_root.Joker.Joker2 = "Super XP Activated.";
} else if (_root.Joker2 == 9) {
_root.NbrDay = _root.NbrDay - 7;
} else if (_root.Joker2 == 10) {
i = 0;
while (i < (_root.MaxFilles + 1)) {
if (Filles[i].Got == 1) {
Filles[i].Refinement = Filles[i].Refinement + 10;
}
i++;
}
_root.Joker.Joker2 = "Each girl gain 10% Refinement.";
}
_root.Joker2 = 0;
}
Instance of Symbol 70 MovieClip in Symbol 863 MovieClip Frame 1
on (press) {
_root.Management._visible = true;
_root.Joker._visible = false;
}
Instance of Symbol 860 MovieClip in Symbol 863 MovieClip Frame 1
on (press) {
if (_root.Joker1 == 0) {
} else if (_root.Joker1 == 1) {
_root.Gold = _root.Gold + 100;
_root.Joker.Joker1 = "Gained gold.";
} else if (_root.Joker1 == 2) {
_root.Gold = _root.Gold + 50;
_root.Joker.Joker1 = "Gained gold.";
} else if (_root.Joker1 == 3) {
_root.Gold = _root.Gold + 50;
_root.Joker.Joker1 = "Gained gold.";
} else if (_root.Joker1 == 4) {
_root.Gold = _root.Gold + 50;
_root.Joker.Joker1 = "Gained gold.";
} else if (_root.Joker1 == 5) {
_root.Gold = _root.Gold + 150;
_root.Joker.Joker1 = "Gained gold.";
} else if (_root.Joker1 == 6) {
_root.Gold = _root.Gold + 100;
_root.Joker.Joker1 = "Gained gold.";
} else if (_root.Joker1 == 7) {
_root.Gold = _root.Gold + 100;
_root.Joker.Joker1 = "Gained gold.";
} else if (_root.Joker1 == 8) {
_root.Gold = _root.Gold + 100;
_root.Joker.Joker1 = "Gained gold.";
} else if (_root.Joker1 == 9) {
_root.Gold = _root.Gold + 150;
_root.Joker.Joker1 = "Gained gold.";
}
_root.MenuGold = _root.Gold;
_root.Joker1 = 0;
}
Instance of Symbol 860 MovieClip in Symbol 863 MovieClip Frame 1
on (press) {
if (_root.Joker2 == 0) {
} else if (_root.Joker2 == 1) {
_root.Gold = _root.Gold + 1000;
_root.Joker.Joker2 = "Gained gold.";
} else if (_root.Joker2 == 2) {
_root.Gold = _root.Gold + 500;
_root.Joker.Joker2 = "Gained gold.";
} else if (_root.Joker2 == 3) {
_root.Gold = _root.Gold + 300;
_root.Joker.Joker2 = "Gained gold.";
} else if (_root.Joker2 == 4) {
_root.Gold = _root.Gold + 300;
_root.Joker.Joker2 = "Gained gold.";
} else if (_root.Joker2 == 5) {
_root.Gold = _root.Gold + 300;
_root.Joker.Joker2 = "Gained gold.";
} else if (_root.Joker2 == 6) {
_root.Gold = _root.Gold + 800;
_root.Joker.Joker2 = "Gained gold.";
} else if (_root.Joker2 == 7) {
_root.Gold = _root.Gold + 600;
_root.Joker.Joker2 = "Gained gold.";
} else if (_root.Joker2 == 8) {
_root.Gold = _root.Gold + 500;
_root.Joker.Joker2 = "Gained gold.";
} else if (_root.Joker2 == 9) {
_root.Gold = _root.Gold + 1000;
_root.Joker.Joker2 = "Gained gold.";
} else if (_root.Joker2 == 10) {
_root.Gold = _root.Gold + 800;
_root.Joker.Joker2 = "Gained gold.";
}
_root.MenuGold = _root.Gold;
_root.Joker2 = 0;
}
Instance of Symbol 862 MovieClip in Symbol 863 MovieClip Frame 1
on (press) {
Filles[0].Tri("Num");
i = 0;
if (_root.Joker2 > 0) {
while (i < 5000) {
r = random(8);
if (r == 0) {
if (Filles[10].Got == 6) {
Filles[10].Got = 1;
_root.Joker.Joker2 = "Obtained Yuna";
i = 5001;
}
} else if (r == 1) {
if (Filles[5].Got == 6) {
Filles[5].Got = 1;
_root.Joker.Joker2 = "Obtained Rikku";
i = 5001;
}
} else if (r == 2) {
if (Filles[27].Got == 6) {
Filles[27].Got = 1;
_root.Joker.Joker2 = "Obtained Deedlith";
i = 5001;
}
} else if (r == 3) {
if (Filles[29].Got == 6) {
Filles[29].Got = 1;
_root.Joker.Joker2 = "Obtained Fran";
i = 5001;
}
} else if (r == 4) {
if (Filles[36].Got == 6) {
Filles[36].Got = 1;
_root.Joker.Joker2 = "Obtained Talim";
i = 5001;
}
} else if (r == 5) {
if (Filles[37].Got == 6) {
Filles[37].Got = 1;
_root.Joker.Joker2 = "Obtained Zelda";
i = 5001;
}
} else if (r == 6) {
if (Filles[40].Got == 6) {
Filles[40].Got = 1;
_root.Joker.Joker2 = "Obtained Kushana";
i = 5001;
}
} else if (Filles[41].Got == 6) {
Filles[41].Got = 1;
_root.Joker.Joker2 = "Obtained Nadia";
i = 5001;
}
i++;
}
} else {
_root.Joker.Joker2 = "You don't have a joker.";
}
_root.Joker2 = 0;
}
Instance of Symbol 70 MovieClip in Symbol 922 MovieClip Frame 1
on (press) {
_root.Gestion._visible = false;
_root.Management._visible = true;
}
Instance of Symbol 925 MovieClip "Yukata" in Symbol 970 MovieClip Frame 1
on (press) {
if (_root.ActionEquip == 1) {
VecEquip[0].Reset();
VecEquip[1].Filles[_root.Indice] = 2;
Filles[_root.Indice].Charisma = Filles[_root.Indice].Charisma + 5;
if (Filles[_root.Indice].Charisma > 100) {
Filles[_root.Indice].Charisma = 100;
}
Filles[0].RemoveDress(_root.Indice, Filles[_root.Indice].Dress);
Filles[_root.Indice].Dress = 1;
VecEquip[0].Show(0);
} else if (_root.ActionEquip == 0) {
_root.Dress.Infos = ((VecEquip[1].Comment + "\r Do you want to buy it for ") + VecEquip[1].Price) + " Golds?";
_root.Dress.Yes._visible = true;
_root.Dress.No._visible = true;
_root.AchatEquip = 1;
}
}
on (rollOver) {
_root.Dress.Infos = ((VecEquip[1].Comment + " for ") + VecEquip[1].Price) + " Golds.";
}
Instance of Symbol 927 MovieClip "Kimono" in Symbol 970 MovieClip Frame 1
on (press) {
if (_root.ActionEquip == 1) {
VecEquip[0].Reset();
VecEquip[2].Filles[_root.Indice] = 2;
VecEquip[0].Show(0);
Filles[_root.Indice].Charisma = Filles[_root.Indice].Charisma + 10;
Filles[_root.Indice].Refinement = Filles[_root.Indice].Refinement + 5;
if (Filles[_root.Indice].Charisma > 100) {
Filles[_root.Indice].Charisma = 100;
}
if (Filles[_root.Indice].Refinement > 100) {
Filles[_root.Indice].Refinement = 100;
}
Filles[0].RemoveDress(_root.Indice, Filles[_root.Indice].Dress);
Filles[_root.Indice].Dress = 2;
VecEquip[0].Show(0);
} else if (_root.ActionEquip == 0) {
_root.Dress.Infos = ((VecEquip[2].Comment + "\r Do you want to buy it for ") + VecEquip[2].Price) + " Golds?";
_root.Dress.Yes._visible = true;
_root.Dress.No._visible = true;
_root.AchatEquip = 2;
}
}
on (rollOver) {
_root.Dress.Infos = ((VecEquip[2].Comment + " for ") + VecEquip[2].Price) + " Golds.";
}
Instance of Symbol 929 MovieClip "LKimono" in Symbol 970 MovieClip Frame 1
on (press) {
if (_root.ActionEquip == 1) {
VecEquip[0].Reset();
VecEquip[3].Filles[_root.Indice] = 2;
VecEquip[0].Show(0);
Filles[_root.Indice].Charisma = Filles[_root.Indice].Charisma + 20;
Filles[_root.Indice].Refinement = Filles[_root.Indice].Refinement + 10;
if (Filles[_root.Indice].Charisma > 100) {
Filles[_root.Indice].Charisma = 100;
}
if (Filles[_root.Indice].Refinement > 100) {
Filles[_root.Indice].Refinement = 100;
}
Filles[0].RemoveDress(_root.Indice, Filles[_root.Indice].Dress);
Filles[_root.Indice].Dress = 3;
VecEquip[0].Show(0);
} else if (_root.ActionEquip == 0) {
_root.Dress.Infos = ((VecEquip[3].Comment + "\r Do you want to buy it for ") + VecEquip[3].Price) + " Golds?";
_root.Dress.Yes._visible = true;
_root.Dress.No._visible = true;
_root.AchatEquip = 3;
}
}
on (rollOver) {
_root.Dress.Infos = ((VecEquip[3].Comment + " for ") + VecEquip[3].Price) + " Golds.";
}
Instance of Symbol 931 MovieClip "SexyDress" in Symbol 970 MovieClip Frame 1
on (press) {
if (_root.ActionEquip == 1) {
VecEquip[0].Reset();
VecEquip[4].Filles[_root.Indice] = 2;
VecEquip[0].Show(0);
Filles[_root.Indice].Charisma = Filles[_root.Indice].Charisma + 10;
Filles[_root.Indice].Libido = Filles[_root.Indice].Libido + 5;
Filles[_root.Indice].Fuck = Filles[_root.Indice].Fuck + 5;
Filles[_root.Indice].BJ = Filles[_root.Indice].BJ + 5;
if (Filles[_root.Indice].Charisma > 100) {
Filles[_root.Indice].Charisma = 100;
}
if (Filles[_root.Indice].Libido > 100) {
Filles[_root.Indice].Libido = 100;
}
if (Filles[_root.Indice].Fuck > 100) {
Filles[_root.Indice].Fuck = 100;
}
if (Filles[_root.Indice].BJ > 100) {
Filles[_root.Indice].BJ = 100;
}
Filles[0].RemoveDress(_root.Indice, Filles[_root.Indice].Dress);
Filles[_root.Indice].Dress = 4;
VecEquip[0].Show(0);
} else if (_root.ActionEquip == 0) {
_root.Dress.Infos = ((VecEquip[4].Comment + "\r Do you want to buy it for ") + VecEquip[4].Price) + " Golds?";
_root.Dress.Yes._visible = true;
_root.Dress.No._visible = true;
_root.AchatEquip = 4;
}
}
on (rollOver) {
_root.Dress.Infos = ((VecEquip[4].Comment + " for ") + VecEquip[4].Price) + " Golds.";
}
Instance of Symbol 933 MovieClip "YobidashiDress" in Symbol 970 MovieClip Frame 1
on (press) {
if (_root.ActionEquip == 1) {
VecEquip[0].Reset();
VecEquip[5].Filles[_root.Indice] = 2;
VecEquip[0].Show(0);
Filles[_root.Indice].Refinement = Filles[_root.Indice].Refinement + 25;
if (Filles[_root.Indice].Refinement > 100) {
Filles[_root.Indice].Refinement = 100;
}
Filles[0].RemoveDress(_root.Indice, Filles[_root.Indice].Dress);
Filles[_root.Indice].Dress = 5;
VecEquip[0].Show(0);
} else if (_root.ActionEquip == 0) {
_root.Dress.Infos = ((VecEquip[5].Comment + "\r Do you want to buy it for ") + VecEquip[5].Price) + " Golds?";
_root.Dress.Yes._visible = true;
_root.Dress.No._visible = true;
_root.AchatEquip = 5;
}
}
on (rollOver) {
_root.Dress.Infos = ((VecEquip[5].Comment + " for ") + VecEquip[5].Price) + " Golds.";
}
Instance of Symbol 935 MovieClip "PlainDress" in Symbol 970 MovieClip Frame 1
on (press) {
if (_root.ActionEquip == 1) {
VecEquip[0].Reset();
VecEquip[0].Filles[_root.Indice] = 2;
Filles[0].RemoveDress(_root.Indice, Filles[_root.Indice].Dress);
Filles[_root.Indice].Dress = 0;
VecEquip[0].Show(0);
} else if (_root.ActionEquip == 0) {
_root.Dress.Infos = "comment";
_root.Dress.Yes._visible = true;
_root.Dress.No._visible = false;
_root.AchatEquip = 0;
}
}
on (rollOver) {
_root.Dress.Infos = VecEquip[0].Comment;
}
Instance of Symbol 939 MovieClip "PlainDressM" in Symbol 970 MovieClip Frame 1
on (rollOver) {
_root.Dress.Infos = VecEquip[0].Comment;
}
Instance of Symbol 941 MovieClip "YukataM" in Symbol 970 MovieClip Frame 1
on (press) {
VecEquip[0].Reset();
VecEquip[0].Filles[_root.Indice] = 2;
VecEquip[0].Show(0);
Filles[_root.Indice].Dress = 0;
Filles[_root.Indice].Charisma = Filles[_root.Indice].Charisma - 5;
if (Filles[_root.Indice].Charisma < 0) {
Filles[_root.Indice].Charisma = 0;
}
}
on (rollOver) {
_root.Dress.Infos = VecEquip[1].Comment;
}
Instance of Symbol 943 MovieClip "KimonoM" in Symbol 970 MovieClip Frame 1
on (press) {
VecEquip[0].Reset();
VecEquip[0].Filles[_root.Indice] = 2;
Filles[_root.Indice].Dress = 0;
VecEquip[0].Show(0);
Filles[_root.Indice].Charisma = Filles[_root.Indice].Charisma - 10;
Filles[_root.Indice].Refinement = Filles[_root.Indice].Refinement - 5;
if (Filles[_root.Indice].Charisma < 0) {
Filles[_root.Indice].Charisma = 0;
}
if (Filles[_root.Indice].Refinement < 0) {
Filles[_root.Indice].Refinement = 0;
}
}
on (rollOver) {
_root.Dress.Infos = VecEquip[2].Comment;
}
Instance of Symbol 945 MovieClip "LKimonoM" in Symbol 970 MovieClip Frame 1
on (press) {
VecEquip[0].Reset();
VecEquip[0].Filles[_root.Indice] = 2;
Filles[_root.Indice].Dress = 0;
VecEquip[0].Show(0);
Filles[_root.Indice].Charisma = Filles[_root.Indice].Charisma - 20;
Filles[_root.Indice].Refinement = Filles[_root.Indice].Refinement - 10;
if (Filles[_root.Indice].Charisma < 0) {
Filles[_root.Indice].Charisma = 0;
}
if (Filles[_root.Indice].Refinement < 0) {
Filles[_root.Indice].Refinement = 0;
}
}
on (rollOver) {
_root.Dress.Infos = VecEquip[3].Comment;
}
Instance of Symbol 947 MovieClip "SexyDressM" in Symbol 970 MovieClip Frame 1
on (press) {
VecEquip[0].Reset();
VecEquip[0].Filles[_root.Indice] = 2;
VecEquip[0].Show(0);
Filles[_root.Indice].Charisma = Filles[_root.Indice].Charisma - 10;
Filles[_root.Indice].Libido = Filles[_root.Indice].Libido - 5;
Filles[_root.Indice].Fuck = Filles[_root.Indice].Fuck - 5;
Filles[_root.Indice].BJ = Filles[_root.Indice].BJ - 5;
if (Filles[_root.Indice].Charisma < 0) {
Filles[_root.Indice].Charisma = 0;
}
if (Filles[_root.Indice].Libido < 0) {
Filles[_root.Indice].Libido = 0;
}
if (Filles[_root.Indice].Fuck < 0) {
Filles[_root.Indice].Fuck = 0;
}
if (Filles[_root.Indice].BJ < 0) {
Filles[_root.Indice].BJ = 0;
}
}
on (rollOver) {
_root.Dress.Infos = VecEquip[4].Comment;
}
Instance of Symbol 949 MovieClip "YobidashiDressM" in Symbol 970 MovieClip Frame 1
on (press) {
VecEquip[0].Reset();
VecEquip[0].Filles[_root.Indice] = 2;
VecEquip[0].Show(0);
Filles[_root.Indice].Dress = 0;
Filles[_root.Indice].Refinement = Filles[_root.Indice].Refinement - 25;
if (Filles[_root.Indice].Refinement < 0) {
Filles[_root.Indice].Refinement = 0;
}
}
on (rollOver) {
_root.Dress.Infos = VecEquip[5].Comment;
}
Instance of Symbol 70 MovieClip "X" in Symbol 970 MovieClip Frame 1
on (press) {
_root.Dress._visible = false;
_root.FillesClip._visible = true;
Filles[0].Scores(_root.Indice);
_root.MenuGold = _root.Gold;
}
Instance of Symbol 951 MovieClip "HRing" in Symbol 970 MovieClip Frame 1
on (press) {
if (_root.ActionEquip == 1) {
VecEquip[6].Filles[_root.Indice] = 2;
VecEquip[0].Show(0);
Filles[_root.Indice].Character = Filles[_root.Indice].Character - 10;
Filles[_root.Indice].VisibleCharacter = Filles[_root.Indice].VisibleCharacter - 10;
if (Filles[_root.Indice].Character < 0) {
Filles[_root.Indice].Character = 0;
}
if (Filles[_root.Indice].VisibleCharacter < 0) {
Filles[_root.Indice].VisibleCharacter = 0;
}
} else if (_root.ActionEquip == 0) {
_root.Dress.Infos = ((VecEquip[6].Comment + "\r Do you want to buy it for ") + VecEquip[6].Price) + " Golds?";
_root.Dress.Yes._visible = true;
_root.Dress.No._visible = true;
_root.AchatEquip = 6;
}
}
on (rollOver) {
_root.Dress.Infos = ((VecEquip[6].Comment + " for ") + VecEquip[6].Price) + " Golds.";
}
Instance of Symbol 952 MovieClip "HRingM" in Symbol 970 MovieClip Frame 1
on (press) {
VecEquip[6].Filles[_root.Indice] = 1;
VecEquip[0].Show(0);
Filles[_root.Indice].Character = Filles[_root.Indice].Character + 10;
Filles[_root.Indice].VisibleCharacter = Filles[_root.Indice].VisibleCharacter + 10;
if (Filles[_root.Indice].Character > 100) {
Filles[_root.Indice].Character = 100;
}
if (Filles[_root.Indice].VisibleCharacter > 100) {
Filles[_root.Indice].VisibleCharacter = 100;
}
}
on (rollOver) {
_root.Dress.Infos = VecEquip[6].Comment;
}
Instance of Symbol 956 MovieClip "Perfume" in Symbol 970 MovieClip Frame 1
on (press) {
if (_root.ActionEquip == 1) {
VecEquip[7].Filles[_root.Indice] = 2;
VecEquip[0].Show(0);
Filles[_root.Indice].Charisma = Filles[_root.Indice].Charisma + 5;
if (Filles[_root.Indice].Charisma > 100) {
Filles[_root.Indice].Charisma = 100;
}
} else if (_root.ActionEquip == 0) {
_root.Dress.Infos = ((VecEquip[7].Comment + "\r Do you want to buy it for ") + VecEquip[7].Price) + " Golds?";
_root.Dress.Yes._visible = true;
_root.Dress.No._visible = true;
_root.AchatEquip = 7;
}
}
on (rollOver) {
_root.Dress.Infos = ((VecEquip[7].Comment + " for ") + VecEquip[7].Price) + " Golds.";
}
Instance of Symbol 957 MovieClip "PerfumeM" in Symbol 970 MovieClip Frame 1
on (press) {
VecEquip[7].Filles[_root.Indice] = 1;
VecEquip[0].Show(0);
Filles[_root.Indice].Charisma = Filles[_root.Indice].Charisma - 5;
if (Filles[_root.Indice].Charisma < 0) {
Filles[_root.Indice].Charisma = 0;
}
}
on (rollOver) {
_root.Dress.Infos = VecEquip[7].Comment;
}
Instance of Symbol 959 MovieClip "Drugs" in Symbol 970 MovieClip Frame 1
on (press) {
if (_root.ActionEquip == 1) {
VecEquip[8].Filles[_root.Indice] = 2;
VecEquip[0].Show(0);
Filles[_root.Indice].Character = Filles[_root.Indice].Character - 30;
Filles[_root.Indice].VisibleCharacter = Filles[_root.Indice].VisibleCharacter - 30;
if (Filles[_root.Indice].Character < 0) {
Filles[_root.Indice].Character = 0;
}
if (Filles[_root.Indice].VisibleCharacter < 0) {
Filles[_root.Indice].VisibleCharacter = 0;
}
Filles[_root.Indice].Constitution = Filles[_root.Indice].Constitution - 15;
if (Filles[_root.Indice].Constitution < 0) {
Filles[_root.Indice].Constitution = 0;
}
Filles[_root.Indice].Charisma = Filles[_root.Indice].Charisma - 5;
if (Filles[_root.Indice].Charisma < 0) {
Filles[_root.Indice].Charisma = 0;
}
Filles[_root.Indice].Joy = Filles[_root.Indice].Joy - 10;
if (Filles[_root.Indice].Joy < 0) {
Filles[_root.Indice].Joy = 0;
}
Filles[_root.Indice].Health = Filles[_root.Indice].Health - 20;
if (Filles[_root.Indice].Health < 0) {
Filles[_root.Indice].Health = 0;
}
} else if (_root.ActionEquip == 0) {
_root.Dress.Infos = ((VecEquip[8].Comment + "\r Do you want to buy it for ") + VecEquip[8].Price) + " Golds?";
_root.Dress.Yes._visible = true;
_root.Dress.No._visible = true;
_root.AchatEquip = 8;
}
}
on (rollOver) {
_root.Dress.Infos = ((VecEquip[8].Comment + " for ") + VecEquip[8].Price) + " Golds.";
}
Instance of Symbol 960 MovieClip "DrugsM" in Symbol 970 MovieClip Frame 1
on (press) {
_root.Dress.Infos = "This girl can't stop drugs.";
}
Instance of Symbol 962 MovieClip "Aphrodisiac" in Symbol 970 MovieClip Frame 1
on (press) {
if (_root.ActionEquip == 1) {
VecEquip[9].Filles[_root.Indice] = 2;
VecEquip[0].Show(0);
if ((Filles[_root.Indice].Num != 32) or ((Filles[_root.Indice].Num == 32) and (Filles[_root.Indice].VisibleCharacter <= 20))) {
Filles[_root.Indice].Libido = Filles[_root.Indice].Libido + 15;
}
if (Filles[_root.Indice].Libido > 100) {
Filles[_root.Indice].Libido = 100;
}
} else if (_root.ActionEquip == 0) {
_root.Dress.Infos = ((VecEquip[9].Comment + "\r Do you want to buy it for ") + VecEquip[9].Price) + " Golds?";
_root.Dress.Yes._visible = true;
_root.Dress.No._visible = true;
_root.AchatEquip = 9;
}
}
on (rollOver) {
_root.Dress.Infos = ((VecEquip[9].Comment + " for ") + VecEquip[9].Price) + " Golds.";
}
Instance of Symbol 963 MovieClip "AphrodisiacM" in Symbol 970 MovieClip Frame 1
on (press) {
VecEquip[9].Filles[_root.Indice] = 1;
VecEquip[0].Show(0);
Filles[_root.Indice].Libido = Filles[_root.Indice].Libido - 15;
if (Filles[_root.Indice].Libido < 0) {
Filles[_root.Indice].Libido = 0;
}
}
on (rollOver) {
_root.Dress.Infos = VecEquip[9].Comment;
}
Instance of Symbol 965 MovieClip "Mirror" in Symbol 970 MovieClip Frame 1
on (press) {
if (_root.ActionEquip == 1) {
VecEquip[10].Filles[_root.Indice] = 2;
VecEquip[0].Show(0);
Filles[_root.Indice].Charisma = Filles[_root.Indice].Charisma + 5;
Filles[_root.Indice].Refinement = Filles[_root.Indice].Refinement + 5;
if (Filles[_root.Indice].Charisma > 100) {
Filles[_root.Indice].Charisma = 100;
}
if (Filles[_root.Indice].Refinement > 100) {
Filles[_root.Indice].Refinement = 100;
}
} else if (_root.ActionEquip == 0) {
_root.Dress.Infos = ((VecEquip[10].Comment + "\r Do you want to buy it for ") + VecEquip[10].Price) + " Golds?";
_root.Dress.Yes._visible = true;
_root.Dress.No._visible = true;
_root.AchatEquip = 10;
}
}
on (rollOver) {
_root.Dress.Infos = ((VecEquip[10].Comment + " for ") + VecEquip[10].Price) + " Golds.";
}
Instance of Symbol 966 MovieClip "MirrorM" in Symbol 970 MovieClip Frame 1
on (press) {
VecEquip[10].Filles[_root.Indice] = 1;
VecEquip[0].Show(0);
Filles[_root.Indice].Charisma = Filles[_root.Indice].Charisma - 5;
Filles[_root.Indice].Refinement = Filles[_root.Indice].Refinement - 5;
if (Filles[_root.Indice].Charisma < 0) {
Filles[_root.Indice].Charisma = 0;
}
if (Filles[_root.Indice].Refinement < 0) {
Filles[_root.Indice].Refinement = 0;
}
}
on (rollOver) {
_root.Dress.Infos = VecEquip[10].Comment;
}
Instance of Symbol 968 MovieClip "Hairpin" in Symbol 970 MovieClip Frame 1
on (press) {
if (_root.ActionEquip == 1) {
VecEquip[11].Filles[_root.Indice] = 2;
VecEquip[0].Show(0);
Filles[_root.Indice].Refinement = Filles[_root.Indice].Refinement + 5;
if (Filles[_root.Indice].Refinement > 100) {
Filles[_root.Indice].Refinement = 100;
}
} else if (_root.ActionEquip == 0) {
_root.Dress.Infos = ((VecEquip[11].Comment + "\r Do you want to buy it for ") + VecEquip[11].Price) + " Golds?";
_root.Dress.Yes._visible = true;
_root.Dress.No._visible = true;
_root.AchatEquip = 11;
}
}
on (rollOver) {
_root.Dress.Infos = ((VecEquip[11].Comment + " for ") + VecEquip[11].Price) + " Golds.";
}
Instance of Symbol 969 MovieClip "HairpinM" in Symbol 970 MovieClip Frame 1
on (press) {
VecEquip[11].Filles[_root.Indice] = 1;
VecEquip[0].Show(0);
Filles[_root.Indice].Refinement = Filles[_root.Indice].Refinement - 5;
if (Filles[_root.Indice].Refinement < 0) {
Filles[_root.Indice].Refinement = 0;
}
}
on (rollOver) {
_root.Dress.Infos = VecEquip[11].Comment;
}
Instance of Symbol 30 MovieClip "Yes" in Symbol 970 MovieClip Frame 1
on (press) {
if (_root.ActionEquip == 0) {
if (_root.Gold >= VecEquip[_root.AchatEquip].Price) {
VecEquip[_root.AchatEquip].Filles[_root.Indice] = 1;
_root.Gold = _root.Gold - VecEquip[_root.AchatEquip].Price;
_root.MenuGold = _root.Gold;
_root.Dress.Yes._visible = false;
_root.Dress.No._visible = false;
_root.Dress.Infos = ("You bought " + VecEquip[_root.AchatEquip].Name) + ".";
VecEquip[_root.AchatEquip].Show(1);
} else {
_root.Dress.Infos = "You don't have enough golds.";
_root.Dress.Yes._visible = false;
_root.Dress.No._visible = false;
}
}
}
Instance of Symbol 70 MovieClip "X" in Symbol 994 MovieClip Frame 1
on (press) {
if (((_root.ActionBuilding == 0) or (_root.ActionBuilding == 1)) or (_root.ActionBuilding == 3)) {
_root.BuildingsClip._visible = false;
_root.Menu._visible = true;
_root.MenuGold = _root.Gold;
} else if (_root.ActionBuilding == 2) {
_root.BuildingsClip._visible = false;
_root.FillesClip._visible = true;
_root.MenuGold = _root.Gold;
}
_root.Comment = "";
}
Instance of Symbol 974 MovieClip "Shack" in Symbol 994 MovieClip Frame 1
on (press) {
VecBuildings[0].Action(_root.ActionBuilding, 0);
}
on (rollOver) {
_root.BuildingsClip.Infos = ("This building has " + VecBuildings[0].FreeRoom) + " free rooms";
i = 0;
n = 0;
text = "";
while (i < (_root.MaxFilles + 1)) {
if ((Filles[i].Got == 1) and (Filles[i].Libre == 1)) {
text = text + (Filles[i].Name + " ");
n = 1;
}
i++;
}
if (n == 1) {
_root.BuildingsClip.Infos = _root.BuildingsClip.Infos + ("\rThe girls working here are: " + text);
}
if (VecBuildings[0].Fire > 0) {
_root.BuildingsClip.Infos = _root.BuildingsClip.Infos + (("\rThis building is in repair for " + VecBuildings[0].Fire) + " days.");
}
}
on (rollOut) {
_root.BuildingsClip.Infos = _root.Comment;
}
Instance of Symbol 976 MovieClip "SmallHouse" in Symbol 994 MovieClip Frame 1
on (press) {
VecBuildings[0].Action(_root.ActionBuilding, 1);
}
on (rollOver) {
_root.BuildingsClip.Infos = ("This building has " + VecBuildings[1].FreeRoom) + " free rooms";
i = 0;
n = 0;
text = "";
while (i < (_root.MaxFilles + 1)) {
if ((Filles[i].Got == 1) and (Filles[i].Libre == 2)) {
text = text + (Filles[i].Name + " ");
n = 1;
}
i++;
}
if (n == 1) {
_root.BuildingsClip.Infos = _root.BuildingsClip.Infos + ("\rThe girls working here are: " + text);
}
if (VecBuildings[1].Fire > 0) {
_root.BuildingsClip.Infos = _root.BuildingsClip.Infos + (("\rThis building is in repair for " + VecBuildings[1].Fire) + " days.");
}
}
on (rollOut) {
_root.BuildingsClip.Infos = _root.Comment;
}
Instance of Symbol 978 MovieClip "House" in Symbol 994 MovieClip Frame 1
on (press) {
VecBuildings[0].Action(_root.ActionBuilding, 2);
}
on (rollOver) {
_root.BuildingsClip.Infos = ("This building has " + VecBuildings[2].FreeRoom) + " free rooms";
i = 0;
n = 0;
text = "";
while (i < (_root.MaxFilles + 1)) {
if ((Filles[i].Got == 1) and (Filles[i].Libre == 3)) {
text = text + (Filles[i].Name + " ");
n = 1;
}
i++;
}
if (n == 1) {
_root.BuildingsClip.Infos = _root.BuildingsClip.Infos + ("\rThe girls working here are: " + text);
}
if (VecBuildings[2].Fire > 0) {
_root.BuildingsClip.Infos = _root.BuildingsClip.Infos + (("\rThis building is in repair for " + VecBuildings[2].Fire) + " days.");
}
}
on (rollOut) {
_root.BuildingsClip.Infos = _root.Comment;
}
Instance of Symbol 980 MovieClip "CentralHouse" in Symbol 994 MovieClip Frame 1
on (press) {
VecBuildings[0].Action(_root.ActionBuilding, 3);
}
on (rollOver) {
_root.BuildingsClip.Infos = ("This building has " + VecBuildings[3].FreeRoom) + " free rooms";
i = 0;
n = 0;
text = "";
while (i < (_root.MaxFilles + 1)) {
if ((Filles[i].Got == 1) and (Filles[i].Libre == 4)) {
text = text + (Filles[i].Name + " ");
n = 1;
}
i++;
}
if (n == 1) {
_root.BuildingsClip.Infos = _root.BuildingsClip.Infos + ("\rThe girls working here are: " + text);
}
if (VecBuildings[3].Fire > 0) {
_root.BuildingsClip.Infos = _root.BuildingsClip.Infos + (("\rThis building is in repair for " + VecBuildings[3].Fire) + " days.");
}
}
on (rollOut) {
_root.BuildingsClip.Infos = _root.Comment;
}
Instance of Symbol 982 MovieClip "BigHouse" in Symbol 994 MovieClip Frame 1
on (press) {
VecBuildings[0].Action(_root.ActionBuilding, 4);
}
on (rollOver) {
_root.BuildingsClip.Infos = ("This building has " + VecBuildings[4].FreeRoom) + " free rooms";
i = 0;
n = 0;
text = "";
while (i < (_root.MaxFilles + 1)) {
if ((Filles[i].Got == 1) and (Filles[i].Libre == 5)) {
text = text + (Filles[i].Name + " ");
n = 1;
}
i++;
}
if (n == 1) {
_root.BuildingsClip.Infos = _root.BuildingsClip.Infos + ("\rThe girls working here are: " + text);
}
if (VecBuildings[4].Fire > 0) {
_root.BuildingsClip.Infos = _root.BuildingsClip.Infos + (("\rThis building is in repair for " + VecBuildings[4].Fire) + " days.");
}
}
on (rollOut) {
_root.BuildingsClip.Infos = _root.Comment;
}
Instance of Symbol 984 MovieClip "Palace" in Symbol 994 MovieClip Frame 1
on (press) {
VecBuildings[0].Action(_root.ActionBuilding, 5);
}
on (rollOver) {
_root.BuildingsClip.Infos = ("This building has " + VecBuildings[5].FreeRoom) + " free rooms";
i = 0;
n = 0;
text = "";
while (i < (_root.MaxFilles + 1)) {
if ((Filles[i].Got == 1) and (Filles[i].Libre == 6)) {
text = text + (Filles[i].Name + " ");
n = 1;
}
i++;
}
if (n == 1) {
_root.BuildingsClip.Infos = _root.BuildingsClip.Infos + ("\rThe girls working here are: " + text);
}
if (VecBuildings[5].Fire > 0) {
_root.BuildingsClip.Infos = _root.BuildingsClip.Infos + (("\rThis building is in repair for " + VecBuildings[5].Fire) + " days.");
}
}
on (rollOut) {
_root.BuildingsClip.Infos = _root.Comment;
}
Instance of Symbol 986 MovieClip "CentralPalace" in Symbol 994 MovieClip Frame 1
on (press) {
VecBuildings[0].Action(_root.ActionBuilding, 6);
}
on (rollOver) {
_root.BuildingsClip.Infos = ("This building has " + VecBuildings[6].FreeRoom) + " free rooms";
i = 0;
n = 0;
text = "";
while (i < (_root.MaxFilles + 1)) {
if ((Filles[i].Got == 1) and (Filles[i].Libre == 7)) {
text = text + (Filles[i].Name + " ");
n = 1;
}
i++;
}
if (n == 1) {
_root.BuildingsClip.Infos = _root.BuildingsClip.Infos + ("\rThe girls working here are: " + text);
}
if (VecBuildings[6].Fire > 0) {
_root.BuildingsClip.Infos = _root.BuildingsClip.Infos + (("\rThis building is in repair for " + VecBuildings[6].Fire) + " days.");
}
}
on (rollOut) {
_root.BuildingsClip.Infos = _root.Comment;
}
Instance of Symbol 30 MovieClip "Yes" in Symbol 994 MovieClip Frame 1
on (press) {
if (_root.ActionBuilding == 0) {
if (_root.Gold >= VecBuildings[_root.AchatBuilding].Price) {
VecBuildings[_root.AchatBuilding].Got = 1;
_root.Gold = _root.Gold - VecBuildings[_root.AchatBuilding].Price;
_root.MenuGold = _root.Gold;
_root.BuildingsClip.Yes._visible = false;
_root.BuildingsClip.No._visible = false;
_root.BuildingsClip.Infos = ("You bought " + VecBuildings[_root.AchatBuilding].Name) + ".";
VecBuildings[_root.AchatBuilding].Show(0);
} else {
_root.BuildingsClip.Infos = "You don't have enough golds.";
_root.BuildingsClip.Yes._visible = false;
_root.BuildingsClip.No._visible = false;
}
}
}
Instance of Symbol 989 MovieClip "NoWork" in Symbol 994 MovieClip Frame 1
on (press) {
Filles[_root.Indice].Libre = -1;
Filles[0].Scores(_root.Indice);
_root.FillesClip.FillesNotes = _root.Comment;
_root.FillesClip._visible = true;
_root.BuildingsClip._visible = false;
_root.BuildingsClip.NoWork._visible = false;
}
Instance of Symbol 991 MovieClip "School" in Symbol 994 MovieClip Frame 1
on (press) {
_root.BuildingsClip._visible = false;
_root.School._visible = true;
}
Instance of Symbol 993 MovieClip "Ceremony" in Symbol 994 MovieClip Frame 1
on (press) {
Filles[_root.Indice].Libre = -7;
Filles[0].Scores(_root.Indice);
_root.FillesClip.FillesNotes = _root.Comment;
_root.FillesClip._visible = true;
_root.BuildingsClip._visible = false;
_root.BuildingsClip.NoWork._visible = false;
}
on (rollOver) {
_root.BuildingsClip.Infos = ("You will send this girl in a ceremony inside the 'floating world'. This should be good for her reputation, refinement and joy. This will cost you " + (Filles[_root.Indice].Rank * 40)) + " Golds.";
}
on (rollOut) {
_root.BuildingsClip.Infos = _root.Comment;
}
Instance of Symbol 70 MovieClip "X" in Symbol 1006 MovieClip Frame 1
on (press) {
_root.School._visible = false;
_root.BuildingsClip._visible = true;
}
Instance of Symbol 998 MovieClip in Symbol 1006 MovieClip Frame 1
on (press) {
Filles[_root.Indice].Libre = -3;
Filles[0].Scores(_root.Indice);
_root.FillesClip.FillesNotes = _root.Comment;
_root.FillesClip._visible = true;
_root.School._visible = false;
_root.BuildingsClip._visible = false;
_root.BuildingsClip.NoWork._visible = false;
_root.BuildingsClip.School._visible = false;
}
on (rollOver) {
_root.School.Infos = ("You will send this girl to a poetry class. This will cost " + (Filles[_root.Indice].Rank * 20)) + " Golds.";
}
Instance of Symbol 1000 MovieClip in Symbol 1006 MovieClip Frame 1
on (press) {
Filles[_root.Indice].Libre = -4;
Filles[0].Scores(_root.Indice);
_root.FillesClip.FillesNotes = _root.Comment;
_root.FillesClip._visible = true;
_root.School._visible = false;
_root.BuildingsClip._visible = false;
_root.BuildingsClip.NoWork._visible = false;
_root.BuildingsClip.School._visible = false;
}
on (rollOver) {
_root.School.Infos = ("You will send this girl to a dance class. This will cost " + (Filles[_root.Indice].Rank * 20)) + " Golds.";
}
Instance of Symbol 1002 MovieClip in Symbol 1006 MovieClip Frame 1
on (press) {
Filles[_root.Indice].Libre = -5;
Filles[0].Scores(_root.Indice);
_root.FillesClip.FillesNotes = _root.Comment;
_root.FillesClip._visible = true;
_root.School._visible = false;
_root.BuildingsClip._visible = false;
_root.BuildingsClip.NoWork._visible = false;
_root.BuildingsClip.School._visible = false;
}
on (rollOver) {
_root.School.Infos = ("You will send this girl to a sexual class. This will cost " + (Filles[_root.Indice].Rank * 20)) + " Golds.";
}
Instance of Symbol 1005 MovieClip in Symbol 1006 MovieClip Frame 1
on (press) {
Filles[_root.Indice].Libre = -6;
Filles[0].Scores(_root.Indice);
_root.FillesClip.FillesNotes = _root.Comment;
_root.FillesClip._visible = true;
_root.School._visible = false;
_root.BuildingsClip._visible = false;
_root.BuildingsClip.NoWork._visible = false;
_root.BuildingsClip.School._visible = false;
}
on (rollOver) {
_root.School.Infos = ("You will send this girl to a bondage class. This will cost " + (Filles[_root.Indice].Rank * 20)) + " Golds.";
}
Instance of Symbol 30 MovieClip "Yes" in Symbol 1027 MovieClip Frame 1
on (press) {
Prix = 0;
Quantity = 0;
if (_root.AchatAdvert == 1) {
Prix = 2;
Quantity = 5;
Name = "the help of some guy";
} else if (_root.AchatAdvert == 2) {
Prix = 5;
Quantity = 10;
Name = "the help of some girl";
} else if (_root.AchatAdvert == 3) {
Prix = 20;
Quantity = 10;
Name = "an advertising in front of your building";
} else if (_root.AchatAdvert == 4) {
Prix = 50;
Quantity = 15;
Name = "a pack of handouts and some people to give them";
} else if (_root.AchatAdvert == 5) {
Prix = 100;
Quantity = 20;
Name = "an advertising at the entrance of the town";
} else if (_root.AchatAdvert == 6) {
Prix = 200;
Quantity = 30;
Name = "the name of a celebrity that will help you advertise your building";
}
if (_root.ActionBuilding == 3) {
if (_root.Gold >= Prix) {
_root.PrixAdvert = _root.PrixAdvert + Prix;
VecBuildings[_root.AchatBuilding].Advert = VecBuildings[_root.AchatBuilding].Advert + Quantity;
if (_root.AchatAdvert == 1) {
VecBuildings[_root.AchatBuilding].Advert1 = 1;
} else if (_root.AchatAdvert == 2) {
VecBuildings[_root.AchatBuilding].Advert2 = 1;
} else if (_root.AchatAdvert == 3) {
VecBuildings[_root.AchatBuilding].Advert3 = 1;
} else if (_root.AchatAdvert == 4) {
VecBuildings[_root.AchatBuilding].Advert4 = 1;
} else if (_root.AchatAdvert == 5) {
VecBuildings[_root.AchatBuilding].Advert5 = 1;
} else if (_root.AchatAdvert == 6) {
VecBuildings[_root.AchatBuilding].Advert6 = 1;
}
_root.Advert.Yes._visible = false;
_root.Advert.No._visible = false;
_root.Advert.Infos = ("You bought " + Name) + ".";
} else {
_root.Advert.Infos = "You don't have enough golds for the first day.";
_root.Advert.Yes._visible = false;
_root.Advert.No._visible = false;
}
} else if (_root.ActionBuilding == -1) {
_root.PrixAdvert = _root.PrixAdvert - Prix;
if (_root.AchatAdvert == 1) {
VecBuildings[_root.AchatBuilding].Advert1 = 0;
} else if (_root.AchatAdvert == 2) {
VecBuildings[_root.AchatBuilding].Advert2 = 0;
} else if (_root.AchatAdvert == 3) {
VecBuildings[_root.AchatBuilding].Advert3 = 0;
} else if (_root.AchatAdvert == 4) {
VecBuildings[_root.AchatBuilding].Advert4 = 0;
} else if (_root.AchatAdvert == 5) {
VecBuildings[_root.AchatBuilding].Advert5 = 0;
} else if (_root.AchatAdvert == 6) {
VecBuildings[_root.AchatBuilding].Advert6 = 0;
}
VecBuildings[_root.AchatBuilding].Advert = VecBuildings[_root.AchatBuilding].Advert - Quantity;
if (VecBuildings[_root.AchatBuilding].Advert < 0) {
VecBuildings[_root.AchatBuilding].Advert = 0;
}
}
if (VecBuildings[_root.AchatBuilding].Advert1 == 0) {
_root.Advert.RabatteurM._visible = false;
_root.Advert.Rabatteur._visible = true;
} else {
_root.Advert.RabatteurM._visible = true;
_root.Advert.Rabatteur._visible = false;
}
if (VecBuildings[_root.AchatBuilding].Advert2 == 0) {
_root.Advert.RabatteuseM._visible = false;
_root.Advert.Rabatteuse._visible = true;
} else {
_root.Advert.RabatteuseM._visible = true;
_root.Advert.Rabatteuse._visible = false;
}
if (VecBuildings[_root.AchatBuilding].Advert3 == 0) {
_root.Advert.PanneauM._visible = false;
_root.Advert.Panneau._visible = true;
} else {
_root.Advert.PanneauM._visible = true;
_root.Advert.Panneau._visible = false;
}
if (VecBuildings[_root.AchatBuilding].Advert4 == 0) {
_root.Advert.FlyersM._visible = false;
_root.Advert.Flyers._visible = true;
} else {
_root.Advert.FlyersM._visible = true;
_root.Advert.Flyers._visible = false;
}
if (VecBuildings[_root.AchatBuilding].Advert5 == 0) {
_root.Advert.Panneau2M._visible = false;
_root.Advert.Panneau2._visible = true;
} else {
_root.Advert.Panneau2M._visible = true;
_root.Advert.Panneau2._visible = false;
}
if (VecBuildings[_root.AchatBuilding].Advert6 == 0) {
_root.Advert.CelebrityM._visible = false;
_root.Advert.Celebrity._visible = true;
} else {
_root.Advert.CelebrityM._visible = true;
_root.Advert.Celebrity._visible = false;
}
_root.Advert.Yes._visible = false;
_root.Advert.No._visible = false;
}
Instance of Symbol 28 MovieClip "No" in Symbol 1027 MovieClip Frame 1
on (press) {
_root.Advert.Yes._visible = false;
_root.Advert.No._visible = false;
}
Instance of Symbol 1009 MovieClip "Rabatteur" in Symbol 1027 MovieClip Frame 1
on (press) {
_root.Advert.Yes._visible = true;
_root.Advert.No._visible = true;
_root.AchatAdvert = 1;
_root.ActionBuilding = 3;
_root.Advert.Infos = "Hire someone to call people and attract them in your building. Cost 2 Golds each day.";
}
Instance of Symbol 1011 MovieClip "Rabatteuse" in Symbol 1027 MovieClip Frame 1
on (press) {
_root.Advert.Yes._visible = true;
_root.Advert.No._visible = true;
_root.AchatAdvert = 2;
_root.ActionBuilding = 3;
_root.Advert.Infos = "Hire a girl to call people and attract them in your building. Cost 5 Golds each day.";
}
Instance of Symbol 1013 MovieClip "Panneau" in Symbol 1027 MovieClip Frame 1
on (press) {
_root.Advert.Yes._visible = true;
_root.Advert.No._visible = true;
_root.AchatAdvert = 3;
_root.ActionBuilding = 3;
_root.Advert.Infos = "Put a big pannel in front of the building so people can see it from afar. Cost 10 Golds each day.";
}
Instance of Symbol 1015 MovieClip "Flyers" in Symbol 1027 MovieClip Frame 1
on (press) {
_root.Advert.Yes._visible = true;
_root.Advert.No._visible = true;
_root.AchatAdvert = 4;
_root.ActionBuilding = 3;
_root.Advert.Infos = "Print advertising handouts and hire some people to give them in town. Cost 50 Golds each day.";
}
Instance of Symbol 1017 MovieClip "Panneau2" in Symbol 1027 MovieClip Frame 1
on (press) {
_root.Advert.Yes._visible = true;
_root.Advert.No._visible = true;
_root.AchatAdvert = 5;
_root.ActionBuilding = 3;
_root.Advert.Infos = "Put a big advertising at the entrance of the town so everyone who come in can see it. Cost 100 Golds each day.";
}
Instance of Symbol 1019 MovieClip "Celebrity" in Symbol 1027 MovieClip Frame 1
on (press) {
_root.Advert.Yes._visible = true;
_root.Advert.No._visible = true;
_root.AchatAdvert = 6;
_root.ActionBuilding = 3;
_root.Advert.Infos = "Hire a celebrity come in your building and give it his/her support. Cost 200 Golds each day.";
}
Instance of Symbol 70 MovieClip "X" in Symbol 1027 MovieClip Frame 1
on (press) {
_root.Advert._visible = false;
_root.BuildingsClip._visible = true;
_root.MenuGold = _root.Gold;
_root.ActionBuilding = 3;
}
Instance of Symbol 1021 MovieClip "RabatteurM" in Symbol 1027 MovieClip Frame 1
on (press) {
_root.Advert.Yes._visible = true;
_root.Advert.No._visible = true;
_root.AchatAdvert = 1;
_root.ActionBuilding = -1;
_root.Advert.Infos = "Do you want to remove this advertising?";
}
Instance of Symbol 1022 MovieClip "RabatteuseM" in Symbol 1027 MovieClip Frame 1
on (press) {
_root.Advert.Yes._visible = true;
_root.Advert.No._visible = true;
_root.AchatAdvert = 2;
_root.ActionBuilding = -1;
_root.Advert.Infos = "Do you want to remove this advertising?";
}
Instance of Symbol 1023 MovieClip "PanneauM" in Symbol 1027 MovieClip Frame 1
on (press) {
_root.Advert.Yes._visible = true;
_root.Advert.No._visible = true;
_root.AchatAdvert = 3;
_root.ActionBuilding = -1;
_root.Advert.Infos = "Do you want to remove this advertising?";
}
Instance of Symbol 1024 MovieClip "FlyersM" in Symbol 1027 MovieClip Frame 1
on (press) {
_root.Advert.Yes._visible = true;
_root.Advert.No._visible = true;
_root.AchatAdvert = 4;
_root.ActionBuilding = -1;
_root.Advert.Infos = "Do you want to remove this advertising?";
}
Instance of Symbol 1025 MovieClip "Panneau2M" in Symbol 1027 MovieClip Frame 1
on (press) {
_root.Advert.Yes._visible = true;
_root.Advert.No._visible = true;
_root.AchatAdvert = 5;
_root.ActionBuilding = -1;
_root.Advert.Infos = "Do you want to remove this advertising?";
}
Instance of Symbol 1026 MovieClip "CelebrityM" in Symbol 1027 MovieClip Frame 1
on (press) {
_root.Advert.Yes._visible = true;
_root.Advert.No._visible = true;
_root.AchatAdvert = 6;
_root.ActionBuilding = -1;
_root.Advert.Infos = "Do you want to remove this advertising?";
}
Instance of Symbol 1029 MovieClip "Bar" in Symbol 1041 MovieClip Frame 1
on (press) {
_root.Upgrade.Yes._visible = true;
_root.Upgrade.No._visible = true;
_root.AchatUpgrade = 0;
_root.ActionBuilding = 1;
_root.Upgrade.Infos = "With a bar, the customers and the girls will feel more at ease. The girls will be more obedient. Cost 100 Golds.";
}
Instance of Symbol 30 MovieClip "Yes" in Symbol 1041 MovieClip Frame 1
on (press) {
Prix = 0;
decoration = 0;
if (_root.AchatUpgrade == 0) {
Prix = 100;
decoration = 5;
Name = "a bar";
} else if (_root.AchatUpgrade == 1) {
Prix = 500;
decoration = 10;
Name = "strip-tease room";
} else if (_root.AchatUpgrade == 2) {
Prix = 1000;
decoration = 20;
Name = "a garden";
} else if (_root.AchatUpgrade == 3) {
Prix = 2000;
decoration = 10;
Name = "a money games room";
} else if (_root.AchatUpgrade == 4) {
Prix = 3000;
decoration = 15;
Name = "an opium room";
} else if (_root.AchatUpgrade == 5) {
Prix = VecBuildings[_root.AchatBuilding].Price;
Name = "a new room";
}
if (_root.ActionBuilding == 1) {
if (_root.Gold >= Prix) {
if (_root.AchatUpgrade < 5) {
VecBuildings[_root.AchatBuilding].Upgrade[_root.AchatUpgrade] = 1;
VecBuildings[_root.AchatBuilding].Deco = VecBuildings[_root.AchatBuilding].Deco + decoration;
} else if (_root.AchatUpgrade == 5) {
VecBuildings[_root.AchatBuilding].Room++;
VecBuildings[_root.AchatBuilding].FreeRoom++;
}
_root.Upgrade.Yes._visible = false;
_root.Upgrade.No._visible = false;
_root.Gold = _root.Gold - Prix;
_root.MenuGold = _root.Gold;
_root.Upgrade.Infos = ("You bought " + Name) + ".";
} else {
_root.Upgrade.Infos = "You don't have enough golds for the first day.";
_root.Upgrade.Yes._visible = false;
_root.Upgrade.No._visible = false;
}
}
if (VecBuildings[_root.AchatBuilding].Upgrade[0] == 0) {
_root.Upgrade.Bar._visible = true;
} else {
_root.Upgrade.Bar._visible = false;
}
if (VecBuildings[_root.AchatBuilding].Upgrade[1] == 0) {
_root.Upgrade.Strip._visible = true;
} else {
_root.Upgrade.Strip._visible = false;
}
if (VecBuildings[_root.AchatBuilding].Upgrade[2] == 0) {
_root.Upgrade.Garden._visible = true;
} else {
_root.Upgrade.Garden._visible = false;
}
if (VecBuildings[_root.AchatBuilding].Upgrade[3] == 0) {
_root.Upgrade.Games._visible = true;
} else {
_root.Upgrade.Games._visible = false;
}
if (VecBuildings[_root.AchatBuilding].Upgrade[4] == 0) {
_root.Upgrade.Opium._visible = true;
} else {
_root.Upgrade.Opium._visible = false;
}
if (VecBuildings[_root.AchatBuilding].Upgrade[5] == 0) {
_root.Upgrade.Celebrity._visible = true;
} else {
_root.Upgrade.Celebrity._visible = false;
}
_root.Upgrade.Yes._visible = false;
_root.Upgrade.No._visible = false;
}
Instance of Symbol 28 MovieClip "No" in Symbol 1041 MovieClip Frame 1
on (press) {
_root.Upgrade.Yes._visible = false;
_root.Upgrade.No._visible = false;
}
Instance of Symbol 1031 MovieClip "Strip" in Symbol 1041 MovieClip Frame 1
on (press) {
_root.Upgrade.Yes._visible = true;
_root.Upgrade.No._visible = true;
_root.AchatUpgrade = 1;
_root.ActionBuilding = 1;
_root.Upgrade.Infos = "The ideal room for the girls to show what they can do and look more beautiful than ever. Cost 500 Golds.";
}
Instance of Symbol 1033 MovieClip "Garden" in Symbol 1041 MovieClip Frame 1
on (press) {
_root.Upgrade.Yes._visible = true;
_root.Upgrade.No._visible = true;
_root.AchatUpgrade = 2;
_root.ActionBuilding = 1;
_root.Upgrade.Infos = "A garden would ease the girls and give a nice standing to your building. Cost 1000 Golds.";
}
Instance of Symbol 1035 MovieClip "Games" in Symbol 1041 MovieClip Frame 1
on (press) {
_root.Upgrade.Yes._visible = true;
_root.Upgrade.No._visible = true;
_root.AchatUpgrade = 3;
_root.ActionBuilding = 1;
_root.Upgrade.Infos = "Customers would be happy to spend their money in your building. But be careful, as the officials and the yakuza nearby may not appreciate it. Cost 2000 Golds.";
}
Instance of Symbol 1037 MovieClip "Opium" in Symbol 1041 MovieClip Frame 1
on (press) {
_root.Upgrade.Yes._visible = true;
_root.Upgrade.No._visible = true;
_root.AchatUpgrade = 4;
_root.ActionBuilding = 1;
_root.Upgrade.Infos = "Everything you need to let your customers and the girls forget their problems using drugs. The girls will be more obedient and will work more often. Cost 3000 Golds.";
}
Instance of Symbol 70 MovieClip "X" in Symbol 1041 MovieClip Frame 1
on (press) {
_root.Upgrade._visible = false;
_root.BuildingsClip._visible = true;
_root.MenuGold = _root.Gold;
_root.ActionBuilding = 1;
}
Instance of Symbol 1040 MovieClip "NewRoom" in Symbol 1041 MovieClip Frame 1
on (press) {
if (VecBuildings[_root.AchatBuilding].Fire == 0) {
_root.Upgrade.Yes._visible = true;
_root.Upgrade.No._visible = true;
_root.AchatUpgrade = 5;
_root.ActionBuilding = 1;
x = VecBuildings[_root.AchatBuilding].Price;
_root.Upgrade.Infos = ("A new room for your building. Cost " + x) + " Golds.";
} else {
_root.Upgrade.Infos = "This building is in repair.";
}
}
Instance of Symbol 1046 MovieClip in Symbol 1047 MovieClip Frame 1
on (press) {
_root.Intro1._visible = false;
_root.Intro2._visible = true;
}
Instance of Symbol 1046 MovieClip in Symbol 1051 MovieClip Frame 1
on (press) {
_root.Intro2._visible = false;
_root.Intro3._visible = true;
}
Instance of Symbol 1046 MovieClip in Symbol 1055 MovieClip Frame 1
on (press) {
_root.Intro3._visible = false;
_root.PersoClip._visible = true;
}
Instance of Symbol 1059 MovieClip in Symbol 1070 MovieClip Frame 1
on (press) {
_root.Perso = 1;
Filles[_root.Perso].Got = 1;
Filles[_root.Perso].Character = 0;
Filles[_root.Perso].VisibleCharacter = 0;
_root.Difficulty = 3;
_root.Gold = 0;
_root.MenuGold = _root.Gold;
_root.PersoClip._visible = false;
_root.Menu._visible = true;
_root.MenuGoldT._visible = true;
_root.MenuNbrDayT._visible = true;
_root.MenuGold._visible = true;
_root.MenuNbrDay._visible = true;
_root.Fond._visible = true;
}
Instance of Symbol 1062 MovieClip in Symbol 1070 MovieClip Frame 1
on (press) {
_root.Perso = 0;
Filles[_root.Perso].Got = 1;
Filles[_root.Perso].Character = 0;
Filles[_root.Perso].VisibleCharacter = 0;
_root.Difficulty = 2;
_root.Gold = 100;
_root.MenuGold = _root.Gold;
_root.PersoClip._visible = false;
_root.Menu._visible = true;
_root.MenuGoldT._visible = true;
_root.MenuNbrDayT._visible = true;
_root.MenuGold._visible = true;
_root.MenuNbrDay._visible = true;
_root.Fond._visible = true;
}
Instance of Symbol 1067 MovieClip in Symbol 1070 MovieClip Frame 1
on (press) {
_root.Perso = 3;
Filles[_root.Perso].Got = 1;
Filles[_root.Perso].Character = 0;
Filles[_root.Perso].VisibleCharacter = 0;
_root.Difficulty = 1;
_root.Gold = 250;
_root.MenuGold = _root.Gold;
_root.PersoClip._visible = false;
_root.Menu._visible = true;
_root.MenuGoldT._visible = true;
_root.MenuNbrDayT._visible = true;
_root.MenuGold._visible = true;
_root.MenuNbrDay._visible = true;
_root.Fond._visible = true;
}
Instance of Symbol 1076 MovieClip in Symbol 1079 MovieClip Frame 1
on (press) {
_root.Start._visible = false;
_root.Intro1._visible = true;
}
Instance of Symbol 1078 MovieClip in Symbol 1079 MovieClip Frame 1
on (press) {
_root.EndDay = _root.sObject.data.EndDay;
_root.NbrDay = _root.sObject.data.NbrDay;
_root.Perso = _root.sObject.data.Perso;
_root.Gold = _root.sObject.data.Gold;
_root.ActualMission = _root.sObject.data.ActualMission;
_root.DayMission = _root.sObject.data.DayMission;
_root.RankMission = _root.sObject.data.RankMission;
_root.IntervalMission = _root.sObject.data.IntervalMission;
_root.HighRank = _root.sObject.data.HighRank;
_root.DoubleMission = _root.sObject.data.DoubleMission;
_root.Indice = _root.sObject.data.Indice;
_root.Achat = _root.sObject.data.Achat;
_root.ActionBuilding = _root.sObject.data.ActionBuilding;
_root.AchatBuilding = _root.sObject.data.AchatBuilding;
_root.AchatAdvert = _root.sObject.data.AchatAdvert;
_root.WorkF = _root.sObject.data.WorkF;
_root.Entret = _root.sObject.data.Entret;
_root.PrixAdvert = _root.sObject.data.PrixAdvert;
_root.ActionEquip = _root.sObject.data.ActionEquip;
_root.AchatEquip = _root.sObject.data.AchatEquip;
_root.AchatUpgrade = _root.sObject.data.AchatUpgrade;
_root.Rankage = _root.sObject.data.Rankage;
_root.WillRank = _root.sObject.data.WillRank;
_root.MaxFilles = _root.sObject.data.MaxFilles;
_root.NbrBat = _root.sObject.data.NbrBat;
_root.Difficulty = _root.sObject.data.Difficulty;
_root.Difficulty = _root.sObject.data.Difficulty;
_root.StartEvent = _root.sObject.data.StartEvent;
_root.Ranked = _root.sObject.data.Ranked;
_root.TypeMission = _root.sObject.data.TypeMission;
_root.MissionM = _root.sObject.data.MissionM;
_root.MissionN = _root.sObject.data.MissionN;
_root.Joker1 = _root.sObject.data.Joker1;
_root.Joker2 = _root.sObject.data.Joker2;
_root.JokerActif = _root.sObject.data.JokerActif;
_root.DayJoker = _root.sObject.data.DayJoker;
Test = new Array();
TestMissions = new Array();
TestBuildings = new Array();
TestEquip = new Array();
Test = _root.sObject.data.Filles;
TestMissions = _root.sObject.data.Missions;
TestBuildings = _root.sObject.data.VecBuildings;
TestEquip = _root.sObject.data.VecEquip;
_root.Start._visible = false;
_root.Menu._visible = true;
_root.Menu.Infos = "Game loaded.";
_root.MenuGoldT._visible = true;
_root.MenuNbrDayT._visible = true;
_root.MenuGold = _root.Gold;
_root.MenuGold._visible = true;
_root.MenuNbrDay = _root.NbrDay;
_root.MenuNbrDay._visible = true;
_root.Fond._visible = true;
_root.Comment = "";
i = 0;
while (i < (_root.MaxFilles + 1)) {
Filles[i].Num = Test[i].Num;
Filles[i].Charisma = Test[i].Charisma;
Filles[i].Constitution = Test[i].Constitution;
Filles[i].Character = Test[i].Character;
Filles[i].Reputation = Test[i].Reputation;
Filles[i].Libido = Test[i].Libido;
Filles[i].Refinement = Test[i].Refinement;
Filles[i].Joy = Test[i].Joy;
Filles[i].Fuck = Test[i].Fuck;
Filles[i].BJ = Test[i].BJ;
Filles[i].SM = Test[i].SM;
Filles[i].Health = Test[i].Health;
Filles[i].Name = Test[i].Name;
Filles[i].Caract = Test[i].Caract;
Filles[i].Story = Test[i].Story;
Filles[i].Rank = Test[i].Rank;
Filles[i].Price = Test[i].Price;
Filles[i].Cost = Test[i].Cost;
Filles[i].Entretien = Test[i].Entretien;
Filles[i].XP = Test[i].XP;
Filles[i].OldBat = Test[i].OldBat;
Filles[i].Comment1 = Test[i].Comment1;
Filles[i].Comment2 = Test[i].Comment2;
Filles[i].Comment3 = Test[i].Comment3;
Filles[i].VisibleCharacter = Test[i].VisibleCharacter;
Filles[i].Dress = Test[i].Dress;
Filles[i].Maladie = Test[i].Maladie;
Filles[i].Libre = Test[i].Libre;
Filles[i].Got = Test[i].Got;
Filles[i].Chance = Test[i].Chance;
Filles[i].AbilitiePoints = Test[i].AbilitiePoints;
Filles[i].TotalXP = Test[i].TotalXP;
j = 0;
while (j < 30) {
Filles[i].LearnedAbilities[j] = Test[i].LearnedAbilities[j];
Filles[i].Abilities[j] = Test[i].Abilities[j];
j++;
}
i++;
}
i = 0;
while (i < 50) {
Missions[i].Num = TestMissions[i].Num;
Missions[i].Comment = TestMissions[i].Comment;
Missions[i].Rank = TestMissions[i].Rank;
i++;
}
i = 0;
while (i < _root.NbrBat) {
VecBuildings[i].Num = TestBuildings[i].Num;
VecBuildings[i].Room = TestBuildings[i].Room;
VecBuildings[i].FreeRoom = TestBuildings[i].FreeRoom;
VecBuildings[i].Deco = TestBuildings[i].Deco;
VecBuildings[i].Price = TestBuildings[i].Price;
VecBuildings[i].Reputation = TestBuildings[i].Reputation;
VecBuildings[i].Position = TestBuildings[i].Position;
VecBuildings[i].Advert = TestBuildings[i].Advert;
VecBuildings[i].Name = TestBuildings[i].Name;
VecBuildings[i].Infos = TestBuildings[i].Infos;
VecBuildings[i].NbrCust = TestBuildings[i].NbrCust;
VecBuildings[i].NbrF = TestBuildings[i].NbrF;
VecBuildings[i].Got = TestBuildings[i].Got;
VecBuildings[i].Advert1 = TestBuildings[i].Advert1;
VecBuildings[i].Advert2 = TestBuildings[i].Advert2;
VecBuildings[i].Advert3 = TestBuildings[i].Advert3;
VecBuildings[i].Advert4 = TestBuildings[i].Advert4;
VecBuildings[i].Advert5 = TestBuildings[i].Advert5;
VecBuildings[i].Advert6 = TestBuildings[i].Advert6;
j = 0;
while (j < 10) {
VecBuildings[i].Upgrade[j] = TestBuildings[i].Upgrade[j];
j++;
}
i++;
}
i = 0;
while (i < 12) {
VecEquip[i].Num = TestEquip[i].Num;
VecEquip[i].Name = TestEquip[i].Name;
VecEquip[i].Price = TestEquip[i].Price;
VecEquip[i].Comment = TestEquip[i].Comment;
j = 0;
while (j < (_root.MaxFilles + 1)) {
VecEquip[i].Filles[j] = TestEquip[i].Filles[j];
j++;
}
i++;
}
}