Combined Code
frame 1 {
function carga() {
var v2;
var v3;
var v4;
v2 = _root.getBytesTotal();
v3 = _root.getBytesLoaded();
v4 = Math.floor(v3 * 100 / v2);
porcentaje_txt.text = v4 + ' %';
if (v3 == v2) {
clearInterval(hiloPrecarga);
_root.play();
}
}
Stage.showMenu = false;
var hiloPrecarga = setInterval(carga, 1);
this.stop();
}
movieClip 4 {
}
// unknown tag 88 length 66
movieClip 8 {
}
movieClip 10 {
}
movieClip 13 {
}
movieClip 15 {
}
button 16 {
on (release) {
getURL('http://www.porngames.com', '_blank');
}
}
frame 2 {
_global.nameplayer = 'Jhon';
var savefile = SharedObject.getLocal('myBrothel');
stop();
fscommand('allowscale', 'false');
}
movieClip 21 {
}
button 22 {
on (release) {
getURL('https://www.patreon.com/mybrothel', '_blank');
}
}
// unknown tag 88 length 217
button 27 {
on (release) {
stopAllSounds();
gotoAndStop(3);
}
}
button 29 {
on (press) {
if (savefile.data.savestage == 1) {
_global.savestage = savefile.data.savestage;
_global.money = savefile.data.money;
_global.nameplayer = savefile.data.nameplayer;
_global.playervida = savefile.data.playervida;
_global.nursestats = savefile.data.nursestats;
_global.bernadettestats = savefile.data.bernadettestats;
_global.nurse = savefile.data.nurse;
_global.room1 = savefile.data.room1;
_global.room2 = savefile.data.room2;
_global.room3 = savefile.data.room3;
_global.room1clients = savefile.data.room1clients;
_global.room2clients = savefile.data.room2clients;
_global.room3clients = savefile.data.room3clients;
_global.prostitutes = savefile.data.prostitutes;
_global.medickit = savefile.data.medickit;
_global.bandage = savefile.data.bandage;
_global.baseball = savefile.data.baseball;
_global.chocolate = savefile.data.chocolate;
_global.flowers = savefile.data.flowers;
_global.steps = savefile.data.steps;
_global.p1 = savefile.data.p1;
_global.p2 = savefile.data.p2;
_global.p3 = savefile.data.p3;
_global.p4 = savefile.data.p4;
_global.p5 = savefile.data.p5;
_global.p6 = savefile.data.p6;
_global.p7 = savefile.data.p7;
_global.p8 = savefile.data.p8;
_global.p9 = savefile.data.p9;
_global.p10 = savefile.data.p10;
_global.p11 = savefile.data.p11;
_global.p12 = savefile.data.p12;
_global.p1l = savefile.data.p1l;
_global.p2l = savefile.data.p2l;
_global.p3l = savefile.data.p3l;
_global.p4l = savefile.data.p4l;
_global.p5l = savefile.data.p5l;
_global.p6l = savefile.data.p6l;
_global.p7l = savefile.data.p7l;
_global.p8l = savefile.data.p8l;
_global.p9l = savefile.data.p9l;
_global.p10l = savefile.data.p10l;
_global.p11l = savefile.data.p11l;
_global.p12l = savefile.data.p12l;
_global.p1dirt = savefile.data.p1dirt;
_global.p2dirt = savefile.data.p2dirt;
_global.p3dirt = savefile.data.p3dirt;
_global.p4dirt = savefile.data.p4dirt;
_global.p5dirt = savefile.data.p5dirt;
_global.p6dirt = savefile.data.p6dirt;
_global.p7dirt = savefile.data.p7dirt;
_global.p8dirt = savefile.data.p8dirt;
_global.p9dirt = savefile.data.p9dirt;
_global.p10dirt = savefile.data.p10dirt;
_global.p11dirt = savefile.data.p11dirt;
_global.p12dirt = savefile.data.p12dirt;
_global.p1disp = savefile.data.p1disp;
_global.p2disp = savefile.data.p2disp;
_global.p3disp = savefile.data.p3disp;
_global.p4disp = savefile.data.p4disp;
_global.p5disp = savefile.data.p5disp;
_global.p6disp = savefile.data.p6disp;
_global.p7disp = savefile.data.p7disp;
_global.p8disp = savefile.data.p8disp;
_global.p9disp = savefile.data.p9disp;
_global.p10disp = savefile.data.p10disp;
_global.p11disp = savefile.data.p11disp;
_global.p12disp = savefile.data.p12disp;
_global.showers = savefile.data.showers;
_global.dance = savefile.data.dance;
_global.salary = savefile.data.salary;
_global.prostitutesbuy = savefile.data.prostitutesbuy;
gotoAndStop(1053);
} else {
stop();
}
}
}
button 31 {
on (release) {
gotoAndStop(4);
}
}
button 33 {
on (release) {
gotoAndStop(5);
}
}
frame 3 {
slider_1.onPress = function () {
this.startDrag(true, _root.groove_1._x, _root.groove_1._y, _root.groove_1._x + 180, _root.groove_1._y);
};
slider_1.onRelease = function () {
this.stopDrag();
};
play_btn.onRelease = function () {
mySong = new Sound();
mySong.attachSound('NOME DO SOM');
mySong.start(0, 50);
};
stop_btn.onRelease = function () {
stopAllSounds();
};
slider_1.onMouseMove = function () {
newPoint = new Object();
newPoint.x = this._x;
newPoint.y = this._y;
_root.groove_1.globalToLocal(newPoint);
_root.mySong.setVolume(-1 * newPoint.x);
};
stop();
}
// unknown tag 88 length 61
button 39 {
on (release) {
_global.savestage = 1;
_global.nameplayer = nameplayerbox.text;
_global.money = 250;
_global.playervida = 100;
_global.nursestats = 60;
_global.bernadettestats = 20;
_global.amystats = 10;
_global.trishastats = 30;
_global.elisabethstats = 90;
_global.nurse = 0;
_global.room1 = 0;
_global.room2 = 0;
_global.room3 = 0;
_global.room1clients = 4;
_global.room2clients = 4;
_global.room3clients = 4;
_global.prostitutes = 0;
_global.p1 = 0;
_global.p2 = 0;
_global.p3 = 0;
_global.p4 = 0;
_global.p5 = 0;
_global.p6 = 0;
_global.p7 = 0;
_global.p8 = 0;
_global.p9 = 0;
_global.p10 = 0;
_global.p11 = 0;
_global.p12 = 0;
_global.p1dirt = 0;
_global.p2dirt = 0;
_global.p3dirt = 0;
_global.p4dirt = 0;
_global.p5dirt = 0;
_global.p6dirt = 0;
_global.p7dirt = 0;
_global.p8dirt = 0;
_global.p9dirt = 0;
_global.p10dirt = 0;
_global.p11dirt = 0;
_global.p12dirt = 0;
_global.p1l = 0;
_global.p2l = 0;
_global.p3l = 0;
_global.p4l = 0;
_global.p5l = 0;
_global.p6l = 0;
_global.p7l = 0;
_global.p8l = 0;
_global.p9l = 0;
_global.p10l = 0;
_global.p11l = 0;
_global.p12l = 0;
_global.p1disp = 0;
_global.p2disp = 0;
_global.p3disp = 0;
_global.p4disp = 0;
_global.p5disp = 0;
_global.p6disp = 0;
_global.p7disp = 0;
_global.p8disp = 0;
_global.p9disp = 0;
_global.p10disp = 0;
_global.p11disp = 0;
_global.p12disp = 0;
_global.salary = 0;
_global.bandage = 0;
_global.medickit = 0;
_global.baseball = 0;
_global.chocolate = 0;
_global.flowers = 0;
_global.steps = 1;
_global.pub = 0;
_global.tuto1 = 1;
_global.tuto2 = 1;
_global.showers = 0;
_global.dance = 0;
_global.prostitutesbuy = int(Math.random(1, 3) * 4);
gotoAndPlay(6);
}
}
movieClip 43 {
}
movieClip 45 {
}
button 54 {
on (release) {
gotoAndStop(1);
}
}
frame 6 {
play();
}
movieClip 65 {
}
frame 59 {
stop();
}
movieClip 70 {
}
button 72 {
on (release) {
nextFrame();
}
}
frame 60 {
play();
}
frame 105 {
stop();
}
frame 106 {
play();
}
frame 159 {
stop();
}
frame 160 {
play();
}
frame 204 {
stop();
}
frame 205 {
play();
}
frame 255 {
stop();
}
frame 256 {
play();
}
button 88 {
on (release) {
gotoAndStop(307);
}
}
frame 306 {
gotoAndStop(307);
}
frame 307 {
play();
}
movieClip 92 {
}
movieClip 105 {
}
frame 326 {
_root.barra.barra01._xscale = bernadettestats;
}
frame 326 {
stop();
}
movieClip 110 {
}
movieClip 111 {
}
movieClip 113 {
frame 37 {
this._visible = false;
}
}
movieClip 115 {
frame 35 {
this._visible = false;
}
}
frame 327 {
play();
}
frame 330 {
play();
}
frame 330 {
_root.playernametext = nameplayer;
}
movieClip 122 {
}
frame 350 {
stop();
}
frame 351 {
play();
}
frame 354 {
_root.nameplayerintalk = nameplayer;
}
frame 373 {
stop();
}
frame 374 {
play();
}
frame 377 {
stop();
}
button 133 {
on (release) {
_global.bernadettestats += 10;
_root.barra.barra01._xscale += 10;
_root.more._visible = true;
gotoAndPlay(381);
}
}
button 136 {
on (release) {
gotoAndPlay(404);
}
}
button 139 {
on (release) {
_global.bernadettestats -= 5;
_root.barra.barra01._xscale -= 5;
_root.less._visible = true;
gotoAndPlay(427);
}
}
frame 378 {
play();
}
frame 400 {
stop();
}
button 141 {
on (release) {
gotoAndPlay(447);
}
}
frame 401 {
play();
}
frame 423 {
stop();
}
frame 424 {
play();
}
frame 446 {
stop();
}
frame 447 {
play();
}
frame 469 {
stop();
}
button 146 {
on (release) {
nextFrame();
}
}
frame 470 {
play();
}
frame 492 {
stop();
}
frame 493 {
play();
}
frame 515 {
stop();
}
frame 516 {
play();
}
frame 519 {
play();
}
frame 519 {
_root.playernametext = nameplayer;
}
frame 539 {
stop();
}
frame 540 {
play();
}
frame 562 {
stop();
}
frame 563 {
play();
}
frame 566 {
stop();
}
button 156 {
on (release) {
_global.bernadettestats += 10;
_root.barra.barra01._xscale += 10;
_root.more._visible = true;
gotoAndPlay(570);
}
}
button 159 {
on (release) {
gotoAndPlay(593);
}
}
button 162 {
on (release) {
_global.bernadettestats -= 5;
_root.barra.barra01._xscale -= 5;
_root.less._visible = true;
gotoAndPlay(616);
}
}
frame 567 {
play();
}
frame 589 {
stop();
}
button 165 {
on (release) {
gotoAndPlay(639);
}
}
frame 590 {
play();
}
frame 612 {
stop();
}
frame 613 {
play();
}
frame 635 {
stop();
}
frame 636 {
play();
}
frame 658 {
stop();
}
frame 659 {
play();
}
frame 681 {
stop();
}
frame 682 {
play();
}
frame 685 {
stop();
}
button 174 {
on (release) {
gotoAndPlay(712);
}
}
button 177 {
on (release) {
_global.bernadettestats -= 5;
_root.barra.barra01._xscale -= 5;
_root.less._visible = true;
gotoAndPlay(735);
}
}
button 180 {
on (release) {
_global.bernadettestats += 10;
_root.barra.barra01._xscale += 10;
_root.more._visible = true;
gotoAndPlay(689);
}
}
frame 686 {
play();
}
frame 708 {
stop();
}
button 182 {
on (release) {
gotoAndPlay(758);
}
}
frame 709 {
play();
}
frame 731 {
stop();
}
button 184 {
on (release) {
gotoAndPlay(758);
}
}
frame 732 {
play();
}
frame 754 {
stop();
}
frame 755 {
play();
}
frame 777 {
stop();
}
frame 778 {
play();
}
frame 800 {
stop();
}
movieClip 192 {
}
button 193 {
on (release) {
nextFrame();
}
}
movieClip 195 {
}
frame 801 {
play();
}
frame 864 {
play();
}
frame 886 {
stop();
}
frame 887 {
play();
}
frame 890 {
play();
}
frame 910 {
stop();
}
frame 911 {
play();
}
frame 933 {
stop();
}
frame 934 {
play();
}
frame 937 {
stop();
}
button 206 {
on (release) {
_global.bernadettestats -= 5;
_root.barra.barra01._xscale -= 5;
_root.less._visible = true;
gotoAndPlay(964);
}
}
button 209 {
on (release) {
gotoAndPlay(941);
}
}
button 212 {
on (release) {
gotoAndPlay(941);
}
}
frame 938 {
play();
}
frame 960 {
stop();
}
button 214 {
on (release) {
gotoAndPlay(987);
}
}
frame 961 {
play();
}
frame 983 {
stop();
}
frame 984 {
play();
}
frame 1006 {
stop();
}
frame 1007 {
play();
}
frame 1026 {
gotoAndStop(1027);
}
frame 1027 {
_root.moneyplayer.text = money;
_root.barravida.barravida01._xscale = playervida;
_root.bernstats.barra.barra01._xscale = bernadettestats;
_root.nursestatss.barranurse.barranurse01._xscale = nursestats;
_root.amystatss.barraamy.barraamy01._xscale = amystats;
_root.trishastatss.barratrisha.barratrisha01._xscale = trishastats;
_root.elisabethstatss.barraelisabeth.barraelisabeth01._xscale = elisabethstats;
stop();
if (_global.prostitutes == 1) {
_root.staricon._visible = true;
}
if (_global.prostitutes == 0) {
_root.staricon._visible = false;
}
if (room1 == 2) {
_root.dooropen1._visible = false;
_root.doorclose1._visible = true;
}
if (room2 == 1) {
_root.dooropen2._visible = false;
_root.doorclose2._visible = true;
}
if (room3 == 1) {
_root.dooropen3._visible = false;
_root.doorclose3._visible = true;
}
if (room1 >= 1) {
_root.dooropen1._visible = true;
_root.doorclose1._visible = false;
}
if (room2 >= 1) {
_root.dooropen2._visible = true;
_root.doorclose2._visible = false;
}
if (room3 >= 1) {
_root.dooropen3._visible = true;
_root.doorclose3._visible = false;
}
if (showers == 0) {
_root.doorbr._visible = false;
_root.doorbrclose._visible = true;
}
if (showers == 1) {
_root.doorbr._visible = true;
_root.doorbrclose._visible = false;
}
if (_global.pub == 1) {
_root.c1._visible = true;
_root.c2._visible = true;
_root.c3._visible = true;
_root.c4._visible = true;
_root.c5._visible = true;
_root.c6._visible = true;
_root.table1._visible = false;
}
if (_global.tuto1 == 1) {
_root.tutoclik1._visible = true;
}
}
movieClip 225 {
}
button 226 {
on (release) {
_root.berndialog._visible = true;
if (_global.bernadettestats >= 100) {
_root.need._visible = true;
_root.berndialog.gotoAndStop(2);
}
}
}
movieClip 230 {
}
button 231 {
on (release) {
if (_global.room2 <= 1) {
gotoAndStop(1131);
}
if (_global.room2 >= 2) {
gotoAndStop(1132);
}
}
}
button 232 {
on (release) {
if (_global.room3 <= 1) {
gotoAndStop(1137);
}
if (_global.room3 >= 2) {
gotoAndStop(1138);
}
}
}
button 233 {
on (release) {
if (_global.room1 <= 1) {
gotoAndStop(1097);
}
if (_global.room1 >= 2) {
gotoAndStop(1098);
}
}
}
movieClip 237 {
}
// unknown tag 88 length 67
button 242 {
on (release) {
_root.window3._visible = true;
}
}
button 247 {
on (release) {
gotoAndStop(1053);
}
}
movieClip 249 {
}
button 252 {
on (release) {
_root.window2._visible = true;
}
}
movieClip 254 {
}
button 257 {
on (release) {
_root.window1._visible = true;
_global.tuto1 = 0;
_root.tutoclik1._visible = false;
}
}
button 258 {
on (release) {
gotoAndStop(1325);
}
}
movieClip 260 {
}
button 263 {
on (release) {
_root.windowbr._visible = true;
}
}
movieClip 272 {
}
movieClip 274 {
}
movieClip 281 {
}
movieClip 284 {
}
movieClip 286 {
}
movieClip 293 {
}
movieClip 295 {
}
movieClip 298 {
}
movieClip 300 {
}
movieClip 309 {
}
button 314 {
on (release) {
_root.window4._visible = true;
}
}
movieClip 317 {
}
button 318 {
on (release) {
gotoAndStop(1326);
}
}
movieClip 323 {
}
movieClip 325 {
}
movieClip 328 {
}
button 329 {
on (release) {
gotoAndStop(1028);
}
}
movieClip 332 {
}
button 333 {
on (release) {
_root.wrelat._visible = true;
_root.close1._visible = true;
_root.bernstats._visible = true;
if (nurse == 1) {
_root.nursestatss._visible = true;
}
if (nurse == 0) {
_root.nursestatss._visible = false;
}
if (amy == 1) {
_root.amystatss._visible = true;
}
if (amy == 0) {
_root.amystatss._visible = false;
}
if (trisha == 1) {
_root.trishastatss._visible = true;
}
if (trisha == 0) {
_root.trishastatss._visible = false;
}
if (elisabeth == 1) {
_root.elisabethstatss._visible = true;
}
if (elisabeth == 0) {
_root.elisabethstatss._visible = false;
}
}
}
movieClip 335 {
}
button 336 {
on (release) {
_root.witem._visible = true;
_root.close2._visible = true;
}
}
movieClip 339 {
}
movieClip 341 {
}
button 342 {
on (release) {
_root.winprostitutes._visible = true;
if (_global.p1 == 0) {
_root.winprostitutes.winprostitutes1.stats1._visible = false;
}
if (_global.p1 == 1) {
_root.winprostitutes.winprostitutes1.stats1._visible = true;
}
if (_global.p2 == 0) {
_root.winprostitutes.winprostitutes1.stats2._visible = false;
}
if (_global.p2 == 1) {
_root.winprostitutes.winprostitutes1.stats2._visible = true;
}
if (_global.p3 == 0) {
_root.winprostitutes.winprostitutes1.stats3._visible = false;
}
if (_global.p3 == 1) {
_root.winprostitutes.winprostitutes1.stats3._visible = true;
}
if (_global.p4 == 0) {
_root.winprostitutes.winprostitutes2.stats4._visible = false;
}
if (_global.p4 == 1) {
_root.winprostitutes.winprostitutes2.stats4._visible = true;
}
if (_global.p5 == 0) {
_root.winprostitutes.winprostitutes2.stats5._visible = false;
}
if (_global.p5 == 1) {
_root.winprostitutes.winprostitutes2.stats5._visible = true;
}
if (_global.p6 == 0) {
_root.winprostitutes.winprostitutes2.stats6._visible = false;
}
if (_global.p6 == 1) {
_root.winprostitutes.winprostitutes2.stats6._visible = true;
}
if (_global.p7 == 0) {
_root.winprostitutes.winprostitutes1.stats7._visible = false;
}
if (_global.p7 == 1) {
_root.winprostitutes.winprostitutes1.stats7._visible = true;
}
if (_global.p8 == 0) {
_root.winprostitutes.winprostitutes1.stats8._visible = false;
}
if (_global.p8 == 1) {
_root.winprostitutes.winprostitutes1.stats8._visible = true;
}
if (_global.p9 == 0) {
_root.winprostitutes.winprostitutes1.stats9._visible = false;
}
if (_global.p9 == 1) {
_root.winprostitutes.winprostitutes1.stats9._visible = true;
}
if (_global.p10 == 0) {
_root.winprostitutes.winprostitutes2.stats10._visible = false;
}
if (_global.p10 == 1) {
_root.winprostitutes.winprostitutes2.stats10._visible = true;
}
if (_global.p11 == 0) {
_root.winprostitutes.winprostitutes2.stats11._visible = false;
}
if (_global.p11 == 1) {
_root.winprostitutes.winprostitutes2.stats11._visible = true;
}
if (_global.p12 == 0) {
_root.winprostitutes.winprostitutes2.stats12._visible = false;
}
if (_global.p12 == 1) {
_root.winprostitutes.winprostitutes2.stats12._visible = true;
}
}
}
button 345 {
on (release) {
_root.optwin._visible = true;
}
}
movieClip 347 {
}
movieClip 348 {
frame 45 {
_root.gamesaved._visible = false;
stop();
}
}
button 352 {
on (release) {
getURL('mailto:valbergamer@gmail.com', '');
}
}
movieClip 353 {
}
movieClip 354 {
}
button 359 {
on (release) {
_root.optwin._visible = false;
}
}
movieClip 360 {
frame 1 {
_root.optwin.slider_1.onPress = function () {
this.startDrag(true, _root.optwin.groove_1._x, _root.optwin.groove_1._y, _root.optwin.groove_1._x + 180, _root.optwin.groove_1._y);
};
_root.optwin.slider_1.onRelease = function () {
this.stopDrag();
};
_root.optwin.play_btn.onRelease = function () {
mySong = new Sound();
mySong.attachSound('NOME DO SOM');
mySong.start(0, 50);
};
_root.optwin.stop_btn.onRelease = function () {
stopAllSounds();
};
_root.optwin.slider_1.onMouseMove = function () {
newPoint = new Object();
newPoint.x = this._x;
newPoint.y = this._y;
_root.optwin.groove_1.globalToLocal(newPoint);
_root.optwin.mySong.setVolume(-1 * newPoint.x);
};
}
}
button 363 {
on (press) {
_root.gamesaved._visible = true;
_root.gamesaved.play();
savefile.data.savestage = _global.savestage;
savefile.data.money = _global.money;
savefile.data.nameplayer = _global.nameplayer;
savefile.data.playervida = _global.playervida;
savefile.data.nursestats = _global.nursestats;
savefile.data.bernadettestats = _global.bernadettestats;
savefile.data.nurse = _global.nurse;
savefile.data.room1 = _global.room1;
savefile.data.room2 = _global.room2;
savefile.data.room3 = _global.room3;
savefile.data.room1clients = _global.room1clients;
savefile.data.room2clients = _global.room2clients;
savefile.data.room3clients = _global.room3clients;
savefile.data.prostitutes = _global.prostitutes;
savefile.data.medickit = _global.medickit;
savefile.data.bandage = _global.bandage;
savefile.data.baseball = _global.baseball;
savefile.data.chocolate = _global.chocolate;
savefile.data.flowers = _global.flowers;
savefile.data.steps = _global.steps;
savefile.data.levelNumber = _root.level;
savefile.data.anything = _global.anything;
savefile.data.p1 = _global.p1;
savefile.data.p2 = _global.p2;
savefile.data.p3 = _global.p3;
savefile.data.p4 = _global.p4;
savefile.data.p5 = _global.p5;
savefile.data.p6 = _global.p6;
savefile.data.p7 = _global.p7;
savefile.data.p8 = _global.p8;
savefile.data.p9 = _global.p9;
savefile.data.p10 = _global.p10;
savefile.data.p11 = _global.p11;
savefile.data.p12 = _global.p12;
savefile.data.p1l = _global.p1l;
savefile.data.p2l = _global.p2l;
savefile.data.p3l = _global.p3l;
savefile.data.p4l = _global.p4l;
savefile.data.p5l = _global.p5l;
savefile.data.p6l = _global.p6l;
savefile.data.p7l = _global.p7l;
savefile.data.p8l = _global.p8l;
savefile.data.p9l = _global.p9l;
savefile.data.p10l = _global.p10l;
savefile.data.p11l = _global.p11l;
savefile.data.p12l = _global.p12l;
savefile.data.p1dirt = _global.p1dirt;
savefile.data.p2dirt = _global.p2dirt;
savefile.data.p3dirt = _global.p3dirt;
savefile.data.p4dirt = _global.p4dirt;
savefile.data.p5dirt = _global.p5dirt;
savefile.data.p6dirt = _global.p6dirt;
savefile.data.p7dirt = _global.p7dirt;
savefile.data.p8dirt = _global.p8dirt;
savefile.data.p9dirt = _global.p9dirt;
savefile.data.p10dirt = _global.p10dirt;
savefile.data.p11dirt = _global.p11dirt;
savefile.data.p12dirt = _global.p12dirt;
savefile.data.p1disp = _global.p1disp;
savefile.data.p2disp = _global.p2disp;
savefile.data.p3disp = _global.p3disp;
savefile.data.p4disp = _global.p4disp;
savefile.data.p5disp = _global.p5disp;
savefile.data.p6disp = _global.p6disp;
savefile.data.p7disp = _global.p7disp;
savefile.data.p8disp = _global.p8disp;
savefile.data.p9disp = _global.p9disp;
savefile.data.p10disp = _global.p10disp;
savefile.data.p11disp = _global.p11disp;
savefile.data.p12disp = _global.p12disp;
savefile.data.showers = _global.showers;
savefile.data.dance = _global.dance;
savefile.data.salary = _global.salary;
savefile.data.prostitutesbuy = _global.prostitutesbuy;
savefile.flush();
}
}
button 370 {
on (release) {
if (_global.money >= 250) {
_global.money -= 250;
_root.moneyplayer.text = money;
_root.c1._visible = true;
_root.c2._visible = true;
_root.c3._visible = true;
_root.c4._visible = true;
_root.c5._visible = true;
_root.c6._visible = true;
_root.table1._visible = false;
_root.window4._visible = false;
_global.pub = 1;
}
if (_global.money <= 249) {
_root.nomoney._visible = true;
_root.nomoney.play();
_root.window4._visible = false;
}
}
}
button 372 {
on (release) {
_root.window4._visible = false;
}
}
movieClip 373 {
}
movieClip 376 {
}
movieClip 379 {
}
movieClip 381 {
}
movieClip 383 {
}
movieClip 385 {
}
movieClip 387 {
}
button 390 {
on (release) {
_root.witem._visible = false;
_root.close2._visible = false;
}
}
movieClip 391 {
frame 1 {
if (_global.bandage == 1) {
_root.witem.bandage1._visible = true;
}
if (_global.bandage == 0) {
_root.witem.bandage1._visible = false;
}
if (_global.medickit == 1) {
_root.witem.medikit1._visible = true;
}
if (_global.medickit == 0) {
_root.witem.medikit1._visible = false;
}
if (_global.baseball == 1) {
_root.witem.baseball1._visible = true;
}
if (_global.baseball == 0) {
_root.witem.baseball1._visible = false;
}
if (_global.chocolate == 1) {
_root.witem.chocolatebox1._visible = true;
}
if (_global.chocolate == 0) {
_root.witem.chocolatebox1._visible = false;
}
if (_global.flowers == 1) {
_root.witem.flower1._visible = true;
}
if (_global.flowers == 0) {
_root.witem.flower1._visible = false;