Frame 1
stop();
stop();
Instance of Symbol 76 MovieClip "mouse" in Frame 1
onClipEvent (enterFrame) {
this._x = _root._xmouse;
this._y = _root._ymouse;
Mouse.hide();
}
Instance of Symbol 79 MovieClip in Frame 1
onClipEvent (load) {
}
onClipEvent (enterFrame) {
a = _root.getBytesTotal();
b = _root.getBytesLoaded();
c = Math.ceil((b / a) * 100) + "%";
d = (b / a) * 100;
if (d == 100) {
_root.gotoAndStop(2);
}
if (_root._framesloaded == _root._totalframes) {
_root.gotoAndStop(2);
}
}
Frame 2
function resetConfig() {
config.lemons = 0;
config.ads = 0;
config.cups = 0;
config.ice = 0;
config.water = 0;
config.sugar = 0;
}
stop();
goal4Day = 200;
maxDay = 30;
day = 1;
Name = "";
money = 10;
weather = workArround.stat;
garbage = "";
reputation = 0;
lemons = 0;
cups = 0;
ice = 0;
sugar = 0;
water = 0;
ads = 0;
score = 10;
sellPrice = 0.15;
needed = 0;
neededIce = 0;
neededLemons = 0;
neededCups = 0;
neededWater = 0;
neededSugar = 0;
alert = "";
city = 1;
beach = 0;
houses = 0;
park = 0;
minMax4bb = "maximize";
Instance of Symbol 116 MovieClip "workAround" in Frame 3
onClipEvent (load) {
function weatherChange() {
weather = Math.ceil(Math.random() * 3);
if (weather == 1) {
_root.weather2.gotoAndStop(1);
_root.weather = "Sunny";
stat = "Sunny";
}
if (weather == 2) {
_root.weather2.gotoAndStop(2);
_root.weather = "Cloudy";
stat = "Cloudy";
}
if (weather == 3) {
_root.weather2.gotoAndStop(3);
_root.weather = "Rainy";
stat = "Rainy";
}
}
function ingredient() {
if (_root.lemons <= 0) {
_root.needed = 1;
}
if (_root.ice <= 0) {
_root.needed = 1;
}
if (_root.water <= 0) {
_root.needed = 1;
}
if (_root.cups <= 0) {
_root.needed = 1;
}
if (_root.sugar <= 0) {
_root.needed = 1;
}
}
function ingredientOpp() {
if (_root.lemons > 0) {
_root.neededLemons = 0;
}
if (_root.ice > 0) {
_root.neededIce = 0;
}
if (_root.water > 0) {
_root.neededWater = 0;
}
if (_root.cups > 0) {
_root.neededCups = 0;
}
if (_root.sugar > 0) {
_root.neededSugar = 0;
}
}
stat = "";
aDay = 0;
cheat = "";
weatherChange();
i = 0;
}
onClipEvent (enterFrame) {
if (cheat == "ididit") {
_root.gotoAndStop(9);
}
if (cheat == "blingblingbaby") {
_root.money++;
}
if (cheat == "igotanf") {
_root.gotoAndStop(8);
}
if (_root._currentframe == 3) {
if (_root.day == _root.maxDay) {
if (_root._currentframe == 3) {
if (_root.score > this.goalScore) {
_root.gotoAndStop(9);
}
}
}
if (_root.day == _root.maxDay) {
if (_root.score < this.goalScore) {
_root.gotoAndStop(8);
}
}
}
if (_root.sugar < 0) {
_root.sugar = 0;
}
if (_root.lemons < 0) {
_root.lemons = 0;
}
if (_root.cups < 0) {
_root.cups = 0;
}
if (_root.water < 0) {
_root.water = 0;
}
if (_root.ice < 0) {
_root.ice = 0;
}
if (_root._currentframe != 3) {
if (_root.needed == 1) {
aDay = 0;
_root.day = _root.day + 1;
_root.alert2 = "You are short on some ingredients, buy some more.";
_root.gotoAndStop(3);
} else {
_root.alert2 = "";
}
}
daysLeft = _root.maxDay - _root.day;
goalScore = _root.maxDay * _root.goal4Day;
if (_root.maxDay == String) {
_root.maxDay = 30;
}
if (_root.maxDay > 365) {
_root.maxDay = 365;
}
if (_root.maxDay < 5) {
_root.maxDay = 5;
}
if (_root.neededSugar == 0) {
if (_root.neededCups == 0) {
if (_root.neededWater == 0) {
if (_root.neededIce == 0) {
if (_root.neededLemons == 0) {
_root.needed = 0;
}
}
}
}
}
if (_root._currentframe == 3) {
if (i == 0) {
weatherChange();
i = 1;
}
}
if (_root._currentframe != 3) {
i = 0;
}
if (_root.money < 0) {
_root.money = 0;
}
if (_root.money < 0) {
gotoAndStop (8);
}
ingredient();
if (_root._currentframe >= 4) {
aDay = aDay + 1;
if (aDay == 1920) {
_root.gotoAndStop(3);
_root.day++;
aDay = 0;
_root.ads = _root.ads - Math.ceil(_root.ads / 2);
}
}
if (_root.score < 0) {
_root.gotoAndStop(8);
}
}
Instance of Symbol 71 MovieClip [config] "config" in Frame 3
onClipEvent (load) {
this._visible = 0;
this._x = 259;
this._y = 192;
stop();
}
onClipEvent (enterFrame) {
if (this._visible == 0) {
totalIngredientCost = 0;
}
}
Instance of Symbol 142 MovieClip "map" in Frame 3
onClipEvent (load) {
this._visible = 0;
this._x = 300;
this._y = 275;
stop();
}
Instance of Symbol 145 MovieClip "help" in Frame 3
onClipEvent (load) {
this._visible = 0;
this._x = 300;
this._y = 275;
stop();
}
Frame 4
numberOfPerson = 1 * Math.ceil(1 * (_root.ads / 6));
if (_root.weather2._currentframe == 1) {
numberOfPerson = numberOfPerson + 2;
}
if (_root.weather2._currentframe == 2) {
numberOfPerson = numberOfPerson + 1;
}
if (_root.weather2._currentframe == 3) {
numberOfPerson = numberOfPerson + -3;
}
i = 0;
while (i < numberOfPerson) {
person.duplicateMovieClip("person" + i, i + 100);
i++;
}
Instance of Symbol 227 MovieClip "person" in Frame 4
onClipEvent (load) {
function reset() {
isBought = 0;
alert = "";
maxMoney = 1;
money = Math.random() * maxMoney;
stopPosition = Math.ceil((Math.random() * 200) + 200);
stopPosition2 = Math.ceil((Math.random() * 200) + 200);
stopPosition3 = Math.ceil((Math.random() * 200) + 200);
stopPosition4 = Math.ceil((Math.random() * 200) + 200);
stopPosition5 = Math.ceil((Math.random() * 200) + 200);
stopPosition6 = Math.ceil((Math.random() * 200) + 200);
stopPosition7 = Math.ceil((Math.random() * 200) + 200);
stopPosition8 = Math.ceil((Math.random() * 200) + 200);
stopPosition9 = Math.ceil((Math.random() * 200) + 200);
stopPosition10 = Math.ceil((Math.random() * 200) + 200);
speed = Math.ceil(Math.random() * 13) + 2;
if (money < _root.sellPrice) {
ammount2buy = 0;
_root.score = _root.score - 2;
this.alert = "Too Expensive!!!";
} else {
ammount2buy = Math.ceil(money / _root.sellPrice);
}
ammountBought = 0;
this._y = 310;
randomNumber1 = Math.ceil(Math.random() * 1) + 1;
if (randomNumber1 == 2) {
this._x = Math.ceil(Math.random() * 100) - 100;
}
if (randomNumber1 == 1) {
this._x = Stage.width;
}
random2value = 100;
randomNumber2 = Math.ceil(Math.random() * random2value) - 100;
}
reset();
}
onClipEvent (enterFrame) {
function personBuy() {
if (ammount2buy > ammountBought) {
money = money - _root.sellPrice;
_root.money = _root.money + _root.sellPrice;
ammountBought++;
_root.score++;
if (isBought == 0) {
_root.lemons = _root.lemons - 2;
_root.ice = _root.ice - 2;
_root.cups = _root.cups - 1;
_root.sugar = _root.sugar - 1;
_root.water = _root.water - 3;
isBought = 1;
}
}
if (ammount2buy <= ammountBought) {
gotoAndStop (3);
random2value--;
}
}
function checkHit() {
if (this._x > (Stage.width + 100)) {
reset();
}
if (this._x < -100) {
reset();
}
}
if (_root._currentframe == 3) {
this.removeMovieClip();
}
checkHit();
if (this.randomNumber1 == 1) {
if (this._x == stopPosition) {
this._x = stopPosition;
gotoAndStop (3);
randomNumber2 = randomNumber2 + 1;
personBuy();
if (randomNumber2 >= random2value) {
this._x--;
gotoAndStop (2);
}
} else {
this._x = this._x - speed;
gotoAndStop (2);
}
}
if (this.randomNumber1 == 2) {
if (this._x == stopPosition) {
this._x = stopPosition;
if (this.ammountBought == 0) {
this.gotoAndStop(1);
} else {
gotoAndStop (3);
}
randomNumber2 = randomNumber2 + 1;
personBuy();
isBought = 1;
if (randomNumber2 >= random2value) {
this._x++;
gotoAndStop (2);
}
}
if (this._x == stopPosition2) {
this._x = stopPosition2;
if (this.ammountBought == 0) {
this.gotoAndStop(1);
} else {
gotoAndStop (3);
}
randomNumber2 = randomNumber2 + 1;
personBuy();
isBought = 1;
if (randomNumber2 >= random2value) {
this._x++;
gotoAndStop (2);
}
}
if (this._x == stopPosition3) {
this._x = stopPosition3;
if (this.ammountBought == 0) {
this.gotoAndStop(1);
} else {
gotoAndStop (3);
}
randomNumber2 = randomNumber2 + 1;
personBuy();
isBought = 1;
if (randomNumber2 >= random2value) {
this._x++;
gotoAndStop (2);
}
}
if (this._x == stopPosition4) {
this._x = stopPosition4;
if (this.ammountBought == 0) {
this.gotoAndStop(1);
} else {
gotoAndStop (3);
}
randomNumber2 = randomNumber2 + 1;
personBuy();
isBought = 1;
if (randomNumber2 >= random2value) {
this._x++;
gotoAndStop (2);
}
}
if (this._x == stopPosition5) {
this._x = stopPosition5;
if (this.ammountBought == 0) {
this.gotoAndStop(1);
} else {
gotoAndStop (3);
}
randomNumber2 = randomNumber2 + 1;
personBuy();
isBought = 1;
if (randomNumber2 >= random2value) {
this._x++;
gotoAndStop (2);
}
}
if (this._x == stopPosition6) {
this._x = stopPosition6;
if (this.ammountBought == 0) {
this.gotoAndStop(1);
} else {
gotoAndStop (3);
}
randomNumber2 = randomNumber2 + 1;
personBuy();
isBought = 1;
if (randomNumber2 >= random2value) {
this._x++;
gotoAndStop (2);
}
}
if (this._x == stopPosition7) {
this._x = stopPosition7;
if (this.ammountBought == 0) {
this.gotoAndStop(1);
} else {
gotoAndStop (3);
}
randomNumber2 = randomNumber2 + 1;
personBuy();
isBought = 1;
if (randomNumber2 >= random2value) {
this._x++;
gotoAndStop (2);
}
}
if (this._x == stopPosition8) {
this._x = stopPosition8;
if (this.ammountBought == 0) {
this.gotoAndStop(1);
} else {
gotoAndStop (3);
}
randomNumber2 = randomNumber2 + 1;
personBuy();
isBought = 1;
if (randomNumber2 >= random2value) {
this._x++;
gotoAndStop (2);
}
}
if (this._x == stopPosition9) {
this._x = stopPosition9;
if (this.ammountBought == 0) {
this.gotoAndStop(1);
} else {
gotoAndStop (3);
}
randomNumber2 = randomNumber2 + 1;
personBuy();
isBought = 1;
if (randomNumber2 >= random2value) {
this._x++;
gotoAndStop (2);
}
}
if (this._x == stopPosition10) {
this._x = stopPosition10;
if (this.ammountBought == 0) {
this.gotoAndStop(1);
} else {
gotoAndStop (3);
}
randomNumber2 = randomNumber2 + 1;
personBuy();
isBought = 1;
if (randomNumber2 >= random2value) {
this._x++;
gotoAndStop (2);
}
} else {
this._x = this._x + speed;
gotoAndStop (2);
}
}
}
Instance of Symbol 232 MovieClip "fmap" in Frame 4
onClipEvent (load) {
this._visible = 0;
this._x = 300;
this._y = 275;
stop();
}
Frame 5
numberOfPerson = 1 * Math.ceil(1 * (_root.ads / 6));
if (_root.weather2._currentframe == 1) {
numberOfPerson = numberOfPerson + 2;
}
if (_root.weather2._currentframe == 2) {
numberOfPerson = numberOfPerson + 1;
}
if (_root.weather2._currentframe == 3) {
numberOfPerson = numberOfPerson + -3;
}
i = 0;
while (i < numberOfPerson) {
person.duplicateMovieClip("person" + i, i + 100);
i++;
}
Instance of Symbol 269 MovieClip "person" in Frame 5
onClipEvent (load) {
function reset() {
isBought = 0;
alert = "";
maxMoney = 1;
money = Math.random() * maxMoney;
stopPosition = Math.ceil((Math.random() * 200) + 200);
stopPosition2 = Math.ceil((Math.random() * 200) + 200);
stopPosition3 = Math.ceil((Math.random() * 200) + 200);
stopPosition4 = Math.ceil((Math.random() * 200) + 200);
stopPosition5 = Math.ceil((Math.random() * 200) + 200);
stopPosition6 = Math.ceil((Math.random() * 200) + 200);
stopPosition7 = Math.ceil((Math.random() * 200) + 200);
stopPosition8 = Math.ceil((Math.random() * 200) + 200);
stopPosition9 = Math.ceil((Math.random() * 200) + 200);
stopPosition10 = Math.ceil((Math.random() * 200) + 200);
speed = Math.ceil(Math.random() * 13) + 2;
if (money < _root.sellPrice) {
ammount2buy = 0;
_root.score = _root.score - 2;
this.alert = "Too Expensive!!!";
} else {
ammount2buy = Math.ceil(money / _root.sellPrice);
}
ammountBought = 0;
this._y = 310;
randomNumber1 = Math.ceil(Math.random() * 1) + 1;
if (randomNumber1 == 2) {
this._x = Math.ceil(Math.random() * 100) - 100;
}
if (randomNumber1 == 1) {
this._x = Stage.width;
}
random2value = 100;
randomNumber2 = Math.ceil(Math.random() * random2value) - 100;
}
reset();
}
onClipEvent (enterFrame) {
function personBuy() {
if (ammount2buy > ammountBought) {
money = money - _root.sellPrice;
_root.money = _root.money + _root.sellPrice;
ammountBought++;
_root.score++;
if (isBought == 0) {
_root.lemons = _root.lemons - 2;
_root.ice = _root.ice - 2;
_root.cups = _root.cups - 1;
_root.sugar = _root.sugar - 1;
_root.water = _root.water - 3;
isBought = 1;
}
}
if (ammount2buy <= ammountBought) {
gotoAndStop (3);
random2value--;
}
}
function checkHit() {
if (this._x > (Stage.width + 100)) {
reset();
}
if (this._x < -100) {
reset();
}
}
if (_root._currentframe == 3) {
this.removeMovieClip();
}
checkHit();
if (this.randomNumber1 == 1) {
if (this._x == stopPosition) {
this._x = stopPosition;
gotoAndStop (3);
randomNumber2 = randomNumber2 + 1;
personBuy();
if (randomNumber2 >= random2value) {
this._x--;
gotoAndStop (2);
}
} else {
this._x = this._x - speed;
gotoAndStop (2);
}
}
if (this.randomNumber1 == 2) {
if (this._x == stopPosition) {
this._x = stopPosition;
if (this.ammountBought == 0) {
this.gotoAndStop(1);
} else {
gotoAndStop (3);
}
randomNumber2 = randomNumber2 + 1;
personBuy();
isBought = 1;
if (randomNumber2 >= random2value) {
this._x++;
gotoAndStop (2);
}
}
if (this._x == stopPosition2) {
this._x = stopPosition2;
if (this.ammountBought == 0) {
this.gotoAndStop(1);
} else {
gotoAndStop (3);
}
randomNumber2 = randomNumber2 + 1;
personBuy();
isBought = 1;
if (randomNumber2 >= random2value) {
this._x++;
gotoAndStop (2);
}
}
if (this._x == stopPosition3) {
this._x = stopPosition3;
if (this.ammountBought == 0) {
this.gotoAndStop(1);
} else {
gotoAndStop (3);
}
randomNumber2 = randomNumber2 + 1;
personBuy();
isBought = 1;
if (randomNumber2 >= random2value) {
this._x++;
gotoAndStop (2);
}
}
if (this._x == stopPosition4) {
this._x = stopPosition4;
if (this.ammountBought == 0) {
this.gotoAndStop(1);
} else {
gotoAndStop (3);
}
randomNumber2 = randomNumber2 + 1;
personBuy();
isBought = 1;
if (randomNumber2 >= random2value) {
this._x++;
gotoAndStop (2);
}
}
if (this._x == stopPosition5) {
this._x = stopPosition5;
if (this.ammountBought == 0) {
this.gotoAndStop(1);
} else {
gotoAndStop (3);
}
randomNumber2 = randomNumber2 + 1;
personBuy();
isBought = 1;
if (randomNumber2 >= random2value) {
this._x++;
gotoAndStop (2);
}
}
if (this._x == stopPosition6) {
this._x = stopPosition6;
if (this.ammountBought == 0) {
this.gotoAndStop(1);
} else {
gotoAndStop (3);
}
randomNumber2 = randomNumber2 + 1;
personBuy();
isBought = 1;
if (randomNumber2 >= random2value) {
this._x++;
gotoAndStop (2);
}
}
if (this._x == stopPosition7) {
this._x = stopPosition7;
if (this.ammountBought == 0) {
this.gotoAndStop(1);
} else {
gotoAndStop (3);
}
randomNumber2 = randomNumber2 + 1;
personBuy();
isBought = 1;
if (randomNumber2 >= random2value) {
this._x++;
gotoAndStop (2);
}
}
if (this._x == stopPosition8) {
this._x = stopPosition8;
if (this.ammountBought == 0) {
this.gotoAndStop(1);
} else {
gotoAndStop (3);
}
randomNumber2 = randomNumber2 + 1;
personBuy();
isBought = 1;
if (randomNumber2 >= random2value) {
this._x++;
gotoAndStop (2);
}
}
if (this._x == stopPosition9) {
this._x = stopPosition9;
if (this.ammountBought == 0) {
this.gotoAndStop(1);
} else {
gotoAndStop (3);
}
randomNumber2 = randomNumber2 + 1;
personBuy();
isBought = 1;
if (randomNumber2 >= random2value) {
this._x++;
gotoAndStop (2);
}
}
if (this._x == stopPosition10) {
this._x = stopPosition10;
if (this.ammountBought == 0) {
this.gotoAndStop(1);
} else {
gotoAndStop (3);
}
randomNumber2 = randomNumber2 + 1;
personBuy();
isBought = 1;
if (randomNumber2 >= random2value) {
this._x++;
gotoAndStop (2);
}
} else {
this._x = this._x + speed;
gotoAndStop (2);
}
}
}
Frame 6
numberOfPerson = 1 * Math.ceil(1 * (_root.ads / 6));
if (_root.weather2._currentframe == 1) {
numberOfPerson = numberOfPerson + 2;
}
if (_root.weather2._currentframe == 2) {
numberOfPerson = numberOfPerson + 1;
}
if (_root.weather2._currentframe == 3) {
numberOfPerson = numberOfPerson + -3;
}
i = 0;
while (i < numberOfPerson) {
person.duplicateMovieClip("person" + i, i + 100);
i++;
}
Instance of Symbol 285 MovieClip "person" in Frame 6
onClipEvent (load) {
function reset() {
isBought = 0;
alert = "";
maxMoney = 1;
money = Math.random() * maxMoney;
stopPosition = Math.ceil((Math.random() * 200) + 200);
stopPosition2 = Math.ceil((Math.random() * 200) + 200);
stopPosition3 = Math.ceil((Math.random() * 200) + 200);
stopPosition4 = Math.ceil((Math.random() * 200) + 200);
stopPosition5 = Math.ceil((Math.random() * 200) + 200);
stopPosition6 = Math.ceil((Math.random() * 200) + 200);
stopPosition7 = Math.ceil((Math.random() * 200) + 200);
stopPosition8 = Math.ceil((Math.random() * 200) + 200);
stopPosition9 = Math.ceil((Math.random() * 200) + 200);
stopPosition10 = Math.ceil((Math.random() * 200) + 200);
speed = Math.ceil(Math.random() * 13) + 2;
if (money < _root.sellPrice) {
ammount2buy = 0;
_root.score = _root.score - 2;
this.alert = "Too Expensive!!!";
} else {
ammount2buy = Math.ceil(money / _root.sellPrice);
}
ammountBought = 0;
this._y = 310;
randomNumber1 = Math.ceil(Math.random() * 1) + 1;
if (randomNumber1 == 2) {
this._x = Math.ceil(Math.random() * 100) - 100;
}
if (randomNumber1 == 1) {
this._x = Stage.width;
}
random2value = 100;
randomNumber2 = Math.ceil(Math.random() * random2value) - 100;
}
reset();
}
onClipEvent (enterFrame) {
function personBuy() {
if (ammount2buy > ammountBought) {
money = money - _root.sellPrice;
_root.money = _root.money + _root.sellPrice;
ammountBought++;
_root.score++;
if (isBought == 0) {
_root.lemons = _root.lemons - 2;
_root.ice = _root.ice - 2;
_root.cups = _root.cups - 1;
_root.sugar = _root.sugar - 1;
_root.water = _root.water - 3;
isBought = 1;
}
}
if (ammount2buy <= ammountBought) {
gotoAndStop (3);
random2value--;
}
}
function checkHit() {
if (this._x > (Stage.width + 100)) {
reset();
}
if (this._x < -100) {
reset();
}
}
if (_root._currentframe == 3) {
this.removeMovieClip();
}
checkHit();
if (this.randomNumber1 == 1) {
if (this._x == stopPosition) {
this._x = stopPosition;
gotoAndStop (3);
randomNumber2 = randomNumber2 + 1;
personBuy();
if (randomNumber2 >= random2value) {
this._x--;
gotoAndStop (2);
}
} else {
this._x = this._x - speed;
gotoAndStop (2);
}
}
if (this.randomNumber1 == 2) {
if (this._x == stopPosition) {
this._x = stopPosition;
if (this.ammountBought == 0) {
this.gotoAndStop(1);
} else {
gotoAndStop (3);
}
randomNumber2 = randomNumber2 + 1;
personBuy();
isBought = 1;
if (randomNumber2 >= random2value) {
this._x++;
gotoAndStop (2);
}
}
if (this._x == stopPosition2) {
this._x = stopPosition2;
if (this.ammountBought == 0) {
this.gotoAndStop(1);
} else {
gotoAndStop (3);
}
randomNumber2 = randomNumber2 + 1;
personBuy();
isBought = 1;
if (randomNumber2 >= random2value) {
this._x++;
gotoAndStop (2);
}
}
if (this._x == stopPosition3) {
this._x = stopPosition3;
if (this.ammountBought == 0) {
this.gotoAndStop(1);
} else {
gotoAndStop (3);
}
randomNumber2 = randomNumber2 + 1;
personBuy();
isBought = 1;
if (randomNumber2 >= random2value) {
this._x++;
gotoAndStop (2);
}
}
if (this._x == stopPosition4) {
this._x = stopPosition4;
if (this.ammountBought == 0) {
this.gotoAndStop(1);
} else {
gotoAndStop (3);
}
randomNumber2 = randomNumber2 + 1;
personBuy();
isBought = 1;
if (randomNumber2 >= random2value) {
this._x++;
gotoAndStop (2);
}
}
if (this._x == stopPosition5) {
this._x = stopPosition5;
if (this.ammountBought == 0) {
this.gotoAndStop(1);
} else {
gotoAndStop (3);
}
randomNumber2 = randomNumber2 + 1;
personBuy();
isBought = 1;
if (randomNumber2 >= random2value) {
this._x++;
gotoAndStop (2);
}
}
if (this._x == stopPosition6) {
this._x = stopPosition6;
if (this.ammountBought == 0) {
this.gotoAndStop(1);
} else {
gotoAndStop (3);
}
randomNumber2 = randomNumber2 + 1;
personBuy();
isBought = 1;
if (randomNumber2 >= random2value) {
this._x++;
gotoAndStop (2);
}
}
if (this._x == stopPosition7) {
this._x = stopPosition7;
if (this.ammountBought == 0) {
this.gotoAndStop(1);
} else {
gotoAndStop (3);
}
randomNumber2 = randomNumber2 + 1;
personBuy();
isBought = 1;
if (randomNumber2 >= random2value) {
this._x++;
gotoAndStop (2);
}
}
if (this._x == stopPosition8) {
this._x = stopPosition8;
if (this.ammountBought == 0) {
this.gotoAndStop(1);
} else {
gotoAndStop (3);
}
randomNumber2 = randomNumber2 + 1;
personBuy();
isBought = 1;
if (randomNumber2 >= random2value) {
this._x++;
gotoAndStop (2);
}
}
if (this._x == stopPosition9) {
this._x = stopPosition9;
if (this.ammountBought == 0) {
this.gotoAndStop(1);
} else {
gotoAndStop (3);
}
randomNumber2 = randomNumber2 + 1;
personBuy();
isBought = 1;
if (randomNumber2 >= random2value) {
this._x++;
gotoAndStop (2);
}
}
if (this._x == stopPosition10) {
this._x = stopPosition10;
if (this.ammountBought == 0) {
this.gotoAndStop(1);
} else {
gotoAndStop (3);
}
randomNumber2 = randomNumber2 + 1;
personBuy();
isBought = 1;
if (randomNumber2 >= random2value) {
this._x++;
gotoAndStop (2);
}
} else {
this._x = this._x + speed;
gotoAndStop (2);
}
}
}
Frame 7
numberOfPerson = 1 * Math.ceil(1 * (_root.ads / 6));
if (_root.weather2._currentframe == 1) {
numberOfPerson = numberOfPerson + 2;
}
if (_root.weather2._currentframe == 2) {
numberOfPerson = numberOfPerson + 1;
}
if (_root.weather2._currentframe == 3) {
numberOfPerson = numberOfPerson + -2;
}
i = 0;
while (i < numberOfPerson) {
person.duplicateMovieClip("person" + i, i + 100);
i++;
}
Instance of Symbol 313 MovieClip "person" in Frame 7
onClipEvent (load) {
function reset() {
isBought = 0;
alert = "";
maxMoney = 1;
money = Math.random() * maxMoney;
stopPosition = Math.ceil((Math.random() * 200) + 200);
stopPosition2 = Math.ceil((Math.random() * 200) + 200);
stopPosition3 = Math.ceil((Math.random() * 200) + 200);
stopPosition4 = Math.ceil((Math.random() * 200) + 200);
stopPosition5 = Math.ceil((Math.random() * 200) + 200);
stopPosition6 = Math.ceil((Math.random() * 200) + 200);
stopPosition7 = Math.ceil((Math.random() * 200) + 200);
stopPosition8 = Math.ceil((Math.random() * 200) + 200);
stopPosition9 = Math.ceil((Math.random() * 200) + 200);
stopPosition10 = Math.ceil((Math.random() * 200) + 200);
speed = Math.ceil(Math.random() * 13) + 2;
if (money < _root.sellPrice) {
ammount2buy = 0;
_root.score = _root.score - 2;
this.alert = "Too Expensive!!!";
} else {
ammount2buy = Math.ceil(money / _root.sellPrice);
}
ammountBought = 0;
this._y = 310;
randomNumber1 = Math.ceil(Math.random() * 1) + 1;
if (randomNumber1 == 2) {
this._x = Math.ceil(Math.random() * 100) - 100;
}
if (randomNumber1 == 1) {
this._x = Stage.width;
}
random2value = 100;
randomNumber2 = Math.ceil(Math.random() * random2value) - 100;
}
reset();
}
onClipEvent (enterFrame) {
function personBuy() {
if (ammount2buy > ammountBought) {
money = money - _root.sellPrice;
_root.money = _root.money + _root.sellPrice;
ammountBought++;
_root.score++;
if (isBought == 0) {
_root.lemons = _root.lemons - 2;
_root.ice = _root.ice - 2;
_root.cups = _root.cups - 1;
_root.sugar = _root.sugar - 1;
_root.water = _root.water - 3;
isBought = 1;
}
}
if (ammount2buy <= ammountBought) {
gotoAndStop (3);
random2value--;
}
}
function checkHit() {
if (this._x > (Stage.width + 100)) {
reset();
}
if (this._x < -100) {
reset();
}
}
if (_root._currentframe == 3) {
this.removeMovieClip();
}
checkHit();
if (this.randomNumber1 == 1) {
if (this._x == stopPosition) {
this._x = stopPosition;
gotoAndStop (3);
randomNumber2 = randomNumber2 + 1;
personBuy();
if (randomNumber2 >= random2value) {
this._x--;
gotoAndStop (2);
}
} else {
this._x = this._x - speed;
gotoAndStop (2);
}
}
if (this.randomNumber1 == 2) {
if (this._x == stopPosition) {
this._x = stopPosition;
if (this.ammountBought == 0) {
this.gotoAndStop(1);
} else {
gotoAndStop (3);
}
randomNumber2 = randomNumber2 + 1;
personBuy();
isBought = 1;
if (randomNumber2 >= random2value) {
this._x++;
gotoAndStop (2);
}
}
if (this._x == stopPosition2) {
this._x = stopPosition2;
if (this.ammountBought == 0) {
this.gotoAndStop(1);
} else {
gotoAndStop (3);
}
randomNumber2 = randomNumber2 + 1;
personBuy();
isBought = 1;
if (randomNumber2 >= random2value) {
this._x++;
gotoAndStop (2);
}
}
if (this._x == stopPosition3) {
this._x = stopPosition3;
if (this.ammountBought == 0) {
this.gotoAndStop(1);
} else {
gotoAndStop (3);
}
randomNumber2 = randomNumber2 + 1;
personBuy();
isBought = 1;
if (randomNumber2 >= random2value) {
this._x++;
gotoAndStop (2);
}
}
if (this._x == stopPosition4) {
this._x = stopPosition4;
if (this.ammountBought == 0) {
this.gotoAndStop(1);
} else {
gotoAndStop (3);
}
randomNumber2 = randomNumber2 + 1;
personBuy();
isBought = 1;
if (randomNumber2 >= random2value) {
this._x++;
gotoAndStop (2);
}
}
if (this._x == stopPosition5) {
this._x = stopPosition5;
if (this.ammountBought == 0) {
this.gotoAndStop(1);
} else {
gotoAndStop (3);
}
randomNumber2 = randomNumber2 + 1;
personBuy();
isBought = 1;
if (randomNumber2 >= random2value) {
this._x++;
gotoAndStop (2);
}
}
if (this._x == stopPosition6) {
this._x = stopPosition6;
if (this.ammountBought == 0) {
this.gotoAndStop(1);
} else {
gotoAndStop (3);
}
randomNumber2 = randomNumber2 + 1;
personBuy();
isBought = 1;
if (randomNumber2 >= random2value) {
this._x++;
gotoAndStop (2);
}
}
if (this._x == stopPosition7) {
this._x = stopPosition7;
if (this.ammountBought == 0) {
this.gotoAndStop(1);
} else {
gotoAndStop (3);
}
randomNumber2 = randomNumber2 + 1;
personBuy();
isBought = 1;
if (randomNumber2 >= random2value) {
this._x++;
gotoAndStop (2);
}
}
if (this._x == stopPosition8) {
this._x = stopPosition8;
if (this.ammountBought == 0) {
this.gotoAndStop(1);
} else {
gotoAndStop (3);
}
randomNumber2 = randomNumber2 + 1;
personBuy();
isBought = 1;
if (randomNumber2 >= random2value) {
this._x++;
gotoAndStop (2);
}
}
if (this._x == stopPosition9) {
this._x = stopPosition9;
if (this.ammountBought == 0) {
this.gotoAndStop(1);
} else {
gotoAndStop (3);
}
randomNumber2 = randomNumber2 + 1;
personBuy();
isBought = 1;
if (randomNumber2 >= random2value) {
this._x++;
gotoAndStop (2);
}
}
if (this._x == stopPosition10) {
this._x = stopPosition10;
if (this.ammountBought == 0) {
this.gotoAndStop(1);
} else {
gotoAndStop (3);
}
randomNumber2 = randomNumber2 + 1;
personBuy();
isBought = 1;
if (randomNumber2 >= random2value) {
this._x++;
gotoAndStop (2);
}
} else {
this._x = this._x + speed;
gotoAndStop (2);
}
}
}
Symbol 12 Button
on (release) {
_root.mouse.gotoAndStop(1);
okay();
this._visible = 0;
}
on (rollOver) {
_root.mouse.gotoAndStop(2);
}
on (rollOut) {
_root.mouse.gotoAndStop(1);
}
on (dragOut) {
_root.mouse.gotoAndStop(1);
}
Symbol 14 Button
on (press) {
lemons++;
if (lemons > lemonLimit) {
lemons = lemonLimit;
}
funcLemon();
funcTotalIngredients();
increase();
}
on (rollOver) {
_root.mouse.gotoAndStop(2);
}
on (rollOut) {
_root.mouse.gotoAndStop(1);
}
on (dragOut) {
_root.mouse.gotoAndStop(1);
}
Symbol 16 Button
on (press) {
lemons--;
if (lemons < 0) {
lemons = 0;
}
if (lemons > lemonLimit) {
lemons = lemonLimit;
}
funcLemon();
funcTotalIngredients();
}
on (rollOver) {
_root.mouse.gotoAndStop(2);
}
on (rollOut) {
_root.mouse.gotoAndStop(1);
}
on (dragOut) {
_root.mouse.gotoAndStop(1);
}
Symbol 17 Button
on (press) {
ice++;
if (ice > iceLimit) {
ice = iceLimit;
}
funcIce();
funcTotalIngredients();
}
on (rollOver) {
_root.mouse.gotoAndStop(2);
}
on (rollOut) {
_root.mouse.gotoAndStop(1);
}
on (dragOut) {
_root.mouse.gotoAndStop(1);
}
Symbol 18 Button
on (press) {
ice--;
if (ice < 0) {
ice = 0;
}
if (ice > iceLimit) {
ice = iceLimit;
}
funcIce();
funcTotalIngredients();
}
on (rollOver) {
_root.mouse.gotoAndStop(2);
}
on (rollOut) {
_root.mouse.gotoAndStop(1);
}
on (dragOut) {
_root.mouse.gotoAndStop(1);
}
Symbol 19 Button
on (press) {
cups++;
if (cups > cupLimit) {
cups = cupLimit;
}
funcCup();
funcTotalIngredients();
}
on (rollOver) {
_root.mouse.gotoAndStop(2);
}
on (rollOut) {
_root.mouse.gotoAndStop(1);
}
on (dragOut) {
_root.mouse.gotoAndStop(1);
}
Symbol 20 Button
on (press) {
cups--;
if (cups < 0) {
cups = 0;
}
if (cups > cupLimit) {
cups = cupLimit;
}
funcCup();
funcTotalIngredients();
}
on (rollOver) {
_root.mouse.gotoAndStop(2);
}
on (rollOut) {
_root.mouse.gotoAndStop(1);
}
on (dragOut) {
_root.mouse.gotoAndStop(1);
}
Symbol 36 Button
on (release) {
okay();
this.gotoAndStop(2);
}
on (rollOver) {
_root.mouse.gotoAndStop(2);
}
on (rollOut) {
_root.mouse.gotoAndStop(1);
}
on (dragOut) {
_root.mouse.gotoAndStop(1);
}
Symbol 38 Button
on (press) {
water++;
if (water > waterLimit) {
water = waterLimit;
}
funcWater();
funcTotalIngredients();
}
on (rollOver) {
_root.mouse.gotoAndStop(2);
}
on (rollOut) {
_root.mouse.gotoAndStop(1);
}
on (dragOut) {
_root.mouse.gotoAndStop(1);
}
Symbol 39 Button
on (press) {
water--;
if (water < 0) {
water = 0;
}
if (water > waterLimit) {
water = waterLimit;
}
funcWater();
funcTotalIngredients();
}
on (rollOver) {
_root.mouse.gotoAndStop(2);
}
on (rollOut) {
_root.mouse.gotoAndStop(1);
}
on (dragOut) {
_root.mouse.gotoAndStop(1);
}
Symbol 44 Button
on (press) {
sugar++;
if (sugar > sugarLimit) {
sugar = sugarLimit;
}
funcSugar();
funcTotalIngredients();
}
on (rollOver) {
_root.mouse.gotoAndStop(2);
}
on (rollOut) {
_root.mouse.gotoAndStop(1);
}
on (dragOut) {
_root.mouse.gotoAndStop(1);
}
Symbol 45 Button
on (press) {
sugar--;
if (sugar < 0) {
sugar = 0;
}
if (sugar > sugarLimit) {
sugar = sugarLimit;
}
funcSugar();
funcTotalIngredients();
}
on (rollOver) {
_root.mouse.gotoAndStop(2);
}
on (rollOut) {
_root.mouse.gotoAndStop(1);
}
on (dragOut) {
_root.mouse.gotoAndStop(1);
}
Symbol 50 Button
on (press) {
ads++;
if (ads > adLimit) {
ads = adsLimit;
}
funcAds();
funcTotalIngredients();
}
on (rollOver) {
_root.mouse.gotoAndStop(2);
}
on (rollOut) {
_root.mouse.gotoAndStop(1);
}
on (dragOut) {
_root.mouse.gotoAndStop(1);
}
Symbol 51 Button
on (press) {
ads--;
if (ads < 0) {
ads = 0;
}
if (ads > adLimit) {
ads = adLimit;
}
funcAds();
funcTotalIngredients();
}
on (rollOver) {
_root.mouse.gotoAndStop(2);
}
on (rollOut) {
_root.mouse.gotoAndStop(1);
}
on (dragOut) {
_root.mouse.gotoAndStop(1);
}
Symbol 57 Button
on (release) {
_root.mouse.gotoAndStop(1);
okay();
this._visible = 0;
this.gotoAndStop(1);
}
on (rollOver) {
_root.mouse.gotoAndStop(2);
}
on (rollOut) {
_root.mouse.gotoAndStop(1);
}
on (dragOut) {
_root.mouse.gotoAndStop(1);
}
Symbol 61 Button
on (press) {
sellPrice = sellPrice + 0.01;
}
on (rollOver) {
_root.mouse.gotoAndStop(2);
}
on (rollOut) {
_root.mouse.gotoAndStop(1);
}
on (dragOut) {
_root.mouse.gotoAndStop(1);
}
Symbol 62 Button
on (press) {
sellPrice = sellPrice - 0.01;
if (sellPrice < 0.15) {
sellPrice = 0.15;
}
}
on (rollOver) {
_root.mouse.gotoAndStop(2);
}
on (rollOut) {
_root.mouse.gotoAndStop(1);
}
on (dragOut) {
_root.mouse.gotoAndStop(1);
}
Symbol 66 Button
on (release) {
_root.sellPrice = this.sellPrice;
this.gotoAndStop(1);
}
on (rollOver) {
_root.mouse.gotoAndStop(2);
}
on (rollOut) {
_root.mouse.gotoAndStop(1);
}
on (dragOut) {
_root.mouse.gotoAndStop(1);
}
Symbol 70 Button
on (release) {
autoBuy();
}
on (rollOver) {
_root.mouse.gotoAndStop(2);
}
on (rollOut) {
_root.mouse.gotoAndStop(1);
}
on (dragOut) {
_root.mouse.gotoAndStop(1);
}
Symbol 71 MovieClip [config] Frame 1
function funcLemon() {
totalLemonPrice = lemonPrice * lemons;
}
function funcIce() {
totalIcePrice = icePrice * ice;
}
function funcCup() {
totalCupPrice = cupPrice * cups;
}
function funcWater() {
totalWaterPrice = waterPrice * water;
}
function funcSugar() {
totalSugarPrice = sugarPrice * sugar;
}
function funcAds() {
totalAdPrice = adPrice * ads;
}
function funcTotalIngredients() {
totalIngredientCost = (((((totalCupPrice + totalIcePrice) + totalLemonPrice) + totalWaterPrice) + totalSugarPrice) + totalAdPrice) / 100;
}
function increase() {
counter = 0;
counter = counter + 1;
if (counter >= 20) {
lemons = lemons + 5;
}
}
function autoBuy() {
autoSellPirce = 3;
if (_root.money < autoSellPirce) {
_root.alert = "Not Enough Money!";
} else {
_root.lemons = _root.lemons + 200;
_root.water = _root.water + 300;
_root.ice = _root.ice + 200;
_root.cups = _root.cups + 100;
_root.sugar = _root.sugar + 100;
_root.money = _root.money - autoSellPirce;
}
}
okay = function () {
if (_root.money < totalIngredientCost) {
_root.alert = "Not Enough Money!";
} else {
_root.money = _root.money - totalIngredientCost;
_root.lemons = _root.lemons + Math.ceil(lemons);
if (lemons == "") {
_root.lemons = 0;
lemons = 0;
}
_root.ice = _root.ice + Math.ceil(ice);
if (ice == "") {
_root.ice = 0;
ice = 0;
}
_root.cups = _root.cups + Math.ceil(cups);
if (cups == "") {
_root.cups = 0;
cups = 0;
}
_root.water = _root.water + Math.ceil(water);
if (water == "") {
_root.water = 0;
water = 0;
}
_root.sugar = _root.sugar + Math.ceil(cups);
if (sugar == "") {
_root.sugar = 0;
sugar = 0;
}
_root.ads = _root.ads + Math.ceil(ads);
if (ads == "") {
_root.ads = 0;
ads = 0;
}
}
_root.sellPrice = sellPrice;
lemonPrice = 5;
icePrice = 3;
cupPrice = 3;
sugarPrice = 3;
waterPrice = 1;
adPrice = 100;
totalWaterPrice = 0;
totalLemonPrice = 0;
totalCupPrice = 0;
totalIcePrice = 0;
totalSugarPrice = 0;
totalIngredientCost = 0;
totalAdPrice = 0;
};
lemons = 0;
ice = 0;
cups = 0;
plasticCup = 0;
water = 0;
sugar = 0;
ads = 0;
sellPrice = _root.sellPrice;
lemonPrice = 5;
icePrice = 3;
cupPrice = 4;
sugarPrice = 3;
waterPrice = 1;
adPrice = 100;
totalWaterPrice = 0;
totalLemonPrice = 0;
totalCupPrice = 0;
totalIcePrice = 0;
totalSugarPrice = 0;
totalIngredientCost = 0;
totalAdPrice = 0;
limit4all = 500;
lemonLimit = limit4all;
iceLimit = limit4all;
cupLimit = limit4all;
waterLimit = limit4all;
sugarLimit = limit4all;
adLimit = limit4all;
Symbol 76 MovieClip Frame 1
stop();
Symbol 88 MovieClip Frame 1
stop();
Symbol 90 Button
on (release) {
_root.mouse.gotoAndStop(1);
_root.gotoAndStop(3);
}
on (rollOver) {
_root.mouse.gotoAndStop(2);
}
on (rollOut) {
_root.mouse.gotoAndStop(1);
}
on (dragOut) {
_root.mouse.gotoAndStop(1);
}
Symbol 97 MovieClip Frame 116
stop();
Symbol 103 MovieClip Frame 20
stop();
Symbol 104 MovieClip Frame 23
stop();
Symbol 125 Button
on (press) {
this.startDrag(false);
}
on (release) {
_root.mouse.gotoAndStop(3);
this.stopDrag();
}
on (rollOver) {
_root.mouse.gotoAndStop(3);
}
on (rollOut) {
_root.mouse.gotoAndStop(1);
}
on (dragOut) {
_root.mouse.gotoAndStop(1);
}
on (press) {
_root.mouse.gotoAndStop(4);
}
Symbol 133 Button
on (rollOver) {
mon = "$120";
money = 120;
}
on (release) {
if (_root.money < money) {
_root.alert = "Not enough money to buy this lot!";
} else {
_root.beach = 1;
_root.money = _root.money - money;
}
}
on (rollOver) {
_root.mouse.gotoAndStop(2);
}
on (rollOut) {
_root.mouse.gotoAndStop(1);
}
on (dragOut) {
_root.mouse.gotoAndStop(1);
}
Symbol 134 Button
on (rollOver) {
mon = "$35";
money = 35;
}
on (release) {
if (_root.money < money) {
_root.alert = "Not enough money to buy this lot!";
} else {
_root.park = 1;
_root.money = _root.money - money;
}
}
on (rollOver) {
_root.mouse.gotoAndStop(2);
}
on (rollOut) {
_root.mouse.gotoAndStop(1);
}
on (dragOut) {
_root.mouse.gotoAndStop(1);
}
Symbol 135 Button
on (rollOver) {
mon = "$60";
money = 60;
}
on (release) {
if (_root.money < money) {
_root.alert = "Not enough money to buy this lot!";
} else {
_root.houses = 1;
_root.money = _root.money - money;
}
}
on (rollOver) {
_root.mouse.gotoAndStop(2);
}
on (rollOut) {
_root.mouse.gotoAndStop(1);
}
on (dragOut) {
_root.mouse.gotoAndStop(1);
}
Symbol 140 Button
on (release) {
this._visible = 0;
}
on (rollOver) {
_root.mouse.gotoAndStop(2);
}
on (rollOut) {
_root.mouse.gotoAndStop(1);
}
on (dragOut) {
_root.mouse.gotoAndStop(1);
}
Instance of Symbol 141 MovieClip in Symbol 142 MovieClip Frame 1
onClipEvent (load) {
this._visible = 0;
}
onClipEvent (enterFrame) {
if (_root.park == 1) {
_parent.a._visible = 0;
}
if (_root.houses == 1) {
_parent.b._visible = 0;
}
if (_root.beach == 1) {
_parent.c._visible = 0;
}
}
Symbol 150 Button
on (release) {
if (_currentframe == 1) {
gotoAndPlay (2);
}
if (_currentframe == 30) {
gotoAndPlay (31);
}
}
on (rollOver) {
_root.mouse.gotoAndStop(3);
}
on (rollOut) {
_root.mouse.gotoAndStop(1);
}
on (dragOut) {
_root.mouse.gotoAndStop(1);
}
on (press) {
_root.mouse.gotoAndStop(4);
}
Symbol 166 MovieClip Frame 1
stop();
Symbol 166 MovieClip Frame 30
stop();
Symbol 170 Button
on (release) {
if (_root.config._visible == 0) {
_root.config._visible = 1;
resetConfig();
} else {
_root.config._visible = 0;
resetConfig();
}
if (_root.map._visible == 1) {
_root.map._visible = 0;
}
if (_root.help._visible == 1) {
_root.help._visible = 0;
}
}
on (rollOver) {
_root.mouse.gotoAndStop(2);
_root.stat = "Settings";
}
on (rollOut) {
_root.mouse.gotoAndStop(1);
_root.stat = "";
}
on (dragOut) {
_root.mouse.gotoAndStop(1);
_root.stat = "";
}
Symbol 174 Button
on (release) {
if (_root.help._visible == 0) {
_root.help._visible = 1;
} else {
_root.help._visible = 0;
}
if (_root.map._visible == 1) {
_root.map._visible = 0;
}
if (_root.config._visible == 1) {
_root.config._visible = 0;
}
}
on (rollOver) {
_root.mouse.gotoAndStop(2);
_root.stat = "Help";
}
on (rollOut) {
_root.mouse.gotoAndStop(1);
_root.stat = "";
}
on (dragOut) {
_root.mouse.gotoAndStop(1);
_root.stat = "";
}
Symbol 177 Button
on (release) {
if (_root.map._visible == 0) {
_root.map._visible = 1;
} else {
_root.map._visible = 0;
}
if (_root.config._visible == 1) {
_root.config._visible = 0;
}
if (_root.help._visible == 1) {
_root.help._visible = 0;
}
}
on (rollOver) {
_root.mouse.gotoAndStop(2);
_root.stat = "Map";
}
on (rollOut) {
_root.mouse.gotoAndStop(1);
_root.stat = "";
}
on (dragOut) {
_root.mouse.gotoAndStop(1);
_root.stat = "";
}
Symbol 184 Button
on (rollOver) {
loca = "City";
}
on (rollOut) {
loca = "";
}
on (dragOut) {
loca = "";
}
on (release) {
if (_root.needed == 1) {
} else {
if (_root._currentframe == 3) {
if (_root.city == 0) {
_root.alert = "Not Bought!";
}
if (_root.city == 1) {
if (_root._currentframe != 4) {
_root.gotoAndStop(4);
}
}
}
if (_root._currentframe != 3) {
_root.alert = "You cannot change places during gameplay.";
}
}
}
Symbol 185 Button
on (rollOver) {
loca = "Houses";
}
on (rollOut) {
loca = "";
}
on (dragOut) {
loca = "";
}
on (release) {
if (_root.needed == 1) {
} else {
if (_root._currentframe == 3) {
if (_root.houses == 0) {
_root.alert = "Not Bought!";
}
if (_root.houses == 1) {
if (_root._currentframe != 5) {
_root.gotoAndStop(5);
}
}
}
if (_root._currentframe != 3) {
_root.alert = "You cannot change places during gameplay.";
}
}
}
Symbol 186 Button
on (rollOver) {
loca = "Park";
}
on (rollOut) {
loca = "";
}
on (dragOut) {
loca = "";
}
on (release) {
if (_root.needed == 1) {
} else {
if (_root._currentframe == 3) {
if (_root.park == 0) {
_root.alert = "Not Bought!";
}
if (_root.park == 1) {
if (_root._currentframe != 6) {
_root.gotoAndStop(6);
}
}
}
if (_root._currentframe != 3) {
_root.alert = "You cannot change places during gameplay.";
}
}
}
Symbol 187 Button
on (rollOver) {
loca = "Beach";
}
on (rollOut) {
loca = "";
}
on (dragOut) {
loca = "";
}
on (release) {
if (_root.needed == 1) {
} else {
if (_root._currentframe == 3) {
if (_root.beach == 0) {
_root.alert = "Not Bought!";
}
if (_root.beach == 1) {
if (_root._currentframe != 7) {
_root.gotoAndStop(7);
}
}
}
if (_root._currentframe != 3) {
_root.alert = "You cannot change places during gameplay.";
}
}
}
Symbol 188 Button
on (rollOver) {
loca = "Home";
}
on (rollOut) {
loca = "";
}
on (dragOut) {
loca = "";
}
on (release) {
if (_root._currentframe != 3) {
_root.gotoAndStop(3);
_root.day++;
}
}
Symbol 193 Button
on (release) {
toggleHighQuality();
}
on (rollOver) {
_root.mouse.gotoAndStop(2);
_root.stat = "Quality";
}
on (rollOut) {
_root.mouse.gotoAndStop(1);
_root.stat = "";
}
on (dragOut) {
_root.mouse.gotoAndStop(1);
_root.stat = "";
}
Symbol 226 MovieClip Frame 105
stop();
Symbol 227 MovieClip Frame 1
stop();
Symbol 228 Button
on (press) {
_root.mouse.gotoAndStop(4);
this.startDrag(false);
}
on (release) {
_root.mouse.gotoAndStop(3);
this.stopDrag();
}
on (rollOver) {
_root.mouse.gotoAndStop(3);
}
on (rollOut) {
_root.mouse.gotoAndStop(1);
}
on (dragOut) {
_root.mouse.gotoAndStop(1);
}
Instance of Symbol 231 MovieClip "marker" in Symbol 232 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root._currentframe == 4) {
this._x = -150;
this._y = -15;
}
if (_root._currentframe == 6) {
this._x = -60;
this._y = -75;
}
if (_root._currentframe == 5) {
this._x = 100;
this._y = -85;
}
if (_root._currentframe == 7) {
this._x = -75;
this._y = 60;
}
}
Symbol 237 Button
on (release) {
if (_root.fmap._visible == 0) {
_root.fmap._visible = 1;
} else {
_root.fmap._visible = 0;
}
if (_root.config._visible == 1) {
_root.config._visible = 0;
}
if (_root.help._visible == 1) {
_root.help._visible = 0;
}
}
on (rollOver) {
_root.mouse.gotoAndStop(2);
_root.stat = "Map";
}
on (rollOut) {
_root.mouse.gotoAndStop(1);
_root.stat = "";
}
on (dragOut) {
_root.mouse.gotoAndStop(1);
_root.stat = "";
}
Symbol 269 MovieClip Frame 1
stop();
Symbol 285 MovieClip Frame 1
stop();
Symbol 313 MovieClip Frame 1
stop();
Symbol 318 Button
on (release) {
_root.mouse.gotoAndStop(1);
_root.gotoAndPlay(1);
}
on (rollOver) {
_root.mouse.gotoAndStop(2);
}
on (rollOut) {
_root.mouse.gotoAndStop(1);
}
on (dragOut) {
_root.mouse.gotoAndStop(1);
}
Symbol 322 Button
on (release) {
_root.mouse.gotoAndStop(1);
_root.gotoAndStop(10);
}
on (rollOver) {
_root.mouse.gotoAndStop(2);
}
on (rollOut) {
_root.mouse.gotoAndStop(1);
}
on (dragOut) {
_root.mouse.gotoAndStop(1);
}