Frame 1
getURL ("FSCommand:showmenu", false, "GET");
fscommand ("showmenu", "false");
getURL ("FSCommand:trapallkeys", true, "GET");
fscommand ("trapallkeys", "true");
stop();
Frame 82
stop();
Frame 313
stop();
Frame 314
stop();
_root.pactime = 60;
_root.nopac = 10;
Instance of Symbol 156 MovieClip "pacman3" in Frame 314
onClipEvent (load) {
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
}
onClipEvent (enterFrame) {
_x = (_x + goleft);
if ((this._currentframe == 34) && (_root.nopac > 0)) {
this.gotoAndStop(1);
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
}
if (_x > 580) {
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
this.pcman.gotoAndStop(random(4) + 1);
}
with (_root.player) {
if (this.pcman.hittest(_x, getBounds(_root).yMax, true)) {
if (_root.ftest == "yes") {
if (_root.nopac > 0) {
_root.nopac--;
}
goleft = 0;
this.play();
suddenup = 25;
su = 3;
jump = true;
}
}
}
}
Instance of Symbol 156 MovieClip "pacman2" in Frame 314
onClipEvent (load) {
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
}
onClipEvent (enterFrame) {
_x = (_x + goleft);
if ((this._currentframe == 34) && (_root.nopac > 0)) {
this.gotoAndStop(1);
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
}
if (_x > 580) {
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
this.pcman.gotoAndStop(random(4) + 1);
}
with (_root.player) {
if (this.pcman.hittest(_x, getBounds(_root).yMax, true)) {
if (_root.ftest == "yes") {
if (_root.nopac > 0) {
_root.nopac--;
}
goleft = 0;
this.play();
suddenup = 25;
su = 3;
jump = true;
}
}
}
}
Instance of Symbol 156 MovieClip "pacman4" in Frame 314
onClipEvent (load) {
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
}
onClipEvent (enterFrame) {
_x = (_x + goleft);
if ((this._currentframe == 34) && (_root.nopac > 0)) {
this.gotoAndStop(1);
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
}
if (_x > 580) {
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
this.pcman.gotoAndStop(random(4) + 1);
}
with (_root.player) {
if (this.pcman.hittest(_x, getBounds(_root).yMax, true)) {
if (_root.ftest == "yes") {
if (_root.nopac > 0) {
_root.nopac--;
}
goleft = 0;
this.play();
suddenup = 25;
su = 3;
jump = true;
}
}
}
}
Instance of Symbol 156 MovieClip "pacman5" in Frame 314
onClipEvent (load) {
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
}
onClipEvent (enterFrame) {
_x = (_x + goleft);
if ((this._currentframe == 34) && (_root.nopac > 0)) {
this.gotoAndStop(1);
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
}
if (_x > 580) {
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
this.pcman.gotoAndStop(random(4) + 1);
}
with (_root.player) {
if (this.pcman.hittest(_x, getBounds(_root).yMax, true)) {
if (_root.ftest == "yes") {
if (_root.nopac > 0) {
_root.nopac--;
}
goleft = 0;
this.play();
suddenup = 25;
su = 3;
jump = true;
}
}
}
}
Instance of Symbol 156 MovieClip "pacman6" in Frame 314
onClipEvent (load) {
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
}
onClipEvent (enterFrame) {
_x = (_x + goleft);
if ((this._currentframe == 34) && (_root.nopac > 0)) {
this.gotoAndStop(1);
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
}
if (_x > 580) {
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
this.pcman.gotoAndStop(random(4) + 1);
}
with (_root.player) {
if (this.pcman.hittest(_x, getBounds(_root).yMax, true)) {
if (_root.ftest == "yes") {
if (_root.nopac > 0) {
_root.nopac--;
}
goleft = 0;
this.play();
suddenup = 25;
su = 3;
jump = true;
}
}
}
}
Instance of Symbol 156 MovieClip "pacman1" in Frame 314
onClipEvent (load) {
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
}
onClipEvent (enterFrame) {
_x = (_x + goleft);
if ((this._currentframe == 34) && (_root.nopac > 0)) {
this.gotoAndStop(1);
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
}
if (_x > 580) {
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
this.pcman.gotoAndStop(random(4) + 1);
}
with (_root.player) {
if (this.pcman.hittest(_x, getBounds(_root).yMax, true)) {
if (_root.ftest == "yes") {
if (_root.nopac > 0) {
_root.nopac--;
}
goleft = 0;
this.play();
suddenup = 25;
su = 3;
jump = true;
}
}
}
}
Instance of Symbol 156 MovieClip "pacman7" in Frame 314
onClipEvent (load) {
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
}
onClipEvent (enterFrame) {
_x = (_x + goleft);
if ((this._currentframe == 34) && (_root.nopac > 0)) {
this.gotoAndStop(1);
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
}
if (_x > 580) {
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
this.pcman.gotoAndStop(random(4) + 1);
}
with (_root.player) {
if (this.pcman.hittest(_x, getBounds(_root).yMax, true)) {
if (_root.ftest == "yes") {
if (_root.nopac > 0) {
_root.nopac--;
}
goleft = 0;
this.play();
suddenup = 25;
su = 3;
jump = true;
}
}
}
}
Instance of Symbol 156 MovieClip "pacman9" in Frame 314
onClipEvent (load) {
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
}
onClipEvent (enterFrame) {
_x = (_x + goleft);
if ((this._currentframe == 34) && (_root.nopac > 0)) {
this.gotoAndStop(1);
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
}
if (_x > 580) {
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
this.pcman.gotoAndStop(random(4) + 1);
}
with (_root.player) {
if (this.pcman.hittest(_x, getBounds(_root).yMax, true)) {
if (_root.ftest == "yes") {
if (_root.nopac > 0) {
_root.nopac--;
}
goleft = 0;
this.play();
suddenup = 25;
su = 3;
jump = true;
}
}
}
}
Instance of Symbol 156 MovieClip "pacman8" in Frame 314
onClipEvent (load) {
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
}
onClipEvent (enterFrame) {
_x = (_x + goleft);
if ((this._currentframe == 34) && (_root.nopac > 0)) {
this.gotoAndStop(1);
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
}
if (_x > 580) {
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
this.pcman.gotoAndStop(random(4) + 1);
}
with (_root.player) {
if (this.pcman.hittest(_x, getBounds(_root).yMax, true)) {
if (_root.ftest == "yes") {
if (_root.nopac > 0) {
_root.nopac--;
}
goleft = 0;
this.play();
suddenup = 25;
su = 3;
jump = true;
}
}
}
}
Instance of Symbol 156 MovieClip "pacman10" in Frame 314
onClipEvent (load) {
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
}
onClipEvent (enterFrame) {
_x = (_x + goleft);
if ((this._currentframe == 34) && (_root.nopac > 0)) {
this.gotoAndStop(1);
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
}
if (_x > 580) {
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
this.pcman.gotoAndStop(random(4) + 1);
}
with (_root.player) {
if (this.pcman.hittest(_x, getBounds(_root).yMax, true)) {
if (_root.ftest == "yes") {
if (_root.nopac > 0) {
_root.nopac--;
}
goleft = 0;
this.play();
suddenup = 25;
su = 3;
jump = true;
}
}
}
}
Instance of Symbol 156 MovieClip "pacman11" in Frame 314
onClipEvent (load) {
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
}
onClipEvent (enterFrame) {
_x = (_x + goleft);
if ((this._currentframe == 34) && (_root.nopac > 0)) {
this.gotoAndStop(1);
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
}
if (_x > 580) {
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
this.pcman.gotoAndStop(random(4) + 1);
}
with (_root.player) {
if (this.pcman.hittest(_x, getBounds(_root).yMax, true)) {
if (_root.ftest == "yes") {
if (_root.nopac > 0) {
_root.nopac--;
}
goleft = 0;
this.play();
suddenup = 25;
su = 3;
jump = true;
}
}
}
}
Instance of Symbol 156 MovieClip "pacman12" in Frame 314
onClipEvent (load) {
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
}
onClipEvent (enterFrame) {
_x = (_x + goleft);
if ((this._currentframe == 34) && (_root.nopac > 0)) {
this.gotoAndStop(1);
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
}
if (_x > 580) {
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
this.pcman.gotoAndStop(random(4) + 1);
}
with (_root.player) {
if (this.pcman.hittest(_x, getBounds(_root).yMax, true)) {
if (_root.ftest == "yes") {
if (_root.nopac > 0) {
_root.nopac--;
}
goleft = 0;
this.play();
suddenup = 25;
su = 3;
jump = true;
}
}
}
}
Instance of Symbol 156 MovieClip "pacman13" in Frame 314
onClipEvent (load) {
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
}
onClipEvent (enterFrame) {
_x = (_x + goleft);
if ((this._currentframe == 34) && (_root.nopac > 0)) {
this.gotoAndStop(1);
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
}
if (_x > 580) {
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
this.pcman.gotoAndStop(random(4) + 1);
}
with (_root.player) {
if (this.pcman.hittest(_x, getBounds(_root).yMax, true)) {
if (_root.ftest == "yes") {
if (_root.nopac > 0) {
_root.nopac--;
}
goleft = 0;
this.play();
suddenup = 25;
su = 3;
jump = true;
}
}
}
}
Instance of Symbol 156 MovieClip "pacman14" in Frame 314
onClipEvent (load) {
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
}
onClipEvent (enterFrame) {
_x = (_x + goleft);
if ((this._currentframe == 34) && (_root.nopac > 0)) {
this.gotoAndStop(1);
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
}
if (_x > 580) {
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
this.pcman.gotoAndStop(random(4) + 1);
}
with (_root.player) {
if (this.pcman.hittest(_x, getBounds(_root).yMax, true)) {
if (_root.ftest == "yes") {
if (_root.nopac > 0) {
_root.nopac--;
}
goleft = 0;
this.play();
suddenup = 25;
su = 3;
jump = true;
}
}
}
}
Instance of Symbol 156 MovieClip "pacman16" in Frame 314
onClipEvent (load) {
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
}
onClipEvent (enterFrame) {
_x = (_x + goleft);
if ((this._currentframe == 34) && (_root.nopac > 0)) {
this.gotoAndStop(1);
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
}
if (_x > 580) {
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
this.pcman.gotoAndStop(random(4) + 1);
}
with (_root.player) {
if (this.pcman.hittest(_x, getBounds(_root).yMax, true)) {
if (_root.ftest == "yes") {
if (_root.nopac > 0) {
_root.nopac--;
}
goleft = 0;
this.play();
suddenup = 25;
su = 3;
jump = true;
}
}
}
}
Instance of Symbol 156 MovieClip "pacman15" in Frame 314
onClipEvent (load) {
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
}
onClipEvent (enterFrame) {
_x = (_x + goleft);
if ((this._currentframe == 34) && (_root.nopac > 0)) {
this.gotoAndStop(1);
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
}
if (_x > 580) {
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
this.pcman.gotoAndStop(random(4) + 1);
}
with (_root.player) {
if (this.pcman.hittest(_x, getBounds(_root).yMax, true)) {
if (_root.ftest == "yes") {
if (_root.nopac > 0) {
_root.nopac--;
}
goleft = 0;
this.play();
suddenup = 25;
su = 3;
jump = true;
}
}
}
}
Instance of Symbol 156 MovieClip "pacman18" in Frame 314
onClipEvent (load) {
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
}
onClipEvent (enterFrame) {
_x = (_x + goleft);
if ((this._currentframe == 34) && (_root.nopac > 0)) {
this.gotoAndStop(1);
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
}
if (_x > 580) {
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
this.pcman.gotoAndStop(random(4) + 1);
}
with (_root.player) {
if (this.pcman.hittest(_x, getBounds(_root).yMax, true)) {
if (_root.ftest == "yes") {
if (_root.nopac > 0) {
_root.nopac--;
}
goleft = 0;
this.play();
suddenup = 25;
su = 3;
jump = true;
}
}
}
}
Instance of Symbol 156 MovieClip "pacman17" in Frame 314
onClipEvent (load) {
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
}
onClipEvent (enterFrame) {
_x = (_x + goleft);
if ((this._currentframe == 34) && (_root.nopac > 0)) {
this.gotoAndStop(1);
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
}
if (_x > 580) {
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
this.pcman.gotoAndStop(random(4) + 1);
}
with (_root.player) {
if (this.pcman.hittest(_x, getBounds(_root).yMax, true)) {
if (_root.ftest == "yes") {
if (_root.nopac > 0) {
_root.nopac--;
}
goleft = 0;
this.play();
suddenup = 25;
su = 3;
jump = true;
}
}
}
}
Instance of Symbol 173 MovieClip "player" in Frame 314
onClipEvent (load) {
}
onClipEvent (enterFrame) {
_root.test = _x;
if (key.isdown(32) && (!jump)) {
if ((_root.pactime > 0) && (_currentframe < 2)) {
jumpsound = new Sound();
jumpsound.attachSound("jumpsnd");
jumpsound.start();
suddenup = 25;
su = 3;
jump = true;
}
}
if (key.isdown(37)) {
if ((_root.pactime > 0) && (_currentframe < 2)) {
_x = (_x - 6);
rot = 15;
this.ball._rotation = this.ball._rotation - rot;
if (_x < 215.35) {
rot = 0;
_x = 215.35;
}
}
}
if (key.isdown(39)) {
if ((_root.pactime > 0) && (_currentframe < 2)) {
_x = (_x + 6);
rot = 15;
this.ball._rotation = this.ball._rotation + rot;
if (_x > 541.35) {
rot = 0;
_x = 541.35;
}
}
}
if (jump) {
if ((_root.pactime > 0) && (_currentframe < 2)) {
suddenup = suddenup - su;
_y = (_y - suddenup);
if (suddenup < -19) {
suddenup = -19;
}
_root.test = suddenup;
if (_root.test < 0) {
_root.ftest = "yes";
} else {
_root.ftest = "no";
}
if (_y > 508.2) {
_root.smoke._x = _x;
_root.smoke.play();
_y = 508.2;
jump = false;
_root.ftest = "no";
}
}
}
}
Instance of Symbol 187 MovieClip in Frame 314
onClipEvent (enterFrame) {
if (_root.nopac <= 0) {
this.stop();
_root.alldie.play();
}
if (_root.pactime <= 0) {
with (_root.player) {
jump = false;
_root.smoke._visible = false;
suddenup = 0;
su = 0;
gleft = 0;
gright = 0;
play();
}
}
}
Frame 315
stop();
Frame 316
stop();
_root.pactime = 50;
_root.nopac = 20;
Instance of Symbol 156 MovieClip "pacman3" in Frame 316
onClipEvent (load) {
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
}
onClipEvent (enterFrame) {
_x = (_x + goleft);
if ((this._currentframe == 34) && (_root.nopac > 0)) {
this.gotoAndStop(1);
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
}
if (_x > 580) {
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
this.pcman.gotoAndStop(random(4) + 1);
}
with (_root.player) {
if (this.pcman.hittest(_x, getBounds(_root).yMax, true)) {
if (_root.ftest == "yes") {
if (_root.nopac > 0) {
_root.nopac--;
}
goleft = 0;
this.play();
suddenup = 25;
su = 3;
jump = true;
}
}
}
}
Instance of Symbol 156 MovieClip "pacman2" in Frame 316
onClipEvent (load) {
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
}
onClipEvent (enterFrame) {
_x = (_x + goleft);
if ((this._currentframe == 34) && (_root.nopac > 0)) {
this.gotoAndStop(1);
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
}
if (_x > 580) {
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
this.pcman.gotoAndStop(random(4) + 1);
}
with (_root.player) {
if (this.pcman.hittest(_x, getBounds(_root).yMax, true)) {
if (_root.ftest == "yes") {
if (_root.nopac > 0) {
_root.nopac--;
}
goleft = 0;
this.play();
suddenup = 25;
su = 3;
jump = true;
}
}
}
}
Instance of Symbol 156 MovieClip "pacman4" in Frame 316
onClipEvent (load) {
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
}
onClipEvent (enterFrame) {
_x = (_x + goleft);
if ((this._currentframe == 34) && (_root.nopac > 0)) {
this.gotoAndStop(1);
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
}
if (_x > 580) {
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
this.pcman.gotoAndStop(random(4) + 1);
}
with (_root.player) {
if (this.pcman.hittest(_x, getBounds(_root).yMax, true)) {
if (_root.ftest == "yes") {
if (_root.nopac > 0) {
_root.nopac--;
}
goleft = 0;
this.play();
suddenup = 25;
su = 3;
jump = true;
}
}
}
}
Instance of Symbol 156 MovieClip "pacman5" in Frame 316
onClipEvent (load) {
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
}
onClipEvent (enterFrame) {
_x = (_x + goleft);
if ((this._currentframe == 34) && (_root.nopac > 0)) {
this.gotoAndStop(1);
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
}
if (_x > 580) {
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
this.pcman.gotoAndStop(random(4) + 1);
}
with (_root.player) {
if (this.pcman.hittest(_x, getBounds(_root).yMax, true)) {
if (_root.ftest == "yes") {
if (_root.nopac > 0) {
_root.nopac--;
}
goleft = 0;
this.play();
suddenup = 25;
su = 3;
jump = true;
}
}
}
}
Instance of Symbol 156 MovieClip "pacman6" in Frame 316
onClipEvent (load) {
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
}
onClipEvent (enterFrame) {
_x = (_x + goleft);
if ((this._currentframe == 34) && (_root.nopac > 0)) {
this.gotoAndStop(1);
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
}
if (_x > 580) {
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
this.pcman.gotoAndStop(random(4) + 1);
}
with (_root.player) {
if (this.pcman.hittest(_x, getBounds(_root).yMax, true)) {
if (_root.ftest == "yes") {
if (_root.nopac > 0) {
_root.nopac--;
}
goleft = 0;
this.play();
suddenup = 25;
su = 3;
jump = true;
}
}
}
}
Instance of Symbol 156 MovieClip "pacman1" in Frame 316
onClipEvent (load) {
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
}
onClipEvent (enterFrame) {
_x = (_x + goleft);
if ((this._currentframe == 34) && (_root.nopac > 0)) {
this.gotoAndStop(1);
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
}
if (_x > 580) {
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
this.pcman.gotoAndStop(random(4) + 1);
}
with (_root.player) {
if (this.pcman.hittest(_x, getBounds(_root).yMax, true)) {
if (_root.ftest == "yes") {
if (_root.nopac > 0) {
_root.nopac--;
}
goleft = 0;
this.play();
suddenup = 25;
su = 3;
jump = true;
}
}
}
}
Instance of Symbol 156 MovieClip "pacman7" in Frame 316
onClipEvent (load) {
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
}
onClipEvent (enterFrame) {
_x = (_x + goleft);
if ((this._currentframe == 34) && (_root.nopac > 0)) {
this.gotoAndStop(1);
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
}
if (_x > 580) {
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
this.pcman.gotoAndStop(random(4) + 1);
}
with (_root.player) {
if (this.pcman.hittest(_x, getBounds(_root).yMax, true)) {
if (_root.ftest == "yes") {
if (_root.nopac > 0) {
_root.nopac--;
}
goleft = 0;
this.play();
suddenup = 25;
su = 3;
jump = true;
}
}
}
}
Instance of Symbol 156 MovieClip "pacman9" in Frame 316
onClipEvent (load) {
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
}
onClipEvent (enterFrame) {
_x = (_x + goleft);
if ((this._currentframe == 34) && (_root.nopac > 0)) {
this.gotoAndStop(1);
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
}
if (_x > 580) {
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
this.pcman.gotoAndStop(random(4) + 1);
}
with (_root.player) {
if (this.pcman.hittest(_x, getBounds(_root).yMax, true)) {
if (_root.ftest == "yes") {
if (_root.nopac > 0) {
_root.nopac--;
}
goleft = 0;
this.play();
suddenup = 25;
su = 3;
jump = true;
}
}
}
}
Instance of Symbol 156 MovieClip "pacman8" in Frame 316
onClipEvent (load) {
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
}
onClipEvent (enterFrame) {
_x = (_x + goleft);
if ((this._currentframe == 34) && (_root.nopac > 0)) {
this.gotoAndStop(1);
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
}
if (_x > 580) {
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
this.pcman.gotoAndStop(random(4) + 1);
}
with (_root.player) {
if (this.pcman.hittest(_x, getBounds(_root).yMax, true)) {
if (_root.ftest == "yes") {
if (_root.nopac > 0) {
_root.nopac--;
}
goleft = 0;
this.play();
suddenup = 25;
su = 3;
jump = true;
}
}
}
}
Instance of Symbol 156 MovieClip "pacman10" in Frame 316
onClipEvent (load) {
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
}
onClipEvent (enterFrame) {
_x = (_x + goleft);
if ((this._currentframe == 34) && (_root.nopac > 0)) {
this.gotoAndStop(1);
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
}
if (_x > 580) {
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
this.pcman.gotoAndStop(random(4) + 1);
}
with (_root.player) {
if (this.pcman.hittest(_x, getBounds(_root).yMax, true)) {
if (_root.ftest == "yes") {
if (_root.nopac > 0) {
_root.nopac--;
}
goleft = 0;
this.play();
suddenup = 25;
su = 3;
jump = true;
}
}
}
}
Instance of Symbol 156 MovieClip "pacman11" in Frame 316
onClipEvent (load) {
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
}
onClipEvent (enterFrame) {
_x = (_x + goleft);
if ((this._currentframe == 34) && (_root.nopac > 0)) {
this.gotoAndStop(1);
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
}
if (_x > 580) {
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
this.pcman.gotoAndStop(random(4) + 1);
}
with (_root.player) {
if (this.pcman.hittest(_x, getBounds(_root).yMax, true)) {
if (_root.ftest == "yes") {
if (_root.nopac > 0) {
_root.nopac--;
}
goleft = 0;
this.play();
suddenup = 25;
su = 3;
jump = true;
}
}
}
}
Instance of Symbol 156 MovieClip "pacman12" in Frame 316
onClipEvent (load) {
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
}
onClipEvent (enterFrame) {
_x = (_x + goleft);
if ((this._currentframe == 34) && (_root.nopac > 0)) {
this.gotoAndStop(1);
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
}
if (_x > 580) {
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
this.pcman.gotoAndStop(random(4) + 1);
}
with (_root.player) {
if (this.pcman.hittest(_x, getBounds(_root).yMax, true)) {
if (_root.ftest == "yes") {
if (_root.nopac > 0) {
_root.nopac--;
}
goleft = 0;
this.play();
suddenup = 25;
su = 3;
jump = true;
}
}
}
}
Instance of Symbol 156 MovieClip "pacman13" in Frame 316
onClipEvent (load) {
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
}
onClipEvent (enterFrame) {
_x = (_x + goleft);
if ((this._currentframe == 34) && (_root.nopac > 0)) {
this.gotoAndStop(1);
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
}
if (_x > 580) {
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
this.pcman.gotoAndStop(random(4) + 1);
}
with (_root.player) {
if (this.pcman.hittest(_x, getBounds(_root).yMax, true)) {
if (_root.ftest == "yes") {
if (_root.nopac > 0) {
_root.nopac--;
}
goleft = 0;
this.play();
suddenup = 25;
su = 3;
jump = true;
}
}
}
}
Instance of Symbol 156 MovieClip "pacman14" in Frame 316
onClipEvent (load) {
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
}
onClipEvent (enterFrame) {
_x = (_x + goleft);
if ((this._currentframe == 34) && (_root.nopac > 0)) {
this.gotoAndStop(1);
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
}
if (_x > 580) {
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
this.pcman.gotoAndStop(random(4) + 1);
}
with (_root.player) {
if (this.pcman.hittest(_x, getBounds(_root).yMax, true)) {
if (_root.ftest == "yes") {
if (_root.nopac > 0) {
_root.nopac--;
}
goleft = 0;
this.play();
suddenup = 25;
su = 3;
jump = true;
}
}
}
}
Instance of Symbol 156 MovieClip "pacman16" in Frame 316
onClipEvent (load) {
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
}
onClipEvent (enterFrame) {
_x = (_x + goleft);
if ((this._currentframe == 34) && (_root.nopac > 0)) {
this.gotoAndStop(1);
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
}
if (_x > 580) {
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
this.pcman.gotoAndStop(random(4) + 1);
}
with (_root.player) {
if (this.pcman.hittest(_x, getBounds(_root).yMax, true)) {
if (_root.ftest == "yes") {
if (_root.nopac > 0) {
_root.nopac--;
}
goleft = 0;
this.play();
suddenup = 25;
su = 3;
jump = true;
}
}
}
}
Instance of Symbol 156 MovieClip "pacman15" in Frame 316
onClipEvent (load) {
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
}
onClipEvent (enterFrame) {
_x = (_x + goleft);
if ((this._currentframe == 34) && (_root.nopac > 0)) {
this.gotoAndStop(1);
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
}
if (_x > 580) {
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
this.pcman.gotoAndStop(random(4) + 1);
}
with (_root.player) {
if (this.pcman.hittest(_x, getBounds(_root).yMax, true)) {
if (_root.ftest == "yes") {
if (_root.nopac > 0) {
_root.nopac--;
}
goleft = 0;
this.play();
suddenup = 25;
su = 3;
jump = true;
}
}
}
}
Instance of Symbol 156 MovieClip "pacman18" in Frame 316
onClipEvent (load) {
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
}
onClipEvent (enterFrame) {
_x = (_x + goleft);
if ((this._currentframe == 34) && (_root.nopac > 0)) {
this.gotoAndStop(1);
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
}
if (_x > 580) {
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
this.pcman.gotoAndStop(random(4) + 1);
}
with (_root.player) {
if (this.pcman.hittest(_x, getBounds(_root).yMax, true)) {
if (_root.ftest == "yes") {
if (_root.nopac > 0) {
_root.nopac--;
}
goleft = 0;
this.play();
suddenup = 25;
su = 3;
jump = true;
}
}
}
}
Instance of Symbol 156 MovieClip "pacman17" in Frame 316
onClipEvent (load) {
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
}
onClipEvent (enterFrame) {
_x = (_x + goleft);
if ((this._currentframe == 34) && (_root.nopac > 0)) {
this.gotoAndStop(1);
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
}
if (_x > 580) {
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
this.pcman.gotoAndStop(random(4) + 1);
}
with (_root.player) {
if (this.pcman.hittest(_x, getBounds(_root).yMax, true)) {
if (_root.ftest == "yes") {
if (_root.nopac > 0) {
_root.nopac--;
}
goleft = 0;
this.play();
suddenup = 25;
su = 3;
jump = true;
}
}
}
}
Instance of Symbol 173 MovieClip "player" in Frame 316
onClipEvent (load) {
}
onClipEvent (enterFrame) {
_root.test = _x;
if (key.isdown(32) && (!jump)) {
if ((_root.pactime > 0) && (_currentframe < 2)) {
jumpsound = new Sound();
jumpsound.attachSound("jumpsnd");
jumpsound.start();
suddenup = 25;
su = 3;
jump = true;
}
}
if (key.isdown(37)) {
if ((_root.pactime > 0) && (_currentframe < 2)) {
_x = (_x - 6);
rot = 15;
this.ball._rotation = this.ball._rotation - rot;
if (_x < 215.35) {
rot = 0;
_x = 215.35;
}
}
}
if (key.isdown(39)) {
if ((_root.pactime > 0) && (_currentframe < 2)) {
_x = (_x + 6);
rot = 15;
this.ball._rotation = this.ball._rotation + rot;
if (_x > 541.35) {
rot = 0;
_x = 541.35;
}
}
}
if (jump) {
if ((_root.pactime > 0) && (_currentframe < 2)) {
suddenup = suddenup - su;
_y = (_y - suddenup);
if (suddenup < -19) {
suddenup = -19;
}
_root.test = suddenup;
if (_root.test < 0) {
_root.ftest = "yes";
} else {
_root.ftest = "no";
}
if (_y > 508.2) {
_root.smoke._x = _x;
_root.smoke.play();
_y = 508.2;
jump = false;
_root.ftest = "no";
}
}
}
}
Instance of Symbol 187 MovieClip in Frame 316
onClipEvent (enterFrame) {
if (_root.nopac <= 0) {
this.stop();
_root.alldie.play();
}
if (_root.pactime <= 0) {
with (_root.player) {
jump = false;
_root.smoke._visible = false;
suddenup = 0;
su = 0;
gleft = 0;
gright = 0;
play();
}
}
}
Frame 317
stop();
Frame 318
stop();
_root.pactime = 40;
_root.nopac = 30;
Instance of Symbol 156 MovieClip "pacman3" in Frame 318
onClipEvent (load) {
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
}
onClipEvent (enterFrame) {
_x = (_x + goleft);
if ((this._currentframe == 34) && (_root.nopac > 0)) {
this.gotoAndStop(1);
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
}
if (_x > 580) {
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
this.pcman.gotoAndStop(random(4) + 1);
}
with (_root.player) {
if (this.pcman.hittest(_x, getBounds(_root).yMax, true)) {
if (_root.ftest == "yes") {
if (_root.nopac > 0) {
_root.nopac--;
}
goleft = 0;
this.play();
suddenup = 25;
su = 3;
jump = true;
}
}
}
}
Instance of Symbol 156 MovieClip "pacman2" in Frame 318
onClipEvent (load) {
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
}
onClipEvent (enterFrame) {
_x = (_x + goleft);
if ((this._currentframe == 34) && (_root.nopac > 0)) {
this.gotoAndStop(1);
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
}
if (_x > 580) {
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
this.pcman.gotoAndStop(random(4) + 1);
}
with (_root.player) {
if (this.pcman.hittest(_x, getBounds(_root).yMax, true)) {
if (_root.ftest == "yes") {
if (_root.nopac > 0) {
_root.nopac--;
}
goleft = 0;
this.play();
suddenup = 25;
su = 3;
jump = true;
}
}
}
}
Instance of Symbol 156 MovieClip "pacman4" in Frame 318
onClipEvent (load) {
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
}
onClipEvent (enterFrame) {
_x = (_x + goleft);
if ((this._currentframe == 34) && (_root.nopac > 0)) {
this.gotoAndStop(1);
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
}
if (_x > 580) {
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
this.pcman.gotoAndStop(random(4) + 1);
}
with (_root.player) {
if (this.pcman.hittest(_x, getBounds(_root).yMax, true)) {
if (_root.ftest == "yes") {
if (_root.nopac > 0) {
_root.nopac--;
}
goleft = 0;
this.play();
suddenup = 25;
su = 3;
jump = true;
}
}
}
}
Instance of Symbol 156 MovieClip "pacman5" in Frame 318
onClipEvent (load) {
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
}
onClipEvent (enterFrame) {
_x = (_x + goleft);
if ((this._currentframe == 34) && (_root.nopac > 0)) {
this.gotoAndStop(1);
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
}
if (_x > 580) {
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
this.pcman.gotoAndStop(random(4) + 1);
}
with (_root.player) {
if (this.pcman.hittest(_x, getBounds(_root).yMax, true)) {
if (_root.ftest == "yes") {
if (_root.nopac > 0) {
_root.nopac--;
}
goleft = 0;
this.play();
suddenup = 25;
su = 3;
jump = true;
}
}
}
}
Instance of Symbol 156 MovieClip "pacman6" in Frame 318
onClipEvent (load) {
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
}
onClipEvent (enterFrame) {
_x = (_x + goleft);
if ((this._currentframe == 34) && (_root.nopac > 0)) {
this.gotoAndStop(1);
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
}
if (_x > 580) {
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
this.pcman.gotoAndStop(random(4) + 1);
}
with (_root.player) {
if (this.pcman.hittest(_x, getBounds(_root).yMax, true)) {
if (_root.ftest == "yes") {
if (_root.nopac > 0) {
_root.nopac--;
}
goleft = 0;
this.play();
suddenup = 25;
su = 3;
jump = true;
}
}
}
}
Instance of Symbol 156 MovieClip "pacman1" in Frame 318
onClipEvent (load) {
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
}
onClipEvent (enterFrame) {
_x = (_x + goleft);
if ((this._currentframe == 34) && (_root.nopac > 0)) {
this.gotoAndStop(1);
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
}
if (_x > 580) {
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
this.pcman.gotoAndStop(random(4) + 1);
}
with (_root.player) {
if (this.pcman.hittest(_x, getBounds(_root).yMax, true)) {
if (_root.ftest == "yes") {
if (_root.nopac > 0) {
_root.nopac--;
}
goleft = 0;
this.play();
suddenup = 25;
su = 3;
jump = true;
}
}
}
}
Instance of Symbol 156 MovieClip "pacman7" in Frame 318
onClipEvent (load) {
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
}
onClipEvent (enterFrame) {
_x = (_x + goleft);
if ((this._currentframe == 34) && (_root.nopac > 0)) {
this.gotoAndStop(1);
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
}
if (_x > 580) {
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
this.pcman.gotoAndStop(random(4) + 1);
}
with (_root.player) {
if (this.pcman.hittest(_x, getBounds(_root).yMax, true)) {
if (_root.ftest == "yes") {
if (_root.nopac > 0) {
_root.nopac--;
}
goleft = 0;
this.play();
suddenup = 25;
su = 3;
jump = true;
}
}
}
}
Instance of Symbol 156 MovieClip "pacman9" in Frame 318
onClipEvent (load) {
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
}
onClipEvent (enterFrame) {
_x = (_x + goleft);
if ((this._currentframe == 34) && (_root.nopac > 0)) {
this.gotoAndStop(1);
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
}
if (_x > 580) {
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
this.pcman.gotoAndStop(random(4) + 1);
}
with (_root.player) {
if (this.pcman.hittest(_x, getBounds(_root).yMax, true)) {
if (_root.ftest == "yes") {
if (_root.nopac > 0) {
_root.nopac--;
}
goleft = 0;
this.play();
suddenup = 25;
su = 3;
jump = true;
}
}
}
}
Instance of Symbol 156 MovieClip "pacman8" in Frame 318
onClipEvent (load) {
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
}
onClipEvent (enterFrame) {
_x = (_x + goleft);
if ((this._currentframe == 34) && (_root.nopac > 0)) {
this.gotoAndStop(1);
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
}
if (_x > 580) {
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
this.pcman.gotoAndStop(random(4) + 1);
}
with (_root.player) {
if (this.pcman.hittest(_x, getBounds(_root).yMax, true)) {
if (_root.ftest == "yes") {
if (_root.nopac > 0) {
_root.nopac--;
}
goleft = 0;
this.play();
suddenup = 25;
su = 3;
jump = true;
}
}
}
}
Instance of Symbol 156 MovieClip "pacman10" in Frame 318
onClipEvent (load) {
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
}
onClipEvent (enterFrame) {
_x = (_x + goleft);
if ((this._currentframe == 34) && (_root.nopac > 0)) {
this.gotoAndStop(1);
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
}
if (_x > 580) {
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
this.pcman.gotoAndStop(random(4) + 1);
}
with (_root.player) {
if (this.pcman.hittest(_x, getBounds(_root).yMax, true)) {
if (_root.ftest == "yes") {
if (_root.nopac > 0) {
_root.nopac--;
}
goleft = 0;
this.play();
suddenup = 25;
su = 3;
jump = true;
}
}
}
}
Instance of Symbol 156 MovieClip "pacman11" in Frame 318
onClipEvent (load) {
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
}
onClipEvent (enterFrame) {
_x = (_x + goleft);
if ((this._currentframe == 34) && (_root.nopac > 0)) {
this.gotoAndStop(1);
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
}
if (_x > 580) {
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
this.pcman.gotoAndStop(random(4) + 1);
}
with (_root.player) {
if (this.pcman.hittest(_x, getBounds(_root).yMax, true)) {
if (_root.ftest == "yes") {
if (_root.nopac > 0) {
_root.nopac--;
}
goleft = 0;
this.play();
suddenup = 25;
su = 3;
jump = true;
}
}
}
}
Instance of Symbol 156 MovieClip "pacman12" in Frame 318
onClipEvent (load) {
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
}
onClipEvent (enterFrame) {
_x = (_x + goleft);
if ((this._currentframe == 34) && (_root.nopac > 0)) {
this.gotoAndStop(1);
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
}
if (_x > 580) {
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
this.pcman.gotoAndStop(random(4) + 1);
}
with (_root.player) {
if (this.pcman.hittest(_x, getBounds(_root).yMax, true)) {
if (_root.ftest == "yes") {
if (_root.nopac > 0) {
_root.nopac--;
}
goleft = 0;
this.play();
suddenup = 25;
su = 3;
jump = true;
}
}
}
}
Instance of Symbol 156 MovieClip "pacman13" in Frame 318
onClipEvent (load) {
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
}
onClipEvent (enterFrame) {
_x = (_x + goleft);
if ((this._currentframe == 34) && (_root.nopac > 0)) {
this.gotoAndStop(1);
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
}
if (_x > 580) {
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
this.pcman.gotoAndStop(random(4) + 1);
}
with (_root.player) {
if (this.pcman.hittest(_x, getBounds(_root).yMax, true)) {
if (_root.ftest == "yes") {
if (_root.nopac > 0) {
_root.nopac--;
}
goleft = 0;
this.play();
suddenup = 25;
su = 3;
jump = true;
}
}
}
}
Instance of Symbol 156 MovieClip "pacman14" in Frame 318
onClipEvent (load) {
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
}
onClipEvent (enterFrame) {
_x = (_x + goleft);
if ((this._currentframe == 34) && (_root.nopac > 0)) {
this.gotoAndStop(1);
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
}
if (_x > 580) {
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
this.pcman.gotoAndStop(random(4) + 1);
}
with (_root.player) {
if (this.pcman.hittest(_x, getBounds(_root).yMax, true)) {
if (_root.ftest == "yes") {
if (_root.nopac > 0) {
_root.nopac--;
}
goleft = 0;
this.play();
suddenup = 25;
su = 3;
jump = true;
}
}
}
}
Instance of Symbol 156 MovieClip "pacman16" in Frame 318
onClipEvent (load) {
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
}
onClipEvent (enterFrame) {
_x = (_x + goleft);
if ((this._currentframe == 34) && (_root.nopac > 0)) {
this.gotoAndStop(1);
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
}
if (_x > 580) {
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
this.pcman.gotoAndStop(random(4) + 1);
}
with (_root.player) {
if (this.pcman.hittest(_x, getBounds(_root).yMax, true)) {
if (_root.ftest == "yes") {
if (_root.nopac > 0) {
_root.nopac--;
}
goleft = 0;
this.play();
suddenup = 25;
su = 3;
jump = true;
}
}
}
}
Instance of Symbol 156 MovieClip "pacman15" in Frame 318
onClipEvent (load) {
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
}
onClipEvent (enterFrame) {
_x = (_x + goleft);
if ((this._currentframe == 34) && (_root.nopac > 0)) {
this.gotoAndStop(1);
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
}
if (_x > 580) {
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
this.pcman.gotoAndStop(random(4) + 1);
}
with (_root.player) {
if (this.pcman.hittest(_x, getBounds(_root).yMax, true)) {
if (_root.ftest == "yes") {
if (_root.nopac > 0) {
_root.nopac--;
}
goleft = 0;
this.play();
suddenup = 25;
su = 3;
jump = true;
}
}
}
}
Instance of Symbol 156 MovieClip "pacman18" in Frame 318
onClipEvent (load) {
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
}
onClipEvent (enterFrame) {
_x = (_x + goleft);
if ((this._currentframe == 34) && (_root.nopac > 0)) {
this.gotoAndStop(1);
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
}
if (_x > 580) {
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
this.pcman.gotoAndStop(random(4) + 1);
}
with (_root.player) {
if (this.pcman.hittest(_x, getBounds(_root).yMax, true)) {
if (_root.ftest == "yes") {
if (_root.nopac > 0) {
_root.nopac--;
}
goleft = 0;
this.play();
suddenup = 25;
su = 3;
jump = true;
}
}
}
}
Instance of Symbol 156 MovieClip "pacman17" in Frame 318
onClipEvent (load) {
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
}
onClipEvent (enterFrame) {
_x = (_x + goleft);
if ((this._currentframe == 34) && (_root.nopac > 0)) {
this.gotoAndStop(1);
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
}
if (_x > 580) {
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
this.pcman.gotoAndStop(random(4) + 1);
}
with (_root.player) {
if (this.pcman.hittest(_x, getBounds(_root).yMax, true)) {
if (_root.ftest == "yes") {
if (_root.nopac > 0) {
_root.nopac--;
}
goleft = 0;
this.play();
suddenup = 25;
su = 3;
jump = true;
}
}
}
}
Instance of Symbol 173 MovieClip "player" in Frame 318
onClipEvent (load) {
}
onClipEvent (enterFrame) {
_root.test = _x;
if (key.isdown(32) && (!jump)) {
if ((_root.pactime > 0) && (_currentframe < 2)) {
jumpsound = new Sound();
jumpsound.attachSound("jumpsnd");
jumpsound.start();
suddenup = 25;
su = 3;
jump = true;
}
}
if (key.isdown(37)) {
if ((_root.pactime > 0) && (_currentframe < 2)) {
_x = (_x - 6);
rot = 15;
this.ball._rotation = this.ball._rotation - rot;
if (_x < 215.35) {
rot = 0;
_x = 215.35;
}
}
}
if (key.isdown(39)) {
if ((_root.pactime > 0) && (_currentframe < 2)) {
_x = (_x + 6);
rot = 15;
this.ball._rotation = this.ball._rotation + rot;
if (_x > 541.35) {
rot = 0;
_x = 541.35;
}
}
}
if (jump) {
if ((_root.pactime > 0) && (_currentframe < 2)) {
suddenup = suddenup - su;
_y = (_y - suddenup);
if (suddenup < -19) {
suddenup = -19;
}
_root.test = suddenup;
if (_root.test < 0) {
_root.ftest = "yes";
} else {
_root.ftest = "no";
}
if (_y > 508.2) {
_root.smoke._x = _x;
_root.smoke.play();
_y = 508.2;
jump = false;
_root.ftest = "no";
}
}
}
}
Instance of Symbol 187 MovieClip in Frame 318
onClipEvent (enterFrame) {
if (_root.nopac <= 0) {
this.stop();
_root.alldie.play();
}
if (_root.pactime <= 0) {
with (_root.player) {
jump = false;
_root.smoke._visible = false;
suddenup = 0;
su = 0;
gleft = 0;
gright = 0;
play();
}
}
}
Frame 319
stop();
Frame 320
stop();
_root.pactime = 50;
_root.nopac = 20;
Instance of Symbol 156 MovieClip "pacman3" in Frame 320
onClipEvent (load) {
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
}
onClipEvent (enterFrame) {
_x = (_x + goleft);
if ((this._currentframe == 34) && (_root.nopac > 0)) {
this.gotoAndStop(1);
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
}
if (_x > 580) {
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
this.pcman.gotoAndStop(random(4) + 1);
}
with (_root.player) {
if (this.pcman.hittest(_x, getBounds(_root).yMax, true)) {
if (_root.ftest == "yes") {
if ((this.pcman._currentframe == 4) && (_root.nopac > 0)) {
_root.nopac--;
}
goleft = 0;
this.play();
suddenup = 25;
su = 3;
jump = true;
}
}
}
}
Instance of Symbol 156 MovieClip "pacman2" in Frame 320
onClipEvent (load) {
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
}
onClipEvent (enterFrame) {
_x = (_x + goleft);
if ((this._currentframe == 34) && (_root.nopac > 0)) {
this.gotoAndStop(1);
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
}
if (_x > 580) {
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
this.pcman.gotoAndStop(random(4) + 1);
}
with (_root.player) {
if (this.pcman.hittest(_x, getBounds(_root).yMax, true)) {
if (_root.ftest == "yes") {
if ((this.pcman._currentframe == 4) && (_root.nopac > 0)) {
_root.nopac--;
}
goleft = 0;
this.play();
suddenup = 25;
su = 3;
jump = true;
}
}
}
}
Instance of Symbol 156 MovieClip "pacman1" in Frame 320
onClipEvent (load) {
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
}
onClipEvent (enterFrame) {
_x = (_x + goleft);
if ((this._currentframe == 34) && (_root.nopac > 0)) {
this.gotoAndStop(1);
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
}
if (_x > 580) {
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
this.pcman.gotoAndStop(random(4) + 1);
}
with (_root.player) {
if (this.pcman.hittest(_x, getBounds(_root).yMax, true)) {
if (_root.ftest == "yes") {
if ((this.pcman._currentframe == 4) && (_root.nopac > 0)) {
_root.nopac--;
}
goleft = 0;
this.play();
suddenup = 25;
su = 3;
jump = true;
}
}
}
}
Instance of Symbol 156 MovieClip "pacman4" in Frame 320
onClipEvent (load) {
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
}
onClipEvent (enterFrame) {
_x = (_x + goleft);
if ((this._currentframe == 34) && (_root.nopac > 0)) {
this.gotoAndStop(1);
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
}
if (_x > 580) {
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
this.pcman.gotoAndStop(random(4) + 1);
}
with (_root.player) {
if (this.pcman.hittest(_x, getBounds(_root).yMax, true)) {
if (_root.ftest == "yes") {
if ((this.pcman._currentframe == 4) && (_root.nopac > 0)) {
_root.nopac--;
}
goleft = 0;
this.play();
suddenup = 25;
su = 3;
jump = true;
}
}
}
}
Instance of Symbol 156 MovieClip "pacman5" in Frame 320
onClipEvent (load) {
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
}
onClipEvent (enterFrame) {
_x = (_x + goleft);
if ((this._currentframe == 34) && (_root.nopac > 0)) {
this.gotoAndStop(1);
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
}
if (_x > 580) {
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
this.pcman.gotoAndStop(random(4) + 1);
}
with (_root.player) {
if (this.pcman.hittest(_x, getBounds(_root).yMax, true)) {
if (_root.ftest == "yes") {
if ((this.pcman._currentframe == 4) && (_root.nopac > 0)) {
_root.nopac--;
}
goleft = 0;
this.play();
suddenup = 25;
su = 3;
jump = true;
}
}
}
}
Instance of Symbol 156 MovieClip "pacman8" in Frame 320
onClipEvent (load) {
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
}
onClipEvent (enterFrame) {
_x = (_x + goleft);
if ((this._currentframe == 34) && (_root.nopac > 0)) {
this.gotoAndStop(1);
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
}
if (_x > 580) {
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
this.pcman.gotoAndStop(random(4) + 1);
}
with (_root.player) {
if (this.pcman.hittest(_x, getBounds(_root).yMax, true)) {
if (_root.ftest == "yes") {
if ((this.pcman._currentframe == 4) && (_root.nopac > 0)) {
_root.nopac--;
}
goleft = 0;
this.play();
suddenup = 25;
su = 3;
jump = true;
}
}
}
}
Instance of Symbol 156 MovieClip "pacman7" in Frame 320
onClipEvent (load) {
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
}
onClipEvent (enterFrame) {
_x = (_x + goleft);
if ((this._currentframe == 34) && (_root.nopac > 0)) {
this.gotoAndStop(1);
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
}
if (_x > 580) {
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
this.pcman.gotoAndStop(random(4) + 1);
}
with (_root.player) {
if (this.pcman.hittest(_x, getBounds(_root).yMax, true)) {
if (_root.ftest == "yes") {
if ((this.pcman._currentframe == 4) && (_root.nopac > 0)) {
_root.nopac--;
}
goleft = 0;
this.play();
suddenup = 25;
su = 3;
jump = true;
}
}
}
}
Instance of Symbol 156 MovieClip "pacman6" in Frame 320
onClipEvent (load) {
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
}
onClipEvent (enterFrame) {
_x = (_x + goleft);
if ((this._currentframe == 34) && (_root.nopac > 0)) {
this.gotoAndStop(1);
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
}
if (_x > 580) {
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
this.pcman.gotoAndStop(random(4) + 1);
}
with (_root.player) {
if (this.pcman.hittest(_x, getBounds(_root).yMax, true)) {
if (_root.ftest == "yes") {
if ((this.pcman._currentframe == 4) && (_root.nopac > 0)) {
_root.nopac--;
}
goleft = 0;
this.play();
suddenup = 25;
su = 3;
jump = true;
}
}
}
}
Instance of Symbol 156 MovieClip "pacman9" in Frame 320
onClipEvent (load) {
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
}
onClipEvent (enterFrame) {
_x = (_x + goleft);
if ((this._currentframe == 34) && (_root.nopac > 0)) {
this.gotoAndStop(1);
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
}
if (_x > 580) {
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
this.pcman.gotoAndStop(random(4) + 1);
}
with (_root.player) {
if (this.pcman.hittest(_x, getBounds(_root).yMax, true)) {
if (_root.ftest == "yes") {
if ((this.pcman._currentframe == 4) && (_root.nopac > 0)) {
_root.nopac--;
}
goleft = 0;
this.play();
suddenup = 25;
su = 3;
jump = true;
}
}
}
}
Instance of Symbol 156 MovieClip "pacman10" in Frame 320
onClipEvent (load) {
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
}
onClipEvent (enterFrame) {
_x = (_x + goleft);
if ((this._currentframe == 34) && (_root.nopac > 0)) {
this.gotoAndStop(1);
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
}
if (_x > 580) {
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
this.pcman.gotoAndStop(random(4) + 1);
}
with (_root.player) {
if (this.pcman.hittest(_x, getBounds(_root).yMax, true)) {
if (_root.ftest == "yes") {
if ((this.pcman._currentframe == 4) && (_root.nopac > 0)) {
_root.nopac--;
}
goleft = 0;
this.play();
suddenup = 25;
su = 3;
jump = true;
}
}
}
}
Instance of Symbol 156 MovieClip "pacman11" in Frame 320
onClipEvent (load) {
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
}
onClipEvent (enterFrame) {
_x = (_x + goleft);
if ((this._currentframe == 34) && (_root.nopac > 0)) {
this.gotoAndStop(1);
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
}
if (_x > 580) {
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
this.pcman.gotoAndStop(random(4) + 1);
}
with (_root.player) {
if (this.pcman.hittest(_x, getBounds(_root).yMax, true)) {
if (_root.ftest == "yes") {
if ((this.pcman._currentframe == 4) && (_root.nopac > 0)) {
_root.nopac--;
}
goleft = 0;
this.play();
suddenup = 25;
su = 3;
jump = true;
}
}
}
}
Instance of Symbol 156 MovieClip "pacman14" in Frame 320
onClipEvent (load) {
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
}
onClipEvent (enterFrame) {
_x = (_x + goleft);
if ((this._currentframe == 34) && (_root.nopac > 0)) {
this.gotoAndStop(1);
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
}
if (_x > 580) {
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
this.pcman.gotoAndStop(random(4) + 1);
}
with (_root.player) {
if (this.pcman.hittest(_x, getBounds(_root).yMax, true)) {
if (_root.ftest == "yes") {
if ((this.pcman._currentframe == 4) && (_root.nopac > 0)) {
_root.nopac--;
}
goleft = 0;
this.play();
suddenup = 25;
su = 3;
jump = true;
}
}
}
}
Instance of Symbol 156 MovieClip "pacman13" in Frame 320
onClipEvent (load) {
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
}
onClipEvent (enterFrame) {
_x = (_x + goleft);
if ((this._currentframe == 34) && (_root.nopac > 0)) {
this.gotoAndStop(1);
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
}
if (_x > 580) {
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
this.pcman.gotoAndStop(random(4) + 1);
}
with (_root.player) {
if (this.pcman.hittest(_x, getBounds(_root).yMax, true)) {
if (_root.ftest == "yes") {
if ((this.pcman._currentframe == 4) && (_root.nopac > 0)) {
_root.nopac--;
}
goleft = 0;
this.play();
suddenup = 25;
su = 3;
jump = true;
}
}
}
}
Instance of Symbol 156 MovieClip "pacman12" in Frame 320
onClipEvent (load) {
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
}
onClipEvent (enterFrame) {
_x = (_x + goleft);
if ((this._currentframe == 34) && (_root.nopac > 0)) {
this.gotoAndStop(1);
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
}
if (_x > 580) {
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
this.pcman.gotoAndStop(random(4) + 1);
}
with (_root.player) {
if (this.pcman.hittest(_x, getBounds(_root).yMax, true)) {
if (_root.ftest == "yes") {
if ((this.pcman._currentframe == 4) && (_root.nopac > 0)) {
_root.nopac--;
}
goleft = 0;
this.play();
suddenup = 25;
su = 3;
jump = true;
}
}
}
}
Instance of Symbol 156 MovieClip "pacman15" in Frame 320
onClipEvent (load) {
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
}
onClipEvent (enterFrame) {
_x = (_x + goleft);
if ((this._currentframe == 34) && (_root.nopac > 0)) {
this.gotoAndStop(1);
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
}
if (_x > 580) {
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
this.pcman.gotoAndStop(random(4) + 1);
}
with (_root.player) {
if (this.pcman.hittest(_x, getBounds(_root).yMax, true)) {
if (_root.ftest == "yes") {
if ((this.pcman._currentframe == 4) && (_root.nopac > 0)) {
_root.nopac--;
}
goleft = 0;
this.play();
suddenup = 25;
su = 3;
jump = true;
}
}
}
}
Instance of Symbol 156 MovieClip "pacman16" in Frame 320
onClipEvent (load) {
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
}
onClipEvent (enterFrame) {
_x = (_x + goleft);
if ((this._currentframe == 34) && (_root.nopac > 0)) {
this.gotoAndStop(1);
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
}
if (_x > 580) {
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
this.pcman.gotoAndStop(random(4) + 1);
}
with (_root.player) {
if (this.pcman.hittest(_x, getBounds(_root).yMax, true)) {
if (_root.ftest == "yes") {
if ((this.pcman._currentframe == 4) && (_root.nopac > 0)) {
_root.nopac--;
}
goleft = 0;
this.play();
suddenup = 25;
su = 3;
jump = true;
}
}
}
}
Instance of Symbol 156 MovieClip "pacman17" in Frame 320
onClipEvent (load) {
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
}
onClipEvent (enterFrame) {
_x = (_x + goleft);
if ((this._currentframe == 34) && (_root.nopac > 0)) {
this.gotoAndStop(1);
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
}
if (_x > 580) {
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
this.pcman.gotoAndStop(random(4) + 1);
}
with (_root.player) {
if (this.pcman.hittest(_x, getBounds(_root).yMax, true)) {
if (_root.ftest == "yes") {
if ((this.pcman._currentframe == 4) && (_root.nopac > 0)) {
_root.nopac--;
}
goleft = 0;
this.play();
suddenup = 25;
su = 3;
jump = true;
}
}
}
}
Instance of Symbol 156 MovieClip "pacman18" in Frame 320
onClipEvent (load) {
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
}
onClipEvent (enterFrame) {
_x = (_x + goleft);
if ((this._currentframe == 34) && (_root.nopac > 0)) {
this.gotoAndStop(1);
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
}
if (_x > 580) {
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
this.pcman.gotoAndStop(random(4) + 1);
}
with (_root.player) {
if (this.pcman.hittest(_x, getBounds(_root).yMax, true)) {
if (_root.ftest == "yes") {
if ((this.pcman._currentframe == 4) && (_root.nopac > 0)) {
_root.nopac--;
}
goleft = 0;
this.play();
suddenup = 25;
su = 3;
jump = true;
}
}
}
}
Instance of Symbol 173 MovieClip "player" in Frame 320
onClipEvent (load) {
}
onClipEvent (enterFrame) {
_root.test = _x;
if (key.isdown(32) && (!jump)) {
if ((_root.pactime > 0) && (_currentframe < 2)) {
jumpsound = new Sound();
jumpsound.attachSound("jumpsnd");
jumpsound.start();
suddenup = 25;
su = 3;
jump = true;
}
}
if (key.isdown(37)) {
if ((_root.pactime > 0) && (_currentframe < 2)) {
_x = (_x - 6);
rot = 15;
this.ball._rotation = this.ball._rotation - rot;
if (_x < 215.35) {
rot = 0;
_x = 215.35;
}
}
}
if (key.isdown(39)) {
if ((_root.pactime > 0) && (_currentframe < 2)) {
_x = (_x + 6);
rot = 15;
this.ball._rotation = this.ball._rotation + rot;
if (_x > 541.35) {
rot = 0;
_x = 541.35;
}
}
}
if (jump) {
if ((_root.pactime > 0) && (_currentframe < 2)) {
suddenup = suddenup - su;
_y = (_y - suddenup);
if (suddenup < -19) {
suddenup = -19;
}
_root.test = suddenup;
if (_root.test < 0) {
_root.ftest = "yes";
} else {
_root.ftest = "no";
}
if (_y > 508.2) {
_root.smoke._x = _x;
_root.smoke.play();
_y = 508.2;
jump = false;
_root.ftest = "no";
}
}
}
}
Instance of Symbol 187 MovieClip in Frame 320
onClipEvent (enterFrame) {
if (_root.nopac <= 0) {
this.stop();
_root.alldie.play();
}
if (_root.pactime <= 0) {
with (_root.player) {
jump = false;
_root.smoke._visible = false;
suddenup = 0;
su = 0;
gleft = 0;
gright = 0;
play();
}
}
}
Frame 321
stop();
Frame 322
stop();
_root.pactime = 48;
_root.nopac = 20;
Instance of Symbol 156 MovieClip "pacman1" in Frame 322
onClipEvent (load) {
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
}
onClipEvent (enterFrame) {
_x = (_x + goleft);
if ((this._currentframe == 34) && (_root.nopac > 0)) {
this.gotoAndStop(1);
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
}
if (_x > 580) {
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
this.pcman.gotoAndStop(random(4) + 1);
}
with (_root.player) {
if (this.pcman.hittest(_x, getBounds(_root).yMax, true)) {
if (_root.ftest == "yes") {
if ((this.pcman._currentframe == 3) && (_root.nopac > 0)) {
_root.nopac--;
}
goleft = 0;
this.play();
suddenup = 25;
su = 3;
jump = true;
}
}
}
}
Instance of Symbol 156 MovieClip "pacman2" in Frame 322
onClipEvent (load) {
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
}
onClipEvent (enterFrame) {
_x = (_x + goleft);
if ((this._currentframe == 34) && (_root.nopac > 0)) {
this.gotoAndStop(1);
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
}
if (_x > 580) {
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
this.pcman.gotoAndStop(random(4) + 1);
}
with (_root.player) {
if (this.pcman.hittest(_x, getBounds(_root).yMax, true)) {
if (_root.ftest == "yes") {
if ((this.pcman._currentframe == 3) && (_root.nopac > 0)) {
_root.nopac--;
}
goleft = 0;
this.play();
suddenup = 25;
su = 3;
jump = true;
}
}
}
}
Instance of Symbol 156 MovieClip "pacman3" in Frame 322
onClipEvent (load) {
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
}
onClipEvent (enterFrame) {
_x = (_x + goleft);
if ((this._currentframe == 34) && (_root.nopac > 0)) {
this.gotoAndStop(1);
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
}
if (_x > 580) {
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
this.pcman.gotoAndStop(random(4) + 1);
}
with (_root.player) {
if (this.pcman.hittest(_x, getBounds(_root).yMax, true)) {
if (_root.ftest == "yes") {
if ((this.pcman._currentframe == 3) && (_root.nopac > 0)) {
_root.nopac--;
}
goleft = 0;
this.play();
suddenup = 25;
su = 3;
jump = true;
}
}
}
}
Instance of Symbol 156 MovieClip "pacman4" in Frame 322
onClipEvent (load) {
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
}
onClipEvent (enterFrame) {
_x = (_x + goleft);
if ((this._currentframe == 34) && (_root.nopac > 0)) {
this.gotoAndStop(1);
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
}
if (_x > 580) {
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
this.pcman.gotoAndStop(random(4) + 1);
}
with (_root.player) {
if (this.pcman.hittest(_x, getBounds(_root).yMax, true)) {
if (_root.ftest == "yes") {
if ((this.pcman._currentframe == 3) && (_root.nopac > 0)) {
_root.nopac--;
}
goleft = 0;
this.play();
suddenup = 25;
su = 3;
jump = true;
}
}
}
}
Instance of Symbol 156 MovieClip "pacman5" in Frame 322
onClipEvent (load) {
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
}
onClipEvent (enterFrame) {
_x = (_x + goleft);
if ((this._currentframe == 34) && (_root.nopac > 0)) {
this.gotoAndStop(1);
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
}
if (_x > 580) {
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
this.pcman.gotoAndStop(random(4) + 1);
}
with (_root.player) {
if (this.pcman.hittest(_x, getBounds(_root).yMax, true)) {
if (_root.ftest == "yes") {
if ((this.pcman._currentframe == 3) && (_root.nopac > 0)) {
_root.nopac--;
}
goleft = 0;
this.play();
suddenup = 25;
su = 3;
jump = true;
}
}
}
}
Instance of Symbol 156 MovieClip "pacman6" in Frame 322
onClipEvent (load) {
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
}
onClipEvent (enterFrame) {
_x = (_x + goleft);
if ((this._currentframe == 34) && (_root.nopac > 0)) {
this.gotoAndStop(1);
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
}
if (_x > 580) {
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
this.pcman.gotoAndStop(random(4) + 1);
}
with (_root.player) {
if (this.pcman.hittest(_x, getBounds(_root).yMax, true)) {
if (_root.ftest == "yes") {
if ((this.pcman._currentframe == 3) && (_root.nopac > 0)) {
_root.nopac--;
}
goleft = 0;
this.play();
suddenup = 25;
su = 3;
jump = true;
}
}
}
}
Instance of Symbol 156 MovieClip "pacman7" in Frame 322
onClipEvent (load) {
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
}
onClipEvent (enterFrame) {
_x = (_x + goleft);
if ((this._currentframe == 34) && (_root.nopac > 0)) {
this.gotoAndStop(1);
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
}
if (_x > 580) {
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
this.pcman.gotoAndStop(random(4) + 1);
}
with (_root.player) {
if (this.pcman.hittest(_x, getBounds(_root).yMax, true)) {
if (_root.ftest == "yes") {
if ((this.pcman._currentframe == 3) && (_root.nopac > 0)) {
_root.nopac--;
}
goleft = 0;
this.play();
suddenup = 25;
su = 3;
jump = true;
}
}
}
}
Instance of Symbol 156 MovieClip "pacman8" in Frame 322
onClipEvent (load) {
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
}
onClipEvent (enterFrame) {
_x = (_x + goleft);
if ((this._currentframe == 34) && (_root.nopac > 0)) {
this.gotoAndStop(1);
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
}
if (_x > 580) {
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
this.pcman.gotoAndStop(random(4) + 1);
}
with (_root.player) {
if (this.pcman.hittest(_x, getBounds(_root).yMax, true)) {
if (_root.ftest == "yes") {
if ((this.pcman._currentframe == 3) && (_root.nopac > 0)) {
_root.nopac--;
}
goleft = 0;
this.play();
suddenup = 25;
su = 3;
jump = true;
}
}
}
}
Instance of Symbol 156 MovieClip "pacman9" in Frame 322
onClipEvent (load) {
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
}
onClipEvent (enterFrame) {
_x = (_x + goleft);
if ((this._currentframe == 34) && (_root.nopac > 0)) {
this.gotoAndStop(1);
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
}
if (_x > 580) {
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
this.pcman.gotoAndStop(random(4) + 1);
}
with (_root.player) {
if (this.pcman.hittest(_x, getBounds(_root).yMax, true)) {
if (_root.ftest == "yes") {
if ((this.pcman._currentframe == 3) && (_root.nopac > 0)) {
_root.nopac--;
}
goleft = 0;
this.play();
suddenup = 25;
su = 3;
jump = true;
}
}
}
}
Instance of Symbol 156 MovieClip "pacman10" in Frame 322
onClipEvent (load) {
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
}
onClipEvent (enterFrame) {
_x = (_x + goleft);
if ((this._currentframe == 34) && (_root.nopac > 0)) {
this.gotoAndStop(1);
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
}
if (_x > 580) {
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
this.pcman.gotoAndStop(random(4) + 1);
}
with (_root.player) {
if (this.pcman.hittest(_x, getBounds(_root).yMax, true)) {
if (_root.ftest == "yes") {
if ((this.pcman._currentframe == 3) && (_root.nopac > 0)) {
_root.nopac--;
}
goleft = 0;
this.play();
suddenup = 25;
su = 3;
jump = true;
}
}
}
}
Instance of Symbol 156 MovieClip "pacman11" in Frame 322
onClipEvent (load) {
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
}
onClipEvent (enterFrame) {
_x = (_x + goleft);
if ((this._currentframe == 34) && (_root.nopac > 0)) {
this.gotoAndStop(1);
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
}
if (_x > 580) {
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
this.pcman.gotoAndStop(random(4) + 1);
}
with (_root.player) {
if (this.pcman.hittest(_x, getBounds(_root).yMax, true)) {
if (_root.ftest == "yes") {
if ((this.pcman._currentframe == 3) && (_root.nopac > 0)) {
_root.nopac--;
}
goleft = 0;
this.play();
suddenup = 25;
su = 3;
jump = true;
}
}
}
}
Instance of Symbol 156 MovieClip "pacman12" in Frame 322
onClipEvent (load) {
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
}
onClipEvent (enterFrame) {
_x = (_x + goleft);
if ((this._currentframe == 34) && (_root.nopac > 0)) {
this.gotoAndStop(1);
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
}
if (_x > 580) {
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
this.pcman.gotoAndStop(random(4) + 1);
}
with (_root.player) {
if (this.pcman.hittest(_x, getBounds(_root).yMax, true)) {
if (_root.ftest == "yes") {
if ((this.pcman._currentframe == 3) && (_root.nopac > 0)) {
_root.nopac--;
}
goleft = 0;
this.play();
suddenup = 25;
su = 3;
jump = true;
}
}
}
}
Instance of Symbol 156 MovieClip "pacman13" in Frame 322
onClipEvent (load) {
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
}
onClipEvent (enterFrame) {
_x = (_x + goleft);
if ((this._currentframe == 34) && (_root.nopac > 0)) {
this.gotoAndStop(1);
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
}
if (_x > 580) {
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
this.pcman.gotoAndStop(random(4) + 1);
}
with (_root.player) {
if (this.pcman.hittest(_x, getBounds(_root).yMax, true)) {
if (_root.ftest == "yes") {
if ((this.pcman._currentframe == 3) && (_root.nopac > 0)) {
_root.nopac--;
}
goleft = 0;
this.play();
suddenup = 25;
su = 3;
jump = true;
}
}
}
}
Instance of Symbol 156 MovieClip "pacman14" in Frame 322
onClipEvent (load) {
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
}
onClipEvent (enterFrame) {
_x = (_x + goleft);
if ((this._currentframe == 34) && (_root.nopac > 0)) {
this.gotoAndStop(1);
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
}
if (_x > 580) {
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
this.pcman.gotoAndStop(random(4) + 1);
}
with (_root.player) {
if (this.pcman.hittest(_x, getBounds(_root).yMax, true)) {
if (_root.ftest == "yes") {
if ((this.pcman._currentframe == 3) && (_root.nopac > 0)) {
_root.nopac--;
}
goleft = 0;
this.play();
suddenup = 25;
su = 3;
jump = true;
}
}
}
}
Instance of Symbol 156 MovieClip "pacman15" in Frame 322
onClipEvent (load) {
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
}
onClipEvent (enterFrame) {
_x = (_x + goleft);
if ((this._currentframe == 34) && (_root.nopac > 0)) {
this.gotoAndStop(1);
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
}
if (_x > 580) {
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
this.pcman.gotoAndStop(random(4) + 1);
}
with (_root.player) {
if (this.pcman.hittest(_x, getBounds(_root).yMax, true)) {
if (_root.ftest == "yes") {
if ((this.pcman._currentframe == 3) && (_root.nopac > 0)) {
_root.nopac--;
}
goleft = 0;
this.play();
suddenup = 25;
su = 3;
jump = true;
}
}
}
}
Instance of Symbol 156 MovieClip "pacman16" in Frame 322
onClipEvent (load) {
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
}
onClipEvent (enterFrame) {
_x = (_x + goleft);
if ((this._currentframe == 34) && (_root.nopac > 0)) {
this.gotoAndStop(1);
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
}
if (_x > 580) {
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
this.pcman.gotoAndStop(random(4) + 1);
}
with (_root.player) {
if (this.pcman.hittest(_x, getBounds(_root).yMax, true)) {
if (_root.ftest == "yes") {
if ((this.pcman._currentframe == 3) && (_root.nopac > 0)) {
_root.nopac--;
}
goleft = 0;
this.play();
suddenup = 25;
su = 3;
jump = true;
}
}
}
}
Instance of Symbol 156 MovieClip "pacman17" in Frame 322
onClipEvent (load) {
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
}
onClipEvent (enterFrame) {
_x = (_x + goleft);
if ((this._currentframe == 34) && (_root.nopac > 0)) {
this.gotoAndStop(1);
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
}
if (_x > 580) {
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
this.pcman.gotoAndStop(random(4) + 1);
}
with (_root.player) {
if (this.pcman.hittest(_x, getBounds(_root).yMax, true)) {
if (_root.ftest == "yes") {
if ((this.pcman._currentframe == 3) && (_root.nopac > 0)) {
_root.nopac--;
}
goleft = 0;
this.play();
suddenup = 25;
su = 3;
jump = true;
}
}
}
}
Instance of Symbol 156 MovieClip "pacman18" in Frame 322
onClipEvent (load) {
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
}
onClipEvent (enterFrame) {
_x = (_x + goleft);
if ((this._currentframe == 34) && (_root.nopac > 0)) {
this.gotoAndStop(1);
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
}
if (_x > 580) {
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
this.pcman.gotoAndStop(random(4) + 1);
}
with (_root.player) {
if (this.pcman.hittest(_x, getBounds(_root).yMax, true)) {
if (_root.ftest == "yes") {
if ((this.pcman._currentframe == 3) && (_root.nopac > 0)) {
_root.nopac--;
}
goleft = 0;
this.play();
suddenup = 25;
su = 3;
jump = true;
}
}
}
}
Instance of Symbol 173 MovieClip "player" in Frame 322
onClipEvent (load) {
}
onClipEvent (enterFrame) {
_root.test = _x;
if (key.isdown(32) && (!jump)) {
if ((_root.pactime > 0) && (_currentframe < 2)) {
jumpsound = new Sound();
jumpsound.attachSound("jumpsnd");
jumpsound.start();
suddenup = 25;
su = 3;
jump = true;
}
}
if (key.isdown(37)) {
if ((_root.pactime > 0) && (_currentframe < 2)) {
_x = (_x - 6);
rot = 15;
this.ball._rotation = this.ball._rotation - rot;
if (_x < 215.35) {
rot = 0;
_x = 215.35;
}
}
}
if (key.isdown(39)) {
if ((_root.pactime > 0) && (_currentframe < 2)) {
_x = (_x + 6);
rot = 15;
this.ball._rotation = this.ball._rotation + rot;
if (_x > 541.35) {
rot = 0;
_x = 541.35;
}
}
}
if (jump) {
if ((_root.pactime > 0) && (_currentframe < 2)) {
suddenup = suddenup - su;
_y = (_y - suddenup);
if (suddenup < -19) {
suddenup = -19;
}
_root.test = suddenup;
if (_root.test < 0) {
_root.ftest = "yes";
} else {
_root.ftest = "no";
}
if (_y > 508.2) {
_root.smoke._x = _x;
_root.smoke.play();
_y = 508.2;
jump = false;
_root.ftest = "no";
}
}
}
}
Instance of Symbol 187 MovieClip in Frame 322
onClipEvent (enterFrame) {
if (_root.nopac <= 0) {
this.stop();
_root.alldie.play();
}
if (_root.pactime <= 0) {
with (_root.player) {
jump = false;
_root.smoke._visible = false;
suddenup = 0;
su = 0;
gleft = 0;
gright = 0;
play();
}
}
}
Frame 323
stop();
Frame 324
stop();
_root.pactime = 48;
_root.nopac = 26;
Instance of Symbol 156 MovieClip "pacman5" in Frame 324
onClipEvent (load) {
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
}
onClipEvent (enterFrame) {
_x = (_x + goleft);
if ((this._currentframe == 34) && (_root.nopac > 0)) {
this.gotoAndStop(1);
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
}
if (_x > 580) {
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
this.pcman.gotoAndStop(random(4) + 1);
}
with (_root.player) {
if (this.pcman.hittest(_x, getBounds(_root).yMax, true)) {
if (_root.ftest == "yes") {
if ((this.pcman._currentframe == 2) && (_root.nopac > 0)) {
_root.nopac--;
}
goleft = 0;
this.play();
suddenup = 25;
su = 3;
jump = true;
}
}
}
}
Instance of Symbol 156 MovieClip "pacman1" in Frame 324
onClipEvent (load) {
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
}
onClipEvent (enterFrame) {
_x = (_x + goleft);
if ((this._currentframe == 34) && (_root.nopac > 0)) {
this.gotoAndStop(1);
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
}
if (_x > 580) {
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
this.pcman.gotoAndStop(random(4) + 1);
}
with (_root.player) {
if (this.pcman.hittest(_x, getBounds(_root).yMax, true)) {
if (_root.ftest == "yes") {
if ((this.pcman._currentframe == 2) && (_root.nopac > 0)) {
_root.nopac--;
}
goleft = 0;
this.play();
suddenup = 25;
su = 3;
jump = true;
}
}
}
}
Instance of Symbol 156 MovieClip "pacman2" in Frame 324
onClipEvent (load) {
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
}
onClipEvent (enterFrame) {
_x = (_x + goleft);
if ((this._currentframe == 34) && (_root.nopac > 0)) {
this.gotoAndStop(1);
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
}
if (_x > 580) {
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
this.pcman.gotoAndStop(random(4) + 1);
}
with (_root.player) {
if (this.pcman.hittest(_x, getBounds(_root).yMax, true)) {
if (_root.ftest == "yes") {
if ((this.pcman._currentframe == 2) && (_root.nopac > 0)) {
_root.nopac--;
}
goleft = 0;
this.play();
suddenup = 25;
su = 3;
jump = true;
}
}
}
}
Instance of Symbol 156 MovieClip "pacman3" in Frame 324
onClipEvent (load) {
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
}
onClipEvent (enterFrame) {
_x = (_x + goleft);
if ((this._currentframe == 34) && (_root.nopac > 0)) {
this.gotoAndStop(1);
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
}
if (_x > 580) {
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
this.pcman.gotoAndStop(random(4) + 1);
}
with (_root.player) {
if (this.pcman.hittest(_x, getBounds(_root).yMax, true)) {
if (_root.ftest == "yes") {
if ((this.pcman._currentframe == 2) && (_root.nopac > 0)) {
_root.nopac--;
}
goleft = 0;
this.play();
suddenup = 25;
su = 3;
jump = true;
}
}
}
}
Instance of Symbol 156 MovieClip "pacman6" in Frame 324
onClipEvent (load) {
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
}
onClipEvent (enterFrame) {
_x = (_x + goleft);
if ((this._currentframe == 34) && (_root.nopac > 0)) {
this.gotoAndStop(1);
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
}
if (_x > 580) {
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
this.pcman.gotoAndStop(random(4) + 1);
}
with (_root.player) {
if (this.pcman.hittest(_x, getBounds(_root).yMax, true)) {
if (_root.ftest == "yes") {
if ((this.pcman._currentframe == 2) && (_root.nopac > 0)) {
_root.nopac--;
}
goleft = 0;
this.play();
suddenup = 25;
su = 3;
jump = true;
}
}
}
}
Instance of Symbol 156 MovieClip "pacman4" in Frame 324
onClipEvent (load) {
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
}
onClipEvent (enterFrame) {
_x = (_x + goleft);
if ((this._currentframe == 34) && (_root.nopac > 0)) {
this.gotoAndStop(1);
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
}
if (_x > 580) {
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
this.pcman.gotoAndStop(random(4) + 1);
}
with (_root.player) {
if (this.pcman.hittest(_x, getBounds(_root).yMax, true)) {
if (_root.ftest == "yes") {
if ((this.pcman._currentframe == 2) && (_root.nopac > 0)) {
_root.nopac--;
}
goleft = 0;
this.play();
suddenup = 25;
su = 3;
jump = true;
}
}
}
}
Instance of Symbol 156 MovieClip "pacman9" in Frame 324
onClipEvent (load) {
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
}
onClipEvent (enterFrame) {
_x = (_x + goleft);
if ((this._currentframe == 34) && (_root.nopac > 0)) {
this.gotoAndStop(1);
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
}
if (_x > 580) {
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
this.pcman.gotoAndStop(random(4) + 1);
}
with (_root.player) {
if (this.pcman.hittest(_x, getBounds(_root).yMax, true)) {
if (_root.ftest == "yes") {
if ((this.pcman._currentframe == 2) && (_root.nopac > 0)) {
_root.nopac--;
}
goleft = 0;
this.play();
suddenup = 25;
su = 3;
jump = true;
}
}
}
}
Instance of Symbol 156 MovieClip "pacman11" in Frame 324
onClipEvent (load) {
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
}
onClipEvent (enterFrame) {
_x = (_x + goleft);
if ((this._currentframe == 34) && (_root.nopac > 0)) {
this.gotoAndStop(1);
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
}
if (_x > 580) {
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
this.pcman.gotoAndStop(random(4) + 1);
}
with (_root.player) {
if (this.pcman.hittest(_x, getBounds(_root).yMax, true)) {
if (_root.ftest == "yes") {
if ((this.pcman._currentframe == 2) && (_root.nopac > 0)) {
_root.nopac--;
}
goleft = 0;
this.play();
suddenup = 25;
su = 3;
jump = true;
}
}
}
}
Instance of Symbol 156 MovieClip "pacman8" in Frame 324
onClipEvent (load) {
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
}
onClipEvent (enterFrame) {
_x = (_x + goleft);
if ((this._currentframe == 34) && (_root.nopac > 0)) {
this.gotoAndStop(1);
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
}
if (_x > 580) {
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
this.pcman.gotoAndStop(random(4) + 1);
}
with (_root.player) {
if (this.pcman.hittest(_x, getBounds(_root).yMax, true)) {
if (_root.ftest == "yes") {
if ((this.pcman._currentframe == 2) && (_root.nopac > 0)) {
_root.nopac--;
}
goleft = 0;
this.play();
suddenup = 25;
su = 3;
jump = true;
}
}
}
}
Instance of Symbol 156 MovieClip "pacman10" in Frame 324
onClipEvent (load) {
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
}
onClipEvent (enterFrame) {
_x = (_x + goleft);
if ((this._currentframe == 34) && (_root.nopac > 0)) {
this.gotoAndStop(1);
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
}
if (_x > 580) {
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
this.pcman.gotoAndStop(random(4) + 1);
}
with (_root.player) {
if (this.pcman.hittest(_x, getBounds(_root).yMax, true)) {
if (_root.ftest == "yes") {
if ((this.pcman._currentframe == 2) && (_root.nopac > 0)) {
_root.nopac--;
}
goleft = 0;
this.play();
suddenup = 25;
su = 3;
jump = true;
}
}
}
}
Instance of Symbol 156 MovieClip "pacman14" in Frame 324
onClipEvent (load) {
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
}
onClipEvent (enterFrame) {
_x = (_x + goleft);
if ((this._currentframe == 34) && (_root.nopac > 0)) {
this.gotoAndStop(1);
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
}
if (_x > 580) {
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
this.pcman.gotoAndStop(random(4) + 1);
}
with (_root.player) {
if (this.pcman.hittest(_x, getBounds(_root).yMax, true)) {
if (_root.ftest == "yes") {
if ((this.pcman._currentframe == 2) && (_root.nopac > 0)) {
_root.nopac--;
}
goleft = 0;
this.play();
suddenup = 25;
su = 3;
jump = true;
}
}
}
}
Instance of Symbol 156 MovieClip "pacman7" in Frame 324
onClipEvent (load) {
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
}
onClipEvent (enterFrame) {
_x = (_x + goleft);
if ((this._currentframe == 34) && (_root.nopac > 0)) {
this.gotoAndStop(1);
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
}
if (_x > 580) {
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
this.pcman.gotoAndStop(random(4) + 1);
}
with (_root.player) {
if (this.pcman.hittest(_x, getBounds(_root).yMax, true)) {
if (_root.ftest == "yes") {
if ((this.pcman._currentframe == 2) && (_root.nopac > 0)) {
_root.nopac--;
}
goleft = 0;
this.play();
suddenup = 25;
su = 3;
jump = true;
}
}
}
}
Instance of Symbol 156 MovieClip "pacman12" in Frame 324
onClipEvent (load) {
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
}
onClipEvent (enterFrame) {
_x = (_x + goleft);
if ((this._currentframe == 34) && (_root.nopac > 0)) {
this.gotoAndStop(1);
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
}
if (_x > 580) {
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
this.pcman.gotoAndStop(random(4) + 1);
}
with (_root.player) {
if (this.pcman.hittest(_x, getBounds(_root).yMax, true)) {
if (_root.ftest == "yes") {
if ((this.pcman._currentframe == 2) && (_root.nopac > 0)) {
_root.nopac--;
}
goleft = 0;
this.play();
suddenup = 25;
su = 3;
jump = true;
}
}
}
}
Instance of Symbol 156 MovieClip "pacman13" in Frame 324
onClipEvent (load) {
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
}
onClipEvent (enterFrame) {
_x = (_x + goleft);
if ((this._currentframe == 34) && (_root.nopac > 0)) {
this.gotoAndStop(1);
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
}
if (_x > 580) {
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
this.pcman.gotoAndStop(random(4) + 1);
}
with (_root.player) {
if (this.pcman.hittest(_x, getBounds(_root).yMax, true)) {
if (_root.ftest == "yes") {
if ((this.pcman._currentframe == 2) && (_root.nopac > 0)) {
_root.nopac--;
}
goleft = 0;
this.play();
suddenup = 25;
su = 3;
jump = true;
}
}
}
}
Instance of Symbol 156 MovieClip "pacman15" in Frame 324
onClipEvent (load) {
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
}
onClipEvent (enterFrame) {
_x = (_x + goleft);
if ((this._currentframe == 34) && (_root.nopac > 0)) {
this.gotoAndStop(1);
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
}
if (_x > 580) {
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
this.pcman.gotoAndStop(random(4) + 1);
}
with (_root.player) {
if (this.pcman.hittest(_x, getBounds(_root).yMax, true)) {
if (_root.ftest == "yes") {
if ((this.pcman._currentframe == 2) && (_root.nopac > 0)) {
_root.nopac--;
}
goleft = 0;
this.play();
suddenup = 25;
su = 3;
jump = true;
}
}
}
}
Instance of Symbol 156 MovieClip "pacman16" in Frame 324
onClipEvent (load) {
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
}
onClipEvent (enterFrame) {
_x = (_x + goleft);
if ((this._currentframe == 34) && (_root.nopac > 0)) {
this.gotoAndStop(1);
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
}
if (_x > 580) {
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
this.pcman.gotoAndStop(random(4) + 1);
}
with (_root.player) {
if (this.pcman.hittest(_x, getBounds(_root).yMax, true)) {
if (_root.ftest == "yes") {
if ((this.pcman._currentframe == 2) && (_root.nopac > 0)) {
_root.nopac--;
}
goleft = 0;
this.play();
suddenup = 25;
su = 3;
jump = true;
}
}
}
}
Instance of Symbol 156 MovieClip "pacman17" in Frame 324
onClipEvent (load) {
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
}
onClipEvent (enterFrame) {
_x = (_x + goleft);
if ((this._currentframe == 34) && (_root.nopac > 0)) {
this.gotoAndStop(1);
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
}
if (_x > 580) {
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
this.pcman.gotoAndStop(random(4) + 1);
}
with (_root.player) {
if (this.pcman.hittest(_x, getBounds(_root).yMax, true)) {
if (_root.ftest == "yes") {
if ((this.pcman._currentframe == 2) && (_root.nopac > 0)) {
_root.nopac--;
}
goleft = 0;
this.play();
suddenup = 25;
su = 3;
jump = true;
}
}
}
}
Instance of Symbol 156 MovieClip "pacman18" in Frame 324
onClipEvent (load) {
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
}
onClipEvent (enterFrame) {
_x = (_x + goleft);
if ((this._currentframe == 34) && (_root.nopac > 0)) {
this.gotoAndStop(1);
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
}
if (_x > 580) {
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
this.pcman.gotoAndStop(random(4) + 1);
}
with (_root.player) {
if (this.pcman.hittest(_x, getBounds(_root).yMax, true)) {
if (_root.ftest == "yes") {
if ((this.pcman._currentframe == 2) && (_root.nopac > 0)) {
_root.nopac--;
}
goleft = 0;
this.play();
suddenup = 25;
su = 3;
jump = true;
}
}
}
}
Instance of Symbol 173 MovieClip "player" in Frame 324
onClipEvent (load) {
}
onClipEvent (enterFrame) {
_root.test = _x;
if (key.isdown(32) && (!jump)) {
if ((_root.pactime > 0) && (_currentframe < 2)) {
jumpsound = new Sound();
jumpsound.attachSound("jumpsnd");
jumpsound.start();
suddenup = 25;
su = 3;
jump = true;
}
}
if (key.isdown(37)) {
if ((_root.pactime > 0) && (_currentframe < 2)) {
_x = (_x - 6);
rot = 15;
this.ball._rotation = this.ball._rotation - rot;
if (_x < 215.35) {
rot = 0;
_x = 215.35;
}
}
}
if (key.isdown(39)) {
if ((_root.pactime > 0) && (_currentframe < 2)) {
_x = (_x + 6);
rot = 15;
this.ball._rotation = this.ball._rotation + rot;
if (_x > 541.35) {
rot = 0;
_x = 541.35;
}
}
}
if (jump) {
if ((_root.pactime > 0) && (_currentframe < 2)) {
suddenup = suddenup - su;
_y = (_y - suddenup);
if (suddenup < -19) {
suddenup = -19;
}
_root.test = suddenup;
if (_root.test < 0) {
_root.ftest = "yes";
} else {
_root.ftest = "no";
}
if (_y > 508.2) {
_root.smoke._x = _x;
_root.smoke.play();
_y = 508.2;
jump = false;
_root.ftest = "no";
}
}
}
}
Instance of Symbol 187 MovieClip in Frame 324
onClipEvent (enterFrame) {
if (_root.nopac <= 0) {
this.stop();
_root.alldie.play();
}
if (_root.pactime <= 0) {
with (_root.player) {
jump = false;
_root.smoke._visible = false;
suddenup = 0;
su = 0;
gleft = 0;
gright = 0;
play();
}
}
}
Frame 325
stop();
Frame 326
stop();
_root.pactime = 48;
_root.nopac = 28;
Instance of Symbol 156 MovieClip "pacman1" in Frame 326
onClipEvent (load) {
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
}
onClipEvent (enterFrame) {
_x = (_x + goleft);
if ((this._currentframe == 34) && (_root.nopac > 0)) {
this.gotoAndStop(1);
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
}
if (_x > 580) {
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
this.pcman.gotoAndStop(random(4) + 1);
}
with (_root.player) {
if (this.pcman.hittest(_x, getBounds(_root).yMax, true)) {
if (_root.ftest == "yes") {
if ((this.pcman._currentframe == 1) && (_root.nopac > 0)) {
_root.nopac--;
}
goleft = 0;
this.play();
suddenup = 25;
su = 3;
jump = true;
}
}
}
}
Instance of Symbol 156 MovieClip "pacman2" in Frame 326
onClipEvent (load) {
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
}
onClipEvent (enterFrame) {
_x = (_x + goleft);
if ((this._currentframe == 34) && (_root.nopac > 0)) {
this.gotoAndStop(1);
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
}
if (_x > 580) {
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
this.pcman.gotoAndStop(random(4) + 1);
}
with (_root.player) {
if (this.pcman.hittest(_x, getBounds(_root).yMax, true)) {
if (_root.ftest == "yes") {
if ((this.pcman._currentframe == 1) && (_root.nopac > 0)) {
_root.nopac--;
}
goleft = 0;
this.play();
suddenup = 25;
su = 3;
jump = true;
}
}
}
}
Instance of Symbol 156 MovieClip "pacman3" in Frame 326
onClipEvent (load) {
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
}
onClipEvent (enterFrame) {
_x = (_x + goleft);
if ((this._currentframe == 34) && (_root.nopac > 0)) {
this.gotoAndStop(1);
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
}
if (_x > 580) {
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
this.pcman.gotoAndStop(random(4) + 1);
}
with (_root.player) {
if (this.pcman.hittest(_x, getBounds(_root).yMax, true)) {
if (_root.ftest == "yes") {
if ((this.pcman._currentframe == 1) && (_root.nopac > 0)) {
_root.nopac--;
}
goleft = 0;
this.play();
suddenup = 25;
su = 3;
jump = true;
}
}
}
}
Instance of Symbol 156 MovieClip "pacman4" in Frame 326
onClipEvent (load) {
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
}
onClipEvent (enterFrame) {
_x = (_x + goleft);
if ((this._currentframe == 34) && (_root.nopac > 0)) {
this.gotoAndStop(1);
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
}
if (_x > 580) {
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
this.pcman.gotoAndStop(random(4) + 1);
}
with (_root.player) {
if (this.pcman.hittest(_x, getBounds(_root).yMax, true)) {
if (_root.ftest == "yes") {
if ((this.pcman._currentframe == 1) && (_root.nopac > 0)) {
_root.nopac--;
}
goleft = 0;
this.play();
suddenup = 25;
su = 3;
jump = true;
}
}
}
}
Instance of Symbol 156 MovieClip "pacman5" in Frame 326
onClipEvent (load) {
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
}
onClipEvent (enterFrame) {
_x = (_x + goleft);
if ((this._currentframe == 34) && (_root.nopac > 0)) {
this.gotoAndStop(1);
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
}
if (_x > 580) {
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
this.pcman.gotoAndStop(random(4) + 1);
}
with (_root.player) {
if (this.pcman.hittest(_x, getBounds(_root).yMax, true)) {
if (_root.ftest == "yes") {
if ((this.pcman._currentframe == 1) && (_root.nopac > 0)) {
_root.nopac--;
}
goleft = 0;
this.play();
suddenup = 25;
su = 3;
jump = true;
}
}
}
}
Instance of Symbol 156 MovieClip "pacman6" in Frame 326
onClipEvent (load) {
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
}
onClipEvent (enterFrame) {
_x = (_x + goleft);
if ((this._currentframe == 34) && (_root.nopac > 0)) {
this.gotoAndStop(1);
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
}
if (_x > 580) {
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
this.pcman.gotoAndStop(random(4) + 1);
}
with (_root.player) {
if (this.pcman.hittest(_x, getBounds(_root).yMax, true)) {
if (_root.ftest == "yes") {
if ((this.pcman._currentframe == 1) && (_root.nopac > 0)) {
_root.nopac--;
}
goleft = 0;
this.play();
suddenup = 25;
su = 3;
jump = true;
}
}
}
}
Instance of Symbol 156 MovieClip "pacman7" in Frame 326
onClipEvent (load) {
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
}
onClipEvent (enterFrame) {
_x = (_x + goleft);
if ((this._currentframe == 34) && (_root.nopac > 0)) {
this.gotoAndStop(1);
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
}
if (_x > 580) {
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
this.pcman.gotoAndStop(random(4) + 1);
}
with (_root.player) {
if (this.pcman.hittest(_x, getBounds(_root).yMax, true)) {
if (_root.ftest == "yes") {
if ((this.pcman._currentframe == 1) && (_root.nopac > 0)) {
_root.nopac--;
}
goleft = 0;
this.play();
suddenup = 25;
su = 3;
jump = true;
}
}
}
}
Instance of Symbol 156 MovieClip "pacman8" in Frame 326
onClipEvent (load) {
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
}
onClipEvent (enterFrame) {
_x = (_x + goleft);
if ((this._currentframe == 34) && (_root.nopac > 0)) {
this.gotoAndStop(1);
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
}
if (_x > 580) {
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
this.pcman.gotoAndStop(random(4) + 1);
}
with (_root.player) {
if (this.pcman.hittest(_x, getBounds(_root).yMax, true)) {
if (_root.ftest == "yes") {
if ((this.pcman._currentframe == 1) && (_root.nopac > 0)) {
_root.nopac--;
}
goleft = 0;
this.play();
suddenup = 25;
su = 3;
jump = true;
}
}
}
}
Instance of Symbol 156 MovieClip "pacman9" in Frame 326
onClipEvent (load) {
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
}
onClipEvent (enterFrame) {
_x = (_x + goleft);
if ((this._currentframe == 34) && (_root.nopac > 0)) {
this.gotoAndStop(1);
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
}
if (_x > 580) {
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
this.pcman.gotoAndStop(random(4) + 1);
}
with (_root.player) {
if (this.pcman.hittest(_x, getBounds(_root).yMax, true)) {
if (_root.ftest == "yes") {
if ((this.pcman._currentframe == 1) && (_root.nopac > 0)) {
_root.nopac--;
}
goleft = 0;
this.play();
suddenup = 25;
su = 3;
jump = true;
}
}
}
}
Instance of Symbol 156 MovieClip "pacman10" in Frame 326
onClipEvent (load) {
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
}
onClipEvent (enterFrame) {
_x = (_x + goleft);
if ((this._currentframe == 34) && (_root.nopac > 0)) {
this.gotoAndStop(1);
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
}
if (_x > 580) {
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
this.pcman.gotoAndStop(random(4) + 1);
}
with (_root.player) {
if (this.pcman.hittest(_x, getBounds(_root).yMax, true)) {
if (_root.ftest == "yes") {
if ((this.pcman._currentframe == 1) && (_root.nopac > 0)) {
_root.nopac--;
}
goleft = 0;
this.play();
suddenup = 25;
su = 3;
jump = true;
}
}
}
}
Instance of Symbol 156 MovieClip "pacman11" in Frame 326
onClipEvent (load) {
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
}
onClipEvent (enterFrame) {
_x = (_x + goleft);
if ((this._currentframe == 34) && (_root.nopac > 0)) {
this.gotoAndStop(1);
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
}
if (_x > 580) {
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
this.pcman.gotoAndStop(random(4) + 1);
}
with (_root.player) {
if (this.pcman.hittest(_x, getBounds(_root).yMax, true)) {
if (_root.ftest == "yes") {
if ((this.pcman._currentframe == 1) && (_root.nopac > 0)) {
_root.nopac--;
}
goleft = 0;
this.play();
suddenup = 25;
su = 3;
jump = true;
}
}
}
}
Instance of Symbol 156 MovieClip "pacman13" in Frame 326
onClipEvent (load) {
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
}
onClipEvent (enterFrame) {
_x = (_x + goleft);
if ((this._currentframe == 34) && (_root.nopac > 0)) {
this.gotoAndStop(1);
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
}
if (_x > 580) {
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
this.pcman.gotoAndStop(random(4) + 1);
}
with (_root.player) {
if (this.pcman.hittest(_x, getBounds(_root).yMax, true)) {
if (_root.ftest == "yes") {
if ((this.pcman._currentframe == 1) && (_root.nopac > 0)) {
_root.nopac--;
}
goleft = 0;
this.play();
suddenup = 25;
su = 3;
jump = true;
}
}
}
}
Instance of Symbol 156 MovieClip "pacman12" in Frame 326
onClipEvent (load) {
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
}
onClipEvent (enterFrame) {
_x = (_x + goleft);
if ((this._currentframe == 34) && (_root.nopac > 0)) {
this.gotoAndStop(1);
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
}
if (_x > 580) {
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
this.pcman.gotoAndStop(random(4) + 1);
}
with (_root.player) {
if (this.pcman.hittest(_x, getBounds(_root).yMax, true)) {
if (_root.ftest == "yes") {
if ((this.pcman._currentframe == 1) && (_root.nopac > 0)) {
_root.nopac--;
}
goleft = 0;
this.play();
suddenup = 25;
su = 3;
jump = true;
}
}
}
}
Instance of Symbol 156 MovieClip "pacman15" in Frame 326
onClipEvent (load) {
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
}
onClipEvent (enterFrame) {
_x = (_x + goleft);
if ((this._currentframe == 34) && (_root.nopac > 0)) {
this.gotoAndStop(1);
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
}
if (_x > 580) {
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
this.pcman.gotoAndStop(random(4) + 1);
}
with (_root.player) {
if (this.pcman.hittest(_x, getBounds(_root).yMax, true)) {
if (_root.ftest == "yes") {
if ((this.pcman._currentframe == 1) && (_root.nopac > 0)) {
_root.nopac--;
}
goleft = 0;
this.play();
suddenup = 25;
su = 3;
jump = true;
}
}
}
}
Instance of Symbol 156 MovieClip "pacman14" in Frame 326
onClipEvent (load) {
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
}
onClipEvent (enterFrame) {
_x = (_x + goleft);
if ((this._currentframe == 34) && (_root.nopac > 0)) {
this.gotoAndStop(1);
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
}
if (_x > 580) {
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
this.pcman.gotoAndStop(random(4) + 1);
}
with (_root.player) {
if (this.pcman.hittest(_x, getBounds(_root).yMax, true)) {
if (_root.ftest == "yes") {
if ((this.pcman._currentframe == 1) && (_root.nopac > 0)) {
_root.nopac--;
}
goleft = 0;
this.play();
suddenup = 25;
su = 3;
jump = true;
}
}
}
}
Instance of Symbol 156 MovieClip "pacman17" in Frame 326
onClipEvent (load) {
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
}
onClipEvent (enterFrame) {
_x = (_x + goleft);
if ((this._currentframe == 34) && (_root.nopac > 0)) {
this.gotoAndStop(1);
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
}
if (_x > 580) {
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
this.pcman.gotoAndStop(random(4) + 1);
}
with (_root.player) {
if (this.pcman.hittest(_x, getBounds(_root).yMax, true)) {
if (_root.ftest == "yes") {
if ((this.pcman._currentframe == 1) && (_root.nopac > 0)) {
_root.nopac--;
}
goleft = 0;
this.play();
suddenup = 25;
su = 3;
jump = true;
}
}
}
}
Instance of Symbol 156 MovieClip "pacman16" in Frame 326
onClipEvent (load) {
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
}
onClipEvent (enterFrame) {
_x = (_x + goleft);
if ((this._currentframe == 34) && (_root.nopac > 0)) {
this.gotoAndStop(1);
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
}
if (_x > 580) {
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
this.pcman.gotoAndStop(random(4) + 1);
}
with (_root.player) {
if (this.pcman.hittest(_x, getBounds(_root).yMax, true)) {
if (_root.ftest == "yes") {
if ((this.pcman._currentframe == 1) && (_root.nopac > 0)) {
_root.nopac--;
}
goleft = 0;
this.play();
suddenup = 25;
su = 3;
jump = true;
}
}
}
}
Instance of Symbol 156 MovieClip "pacman18" in Frame 326
onClipEvent (load) {
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
}
onClipEvent (enterFrame) {
_x = (_x + goleft);
if ((this._currentframe == 34) && (_root.nopac > 0)) {
this.gotoAndStop(1);
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
}
if (_x > 580) {
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
this.pcman.gotoAndStop(random(4) + 1);
}
with (_root.player) {
if (this.pcman.hittest(_x, getBounds(_root).yMax, true)) {
if (_root.ftest == "yes") {
if ((this.pcman._currentframe == 1) && (_root.nopac > 0)) {
_root.nopac--;
}
goleft = 0;
this.play();
suddenup = 25;
su = 3;
jump = true;
}
}
}
}
Instance of Symbol 173 MovieClip "player" in Frame 326
onClipEvent (load) {
}
onClipEvent (enterFrame) {
_root.test = _x;
if (key.isdown(32) && (!jump)) {
if ((_root.pactime > 0) && (_currentframe < 2)) {
jumpsound = new Sound();
jumpsound.attachSound("jumpsnd");
jumpsound.start();
suddenup = 25;
su = 3;
jump = true;
}
}
if (key.isdown(37)) {
if ((_root.pactime > 0) && (_currentframe < 2)) {
_x = (_x - 6);
rot = 15;
this.ball._rotation = this.ball._rotation - rot;
if (_x < 215.35) {
rot = 0;
_x = 215.35;
}
}
}
if (key.isdown(39)) {
if ((_root.pactime > 0) && (_currentframe < 2)) {
_x = (_x + 6);
rot = 15;
this.ball._rotation = this.ball._rotation + rot;
if (_x > 541.35) {
rot = 0;
_x = 541.35;
}
}
}
if (jump) {
if ((_root.pactime > 0) && (_currentframe < 2)) {
suddenup = suddenup - su;
_y = (_y - suddenup);
if (suddenup < -19) {
suddenup = -19;
}
_root.test = suddenup;
if (_root.test < 0) {
_root.ftest = "yes";
} else {
_root.ftest = "no";
}
if (_y > 508.2) {
_root.smoke._x = _x;
_root.smoke.play();
_y = 508.2;
jump = false;
_root.ftest = "no";
}
}
}
}
Instance of Symbol 187 MovieClip in Frame 326
onClipEvent (enterFrame) {
if (_root.nopac <= 0) {
this.stop();
_root.alldie.play();
}
if (_root.pactime <= 0) {
with (_root.player) {
jump = false;
_root.smoke._visible = false;
suddenup = 0;
su = 0;
gleft = 0;
gright = 0;
play();
}
}
}
Frame 327
stop();
Frame 328
stop();
_root.pactime = 60;
_root.nopac = 20;
Instance of Symbol 156 MovieClip "pacman3" in Frame 328
onClipEvent (load) {
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
}
onClipEvent (enterFrame) {
_x = (_x + goleft);
if ((this._currentframe == 34) && (_root.nopac > 0)) {
this.gotoAndStop(1);
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
}
if (_x > 580) {
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
this.pcman.gotoAndStop(random(4) + 1);
}
with (_root.player) {
if (this.pcman.hittest(_x, getBounds(_root).yMax, true)) {
if (_root.ftest == "yes") {
if (_root.nopac > 0) {
_root.nopac--;
}
goleft = 0;
this.play();
suddenup = 25;
su = 3;
jump = true;
}
}
}
}
Instance of Symbol 156 MovieClip "pacman2" in Frame 328
onClipEvent (load) {
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
}
onClipEvent (enterFrame) {
_x = (_x + goleft);
if ((this._currentframe == 34) && (_root.nopac > 0)) {
this.gotoAndStop(1);
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
}
if (_x > 580) {
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
this.pcman.gotoAndStop(random(4) + 1);
}
with (_root.player) {
if (this.pcman.hittest(_x, getBounds(_root).yMax, true)) {
if (_root.ftest == "yes") {
if (_root.nopac > 0) {
_root.nopac--;
}
goleft = 0;
this.play();
suddenup = 25;
su = 3;
jump = true;
}
}
}
}
Instance of Symbol 156 MovieClip "pacman4" in Frame 328
onClipEvent (load) {
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
}
onClipEvent (enterFrame) {
_x = (_x + goleft);
if ((this._currentframe == 34) && (_root.nopac > 0)) {
this.gotoAndStop(1);
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
}
if (_x > 580) {
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
this.pcman.gotoAndStop(random(4) + 1);
}
with (_root.player) {
if (this.pcman.hittest(_x, getBounds(_root).yMax, true)) {
if (_root.ftest == "yes") {
if (_root.nopac > 0) {
_root.nopac--;
}
goleft = 0;
this.play();
suddenup = 25;
su = 3;
jump = true;
}
}
}
}
Instance of Symbol 156 MovieClip "pacman5" in Frame 328
onClipEvent (load) {
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
}
onClipEvent (enterFrame) {
_x = (_x + goleft);
if ((this._currentframe == 34) && (_root.nopac > 0)) {
this.gotoAndStop(1);
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
}
if (_x > 580) {
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
this.pcman.gotoAndStop(random(4) + 1);
}
with (_root.player) {
if (this.pcman.hittest(_x, getBounds(_root).yMax, true)) {
if (_root.ftest == "yes") {
if (_root.nopac > 0) {
_root.nopac--;
}
goleft = 0;
this.play();
suddenup = 25;
su = 3;
jump = true;
}
}
}
}
Instance of Symbol 156 MovieClip "pacman6" in Frame 328
onClipEvent (load) {
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
}
onClipEvent (enterFrame) {
_x = (_x + goleft);
if ((this._currentframe == 34) && (_root.nopac > 0)) {
this.gotoAndStop(1);
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
}
if (_x > 580) {
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
this.pcman.gotoAndStop(random(4) + 1);
}
with (_root.player) {
if (this.pcman.hittest(_x, getBounds(_root).yMax, true)) {
if (_root.ftest == "yes") {
if (_root.nopac > 0) {
_root.nopac--;
}
goleft = 0;
this.play();
suddenup = 25;
su = 3;
jump = true;
}
}
}
}
Instance of Symbol 156 MovieClip "pacman1" in Frame 328
onClipEvent (load) {
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
}
onClipEvent (enterFrame) {
_x = (_x + goleft);
if ((this._currentframe == 34) && (_root.nopac > 0)) {
this.gotoAndStop(1);
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
}
if (_x > 580) {
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
this.pcman.gotoAndStop(random(4) + 1);
}
with (_root.player) {
if (this.pcman.hittest(_x, getBounds(_root).yMax, true)) {
if (_root.ftest == "yes") {
if (_root.nopac > 0) {
_root.nopac--;
}
goleft = 0;
this.play();
suddenup = 25;
su = 3;
jump = true;
}
}
}
}
Instance of Symbol 156 MovieClip "pacman7" in Frame 328
onClipEvent (load) {
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
}
onClipEvent (enterFrame) {
_x = (_x + goleft);
if ((this._currentframe == 34) && (_root.nopac > 0)) {
this.gotoAndStop(1);
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
}
if (_x > 580) {
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
this.pcman.gotoAndStop(random(4) + 1);
}
with (_root.player) {
if (this.pcman.hittest(_x, getBounds(_root).yMax, true)) {
if (_root.ftest == "yes") {
if (_root.nopac > 0) {
_root.nopac--;
}
goleft = 0;
this.play();
suddenup = 25;
su = 3;
jump = true;
}
}
}
}
Instance of Symbol 156 MovieClip "pacman9" in Frame 328
onClipEvent (load) {
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
}
onClipEvent (enterFrame) {
_x = (_x + goleft);
if ((this._currentframe == 34) && (_root.nopac > 0)) {
this.gotoAndStop(1);
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
}
if (_x > 580) {
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
this.pcman.gotoAndStop(random(4) + 1);
}
with (_root.player) {
if (this.pcman.hittest(_x, getBounds(_root).yMax, true)) {
if (_root.ftest == "yes") {
if (_root.nopac > 0) {
_root.nopac--;
}
goleft = 0;
this.play();
suddenup = 25;
su = 3;
jump = true;
}
}
}
}
Instance of Symbol 156 MovieClip "pacman8" in Frame 328
onClipEvent (load) {
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
}
onClipEvent (enterFrame) {
_x = (_x + goleft);
if ((this._currentframe == 34) && (_root.nopac > 0)) {
this.gotoAndStop(1);
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
}
if (_x > 580) {
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
this.pcman.gotoAndStop(random(4) + 1);
}
with (_root.player) {
if (this.pcman.hittest(_x, getBounds(_root).yMax, true)) {
if (_root.ftest == "yes") {
if (_root.nopac > 0) {
_root.nopac--;
}
goleft = 0;
this.play();
suddenup = 25;
su = 3;
jump = true;
}
}
}
}
Instance of Symbol 156 MovieClip "pacman10" in Frame 328
onClipEvent (load) {
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
}
onClipEvent (enterFrame) {
_x = (_x + goleft);
if ((this._currentframe == 34) && (_root.nopac > 0)) {
this.gotoAndStop(1);
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
}
if (_x > 580) {
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
this.pcman.gotoAndStop(random(4) + 1);
}
with (_root.player) {
if (this.pcman.hittest(_x, getBounds(_root).yMax, true)) {
if (_root.ftest == "yes") {
if (_root.nopac > 0) {
_root.nopac--;
}
goleft = 0;
this.play();
suddenup = 25;
su = 3;
jump = true;
}
}
}
}
Instance of Symbol 156 MovieClip "pacman11" in Frame 328
onClipEvent (load) {
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
}
onClipEvent (enterFrame) {
_x = (_x + goleft);
if ((this._currentframe == 34) && (_root.nopac > 0)) {
this.gotoAndStop(1);
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
}
if (_x > 580) {
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
this.pcman.gotoAndStop(random(4) + 1);
}
with (_root.player) {
if (this.pcman.hittest(_x, getBounds(_root).yMax, true)) {
if (_root.ftest == "yes") {
if (_root.nopac > 0) {
_root.nopac--;
}
goleft = 0;
this.play();
suddenup = 25;
su = 3;
jump = true;
}
}
}
}
Instance of Symbol 156 MovieClip "pacman12" in Frame 328
onClipEvent (load) {
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
}
onClipEvent (enterFrame) {
_x = (_x + goleft);
if ((this._currentframe == 34) && (_root.nopac > 0)) {
this.gotoAndStop(1);
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
}
if (_x > 580) {
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
this.pcman.gotoAndStop(random(4) + 1);
}
with (_root.player) {
if (this.pcman.hittest(_x, getBounds(_root).yMax, true)) {
if (_root.ftest == "yes") {
if (_root.nopac > 0) {
_root.nopac--;
}
goleft = 0;
this.play();
suddenup = 25;
su = 3;
jump = true;
}
}
}
}
Instance of Symbol 156 MovieClip "pacman13" in Frame 328
onClipEvent (load) {
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
}
onClipEvent (enterFrame) {
_x = (_x + goleft);
if ((this._currentframe == 34) && (_root.nopac > 0)) {
this.gotoAndStop(1);
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
}
if (_x > 580) {
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
this.pcman.gotoAndStop(random(4) + 1);
}
with (_root.player) {
if (this.pcman.hittest(_x, getBounds(_root).yMax, true)) {
if (_root.ftest == "yes") {
if (_root.nopac > 0) {
_root.nopac--;
}
goleft = 0;
this.play();
suddenup = 25;
su = 3;
jump = true;
}
}
}
}
Instance of Symbol 156 MovieClip "pacman14" in Frame 328
onClipEvent (load) {
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
}
onClipEvent (enterFrame) {
_x = (_x + goleft);
if ((this._currentframe == 34) && (_root.nopac > 0)) {
this.gotoAndStop(1);
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
}
if (_x > 580) {
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
this.pcman.gotoAndStop(random(4) + 1);
}
with (_root.player) {
if (this.pcman.hittest(_x, getBounds(_root).yMax, true)) {
if (_root.ftest == "yes") {
if (_root.nopac > 0) {
_root.nopac--;
}
goleft = 0;
this.play();
suddenup = 25;
su = 3;
jump = true;
}
}
}
}
Instance of Symbol 156 MovieClip "pacman16" in Frame 328
onClipEvent (load) {
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
}
onClipEvent (enterFrame) {
_x = (_x + goleft);
if ((this._currentframe == 34) && (_root.nopac > 0)) {
this.gotoAndStop(1);
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
}
if (_x > 580) {
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
this.pcman.gotoAndStop(random(4) + 1);
}
with (_root.player) {
if (this.pcman.hittest(_x, getBounds(_root).yMax, true)) {
if (_root.ftest == "yes") {
if (_root.nopac > 0) {
_root.nopac--;
}
goleft = 0;
this.play();
suddenup = 25;
su = 3;
jump = true;
}
}
}
}
Instance of Symbol 156 MovieClip "pacman15" in Frame 328
onClipEvent (load) {
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
}
onClipEvent (enterFrame) {
_x = (_x + goleft);
if ((this._currentframe == 34) && (_root.nopac > 0)) {
this.gotoAndStop(1);
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
}
if (_x > 580) {
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
this.pcman.gotoAndStop(random(4) + 1);
}
with (_root.player) {
if (this.pcman.hittest(_x, getBounds(_root).yMax, true)) {
if (_root.ftest == "yes") {
if (_root.nopac > 0) {
_root.nopac--;
}
goleft = 0;
this.play();
suddenup = 25;
su = 3;
jump = true;
}
}
}
}
Instance of Symbol 156 MovieClip "pacman18" in Frame 328
onClipEvent (load) {
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
}
onClipEvent (enterFrame) {
_x = (_x + goleft);
if ((this._currentframe == 34) && (_root.nopac > 0)) {
this.gotoAndStop(1);
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
}
if (_x > 580) {
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
this.pcman.gotoAndStop(random(4) + 1);
}
with (_root.player) {
if (this.pcman.hittest(_x, getBounds(_root).yMax, true)) {
if (_root.ftest == "yes") {
if (_root.nopac > 0) {
_root.nopac--;
}
goleft = 0;
this.play();
suddenup = 25;
su = 3;
jump = true;
}
}
}
}
Instance of Symbol 156 MovieClip "pacman17" in Frame 328
onClipEvent (load) {
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
}
onClipEvent (enterFrame) {
_x = (_x + goleft);
if ((this._currentframe == 34) && (_root.nopac > 0)) {
this.gotoAndStop(1);
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
}
if (_x > 580) {
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
this.pcman.gotoAndStop(random(4) + 1);
}
with (_root.player) {
if (this.pcman.hittest(_x, getBounds(_root).yMax, true)) {
if (_root.ftest == "yes") {
if (_root.nopac > 0) {
_root.nopac--;
}
goleft = 0;
this.play();
suddenup = 25;
su = 3;
jump = true;
}
}
}
}
Instance of Symbol 247 MovieClip "blackpac1" in Frame 328
onClipEvent (enterFrame) {
with (_root.player) {
if (this.hittest(_x, getBounds(_root).yMax, true)) {
if (_root.ftest == "yes") {
jump = false;
_root.smoke._visible = false;
suddenup = 0;
su = 0;
gleft = 0;
gright = 0;
play();
}
}
}
}
Instance of Symbol 173 MovieClip "player" in Frame 328
onClipEvent (load) {
}
onClipEvent (enterFrame) {
_root.test = _x;
if (key.isdown(32) && (!jump)) {
if ((_root.pactime > 0) && (_currentframe < 2)) {
jumpsound = new Sound();
jumpsound.attachSound("jumpsnd");
jumpsound.start();
suddenup = 25;
su = 3;
jump = true;
}
}
if (key.isdown(37)) {
if ((_root.pactime > 0) && (_currentframe < 2)) {
_x = (_x - 6);
rot = 15;
this.ball._rotation = this.ball._rotation - rot;
if (_x < 215.35) {
rot = 0;
_x = 215.35;
}
}
}
if (key.isdown(39)) {
if ((_root.pactime > 0) && (_currentframe < 2)) {
_x = (_x + 6);
rot = 15;
this.ball._rotation = this.ball._rotation + rot;
if (_x > 541.35) {
rot = 0;
_x = 541.35;
}
}
}
if (jump) {
if ((_root.pactime > 0) && (_currentframe < 2)) {
suddenup = suddenup - su;
_y = (_y - suddenup);
if (suddenup < -19) {
suddenup = -19;
}
_root.test = suddenup;
if (_root.test < 0) {
_root.ftest = "yes";
} else {
_root.ftest = "no";
}
if (_y > 508.2) {
_root.smoke._x = _x;
_root.smoke.play();
_y = 508.2;
jump = false;
_root.ftest = "no";
}
}
}
}
Instance of Symbol 187 MovieClip in Frame 328
onClipEvent (enterFrame) {
if (_root.nopac <= 0) {
this.stop();
_root.alldie.play();
}
if (_root.pactime <= 0) {
with (_root.player) {
jump = false;
_root.smoke._visible = false;
suddenup = 0;
su = 0;
gleft = 0;
gright = 0;
play();
}
}
}
Frame 329
stop();
Frame 330
stop();
_root.pactime = 40;
_root.nopac = 30;
Instance of Symbol 156 MovieClip "pacman3" in Frame 330
onClipEvent (load) {
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
}
onClipEvent (enterFrame) {
_x = (_x + goleft);
if ((this._currentframe == 34) && (_root.nopac > 0)) {
this.gotoAndStop(1);
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
}
if (_x > 580) {
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
this.pcman.gotoAndStop(random(4) + 1);
}
with (_root.player) {
if (this.pcman.hittest(_x, getBounds(_root).yMax, true)) {
if (_root.ftest == "yes") {
if (_root.nopac > 0) {
_root.nopac--;
}
goleft = 0;
this.play();
suddenup = 25;
su = 3;
jump = true;
}
}
}
}
Instance of Symbol 156 MovieClip "pacman2" in Frame 330
onClipEvent (load) {
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
}
onClipEvent (enterFrame) {
_x = (_x + goleft);
if ((this._currentframe == 34) && (_root.nopac > 0)) {
this.gotoAndStop(1);
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
}
if (_x > 580) {
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
this.pcman.gotoAndStop(random(4) + 1);
}
with (_root.player) {
if (this.pcman.hittest(_x, getBounds(_root).yMax, true)) {
if (_root.ftest == "yes") {
if (_root.nopac > 0) {
_root.nopac--;
}
goleft = 0;
this.play();
suddenup = 25;
su = 3;
jump = true;
}
}
}
}
Instance of Symbol 156 MovieClip "pacman4" in Frame 330
onClipEvent (load) {
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
}
onClipEvent (enterFrame) {
_x = (_x + goleft);
if ((this._currentframe == 34) && (_root.nopac > 0)) {
this.gotoAndStop(1);
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
}
if (_x > 580) {
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
this.pcman.gotoAndStop(random(4) + 1);
}
with (_root.player) {
if (this.pcman.hittest(_x, getBounds(_root).yMax, true)) {
if (_root.ftest == "yes") {
if (_root.nopac > 0) {
_root.nopac--;
}
goleft = 0;
this.play();
suddenup = 25;
su = 3;
jump = true;
}
}
}
}
Instance of Symbol 156 MovieClip "pacman5" in Frame 330
onClipEvent (load) {
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
}
onClipEvent (enterFrame) {
_x = (_x + goleft);
if ((this._currentframe == 34) && (_root.nopac > 0)) {
this.gotoAndStop(1);
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
}
if (_x > 580) {
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
this.pcman.gotoAndStop(random(4) + 1);
}
with (_root.player) {
if (this.pcman.hittest(_x, getBounds(_root).yMax, true)) {
if (_root.ftest == "yes") {
if (_root.nopac > 0) {
_root.nopac--;
}
goleft = 0;
this.play();
suddenup = 25;
su = 3;
jump = true;
}
}
}
}
Instance of Symbol 156 MovieClip "pacman6" in Frame 330
onClipEvent (load) {
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
}
onClipEvent (enterFrame) {
_x = (_x + goleft);
if ((this._currentframe == 34) && (_root.nopac > 0)) {
this.gotoAndStop(1);
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
}
if (_x > 580) {
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
this.pcman.gotoAndStop(random(4) + 1);
}
with (_root.player) {
if (this.pcman.hittest(_x, getBounds(_root).yMax, true)) {
if (_root.ftest == "yes") {
if (_root.nopac > 0) {
_root.nopac--;
}
goleft = 0;
this.play();
suddenup = 25;
su = 3;
jump = true;
}
}
}
}
Instance of Symbol 156 MovieClip "pacman1" in Frame 330
onClipEvent (load) {
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
}
onClipEvent (enterFrame) {
_x = (_x + goleft);
if ((this._currentframe == 34) && (_root.nopac > 0)) {
this.gotoAndStop(1);
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
}
if (_x > 580) {
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
this.pcman.gotoAndStop(random(4) + 1);
}
with (_root.player) {
if (this.pcman.hittest(_x, getBounds(_root).yMax, true)) {
if (_root.ftest == "yes") {
if (_root.nopac > 0) {
_root.nopac--;
}
goleft = 0;
this.play();
suddenup = 25;
su = 3;
jump = true;
}
}
}
}
Instance of Symbol 156 MovieClip "pacman7" in Frame 330
onClipEvent (load) {
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
}
onClipEvent (enterFrame) {
_x = (_x + goleft);
if ((this._currentframe == 34) && (_root.nopac > 0)) {
this.gotoAndStop(1);
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
}
if (_x > 580) {
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
this.pcman.gotoAndStop(random(4) + 1);
}
with (_root.player) {
if (this.pcman.hittest(_x, getBounds(_root).yMax, true)) {
if (_root.ftest == "yes") {
if (_root.nopac > 0) {
_root.nopac--;
}
goleft = 0;
this.play();
suddenup = 25;
su = 3;
jump = true;
}
}
}
}
Instance of Symbol 156 MovieClip "pacman9" in Frame 330
onClipEvent (load) {
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
}
onClipEvent (enterFrame) {
_x = (_x + goleft);
if ((this._currentframe == 34) && (_root.nopac > 0)) {
this.gotoAndStop(1);
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
}
if (_x > 580) {
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
this.pcman.gotoAndStop(random(4) + 1);
}
with (_root.player) {
if (this.pcman.hittest(_x, getBounds(_root).yMax, true)) {
if (_root.ftest == "yes") {
if (_root.nopac > 0) {
_root.nopac--;
}
goleft = 0;
this.play();
suddenup = 25;
su = 3;
jump = true;
}
}
}
}
Instance of Symbol 156 MovieClip "pacman8" in Frame 330
onClipEvent (load) {
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
}
onClipEvent (enterFrame) {
_x = (_x + goleft);
if ((this._currentframe == 34) && (_root.nopac > 0)) {
this.gotoAndStop(1);
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
}
if (_x > 580) {
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
this.pcman.gotoAndStop(random(4) + 1);
}
with (_root.player) {
if (this.pcman.hittest(_x, getBounds(_root).yMax, true)) {
if (_root.ftest == "yes") {
if (_root.nopac > 0) {
_root.nopac--;
}
goleft = 0;
this.play();
suddenup = 25;
su = 3;
jump = true;
}
}
}
}
Instance of Symbol 156 MovieClip "pacman10" in Frame 330
onClipEvent (load) {
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
}
onClipEvent (enterFrame) {
_x = (_x + goleft);
if ((this._currentframe == 34) && (_root.nopac > 0)) {
this.gotoAndStop(1);
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
}
if (_x > 580) {
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
this.pcman.gotoAndStop(random(4) + 1);
}
with (_root.player) {
if (this.pcman.hittest(_x, getBounds(_root).yMax, true)) {
if (_root.ftest == "yes") {
if (_root.nopac > 0) {
_root.nopac--;
}
goleft = 0;
this.play();
suddenup = 25;
su = 3;
jump = true;
}
}
}
}
Instance of Symbol 156 MovieClip "pacman11" in Frame 330
onClipEvent (load) {
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
}
onClipEvent (enterFrame) {
_x = (_x + goleft);
if ((this._currentframe == 34) && (_root.nopac > 0)) {
this.gotoAndStop(1);
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
}
if (_x > 580) {
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
this.pcman.gotoAndStop(random(4) + 1);
}
with (_root.player) {
if (this.pcman.hittest(_x, getBounds(_root).yMax, true)) {
if (_root.ftest == "yes") {
if (_root.nopac > 0) {
_root.nopac--;
}
goleft = 0;
this.play();
suddenup = 25;
su = 3;
jump = true;
}
}
}
}
Instance of Symbol 156 MovieClip "pacman12" in Frame 330
onClipEvent (load) {
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
}
onClipEvent (enterFrame) {
_x = (_x + goleft);
if ((this._currentframe == 34) && (_root.nopac > 0)) {
this.gotoAndStop(1);
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
}
if (_x > 580) {
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
this.pcman.gotoAndStop(random(4) + 1);
}
with (_root.player) {
if (this.pcman.hittest(_x, getBounds(_root).yMax, true)) {
if (_root.ftest == "yes") {
if (_root.nopac > 0) {
_root.nopac--;
}
goleft = 0;
this.play();
suddenup = 25;
su = 3;
jump = true;
}
}
}
}
Instance of Symbol 156 MovieClip "pacman13" in Frame 330
onClipEvent (load) {
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
}
onClipEvent (enterFrame) {
_x = (_x + goleft);
if ((this._currentframe == 34) && (_root.nopac > 0)) {
this.gotoAndStop(1);
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
}
if (_x > 580) {
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
this.pcman.gotoAndStop(random(4) + 1);
}
with (_root.player) {
if (this.pcman.hittest(_x, getBounds(_root).yMax, true)) {
if (_root.ftest == "yes") {
if (_root.nopac > 0) {
_root.nopac--;
}
goleft = 0;
this.play();
suddenup = 25;
su = 3;
jump = true;
}
}
}
}
Instance of Symbol 156 MovieClip "pacman14" in Frame 330
onClipEvent (load) {
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
}
onClipEvent (enterFrame) {
_x = (_x + goleft);
if ((this._currentframe == 34) && (_root.nopac > 0)) {
this.gotoAndStop(1);
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
}
if (_x > 580) {
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
this.pcman.gotoAndStop(random(4) + 1);
}
with (_root.player) {
if (this.pcman.hittest(_x, getBounds(_root).yMax, true)) {
if (_root.ftest == "yes") {
if (_root.nopac > 0) {
_root.nopac--;
}
goleft = 0;
this.play();
suddenup = 25;
su = 3;
jump = true;
}
}
}
}
Instance of Symbol 156 MovieClip "pacman16" in Frame 330
onClipEvent (load) {
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
}
onClipEvent (enterFrame) {
_x = (_x + goleft);
if ((this._currentframe == 34) && (_root.nopac > 0)) {
this.gotoAndStop(1);
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
}
if (_x > 580) {
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
this.pcman.gotoAndStop(random(4) + 1);
}
with (_root.player) {
if (this.pcman.hittest(_x, getBounds(_root).yMax, true)) {
if (_root.ftest == "yes") {
if (_root.nopac > 0) {
_root.nopac--;
}
goleft = 0;
this.play();
suddenup = 25;
su = 3;
jump = true;
}
}
}
}
Instance of Symbol 156 MovieClip "pacman15" in Frame 330
onClipEvent (load) {
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
}
onClipEvent (enterFrame) {
_x = (_x + goleft);
if ((this._currentframe == 34) && (_root.nopac > 0)) {
this.gotoAndStop(1);
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
}
if (_x > 580) {
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
this.pcman.gotoAndStop(random(4) + 1);
}
with (_root.player) {
if (this.pcman.hittest(_x, getBounds(_root).yMax, true)) {
if (_root.ftest == "yes") {
if (_root.nopac > 0) {
_root.nopac--;
}
goleft = 0;
this.play();
suddenup = 25;
su = 3;
jump = true;
}
}
}
}
Instance of Symbol 156 MovieClip "pacman18" in Frame 330
onClipEvent (load) {
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
}
onClipEvent (enterFrame) {
_x = (_x + goleft);
if ((this._currentframe == 34) && (_root.nopac > 0)) {
this.gotoAndStop(1);
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
}
if (_x > 580) {
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
this.pcman.gotoAndStop(random(4) + 1);
}
with (_root.player) {
if (this.pcman.hittest(_x, getBounds(_root).yMax, true)) {
if (_root.ftest == "yes") {
if (_root.nopac > 0) {
_root.nopac--;
}
goleft = 0;
this.play();
suddenup = 25;
su = 3;
jump = true;
}
}
}
}
Instance of Symbol 156 MovieClip "pacman17" in Frame 330
onClipEvent (load) {
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
}
onClipEvent (enterFrame) {
_x = (_x + goleft);
if ((this._currentframe == 34) && (_root.nopac > 0)) {
this.gotoAndStop(1);
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
}
if (_x > 580) {
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
this.pcman.gotoAndStop(random(4) + 1);
}
with (_root.player) {
if (this.pcman.hittest(_x, getBounds(_root).yMax, true)) {
if (_root.ftest == "yes") {
if (_root.nopac > 0) {
_root.nopac--;
}
goleft = 0;
this.play();
suddenup = 25;
su = 3;
jump = true;
}
}
}
}
Instance of Symbol 247 MovieClip "blackpac1" in Frame 330
onClipEvent (enterFrame) {
with (_root.player) {
if (this.hittest(_x, getBounds(_root).yMax, true)) {
if (_root.ftest == "yes") {
jump = false;
_root.smoke._visible = false;
suddenup = 0;
su = 0;
gleft = 0;
gright = 0;
play();
}
}
}
}
Instance of Symbol 247 MovieClip "blackpac1" in Frame 330
onClipEvent (enterFrame) {
with (_root.player) {
if (this.hittest(_x, getBounds(_root).yMax, true)) {
if (_root.ftest == "yes") {
jump = false;
_root.smoke._visible = false;
suddenup = 0;
su = 0;
gleft = 0;
gright = 0;
play();
}
}
}
}
Instance of Symbol 247 MovieClip "blackpac1" in Frame 330
onClipEvent (enterFrame) {
with (_root.player) {
if (this.hittest(_x, getBounds(_root).yMax, true)) {
if (_root.ftest == "yes") {
jump = false;
_root.smoke._visible = false;
suddenup = 0;
su = 0;
gleft = 0;
gright = 0;
play();
}
}
}
}
Instance of Symbol 173 MovieClip "player" in Frame 330
onClipEvent (load) {
}
onClipEvent (enterFrame) {
_root.test = _x;
if (key.isdown(32) && (!jump)) {
if ((_root.pactime > 0) && (_currentframe < 2)) {
jumpsound = new Sound();
jumpsound.attachSound("jumpsnd");
jumpsound.start();
suddenup = 25;
su = 3;
jump = true;
}
}
if (key.isdown(37)) {
if ((_root.pactime > 0) && (_currentframe < 2)) {
_x = (_x - 6);
rot = 15;
this.ball._rotation = this.ball._rotation - rot;
if (_x < 215.35) {
rot = 0;
_x = 215.35;
}
}
}
if (key.isdown(39)) {
if ((_root.pactime > 0) && (_currentframe < 2)) {
_x = (_x + 6);
rot = 15;
this.ball._rotation = this.ball._rotation + rot;
if (_x > 541.35) {
rot = 0;
_x = 541.35;
}
}
}
if (jump) {
if ((_root.pactime > 0) && (_currentframe < 2)) {
suddenup = suddenup - su;
_y = (_y - suddenup);
if (suddenup < -19) {
suddenup = -19;
}
_root.test = suddenup;
if (_root.test < 0) {
_root.ftest = "yes";
} else {
_root.ftest = "no";
}
if (_y > 508.2) {
_root.smoke._x = _x;
_root.smoke.play();
_y = 508.2;
jump = false;
_root.ftest = "no";
}
}
}
}
Instance of Symbol 187 MovieClip in Frame 330
onClipEvent (enterFrame) {
if (_root.nopac <= 0) {
this.stop();
_root.alldie.play();
}
if (_root.pactime <= 0) {
with (_root.player) {
jump = false;
_root.smoke._visible = false;
suddenup = 0;
su = 0;
gleft = 0;
gright = 0;
play();
}
}
}
Frame 331
stop();
Frame 332
stop();
_root.pactime = 30;
_root.nopac = 3;
Instance of Symbol 267 MovieClip "button3" in Frame 332
onClipEvent (enterFrame) {
with (_root.player) {
if (this.hittest(_x, getBounds(_root).yMax, true)) {
if ((_root.ftest == "yes") and (this._currentframe == 1)) {
this.play();
suddenup = 25;
su = 3;
jump = true;
_root.nopac--;
} else if (_root.ftest == "yes") {
this.play();
suddenup = 25;
su = 3;
jump = true;
_root.nopac++;
}
}
}
}
Instance of Symbol 267 MovieClip "button2" in Frame 332
onClipEvent (enterFrame) {
with (_root.player) {
if (this.hittest(_x, getBounds(_root).yMax, true)) {
if ((_root.ftest == "yes") and (this._currentframe == 1)) {
this.play();
suddenup = 25;
su = 3;
jump = true;
_root.nopac--;
} else if (_root.ftest == "yes") {
this.play();
suddenup = 25;
su = 3;
jump = true;
_root.nopac++;
}
}
}
}
Instance of Symbol 267 MovieClip "button1" in Frame 332
onClipEvent (enterFrame) {
with (_root.player) {
if (this.hittest(_x, getBounds(_root).yMax, true)) {
if ((_root.ftest == "yes") and (this._currentframe == 1)) {
this.play();
suddenup = 25;
su = 3;
jump = true;
_root.nopac--;
} else if (_root.ftest == "yes") {
this.play();
suddenup = 25;
su = 3;
jump = true;
_root.nopac++;
}
}
}
}
Instance of Symbol 156 MovieClip "pacman1" in Frame 332
onClipEvent (load) {
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
}
onClipEvent (enterFrame) {
_x = (_x + goleft);
if ((this._currentframe == 34) && (_root.nopac > 0)) {
this.gotoAndStop(1);
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
}
if (_x > 580) {
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
this.pcman.gotoAndStop(random(4) + 1);
}
with (_root.player) {
if (this.pcman.hittest(_x, getBounds(_root).yMax, true)) {
if (_root.ftest == "yes") {
goleft = 0;
this.play();
suddenup = 25;
su = 3;
jump = true;
}
}
}
}
Instance of Symbol 156 MovieClip "pacman2" in Frame 332
onClipEvent (load) {
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
}
onClipEvent (enterFrame) {
_x = (_x + goleft);
if ((this._currentframe == 34) && (_root.nopac > 0)) {
this.gotoAndStop(1);
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
}
if (_x > 580) {
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
this.pcman.gotoAndStop(random(4) + 1);
}
with (_root.player) {
if (this.pcman.hittest(_x, getBounds(_root).yMax, true)) {
if (_root.ftest == "yes") {
goleft = 0;
this.play();
suddenup = 25;
su = 3;
jump = true;
}
}
}
}
Instance of Symbol 156 MovieClip "pacman3" in Frame 332
onClipEvent (load) {
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
}
onClipEvent (enterFrame) {
_x = (_x + goleft);
if ((this._currentframe == 34) && (_root.nopac > 0)) {
this.gotoAndStop(1);
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
}
if (_x > 580) {
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
this.pcman.gotoAndStop(random(4) + 1);
}
with (_root.player) {
if (this.pcman.hittest(_x, getBounds(_root).yMax, true)) {
if (_root.ftest == "yes") {
goleft = 0;
this.play();
suddenup = 25;
su = 3;
jump = true;
}
}
}
}
Instance of Symbol 156 MovieClip "pacman9" in Frame 332
onClipEvent (load) {
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
}
onClipEvent (enterFrame) {
_x = (_x + goleft);
if ((this._currentframe == 34) && (_root.nopac > 0)) {
this.gotoAndStop(1);
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
}
if (_x > 580) {
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
this.pcman.gotoAndStop(random(4) + 1);
}
with (_root.player) {
if (this.pcman.hittest(_x, getBounds(_root).yMax, true)) {
if (_root.ftest == "yes") {
goleft = 0;
this.play();
suddenup = 25;
su = 3;
jump = true;
}
}
}
}
Instance of Symbol 156 MovieClip "pacman4" in Frame 332
onClipEvent (load) {
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
}
onClipEvent (enterFrame) {
_x = (_x + goleft);
if ((this._currentframe == 34) && (_root.nopac > 0)) {
this.gotoAndStop(1);
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
}
if (_x > 580) {
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
this.pcman.gotoAndStop(random(4) + 1);
}
with (_root.player) {
if (this.pcman.hittest(_x, getBounds(_root).yMax, true)) {
if (_root.ftest == "yes") {
goleft = 0;
this.play();
suddenup = 25;
su = 3;
jump = true;
}
}
}
}
Instance of Symbol 156 MovieClip "pacman7" in Frame 332
onClipEvent (load) {
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
}
onClipEvent (enterFrame) {
_x = (_x + goleft);
if ((this._currentframe == 34) && (_root.nopac > 0)) {
this.gotoAndStop(1);
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
}
if (_x > 580) {
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
this.pcman.gotoAndStop(random(4) + 1);
}
with (_root.player) {
if (this.pcman.hittest(_x, getBounds(_root).yMax, true)) {
if (_root.ftest == "yes") {
goleft = 0;
this.play();
suddenup = 25;
su = 3;
jump = true;
}
}
}
}
Instance of Symbol 156 MovieClip "pacman6" in Frame 332
onClipEvent (load) {
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
}
onClipEvent (enterFrame) {
_x = (_x + goleft);
if ((this._currentframe == 34) && (_root.nopac > 0)) {
this.gotoAndStop(1);
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
}
if (_x > 580) {
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
this.pcman.gotoAndStop(random(4) + 1);
}
with (_root.player) {
if (this.pcman.hittest(_x, getBounds(_root).yMax, true)) {
if (_root.ftest == "yes") {
goleft = 0;
this.play();
suddenup = 25;
su = 3;
jump = true;
}
}
}
}
Instance of Symbol 156 MovieClip "pacman5" in Frame 332
onClipEvent (load) {
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
}
onClipEvent (enterFrame) {
_x = (_x + goleft);
if ((this._currentframe == 34) && (_root.nopac > 0)) {
this.gotoAndStop(1);
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
}
if (_x > 580) {
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
this.pcman.gotoAndStop(random(4) + 1);
}
with (_root.player) {
if (this.pcman.hittest(_x, getBounds(_root).yMax, true)) {
if (_root.ftest == "yes") {
goleft = 0;
this.play();
suddenup = 25;
su = 3;
jump = true;
}
}
}
}
Instance of Symbol 156 MovieClip "pacman10" in Frame 332
onClipEvent (load) {
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
}
onClipEvent (enterFrame) {
_x = (_x + goleft);
if ((this._currentframe == 34) && (_root.nopac > 0)) {
this.gotoAndStop(1);
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
}
if (_x > 580) {
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
this.pcman.gotoAndStop(random(4) + 1);
}
with (_root.player) {
if (this.pcman.hittest(_x, getBounds(_root).yMax, true)) {
if (_root.ftest == "yes") {
goleft = 0;
this.play();
suddenup = 25;
su = 3;
jump = true;
}
}
}
}
Instance of Symbol 156 MovieClip "pacman11" in Frame 332
onClipEvent (load) {
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
}
onClipEvent (enterFrame) {
_x = (_x + goleft);
if ((this._currentframe == 34) && (_root.nopac > 0)) {
this.gotoAndStop(1);
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
}
if (_x > 580) {
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
this.pcman.gotoAndStop(random(4) + 1);
}
with (_root.player) {
if (this.pcman.hittest(_x, getBounds(_root).yMax, true)) {
if (_root.ftest == "yes") {
goleft = 0;
this.play();
suddenup = 25;
su = 3;
jump = true;
}
}
}
}
Instance of Symbol 156 MovieClip "pacman12" in Frame 332
onClipEvent (load) {
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
}
onClipEvent (enterFrame) {
_x = (_x + goleft);
if ((this._currentframe == 34) && (_root.nopac > 0)) {
this.gotoAndStop(1);
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
}
if (_x > 580) {
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
this.pcman.gotoAndStop(random(4) + 1);
}
with (_root.player) {
if (this.pcman.hittest(_x, getBounds(_root).yMax, true)) {
if (_root.ftest == "yes") {
goleft = 0;
this.play();
suddenup = 25;
su = 3;
jump = true;
}
}
}
}
Instance of Symbol 156 MovieClip "pacman17" in Frame 332
onClipEvent (load) {
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
}
onClipEvent (enterFrame) {
_x = (_x + goleft);
if ((this._currentframe == 34) && (_root.nopac > 0)) {
this.gotoAndStop(1);
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
}
if (_x > 580) {
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
this.pcman.gotoAndStop(random(4) + 1);
}
with (_root.player) {
if (this.pcman.hittest(_x, getBounds(_root).yMax, true)) {
if (_root.ftest == "yes") {
goleft = 0;
this.play();
suddenup = 25;
su = 3;
jump = true;
}
}
}
}
Instance of Symbol 156 MovieClip "pacman13" in Frame 332
onClipEvent (load) {
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
}
onClipEvent (enterFrame) {
_x = (_x + goleft);
if ((this._currentframe == 34) && (_root.nopac > 0)) {
this.gotoAndStop(1);
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
}
if (_x > 580) {
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
this.pcman.gotoAndStop(random(4) + 1);
}
with (_root.player) {
if (this.pcman.hittest(_x, getBounds(_root).yMax, true)) {
if (_root.ftest == "yes") {
goleft = 0;
this.play();
suddenup = 25;
su = 3;
jump = true;
}
}
}
}
Instance of Symbol 156 MovieClip "pacman14" in Frame 332
onClipEvent (load) {
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
}
onClipEvent (enterFrame) {
_x = (_x + goleft);
if ((this._currentframe == 34) && (_root.nopac > 0)) {
this.gotoAndStop(1);
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
}
if (_x > 580) {
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
this.pcman.gotoAndStop(random(4) + 1);
}
with (_root.player) {
if (this.pcman.hittest(_x, getBounds(_root).yMax, true)) {
if (_root.ftest == "yes") {
goleft = 0;
this.play();
suddenup = 25;
su = 3;
jump = true;
}
}
}
}
Instance of Symbol 156 MovieClip "pacman8" in Frame 332
onClipEvent (load) {
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
}
onClipEvent (enterFrame) {
_x = (_x + goleft);
if ((this._currentframe == 34) && (_root.nopac > 0)) {
this.gotoAndStop(1);
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
}
if (_x > 580) {
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
this.pcman.gotoAndStop(random(4) + 1);
}
with (_root.player) {
if (this.pcman.hittest(_x, getBounds(_root).yMax, true)) {
if (_root.ftest == "yes") {
goleft = 0;
this.play();
suddenup = 25;
su = 3;
jump = true;
}
}
}
}
Instance of Symbol 156 MovieClip "pacman16" in Frame 332
onClipEvent (load) {
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
}
onClipEvent (enterFrame) {
_x = (_x + goleft);
if ((this._currentframe == 34) && (_root.nopac > 0)) {
this.gotoAndStop(1);
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
}
if (_x > 580) {
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
this.pcman.gotoAndStop(random(4) + 1);
}
with (_root.player) {
if (this.pcman.hittest(_x, getBounds(_root).yMax, true)) {
if (_root.ftest == "yes") {
goleft = 0;
this.play();
suddenup = 25;
su = 3;
jump = true;
}
}
}
}
Instance of Symbol 156 MovieClip "pacman15" in Frame 332
onClipEvent (load) {
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
}
onClipEvent (enterFrame) {
_x = (_x + goleft);
if ((this._currentframe == 34) && (_root.nopac > 0)) {
this.gotoAndStop(1);
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
}
if (_x > 580) {
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
this.pcman.gotoAndStop(random(4) + 1);
}
with (_root.player) {
if (this.pcman.hittest(_x, getBounds(_root).yMax, true)) {
if (_root.ftest == "yes") {
goleft = 0;
this.play();
suddenup = 25;
su = 3;
jump = true;
}
}
}
}
Instance of Symbol 156 MovieClip "pacman18" in Frame 332
onClipEvent (load) {
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
}
onClipEvent (enterFrame) {
_x = (_x + goleft);
if ((this._currentframe == 34) && (_root.nopac > 0)) {
this.gotoAndStop(1);
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
}
if (_x > 580) {
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
this.pcman.gotoAndStop(random(4) + 1);
}
with (_root.player) {
if (this.pcman.hittest(_x, getBounds(_root).yMax, true)) {
if (_root.ftest == "yes") {
goleft = 0;
this.play();
suddenup = 25;
su = 3;
jump = true;
}
}
}
}
Instance of Symbol 173 MovieClip "player" in Frame 332
onClipEvent (load) {
}
onClipEvent (enterFrame) {
_root.test = _x;
if (key.isdown(32) && (!jump)) {
if ((_root.pactime > 0) && (_currentframe < 2)) {
jumpsound = new Sound();
jumpsound.attachSound("jumpsnd");
jumpsound.start();
suddenup = 25;
su = 3;
jump = true;
}
}
if (key.isdown(37)) {
if ((_root.pactime > 0) && (_currentframe < 2)) {
_x = (_x - 6);
rot = 15;
this.ball._rotation = this.ball._rotation - rot;
if (_x < 215.35) {
rot = 0;
_x = 215.35;
}
}
}
if (key.isdown(39)) {
if ((_root.pactime > 0) && (_currentframe < 2)) {
_x = (_x + 6);
rot = 15;
this.ball._rotation = this.ball._rotation + rot;
if (_x > 541.35) {
rot = 0;
_x = 541.35;
}
}
}
if (jump) {
if ((_root.pactime > 0) && (_currentframe < 2)) {
suddenup = suddenup - su;
_y = (_y - suddenup);
if (suddenup < -19) {
suddenup = -19;
}
_root.test = suddenup;
if (_root.test < 0) {
_root.ftest = "yes";
} else {
_root.ftest = "no";
}
if (_y > 508.2) {
_root.smoke._x = _x;
_root.smoke.play();
_y = 508.2;
jump = false;
_root.ftest = "no";
}
}
}
}
Instance of Symbol 187 MovieClip in Frame 332
onClipEvent (enterFrame) {
if (_root.nopac <= 0) {
this.stop();
_root.alldie.play();
}
if (_root.pactime <= 0) {
with (_root.player) {
jump = false;
_root.smoke._visible = false;
suddenup = 0;
su = 0;
gleft = 0;
gright = 0;
play();
}
}
}
Frame 333
stop();
Frame 334
stop();
_root.pactime = 60;
Instance of Symbol 300 MovieClip "cball1" in Frame 334
onClipEvent (enterFrame) {
if (fall) {
sup = sup - 2;
this._y = this._y - sup;
if (_y > 508.2) {
_y = 508.2;
fall = false;
sup = 0;
this.gotoAndStop(3);
}
}
with (_root.player) {
if (this.cannon.hittest(_x, getBounds(_root).yMax, true)) {
if (_root.ftest == "yes") {
this.play();
fall = true;
suddenup = 25;
su = 3;
jump = true;
}
}
}
}
Instance of Symbol 302 MovieClip "cball2" in Frame 334
onClipEvent (enterFrame) {
if (fall) {
sup = sup - 2;
this._y = this._y - sup;
if (_y > 508.2) {
_y = 508.2;
fall = false;
sup = 0;
this.gotoAndStop(3);
}
}
with (_root.player) {
if (this.cannon.hittest(_x, getBounds(_root).yMax, true)) {
if (_root.ftest == "yes") {
this.play();
fall = true;
suddenup = 25;
su = 3;
jump = true;
}
}
}
}
Instance of Symbol 156 MovieClip "pacman4" in Frame 334
onClipEvent (load) {
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
}
onClipEvent (enterFrame) {
_x = (_x + goleft);
if ((this._currentframe == 34) && (_root.life._width > 10)) {
this.gotoAndStop(1);
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
}
if (_x > 580) {
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
this.pcman.gotoAndStop(random(4) + 1);
}
with (_root.player) {
if (this.pcman.hittest(_x, getBounds(_root).yMax, true)) {
if (_root.ftest == "yes") {
goleft = 0;
this.play();
suddenup = 25;
su = 3;
jump = true;
}
}
}
}
Instance of Symbol 156 MovieClip "pacman5" in Frame 334
onClipEvent (load) {
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
}
onClipEvent (enterFrame) {
_x = (_x + goleft);
if ((this._currentframe == 34) && (_root.life._width > 10)) {
this.gotoAndStop(1);
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
}
if (_x > 580) {
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
this.pcman.gotoAndStop(random(4) + 1);
}
with (_root.player) {
if (this.pcman.hittest(_x, getBounds(_root).yMax, true)) {
if (_root.ftest == "yes") {
goleft = 0;
this.play();
suddenup = 25;
su = 3;
jump = true;
}
}
}
}
Instance of Symbol 156 MovieClip "pacman6" in Frame 334
onClipEvent (load) {
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
}
onClipEvent (enterFrame) {
_x = (_x + goleft);
if ((this._currentframe == 34) && (_root.life._width > 10)) {
this.gotoAndStop(1);
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
}
if (_x > 580) {
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
this.pcman.gotoAndStop(random(4) + 1);
}
with (_root.player) {
if (this.pcman.hittest(_x, getBounds(_root).yMax, true)) {
if (_root.ftest == "yes") {
goleft = 0;
this.play();
suddenup = 25;
su = 3;
jump = true;
}
}
}
}
Instance of Symbol 156 MovieClip "pacman3" in Frame 334
onClipEvent (load) {
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
}
onClipEvent (enterFrame) {
_x = (_x + goleft);
if ((this._currentframe == 34) && (_root.life._width > 10)) {
this.gotoAndStop(1);
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
}
if (_x > 580) {
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
this.pcman.gotoAndStop(random(4) + 1);
}
with (_root.player) {
if (this.pcman.hittest(_x, getBounds(_root).yMax, true)) {
if (_root.ftest == "yes") {
goleft = 0;
this.play();
suddenup = 25;
su = 3;
jump = true;
}
}
}
}
Instance of Symbol 156 MovieClip "pacman2" in Frame 334
onClipEvent (load) {
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
}
onClipEvent (enterFrame) {
_x = (_x + goleft);
if ((this._currentframe == 34) && (_root.life._width > 10)) {
this.gotoAndStop(1);
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
}
if (_x > 580) {
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
this.pcman.gotoAndStop(random(4) + 1);
}
with (_root.player) {
if (this.pcman.hittest(_x, getBounds(_root).yMax, true)) {
if (_root.ftest == "yes") {
goleft = 0;
this.play();
suddenup = 25;
su = 3;
jump = true;
}
}
}
}
Instance of Symbol 156 MovieClip "pacman1" in Frame 334
onClipEvent (load) {
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
}
onClipEvent (enterFrame) {
_x = (_x + goleft);
if ((this._currentframe == 34) && (_root.life._width > 10)) {
this.gotoAndStop(1);
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
}
if (_x > 580) {
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
this.pcman.gotoAndStop(random(4) + 1);
}
with (_root.player) {
if (this.pcman.hittest(_x, getBounds(_root).yMax, true)) {
if (_root.ftest == "yes") {
goleft = 0;
this.play();
suddenup = 25;
su = 3;
jump = true;
}
}
}
}
Instance of Symbol 156 MovieClip "pacman7" in Frame 334
onClipEvent (load) {
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
}
onClipEvent (enterFrame) {
_x = (_x + goleft);
if ((this._currentframe == 34) && (_root.life._width > 10)) {
this.gotoAndStop(1);
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
}
if (_x > 580) {
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
this.pcman.gotoAndStop(random(4) + 1);
}
with (_root.player) {
if (this.pcman.hittest(_x, getBounds(_root).yMax, true)) {
if (_root.ftest == "yes") {
goleft = 0;
this.play();
suddenup = 25;
su = 3;
jump = true;
}
}
}
}
Instance of Symbol 156 MovieClip "pacman8" in Frame 334
onClipEvent (load) {
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
}
onClipEvent (enterFrame) {
_x = (_x + goleft);
if ((this._currentframe == 34) && (_root.life._width > 10)) {
this.gotoAndStop(1);
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
}
if (_x > 580) {
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
this.pcman.gotoAndStop(random(4) + 1);
}
with (_root.player) {
if (this.pcman.hittest(_x, getBounds(_root).yMax, true)) {
if (_root.ftest == "yes") {
goleft = 0;
this.play();
suddenup = 25;
su = 3;
jump = true;
}
}
}
}
Instance of Symbol 156 MovieClip "pacman11" in Frame 334
onClipEvent (load) {
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
}
onClipEvent (enterFrame) {
_x = (_x + goleft);
if ((this._currentframe == 34) && (_root.life._width > 10)) {
this.gotoAndStop(1);
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
}
if (_x > 580) {
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
this.pcman.gotoAndStop(random(4) + 1);
}
with (_root.player) {
if (this.pcman.hittest(_x, getBounds(_root).yMax, true)) {
if (_root.ftest == "yes") {
goleft = 0;
this.play();
suddenup = 25;
su = 3;
jump = true;
}
}
}
}
Instance of Symbol 156 MovieClip "pacman9" in Frame 334
onClipEvent (load) {
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
}
onClipEvent (enterFrame) {
_x = (_x + goleft);
if ((this._currentframe == 34) && (_root.life._width > 10)) {
this.gotoAndStop(1);
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
}
if (_x > 580) {
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
this.pcman.gotoAndStop(random(4) + 1);
}
with (_root.player) {
if (this.pcman.hittest(_x, getBounds(_root).yMax, true)) {
if (_root.ftest == "yes") {
goleft = 0;
this.play();
suddenup = 25;
su = 3;
jump = true;
}
}
}
}
Instance of Symbol 156 MovieClip "pacman10" in Frame 334
onClipEvent (load) {
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
}
onClipEvent (enterFrame) {
_x = (_x + goleft);
if ((this._currentframe == 34) && (_root.life._width > 10)) {
this.gotoAndStop(1);
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
}
if (_x > 580) {
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
this.pcman.gotoAndStop(random(4) + 1);
}
with (_root.player) {
if (this.pcman.hittest(_x, getBounds(_root).yMax, true)) {
if (_root.ftest == "yes") {
goleft = 0;
this.play();
suddenup = 25;
su = 3;
jump = true;
}
}
}
}
Instance of Symbol 310 MovieClip in Frame 334
onClipEvent (enterFrame) {
with (_root.player) {
if (this.hittest(_x, getBounds(_root).yMax, true)) {
if ((_root.ftest == "yes") && (_currentframe < 2)) {
this.play();
suddenup = 25;
su = 3;
jump = true;
}
}
}
}
Instance of Symbol 359 MovieClip "kingpacman" in Frame 334
onClipEvent (load) {
allkingspeed = 3;
rkingspeed = allkingspeed;
goright = true;
}
onClipEvent (enterFrame) {
_root.lspeeds = goleft;
_root.rspeeds = goright;
with (_root.cball1) {
if (this.hittest(_x, getBounds(_root).yMax + 20, true)) {
if ((this._currentframe == 1) && (_root.life._width <= 0)) {
this.gotoAndStop(6);
this.goleft = false;
this.goright = false;
this.allkingspeed = 0;
} else if ((this._currentframe == 2) && (_root.life._width <= 0)) {
this.gotoAndStop(5);
this.goleft = false;
this.goright = false;
this.allkingspeed = 0;
}
if (this._currentframe == 1) {
allkingspeed = allkingspeed + 0.5;
fall = false;
sup = 0;
gotoAndStop(3);
goleft = false;
this.gotoAndStop(4);
_root.life._width = int(_root.life._width) - 50;
} else if (this._currentframe == 2) {
allkingspeed = allkingspeed + 0.5;
fall = false;
sup = 0;
gotoAndStop(3);
goright = false;
this.gotoAndStop(3);
_root.life._width = int(_root.life._width) - 50;
}
}
}
with (_root.cball2) {
if (this.hittest(_x, getBounds(_root).yMax + 20, true)) {
if (this._currentframe == 1) {
allkingspeed = allkingspeed + 0.5;
fall = false;
sup = 0;
gotoAndStop(3);
goleft = false;
this.gotoAndStop(4);
_root.life._width = int(_root.life._width) - 50;
} else if (this._currentframe == 2) {
allkingspeed = allkingspeed + 0.5;
fall = false;
sup = 0;
gotoAndStop(3);
goright = false;
this.gotoAndStop(3);
_root.life._width = int(_root.life._width) - 50;
}
}
}
with (_root.player) {
if (this.hittest(getBounds(_root).xMax - 40, _y, true)) {
jump = false;
_root.smoke._visible = false;
suddenup = 0;
su = 0;
gleft = 0;
gright = 0;
play();
}
if (this.hittest(getBounds(_root).xMin + 40, _y, true)) {
jump = false;
_root.smoke._visible = false;
suddenup = 0;
su = 0;
gleft = 0;
gright = 0;
play();
}
if (this.hittest(_x, getBounds(_root).yMax - 40, true)) {
jump = false;
_root.smoke._visible = false;
suddenup = 0;
su = 0;
gleft = 0;
gright = 0;
play();
}
if (this.hittest(_x, getBounds(_root).yMin + 40, true)) {
jump = false;
_root.smoke._visible = false;
suddenup = 0;
su = 0;
gleft = 0;
gright = 0;
play();
}
}
if (goright) {
lkingspeed = 0;
rkingspeed = allkingspeed;
_x = (_x + rkingspeed);
}
if (goleft) {
rkingspeed = 0;
lkingspeed = allkingspeed;
_x = (_x - lkingspeed);
}
if (_x > 624.5) {
goright = false;
goleft = true;
this.gotoAndStop(2);
}
if (_x < 140.2) {
goleft = false;
goright = true;
this.gotoAndStop(1);
}
}
Instance of Symbol 173 MovieClip "player" in Frame 334
onClipEvent (load) {
}
onClipEvent (enterFrame) {
if (key.isdown(32) && (!jump)) {
if ((_root.pactime > 0) && (_currentframe < 2)) {
jumpsound = new Sound();
jumpsound.attachSound("jumpsnd");
jumpsound.start();
suddenup = 25;
su = 3;
jump = true;
}
}
if (key.isdown(37)) {
if ((_root.pactime > 0) && (_currentframe < 2)) {
_x = (_x - 6);
rot = 15;
this.ball._rotation = this.ball._rotation - rot;
if (_x < 215.35) {
rot = 0;
_x = 215.35;
}
}
}
if (key.isdown(39)) {
if ((_root.pactime > 0) && (_currentframe < 2)) {
_x = (_x + 6);
rot = 15;
this.ball._rotation = this.ball._rotation + rot;
if (_x > 541.35) {
rot = 0;
_x = 541.35;
}
}
}
if (jump) {
if ((_root.pactime > 0) && (_currentframe < 2)) {
suddenup = suddenup - su;
_y = (_y - suddenup);
if (suddenup < -19) {
suddenup = -19;
}
_root.test = suddenup;
if (_root.test < 0) {
_root.ftest = "yes";
} else {
_root.ftest = "no";
}
if (_y > 508.2) {
_root.smoke._x = _x;
_root.smoke.play();
_y = 508.2;
jump = false;
_root.ftest = "no";
}
}
}
}
Instance of Symbol 187 MovieClip "timeadd" in Frame 334
onClipEvent (enterFrame) {
with (_root.kingpacman) {
if ((_currentframe == 1) && (_root.life._width <= 10)) {
_root.life._visible = false;
gotoAndStop(5);
goleft = false;
tgoright = false;
allkingspeed = 0;
} else if ((_currentframe == 2) && (_root.life._width <= 10)) {
_root.life._visible = false;
gotoAndStop(6);
goleft = false;
goright = false;
allkingspeed = 0;
}
}
if (_root.pactime <= 0) {
with (_root.player) {
jump = false;
_root.smoke._visible = false;
suddenup = 0;
su = 0;
gleft = 0;
gright = 0;
play();
}
}
}
Frame 524
stop();
Frame 525
stop();
Instance of Symbol 310 MovieClip in Frame 525
onClipEvent (enterFrame) {
with (_root.player) {
if (this.hittest(_x, getBounds(_root).yMax, true)) {
if ((_root.ftest == "yes") && (_currentframe < 2)) {
this.play();
suddenup = 25;
su = 3;
jump = true;
}
}
}
}
Instance of Symbol 310 MovieClip in Frame 525
onClipEvent (enterFrame) {
with (_root.player) {
if (this.hittest(_x, getBounds(_root).yMax, true)) {
if ((_root.ftest == "yes") && (_currentframe < 2)) {
this.play();
suddenup = 25;
su = 3;
jump = true;
}
}
}
}
Instance of Symbol 310 MovieClip in Frame 525
onClipEvent (enterFrame) {
with (_root.player) {
if (this.hittest(_x, getBounds(_root).yMax, true)) {
if ((_root.ftest == "yes") && (_currentframe < 2)) {
this.play();
suddenup = 25;
su = 3;
jump = true;
}
}
}
}
Instance of Symbol 310 MovieClip in Frame 525
onClipEvent (enterFrame) {
with (_root.player) {
if (this.hittest(_x, getBounds(_root).yMax, true)) {
if ((_root.ftest == "yes") && (_currentframe < 2)) {
this.play();
suddenup = 25;
su = 3;
jump = true;
}
}
}
}
Instance of Symbol 310 MovieClip in Frame 525
onClipEvent (enterFrame) {
with (_root.player) {
if (this.hittest(_x, getBounds(_root).yMax, true)) {
if ((_root.ftest == "yes") && (_currentframe < 2)) {
this.play();
suddenup = 25;
su = 3;
jump = true;
}
}
}
}
Instance of Symbol 310 MovieClip in Frame 525
onClipEvent (enterFrame) {
with (_root.player) {
if (this.hittest(_x, getBounds(_root).yMax, true)) {
if ((_root.ftest == "yes") && (_currentframe < 2)) {
this.play();
suddenup = 25;
su = 3;
jump = true;
}
}
}
}
Instance of Symbol 310 MovieClip in Frame 525
onClipEvent (enterFrame) {
with (_root.player) {
if (this.hittest(_x, getBounds(_root).yMax, true)) {
if ((_root.ftest == "yes") && (_currentframe < 2)) {
this.play();
suddenup = 25;
su = 3;
jump = true;
}
}
}
}
Instance of Symbol 310 MovieClip in Frame 525
onClipEvent (enterFrame) {
with (_root.player) {
if (this.hittest(_x, getBounds(_root).yMax, true)) {
if ((_root.ftest == "yes") && (_currentframe < 2)) {
this.play();
suddenup = 25;
su = 3;
jump = true;
}
}
}
}
Instance of Symbol 156 MovieClip "pacman1" in Frame 525
onClipEvent (load) {
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
}
onClipEvent (enterFrame) {
_x = (_x + goleft);
if ((this._currentframe == 34) && (_root.nopac > 0)) {
this.gotoAndStop(1);
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
}
if (_x > 580) {
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
this.pcman.gotoAndStop(random(4) + 1);
}
with (_root.player) {
if (this.pcman.hittest(_x, getBounds(_root).yMax, true)) {
if (_root.ftest == "yes") {
goleft = 0;
this.play();
suddenup = 25;
su = 3;
jump = true;
}
}
}
}
Instance of Symbol 156 MovieClip "pacman2" in Frame 525
onClipEvent (load) {
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
}
onClipEvent (enterFrame) {
_x = (_x + goleft);
if ((this._currentframe == 34) && (_root.nopac > 0)) {
this.gotoAndStop(1);
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
}
if (_x > 580) {
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
this.pcman.gotoAndStop(random(4) + 1);
}
with (_root.player) {
if (this.pcman.hittest(_x, getBounds(_root).yMax, true)) {
if (_root.ftest == "yes") {
goleft = 0;
this.play();
suddenup = 25;
su = 3;
jump = true;
}
}
}
}
Instance of Symbol 156 MovieClip "pacman3" in Frame 525
onClipEvent (load) {
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
}
onClipEvent (enterFrame) {
_x = (_x + goleft);
if ((this._currentframe == 34) && (_root.nopac > 0)) {
this.gotoAndStop(1);
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
}
if (_x > 580) {
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
this.pcman.gotoAndStop(random(4) + 1);
}
with (_root.player) {
if (this.pcman.hittest(_x, getBounds(_root).yMax, true)) {
if (_root.ftest == "yes") {
goleft = 0;
this.play();
suddenup = 25;
su = 3;
jump = true;
}
}
}
}
Instance of Symbol 156 MovieClip "pacman9" in Frame 525
onClipEvent (load) {
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
}
onClipEvent (enterFrame) {
_x = (_x + goleft);
if ((this._currentframe == 34) && (_root.nopac > 0)) {
this.gotoAndStop(1);
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
}
if (_x > 580) {
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
this.pcman.gotoAndStop(random(4) + 1);
}
with (_root.player) {
if (this.pcman.hittest(_x, getBounds(_root).yMax, true)) {
if (_root.ftest == "yes") {
goleft = 0;
this.play();
suddenup = 25;
su = 3;
jump = true;
}
}
}
}
Instance of Symbol 156 MovieClip "pacman4" in Frame 525
onClipEvent (load) {
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
}
onClipEvent (enterFrame) {
_x = (_x + goleft);
if ((this._currentframe == 34) && (_root.nopac > 0)) {
this.gotoAndStop(1);
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
}
if (_x > 580) {
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
this.pcman.gotoAndStop(random(4) + 1);
}
with (_root.player) {
if (this.pcman.hittest(_x, getBounds(_root).yMax, true)) {
if (_root.ftest == "yes") {
goleft = 0;
this.play();
suddenup = 25;
su = 3;
jump = true;
}
}
}
}
Instance of Symbol 156 MovieClip "pacman7" in Frame 525
onClipEvent (load) {
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
}
onClipEvent (enterFrame) {
_x = (_x + goleft);
if ((this._currentframe == 34) && (_root.nopac > 0)) {
this.gotoAndStop(1);
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
}
if (_x > 580) {
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
this.pcman.gotoAndStop(random(4) + 1);
}
with (_root.player) {
if (this.pcman.hittest(_x, getBounds(_root).yMax, true)) {
if (_root.ftest == "yes") {
goleft = 0;
this.play();
suddenup = 25;
su = 3;
jump = true;
}
}
}
}
Instance of Symbol 156 MovieClip "pacman6" in Frame 525
onClipEvent (load) {
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
}
onClipEvent (enterFrame) {
_x = (_x + goleft);
if ((this._currentframe == 34) && (_root.nopac > 0)) {
this.gotoAndStop(1);
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
}
if (_x > 580) {
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
this.pcman.gotoAndStop(random(4) + 1);
}
with (_root.player) {
if (this.pcman.hittest(_x, getBounds(_root).yMax, true)) {
if (_root.ftest == "yes") {
goleft = 0;
this.play();
suddenup = 25;
su = 3;
jump = true;
}
}
}
}
Instance of Symbol 156 MovieClip "pacman5" in Frame 525
onClipEvent (load) {
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
}
onClipEvent (enterFrame) {
_x = (_x + goleft);
if ((this._currentframe == 34) && (_root.nopac > 0)) {
this.gotoAndStop(1);
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
}
if (_x > 580) {
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
this.pcman.gotoAndStop(random(4) + 1);
}
with (_root.player) {
if (this.pcman.hittest(_x, getBounds(_root).yMax, true)) {
if (_root.ftest == "yes") {
goleft = 0;
this.play();
suddenup = 25;
su = 3;
jump = true;
}
}
}
}
Instance of Symbol 156 MovieClip "pacman10" in Frame 525
onClipEvent (load) {
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
}
onClipEvent (enterFrame) {
_x = (_x + goleft);
if ((this._currentframe == 34) && (_root.nopac > 0)) {
this.gotoAndStop(1);
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
}
if (_x > 580) {
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
this.pcman.gotoAndStop(random(4) + 1);
}
with (_root.player) {
if (this.pcman.hittest(_x, getBounds(_root).yMax, true)) {
if (_root.ftest == "yes") {
goleft = 0;
this.play();
suddenup = 25;
su = 3;
jump = true;
}
}
}
}
Instance of Symbol 156 MovieClip "pacman11" in Frame 525
onClipEvent (load) {
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
}
onClipEvent (enterFrame) {
_x = (_x + goleft);
if ((this._currentframe == 34) && (_root.nopac > 0)) {
this.gotoAndStop(1);
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
}
if (_x > 580) {
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
this.pcman.gotoAndStop(random(4) + 1);
}
with (_root.player) {
if (this.pcman.hittest(_x, getBounds(_root).yMax, true)) {
if (_root.ftest == "yes") {
goleft = 0;
this.play();
suddenup = 25;
su = 3;
jump = true;
}
}
}
}
Instance of Symbol 156 MovieClip "pacman12" in Frame 525
onClipEvent (load) {
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
}
onClipEvent (enterFrame) {
_x = (_x + goleft);
if ((this._currentframe == 34) && (_root.nopac > 0)) {
this.gotoAndStop(1);
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
}
if (_x > 580) {
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
this.pcman.gotoAndStop(random(4) + 1);
}
with (_root.player) {
if (this.pcman.hittest(_x, getBounds(_root).yMax, true)) {
if (_root.ftest == "yes") {
goleft = 0;
this.play();
suddenup = 25;
su = 3;
jump = true;
}
}
}
}
Instance of Symbol 156 MovieClip "pacman17" in Frame 525
onClipEvent (load) {
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
}
onClipEvent (enterFrame) {
_x = (_x + goleft);
if ((this._currentframe == 34) && (_root.nopac > 0)) {
this.gotoAndStop(1);
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
}
if (_x > 580) {
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
this.pcman.gotoAndStop(random(4) + 1);
}
with (_root.player) {
if (this.pcman.hittest(_x, getBounds(_root).yMax, true)) {
if (_root.ftest == "yes") {
goleft = 0;
this.play();
suddenup = 25;
su = 3;
jump = true;
}
}
}
}
Instance of Symbol 156 MovieClip "pacman13" in Frame 525
onClipEvent (load) {
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
}
onClipEvent (enterFrame) {
_x = (_x + goleft);
if ((this._currentframe == 34) && (_root.nopac > 0)) {
this.gotoAndStop(1);
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
}
if (_x > 580) {
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
this.pcman.gotoAndStop(random(4) + 1);
}
with (_root.player) {
if (this.pcman.hittest(_x, getBounds(_root).yMax, true)) {
if (_root.ftest == "yes") {
goleft = 0;
this.play();
suddenup = 25;
su = 3;
jump = true;
}
}
}
}
Instance of Symbol 156 MovieClip "pacman14" in Frame 525
onClipEvent (load) {
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
}
onClipEvent (enterFrame) {
_x = (_x + goleft);
if ((this._currentframe == 34) && (_root.nopac > 0)) {
this.gotoAndStop(1);
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
}
if (_x > 580) {
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
this.pcman.gotoAndStop(random(4) + 1);
}
with (_root.player) {
if (this.pcman.hittest(_x, getBounds(_root).yMax, true)) {
if (_root.ftest == "yes") {
goleft = 0;
this.play();
suddenup = 25;
su = 3;
jump = true;
}
}
}
}
Instance of Symbol 156 MovieClip "pacman8" in Frame 525
onClipEvent (load) {
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
}
onClipEvent (enterFrame) {
_x = (_x + goleft);
if ((this._currentframe == 34) && (_root.nopac > 0)) {
this.gotoAndStop(1);
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
}
if (_x > 580) {
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
this.pcman.gotoAndStop(random(4) + 1);
}
with (_root.player) {
if (this.pcman.hittest(_x, getBounds(_root).yMax, true)) {
if (_root.ftest == "yes") {
goleft = 0;
this.play();
suddenup = 25;
su = 3;
jump = true;
}
}
}
}
Instance of Symbol 156 MovieClip "pacman16" in Frame 525
onClipEvent (load) {
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
}
onClipEvent (enterFrame) {
_x = (_x + goleft);
if ((this._currentframe == 34) && (_root.nopac > 0)) {
this.gotoAndStop(1);
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
}
if (_x > 580) {
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
this.pcman.gotoAndStop(random(4) + 1);
}
with (_root.player) {
if (this.pcman.hittest(_x, getBounds(_root).yMax, true)) {
if (_root.ftest == "yes") {
goleft = 0;
this.play();
suddenup = 25;
su = 3;
jump = true;
}
}
}
}
Instance of Symbol 156 MovieClip "pacman15" in Frame 525
onClipEvent (load) {
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
}
onClipEvent (enterFrame) {
_x = (_x + goleft);
if ((this._currentframe == 34) && (_root.nopac > 0)) {
this.gotoAndStop(1);
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
}
if (_x > 580) {
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
this.pcman.gotoAndStop(random(4) + 1);
}
with (_root.player) {
if (this.pcman.hittest(_x, getBounds(_root).yMax, true)) {
if (_root.ftest == "yes") {
goleft = 0;
this.play();
suddenup = 25;
su = 3;
jump = true;
}
}
}
}
Instance of Symbol 156 MovieClip "pacman18" in Frame 525
onClipEvent (load) {
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
}
onClipEvent (enterFrame) {
_x = (_x + goleft);
if ((this._currentframe == 34) && (_root.nopac > 0)) {
this.gotoAndStop(1);
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
}
if (_x > 580) {
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
this.pcman.gotoAndStop(random(4) + 1);
}
with (_root.player) {
if (this.pcman.hittest(_x, getBounds(_root).yMax, true)) {
if (_root.ftest == "yes") {
goleft = 0;
this.play();
suddenup = 25;
su = 3;
jump = true;
}
}
}
}
Instance of Symbol 173 MovieClip "player" in Frame 525
onClipEvent (load) {
}
onClipEvent (enterFrame) {
_root.test = _x;
if (key.isdown(32) && (!jump)) {
jumpsound = new Sound();
jumpsound.attachSound("jumpsnd");
jumpsound.start();
suddenup = 25;
su = 3;
jump = true;
}
if (key.isdown(37)) {
_x = (_x - 6);
rot = 15;
this.ball._rotation = this.ball._rotation - rot;
if (_x < 215.35) {
rot = 0;
_x = 215.35;
}
}
if (key.isdown(39)) {
_x = (_x + 6);
rot = 15;
this.ball._rotation = this.ball._rotation + rot;
if (_x > 541.35) {
rot = 0;
_x = 541.35;
}
}
if (jump) {
suddenup = suddenup - su;
_y = (_y - suddenup);
if (suddenup < -19) {
suddenup = -19;
}
_root.test = suddenup;
if (_root.test < 0) {
_root.ftest = "yes";
} else {
_root.ftest = "no";
}
if (_y > 508.2) {
_root.smoke._x = _x;
_root.smoke.play();
_y = 508.2;
jump = false;
_root.ftest = "no";
}
}
}
Frame 526
_root.tyme1 = 0;
_root.tyme2 = 0;
_root.tyme3 = 0;
_root.tyme4 = 0;
stop();
Instance of Symbol 156 MovieClip "pacman1" in Frame 526
onClipEvent (load) {
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
}
onClipEvent (enterFrame) {
_x = (_x + goleft);
if ((this._currentframe == 34) && (_root.nopac > 0)) {
this.gotoAndStop(1);
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
}
if (_x > 580) {
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
this.pcman.gotoAndStop(random(4) + 1);
}
with (_root.player) {
if (this.pcman.hittest(_x, getBounds(_root).yMax, true)) {
if (_root.ftest == "yes") {
goleft = 0;
this.play();
suddenup = 25;
su = 3;
jump = true;
}
}
}
}
Instance of Symbol 156 MovieClip "pacman2" in Frame 526
onClipEvent (load) {
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
}
onClipEvent (enterFrame) {
_x = (_x + goleft);
if ((this._currentframe == 34) && (_root.nopac > 0)) {
this.gotoAndStop(1);
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
}
if (_x > 580) {
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
this.pcman.gotoAndStop(random(4) + 1);
}
with (_root.player) {
if (this.pcman.hittest(_x, getBounds(_root).yMax, true)) {
if (_root.ftest == "yes") {
goleft = 0;
this.play();
suddenup = 25;
su = 3;
jump = true;
}
}
}
}
Instance of Symbol 156 MovieClip "pacman3" in Frame 526
onClipEvent (load) {
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
}
onClipEvent (enterFrame) {
_x = (_x + goleft);
if ((this._currentframe == 34) && (_root.nopac > 0)) {
this.gotoAndStop(1);
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
}
if (_x > 580) {
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
this.pcman.gotoAndStop(random(4) + 1);
}
with (_root.player) {
if (this.pcman.hittest(_x, getBounds(_root).yMax, true)) {
if (_root.ftest == "yes") {
goleft = 0;
this.play();
suddenup = 25;
su = 3;
jump = true;
}
}
}
}
Instance of Symbol 156 MovieClip "pacman9" in Frame 526
onClipEvent (load) {
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
}
onClipEvent (enterFrame) {
_x = (_x + goleft);
if ((this._currentframe == 34) && (_root.nopac > 0)) {
this.gotoAndStop(1);
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
}
if (_x > 580) {
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
this.pcman.gotoAndStop(random(4) + 1);
}
with (_root.player) {
if (this.pcman.hittest(_x, getBounds(_root).yMax, true)) {
if (_root.ftest == "yes") {
goleft = 0;
this.play();
suddenup = 25;
su = 3;
jump = true;
}
}
}
}
Instance of Symbol 156 MovieClip "pacman4" in Frame 526
onClipEvent (load) {
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
}
onClipEvent (enterFrame) {
_x = (_x + goleft);
if ((this._currentframe == 34) && (_root.nopac > 0)) {
this.gotoAndStop(1);
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
}
if (_x > 580) {
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
this.pcman.gotoAndStop(random(4) + 1);
}
with (_root.player) {
if (this.pcman.hittest(_x, getBounds(_root).yMax, true)) {
if (_root.ftest == "yes") {
goleft = 0;
this.play();
suddenup = 25;
su = 3;
jump = true;
}
}
}
}
Instance of Symbol 156 MovieClip "pacman7" in Frame 526
onClipEvent (load) {
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
}
onClipEvent (enterFrame) {
_x = (_x + goleft);
if ((this._currentframe == 34) && (_root.nopac > 0)) {
this.gotoAndStop(1);
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
}
if (_x > 580) {
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
this.pcman.gotoAndStop(random(4) + 1);
}
with (_root.player) {
if (this.pcman.hittest(_x, getBounds(_root).yMax, true)) {
if (_root.ftest == "yes") {
goleft = 0;
this.play();
suddenup = 25;
su = 3;
jump = true;
}
}
}
}
Instance of Symbol 156 MovieClip "pacman6" in Frame 526
onClipEvent (load) {
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
}
onClipEvent (enterFrame) {
_x = (_x + goleft);
if ((this._currentframe == 34) && (_root.nopac > 0)) {
this.gotoAndStop(1);
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
}
if (_x > 580) {
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
this.pcman.gotoAndStop(random(4) + 1);
}
with (_root.player) {
if (this.pcman.hittest(_x, getBounds(_root).yMax, true)) {
if (_root.ftest == "yes") {
goleft = 0;
this.play();
suddenup = 25;
su = 3;
jump = true;
}
}
}
}
Instance of Symbol 156 MovieClip "pacman5" in Frame 526
onClipEvent (load) {
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
}
onClipEvent (enterFrame) {
_x = (_x + goleft);
if ((this._currentframe == 34) && (_root.nopac > 0)) {
this.gotoAndStop(1);
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
}
if (_x > 580) {
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
this.pcman.gotoAndStop(random(4) + 1);
}
with (_root.player) {
if (this.pcman.hittest(_x, getBounds(_root).yMax, true)) {
if (_root.ftest == "yes") {
goleft = 0;
this.play();
suddenup = 25;
su = 3;
jump = true;
}
}
}
}
Instance of Symbol 156 MovieClip "pacman10" in Frame 526
onClipEvent (load) {
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
}
onClipEvent (enterFrame) {
_x = (_x + goleft);
if ((this._currentframe == 34) && (_root.nopac > 0)) {
this.gotoAndStop(1);
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
}
if (_x > 580) {
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
this.pcman.gotoAndStop(random(4) + 1);
}
with (_root.player) {
if (this.pcman.hittest(_x, getBounds(_root).yMax, true)) {
if (_root.ftest == "yes") {
goleft = 0;
this.play();
suddenup = 25;
su = 3;
jump = true;
}
}
}
}
Instance of Symbol 156 MovieClip "pacman11" in Frame 526
onClipEvent (load) {
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
}
onClipEvent (enterFrame) {
_x = (_x + goleft);
if ((this._currentframe == 34) && (_root.nopac > 0)) {
this.gotoAndStop(1);
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
}
if (_x > 580) {
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
this.pcman.gotoAndStop(random(4) + 1);
}
with (_root.player) {
if (this.pcman.hittest(_x, getBounds(_root).yMax, true)) {
if (_root.ftest == "yes") {
goleft = 0;
this.play();
suddenup = 25;
su = 3;
jump = true;
}
}
}
}
Instance of Symbol 156 MovieClip "pacman12" in Frame 526
onClipEvent (load) {
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
}
onClipEvent (enterFrame) {
_x = (_x + goleft);
if ((this._currentframe == 34) && (_root.nopac > 0)) {
this.gotoAndStop(1);
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
}
if (_x > 580) {
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
this.pcman.gotoAndStop(random(4) + 1);
}
with (_root.player) {
if (this.pcman.hittest(_x, getBounds(_root).yMax, true)) {
if (_root.ftest == "yes") {
goleft = 0;
this.play();
suddenup = 25;
su = 3;
jump = true;
}
}
}
}
Instance of Symbol 156 MovieClip "pacman17" in Frame 526
onClipEvent (load) {
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
}
onClipEvent (enterFrame) {
_x = (_x + goleft);
if ((this._currentframe == 34) && (_root.nopac > 0)) {
this.gotoAndStop(1);
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
}
if (_x > 580) {
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
this.pcman.gotoAndStop(random(4) + 1);
}
with (_root.player) {
if (this.pcman.hittest(_x, getBounds(_root).yMax, true)) {
if (_root.ftest == "yes") {
goleft = 0;
this.play();
suddenup = 25;
su = 3;
jump = true;
}
}
}
}
Instance of Symbol 156 MovieClip "pacman13" in Frame 526
onClipEvent (load) {
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
}
onClipEvent (enterFrame) {
_x = (_x + goleft);
if ((this._currentframe == 34) && (_root.nopac > 0)) {
this.gotoAndStop(1);
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
}
if (_x > 580) {
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
this.pcman.gotoAndStop(random(4) + 1);
}
with (_root.player) {
if (this.pcman.hittest(_x, getBounds(_root).yMax, true)) {
if (_root.ftest == "yes") {
goleft = 0;
this.play();
suddenup = 25;
su = 3;
jump = true;
}
}
}
}
Instance of Symbol 156 MovieClip "pacman14" in Frame 526
onClipEvent (load) {
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
}
onClipEvent (enterFrame) {
_x = (_x + goleft);
if ((this._currentframe == 34) && (_root.nopac > 0)) {
this.gotoAndStop(1);
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
}
if (_x > 580) {
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
this.pcman.gotoAndStop(random(4) + 1);
}
with (_root.player) {
if (this.pcman.hittest(_x, getBounds(_root).yMax, true)) {
if (_root.ftest == "yes") {
goleft = 0;
this.play();
suddenup = 25;
su = 3;
jump = true;
}
}
}
}
Instance of Symbol 156 MovieClip "pacman8" in Frame 526
onClipEvent (load) {
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
}
onClipEvent (enterFrame) {
_x = (_x + goleft);
if ((this._currentframe == 34) && (_root.nopac > 0)) {
this.gotoAndStop(1);
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
}
if (_x > 580) {
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
this.pcman.gotoAndStop(random(4) + 1);
}
with (_root.player) {
if (this.pcman.hittest(_x, getBounds(_root).yMax, true)) {
if (_root.ftest == "yes") {
goleft = 0;
this.play();
suddenup = 25;
su = 3;
jump = true;
}
}
}
}
Instance of Symbol 156 MovieClip "pacman16" in Frame 526
onClipEvent (load) {
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
}
onClipEvent (enterFrame) {
_x = (_x + goleft);
if ((this._currentframe == 34) && (_root.nopac > 0)) {
this.gotoAndStop(1);
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
}
if (_x > 580) {
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
this.pcman.gotoAndStop(random(4) + 1);
}
with (_root.player) {
if (this.pcman.hittest(_x, getBounds(_root).yMax, true)) {
if (_root.ftest == "yes") {
goleft = 0;
this.play();
suddenup = 25;
su = 3;
jump = true;
}
}
}
}
Instance of Symbol 156 MovieClip "pacman15" in Frame 526
onClipEvent (load) {
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
}
onClipEvent (enterFrame) {
_x = (_x + goleft);
if ((this._currentframe == 34) && (_root.nopac > 0)) {
this.gotoAndStop(1);
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
}
if (_x > 580) {
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
this.pcman.gotoAndStop(random(4) + 1);
}
with (_root.player) {
if (this.pcman.hittest(_x, getBounds(_root).yMax, true)) {
if (_root.ftest == "yes") {
goleft = 0;
this.play();
suddenup = 25;
su = 3;
jump = true;
}
}
}
}
Instance of Symbol 156 MovieClip "pacman18" in Frame 526
onClipEvent (load) {
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
}
onClipEvent (enterFrame) {
_x = (_x + goleft);
if ((this._currentframe == 34) && (_root.nopac > 0)) {
this.gotoAndStop(1);
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
}
if (_x > 580) {
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
this.pcman.gotoAndStop(random(4) + 1);
}
with (_root.player) {
if (this.pcman.hittest(_x, getBounds(_root).yMax, true)) {
if (_root.ftest == "yes") {
goleft = 0;
this.play();
suddenup = 25;
su = 3;
jump = true;
}
}
}
}
Instance of Symbol 173 MovieClip "player" in Frame 526
onClipEvent (load) {
}
onClipEvent (enterFrame) {
_root.test = _x;
if (key.isdown(32) && (!jump)) {
_root.ball.play();
_root.tyme1 = 0;
_root.tyme2 = 0;
_root.tyme3 = 0;
_root.tyme4 = 0;
jumpsound = new Sound();
jumpsound.attachSound("jumpsnd");
jumpsound.start();
suddenup = 25;
su = 3;
jump = true;
}
if (key.isdown(37)) {
_x = (_x - 6);
rot = 15;
this.ball._rotation = this.ball._rotation - rot;
if (_x < 215.35) {
rot = 0;
_x = 215.35;
}
}
if (key.isdown(39)) {
_x = (_x + 6);
rot = 15;
this.ball._rotation = this.ball._rotation + rot;
if (_x > 541.35) {
rot = 0;
_x = 541.35;
}
}
if (jump) {
suddenup = suddenup - su;
_y = (_y - suddenup);
if (suddenup < -19) {
suddenup = -19;
}
_root.test = suddenup;
if (_root.test < 0) {
_root.ftest = "yes";
} else {
_root.ftest = "no";
}
if (_y > 508.2) {
_root.ball.gotoAndStop(1);
_root.smoke._x = _x;
_root.smoke.play();
_y = 508.2;
jump = false;
_root.ftest = "no";
}
}
}
Instance of Symbol 404 MovieClip "ball" in Frame 526
onClipEvent (load) {
cnt = 0;
b = 100;
counter = 1;
_root.nohit._visible = false;
}
onClipEvent (enterFrame) {
counter = counter + 1;
if (_root.tyme4 == 20) {
_root.tyme4 = 0;
_root.tyme3++;
}
if (_root.tyme3 == 60) {
_root.tyme3 = 0;
_root.tyme2++;
}
if (_root.tyme2 == 60) {
_root.tyme2 = 0;
_root.tyme1++;
}
}
Frame 527
stop();
_root.tyme1 = 0;
_root.tyme2 = 0;
_root.tyme3 = 0;
_root.tyme4 = 0;
Instance of Symbol 156 MovieClip "pacman1" in Frame 527
onClipEvent (load) {
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
}
onClipEvent (enterFrame) {
_x = (_x + goleft);
if ((this._currentframe == 34) && (_root.nopac > 0)) {
this.gotoAndStop(1);
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
}
if (_x > 580) {
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
this.pcman.gotoAndStop(random(4) + 1);
}
with (_root.player) {
if (this.pcman.hittest(_x, getBounds(_root).yMax, true)) {
if (_root.ftest == "yes") {
goleft = 0;
this.play();
suddenup = 25;
su = 3;
jump = true;
}
}
}
}
Instance of Symbol 156 MovieClip "pacman2" in Frame 527
onClipEvent (load) {
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
}
onClipEvent (enterFrame) {
_x = (_x + goleft);
if ((this._currentframe == 34) && (_root.nopac > 0)) {
this.gotoAndStop(1);
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
}
if (_x > 580) {
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
this.pcman.gotoAndStop(random(4) + 1);
}
with (_root.player) {
if (this.pcman.hittest(_x, getBounds(_root).yMax, true)) {
if (_root.ftest == "yes") {
goleft = 0;
this.play();
suddenup = 25;
su = 3;
jump = true;
}
}
}
}
Instance of Symbol 156 MovieClip "pacman3" in Frame 527
onClipEvent (load) {
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
}
onClipEvent (enterFrame) {
_x = (_x + goleft);
if ((this._currentframe == 34) && (_root.nopac > 0)) {
this.gotoAndStop(1);
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
}
if (_x > 580) {
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
this.pcman.gotoAndStop(random(4) + 1);
}
with (_root.player) {
if (this.pcman.hittest(_x, getBounds(_root).yMax, true)) {
if (_root.ftest == "yes") {
goleft = 0;
this.play();
suddenup = 25;
su = 3;
jump = true;
}
}
}
}
Instance of Symbol 156 MovieClip "pacman9" in Frame 527
onClipEvent (load) {
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
}
onClipEvent (enterFrame) {
_x = (_x + goleft);
if ((this._currentframe == 34) && (_root.nopac > 0)) {
this.gotoAndStop(1);
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
}
if (_x > 580) {
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
this.pcman.gotoAndStop(random(4) + 1);
}
with (_root.player) {
if (this.pcman.hittest(_x, getBounds(_root).yMax, true)) {
if (_root.ftest == "yes") {
goleft = 0;
this.play();
suddenup = 25;
su = 3;
jump = true;
}
}
}
}
Instance of Symbol 156 MovieClip "pacman4" in Frame 527
onClipEvent (load) {
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
}
onClipEvent (enterFrame) {
_x = (_x + goleft);
if ((this._currentframe == 34) && (_root.nopac > 0)) {
this.gotoAndStop(1);
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
}
if (_x > 580) {
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
this.pcman.gotoAndStop(random(4) + 1);
}
with (_root.player) {
if (this.pcman.hittest(_x, getBounds(_root).yMax, true)) {
if (_root.ftest == "yes") {
goleft = 0;
this.play();
suddenup = 25;
su = 3;
jump = true;
}
}
}
}
Instance of Symbol 156 MovieClip "pacman7" in Frame 527
onClipEvent (load) {
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
}
onClipEvent (enterFrame) {
_x = (_x + goleft);
if ((this._currentframe == 34) && (_root.nopac > 0)) {
this.gotoAndStop(1);
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
}
if (_x > 580) {
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
this.pcman.gotoAndStop(random(4) + 1);
}
with (_root.player) {
if (this.pcman.hittest(_x, getBounds(_root).yMax, true)) {
if (_root.ftest == "yes") {
goleft = 0;
this.play();
suddenup = 25;
su = 3;
jump = true;
}
}
}
}
Instance of Symbol 156 MovieClip "pacman10" in Frame 527
onClipEvent (load) {
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
}
onClipEvent (enterFrame) {
_x = (_x + goleft);
if ((this._currentframe == 34) && (_root.nopac > 0)) {
this.gotoAndStop(1);
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
}
if (_x > 580) {
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
this.pcman.gotoAndStop(random(4) + 1);
}
with (_root.player) {
if (this.pcman.hittest(_x, getBounds(_root).yMax, true)) {
if (_root.ftest == "yes") {
goleft = 0;
this.play();
suddenup = 25;
su = 3;
jump = true;
}
}
}
}
Instance of Symbol 156 MovieClip "pacman11" in Frame 527
onClipEvent (load) {
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
}
onClipEvent (enterFrame) {
_x = (_x + goleft);
if ((this._currentframe == 34) && (_root.nopac > 0)) {
this.gotoAndStop(1);
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
}
if (_x > 580) {
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
this.pcman.gotoAndStop(random(4) + 1);
}
with (_root.player) {
if (this.pcman.hittest(_x, getBounds(_root).yMax, true)) {
if (_root.ftest == "yes") {
goleft = 0;
this.play();
suddenup = 25;
su = 3;
jump = true;
}
}
}
}
Instance of Symbol 156 MovieClip "pacman17" in Frame 527
onClipEvent (load) {
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
}
onClipEvent (enterFrame) {
_x = (_x + goleft);
if ((this._currentframe == 34) && (_root.nopac > 0)) {
this.gotoAndStop(1);
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
}
if (_x > 580) {
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
this.pcman.gotoAndStop(random(4) + 1);
}
with (_root.player) {
if (this.pcman.hittest(_x, getBounds(_root).yMax, true)) {
if (_root.ftest == "yes") {
goleft = 0;
this.play();
suddenup = 25;
su = 3;
jump = true;
}
}
}
}
Instance of Symbol 156 MovieClip "pacman13" in Frame 527
onClipEvent (load) {
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
}
onClipEvent (enterFrame) {
_x = (_x + goleft);
if ((this._currentframe == 34) && (_root.nopac > 0)) {
this.gotoAndStop(1);
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
}
if (_x > 580) {
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
this.pcman.gotoAndStop(random(4) + 1);
}
with (_root.player) {
if (this.pcman.hittest(_x, getBounds(_root).yMax, true)) {
if (_root.ftest == "yes") {
goleft = 0;
this.play();
suddenup = 25;
su = 3;
jump = true;
}
}
}
}
Instance of Symbol 156 MovieClip "pacman15" in Frame 527
onClipEvent (load) {
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
}
onClipEvent (enterFrame) {
_x = (_x + goleft);
if ((this._currentframe == 34) && (_root.nopac > 0)) {
this.gotoAndStop(1);
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
}
if (_x > 580) {
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
this.pcman.gotoAndStop(random(4) + 1);
}
with (_root.player) {
if (this.pcman.hittest(_x, getBounds(_root).yMax, true)) {
if (_root.ftest == "yes") {
goleft = 0;
this.play();
suddenup = 25;
su = 3;
jump = true;
}
}
}
}
Instance of Symbol 156 MovieClip "pacman18" in Frame 527
onClipEvent (load) {
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
}
onClipEvent (enterFrame) {
_x = (_x + goleft);
if ((this._currentframe == 34) && (_root.nopac > 0)) {
this.gotoAndStop(1);
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
}
if (_x > 580) {
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
this.pcman.gotoAndStop(random(4) + 1);
}
with (_root.player) {
if (this.pcman.hittest(_x, getBounds(_root).yMax, true)) {
if (_root.ftest == "yes") {
goleft = 0;
this.play();
suddenup = 25;
su = 3;
jump = true;
}
}
}
}
Instance of Symbol 173 MovieClip "player" in Frame 527
onClipEvent (load) {
}
onClipEvent (enterFrame) {
_root.test = _x;
if (key.isdown(32) && (!jump)) {
_root.ball.play();
_root.tyme1 = 0;
_root.tyme2 = 0;
_root.tyme3 = 0;
_root.tyme4 = 0;
jumpsound = new Sound();
jumpsound.attachSound("jumpsnd");
jumpsound.start();
suddenup = 25;
su = 3;
jump = true;
}
if (key.isdown(37)) {
_x = (_x - 6);
rot = 15;
this.ball._rotation = this.ball._rotation - rot;
if (_x < 215.35) {
rot = 0;
_x = 215.35;
}
}
if (key.isdown(39)) {
_x = (_x + 6);
rot = 15;
this.ball._rotation = this.ball._rotation + rot;
if (_x > 541.35) {
rot = 0;
_x = 541.35;
}
}
if (jump) {
suddenup = suddenup - su;
_y = (_y - suddenup);
if (suddenup < -19) {
suddenup = -19;
}
_root.test = suddenup;
if (_root.test < 0) {
_root.ftest = "yes";
} else {
_root.ftest = "no";
}
if (_y > 508.2) {
_root.ball.gotoAndStop(1);
_root.smoke._x = _x;
_root.smoke.play();
_y = 508.2;
jump = false;
_root.ftest = "no";
}
}
}
Instance of Symbol 404 MovieClip "ball" in Frame 527
onClipEvent (load) {
cnt = 0;
b = 100;
counter = 1;
_root.nohit._visible = false;
}
onClipEvent (enterFrame) {
counter = counter + 1;
if (_root.tyme4 == 20) {
_root.tyme4 = 0;
_root.tyme3++;
}
if (_root.tyme3 == 60) {
_root.tyme3 = 0;
_root.tyme2++;
}
if (_root.tyme2 == 60) {
_root.tyme2 = 0;
_root.tyme1++;
}
}
Frame 528
stop();
_root.tyme1 = 0;
_root.tyme2 = 0;
_root.tyme3 = 0;
_root.tyme4 = 0;
Instance of Symbol 156 MovieClip "pacman1" in Frame 528
onClipEvent (load) {
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
}
onClipEvent (enterFrame) {
_x = (_x + goleft);
if ((this._currentframe == 34) && (_root.nopac > 0)) {
this.gotoAndStop(1);
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
}
if (_x > 580) {
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
this.pcman.gotoAndStop(random(4) + 1);
}
with (_root.player) {
if (this.pcman.hittest(_x, getBounds(_root).yMax, true)) {
if (_root.ftest == "yes") {
goleft = 0;
this.play();
suddenup = 25;
su = 3;
jump = true;
}
}
}
}
Instance of Symbol 156 MovieClip "pacman2" in Frame 528
onClipEvent (load) {
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
}
onClipEvent (enterFrame) {
_x = (_x + goleft);
if ((this._currentframe == 34) && (_root.nopac > 0)) {
this.gotoAndStop(1);
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
}
if (_x > 580) {
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
this.pcman.gotoAndStop(random(4) + 1);
}
with (_root.player) {
if (this.pcman.hittest(_x, getBounds(_root).yMax, true)) {
if (_root.ftest == "yes") {
goleft = 0;
this.play();
suddenup = 25;
su = 3;
jump = true;
}
}
}
}
Instance of Symbol 156 MovieClip "pacman9" in Frame 528
onClipEvent (load) {
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
}
onClipEvent (enterFrame) {
_x = (_x + goleft);
if ((this._currentframe == 34) && (_root.nopac > 0)) {
this.gotoAndStop(1);
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
}
if (_x > 580) {
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
this.pcman.gotoAndStop(random(4) + 1);
}
with (_root.player) {
if (this.pcman.hittest(_x, getBounds(_root).yMax, true)) {
if (_root.ftest == "yes") {
goleft = 0;
this.play();
suddenup = 25;
su = 3;
jump = true;
}
}
}
}
Instance of Symbol 156 MovieClip "pacman7" in Frame 528
onClipEvent (load) {
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
}
onClipEvent (enterFrame) {
_x = (_x + goleft);
if ((this._currentframe == 34) && (_root.nopac > 0)) {
this.gotoAndStop(1);
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
}
if (_x > 580) {
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
this.pcman.gotoAndStop(random(4) + 1);
}
with (_root.player) {
if (this.pcman.hittest(_x, getBounds(_root).yMax, true)) {
if (_root.ftest == "yes") {
goleft = 0;
this.play();
suddenup = 25;
su = 3;
jump = true;
}
}
}
}
Instance of Symbol 156 MovieClip "pacman10" in Frame 528
onClipEvent (load) {
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
}
onClipEvent (enterFrame) {
_x = (_x + goleft);
if ((this._currentframe == 34) && (_root.nopac > 0)) {
this.gotoAndStop(1);
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
}
if (_x > 580) {
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
this.pcman.gotoAndStop(random(4) + 1);
}
with (_root.player) {
if (this.pcman.hittest(_x, getBounds(_root).yMax, true)) {
if (_root.ftest == "yes") {
goleft = 0;
this.play();
suddenup = 25;
su = 3;
jump = true;
}
}
}
}
Instance of Symbol 156 MovieClip "pacman13" in Frame 528
onClipEvent (load) {
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
}
onClipEvent (enterFrame) {
_x = (_x + goleft);
if ((this._currentframe == 34) && (_root.nopac > 0)) {
this.gotoAndStop(1);
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
}
if (_x > 580) {
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
this.pcman.gotoAndStop(random(4) + 1);
}
with (_root.player) {
if (this.pcman.hittest(_x, getBounds(_root).yMax, true)) {
if (_root.ftest == "yes") {
goleft = 0;
this.play();
suddenup = 25;
su = 3;
jump = true;
}
}
}
}
Instance of Symbol 156 MovieClip "pacman18" in Frame 528
onClipEvent (load) {
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
}
onClipEvent (enterFrame) {
_x = (_x + goleft);
if ((this._currentframe == 34) && (_root.nopac > 0)) {
this.gotoAndStop(1);
this.pcman.gotoAndStop(random(4) + 1);
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
}
if (_x > 580) {
gleftrand = random(4) + 2;
goleft = gleftrand;
_x = 170;
this.pcman.gotoAndStop(random(4) + 1);
}
with (_root.player) {
if (this.pcman.hittest(_x, getBounds(_root).yMax, true)) {
if (_root.ftest == "yes") {
goleft = 0;
this.play();
suddenup = 25;
su = 3;
jump = true;
}
}
}
}
Instance of Symbol 173 MovieClip "player" in Frame 528
onClipEvent (load) {
}
onClipEvent (enterFrame) {
_root.test = _x;
if (key.isdown(32) && (!jump)) {
_root.ball.play();
_root.tyme1 = 0;
_root.tyme2 = 0;
_root.tyme3 = 0;
_root.tyme4 = 0;
jumpsound = new Sound();
jumpsound.attachSound("jumpsnd");
jumpsound.start();
suddenup = 25;
su = 3;
jump = true;
}
if (key.isdown(37)) {
_x = (_x - 6);
rot = 15;
this.ball._rotation = this.ball._rotation - rot;
if (_x < 215.35) {
rot = 0;
_x = 215.35;
}
}
if (key.isdown(39)) {
_x = (_x + 6);
rot = 15;
this.ball._rotation = this.ball._rotation + rot;
if (_x > 541.35) {
rot = 0;
_x = 541.35;
}
}
if (jump) {
suddenup = suddenup - su;
_y = (_y - suddenup);
if (suddenup < -19) {
suddenup = -19;
}
_root.test = suddenup;
if (_root.test < 0) {
_root.ftest = "yes";
} else {
_root.ftest = "no";
}
if (_y > 508.2) {
_root.ball.gotoAndStop(1);
_root.smoke._x = _x;
_root.smoke.play();
_y = 508.2;
jump = false;
_root.ftest = "no";
}
}
}
Instance of Symbol 404 MovieClip "ball" in Frame 528
onClipEvent (load) {
cnt = 0;
b = 100;
counter = 1;
_root.nohit._visible = false;
}
onClipEvent (enterFrame) {
counter = counter + 1;
if (_root.tyme4 == 20) {
_root.tyme4 = 0;
_root.tyme3++;
}
if (_root.tyme3 == 60) {
_root.tyme3 = 0;
_root.tyme2++;
}
if (_root.tyme2 == 60) {
_root.tyme2 = 0;
_root.tyme1++;
}
}
Symbol 10 MovieClip Frame 1
_root.stop();
PercentLoaded = (_root.getBytesLoaded() / _root.getBytesTotal()) * 100;
if (PercentLoaded != 100) {
setProperty(bar, _xscale , PercentLoaded);
} else {
gotoAndPlay (3);
}
Symbol 10 MovieClip Frame 2
gotoAndPlay (1);
Symbol 10 MovieClip Frame 3
_root.play();
Symbol 42 Button
on (release) {
stopAllSounds();
gotoAndPlay (83);
}
Symbol 48 Button
on (release) {
stopAllSounds();
gotoAndPlay (526);
}
Symbol 54 Button
on (release) {
stopAllSounds();
gotoAndPlay (525);
}
Symbol 60 Button
on (release) {
toggleHighQuality();
}
Symbol 91 MovieClip Frame 16
stop();
Symbol 103 MovieClip Frame 231
stop();
Symbol 112 Button
on (release) {
stopAllSounds();
nextFrame();
}
Symbol 155 MovieClip Frame 1
stop();
Symbol 155 MovieClip Frame 2
stop();
Symbol 155 MovieClip Frame 3
stop();
Symbol 155 MovieClip Frame 4
stop();
Symbol 156 MovieClip Frame 1
stop();
Symbol 156 MovieClip Frame 34
stop();
Symbol 173 MovieClip Frame 1
stop();
Symbol 173 MovieClip Frame 2
jump = true;
suddenup = 0;
su = 0;
Symbol 173 MovieClip Frame 10
stopAllSounds();
Symbol 173 MovieClip Frame 21
_root.prevFrame();
Symbol 178 MovieClip Frame 1
stop();
Symbol 187 MovieClip Frame 20
if (_root.pactime > 0) {
_root.pactime--;
}
Symbol 191 Button
on (release) {
stopAllSounds();
gotoAndStop (82);
}
Symbol 194 MovieClip Frame 1
stop();
Symbol 194 MovieClip Frame 2
if (_root.pacman1._currentframe == 1) {
_root.pacman1.goleft = 0;
_root.pacman1.play();
}
Symbol 194 MovieClip Frame 4
if (_root.pacman2._currentframe == 1) {
_root.pacman2.goleft = 0;
_root.pacman2.play();
}
Symbol 194 MovieClip Frame 6
if (_root.pacman3._currentframe == 1) {
_root.pacman3.goleft = 0;
_root.pacman3.play();
}
Symbol 194 MovieClip Frame 8
if (_root.pacman4._currentframe == 1) {
_root.pacman4.goleft = 0;
_root.pacman4.play();
}
Symbol 194 MovieClip Frame 10
if (_root.pacman5._currentframe == 1) {
_root.pacman5.goleft = 0;
_root.pacman5.play();
}
Symbol 194 MovieClip Frame 12
if (_root.pacman6._currentframe == 1) {
_root.pacman6.goleft = 0;
_root.pacman6.play();
}
Symbol 194 MovieClip Frame 14
if (_root.pacman7._currentframe == 1) {
_root.pacman7.goleft = 0;
_root.pacman7.play();
}
Symbol 194 MovieClip Frame 16
if (_root.pacman8._currentframe == 1) {
_root.pacman8.goleft = 0;
_root.pacman8.play();
}
Symbol 194 MovieClip Frame 18
if (_root.pacman9._currentframe == 1) {
_root.pacman9.goleft = 0;
_root.pacman9.play();
}
Symbol 194 MovieClip Frame 20
if (_root.pacman10._currentframe == 1) {
_root.pacman10.goleft = 0;
_root.pacman10.play();
}
Symbol 194 MovieClip Frame 22
if (_root.pacman11._currentframe == 1) {
_root.pacman11.goleft = 0;
_root.pacman11.play();
}
Symbol 194 MovieClip Frame 24
if (_root.pacman12._currentframe == 1) {
_root.pacman12.goleft = 0;
_root.pacman12.play();
}
Symbol 194 MovieClip Frame 26
if (_root.pacman13._currentframe == 1) {
_root.pacman13.goleft = 0;
_root.pacman13.play();
}
Symbol 194 MovieClip Frame 28
if (_root.pacman14._currentframe == 1) {
_root.pacman14.goleft = 0;
_root.pacman14.play();
}
Symbol 194 MovieClip Frame 30
if (_root.pacman15._currentframe == 1) {
_root.pacman15.goleft = 0;
_root.pacman15.play();
}
Symbol 194 MovieClip Frame 32
if (_root.pacman16._currentframe == 1) {
_root.pacman16.goleft = 0;
_root.pacman16.play();
}
Symbol 194 MovieClip Frame 34
if (_root.pacman17._currentframe == 1) {
_root.pacman17.goleft = 0;
_root.pacman17.play();
}
Symbol 194 MovieClip Frame 36
if (_root.pacman18._currentframe == 1) {
_root.pacman18.goleft = 0;
_root.pacman18.play();
}
Symbol 194 MovieClip Frame 50
stopAllSounds();
_root.play();
Symbol 267 MovieClip Frame 1
stop();
Symbol 267 MovieClip Frame 2
stop();
Symbol 297 MovieClip Frame 17
stop();
Symbol 298 MovieClip Frame 59
with (_root.cball1) {
_root.csmoke1.play();
fall = false;
_y = 315.95;
sup = 2;
gotoAndStop(1);
}
Symbol 300 MovieClip Frame 1
stop();
Symbol 300 MovieClip Frame 2
stop();
Symbol 300 MovieClip Frame 3
stop();
Symbol 301 MovieClip Frame 59
with (_root.cball2) {
_root.csmoke2.play();
fall = false;
_y = 315.95;
sup = 2;
gotoAndStop(1);
}
Symbol 302 MovieClip Frame 1
stop();
Symbol 302 MovieClip Frame 2
stop();
Symbol 302 MovieClip Frame 3
stop();
Symbol 307 MovieClip Frame 1
stop();
Symbol 310 MovieClip Frame 1
stop();
Symbol 326 MovieClip Frame 9
if (_root.kingpacman.goleft == false) {
_root.kingpacman.gotoAndStop(2);
} else if (_root.kingpacman.goright == false) {
_root.kingpacman.gotoAndStop(1);
}
Symbol 358 MovieClip Frame 53
if (_root.pacman1._currentframe == 1) {
_root.pacman1.play();
}
Symbol 358 MovieClip Frame 55
if (_root.pacman2._currentframe == 1) {
_root.pacman2.play();
}
Symbol 358 MovieClip Frame 57
if (_root.pacman3._currentframe == 1) {
_root.pacman3.play();
}
Symbol 358 MovieClip Frame 59
if (_root.pacman4._currentframe == 1) {
_root.pacman4.play();
}
Symbol 358 MovieClip Frame 61
if (_root.pacman5._currentframe == 1) {
_root.pacman5.play();
}
Symbol 358 MovieClip Frame 63
if (_root.pacman6._currentframe == 1) {
_root.pacman6.play();
}
Symbol 358 MovieClip Frame 65
if (_root.pacman7._currentframe == 1) {
_root.pacman7.play();
}
Symbol 358 MovieClip Frame 67
_root.timeadd.gotoAndStop(1);
if (_root.pacman8._currentframe == 1) {
_root.pacman8.play();
}
Symbol 358 MovieClip Frame 69
if (_root.pacman9._currentframe == 1) {
_root.pacman9.play();
}
Symbol 358 MovieClip Frame 71
if (_root.pacman10._currentframe == 1) {
_root.pacman10.play();
}
Symbol 358 MovieClip Frame 73
if (_root.pacman11._currentframe == 1) {
_root.pacman11.play();
}
Symbol 358 MovieClip Frame 90
_root.play();
stop();
Symbol 359 MovieClip Frame 1
stop();
_root.kingpacman.goleft = false;
_root.kingpacman.goright = true;
Symbol 359 MovieClip Frame 2
stop();
_root.kingpacman.goright = false;
_root.kingpacman.goleft = true;
Symbol 359 MovieClip Frame 3
stop();
Symbol 359 MovieClip Frame 4
stop();
Symbol 359 MovieClip Frame 5
stop();
Symbol 359 MovieClip Frame 6
stop();
Symbol 387 Button
on (release) {
stopAllSounds();
gotoAndStop (82);
}
Symbol 404 MovieClip Frame 1
stop();
Symbol 404 MovieClip Frame 3
_root.tyme4++;
gotoAndPlay (2);
Symbol 413 Button
on (release) {
stopAllSounds();
gotoAndStop (527);
}
Symbol 416 Button
on (release) {
stopAllSounds();
gotoAndPlay (528);
}
Symbol 428 Button
on (release) {
stopAllSounds();
gotoAndPlay (526);
}
Symbol 438 Button
on (release) {
stopAllSounds();
gotoAndPlay (527);
}