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
frame 2 {
_global.nameplayer = 'Jhon';
var savefile = SharedObject.getLocal('myBrothel');
stop();
fscommand('allowscale', 'false');
}
movieClip 11 {
}
movieClip 13 {
frame 1 {
stop();
}
frame 2 {
stop();
}
}
movieClip 18 {
}
button 19 {
on (release) {
getURL('https://www.patreon.com/mybrothel', '_blank');
}
}
// unknown tag 88 length 217
button 24 {
on (release) {
stopAllSounds();
gotoAndStop(3);
}
}
button 26 {
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.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.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.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;
gotoAndStop(1053);
} else {
stop();
}
}
}
button 28 {
on (release) {
gotoAndStop(4);
}
}
button 30 {
on (release) {
gotoAndStop(5);
}
}
// unknown tag 88 length 78
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();
}
// unknown tag 88 length 61
button 40 {
on (release) {
_global.savestage = 1;
_global.nameplayer = nameplayerbox.text;
_global.money = 250;
'250';
_global.playervida = 100;
_global.nursestats = 10;
_global.bernadettestats = 20;
_global.scarletstats = 10;
_global.trishastats = 30;
_global.elisabethstats = 90;
_global.nurse = 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.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.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;
gotoAndPlay(6);
}
}
movieClip 44 {
}
movieClip 46 {
}
button 55 {
on (release) {
gotoAndStop(2);
}
}
frame 6 {
play();
}
movieClip 66 {
}
frame 59 {
stop();
}
movieClip 71 {
}
button 73 {
on (release) {
nextFrame();
}
}
button 76 {
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 92 {
on (release) {
gotoAndStop(307);
}
}
frame 306 {
gotoAndStop(307);
}
frame 307 {
play();
}
movieClip 96 {
}
movieClip 111 {
}
movieClip 114 {
}
movieClip 115 {
frame 18 {
this._visible = false;
}
}
frame 326 {
_root.barra.barra01._xscale = bernadettestats;
}
frame 326 {
stop();
}
movieClip 119 {
}
movieClip 120 {
}
movieClip 122 {
frame 37 {
this._visible = false;
}
}
movieClip 124 {
frame 35 {
this._visible = false;
}
}
frame 327 {
play();
}
frame 330 {
play();
}
frame 330 {
_root.playernametext = nameplayer;
}
movieClip 131 {
}
frame 350 {
stop();
}
frame 351 {
play();
}
frame 354 {
_root.nameplayerintalk = nameplayer;
}
frame 373 {
stop();
}
frame 374 {
play();
}
frame 377 {
stop();
}
button 141 {
on (release) {
_global.bernadettestats += 10;
_root.barra.barra01._xscale += 10;
_root.more._visible = true;
gotoAndPlay(381);
}
}
button 144 {
on (release) {
gotoAndPlay(404);
}
}
button 147 {
on (release) {
_global.bernadettestats -= 5;
_root.barra.barra01._xscale -= 5;
_root.less._visible = true;
gotoAndPlay(427);
}
}
frame 378 {
play();
}
frame 400 {
stop();
}
button 149 {
on (release) {
gotoAndPlay(447);
}
}
frame 401 {
play();
}
frame 423 {
stop();
}
frame 424 {
play();
}
frame 446 {
stop();
}
frame 447 {
play();
}
frame 469 {
stop();
}
button 154 {
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 164 {
on (release) {
_global.bernadettestats += 10;
_root.barra.barra01._xscale += 10;
_root.more._visible = true;
gotoAndPlay(570);
}
}
button 167 {
on (release) {
gotoAndPlay(593);
}
}
button 170 {
on (release) {
_global.bernadettestats -= 5;
_root.barra.barra01._xscale -= 5;
_root.less._visible = true;
gotoAndPlay(616);
}
}
frame 567 {
play();
}
frame 589 {
stop();
}
button 173 {
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 182 {
on (release) {
gotoAndPlay(712);
}
}
button 185 {
on (release) {
_global.bernadettestats -= 5;
_root.barra.barra01._xscale -= 5;
_root.less._visible = true;
gotoAndPlay(735);
}
}
button 188 {
on (release) {
_global.bernadettestats += 10;
_root.barra.barra01._xscale += 10;
_root.more._visible = true;
gotoAndPlay(689);
}
}
frame 686 {
play();
}
frame 708 {
stop();
}
button 190 {
on (release) {
gotoAndPlay(758);
}
}
frame 709 {
play();
}
frame 731 {
stop();
}
button 192 {
on (release) {
gotoAndPlay(758);
}
}
frame 732 {
play();
}
frame 754 {
stop();
}
frame 755 {
play();
}
frame 777 {
stop();
}
frame 778 {
play();
}
frame 800 {
stop();
}
movieClip 200 {
}
button 201 {
on (release) {
nextFrame();
}
}
movieClip 203 {
}
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 214 {
on (release) {
_global.bernadettestats -= 5;
_root.barra.barra01._xscale -= 5;
_root.less._visible = true;
gotoAndPlay(964);
}
}
button 217 {
on (release) {
gotoAndPlay(941);
}
}
button 220 {
on (release) {
gotoAndPlay(941);
}
}
frame 938 {
play();
}
frame 960 {
stop();
}
button 222 {
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 {
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 = amystats;
_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.tuto1 == 1) {
_root.tutoclik1._visible = true;
}
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;
}
}
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;
}
}
movieClip 235 {
}
button 236 {
on (release) {
_root.berndialog._visible = true;
if (_global.bernadettestats >= 100) {
_root.need._visible = true;
_root.berndialog.gotoAndStop(2);
}
}
}
movieClip 240 {
}
button 241 {
on (release) {
if (_global.room2 <= 1) {
gotoAndStop(1131);
}
if (_global.room2 >= 2) {
gotoAndStop(1132);
}
}
}
button 242 {
on (release) {
if (_global.room3 <= 1) {
gotoAndStop(1137);
}
if (_global.room3 >= 2) {
gotoAndStop(1138);
}
}
}
button 243 {
on (release) {
if (_global.room1 <= 1) {
gotoAndStop(1097);
}
if (_global.room1 >= 2) {
gotoAndStop(1098);
}
}
}
movieClip 247 {
}
// unknown tag 88 length 67
button 252 {
on (release) {
_root.window3._visible = true;
}
}
button 257 {
on (release) {
gotoAndStop(1053);
}
}
movieClip 259 {
}
button 262 {
on (release) {
_root.window2._visible = true;
}
}
movieClip 264 {
}
button 267 {
on (release) {
_root.window1._visible = true;
_global.tuto1 = 0;
_root.tutoclik1._visible = false;
}
}
button 268 {
on (release) {
gotoAndStop(1455);
}
}
movieClip 270 {
}
button 273 {
on (release) {
_root.windowbr._visible = true;
}
}
button 277 {
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 278 {
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 279 {
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 287 {
}
movieClip 289 {
}
movieClip 296 {
}
movieClip 300 {
}
movieClip 302 {
}
movieClip 310 {
}
movieClip 312 {
}
movieClip 315 {
}
movieClip 317 {
}
movieClip 326 {
}
button 331 {
on (release) {
_root.window4._visible = true;
}
}
movieClip 334 {
}
button 335 {
on (release) {
gotoAndStop(1456);
}
}
button 340 {
on (release) {
_root.battle.gotoAndPlay(3);
_root.atk._visible = false;
_root.skill._visible = false;
}
}
movieClip 348 {
}
movieClip 350 {
}
movieClip 353 {
}
movieClip 355 {
}
movieClip 358 {
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 375 {
frame 13 {
_global.playervida -= 28;
_root.barravida.barravida01._xscale -= 28;
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 381 {
}
movieClip 385 {
}
movieClip 404 {
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 421 {
frame 16 {
_root.rec._visible = true;
_root.take._visible = true;
_root.text5._visible = true;
stop();
}
}
movieClip 422 {
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 424 {
}
button 429 {
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 434 {
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 437 {
}
movieClip 439 {
}
movieClip 440 {
frame 25 {
stop();
}
frame 26 {
_root.text3._visible = false;
_root.atk._visible = true;
_root.skill._visible = true;
}
}
instance text3 of movieClip 440 {
onClipEvent (