Frame 1
var gfx = 0;
var jch = 1;
var mutedd = 0;
function deadClick() {
}
var myMenu = new ContextMenu();
myMenu.hideBuiltInItems();
var brnotice = new ContextMenuItem(" .. Distopix ..", deadClick);
var hqa = new ContextMenuItem("- HCOOH -", deadClick);
hqa.separatorBefore = true;
myMenu.customItems.push(brnotice, hqa);
_root.menu = myMenu;
Instance of Symbol 29 MovieClip in Frame 1
onClipEvent (load) {
total = _parent.getBytesTotal();
_root.stop();
}
onClipEvent (enterFrame) {
loaded = _parent.getBytesLoaded();
_root.pct = Math.floor((loaded / total) * 100);
if (_root.pct == 100) {
_root.gotoAndPlay(2);
}
}
Frame 2
stop();
jch = 0;
_root.kongregateServices.connect();
Instance of Symbol 45 MovieClip in Frame 2
onClipEvent (enterFrame) {
if (_root.mutedd == 1) {
tellTarget ("../music") {
stopAllSounds();
};
}
}
Frame 3
var lives = 5;
var pongl = 2;
var redch = 1;
var greench = 1;
var elapsedTime = 0;
var timee = 0;
var timeround = 0;
_root.startTime = getTimer();
var timing = 1;
var score = 0;
var wonnn = 1;
Instance of Symbol 67 MovieClip in Frame 3
onClipEvent (enterFrame) {
gotoAndPlay(_root.lives);
}
Instance of Symbol 67 MovieClip in Frame 3
onClipEvent (enterFrame) {
gotoAndPlay(_root.lives);
}
Frame 35
stop();
Instance of Symbol 67 MovieClip in Frame 35
onClipEvent (enterFrame) {
gotoAndPlay(_root.lives);
}
Instance of Symbol 67 MovieClip in Frame 35
onClipEvent (enterFrame) {
gotoAndPlay(_root.lives);
}
Instance of Symbol 105 MovieClip in Frame 35
onClipEvent (enterFrame) {
if (_root.lives == 0) {
_root.gotoAndStop("over");
}
if (_root.pongl == 0) {
_root.gotoAndStop("over");
}
}
Frame 36
if (_root.lives == 0) {
score = score;
} else if (timeround >= 110) {
score = score + (150 * lives);
} else {
score = ((score + (150 * lives)) + 3300) - (30 * timeround);
}
_root.kongregateServices.connect();
_root.kongregateScores.setMode("Lives");
_root.kongregateScores.submit(lives);
_root.kongregateScores.setMode("Score");
_root.kongregateScores.submit(score);
_root.kongregateScores.setMode("High Time");
_root.kongregateScores.submit(timeround);
if (_root.lives == 0) {
} else {
_root.kongregateStats.submit("Lower Time", timeround);
_root.kongregateStats.submit("Won", wonnn);
}
stop();
Instance of Symbol 121 MovieClip in Frame 36
onClipEvent (enterFrame) {
if (_root.lives >= 0) {
gotoAndStop (2);
} else {
gotoAndStop (1);
}
}
Symbol 14 MovieClip Frame 2
gotoAndPlay (1);
Symbol 14 MovieClip Frame 4
gotoAndPlay (3);
Instance of Symbol 14 MovieClip "red" in Symbol 15 MovieClip Frame 1
onClipEvent (load) {
this._x = random(415) + 5;
this._y = random(400) - 400;
speed = 3;
if (_root.gfx == 1) {
gotoAndPlay (3);
}
}
onClipEvent (enterFrame) {
this._y = this._y + speed;
if ((this._y >= 339) && (_root.jch == 1)) {
this._x = random(415) + 5;
this._y = random(200) - 200;
speed = 3;
}
if (_root.dist == 0) {
if (this.hitbox.hitTest(_parent.hero) && (_parent.hero._alpha == 100)) {
if (_root.redch == 1) {
this._x = random(325) + 5;
this._y = random(200) - 200;
speed = 3;
}
_root.lives = _root.lives - 1;
_parent.hero._alpha = 10;
}
}
if (_root.dist == 1) {
if (this.hitboxd.hitTest(_parent.hero) && (_parent.hero._alpha == 100)) {
if (_root.redch == 1) {
this._x = random(325) + 5;
this._y = random(200) - 200;
speed = 3;
}
_root.lives = _root.lives - 1;
_parent.hero._alpha = 10;
}
}
}
Instance of Symbol 14 MovieClip "red" in Symbol 15 MovieClip Frame 1
onClipEvent (load) {
this._x = random(415) + 5;
this._y = random(400) - 400;
speed = 3;
if (_root.gfx == 1) {
gotoAndPlay (3);
}
}
onClipEvent (enterFrame) {
this._y = this._y + speed;
if ((this._y >= 339) && (_root.jch == 1)) {
this._x = random(415) + 5;
this._y = random(200) - 200;
speed = 3;
}
if (_root.dist == 0) {
if (this.hitbox.hitTest(_parent.hero) && (_parent.hero._alpha == 100)) {
if (_root.redch == 1) {
this._x = random(325) + 5;
this._y = random(200) - 200;
speed = 3;
}
_root.lives = _root.lives - 1;
_parent.hero._alpha = 10;
}
}
if (_root.dist == 1) {
if (this.hitboxd.hitTest(_parent.hero) && (_parent.hero._alpha == 100)) {
if (_root.redch == 1) {
this._x = random(325) + 5;
this._y = random(200) - 200;
speed = 3;
}
_root.lives = _root.lives - 1;
_parent.hero._alpha = 10;
}
}
}
Instance of Symbol 14 MovieClip "red" in Symbol 15 MovieClip Frame 1
onClipEvent (load) {
this._x = random(415) + 5;
this._y = random(400) - 400;
speed = 3;
if (_root.gfx == 1) {
gotoAndPlay (3);
}
}
onClipEvent (enterFrame) {
this._y = this._y + speed;
if ((this._y >= 339) && (_root.jch == 1)) {
this._x = random(415) + 5;
this._y = random(200) - 200;
speed = 3;
}
if (_root.dist == 0) {
if (this.hitbox.hitTest(_parent.hero) && (_parent.hero._alpha == 100)) {
if (_root.redch == 1) {
this._x = random(325) + 5;
this._y = random(200) - 200;
speed = 3;
}
_root.lives = _root.lives - 1;
_parent.hero._alpha = 10;
}
}
if (_root.dist == 1) {
if (this.hitboxd.hitTest(_parent.hero) && (_parent.hero._alpha == 100)) {
if (_root.redch == 1) {
this._x = random(325) + 5;
this._y = random(200) - 200;
speed = 3;
}
_root.lives = _root.lives - 1;
_parent.hero._alpha = 10;
}
}
}
Instance of Symbol 14 MovieClip "red" in Symbol 15 MovieClip Frame 1
onClipEvent (load) {
this._x = random(415) + 5;
this._y = random(400) - 400;
speed = 3;
if (_root.gfx == 1) {
gotoAndPlay (3);
}
}
onClipEvent (enterFrame) {
this._y = this._y + speed;
if ((this._y >= 339) && (_root.jch == 1)) {
this._x = random(415) + 5;
this._y = random(200) - 200;
speed = 3;
}
if (_root.dist == 0) {
if (this.hitbox.hitTest(_parent.hero) && (_parent.hero._alpha == 100)) {
if (_root.redch == 1) {
this._x = random(325) + 5;
this._y = random(200) - 200;
speed = 3;
}
_root.lives = _root.lives - 1;
_parent.hero._alpha = 10;
}
}
if (_root.dist == 1) {
if (this.hitboxd.hitTest(_parent.hero) && (_parent.hero._alpha == 100)) {
if (_root.redch == 1) {
this._x = random(325) + 5;
this._y = random(200) - 200;
speed = 3;
}
_root.lives = _root.lives - 1;
_parent.hero._alpha = 10;
}
}
}
Instance of Symbol 14 MovieClip "red" in Symbol 15 MovieClip Frame 1
onClipEvent (load) {
this._x = random(415) + 5;
this._y = random(400) - 400;
speed = 3;
if (_root.gfx == 1) {
gotoAndPlay (3);
}
}
onClipEvent (enterFrame) {
this._y = this._y + speed;
if ((this._y >= 339) && (_root.jch == 1)) {
this._x = random(415) + 5;
this._y = random(200) - 200;
speed = 3;
}
if (_root.dist == 0) {
if (this.hitbox.hitTest(_parent.hero) && (_parent.hero._alpha == 100)) {
if (_root.redch == 1) {
this._x = random(325) + 5;
this._y = random(200) - 200;
speed = 3;
}
_root.lives = _root.lives - 1;
_parent.hero._alpha = 10;
}
}
if (_root.dist == 1) {
if (this.hitboxd.hitTest(_parent.hero) && (_parent.hero._alpha == 100)) {
if (_root.redch == 1) {
this._x = random(325) + 5;
this._y = random(200) - 200;
speed = 3;
}
_root.lives = _root.lives - 1;
_parent.hero._alpha = 10;
}
}
}
Instance of Symbol 14 MovieClip "red" in Symbol 15 MovieClip Frame 1
onClipEvent (load) {
this._x = random(415) + 5;
this._y = random(400) - 400;
speed = 3;
if (_root.gfx == 1) {
gotoAndPlay (3);
}
}
onClipEvent (enterFrame) {
this._y = this._y + speed;
if ((this._y >= 339) && (_root.jch == 1)) {
this._x = random(415) + 5;
this._y = random(200) - 200;
speed = 3;
}
if (_root.dist == 0) {
if (this.hitbox.hitTest(_parent.hero) && (_parent.hero._alpha == 100)) {
if (_root.redch == 1) {
this._x = random(325) + 5;
this._y = random(200) - 200;
speed = 3;
}
_root.lives = _root.lives - 1;
_parent.hero._alpha = 10;
}
}
if (_root.dist == 1) {
if (this.hitboxd.hitTest(_parent.hero) && (_parent.hero._alpha == 100)) {
if (_root.redch == 1) {
this._x = random(325) + 5;
this._y = random(200) - 200;
speed = 3;
}
_root.lives = _root.lives - 1;
_parent.hero._alpha = 10;
}
}
}
Instance of Symbol 14 MovieClip "red" in Symbol 15 MovieClip Frame 1
onClipEvent (load) {
this._x = random(415) + 5;
this._y = random(400) - 400;
speed = 3;
if (_root.gfx == 1) {
gotoAndPlay (3);
}
}
onClipEvent (enterFrame) {
this._y = this._y + speed;
if ((this._y >= 339) && (_root.jch == 1)) {
this._x = random(415) + 5;
this._y = random(200) - 200;
speed = 3;
}
if (_root.dist == 0) {
if (this.hitbox.hitTest(_parent.hero) && (_parent.hero._alpha == 100)) {
if (_root.redch == 1) {
this._x = random(325) + 5;
this._y = random(200) - 200;
speed = 3;
}
_root.lives = _root.lives - 1;
_parent.hero._alpha = 10;
}
}
if (_root.dist == 1) {
if (this.hitboxd.hitTest(_parent.hero) && (_parent.hero._alpha == 100)) {
if (_root.redch == 1) {
this._x = random(325) + 5;
this._y = random(200) - 200;
speed = 3;
}
_root.lives = _root.lives - 1;
_parent.hero._alpha = 10;
}
}
}
Instance of Symbol 14 MovieClip "red" in Symbol 15 MovieClip Frame 1
onClipEvent (load) {
this._x = random(415) + 5;
this._y = random(400) - 400;
speed = 3;
if (_root.gfx == 1) {
gotoAndPlay (3);
}
}
onClipEvent (enterFrame) {
this._y = this._y + speed;
if ((this._y >= 339) && (_root.jch == 1)) {
this._x = random(415) + 5;
this._y = random(200) - 200;
speed = 3;
}
if (_root.dist == 0) {
if (this.hitbox.hitTest(_parent.hero) && (_parent.hero._alpha == 100)) {
if (_root.redch == 1) {
this._x = random(325) + 5;
this._y = random(200) - 200;
speed = 3;
}
_root.lives = _root.lives - 1;
_parent.hero._alpha = 10;
}
}
if (_root.dist == 1) {
if (this.hitboxd.hitTest(_parent.hero) && (_parent.hero._alpha == 100)) {
if (_root.redch == 1) {
this._x = random(325) + 5;
this._y = random(200) - 200;
speed = 3;
}
_root.lives = _root.lives - 1;
_parent.hero._alpha = 10;
}
}
}
Symbol 37 Button
on (release) {
tellTarget ("../music") {
stopAllSounds();
};
}
on (release) {
nextFrame();
_root.mutedd = 1;
}
Symbol 41 Button
on (release) {
tellTarget ("../music") {
nextFrame();
};
}
on (release) {
prevFrame();
_root.mutedd = 0;
}
Symbol 42 MovieClip Frame 1
stop();
Symbol 42 MovieClip Frame 2
stop();
Symbol 44 MovieClip Frame 1
stop();
Symbol 44 MovieClip Frame 2
stop();
gotoAndStop (1);
Symbol 44 MovieClip Frame 3
stop();
gotoAndPlay (1);
Symbol 52 Button
on (release) {
gotoAndPlay ("play");
}
Symbol 67 MovieClip Frame 1
stop();
Symbol 67 MovieClip Frame 2
stop();
Symbol 67 MovieClip Frame 3
stop();
Symbol 67 MovieClip Frame 4
stop();
Symbol 67 MovieClip Frame 5
stop();
Symbol 69 MovieClip Frame 1
if (_root.timing == 1) {
_root.elapsedTime = getTimer() - _root.startTime;
_root.timee = _root.elapsedTime / 1000;
_root.timeround = Math.round(_root.elapsedTime / 1000);
}
Symbol 84 MovieClip Frame 2
gotoAndPlay (1);
Symbol 84 MovieClip Frame 4
gotoAndPlay (3);
Symbol 96 MovieClip Frame 2
gotoAndPlay (1);
Symbol 96 MovieClip Frame 4
gotoAndPlay (3);
Instance of Symbol 84 MovieClip "hero" in Symbol 99 MovieClip Frame 1
onClipEvent (load) {
speed = 1;
maxmove = 100;
dir = "right";
this._x = xvar;
if (_root.gfx == 1) {
gotoAndPlay (3);
}
}
onClipEvent (enterFrame) {
speed = speed * 0.7;
this._x = this._x + speed;
xvar = this._x;
if ((speed > -1) && (speed < 1)) {
speed = 0;
}
if (_alpha < 100) {
_alpha = (_alpha + 1.5);
}
if (_alpha > 100) {
_alpha = 100;
}
if (this._x > 23) {
if (Key.isDown(37) or Key.isDown(38)) {
if (speed > (-maxmove)) {
speed--;
speed--;
speed--;
}
dir = "left";
}
}
if (this._x < 274) {
if (Key.isDown(39) or Key.isDown(40)) {
if (speed < maxmove) {
speed++;
speed++;
speed++;
}
dir = "right";
}
}
}
Instance of Symbol 14 MovieClip "red" in Symbol 99 MovieClip Frame 2
onClipEvent (load) {
this._x = random(325) + 5;
this._y = random(200) - 200;
speed = 3;
if (_root.gfx == 1) {
gotoAndPlay (3);
}
}
onClipEvent (enterFrame) {
this._y = this._y + speed;
if (this._y >= 230) {
if (_root.redch == 1) {
this._x = random(325) + 5;
this._y = random(200) - 200;
speed = 3;
_root.score = _root.score + 5;
}
}
if (_root.dist == 0) {
if (this.hitbox.hitTest(_parent.hero) && (_parent.hero._alpha == 100)) {
if (_root.redch == 1) {
this._x = random(325) + 5;
this._y = random(200) - 200;
speed = 3;
} else {
this._x = 500;
}
_root.lives = _root.lives - 1;
_parent.hero._alpha = 10;
}
}
if (_root.dist == 1) {
if (this.hitboxd.hitTest(_parent.hero) && (_parent.hero._alpha == 100)) {
if (_root.redch == 1) {
this._x = random(325) + 5;
this._y = random(200) - 200;
speed = 3;
}
_root.lives = _root.lives - 1;
_parent.hero._alpha = 10;
}
}
}
Instance of Symbol 14 MovieClip "redu" in Symbol 99 MovieClip Frame 2
onClipEvent (load) {
this._x = random(325) + 5;
this._y = random(200) - 200;
speed = 3;
if (_root.gfx == 1) {
gotoAndPlay (3);
}
}
onClipEvent (enterFrame) {
this._y = this._y + speed;
if (this._y >= 230) {
if (_root.redch == 1) {
this._x = random(325) + 5;
this._y = random(200) - 200;
speed = 3;
_root.score = _root.score + 5;
}
}
if (_root.dist == 0) {
if (this.hitbox.hitTest(_parent.hero) && (_parent.hero._alpha == 100)) {
if (_root.redch == 1) {
this._x = random(325) + 5;
this._y = random(200) - 200;
speed = 3;
} else {
this._x = 500;
}
_root.lives = _root.lives - 1;
_parent.hero._alpha = 10;
}
}
if (_root.dist == 1) {
if (this.hitboxd.hitTest(_parent.hero) && (_parent.hero._alpha == 100)) {
if (_root.redch == 1) {
this._x = random(325) + 5;
this._y = random(200) - 200;
speed = 3;
}
_root.lives = _root.lives - 1;
_parent.hero._alpha = 10;
}
}
}
Instance of Symbol 14 MovieClip "redtt" in Symbol 99 MovieClip Frame 2
onClipEvent (load) {
this._x = random(325) + 5;
this._y = random(200) - 200;
speed = 3;
if (_root.gfx == 1) {
gotoAndPlay (3);
}
}
onClipEvent (enterFrame) {
this._y = this._y + speed;
if (this._y >= 230) {
if (_root.redch == 1) {
this._x = random(325) + 5;
this._y = random(200) - 200;
speed = 3;
_root.score = _root.score + 5;
}
}
if (_root.dist == 0) {
if (this.hitbox.hitTest(_parent.hero) && (_parent.hero._alpha == 100)) {
if (_root.redch == 1) {
this._x = random(325) + 5;
this._y = random(200) - 200;
speed = 3;
} else {
this._x = 500;
}
_root.lives = _root.lives - 1;
_parent.hero._alpha = 10;
}
}
if (_root.dist == 1) {
if (this.hitboxd.hitTest(_parent.hero) && (_parent.hero._alpha == 100)) {
if (_root.redch == 1) {
this._x = random(325) + 5;
this._y = random(200) - 200;
speed = 3;
}
_root.lives = _root.lives - 1;
_parent.hero._alpha = 10;
}
}
}
Instance of Symbol 14 MovieClip "redio" in Symbol 99 MovieClip Frame 2
onClipEvent (load) {
this._x = random(325) + 5;
this._y = random(200) - 200;
speed = 3;
if (_root.gfx == 1) {
gotoAndPlay (3);
}
}
onClipEvent (enterFrame) {
this._y = this._y + speed;
if (this._y >= 230) {
if (_root.redch == 1) {
this._x = random(325) + 5;
this._y = random(200) - 200;
speed = 3;
_root.score = _root.score + 5;
}
}
if (_root.dist == 0) {
if (this.hitbox.hitTest(_parent.hero) && (_parent.hero._alpha == 100)) {
if (_root.redch == 1) {
this._x = random(325) + 5;
this._y = random(200) - 200;
speed = 3;
} else {
this._x = 500;
}
_root.lives = _root.lives - 1;
_parent.hero._alpha = 10;
}
}
if (_root.dist == 1) {
if (this.hitboxd.hitTest(_parent.hero) && (_parent.hero._alpha == 100)) {
if (_root.redch == 1) {
this._x = random(325) + 5;
this._y = random(200) - 200;
speed = 3;
}
_root.lives = _root.lives - 1;
_parent.hero._alpha = 10;
}
}
}
Instance of Symbol 14 MovieClip "redy" in Symbol 99 MovieClip Frame 2
onClipEvent (load) {
this._x = random(325) + 5;
this._y = random(200) - 200;
speed = 3;
if (_root.gfx == 1) {
gotoAndPlay (3);
}
}
onClipEvent (enterFrame) {
this._y = this._y + speed;
if (this._y >= 230) {
if (_root.redch == 1) {
this._x = random(325) + 5;
this._y = random(200) - 200;
speed = 3;
_root.score = _root.score + 5;
}
}
if (_root.dist == 0) {
if (this.hitbox.hitTest(_parent.hero) && (_parent.hero._alpha == 100)) {
if (_root.redch == 1) {
this._x = random(325) + 5;
this._y = random(200) - 200;
speed = 3;
} else {
this._x = 500;
}
_root.lives = _root.lives - 1;
_parent.hero._alpha = 10;
}
}
if (_root.dist == 1) {
if (this.hitboxd.hitTest(_parent.hero) && (_parent.hero._alpha == 100)) {
if (_root.redch == 1) {
this._x = random(325) + 5;
this._y = random(200) - 200;
speed = 3;
}
_root.lives = _root.lives - 1;
_parent.hero._alpha = 10;
}
}
}
Instance of Symbol 14 MovieClip "redj" in Symbol 99 MovieClip Frame 2
onClipEvent (load) {
this._x = random(325) + 5;
this._y = random(200) - 200;
speed = 3;
if (_root.gfx == 1) {
gotoAndPlay (3);
}
}
onClipEvent (enterFrame) {
this._y = this._y + speed;
if (this._y >= 230) {
if ((_root.redch == 1) && (_root.grach == 1)) {
this._x = random(325) + 5;
this._y = random(200) - 200;
speed = 3;
_root.score = _root.score + 5;
}
}
if (_root.dist == 0) {
if (this.hitbox.hitTest(_parent.hero) && (_parent.hero._alpha == 100)) {
if ((_root.redch == 1) && (_root.grach == 1)) {
this._x = random(325) + 5;
this._y = random(200) - 200;
speed = 3;
} else {
this._x = 500;
}
_root.lives = _root.lives - 1;
_parent.hero._alpha = 10;
}
}
if (_root.dist == 1) {
if (this.hitboxd.hitTest(_parent.hero) && (_parent.hero._alpha == 100)) {
if ((_root.redch == 1) && (_root.grach == 1)) {
this._x = random(325) + 5;
this._y = random(200) - 200;
speed = 3;
}
_root.lives = _root.lives - 1;
_parent.hero._alpha = 10;
}
}
}
Instance of Symbol 14 MovieClip "redd" in Symbol 99 MovieClip Frame 2
onClipEvent (load) {
this._x = random(325) + 5;
this._y = random(200) - 200;
speed = 3;
if (_root.gfx == 1) {
gotoAndPlay (3);
}
}
onClipEvent (enterFrame) {
this._y = this._y + speed;
if (this._y >= 230) {
if ((_root.redch == 1) && (_root.grach == 1)) {
this._x = random(325) + 5;
this._y = random(200) - 200;
speed = 3;
_root.score = _root.score + 5;
}
}
if (_root.dist == 0) {
if (this.hitbox.hitTest(_parent.hero) && (_parent.hero._alpha == 100)) {
if ((_root.redch == 1) && (_root.grach == 1)) {
this._x = random(325) + 5;
this._y = random(200) - 200;
speed = 3;
} else {
this._x = 500;
}
_root.lives = _root.lives - 1;
_parent.hero._alpha = 10;
}
}
if (_root.dist == 1) {
if (this.hitboxd.hitTest(_parent.hero) && (_parent.hero._alpha == 100)) {
if ((_root.redch == 1) && (_root.grach == 1)) {
this._x = random(325) + 5;
this._y = random(200) - 200;
speed = 3;
}
_root.lives = _root.lives - 1;
_parent.hero._alpha = 10;
}
}
}
Instance of Symbol 14 MovieClip "redx" in Symbol 99 MovieClip Frame 2
onClipEvent (load) {
this._x = random(325) + 5;
this._y = random(200) - 200;
speed = 3;
if (_root.gfx == 1) {
gotoAndPlay (3);
}
}
onClipEvent (enterFrame) {
this._y = this._y + speed;
if (this._y >= 230) {
if (_root.redch == 1) {
this._x = random(325) + 5;
this._y = random(200) - 200;
speed = 3;
_root.score = _root.score + 5;
}
}
if (_root.dist == 0) {
if (this.hitbox.hitTest(_parent.hero) && (_parent.hero._alpha == 100)) {
if (_root.redch == 1) {
this._x = random(325) + 5;
this._y = random(200) - 200;
speed = 3;
} else {
this._x = 500;
}
_root.lives = _root.lives - 1;
_parent.hero._alpha = 10;
}
}
if (_root.dist == 1) {
if (this.hitboxd.hitTest(_parent.hero) && (_parent.hero._alpha == 100)) {
if (_root.redch == 1) {
this._x = random(325) + 5;
this._y = random(200) - 200;
speed = 3;
}
_root.lives = _root.lives - 1;
_parent.hero._alpha = 10;
}
}
}
Instance of Symbol 14 MovieClip "redq" in Symbol 99 MovieClip Frame 2
onClipEvent (load) {
this._x = random(325) + 5;
this._y = random(200) - 200;
speed = 3;
if (_root.gfx == 1) {
gotoAndPlay (3);
}
}
onClipEvent (enterFrame) {
this._y = this._y + speed;
if (this._y >= 230) {
if (_root.redch == 1) {
this._x = random(325) + 5;
this._y = random(200) - 200;
speed = 3;
_root.score = _root.score + 5;
}
}
if (_root.dist == 0) {
if (this.hitbox.hitTest(_parent.hero) && (_parent.hero._alpha == 100)) {
if (_root.redch == 1) {
this._x = random(325) + 5;
this._y = random(200) - 200;
speed = 3;
} else {
this._x = 500;
}
_root.lives = _root.lives - 1;
_parent.hero._alpha = 10;
}
}
if (_root.dist == 1) {
if (this.hitboxd.hitTest(_parent.hero) && (_parent.hero._alpha == 100)) {
if (_root.redch == 1) {
this._x = random(325) + 5;
this._y = random(200) - 200;
speed = 3;
}
_root.lives = _root.lives - 1;
_parent.hero._alpha = 10;
}
}
}
Instance of Symbol 88 MovieClip "ger" in Symbol 99 MovieClip Frame 6
onClipEvent (load) {
this._x = random(325) + 5;
this._y = random(200) - 200;
speed = 4;
if (_root.gfx == 1) {
gotoAndPlay (3);
}
}
onClipEvent (enterFrame) {
this._y = this._y + speed;
if (this._y >= 230) {
if (_root.greench == 1) {
this._x = random(325) + 5;
this._y = random(200) - 200;
speed = 4;
_root.score = _root.score + 7;
}
}
if (_root.dist == 0) {
if (this.hitbox.hitTest(_parent.hero) && (_parent.hero._alpha == 100)) {
if (_root.greench == 1) {
this._x = random(325) + 5;
this._y = random(200) - 200;
speed = 4;
}
_root.lives = _root.lives - 1;
_parent.hero._alpha = 10;
}
}
if (_root.dist == 1) {
if (this.hitboxd.hitTest(_parent.hero) && (_parent.hero._alpha == 100)) {
if (_root.greench == 1) {
this._x = random(325) + 5;
this._y = random(200) - 200;
speed = 4;
}
_root.lives = _root.lives - 1;
_parent.hero._alpha = 10;
}
}
}
Instance of Symbol 88 MovieClip "gerio" in Symbol 99 MovieClip Frame 6
onClipEvent (load) {
this._x = random(325) + 5;
this._y = random(200) - 200;
speed = 4;
if (_root.gfx == 1) {
gotoAndPlay (3);
}
}
onClipEvent (enterFrame) {
this._y = this._y + speed;
if (this._y >= 230) {
if (_root.greench == 1) {
this._x = random(325) + 5;
this._y = random(200) - 200;
speed = 4;
_root.score = _root.score + 7;
}
}
if (_root.dist == 0) {
if (this.hitbox.hitTest(_parent.hero) && (_parent.hero._alpha == 100)) {
if (_root.greench == 1) {
this._x = random(325) + 5;
this._y = random(200) - 200;
speed = 4;
}
_root.lives = _root.lives - 1;
_parent.hero._alpha = 10;
}
}
if (_root.dist == 1) {
if (this.hitboxd.hitTest(_parent.hero) && (_parent.hero._alpha == 100)) {
if (_root.greench == 1) {
this._x = random(325) + 5;
this._y = random(200) - 200;
speed = 4;
}
_root.lives = _root.lives - 1;
_parent.hero._alpha = 10;
}
}
}
Instance of Symbol 88 MovieClip "gerw" in Symbol 99 MovieClip Frame 6
onClipEvent (load) {
this._x = random(325) + 5;
this._y = random(200) - 200;
speed = 4;
if (_root.gfx == 1) {
gotoAndPlay (3);
}
}
onClipEvent (enterFrame) {
this._y = this._y + speed;
if (this._y >= 230) {
if (_root.greench == 1) {
this._x = random(325) + 5;
this._y = random(200) - 200;
speed = 4;
_root.score = _root.score + 7;
}
}
if (_root.dist == 0) {
if (this.hitbox.hitTest(_parent.hero) && (_parent.hero._alpha == 100)) {
if (_root.greench == 1) {
this._x = random(325) + 5;
this._y = random(200) - 200;
speed = 4;
}
_root.lives = _root.lives - 1;
_parent.hero._alpha = 10;
}
}
if (_root.dist == 1) {
if (this.hitboxd.hitTest(_parent.hero) && (_parent.hero._alpha == 100)) {
if (_root.greench == 1) {
this._x = random(325) + 5;
this._y = random(200) - 200;
speed = 4;
}
_root.lives = _root.lives - 1;
_parent.hero._alpha = 10;
}
}
}
Instance of Symbol 88 MovieClip "geru" in Symbol 99 MovieClip Frame 6
onClipEvent (load) {
this._x = random(325) + 5;
this._y = random(200) - 200;
speed = 4;
if (_root.gfx == 1) {
gotoAndPlay (3);
}
}
onClipEvent (enterFrame) {
this._y = this._y + speed;
if (this._y >= 230) {
if (_root.greench == 1) {
this._x = random(325) + 5;
this._y = random(200) - 200;
speed = 4;
_root.score = _root.score + 7;
}
}
if (_root.dist == 0) {
if (this.hitbox.hitTest(_parent.hero) && (_parent.hero._alpha == 100)) {
if (_root.greench == 1) {
this._x = random(325) + 5;
this._y = random(200) - 200;
speed = 4;
}
_root.lives = _root.lives - 1;
_parent.hero._alpha = 10;
}
}
if (_root.dist == 1) {
if (this.hitboxd.hitTest(_parent.hero) && (_parent.hero._alpha == 100)) {
if (_root.greench == 1) {
this._x = random(325) + 5;
this._y = random(200) - 200;
speed = 4;
}
_root.lives = _root.lives - 1;
_parent.hero._alpha = 10;
}
}
}
Instance of Symbol 88 MovieClip "gerk" in Symbol 99 MovieClip Frame 6
onClipEvent (load) {
this._x = random(325) + 5;
this._y = random(200) - 200;
speed = 4;
if (_root.gfx == 1) {
gotoAndPlay (3);
}
}
onClipEvent (enterFrame) {
this._y = this._y + speed;
if (this._y >= 230) {
if (_root.greench == 1) {
this._x = random(325) + 5;
this._y = random(200) - 200;
speed = 4;
_root.score = _root.score + 7;
}
}
if (_root.dist == 0) {
if (this.hitbox.hitTest(_parent.hero) && (_parent.hero._alpha == 100)) {
if (_root.greench == 1) {
this._x = random(325) + 5;
this._y = random(200) - 200;
speed = 4;
}
_root.lives = _root.lives - 1;
_parent.hero._alpha = 10;
}
}
if (_root.dist == 1) {
if (this.hitboxd.hitTest(_parent.hero) && (_parent.hero._alpha == 100)) {
if (_root.greench == 1) {
this._x = random(325) + 5;
this._y = random(200) - 200;
speed = 4;
}
_root.lives = _root.lives - 1;
_parent.hero._alpha = 10;
}
}
}
Symbol 99 MovieClip Frame 12
stop();
Instance of Symbol 91 MovieClip "yer" in Symbol 99 MovieClip Frame 12
onClipEvent (load) {
this._x = random(325) + 5;
this._y = random(200) - 200;
speed = 3;
speed2 = random(4) - 2;
}
onClipEvent (enterFrame) {
this._y = this._y + speed;
this._x = this._x + speed2;
if (speed2 == 0) {
speed2 = random(4) - 2;
}
if (this._y >= 230) {
this._x = random(325) + 5;
this._y = random(200) - 200;
speed = 3;
speed2 = random(4) - 2;
_root.score = _root.score + 7;
}
}
Instance of Symbol 91 MovieClip "yer" in Symbol 99 MovieClip Frame 12
onClipEvent (load) {
this._x = random(325) + 5;
this._y = random(200) - 200;
speed = 3;
speed2 = random(4) - 2;
}
onClipEvent (enterFrame) {
this._y = this._y + speed;
this._x = this._x + speed2;
if (speed2 == 0) {
speed2 = random(4) - 2;
}
if (this._y >= 230) {
this._x = random(325) + 5;
this._y = random(200) - 200;
speed = 3;
speed2 = random(4) - 2;
}
}
Instance of Symbol 91 MovieClip "yer" in Symbol 99 MovieClip Frame 12
onClipEvent (load) {
this._x = random(325) + 5;
this._y = random(200) - 200;
speed = 3;
speed2 = random(4) - 2;
}
onClipEvent (enterFrame) {
this._y = this._y + speed;
this._x = this._x + speed2;
if (speed2 == 0) {
speed2 = random(4) - 2;
}
if (this._y >= 230) {
this._x = random(325) + 5;
this._y = random(200) - 200;
speed = 3;
speed2 = random(4) - 2;
}
}
Symbol 99 MovieClip Frame 121
_root.pongl = 2;
Symbol 99 MovieClip Frame 137
stop();
Instance of Symbol 98 MovieClip "ball" in Symbol 99 MovieClip Frame 137
onClipEvent (load) {
this._x = random(70) + 92;
this._y = -115;
speedx = random(8) - 4;
speedy = 8;
varx = 1.2;
vary = 1.1;
if (_root.gfx == 1) {
gotoAndPlay (3);
}
}
onClipEvent (enterFrame) {
this._y = this._y + speedy;
this._x = this._x + speedx;
varx = random(12) + 100;
vary = random(12) + 100;
if ((this._x >= 325) && (speedx >= 0)) {
speedx = speedx * -1;
}
if ((this._x <= 0) && (speedx <= 0)) {
speedx = speedx * -1;
}
if (this._y >= 230) {
this._x = 162;
this._y = -115;
speedx = 3;
speedy = 5;
_root.lives = _root.lives - 1;
}
if (this._y <= -460) {
this._x = random(70) + 92;
this._y = -115;
speedx = random(8) - 4;
speedy = 5;
_root.pongl = _root.pongl - 1;
_root.score = _root.score + 200;
}
if (this.hitTest(_parent.hero.hitarea) && (speedy > 0)) {
speedy = (speedy * -1) + 0.2;
ballrotation = (this._x - (_parent.hero._x + 20)) / 5;
speedx = speedx + ballrotation;
}
if (this.hitTest(_parent.enemy) && (speedy < 0)) {
speedy = (speedy * -1) + 0.2;
ballrotation = (this._x - (_parent.enemy._x + 20)) / 10;
speedx = speedx + ballrotation;
}
}
Instance of Symbol 96 MovieClip "enemy" in Symbol 99 MovieClip Frame 137
onClipEvent (enterFrame) {
if (_parent.ball._x > (this._x - 25)) {
if (((_parent.ball._x - this._x) - 25) > 3) {
this._x = this._x + 3;
}
if (((_parent.ball._x - this._x) - 25) > 2) {
this._x = this._x + 2;
}
if (((_parent.ball._x - this._x) - 25) > 1) {
this._x = this._x + 1;
}
}
if (_parent.ball._x < this._x) {
if ((this._x - _parent.ball._x) > 3) {
this._x = this._x - 3;
}
if ((this._x - _parent.ball._x) > 2) {
this._x = this._x - 2;
}
if ((this._x - _parent.ball._x) > 1) {
this._x = this._x - 1;
}
}
}
Symbol 102 MovieClip Frame 1
_root.redch = 1;
_root.greench = 1;
_root.grach = 1;
Instance of Symbol 99 MovieClip "thegame" in Symbol 102 MovieClip Frame 1
onClipEvent (load) {
stop();
}
Symbol 102 MovieClip Frame 91
thegame.gotoAndStop("red");
_root.dist = 0;
Symbol 102 MovieClip Frame 1001
thegame.gotoAndStop("green");
_root.grach = 0;
Symbol 102 MovieClip Frame 1082
_root.dist = 1;
Symbol 102 MovieClip Frame 1358
_root.dist = 0;
Symbol 102 MovieClip Frame 1808
_root.dist = 1;
Symbol 102 MovieClip Frame 1825
_root.dist = 0;
Symbol 102 MovieClip Frame 1880
_root.dist = 1;
Symbol 102 MovieClip Frame 1892
_root.dist = 0;
Symbol 102 MovieClip Frame 2122
_root.redch = 0;
_root.greench = 0;
_root.yellowch = 0;
Symbol 102 MovieClip Frame 2275
thegame.gotoAndPlay("pong");
Symbol 102 MovieClip Frame 3339
gotoAndPlay ("bossp");
Symbol 112 Button
on (release) {
gotoAndStop ("mainmm");
tellTarget ("music") {
stopAllSounds();
gotoAndPlay (2);
};
}
Symbol 122 Button
on (press) {
_root.gotoAndStop("mainmm");
}