Frame 1 (279 B)
stopAllSounds();
_root.bytesLoaded = _root.getBytesLoaded();
_root.bytesTotal = _root.getBytesTotal();
_root.percentLoaded = Math.round(100 * (_root.bytesLoaded / _root.bytesTotal));
_root.percentLoadedText = _root.percentLoaded + "%";
_root.bar.gotoAndStop(percentLoaded);
Frame 2 (85 B)
if (_root.percentLoaded == 100) {
gotoAndStop (3);
} else {
gotoAndPlay (1);
}
Frame 4 (40 B)
stop();
stop();
delete onEnterFrame;
Frame 5 (44 B)
stop();
stopAllSounds();
stop();
stop();
Frame 6 (215 B)
stop();
stop();
_root.score = 0;
onEnterFrame = function () {
_root.myText = "Energy Collected: " + _root.score;
if (_root.score == 25) {
_root.gotoAndStop(7);
} else {
_root.gotoAndStop(6);
}
};
Instance of Symbol 72 MovieClip "player" in Frame 6 (2.59 KiB) ●
onClipEvent (enterFrame) {
if (this.hitTest(_root.powerup1)) {
_root.powerup1.gotoAndStop(3);
_root.mySpeed = _root.mySpeed + 2;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.powerup2)) {
_root.powerup2.gotoAndStop(3);
_root.mySpeed = _root.mySpeed - 2;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.powerup2)) {
_root.powerup2.gotoAndStop(3);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.powerup3)) {
_root.powerup3.gotoAndStop(3);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.pkg1)) {
_root.pkg1.gotoAndPlay(6);
_root.score = _root.score + 1;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.pkg2)) {
_root.pkg2.gotoAndPlay(6);
_root.score = _root.score + 1;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.pkg3)) {
_root.pkg3.gotoAndPlay(6);
_root.score = _root.score + 1;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.pkg4)) {
_root.pkg4.gotoAndPlay(6);
_root.score = _root.score + 1;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.pkg5)) {
_root.pkg5.gotoAndPlay(6);
_root.score = _root.score + 1;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.pkg6)) {
_root.pkg6.gotoAndPlay(6);
_root.score = _root.score + 1;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.pkg7)) {
_root.pkg7.gotoAndPlay(6);
_root.score = _root.score + 1;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.pkg8)) {
_root.pkg8.gotoAndPlay(6);
_root.score = _root.score + 1;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.die1)) {
_root.lives.gotoAndStop(2);
_root.die1.gotoAndStop(6);
_root.die2.gotoAndPlay(3);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.die2)) {
_root.lives.gotoAndStop(3);
_root.die2.gotoAndPlay(6);
_root.die3.gotoAndPlay(3);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.die3)) {
_root.bonus.gotoAndStop(2);
_root.lives.gotoAndStop(4);
_root.die3.gotoAndPlay(6);
_root.die4.gotoAndPlay(3);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.die4)) {
_root.lives.gotoAndStop(5);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.bonus)) {
_root.lives.gotoAndStop(3);
_root.die3.gotoAndPlay(3);
_root.die4.gotoAndStop(1);
_root.bonus.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
with (_root.player) {
_root.mySpeed = 5;
if (Key.isDown(40)) {
_y = _y + _root.mySpeed;
}
if (Key.isDown(38)) {
_y = _y - _root.mySpeed;
}
if (Key.isDown(37)) {
_x = _x - _root.mySpeed;
}
if (Key.isDown(39)) {
_x = _x + _root.mySpeed;
}
}
}
onClipEvent (load) {
ySpeed = 1.5;
}
onClipEvent (enterFrame) {
_y = (_y + ySpeed);
}
Instance of Symbol 143 MovieClip in Frame 6 (404 B)
onClipEvent (enterFrame) {
with (_root.player) {
myBounce = 6.5;
if (walls.hitTest(getBounds(_root).xMax, _y, true)) {
_x = _x - myBounce;
}
if (walls.hitTest(getBounds(_root).xMin, _y, true)) {
_x = _x + myBounce;
}
if (walls.hitTest(_x, getBounds(_root).yMax, true)) {
_y = _y - myBounce;
}
if (walls.hitTest(_x, getBounds(_root).yMin, true)) {
_y = _y + myBounce;
}
}
}
Frame 7 (26 B)
stop();
stopAllSounds();
Frame 8 (216 B)
stop();
stop();
_root.score = 0;
onEnterFrame = function () {
_root.myText = "Energy Collected: " + _root.score;
if (_root.score == 50) {
_root.gotoAndStop(12);
} else {
_root.gotoAndStop(8);
}
};
Instance of Symbol 72 MovieClip "player" in Frame 8 (3.44 KiB) ●
onClipEvent (enterFrame) {
if (this.hitTest(_root.powerup1)) {
_root.powerup1.gotoAndStop(3);
_root.mySpeed = _root.mySpeed + 2;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.powerup2)) {
_root.powerup2.gotoAndStop(3);
_root.mySpeed = _root.mySpeed - 2;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.pkg1)) {
_root.pkg1.gotoAndPlay(6);
_root.score = _root.score + 1;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.pkg2)) {
_root.pkg2.gotoAndPlay(6);
_root.score = _root.score + 1;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.pkg3)) {
_root.pkg3.gotoAndPlay(6);
_root.score = _root.score + 1;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.pkg4)) {
_root.pkg4.gotoAndPlay(6);
_root.score = _root.score + 1;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.pkg5)) {
_root.pkg5.gotoAndPlay(6);
_root.score = _root.score + 1;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.pkg6)) {
_root.pkg6.gotoAndPlay(6);
_root.score = _root.score + 1;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.pkg7)) {
_root.pkg7.gotoAndPlay(6);
_root.score = _root.score + 1;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.pkg8)) {
_root.pkg8.gotoAndPlay(6);
_root.score = _root.score + 1;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.die5)) {
_root.lives.gotoAndStop(2);
_root.die5.gotoAndStop(5);
_root.die1.gotoAndStop(5);
_root.die2.gotoAndPlay(3);
_root.die6.gotoAndPlay(3);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.die1)) {
_root.lives.gotoAndStop(2);
_root.die1.gotoAndStop(5);
_root.die5.gotoAndStop(5);
_root.die2.gotoAndPlay(3);
_root.die6.gotoAndPlay(3);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.die6)) {
_root.lives.gotoAndStop(3);
_root.die6.gotoAndStop(1);
_root.die2.gotoAndStop(1);
_root.die3.gotoAndPlay(3);
_root.die7.gotoAndPlay(3);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.die2)) {
_root.lives.gotoAndStop(3);
_root.die2.gotoAndStop(1);
_root.die6.gotoAndStop(1);
_root.die3.gotoAndPlay(3);
_root.die7.gotoAndPlay(3);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.die7)) {
_root.lives.gotoAndStop(4);
_root.die3.gotoAndStop(1);
_root.die7.gotoAndStop(1);
_root.die4.gotoAndPlay(3);
_root.die8.gotoAndPlay(3);
_root.bonus.gotoAndStop(2);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.die3)) {
_root.lives.gotoAndStop(4);
_root.die7.gotoAndStop(1);
_root.die3.gotoAndStop(1);
_root.die4.gotoAndPlay(3);
_root.die8.gotoAndPlay(3);
_root.bonus.gotoAndStop(2);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.die8)) {
_root.lives.gotoAndStop(5);
_root.die4.gotoAndStop(1);
_root.die8.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.die4)) {
_root.lives.gotoAndStop(5);
_root.die8.gotoAndStop(1);
_root.die4.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.bonus)) {
_root.lives.gotoAndStop(3);
_root.die3.gotoAndPlay(3);
_root.die7.gotoAndPlay(3);
_root.die4.gotoAndStop(1);
_root.die8.gotoAndStop(1);
_root.bonus.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
with (_root.player) {
mySpeed = 5;
if (Key.isDown(40)) {
_y = _y + mySpeed;
}
if (Key.isDown(38)) {
_y = _y - mySpeed;
}
if (Key.isDown(37)) {
_x = _x - mySpeed;
}
if (Key.isDown(39)) {
_x = _x + mySpeed;
}
}
}
onClipEvent (load) {
ySpeed = 1.5;
}
onClipEvent (enterFrame) {
_y = (_y + ySpeed);
}
Instance of Symbol 143 MovieClip in Frame 8 (404 B)
onClipEvent (enterFrame) {
with (_root.player) {
myBounce = 6.5;
if (walls.hitTest(getBounds(_root).xMax, _y, true)) {
_x = _x - myBounce;
}
if (walls.hitTest(getBounds(_root).xMin, _y, true)) {
_x = _x + myBounce;
}
if (walls.hitTest(_x, getBounds(_root).yMax, true)) {
_y = _y - myBounce;
}
if (walls.hitTest(_x, getBounds(_root).yMin, true)) {
_y = _y + myBounce;
}
}
}
Frame 9 (8 B)
stop();
Frame 11 (155 B)
stop();
stopAllSounds();
onEnterFrame = function () {
if (_root.score == 100) {
_root.gotoAndStop(11);
} else {
_root.gotoAndStop(11);
}
};
Frame 12 (26 B)
stop();
stopAllSounds();
Frame 13 (207 B)
stop();
_root.score = 0;
onEnterFrame = function () {
_root.myText = "Energy Collected: " + _root.score;
if (_root.score == 75) {
_root.gotoAndStop(14);
} else {
_root.gotoAndStop(13);
}
};
Instance of Symbol 72 MovieClip "player" in Frame 13 (3.44 KiB) ●
onClipEvent (enterFrame) {
if (this.hitTest(_root.powerup1)) {
_root.powerup1.gotoAndStop(3);
_root.mySpeed = _root.mySpeed + 2;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.powerup2)) {
_root.powerup2.gotoAndStop(3);
_root.mySpeed = _root.mySpeed - 2;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.pkg1)) {
_root.pkg1.gotoAndPlay(6);
_root.score = _root.score + 1;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.pkg2)) {
_root.pkg2.gotoAndPlay(6);
_root.score = _root.score + 1;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.pkg3)) {
_root.pkg3.gotoAndPlay(6);
_root.score = _root.score + 1;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.pkg4)) {
_root.pkg4.gotoAndPlay(6);
_root.score = _root.score + 1;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.pkg5)) {
_root.pkg5.gotoAndPlay(6);
_root.score = _root.score + 1;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.pkg6)) {
_root.pkg6.gotoAndPlay(6);
_root.score = _root.score + 1;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.pkg7)) {
_root.pkg7.gotoAndPlay(6);
_root.score = _root.score + 1;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.pkg8)) {
_root.pkg8.gotoAndPlay(6);
_root.score = _root.score + 1;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.die5)) {
_root.lives.gotoAndStop(2);
_root.die5.gotoAndStop(5);
_root.die1.gotoAndStop(5);
_root.die2.gotoAndPlay(3);
_root.die6.gotoAndPlay(3);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.die1)) {
_root.lives.gotoAndStop(2);
_root.die1.gotoAndStop(5);
_root.die5.gotoAndStop(5);
_root.die2.gotoAndPlay(3);
_root.die6.gotoAndPlay(3);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.die6)) {
_root.lives.gotoAndStop(3);
_root.die6.gotoAndStop(1);
_root.die2.gotoAndStop(1);
_root.die3.gotoAndPlay(3);
_root.die7.gotoAndPlay(3);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.die2)) {
_root.lives.gotoAndStop(3);
_root.die2.gotoAndStop(1);
_root.die6.gotoAndStop(1);
_root.die3.gotoAndPlay(3);
_root.die7.gotoAndPlay(3);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.die7)) {
_root.lives.gotoAndStop(4);
_root.die3.gotoAndStop(1);
_root.die7.gotoAndStop(1);
_root.die4.gotoAndPlay(3);
_root.die8.gotoAndPlay(3);
_root.bonus.gotoAndStop(2);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.die3)) {
_root.lives.gotoAndStop(4);
_root.die7.gotoAndStop(1);
_root.die3.gotoAndStop(1);
_root.die4.gotoAndPlay(3);
_root.die8.gotoAndPlay(3);
_root.bonus.gotoAndStop(2);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.die8)) {
_root.lives.gotoAndStop(5);
_root.die4.gotoAndStop(1);
_root.die8.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.die4)) {
_root.lives.gotoAndStop(5);
_root.die8.gotoAndStop(1);
_root.die4.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.bonus)) {
_root.lives.gotoAndStop(3);
_root.die3.gotoAndPlay(3);
_root.die7.gotoAndPlay(3);
_root.die4.gotoAndStop(1);
_root.die8.gotoAndStop(1);
_root.bonus.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
with (_root.player) {
mySpeed = 5;
if (Key.isDown(40)) {
_y = _y + mySpeed;
}
if (Key.isDown(38)) {
_y = _y - mySpeed;
}
if (Key.isDown(37)) {
_x = _x - mySpeed;
}
if (Key.isDown(39)) {
_x = _x + mySpeed;
}
}
}
onClipEvent (load) {
ySpeed = 1.5;
}
onClipEvent (enterFrame) {
_y = (_y + ySpeed);
}
Instance of Symbol 143 MovieClip in Frame 13 (404 B)
onClipEvent (enterFrame) {
with (_root.player) {
myBounce = 6.5;
if (walls.hitTest(getBounds(_root).xMax, _y, true)) {
_x = _x - myBounce;
}
if (walls.hitTest(getBounds(_root).xMin, _y, true)) {
_x = _x + myBounce;
}
if (walls.hitTest(_x, getBounds(_root).yMax, true)) {
_y = _y - myBounce;
}
if (walls.hitTest(_x, getBounds(_root).yMin, true)) {
_y = _y + myBounce;
}
}
}
Frame 14 (17 B)
stopAllSounds();
Frame 15 (208 B)
stop();
_root.score = 0;
onEnterFrame = function () {
_root.myText = "Energy Collected: " + _root.score;
if (_root.score == 100) {
_root.gotoAndStop(16);
} else {
_root.gotoAndStop(15);
}
};
Instance of Symbol 72 MovieClip "player" in Frame 15 (2.59 KiB) ●
onClipEvent (enterFrame) {
if (this.hitTest(_root.powerup1)) {
_root.powerup1.gotoAndStop(3);
_root.mySpeed = _root.mySpeed + 2;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.powerup2)) {
_root.powerup2.gotoAndStop(3);
_root.mySpeed = _root.mySpeed - 2;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.powerup2)) {
_root.powerup2.gotoAndStop(3);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.powerup3)) {
_root.powerup3.gotoAndStop(3);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.pkg1)) {
_root.pkg1.gotoAndPlay(6);
_root.score = _root.score + 1;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.pkg2)) {
_root.pkg2.gotoAndPlay(6);
_root.score = _root.score + 1;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.pkg3)) {
_root.pkg3.gotoAndPlay(6);
_root.score = _root.score + 1;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.pkg4)) {
_root.pkg4.gotoAndPlay(6);
_root.score = _root.score + 1;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.pkg5)) {
_root.pkg5.gotoAndPlay(6);
_root.score = _root.score + 1;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.pkg6)) {
_root.pkg6.gotoAndPlay(6);
_root.score = _root.score + 1;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.pkg7)) {
_root.pkg7.gotoAndPlay(6);
_root.score = _root.score + 1;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.pkg8)) {
_root.pkg8.gotoAndPlay(6);
_root.score = _root.score + 1;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.die1)) {
_root.lives.gotoAndStop(2);
_root.die1.gotoAndStop(6);
_root.die2.gotoAndPlay(3);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.die2)) {
_root.lives.gotoAndStop(3);
_root.die2.gotoAndPlay(6);
_root.die3.gotoAndPlay(3);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.die3)) {
_root.bonus.gotoAndStop(2);
_root.lives.gotoAndStop(4);
_root.die3.gotoAndPlay(6);
_root.die4.gotoAndPlay(3);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.die4)) {
_root.lives.gotoAndStop(5);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.bonus)) {
_root.lives.gotoAndStop(3);
_root.die3.gotoAndPlay(3);
_root.die4.gotoAndStop(1);
_root.bonus.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
with (_root.player) {
_root.mySpeed = 5;
if (Key.isDown(40)) {
_y = _y + _root.mySpeed;
}
if (Key.isDown(38)) {
_y = _y - _root.mySpeed;
}
if (Key.isDown(37)) {
_x = _x - _root.mySpeed;
}
if (Key.isDown(39)) {
_x = _x + _root.mySpeed;
}
}
}
onClipEvent (load) {
ySpeed = 1.5;
}
onClipEvent (enterFrame) {
_y = (_y + ySpeed);
}
Instance of Symbol 143 MovieClip in Frame 15 (404 B)
onClipEvent (enterFrame) {
with (_root.player) {
myBounce = 6.5;
if (walls.hitTest(getBounds(_root).xMax, _y, true)) {
_x = _x - myBounce;
}
if (walls.hitTest(getBounds(_root).xMin, _y, true)) {
_x = _x + myBounce;
}
if (walls.hitTest(_x, getBounds(_root).yMax, true)) {
_y = _y - myBounce;
}
if (walls.hitTest(_x, getBounds(_root).yMin, true)) {
_y = _y + myBounce;
}
}
}
Frame 16 (17 B)
stopAllSounds();
Frame 17 (208 B)
stop();
_root.score = 0;
onEnterFrame = function () {
_root.myText = "Energy Collected: " + _root.score;
if (_root.score == 125) {
_root.gotoAndStop(18);
} else {
_root.gotoAndStop(17);
}
};
Instance of Symbol 72 MovieClip "player" in Frame 17 (2.59 KiB) ●
onClipEvent (enterFrame) {
if (this.hitTest(_root.powerup1)) {
_root.powerup1.gotoAndStop(3);
_root.mySpeed = _root.mySpeed + 2;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.powerup2)) {
_root.powerup2.gotoAndStop(3);
_root.mySpeed = _root.mySpeed - 2;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.powerup2)) {
_root.powerup2.gotoAndStop(3);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.powerup3)) {
_root.powerup3.gotoAndStop(3);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.pkg1)) {
_root.pkg1.gotoAndPlay(6);
_root.score = _root.score + 1;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.pkg2)) {
_root.pkg2.gotoAndPlay(6);
_root.score = _root.score + 1;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.pkg3)) {
_root.pkg3.gotoAndPlay(6);
_root.score = _root.score + 1;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.pkg4)) {
_root.pkg4.gotoAndPlay(6);
_root.score = _root.score + 1;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.pkg5)) {
_root.pkg5.gotoAndPlay(6);
_root.score = _root.score + 1;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.pkg6)) {
_root.pkg6.gotoAndPlay(6);
_root.score = _root.score + 1;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.pkg7)) {
_root.pkg7.gotoAndPlay(6);
_root.score = _root.score + 1;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.pkg8)) {
_root.pkg8.gotoAndPlay(6);
_root.score = _root.score + 1;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.die1)) {
_root.lives.gotoAndStop(2);
_root.die1.gotoAndStop(6);
_root.die2.gotoAndPlay(3);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.die2)) {
_root.lives.gotoAndStop(3);
_root.die2.gotoAndPlay(6);
_root.die3.gotoAndPlay(3);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.die3)) {
_root.bonus.gotoAndStop(2);
_root.lives.gotoAndStop(4);
_root.die3.gotoAndPlay(6);
_root.die4.gotoAndPlay(3);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.die4)) {
_root.lives.gotoAndStop(5);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.bonus)) {
_root.lives.gotoAndStop(3);
_root.die3.gotoAndPlay(3);
_root.die4.gotoAndStop(1);
_root.bonus.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
with (_root.player) {
_root.mySpeed = 5;
if (Key.isDown(40)) {
_y = _y + _root.mySpeed;
}
if (Key.isDown(38)) {
_y = _y - _root.mySpeed;
}
if (Key.isDown(37)) {
_x = _x - _root.mySpeed;
}
if (Key.isDown(39)) {
_x = _x + _root.mySpeed;
}
}
}
onClipEvent (load) {
ySpeed = 1.5;
}
onClipEvent (enterFrame) {
_y = (_y + ySpeed);
}
Instance of Symbol 143 MovieClip in Frame 17 (404 B)
onClipEvent (enterFrame) {
with (_root.player) {
myBounce = 6.5;
if (walls.hitTest(getBounds(_root).xMax, _y, true)) {
_x = _x - myBounce;
}
if (walls.hitTest(getBounds(_root).xMin, _y, true)) {
_x = _x + myBounce;
}
if (walls.hitTest(_x, getBounds(_root).yMax, true)) {
_y = _y - myBounce;
}
if (walls.hitTest(_x, getBounds(_root).yMin, true)) {
_y = _y + myBounce;
}
}
}
Frame 18 (17 B)
stopAllSounds();
Frame 19 (208 B)
stop();
_root.score = 0;
onEnterFrame = function () {
_root.myText = "Energy Collected: " + _root.score;
if (_root.score == 150) {
_root.gotoAndStop(20);
} else {
_root.gotoAndStop(19);
}
};
Instance of Symbol 72 MovieClip "player" in Frame 19 (2.59 KiB) ●
onClipEvent (enterFrame) {
if (this.hitTest(_root.powerup1)) {
_root.powerup1.gotoAndStop(3);
_root.mySpeed = _root.mySpeed + 2;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.powerup2)) {
_root.powerup2.gotoAndStop(3);
_root.mySpeed = _root.mySpeed - 2;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.powerup2)) {
_root.powerup2.gotoAndStop(3);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.powerup3)) {
_root.powerup3.gotoAndStop(3);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.pkg1)) {
_root.pkg1.gotoAndPlay(6);
_root.score = _root.score + 1;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.pkg2)) {
_root.pkg2.gotoAndPlay(6);
_root.score = _root.score + 1;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.pkg3)) {
_root.pkg3.gotoAndPlay(6);
_root.score = _root.score + 1;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.pkg4)) {
_root.pkg4.gotoAndPlay(6);
_root.score = _root.score + 1;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.pkg5)) {
_root.pkg5.gotoAndPlay(6);
_root.score = _root.score + 1;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.pkg6)) {
_root.pkg6.gotoAndPlay(6);
_root.score = _root.score + 1;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.pkg7)) {
_root.pkg7.gotoAndPlay(6);
_root.score = _root.score + 1;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.pkg8)) {
_root.pkg8.gotoAndPlay(6);
_root.score = _root.score + 1;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.die1)) {
_root.lives.gotoAndStop(2);
_root.die1.gotoAndStop(6);
_root.die2.gotoAndPlay(3);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.die2)) {
_root.lives.gotoAndStop(3);
_root.die2.gotoAndPlay(6);
_root.die3.gotoAndPlay(3);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.die3)) {
_root.bonus.gotoAndStop(2);
_root.lives.gotoAndStop(4);
_root.die3.gotoAndPlay(6);
_root.die4.gotoAndPlay(3);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.die4)) {
_root.lives.gotoAndStop(5);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.bonus)) {
_root.lives.gotoAndStop(3);
_root.die3.gotoAndPlay(3);
_root.die4.gotoAndStop(1);
_root.bonus.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
with (_root.player) {
_root.mySpeed = 5;
if (Key.isDown(40)) {
_y = _y + _root.mySpeed;
}
if (Key.isDown(38)) {
_y = _y - _root.mySpeed;
}
if (Key.isDown(37)) {
_x = _x - _root.mySpeed;
}
if (Key.isDown(39)) {
_x = _x + _root.mySpeed;
}
}
}
onClipEvent (load) {
ySpeed = 1.5;
}
onClipEvent (enterFrame) {
_y = (_y + ySpeed);
}
Instance of Symbol 143 MovieClip in Frame 19 (404 B)
onClipEvent (enterFrame) {
with (_root.player) {
myBounce = 6.5;
if (walls.hitTest(getBounds(_root).xMax, _y, true)) {
_x = _x - myBounce;
}
if (walls.hitTest(getBounds(_root).xMin, _y, true)) {
_x = _x + myBounce;
}
if (walls.hitTest(_x, getBounds(_root).yMax, true)) {
_y = _y - myBounce;
}
if (walls.hitTest(_x, getBounds(_root).yMin, true)) {
_y = _y + myBounce;
}
}
}
Frame 20 (37 B)
stopAllSounds();
_root.pw = "pass";
Frame 21 (404 B)
stop();
delete onEnterFrame;
_root.life = 6;
if (_root.life == 6) {
lifeb.gotoAndStop(1);
}
if (_root.life == 5) {
lifeb.gotoAndStop(2);
}
if (_root.life == 4) {
lifeb.gotoAndStop(3);
}
if (_root.life == 3) {
lifeb.gotoAndStop(3);
}
if (_root.life == 2) {
lifeb.gotoAndStop(4);
}
if (_root.life == 1) {
lifeb.gotoAndStop(5);
}
if (_root.life == 0) {
lifeb.gotoAndStop(6);
}
Instance of Symbol 72 MovieClip "player" in Frame 21 (2.45 KiB) ●
onClipEvent (enterFrame) {
if (this.hitTest(_root.fairee)) {
_root.lifeb.gotoAndStop(_root.lifeb._currentframe + 1);
_root.fairee.gotoAndPlay(2);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.pkg1)) {
_root.pkg1.gotoAndPlay(6);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.die5)) {
_root.lives.gotoAndStop(2);
_root.die5.gotoAndStop(5);
_root.die1.gotoAndStop(5);
_root.die2.gotoAndPlay(1);
_root.die6.gotoAndPlay(1);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.die1)) {
_root.lives.gotoAndStop(2);
_root.die1.gotoAndStop(6);
_root.die5.gotoAndStop(6);
_root.die2.gotoAndPlay(1);
_root.die6.gotoAndPlay(1);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.die6)) {
_root.lives.gotoAndStop(3);
_root.die6.gotoAndStop(6);
_root.die2.gotoAndStop(6);
_root.die3.gotoAndPlay(1);
_root.die7.gotoAndPlay(1);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.die2)) {
_root.lives.gotoAndStop(3);
_root.die2.gotoAndStop(6);
_root.die6.gotoAndStop(6);
_root.die3.gotoAndPlay(1);
_root.die7.gotoAndPlay(1);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.die7)) {
_root.lives.gotoAndStop(4);
_root.die3.gotoAndStop(6);
_root.die7.gotoAndStop(6);
_root.die4.gotoAndPlay(1);
_root.die8.gotoAndPlay(1);
_root.bonus.gotoAndStop(2);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.die3)) {
_root.lives.gotoAndStop(4);
_root.die7.gotoAndStop(6);
_root.die3.gotoAndStop(6);
_root.die4.gotoAndPlay(1);
_root.die8.gotoAndPlay(1);
_root.bonus.gotoAndStop(2);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.die8)) {
_root.lives.gotoAndStop(5);
_root.die4.gotoAndStop(6);
_root.die8.gotoAndStop(6);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.die4)) {
_root.lives.gotoAndStop(5);
_root.die8.gotoAndStop(6);
_root.die4.gotoAndStop(6);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.bonus)) {
_root.lives.gotoAndStop(3);
_root.die4.gotoAndStop(6);
_root.die8.gotoAndStop(6);
_root.die3.gotoAndStop(2);
_root.die7.gotoAndStop(2);
_root.bonus.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
with (_root.player) {
_root.mySpeed = 5;
if (Key.isDown(40)) {
_y = _y + _root.mySpeed;
}
if (Key.isDown(38)) {
_y = _y - _root.mySpeed;
}
if (Key.isDown(37)) {
_x = _x - _root.mySpeed;
}
if (Key.isDown(39)) {
_x = _x + _root.mySpeed;
}
}
}
onClipEvent (load) {
ySpeed = 1.5;
}
onClipEvent (enterFrame) {
_y = (_y + ySpeed);
}
Instance of Symbol 143 MovieClip "walls" in Frame 21 (404 B)
onClipEvent (enterFrame) {
with (_root.player) {
myBounce = 6.5;
if (walls.hitTest(getBounds(_root).xMax, _y, true)) {
_x = _x - myBounce;
}
if (walls.hitTest(getBounds(_root).xMin, _y, true)) {
_x = _x + myBounce;
}
if (walls.hitTest(_x, getBounds(_root).yMax, true)) {
_y = _y - myBounce;
}
if (walls.hitTest(_x, getBounds(_root).yMin, true)) {
_y = _y + myBounce;
}
}
}
Frame 22 (17 B)
stopAllSounds();
Frame 520 (8 B)
stop();
Symbol 16 Button (64 B)
on (release) {
getURL ("http://www.armorgames.com", "blank");
}
Symbol 23 MovieClip Frame 161 (14 B)
_root.play();
Symbol 27 Button (34 B)
on (release) {
gotoAndStop (5);
}
Symbol 29 Button (61 B)
on (release) {
inst.gotoAndPlay(2);
shade.gotoAndPlay(2);
}
Symbol 32 MovieClip Frame 1 (8 B)
stop();
Symbol 32 MovieClip Frame 70 (8 B)
stop();
Symbol 39 MovieClip Frame 57 (8 B)
stop();
Symbol 72 MovieClip Frame 39 (17 B)
gotoAndPlay (1);
Symbol 81 Button (45 B)
on (release) {
_root.inst.gotoAndPlay(73);
}
Symbol 87 MovieClip Frame 65 (8 B)
stop();
Symbol 93 MovieClip Frame 1 (8 B)
stop();
Symbol 93 MovieClip Frame 2 (393 B)
stop();
acceleration = 10;
newpos = function () {
ranx = Math.round(Math.random() * 250);
rany = Math.round(Math.random() * 250);
};
newpos();
this.onEnterFrame = function () {
this._x = this._x + ((ranx - this._x) / acceleration);
this._y = this._y + ((rany - this._y) / acceleration);
if ((Math.round(this._x) == ranx) || (Math.round(this._y) == rany)) {
newpos();
}
};
Symbol 99 MovieClip Frame 57 (8 B)
stop();
Symbol 112 MovieClip Frame 1 (8 B)
stop();
Symbol 116 MovieClip Frame 65 (8 B)
stop();
Symbol 117 MovieClip Frame 1 (8 B)
stop();
Symbol 117 MovieClip Frame 71 (8 B)
stop();
Symbol 117 MovieClip Frame 144 (8 B)
stop();
Symbol 121 Button (53 B)
on (press) {
getURL ("http://www.armorgames.com");
}
Symbol 126 Button (180 B)
on (press) {
if (_quality == "HIGH") {
_quality = "MEDIUM";
} else if (_quality == "MEDIUM") {
_quality = "LOW";
} else if (_quality == "LOW") {
_quality = "HIGH";
}
}
Symbol 129 Button (34 B)
on (release) {
gotoAndStop (6);
}
Symbol 131 MovieClip Frame 2 (95 B)
flakey._x = Math.random() * 290;
flakey._y = Math.random() * 5;
fallheight = 500;
step = 2;
Symbol 131 MovieClip Frame 4 (143 B)
flakeyfall = flakey._y;
if (flakeyfall <= fallheight) {
flakey._y = flakey._y + step;
gotoAndPlay (3);
} else {
gotoAndPlay (2);
}
Symbol 131 MovieClip Frame 5 (17 B)
gotoAndPlay (1);
Symbol 132 MovieClip Frame 1 (8 B)
stop();
Symbol 132 MovieClip Frame 3 (95 B)
flakey._x = Math.random() * 290;
flakey._y = Math.random() * 5;
fallheight = 500;
step = 2;
Symbol 132 MovieClip Frame 5 (143 B)
flakeyfall = flakey._y;
if (flakeyfall <= fallheight) {
flakey._y = flakey._y + step;
gotoAndPlay (4);
} else {
gotoAndPlay (3);
}
Symbol 132 MovieClip Frame 6 (8 B)
stop();
Symbol 133 MovieClip Frame 2 (84 B)
flakey._x = Math.random() * 290;
flakey._y = Math.random() * 5;
fallheight = 500;
Symbol 133 MovieClip Frame 4 (227 B)
flakeyfall = flakey._y;
if (flakeyfall <= fallheight) {
flakey._y = flakey._y + step;
gotoAndPlay (3);
} else {
gotoAndPlay (2);
}
step = 2;
idvariable = setInterval(function () {
step = step + 0.01;
}, 1000);
Symbol 134 MovieClip Frame 1 (8 B)
stop();
Symbol 134 MovieClip Frame 3 (95 B)
flakey._x = Math.random() * 290;
flakey._y = Math.random() * 5;
fallheight = 500;
step = 2;
Symbol 134 MovieClip Frame 5 (143 B)
flakeyfall = flakey._y;
if (flakeyfall <= fallheight) {
flakey._y = flakey._y + step;
gotoAndPlay (4);
} else {
gotoAndPlay (3);
}
Symbol 134 MovieClip Frame 6 (8 B)
stop();
Symbol 135 MovieClip Frame 1 (8 B)
stop();
Symbol 135 MovieClip Frame 3 (95 B)
flakey._x = Math.random() * 290;
flakey._y = Math.random() * 5;
fallheight = 500;
step = 2;
Symbol 135 MovieClip Frame 5 (143 B)
flakeyfall = flakey._y;
if (flakeyfall <= fallheight) {
flakey._y = flakey._y + step;
gotoAndPlay (4);
} else {
gotoAndPlay (3);
}
Symbol 135 MovieClip Frame 6 (8 B)
stop();
Symbol 138 MovieClip Frame 1 (8 B)
stop();
Symbol 138 MovieClip Frame 2 (8 B)
stop();
Symbol 138 MovieClip Frame 3 (8 B)
stop();
Symbol 138 MovieClip Frame 4 (8 B)
stop();
Symbol 138 MovieClip Frame 5 (23 B)
_root.gotoAndStop(11);
Symbol 144 MovieClip Frame 1 (255 B)
stop();
_root.countdown = 30;
idvariable = setInterval(function () {
_root.countdown = _root.countdown - 1;
}, 1000);
this.onEnterFrame = function () {
if (_root.countdown == 0) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
};
Symbol 144 MovieClip Frame 2 (384 B)
acceleration = 10;
newpos = function () {
ranx = Math.round(Math.random() * 250);
rany = Math.round(Math.random() * 250);
};
newpos();
this.onEnterFrame = function () {
this._x = this._x + ((ranx - this._x) / acceleration);
this._y = this._y + ((rany - this._y) / acceleration);
if ((Math.round(this._x) == ranx) || (Math.round(this._y) == rany)) {
newpos();
}
};
Symbol 144 MovieClip Frame 4 (8 B)
stop();
Symbol 145 MovieClip Frame 1 (8 B)
stop();
Symbol 146 MovieClip Frame 1 (8 B)
stop();
Symbol 148 Button (34 B)
on (release) {
gotoAndStop (8);
}
Symbol 163 Button (52 B)
on (release) {
stopAllSounds();
gotoAndStop (4);
}
Symbol 165 Button (35 B)
on (release) {
gotoAndStop (13);
}
Symbol 171 MovieClip Frame 1 (8 B)
stop();
Symbol 173 Button (35 B)
on (release) {
gotoAndStop (15);
}
Symbol 180 Button (35 B)
on (release) {
gotoAndStop (17);
}
Symbol 192 Button (35 B)
on (release) {
gotoAndStop (19);
}
Symbol 206 Button (35 B)
on (release) {
gotoAndStop (21);
}
Symbol 218 MovieClip Frame 1 (111 B)
stop();
idvariable = setInterval(function () {
die1._rotation = Math.floor(Math.random() * 360);
}, 1000);
Symbol 219 MovieClip Frame 1 (8 B)
stop();
Symbol 219 MovieClip Frame 2 (111 B)
stop();
idvariable = setInterval(function () {
die1._rotation = Math.floor(Math.random() * 360);
}, 1000);
Symbol 230 MovieClip Frame 1 (8 B)
stop();
Symbol 230 MovieClip Frame 7 (23 B)
_root.gotoAndPlay(22);
Symbol 233 MovieClip Frame 1 (112 B)
stop();
idvariable = setInterval(function () {
faire._rotation = Math.floor(Math.random() * 360);
}, 1000);
Symbol 233 MovieClip Frame 2 (17 B)
gotoAndStop (1);
Symbol 254 Button (57 B)
on (release) {
stopAllSounds();
_root.gotoAndPlay(5);
}
Symbol 255 Button (57 B)
on (release) {
stopAllSounds();
_root.gotoAndStop(4);
}