Frame 1
stopAllSounds();
stop();
Instance of Symbol 239 MovieClip "mcBar" in Frame 1
onClipEvent (load) {
_xscale = 0;
total = _parent.getBytesTotal();
}
onClipEvent (enterFrame) {
_xscale = Math.floor((_parent.getBytesLoaded() / total) * 100);
if (_xscale >= 99) {
_parent.gotoAndStop(2);
}
}
Frame 2
stopAllSounds();
mcSoundBoard.gotoAndStop("aleluya");
Frame 3
_quality = "Medium";
Instance of Symbol 348 MovieClip "mcBoard" in Frame 3
onClipEvent (load) {
function clearBoard() {
ctr = 1;
while (ctr < 6) {
clearInterval(_parent["mcPeople" + ctr].mcMan.myID);
_parent["mcPeople" + ctr].removeMovieClip();
ctr++;
}
}
function nextLevel() {
currentLevel++;
mcClock._rotation = 272.5;
mcPendulum.gotoAndStop(1);
txtDeaths.text = 0;
txtPeople.text = 0;
txtQuota.text = arrPeople[currentLevel - 1];
if (arrPeople[currentLevel - 1] == undefined) {
txtQuota.text = 30;
}
symbols = arrSymbols[currentLevel - 1];
if (symbols == undefined) {
symbols = 10;
}
maxP = maxPeople[currentLevel - 1];
if (maxP == undefined) {
maxP = 5;
}
maxS = maxSymbols[currentLevel - 1];
if (maxS == undefined) {
maxS = 4;
}
seconds = arrTime[currentLevel - 1];
if (seconds == undefined) {
seconds = 5000;
}
currentP = 0;
clearBoard();
_root.mcLevel.mcLevel.txtLevel.text = currentLevel;
_root.mcLevel._visible = true;
_root.mcLevel.gotoAndPlay(1);
}
function makePeople(no) {
_parent.attachMovie("mcPeople", "mcPeople" + no, no);
_parent["mcPeople" + no]._x = peopleX[no - 1];
_parent["mcPeople" + no]._y = 580;
_parent["mcPeople" + no].seconds = seconds;
_parent["mcPeople" + no].gotoAndStop(random(10) + 1);
if (maxS > 1) {
_parent["mcPeople" + no].mcBalloon.noofSymbols = random(maxS) + 1;
} else {
_parent["mcPeople" + no].mcBalloon.noofSymbols = 1;
}
_parent["mcPeople" + no].mcBalloon.gotoAndStop(_parent["mcPeople" + no].mcBalloon.noofSymbols);
ctr = 1;
while (ctr < (_parent["mcPeople" + no].mcBalloon.noofSymbols + 1)) {
_parent["mcPeople" + no].mcBalloon["mcSymbol" + ctr].gotoAndStop(random(symbols) + 1);
ctr++;
}
}
if (_parent.noCow) {
_parent.mcBadCow._name = "mcNoName";
}
currentLevel = 0;
arrTime = new Array(10000, 10000, 9000, 9000, 8000, 8000, 7000, 7000, 6000, 6000, 5000, 5000);
arrSymbols = new Array(4, 4, 5, 5, 6, 6, 7, 7, 8, 8, 9, 9, 10, 10);
maxPeople = new Array(3, 3, 4, 4, 5, 5);
maxSymbols = new Array(1, 2, 2, 3, 3, 4);
arrPeople = new Array(10, 10, 15, 15, 20, 20, 25, 25);
peopleX = new Array(217, 329, 441, 553, 663);
nextLevel();
}
onClipEvent (enterFrame) {
if (OKtoStart) {
if (currentP < maxP) {
w = random(50);
if (w < 1) {
currentP++;
myPlace = random(5) + 1;
if (_parent["mcPeople" + myPlace] != undefined) {
myPlace++;
if (myPlace > 5) {
myPlace = 1;
}
if (_parent["mcPeople" + myPlace] != undefined) {
myPlace++;
if (myPlace > 5) {
myPlace = 1;
}
if (_parent["mcPeople" + myPlace] != undefined) {
myPlace++;
if (myPlace > 5) {
myPlace = 1;
}
if (_parent["mcPeople" + myPlace] != undefined) {
myPlace++;
if (myPlace > 5) {
myPlace = 1;
}
}
}
}
}
makePeople(myPlace);
}
}
}
}
Instance of Symbol 254 MovieClip "mcHolyCow" in Frame 3
onClipEvent (load) {
lspeed1 = 0;
holding = false;
xspeed = 0;
yspeed = 0;
destx = 450;
desty = 150;
carrying = false;
myspeed = 20;
}
onClipEvent (enterFrame) {
if (xspeed < -1) {
_rotation = -15;
} else if (xspeed > 1) {
_rotation = 15;
} else {
lspeed1 = ((-_rotation) / 2) + (xspeed * 0.5);
_rotation = (_rotation + lspeed1);
}
xspeed = ((_root._xmouse - this._x) / myspeed) + (xspeed * 0.5);
yspeed = ((_root._ymouse - this._y) / myspeed) + (yspeed * 0.5);
if ((this._x + xspeed) > 700) {
xspeed = 700 - this._x;
}
if ((this._x + xspeed) < 175) {
xspeed = -(this._x - 175);
}
if ((this._y + yspeed) < 50) {
yspeed = -(this._y - 50);
}
if ((this._y + yspeed) > 420) {
yspeed = 420 - this._y;
}
this._y = this._y + yspeed;
this._x = this._x + xspeed;
updateAfterEvent();
}
Instance of Symbol 373 MovieClip "mcLevel" in Frame 3
/* no clip actions */
Instance of Symbol 289 MovieClip "mcBadCow" in Frame 3
onClipEvent (load) {
function getCoords() {
destx = _parent[follow]._x;
desty = _parent[follow]._y;
}
lspeed1 = 0;
xspeed = 0;
yspeed = 0;
destx = 767;
desty = 162;
carrying = false;
mySpeed = 30;
follow = "mcHolyCow";
setInterval(getCoords, 250);
}
onClipEvent (enterFrame) {
if (this._name == "mcBadCow") {
if (xspeed < -1) {
_rotation = -15;
} else if (xspeed > 1) {
_rotation = 15;
} else {
lspeed1 = ((-_rotation) / 2) + (xspeed * 0.5);
_rotation = (_rotation + lspeed1);
}
xspeed = ((destx - this._x) / mySpeed) + (xspeed * 0.6);
yspeed = ((desty - this._y) / mySpeed) + (yspeed * 0.6);
this._y = this._y + yspeed;
this._x = this._x + xspeed;
updateAfterEvent();
}
}
Symbol 2 MovieClip Frame 15
stop();
_parent._parent.mcBalloon._visible = true;
Symbol 20 MovieClip Frame 20
times++;
if (times < 6) {
gotoAndPlay (1);
}
Symbol 20 MovieClip Frame 35
stop();
_parent._parent._parent.mcBoard.currentP--;
_parent._parent.removeMovieClip();
Symbol 21 MovieClip Frame 1
stop();
Symbol 21 MovieClip Frame 10
_parent.mcBalloon._visible = false;
Instance of Symbol 20 MovieClip in Symbol 21 MovieClip Frame 10
onClipEvent (load) {
times = -5;
}
Symbol 34 MovieClip Frame 1
stop();
Symbol 35 MovieClip Frame 1
stop();
Symbol 37 MovieClip Frame 15
stop();
_parent._parent.mcBalloon._visible = true;
Symbol 51 MovieClip Frame 20
times++;
if (times < 6) {
gotoAndPlay (1);
}
Symbol 51 MovieClip Frame 35
stop();
_parent._parent._parent.mcBoard.currentP--;
_parent._parent.removeMovieClip();
Symbol 52 MovieClip Frame 1
stop();
Symbol 52 MovieClip Frame 10
_parent.mcBalloon._visible = false;
Instance of Symbol 51 MovieClip in Symbol 52 MovieClip Frame 10
onClipEvent (load) {
times = -5;
}
Symbol 54 MovieClip Frame 15
stop();
_parent._parent.mcBalloon._visible = true;
Symbol 71 MovieClip Frame 20
times++;
if (times < 6) {
gotoAndPlay (1);
}
Symbol 71 MovieClip Frame 35
stop();
_parent._parent._parent.mcBoard.currentP--;
_parent._parent.removeMovieClip();
Symbol 72 MovieClip Frame 1
stop();
Symbol 72 MovieClip Frame 10
_parent.mcBalloon._visible = false;
Instance of Symbol 71 MovieClip in Symbol 72 MovieClip Frame 10
onClipEvent (load) {
times = -5;
}
Symbol 74 MovieClip Frame 15
stop();
_parent._parent.mcBalloon._visible = true;
Symbol 94 MovieClip Frame 11
times++;
if (times < 6) {
gotoAndPlay (1);
}
Symbol 94 MovieClip Frame 25
stop();
_parent._parent._parent.mcBoard.currentP--;
_parent._parent.removeMovieClip();
Symbol 95 MovieClip Frame 1
stop();
Symbol 95 MovieClip Frame 10
_parent.mcBalloon._visible = false;
Instance of Symbol 94 MovieClip in Symbol 95 MovieClip Frame 10
onClipEvent (load) {
times = -5;
}
Symbol 97 MovieClip Frame 15
stop();
_parent._parent.mcBalloon._visible = true;
Symbol 110 MovieClip Frame 15
times++;
if (times < 6) {
gotoAndPlay (1);
}
Symbol 110 MovieClip Frame 30
stop();
_parent._parent._parent.mcBoard.currentP--;
_parent._parent.removeMovieClip();
Symbol 111 MovieClip Frame 1
stop();
Symbol 111 MovieClip Frame 10
_parent.mcBalloon._visible = false;
Instance of Symbol 110 MovieClip in Symbol 111 MovieClip Frame 10
onClipEvent (load) {
times = -5;
}
Symbol 113 MovieClip Frame 15
stop();
_parent._parent.mcBalloon._visible = true;
Symbol 134 MovieClip Frame 10
times++;
if (times < 6) {
gotoAndPlay (1);
}
Symbol 134 MovieClip Frame 25
stop();
_parent._parent._parent.mcBoard.currentP--;
_parent._parent.removeMovieClip();
Symbol 135 MovieClip Frame 1
stop();
Symbol 135 MovieClip Frame 10
_parent.mcBalloon._visible = false;
Instance of Symbol 134 MovieClip in Symbol 135 MovieClip Frame 10
onClipEvent (load) {
times = -5;
}
Symbol 137 MovieClip Frame 15
stop();
_parent._parent.mcBalloon._visible = true;
Symbol 153 MovieClip Frame 10
times++;
if (times < 6) {
gotoAndPlay (1);
}
Symbol 153 MovieClip Frame 25
stop();
_parent._parent._parent.mcBoard.currentP--;
_parent._parent.removeMovieClip();
Symbol 154 MovieClip Frame 1
stop();
Symbol 154 MovieClip Frame 10
_parent.mcBalloon._visible = false;
Instance of Symbol 153 MovieClip in Symbol 154 MovieClip Frame 10
onClipEvent (load) {
times = -5;
}
Symbol 156 MovieClip Frame 15
stop();
_parent._parent.mcBalloon._visible = true;
Symbol 183 MovieClip Frame 20
times++;
if (times < 6) {
gotoAndPlay (1);
}
Symbol 183 MovieClip Frame 35
stop();
_parent._parent._parent.mcBoard.currentP--;
_parent._parent.removeMovieClip();
Symbol 184 MovieClip Frame 1
stop();
Symbol 184 MovieClip Frame 10
_parent.mcBalloon._visible = false;
Instance of Symbol 183 MovieClip in Symbol 184 MovieClip Frame 10
onClipEvent (load) {
times = -5;
}
Symbol 186 MovieClip Frame 15
stop();
_parent._parent.mcBalloon._visible = true;
Symbol 201 MovieClip Frame 20
times++;
if (times < 6) {
gotoAndPlay (1);
}
Symbol 201 MovieClip Frame 35
stop();
_parent._parent._parent.mcBoard.currentP--;
_parent._parent.removeMovieClip();
Symbol 202 MovieClip Frame 1
stop();
Symbol 202 MovieClip Frame 10
_parent.mcBalloon._visible = false;
Instance of Symbol 201 MovieClip in Symbol 202 MovieClip Frame 10
onClipEvent (load) {
times = -5;
}
Symbol 204 MovieClip Frame 15
stop();
_parent._parent.mcBalloon._visible = true;
Symbol 220 MovieClip Frame 15
times++;
if (times < 6) {
gotoAndPlay (1);
}
Symbol 220 MovieClip Frame 30
stop();
_parent._parent._parent.mcBoard.currentP--;
_parent._parent.removeMovieClip();
Symbol 221 MovieClip Frame 1
stop();
Symbol 221 MovieClip Frame 10
_parent.mcBalloon._visible = false;
Instance of Symbol 220 MovieClip in Symbol 221 MovieClip Frame 10
onClipEvent (load) {
times = -5;
}
Symbol 224 MovieClip Frame 206
stop();
_parent._parent.mcBoard.currentP--;
_parent.removeMovieClip();
Symbol 225 MovieClip [mcPeople] Frame 1
stop();
Instance of Symbol 21 MovieClip "mcMan" in Symbol 225 MovieClip [mcPeople] Frame 1
onClipEvent (load) {
function nextPhase() {
if (phase == 6) {
clearInterval(myID);
_parent.gotoAndStop(20);
}
gotoAndStop(phase);
phase++;
}
phase = 1;
myID = setInterval(nextPhase, _root.mcBoard.seconds);
}
Instance of Symbol 35 MovieClip "mcBalloon" in Symbol 225 MovieClip [mcPeople] Frame 1
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 52 MovieClip "mcMan" in Symbol 225 MovieClip [mcPeople] Frame 2
onClipEvent (load) {
function nextPhase() {
if (phase == 6) {
clearInterval(myID);
_parent.gotoAndStop(20);
}
gotoAndStop(phase);
phase++;
}
phase = 1;
myID = setInterval(nextPhase, _root.mcBoard.seconds);
}
Instance of Symbol 72 MovieClip "mcMan" in Symbol 225 MovieClip [mcPeople] Frame 3
onClipEvent (load) {
function nextPhase() {
if (phase == 6) {
clearInterval(myID);
_parent.gotoAndStop(20);
}
gotoAndStop(phase);
phase++;
}
phase = 1;
myID = setInterval(nextPhase, _root.mcBoard.seconds);
}
Instance of Symbol 95 MovieClip "mcMan" in Symbol 225 MovieClip [mcPeople] Frame 4
onClipEvent (load) {
function nextPhase() {
if (phase == 6) {
clearInterval(myID);
_parent.gotoAndStop(20);
}
gotoAndStop(phase);
phase++;
}
phase = 1;
myID = setInterval(nextPhase, _root.mcBoard.seconds);
}
Instance of Symbol 111 MovieClip "mcMan" in Symbol 225 MovieClip [mcPeople] Frame 5
onClipEvent (load) {
function nextPhase() {
if (phase == 6) {
clearInterval(myID);
_parent.gotoAndStop(20);
}
gotoAndStop(phase);
phase++;
}
phase = 1;
myID = setInterval(nextPhase, _root.mcBoard.seconds);
}
Instance of Symbol 135 MovieClip "mcMan" in Symbol 225 MovieClip [mcPeople] Frame 6
onClipEvent (load) {
function nextPhase() {
if (phase == 6) {
clearInterval(myID);
_parent.gotoAndStop(20);
}
gotoAndStop(phase);
phase++;
}
phase = 1;
myID = setInterval(nextPhase, _root.mcBoard.seconds);
}
Instance of Symbol 154 MovieClip "mcMan" in Symbol 225 MovieClip [mcPeople] Frame 7
onClipEvent (load) {
function nextPhase() {
if (phase == 6) {
clearInterval(myID);
_parent.gotoAndStop(20);
}
gotoAndStop(phase);
phase++;
}
phase = 1;
myID = setInterval(nextPhase, _root.mcBoard.seconds);
}
Instance of Symbol 184 MovieClip "mcMan" in Symbol 225 MovieClip [mcPeople] Frame 8
onClipEvent (load) {
function nextPhase() {
if (phase == 6) {
clearInterval(myID);
_parent.gotoAndStop(20);
}
gotoAndStop(phase);
phase++;
}
phase = 1;
myID = setInterval(nextPhase, _root.mcBoard.seconds);
}
Instance of Symbol 202 MovieClip "mcMan" in Symbol 225 MovieClip [mcPeople] Frame 9
onClipEvent (load) {
function nextPhase() {
if (phase == 6) {
clearInterval(myID);
_parent.gotoAndStop(20);
}
gotoAndStop(phase);
phase++;
}
phase = 1;
myID = setInterval(nextPhase, _root.mcBoard.seconds);
}
Instance of Symbol 221 MovieClip "mcMan" in Symbol 225 MovieClip [mcPeople] Frame 10
onClipEvent (load) {
function nextPhase() {
if (phase == 6) {
clearInterval(myID);
_parent.gotoAndStop(20);
}
gotoAndStop(phase);
phase++;
}
phase = 1;
myID = setInterval(nextPhase, _root.mcBoard.seconds);
}
Symbol 225 MovieClip [mcPeople] Frame 20
mcBalloon._visible = false;
Instance of Symbol 224 MovieClip in Symbol 225 MovieClip [mcPeople] Frame 20
onClipEvent (load) {
_parent._parent.mcBoard.txtDeaths.text = Number(_parent._parent.mcBoard.txtDeaths.text) + 1;
_parent._parent.mcBoard.txtScore.text = Number(_parent._parent.mcBoard.txtScore.text) - 20;
if (_parent._parent.mcBoard.txtDeaths.text == _parent._parent.mcBoard.txtQuota.text) {
_root.gameStarted = false;
_root.mcBoard.OKtoStart = false;
_root.mcLevel._visible = true;
_root.mcLevel.gotoAndPlay("gameover");
}
}
Symbol 228 MovieClip Frame 1
stop();
Symbol 228 MovieClip Frame 2
stop();
Symbol 230 MovieClip [mcSymbol2] Frame 1
stop();
Symbol 247 Button
on (release) {
noCow = true;
gotoAndStop (3);
}
Symbol 275 MovieClip Frame 1
stop();
Symbol 275 MovieClip Frame 2
_root.mcSoundBoard.gotoAndStop("sewer");
Symbol 278 MovieClip Frame 1
stop();
Symbol 278 MovieClip Frame 10
stop();
Symbol 278 MovieClip Frame 20
stop();
Symbol 278 MovieClip Frame 30
stop();
Symbol 278 MovieClip Frame 40
stop();
_parent.mcScroll0.gotoAndStop(1);
_parent.mcScroll1.gotoAndStop(10);
_parent.mcScroll2.gotoAndStop(20);
_parent.mcScroll3.gotoAndStop(30);
_parent.mcScroll3.mcSymbol.gotoAndStop(_parent.mcScroll2.mcSymbol._currentframe);
_parent.mcScroll2.mcSymbol.gotoAndStop(_parent.mcScroll1.mcSymbol._currentframe);
_parent.mcScroll1.mcSymbol.gotoAndStop(_parent.mcScroll0.mcSymbol._currentframe);
Instance of Symbol 278 MovieClip "mcScroll1" in Symbol 279 MovieClip Frame 1
onClipEvent (load) {
mcSymbol.gotoAndStop(random(10) + 1);
}
onClipEvent (enterFrame) {
if (ok) {
if (_currentframe < 10) {
play();
} else {
ok = false;
stop();
}
}
}
Instance of Symbol 278 MovieClip "mcScroll2" in Symbol 279 MovieClip Frame 1
onClipEvent (load) {
mcSymbol.gotoAndStop(random(10) + 1);
}
onClipEvent (enterFrame) {
if (ok) {
if (_currentframe < 20) {
play();
if (_currentframe == 10) {
_parent.mcScroll1.ok = true;
}
} else {
ok = false;
}
}
}
Instance of Symbol 278 MovieClip "mcScroll3" in Symbol 279 MovieClip Frame 1
onClipEvent (load) {
mcSymbol.gotoAndStop(random(10) + 1);
no = 10;
}
onClipEvent (enterFrame) {
if (!ok) {
if (_currentframe < 30) {
play();
if (_currentframe == 10) {
_parent.mcScroll2.ok = true;
}
} else {
ok = true;
_parent.Ready = true;
}
}
}
Symbol 285 Button
on (release) {
gotoAndStop (2);
}
Symbol 302 MovieClip Frame 59
_parent.mcClock._rotation = _parent.mcClock._rotation + 2.5;
if (_parent.mcClock._rotation == -90) {
_root.gameStarted = false;
_parent.OKtoStart = false;
_root.mcLevel._visible = true;
_root.mcLevel.gotoAndPlay("gameover");
}
Instance of Symbol 305 MovieClip "mcClock" in Symbol 306 MovieClip Frame 1
onClipEvent (load) {
_rotation = 272.5;
if (_rotation > 360) {
_rotation = 0;
}
}
Symbol 312 Button
on (release) {
gotoAndStop (1);
}
Symbol 315 MovieClip Frame 1
stop();
Instance of Symbol 230 MovieClip [mcSymbol2] in Symbol 315 MovieClip Frame 1
onClipEvent (load) {
mcCircle.gotoAndStop(2);
}
Symbol 317 Button
on (release) {
noCow = false;
cowspeed = 30;
gotoAndStop (3);
}
Symbol 319 Button
on (release) {
noCow = false;
cowspeed = 7;
gotoAndStop (3);
}
Symbol 326 MovieClip Frame 1
stop();
Symbol 326 MovieClip Frame 5
gotoAndStop (1);
Symbol 326 MovieClip Frame 10
gotoAndStop (1);
Symbol 326 MovieClip Frame 15
gotoAndStop (1);
Instance of Symbol 278 MovieClip "mcScroll1" in Symbol 342 MovieClip Frame 1
onClipEvent (load) {
mcSymbol.gotoAndStop(random(_parent._parent.symbols) + 1);
}
onClipEvent (enterFrame) {
if (ok) {
if (_currentframe < 10) {
play();
} else {
ok = false;
stop();
}
}
}
Instance of Symbol 278 MovieClip "mcScroll2" in Symbol 342 MovieClip Frame 1
onClipEvent (load) {
mcSymbol.gotoAndStop(random(_parent._parent.symbols) + 1);
}
onClipEvent (enterFrame) {
if (ok) {
if (_currentframe < 20) {
play();
if (_currentframe == 10) {
_parent.mcScroll1.ok = true;
}
} else {
ok = false;
}
}
}
Instance of Symbol 278 MovieClip "mcScroll3" in Symbol 342 MovieClip Frame 1
onClipEvent (load) {
mcSymbol.gotoAndStop(random(_parent._parent.symbols) + 1);
no = 10;
}
onClipEvent (enterFrame) {
if (!ok) {
if (_currentframe < 30) {
play();
if (_currentframe == 10) {
_parent.mcScroll2.ok = true;
}
} else {
ok = true;
_parent.Ready = true;
}
}
if (_currentframe == 40) {
_root.gameStarted = true;
_parent._parent._parent.attachMovie("mcSymbol2", "mcSymbol" + no, no);
_parent._parent._parent["mcSymbol" + no].gotoAndStop(mcSymbol._currentframe);
_parent._parent._parent["mcSymbol" + no]._x = random(500) + 200;
_parent._parent._parent["mcSymbol" + no].good = false;
_parent.Ready = true;
w = random(10);
if (w < 5) {
_parent._parent._parent["mcSymbol" + no].dir = -3;
} else {
_parent._parent._parent["mcSymbol" + no].dir = 3;
}
_parent._parent._parent["mcSymbol" + no].onEnterFrame = function () {
this._rotation = this._rotation + this.dir;
this._y = this._y + 5;
if (this._y > 610) {
this.removeMovieClip();
}
ctr = 1;
while (ctr < 6) {
if (this.hitTest(_root["mcPeople" + ctr].mcMan)) {
if (_root["mcPeople" + ctr].mcBalloon._visible) {
_root.mcBoard.txtScore.text = Number(_root.mcBoard.txtScore.text) - 2;
_root["mcPeople" + ctr].mcMan.phase++;
if (_root["mcPeople" + ctr].mcMan.phase > 5) {
_root["mcPeople" + ctr].mcMan.phase = 6;
_root["mcPeople" + ctr].mcMan.gotoAndStop(_root["mcPeople" + ctr].mcMan.phase - 1);
} else {
_root["mcPeople" + ctr].mcMan.gotoAndStop(_root["mcPeople" + ctr].mcMan.phase);
}
}
this.removeMovieClip();
}
ctr++;
}
if (_root.mcHolyCow.hitTest(this._x, this._y, true) && (!_root.mcHolyCow.holding)) {
_root.mcHolyCow.holding = true;
if (_root.mcBadCow.follow == "mcHolyCow") {
_root.mcBadCow.follow = this._name;
_root.mcBadCow.mySpeed = _root.cowspeed;
}
this.good = true;
this.mcCircle.gotoAndStop(2);
this._rotation = 0;
this.onEnterFrame = function () {
this._x = _root.mcHolyCow._x;
this._y = _root.mcHolyCow._y + 20;
if (_root.mcBadCow.hitTest(this._x, this._y, true)) {
this.good = false;
this.mcCircle.gotoAndStop(1);
_root.mcBadCow.follow = "mcHolyCow";
_root.mcBadCow.mySpeed = 30;
}
};
this.onMouseDown = function () {
this.onMouseDown = "";
this.onEnterFrame = function () {
if (_root.mcBoard.mcScroll.mcSewer.mcSewerHead.hitTest(this._x, this._y, true)) {
if (_root.mcBadCow.follow == this._name) {
_root.mcBadCow.follow = "mcHolyCow";
_root.mcBadCow.mySpeed = 30;
}
_root.mcBoard.mcScroll.mcSewer.gotoAndPlay(1);
_root.mcBoard.txtScore.text = Number(_root.mcBoard.txtScore.text) + 2;
this.removeMovieClip();
}
if (_root.mcSewer.mcSewerHead.hitTest(this._x, this._y, true)) {
if (_root.mcBadCow.follow == this._name) {
_root.mcBadCow.follow = "mcHolyCow";
_root.mcBadCow.mySpeed = 30;
}
_root.mcSewer.gotoAndPlay(1);
_root.mcBoard.txtScore.text = Number(_root.mcBoard.txtScore.text) + 2;
this.removeMovieClip();
}
if ((_root.mcBadCow.follow == "mcHolyCow") && (this.good)) {
_root.mcBadCow.follow = this._name;
_root.mcBadCow.mySpeed = _root.cowspeed;
}
if (_root.mcBadCow.hitTest(this._x, this._y, true)) {
this.good = false;
this.mcCircle.gotoAndStop(1);
_root.mcBadCow.follow = "mcHolyCow";
_root.mcBadCow.mySpeed = 30;
}
this._rotation = this._rotation + this.dir;
this._y = this._y + 5;
if (this._y > 610) {
if (this.good) {
_root.mcBoard.txtScore.text = Number(_root.mcBoard.txtScore.text) - 5;
}
if (_root.mcBadCow.follow == this._name) {
_root.mcBadCow.follow = "mcHolyCow";
_root.mcBadCow.mySpeed = 30;
}
this.removeMovieClip();
}
ctr = 1;
while (ctr < 6) {
if (this.hitTest(_root["mcPeople" + ctr].mcMan)) {
if (_root["mcPeople" + ctr].mcBalloon._visible) {
this.correct = false;
ctr2 = 1;
while (ctr2 < 5) {
if (!this.correct) {
if (_root["mcPeople" + ctr].mcBalloon["mcSymbol" + ctr2]._visible) {
if ((_root["mcPeople" + ctr].mcBalloon["mcSymbol" + ctr2]._currentframe == this._currentframe) && this.good) {
_root["mcPeople" + ctr].mcBalloon["mcSymbol" + ctr2]._visible = false;
_root["mcPeople" + ctr].mcBalloon.noofSymbols--;
if (_root["mcPeople" + ctr].mcBalloon.noofSymbols == 0) {
_root["mcPeople" + ctr].mcMan.gotoAndStop(10);
_root["mcPeople" + ctr].mcMan.phase = 6;
_root.mcBoard.txtScore.text = Number(_root.mcBoard.txtScore.text) + 20;
_root.mcBoard.txtPeople.text = Number(_root.mcBoard.txtPeople.text) + 1;
if (_root.mcBoard.txtPeople.text == _root.mcBoard.txtQuota.text) {
_root.gameStarted = false;
_root.mcBoard.OKtoStart = false;
_root.mcBoard.clearBoard();
_root.mcLevel._visible = true;
_root.mcLevel.gotoAndPlay("cleared");
}
clearInterval(_root["mcPeople" + ctr].mcMan.myID);
} else {
_root["mcPeople" + ctr].mcMan.gotoAndStop(1);
_root["mcPeople" + ctr].mcMan.mcMan.gotoAndStop(15);
_root["mcPeople" + ctr].mcMan.phase = 1;
}
_root.mcSoundBoard.gotoAndStop("hit");
this.correct = true;
}
}
}
ctr2++;
}
if (!this.correct) {
_root["mcPeople" + ctr].mcMan.phase++;
_root.mcBoard.txtScore.text = Number(_root.mcBoard.txtScore.text) - 5;
if (_root["mcPeople" + ctr].mcMan.phase > 5) {
_root["mcPeople" + ctr].mcMan.phase = 6;
clearInterval(_root["mcPeople" + ctr].mcMan.myID);
_root["mcPeople" + ctr].gotoAndStop(20);
} else {
_root["mcPeople" + ctr].mcMan.gotoAndStop(_root["mcPeople" + ctr].mcMan.phase);
}
}
if (_root.mcBadCow.follow == this._name) {
_root.mcBadCow.follow = "mcHolyCow";
_root.mcBadCow.mySpeed = 30;
}
this.removeMovieClip();
}
}
ctr++;
}
this.updateAfterEvent();
};
_root.mcHolyCow.holding = false;
};
}
this.updateAfterEvent();
};
no++;
if (no > 20) {
no = 10;
}
}
}
Instance of Symbol 302 MovieClip "mcPendulum" in Symbol 348 MovieClip Frame 1
onClipEvent (load) {
_root.gameStarted = false;
stop();
}
onClipEvent (enterFrame) {
if (_root.gameStarted) {
play();
}
}
Instance of Symbol 305 MovieClip "mcClock" in Symbol 348 MovieClip Frame 1
onClipEvent (load) {
_rotation = 272.5;
if (_rotation > 360) {
_rotation = 0;
}
}
Instance of Symbol 342 MovieClip "mcScroll" in Symbol 348 MovieClip Frame 1
onClipEvent (mouseDown) {
if ((Ready && (!_root.mcHolyCow.holding)) && (_parent.OKtoStart)) {
Ready = false;
mcScroll0.mcSymbol.gotoAndStop(random(_parent.symbols) + 1);
mcScroll0.play();
mcScroll1.play();
mcScroll2.play();
mcScroll3.play();
}
}
Symbol 363 Button
on (release) {
play();
}
Symbol 369 Button
on (release) {
_parent.mcBoard.clearBoard();
_parent.gotoAndStop(2);
}
Symbol 372 Button
on (release) {
_visible = false;
_parent.mcBoard.currentLevel--;
_parent.mcBoard.nextLevel();
}
Symbol 373 MovieClip Frame 230
_visible = false;
_parent.mcBoard.OKtoStart = true;
stop();
Symbol 373 MovieClip Frame 360
stop();
Symbol 373 MovieClip Frame 371
_visible = false;
stop();
_parent.mcBoard.nextLevel();
Symbol 373 MovieClip Frame 400
stop();
Symbol 374 Button
on (release) {
mcBoard.clearBoard();
gotoAndStop (2);
}