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 63
frame 2 {
_global.nameplayer = 'Jhon';
var savefile = SharedObject.getLocal('myBrothel');
stop();
fscommand('allowscale', 'false');
}
movieClip 13 {
}
movieClip 15 {
}
movieClip 20 {
}
button 21 {
on (release) {
getURL('https://www.patreon.com/mybrothel', '_blank');
}
}
// unknown tag 88 length 217
button 26 {
on (release) {
stopAllSounds();
gotoAndStop(3);
}
}
button 28 {
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.scarletstats = savefile.data.scarletstats;
_global.thaystats = savefile.data.thaystats;
_global.bernadettestats = savefile.data.bernadettestats;
_global.nurse = savefile.data.nurse;
_global.scarlet = savefile.data.scarlet;
_global.room1 = savefile.data.room1;
_global.room2 = savefile.data.room2;
_global.room3 = savefile.data.room3;
_global.room4 = savefile.data.room4;
_global.room5 = savefile.data.room5;
_global.room1clients = savefile.data.room1clients;
_global.room2clients = savefile.data.room2clients;
_global.room3clients = savefile.data.room3clients;
_global.room4clients = savefile.data.room4clients;
_global.room5clients = savefile.data.room5clients;
_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.battle = savefile.data.battle;
_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.p13 = savefile.data.p13;
_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.p13l = savefile.data.p13l;
_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.p13dirt = savefile.data.p13dirt;
_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.p13disp = savefile.data.p13disp;
_global.showers = savefile.data.showers;
_global.dance = savefile.data.dance;
_global.salary = savefile.data.salary;
_global.days = savefile.data.days;
_global.pub = savefile.data.pub;
_global.prostitutesbuy = savefile.data.prostitutesbuy;
_global.doblegirl = savefile.data.doblegirl;
_global.automaticgirl = savefile.data.automaticgirl;
_global.triplegirl = savefile.data.triplegirl;
_global.doblepub = savefile.data.doblepub;
_global.triplepub = savefile.data.triplepub;
_global.maxpub = savefile.data.maxpub;
_global.dobledance = savefile.data.dobledance;
_global.tripledance = savefile.data.tripledance;
_global.maxdance = savefile.data.maxdance;
_global.act = savefile.data.maxdance;
_global.paint = savefile.data.paint;
_global.hair = savefile.data.hair;
_global.body = savefile.data.body;
_global.shirt = savefile.data.shirt;
_global.tuto1 = savefile.data.tuto1;
_global.tuto2 = savefile.data.tuto2;
_global.tuto3 = savefile.data.tuto3;
_global.tuto4 = savefile.data.tuto4;
_global.clothbern = savefile.data.clothbern;
_global.cloth1 = savefile.data.cloth1;
_global.cloth2 = savefile.data.cloth2;
gotoAndStop(1053);
} else {
stop();
}
}
}
button 30 {
on (release) {
gotoAndStop(4);
}
}
button 32 {
on (release) {
gotoAndStop(5);
}
}
movieClip 34 {
}
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();
}
button 40 {
on (release) {
_global.savestage = 1;
_global.nameplayer = nameplayerbox.text;
_global.hair = 1;
_global.body = 1;
_global.shirt = 1;
_global.money = 250;
'250';
_global.playervida = 100;
_global.nursestats = 10;
_global.bernadettestats = 20;
_global.scarletstats = 10;
_global.thaystats = 0;
_global.elisabethstats = 5;
_global.nurse = 0;
_global.thay = 0;
_global.room1 = 0;
_global.room2 = 0;
_global.room3 = 0;
_global.room4 = 0;
_global.room5 = 0;
_global.room1clients = 4;
_global.room2clients = 4;
_global.room3clients = 4;
_global.room4clients = 2;
_global.room5clients = 2;
_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.p13 = 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.p13dirt = 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.p13l = 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.p13disp = 0;
_global.salary = 0;
_global.bandage = 0;
_global.medickit = 0;
_global.baseball = 0;
_global.chocolate = 0;
_global.flowers = 0;
_global.book1 = 0;
_global.book2 = 0;
_global.skill1 = 0;
_global.skill2 = 0;
_global.battle = 0;
_global.pub = 0;
_global.tuto1 = 1;
_global.tuto2 = 1;
_global.showers = 0;
_global.dance = 0;
_global.days = 1;
_global.prostitutesbuy = int(Math.random(1, 3) * 4);
_global.doblegirl = 0;
_global.automaticgirl = 0;
_global.triplegirl = 0;
_global.doblepub = 0;
_global.triplepub = 0;
_global.maxpub = 0;
_global.dobledance = 0;
_global.tripledance = 0;
_global.maxdance = 0;
_global.act = 1;
_global.team = 0;
_global.paint = 0;
_global.pic1 = 0;
_global.pic2 = 0;
_global.pic3 = 0;
_global.pic4 = 0;
_global.clothbern = 0;
_global.cloth1 = 0;
_global.cloth2 = 0;
gotoAndPlay(6);
}
}
movieClip 44 {
}
movieClip 46 {
}
button 55 {
on (release) {
gotoAndStop(2);
}
}
frame 6 {
stop();
}
movieClip 67 {
frame 1 {
stop();
}
frame 2 {
stop();
}
frame 3 {
stop();
}
frame 4 {
stop();
}
}
movieClip 72 {
frame 1 {
stop();
}
frame 2 {
stop();
}
frame 3 {
stop();
}
frame 4 {
stop();
}
}
movieClip 77 {
frame 1 {
stop();
}
frame 2 {
stop();
}
frame 3 {
stop();
}
frame 4 {
stop();
}
}
button 80 {
on (release) {
_root.player.bh1._visible = false;
_root.player.bh2._visible = true;
_root.player.hair.gotoAndStop(2);
_global.hair = 2;
}
}
button 81 {
on (release) {
_root.player.bh2._visible = false;
_root.player.bh3._visible = true;
_root.player.hair.gotoAndStop(3);
_global.hair = 3;
}
}
button 82 {
on (release) {
_root.player.bh3._visible = false;
_root.player.bh4._visible = true;
_root.player.hair.gotoAndStop(4);
_global.hair = 4;
}
}
button 83 {
on (release) {
_root.player.bh4._visible = false;
_root.player.bh1._visible = true;
_root.player.hair.gotoAndStop(1);
_global.hair = 1;
}
}
button 84 {
on (release) {
_root.player.bb1._visible = false;
_root.player.bb2._visible = true;
_root.player.body.gotoAndStop(2);
_global.body = 2;
}
}
button 85 {
on (release) {
_root.player.bb2._visible = false;
_root.player.bb3._visible = true;
_root.player.body.gotoAndStop(3);
_global.body = 3;
}
}
button 86 {
on (release) {
_root.player.bb3._visible = false;
_root.player.bb4._visible = true;
_root.player.body.gotoAndStop(4);
_global.body = 4;
}
}
button 87 {
on (release) {
_root.player.bb4._visible = false;
_root.player.bb1._visible = true;
_root.player.body.gotoAndStop(1);
_global.body = 1;
}
}
button 88 {
on (release) {
_root.player.bs1._visible = false;
_root.player.bs2._visible = true;
_root.player.shirt.gotoAndStop(2);
_global.shirt = 2;
}
}
button 89 {
on (release) {
_root.player.bs2._visible = false;
_root.player.bs3._visible = true;
_root.player.shirt.gotoAndStop(3);
_global.shirt = 3;
}
}
button 90 {
on (release) {
_root.player.bs3._visible = false;
_root.player.bs4._visible = true;
_root.player.shirt.gotoAndStop(4);
_global.shirt = 4;
}
}
button 91 {
on (release) {
_root.player.bs4._visible = false;
_root.player.bs1._visible = true;
_root.player.shirt.gotoAndStop(1);
_global.shirt = 1;
}
}
movieClip 92 {
}
// unknown tag 88 length 64
button 96 {
on (release) {
play();
}
}
frame 7 {
play();
}
movieClip 98 {
frame 1 {
if (_global.hair == 1) {
this.hair.gotoAndStop(1);
}
if (_global.hair == 2) {
this.hair.gotoAndStop(2);
}
if (_global.hair == 3) {
this.hair.gotoAndStop(3);
}
if (_global.hair == 4) {
this.hair.gotoAndStop(4);
}
if (_global.body == 1) {
this.body.gotoAndStop(1);
}
if (_global.body == 2) {
this.body.gotoAndStop(2);
}
if (_global.body == 3) {
this.body.gotoAndStop(3);
}
if (_global.body == 4) {
this.body.gotoAndStop(4);
}
if (_global.shirt == 1) {
this.shirt.gotoAndStop(1);
}
if (_global.shirt == 2) {
this.shirt.gotoAndStop(2);
}
if (_global.shirt == 3) {
this.shirt.gotoAndStop(3);
}
if (_global.shirt == 4) {
this.shirt.gotoAndStop(4);
}
}
}
movieClip 101 {
}
frame 59 {
stop();
}
movieClip 105 {
}
button 107 {
on (release) {
nextFrame();
}
}
button 110 {
on (release) {
gotoAndPlay(307);
}
}
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 126 {
on (release) {
gotoAndStop(307);
}
}
frame 306 {
gotoAndStop(307);
}
frame 307 {
play();
}
movieClip 130 {
}
movieClip 142 {
}
movieClip 145 {
}
movieClip 146 {
frame 18 {
this._visible = false;
}
}
frame 326 {
_root.barra.barra01._xscale = bernadettestats;
}
frame 326 {
stop();
}
movieClip 150 {
}
movieClip 151 {
}
movieClip 153 {
frame 37 {
this._visible = false;
}
}
movieClip 155 {
frame 35 {
this._visible = false;
}
}
frame 327 {
play();
}
frame 330 {
play();
}
frame 330 {
_root.playernametext = nameplayer;
}
frame 350 {
stop();
}
frame 351 {
play();
}
frame 354 {
_root.nameplayerintalk = nameplayer;
}
// unknown tag 88 length 62
frame 373 {
stop();
}
frame 374 {
play();
}
frame 377 {
stop();
}
button 165 {
on (release) {
_global.bernadettestats += 10;
_root.barra.barra01._xscale += 10;
_root.more._visible = true;
gotoAndPlay(381);
}
}
button 168 {
on (release) {
gotoAndPlay(404);
}
}
button 171 {
on (release) {
_global.bernadettestats -= 5;
_root.barra.barra01._xscale -= 5;
_root.less._visible = true;
gotoAndPlay(427);
}
}
frame 378 {
play();
}
frame 400 {
stop();
}
button 173 {
on (release) {
gotoAndPlay(447);
}
}
frame 401 {
play();
}
frame 423 {
stop();
}
frame 424 {
play();
}
frame 446 {
stop();
}
frame 447 {
play();
}
frame 469 {
stop();
}
button 178 {
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 188 {
on (release) {
_global.bernadettestats += 10;
_root.barra.barra01._xscale += 10;
_root.more._visible = true;
gotoAndPlay(570);
}
}
button 191 {
on (release) {
gotoAndPlay(593);
}
}
button 194 {
on (release) {
_global.bernadettestats -= 5;
_root.barra.barra01._xscale -= 5;
_root.less._visible = true;
gotoAndPlay(616);
}
}
frame 567 {
play();
}
frame 589 {
stop();
}
button 197 {
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 206 {
on (release) {
gotoAndPlay(712);
}
}
button 209 {
on (release) {
_global.bernadettestats -= 5;
_root.barra.barra01._xscale -= 5;
_root.less._visible = true;
gotoAndPlay(735);
}
}
button 212 {
on (release) {
_global.bernadettestats += 10;
_root.barra.barra01._xscale += 10;
_root.more._visible = true;
gotoAndPlay(689);
}
}
frame 686 {
play();
}
frame 708 {
stop();
}
button 214 {
on (release) {
gotoAndPlay(758);
}
}
frame 709 {
play();
}
frame 731 {
stop();
}
button 216 {
on (release) {
gotoAndPlay(758);
}
}
frame 732 {
play();
}
frame 754 {
stop();
}
frame 755 {
play();
}
frame 777 {
stop();
}
frame 778 {
play();
}
frame 800 {
stop();
}
movieClip 224 {
}
button 225 {
on (release) {
nextFrame();
}
}
movieClip 227 {
}
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 238 {
on (release) {
_global.bernadettestats -= 5;
_root.barra.barra01._xscale -= 5;
_root.less._visible = true;
gotoAndPlay(964);
}
}
button 241 {
on (release) {
gotoAndPlay(941);
}
}
button 244 {
on (release) {
gotoAndPlay(941);
}
}
frame 938 {
play();
}
frame 960 {
stop();
}
button 246 {
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 {
if (_global.tuto1 == 1) {
_root.tuto1._visible = true;
_root.tuto1.gotoAndPlay(1);
_root.tutoclik1._visible = true;
_root.bernadet._visible = false;
_root.mapb._visible = false;
}
if (_global.tuto1 == 2) {
_root.tuto3._visible = true;
_root.tuto3.gotoAndPlay(1);
}
if (_global.tuto2 == 2) {
_root.tutoclik1._visible = true;
}
if (_global.tuto3 == 1) {
_root.tutoclik3._visible = true;
}
if (_global.tuto3 == 2) {
_root.tuto6._visible = true;
_root.bernadet._visible = false;
}
}
frame 1027 {
enemylife = 100;
_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 = thaystats;
'barra da thay';
_root.trishastatss.barratrisha.barratrisha01._xscale = scarletstats;
'barra da scarlet';
_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.days == 7) {
_root.text2._visible = true;
_root.battle._visible = true;
_root.enemybarra1._visible = true;
_root.saveb._visible = false;
_root.mapb._visible = false;
_root.bernadet._visible = false;
_root.blocked._visible = true;
}
if (_global.paint == 0) {
_root.paintwall.gotoAndStop(1);
}
if (_global.paint == 1) {
_root.paintwall.gotoAndStop(2);
}
if (_global.paint == 2) {
_root.paintwall.gotoAndStop(3);
}
if (_global.paint == 3) {
_root.paintwall.gotoAndStop(4);
}
if (_global.paint == 4) {
_root.paintwall.gotoAndStop(5);
}
}
frame 1027 {
if (_global.automaticgirl == 1) {
_root.automatic1._visible = true;
_root.automatic2._visible = true;
_root.automatic3._visible = true;
}
if (_global.room1clients == 0) {
_root.automatic1._visible = false;
}
if (_global.room2clients == 0) {
_root.automatic2._visible = false;
}
if (_global.room3clients == 0) {
_root.automatic3._visible = false;
}
if (_global.room1 == 2 & _global.p1dirt >= 100) {
_root.automatic1._visible = false;
}
if (_global.room1 == 3 & _global.p2dirt >= 100) {
_root.automatic1._visible = false;
}
if (_global.room1 == 4 & _global.p3dirt >= 100) {
_root.automatic1._visible = false;
}
if (_global.room1 == 5 & _global.p4dirt >= 100) {
_root.automatic1._visible = false;
}
if (_global.room1 == 6 & _global.p5dirt >= 100) {
_root.automatic1._visible = false;
}
if (_global.room1 == 7 & _global.p6dirt >= 100) {
_root.automatic1._visible = false;
}
if (_global.room1 == 8 & _global.p7dirt >= 100) {
_root.automatic1._visible = false;
}
if (_global.room1 == 9 & _global.p8dirt >= 100) {
_root.automatic1._visible = false;
}
if (_global.room1 == 10 & _global.p9dirt >= 100) {
_root.automatic1._visible = false;
}
if (_global.room1 == 11 & _global.p10dirt >= 100) {
_root.automatic1._visible = false;
}
if (_global.room1 == 12 & _global.p11dirt >= 100) {
_root.automatic1._visible = false;
}
if (_global.room1 == 13 & _global.p12dirt >= 100) {
_root.automatic1._visible = false;
}
if (_global.room2 == 2 & _global.p1dirt >= 100) {
_root.automatic2._visible = false;
}
if (_global.room2 == 3 & _global.p2dirt >= 100) {
_root.automatic2._visible = false;
}
if (_global.room2 == 4 & _global.p3dirt >= 100) {
_root.automatic2._visible = false;
}
if (_global.room2 == 5 & _global.p4dirt >= 100) {
_root.automatic2._visible = false;
}
if (_global.room2 == 6 & _global.p5dirt >= 100) {
_root.automatic2._visible = false;
}
if (_global.room2 == 7 & _global.p6dirt >= 100) {
_root.automatic2._visible = false;
}
if (_global.room2 == 8 & _global.p7dirt >= 100) {
_root.automatic2._visible = false;
}
if (_global.room2 == 9 & _global.p8dirt >= 100) {
_root.automatic2._visible = false;
}
if (_global.room2 == 10 & _global.p9dirt >= 100) {
_root.automatic2._visible = false;
}
if (_global.room2 == 11 & _global.p10dirt >= 100) {
_root.automatic2._visible = false;
}
if (_global.room2 == 12 & _global.p11dirt >= 100) {
_root.automatic2._visible = false;
}
if (_global.room2 == 13 & _global.p12dirt >= 100) {
_root.automatic2._visible = false;
}
if (_global.room3 == 2 & _global.p1dirt >= 100) {
_root.automatic3._visible = false;
}
if (_global.room3 == 3 & _global.p2dirt >= 100) {
_root.automatic3._visible = false;
}
if (_global.room3 == 4 & _global.p3dirt >= 100) {
_root.automatic3._visible = false;
}
if (_global.room3 == 5 & _global.p4dirt >= 100) {
_root.automatic3._visible = false;
}
if (_global.room3 == 6 & _global.p5dirt >= 100) {
_root.automatic3._visible = false;
}
if (_global.room3 == 7 & _global.p6dirt >= 100) {
_root.automatic3._visible = false;
}
if (_global.room3 == 8 & _global.p7dirt >= 100) {
_root.automatic3._visible = false;
}
if (_global.room3 == 9 & _global.p8dirt >= 100) {
_root.automatic3._visible = false;
}
if (_global.room3 == 10 & _global.p9dirt >= 100) {
_root.automatic3._visible = false;
}
if (_global.room3 == 11 & _global.p10dirt >= 100) {
_root.automatic3._visible = false;
}
if (_global.room3 == 12 & _global.p11dirt >= 100) {
_root.automatic3._visible = false;
}
if (_global.room3 == 13 & _global.p12dirt >= 100) {
_root.automatic3._visible = false;
}
}
frame 1027 {
if (_global.team == 1) {
_root.bernadet._visible = false;
_root.team._visible = true;
_root.team.bernteam._visible = true;
}
if (_global.team == 2) {
_root.susan._visible = false;
_root.team._visible = true;
_root.team.susanteam._visible = true;
}
if (_global.team == 3) {
_root.skarlet._visible = false;
_root.team._visible = true;
_root.team.skarteam._visible = true;
}
if (_global.team == 4) {
_root.team._visible = true;
_root.team.demonteam._visible = true;
}
}
movieClip 255 {
frame 1 {
stop();
}
frame 2 {
stop();
}
frame 3 {
stop();
}
frame 4 {
stop();
}
frame 5 {
stop();
}
}
movieClip 258 {
}
movieClip 260 {
}
movieClip 266 {
frame 1 {
if (_global.clothbern == 1) {
this.cloth1._visible = true;
}
if (_global.clothbern == 2) {
this.cloth2._visible = true;
}
}
}
movieClip 267 {
}
instance bernadet of movieClip 267 {
onClipEvent (release) {
_root.berndialog._visible = true;
if (_global.bernadettestats >= 100) {
_root.need._visible = true;
_root.berndialog.gotoAndStop(2);
}
}
}
movieClip 271 {
}
button 272 {
on (release) {
if (_global.room1 <= 1) {
gotoAndStop(1097);
}
if (_global.room1 >= 2) {
gotoAndStop(1098);
}
}
}
movieClip 276 {
}
// unknown tag 88 length 67
button 281 {
on (release) {
_root.window1._visible = true;
}
}
button 282 {
on (release) {
if (_global.room2 <= 1) {
gotoAndStop(1131);
}
if (_global.room2 >= 2) {
gotoAndStop(1132);
}
}
}
button 283 {
on (release) {
if (_global.room3 <= 1) {
gotoAndStop(1137);
}
if (_global.room3 >= 2) {
gotoAndStop(1138);
}
}
}
movieClip 285 {
}
button 288 {
on (release) {
if (_global.tuto1 == 0) {
_root.window3._visible = true;
}
}
}
button 293 {
on (release) {
if (_global.tuto1 == 0) {
gotoAndStop(1053);
}
}
}
movieClip 295 {
}
button 298 {
on (release) {
if (_global.tuto1 == 0) {
_root.window2._visible = true;
}
}
}
button 299 {
on (release) {
gotoAndStop(1460);
}
}
movieClip 301 {
}
button 304 {
on (release) {
if (_global.tuto1 == 0) {
_root.windowbr._visible = true;
}
}
}
button 308 {
on (release) {
if (_global.doblegirl == 0) {
if (_global.room1 >= 2) {
if (_global.room1clients == 1) {
_global.money += 20;
_root.moneyplayer.text = money;
_global.room1clients = 0;
_root.automatic1._visible = false;
}
if (_global.room1clients == 2) {
_global.money += 40;
_root.moneyplayer.text = money;
_global.room1clients = 0;
_root.automatic1._visible = false;
}
if (_global.room1clients == 3) {
_global.money += 60;
_root.moneyplayer.text = money;
_global.room1clients = 0;
_root.automatic1._visible = false;
}
if (_global.room1clients == 4) {
_global.money += 80;
_root.moneyplayer.text = money;
_global.room1clients = 0;
_root.automatic1._visible = false;
}
}
}
if (_global.doblegirl == 1) {
if (_global.room1 >= 2) {
if (_global.room1clients == 1) {
_global.money += 40;
_root.moneyplayer.text = money;
_global.room1clients = 0;
_root.automatic1._visible = false;
}
if (_global.room1clients == 2) {
_global.money += 80;
_root.moneyplayer.text = money;
_global.room1clients = 0;
_root.automatic1._visible = false;
}
if (_global.room1clients == 3) {
_global.money += 120;
_root.moneyplayer.text = money;
_global.room1clients = 0;
_root.automatic1._visible = false;
}
if (_global.room1clients == 4) {
_global.money += 160;
_root.moneyplayer.text = money;
_global.room1clients = 0;
_root.automatic1._visible = false;
}
}
}
if (_global.triplegirl == 1) {
if (_global.room1 >= 2) {
if (_global.room1clients == 1) {
_global.money += 60;
_root.moneyplayer.text = money;
_global.room1clients = 0;
_root.automatic1._visible = false;
}
if (_global.room1clients == 2) {
_global.money += 120;
_root.moneyplayer.text = money;
_global.room1clients = 0;
_root.automatic1._visible = false;
}
if (_global.room1clients == 3) {
_global.money += 180;
_root.moneyplayer.text = money;
_global.room1clients = 0;
_root.automatic1._visible = false;
}
if (_global.room1clients == 4) {
_global.money += 240;
_root.moneyplayer.text = money;
_global.room1clients = 0;
_root.automatic1._visible = false;
}
}
}
}
}
button 309 {
on (release) {
if (_global.doblegirl == 0) {
if (_global.room2 >= 2) {
if (_global.room2clients == 1) {
_global.money += 20;
_root.moneyplayer.text = money;
_global.room2clients = 0;
_root.automatic2._visible = false;
}
if (_global.room2clients == 2) {
_global.money += 40;
_root.moneyplayer.text = money;
_global.room2clients = 0;
_root.automatic2._visible = false;
}
if (_global.room2clients == 3) {
_global.money += 60;
_root.moneyplayer.text = money;
_global.room2clients = 0;
_root.automatic2._visible = false;
}
if (_global.room2clients == 4) {
_global.money += 80;
_root.moneyplayer.text = money;
_global.room2clients = 0;
_root.automatic2._visible = false;
}
}
}
if (_global.doblegirl == 1) {
if (_global.room2 >= 2) {
if (_global.room2clients == 1) {
_global.money += 40;
_root.moneyplayer.text = money;
_global.room2clients = 0;
_root.automatic2._visible = false;
}
if (_global.room2clients == 2) {
_global.money += 80;
_root.moneyplayer.text = money;
_global.room2clients = 0;
_root.automatic2._visible = false;
}
if (_global.room2clients == 3) {
_global.money += 120;
_root.moneyplayer.text = money;
_global.room2clients = 0;
_root.automatic2._visible = false;
}
if (_global.room2clients == 4) {
_global.money += 160;
_root.moneyplayer.text = money;
_global.room2clients = 0;
_root.automatic2._visible = false;
}
}
}
if (_global.triplegirl == 1) {
if (_global.room2 >= 2) {
if (_global.room2clients == 1) {
_global.money += 60;
_root.moneyplayer.text = money;
_global.room2clients = 0;
_root.automatic2._visible = false;
}
if (_global.room2clients == 2) {
_global.money += 120;
_root.moneyplayer.text = money;
_global.room2clients = 0;
_root.automatic2._visible = false;
}
if (_global.room2clients == 3) {
_global.money += 180;
_root.moneyplayer.text = money;
_global.room2clients = 0;
_root.automatic2._visible = false;
}
if (_global.room2clients == 4) {
_global.money += 240;
_root.moneyplayer.text = money;
_global.room2clients = 0;
_root.automatic2._visible = false;
}
}
}
}
}
button 310 {
on (release) {
if (_global.doblegirl == 0) {
if (_global.room3 >= 2) {
if (_global.room3clients == 1) {
_global.money += 20;
_root.moneyplayer.text = money;
_global.room3clients = 0;
_root.automatic3._visible = false;
}
if (_global.room3clients == 2) {
_global.money += 40;
_root.moneyplayer.text = money;
_global.room3clients = 0;
_root.automatic3._visible = false;
}
if (_global.room3clients == 3) {
_global.money += 60;
_root.moneyplayer.text = money;
_global.room3clients = 0;
_root.automatic3._visible = false;
}
if (_global.room3clients == 4) {
_global.money += 80;
_root.moneyplayer.text = money;
_global.room3clients = 0;
_root.automatic3._visible = false;
}
}
}
if (_global.doblegirl == 1) {
if (_global.room3 >= 2) {
if (_global.room3clients == 1) {
_global.money += 40;
_root.moneyplayer.text = money;
_global.room3clients = 0;
_root.automatic3._visible = false;
}
if (_global.room3clients == 2) {
_global.money += 80;
_root.moneyplayer.text = money;
_global.room3clients = 0;
_root.automatic3._visible = false;
}
if (_global.room3clients == 3) {
_global.money += 120;
_root.moneyplayer.text = money;
_global.room3clients = 0;
_root.automatic3._visible = false;
}
if (_global.room3clients == 4) {
_global.money += 160;
_root.moneyplayer.text = money;
_global.room3clients = 0;
_root.automatic3._visible = false;
}
}
}
if (_global.triplegirl == 1) {
if (_global.room3 >= 2) {
if (_global.room3clients == 1) {
_global.money += 60;
_root.moneyplayer.text = money;
_global.room3clients = 0;
_root.automatic3._visible = false;
}
if (_global.room3clients == 2) {
_global.money += 120;
_root.moneyplayer.text = money;
_global.room3clients = 0;
_root.automatic3._visible = false;
}
if (_global.room3clients == 3) {
_global.money += 180;
_root.moneyplayer.text = money;
_global.room3clients = 0;
_root.automatic3._visible = false;
}
if (_global.room3clients == 4) {
_global.money += 240;
_root.moneyplayer.text = money;
_global.room3clients = 0;
_root.automatic3._visible = false;
}
}
}
}
}
movieClip 318 {
}
movieClip 320 {
}
movieClip 327 {
}
movieClip 331 {
}
movieClip 333 {
}
movieClip 339 {
}
movieClip 341 {
}
movieClip 344 {
}
movieClip 346 {
}
movieClip 355 {
}
button 360 {
on (release) {
if (_global.tuto1 == 0) {
_root.window4._visible = true;
}
}
}
movieClip 363 {
}
button 364 {
on (release) {
if (_global.tuto1 == 0) {
gotoAndStop(1461);
}
}
}
button 369 {
on (release) {
_root.battle.gotoAndPlay(3);
_root.atk._visible = false;
_root.skill._visible = false;
}
}
movieClip 376 {
}
movieClip 378 {
}
movieClip 381 {
}
movieClip 383 {
}
movieClip 389 {
frame 1 {
stop();
}
frame 2 {
stop();
}
frame 3 {
stop();
}
frame 4 {
stop();
}
}
movieClip 392 {
frame 1 {
stop();
}
frame 2 {
stop();
}
frame 3 {
stop();
}
frame 4 {
stop();
}
}
movieClip 397 {
frame 1 {
stop();
}
frame 2 {
stop();
}
frame 3 {
stop();
}
frame 4 {
stop();
}
}
movieClip 398 {
frame 1 {
if (_global.hair == 1) {
this.hair.gotoAndStop(1);
}
if (_global.hair == 2) {
this.hair.gotoAndStop(2);
}
if (_global.hair == 3) {
this.hair.gotoAndStop(3);
}
if (_global.hair == 4) {
this.hair.gotoAndStop(4);
}
if (_global.body == 1) {
this.body.gotoAndStop(1);
}
if (_global.body == 2) {
this.body.gotoAndStop(2);
}
if (_global.body == 3) {
this.body.gotoAndStop(3);
}
if (_global.body == 4) {
this.body.gotoAndStop(4);
}
if (_global.shirt == 1) {
this.shirt.gotoAndStop(1);
}
if (_global.shirt == 2) {
this.shirt.gotoAndStop(2);
}
if (_global.shirt == 3) {
this.shirt.gotoAndStop(3);
}
if (_global.shirt == 4) {
this.shirt.gotoAndStop(4);
}
}
}
movieClip 400 {
frame 1 {
if (_global.baseball == 1) {
_root.battle.player.bat._visible = true;
}
}
frame 15 {
if (_global.baseball == 1) {
_root.battle.player.bat._visible = true;
}
}
frame 27 {
if (_global.baseball == 1) {
_root.battle.player.bat._visible = true;
}
}
}
movieClip 417 {
frame 13 {
if (_root.shieldative == 0) {
_global.playervida -= 28;
_root.barravida.barravida01._xscale -= 28;
}
if (_root.shieldative >= 1) {
_root.shieldskill._visible = false;
_root.shieldative = 0;
}
if (_global.playervida <= 0) {
_root.battle._visible = false;
_root.atk._visible = false;
_root.skill._visible = false;
_root.exit1._visible = false;
_root.map1._visible = false;
_root.yad._visible = true;
_root.exit2._visible = true;
_root.enemybarra1._visible = false;
_root.barravida._visible = false;
_root.saveicon._visible = false;
}
}
frame 16 {
_root.atk._visible = true;
_root.skill._visible = true;
_root.battle.gotoAndPlay(1);
}
}
movieClip 423 {
}
movieClip 427 {
}
movieClip 439 {
frame 1 {
stop();
}
frame 2 {
stop();
}
frame 3 {
stop();
}
frame 4 {
stop();
}
}
movieClip 444 {
frame 1 {
stop();
}
frame 2 {
stop();
}
frame 3 {
stop();
}
frame 4 {
stop();
}
}
movieClip 447 {
frame 1 {
stop();
}
frame 2 {
stop();
}
frame 3 {
stop();
}
frame 4 {
stop();
}
}
movieClip 448 {
frame 1 {
if (_global.hair == 1) {
this.hair.gotoAndStop(1);
}
if (_global.hair == 2) {
this.hair.gotoAndStop(2);
}
if (_global.hair == 3) {
this.hair.gotoAndStop(3);
}
if (_global.hair == 4) {
this.hair.gotoAndStop(4);
}
if (_global.body == 1) {
this.body.gotoAndStop(1);
}
if (_global.body == 2) {
this.body.gotoAndStop(2);
}
if (_global.body == 3) {
this.body.gotoAndStop(3);
}
if (_global.body == 4) {
this.body.gotoAndStop(4);
}
if (_global.shirt == 1) {
this.shirt.gotoAndStop(1);
}
if (_global.shirt == 2) {
this.shirt.gotoAndStop(2);
}
if (_global.shirt == 3) {
this.shirt.gotoAndStop(3);
}
if (_global.shirt == 4) {
this.shirt.gotoAndStop(4);
}
}
}
movieClip 459 {
frame 1 {
stop();
}
frame 2 {
stop();
}
frame 3 {
stop();
}
frame 4 {
stop();
}
}
movieClip 464 {
frame 1 {
stop();
}
frame 2 {
stop();
}
frame 3 {
stop();
}
frame 4 {
stop();
}
}
movieClip 467 {
frame 1 {
stop();
}
frame 2 {
stop();
}
frame 3 {
stop();
}
frame 4 {
stop();
}
}
movieClip 468 {
frame 1 {
if (_global.hair == 1) {
this.hair.gotoAndStop(1);
}
if (_global.hair == 2) {
this.hair.gotoAndStop(2);
}
if (_global.hair == 3) {
this.hair.gotoAndStop(3);
}
if (_global.hair == 4) {
this.hair.gotoAndStop(4);
}
if (_global.body == 1) {
this.body.gotoAndStop(1);
}
if (_global.body == 2) {
this.body.gotoAndStop(2);
}
if (_global.body == 3) {
this.body.gotoAndStop(3);
}
if (_global.body == 4) {
this.body.gotoAndStop(4);
}
if (_global.shirt == 1) {
this.shirt.gotoAndStop(1);
}
if (_global.shirt == 2) {
this.shirt.gotoAndStop(2);
}
if (_global.shirt == 3) {
this.shirt.gotoAndStop(3);
}
if (_global.shirt == 4) {
this.shirt.gotoAndStop(4);
}
}
}
movieClip 474 {
frame 13 {
_root.enemylife -= 10;
_root.enemybarra1.enemybarra01._xscale -= 10;
if (_global.baseball == 1) {
_root.enemylife -= 15;
_root.enemybarra1.enemybarra01._xscale -= 15;
}
}
frame 18 {
if (_root.enemylife <= 0) {
_root.battle.gotoAndPlay(4);
_root.atk._visible = false;
_root.enemybarra1._visible = false;
}
if (_root.enemylife >= 1) {
_root.battle.gotoAndPlay(2);
}
}
}
movieClip 491 {
frame 16 {
_root.rec._visible = true;
_root.take._visible = true;
_root.text5._visible = true;
stop();
}
}
movieClip 492 {
frame 1 {
if (_global.baseball == 1) {
_root.battle.player.bat._visible = true;
}
stop();
}
frame 2 {
if (_global.baseball == 1) {
_root.battle.player.bat._visible = true;
}
stop();
}
frame 3 {
if (_global.baseball == 1) {
_root.battle.player.bat._visible = true;
}
stop();
}
frame 4 {
if (_global.baseball == 1) {
_root.battle.player.bat._visible = true;
}
stop();
}
}
movieClip 494 {
}
button 499 {
on (release) {
if (_global.money >= 40) {
_global.money -= 40;
_root.moneyplayer.text = money;
_root.battle._visible = false;
_root.backp._visible = false;
_root.paybutton._visible = false;
_root.fightbutton._visible = false;
_root.text6._visible = true;
} else {
_root.text3._visible = true;
_root.backp._visible = false;
_root.paybutton._visible = false;
_root.fightbutton._visible = false;
}
}
}
button 504 {
on (release) {
_root.text4._visible = true;
_root.atk._visible = true;
_root.skill._visible = true;
_root.backp._visible = false;
_root.paybutton._visible = false;
_root.fightbutton._visible = false;
}
}
movieClip 507 {
}
movieClip 509 {
}
movieClip 510 {
frame 25 {
stop();
}
frame 26 {
_root.text3._visible = false;
_root.atk._visible = true;
_root.skill._visible = true;
}
}
instance text3 of movieClip 510 {
onClipEvent (