Frame 2
if (soundsON == undefined) {
soundsON = true;
}
stop();
Frame 3
i = 10;
hitCount = 0;
_global.hitters = ["boo", hitters2.Left, hitters2.TopLeft, hitters2.TopRight, hitters2.Right];
limit = 200;
limit2 = 2;
_root.playAgain._visible = false;
_root.playAgain.enabled = false;
_global.density = 1;
_global.GameOver = false;
_global.rainFall = 5;
_global.changer = 100;
Boundry = 100;
_global.healthy = 100 / _global.changer;
catWet = 1;
GameDone = false;
Mouse.hide();
stop();
checkGameStats = function () {
if (GameDone == false) {
if ((_root.healths._width < 10) || (_global.GameOver == true)) {
_root.block.gotoAndPlay(101);
catWet = 100;
GameDone = true;
}
}
};
createNew = function () {
BON = Math.round(Math.random() * 5000) - 0;
if (BON < 2) {
lighty._alpha = 100;
lighty.gotoAndPlay("flashy");
}
i++;
if ((i > Boundry) && (_global.rainFall < 50)) {
if (i > 1000) {
_global.density = 2;
limit = 300;
}
_global.rainFall++;
_root.hss._alpha++;
Boundry = Boundry + 200;
}
duplicateMovieClip (_root.drop, "drop" + i, i);
removeMovieClip(_root["drop" + (i - limit)]);
};
Instance of Symbol 74 MovieClip "drop" in Frame 3
onClipEvent (load) {
this._x = Math.round(Math.random() * 550) - 0;
splasher = (Math.round(Math.random() * 50) - 0) + 250;
this._y = 0;
hit = false;
if (this == _root.drop) {
_root.createNew();
this._x = -500;
}
timeUP = 2;
rotatedTO = 0;
notAlreadyHit = true;
pointsUP = true;
speed = Math.round(Math.random() * 5) + _global.rainFall;
this._xscale = Math.round(Math.random() * 80) + 70;
this._yscale = Math.round(Math.random() * 80) + 70;
}
onClipEvent (enterFrame) {
_root.checkGameStats();
if (_global.GameOver == false) {
if (this == _root.drop) {
_root.createNew();
}
speed = speed + 0.1;
if (this.hitTest(_root.block) && (pointsUP)) {
_root.pain++;
pointsUP = false;
this.gotoAndPlay("splash");
_root.catWet++;
_root.block.gotoAndStop(_root.catWet);
notAlreadyHit = false;
hit = true;
timeUP--;
_root.healths._xscale = _root.healths._xscale - 2.77;
}
if (hit == false) {
this._y = this._y + speed;
}
thisHit = 1;
while (thisHit < 5) {
if (this.hitTest(_global.hitters[thisHit])) {
if (!this.hitTest(_global.hitters[thisHit])) {
timeUP = 0;
}
if (notAlreadyHit) {
_root.hitCount++;
}
this.gotoAndPlay("splash");
notAlreadyHit = false;
hit = true;
timeUP--;
}
thisHit++;
}
if (this._y > (splasher + 100)) {
this.gotoAndPlay("splash");
hit = true;
timeUP--;
if (notAlreadyHit) {
}
notAlreadyHit = false;
}
if (timeUP == 0) {
pu = 0;
while (pu < _global.density) {
_root.createNew();
pu++;
}
if (this != _root.drop) {
this.removeMovieClip();
}
}
} else {
this.removeMovieClip();
}
}
Instance of Symbol 77 MovieClip "umbrella" in Frame 3
onClipEvent (enterFrame) {
this._x = _root._xmouse;
if (_root._ymouse > 230) {
this._y = _root._ymouse;
} else {
this._y = 230;
}
}
Instance of Symbol 82 MovieClip "hitters2" in Frame 3
onClipEvent (enterFrame) {
this._x = _root._xmouse;
if (_root._ymouse > 230) {
this._y = _root._ymouse;
} else {
this._y = 230;
}
}
Instance of Symbol 93 MovieClip "block" in Frame 3
onClipEvent (load) {
this.gotoAndStop(_root.catWet);
catSpeed = 5;
left = true;
turns = 0;
terminalV = false;
}
onClipEvent (enterFrame) {
if (_global.GameOver == false) {
if (left == true) {
_x = (_x + catSpeed);
if (_x > 500) {
left = false;
if (!terminalV) {
catSpeed = catSpeed + 2;
turns++;
if (turns > 7) {
terminalV = true;
}
}
if (_root.healths._width < 400) {
_root.healths._width = _root.healths._width + 10;
_root.catWet = _root.catWet - 5;
_root.healths.gotoAndPlay(2);
this.gotoAndStop(_root.catWet);
}
}
} else {
_x = (_x - catSpeed);
if (_x < 50) {
left = true;
if (!terminalV) {
catSpeed = catSpeed + 2;
turns++;
if (turns > 7) {
terminalV = true;
}
}
if (_root.healths._width < 400) {
_root.healths._width = _root.healths._width + 10;
_root.catWet = _root.catWet - 5;
_root.healths.gotoAndPlay(2);
this.gotoAndStop(_root.catWet);
}
}
}
}
}
Symbol 11 MovieClip Frame 1
_root.stop();
PercentLoaded = (_root.getBytesLoaded() / _root.getBytesTotal()) * 100;
Loading = (_root.getBytesLoaded() + " / ") + _root.getBytesTotal();
if (PercentLoaded > 99) {
gotoAndPlay (3);
}
Symbol 11 MovieClip Frame 2
gotoAndPlay (1);
Symbol 11 MovieClip Frame 3
_root.gotoAndPlay("intr");
Symbol 16 Button
on (release) {
getURL ("http://www.peturo.com", "blank");
}
Symbol 28 Button
on (release) {
if (soundsON) {
stopAllSounds();
soundsON = false;
this.texty = "Off";
} else {
musicy.gotoAndPlay("onward");
soundsON = true;
this.texty = "On";
}
}
Symbol 30 MovieClip Frame 1
if (_root.soundsON) {
gotoAndPlay ("onward");
} else {
stop();
}
Symbol 33 MovieClip Frame 80
stop();
Symbol 36 MovieClip Frame 430
gotoAndPlay (30);
Symbol 40 Button
on (release) {
_root.instructions.gotoAndPlay("herro");
}
Symbol 44 Button
on (release) {
gotoAndPlay ("begin");
}
Symbol 49 Button
on (release) {
gotoAndPlay ("begin");
}
Symbol 50 Button
on (release) {
gotoAndPlay ("begin");
}
Symbol 57 Button
on (release) {
_root.gotoAndPlay("begin");
}
Symbol 58 MovieClip Frame 1
stop();
Symbol 58 MovieClip Frame 50
stop();
Symbol 67 MovieClip Frame 11
gotoAndStop (1);
Symbol 74 MovieClip Frame 1
stop();
Symbol 74 MovieClip Frame 4
stop();
Symbol 93 MovieClip Frame 99
trace("dided");
Symbol 93 MovieClip Frame 100
play();
Symbol 93 MovieClip Frame 102
trace("wett");
_global.GameOver = true;
play();
Symbol 93 MovieClip Frame 116
_root.dieeed.gotoAndPlay("dieeed");
_root.playAgain._visible = true;
_root.playAgain.enabled = true;
Symbol 93 MovieClip Frame 146
stop();
Instance of Symbol 92 MovieClip in Symbol 93 MovieClip Frame 146
onClipEvent (enterFrame) {
this.stop();
}
Symbol 96 Button
on (release) {
gotoAndPlay ("intro");
}
Symbol 98 MovieClip Frame 1
play();
Symbol 98 MovieClip Frame 16
stop();
Symbol 104 MovieClip Frame 1
stop();
Symbol 104 MovieClip Frame 2
Mouse.show();
if (_global.highScore == undefined) {
_global.highScore = 0;
}
currentCount = _root.hitCount;
if (currentCount > _global.highScore) {
_global.highScore = currentCount;
}
highest = _global.highScore;
Symbol 104 MovieClip Frame 13
if (_global.highScore == undefined) {
_global.highScore = 0;
}
currentCount = _root.hitCount;
if (currentCount > _global.highScore) {
_global.highScore = currentCount;
}
highest = _global.highScore;
Symbol 104 MovieClip Frame 33
stop();