Frame 1
Stage.showMenu = false;
Instance of Symbol 111 MovieClip in Frame 1
onClipEvent (enterFrame) {
loaded = _root.getBytesLoaded();
total = _root.getBytesTotal();
framesLoaded = Math.ceil((loaded / total) * 100);
gotoAndStop(framesLoaded);
status.text = framesLoaded + " % completed";
if (framesLoaded >= 90) {
_root.gotoAndPlay(1, 1);
}
}
Frame 340
stop();
Frame 376
function xyMovement() {
if (Key.isDown(39)) {
_root.movement++;
_root.penguin._xscale = 100;
}
if (Key.isDown(37)) {
_root.movement--;
_root.penguin._xscale = -100;
}
if (Key.isDown(38)) {
_root.penguin.play();
}
if (_root.inMotion == true) {
_root.penguin._x = _root.penguin._x + _root.movement;
if (_root.movement >= _root.speedLimit) {
_root.movement = _root.speedLimit;
}
if (_root.movement <= (-1 * _root.speedLimit)) {
_root.movement = _root.speedLimit * -1;
}
}
}
function droplets() {
if (_root.inMotion == true) {
_root.dropCount++;
}
if (_root.dropCount == _root.dropRate) {
_root.randomDrop = random(_root.howManyDrops);
if (((_root.randomDrop == 0) || (_root.randomDrop == 1)) || (_root.randomDrop == 2)) {
mov = _root.attachMovie("blueDrop", "blueDrop" + _root.k, _root.k++);
mov._x = random(530) + 10;
mov._y = -8;
_root.dropCount = 0;
if (_root.initialWater == false) {
mov2 = _root.mov.attachMovie("catchWater", "cw" + _root.k, _root.k++);
_root.initialWater = true;
}
}
if (_root.randomDrop == 3) {
mov = _root.attachMovie("choleraDrop", "choleraDrop" + _root.k, _root.k++);
mov._x = random(530) + 10;
mov._y = -8;
_root.dropCount = 0;
if (_root.initialColorDrop == false) {
mov2 = _root.mov.attachMovie("avoidColor", "ac" + _root.k, _root.k++);
_root.initialColorDrop = true;
}
}
if (_root.randomDrop == 4) {
mov = _root.attachMovie("wormDrop", "wormDrop" + _root.k, _root.k++);
mov._x = random(530) + 10;
mov._y = -8;
_root.dropCount = 0;
}
if (_root.randomDrop == 5) {
mov = _root.attachMovie("trachomaDrop", "trachomaDrop" + _root.k, _root.k++);
mov._x = random(530) + 10;
mov._y = -8;
_root.dropCount = 0;
}
}
}
function scoreTally() {
if (_root.score < _root.meetScore) {
_root.score++;
}
if (_root.gallons < _root.meetGallons) {
_root.gallons++;
}
}
function level() {
if (_root.gallons == 110) {
_root.dropRate = 3;
}
if (_root.gallons == 110) {
_root.dropRate = 4;
}
if (_root.gallons == 100) {
_root.dropRate = 5;
}
if (_root.gallons == 90) {
_root.dropRate = 6;
}
if (_root.gallons == 80) {
_root.dropRate = 7;
}
if (_root.gallons == 70) {
_root.dropRate = 8;
}
if (_root.gallons == 60) {
_root.dropRate = 9;
}
if (_root.gallons == 50) {
_root.dropRate = 10;
}
if (_root.gallons == 40) {
_root.dropRate = 20;
}
if (_root.gallons == 30) {
_root.howManyDrops = 6;
_root.dropRate = 25;
}
if (_root.gallons == 20) {
_root.howManyDrops = 5;
_root.dropRate = 35;
}
if (_root.gallons == 10) {
_root.howManyDrops = 4;
_root.dropRate = 40;
}
if (_root.gallons == 5) {
_root.howManyDrops = 3;
_root.dropRate = 50;
}
}
function death() {
_root.inMotion = false;
_root.penguin.penguin3._visible = true;
_root.penguin.penguin3.play();
_root.penguin.penguin2._visible = false;
}
function death2() {
_root.waitingForScore = true;
}
stop();
Instance of Symbol 252 MovieClip in Frame 376
onClipEvent (enterFrame) {
if (this.hitTest(_root.penguin)) {
_root.movement = _root.movement * -1;
_root.movement++;
}
}
Instance of Symbol 252 MovieClip in Frame 376
onClipEvent (enterFrame) {
if (this.hitTest(_root.penguin)) {
_root.movement = _root.movement * -1;
_root.movement--;
}
}
Instance of Symbol 254 MovieClip in Frame 376
onClipEvent (load) {
_root.inMotion = true;
_root.movement = 0;
_root.speedLimit = 5;
_root.dropCount = 0;
_root.dropRate = 100;
_root.score = 0;
_root.meetScore = 0;
_root.gallons = 0;
_root.meetGallons = 0;
_root.k = 0;
_root.howManyDrops = 1;
_root.initialWater = false;
_root.initialColorDrop = false;
}
onClipEvent (enterFrame) {
_root.xyMovement();
_root.droplets();
_root.scoreTally();
_root.level();
if (_root.waitingForScore == true) {
if (_root.score == _root.meetScore) {
_root.nextFrame();
}
}
}
Frame 377
_root.transferScore = _root.score;
Instance of Symbol 266 MovieClip in Frame 377
onClipEvent (enterFrame) {
if (_root.gotCholera == true) {
this._visible = true;
} else {
this._alpha = 50;
}
}
Instance of Symbol 272 MovieClip in Frame 377
onClipEvent (enterFrame) {
if (_root.gotWorm == true) {
this._visible = true;
} else {
this._alpha = 50;
}
}
Instance of Symbol 269 MovieClip in Frame 377
onClipEvent (enterFrame) {
if (_root.gotTrachoma == true) {
this._visible = true;
} else {
this._alpha = 50;
}
}
Instance of Symbol 254 MovieClip in Frame 378
onClipEvent (load) {
_root.totalGallons = Math.round(_root.gallons * 2.66666666666667) + " days";
}
Instance of Symbol 252 MovieClip in Frame 396
onClipEvent (enterFrame) {
if (this.hitTest(_root.cloud)) {
_root.cloudReposition = _root.cloudReposition * -1;
}
}
Instance of Symbol 252 MovieClip in Frame 396
onClipEvent (enterFrame) {
if (this.hitTest(_root.cloud)) {
_root.cloudReposition = _root.cloudReposition * -1;
}
}
Instance of Symbol 252 MovieClip in Frame 396
onClipEvent (enterFrame) {
if (this.hitTest(_root.penguin)) {
_root.movement = _root.movement * -1;
_root.movement++;
}
}
Instance of Symbol 252 MovieClip in Frame 396
onClipEvent (enterFrame) {
if (this.hitTest(_root.penguin)) {
_root.movement = _root.movement * -1;
_root.movement--;
}
}
Instance of Symbol 254 MovieClip in Frame 396
onClipEvent (load) {
_root.cloud._level = 100000000 /* 0x5F5E100 */;
_root.inMotion = true;
_root.movement = 0;
_root.speedLimit = 5;
_root.dropCount = 0;
_root.dropRate = 100;
_root.score = 0;
_root.meetScore = 0;
_root.gallons = 0;
_root.meetGallons = 0;
_root.k = 0;
_root.howManyDrops = 1;
_root.initialWater = false;
_root.initialColorDrop = false;
_root.endLevel = false;
}
onClipEvent (enterFrame) {
_root.xyMovement();
_root.droplets();
_root.scoreTally();
_root.level();
if (_root.waitingForScore == true) {
if (_root.score == _root.meetScore) {
_root.nextFrame();
}
}
_root.death();
}
Frame 415
function xyMovement() {
if (_root.inMotion == true) {
_root.penguin._x = _root.penguin._x + _root.movement;
if (_root.movement >= _root.speedLimit) {
_root.movement = _root.speedLimit;
}
if (_root.movement <= (-1 * _root.speedLimit)) {
_root.movement = _root.speedLimit * -1;
}
if (Key.isDown(39)) {
_root.movement++;
_root.penguin._xscale = 100;
}
if (Key.isDown(37)) {
_root.movement--;
_root.penguin._xscale = -100;
}
if (Key.isDown(38)) {
_root.penguin._y = _root.penguin._y - 5;
}
if (Key.isDown(40)) {
_root.penguin._y = _root.penguin._y + 5;
}
if (_root.penguin._y <= 20) {
_root.penguin._y = 21;
}
if (_root.penguin._y >= 350) {
_root.penguin._y = 349;
}
}
}
function scoreTally() {
if (_root.score < _root.meetScore) {
_root.score++;
}
if (_root.gallons < _root.meetGallons) {
_root.gallons++;
}
}
function level() {
if (_root.gallons == 110) {
_root.dropRate = 3;
}
if (_root.gallons == 110) {
_root.dropRate = 4;
}
if (_root.gallons == 100) {
_root.dropRate = 5;
}
if (_root.gallons == 90) {
_root.dropRate = 6;
}
if (_root.gallons == 80) {
_root.dropRate = 7;
}
if (_root.gallons == 70) {
_root.dropRate = 8;
}
if (_root.gallons == 60) {
_root.dropRate = 9;
}
if (_root.gallons == 50) {
_root.dropRate = 10;
}
if (_root.gallons == 40) {
_root.dropRate = 20;
}
if (_root.gallons == 30) {
_root.howManyDrops = 6;
_root.dropRate = 25;
}
if (_root.gallons == 20) {
_root.howManyDrops = 5;
_root.dropRate = 35;
}
if (_root.gallons == 10) {
_root.howManyDrops = 4;
_root.dropRate = 40;
}
if (_root.gallons == 5) {
_root.howManyDrops = 3;
_root.dropRate = 50;
}
}
function death() {
if (_root.endLevel == true) {
_root.inMotion = false;
_root.cloud.gotoAndStop(2);
if (_root.score == _root.meetScore) {
_root.nextFrame();
}
}
}
function death2() {
_root.waitingForScore = true;
}
function droplets() {
if (_root.inMotion == true) {
_root.dropCount++;
}
if (_root.dropCount >= (_root.dropRate / 2)) {
_root.cloud.gotoAndStop(2);
}
if (_root.dropCount == _root.dropRate) {
_root.cloud.gotoAndStop(1);
mov = _root.attachMovie("acidDrop", "firstDrop" + _root.k, _root.k++);
mov._x = _root.cloud._x;
mov._y = 20;
mov._xscale = 75;
mov._yscale = 75;
_root.dropCount = 0;
if (_root.initialWater == false) {
mov2 = _root.mov.attachMovie("catchWater", "cw" + _root.k, _root.k++);
_root.initialWater = true;
}
}
}
stop();
Instance of Symbol 344 MovieClip "cloud" in Frame 415
onClipEvent (load) {
_root.cloudReposition = 0;
_root.cloudCounter = 0;
}
onClipEvent (enterFrame) {
if (_root.inMotion == true) {
_root.cloudCounter++;
_root.cloud._x = _root.cloud._x + _root.cloudReposition;
if (_root.cloudCounter >= 50) {
_root.cloudReposition = _root.cloudReposition + (random(6) - 3);
if (_root.cloudReposition >= _root.speedLimit) {
_root.cloudReposition = _root.speedLimit;
}
if (_root.cloudReposition <= (_root.speedLimit * -1)) {
_root.cloudReposition = _root.speedLimit * -1;
}
_root.cloudCounter = 0;
}
}
}
Instance of Symbol 252 MovieClip in Frame 415
onClipEvent (enterFrame) {
if (this.hitTest(_root.cloud)) {
_root.cloudReposition = _root.cloudReposition * -1;
}
}
Instance of Symbol 252 MovieClip in Frame 415
onClipEvent (enterFrame) {
if (this.hitTest(_root.cloud)) {
_root.cloudReposition = _root.cloudReposition * -1;
}
}
Instance of Symbol 252 MovieClip in Frame 415
onClipEvent (enterFrame) {
if (this.hitTest(_root.penguin)) {
_root.movement = _root.movement * -1;
_root.movement++;
}
}
Instance of Symbol 252 MovieClip in Frame 415
onClipEvent (enterFrame) {
if (this.hitTest(_root.penguin)) {
_root.movement = _root.movement * -1;
_root.movement--;
}
}
Instance of Symbol 254 MovieClip in Frame 415
onClipEvent (load) {
_root.cloud._level = 100000000 /* 0x5F5E100 */;
_root.inMotion = true;
_root.movement = 0;
_root.speedLimit = 5;
_root.dropCount = 0;
_root.dropRate = 100;
_root.gallons = 0;
_root.meetGallons = 0;
_root.k = 0;
_root.howManyDrops = 1;
_root.endLevel = false;
_root.waitingForScore = false;
_root.score = _root.transferScore;
_root.meetScore = _root.transferScore;
}
onClipEvent (enterFrame) {
_root.xyMovement();
_root.droplets();
_root.scoreTally();
_root.level();
if (_root.waitingForScore == true) {
if (_root.score == _root.meetScore) {
_root.nextFrame();
}
}
_root.death();
}
Frame 416
stop();
Instance of Symbol 358 MovieClip in Frame 416
onClipEvent (enterFrame) {
if (_root.killTree == true) {
this._visible = true;
} else {
this._alpha = 50;
}
}
Instance of Symbol 362 MovieClip in Frame 416
onClipEvent (enterFrame) {
if (_root.killWater == true) {
this._visible = true;
} else {
this._alpha = 50;
}
}
Instance of Symbol 367 MovieClip in Frame 416
onClipEvent (enterFrame) {
if (_root.killCity == true) {
this._visible = true;
} else {
this._alpha = 50;
}
}
Frame 455
function xyMovement() {
if (_root.inMotion == true) {
_root.penguin._x = _root.penguin._x + _root.movement;
if (_root.movement >= _root.speedLimit) {
_root.movement = _root.speedLimit;
}
if (_root.movement <= (-1 * _root.speedLimit)) {
_root.movement = _root.speedLimit * -1;
}
if (Key.isDown(39)) {
_root.movement++;
_root.penguin._xscale = 100;
}
if (Key.isDown(37)) {
_root.movement--;
_root.penguin._xscale = -100;
}
if (Key.isDown(38)) {
_root.penguin._y = _root.penguin._y - 3;
}
if (Key.isDown(40)) {
_root.penguin._y = _root.penguin._y + 3;
}
if (_root.penguin._y <= 20) {
_root.penguin._y = 21;
}
if (_root.penguin._y >= 350) {
_root.penguin._y = 349;
}
}
}
function scoreTally() {
if (_root.score < _root.meetScore) {
_root.score++;
}
if (_root.gallons < _root.meetGallons) {
_root.gallons++;
}
}
function level() {
if (_root.gallons == 110) {
_root.dropRate = 3;
}
if (_root.gallons == 110) {
_root.dropRate = 4;
}
if (_root.gallons == 100) {
_root.dropRate = 5;
}
if (_root.gallons == 90) {
_root.dropRate = 6;
}
if (_root.gallons == 80) {
_root.dropRate = 7;
}
if (_root.gallons == 70) {
_root.dropRate = 8;
}
if (_root.gallons == 60) {
_root.dropRate = 9;
}
if (_root.gallons == 50) {
_root.dropRate = 10;
}
if (_root.gallons == 40) {
_root.dropRate = 20;
}
if (_root.gallons == 30) {
_root.howManyDrops = 6;
_root.dropRate = 25;
}
if (_root.gallons == 20) {
_root.howManyDrops = 5;
_root.dropRate = 35;
}
if (_root.gallons == 10) {
_root.howManyDrops = 4;
_root.dropRate = 40;
}
if (_root.gallons == 5) {
_root.howManyDrops = 3;
_root.dropRate = 50;
}
}
function death() {
if (_root.endLevel == true) {
_root.inMotion = false;
_root.cloud.gotoAndStop(2);
if (_root.score == _root.meetScore) {
_root.nextFrame();
}
}
}
function death2() {
_root.waitingForScore = true;
}
stop();
Instance of Symbol 403 MovieClip "america" in Frame 455
onClipEvent (load) {
this.hp = 100;
this.panicIs = "off";
}
onClipEvent (enterFrame) {
if (_root.inMotion == true) {
if (this.panicIs == "off") {
this.activatePanic = random(_root.panicChance);
if (this.activatePanic == 1) {
this.panicIs = "active";
}
}
if (this.panicIs == "active") {
this.gotoAndStop("help");
this.panicIs = "on";
}
if (this.panicIs == "on") {
this.hp = this.hp - _root.decreaser;
this.healthBar._xscale = this.hp;
this.color._alpha = this.hp;
if (this.healthBar._xscale <= 0) {
this.healthBar._xscale = 0;
}
if (this.hitArea.hitTest(_root.penguin.penguin2.penguin3.bucket.hitArea)) {
this.panicIs = "off";
this.hp = 100;
mov = _root.attachMovie("bucketMe", "bucketMe" + _root.k, _root.k++);
mov._x = this._x + this.hitArea._x;
mov._y = this._y + this.hitArea._y;
_root.meetScore = _root.meetScore + 50;
_root.meetGallons = _root.meetGallons + 5;
_root.panicChance = _root.panicChance - 2;
_root.decreaser = _root.decreaser + 0.001;
this.gotoAndStop("okay");
}
if (this.hp <= 0) {
_root.inMotion = false;
_root.nextFrame();
}
}
}
}
Instance of Symbol 407 MovieClip "samerica" in Frame 455
onClipEvent (load) {
this.hp = 100;
this.panicIs = "off";
}
onClipEvent (enterFrame) {
if (_root.inMotion == true) {
if (this.panicIs == "off") {
this.activatePanic = random(_root.panicChance);
if (this.activatePanic == 1) {
this.panicIs = "active";
}
}
if (this.panicIs == "active") {
this.gotoAndStop("help");
this.panicIs = "on";
}
if (this.panicIs == "on") {
this.hp = this.hp - _root.decreaser;
this.healthBar._xscale = this.hp;
this.color._alpha = this.hp;
if (this.healthBar._xscale <= 0) {
this.healthBar._xscale = 0;
}
if (this.hitArea.hitTest(_root.penguin.penguin2.penguin3.bucket.hitArea)) {
this.panicIs = "off";
this.hp = 100;
mov = _root.attachMovie("bucketMe", "bucketMe" + _root.k, _root.k++);
mov._x = this._x + this.hitArea._x;
mov._y = this._y + this.hitArea._y;
_root.meetScore = _root.meetScore + 50;
_root.meetGallons = _root.meetGallons + 5;
_root.panicChance = _root.panicChance - 2;
_root.decreaser = _root.decreaser + 0.001;
this.gotoAndStop("okay");
}
if (this.hp <= 0) {
_root.inMotion = false;
_root.nextFrame();
}
}
}
}
Instance of Symbol 411 MovieClip "cenamerica" in Frame 455
onClipEvent (load) {
this.hp = 100;
this.panicIs = "off";
}
onClipEvent (enterFrame) {
if (_root.inMotion == true) {
if (this.panicIs == "off") {
this.activatePanic = random(_root.panicChance);
if (this.activatePanic == 1) {
this.panicIs = "active";
}
}
if (this.panicIs == "active") {
this.gotoAndStop("help");
this.panicIs = "on";
}
if (this.panicIs == "on") {
this.hp = this.hp - _root.decreaser;
this.healthBar._xscale = this.hp;
this.color._alpha = this.hp;
if (this.healthBar._xscale <= 0) {
this.healthBar._xscale = 0;
}
if (this.hitArea.hitTest(_root.penguin.penguin2.penguin3.bucket.hitArea)) {
this.panicIs = "off";
this.hp = 100;
mov = _root.attachMovie("bucketMe", "bucketMe" + _root.k, _root.k++);
mov._x = this._x + this.hitArea._x;
mov._y = this._y + this.hitArea._y;
_root.meetScore = _root.meetScore + 50;
_root.meetGallons = _root.meetGallons + 5;
_root.panicChance = _root.panicChance - 2;
_root.decreaser = _root.decreaser + 0.001;
this.gotoAndStop("okay");
}
if (this.hp <= 0) {
_root.inMotion = false;
_root.nextFrame();
}
}
}
}
Instance of Symbol 415 MovieClip "asia" in Frame 455
onClipEvent (load) {
this.hp = 100;
this.panicIs = "off";
}
onClipEvent (enterFrame) {
if (_root.inMotion == true) {
if (this.panicIs == "off") {
this.activatePanic = random(_root.panicChance);
if (this.activatePanic == 1) {
this.panicIs = "active";
}
}
if (this.panicIs == "active") {
this.gotoAndStop("help");
this.panicIs = "on";
}
if (this.panicIs == "on") {
this.hp = this.hp - _root.decreaser;
this.healthBar._xscale = this.hp;
this.color._alpha = this.hp;
if (this.healthBar._xscale <= 0) {
this.healthBar._xscale = 0;
}
if (this.hitArea.hitTest(_root.penguin.penguin2.penguin3.bucket.hitArea)) {
this.panicIs = "off";
this.hp = 100;
mov = _root.attachMovie("bucketMe", "bucketMe" + _root.k, _root.k++);
mov._x = this._x + this.hitArea._x;
mov._y = this._y + this.hitArea._y;
_root.meetScore = _root.meetScore + 50;
_root.meetGallons = _root.meetGallons + 5;
_root.panicChance = _root.panicChance - 2;
_root.decreaser = _root.decreaser + 0.001;
this.gotoAndStop("okay");
}
if (this.hp <= 0) {
_root.inMotion = false;
_root.nextFrame();
}
}
}
}
Instance of Symbol 419 MovieClip "aust" in Frame 455
onClipEvent (load) {
this.hp = 100;
this.panicIs = "off";
}
onClipEvent (enterFrame) {
if (_root.inMotion == true) {
if (this.panicIs == "off") {
this.activatePanic = random(_root.panicChance);
if (this.activatePanic == 1) {
this.panicIs = "active";
}
}
if (this.panicIs == "active") {
this.gotoAndStop("help");
this.panicIs = "on";
}
if (this.panicIs == "on") {
this.hp = this.hp - _root.decreaser;
this.healthBar._xscale = this.hp;
this.color._alpha = this.hp;
if (this.healthBar._xscale <= 0) {
this.healthBar._xscale = 0;
}
if (this.hitArea.hitTest(_root.penguin.penguin2.penguin3.bucket.hitArea)) {
this.panicIs = "off";
this.hp = 100;
mov = _root.attachMovie("bucketMe", "bucketMe" + _root.k, _root.k++);
mov._x = this._x + this.hitArea._x;
mov._y = this._y + this.hitArea._y;
_root.meetScore = _root.meetScore + 50;
_root.meetGallons = _root.meetGallons + 5;
_root.panicChance = _root.panicChance - 2;
_root.decreaser = _root.decreaser + 0.001;
this.gotoAndStop("okay");
}
if (this.hp <= 0) {
_root.inMotion = false;
_root.nextFrame();
}
}
}
}
Instance of Symbol 423 MovieClip "middleeast" in Frame 455
onClipEvent (load) {
this.hp = 100;
this.panicIs = "off";
}
onClipEvent (enterFrame) {
if (_root.inMotion == true) {
if (this.panicIs == "off") {
this.activatePanic = random(_root.panicChance);
if (this.activatePanic == 1) {
this.panicIs = "active";
}
}
if (this.panicIs == "active") {
this.gotoAndStop("help");
this.panicIs = "on";
}
if (this.panicIs == "on") {
this.hp = this.hp - _root.decreaser;
this.healthBar._xscale = this.hp;
this.color._alpha = this.hp;
if (this.healthBar._xscale <= 0) {
this.healthBar._xscale = 0;
}
if (this.hitArea.hitTest(_root.penguin.penguin2.penguin3.bucket.hitArea)) {
this.panicIs = "off";
this.hp = 100;
mov = _root.attachMovie("bucketMe", "bucketMe" + _root.k, _root.k++);
mov._x = this._x + this.hitArea._x;
mov._y = this._y + this.hitArea._y;
_root.meetScore = _root.meetScore + 50;
_root.meetGallons = _root.meetGallons + 5;
_root.panicChance = _root.panicChance - 2;
_root.decreaser = _root.decreaser + 0.001;
this.gotoAndStop("okay");
}
if (this.hp <= 0) {
_root.inMotion = false;
_root.nextFrame();
}
}
}
}
Instance of Symbol 427 MovieClip "africa" in Frame 455
onClipEvent (load) {
this.hp = 100;
this.panicIs = "off";
}
onClipEvent (enterFrame) {
if (_root.inMotion == true) {
if (this.panicIs == "off") {
this.activatePanic = random(_root.panicChance);
if (this.activatePanic == 1) {
this.panicIs = "active";
}
}
if (this.panicIs == "active") {
this.gotoAndStop("help");
this.panicIs = "on";
}
if (this.panicIs == "on") {
this.hp = this.hp - _root.decreaser;
this.healthBar._xscale = this.hp;
this.color._alpha = this.hp;
if (this.healthBar._xscale <= 0) {
this.healthBar._xscale = 0;
}
if (this.hitArea.hitTest(_root.penguin.penguin2.penguin3.bucket.hitArea)) {
this.panicIs = "off";
this.hp = 100;
mov = _root.attachMovie("bucketMe", "bucketMe" + _root.k, _root.k++);
mov._x = this._x + this.hitArea._x;
mov._y = this._y + this.hitArea._y;
_root.meetScore = _root.meetScore + 50;
_root.meetGallons = _root.meetGallons + 5;
_root.panicChance = _root.panicChance - 2;
_root.decreaser = _root.decreaser + 0.001;
this.gotoAndStop("okay");
}
if (this.hp <= 0) {
_root.inMotion = false;
_root.nextFrame();
}
}
}
}
Instance of Symbol 431 MovieClip "eurp" in Frame 455
onClipEvent (load) {
this.hp = 100;
this.panicIs = "off";
}
onClipEvent (enterFrame) {
if (_root.inMotion == true) {
if (this.panicIs == "off") {
this.activatePanic = random(_root.panicChance);
if (this.activatePanic == 1) {
this.panicIs = "active";
}
}
if (this.panicIs == "active") {
this.gotoAndStop("help");
this.panicIs = "on";
}
if (this.panicIs == "on") {
this.hp = this.hp - _root.decreaser;
this.healthBar._xscale = this.hp;
this.color._alpha = this.hp;
if (this.healthBar._xscale <= 0) {
this.healthBar._xscale = 0;
}
if (this.hitArea.hitTest(_root.penguin.penguin2.penguin3.bucket.hitArea)) {
this.panicIs = "off";
this.hp = 100;
mov = _root.attachMovie("bucketMe", "bucketMe" + _root.k, _root.k++);
mov._x = this._x + this.hitArea._x;
mov._y = this._y + this.hitArea._y;
_root.meetScore = _root.meetScore + 50;
_root.meetGallons = _root.meetGallons + 5;
_root.panicChance = _root.panicChance - 2;
_root.decreaser = _root.decreaser + 0.001;
this.gotoAndStop("okay");
}
if (this.hp <= 0) {
_root.inMotion = false;
_root.nextFrame();
}
}
}
}
Instance of Symbol 349 MovieClip "penguin" in Frame 455
onClipEvent (load) {
this._level = 2003052390542;
}
Instance of Symbol 254 MovieClip in Frame 455
onClipEvent (load) {
_root.inMotion = true;
_root.movement = 0;
_root.speedLimit = 3;
_root.dropCount = 0;
_root.dropRate = 100;
_root.gallons = 0;
_root.meetGallons = 0;
_root.k = 0;
_root.endLevel = false;
_root.waitingForScore = false;
_root.score = _root.transferScore;
_root.meetScore = _root.transferScore;
_root.panicChance = 500;
_root.decreaser = 0.3;
}
onClipEvent (enterFrame) {
_root.xyMovement();
_root.scoreTally();
_root.level();
if (_root.waitingForScore == true) {
if (_root.score == _root.meetScore) {
_root.nextFrame();
}
}
_root.death();
}
Instance of Symbol 252 MovieClip in Frame 455
onClipEvent (enterFrame) {
if (this.hitTest(_root.penguin)) {
_root.movement = _root.movement * -1;
_root.movement++;
}
}
Instance of Symbol 252 MovieClip in Frame 455
onClipEvent (enterFrame) {
if (this.hitTest(_root.penguin)) {
_root.movement = _root.movement * -1;
_root.movement--;
}
}
Frame 456
_root.inMotion = false;
stop();
Instance of Symbol 254 MovieClip in Frame 456
onClipEvent (load) {
_root.totalGallons = Math.round(_root.gallons * 2.66666666666667) + " days";
}
Instance of Symbol 2 MovieClip in Symbol 3 MovieClip [trachomaDrop] Frame 30
onClipEvent (enterFrame) {
if (_root.inMotion == true) {
if (this.hitTest(_root.penguin.penguin2.bucket.hitArea)) {
this.unloadMovie();
mov2 = _root.penguin.penguin2.bucket.attachMovie("splashd", "splash" + _root.k, _root.k++);
mov2._x = _root.penguin.penguin2.bucket.hitArea._x;
mov2._y = _root.penguin.penguin2.bucket.hitArea._y;
mov2._xscale = 300;
mov2._yscale = 200;
mov3 = _root.loadMarker.attachMovie("trachoma", "d" + _root.k, _root.k++);
_root.gotTrachoma = true;
_root.livesBar.nextFrame();
}
}
}
Symbol 3 MovieClip [trachomaDrop] Frame 100
this.removeMovieClip();
Instance of Symbol 2 MovieClip in Symbol 4 MovieClip [wormDrop] Frame 30
onClipEvent (enterFrame) {
if (_root.inMotion == true) {
if (this.hitTest(_root.penguin.penguin2.bucket.hitArea)) {
this.unloadMovie();
mov2 = _root.penguin.penguin2.bucket.attachMovie("splashc", "splash" + _root.k, _root.k++);
mov2._x = _root.penguin.penguin2.bucket.hitArea._x;
mov2._y = _root.penguin.penguin2.bucket.hitArea._y;
mov2._xscale = 300;
mov2._yscale = 200;
mov3 = _root.loadMarker.attachMovie("worm", "c" + _root.k, _root.k++);
_root.gotWorm = true;
_root.livesBar.nextFrame();
}
}
}
Symbol 4 MovieClip [wormDrop] Frame 100
this.removeMovieClip();
Instance of Symbol 2 MovieClip in Symbol 5 MovieClip [choleraDrop] Frame 30
onClipEvent (enterFrame) {
if (_root.inMotion == true) {
if (this.hitTest(_root.penguin.penguin2.bucket.hitArea)) {
this.unloadMovie();
mov2 = _root.penguin.penguin2.bucket.attachMovie("splashb", "splash" + _root.k, _root.k++);
mov2._x = _root.penguin.penguin2.bucket.hitArea._x;
mov2._y = _root.penguin.penguin2.bucket.hitArea._y;
mov2._xscale = 300;
mov2._yscale = 200;
mov3 = _root.loadMarker.attachMovie("cholera", "c" + _root.k, _root.k++);
_root.gotCholera = true;
_root.livesBar.nextFrame();
}
}
}
Symbol 5 MovieClip [choleraDrop] Frame 100
this.removeMovieClip();
Instance of Symbol 2 MovieClip in Symbol 6 MovieClip [acidDrop] Frame 5
onClipEvent (enterFrame) {
if (_root.inMotion == true) {
if (this.hitTest(_root.penguin.penguin2.penguin3.bucket.hitArea)) {
this.unloadMovie();
mov2 = _root.penguin.penguin2.penguin3.bucket.attachMovie("splash", "splash" + _root.k, _root.k++);
mov2._x = _root.penguin.penguin2.penguin3.bucket.hitArea._x;
mov2._y = _root.penguin.penguin2.penguin3.bucket.hitArea._y;
mov2._xscale = 300;
mov2._yscale = 200;
_root.dropCount = 0;
}
}
if (this.hitTest(_root.city.hitArea)) {
_root.city.nextFrame();
this.unloadMovie();
}
if (this.hitTest(_root.forest.hitArea)) {
_root.forest.nextFrame();
this.unloadMovie();
}
if (this.hitTest(_root.water.hitArea)) {
_root.water.nextFrame();
this.unloadMovie();
}
}
Symbol 6 MovieClip [acidDrop] Frame 100
this.removeMovieClip();
Instance of Symbol 2 MovieClip in Symbol 7 MovieClip [firstDrop] Frame 5
onClipEvent (enterFrame) {
if (_root.inMotion == true) {
if (this.hitTest(_root.penguin.penguin2.penguin3.bucket.hitArea)) {
this.unloadMovie();
mov2 = _root.penguin.penguin2.penguin3.bucket.attachMovie("splash", "splash" + _root.k, _root.k++);
mov2._x = _root.penguin.penguin2.penguin3.bucket.hitArea._x;
mov2._y = _root.penguin.penguin2.penguin3.bucket.hitArea._y;
mov2._xscale = 300;
mov2._yscale = 200;
_root.dropCount = 0;
}
}
if (this.hitTest(_root.city.hitArea)) {
_root.city.nextFrame();
this.unloadMovie();
}
if (this.hitTest(_root.forest.hitArea)) {
_root.forest.nextFrame();
this.unloadMovie();
}
if (this.hitTest(_root.water.hitArea)) {
_root.water.nextFrame();
this.unloadMovie();
}
}
Symbol 7 MovieClip [firstDrop] Frame 100
this.removeMovieClip();
Instance of Symbol 2 MovieClip in Symbol 8 MovieClip [blueDrop] Frame 30
onClipEvent (enterFrame) {
if (_root.inMotion == true) {
if (this.hitTest(_root.penguin.penguin2.bucket.hitArea)) {
this.unloadMovie();
mov2 = _root.penguin.penguin2.bucket.attachMovie("splash", "splash" + _root.k, _root.k++);
mov2._x = _root.penguin.penguin2.bucket.hitArea._x;
mov2._y = _root.penguin.penguin2.bucket.hitArea._y;
mov2._xscale = 300;
mov2._yscale = 200;
_root.dropCount = 0;
}
}
}
Symbol 8 MovieClip [blueDrop] Frame 100
this.removeMovieClip();
Symbol 16 MovieClip [splashd] Frame 8
this.removeMovieClip();
Symbol 24 MovieClip [splashc] Frame 8
this.removeMovieClip();
Symbol 32 MovieClip [splashb] Frame 8
this.removeMovieClip();
Symbol 41 MovieClip [splash] Frame 1
_root.meetScore = _root.meetScore + 50;
_root.meetGallons++;
Symbol 41 MovieClip [splash] Frame 8
this.removeMovieClip();
Symbol 48 MovieClip [trachoma] Frame 93
this.removeMovieClip();
Symbol 52 MovieClip [worm] Frame 93
this.removeMovieClip();
Symbol 56 MovieClip [cholera] Frame 93
this.removeMovieClip();
Symbol 67 MovieClip [bucketMe] Frame 25
this.removeMovieClip();
Symbol 111 MovieClip Frame 100
stop();
Symbol 228 Button
on (release) {
play();
}
Symbol 242 MovieClip Frame 1
stop();
Symbol 242 MovieClip Frame 4
_root.death();
Symbol 249 MovieClip Frame 1
stop();
Symbol 249 MovieClip Frame 68
stop();
_root.death2();
Symbol 250 MovieClip Frame 1
stop();
Instance of Symbol 249 MovieClip "penguin3" in Symbol 250 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
Symbol 276 Button
on (release) {
nextFrame();
}
Symbol 282 Button
on (release) {
getURL ("http://www.lifewater.org/", "_blank");
}
Symbol 286 Button
on (release) {
getURL ("http://www.1000wells.org/", "_blank");
}
Symbol 290 Button
on (release) {
getURL ("http://www.globalsolutions.org/", "_blank");
}
Symbol 294 Button
on (release) {
nextFrame();
}
Symbol 302 Button
on (release) {
play();
}
Symbol 321 MovieClip Frame 35
stop();
Symbol 322 MovieClip Frame 1
stop();
Symbol 322 MovieClip Frame 5
_root.endLevel = true;
_root.killWater = true;
Symbol 325 MovieClip Frame 1
stop();
Symbol 325 MovieClip Frame 5
_root.endLevel = true;
_root.killTree = true;
Symbol 331 MovieClip Frame 1
stop();
Symbol 331 MovieClip Frame 5
_root.endLevel = true;
_root.killCity = true;
Symbol 344 MovieClip Frame 1
stop();
Symbol 368 Button
on (release) {
_root.nextFrame();
}
Symbol 373 Button
on (release) {
getURL ("http://www.lifewater.org/", "_blank");
}
Symbol 376 Button
on (release) {
getURL ("http://www.1000wells.org/", "_blank");
}
Symbol 379 Button
on (release) {
nextFrame();
}
Symbol 382 Button
on (release) {
play();
}
Symbol 403 MovieClip Frame 1
stop();
Symbol 407 MovieClip Frame 1
stop();
Symbol 411 MovieClip Frame 1
stop();
Symbol 415 MovieClip Frame 1
stop();
Symbol 419 MovieClip Frame 1
stop();
Symbol 423 MovieClip Frame 1
stop();
Symbol 427 MovieClip Frame 1
stop();
Symbol 431 MovieClip Frame 1
stop();
Symbol 448 Button
on (release) {
_root.gscore = _root.score;
_root.gname = "waterdash";
getURL ("index.php?act=Arcade&do=newscore", "_self", "POST");
gotoAndStop (457);
}