Frame 1
mochi.as2.MochiServices.connect("2f550095482fcacb");
fscommand ("trapallkeys", true);
Stage.showMenu = false;
Frame 2
_root.createEmptyMovieClip("empt1", 500);
_root.createEmptyMovieClip("empt2", 501);
_root.createEmptyMovieClip("empt3", 502);
snd_mute = new Sound(_root);
snd_mute.setVolume(100);
snd_stage_bg = new Sound(empt1);
snd_stage_bg.attachSound("stage_bg");
snd_jump = new Sound(empt2);
snd_jump.attachSound("jump");
snd_hit_ground = new Sound(empt3);
snd_hit_ground.attachSound("hit_ground");
stop();
_root.q_l.nextFrame();
Instance of Symbol 66 MovieClip "ball2" in Frame 2
onClipEvent (enterFrame) {
_x = (_x + (_xmouse / 10));
_y = (_y + (_ymouse / 10));
}
Frame 3
stop();
Frame 4
stop();
_root.king_kill = "";
_root.vol = "yes";
_root.tmp_time = 0;
_root.tmb = 0;
_root.lbl_lives = 5;
_root.max_pacmen = 0;
_root.killer1 = "";
_root.killer2 = "";
_root.killer3 = "";
_root.max_combo = 0;
_root.co_cra1 = "";
_root.co_cra2 = "";
_root.co_cra3 = "";
_root.max_bombs = 0;
_root.time_bon = 0;
_root.pink_pacmen = 0;
_root.lbl_score = 0;
Frame 5
_root.snd_stage_bg.start(0, 999);
stop();
DESIREDFRAMERATE = 50;
starttime = newDate();
tmp_time = 0;
lbl_multi = 0;
expl_cnt = 0;
lbl_time = 50;
pacmen_cnt = 10;
i = 0;
j = 0;
m = 0;
end_game = "";
_root.onEnterFrame = function () {
var _local3 = new Date();
var _local2 = _local3 - starttime;
while (_local2 < (1000 / DESIREDFRAMERATE)) {
_local3 = new Date();
_local2 = _local3 - starttime;
}
starttime = new Date();
if (lbl_time <= 10) {
_root.mc_pan.nextFrame();
}
if ((lbl_time == 0) && (end_game == "")) {
_root.ball._rotation = 0;
_root.ball.gotoAndStop(3);
_root.b_xpl._x = _root.ball._x;
_root.b_xpl._y = _root.ball._y;
_root.b_xpl.nextFrame();
}
if ((pacmen_cnt == 0) && (end_game == "")) {
_root.mc_completed.play();
_root.lbl_score = _root.lbl_score + (int(_root.lbl_time) * int(_root.lbl_time));
end_game = "yes";
}
m++;
if (((m == 30) && (lbl_time > 0)) && (end_game == "")) {
tmp_time++;
lbl_time--;
m = 0;
}
if (end_game == "yes") {
j++;
if ((j == 3) && (i < 21)) {
i++;
if (expl_cnt > 10) {
expl_cnt = 0;
}
expl_cnt++;
_root.expl.duplicateMovieClip("expl" + expl_cnt, expl_cnt);
_root["expl" + expl_cnt]._x = _root["pac" + i]._x;
_root["expl" + expl_cnt]._y = _root["pac" + i]._y;
_root["pac" + i].xsp = 0;
if (_root["pac" + i]._currentframe == 1) {
_root["expl" + expl_cnt].gotoAndStop(2);
_root["pac" + i].gotoAndStop(5);
} else if (_root["pac" + i]._currentframe == 2) {
_root["expl" + expl_cnt].gotoAndStop(3);
_root["pac" + i].gotoAndStop(6);
} else if (_root["pac" + i]._currentframe == 3) {
_root["expl" + expl_cnt].gotoAndStop(4);
_root["pac" + i].gotoAndStop(7);
} else if (_root["pac" + i]._currentframe == 4) {
_root["expl" + expl_cnt].gotoAndStop(5);
_root["pac" + i].gotoAndStop(8);
}
j = 0;
}
}
};
Instance of Symbol 147 MovieClip "pac1" in Frame 5
onClipEvent (load) {
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
onClipEvent (enterFrame) {
_x = (_x + xsp);
if (_x > 480) {
_x = 80;
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
if (this.hit.hitTest(_root.hit) && (_root.ball.act == "fall")) {
_root.max_pacmen++;
if (_root.max_combo < int(_root.lbl_multi)) {
_root.max_combo = _root.lbl_multi;
if (int(_root.max_combo >= 19)) {
_root.cr1.nextFrame();
_root.co_cra1 = "yes";
}
if (int(_root.max_combo >= 49)) {
_root.cr2.nextFrame();
_root.co_cra2 = "yes";
}
if (int(_root.max_combo >= 79)) {
_root.cr3.nextFrame();
_root.co_cra3 = "yes";
}
}
if (_root.max_pacmen >= 100) {
_root.pk1.nextFrame();
_root.killer1 = "yes";
}
if (_root.max_pacmen >= 300) {
_root.pk2.nextFrame();
_root.killer2 = "yes";
}
if (_root.max_pacmen >= 600) {
_root.pk3.nextFrame();
_root.killer3 = "yes";
}
_root.lbl_multi++;
if (int(_root.lbl_multi > 1)) {
_root.mc_mul.mcnt.ml = "x" + _root.lbl_multi;
_root.mc_mul._x = _root.ball._x + 15;
_root.mc_mul._y = _root.ball._y - 15;
_root.mc_mul.gotoAndPlay(2);
}
if (_root.end_game == "yes") {
_root.lbl_score = _root.lbl_score + (50 * int(_root.lbl_multi));
} else {
_root.lbl_score = _root.lbl_score + (10 * int(_root.lbl_multi));
}
if (_root.pacmen_cnt > 0) {
_root.pacmen_cnt--;
}
if (_root.expl_cnt > 5) {
_root.expl_cnt = 0;
}
_root.expl_cnt++;
_root.expl.duplicateMovieClip("expl" + _root.expl_cnt, _root.expl_cnt);
_root["expl" + _root.expl_cnt]._x = _x;
_root["expl" + _root.expl_cnt]._y = _y;
_root.ball.ysp = 13;
_root.ball.act = "jump";
xsp = 0;
if (this._currentframe == 1) {
_root["expl" + _root.expl_cnt].gotoAndStop(2);
this.gotoAndStop(5);
} else if (this._currentframe == 2) {
_root["expl" + _root.expl_cnt].gotoAndStop(3);
this.gotoAndStop(6);
} else if (this._currentframe == 3) {
_root["expl" + _root.expl_cnt].gotoAndStop(4);
this.gotoAndStop(7);
} else if (this._currentframe == 4) {
_root["expl" + _root.expl_cnt].gotoAndStop(5);
this.gotoAndStop(8);
}
}
}
Instance of Symbol 147 MovieClip "pac2" in Frame 5
onClipEvent (load) {
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
onClipEvent (enterFrame) {
_x = (_x + xsp);
if (_x > 480) {
_x = 80;
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
if (this.hit.hitTest(_root.hit) && (_root.ball.act == "fall")) {
_root.max_pacmen++;
if (_root.max_combo < int(_root.lbl_multi)) {
_root.max_combo = _root.lbl_multi;
if (int(_root.max_combo >= 19)) {
_root.cr1.nextFrame();
_root.co_cra1 = "yes";
}
if (int(_root.max_combo >= 49)) {
_root.cr2.nextFrame();
_root.co_cra2 = "yes";
}
if (int(_root.max_combo >= 79)) {
_root.cr3.nextFrame();
_root.co_cra3 = "yes";
}
}
if (_root.max_pacmen >= 100) {
_root.pk1.nextFrame();
_root.killer1 = "yes";
}
if (_root.max_pacmen >= 300) {
_root.pk2.nextFrame();
_root.killer2 = "yes";
}
if (_root.max_pacmen >= 600) {
_root.pk3.nextFrame();
_root.killer3 = "yes";
}
_root.lbl_multi++;
if (int(_root.lbl_multi > 1)) {
_root.mc_mul.mcnt.ml = "x" + _root.lbl_multi;
_root.mc_mul._x = _root.ball._x + 15;
_root.mc_mul._y = _root.ball._y - 15;
_root.mc_mul.gotoAndPlay(2);
}
if (_root.end_game == "yes") {
_root.lbl_score = _root.lbl_score + (50 * int(_root.lbl_multi));
} else {
_root.lbl_score = _root.lbl_score + (10 * int(_root.lbl_multi));
}
if (_root.pacmen_cnt > 0) {
_root.pacmen_cnt--;
}
if (_root.expl_cnt > 5) {
_root.expl_cnt = 0;
}
_root.expl_cnt++;
_root.expl.duplicateMovieClip("expl" + _root.expl_cnt, _root.expl_cnt);
_root["expl" + _root.expl_cnt]._x = _x;
_root["expl" + _root.expl_cnt]._y = _y;
_root.ball.ysp = 13;
_root.ball.act = "jump";
xsp = 0;
if (this._currentframe == 1) {
_root["expl" + _root.expl_cnt].gotoAndStop(2);
this.gotoAndStop(5);
} else if (this._currentframe == 2) {
_root["expl" + _root.expl_cnt].gotoAndStop(3);
this.gotoAndStop(6);
} else if (this._currentframe == 3) {
_root["expl" + _root.expl_cnt].gotoAndStop(4);
this.gotoAndStop(7);
} else if (this._currentframe == 4) {
_root["expl" + _root.expl_cnt].gotoAndStop(5);
this.gotoAndStop(8);
}
}
}
Instance of Symbol 147 MovieClip "pac4" in Frame 5
onClipEvent (load) {
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
onClipEvent (enterFrame) {
_x = (_x + xsp);
if (_x > 480) {
_x = 80;
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
if (this.hit.hitTest(_root.hit) && (_root.ball.act == "fall")) {
_root.max_pacmen++;
if (_root.max_combo < int(_root.lbl_multi)) {
_root.max_combo = _root.lbl_multi;
if (int(_root.max_combo >= 19)) {
_root.cr1.nextFrame();
_root.co_cra1 = "yes";
}
if (int(_root.max_combo >= 49)) {
_root.cr2.nextFrame();
_root.co_cra2 = "yes";
}
if (int(_root.max_combo >= 79)) {
_root.cr3.nextFrame();
_root.co_cra3 = "yes";
}
}
if (_root.max_pacmen >= 100) {
_root.pk1.nextFrame();
_root.killer1 = "yes";
}
if (_root.max_pacmen >= 300) {
_root.pk2.nextFrame();
_root.killer2 = "yes";
}
if (_root.max_pacmen >= 600) {
_root.pk3.nextFrame();
_root.killer3 = "yes";
}
_root.lbl_multi++;
if (int(_root.lbl_multi > 1)) {
_root.mc_mul.mcnt.ml = "x" + _root.lbl_multi;
_root.mc_mul._x = _root.ball._x + 15;
_root.mc_mul._y = _root.ball._y - 15;
_root.mc_mul.gotoAndPlay(2);
}
if (_root.end_game == "yes") {
_root.lbl_score = _root.lbl_score + (50 * int(_root.lbl_multi));
} else {
_root.lbl_score = _root.lbl_score + (10 * int(_root.lbl_multi));
}
if (_root.pacmen_cnt > 0) {
_root.pacmen_cnt--;
}
if (_root.expl_cnt > 5) {
_root.expl_cnt = 0;
}
_root.expl_cnt++;
_root.expl.duplicateMovieClip("expl" + _root.expl_cnt, _root.expl_cnt);
_root["expl" + _root.expl_cnt]._x = _x;
_root["expl" + _root.expl_cnt]._y = _y;
_root.ball.ysp = 13;
_root.ball.act = "jump";
xsp = 0;
if (this._currentframe == 1) {
_root["expl" + _root.expl_cnt].gotoAndStop(2);
this.gotoAndStop(5);
} else if (this._currentframe == 2) {
_root["expl" + _root.expl_cnt].gotoAndStop(3);
this.gotoAndStop(6);
} else if (this._currentframe == 3) {
_root["expl" + _root.expl_cnt].gotoAndStop(4);
this.gotoAndStop(7);
} else if (this._currentframe == 4) {
_root["expl" + _root.expl_cnt].gotoAndStop(5);
this.gotoAndStop(8);
}
}
}
Instance of Symbol 147 MovieClip "pac6" in Frame 5
onClipEvent (load) {
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
onClipEvent (enterFrame) {
_x = (_x + xsp);
if (_x > 480) {
_x = 80;
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
if (this.hit.hitTest(_root.hit) && (_root.ball.act == "fall")) {
_root.max_pacmen++;
if (_root.max_combo < int(_root.lbl_multi)) {
_root.max_combo = _root.lbl_multi;
if (int(_root.max_combo >= 19)) {
_root.cr1.nextFrame();
_root.co_cra1 = "yes";
}
if (int(_root.max_combo >= 49)) {
_root.cr2.nextFrame();
_root.co_cra2 = "yes";
}
if (int(_root.max_combo >= 79)) {
_root.cr3.nextFrame();
_root.co_cra3 = "yes";
}
}
if (_root.max_pacmen >= 100) {
_root.pk1.nextFrame();
_root.killer1 = "yes";
}
if (_root.max_pacmen >= 300) {
_root.pk2.nextFrame();
_root.killer2 = "yes";
}
if (_root.max_pacmen >= 600) {
_root.pk3.nextFrame();
_root.killer3 = "yes";
}
_root.lbl_multi++;
if (int(_root.lbl_multi > 1)) {
_root.mc_mul.mcnt.ml = "x" + _root.lbl_multi;
_root.mc_mul._x = _root.ball._x + 15;
_root.mc_mul._y = _root.ball._y - 15;
_root.mc_mul.gotoAndPlay(2);
}
if (_root.end_game == "yes") {
_root.lbl_score = _root.lbl_score + (50 * int(_root.lbl_multi));
} else {
_root.lbl_score = _root.lbl_score + (10 * int(_root.lbl_multi));
}
if (_root.pacmen_cnt > 0) {
_root.pacmen_cnt--;
}
if (_root.expl_cnt > 5) {
_root.expl_cnt = 0;
}
_root.expl_cnt++;
_root.expl.duplicateMovieClip("expl" + _root.expl_cnt, _root.expl_cnt);
_root["expl" + _root.expl_cnt]._x = _x;
_root["expl" + _root.expl_cnt]._y = _y;
_root.ball.ysp = 13;
_root.ball.act = "jump";
xsp = 0;
if (this._currentframe == 1) {
_root["expl" + _root.expl_cnt].gotoAndStop(2);
this.gotoAndStop(5);
} else if (this._currentframe == 2) {
_root["expl" + _root.expl_cnt].gotoAndStop(3);
this.gotoAndStop(6);
} else if (this._currentframe == 3) {
_root["expl" + _root.expl_cnt].gotoAndStop(4);
this.gotoAndStop(7);
} else if (this._currentframe == 4) {
_root["expl" + _root.expl_cnt].gotoAndStop(5);
this.gotoAndStop(8);
}
}
}
Instance of Symbol 147 MovieClip "pac9" in Frame 5
onClipEvent (load) {
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
onClipEvent (enterFrame) {
_x = (_x + xsp);
if (_x > 480) {
_x = 80;
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
if (this.hit.hitTest(_root.hit) && (_root.ball.act == "fall")) {
_root.max_pacmen++;
if (_root.max_combo < int(_root.lbl_multi)) {
_root.max_combo = _root.lbl_multi;
if (int(_root.max_combo >= 19)) {
_root.cr1.nextFrame();
_root.co_cra1 = "yes";
}
if (int(_root.max_combo >= 49)) {
_root.cr2.nextFrame();
_root.co_cra2 = "yes";
}
if (int(_root.max_combo >= 79)) {
_root.cr3.nextFrame();
_root.co_cra3 = "yes";
}
}
if (_root.max_pacmen >= 100) {
_root.pk1.nextFrame();
_root.killer1 = "yes";
}
if (_root.max_pacmen >= 300) {
_root.pk2.nextFrame();
_root.killer2 = "yes";
}
if (_root.max_pacmen >= 600) {
_root.pk3.nextFrame();
_root.killer3 = "yes";
}
_root.lbl_multi++;
if (int(_root.lbl_multi > 1)) {
_root.mc_mul.mcnt.ml = "x" + _root.lbl_multi;
_root.mc_mul._x = _root.ball._x + 15;
_root.mc_mul._y = _root.ball._y - 15;
_root.mc_mul.gotoAndPlay(2);
}
if (_root.end_game == "yes") {
_root.lbl_score = _root.lbl_score + (50 * int(_root.lbl_multi));
} else {
_root.lbl_score = _root.lbl_score + (10 * int(_root.lbl_multi));
}
if (_root.pacmen_cnt > 0) {
_root.pacmen_cnt--;
}
if (_root.expl_cnt > 5) {
_root.expl_cnt = 0;
}
_root.expl_cnt++;
_root.expl.duplicateMovieClip("expl" + _root.expl_cnt, _root.expl_cnt);
_root["expl" + _root.expl_cnt]._x = _x;
_root["expl" + _root.expl_cnt]._y = _y;
_root.ball.ysp = 13;
_root.ball.act = "jump";
xsp = 0;
if (this._currentframe == 1) {
_root["expl" + _root.expl_cnt].gotoAndStop(2);
this.gotoAndStop(5);
} else if (this._currentframe == 2) {
_root["expl" + _root.expl_cnt].gotoAndStop(3);
this.gotoAndStop(6);
} else if (this._currentframe == 3) {
_root["expl" + _root.expl_cnt].gotoAndStop(4);
this.gotoAndStop(7);
} else if (this._currentframe == 4) {
_root["expl" + _root.expl_cnt].gotoAndStop(5);
this.gotoAndStop(8);
}
}
}
Instance of Symbol 147 MovieClip "pac12" in Frame 5
onClipEvent (load) {
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
onClipEvent (enterFrame) {
_x = (_x + xsp);
if (_x > 480) {
_x = 80;
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
if (this.hit.hitTest(_root.hit) && (_root.ball.act == "fall")) {
_root.max_pacmen++;
if (_root.max_combo < int(_root.lbl_multi)) {
_root.max_combo = _root.lbl_multi;
if (int(_root.max_combo >= 19)) {
_root.cr1.nextFrame();
_root.co_cra1 = "yes";
}
if (int(_root.max_combo >= 49)) {
_root.cr2.nextFrame();
_root.co_cra2 = "yes";
}
if (int(_root.max_combo >= 79)) {
_root.cr3.nextFrame();
_root.co_cra3 = "yes";
}
}
if (_root.max_pacmen >= 100) {
_root.pk1.nextFrame();
_root.killer1 = "yes";
}
if (_root.max_pacmen >= 300) {
_root.pk2.nextFrame();
_root.killer2 = "yes";
}
if (_root.max_pacmen >= 600) {
_root.pk3.nextFrame();
_root.killer3 = "yes";
}
_root.lbl_multi++;
if (int(_root.lbl_multi > 1)) {
_root.mc_mul.mcnt.ml = "x" + _root.lbl_multi;
_root.mc_mul._x = _root.ball._x + 15;
_root.mc_mul._y = _root.ball._y - 15;
_root.mc_mul.gotoAndPlay(2);
}
if (_root.end_game == "yes") {
_root.lbl_score = _root.lbl_score + (50 * int(_root.lbl_multi));
} else {
_root.lbl_score = _root.lbl_score + (10 * int(_root.lbl_multi));
}
if (_root.pacmen_cnt > 0) {
_root.pacmen_cnt--;
}
if (_root.expl_cnt > 5) {
_root.expl_cnt = 0;
}
_root.expl_cnt++;
_root.expl.duplicateMovieClip("expl" + _root.expl_cnt, _root.expl_cnt);
_root["expl" + _root.expl_cnt]._x = _x;
_root["expl" + _root.expl_cnt]._y = _y;
_root.ball.ysp = 13;
_root.ball.act = "jump";
xsp = 0;
if (this._currentframe == 1) {
_root["expl" + _root.expl_cnt].gotoAndStop(2);
this.gotoAndStop(5);
} else if (this._currentframe == 2) {
_root["expl" + _root.expl_cnt].gotoAndStop(3);
this.gotoAndStop(6);
} else if (this._currentframe == 3) {
_root["expl" + _root.expl_cnt].gotoAndStop(4);
this.gotoAndStop(7);
} else if (this._currentframe == 4) {
_root["expl" + _root.expl_cnt].gotoAndStop(5);
this.gotoAndStop(8);
}
}
}
Instance of Symbol 147 MovieClip "pac13" in Frame 5
onClipEvent (load) {
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
onClipEvent (enterFrame) {
_x = (_x + xsp);
if (_x > 480) {
_x = 80;
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
if (this.hit.hitTest(_root.hit) && (_root.ball.act == "fall")) {
_root.max_pacmen++;
if (_root.max_combo < int(_root.lbl_multi)) {
_root.max_combo = _root.lbl_multi;
if (int(_root.max_combo >= 19)) {
_root.cr1.nextFrame();
_root.co_cra1 = "yes";
}
if (int(_root.max_combo >= 49)) {
_root.cr2.nextFrame();
_root.co_cra2 = "yes";
}
if (int(_root.max_combo >= 79)) {
_root.cr3.nextFrame();
_root.co_cra3 = "yes";
}
}
if (_root.max_pacmen >= 100) {
_root.pk1.nextFrame();
_root.killer1 = "yes";
}
if (_root.max_pacmen >= 300) {
_root.pk2.nextFrame();
_root.killer2 = "yes";
}
if (_root.max_pacmen >= 600) {
_root.pk3.nextFrame();
_root.killer3 = "yes";
}
_root.lbl_multi++;
if (int(_root.lbl_multi > 1)) {
_root.mc_mul.mcnt.ml = "x" + _root.lbl_multi;
_root.mc_mul._x = _root.ball._x + 15;
_root.mc_mul._y = _root.ball._y - 15;
_root.mc_mul.gotoAndPlay(2);
}
if (_root.end_game == "yes") {
_root.lbl_score = _root.lbl_score + (50 * int(_root.lbl_multi));
} else {
_root.lbl_score = _root.lbl_score + (10 * int(_root.lbl_multi));
}
if (_root.pacmen_cnt > 0) {
_root.pacmen_cnt--;
}
if (_root.expl_cnt > 5) {
_root.expl_cnt = 0;
}
_root.expl_cnt++;
_root.expl.duplicateMovieClip("expl" + _root.expl_cnt, _root.expl_cnt);
_root["expl" + _root.expl_cnt]._x = _x;
_root["expl" + _root.expl_cnt]._y = _y;
_root.ball.ysp = 13;
_root.ball.act = "jump";
xsp = 0;
if (this._currentframe == 1) {
_root["expl" + _root.expl_cnt].gotoAndStop(2);
this.gotoAndStop(5);
} else if (this._currentframe == 2) {
_root["expl" + _root.expl_cnt].gotoAndStop(3);
this.gotoAndStop(6);
} else if (this._currentframe == 3) {
_root["expl" + _root.expl_cnt].gotoAndStop(4);
this.gotoAndStop(7);
} else if (this._currentframe == 4) {
_root["expl" + _root.expl_cnt].gotoAndStop(5);
this.gotoAndStop(8);
}
}
}
Instance of Symbol 147 MovieClip "pac15" in Frame 5
onClipEvent (load) {
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
onClipEvent (enterFrame) {
_x = (_x + xsp);
if (_x > 480) {
_x = 80;
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
if (this.hit.hitTest(_root.hit) && (_root.ball.act == "fall")) {
_root.max_pacmen++;
if (_root.max_combo < int(_root.lbl_multi)) {
_root.max_combo = _root.lbl_multi;
if (int(_root.max_combo >= 19)) {
_root.cr1.nextFrame();
_root.co_cra1 = "yes";
}
if (int(_root.max_combo >= 49)) {
_root.cr2.nextFrame();
_root.co_cra2 = "yes";
}
if (int(_root.max_combo >= 79)) {
_root.cr3.nextFrame();
_root.co_cra3 = "yes";
}
}
if (_root.max_pacmen >= 100) {
_root.pk1.nextFrame();
_root.killer1 = "yes";
}
if (_root.max_pacmen >= 300) {
_root.pk2.nextFrame();
_root.killer2 = "yes";
}
if (_root.max_pacmen >= 600) {
_root.pk3.nextFrame();
_root.killer3 = "yes";
}
_root.lbl_multi++;
if (int(_root.lbl_multi > 1)) {
_root.mc_mul.mcnt.ml = "x" + _root.lbl_multi;
_root.mc_mul._x = _root.ball._x + 15;
_root.mc_mul._y = _root.ball._y - 15;
_root.mc_mul.gotoAndPlay(2);
}
if (_root.end_game == "yes") {
_root.lbl_score = _root.lbl_score + (50 * int(_root.lbl_multi));
} else {
_root.lbl_score = _root.lbl_score + (10 * int(_root.lbl_multi));
}
if (_root.pacmen_cnt > 0) {
_root.pacmen_cnt--;
}
if (_root.expl_cnt > 5) {
_root.expl_cnt = 0;
}
_root.expl_cnt++;
_root.expl.duplicateMovieClip("expl" + _root.expl_cnt, _root.expl_cnt);
_root["expl" + _root.expl_cnt]._x = _x;
_root["expl" + _root.expl_cnt]._y = _y;
_root.ball.ysp = 13;
_root.ball.act = "jump";
xsp = 0;
if (this._currentframe == 1) {
_root["expl" + _root.expl_cnt].gotoAndStop(2);
this.gotoAndStop(5);
} else if (this._currentframe == 2) {
_root["expl" + _root.expl_cnt].gotoAndStop(3);
this.gotoAndStop(6);
} else if (this._currentframe == 3) {
_root["expl" + _root.expl_cnt].gotoAndStop(4);
this.gotoAndStop(7);
} else if (this._currentframe == 4) {
_root["expl" + _root.expl_cnt].gotoAndStop(5);
this.gotoAndStop(8);
}
}
}
Instance of Symbol 147 MovieClip "pac14" in Frame 5
onClipEvent (load) {
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
onClipEvent (enterFrame) {
_x = (_x + xsp);
if (_x > 480) {
_x = 80;
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
if (this.hit.hitTest(_root.hit) && (_root.ball.act == "fall")) {
_root.max_pacmen++;
if (_root.max_combo < int(_root.lbl_multi)) {
_root.max_combo = _root.lbl_multi;
if (int(_root.max_combo >= 19)) {
_root.cr1.nextFrame();
_root.co_cra1 = "yes";
}
if (int(_root.max_combo >= 49)) {
_root.cr2.nextFrame();
_root.co_cra2 = "yes";
}
if (int(_root.max_combo >= 79)) {
_root.cr3.nextFrame();
_root.co_cra3 = "yes";
}
}
if (_root.max_pacmen >= 100) {
_root.pk1.nextFrame();
_root.killer1 = "yes";
}
if (_root.max_pacmen >= 300) {
_root.pk2.nextFrame();
_root.killer2 = "yes";
}
if (_root.max_pacmen >= 600) {
_root.pk3.nextFrame();
_root.killer3 = "yes";
}
_root.lbl_multi++;
if (int(_root.lbl_multi > 1)) {
_root.mc_mul.mcnt.ml = "x" + _root.lbl_multi;
_root.mc_mul._x = _root.ball._x + 15;
_root.mc_mul._y = _root.ball._y - 15;
_root.mc_mul.gotoAndPlay(2);
}
if (_root.end_game == "yes") {
_root.lbl_score = _root.lbl_score + (50 * int(_root.lbl_multi));
} else {
_root.lbl_score = _root.lbl_score + (10 * int(_root.lbl_multi));
}
if (_root.pacmen_cnt > 0) {
_root.pacmen_cnt--;
}
if (_root.expl_cnt > 5) {
_root.expl_cnt = 0;
}
_root.expl_cnt++;
_root.expl.duplicateMovieClip("expl" + _root.expl_cnt, _root.expl_cnt);
_root["expl" + _root.expl_cnt]._x = _x;
_root["expl" + _root.expl_cnt]._y = _y;
_root.ball.ysp = 13;
_root.ball.act = "jump";
xsp = 0;
if (this._currentframe == 1) {
_root["expl" + _root.expl_cnt].gotoAndStop(2);
this.gotoAndStop(5);
} else if (this._currentframe == 2) {
_root["expl" + _root.expl_cnt].gotoAndStop(3);
this.gotoAndStop(6);
} else if (this._currentframe == 3) {
_root["expl" + _root.expl_cnt].gotoAndStop(4);
this.gotoAndStop(7);
} else if (this._currentframe == 4) {
_root["expl" + _root.expl_cnt].gotoAndStop(5);
this.gotoAndStop(8);
}
}
}
Instance of Symbol 147 MovieClip "pac16" in Frame 5
onClipEvent (load) {
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
onClipEvent (enterFrame) {
_x = (_x + xsp);
if (_x > 480) {
_x = 80;
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
if (this.hit.hitTest(_root.hit) && (_root.ball.act == "fall")) {
_root.max_pacmen++;
if (_root.max_combo < int(_root.lbl_multi)) {
_root.max_combo = _root.lbl_multi;
if (int(_root.max_combo >= 19)) {
_root.cr1.nextFrame();
_root.co_cra1 = "yes";
}
if (int(_root.max_combo >= 49)) {
_root.cr2.nextFrame();
_root.co_cra2 = "yes";
}
if (int(_root.max_combo >= 79)) {
_root.cr3.nextFrame();
_root.co_cra3 = "yes";
}
}
if (_root.max_pacmen >= 100) {
_root.pk1.nextFrame();
_root.killer1 = "yes";
}
if (_root.max_pacmen >= 300) {
_root.pk2.nextFrame();
_root.killer2 = "yes";
}
if (_root.max_pacmen >= 600) {
_root.pk3.nextFrame();
_root.killer3 = "yes";
}
_root.lbl_multi++;
if (int(_root.lbl_multi > 1)) {
_root.mc_mul.mcnt.ml = "x" + _root.lbl_multi;
_root.mc_mul._x = _root.ball._x + 15;
_root.mc_mul._y = _root.ball._y - 15;
_root.mc_mul.gotoAndPlay(2);
}
if (_root.end_game == "yes") {
_root.lbl_score = _root.lbl_score + (50 * int(_root.lbl_multi));
} else {
_root.lbl_score = _root.lbl_score + (10 * int(_root.lbl_multi));
}
if (_root.pacmen_cnt > 0) {
_root.pacmen_cnt--;
}
if (_root.expl_cnt > 5) {
_root.expl_cnt = 0;
}
_root.expl_cnt++;
_root.expl.duplicateMovieClip("expl" + _root.expl_cnt, _root.expl_cnt);
_root["expl" + _root.expl_cnt]._x = _x;
_root["expl" + _root.expl_cnt]._y = _y;
_root.ball.ysp = 13;
_root.ball.act = "jump";
xsp = 0;
if (this._currentframe == 1) {
_root["expl" + _root.expl_cnt].gotoAndStop(2);
this.gotoAndStop(5);
} else if (this._currentframe == 2) {
_root["expl" + _root.expl_cnt].gotoAndStop(3);
this.gotoAndStop(6);
} else if (this._currentframe == 3) {
_root["expl" + _root.expl_cnt].gotoAndStop(4);
this.gotoAndStop(7);
} else if (this._currentframe == 4) {
_root["expl" + _root.expl_cnt].gotoAndStop(5);
this.gotoAndStop(8);
}
}
}
Instance of Symbol 147 MovieClip "pac10" in Frame 5
onClipEvent (load) {
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
onClipEvent (enterFrame) {
_x = (_x + xsp);
if (_x > 480) {
_x = 80;
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
if (this.hit.hitTest(_root.hit) && (_root.ball.act == "fall")) {
_root.max_pacmen++;
if (_root.max_combo < int(_root.lbl_multi)) {
_root.max_combo = _root.lbl_multi;
if (int(_root.max_combo >= 19)) {
_root.cr1.nextFrame();
_root.co_cra1 = "yes";
}
if (int(_root.max_combo >= 49)) {
_root.cr2.nextFrame();
_root.co_cra2 = "yes";
}
if (int(_root.max_combo >= 79)) {
_root.cr3.nextFrame();
_root.co_cra3 = "yes";
}
}
if (_root.max_pacmen >= 100) {
_root.pk1.nextFrame();
_root.killer1 = "yes";
}
if (_root.max_pacmen >= 300) {
_root.pk2.nextFrame();
_root.killer2 = "yes";
}
if (_root.max_pacmen >= 600) {
_root.pk3.nextFrame();
_root.killer3 = "yes";
}
_root.lbl_multi++;
if (int(_root.lbl_multi > 1)) {
_root.mc_mul.mcnt.ml = "x" + _root.lbl_multi;
_root.mc_mul._x = _root.ball._x + 15;
_root.mc_mul._y = _root.ball._y - 15;
_root.mc_mul.gotoAndPlay(2);
}
if (_root.end_game == "yes") {
_root.lbl_score = _root.lbl_score + (50 * int(_root.lbl_multi));
} else {
_root.lbl_score = _root.lbl_score + (10 * int(_root.lbl_multi));
}
if (_root.pacmen_cnt > 0) {
_root.pacmen_cnt--;
}
if (_root.expl_cnt > 5) {
_root.expl_cnt = 0;
}
_root.expl_cnt++;
_root.expl.duplicateMovieClip("expl" + _root.expl_cnt, _root.expl_cnt);
_root["expl" + _root.expl_cnt]._x = _x;
_root["expl" + _root.expl_cnt]._y = _y;
_root.ball.ysp = 13;
_root.ball.act = "jump";
xsp = 0;
if (this._currentframe == 1) {
_root["expl" + _root.expl_cnt].gotoAndStop(2);
this.gotoAndStop(5);
} else if (this._currentframe == 2) {
_root["expl" + _root.expl_cnt].gotoAndStop(3);
this.gotoAndStop(6);
} else if (this._currentframe == 3) {
_root["expl" + _root.expl_cnt].gotoAndStop(4);
this.gotoAndStop(7);
} else if (this._currentframe == 4) {
_root["expl" + _root.expl_cnt].gotoAndStop(5);
this.gotoAndStop(8);
}
}
}
Instance of Symbol 147 MovieClip "pac8" in Frame 5
onClipEvent (load) {
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
onClipEvent (enterFrame) {
_x = (_x + xsp);
if (_x > 480) {
_x = 80;
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
if (this.hit.hitTest(_root.hit) && (_root.ball.act == "fall")) {
_root.max_pacmen++;
if (_root.max_combo < int(_root.lbl_multi)) {
_root.max_combo = _root.lbl_multi;
if (int(_root.max_combo >= 19)) {
_root.cr1.nextFrame();
_root.co_cra1 = "yes";
}
if (int(_root.max_combo >= 49)) {
_root.cr2.nextFrame();
_root.co_cra2 = "yes";
}
if (int(_root.max_combo >= 79)) {
_root.cr3.nextFrame();
_root.co_cra3 = "yes";
}
}
if (_root.max_pacmen >= 100) {
_root.pk1.nextFrame();
_root.killer1 = "yes";
}
if (_root.max_pacmen >= 300) {
_root.pk2.nextFrame();
_root.killer2 = "yes";
}
if (_root.max_pacmen >= 600) {
_root.pk3.nextFrame();
_root.killer3 = "yes";
}
_root.lbl_multi++;
if (int(_root.lbl_multi > 1)) {
_root.mc_mul.mcnt.ml = "x" + _root.lbl_multi;
_root.mc_mul._x = _root.ball._x + 15;
_root.mc_mul._y = _root.ball._y - 15;
_root.mc_mul.gotoAndPlay(2);
}
if (_root.end_game == "yes") {
_root.lbl_score = _root.lbl_score + (50 * int(_root.lbl_multi));
} else {
_root.lbl_score = _root.lbl_score + (10 * int(_root.lbl_multi));
}
if (_root.pacmen_cnt > 0) {
_root.pacmen_cnt--;
}
if (_root.expl_cnt > 5) {
_root.expl_cnt = 0;
}
_root.expl_cnt++;
_root.expl.duplicateMovieClip("expl" + _root.expl_cnt, _root.expl_cnt);
_root["expl" + _root.expl_cnt]._x = _x;
_root["expl" + _root.expl_cnt]._y = _y;
_root.ball.ysp = 13;
_root.ball.act = "jump";
xsp = 0;
if (this._currentframe == 1) {
_root["expl" + _root.expl_cnt].gotoAndStop(2);
this.gotoAndStop(5);
} else if (this._currentframe == 2) {
_root["expl" + _root.expl_cnt].gotoAndStop(3);
this.gotoAndStop(6);
} else if (this._currentframe == 3) {
_root["expl" + _root.expl_cnt].gotoAndStop(4);
this.gotoAndStop(7);
} else if (this._currentframe == 4) {
_root["expl" + _root.expl_cnt].gotoAndStop(5);
this.gotoAndStop(8);
}
}
}
Instance of Symbol 147 MovieClip "pac7" in Frame 5
onClipEvent (load) {
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
onClipEvent (enterFrame) {
_x = (_x + xsp);
if (_x > 480) {
_x = 80;
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
if (this.hit.hitTest(_root.hit) && (_root.ball.act == "fall")) {
_root.max_pacmen++;
if (_root.max_combo < int(_root.lbl_multi)) {
_root.max_combo = _root.lbl_multi;
if (int(_root.max_combo >= 19)) {
_root.cr1.nextFrame();
_root.co_cra1 = "yes";
}
if (int(_root.max_combo >= 49)) {
_root.cr2.nextFrame();
_root.co_cra2 = "yes";
}
if (int(_root.max_combo >= 79)) {
_root.cr3.nextFrame();
_root.co_cra3 = "yes";
}
}
if (_root.max_pacmen >= 100) {
_root.pk1.nextFrame();
_root.killer1 = "yes";
}
if (_root.max_pacmen >= 300) {
_root.pk2.nextFrame();
_root.killer2 = "yes";
}
if (_root.max_pacmen >= 600) {
_root.pk3.nextFrame();
_root.killer3 = "yes";
}
_root.lbl_multi++;
if (int(_root.lbl_multi > 1)) {
_root.mc_mul.mcnt.ml = "x" + _root.lbl_multi;
_root.mc_mul._x = _root.ball._x + 15;
_root.mc_mul._y = _root.ball._y - 15;
_root.mc_mul.gotoAndPlay(2);
}
if (_root.end_game == "yes") {
_root.lbl_score = _root.lbl_score + (50 * int(_root.lbl_multi));
} else {
_root.lbl_score = _root.lbl_score + (10 * int(_root.lbl_multi));
}
if (_root.pacmen_cnt > 0) {
_root.pacmen_cnt--;
}
if (_root.expl_cnt > 5) {
_root.expl_cnt = 0;
}
_root.expl_cnt++;
_root.expl.duplicateMovieClip("expl" + _root.expl_cnt, _root.expl_cnt);
_root["expl" + _root.expl_cnt]._x = _x;
_root["expl" + _root.expl_cnt]._y = _y;
_root.ball.ysp = 13;
_root.ball.act = "jump";
xsp = 0;
if (this._currentframe == 1) {
_root["expl" + _root.expl_cnt].gotoAndStop(2);
this.gotoAndStop(5);
} else if (this._currentframe == 2) {
_root["expl" + _root.expl_cnt].gotoAndStop(3);
this.gotoAndStop(6);
} else if (this._currentframe == 3) {
_root["expl" + _root.expl_cnt].gotoAndStop(4);
this.gotoAndStop(7);
} else if (this._currentframe == 4) {
_root["expl" + _root.expl_cnt].gotoAndStop(5);
this.gotoAndStop(8);
}
}
}
Instance of Symbol 147 MovieClip "pac5" in Frame 5
onClipEvent (load) {
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
onClipEvent (enterFrame) {
_x = (_x + xsp);
if (_x > 480) {
_x = 80;
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
if (this.hit.hitTest(_root.hit) && (_root.ball.act == "fall")) {
_root.max_pacmen++;
if (_root.max_combo < int(_root.lbl_multi)) {
_root.max_combo = _root.lbl_multi;
if (int(_root.max_combo >= 19)) {
_root.cr1.nextFrame();
_root.co_cra1 = "yes";
}
if (int(_root.max_combo >= 49)) {
_root.cr2.nextFrame();
_root.co_cra2 = "yes";
}
if (int(_root.max_combo >= 79)) {
_root.cr3.nextFrame();
_root.co_cra3 = "yes";
}
}
if (_root.max_pacmen >= 100) {
_root.pk1.nextFrame();
_root.killer1 = "yes";
}
if (_root.max_pacmen >= 300) {
_root.pk2.nextFrame();
_root.killer2 = "yes";
}
if (_root.max_pacmen >= 600) {
_root.pk3.nextFrame();
_root.killer3 = "yes";
}
_root.lbl_multi++;
if (int(_root.lbl_multi > 1)) {
_root.mc_mul.mcnt.ml = "x" + _root.lbl_multi;
_root.mc_mul._x = _root.ball._x + 15;
_root.mc_mul._y = _root.ball._y - 15;
_root.mc_mul.gotoAndPlay(2);
}
if (_root.end_game == "yes") {
_root.lbl_score = _root.lbl_score + (50 * int(_root.lbl_multi));
} else {
_root.lbl_score = _root.lbl_score + (10 * int(_root.lbl_multi));
}
if (_root.pacmen_cnt > 0) {
_root.pacmen_cnt--;
}
if (_root.expl_cnt > 5) {
_root.expl_cnt = 0;
}
_root.expl_cnt++;
_root.expl.duplicateMovieClip("expl" + _root.expl_cnt, _root.expl_cnt);
_root["expl" + _root.expl_cnt]._x = _x;
_root["expl" + _root.expl_cnt]._y = _y;
_root.ball.ysp = 13;
_root.ball.act = "jump";
xsp = 0;
if (this._currentframe == 1) {
_root["expl" + _root.expl_cnt].gotoAndStop(2);
this.gotoAndStop(5);
} else if (this._currentframe == 2) {
_root["expl" + _root.expl_cnt].gotoAndStop(3);
this.gotoAndStop(6);
} else if (this._currentframe == 3) {
_root["expl" + _root.expl_cnt].gotoAndStop(4);
this.gotoAndStop(7);
} else if (this._currentframe == 4) {
_root["expl" + _root.expl_cnt].gotoAndStop(5);
this.gotoAndStop(8);
}
}
}
Instance of Symbol 147 MovieClip "pac3" in Frame 5
onClipEvent (load) {
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
onClipEvent (enterFrame) {
_x = (_x + xsp);
if (_x > 480) {
_x = 80;
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
if (this.hit.hitTest(_root.hit) && (_root.ball.act == "fall")) {
_root.max_pacmen++;
if (_root.max_combo < int(_root.lbl_multi)) {
_root.max_combo = _root.lbl_multi;
if (int(_root.max_combo >= 19)) {
_root.cr1.nextFrame();
_root.co_cra1 = "yes";
}
if (int(_root.max_combo >= 49)) {
_root.cr2.nextFrame();
_root.co_cra2 = "yes";
}
if (int(_root.max_combo >= 79)) {
_root.cr3.nextFrame();
_root.co_cra3 = "yes";
}
}
if (_root.max_pacmen >= 100) {
_root.pk1.nextFrame();
_root.killer1 = "yes";
}
if (_root.max_pacmen >= 300) {
_root.pk2.nextFrame();
_root.killer2 = "yes";
}
if (_root.max_pacmen >= 600) {
_root.pk3.nextFrame();
_root.killer3 = "yes";
}
_root.lbl_multi++;
if (int(_root.lbl_multi > 1)) {
_root.mc_mul.mcnt.ml = "x" + _root.lbl_multi;
_root.mc_mul._x = _root.ball._x + 15;
_root.mc_mul._y = _root.ball._y - 15;
_root.mc_mul.gotoAndPlay(2);
}
if (_root.end_game == "yes") {
_root.lbl_score = _root.lbl_score + (50 * int(_root.lbl_multi));
} else {
_root.lbl_score = _root.lbl_score + (10 * int(_root.lbl_multi));
}
if (_root.pacmen_cnt > 0) {
_root.pacmen_cnt--;
}
if (_root.expl_cnt > 5) {
_root.expl_cnt = 0;
}
_root.expl_cnt++;
_root.expl.duplicateMovieClip("expl" + _root.expl_cnt, _root.expl_cnt);
_root["expl" + _root.expl_cnt]._x = _x;
_root["expl" + _root.expl_cnt]._y = _y;
_root.ball.ysp = 13;
_root.ball.act = "jump";
xsp = 0;
if (this._currentframe == 1) {
_root["expl" + _root.expl_cnt].gotoAndStop(2);
this.gotoAndStop(5);
} else if (this._currentframe == 2) {
_root["expl" + _root.expl_cnt].gotoAndStop(3);
this.gotoAndStop(6);
} else if (this._currentframe == 3) {
_root["expl" + _root.expl_cnt].gotoAndStop(4);
this.gotoAndStop(7);
} else if (this._currentframe == 4) {
_root["expl" + _root.expl_cnt].gotoAndStop(5);
this.gotoAndStop(8);
}
}
}
Instance of Symbol 147 MovieClip "pac11" in Frame 5
onClipEvent (load) {
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
onClipEvent (enterFrame) {
_x = (_x + xsp);
if (_x > 480) {
_x = 80;
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
if (this.hit.hitTest(_root.hit) && (_root.ball.act == "fall")) {
_root.max_pacmen++;
if (_root.max_combo < int(_root.lbl_multi)) {
_root.max_combo = _root.lbl_multi;
if (int(_root.max_combo >= 19)) {
_root.cr1.nextFrame();
_root.co_cra1 = "yes";
}
if (int(_root.max_combo >= 49)) {
_root.cr2.nextFrame();
_root.co_cra2 = "yes";
}
if (int(_root.max_combo >= 79)) {
_root.cr3.nextFrame();
_root.co_cra3 = "yes";
}
}
if (_root.max_pacmen >= 100) {
_root.pk1.nextFrame();
_root.killer1 = "yes";
}
if (_root.max_pacmen >= 300) {
_root.pk2.nextFrame();
_root.killer2 = "yes";
}
if (_root.max_pacmen >= 600) {
_root.pk3.nextFrame();
_root.killer3 = "yes";
}
_root.lbl_multi++;
if (int(_root.lbl_multi > 1)) {
_root.mc_mul.mcnt.ml = "x" + _root.lbl_multi;
_root.mc_mul._x = _root.ball._x + 15;
_root.mc_mul._y = _root.ball._y - 15;
_root.mc_mul.gotoAndPlay(2);
}
if (_root.end_game == "yes") {
_root.lbl_score = _root.lbl_score + (50 * int(_root.lbl_multi));
} else {
_root.lbl_score = _root.lbl_score + (10 * int(_root.lbl_multi));
}
if (_root.pacmen_cnt > 0) {
_root.pacmen_cnt--;
}
if (_root.expl_cnt > 5) {
_root.expl_cnt = 0;
}
_root.expl_cnt++;
_root.expl.duplicateMovieClip("expl" + _root.expl_cnt, _root.expl_cnt);
_root["expl" + _root.expl_cnt]._x = _x;
_root["expl" + _root.expl_cnt]._y = _y;
_root.ball.ysp = 13;
_root.ball.act = "jump";
xsp = 0;
if (this._currentframe == 1) {
_root["expl" + _root.expl_cnt].gotoAndStop(2);
this.gotoAndStop(5);
} else if (this._currentframe == 2) {
_root["expl" + _root.expl_cnt].gotoAndStop(3);
this.gotoAndStop(6);
} else if (this._currentframe == 3) {
_root["expl" + _root.expl_cnt].gotoAndStop(4);
this.gotoAndStop(7);
} else if (this._currentframe == 4) {
_root["expl" + _root.expl_cnt].gotoAndStop(5);
this.gotoAndStop(8);
}
}
}
Instance of Symbol 147 MovieClip "pac17" in Frame 5
onClipEvent (load) {
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
onClipEvent (enterFrame) {
_x = (_x + xsp);
if (_x > 480) {
_x = 80;
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
if (this.hit.hitTest(_root.hit) && (_root.ball.act == "fall")) {
_root.max_pacmen++;
if (_root.max_combo < int(_root.lbl_multi)) {
_root.max_combo = _root.lbl_multi;
if (int(_root.max_combo >= 19)) {
_root.cr1.nextFrame();
_root.co_cra1 = "yes";
}
if (int(_root.max_combo >= 49)) {
_root.cr2.nextFrame();
_root.co_cra2 = "yes";
}
if (int(_root.max_combo >= 79)) {
_root.cr3.nextFrame();
_root.co_cra3 = "yes";
}
}
if (_root.max_pacmen >= 100) {
_root.pk1.nextFrame();
_root.killer1 = "yes";
}
if (_root.max_pacmen >= 300) {
_root.pk2.nextFrame();
_root.killer2 = "yes";
}
if (_root.max_pacmen >= 600) {
_root.pk3.nextFrame();
_root.killer3 = "yes";
}
_root.lbl_multi++;
if (int(_root.lbl_multi > 1)) {
_root.mc_mul.mcnt.ml = "x" + _root.lbl_multi;
_root.mc_mul._x = _root.ball._x + 15;
_root.mc_mul._y = _root.ball._y - 15;
_root.mc_mul.gotoAndPlay(2);
}
if (_root.end_game == "yes") {
_root.lbl_score = _root.lbl_score + (50 * int(_root.lbl_multi));
} else {
_root.lbl_score = _root.lbl_score + (10 * int(_root.lbl_multi));
}
if (_root.pacmen_cnt > 0) {
_root.pacmen_cnt--;
}
if (_root.expl_cnt > 5) {
_root.expl_cnt = 0;
}
_root.expl_cnt++;
_root.expl.duplicateMovieClip("expl" + _root.expl_cnt, _root.expl_cnt);
_root["expl" + _root.expl_cnt]._x = _x;
_root["expl" + _root.expl_cnt]._y = _y;
_root.ball.ysp = 13;
_root.ball.act = "jump";
xsp = 0;
if (this._currentframe == 1) {
_root["expl" + _root.expl_cnt].gotoAndStop(2);
this.gotoAndStop(5);
} else if (this._currentframe == 2) {
_root["expl" + _root.expl_cnt].gotoAndStop(3);
this.gotoAndStop(6);
} else if (this._currentframe == 3) {
_root["expl" + _root.expl_cnt].gotoAndStop(4);
this.gotoAndStop(7);
} else if (this._currentframe == 4) {
_root["expl" + _root.expl_cnt].gotoAndStop(5);
this.gotoAndStop(8);
}
}
}
Instance of Symbol 147 MovieClip "pac18" in Frame 5
onClipEvent (load) {
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
onClipEvent (enterFrame) {
_x = (_x + xsp);
if (_x > 480) {
_x = 80;
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
if (this.hit.hitTest(_root.hit) && (_root.ball.act == "fall")) {
_root.max_pacmen++;
if (_root.max_combo < int(_root.lbl_multi)) {
_root.max_combo = _root.lbl_multi;
if (int(_root.max_combo >= 19)) {
_root.cr1.nextFrame();
_root.co_cra1 = "yes";
}
if (int(_root.max_combo >= 49)) {
_root.cr2.nextFrame();
_root.co_cra2 = "yes";
}
if (int(_root.max_combo >= 79)) {
_root.cr3.nextFrame();
_root.co_cra3 = "yes";
}
}
if (_root.max_pacmen >= 100) {
_root.pk1.nextFrame();
_root.killer1 = "yes";
}
if (_root.max_pacmen >= 300) {
_root.pk2.nextFrame();
_root.killer2 = "yes";
}
if (_root.max_pacmen >= 600) {
_root.pk3.nextFrame();
_root.killer3 = "yes";
}
_root.lbl_multi++;
if (int(_root.lbl_multi > 1)) {
_root.mc_mul.mcnt.ml = "x" + _root.lbl_multi;
_root.mc_mul._x = _root.ball._x + 15;
_root.mc_mul._y = _root.ball._y - 15;
_root.mc_mul.gotoAndPlay(2);
}
if (_root.end_game == "yes") {
_root.lbl_score = _root.lbl_score + (50 * int(_root.lbl_multi));
} else {
_root.lbl_score = _root.lbl_score + (10 * int(_root.lbl_multi));
}
if (_root.pacmen_cnt > 0) {
_root.pacmen_cnt--;
}
if (_root.expl_cnt > 5) {
_root.expl_cnt = 0;
}
_root.expl_cnt++;
_root.expl.duplicateMovieClip("expl" + _root.expl_cnt, _root.expl_cnt);
_root["expl" + _root.expl_cnt]._x = _x;
_root["expl" + _root.expl_cnt]._y = _y;
_root.ball.ysp = 13;
_root.ball.act = "jump";
xsp = 0;
if (this._currentframe == 1) {
_root["expl" + _root.expl_cnt].gotoAndStop(2);
this.gotoAndStop(5);
} else if (this._currentframe == 2) {
_root["expl" + _root.expl_cnt].gotoAndStop(3);
this.gotoAndStop(6);
} else if (this._currentframe == 3) {
_root["expl" + _root.expl_cnt].gotoAndStop(4);
this.gotoAndStop(7);
} else if (this._currentframe == 4) {
_root["expl" + _root.expl_cnt].gotoAndStop(5);
this.gotoAndStop(8);
}
}
}
Instance of Symbol 147 MovieClip "pac19" in Frame 5
onClipEvent (load) {
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
onClipEvent (enterFrame) {
_x = (_x + xsp);
if (_x > 480) {
_x = 80;
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
if (this.hit.hitTest(_root.hit) && (_root.ball.act == "fall")) {
_root.max_pacmen++;
if (_root.max_combo < int(_root.lbl_multi)) {
_root.max_combo = _root.lbl_multi;
if (int(_root.max_combo >= 19)) {
_root.cr1.nextFrame();
_root.co_cra1 = "yes";
}
if (int(_root.max_combo >= 49)) {
_root.cr2.nextFrame();
_root.co_cra2 = "yes";
}
if (int(_root.max_combo >= 79)) {
_root.cr3.nextFrame();
_root.co_cra3 = "yes";
}
}
if (_root.max_pacmen >= 100) {
_root.pk1.nextFrame();
_root.killer1 = "yes";
}
if (_root.max_pacmen >= 300) {
_root.pk2.nextFrame();
_root.killer2 = "yes";
}
if (_root.max_pacmen >= 600) {
_root.pk3.nextFrame();
_root.killer3 = "yes";
}
_root.lbl_multi++;
if (int(_root.lbl_multi > 1)) {
_root.mc_mul.mcnt.ml = "x" + _root.lbl_multi;
_root.mc_mul._x = _root.ball._x + 15;
_root.mc_mul._y = _root.ball._y - 15;
_root.mc_mul.gotoAndPlay(2);
}
if (_root.end_game == "yes") {
_root.lbl_score = _root.lbl_score + (50 * int(_root.lbl_multi));
} else {
_root.lbl_score = _root.lbl_score + (10 * int(_root.lbl_multi));
}
if (_root.pacmen_cnt > 0) {
_root.pacmen_cnt--;
}
if (_root.expl_cnt > 5) {
_root.expl_cnt = 0;
}
_root.expl_cnt++;
_root.expl.duplicateMovieClip("expl" + _root.expl_cnt, _root.expl_cnt);
_root["expl" + _root.expl_cnt]._x = _x;
_root["expl" + _root.expl_cnt]._y = _y;
_root.ball.ysp = 13;
_root.ball.act = "jump";
xsp = 0;
if (this._currentframe == 1) {
_root["expl" + _root.expl_cnt].gotoAndStop(2);
this.gotoAndStop(5);
} else if (this._currentframe == 2) {
_root["expl" + _root.expl_cnt].gotoAndStop(3);
this.gotoAndStop(6);
} else if (this._currentframe == 3) {
_root["expl" + _root.expl_cnt].gotoAndStop(4);
this.gotoAndStop(7);
} else if (this._currentframe == 4) {
_root["expl" + _root.expl_cnt].gotoAndStop(5);
this.gotoAndStop(8);
}
}
}
Instance of Symbol 147 MovieClip "pac20" in Frame 5
onClipEvent (load) {
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
onClipEvent (enterFrame) {
_x = (_x + xsp);
if (_x > 480) {
_x = 80;
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
if (this.hit.hitTest(_root.hit) && (_root.ball.act == "fall")) {
_root.max_pacmen++;
if (_root.max_combo < int(_root.lbl_multi)) {
_root.max_combo = _root.lbl_multi;
if (int(_root.max_combo >= 19)) {
_root.cr1.nextFrame();
_root.co_cra1 = "yes";
}
if (int(_root.max_combo >= 49)) {
_root.cr2.nextFrame();
_root.co_cra2 = "yes";
}
if (int(_root.max_combo >= 79)) {
_root.cr3.nextFrame();
_root.co_cra3 = "yes";
}
}
if (_root.max_pacmen >= 100) {
_root.pk1.nextFrame();
_root.killer1 = "yes";
}
if (_root.max_pacmen >= 300) {
_root.pk2.nextFrame();
_root.killer2 = "yes";
}
if (_root.max_pacmen >= 600) {
_root.pk3.nextFrame();
_root.killer3 = "yes";
}
_root.lbl_multi++;
if (int(_root.lbl_multi > 1)) {
_root.mc_mul.mcnt.ml = "x" + _root.lbl_multi;
_root.mc_mul._x = _root.ball._x + 15;
_root.mc_mul._y = _root.ball._y - 15;
_root.mc_mul.gotoAndPlay(2);
}
if (_root.end_game == "yes") {
_root.lbl_score = _root.lbl_score + (50 * int(_root.lbl_multi));
} else {
_root.lbl_score = _root.lbl_score + (10 * int(_root.lbl_multi));
}
if (_root.pacmen_cnt > 0) {
_root.pacmen_cnt--;
}
if (_root.expl_cnt > 5) {
_root.expl_cnt = 0;
}
_root.expl_cnt++;
_root.expl.duplicateMovieClip("expl" + _root.expl_cnt, _root.expl_cnt);
_root["expl" + _root.expl_cnt]._x = _x;
_root["expl" + _root.expl_cnt]._y = _y;
_root.ball.ysp = 13;
_root.ball.act = "jump";
xsp = 0;
if (this._currentframe == 1) {
_root["expl" + _root.expl_cnt].gotoAndStop(2);
this.gotoAndStop(5);
} else if (this._currentframe == 2) {
_root["expl" + _root.expl_cnt].gotoAndStop(3);
this.gotoAndStop(6);
} else if (this._currentframe == 3) {
_root["expl" + _root.expl_cnt].gotoAndStop(4);
this.gotoAndStop(7);
} else if (this._currentframe == 4) {
_root["expl" + _root.expl_cnt].gotoAndStop(5);
this.gotoAndStop(8);
}
}
}
Instance of Symbol 170 MovieClip "pink_pac" in Frame 5
onClipEvent (load) {
xsp = random(5) + 3;
_y = (random(100) + 200);
}
onClipEvent (enterFrame) {
if (_root.pacmen_cnt < 5) {
start_pink = 1;
}
if (start_pink) {
_x = (_x + xsp);
if (_x > 480) {
this.gotoAndStop(3);
}
if (this.hit.hitTest(_root.hit) && (_root.ball.act == "fall")) {
_root.pink_pacmen++;
if (_root.pink_pacmen >= 3) {
_root.pink1.nextFrame();
}
if (_root.pink_pacmen >= 6) {
_root.pink2.nextFrame();
}
if (_root.pink_pacmen >= 10) {
_root.pink3.nextFrame();
}
_root.max_pacmen++;
if (_root.max_combo < int(_root.lbl_multi)) {
_root.max_combo = _root.lbl_multi;
if (int(_root.max_combo >= 19)) {
_root.cr1.nextFrame();
_root.co_cra1 = "yes";
}
if (int(_root.max_combo >= 49)) {
_root.cr2.nextFrame();
_root.co_cra2 = "yes";
}
if (int(_root.max_combo >= 79)) {
_root.cr3.nextFrame();
_root.co_cra3 = "yes";
}
}
if (_root.max_pacmen >= 100) {
_root.pk1.nextFrame();
_root.killer1 = "yes";
}
if (_root.max_pacmen >= 300) {
_root.pk2.nextFrame();
_root.killer2 = "yes";
}
if (_root.max_pacmen >= 600) {
_root.pk3.nextFrame();
_root.killer3 = "yes";
}
_root.lbl_multi++;
if (int(_root.lbl_multi > 1)) {
_root.mc_mul.mcnt.ml = "x" + _root.lbl_multi;
_root.mc_mul._x = _root.ball._x + 15;
_root.mc_mul._y = _root.ball._y - 15;
_root.mc_mul.gotoAndPlay(2);
}
if (_root.end_game == "yes") {
_root.lbl_score = _root.lbl_score + (5000 * int(_root.lbl_multi));
} else {
_root.lbl_score = _root.lbl_score + (1000 * int(_root.lbl_multi));
}
if (_root.pacmen_cnt > 0) {
_root.pacmen_cnt--;
}
if (_root.expl_cnt > 5) {
_root.expl_cnt = 0;
}
_root.ball.ysp = 13;
_root.ball.act = "jump";
xsp = 0;
this.gotoAndStop(2);
}
}
}
Instance of Symbol 197 MovieClip "ball" in Frame 5
onClipEvent (load) {
var glevel = _y;
var ysp = 0;
var xsp = 5;
var act = "ground";
var xsp2 = 3;
var m_dir = "";
dn = "";
j = 20;
}
onClipEvent (keyUp) {
if (m_dir == "left") {
roll_left = 1;
m_dir = "";
xsp2 = 3;
} else if (m_dir == "right") {
roll_right = 1;
m_dir = "";
xsp2 = 3;
}
}
onClipEvent (enterFrame) {
if (this._currentframe != 3) {
if (roll_left) {
xsp2 = xsp2 - 0.5;
_rotation = (_rotation - (xsp2 * 3));
_x = (_x - xsp2);
if (_x < 115) {
_x = 115;
}
if (xsp2 <= 0) {
roll_left = 0;
xsp2 = 3;
}
}
if (roll_right) {
xsp2 = xsp2 - 0.5;
_rotation = (_rotation + (xsp2 * 3));
_x = (_x + xsp2);
if (_x > 430) {
_x = 430;
}
if (xsp2 <= 0) {
roll_right = 0;
xsp2 = 3;
}
}
if (Key.isDown(37)) {
m_dir = "left";
roll_left = 0;
roll_right = 0;
_rotation = (_rotation - (xsp + 5));
_x = (_x - xsp);
if (_x < 115) {
_x = 115;
}
} else if (Key.isDown(39)) {
m_dir = "right";
roll_left = 0;
roll_right = 0;
_rotation = (_rotation + (xsp + 5));
_x = (_x + xsp);
if (_x > 430) {
_x = 430;
}
}
if (act == "fall") {
ysp++;
var i = 0;
while (i < ysp) {
_y = (_y+1);
if (_y >= glevel) {
_y = glevel;
_root.snd_hit_ground.start(0, 0);
_root.lbl_multi = 0;
i = 0;
ysp = i;
act = "ground";
_root.leaves._x = _x;
_root.leaves._y = _y - 30;
_root.leaves.gotoAndPlay(2);
}
i++;
}
} else if (act == "jump") {
ysp--;
this.gotoAndStop(2);
var i = 0;
while (i < ysp) {
_y = (_y-1);
if (ysp <= 1) {
ysp = 0;
act = "fall";
}
i++;
}
}
if (Key.isDown(90) && (act == "ground")) {
_root.snd_jump.start(0, 0);
ysp = 12;
act = "jump";
}
if ((Key.isDown(40) && (act == "jump")) && (_y < (glevel - 5))) {
ysp = 0;
act = "fall";
}
}
}
Instance of Symbol 203 MovieClip "hit" in Frame 5
onClipEvent (enterFrame) {
_x = _root.ball._x;
_y = (_root.ball._y + 15);
}
Instance of Symbol 245 MovieClip "expl" in Frame 5
onClipEvent (load) {
cframe = _root._currentframe;
if (_x < 130) {
this.removeMovieClip();
}
}
onClipEvent (enterFrame) {
if (cframe != _root._currentframe) {
this.removeMovieClip();
}
}
Instance of Symbol 269 MovieClip "mc_grass" in Frame 5
onClipEvent (load) {
tmpdepth = this.getDepth();
this.swapDepths(100);
}
Instance of Symbol 289 MovieClip "pk1" in Frame 5
onClipEvent (load) {
tmpdepth = this.getDepth();
this.swapDepths(_root.getNextHighestDepth());
}
Instance of Symbol 292 MovieClip "pk2" in Frame 5
onClipEvent (load) {
tmpdepth = this.getDepth();
this.swapDepths(_root.getNextHighestDepth());
}
Instance of Symbol 295 MovieClip "pk3" in Frame 5
onClipEvent (load) {
tmpdepth = this.getDepth();
this.swapDepths(_root.getNextHighestDepth());
}
Instance of Symbol 299 MovieClip "cr1" in Frame 5
onClipEvent (load) {
tmpdepth = this.getDepth();
this.swapDepths(_root.getNextHighestDepth());
}
Instance of Symbol 302 MovieClip "cr2" in Frame 5
onClipEvent (load) {
tmpdepth = this.getDepth();
this.swapDepths(_root.getNextHighestDepth());
}
Instance of Symbol 305 MovieClip "cr3" in Frame 5
onClipEvent (load) {
tmpdepth = this.getDepth();
this.swapDepths(_root.getNextHighestDepth());
}
Instance of Symbol 309 MovieClip "col_mayhem" in Frame 5
onClipEvent (load) {
tmpdepth = this.getDepth();
this.swapDepths(_root.getNextHighestDepth());
}
Instance of Symbol 313 MovieClip "quicksilver" in Frame 5
onClipEvent (load) {
tmpdepth = this.getDepth();
this.swapDepths(_root.getNextHighestDepth());
}
Instance of Symbol 317 MovieClip "per_health" in Frame 5
onClipEvent (load) {
tmpdepth = this.getDepth();
this.swapDepths(_root.getNextHighestDepth());
}
Instance of Symbol 321 MovieClip "pink1" in Frame 5
onClipEvent (load) {
tmpdepth = this.getDepth();
this.swapDepths(_root.getNextHighestDepth());
}
Instance of Symbol 324 MovieClip "pink2" in Frame 5
onClipEvent (load) {
tmpdepth = this.getDepth();
this.swapDepths(_root.getNextHighestDepth());
}
Instance of Symbol 327 MovieClip "pink3" in Frame 5
onClipEvent (load) {
tmpdepth = this.getDepth();
this.swapDepths(_root.getNextHighestDepth());
}
Frame 6
stop();
if (_root.end_game == "yes") {
_root.time_bon = _root.time_bon + int(_root.lbl_time);
}
Frame 7
_root.snd_stage_bg.start(0, 999);
stop();
tmp_time = 0;
lbl_multi = 0;
expl_cnt = 0;
lbl_time = 40;
pacmen_cnt = 15;
i = 0;
j = 0;
m = 0;
end_game = "";
_root.onEnterFrame = function () {
var _local3 = new Date();
var _local2 = _local3 - starttime;
while (_local2 < (1000 / DESIREDFRAMERATE)) {
_local3 = new Date();
_local2 = _local3 - starttime;
}
starttime = new Date();
if (lbl_time <= 10) {
_root.mc_pan.nextFrame();
}
if ((lbl_time == 0) && (end_game == "")) {
_root.ball._rotation = 0;
_root.ball.gotoAndStop(3);
_root.b_xpl._x = _root.ball._x;
_root.b_xpl._y = _root.ball._y;
_root.b_xpl.nextFrame();
}
if ((pacmen_cnt == 0) && (end_game == "")) {
_root.mc_completed.play();
_root.lbl_score = _root.lbl_score + (int(_root.lbl_time) * int(_root.lbl_time));
end_game = "yes";
}
m++;
if (((m == 30) && (lbl_time > 0)) && (end_game == "")) {
tmp_time++;
lbl_time--;
m = 0;
}
if (end_game == "yes") {
j++;
if ((j == 3) && (i < 21)) {
i++;
if (expl_cnt > 10) {
expl_cnt = 0;
}
expl_cnt++;
_root.expl.duplicateMovieClip("expl" + expl_cnt, expl_cnt);
_root["expl" + expl_cnt]._x = _root["pac" + i]._x;
_root["expl" + expl_cnt]._y = _root["pac" + i]._y;
_root["pac" + i].xsp = 0;
if (_root["pac" + i]._currentframe == 1) {
_root["expl" + expl_cnt].gotoAndStop(2);
_root["pac" + i].gotoAndStop(5);
} else if (_root["pac" + i]._currentframe == 2) {
_root["expl" + expl_cnt].gotoAndStop(3);
_root["pac" + i].gotoAndStop(6);
} else if (_root["pac" + i]._currentframe == 3) {
_root["expl" + expl_cnt].gotoAndStop(4);
_root["pac" + i].gotoAndStop(7);
} else if (_root["pac" + i]._currentframe == 4) {
_root["expl" + expl_cnt].gotoAndStop(5);
_root["pac" + i].gotoAndStop(8);
}
j = 0;
}
}
};
Instance of Symbol 147 MovieClip "pac1" in Frame 7
onClipEvent (load) {
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
onClipEvent (enterFrame) {
_x = (_x + xsp);
if (_x > 480) {
_x = 80;
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
if (this.hit.hitTest(_root.hit) && (_root.ball.act == "fall")) {
_root.max_pacmen++;
if (_root.max_combo < int(_root.lbl_multi)) {
_root.max_combo = _root.lbl_multi;
if (int(_root.max_combo >= 19)) {
_root.cr1.nextFrame();
_root.co_cra1 = "yes";
}
if (int(_root.max_combo >= 49)) {
_root.cr2.nextFrame();
_root.co_cra2 = "yes";
}
if (int(_root.max_combo >= 79)) {
_root.cr3.nextFrame();
_root.co_cra3 = "yes";
}
}
if (_root.max_pacmen >= 100) {
_root.pk1.nextFrame();
_root.killer1 = "yes";
}
if (_root.max_pacmen >= 300) {
_root.pk2.nextFrame();
_root.killer2 = "yes";
}
if (_root.max_pacmen >= 600) {
_root.pk3.nextFrame();
_root.killer3 = "yes";
}
_root.lbl_multi++;
if (int(_root.lbl_multi > 1)) {
_root.mc_mul.mcnt.ml = "x" + _root.lbl_multi;
_root.mc_mul._x = _root.ball._x + 15;
_root.mc_mul._y = _root.ball._y - 15;
_root.mc_mul.gotoAndPlay(2);
}
if (_root.end_game == "yes") {
_root.lbl_score = _root.lbl_score + (50 * int(_root.lbl_multi));
} else {
_root.lbl_score = _root.lbl_score + (10 * int(_root.lbl_multi));
}
if (_root.pacmen_cnt > 0) {
_root.pacmen_cnt--;
}
if (_root.expl_cnt > 5) {
_root.expl_cnt = 0;
}
_root.expl_cnt++;
_root.expl.duplicateMovieClip("expl" + _root.expl_cnt, _root.expl_cnt);
_root["expl" + _root.expl_cnt]._x = _x;
_root["expl" + _root.expl_cnt]._y = _y;
_root.ball.ysp = 13;
_root.ball.act = "jump";
xsp = 0;
if (this._currentframe == 1) {
_root["expl" + _root.expl_cnt].gotoAndStop(2);
this.gotoAndStop(5);
} else if (this._currentframe == 2) {
_root["expl" + _root.expl_cnt].gotoAndStop(3);
this.gotoAndStop(6);
} else if (this._currentframe == 3) {
_root["expl" + _root.expl_cnt].gotoAndStop(4);
this.gotoAndStop(7);
} else if (this._currentframe == 4) {
_root["expl" + _root.expl_cnt].gotoAndStop(5);
this.gotoAndStop(8);
}
}
}
Instance of Symbol 147 MovieClip "pac2" in Frame 7
onClipEvent (load) {
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
onClipEvent (enterFrame) {
_x = (_x + xsp);
if (_x > 480) {
_x = 80;
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
if (this.hit.hitTest(_root.hit) && (_root.ball.act == "fall")) {
_root.max_pacmen++;
if (_root.max_combo < int(_root.lbl_multi)) {
_root.max_combo = _root.lbl_multi;
if (int(_root.max_combo >= 19)) {
_root.cr1.nextFrame();
_root.co_cra1 = "yes";
}
if (int(_root.max_combo >= 49)) {
_root.cr2.nextFrame();
_root.co_cra2 = "yes";
}
if (int(_root.max_combo >= 79)) {
_root.cr3.nextFrame();
_root.co_cra3 = "yes";
}
}
if (_root.max_pacmen >= 100) {
_root.pk1.nextFrame();
_root.killer1 = "yes";
}
if (_root.max_pacmen >= 300) {
_root.pk2.nextFrame();
_root.killer2 = "yes";
}
if (_root.max_pacmen >= 600) {
_root.pk3.nextFrame();
_root.killer3 = "yes";
}
_root.lbl_multi++;
if (int(_root.lbl_multi > 1)) {
_root.mc_mul.mcnt.ml = "x" + _root.lbl_multi;
_root.mc_mul._x = _root.ball._x + 15;
_root.mc_mul._y = _root.ball._y - 15;
_root.mc_mul.gotoAndPlay(2);
}
if (_root.end_game == "yes") {
_root.lbl_score = _root.lbl_score + (50 * int(_root.lbl_multi));
} else {
_root.lbl_score = _root.lbl_score + (10 * int(_root.lbl_multi));
}
if (_root.pacmen_cnt > 0) {
_root.pacmen_cnt--;
}
if (_root.expl_cnt > 5) {
_root.expl_cnt = 0;
}
_root.expl_cnt++;
_root.expl.duplicateMovieClip("expl" + _root.expl_cnt, _root.expl_cnt);
_root["expl" + _root.expl_cnt]._x = _x;
_root["expl" + _root.expl_cnt]._y = _y;
_root.ball.ysp = 13;
_root.ball.act = "jump";
xsp = 0;
if (this._currentframe == 1) {
_root["expl" + _root.expl_cnt].gotoAndStop(2);
this.gotoAndStop(5);
} else if (this._currentframe == 2) {
_root["expl" + _root.expl_cnt].gotoAndStop(3);
this.gotoAndStop(6);
} else if (this._currentframe == 3) {
_root["expl" + _root.expl_cnt].gotoAndStop(4);
this.gotoAndStop(7);
} else if (this._currentframe == 4) {
_root["expl" + _root.expl_cnt].gotoAndStop(5);
this.gotoAndStop(8);
}
}
}
Instance of Symbol 147 MovieClip "pac4" in Frame 7
onClipEvent (load) {
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
onClipEvent (enterFrame) {
_x = (_x + xsp);
if (_x > 480) {
_x = 80;
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
if (this.hit.hitTest(_root.hit) && (_root.ball.act == "fall")) {
_root.max_pacmen++;
if (_root.max_combo < int(_root.lbl_multi)) {
_root.max_combo = _root.lbl_multi;
if (int(_root.max_combo >= 19)) {
_root.cr1.nextFrame();
_root.co_cra1 = "yes";
}
if (int(_root.max_combo >= 49)) {
_root.cr2.nextFrame();
_root.co_cra2 = "yes";
}
if (int(_root.max_combo >= 79)) {
_root.cr3.nextFrame();
_root.co_cra3 = "yes";
}
}
if (_root.max_pacmen >= 100) {
_root.pk1.nextFrame();
_root.killer1 = "yes";
}
if (_root.max_pacmen >= 300) {
_root.pk2.nextFrame();
_root.killer2 = "yes";
}
if (_root.max_pacmen >= 600) {
_root.pk3.nextFrame();
_root.killer3 = "yes";
}
_root.lbl_multi++;
if (int(_root.lbl_multi > 1)) {
_root.mc_mul.mcnt.ml = "x" + _root.lbl_multi;
_root.mc_mul._x = _root.ball._x + 15;
_root.mc_mul._y = _root.ball._y - 15;
_root.mc_mul.gotoAndPlay(2);
}
if (_root.end_game == "yes") {
_root.lbl_score = _root.lbl_score + (50 * int(_root.lbl_multi));
} else {
_root.lbl_score = _root.lbl_score + (10 * int(_root.lbl_multi));
}
if (_root.pacmen_cnt > 0) {
_root.pacmen_cnt--;
}
if (_root.expl_cnt > 5) {
_root.expl_cnt = 0;
}
_root.expl_cnt++;
_root.expl.duplicateMovieClip("expl" + _root.expl_cnt, _root.expl_cnt);
_root["expl" + _root.expl_cnt]._x = _x;
_root["expl" + _root.expl_cnt]._y = _y;
_root.ball.ysp = 13;
_root.ball.act = "jump";
xsp = 0;
if (this._currentframe == 1) {
_root["expl" + _root.expl_cnt].gotoAndStop(2);
this.gotoAndStop(5);
} else if (this._currentframe == 2) {
_root["expl" + _root.expl_cnt].gotoAndStop(3);
this.gotoAndStop(6);
} else if (this._currentframe == 3) {
_root["expl" + _root.expl_cnt].gotoAndStop(4);
this.gotoAndStop(7);
} else if (this._currentframe == 4) {
_root["expl" + _root.expl_cnt].gotoAndStop(5);
this.gotoAndStop(8);
}
}
}
Instance of Symbol 147 MovieClip "pac6" in Frame 7
onClipEvent (load) {
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
onClipEvent (enterFrame) {
_x = (_x + xsp);
if (_x > 480) {
_x = 80;
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
if (this.hit.hitTest(_root.hit) && (_root.ball.act == "fall")) {
_root.max_pacmen++;
if (_root.max_combo < int(_root.lbl_multi)) {
_root.max_combo = _root.lbl_multi;
if (int(_root.max_combo >= 19)) {
_root.cr1.nextFrame();
_root.co_cra1 = "yes";
}
if (int(_root.max_combo >= 49)) {
_root.cr2.nextFrame();
_root.co_cra2 = "yes";
}
if (int(_root.max_combo >= 79)) {
_root.cr3.nextFrame();
_root.co_cra3 = "yes";
}
}
if (_root.max_pacmen >= 100) {
_root.pk1.nextFrame();
_root.killer1 = "yes";
}
if (_root.max_pacmen >= 300) {
_root.pk2.nextFrame();
_root.killer2 = "yes";
}
if (_root.max_pacmen >= 600) {
_root.pk3.nextFrame();
_root.killer3 = "yes";
}
_root.lbl_multi++;
if (int(_root.lbl_multi > 1)) {
_root.mc_mul.mcnt.ml = "x" + _root.lbl_multi;
_root.mc_mul._x = _root.ball._x + 15;
_root.mc_mul._y = _root.ball._y - 15;
_root.mc_mul.gotoAndPlay(2);
}
if (_root.end_game == "yes") {
_root.lbl_score = _root.lbl_score + (50 * int(_root.lbl_multi));
} else {
_root.lbl_score = _root.lbl_score + (10 * int(_root.lbl_multi));
}
if (_root.pacmen_cnt > 0) {
_root.pacmen_cnt--;
}
if (_root.expl_cnt > 5) {
_root.expl_cnt = 0;
}
_root.expl_cnt++;
_root.expl.duplicateMovieClip("expl" + _root.expl_cnt, _root.expl_cnt);
_root["expl" + _root.expl_cnt]._x = _x;
_root["expl" + _root.expl_cnt]._y = _y;
_root.ball.ysp = 13;
_root.ball.act = "jump";
xsp = 0;
if (this._currentframe == 1) {
_root["expl" + _root.expl_cnt].gotoAndStop(2);
this.gotoAndStop(5);
} else if (this._currentframe == 2) {
_root["expl" + _root.expl_cnt].gotoAndStop(3);
this.gotoAndStop(6);
} else if (this._currentframe == 3) {
_root["expl" + _root.expl_cnt].gotoAndStop(4);
this.gotoAndStop(7);
} else if (this._currentframe == 4) {
_root["expl" + _root.expl_cnt].gotoAndStop(5);
this.gotoAndStop(8);
}
}
}
Instance of Symbol 147 MovieClip "pac9" in Frame 7
onClipEvent (load) {
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
onClipEvent (enterFrame) {
_x = (_x + xsp);
if (_x > 480) {
_x = 80;
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
if (this.hit.hitTest(_root.hit) && (_root.ball.act == "fall")) {
_root.max_pacmen++;
if (_root.max_combo < int(_root.lbl_multi)) {
_root.max_combo = _root.lbl_multi;
if (int(_root.max_combo >= 19)) {
_root.cr1.nextFrame();
_root.co_cra1 = "yes";
}
if (int(_root.max_combo >= 49)) {
_root.cr2.nextFrame();
_root.co_cra2 = "yes";
}
if (int(_root.max_combo >= 79)) {
_root.cr3.nextFrame();
_root.co_cra3 = "yes";
}
}
if (_root.max_pacmen >= 100) {
_root.pk1.nextFrame();
_root.killer1 = "yes";
}
if (_root.max_pacmen >= 300) {
_root.pk2.nextFrame();
_root.killer2 = "yes";
}
if (_root.max_pacmen >= 600) {
_root.pk3.nextFrame();
_root.killer3 = "yes";
}
_root.lbl_multi++;
if (int(_root.lbl_multi > 1)) {
_root.mc_mul.mcnt.ml = "x" + _root.lbl_multi;
_root.mc_mul._x = _root.ball._x + 15;
_root.mc_mul._y = _root.ball._y - 15;
_root.mc_mul.gotoAndPlay(2);
}
if (_root.end_game == "yes") {
_root.lbl_score = _root.lbl_score + (50 * int(_root.lbl_multi));
} else {
_root.lbl_score = _root.lbl_score + (10 * int(_root.lbl_multi));
}
if (_root.pacmen_cnt > 0) {
_root.pacmen_cnt--;
}
if (_root.expl_cnt > 5) {
_root.expl_cnt = 0;
}
_root.expl_cnt++;
_root.expl.duplicateMovieClip("expl" + _root.expl_cnt, _root.expl_cnt);
_root["expl" + _root.expl_cnt]._x = _x;
_root["expl" + _root.expl_cnt]._y = _y;
_root.ball.ysp = 13;
_root.ball.act = "jump";
xsp = 0;
if (this._currentframe == 1) {
_root["expl" + _root.expl_cnt].gotoAndStop(2);
this.gotoAndStop(5);
} else if (this._currentframe == 2) {
_root["expl" + _root.expl_cnt].gotoAndStop(3);
this.gotoAndStop(6);
} else if (this._currentframe == 3) {
_root["expl" + _root.expl_cnt].gotoAndStop(4);
this.gotoAndStop(7);
} else if (this._currentframe == 4) {
_root["expl" + _root.expl_cnt].gotoAndStop(5);
this.gotoAndStop(8);
}
}
}
Instance of Symbol 147 MovieClip "pac12" in Frame 7
onClipEvent (load) {
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
onClipEvent (enterFrame) {
_x = (_x + xsp);
if (_x > 480) {
_x = 80;
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
if (this.hit.hitTest(_root.hit) && (_root.ball.act == "fall")) {
_root.max_pacmen++;
if (_root.max_combo < int(_root.lbl_multi)) {
_root.max_combo = _root.lbl_multi;
if (int(_root.max_combo >= 19)) {
_root.cr1.nextFrame();
_root.co_cra1 = "yes";
}
if (int(_root.max_combo >= 49)) {
_root.cr2.nextFrame();
_root.co_cra2 = "yes";
}
if (int(_root.max_combo >= 79)) {
_root.cr3.nextFrame();
_root.co_cra3 = "yes";
}
}
if (_root.max_pacmen >= 100) {
_root.pk1.nextFrame();
_root.killer1 = "yes";
}
if (_root.max_pacmen >= 300) {
_root.pk2.nextFrame();
_root.killer2 = "yes";
}
if (_root.max_pacmen >= 600) {
_root.pk3.nextFrame();
_root.killer3 = "yes";
}
_root.lbl_multi++;
if (int(_root.lbl_multi > 1)) {
_root.mc_mul.mcnt.ml = "x" + _root.lbl_multi;
_root.mc_mul._x = _root.ball._x + 15;
_root.mc_mul._y = _root.ball._y - 15;
_root.mc_mul.gotoAndPlay(2);
}
if (_root.end_game == "yes") {
_root.lbl_score = _root.lbl_score + (50 * int(_root.lbl_multi));
} else {
_root.lbl_score = _root.lbl_score + (10 * int(_root.lbl_multi));
}
if (_root.pacmen_cnt > 0) {
_root.pacmen_cnt--;
}
if (_root.expl_cnt > 5) {
_root.expl_cnt = 0;
}
_root.expl_cnt++;
_root.expl.duplicateMovieClip("expl" + _root.expl_cnt, _root.expl_cnt);
_root["expl" + _root.expl_cnt]._x = _x;
_root["expl" + _root.expl_cnt]._y = _y;
_root.ball.ysp = 13;
_root.ball.act = "jump";
xsp = 0;
if (this._currentframe == 1) {
_root["expl" + _root.expl_cnt].gotoAndStop(2);
this.gotoAndStop(5);
} else if (this._currentframe == 2) {
_root["expl" + _root.expl_cnt].gotoAndStop(3);
this.gotoAndStop(6);
} else if (this._currentframe == 3) {
_root["expl" + _root.expl_cnt].gotoAndStop(4);
this.gotoAndStop(7);
} else if (this._currentframe == 4) {
_root["expl" + _root.expl_cnt].gotoAndStop(5);
this.gotoAndStop(8);
}
}
}
Instance of Symbol 147 MovieClip "pac13" in Frame 7
onClipEvent (load) {
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
onClipEvent (enterFrame) {
_x = (_x + xsp);
if (_x > 480) {
_x = 80;
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
if (this.hit.hitTest(_root.hit) && (_root.ball.act == "fall")) {
_root.max_pacmen++;
if (_root.max_combo < int(_root.lbl_multi)) {
_root.max_combo = _root.lbl_multi;
if (int(_root.max_combo >= 19)) {
_root.cr1.nextFrame();
_root.co_cra1 = "yes";
}
if (int(_root.max_combo >= 49)) {
_root.cr2.nextFrame();
_root.co_cra2 = "yes";
}
if (int(_root.max_combo >= 79)) {
_root.cr3.nextFrame();
_root.co_cra3 = "yes";
}
}
if (_root.max_pacmen >= 100) {
_root.pk1.nextFrame();
_root.killer1 = "yes";
}
if (_root.max_pacmen >= 300) {
_root.pk2.nextFrame();
_root.killer2 = "yes";
}
if (_root.max_pacmen >= 600) {
_root.pk3.nextFrame();
_root.killer3 = "yes";
}
_root.lbl_multi++;
if (int(_root.lbl_multi > 1)) {
_root.mc_mul.mcnt.ml = "x" + _root.lbl_multi;
_root.mc_mul._x = _root.ball._x + 15;
_root.mc_mul._y = _root.ball._y - 15;
_root.mc_mul.gotoAndPlay(2);
}
if (_root.end_game == "yes") {
_root.lbl_score = _root.lbl_score + (50 * int(_root.lbl_multi));
} else {
_root.lbl_score = _root.lbl_score + (10 * int(_root.lbl_multi));
}
if (_root.pacmen_cnt > 0) {
_root.pacmen_cnt--;
}
if (_root.expl_cnt > 5) {
_root.expl_cnt = 0;
}
_root.expl_cnt++;
_root.expl.duplicateMovieClip("expl" + _root.expl_cnt, _root.expl_cnt);
_root["expl" + _root.expl_cnt]._x = _x;
_root["expl" + _root.expl_cnt]._y = _y;
_root.ball.ysp = 13;
_root.ball.act = "jump";
xsp = 0;
if (this._currentframe == 1) {
_root["expl" + _root.expl_cnt].gotoAndStop(2);
this.gotoAndStop(5);
} else if (this._currentframe == 2) {
_root["expl" + _root.expl_cnt].gotoAndStop(3);
this.gotoAndStop(6);
} else if (this._currentframe == 3) {
_root["expl" + _root.expl_cnt].gotoAndStop(4);
this.gotoAndStop(7);
} else if (this._currentframe == 4) {
_root["expl" + _root.expl_cnt].gotoAndStop(5);
this.gotoAndStop(8);
}
}
}
Instance of Symbol 147 MovieClip "pac15" in Frame 7
onClipEvent (load) {
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
onClipEvent (enterFrame) {
_x = (_x + xsp);
if (_x > 480) {
_x = 80;
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
if (this.hit.hitTest(_root.hit) && (_root.ball.act == "fall")) {
_root.max_pacmen++;
if (_root.max_combo < int(_root.lbl_multi)) {
_root.max_combo = _root.lbl_multi;
if (int(_root.max_combo >= 19)) {
_root.cr1.nextFrame();
_root.co_cra1 = "yes";
}
if (int(_root.max_combo >= 49)) {
_root.cr2.nextFrame();
_root.co_cra2 = "yes";
}
if (int(_root.max_combo >= 79)) {
_root.cr3.nextFrame();
_root.co_cra3 = "yes";
}
}
if (_root.max_pacmen >= 100) {
_root.pk1.nextFrame();
_root.killer1 = "yes";
}
if (_root.max_pacmen >= 300) {
_root.pk2.nextFrame();
_root.killer2 = "yes";
}
if (_root.max_pacmen >= 600) {
_root.pk3.nextFrame();
_root.killer3 = "yes";
}
_root.lbl_multi++;
if (int(_root.lbl_multi > 1)) {
_root.mc_mul.mcnt.ml = "x" + _root.lbl_multi;
_root.mc_mul._x = _root.ball._x + 15;
_root.mc_mul._y = _root.ball._y - 15;
_root.mc_mul.gotoAndPlay(2);
}
if (_root.end_game == "yes") {
_root.lbl_score = _root.lbl_score + (50 * int(_root.lbl_multi));
} else {
_root.lbl_score = _root.lbl_score + (10 * int(_root.lbl_multi));
}
if (_root.pacmen_cnt > 0) {
_root.pacmen_cnt--;
}
if (_root.expl_cnt > 5) {
_root.expl_cnt = 0;
}
_root.expl_cnt++;
_root.expl.duplicateMovieClip("expl" + _root.expl_cnt, _root.expl_cnt);
_root["expl" + _root.expl_cnt]._x = _x;
_root["expl" + _root.expl_cnt]._y = _y;
_root.ball.ysp = 13;
_root.ball.act = "jump";
xsp = 0;
if (this._currentframe == 1) {
_root["expl" + _root.expl_cnt].gotoAndStop(2);
this.gotoAndStop(5);
} else if (this._currentframe == 2) {
_root["expl" + _root.expl_cnt].gotoAndStop(3);
this.gotoAndStop(6);
} else if (this._currentframe == 3) {
_root["expl" + _root.expl_cnt].gotoAndStop(4);
this.gotoAndStop(7);
} else if (this._currentframe == 4) {
_root["expl" + _root.expl_cnt].gotoAndStop(5);
this.gotoAndStop(8);
}
}
}
Instance of Symbol 147 MovieClip "pac14" in Frame 7
onClipEvent (load) {
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
onClipEvent (enterFrame) {
_x = (_x + xsp);
if (_x > 480) {
_x = 80;
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
if (this.hit.hitTest(_root.hit) && (_root.ball.act == "fall")) {
_root.max_pacmen++;
if (_root.max_combo < int(_root.lbl_multi)) {
_root.max_combo = _root.lbl_multi;
if (int(_root.max_combo >= 19)) {
_root.cr1.nextFrame();
_root.co_cra1 = "yes";
}
if (int(_root.max_combo >= 49)) {
_root.cr2.nextFrame();
_root.co_cra2 = "yes";
}
if (int(_root.max_combo >= 79)) {
_root.cr3.nextFrame();
_root.co_cra3 = "yes";
}
}
if (_root.max_pacmen >= 100) {
_root.pk1.nextFrame();
_root.killer1 = "yes";
}
if (_root.max_pacmen >= 300) {
_root.pk2.nextFrame();
_root.killer2 = "yes";
}
if (_root.max_pacmen >= 600) {
_root.pk3.nextFrame();
_root.killer3 = "yes";
}
_root.lbl_multi++;
if (int(_root.lbl_multi > 1)) {
_root.mc_mul.mcnt.ml = "x" + _root.lbl_multi;
_root.mc_mul._x = _root.ball._x + 15;
_root.mc_mul._y = _root.ball._y - 15;
_root.mc_mul.gotoAndPlay(2);
}
if (_root.end_game == "yes") {
_root.lbl_score = _root.lbl_score + (50 * int(_root.lbl_multi));
} else {
_root.lbl_score = _root.lbl_score + (10 * int(_root.lbl_multi));
}
if (_root.pacmen_cnt > 0) {
_root.pacmen_cnt--;
}
if (_root.expl_cnt > 5) {
_root.expl_cnt = 0;
}
_root.expl_cnt++;
_root.expl.duplicateMovieClip("expl" + _root.expl_cnt, _root.expl_cnt);
_root["expl" + _root.expl_cnt]._x = _x;
_root["expl" + _root.expl_cnt]._y = _y;
_root.ball.ysp = 13;
_root.ball.act = "jump";
xsp = 0;
if (this._currentframe == 1) {
_root["expl" + _root.expl_cnt].gotoAndStop(2);
this.gotoAndStop(5);
} else if (this._currentframe == 2) {
_root["expl" + _root.expl_cnt].gotoAndStop(3);
this.gotoAndStop(6);
} else if (this._currentframe == 3) {
_root["expl" + _root.expl_cnt].gotoAndStop(4);
this.gotoAndStop(7);
} else if (this._currentframe == 4) {
_root["expl" + _root.expl_cnt].gotoAndStop(5);
this.gotoAndStop(8);
}
}
}
Instance of Symbol 147 MovieClip "pac16" in Frame 7
onClipEvent (load) {
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
onClipEvent (enterFrame) {
_x = (_x + xsp);
if (_x > 480) {
_x = 80;
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
if (this.hit.hitTest(_root.hit) && (_root.ball.act == "fall")) {
_root.max_pacmen++;
if (_root.max_combo < int(_root.lbl_multi)) {
_root.max_combo = _root.lbl_multi;
if (int(_root.max_combo >= 19)) {
_root.cr1.nextFrame();
_root.co_cra1 = "yes";
}
if (int(_root.max_combo >= 49)) {
_root.cr2.nextFrame();
_root.co_cra2 = "yes";
}
if (int(_root.max_combo >= 79)) {
_root.cr3.nextFrame();
_root.co_cra3 = "yes";
}
}
if (_root.max_pacmen >= 100) {
_root.pk1.nextFrame();
_root.killer1 = "yes";
}
if (_root.max_pacmen >= 300) {
_root.pk2.nextFrame();
_root.killer2 = "yes";
}
if (_root.max_pacmen >= 600) {
_root.pk3.nextFrame();
_root.killer3 = "yes";
}
_root.lbl_multi++;
if (int(_root.lbl_multi > 1)) {
_root.mc_mul.mcnt.ml = "x" + _root.lbl_multi;
_root.mc_mul._x = _root.ball._x + 15;
_root.mc_mul._y = _root.ball._y - 15;
_root.mc_mul.gotoAndPlay(2);
}
if (_root.end_game == "yes") {
_root.lbl_score = _root.lbl_score + (50 * int(_root.lbl_multi));
} else {
_root.lbl_score = _root.lbl_score + (10 * int(_root.lbl_multi));
}
if (_root.pacmen_cnt > 0) {
_root.pacmen_cnt--;
}
if (_root.expl_cnt > 5) {
_root.expl_cnt = 0;
}
_root.expl_cnt++;
_root.expl.duplicateMovieClip("expl" + _root.expl_cnt, _root.expl_cnt);
_root["expl" + _root.expl_cnt]._x = _x;
_root["expl" + _root.expl_cnt]._y = _y;
_root.ball.ysp = 13;
_root.ball.act = "jump";
xsp = 0;
if (this._currentframe == 1) {
_root["expl" + _root.expl_cnt].gotoAndStop(2);
this.gotoAndStop(5);
} else if (this._currentframe == 2) {
_root["expl" + _root.expl_cnt].gotoAndStop(3);
this.gotoAndStop(6);
} else if (this._currentframe == 3) {
_root["expl" + _root.expl_cnt].gotoAndStop(4);
this.gotoAndStop(7);
} else if (this._currentframe == 4) {
_root["expl" + _root.expl_cnt].gotoAndStop(5);
this.gotoAndStop(8);
}
}
}
Instance of Symbol 147 MovieClip "pac10" in Frame 7
onClipEvent (load) {
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
onClipEvent (enterFrame) {
_x = (_x + xsp);
if (_x > 480) {
_x = 80;
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
if (this.hit.hitTest(_root.hit) && (_root.ball.act == "fall")) {
_root.max_pacmen++;
if (_root.max_combo < int(_root.lbl_multi)) {
_root.max_combo = _root.lbl_multi;
if (int(_root.max_combo >= 19)) {
_root.cr1.nextFrame();
_root.co_cra1 = "yes";
}
if (int(_root.max_combo >= 49)) {
_root.cr2.nextFrame();
_root.co_cra2 = "yes";
}
if (int(_root.max_combo >= 79)) {
_root.cr3.nextFrame();
_root.co_cra3 = "yes";
}
}
if (_root.max_pacmen >= 100) {
_root.pk1.nextFrame();
_root.killer1 = "yes";
}
if (_root.max_pacmen >= 300) {
_root.pk2.nextFrame();
_root.killer2 = "yes";
}
if (_root.max_pacmen >= 600) {
_root.pk3.nextFrame();
_root.killer3 = "yes";
}
_root.lbl_multi++;
if (int(_root.lbl_multi > 1)) {
_root.mc_mul.mcnt.ml = "x" + _root.lbl_multi;
_root.mc_mul._x = _root.ball._x + 15;
_root.mc_mul._y = _root.ball._y - 15;
_root.mc_mul.gotoAndPlay(2);
}
if (_root.end_game == "yes") {
_root.lbl_score = _root.lbl_score + (50 * int(_root.lbl_multi));
} else {
_root.lbl_score = _root.lbl_score + (10 * int(_root.lbl_multi));
}
if (_root.pacmen_cnt > 0) {
_root.pacmen_cnt--;
}
if (_root.expl_cnt > 5) {
_root.expl_cnt = 0;
}
_root.expl_cnt++;
_root.expl.duplicateMovieClip("expl" + _root.expl_cnt, _root.expl_cnt);
_root["expl" + _root.expl_cnt]._x = _x;
_root["expl" + _root.expl_cnt]._y = _y;
_root.ball.ysp = 13;
_root.ball.act = "jump";
xsp = 0;
if (this._currentframe == 1) {
_root["expl" + _root.expl_cnt].gotoAndStop(2);
this.gotoAndStop(5);
} else if (this._currentframe == 2) {
_root["expl" + _root.expl_cnt].gotoAndStop(3);
this.gotoAndStop(6);
} else if (this._currentframe == 3) {
_root["expl" + _root.expl_cnt].gotoAndStop(4);
this.gotoAndStop(7);
} else if (this._currentframe == 4) {
_root["expl" + _root.expl_cnt].gotoAndStop(5);
this.gotoAndStop(8);
}
}
}
Instance of Symbol 147 MovieClip "pac8" in Frame 7
onClipEvent (load) {
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
onClipEvent (enterFrame) {
_x = (_x + xsp);
if (_x > 480) {
_x = 80;
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
if (this.hit.hitTest(_root.hit) && (_root.ball.act == "fall")) {
_root.max_pacmen++;
if (_root.max_combo < int(_root.lbl_multi)) {
_root.max_combo = _root.lbl_multi;
if (int(_root.max_combo >= 19)) {
_root.cr1.nextFrame();
_root.co_cra1 = "yes";
}
if (int(_root.max_combo >= 49)) {
_root.cr2.nextFrame();
_root.co_cra2 = "yes";
}
if (int(_root.max_combo >= 79)) {
_root.cr3.nextFrame();
_root.co_cra3 = "yes";
}
}
if (_root.max_pacmen >= 100) {
_root.pk1.nextFrame();
_root.killer1 = "yes";
}
if (_root.max_pacmen >= 300) {
_root.pk2.nextFrame();
_root.killer2 = "yes";
}
if (_root.max_pacmen >= 600) {
_root.pk3.nextFrame();
_root.killer3 = "yes";
}
_root.lbl_multi++;
if (int(_root.lbl_multi > 1)) {
_root.mc_mul.mcnt.ml = "x" + _root.lbl_multi;
_root.mc_mul._x = _root.ball._x + 15;
_root.mc_mul._y = _root.ball._y - 15;
_root.mc_mul.gotoAndPlay(2);
}
if (_root.end_game == "yes") {
_root.lbl_score = _root.lbl_score + (50 * int(_root.lbl_multi));
} else {
_root.lbl_score = _root.lbl_score + (10 * int(_root.lbl_multi));
}
if (_root.pacmen_cnt > 0) {
_root.pacmen_cnt--;
}
if (_root.expl_cnt > 5) {
_root.expl_cnt = 0;
}
_root.expl_cnt++;
_root.expl.duplicateMovieClip("expl" + _root.expl_cnt, _root.expl_cnt);
_root["expl" + _root.expl_cnt]._x = _x;
_root["expl" + _root.expl_cnt]._y = _y;
_root.ball.ysp = 13;
_root.ball.act = "jump";
xsp = 0;
if (this._currentframe == 1) {
_root["expl" + _root.expl_cnt].gotoAndStop(2);
this.gotoAndStop(5);
} else if (this._currentframe == 2) {
_root["expl" + _root.expl_cnt].gotoAndStop(3);
this.gotoAndStop(6);
} else if (this._currentframe == 3) {
_root["expl" + _root.expl_cnt].gotoAndStop(4);
this.gotoAndStop(7);
} else if (this._currentframe == 4) {
_root["expl" + _root.expl_cnt].gotoAndStop(5);
this.gotoAndStop(8);
}
}
}
Instance of Symbol 147 MovieClip "pac7" in Frame 7
onClipEvent (load) {
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
onClipEvent (enterFrame) {
_x = (_x + xsp);
if (_x > 480) {
_x = 80;
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
if (this.hit.hitTest(_root.hit) && (_root.ball.act == "fall")) {
_root.max_pacmen++;
if (_root.max_combo < int(_root.lbl_multi)) {
_root.max_combo = _root.lbl_multi;
if (int(_root.max_combo >= 19)) {
_root.cr1.nextFrame();
_root.co_cra1 = "yes";
}
if (int(_root.max_combo >= 49)) {
_root.cr2.nextFrame();
_root.co_cra2 = "yes";
}
if (int(_root.max_combo >= 79)) {
_root.cr3.nextFrame();
_root.co_cra3 = "yes";
}
}
if (_root.max_pacmen >= 100) {
_root.pk1.nextFrame();
_root.killer1 = "yes";
}
if (_root.max_pacmen >= 300) {
_root.pk2.nextFrame();
_root.killer2 = "yes";
}
if (_root.max_pacmen >= 600) {
_root.pk3.nextFrame();
_root.killer3 = "yes";
}
_root.lbl_multi++;
if (int(_root.lbl_multi > 1)) {
_root.mc_mul.mcnt.ml = "x" + _root.lbl_multi;
_root.mc_mul._x = _root.ball._x + 15;
_root.mc_mul._y = _root.ball._y - 15;
_root.mc_mul.gotoAndPlay(2);
}
if (_root.end_game == "yes") {
_root.lbl_score = _root.lbl_score + (50 * int(_root.lbl_multi));
} else {
_root.lbl_score = _root.lbl_score + (10 * int(_root.lbl_multi));
}
if (_root.pacmen_cnt > 0) {
_root.pacmen_cnt--;
}
if (_root.expl_cnt > 5) {
_root.expl_cnt = 0;
}
_root.expl_cnt++;
_root.expl.duplicateMovieClip("expl" + _root.expl_cnt, _root.expl_cnt);
_root["expl" + _root.expl_cnt]._x = _x;
_root["expl" + _root.expl_cnt]._y = _y;
_root.ball.ysp = 13;
_root.ball.act = "jump";
xsp = 0;
if (this._currentframe == 1) {
_root["expl" + _root.expl_cnt].gotoAndStop(2);
this.gotoAndStop(5);
} else if (this._currentframe == 2) {
_root["expl" + _root.expl_cnt].gotoAndStop(3);
this.gotoAndStop(6);
} else if (this._currentframe == 3) {
_root["expl" + _root.expl_cnt].gotoAndStop(4);
this.gotoAndStop(7);
} else if (this._currentframe == 4) {
_root["expl" + _root.expl_cnt].gotoAndStop(5);
this.gotoAndStop(8);
}
}
}
Instance of Symbol 147 MovieClip "pac5" in Frame 7
onClipEvent (load) {
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
onClipEvent (enterFrame) {
_x = (_x + xsp);
if (_x > 480) {
_x = 80;
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
if (this.hit.hitTest(_root.hit) && (_root.ball.act == "fall")) {
_root.max_pacmen++;
if (_root.max_combo < int(_root.lbl_multi)) {
_root.max_combo = _root.lbl_multi;
if (int(_root.max_combo >= 19)) {
_root.cr1.nextFrame();
_root.co_cra1 = "yes";
}
if (int(_root.max_combo >= 49)) {
_root.cr2.nextFrame();
_root.co_cra2 = "yes";
}
if (int(_root.max_combo >= 79)) {
_root.cr3.nextFrame();
_root.co_cra3 = "yes";
}
}
if (_root.max_pacmen >= 100) {
_root.pk1.nextFrame();
_root.killer1 = "yes";
}
if (_root.max_pacmen >= 300) {
_root.pk2.nextFrame();
_root.killer2 = "yes";
}
if (_root.max_pacmen >= 600) {
_root.pk3.nextFrame();
_root.killer3 = "yes";
}
_root.lbl_multi++;
if (int(_root.lbl_multi > 1)) {
_root.mc_mul.mcnt.ml = "x" + _root.lbl_multi;
_root.mc_mul._x = _root.ball._x + 15;
_root.mc_mul._y = _root.ball._y - 15;
_root.mc_mul.gotoAndPlay(2);
}
if (_root.end_game == "yes") {
_root.lbl_score = _root.lbl_score + (50 * int(_root.lbl_multi));
} else {
_root.lbl_score = _root.lbl_score + (10 * int(_root.lbl_multi));
}
if (_root.pacmen_cnt > 0) {
_root.pacmen_cnt--;
}
if (_root.expl_cnt > 5) {
_root.expl_cnt = 0;
}
_root.expl_cnt++;
_root.expl.duplicateMovieClip("expl" + _root.expl_cnt, _root.expl_cnt);
_root["expl" + _root.expl_cnt]._x = _x;
_root["expl" + _root.expl_cnt]._y = _y;
_root.ball.ysp = 13;
_root.ball.act = "jump";
xsp = 0;
if (this._currentframe == 1) {
_root["expl" + _root.expl_cnt].gotoAndStop(2);
this.gotoAndStop(5);
} else if (this._currentframe == 2) {
_root["expl" + _root.expl_cnt].gotoAndStop(3);
this.gotoAndStop(6);
} else if (this._currentframe == 3) {
_root["expl" + _root.expl_cnt].gotoAndStop(4);
this.gotoAndStop(7);
} else if (this._currentframe == 4) {
_root["expl" + _root.expl_cnt].gotoAndStop(5);
this.gotoAndStop(8);
}
}
}
Instance of Symbol 147 MovieClip "pac3" in Frame 7
onClipEvent (load) {
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
onClipEvent (enterFrame) {
_x = (_x + xsp);
if (_x > 480) {
_x = 80;
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
if (this.hit.hitTest(_root.hit) && (_root.ball.act == "fall")) {
_root.max_pacmen++;
if (_root.max_combo < int(_root.lbl_multi)) {
_root.max_combo = _root.lbl_multi;
if (int(_root.max_combo >= 19)) {
_root.cr1.nextFrame();
_root.co_cra1 = "yes";
}
if (int(_root.max_combo >= 49)) {
_root.cr2.nextFrame();
_root.co_cra2 = "yes";
}
if (int(_root.max_combo >= 79)) {
_root.cr3.nextFrame();
_root.co_cra3 = "yes";
}
}
if (_root.max_pacmen >= 100) {
_root.pk1.nextFrame();
_root.killer1 = "yes";
}
if (_root.max_pacmen >= 300) {
_root.pk2.nextFrame();
_root.killer2 = "yes";
}
if (_root.max_pacmen >= 600) {
_root.pk3.nextFrame();
_root.killer3 = "yes";
}
_root.lbl_multi++;
if (int(_root.lbl_multi > 1)) {
_root.mc_mul.mcnt.ml = "x" + _root.lbl_multi;
_root.mc_mul._x = _root.ball._x + 15;
_root.mc_mul._y = _root.ball._y - 15;
_root.mc_mul.gotoAndPlay(2);
}
if (_root.end_game == "yes") {
_root.lbl_score = _root.lbl_score + (50 * int(_root.lbl_multi));
} else {
_root.lbl_score = _root.lbl_score + (10 * int(_root.lbl_multi));
}
if (_root.pacmen_cnt > 0) {
_root.pacmen_cnt--;
}
if (_root.expl_cnt > 5) {
_root.expl_cnt = 0;
}
_root.expl_cnt++;
_root.expl.duplicateMovieClip("expl" + _root.expl_cnt, _root.expl_cnt);
_root["expl" + _root.expl_cnt]._x = _x;
_root["expl" + _root.expl_cnt]._y = _y;
_root.ball.ysp = 13;
_root.ball.act = "jump";
xsp = 0;
if (this._currentframe == 1) {
_root["expl" + _root.expl_cnt].gotoAndStop(2);
this.gotoAndStop(5);
} else if (this._currentframe == 2) {
_root["expl" + _root.expl_cnt].gotoAndStop(3);
this.gotoAndStop(6);
} else if (this._currentframe == 3) {
_root["expl" + _root.expl_cnt].gotoAndStop(4);
this.gotoAndStop(7);
} else if (this._currentframe == 4) {
_root["expl" + _root.expl_cnt].gotoAndStop(5);
this.gotoAndStop(8);
}
}
}
Instance of Symbol 147 MovieClip "pac11" in Frame 7
onClipEvent (load) {
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
onClipEvent (enterFrame) {
_x = (_x + xsp);
if (_x > 480) {
_x = 80;
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
if (this.hit.hitTest(_root.hit) && (_root.ball.act == "fall")) {
_root.max_pacmen++;
if (_root.max_combo < int(_root.lbl_multi)) {
_root.max_combo = _root.lbl_multi;
if (int(_root.max_combo >= 19)) {
_root.cr1.nextFrame();
_root.co_cra1 = "yes";
}
if (int(_root.max_combo >= 49)) {
_root.cr2.nextFrame();
_root.co_cra2 = "yes";
}
if (int(_root.max_combo >= 79)) {
_root.cr3.nextFrame();
_root.co_cra3 = "yes";
}
}
if (_root.max_pacmen >= 100) {
_root.pk1.nextFrame();
_root.killer1 = "yes";
}
if (_root.max_pacmen >= 300) {
_root.pk2.nextFrame();
_root.killer2 = "yes";
}
if (_root.max_pacmen >= 600) {
_root.pk3.nextFrame();
_root.killer3 = "yes";
}
_root.lbl_multi++;
if (int(_root.lbl_multi > 1)) {
_root.mc_mul.mcnt.ml = "x" + _root.lbl_multi;
_root.mc_mul._x = _root.ball._x + 15;
_root.mc_mul._y = _root.ball._y - 15;
_root.mc_mul.gotoAndPlay(2);
}
if (_root.end_game == "yes") {
_root.lbl_score = _root.lbl_score + (50 * int(_root.lbl_multi));
} else {
_root.lbl_score = _root.lbl_score + (10 * int(_root.lbl_multi));
}
if (_root.pacmen_cnt > 0) {
_root.pacmen_cnt--;
}
if (_root.expl_cnt > 5) {
_root.expl_cnt = 0;
}
_root.expl_cnt++;
_root.expl.duplicateMovieClip("expl" + _root.expl_cnt, _root.expl_cnt);
_root["expl" + _root.expl_cnt]._x = _x;
_root["expl" + _root.expl_cnt]._y = _y;
_root.ball.ysp = 13;
_root.ball.act = "jump";
xsp = 0;
if (this._currentframe == 1) {
_root["expl" + _root.expl_cnt].gotoAndStop(2);
this.gotoAndStop(5);
} else if (this._currentframe == 2) {
_root["expl" + _root.expl_cnt].gotoAndStop(3);
this.gotoAndStop(6);
} else if (this._currentframe == 3) {
_root["expl" + _root.expl_cnt].gotoAndStop(4);
this.gotoAndStop(7);
} else if (this._currentframe == 4) {
_root["expl" + _root.expl_cnt].gotoAndStop(5);
this.gotoAndStop(8);
}
}
}
Instance of Symbol 147 MovieClip "pac17" in Frame 7
onClipEvent (load) {
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
onClipEvent (enterFrame) {
_x = (_x + xsp);
if (_x > 480) {
_x = 80;
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
if (this.hit.hitTest(_root.hit) && (_root.ball.act == "fall")) {
_root.max_pacmen++;
if (_root.max_combo < int(_root.lbl_multi)) {
_root.max_combo = _root.lbl_multi;
if (int(_root.max_combo >= 19)) {
_root.cr1.nextFrame();
_root.co_cra1 = "yes";
}
if (int(_root.max_combo >= 49)) {
_root.cr2.nextFrame();
_root.co_cra2 = "yes";
}
if (int(_root.max_combo >= 79)) {
_root.cr3.nextFrame();
_root.co_cra3 = "yes";
}
}
if (_root.max_pacmen >= 100) {
_root.pk1.nextFrame();
_root.killer1 = "yes";
}
if (_root.max_pacmen >= 300) {
_root.pk2.nextFrame();
_root.killer2 = "yes";
}
if (_root.max_pacmen >= 600) {
_root.pk3.nextFrame();
_root.killer3 = "yes";
}
_root.lbl_multi++;
if (int(_root.lbl_multi > 1)) {
_root.mc_mul.mcnt.ml = "x" + _root.lbl_multi;
_root.mc_mul._x = _root.ball._x + 15;
_root.mc_mul._y = _root.ball._y - 15;
_root.mc_mul.gotoAndPlay(2);
}
if (_root.end_game == "yes") {
_root.lbl_score = _root.lbl_score + (50 * int(_root.lbl_multi));
} else {
_root.lbl_score = _root.lbl_score + (10 * int(_root.lbl_multi));
}
if (_root.pacmen_cnt > 0) {
_root.pacmen_cnt--;
}
if (_root.expl_cnt > 5) {
_root.expl_cnt = 0;
}
_root.expl_cnt++;
_root.expl.duplicateMovieClip("expl" + _root.expl_cnt, _root.expl_cnt);
_root["expl" + _root.expl_cnt]._x = _x;
_root["expl" + _root.expl_cnt]._y = _y;
_root.ball.ysp = 13;
_root.ball.act = "jump";
xsp = 0;
if (this._currentframe == 1) {
_root["expl" + _root.expl_cnt].gotoAndStop(2);
this.gotoAndStop(5);
} else if (this._currentframe == 2) {
_root["expl" + _root.expl_cnt].gotoAndStop(3);
this.gotoAndStop(6);
} else if (this._currentframe == 3) {
_root["expl" + _root.expl_cnt].gotoAndStop(4);
this.gotoAndStop(7);
} else if (this._currentframe == 4) {
_root["expl" + _root.expl_cnt].gotoAndStop(5);
this.gotoAndStop(8);
}
}
}
Instance of Symbol 147 MovieClip "pac18" in Frame 7
onClipEvent (load) {
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
onClipEvent (enterFrame) {
_x = (_x + xsp);
if (_x > 480) {
_x = 80;
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
if (this.hit.hitTest(_root.hit) && (_root.ball.act == "fall")) {
_root.max_pacmen++;
if (_root.max_combo < int(_root.lbl_multi)) {
_root.max_combo = _root.lbl_multi;
if (int(_root.max_combo >= 19)) {
_root.cr1.nextFrame();
_root.co_cra1 = "yes";
}
if (int(_root.max_combo >= 49)) {
_root.cr2.nextFrame();
_root.co_cra2 = "yes";
}
if (int(_root.max_combo >= 79)) {
_root.cr3.nextFrame();
_root.co_cra3 = "yes";
}
}
if (_root.max_pacmen >= 100) {
_root.pk1.nextFrame();
_root.killer1 = "yes";
}
if (_root.max_pacmen >= 300) {
_root.pk2.nextFrame();
_root.killer2 = "yes";
}
if (_root.max_pacmen >= 600) {
_root.pk3.nextFrame();
_root.killer3 = "yes";
}
_root.lbl_multi++;
if (int(_root.lbl_multi > 1)) {
_root.mc_mul.mcnt.ml = "x" + _root.lbl_multi;
_root.mc_mul._x = _root.ball._x + 15;
_root.mc_mul._y = _root.ball._y - 15;
_root.mc_mul.gotoAndPlay(2);
}
if (_root.end_game == "yes") {
_root.lbl_score = _root.lbl_score + (50 * int(_root.lbl_multi));
} else {
_root.lbl_score = _root.lbl_score + (10 * int(_root.lbl_multi));
}
if (_root.pacmen_cnt > 0) {
_root.pacmen_cnt--;
}
if (_root.expl_cnt > 5) {
_root.expl_cnt = 0;
}
_root.expl_cnt++;
_root.expl.duplicateMovieClip("expl" + _root.expl_cnt, _root.expl_cnt);
_root["expl" + _root.expl_cnt]._x = _x;
_root["expl" + _root.expl_cnt]._y = _y;
_root.ball.ysp = 13;
_root.ball.act = "jump";
xsp = 0;
if (this._currentframe == 1) {
_root["expl" + _root.expl_cnt].gotoAndStop(2);
this.gotoAndStop(5);
} else if (this._currentframe == 2) {
_root["expl" + _root.expl_cnt].gotoAndStop(3);
this.gotoAndStop(6);
} else if (this._currentframe == 3) {
_root["expl" + _root.expl_cnt].gotoAndStop(4);
this.gotoAndStop(7);
} else if (this._currentframe == 4) {
_root["expl" + _root.expl_cnt].gotoAndStop(5);
this.gotoAndStop(8);
}
}
}
Instance of Symbol 147 MovieClip "pac19" in Frame 7
onClipEvent (load) {
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
onClipEvent (enterFrame) {
_x = (_x + xsp);
if (_x > 480) {
_x = 80;
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
if (this.hit.hitTest(_root.hit) && (_root.ball.act == "fall")) {
_root.max_pacmen++;
if (_root.max_combo < int(_root.lbl_multi)) {
_root.max_combo = _root.lbl_multi;
if (int(_root.max_combo >= 19)) {
_root.cr1.nextFrame();
_root.co_cra1 = "yes";
}
if (int(_root.max_combo >= 49)) {
_root.cr2.nextFrame();
_root.co_cra2 = "yes";
}
if (int(_root.max_combo >= 79)) {
_root.cr3.nextFrame();
_root.co_cra3 = "yes";
}
}
if (_root.max_pacmen >= 100) {
_root.pk1.nextFrame();
_root.killer1 = "yes";
}
if (_root.max_pacmen >= 300) {
_root.pk2.nextFrame();
_root.killer2 = "yes";
}
if (_root.max_pacmen >= 600) {
_root.pk3.nextFrame();
_root.killer3 = "yes";
}
_root.lbl_multi++;
if (int(_root.lbl_multi > 1)) {
_root.mc_mul.mcnt.ml = "x" + _root.lbl_multi;
_root.mc_mul._x = _root.ball._x + 15;
_root.mc_mul._y = _root.ball._y - 15;
_root.mc_mul.gotoAndPlay(2);
}
if (_root.end_game == "yes") {
_root.lbl_score = _root.lbl_score + (50 * int(_root.lbl_multi));
} else {
_root.lbl_score = _root.lbl_score + (10 * int(_root.lbl_multi));
}
if (_root.pacmen_cnt > 0) {
_root.pacmen_cnt--;
}
if (_root.expl_cnt > 5) {
_root.expl_cnt = 0;
}
_root.expl_cnt++;
_root.expl.duplicateMovieClip("expl" + _root.expl_cnt, _root.expl_cnt);
_root["expl" + _root.expl_cnt]._x = _x;
_root["expl" + _root.expl_cnt]._y = _y;
_root.ball.ysp = 13;
_root.ball.act = "jump";
xsp = 0;
if (this._currentframe == 1) {
_root["expl" + _root.expl_cnt].gotoAndStop(2);
this.gotoAndStop(5);
} else if (this._currentframe == 2) {
_root["expl" + _root.expl_cnt].gotoAndStop(3);
this.gotoAndStop(6);
} else if (this._currentframe == 3) {
_root["expl" + _root.expl_cnt].gotoAndStop(4);
this.gotoAndStop(7);
} else if (this._currentframe == 4) {
_root["expl" + _root.expl_cnt].gotoAndStop(5);
this.gotoAndStop(8);
}
}
}
Instance of Symbol 147 MovieClip "pac20" in Frame 7
onClipEvent (load) {
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
onClipEvent (enterFrame) {
_x = (_x + xsp);
if (_x > 480) {
_x = 80;
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
if (this.hit.hitTest(_root.hit) && (_root.ball.act == "fall")) {
_root.max_pacmen++;
if (_root.max_combo < int(_root.lbl_multi)) {
_root.max_combo = _root.lbl_multi;
if (int(_root.max_combo >= 19)) {
_root.cr1.nextFrame();
_root.co_cra1 = "yes";
}
if (int(_root.max_combo >= 49)) {
_root.cr2.nextFrame();
_root.co_cra2 = "yes";
}
if (int(_root.max_combo >= 79)) {
_root.cr3.nextFrame();
_root.co_cra3 = "yes";
}
}
if (_root.max_pacmen >= 100) {
_root.pk1.nextFrame();
_root.killer1 = "yes";
}
if (_root.max_pacmen >= 300) {
_root.pk2.nextFrame();
_root.killer2 = "yes";
}
if (_root.max_pacmen >= 600) {
_root.pk3.nextFrame();
_root.killer3 = "yes";
}
_root.lbl_multi++;
if (int(_root.lbl_multi > 1)) {
_root.mc_mul.mcnt.ml = "x" + _root.lbl_multi;
_root.mc_mul._x = _root.ball._x + 15;
_root.mc_mul._y = _root.ball._y - 15;
_root.mc_mul.gotoAndPlay(2);
}
if (_root.end_game == "yes") {
_root.lbl_score = _root.lbl_score + (50 * int(_root.lbl_multi));
} else {
_root.lbl_score = _root.lbl_score + (10 * int(_root.lbl_multi));
}
if (_root.pacmen_cnt > 0) {
_root.pacmen_cnt--;
}
if (_root.expl_cnt > 5) {
_root.expl_cnt = 0;
}
_root.expl_cnt++;
_root.expl.duplicateMovieClip("expl" + _root.expl_cnt, _root.expl_cnt);
_root["expl" + _root.expl_cnt]._x = _x;
_root["expl" + _root.expl_cnt]._y = _y;
_root.ball.ysp = 13;
_root.ball.act = "jump";
xsp = 0;
if (this._currentframe == 1) {
_root["expl" + _root.expl_cnt].gotoAndStop(2);
this.gotoAndStop(5);
} else if (this._currentframe == 2) {
_root["expl" + _root.expl_cnt].gotoAndStop(3);
this.gotoAndStop(6);
} else if (this._currentframe == 3) {
_root["expl" + _root.expl_cnt].gotoAndStop(4);
this.gotoAndStop(7);
} else if (this._currentframe == 4) {
_root["expl" + _root.expl_cnt].gotoAndStop(5);
this.gotoAndStop(8);
}
}
}
Instance of Symbol 170 MovieClip "pink_pac" in Frame 7
onClipEvent (load) {
xsp = random(5) + 3;
_y = (random(100) + 200);
}
onClipEvent (enterFrame) {
if (_root.pacmen_cnt < 8) {
start_pink = 1;
}
if (start_pink) {
_x = (_x + xsp);
if (_x > 480) {
this.gotoAndStop(3);
}
if (this.hit.hitTest(_root.hit) && (_root.ball.act == "fall")) {
_root.pink_pacmen++;
if (_root.pink_pacmen >= 3) {
_root.pink1.nextFrame();
}
if (_root.pink_pacmen >= 6) {
_root.pink2.nextFrame();
}
if (_root.pink_pacmen >= 10) {
_root.pink3.nextFrame();
}
_root.max_pacmen++;
if (_root.max_combo < int(_root.lbl_multi)) {
_root.max_combo = _root.lbl_multi;
if (int(_root.max_combo >= 19)) {
_root.cr1.nextFrame();
_root.co_cra1 = "yes";
}
if (int(_root.max_combo >= 49)) {
_root.cr2.nextFrame();
_root.co_cra2 = "yes";
}
if (int(_root.max_combo >= 79)) {
_root.cr3.nextFrame();
_root.co_cra3 = "yes";
}
}
if (_root.max_pacmen >= 100) {
_root.pk1.nextFrame();
_root.killer1 = "yes";
}
if (_root.max_pacmen >= 300) {
_root.pk2.nextFrame();
_root.killer2 = "yes";
}
if (_root.max_pacmen >= 600) {
_root.pk3.nextFrame();
_root.killer3 = "yes";
}
_root.lbl_multi++;
if (int(_root.lbl_multi > 1)) {
_root.mc_mul.mcnt.ml = "x" + _root.lbl_multi;
_root.mc_mul._x = _root.ball._x + 15;
_root.mc_mul._y = _root.ball._y - 15;
_root.mc_mul.gotoAndPlay(2);
}
if (_root.end_game == "yes") {
_root.lbl_score = _root.lbl_score + (5000 * int(_root.lbl_multi));
} else {
_root.lbl_score = _root.lbl_score + (1000 * int(_root.lbl_multi));
}
if (_root.pacmen_cnt > 0) {
_root.pacmen_cnt--;
}
if (_root.expl_cnt > 5) {
_root.expl_cnt = 0;
}
_root.ball.ysp = 13;
_root.ball.act = "jump";
xsp = 0;
this.gotoAndStop(2);
}
}
}
Instance of Symbol 197 MovieClip "ball" in Frame 7
onClipEvent (load) {
var glevel = _y;
var ysp = 0;
var xsp = 5;
var act = "ground";
var xsp2 = 3;
var m_dir = "";
j = 20;
}
onClipEvent (keyUp) {
if (m_dir == "left") {
roll_left = 1;
m_dir = "";
xsp2 = 3;
} else if (m_dir == "right") {
roll_right = 1;
m_dir = "";
xsp2 = 3;
}
}
onClipEvent (enterFrame) {
if (this._currentframe != 3) {
if (roll_left) {
xsp2 = xsp2 - 0.5;
_rotation = (_rotation - (xsp2 * 3));
_x = (_x - xsp2);
if (_x < 115) {
_x = 115;
}
if (xsp2 <= 0) {
roll_left = 0;
xsp2 = 3;
}
}
if (roll_right) {
xsp2 = xsp2 - 0.5;
_rotation = (_rotation + (xsp2 * 3));
_x = (_x + xsp2);
if (_x > 430) {
_x = 430;
}
if (xsp2 <= 0) {
roll_right = 0;
xsp2 = 3;
}
}
if (Key.isDown(37)) {
m_dir = "left";
roll_left = 0;
roll_right = 0;
_rotation = (_rotation - (xsp + 5));
_x = (_x - xsp);
if (_x < 115) {
_x = 115;
}
} else if (Key.isDown(39)) {
m_dir = "right";
roll_left = 0;
roll_right = 0;
_rotation = (_rotation + (xsp + 5));
_x = (_x + xsp);
if (_x > 430) {
_x = 430;
}
}
if (act == "fall") {
ysp++;
var i = 0;
while (i < ysp) {
_y = (_y+1);
if (_y >= glevel) {
_y = glevel;
_root.snd_hit_ground.start(0, 0);
_root.lbl_multi = 0;
i = 0;
ysp = i;
act = "ground";
_root.leaves._x = _x;
_root.leaves._y = _y - 30;
_root.leaves.gotoAndPlay(2);
}
i++;
}
} else if (act == "jump") {
ysp--;
this.gotoAndStop(2);
var i = 0;
while (i < ysp) {
_y = (_y-1);
if (ysp <= 1) {
ysp = 0;
act = "fall";
}
i++;
}
}
if (Key.isDown(90) && (act == "ground")) {
_root.snd_jump.start(0, 0);
ysp = 12;
act = "jump";
}
if ((Key.isDown(40) && (act == "jump")) && (_y < (glevel - 5))) {
ysp = 0;
act = "fall";
}
}
}
Instance of Symbol 203 MovieClip "hit" in Frame 7
onClipEvent (enterFrame) {
_x = _root.ball._x;
_y = (_root.ball._y + 15);
}
Instance of Symbol 245 MovieClip "expl" in Frame 7
onClipEvent (load) {
cframe = _root._currentframe;
if (_x < 130) {
this.removeMovieClip();
}
}
onClipEvent (enterFrame) {
if (cframe != _root._currentframe) {
this.removeMovieClip();
}
}
Instance of Symbol 269 MovieClip "mc_grass" in Frame 7
onClipEvent (load) {
tmpdepth = this.getDepth();
this.swapDepths(100);
}
Frame 8
stop();
if (_root.end_game == "yes") {
_root.time_bon = _root.time_bon + int(_root.lbl_time);
}
Frame 9
_root.snd_stage_bg.start(0, 999);
stop();
tmp_time = 0;
lbl_multi = 0;
expl_cnt = 0;
lbl_time = 50;
pacmen_cnt = 30;
i = 0;
j = 0;
m = 0;
end_game = "";
_root.onEnterFrame = function () {
var _local3 = new Date();
var _local2 = _local3 - starttime;
while (_local2 < (1000 / DESIREDFRAMERATE)) {
_local3 = new Date();
_local2 = _local3 - starttime;
}
starttime = new Date();
if (lbl_time <= 10) {
_root.mc_pan.nextFrame();
}
if ((lbl_time == 0) && (end_game == "")) {
_root.ball._rotation = 0;
_root.ball.gotoAndStop(3);
_root.b_xpl._x = _root.ball._x;
_root.b_xpl._y = _root.ball._y;
_root.b_xpl.nextFrame();
}
if ((pacmen_cnt == 0) && (end_game == "")) {
_root.mc_completed.play();
_root.lbl_score = _root.lbl_score + (int(_root.lbl_time) * int(_root.lbl_time));
end_game = "yes";
}
m++;
if (((m == 30) && (lbl_time > 0)) && (end_game == "")) {
tmp_time++;
lbl_time--;
m = 0;
}
if (end_game == "yes") {
j++;
if ((j == 3) && (i < 21)) {
i++;
if (expl_cnt > 10) {
expl_cnt = 0;
}
expl_cnt++;
_root.expl.duplicateMovieClip("expl" + expl_cnt, expl_cnt);
_root["expl" + expl_cnt]._x = _root["pac" + i]._x;
_root["expl" + expl_cnt]._y = _root["pac" + i]._y;
_root["pac" + i].xsp = 0;
if (_root["pac" + i]._currentframe == 1) {
_root["expl" + expl_cnt].gotoAndStop(2);
_root["pac" + i].gotoAndStop(5);
} else if (_root["pac" + i]._currentframe == 2) {
_root["expl" + expl_cnt].gotoAndStop(3);
_root["pac" + i].gotoAndStop(6);
} else if (_root["pac" + i]._currentframe == 3) {
_root["expl" + expl_cnt].gotoAndStop(4);
_root["pac" + i].gotoAndStop(7);
} else if (_root["pac" + i]._currentframe == 4) {
_root["expl" + expl_cnt].gotoAndStop(5);
_root["pac" + i].gotoAndStop(8);
}
j = 0;
}
}
};
Instance of Symbol 147 MovieClip "pac1" in Frame 9
onClipEvent (load) {
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
onClipEvent (enterFrame) {
_x = (_x + xsp);
if (_x > 480) {
_x = 80;
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
if (this.hit.hitTest(_root.hit) && (_root.ball.act == "fall")) {
_root.max_pacmen++;
if (_root.max_combo < int(_root.lbl_multi)) {
_root.max_combo = _root.lbl_multi;
if (int(_root.max_combo >= 19)) {
_root.cr1.nextFrame();
_root.co_cra1 = "yes";
}
if (int(_root.max_combo >= 49)) {
_root.cr2.nextFrame();
_root.co_cra2 = "yes";
}
if (int(_root.max_combo >= 79)) {
_root.cr3.nextFrame();
_root.co_cra3 = "yes";
}
}
if (_root.max_pacmen >= 100) {
_root.pk1.nextFrame();
_root.killer1 = "yes";
}
if (_root.max_pacmen >= 300) {
_root.pk2.nextFrame();
_root.killer2 = "yes";
}
if (_root.max_pacmen >= 600) {
_root.pk3.nextFrame();
_root.killer3 = "yes";
}
_root.lbl_multi++;
if (int(_root.lbl_multi > 1)) {
_root.mc_mul.mcnt.ml = "x" + _root.lbl_multi;
_root.mc_mul._x = _root.ball._x + 15;
_root.mc_mul._y = _root.ball._y - 15;
_root.mc_mul.gotoAndPlay(2);
}
if (_root.end_game == "yes") {
_root.lbl_score = _root.lbl_score + (50 * int(_root.lbl_multi));
} else {
_root.lbl_score = _root.lbl_score + (10 * int(_root.lbl_multi));
}
if (_root.pacmen_cnt > 0) {
_root.pacmen_cnt--;
}
if (_root.expl_cnt > 5) {
_root.expl_cnt = 0;
}
_root.expl_cnt++;
_root.expl.duplicateMovieClip("expl" + _root.expl_cnt, _root.expl_cnt);
_root["expl" + _root.expl_cnt]._x = _x;
_root["expl" + _root.expl_cnt]._y = _y;
_root.ball.ysp = 13;
_root.ball.act = "jump";
xsp = 0;
if (this._currentframe == 1) {
_root["expl" + _root.expl_cnt].gotoAndStop(2);
this.gotoAndStop(5);
} else if (this._currentframe == 2) {
_root["expl" + _root.expl_cnt].gotoAndStop(3);
this.gotoAndStop(6);
} else if (this._currentframe == 3) {
_root["expl" + _root.expl_cnt].gotoAndStop(4);
this.gotoAndStop(7);
} else if (this._currentframe == 4) {
_root["expl" + _root.expl_cnt].gotoAndStop(5);
this.gotoAndStop(8);
}
}
}
Instance of Symbol 147 MovieClip "pac2" in Frame 9
onClipEvent (load) {
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
onClipEvent (enterFrame) {
_x = (_x + xsp);
if (_x > 480) {
_x = 80;
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
if (this.hit.hitTest(_root.hit) && (_root.ball.act == "fall")) {
_root.max_pacmen++;
if (_root.max_combo < int(_root.lbl_multi)) {
_root.max_combo = _root.lbl_multi;
if (int(_root.max_combo >= 19)) {
_root.cr1.nextFrame();
_root.co_cra1 = "yes";
}
if (int(_root.max_combo >= 49)) {
_root.cr2.nextFrame();
_root.co_cra2 = "yes";
}
if (int(_root.max_combo >= 79)) {
_root.cr3.nextFrame();
_root.co_cra3 = "yes";
}
}
if (_root.max_pacmen >= 100) {
_root.pk1.nextFrame();
_root.killer1 = "yes";
}
if (_root.max_pacmen >= 300) {
_root.pk2.nextFrame();
_root.killer2 = "yes";
}
if (_root.max_pacmen >= 600) {
_root.pk3.nextFrame();
_root.killer3 = "yes";
}
_root.lbl_multi++;
if (int(_root.lbl_multi > 1)) {
_root.mc_mul.mcnt.ml = "x" + _root.lbl_multi;
_root.mc_mul._x = _root.ball._x + 15;
_root.mc_mul._y = _root.ball._y - 15;
_root.mc_mul.gotoAndPlay(2);
}
if (_root.end_game == "yes") {
_root.lbl_score = _root.lbl_score + (50 * int(_root.lbl_multi));
} else {
_root.lbl_score = _root.lbl_score + (10 * int(_root.lbl_multi));
}
if (_root.pacmen_cnt > 0) {
_root.pacmen_cnt--;
}
if (_root.expl_cnt > 5) {
_root.expl_cnt = 0;
}
_root.expl_cnt++;
_root.expl.duplicateMovieClip("expl" + _root.expl_cnt, _root.expl_cnt);
_root["expl" + _root.expl_cnt]._x = _x;
_root["expl" + _root.expl_cnt]._y = _y;
_root.ball.ysp = 13;
_root.ball.act = "jump";
xsp = 0;
if (this._currentframe == 1) {
_root["expl" + _root.expl_cnt].gotoAndStop(2);
this.gotoAndStop(5);
} else if (this._currentframe == 2) {
_root["expl" + _root.expl_cnt].gotoAndStop(3);
this.gotoAndStop(6);
} else if (this._currentframe == 3) {
_root["expl" + _root.expl_cnt].gotoAndStop(4);
this.gotoAndStop(7);
} else if (this._currentframe == 4) {
_root["expl" + _root.expl_cnt].gotoAndStop(5);
this.gotoAndStop(8);
}
}
}
Instance of Symbol 147 MovieClip "pac4" in Frame 9
onClipEvent (load) {
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
onClipEvent (enterFrame) {
_x = (_x + xsp);
if (_x > 480) {
_x = 80;
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
if (this.hit.hitTest(_root.hit) && (_root.ball.act == "fall")) {
_root.max_pacmen++;
if (_root.max_combo < int(_root.lbl_multi)) {
_root.max_combo = _root.lbl_multi;
if (int(_root.max_combo >= 19)) {
_root.cr1.nextFrame();
_root.co_cra1 = "yes";
}
if (int(_root.max_combo >= 49)) {
_root.cr2.nextFrame();
_root.co_cra2 = "yes";
}
if (int(_root.max_combo >= 79)) {
_root.cr3.nextFrame();
_root.co_cra3 = "yes";
}
}
if (_root.max_pacmen >= 100) {
_root.pk1.nextFrame();
_root.killer1 = "yes";
}
if (_root.max_pacmen >= 300) {
_root.pk2.nextFrame();
_root.killer2 = "yes";
}
if (_root.max_pacmen >= 600) {
_root.pk3.nextFrame();
_root.killer3 = "yes";
}
_root.lbl_multi++;
if (int(_root.lbl_multi > 1)) {
_root.mc_mul.mcnt.ml = "x" + _root.lbl_multi;
_root.mc_mul._x = _root.ball._x + 15;
_root.mc_mul._y = _root.ball._y - 15;
_root.mc_mul.gotoAndPlay(2);
}
if (_root.end_game == "yes") {
_root.lbl_score = _root.lbl_score + (50 * int(_root.lbl_multi));
} else {
_root.lbl_score = _root.lbl_score + (10 * int(_root.lbl_multi));
}
if (_root.pacmen_cnt > 0) {
_root.pacmen_cnt--;
}
if (_root.expl_cnt > 5) {
_root.expl_cnt = 0;
}
_root.expl_cnt++;
_root.expl.duplicateMovieClip("expl" + _root.expl_cnt, _root.expl_cnt);
_root["expl" + _root.expl_cnt]._x = _x;
_root["expl" + _root.expl_cnt]._y = _y;
_root.ball.ysp = 13;
_root.ball.act = "jump";
xsp = 0;
if (this._currentframe == 1) {
_root["expl" + _root.expl_cnt].gotoAndStop(2);
this.gotoAndStop(5);
} else if (this._currentframe == 2) {
_root["expl" + _root.expl_cnt].gotoAndStop(3);
this.gotoAndStop(6);
} else if (this._currentframe == 3) {
_root["expl" + _root.expl_cnt].gotoAndStop(4);
this.gotoAndStop(7);
} else if (this._currentframe == 4) {
_root["expl" + _root.expl_cnt].gotoAndStop(5);
this.gotoAndStop(8);
}
}
}
Instance of Symbol 147 MovieClip "pac6" in Frame 9
onClipEvent (load) {
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
onClipEvent (enterFrame) {
_x = (_x + xsp);
if (_x > 480) {
_x = 80;
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
if (this.hit.hitTest(_root.hit) && (_root.ball.act == "fall")) {
_root.max_pacmen++;
if (_root.max_combo < int(_root.lbl_multi)) {
_root.max_combo = _root.lbl_multi;
if (int(_root.max_combo >= 19)) {
_root.cr1.nextFrame();
_root.co_cra1 = "yes";
}
if (int(_root.max_combo >= 49)) {
_root.cr2.nextFrame();
_root.co_cra2 = "yes";
}
if (int(_root.max_combo >= 79)) {
_root.cr3.nextFrame();
_root.co_cra3 = "yes";
}
}
if (_root.max_pacmen >= 100) {
_root.pk1.nextFrame();
_root.killer1 = "yes";
}
if (_root.max_pacmen >= 300) {
_root.pk2.nextFrame();
_root.killer2 = "yes";
}
if (_root.max_pacmen >= 600) {
_root.pk3.nextFrame();
_root.killer3 = "yes";
}
_root.lbl_multi++;
if (int(_root.lbl_multi > 1)) {
_root.mc_mul.mcnt.ml = "x" + _root.lbl_multi;
_root.mc_mul._x = _root.ball._x + 15;
_root.mc_mul._y = _root.ball._y - 15;
_root.mc_mul.gotoAndPlay(2);
}
if (_root.end_game == "yes") {
_root.lbl_score = _root.lbl_score + (50 * int(_root.lbl_multi));
} else {
_root.lbl_score = _root.lbl_score + (10 * int(_root.lbl_multi));
}
if (_root.pacmen_cnt > 0) {
_root.pacmen_cnt--;
}
if (_root.expl_cnt > 5) {
_root.expl_cnt = 0;
}
_root.expl_cnt++;
_root.expl.duplicateMovieClip("expl" + _root.expl_cnt, _root.expl_cnt);
_root["expl" + _root.expl_cnt]._x = _x;
_root["expl" + _root.expl_cnt]._y = _y;
_root.ball.ysp = 13;
_root.ball.act = "jump";
xsp = 0;
if (this._currentframe == 1) {
_root["expl" + _root.expl_cnt].gotoAndStop(2);
this.gotoAndStop(5);
} else if (this._currentframe == 2) {
_root["expl" + _root.expl_cnt].gotoAndStop(3);
this.gotoAndStop(6);
} else if (this._currentframe == 3) {
_root["expl" + _root.expl_cnt].gotoAndStop(4);
this.gotoAndStop(7);
} else if (this._currentframe == 4) {
_root["expl" + _root.expl_cnt].gotoAndStop(5);
this.gotoAndStop(8);
}
}
}
Instance of Symbol 147 MovieClip "pac9" in Frame 9
onClipEvent (load) {
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
onClipEvent (enterFrame) {
_x = (_x + xsp);
if (_x > 480) {
_x = 80;
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
if (this.hit.hitTest(_root.hit) && (_root.ball.act == "fall")) {
_root.max_pacmen++;
if (_root.max_combo < int(_root.lbl_multi)) {
_root.max_combo = _root.lbl_multi;
if (int(_root.max_combo >= 19)) {
_root.cr1.nextFrame();
_root.co_cra1 = "yes";
}
if (int(_root.max_combo >= 49)) {
_root.cr2.nextFrame();
_root.co_cra2 = "yes";
}
if (int(_root.max_combo >= 79)) {
_root.cr3.nextFrame();
_root.co_cra3 = "yes";
}
}
if (_root.max_pacmen >= 100) {
_root.pk1.nextFrame();
_root.killer1 = "yes";
}
if (_root.max_pacmen >= 300) {
_root.pk2.nextFrame();
_root.killer2 = "yes";
}
if (_root.max_pacmen >= 600) {
_root.pk3.nextFrame();
_root.killer3 = "yes";
}
_root.lbl_multi++;
if (int(_root.lbl_multi > 1)) {
_root.mc_mul.mcnt.ml = "x" + _root.lbl_multi;
_root.mc_mul._x = _root.ball._x + 15;
_root.mc_mul._y = _root.ball._y - 15;
_root.mc_mul.gotoAndPlay(2);
}
if (_root.end_game == "yes") {
_root.lbl_score = _root.lbl_score + (50 * int(_root.lbl_multi));
} else {
_root.lbl_score = _root.lbl_score + (10 * int(_root.lbl_multi));
}
if (_root.pacmen_cnt > 0) {
_root.pacmen_cnt--;
}
if (_root.expl_cnt > 5) {
_root.expl_cnt = 0;
}
_root.expl_cnt++;
_root.expl.duplicateMovieClip("expl" + _root.expl_cnt, _root.expl_cnt);
_root["expl" + _root.expl_cnt]._x = _x;
_root["expl" + _root.expl_cnt]._y = _y;
_root.ball.ysp = 13;
_root.ball.act = "jump";
xsp = 0;
if (this._currentframe == 1) {
_root["expl" + _root.expl_cnt].gotoAndStop(2);
this.gotoAndStop(5);
} else if (this._currentframe == 2) {
_root["expl" + _root.expl_cnt].gotoAndStop(3);
this.gotoAndStop(6);
} else if (this._currentframe == 3) {
_root["expl" + _root.expl_cnt].gotoAndStop(4);
this.gotoAndStop(7);
} else if (this._currentframe == 4) {
_root["expl" + _root.expl_cnt].gotoAndStop(5);
this.gotoAndStop(8);
}
}
}
Instance of Symbol 147 MovieClip "pac12" in Frame 9
onClipEvent (load) {
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
onClipEvent (enterFrame) {
_x = (_x + xsp);
if (_x > 480) {
_x = 80;
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
if (this.hit.hitTest(_root.hit) && (_root.ball.act == "fall")) {
_root.max_pacmen++;
if (_root.max_combo < int(_root.lbl_multi)) {
_root.max_combo = _root.lbl_multi;
if (int(_root.max_combo >= 19)) {
_root.cr1.nextFrame();
_root.co_cra1 = "yes";
}
if (int(_root.max_combo >= 49)) {
_root.cr2.nextFrame();
_root.co_cra2 = "yes";
}
if (int(_root.max_combo >= 79)) {
_root.cr3.nextFrame();
_root.co_cra3 = "yes";
}
}
if (_root.max_pacmen >= 100) {
_root.pk1.nextFrame();
_root.killer1 = "yes";
}
if (_root.max_pacmen >= 300) {
_root.pk2.nextFrame();
_root.killer2 = "yes";
}
if (_root.max_pacmen >= 600) {
_root.pk3.nextFrame();
_root.killer3 = "yes";
}
_root.lbl_multi++;
if (int(_root.lbl_multi > 1)) {
_root.mc_mul.mcnt.ml = "x" + _root.lbl_multi;
_root.mc_mul._x = _root.ball._x + 15;
_root.mc_mul._y = _root.ball._y - 15;
_root.mc_mul.gotoAndPlay(2);
}
if (_root.end_game == "yes") {
_root.lbl_score = _root.lbl_score + (50 * int(_root.lbl_multi));
} else {
_root.lbl_score = _root.lbl_score + (10 * int(_root.lbl_multi));
}
if (_root.pacmen_cnt > 0) {
_root.pacmen_cnt--;
}
if (_root.expl_cnt > 5) {
_root.expl_cnt = 0;
}
_root.expl_cnt++;
_root.expl.duplicateMovieClip("expl" + _root.expl_cnt, _root.expl_cnt);
_root["expl" + _root.expl_cnt]._x = _x;
_root["expl" + _root.expl_cnt]._y = _y;
_root.ball.ysp = 13;
_root.ball.act = "jump";
xsp = 0;
if (this._currentframe == 1) {
_root["expl" + _root.expl_cnt].gotoAndStop(2);
this.gotoAndStop(5);
} else if (this._currentframe == 2) {
_root["expl" + _root.expl_cnt].gotoAndStop(3);
this.gotoAndStop(6);
} else if (this._currentframe == 3) {
_root["expl" + _root.expl_cnt].gotoAndStop(4);
this.gotoAndStop(7);
} else if (this._currentframe == 4) {
_root["expl" + _root.expl_cnt].gotoAndStop(5);
this.gotoAndStop(8);
}
}
}
Instance of Symbol 147 MovieClip "pac13" in Frame 9
onClipEvent (load) {
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
onClipEvent (enterFrame) {
_x = (_x + xsp);
if (_x > 480) {
_x = 80;
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
if (this.hit.hitTest(_root.hit) && (_root.ball.act == "fall")) {
_root.max_pacmen++;
if (_root.max_combo < int(_root.lbl_multi)) {
_root.max_combo = _root.lbl_multi;
if (int(_root.max_combo >= 19)) {
_root.cr1.nextFrame();
_root.co_cra1 = "yes";
}
if (int(_root.max_combo >= 49)) {
_root.cr2.nextFrame();
_root.co_cra2 = "yes";
}
if (int(_root.max_combo >= 79)) {
_root.cr3.nextFrame();
_root.co_cra3 = "yes";
}
}
if (_root.max_pacmen >= 100) {
_root.pk1.nextFrame();
_root.killer1 = "yes";
}
if (_root.max_pacmen >= 300) {
_root.pk2.nextFrame();
_root.killer2 = "yes";
}
if (_root.max_pacmen >= 600) {
_root.pk3.nextFrame();
_root.killer3 = "yes";
}
_root.lbl_multi++;
if (int(_root.lbl_multi > 1)) {
_root.mc_mul.mcnt.ml = "x" + _root.lbl_multi;
_root.mc_mul._x = _root.ball._x + 15;
_root.mc_mul._y = _root.ball._y - 15;
_root.mc_mul.gotoAndPlay(2);
}
if (_root.end_game == "yes") {
_root.lbl_score = _root.lbl_score + (50 * int(_root.lbl_multi));
} else {
_root.lbl_score = _root.lbl_score + (10 * int(_root.lbl_multi));
}
if (_root.pacmen_cnt > 0) {
_root.pacmen_cnt--;
}
if (_root.expl_cnt > 5) {
_root.expl_cnt = 0;
}
_root.expl_cnt++;
_root.expl.duplicateMovieClip("expl" + _root.expl_cnt, _root.expl_cnt);
_root["expl" + _root.expl_cnt]._x = _x;
_root["expl" + _root.expl_cnt]._y = _y;
_root.ball.ysp = 13;
_root.ball.act = "jump";
xsp = 0;
if (this._currentframe == 1) {
_root["expl" + _root.expl_cnt].gotoAndStop(2);
this.gotoAndStop(5);
} else if (this._currentframe == 2) {
_root["expl" + _root.expl_cnt].gotoAndStop(3);
this.gotoAndStop(6);
} else if (this._currentframe == 3) {
_root["expl" + _root.expl_cnt].gotoAndStop(4);
this.gotoAndStop(7);
} else if (this._currentframe == 4) {
_root["expl" + _root.expl_cnt].gotoAndStop(5);
this.gotoAndStop(8);
}
}
}
Instance of Symbol 147 MovieClip "pac15" in Frame 9
onClipEvent (load) {
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
onClipEvent (enterFrame) {
_x = (_x + xsp);
if (_x > 480) {
_x = 80;
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
if (this.hit.hitTest(_root.hit) && (_root.ball.act == "fall")) {
_root.max_pacmen++;
if (_root.max_combo < int(_root.lbl_multi)) {
_root.max_combo = _root.lbl_multi;
if (int(_root.max_combo >= 19)) {
_root.cr1.nextFrame();
_root.co_cra1 = "yes";
}
if (int(_root.max_combo >= 49)) {
_root.cr2.nextFrame();
_root.co_cra2 = "yes";
}
if (int(_root.max_combo >= 79)) {
_root.cr3.nextFrame();
_root.co_cra3 = "yes";
}
}
if (_root.max_pacmen >= 100) {
_root.pk1.nextFrame();
_root.killer1 = "yes";
}
if (_root.max_pacmen >= 300) {
_root.pk2.nextFrame();
_root.killer2 = "yes";
}
if (_root.max_pacmen >= 600) {
_root.pk3.nextFrame();
_root.killer3 = "yes";
}
_root.lbl_multi++;
if (int(_root.lbl_multi > 1)) {
_root.mc_mul.mcnt.ml = "x" + _root.lbl_multi;
_root.mc_mul._x = _root.ball._x + 15;
_root.mc_mul._y = _root.ball._y - 15;
_root.mc_mul.gotoAndPlay(2);
}
if (_root.end_game == "yes") {
_root.lbl_score = _root.lbl_score + (50 * int(_root.lbl_multi));
} else {
_root.lbl_score = _root.lbl_score + (10 * int(_root.lbl_multi));
}
if (_root.pacmen_cnt > 0) {
_root.pacmen_cnt--;
}
if (_root.expl_cnt > 5) {
_root.expl_cnt = 0;
}
_root.expl_cnt++;
_root.expl.duplicateMovieClip("expl" + _root.expl_cnt, _root.expl_cnt);
_root["expl" + _root.expl_cnt]._x = _x;
_root["expl" + _root.expl_cnt]._y = _y;
_root.ball.ysp = 13;
_root.ball.act = "jump";
xsp = 0;
if (this._currentframe == 1) {
_root["expl" + _root.expl_cnt].gotoAndStop(2);
this.gotoAndStop(5);
} else if (this._currentframe == 2) {
_root["expl" + _root.expl_cnt].gotoAndStop(3);
this.gotoAndStop(6);
} else if (this._currentframe == 3) {
_root["expl" + _root.expl_cnt].gotoAndStop(4);
this.gotoAndStop(7);
} else if (this._currentframe == 4) {
_root["expl" + _root.expl_cnt].gotoAndStop(5);
this.gotoAndStop(8);
}
}
}
Instance of Symbol 147 MovieClip "pac14" in Frame 9
onClipEvent (load) {
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
onClipEvent (enterFrame) {
_x = (_x + xsp);
if (_x > 480) {
_x = 80;
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
if (this.hit.hitTest(_root.hit) && (_root.ball.act == "fall")) {
_root.max_pacmen++;
if (_root.max_combo < int(_root.lbl_multi)) {
_root.max_combo = _root.lbl_multi;
if (int(_root.max_combo >= 19)) {
_root.cr1.nextFrame();
_root.co_cra1 = "yes";
}
if (int(_root.max_combo >= 49)) {
_root.cr2.nextFrame();
_root.co_cra2 = "yes";
}
if (int(_root.max_combo >= 79)) {
_root.cr3.nextFrame();
_root.co_cra3 = "yes";
}
}
if (_root.max_pacmen >= 100) {
_root.pk1.nextFrame();
_root.killer1 = "yes";
}
if (_root.max_pacmen >= 300) {
_root.pk2.nextFrame();
_root.killer2 = "yes";
}
if (_root.max_pacmen >= 600) {
_root.pk3.nextFrame();
_root.killer3 = "yes";
}
_root.lbl_multi++;
if (int(_root.lbl_multi > 1)) {
_root.mc_mul.mcnt.ml = "x" + _root.lbl_multi;
_root.mc_mul._x = _root.ball._x + 15;
_root.mc_mul._y = _root.ball._y - 15;
_root.mc_mul.gotoAndPlay(2);
}
if (_root.end_game == "yes") {
_root.lbl_score = _root.lbl_score + (50 * int(_root.lbl_multi));
} else {
_root.lbl_score = _root.lbl_score + (10 * int(_root.lbl_multi));
}
if (_root.pacmen_cnt > 0) {
_root.pacmen_cnt--;
}
if (_root.expl_cnt > 5) {
_root.expl_cnt = 0;
}
_root.expl_cnt++;
_root.expl.duplicateMovieClip("expl" + _root.expl_cnt, _root.expl_cnt);
_root["expl" + _root.expl_cnt]._x = _x;
_root["expl" + _root.expl_cnt]._y = _y;
_root.ball.ysp = 13;
_root.ball.act = "jump";
xsp = 0;
if (this._currentframe == 1) {
_root["expl" + _root.expl_cnt].gotoAndStop(2);
this.gotoAndStop(5);
} else if (this._currentframe == 2) {
_root["expl" + _root.expl_cnt].gotoAndStop(3);
this.gotoAndStop(6);
} else if (this._currentframe == 3) {
_root["expl" + _root.expl_cnt].gotoAndStop(4);
this.gotoAndStop(7);
} else if (this._currentframe == 4) {
_root["expl" + _root.expl_cnt].gotoAndStop(5);
this.gotoAndStop(8);
}
}
}
Instance of Symbol 147 MovieClip "pac16" in Frame 9
onClipEvent (load) {
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
onClipEvent (enterFrame) {
_x = (_x + xsp);
if (_x > 480) {
_x = 80;
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
if (this.hit.hitTest(_root.hit) && (_root.ball.act == "fall")) {
_root.max_pacmen++;
if (_root.max_combo < int(_root.lbl_multi)) {
_root.max_combo = _root.lbl_multi;
if (int(_root.max_combo >= 19)) {
_root.cr1.nextFrame();
_root.co_cra1 = "yes";
}
if (int(_root.max_combo >= 49)) {
_root.cr2.nextFrame();
_root.co_cra2 = "yes";
}
if (int(_root.max_combo >= 79)) {
_root.cr3.nextFrame();
_root.co_cra3 = "yes";
}
}
if (_root.max_pacmen >= 100) {
_root.pk1.nextFrame();
_root.killer1 = "yes";
}
if (_root.max_pacmen >= 300) {
_root.pk2.nextFrame();
_root.killer2 = "yes";
}
if (_root.max_pacmen >= 600) {
_root.pk3.nextFrame();
_root.killer3 = "yes";
}
_root.lbl_multi++;
if (int(_root.lbl_multi > 1)) {
_root.mc_mul.mcnt.ml = "x" + _root.lbl_multi;
_root.mc_mul._x = _root.ball._x + 15;
_root.mc_mul._y = _root.ball._y - 15;
_root.mc_mul.gotoAndPlay(2);
}
if (_root.end_game == "yes") {
_root.lbl_score = _root.lbl_score + (50 * int(_root.lbl_multi));
} else {
_root.lbl_score = _root.lbl_score + (10 * int(_root.lbl_multi));
}
if (_root.pacmen_cnt > 0) {
_root.pacmen_cnt--;
}
if (_root.expl_cnt > 5) {
_root.expl_cnt = 0;
}
_root.expl_cnt++;
_root.expl.duplicateMovieClip("expl" + _root.expl_cnt, _root.expl_cnt);
_root["expl" + _root.expl_cnt]._x = _x;
_root["expl" + _root.expl_cnt]._y = _y;
_root.ball.ysp = 13;
_root.ball.act = "jump";
xsp = 0;
if (this._currentframe == 1) {
_root["expl" + _root.expl_cnt].gotoAndStop(2);
this.gotoAndStop(5);
} else if (this._currentframe == 2) {
_root["expl" + _root.expl_cnt].gotoAndStop(3);
this.gotoAndStop(6);
} else if (this._currentframe == 3) {
_root["expl" + _root.expl_cnt].gotoAndStop(4);
this.gotoAndStop(7);
} else if (this._currentframe == 4) {
_root["expl" + _root.expl_cnt].gotoAndStop(5);
this.gotoAndStop(8);
}
}
}
Instance of Symbol 147 MovieClip "pac10" in Frame 9
onClipEvent (load) {
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
onClipEvent (enterFrame) {
_x = (_x + xsp);
if (_x > 480) {
_x = 80;
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
if (this.hit.hitTest(_root.hit) && (_root.ball.act == "fall")) {
_root.max_pacmen++;
if (_root.max_combo < int(_root.lbl_multi)) {
_root.max_combo = _root.lbl_multi;
if (int(_root.max_combo >= 19)) {
_root.cr1.nextFrame();
_root.co_cra1 = "yes";
}
if (int(_root.max_combo >= 49)) {
_root.cr2.nextFrame();
_root.co_cra2 = "yes";
}
if (int(_root.max_combo >= 79)) {
_root.cr3.nextFrame();
_root.co_cra3 = "yes";
}
}
if (_root.max_pacmen >= 100) {
_root.pk1.nextFrame();
_root.killer1 = "yes";
}
if (_root.max_pacmen >= 300) {
_root.pk2.nextFrame();
_root.killer2 = "yes";
}
if (_root.max_pacmen >= 600) {
_root.pk3.nextFrame();
_root.killer3 = "yes";
}
_root.lbl_multi++;
if (int(_root.lbl_multi > 1)) {
_root.mc_mul.mcnt.ml = "x" + _root.lbl_multi;
_root.mc_mul._x = _root.ball._x + 15;
_root.mc_mul._y = _root.ball._y - 15;
_root.mc_mul.gotoAndPlay(2);
}
if (_root.end_game == "yes") {
_root.lbl_score = _root.lbl_score + (50 * int(_root.lbl_multi));
} else {
_root.lbl_score = _root.lbl_score + (10 * int(_root.lbl_multi));
}
if (_root.pacmen_cnt > 0) {
_root.pacmen_cnt--;
}
if (_root.expl_cnt > 5) {
_root.expl_cnt = 0;
}
_root.expl_cnt++;
_root.expl.duplicateMovieClip("expl" + _root.expl_cnt, _root.expl_cnt);
_root["expl" + _root.expl_cnt]._x = _x;
_root["expl" + _root.expl_cnt]._y = _y;
_root.ball.ysp = 13;
_root.ball.act = "jump";
xsp = 0;
if (this._currentframe == 1) {
_root["expl" + _root.expl_cnt].gotoAndStop(2);
this.gotoAndStop(5);
} else if (this._currentframe == 2) {
_root["expl" + _root.expl_cnt].gotoAndStop(3);
this.gotoAndStop(6);
} else if (this._currentframe == 3) {
_root["expl" + _root.expl_cnt].gotoAndStop(4);
this.gotoAndStop(7);
} else if (this._currentframe == 4) {
_root["expl" + _root.expl_cnt].gotoAndStop(5);
this.gotoAndStop(8);
}
}
}
Instance of Symbol 147 MovieClip "pac8" in Frame 9
onClipEvent (load) {
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
onClipEvent (enterFrame) {
_x = (_x + xsp);
if (_x > 480) {
_x = 80;
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
if (this.hit.hitTest(_root.hit) && (_root.ball.act == "fall")) {
_root.max_pacmen++;
if (_root.max_combo < int(_root.lbl_multi)) {
_root.max_combo = _root.lbl_multi;
if (int(_root.max_combo >= 19)) {
_root.cr1.nextFrame();
_root.co_cra1 = "yes";
}
if (int(_root.max_combo >= 49)) {
_root.cr2.nextFrame();
_root.co_cra2 = "yes";
}
if (int(_root.max_combo >= 79)) {
_root.cr3.nextFrame();
_root.co_cra3 = "yes";
}
}
if (_root.max_pacmen >= 100) {
_root.pk1.nextFrame();
_root.killer1 = "yes";
}
if (_root.max_pacmen >= 300) {
_root.pk2.nextFrame();
_root.killer2 = "yes";
}
if (_root.max_pacmen >= 600) {
_root.pk3.nextFrame();
_root.killer3 = "yes";
}
_root.lbl_multi++;
if (int(_root.lbl_multi > 1)) {
_root.mc_mul.mcnt.ml = "x" + _root.lbl_multi;
_root.mc_mul._x = _root.ball._x + 15;
_root.mc_mul._y = _root.ball._y - 15;
_root.mc_mul.gotoAndPlay(2);
}
if (_root.end_game == "yes") {
_root.lbl_score = _root.lbl_score + (50 * int(_root.lbl_multi));
} else {
_root.lbl_score = _root.lbl_score + (10 * int(_root.lbl_multi));
}
if (_root.pacmen_cnt > 0) {
_root.pacmen_cnt--;
}
if (_root.expl_cnt > 5) {
_root.expl_cnt = 0;
}
_root.expl_cnt++;
_root.expl.duplicateMovieClip("expl" + _root.expl_cnt, _root.expl_cnt);
_root["expl" + _root.expl_cnt]._x = _x;
_root["expl" + _root.expl_cnt]._y = _y;
_root.ball.ysp = 13;
_root.ball.act = "jump";
xsp = 0;
if (this._currentframe == 1) {
_root["expl" + _root.expl_cnt].gotoAndStop(2);
this.gotoAndStop(5);
} else if (this._currentframe == 2) {
_root["expl" + _root.expl_cnt].gotoAndStop(3);
this.gotoAndStop(6);
} else if (this._currentframe == 3) {
_root["expl" + _root.expl_cnt].gotoAndStop(4);
this.gotoAndStop(7);
} else if (this._currentframe == 4) {
_root["expl" + _root.expl_cnt].gotoAndStop(5);
this.gotoAndStop(8);
}
}
}
Instance of Symbol 147 MovieClip "pac7" in Frame 9
onClipEvent (load) {
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
onClipEvent (enterFrame) {
_x = (_x + xsp);
if (_x > 480) {
_x = 80;
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
if (this.hit.hitTest(_root.hit) && (_root.ball.act == "fall")) {
_root.max_pacmen++;
if (_root.max_combo < int(_root.lbl_multi)) {
_root.max_combo = _root.lbl_multi;
if (int(_root.max_combo >= 19)) {
_root.cr1.nextFrame();
_root.co_cra1 = "yes";
}
if (int(_root.max_combo >= 49)) {
_root.cr2.nextFrame();
_root.co_cra2 = "yes";
}
if (int(_root.max_combo >= 79)) {
_root.cr3.nextFrame();
_root.co_cra3 = "yes";
}
}
if (_root.max_pacmen >= 100) {
_root.pk1.nextFrame();
_root.killer1 = "yes";
}
if (_root.max_pacmen >= 300) {
_root.pk2.nextFrame();
_root.killer2 = "yes";
}
if (_root.max_pacmen >= 600) {
_root.pk3.nextFrame();
_root.killer3 = "yes";
}
_root.lbl_multi++;
if (int(_root.lbl_multi > 1)) {
_root.mc_mul.mcnt.ml = "x" + _root.lbl_multi;
_root.mc_mul._x = _root.ball._x + 15;
_root.mc_mul._y = _root.ball._y - 15;
_root.mc_mul.gotoAndPlay(2);
}
if (_root.end_game == "yes") {
_root.lbl_score = _root.lbl_score + (50 * int(_root.lbl_multi));
} else {
_root.lbl_score = _root.lbl_score + (10 * int(_root.lbl_multi));
}
if (_root.pacmen_cnt > 0) {
_root.pacmen_cnt--;
}
if (_root.expl_cnt > 5) {
_root.expl_cnt = 0;
}
_root.expl_cnt++;
_root.expl.duplicateMovieClip("expl" + _root.expl_cnt, _root.expl_cnt);
_root["expl" + _root.expl_cnt]._x = _x;
_root["expl" + _root.expl_cnt]._y = _y;
_root.ball.ysp = 13;
_root.ball.act = "jump";
xsp = 0;
if (this._currentframe == 1) {
_root["expl" + _root.expl_cnt].gotoAndStop(2);
this.gotoAndStop(5);
} else if (this._currentframe == 2) {
_root["expl" + _root.expl_cnt].gotoAndStop(3);
this.gotoAndStop(6);
} else if (this._currentframe == 3) {
_root["expl" + _root.expl_cnt].gotoAndStop(4);
this.gotoAndStop(7);
} else if (this._currentframe == 4) {
_root["expl" + _root.expl_cnt].gotoAndStop(5);
this.gotoAndStop(8);
}
}
}
Instance of Symbol 147 MovieClip "pac5" in Frame 9
onClipEvent (load) {
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
onClipEvent (enterFrame) {
_x = (_x + xsp);
if (_x > 480) {
_x = 80;
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
if (this.hit.hitTest(_root.hit) && (_root.ball.act == "fall")) {
_root.max_pacmen++;
if (_root.max_combo < int(_root.lbl_multi)) {
_root.max_combo = _root.lbl_multi;
if (int(_root.max_combo >= 19)) {
_root.cr1.nextFrame();
_root.co_cra1 = "yes";
}
if (int(_root.max_combo >= 49)) {
_root.cr2.nextFrame();
_root.co_cra2 = "yes";
}
if (int(_root.max_combo >= 79)) {
_root.cr3.nextFrame();
_root.co_cra3 = "yes";
}
}
if (_root.max_pacmen >= 100) {
_root.pk1.nextFrame();
_root.killer1 = "yes";
}
if (_root.max_pacmen >= 300) {
_root.pk2.nextFrame();
_root.killer2 = "yes";
}
if (_root.max_pacmen >= 600) {
_root.pk3.nextFrame();
_root.killer3 = "yes";
}
_root.lbl_multi++;
if (int(_root.lbl_multi > 1)) {
_root.mc_mul.mcnt.ml = "x" + _root.lbl_multi;
_root.mc_mul._x = _root.ball._x + 15;
_root.mc_mul._y = _root.ball._y - 15;
_root.mc_mul.gotoAndPlay(2);
}
if (_root.end_game == "yes") {
_root.lbl_score = _root.lbl_score + (50 * int(_root.lbl_multi));
} else {
_root.lbl_score = _root.lbl_score + (10 * int(_root.lbl_multi));
}
if (_root.pacmen_cnt > 0) {
_root.pacmen_cnt--;
}
if (_root.expl_cnt > 5) {
_root.expl_cnt = 0;
}
_root.expl_cnt++;
_root.expl.duplicateMovieClip("expl" + _root.expl_cnt, _root.expl_cnt);
_root["expl" + _root.expl_cnt]._x = _x;
_root["expl" + _root.expl_cnt]._y = _y;
_root.ball.ysp = 13;
_root.ball.act = "jump";
xsp = 0;
if (this._currentframe == 1) {
_root["expl" + _root.expl_cnt].gotoAndStop(2);
this.gotoAndStop(5);
} else if (this._currentframe == 2) {
_root["expl" + _root.expl_cnt].gotoAndStop(3);
this.gotoAndStop(6);
} else if (this._currentframe == 3) {
_root["expl" + _root.expl_cnt].gotoAndStop(4);
this.gotoAndStop(7);
} else if (this._currentframe == 4) {
_root["expl" + _root.expl_cnt].gotoAndStop(5);
this.gotoAndStop(8);
}
}
}
Instance of Symbol 147 MovieClip "pac3" in Frame 9
onClipEvent (load) {
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
onClipEvent (enterFrame) {
_x = (_x + xsp);
if (_x > 480) {
_x = 80;
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
if (this.hit.hitTest(_root.hit) && (_root.ball.act == "fall")) {
_root.max_pacmen++;
if (_root.max_combo < int(_root.lbl_multi)) {
_root.max_combo = _root.lbl_multi;
if (int(_root.max_combo >= 19)) {
_root.cr1.nextFrame();
_root.co_cra1 = "yes";
}
if (int(_root.max_combo >= 49)) {
_root.cr2.nextFrame();
_root.co_cra2 = "yes";
}
if (int(_root.max_combo >= 79)) {
_root.cr3.nextFrame();
_root.co_cra3 = "yes";
}
}
if (_root.max_pacmen >= 100) {
_root.pk1.nextFrame();
_root.killer1 = "yes";
}
if (_root.max_pacmen >= 300) {
_root.pk2.nextFrame();
_root.killer2 = "yes";
}
if (_root.max_pacmen >= 600) {
_root.pk3.nextFrame();
_root.killer3 = "yes";
}
_root.lbl_multi++;
if (int(_root.lbl_multi > 1)) {
_root.mc_mul.mcnt.ml = "x" + _root.lbl_multi;
_root.mc_mul._x = _root.ball._x + 15;
_root.mc_mul._y = _root.ball._y - 15;
_root.mc_mul.gotoAndPlay(2);
}
if (_root.end_game == "yes") {
_root.lbl_score = _root.lbl_score + (50 * int(_root.lbl_multi));
} else {
_root.lbl_score = _root.lbl_score + (10 * int(_root.lbl_multi));
}
if (_root.pacmen_cnt > 0) {
_root.pacmen_cnt--;
}
if (_root.expl_cnt > 5) {
_root.expl_cnt = 0;
}
_root.expl_cnt++;
_root.expl.duplicateMovieClip("expl" + _root.expl_cnt, _root.expl_cnt);
_root["expl" + _root.expl_cnt]._x = _x;
_root["expl" + _root.expl_cnt]._y = _y;
_root.ball.ysp = 13;
_root.ball.act = "jump";
xsp = 0;
if (this._currentframe == 1) {
_root["expl" + _root.expl_cnt].gotoAndStop(2);
this.gotoAndStop(5);
} else if (this._currentframe == 2) {
_root["expl" + _root.expl_cnt].gotoAndStop(3);
this.gotoAndStop(6);
} else if (this._currentframe == 3) {
_root["expl" + _root.expl_cnt].gotoAndStop(4);
this.gotoAndStop(7);
} else if (this._currentframe == 4) {
_root["expl" + _root.expl_cnt].gotoAndStop(5);
this.gotoAndStop(8);
}
}
}
Instance of Symbol 147 MovieClip "pac11" in Frame 9
onClipEvent (load) {
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
onClipEvent (enterFrame) {
_x = (_x + xsp);
if (_x > 480) {
_x = 80;
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
if (this.hit.hitTest(_root.hit) && (_root.ball.act == "fall")) {
_root.max_pacmen++;
if (_root.max_combo < int(_root.lbl_multi)) {
_root.max_combo = _root.lbl_multi;
if (int(_root.max_combo >= 19)) {
_root.cr1.nextFrame();
_root.co_cra1 = "yes";
}
if (int(_root.max_combo >= 49)) {
_root.cr2.nextFrame();
_root.co_cra2 = "yes";
}
if (int(_root.max_combo >= 79)) {
_root.cr3.nextFrame();
_root.co_cra3 = "yes";
}
}
if (_root.max_pacmen >= 100) {
_root.pk1.nextFrame();
_root.killer1 = "yes";
}
if (_root.max_pacmen >= 300) {
_root.pk2.nextFrame();
_root.killer2 = "yes";
}
if (_root.max_pacmen >= 600) {
_root.pk3.nextFrame();
_root.killer3 = "yes";
}
_root.lbl_multi++;
if (int(_root.lbl_multi > 1)) {
_root.mc_mul.mcnt.ml = "x" + _root.lbl_multi;
_root.mc_mul._x = _root.ball._x + 15;
_root.mc_mul._y = _root.ball._y - 15;
_root.mc_mul.gotoAndPlay(2);
}
if (_root.end_game == "yes") {
_root.lbl_score = _root.lbl_score + (50 * int(_root.lbl_multi));
} else {
_root.lbl_score = _root.lbl_score + (10 * int(_root.lbl_multi));
}
if (_root.pacmen_cnt > 0) {
_root.pacmen_cnt--;
}
if (_root.expl_cnt > 5) {
_root.expl_cnt = 0;
}
_root.expl_cnt++;
_root.expl.duplicateMovieClip("expl" + _root.expl_cnt, _root.expl_cnt);
_root["expl" + _root.expl_cnt]._x = _x;
_root["expl" + _root.expl_cnt]._y = _y;
_root.ball.ysp = 13;
_root.ball.act = "jump";
xsp = 0;
if (this._currentframe == 1) {
_root["expl" + _root.expl_cnt].gotoAndStop(2);
this.gotoAndStop(5);
} else if (this._currentframe == 2) {
_root["expl" + _root.expl_cnt].gotoAndStop(3);
this.gotoAndStop(6);
} else if (this._currentframe == 3) {
_root["expl" + _root.expl_cnt].gotoAndStop(4);
this.gotoAndStop(7);
} else if (this._currentframe == 4) {
_root["expl" + _root.expl_cnt].gotoAndStop(5);
this.gotoAndStop(8);
}
}
}
Instance of Symbol 147 MovieClip "pac17" in Frame 9
onClipEvent (load) {
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
onClipEvent (enterFrame) {
_x = (_x + xsp);
if (_x > 480) {
_x = 80;
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
if (this.hit.hitTest(_root.hit) && (_root.ball.act == "fall")) {
_root.max_pacmen++;
if (_root.max_combo < int(_root.lbl_multi)) {
_root.max_combo = _root.lbl_multi;
if (int(_root.max_combo >= 19)) {
_root.cr1.nextFrame();
_root.co_cra1 = "yes";
}
if (int(_root.max_combo >= 49)) {
_root.cr2.nextFrame();
_root.co_cra2 = "yes";
}
if (int(_root.max_combo >= 79)) {
_root.cr3.nextFrame();
_root.co_cra3 = "yes";
}
}
if (_root.max_pacmen >= 100) {
_root.pk1.nextFrame();
_root.killer1 = "yes";
}
if (_root.max_pacmen >= 300) {
_root.pk2.nextFrame();
_root.killer2 = "yes";
}
if (_root.max_pacmen >= 600) {
_root.pk3.nextFrame();
_root.killer3 = "yes";
}
_root.lbl_multi++;
if (int(_root.lbl_multi > 1)) {
_root.mc_mul.mcnt.ml = "x" + _root.lbl_multi;
_root.mc_mul._x = _root.ball._x + 15;
_root.mc_mul._y = _root.ball._y - 15;
_root.mc_mul.gotoAndPlay(2);
}
if (_root.end_game == "yes") {
_root.lbl_score = _root.lbl_score + (50 * int(_root.lbl_multi));
} else {
_root.lbl_score = _root.lbl_score + (10 * int(_root.lbl_multi));
}
if (_root.pacmen_cnt > 0) {
_root.pacmen_cnt--;
}
if (_root.expl_cnt > 5) {
_root.expl_cnt = 0;
}
_root.expl_cnt++;
_root.expl.duplicateMovieClip("expl" + _root.expl_cnt, _root.expl_cnt);
_root["expl" + _root.expl_cnt]._x = _x;
_root["expl" + _root.expl_cnt]._y = _y;
_root.ball.ysp = 13;
_root.ball.act = "jump";
xsp = 0;
if (this._currentframe == 1) {
_root["expl" + _root.expl_cnt].gotoAndStop(2);
this.gotoAndStop(5);
} else if (this._currentframe == 2) {
_root["expl" + _root.expl_cnt].gotoAndStop(3);
this.gotoAndStop(6);
} else if (this._currentframe == 3) {
_root["expl" + _root.expl_cnt].gotoAndStop(4);
this.gotoAndStop(7);
} else if (this._currentframe == 4) {
_root["expl" + _root.expl_cnt].gotoAndStop(5);
this.gotoAndStop(8);
}
}
}
Instance of Symbol 147 MovieClip "pac18" in Frame 9
onClipEvent (load) {
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
onClipEvent (enterFrame) {
_x = (_x + xsp);
if (_x > 480) {
_x = 80;
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
if (this.hit.hitTest(_root.hit) && (_root.ball.act == "fall")) {
_root.max_pacmen++;
if (_root.max_combo < int(_root.lbl_multi)) {
_root.max_combo = _root.lbl_multi;
if (int(_root.max_combo >= 19)) {
_root.cr1.nextFrame();
_root.co_cra1 = "yes";
}
if (int(_root.max_combo >= 49)) {
_root.cr2.nextFrame();
_root.co_cra2 = "yes";
}
if (int(_root.max_combo >= 79)) {
_root.cr3.nextFrame();
_root.co_cra3 = "yes";
}
}
if (_root.max_pacmen >= 100) {
_root.pk1.nextFrame();
_root.killer1 = "yes";
}
if (_root.max_pacmen >= 300) {
_root.pk2.nextFrame();
_root.killer2 = "yes";
}
if (_root.max_pacmen >= 600) {
_root.pk3.nextFrame();
_root.killer3 = "yes";
}
_root.lbl_multi++;
if (int(_root.lbl_multi > 1)) {
_root.mc_mul.mcnt.ml = "x" + _root.lbl_multi;
_root.mc_mul._x = _root.ball._x + 15;
_root.mc_mul._y = _root.ball._y - 15;
_root.mc_mul.gotoAndPlay(2);
}
if (_root.end_game == "yes") {
_root.lbl_score = _root.lbl_score + (50 * int(_root.lbl_multi));
} else {
_root.lbl_score = _root.lbl_score + (10 * int(_root.lbl_multi));
}
if (_root.pacmen_cnt > 0) {
_root.pacmen_cnt--;
}
if (_root.expl_cnt > 5) {
_root.expl_cnt = 0;
}
_root.expl_cnt++;
_root.expl.duplicateMovieClip("expl" + _root.expl_cnt, _root.expl_cnt);
_root["expl" + _root.expl_cnt]._x = _x;
_root["expl" + _root.expl_cnt]._y = _y;
_root.ball.ysp = 13;
_root.ball.act = "jump";
xsp = 0;
if (this._currentframe == 1) {
_root["expl" + _root.expl_cnt].gotoAndStop(2);
this.gotoAndStop(5);
} else if (this._currentframe == 2) {
_root["expl" + _root.expl_cnt].gotoAndStop(3);
this.gotoAndStop(6);
} else if (this._currentframe == 3) {
_root["expl" + _root.expl_cnt].gotoAndStop(4);
this.gotoAndStop(7);
} else if (this._currentframe == 4) {
_root["expl" + _root.expl_cnt].gotoAndStop(5);
this.gotoAndStop(8);
}
}
}
Instance of Symbol 147 MovieClip "pac19" in Frame 9
onClipEvent (load) {
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
onClipEvent (enterFrame) {
_x = (_x + xsp);
if (_x > 480) {
_x = 80;
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
if (this.hit.hitTest(_root.hit) && (_root.ball.act == "fall")) {
_root.max_pacmen++;
if (_root.max_combo < int(_root.lbl_multi)) {
_root.max_combo = _root.lbl_multi;
if (int(_root.max_combo >= 19)) {
_root.cr1.nextFrame();
_root.co_cra1 = "yes";
}
if (int(_root.max_combo >= 49)) {
_root.cr2.nextFrame();
_root.co_cra2 = "yes";
}
if (int(_root.max_combo >= 79)) {
_root.cr3.nextFrame();
_root.co_cra3 = "yes";
}
}
if (_root.max_pacmen >= 100) {
_root.pk1.nextFrame();
_root.killer1 = "yes";
}
if (_root.max_pacmen >= 300) {
_root.pk2.nextFrame();
_root.killer2 = "yes";
}
if (_root.max_pacmen >= 600) {
_root.pk3.nextFrame();
_root.killer3 = "yes";
}
_root.lbl_multi++;
if (int(_root.lbl_multi > 1)) {
_root.mc_mul.mcnt.ml = "x" + _root.lbl_multi;
_root.mc_mul._x = _root.ball._x + 15;
_root.mc_mul._y = _root.ball._y - 15;
_root.mc_mul.gotoAndPlay(2);
}
if (_root.end_game == "yes") {
_root.lbl_score = _root.lbl_score + (50 * int(_root.lbl_multi));
} else {
_root.lbl_score = _root.lbl_score + (10 * int(_root.lbl_multi));
}
if (_root.pacmen_cnt > 0) {
_root.pacmen_cnt--;
}
if (_root.expl_cnt > 5) {
_root.expl_cnt = 0;
}
_root.expl_cnt++;
_root.expl.duplicateMovieClip("expl" + _root.expl_cnt, _root.expl_cnt);
_root["expl" + _root.expl_cnt]._x = _x;
_root["expl" + _root.expl_cnt]._y = _y;
_root.ball.ysp = 13;
_root.ball.act = "jump";
xsp = 0;
if (this._currentframe == 1) {
_root["expl" + _root.expl_cnt].gotoAndStop(2);
this.gotoAndStop(5);
} else if (this._currentframe == 2) {
_root["expl" + _root.expl_cnt].gotoAndStop(3);
this.gotoAndStop(6);
} else if (this._currentframe == 3) {
_root["expl" + _root.expl_cnt].gotoAndStop(4);
this.gotoAndStop(7);
} else if (this._currentframe == 4) {
_root["expl" + _root.expl_cnt].gotoAndStop(5);
this.gotoAndStop(8);
}
}
}
Instance of Symbol 147 MovieClip "pac20" in Frame 9
onClipEvent (load) {
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
onClipEvent (enterFrame) {
_x = (_x + xsp);
if (_x > 480) {
_x = 80;
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
if (this.hit.hitTest(_root.hit) && (_root.ball.act == "fall")) {
_root.max_pacmen++;
if (_root.max_combo < int(_root.lbl_multi)) {
_root.max_combo = _root.lbl_multi;
if (int(_root.max_combo >= 19)) {
_root.cr1.nextFrame();
_root.co_cra1 = "yes";
}
if (int(_root.max_combo >= 49)) {
_root.cr2.nextFrame();
_root.co_cra2 = "yes";
}
if (int(_root.max_combo >= 79)) {
_root.cr3.nextFrame();
_root.co_cra3 = "yes";
}
}
if (_root.max_pacmen >= 100) {
_root.pk1.nextFrame();
_root.killer1 = "yes";
}
if (_root.max_pacmen >= 300) {
_root.pk2.nextFrame();
_root.killer2 = "yes";
}
if (_root.max_pacmen >= 600) {
_root.pk3.nextFrame();
_root.killer3 = "yes";
}
_root.lbl_multi++;
if (int(_root.lbl_multi > 1)) {
_root.mc_mul.mcnt.ml = "x" + _root.lbl_multi;
_root.mc_mul._x = _root.ball._x + 15;
_root.mc_mul._y = _root.ball._y - 15;
_root.mc_mul.gotoAndPlay(2);
}
if (_root.end_game == "yes") {
_root.lbl_score = _root.lbl_score + (50 * int(_root.lbl_multi));
} else {
_root.lbl_score = _root.lbl_score + (10 * int(_root.lbl_multi));
}
if (_root.pacmen_cnt > 0) {
_root.pacmen_cnt--;
}
if (_root.expl_cnt > 5) {
_root.expl_cnt = 0;
}
_root.expl_cnt++;
_root.expl.duplicateMovieClip("expl" + _root.expl_cnt, _root.expl_cnt);
_root["expl" + _root.expl_cnt]._x = _x;
_root["expl" + _root.expl_cnt]._y = _y;
_root.ball.ysp = 13;
_root.ball.act = "jump";
xsp = 0;
if (this._currentframe == 1) {
_root["expl" + _root.expl_cnt].gotoAndStop(2);
this.gotoAndStop(5);
} else if (this._currentframe == 2) {
_root["expl" + _root.expl_cnt].gotoAndStop(3);
this.gotoAndStop(6);
} else if (this._currentframe == 3) {
_root["expl" + _root.expl_cnt].gotoAndStop(4);
this.gotoAndStop(7);
} else if (this._currentframe == 4) {
_root["expl" + _root.expl_cnt].gotoAndStop(5);
this.gotoAndStop(8);
}
}
}
Instance of Symbol 170 MovieClip "pink_pac" in Frame 9
onClipEvent (load) {
xsp = random(5) + 3;
_y = (random(100) + 200);
}
onClipEvent (enterFrame) {
if (_root.pacmen_cnt < 15) {
start_pink = 1;
}
if (start_pink) {
_x = (_x + xsp);
if (_x > 480) {
this.gotoAndStop(3);
}
if (this.hit.hitTest(_root.hit) && (_root.ball.act == "fall")) {
_root.pink_pacmen++;
if (_root.pink_pacmen >= 3) {
_root.pink1.nextFrame();
}
if (_root.pink_pacmen >= 6) {
_root.pink2.nextFrame();
}
if (_root.pink_pacmen >= 10) {
_root.pink3.nextFrame();
}
_root.max_pacmen++;
if (_root.max_combo < int(_root.lbl_multi)) {
_root.max_combo = _root.lbl_multi;
if (int(_root.max_combo >= 19)) {
_root.cr1.nextFrame();
_root.co_cra1 = "yes";
}
if (int(_root.max_combo >= 49)) {
_root.cr2.nextFrame();
_root.co_cra2 = "yes";
}
if (int(_root.max_combo >= 79)) {
_root.cr3.nextFrame();
_root.co_cra3 = "yes";
}
}
if (_root.max_pacmen >= 100) {
_root.pk1.nextFrame();
_root.killer1 = "yes";
}
if (_root.max_pacmen >= 300) {
_root.pk2.nextFrame();
_root.killer2 = "yes";
}
if (_root.max_pacmen >= 600) {
_root.pk3.nextFrame();
_root.killer3 = "yes";
}
_root.lbl_multi++;
if (int(_root.lbl_multi > 1)) {
_root.mc_mul.mcnt.ml = "x" + _root.lbl_multi;
_root.mc_mul._x = _root.ball._x + 15;
_root.mc_mul._y = _root.ball._y - 15;
_root.mc_mul.gotoAndPlay(2);
}
if (_root.end_game == "yes") {
_root.lbl_score = _root.lbl_score + (5000 * int(_root.lbl_multi));
} else {
_root.lbl_score = _root.lbl_score + (1000 * int(_root.lbl_multi));
}
if (_root.pacmen_cnt > 0) {
_root.pacmen_cnt--;
}
if (_root.expl_cnt > 5) {
_root.expl_cnt = 0;
}
_root.ball.ysp = 13;
_root.ball.act = "jump";
xsp = 0;
this.gotoAndStop(2);
}
}
}
Instance of Symbol 197 MovieClip "ball" in Frame 9
onClipEvent (load) {
var glevel = _y;
var ysp = 0;
var xsp = 5;
var act = "ground";
var xsp2 = 3;
var m_dir = "";
j = 20;
}
onClipEvent (keyUp) {
if (m_dir == "left") {
roll_left = 1;
m_dir = "";
xsp2 = 3;
} else if (m_dir == "right") {
roll_right = 1;
m_dir = "";
xsp2 = 3;
}
}
onClipEvent (enterFrame) {
if (this._currentframe != 3) {
if (roll_left) {
xsp2 = xsp2 - 0.5;
_rotation = (_rotation - (xsp2 * 3));
_x = (_x - xsp2);
if (_x < 115) {
_x = 115;
}
if (xsp2 <= 0) {
roll_left = 0;
xsp2 = 3;
}
}
if (roll_right) {
xsp2 = xsp2 - 0.5;
_rotation = (_rotation + (xsp2 * 3));
_x = (_x + xsp2);
if (_x > 430) {
_x = 430;
}
if (xsp2 <= 0) {
roll_right = 0;
xsp2 = 3;
}
}
if (Key.isDown(37)) {
m_dir = "left";
roll_left = 0;
roll_right = 0;
_rotation = (_rotation - (xsp + 5));
_x = (_x - xsp);
if (_x < 115) {
_x = 115;
}
} else if (Key.isDown(39)) {
m_dir = "right";
roll_left = 0;
roll_right = 0;
_rotation = (_rotation + (xsp + 5));
_x = (_x + xsp);
if (_x > 430) {
_x = 430;
}
}
if (act == "fall") {
ysp++;
var i = 0;
while (i < ysp) {
_y = (_y+1);
if (_y >= glevel) {
_y = glevel;
_root.snd_hit_ground.start(0, 0);
_root.lbl_multi = 0;
i = 0;
ysp = i;
act = "ground";
_root.leaves._x = _x;
_root.leaves._y = _y - 30;
_root.leaves.gotoAndPlay(2);
}
i++;
}
} else if (act == "ground") {
_y = glevel;
} else if (act == "jump") {
ysp--;
this.gotoAndStop(2);
var i = 0;
while (i < ysp) {
_y = (_y-1);
if (ysp <= 1) {
ysp = 0;
act = "fall";
}
i++;
}
}
if (Key.isDown(90) && (act == "ground")) {
_root.snd_jump.start(0, 0);
ysp = 12;
act = "jump";
}
if ((Key.isDown(40) && (act == "jump")) && (_y < (glevel - 5))) {
ysp = 0;
act = "fall";
}
}
}
Instance of Symbol 203 MovieClip "hit" in Frame 9
onClipEvent (enterFrame) {
_x = _root.ball._x;
_y = (_root.ball._y + 15);
}
Instance of Symbol 245 MovieClip "expl" in Frame 9
onClipEvent (load) {
cframe = _root._currentframe;
if (_x < 130) {
this.removeMovieClip();
}
}
onClipEvent (enterFrame) {
if (cframe != _root._currentframe) {
this.removeMovieClip();
}
}
Instance of Symbol 269 MovieClip "mc_grass" in Frame 9
onClipEvent (load) {
tmpdepth = this.getDepth();
this.swapDepths(100);
}
Instance of Symbol 351 MovieClip "mc_ef" in Frame 9
onClipEvent (load) {
tmpdepth = this.getDepth();
this.swapDepths(110);
}
Frame 10
stop();
if (_root.end_game == "yes") {
_root.time_bon = _root.time_bon + int(_root.lbl_time);
}
Frame 11
_root.snd_stage_bg.start(0, 999);
stop();
tmp_time = 0;
lbl_multi = 0;
expl_cnt = 0;
lbl_time = 50;
pacmen_cnt = 20;
i = 0;
j = 0;
m = 0;
end_game = "";
color_bomb = 0;
_root.onEnterFrame = function () {
var _local3 = new Date();
var _local2 = _local3 - starttime;
while (_local2 < (1000 / DESIREDFRAMERATE)) {
_local3 = new Date();
_local2 = _local3 - starttime;
}
starttime = new Date();
if (lbl_time <= 10) {
_root.mc_pan.nextFrame();
}
if ((lbl_time == 0) && (end_game == "")) {
_root.ball._rotation = 0;
_root.ball.gotoAndStop(3);
_root.b_xpl._x = _root.ball._x;
_root.b_xpl._y = _root.ball._y;
_root.b_xpl.nextFrame();
}
if (((Key.isDown(88) && (color_bomb == 0)) && (_root.p3._currentframe != 1)) && (_root.ball._currentframe != 3)) {
_root.max_bombs++;
if (_root.max_bombs >= 20) {
_root.col_mayhem.nextFrame();
}
_root.mc_ef.play();
_root.bg_obj.play();
color_bomb = 1;
}
if ((pacmen_cnt == 0) && (end_game == "")) {
end_game = "yes";
_root.mc_completed.play();
_root.lbl_score = _root.lbl_score + (int(_root.lbl_time) * int(_root.lbl_time));
}
m++;
if (((m == 30) && (lbl_time > 0)) && (end_game == "")) {
tmp_time++;
lbl_time--;
m = 0;
}
if (end_game == "yes") {
j++;
if ((j == 3) && (i < 21)) {
i++;
if (expl_cnt > 10) {
expl_cnt = 0;
}
expl_cnt++;
_root.expl.duplicateMovieClip("expl" + expl_cnt, expl_cnt);
_root["expl" + expl_cnt]._x = _root["pac" + i]._x;
_root["expl" + expl_cnt]._y = _root["pac" + i]._y;
_root["pac" + i].xsp = 0;
if (_root["pac" + i]._currentframe == 1) {
_root["expl" + expl_cnt].gotoAndStop(2);
_root["pac" + i].gotoAndStop(5);
} else if (_root["pac" + i]._currentframe == 2) {
_root["expl" + expl_cnt].gotoAndStop(3);
_root["pac" + i].gotoAndStop(6);
} else if (_root["pac" + i]._currentframe == 3) {
_root["expl" + expl_cnt].gotoAndStop(4);
_root["pac" + i].gotoAndStop(7);
} else if (_root["pac" + i]._currentframe == 4) {
_root["expl" + expl_cnt].gotoAndStop(5);
_root["pac" + i].gotoAndStop(8);
}
j = 0;
}
}
if (color_bomb) {
var i = 1;
while (i < 22) {
expl_cnt++;
_root.expl.duplicateMovieClip("expl" + expl_cnt, expl_cnt);
_root["expl" + expl_cnt]._x = _root["pac" + i]._x;
_root["expl" + expl_cnt]._y = _root["pac" + i]._y;
if ((_root.p3._currentframe == 2) && (_root["pac" + i]._currentframe == 1)) {
_root.max_pacmen++;
if (_root.max_combo < int(_root.lbl_multi)) {
_root.max_combo = _root.lbl_multi;
if (int(_root.max_combo >= 19)) {
_root.cr1.nextFrame();
_root.co_cra1 = "yes";
}
if (int(_root.max_combo >= 49)) {
_root.cr2.nextFrame();
_root.co_cra2 = "yes";
}
if (int(_root.max_combo >= 79)) {
_root.cr3.nextFrame();
_root.co_cra3 = "yes";
}
}
if (_root.max_pacmen >= 100) {
_root.pk1.nextFrame();
_root.killer1 = "yes";
}
if (_root.max_pacmen >= 300) {
_root.pk2.nextFrame();
_root.killer2 = "yes";
}
if (_root.max_pacmen >= 600) {
_root.pk3.nextFrame();
_root.killer3 = "yes";
}
if (end_game == "yes") {
_root.lbl_score = _root.lbl_score + (50 * int(_root.lbl_multi));
} else {
_root.lbl_score = _root.lbl_score + (10 * int(_root.lbl_multi));
}
_root["expl" + expl_cnt].gotoAndStop(2);
_root["pac" + i].gotoAndStop(5);
_root["pac" + i].xsp = 0;
} else if ((_root.p3._currentframe == 3) && (_root["pac" + i]._currentframe == 2)) {
_root.max_pacmen++;
if (_root.max_combo < int(_root.lbl_multi)) {
_root.max_combo = _root.lbl_multi;
if (int(_root.max_combo >= 19)) {
_root.cr1.nextFrame();
_root.co_cra1 = "yes";
}
if (int(_root.max_combo >= 49)) {
_root.cr2.nextFrame();
_root.co_cra2 = "yes";
}
if (int(_root.max_combo >= 79)) {
_root.cr3.nextFrame();
_root.co_cra3 = "yes";
}
}
if (_root.max_pacmen >= 100) {
_root.pk1.nextFrame();
_root.killer1 = "yes";
}
if (_root.max_pacmen >= 300) {
_root.pk2.nextFrame();
_root.killer2 = "yes";
}
if (_root.max_pacmen >= 600) {
_root.pk3.nextFrame();
_root.killer3 = "yes";
}
if (end_game == "yes") {
_root.lbl_score = _root.lbl_score + (50 * int(_root.lbl_multi));
} else {
_root.lbl_score = _root.lbl_score + (10 * int(_root.lbl_multi));
}
if (_root.pacmen_cnt > 0) {
_root.pacmen_cnt--;
}
_root["expl" + expl_cnt].gotoAndStop(3);
_root["pac" + i].gotoAndStop(6);
_root["pac" + i].xsp = 0;
} else if ((_root.p3._currentframe == 4) && (_root["pac" + i]._currentframe == 3)) {
_root.max_pacmen++;
if (_root.max_combo < int(_root.lbl_multi)) {
_root.max_combo = _root.lbl_multi;
if (int(_root.max_combo >= 19)) {
_root.cr1.nextFrame();
_root.co_cra1 = "yes";
}
if (int(_root.max_combo >= 49)) {
_root.cr2.nextFrame();
_root.co_cra2 = "yes";
}
if (int(_root.max_combo >= 79)) {
_root.cr3.nextFrame();
_root.co_cra3 = "yes";
}
}
if (_root.max_pacmen >= 100) {
_root.pk1.nextFrame();
_root.killer1 = "yes";
}
if (_root.max_pacmen >= 300) {
_root.pk2.nextFrame();
_root.killer2 = "yes";
}
if (_root.max_pacmen >= 600) {
_root.pk3.nextFrame();
_root.killer3 = "yes";
}
if (end_game == "yes") {
_root.lbl_score = _root.lbl_score + (50 * int(_root.lbl_multi));
} else {
_root.lbl_score = _root.lbl_score + (10 * int(_root.lbl_multi));
}
_root["expl" + expl_cnt].gotoAndStop(4);
_root["pac" + i].gotoAndStop(7);
_root["pac" + i].xsp = 0;
} else if ((_root.p3._currentframe == 5) && (_root["pac" + i]._currentframe == 4)) {
_root.max_pacmen++;
if (_root.max_combo < int(_root.lbl_multi)) {
_root.max_combo = _root.lbl_multi;
if (int(_root.max_combo >= 19)) {
_root.cr1.nextFrame();
_root.co_cra1 = "yes";
}
if (int(_root.max_combo >= 49)) {
_root.cr2.nextFrame();
_root.co_cra2 = "yes";
}
if (int(_root.max_combo >= 79)) {
_root.cr3.nextFrame();
_root.co_cra3 = "yes";
}
}
if (_root.max_pacmen >= 100) {
_root.pk1.nextFrame();
_root.killer1 = "yes";
}
if (_root.max_pacmen >= 300) {
_root.pk2.nextFrame();
_root.killer2 = "yes";
}
if (_root.max_pacmen >= 600) {
_root.pk3.nextFrame();
_root.killer3 = "yes";
}
if (end_game == "yes") {
_root.lbl_score = _root.lbl_score + (50 * int(_root.lbl_multi));
} else {
_root.lbl_score = _root.lbl_score + (10 * int(_root.lbl_multi));
}
_root["expl" + expl_cnt].gotoAndStop(5);
_root["pac" + i].gotoAndStop(8);
_root["pac" + i].xsp = 0;
}
i++;
}
i = 0;
j = 0;
expl_cnt = 0;
_root.p1.gotoAndStop(1);
_root.p2.gotoAndStop(1);
_root.p3.gotoAndStop(1);
color_bomb = 0;
}
};
Instance of Symbol 147 MovieClip "pac1" in Frame 11
onClipEvent (load) {
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
onClipEvent (enterFrame) {
_x = (_x + xsp);
if (_x > 480) {
_x = 80;
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
if (this.hit.hitTest(_root.hit) && (_root.ball.act == "fall")) {
if (_root.p1._currentframe == 1) {
if (this._currentframe == 1) {
_root.p1.gotoAndStop(2);
} else if (this._currentframe == 2) {
_root.p1.gotoAndStop(3);
} else if (this._currentframe == 3) {
_root.p1.gotoAndStop(4);
} else if (this._currentframe == 4) {
_root.p1.gotoAndStop(5);
}
} else if (_root.p2._currentframe == 1) {
if (this._currentframe == (_root.p1._currentframe - 1)) {
_root.p2.gotoAndStop(_root.p1._currentframe);
} else {
_root.p2.gotoAndStop(1);
_root.p1.gotoAndStop(this._currentframe + 1);
}
} else if (_root.p3._currentframe == 1) {
if (this._currentframe == (_root.p2._currentframe - 1)) {
_root.p3.gotoAndStop(_root.p2._currentframe);
} else {
_root.p1.gotoAndStop(this._currentframe + 1);
_root.p3.gotoAndStop(1);
_root.p2.gotoAndStop(1);
}
}
_root.max_pacmen++;
if (_root.max_combo < int(_root.lbl_multi)) {
_root.max_combo = _root.lbl_multi;
if (int(_root.max_combo >= 19)) {
_root.cr1.nextFrame();
_root.co_cra1 = "yes";
}
if (int(_root.max_combo >= 49)) {
_root.cr2.nextFrame();
_root.co_cra2 = "yes";
}
if (int(_root.max_combo >= 79)) {
_root.cr3.nextFrame();
_root.co_cra3 = "yes";
}
}
if (_root.max_pacmen >= 100) {
_root.pk1.nextFrame();
_root.killer1 = "yes";
}
if (_root.max_pacmen >= 300) {
_root.pk2.nextFrame();
_root.killer2 = "yes";
}
if (_root.max_pacmen >= 600) {
_root.pk3.nextFrame();
_root.killer3 = "yes";
}
_root.lbl_multi++;
if (int(_root.lbl_multi > 1)) {
_root.mc_mul.mcnt.ml = "x" + _root.lbl_multi;
_root.mc_mul._x = _root.ball._x + 15;
_root.mc_mul._y = _root.ball._y - 15;
_root.mc_mul.gotoAndPlay(2);
}
if (_root.end_game == "yes") {
_root.lbl_score = _root.lbl_score + (50 * int(_root.lbl_multi));
} else {
_root.lbl_score = _root.lbl_score + (10 * int(_root.lbl_multi));
}
if ((_root.pacmen_cnt > 0) && (this._currentframe == 2)) {
_root.pacmen_cnt--;
}
if (_root.expl_cnt > 5) {
_root.expl_cnt = 0;
}
_root.expl_cnt++;
_root.expl.duplicateMovieClip("expl" + _root.expl_cnt, _root.expl_cnt);
_root["expl" + _root.expl_cnt]._x = _x;
_root["expl" + _root.expl_cnt]._y = _y;
_root.ball.ysp = 13;
_root.ball.act = "jump";
xsp = 0;
if (this._currentframe == 1) {
_root["expl" + _root.expl_cnt].gotoAndStop(2);
this.gotoAndStop(5);
} else if (this._currentframe == 2) {
_root["expl" + _root.expl_cnt].gotoAndStop(3);
this.gotoAndStop(6);
} else if (this._currentframe == 3) {
_root["expl" + _root.expl_cnt].gotoAndStop(4);
this.gotoAndStop(7);
} else if (this._currentframe == 4) {
_root["expl" + _root.expl_cnt].gotoAndStop(5);
this.gotoAndStop(8);
}
}
}
Instance of Symbol 147 MovieClip "pac2" in Frame 11
onClipEvent (load) {
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
onClipEvent (enterFrame) {
_x = (_x + xsp);
if (_x > 480) {
_x = 80;
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
if (this.hit.hitTest(_root.hit) && (_root.ball.act == "fall")) {
if (_root.p1._currentframe == 1) {
if (this._currentframe == 1) {
_root.p1.gotoAndStop(2);
} else if (this._currentframe == 2) {
_root.p1.gotoAndStop(3);
} else if (this._currentframe == 3) {
_root.p1.gotoAndStop(4);
} else if (this._currentframe == 4) {
_root.p1.gotoAndStop(5);
}
} else if (_root.p2._currentframe == 1) {
if (this._currentframe == (_root.p1._currentframe - 1)) {
_root.p2.gotoAndStop(_root.p1._currentframe);
} else {
_root.p2.gotoAndStop(1);
_root.p1.gotoAndStop(this._currentframe + 1);
}
} else if (_root.p3._currentframe == 1) {
if (this._currentframe == (_root.p2._currentframe - 1)) {
_root.p3.gotoAndStop(_root.p2._currentframe);
} else {
_root.p1.gotoAndStop(this._currentframe + 1);
_root.p3.gotoAndStop(1);
_root.p2.gotoAndStop(1);
}
}
_root.max_pacmen++;
if (_root.max_combo < int(_root.lbl_multi)) {
_root.max_combo = _root.lbl_multi;
if (int(_root.max_combo >= 19)) {
_root.cr1.nextFrame();
_root.co_cra1 = "yes";
}
if (int(_root.max_combo >= 49)) {
_root.cr2.nextFrame();
_root.co_cra2 = "yes";
}
if (int(_root.max_combo >= 79)) {
_root.cr3.nextFrame();
_root.co_cra3 = "yes";
}
}
if (_root.max_pacmen >= 100) {
_root.pk1.nextFrame();
_root.killer1 = "yes";
}
if (_root.max_pacmen >= 300) {
_root.pk2.nextFrame();
_root.killer2 = "yes";
}
if (_root.max_pacmen >= 600) {
_root.pk3.nextFrame();
_root.killer3 = "yes";
}
_root.lbl_multi++;
if (int(_root.lbl_multi > 1)) {
_root.mc_mul.mcnt.ml = "x" + _root.lbl_multi;
_root.mc_mul._x = _root.ball._x + 15;
_root.mc_mul._y = _root.ball._y - 15;
_root.mc_mul.gotoAndPlay(2);
}
if (_root.end_game == "yes") {
_root.lbl_score = _root.lbl_score + (50 * int(_root.lbl_multi));
} else {
_root.lbl_score = _root.lbl_score + (10 * int(_root.lbl_multi));
}
if (_root.pacmen_cnt > 0) {
_root.pacmen_cnt--;
}
if ((_root.pacmen_cnt > 0) && (this._currentframe == 2)) {
_root.expl_cnt = 0;
}
_root.expl_cnt++;
_root.expl.duplicateMovieClip("expl" + _root.expl_cnt, _root.expl_cnt);
_root["expl" + _root.expl_cnt]._x = _x;
_root["expl" + _root.expl_cnt]._y = _y;
_root.ball.ysp = 13;
_root.ball.act = "jump";
xsp = 0;
if (this._currentframe == 1) {
_root["expl" + _root.expl_cnt].gotoAndStop(2);
this.gotoAndStop(5);
} else if (this._currentframe == 2) {
_root["expl" + _root.expl_cnt].gotoAndStop(3);
this.gotoAndStop(6);
} else if (this._currentframe == 3) {
_root["expl" + _root.expl_cnt].gotoAndStop(4);
this.gotoAndStop(7);
} else if (this._currentframe == 4) {
_root["expl" + _root.expl_cnt].gotoAndStop(5);
this.gotoAndStop(8);
}
}
}
Instance of Symbol 147 MovieClip "pac4" in Frame 11
onClipEvent (load) {
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
onClipEvent (enterFrame) {
_x = (_x + xsp);
if (_x > 480) {
_x = 80;
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
if (this.hit.hitTest(_root.hit) && (_root.ball.act == "fall")) {
if (_root.p1._currentframe == 1) {
if (this._currentframe == 1) {
_root.p1.gotoAndStop(2);
} else if (this._currentframe == 2) {
_root.p1.gotoAndStop(3);
} else if (this._currentframe == 3) {
_root.p1.gotoAndStop(4);
} else if (this._currentframe == 4) {
_root.p1.gotoAndStop(5);
}
} else if (_root.p2._currentframe == 1) {
if (this._currentframe == (_root.p1._currentframe - 1)) {
_root.p2.gotoAndStop(_root.p1._currentframe);
} else {
_root.p2.gotoAndStop(1);
_root.p1.gotoAndStop(this._currentframe + 1);
}
} else if (_root.p3._currentframe == 1) {
if (this._currentframe == (_root.p2._currentframe - 1)) {
_root.p3.gotoAndStop(_root.p2._currentframe);
} else {
_root.p1.gotoAndStop(this._currentframe + 1);
_root.p3.gotoAndStop(1);
_root.p2.gotoAndStop(1);
}
}
_root.max_pacmen++;
if (_root.max_combo < int(_root.lbl_multi)) {
_root.max_combo = _root.lbl_multi;
if (int(_root.max_combo >= 19)) {
_root.cr1.nextFrame();
_root.co_cra1 = "yes";
}
if (int(_root.max_combo >= 49)) {
_root.cr2.nextFrame();
_root.co_cra2 = "yes";
}
if (int(_root.max_combo >= 79)) {
_root.cr3.nextFrame();
_root.co_cra3 = "yes";
}
}
if (_root.max_pacmen >= 100) {
_root.pk1.nextFrame();
_root.killer1 = "yes";
}
if (_root.max_pacmen >= 300) {
_root.pk2.nextFrame();
_root.killer2 = "yes";
}
if (_root.max_pacmen >= 600) {
_root.pk3.nextFrame();
_root.killer3 = "yes";
}
_root.lbl_multi++;
if (int(_root.lbl_multi > 1)) {
_root.mc_mul.mcnt.ml = "x" + _root.lbl_multi;
_root.mc_mul._x = _root.ball._x + 15;
_root.mc_mul._y = _root.ball._y - 15;
_root.mc_mul.gotoAndPlay(2);
}
if (_root.end_game == "yes") {
_root.lbl_score = _root.lbl_score + (50 * int(_root.lbl_multi));
} else {
_root.lbl_score = _root.lbl_score + (10 * int(_root.lbl_multi));
}
if ((_root.pacmen_cnt > 0) && (this._currentframe == 2)) {
_root.pacmen_cnt--;
}
if (_root.expl_cnt > 5) {
_root.expl_cnt = 0;
}
_root.expl_cnt++;
_root.expl.duplicateMovieClip("expl" + _root.expl_cnt, _root.expl_cnt);
_root["expl" + _root.expl_cnt]._x = _x;
_root["expl" + _root.expl_cnt]._y = _y;
_root.ball.ysp = 13;
_root.ball.act = "jump";
xsp = 0;
if (this._currentframe == 1) {
_root["expl" + _root.expl_cnt].gotoAndStop(2);
this.gotoAndStop(5);
} else if (this._currentframe == 2) {
_root["expl" + _root.expl_cnt].gotoAndStop(3);
this.gotoAndStop(6);
} else if (this._currentframe == 3) {
_root["expl" + _root.expl_cnt].gotoAndStop(4);
this.gotoAndStop(7);
} else if (this._currentframe == 4) {
_root["expl" + _root.expl_cnt].gotoAndStop(5);
this.gotoAndStop(8);
}
}
}
Instance of Symbol 147 MovieClip "pac6" in Frame 11
onClipEvent (load) {
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
onClipEvent (enterFrame) {
_x = (_x + xsp);
if (_x > 480) {
_x = 80;
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
if (this.hit.hitTest(_root.hit) && (_root.ball.act == "fall")) {
if (_root.p1._currentframe == 1) {
if (this._currentframe == 1) {
_root.p1.gotoAndStop(2);
} else if (this._currentframe == 2) {
_root.p1.gotoAndStop(3);
} else if (this._currentframe == 3) {
_root.p1.gotoAndStop(4);
} else if (this._currentframe == 4) {
_root.p1.gotoAndStop(5);
}
} else if (_root.p2._currentframe == 1) {
if (this._currentframe == (_root.p1._currentframe - 1)) {
_root.p2.gotoAndStop(_root.p1._currentframe);
} else {
_root.p2.gotoAndStop(1);
_root.p1.gotoAndStop(this._currentframe + 1);
}
} else if (_root.p3._currentframe == 1) {
if (this._currentframe == (_root.p2._currentframe - 1)) {
_root.p3.gotoAndStop(_root.p2._currentframe);
} else {
_root.p1.gotoAndStop(this._currentframe + 1);
_root.p3.gotoAndStop(1);
_root.p2.gotoAndStop(1);
}
}
_root.max_pacmen++;
if (_root.max_combo < int(_root.lbl_multi)) {
_root.max_combo = _root.lbl_multi;
if (int(_root.max_combo >= 19)) {
_root.cr1.nextFrame();
_root.co_cra1 = "yes";
}
if (int(_root.max_combo >= 49)) {
_root.cr2.nextFrame();
_root.co_cra2 = "yes";
}
if (int(_root.max_combo >= 79)) {
_root.cr3.nextFrame();
_root.co_cra3 = "yes";
}
}
if (_root.max_pacmen >= 100) {
_root.pk1.nextFrame();
_root.killer1 = "yes";
}
if (_root.max_pacmen >= 300) {
_root.pk2.nextFrame();
_root.killer2 = "yes";
}
if (_root.max_pacmen >= 600) {
_root.pk3.nextFrame();
_root.killer3 = "yes";
}
_root.lbl_multi++;
if (int(_root.lbl_multi > 1)) {
_root.mc_mul.mcnt.ml = "x" + _root.lbl_multi;
_root.mc_mul._x = _root.ball._x + 15;
_root.mc_mul._y = _root.ball._y - 15;
_root.mc_mul.gotoAndPlay(2);
}
if (_root.end_game == "yes") {
_root.lbl_score = _root.lbl_score + (50 * int(_root.lbl_multi));
} else {
_root.lbl_score = _root.lbl_score + (10 * int(_root.lbl_multi));
}
if ((_root.pacmen_cnt > 0) && (this._currentframe == 2)) {
_root.pacmen_cnt--;
}
if (_root.expl_cnt > 5) {
_root.expl_cnt = 0;
}
_root.expl_cnt++;
_root.expl.duplicateMovieClip("expl" + _root.expl_cnt, _root.expl_cnt);
_root["expl" + _root.expl_cnt]._x = _x;
_root["expl" + _root.expl_cnt]._y = _y;
_root.ball.ysp = 13;
_root.ball.act = "jump";
xsp = 0;
if (this._currentframe == 1) {
_root["expl" + _root.expl_cnt].gotoAndStop(2);
this.gotoAndStop(5);
} else if (this._currentframe == 2) {
_root["expl" + _root.expl_cnt].gotoAndStop(3);
this.gotoAndStop(6);
} else if (this._currentframe == 3) {
_root["expl" + _root.expl_cnt].gotoAndStop(4);
this.gotoAndStop(7);
} else if (this._currentframe == 4) {
_root["expl" + _root.expl_cnt].gotoAndStop(5);
this.gotoAndStop(8);
}
}
}
Instance of Symbol 147 MovieClip "pac9" in Frame 11
onClipEvent (load) {
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
onClipEvent (enterFrame) {
_x = (_x + xsp);
if (_x > 480) {
_x = 80;
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
if (this.hit.hitTest(_root.hit) && (_root.ball.act == "fall")) {
if (_root.p1._currentframe == 1) {
if (this._currentframe == 1) {
_root.p1.gotoAndStop(2);
} else if (this._currentframe == 2) {
_root.p1.gotoAndStop(3);
} else if (this._currentframe == 3) {
_root.p1.gotoAndStop(4);
} else if (this._currentframe == 4) {
_root.p1.gotoAndStop(5);
}
} else if (_root.p2._currentframe == 1) {
if (this._currentframe == (_root.p1._currentframe - 1)) {
_root.p2.gotoAndStop(_root.p1._currentframe);
} else {
_root.p2.gotoAndStop(1);
_root.p1.gotoAndStop(this._currentframe + 1);
}
} else if (_root.p3._currentframe == 1) {
if (this._currentframe == (_root.p2._currentframe - 1)) {
_root.p3.gotoAndStop(_root.p2._currentframe);
} else {
_root.p1.gotoAndStop(this._currentframe + 1);
_root.p3.gotoAndStop(1);
_root.p2.gotoAndStop(1);
}
}
_root.max_pacmen++;
if (_root.max_combo < int(_root.lbl_multi)) {
_root.max_combo = _root.lbl_multi;
if (int(_root.max_combo >= 19)) {
_root.cr1.nextFrame();
_root.co_cra1 = "yes";
}
if (int(_root.max_combo >= 49)) {
_root.cr2.nextFrame();
_root.co_cra2 = "yes";
}
if (int(_root.max_combo >= 79)) {
_root.cr3.nextFrame();
_root.co_cra3 = "yes";
}
}
if (_root.max_pacmen >= 100) {
_root.pk1.nextFrame();
_root.killer1 = "yes";
}
if (_root.max_pacmen >= 300) {
_root.pk2.nextFrame();
_root.killer2 = "yes";
}
if (_root.max_pacmen >= 600) {
_root.pk3.nextFrame();
_root.killer3 = "yes";
}
_root.lbl_multi++;
if (int(_root.lbl_multi > 1)) {
_root.mc_mul.mcnt.ml = "x" + _root.lbl_multi;
_root.mc_mul._x = _root.ball._x + 15;
_root.mc_mul._y = _root.ball._y - 15;
_root.mc_mul.gotoAndPlay(2);
}
if (_root.end_game == "yes") {
_root.lbl_score = _root.lbl_score + (50 * int(_root.lbl_multi));
} else {
_root.lbl_score = _root.lbl_score + (10 * int(_root.lbl_multi));
}
if ((_root.pacmen_cnt > 0) && (this._currentframe == 2)) {
_root.pacmen_cnt--;
}
if (_root.expl_cnt > 5) {
_root.expl_cnt = 0;
}
_root.expl_cnt++;
_root.expl.duplicateMovieClip("expl" + _root.expl_cnt, _root.expl_cnt);
_root["expl" + _root.expl_cnt]._x = _x;
_root["expl" + _root.expl_cnt]._y = _y;
_root.ball.ysp = 13;
_root.ball.act = "jump";
xsp = 0;
if (this._currentframe == 1) {
_root["expl" + _root.expl_cnt].gotoAndStop(2);
this.gotoAndStop(5);
} else if (this._currentframe == 2) {
_root["expl" + _root.expl_cnt].gotoAndStop(3);
this.gotoAndStop(6);
} else if (this._currentframe == 3) {
_root["expl" + _root.expl_cnt].gotoAndStop(4);
this.gotoAndStop(7);
} else if (this._currentframe == 4) {
_root["expl" + _root.expl_cnt].gotoAndStop(5);
this.gotoAndStop(8);
}
}
}
Instance of Symbol 147 MovieClip "pac12" in Frame 11
onClipEvent (load) {
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
onClipEvent (enterFrame) {
_x = (_x + xsp);
if (_x > 480) {
_x = 80;
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
if (this.hit.hitTest(_root.hit) && (_root.ball.act == "fall")) {
if (_root.p1._currentframe == 1) {
if (this._currentframe == 1) {
_root.p1.gotoAndStop(2);
} else if (this._currentframe == 2) {
_root.p1.gotoAndStop(3);
} else if (this._currentframe == 3) {
_root.p1.gotoAndStop(4);
} else if (this._currentframe == 4) {
_root.p1.gotoAndStop(5);
}
} else if (_root.p2._currentframe == 1) {
if (this._currentframe == (_root.p1._currentframe - 1)) {
_root.p2.gotoAndStop(_root.p1._currentframe);
} else {
_root.p2.gotoAndStop(1);
_root.p1.gotoAndStop(this._currentframe + 1);
}
} else if (_root.p3._currentframe == 1) {
if (this._currentframe == (_root.p2._currentframe - 1)) {
_root.p3.gotoAndStop(_root.p2._currentframe);
} else {
_root.p1.gotoAndStop(this._currentframe + 1);
_root.p3.gotoAndStop(1);
_root.p2.gotoAndStop(1);
}
}
_root.max_pacmen++;
if (_root.max_combo < int(_root.lbl_multi)) {
_root.max_combo = _root.lbl_multi;
if (int(_root.max_combo >= 19)) {
_root.cr1.nextFrame();
_root.co_cra1 = "yes";
}
if (int(_root.max_combo >= 49)) {
_root.cr2.nextFrame();
_root.co_cra2 = "yes";
}
if (int(_root.max_combo >= 79)) {
_root.cr3.nextFrame();
_root.co_cra3 = "yes";
}
}
if (_root.max_pacmen >= 100) {
_root.pk1.nextFrame();
_root.killer1 = "yes";
}
if (_root.max_pacmen >= 300) {
_root.pk2.nextFrame();
_root.killer2 = "yes";
}
if (_root.max_pacmen >= 600) {
_root.pk3.nextFrame();
_root.killer3 = "yes";
}
_root.lbl_multi++;
if (int(_root.lbl_multi > 1)) {
_root.mc_mul.mcnt.ml = "x" + _root.lbl_multi;
_root.mc_mul._x = _root.ball._x + 15;
_root.mc_mul._y = _root.ball._y - 15;
_root.mc_mul.gotoAndPlay(2);
}
if (_root.end_game == "yes") {
_root.lbl_score = _root.lbl_score + (50 * int(_root.lbl_multi));
} else {
_root.lbl_score = _root.lbl_score + (10 * int(_root.lbl_multi));
}
if ((_root.pacmen_cnt > 0) && (this._currentframe == 2)) {
_root.pacmen_cnt--;
}
if (_root.expl_cnt > 5) {
_root.expl_cnt = 0;
}
_root.expl_cnt++;
_root.expl.duplicateMovieClip("expl" + _root.expl_cnt, _root.expl_cnt);
_root["expl" + _root.expl_cnt]._x = _x;
_root["expl" + _root.expl_cnt]._y = _y;
_root.ball.ysp = 13;
_root.ball.act = "jump";
xsp = 0;
if (this._currentframe == 1) {
_root["expl" + _root.expl_cnt].gotoAndStop(2);
this.gotoAndStop(5);
} else if (this._currentframe == 2) {
_root["expl" + _root.expl_cnt].gotoAndStop(3);
this.gotoAndStop(6);
} else if (this._currentframe == 3) {
_root["expl" + _root.expl_cnt].gotoAndStop(4);
this.gotoAndStop(7);
} else if (this._currentframe == 4) {
_root["expl" + _root.expl_cnt].gotoAndStop(5);
this.gotoAndStop(8);
}
}
}
Instance of Symbol 147 MovieClip "pac13" in Frame 11
onClipEvent (load) {
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
onClipEvent (enterFrame) {
_x = (_x + xsp);
if (_x > 480) {
_x = 80;
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
if (this.hit.hitTest(_root.hit) && (_root.ball.act == "fall")) {
if (_root.p1._currentframe == 1) {
if (this._currentframe == 1) {
_root.p1.gotoAndStop(2);
} else if (this._currentframe == 2) {
_root.p1.gotoAndStop(3);
} else if (this._currentframe == 3) {
_root.p1.gotoAndStop(4);
} else if (this._currentframe == 4) {
_root.p1.gotoAndStop(5);
}
} else if (_root.p2._currentframe == 1) {
if (this._currentframe == (_root.p1._currentframe - 1)) {
_root.p2.gotoAndStop(_root.p1._currentframe);
} else {
_root.p2.gotoAndStop(1);
_root.p1.gotoAndStop(this._currentframe + 1);
}
} else if (_root.p3._currentframe == 1) {
if (this._currentframe == (_root.p2._currentframe - 1)) {
_root.p3.gotoAndStop(_root.p2._currentframe);
} else {
_root.p1.gotoAndStop(this._currentframe + 1);
_root.p3.gotoAndStop(1);
_root.p2.gotoAndStop(1);
}
}
_root.max_pacmen++;
if (_root.max_combo < int(_root.lbl_multi)) {
_root.max_combo = _root.lbl_multi;
if (int(_root.max_combo >= 19)) {
_root.cr1.nextFrame();
_root.co_cra1 = "yes";
}
if (int(_root.max_combo >= 49)) {
_root.cr2.nextFrame();
_root.co_cra2 = "yes";
}
if (int(_root.max_combo >= 79)) {
_root.cr3.nextFrame();
_root.co_cra3 = "yes";
}
}
if (_root.max_pacmen >= 100) {
_root.pk1.nextFrame();
_root.killer1 = "yes";
}
if (_root.max_pacmen >= 300) {
_root.pk2.nextFrame();
_root.killer2 = "yes";
}
if (_root.max_pacmen >= 600) {
_root.pk3.nextFrame();
_root.killer3 = "yes";
}
_root.lbl_multi++;
if (int(_root.lbl_multi > 1)) {
_root.mc_mul.mcnt.ml = "x" + _root.lbl_multi;
_root.mc_mul._x = _root.ball._x + 15;
_root.mc_mul._y = _root.ball._y - 15;
_root.mc_mul.gotoAndPlay(2);
}
if (_root.end_game == "yes") {
_root.lbl_score = _root.lbl_score + (50 * int(_root.lbl_multi));
} else {
_root.lbl_score = _root.lbl_score + (10 * int(_root.lbl_multi));
}
if ((_root.pacmen_cnt > 0) && (this._currentframe == 2)) {
_root.pacmen_cnt--;
}
if (_root.expl_cnt > 5) {
_root.expl_cnt = 0;
}
_root.expl_cnt++;
_root.expl.duplicateMovieClip("expl" + _root.expl_cnt, _root.expl_cnt);
_root["expl" + _root.expl_cnt]._x = _x;
_root["expl" + _root.expl_cnt]._y = _y;
_root.ball.ysp = 13;
_root.ball.act = "jump";
xsp = 0;
if (this._currentframe == 1) {
_root["expl" + _root.expl_cnt].gotoAndStop(2);
this.gotoAndStop(5);
} else if (this._currentframe == 2) {
_root["expl" + _root.expl_cnt].gotoAndStop(3);
this.gotoAndStop(6);
} else if (this._currentframe == 3) {
_root["expl" + _root.expl_cnt].gotoAndStop(4);
this.gotoAndStop(7);
} else if (this._currentframe == 4) {
_root["expl" + _root.expl_cnt].gotoAndStop(5);
this.gotoAndStop(8);
}
}
}
Instance of Symbol 147 MovieClip "pac15" in Frame 11
onClipEvent (load) {
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
onClipEvent (enterFrame) {
_x = (_x + xsp);
if (_x > 480) {
_x = 80;
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
if (this.hit.hitTest(_root.hit) && (_root.ball.act == "fall")) {
if (_root.p1._currentframe == 1) {
if (this._currentframe == 1) {
_root.p1.gotoAndStop(2);
} else if (this._currentframe == 2) {
_root.p1.gotoAndStop(3);
} else if (this._currentframe == 3) {
_root.p1.gotoAndStop(4);
} else if (this._currentframe == 4) {
_root.p1.gotoAndStop(5);
}
} else if (_root.p2._currentframe == 1) {
if (this._currentframe == (_root.p1._currentframe - 1)) {
_root.p2.gotoAndStop(_root.p1._currentframe);
} else {
_root.p2.gotoAndStop(1);
_root.p1.gotoAndStop(this._currentframe + 1);
}
} else if (_root.p3._currentframe == 1) {
if (this._currentframe == (_root.p2._currentframe - 1)) {
_root.p3.gotoAndStop(_root.p2._currentframe);
} else {
_root.p1.gotoAndStop(this._currentframe + 1);
_root.p3.gotoAndStop(1);
_root.p2.gotoAndStop(1);
}
}
_root.max_pacmen++;
if (_root.max_combo < int(_root.lbl_multi)) {
_root.max_combo = _root.lbl_multi;
if (int(_root.max_combo >= 19)) {
_root.cr1.nextFrame();
_root.co_cra1 = "yes";
}
if (int(_root.max_combo >= 49)) {
_root.cr2.nextFrame();
_root.co_cra2 = "yes";
}
if (int(_root.max_combo >= 79)) {
_root.cr3.nextFrame();
_root.co_cra3 = "yes";
}
}
if (_root.max_pacmen >= 100) {
_root.pk1.nextFrame();
_root.killer1 = "yes";
}
if (_root.max_pacmen >= 300) {
_root.pk2.nextFrame();
_root.killer2 = "yes";
}
if (_root.max_pacmen >= 600) {
_root.pk3.nextFrame();
_root.killer3 = "yes";
}
_root.lbl_multi++;
if (int(_root.lbl_multi > 1)) {
_root.mc_mul.mcnt.ml = "x" + _root.lbl_multi;
_root.mc_mul._x = _root.ball._x + 15;
_root.mc_mul._y = _root.ball._y - 15;
_root.mc_mul.gotoAndPlay(2);
}
if (_root.end_game == "yes") {
_root.lbl_score = _root.lbl_score + (50 * int(_root.lbl_multi));
} else {
_root.lbl_score = _root.lbl_score + (10 * int(_root.lbl_multi));
}
if ((_root.pacmen_cnt > 0) && (this._currentframe == 2)) {
_root.pacmen_cnt--;
}
if (_root.expl_cnt > 5) {
_root.expl_cnt = 0;
}
_root.expl_cnt++;
_root.expl.duplicateMovieClip("expl" + _root.expl_cnt, _root.expl_cnt);
_root["expl" + _root.expl_cnt]._x = _x;
_root["expl" + _root.expl_cnt]._y = _y;
_root.ball.ysp = 13;
_root.ball.act = "jump";
xsp = 0;
if (this._currentframe == 1) {
_root["expl" + _root.expl_cnt].gotoAndStop(2);
this.gotoAndStop(5);
} else if (this._currentframe == 2) {
_root["expl" + _root.expl_cnt].gotoAndStop(3);
this.gotoAndStop(6);
} else if (this._currentframe == 3) {
_root["expl" + _root.expl_cnt].gotoAndStop(4);
this.gotoAndStop(7);
} else if (this._currentframe == 4) {
_root["expl" + _root.expl_cnt].gotoAndStop(5);
this.gotoAndStop(8);
}
}
}
Instance of Symbol 147 MovieClip "pac14" in Frame 11
onClipEvent (load) {
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
onClipEvent (enterFrame) {
_x = (_x + xsp);
if (_x > 480) {
_x = 80;
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
if (this.hit.hitTest(_root.hit) && (_root.ball.act == "fall")) {
if (_root.p1._currentframe == 1) {
if (this._currentframe == 1) {
_root.p1.gotoAndStop(2);
} else if (this._currentframe == 2) {
_root.p1.gotoAndStop(3);
} else if (this._currentframe == 3) {
_root.p1.gotoAndStop(4);
} else if (this._currentframe == 4) {
_root.p1.gotoAndStop(5);
}
} else if (_root.p2._currentframe == 1) {
if (this._currentframe == (_root.p1._currentframe - 1)) {
_root.p2.gotoAndStop(_root.p1._currentframe);
} else {
_root.p2.gotoAndStop(1);
_root.p1.gotoAndStop(this._currentframe + 1);
}
} else if (_root.p3._currentframe == 1) {
if (this._currentframe == (_root.p2._currentframe - 1)) {
_root.p3.gotoAndStop(_root.p2._currentframe);
} else {
_root.p1.gotoAndStop(this._currentframe + 1);
_root.p3.gotoAndStop(1);
_root.p2.gotoAndStop(1);
}
}
_root.max_pacmen++;
if (_root.max_combo < int(_root.lbl_multi)) {
_root.max_combo = _root.lbl_multi;
if (int(_root.max_combo >= 19)) {
_root.cr1.nextFrame();
_root.co_cra1 = "yes";
}
if (int(_root.max_combo >= 49)) {
_root.cr2.nextFrame();
_root.co_cra2 = "yes";
}
if (int(_root.max_combo >= 79)) {
_root.cr3.nextFrame();
_root.co_cra3 = "yes";
}
}
if (_root.max_pacmen >= 100) {
_root.pk1.nextFrame();
_root.killer1 = "yes";
}
if (_root.max_pacmen >= 300) {
_root.pk2.nextFrame();
_root.killer2 = "yes";
}
if (_root.max_pacmen >= 600) {
_root.pk3.nextFrame();
_root.killer3 = "yes";
}
_root.lbl_multi++;
if (int(_root.lbl_multi > 1)) {
_root.mc_mul.mcnt.ml = "x" + _root.lbl_multi;
_root.mc_mul._x = _root.ball._x + 15;
_root.mc_mul._y = _root.ball._y - 15;
_root.mc_mul.gotoAndPlay(2);
}
if (_root.end_game == "yes") {
_root.lbl_score = _root.lbl_score + (50 * int(_root.lbl_multi));
} else {
_root.lbl_score = _root.lbl_score + (10 * int(_root.lbl_multi));
}
if ((_root.pacmen_cnt > 0) && (this._currentframe == 2)) {
_root.pacmen_cnt--;
}
if (_root.expl_cnt > 5) {
_root.expl_cnt = 0;
}
_root.expl_cnt++;
_root.expl.duplicateMovieClip("expl" + _root.expl_cnt, _root.expl_cnt);
_root["expl" + _root.expl_cnt]._x = _x;
_root["expl" + _root.expl_cnt]._y = _y;
_root.ball.ysp = 13;
_root.ball.act = "jump";
xsp = 0;
if (this._currentframe == 1) {
_root["expl" + _root.expl_cnt].gotoAndStop(2);
this.gotoAndStop(5);
} else if (this._currentframe == 2) {
_root["expl" + _root.expl_cnt].gotoAndStop(3);
this.gotoAndStop(6);
} else if (this._currentframe == 3) {
_root["expl" + _root.expl_cnt].gotoAndStop(4);
this.gotoAndStop(7);
} else if (this._currentframe == 4) {
_root["expl" + _root.expl_cnt].gotoAndStop(5);
this.gotoAndStop(8);
}
}
}
Instance of Symbol 147 MovieClip "pac16" in Frame 11
onClipEvent (load) {
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
onClipEvent (enterFrame) {
_x = (_x + xsp);
if (_x > 480) {
_x = 80;
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
if (this.hit.hitTest(_root.hit) && (_root.ball.act == "fall")) {
if (_root.p1._currentframe == 1) {
if (this._currentframe == 1) {
_root.p1.gotoAndStop(2);
} else if (this._currentframe == 2) {
_root.p1.gotoAndStop(3);
} else if (this._currentframe == 3) {
_root.p1.gotoAndStop(4);
} else if (this._currentframe == 4) {
_root.p1.gotoAndStop(5);
}
} else if (_root.p2._currentframe == 1) {
if (this._currentframe == (_root.p1._currentframe - 1)) {
_root.p2.gotoAndStop(_root.p1._currentframe);
} else {
_root.p2.gotoAndStop(1);
_root.p1.gotoAndStop(this._currentframe + 1);
}
} else if (_root.p3._currentframe == 1) {
if (this._currentframe == (_root.p2._currentframe - 1)) {
_root.p3.gotoAndStop(_root.p2._currentframe);
} else {
_root.p1.gotoAndStop(this._currentframe + 1);
_root.p3.gotoAndStop(1);
_root.p2.gotoAndStop(1);
}
}
_root.max_pacmen++;
if (_root.max_combo < int(_root.lbl_multi)) {
_root.max_combo = _root.lbl_multi;
if (int(_root.max_combo >= 19)) {
_root.cr1.nextFrame();
_root.co_cra1 = "yes";
}
if (int(_root.max_combo >= 49)) {
_root.cr2.nextFrame();
_root.co_cra2 = "yes";
}
if (int(_root.max_combo >= 79)) {
_root.cr3.nextFrame();
_root.co_cra3 = "yes";
}
}
if (_root.max_pacmen >= 100) {
_root.pk1.nextFrame();
_root.killer1 = "yes";
}
if (_root.max_pacmen >= 300) {
_root.pk2.nextFrame();
_root.killer2 = "yes";
}
if (_root.max_pacmen >= 600) {
_root.pk3.nextFrame();
_root.killer3 = "yes";
}
_root.lbl_multi++;
if (int(_root.lbl_multi > 1)) {
_root.mc_mul.mcnt.ml = "x" + _root.lbl_multi;
_root.mc_mul._x = _root.ball._x + 15;
_root.mc_mul._y = _root.ball._y - 15;
_root.mc_mul.gotoAndPlay(2);
}
if (_root.end_game == "yes") {
_root.lbl_score = _root.lbl_score + (50 * int(_root.lbl_multi));
} else {
_root.lbl_score = _root.lbl_score + (10 * int(_root.lbl_multi));
}
if ((_root.pacmen_cnt > 0) && (this._currentframe == 2)) {
_root.pacmen_cnt--;
}
if (_root.expl_cnt > 5) {
_root.expl_cnt = 0;
}
_root.expl_cnt++;
_root.expl.duplicateMovieClip("expl" + _root.expl_cnt, _root.expl_cnt);
_root["expl" + _root.expl_cnt]._x = _x;
_root["expl" + _root.expl_cnt]._y = _y;
_root.ball.ysp = 13;
_root.ball.act = "jump";
xsp = 0;
if (this._currentframe == 1) {
_root["expl" + _root.expl_cnt].gotoAndStop(2);
this.gotoAndStop(5);
} else if (this._currentframe == 2) {
_root["expl" + _root.expl_cnt].gotoAndStop(3);
this.gotoAndStop(6);
} else if (this._currentframe == 3) {
_root["expl" + _root.expl_cnt].gotoAndStop(4);
this.gotoAndStop(7);
} else if (this._currentframe == 4) {
_root["expl" + _root.expl_cnt].gotoAndStop(5);
this.gotoAndStop(8);
}
}
}
Instance of Symbol 147 MovieClip "pac10" in Frame 11
onClipEvent (load) {
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
onClipEvent (enterFrame) {
_x = (_x + xsp);
if (_x > 480) {
_x = 80;
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
if (this.hit.hitTest(_root.hit) && (_root.ball.act == "fall")) {
if (_root.p1._currentframe == 1) {
if (this._currentframe == 1) {
_root.p1.gotoAndStop(2);
} else if (this._currentframe == 2) {
_root.p1.gotoAndStop(3);
} else if (this._currentframe == 3) {
_root.p1.gotoAndStop(4);
} else if (this._currentframe == 4) {
_root.p1.gotoAndStop(5);
}
} else if (_root.p2._currentframe == 1) {
if (this._currentframe == (_root.p1._currentframe - 1)) {
_root.p2.gotoAndStop(_root.p1._currentframe);
} else {
_root.p2.gotoAndStop(1);
_root.p1.gotoAndStop(this._currentframe + 1);
}
} else if (_root.p3._currentframe == 1) {
if (this._currentframe == (_root.p2._currentframe - 1)) {
_root.p3.gotoAndStop(_root.p2._currentframe);
} else {
_root.p1.gotoAndStop(this._currentframe + 1);
_root.p3.gotoAndStop(1);
_root.p2.gotoAndStop(1);
}
}
_root.max_pacmen++;
if (_root.max_combo < int(_root.lbl_multi)) {
_root.max_combo = _root.lbl_multi;
if (int(_root.max_combo >= 19)) {
_root.cr1.nextFrame();
_root.co_cra1 = "yes";
}
if (int(_root.max_combo >= 49)) {
_root.cr2.nextFrame();
_root.co_cra2 = "yes";
}
if (int(_root.max_combo >= 79)) {
_root.cr3.nextFrame();
_root.co_cra3 = "yes";
}
}
if (_root.max_pacmen >= 100) {
_root.pk1.nextFrame();
_root.killer1 = "yes";
}
if (_root.max_pacmen >= 300) {
_root.pk2.nextFrame();
_root.killer2 = "yes";
}
if (_root.max_pacmen >= 600) {
_root.pk3.nextFrame();
_root.killer3 = "yes";
}
_root.lbl_multi++;
if (int(_root.lbl_multi > 1)) {
_root.mc_mul.mcnt.ml = "x" + _root.lbl_multi;
_root.mc_mul._x = _root.ball._x + 15;
_root.mc_mul._y = _root.ball._y - 15;
_root.mc_mul.gotoAndPlay(2);
}
if (_root.end_game == "yes") {
_root.lbl_score = _root.lbl_score + (50 * int(_root.lbl_multi));
} else {
_root.lbl_score = _root.lbl_score + (10 * int(_root.lbl_multi));
}
if ((_root.pacmen_cnt > 0) && (this._currentframe == 2)) {
_root.pacmen_cnt--;
}
if (_root.expl_cnt > 5) {
_root.expl_cnt = 0;
}
_root.expl_cnt++;
_root.expl.duplicateMovieClip("expl" + _root.expl_cnt, _root.expl_cnt);
_root["expl" + _root.expl_cnt]._x = _x;
_root["expl" + _root.expl_cnt]._y = _y;
_root.ball.ysp = 13;
_root.ball.act = "jump";
xsp = 0;
if (this._currentframe == 1) {
_root["expl" + _root.expl_cnt].gotoAndStop(2);
this.gotoAndStop(5);
} else if (this._currentframe == 2) {
_root["expl" + _root.expl_cnt].gotoAndStop(3);
this.gotoAndStop(6);
} else if (this._currentframe == 3) {
_root["expl" + _root.expl_cnt].gotoAndStop(4);
this.gotoAndStop(7);
} else if (this._currentframe == 4) {
_root["expl" + _root.expl_cnt].gotoAndStop(5);
this.gotoAndStop(8);
}
}
}
Instance of Symbol 147 MovieClip "pac8" in Frame 11
onClipEvent (load) {
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
onClipEvent (enterFrame) {
_x = (_x + xsp);
if (_x > 480) {
_x = 80;
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
if (this.hit.hitTest(_root.hit) && (_root.ball.act == "fall")) {
if (_root.p1._currentframe == 1) {
if (this._currentframe == 1) {
_root.p1.gotoAndStop(2);
} else if (this._currentframe == 2) {
_root.p1.gotoAndStop(3);
} else if (this._currentframe == 3) {
_root.p1.gotoAndStop(4);
} else if (this._currentframe == 4) {
_root.p1.gotoAndStop(5);
}
} else if (_root.p2._currentframe == 1) {
if (this._currentframe == (_root.p1._currentframe - 1)) {
_root.p2.gotoAndStop(_root.p1._currentframe);
} else {
_root.p2.gotoAndStop(1);
_root.p1.gotoAndStop(this._currentframe + 1);
}
} else if (_root.p3._currentframe == 1) {
if (this._currentframe == (_root.p2._currentframe - 1)) {
_root.p3.gotoAndStop(_root.p2._currentframe);
} else {
_root.p1.gotoAndStop(this._currentframe + 1);
_root.p3.gotoAndStop(1);
_root.p2.gotoAndStop(1);
}
}
_root.max_pacmen++;
if (_root.max_combo < int(_root.lbl_multi)) {
_root.max_combo = _root.lbl_multi;
if (int(_root.max_combo >= 19)) {
_root.cr1.nextFrame();
_root.co_cra1 = "yes";
}
if (int(_root.max_combo >= 49)) {
_root.cr2.nextFrame();
_root.co_cra2 = "yes";
}
if (int(_root.max_combo >= 79)) {
_root.cr3.nextFrame();
_root.co_cra3 = "yes";
}
}
if (_root.max_pacmen >= 100) {
_root.pk1.nextFrame();
_root.killer1 = "yes";
}
if (_root.max_pacmen >= 300) {
_root.pk2.nextFrame();
_root.killer2 = "yes";
}
if (_root.max_pacmen >= 600) {
_root.pk3.nextFrame();
_root.killer3 = "yes";
}
_root.lbl_multi++;
if (int(_root.lbl_multi > 1)) {
_root.mc_mul.mcnt.ml = "x" + _root.lbl_multi;
_root.mc_mul._x = _root.ball._x + 15;
_root.mc_mul._y = _root.ball._y - 15;
_root.mc_mul.gotoAndPlay(2);
}
if (_root.end_game == "yes") {
_root.lbl_score = _root.lbl_score + (50 * int(_root.lbl_multi));
} else {
_root.lbl_score = _root.lbl_score + (10 * int(_root.lbl_multi));
}
if ((_root.pacmen_cnt > 0) && (this._currentframe == 2)) {
_root.pacmen_cnt--;
}
if (_root.expl_cnt > 5) {
_root.expl_cnt = 0;
}
_root.expl_cnt++;
_root.expl.duplicateMovieClip("expl" + _root.expl_cnt, _root.expl_cnt);
_root["expl" + _root.expl_cnt]._x = _x;
_root["expl" + _root.expl_cnt]._y = _y;
_root.ball.ysp = 13;
_root.ball.act = "jump";
xsp = 0;
if (this._currentframe == 1) {
_root["expl" + _root.expl_cnt].gotoAndStop(2);
this.gotoAndStop(5);
} else if (this._currentframe == 2) {
_root["expl" + _root.expl_cnt].gotoAndStop(3);
this.gotoAndStop(6);
} else if (this._currentframe == 3) {
_root["expl" + _root.expl_cnt].gotoAndStop(4);
this.gotoAndStop(7);
} else if (this._currentframe == 4) {
_root["expl" + _root.expl_cnt].gotoAndStop(5);
this.gotoAndStop(8);
}
}
}
Instance of Symbol 147 MovieClip "pac7" in Frame 11
onClipEvent (load) {
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
onClipEvent (enterFrame) {
_x = (_x + xsp);
if (_x > 480) {
_x = 80;
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
if (this.hit.hitTest(_root.hit) && (_root.ball.act == "fall")) {
if (_root.p1._currentframe == 1) {
if (this._currentframe == 1) {
_root.p1.gotoAndStop(2);
} else if (this._currentframe == 2) {
_root.p1.gotoAndStop(3);
} else if (this._currentframe == 3) {
_root.p1.gotoAndStop(4);
} else if (this._currentframe == 4) {
_root.p1.gotoAndStop(5);
}
} else if (_root.p2._currentframe == 1) {
if (this._currentframe == (_root.p1._currentframe - 1)) {
_root.p2.gotoAndStop(_root.p1._currentframe);
} else {
_root.p2.gotoAndStop(1);
_root.p1.gotoAndStop(this._currentframe + 1);
}
} else if (_root.p3._currentframe == 1) {
if (this._currentframe == (_root.p2._currentframe - 1)) {
_root.p3.gotoAndStop(_root.p2._currentframe);
} else {
_root.p1.gotoAndStop(this._currentframe + 1);
_root.p3.gotoAndStop(1);
_root.p2.gotoAndStop(1);
}
}
_root.max_pacmen++;
if (_root.max_combo < int(_root.lbl_multi)) {
_root.max_combo = _root.lbl_multi;
if (int(_root.max_combo >= 19)) {
_root.cr1.nextFrame();
_root.co_cra1 = "yes";
}
if (int(_root.max_combo >= 49)) {
_root.cr2.nextFrame();
_root.co_cra2 = "yes";
}
if (int(_root.max_combo >= 79)) {
_root.cr3.nextFrame();
_root.co_cra3 = "yes";
}
}
if (_root.max_pacmen >= 100) {
_root.pk1.nextFrame();
_root.killer1 = "yes";
}
if (_root.max_pacmen >= 300) {
_root.pk2.nextFrame();
_root.killer2 = "yes";
}
if (_root.max_pacmen >= 600) {
_root.pk3.nextFrame();
_root.killer3 = "yes";
}
_root.lbl_multi++;
if (int(_root.lbl_multi > 1)) {
_root.mc_mul.mcnt.ml = "x" + _root.lbl_multi;
_root.mc_mul._x = _root.ball._x + 15;
_root.mc_mul._y = _root.ball._y - 15;
_root.mc_mul.gotoAndPlay(2);
}
if (_root.end_game == "yes") {
_root.lbl_score = _root.lbl_score + (50 * int(_root.lbl_multi));
} else {
_root.lbl_score = _root.lbl_score + (10 * int(_root.lbl_multi));
}
if ((_root.pacmen_cnt > 0) && (this._currentframe == 2)) {
_root.pacmen_cnt--;
}
if (_root.expl_cnt > 5) {
_root.expl_cnt = 0;
}
_root.expl_cnt++;
_root.expl.duplicateMovieClip("expl" + _root.expl_cnt, _root.expl_cnt);
_root["expl" + _root.expl_cnt]._x = _x;
_root["expl" + _root.expl_cnt]._y = _y;
_root.ball.ysp = 13;
_root.ball.act = "jump";
xsp = 0;
if (this._currentframe == 1) {
_root["expl" + _root.expl_cnt].gotoAndStop(2);
this.gotoAndStop(5);
} else if (this._currentframe == 2) {
_root["expl" + _root.expl_cnt].gotoAndStop(3);
this.gotoAndStop(6);
} else if (this._currentframe == 3) {
_root["expl" + _root.expl_cnt].gotoAndStop(4);
this.gotoAndStop(7);
} else if (this._currentframe == 4) {
_root["expl" + _root.expl_cnt].gotoAndStop(5);
this.gotoAndStop(8);
}
}
}
Instance of Symbol 147 MovieClip "pac5" in Frame 11
onClipEvent (load) {
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
onClipEvent (enterFrame) {
_x = (_x + xsp);
if (_x > 480) {
_x = 80;
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
if (this.hit.hitTest(_root.hit) && (_root.ball.act == "fall")) {
if (_root.p1._currentframe == 1) {
if (this._currentframe == 1) {
_root.p1.gotoAndStop(2);
} else if (this._currentframe == 2) {
_root.p1.gotoAndStop(3);
} else if (this._currentframe == 3) {
_root.p1.gotoAndStop(4);
} else if (this._currentframe == 4) {
_root.p1.gotoAndStop(5);
}
} else if (_root.p2._currentframe == 1) {
if (this._currentframe == (_root.p1._currentframe - 1)) {
_root.p2.gotoAndStop(_root.p1._currentframe);
} else {
_root.p2.gotoAndStop(1);
_root.p1.gotoAndStop(this._currentframe + 1);
}
} else if (_root.p3._currentframe == 1) {
if (this._currentframe == (_root.p2._currentframe - 1)) {
_root.p3.gotoAndStop(_root.p2._currentframe);
} else {
_root.p1.gotoAndStop(this._currentframe + 1);
_root.p3.gotoAndStop(1);
_root.p2.gotoAndStop(1);
}
}
_root.max_pacmen++;
if (_root.max_combo < int(_root.lbl_multi)) {
_root.max_combo = _root.lbl_multi;
if (int(_root.max_combo >= 19)) {
_root.cr1.nextFrame();
_root.co_cra1 = "yes";
}
if (int(_root.max_combo >= 49)) {
_root.cr2.nextFrame();
_root.co_cra2 = "yes";
}
if (int(_root.max_combo >= 79)) {
_root.cr3.nextFrame();
_root.co_cra3 = "yes";
}
}
if (_root.max_pacmen >= 100) {
_root.pk1.nextFrame();
_root.killer1 = "yes";
}
if (_root.max_pacmen >= 300) {
_root.pk2.nextFrame();
_root.killer2 = "yes";
}
if (_root.max_pacmen >= 600) {
_root.pk3.nextFrame();
_root.killer3 = "yes";
}
_root.lbl_multi++;
if (int(_root.lbl_multi > 1)) {
_root.mc_mul.mcnt.ml = "x" + _root.lbl_multi;
_root.mc_mul._x = _root.ball._x + 15;
_root.mc_mul._y = _root.ball._y - 15;
_root.mc_mul.gotoAndPlay(2);
}
if (_root.end_game == "yes") {
_root.lbl_score = _root.lbl_score + (50 * int(_root.lbl_multi));
} else {
_root.lbl_score = _root.lbl_score + (10 * int(_root.lbl_multi));
}
if ((_root.pacmen_cnt > 0) && (this._currentframe == 2)) {
_root.pacmen_cnt--;
}
if (_root.expl_cnt > 5) {
_root.expl_cnt = 0;
}
_root.expl_cnt++;
_root.expl.duplicateMovieClip("expl" + _root.expl_cnt, _root.expl_cnt);
_root["expl" + _root.expl_cnt]._x = _x;
_root["expl" + _root.expl_cnt]._y = _y;
_root.ball.ysp = 13;
_root.ball.act = "jump";
xsp = 0;
if (this._currentframe == 1) {
_root["expl" + _root.expl_cnt].gotoAndStop(2);
this.gotoAndStop(5);
} else if (this._currentframe == 2) {
_root["expl" + _root.expl_cnt].gotoAndStop(3);
this.gotoAndStop(6);
} else if (this._currentframe == 3) {
_root["expl" + _root.expl_cnt].gotoAndStop(4);
this.gotoAndStop(7);
} else if (this._currentframe == 4) {
_root["expl" + _root.expl_cnt].gotoAndStop(5);
this.gotoAndStop(8);
}
}
}
Instance of Symbol 147 MovieClip "pac3" in Frame 11
onClipEvent (load) {
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
onClipEvent (enterFrame) {
_x = (_x + xsp);
if (_x > 480) {
_x = 80;
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
if (this.hit.hitTest(_root.hit) && (_root.ball.act == "fall")) {
if (_root.p1._currentframe == 1) {
if (this._currentframe == 1) {
_root.p1.gotoAndStop(2);
} else if (this._currentframe == 2) {
_root.p1.gotoAndStop(3);
} else if (this._currentframe == 3) {
_root.p1.gotoAndStop(4);
} else if (this._currentframe == 4) {
_root.p1.gotoAndStop(5);
}
} else if (_root.p2._currentframe == 1) {
if (this._currentframe == (_root.p1._currentframe - 1)) {
_root.p2.gotoAndStop(_root.p1._currentframe);
} else {
_root.p2.gotoAndStop(1);
_root.p1.gotoAndStop(this._currentframe + 1);
}
} else if (_root.p3._currentframe == 1) {
if (this._currentframe == (_root.p2._currentframe - 1)) {
_root.p3.gotoAndStop(_root.p2._currentframe);
} else {
_root.p1.gotoAndStop(this._currentframe + 1);
_root.p3.gotoAndStop(1);
_root.p2.gotoAndStop(1);
}
}
_root.max_pacmen++;
if (_root.max_combo < int(_root.lbl_multi)) {
_root.max_combo = _root.lbl_multi;
if (int(_root.max_combo >= 19)) {
_root.cr1.nextFrame();
_root.co_cra1 = "yes";
}
if (int(_root.max_combo >= 49)) {
_root.cr2.nextFrame();
_root.co_cra2 = "yes";
}
if (int(_root.max_combo >= 79)) {
_root.cr3.nextFrame();
_root.co_cra3 = "yes";
}
}
if (_root.max_pacmen >= 100) {
_root.pk1.nextFrame();
_root.killer1 = "yes";
}
if (_root.max_pacmen >= 300) {
_root.pk2.nextFrame();
_root.killer2 = "yes";
}
if (_root.max_pacmen >= 600) {
_root.pk3.nextFrame();
_root.killer3 = "yes";
}
_root.lbl_multi++;
if (int(_root.lbl_multi > 1)) {
_root.mc_mul.mcnt.ml = "x" + _root.lbl_multi;
_root.mc_mul._x = _root.ball._x + 15;
_root.mc_mul._y = _root.ball._y - 15;
_root.mc_mul.gotoAndPlay(2);
}
if (_root.end_game == "yes") {
_root.lbl_score = _root.lbl_score + (50 * int(_root.lbl_multi));
} else {
_root.lbl_score = _root.lbl_score + (10 * int(_root.lbl_multi));
}
if ((_root.pacmen_cnt > 0) && (this._currentframe == 2)) {
_root.pacmen_cnt--;
}
if (_root.expl_cnt > 5) {
_root.expl_cnt = 0;
}
_root.expl_cnt++;
_root.expl.duplicateMovieClip("expl" + _root.expl_cnt, _root.expl_cnt);
_root["expl" + _root.expl_cnt]._x = _x;
_root["expl" + _root.expl_cnt]._y = _y;
_root.ball.ysp = 13;
_root.ball.act = "jump";
xsp = 0;
if (this._currentframe == 1) {
_root["expl" + _root.expl_cnt].gotoAndStop(2);
this.gotoAndStop(5);
} else if (this._currentframe == 2) {
_root["expl" + _root.expl_cnt].gotoAndStop(3);
this.gotoAndStop(6);
} else if (this._currentframe == 3) {
_root["expl" + _root.expl_cnt].gotoAndStop(4);
this.gotoAndStop(7);
} else if (this._currentframe == 4) {
_root["expl" + _root.expl_cnt].gotoAndStop(5);
this.gotoAndStop(8);
}
}
}
Instance of Symbol 147 MovieClip "pac11" in Frame 11
onClipEvent (load) {
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
onClipEvent (enterFrame) {
_x = (_x + xsp);
if (_x > 480) {
_x = 80;
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
if (this.hit.hitTest(_root.hit) && (_root.ball.act == "fall")) {
if (_root.p1._currentframe == 1) {
if (this._currentframe == 1) {
_root.p1.gotoAndStop(2);
} else if (this._currentframe == 2) {
_root.p1.gotoAndStop(3);
} else if (this._currentframe == 3) {
_root.p1.gotoAndStop(4);
} else if (this._currentframe == 4) {
_root.p1.gotoAndStop(5);
}
} else if (_root.p2._currentframe == 1) {
if (this._currentframe == (_root.p1._currentframe - 1)) {
_root.p2.gotoAndStop(_root.p1._currentframe);
} else {
_root.p2.gotoAndStop(1);
_root.p1.gotoAndStop(this._currentframe + 1);
}
} else if (_root.p3._currentframe == 1) {
if (this._currentframe == (_root.p2._currentframe - 1)) {
_root.p3.gotoAndStop(_root.p2._currentframe);
} else {
_root.p1.gotoAndStop(this._currentframe + 1);
_root.p3.gotoAndStop(1);
_root.p2.gotoAndStop(1);
}
}
_root.max_pacmen++;
if (_root.max_combo < int(_root.lbl_multi)) {
_root.max_combo = _root.lbl_multi;
if (int(_root.max_combo >= 19)) {
_root.cr1.nextFrame();
_root.co_cra1 = "yes";
}
if (int(_root.max_combo >= 49)) {
_root.cr2.nextFrame();
_root.co_cra2 = "yes";
}
if (int(_root.max_combo >= 79)) {
_root.cr3.nextFrame();
_root.co_cra3 = "yes";
}
}
if (_root.max_pacmen >= 100) {
_root.pk1.nextFrame();
_root.killer1 = "yes";
}
if (_root.max_pacmen >= 300) {
_root.pk2.nextFrame();
_root.killer2 = "yes";
}
if (_root.max_pacmen >= 600) {
_root.pk3.nextFrame();
_root.killer3 = "yes";
}
_root.lbl_multi++;
if (int(_root.lbl_multi > 1)) {
_root.mc_mul.mcnt.ml = "x" + _root.lbl_multi;
_root.mc_mul._x = _root.ball._x + 15;
_root.mc_mul._y = _root.ball._y - 15;
_root.mc_mul.gotoAndPlay(2);
}
if (_root.end_game == "yes") {
_root.lbl_score = _root.lbl_score + (50 * int(_root.lbl_multi));
} else {
_root.lbl_score = _root.lbl_score + (10 * int(_root.lbl_multi));
}
if ((_root.pacmen_cnt > 0) && (this._currentframe == 2)) {
_root.pacmen_cnt--;
}
if (_root.expl_cnt > 5) {
_root.expl_cnt = 0;
}
_root.expl_cnt++;
_root.expl.duplicateMovieClip("expl" + _root.expl_cnt, _root.expl_cnt);
_root["expl" + _root.expl_cnt]._x = _x;
_root["expl" + _root.expl_cnt]._y = _y;
_root.ball.ysp = 13;
_root.ball.act = "jump";
xsp = 0;
if (this._currentframe == 1) {
_root["expl" + _root.expl_cnt].gotoAndStop(2);
this.gotoAndStop(5);
} else if (this._currentframe == 2) {
_root["expl" + _root.expl_cnt].gotoAndStop(3);
this.gotoAndStop(6);
} else if (this._currentframe == 3) {
_root["expl" + _root.expl_cnt].gotoAndStop(4);
this.gotoAndStop(7);
} else if (this._currentframe == 4) {
_root["expl" + _root.expl_cnt].gotoAndStop(5);
this.gotoAndStop(8);
}
}
}
Instance of Symbol 147 MovieClip "pac17" in Frame 11
onClipEvent (load) {
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
onClipEvent (enterFrame) {
_x = (_x + xsp);
if (_x > 480) {
_x = 80;
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
if (this.hit.hitTest(_root.hit) && (_root.ball.act == "fall")) {
if (_root.p1._currentframe == 1) {
if (this._currentframe == 1) {
_root.p1.gotoAndStop(2);
} else if (this._currentframe == 2) {
_root.p1.gotoAndStop(3);
} else if (this._currentframe == 3) {
_root.p1.gotoAndStop(4);
} else if (this._currentframe == 4) {
_root.p1.gotoAndStop(5);
}
} else if (_root.p2._currentframe == 1) {
if (this._currentframe == (_root.p1._currentframe - 1)) {
_root.p2.gotoAndStop(_root.p1._currentframe);
} else {
_root.p2.gotoAndStop(1);
_root.p1.gotoAndStop(this._currentframe + 1);
}
} else if (_root.p3._currentframe == 1) {
if (this._currentframe == (_root.p2._currentframe - 1)) {
_root.p3.gotoAndStop(_root.p2._currentframe);
} else {
_root.p1.gotoAndStop(this._currentframe + 1);
_root.p3.gotoAndStop(1);
_root.p2.gotoAndStop(1);
}
}
_root.max_pacmen++;
if (_root.max_combo < int(_root.lbl_multi)) {
_root.max_combo = _root.lbl_multi;
if (int(_root.max_combo >= 19)) {
_root.cr1.nextFrame();
_root.co_cra1 = "yes";
}
if (int(_root.max_combo >= 49)) {
_root.cr2.nextFrame();
_root.co_cra2 = "yes";
}
if (int(_root.max_combo >= 79)) {
_root.cr3.nextFrame();
_root.co_cra3 = "yes";
}
}
if (_root.max_pacmen >= 100) {
_root.pk1.nextFrame();
_root.killer1 = "yes";
}
if (_root.max_pacmen >= 300) {
_root.pk2.nextFrame();
_root.killer2 = "yes";
}
if (_root.max_pacmen >= 600) {
_root.pk3.nextFrame();
_root.killer3 = "yes";
}
_root.lbl_multi++;
if (int(_root.lbl_multi > 1)) {
_root.mc_mul.mcnt.ml = "x" + _root.lbl_multi;
_root.mc_mul._x = _root.ball._x + 15;
_root.mc_mul._y = _root.ball._y - 15;
_root.mc_mul.gotoAndPlay(2);
}
if (_root.end_game == "yes") {
_root.lbl_score = _root.lbl_score + (50 * int(_root.lbl_multi));
} else {
_root.lbl_score = _root.lbl_score + (10 * int(_root.lbl_multi));
}
if ((_root.pacmen_cnt > 0) && (this._currentframe == 2)) {
_root.pacmen_cnt--;
}
if (_root.expl_cnt > 5) {
_root.expl_cnt = 0;
}
_root.expl_cnt++;
_root.expl.duplicateMovieClip("expl" + _root.expl_cnt, _root.expl_cnt);
_root["expl" + _root.expl_cnt]._x = _x;
_root["expl" + _root.expl_cnt]._y = _y;
_root.ball.ysp = 13;
_root.ball.act = "jump";
xsp = 0;
if (this._currentframe == 1) {
_root["expl" + _root.expl_cnt].gotoAndStop(2);
this.gotoAndStop(5);
} else if (this._currentframe == 2) {
_root["expl" + _root.expl_cnt].gotoAndStop(3);
this.gotoAndStop(6);
} else if (this._currentframe == 3) {
_root["expl" + _root.expl_cnt].gotoAndStop(4);
this.gotoAndStop(7);
} else if (this._currentframe == 4) {
_root["expl" + _root.expl_cnt].gotoAndStop(5);
this.gotoAndStop(8);
}
}
}
Instance of Symbol 147 MovieClip "pac18" in Frame 11
onClipEvent (load) {
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
onClipEvent (enterFrame) {
_x = (_x + xsp);
if (_x > 480) {
_x = 80;
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
if (this.hit.hitTest(_root.hit) && (_root.ball.act == "fall")) {
if (_root.p1._currentframe == 1) {
if (this._currentframe == 1) {
_root.p1.gotoAndStop(2);
} else if (this._currentframe == 2) {
_root.p1.gotoAndStop(3);
} else if (this._currentframe == 3) {
_root.p1.gotoAndStop(4);
} else if (this._currentframe == 4) {
_root.p1.gotoAndStop(5);
}
} else if (_root.p2._currentframe == 1) {
if (this._currentframe == (_root.p1._currentframe - 1)) {
_root.p2.gotoAndStop(_root.p1._currentframe);
} else {
_root.p2.gotoAndStop(1);
_root.p1.gotoAndStop(this._currentframe + 1);
}
} else if (_root.p3._currentframe == 1) {
if (this._currentframe == (_root.p2._currentframe - 1)) {
_root.p3.gotoAndStop(_root.p2._currentframe);
} else {
_root.p1.gotoAndStop(this._currentframe + 1);
_root.p3.gotoAndStop(1);
_root.p2.gotoAndStop(1);
}
}
_root.max_pacmen++;
if (_root.max_combo < int(_root.lbl_multi)) {
_root.max_combo = _root.lbl_multi;
if (int(_root.max_combo >= 19)) {
_root.cr1.nextFrame();
_root.co_cra1 = "yes";
}
if (int(_root.max_combo >= 49)) {
_root.cr2.nextFrame();
_root.co_cra2 = "yes";
}
if (int(_root.max_combo >= 79)) {
_root.cr3.nextFrame();
_root.co_cra3 = "yes";
}
}
if (_root.max_pacmen >= 100) {
_root.pk1.nextFrame();
_root.killer1 = "yes";
}
if (_root.max_pacmen >= 300) {
_root.pk2.nextFrame();
_root.killer2 = "yes";
}
if (_root.max_pacmen >= 600) {
_root.pk3.nextFrame();
_root.killer3 = "yes";
}
_root.lbl_multi++;
if (int(_root.lbl_multi > 1)) {
_root.mc_mul.mcnt.ml = "x" + _root.lbl_multi;
_root.mc_mul._x = _root.ball._x + 15;
_root.mc_mul._y = _root.ball._y - 15;
_root.mc_mul.gotoAndPlay(2);
}
if (_root.end_game == "yes") {
_root.lbl_score = _root.lbl_score + (50 * int(_root.lbl_multi));
} else {
_root.lbl_score = _root.lbl_score + (10 * int(_root.lbl_multi));
}
if ((_root.pacmen_cnt > 0) && (this._currentframe == 2)) {
_root.pacmen_cnt--;
}
if (_root.expl_cnt > 5) {
_root.expl_cnt = 0;
}
_root.expl_cnt++;
_root.expl.duplicateMovieClip("expl" + _root.expl_cnt, _root.expl_cnt);
_root["expl" + _root.expl_cnt]._x = _x;
_root["expl" + _root.expl_cnt]._y = _y;
_root.ball.ysp = 13;
_root.ball.act = "jump";
xsp = 0;
if (this._currentframe == 1) {
_root["expl" + _root.expl_cnt].gotoAndStop(2);
this.gotoAndStop(5);
} else if (this._currentframe == 2) {
_root["expl" + _root.expl_cnt].gotoAndStop(3);
this.gotoAndStop(6);
} else if (this._currentframe == 3) {
_root["expl" + _root.expl_cnt].gotoAndStop(4);
this.gotoAndStop(7);
} else if (this._currentframe == 4) {
_root["expl" + _root.expl_cnt].gotoAndStop(5);
this.gotoAndStop(8);
}
}
}
Instance of Symbol 147 MovieClip "pac19" in Frame 11
onClipEvent (load) {
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
onClipEvent (enterFrame) {
_x = (_x + xsp);
if (_x > 480) {
_x = 80;
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
if (this.hit.hitTest(_root.hit) && (_root.ball.act == "fall")) {
if (_root.p1._currentframe == 1) {
if (this._currentframe == 1) {
_root.p1.gotoAndStop(2);
} else if (this._currentframe == 2) {
_root.p1.gotoAndStop(3);
} else if (this._currentframe == 3) {
_root.p1.gotoAndStop(4);
} else if (this._currentframe == 4) {
_root.p1.gotoAndStop(5);
}
} else if (_root.p2._currentframe == 1) {
if (this._currentframe == (_root.p1._currentframe - 1)) {
_root.p2.gotoAndStop(_root.p1._currentframe);
} else {
_root.p2.gotoAndStop(1);
_root.p1.gotoAndStop(this._currentframe + 1);
}
} else if (_root.p3._currentframe == 1) {
if (this._currentframe == (_root.p2._currentframe - 1)) {
_root.p3.gotoAndStop(_root.p2._currentframe);
} else {
_root.p1.gotoAndStop(this._currentframe + 1);
_root.p3.gotoAndStop(1);
_root.p2.gotoAndStop(1);
}
}
_root.max_pacmen++;
if (_root.max_combo < int(_root.lbl_multi)) {
_root.max_combo = _root.lbl_multi;
if (int(_root.max_combo >= 19)) {
_root.cr1.nextFrame();
_root.co_cra1 = "yes";
}
if (int(_root.max_combo >= 49)) {
_root.cr2.nextFrame();
_root.co_cra2 = "yes";
}
if (int(_root.max_combo >= 79)) {
_root.cr3.nextFrame();
_root.co_cra3 = "yes";
}
}
if (_root.max_pacmen >= 100) {
_root.pk1.nextFrame();
_root.killer1 = "yes";
}
if (_root.max_pacmen >= 300) {
_root.pk2.nextFrame();
_root.killer2 = "yes";
}
if (_root.max_pacmen >= 600) {
_root.pk3.nextFrame();
_root.killer3 = "yes";
}
_root.lbl_multi++;
if (int(_root.lbl_multi > 1)) {
_root.mc_mul.mcnt.ml = "x" + _root.lbl_multi;
_root.mc_mul._x = _root.ball._x + 15;
_root.mc_mul._y = _root.ball._y - 15;
_root.mc_mul.gotoAndPlay(2);
}
if (_root.end_game == "yes") {
_root.lbl_score = _root.lbl_score + (50 * int(_root.lbl_multi));
} else {
_root.lbl_score = _root.lbl_score + (10 * int(_root.lbl_multi));
}
if ((_root.pacmen_cnt > 0) && (this._currentframe == 2)) {
_root.pacmen_cnt--;
}
if (_root.expl_cnt > 5) {
_root.expl_cnt = 0;
}
_root.expl_cnt++;
_root.expl.duplicateMovieClip("expl" + _root.expl_cnt, _root.expl_cnt);
_root["expl" + _root.expl_cnt]._x = _x;
_root["expl" + _root.expl_cnt]._y = _y;
_root.ball.ysp = 13;
_root.ball.act = "jump";
xsp = 0;
if (this._currentframe == 1) {
_root["expl" + _root.expl_cnt].gotoAndStop(2);
this.gotoAndStop(5);
} else if (this._currentframe == 2) {
_root["expl" + _root.expl_cnt].gotoAndStop(3);
this.gotoAndStop(6);
} else if (this._currentframe == 3) {
_root["expl" + _root.expl_cnt].gotoAndStop(4);
this.gotoAndStop(7);
} else if (this._currentframe == 4) {
_root["expl" + _root.expl_cnt].gotoAndStop(5);
this.gotoAndStop(8);
}
}
}
Instance of Symbol 147 MovieClip "pac20" in Frame 11
onClipEvent (load) {
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
onClipEvent (enterFrame) {
_x = (_x + xsp);
if (_x > 480) {
_x = 80;
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
if (this.hit.hitTest(_root.hit) && (_root.ball.act == "fall")) {
if (_root.p1._currentframe == 1) {
if (this._currentframe == 1) {
_root.p1.gotoAndStop(2);
} else if (this._currentframe == 2) {
_root.p1.gotoAndStop(3);
} else if (this._currentframe == 3) {
_root.p1.gotoAndStop(4);
} else if (this._currentframe == 4) {
_root.p1.gotoAndStop(5);
}
} else if (_root.p2._currentframe == 1) {
if (this._currentframe == (_root.p1._currentframe - 1)) {
_root.p2.gotoAndStop(_root.p1._currentframe);
} else {
_root.p2.gotoAndStop(1);
_root.p1.gotoAndStop(this._currentframe + 1);
}
} else if (_root.p3._currentframe == 1) {
if (this._currentframe == (_root.p2._currentframe - 1)) {
_root.p3.gotoAndStop(_root.p2._currentframe);
} else {
_root.p1.gotoAndStop(this._currentframe + 1);
_root.p3.gotoAndStop(1);
_root.p2.gotoAndStop(1);
}
}
_root.max_pacmen++;
if (_root.max_combo < int(_root.lbl_multi)) {
_root.max_combo = _root.lbl_multi;
if (int(_root.max_combo >= 19)) {
_root.cr1.nextFrame();
_root.co_cra1 = "yes";
}
if (int(_root.max_combo >= 49)) {
_root.cr2.nextFrame();
_root.co_cra2 = "yes";
}
if (int(_root.max_combo >= 79)) {
_root.cr3.nextFrame();
_root.co_cra3 = "yes";
}
}
if (_root.max_pacmen >= 100) {
_root.pk1.nextFrame();
_root.killer1 = "yes";
}
if (_root.max_pacmen >= 300) {
_root.pk2.nextFrame();
_root.killer2 = "yes";
}
if (_root.max_pacmen >= 600) {
_root.pk3.nextFrame();
_root.killer3 = "yes";
}
_root.lbl_multi++;
if (int(_root.lbl_multi > 1)) {
_root.mc_mul.mcnt.ml = "x" + _root.lbl_multi;
_root.mc_mul._x = _root.ball._x + 15;
_root.mc_mul._y = _root.ball._y - 15;
_root.mc_mul.gotoAndPlay(2);
}
if (_root.end_game == "yes") {
_root.lbl_score = _root.lbl_score + (50 * int(_root.lbl_multi));
} else {
_root.lbl_score = _root.lbl_score + (10 * int(_root.lbl_multi));
}
if ((_root.pacmen_cnt > 0) && (this._currentframe == 2)) {
_root.pacmen_cnt--;
}
if (_root.expl_cnt > 5) {
_root.expl_cnt = 0;
}
_root.expl_cnt++;
_root.expl.duplicateMovieClip("expl" + _root.expl_cnt, _root.expl_cnt);
_root["expl" + _root.expl_cnt]._x = _x;
_root["expl" + _root.expl_cnt]._y = _y;
_root.ball.ysp = 13;
_root.ball.act = "jump";
xsp = 0;
if (this._currentframe == 1) {
_root["expl" + _root.expl_cnt].gotoAndStop(2);
this.gotoAndStop(5);
} else if (this._currentframe == 2) {
_root["expl" + _root.expl_cnt].gotoAndStop(3);
this.gotoAndStop(6);
} else if (this._currentframe == 3) {
_root["expl" + _root.expl_cnt].gotoAndStop(4);
this.gotoAndStop(7);
} else if (this._currentframe == 4) {
_root["expl" + _root.expl_cnt].gotoAndStop(5);
this.gotoAndStop(8);
}
}
}
Instance of Symbol 170 MovieClip "pink_pac" in Frame 11
onClipEvent (load) {
xsp = random(5) + 3;
_y = (random(100) + 200);
}
onClipEvent (enterFrame) {
if (_root.pacmen_cnt < 12) {
start_pink = 1;
}
if (start_pink) {
_x = (_x + xsp);
if (_x > 480) {
this.gotoAndStop(3);
}
if (this.hit.hitTest(_root.hit) && (_root.ball.act == "fall")) {
_root.pink_pacmen++;
if (_root.pink_pacmen >= 3) {
_root.pink1.nextFrame();
}
if (_root.pink_pacmen >= 6) {
_root.pink2.nextFrame();
}
if (_root.pink_pacmen >= 10) {
_root.pink3.nextFrame();
}
_root.max_pacmen++;
if (_root.max_combo < int(_root.lbl_multi)) {
_root.max_combo = _root.lbl_multi;
if (int(_root.max_combo >= 19)) {
_root.cr1.nextFrame();
_root.co_cra1 = "yes";
}
if (int(_root.max_combo >= 49)) {
_root.cr2.nextFrame();
_root.co_cra2 = "yes";
}
if (int(_root.max_combo >= 79)) {
_root.cr3.nextFrame();
_root.co_cra3 = "yes";
}
}
if (_root.max_pacmen >= 100) {
_root.pk1.nextFrame();
_root.killer1 = "yes";
}
if (_root.max_pacmen >= 300) {
_root.pk2.nextFrame();
_root.killer2 = "yes";
}
if (_root.max_pacmen >= 600) {
_root.pk3.nextFrame();
_root.killer3 = "yes";
}
_root.lbl_multi++;
if (int(_root.lbl_multi > 1)) {
_root.mc_mul.mcnt.ml = "x" + _root.lbl_multi;
_root.mc_mul._x = _root.ball._x + 15;
_root.mc_mul._y = _root.ball._y - 15;
_root.mc_mul.gotoAndPlay(2);
}
if (_root.end_game == "yes") {
_root.lbl_score = _root.lbl_score + (5000 * int(_root.lbl_multi));
} else {
_root.lbl_score = _root.lbl_score + (1000 * int(_root.lbl_multi));
}
if (_root.pacmen_cnt > 0) {
_root.pacmen_cnt--;
}
if (_root.expl_cnt > 5) {
_root.expl_cnt = 0;
}
_root.ball.ysp = 13;
_root.ball.act = "jump";
xsp = 0;
this.gotoAndStop(2);
}
}
}
Instance of Symbol 197 MovieClip "ball" in Frame 11
onClipEvent (load) {
var glevel = _y;
var ysp = 0;
var xsp = 5;
var act = "ground";
var xsp2 = 3;
var m_dir = "";
j = 20;
}
onClipEvent (keyUp) {
if (m_dir == "left") {
roll_left = 1;
m_dir = "";
xsp2 = 3;
} else if (m_dir == "right") {
roll_right = 1;
m_dir = "";
xsp2 = 3;
}
}
onClipEvent (enterFrame) {
if (this._currentframe != 3) {
if (_root.p3._currentframe == 2) {
if (j > 40) {
j = 20;
}
j++;
_root.b_a.duplicateMovieClip("b_a" + j, j);
_root["b_a" + j]._x = _x;
_root["b_a" + j]._y = _y;
} else if (_root.p3._currentframe == 3) {
if (j > 40) {
j = 20;
}
j++;
_root.b_b.duplicateMovieClip("b_b" + j, j);
_root["b_b" + j]._x = _x;
_root["b_b" + j]._y = _y;
} else if (_root.p3._currentframe == 4) {
if (j > 40) {
j = 20;
}
j++;
_root.b_c.duplicateMovieClip("b_c" + j, j);
_root["b_c" + j]._x = _x;
_root["b_c" + j]._y = _y;
} else if (_root.p3._currentframe == 5) {
if (j > 40) {
j = 20;
}
j++;
_root.b_d.duplicateMovieClip("b_d" + j, j);
_root["b_d" + j]._x = _x;
_root["b_d" + j]._y = _y;
}
if (roll_left) {
xsp2 = xsp2 - 0.5;
_rotation = (_rotation - (xsp2 * 3));
_x = (_x - xsp2);
if (_x < 115) {
_x = 115;
}
if (xsp2 <= 0) {
roll_left = 0;
xsp2 = 3;
}
}
if (roll_right) {
xsp2 = xsp2 - 0.5;
_rotation = (_rotation + (xsp2 * 3));
_x = (_x + xsp2);
if (_x > 430) {
_x = 430;
}
if (xsp2 <= 0) {
roll_right = 0;
xsp2 = 3;
}
}
if (Key.isDown(37)) {
m_dir = "left";
roll_left = 0;
roll_right = 0;
_rotation = (_rotation - (xsp + 5));
_x = (_x - xsp);
if (_x < 115) {
_x = 115;
}
} else if (Key.isDown(39)) {
m_dir = "right";
roll_left = 0;
roll_right = 0;
_rotation = (_rotation + (xsp + 5));
_x = (_x + xsp);
if (_x > 430) {
_x = 430;
}
}
if (act == "fall") {
ysp++;
var i = 0;
while (i < ysp) {
_y = (_y+1);
if (_y >= glevel) {
_y = glevel;
_root.snd_hit_ground.start(0, 0);
_root.lbl_multi = 0;
i = 0;
ysp = i;
act = "ground";
_root.leaves._x = _x;
_root.leaves._y = _y - 30;
_root.leaves.gotoAndPlay(2);
}
i++;
}
} else if (act == "jump") {
ysp--;
this.gotoAndStop(2);
var i = 0;
while (i < ysp) {
_y = (_y-1);
if (ysp <= 1) {
ysp = 0;
act = "fall";
}
i++;
}
}
if (Key.isDown(90) && (act == "ground")) {
_root.snd_jump.start(0, 0);
ysp = 12;
act = "jump";
}
if ((Key.isDown(40) && (act == "jump")) && (_y < (glevel - 5))) {
ysp = 0;
act = "fall";
}
}
}
Instance of Symbol 203 MovieClip "hit" in Frame 11
onClipEvent (enterFrame) {
_x = _root.ball._x;
_y = (_root.ball._y + 15);
}
Instance of Symbol 203 MovieClip "hit2" in Frame 11
onClipEvent (enterFrame) {
_x = _root.ball._x;
_y = (_root.ball._y + 15);
}
Instance of Symbol 365 MovieClip "b_a" in Frame 11
onClipEvent (load) {
ysp = 5 * Math.random();
}
onClipEvent (enterFrame) {
if (ysp <= 1) {
this.removeMovieClip();
} else {
ysp = ysp - 0.1;
_y = (_y - ysp);
}
}
Instance of Symbol 369 MovieClip "b_b" in Frame 11
onClipEvent (load) {
ysp = 5 * Math.random();
}
onClipEvent (enterFrame) {
if (ysp <= 1) {
this.removeMovieClip();
} else {
ysp = ysp - 0.1;
_y = (_y - ysp);
}
}
Instance of Symbol 372 MovieClip "b_c" in Frame 11
onClipEvent (load) {
ysp = 5 * Math.random();
}
onClipEvent (enterFrame) {
if (ysp <= 1) {
this.removeMovieClip();
} else {
ysp = ysp - 0.1;
_y = (_y - ysp);
}
}
Instance of Symbol 376 MovieClip "b_d" in Frame 11
onClipEvent (load) {
ysp = 5 * Math.random();
}
onClipEvent (enterFrame) {
if (ysp <= 1) {
this.removeMovieClip();
} else {
ysp = ysp - 0.1;
_y = (_y - ysp);
}
}
Instance of Symbol 245 MovieClip "expl" in Frame 11
onClipEvent (load) {
cframe = _root._currentframe;
if (_x < 130) {
this.removeMovieClip();
}
}
onClipEvent (enterFrame) {
if (cframe != _root._currentframe) {
this.removeMovieClip();
}
}
Instance of Symbol 117 MovieClip in Frame 11
onClipEvent (load) {
this.gotoAndPlay(random(9) + 1);
}
Instance of Symbol 269 MovieClip "mc_grass" in Frame 11
onClipEvent (load) {
tmpdepth = this.getDepth();
this.swapDepths(100);
}
Instance of Symbol 351 MovieClip "mc_ef" in Frame 11
onClipEvent (load) {
tmpdepth = this.getDepth();
this.swapDepths(110);
}
Frame 12
stop();
if (_root.end_game == "yes") {
_root.time_bon = _root.time_bon + int(_root.lbl_time);
}
Frame 13
_root.snd_stage_bg.start(0, 999);
stop();
tmp_time = 0;
lbl_multi = 0;
expl_cnt = 0;
lbl_time = 40;
pacmen_cnt = 20;
i = 0;
j = 0;
m = 0;
end_game = "";
color_bomb = 0;
_root.onEnterFrame = function () {
var _local3 = new Date();
var _local2 = _local3 - starttime;
while (_local2 < (1000 / DESIREDFRAMERATE)) {
_local3 = new Date();
_local2 = _local3 - starttime;
}
starttime = new Date();
if (lbl_time <= 10) {
_root.mc_pan.nextFrame();
}
if ((lbl_time == 0) && (end_game == "")) {
_root.ball._rotation = 0;
_root.ball.gotoAndStop(3);
_root.b_xpl._x = _root.ball._x;
_root.b_xpl._y = _root.ball._y;
_root.b_xpl.nextFrame();
}
if (((Key.isDown(88) && (color_bomb == 0)) && (_root.p3._currentframe != 1)) && (_root.ball._currentframe != 3)) {
_root.obj1.play();
_root.max_bombs++;
if (_root.max_bombs >= 20) {
_root.col_mayhem.nextFrame();
}
_root.mc_ef.play();
color_bomb = 1;
}
if ((pacmen_cnt == 0) && (end_game == "")) {
end_game = "yes";
_root.mc_completed.play();
_root.lbl_score = _root.lbl_score + (int(_root.lbl_time) * int(_root.lbl_time));
}
m++;
if (((m == 30) && (lbl_time > 0)) && (end_game == "")) {
tmp_time++;
lbl_time--;
m = 0;
}
if (end_game == "yes") {
j++;
if ((j == 3) && (i < 21)) {
i++;
if (expl_cnt > 10) {
expl_cnt = 0;
}
expl_cnt++;
_root.expl.duplicateMovieClip("expl" + expl_cnt, expl_cnt);
_root["expl" + expl_cnt]._x = _root["pac" + i]._x;
_root["expl" + expl_cnt]._y = _root["pac" + i]._y;
_root["pac" + i].xsp = 0;
if (_root["pac" + i]._currentframe == 1) {
_root["expl" + expl_cnt].gotoAndStop(2);
_root["pac" + i].gotoAndStop(5);
} else if (_root["pac" + i]._currentframe == 2) {
_root["expl" + expl_cnt].gotoAndStop(3);
_root["pac" + i].gotoAndStop(6);
} else if (_root["pac" + i]._currentframe == 3) {
_root["expl" + expl_cnt].gotoAndStop(4);
_root["pac" + i].gotoAndStop(7);
} else if (_root["pac" + i]._currentframe == 4) {
_root["expl" + expl_cnt].gotoAndStop(5);
_root["pac" + i].gotoAndStop(8);
}
j = 0;
}
}
if (color_bomb) {
var i = 1;
while (i < 22) {
expl_cnt++;
_root.expl.duplicateMovieClip("expl" + expl_cnt, expl_cnt);
_root["expl" + expl_cnt]._x = _root["pac" + i]._x;
_root["expl" + expl_cnt]._y = _root["pac" + i]._y;
if ((_root.p3._currentframe == 2) && (_root["pac" + i]._currentframe == 1)) {
_root.max_pacmen++;
if (_root.max_combo < int(_root.lbl_multi)) {
_root.max_combo = _root.lbl_multi;
if (int(_root.max_combo >= 19)) {
_root.cr1.nextFrame();
_root.co_cra1 = "yes";
}
if (int(_root.max_combo >= 49)) {
_root.cr2.nextFrame();
_root.co_cra2 = "yes";
}
if (int(_root.max_combo >= 79)) {
_root.cr3.nextFrame();
_root.co_cra3 = "yes";
}
}
if (_root.max_pacmen >= 100) {
_root.pk1.nextFrame();
_root.killer1 = "yes";
}
if (_root.max_pacmen >= 300) {
_root.pk2.nextFrame();
_root.killer2 = "yes";
}
if (_root.max_pacmen >= 600) {
_root.pk3.nextFrame();
_root.killer3 = "yes";
}
if (end_game == "yes") {
_root.lbl_score = _root.lbl_score + (50 * int(_root.lbl_multi));
} else {
_root.lbl_score = _root.lbl_score + (10 * int(_root.lbl_multi));
}
_root["expl" + expl_cnt].gotoAndStop(2);
_root["pac" + i].gotoAndStop(5);
_root["pac" + i].xsp = 0;
} else if ((_root.p3._currentframe == 3) && (_root["pac" + i]._currentframe == 2)) {
_root.max_pacmen++;
if (_root.max_combo < int(_root.lbl_multi)) {
_root.max_combo = _root.lbl_multi;
if (int(_root.max_combo >= 19)) {
_root.cr1.nextFrame();
_root.co_cra1 = "yes";
}
if (int(_root.max_combo >= 49)) {
_root.cr2.nextFrame();
_root.co_cra2 = "yes";
}
if (int(_root.max_combo >= 79)) {
_root.cr3.nextFrame();
_root.co_cra3 = "yes";
}
}
if (_root.max_pacmen >= 100) {
_root.pk1.nextFrame();
_root.killer1 = "yes";
}
if (_root.max_pacmen >= 300) {
_root.pk2.nextFrame();
_root.killer2 = "yes";
}
if (_root.max_pacmen >= 600) {
_root.pk3.nextFrame();
_root.killer3 = "yes";
}
if (end_game == "yes") {
_root.lbl_score = _root.lbl_score + (50 * int(_root.lbl_multi));
} else {
_root.lbl_score = _root.lbl_score + (10 * int(_root.lbl_multi));
}
_root["expl" + expl_cnt].gotoAndStop(3);
_root["pac" + i].gotoAndStop(6);
_root["pac" + i].xsp = 0;
} else if ((_root.p3._currentframe == 4) && (_root["pac" + i]._currentframe == 3)) {
_root.max_pacmen++;
if (_root.max_combo < int(_root.lbl_multi)) {
_root.max_combo = _root.lbl_multi;
if (int(_root.max_combo >= 19)) {
_root.cr1.nextFrame();
_root.co_cra1 = "yes";
}
if (int(_root.max_combo >= 49)) {
_root.cr2.nextFrame();
_root.co_cra2 = "yes";
}
if (int(_root.max_combo >= 79)) {
_root.cr3.nextFrame();
_root.co_cra3 = "yes";
}
}
if (_root.max_pacmen >= 100) {
_root.pk1.nextFrame();
_root.killer1 = "yes";
}
if (_root.max_pacmen >= 300) {
_root.pk2.nextFrame();
_root.killer2 = "yes";
}
if (_root.max_pacmen >= 600) {
_root.pk3.nextFrame();
_root.killer3 = "yes";
}
if (end_game == "yes") {
_root.lbl_score = _root.lbl_score + (50 * int(_root.lbl_multi));
} else {
_root.lbl_score = _root.lbl_score + (10 * int(_root.lbl_multi));
}
if (_root.pacmen_cnt > 0) {
_root.pacmen_cnt--;
}
_root["expl" + expl_cnt].gotoAndStop(4);
_root["pac" + i].gotoAndStop(7);
_root["pac" + i].xsp = 0;
} else if ((_root.p3._currentframe == 5) && (_root["pac" + i]._currentframe == 4)) {
_root.max_pacmen++;
if (_root.max_combo < int(_root.lbl_multi)) {
_root.max_combo = _root.lbl_multi;
if (int(_root.max_combo >= 19)) {
_root.cr1.nextFrame();
_root.co_cra1 = "yes";
}
if (int(_root.max_combo >= 49)) {
_root.cr2.nextFrame();
_root.co_cra2 = "yes";
}
if (int(_root.max_combo >= 79)) {
_root.cr3.nextFrame();
_root.co_cra3 = "yes";
}
}
if (_root.max_pacmen >= 100) {
_root.pk1.nextFrame();
_root.killer1 = "yes";
}
if (_root.max_pacmen >= 300) {
_root.pk2.nextFrame();
_root.killer2 = "yes";
}
if (_root.max_pacmen >= 600) {
_root.pk3.nextFrame();
_root.killer3 = "yes";
}
if (end_game == "yes") {
_root.lbl_score = _root.lbl_score + (50 * int(_root.lbl_multi));
} else {
_root.lbl_score = _root.lbl_score + (10 * int(_root.lbl_multi));
}
_root["expl" + expl_cnt].gotoAndStop(5);
_root["pac" + i].gotoAndStop(8);
_root["pac" + i].xsp = 0;
}
i++;
}
i = 0;
j = 0;
expl_cnt = 0;
_root.p1.gotoAndStop(1);
_root.p2.gotoAndStop(1);
_root.p3.gotoAndStop(1);
color_bomb = 0;
}
};
Instance of Symbol 147 MovieClip "pac1" in Frame 13
onClipEvent (load) {
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
onClipEvent (enterFrame) {
_x = (_x + xsp);
if (_x > 480) {
_x = 80;
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
if (this.hit.hitTest(_root.hit) && (_root.ball.act == "fall")) {
if (_root.p1._currentframe == 1) {
if (this._currentframe == 1) {
_root.p1.gotoAndStop(2);
} else if (this._currentframe == 2) {
_root.p1.gotoAndStop(3);
} else if (this._currentframe == 3) {
_root.p1.gotoAndStop(4);
} else if (this._currentframe == 4) {
_root.p1.gotoAndStop(5);
}
} else if (_root.p2._currentframe == 1) {
if (this._currentframe == (_root.p1._currentframe - 1)) {
_root.p2.gotoAndStop(_root.p1._currentframe);
} else {
_root.p2.gotoAndStop(1);
_root.p1.gotoAndStop(this._currentframe + 1);
}
} else if (_root.p3._currentframe == 1) {
if (this._currentframe == (_root.p2._currentframe - 1)) {
_root.p3.gotoAndStop(_root.p2._currentframe);
} else {
_root.p1.gotoAndStop(this._currentframe + 1);
_root.p3.gotoAndStop(1);
_root.p2.gotoAndStop(1);
}
}
_root.max_pacmen++;
if (_root.max_combo < int(_root.lbl_multi)) {
_root.max_combo = _root.lbl_multi;
if (int(_root.max_combo >= 19)) {
_root.cr1.nextFrame();
_root.co_cra1 = "yes";
}
if (int(_root.max_combo >= 49)) {
_root.cr2.nextFrame();
_root.co_cra2 = "yes";
}
if (int(_root.max_combo >= 79)) {
_root.cr3.nextFrame();
_root.co_cra3 = "yes";
}
}
if (_root.max_pacmen >= 100) {
_root.pk1.nextFrame();
_root.killer1 = "yes";
}
if (_root.max_pacmen >= 300) {
_root.pk2.nextFrame();
_root.killer2 = "yes";
}
if (_root.max_pacmen >= 600) {
_root.pk3.nextFrame();
_root.killer3 = "yes";
}
_root.lbl_multi++;
if (int(_root.lbl_multi > 1)) {
_root.mc_mul.mcnt.ml = "x" + _root.lbl_multi;
_root.mc_mul._x = _root.ball._x + 15;
_root.mc_mul._y = _root.ball._y - 15;
_root.mc_mul.gotoAndPlay(2);
}
if (_root.end_game == "yes") {
_root.lbl_score = _root.lbl_score + (50 * int(_root.lbl_multi));
} else {
_root.lbl_score = _root.lbl_score + (10 * int(_root.lbl_multi));
}
if ((_root.pacmen_cnt > 0) && (this._currentframe == 3)) {
_root.pacmen_cnt--;
}
if (_root.expl_cnt > 5) {
_root.expl_cnt = 0;
}
_root.expl_cnt++;
_root.expl.duplicateMovieClip("expl" + _root.expl_cnt, _root.expl_cnt);
_root["expl" + _root.expl_cnt]._x = _x;
_root["expl" + _root.expl_cnt]._y = _y;
_root.ball.ysp = 13;
_root.ball.act = "jump";
xsp = 0;
if (this._currentframe == 1) {
_root["expl" + _root.expl_cnt].gotoAndStop(2);
this.gotoAndStop(5);
} else if (this._currentframe == 2) {
_root["expl" + _root.expl_cnt].gotoAndStop(3);
this.gotoAndStop(6);
} else if (this._currentframe == 3) {
_root["expl" + _root.expl_cnt].gotoAndStop(4);
this.gotoAndStop(7);
} else if (this._currentframe == 4) {
_root["expl" + _root.expl_cnt].gotoAndStop(5);
this.gotoAndStop(8);
}
}
}
Instance of Symbol 147 MovieClip "pac2" in Frame 13
onClipEvent (load) {
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
onClipEvent (enterFrame) {
_x = (_x + xsp);
if (_x > 480) {
_x = 80;
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
if (this.hit.hitTest(_root.hit) && (_root.ball.act == "fall")) {
if (_root.p1._currentframe == 1) {
if (this._currentframe == 1) {
_root.p1.gotoAndStop(2);
} else if (this._currentframe == 2) {
_root.p1.gotoAndStop(3);
} else if (this._currentframe == 3) {
_root.p1.gotoAndStop(4);
} else if (this._currentframe == 4) {
_root.p1.gotoAndStop(5);
}
} else if (_root.p2._currentframe == 1) {
if (this._currentframe == (_root.p1._currentframe - 1)) {
_root.p2.gotoAndStop(_root.p1._currentframe);
} else {
_root.p2.gotoAndStop(1);
_root.p1.gotoAndStop(this._currentframe + 1);
}
} else if (_root.p3._currentframe == 1) {
if (this._currentframe == (_root.p2._currentframe - 1)) {
_root.p3.gotoAndStop(_root.p2._currentframe);
} else {
_root.p1.gotoAndStop(this._currentframe + 1);
_root.p3.gotoAndStop(1);
_root.p2.gotoAndStop(1);
}
}
_root.max_pacmen++;
if (_root.max_combo < int(_root.lbl_multi)) {
_root.max_combo = _root.lbl_multi;
if (int(_root.max_combo >= 19)) {
_root.cr1.nextFrame();
_root.co_cra1 = "yes";
}
if (int(_root.max_combo >= 49)) {
_root.cr2.nextFrame();
_root.co_cra2 = "yes";
}
if (int(_root.max_combo >= 79)) {
_root.cr3.nextFrame();
_root.co_cra3 = "yes";
}
}
if (_root.max_pacmen >= 100) {
_root.pk1.nextFrame();
_root.killer1 = "yes";
}
if (_root.max_pacmen >= 300) {
_root.pk2.nextFrame();
_root.killer2 = "yes";
}
if (_root.max_pacmen >= 600) {
_root.pk3.nextFrame();
_root.killer3 = "yes";
}
_root.lbl_multi++;
if (int(_root.lbl_multi > 1)) {
_root.mc_mul.mcnt.ml = "x" + _root.lbl_multi;
_root.mc_mul._x = _root.ball._x + 15;
_root.mc_mul._y = _root.ball._y - 15;
_root.mc_mul.gotoAndPlay(2);
}
if (_root.end_game == "yes") {
_root.lbl_score = _root.lbl_score + (50 * int(_root.lbl_multi));
} else {
_root.lbl_score = _root.lbl_score + (10 * int(_root.lbl_multi));
}
if (_root.pacmen_cnt > 0) {
_root.pacmen_cnt--;
}
if ((_root.pacmen_cnt > 0) && (this._currentframe == 3)) {
_root.expl_cnt = 0;
}
_root.expl_cnt++;
_root.expl.duplicateMovieClip("expl" + _root.expl_cnt, _root.expl_cnt);
_root["expl" + _root.expl_cnt]._x = _x;
_root["expl" + _root.expl_cnt]._y = _y;
_root.ball.ysp = 13;
_root.ball.act = "jump";
xsp = 0;
if (this._currentframe == 1) {
_root["expl" + _root.expl_cnt].gotoAndStop(2);
this.gotoAndStop(5);
} else if (this._currentframe == 2) {
_root["expl" + _root.expl_cnt].gotoAndStop(3);
this.gotoAndStop(6);
} else if (this._currentframe == 3) {
_root["expl" + _root.expl_cnt].gotoAndStop(4);
this.gotoAndStop(7);
} else if (this._currentframe == 4) {
_root["expl" + _root.expl_cnt].gotoAndStop(5);
this.gotoAndStop(8);
}
}
}
Instance of Symbol 147 MovieClip "pac4" in Frame 13
onClipEvent (load) {
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
onClipEvent (enterFrame) {
_x = (_x + xsp);
if (_x > 480) {
_x = 80;
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
if (this.hit.hitTest(_root.hit) && (_root.ball.act == "fall")) {
if (_root.p1._currentframe == 1) {
if (this._currentframe == 1) {
_root.p1.gotoAndStop(2);
} else if (this._currentframe == 2) {
_root.p1.gotoAndStop(3);
} else if (this._currentframe == 3) {
_root.p1.gotoAndStop(4);
} else if (this._currentframe == 4) {
_root.p1.gotoAndStop(5);
}
} else if (_root.p2._currentframe == 1) {
if (this._currentframe == (_root.p1._currentframe - 1)) {
_root.p2.gotoAndStop(_root.p1._currentframe);
} else {
_root.p2.gotoAndStop(1);
_root.p1.gotoAndStop(this._currentframe + 1);
}
} else if (_root.p3._currentframe == 1) {
if (this._currentframe == (_root.p2._currentframe - 1)) {
_root.p3.gotoAndStop(_root.p2._currentframe);
} else {
_root.p1.gotoAndStop(this._currentframe + 1);
_root.p3.gotoAndStop(1);
_root.p2.gotoAndStop(1);
}
}
_root.max_pacmen++;
if (_root.max_combo < int(_root.lbl_multi)) {
_root.max_combo = _root.lbl_multi;
if (int(_root.max_combo >= 19)) {
_root.cr1.nextFrame();
_root.co_cra1 = "yes";
}
if (int(_root.max_combo >= 49)) {
_root.cr2.nextFrame();
_root.co_cra2 = "yes";
}
if (int(_root.max_combo >= 79)) {
_root.cr3.nextFrame();
_root.co_cra3 = "yes";
}
}
if (_root.max_pacmen >= 100) {
_root.pk1.nextFrame();
_root.killer1 = "yes";
}
if (_root.max_pacmen >= 300) {
_root.pk2.nextFrame();
_root.killer2 = "yes";
}
if (_root.max_pacmen >= 600) {
_root.pk3.nextFrame();
_root.killer3 = "yes";
}
_root.lbl_multi++;
if (int(_root.lbl_multi > 1)) {
_root.mc_mul.mcnt.ml = "x" + _root.lbl_multi;
_root.mc_mul._x = _root.ball._x + 15;
_root.mc_mul._y = _root.ball._y - 15;
_root.mc_mul.gotoAndPlay(2);
}
if (_root.end_game == "yes") {
_root.lbl_score = _root.lbl_score + (50 * int(_root.lbl_multi));
} else {
_root.lbl_score = _root.lbl_score + (10 * int(_root.lbl_multi));
}
if ((_root.pacmen_cnt > 0) && (this._currentframe == 3)) {
_root.pacmen_cnt--;
}
if (_root.expl_cnt > 5) {
_root.expl_cnt = 0;
}
_root.expl_cnt++;
_root.expl.duplicateMovieClip("expl" + _root.expl_cnt, _root.expl_cnt);
_root["expl" + _root.expl_cnt]._x = _x;
_root["expl" + _root.expl_cnt]._y = _y;
_root.ball.ysp = 13;
_root.ball.act = "jump";
xsp = 0;
if (this._currentframe == 1) {
_root["expl" + _root.expl_cnt].gotoAndStop(2);
this.gotoAndStop(5);
} else if (this._currentframe == 2) {
_root["expl" + _root.expl_cnt].gotoAndStop(3);
this.gotoAndStop(6);
} else if (this._currentframe == 3) {
_root["expl" + _root.expl_cnt].gotoAndStop(4);
this.gotoAndStop(7);
} else if (this._currentframe == 4) {
_root["expl" + _root.expl_cnt].gotoAndStop(5);
this.gotoAndStop(8);
}
}
}
Instance of Symbol 147 MovieClip "pac6" in Frame 13
onClipEvent (load) {
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
onClipEvent (enterFrame) {
_x = (_x + xsp);
if (_x > 480) {
_x = 80;
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
if (this.hit.hitTest(_root.hit) && (_root.ball.act == "fall")) {
if (_root.p1._currentframe == 1) {
if (this._currentframe == 1) {
_root.p1.gotoAndStop(2);
} else if (this._currentframe == 2) {
_root.p1.gotoAndStop(3);
} else if (this._currentframe == 3) {
_root.p1.gotoAndStop(4);
} else if (this._currentframe == 4) {
_root.p1.gotoAndStop(5);
}
} else if (_root.p2._currentframe == 1) {
if (this._currentframe == (_root.p1._currentframe - 1)) {
_root.p2.gotoAndStop(_root.p1._currentframe);
} else {
_root.p2.gotoAndStop(1);
_root.p1.gotoAndStop(this._currentframe + 1);
}
} else if (_root.p3._currentframe == 1) {
if (this._currentframe == (_root.p2._currentframe - 1)) {
_root.p3.gotoAndStop(_root.p2._currentframe);
} else {
_root.p1.gotoAndStop(this._currentframe + 1);
_root.p3.gotoAndStop(1);
_root.p2.gotoAndStop(1);
}
}
_root.max_pacmen++;
if (_root.max_combo < int(_root.lbl_multi)) {
_root.max_combo = _root.lbl_multi;
if (int(_root.max_combo >= 19)) {
_root.cr1.nextFrame();
_root.co_cra1 = "yes";
}
if (int(_root.max_combo >= 49)) {
_root.cr2.nextFrame();
_root.co_cra2 = "yes";
}
if (int(_root.max_combo >= 79)) {
_root.cr3.nextFrame();
_root.co_cra3 = "yes";
}
}
if (_root.max_pacmen >= 100) {
_root.pk1.nextFrame();
_root.killer1 = "yes";
}
if (_root.max_pacmen >= 300) {
_root.pk2.nextFrame();
_root.killer2 = "yes";
}
if (_root.max_pacmen >= 600) {
_root.pk3.nextFrame();
_root.killer3 = "yes";
}
_root.lbl_multi++;
if (int(_root.lbl_multi > 1)) {
_root.mc_mul.mcnt.ml = "x" + _root.lbl_multi;
_root.mc_mul._x = _root.ball._x + 15;
_root.mc_mul._y = _root.ball._y - 15;
_root.mc_mul.gotoAndPlay(2);
}
if (_root.end_game == "yes") {
_root.lbl_score = _root.lbl_score + (50 * int(_root.lbl_multi));
} else {
_root.lbl_score = _root.lbl_score + (10 * int(_root.lbl_multi));
}
if ((_root.pacmen_cnt > 0) && (this._currentframe == 3)) {
_root.pacmen_cnt--;
}
if (_root.expl_cnt > 5) {
_root.expl_cnt = 0;
}
_root.expl_cnt++;
_root.expl.duplicateMovieClip("expl" + _root.expl_cnt, _root.expl_cnt);
_root["expl" + _root.expl_cnt]._x = _x;
_root["expl" + _root.expl_cnt]._y = _y;
_root.ball.ysp = 13;
_root.ball.act = "jump";
xsp = 0;
if (this._currentframe == 1) {
_root["expl" + _root.expl_cnt].gotoAndStop(2);
this.gotoAndStop(5);
} else if (this._currentframe == 2) {
_root["expl" + _root.expl_cnt].gotoAndStop(3);
this.gotoAndStop(6);
} else if (this._currentframe == 3) {
_root["expl" + _root.expl_cnt].gotoAndStop(4);
this.gotoAndStop(7);
} else if (this._currentframe == 4) {
_root["expl" + _root.expl_cnt].gotoAndStop(5);
this.gotoAndStop(8);
}
}
}
Instance of Symbol 147 MovieClip "pac9" in Frame 13
onClipEvent (load) {
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
onClipEvent (enterFrame) {
_x = (_x + xsp);
if (_x > 480) {
_x = 80;
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
if (this.hit.hitTest(_root.hit) && (_root.ball.act == "fall")) {
if (_root.p1._currentframe == 1) {
if (this._currentframe == 1) {
_root.p1.gotoAndStop(2);
} else if (this._currentframe == 2) {
_root.p1.gotoAndStop(3);
} else if (this._currentframe == 3) {
_root.p1.gotoAndStop(4);
} else if (this._currentframe == 4) {
_root.p1.gotoAndStop(5);
}
} else if (_root.p2._currentframe == 1) {
if (this._currentframe == (_root.p1._currentframe - 1)) {
_root.p2.gotoAndStop(_root.p1._currentframe);
} else {
_root.p2.gotoAndStop(1);
_root.p1.gotoAndStop(this._currentframe + 1);
}
} else if (_root.p3._currentframe == 1) {
if (this._currentframe == (_root.p2._currentframe - 1)) {
_root.p3.gotoAndStop(_root.p2._currentframe);
} else {
_root.p1.gotoAndStop(this._currentframe + 1);
_root.p3.gotoAndStop(1);
_root.p2.gotoAndStop(1);
}
}
_root.max_pacmen++;
if (_root.max_combo < int(_root.lbl_multi)) {
_root.max_combo = _root.lbl_multi;
if (int(_root.max_combo >= 19)) {
_root.cr1.nextFrame();
_root.co_cra1 = "yes";
}
if (int(_root.max_combo >= 49)) {
_root.cr2.nextFrame();
_root.co_cra2 = "yes";
}
if (int(_root.max_combo >= 79)) {
_root.cr3.nextFrame();
_root.co_cra3 = "yes";
}
}
if (_root.max_pacmen >= 100) {
_root.pk1.nextFrame();
_root.killer1 = "yes";
}
if (_root.max_pacmen >= 300) {
_root.pk2.nextFrame();
_root.killer2 = "yes";
}
if (_root.max_pacmen >= 600) {
_root.pk3.nextFrame();
_root.killer3 = "yes";
}
_root.lbl_multi++;
if (int(_root.lbl_multi > 1)) {
_root.mc_mul.mcnt.ml = "x" + _root.lbl_multi;
_root.mc_mul._x = _root.ball._x + 15;
_root.mc_mul._y = _root.ball._y - 15;
_root.mc_mul.gotoAndPlay(2);
}
if (_root.end_game == "yes") {
_root.lbl_score = _root.lbl_score + (50 * int(_root.lbl_multi));
} else {
_root.lbl_score = _root.lbl_score + (10 * int(_root.lbl_multi));
}
if ((_root.pacmen_cnt > 0) && (this._currentframe == 3)) {
_root.pacmen_cnt--;
}
if (_root.expl_cnt > 5) {
_root.expl_cnt = 0;
}
_root.expl_cnt++;
_root.expl.duplicateMovieClip("expl" + _root.expl_cnt, _root.expl_cnt);
_root["expl" + _root.expl_cnt]._x = _x;
_root["expl" + _root.expl_cnt]._y = _y;
_root.ball.ysp = 13;
_root.ball.act = "jump";
xsp = 0;
if (this._currentframe == 1) {
_root["expl" + _root.expl_cnt].gotoAndStop(2);
this.gotoAndStop(5);
} else if (this._currentframe == 2) {
_root["expl" + _root.expl_cnt].gotoAndStop(3);
this.gotoAndStop(6);
} else if (this._currentframe == 3) {
_root["expl" + _root.expl_cnt].gotoAndStop(4);
this.gotoAndStop(7);
} else if (this._currentframe == 4) {
_root["expl" + _root.expl_cnt].gotoAndStop(5);
this.gotoAndStop(8);
}
}
}
Instance of Symbol 147 MovieClip "pac12" in Frame 13
onClipEvent (load) {
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
onClipEvent (enterFrame) {
_x = (_x + xsp);
if (_x > 480) {
_x = 80;
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
if (this.hit.hitTest(_root.hit) && (_root.ball.act == "fall")) {
if (_root.p1._currentframe == 1) {
if (this._currentframe == 1) {
_root.p1.gotoAndStop(2);
} else if (this._currentframe == 2) {
_root.p1.gotoAndStop(3);
} else if (this._currentframe == 3) {
_root.p1.gotoAndStop(4);
} else if (this._currentframe == 4) {
_root.p1.gotoAndStop(5);
}
} else if (_root.p2._currentframe == 1) {
if (this._currentframe == (_root.p1._currentframe - 1)) {
_root.p2.gotoAndStop(_root.p1._currentframe);
} else {
_root.p2.gotoAndStop(1);
_root.p1.gotoAndStop(this._currentframe + 1);
}
} else if (_root.p3._currentframe == 1) {
if (this._currentframe == (_root.p2._currentframe - 1)) {
_root.p3.gotoAndStop(_root.p2._currentframe);
} else {
_root.p1.gotoAndStop(this._currentframe + 1);
_root.p3.gotoAndStop(1);
_root.p2.gotoAndStop(1);
}
}
_root.max_pacmen++;
if (_root.max_combo < int(_root.lbl_multi)) {
_root.max_combo = _root.lbl_multi;
if (int(_root.max_combo >= 19)) {
_root.cr1.nextFrame();
_root.co_cra1 = "yes";
}
if (int(_root.max_combo >= 49)) {
_root.cr2.nextFrame();
_root.co_cra2 = "yes";
}
if (int(_root.max_combo >= 79)) {
_root.cr3.nextFrame();
_root.co_cra3 = "yes";
}
}
if (_root.max_pacmen >= 100) {
_root.pk1.nextFrame();
_root.killer1 = "yes";
}
if (_root.max_pacmen >= 300) {
_root.pk2.nextFrame();
_root.killer2 = "yes";
}
if (_root.max_pacmen >= 600) {
_root.pk3.nextFrame();
_root.killer3 = "yes";
}
_root.lbl_multi++;
if (int(_root.lbl_multi > 1)) {
_root.mc_mul.mcnt.ml = "x" + _root.lbl_multi;
_root.mc_mul._x = _root.ball._x + 15;
_root.mc_mul._y = _root.ball._y - 15;
_root.mc_mul.gotoAndPlay(2);
}
if (_root.end_game == "yes") {
_root.lbl_score = _root.lbl_score + (50 * int(_root.lbl_multi));
} else {
_root.lbl_score = _root.lbl_score + (10 * int(_root.lbl_multi));
}
if ((_root.pacmen_cnt > 0) && (this._currentframe == 3)) {
_root.pacmen_cnt--;
}
if (_root.expl_cnt > 5) {
_root.expl_cnt = 0;
}
_root.expl_cnt++;
_root.expl.duplicateMovieClip("expl" + _root.expl_cnt, _root.expl_cnt);
_root["expl" + _root.expl_cnt]._x = _x;
_root["expl" + _root.expl_cnt]._y = _y;
_root.ball.ysp = 13;
_root.ball.act = "jump";
xsp = 0;
if (this._currentframe == 1) {
_root["expl" + _root.expl_cnt].gotoAndStop(2);
this.gotoAndStop(5);
} else if (this._currentframe == 2) {
_root["expl" + _root.expl_cnt].gotoAndStop(3);
this.gotoAndStop(6);
} else if (this._currentframe == 3) {
_root["expl" + _root.expl_cnt].gotoAndStop(4);
this.gotoAndStop(7);
} else if (this._currentframe == 4) {
_root["expl" + _root.expl_cnt].gotoAndStop(5);
this.gotoAndStop(8);
}
}
}
Instance of Symbol 147 MovieClip "pac13" in Frame 13
onClipEvent (load) {
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
onClipEvent (enterFrame) {
_x = (_x + xsp);
if (_x > 480) {
_x = 80;
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
if (this.hit.hitTest(_root.hit) && (_root.ball.act == "fall")) {
if (_root.p1._currentframe == 1) {
if (this._currentframe == 1) {
_root.p1.gotoAndStop(2);
} else if (this._currentframe == 2) {
_root.p1.gotoAndStop(3);
} else if (this._currentframe == 3) {
_root.p1.gotoAndStop(4);
} else if (this._currentframe == 4) {
_root.p1.gotoAndStop(5);
}
} else if (_root.p2._currentframe == 1) {
if (this._currentframe == (_root.p1._currentframe - 1)) {
_root.p2.gotoAndStop(_root.p1._currentframe);
} else {
_root.p2.gotoAndStop(1);
_root.p1.gotoAndStop(this._currentframe + 1);
}
} else if (_root.p3._currentframe == 1) {
if (this._currentframe == (_root.p2._currentframe - 1)) {
_root.p3.gotoAndStop(_root.p2._currentframe);
} else {
_root.p1.gotoAndStop(this._currentframe + 1);
_root.p3.gotoAndStop(1);
_root.p2.gotoAndStop(1);
}
}
_root.max_pacmen++;
if (_root.max_combo < int(_root.lbl_multi)) {
_root.max_combo = _root.lbl_multi;
if (int(_root.max_combo >= 19)) {
_root.cr1.nextFrame();
_root.co_cra1 = "yes";
}
if (int(_root.max_combo >= 49)) {
_root.cr2.nextFrame();
_root.co_cra2 = "yes";
}
if (int(_root.max_combo >= 79)) {
_root.cr3.nextFrame();
_root.co_cra3 = "yes";
}
}
if (_root.max_pacmen >= 100) {
_root.pk1.nextFrame();
_root.killer1 = "yes";
}
if (_root.max_pacmen >= 300) {
_root.pk2.nextFrame();
_root.killer2 = "yes";
}
if (_root.max_pacmen >= 600) {
_root.pk3.nextFrame();
_root.killer3 = "yes";
}
_root.lbl_multi++;
if (int(_root.lbl_multi > 1)) {
_root.mc_mul.mcnt.ml = "x" + _root.lbl_multi;
_root.mc_mul._x = _root.ball._x + 15;
_root.mc_mul._y = _root.ball._y - 15;
_root.mc_mul.gotoAndPlay(2);
}
if (_root.end_game == "yes") {
_root.lbl_score = _root.lbl_score + (50 * int(_root.lbl_multi));
} else {
_root.lbl_score = _root.lbl_score + (10 * int(_root.lbl_multi));
}
if ((_root.pacmen_cnt > 0) && (this._currentframe == 3)) {
_root.pacmen_cnt--;
}
if (_root.expl_cnt > 5) {
_root.expl_cnt = 0;
}
_root.expl_cnt++;
_root.expl.duplicateMovieClip("expl" + _root.expl_cnt, _root.expl_cnt);
_root["expl" + _root.expl_cnt]._x = _x;
_root["expl" + _root.expl_cnt]._y = _y;
_root.ball.ysp = 13;
_root.ball.act = "jump";
xsp = 0;
if (this._currentframe == 1) {
_root["expl" + _root.expl_cnt].gotoAndStop(2);
this.gotoAndStop(5);
} else if (this._currentframe == 2) {
_root["expl" + _root.expl_cnt].gotoAndStop(3);
this.gotoAndStop(6);
} else if (this._currentframe == 3) {
_root["expl" + _root.expl_cnt].gotoAndStop(4);
this.gotoAndStop(7);
} else if (this._currentframe == 4) {
_root["expl" + _root.expl_cnt].gotoAndStop(5);
this.gotoAndStop(8);
}
}
}
Instance of Symbol 147 MovieClip "pac15" in Frame 13
onClipEvent (load) {
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
onClipEvent (enterFrame) {
_x = (_x + xsp);
if (_x > 480) {
_x = 80;
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
if (this.hit.hitTest(_root.hit) && (_root.ball.act == "fall")) {
if (_root.p1._currentframe == 1) {
if (this._currentframe == 1) {
_root.p1.gotoAndStop(2);
} else if (this._currentframe == 2) {
_root.p1.gotoAndStop(3);
} else if (this._currentframe == 3) {
_root.p1.gotoAndStop(4);
} else if (this._currentframe == 4) {
_root.p1.gotoAndStop(5);
}
} else if (_root.p2._currentframe == 1) {
if (this._currentframe == (_root.p1._currentframe - 1)) {
_root.p2.gotoAndStop(_root.p1._currentframe);
} else {
_root.p2.gotoAndStop(1);
_root.p1.gotoAndStop(this._currentframe + 1);
}
} else if (_root.p3._currentframe == 1) {
if (this._currentframe == (_root.p2._currentframe - 1)) {
_root.p3.gotoAndStop(_root.p2._currentframe);
} else {
_root.p1.gotoAndStop(this._currentframe + 1);
_root.p3.gotoAndStop(1);
_root.p2.gotoAndStop(1);
}
}
_root.max_pacmen++;
if (_root.max_combo < int(_root.lbl_multi)) {
_root.max_combo = _root.lbl_multi;
if (int(_root.max_combo >= 19)) {
_root.cr1.nextFrame();
_root.co_cra1 = "yes";
}
if (int(_root.max_combo >= 49)) {
_root.cr2.nextFrame();
_root.co_cra2 = "yes";
}
if (int(_root.max_combo >= 79)) {
_root.cr3.nextFrame();
_root.co_cra3 = "yes";
}
}
if (_root.max_pacmen >= 100) {
_root.pk1.nextFrame();
_root.killer1 = "yes";
}
if (_root.max_pacmen >= 300) {
_root.pk2.nextFrame();
_root.killer2 = "yes";
}
if (_root.max_pacmen >= 600) {
_root.pk3.nextFrame();
_root.killer3 = "yes";
}
_root.lbl_multi++;
if (int(_root.lbl_multi > 1)) {
_root.mc_mul.mcnt.ml = "x" + _root.lbl_multi;
_root.mc_mul._x = _root.ball._x + 15;
_root.mc_mul._y = _root.ball._y - 15;
_root.mc_mul.gotoAndPlay(2);
}
if (_root.end_game == "yes") {
_root.lbl_score = _root.lbl_score + (50 * int(_root.lbl_multi));
} else {
_root.lbl_score = _root.lbl_score + (10 * int(_root.lbl_multi));
}
if ((_root.pacmen_cnt > 0) && (this._currentframe == 3)) {
_root.pacmen_cnt--;
}
if (_root.expl_cnt > 5) {
_root.expl_cnt = 0;
}
_root.expl_cnt++;
_root.expl.duplicateMovieClip("expl" + _root.expl_cnt, _root.expl_cnt);
_root["expl" + _root.expl_cnt]._x = _x;
_root["expl" + _root.expl_cnt]._y = _y;
_root.ball.ysp = 13;
_root.ball.act = "jump";
xsp = 0;
if (this._currentframe == 1) {
_root["expl" + _root.expl_cnt].gotoAndStop(2);
this.gotoAndStop(5);
} else if (this._currentframe == 2) {
_root["expl" + _root.expl_cnt].gotoAndStop(3);
this.gotoAndStop(6);
} else if (this._currentframe == 3) {
_root["expl" + _root.expl_cnt].gotoAndStop(4);
this.gotoAndStop(7);
} else if (this._currentframe == 4) {
_root["expl" + _root.expl_cnt].gotoAndStop(5);
this.gotoAndStop(8);
}
}
}
Instance of Symbol 147 MovieClip "pac14" in Frame 13
onClipEvent (load) {
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
onClipEvent (enterFrame) {
_x = (_x + xsp);
if (_x > 480) {
_x = 80;
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
if (this.hit.hitTest(_root.hit) && (_root.ball.act == "fall")) {
if (_root.p1._currentframe == 1) {
if (this._currentframe == 1) {
_root.p1.gotoAndStop(2);
} else if (this._currentframe == 2) {
_root.p1.gotoAndStop(3);
} else if (this._currentframe == 3) {
_root.p1.gotoAndStop(4);
} else if (this._currentframe == 4) {
_root.p1.gotoAndStop(5);
}
} else if (_root.p2._currentframe == 1) {
if (this._currentframe == (_root.p1._currentframe - 1)) {
_root.p2.gotoAndStop(_root.p1._currentframe);
} else {
_root.p2.gotoAndStop(1);
_root.p1.gotoAndStop(this._currentframe + 1);
}
} else if (_root.p3._currentframe == 1) {
if (this._currentframe == (_root.p2._currentframe - 1)) {
_root.p3.gotoAndStop(_root.p2._currentframe);
} else {
_root.p1.gotoAndStop(this._currentframe + 1);
_root.p3.gotoAndStop(1);
_root.p2.gotoAndStop(1);
}
}
_root.max_pacmen++;
if (_root.max_combo < int(_root.lbl_multi)) {
_root.max_combo = _root.lbl_multi;
if (int(_root.max_combo >= 19)) {
_root.cr1.nextFrame();
_root.co_cra1 = "yes";
}
if (int(_root.max_combo >= 49)) {
_root.cr2.nextFrame();
_root.co_cra2 = "yes";
}
if (int(_root.max_combo >= 79)) {
_root.cr3.nextFrame();
_root.co_cra3 = "yes";
}
}
if (_root.max_pacmen >= 100) {
_root.pk1.nextFrame();
_root.killer1 = "yes";
}
if (_root.max_pacmen >= 300) {
_root.pk2.nextFrame();
_root.killer2 = "yes";
}
if (_root.max_pacmen >= 600) {
_root.pk3.nextFrame();
_root.killer3 = "yes";
}
_root.lbl_multi++;
if (int(_root.lbl_multi > 1)) {
_root.mc_mul.mcnt.ml = "x" + _root.lbl_multi;
_root.mc_mul._x = _root.ball._x + 15;
_root.mc_mul._y = _root.ball._y - 15;
_root.mc_mul.gotoAndPlay(2);
}
if (_root.end_game == "yes") {
_root.lbl_score = _root.lbl_score + (50 * int(_root.lbl_multi));
} else {
_root.lbl_score = _root.lbl_score + (10 * int(_root.lbl_multi));
}
if ((_root.pacmen_cnt > 0) && (this._currentframe == 3)) {
_root.pacmen_cnt--;
}
if (_root.expl_cnt > 5) {
_root.expl_cnt = 0;
}
_root.expl_cnt++;
_root.expl.duplicateMovieClip("expl" + _root.expl_cnt, _root.expl_cnt);
_root["expl" + _root.expl_cnt]._x = _x;
_root["expl" + _root.expl_cnt]._y = _y;
_root.ball.ysp = 13;
_root.ball.act = "jump";
xsp = 0;
if (this._currentframe == 1) {
_root["expl" + _root.expl_cnt].gotoAndStop(2);
this.gotoAndStop(5);
} else if (this._currentframe == 2) {
_root["expl" + _root.expl_cnt].gotoAndStop(3);
this.gotoAndStop(6);
} else if (this._currentframe == 3) {
_root["expl" + _root.expl_cnt].gotoAndStop(4);
this.gotoAndStop(7);
} else if (this._currentframe == 4) {
_root["expl" + _root.expl_cnt].gotoAndStop(5);
this.gotoAndStop(8);
}
}
}
Instance of Symbol 147 MovieClip "pac16" in Frame 13
onClipEvent (load) {
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
onClipEvent (enterFrame) {
_x = (_x + xsp);
if (_x > 480) {
_x = 80;
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
if (this.hit.hitTest(_root.hit) && (_root.ball.act == "fall")) {
if (_root.p1._currentframe == 1) {
if (this._currentframe == 1) {
_root.p1.gotoAndStop(2);
} else if (this._currentframe == 2) {
_root.p1.gotoAndStop(3);
} else if (this._currentframe == 3) {
_root.p1.gotoAndStop(4);
} else if (this._currentframe == 4) {
_root.p1.gotoAndStop(5);
}
} else if (_root.p2._currentframe == 1) {
if (this._currentframe == (_root.p1._currentframe - 1)) {
_root.p2.gotoAndStop(_root.p1._currentframe);
} else {
_root.p2.gotoAndStop(1);
_root.p1.gotoAndStop(this._currentframe + 1);
}
} else if (_root.p3._currentframe == 1) {
if (this._currentframe == (_root.p2._currentframe - 1)) {
_root.p3.gotoAndStop(_root.p2._currentframe);
} else {
_root.p1.gotoAndStop(this._currentframe + 1);
_root.p3.gotoAndStop(1);
_root.p2.gotoAndStop(1);
}
}
_root.max_pacmen++;
if (_root.max_combo < int(_root.lbl_multi)) {
_root.max_combo = _root.lbl_multi;
if (int(_root.max_combo >= 19)) {
_root.cr1.nextFrame();
_root.co_cra1 = "yes";
}
if (int(_root.max_combo >= 49)) {
_root.cr2.nextFrame();
_root.co_cra2 = "yes";
}
if (int(_root.max_combo >= 79)) {
_root.cr3.nextFrame();
_root.co_cra3 = "yes";
}
}
if (_root.max_pacmen >= 100) {
_root.pk1.nextFrame();
_root.killer1 = "yes";
}
if (_root.max_pacmen >= 300) {
_root.pk2.nextFrame();
_root.killer2 = "yes";
}
if (_root.max_pacmen >= 600) {
_root.pk3.nextFrame();
_root.killer3 = "yes";
}
_root.lbl_multi++;
if (int(_root.lbl_multi > 1)) {
_root.mc_mul.mcnt.ml = "x" + _root.lbl_multi;
_root.mc_mul._x = _root.ball._x + 15;
_root.mc_mul._y = _root.ball._y - 15;
_root.mc_mul.gotoAndPlay(2);
}
if (_root.end_game == "yes") {
_root.lbl_score = _root.lbl_score + (50 * int(_root.lbl_multi));
} else {
_root.lbl_score = _root.lbl_score + (10 * int(_root.lbl_multi));
}
if ((_root.pacmen_cnt > 0) && (this._currentframe == 3)) {
_root.pacmen_cnt--;
}
if (_root.expl_cnt > 5) {
_root.expl_cnt = 0;
}
_root.expl_cnt++;
_root.expl.duplicateMovieClip("expl" + _root.expl_cnt, _root.expl_cnt);
_root["expl" + _root.expl_cnt]._x = _x;
_root["expl" + _root.expl_cnt]._y = _y;
_root.ball.ysp = 13;
_root.ball.act = "jump";
xsp = 0;
if (this._currentframe == 1) {
_root["expl" + _root.expl_cnt].gotoAndStop(2);
this.gotoAndStop(5);
} else if (this._currentframe == 2) {
_root["expl" + _root.expl_cnt].gotoAndStop(3);
this.gotoAndStop(6);
} else if (this._currentframe == 3) {
_root["expl" + _root.expl_cnt].gotoAndStop(4);
this.gotoAndStop(7);
} else if (this._currentframe == 4) {
_root["expl" + _root.expl_cnt].gotoAndStop(5);
this.gotoAndStop(8);
}
}
}
Instance of Symbol 147 MovieClip "pac10" in Frame 13
onClipEvent (load) {
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
onClipEvent (enterFrame) {
_x = (_x + xsp);
if (_x > 480) {
_x = 80;
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
if (this.hit.hitTest(_root.hit) && (_root.ball.act == "fall")) {
if (_root.p1._currentframe == 1) {
if (this._currentframe == 1) {
_root.p1.gotoAndStop(2);
} else if (this._currentframe == 2) {
_root.p1.gotoAndStop(3);
} else if (this._currentframe == 3) {
_root.p1.gotoAndStop(4);
} else if (this._currentframe == 4) {
_root.p1.gotoAndStop(5);
}
} else if (_root.p2._currentframe == 1) {
if (this._currentframe == (_root.p1._currentframe - 1)) {
_root.p2.gotoAndStop(_root.p1._currentframe);
} else {
_root.p2.gotoAndStop(1);
_root.p1.gotoAndStop(this._currentframe + 1);
}
} else if (_root.p3._currentframe == 1) {
if (this._currentframe == (_root.p2._currentframe - 1)) {
_root.p3.gotoAndStop(_root.p2._currentframe);
} else {
_root.p1.gotoAndStop(this._currentframe + 1);
_root.p3.gotoAndStop(1);
_root.p2.gotoAndStop(1);
}
}
_root.max_pacmen++;
if (_root.max_combo < int(_root.lbl_multi)) {
_root.max_combo = _root.lbl_multi;
if (int(_root.max_combo >= 19)) {
_root.cr1.nextFrame();
_root.co_cra1 = "yes";
}
if (int(_root.max_combo >= 49)) {
_root.cr2.nextFrame();
_root.co_cra2 = "yes";
}
if (int(_root.max_combo >= 79)) {
_root.cr3.nextFrame();
_root.co_cra3 = "yes";
}
}
if (_root.max_pacmen >= 100) {
_root.pk1.nextFrame();
_root.killer1 = "yes";
}
if (_root.max_pacmen >= 300) {
_root.pk2.nextFrame();
_root.killer2 = "yes";
}
if (_root.max_pacmen >= 600) {
_root.pk3.nextFrame();
_root.killer3 = "yes";
}
_root.lbl_multi++;
if (int(_root.lbl_multi > 1)) {
_root.mc_mul.mcnt.ml = "x" + _root.lbl_multi;
_root.mc_mul._x = _root.ball._x + 15;
_root.mc_mul._y = _root.ball._y - 15;
_root.mc_mul.gotoAndPlay(2);
}
if (_root.end_game == "yes") {
_root.lbl_score = _root.lbl_score + (50 * int(_root.lbl_multi));
} else {
_root.lbl_score = _root.lbl_score + (10 * int(_root.lbl_multi));
}
if ((_root.pacmen_cnt > 0) && (this._currentframe == 3)) {
_root.pacmen_cnt--;
}
if (_root.expl_cnt > 5) {
_root.expl_cnt = 0;
}
_root.expl_cnt++;
_root.expl.duplicateMovieClip("expl" + _root.expl_cnt, _root.expl_cnt);
_root["expl" + _root.expl_cnt]._x = _x;
_root["expl" + _root.expl_cnt]._y = _y;
_root.ball.ysp = 13;
_root.ball.act = "jump";
xsp = 0;
if (this._currentframe == 1) {
_root["expl" + _root.expl_cnt].gotoAndStop(2);
this.gotoAndStop(5);
} else if (this._currentframe == 2) {
_root["expl" + _root.expl_cnt].gotoAndStop(3);
this.gotoAndStop(6);
} else if (this._currentframe == 3) {
_root["expl" + _root.expl_cnt].gotoAndStop(4);
this.gotoAndStop(7);
} else if (this._currentframe == 4) {
_root["expl" + _root.expl_cnt].gotoAndStop(5);
this.gotoAndStop(8);
}
}
}
Instance of Symbol 147 MovieClip "pac8" in Frame 13
onClipEvent (load) {
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
onClipEvent (enterFrame) {
_x = (_x + xsp);
if (_x > 480) {
_x = 80;
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
if (this.hit.hitTest(_root.hit) && (_root.ball.act == "fall")) {
if (_root.p1._currentframe == 1) {
if (this._currentframe == 1) {
_root.p1.gotoAndStop(2);
} else if (this._currentframe == 2) {
_root.p1.gotoAndStop(3);
} else if (this._currentframe == 3) {
_root.p1.gotoAndStop(4);
} else if (this._currentframe == 4) {
_root.p1.gotoAndStop(5);
}
} else if (_root.p2._currentframe == 1) {
if (this._currentframe == (_root.p1._currentframe - 1)) {
_root.p2.gotoAndStop(_root.p1._currentframe);
} else {
_root.p2.gotoAndStop(1);
_root.p1.gotoAndStop(this._currentframe + 1);
}
} else if (_root.p3._currentframe == 1) {
if (this._currentframe == (_root.p2._currentframe - 1)) {
_root.p3.gotoAndStop(_root.p2._currentframe);
} else {
_root.p1.gotoAndStop(this._currentframe + 1);
_root.p3.gotoAndStop(1);
_root.p2.gotoAndStop(1);
}
}
_root.max_pacmen++;
if (_root.max_combo < int(_root.lbl_multi)) {
_root.max_combo = _root.lbl_multi;
if (int(_root.max_combo >= 19)) {
_root.cr1.nextFrame();
_root.co_cra1 = "yes";
}
if (int(_root.max_combo >= 49)) {
_root.cr2.nextFrame();
_root.co_cra2 = "yes";
}
if (int(_root.max_combo >= 79)) {
_root.cr3.nextFrame();
_root.co_cra3 = "yes";
}
}
if (_root.max_pacmen >= 100) {
_root.pk1.nextFrame();
_root.killer1 = "yes";
}
if (_root.max_pacmen >= 300) {
_root.pk2.nextFrame();
_root.killer2 = "yes";
}
if (_root.max_pacmen >= 600) {
_root.pk3.nextFrame();
_root.killer3 = "yes";
}
_root.lbl_multi++;
if (int(_root.lbl_multi > 1)) {
_root.mc_mul.mcnt.ml = "x" + _root.lbl_multi;
_root.mc_mul._x = _root.ball._x + 15;
_root.mc_mul._y = _root.ball._y - 15;
_root.mc_mul.gotoAndPlay(2);
}
if (_root.end_game == "yes") {
_root.lbl_score = _root.lbl_score + (50 * int(_root.lbl_multi));
} else {
_root.lbl_score = _root.lbl_score + (10 * int(_root.lbl_multi));
}
if ((_root.pacmen_cnt > 0) && (this._currentframe == 3)) {
_root.pacmen_cnt--;
}
if (_root.expl_cnt > 5) {
_root.expl_cnt = 0;
}
_root.expl_cnt++;
_root.expl.duplicateMovieClip("expl" + _root.expl_cnt, _root.expl_cnt);
_root["expl" + _root.expl_cnt]._x = _x;
_root["expl" + _root.expl_cnt]._y = _y;
_root.ball.ysp = 13;
_root.ball.act = "jump";
xsp = 0;
if (this._currentframe == 1) {
_root["expl" + _root.expl_cnt].gotoAndStop(2);
this.gotoAndStop(5);
} else if (this._currentframe == 2) {
_root["expl" + _root.expl_cnt].gotoAndStop(3);
this.gotoAndStop(6);
} else if (this._currentframe == 3) {
_root["expl" + _root.expl_cnt].gotoAndStop(4);
this.gotoAndStop(7);
} else if (this._currentframe == 4) {
_root["expl" + _root.expl_cnt].gotoAndStop(5);
this.gotoAndStop(8);
}
}
}
Instance of Symbol 147 MovieClip "pac7" in Frame 13
onClipEvent (load) {
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
onClipEvent (enterFrame) {
_x = (_x + xsp);
if (_x > 480) {
_x = 80;
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
if (this.hit.hitTest(_root.hit) && (_root.ball.act == "fall")) {
if (_root.p1._currentframe == 1) {
if (this._currentframe == 1) {
_root.p1.gotoAndStop(2);
} else if (this._currentframe == 2) {
_root.p1.gotoAndStop(3);
} else if (this._currentframe == 3) {
_root.p1.gotoAndStop(4);
} else if (this._currentframe == 4) {
_root.p1.gotoAndStop(5);
}
} else if (_root.p2._currentframe == 1) {
if (this._currentframe == (_root.p1._currentframe - 1)) {
_root.p2.gotoAndStop(_root.p1._currentframe);
} else {
_root.p2.gotoAndStop(1);
_root.p1.gotoAndStop(this._currentframe + 1);
}
} else if (_root.p3._currentframe == 1) {
if (this._currentframe == (_root.p2._currentframe - 1)) {
_root.p3.gotoAndStop(_root.p2._currentframe);
} else {
_root.p1.gotoAndStop(this._currentframe + 1);
_root.p3.gotoAndStop(1);
_root.p2.gotoAndStop(1);
}
}
_root.max_pacmen++;
if (_root.max_combo < int(_root.lbl_multi)) {
_root.max_combo = _root.lbl_multi;
if (int(_root.max_combo >= 19)) {
_root.cr1.nextFrame();
_root.co_cra1 = "yes";
}
if (int(_root.max_combo >= 49)) {
_root.cr2.nextFrame();
_root.co_cra2 = "yes";
}
if (int(_root.max_combo >= 79)) {
_root.cr3.nextFrame();
_root.co_cra3 = "yes";
}
}
if (_root.max_pacmen >= 100) {
_root.pk1.nextFrame();
_root.killer1 = "yes";
}
if (_root.max_pacmen >= 300) {
_root.pk2.nextFrame();
_root.killer2 = "yes";
}
if (_root.max_pacmen >= 600) {
_root.pk3.nextFrame();
_root.killer3 = "yes";
}
_root.lbl_multi++;
if (int(_root.lbl_multi > 1)) {
_root.mc_mul.mcnt.ml = "x" + _root.lbl_multi;
_root.mc_mul._x = _root.ball._x + 15;
_root.mc_mul._y = _root.ball._y - 15;
_root.mc_mul.gotoAndPlay(2);
}
if (_root.end_game == "yes") {
_root.lbl_score = _root.lbl_score + (50 * int(_root.lbl_multi));
} else {
_root.lbl_score = _root.lbl_score + (10 * int(_root.lbl_multi));
}
if ((_root.pacmen_cnt > 0) && (this._currentframe == 3)) {
_root.pacmen_cnt--;
}
if (_root.expl_cnt > 5) {
_root.expl_cnt = 0;
}
_root.expl_cnt++;
_root.expl.duplicateMovieClip("expl" + _root.expl_cnt, _root.expl_cnt);
_root["expl" + _root.expl_cnt]._x = _x;
_root["expl" + _root.expl_cnt]._y = _y;
_root.ball.ysp = 13;
_root.ball.act = "jump";
xsp = 0;
if (this._currentframe == 1) {
_root["expl" + _root.expl_cnt].gotoAndStop(2);
this.gotoAndStop(5);
} else if (this._currentframe == 2) {
_root["expl" + _root.expl_cnt].gotoAndStop(3);
this.gotoAndStop(6);
} else if (this._currentframe == 3) {
_root["expl" + _root.expl_cnt].gotoAndStop(4);
this.gotoAndStop(7);
} else if (this._currentframe == 4) {
_root["expl" + _root.expl_cnt].gotoAndStop(5);
this.gotoAndStop(8);
}
}
}
Instance of Symbol 147 MovieClip "pac5" in Frame 13
onClipEvent (load) {
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
onClipEvent (enterFrame) {
_x = (_x + xsp);
if (_x > 480) {
_x = 80;
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
if (this.hit.hitTest(_root.hit) && (_root.ball.act == "fall")) {
if (_root.p1._currentframe == 1) {
if (this._currentframe == 1) {
_root.p1.gotoAndStop(2);
} else if (this._currentframe == 2) {
_root.p1.gotoAndStop(3);
} else if (this._currentframe == 3) {
_root.p1.gotoAndStop(4);
} else if (this._currentframe == 4) {
_root.p1.gotoAndStop(5);
}
} else if (_root.p2._currentframe == 1) {
if (this._currentframe == (_root.p1._currentframe - 1)) {
_root.p2.gotoAndStop(_root.p1._currentframe);
} else {
_root.p2.gotoAndStop(1);
_root.p1.gotoAndStop(this._currentframe + 1);
}
} else if (_root.p3._currentframe == 1) {
if (this._currentframe == (_root.p2._currentframe - 1)) {
_root.p3.gotoAndStop(_root.p2._currentframe);
} else {
_root.p1.gotoAndStop(this._currentframe + 1);
_root.p3.gotoAndStop(1);
_root.p2.gotoAndStop(1);
}
}
_root.max_pacmen++;
if (_root.max_combo < int(_root.lbl_multi)) {
_root.max_combo = _root.lbl_multi;
if (int(_root.max_combo >= 19)) {
_root.cr1.nextFrame();
_root.co_cra1 = "yes";
}
if (int(_root.max_combo >= 49)) {
_root.cr2.nextFrame();
_root.co_cra2 = "yes";
}
if (int(_root.max_combo >= 79)) {
_root.cr3.nextFrame();
_root.co_cra3 = "yes";
}
}
if (_root.max_pacmen >= 100) {
_root.pk1.nextFrame();
_root.killer1 = "yes";
}
if (_root.max_pacmen >= 300) {
_root.pk2.nextFrame();
_root.killer2 = "yes";
}
if (_root.max_pacmen >= 600) {
_root.pk3.nextFrame();
_root.killer3 = "yes";
}
_root.lbl_multi++;
if (int(_root.lbl_multi > 1)) {
_root.mc_mul.mcnt.ml = "x" + _root.lbl_multi;
_root.mc_mul._x = _root.ball._x + 15;
_root.mc_mul._y = _root.ball._y - 15;
_root.mc_mul.gotoAndPlay(2);
}
if (_root.end_game == "yes") {
_root.lbl_score = _root.lbl_score + (50 * int(_root.lbl_multi));
} else {
_root.lbl_score = _root.lbl_score + (10 * int(_root.lbl_multi));
}
if ((_root.pacmen_cnt > 0) && (this._currentframe == 3)) {
_root.pacmen_cnt--;
}
if (_root.expl_cnt > 5) {
_root.expl_cnt = 0;
}
_root.expl_cnt++;
_root.expl.duplicateMovieClip("expl" + _root.expl_cnt, _root.expl_cnt);
_root["expl" + _root.expl_cnt]._x = _x;
_root["expl" + _root.expl_cnt]._y = _y;
_root.ball.ysp = 13;
_root.ball.act = "jump";
xsp = 0;
if (this._currentframe == 1) {
_root["expl" + _root.expl_cnt].gotoAndStop(2);
this.gotoAndStop(5);
} else if (this._currentframe == 2) {
_root["expl" + _root.expl_cnt].gotoAndStop(3);
this.gotoAndStop(6);
} else if (this._currentframe == 3) {
_root["expl" + _root.expl_cnt].gotoAndStop(4);
this.gotoAndStop(7);
} else if (this._currentframe == 4) {
_root["expl" + _root.expl_cnt].gotoAndStop(5);
this.gotoAndStop(8);
}
}
}
Instance of Symbol 147 MovieClip "pac3" in Frame 13
onClipEvent (load) {
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
onClipEvent (enterFrame) {
_x = (_x + xsp);
if (_x > 480) {
_x = 80;
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
if (this.hit.hitTest(_root.hit) && (_root.ball.act == "fall")) {
if (_root.p1._currentframe == 1) {
if (this._currentframe == 1) {
_root.p1.gotoAndStop(2);
} else if (this._currentframe == 2) {
_root.p1.gotoAndStop(3);
} else if (this._currentframe == 3) {
_root.p1.gotoAndStop(4);
} else if (this._currentframe == 4) {
_root.p1.gotoAndStop(5);
}
} else if (_root.p2._currentframe == 1) {
if (this._currentframe == (_root.p1._currentframe - 1)) {
_root.p2.gotoAndStop(_root.p1._currentframe);
} else {
_root.p2.gotoAndStop(1);
_root.p1.gotoAndStop(this._currentframe + 1);
}
} else if (_root.p3._currentframe == 1) {
if (this._currentframe == (_root.p2._currentframe - 1)) {
_root.p3.gotoAndStop(_root.p2._currentframe);
} else {
_root.p1.gotoAndStop(this._currentframe + 1);
_root.p3.gotoAndStop(1);
_root.p2.gotoAndStop(1);
}
}
_root.max_pacmen++;
if (_root.max_combo < int(_root.lbl_multi)) {
_root.max_combo = _root.lbl_multi;
if (int(_root.max_combo >= 19)) {
_root.cr1.nextFrame();
_root.co_cra1 = "yes";
}
if (int(_root.max_combo >= 49)) {
_root.cr2.nextFrame();
_root.co_cra2 = "yes";
}
if (int(_root.max_combo >= 79)) {
_root.cr3.nextFrame();
_root.co_cra3 = "yes";
}
}
if (_root.max_pacmen >= 100) {
_root.pk1.nextFrame();
_root.killer1 = "yes";
}
if (_root.max_pacmen >= 300) {
_root.pk2.nextFrame();
_root.killer2 = "yes";
}
if (_root.max_pacmen >= 600) {
_root.pk3.nextFrame();
_root.killer3 = "yes";
}
_root.lbl_multi++;
if (int(_root.lbl_multi > 1)) {
_root.mc_mul.mcnt.ml = "x" + _root.lbl_multi;
_root.mc_mul._x = _root.ball._x + 15;
_root.mc_mul._y = _root.ball._y - 15;
_root.mc_mul.gotoAndPlay(2);
}
if (_root.end_game == "yes") {
_root.lbl_score = _root.lbl_score + (50 * int(_root.lbl_multi));
} else {
_root.lbl_score = _root.lbl_score + (10 * int(_root.lbl_multi));
}
if ((_root.pacmen_cnt > 0) && (this._currentframe == 3)) {
_root.pacmen_cnt--;
}
if (_root.expl_cnt > 5) {
_root.expl_cnt = 0;
}
_root.expl_cnt++;
_root.expl.duplicateMovieClip("expl" + _root.expl_cnt, _root.expl_cnt);
_root["expl" + _root.expl_cnt]._x = _x;
_root["expl" + _root.expl_cnt]._y = _y;
_root.ball.ysp = 13;
_root.ball.act = "jump";
xsp = 0;
if (this._currentframe == 1) {
_root["expl" + _root.expl_cnt].gotoAndStop(2);
this.gotoAndStop(5);
} else if (this._currentframe == 2) {
_root["expl" + _root.expl_cnt].gotoAndStop(3);
this.gotoAndStop(6);
} else if (this._currentframe == 3) {
_root["expl" + _root.expl_cnt].gotoAndStop(4);
this.gotoAndStop(7);
} else if (this._currentframe == 4) {
_root["expl" + _root.expl_cnt].gotoAndStop(5);
this.gotoAndStop(8);
}
}
}
Instance of Symbol 147 MovieClip "pac11" in Frame 13
onClipEvent (load) {
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
onClipEvent (enterFrame) {
_x = (_x + xsp);
if (_x > 480) {
_x = 80;
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
if (this.hit.hitTest(_root.hit) && (_root.ball.act == "fall")) {
if (_root.p1._currentframe == 1) {
if (this._currentframe == 1) {
_root.p1.gotoAndStop(2);
} else if (this._currentframe == 2) {
_root.p1.gotoAndStop(3);
} else if (this._currentframe == 3) {
_root.p1.gotoAndStop(4);
} else if (this._currentframe == 4) {
_root.p1.gotoAndStop(5);
}
} else if (_root.p2._currentframe == 1) {
if (this._currentframe == (_root.p1._currentframe - 1)) {
_root.p2.gotoAndStop(_root.p1._currentframe);
} else {
_root.p2.gotoAndStop(1);
_root.p1.gotoAndStop(this._currentframe + 1);
}
} else if (_root.p3._currentframe == 1) {
if (this._currentframe == (_root.p2._currentframe - 1)) {
_root.p3.gotoAndStop(_root.p2._currentframe);
} else {
_root.p1.gotoAndStop(this._currentframe + 1);
_root.p3.gotoAndStop(1);
_root.p2.gotoAndStop(1);
}
}
_root.max_pacmen++;
if (_root.max_combo < int(_root.lbl_multi)) {
_root.max_combo = _root.lbl_multi;
if (int(_root.max_combo >= 19)) {
_root.cr1.nextFrame();
_root.co_cra1 = "yes";
}
if (int(_root.max_combo >= 49)) {
_root.cr2.nextFrame();
_root.co_cra2 = "yes";
}
if (int(_root.max_combo >= 79)) {
_root.cr3.nextFrame();
_root.co_cra3 = "yes";
}
}
if (_root.max_pacmen >= 100) {
_root.pk1.nextFrame();
_root.killer1 = "yes";
}
if (_root.max_pacmen >= 300) {
_root.pk2.nextFrame();
_root.killer2 = "yes";
}
if (_root.max_pacmen >= 600) {
_root.pk3.nextFrame();
_root.killer3 = "yes";
}
_root.lbl_multi++;
if (int(_root.lbl_multi > 1)) {
_root.mc_mul.mcnt.ml = "x" + _root.lbl_multi;
_root.mc_mul._x = _root.ball._x + 15;
_root.mc_mul._y = _root.ball._y - 15;
_root.mc_mul.gotoAndPlay(2);
}
if (_root.end_game == "yes") {
_root.lbl_score = _root.lbl_score + (50 * int(_root.lbl_multi));
} else {
_root.lbl_score = _root.lbl_score + (10 * int(_root.lbl_multi));
}
if ((_root.pacmen_cnt > 0) && (this._currentframe == 3)) {
_root.pacmen_cnt--;
}
if (_root.expl_cnt > 5) {
_root.expl_cnt = 0;
}
_root.expl_cnt++;
_root.expl.duplicateMovieClip("expl" + _root.expl_cnt, _root.expl_cnt);
_root["expl" + _root.expl_cnt]._x = _x;
_root["expl" + _root.expl_cnt]._y = _y;
_root.ball.ysp = 13;
_root.ball.act = "jump";
xsp = 0;
if (this._currentframe == 1) {
_root["expl" + _root.expl_cnt].gotoAndStop(2);
this.gotoAndStop(5);
} else if (this._currentframe == 2) {
_root["expl" + _root.expl_cnt].gotoAndStop(3);
this.gotoAndStop(6);
} else if (this._currentframe == 3) {
_root["expl" + _root.expl_cnt].gotoAndStop(4);
this.gotoAndStop(7);
} else if (this._currentframe == 4) {
_root["expl" + _root.expl_cnt].gotoAndStop(5);
this.gotoAndStop(8);
}
}
}
Instance of Symbol 147 MovieClip "pac17" in Frame 13
onClipEvent (load) {
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
onClipEvent (enterFrame) {
_x = (_x + xsp);
if (_x > 480) {
_x = 80;
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
if (this.hit.hitTest(_root.hit) && (_root.ball.act == "fall")) {
if (_root.p1._currentframe == 1) {
if (this._currentframe == 1) {
_root.p1.gotoAndStop(2);
} else if (this._currentframe == 2) {
_root.p1.gotoAndStop(3);
} else if (this._currentframe == 3) {
_root.p1.gotoAndStop(4);
} else if (this._currentframe == 4) {
_root.p1.gotoAndStop(5);
}
} else if (_root.p2._currentframe == 1) {
if (this._currentframe == (_root.p1._currentframe - 1)) {
_root.p2.gotoAndStop(_root.p1._currentframe);
} else {
_root.p2.gotoAndStop(1);
_root.p1.gotoAndStop(this._currentframe + 1);
}
} else if (_root.p3._currentframe == 1) {
if (this._currentframe == (_root.p2._currentframe - 1)) {
_root.p3.gotoAndStop(_root.p2._currentframe);
} else {
_root.p1.gotoAndStop(this._currentframe + 1);
_root.p3.gotoAndStop(1);
_root.p2.gotoAndStop(1);
}
}
_root.max_pacmen++;
if (_root.max_combo < int(_root.lbl_multi)) {
_root.max_combo = _root.lbl_multi;
if (int(_root.max_combo >= 19)) {
_root.cr1.nextFrame();
_root.co_cra1 = "yes";
}
if (int(_root.max_combo >= 49)) {
_root.cr2.nextFrame();
_root.co_cra2 = "yes";
}
if (int(_root.max_combo >= 79)) {
_root.cr3.nextFrame();
_root.co_cra3 = "yes";
}
}
if (_root.max_pacmen >= 100) {
_root.pk1.nextFrame();
_root.killer1 = "yes";
}
if (_root.max_pacmen >= 300) {
_root.pk2.nextFrame();
_root.killer2 = "yes";
}
if (_root.max_pacmen >= 600) {
_root.pk3.nextFrame();
_root.killer3 = "yes";
}
_root.lbl_multi++;
if (int(_root.lbl_multi > 1)) {
_root.mc_mul.mcnt.ml = "x" + _root.lbl_multi;
_root.mc_mul._x = _root.ball._x + 15;
_root.mc_mul._y = _root.ball._y - 15;
_root.mc_mul.gotoAndPlay(2);
}
if (_root.end_game == "yes") {
_root.lbl_score = _root.lbl_score + (50 * int(_root.lbl_multi));
} else {
_root.lbl_score = _root.lbl_score + (10 * int(_root.lbl_multi));
}
if ((_root.pacmen_cnt > 0) && (this._currentframe == 3)) {
_root.pacmen_cnt--;
}
if (_root.expl_cnt > 5) {
_root.expl_cnt = 0;
}
_root.expl_cnt++;
_root.expl.duplicateMovieClip("expl" + _root.expl_cnt, _root.expl_cnt);
_root["expl" + _root.expl_cnt]._x = _x;
_root["expl" + _root.expl_cnt]._y = _y;
_root.ball.ysp = 13;
_root.ball.act = "jump";
xsp = 0;
if (this._currentframe == 1) {
_root["expl" + _root.expl_cnt].gotoAndStop(2);
this.gotoAndStop(5);
} else if (this._currentframe == 2) {
_root["expl" + _root.expl_cnt].gotoAndStop(3);
this.gotoAndStop(6);
} else if (this._currentframe == 3) {
_root["expl" + _root.expl_cnt].gotoAndStop(4);
this.gotoAndStop(7);
} else if (this._currentframe == 4) {
_root["expl" + _root.expl_cnt].gotoAndStop(5);
this.gotoAndStop(8);
}
}
}
Instance of Symbol 147 MovieClip "pac18" in Frame 13
onClipEvent (load) {
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
onClipEvent (enterFrame) {
_x = (_x + xsp);
if (_x > 480) {
_x = 80;
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
if (this.hit.hitTest(_root.hit) && (_root.ball.act == "fall")) {
if (_root.p1._currentframe == 1) {
if (this._currentframe == 1) {
_root.p1.gotoAndStop(2);
} else if (this._currentframe == 2) {
_root.p1.gotoAndStop(3);
} else if (this._currentframe == 3) {
_root.p1.gotoAndStop(4);
} else if (this._currentframe == 4) {
_root.p1.gotoAndStop(5);
}
} else if (_root.p2._currentframe == 1) {
if (this._currentframe == (_root.p1._currentframe - 1)) {
_root.p2.gotoAndStop(_root.p1._currentframe);
} else {
_root.p2.gotoAndStop(1);
_root.p1.gotoAndStop(this._currentframe + 1);
}
} else if (_root.p3._currentframe == 1) {
if (this._currentframe == (_root.p2._currentframe - 1)) {
_root.p3.gotoAndStop(_root.p2._currentframe);
} else {
_root.p1.gotoAndStop(this._currentframe + 1);
_root.p3.gotoAndStop(1);
_root.p2.gotoAndStop(1);
}
}
_root.max_pacmen++;
if (_root.max_combo < int(_root.lbl_multi)) {
_root.max_combo = _root.lbl_multi;
if (int(_root.max_combo >= 19)) {
_root.cr1.nextFrame();
_root.co_cra1 = "yes";
}
if (int(_root.max_combo >= 49)) {
_root.cr2.nextFrame();
_root.co_cra2 = "yes";
}
if (int(_root.max_combo >= 79)) {
_root.cr3.nextFrame();
_root.co_cra3 = "yes";
}
}
if (_root.max_pacmen >= 100) {
_root.pk1.nextFrame();
_root.killer1 = "yes";
}
if (_root.max_pacmen >= 300) {
_root.pk2.nextFrame();
_root.killer2 = "yes";
}
if (_root.max_pacmen >= 600) {
_root.pk3.nextFrame();
_root.killer3 = "yes";
}
_root.lbl_multi++;
if (int(_root.lbl_multi > 1)) {
_root.mc_mul.mcnt.ml = "x" + _root.lbl_multi;
_root.mc_mul._x = _root.ball._x + 15;
_root.mc_mul._y = _root.ball._y - 15;
_root.mc_mul.gotoAndPlay(2);
}
if (_root.end_game == "yes") {
_root.lbl_score = _root.lbl_score + (50 * int(_root.lbl_multi));
} else {
_root.lbl_score = _root.lbl_score + (10 * int(_root.lbl_multi));
}
if ((_root.pacmen_cnt > 0) && (this._currentframe == 3)) {
_root.pacmen_cnt--;
}
if (_root.expl_cnt > 5) {
_root.expl_cnt = 0;
}
_root.expl_cnt++;
_root.expl.duplicateMovieClip("expl" + _root.expl_cnt, _root.expl_cnt);
_root["expl" + _root.expl_cnt]._x = _x;
_root["expl" + _root.expl_cnt]._y = _y;
_root.ball.ysp = 13;
_root.ball.act = "jump";
xsp = 0;
if (this._currentframe == 1) {
_root["expl" + _root.expl_cnt].gotoAndStop(2);
this.gotoAndStop(5);
} else if (this._currentframe == 2) {
_root["expl" + _root.expl_cnt].gotoAndStop(3);
this.gotoAndStop(6);
} else if (this._currentframe == 3) {
_root["expl" + _root.expl_cnt].gotoAndStop(4);
this.gotoAndStop(7);
} else if (this._currentframe == 4) {
_root["expl" + _root.expl_cnt].gotoAndStop(5);
this.gotoAndStop(8);
}
}
}
Instance of Symbol 147 MovieClip "pac19" in Frame 13
onClipEvent (load) {
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
onClipEvent (enterFrame) {
_x = (_x + xsp);
if (_x > 480) {
_x = 80;
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
if (this.hit.hitTest(_root.hit) && (_root.ball.act == "fall")) {
if (_root.p1._currentframe == 1) {
if (this._currentframe == 1) {
_root.p1.gotoAndStop(2);
} else if (this._currentframe == 2) {
_root.p1.gotoAndStop(3);
} else if (this._currentframe == 3) {
_root.p1.gotoAndStop(4);
} else if (this._currentframe == 4) {
_root.p1.gotoAndStop(5);
}
} else if (_root.p2._currentframe == 1) {
if (this._currentframe == (_root.p1._currentframe - 1)) {
_root.p2.gotoAndStop(_root.p1._currentframe);
} else {
_root.p2.gotoAndStop(1);
_root.p1.gotoAndStop(this._currentframe + 1);
}
} else if (_root.p3._currentframe == 1) {
if (this._currentframe == (_root.p2._currentframe - 1)) {
_root.p3.gotoAndStop(_root.p2._currentframe);
} else {
_root.p1.gotoAndStop(this._currentframe + 1);
_root.p3.gotoAndStop(1);
_root.p2.gotoAndStop(1);
}
}
_root.max_pacmen++;
if (_root.max_combo < int(_root.lbl_multi)) {
_root.max_combo = _root.lbl_multi;
if (int(_root.max_combo >= 19)) {
_root.cr1.nextFrame();
_root.co_cra1 = "yes";
}
if (int(_root.max_combo >= 49)) {
_root.cr2.nextFrame();
_root.co_cra2 = "yes";
}
if (int(_root.max_combo >= 79)) {
_root.cr3.nextFrame();
_root.co_cra3 = "yes";
}
}
if (_root.max_pacmen >= 100) {
_root.pk1.nextFrame();
_root.killer1 = "yes";
}
if (_root.max_pacmen >= 300) {
_root.pk2.nextFrame();
_root.killer2 = "yes";
}
if (_root.max_pacmen >= 600) {
_root.pk3.nextFrame();
_root.killer3 = "yes";
}
_root.lbl_multi++;
if (int(_root.lbl_multi > 1)) {
_root.mc_mul.mcnt.ml = "x" + _root.lbl_multi;
_root.mc_mul._x = _root.ball._x + 15;
_root.mc_mul._y = _root.ball._y - 15;
_root.mc_mul.gotoAndPlay(2);
}
if (_root.end_game == "yes") {
_root.lbl_score = _root.lbl_score + (50 * int(_root.lbl_multi));
} else {
_root.lbl_score = _root.lbl_score + (10 * int(_root.lbl_multi));
}
if ((_root.pacmen_cnt > 0) && (this._currentframe == 3)) {
_root.pacmen_cnt--;
}
if (_root.expl_cnt > 5) {
_root.expl_cnt = 0;
}
_root.expl_cnt++;
_root.expl.duplicateMovieClip("expl" + _root.expl_cnt, _root.expl_cnt);
_root["expl" + _root.expl_cnt]._x = _x;
_root["expl" + _root.expl_cnt]._y = _y;
_root.ball.ysp = 13;
_root.ball.act = "jump";
xsp = 0;
if (this._currentframe == 1) {
_root["expl" + _root.expl_cnt].gotoAndStop(2);
this.gotoAndStop(5);
} else if (this._currentframe == 2) {
_root["expl" + _root.expl_cnt].gotoAndStop(3);
this.gotoAndStop(6);
} else if (this._currentframe == 3) {
_root["expl" + _root.expl_cnt].gotoAndStop(4);
this.gotoAndStop(7);
} else if (this._currentframe == 4) {
_root["expl" + _root.expl_cnt].gotoAndStop(5);
this.gotoAndStop(8);
}
}
}
Instance of Symbol 147 MovieClip "pac20" in Frame 13
onClipEvent (load) {
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
onClipEvent (enterFrame) {
_x = (_x + xsp);
if (_x > 480) {
_x = 80;
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
if (this.hit.hitTest(_root.hit) && (_root.ball.act == "fall")) {
if (_root.p1._currentframe == 1) {
if (this._currentframe == 1) {
_root.p1.gotoAndStop(2);
} else if (this._currentframe == 2) {
_root.p1.gotoAndStop(3);
} else if (this._currentframe == 3) {
_root.p1.gotoAndStop(4);
} else if (this._currentframe == 4) {
_root.p1.gotoAndStop(5);
}
} else if (_root.p2._currentframe == 1) {
if (this._currentframe == (_root.p1._currentframe - 1)) {
_root.p2.gotoAndStop(_root.p1._currentframe);
} else {
_root.p2.gotoAndStop(1);
_root.p1.gotoAndStop(this._currentframe + 1);
}
} else if (_root.p3._currentframe == 1) {
if (this._currentframe == (_root.p2._currentframe - 1)) {
_root.p3.gotoAndStop(_root.p2._currentframe);
} else {
_root.p1.gotoAndStop(this._currentframe + 1);
_root.p3.gotoAndStop(1);
_root.p2.gotoAndStop(1);
}
}
_root.max_pacmen++;
if (_root.max_combo < int(_root.lbl_multi)) {
_root.max_combo = _root.lbl_multi;
if (int(_root.max_combo >= 19)) {
_root.cr1.nextFrame();
_root.co_cra1 = "yes";
}
if (int(_root.max_combo >= 49)) {
_root.cr2.nextFrame();
_root.co_cra2 = "yes";
}
if (int(_root.max_combo >= 79)) {
_root.cr3.nextFrame();
_root.co_cra3 = "yes";
}
}
if (_root.max_pacmen >= 100) {
_root.pk1.nextFrame();
_root.killer1 = "yes";
}
if (_root.max_pacmen >= 300) {
_root.pk2.nextFrame();
_root.killer2 = "yes";
}
if (_root.max_pacmen >= 600) {
_root.pk3.nextFrame();
_root.killer3 = "yes";
}
_root.lbl_multi++;
if (int(_root.lbl_multi > 1)) {
_root.mc_mul.mcnt.ml = "x" + _root.lbl_multi;
_root.mc_mul._x = _root.ball._x + 15;
_root.mc_mul._y = _root.ball._y - 15;
_root.mc_mul.gotoAndPlay(2);
}
if (_root.end_game == "yes") {
_root.lbl_score = _root.lbl_score + (50 * int(_root.lbl_multi));
} else {
_root.lbl_score = _root.lbl_score + (10 * int(_root.lbl_multi));
}
if ((_root.pacmen_cnt > 0) && (this._currentframe == 3)) {
_root.pacmen_cnt--;
}
if (_root.expl_cnt > 5) {
_root.expl_cnt = 0;
}
_root.expl_cnt++;
_root.expl.duplicateMovieClip("expl" + _root.expl_cnt, _root.expl_cnt);
_root["expl" + _root.expl_cnt]._x = _x;
_root["expl" + _root.expl_cnt]._y = _y;
_root.ball.ysp = 13;
_root.ball.act = "jump";
xsp = 0;
if (this._currentframe == 1) {
_root["expl" + _root.expl_cnt].gotoAndStop(2);
this.gotoAndStop(5);
} else if (this._currentframe == 2) {
_root["expl" + _root.expl_cnt].gotoAndStop(3);
this.gotoAndStop(6);
} else if (this._currentframe == 3) {
_root["expl" + _root.expl_cnt].gotoAndStop(4);
this.gotoAndStop(7);
} else if (this._currentframe == 4) {
_root["expl" + _root.expl_cnt].gotoAndStop(5);
this.gotoAndStop(8);
}
}
}
Instance of Symbol 170 MovieClip "pink_pac" in Frame 13
onClipEvent (load) {
xsp = random(5) + 3;
_y = (random(100) + 200);
}
onClipEvent (enterFrame) {
if (_root.pacmen_cnt < 10) {
start_pink = 1;
}
if (start_pink) {
_x = (_x + xsp);
if (_x > 480) {
this.gotoAndStop(3);
}
if (this.hit.hitTest(_root.hit) && (_root.ball.act == "fall")) {
_root.pink_pacmen++;
if (_root.pink_pacmen >= 3) {
_root.pink1.nextFrame();
}
if (_root.pink_pacmen >= 6) {
_root.pink2.nextFrame();
}
if (_root.pink_pacmen >= 10) {
_root.pink3.nextFrame();
}
_root.max_pacmen++;
if (_root.max_combo < int(_root.lbl_multi)) {
_root.max_combo = _root.lbl_multi;
if (int(_root.max_combo >= 19)) {
_root.cr1.nextFrame();
_root.co_cra1 = "yes";
}
if (int(_root.max_combo >= 49)) {
_root.cr2.nextFrame();
_root.co_cra2 = "yes";
}
if (int(_root.max_combo >= 79)) {
_root.cr3.nextFrame();
_root.co_cra3 = "yes";
}
}
if (_root.max_pacmen >= 100) {
_root.pk1.nextFrame();
_root.killer1 = "yes";
}
if (_root.max_pacmen >= 300) {
_root.pk2.nextFrame();
_root.killer2 = "yes";
}
if (_root.max_pacmen >= 600) {
_root.pk3.nextFrame();
_root.killer3 = "yes";
}
_root.lbl_multi++;
if (int(_root.lbl_multi > 1)) {
_root.mc_mul.mcnt.ml = "x" + _root.lbl_multi;
_root.mc_mul._x = _root.ball._x + 15;
_root.mc_mul._y = _root.ball._y - 15;
_root.mc_mul.gotoAndPlay(2);
}
if (_root.end_game == "yes") {
_root.lbl_score = _root.lbl_score + (5000 * int(_root.lbl_multi));
} else {
_root.lbl_score = _root.lbl_score + (1000 * int(_root.lbl_multi));
}
if (_root.pacmen_cnt > 0) {
_root.pacmen_cnt--;
}
if (_root.expl_cnt > 5) {
_root.expl_cnt = 0;
}
_root.ball.ysp = 13;
_root.ball.act = "jump";
xsp = 0;
this.gotoAndStop(2);
}
}
}
Instance of Symbol 197 MovieClip "ball" in Frame 13
onClipEvent (load) {
var glevel = _y;
var ysp = 0;
var xsp = 5;
var act = "ground";
var xsp2 = 3;
var m_dir = "";
j = 20;
}
onClipEvent (keyUp) {
if (m_dir == "left") {
roll_left = 1;
m_dir = "";
xsp2 = 3;
} else if (m_dir == "right") {
roll_right = 1;
m_dir = "";
xsp2 = 3;
}
}
onClipEvent (enterFrame) {
if (this._currentframe != 3) {
if (_root.p3._currentframe == 2) {
if (j > 40) {
j = 20;
}
j++;
_root.b_a.duplicateMovieClip("b_a" + j, j);
_root["b_a" + j]._x = _x;
_root["b_a" + j]._y = _y;
} else if (_root.p3._currentframe == 3) {
if (j > 40) {
j = 20;
}
j++;
_root.b_b.duplicateMovieClip("b_b" + j, j);
_root["b_b" + j]._x = _x;
_root["b_b" + j]._y = _y;
} else if (_root.p3._currentframe == 4) {
if (j > 40) {
j = 20;
}
j++;
_root.b_c.duplicateMovieClip("b_c" + j, j);
_root["b_c" + j]._x = _x;
_root["b_c" + j]._y = _y;
} else if (_root.p3._currentframe == 5) {
if (j > 40) {
j = 20;
}
j++;
_root.b_d.duplicateMovieClip("b_d" + j, j);
_root["b_d" + j]._x = _x;
_root["b_d" + j]._y = _y;
}
if (roll_left) {
xsp2 = xsp2 - 0.5;
_rotation = (_rotation - (xsp2 * 3));
_x = (_x - xsp2);
if (_x < 115) {
_x = 115;
}
if (xsp2 <= 0) {
roll_left = 0;
xsp2 = 3;
}
}
if (roll_right) {
xsp2 = xsp2 - 0.5;
_rotation = (_rotation + (xsp2 * 3));
_x = (_x + xsp2);
if (_x > 430) {
_x = 430;
}
if (xsp2 <= 0) {
roll_right = 0;
xsp2 = 3;
}
}
if (Key.isDown(37)) {
m_dir = "left";
roll_left = 0;
roll_right = 0;
_rotation = (_rotation - (xsp + 5));
_x = (_x - xsp);
if (_x < 115) {
_x = 115;
}
} else if (Key.isDown(39)) {
m_dir = "right";
roll_left = 0;
roll_right = 0;
_rotation = (_rotation + (xsp + 5));
_x = (_x + xsp);
if (_x > 430) {
_x = 430;
}
}
if (act == "fall") {
ysp++;
var i = 0;
while (i < ysp) {
_y = (_y+1);
if (_y >= glevel) {
_y = glevel;
_root.snd_hit_ground.start(0, 0);
_root.lbl_multi = 0;
i = 0;
ysp = i;
act = "ground";
_root.leaves._x = _x;
_root.leaves._y = _y - 30;
_root.leaves.gotoAndPlay(2);
}
i++;
}
} else if (act == "jump") {
ysp--;
this.gotoAndStop(2);
var i = 0;
while (i < ysp) {
_y = (_y-1);
if (ysp <= 1) {
ysp = 0;
act = "fall";
}
i++;
}
}
if (Key.isDown(90) && (act == "ground")) {
_root.snd_jump.start(0, 0);
ysp = 12;
act = "jump";
}
if ((Key.isDown(40) && (act == "jump")) && (_y < (glevel - 5))) {
ysp = 0;
act = "fall";
}
}
}
Instance of Symbol 203 MovieClip "hit" in Frame 13
onClipEvent (enterFrame) {
_x = _root.ball._x;
_y = (_root.ball._y + 15);
}
Instance of Symbol 203 MovieClip "hit2" in Frame 13
onClipEvent (enterFrame) {
_x = _root.ball._x;
_y = (_root.ball._y + 15);
}
Instance of Symbol 365 MovieClip "b_a" in Frame 13
onClipEvent (load) {
ysp = 5 * Math.random();
}
onClipEvent (enterFrame) {
if (ysp <= 1) {
this.removeMovieClip();
} else {
ysp = ysp - 0.1;
_y = (_y - ysp);
}
}
Instance of Symbol 369 MovieClip "b_b" in Frame 13
onClipEvent (load) {
ysp = 5 * Math.random();
}
onClipEvent (enterFrame) {
if (ysp <= 1) {
this.removeMovieClip();
} else {
ysp = ysp - 0.1;
_y = (_y - ysp);
}
}
Instance of Symbol 372 MovieClip "b_c" in Frame 13
onClipEvent (load) {
ysp = 5 * Math.random();
}
onClipEvent (enterFrame) {
if (ysp <= 1) {
this.removeMovieClip();
} else {
ysp = ysp - 0.1;
_y = (_y - ysp);
}
}
Instance of Symbol 376 MovieClip "b_d" in Frame 13
onClipEvent (load) {
ysp = 5 * Math.random();
}
onClipEvent (enterFrame) {
if (ysp <= 1) {
this.removeMovieClip();
} else {
ysp = ysp - 0.1;
_y = (_y - ysp);
}
}
Instance of Symbol 245 MovieClip "expl" in Frame 13
onClipEvent (load) {
cframe = _root._currentframe;
if (_x < 130) {
this.removeMovieClip();
}
}
onClipEvent (enterFrame) {
if (cframe != _root._currentframe) {
this.removeMovieClip();
}
}
Instance of Symbol 125 MovieClip in Frame 13
onClipEvent (load) {
this.gotoAndPlay(random(9) + 1);
}
Instance of Symbol 269 MovieClip "mc_grass" in Frame 13
onClipEvent (load) {
tmpdepth = this.getDepth();
this.swapDepths(100);
}
Instance of Symbol 351 MovieClip "mc_ef" in Frame 13
onClipEvent (load) {
tmpdepth = this.getDepth();
this.swapDepths(110);
}
Frame 14
stop();
if (_root.end_game == "yes") {
_root.time_bon = _root.time_bon + int(_root.lbl_time);
}
Frame 15
_root.snd_stage_bg.start(0, 999);
stop();
tmp_time = 0;
lbl_multi = 0;
expl_cnt = 0;
lbl_time = 30;
pacmen_cnt = 30;
i = 0;
j = 0;
m = 0;
end_game = "";
color_bomb = 0;
_root.onEnterFrame = function () {
var _local3 = new Date();
var _local2 = _local3 - starttime;
while (_local2 < (1000 / DESIREDFRAMERATE)) {
_local3 = new Date();
_local2 = _local3 - starttime;
}
starttime = new Date();
if (lbl_time <= 10) {
_root.mc_pan.nextFrame();
}
if ((lbl_time == 0) && (end_game == "")) {
_root.ball._rotation = 0;
_root.ball.gotoAndStop(3);
_root.b_xpl._x = _root.ball._x;
_root.b_xpl._y = _root.ball._y;
_root.b_xpl.nextFrame();
}
if (((Key.isDown(88) && (color_bomb == 0)) && (_root.p3._currentframe != 1)) && (_root.ball._currentframe != 3)) {
_root.max_bombs++;
if (_root.max_bombs >= 20) {
_root.col_mayhem.nextFrame();
}
_root.mc_ef.play();
_root.bg_obj.play();
color_bomb = 1;
}
if ((pacmen_cnt == 0) && (end_game == "")) {
end_game = "yes";
_root.mc_completed.play();
_root.lbl_score = _root.lbl_score + (int(_root.lbl_time) * int(_root.lbl_time));
}
m++;
if (((m == 30) && (lbl_time > 0)) && (end_game == "")) {
tmp_time++;
lbl_time--;
m = 0;
}
if (end_game == "yes") {
j++;
if ((j == 3) && (i < 21)) {
i++;
if (expl_cnt > 10) {
expl_cnt = 0;
}
expl_cnt++;
_root.expl.duplicateMovieClip("expl" + expl_cnt, expl_cnt);
_root["expl" + expl_cnt]._x = _root["pac" + i]._x;
_root["expl" + expl_cnt]._y = _root["pac" + i]._y;
_root["pac" + i].xsp = 0;
if (_root["pac" + i]._currentframe == 1) {
_root["expl" + expl_cnt].gotoAndStop(2);
_root["pac" + i].gotoAndStop(5);
} else if (_root["pac" + i]._currentframe == 2) {
_root["expl" + expl_cnt].gotoAndStop(3);
_root["pac" + i].gotoAndStop(6);
} else if (_root["pac" + i]._currentframe == 3) {
_root["expl" + expl_cnt].gotoAndStop(4);
_root["pac" + i].gotoAndStop(7);
} else if (_root["pac" + i]._currentframe == 4) {
_root["expl" + expl_cnt].gotoAndStop(5);
_root["pac" + i].gotoAndStop(8);
}
j = 0;
}
}
if (color_bomb) {
var i = 1;
while (i < 22) {
expl_cnt++;
_root.expl.duplicateMovieClip("expl" + expl_cnt, expl_cnt);
_root["expl" + expl_cnt]._x = _root["pac" + i]._x;
_root["expl" + expl_cnt]._y = _root["pac" + i]._y;
if ((_root.p3._currentframe == 2) && (_root["pac" + i]._currentframe == 1)) {
_root.max_pacmen++;
if (_root.max_combo < int(_root.lbl_multi)) {
_root.max_combo = _root.lbl_multi;
if (int(_root.max_combo >= 19)) {
_root.cr1.nextFrame();
_root.co_cra1 = "yes";
}
if (int(_root.max_combo >= 49)) {
_root.cr2.nextFrame();
_root.co_cra2 = "yes";
}
if (int(_root.max_combo >= 79)) {
_root.cr3.nextFrame();
_root.co_cra3 = "yes";
}
}
if (_root.max_pacmen >= 100) {
_root.pk1.nextFrame();
_root.killer1 = "yes";
}
if (_root.max_pacmen >= 300) {
_root.pk2.nextFrame();
_root.killer2 = "yes";
}
if (_root.max_pacmen >= 600) {
_root.pk3.nextFrame();
_root.killer3 = "yes";
}
if (end_game == "yes") {
_root.lbl_score = _root.lbl_score + (50 * int(_root.lbl_multi));
} else {
_root.lbl_score = _root.lbl_score + (10 * int(_root.lbl_multi));
}
if (_root.pacmen_cnt > 0) {
_root.pacmen_cnt--;
}
_root["expl" + expl_cnt].gotoAndStop(2);
_root["pac" + i].gotoAndStop(5);
_root["pac" + i].xsp = 0;
} else if ((_root.p3._currentframe == 3) && (_root["pac" + i]._currentframe == 2)) {
_root.max_pacmen++;
if (_root.max_combo < int(_root.lbl_multi)) {
_root.max_combo = _root.lbl_multi;
if (int(_root.max_combo >= 19)) {
_root.cr1.nextFrame();
_root.co_cra1 = "yes";
}
if (int(_root.max_combo >= 49)) {
_root.cr2.nextFrame();
_root.co_cra2 = "yes";
}
if (int(_root.max_combo >= 79)) {
_root.cr3.nextFrame();
_root.co_cra3 = "yes";
}
}
if (_root.max_pacmen >= 100) {
_root.pk1.nextFrame();
_root.killer1 = "yes";
}
if (_root.max_pacmen >= 300) {
_root.pk2.nextFrame();
_root.killer2 = "yes";
}
if (_root.max_pacmen >= 600) {
_root.pk3.nextFrame();
_root.killer3 = "yes";
}
if (end_game == "yes") {
_root.lbl_score = _root.lbl_score + (50 * int(_root.lbl_multi));
} else {
_root.lbl_score = _root.lbl_score + (10 * int(_root.lbl_multi));
}
if (_root.pacmen_cnt > 0) {
_root.pacmen_cnt--;
}
_root["expl" + expl_cnt].gotoAndStop(3);
_root["pac" + i].gotoAndStop(6);
_root["pac" + i].xsp = 0;
} else if ((_root.p3._currentframe == 4) && (_root["pac" + i]._currentframe == 3)) {
_root.max_pacmen++;
if (_root.max_combo < int(_root.lbl_multi)) {
_root.max_combo = _root.lbl_multi;
if (int(_root.max_combo >= 19)) {
_root.cr1.nextFrame();
_root.co_cra1 = "yes";
}
if (int(_root.max_combo >= 49)) {
_root.cr2.nextFrame();
_root.co_cra2 = "yes";
}
if (int(_root.max_combo >= 79)) {
_root.cr3.nextFrame();
_root.co_cra3 = "yes";
}
}
if (_root.max_pacmen >= 100) {
_root.pk1.nextFrame();
_root.killer1 = "yes";
}
if (_root.max_pacmen >= 300) {
_root.pk2.nextFrame();
_root.killer2 = "yes";
}
if (_root.max_pacmen >= 600) {
_root.pk3.nextFrame();
_root.killer3 = "yes";
}
if (end_game == "yes") {
_root.lbl_score = _root.lbl_score + (50 * int(_root.lbl_multi));
} else {
_root.lbl_score = _root.lbl_score + (10 * int(_root.lbl_multi));
}
if (_root.pacmen_cnt > 0) {
_root.pacmen_cnt--;
}
_root["expl" + expl_cnt].gotoAndStop(4);
_root["pac" + i].gotoAndStop(7);
_root["pac" + i].xsp = 0;
} else if ((_root.p3._currentframe == 5) && (_root["pac" + i]._currentframe == 4)) {
_root.max_pacmen++;
if (_root.max_combo < int(_root.lbl_multi)) {
_root.max_combo = _root.lbl_multi;
if (int(_root.max_combo >= 19)) {
_root.cr1.nextFrame();
_root.co_cra1 = "yes";
}
if (int(_root.max_combo >= 49)) {
_root.cr2.nextFrame();
_root.co_cra2 = "yes";
}
if (int(_root.max_combo >= 79)) {
_root.cr3.nextFrame();
_root.co_cra3 = "yes";
}
}
if (_root.max_pacmen >= 100) {
_root.pk1.nextFrame();
_root.killer1 = "yes";
}
if (_root.max_pacmen >= 300) {
_root.pk2.nextFrame();
_root.killer2 = "yes";
}
if (_root.max_pacmen >= 600) {
_root.pk3.nextFrame();
_root.killer3 = "yes";
}
if (end_game == "yes") {
_root.lbl_score = _root.lbl_score + (50 * int(_root.lbl_multi));
} else {
_root.lbl_score = _root.lbl_score + (10 * int(_root.lbl_multi));
}
if (_root.pacmen_cnt > 0) {
_root.pacmen_cnt--;
}
_root["expl" + expl_cnt].gotoAndStop(5);
_root["pac" + i].gotoAndStop(8);
_root["pac" + i].xsp = 0;
}
i++;
}
i = 0;
j = 0;
expl_cnt = 0;
_root.p1.gotoAndStop(1);
_root.p2.gotoAndStop(1);
_root.p3.gotoAndStop(1);
color_bomb = 0;
}
};
Instance of Symbol 147 MovieClip "pac1" in Frame 15
onClipEvent (load) {
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
onClipEvent (enterFrame) {
_x = (_x + xsp);
if (_x > 480) {
_x = 80;
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
if (this.hit.hitTest(_root.hit) && (_root.ball.act == "fall")) {
if (_root.p1._currentframe == 1) {
if (this._currentframe == 1) {
_root.p1.gotoAndStop(2);
} else if (this._currentframe == 2) {
_root.p1.gotoAndStop(3);
} else if (this._currentframe == 3) {
_root.p1.gotoAndStop(4);
} else if (this._currentframe == 4) {
_root.p1.gotoAndStop(5);
}
} else if (_root.p2._currentframe == 1) {
if (this._currentframe == (_root.p1._currentframe - 1)) {
_root.p2.gotoAndStop(_root.p1._currentframe);
} else {
_root.p2.gotoAndStop(1);
_root.p1.gotoAndStop(this._currentframe + 1);
}
} else if (_root.p3._currentframe == 1) {
if (this._currentframe == (_root.p2._currentframe - 1)) {
_root.p3.gotoAndStop(_root.p2._currentframe);
} else {
_root.p1.gotoAndStop(this._currentframe + 1);
_root.p3.gotoAndStop(1);
_root.p2.gotoAndStop(1);
}
}
_root.max_pacmen++;
if (_root.max_combo < int(_root.lbl_multi)) {
_root.max_combo = _root.lbl_multi;
if (int(_root.max_combo >= 19)) {
_root.cr1.nextFrame();
_root.co_cra1 = "yes";
}
if (int(_root.max_combo >= 49)) {
_root.cr2.nextFrame();
_root.co_cra2 = "yes";
}
if (int(_root.max_combo >= 79)) {
_root.cr3.nextFrame();
_root.co_cra3 = "yes";
}
}
if (_root.max_pacmen >= 100) {
_root.pk1.nextFrame();
_root.killer1 = "yes";
}
if (_root.max_pacmen >= 300) {
_root.pk2.nextFrame();
_root.killer2 = "yes";
}
if (_root.max_pacmen >= 600) {
_root.pk3.nextFrame();
_root.killer3 = "yes";
}
_root.lbl_multi++;
if (int(_root.lbl_multi > 1)) {
_root.mc_mul.mcnt.ml = "x" + _root.lbl_multi;
_root.mc_mul._x = _root.ball._x + 15;
_root.mc_mul._y = _root.ball._y - 15;
_root.mc_mul.gotoAndPlay(2);
}
if (_root.end_game == "yes") {
_root.lbl_score = _root.lbl_score + (50 * int(_root.lbl_multi));
} else {
_root.lbl_score = _root.lbl_score + (10 * int(_root.lbl_multi));
}
if (_root.pacmen_cnt > 0) {
_root.pacmen_cnt--;
}
if (_root.expl_cnt > 5) {
_root.expl_cnt = 0;
}
_root.expl_cnt++;
_root.expl.duplicateMovieClip("expl" + _root.expl_cnt, _root.expl_cnt);
_root["expl" + _root.expl_cnt]._x = _x;
_root["expl" + _root.expl_cnt]._y = _y;
_root.ball.ysp = 13;
_root.ball.act = "jump";
xsp = 0;
if (this._currentframe == 1) {
_root["expl" + _root.expl_cnt].gotoAndStop(2);
this.gotoAndStop(5);
} else if (this._currentframe == 2) {
_root["expl" + _root.expl_cnt].gotoAndStop(3);
this.gotoAndStop(6);
} else if (this._currentframe == 3) {
_root["expl" + _root.expl_cnt].gotoAndStop(4);
this.gotoAndStop(7);
} else if (this._currentframe == 4) {
_root["expl" + _root.expl_cnt].gotoAndStop(5);
this.gotoAndStop(8);
}
}
}
Instance of Symbol 147 MovieClip "pac2" in Frame 15
onClipEvent (load) {
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
onClipEvent (enterFrame) {
_x = (_x + xsp);
if (_x > 480) {
_x = 80;
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
if (this.hit.hitTest(_root.hit) && (_root.ball.act == "fall")) {
if (_root.p1._currentframe == 1) {
if (this._currentframe == 1) {
_root.p1.gotoAndStop(2);
} else if (this._currentframe == 2) {
_root.p1.gotoAndStop(3);
} else if (this._currentframe == 3) {
_root.p1.gotoAndStop(4);
} else if (this._currentframe == 4) {
_root.p1.gotoAndStop(5);
}
} else if (_root.p2._currentframe == 1) {
if (this._currentframe == (_root.p1._currentframe - 1)) {
_root.p2.gotoAndStop(_root.p1._currentframe);
} else {
_root.p2.gotoAndStop(1);
_root.p1.gotoAndStop(this._currentframe + 1);
}
} else if (_root.p3._currentframe == 1) {
if (this._currentframe == (_root.p2._currentframe - 1)) {
_root.p3.gotoAndStop(_root.p2._currentframe);
} else {
_root.p1.gotoAndStop(this._currentframe + 1);
_root.p3.gotoAndStop(1);
_root.p2.gotoAndStop(1);
}
}
_root.max_pacmen++;
if (_root.max_combo < int(_root.lbl_multi)) {
_root.max_combo = _root.lbl_multi;
if (int(_root.max_combo >= 19)) {
_root.cr1.nextFrame();
_root.co_cra1 = "yes";
}
if (int(_root.max_combo >= 49)) {
_root.cr2.nextFrame();
_root.co_cra2 = "yes";
}
if (int(_root.max_combo >= 79)) {
_root.cr3.nextFrame();
_root.co_cra3 = "yes";
}
}
if (_root.max_pacmen >= 100) {
_root.pk1.nextFrame();
_root.killer1 = "yes";
}
if (_root.max_pacmen >= 300) {
_root.pk2.nextFrame();
_root.killer2 = "yes";
}
if (_root.max_pacmen >= 600) {
_root.pk3.nextFrame();
_root.killer3 = "yes";
}
_root.lbl_multi++;
if (int(_root.lbl_multi > 1)) {
_root.mc_mul.mcnt.ml = "x" + _root.lbl_multi;
_root.mc_mul._x = _root.ball._x + 15;
_root.mc_mul._y = _root.ball._y - 15;
_root.mc_mul.gotoAndPlay(2);
}
if (_root.end_game == "yes") {
_root.lbl_score = _root.lbl_score + (50 * int(_root.lbl_multi));
} else {
_root.lbl_score = _root.lbl_score + (10 * int(_root.lbl_multi));
}
if (_root.pacmen_cnt > 0) {
_root.pacmen_cnt--;
}
if (_root.expl_cnt > 5) {
_root.expl_cnt = 0;
}
_root.expl_cnt++;
_root.expl.duplicateMovieClip("expl" + _root.expl_cnt, _root.expl_cnt);
_root["expl" + _root.expl_cnt]._x = _x;
_root["expl" + _root.expl_cnt]._y = _y;
_root.ball.ysp = 13;
_root.ball.act = "jump";
xsp = 0;
if (this._currentframe == 1) {
_root["expl" + _root.expl_cnt].gotoAndStop(2);
this.gotoAndStop(5);
} else if (this._currentframe == 2) {
_root["expl" + _root.expl_cnt].gotoAndStop(3);
this.gotoAndStop(6);
} else if (this._currentframe == 3) {
_root["expl" + _root.expl_cnt].gotoAndStop(4);
this.gotoAndStop(7);
} else if (this._currentframe == 4) {
_root["expl" + _root.expl_cnt].gotoAndStop(5);
this.gotoAndStop(8);
}
}
}
Instance of Symbol 147 MovieClip "pac4" in Frame 15
onClipEvent (load) {
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
onClipEvent (enterFrame) {
_x = (_x + xsp);
if (_x > 480) {
_x = 80;
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
if (this.hit.hitTest(_root.hit) && (_root.ball.act == "fall")) {
if (_root.p1._currentframe == 1) {
if (this._currentframe == 1) {
_root.p1.gotoAndStop(2);
} else if (this._currentframe == 2) {
_root.p1.gotoAndStop(3);
} else if (this._currentframe == 3) {
_root.p1.gotoAndStop(4);
} else if (this._currentframe == 4) {
_root.p1.gotoAndStop(5);
}
} else if (_root.p2._currentframe == 1) {
if (this._currentframe == (_root.p1._currentframe - 1)) {
_root.p2.gotoAndStop(_root.p1._currentframe);
} else {
_root.p2.gotoAndStop(1);
_root.p1.gotoAndStop(this._currentframe + 1);
}
} else if (_root.p3._currentframe == 1) {
if (this._currentframe == (_root.p2._currentframe - 1)) {
_root.p3.gotoAndStop(_root.p2._currentframe);
} else {
_root.p1.gotoAndStop(this._currentframe + 1);
_root.p3.gotoAndStop(1);
_root.p2.gotoAndStop(1);
}
}
_root.max_pacmen++;
if (_root.max_combo < int(_root.lbl_multi)) {
_root.max_combo = _root.lbl_multi;
if (int(_root.max_combo >= 19)) {
_root.cr1.nextFrame();
_root.co_cra1 = "yes";
}
if (int(_root.max_combo >= 49)) {
_root.cr2.nextFrame();
_root.co_cra2 = "yes";
}
if (int(_root.max_combo >= 79)) {
_root.cr3.nextFrame();
_root.co_cra3 = "yes";
}
}
if (_root.max_pacmen >= 100) {
_root.pk1.nextFrame();
_root.killer1 = "yes";
}
if (_root.max_pacmen >= 300) {
_root.pk2.nextFrame();
_root.killer2 = "yes";
}
if (_root.max_pacmen >= 600) {
_root.pk3.nextFrame();
_root.killer3 = "yes";
}
_root.lbl_multi++;
if (int(_root.lbl_multi > 1)) {
_root.mc_mul.mcnt.ml = "x" + _root.lbl_multi;
_root.mc_mul._x = _root.ball._x + 15;
_root.mc_mul._y = _root.ball._y - 15;
_root.mc_mul.gotoAndPlay(2);
}
if (_root.end_game == "yes") {
_root.lbl_score = _root.lbl_score + (50 * int(_root.lbl_multi));
} else {
_root.lbl_score = _root.lbl_score + (10 * int(_root.lbl_multi));
}
if (_root.pacmen_cnt > 0) {
_root.pacmen_cnt--;
}
if (_root.expl_cnt > 5) {
_root.expl_cnt = 0;
}
_root.expl_cnt++;
_root.expl.duplicateMovieClip("expl" + _root.expl_cnt, _root.expl_cnt);
_root["expl" + _root.expl_cnt]._x = _x;
_root["expl" + _root.expl_cnt]._y = _y;
_root.ball.ysp = 13;
_root.ball.act = "jump";
xsp = 0;
if (this._currentframe == 1) {
_root["expl" + _root.expl_cnt].gotoAndStop(2);
this.gotoAndStop(5);
} else if (this._currentframe == 2) {
_root["expl" + _root.expl_cnt].gotoAndStop(3);
this.gotoAndStop(6);
} else if (this._currentframe == 3) {
_root["expl" + _root.expl_cnt].gotoAndStop(4);
this.gotoAndStop(7);
} else if (this._currentframe == 4) {
_root["expl" + _root.expl_cnt].gotoAndStop(5);
this.gotoAndStop(8);
}
}
}
Instance of Symbol 147 MovieClip "pac6" in Frame 15
onClipEvent (load) {
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
onClipEvent (enterFrame) {
_x = (_x + xsp);
if (_x > 480) {
_x = 80;
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
if (this.hit.hitTest(_root.hit) && (_root.ball.act == "fall")) {
if (_root.p1._currentframe == 1) {
if (this._currentframe == 1) {
_root.p1.gotoAndStop(2);
} else if (this._currentframe == 2) {
_root.p1.gotoAndStop(3);
} else if (this._currentframe == 3) {
_root.p1.gotoAndStop(4);
} else if (this._currentframe == 4) {
_root.p1.gotoAndStop(5);
}
} else if (_root.p2._currentframe == 1) {
if (this._currentframe == (_root.p1._currentframe - 1)) {
_root.p2.gotoAndStop(_root.p1._currentframe);
} else {
_root.p2.gotoAndStop(1);
_root.p1.gotoAndStop(this._currentframe + 1);
}
} else if (_root.p3._currentframe == 1) {
if (this._currentframe == (_root.p2._currentframe - 1)) {
_root.p3.gotoAndStop(_root.p2._currentframe);
} else {
_root.p1.gotoAndStop(this._currentframe + 1);
_root.p3.gotoAndStop(1);
_root.p2.gotoAndStop(1);
}
}
_root.max_pacmen++;
if (_root.max_combo < int(_root.lbl_multi)) {
_root.max_combo = _root.lbl_multi;
if (int(_root.max_combo >= 19)) {
_root.cr1.nextFrame();
_root.co_cra1 = "yes";
}
if (int(_root.max_combo >= 49)) {
_root.cr2.nextFrame();
_root.co_cra2 = "yes";
}
if (int(_root.max_combo >= 79)) {
_root.cr3.nextFrame();
_root.co_cra3 = "yes";
}
}
if (_root.max_pacmen >= 100) {
_root.pk1.nextFrame();
_root.killer1 = "yes";
}
if (_root.max_pacmen >= 300) {
_root.pk2.nextFrame();
_root.killer2 = "yes";
}
if (_root.max_pacmen >= 600) {
_root.pk3.nextFrame();
_root.killer3 = "yes";
}
_root.lbl_multi++;
if (int(_root.lbl_multi > 1)) {
_root.mc_mul.mcnt.ml = "x" + _root.lbl_multi;
_root.mc_mul._x = _root.ball._x + 15;
_root.mc_mul._y = _root.ball._y - 15;
_root.mc_mul.gotoAndPlay(2);
}
if (_root.end_game == "yes") {
_root.lbl_score = _root.lbl_score + (50 * int(_root.lbl_multi));
} else {
_root.lbl_score = _root.lbl_score + (10 * int(_root.lbl_multi));
}
if (_root.pacmen_cnt > 0) {
_root.pacmen_cnt--;
}
if (_root.expl_cnt > 5) {
_root.expl_cnt = 0;
}
_root.expl_cnt++;
_root.expl.duplicateMovieClip("expl" + _root.expl_cnt, _root.expl_cnt);
_root["expl" + _root.expl_cnt]._x = _x;
_root["expl" + _root.expl_cnt]._y = _y;
_root.ball.ysp = 13;
_root.ball.act = "jump";
xsp = 0;
if (this._currentframe == 1) {
_root["expl" + _root.expl_cnt].gotoAndStop(2);
this.gotoAndStop(5);
} else if (this._currentframe == 2) {
_root["expl" + _root.expl_cnt].gotoAndStop(3);
this.gotoAndStop(6);
} else if (this._currentframe == 3) {
_root["expl" + _root.expl_cnt].gotoAndStop(4);
this.gotoAndStop(7);
} else if (this._currentframe == 4) {
_root["expl" + _root.expl_cnt].gotoAndStop(5);
this.gotoAndStop(8);
}
}
}
Instance of Symbol 147 MovieClip "pac9" in Frame 15
onClipEvent (load) {
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
onClipEvent (enterFrame) {
_x = (_x + xsp);
if (_x > 480) {
_x = 80;
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
if (this.hit.hitTest(_root.hit) && (_root.ball.act == "fall")) {
if (_root.p1._currentframe == 1) {
if (this._currentframe == 1) {
_root.p1.gotoAndStop(2);
} else if (this._currentframe == 2) {
_root.p1.gotoAndStop(3);
} else if (this._currentframe == 3) {
_root.p1.gotoAndStop(4);
} else if (this._currentframe == 4) {
_root.p1.gotoAndStop(5);
}
} else if (_root.p2._currentframe == 1) {
if (this._currentframe == (_root.p1._currentframe - 1)) {
_root.p2.gotoAndStop(_root.p1._currentframe);
} else {
_root.p2.gotoAndStop(1);
_root.p1.gotoAndStop(this._currentframe + 1);
}
} else if (_root.p3._currentframe == 1) {
if (this._currentframe == (_root.p2._currentframe - 1)) {
_root.p3.gotoAndStop(_root.p2._currentframe);
} else {
_root.p1.gotoAndStop(this._currentframe + 1);
_root.p3.gotoAndStop(1);
_root.p2.gotoAndStop(1);
}
}
_root.max_pacmen++;
if (_root.max_combo < int(_root.lbl_multi)) {
_root.max_combo = _root.lbl_multi;
if (int(_root.max_combo >= 19)) {
_root.cr1.nextFrame();
_root.co_cra1 = "yes";
}
if (int(_root.max_combo >= 49)) {
_root.cr2.nextFrame();
_root.co_cra2 = "yes";
}
if (int(_root.max_combo >= 79)) {
_root.cr3.nextFrame();
_root.co_cra3 = "yes";
}
}
if (_root.max_pacmen >= 100) {
_root.pk1.nextFrame();
_root.killer1 = "yes";
}
if (_root.max_pacmen >= 300) {
_root.pk2.nextFrame();
_root.killer2 = "yes";
}
if (_root.max_pacmen >= 600) {
_root.pk3.nextFrame();
_root.killer3 = "yes";
}
_root.lbl_multi++;
if (int(_root.lbl_multi > 1)) {
_root.mc_mul.mcnt.ml = "x" + _root.lbl_multi;
_root.mc_mul._x = _root.ball._x + 15;
_root.mc_mul._y = _root.ball._y - 15;
_root.mc_mul.gotoAndPlay(2);
}
if (_root.end_game == "yes") {
_root.lbl_score = _root.lbl_score + (50 * int(_root.lbl_multi));
} else {
_root.lbl_score = _root.lbl_score + (10 * int(_root.lbl_multi));
}
if (_root.pacmen_cnt > 0) {
_root.pacmen_cnt--;
}
if (_root.expl_cnt > 5) {
_root.expl_cnt = 0;
}
_root.expl_cnt++;
_root.expl.duplicateMovieClip("expl" + _root.expl_cnt, _root.expl_cnt);
_root["expl" + _root.expl_cnt]._x = _x;
_root["expl" + _root.expl_cnt]._y = _y;
_root.ball.ysp = 13;
_root.ball.act = "jump";
xsp = 0;
if (this._currentframe == 1) {
_root["expl" + _root.expl_cnt].gotoAndStop(2);
this.gotoAndStop(5);
} else if (this._currentframe == 2) {
_root["expl" + _root.expl_cnt].gotoAndStop(3);
this.gotoAndStop(6);
} else if (this._currentframe == 3) {
_root["expl" + _root.expl_cnt].gotoAndStop(4);
this.gotoAndStop(7);
} else if (this._currentframe == 4) {
_root["expl" + _root.expl_cnt].gotoAndStop(5);
this.gotoAndStop(8);
}
}
}
Instance of Symbol 147 MovieClip "pac12" in Frame 15
onClipEvent (load) {
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
onClipEvent (enterFrame) {
_x = (_x + xsp);
if (_x > 480) {
_x = 80;
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
if (this.hit.hitTest(_root.hit) && (_root.ball.act == "fall")) {
if (_root.p1._currentframe == 1) {
if (this._currentframe == 1) {
_root.p1.gotoAndStop(2);
} else if (this._currentframe == 2) {
_root.p1.gotoAndStop(3);
} else if (this._currentframe == 3) {
_root.p1.gotoAndStop(4);
} else if (this._currentframe == 4) {
_root.p1.gotoAndStop(5);
}
} else if (_root.p2._currentframe == 1) {
if (this._currentframe == (_root.p1._currentframe - 1)) {
_root.p2.gotoAndStop(_root.p1._currentframe);
} else {
_root.p2.gotoAndStop(1);
_root.p1.gotoAndStop(this._currentframe + 1);
}
} else if (_root.p3._currentframe == 1) {
if (this._currentframe == (_root.p2._currentframe - 1)) {
_root.p3.gotoAndStop(_root.p2._currentframe);
} else {
_root.p1.gotoAndStop(this._currentframe + 1);
_root.p3.gotoAndStop(1);
_root.p2.gotoAndStop(1);
}
}
_root.max_pacmen++;
if (_root.max_combo < int(_root.lbl_multi)) {
_root.max_combo = _root.lbl_multi;
if (int(_root.max_combo >= 19)) {
_root.cr1.nextFrame();
_root.co_cra1 = "yes";
}
if (int(_root.max_combo >= 49)) {
_root.cr2.nextFrame();
_root.co_cra2 = "yes";
}
if (int(_root.max_combo >= 79)) {
_root.cr3.nextFrame();
_root.co_cra3 = "yes";
}
}
if (_root.max_pacmen >= 100) {
_root.pk1.nextFrame();
_root.killer1 = "yes";
}
if (_root.max_pacmen >= 300) {
_root.pk2.nextFrame();
_root.killer2 = "yes";
}
if (_root.max_pacmen >= 600) {
_root.pk3.nextFrame();
_root.killer3 = "yes";
}
_root.lbl_multi++;
if (int(_root.lbl_multi > 1)) {
_root.mc_mul.mcnt.ml = "x" + _root.lbl_multi;
_root.mc_mul._x = _root.ball._x + 15;
_root.mc_mul._y = _root.ball._y - 15;
_root.mc_mul.gotoAndPlay(2);
}
if (_root.end_game == "yes") {
_root.lbl_score = _root.lbl_score + (50 * int(_root.lbl_multi));
} else {
_root.lbl_score = _root.lbl_score + (10 * int(_root.lbl_multi));
}
if (_root.pacmen_cnt > 0) {
_root.pacmen_cnt--;
}
if (_root.expl_cnt > 5) {
_root.expl_cnt = 0;
}
_root.expl_cnt++;
_root.expl.duplicateMovieClip("expl" + _root.expl_cnt, _root.expl_cnt);
_root["expl" + _root.expl_cnt]._x = _x;
_root["expl" + _root.expl_cnt]._y = _y;
_root.ball.ysp = 13;
_root.ball.act = "jump";
xsp = 0;
if (this._currentframe == 1) {
_root["expl" + _root.expl_cnt].gotoAndStop(2);
this.gotoAndStop(5);
} else if (this._currentframe == 2) {
_root["expl" + _root.expl_cnt].gotoAndStop(3);
this.gotoAndStop(6);
} else if (this._currentframe == 3) {
_root["expl" + _root.expl_cnt].gotoAndStop(4);
this.gotoAndStop(7);
} else if (this._currentframe == 4) {
_root["expl" + _root.expl_cnt].gotoAndStop(5);
this.gotoAndStop(8);
}
}
}
Instance of Symbol 147 MovieClip "pac13" in Frame 15
onClipEvent (load) {
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
onClipEvent (enterFrame) {
_x = (_x + xsp);
if (_x > 480) {
_x = 80;
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
if (this.hit.hitTest(_root.hit) && (_root.ball.act == "fall")) {
if (_root.p1._currentframe == 1) {
if (this._currentframe == 1) {
_root.p1.gotoAndStop(2);
} else if (this._currentframe == 2) {
_root.p1.gotoAndStop(3);
} else if (this._currentframe == 3) {
_root.p1.gotoAndStop(4);
} else if (this._currentframe == 4) {
_root.p1.gotoAndStop(5);
}
} else if (_root.p2._currentframe == 1) {
if (this._currentframe == (_root.p1._currentframe - 1)) {
_root.p2.gotoAndStop(_root.p1._currentframe);
} else {
_root.p2.gotoAndStop(1);
_root.p1.gotoAndStop(this._currentframe + 1);
}
} else if (_root.p3._currentframe == 1) {
if (this._currentframe == (_root.p2._currentframe - 1)) {
_root.p3.gotoAndStop(_root.p2._currentframe);
} else {
_root.p1.gotoAndStop(this._currentframe + 1);
_root.p3.gotoAndStop(1);
_root.p2.gotoAndStop(1);
}
}
_root.max_pacmen++;
if (_root.max_combo < int(_root.lbl_multi)) {
_root.max_combo = _root.lbl_multi;
if (int(_root.max_combo >= 19)) {
_root.cr1.nextFrame();
_root.co_cra1 = "yes";
}
if (int(_root.max_combo >= 49)) {
_root.cr2.nextFrame();
_root.co_cra2 = "yes";
}
if (int(_root.max_combo >= 79)) {
_root.cr3.nextFrame();
_root.co_cra3 = "yes";
}
}
if (_root.max_pacmen >= 100) {
_root.pk1.nextFrame();
_root.killer1 = "yes";
}
if (_root.max_pacmen >= 300) {
_root.pk2.nextFrame();
_root.killer2 = "yes";
}
if (_root.max_pacmen >= 600) {
_root.pk3.nextFrame();
_root.killer3 = "yes";
}
_root.lbl_multi++;
if (int(_root.lbl_multi > 1)) {
_root.mc_mul.mcnt.ml = "x" + _root.lbl_multi;
_root.mc_mul._x = _root.ball._x + 15;
_root.mc_mul._y = _root.ball._y - 15;
_root.mc_mul.gotoAndPlay(2);
}
if (_root.end_game == "yes") {
_root.lbl_score = _root.lbl_score + (50 * int(_root.lbl_multi));
} else {
_root.lbl_score = _root.lbl_score + (10 * int(_root.lbl_multi));
}
if (_root.pacmen_cnt > 0) {
_root.pacmen_cnt--;
}
if (_root.expl_cnt > 5) {
_root.expl_cnt = 0;
}
_root.expl_cnt++;
_root.expl.duplicateMovieClip("expl" + _root.expl_cnt, _root.expl_cnt);
_root["expl" + _root.expl_cnt]._x = _x;
_root["expl" + _root.expl_cnt]._y = _y;
_root.ball.ysp = 13;
_root.ball.act = "jump";
xsp = 0;
if (this._currentframe == 1) {
_root["expl" + _root.expl_cnt].gotoAndStop(2);
this.gotoAndStop(5);
} else if (this._currentframe == 2) {
_root["expl" + _root.expl_cnt].gotoAndStop(3);
this.gotoAndStop(6);
} else if (this._currentframe == 3) {
_root["expl" + _root.expl_cnt].gotoAndStop(4);
this.gotoAndStop(7);
} else if (this._currentframe == 4) {
_root["expl" + _root.expl_cnt].gotoAndStop(5);
this.gotoAndStop(8);
}
}
}
Instance of Symbol 147 MovieClip "pac15" in Frame 15
onClipEvent (load) {
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
onClipEvent (enterFrame) {
_x = (_x + xsp);
if (_x > 480) {
_x = 80;
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
if (this.hit.hitTest(_root.hit) && (_root.ball.act == "fall")) {
if (_root.p1._currentframe == 1) {
if (this._currentframe == 1) {
_root.p1.gotoAndStop(2);
} else if (this._currentframe == 2) {
_root.p1.gotoAndStop(3);
} else if (this._currentframe == 3) {
_root.p1.gotoAndStop(4);
} else if (this._currentframe == 4) {
_root.p1.gotoAndStop(5);
}
} else if (_root.p2._currentframe == 1) {
if (this._currentframe == (_root.p1._currentframe - 1)) {
_root.p2.gotoAndStop(_root.p1._currentframe);
} else {
_root.p2.gotoAndStop(1);
_root.p1.gotoAndStop(this._currentframe + 1);
}
} else if (_root.p3._currentframe == 1) {
if (this._currentframe == (_root.p2._currentframe - 1)) {
_root.p3.gotoAndStop(_root.p2._currentframe);
} else {
_root.p1.gotoAndStop(this._currentframe + 1);
_root.p3.gotoAndStop(1);
_root.p2.gotoAndStop(1);
}
}
_root.max_pacmen++;
if (_root.max_combo < int(_root.lbl_multi)) {
_root.max_combo = _root.lbl_multi;
if (int(_root.max_combo >= 19)) {
_root.cr1.nextFrame();
_root.co_cra1 = "yes";
}
if (int(_root.max_combo >= 49)) {
_root.cr2.nextFrame();
_root.co_cra2 = "yes";
}
if (int(_root.max_combo >= 79)) {
_root.cr3.nextFrame();
_root.co_cra3 = "yes";
}
}
if (_root.max_pacmen >= 100) {
_root.pk1.nextFrame();
_root.killer1 = "yes";
}
if (_root.max_pacmen >= 300) {
_root.pk2.nextFrame();
_root.killer2 = "yes";
}
if (_root.max_pacmen >= 600) {
_root.pk3.nextFrame();
_root.killer3 = "yes";
}
_root.lbl_multi++;
if (int(_root.lbl_multi > 1)) {
_root.mc_mul.mcnt.ml = "x" + _root.lbl_multi;
_root.mc_mul._x = _root.ball._x + 15;
_root.mc_mul._y = _root.ball._y - 15;
_root.mc_mul.gotoAndPlay(2);
}
if (_root.end_game == "yes") {
_root.lbl_score = _root.lbl_score + (50 * int(_root.lbl_multi));
} else {
_root.lbl_score = _root.lbl_score + (10 * int(_root.lbl_multi));
}
if (_root.pacmen_cnt > 0) {
_root.pacmen_cnt--;
}
if (_root.expl_cnt > 5) {
_root.expl_cnt = 0;
}
_root.expl_cnt++;
_root.expl.duplicateMovieClip("expl" + _root.expl_cnt, _root.expl_cnt);
_root["expl" + _root.expl_cnt]._x = _x;
_root["expl" + _root.expl_cnt]._y = _y;
_root.ball.ysp = 13;
_root.ball.act = "jump";
xsp = 0;
if (this._currentframe == 1) {
_root["expl" + _root.expl_cnt].gotoAndStop(2);
this.gotoAndStop(5);
} else if (this._currentframe == 2) {
_root["expl" + _root.expl_cnt].gotoAndStop(3);
this.gotoAndStop(6);
} else if (this._currentframe == 3) {
_root["expl" + _root.expl_cnt].gotoAndStop(4);
this.gotoAndStop(7);
} else if (this._currentframe == 4) {
_root["expl" + _root.expl_cnt].gotoAndStop(5);
this.gotoAndStop(8);
}
}
}
Instance of Symbol 147 MovieClip "pac14" in Frame 15
onClipEvent (load) {
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
onClipEvent (enterFrame) {
_x = (_x + xsp);
if (_x > 480) {
_x = 80;
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
if (this.hit.hitTest(_root.hit) && (_root.ball.act == "fall")) {
if (_root.p1._currentframe == 1) {
if (this._currentframe == 1) {
_root.p1.gotoAndStop(2);
} else if (this._currentframe == 2) {
_root.p1.gotoAndStop(3);
} else if (this._currentframe == 3) {
_root.p1.gotoAndStop(4);
} else if (this._currentframe == 4) {
_root.p1.gotoAndStop(5);
}
} else if (_root.p2._currentframe == 1) {
if (this._currentframe == (_root.p1._currentframe - 1)) {
_root.p2.gotoAndStop(_root.p1._currentframe);
} else {
_root.p2.gotoAndStop(1);
_root.p1.gotoAndStop(this._currentframe + 1);
}
} else if (_root.p3._currentframe == 1) {
if (this._currentframe == (_root.p2._currentframe - 1)) {
_root.p3.gotoAndStop(_root.p2._currentframe);
} else {
_root.p1.gotoAndStop(this._currentframe + 1);
_root.p3.gotoAndStop(1);
_root.p2.gotoAndStop(1);
}
}
_root.max_pacmen++;
if (_root.max_combo < int(_root.lbl_multi)) {
_root.max_combo = _root.lbl_multi;
if (int(_root.max_combo >= 19)) {
_root.cr1.nextFrame();
_root.co_cra1 = "yes";
}
if (int(_root.max_combo >= 49)) {
_root.cr2.nextFrame();
_root.co_cra2 = "yes";
}
if (int(_root.max_combo >= 79)) {
_root.cr3.nextFrame();
_root.co_cra3 = "yes";
}
}
if (_root.max_pacmen >= 100) {
_root.pk1.nextFrame();
_root.killer1 = "yes";
}
if (_root.max_pacmen >= 300) {
_root.pk2.nextFrame();
_root.killer2 = "yes";
}
if (_root.max_pacmen >= 600) {
_root.pk3.nextFrame();
_root.killer3 = "yes";
}
_root.lbl_multi++;
if (int(_root.lbl_multi > 1)) {
_root.mc_mul.mcnt.ml = "x" + _root.lbl_multi;
_root.mc_mul._x = _root.ball._x + 15;
_root.mc_mul._y = _root.ball._y - 15;
_root.mc_mul.gotoAndPlay(2);
}
if (_root.end_game == "yes") {
_root.lbl_score = _root.lbl_score + (50 * int(_root.lbl_multi));
} else {
_root.lbl_score = _root.lbl_score + (10 * int(_root.lbl_multi));
}
if (_root.pacmen_cnt > 0) {
_root.pacmen_cnt--;
}
if (_root.expl_cnt > 5) {
_root.expl_cnt = 0;
}
_root.expl_cnt++;
_root.expl.duplicateMovieClip("expl" + _root.expl_cnt, _root.expl_cnt);
_root["expl" + _root.expl_cnt]._x = _x;
_root["expl" + _root.expl_cnt]._y = _y;
_root.ball.ysp = 13;
_root.ball.act = "jump";
xsp = 0;
if (this._currentframe == 1) {
_root["expl" + _root.expl_cnt].gotoAndStop(2);
this.gotoAndStop(5);
} else if (this._currentframe == 2) {
_root["expl" + _root.expl_cnt].gotoAndStop(3);
this.gotoAndStop(6);
} else if (this._currentframe == 3) {
_root["expl" + _root.expl_cnt].gotoAndStop(4);
this.gotoAndStop(7);
} else if (this._currentframe == 4) {
_root["expl" + _root.expl_cnt].gotoAndStop(5);
this.gotoAndStop(8);
}
}
}
Instance of Symbol 147 MovieClip "pac16" in Frame 15
onClipEvent (load) {
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
onClipEvent (enterFrame) {
_x = (_x + xsp);
if (_x > 480) {
_x = 80;
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
if (this.hit.hitTest(_root.hit) && (_root.ball.act == "fall")) {
if (_root.p1._currentframe == 1) {
if (this._currentframe == 1) {
_root.p1.gotoAndStop(2);
} else if (this._currentframe == 2) {
_root.p1.gotoAndStop(3);
} else if (this._currentframe == 3) {
_root.p1.gotoAndStop(4);
} else if (this._currentframe == 4) {
_root.p1.gotoAndStop(5);
}
} else if (_root.p2._currentframe == 1) {
if (this._currentframe == (_root.p1._currentframe - 1)) {
_root.p2.gotoAndStop(_root.p1._currentframe);
} else {
_root.p2.gotoAndStop(1);
_root.p1.gotoAndStop(this._currentframe + 1);
}
} else if (_root.p3._currentframe == 1) {
if (this._currentframe == (_root.p2._currentframe - 1)) {
_root.p3.gotoAndStop(_root.p2._currentframe);
} else {
_root.p1.gotoAndStop(this._currentframe + 1);
_root.p3.gotoAndStop(1);
_root.p2.gotoAndStop(1);
}
}
_root.max_pacmen++;
if (_root.max_combo < int(_root.lbl_multi)) {
_root.max_combo = _root.lbl_multi;
if (int(_root.max_combo >= 19)) {
_root.cr1.nextFrame();
_root.co_cra1 = "yes";
}
if (int(_root.max_combo >= 49)) {
_root.cr2.nextFrame();
_root.co_cra2 = "yes";
}
if (int(_root.max_combo >= 79)) {
_root.cr3.nextFrame();
_root.co_cra3 = "yes";
}
}
if (_root.max_pacmen >= 100) {
_root.pk1.nextFrame();
_root.killer1 = "yes";
}
if (_root.max_pacmen >= 300) {
_root.pk2.nextFrame();
_root.killer2 = "yes";
}
if (_root.max_pacmen >= 600) {
_root.pk3.nextFrame();
_root.killer3 = "yes";
}
_root.lbl_multi++;
if (int(_root.lbl_multi > 1)) {
_root.mc_mul.mcnt.ml = "x" + _root.lbl_multi;
_root.mc_mul._x = _root.ball._x + 15;
_root.mc_mul._y = _root.ball._y - 15;
_root.mc_mul.gotoAndPlay(2);
}
if (_root.end_game == "yes") {
_root.lbl_score = _root.lbl_score + (50 * int(_root.lbl_multi));
} else {
_root.lbl_score = _root.lbl_score + (10 * int(_root.lbl_multi));
}
if (_root.pacmen_cnt > 0) {
_root.pacmen_cnt--;
}
if (_root.expl_cnt > 5) {
_root.expl_cnt = 0;
}
_root.expl_cnt++;
_root.expl.duplicateMovieClip("expl" + _root.expl_cnt, _root.expl_cnt);
_root["expl" + _root.expl_cnt]._x = _x;
_root["expl" + _root.expl_cnt]._y = _y;
_root.ball.ysp = 13;
_root.ball.act = "jump";
xsp = 0;
if (this._currentframe == 1) {
_root["expl" + _root.expl_cnt].gotoAndStop(2);
this.gotoAndStop(5);
} else if (this._currentframe == 2) {
_root["expl" + _root.expl_cnt].gotoAndStop(3);
this.gotoAndStop(6);
} else if (this._currentframe == 3) {
_root["expl" + _root.expl_cnt].gotoAndStop(4);
this.gotoAndStop(7);
} else if (this._currentframe == 4) {
_root["expl" + _root.expl_cnt].gotoAndStop(5);
this.gotoAndStop(8);
}
}
}
Instance of Symbol 147 MovieClip "pac10" in Frame 15
onClipEvent (load) {
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
onClipEvent (enterFrame) {
_x = (_x + xsp);
if (_x > 480) {
_x = 80;
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
if (this.hit.hitTest(_root.hit) && (_root.ball.act == "fall")) {
if (_root.p1._currentframe == 1) {
if (this._currentframe == 1) {
_root.p1.gotoAndStop(2);
} else if (this._currentframe == 2) {
_root.p1.gotoAndStop(3);
} else if (this._currentframe == 3) {
_root.p1.gotoAndStop(4);
} else if (this._currentframe == 4) {
_root.p1.gotoAndStop(5);
}
} else if (_root.p2._currentframe == 1) {
if (this._currentframe == (_root.p1._currentframe - 1)) {
_root.p2.gotoAndStop(_root.p1._currentframe);
} else {
_root.p2.gotoAndStop(1);
_root.p1.gotoAndStop(this._currentframe + 1);
}
} else if (_root.p3._currentframe == 1) {
if (this._currentframe == (_root.p2._currentframe - 1)) {
_root.p3.gotoAndStop(_root.p2._currentframe);
} else {
_root.p1.gotoAndStop(this._currentframe + 1);
_root.p3.gotoAndStop(1);
_root.p2.gotoAndStop(1);
}
}
_root.max_pacmen++;
if (_root.max_combo < int(_root.lbl_multi)) {
_root.max_combo = _root.lbl_multi;
if (int(_root.max_combo >= 19)) {
_root.cr1.nextFrame();
_root.co_cra1 = "yes";
}
if (int(_root.max_combo >= 49)) {
_root.cr2.nextFrame();
_root.co_cra2 = "yes";
}
if (int(_root.max_combo >= 79)) {
_root.cr3.nextFrame();
_root.co_cra3 = "yes";
}
}
if (_root.max_pacmen >= 100) {
_root.pk1.nextFrame();
_root.killer1 = "yes";
}
if (_root.max_pacmen >= 300) {
_root.pk2.nextFrame();
_root.killer2 = "yes";
}
if (_root.max_pacmen >= 600) {
_root.pk3.nextFrame();
_root.killer3 = "yes";
}
_root.lbl_multi++;
if (int(_root.lbl_multi > 1)) {
_root.mc_mul.mcnt.ml = "x" + _root.lbl_multi;
_root.mc_mul._x = _root.ball._x + 15;
_root.mc_mul._y = _root.ball._y - 15;
_root.mc_mul.gotoAndPlay(2);
}
if (_root.end_game == "yes") {
_root.lbl_score = _root.lbl_score + (50 * int(_root.lbl_multi));
} else {
_root.lbl_score = _root.lbl_score + (10 * int(_root.lbl_multi));
}
if (_root.pacmen_cnt > 0) {
_root.pacmen_cnt--;
}
if (_root.expl_cnt > 5) {
_root.expl_cnt = 0;
}
_root.expl_cnt++;
_root.expl.duplicateMovieClip("expl" + _root.expl_cnt, _root.expl_cnt);
_root["expl" + _root.expl_cnt]._x = _x;
_root["expl" + _root.expl_cnt]._y = _y;
_root.ball.ysp = 13;
_root.ball.act = "jump";
xsp = 0;
if (this._currentframe == 1) {
_root["expl" + _root.expl_cnt].gotoAndStop(2);
this.gotoAndStop(5);
} else if (this._currentframe == 2) {
_root["expl" + _root.expl_cnt].gotoAndStop(3);
this.gotoAndStop(6);
} else if (this._currentframe == 3) {
_root["expl" + _root.expl_cnt].gotoAndStop(4);
this.gotoAndStop(7);
} else if (this._currentframe == 4) {
_root["expl" + _root.expl_cnt].gotoAndStop(5);
this.gotoAndStop(8);
}
}
}
Instance of Symbol 147 MovieClip "pac8" in Frame 15
onClipEvent (load) {
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
onClipEvent (enterFrame) {
_x = (_x + xsp);
if (_x > 480) {
_x = 80;
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
if (this.hit.hitTest(_root.hit) && (_root.ball.act == "fall")) {
if (_root.p1._currentframe == 1) {
if (this._currentframe == 1) {
_root.p1.gotoAndStop(2);
} else if (this._currentframe == 2) {
_root.p1.gotoAndStop(3);
} else if (this._currentframe == 3) {
_root.p1.gotoAndStop(4);
} else if (this._currentframe == 4) {
_root.p1.gotoAndStop(5);
}
} else if (_root.p2._currentframe == 1) {
if (this._currentframe == (_root.p1._currentframe - 1)) {
_root.p2.gotoAndStop(_root.p1._currentframe);
} else {
_root.p2.gotoAndStop(1);
_root.p1.gotoAndStop(this._currentframe + 1);
}
} else if (_root.p3._currentframe == 1) {
if (this._currentframe == (_root.p2._currentframe - 1)) {
_root.p3.gotoAndStop(_root.p2._currentframe);
} else {
_root.p1.gotoAndStop(this._currentframe + 1);
_root.p3.gotoAndStop(1);
_root.p2.gotoAndStop(1);
}
}
_root.max_pacmen++;
if (_root.max_combo < int(_root.lbl_multi)) {
_root.max_combo = _root.lbl_multi;
if (int(_root.max_combo >= 19)) {
_root.cr1.nextFrame();
_root.co_cra1 = "yes";
}
if (int(_root.max_combo >= 49)) {
_root.cr2.nextFrame();
_root.co_cra2 = "yes";
}
if (int(_root.max_combo >= 79)) {
_root.cr3.nextFrame();
_root.co_cra3 = "yes";
}
}
if (_root.max_pacmen >= 100) {
_root.pk1.nextFrame();
_root.killer1 = "yes";
}
if (_root.max_pacmen >= 300) {
_root.pk2.nextFrame();
_root.killer2 = "yes";
}
if (_root.max_pacmen >= 600) {
_root.pk3.nextFrame();
_root.killer3 = "yes";
}
_root.lbl_multi++;
if (int(_root.lbl_multi > 1)) {
_root.mc_mul.mcnt.ml = "x" + _root.lbl_multi;
_root.mc_mul._x = _root.ball._x + 15;
_root.mc_mul._y = _root.ball._y - 15;
_root.mc_mul.gotoAndPlay(2);
}
if (_root.end_game == "yes") {
_root.lbl_score = _root.lbl_score + (50 * int(_root.lbl_multi));
} else {
_root.lbl_score = _root.lbl_score + (10 * int(_root.lbl_multi));
}
if (_root.pacmen_cnt > 0) {
_root.pacmen_cnt--;
}
if (_root.expl_cnt > 5) {
_root.expl_cnt = 0;
}
_root.expl_cnt++;
_root.expl.duplicateMovieClip("expl" + _root.expl_cnt, _root.expl_cnt);
_root["expl" + _root.expl_cnt]._x = _x;
_root["expl" + _root.expl_cnt]._y = _y;
_root.ball.ysp = 13;
_root.ball.act = "jump";
xsp = 0;
if (this._currentframe == 1) {
_root["expl" + _root.expl_cnt].gotoAndStop(2);
this.gotoAndStop(5);
} else if (this._currentframe == 2) {
_root["expl" + _root.expl_cnt].gotoAndStop(3);
this.gotoAndStop(6);
} else if (this._currentframe == 3) {
_root["expl" + _root.expl_cnt].gotoAndStop(4);
this.gotoAndStop(7);
} else if (this._currentframe == 4) {
_root["expl" + _root.expl_cnt].gotoAndStop(5);
this.gotoAndStop(8);
}
}
}
Instance of Symbol 147 MovieClip "pac7" in Frame 15
onClipEvent (load) {
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
onClipEvent (enterFrame) {
_x = (_x + xsp);
if (_x > 480) {
_x = 80;
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
if (this.hit.hitTest(_root.hit) && (_root.ball.act == "fall")) {
if (_root.p1._currentframe == 1) {
if (this._currentframe == 1) {
_root.p1.gotoAndStop(2);
} else if (this._currentframe == 2) {
_root.p1.gotoAndStop(3);
} else if (this._currentframe == 3) {
_root.p1.gotoAndStop(4);
} else if (this._currentframe == 4) {
_root.p1.gotoAndStop(5);
}
} else if (_root.p2._currentframe == 1) {
if (this._currentframe == (_root.p1._currentframe - 1)) {
_root.p2.gotoAndStop(_root.p1._currentframe);
} else {
_root.p2.gotoAndStop(1);
_root.p1.gotoAndStop(this._currentframe + 1);
}
} else if (_root.p3._currentframe == 1) {
if (this._currentframe == (_root.p2._currentframe - 1)) {
_root.p3.gotoAndStop(_root.p2._currentframe);
} else {
_root.p1.gotoAndStop(this._currentframe + 1);
_root.p3.gotoAndStop(1);
_root.p2.gotoAndStop(1);
}
}
_root.max_pacmen++;
if (_root.max_combo < int(_root.lbl_multi)) {
_root.max_combo = _root.lbl_multi;
if (int(_root.max_combo >= 19)) {
_root.cr1.nextFrame();
_root.co_cra1 = "yes";
}
if (int(_root.max_combo >= 49)) {
_root.cr2.nextFrame();
_root.co_cra2 = "yes";
}
if (int(_root.max_combo >= 79)) {
_root.cr3.nextFrame();
_root.co_cra3 = "yes";
}
}
if (_root.max_pacmen >= 100) {
_root.pk1.nextFrame();
_root.killer1 = "yes";
}
if (_root.max_pacmen >= 300) {
_root.pk2.nextFrame();
_root.killer2 = "yes";
}
if (_root.max_pacmen >= 600) {
_root.pk3.nextFrame();
_root.killer3 = "yes";
}
_root.lbl_multi++;
if (int(_root.lbl_multi > 1)) {
_root.mc_mul.mcnt.ml = "x" + _root.lbl_multi;
_root.mc_mul._x = _root.ball._x + 15;
_root.mc_mul._y = _root.ball._y - 15;
_root.mc_mul.gotoAndPlay(2);
}
if (_root.end_game == "yes") {
_root.lbl_score = _root.lbl_score + (50 * int(_root.lbl_multi));
} else {
_root.lbl_score = _root.lbl_score + (10 * int(_root.lbl_multi));
}
if (_root.pacmen_cnt > 0) {
_root.pacmen_cnt--;
}
if (_root.expl_cnt > 5) {
_root.expl_cnt = 0;
}
_root.expl_cnt++;
_root.expl.duplicateMovieClip("expl" + _root.expl_cnt, _root.expl_cnt);
_root["expl" + _root.expl_cnt]._x = _x;
_root["expl" + _root.expl_cnt]._y = _y;
_root.ball.ysp = 13;
_root.ball.act = "jump";
xsp = 0;
if (this._currentframe == 1) {
_root["expl" + _root.expl_cnt].gotoAndStop(2);
this.gotoAndStop(5);
} else if (this._currentframe == 2) {
_root["expl" + _root.expl_cnt].gotoAndStop(3);
this.gotoAndStop(6);
} else if (this._currentframe == 3) {
_root["expl" + _root.expl_cnt].gotoAndStop(4);
this.gotoAndStop(7);
} else if (this._currentframe == 4) {
_root["expl" + _root.expl_cnt].gotoAndStop(5);
this.gotoAndStop(8);
}
}
}
Instance of Symbol 147 MovieClip "pac5" in Frame 15
onClipEvent (load) {
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
onClipEvent (enterFrame) {
_x = (_x + xsp);
if (_x > 480) {
_x = 80;
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
if (this.hit.hitTest(_root.hit) && (_root.ball.act == "fall")) {
if (_root.p1._currentframe == 1) {
if (this._currentframe == 1) {
_root.p1.gotoAndStop(2);
} else if (this._currentframe == 2) {
_root.p1.gotoAndStop(3);
} else if (this._currentframe == 3) {
_root.p1.gotoAndStop(4);
} else if (this._currentframe == 4) {
_root.p1.gotoAndStop(5);
}
} else if (_root.p2._currentframe == 1) {
if (this._currentframe == (_root.p1._currentframe - 1)) {
_root.p2.gotoAndStop(_root.p1._currentframe);
} else {
_root.p2.gotoAndStop(1);
_root.p1.gotoAndStop(this._currentframe + 1);
}
} else if (_root.p3._currentframe == 1) {
if (this._currentframe == (_root.p2._currentframe - 1)) {
_root.p3.gotoAndStop(_root.p2._currentframe);
} else {
_root.p1.gotoAndStop(this._currentframe + 1);
_root.p3.gotoAndStop(1);
_root.p2.gotoAndStop(1);
}
}
_root.max_pacmen++;
if (_root.max_combo < int(_root.lbl_multi)) {
_root.max_combo = _root.lbl_multi;
if (int(_root.max_combo >= 19)) {
_root.cr1.nextFrame();
_root.co_cra1 = "yes";
}
if (int(_root.max_combo >= 49)) {
_root.cr2.nextFrame();
_root.co_cra2 = "yes";
}
if (int(_root.max_combo >= 79)) {
_root.cr3.nextFrame();
_root.co_cra3 = "yes";
}
}
if (_root.max_pacmen >= 100) {
_root.pk1.nextFrame();
_root.killer1 = "yes";
}
if (_root.max_pacmen >= 300) {
_root.pk2.nextFrame();
_root.killer2 = "yes";
}
if (_root.max_pacmen >= 600) {
_root.pk3.nextFrame();
_root.killer3 = "yes";
}
_root.lbl_multi++;
if (int(_root.lbl_multi > 1)) {
_root.mc_mul.mcnt.ml = "x" + _root.lbl_multi;
_root.mc_mul._x = _root.ball._x + 15;
_root.mc_mul._y = _root.ball._y - 15;
_root.mc_mul.gotoAndPlay(2);
}
if (_root.end_game == "yes") {
_root.lbl_score = _root.lbl_score + (50 * int(_root.lbl_multi));
} else {
_root.lbl_score = _root.lbl_score + (10 * int(_root.lbl_multi));
}
if (_root.pacmen_cnt > 0) {
_root.pacmen_cnt--;
}
if (_root.expl_cnt > 5) {
_root.expl_cnt = 0;
}
_root.expl_cnt++;
_root.expl.duplicateMovieClip("expl" + _root.expl_cnt, _root.expl_cnt);
_root["expl" + _root.expl_cnt]._x = _x;
_root["expl" + _root.expl_cnt]._y = _y;
_root.ball.ysp = 13;
_root.ball.act = "jump";
xsp = 0;
if (this._currentframe == 1) {
_root["expl" + _root.expl_cnt].gotoAndStop(2);
this.gotoAndStop(5);
} else if (this._currentframe == 2) {
_root["expl" + _root.expl_cnt].gotoAndStop(3);
this.gotoAndStop(6);
} else if (this._currentframe == 3) {
_root["expl" + _root.expl_cnt].gotoAndStop(4);
this.gotoAndStop(7);
} else if (this._currentframe == 4) {
_root["expl" + _root.expl_cnt].gotoAndStop(5);
this.gotoAndStop(8);
}
}
}
Instance of Symbol 147 MovieClip "pac3" in Frame 15
onClipEvent (load) {
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
onClipEvent (enterFrame) {
_x = (_x + xsp);
if (_x > 480) {
_x = 80;
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
if (this.hit.hitTest(_root.hit) && (_root.ball.act == "fall")) {
if (_root.p1._currentframe == 1) {
if (this._currentframe == 1) {
_root.p1.gotoAndStop(2);
} else if (this._currentframe == 2) {
_root.p1.gotoAndStop(3);
} else if (this._currentframe == 3) {
_root.p1.gotoAndStop(4);
} else if (this._currentframe == 4) {
_root.p1.gotoAndStop(5);
}
} else if (_root.p2._currentframe == 1) {
if (this._currentframe == (_root.p1._currentframe - 1)) {
_root.p2.gotoAndStop(_root.p1._currentframe);
} else {
_root.p2.gotoAndStop(1);
_root.p1.gotoAndStop(this._currentframe + 1);
}
} else if (_root.p3._currentframe == 1) {
if (this._currentframe == (_root.p2._currentframe - 1)) {
_root.p3.gotoAndStop(_root.p2._currentframe);
} else {
_root.p1.gotoAndStop(this._currentframe + 1);
_root.p3.gotoAndStop(1);
_root.p2.gotoAndStop(1);
}
}
_root.max_pacmen++;
if (_root.max_combo < int(_root.lbl_multi)) {
_root.max_combo = _root.lbl_multi;
if (int(_root.max_combo >= 19)) {
_root.cr1.nextFrame();
_root.co_cra1 = "yes";
}
if (int(_root.max_combo >= 49)) {
_root.cr2.nextFrame();
_root.co_cra2 = "yes";
}
if (int(_root.max_combo >= 79)) {
_root.cr3.nextFrame();
_root.co_cra3 = "yes";
}
}
if (_root.max_pacmen >= 100) {
_root.pk1.nextFrame();
_root.killer1 = "yes";
}
if (_root.max_pacmen >= 300) {
_root.pk2.nextFrame();
_root.killer2 = "yes";
}
if (_root.max_pacmen >= 600) {
_root.pk3.nextFrame();
_root.killer3 = "yes";
}
_root.lbl_multi++;
if (int(_root.lbl_multi > 1)) {
_root.mc_mul.mcnt.ml = "x" + _root.lbl_multi;
_root.mc_mul._x = _root.ball._x + 15;
_root.mc_mul._y = _root.ball._y - 15;
_root.mc_mul.gotoAndPlay(2);
}
if (_root.end_game == "yes") {
_root.lbl_score = _root.lbl_score + (50 * int(_root.lbl_multi));
} else {
_root.lbl_score = _root.lbl_score + (10 * int(_root.lbl_multi));
}
if (_root.pacmen_cnt > 0) {
_root.pacmen_cnt--;
}
if (_root.expl_cnt > 5) {
_root.expl_cnt = 0;
}
_root.expl_cnt++;
_root.expl.duplicateMovieClip("expl" + _root.expl_cnt, _root.expl_cnt);
_root["expl" + _root.expl_cnt]._x = _x;
_root["expl" + _root.expl_cnt]._y = _y;
_root.ball.ysp = 13;
_root.ball.act = "jump";
xsp = 0;
if (this._currentframe == 1) {
_root["expl" + _root.expl_cnt].gotoAndStop(2);
this.gotoAndStop(5);
} else if (this._currentframe == 2) {
_root["expl" + _root.expl_cnt].gotoAndStop(3);
this.gotoAndStop(6);
} else if (this._currentframe == 3) {
_root["expl" + _root.expl_cnt].gotoAndStop(4);
this.gotoAndStop(7);
} else if (this._currentframe == 4) {
_root["expl" + _root.expl_cnt].gotoAndStop(5);
this.gotoAndStop(8);
}
}
}
Instance of Symbol 147 MovieClip "pac11" in Frame 15
onClipEvent (load) {
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
onClipEvent (enterFrame) {
_x = (_x + xsp);
if (_x > 480) {
_x = 80;
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
if (this.hit.hitTest(_root.hit) && (_root.ball.act == "fall")) {
if (_root.p1._currentframe == 1) {
if (this._currentframe == 1) {
_root.p1.gotoAndStop(2);
} else if (this._currentframe == 2) {
_root.p1.gotoAndStop(3);
} else if (this._currentframe == 3) {
_root.p1.gotoAndStop(4);
} else if (this._currentframe == 4) {
_root.p1.gotoAndStop(5);
}
} else if (_root.p2._currentframe == 1) {
if (this._currentframe == (_root.p1._currentframe - 1)) {
_root.p2.gotoAndStop(_root.p1._currentframe);
} else {
_root.p2.gotoAndStop(1);
_root.p1.gotoAndStop(this._currentframe + 1);
}
} else if (_root.p3._currentframe == 1) {
if (this._currentframe == (_root.p2._currentframe - 1)) {
_root.p3.gotoAndStop(_root.p2._currentframe);
} else {
_root.p1.gotoAndStop(this._currentframe + 1);
_root.p3.gotoAndStop(1);
_root.p2.gotoAndStop(1);
}
}
_root.max_pacmen++;
if (_root.max_combo < int(_root.lbl_multi)) {
_root.max_combo = _root.lbl_multi;
if (int(_root.max_combo >= 19)) {
_root.cr1.nextFrame();
_root.co_cra1 = "yes";
}
if (int(_root.max_combo >= 49)) {
_root.cr2.nextFrame();
_root.co_cra2 = "yes";
}
if (int(_root.max_combo >= 79)) {
_root.cr3.nextFrame();
_root.co_cra3 = "yes";
}
}
if (_root.max_pacmen >= 100) {
_root.pk1.nextFrame();
_root.killer1 = "yes";
}
if (_root.max_pacmen >= 300) {
_root.pk2.nextFrame();
_root.killer2 = "yes";
}
if (_root.max_pacmen >= 600) {
_root.pk3.nextFrame();
_root.killer3 = "yes";
}
_root.lbl_multi++;
if (int(_root.lbl_multi > 1)) {
_root.mc_mul.mcnt.ml = "x" + _root.lbl_multi;
_root.mc_mul._x = _root.ball._x + 15;
_root.mc_mul._y = _root.ball._y - 15;
_root.mc_mul.gotoAndPlay(2);
}
if (_root.end_game == "yes") {
_root.lbl_score = _root.lbl_score + (50 * int(_root.lbl_multi));
} else {
_root.lbl_score = _root.lbl_score + (10 * int(_root.lbl_multi));
}
if (_root.pacmen_cnt > 0) {
_root.pacmen_cnt--;
}
if (_root.expl_cnt > 5) {
_root.expl_cnt = 0;
}
_root.expl_cnt++;
_root.expl.duplicateMovieClip("expl" + _root.expl_cnt, _root.expl_cnt);
_root["expl" + _root.expl_cnt]._x = _x;
_root["expl" + _root.expl_cnt]._y = _y;
_root.ball.ysp = 13;
_root.ball.act = "jump";
xsp = 0;
if (this._currentframe == 1) {
_root["expl" + _root.expl_cnt].gotoAndStop(2);
this.gotoAndStop(5);
} else if (this._currentframe == 2) {
_root["expl" + _root.expl_cnt].gotoAndStop(3);
this.gotoAndStop(6);
} else if (this._currentframe == 3) {
_root["expl" + _root.expl_cnt].gotoAndStop(4);
this.gotoAndStop(7);
} else if (this._currentframe == 4) {
_root["expl" + _root.expl_cnt].gotoAndStop(5);
this.gotoAndStop(8);
}
}
}
Instance of Symbol 147 MovieClip "pac17" in Frame 15
onClipEvent (load) {
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
onClipEvent (enterFrame) {
_x = (_x + xsp);
if (_x > 480) {
_x = 80;
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
if (this.hit.hitTest(_root.hit) && (_root.ball.act == "fall")) {
if (_root.p1._currentframe == 1) {
if (this._currentframe == 1) {
_root.p1.gotoAndStop(2);
} else if (this._currentframe == 2) {
_root.p1.gotoAndStop(3);
} else if (this._currentframe == 3) {
_root.p1.gotoAndStop(4);
} else if (this._currentframe == 4) {
_root.p1.gotoAndStop(5);
}
} else if (_root.p2._currentframe == 1) {
if (this._currentframe == (_root.p1._currentframe - 1)) {
_root.p2.gotoAndStop(_root.p1._currentframe);
} else {
_root.p2.gotoAndStop(1);
_root.p1.gotoAndStop(this._currentframe + 1);
}
} else if (_root.p3._currentframe == 1) {
if (this._currentframe == (_root.p2._currentframe - 1)) {
_root.p3.gotoAndStop(_root.p2._currentframe);
} else {
_root.p1.gotoAndStop(this._currentframe + 1);
_root.p3.gotoAndStop(1);
_root.p2.gotoAndStop(1);
}
}
_root.max_pacmen++;
if (_root.max_combo < int(_root.lbl_multi)) {
_root.max_combo = _root.lbl_multi;
if (int(_root.max_combo >= 19)) {
_root.cr1.nextFrame();
_root.co_cra1 = "yes";
}
if (int(_root.max_combo >= 49)) {
_root.cr2.nextFrame();
_root.co_cra2 = "yes";
}
if (int(_root.max_combo >= 79)) {
_root.cr3.nextFrame();
_root.co_cra3 = "yes";
}
}
if (_root.max_pacmen >= 100) {
_root.pk1.nextFrame();
_root.killer1 = "yes";
}
if (_root.max_pacmen >= 300) {
_root.pk2.nextFrame();
_root.killer2 = "yes";
}
if (_root.max_pacmen >= 600) {
_root.pk3.nextFrame();
_root.killer3 = "yes";
}
_root.lbl_multi++;
if (int(_root.lbl_multi > 1)) {
_root.mc_mul.mcnt.ml = "x" + _root.lbl_multi;
_root.mc_mul._x = _root.ball._x + 15;
_root.mc_mul._y = _root.ball._y - 15;
_root.mc_mul.gotoAndPlay(2);
}
if (_root.end_game == "yes") {
_root.lbl_score = _root.lbl_score + (50 * int(_root.lbl_multi));
} else {
_root.lbl_score = _root.lbl_score + (10 * int(_root.lbl_multi));
}
if (_root.pacmen_cnt > 0) {
_root.pacmen_cnt--;
}
if (_root.expl_cnt > 5) {
_root.expl_cnt = 0;
}
_root.expl_cnt++;
_root.expl.duplicateMovieClip("expl" + _root.expl_cnt, _root.expl_cnt);
_root["expl" + _root.expl_cnt]._x = _x;
_root["expl" + _root.expl_cnt]._y = _y;
_root.ball.ysp = 13;
_root.ball.act = "jump";
xsp = 0;
if (this._currentframe == 1) {
_root["expl" + _root.expl_cnt].gotoAndStop(2);
this.gotoAndStop(5);
} else if (this._currentframe == 2) {
_root["expl" + _root.expl_cnt].gotoAndStop(3);
this.gotoAndStop(6);
} else if (this._currentframe == 3) {
_root["expl" + _root.expl_cnt].gotoAndStop(4);
this.gotoAndStop(7);
} else if (this._currentframe == 4) {
_root["expl" + _root.expl_cnt].gotoAndStop(5);
this.gotoAndStop(8);
}
}
}
Instance of Symbol 147 MovieClip "pac18" in Frame 15
onClipEvent (load) {
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
onClipEvent (enterFrame) {
_x = (_x + xsp);
if (_x > 480) {
_x = 80;
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
if (this.hit.hitTest(_root.hit) && (_root.ball.act == "fall")) {
if (_root.p1._currentframe == 1) {
if (this._currentframe == 1) {
_root.p1.gotoAndStop(2);
} else if (this._currentframe == 2) {
_root.p1.gotoAndStop(3);
} else if (this._currentframe == 3) {
_root.p1.gotoAndStop(4);
} else if (this._currentframe == 4) {
_root.p1.gotoAndStop(5);
}
} else if (_root.p2._currentframe == 1) {
if (this._currentframe == (_root.p1._currentframe - 1)) {
_root.p2.gotoAndStop(_root.p1._currentframe);
} else {
_root.p2.gotoAndStop(1);
_root.p1.gotoAndStop(this._currentframe + 1);
}
} else if (_root.p3._currentframe == 1) {
if (this._currentframe == (_root.p2._currentframe - 1)) {
_root.p3.gotoAndStop(_root.p2._currentframe);
} else {
_root.p1.gotoAndStop(this._currentframe + 1);
_root.p3.gotoAndStop(1);
_root.p2.gotoAndStop(1);
}
}
_root.max_pacmen++;
if (_root.max_combo < int(_root.lbl_multi)) {
_root.max_combo = _root.lbl_multi;
if (int(_root.max_combo >= 19)) {
_root.cr1.nextFrame();
_root.co_cra1 = "yes";
}
if (int(_root.max_combo >= 49)) {
_root.cr2.nextFrame();
_root.co_cra2 = "yes";
}
if (int(_root.max_combo >= 79)) {
_root.cr3.nextFrame();
_root.co_cra3 = "yes";
}
}
if (_root.max_pacmen >= 100) {
_root.pk1.nextFrame();
_root.killer1 = "yes";
}
if (_root.max_pacmen >= 300) {
_root.pk2.nextFrame();
_root.killer2 = "yes";
}
if (_root.max_pacmen >= 600) {
_root.pk3.nextFrame();
_root.killer3 = "yes";
}
_root.lbl_multi++;
if (int(_root.lbl_multi > 1)) {
_root.mc_mul.mcnt.ml = "x" + _root.lbl_multi;
_root.mc_mul._x = _root.ball._x + 15;
_root.mc_mul._y = _root.ball._y - 15;
_root.mc_mul.gotoAndPlay(2);
}
if (_root.end_game == "yes") {
_root.lbl_score = _root.lbl_score + (50 * int(_root.lbl_multi));
} else {
_root.lbl_score = _root.lbl_score + (10 * int(_root.lbl_multi));
}
if (_root.pacmen_cnt > 0) {
_root.pacmen_cnt--;
}
if (_root.expl_cnt > 5) {
_root.expl_cnt = 0;
}
_root.expl_cnt++;
_root.expl.duplicateMovieClip("expl" + _root.expl_cnt, _root.expl_cnt);
_root["expl" + _root.expl_cnt]._x = _x;
_root["expl" + _root.expl_cnt]._y = _y;
_root.ball.ysp = 13;
_root.ball.act = "jump";
xsp = 0;
if (this._currentframe == 1) {
_root["expl" + _root.expl_cnt].gotoAndStop(2);
this.gotoAndStop(5);
} else if (this._currentframe == 2) {
_root["expl" + _root.expl_cnt].gotoAndStop(3);
this.gotoAndStop(6);
} else if (this._currentframe == 3) {
_root["expl" + _root.expl_cnt].gotoAndStop(4);
this.gotoAndStop(7);
} else if (this._currentframe == 4) {
_root["expl" + _root.expl_cnt].gotoAndStop(5);
this.gotoAndStop(8);
}
}
}
Instance of Symbol 147 MovieClip "pac19" in Frame 15
onClipEvent (load) {
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
onClipEvent (enterFrame) {
_x = (_x + xsp);
if (_x > 480) {
_x = 80;
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
if (this.hit.hitTest(_root.hit) && (_root.ball.act == "fall")) {
if (_root.p1._currentframe == 1) {
if (this._currentframe == 1) {
_root.p1.gotoAndStop(2);
} else if (this._currentframe == 2) {
_root.p1.gotoAndStop(3);
} else if (this._currentframe == 3) {
_root.p1.gotoAndStop(4);
} else if (this._currentframe == 4) {
_root.p1.gotoAndStop(5);
}
} else if (_root.p2._currentframe == 1) {
if (this._currentframe == (_root.p1._currentframe - 1)) {
_root.p2.gotoAndStop(_root.p1._currentframe);
} else {
_root.p2.gotoAndStop(1);
_root.p1.gotoAndStop(this._currentframe + 1);
}
} else if (_root.p3._currentframe == 1) {
if (this._currentframe == (_root.p2._currentframe - 1)) {
_root.p3.gotoAndStop(_root.p2._currentframe);
} else {
_root.p1.gotoAndStop(this._currentframe + 1);
_root.p3.gotoAndStop(1);
_root.p2.gotoAndStop(1);
}
}
_root.max_pacmen++;
if (_root.max_combo < int(_root.lbl_multi)) {
_root.max_combo = _root.lbl_multi;
if (int(_root.max_combo >= 19)) {
_root.cr1.nextFrame();
_root.co_cra1 = "yes";
}
if (int(_root.max_combo >= 49)) {
_root.cr2.nextFrame();
_root.co_cra2 = "yes";
}
if (int(_root.max_combo >= 79)) {
_root.cr3.nextFrame();
_root.co_cra3 = "yes";
}
}
if (_root.max_pacmen >= 100) {
_root.pk1.nextFrame();
_root.killer1 = "yes";
}
if (_root.max_pacmen >= 300) {
_root.pk2.nextFrame();
_root.killer2 = "yes";
}
if (_root.max_pacmen >= 600) {
_root.pk3.nextFrame();
_root.killer3 = "yes";
}
_root.lbl_multi++;
if (int(_root.lbl_multi > 1)) {
_root.mc_mul.mcnt.ml = "x" + _root.lbl_multi;
_root.mc_mul._x = _root.ball._x + 15;
_root.mc_mul._y = _root.ball._y - 15;
_root.mc_mul.gotoAndPlay(2);
}
if (_root.end_game == "yes") {
_root.lbl_score = _root.lbl_score + (50 * int(_root.lbl_multi));
} else {
_root.lbl_score = _root.lbl_score + (10 * int(_root.lbl_multi));
}
if (_root.pacmen_cnt > 0) {
_root.pacmen_cnt--;
}
if (_root.expl_cnt > 5) {
_root.expl_cnt = 0;
}
_root.expl_cnt++;
_root.expl.duplicateMovieClip("expl" + _root.expl_cnt, _root.expl_cnt);
_root["expl" + _root.expl_cnt]._x = _x;
_root["expl" + _root.expl_cnt]._y = _y;
_root.ball.ysp = 13;
_root.ball.act = "jump";
xsp = 0;
if (this._currentframe == 1) {
_root["expl" + _root.expl_cnt].gotoAndStop(2);
this.gotoAndStop(5);
} else if (this._currentframe == 2) {
_root["expl" + _root.expl_cnt].gotoAndStop(3);
this.gotoAndStop(6);
} else if (this._currentframe == 3) {
_root["expl" + _root.expl_cnt].gotoAndStop(4);
this.gotoAndStop(7);
} else if (this._currentframe == 4) {
_root["expl" + _root.expl_cnt].gotoAndStop(5);
this.gotoAndStop(8);
}
}
}
Instance of Symbol 147 MovieClip "pac20" in Frame 15
onClipEvent (load) {
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
onClipEvent (enterFrame) {
_x = (_x + xsp);
if (_x > 480) {
_x = 80;
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
if (this.hit.hitTest(_root.hit) && (_root.ball.act == "fall")) {
if (_root.p1._currentframe == 1) {
if (this._currentframe == 1) {
_root.p1.gotoAndStop(2);
} else if (this._currentframe == 2) {
_root.p1.gotoAndStop(3);
} else if (this._currentframe == 3) {
_root.p1.gotoAndStop(4);
} else if (this._currentframe == 4) {
_root.p1.gotoAndStop(5);
}
} else if (_root.p2._currentframe == 1) {
if (this._currentframe == (_root.p1._currentframe - 1)) {
_root.p2.gotoAndStop(_root.p1._currentframe);
} else {
_root.p2.gotoAndStop(1);
_root.p1.gotoAndStop(this._currentframe + 1);
}
} else if (_root.p3._currentframe == 1) {
if (this._currentframe == (_root.p2._currentframe - 1)) {
_root.p3.gotoAndStop(_root.p2._currentframe);
} else {
_root.p1.gotoAndStop(this._currentframe + 1);
_root.p3.gotoAndStop(1);
_root.p2.gotoAndStop(1);
}
}
_root.max_pacmen++;
if (_root.max_combo < int(_root.lbl_multi)) {
_root.max_combo = _root.lbl_multi;
if (int(_root.max_combo >= 19)) {
_root.cr1.nextFrame();
_root.co_cra1 = "yes";
}
if (int(_root.max_combo >= 49)) {
_root.cr2.nextFrame();
_root.co_cra2 = "yes";
}
if (int(_root.max_combo >= 79)) {
_root.cr3.nextFrame();
_root.co_cra3 = "yes";
}
}
if (_root.max_pacmen >= 100) {
_root.pk1.nextFrame();
_root.killer1 = "yes";
}
if (_root.max_pacmen >= 300) {
_root.pk2.nextFrame();
_root.killer2 = "yes";
}
if (_root.max_pacmen >= 600) {
_root.pk3.nextFrame();
_root.killer3 = "yes";
}
_root.lbl_multi++;
if (int(_root.lbl_multi > 1)) {
_root.mc_mul.mcnt.ml = "x" + _root.lbl_multi;
_root.mc_mul._x = _root.ball._x + 15;
_root.mc_mul._y = _root.ball._y - 15;
_root.mc_mul.gotoAndPlay(2);
}
if (_root.end_game == "yes") {
_root.lbl_score = _root.lbl_score + (50 * int(_root.lbl_multi));
} else {
_root.lbl_score = _root.lbl_score + (10 * int(_root.lbl_multi));
}
if (_root.pacmen_cnt > 0) {
_root.pacmen_cnt--;
}
if (_root.expl_cnt > 5) {
_root.expl_cnt = 0;
}
_root.expl_cnt++;
_root.expl.duplicateMovieClip("expl" + _root.expl_cnt, _root.expl_cnt);
_root["expl" + _root.expl_cnt]._x = _x;
_root["expl" + _root.expl_cnt]._y = _y;
_root.ball.ysp = 13;
_root.ball.act = "jump";
xsp = 0;
if (this._currentframe == 1) {
_root["expl" + _root.expl_cnt].gotoAndStop(2);
this.gotoAndStop(5);
} else if (this._currentframe == 2) {
_root["expl" + _root.expl_cnt].gotoAndStop(3);
this.gotoAndStop(6);
} else if (this._currentframe == 3) {
_root["expl" + _root.expl_cnt].gotoAndStop(4);
this.gotoAndStop(7);
} else if (this._currentframe == 4) {
_root["expl" + _root.expl_cnt].gotoAndStop(5);
this.gotoAndStop(8);
}
}
}
Instance of Symbol 170 MovieClip "pink_pac" in Frame 15
onClipEvent (load) {
xsp = random(5) + 3;
_y = (random(100) + 200);
}
onClipEvent (enterFrame) {
if (_root.pacmen_cnt < 20) {
start_pink = 1;
}
if (start_pink) {
_x = (_x + xsp);
if (_x > 480) {
this.gotoAndStop(3);
}
if (this.hit.hitTest(_root.hit) && (_root.ball.act == "fall")) {
_root.pink_pacmen++;
if (_root.pink_pacmen >= 3) {
_root.pink1.nextFrame();
}
if (_root.pink_pacmen >= 6) {
_root.pink2.nextFrame();
}
if (_root.pink_pacmen >= 10) {
_root.pink3.nextFrame();
}
_root.max_pacmen++;
if (_root.max_combo < int(_root.lbl_multi)) {
_root.max_combo = _root.lbl_multi;
if (int(_root.max_combo >= 19)) {
_root.cr1.nextFrame();
_root.co_cra1 = "yes";
}
if (int(_root.max_combo >= 49)) {
_root.cr2.nextFrame();
_root.co_cra2 = "yes";
}
if (int(_root.max_combo >= 79)) {
_root.cr3.nextFrame();
_root.co_cra3 = "yes";
}
}
if (_root.max_pacmen >= 100) {
_root.pk1.nextFrame();
_root.killer1 = "yes";
}
if (_root.max_pacmen >= 300) {
_root.pk2.nextFrame();
_root.killer2 = "yes";
}
if (_root.max_pacmen >= 600) {
_root.pk3.nextFrame();
_root.killer3 = "yes";
}
_root.lbl_multi++;
if (int(_root.lbl_multi > 1)) {
_root.mc_mul.mcnt.ml = "x" + _root.lbl_multi;
_root.mc_mul._x = _root.ball._x + 15;
_root.mc_mul._y = _root.ball._y - 15;
_root.mc_mul.gotoAndPlay(2);
}
if (_root.end_game == "yes") {
_root.lbl_score = _root.lbl_score + (5000 * int(_root.lbl_multi));
} else {
_root.lbl_score = _root.lbl_score + (1000 * int(_root.lbl_multi));
}
if (_root.pacmen_cnt > 0) {
_root.pacmen_cnt--;
}
if (_root.expl_cnt > 5) {
_root.expl_cnt = 0;
}
_root.ball.ysp = 13;
_root.ball.act = "jump";
xsp = 0;
this.gotoAndStop(2);
}
}
}
Instance of Symbol 197 MovieClip "ball" in Frame 15
onClipEvent (load) {
var glevel = _y;
var ysp = 0;
var xsp = 5;
var act = "ground";
var xsp2 = 3;
var m_dir = "";
j = 20;
}
onClipEvent (keyUp) {
if (m_dir == "left") {
roll_left = 1;
m_dir = "";
xsp2 = 3;
} else if (m_dir == "right") {
roll_right = 1;
m_dir = "";
xsp2 = 3;
}
}
onClipEvent (enterFrame) {
if (this._currentframe != 3) {
if (_root.p3._currentframe == 2) {
if (j > 40) {
j = 20;
}
j++;
_root.b_a.duplicateMovieClip("b_a" + j, j);
_root["b_a" + j]._x = _x;
_root["b_a" + j]._y = _y;
} else if (_root.p3._currentframe == 3) {
if (j > 40) {
j = 20;
}
j++;
_root.b_b.duplicateMovieClip("b_b" + j, j);
_root["b_b" + j]._x = _x;
_root["b_b" + j]._y = _y;
} else if (_root.p3._currentframe == 4) {
if (j > 40) {
j = 20;
}
j++;
_root.b_c.duplicateMovieClip("b_c" + j, j);
_root["b_c" + j]._x = _x;
_root["b_c" + j]._y = _y;
} else if (_root.p3._currentframe == 5) {
if (j > 40) {
j = 20;
}
j++;
_root.b_d.duplicateMovieClip("b_d" + j, j);
_root["b_d" + j]._x = _x;
_root["b_d" + j]._y = _y;
}
if (roll_left) {
xsp2 = xsp2 - 0.5;
_rotation = (_rotation - (xsp2 * 3));
_x = (_x - xsp2);
if (_x < 115) {
_x = 115;
}
if (xsp2 <= 0) {
roll_left = 0;
xsp2 = 3;
}
}
if (roll_right) {
xsp2 = xsp2 - 0.5;
_rotation = (_rotation + (xsp2 * 3));
_x = (_x + xsp2);
if (_x > 430) {
_x = 430;
}
if (xsp2 <= 0) {
roll_right = 0;
xsp2 = 3;
}
}
if (Key.isDown(37)) {
m_dir = "left";
roll_left = 0;
roll_right = 0;
_rotation = (_rotation - (xsp + 5));
_x = (_x - xsp);
if (_x < 115) {
_x = 115;
}
} else if (Key.isDown(39)) {
m_dir = "right";
roll_left = 0;
roll_right = 0;
_rotation = (_rotation + (xsp + 5));
_x = (_x + xsp);
if (_x > 430) {
_x = 430;
}
}
if (act == "fall") {
ysp++;
var i = 0;
while (i < ysp) {
_y = (_y+1);
if (_y >= glevel) {
_y = glevel;
_root.snd_hit_ground.start(0, 0);
_root.lbl_multi = 0;
i = 0;
ysp = i;
act = "ground";
_root.leaves._x = _x;
_root.leaves._y = _y - 30;
_root.leaves.gotoAndPlay(2);
}
i++;
}
} else if (act == "jump") {
ysp--;
this.gotoAndStop(2);
var i = 0;
while (i < ysp) {
_y = (_y-1);
if (ysp <= 1) {
ysp = 0;
act = "fall";
}
i++;
}
}
if (Key.isDown(90) && (act == "ground")) {
_root.snd_jump.start(0, 0);
ysp = 12;
act = "jump";
}
if ((Key.isDown(40) && (act == "jump")) && (_y < (glevel - 5))) {
ysp = 0;
act = "fall";
}
}
}
Instance of Symbol 203 MovieClip "hit" in Frame 15
onClipEvent (enterFrame) {
_x = _root.ball._x;
_y = (_root.ball._y + 15);
}
Instance of Symbol 415 MovieClip "spikeb1" in Frame 15
onClipEvent (load) {
snd_spike = new Sound(this);
snd_spike.attachSound("spike");
Y = _y;
sp = 0;
m_rnd = 1;
s = 8;
j = random(100) + 1;
i = 0;
}
onClipEvent (enterFrame) {
x1 = _x - _root.ball._x;
y1 = _y - _root.ball._y;
dist = Math.sqrt((x1 * x1) + (y1 * y1));
if ((dist < 45) && (_root.ball._currentframe != 3)) {
_root.ball._rotation = 0;
_root.ball.gotoAndStop(3);
_root.b_xpl._x = _root.ball._x;
_root.b_xpl._y = _root.ball._y;
_root.b_xpl.nextFrame();
}
if (m_rnd) {
i++;
if (i == j) {
if (_x < 175) {
snd_spike.start(0, 0);
gright = 1;
} else {
snd_spike.start(0, 0);
gleft = 1;
}
j = random(100) + 1;
i = 0;
m_rnd = 0;
}
}
if (gleft) {
_rotation = (_rotation - (sp * 1.5));
sp = sp + 0.2;
_x = (_x - sp);
if (_x < 100) {
snd_spike.stop();
_x = 100;
bounce_right = 1;
gleft = 0;
sp = 3;
ysp = 8;
}
}
if (bounce_right) {
_rotation = (_rotation + (sp * 1.5));
_x = (_x + sp);
ysp = ysp - 1;
_y = (_y - ysp);
if (_y >= Y) {
sp--;
if (sp <= 0) {
sp = 0;
bounce_right = 0;
m_rnd = 1;
}
_y = Y;
s = s / 2;
ysp = s;
}
}
if (gright) {
_rotation = (_rotation + (sp * 1.5));
sp = sp + 0.2;
_x = (_x + sp);
if (_x > 420) {
snd_spike.stop();
_x = 420;
bounce_left = 1;
gright = 0;
sp = 3;
ysp = 8;
}
}
if (bounce_left) {
_rotation = (_rotation - (sp * 1.5));
_x = (_x - sp);
ysp = ysp - 1;
_y = (_y - ysp);
if (_y >= Y) {
sp--;
if (sp <= 0) {
sp = 0;
bounce_left = 0;
m_rnd = 1;
}
_y = Y;
s = s / 2;
ysp = s;
}
}
}
Instance of Symbol 365 MovieClip "b_a" in Frame 15
onClipEvent (load) {
ysp = 5 * Math.random();
}
onClipEvent (enterFrame) {
if (ysp <= 1) {
this.removeMovieClip();
} else {
ysp = ysp - 0.1;
_y = (_y - ysp);
}
}
Instance of Symbol 369 MovieClip "b_b" in Frame 15
onClipEvent (load) {
ysp = 5 * Math.random();
}
onClipEvent (enterFrame) {
if (ysp <= 1) {
this.removeMovieClip();
} else {
ysp = ysp - 0.1;
_y = (_y - ysp);
}
}
Instance of Symbol 372 MovieClip "b_c" in Frame 15
onClipEvent (load) {
ysp = 5 * Math.random();
}
onClipEvent (enterFrame) {
if (ysp <= 1) {
this.removeMovieClip();
} else {
ysp = ysp - 0.1;
_y = (_y - ysp);
}
}
Instance of Symbol 376 MovieClip "b_d" in Frame 15
onClipEvent (load) {
ysp = 5 * Math.random();
}
onClipEvent (enterFrame) {
if (ysp <= 1) {
this.removeMovieClip();
} else {
ysp = ysp - 0.1;
_y = (_y - ysp);
}
}
Instance of Symbol 245 MovieClip "expl" in Frame 15
onClipEvent (load) {
cframe = _root._currentframe;
if (_x < 130) {
this.removeMovieClip();
}
}
onClipEvent (enterFrame) {
if (cframe != _root._currentframe) {
this.removeMovieClip();
}
}
Instance of Symbol 269 MovieClip "mc_grass" in Frame 15
onClipEvent (load) {
tmpdepth = this.getDepth();
this.swapDepths(100);
}
Instance of Symbol 351 MovieClip "mc_ef" in Frame 15
onClipEvent (load) {
tmpdepth = this.getDepth();
this.swapDepths(110);
}
Frame 16
stop();
if (_root.end_game == "yes") {
_root.time_bon = _root.time_bon + int(_root.lbl_time);
}
Frame 17
_root.snd_stage_bg.start(0, 999);
stop();
tmp_time = 0;
lbl_multi = 0;
expl_cnt = 0;
lbl_time = 60;
bmb_cnt = 3;
pacmen_cnt = -1;
i = 0;
j = 0;
m = 0;
end_game = "";
color_bomb = 0;
_root.onEnterFrame = function () {
var _local3 = new Date();
var _local2 = _local3 - starttime;
while (_local2 < (1000 / DESIREDFRAMERATE)) {
_local3 = new Date();
_local2 = _local3 - starttime;
}
starttime = new Date();
if (lbl_time <= 10) {
_root.mc_pan.nextFrame();
}
if ((lbl_time == 0) && (end_game == "")) {
_root.ball._rotation = 0;
_root.ball.gotoAndStop(3);
_root.b_xpl._x = _root.ball._x;
_root.b_xpl._y = _root.ball._y;
_root.b_xpl.nextFrame();
}
if (((Key.isDown(88) && (color_bomb == 0)) && (_root.p3._currentframe != 1)) && (_root.ball._currentframe != 3)) {
_root.obj1.gotoAndPlay(2);
_root.max_bombs++;
if (_root.max_bombs >= 20) {
_root.col_mayhem.nextFrame();
}
_root.mc_ef.play();
color_bomb = 1;
}
if ((bmb_cnt == 0) && (end_game == "")) {
end_game = "yes";
_root.mc_completed.play();
_root.lbl_score = _root.lbl_score + (int(_root.lbl_time) * int(_root.lbl_time));
}
m++;
if (((m == 30) && (lbl_time > 0)) && (end_game == "")) {
tmp_time++;
lbl_time--;
m = 0;
}
if (end_game == "yes") {
j++;
if ((j == 3) && (i < 21)) {
i++;
if (expl_cnt > 10) {
expl_cnt = 0;
}
expl_cnt++;
_root.expl.duplicateMovieClip("expl" + expl_cnt, expl_cnt);
_root["expl" + expl_cnt]._x = _root["pac" + i]._x;
_root["expl" + expl_cnt]._y = _root["pac" + i]._y;
_root["pac" + i].xsp = 0;
if (_root["pac" + i]._currentframe == 1) {
_root["expl" + expl_cnt].gotoAndStop(2);
_root["pac" + i].gotoAndStop(5);
} else if (_root["pac" + i]._currentframe == 2) {
_root["expl" + expl_cnt].gotoAndStop(3);
_root["pac" + i].gotoAndStop(6);
} else if (_root["pac" + i]._currentframe == 3) {
_root["expl" + expl_cnt].gotoAndStop(4);
_root["pac" + i].gotoAndStop(7);
} else if (_root["pac" + i]._currentframe == 4) {
_root["expl" + expl_cnt].gotoAndStop(5);
_root["pac" + i].gotoAndStop(8);
}
j = 0;
}
}
if (color_bomb) {
var i = 1;
while (i < 22) {
expl_cnt++;
_root.expl.duplicateMovieClip("expl" + expl_cnt, expl_cnt);
_root["expl" + expl_cnt]._x = _root["pac" + i]._x;
_root["expl" + expl_cnt]._y = _root["pac" + i]._y;
if ((_root.p3._currentframe == 2) && (_root["pac" + i]._currentframe == 1)) {
_root.max_pacmen++;
if (_root.max_combo < int(_root.lbl_multi)) {
_root.max_combo = _root.lbl_multi;
if (int(_root.max_combo >= 19)) {
_root.cr1.nextFrame();
_root.co_cra1 = "yes";
}
if (int(_root.max_combo >= 49)) {
_root.cr2.nextFrame();
_root.co_cra2 = "yes";
}
if (int(_root.max_combo >= 79)) {
_root.cr3.nextFrame();
_root.co_cra3 = "yes";
}
}
if (_root.max_pacmen >= 100) {
_root.pk1.nextFrame();
_root.killer1 = "yes";
}
if (_root.max_pacmen >= 300) {
_root.pk2.nextFrame();
_root.killer2 = "yes";
}
if (_root.max_pacmen >= 600) {
_root.pk3.nextFrame();
_root.killer3 = "yes";
}
if (end_game == "yes") {
_root.lbl_score = _root.lbl_score + (50 * int(_root.lbl_multi));
} else {
_root.lbl_score = _root.lbl_score + (10 * int(_root.lbl_multi));
}
if (_root.pacmen_cnt > 0) {
_root.pacmen_cnt--;
}
_root["expl" + expl_cnt].gotoAndStop(2);
_root["pac" + i].gotoAndStop(5);
_root["pac" + i].xsp = 0;
} else if ((_root.p3._currentframe == 3) && (_root["pac" + i]._currentframe == 2)) {
_root.max_pacmen++;
if (_root.max_combo < int(_root.lbl_multi)) {
_root.max_combo = _root.lbl_multi;
if (int(_root.max_combo >= 19)) {
_root.cr1.nextFrame();
_root.co_cra1 = "yes";
}
if (int(_root.max_combo >= 49)) {
_root.cr2.nextFrame();
_root.co_cra2 = "yes";
}
if (int(_root.max_combo >= 79)) {
_root.cr3.nextFrame();
_root.co_cra3 = "yes";
}
}
if (_root.max_pacmen >= 100) {
_root.pk1.nextFrame();
_root.killer1 = "yes";
}
if (_root.max_pacmen >= 300) {
_root.pk2.nextFrame();
_root.killer2 = "yes";
}
if (_root.max_pacmen >= 600) {
_root.pk3.nextFrame();
_root.killer3 = "yes";
}
if (end_game == "yes") {
_root.lbl_score = _root.lbl_score + (50 * int(_root.lbl_multi));
} else {
_root.lbl_score = _root.lbl_score + (10 * int(_root.lbl_multi));
}
if (_root.pacmen_cnt > 0) {
_root.pacmen_cnt--;
}
_root["expl" + expl_cnt].gotoAndStop(3);
_root["pac" + i].gotoAndStop(6);
_root["pac" + i].xsp = 0;
} else if ((_root.p3._currentframe == 4) && (_root["pac" + i]._currentframe == 3)) {
_root.max_pacmen++;
if (_root.max_combo < int(_root.lbl_multi)) {
_root.max_combo = _root.lbl_multi;
if (int(_root.max_combo >= 19)) {
_root.cr1.nextFrame();
_root.co_cra1 = "yes";
}
if (int(_root.max_combo >= 49)) {
_root.cr2.nextFrame();
_root.co_cra2 = "yes";
}
if (int(_root.max_combo >= 79)) {
_root.cr3.nextFrame();
_root.co_cra3 = "yes";
}
}
if (_root.max_pacmen >= 100) {
_root.pk1.nextFrame();
_root.killer1 = "yes";
}
if (_root.max_pacmen >= 300) {
_root.pk2.nextFrame();
_root.killer2 = "yes";
}
if (_root.max_pacmen >= 600) {
_root.pk3.nextFrame();
_root.killer3 = "yes";
}
if (end_game == "yes") {
_root.lbl_score = _root.lbl_score + (50 * int(_root.lbl_multi));
} else {
_root.lbl_score = _root.lbl_score + (10 * int(_root.lbl_multi));
}
if (_root.pacmen_cnt > 0) {
_root.pacmen_cnt--;
}
_root["expl" + expl_cnt].gotoAndStop(4);
_root["pac" + i].gotoAndStop(7);
_root["pac" + i].xsp = 0;
} else if ((_root.p3._currentframe == 5) && (_root["pac" + i]._currentframe == 4)) {
_root.max_pacmen++;
if (_root.max_combo < int(_root.lbl_multi)) {
_root.max_combo = _root.lbl_multi;
if (int(_root.max_combo >= 19)) {
_root.cr1.nextFrame();
_root.co_cra1 = "yes";
}
if (int(_root.max_combo >= 49)) {
_root.cr2.nextFrame();
_root.co_cra2 = "yes";
}
if (int(_root.max_combo >= 79)) {
_root.cr3.nextFrame();
_root.co_cra3 = "yes";
}
}
if (_root.max_pacmen >= 100) {
_root.pk1.nextFrame();
_root.killer1 = "yes";
}
if (_root.max_pacmen >= 300) {
_root.pk2.nextFrame();
_root.killer2 = "yes";
}
if (_root.max_pacmen >= 600) {
_root.pk3.nextFrame();
_root.killer3 = "yes";
}
if (end_game == "yes") {
_root.lbl_score = _root.lbl_score + (50 * int(_root.lbl_multi));
} else {
_root.lbl_score = _root.lbl_score + (10 * int(_root.lbl_multi));
}
if (_root.pacmen_cnt > 0) {
_root.pacmen_cnt--;
}
_root["expl" + expl_cnt].gotoAndStop(5);
_root["pac" + i].gotoAndStop(8);
_root["pac" + i].xsp = 0;
}
i++;
}
i = 0;
j = 0;
expl_cnt = 0;
_root.p1.gotoAndStop(1);
_root.p2.gotoAndStop(1);
_root.p3.gotoAndStop(1);
color_bomb = 0;
}
};
Instance of Symbol 443 MovieClip in Frame 17
onClipEvent (load) {
j = 70;
}
onClipEvent (enterFrame) {
if (this._currentframe != 3) {
if (j > 80) {
j = 70;
}
j++;
_root.l_d.duplicateMovieClip("l_d" + j, j);
_root["l_d" + j]._x = _x + 20;
_root["l_d" + j]._y = _y;
}
x1 = _x - _root.ball._x;
y1 = _y - _root.ball._y;
dist = Math.sqrt((x1 * x1) + (y1 * y1));
if ((dist <= 40) && (this._currentframe != 3)) {
_root.ball.act = "jump";
_root.ball.ysp = 5;
_root.ball.shoot_right = true;
if (_root.p3._currentframe == 5) {
_root.mc_ef.play();
_root.color_bomb = true;
_root.green_xpl._x = _x + 20;
_root.green_xpl._y = _y;
_root.green_xpl.nextFrame();
this.gotoAndStop(3);
} else {
this.nextFrame();
}
}
}
Instance of Symbol 447 MovieClip in Frame 17
onClipEvent (load) {
j = 80;
}
onClipEvent (enterFrame) {
if (this._currentframe != 3) {
if (j > 90) {
j = 80;
}
j++;
_root.l_b.duplicateMovieClip("l_b" + j, j);
_root["l_b" + j]._x = _x - 20;
_root["l_b" + j]._y = _y;
}
x1 = _x - _root.ball._x;
y1 = _y - _root.ball._y;
dist = Math.sqrt((x1 * x1) + (y1 * y1));
if ((dist <= 40) && (this._currentframe != 3)) {
_root.ball.act = "jump";
_root.ball.ysp = 5;
_root.ball.shoot_left = true;
if (_root.p3._currentframe == 3) {
_root.mc_ef.play();
_root.color_bomb = true;
_root.blue_xpl._x = _x + 20;
_root.blue_xpl._y = _y;
_root.blue_xpl.nextFrame();
this.gotoAndStop(3);
} else {
this.nextFrame();
}
}
}
Instance of Symbol 451 MovieClip in Frame 17
onClipEvent (load) {
j = 50;
}
onClipEvent (enterFrame) {
if (this._currentframe != 3) {
if (j > 60) {
j = 50;
}
j++;
_root.l_c.duplicateMovieClip("l_c" + j, j);
_root["l_c" + j]._x = _x - 20;
_root["l_c" + j]._y = _y;
}
x1 = _x - _root.ball._x;
y1 = _y - _root.ball._y;
dist = Math.sqrt((x1 * x1) + (y1 * y1));
if ((dist <= 40) && (this._currentframe != 3)) {
_root.ball.act = "jump";
_root.ball.ysp = 5;
_root.ball.shoot_left = true;
if (_root.p3._currentframe == 4) {
_root.mc_ef.play();
_root.color_bomb = true;
_root.red_xpl._x = _x + 20;
_root.red_xpl._y = _y;
_root.red_xpl.nextFrame();
this.gotoAndStop(3);
} else {
this.nextFrame();
}
}
}
Instance of Symbol 147 MovieClip "pac1" in Frame 17
onClipEvent (load) {
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
onClipEvent (enterFrame) {
_x = (_x + xsp);
if (_x > 480) {
_x = 80;
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
if (this.hit.hitTest(_root.hit) && (_root.ball.act == "fall")) {
if (_root.p1._currentframe == 1) {
if (this._currentframe == 1) {
_root.p1.gotoAndStop(2);
} else if (this._currentframe == 2) {
_root.p1.gotoAndStop(3);
} else if (this._currentframe == 3) {
_root.p1.gotoAndStop(4);
} else if (this._currentframe == 4) {
_root.p1.gotoAndStop(5);
}
} else if (_root.p2._currentframe == 1) {
if (this._currentframe == (_root.p1._currentframe - 1)) {
_root.p2.gotoAndStop(_root.p1._currentframe);
} else {
_root.p2.gotoAndStop(1);
_root.p1.gotoAndStop(this._currentframe + 1);
}
} else if (_root.p3._currentframe == 1) {
if (this._currentframe == (_root.p2._currentframe - 1)) {
_root.p3.gotoAndStop(_root.p2._currentframe);
} else {
_root.p1.gotoAndStop(this._currentframe + 1);
_root.p3.gotoAndStop(1);
_root.p2.gotoAndStop(1);
}
}
_root.max_pacmen++;
if (_root.max_combo < int(_root.lbl_multi)) {
_root.max_combo = _root.lbl_multi;
if (int(_root.max_combo >= 19)) {
_root.cr1.nextFrame();
_root.co_cra1 = "yes";
}
if (int(_root.max_combo >= 49)) {
_root.cr2.nextFrame();
_root.co_cra2 = "yes";
}
if (int(_root.max_combo >= 79)) {
_root.cr3.nextFrame();
_root.co_cra3 = "yes";
}
}
if (_root.max_pacmen >= 100) {
_root.pk1.nextFrame();
_root.killer1 = "yes";
}
if (_root.max_pacmen >= 300) {
_root.pk2.nextFrame();
_root.killer2 = "yes";
}
if (_root.max_pacmen >= 600) {
_root.pk3.nextFrame();
_root.killer3 = "yes";
}
_root.lbl_multi++;
if (int(_root.lbl_multi > 1)) {
_root.mc_mul.mcnt.ml = "x" + _root.lbl_multi;
_root.mc_mul._x = _root.ball._x + 15;
_root.mc_mul._y = _root.ball._y - 15;
_root.mc_mul.gotoAndPlay(2);
}
if (_root.end_game == "yes") {
_root.lbl_score = _root.lbl_score + (50 * int(_root.lbl_multi));
} else {
_root.lbl_score = _root.lbl_score + (10 * int(_root.lbl_multi));
}
if (_root.pacmen_cnt > 0) {
_root.pacmen_cnt--;
}
if (_root.expl_cnt > 5) {
_root.expl_cnt = 0;
}
_root.expl_cnt++;
_root.expl.duplicateMovieClip("expl" + _root.expl_cnt, _root.expl_cnt);
_root["expl" + _root.expl_cnt]._x = _x;
_root["expl" + _root.expl_cnt]._y = _y;
_root.ball.ysp = 13;
_root.ball.act = "jump";
xsp = 0;
if (this._currentframe == 1) {
_root["expl" + _root.expl_cnt].gotoAndStop(2);
this.gotoAndStop(5);
} else if (this._currentframe == 2) {
_root["expl" + _root.expl_cnt].gotoAndStop(3);
this.gotoAndStop(6);
} else if (this._currentframe == 3) {
_root["expl" + _root.expl_cnt].gotoAndStop(4);
this.gotoAndStop(7);
} else if (this._currentframe == 4) {
_root["expl" + _root.expl_cnt].gotoAndStop(5);
this.gotoAndStop(8);
}
}
}
Instance of Symbol 147 MovieClip "pac2" in Frame 17
onClipEvent (load) {
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
onClipEvent (enterFrame) {
_x = (_x + xsp);
if (_x > 480) {
_x = 80;
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
if (this.hit.hitTest(_root.hit) && (_root.ball.act == "fall")) {
if (_root.p1._currentframe == 1) {
if (this._currentframe == 1) {
_root.p1.gotoAndStop(2);
} else if (this._currentframe == 2) {
_root.p1.gotoAndStop(3);
} else if (this._currentframe == 3) {
_root.p1.gotoAndStop(4);
} else if (this._currentframe == 4) {
_root.p1.gotoAndStop(5);
}
} else if (_root.p2._currentframe == 1) {
if (this._currentframe == (_root.p1._currentframe - 1)) {
_root.p2.gotoAndStop(_root.p1._currentframe);
} else {
_root.p2.gotoAndStop(1);
_root.p1.gotoAndStop(this._currentframe + 1);
}
} else if (_root.p3._currentframe == 1) {
if (this._currentframe == (_root.p2._currentframe - 1)) {
_root.p3.gotoAndStop(_root.p2._currentframe);
} else {
_root.p1.gotoAndStop(this._currentframe + 1);
_root.p3.gotoAndStop(1);
_root.p2.gotoAndStop(1);
}
}
_root.max_pacmen++;
if (_root.max_combo < int(_root.lbl_multi)) {
_root.max_combo = _root.lbl_multi;
if (int(_root.max_combo >= 19)) {
_root.cr1.nextFrame();
_root.co_cra1 = "yes";
}
if (int(_root.max_combo >= 49)) {
_root.cr2.nextFrame();
_root.co_cra2 = "yes";
}
if (int(_root.max_combo >= 79)) {
_root.cr3.nextFrame();
_root.co_cra3 = "yes";
}
}
if (_root.max_pacmen >= 100) {
_root.pk1.nextFrame();
_root.killer1 = "yes";
}
if (_root.max_pacmen >= 300) {
_root.pk2.nextFrame();
_root.killer2 = "yes";
}
if (_root.max_pacmen >= 600) {
_root.pk3.nextFrame();
_root.killer3 = "yes";
}
_root.lbl_multi++;
if (int(_root.lbl_multi > 1)) {
_root.mc_mul.mcnt.ml = "x" + _root.lbl_multi;
_root.mc_mul._x = _root.ball._x + 15;
_root.mc_mul._y = _root.ball._y - 15;
_root.mc_mul.gotoAndPlay(2);
}
if (_root.end_game == "yes") {
_root.lbl_score = _root.lbl_score + (50 * int(_root.lbl_multi));
} else {
_root.lbl_score = _root.lbl_score + (10 * int(_root.lbl_multi));
}
if (_root.pacmen_cnt > 0) {
_root.pacmen_cnt--;
}
if (_root.expl_cnt > 5) {
_root.expl_cnt = 0;
}
_root.expl_cnt++;
_root.expl.duplicateMovieClip("expl" + _root.expl_cnt, _root.expl_cnt);
_root["expl" + _root.expl_cnt]._x = _x;
_root["expl" + _root.expl_cnt]._y = _y;
_root.ball.ysp = 13;
_root.ball.act = "jump";
xsp = 0;
if (this._currentframe == 1) {
_root["expl" + _root.expl_cnt].gotoAndStop(2);
this.gotoAndStop(5);
} else if (this._currentframe == 2) {
_root["expl" + _root.expl_cnt].gotoAndStop(3);
this.gotoAndStop(6);
} else if (this._currentframe == 3) {
_root["expl" + _root.expl_cnt].gotoAndStop(4);
this.gotoAndStop(7);
} else if (this._currentframe == 4) {
_root["expl" + _root.expl_cnt].gotoAndStop(5);
this.gotoAndStop(8);
}
}
}
Instance of Symbol 147 MovieClip "pac4" in Frame 17
onClipEvent (load) {
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
onClipEvent (enterFrame) {
_x = (_x + xsp);
if (_x > 480) {
_x = 80;
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
if (this.hit.hitTest(_root.hit) && (_root.ball.act == "fall")) {
if (_root.p1._currentframe == 1) {
if (this._currentframe == 1) {
_root.p1.gotoAndStop(2);
} else if (this._currentframe == 2) {
_root.p1.gotoAndStop(3);
} else if (this._currentframe == 3) {
_root.p1.gotoAndStop(4);
} else if (this._currentframe == 4) {
_root.p1.gotoAndStop(5);
}
} else if (_root.p2._currentframe == 1) {
if (this._currentframe == (_root.p1._currentframe - 1)) {
_root.p2.gotoAndStop(_root.p1._currentframe);
} else {
_root.p2.gotoAndStop(1);
_root.p1.gotoAndStop(this._currentframe + 1);
}
} else if (_root.p3._currentframe == 1) {
if (this._currentframe == (_root.p2._currentframe - 1)) {
_root.p3.gotoAndStop(_root.p2._currentframe);
} else {
_root.p1.gotoAndStop(this._currentframe + 1);
_root.p3.gotoAndStop(1);
_root.p2.gotoAndStop(1);
}
}
_root.max_pacmen++;
if (_root.max_combo < int(_root.lbl_multi)) {
_root.max_combo = _root.lbl_multi;
if (int(_root.max_combo >= 19)) {
_root.cr1.nextFrame();
_root.co_cra1 = "yes";
}
if (int(_root.max_combo >= 49)) {
_root.cr2.nextFrame();
_root.co_cra2 = "yes";
}
if (int(_root.max_combo >= 79)) {
_root.cr3.nextFrame();
_root.co_cra3 = "yes";
}
}
if (_root.max_pacmen >= 100) {
_root.pk1.nextFrame();
_root.killer1 = "yes";
}
if (_root.max_pacmen >= 300) {
_root.pk2.nextFrame();
_root.killer2 = "yes";
}
if (_root.max_pacmen >= 600) {
_root.pk3.nextFrame();
_root.killer3 = "yes";
}
_root.lbl_multi++;
if (int(_root.lbl_multi > 1)) {
_root.mc_mul.mcnt.ml = "x" + _root.lbl_multi;
_root.mc_mul._x = _root.ball._x + 15;
_root.mc_mul._y = _root.ball._y - 15;
_root.mc_mul.gotoAndPlay(2);
}
if (_root.end_game == "yes") {
_root.lbl_score = _root.lbl_score + (50 * int(_root.lbl_multi));
} else {
_root.lbl_score = _root.lbl_score + (10 * int(_root.lbl_multi));
}
if (_root.pacmen_cnt > 0) {
_root.pacmen_cnt--;
}
if (_root.expl_cnt > 5) {
_root.expl_cnt = 0;
}
_root.expl_cnt++;
_root.expl.duplicateMovieClip("expl" + _root.expl_cnt, _root.expl_cnt);
_root["expl" + _root.expl_cnt]._x = _x;
_root["expl" + _root.expl_cnt]._y = _y;
_root.ball.ysp = 13;
_root.ball.act = "jump";
xsp = 0;
if (this._currentframe == 1) {
_root["expl" + _root.expl_cnt].gotoAndStop(2);
this.gotoAndStop(5);
} else if (this._currentframe == 2) {
_root["expl" + _root.expl_cnt].gotoAndStop(3);
this.gotoAndStop(6);
} else if (this._currentframe == 3) {
_root["expl" + _root.expl_cnt].gotoAndStop(4);
this.gotoAndStop(7);
} else if (this._currentframe == 4) {
_root["expl" + _root.expl_cnt].gotoAndStop(5);
this.gotoAndStop(8);
}
}
}
Instance of Symbol 147 MovieClip "pac6" in Frame 17
onClipEvent (load) {
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
onClipEvent (enterFrame) {
_x = (_x + xsp);
if (_x > 480) {
_x = 80;
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
if (this.hit.hitTest(_root.hit) && (_root.ball.act == "fall")) {
if (_root.p1._currentframe == 1) {
if (this._currentframe == 1) {
_root.p1.gotoAndStop(2);
} else if (this._currentframe == 2) {
_root.p1.gotoAndStop(3);
} else if (this._currentframe == 3) {
_root.p1.gotoAndStop(4);
} else if (this._currentframe == 4) {
_root.p1.gotoAndStop(5);
}
} else if (_root.p2._currentframe == 1) {
if (this._currentframe == (_root.p1._currentframe - 1)) {
_root.p2.gotoAndStop(_root.p1._currentframe);
} else {
_root.p2.gotoAndStop(1);
_root.p1.gotoAndStop(this._currentframe + 1);
}
} else if (_root.p3._currentframe == 1) {
if (this._currentframe == (_root.p2._currentframe - 1)) {
_root.p3.gotoAndStop(_root.p2._currentframe);
} else {
_root.p1.gotoAndStop(this._currentframe + 1);
_root.p3.gotoAndStop(1);
_root.p2.gotoAndStop(1);
}
}
_root.max_pacmen++;
if (_root.max_combo < int(_root.lbl_multi)) {
_root.max_combo = _root.lbl_multi;
if (int(_root.max_combo >= 19)) {
_root.cr1.nextFrame();
_root.co_cra1 = "yes";
}
if (int(_root.max_combo >= 49)) {
_root.cr2.nextFrame();
_root.co_cra2 = "yes";
}
if (int(_root.max_combo >= 79)) {
_root.cr3.nextFrame();
_root.co_cra3 = "yes";
}
}
if (_root.max_pacmen >= 100) {
_root.pk1.nextFrame();
_root.killer1 = "yes";
}
if (_root.max_pacmen >= 300) {
_root.pk2.nextFrame();
_root.killer2 = "yes";
}
if (_root.max_pacmen >= 600) {
_root.pk3.nextFrame();
_root.killer3 = "yes";
}
_root.lbl_multi++;
if (int(_root.lbl_multi > 1)) {
_root.mc_mul.mcnt.ml = "x" + _root.lbl_multi;
_root.mc_mul._x = _root.ball._x + 15;
_root.mc_mul._y = _root.ball._y - 15;
_root.mc_mul.gotoAndPlay(2);
}
if (_root.end_game == "yes") {
_root.lbl_score = _root.lbl_score + (50 * int(_root.lbl_multi));
} else {
_root.lbl_score = _root.lbl_score + (10 * int(_root.lbl_multi));
}
if (_root.pacmen_cnt > 0) {
_root.pacmen_cnt--;
}
if (_root.expl_cnt > 5) {
_root.expl_cnt = 0;
}
_root.expl_cnt++;
_root.expl.duplicateMovieClip("expl" + _root.expl_cnt, _root.expl_cnt);
_root["expl" + _root.expl_cnt]._x = _x;
_root["expl" + _root.expl_cnt]._y = _y;
_root.ball.ysp = 13;
_root.ball.act = "jump";
xsp = 0;
if (this._currentframe == 1) {
_root["expl" + _root.expl_cnt].gotoAndStop(2);
this.gotoAndStop(5);
} else if (this._currentframe == 2) {
_root["expl" + _root.expl_cnt].gotoAndStop(3);
this.gotoAndStop(6);
} else if (this._currentframe == 3) {
_root["expl" + _root.expl_cnt].gotoAndStop(4);
this.gotoAndStop(7);
} else if (this._currentframe == 4) {
_root["expl" + _root.expl_cnt].gotoAndStop(5);
this.gotoAndStop(8);
}
}
}
Instance of Symbol 147 MovieClip "pac9" in Frame 17
onClipEvent (load) {
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
onClipEvent (enterFrame) {
_x = (_x + xsp);
if (_x > 480) {
_x = 80;
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
if (this.hit.hitTest(_root.hit) && (_root.ball.act == "fall")) {
if (_root.p1._currentframe == 1) {
if (this._currentframe == 1) {
_root.p1.gotoAndStop(2);
} else if (this._currentframe == 2) {
_root.p1.gotoAndStop(3);
} else if (this._currentframe == 3) {
_root.p1.gotoAndStop(4);
} else if (this._currentframe == 4) {
_root.p1.gotoAndStop(5);
}
} else if (_root.p2._currentframe == 1) {
if (this._currentframe == (_root.p1._currentframe - 1)) {
_root.p2.gotoAndStop(_root.p1._currentframe);
} else {
_root.p2.gotoAndStop(1);
_root.p1.gotoAndStop(this._currentframe + 1);
}
} else if (_root.p3._currentframe == 1) {
if (this._currentframe == (_root.p2._currentframe - 1)) {
_root.p3.gotoAndStop(_root.p2._currentframe);
} else {
_root.p1.gotoAndStop(this._currentframe + 1);
_root.p3.gotoAndStop(1);
_root.p2.gotoAndStop(1);
}
}
_root.max_pacmen++;
if (_root.max_combo < int(_root.lbl_multi)) {
_root.max_combo = _root.lbl_multi;
if (int(_root.max_combo >= 19)) {
_root.cr1.nextFrame();
_root.co_cra1 = "yes";
}
if (int(_root.max_combo >= 49)) {
_root.cr2.nextFrame();
_root.co_cra2 = "yes";
}
if (int(_root.max_combo >= 79)) {
_root.cr3.nextFrame();
_root.co_cra3 = "yes";
}
}
if (_root.max_pacmen >= 100) {
_root.pk1.nextFrame();
_root.killer1 = "yes";
}
if (_root.max_pacmen >= 300) {
_root.pk2.nextFrame();
_root.killer2 = "yes";
}
if (_root.max_pacmen >= 600) {
_root.pk3.nextFrame();
_root.killer3 = "yes";
}
_root.lbl_multi++;
if (int(_root.lbl_multi > 1)) {
_root.mc_mul.mcnt.ml = "x" + _root.lbl_multi;
_root.mc_mul._x = _root.ball._x + 15;
_root.mc_mul._y = _root.ball._y - 15;
_root.mc_mul.gotoAndPlay(2);
}
if (_root.end_game == "yes") {
_root.lbl_score = _root.lbl_score + (50 * int(_root.lbl_multi));
} else {
_root.lbl_score = _root.lbl_score + (10 * int(_root.lbl_multi));
}
if (_root.pacmen_cnt > 0) {
_root.pacmen_cnt--;
}
if (_root.expl_cnt > 5) {
_root.expl_cnt = 0;
}
_root.expl_cnt++;
_root.expl.duplicateMovieClip("expl" + _root.expl_cnt, _root.expl_cnt);
_root["expl" + _root.expl_cnt]._x = _x;
_root["expl" + _root.expl_cnt]._y = _y;
_root.ball.ysp = 13;
_root.ball.act = "jump";
xsp = 0;
if (this._currentframe == 1) {
_root["expl" + _root.expl_cnt].gotoAndStop(2);
this.gotoAndStop(5);
} else if (this._currentframe == 2) {
_root["expl" + _root.expl_cnt].gotoAndStop(3);
this.gotoAndStop(6);
} else if (this._currentframe == 3) {
_root["expl" + _root.expl_cnt].gotoAndStop(4);
this.gotoAndStop(7);
} else if (this._currentframe == 4) {
_root["expl" + _root.expl_cnt].gotoAndStop(5);
this.gotoAndStop(8);
}
}
}
Instance of Symbol 147 MovieClip "pac12" in Frame 17
onClipEvent (load) {
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
onClipEvent (enterFrame) {
_x = (_x + xsp);
if (_x > 480) {
_x = 80;
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
if (this.hit.hitTest(_root.hit) && (_root.ball.act == "fall")) {
if (_root.p1._currentframe == 1) {
if (this._currentframe == 1) {
_root.p1.gotoAndStop(2);
} else if (this._currentframe == 2) {
_root.p1.gotoAndStop(3);
} else if (this._currentframe == 3) {
_root.p1.gotoAndStop(4);
} else if (this._currentframe == 4) {
_root.p1.gotoAndStop(5);
}
} else if (_root.p2._currentframe == 1) {
if (this._currentframe == (_root.p1._currentframe - 1)) {
_root.p2.gotoAndStop(_root.p1._currentframe);
} else {
_root.p2.gotoAndStop(1);
_root.p1.gotoAndStop(this._currentframe + 1);
}
} else if (_root.p3._currentframe == 1) {
if (this._currentframe == (_root.p2._currentframe - 1)) {
_root.p3.gotoAndStop(_root.p2._currentframe);
} else {
_root.p1.gotoAndStop(this._currentframe + 1);
_root.p3.gotoAndStop(1);
_root.p2.gotoAndStop(1);
}
}
_root.max_pacmen++;
if (_root.max_combo < int(_root.lbl_multi)) {
_root.max_combo = _root.lbl_multi;
if (int(_root.max_combo >= 19)) {
_root.cr1.nextFrame();
_root.co_cra1 = "yes";
}
if (int(_root.max_combo >= 49)) {
_root.cr2.nextFrame();
_root.co_cra2 = "yes";
}
if (int(_root.max_combo >= 79)) {
_root.cr3.nextFrame();
_root.co_cra3 = "yes";
}
}
if (_root.max_pacmen >= 100) {
_root.pk1.nextFrame();
_root.killer1 = "yes";
}
if (_root.max_pacmen >= 300) {
_root.pk2.nextFrame();
_root.killer2 = "yes";
}
if (_root.max_pacmen >= 600) {
_root.pk3.nextFrame();
_root.killer3 = "yes";
}
_root.lbl_multi++;
if (int(_root.lbl_multi > 1)) {
_root.mc_mul.mcnt.ml = "x" + _root.lbl_multi;
_root.mc_mul._x = _root.ball._x + 15;
_root.mc_mul._y = _root.ball._y - 15;
_root.mc_mul.gotoAndPlay(2);
}
if (_root.end_game == "yes") {
_root.lbl_score = _root.lbl_score + (50 * int(_root.lbl_multi));
} else {
_root.lbl_score = _root.lbl_score + (10 * int(_root.lbl_multi));
}
if (_root.pacmen_cnt > 0) {
_root.pacmen_cnt--;
}
if (_root.expl_cnt > 5) {
_root.expl_cnt = 0;
}
_root.expl_cnt++;
_root.expl.duplicateMovieClip("expl" + _root.expl_cnt, _root.expl_cnt);
_root["expl" + _root.expl_cnt]._x = _x;
_root["expl" + _root.expl_cnt]._y = _y;
_root.ball.ysp = 13;
_root.ball.act = "jump";
xsp = 0;
if (this._currentframe == 1) {
_root["expl" + _root.expl_cnt].gotoAndStop(2);
this.gotoAndStop(5);
} else if (this._currentframe == 2) {
_root["expl" + _root.expl_cnt].gotoAndStop(3);
this.gotoAndStop(6);
} else if (this._currentframe == 3) {
_root["expl" + _root.expl_cnt].gotoAndStop(4);
this.gotoAndStop(7);
} else if (this._currentframe == 4) {
_root["expl" + _root.expl_cnt].gotoAndStop(5);
this.gotoAndStop(8);
}
}
}
Instance of Symbol 147 MovieClip "pac13" in Frame 17
onClipEvent (load) {
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
onClipEvent (enterFrame) {
_x = (_x + xsp);
if (_x > 480) {
_x = 80;
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
if (this.hit.hitTest(_root.hit) && (_root.ball.act == "fall")) {
if (_root.p1._currentframe == 1) {
if (this._currentframe == 1) {
_root.p1.gotoAndStop(2);
} else if (this._currentframe == 2) {
_root.p1.gotoAndStop(3);
} else if (this._currentframe == 3) {
_root.p1.gotoAndStop(4);
} else if (this._currentframe == 4) {
_root.p1.gotoAndStop(5);
}
} else if (_root.p2._currentframe == 1) {
if (this._currentframe == (_root.p1._currentframe - 1)) {
_root.p2.gotoAndStop(_root.p1._currentframe);
} else {
_root.p2.gotoAndStop(1);
_root.p1.gotoAndStop(this._currentframe + 1);
}
} else if (_root.p3._currentframe == 1) {
if (this._currentframe == (_root.p2._currentframe - 1)) {
_root.p3.gotoAndStop(_root.p2._currentframe);
} else {
_root.p1.gotoAndStop(this._currentframe + 1);
_root.p3.gotoAndStop(1);
_root.p2.gotoAndStop(1);
}
}
_root.max_pacmen++;
if (_root.max_combo < int(_root.lbl_multi)) {
_root.max_combo = _root.lbl_multi;
if (int(_root.max_combo >= 19)) {
_root.cr1.nextFrame();
_root.co_cra1 = "yes";
}
if (int(_root.max_combo >= 49)) {
_root.cr2.nextFrame();
_root.co_cra2 = "yes";
}
if (int(_root.max_combo >= 79)) {
_root.cr3.nextFrame();
_root.co_cra3 = "yes";
}
}
if (_root.max_pacmen >= 100) {
_root.pk1.nextFrame();
_root.killer1 = "yes";
}
if (_root.max_pacmen >= 300) {
_root.pk2.nextFrame();
_root.killer2 = "yes";
}
if (_root.max_pacmen >= 600) {
_root.pk3.nextFrame();
_root.killer3 = "yes";
}
_root.lbl_multi++;
if (int(_root.lbl_multi > 1)) {
_root.mc_mul.mcnt.ml = "x" + _root.lbl_multi;
_root.mc_mul._x = _root.ball._x + 15;
_root.mc_mul._y = _root.ball._y - 15;
_root.mc_mul.gotoAndPlay(2);
}
if (_root.end_game == "yes") {
_root.lbl_score = _root.lbl_score + (50 * int(_root.lbl_multi));
} else {
_root.lbl_score = _root.lbl_score + (10 * int(_root.lbl_multi));
}
if (_root.pacmen_cnt > 0) {
_root.pacmen_cnt--;
}
if (_root.expl_cnt > 5) {
_root.expl_cnt = 0;
}
_root.expl_cnt++;
_root.expl.duplicateMovieClip("expl" + _root.expl_cnt, _root.expl_cnt);
_root["expl" + _root.expl_cnt]._x = _x;
_root["expl" + _root.expl_cnt]._y = _y;
_root.ball.ysp = 13;
_root.ball.act = "jump";
xsp = 0;
if (this._currentframe == 1) {
_root["expl" + _root.expl_cnt].gotoAndStop(2);
this.gotoAndStop(5);
} else if (this._currentframe == 2) {
_root["expl" + _root.expl_cnt].gotoAndStop(3);
this.gotoAndStop(6);
} else if (this._currentframe == 3) {
_root["expl" + _root.expl_cnt].gotoAndStop(4);
this.gotoAndStop(7);
} else if (this._currentframe == 4) {
_root["expl" + _root.expl_cnt].gotoAndStop(5);
this.gotoAndStop(8);
}
}
}
Instance of Symbol 147 MovieClip "pac15" in Frame 17
onClipEvent (load) {
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
onClipEvent (enterFrame) {
_x = (_x + xsp);
if (_x > 480) {
_x = 80;
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
if (this.hit.hitTest(_root.hit) && (_root.ball.act == "fall")) {
if (_root.p1._currentframe == 1) {
if (this._currentframe == 1) {
_root.p1.gotoAndStop(2);
} else if (this._currentframe == 2) {
_root.p1.gotoAndStop(3);
} else if (this._currentframe == 3) {
_root.p1.gotoAndStop(4);
} else if (this._currentframe == 4) {
_root.p1.gotoAndStop(5);
}
} else if (_root.p2._currentframe == 1) {
if (this._currentframe == (_root.p1._currentframe - 1)) {
_root.p2.gotoAndStop(_root.p1._currentframe);
} else {
_root.p2.gotoAndStop(1);
_root.p1.gotoAndStop(this._currentframe + 1);
}
} else if (_root.p3._currentframe == 1) {
if (this._currentframe == (_root.p2._currentframe - 1)) {
_root.p3.gotoAndStop(_root.p2._currentframe);
} else {
_root.p1.gotoAndStop(this._currentframe + 1);
_root.p3.gotoAndStop(1);
_root.p2.gotoAndStop(1);
}
}
_root.max_pacmen++;
if (_root.max_combo < int(_root.lbl_multi)) {
_root.max_combo = _root.lbl_multi;
if (int(_root.max_combo >= 19)) {
_root.cr1.nextFrame();
_root.co_cra1 = "yes";
}
if (int(_root.max_combo >= 49)) {
_root.cr2.nextFrame();
_root.co_cra2 = "yes";
}
if (int(_root.max_combo >= 79)) {
_root.cr3.nextFrame();
_root.co_cra3 = "yes";
}
}
if (_root.max_pacmen >= 100) {
_root.pk1.nextFrame();
_root.killer1 = "yes";
}
if (_root.max_pacmen >= 300) {
_root.pk2.nextFrame();
_root.killer2 = "yes";
}
if (_root.max_pacmen >= 600) {
_root.pk3.nextFrame();
_root.killer3 = "yes";
}
_root.lbl_multi++;
if (int(_root.lbl_multi > 1)) {
_root.mc_mul.mcnt.ml = "x" + _root.lbl_multi;
_root.mc_mul._x = _root.ball._x + 15;
_root.mc_mul._y = _root.ball._y - 15;
_root.mc_mul.gotoAndPlay(2);
}
if (_root.end_game == "yes") {
_root.lbl_score = _root.lbl_score + (50 * int(_root.lbl_multi));
} else {
_root.lbl_score = _root.lbl_score + (10 * int(_root.lbl_multi));
}
if (_root.pacmen_cnt > 0) {
_root.pacmen_cnt--;
}
if (_root.expl_cnt > 5) {
_root.expl_cnt = 0;
}
_root.expl_cnt++;
_root.expl.duplicateMovieClip("expl" + _root.expl_cnt, _root.expl_cnt);
_root["expl" + _root.expl_cnt]._x = _x;
_root["expl" + _root.expl_cnt]._y = _y;
_root.ball.ysp = 13;
_root.ball.act = "jump";
xsp = 0;
if (this._currentframe == 1) {
_root["expl" + _root.expl_cnt].gotoAndStop(2);
this.gotoAndStop(5);
} else if (this._currentframe == 2) {
_root["expl" + _root.expl_cnt].gotoAndStop(3);
this.gotoAndStop(6);
} else if (this._currentframe == 3) {
_root["expl" + _root.expl_cnt].gotoAndStop(4);
this.gotoAndStop(7);
} else if (this._currentframe == 4) {
_root["expl" + _root.expl_cnt].gotoAndStop(5);
this.gotoAndStop(8);
}
}
}
Instance of Symbol 147 MovieClip "pac14" in Frame 17
onClipEvent (load) {
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
onClipEvent (enterFrame) {
_x = (_x + xsp);
if (_x > 480) {
_x = 80;
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
if (this.hit.hitTest(_root.hit) && (_root.ball.act == "fall")) {
if (_root.p1._currentframe == 1) {
if (this._currentframe == 1) {
_root.p1.gotoAndStop(2);
} else if (this._currentframe == 2) {
_root.p1.gotoAndStop(3);
} else if (this._currentframe == 3) {
_root.p1.gotoAndStop(4);
} else if (this._currentframe == 4) {
_root.p1.gotoAndStop(5);
}
} else if (_root.p2._currentframe == 1) {
if (this._currentframe == (_root.p1._currentframe - 1)) {
_root.p2.gotoAndStop(_root.p1._currentframe);
} else {
_root.p2.gotoAndStop(1);
_root.p1.gotoAndStop(this._currentframe + 1);
}
} else if (_root.p3._currentframe == 1) {
if (this._currentframe == (_root.p2._currentframe - 1)) {
_root.p3.gotoAndStop(_root.p2._currentframe);
} else {
_root.p1.gotoAndStop(this._currentframe + 1);
_root.p3.gotoAndStop(1);
_root.p2.gotoAndStop(1);
}
}
_root.max_pacmen++;
if (_root.max_combo < int(_root.lbl_multi)) {
_root.max_combo = _root.lbl_multi;
if (int(_root.max_combo >= 19)) {
_root.cr1.nextFrame();
_root.co_cra1 = "yes";
}
if (int(_root.max_combo >= 49)) {
_root.cr2.nextFrame();
_root.co_cra2 = "yes";
}
if (int(_root.max_combo >= 79)) {
_root.cr3.nextFrame();
_root.co_cra3 = "yes";
}
}
if (_root.max_pacmen >= 100) {
_root.pk1.nextFrame();
_root.killer1 = "yes";
}
if (_root.max_pacmen >= 300) {
_root.pk2.nextFrame();
_root.killer2 = "yes";
}
if (_root.max_pacmen >= 600) {
_root.pk3.nextFrame();
_root.killer3 = "yes";
}
_root.lbl_multi++;
if (int(_root.lbl_multi > 1)) {
_root.mc_mul.mcnt.ml = "x" + _root.lbl_multi;
_root.mc_mul._x = _root.ball._x + 15;
_root.mc_mul._y = _root.ball._y - 15;
_root.mc_mul.gotoAndPlay(2);
}
if (_root.end_game == "yes") {
_root.lbl_score = _root.lbl_score + (50 * int(_root.lbl_multi));
} else {
_root.lbl_score = _root.lbl_score + (10 * int(_root.lbl_multi));
}
if (_root.pacmen_cnt > 0) {
_root.pacmen_cnt--;
}
if (_root.expl_cnt > 5) {
_root.expl_cnt = 0;
}
_root.expl_cnt++;
_root.expl.duplicateMovieClip("expl" + _root.expl_cnt, _root.expl_cnt);
_root["expl" + _root.expl_cnt]._x = _x;
_root["expl" + _root.expl_cnt]._y = _y;
_root.ball.ysp = 13;
_root.ball.act = "jump";
xsp = 0;
if (this._currentframe == 1) {
_root["expl" + _root.expl_cnt].gotoAndStop(2);
this.gotoAndStop(5);
} else if (this._currentframe == 2) {
_root["expl" + _root.expl_cnt].gotoAndStop(3);
this.gotoAndStop(6);
} else if (this._currentframe == 3) {
_root["expl" + _root.expl_cnt].gotoAndStop(4);
this.gotoAndStop(7);
} else if (this._currentframe == 4) {
_root["expl" + _root.expl_cnt].gotoAndStop(5);
this.gotoAndStop(8);
}
}
}
Instance of Symbol 147 MovieClip "pac16" in Frame 17
onClipEvent (load) {
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
onClipEvent (enterFrame) {
_x = (_x + xsp);
if (_x > 480) {
_x = 80;
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
if (this.hit.hitTest(_root.hit) && (_root.ball.act == "fall")) {
if (_root.p1._currentframe == 1) {
if (this._currentframe == 1) {
_root.p1.gotoAndStop(2);
} else if (this._currentframe == 2) {
_root.p1.gotoAndStop(3);
} else if (this._currentframe == 3) {
_root.p1.gotoAndStop(4);
} else if (this._currentframe == 4) {
_root.p1.gotoAndStop(5);
}
} else if (_root.p2._currentframe == 1) {
if (this._currentframe == (_root.p1._currentframe - 1)) {
_root.p2.gotoAndStop(_root.p1._currentframe);
} else {
_root.p2.gotoAndStop(1);
_root.p1.gotoAndStop(this._currentframe + 1);
}
} else if (_root.p3._currentframe == 1) {
if (this._currentframe == (_root.p2._currentframe - 1)) {
_root.p3.gotoAndStop(_root.p2._currentframe);
} else {
_root.p1.gotoAndStop(this._currentframe + 1);
_root.p3.gotoAndStop(1);
_root.p2.gotoAndStop(1);
}
}
_root.max_pacmen++;
if (_root.max_combo < int(_root.lbl_multi)) {
_root.max_combo = _root.lbl_multi;
if (int(_root.max_combo >= 19)) {
_root.cr1.nextFrame();
_root.co_cra1 = "yes";
}
if (int(_root.max_combo >= 49)) {
_root.cr2.nextFrame();
_root.co_cra2 = "yes";
}
if (int(_root.max_combo >= 79)) {
_root.cr3.nextFrame();
_root.co_cra3 = "yes";
}
}
if (_root.max_pacmen >= 100) {
_root.pk1.nextFrame();
_root.killer1 = "yes";
}
if (_root.max_pacmen >= 300) {
_root.pk2.nextFrame();
_root.killer2 = "yes";
}
if (_root.max_pacmen >= 600) {
_root.pk3.nextFrame();
_root.killer3 = "yes";
}
_root.lbl_multi++;
if (int(_root.lbl_multi > 1)) {
_root.mc_mul.mcnt.ml = "x" + _root.lbl_multi;
_root.mc_mul._x = _root.ball._x + 15;
_root.mc_mul._y = _root.ball._y - 15;
_root.mc_mul.gotoAndPlay(2);
}
if (_root.end_game == "yes") {
_root.lbl_score = _root.lbl_score + (50 * int(_root.lbl_multi));
} else {
_root.lbl_score = _root.lbl_score + (10 * int(_root.lbl_multi));
}
if (_root.pacmen_cnt > 0) {
_root.pacmen_cnt--;
}
if (_root.expl_cnt > 5) {
_root.expl_cnt = 0;
}
_root.expl_cnt++;
_root.expl.duplicateMovieClip("expl" + _root.expl_cnt, _root.expl_cnt);
_root["expl" + _root.expl_cnt]._x = _x;
_root["expl" + _root.expl_cnt]._y = _y;
_root.ball.ysp = 13;
_root.ball.act = "jump";
xsp = 0;
if (this._currentframe == 1) {
_root["expl" + _root.expl_cnt].gotoAndStop(2);
this.gotoAndStop(5);
} else if (this._currentframe == 2) {
_root["expl" + _root.expl_cnt].gotoAndStop(3);
this.gotoAndStop(6);
} else if (this._currentframe == 3) {
_root["expl" + _root.expl_cnt].gotoAndStop(4);
this.gotoAndStop(7);
} else if (this._currentframe == 4) {
_root["expl" + _root.expl_cnt].gotoAndStop(5);
this.gotoAndStop(8);
}
}
}
Instance of Symbol 147 MovieClip "pac10" in Frame 17
onClipEvent (load) {
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
onClipEvent (enterFrame) {
_x = (_x + xsp);
if (_x > 480) {
_x = 80;
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
if (this.hit.hitTest(_root.hit) && (_root.ball.act == "fall")) {
if (_root.p1._currentframe == 1) {
if (this._currentframe == 1) {
_root.p1.gotoAndStop(2);
} else if (this._currentframe == 2) {
_root.p1.gotoAndStop(3);
} else if (this._currentframe == 3) {
_root.p1.gotoAndStop(4);
} else if (this._currentframe == 4) {
_root.p1.gotoAndStop(5);
}
} else if (_root.p2._currentframe == 1) {
if (this._currentframe == (_root.p1._currentframe - 1)) {
_root.p2.gotoAndStop(_root.p1._currentframe);
} else {
_root.p2.gotoAndStop(1);
_root.p1.gotoAndStop(this._currentframe + 1);
}
} else if (_root.p3._currentframe == 1) {
if (this._currentframe == (_root.p2._currentframe - 1)) {
_root.p3.gotoAndStop(_root.p2._currentframe);
} else {
_root.p1.gotoAndStop(this._currentframe + 1);
_root.p3.gotoAndStop(1);
_root.p2.gotoAndStop(1);
}
}
_root.max_pacmen++;
if (_root.max_combo < int(_root.lbl_multi)) {
_root.max_combo = _root.lbl_multi;
if (int(_root.max_combo >= 19)) {
_root.cr1.nextFrame();
_root.co_cra1 = "yes";
}
if (int(_root.max_combo >= 49)) {
_root.cr2.nextFrame();
_root.co_cra2 = "yes";
}
if (int(_root.max_combo >= 79)) {
_root.cr3.nextFrame();
_root.co_cra3 = "yes";
}
}
if (_root.max_pacmen >= 100) {
_root.pk1.nextFrame();
_root.killer1 = "yes";
}
if (_root.max_pacmen >= 300) {
_root.pk2.nextFrame();
_root.killer2 = "yes";
}
if (_root.max_pacmen >= 600) {
_root.pk3.nextFrame();
_root.killer3 = "yes";
}
_root.lbl_multi++;
if (int(_root.lbl_multi > 1)) {
_root.mc_mul.mcnt.ml = "x" + _root.lbl_multi;
_root.mc_mul._x = _root.ball._x + 15;
_root.mc_mul._y = _root.ball._y - 15;
_root.mc_mul.gotoAndPlay(2);
}
if (_root.end_game == "yes") {
_root.lbl_score = _root.lbl_score + (50 * int(_root.lbl_multi));
} else {
_root.lbl_score = _root.lbl_score + (10 * int(_root.lbl_multi));
}
if (_root.pacmen_cnt > 0) {
_root.pacmen_cnt--;
}
if (_root.expl_cnt > 5) {
_root.expl_cnt = 0;
}
_root.expl_cnt++;
_root.expl.duplicateMovieClip("expl" + _root.expl_cnt, _root.expl_cnt);
_root["expl" + _root.expl_cnt]._x = _x;
_root["expl" + _root.expl_cnt]._y = _y;
_root.ball.ysp = 13;
_root.ball.act = "jump";
xsp = 0;
if (this._currentframe == 1) {
_root["expl" + _root.expl_cnt].gotoAndStop(2);
this.gotoAndStop(5);
} else if (this._currentframe == 2) {
_root["expl" + _root.expl_cnt].gotoAndStop(3);
this.gotoAndStop(6);
} else if (this._currentframe == 3) {
_root["expl" + _root.expl_cnt].gotoAndStop(4);
this.gotoAndStop(7);
} else if (this._currentframe == 4) {
_root["expl" + _root.expl_cnt].gotoAndStop(5);
this.gotoAndStop(8);
}
}
}
Instance of Symbol 147 MovieClip "pac8" in Frame 17
onClipEvent (load) {
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
onClipEvent (enterFrame) {
_x = (_x + xsp);
if (_x > 480) {
_x = 80;
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
if (this.hit.hitTest(_root.hit) && (_root.ball.act == "fall")) {
if (_root.p1._currentframe == 1) {
if (this._currentframe == 1) {
_root.p1.gotoAndStop(2);
} else if (this._currentframe == 2) {
_root.p1.gotoAndStop(3);
} else if (this._currentframe == 3) {
_root.p1.gotoAndStop(4);
} else if (this._currentframe == 4) {
_root.p1.gotoAndStop(5);
}
} else if (_root.p2._currentframe == 1) {
if (this._currentframe == (_root.p1._currentframe - 1)) {
_root.p2.gotoAndStop(_root.p1._currentframe);
} else {
_root.p2.gotoAndStop(1);
_root.p1.gotoAndStop(this._currentframe + 1);
}
} else if (_root.p3._currentframe == 1) {
if (this._currentframe == (_root.p2._currentframe - 1)) {
_root.p3.gotoAndStop(_root.p2._currentframe);
} else {
_root.p1.gotoAndStop(this._currentframe + 1);
_root.p3.gotoAndStop(1);
_root.p2.gotoAndStop(1);
}
}
_root.max_pacmen++;
if (_root.max_combo < int(_root.lbl_multi)) {
_root.max_combo = _root.lbl_multi;
if (int(_root.max_combo >= 19)) {
_root.cr1.nextFrame();
_root.co_cra1 = "yes";
}
if (int(_root.max_combo >= 49)) {
_root.cr2.nextFrame();
_root.co_cra2 = "yes";
}
if (int(_root.max_combo >= 79)) {
_root.cr3.nextFrame();
_root.co_cra3 = "yes";
}
}
if (_root.max_pacmen >= 100) {
_root.pk1.nextFrame();
_root.killer1 = "yes";
}
if (_root.max_pacmen >= 300) {
_root.pk2.nextFrame();
_root.killer2 = "yes";
}
if (_root.max_pacmen >= 600) {
_root.pk3.nextFrame();
_root.killer3 = "yes";
}
_root.lbl_multi++;
if (int(_root.lbl_multi > 1)) {
_root.mc_mul.mcnt.ml = "x" + _root.lbl_multi;
_root.mc_mul._x = _root.ball._x + 15;
_root.mc_mul._y = _root.ball._y - 15;
_root.mc_mul.gotoAndPlay(2);
}
if (_root.end_game == "yes") {
_root.lbl_score = _root.lbl_score + (50 * int(_root.lbl_multi));
} else {
_root.lbl_score = _root.lbl_score + (10 * int(_root.lbl_multi));
}
if (_root.pacmen_cnt > 0) {
_root.pacmen_cnt--;
}
if (_root.expl_cnt > 5) {
_root.expl_cnt = 0;
}
_root.expl_cnt++;
_root.expl.duplicateMovieClip("expl" + _root.expl_cnt, _root.expl_cnt);
_root["expl" + _root.expl_cnt]._x = _x;
_root["expl" + _root.expl_cnt]._y = _y;
_root.ball.ysp = 13;
_root.ball.act = "jump";
xsp = 0;
if (this._currentframe == 1) {
_root["expl" + _root.expl_cnt].gotoAndStop(2);
this.gotoAndStop(5);
} else if (this._currentframe == 2) {
_root["expl" + _root.expl_cnt].gotoAndStop(3);
this.gotoAndStop(6);
} else if (this._currentframe == 3) {
_root["expl" + _root.expl_cnt].gotoAndStop(4);
this.gotoAndStop(7);
} else if (this._currentframe == 4) {
_root["expl" + _root.expl_cnt].gotoAndStop(5);
this.gotoAndStop(8);
}
}
}
Instance of Symbol 147 MovieClip "pac7" in Frame 17
onClipEvent (load) {
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
onClipEvent (enterFrame) {
_x = (_x + xsp);
if (_x > 480) {
_x = 80;
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
if (this.hit.hitTest(_root.hit) && (_root.ball.act == "fall")) {
if (_root.p1._currentframe == 1) {
if (this._currentframe == 1) {
_root.p1.gotoAndStop(2);
} else if (this._currentframe == 2) {
_root.p1.gotoAndStop(3);
} else if (this._currentframe == 3) {
_root.p1.gotoAndStop(4);
} else if (this._currentframe == 4) {
_root.p1.gotoAndStop(5);
}
} else if (_root.p2._currentframe == 1) {
if (this._currentframe == (_root.p1._currentframe - 1)) {
_root.p2.gotoAndStop(_root.p1._currentframe);
} else {
_root.p2.gotoAndStop(1);
_root.p1.gotoAndStop(this._currentframe + 1);
}
} else if (_root.p3._currentframe == 1) {
if (this._currentframe == (_root.p2._currentframe - 1)) {
_root.p3.gotoAndStop(_root.p2._currentframe);
} else {
_root.p1.gotoAndStop(this._currentframe + 1);
_root.p3.gotoAndStop(1);
_root.p2.gotoAndStop(1);
}
}
_root.max_pacmen++;
if (_root.max_combo < int(_root.lbl_multi)) {
_root.max_combo = _root.lbl_multi;
if (int(_root.max_combo >= 19)) {
_root.cr1.nextFrame();
_root.co_cra1 = "yes";
}
if (int(_root.max_combo >= 49)) {
_root.cr2.nextFrame();
_root.co_cra2 = "yes";
}
if (int(_root.max_combo >= 79)) {
_root.cr3.nextFrame();
_root.co_cra3 = "yes";
}
}
if (_root.max_pacmen >= 100) {
_root.pk1.nextFrame();
_root.killer1 = "yes";
}
if (_root.max_pacmen >= 300) {
_root.pk2.nextFrame();
_root.killer2 = "yes";
}
if (_root.max_pacmen >= 600) {
_root.pk3.nextFrame();
_root.killer3 = "yes";
}
_root.lbl_multi++;
if (int(_root.lbl_multi > 1)) {
_root.mc_mul.mcnt.ml = "x" + _root.lbl_multi;
_root.mc_mul._x = _root.ball._x + 15;
_root.mc_mul._y = _root.ball._y - 15;
_root.mc_mul.gotoAndPlay(2);
}
if (_root.end_game == "yes") {
_root.lbl_score = _root.lbl_score + (50 * int(_root.lbl_multi));
} else {
_root.lbl_score = _root.lbl_score + (10 * int(_root.lbl_multi));
}
if (_root.pacmen_cnt > 0) {
_root.pacmen_cnt--;
}
if (_root.expl_cnt > 5) {
_root.expl_cnt = 0;
}
_root.expl_cnt++;
_root.expl.duplicateMovieClip("expl" + _root.expl_cnt, _root.expl_cnt);
_root["expl" + _root.expl_cnt]._x = _x;
_root["expl" + _root.expl_cnt]._y = _y;
_root.ball.ysp = 13;
_root.ball.act = "jump";
xsp = 0;
if (this._currentframe == 1) {
_root["expl" + _root.expl_cnt].gotoAndStop(2);
this.gotoAndStop(5);
} else if (this._currentframe == 2) {
_root["expl" + _root.expl_cnt].gotoAndStop(3);
this.gotoAndStop(6);
} else if (this._currentframe == 3) {
_root["expl" + _root.expl_cnt].gotoAndStop(4);
this.gotoAndStop(7);
} else if (this._currentframe == 4) {
_root["expl" + _root.expl_cnt].gotoAndStop(5);
this.gotoAndStop(8);
}
}
}
Instance of Symbol 147 MovieClip "pac5" in Frame 17
onClipEvent (load) {
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
onClipEvent (enterFrame) {
_x = (_x + xsp);
if (_x > 480) {
_x = 80;
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
if (this.hit.hitTest(_root.hit) && (_root.ball.act == "fall")) {
if (_root.p1._currentframe == 1) {
if (this._currentframe == 1) {
_root.p1.gotoAndStop(2);
} else if (this._currentframe == 2) {
_root.p1.gotoAndStop(3);
} else if (this._currentframe == 3) {
_root.p1.gotoAndStop(4);
} else if (this._currentframe == 4) {
_root.p1.gotoAndStop(5);
}
} else if (_root.p2._currentframe == 1) {
if (this._currentframe == (_root.p1._currentframe - 1)) {
_root.p2.gotoAndStop(_root.p1._currentframe);
} else {
_root.p2.gotoAndStop(1);
_root.p1.gotoAndStop(this._currentframe + 1);
}
} else if (_root.p3._currentframe == 1) {
if (this._currentframe == (_root.p2._currentframe - 1)) {
_root.p3.gotoAndStop(_root.p2._currentframe);
} else {
_root.p1.gotoAndStop(this._currentframe + 1);
_root.p3.gotoAndStop(1);
_root.p2.gotoAndStop(1);
}
}
_root.max_pacmen++;
if (_root.max_combo < int(_root.lbl_multi)) {
_root.max_combo = _root.lbl_multi;
if (int(_root.max_combo >= 19)) {
_root.cr1.nextFrame();
_root.co_cra1 = "yes";
}
if (int(_root.max_combo >= 49)) {
_root.cr2.nextFrame();
_root.co_cra2 = "yes";
}
if (int(_root.max_combo >= 79)) {
_root.cr3.nextFrame();
_root.co_cra3 = "yes";
}
}
if (_root.max_pacmen >= 100) {
_root.pk1.nextFrame();
_root.killer1 = "yes";
}
if (_root.max_pacmen >= 300) {
_root.pk2.nextFrame();
_root.killer2 = "yes";
}
if (_root.max_pacmen >= 600) {
_root.pk3.nextFrame();
_root.killer3 = "yes";
}
_root.lbl_multi++;
if (int(_root.lbl_multi > 1)) {
_root.mc_mul.mcnt.ml = "x" + _root.lbl_multi;
_root.mc_mul._x = _root.ball._x + 15;
_root.mc_mul._y = _root.ball._y - 15;
_root.mc_mul.gotoAndPlay(2);
}
if (_root.end_game == "yes") {
_root.lbl_score = _root.lbl_score + (50 * int(_root.lbl_multi));
} else {
_root.lbl_score = _root.lbl_score + (10 * int(_root.lbl_multi));
}
if (_root.pacmen_cnt > 0) {
_root.pacmen_cnt--;
}
if (_root.expl_cnt > 5) {
_root.expl_cnt = 0;
}
_root.expl_cnt++;
_root.expl.duplicateMovieClip("expl" + _root.expl_cnt, _root.expl_cnt);
_root["expl" + _root.expl_cnt]._x = _x;
_root["expl" + _root.expl_cnt]._y = _y;
_root.ball.ysp = 13;
_root.ball.act = "jump";
xsp = 0;
if (this._currentframe == 1) {
_root["expl" + _root.expl_cnt].gotoAndStop(2);
this.gotoAndStop(5);
} else if (this._currentframe == 2) {
_root["expl" + _root.expl_cnt].gotoAndStop(3);
this.gotoAndStop(6);
} else if (this._currentframe == 3) {
_root["expl" + _root.expl_cnt].gotoAndStop(4);
this.gotoAndStop(7);
} else if (this._currentframe == 4) {
_root["expl" + _root.expl_cnt].gotoAndStop(5);
this.gotoAndStop(8);
}
}
}
Instance of Symbol 147 MovieClip "pac3" in Frame 17
onClipEvent (load) {
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
onClipEvent (enterFrame) {
_x = (_x + xsp);
if (_x > 480) {
_x = 80;
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
if (this.hit.hitTest(_root.hit) && (_root.ball.act == "fall")) {
if (_root.p1._currentframe == 1) {
if (this._currentframe == 1) {
_root.p1.gotoAndStop(2);
} else if (this._currentframe == 2) {
_root.p1.gotoAndStop(3);
} else if (this._currentframe == 3) {
_root.p1.gotoAndStop(4);
} else if (this._currentframe == 4) {
_root.p1.gotoAndStop(5);
}
} else if (_root.p2._currentframe == 1) {
if (this._currentframe == (_root.p1._currentframe - 1)) {
_root.p2.gotoAndStop(_root.p1._currentframe);
} else {
_root.p2.gotoAndStop(1);
_root.p1.gotoAndStop(this._currentframe + 1);
}
} else if (_root.p3._currentframe == 1) {
if (this._currentframe == (_root.p2._currentframe - 1)) {
_root.p3.gotoAndStop(_root.p2._currentframe);
} else {
_root.p1.gotoAndStop(this._currentframe + 1);
_root.p3.gotoAndStop(1);
_root.p2.gotoAndStop(1);
}
}
_root.max_pacmen++;
if (_root.max_combo < int(_root.lbl_multi)) {
_root.max_combo = _root.lbl_multi;
if (int(_root.max_combo >= 19)) {
_root.cr1.nextFrame();
_root.co_cra1 = "yes";
}
if (int(_root.max_combo >= 49)) {
_root.cr2.nextFrame();
_root.co_cra2 = "yes";
}
if (int(_root.max_combo >= 79)) {
_root.cr3.nextFrame();
_root.co_cra3 = "yes";
}
}
if (_root.max_pacmen >= 100) {
_root.pk1.nextFrame();
_root.killer1 = "yes";
}
if (_root.max_pacmen >= 300) {
_root.pk2.nextFrame();
_root.killer2 = "yes";
}
if (_root.max_pacmen >= 600) {
_root.pk3.nextFrame();
_root.killer3 = "yes";
}
_root.lbl_multi++;
if (int(_root.lbl_multi > 1)) {
_root.mc_mul.mcnt.ml = "x" + _root.lbl_multi;
_root.mc_mul._x = _root.ball._x + 15;
_root.mc_mul._y = _root.ball._y - 15;
_root.mc_mul.gotoAndPlay(2);
}
if (_root.end_game == "yes") {
_root.lbl_score = _root.lbl_score + (50 * int(_root.lbl_multi));
} else {
_root.lbl_score = _root.lbl_score + (10 * int(_root.lbl_multi));
}
if (_root.pacmen_cnt > 0) {
_root.pacmen_cnt--;
}
if (_root.expl_cnt > 5) {
_root.expl_cnt = 0;
}
_root.expl_cnt++;
_root.expl.duplicateMovieClip("expl" + _root.expl_cnt, _root.expl_cnt);
_root["expl" + _root.expl_cnt]._x = _x;
_root["expl" + _root.expl_cnt]._y = _y;
_root.ball.ysp = 13;
_root.ball.act = "jump";
xsp = 0;
if (this._currentframe == 1) {
_root["expl" + _root.expl_cnt].gotoAndStop(2);
this.gotoAndStop(5);
} else if (this._currentframe == 2) {
_root["expl" + _root.expl_cnt].gotoAndStop(3);
this.gotoAndStop(6);
} else if (this._currentframe == 3) {
_root["expl" + _root.expl_cnt].gotoAndStop(4);
this.gotoAndStop(7);
} else if (this._currentframe == 4) {
_root["expl" + _root.expl_cnt].gotoAndStop(5);
this.gotoAndStop(8);
}
}
}
Instance of Symbol 147 MovieClip "pac11" in Frame 17
onClipEvent (load) {
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
onClipEvent (enterFrame) {
_x = (_x + xsp);
if (_x > 480) {
_x = 80;
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
if (this.hit.hitTest(_root.hit) && (_root.ball.act == "fall")) {
if (_root.p1._currentframe == 1) {
if (this._currentframe == 1) {
_root.p1.gotoAndStop(2);
} else if (this._currentframe == 2) {
_root.p1.gotoAndStop(3);
} else if (this._currentframe == 3) {
_root.p1.gotoAndStop(4);
} else if (this._currentframe == 4) {
_root.p1.gotoAndStop(5);
}
} else if (_root.p2._currentframe == 1) {
if (this._currentframe == (_root.p1._currentframe - 1)) {
_root.p2.gotoAndStop(_root.p1._currentframe);
} else {
_root.p2.gotoAndStop(1);
_root.p1.gotoAndStop(this._currentframe + 1);
}
} else if (_root.p3._currentframe == 1) {
if (this._currentframe == (_root.p2._currentframe - 1)) {
_root.p3.gotoAndStop(_root.p2._currentframe);
} else {
_root.p1.gotoAndStop(this._currentframe + 1);
_root.p3.gotoAndStop(1);
_root.p2.gotoAndStop(1);
}
}
_root.max_pacmen++;
if (_root.max_combo < int(_root.lbl_multi)) {
_root.max_combo = _root.lbl_multi;
if (int(_root.max_combo >= 19)) {
_root.cr1.nextFrame();
_root.co_cra1 = "yes";
}
if (int(_root.max_combo >= 49)) {
_root.cr2.nextFrame();
_root.co_cra2 = "yes";
}
if (int(_root.max_combo >= 79)) {
_root.cr3.nextFrame();
_root.co_cra3 = "yes";
}
}
if (_root.max_pacmen >= 100) {
_root.pk1.nextFrame();
_root.killer1 = "yes";
}
if (_root.max_pacmen >= 300) {
_root.pk2.nextFrame();
_root.killer2 = "yes";
}
if (_root.max_pacmen >= 600) {
_root.pk3.nextFrame();
_root.killer3 = "yes";
}
_root.lbl_multi++;
if (int(_root.lbl_multi > 1)) {
_root.mc_mul.mcnt.ml = "x" + _root.lbl_multi;
_root.mc_mul._x = _root.ball._x + 15;
_root.mc_mul._y = _root.ball._y - 15;
_root.mc_mul.gotoAndPlay(2);
}
if (_root.end_game == "yes") {
_root.lbl_score = _root.lbl_score + (50 * int(_root.lbl_multi));
} else {
_root.lbl_score = _root.lbl_score + (10 * int(_root.lbl_multi));
}
if (_root.pacmen_cnt > 0) {
_root.pacmen_cnt--;
}
if (_root.expl_cnt > 5) {
_root.expl_cnt = 0;
}
_root.expl_cnt++;
_root.expl.duplicateMovieClip("expl" + _root.expl_cnt, _root.expl_cnt);
_root["expl" + _root.expl_cnt]._x = _x;
_root["expl" + _root.expl_cnt]._y = _y;
_root.ball.ysp = 13;
_root.ball.act = "jump";
xsp = 0;
if (this._currentframe == 1) {
_root["expl" + _root.expl_cnt].gotoAndStop(2);
this.gotoAndStop(5);
} else if (this._currentframe == 2) {
_root["expl" + _root.expl_cnt].gotoAndStop(3);
this.gotoAndStop(6);
} else if (this._currentframe == 3) {
_root["expl" + _root.expl_cnt].gotoAndStop(4);
this.gotoAndStop(7);
} else if (this._currentframe == 4) {
_root["expl" + _root.expl_cnt].gotoAndStop(5);
this.gotoAndStop(8);
}
}
}
Instance of Symbol 147 MovieClip "pac17" in Frame 17
onClipEvent (load) {
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
onClipEvent (enterFrame) {
_x = (_x + xsp);
if (_x > 480) {
_x = 80;
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
if (this.hit.hitTest(_root.hit) && (_root.ball.act == "fall")) {
if (_root.p1._currentframe == 1) {
if (this._currentframe == 1) {
_root.p1.gotoAndStop(2);
} else if (this._currentframe == 2) {
_root.p1.gotoAndStop(3);
} else if (this._currentframe == 3) {
_root.p1.gotoAndStop(4);
} else if (this._currentframe == 4) {
_root.p1.gotoAndStop(5);
}
} else if (_root.p2._currentframe == 1) {
if (this._currentframe == (_root.p1._currentframe - 1)) {
_root.p2.gotoAndStop(_root.p1._currentframe);
} else {
_root.p2.gotoAndStop(1);
_root.p1.gotoAndStop(this._currentframe + 1);
}
} else if (_root.p3._currentframe == 1) {
if (this._currentframe == (_root.p2._currentframe - 1)) {
_root.p3.gotoAndStop(_root.p2._currentframe);
} else {
_root.p1.gotoAndStop(this._currentframe + 1);
_root.p3.gotoAndStop(1);
_root.p2.gotoAndStop(1);
}
}
_root.max_pacmen++;
if (_root.max_combo < int(_root.lbl_multi)) {
_root.max_combo = _root.lbl_multi;
if (int(_root.max_combo >= 19)) {
_root.cr1.nextFrame();
_root.co_cra1 = "yes";
}
if (int(_root.max_combo >= 49)) {
_root.cr2.nextFrame();
_root.co_cra2 = "yes";
}
if (int(_root.max_combo >= 79)) {
_root.cr3.nextFrame();
_root.co_cra3 = "yes";
}
}
if (_root.max_pacmen >= 100) {
_root.pk1.nextFrame();
_root.killer1 = "yes";
}
if (_root.max_pacmen >= 300) {
_root.pk2.nextFrame();
_root.killer2 = "yes";
}
if (_root.max_pacmen >= 600) {
_root.pk3.nextFrame();
_root.killer3 = "yes";
}
_root.lbl_multi++;
if (int(_root.lbl_multi > 1)) {
_root.mc_mul.mcnt.ml = "x" + _root.lbl_multi;
_root.mc_mul._x = _root.ball._x + 15;
_root.mc_mul._y = _root.ball._y - 15;
_root.mc_mul.gotoAndPlay(2);
}
if (_root.end_game == "yes") {
_root.lbl_score = _root.lbl_score + (50 * int(_root.lbl_multi));
} else {
_root.lbl_score = _root.lbl_score + (10 * int(_root.lbl_multi));
}
if (_root.pacmen_cnt > 0) {
_root.pacmen_cnt--;
}
if (_root.expl_cnt > 5) {
_root.expl_cnt = 0;
}
_root.expl_cnt++;
_root.expl.duplicateMovieClip("expl" + _root.expl_cnt, _root.expl_cnt);
_root["expl" + _root.expl_cnt]._x = _x;
_root["expl" + _root.expl_cnt]._y = _y;
_root.ball.ysp = 13;
_root.ball.act = "jump";
xsp = 0;
if (this._currentframe == 1) {
_root["expl" + _root.expl_cnt].gotoAndStop(2);
this.gotoAndStop(5);
} else if (this._currentframe == 2) {
_root["expl" + _root.expl_cnt].gotoAndStop(3);
this.gotoAndStop(6);
} else if (this._currentframe == 3) {
_root["expl" + _root.expl_cnt].gotoAndStop(4);
this.gotoAndStop(7);
} else if (this._currentframe == 4) {
_root["expl" + _root.expl_cnt].gotoAndStop(5);
this.gotoAndStop(8);
}
}
}
Instance of Symbol 147 MovieClip "pac18" in Frame 17
onClipEvent (load) {
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
onClipEvent (enterFrame) {
_x = (_x + xsp);
if (_x > 480) {
_x = 80;
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
if (this.hit.hitTest(_root.hit) && (_root.ball.act == "fall")) {
if (_root.p1._currentframe == 1) {
if (this._currentframe == 1) {
_root.p1.gotoAndStop(2);
} else if (this._currentframe == 2) {
_root.p1.gotoAndStop(3);
} else if (this._currentframe == 3) {
_root.p1.gotoAndStop(4);
} else if (this._currentframe == 4) {
_root.p1.gotoAndStop(5);
}
} else if (_root.p2._currentframe == 1) {
if (this._currentframe == (_root.p1._currentframe - 1)) {
_root.p2.gotoAndStop(_root.p1._currentframe);
} else {
_root.p2.gotoAndStop(1);
_root.p1.gotoAndStop(this._currentframe + 1);
}
} else if (_root.p3._currentframe == 1) {
if (this._currentframe == (_root.p2._currentframe - 1)) {
_root.p3.gotoAndStop(_root.p2._currentframe);
} else {
_root.p1.gotoAndStop(this._currentframe + 1);
_root.p3.gotoAndStop(1);
_root.p2.gotoAndStop(1);
}
}
_root.max_pacmen++;
if (_root.max_combo < int(_root.lbl_multi)) {
_root.max_combo = _root.lbl_multi;
if (int(_root.max_combo >= 19)) {
_root.cr1.nextFrame();
_root.co_cra1 = "yes";
}
if (int(_root.max_combo >= 49)) {
_root.cr2.nextFrame();
_root.co_cra2 = "yes";
}
if (int(_root.max_combo >= 79)) {
_root.cr3.nextFrame();
_root.co_cra3 = "yes";
}
}
if (_root.max_pacmen >= 100) {
_root.pk1.nextFrame();
_root.killer1 = "yes";
}
if (_root.max_pacmen >= 300) {
_root.pk2.nextFrame();
_root.killer2 = "yes";
}
if (_root.max_pacmen >= 600) {
_root.pk3.nextFrame();
_root.killer3 = "yes";
}
_root.lbl_multi++;
if (int(_root.lbl_multi > 1)) {
_root.mc_mul.mcnt.ml = "x" + _root.lbl_multi;
_root.mc_mul._x = _root.ball._x + 15;
_root.mc_mul._y = _root.ball._y - 15;
_root.mc_mul.gotoAndPlay(2);
}
if (_root.end_game == "yes") {
_root.lbl_score = _root.lbl_score + (50 * int(_root.lbl_multi));
} else {
_root.lbl_score = _root.lbl_score + (10 * int(_root.lbl_multi));
}
if (_root.pacmen_cnt > 0) {
_root.pacmen_cnt--;
}
if (_root.expl_cnt > 5) {
_root.expl_cnt = 0;
}
_root.expl_cnt++;
_root.expl.duplicateMovieClip("expl" + _root.expl_cnt, _root.expl_cnt);
_root["expl" + _root.expl_cnt]._x = _x;
_root["expl" + _root.expl_cnt]._y = _y;
_root.ball.ysp = 13;
_root.ball.act = "jump";
xsp = 0;
if (this._currentframe == 1) {
_root["expl" + _root.expl_cnt].gotoAndStop(2);
this.gotoAndStop(5);
} else if (this._currentframe == 2) {
_root["expl" + _root.expl_cnt].gotoAndStop(3);
this.gotoAndStop(6);
} else if (this._currentframe == 3) {
_root["expl" + _root.expl_cnt].gotoAndStop(4);
this.gotoAndStop(7);
} else if (this._currentframe == 4) {
_root["expl" + _root.expl_cnt].gotoAndStop(5);
this.gotoAndStop(8);
}
}
}
Instance of Symbol 147 MovieClip "pac19" in Frame 17
onClipEvent (load) {
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
onClipEvent (enterFrame) {
_x = (_x + xsp);
if (_x > 480) {
_x = 80;
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
if (this.hit.hitTest(_root.hit) && (_root.ball.act == "fall")) {
if (_root.p1._currentframe == 1) {
if (this._currentframe == 1) {
_root.p1.gotoAndStop(2);
} else if (this._currentframe == 2) {
_root.p1.gotoAndStop(3);
} else if (this._currentframe == 3) {
_root.p1.gotoAndStop(4);
} else if (this._currentframe == 4) {
_root.p1.gotoAndStop(5);
}
} else if (_root.p2._currentframe == 1) {
if (this._currentframe == (_root.p1._currentframe - 1)) {
_root.p2.gotoAndStop(_root.p1._currentframe);
} else {
_root.p2.gotoAndStop(1);
_root.p1.gotoAndStop(this._currentframe + 1);
}
} else if (_root.p3._currentframe == 1) {
if (this._currentframe == (_root.p2._currentframe - 1)) {
_root.p3.gotoAndStop(_root.p2._currentframe);
} else {
_root.p1.gotoAndStop(this._currentframe + 1);
_root.p3.gotoAndStop(1);
_root.p2.gotoAndStop(1);
}
}
_root.max_pacmen++;
if (_root.max_combo < int(_root.lbl_multi)) {
_root.max_combo = _root.lbl_multi;
if (int(_root.max_combo >= 19)) {
_root.cr1.nextFrame();
_root.co_cra1 = "yes";
}
if (int(_root.max_combo >= 49)) {
_root.cr2.nextFrame();
_root.co_cra2 = "yes";
}
if (int(_root.max_combo >= 79)) {
_root.cr3.nextFrame();
_root.co_cra3 = "yes";
}
}
if (_root.max_pacmen >= 100) {
_root.pk1.nextFrame();
_root.killer1 = "yes";
}
if (_root.max_pacmen >= 300) {
_root.pk2.nextFrame();
_root.killer2 = "yes";
}
if (_root.max_pacmen >= 600) {
_root.pk3.nextFrame();
_root.killer3 = "yes";
}
_root.lbl_multi++;
if (int(_root.lbl_multi > 1)) {
_root.mc_mul.mcnt.ml = "x" + _root.lbl_multi;
_root.mc_mul._x = _root.ball._x + 15;
_root.mc_mul._y = _root.ball._y - 15;
_root.mc_mul.gotoAndPlay(2);
}
if (_root.end_game == "yes") {
_root.lbl_score = _root.lbl_score + (50 * int(_root.lbl_multi));
} else {
_root.lbl_score = _root.lbl_score + (10 * int(_root.lbl_multi));
}
if (_root.pacmen_cnt > 0) {
_root.pacmen_cnt--;
}
if (_root.expl_cnt > 5) {
_root.expl_cnt = 0;
}
_root.expl_cnt++;
_root.expl.duplicateMovieClip("expl" + _root.expl_cnt, _root.expl_cnt);
_root["expl" + _root.expl_cnt]._x = _x;
_root["expl" + _root.expl_cnt]._y = _y;
_root.ball.ysp = 13;
_root.ball.act = "jump";
xsp = 0;
if (this._currentframe == 1) {
_root["expl" + _root.expl_cnt].gotoAndStop(2);
this.gotoAndStop(5);
} else if (this._currentframe == 2) {
_root["expl" + _root.expl_cnt].gotoAndStop(3);
this.gotoAndStop(6);
} else if (this._currentframe == 3) {
_root["expl" + _root.expl_cnt].gotoAndStop(4);
this.gotoAndStop(7);
} else if (this._currentframe == 4) {
_root["expl" + _root.expl_cnt].gotoAndStop(5);
this.gotoAndStop(8);
}
}
}
Instance of Symbol 147 MovieClip "pac20" in Frame 17
onClipEvent (load) {
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
onClipEvent (enterFrame) {
_x = (_x + xsp);
if (_x > 480) {
_x = 80;
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
if (this.hit.hitTest(_root.hit) && (_root.ball.act == "fall")) {
if (_root.p1._currentframe == 1) {
if (this._currentframe == 1) {
_root.p1.gotoAndStop(2);
} else if (this._currentframe == 2) {
_root.p1.gotoAndStop(3);
} else if (this._currentframe == 3) {
_root.p1.gotoAndStop(4);
} else if (this._currentframe == 4) {
_root.p1.gotoAndStop(5);
}
} else if (_root.p2._currentframe == 1) {
if (this._currentframe == (_root.p1._currentframe - 1)) {
_root.p2.gotoAndStop(_root.p1._currentframe);
} else {
_root.p2.gotoAndStop(1);
_root.p1.gotoAndStop(this._currentframe + 1);
}
} else if (_root.p3._currentframe == 1) {
if (this._currentframe == (_root.p2._currentframe - 1)) {
_root.p3.gotoAndStop(_root.p2._currentframe);
} else {
_root.p1.gotoAndStop(this._currentframe + 1);
_root.p3.gotoAndStop(1);
_root.p2.gotoAndStop(1);
}
}
_root.max_pacmen++;
if (_root.max_combo < int(_root.lbl_multi)) {
_root.max_combo = _root.lbl_multi;
if (int(_root.max_combo >= 19)) {
_root.cr1.nextFrame();
_root.co_cra1 = "yes";
}
if (int(_root.max_combo >= 49)) {
_root.cr2.nextFrame();
_root.co_cra2 = "yes";
}
if (int(_root.max_combo >= 79)) {
_root.cr3.nextFrame();
_root.co_cra3 = "yes";
}
}
if (_root.max_pacmen >= 100) {
_root.pk1.nextFrame();
_root.killer1 = "yes";
}
if (_root.max_pacmen >= 300) {
_root.pk2.nextFrame();
_root.killer2 = "yes";
}
if (_root.max_pacmen >= 600) {
_root.pk3.nextFrame();
_root.killer3 = "yes";
}
_root.lbl_multi++;
if (int(_root.lbl_multi > 1)) {
_root.mc_mul.mcnt.ml = "x" + _root.lbl_multi;
_root.mc_mul._x = _root.ball._x + 15;
_root.mc_mul._y = _root.ball._y - 15;
_root.mc_mul.gotoAndPlay(2);
}
if (_root.end_game == "yes") {
_root.lbl_score = _root.lbl_score + (50 * int(_root.lbl_multi));
} else {
_root.lbl_score = _root.lbl_score + (10 * int(_root.lbl_multi));
}
if (_root.pacmen_cnt > 0) {
_root.pacmen_cnt--;
}
if (_root.expl_cnt > 5) {
_root.expl_cnt = 0;
}
_root.expl_cnt++;
_root.expl.duplicateMovieClip("expl" + _root.expl_cnt, _root.expl_cnt);
_root["expl" + _root.expl_cnt]._x = _x;
_root["expl" + _root.expl_cnt]._y = _y;
_root.ball.ysp = 13;
_root.ball.act = "jump";
xsp = 0;
if (this._currentframe == 1) {
_root["expl" + _root.expl_cnt].gotoAndStop(2);
this.gotoAndStop(5);
} else if (this._currentframe == 2) {
_root["expl" + _root.expl_cnt].gotoAndStop(3);
this.gotoAndStop(6);
} else if (this._currentframe == 3) {
_root["expl" + _root.expl_cnt].gotoAndStop(4);
this.gotoAndStop(7);
} else if (this._currentframe == 4) {
_root["expl" + _root.expl_cnt].gotoAndStop(5);
this.gotoAndStop(8);
}
}
}
Instance of Symbol 483 MovieClip "sp_pac1" in Frame 17
onClipEvent (load) {
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
onClipEvent (enterFrame) {
_x = (_x + xsp);
if (_x > 480) {
_x = 80;
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
if (this.hit.hitTest(_root.hit) && (_root.ball.act == "fall")) {
var i = 1;
while (i < 22) {
if (_root["pac" + i]._currentframe < 5) {
_root["pac" + i].gotoAndStop(this._currentframe);
}
i++;
}
if (_root.p1._currentframe == 1) {
if (this._currentframe == 1) {
_root.p1.gotoAndStop(2);
} else if (this._currentframe == 2) {
_root.p1.gotoAndStop(3);
} else if (this._currentframe == 3) {
_root.p1.gotoAndStop(4);
} else if (this._currentframe == 4) {
_root.p1.gotoAndStop(5);
}
} else if (_root.p2._currentframe == 1) {
if (this._currentframe == (_root.p1._currentframe - 1)) {
_root.p2.gotoAndStop(_root.p1._currentframe);
} else {
_root.p2.gotoAndStop(1);
_root.p1.gotoAndStop(this._currentframe + 1);
}
} else if (_root.p3._currentframe == 1) {
if (this._currentframe == (_root.p2._currentframe - 1)) {
_root.p3.gotoAndStop(_root.p2._currentframe);
} else {
_root.p1.gotoAndStop(this._currentframe + 1);
_root.p3.gotoAndStop(1);
_root.p2.gotoAndStop(1);
}
}
_root.max_pacmen++;
if (_root.max_combo < int(_root.lbl_multi)) {
_root.max_combo = _root.lbl_multi;
if (int(_root.max_combo >= 19)) {
_root.cr1.nextFrame();
_root.co_cra1 = "yes";
}
if (int(_root.max_combo >= 49)) {
_root.cr2.nextFrame();
_root.co_cra2 = "yes";
}
if (int(_root.max_combo >= 79)) {
_root.cr3.nextFrame();
_root.co_cra3 = "yes";
}
}
if (_root.max_pacmen >= 100) {
_root.pk1.nextFrame();
_root.killer1 = "yes";
}
if (_root.max_pacmen >= 300) {
_root.pk2.nextFrame();
_root.killer2 = "yes";
}
if (_root.max_pacmen >= 600) {
_root.pk3.nextFrame();
_root.killer3 = "yes";
}
_root.lbl_multi++;
if (int(_root.lbl_multi > 1)) {
_root.mc_mul.mcnt.ml = "x" + _root.lbl_multi;
_root.mc_mul._x = _root.ball._x + 15;
_root.mc_mul._y = _root.ball._y - 15;
_root.mc_mul.gotoAndPlay(2);
}
if (_root.end_game == "yes") {
_root.lbl_score = _root.lbl_score + (50 * int(_root.lbl_multi));
} else {
_root.lbl_score = _root.lbl_score + (10 * int(_root.lbl_multi));
}
if (_root.pacmen_cnt > 0) {
_root.pacmen_cnt--;
}
if (_root.expl_cnt > 5) {
_root.expl_cnt = 0;
}
_root.expl_cnt++;
_root.expl.duplicateMovieClip("expl" + _root.expl_cnt, _root.expl_cnt);
_root["expl" + _root.expl_cnt]._x = _x;
_root["expl" + _root.expl_cnt]._y = _y;
_root.ball.ysp = 13;
_root.ball.act = "jump";
xsp = 0;
if (this._currentframe == 1) {
_root["expl" + _root.expl_cnt].gotoAndStop(2);
this.gotoAndStop(5);
} else if (this._currentframe == 2) {
_root["expl" + _root.expl_cnt].gotoAndStop(3);
this.gotoAndStop(6);
} else if (this._currentframe == 3) {
_root["expl" + _root.expl_cnt].gotoAndStop(4);
this.gotoAndStop(7);
} else if (this._currentframe == 4) {
_root["expl" + _root.expl_cnt].gotoAndStop(5);
this.gotoAndStop(8);
}
}
}
Instance of Symbol 170 MovieClip "pink_pac" in Frame 17
onClipEvent (load) {
xsp = random(5) + 3;
_y = (random(100) + 200);
}
onClipEvent (enterFrame) {
if (_root.bmb_cnt < 2) {
start_pink = 1;
}
if (start_pink) {
_x = (_x + xsp);
if (_x > 480) {
this.gotoAndStop(3);
}
if (this.hit.hitTest(_root.hit) && (_root.ball.act == "fall")) {
_root.pink_pacmen++;
if (_root.pink_pacmen >= 3) {
_root.pink1.nextFrame();
}
if (_root.pink_pacmen >= 6) {
_root.pink2.nextFrame();
}
if (_root.pink_pacmen >= 10) {
_root.pink3.nextFrame();
}
_root.max_pacmen++;
if (_root.max_combo < int(_root.lbl_multi)) {
_root.max_combo = _root.lbl_multi;
if (int(_root.max_combo >= 19)) {
_root.cr1.nextFrame();
_root.co_cra1 = "yes";
}
if (int(_root.max_combo >= 49)) {
_root.cr2.nextFrame();
_root.co_cra2 = "yes";
}
if (int(_root.max_combo >= 79)) {
_root.cr3.nextFrame();
_root.co_cra3 = "yes";
}
}
if (_root.max_pacmen >= 100) {
_root.pk1.nextFrame();
_root.killer1 = "yes";
}
if (_root.max_pacmen >= 300) {
_root.pk2.nextFrame();
_root.killer2 = "yes";
}
if (_root.max_pacmen >= 600) {
_root.pk3.nextFrame();
_root.killer3 = "yes";
}
_root.lbl_multi++;
if (int(_root.lbl_multi > 1)) {
_root.mc_mul.mcnt.ml = "x" + _root.lbl_multi;
_root.mc_mul._x = _root.ball._x + 15;
_root.mc_mul._y = _root.ball._y - 15;
_root.mc_mul.gotoAndPlay(2);
}
if (_root.end_game == "yes") {
_root.lbl_score = _root.lbl_score + (5000 * int(_root.lbl_multi));
} else {
_root.lbl_score = _root.lbl_score + (1000 * int(_root.lbl_multi));
}
if (_root.pacmen_cnt > 0) {
_root.pacmen_cnt--;
}
if (_root.expl_cnt > 5) {
_root.expl_cnt = 0;
}
_root.ball.ysp = 13;
_root.ball.act = "jump";
xsp = 0;
this.gotoAndStop(2);
}
}
}
Instance of Symbol 197 MovieClip "ball" in Frame 17
onClipEvent (load) {
var glevel = _y;
var ysp = 0;
var xsp = 5;
var act = "ground";
var xsp2 = 3;
var m_dir = "";
j = 20;
}
onClipEvent (keyUp) {
if (m_dir == "left") {
roll_left = 1;
m_dir = "";
xsp2 = 3;
} else if (m_dir == "right") {
roll_right = 1;
m_dir = "";
xsp2 = 3;
}
}
onClipEvent (enterFrame) {
if (this._currentframe != 3) {
if (shoot_right) {
_x = (_x + 80);
if (_x >= 430) {
_x = 430;
ysp = 8;
act = "jump";
b_left = 1;
bsp = 10;
shoot_right = 0;
}
}
if (b_left) {
bsp = bsp - 0.5;
_x = (_x - bsp);
if (bsp <= 1) {
bsp = 0;
b_left = 0;
}
}
if (shoot_left) {
_x = (_x - 80);
if (_x <= 115) {
_x = 115;
ysp = 8;
act = "jump";
b_right = 1;
bsp = 10;
shoot_left = 0;
}
}
if (b_right) {
bsp = bsp - 0.5;
_x = (_x + bsp);
if (bsp <= 1) {
bsp = 0;
b_right = 0;
}
}
if (_root.p3._currentframe == 2) {
if (j > 40) {
j = 20;
}
j++;
_root.b_a.duplicateMovieClip("b_a" + j, j);
_root["b_a" + j]._x = _x;
_root["b_a" + j]._y = _y;
} else if (_root.p3._currentframe == 3) {
if (j > 40) {
j = 20;
}
j++;
_root.b_b.duplicateMovieClip("b_b" + j, j);
_root["b_b" + j]._x = _x;
_root["b_b" + j]._y = _y;
} else if (_root.p3._currentframe == 4) {
if (j > 40) {
j = 20;
}
j++;
_root.b_c.duplicateMovieClip("b_c" + j, j);
_root["b_c" + j]._x = _x;
_root["b_c" + j]._y = _y;
} else if (_root.p3._currentframe == 5) {
if (j > 40) {
j = 20;
}
j++;
_root.b_d.duplicateMovieClip("b_d" + j, j);
_root["b_d" + j]._x = _x;
_root["b_d" + j]._y = _y;
}
if (roll_left) {
xsp2 = xsp2 - 0.5;
_rotation = (_rotation - (xsp2 * 3));
_x = (_x - xsp2);
if (_x < 115) {
_x = 115;
}
if (xsp2 <= 0) {
roll_left = 0;
xsp2 = 3;
}
}
if (roll_right) {
xsp2 = xsp2 - 0.5;
_rotation = (_rotation + (xsp2 * 3));
_x = (_x + xsp2);
if (_x > 430) {
_x = 430;
}
if (xsp2 <= 0) {
roll_right = 0;
xsp2 = 3;
}
}
if (Key.isDown(37)) {
m_dir = "left";
roll_left = 0;
roll_right = 0;
_rotation = (_rotation - (xsp + 5));
_x = (_x - xsp);
if (_x < 115) {
_x = 115;
}
} else if (Key.isDown(39)) {
m_dir = "right";
roll_left = 0;
roll_right = 0;
_rotation = (_rotation + (xsp + 5));
_x = (_x + xsp);
if (_x > 430) {
_x = 430;
}
}
if (act == "fall") {
ysp++;
var i = 0;
while (i < ysp) {
_y = (_y+1);
if (_y >= glevel) {
_y = glevel;
_root.snd_hit_ground.start(0, 0);
_root.lbl_multi = 0;
i = 0;
ysp = i;
act = "ground";
_root.leaves._x = _x;
_root.leaves._y = _y - 30;
_root.leaves.gotoAndPlay(2);
}
i++;
}
} else if (act == "jump") {
ysp--;
this.gotoAndStop(2);
var i = 0;
while (i < ysp) {
_y = (_y-1);
if (ysp <= 1) {
ysp = 0;
act = "fall";
}
i++;
}
}
if (Key.isDown(90) && (act == "ground")) {
_root.snd_jump.start(0, 0);
ysp = 12;
act = "jump";
}
if ((Key.isDown(40) && (act == "jump")) && (_y < (glevel - 5))) {
ysp = 0;
act = "fall";
}
}
}
Instance of Symbol 203 MovieClip "hit" in Frame 17
onClipEvent (enterFrame) {
_x = _root.ball._x;
_y = (_root.ball._y + 15);
}
Instance of Symbol 369 MovieClip "l_b" in Frame 17
onClipEvent (load) {
wh = 30 * Math.random();
_width = wh;
_height = wh;
sp = 2 * Math.random();
ysp = 6 * Math.random();
}
onClipEvent (enterFrame) {
if (((_width < 2) || (_height < 2)) || (ysp <= 1)) {
this.removeMovieClip();
} else {
ysp = ysp - 0.1;
_width = (_width - sp);
_height = (_height - sp);
_y = (_y - ysp);
}
}
Instance of Symbol 372 MovieClip "l_c" in Frame 17
onClipEvent (load) {
wh = 30 * Math.random();
_width = wh;
_height = wh;
sp = 2 * Math.random();
ysp = 6 * Math.random();
}
onClipEvent (enterFrame) {
if (((_width < 2) || (_height < 2)) || (ysp <= 1)) {
this.removeMovieClip();
} else {
ysp = ysp - 0.1;
_width = (_width - sp);
_height = (_height - sp);
_y = (_y - ysp);
}
}
Instance of Symbol 376 MovieClip "l_d" in Frame 17
onClipEvent (load) {
wh = 30 * Math.random();
_width = wh;
_height = wh;
sp = 2 * Math.random();
ysp = 6 * Math.random();
}
onClipEvent (enterFrame) {
if (((_width < 2) || (_height < 2)) || (ysp <= 1)) {
this.removeMovieClip();
} else {
ysp = ysp - 0.1;
_width = (_width - sp);
_height = (_height - sp);
_y = (_y - ysp);
}
}
Instance of Symbol 365 MovieClip "b_a" in Frame 17
onClipEvent (load) {
ysp = 5 * Math.random();
}
onClipEvent (enterFrame) {
if (ysp <= 1) {
this.removeMovieClip();
} else {
ysp = ysp - 0.1;
_y = (_y - ysp);
}
}
Instance of Symbol 369 MovieClip "b_b" in Frame 17
onClipEvent (load) {
ysp = 5 * Math.random();
}
onClipEvent (enterFrame) {
if (ysp <= 1) {
this.removeMovieClip();
} else {
ysp = ysp - 0.1;
_y = (_y - ysp);
}
}
Instance of Symbol 372 MovieClip "b_c" in Frame 17
onClipEvent (load) {
ysp = 5 * Math.random();
}
onClipEvent (enterFrame) {
if (ysp <= 1) {
this.removeMovieClip();
} else {
ysp = ysp - 0.1;
_y = (_y - ysp);
}
}
Instance of Symbol 376 MovieClip "b_d" in Frame 17
onClipEvent (load) {
ysp = 5 * Math.random();
}
onClipEvent (enterFrame) {
if (ysp <= 1) {
this.removeMovieClip();
} else {
ysp = ysp - 0.1;
_y = (_y - ysp);
}
}
Instance of Symbol 245 MovieClip "expl" in Frame 17
onClipEvent (load) {
cframe = _root._currentframe;
if (_x < 130) {
this.removeMovieClip();
}
}
onClipEvent (enterFrame) {
if (cframe != _root._currentframe) {
this.removeMovieClip();
}
}
Instance of Symbol 269 MovieClip "mc_grass" in Frame 17
onClipEvent (load) {
tmpdepth = this.getDepth();
this.swapDepths(100);
}
Instance of Symbol 351 MovieClip "mc_ef" in Frame 17
onClipEvent (load) {
tmpdepth = this.getDepth();
this.swapDepths(110);
}
Frame 18
stop();
if (_root.end_game == "yes") {
_root.time_bon = _root.time_bon + int(_root.lbl_time);
}
Frame 19
_root.snd_stage_bg.start(0, 999);
stop();
tmp_time = 0;
lbl_multi = 0;
expl_cnt = 0;
lbl_time = 30;
pacmen_cnt = 40;
i = 0;
j = 0;
m = 0;
end_game = "";
color_bomb = 0;
_root.onEnterFrame = function () {
var _local3 = new Date();
var _local2 = _local3 - starttime;
while (_local2 < (1000 / DESIREDFRAMERATE)) {
_local3 = new Date();
_local2 = _local3 - starttime;
}
starttime = new Date();
if (lbl_time <= 10) {
_root.mc_pan.nextFrame();
}
if ((lbl_time == 0) && (end_game == "")) {
_root.ball._rotation = 0;
_root.ball.gotoAndStop(3);
_root.b_xpl._x = _root.ball._x;
_root.b_xpl._y = _root.ball._y;
_root.b_xpl.nextFrame();
}
if (((Key.isDown(88) && (color_bomb == 0)) && (_root.p3._currentframe != 1)) && (_root.ball._currentframe != 3)) {
_root.max_bombs++;
if (_root.max_bombs >= 20) {
_root.col_mayhem.nextFrame();
}
_root.mc_ef.play();
color_bomb = 1;
}
if ((pacmen_cnt == 0) && (end_game == "")) {
end_game = "yes";
_root.mc_completed.play();
_root.lbl_score = _root.lbl_score + (int(_root.lbl_time) * int(_root.lbl_time));
}
m++;
if (((m == 30) && (lbl_time > 0)) && (end_game == "")) {
tmp_time++;
lbl_time--;
m = 0;
}
if (end_game == "yes") {
j++;
if ((j == 3) && (i < 21)) {
i++;
if (expl_cnt > 10) {
expl_cnt = 0;
}
expl_cnt++;
_root.expl.duplicateMovieClip("expl" + expl_cnt, expl_cnt);
_root["expl" + expl_cnt]._x = _root["pac" + i]._x;
_root["expl" + expl_cnt]._y = _root["pac" + i]._y;
_root["pac" + i].xsp = 0;
if (_root["pac" + i]._currentframe == 1) {
_root["expl" + expl_cnt].gotoAndStop(2);
_root["pac" + i].gotoAndStop(5);
} else if (_root["pac" + i]._currentframe == 2) {
_root["expl" + expl_cnt].gotoAndStop(3);
_root["pac" + i].gotoAndStop(6);
} else if (_root["pac" + i]._currentframe == 3) {
_root["expl" + expl_cnt].gotoAndStop(4);
_root["pac" + i].gotoAndStop(7);
} else if (_root["pac" + i]._currentframe == 4) {
_root["expl" + expl_cnt].gotoAndStop(5);
_root["pac" + i].gotoAndStop(8);
}
j = 0;
}
}
if (color_bomb) {
var i = 1;
while (i < 22) {
expl_cnt++;
_root.expl.duplicateMovieClip("expl" + expl_cnt, expl_cnt);
_root["expl" + expl_cnt]._x = _root["pac" + i]._x;
_root["expl" + expl_cnt]._y = _root["pac" + i]._y;
if ((_root.p3._currentframe == 2) && (_root["pac" + i]._currentframe == 1)) {
_root.max_pacmen++;
if (_root.max_combo < int(_root.lbl_multi)) {
_root.max_combo = _root.lbl_multi;
if (int(_root.max_combo >= 19)) {
_root.cr1.nextFrame();
_root.co_cra1 = "yes";
}
if (int(_root.max_combo >= 49)) {
_root.cr2.nextFrame();
_root.co_cra2 = "yes";
}
if (int(_root.max_combo >= 79)) {
_root.cr3.nextFrame();
_root.co_cra3 = "yes";
}
}
if (_root.max_pacmen >= 100) {
_root.pk1.nextFrame();
_root.killer1 = "yes";
}
if (_root.max_pacmen >= 300) {
_root.pk2.nextFrame();
_root.killer2 = "yes";
}
if (_root.max_pacmen >= 600) {
_root.pk3.nextFrame();
_root.killer3 = "yes";
}
if (end_game == "yes") {
_root.lbl_score = _root.lbl_score + (50 * int(_root.lbl_multi));
} else {
_root.lbl_score = _root.lbl_score + (10 * int(_root.lbl_multi));
}
if (_root.pacmen_cnt > 0) {
_root.pacmen_cnt--;
}
_root["expl" + expl_cnt].gotoAndStop(2);
_root["pac" + i].gotoAndStop(5);
_root["pac" + i].xsp = 0;
} else if ((_root.p3._currentframe == 3) && (_root["pac" + i]._currentframe == 2)) {
_root.max_pacmen++;
if (_root.max_combo < int(_root.lbl_multi)) {
_root.max_combo = _root.lbl_multi;
if (int(_root.max_combo >= 19)) {
_root.cr1.nextFrame();
_root.co_cra1 = "yes";
}
if (int(_root.max_combo >= 49)) {
_root.cr2.nextFrame();
_root.co_cra2 = "yes";
}
if (int(_root.max_combo >= 79)) {
_root.cr3.nextFrame();
_root.co_cra3 = "yes";
}
}
if (_root.max_pacmen >= 100) {
_root.pk1.nextFrame();
_root.killer1 = "yes";
}
if (_root.max_pacmen >= 300) {
_root.pk2.nextFrame();
_root.killer2 = "yes";
}
if (_root.max_pacmen >= 600) {
_root.pk3.nextFrame();
_root.killer3 = "yes";
}
if (end_game == "yes") {
_root.lbl_score = _root.lbl_score + (50 * int(_root.lbl_multi));
} else {
_root.lbl_score = _root.lbl_score + (10 * int(_root.lbl_multi));
}
if (_root.pacmen_cnt > 0) {
_root.pacmen_cnt--;
}
_root["expl" + expl_cnt].gotoAndStop(3);
_root["pac" + i].gotoAndStop(6);
_root["pac" + i].xsp = 0;
} else if ((_root.p3._currentframe == 4) && (_root["pac" + i]._currentframe == 3)) {
_root.max_pacmen++;
if (_root.max_combo < int(_root.lbl_multi)) {
_root.max_combo = _root.lbl_multi;
if (int(_root.max_combo >= 19)) {
_root.cr1.nextFrame();
_root.co_cra1 = "yes";
}
if (int(_root.max_combo >= 49)) {
_root.cr2.nextFrame();
_root.co_cra2 = "yes";
}
if (int(_root.max_combo >= 79)) {
_root.cr3.nextFrame();
_root.co_cra3 = "yes";
}
}
if (_root.max_pacmen >= 100) {
_root.pk1.nextFrame();
_root.killer1 = "yes";
}
if (_root.max_pacmen >= 300) {
_root.pk2.nextFrame();
_root.killer2 = "yes";
}
if (_root.max_pacmen >= 600) {
_root.pk3.nextFrame();
_root.killer3 = "yes";
}
if (end_game == "yes") {
_root.lbl_score = _root.lbl_score + (50 * int(_root.lbl_multi));
} else {
_root.lbl_score = _root.lbl_score + (10 * int(_root.lbl_multi));
}
if (_root.pacmen_cnt > 0) {
_root.pacmen_cnt--;
}
_root["expl" + expl_cnt].gotoAndStop(4);
_root["pac" + i].gotoAndStop(7);
_root["pac" + i].xsp = 0;
} else if ((_root.p3._currentframe == 5) && (_root["pac" + i]._currentframe == 4)) {
_root.max_pacmen++;
if (_root.max_combo < int(_root.lbl_multi)) {
_root.max_combo = _root.lbl_multi;
if (int(_root.max_combo >= 19)) {
_root.cr1.nextFrame();
_root.co_cra1 = "yes";
}
if (int(_root.max_combo >= 49)) {
_root.cr2.nextFrame();
_root.co_cra2 = "yes";
}
if (int(_root.max_combo >= 79)) {
_root.cr3.nextFrame();
_root.co_cra3 = "yes";
}
}
if (_root.max_pacmen >= 100) {
_root.pk1.nextFrame();
_root.killer1 = "yes";
}
if (_root.max_pacmen >= 300) {
_root.pk2.nextFrame();
_root.killer2 = "yes";
}
if (_root.max_pacmen >= 600) {
_root.pk3.nextFrame();
_root.killer3 = "yes";
}
if (end_game == "yes") {
_root.lbl_score = _root.lbl_score + (50 * int(_root.lbl_multi));
} else {
_root.lbl_score = _root.lbl_score + (10 * int(_root.lbl_multi));
}
if (_root.pacmen_cnt > 0) {
_root.pacmen_cnt--;
}
_root["expl" + expl_cnt].gotoAndStop(5);
_root["pac" + i].gotoAndStop(8);
_root["pac" + i].xsp = 0;
}
i++;
}
i = 0;
j = 0;
expl_cnt = 0;
_root.p1.gotoAndStop(1);
_root.p2.gotoAndStop(1);
_root.p3.gotoAndStop(1);
color_bomb = 0;
}
};
Instance of Symbol 147 MovieClip "pac1" in Frame 19
onClipEvent (load) {
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
onClipEvent (enterFrame) {
_x = (_x + xsp);
if (_x > 480) {
_x = 80;
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
if (this.hit.hitTest(_root.hit) && (_root.ball.act == "fall")) {
if (_root.p1._currentframe == 1) {
if (this._currentframe == 1) {
_root.p1.gotoAndStop(2);
} else if (this._currentframe == 2) {
_root.p1.gotoAndStop(3);
} else if (this._currentframe == 3) {
_root.p1.gotoAndStop(4);
} else if (this._currentframe == 4) {
_root.p1.gotoAndStop(5);
}
} else if (_root.p2._currentframe == 1) {
if (this._currentframe == (_root.p1._currentframe - 1)) {
_root.p2.gotoAndStop(_root.p1._currentframe);
} else {
_root.p2.gotoAndStop(1);
_root.p1.gotoAndStop(this._currentframe + 1);
}
} else if (_root.p3._currentframe == 1) {
if (this._currentframe == (_root.p2._currentframe - 1)) {
_root.p3.gotoAndStop(_root.p2._currentframe);
} else {
_root.p1.gotoAndStop(this._currentframe + 1);
_root.p3.gotoAndStop(1);
_root.p2.gotoAndStop(1);
}
}
_root.max_pacmen++;
if (_root.max_combo < int(_root.lbl_multi)) {
_root.max_combo = _root.lbl_multi;
if (int(_root.max_combo >= 19)) {
_root.cr1.nextFrame();
_root.co_cra1 = "yes";
}
if (int(_root.max_combo >= 49)) {
_root.cr2.nextFrame();
_root.co_cra2 = "yes";
}
if (int(_root.max_combo >= 79)) {
_root.cr3.nextFrame();
_root.co_cra3 = "yes";
}
}
if (_root.max_pacmen >= 100) {
_root.pk1.nextFrame();
_root.killer1 = "yes";
}
if (_root.max_pacmen >= 300) {
_root.pk2.nextFrame();
_root.killer2 = "yes";
}
if (_root.max_pacmen >= 600) {
_root.pk3.nextFrame();
_root.killer3 = "yes";
}
_root.lbl_multi++;
if (int(_root.lbl_multi > 1)) {
_root.mc_mul.mcnt.ml = "x" + _root.lbl_multi;
_root.mc_mul._x = _root.ball._x + 15;
_root.mc_mul._y = _root.ball._y - 15;
_root.mc_mul.gotoAndPlay(2);
}
if (_root.end_game == "yes") {
_root.lbl_score = _root.lbl_score + (50 * int(_root.lbl_multi));
} else {
_root.lbl_score = _root.lbl_score + (10 * int(_root.lbl_multi));
}
if (_root.pacmen_cnt > 0) {
_root.pacmen_cnt--;
}
if (_root.expl_cnt > 5) {
_root.expl_cnt = 0;
}
_root.expl_cnt++;
_root.expl.duplicateMovieClip("expl" + _root.expl_cnt, _root.expl_cnt);
_root["expl" + _root.expl_cnt]._x = _x;
_root["expl" + _root.expl_cnt]._y = _y;
_root.ball.ysp = 13;
_root.ball.act = "jump";
xsp = 0;
if (this._currentframe == 1) {
_root["expl" + _root.expl_cnt].gotoAndStop(2);
this.gotoAndStop(5);
} else if (this._currentframe == 2) {
_root["expl" + _root.expl_cnt].gotoAndStop(3);
this.gotoAndStop(6);
} else if (this._currentframe == 3) {
_root["expl" + _root.expl_cnt].gotoAndStop(4);
this.gotoAndStop(7);
} else if (this._currentframe == 4) {
_root["expl" + _root.expl_cnt].gotoAndStop(5);
this.gotoAndStop(8);
}
}
}
Instance of Symbol 147 MovieClip "pac2" in Frame 19
onClipEvent (load) {
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
onClipEvent (enterFrame) {
_x = (_x + xsp);
if (_x > 480) {
_x = 80;
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
if (this.hit.hitTest(_root.hit) && (_root.ball.act == "fall")) {
if (_root.p1._currentframe == 1) {
if (this._currentframe == 1) {
_root.p1.gotoAndStop(2);
} else if (this._currentframe == 2) {
_root.p1.gotoAndStop(3);
} else if (this._currentframe == 3) {
_root.p1.gotoAndStop(4);
} else if (this._currentframe == 4) {
_root.p1.gotoAndStop(5);
}
} else if (_root.p2._currentframe == 1) {
if (this._currentframe == (_root.p1._currentframe - 1)) {
_root.p2.gotoAndStop(_root.p1._currentframe);
} else {
_root.p2.gotoAndStop(1);
_root.p1.gotoAndStop(this._currentframe + 1);
}
} else if (_root.p3._currentframe == 1) {
if (this._currentframe == (_root.p2._currentframe - 1)) {
_root.p3.gotoAndStop(_root.p2._currentframe);
} else {
_root.p1.gotoAndStop(this._currentframe + 1);
_root.p3.gotoAndStop(1);
_root.p2.gotoAndStop(1);
}
}
_root.max_pacmen++;
if (_root.max_combo < int(_root.lbl_multi)) {
_root.max_combo = _root.lbl_multi;
if (int(_root.max_combo >= 19)) {
_root.cr1.nextFrame();
_root.co_cra1 = "yes";
}
if (int(_root.max_combo >= 49)) {
_root.cr2.nextFrame();
_root.co_cra2 = "yes";
}
if (int(_root.max_combo >= 79)) {
_root.cr3.nextFrame();
_root.co_cra3 = "yes";
}
}
if (_root.max_pacmen >= 100) {
_root.pk1.nextFrame();
_root.killer1 = "yes";
}
if (_root.max_pacmen >= 300) {
_root.pk2.nextFrame();
_root.killer2 = "yes";
}
if (_root.max_pacmen >= 600) {
_root.pk3.nextFrame();
_root.killer3 = "yes";
}
_root.lbl_multi++;
if (int(_root.lbl_multi > 1)) {
_root.mc_mul.mcnt.ml = "x" + _root.lbl_multi;
_root.mc_mul._x = _root.ball._x + 15;
_root.mc_mul._y = _root.ball._y - 15;
_root.mc_mul.gotoAndPlay(2);
}
if (_root.end_game == "yes") {
_root.lbl_score = _root.lbl_score + (50 * int(_root.lbl_multi));
} else {
_root.lbl_score = _root.lbl_score + (10 * int(_root.lbl_multi));
}
if (_root.pacmen_cnt > 0) {
_root.pacmen_cnt--;
}
if (_root.expl_cnt > 5) {
_root.expl_cnt = 0;
}
_root.expl_cnt++;
_root.expl.duplicateMovieClip("expl" + _root.expl_cnt, _root.expl_cnt);
_root["expl" + _root.expl_cnt]._x = _x;
_root["expl" + _root.expl_cnt]._y = _y;
_root.ball.ysp = 13;
_root.ball.act = "jump";
xsp = 0;
if (this._currentframe == 1) {
_root["expl" + _root.expl_cnt].gotoAndStop(2);
this.gotoAndStop(5);
} else if (this._currentframe == 2) {
_root["expl" + _root.expl_cnt].gotoAndStop(3);
this.gotoAndStop(6);
} else if (this._currentframe == 3) {
_root["expl" + _root.expl_cnt].gotoAndStop(4);
this.gotoAndStop(7);
} else if (this._currentframe == 4) {
_root["expl" + _root.expl_cnt].gotoAndStop(5);
this.gotoAndStop(8);
}
}
}
Instance of Symbol 147 MovieClip "pac4" in Frame 19
onClipEvent (load) {
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
onClipEvent (enterFrame) {
_x = (_x + xsp);
if (_x > 480) {
_x = 80;
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
if (this.hit.hitTest(_root.hit) && (_root.ball.act == "fall")) {
if (_root.p1._currentframe == 1) {
if (this._currentframe == 1) {
_root.p1.gotoAndStop(2);
} else if (this._currentframe == 2) {
_root.p1.gotoAndStop(3);
} else if (this._currentframe == 3) {
_root.p1.gotoAndStop(4);
} else if (this._currentframe == 4) {
_root.p1.gotoAndStop(5);
}
} else if (_root.p2._currentframe == 1) {
if (this._currentframe == (_root.p1._currentframe - 1)) {
_root.p2.gotoAndStop(_root.p1._currentframe);
} else {
_root.p2.gotoAndStop(1);
_root.p1.gotoAndStop(this._currentframe + 1);
}
} else if (_root.p3._currentframe == 1) {
if (this._currentframe == (_root.p2._currentframe - 1)) {
_root.p3.gotoAndStop(_root.p2._currentframe);
} else {
_root.p1.gotoAndStop(this._currentframe + 1);
_root.p3.gotoAndStop(1);
_root.p2.gotoAndStop(1);
}
}
_root.max_pacmen++;
if (_root.max_combo < int(_root.lbl_multi)) {
_root.max_combo = _root.lbl_multi;
if (int(_root.max_combo >= 19)) {
_root.cr1.nextFrame();
_root.co_cra1 = "yes";
}
if (int(_root.max_combo >= 49)) {
_root.cr2.nextFrame();
_root.co_cra2 = "yes";
}
if (int(_root.max_combo >= 79)) {
_root.cr3.nextFrame();
_root.co_cra3 = "yes";
}
}
if (_root.max_pacmen >= 100) {
_root.pk1.nextFrame();
_root.killer1 = "yes";
}
if (_root.max_pacmen >= 300) {
_root.pk2.nextFrame();
_root.killer2 = "yes";
}
if (_root.max_pacmen >= 600) {
_root.pk3.nextFrame();
_root.killer3 = "yes";
}
_root.lbl_multi++;
if (int(_root.lbl_multi > 1)) {
_root.mc_mul.mcnt.ml = "x" + _root.lbl_multi;
_root.mc_mul._x = _root.ball._x + 15;
_root.mc_mul._y = _root.ball._y - 15;
_root.mc_mul.gotoAndPlay(2);
}
if (_root.end_game == "yes") {
_root.lbl_score = _root.lbl_score + (50 * int(_root.lbl_multi));
} else {
_root.lbl_score = _root.lbl_score + (10 * int(_root.lbl_multi));
}
if (_root.pacmen_cnt > 0) {
_root.pacmen_cnt--;
}
if (_root.expl_cnt > 5) {
_root.expl_cnt = 0;
}
_root.expl_cnt++;
_root.expl.duplicateMovieClip("expl" + _root.expl_cnt, _root.expl_cnt);
_root["expl" + _root.expl_cnt]._x = _x;
_root["expl" + _root.expl_cnt]._y = _y;
_root.ball.ysp = 13;
_root.ball.act = "jump";
xsp = 0;
if (this._currentframe == 1) {
_root["expl" + _root.expl_cnt].gotoAndStop(2);
this.gotoAndStop(5);
} else if (this._currentframe == 2) {
_root["expl" + _root.expl_cnt].gotoAndStop(3);
this.gotoAndStop(6);
} else if (this._currentframe == 3) {
_root["expl" + _root.expl_cnt].gotoAndStop(4);
this.gotoAndStop(7);
} else if (this._currentframe == 4) {
_root["expl" + _root.expl_cnt].gotoAndStop(5);
this.gotoAndStop(8);
}
}
}
Instance of Symbol 147 MovieClip "pac6" in Frame 19
onClipEvent (load) {
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
onClipEvent (enterFrame) {
_x = (_x + xsp);
if (_x > 480) {
_x = 80;
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
if (this.hit.hitTest(_root.hit) && (_root.ball.act == "fall")) {
if (_root.p1._currentframe == 1) {
if (this._currentframe == 1) {
_root.p1.gotoAndStop(2);
} else if (this._currentframe == 2) {
_root.p1.gotoAndStop(3);
} else if (this._currentframe == 3) {
_root.p1.gotoAndStop(4);
} else if (this._currentframe == 4) {
_root.p1.gotoAndStop(5);
}
} else if (_root.p2._currentframe == 1) {
if (this._currentframe == (_root.p1._currentframe - 1)) {
_root.p2.gotoAndStop(_root.p1._currentframe);
} else {
_root.p2.gotoAndStop(1);
_root.p1.gotoAndStop(this._currentframe + 1);
}
} else if (_root.p3._currentframe == 1) {
if (this._currentframe == (_root.p2._currentframe - 1)) {
_root.p3.gotoAndStop(_root.p2._currentframe);
} else {
_root.p1.gotoAndStop(this._currentframe + 1);
_root.p3.gotoAndStop(1);
_root.p2.gotoAndStop(1);
}
}
_root.max_pacmen++;
if (_root.max_combo < int(_root.lbl_multi)) {
_root.max_combo = _root.lbl_multi;
if (int(_root.max_combo >= 19)) {
_root.cr1.nextFrame();
_root.co_cra1 = "yes";
}
if (int(_root.max_combo >= 49)) {
_root.cr2.nextFrame();
_root.co_cra2 = "yes";
}
if (int(_root.max_combo >= 79)) {
_root.cr3.nextFrame();
_root.co_cra3 = "yes";
}
}
if (_root.max_pacmen >= 100) {
_root.pk1.nextFrame();
_root.killer1 = "yes";
}
if (_root.max_pacmen >= 300) {
_root.pk2.nextFrame();
_root.killer2 = "yes";
}
if (_root.max_pacmen >= 600) {
_root.pk3.nextFrame();
_root.killer3 = "yes";
}
_root.lbl_multi++;
if (int(_root.lbl_multi > 1)) {
_root.mc_mul.mcnt.ml = "x" + _root.lbl_multi;
_root.mc_mul._x = _root.ball._x + 15;
_root.mc_mul._y = _root.ball._y - 15;
_root.mc_mul.gotoAndPlay(2);
}
if (_root.end_game == "yes") {
_root.lbl_score = _root.lbl_score + (50 * int(_root.lbl_multi));
} else {
_root.lbl_score = _root.lbl_score + (10 * int(_root.lbl_multi));
}
if (_root.pacmen_cnt > 0) {
_root.pacmen_cnt--;
}
if (_root.expl_cnt > 5) {
_root.expl_cnt = 0;
}
_root.expl_cnt++;
_root.expl.duplicateMovieClip("expl" + _root.expl_cnt, _root.expl_cnt);
_root["expl" + _root.expl_cnt]._x = _x;
_root["expl" + _root.expl_cnt]._y = _y;
_root.ball.ysp = 13;
_root.ball.act = "jump";
xsp = 0;
if (this._currentframe == 1) {
_root["expl" + _root.expl_cnt].gotoAndStop(2);
this.gotoAndStop(5);
} else if (this._currentframe == 2) {
_root["expl" + _root.expl_cnt].gotoAndStop(3);
this.gotoAndStop(6);
} else if (this._currentframe == 3) {
_root["expl" + _root.expl_cnt].gotoAndStop(4);
this.gotoAndStop(7);
} else if (this._currentframe == 4) {
_root["expl" + _root.expl_cnt].gotoAndStop(5);
this.gotoAndStop(8);
}
}
}
Instance of Symbol 147 MovieClip "pac9" in Frame 19
onClipEvent (load) {
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
onClipEvent (enterFrame) {
_x = (_x + xsp);
if (_x > 480) {
_x = 80;
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
if (this.hit.hitTest(_root.hit) && (_root.ball.act == "fall")) {
if (_root.p1._currentframe == 1) {
if (this._currentframe == 1) {
_root.p1.gotoAndStop(2);
} else if (this._currentframe == 2) {
_root.p1.gotoAndStop(3);
} else if (this._currentframe == 3) {
_root.p1.gotoAndStop(4);
} else if (this._currentframe == 4) {
_root.p1.gotoAndStop(5);
}
} else if (_root.p2._currentframe == 1) {
if (this._currentframe == (_root.p1._currentframe - 1)) {
_root.p2.gotoAndStop(_root.p1._currentframe);
} else {
_root.p2.gotoAndStop(1);
_root.p1.gotoAndStop(this._currentframe + 1);
}
} else if (_root.p3._currentframe == 1) {
if (this._currentframe == (_root.p2._currentframe - 1)) {
_root.p3.gotoAndStop(_root.p2._currentframe);
} else {
_root.p1.gotoAndStop(this._currentframe + 1);
_root.p3.gotoAndStop(1);
_root.p2.gotoAndStop(1);
}
}
_root.max_pacmen++;
if (_root.max_combo < int(_root.lbl_multi)) {
_root.max_combo = _root.lbl_multi;
if (int(_root.max_combo >= 19)) {
_root.cr1.nextFrame();
_root.co_cra1 = "yes";
}
if (int(_root.max_combo >= 49)) {
_root.cr2.nextFrame();
_root.co_cra2 = "yes";
}
if (int(_root.max_combo >= 79)) {
_root.cr3.nextFrame();
_root.co_cra3 = "yes";
}
}
if (_root.max_pacmen >= 100) {
_root.pk1.nextFrame();
_root.killer1 = "yes";
}
if (_root.max_pacmen >= 300) {
_root.pk2.nextFrame();
_root.killer2 = "yes";
}
if (_root.max_pacmen >= 600) {
_root.pk3.nextFrame();
_root.killer3 = "yes";
}
_root.lbl_multi++;
if (int(_root.lbl_multi > 1)) {
_root.mc_mul.mcnt.ml = "x" + _root.lbl_multi;
_root.mc_mul._x = _root.ball._x + 15;
_root.mc_mul._y = _root.ball._y - 15;
_root.mc_mul.gotoAndPlay(2);
}
if (_root.end_game == "yes") {
_root.lbl_score = _root.lbl_score + (50 * int(_root.lbl_multi));
} else {
_root.lbl_score = _root.lbl_score + (10 * int(_root.lbl_multi));
}
if (_root.pacmen_cnt > 0) {
_root.pacmen_cnt--;
}
if (_root.expl_cnt > 5) {
_root.expl_cnt = 0;
}
_root.expl_cnt++;
_root.expl.duplicateMovieClip("expl" + _root.expl_cnt, _root.expl_cnt);
_root["expl" + _root.expl_cnt]._x = _x;
_root["expl" + _root.expl_cnt]._y = _y;
_root.ball.ysp = 13;
_root.ball.act = "jump";
xsp = 0;
if (this._currentframe == 1) {
_root["expl" + _root.expl_cnt].gotoAndStop(2);
this.gotoAndStop(5);
} else if (this._currentframe == 2) {
_root["expl" + _root.expl_cnt].gotoAndStop(3);
this.gotoAndStop(6);
} else if (this._currentframe == 3) {
_root["expl" + _root.expl_cnt].gotoAndStop(4);
this.gotoAndStop(7);
} else if (this._currentframe == 4) {
_root["expl" + _root.expl_cnt].gotoAndStop(5);
this.gotoAndStop(8);
}
}
}
Instance of Symbol 147 MovieClip "pac12" in Frame 19
onClipEvent (load) {
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
onClipEvent (enterFrame) {
_x = (_x + xsp);
if (_x > 480) {
_x = 80;
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
if (this.hit.hitTest(_root.hit) && (_root.ball.act == "fall")) {
if (_root.p1._currentframe == 1) {
if (this._currentframe == 1) {
_root.p1.gotoAndStop(2);
} else if (this._currentframe == 2) {
_root.p1.gotoAndStop(3);
} else if (this._currentframe == 3) {
_root.p1.gotoAndStop(4);
} else if (this._currentframe == 4) {
_root.p1.gotoAndStop(5);
}
} else if (_root.p2._currentframe == 1) {
if (this._currentframe == (_root.p1._currentframe - 1)) {
_root.p2.gotoAndStop(_root.p1._currentframe);
} else {
_root.p2.gotoAndStop(1);
_root.p1.gotoAndStop(this._currentframe + 1);
}
} else if (_root.p3._currentframe == 1) {
if (this._currentframe == (_root.p2._currentframe - 1)) {
_root.p3.gotoAndStop(_root.p2._currentframe);
} else {
_root.p1.gotoAndStop(this._currentframe + 1);
_root.p3.gotoAndStop(1);
_root.p2.gotoAndStop(1);
}
}
_root.max_pacmen++;
if (_root.max_combo < int(_root.lbl_multi)) {
_root.max_combo = _root.lbl_multi;
if (int(_root.max_combo >= 19)) {
_root.cr1.nextFrame();
_root.co_cra1 = "yes";
}
if (int(_root.max_combo >= 49)) {
_root.cr2.nextFrame();
_root.co_cra2 = "yes";
}
if (int(_root.max_combo >= 79)) {
_root.cr3.nextFrame();
_root.co_cra3 = "yes";
}
}
if (_root.max_pacmen >= 100) {
_root.pk1.nextFrame();
_root.killer1 = "yes";
}
if (_root.max_pacmen >= 300) {
_root.pk2.nextFrame();
_root.killer2 = "yes";
}
if (_root.max_pacmen >= 600) {
_root.pk3.nextFrame();
_root.killer3 = "yes";
}
_root.lbl_multi++;
if (int(_root.lbl_multi > 1)) {
_root.mc_mul.mcnt.ml = "x" + _root.lbl_multi;
_root.mc_mul._x = _root.ball._x + 15;
_root.mc_mul._y = _root.ball._y - 15;
_root.mc_mul.gotoAndPlay(2);
}
if (_root.end_game == "yes") {
_root.lbl_score = _root.lbl_score + (50 * int(_root.lbl_multi));
} else {
_root.lbl_score = _root.lbl_score + (10 * int(_root.lbl_multi));
}
if (_root.pacmen_cnt > 0) {
_root.pacmen_cnt--;
}
if (_root.expl_cnt > 5) {
_root.expl_cnt = 0;
}
_root.expl_cnt++;
_root.expl.duplicateMovieClip("expl" + _root.expl_cnt, _root.expl_cnt);
_root["expl" + _root.expl_cnt]._x = _x;
_root["expl" + _root.expl_cnt]._y = _y;
_root.ball.ysp = 13;
_root.ball.act = "jump";
xsp = 0;
if (this._currentframe == 1) {
_root["expl" + _root.expl_cnt].gotoAndStop(2);
this.gotoAndStop(5);
} else if (this._currentframe == 2) {
_root["expl" + _root.expl_cnt].gotoAndStop(3);
this.gotoAndStop(6);
} else if (this._currentframe == 3) {
_root["expl" + _root.expl_cnt].gotoAndStop(4);
this.gotoAndStop(7);
} else if (this._currentframe == 4) {
_root["expl" + _root.expl_cnt].gotoAndStop(5);
this.gotoAndStop(8);
}
}
}
Instance of Symbol 147 MovieClip "pac13" in Frame 19
onClipEvent (load) {
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
onClipEvent (enterFrame) {
_x = (_x + xsp);
if (_x > 480) {
_x = 80;
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
if (this.hit.hitTest(_root.hit) && (_root.ball.act == "fall")) {
if (_root.p1._currentframe == 1) {
if (this._currentframe == 1) {
_root.p1.gotoAndStop(2);
} else if (this._currentframe == 2) {
_root.p1.gotoAndStop(3);
} else if (this._currentframe == 3) {
_root.p1.gotoAndStop(4);
} else if (this._currentframe == 4) {
_root.p1.gotoAndStop(5);
}
} else if (_root.p2._currentframe == 1) {
if (this._currentframe == (_root.p1._currentframe - 1)) {
_root.p2.gotoAndStop(_root.p1._currentframe);
} else {
_root.p2.gotoAndStop(1);
_root.p1.gotoAndStop(this._currentframe + 1);
}
} else if (_root.p3._currentframe == 1) {
if (this._currentframe == (_root.p2._currentframe - 1)) {
_root.p3.gotoAndStop(_root.p2._currentframe);
} else {
_root.p1.gotoAndStop(this._currentframe + 1);
_root.p3.gotoAndStop(1);
_root.p2.gotoAndStop(1);
}
}
_root.max_pacmen++;
if (_root.max_combo < int(_root.lbl_multi)) {
_root.max_combo = _root.lbl_multi;
if (int(_root.max_combo >= 19)) {
_root.cr1.nextFrame();
_root.co_cra1 = "yes";
}
if (int(_root.max_combo >= 49)) {
_root.cr2.nextFrame();
_root.co_cra2 = "yes";
}
if (int(_root.max_combo >= 79)) {
_root.cr3.nextFrame();
_root.co_cra3 = "yes";
}
}
if (_root.max_pacmen >= 100) {
_root.pk1.nextFrame();
_root.killer1 = "yes";
}
if (_root.max_pacmen >= 300) {
_root.pk2.nextFrame();
_root.killer2 = "yes";
}
if (_root.max_pacmen >= 600) {
_root.pk3.nextFrame();
_root.killer3 = "yes";
}
_root.lbl_multi++;
if (int(_root.lbl_multi > 1)) {
_root.mc_mul.mcnt.ml = "x" + _root.lbl_multi;
_root.mc_mul._x = _root.ball._x + 15;
_root.mc_mul._y = _root.ball._y - 15;
_root.mc_mul.gotoAndPlay(2);
}
if (_root.end_game == "yes") {
_root.lbl_score = _root.lbl_score + (50 * int(_root.lbl_multi));
} else {
_root.lbl_score = _root.lbl_score + (10 * int(_root.lbl_multi));
}
if (_root.pacmen_cnt > 0) {
_root.pacmen_cnt--;
}
if (_root.expl_cnt > 5) {
_root.expl_cnt = 0;
}
_root.expl_cnt++;
_root.expl.duplicateMovieClip("expl" + _root.expl_cnt, _root.expl_cnt);
_root["expl" + _root.expl_cnt]._x = _x;
_root["expl" + _root.expl_cnt]._y = _y;
_root.ball.ysp = 13;
_root.ball.act = "jump";
xsp = 0;
if (this._currentframe == 1) {
_root["expl" + _root.expl_cnt].gotoAndStop(2);
this.gotoAndStop(5);
} else if (this._currentframe == 2) {
_root["expl" + _root.expl_cnt].gotoAndStop(3);
this.gotoAndStop(6);
} else if (this._currentframe == 3) {
_root["expl" + _root.expl_cnt].gotoAndStop(4);
this.gotoAndStop(7);
} else if (this._currentframe == 4) {
_root["expl" + _root.expl_cnt].gotoAndStop(5);
this.gotoAndStop(8);
}
}
}
Instance of Symbol 147 MovieClip "pac15" in Frame 19
onClipEvent (load) {
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
onClipEvent (enterFrame) {
_x = (_x + xsp);
if (_x > 480) {
_x = 80;
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
if (this.hit.hitTest(_root.hit) && (_root.ball.act == "fall")) {
if (_root.p1._currentframe == 1) {
if (this._currentframe == 1) {
_root.p1.gotoAndStop(2);
} else if (this._currentframe == 2) {
_root.p1.gotoAndStop(3);
} else if (this._currentframe == 3) {
_root.p1.gotoAndStop(4);
} else if (this._currentframe == 4) {
_root.p1.gotoAndStop(5);
}
} else if (_root.p2._currentframe == 1) {
if (this._currentframe == (_root.p1._currentframe - 1)) {
_root.p2.gotoAndStop(_root.p1._currentframe);
} else {
_root.p2.gotoAndStop(1);
_root.p1.gotoAndStop(this._currentframe + 1);
}
} else if (_root.p3._currentframe == 1) {
if (this._currentframe == (_root.p2._currentframe - 1)) {
_root.p3.gotoAndStop(_root.p2._currentframe);
} else {
_root.p1.gotoAndStop(this._currentframe + 1);
_root.p3.gotoAndStop(1);
_root.p2.gotoAndStop(1);
}
}
_root.max_pacmen++;
if (_root.max_combo < int(_root.lbl_multi)) {
_root.max_combo = _root.lbl_multi;
if (int(_root.max_combo >= 19)) {
_root.cr1.nextFrame();
_root.co_cra1 = "yes";
}
if (int(_root.max_combo >= 49)) {
_root.cr2.nextFrame();
_root.co_cra2 = "yes";
}
if (int(_root.max_combo >= 79)) {
_root.cr3.nextFrame();
_root.co_cra3 = "yes";
}
}
if (_root.max_pacmen >= 100) {
_root.pk1.nextFrame();
_root.killer1 = "yes";
}
if (_root.max_pacmen >= 300) {
_root.pk2.nextFrame();
_root.killer2 = "yes";
}
if (_root.max_pacmen >= 600) {
_root.pk3.nextFrame();
_root.killer3 = "yes";
}
_root.lbl_multi++;
if (int(_root.lbl_multi > 1)) {
_root.mc_mul.mcnt.ml = "x" + _root.lbl_multi;
_root.mc_mul._x = _root.ball._x + 15;
_root.mc_mul._y = _root.ball._y - 15;
_root.mc_mul.gotoAndPlay(2);
}
if (_root.end_game == "yes") {
_root.lbl_score = _root.lbl_score + (50 * int(_root.lbl_multi));
} else {
_root.lbl_score = _root.lbl_score + (10 * int(_root.lbl_multi));
}
if (_root.pacmen_cnt > 0) {
_root.pacmen_cnt--;
}
if (_root.expl_cnt > 5) {
_root.expl_cnt = 0;
}
_root.expl_cnt++;
_root.expl.duplicateMovieClip("expl" + _root.expl_cnt, _root.expl_cnt);
_root["expl" + _root.expl_cnt]._x = _x;
_root["expl" + _root.expl_cnt]._y = _y;
_root.ball.ysp = 13;
_root.ball.act = "jump";
xsp = 0;
if (this._currentframe == 1) {
_root["expl" + _root.expl_cnt].gotoAndStop(2);
this.gotoAndStop(5);
} else if (this._currentframe == 2) {
_root["expl" + _root.expl_cnt].gotoAndStop(3);
this.gotoAndStop(6);
} else if (this._currentframe == 3) {
_root["expl" + _root.expl_cnt].gotoAndStop(4);
this.gotoAndStop(7);
} else if (this._currentframe == 4) {
_root["expl" + _root.expl_cnt].gotoAndStop(5);
this.gotoAndStop(8);
}
}
}
Instance of Symbol 147 MovieClip "pac14" in Frame 19
onClipEvent (load) {
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
onClipEvent (enterFrame) {
_x = (_x + xsp);
if (_x > 480) {
_x = 80;
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
if (this.hit.hitTest(_root.hit) && (_root.ball.act == "fall")) {
if (_root.p1._currentframe == 1) {
if (this._currentframe == 1) {
_root.p1.gotoAndStop(2);
} else if (this._currentframe == 2) {
_root.p1.gotoAndStop(3);
} else if (this._currentframe == 3) {
_root.p1.gotoAndStop(4);
} else if (this._currentframe == 4) {
_root.p1.gotoAndStop(5);
}
} else if (_root.p2._currentframe == 1) {
if (this._currentframe == (_root.p1._currentframe - 1)) {
_root.p2.gotoAndStop(_root.p1._currentframe);
} else {
_root.p2.gotoAndStop(1);
_root.p1.gotoAndStop(this._currentframe + 1);
}
} else if (_root.p3._currentframe == 1) {
if (this._currentframe == (_root.p2._currentframe - 1)) {
_root.p3.gotoAndStop(_root.p2._currentframe);
} else {
_root.p1.gotoAndStop(this._currentframe + 1);
_root.p3.gotoAndStop(1);
_root.p2.gotoAndStop(1);
}
}
_root.max_pacmen++;
if (_root.max_combo < int(_root.lbl_multi)) {
_root.max_combo = _root.lbl_multi;
if (int(_root.max_combo >= 19)) {
_root.cr1.nextFrame();
_root.co_cra1 = "yes";
}
if (int(_root.max_combo >= 49)) {
_root.cr2.nextFrame();
_root.co_cra2 = "yes";
}
if (int(_root.max_combo >= 79)) {
_root.cr3.nextFrame();
_root.co_cra3 = "yes";
}
}
if (_root.max_pacmen >= 100) {
_root.pk1.nextFrame();
_root.killer1 = "yes";
}
if (_root.max_pacmen >= 300) {
_root.pk2.nextFrame();
_root.killer2 = "yes";
}
if (_root.max_pacmen >= 600) {
_root.pk3.nextFrame();
_root.killer3 = "yes";
}
_root.lbl_multi++;
if (int(_root.lbl_multi > 1)) {
_root.mc_mul.mcnt.ml = "x" + _root.lbl_multi;
_root.mc_mul._x = _root.ball._x + 15;
_root.mc_mul._y = _root.ball._y - 15;
_root.mc_mul.gotoAndPlay(2);
}
if (_root.end_game == "yes") {
_root.lbl_score = _root.lbl_score + (50 * int(_root.lbl_multi));
} else {
_root.lbl_score = _root.lbl_score + (10 * int(_root.lbl_multi));
}
if (_root.pacmen_cnt > 0) {
_root.pacmen_cnt--;
}
if (_root.expl_cnt > 5) {
_root.expl_cnt = 0;
}
_root.expl_cnt++;
_root.expl.duplicateMovieClip("expl" + _root.expl_cnt, _root.expl_cnt);
_root["expl" + _root.expl_cnt]._x = _x;
_root["expl" + _root.expl_cnt]._y = _y;
_root.ball.ysp = 13;
_root.ball.act = "jump";
xsp = 0;
if (this._currentframe == 1) {
_root["expl" + _root.expl_cnt].gotoAndStop(2);
this.gotoAndStop(5);
} else if (this._currentframe == 2) {
_root["expl" + _root.expl_cnt].gotoAndStop(3);
this.gotoAndStop(6);
} else if (this._currentframe == 3) {
_root["expl" + _root.expl_cnt].gotoAndStop(4);
this.gotoAndStop(7);
} else if (this._currentframe == 4) {
_root["expl" + _root.expl_cnt].gotoAndStop(5);
this.gotoAndStop(8);
}
}
}
Instance of Symbol 147 MovieClip "pac16" in Frame 19
onClipEvent (load) {
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
onClipEvent (enterFrame) {
_x = (_x + xsp);
if (_x > 480) {
_x = 80;
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
if (this.hit.hitTest(_root.hit) && (_root.ball.act == "fall")) {
if (_root.p1._currentframe == 1) {
if (this._currentframe == 1) {
_root.p1.gotoAndStop(2);
} else if (this._currentframe == 2) {
_root.p1.gotoAndStop(3);
} else if (this._currentframe == 3) {
_root.p1.gotoAndStop(4);
} else if (this._currentframe == 4) {
_root.p1.gotoAndStop(5);
}
} else if (_root.p2._currentframe == 1) {
if (this._currentframe == (_root.p1._currentframe - 1)) {
_root.p2.gotoAndStop(_root.p1._currentframe);
} else {
_root.p2.gotoAndStop(1);
_root.p1.gotoAndStop(this._currentframe + 1);
}
} else if (_root.p3._currentframe == 1) {
if (this._currentframe == (_root.p2._currentframe - 1)) {
_root.p3.gotoAndStop(_root.p2._currentframe);
} else {
_root.p1.gotoAndStop(this._currentframe + 1);
_root.p3.gotoAndStop(1);
_root.p2.gotoAndStop(1);
}
}
_root.max_pacmen++;
if (_root.max_combo < int(_root.lbl_multi)) {
_root.max_combo = _root.lbl_multi;
if (int(_root.max_combo >= 19)) {
_root.cr1.nextFrame();
_root.co_cra1 = "yes";
}
if (int(_root.max_combo >= 49)) {
_root.cr2.nextFrame();
_root.co_cra2 = "yes";
}
if (int(_root.max_combo >= 79)) {
_root.cr3.nextFrame();
_root.co_cra3 = "yes";
}
}
if (_root.max_pacmen >= 100) {
_root.pk1.nextFrame();
_root.killer1 = "yes";
}
if (_root.max_pacmen >= 300) {
_root.pk2.nextFrame();
_root.killer2 = "yes";
}
if (_root.max_pacmen >= 600) {
_root.pk3.nextFrame();
_root.killer3 = "yes";
}
_root.lbl_multi++;
if (int(_root.lbl_multi > 1)) {
_root.mc_mul.mcnt.ml = "x" + _root.lbl_multi;
_root.mc_mul._x = _root.ball._x + 15;
_root.mc_mul._y = _root.ball._y - 15;
_root.mc_mul.gotoAndPlay(2);
}
if (_root.end_game == "yes") {
_root.lbl_score = _root.lbl_score + (50 * int(_root.lbl_multi));
} else {
_root.lbl_score = _root.lbl_score + (10 * int(_root.lbl_multi));
}
if (_root.pacmen_cnt > 0) {
_root.pacmen_cnt--;
}
if (_root.expl_cnt > 5) {
_root.expl_cnt = 0;
}
_root.expl_cnt++;
_root.expl.duplicateMovieClip("expl" + _root.expl_cnt, _root.expl_cnt);
_root["expl" + _root.expl_cnt]._x = _x;
_root["expl" + _root.expl_cnt]._y = _y;
_root.ball.ysp = 13;
_root.ball.act = "jump";
xsp = 0;
if (this._currentframe == 1) {
_root["expl" + _root.expl_cnt].gotoAndStop(2);
this.gotoAndStop(5);
} else if (this._currentframe == 2) {
_root["expl" + _root.expl_cnt].gotoAndStop(3);
this.gotoAndStop(6);
} else if (this._currentframe == 3) {
_root["expl" + _root.expl_cnt].gotoAndStop(4);
this.gotoAndStop(7);
} else if (this._currentframe == 4) {
_root["expl" + _root.expl_cnt].gotoAndStop(5);
this.gotoAndStop(8);
}
}
}
Instance of Symbol 147 MovieClip "pac10" in Frame 19
onClipEvent (load) {
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
onClipEvent (enterFrame) {
_x = (_x + xsp);
if (_x > 480) {
_x = 80;
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
if (this.hit.hitTest(_root.hit) && (_root.ball.act == "fall")) {
if (_root.p1._currentframe == 1) {
if (this._currentframe == 1) {
_root.p1.gotoAndStop(2);
} else if (this._currentframe == 2) {
_root.p1.gotoAndStop(3);
} else if (this._currentframe == 3) {
_root.p1.gotoAndStop(4);
} else if (this._currentframe == 4) {
_root.p1.gotoAndStop(5);
}
} else if (_root.p2._currentframe == 1) {
if (this._currentframe == (_root.p1._currentframe - 1)) {
_root.p2.gotoAndStop(_root.p1._currentframe);
} else {
_root.p2.gotoAndStop(1);
_root.p1.gotoAndStop(this._currentframe + 1);
}
} else if (_root.p3._currentframe == 1) {
if (this._currentframe == (_root.p2._currentframe - 1)) {
_root.p3.gotoAndStop(_root.p2._currentframe);
} else {
_root.p1.gotoAndStop(this._currentframe + 1);
_root.p3.gotoAndStop(1);
_root.p2.gotoAndStop(1);
}
}
_root.max_pacmen++;
if (_root.max_combo < int(_root.lbl_multi)) {
_root.max_combo = _root.lbl_multi;
if (int(_root.max_combo >= 19)) {
_root.cr1.nextFrame();
_root.co_cra1 = "yes";
}
if (int(_root.max_combo >= 49)) {
_root.cr2.nextFrame();
_root.co_cra2 = "yes";
}
if (int(_root.max_combo >= 79)) {
_root.cr3.nextFrame();
_root.co_cra3 = "yes";
}
}
if (_root.max_pacmen >= 100) {
_root.pk1.nextFrame();
_root.killer1 = "yes";
}
if (_root.max_pacmen >= 300) {
_root.pk2.nextFrame();
_root.killer2 = "yes";
}
if (_root.max_pacmen >= 600) {
_root.pk3.nextFrame();
_root.killer3 = "yes";
}
_root.lbl_multi++;
if (int(_root.lbl_multi > 1)) {
_root.mc_mul.mcnt.ml = "x" + _root.lbl_multi;
_root.mc_mul._x = _root.ball._x + 15;
_root.mc_mul._y = _root.ball._y - 15;
_root.mc_mul.gotoAndPlay(2);
}
if (_root.end_game == "yes") {
_root.lbl_score = _root.lbl_score + (50 * int(_root.lbl_multi));
} else {
_root.lbl_score = _root.lbl_score + (10 * int(_root.lbl_multi));
}
if (_root.pacmen_cnt > 0) {
_root.pacmen_cnt--;
}
if (_root.expl_cnt > 5) {
_root.expl_cnt = 0;
}
_root.expl_cnt++;
_root.expl.duplicateMovieClip("expl" + _root.expl_cnt, _root.expl_cnt);
_root["expl" + _root.expl_cnt]._x = _x;
_root["expl" + _root.expl_cnt]._y = _y;
_root.ball.ysp = 13;
_root.ball.act = "jump";
xsp = 0;
if (this._currentframe == 1) {
_root["expl" + _root.expl_cnt].gotoAndStop(2);
this.gotoAndStop(5);
} else if (this._currentframe == 2) {
_root["expl" + _root.expl_cnt].gotoAndStop(3);
this.gotoAndStop(6);
} else if (this._currentframe == 3) {
_root["expl" + _root.expl_cnt].gotoAndStop(4);
this.gotoAndStop(7);
} else if (this._currentframe == 4) {
_root["expl" + _root.expl_cnt].gotoAndStop(5);
this.gotoAndStop(8);
}
}
}
Instance of Symbol 147 MovieClip "pac8" in Frame 19
onClipEvent (load) {
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
onClipEvent (enterFrame) {
_x = (_x + xsp);
if (_x > 480) {
_x = 80;
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
if (this.hit.hitTest(_root.hit) && (_root.ball.act == "fall")) {
if (_root.p1._currentframe == 1) {
if (this._currentframe == 1) {
_root.p1.gotoAndStop(2);
} else if (this._currentframe == 2) {
_root.p1.gotoAndStop(3);
} else if (this._currentframe == 3) {
_root.p1.gotoAndStop(4);
} else if (this._currentframe == 4) {
_root.p1.gotoAndStop(5);
}
} else if (_root.p2._currentframe == 1) {
if (this._currentframe == (_root.p1._currentframe - 1)) {
_root.p2.gotoAndStop(_root.p1._currentframe);
} else {
_root.p2.gotoAndStop(1);
_root.p1.gotoAndStop(this._currentframe + 1);
}
} else if (_root.p3._currentframe == 1) {
if (this._currentframe == (_root.p2._currentframe - 1)) {
_root.p3.gotoAndStop(_root.p2._currentframe);
} else {
_root.p1.gotoAndStop(this._currentframe + 1);
_root.p3.gotoAndStop(1);
_root.p2.gotoAndStop(1);
}
}
_root.max_pacmen++;
if (_root.max_combo < int(_root.lbl_multi)) {
_root.max_combo = _root.lbl_multi;
if (int(_root.max_combo >= 19)) {
_root.cr1.nextFrame();
_root.co_cra1 = "yes";
}
if (int(_root.max_combo >= 49)) {
_root.cr2.nextFrame();
_root.co_cra2 = "yes";
}
if (int(_root.max_combo >= 79)) {
_root.cr3.nextFrame();
_root.co_cra3 = "yes";
}
}
if (_root.max_pacmen >= 100) {
_root.pk1.nextFrame();
_root.killer1 = "yes";
}
if (_root.max_pacmen >= 300) {
_root.pk2.nextFrame();
_root.killer2 = "yes";
}
if (_root.max_pacmen >= 600) {
_root.pk3.nextFrame();
_root.killer3 = "yes";
}
_root.lbl_multi++;
if (int(_root.lbl_multi > 1)) {
_root.mc_mul.mcnt.ml = "x" + _root.lbl_multi;
_root.mc_mul._x = _root.ball._x + 15;
_root.mc_mul._y = _root.ball._y - 15;
_root.mc_mul.gotoAndPlay(2);
}
if (_root.end_game == "yes") {
_root.lbl_score = _root.lbl_score + (50 * int(_root.lbl_multi));
} else {
_root.lbl_score = _root.lbl_score + (10 * int(_root.lbl_multi));
}
if (_root.pacmen_cnt > 0) {
_root.pacmen_cnt--;
}
if (_root.expl_cnt > 5) {
_root.expl_cnt = 0;
}
_root.expl_cnt++;
_root.expl.duplicateMovieClip("expl" + _root.expl_cnt, _root.expl_cnt);
_root["expl" + _root.expl_cnt]._x = _x;
_root["expl" + _root.expl_cnt]._y = _y;
_root.ball.ysp = 13;
_root.ball.act = "jump";
xsp = 0;
if (this._currentframe == 1) {
_root["expl" + _root.expl_cnt].gotoAndStop(2);
this.gotoAndStop(5);
} else if (this._currentframe == 2) {
_root["expl" + _root.expl_cnt].gotoAndStop(3);
this.gotoAndStop(6);
} else if (this._currentframe == 3) {
_root["expl" + _root.expl_cnt].gotoAndStop(4);
this.gotoAndStop(7);
} else if (this._currentframe == 4) {
_root["expl" + _root.expl_cnt].gotoAndStop(5);
this.gotoAndStop(8);
}
}
}
Instance of Symbol 147 MovieClip "pac7" in Frame 19
onClipEvent (load) {
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
onClipEvent (enterFrame) {
_x = (_x + xsp);
if (_x > 480) {
_x = 80;
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
if (this.hit.hitTest(_root.hit) && (_root.ball.act == "fall")) {
if (_root.p1._currentframe == 1) {
if (this._currentframe == 1) {
_root.p1.gotoAndStop(2);
} else if (this._currentframe == 2) {
_root.p1.gotoAndStop(3);
} else if (this._currentframe == 3) {
_root.p1.gotoAndStop(4);
} else if (this._currentframe == 4) {
_root.p1.gotoAndStop(5);
}
} else if (_root.p2._currentframe == 1) {
if (this._currentframe == (_root.p1._currentframe - 1)) {
_root.p2.gotoAndStop(_root.p1._currentframe);
} else {
_root.p2.gotoAndStop(1);
_root.p1.gotoAndStop(this._currentframe + 1);
}
} else if (_root.p3._currentframe == 1) {
if (this._currentframe == (_root.p2._currentframe - 1)) {
_root.p3.gotoAndStop(_root.p2._currentframe);
} else {
_root.p1.gotoAndStop(this._currentframe + 1);
_root.p3.gotoAndStop(1);
_root.p2.gotoAndStop(1);
}
}
_root.max_pacmen++;
if (_root.max_combo < int(_root.lbl_multi)) {
_root.max_combo = _root.lbl_multi;
if (int(_root.max_combo >= 19)) {
_root.cr1.nextFrame();
_root.co_cra1 = "yes";
}
if (int(_root.max_combo >= 49)) {
_root.cr2.nextFrame();
_root.co_cra2 = "yes";
}
if (int(_root.max_combo >= 79)) {
_root.cr3.nextFrame();
_root.co_cra3 = "yes";
}
}
if (_root.max_pacmen >= 100) {
_root.pk1.nextFrame();
_root.killer1 = "yes";
}
if (_root.max_pacmen >= 300) {
_root.pk2.nextFrame();
_root.killer2 = "yes";
}
if (_root.max_pacmen >= 600) {
_root.pk3.nextFrame();
_root.killer3 = "yes";
}
_root.lbl_multi++;
if (int(_root.lbl_multi > 1)) {
_root.mc_mul.mcnt.ml = "x" + _root.lbl_multi;
_root.mc_mul._x = _root.ball._x + 15;
_root.mc_mul._y = _root.ball._y - 15;
_root.mc_mul.gotoAndPlay(2);
}
if (_root.end_game == "yes") {
_root.lbl_score = _root.lbl_score + (50 * int(_root.lbl_multi));
} else {
_root.lbl_score = _root.lbl_score + (10 * int(_root.lbl_multi));
}
if (_root.pacmen_cnt > 0) {
_root.pacmen_cnt--;
}
if (_root.expl_cnt > 5) {
_root.expl_cnt = 0;
}
_root.expl_cnt++;
_root.expl.duplicateMovieClip("expl" + _root.expl_cnt, _root.expl_cnt);
_root["expl" + _root.expl_cnt]._x = _x;
_root["expl" + _root.expl_cnt]._y = _y;
_root.ball.ysp = 13;
_root.ball.act = "jump";
xsp = 0;
if (this._currentframe == 1) {
_root["expl" + _root.expl_cnt].gotoAndStop(2);
this.gotoAndStop(5);
} else if (this._currentframe == 2) {
_root["expl" + _root.expl_cnt].gotoAndStop(3);
this.gotoAndStop(6);
} else if (this._currentframe == 3) {
_root["expl" + _root.expl_cnt].gotoAndStop(4);
this.gotoAndStop(7);
} else if (this._currentframe == 4) {
_root["expl" + _root.expl_cnt].gotoAndStop(5);
this.gotoAndStop(8);
}
}
}
Instance of Symbol 147 MovieClip "pac5" in Frame 19
onClipEvent (load) {
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
onClipEvent (enterFrame) {
_x = (_x + xsp);
if (_x > 480) {
_x = 80;
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
if (this.hit.hitTest(_root.hit) && (_root.ball.act == "fall")) {
if (_root.p1._currentframe == 1) {
if (this._currentframe == 1) {
_root.p1.gotoAndStop(2);
} else if (this._currentframe == 2) {
_root.p1.gotoAndStop(3);
} else if (this._currentframe == 3) {
_root.p1.gotoAndStop(4);
} else if (this._currentframe == 4) {
_root.p1.gotoAndStop(5);
}
} else if (_root.p2._currentframe == 1) {
if (this._currentframe == (_root.p1._currentframe - 1)) {
_root.p2.gotoAndStop(_root.p1._currentframe);
} else {
_root.p2.gotoAndStop(1);
_root.p1.gotoAndStop(this._currentframe + 1);
}
} else if (_root.p3._currentframe == 1) {
if (this._currentframe == (_root.p2._currentframe - 1)) {
_root.p3.gotoAndStop(_root.p2._currentframe);
} else {
_root.p1.gotoAndStop(this._currentframe + 1);
_root.p3.gotoAndStop(1);
_root.p2.gotoAndStop(1);
}
}
_root.max_pacmen++;
if (_root.max_combo < int(_root.lbl_multi)) {
_root.max_combo = _root.lbl_multi;
if (int(_root.max_combo >= 19)) {
_root.cr1.nextFrame();
_root.co_cra1 = "yes";
}
if (int(_root.max_combo >= 49)) {
_root.cr2.nextFrame();
_root.co_cra2 = "yes";
}
if (int(_root.max_combo >= 79)) {
_root.cr3.nextFrame();
_root.co_cra3 = "yes";
}
}
if (_root.max_pacmen >= 100) {
_root.pk1.nextFrame();
_root.killer1 = "yes";
}
if (_root.max_pacmen >= 300) {
_root.pk2.nextFrame();
_root.killer2 = "yes";
}
if (_root.max_pacmen >= 600) {
_root.pk3.nextFrame();
_root.killer3 = "yes";
}
_root.lbl_multi++;
if (int(_root.lbl_multi > 1)) {
_root.mc_mul.mcnt.ml = "x" + _root.lbl_multi;
_root.mc_mul._x = _root.ball._x + 15;
_root.mc_mul._y = _root.ball._y - 15;
_root.mc_mul.gotoAndPlay(2);
}
if (_root.end_game == "yes") {
_root.lbl_score = _root.lbl_score + (50 * int(_root.lbl_multi));
} else {
_root.lbl_score = _root.lbl_score + (10 * int(_root.lbl_multi));
}
if (_root.pacmen_cnt > 0) {
_root.pacmen_cnt--;
}
if (_root.expl_cnt > 5) {
_root.expl_cnt = 0;
}
_root.expl_cnt++;
_root.expl.duplicateMovieClip("expl" + _root.expl_cnt, _root.expl_cnt);
_root["expl" + _root.expl_cnt]._x = _x;
_root["expl" + _root.expl_cnt]._y = _y;
_root.ball.ysp = 13;
_root.ball.act = "jump";
xsp = 0;
if (this._currentframe == 1) {
_root["expl" + _root.expl_cnt].gotoAndStop(2);
this.gotoAndStop(5);
} else if (this._currentframe == 2) {
_root["expl" + _root.expl_cnt].gotoAndStop(3);
this.gotoAndStop(6);
} else if (this._currentframe == 3) {
_root["expl" + _root.expl_cnt].gotoAndStop(4);
this.gotoAndStop(7);
} else if (this._currentframe == 4) {
_root["expl" + _root.expl_cnt].gotoAndStop(5);
this.gotoAndStop(8);
}
}
}
Instance of Symbol 147 MovieClip "pac3" in Frame 19
onClipEvent (load) {
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
onClipEvent (enterFrame) {
_x = (_x + xsp);
if (_x > 480) {
_x = 80;
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
if (this.hit.hitTest(_root.hit) && (_root.ball.act == "fall")) {
if (_root.p1._currentframe == 1) {
if (this._currentframe == 1) {
_root.p1.gotoAndStop(2);
} else if (this._currentframe == 2) {
_root.p1.gotoAndStop(3);
} else if (this._currentframe == 3) {
_root.p1.gotoAndStop(4);
} else if (this._currentframe == 4) {
_root.p1.gotoAndStop(5);
}
} else if (_root.p2._currentframe == 1) {
if (this._currentframe == (_root.p1._currentframe - 1)) {
_root.p2.gotoAndStop(_root.p1._currentframe);
} else {
_root.p2.gotoAndStop(1);
_root.p1.gotoAndStop(this._currentframe + 1);
}
} else if (_root.p3._currentframe == 1) {
if (this._currentframe == (_root.p2._currentframe - 1)) {
_root.p3.gotoAndStop(_root.p2._currentframe);
} else {
_root.p1.gotoAndStop(this._currentframe + 1);
_root.p3.gotoAndStop(1);
_root.p2.gotoAndStop(1);
}
}
_root.max_pacmen++;
if (_root.max_combo < int(_root.lbl_multi)) {
_root.max_combo = _root.lbl_multi;
if (int(_root.max_combo >= 19)) {
_root.cr1.nextFrame();
_root.co_cra1 = "yes";
}
if (int(_root.max_combo >= 49)) {
_root.cr2.nextFrame();
_root.co_cra2 = "yes";
}
if (int(_root.max_combo >= 79)) {
_root.cr3.nextFrame();
_root.co_cra3 = "yes";
}
}
if (_root.max_pacmen >= 100) {
_root.pk1.nextFrame();
_root.killer1 = "yes";
}
if (_root.max_pacmen >= 300) {
_root.pk2.nextFrame();
_root.killer2 = "yes";
}
if (_root.max_pacmen >= 600) {
_root.pk3.nextFrame();
_root.killer3 = "yes";
}
_root.lbl_multi++;
if (int(_root.lbl_multi > 1)) {
_root.mc_mul.mcnt.ml = "x" + _root.lbl_multi;
_root.mc_mul._x = _root.ball._x + 15;
_root.mc_mul._y = _root.ball._y - 15;
_root.mc_mul.gotoAndPlay(2);
}
if (_root.end_game == "yes") {
_root.lbl_score = _root.lbl_score + (50 * int(_root.lbl_multi));
} else {
_root.lbl_score = _root.lbl_score + (10 * int(_root.lbl_multi));
}
if (_root.pacmen_cnt > 0) {
_root.pacmen_cnt--;
}
if (_root.expl_cnt > 5) {
_root.expl_cnt = 0;
}
_root.expl_cnt++;
_root.expl.duplicateMovieClip("expl" + _root.expl_cnt, _root.expl_cnt);
_root["expl" + _root.expl_cnt]._x = _x;
_root["expl" + _root.expl_cnt]._y = _y;
_root.ball.ysp = 13;
_root.ball.act = "jump";
xsp = 0;
if (this._currentframe == 1) {
_root["expl" + _root.expl_cnt].gotoAndStop(2);
this.gotoAndStop(5);
} else if (this._currentframe == 2) {
_root["expl" + _root.expl_cnt].gotoAndStop(3);
this.gotoAndStop(6);
} else if (this._currentframe == 3) {
_root["expl" + _root.expl_cnt].gotoAndStop(4);
this.gotoAndStop(7);
} else if (this._currentframe == 4) {
_root["expl" + _root.expl_cnt].gotoAndStop(5);
this.gotoAndStop(8);
}
}
}
Instance of Symbol 147 MovieClip "pac11" in Frame 19
onClipEvent (load) {
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
onClipEvent (enterFrame) {
_x = (_x + xsp);
if (_x > 480) {
_x = 80;
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
if (this.hit.hitTest(_root.hit) && (_root.ball.act == "fall")) {
if (_root.p1._currentframe == 1) {
if (this._currentframe == 1) {
_root.p1.gotoAndStop(2);
} else if (this._currentframe == 2) {
_root.p1.gotoAndStop(3);
} else if (this._currentframe == 3) {
_root.p1.gotoAndStop(4);
} else if (this._currentframe == 4) {
_root.p1.gotoAndStop(5);
}
} else if (_root.p2._currentframe == 1) {
if (this._currentframe == (_root.p1._currentframe - 1)) {
_root.p2.gotoAndStop(_root.p1._currentframe);
} else {
_root.p2.gotoAndStop(1);
_root.p1.gotoAndStop(this._currentframe + 1);
}
} else if (_root.p3._currentframe == 1) {
if (this._currentframe == (_root.p2._currentframe - 1)) {
_root.p3.gotoAndStop(_root.p2._currentframe);
} else {
_root.p1.gotoAndStop(this._currentframe + 1);
_root.p3.gotoAndStop(1);
_root.p2.gotoAndStop(1);
}
}
_root.max_pacmen++;
if (_root.max_combo < int(_root.lbl_multi)) {
_root.max_combo = _root.lbl_multi;
if (int(_root.max_combo >= 19)) {
_root.cr1.nextFrame();
_root.co_cra1 = "yes";
}
if (int(_root.max_combo >= 49)) {
_root.cr2.nextFrame();
_root.co_cra2 = "yes";
}
if (int(_root.max_combo >= 79)) {
_root.cr3.nextFrame();
_root.co_cra3 = "yes";
}
}
if (_root.max_pacmen >= 100) {
_root.pk1.nextFrame();
_root.killer1 = "yes";
}
if (_root.max_pacmen >= 300) {
_root.pk2.nextFrame();
_root.killer2 = "yes";
}
if (_root.max_pacmen >= 600) {
_root.pk3.nextFrame();
_root.killer3 = "yes";
}
_root.lbl_multi++;
if (int(_root.lbl_multi > 1)) {
_root.mc_mul.mcnt.ml = "x" + _root.lbl_multi;
_root.mc_mul._x = _root.ball._x + 15;
_root.mc_mul._y = _root.ball._y - 15;
_root.mc_mul.gotoAndPlay(2);
}
if (_root.end_game == "yes") {
_root.lbl_score = _root.lbl_score + (50 * int(_root.lbl_multi));
} else {
_root.lbl_score = _root.lbl_score + (10 * int(_root.lbl_multi));
}
if (_root.pacmen_cnt > 0) {
_root.pacmen_cnt--;
}
if (_root.expl_cnt > 5) {
_root.expl_cnt = 0;
}
_root.expl_cnt++;
_root.expl.duplicateMovieClip("expl" + _root.expl_cnt, _root.expl_cnt);
_root["expl" + _root.expl_cnt]._x = _x;
_root["expl" + _root.expl_cnt]._y = _y;
_root.ball.ysp = 13;
_root.ball.act = "jump";
xsp = 0;
if (this._currentframe == 1) {
_root["expl" + _root.expl_cnt].gotoAndStop(2);
this.gotoAndStop(5);
} else if (this._currentframe == 2) {
_root["expl" + _root.expl_cnt].gotoAndStop(3);
this.gotoAndStop(6);
} else if (this._currentframe == 3) {
_root["expl" + _root.expl_cnt].gotoAndStop(4);
this.gotoAndStop(7);
} else if (this._currentframe == 4) {
_root["expl" + _root.expl_cnt].gotoAndStop(5);
this.gotoAndStop(8);
}
}
}
Instance of Symbol 147 MovieClip "pac17" in Frame 19
onClipEvent (load) {
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
onClipEvent (enterFrame) {
_x = (_x + xsp);
if (_x > 480) {
_x = 80;
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
if (this.hit.hitTest(_root.hit) && (_root.ball.act == "fall")) {
if (_root.p1._currentframe == 1) {
if (this._currentframe == 1) {
_root.p1.gotoAndStop(2);
} else if (this._currentframe == 2) {
_root.p1.gotoAndStop(3);
} else if (this._currentframe == 3) {
_root.p1.gotoAndStop(4);
} else if (this._currentframe == 4) {
_root.p1.gotoAndStop(5);
}
} else if (_root.p2._currentframe == 1) {
if (this._currentframe == (_root.p1._currentframe - 1)) {
_root.p2.gotoAndStop(_root.p1._currentframe);
} else {
_root.p2.gotoAndStop(1);
_root.p1.gotoAndStop(this._currentframe + 1);
}
} else if (_root.p3._currentframe == 1) {
if (this._currentframe == (_root.p2._currentframe - 1)) {
_root.p3.gotoAndStop(_root.p2._currentframe);
} else {
_root.p1.gotoAndStop(this._currentframe + 1);
_root.p3.gotoAndStop(1);
_root.p2.gotoAndStop(1);
}
}
_root.max_pacmen++;
if (_root.max_combo < int(_root.lbl_multi)) {
_root.max_combo = _root.lbl_multi;
if (int(_root.max_combo >= 19)) {
_root.cr1.nextFrame();
_root.co_cra1 = "yes";
}
if (int(_root.max_combo >= 49)) {
_root.cr2.nextFrame();
_root.co_cra2 = "yes";
}
if (int(_root.max_combo >= 79)) {
_root.cr3.nextFrame();
_root.co_cra3 = "yes";
}
}
if (_root.max_pacmen >= 100) {
_root.pk1.nextFrame();
_root.killer1 = "yes";
}
if (_root.max_pacmen >= 300) {
_root.pk2.nextFrame();
_root.killer2 = "yes";
}
if (_root.max_pacmen >= 600) {
_root.pk3.nextFrame();
_root.killer3 = "yes";
}
_root.lbl_multi++;
if (int(_root.lbl_multi > 1)) {
_root.mc_mul.mcnt.ml = "x" + _root.lbl_multi;
_root.mc_mul._x = _root.ball._x + 15;
_root.mc_mul._y = _root.ball._y - 15;
_root.mc_mul.gotoAndPlay(2);
}
if (_root.end_game == "yes") {
_root.lbl_score = _root.lbl_score + (50 * int(_root.lbl_multi));
} else {
_root.lbl_score = _root.lbl_score + (10 * int(_root.lbl_multi));
}
if (_root.pacmen_cnt > 0) {
_root.pacmen_cnt--;
}
if (_root.expl_cnt > 5) {
_root.expl_cnt = 0;
}
_root.expl_cnt++;
_root.expl.duplicateMovieClip("expl" + _root.expl_cnt, _root.expl_cnt);
_root["expl" + _root.expl_cnt]._x = _x;
_root["expl" + _root.expl_cnt]._y = _y;
_root.ball.ysp = 13;
_root.ball.act = "jump";
xsp = 0;
if (this._currentframe == 1) {
_root["expl" + _root.expl_cnt].gotoAndStop(2);
this.gotoAndStop(5);
} else if (this._currentframe == 2) {
_root["expl" + _root.expl_cnt].gotoAndStop(3);
this.gotoAndStop(6);
} else if (this._currentframe == 3) {
_root["expl" + _root.expl_cnt].gotoAndStop(4);
this.gotoAndStop(7);
} else if (this._currentframe == 4) {
_root["expl" + _root.expl_cnt].gotoAndStop(5);
this.gotoAndStop(8);
}
}
}
Instance of Symbol 147 MovieClip "pac18" in Frame 19
onClipEvent (load) {
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
onClipEvent (enterFrame) {
_x = (_x + xsp);
if (_x > 480) {
_x = 80;
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
if (this.hit.hitTest(_root.hit) && (_root.ball.act == "fall")) {
if (_root.p1._currentframe == 1) {
if (this._currentframe == 1) {
_root.p1.gotoAndStop(2);
} else if (this._currentframe == 2) {
_root.p1.gotoAndStop(3);
} else if (this._currentframe == 3) {
_root.p1.gotoAndStop(4);
} else if (this._currentframe == 4) {
_root.p1.gotoAndStop(5);
}
} else if (_root.p2._currentframe == 1) {
if (this._currentframe == (_root.p1._currentframe - 1)) {
_root.p2.gotoAndStop(_root.p1._currentframe);
} else {
_root.p2.gotoAndStop(1);
_root.p1.gotoAndStop(this._currentframe + 1);
}
} else if (_root.p3._currentframe == 1) {
if (this._currentframe == (_root.p2._currentframe - 1)) {
_root.p3.gotoAndStop(_root.p2._currentframe);
} else {
_root.p1.gotoAndStop(this._currentframe + 1);
_root.p3.gotoAndStop(1);
_root.p2.gotoAndStop(1);
}
}
_root.max_pacmen++;
if (_root.max_combo < int(_root.lbl_multi)) {
_root.max_combo = _root.lbl_multi;
if (int(_root.max_combo >= 19)) {
_root.cr1.nextFrame();
_root.co_cra1 = "yes";
}
if (int(_root.max_combo >= 49)) {
_root.cr2.nextFrame();
_root.co_cra2 = "yes";
}
if (int(_root.max_combo >= 79)) {
_root.cr3.nextFrame();
_root.co_cra3 = "yes";
}
}
if (_root.max_pacmen >= 100) {
_root.pk1.nextFrame();
_root.killer1 = "yes";
}
if (_root.max_pacmen >= 300) {
_root.pk2.nextFrame();
_root.killer2 = "yes";
}
if (_root.max_pacmen >= 600) {
_root.pk3.nextFrame();
_root.killer3 = "yes";
}
_root.lbl_multi++;
if (int(_root.lbl_multi > 1)) {
_root.mc_mul.mcnt.ml = "x" + _root.lbl_multi;
_root.mc_mul._x = _root.ball._x + 15;
_root.mc_mul._y = _root.ball._y - 15;
_root.mc_mul.gotoAndPlay(2);
}
if (_root.end_game == "yes") {
_root.lbl_score = _root.lbl_score + (50 * int(_root.lbl_multi));
} else {
_root.lbl_score = _root.lbl_score + (10 * int(_root.lbl_multi));
}
if (_root.pacmen_cnt > 0) {
_root.pacmen_cnt--;
}
if (_root.expl_cnt > 5) {
_root.expl_cnt = 0;
}
_root.expl_cnt++;
_root.expl.duplicateMovieClip("expl" + _root.expl_cnt, _root.expl_cnt);
_root["expl" + _root.expl_cnt]._x = _x;
_root["expl" + _root.expl_cnt]._y = _y;
_root.ball.ysp = 13;
_root.ball.act = "jump";
xsp = 0;
if (this._currentframe == 1) {
_root["expl" + _root.expl_cnt].gotoAndStop(2);
this.gotoAndStop(5);
} else if (this._currentframe == 2) {
_root["expl" + _root.expl_cnt].gotoAndStop(3);
this.gotoAndStop(6);
} else if (this._currentframe == 3) {
_root["expl" + _root.expl_cnt].gotoAndStop(4);
this.gotoAndStop(7);
} else if (this._currentframe == 4) {
_root["expl" + _root.expl_cnt].gotoAndStop(5);
this.gotoAndStop(8);
}
}
}
Instance of Symbol 147 MovieClip "pac19" in Frame 19
onClipEvent (load) {
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
onClipEvent (enterFrame) {
_x = (_x + xsp);
if (_x > 480) {
_x = 80;
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
if (this.hit.hitTest(_root.hit) && (_root.ball.act == "fall")) {
if (_root.p1._currentframe == 1) {
if (this._currentframe == 1) {
_root.p1.gotoAndStop(2);
} else if (this._currentframe == 2) {
_root.p1.gotoAndStop(3);
} else if (this._currentframe == 3) {
_root.p1.gotoAndStop(4);
} else if (this._currentframe == 4) {
_root.p1.gotoAndStop(5);
}
} else if (_root.p2._currentframe == 1) {
if (this._currentframe == (_root.p1._currentframe - 1)) {
_root.p2.gotoAndStop(_root.p1._currentframe);
} else {
_root.p2.gotoAndStop(1);
_root.p1.gotoAndStop(this._currentframe + 1);
}
} else if (_root.p3._currentframe == 1) {
if (this._currentframe == (_root.p2._currentframe - 1)) {
_root.p3.gotoAndStop(_root.p2._currentframe);
} else {
_root.p1.gotoAndStop(this._currentframe + 1);
_root.p3.gotoAndStop(1);
_root.p2.gotoAndStop(1);
}
}
_root.max_pacmen++;
if (_root.max_combo < int(_root.lbl_multi)) {
_root.max_combo = _root.lbl_multi;
if (int(_root.max_combo >= 19)) {
_root.cr1.nextFrame();
_root.co_cra1 = "yes";
}
if (int(_root.max_combo >= 49)) {
_root.cr2.nextFrame();
_root.co_cra2 = "yes";
}
if (int(_root.max_combo >= 79)) {
_root.cr3.nextFrame();
_root.co_cra3 = "yes";
}
}
if (_root.max_pacmen >= 100) {
_root.pk1.nextFrame();
_root.killer1 = "yes";
}
if (_root.max_pacmen >= 300) {
_root.pk2.nextFrame();
_root.killer2 = "yes";
}
if (_root.max_pacmen >= 600) {
_root.pk3.nextFrame();
_root.killer3 = "yes";
}
_root.lbl_multi++;
if (int(_root.lbl_multi > 1)) {
_root.mc_mul.mcnt.ml = "x" + _root.lbl_multi;
_root.mc_mul._x = _root.ball._x + 15;
_root.mc_mul._y = _root.ball._y - 15;
_root.mc_mul.gotoAndPlay(2);
}
if (_root.end_game == "yes") {
_root.lbl_score = _root.lbl_score + (50 * int(_root.lbl_multi));
} else {
_root.lbl_score = _root.lbl_score + (10 * int(_root.lbl_multi));
}
if (_root.pacmen_cnt > 0) {
_root.pacmen_cnt--;
}
if (_root.expl_cnt > 5) {
_root.expl_cnt = 0;
}
_root.expl_cnt++;
_root.expl.duplicateMovieClip("expl" + _root.expl_cnt, _root.expl_cnt);
_root["expl" + _root.expl_cnt]._x = _x;
_root["expl" + _root.expl_cnt]._y = _y;
_root.ball.ysp = 13;
_root.ball.act = "jump";
xsp = 0;
if (this._currentframe == 1) {
_root["expl" + _root.expl_cnt].gotoAndStop(2);
this.gotoAndStop(5);
} else if (this._currentframe == 2) {
_root["expl" + _root.expl_cnt].gotoAndStop(3);
this.gotoAndStop(6);
} else if (this._currentframe == 3) {
_root["expl" + _root.expl_cnt].gotoAndStop(4);
this.gotoAndStop(7);
} else if (this._currentframe == 4) {
_root["expl" + _root.expl_cnt].gotoAndStop(5);
this.gotoAndStop(8);
}
}
}
Instance of Symbol 147 MovieClip "pac20" in Frame 19
onClipEvent (load) {
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
onClipEvent (enterFrame) {
_x = (_x + xsp);
if (_x > 480) {
_x = 80;
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
if (this.hit.hitTest(_root.hit) && (_root.ball.act == "fall")) {
if (_root.p1._currentframe == 1) {
if (this._currentframe == 1) {
_root.p1.gotoAndStop(2);
} else if (this._currentframe == 2) {
_root.p1.gotoAndStop(3);
} else if (this._currentframe == 3) {
_root.p1.gotoAndStop(4);
} else if (this._currentframe == 4) {
_root.p1.gotoAndStop(5);
}
} else if (_root.p2._currentframe == 1) {
if (this._currentframe == (_root.p1._currentframe - 1)) {
_root.p2.gotoAndStop(_root.p1._currentframe);
} else {
_root.p2.gotoAndStop(1);
_root.p1.gotoAndStop(this._currentframe + 1);
}
} else if (_root.p3._currentframe == 1) {
if (this._currentframe == (_root.p2._currentframe - 1)) {
_root.p3.gotoAndStop(_root.p2._currentframe);
} else {
_root.p1.gotoAndStop(this._currentframe + 1);
_root.p3.gotoAndStop(1);
_root.p2.gotoAndStop(1);
}
}
_root.max_pacmen++;
if (_root.max_combo < int(_root.lbl_multi)) {
_root.max_combo = _root.lbl_multi;
if (int(_root.max_combo >= 19)) {
_root.cr1.nextFrame();
_root.co_cra1 = "yes";
}
if (int(_root.max_combo >= 49)) {
_root.cr2.nextFrame();
_root.co_cra2 = "yes";
}
if (int(_root.max_combo >= 79)) {
_root.cr3.nextFrame();
_root.co_cra3 = "yes";
}
}
if (_root.max_pacmen >= 100) {
_root.pk1.nextFrame();
_root.killer1 = "yes";
}
if (_root.max_pacmen >= 300) {
_root.pk2.nextFrame();
_root.killer2 = "yes";
}
if (_root.max_pacmen >= 600) {
_root.pk3.nextFrame();
_root.killer3 = "yes";
}
_root.lbl_multi++;
if (int(_root.lbl_multi > 1)) {
_root.mc_mul.mcnt.ml = "x" + _root.lbl_multi;
_root.mc_mul._x = _root.ball._x + 15;
_root.mc_mul._y = _root.ball._y - 15;
_root.mc_mul.gotoAndPlay(2);
}
if (_root.end_game == "yes") {
_root.lbl_score = _root.lbl_score + (50 * int(_root.lbl_multi));
} else {
_root.lbl_score = _root.lbl_score + (10 * int(_root.lbl_multi));
}
if (_root.pacmen_cnt > 0) {
_root.pacmen_cnt--;
}
if (_root.expl_cnt > 5) {
_root.expl_cnt = 0;
}
_root.expl_cnt++;
_root.expl.duplicateMovieClip("expl" + _root.expl_cnt, _root.expl_cnt);
_root["expl" + _root.expl_cnt]._x = _x;
_root["expl" + _root.expl_cnt]._y = _y;
_root.ball.ysp = 13;
_root.ball.act = "jump";
xsp = 0;
if (this._currentframe == 1) {
_root["expl" + _root.expl_cnt].gotoAndStop(2);
this.gotoAndStop(5);
} else if (this._currentframe == 2) {
_root["expl" + _root.expl_cnt].gotoAndStop(3);
this.gotoAndStop(6);
} else if (this._currentframe == 3) {
_root["expl" + _root.expl_cnt].gotoAndStop(4);
this.gotoAndStop(7);
} else if (this._currentframe == 4) {
_root["expl" + _root.expl_cnt].gotoAndStop(5);
this.gotoAndStop(8);
}
}
}
Instance of Symbol 170 MovieClip "pink_pac" in Frame 19
onClipEvent (load) {
xsp = random(5) + 3;
_y = (random(100) + 200);
}
onClipEvent (enterFrame) {
if (_root.pacmen_cnt < 25) {
start_pink = 1;
}
if (start_pink) {
_x = (_x + xsp);
if (_x > 480) {
this.gotoAndStop(3);
}
if (this.hit.hitTest(_root.hit) && (_root.ball.act == "fall")) {
_root.pink_pacmen++;
if (_root.pink_pacmen >= 3) {
_root.pink1.nextFrame();
}
if (_root.pink_pacmen >= 6) {
_root.pink2.nextFrame();
}
if (_root.pink_pacmen >= 10) {
_root.pink3.nextFrame();
}
_root.max_pacmen++;
if (_root.max_combo < int(_root.lbl_multi)) {
_root.max_combo = _root.lbl_multi;
if (int(_root.max_combo >= 19)) {
_root.cr1.nextFrame();
_root.co_cra1 = "yes";
}
if (int(_root.max_combo >= 49)) {
_root.cr2.nextFrame();
_root.co_cra2 = "yes";
}
if (int(_root.max_combo >= 79)) {
_root.cr3.nextFrame();
_root.co_cra3 = "yes";
}
}
if (_root.max_pacmen >= 100) {
_root.pk1.nextFrame();
_root.killer1 = "yes";
}
if (_root.max_pacmen >= 300) {
_root.pk2.nextFrame();
_root.killer2 = "yes";
}
if (_root.max_pacmen >= 600) {
_root.pk3.nextFrame();
_root.killer3 = "yes";
}
_root.lbl_multi++;
if (int(_root.lbl_multi > 1)) {
_root.mc_mul.mcnt.ml = "x" + _root.lbl_multi;
_root.mc_mul._x = _root.ball._x + 15;
_root.mc_mul._y = _root.ball._y - 15;
_root.mc_mul.gotoAndPlay(2);
}
if (_root.end_game == "yes") {
_root.lbl_score = _root.lbl_score + (5000 * int(_root.lbl_multi));
} else {
_root.lbl_score = _root.lbl_score + (1000 * int(_root.lbl_multi));
}
if (_root.pacmen_cnt > 0) {
_root.pacmen_cnt--;
}
if (_root.expl_cnt > 5) {
_root.expl_cnt = 0;
}
_root.ball.ysp = 13;
_root.ball.act = "jump";
xsp = 0;
this.gotoAndStop(2);
}
}
}
Instance of Symbol 415 MovieClip "spikeb2" in Frame 19
onClipEvent (load) {
snd_spike = new Sound(this);
snd_spike.attachSound("spike");
Y = _y;
sp = 0;
m_rnd = 1;
s = 8;
j = random(100) + 50;
i = 0;
}
onClipEvent (enterFrame) {
x1 = _x - _root.ball._x;
y1 = _y - _root.ball._y;
dist = Math.sqrt((x1 * x1) + (y1 * y1));
if ((dist < 70) && (_root.ball._currentframe != 3)) {
_root.ball._rotation = 0;
_root.ball.gotoAndStop(3);
_root.b_xpl._x = _root.ball._x;
_root.b_xpl._y = _root.ball._y;
_root.b_xpl.nextFrame();
}
if (m_rnd) {
i++;
if (i == j) {
if (_x < 175) {
snd_spike.start(0, 0);
gright = 1;
} else {
snd_spike.start(0, 0);
gleft = 1;
}
j = random(100) + 1;
i = 0;
m_rnd = 0;
}
}
if (gleft) {
_rotation = (_rotation - (sp * 1.5));
sp = sp + 0.2;
_x = (_x - sp);
if (_x < 80) {
snd_spike.stop();
_x = 80;
bounce_right = 1;
gleft = 0;
sp = 3;
ysp = 8;
}
}
if (bounce_right) {
_rotation = (_rotation + (sp * 1.5));
_x = (_x + sp);
ysp = ysp - 1;
_y = (_y - ysp);
if (_y >= Y) {
sp--;
if (sp <= 0) {
sp = 0;
bounce_right = 0;
m_rnd = 1;
}
_y = Y;
s = s / 2;
ysp = s;
}
}
if (gright) {
_rotation = (_rotation + (sp * 1.5));
sp = sp + 0.2;
_x = (_x + sp);
if (_x > 400) {
snd_spike.stop();
_x = 400;
bounce_left = 1;
gright = 0;
sp = 3;
ysp = 8;
}
}
if (bounce_left) {
_rotation = (_rotation - (sp * 1.5));
_x = (_x - sp);
ysp = ysp - 1;
_y = (_y - ysp);
if (_y >= Y) {
sp--;
if (sp <= 0) {
sp = 0;
bounce_left = 0;
m_rnd = 1;
}
_y = Y;
s = s / 2;
ysp = s;
}
}
}
Instance of Symbol 197 MovieClip "ball" in Frame 19
onClipEvent (load) {
var glevel = _y;
var ysp = 0;
var xsp = 5;
var act = "ground";
var xsp2 = 3;
var m_dir = "";
j = 20;
}
onClipEvent (keyUp) {
if (m_dir == "left") {
roll_left = 1;
m_dir = "";
xsp2 = 3;
} else if (m_dir == "right") {
roll_right = 1;
m_dir = "";
xsp2 = 3;
}
}
onClipEvent (enterFrame) {
if (this._currentframe != 3) {
if (_root.p3._currentframe == 2) {
if (j > 40) {
j = 20;
}
j++;
_root.b_a.duplicateMovieClip("b_a" + j, j);
_root["b_a" + j]._x = _x;
_root["b_a" + j]._y = _y;
} else if (_root.p3._currentframe == 3) {
if (j > 40) {
j = 20;
}
j++;
_root.b_b.duplicateMovieClip("b_b" + j, j);
_root["b_b" + j]._x = _x;
_root["b_b" + j]._y = _y;
} else if (_root.p3._currentframe == 4) {
if (j > 40) {
j = 20;
}
j++;
_root.b_c.duplicateMovieClip("b_c" + j, j);
_root["b_c" + j]._x = _x;
_root["b_c" + j]._y = _y;
} else if (_root.p3._currentframe == 5) {
if (j > 40) {
j = 20;
}
j++;
_root.b_d.duplicateMovieClip("b_d" + j, j);
_root["b_d" + j]._x = _x;
_root["b_d" + j]._y = _y;
}
if (roll_left) {
xsp2 = xsp2 - 0.5;
_rotation = (_rotation - (xsp2 * 3));
_x = (_x - xsp2);
if (_x < 115) {
_x = 115;
}
if (xsp2 <= 0) {
roll_left = 0;
xsp2 = 3;
}
}
if (roll_right) {
xsp2 = xsp2 - 0.5;
_rotation = (_rotation + (xsp2 * 3));
_x = (_x + xsp2);
if (_x > 430) {
_x = 430;
}
if (xsp2 <= 0) {
roll_right = 0;
xsp2 = 3;
}
}
if (Key.isDown(37)) {
m_dir = "left";
roll_left = 0;
roll_right = 0;
_rotation = (_rotation - (xsp + 5));
_x = (_x - xsp);
if (_x < 115) {
_x = 115;
}
} else if (Key.isDown(39)) {
m_dir = "right";
roll_left = 0;
roll_right = 0;
_rotation = (_rotation + (xsp + 5));
_x = (_x + xsp);
if (_x > 430) {
_x = 430;
}
}
if (act == "fall") {
ysp++;
var i = 0;
while (i < ysp) {
_y = (_y+1);
if (_y >= glevel) {
_y = glevel;
_root.snd_hit_ground.start(0, 0);
_root.lbl_multi = 0;
i = 0;
ysp = i;
act = "ground";
_root.leaves._x = _x;
_root.leaves._y = _y - 30;
_root.leaves.gotoAndPlay(2);
}
i++;
}
} else if (act == "jump") {
ysp--;
this.gotoAndStop(2);
var i = 0;
while (i < ysp) {
_y = (_y-1);
if (ysp <= 1) {
ysp = 0;
act = "fall";
}
i++;
}
}
if (Key.isDown(90) && (act == "ground")) {
_root.snd_jump.start(0, 0);
ysp = 12;
act = "jump";
}
if ((Key.isDown(40) && (act == "jump")) && (_y < (glevel - 5))) {
ysp = 0;
act = "fall";
}
}
}
Instance of Symbol 203 MovieClip "hit" in Frame 19
onClipEvent (enterFrame) {
_x = _root.ball._x;
_y = (_root.ball._y + 15);
}
Instance of Symbol 415 MovieClip "spikeb1" in Frame 19
onClipEvent (load) {
snd_spike = new Sound(this);
snd_spike.attachSound("spike");
Y = _y;
sp = 0;
m_rnd = 1;
s = 8;
j = random(100) + 1;
i = 0;
}
onClipEvent (enterFrame) {
x1 = _x - _root.ball._x;
y1 = _y - _root.ball._y;
dist = Math.sqrt((x1 * x1) + (y1 * y1));
if ((dist < 45) && (_root.ball._currentframe != 3)) {
_root.ball._rotation = 0;
_root.ball.gotoAndStop(3);
_root.b_xpl._x = _root.ball._x;
_root.b_xpl._y = _root.ball._y;
_root.b_xpl.nextFrame();
}
if (m_rnd) {
i++;
if (i == j) {
if (_x < 175) {
snd_spike.start(0, 0);
gright = 1;
} else {
snd_spike.start(0, 0);
gleft = 1;
}
j = random(100) + 1;
i = 0;
m_rnd = 0;
}
}
if (gleft) {
_rotation = (_rotation - (sp * 1.5));
sp = sp + 0.2;
_x = (_x - sp);
if (_x < 100) {
snd_spike.stop();
_x = 100;
bounce_right = 1;
gleft = 0;
sp = 3;
ysp = 8;
}
}
if (bounce_right) {
_rotation = (_rotation + (sp * 1.5));
_x = (_x + sp);
ysp = ysp - 1;
_y = (_y - ysp);
if (_y >= Y) {
sp--;
if (sp <= 0) {
sp = 0;
bounce_right = 0;
m_rnd = 1;
}
_y = Y;
s = s / 2;
ysp = s;
}
}
if (gright) {
_rotation = (_rotation + (sp * 1.5));
sp = sp + 0.2;
_x = (_x + sp);
if (_x > 420) {
snd_spike.stop();
_x = 420;
bounce_left = 1;
gright = 0;
sp = 3;
ysp = 8;
}
}
if (bounce_left) {
_rotation = (_rotation - (sp * 1.5));
_x = (_x - sp);
ysp = ysp - 1;
_y = (_y - ysp);
if (_y >= Y) {
sp--;
if (sp <= 0) {
sp = 0;
bounce_left = 0;
m_rnd = 1;
}
_y = Y;
s = s / 2;
ysp = s;
}
}
}
Instance of Symbol 365 MovieClip "b_a" in Frame 19
onClipEvent (load) {
ysp = 5 * Math.random();
}
onClipEvent (enterFrame) {
if (ysp <= 1) {
this.removeMovieClip();
} else {
ysp = ysp - 0.1;
_y = (_y - ysp);
}
}
Instance of Symbol 369 MovieClip "b_b" in Frame 19
onClipEvent (load) {
ysp = 5 * Math.random();
}
onClipEvent (enterFrame) {
if (ysp <= 1) {
this.removeMovieClip();
} else {
ysp = ysp - 0.1;
_y = (_y - ysp);
}
}
Instance of Symbol 372 MovieClip "b_c" in Frame 19
onClipEvent (load) {
ysp = 5 * Math.random();
}
onClipEvent (enterFrame) {
if (ysp <= 1) {
this.removeMovieClip();
} else {
ysp = ysp - 0.1;
_y = (_y - ysp);
}
}
Instance of Symbol 376 MovieClip "b_d" in Frame 19
onClipEvent (load) {
ysp = 5 * Math.random();
}
onClipEvent (enterFrame) {
if (ysp <= 1) {
this.removeMovieClip();
} else {
ysp = ysp - 0.1;
_y = (_y - ysp);
}
}
Instance of Symbol 245 MovieClip "expl" in Frame 19
onClipEvent (load) {
cframe = _root._currentframe;
if (_x < 130) {
this.removeMovieClip();
}
}
onClipEvent (enterFrame) {
if (cframe != _root._currentframe) {
this.removeMovieClip();
}
}
Instance of Symbol 269 MovieClip "mc_grass" in Frame 19
onClipEvent (load) {
tmpdepth = this.getDepth();
this.swapDepths(100);
}
Instance of Symbol 351 MovieClip "mc_ef" in Frame 19
onClipEvent (load) {
tmpdepth = this.getDepth();
this.swapDepths(110);
}
Frame 20
stop();
if (_root.end_game == "yes") {
_root.time_bon = _root.time_bon + int(_root.lbl_time);
}
Frame 21
_root.snd_stage_bg.start(0, 999);
stop();
tmp_time = 0;
lbl_multi = 0;
expl_cnt = 0;
lbl_time = 60;
pacmen_cnt = 100;
i = 0;
j = 0;
m = 0;
end_game = "";
color_bomb = 0;
_root.onEnterFrame = function () {
var _local3 = new Date();
var _local2 = _local3 - starttime;
while (_local2 < (1000 / DESIREDFRAMERATE)) {
_local3 = new Date();
_local2 = _local3 - starttime;
}
starttime = new Date();
if (lbl_time <= 10) {
_root.mc_pan.nextFrame();
}
if ((lbl_time == 0) && (end_game == "")) {
_root.ball._rotation = 0;
_root.ball.gotoAndStop(3);
_root.b_xpl._x = _root.ball._x;
_root.b_xpl._y = _root.ball._y;
_root.b_xpl.nextFrame();
}
if (((Key.isDown(88) && (color_bomb == 0)) && (_root.p3._currentframe != 1)) && (_root.ball._currentframe != 3)) {
_root.obj1.gotoAndPlay(2);
_root.obj2.gotoAndPlay(2);
_root.max_bombs++;
if (_root.max_bombs >= 20) {
_root.col_mayhem.nextFrame();
}
_root.mc_ef.play();
color_bomb = 1;
}
if ((pacmen_cnt == 0) && (end_game == "")) {
end_game = "yes";
_root.tmb = _root.time_bon;
if (_root.time_bon >= 150) {
_root.quicksilver.nextFrame();
}
_root.mc_completed.play();
_root.lbl_score = _root.lbl_score + (int(_root.lbl_time) * int(_root.lbl_time));
}
m++;
if (((m == 30) && (lbl_time > 0)) && (end_game == "")) {
tmp_time++;
lbl_time--;
m = 0;
}
if (end_game == "yes") {
j++;
if ((j == 3) && (i < 21)) {
i++;
if (expl_cnt > 10) {
expl_cnt = 0;
}
expl_cnt++;
_root.expl.duplicateMovieClip("expl" + expl_cnt, expl_cnt);
_root["expl" + expl_cnt]._x = _root["pac" + i]._x;
_root["expl" + expl_cnt]._y = _root["pac" + i]._y;
_root["pac" + i].xsp = 0;
if (_root["pac" + i]._currentframe == 1) {
_root["expl" + expl_cnt].gotoAndStop(2);
_root["pac" + i].gotoAndStop(5);
} else if (_root["pac" + i]._currentframe == 2) {
_root["expl" + expl_cnt].gotoAndStop(3);
_root["pac" + i].gotoAndStop(6);
} else if (_root["pac" + i]._currentframe == 3) {
_root["expl" + expl_cnt].gotoAndStop(4);
_root["pac" + i].gotoAndStop(7);
} else if (_root["pac" + i]._currentframe == 4) {
_root["expl" + expl_cnt].gotoAndStop(5);
_root["pac" + i].gotoAndStop(8);
}
j = 0;
}
}
if (color_bomb) {
var i = 1;
while (i < 22) {
expl_cnt++;
_root.expl.duplicateMovieClip("expl" + expl_cnt, expl_cnt);
_root["expl" + expl_cnt]._x = _root["pac" + i]._x;
_root["expl" + expl_cnt]._y = _root["pac" + i]._y;
if ((_root.p3._currentframe == 2) && (_root["pac" + i]._currentframe == 1)) {
_root.max_pacmen++;
if (_root.max_combo < int(_root.lbl_multi)) {
_root.max_combo = _root.lbl_multi;
if (int(_root.max_combo >= 19)) {
_root.cr1.nextFrame();
_root.co_cra1 = "yes";
}
if (int(_root.max_combo >= 49)) {
_root.cr2.nextFrame();
_root.co_cra2 = "yes";
}
if (int(_root.max_combo >= 79)) {
_root.cr3.nextFrame();
_root.co_cra3 = "yes";
}
}
if (_root.max_pacmen >= 100) {
_root.pk1.nextFrame();
_root.killer1 = "yes";
}
if (_root.max_pacmen >= 300) {
_root.pk2.nextFrame();
_root.killer2 = "yes";
}
if (_root.max_pacmen >= 600) {
_root.pk3.nextFrame();
_root.killer3 = "yes";
}
if (end_game == "yes") {
_root.lbl_score = _root.lbl_score + (50 * int(_root.lbl_multi));
} else {
_root.lbl_score = _root.lbl_score + (10 * int(_root.lbl_multi));
}
if (_root.pacmen_cnt > 0) {
_root.pacmen_cnt--;
}
_root["expl" + expl_cnt].gotoAndStop(2);
_root["pac" + i].gotoAndStop(5);
_root["pac" + i].xsp = 0;
} else if ((_root.p3._currentframe == 3) && (_root["pac" + i]._currentframe == 2)) {
_root.max_pacmen++;
if (_root.max_combo < int(_root.lbl_multi)) {
_root.max_combo = _root.lbl_multi;
if (int(_root.max_combo >= 19)) {
_root.cr1.nextFrame();
_root.co_cra1 = "yes";
}
if (int(_root.max_combo >= 49)) {
_root.cr2.nextFrame();
_root.co_cra2 = "yes";
}
if (int(_root.max_combo >= 79)) {
_root.cr3.nextFrame();
_root.co_cra3 = "yes";
}
}
if (_root.max_pacmen >= 100) {
_root.pk1.nextFrame();
_root.killer1 = "yes";
}
if (_root.max_pacmen >= 300) {
_root.pk2.nextFrame();
_root.killer2 = "yes";
}
if (_root.max_pacmen >= 600) {
_root.pk3.nextFrame();
_root.killer3 = "yes";
}
if (end_game == "yes") {
_root.lbl_score = _root.lbl_score + (50 * int(_root.lbl_multi));
} else {
_root.lbl_score = _root.lbl_score + (10 * int(_root.lbl_multi));
}
if (_root.pacmen_cnt > 0) {
_root.pacmen_cnt--;
}
_root["expl" + expl_cnt].gotoAndStop(3);
_root["pac" + i].gotoAndStop(6);
_root["pac" + i].xsp = 0;
} else if ((_root.p3._currentframe == 4) && (_root["pac" + i]._currentframe == 3)) {
_root.max_pacmen++;
if (_root.max_combo < int(_root.lbl_multi)) {
_root.max_combo = _root.lbl_multi;
if (int(_root.max_combo >= 19)) {
_root.cr1.nextFrame();
_root.co_cra1 = "yes";
}
if (int(_root.max_combo >= 49)) {
_root.cr2.nextFrame();
_root.co_cra2 = "yes";
}
if (int(_root.max_combo >= 79)) {
_root.cr3.nextFrame();
_root.co_cra3 = "yes";
}
}
if (_root.max_pacmen >= 100) {
_root.pk1.nextFrame();
_root.killer1 = "yes";
}
if (_root.max_pacmen >= 300) {
_root.pk2.nextFrame();
_root.killer2 = "yes";
}
if (_root.max_pacmen >= 600) {
_root.pk3.nextFrame();
_root.killer3 = "yes";
}
if (end_game == "yes") {
_root.lbl_score = _root.lbl_score + (50 * int(_root.lbl_multi));
} else {
_root.lbl_score = _root.lbl_score + (10 * int(_root.lbl_multi));
}
if (_root.pacmen_cnt > 0) {
_root.pacmen_cnt--;
}
_root["expl" + expl_cnt].gotoAndStop(4);
_root["pac" + i].gotoAndStop(7);
_root["pac" + i].xsp = 0;
} else if ((_root.p3._currentframe == 5) && (_root["pac" + i]._currentframe == 4)) {
_root.max_pacmen++;
if (_root.max_combo < int(_root.lbl_multi)) {
_root.max_combo = _root.lbl_multi;
if (int(_root.max_combo >= 19)) {
_root.cr1.nextFrame();
_root.co_cra1 = "yes";
}
if (int(_root.max_combo >= 49)) {
_root.cr2.nextFrame();
_root.co_cra2 = "yes";
}
if (int(_root.max_combo >= 79)) {
_root.cr3.nextFrame();
_root.co_cra3 = "yes";
}
}
if (_root.max_pacmen >= 100) {
_root.pk1.nextFrame();
_root.killer1 = "yes";
}
if (_root.max_pacmen >= 300) {
_root.pk2.nextFrame();
_root.killer2 = "yes";
}
if (_root.max_pacmen >= 600) {
_root.pk3.nextFrame();
_root.killer3 = "yes";
}
if (end_game == "yes") {
_root.lbl_score = _root.lbl_score + (50 * int(_root.lbl_multi));
} else {
_root.lbl_score = _root.lbl_score + (10 * int(_root.lbl_multi));
}
if (_root.pacmen_cnt > 0) {
_root.pacmen_cnt--;
}
_root["expl" + expl_cnt].gotoAndStop(5);
_root["pac" + i].gotoAndStop(8);
_root["pac" + i].xsp = 0;
}
i++;
}
i = 0;
j = 0;
expl_cnt = 0;
_root.p1.gotoAndStop(1);
_root.p2.gotoAndStop(1);
_root.p3.gotoAndStop(1);
color_bomb = 0;
}
};
Instance of Symbol 147 MovieClip "pac1" in Frame 21
onClipEvent (load) {
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
onClipEvent (enterFrame) {
_x = (_x + xsp);
if (_x > 480) {
_x = 80;
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
if (this.hit.hitTest(_root.hit) && (_root.ball.act == "fall")) {
if (_root.p1._currentframe == 1) {
if (this._currentframe == 1) {
_root.p1.gotoAndStop(2);
} else if (this._currentframe == 2) {
_root.p1.gotoAndStop(3);
} else if (this._currentframe == 3) {
_root.p1.gotoAndStop(4);
} else if (this._currentframe == 4) {
_root.p1.gotoAndStop(5);
}
} else if (_root.p2._currentframe == 1) {
if (this._currentframe == (_root.p1._currentframe - 1)) {
_root.p2.gotoAndStop(_root.p1._currentframe);
} else {
_root.p2.gotoAndStop(1);
_root.p1.gotoAndStop(this._currentframe + 1);
}
} else if (_root.p3._currentframe == 1) {
if (this._currentframe == (_root.p2._currentframe - 1)) {
_root.p3.gotoAndStop(_root.p2._currentframe);
} else {
_root.p1.gotoAndStop(this._currentframe + 1);
_root.p3.gotoAndStop(1);
_root.p2.gotoAndStop(1);
}
}
_root.max_pacmen++;
if (_root.max_combo < int(_root.lbl_multi)) {
_root.max_combo = _root.lbl_multi;
if (int(_root.max_combo >= 19)) {
_root.cr1.nextFrame();
_root.co_cra1 = "yes";
}
if (int(_root.max_combo >= 49)) {
_root.cr2.nextFrame();
_root.co_cra2 = "yes";
}
if (int(_root.max_combo >= 79)) {
_root.cr3.nextFrame();
_root.co_cra3 = "yes";
}
}
if (_root.max_pacmen >= 100) {
_root.pk1.nextFrame();
_root.killer1 = "yes";
}
if (_root.max_pacmen >= 300) {
_root.pk2.nextFrame();
_root.killer2 = "yes";
}
if (_root.max_pacmen >= 600) {
_root.pk3.nextFrame();
_root.killer3 = "yes";
}
_root.lbl_multi++;
if (int(_root.lbl_multi > 1)) {
_root.mc_mul.mcnt.ml = "x" + _root.lbl_multi;
_root.mc_mul._x = _root.ball._x + 15;
_root.mc_mul._y = _root.ball._y - 15;
_root.mc_mul.gotoAndPlay(2);
}
if (_root.end_game == "yes") {
_root.lbl_score = _root.lbl_score + (50 * int(_root.lbl_multi));
} else {
_root.lbl_score = _root.lbl_score + (10 * int(_root.lbl_multi));
}
if (_root.pacmen_cnt > 0) {
_root.pacmen_cnt--;
}
if (_root.expl_cnt > 5) {
_root.expl_cnt = 0;
}
_root.expl_cnt++;
_root.expl.duplicateMovieClip("expl" + _root.expl_cnt, _root.expl_cnt);
_root["expl" + _root.expl_cnt]._x = _x;
_root["expl" + _root.expl_cnt]._y = _y;
_root.ball.ysp = 13;
_root.ball.act = "jump";
xsp = 0;
if (this._currentframe == 1) {
_root["expl" + _root.expl_cnt].gotoAndStop(2);
this.gotoAndStop(5);
} else if (this._currentframe == 2) {
_root["expl" + _root.expl_cnt].gotoAndStop(3);
this.gotoAndStop(6);
} else if (this._currentframe == 3) {
_root["expl" + _root.expl_cnt].gotoAndStop(4);
this.gotoAndStop(7);
} else if (this._currentframe == 4) {
_root["expl" + _root.expl_cnt].gotoAndStop(5);
this.gotoAndStop(8);
}
}
}
Instance of Symbol 147 MovieClip "pac2" in Frame 21
onClipEvent (load) {
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
onClipEvent (enterFrame) {
_x = (_x + xsp);
if (_x > 480) {
_x = 80;
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
if (this.hit.hitTest(_root.hit) && (_root.ball.act == "fall")) {
if (_root.p1._currentframe == 1) {
if (this._currentframe == 1) {
_root.p1.gotoAndStop(2);
} else if (this._currentframe == 2) {
_root.p1.gotoAndStop(3);
} else if (this._currentframe == 3) {
_root.p1.gotoAndStop(4);
} else if (this._currentframe == 4) {
_root.p1.gotoAndStop(5);
}
} else if (_root.p2._currentframe == 1) {
if (this._currentframe == (_root.p1._currentframe - 1)) {
_root.p2.gotoAndStop(_root.p1._currentframe);
} else {
_root.p2.gotoAndStop(1);
_root.p1.gotoAndStop(this._currentframe + 1);
}
} else if (_root.p3._currentframe == 1) {
if (this._currentframe == (_root.p2._currentframe - 1)) {
_root.p3.gotoAndStop(_root.p2._currentframe);
} else {
_root.p1.gotoAndStop(this._currentframe + 1);
_root.p3.gotoAndStop(1);
_root.p2.gotoAndStop(1);
}
}
_root.max_pacmen++;
if (_root.max_combo < int(_root.lbl_multi)) {
_root.max_combo = _root.lbl_multi;
if (int(_root.max_combo >= 19)) {
_root.cr1.nextFrame();
_root.co_cra1 = "yes";
}
if (int(_root.max_combo >= 49)) {
_root.cr2.nextFrame();
_root.co_cra2 = "yes";
}
if (int(_root.max_combo >= 79)) {
_root.cr3.nextFrame();
_root.co_cra3 = "yes";
}
}
if (_root.max_pacmen >= 100) {
_root.pk1.nextFrame();
_root.killer1 = "yes";
}
if (_root.max_pacmen >= 300) {
_root.pk2.nextFrame();
_root.killer2 = "yes";
}
if (_root.max_pacmen >= 600) {
_root.pk3.nextFrame();
_root.killer3 = "yes";
}
_root.lbl_multi++;
if (int(_root.lbl_multi > 1)) {
_root.mc_mul.mcnt.ml = "x" + _root.lbl_multi;
_root.mc_mul._x = _root.ball._x + 15;
_root.mc_mul._y = _root.ball._y - 15;
_root.mc_mul.gotoAndPlay(2);
}
if (_root.end_game == "yes") {
_root.lbl_score = _root.lbl_score + (50 * int(_root.lbl_multi));
} else {
_root.lbl_score = _root.lbl_score + (10 * int(_root.lbl_multi));
}
if (_root.pacmen_cnt > 0) {
_root.pacmen_cnt--;
}
if (_root.expl_cnt > 5) {
_root.expl_cnt = 0;
}
_root.expl_cnt++;
_root.expl.duplicateMovieClip("expl" + _root.expl_cnt, _root.expl_cnt);
_root["expl" + _root.expl_cnt]._x = _x;
_root["expl" + _root.expl_cnt]._y = _y;
_root.ball.ysp = 13;
_root.ball.act = "jump";
xsp = 0;
if (this._currentframe == 1) {
_root["expl" + _root.expl_cnt].gotoAndStop(2);
this.gotoAndStop(5);
} else if (this._currentframe == 2) {
_root["expl" + _root.expl_cnt].gotoAndStop(3);
this.gotoAndStop(6);
} else if (this._currentframe == 3) {
_root["expl" + _root.expl_cnt].gotoAndStop(4);
this.gotoAndStop(7);
} else if (this._currentframe == 4) {
_root["expl" + _root.expl_cnt].gotoAndStop(5);
this.gotoAndStop(8);
}
}
}
Instance of Symbol 147 MovieClip "pac4" in Frame 21
onClipEvent (load) {
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
onClipEvent (enterFrame) {
_x = (_x + xsp);
if (_x > 480) {
_x = 80;
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
if (this.hit.hitTest(_root.hit) && (_root.ball.act == "fall")) {
if (_root.p1._currentframe == 1) {
if (this._currentframe == 1) {
_root.p1.gotoAndStop(2);
} else if (this._currentframe == 2) {
_root.p1.gotoAndStop(3);
} else if (this._currentframe == 3) {
_root.p1.gotoAndStop(4);
} else if (this._currentframe == 4) {
_root.p1.gotoAndStop(5);
}
} else if (_root.p2._currentframe == 1) {
if (this._currentframe == (_root.p1._currentframe - 1)) {
_root.p2.gotoAndStop(_root.p1._currentframe);
} else {
_root.p2.gotoAndStop(1);
_root.p1.gotoAndStop(this._currentframe + 1);
}
} else if (_root.p3._currentframe == 1) {
if (this._currentframe == (_root.p2._currentframe - 1)) {
_root.p3.gotoAndStop(_root.p2._currentframe);
} else {
_root.p1.gotoAndStop(this._currentframe + 1);
_root.p3.gotoAndStop(1);
_root.p2.gotoAndStop(1);
}
}
_root.max_pacmen++;
if (_root.max_combo < int(_root.lbl_multi)) {
_root.max_combo = _root.lbl_multi;
if (int(_root.max_combo >= 19)) {
_root.cr1.nextFrame();
_root.co_cra1 = "yes";
}
if (int(_root.max_combo >= 49)) {
_root.cr2.nextFrame();
_root.co_cra2 = "yes";
}
if (int(_root.max_combo >= 79)) {
_root.cr3.nextFrame();
_root.co_cra3 = "yes";
}
}
if (_root.max_pacmen >= 100) {
_root.pk1.nextFrame();
_root.killer1 = "yes";
}
if (_root.max_pacmen >= 300) {
_root.pk2.nextFrame();
_root.killer2 = "yes";
}
if (_root.max_pacmen >= 600) {
_root.pk3.nextFrame();
_root.killer3 = "yes";
}
_root.lbl_multi++;
if (int(_root.lbl_multi > 1)) {
_root.mc_mul.mcnt.ml = "x" + _root.lbl_multi;
_root.mc_mul._x = _root.ball._x + 15;
_root.mc_mul._y = _root.ball._y - 15;
_root.mc_mul.gotoAndPlay(2);
}
if (_root.end_game == "yes") {
_root.lbl_score = _root.lbl_score + (50 * int(_root.lbl_multi));
} else {
_root.lbl_score = _root.lbl_score + (10 * int(_root.lbl_multi));
}
if (_root.pacmen_cnt > 0) {
_root.pacmen_cnt--;
}
if (_root.expl_cnt > 5) {
_root.expl_cnt = 0;
}
_root.expl_cnt++;
_root.expl.duplicateMovieClip("expl" + _root.expl_cnt, _root.expl_cnt);
_root["expl" + _root.expl_cnt]._x = _x;
_root["expl" + _root.expl_cnt]._y = _y;
_root.ball.ysp = 13;
_root.ball.act = "jump";
xsp = 0;
if (this._currentframe == 1) {
_root["expl" + _root.expl_cnt].gotoAndStop(2);
this.gotoAndStop(5);
} else if (this._currentframe == 2) {
_root["expl" + _root.expl_cnt].gotoAndStop(3);
this.gotoAndStop(6);
} else if (this._currentframe == 3) {
_root["expl" + _root.expl_cnt].gotoAndStop(4);
this.gotoAndStop(7);
} else if (this._currentframe == 4) {
_root["expl" + _root.expl_cnt].gotoAndStop(5);
this.gotoAndStop(8);
}
}
}
Instance of Symbol 147 MovieClip "pac6" in Frame 21
onClipEvent (load) {
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
onClipEvent (enterFrame) {
_x = (_x + xsp);
if (_x > 480) {
_x = 80;
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
if (this.hit.hitTest(_root.hit) && (_root.ball.act == "fall")) {
if (_root.p1._currentframe == 1) {
if (this._currentframe == 1) {
_root.p1.gotoAndStop(2);
} else if (this._currentframe == 2) {
_root.p1.gotoAndStop(3);
} else if (this._currentframe == 3) {
_root.p1.gotoAndStop(4);
} else if (this._currentframe == 4) {
_root.p1.gotoAndStop(5);
}
} else if (_root.p2._currentframe == 1) {
if (this._currentframe == (_root.p1._currentframe - 1)) {
_root.p2.gotoAndStop(_root.p1._currentframe);
} else {
_root.p2.gotoAndStop(1);
_root.p1.gotoAndStop(this._currentframe + 1);
}
} else if (_root.p3._currentframe == 1) {
if (this._currentframe == (_root.p2._currentframe - 1)) {
_root.p3.gotoAndStop(_root.p2._currentframe);
} else {
_root.p1.gotoAndStop(this._currentframe + 1);
_root.p3.gotoAndStop(1);
_root.p2.gotoAndStop(1);
}
}
_root.max_pacmen++;
if (_root.max_combo < int(_root.lbl_multi)) {
_root.max_combo = _root.lbl_multi;
if (int(_root.max_combo >= 19)) {
_root.cr1.nextFrame();
_root.co_cra1 = "yes";
}
if (int(_root.max_combo >= 49)) {
_root.cr2.nextFrame();
_root.co_cra2 = "yes";
}
if (int(_root.max_combo >= 79)) {
_root.cr3.nextFrame();
_root.co_cra3 = "yes";
}
}
if (_root.max_pacmen >= 100) {
_root.pk1.nextFrame();
_root.killer1 = "yes";
}
if (_root.max_pacmen >= 300) {
_root.pk2.nextFrame();
_root.killer2 = "yes";
}
if (_root.max_pacmen >= 600) {
_root.pk3.nextFrame();
_root.killer3 = "yes";
}
_root.lbl_multi++;
if (int(_root.lbl_multi > 1)) {
_root.mc_mul.mcnt.ml = "x" + _root.lbl_multi;
_root.mc_mul._x = _root.ball._x + 15;
_root.mc_mul._y = _root.ball._y - 15;
_root.mc_mul.gotoAndPlay(2);
}
if (_root.end_game == "yes") {
_root.lbl_score = _root.lbl_score + (50 * int(_root.lbl_multi));
} else {
_root.lbl_score = _root.lbl_score + (10 * int(_root.lbl_multi));
}
if (_root.pacmen_cnt > 0) {
_root.pacmen_cnt--;
}
if (_root.expl_cnt > 5) {
_root.expl_cnt = 0;
}
_root.expl_cnt++;
_root.expl.duplicateMovieClip("expl" + _root.expl_cnt, _root.expl_cnt);
_root["expl" + _root.expl_cnt]._x = _x;
_root["expl" + _root.expl_cnt]._y = _y;
_root.ball.ysp = 13;
_root.ball.act = "jump";
xsp = 0;
if (this._currentframe == 1) {
_root["expl" + _root.expl_cnt].gotoAndStop(2);
this.gotoAndStop(5);
} else if (this._currentframe == 2) {
_root["expl" + _root.expl_cnt].gotoAndStop(3);
this.gotoAndStop(6);
} else if (this._currentframe == 3) {
_root["expl" + _root.expl_cnt].gotoAndStop(4);
this.gotoAndStop(7);
} else if (this._currentframe == 4) {
_root["expl" + _root.expl_cnt].gotoAndStop(5);
this.gotoAndStop(8);
}
}
}
Instance of Symbol 147 MovieClip "pac9" in Frame 21
onClipEvent (load) {
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
onClipEvent (enterFrame) {
_x = (_x + xsp);
if (_x > 480) {
_x = 80;
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
if (this.hit.hitTest(_root.hit) && (_root.ball.act == "fall")) {
if (_root.p1._currentframe == 1) {
if (this._currentframe == 1) {
_root.p1.gotoAndStop(2);
} else if (this._currentframe == 2) {
_root.p1.gotoAndStop(3);
} else if (this._currentframe == 3) {
_root.p1.gotoAndStop(4);
} else if (this._currentframe == 4) {
_root.p1.gotoAndStop(5);
}
} else if (_root.p2._currentframe == 1) {
if (this._currentframe == (_root.p1._currentframe - 1)) {
_root.p2.gotoAndStop(_root.p1._currentframe);
} else {
_root.p2.gotoAndStop(1);
_root.p1.gotoAndStop(this._currentframe + 1);
}
} else if (_root.p3._currentframe == 1) {
if (this._currentframe == (_root.p2._currentframe - 1)) {
_root.p3.gotoAndStop(_root.p2._currentframe);
} else {
_root.p1.gotoAndStop(this._currentframe + 1);
_root.p3.gotoAndStop(1);
_root.p2.gotoAndStop(1);
}
}
_root.max_pacmen++;
if (_root.max_combo < int(_root.lbl_multi)) {
_root.max_combo = _root.lbl_multi;
if (int(_root.max_combo >= 19)) {
_root.cr1.nextFrame();
_root.co_cra1 = "yes";
}
if (int(_root.max_combo >= 49)) {
_root.cr2.nextFrame();
_root.co_cra2 = "yes";
}
if (int(_root.max_combo >= 79)) {
_root.cr3.nextFrame();
_root.co_cra3 = "yes";
}
}
if (_root.max_pacmen >= 100) {
_root.pk1.nextFrame();
_root.killer1 = "yes";
}
if (_root.max_pacmen >= 300) {
_root.pk2.nextFrame();
_root.killer2 = "yes";
}
if (_root.max_pacmen >= 600) {
_root.pk3.nextFrame();
_root.killer3 = "yes";
}
_root.lbl_multi++;
if (int(_root.lbl_multi > 1)) {
_root.mc_mul.mcnt.ml = "x" + _root.lbl_multi;
_root.mc_mul._x = _root.ball._x + 15;
_root.mc_mul._y = _root.ball._y - 15;
_root.mc_mul.gotoAndPlay(2);
}
if (_root.end_game == "yes") {
_root.lbl_score = _root.lbl_score + (50 * int(_root.lbl_multi));
} else {
_root.lbl_score = _root.lbl_score + (10 * int(_root.lbl_multi));
}
if (_root.pacmen_cnt > 0) {
_root.pacmen_cnt--;
}
if (_root.expl_cnt > 5) {
_root.expl_cnt = 0;
}
_root.expl_cnt++;
_root.expl.duplicateMovieClip("expl" + _root.expl_cnt, _root.expl_cnt);
_root["expl" + _root.expl_cnt]._x = _x;
_root["expl" + _root.expl_cnt]._y = _y;
_root.ball.ysp = 13;
_root.ball.act = "jump";
xsp = 0;
if (this._currentframe == 1) {
_root["expl" + _root.expl_cnt].gotoAndStop(2);
this.gotoAndStop(5);
} else if (this._currentframe == 2) {
_root["expl" + _root.expl_cnt].gotoAndStop(3);
this.gotoAndStop(6);
} else if (this._currentframe == 3) {
_root["expl" + _root.expl_cnt].gotoAndStop(4);
this.gotoAndStop(7);
} else if (this._currentframe == 4) {
_root["expl" + _root.expl_cnt].gotoAndStop(5);
this.gotoAndStop(8);
}
}
}
Instance of Symbol 147 MovieClip "pac12" in Frame 21
onClipEvent (load) {
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
onClipEvent (enterFrame) {
_x = (_x + xsp);
if (_x > 480) {
_x = 80;
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
if (this.hit.hitTest(_root.hit) && (_root.ball.act == "fall")) {
if (_root.p1._currentframe == 1) {
if (this._currentframe == 1) {
_root.p1.gotoAndStop(2);
} else if (this._currentframe == 2) {
_root.p1.gotoAndStop(3);
} else if (this._currentframe == 3) {
_root.p1.gotoAndStop(4);
} else if (this._currentframe == 4) {
_root.p1.gotoAndStop(5);
}
} else if (_root.p2._currentframe == 1) {
if (this._currentframe == (_root.p1._currentframe - 1)) {
_root.p2.gotoAndStop(_root.p1._currentframe);
} else {
_root.p2.gotoAndStop(1);
_root.p1.gotoAndStop(this._currentframe + 1);
}
} else if (_root.p3._currentframe == 1) {
if (this._currentframe == (_root.p2._currentframe - 1)) {
_root.p3.gotoAndStop(_root.p2._currentframe);
} else {
_root.p1.gotoAndStop(this._currentframe + 1);
_root.p3.gotoAndStop(1);
_root.p2.gotoAndStop(1);
}
}
_root.max_pacmen++;
if (_root.max_combo < int(_root.lbl_multi)) {
_root.max_combo = _root.lbl_multi;
if (int(_root.max_combo >= 19)) {
_root.cr1.nextFrame();
_root.co_cra1 = "yes";
}
if (int(_root.max_combo >= 49)) {
_root.cr2.nextFrame();
_root.co_cra2 = "yes";
}
if (int(_root.max_combo >= 79)) {
_root.cr3.nextFrame();
_root.co_cra3 = "yes";
}
}
if (_root.max_pacmen >= 100) {
_root.pk1.nextFrame();
_root.killer1 = "yes";
}
if (_root.max_pacmen >= 300) {
_root.pk2.nextFrame();
_root.killer2 = "yes";
}
if (_root.max_pacmen >= 600) {
_root.pk3.nextFrame();
_root.killer3 = "yes";
}
_root.lbl_multi++;
if (int(_root.lbl_multi > 1)) {
_root.mc_mul.mcnt.ml = "x" + _root.lbl_multi;
_root.mc_mul._x = _root.ball._x + 15;
_root.mc_mul._y = _root.ball._y - 15;
_root.mc_mul.gotoAndPlay(2);
}
if (_root.end_game == "yes") {
_root.lbl_score = _root.lbl_score + (50 * int(_root.lbl_multi));
} else {
_root.lbl_score = _root.lbl_score + (10 * int(_root.lbl_multi));
}
if (_root.pacmen_cnt > 0) {
_root.pacmen_cnt--;
}
if (_root.expl_cnt > 5) {
_root.expl_cnt = 0;
}
_root.expl_cnt++;
_root.expl.duplicateMovieClip("expl" + _root.expl_cnt, _root.expl_cnt);
_root["expl" + _root.expl_cnt]._x = _x;
_root["expl" + _root.expl_cnt]._y = _y;
_root.ball.ysp = 13;
_root.ball.act = "jump";
xsp = 0;
if (this._currentframe == 1) {
_root["expl" + _root.expl_cnt].gotoAndStop(2);
this.gotoAndStop(5);
} else if (this._currentframe == 2) {
_root["expl" + _root.expl_cnt].gotoAndStop(3);
this.gotoAndStop(6);
} else if (this._currentframe == 3) {
_root["expl" + _root.expl_cnt].gotoAndStop(4);
this.gotoAndStop(7);
} else if (this._currentframe == 4) {
_root["expl" + _root.expl_cnt].gotoAndStop(5);
this.gotoAndStop(8);
}
}
}
Instance of Symbol 147 MovieClip "pac13" in Frame 21
onClipEvent (load) {
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
onClipEvent (enterFrame) {
_x = (_x + xsp);
if (_x > 480) {
_x = 80;
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
if (this.hit.hitTest(_root.hit) && (_root.ball.act == "fall")) {
if (_root.p1._currentframe == 1) {
if (this._currentframe == 1) {
_root.p1.gotoAndStop(2);
} else if (this._currentframe == 2) {
_root.p1.gotoAndStop(3);
} else if (this._currentframe == 3) {
_root.p1.gotoAndStop(4);
} else if (this._currentframe == 4) {
_root.p1.gotoAndStop(5);
}
} else if (_root.p2._currentframe == 1) {
if (this._currentframe == (_root.p1._currentframe - 1)) {
_root.p2.gotoAndStop(_root.p1._currentframe);
} else {
_root.p2.gotoAndStop(1);
_root.p1.gotoAndStop(this._currentframe + 1);
}
} else if (_root.p3._currentframe == 1) {
if (this._currentframe == (_root.p2._currentframe - 1)) {
_root.p3.gotoAndStop(_root.p2._currentframe);
} else {
_root.p1.gotoAndStop(this._currentframe + 1);
_root.p3.gotoAndStop(1);
_root.p2.gotoAndStop(1);
}
}
_root.max_pacmen++;
if (_root.max_combo < int(_root.lbl_multi)) {
_root.max_combo = _root.lbl_multi;
if (int(_root.max_combo >= 19)) {
_root.cr1.nextFrame();
_root.co_cra1 = "yes";
}
if (int(_root.max_combo >= 49)) {
_root.cr2.nextFrame();
_root.co_cra2 = "yes";
}
if (int(_root.max_combo >= 79)) {
_root.cr3.nextFrame();
_root.co_cra3 = "yes";
}
}
if (_root.max_pacmen >= 100) {
_root.pk1.nextFrame();
_root.killer1 = "yes";
}
if (_root.max_pacmen >= 300) {
_root.pk2.nextFrame();
_root.killer2 = "yes";
}
if (_root.max_pacmen >= 600) {
_root.pk3.nextFrame();
_root.killer3 = "yes";
}
_root.lbl_multi++;
if (int(_root.lbl_multi > 1)) {
_root.mc_mul.mcnt.ml = "x" + _root.lbl_multi;
_root.mc_mul._x = _root.ball._x + 15;
_root.mc_mul._y = _root.ball._y - 15;
_root.mc_mul.gotoAndPlay(2);
}
if (_root.end_game == "yes") {
_root.lbl_score = _root.lbl_score + (50 * int(_root.lbl_multi));
} else {
_root.lbl_score = _root.lbl_score + (10 * int(_root.lbl_multi));
}
if (_root.pacmen_cnt > 0) {
_root.pacmen_cnt--;
}
if (_root.expl_cnt > 5) {
_root.expl_cnt = 0;
}
_root.expl_cnt++;
_root.expl.duplicateMovieClip("expl" + _root.expl_cnt, _root.expl_cnt);
_root["expl" + _root.expl_cnt]._x = _x;
_root["expl" + _root.expl_cnt]._y = _y;
_root.ball.ysp = 13;
_root.ball.act = "jump";
xsp = 0;
if (this._currentframe == 1) {
_root["expl" + _root.expl_cnt].gotoAndStop(2);
this.gotoAndStop(5);
} else if (this._currentframe == 2) {
_root["expl" + _root.expl_cnt].gotoAndStop(3);
this.gotoAndStop(6);
} else if (this._currentframe == 3) {
_root["expl" + _root.expl_cnt].gotoAndStop(4);
this.gotoAndStop(7);
} else if (this._currentframe == 4) {
_root["expl" + _root.expl_cnt].gotoAndStop(5);
this.gotoAndStop(8);
}
}
}
Instance of Symbol 147 MovieClip "pac15" in Frame 21
onClipEvent (load) {
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
onClipEvent (enterFrame) {
_x = (_x + xsp);
if (_x > 480) {
_x = 80;
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
if (this.hit.hitTest(_root.hit) && (_root.ball.act == "fall")) {
if (_root.p1._currentframe == 1) {
if (this._currentframe == 1) {
_root.p1.gotoAndStop(2);
} else if (this._currentframe == 2) {
_root.p1.gotoAndStop(3);
} else if (this._currentframe == 3) {
_root.p1.gotoAndStop(4);
} else if (this._currentframe == 4) {
_root.p1.gotoAndStop(5);
}
} else if (_root.p2._currentframe == 1) {
if (this._currentframe == (_root.p1._currentframe - 1)) {
_root.p2.gotoAndStop(_root.p1._currentframe);
} else {
_root.p2.gotoAndStop(1);
_root.p1.gotoAndStop(this._currentframe + 1);
}
} else if (_root.p3._currentframe == 1) {
if (this._currentframe == (_root.p2._currentframe - 1)) {
_root.p3.gotoAndStop(_root.p2._currentframe);
} else {
_root.p1.gotoAndStop(this._currentframe + 1);
_root.p3.gotoAndStop(1);
_root.p2.gotoAndStop(1);
}
}
_root.max_pacmen++;
if (_root.max_combo < int(_root.lbl_multi)) {
_root.max_combo = _root.lbl_multi;
if (int(_root.max_combo >= 19)) {
_root.cr1.nextFrame();
_root.co_cra1 = "yes";
}
if (int(_root.max_combo >= 49)) {
_root.cr2.nextFrame();
_root.co_cra2 = "yes";
}
if (int(_root.max_combo >= 79)) {
_root.cr3.nextFrame();
_root.co_cra3 = "yes";
}
}
if (_root.max_pacmen >= 100) {
_root.pk1.nextFrame();
_root.killer1 = "yes";
}
if (_root.max_pacmen >= 300) {
_root.pk2.nextFrame();
_root.killer2 = "yes";
}
if (_root.max_pacmen >= 600) {
_root.pk3.nextFrame();
_root.killer3 = "yes";
}
_root.lbl_multi++;
if (int(_root.lbl_multi > 1)) {
_root.mc_mul.mcnt.ml = "x" + _root.lbl_multi;
_root.mc_mul._x = _root.ball._x + 15;
_root.mc_mul._y = _root.ball._y - 15;
_root.mc_mul.gotoAndPlay(2);
}
if (_root.end_game == "yes") {
_root.lbl_score = _root.lbl_score + (50 * int(_root.lbl_multi));
} else {
_root.lbl_score = _root.lbl_score + (10 * int(_root.lbl_multi));
}
if (_root.pacmen_cnt > 0) {
_root.pacmen_cnt--;
}
if (_root.expl_cnt > 5) {
_root.expl_cnt = 0;
}
_root.expl_cnt++;
_root.expl.duplicateMovieClip("expl" + _root.expl_cnt, _root.expl_cnt);
_root["expl" + _root.expl_cnt]._x = _x;
_root["expl" + _root.expl_cnt]._y = _y;
_root.ball.ysp = 13;
_root.ball.act = "jump";
xsp = 0;
if (this._currentframe == 1) {
_root["expl" + _root.expl_cnt].gotoAndStop(2);
this.gotoAndStop(5);
} else if (this._currentframe == 2) {
_root["expl" + _root.expl_cnt].gotoAndStop(3);
this.gotoAndStop(6);
} else if (this._currentframe == 3) {
_root["expl" + _root.expl_cnt].gotoAndStop(4);
this.gotoAndStop(7);
} else if (this._currentframe == 4) {
_root["expl" + _root.expl_cnt].gotoAndStop(5);
this.gotoAndStop(8);
}
}
}
Instance of Symbol 147 MovieClip "pac14" in Frame 21
onClipEvent (load) {
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
onClipEvent (enterFrame) {
_x = (_x + xsp);
if (_x > 480) {
_x = 80;
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
if (this.hit.hitTest(_root.hit) && (_root.ball.act == "fall")) {
if (_root.p1._currentframe == 1) {
if (this._currentframe == 1) {
_root.p1.gotoAndStop(2);
} else if (this._currentframe == 2) {
_root.p1.gotoAndStop(3);
} else if (this._currentframe == 3) {
_root.p1.gotoAndStop(4);
} else if (this._currentframe == 4) {
_root.p1.gotoAndStop(5);
}
} else if (_root.p2._currentframe == 1) {
if (this._currentframe == (_root.p1._currentframe - 1)) {
_root.p2.gotoAndStop(_root.p1._currentframe);
} else {
_root.p2.gotoAndStop(1);
_root.p1.gotoAndStop(this._currentframe + 1);
}
} else if (_root.p3._currentframe == 1) {
if (this._currentframe == (_root.p2._currentframe - 1)) {
_root.p3.gotoAndStop(_root.p2._currentframe);
} else {
_root.p1.gotoAndStop(this._currentframe + 1);
_root.p3.gotoAndStop(1);
_root.p2.gotoAndStop(1);
}
}
_root.max_pacmen++;
if (_root.max_combo < int(_root.lbl_multi)) {
_root.max_combo = _root.lbl_multi;
if (int(_root.max_combo >= 19)) {
_root.cr1.nextFrame();
_root.co_cra1 = "yes";
}
if (int(_root.max_combo >= 49)) {
_root.cr2.nextFrame();
_root.co_cra2 = "yes";
}
if (int(_root.max_combo >= 79)) {
_root.cr3.nextFrame();
_root.co_cra3 = "yes";
}
}
if (_root.max_pacmen >= 100) {
_root.pk1.nextFrame();
_root.killer1 = "yes";
}
if (_root.max_pacmen >= 300) {
_root.pk2.nextFrame();
_root.killer2 = "yes";
}
if (_root.max_pacmen >= 600) {
_root.pk3.nextFrame();
_root.killer3 = "yes";
}
_root.lbl_multi++;
if (int(_root.lbl_multi > 1)) {
_root.mc_mul.mcnt.ml = "x" + _root.lbl_multi;
_root.mc_mul._x = _root.ball._x + 15;
_root.mc_mul._y = _root.ball._y - 15;
_root.mc_mul.gotoAndPlay(2);
}
if (_root.end_game == "yes") {
_root.lbl_score = _root.lbl_score + (50 * int(_root.lbl_multi));
} else {
_root.lbl_score = _root.lbl_score + (10 * int(_root.lbl_multi));
}
if (_root.pacmen_cnt > 0) {
_root.pacmen_cnt--;
}
if (_root.expl_cnt > 5) {
_root.expl_cnt = 0;
}
_root.expl_cnt++;
_root.expl.duplicateMovieClip("expl" + _root.expl_cnt, _root.expl_cnt);
_root["expl" + _root.expl_cnt]._x = _x;
_root["expl" + _root.expl_cnt]._y = _y;
_root.ball.ysp = 13;
_root.ball.act = "jump";
xsp = 0;
if (this._currentframe == 1) {
_root["expl" + _root.expl_cnt].gotoAndStop(2);
this.gotoAndStop(5);
} else if (this._currentframe == 2) {
_root["expl" + _root.expl_cnt].gotoAndStop(3);
this.gotoAndStop(6);
} else if (this._currentframe == 3) {
_root["expl" + _root.expl_cnt].gotoAndStop(4);
this.gotoAndStop(7);
} else if (this._currentframe == 4) {
_root["expl" + _root.expl_cnt].gotoAndStop(5);
this.gotoAndStop(8);
}
}
}
Instance of Symbol 147 MovieClip "pac16" in Frame 21
onClipEvent (load) {
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
onClipEvent (enterFrame) {
_x = (_x + xsp);
if (_x > 480) {
_x = 80;
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
if (this.hit.hitTest(_root.hit) && (_root.ball.act == "fall")) {
if (_root.p1._currentframe == 1) {
if (this._currentframe == 1) {
_root.p1.gotoAndStop(2);
} else if (this._currentframe == 2) {
_root.p1.gotoAndStop(3);
} else if (this._currentframe == 3) {
_root.p1.gotoAndStop(4);
} else if (this._currentframe == 4) {
_root.p1.gotoAndStop(5);
}
} else if (_root.p2._currentframe == 1) {
if (this._currentframe == (_root.p1._currentframe - 1)) {
_root.p2.gotoAndStop(_root.p1._currentframe);
} else {
_root.p2.gotoAndStop(1);
_root.p1.gotoAndStop(this._currentframe + 1);
}
} else if (_root.p3._currentframe == 1) {
if (this._currentframe == (_root.p2._currentframe - 1)) {
_root.p3.gotoAndStop(_root.p2._currentframe);
} else {
_root.p1.gotoAndStop(this._currentframe + 1);
_root.p3.gotoAndStop(1);
_root.p2.gotoAndStop(1);
}
}
_root.max_pacmen++;
if (_root.max_combo < int(_root.lbl_multi)) {
_root.max_combo = _root.lbl_multi;
if (int(_root.max_combo >= 19)) {
_root.cr1.nextFrame();
_root.co_cra1 = "yes";
}
if (int(_root.max_combo >= 49)) {
_root.cr2.nextFrame();
_root.co_cra2 = "yes";
}
if (int(_root.max_combo >= 79)) {
_root.cr3.nextFrame();
_root.co_cra3 = "yes";
}
}
if (_root.max_pacmen >= 100) {
_root.pk1.nextFrame();
_root.killer1 = "yes";
}
if (_root.max_pacmen >= 300) {
_root.pk2.nextFrame();
_root.killer2 = "yes";
}
if (_root.max_pacmen >= 600) {
_root.pk3.nextFrame();
_root.killer3 = "yes";
}
_root.lbl_multi++;
if (int(_root.lbl_multi > 1)) {
_root.mc_mul.mcnt.ml = "x" + _root.lbl_multi;
_root.mc_mul._x = _root.ball._x + 15;
_root.mc_mul._y = _root.ball._y - 15;
_root.mc_mul.gotoAndPlay(2);
}
if (_root.end_game == "yes") {
_root.lbl_score = _root.lbl_score + (50 * int(_root.lbl_multi));
} else {
_root.lbl_score = _root.lbl_score + (10 * int(_root.lbl_multi));
}
if (_root.pacmen_cnt > 0) {
_root.pacmen_cnt--;
}
if (_root.expl_cnt > 5) {
_root.expl_cnt = 0;
}
_root.expl_cnt++;
_root.expl.duplicateMovieClip("expl" + _root.expl_cnt, _root.expl_cnt);
_root["expl" + _root.expl_cnt]._x = _x;
_root["expl" + _root.expl_cnt]._y = _y;
_root.ball.ysp = 13;
_root.ball.act = "jump";
xsp = 0;
if (this._currentframe == 1) {
_root["expl" + _root.expl_cnt].gotoAndStop(2);
this.gotoAndStop(5);
} else if (this._currentframe == 2) {
_root["expl" + _root.expl_cnt].gotoAndStop(3);
this.gotoAndStop(6);
} else if (this._currentframe == 3) {
_root["expl" + _root.expl_cnt].gotoAndStop(4);
this.gotoAndStop(7);
} else if (this._currentframe == 4) {
_root["expl" + _root.expl_cnt].gotoAndStop(5);
this.gotoAndStop(8);
}
}
}
Instance of Symbol 147 MovieClip "pac10" in Frame 21
onClipEvent (load) {
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
onClipEvent (enterFrame) {
_x = (_x + xsp);
if (_x > 480) {
_x = 80;
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
if (this.hit.hitTest(_root.hit) && (_root.ball.act == "fall")) {
if (_root.p1._currentframe == 1) {
if (this._currentframe == 1) {
_root.p1.gotoAndStop(2);
} else if (this._currentframe == 2) {
_root.p1.gotoAndStop(3);
} else if (this._currentframe == 3) {
_root.p1.gotoAndStop(4);
} else if (this._currentframe == 4) {
_root.p1.gotoAndStop(5);
}
} else if (_root.p2._currentframe == 1) {
if (this._currentframe == (_root.p1._currentframe - 1)) {
_root.p2.gotoAndStop(_root.p1._currentframe);
} else {
_root.p2.gotoAndStop(1);
_root.p1.gotoAndStop(this._currentframe + 1);
}
} else if (_root.p3._currentframe == 1) {
if (this._currentframe == (_root.p2._currentframe - 1)) {
_root.p3.gotoAndStop(_root.p2._currentframe);
} else {
_root.p1.gotoAndStop(this._currentframe + 1);
_root.p3.gotoAndStop(1);
_root.p2.gotoAndStop(1);
}
}
_root.max_pacmen++;
if (_root.max_combo < int(_root.lbl_multi)) {
_root.max_combo = _root.lbl_multi;
if (int(_root.max_combo >= 19)) {
_root.cr1.nextFrame();
_root.co_cra1 = "yes";
}
if (int(_root.max_combo >= 49)) {
_root.cr2.nextFrame();
_root.co_cra2 = "yes";
}
if (int(_root.max_combo >= 79)) {
_root.cr3.nextFrame();
_root.co_cra3 = "yes";
}
}
if (_root.max_pacmen >= 100) {
_root.pk1.nextFrame();
_root.killer1 = "yes";
}
if (_root.max_pacmen >= 300) {
_root.pk2.nextFrame();
_root.killer2 = "yes";
}
if (_root.max_pacmen >= 600) {
_root.pk3.nextFrame();
_root.killer3 = "yes";
}
_root.lbl_multi++;
if (int(_root.lbl_multi > 1)) {
_root.mc_mul.mcnt.ml = "x" + _root.lbl_multi;
_root.mc_mul._x = _root.ball._x + 15;
_root.mc_mul._y = _root.ball._y - 15;
_root.mc_mul.gotoAndPlay(2);
}
if (_root.end_game == "yes") {
_root.lbl_score = _root.lbl_score + (50 * int(_root.lbl_multi));
} else {
_root.lbl_score = _root.lbl_score + (10 * int(_root.lbl_multi));
}
if (_root.pacmen_cnt > 0) {
_root.pacmen_cnt--;
}
if (_root.expl_cnt > 5) {
_root.expl_cnt = 0;
}
_root.expl_cnt++;
_root.expl.duplicateMovieClip("expl" + _root.expl_cnt, _root.expl_cnt);
_root["expl" + _root.expl_cnt]._x = _x;
_root["expl" + _root.expl_cnt]._y = _y;
_root.ball.ysp = 13;
_root.ball.act = "jump";
xsp = 0;
if (this._currentframe == 1) {
_root["expl" + _root.expl_cnt].gotoAndStop(2);
this.gotoAndStop(5);
} else if (this._currentframe == 2) {
_root["expl" + _root.expl_cnt].gotoAndStop(3);
this.gotoAndStop(6);
} else if (this._currentframe == 3) {
_root["expl" + _root.expl_cnt].gotoAndStop(4);
this.gotoAndStop(7);
} else if (this._currentframe == 4) {
_root["expl" + _root.expl_cnt].gotoAndStop(5);
this.gotoAndStop(8);
}
}
}
Instance of Symbol 147 MovieClip "pac8" in Frame 21
onClipEvent (load) {
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
onClipEvent (enterFrame) {
_x = (_x + xsp);
if (_x > 480) {
_x = 80;
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
if (this.hit.hitTest(_root.hit) && (_root.ball.act == "fall")) {
if (_root.p1._currentframe == 1) {
if (this._currentframe == 1) {
_root.p1.gotoAndStop(2);
} else if (this._currentframe == 2) {
_root.p1.gotoAndStop(3);
} else if (this._currentframe == 3) {
_root.p1.gotoAndStop(4);
} else if (this._currentframe == 4) {
_root.p1.gotoAndStop(5);
}
} else if (_root.p2._currentframe == 1) {
if (this._currentframe == (_root.p1._currentframe - 1)) {
_root.p2.gotoAndStop(_root.p1._currentframe);
} else {
_root.p2.gotoAndStop(1);
_root.p1.gotoAndStop(this._currentframe + 1);
}
} else if (_root.p3._currentframe == 1) {
if (this._currentframe == (_root.p2._currentframe - 1)) {
_root.p3.gotoAndStop(_root.p2._currentframe);
} else {
_root.p1.gotoAndStop(this._currentframe + 1);
_root.p3.gotoAndStop(1);
_root.p2.gotoAndStop(1);
}
}
_root.max_pacmen++;
if (_root.max_combo < int(_root.lbl_multi)) {
_root.max_combo = _root.lbl_multi;
if (int(_root.max_combo >= 19)) {
_root.cr1.nextFrame();
_root.co_cra1 = "yes";
}
if (int(_root.max_combo >= 49)) {
_root.cr2.nextFrame();
_root.co_cra2 = "yes";
}
if (int(_root.max_combo >= 79)) {
_root.cr3.nextFrame();
_root.co_cra3 = "yes";
}
}
if (_root.max_pacmen >= 100) {
_root.pk1.nextFrame();
_root.killer1 = "yes";
}
if (_root.max_pacmen >= 300) {
_root.pk2.nextFrame();
_root.killer2 = "yes";
}
if (_root.max_pacmen >= 600) {
_root.pk3.nextFrame();
_root.killer3 = "yes";
}
_root.lbl_multi++;
if (int(_root.lbl_multi > 1)) {
_root.mc_mul.mcnt.ml = "x" + _root.lbl_multi;
_root.mc_mul._x = _root.ball._x + 15;
_root.mc_mul._y = _root.ball._y - 15;
_root.mc_mul.gotoAndPlay(2);
}
if (_root.end_game == "yes") {
_root.lbl_score = _root.lbl_score + (50 * int(_root.lbl_multi));
} else {
_root.lbl_score = _root.lbl_score + (10 * int(_root.lbl_multi));
}
if (_root.pacmen_cnt > 0) {
_root.pacmen_cnt--;
}
if (_root.expl_cnt > 5) {
_root.expl_cnt = 0;
}
_root.expl_cnt++;
_root.expl.duplicateMovieClip("expl" + _root.expl_cnt, _root.expl_cnt);
_root["expl" + _root.expl_cnt]._x = _x;
_root["expl" + _root.expl_cnt]._y = _y;
_root.ball.ysp = 13;
_root.ball.act = "jump";
xsp = 0;
if (this._currentframe == 1) {
_root["expl" + _root.expl_cnt].gotoAndStop(2);
this.gotoAndStop(5);
} else if (this._currentframe == 2) {
_root["expl" + _root.expl_cnt].gotoAndStop(3);
this.gotoAndStop(6);
} else if (this._currentframe == 3) {
_root["expl" + _root.expl_cnt].gotoAndStop(4);
this.gotoAndStop(7);
} else if (this._currentframe == 4) {
_root["expl" + _root.expl_cnt].gotoAndStop(5);
this.gotoAndStop(8);
}
}
}
Instance of Symbol 147 MovieClip "pac7" in Frame 21
onClipEvent (load) {
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
onClipEvent (enterFrame) {
_x = (_x + xsp);
if (_x > 480) {
_x = 80;
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
if (this.hit.hitTest(_root.hit) && (_root.ball.act == "fall")) {
if (_root.p1._currentframe == 1) {
if (this._currentframe == 1) {
_root.p1.gotoAndStop(2);
} else if (this._currentframe == 2) {
_root.p1.gotoAndStop(3);
} else if (this._currentframe == 3) {
_root.p1.gotoAndStop(4);
} else if (this._currentframe == 4) {
_root.p1.gotoAndStop(5);
}
} else if (_root.p2._currentframe == 1) {
if (this._currentframe == (_root.p1._currentframe - 1)) {
_root.p2.gotoAndStop(_root.p1._currentframe);
} else {
_root.p2.gotoAndStop(1);
_root.p1.gotoAndStop(this._currentframe + 1);
}
} else if (_root.p3._currentframe == 1) {
if (this._currentframe == (_root.p2._currentframe - 1)) {
_root.p3.gotoAndStop(_root.p2._currentframe);
} else {
_root.p1.gotoAndStop(this._currentframe + 1);
_root.p3.gotoAndStop(1);
_root.p2.gotoAndStop(1);
}
}
_root.max_pacmen++;
if (_root.max_combo < int(_root.lbl_multi)) {
_root.max_combo = _root.lbl_multi;
if (int(_root.max_combo >= 19)) {
_root.cr1.nextFrame();
_root.co_cra1 = "yes";
}
if (int(_root.max_combo >= 49)) {
_root.cr2.nextFrame();
_root.co_cra2 = "yes";
}
if (int(_root.max_combo >= 79)) {
_root.cr3.nextFrame();
_root.co_cra3 = "yes";
}
}
if (_root.max_pacmen >= 100) {
_root.pk1.nextFrame();
_root.killer1 = "yes";
}
if (_root.max_pacmen >= 300) {
_root.pk2.nextFrame();
_root.killer2 = "yes";
}
if (_root.max_pacmen >= 600) {
_root.pk3.nextFrame();
_root.killer3 = "yes";
}
_root.lbl_multi++;
if (int(_root.lbl_multi > 1)) {
_root.mc_mul.mcnt.ml = "x" + _root.lbl_multi;
_root.mc_mul._x = _root.ball._x + 15;
_root.mc_mul._y = _root.ball._y - 15;
_root.mc_mul.gotoAndPlay(2);
}
if (_root.end_game == "yes") {
_root.lbl_score = _root.lbl_score + (50 * int(_root.lbl_multi));
} else {
_root.lbl_score = _root.lbl_score + (10 * int(_root.lbl_multi));
}
if (_root.pacmen_cnt > 0) {
_root.pacmen_cnt--;
}
if (_root.expl_cnt > 5) {
_root.expl_cnt = 0;
}
_root.expl_cnt++;
_root.expl.duplicateMovieClip("expl" + _root.expl_cnt, _root.expl_cnt);
_root["expl" + _root.expl_cnt]._x = _x;
_root["expl" + _root.expl_cnt]._y = _y;
_root.ball.ysp = 13;
_root.ball.act = "jump";
xsp = 0;
if (this._currentframe == 1) {
_root["expl" + _root.expl_cnt].gotoAndStop(2);
this.gotoAndStop(5);
} else if (this._currentframe == 2) {
_root["expl" + _root.expl_cnt].gotoAndStop(3);
this.gotoAndStop(6);
} else if (this._currentframe == 3) {
_root["expl" + _root.expl_cnt].gotoAndStop(4);
this.gotoAndStop(7);
} else if (this._currentframe == 4) {
_root["expl" + _root.expl_cnt].gotoAndStop(5);
this.gotoAndStop(8);
}
}
}
Instance of Symbol 147 MovieClip "pac5" in Frame 21
onClipEvent (load) {
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
onClipEvent (enterFrame) {
_x = (_x + xsp);
if (_x > 480) {
_x = 80;
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
if (this.hit.hitTest(_root.hit) && (_root.ball.act == "fall")) {
if (_root.p1._currentframe == 1) {
if (this._currentframe == 1) {
_root.p1.gotoAndStop(2);
} else if (this._currentframe == 2) {
_root.p1.gotoAndStop(3);
} else if (this._currentframe == 3) {
_root.p1.gotoAndStop(4);
} else if (this._currentframe == 4) {
_root.p1.gotoAndStop(5);
}
} else if (_root.p2._currentframe == 1) {
if (this._currentframe == (_root.p1._currentframe - 1)) {
_root.p2.gotoAndStop(_root.p1._currentframe);
} else {
_root.p2.gotoAndStop(1);
_root.p1.gotoAndStop(this._currentframe + 1);
}
} else if (_root.p3._currentframe == 1) {
if (this._currentframe == (_root.p2._currentframe - 1)) {
_root.p3.gotoAndStop(_root.p2._currentframe);
} else {
_root.p1.gotoAndStop(this._currentframe + 1);
_root.p3.gotoAndStop(1);
_root.p2.gotoAndStop(1);
}
}
_root.max_pacmen++;
if (_root.max_combo < int(_root.lbl_multi)) {
_root.max_combo = _root.lbl_multi;
if (int(_root.max_combo >= 19)) {
_root.cr1.nextFrame();
_root.co_cra1 = "yes";
}
if (int(_root.max_combo >= 49)) {
_root.cr2.nextFrame();
_root.co_cra2 = "yes";
}
if (int(_root.max_combo >= 79)) {
_root.cr3.nextFrame();
_root.co_cra3 = "yes";
}
}
if (_root.max_pacmen >= 100) {
_root.pk1.nextFrame();
_root.killer1 = "yes";
}
if (_root.max_pacmen >= 300) {
_root.pk2.nextFrame();
_root.killer2 = "yes";
}
if (_root.max_pacmen >= 600) {
_root.pk3.nextFrame();
_root.killer3 = "yes";
}
_root.lbl_multi++;
if (int(_root.lbl_multi > 1)) {
_root.mc_mul.mcnt.ml = "x" + _root.lbl_multi;
_root.mc_mul._x = _root.ball._x + 15;
_root.mc_mul._y = _root.ball._y - 15;
_root.mc_mul.gotoAndPlay(2);
}
if (_root.end_game == "yes") {
_root.lbl_score = _root.lbl_score + (50 * int(_root.lbl_multi));
} else {
_root.lbl_score = _root.lbl_score + (10 * int(_root.lbl_multi));
}
if (_root.pacmen_cnt > 0) {
_root.pacmen_cnt--;
}
if (_root.expl_cnt > 5) {
_root.expl_cnt = 0;
}
_root.expl_cnt++;
_root.expl.duplicateMovieClip("expl" + _root.expl_cnt, _root.expl_cnt);
_root["expl" + _root.expl_cnt]._x = _x;
_root["expl" + _root.expl_cnt]._y = _y;
_root.ball.ysp = 13;
_root.ball.act = "jump";
xsp = 0;
if (this._currentframe == 1) {
_root["expl" + _root.expl_cnt].gotoAndStop(2);
this.gotoAndStop(5);
} else if (this._currentframe == 2) {
_root["expl" + _root.expl_cnt].gotoAndStop(3);
this.gotoAndStop(6);
} else if (this._currentframe == 3) {
_root["expl" + _root.expl_cnt].gotoAndStop(4);
this.gotoAndStop(7);
} else if (this._currentframe == 4) {
_root["expl" + _root.expl_cnt].gotoAndStop(5);
this.gotoAndStop(8);
}
}
}
Instance of Symbol 147 MovieClip "pac3" in Frame 21
onClipEvent (load) {
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
onClipEvent (enterFrame) {
_x = (_x + xsp);
if (_x > 480) {
_x = 80;
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
if (this.hit.hitTest(_root.hit) && (_root.ball.act == "fall")) {
if (_root.p1._currentframe == 1) {
if (this._currentframe == 1) {
_root.p1.gotoAndStop(2);
} else if (this._currentframe == 2) {
_root.p1.gotoAndStop(3);
} else if (this._currentframe == 3) {
_root.p1.gotoAndStop(4);
} else if (this._currentframe == 4) {
_root.p1.gotoAndStop(5);
}
} else if (_root.p2._currentframe == 1) {
if (this._currentframe == (_root.p1._currentframe - 1)) {
_root.p2.gotoAndStop(_root.p1._currentframe);
} else {
_root.p2.gotoAndStop(1);
_root.p1.gotoAndStop(this._currentframe + 1);
}
} else if (_root.p3._currentframe == 1) {
if (this._currentframe == (_root.p2._currentframe - 1)) {
_root.p3.gotoAndStop(_root.p2._currentframe);
} else {
_root.p1.gotoAndStop(this._currentframe + 1);
_root.p3.gotoAndStop(1);
_root.p2.gotoAndStop(1);
}
}
_root.max_pacmen++;
if (_root.max_combo < int(_root.lbl_multi)) {
_root.max_combo = _root.lbl_multi;
if (int(_root.max_combo >= 19)) {
_root.cr1.nextFrame();
_root.co_cra1 = "yes";
}
if (int(_root.max_combo >= 49)) {
_root.cr2.nextFrame();
_root.co_cra2 = "yes";
}
if (int(_root.max_combo >= 79)) {
_root.cr3.nextFrame();
_root.co_cra3 = "yes";
}
}
if (_root.max_pacmen >= 100) {
_root.pk1.nextFrame();
_root.killer1 = "yes";
}
if (_root.max_pacmen >= 300) {
_root.pk2.nextFrame();
_root.killer2 = "yes";
}
if (_root.max_pacmen >= 600) {
_root.pk3.nextFrame();
_root.killer3 = "yes";
}
_root.lbl_multi++;
if (int(_root.lbl_multi > 1)) {
_root.mc_mul.mcnt.ml = "x" + _root.lbl_multi;
_root.mc_mul._x = _root.ball._x + 15;
_root.mc_mul._y = _root.ball._y - 15;
_root.mc_mul.gotoAndPlay(2);
}
if (_root.end_game == "yes") {
_root.lbl_score = _root.lbl_score + (50 * int(_root.lbl_multi));
} else {
_root.lbl_score = _root.lbl_score + (10 * int(_root.lbl_multi));
}
if (_root.pacmen_cnt > 0) {
_root.pacmen_cnt--;
}
if (_root.expl_cnt > 5) {
_root.expl_cnt = 0;
}
_root.expl_cnt++;
_root.expl.duplicateMovieClip("expl" + _root.expl_cnt, _root.expl_cnt);
_root["expl" + _root.expl_cnt]._x = _x;
_root["expl" + _root.expl_cnt]._y = _y;
_root.ball.ysp = 13;
_root.ball.act = "jump";
xsp = 0;
if (this._currentframe == 1) {
_root["expl" + _root.expl_cnt].gotoAndStop(2);
this.gotoAndStop(5);
} else if (this._currentframe == 2) {
_root["expl" + _root.expl_cnt].gotoAndStop(3);
this.gotoAndStop(6);
} else if (this._currentframe == 3) {
_root["expl" + _root.expl_cnt].gotoAndStop(4);
this.gotoAndStop(7);
} else if (this._currentframe == 4) {
_root["expl" + _root.expl_cnt].gotoAndStop(5);
this.gotoAndStop(8);
}
}
}
Instance of Symbol 147 MovieClip "pac11" in Frame 21
onClipEvent (load) {
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
onClipEvent (enterFrame) {
_x = (_x + xsp);
if (_x > 480) {
_x = 80;
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
if (this.hit.hitTest(_root.hit) && (_root.ball.act == "fall")) {
if (_root.p1._currentframe == 1) {
if (this._currentframe == 1) {
_root.p1.gotoAndStop(2);
} else if (this._currentframe == 2) {
_root.p1.gotoAndStop(3);
} else if (this._currentframe == 3) {
_root.p1.gotoAndStop(4);
} else if (this._currentframe == 4) {
_root.p1.gotoAndStop(5);
}
} else if (_root.p2._currentframe == 1) {
if (this._currentframe == (_root.p1._currentframe - 1)) {
_root.p2.gotoAndStop(_root.p1._currentframe);
} else {
_root.p2.gotoAndStop(1);
_root.p1.gotoAndStop(this._currentframe + 1);
}
} else if (_root.p3._currentframe == 1) {
if (this._currentframe == (_root.p2._currentframe - 1)) {
_root.p3.gotoAndStop(_root.p2._currentframe);
} else {
_root.p1.gotoAndStop(this._currentframe + 1);
_root.p3.gotoAndStop(1);
_root.p2.gotoAndStop(1);
}
}
_root.max_pacmen++;
if (_root.max_combo < int(_root.lbl_multi)) {
_root.max_combo = _root.lbl_multi;
if (int(_root.max_combo >= 19)) {
_root.cr1.nextFrame();
_root.co_cra1 = "yes";
}
if (int(_root.max_combo >= 49)) {
_root.cr2.nextFrame();
_root.co_cra2 = "yes";
}
if (int(_root.max_combo >= 79)) {
_root.cr3.nextFrame();
_root.co_cra3 = "yes";
}
}
if (_root.max_pacmen >= 100) {
_root.pk1.nextFrame();
_root.killer1 = "yes";
}
if (_root.max_pacmen >= 300) {
_root.pk2.nextFrame();
_root.killer2 = "yes";
}
if (_root.max_pacmen >= 600) {
_root.pk3.nextFrame();
_root.killer3 = "yes";
}
_root.lbl_multi++;
if (int(_root.lbl_multi > 1)) {
_root.mc_mul.mcnt.ml = "x" + _root.lbl_multi;
_root.mc_mul._x = _root.ball._x + 15;
_root.mc_mul._y = _root.ball._y - 15;
_root.mc_mul.gotoAndPlay(2);
}
if (_root.end_game == "yes") {
_root.lbl_score = _root.lbl_score + (50 * int(_root.lbl_multi));
} else {
_root.lbl_score = _root.lbl_score + (10 * int(_root.lbl_multi));
}
if (_root.pacmen_cnt > 0) {
_root.pacmen_cnt--;
}
if (_root.expl_cnt > 5) {
_root.expl_cnt = 0;
}
_root.expl_cnt++;
_root.expl.duplicateMovieClip("expl" + _root.expl_cnt, _root.expl_cnt);
_root["expl" + _root.expl_cnt]._x = _x;
_root["expl" + _root.expl_cnt]._y = _y;
_root.ball.ysp = 13;
_root.ball.act = "jump";
xsp = 0;
if (this._currentframe == 1) {
_root["expl" + _root.expl_cnt].gotoAndStop(2);
this.gotoAndStop(5);
} else if (this._currentframe == 2) {
_root["expl" + _root.expl_cnt].gotoAndStop(3);
this.gotoAndStop(6);
} else if (this._currentframe == 3) {
_root["expl" + _root.expl_cnt].gotoAndStop(4);
this.gotoAndStop(7);
} else if (this._currentframe == 4) {
_root["expl" + _root.expl_cnt].gotoAndStop(5);
this.gotoAndStop(8);
}
}
}
Instance of Symbol 147 MovieClip "pac17" in Frame 21
onClipEvent (load) {
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
onClipEvent (enterFrame) {
_x = (_x + xsp);
if (_x > 480) {
_x = 80;
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
if (this.hit.hitTest(_root.hit) && (_root.ball.act == "fall")) {
if (_root.p1._currentframe == 1) {
if (this._currentframe == 1) {
_root.p1.gotoAndStop(2);
} else if (this._currentframe == 2) {
_root.p1.gotoAndStop(3);
} else if (this._currentframe == 3) {
_root.p1.gotoAndStop(4);
} else if (this._currentframe == 4) {
_root.p1.gotoAndStop(5);
}
} else if (_root.p2._currentframe == 1) {
if (this._currentframe == (_root.p1._currentframe - 1)) {
_root.p2.gotoAndStop(_root.p1._currentframe);
} else {
_root.p2.gotoAndStop(1);
_root.p1.gotoAndStop(this._currentframe + 1);
}
} else if (_root.p3._currentframe == 1) {
if (this._currentframe == (_root.p2._currentframe - 1)) {
_root.p3.gotoAndStop(_root.p2._currentframe);
} else {
_root.p1.gotoAndStop(this._currentframe + 1);
_root.p3.gotoAndStop(1);
_root.p2.gotoAndStop(1);
}
}
_root.max_pacmen++;
if (_root.max_combo < int(_root.lbl_multi)) {
_root.max_combo = _root.lbl_multi;
if (int(_root.max_combo >= 19)) {
_root.cr1.nextFrame();
_root.co_cra1 = "yes";
}
if (int(_root.max_combo >= 49)) {
_root.cr2.nextFrame();
_root.co_cra2 = "yes";
}
if (int(_root.max_combo >= 79)) {
_root.cr3.nextFrame();
_root.co_cra3 = "yes";
}
}
if (_root.max_pacmen >= 100) {
_root.pk1.nextFrame();
_root.killer1 = "yes";
}
if (_root.max_pacmen >= 300) {
_root.pk2.nextFrame();
_root.killer2 = "yes";
}
if (_root.max_pacmen >= 600) {
_root.pk3.nextFrame();
_root.killer3 = "yes";
}
_root.lbl_multi++;
if (int(_root.lbl_multi > 1)) {
_root.mc_mul.mcnt.ml = "x" + _root.lbl_multi;
_root.mc_mul._x = _root.ball._x + 15;
_root.mc_mul._y = _root.ball._y - 15;
_root.mc_mul.gotoAndPlay(2);
}
if (_root.end_game == "yes") {
_root.lbl_score = _root.lbl_score + (50 * int(_root.lbl_multi));
} else {
_root.lbl_score = _root.lbl_score + (10 * int(_root.lbl_multi));
}
if (_root.pacmen_cnt > 0) {
_root.pacmen_cnt--;
}
if (_root.expl_cnt > 5) {
_root.expl_cnt = 0;
}
_root.expl_cnt++;
_root.expl.duplicateMovieClip("expl" + _root.expl_cnt, _root.expl_cnt);
_root["expl" + _root.expl_cnt]._x = _x;
_root["expl" + _root.expl_cnt]._y = _y;
_root.ball.ysp = 13;
_root.ball.act = "jump";
xsp = 0;
if (this._currentframe == 1) {
_root["expl" + _root.expl_cnt].gotoAndStop(2);
this.gotoAndStop(5);
} else if (this._currentframe == 2) {
_root["expl" + _root.expl_cnt].gotoAndStop(3);
this.gotoAndStop(6);
} else if (this._currentframe == 3) {
_root["expl" + _root.expl_cnt].gotoAndStop(4);
this.gotoAndStop(7);
} else if (this._currentframe == 4) {
_root["expl" + _root.expl_cnt].gotoAndStop(5);
this.gotoAndStop(8);
}
}
}
Instance of Symbol 147 MovieClip "pac18" in Frame 21
onClipEvent (load) {
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
onClipEvent (enterFrame) {
_x = (_x + xsp);
if (_x > 480) {
_x = 80;
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
if (this.hit.hitTest(_root.hit) && (_root.ball.act == "fall")) {
if (_root.p1._currentframe == 1) {
if (this._currentframe == 1) {
_root.p1.gotoAndStop(2);
} else if (this._currentframe == 2) {
_root.p1.gotoAndStop(3);
} else if (this._currentframe == 3) {
_root.p1.gotoAndStop(4);
} else if (this._currentframe == 4) {
_root.p1.gotoAndStop(5);
}
} else if (_root.p2._currentframe == 1) {
if (this._currentframe == (_root.p1._currentframe - 1)) {
_root.p2.gotoAndStop(_root.p1._currentframe);
} else {
_root.p2.gotoAndStop(1);
_root.p1.gotoAndStop(this._currentframe + 1);
}
} else if (_root.p3._currentframe == 1) {
if (this._currentframe == (_root.p2._currentframe - 1)) {
_root.p3.gotoAndStop(_root.p2._currentframe);
} else {
_root.p1.gotoAndStop(this._currentframe + 1);
_root.p3.gotoAndStop(1);
_root.p2.gotoAndStop(1);
}
}
_root.max_pacmen++;
if (_root.max_combo < int(_root.lbl_multi)) {
_root.max_combo = _root.lbl_multi;
if (int(_root.max_combo >= 19)) {
_root.cr1.nextFrame();
_root.co_cra1 = "yes";
}
if (int(_root.max_combo >= 49)) {
_root.cr2.nextFrame();
_root.co_cra2 = "yes";
}
if (int(_root.max_combo >= 79)) {
_root.cr3.nextFrame();
_root.co_cra3 = "yes";
}
}
if (_root.max_pacmen >= 100) {
_root.pk1.nextFrame();
_root.killer1 = "yes";
}
if (_root.max_pacmen >= 300) {
_root.pk2.nextFrame();
_root.killer2 = "yes";
}
if (_root.max_pacmen >= 600) {
_root.pk3.nextFrame();
_root.killer3 = "yes";
}
_root.lbl_multi++;
if (int(_root.lbl_multi > 1)) {
_root.mc_mul.mcnt.ml = "x" + _root.lbl_multi;
_root.mc_mul._x = _root.ball._x + 15;
_root.mc_mul._y = _root.ball._y - 15;
_root.mc_mul.gotoAndPlay(2);
}
if (_root.end_game == "yes") {
_root.lbl_score = _root.lbl_score + (50 * int(_root.lbl_multi));
} else {
_root.lbl_score = _root.lbl_score + (10 * int(_root.lbl_multi));
}
if (_root.pacmen_cnt > 0) {
_root.pacmen_cnt--;
}
if (_root.expl_cnt > 5) {
_root.expl_cnt = 0;
}
_root.expl_cnt++;
_root.expl.duplicateMovieClip("expl" + _root.expl_cnt, _root.expl_cnt);
_root["expl" + _root.expl_cnt]._x = _x;
_root["expl" + _root.expl_cnt]._y = _y;
_root.ball.ysp = 13;
_root.ball.act = "jump";
xsp = 0;
if (this._currentframe == 1) {
_root["expl" + _root.expl_cnt].gotoAndStop(2);
this.gotoAndStop(5);
} else if (this._currentframe == 2) {
_root["expl" + _root.expl_cnt].gotoAndStop(3);
this.gotoAndStop(6);
} else if (this._currentframe == 3) {
_root["expl" + _root.expl_cnt].gotoAndStop(4);
this.gotoAndStop(7);
} else if (this._currentframe == 4) {
_root["expl" + _root.expl_cnt].gotoAndStop(5);
this.gotoAndStop(8);
}
}
}
Instance of Symbol 147 MovieClip "pac19" in Frame 21
onClipEvent (load) {
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
onClipEvent (enterFrame) {
_x = (_x + xsp);
if (_x > 480) {
_x = 80;
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
if (this.hit.hitTest(_root.hit) && (_root.ball.act == "fall")) {
if (_root.p1._currentframe == 1) {
if (this._currentframe == 1) {
_root.p1.gotoAndStop(2);
} else if (this._currentframe == 2) {
_root.p1.gotoAndStop(3);
} else if (this._currentframe == 3) {
_root.p1.gotoAndStop(4);
} else if (this._currentframe == 4) {
_root.p1.gotoAndStop(5);
}
} else if (_root.p2._currentframe == 1) {
if (this._currentframe == (_root.p1._currentframe - 1)) {
_root.p2.gotoAndStop(_root.p1._currentframe);
} else {
_root.p2.gotoAndStop(1);
_root.p1.gotoAndStop(this._currentframe + 1);
}
} else if (_root.p3._currentframe == 1) {
if (this._currentframe == (_root.p2._currentframe - 1)) {
_root.p3.gotoAndStop(_root.p2._currentframe);
} else {
_root.p1.gotoAndStop(this._currentframe + 1);
_root.p3.gotoAndStop(1);
_root.p2.gotoAndStop(1);
}
}
_root.max_pacmen++;
if (_root.max_combo < int(_root.lbl_multi)) {
_root.max_combo = _root.lbl_multi;
if (int(_root.max_combo >= 19)) {
_root.cr1.nextFrame();
_root.co_cra1 = "yes";
}
if (int(_root.max_combo >= 49)) {
_root.cr2.nextFrame();
_root.co_cra2 = "yes";
}
if (int(_root.max_combo >= 79)) {
_root.cr3.nextFrame();
_root.co_cra3 = "yes";
}
}
if (_root.max_pacmen >= 100) {
_root.pk1.nextFrame();
_root.killer1 = "yes";
}
if (_root.max_pacmen >= 300) {
_root.pk2.nextFrame();
_root.killer2 = "yes";
}
if (_root.max_pacmen >= 600) {
_root.pk3.nextFrame();
_root.killer3 = "yes";
}
_root.lbl_multi++;
if (int(_root.lbl_multi > 1)) {
_root.mc_mul.mcnt.ml = "x" + _root.lbl_multi;
_root.mc_mul._x = _root.ball._x + 15;
_root.mc_mul._y = _root.ball._y - 15;
_root.mc_mul.gotoAndPlay(2);
}
if (_root.end_game == "yes") {
_root.lbl_score = _root.lbl_score + (50 * int(_root.lbl_multi));
} else {
_root.lbl_score = _root.lbl_score + (10 * int(_root.lbl_multi));
}
if (_root.pacmen_cnt > 0) {
_root.pacmen_cnt--;
}
if (_root.expl_cnt > 5) {
_root.expl_cnt = 0;
}
_root.expl_cnt++;
_root.expl.duplicateMovieClip("expl" + _root.expl_cnt, _root.expl_cnt);
_root["expl" + _root.expl_cnt]._x = _x;
_root["expl" + _root.expl_cnt]._y = _y;
_root.ball.ysp = 13;
_root.ball.act = "jump";
xsp = 0;
if (this._currentframe == 1) {
_root["expl" + _root.expl_cnt].gotoAndStop(2);
this.gotoAndStop(5);
} else if (this._currentframe == 2) {
_root["expl" + _root.expl_cnt].gotoAndStop(3);
this.gotoAndStop(6);
} else if (this._currentframe == 3) {
_root["expl" + _root.expl_cnt].gotoAndStop(4);
this.gotoAndStop(7);
} else if (this._currentframe == 4) {
_root["expl" + _root.expl_cnt].gotoAndStop(5);
this.gotoAndStop(8);
}
}
}
Instance of Symbol 147 MovieClip "pac20" in Frame 21
onClipEvent (load) {
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
onClipEvent (enterFrame) {
_x = (_x + xsp);
if (_x > 480) {
_x = 80;
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
if (this.hit.hitTest(_root.hit) && (_root.ball.act == "fall")) {
if (_root.p1._currentframe == 1) {
if (this._currentframe == 1) {
_root.p1.gotoAndStop(2);
} else if (this._currentframe == 2) {
_root.p1.gotoAndStop(3);
} else if (this._currentframe == 3) {
_root.p1.gotoAndStop(4);
} else if (this._currentframe == 4) {
_root.p1.gotoAndStop(5);
}
} else if (_root.p2._currentframe == 1) {
if (this._currentframe == (_root.p1._currentframe - 1)) {
_root.p2.gotoAndStop(_root.p1._currentframe);
} else {
_root.p2.gotoAndStop(1);
_root.p1.gotoAndStop(this._currentframe + 1);
}
} else if (_root.p3._currentframe == 1) {
if (this._currentframe == (_root.p2._currentframe - 1)) {
_root.p3.gotoAndStop(_root.p2._currentframe);
} else {
_root.p1.gotoAndStop(this._currentframe + 1);
_root.p3.gotoAndStop(1);
_root.p2.gotoAndStop(1);
}
}
_root.max_pacmen++;
if (_root.max_combo < int(_root.lbl_multi)) {
_root.max_combo = _root.lbl_multi;
if (int(_root.max_combo >= 19)) {
_root.cr1.nextFrame();
_root.co_cra1 = "yes";
}
if (int(_root.max_combo >= 49)) {
_root.cr2.nextFrame();
_root.co_cra2 = "yes";
}
if (int(_root.max_combo >= 79)) {
_root.cr3.nextFrame();
_root.co_cra3 = "yes";
}
}
if (_root.max_pacmen >= 100) {
_root.pk1.nextFrame();
_root.killer1 = "yes";
}
if (_root.max_pacmen >= 300) {
_root.pk2.nextFrame();
_root.killer2 = "yes";
}
if (_root.max_pacmen >= 600) {
_root.pk3.nextFrame();
_root.killer3 = "yes";
}
_root.lbl_multi++;
if (int(_root.lbl_multi > 1)) {
_root.mc_mul.mcnt.ml = "x" + _root.lbl_multi;
_root.mc_mul._x = _root.ball._x + 15;
_root.mc_mul._y = _root.ball._y - 15;
_root.mc_mul.gotoAndPlay(2);
}
if (_root.end_game == "yes") {
_root.lbl_score = _root.lbl_score + (50 * int(_root.lbl_multi));
} else {
_root.lbl_score = _root.lbl_score + (10 * int(_root.lbl_multi));
}
if (_root.pacmen_cnt > 0) {
_root.pacmen_cnt--;
}
if (_root.expl_cnt > 5) {
_root.expl_cnt = 0;
}
_root.expl_cnt++;
_root.expl.duplicateMovieClip("expl" + _root.expl_cnt, _root.expl_cnt);
_root["expl" + _root.expl_cnt]._x = _x;
_root["expl" + _root.expl_cnt]._y = _y;
_root.ball.ysp = 13;
_root.ball.act = "jump";
xsp = 0;
if (this._currentframe == 1) {
_root["expl" + _root.expl_cnt].gotoAndStop(2);
this.gotoAndStop(5);
} else if (this._currentframe == 2) {
_root["expl" + _root.expl_cnt].gotoAndStop(3);
this.gotoAndStop(6);
} else if (this._currentframe == 3) {
_root["expl" + _root.expl_cnt].gotoAndStop(4);
this.gotoAndStop(7);
} else if (this._currentframe == 4) {
_root["expl" + _root.expl_cnt].gotoAndStop(5);
this.gotoAndStop(8);
}
}
}
Instance of Symbol 483 MovieClip "sp_pac1" in Frame 21
onClipEvent (load) {
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
onClipEvent (enterFrame) {
_x = (_x + xsp);
if (_x > 480) {
_x = 80;
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
if (this.hit.hitTest(_root.hit) && (_root.ball.act == "fall")) {
var i = 1;
while (i < 22) {
if (_root["pac" + i]._currentframe < 5) {
_root["pac" + i].gotoAndStop(this._currentframe);
}
i++;
}
if (_root.p1._currentframe == 1) {
if (this._currentframe == 1) {
_root.p1.gotoAndStop(2);
} else if (this._currentframe == 2) {
_root.p1.gotoAndStop(3);
} else if (this._currentframe == 3) {
_root.p1.gotoAndStop(4);
} else if (this._currentframe == 4) {
_root.p1.gotoAndStop(5);
}
} else if (_root.p2._currentframe == 1) {
if (this._currentframe == (_root.p1._currentframe - 1)) {
_root.p2.gotoAndStop(_root.p1._currentframe);
} else {
_root.p2.gotoAndStop(1);
_root.p1.gotoAndStop(this._currentframe + 1);
}
} else if (_root.p3._currentframe == 1) {
if (this._currentframe == (_root.p2._currentframe - 1)) {
_root.p3.gotoAndStop(_root.p2._currentframe);
} else {
_root.p1.gotoAndStop(this._currentframe + 1);
_root.p3.gotoAndStop(1);
_root.p2.gotoAndStop(1);
}
}
_root.max_pacmen++;
if (_root.max_combo < int(_root.lbl_multi)) {
_root.max_combo = _root.lbl_multi;
if (int(_root.max_combo >= 19)) {
_root.cr1.nextFrame();
_root.co_cra1 = "yes";
}
if (int(_root.max_combo >= 49)) {
_root.cr2.nextFrame();
_root.co_cra2 = "yes";
}
if (int(_root.max_combo >= 79)) {
_root.cr3.nextFrame();
_root.co_cra3 = "yes";
}
}
if (_root.max_pacmen >= 100) {
_root.pk1.nextFrame();
_root.killer1 = "yes";
}
if (_root.max_pacmen >= 300) {
_root.pk2.nextFrame();
_root.killer2 = "yes";
}
if (_root.max_pacmen >= 600) {
_root.pk3.nextFrame();
_root.killer3 = "yes";
}
_root.lbl_multi++;
if (int(_root.lbl_multi > 1)) {
_root.mc_mul.mcnt.ml = "x" + _root.lbl_multi;
_root.mc_mul._x = _root.ball._x + 15;
_root.mc_mul._y = _root.ball._y - 15;
_root.mc_mul.gotoAndPlay(2);
}
if (_root.end_game == "yes") {
_root.lbl_score = _root.lbl_score + (50 * int(_root.lbl_multi));
} else {
_root.lbl_score = _root.lbl_score + (10 * int(_root.lbl_multi));
}
if (_root.pacmen_cnt > 0) {
_root.pacmen_cnt--;
}
if (_root.expl_cnt > 5) {
_root.expl_cnt = 0;
}
_root.expl_cnt++;
_root.expl.duplicateMovieClip("expl" + _root.expl_cnt, _root.expl_cnt);
_root["expl" + _root.expl_cnt]._x = _x;
_root["expl" + _root.expl_cnt]._y = _y;
_root.ball.ysp = 13;
_root.ball.act = "jump";
xsp = 0;
if (this._currentframe == 1) {
_root["expl" + _root.expl_cnt].gotoAndStop(2);
this.gotoAndStop(5);
} else if (this._currentframe == 2) {
_root["expl" + _root.expl_cnt].gotoAndStop(3);
this.gotoAndStop(6);
} else if (this._currentframe == 3) {
_root["expl" + _root.expl_cnt].gotoAndStop(4);
this.gotoAndStop(7);
} else if (this._currentframe == 4) {
_root["expl" + _root.expl_cnt].gotoAndStop(5);
this.gotoAndStop(8);
}
}
}
Instance of Symbol 483 MovieClip "sp_pac2" in Frame 21
onClipEvent (load) {
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
onClipEvent (enterFrame) {
_x = (_x + xsp);
if (_x > 480) {
_x = 80;
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
if (this.hit.hitTest(_root.hit) && (_root.ball.act == "fall")) {
var i = 1;
while (i < 22) {
if (_root["pac" + i]._currentframe < 5) {
_root["pac" + i].gotoAndStop(this._currentframe);
}
i++;
}
if (_root.p1._currentframe == 1) {
if (this._currentframe == 1) {
_root.p1.gotoAndStop(2);
} else if (this._currentframe == 2) {
_root.p1.gotoAndStop(3);
} else if (this._currentframe == 3) {
_root.p1.gotoAndStop(4);
} else if (this._currentframe == 4) {
_root.p1.gotoAndStop(5);
}
} else if (_root.p2._currentframe == 1) {
if (this._currentframe == (_root.p1._currentframe - 1)) {
_root.p2.gotoAndStop(_root.p1._currentframe);
} else {
_root.p2.gotoAndStop(1);
_root.p1.gotoAndStop(this._currentframe + 1);
}
} else if (_root.p3._currentframe == 1) {
if (this._currentframe == (_root.p2._currentframe - 1)) {
_root.p3.gotoAndStop(_root.p2._currentframe);
} else {
_root.p1.gotoAndStop(this._currentframe + 1);
_root.p3.gotoAndStop(1);
_root.p2.gotoAndStop(1);
}
}
_root.max_pacmen++;
if (_root.max_combo < int(_root.lbl_multi)) {
_root.max_combo = _root.lbl_multi;
if (int(_root.max_combo >= 19)) {
_root.cr1.nextFrame();
_root.co_cra1 = "yes";
}
if (int(_root.max_combo >= 49)) {
_root.cr2.nextFrame();
_root.co_cra2 = "yes";
}
if (int(_root.max_combo >= 79)) {
_root.cr3.nextFrame();
_root.co_cra3 = "yes";
}
}
if (_root.max_pacmen >= 100) {
_root.pk1.nextFrame();
_root.killer1 = "yes";
}
if (_root.max_pacmen >= 300) {
_root.pk2.nextFrame();
_root.killer2 = "yes";
}
if (_root.max_pacmen >= 600) {
_root.pk3.nextFrame();
_root.killer3 = "yes";
}
_root.lbl_multi++;
if (int(_root.lbl_multi > 1)) {
_root.mc_mul.mcnt.ml = "x" + _root.lbl_multi;
_root.mc_mul._x = _root.ball._x + 15;
_root.mc_mul._y = _root.ball._y - 15;
_root.mc_mul.gotoAndPlay(2);
}
if (_root.end_game == "yes") {
_root.lbl_score = _root.lbl_score + (50 * int(_root.lbl_multi));
} else {
_root.lbl_score = _root.lbl_score + (10 * int(_root.lbl_multi));
}
if (_root.pacmen_cnt > 0) {
_root.pacmen_cnt--;
}
if (_root.expl_cnt > 5) {
_root.expl_cnt = 0;
}
_root.expl_cnt++;
_root.expl.duplicateMovieClip("expl" + _root.expl_cnt, _root.expl_cnt);
_root["expl" + _root.expl_cnt]._x = _x;
_root["expl" + _root.expl_cnt]._y = _y;
_root.ball.ysp = 13;
_root.ball.act = "jump";
xsp = 0;
if (this._currentframe == 1) {
_root["expl" + _root.expl_cnt].gotoAndStop(2);
this.gotoAndStop(5);
} else if (this._currentframe == 2) {
_root["expl" + _root.expl_cnt].gotoAndStop(3);
this.gotoAndStop(6);
} else if (this._currentframe == 3) {
_root["expl" + _root.expl_cnt].gotoAndStop(4);
this.gotoAndStop(7);
} else if (this._currentframe == 4) {
_root["expl" + _root.expl_cnt].gotoAndStop(5);
this.gotoAndStop(8);
}
}
}
Instance of Symbol 170 MovieClip "pink_pac" in Frame 21
onClipEvent (load) {
xsp = random(5) + 3;
_y = (random(100) + 200);
}
onClipEvent (enterFrame) {
if (_root.pacmen_cnt < 50) {
start_pink = 1;
}
if (start_pink) {
_x = (_x + xsp);
if (_x > 480) {
this.gotoAndStop(3);
}
if (this.hit.hitTest(_root.hit) && (_root.ball.act == "fall")) {
_root.pink_pacmen++;
if (_root.pink_pacmen >= 3) {
_root.pink1.nextFrame();
}
if (_root.pink_pacmen >= 6) {
_root.pink2.nextFrame();
}
if (_root.pink_pacmen >= 10) {
_root.pink3.nextFrame();
}
_root.max_pacmen++;
if (_root.max_combo < int(_root.lbl_multi)) {
_root.max_combo = _root.lbl_multi;
if (int(_root.max_combo >= 19)) {
_root.cr1.nextFrame();
_root.co_cra1 = "yes";
}
if (int(_root.max_combo >= 49)) {
_root.cr2.nextFrame();
_root.co_cra2 = "yes";
}
if (int(_root.max_combo >= 79)) {
_root.cr3.nextFrame();
_root.co_cra3 = "yes";
}
}
if (_root.max_pacmen >= 100) {
_root.pk1.nextFrame();
_root.killer1 = "yes";
}
if (_root.max_pacmen >= 300) {
_root.pk2.nextFrame();
_root.killer2 = "yes";
}
if (_root.max_pacmen >= 600) {
_root.pk3.nextFrame();
_root.killer3 = "yes";
}
_root.lbl_multi++;
if (int(_root.lbl_multi > 1)) {
_root.mc_mul.mcnt.ml = "x" + _root.lbl_multi;
_root.mc_mul._x = _root.ball._x + 15;
_root.mc_mul._y = _root.ball._y - 15;
_root.mc_mul.gotoAndPlay(2);
}
if (_root.end_game == "yes") {
_root.lbl_score = _root.lbl_score + (5000 * int(_root.lbl_multi));
} else {
_root.lbl_score = _root.lbl_score + (1000 * int(_root.lbl_multi));
}
if (_root.pacmen_cnt > 0) {
_root.pacmen_cnt--;
}
if (_root.expl_cnt > 5) {
_root.expl_cnt = 0;
}
_root.ball.ysp = 13;
_root.ball.act = "jump";
xsp = 0;
this.gotoAndStop(2);
}
}
}
Instance of Symbol 197 MovieClip "ball" in Frame 21
onClipEvent (load) {
var glevel = _y;
var ysp = 0;
var xsp = 5;
var act = "ground";
var xsp2 = 3;
var m_dir = "";
j = 20;
}
onClipEvent (keyUp) {
if (m_dir == "left") {
roll_left = 1;
m_dir = "";
xsp2 = 3;
} else if (m_dir == "right") {
roll_right = 1;
m_dir = "";
xsp2 = 3;
}
}
onClipEvent (enterFrame) {
if (this._currentframe != 3) {
if (_root.p3._currentframe == 2) {
if (j > 40) {
j = 20;
}
j++;
_root.b_a.duplicateMovieClip("b_a" + j, j);
_root["b_a" + j]._x = _x;
_root["b_a" + j]._y = _y;
} else if (_root.p3._currentframe == 3) {
if (j > 40) {
j = 20;
}
j++;
_root.b_b.duplicateMovieClip("b_b" + j, j);
_root["b_b" + j]._x = _x;
_root["b_b" + j]._y = _y;
} else if (_root.p3._currentframe == 4) {
if (j > 40) {
j = 20;
}
j++;
_root.b_c.duplicateMovieClip("b_c" + j, j);
_root["b_c" + j]._x = _x;
_root["b_c" + j]._y = _y;
} else if (_root.p3._currentframe == 5) {
if (j > 40) {
j = 20;
}
j++;
_root.b_d.duplicateMovieClip("b_d" + j, j);
_root["b_d" + j]._x = _x;
_root["b_d" + j]._y = _y;
}
if (roll_left) {
xsp2 = xsp2 - 0.5;
_rotation = (_rotation - (xsp2 * 3));
_x = (_x - xsp2);
if (_x < 115) {
_x = 115;
}
if (xsp2 <= 0) {
roll_left = 0;
xsp2 = 3;
}
}
if (roll_right) {
xsp2 = xsp2 - 0.5;
_rotation = (_rotation + (xsp2 * 3));
_x = (_x + xsp2);
if (_x > 430) {
_x = 430;
}
if (xsp2 <= 0) {
roll_right = 0;
xsp2 = 3;
}
}
if (Key.isDown(37)) {
m_dir = "left";
roll_left = 0;
roll_right = 0;
_rotation = (_rotation - (xsp + 5));
_x = (_x - xsp);
if (_x < 115) {
_x = 115;
}
} else if (Key.isDown(39)) {
m_dir = "right";
roll_left = 0;
roll_right = 0;
_rotation = (_rotation + (xsp + 5));
_x = (_x + xsp);
if (_x > 430) {
_x = 430;
}
}
if (act == "fall") {
ysp++;
var i = 0;
while (i < ysp) {
_y = (_y+1);
if (_y >= glevel) {
_y = glevel;
_root.snd_hit_ground.start(0, 0);
_root.lbl_multi = 0;
i = 0;
ysp = i;
act = "ground";
_root.leaves._x = _x;
_root.leaves._y = _y - 30;
_root.leaves.gotoAndPlay(2);
}
i++;
}
} else if (act == "jump") {
ysp--;
this.gotoAndStop(2);
var i = 0;
while (i < ysp) {
_y = (_y-1);
if (ysp <= 1) {
ysp = 0;
act = "fall";
}
i++;
}
}
if (Key.isDown(90) && (act == "ground")) {
_root.snd_jump.start(0, 0);
ysp = 12;
act = "jump";
}
if ((Key.isDown(40) && (act == "jump")) && (_y < (glevel - 5))) {
ysp = 0;
act = "fall";
}
}
}
Instance of Symbol 203 MovieClip "hit" in Frame 21
onClipEvent (enterFrame) {
_x = _root.ball._x;
_y = (_root.ball._y + 15);
}
Instance of Symbol 365 MovieClip "b_a" in Frame 21
onClipEvent (load) {
ysp = 5 * Math.random();
}
onClipEvent (enterFrame) {
if (ysp <= 1) {
this.removeMovieClip();
} else {
ysp = ysp - 0.1;
_y = (_y - ysp);
}
}
Instance of Symbol 369 MovieClip "b_b" in Frame 21
onClipEvent (load) {
ysp = 5 * Math.random();
}
onClipEvent (enterFrame) {
if (ysp <= 1) {
this.removeMovieClip();
} else {
ysp = ysp - 0.1;
_y = (_y - ysp);
}
}
Instance of Symbol 372 MovieClip "b_c" in Frame 21
onClipEvent (load) {
ysp = 5 * Math.random();
}
onClipEvent (enterFrame) {
if (ysp <= 1) {
this.removeMovieClip();
} else {
ysp = ysp - 0.1;
_y = (_y - ysp);
}
}
Instance of Symbol 376 MovieClip "b_d" in Frame 21
onClipEvent (load) {
ysp = 5 * Math.random();
}
onClipEvent (enterFrame) {
if (ysp <= 1) {
this.removeMovieClip();
} else {
ysp = ysp - 0.1;
_y = (_y - ysp);
}
}
Instance of Symbol 245 MovieClip "expl" in Frame 21
onClipEvent (load) {
cframe = _root._currentframe;
if (_x < 130) {
this.removeMovieClip();
}
}
onClipEvent (enterFrame) {
if (cframe != _root._currentframe) {
this.removeMovieClip();
}
}
Instance of Symbol 269 MovieClip "mc_grass" in Frame 21
onClipEvent (load) {
tmpdepth = this.getDepth();
this.swapDepths(100);
}
Instance of Symbol 351 MovieClip "mc_ef" in Frame 21
onClipEvent (load) {
tmpdepth = this.getDepth();
this.swapDepths(110);
}
Frame 22
stop();
if (_root.end_game == "yes") {
_root.time_bon = _root.time_bon + int(_root.lbl_time);
}
Frame 23
_root.snd_stage_bg.start(0, 999);
stop();
lbl_multi = 0;
expl_cnt = 0;
lbl_time = 100;
pacmen_cnt = -1;
i = 0;
j = 0;
m = 0;
end_game = "";
color_bomb = 0;
_root.onEnterFrame = function () {
var _local3 = new Date();
var _local2 = _local3 - starttime;
while (_local2 < (1000 / DESIREDFRAMERATE)) {
_local3 = new Date();
_local2 = _local3 - starttime;
}
starttime = new Date();
if (lbl_time <= 10) {
_root.mc_pan.nextFrame();
}
if ((lbl_time == 0) && (end_game == "")) {
_root.ball._rotation = 0;
_root.ball.gotoAndStop(3);
_root.b_xpl._x = _root.ball._x;
_root.b_xpl._y = _root.ball._y;
_root.b_xpl.nextFrame();
}
if ((((Key.isDown(88) && (color_bomb == 0)) && (_root.p3._currentframe != 1)) && (_root.ball._currentframe != 3)) && (_root.ball.shoot_right == false)) {
_root.obj1.gotoAndPlay(2);
_root.obj2.gotoAndPlay(2);
_root.max_bombs++;
if (_root.max_bombs >= 20) {
_root.col_mayhem.nextFrame();
}
_root.mc_ef.play();
color_bomb = 1;
}
if ((pacmen_cnt == 0) && (end_game == "")) {
end_game = "yes";
_root.mc_completed.play();
_root.lbl_score = _root.lbl_score + (int(_root.lbl_time) * int(_root.lbl_time));
}
m++;
if (((m == 30) && (lbl_time > 0)) && (end_game == "")) {
tmp_time++;
lbl_time--;
m = 0;
}
if (end_game == "yes") {
j++;
if ((j == 3) && (i < 21)) {
i++;
if (expl_cnt > 10) {
expl_cnt = 0;
}
expl_cnt++;
_root.expl.duplicateMovieClip("expl" + expl_cnt, expl_cnt);
_root["expl" + expl_cnt]._x = _root["pac" + i]._x;
_root["expl" + expl_cnt]._y = _root["pac" + i]._y;
_root["pac" + i].xsp = 0;
if (_root["pac" + i]._currentframe == 1) {
_root["expl" + expl_cnt].gotoAndStop(2);
_root["pac" + i].gotoAndStop(5);
} else if (_root["pac" + i]._currentframe == 2) {
_root["expl" + expl_cnt].gotoAndStop(3);
_root["pac" + i].gotoAndStop(6);
} else if (_root["pac" + i]._currentframe == 3) {
_root["expl" + expl_cnt].gotoAndStop(4);
_root["pac" + i].gotoAndStop(7);
} else if (_root["pac" + i]._currentframe == 4) {
_root["expl" + expl_cnt].gotoAndStop(5);
_root["pac" + i].gotoAndStop(8);
}
j = 0;
}
}
if (color_bomb) {
var i = 1;
while (i < 22) {
expl_cnt++;
_root.expl.duplicateMovieClip("expl" + expl_cnt, expl_cnt);
_root["expl" + expl_cnt]._x = _root["pac" + i]._x;
_root["expl" + expl_cnt]._y = _root["pac" + i]._y;
if ((_root.p3._currentframe == 2) && (_root["pac" + i]._currentframe == 1)) {
_root.max_pacmen++;
if (_root.max_combo < int(_root.lbl_multi)) {
_root.max_combo = _root.lbl_multi;
if (int(_root.max_combo >= 19)) {
_root.cr1.nextFrame();
_root.co_cra1 = "yes";
}
if (int(_root.max_combo >= 49)) {
_root.cr2.nextFrame();
_root.co_cra2 = "yes";
}
if (int(_root.max_combo >= 79)) {
_root.cr3.nextFrame();
_root.co_cra3 = "yes";
}
}
if (_root.max_pacmen >= 100) {
_root.pk1.nextFrame();
_root.killer1 = "yes";
}
if (_root.max_pacmen >= 300) {
_root.pk2.nextFrame();
_root.killer2 = "yes";
}
if (_root.max_pacmen >= 600) {
_root.pk3.nextFrame();
_root.killer3 = "yes";
}
if (end_game == "yes") {
_root.lbl_score = _root.lbl_score + (50 * int(_root.lbl_multi));
} else {
_root.lbl_score = _root.lbl_score + (10 * int(_root.lbl_multi));
}
if (_root.pacmen_cnt > 0) {
_root.pacmen_cnt--;
}
_root["expl" + expl_cnt].gotoAndStop(2);
_root["pac" + i].gotoAndStop(5);
_root["pac" + i].xsp = 0;
} else if ((_root.p3._currentframe == 3) && (_root["pac" + i]._currentframe == 2)) {
_root.max_pacmen++;
if (_root.max_combo < int(_root.lbl_multi)) {
_root.max_combo = _root.lbl_multi;
if (int(_root.max_combo >= 19)) {
_root.cr1.nextFrame();
_root.co_cra1 = "yes";
}
if (int(_root.max_combo >= 49)) {
_root.cr2.nextFrame();
_root.co_cra2 = "yes";
}
if (int(_root.max_combo >= 79)) {
_root.cr3.nextFrame();
_root.co_cra3 = "yes";
}
}
if (_root.max_pacmen >= 100) {
_root.pk1.nextFrame();
_root.killer1 = "yes";
}
if (_root.max_pacmen >= 300) {
_root.pk2.nextFrame();
_root.killer2 = "yes";
}
if (_root.max_pacmen >= 600) {
_root.pk3.nextFrame();
_root.killer3 = "yes";
}
if (end_game == "yes") {
_root.lbl_score = _root.lbl_score + (50 * int(_root.lbl_multi));
} else {
_root.lbl_score = _root.lbl_score + (10 * int(_root.lbl_multi));
}
if (_root.pacmen_cnt > 0) {
_root.pacmen_cnt--;
}
_root["expl" + expl_cnt].gotoAndStop(3);
_root["pac" + i].gotoAndStop(6);
_root["pac" + i].xsp = 0;
} else if ((_root.p3._currentframe == 4) && (_root["pac" + i]._currentframe == 3)) {
_root.max_pacmen++;
if (_root.max_combo < int(_root.lbl_multi)) {
_root.max_combo = _root.lbl_multi;
if (int(_root.max_combo >= 19)) {
_root.cr1.nextFrame();
_root.co_cra1 = "yes";
}
if (int(_root.max_combo >= 49)) {
_root.cr2.nextFrame();
_root.co_cra2 = "yes";
}
if (int(_root.max_combo >= 79)) {
_root.cr3.nextFrame();
_root.co_cra3 = "yes";
}
}
if (_root.max_pacmen >= 100) {
_root.pk1.nextFrame();
_root.killer1 = "yes";
}
if (_root.max_pacmen >= 300) {
_root.pk2.nextFrame();
_root.killer2 = "yes";
}
if (_root.max_pacmen >= 600) {
_root.pk3.nextFrame();
_root.killer3 = "yes";
}
if (end_game == "yes") {
_root.lbl_score = _root.lbl_score + (50 * int(_root.lbl_multi));
} else {
_root.lbl_score = _root.lbl_score + (10 * int(_root.lbl_multi));
}
if (_root.pacmen_cnt > 0) {
_root.pacmen_cnt--;
}
_root["expl" + expl_cnt].gotoAndStop(4);
_root["pac" + i].gotoAndStop(7);
_root["pac" + i].xsp = 0;
} else if ((_root.p3._currentframe == 5) && (_root["pac" + i]._currentframe == 4)) {
_root.max_pacmen++;
if (_root.max_combo < int(_root.lbl_multi)) {
_root.max_combo = _root.lbl_multi;
if (int(_root.max_combo >= 19)) {
_root.cr1.nextFrame();
_root.co_cra1 = "yes";
}
if (int(_root.max_combo >= 49)) {
_root.cr2.nextFrame();
_root.co_cra2 = "yes";
}
if (int(_root.max_combo >= 79)) {
_root.cr3.nextFrame();
_root.co_cra3 = "yes";
}
}
if (_root.max_pacmen >= 100) {
_root.pk1.nextFrame();
_root.killer1 = "yes";
}
if (_root.max_pacmen >= 300) {
_root.pk2.nextFrame();
_root.killer2 = "yes";
}
if (_root.max_pacmen >= 600) {
_root.pk3.nextFrame();
_root.killer3 = "yes";
}
if (end_game == "yes") {
_root.lbl_score = _root.lbl_score + (50 * int(_root.lbl_multi));
} else {
_root.lbl_score = _root.lbl_score + (10 * int(_root.lbl_multi));
}
if (_root.pacmen_cnt > 0) {
_root.pacmen_cnt--;
}
_root["expl" + expl_cnt].gotoAndStop(5);
_root["pac" + i].gotoAndStop(8);
_root["pac" + i].xsp = 0;
}
i++;
}
i = 0;
j = 0;
expl_cnt = 0;
_root.p1.gotoAndStop(1);
_root.p2.gotoAndStop(1);
_root.p3.gotoAndStop(1);
color_bomb = 0;
}
};
Instance of Symbol 547 MovieClip in Frame 23
onClipEvent (enterFrame) {
x1 = _x - _root.ball._x;
y1 = _y - _root.ball._y;
dist = Math.sqrt((x1 * x1) + (y1 * y1));
if ((dist <= 40) && (_root.p3._currentframe != 1)) {
_root.ball.act = "jump";
_root.ball.ysp = 5;
_root.ball.shoot_right = true;
this.nextFrame();
}
}
Instance of Symbol 147 MovieClip "pac1" in Frame 23
onClipEvent (load) {
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
onClipEvent (enterFrame) {
_x = (_x + xsp);
if (_x > 480) {
_x = 80;
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
if (_root.boss_lazer.hitTest(_x, _y, true) && (this._currentframe < 5)) {
if (_root.expl_cnt > 20) {
_root.expl_cnt = 0;
}
_root.expl_cnt++;
_root.expl.duplicateMovieClip("expl" + _root.expl_cnt, _root.expl_cnt);
_root["expl" + _root.expl_cnt]._x = _x;
_root["expl" + _root.expl_cnt]._y = _y;
xsp = 0;
if (this._currentframe == 1) {
_root["expl" + _root.expl_cnt].gotoAndStop(2);
this.gotoAndStop(5);
} else if (this._currentframe == 2) {
_root["expl" + _root.expl_cnt].gotoAndStop(3);
this.gotoAndStop(6);
} else if (this._currentframe == 3) {
_root["expl" + _root.expl_cnt].gotoAndStop(4);
this.gotoAndStop(7);
} else if (this._currentframe == 4) {
_root["expl" + _root.expl_cnt].gotoAndStop(5);
this.gotoAndStop(8);
}
}
if (this.hit.hitTest(_root.hit) && (_root.ball.act == "fall")) {
if (_root.p1._currentframe == 1) {
if (this._currentframe == 1) {
_root.p1.gotoAndStop(2);
} else if (this._currentframe == 2) {
_root.p1.gotoAndStop(3);
} else if (this._currentframe == 3) {
_root.p1.gotoAndStop(4);
} else if (this._currentframe == 4) {
_root.p1.gotoAndStop(5);
}
} else if (_root.p2._currentframe == 1) {
if (this._currentframe == (_root.p1._currentframe - 1)) {
_root.p2.gotoAndStop(_root.p1._currentframe);
} else {
_root.p2.gotoAndStop(1);
_root.p1.gotoAndStop(this._currentframe + 1);
}
} else if (_root.p3._currentframe == 1) {
if (this._currentframe == (_root.p2._currentframe - 1)) {
_root.p3.gotoAndStop(_root.p2._currentframe);
} else {
_root.p1.gotoAndStop(this._currentframe + 1);
_root.p3.gotoAndStop(1);
_root.p2.gotoAndStop(1);
}
}
_root.max_pacmen++;
if (_root.max_combo < int(_root.lbl_multi)) {
_root.max_combo = _root.lbl_multi;
if (int(_root.max_combo >= 19)) {
_root.cr1.nextFrame();
_root.co_cra1 = "yes";
}
if (int(_root.max_combo >= 49)) {
_root.cr2.nextFrame();
_root.co_cra2 = "yes";
}
if (int(_root.max_combo >= 79)) {
_root.cr3.nextFrame();
_root.co_cra3 = "yes";
}
}
if (_root.max_pacmen >= 100) {
_root.pk1.nextFrame();
_root.killer1 = "yes";
}
if (_root.max_pacmen >= 300) {
_root.pk2.nextFrame();
_root.killer2 = "yes";
}
if (_root.max_pacmen >= 600) {
_root.pk3.nextFrame();
_root.killer3 = "yes";
}
_root.lbl_multi++;
if (int(_root.lbl_multi > 1)) {
_root.mc_mul.mcnt.ml = "x" + _root.lbl_multi;
_root.mc_mul._x = _root.ball._x + 15;
_root.mc_mul._y = _root.ball._y - 15;
_root.mc_mul.gotoAndPlay(2);
}
if (_root.end_game == "yes") {
_root.lbl_score = _root.lbl_score + (50 * int(_root.lbl_multi));
} else {
_root.lbl_score = _root.lbl_score + (10 * int(_root.lbl_multi));
}
if (_root.pacmen_cnt > 0) {
_root.pacmen_cnt--;
}
if (_root.expl_cnt > 5) {
_root.expl_cnt = 0;
}
_root.expl_cnt++;
_root.expl.duplicateMovieClip("expl" + _root.expl_cnt, _root.expl_cnt);
_root["expl" + _root.expl_cnt]._x = _x;
_root["expl" + _root.expl_cnt]._y = _y;
_root.ball.ysp = 13;
_root.ball.act = "jump";
xsp = 0;
if (this._currentframe == 1) {
_root["expl" + _root.expl_cnt].gotoAndStop(2);
this.gotoAndStop(5);
} else if (this._currentframe == 2) {
_root["expl" + _root.expl_cnt].gotoAndStop(3);
this.gotoAndStop(6);
} else if (this._currentframe == 3) {
_root["expl" + _root.expl_cnt].gotoAndStop(4);
this.gotoAndStop(7);
} else if (this._currentframe == 4) {
_root["expl" + _root.expl_cnt].gotoAndStop(5);
this.gotoAndStop(8);
}
}
}
Instance of Symbol 147 MovieClip "pac2" in Frame 23
onClipEvent (load) {
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
onClipEvent (enterFrame) {
_x = (_x + xsp);
if (_x > 480) {
_x = 80;
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
if (_root.boss_lazer.hitTest(_x, _y, true) && (this._currentframe < 5)) {
if (_root.expl_cnt > 20) {
_root.expl_cnt = 0;
}
_root.expl_cnt++;
_root.expl.duplicateMovieClip("expl" + _root.expl_cnt, _root.expl_cnt);
_root["expl" + _root.expl_cnt]._x = _x;
_root["expl" + _root.expl_cnt]._y = _y;
xsp = 0;
if (this._currentframe == 1) {
_root["expl" + _root.expl_cnt].gotoAndStop(2);
this.gotoAndStop(5);
} else if (this._currentframe == 2) {
_root["expl" + _root.expl_cnt].gotoAndStop(3);
this.gotoAndStop(6);
} else if (this._currentframe == 3) {
_root["expl" + _root.expl_cnt].gotoAndStop(4);
this.gotoAndStop(7);
} else if (this._currentframe == 4) {
_root["expl" + _root.expl_cnt].gotoAndStop(5);
this.gotoAndStop(8);
}
}
if (this.hit.hitTest(_root.hit) && (_root.ball.act == "fall")) {
if (_root.p1._currentframe == 1) {
if (this._currentframe == 1) {
_root.p1.gotoAndStop(2);
} else if (this._currentframe == 2) {
_root.p1.gotoAndStop(3);
} else if (this._currentframe == 3) {
_root.p1.gotoAndStop(4);
} else if (this._currentframe == 4) {
_root.p1.gotoAndStop(5);
}
} else if (_root.p2._currentframe == 1) {
if (this._currentframe == (_root.p1._currentframe - 1)) {
_root.p2.gotoAndStop(_root.p1._currentframe);
} else {
_root.p2.gotoAndStop(1);
_root.p1.gotoAndStop(this._currentframe + 1);
}
} else if (_root.p3._currentframe == 1) {
if (this._currentframe == (_root.p2._currentframe - 1)) {
_root.p3.gotoAndStop(_root.p2._currentframe);
} else {
_root.p1.gotoAndStop(this._currentframe + 1);
_root.p3.gotoAndStop(1);
_root.p2.gotoAndStop(1);
}
}
_root.max_pacmen++;
if (_root.max_combo < int(_root.lbl_multi)) {
_root.max_combo = _root.lbl_multi;
if (int(_root.max_combo >= 19)) {
_root.cr1.nextFrame();
_root.co_cra1 = "yes";
}
if (int(_root.max_combo >= 49)) {
_root.cr2.nextFrame();
_root.co_cra2 = "yes";
}
if (int(_root.max_combo >= 79)) {
_root.cr3.nextFrame();
_root.co_cra3 = "yes";
}
}
if (_root.max_pacmen >= 100) {
_root.pk1.nextFrame();
_root.killer1 = "yes";
}
if (_root.max_pacmen >= 300) {
_root.pk2.nextFrame();
_root.killer2 = "yes";
}
if (_root.max_pacmen >= 600) {
_root.pk3.nextFrame();
_root.killer3 = "yes";
}
_root.lbl_multi++;
if (int(_root.lbl_multi > 1)) {
_root.mc_mul.mcnt.ml = "x" + _root.lbl_multi;
_root.mc_mul._x = _root.ball._x + 15;
_root.mc_mul._y = _root.ball._y - 15;
_root.mc_mul.gotoAndPlay(2);
}
if (_root.end_game == "yes") {
_root.lbl_score = _root.lbl_score + (50 * int(_root.lbl_multi));
} else {
_root.lbl_score = _root.lbl_score + (10 * int(_root.lbl_multi));
}
if (_root.pacmen_cnt > 0) {
_root.pacmen_cnt--;
}
if (_root.expl_cnt > 5) {
_root.expl_cnt = 0;
}
_root.expl_cnt++;
_root.expl.duplicateMovieClip("expl" + _root.expl_cnt, _root.expl_cnt);
_root["expl" + _root.expl_cnt]._x = _x;
_root["expl" + _root.expl_cnt]._y = _y;
_root.ball.ysp = 13;
_root.ball.act = "jump";
xsp = 0;
if (this._currentframe == 1) {
_root["expl" + _root.expl_cnt].gotoAndStop(2);
this.gotoAndStop(5);
} else if (this._currentframe == 2) {
_root["expl" + _root.expl_cnt].gotoAndStop(3);
this.gotoAndStop(6);
} else if (this._currentframe == 3) {
_root["expl" + _root.expl_cnt].gotoAndStop(4);
this.gotoAndStop(7);
} else if (this._currentframe == 4) {
_root["expl" + _root.expl_cnt].gotoAndStop(5);
this.gotoAndStop(8);
}
}
}
Instance of Symbol 147 MovieClip "pac4" in Frame 23
onClipEvent (load) {
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
onClipEvent (enterFrame) {
_x = (_x + xsp);
if (_x > 480) {
_x = 80;
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
if (_root.boss_lazer.hitTest(_x, _y, true) && (this._currentframe < 5)) {
if (_root.expl_cnt > 20) {
_root.expl_cnt = 0;
}
_root.expl_cnt++;
_root.expl.duplicateMovieClip("expl" + _root.expl_cnt, _root.expl_cnt);
_root["expl" + _root.expl_cnt]._x = _x;
_root["expl" + _root.expl_cnt]._y = _y;
xsp = 0;
if (this._currentframe == 1) {
_root["expl" + _root.expl_cnt].gotoAndStop(2);
this.gotoAndStop(5);
} else if (this._currentframe == 2) {
_root["expl" + _root.expl_cnt].gotoAndStop(3);
this.gotoAndStop(6);
} else if (this._currentframe == 3) {
_root["expl" + _root.expl_cnt].gotoAndStop(4);
this.gotoAndStop(7);
} else if (this._currentframe == 4) {
_root["expl" + _root.expl_cnt].gotoAndStop(5);
this.gotoAndStop(8);
}
}
if (this.hit.hitTest(_root.hit) && (_root.ball.act == "fall")) {
if (_root.p1._currentframe == 1) {
if (this._currentframe == 1) {
_root.p1.gotoAndStop(2);
} else if (this._currentframe == 2) {
_root.p1.gotoAndStop(3);
} else if (this._currentframe == 3) {
_root.p1.gotoAndStop(4);
} else if (this._currentframe == 4) {
_root.p1.gotoAndStop(5);
}
} else if (_root.p2._currentframe == 1) {
if (this._currentframe == (_root.p1._currentframe - 1)) {
_root.p2.gotoAndStop(_root.p1._currentframe);
} else {
_root.p2.gotoAndStop(1);
_root.p1.gotoAndStop(this._currentframe + 1);
}
} else if (_root.p3._currentframe == 1) {
if (this._currentframe == (_root.p2._currentframe - 1)) {
_root.p3.gotoAndStop(_root.p2._currentframe);
} else {
_root.p1.gotoAndStop(this._currentframe + 1);
_root.p3.gotoAndStop(1);
_root.p2.gotoAndStop(1);
}
}
_root.max_pacmen++;
if (_root.max_combo < int(_root.lbl_multi)) {
_root.max_combo = _root.lbl_multi;
if (int(_root.max_combo >= 19)) {
_root.cr1.nextFrame();
_root.co_cra1 = "yes";
}
if (int(_root.max_combo >= 49)) {
_root.cr2.nextFrame();
_root.co_cra2 = "yes";
}
if (int(_root.max_combo >= 79)) {
_root.cr3.nextFrame();
_root.co_cra3 = "yes";
}
}
if (_root.max_pacmen >= 100) {
_root.pk1.nextFrame();
_root.killer1 = "yes";
}
if (_root.max_pacmen >= 300) {
_root.pk2.nextFrame();
_root.killer2 = "yes";
}
if (_root.max_pacmen >= 600) {
_root.pk3.nextFrame();
_root.killer3 = "yes";
}
_root.lbl_multi++;
if (int(_root.lbl_multi > 1)) {
_root.mc_mul.mcnt.ml = "x" + _root.lbl_multi;
_root.mc_mul._x = _root.ball._x + 15;
_root.mc_mul._y = _root.ball._y - 15;
_root.mc_mul.gotoAndPlay(2);
}
if (_root.end_game == "yes") {
_root.lbl_score = _root.lbl_score + (50 * int(_root.lbl_multi));
} else {
_root.lbl_score = _root.lbl_score + (10 * int(_root.lbl_multi));
}
if (_root.pacmen_cnt > 0) {
_root.pacmen_cnt--;
}
if (_root.expl_cnt > 5) {
_root.expl_cnt = 0;
}
_root.expl_cnt++;
_root.expl.duplicateMovieClip("expl" + _root.expl_cnt, _root.expl_cnt);
_root["expl" + _root.expl_cnt]._x = _x;
_root["expl" + _root.expl_cnt]._y = _y;
_root.ball.ysp = 13;
_root.ball.act = "jump";
xsp = 0;
if (this._currentframe == 1) {
_root["expl" + _root.expl_cnt].gotoAndStop(2);
this.gotoAndStop(5);
} else if (this._currentframe == 2) {
_root["expl" + _root.expl_cnt].gotoAndStop(3);
this.gotoAndStop(6);
} else if (this._currentframe == 3) {
_root["expl" + _root.expl_cnt].gotoAndStop(4);
this.gotoAndStop(7);
} else if (this._currentframe == 4) {
_root["expl" + _root.expl_cnt].gotoAndStop(5);
this.gotoAndStop(8);
}
}
}
Instance of Symbol 147 MovieClip "pac6" in Frame 23
onClipEvent (load) {
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
onClipEvent (enterFrame) {
_x = (_x + xsp);
if (_x > 480) {
_x = 80;
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
if (_root.boss_lazer.hitTest(_x, _y, true) && (this._currentframe < 5)) {
if (_root.expl_cnt > 20) {
_root.expl_cnt = 0;
}
_root.expl_cnt++;
_root.expl.duplicateMovieClip("expl" + _root.expl_cnt, _root.expl_cnt);
_root["expl" + _root.expl_cnt]._x = _x;
_root["expl" + _root.expl_cnt]._y = _y;
xsp = 0;
if (this._currentframe == 1) {
_root["expl" + _root.expl_cnt].gotoAndStop(2);
this.gotoAndStop(5);
} else if (this._currentframe == 2) {
_root["expl" + _root.expl_cnt].gotoAndStop(3);
this.gotoAndStop(6);
} else if (this._currentframe == 3) {
_root["expl" + _root.expl_cnt].gotoAndStop(4);
this.gotoAndStop(7);
} else if (this._currentframe == 4) {
_root["expl" + _root.expl_cnt].gotoAndStop(5);
this.gotoAndStop(8);
}
}
if (this.hit.hitTest(_root.hit) && (_root.ball.act == "fall")) {
if (_root.p1._currentframe == 1) {
if (this._currentframe == 1) {
_root.p1.gotoAndStop(2);
} else if (this._currentframe == 2) {
_root.p1.gotoAndStop(3);
} else if (this._currentframe == 3) {
_root.p1.gotoAndStop(4);
} else if (this._currentframe == 4) {
_root.p1.gotoAndStop(5);
}
} else if (_root.p2._currentframe == 1) {
if (this._currentframe == (_root.p1._currentframe - 1)) {
_root.p2.gotoAndStop(_root.p1._currentframe);
} else {
_root.p2.gotoAndStop(1);
_root.p1.gotoAndStop(this._currentframe + 1);
}
} else if (_root.p3._currentframe == 1) {
if (this._currentframe == (_root.p2._currentframe - 1)) {
_root.p3.gotoAndStop(_root.p2._currentframe);
} else {
_root.p1.gotoAndStop(this._currentframe + 1);
_root.p3.gotoAndStop(1);
_root.p2.gotoAndStop(1);
}
}
_root.max_pacmen++;
if (_root.max_combo < int(_root.lbl_multi)) {
_root.max_combo = _root.lbl_multi;
if (int(_root.max_combo >= 19)) {
_root.cr1.nextFrame();
_root.co_cra1 = "yes";
}
if (int(_root.max_combo >= 49)) {
_root.cr2.nextFrame();
_root.co_cra2 = "yes";
}
if (int(_root.max_combo >= 79)) {
_root.cr3.nextFrame();
_root.co_cra3 = "yes";
}
}
if (_root.max_pacmen >= 100) {
_root.pk1.nextFrame();
_root.killer1 = "yes";
}
if (_root.max_pacmen >= 300) {
_root.pk2.nextFrame();
_root.killer2 = "yes";
}
if (_root.max_pacmen >= 600) {
_root.pk3.nextFrame();
_root.killer3 = "yes";
}
_root.lbl_multi++;
if (int(_root.lbl_multi > 1)) {
_root.mc_mul.mcnt.ml = "x" + _root.lbl_multi;
_root.mc_mul._x = _root.ball._x + 15;
_root.mc_mul._y = _root.ball._y - 15;
_root.mc_mul.gotoAndPlay(2);
}
if (_root.end_game == "yes") {
_root.lbl_score = _root.lbl_score + (50 * int(_root.lbl_multi));
} else {
_root.lbl_score = _root.lbl_score + (10 * int(_root.lbl_multi));
}
if (_root.pacmen_cnt > 0) {
_root.pacmen_cnt--;
}
if (_root.expl_cnt > 5) {
_root.expl_cnt = 0;
}
_root.expl_cnt++;
_root.expl.duplicateMovieClip("expl" + _root.expl_cnt, _root.expl_cnt);
_root["expl" + _root.expl_cnt]._x = _x;
_root["expl" + _root.expl_cnt]._y = _y;
_root.ball.ysp = 13;
_root.ball.act = "jump";
xsp = 0;
if (this._currentframe == 1) {
_root["expl" + _root.expl_cnt].gotoAndStop(2);
this.gotoAndStop(5);
} else if (this._currentframe == 2) {
_root["expl" + _root.expl_cnt].gotoAndStop(3);
this.gotoAndStop(6);
} else if (this._currentframe == 3) {
_root["expl" + _root.expl_cnt].gotoAndStop(4);
this.gotoAndStop(7);
} else if (this._currentframe == 4) {
_root["expl" + _root.expl_cnt].gotoAndStop(5);
this.gotoAndStop(8);
}
}
}
Instance of Symbol 147 MovieClip "pac9" in Frame 23
onClipEvent (load) {
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
onClipEvent (enterFrame) {
_x = (_x + xsp);
if (_x > 480) {
_x = 80;
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
if (_root.boss_lazer.hitTest(_x, _y, true) && (this._currentframe < 5)) {
if (_root.expl_cnt > 20) {
_root.expl_cnt = 0;
}
_root.expl_cnt++;
_root.expl.duplicateMovieClip("expl" + _root.expl_cnt, _root.expl_cnt);
_root["expl" + _root.expl_cnt]._x = _x;
_root["expl" + _root.expl_cnt]._y = _y;
xsp = 0;
if (this._currentframe == 1) {
_root["expl" + _root.expl_cnt].gotoAndStop(2);
this.gotoAndStop(5);
} else if (this._currentframe == 2) {
_root["expl" + _root.expl_cnt].gotoAndStop(3);
this.gotoAndStop(6);
} else if (this._currentframe == 3) {
_root["expl" + _root.expl_cnt].gotoAndStop(4);
this.gotoAndStop(7);
} else if (this._currentframe == 4) {
_root["expl" + _root.expl_cnt].gotoAndStop(5);
this.gotoAndStop(8);
}
}
if (this.hit.hitTest(_root.hit) && (_root.ball.act == "fall")) {
if (_root.p1._currentframe == 1) {
if (this._currentframe == 1) {
_root.p1.gotoAndStop(2);
} else if (this._currentframe == 2) {
_root.p1.gotoAndStop(3);
} else if (this._currentframe == 3) {
_root.p1.gotoAndStop(4);
} else if (this._currentframe == 4) {
_root.p1.gotoAndStop(5);
}
} else if (_root.p2._currentframe == 1) {
if (this._currentframe == (_root.p1._currentframe - 1)) {
_root.p2.gotoAndStop(_root.p1._currentframe);
} else {
_root.p2.gotoAndStop(1);
_root.p1.gotoAndStop(this._currentframe + 1);
}
} else if (_root.p3._currentframe == 1) {
if (this._currentframe == (_root.p2._currentframe - 1)) {
_root.p3.gotoAndStop(_root.p2._currentframe);
} else {
_root.p1.gotoAndStop(this._currentframe + 1);
_root.p3.gotoAndStop(1);
_root.p2.gotoAndStop(1);
}
}
_root.max_pacmen++;
if (_root.max_combo < int(_root.lbl_multi)) {
_root.max_combo = _root.lbl_multi;
if (int(_root.max_combo >= 19)) {
_root.cr1.nextFrame();
_root.co_cra1 = "yes";
}
if (int(_root.max_combo >= 49)) {
_root.cr2.nextFrame();
_root.co_cra2 = "yes";
}
if (int(_root.max_combo >= 79)) {
_root.cr3.nextFrame();
_root.co_cra3 = "yes";
}
}
if (_root.max_pacmen >= 100) {
_root.pk1.nextFrame();
_root.killer1 = "yes";
}
if (_root.max_pacmen >= 300) {
_root.pk2.nextFrame();
_root.killer2 = "yes";
}
if (_root.max_pacmen >= 600) {
_root.pk3.nextFrame();
_root.killer3 = "yes";
}
_root.lbl_multi++;
if (int(_root.lbl_multi > 1)) {
_root.mc_mul.mcnt.ml = "x" + _root.lbl_multi;
_root.mc_mul._x = _root.ball._x + 15;
_root.mc_mul._y = _root.ball._y - 15;
_root.mc_mul.gotoAndPlay(2);
}
if (_root.end_game == "yes") {
_root.lbl_score = _root.lbl_score + (50 * int(_root.lbl_multi));
} else {
_root.lbl_score = _root.lbl_score + (10 * int(_root.lbl_multi));
}
if (_root.pacmen_cnt > 0) {
_root.pacmen_cnt--;
}
if (_root.expl_cnt > 5) {
_root.expl_cnt = 0;
}
_root.expl_cnt++;
_root.expl.duplicateMovieClip("expl" + _root.expl_cnt, _root.expl_cnt);
_root["expl" + _root.expl_cnt]._x = _x;
_root["expl" + _root.expl_cnt]._y = _y;
_root.ball.ysp = 13;
_root.ball.act = "jump";
xsp = 0;
if (this._currentframe == 1) {
_root["expl" + _root.expl_cnt].gotoAndStop(2);
this.gotoAndStop(5);
} else if (this._currentframe == 2) {
_root["expl" + _root.expl_cnt].gotoAndStop(3);
this.gotoAndStop(6);
} else if (this._currentframe == 3) {
_root["expl" + _root.expl_cnt].gotoAndStop(4);
this.gotoAndStop(7);
} else if (this._currentframe == 4) {
_root["expl" + _root.expl_cnt].gotoAndStop(5);
this.gotoAndStop(8);
}
}
}
Instance of Symbol 147 MovieClip "pac12" in Frame 23
onClipEvent (load) {
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
onClipEvent (enterFrame) {
_x = (_x + xsp);
if (_x > 480) {
_x = 80;
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
if (_root.boss_lazer.hitTest(_x, _y, true) && (this._currentframe < 5)) {
if (_root.expl_cnt > 20) {
_root.expl_cnt = 0;
}
_root.expl_cnt++;
_root.expl.duplicateMovieClip("expl" + _root.expl_cnt, _root.expl_cnt);
_root["expl" + _root.expl_cnt]._x = _x;
_root["expl" + _root.expl_cnt]._y = _y;
xsp = 0;
if (this._currentframe == 1) {
_root["expl" + _root.expl_cnt].gotoAndStop(2);
this.gotoAndStop(5);
} else if (this._currentframe == 2) {
_root["expl" + _root.expl_cnt].gotoAndStop(3);
this.gotoAndStop(6);
} else if (this._currentframe == 3) {
_root["expl" + _root.expl_cnt].gotoAndStop(4);
this.gotoAndStop(7);
} else if (this._currentframe == 4) {
_root["expl" + _root.expl_cnt].gotoAndStop(5);
this.gotoAndStop(8);
}
}
if (this.hit.hitTest(_root.hit) && (_root.ball.act == "fall")) {
if (_root.p1._currentframe == 1) {
if (this._currentframe == 1) {
_root.p1.gotoAndStop(2);
} else if (this._currentframe == 2) {
_root.p1.gotoAndStop(3);
} else if (this._currentframe == 3) {
_root.p1.gotoAndStop(4);
} else if (this._currentframe == 4) {
_root.p1.gotoAndStop(5);
}
} else if (_root.p2._currentframe == 1) {
if (this._currentframe == (_root.p1._currentframe - 1)) {
_root.p2.gotoAndStop(_root.p1._currentframe);
} else {
_root.p2.gotoAndStop(1);
_root.p1.gotoAndStop(this._currentframe + 1);
}
} else if (_root.p3._currentframe == 1) {
if (this._currentframe == (_root.p2._currentframe - 1)) {
_root.p3.gotoAndStop(_root.p2._currentframe);
} else {
_root.p1.gotoAndStop(this._currentframe + 1);
_root.p3.gotoAndStop(1);
_root.p2.gotoAndStop(1);
}
}
_root.max_pacmen++;
if (_root.max_combo < int(_root.lbl_multi)) {
_root.max_combo = _root.lbl_multi;
if (int(_root.max_combo >= 19)) {
_root.cr1.nextFrame();
_root.co_cra1 = "yes";
}
if (int(_root.max_combo >= 49)) {
_root.cr2.nextFrame();
_root.co_cra2 = "yes";
}
if (int(_root.max_combo >= 79)) {
_root.cr3.nextFrame();
_root.co_cra3 = "yes";
}
}
if (_root.max_pacmen >= 100) {
_root.pk1.nextFrame();
_root.killer1 = "yes";
}
if (_root.max_pacmen >= 300) {
_root.pk2.nextFrame();
_root.killer2 = "yes";
}
if (_root.max_pacmen >= 600) {
_root.pk3.nextFrame();
_root.killer3 = "yes";
}
_root.lbl_multi++;
if (int(_root.lbl_multi > 1)) {
_root.mc_mul.mcnt.ml = "x" + _root.lbl_multi;
_root.mc_mul._x = _root.ball._x + 15;
_root.mc_mul._y = _root.ball._y - 15;
_root.mc_mul.gotoAndPlay(2);
}
if (_root.end_game == "yes") {
_root.lbl_score = _root.lbl_score + (50 * int(_root.lbl_multi));
} else {
_root.lbl_score = _root.lbl_score + (10 * int(_root.lbl_multi));
}
if (_root.pacmen_cnt > 0) {
_root.pacmen_cnt--;
}
if (_root.expl_cnt > 5) {
_root.expl_cnt = 0;
}
_root.expl_cnt++;
_root.expl.duplicateMovieClip("expl" + _root.expl_cnt, _root.expl_cnt);
_root["expl" + _root.expl_cnt]._x = _x;
_root["expl" + _root.expl_cnt]._y = _y;
_root.ball.ysp = 13;
_root.ball.act = "jump";
xsp = 0;
if (this._currentframe == 1) {
_root["expl" + _root.expl_cnt].gotoAndStop(2);
this.gotoAndStop(5);
} else if (this._currentframe == 2) {
_root["expl" + _root.expl_cnt].gotoAndStop(3);
this.gotoAndStop(6);
} else if (this._currentframe == 3) {
_root["expl" + _root.expl_cnt].gotoAndStop(4);
this.gotoAndStop(7);
} else if (this._currentframe == 4) {
_root["expl" + _root.expl_cnt].gotoAndStop(5);
this.gotoAndStop(8);
}
}
}
Instance of Symbol 147 MovieClip "pac13" in Frame 23
onClipEvent (load) {
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
onClipEvent (enterFrame) {
_x = (_x + xsp);
if (_x > 480) {
_x = 80;
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
if (_root.boss_lazer.hitTest(_x, _y, true) && (this._currentframe < 5)) {
if (_root.expl_cnt > 20) {
_root.expl_cnt = 0;
}
_root.expl_cnt++;
_root.expl.duplicateMovieClip("expl" + _root.expl_cnt, _root.expl_cnt);
_root["expl" + _root.expl_cnt]._x = _x;
_root["expl" + _root.expl_cnt]._y = _y;
xsp = 0;
if (this._currentframe == 1) {
_root["expl" + _root.expl_cnt].gotoAndStop(2);
this.gotoAndStop(5);
} else if (this._currentframe == 2) {
_root["expl" + _root.expl_cnt].gotoAndStop(3);
this.gotoAndStop(6);
} else if (this._currentframe == 3) {
_root["expl" + _root.expl_cnt].gotoAndStop(4);
this.gotoAndStop(7);
} else if (this._currentframe == 4) {
_root["expl" + _root.expl_cnt].gotoAndStop(5);
this.gotoAndStop(8);
}
}
if (this.hit.hitTest(_root.hit) && (_root.ball.act == "fall")) {
if (_root.p1._currentframe == 1) {
if (this._currentframe == 1) {
_root.p1.gotoAndStop(2);
} else if (this._currentframe == 2) {
_root.p1.gotoAndStop(3);
} else if (this._currentframe == 3) {
_root.p1.gotoAndStop(4);
} else if (this._currentframe == 4) {
_root.p1.gotoAndStop(5);
}
} else if (_root.p2._currentframe == 1) {
if (this._currentframe == (_root.p1._currentframe - 1)) {
_root.p2.gotoAndStop(_root.p1._currentframe);
} else {
_root.p2.gotoAndStop(1);
_root.p1.gotoAndStop(this._currentframe + 1);
}
} else if (_root.p3._currentframe == 1) {
if (this._currentframe == (_root.p2._currentframe - 1)) {
_root.p3.gotoAndStop(_root.p2._currentframe);
} else {
_root.p1.gotoAndStop(this._currentframe + 1);
_root.p3.gotoAndStop(1);
_root.p2.gotoAndStop(1);
}
}
_root.max_pacmen++;
if (_root.max_combo < int(_root.lbl_multi)) {
_root.max_combo = _root.lbl_multi;
if (int(_root.max_combo >= 19)) {
_root.cr1.nextFrame();
_root.co_cra1 = "yes";
}
if (int(_root.max_combo >= 49)) {
_root.cr2.nextFrame();
_root.co_cra2 = "yes";
}
if (int(_root.max_combo >= 79)) {
_root.cr3.nextFrame();
_root.co_cra3 = "yes";
}
}
if (_root.max_pacmen >= 100) {
_root.pk1.nextFrame();
_root.killer1 = "yes";
}
if (_root.max_pacmen >= 300) {
_root.pk2.nextFrame();
_root.killer2 = "yes";
}
if (_root.max_pacmen >= 600) {
_root.pk3.nextFrame();
_root.killer3 = "yes";
}
_root.lbl_multi++;
if (int(_root.lbl_multi > 1)) {
_root.mc_mul.mcnt.ml = "x" + _root.lbl_multi;
_root.mc_mul._x = _root.ball._x + 15;
_root.mc_mul._y = _root.ball._y - 15;
_root.mc_mul.gotoAndPlay(2);
}
if (_root.end_game == "yes") {
_root.lbl_score = _root.lbl_score + (50 * int(_root.lbl_multi));
} else {
_root.lbl_score = _root.lbl_score + (10 * int(_root.lbl_multi));
}
if (_root.pacmen_cnt > 0) {
_root.pacmen_cnt--;
}
if (_root.expl_cnt > 5) {
_root.expl_cnt = 0;
}
_root.expl_cnt++;
_root.expl.duplicateMovieClip("expl" + _root.expl_cnt, _root.expl_cnt);
_root["expl" + _root.expl_cnt]._x = _x;
_root["expl" + _root.expl_cnt]._y = _y;
_root.ball.ysp = 13;
_root.ball.act = "jump";
xsp = 0;
if (this._currentframe == 1) {
_root["expl" + _root.expl_cnt].gotoAndStop(2);
this.gotoAndStop(5);
} else if (this._currentframe == 2) {
_root["expl" + _root.expl_cnt].gotoAndStop(3);
this.gotoAndStop(6);
} else if (this._currentframe == 3) {
_root["expl" + _root.expl_cnt].gotoAndStop(4);
this.gotoAndStop(7);
} else if (this._currentframe == 4) {
_root["expl" + _root.expl_cnt].gotoAndStop(5);
this.gotoAndStop(8);
}
}
}
Instance of Symbol 147 MovieClip "pac15" in Frame 23
onClipEvent (load) {
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
onClipEvent (enterFrame) {
_x = (_x + xsp);
if (_x > 480) {
_x = 80;
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
if (_root.boss_lazer.hitTest(_x, _y, true) && (this._currentframe < 5)) {
if (_root.expl_cnt > 20) {
_root.expl_cnt = 0;
}
_root.expl_cnt++;
_root.expl.duplicateMovieClip("expl" + _root.expl_cnt, _root.expl_cnt);
_root["expl" + _root.expl_cnt]._x = _x;
_root["expl" + _root.expl_cnt]._y = _y;
xsp = 0;
if (this._currentframe == 1) {
_root["expl" + _root.expl_cnt].gotoAndStop(2);
this.gotoAndStop(5);
} else if (this._currentframe == 2) {
_root["expl" + _root.expl_cnt].gotoAndStop(3);
this.gotoAndStop(6);
} else if (this._currentframe == 3) {
_root["expl" + _root.expl_cnt].gotoAndStop(4);
this.gotoAndStop(7);
} else if (this._currentframe == 4) {
_root["expl" + _root.expl_cnt].gotoAndStop(5);
this.gotoAndStop(8);
}
}
if (this.hit.hitTest(_root.hit) && (_root.ball.act == "fall")) {
if (_root.p1._currentframe == 1) {
if (this._currentframe == 1) {
_root.p1.gotoAndStop(2);
} else if (this._currentframe == 2) {
_root.p1.gotoAndStop(3);
} else if (this._currentframe == 3) {
_root.p1.gotoAndStop(4);
} else if (this._currentframe == 4) {
_root.p1.gotoAndStop(5);
}
} else if (_root.p2._currentframe == 1) {
if (this._currentframe == (_root.p1._currentframe - 1)) {
_root.p2.gotoAndStop(_root.p1._currentframe);
} else {
_root.p2.gotoAndStop(1);
_root.p1.gotoAndStop(this._currentframe + 1);
}
} else if (_root.p3._currentframe == 1) {
if (this._currentframe == (_root.p2._currentframe - 1)) {
_root.p3.gotoAndStop(_root.p2._currentframe);
} else {
_root.p1.gotoAndStop(this._currentframe + 1);
_root.p3.gotoAndStop(1);
_root.p2.gotoAndStop(1);
}
}
_root.max_pacmen++;
if (_root.max_combo < int(_root.lbl_multi)) {
_root.max_combo = _root.lbl_multi;
if (int(_root.max_combo >= 19)) {
_root.cr1.nextFrame();
_root.co_cra1 = "yes";
}
if (int(_root.max_combo >= 49)) {
_root.cr2.nextFrame();
_root.co_cra2 = "yes";
}
if (int(_root.max_combo >= 79)) {
_root.cr3.nextFrame();
_root.co_cra3 = "yes";
}
}
if (_root.max_pacmen >= 100) {
_root.pk1.nextFrame();
_root.killer1 = "yes";
}
if (_root.max_pacmen >= 300) {
_root.pk2.nextFrame();
_root.killer2 = "yes";
}
if (_root.max_pacmen >= 600) {
_root.pk3.nextFrame();
_root.killer3 = "yes";
}
_root.lbl_multi++;
if (int(_root.lbl_multi > 1)) {
_root.mc_mul.mcnt.ml = "x" + _root.lbl_multi;
_root.mc_mul._x = _root.ball._x + 15;
_root.mc_mul._y = _root.ball._y - 15;
_root.mc_mul.gotoAndPlay(2);
}
if (_root.end_game == "yes") {
_root.lbl_score = _root.lbl_score + (50 * int(_root.lbl_multi));
} else {
_root.lbl_score = _root.lbl_score + (10 * int(_root.lbl_multi));
}
if (_root.pacmen_cnt > 0) {
_root.pacmen_cnt--;
}
if (_root.expl_cnt > 5) {
_root.expl_cnt = 0;
}
_root.expl_cnt++;
_root.expl.duplicateMovieClip("expl" + _root.expl_cnt, _root.expl_cnt);
_root["expl" + _root.expl_cnt]._x = _x;
_root["expl" + _root.expl_cnt]._y = _y;
_root.ball.ysp = 13;
_root.ball.act = "jump";
xsp = 0;
if (this._currentframe == 1) {
_root["expl" + _root.expl_cnt].gotoAndStop(2);
this.gotoAndStop(5);
} else if (this._currentframe == 2) {
_root["expl" + _root.expl_cnt].gotoAndStop(3);
this.gotoAndStop(6);
} else if (this._currentframe == 3) {
_root["expl" + _root.expl_cnt].gotoAndStop(4);
this.gotoAndStop(7);
} else if (this._currentframe == 4) {
_root["expl" + _root.expl_cnt].gotoAndStop(5);
this.gotoAndStop(8);
}
}
}
Instance of Symbol 147 MovieClip "pac14" in Frame 23
onClipEvent (load) {
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
onClipEvent (enterFrame) {
_x = (_x + xsp);
if (_x > 480) {
_x = 80;
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
if (_root.boss_lazer.hitTest(_x, _y, true) && (this._currentframe < 5)) {
if (_root.expl_cnt > 20) {
_root.expl_cnt = 0;
}
_root.expl_cnt++;
_root.expl.duplicateMovieClip("expl" + _root.expl_cnt, _root.expl_cnt);
_root["expl" + _root.expl_cnt]._x = _x;
_root["expl" + _root.expl_cnt]._y = _y;
xsp = 0;
if (this._currentframe == 1) {
_root["expl" + _root.expl_cnt].gotoAndStop(2);
this.gotoAndStop(5);
} else if (this._currentframe == 2) {
_root["expl" + _root.expl_cnt].gotoAndStop(3);
this.gotoAndStop(6);
} else if (this._currentframe == 3) {
_root["expl" + _root.expl_cnt].gotoAndStop(4);
this.gotoAndStop(7);
} else if (this._currentframe == 4) {
_root["expl" + _root.expl_cnt].gotoAndStop(5);
this.gotoAndStop(8);
}
}
if (this.hit.hitTest(_root.hit) && (_root.ball.act == "fall")) {
if (_root.p1._currentframe == 1) {
if (this._currentframe == 1) {
_root.p1.gotoAndStop(2);
} else if (this._currentframe == 2) {
_root.p1.gotoAndStop(3);
} else if (this._currentframe == 3) {
_root.p1.gotoAndStop(4);
} else if (this._currentframe == 4) {
_root.p1.gotoAndStop(5);
}
} else if (_root.p2._currentframe == 1) {
if (this._currentframe == (_root.p1._currentframe - 1)) {
_root.p2.gotoAndStop(_root.p1._currentframe);
} else {
_root.p2.gotoAndStop(1);
_root.p1.gotoAndStop(this._currentframe + 1);
}
} else if (_root.p3._currentframe == 1) {
if (this._currentframe == (_root.p2._currentframe - 1)) {
_root.p3.gotoAndStop(_root.p2._currentframe);
} else {
_root.p1.gotoAndStop(this._currentframe + 1);
_root.p3.gotoAndStop(1);
_root.p2.gotoAndStop(1);
}
}
_root.max_pacmen++;
if (_root.max_combo < int(_root.lbl_multi)) {
_root.max_combo = _root.lbl_multi;
if (int(_root.max_combo >= 19)) {
_root.cr1.nextFrame();
_root.co_cra1 = "yes";
}
if (int(_root.max_combo >= 49)) {
_root.cr2.nextFrame();
_root.co_cra2 = "yes";
}
if (int(_root.max_combo >= 79)) {
_root.cr3.nextFrame();
_root.co_cra3 = "yes";
}
}
if (_root.max_pacmen >= 100) {
_root.pk1.nextFrame();
_root.killer1 = "yes";
}
if (_root.max_pacmen >= 300) {
_root.pk2.nextFrame();
_root.killer2 = "yes";
}
if (_root.max_pacmen >= 600) {
_root.pk3.nextFrame();
_root.killer3 = "yes";
}
_root.lbl_multi++;
if (int(_root.lbl_multi > 1)) {
_root.mc_mul.mcnt.ml = "x" + _root.lbl_multi;
_root.mc_mul._x = _root.ball._x + 15;
_root.mc_mul._y = _root.ball._y - 15;
_root.mc_mul.gotoAndPlay(2);
}
if (_root.end_game == "yes") {
_root.lbl_score = _root.lbl_score + (50 * int(_root.lbl_multi));
} else {
_root.lbl_score = _root.lbl_score + (10 * int(_root.lbl_multi));
}
if (_root.pacmen_cnt > 0) {
_root.pacmen_cnt--;
}
if (_root.expl_cnt > 5) {
_root.expl_cnt = 0;
}
_root.expl_cnt++;
_root.expl.duplicateMovieClip("expl" + _root.expl_cnt, _root.expl_cnt);
_root["expl" + _root.expl_cnt]._x = _x;
_root["expl" + _root.expl_cnt]._y = _y;
_root.ball.ysp = 13;
_root.ball.act = "jump";
xsp = 0;
if (this._currentframe == 1) {
_root["expl" + _root.expl_cnt].gotoAndStop(2);
this.gotoAndStop(5);
} else if (this._currentframe == 2) {
_root["expl" + _root.expl_cnt].gotoAndStop(3);
this.gotoAndStop(6);
} else if (this._currentframe == 3) {
_root["expl" + _root.expl_cnt].gotoAndStop(4);
this.gotoAndStop(7);
} else if (this._currentframe == 4) {
_root["expl" + _root.expl_cnt].gotoAndStop(5);
this.gotoAndStop(8);
}
}
}
Instance of Symbol 147 MovieClip "pac10" in Frame 23
onClipEvent (load) {
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
onClipEvent (enterFrame) {
_x = (_x + xsp);
if (_x > 480) {
_x = 80;
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
if (_root.boss_lazer.hitTest(_x, _y, true) && (this._currentframe < 5)) {
if (_root.expl_cnt > 20) {
_root.expl_cnt = 0;
}
_root.expl_cnt++;
_root.expl.duplicateMovieClip("expl" + _root.expl_cnt, _root.expl_cnt);
_root["expl" + _root.expl_cnt]._x = _x;
_root["expl" + _root.expl_cnt]._y = _y;
xsp = 0;
if (this._currentframe == 1) {
_root["expl" + _root.expl_cnt].gotoAndStop(2);
this.gotoAndStop(5);
} else if (this._currentframe == 2) {
_root["expl" + _root.expl_cnt].gotoAndStop(3);
this.gotoAndStop(6);
} else if (this._currentframe == 3) {
_root["expl" + _root.expl_cnt].gotoAndStop(4);
this.gotoAndStop(7);
} else if (this._currentframe == 4) {
_root["expl" + _root.expl_cnt].gotoAndStop(5);
this.gotoAndStop(8);
}
}
if (this.hit.hitTest(_root.hit) && (_root.ball.act == "fall")) {
if (_root.p1._currentframe == 1) {
if (this._currentframe == 1) {
_root.p1.gotoAndStop(2);
} else if (this._currentframe == 2) {
_root.p1.gotoAndStop(3);
} else if (this._currentframe == 3) {
_root.p1.gotoAndStop(4);
} else if (this._currentframe == 4) {
_root.p1.gotoAndStop(5);
}
} else if (_root.p2._currentframe == 1) {
if (this._currentframe == (_root.p1._currentframe - 1)) {
_root.p2.gotoAndStop(_root.p1._currentframe);
} else {
_root.p2.gotoAndStop(1);
_root.p1.gotoAndStop(this._currentframe + 1);
}
} else if (_root.p3._currentframe == 1) {
if (this._currentframe == (_root.p2._currentframe - 1)) {
_root.p3.gotoAndStop(_root.p2._currentframe);
} else {
_root.p1.gotoAndStop(this._currentframe + 1);
_root.p3.gotoAndStop(1);
_root.p2.gotoAndStop(1);
}
}
_root.max_pacmen++;
if (_root.max_combo < int(_root.lbl_multi)) {
_root.max_combo = _root.lbl_multi;
if (int(_root.max_combo >= 19)) {
_root.cr1.nextFrame();
_root.co_cra1 = "yes";
}
if (int(_root.max_combo >= 49)) {
_root.cr2.nextFrame();
_root.co_cra2 = "yes";
}
if (int(_root.max_combo >= 79)) {
_root.cr3.nextFrame();
_root.co_cra3 = "yes";
}
}
if (_root.max_pacmen >= 100) {
_root.pk1.nextFrame();
_root.killer1 = "yes";
}
if (_root.max_pacmen >= 300) {
_root.pk2.nextFrame();
_root.killer2 = "yes";
}
if (_root.max_pacmen >= 600) {
_root.pk3.nextFrame();
_root.killer3 = "yes";
}
_root.lbl_multi++;
if (int(_root.lbl_multi > 1)) {
_root.mc_mul.mcnt.ml = "x" + _root.lbl_multi;
_root.mc_mul._x = _root.ball._x + 15;
_root.mc_mul._y = _root.ball._y - 15;
_root.mc_mul.gotoAndPlay(2);
}
if (_root.end_game == "yes") {
_root.lbl_score = _root.lbl_score + (50 * int(_root.lbl_multi));
} else {
_root.lbl_score = _root.lbl_score + (10 * int(_root.lbl_multi));
}
if (_root.pacmen_cnt > 0) {
_root.pacmen_cnt--;
}
if (_root.expl_cnt > 5) {
_root.expl_cnt = 0;
}
_root.expl_cnt++;
_root.expl.duplicateMovieClip("expl" + _root.expl_cnt, _root.expl_cnt);
_root["expl" + _root.expl_cnt]._x = _x;
_root["expl" + _root.expl_cnt]._y = _y;
_root.ball.ysp = 13;
_root.ball.act = "jump";
xsp = 0;
if (this._currentframe == 1) {
_root["expl" + _root.expl_cnt].gotoAndStop(2);
this.gotoAndStop(5);
} else if (this._currentframe == 2) {
_root["expl" + _root.expl_cnt].gotoAndStop(3);
this.gotoAndStop(6);
} else if (this._currentframe == 3) {
_root["expl" + _root.expl_cnt].gotoAndStop(4);
this.gotoAndStop(7);
} else if (this._currentframe == 4) {
_root["expl" + _root.expl_cnt].gotoAndStop(5);
this.gotoAndStop(8);
}
}
}
Instance of Symbol 147 MovieClip "pac8" in Frame 23
onClipEvent (load) {
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
onClipEvent (enterFrame) {
_x = (_x + xsp);
if (_x > 480) {
_x = 80;
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
if (_root.boss_lazer.hitTest(_x, _y, true) && (this._currentframe < 5)) {
if (_root.expl_cnt > 20) {
_root.expl_cnt = 0;
}
_root.expl_cnt++;
_root.expl.duplicateMovieClip("expl" + _root.expl_cnt, _root.expl_cnt);
_root["expl" + _root.expl_cnt]._x = _x;
_root["expl" + _root.expl_cnt]._y = _y;
xsp = 0;
if (this._currentframe == 1) {
_root["expl" + _root.expl_cnt].gotoAndStop(2);
this.gotoAndStop(5);
} else if (this._currentframe == 2) {
_root["expl" + _root.expl_cnt].gotoAndStop(3);
this.gotoAndStop(6);
} else if (this._currentframe == 3) {
_root["expl" + _root.expl_cnt].gotoAndStop(4);
this.gotoAndStop(7);
} else if (this._currentframe == 4) {
_root["expl" + _root.expl_cnt].gotoAndStop(5);
this.gotoAndStop(8);
}
}
if (this.hit.hitTest(_root.hit) && (_root.ball.act == "fall")) {
if (_root.p1._currentframe == 1) {
if (this._currentframe == 1) {
_root.p1.gotoAndStop(2);
} else if (this._currentframe == 2) {
_root.p1.gotoAndStop(3);
} else if (this._currentframe == 3) {
_root.p1.gotoAndStop(4);
} else if (this._currentframe == 4) {
_root.p1.gotoAndStop(5);
}
} else if (_root.p2._currentframe == 1) {
if (this._currentframe == (_root.p1._currentframe - 1)) {
_root.p2.gotoAndStop(_root.p1._currentframe);
} else {
_root.p2.gotoAndStop(1);
_root.p1.gotoAndStop(this._currentframe + 1);
}
} else if (_root.p3._currentframe == 1) {
if (this._currentframe == (_root.p2._currentframe - 1)) {
_root.p3.gotoAndStop(_root.p2._currentframe);
} else {
_root.p1.gotoAndStop(this._currentframe + 1);
_root.p3.gotoAndStop(1);
_root.p2.gotoAndStop(1);
}
}
_root.max_pacmen++;
if (_root.max_combo < int(_root.lbl_multi)) {
_root.max_combo = _root.lbl_multi;
if (int(_root.max_combo >= 19)) {
_root.cr1.nextFrame();
_root.co_cra1 = "yes";
}
if (int(_root.max_combo >= 49)) {
_root.cr2.nextFrame();
_root.co_cra2 = "yes";
}
if (int(_root.max_combo >= 79)) {
_root.cr3.nextFrame();
_root.co_cra3 = "yes";
}
}
if (_root.max_pacmen >= 100) {
_root.pk1.nextFrame();
_root.killer1 = "yes";
}
if (_root.max_pacmen >= 300) {
_root.pk2.nextFrame();
_root.killer2 = "yes";
}
if (_root.max_pacmen >= 600) {
_root.pk3.nextFrame();
_root.killer3 = "yes";
}
_root.lbl_multi++;
if (int(_root.lbl_multi > 1)) {
_root.mc_mul.mcnt.ml = "x" + _root.lbl_multi;
_root.mc_mul._x = _root.ball._x + 15;
_root.mc_mul._y = _root.ball._y - 15;
_root.mc_mul.gotoAndPlay(2);
}
if (_root.end_game == "yes") {
_root.lbl_score = _root.lbl_score + (50 * int(_root.lbl_multi));
} else {
_root.lbl_score = _root.lbl_score + (10 * int(_root.lbl_multi));
}
if (_root.pacmen_cnt > 0) {
_root.pacmen_cnt--;
}
if (_root.expl_cnt > 5) {
_root.expl_cnt = 0;
}
_root.expl_cnt++;
_root.expl.duplicateMovieClip("expl" + _root.expl_cnt, _root.expl_cnt);
_root["expl" + _root.expl_cnt]._x = _x;
_root["expl" + _root.expl_cnt]._y = _y;
_root.ball.ysp = 13;
_root.ball.act = "jump";
xsp = 0;
if (this._currentframe == 1) {
_root["expl" + _root.expl_cnt].gotoAndStop(2);
this.gotoAndStop(5);
} else if (this._currentframe == 2) {
_root["expl" + _root.expl_cnt].gotoAndStop(3);
this.gotoAndStop(6);
} else if (this._currentframe == 3) {
_root["expl" + _root.expl_cnt].gotoAndStop(4);
this.gotoAndStop(7);
} else if (this._currentframe == 4) {
_root["expl" + _root.expl_cnt].gotoAndStop(5);
this.gotoAndStop(8);
}
}
}
Instance of Symbol 147 MovieClip "pac7" in Frame 23
onClipEvent (load) {
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
onClipEvent (enterFrame) {
_x = (_x + xsp);
if (_x > 480) {
_x = 80;
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
if (_root.boss_lazer.hitTest(_x, _y, this._currentframe < 5)) {
if (_root.expl_cnt > 20) {
_root.expl_cnt = 0;
}
_root.expl_cnt++;
_root.expl.duplicateMovieClip("expl" + _root.expl_cnt, _root.expl_cnt);
_root["expl" + _root.expl_cnt]._x = _x;
_root["expl" + _root.expl_cnt]._y = _y;
if (this._currentframe == 1) {
_root["expl" + _root.expl_cnt].gotoAndStop(2);
this.gotoAndStop(5);
} else if (this._currentframe == 2) {
_root["expl" + _root.expl_cnt].gotoAndStop(3);
this.gotoAndStop(6);
} else if (this._currentframe == 3) {
_root["expl" + _root.expl_cnt].gotoAndStop(4);
this.gotoAndStop(7);
} else if (this._currentframe == 4) {
_root["expl" + _root.expl_cnt].gotoAndStop(5);
this.gotoAndStop(8);
}
}
if (this.hit.hitTest(_root.hit) && (_root.ball.act == "fall")) {
if (_root.p1._currentframe == 1) {
if (this._currentframe == 1) {
_root.p1.gotoAndStop(2);
} else if (this._currentframe == 2) {
_root.p1.gotoAndStop(3);
} else if (this._currentframe == 3) {
_root.p1.gotoAndStop(4);
} else if (this._currentframe == 4) {
_root.p1.gotoAndStop(5);
}
} else if (_root.p2._currentframe == 1) {
if (this._currentframe == (_root.p1._currentframe - 1)) {
_root.p2.gotoAndStop(_root.p1._currentframe);
} else {
_root.p2.gotoAndStop(1);
_root.p1.gotoAndStop(this._currentframe + 1);
}
} else if (_root.p3._currentframe == 1) {
if (this._currentframe == (_root.p2._currentframe - 1)) {
_root.p3.gotoAndStop(_root.p2._currentframe);
} else {
_root.p1.gotoAndStop(this._currentframe + 1);
_root.p3.gotoAndStop(1);
_root.p2.gotoAndStop(1);
}
}
_root.max_pacmen++;
if (_root.max_combo < int(_root.lbl_multi)) {
_root.max_combo = _root.lbl_multi;
if (int(_root.max_combo >= 19)) {
_root.cr1.nextFrame();
_root.co_cra1 = "yes";
}
if (int(_root.max_combo >= 49)) {
_root.cr2.nextFrame();
_root.co_cra2 = "yes";
}
if (int(_root.max_combo >= 79)) {
_root.cr3.nextFrame();
_root.co_cra3 = "yes";
}
}
if (_root.max_pacmen >= 100) {
_root.pk1.nextFrame();
_root.killer1 = "yes";
}
if (_root.max_pacmen >= 300) {
_root.pk2.nextFrame();
_root.killer2 = "yes";
}
if (_root.max_pacmen >= 600) {
_root.pk3.nextFrame();
_root.killer3 = "yes";
}
_root.lbl_multi++;
if (int(_root.lbl_multi > 1)) {
_root.mc_mul.mcnt.ml = "x" + _root.lbl_multi;
_root.mc_mul._x = _root.ball._x + 15;
_root.mc_mul._y = _root.ball._y - 15;
_root.mc_mul.gotoAndPlay(2);
}
if (_root.end_game == "yes") {
_root.lbl_score = _root.lbl_score + (50 * int(_root.lbl_multi));
} else {
_root.lbl_score = _root.lbl_score + (10 * int(_root.lbl_multi));
}
if (_root.pacmen_cnt > 0) {
_root.pacmen_cnt--;
}
if (_root.expl_cnt > 5) {
_root.expl_cnt = 0;
}
_root.expl_cnt++;
_root.expl.duplicateMovieClip("expl" + _root.expl_cnt, _root.expl_cnt);
_root["expl" + _root.expl_cnt]._x = _x;
_root["expl" + _root.expl_cnt]._y = _y;
_root.ball.ysp = 13;
_root.ball.act = "jump";
xsp = 0;
if (this._currentframe == 1) {
_root["expl" + _root.expl_cnt].gotoAndStop(2);
this.gotoAndStop(5);
} else if (this._currentframe == 2) {
_root["expl" + _root.expl_cnt].gotoAndStop(3);
this.gotoAndStop(6);
} else if (this._currentframe == 3) {
_root["expl" + _root.expl_cnt].gotoAndStop(4);
this.gotoAndStop(7);
} else if (this._currentframe == 4) {
_root["expl" + _root.expl_cnt].gotoAndStop(5);
this.gotoAndStop(8);
}
}
}
Instance of Symbol 147 MovieClip "pac5" in Frame 23
onClipEvent (load) {
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
onClipEvent (enterFrame) {
_x = (_x + xsp);
if (_x > 480) {
_x = 80;
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
if (_root.boss_lazer.hitTest(_x, _y, true) && (this._currentframe < 5)) {
if (_root.expl_cnt > 20) {
_root.expl_cnt = 0;
}
_root.expl_cnt++;
_root.expl.duplicateMovieClip("expl" + _root.expl_cnt, _root.expl_cnt);
_root["expl" + _root.expl_cnt]._x = _x;
_root["expl" + _root.expl_cnt]._y = _y;
xsp = 0;
if (this._currentframe == 1) {
_root["expl" + _root.expl_cnt].gotoAndStop(2);
this.gotoAndStop(5);
} else if (this._currentframe == 2) {
_root["expl" + _root.expl_cnt].gotoAndStop(3);
this.gotoAndStop(6);
} else if (this._currentframe == 3) {
_root["expl" + _root.expl_cnt].gotoAndStop(4);
this.gotoAndStop(7);
} else if (this._currentframe == 4) {
_root["expl" + _root.expl_cnt].gotoAndStop(5);
this.gotoAndStop(8);
}
}
if (this.hit.hitTest(_root.hit) && (_root.ball.act == "fall")) {
if (_root.p1._currentframe == 1) {
if (this._currentframe == 1) {
_root.p1.gotoAndStop(2);
} else if (this._currentframe == 2) {
_root.p1.gotoAndStop(3);
} else if (this._currentframe == 3) {
_root.p1.gotoAndStop(4);
} else if (this._currentframe == 4) {
_root.p1.gotoAndStop(5);
}
} else if (_root.p2._currentframe == 1) {
if (this._currentframe == (_root.p1._currentframe - 1)) {
_root.p2.gotoAndStop(_root.p1._currentframe);
} else {
_root.p2.gotoAndStop(1);
_root.p1.gotoAndStop(this._currentframe + 1);
}
} else if (_root.p3._currentframe == 1) {
if (this._currentframe == (_root.p2._currentframe - 1)) {
_root.p3.gotoAndStop(_root.p2._currentframe);
} else {
_root.p1.gotoAndStop(this._currentframe + 1);
_root.p3.gotoAndStop(1);
_root.p2.gotoAndStop(1);
}
}
_root.max_pacmen++;
if (_root.max_combo < int(_root.lbl_multi)) {
_root.max_combo = _root.lbl_multi;
if (int(_root.max_combo >= 19)) {
_root.cr1.nextFrame();
_root.co_cra1 = "yes";
}
if (int(_root.max_combo >= 49)) {
_root.cr2.nextFrame();
_root.co_cra2 = "yes";
}
if (int(_root.max_combo >= 79)) {
_root.cr3.nextFrame();
_root.co_cra3 = "yes";
}
}
if (_root.max_pacmen >= 100) {
_root.pk1.nextFrame();
_root.killer1 = "yes";
}
if (_root.max_pacmen >= 300) {
_root.pk2.nextFrame();
_root.killer2 = "yes";
}
if (_root.max_pacmen >= 600) {
_root.pk3.nextFrame();
_root.killer3 = "yes";
}
_root.lbl_multi++;
if (int(_root.lbl_multi > 1)) {
_root.mc_mul.mcnt.ml = "x" + _root.lbl_multi;
_root.mc_mul._x = _root.ball._x + 15;
_root.mc_mul._y = _root.ball._y - 15;
_root.mc_mul.gotoAndPlay(2);
}
if (_root.end_game == "yes") {
_root.lbl_score = _root.lbl_score + (50 * int(_root.lbl_multi));
} else {
_root.lbl_score = _root.lbl_score + (10 * int(_root.lbl_multi));
}
if (_root.pacmen_cnt > 0) {
_root.pacmen_cnt--;
}
if (_root.expl_cnt > 5) {
_root.expl_cnt = 0;
}
_root.expl_cnt++;
_root.expl.duplicateMovieClip("expl" + _root.expl_cnt, _root.expl_cnt);
_root["expl" + _root.expl_cnt]._x = _x;
_root["expl" + _root.expl_cnt]._y = _y;
_root.ball.ysp = 13;
_root.ball.act = "jump";
xsp = 0;
if (this._currentframe == 1) {
_root["expl" + _root.expl_cnt].gotoAndStop(2);
this.gotoAndStop(5);
} else if (this._currentframe == 2) {
_root["expl" + _root.expl_cnt].gotoAndStop(3);
this.gotoAndStop(6);
} else if (this._currentframe == 3) {
_root["expl" + _root.expl_cnt].gotoAndStop(4);
this.gotoAndStop(7);
} else if (this._currentframe == 4) {
_root["expl" + _root.expl_cnt].gotoAndStop(5);
this.gotoAndStop(8);
}
}
}
Instance of Symbol 147 MovieClip "pac3" in Frame 23
onClipEvent (load) {
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
onClipEvent (enterFrame) {
_x = (_x + xsp);
if (_x > 480) {
_x = 80;
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
if (_root.boss_lazer.hitTest(_x, _y, true) && (this._currentframe < 5)) {
if (_root.expl_cnt > 20) {
_root.expl_cnt = 0;
}
_root.expl_cnt++;
_root.expl.duplicateMovieClip("expl" + _root.expl_cnt, _root.expl_cnt);
_root["expl" + _root.expl_cnt]._x = _x;
_root["expl" + _root.expl_cnt]._y = _y;
xsp = 0;
if (this._currentframe == 1) {
_root["expl" + _root.expl_cnt].gotoAndStop(2);
this.gotoAndStop(5);
} else if (this._currentframe == 2) {
_root["expl" + _root.expl_cnt].gotoAndStop(3);
this.gotoAndStop(6);
} else if (this._currentframe == 3) {
_root["expl" + _root.expl_cnt].gotoAndStop(4);
this.gotoAndStop(7);
} else if (this._currentframe == 4) {
_root["expl" + _root.expl_cnt].gotoAndStop(5);
this.gotoAndStop(8);
}
}
if (this.hit.hitTest(_root.hit) && (_root.ball.act == "fall")) {
if (_root.p1._currentframe == 1) {
if (this._currentframe == 1) {
_root.p1.gotoAndStop(2);
} else if (this._currentframe == 2) {
_root.p1.gotoAndStop(3);
} else if (this._currentframe == 3) {
_root.p1.gotoAndStop(4);
} else if (this._currentframe == 4) {
_root.p1.gotoAndStop(5);
}
} else if (_root.p2._currentframe == 1) {
if (this._currentframe == (_root.p1._currentframe - 1)) {
_root.p2.gotoAndStop(_root.p1._currentframe);
} else {
_root.p2.gotoAndStop(1);
_root.p1.gotoAndStop(this._currentframe + 1);
}
} else if (_root.p3._currentframe == 1) {
if (this._currentframe == (_root.p2._currentframe - 1)) {
_root.p3.gotoAndStop(_root.p2._currentframe);
} else {
_root.p1.gotoAndStop(this._currentframe + 1);
_root.p3.gotoAndStop(1);
_root.p2.gotoAndStop(1);
}
}
_root.max_pacmen++;
if (_root.max_combo < int(_root.lbl_multi)) {
_root.max_combo = _root.lbl_multi;
if (int(_root.max_combo >= 19)) {
_root.cr1.nextFrame();
_root.co_cra1 = "yes";
}
if (int(_root.max_combo >= 49)) {
_root.cr2.nextFrame();
_root.co_cra2 = "yes";
}
if (int(_root.max_combo >= 79)) {
_root.cr3.nextFrame();
_root.co_cra3 = "yes";
}
}
if (_root.max_pacmen >= 100) {
_root.pk1.nextFrame();
_root.killer1 = "yes";
}
if (_root.max_pacmen >= 300) {
_root.pk2.nextFrame();
_root.killer2 = "yes";
}
if (_root.max_pacmen >= 600) {
_root.pk3.nextFrame();
_root.killer3 = "yes";
}
_root.lbl_multi++;
if (int(_root.lbl_multi > 1)) {
_root.mc_mul.mcnt.ml = "x" + _root.lbl_multi;
_root.mc_mul._x = _root.ball._x + 15;
_root.mc_mul._y = _root.ball._y - 15;
_root.mc_mul.gotoAndPlay(2);
}
if (_root.end_game == "yes") {
_root.lbl_score = _root.lbl_score + (50 * int(_root.lbl_multi));
} else {
_root.lbl_score = _root.lbl_score + (10 * int(_root.lbl_multi));
}
if (_root.pacmen_cnt > 0) {
_root.pacmen_cnt--;
}
if (_root.expl_cnt > 5) {
_root.expl_cnt = 0;
}
_root.expl_cnt++;
_root.expl.duplicateMovieClip("expl" + _root.expl_cnt, _root.expl_cnt);
_root["expl" + _root.expl_cnt]._x = _x;
_root["expl" + _root.expl_cnt]._y = _y;
_root.ball.ysp = 13;
_root.ball.act = "jump";
xsp = 0;
if (this._currentframe == 1) {
_root["expl" + _root.expl_cnt].gotoAndStop(2);
this.gotoAndStop(5);
} else if (this._currentframe == 2) {
_root["expl" + _root.expl_cnt].gotoAndStop(3);
this.gotoAndStop(6);
} else if (this._currentframe == 3) {
_root["expl" + _root.expl_cnt].gotoAndStop(4);
this.gotoAndStop(7);
} else if (this._currentframe == 4) {
_root["expl" + _root.expl_cnt].gotoAndStop(5);
this.gotoAndStop(8);
}
}
}
Instance of Symbol 147 MovieClip "pac11" in Frame 23
onClipEvent (load) {
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
onClipEvent (enterFrame) {
_x = (_x + xsp);
if (_x > 480) {
_x = 80;
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
if (_root.boss_lazer.hitTest(_x, _y, true) && (this._currentframe < 5)) {
if (_root.expl_cnt > 20) {
_root.expl_cnt = 0;
}
_root.expl_cnt++;
_root.expl.duplicateMovieClip("expl" + _root.expl_cnt, _root.expl_cnt);
_root["expl" + _root.expl_cnt]._x = _x;
_root["expl" + _root.expl_cnt]._y = _y;
xsp = 0;
if (this._currentframe == 1) {
_root["expl" + _root.expl_cnt].gotoAndStop(2);
this.gotoAndStop(5);
} else if (this._currentframe == 2) {
_root["expl" + _root.expl_cnt].gotoAndStop(3);
this.gotoAndStop(6);
} else if (this._currentframe == 3) {
_root["expl" + _root.expl_cnt].gotoAndStop(4);
this.gotoAndStop(7);
} else if (this._currentframe == 4) {
_root["expl" + _root.expl_cnt].gotoAndStop(5);
this.gotoAndStop(8);
}
}
if (this.hit.hitTest(_root.hit) && (_root.ball.act == "fall")) {
if (_root.p1._currentframe == 1) {
if (this._currentframe == 1) {
_root.p1.gotoAndStop(2);
} else if (this._currentframe == 2) {
_root.p1.gotoAndStop(3);
} else if (this._currentframe == 3) {
_root.p1.gotoAndStop(4);
} else if (this._currentframe == 4) {
_root.p1.gotoAndStop(5);
}
} else if (_root.p2._currentframe == 1) {
if (this._currentframe == (_root.p1._currentframe - 1)) {
_root.p2.gotoAndStop(_root.p1._currentframe);
} else {
_root.p2.gotoAndStop(1);
_root.p1.gotoAndStop(this._currentframe + 1);
}
} else if (_root.p3._currentframe == 1) {
if (this._currentframe == (_root.p2._currentframe - 1)) {
_root.p3.gotoAndStop(_root.p2._currentframe);
} else {
_root.p1.gotoAndStop(this._currentframe + 1);
_root.p3.gotoAndStop(1);
_root.p2.gotoAndStop(1);
}
}
_root.max_pacmen++;
if (_root.max_combo < int(_root.lbl_multi)) {
_root.max_combo = _root.lbl_multi;
if (int(_root.max_combo >= 19)) {
_root.cr1.nextFrame();
_root.co_cra1 = "yes";
}
if (int(_root.max_combo >= 49)) {
_root.cr2.nextFrame();
_root.co_cra2 = "yes";
}
if (int(_root.max_combo >= 79)) {
_root.cr3.nextFrame();
_root.co_cra3 = "yes";
}
}
if (_root.max_pacmen >= 100) {
_root.pk1.nextFrame();
_root.killer1 = "yes";
}
if (_root.max_pacmen >= 300) {
_root.pk2.nextFrame();
_root.killer2 = "yes";
}
if (_root.max_pacmen >= 600) {
_root.pk3.nextFrame();
_root.killer3 = "yes";
}
_root.lbl_multi++;
if (int(_root.lbl_multi > 1)) {
_root.mc_mul.mcnt.ml = "x" + _root.lbl_multi;
_root.mc_mul._x = _root.ball._x + 15;
_root.mc_mul._y = _root.ball._y - 15;
_root.mc_mul.gotoAndPlay(2);
}
if (_root.end_game == "yes") {
_root.lbl_score = _root.lbl_score + (50 * int(_root.lbl_multi));
} else {
_root.lbl_score = _root.lbl_score + (10 * int(_root.lbl_multi));
}
if (_root.pacmen_cnt > 0) {
_root.pacmen_cnt--;
}
if (_root.expl_cnt > 5) {
_root.expl_cnt = 0;
}
_root.expl_cnt++;
_root.expl.duplicateMovieClip("expl" + _root.expl_cnt, _root.expl_cnt);
_root["expl" + _root.expl_cnt]._x = _x;
_root["expl" + _root.expl_cnt]._y = _y;
_root.ball.ysp = 13;
_root.ball.act = "jump";
xsp = 0;
if (this._currentframe == 1) {
_root["expl" + _root.expl_cnt].gotoAndStop(2);
this.gotoAndStop(5);
} else if (this._currentframe == 2) {
_root["expl" + _root.expl_cnt].gotoAndStop(3);
this.gotoAndStop(6);
} else if (this._currentframe == 3) {
_root["expl" + _root.expl_cnt].gotoAndStop(4);
this.gotoAndStop(7);
} else if (this._currentframe == 4) {
_root["expl" + _root.expl_cnt].gotoAndStop(5);
this.gotoAndStop(8);
}
}
}
Instance of Symbol 483 MovieClip "sp_pac2" in Frame 23
onClipEvent (load) {
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
onClipEvent (enterFrame) {
_x = (_x + xsp);
if (_x > 480) {
_x = 80;
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
if (this.hit.hitTest(_root.hit) && (_root.ball.act == "fall")) {
var i = 1;
while (i < 22) {
if (_root["pac" + i]._currentframe < 5) {
_root["pac" + i].gotoAndStop(this._currentframe);
}
i++;
}
if (_root.p1._currentframe == 1) {
if (this._currentframe == 1) {
_root.p1.gotoAndStop(2);
} else if (this._currentframe == 2) {
_root.p1.gotoAndStop(3);
} else if (this._currentframe == 3) {
_root.p1.gotoAndStop(4);
} else if (this._currentframe == 4) {
_root.p1.gotoAndStop(5);
}
} else if (_root.p2._currentframe == 1) {
if (this._currentframe == (_root.p1._currentframe - 1)) {
_root.p2.gotoAndStop(_root.p1._currentframe);
} else {
_root.p2.gotoAndStop(1);
_root.p1.gotoAndStop(this._currentframe + 1);
}
} else if (_root.p3._currentframe == 1) {
if (this._currentframe == (_root.p2._currentframe - 1)) {
_root.p3.gotoAndStop(_root.p2._currentframe);
} else {
_root.p1.gotoAndStop(this._currentframe + 1);
_root.p3.gotoAndStop(1);
_root.p2.gotoAndStop(1);
}
}
_root.max_pacmen++;
if (_root.max_combo < int(_root.lbl_multi)) {
_root.max_combo = _root.lbl_multi;
if (int(_root.max_combo >= 19)) {
_root.cr1.nextFrame();
_root.co_cra1 = "yes";
}
if (int(_root.max_combo >= 49)) {
_root.cr2.nextFrame();
_root.co_cra2 = "yes";
}
if (int(_root.max_combo >= 79)) {
_root.cr3.nextFrame();
_root.co_cra3 = "yes";
}
}
if (_root.max_pacmen >= 100) {
_root.pk1.nextFrame();
_root.killer1 = "yes";
}
if (_root.max_pacmen >= 300) {
_root.pk2.nextFrame();
_root.killer2 = "yes";
}
if (_root.max_pacmen >= 600) {
_root.pk3.nextFrame();
_root.killer3 = "yes";
}
_root.lbl_multi++;
if (int(_root.lbl_multi > 1)) {
_root.mc_mul.mcnt.ml = "x" + _root.lbl_multi;
_root.mc_mul._x = _root.ball._x + 15;
_root.mc_mul._y = _root.ball._y - 15;
_root.mc_mul.gotoAndPlay(2);
}
if (_root.end_game == "yes") {
_root.lbl_score = _root.lbl_score + (50 * int(_root.lbl_multi));
} else {
_root.lbl_score = _root.lbl_score + (10 * int(_root.lbl_multi));
}
if (_root.pacmen_cnt > 0) {
_root.pacmen_cnt--;
}
if (_root.expl_cnt > 5) {
_root.expl_cnt = 0;
}
_root.expl_cnt++;
_root.expl.duplicateMovieClip("expl" + _root.expl_cnt, _root.expl_cnt);
_root["expl" + _root.expl_cnt]._x = _x;
_root["expl" + _root.expl_cnt]._y = _y;
_root.ball.ysp = 13;
_root.ball.act = "jump";
xsp = 0;
if (this._currentframe == 1) {
_root["expl" + _root.expl_cnt].gotoAndStop(2);
this.gotoAndStop(5);
} else if (this._currentframe == 2) {
_root["expl" + _root.expl_cnt].gotoAndStop(3);
this.gotoAndStop(6);
} else if (this._currentframe == 3) {
_root["expl" + _root.expl_cnt].gotoAndStop(4);
this.gotoAndStop(7);
} else if (this._currentframe == 4) {
_root["expl" + _root.expl_cnt].gotoAndStop(5);
this.gotoAndStop(8);
}
}
}
Instance of Symbol 170 MovieClip "pink_pac" in Frame 23
onClipEvent (load) {
xsp = random(5) + 3;
_y = (random(100) + 200);
}
onClipEvent (enterFrame) {
if (start_pink) {
_x = (_x + xsp);
if (_x > 480) {
this.gotoAndStop(3);
}
if (this.hit.hitTest(_root.hit) && (_root.ball.act == "fall")) {
_root.pink_pacmen++;
if (_root.pink_pacmen >= 3) {
_root.pink1.nextFrame();
}
if (_root.pink_pacmen >= 6) {
_root.pink2.nextFrame();
}
if (_root.pink_pacmen >= 10) {
_root.pink3.nextFrame();
}
_root.max_pacmen++;
if (_root.max_combo < int(_root.lbl_multi)) {
_root.max_combo = _root.lbl_multi;
if (int(_root.max_combo >= 19)) {
_root.cr1.nextFrame();
_root.co_cra1 = "yes";
}
if (int(_root.max_combo >= 49)) {
_root.cr2.nextFrame();
_root.co_cra2 = "yes";
}
if (int(_root.max_combo >= 79)) {
_root.cr3.nextFrame();
_root.co_cra3 = "yes";
}
}
if (_root.max_pacmen >= 100) {
_root.pk1.nextFrame();
_root.killer1 = "yes";
}
if (_root.max_pacmen >= 300) {
_root.pk2.nextFrame();
_root.killer2 = "yes";
}
if (_root.max_pacmen >= 600) {
_root.pk3.nextFrame();
_root.killer3 = "yes";
}
_root.lbl_multi++;
if (int(_root.lbl_multi > 1)) {
_root.mc_mul.mcnt.ml = "x" + _root.lbl_multi;
_root.mc_mul._x = _root.ball._x + 15;
_root.mc_mul._y = _root.ball._y - 15;
_root.mc_mul.gotoAndPlay(2);
}
if (_root.end_game == "yes") {
_root.lbl_score = _root.lbl_score + (5000 * int(_root.lbl_multi));
} else {
_root.lbl_score = _root.lbl_score + (1000 * int(_root.lbl_multi));
}
if (_root.pacmen_cnt > 0) {
_root.pacmen_cnt--;
}
if (_root.expl_cnt > 5) {
_root.expl_cnt = 0;
}
_root.ball.ysp = 13;
_root.ball.act = "jump";
xsp = 0;
this.gotoAndStop(2);
}
}
}
Instance of Symbol 197 MovieClip "ball" in Frame 23
onClipEvent (load) {
var glevel = _y;
var ysp = 0;
var xsp = 5;
var act = "ground";
var xsp2 = 3;
var m_dir = "";
j = 20;
}
onClipEvent (keyUp) {
if (m_dir == "left") {
roll_left = 1;
m_dir = "";
xsp2 = 3;
} else if (m_dir == "right") {
roll_right = 1;
m_dir = "";
xsp2 = 3;
}
}
onClipEvent (enterFrame) {
if (_root.boss_lazer.hitTest(_x, _y, true)) {
this._rotation = 0;
this.gotoAndStop(3);
_root.b_xpl._x = this._x;
_root.b_xpl._y = this._y;
_root.b_xpl.nextFrame();
}
if (this._currentframe != 3) {
if (shoot_right) {
_x = (_x + 80);
if ((_x >= 370) && (_root.boss._currentframe < 5)) {
_x = 370;
_root.expl._x = _root.ball._x;
_root.expl._y = _root.ball._y;
_root.expl.gotoAndStop(1);
_root.expl.gotoAndStop(_root.p3._currentframe);
_root.f_expl._x = _root.ball._x;
_root.f_expl._y = _root.ball._y;
_root.f_expl.gotoAndStop(1);
_root.f_expl.gotoAndStop(_root.p3._currentframe);
_root.mc_ef.play();
_root.boss.gotoAndStop(4);
_root.p1.gotoAndStop(1);
_root.p2.gotoAndStop(1);
_root.p3.gotoAndStop(1);
_root.boss_lazer.gotoAndStop(1);
ysp = 8;
act = "jump";
b_left = 1;
bsp = 10;
shoot_right = 0;
}
}
if (b_left) {
bsp = bsp - 0.5;
_x = (_x - bsp);
if (bsp <= 1) {
bsp = 0;
b_left = 0;
}
}
if (_root.p3._currentframe == 2) {
if (j > 40) {
j = 20;
}
j++;
_root.b_a.duplicateMovieClip("b_a" + j, j);
_root["b_a" + j]._x = _x;
_root["b_a" + j]._y = _y;
} else if (_root.p3._currentframe == 3) {
if (j > 40) {
j = 20;
}
j++;
_root.b_b.duplicateMovieClip("b_b" + j, j);
_root["b_b" + j]._x = _x;
_root["b_b" + j]._y = _y;
} else if (_root.p3._currentframe == 4) {
if (j > 40) {
j = 20;
}
j++;
_root.b_c.duplicateMovieClip("b_c" + j, j);
_root["b_c" + j]._x = _x;
_root["b_c" + j]._y = _y;
} else if (_root.p3._currentframe == 5) {
if (j > 40) {
j = 20;
}
j++;
_root.b_d.duplicateMovieClip("b_d" + j, j);
_root["b_d" + j]._x = _x;
_root["b_d" + j]._y = _y;
}
if (roll_left) {
xsp2 = xsp2 - 0.5;
_rotation = (_rotation - (xsp2 * 3));
_x = (_x - xsp2);
if (_x < 115) {
_x = 115;
}
if (xsp2 <= 0) {
roll_left = 0;
xsp2 = 3;
}
}
if (roll_right) {
xsp2 = xsp2 - 0.5;
_rotation = (_rotation + (xsp2 * 3));
_x = (_x + xsp2);
if (_x > 430) {
_x = 430;
}
if (xsp2 <= 0) {
roll_right = 0;
xsp2 = 3;
}
}
if (Key.isDown(37)) {
m_dir = "left";
roll_left = 0;
roll_right = 0;
_rotation = (_rotation - (xsp + 5));
_x = (_x - xsp);
if (_x < 115) {
_x = 115;
}
} else if (Key.isDown(39)) {
m_dir = "right";
roll_left = 0;
roll_right = 0;
_rotation = (_rotation + (xsp + 5));
_x = (_x + xsp);
if (_x > 430) {
_x = 430;
}
}
if (act == "fall") {
ysp++;
var i = 0;
while (i < ysp) {
_y = (_y+1);
if (_y >= glevel) {
_y = glevel;
_root.snd_hit_ground.start(0, 0);
_root.lbl_multi = 0;
i = 0;
ysp = i;
act = "ground";
_root.leaves._x = _x;
_root.leaves._y = _y - 30;
_root.leaves.gotoAndPlay(2);
}
i++;
}
} else if (act == "jump") {
ysp--;
this.gotoAndStop(2);
var i = 0;
while (i < ysp) {
_y = (_y-1);
if (ysp <= 1) {
ysp = 0;
act = "fall";
}
i++;
}
}
if (Key.isDown(90) && (act == "ground")) {
_root.snd_jump.start(0, 0);
ysp = 12;
act = "jump";
}
if ((Key.isDown(40) && (act == "jump")) && (_y < (glevel - 5))) {
ysp = 0;
act = "fall";
}
}
}
Instance of Symbol 203 MovieClip "hit" in Frame 23
onClipEvent (enterFrame) {
_x = _root.ball._x;
_y = (_root.ball._y + 15);
}
Instance of Symbol 245 MovieClip "expl" in Frame 23
onClipEvent (load) {
cframe = _root._currentframe;
if (_x < 130) {
this.removeMovieClip();
}
}
onClipEvent (enterFrame) {
if (cframe != _root._currentframe) {
this.removeMovieClip();
}
}
Instance of Symbol 559 MovieClip "boss" in Frame 23
onClipEvent (enterFrame) {
x1 = _x - _root.ball._x;
y1 = _y - _root.ball._y;
dist = Math.sqrt((x1 * x1) + (y1 * y1));
if ((((dist <= 90) && (_root.ball.shoot_right != true)) && (_root.ball.b_left != true)) && (this._currentframe != 5)) {
_root.ball._rotation = 0;
_root.ball.gotoAndStop(3);
_root.b_xpl._x = _root.ball._x;
_root.b_xpl._y = _root.ball._y;
_root.b_xpl.nextFrame();
}
}
Instance of Symbol 560 MovieClip "boss_lazer" in Frame 23
onClipEvent (load) {
snd_laser_beam = new Sound(this);
snd_laser_beam.attachSound("laser_beam");
snd_boss_attack = new Sound(this);
snd_boss_attack.attachSound("boss_attack");
}
Instance of Symbol 566 MovieClip in Frame 23
onClipEvent (enterFrame) {
if (this.hit.hitTest(_root.ball) && (_root.ball.act == "fall")) {
this.gotoAndStop(2);
_root.ball.ysp = 20;
_root.ball.act = "jump";
}
}
Instance of Symbol 365 MovieClip "b_a" in Frame 23
onClipEvent (load) {
ysp = 5 * Math.random();
}
onClipEvent (enterFrame) {
if (ysp <= 1) {
this.removeMovieClip();
} else {
ysp = ysp - 0.1;
_y = (_y - ysp);
}
}
Instance of Symbol 369 MovieClip "b_b" in Frame 23
onClipEvent (load) {
ysp = 5 * Math.random();
}
onClipEvent (enterFrame) {
if (ysp <= 1) {
this.removeMovieClip();
} else {
ysp = ysp - 0.1;
_y = (_y - ysp);
}
}
Instance of Symbol 372 MovieClip "b_c" in Frame 23
onClipEvent (load) {
ysp = 5 * Math.random();
}
onClipEvent (enterFrame) {
if (ysp <= 1) {
this.removeMovieClip();
} else {
ysp = ysp - 0.1;
_y = (_y - ysp);
}
}
Instance of Symbol 376 MovieClip "b_d" in Frame 23
onClipEvent (load) {
ysp = 5 * Math.random();
}
onClipEvent (enterFrame) {
if (ysp <= 1) {
this.removeMovieClip();
} else {
ysp = ysp - 0.1;
_y = (_y - ysp);
}
}
Instance of Symbol 573 MovieClip "f_expl" in Frame 23
onClipEvent (load) {
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
onClipEvent (enterFrame) {
_x = (_x + xsp);
if (_x > 480) {
_x = 80;
xsp = random(5) + 2;
this.gotoAndStop(random(4) + 1);
}
if (_root.boss_lazer.hitTest(_x, _y, true) && (this._currentframe < 5)) {
if (_root.expl_cnt > 20) {
_root.expl_cnt = 0;
}
_root.expl_cnt++;
_root.expl.duplicateMovieClip("expl" + _root.expl_cnt, _root.expl_cnt);
_root["expl" + _root.expl_cnt]._x = _x;
_root["expl" + _root.expl_cnt]._y = _y;
xsp = 0;
if (this._currentframe == 1) {
_root["expl" + _root.expl_cnt].gotoAndStop(2);
this.gotoAndStop(5);
} else if (this._currentframe == 2) {
_root["expl" + _root.expl_cnt].gotoAndStop(3);
this.gotoAndStop(6);
} else if (this._currentframe == 3) {
_root["expl" + _root.expl_cnt].gotoAndStop(4);
this.gotoAndStop(7);
} else if (this._currentframe == 4) {
_root["expl" + _root.expl_cnt].gotoAndStop(5);
this.gotoAndStop(8);
}
}
if (this.hit.hitTest(_root.hit) && (_root.ball.act == "fall")) {
if (_root.p1._currentframe == 1) {
if (this._currentframe == 1) {
_root.p1.gotoAndStop(2);
} else if (this._currentframe == 2) {
_root.p1.gotoAndStop(3);
} else if (this._currentframe == 3) {
_root.p1.gotoAndStop(4);
} else if (this._currentframe == 4) {
_root.p1.gotoAndStop(5);
}
} else if (_root.p2._currentframe == 1) {
if (this._currentframe == (_root.p1._currentframe - 1)) {
_root.p2.gotoAndStop(_root.p1._currentframe);
} else {
_root.p2.gotoAndStop(1);
_root.p1.gotoAndStop(this._currentframe + 1);
}
} else if (_root.p3._currentframe == 1) {
if (this._currentframe == (_root.p2._currentframe - 1)) {
_root.p3.gotoAndStop(_root.p2._currentframe);
} else {
_root.p1.gotoAndStop(this._currentframe + 1);
_root.p3.gotoAndStop(1);
_root.p2.gotoAndStop(1);
}
}
_root.max_pacmen++;
if (_root.max_combo < int(_root.lbl_multi)) {
_root.max_combo = _root.lbl_multi;
if (int(_root.max_combo >= 19)) {
_root.cr1.nextFrame();
_root.co_cra1 = "yes";
}
if (int(_root.max_combo >= 49)) {
_root.cr2.nextFrame();
_root.co_cra2 = "yes";
}
if (int(_root.max_combo >= 79)) {
_root.cr3.nextFrame();
_root.co_cra3 = "yes";
}
}
if (_root.max_pacmen >= 100) {
_root.pk1.nextFrame();
_root.killer1 = "yes";
}
if (_root.max_pacmen >= 300) {
_root.pk2.nextFrame();
_root.killer2 = "yes";
}
if (_root.max_pacmen >= 600) {
_root.pk3.nextFrame();
_root.killer3 = "yes";
}
_root.lbl_multi++;
if (int(_root.lbl_multi > 1)) {
_root.mc_mul.mcnt.ml = "x" + _root.lbl_multi;
_root.mc_mul._x = _root.ball._x + 15;
_root.mc_mul._y = _root.ball._y - 15;
_root.mc_mul.gotoAndPlay(2);
}
if (_root.end_game == "yes") {
_root.lbl_score = _root.lbl_score + (50 * int(_root.lbl_multi));
} else {
_root.lbl_score = _root.lbl_score + (10 * int(_root.lbl_multi));
}
if (_root.pacmen_cnt > 0) {
_root.pacmen_cnt--;
}
if (_root.expl_cnt > 5) {
_root.expl_cnt = 0;
}
_root.expl_cnt++;
_root.expl.duplicateMovieClip("expl" + _root.expl_cnt, _root.expl_cnt);
_root["expl" + _root.expl_cnt]._x = _x;
_root["expl" + _root.expl_cnt]._y = _y;
_root.ball.ysp = 13;
_root.ball.act = "jump";
xsp = 0;
if (this._currentframe == 1) {
_root["expl" + _root.expl_cnt].gotoAndStop(2);
this.gotoAndStop(5);
} else if (this._currentframe == 2) {
_root["expl" + _root.expl_cnt].gotoAndStop(3);
this.gotoAndStop(6);
} else if (this._currentframe == 3) {
_root["expl" + _root.expl_cnt].gotoAndStop(4);
this.gotoAndStop(7);
} else if (this._currentframe == 4) {
_root["expl" + _root.expl_cnt].gotoAndStop(5);
this.gotoAndStop(8);
}
}
}
Instance of Symbol 589 MovieClip "mc_grass" in Frame 23
onClipEvent (load) {
tmpdepth = this.getDepth();
this.swapDepths(100);
}
Instance of Symbol 351 MovieClip "mc_ef" in Frame 23
onClipEvent (load) {
tmpdepth = this.getDepth();
this.swapDepths(110);
}
Instance of Symbol 594 MovieClip "vcam" in Frame 23
onClipEvent (load) {
xpos = _x;
ypos = _y;
i = 0;
}
onClipEvent (enterFrame) {
if (land) {
i++;
if (i == 1) {
_y = (ypos + 4);
} else if (i == 2) {
_y = (ypos - 2);
} else if (i == 3) {
_y = (ypos + 1);
} else if (i == 4) {
_y = ypos;
i = 0;
land = 0;
}
}
if (lazer) {
i++;
if (i == 1) {
_y = (ypos - 3);
} else if (i == 2) {
_y = (ypos + 3);
_x = (xpos + 3);
} else if (i == 3) {
_y = ypos;
_x = (xpos - 3);
i = 0;
}
}
}
Instance of Symbol 595 MovieClip "game_fin" in Frame 23
onClipEvent (load) {
tmpdepth = this.getDepth();
this.swapDepths(112);
}
Frame 24
_root.king_kill = "yes";
stop();
Frame 25
stop();
if (_root.end_game == "yes") {
_root.time_bon = _root.time_bon + int(_root.lbl_time);
}
_root.lbl_score = int(_root.lbl_score) * int(_root.lbl_lives);
if (_root.pk1._currentframe == 2) {
_root.lbl_score = _root.lbl_score + 10000;
} else {
_root.pkill1.nextFrame();
}
if (_root.pk2._currentframe == 2) {
_root.lbl_score = _root.lbl_score + 30000;
} else {
_root.pkill2.nextFrame();
}
if (_root.pk3._currentframe == 2) {
_root.lbl_score = _root.lbl_score + 1000000;
} else {
_root.pkill3.nextFrame();
}
if (_root.per_health._currentframe == 2) {
_root.lbl_score = _root.lbl_score + 500000;
} else {
_root.ph.nextFrame();
}
if (_root.quicksilver._currentframe == 2) {
_root.lbl_score = _root.lbl_score + 800000;
} else {
_root.qs.nextFrame();
}
if (_root.col_mayhem._currentframe == 2) {
_root.lbl_score = _root.lbl_score + 700000;
} else {
_root.cbm.nextFrame();
}
if (_root.king_kill == "yes") {
_root.lbl_score = _root.lbl_score + 500000;
} else {
_root.king.nextFrame();
}
if (_root.cr1._currentframe == 2) {
_root.lbl_score = _root.lbl_score + 20000;
} else {
_root.ccr1.nextFrame();
}
if (_root.cr2._currentframe == 2) {
_root.lbl_score = _root.lbl_score + 50000;
} else {
_root.ccr2.nextFrame();
}
if (_root.cr3._currentframe == 2) {
_root.lbl_score = _root.lbl_score + 800000;
} else {
_root.ccr3.nextFrame();
}
if (_root.pink1._currentframe == 2) {
_root.lbl_score = _root.lbl_score + 25000;
} else {
_root.pm1.nextFrame();
}
if (_root.pink2._currentframe == 2) {
_root.lbl_score = _root.lbl_score + 85000;
} else {
_root.pm2.nextFrame();
}
if (_root.pink3._currentframe == 2) {
_root.lbl_score = _root.lbl_score + 800000;
} else {
_root.pm3.nextFrame();
}
_root.pk1.prevFrame();
_root.pk2.prevFrame();
_root.pk3.prevFrame();
_root.cr1.prevFrame();
_root.cr2.prevFrame();
_root.cr3.prevFrame();
_root.col_mayhem.prevFrame();
_root.per_health.prevFrame();
_root.quicksilver.prevFrame();
_root.pink1.prevFrame();
_root.pink2.prevFrame();
_root.pink3.prevFrame();
Instance of Symbol 619 MovieClip "pkill1" in Frame 25
on (rollOver) {
_root.ach_info.gotoAndStop(2);
}
on (rollOut) {
_root.ach_info.gotoAndStop(1);
}
Instance of Symbol 622 MovieClip "pkill2" in Frame 25
on (rollOver) {
_root.ach_info.gotoAndStop(3);
}
on (rollOut) {
_root.ach_info.gotoAndStop(1);
}
Instance of Symbol 625 MovieClip "pkill3" in Frame 25
on (rollOver) {
_root.ach_info.gotoAndStop(4);
}
on (rollOut) {
_root.ach_info.gotoAndStop(1);
}
Instance of Symbol 630 MovieClip "ccr1" in Frame 25
on (rollOver) {
_root.ach_info.gotoAndStop(8);
}
on (rollOut) {
_root.ach_info.gotoAndStop(1);
}
Instance of Symbol 634 MovieClip "ccr2" in Frame 25
on (rollOver) {
_root.ach_info.gotoAndStop(9);
}
on (rollOut) {
_root.ach_info.gotoAndStop(1);
}
Instance of Symbol 637 MovieClip "ccr3" in Frame 25
on (rollOver) {
_root.ach_info.gotoAndStop(10);
}
on (rollOut) {
_root.ach_info.gotoAndStop(1);
}
Instance of Symbol 641 MovieClip "pm1" in Frame 25
on (rollOver) {
_root.ach_info.gotoAndStop(5);
}
on (rollOut) {
_root.ach_info.gotoAndStop(1);
}
Instance of Symbol 644 MovieClip "pm2" in Frame 25
on (rollOver) {
_root.ach_info.gotoAndStop(6);
}
on (rollOut) {
_root.ach_info.gotoAndStop(1);
}
Instance of Symbol 647 MovieClip "pm3" in Frame 25
on (rollOver) {
_root.ach_info.gotoAndStop(7);
}
on (rollOut) {
_root.ach_info.gotoAndStop(1);
}
Instance of Symbol 658 MovieClip "cbm" in Frame 25
on (rollOver) {
_root.ach_info.gotoAndStop(11);
}
on (rollOut) {
_root.ach_info.gotoAndStop(1);
}
Instance of Symbol 662 MovieClip "king" in Frame 25
on (rollOver) {
_root.ach_info.gotoAndStop(12);
}
on (rollOut) {
_root.ach_info.gotoAndStop(1);
}
Instance of Symbol 666 MovieClip "qs" in Frame 25
on (rollOver) {
_root.ach_info.gotoAndStop(13);
}
on (rollOut) {
_root.ach_info.gotoAndStop(1);
}
Instance of Symbol 670 MovieClip "ph" in Frame 25
on (rollOver) {
_root.ach_info.gotoAndStop(14);
}
on (rollOut) {
_root.ach_info.gotoAndStop(1);
}
Symbol 16 MovieClip Frame 1
function timerHandler() {
if (!loadingComplete) {
var _local4 = _root.getBytesLoaded() / _root.getBytesTotal();
bar._xscale = 100 * _local4;
if (_local4 == 1) {
loadingComplete = true;
if (AUTO_PLAY) {
startMovie();
} else {
gotoAndPlay ("loaded");
}
return(undefined);
}
}
dt = getTimer() - time;
time = time + dt;
frameAccum = frameAccum + dt;
var _local3 = 0;
while ((frameAccum >= FRAME_TIME) && (_local3 < MAX_FRAME_SKIP)) {
advanceFrame(tankLogo, true, true);
advanceFrame(loadingText, false, true);
advanceFrame(barGfx, false, true);
if (loadingComplete) {
advanceFrame(this, false, false);
}
(frameAccum = frameAccum - FRAME_TIME);
_local3++;
}
updateAfterEvent();
}
function advanceFrame(clip, recurse, loop) {
if (!clip) {
return(undefined);
}
clip.stop();
if (clip._currentframe == clip._totalframes) {
if (loop) {
clip.gotoAndStop(1);
}
} else {
clip.nextFrame();
}
if (recurse) {
for (childName in clip) {
if (typeof(clip[childName]) == "movieclip") {
advanceFrame(clip[childName], recurse, loop);
}
}
}
}
function startMovie() {
clearInterval(intervalId);
_root.play();
}
_root.stop();
stop();
var FRAME_TIME = 33.3333333333333;
var AUTO_PLAY = false;
var MAX_FRAME_SKIP = 5;
var loadingComplete;
var intervalId;
var time;
var frameAccum;
loadingComplete = false;
intervalId = setInterval(this, "timerHandler", FRAME_TIME / 2);
frameAccum = 0;
time = getTimer();
timerHandler();
Symbol 16 MovieClip Frame 35
_root.play();
Symbol 703 MovieClip [__Packages.mochi.as2.MochiSync] Frame 0
class mochi.as2.MochiSync
{
var _syncContainer;
function MochiSync () {
_syncContainer = {};
}
function getProp(name) {
return(_syncContainer[name]);
}
function setProp(name, value) {
if (_syncContainer[name] == value) {
return(undefined);
}
_syncContainer[name] = value;
mochi.as2.MochiServices.send("sync_propUpdate", {name:name, value:value});
}
function triggerEvent(eventType, args) {
switch (eventType) {
case SYNC_REQUEST :
mochi.as2.MochiServices.send("sync_syncronize", _syncContainer);
break;
case SYNC_PROPERTY :
_syncContainer[args.name] = args.value;
}
}
static var SYNC_REQUEST = "SyncRequest";
static var SYNC_PROPERTY = "UpdateProperty";
}
Symbol 704 MovieClip [__Packages.mochi.as2.MochiServices] Frame 0
class mochi.as2.MochiServices
{
static var _id, _container, _clip, _sendChannelName, __get__comChannelName, onError, _listenChannel, _sendChannel;
function MochiServices () {
}
static function get id() {
return(_id);
}
static function get clip() {
return(_container);
}
static function get childClip() {
return(_clip);
}
static function getVersion() {
return("3.7 as2");
}
static function allowDomains(server) {
var _local1 = server.split("/")[2].split(":")[0];
if (System.security) {
if (System.security.allowDomain) {
System.security.allowDomain("*");
System.security.allowDomain(_local1);
}
if (System.security.allowInsecureDomain) {
System.security.allowInsecureDomain("*");
System.security.allowInsecureDomain(_local1);
}
}
return(_local1);
}
static function get isNetworkAvailable() {
if (System.security) {
var _local1 = System.security;
if (_local1.sandboxType == "localWithFile") {
return(false);
}
}
return(true);
}
static function set comChannelName(val) {
if (val != undefined) {
if (val.length > 3) {
_sendChannelName = val + "_fromgame";
initComChannels();
}
}
//return(__get__comChannelName());
}
static function get connected() {
return(_connected);
}
static function connect(id, clip, onError) {
warnID(id, false);
if ((!_connected) && (_clip == undefined)) {
trace("MochiServices Connecting...");
_connecting = true;
init(id, clip);
}
if (onError != undefined) {
mochi.as2.MochiServices.onError = onError;
} else if (mochi.as2.MochiServices.onError == undefined) {
mochi.as2.MochiServices.onError = function (errorCode) {
trace(errorCode);
};
}
}
static function disconnect() {
if (_connected || (_connecting)) {
_connecting = (_connected = false);
flush(true);
if (_clip != undefined) {
_clip.removeMovieClip();
delete _clip;
}
_listenChannel.close();
}
}
static function init(id, clip) {
_id = id;
if (clip != undefined) {
_container = clip;
} else {
_container = _root;
}
loadCommunicator(id, _container);
}
static function loadCommunicator(id, clip) {
var _local6 = "_mochiservices_com_" + id;
var _local5 = new MovieClipLoader();
var _local3 = {};
if (_clip != null) {
return(_clip);
}
if (!isNetworkAvailable) {
return(null);
}
if (urlOptions().servURL) {
_servURL = urlOptions().servURL;
}
var _local4 = _servURL + _services;
if (urlOptions().servicesURL) {
_local4 = urlOptions().servicesURL;
}
allowDomains(_local4);
_clip = clip.createEmptyMovieClip(_local6, 10336, false);
_listenChannelName = _listenChannelName + ((Math.floor(new Date().getTime()) + "_") + Math.floor(Math.random() * 99999));
listen();
if (_local3.waitInterval != null) {
clearInterval(_local3.waitInterval);
}
_local3.onLoadError = loadError;
_local3.onLoadStart = function (target_mc) {
this.isLoading = true;
};
_local3.onLoadComplete = function (target_mc) {
target_mc.MochiServices = mochi.as2.MochiServices;
};
_local3.startTime = getTimer();
_local3.wait = function () {
if ((getTimer() - this.startTime) > 10000) {
if (!this.isLoading) {
mochi.as2.MochiServices.disconnect();
mochi.as2.MochiServices.onError.apply(null, ["IOError"]);
}
clearInterval(this.waitInterval);
}
};
_local3.waitInterval = setInterval(_local3, "wait", 1000);
_local5.addListener(_local3);
_local5.loadClip((((((_local4 + "?listenLC=") + _listenChannelName) + "&mochiad_options=") + escape(_root.mochiad_options)) + "&api_version=") + getVersion(), _clip);
_sendChannel = new LocalConnection();
_sendChannel._queue = [];
return(_clip);
}
static function loadError(target_mc, errorCode, httpStatus) {
trace("MochiServices could not load.");
disconnect();
onError.apply(null, [errorCode]);
}
static function onStatus(infoObject) {
if (!(infoObject.level === "error")) {
} else {
_connected = false;
_listenChannel.connect(_listenChannelName);
}
}
static function listen() {
_listenChannel = new LocalConnection();
_listenChannel.handshake = function (args) {
mochi.as2.MochiServices.__set__comChannelName(args.newChannel);
};
_listenChannel.allowDomain = function (d) {
return(true);
};
_listenChannel.allowInsecureDomain = _listenChannel.allowDomain;
_listenChannel._nextcallbackID = 0;
_listenChannel._callbacks = {};
_listenChannel.connect(_listenChannelName);
trace("Waiting for MochiAds services to connect...");
}
static function initComChannels() {
if (!_connected) {
_sendChannel.onStatus = function (infoObject) {
mochi.as2.MochiServices.onStatus(infoObject);
};
_sendChannel.send(_sendChannelName, "onReceive", {methodName:"handshakeDone"});
_sendChannel.send(_sendChannelName, "onReceive", {methodName:"registerGame", id:_id, version:getVersion()});
_listenChannel.onStatus = function (infoObject) {
mochi.as2.MochiServices.onStatus(infoObject);
};
_listenChannel.onReceive = function (pkg) {
var _local5 = pkg.callbackID;
var _local4 = this._callbacks[_local5];
if (!_local4) {
return(undefined);
}
var _local2 = _local4.callbackMethod;
var _local3 = _local4.callbackObject;
if (_local3 && (typeof(_local2) == "string")) {
_local2 = _local3[_local2];
}
if (_local2 != undefined) {
_local2.apply(_local3, pkg.args);
}
delete this._callbacks[_local5];
};
_listenChannel.onEvent = function (pkg) {
switch (pkg.target) {
case "events" :
mochi.as2.MochiEvents.triggerEvent(pkg.event, pkg.args);
break;
case "coins" :
mochi.as2.MochiSocial.triggerEvent(pkg.event, pkg.args);
break;
case "sync" :
mochi.as2.MochiServices.servicesSync.triggerEvent(pkg.event, pkg.args);
}
};
_listenChannel.onError = function () {
mochi.as2.MochiServices.onError.apply(null, ["IOError"]);
};
trace("[SERVICES_API] connected!");
_connecting = false;
_connected = true;
while (_sendChannel._queue.length > 0) {
_sendChannel.send(_sendChannelName, "onReceive", _sendChannel._queue.shift());
}
}
}
static function flush(error) {
var _local1;
var _local2;
while (_sendChannel._queue.length > 0) {
_local1 = _sendChannel._queue.shift();
if (_local1.callbackID != null) {
_local2 = _listenChannel._callbacks[_local1.callbackID];
}
delete _listenChannel._callbacks[_local1.callbackID];
if (error) {
handleError(_local1.args, _local2.callbackObject, _local2.callbackMethod);
}
}
}
static function handleError(args, callbackObject, callbackMethod) {
if (args != null) {
if (args.onError != null) {
args.onError.apply(null, ["NotConnected"]);
}
if ((args.options != null) && (args.options.onError != null)) {
args.options.onError.apply(null, ["NotConnected"]);
}
}
if (callbackMethod != null) {
args = {};
args.error = true;
args.errorCode = "NotConnected";
if ((callbackObject != null) && (typeof(callbackMethod) == "string")) {
callbackObject[callbackMethod](args);
} else if (callbackMethod != null) {
callbackMethod.apply(args);
}
}
}
static function send(methodName, args, callbackObject, callbackMethod) {
if (_connected) {
_sendChannel.send(_sendChannelName, "onReceive", {methodName:methodName, args:args, callbackID:_listenChannel._nextcallbackID});
} else {
if ((_clip == undefined) || (!_connecting)) {
trace("Error: MochiServices not connected. Please call MochiServices.connect(). Function: " + methodName);
handleError(args, callbackObject, callbackMethod);
flush(true);
return(undefined);
}
_sendChannel._queue.push({methodName:methodName, args:args, callbackID:_listenChannel._nextcallbackID});
}
_listenChannel._callbacks[_listenChannel._nextcallbackID] = {callbackObject:callbackObject, callbackMethod:callbackMethod};
_listenChannel._nextcallbackID++;
}
static function urlOptions() {
var _local5 = {};
var _local6;
if (_root._url.indexOf("mochiad_options") != -1) {
var _local2 = (_root._url.indexOf("mochiad_options") + "mochiad_options".length) + 1;
_local6 = _root._url.substr(_local2, _root._url.length);
} else if (_root.mochiad_options) {
_local6 = _root.mochiad_options;
}
if (_local6) {
var _local4 = _root.mochiad_options.split("&");
var _local2 = 0;
while (_local2 < _local4.length) {
var _local3 = _local4[_local2].split("=");
_local5[unescape(_local3[0])] = unescape(_local3[1]);
_local2++;
}
}
return(_local5);
}
static function warnID(bid, leaderboard) {
bid = bid.toLowerCase();
if (bid.length != 16) {
trace(("WARNING: " + (leaderboard ? "board" : "game")) + " ID is not the appropriate length");
return(undefined);
}
if (bid == "1e113c7239048b3f") {
if (leaderboard) {
trace("WARNING: Using testing board ID");
} else {
trace("WARNING: Using testing board ID as game ID");
}
return(undefined);
}
if (bid == "84993a1de4031cd8") {
if (leaderboard) {
trace("WARNING: Using testing game ID as board ID");
} else {
trace("WARNING: Using testing game ID");
}
return(undefined);
}
var _local1 = 0;
while (_local1 < bid.length) {
switch (bid.charAt(_local1)) {
case "0" :
case "1" :
case "2" :
case "3" :
case "4" :
case "5" :
case "6" :
case "7" :
case "8" :
case "9" :
case "a" :
case "b" :
case "c" :
case "d" :
case "e" :
case "f" :
break;
default :
trace("WARNING: Board ID contains illegal characters: " + bid);
return(undefined);
}
_local1++;
}
}
static function addLinkEvent(url, burl, btn, onClick) {
var timeout = 1500;
var t0 = getTimer();
var _local2 = new Object();
_local2.mav = getVersion();
_local2.swfv = btn.getSWFVersion() || 6;
_local2.swfurl = btn._url;
_local2.fv = System.capabilities.version;
_local2.os = System.capabilities.os;
_local2.lang = System.capabilities.language;
_local2.scres = (System.capabilities.screenResolutionX + "x") + System.capabilities.screenResolutionY;
var s = "?";
var _local3 = 0;
for (var _local6 in _local2) {
if (_local3 != 0) {
s = s + "&";
}
_local3++;
s = ((s + _local6) + "=") + escape(_local2[_local6]);
}
if (!(netupAttempted || (_connected))) {
var ping = btn.createEmptyMovieClip("ping", 777);
var _local7 = btn.createEmptyMovieClip("nettest", 778);
netupAttempted = true;
ping.loadMovie("http://x.mochiads.com/linkping.swf?t=" + getTimer());
_local7.onEnterFrame = function () {
if ((ping._totalframes > 0) && (ping._totalframes == ping._framesloaded)) {
delete this.onEnterFrame;
} else if ((getTimer() - t0) > timeout) {
delete this.onEnterFrame;
mochi.as2.MochiServices.netup = false;
}
};
}
var _local4 = btn.createEmptyMovieClip("clk", 1001);
_local4._alpha = 0;
_local4.beginFill(1044735);
_local4.moveTo(0, 0);
_local4.lineTo(0, btn._height);
_local4.lineTo(btn._width, btn._height);
_local4.lineTo(btn._width, 0);
_local4.lineTo(0, 0);
_local4.endFill();
_local4.onRelease = function () {
if (mochi.as2.MochiServices.netup) {
getURL (url + s, "_blank");
} else {
getURL (burl, "_blank");
}
if (onClick != undefined) {
onClick();
}
};
}
static function setContainer(clip) {
}
static function stayOnTop(clip) {
}
static var _servURL = "http://www.mochiads.com/static/lib/services/";
static var _services = "services.swf";
static var _mochiLC = "MochiLC.swf";
static var _listenChannelName = "__ms_";
static var _connecting = false;
static var _connected = false;
static var netup = true;
static var netupAttempted = false;
static var servicesSync = new mochi.as2.MochiSync();
}
Symbol 705 MovieClip [__Packages.mochi.as2.MochiEventDispatcher] Frame 0
class mochi.as2.MochiEventDispatcher
{
var eventTable;
function MochiEventDispatcher () {
eventTable = {};
}
function buildDelegate(thisObject, thatObject) {
var _local2 = {thisObject:thisObject, thatObject:thatObject};
if (thatObject != undefined) {
var funct = ((typeof(thatObject) == "string") ? (thisObject[thatObject]) : (thatObject));
_local2.delegate = function (args) {
funct.call(thisObject, args);
};
} else {
_local2.delegate = thisObject;
}
return(_local2);
}
function compareDelegate(d_A, d_B) {
if ((d_A.thisObject != d_B.thisObject) || (d_A.thatObject != d_B.thatObject)) {
return(false);
}
return(true);
}
function addEventListener(event, thisObject, thatObject) {
removeEventListener(event, thisObject, thatObject);
eventTable[event].push(buildDelegate(thisObject, thatObject));
}
function removeEventListener(event, thisObject, thatObject) {
var _local3 = buildDelegate(thisObject, thatObject);
if (eventTable[event] == undefined) {
eventTable[event] = [];
return(undefined);
}
for (var _local4 in eventTable[event]) {
if (!compareDelegate(eventTable[event][_local4], _local3)) {
continue;
}
eventTable[event].splice(Number(_local4), 1);
}
}
function triggerEvent(event, args) {
if (eventTable[event] == undefined) {
return(undefined);
}
for (var _local4 in eventTable[event]) {
eventTable[event][_local4].delegate(args);
}
}
}
Symbol 706 MovieClip [__Packages.mochi.as2.MochiEvents] Frame 0
class mochi.as2.MochiEvents
{
static var gameStart, levelStart;
function MochiEvents () {
}
static function getVersion() {
return(mochi.as2.MochiServices.getVersion());
}
static function startSession(achievementID) {
mochi.as2.MochiServices.send("events_beginSession", {achievementID:achievementID}, null, null);
}
static function trigger(kind, obj) {
if (obj == undefined) {
obj = {};
} else if (obj.kind != undefined) {
trace("WARNING: optional arguements package contains key 'id', it will be overwritten");
obj.kind = kind;
}
mochi.as2.MochiServices.send("events_triggerEvent", {eventObject:obj}, null, null);
}
static function setNotifications(clip, style) {
var _local2 = {};
for (var _local3 in style) {
_local2[_local3] = style[_local3];
}
_local2.clip = clip;
mochi.as2.MochiServices.send("events_setNotifications", _local2, null, null);
}
static function addEventListener(eventType, thisObject, thatObject) {
_dispatcher.addEventListener(eventType, thisObject, thatObject);
}
static function triggerEvent(eventType, args) {
_dispatcher.triggerEvent(eventType, args);
}
static function removeEventListener(eventType, thisObject, thatObject) {
_dispatcher.removeEventListener(eventType, thisObject, thatObject);
}
static function startGame() {
gameStart = new Date().getTime();
trigger("start_game");
}
static function endGame() {
var _local1 = new Date().getTime() - gameStart;
trigger("end_game", {time:_local1});
}
static function startLevel() {
levelStart = new Date().getTime();
trigger("start_level");
}
static function endLevel() {
var _local1 = new Date().getTime() - levelStart;
trigger("end_level", {time:_local1});
}
static var ACHIEVEMENT_RECEIVED = "AchievementReceived";
static var ALIGN_TOP_LEFT = "ALIGN_TL";
static var ALIGN_TOP = "ALIGN_T";
static var ALIGN_TOP_RIGHT = "ALIGN_TR";
static var ALIGN_LEFT = "ALIGN_L";
static var ALIGN_CENTER = "ALIGN_C";
static var ALIGN_RIGHT = "ALIGN_R";
static var ALIGN_BOTTOM_LEFT = "ALIGN_BL";
static var ALIGN_BOTTOM = "ALIGN_B";
static var ALIGN_BOTTOM_RIGHT = "ALIGN_BR";
static var FORMAT_SHORT = "ShortForm";
static var FORMAT_LONG = "LongForm";
static var _dispatcher = new mochi.as2.MochiEventDispatcher();
}
Symbol 707 MovieClip [__Packages.mochi.as2.MochiSocial] Frame 0
class mochi.as2.MochiSocial
{
function MochiSocial () {
}
static function getVersion() {
return(mochi.as2.MochiServices.getVersion());
}
static function showLoginWidget(options) {
mochi.as2.MochiServices.setContainer();
mochi.as2.MochiServices.stayOnTop();
mochi.as2.MochiServices.send("coins_showLoginWidget", {options:options});
}
static function hideLoginWidget() {
mochi.as2.MochiServices.send("coins_hideLoginWidget");
}
static function requestLogin() {
mochi.as2.MochiServices.send("coins_requestLogin");
}
static function getUserInfo() {
mochi.as2.MochiServices.send("coins_getUserInfo");
}
static function saveUserProperties(properties) {
mochi.as2.MochiServices.send("coins_saveUserProperties", properties);
}
static function addEventListener(eventType, delegate) {
_dispatcher.addEventListener(eventType, delegate);
}
static function triggerEvent(eventType, args) {
_dispatcher.triggerEvent(eventType, args);
}
static function removeEventListener(eventType, delegate) {
_dispatcher.removeEventListener(eventType, delegate);
}
static var LOGGED_IN = "LoggedIn";
static var LOGGED_OUT = "LoggedOut";
static var LOGIN_SHOW = "LoginShow";
static var LOGIN_HIDE = "LoginHide";
static var LOGIN_SHOWN = "LoginShown";
static var PROFILE_SHOW = "ProfileShow";
static var PROFILE_HIDE = "ProfileHide";
static var PROPERTIES_SAVED = "PropertySaved";
static var WIDGET_LOADED = "WidgetLoaded";
static var USER_INFO = "UserInfo";
static var ERROR = "Error";
static var IO_ERROR = "IOError";
static var NO_USER = "NoUser";
static var PROPERTIES_SIZE = "PropertiesSize";
static var _dispatcher = new mochi.as2.MochiEventDispatcher();
}
Symbol 708 MovieClip [__Packages.mochi.as2.MochiScores] Frame 0
class mochi.as2.MochiScores
{
static var boardID, onClose, onError;
function MochiScores () {
}
static function setBoardID(boardID) {
mochi.as2.MochiServices.warnID(boardID, true);
mochi.as2.MochiScores.boardID = boardID;
mochi.as2.MochiServices.send("scores_setBoardID", {boardID:boardID});
}
static function showLeaderboard(options) {
options.clip = mochi.as2.MochiServices.clip;
if ((options.clip != mochi.as2.MochiServices.__get__clip()) || (mochi.as2.MochiServices.__get__childClip()._target == undefined)) {
mochi.as2.MochiServices.disconnect();
trace("WARNING! This application is attempting to connect to MochiServices inside a showLeaderboard call!");
trace("make sure MochiServices.connect is called as early in the application runtime as possible.");
mochi.as2.MochiServices.connect(mochi.as2.MochiServices.__get__id(), options.clip);
}
delete options.clip;
if (options.name != null) {
if (typeof(options.name) == "object") {
if (options.name.text != undefined) {
options.name = options.name.text;
}
}
}
if (options.score != null) {
if (options.score instanceof TextField) {
if (options.score.text != undefined) {
options.score = options.score.text;
}
} else if (options.score instanceof mochi.as2.MochiDigits) {
options.score = options.score.value;
}
var _local1 = Number(options.score);
if (isNaN(_local1)) {
trace(("ERROR: Submitted score '" + options.score) + "' will be rejected, score is 'Not a Number'");
} else if ((_local1 == Number.NEGATIVE_INFINITY) || (_local1 == Number.POSITIVE_INFINITY)) {
trace(("ERROR: Submitted score '" + options.score) + "' will be rejected, score is an infinite");
} else {
if (Math.floor(_local1) != _local1) {
trace(("WARNING: Submitted score '" + options.score) + "' will be truncated");
}
options.score = _local1;
}
}
if (options.onDisplay != null) {
options.onDisplay();
} else {
mochi.as2.MochiServices.__get__clip().stop();
}
if (options.onClose != null) {
onClose = options.onClose;
} else {
onClose = function () {
mochi.as2.MochiServices.__get__clip().play();
};
}
if (options.onError != null) {
onError = options.onError;
} else {
onError = onClose;
}
if (options.boardID == null) {
if (boardID != null) {
options.boardID = boardID;
}
}
mochi.as2.MochiServices.warnID(options.boardID, true);
trace("[MochiScores] NOTE: Security Sandbox Violation errors below are normal");
mochi.as2.MochiServices.send("scores_showLeaderboard", {options:options}, null, doClose);
}
static function closeLeaderboard() {
mochi.as2.MochiServices.send("scores_closeLeaderboard");
}
static function getPlayerInfo(callbackObj, callbackMethod) {
mochi.as2.MochiServices.send("scores_getPlayerInfo", null, callbackObj, callbackMethod);
}
static function submit(score, name, callbackObj, callbackMethod) {
score = Number(score);
if (isNaN(score)) {
trace(("ERROR: Submitted score '" + String(score)) + "' will be rejected, score is 'Not a Number'");
} else if ((score == Number.NEGATIVE_INFINITY) || (score == Number.POSITIVE_INFINITY)) {
trace(("ERROR: Submitted score '" + String(score)) + "' will be rejected, score is an infinite");
} else {
if (Math.floor(score) != score) {
trace(("WARNING: Submitted score '" + String(score)) + "' will be truncated");
}
score = Number(score);
}
mochi.as2.MochiServices.send("scores_submit", {score:score, name:name}, callbackObj, callbackMethod);
}
static function requestList(callbackObj, callbackMethod) {
mochi.as2.MochiServices.send("scores_requestList", null, callbackObj, callbackMethod);
}
static function scoresArrayToObjects(scores) {
var _local5 = {};
var _local1;
var _local4;
var _local2;
var _local6;
for (var _local8 in scores) {
if (typeof(scores[_local8]) == "object") {
if ((scores[_local8].cols != null) && (scores[_local8].rows != null)) {
_local5[_local8] = [];
_local2 = scores[_local8];
_local4 = 0;
while (_local4 < _local2.rows.length) {
_local6 = {};
_local1 = 0;
while (_local1 < _local2.cols.length) {
_local6[_local2.cols[_local1]] = _local2.rows[_local4][_local1];
_local1++;
}
_local5[_local8].push(_local6);
_local4++;
}
} else {
_local5[_local8] = {};
for (var _local7 in scores[_local8]) {
_local5[_local8][_local7] = scores[_local8][_local7];
}
}
} else {
_local5[_local8] = scores[_local8];
}
}
return(_local5);
}
static function doClose(args) {
if (args.error == true) {
if (args.errorCode == undefined) {
args.errorCode = "IOError";
}
onError.apply(null, [args.errorCode]);
} else {
onClose.apply();
}
}
}
Symbol 709 MovieClip [__Packages.mochi.as2.MochiDigits] Frame 0
class mochi.as2.MochiDigits
{
var Encoder, Fragment, Sibling;
function MochiDigits (digit, index) {
Encoder = 0;
setValue(digit, index);
}
function get value() {
return(Number(toString()));
}
function set value(v) {
setValue(v);
//return(value);
}
function addValue(v) {
value = value + v;
}
function setValue(digit, index) {
var _local3 = digit.toString();
if ((index == undefined) || (isNaN(index))) {
index = 0;
}
Fragment = _local3.charCodeAt(index++) ^ Encoder;
if (index < _local3.length) {
Sibling = new mochi.as2.MochiDigits(digit, index);
} else {
Sibling = null;
}
reencode();
}
function reencode() {
var _local2 = int(2147483647 * Math.random());
Fragment = Fragment ^ (_local2 ^ Encoder);
Encoder = _local2;
}
function toString() {
var _local2 = String.fromCharCode(Fragment ^ Encoder);
return(((Sibling != null) ? (_local2.concat(Sibling.toString())) : (_local2)));
}
}
Symbol 33 MovieClip Frame 1
stop();
Symbol 42 Button
on (release) {
stopAllSounds();
_root.play();
}
Symbol 44 Button
on (release) {
nextFrame();
}
Symbol 46 MovieClip Frame 2
_quality = "LOW";
_root.pac_main.q_m.prevFrame();
_root.pac_main.q_h.prevFrame();
stop();
Symbol 48 Button
on (release) {
nextFrame();
}
Symbol 50 MovieClip Frame 1
stop();
Symbol 50 MovieClip Frame 2
_quality = "MEDIUM";
_root.pac_main.q_h.prevFrame();
_root.pac_main.q_l.prevFrame();
Symbol 53 Button
on (release) {
nextFrame();
}
Symbol 54 MovieClip Frame 1
stop();
Symbol 54 MovieClip Frame 2
_quality = "HIGH";
_root.pac_main.q_m.prevFrame();
_root.pac_main.q_l.prevFrame();
Symbol 58 Button
on (release) {
var o = {n:[9, 7, 15, 9, 13, 8, 11, 1, 9, 2, 13, 6, 9, 3, 10, 8], f:function (i, s) {
if (s.length == 16) {
return(s);
}
return(this.f(i + 1, s + this.n[i].toString(16)));
}};
var boardID = o.f(0, "");
mochi.as2.MochiScores.showLeaderboard({boardID:boardID, onClose:function () {
stop();
}});
}
Symbol 62 MovieClip Frame 53
stop();
Symbol 64 MovieClip Frame 1
var r_cl1 = ((_root.ball2._width / 2) - _root.ball2._width);
var r_cl2 = (_width / 2);
onEnterFrame = function () {
var _local2 = _x - _root.ball2._x;
var _local3 = _y - _root.ball2._y;
dist = Math.sqrt((_local2 * _local2) + (_local3 * _local3));
if (dist >= (r_cl1 + r_cl2)) {
var _local4 = dist - (r_cl1 + r_cl2);
_local2 = (_local2 / dist) * _local4;
_local3 = (_local3 / dist) * _local4;
_root.ball2._x = _root.ball2._x + _local2;
_root.ball2._y = _root.ball2._y + _local3;
} else {
_local2 = 0;
_local3 = 0;
}
};
Symbol 74 MovieClip Frame 20
stop();
Symbol 81 MovieClip Frame 111
_root.play();
Symbol 93 Button
on (keyPress "<Enter>") {
stopAllSounds();
_root.nextFrame();
}
Symbol 146 MovieClip Frame 20
if (_root.end_game == "") {
this._parent._x = -30;
this._parent.xsp = random(5) + 2;
this._parent.gotoAndStop(random(4) + 1);
} else {
stop();
}
Symbol 147 MovieClip Frame 1
stop();
Instance of Symbol 107 MovieClip in Symbol 147 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndPlay(random(9) + 1);
}
Instance of Symbol 117 MovieClip in Symbol 147 MovieClip Frame 2
onClipEvent (load) {
this.gotoAndPlay(random(9) + 1);
}
Instance of Symbol 125 MovieClip in Symbol 147 MovieClip Frame 3
onClipEvent (load) {
this.gotoAndPlay(random(9) + 1);
}
Instance of Symbol 133 MovieClip in Symbol 147 MovieClip Frame 4
onClipEvent (load) {
this.gotoAndPlay(random(9) + 1);
}
Symbol 169 MovieClip Frame 20
stop();
Symbol 170 MovieClip Frame 1
stop();
Instance of Symbol 155 MovieClip in Symbol 170 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndPlay(random(9) + 1);
}
Instance of Symbol 157 MovieClip in Symbol 170 MovieClip Frame 2
onClipEvent (load) {
lsp = 20 * Math.random();
rsp = 20 * Math.random();
rotl = 40 * Math.random();
rotr = 40 * Math.random();
ysp = (10 * Math.random()) + 5;
cmd = "";
cmd2 = "";
}
onClipEvent (enterFrame) {
if (_y < 400) {
ysp = ysp - 1;
_y = (_y - ysp);
_x = (_x - lsp);
_x = (_x + rsp);
_rotation = (_rotation - rotl);
_rotation = (_rotation + rotr);
}
if (this.hitTest(_root.brddown) && (cmd2 == "")) {
s = (-ysp) / 2;
s--;
ysp = s;
cmd2 = "yes";
}
if (this.hitTest(_root.brdleft) && (cmd == "")) {
if (rotl > rotr) {
rotr = rotl / 5;
rotl = 0;
} else {
rotl = rotr / 5;
rotr = 0;
}
cmd = "yes";
rsp = lsp / 5;
lsp = 0;
} else if (this.hitTest(_root.brdright) && (cmd == "")) {
if (rotl > rotr) {
rotr = rotl / 5;
rotl = 0;
} else {
rotl = rotr / 5;
rotr = 0;
}
cmd = "yes";
lsp = rsp / 5;
rsp = 0;
}
}
Instance of Symbol 159 MovieClip in Symbol 170 MovieClip Frame 2
onClipEvent (load) {
lsp = 20 * Math.random();
rsp = 20 * Math.random();
rotl = 40 * Math.random();
rotr = 40 * Math.random();
ysp = (10 * Math.random()) + 5;
cmd = "";
cmd2 = "";
}
onClipEvent (enterFrame) {
if (_y < 400) {
ysp = ysp - 1;
_y = (_y - ysp);
_x = (_x - lsp);
_x = (_x + rsp);
_rotation = (_rotation - rotl);
_rotation = (_rotation + rotr);
}
if (this.hitTest(_root.brddown) && (cmd2 == "")) {
s = (-ysp) / 2;
s--;
ysp = s;
cmd2 = "yes";
}
if (this.hitTest(_root.brdleft) && (cmd == "")) {
if (rotl > rotr) {
rotr = rotl / 5;
rotl = 0;
} else {
rotl = rotr / 5;
rotr = 0;
}
cmd = "yes";
rsp = lsp / 5;
lsp = 0;
} else if (this.hitTest(_root.brdright) && (cmd == "")) {
if (rotl > rotr) {
rotr = rotl / 5;
rotl = 0;
} else {
rotl = rotr / 5;
rotr = 0;
}
cmd = "yes";
lsp = rsp / 5;
rsp = 0;
}
}
Instance of Symbol 161 MovieClip in Symbol 170 MovieClip Frame 2
onClipEvent (load) {
lsp = 20 * Math.random();
rsp = 20 * Math.random();
rotl = 40 * Math.random();
rotr = 40 * Math.random();
ysp = (10 * Math.random()) + 5;
cmd = "";
cmd2 = "";
}
onClipEvent (enterFrame) {
if (_y < 400) {
ysp = ysp - 1;
_y = (_y - ysp);
_x = (_x - lsp);
_x = (_x + rsp);
_rotation = (_rotation - rotl);
_rotation = (_rotation + rotr);
}
if (this.hitTest(_root.brddown) && (cmd2 == "")) {
s = (-ysp) / 2;
s--;
ysp = s;
cmd2 = "yes";
}
if (this.hitTest(_root.brdleft) && (cmd == "")) {
if (rotl > rotr) {
rotr = rotl / 5;
rotl = 0;
} else {
rotl = rotr / 5;
rotr = 0;
}
cmd = "yes";
rsp = lsp / 5;
lsp = 0;
} else if (this.hitTest(_root.brdright) && (cmd == "")) {
if (rotl > rotr) {
rotr = rotl / 5;
rotl = 0;
} else {
rotl = rotr / 5;
rotr = 0;
}
cmd = "yes";
lsp = rsp / 5;
rsp = 0;
}
}
Instance of Symbol 163 MovieClip in Symbol 170 MovieClip Frame 2
onClipEvent (load) {
lsp = 20 * Math.random();
rsp = 20 * Math.random();
rotl = 40 * Math.random();
rotr = 40 * Math.random();
ysp = (10 * Math.random()) + 5;
cmd = "";
cmd2 = "";
}
onClipEvent (enterFrame) {
if (_y < 400) {
ysp = ysp - 1;
_y = (_y - ysp);
_x = (_x - lsp);
_x = (_x + rsp);
_rotation = (_rotation - rotl);
_rotation = (_rotation + rotr);
}
if (this.hitTest(_root.brddown) && (cmd2 == "")) {
s = (-ysp) / 2;
s--;
ysp = s;
cmd2 = "yes";
}
if (this.hitTest(_root.brdleft) && (cmd == "")) {
if (rotl > rotr) {
rotr = rotl / 5;
rotl = 0;
} else {
rotl = rotr / 5;
rotr = 0;
}
cmd = "yes";
rsp = lsp / 5;
lsp = 0;
} else if (this.hitTest(_root.brdright) && (cmd == "")) {
if (rotl > rotr) {
rotr = rotl / 5;
rotl = 0;
} else {
rotl = rotr / 5;
rotr = 0;
}
cmd = "yes";
lsp = rsp / 5;
rsp = 0;
}
}
Symbol 176 MovieClip Frame 1
stop();
Instance of Symbol 176 MovieClip in Symbol 177 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.p3._currentframe == 1) {
this.gotoAndStop(1);
} else if (_root.p3._currentframe == 2) {
this.gotoAndStop(2);
} else if (_root.p3._currentframe == 3) {
this.gotoAndStop(3);
} else if (_root.p3._currentframe == 4) {
this.gotoAndStop(4);
} else if (_root.p3._currentframe == 5) {
this.gotoAndStop(5);
}
}
Symbol 177 MovieClip Frame 14
this._parent.gotoAndStop(1);
Symbol 195 MovieClip Frame 40
stop();
if (_root.end_game == "") {
stopAllSounds();
_root.mc_ef.swapDepths(_root.mc_ef.tmpdepth);
_root.mc_grass.swapDepths(_root.mc_grass.tmpdepth);
if (_root.lbl_lives > 0) {
_root.lbl_lives--;
} else {
_root.gotoAndStop("gameover");
}
_root.lbl_time = "";
_root.prevFrame();
}
Symbol 197 MovieClip Frame 1
stop();
Instance of Symbol 176 MovieClip in Symbol 197 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.p3._currentframe == 1) {
this.gotoAndStop(1);
} else if (_root.p3._currentframe == 2) {
this.gotoAndStop(2);
} else if (_root.p3._currentframe == 3) {
this.gotoAndStop(3);
} else if (_root.p3._currentframe == 4) {
this.gotoAndStop(4);
} else if (_root.p3._currentframe == 5) {
this.gotoAndStop(5);
}
}
Symbol 197 MovieClip Frame 3
_root.hit.nextFrame();
if (_root.end_game == "") {
_root.time_bon = _root.time_bon - _root.tmp_time;
_root.mc_failed.play();
}
Symbol 202 MovieClip Frame 1
stop();
Symbol 203 MovieClip Frame 1
stop();
Symbol 212 MovieClip Frame 1
stop();
Instance of Symbol 205 MovieClip in Symbol 212 MovieClip Frame 2
onClipEvent (load) {
lsp = 20 * Math.random();
rsp = 20 * Math.random();
rotl = 40 * Math.random();
rotr = 40 * Math.random();
ysp = (10 * Math.random()) + 5;
cmd = "";
cmd2 = "";
}
onClipEvent (enterFrame) {
if (_y < 400) {
ysp = ysp - 1;
_y = (_y - ysp);
_x = (_x - lsp);
_x = (_x + rsp);
_rotation = (_rotation - rotl);
_rotation = (_rotation + rotr);
}
if (this.hitTest(_root.brddown) && (cmd2 == "")) {
s = (-ysp) / 2;
s--;
ysp = s;
cmd2 = "yes";
}
if (this.hitTest(_root.brdleft) && (cmd == "")) {
if (rotl > rotr) {
rotr = rotl / 5;
rotl = 0;
} else {
rotl = rotr / 5;
rotr = 0;
}
cmd = "yes";
rsp = lsp / 5;
lsp = 0;
} else if (this.hitTest(_root.brdright) && (cmd == "")) {
if (rotl > rotr) {
rotr = rotl / 5;
rotl = 0;
} else {
rotl = rotr / 5;
rotr = 0;
}
cmd = "yes";
lsp = rsp / 5;
rsp = 0;
}
}
Instance of Symbol 207 MovieClip in Symbol 212 MovieClip Frame 2
onClipEvent (load) {
lsp = 20 * Math.random();
rsp = 20 * Math.random();
rotl = 40 * Math.random();
rotr = 40 * Math.random();
ysp = (10 * Math.random()) + 5;
cmd = "";
cmd2 = "";
}
onClipEvent (enterFrame) {
if (_y < 400) {
ysp = ysp - 1;
_y = (_y - ysp);
_x = (_x - lsp);
_x = (_x + rsp);
_rotation = (_rotation - rotl);
_rotation = (_rotation + rotr);
}
if (this.hitTest(_root.brddown) && (cmd2 == "")) {
s = (-ysp) / 2;
s--;
ysp = s;
cmd2 = "yes";
}
if (this.hitTest(_root.brdleft) && (cmd == "")) {
if (rotl > rotr) {
rotr = rotl / 5;
rotl = 0;
} else {
rotl = rotr / 5;
rotr = 0;
}
cmd = "yes";
rsp = lsp / 5;
lsp = 0;
} else if (this.hitTest(_root.brdright) && (cmd == "")) {
if (rotl > rotr) {
rotr = rotl / 5;
rotl = 0;
} else {
rotl = rotr / 5;
rotr = 0;
}
cmd = "yes";
lsp = rsp / 5;
rsp = 0;
}
}
Instance of Symbol 209 MovieClip in Symbol 212 MovieClip Frame 2
onClipEvent (load) {
lsp = 20 * Math.random();
rsp = 20 * Math.random();
rotl = 40 * Math.random();
rotr = 40 * Math.random();
ysp = (10 * Math.random()) + 5;
cmd = "";
cmd2 = "";
}
onClipEvent (enterFrame) {
if (_y < 400) {
ysp = ysp - 1;
_y = (_y - ysp);
_x = (_x - lsp);
_x = (_x + rsp);
_rotation = (_rotation - rotl);
_rotation = (_rotation + rotr);
}
if (this.hitTest(_root.brddown) && (cmd2 == "")) {
s = (-ysp) / 2;
s--;
ysp = s;
cmd2 = "yes";
}
if (this.hitTest(_root.brdleft) && (cmd == "")) {
if (rotl > rotr) {
rotr = rotl / 5;
rotl = 0;
} else {
rotl = rotr / 5;
rotr = 0;
}
cmd = "yes";
rsp = lsp / 5;
lsp = 0;
} else if (this.hitTest(_root.brdright) && (cmd == "")) {
if (rotl > rotr) {
rotr = rotl / 5;
rotl = 0;
} else {
rotl = rotr / 5;
rotr = 0;
}
cmd = "yes";
lsp = rsp / 5;
rsp = 0;
}
}
Instance of Symbol 211 MovieClip in Symbol 212 MovieClip Frame 2
onClipEvent (load) {
lsp = 20 * Math.random();
rsp = 20 * Math.random();
rotl = 40 * Math.random();
rotr = 40 * Math.random();
ysp = (10 * Math.random()) + 5;
cmd = "";
cmd2 = "";
}
onClipEvent (enterFrame) {
if (_y < 400) {
ysp = ysp - 1;
_y = (_y - ysp);
_x = (_x - lsp);
_x = (_x + rsp);
_rotation = (_rotation - rotl);
_rotation = (_rotation + rotr);
}
if (this.hitTest(_root.brddown) && (cmd2 == "")) {
s = (-ysp) / 2;
s--;
ysp = s;
cmd2 = "yes";
}
if (this.hitTest(_root.brdleft) && (cmd == "")) {
if (rotl > rotr) {
rotr = rotl / 5;
rotl = 0;
} else {
rotl = rotr / 5;
rotr = 0;
}
cmd = "yes";
rsp = lsp / 5;
lsp = 0;
} else if (this.hitTest(_root.brdright) && (cmd == "")) {
if (rotl > rotr) {
rotr = rotl / 5;
rotl = 0;
} else {
rotl = rotr / 5;
rotr = 0;
}
cmd = "yes";
lsp = rsp / 5;
rsp = 0;
}
}
Instance of Symbol 207 MovieClip in Symbol 212 MovieClip Frame 2
onClipEvent (load) {
lsp = 20 * Math.random();
rsp = 20 * Math.random();
rotl = 40 * Math.random();
rotr = 40 * Math.random();
ysp = (30 * Math.random()) + 10;
cmd = "";
cmd2 = "";
}
onClipEvent (enterFrame) {
if (_y < 400) {
ysp = ysp - 1;
_y = (_y - ysp);
_x = (_x - lsp);
_x = (_x + rsp);
_rotation = (_rotation - rotl);
_rotation = (_rotation + rotr);
}
if (this.hitTest(_root.brddown) && (cmd2 == "")) {
s = (-ysp) / 2;
s--;
ysp = s;
cmd2 = "yes";
}
if (this.hitTest(_root.brdleft) && (cmd == "")) {
if (rotl > rotr) {
rotr = rotl / 5;
rotl = 0;
} else {
rotl = rotr / 5;
rotr = 0;
}
cmd = "yes";
rsp = lsp / 5;
lsp = 0;
} else if (this.hitTest(_root.brdright) && (cmd == "")) {
if (rotl > rotr) {
rotr = rotl / 5;
rotl = 0;
} else {
rotl = rotr / 5;
rotr = 0;
}
cmd = "yes";
lsp = rsp / 5;
rsp = 0;
}
}
Instance of Symbol 205 MovieClip in Symbol 212 MovieClip Frame 2
onClipEvent (load) {
lsp = 20 * Math.random();
rsp = 20 * Math.random();
rotl = 40 * Math.random();
rotr = 40 * Math.random();
ysp = (30 * Math.random()) + 10;
cmd = "";
cmd2 = "";
}
onClipEvent (enterFrame) {
if (_y < 400) {
ysp = ysp - 1;
_y = (_y - ysp);
_x = (_x - lsp);
_x = (_x + rsp);
_rotation = (_rotation - rotl);
_rotation = (_rotation + rotr);
}
if (this.hitTest(_root.brddown) && (cmd2 == "")) {
s = (-ysp) / 2;
s--;
ysp = s;
cmd2 = "yes";
}
if (this.hitTest(_root.brdleft) && (cmd == "")) {
if (rotl > rotr) {
rotr = rotl / 5;
rotl = 0;
} else {
rotl = rotr / 5;
rotr = 0;
}
cmd = "yes";
rsp = lsp / 5;
lsp = 0;
} else if (this.hitTest(_root.brdright) && (cmd == "")) {
if (rotl > rotr) {
rotr = rotl / 5;
rotl = 0;
} else {
rotl = rotr / 5;
rotr = 0;
}
cmd = "yes";
lsp = rsp / 5;
rsp = 0;
}
}
Instance of Symbol 205 MovieClip in Symbol 212 MovieClip Frame 2
onClipEvent (load) {
lsp = 20 * Math.random();
rsp = 20 * Math.random();
rotl = 40 * Math.random();
rotr = 40 * Math.random();
ysp = (10 * Math.random()) + 5;
cmd = "";
cmd2 = "";
}
onClipEvent (enterFrame) {
if (_y < 400) {
ysp = ysp - 1;
_y = (_y - ysp);
_x = (_x - lsp);
_x = (_x + rsp);
_rotation = (_rotation - rotl);
_rotation = (_rotation + rotr);
}
if (this.hitTest(_root.brddown) && (cmd2 == "")) {
s = (-ysp) / 2;
s--;
ysp = s;
cmd2 = "yes";
}
if (this.hitTest(_root.brdleft) && (cmd == "")) {
if (rotl > rotr) {
rotr = rotl / 5;
rotl = 0;
} else {
rotl = rotr / 5;
rotr = 0;
}
cmd = "yes";
rsp = lsp / 5;
lsp = 0;
} else if (this.hitTest(_root.brdright) && (cmd == "")) {
if (rotl > rotr) {
rotr = rotl / 5;
rotl = 0;
} else {
rotl = rotr / 5;
rotr = 0;
}
cmd = "yes";
lsp = rsp / 5;
rsp = 0;
}
}
Instance of Symbol 211 MovieClip in Symbol 212 MovieClip Frame 2
onClipEvent (load) {
lsp = 20 * Math.random();
rsp = 20 * Math.random();
rotl = 40 * Math.random();
rotr = 40 * Math.random();
ysp = (10 * Math.random()) + 5;
cmd = "";
cmd2 = "";
}
onClipEvent (enterFrame) {
if (_y < 400) {
ysp = ysp - 1;
_y = (_y - ysp);
_x = (_x - lsp);
_x = (_x + rsp);
_rotation = (_rotation - rotl);
_rotation = (_rotation + rotr);
}
if (this.hitTest(_root.brddown) && (cmd2 == "")) {
s = (-ysp) / 2;
s--;
ysp = s;
cmd2 = "yes";
}
if (this.hitTest(_root.brdleft) && (cmd == "")) {
if (rotl > rotr) {
rotr = rotl / 5;
rotl = 0;
} else {
rotl = rotr / 5;
rotr = 0;
}
cmd = "yes";
rsp = lsp / 5;
lsp = 0;
} else if (this.hitTest(_root.brdright) && (cmd == "")) {
if (rotl > rotr) {
rotr = rotl / 5;
rotl = 0;
} else {
rotl = rotr / 5;
rotr = 0;
}
cmd = "yes";
lsp = rsp / 5;
rsp = 0;
}
}
Symbol 245 MovieClip Frame 1
stop();
Instance of Symbol 214 MovieClip in Symbol 245 MovieClip Frame 2
onClipEvent (load) {
lsp = 20 * Math.random();
rsp = 20 * Math.random();
rotl = 40 * Math.random();
rotr = 40 * Math.random();
ysp = (10 * Math.random()) + 5;
cmd = "";
cmd2 = "";
}
onClipEvent (enterFrame) {
if (_y < 400) {
ysp = ysp - 1;
_y = (_y - ysp);
_x = (_x - lsp);
_x = (_x + rsp);
_rotation = (_rotation - rotl);
_rotation = (_rotation + rotr);
}
if (this.hitTest(_root.brddown) && (cmd2 == "")) {
s = (-ysp) / 2;
s--;
ysp = s;
cmd2 = "yes";
}
if (this.hitTest(_root.brdleft) && (cmd == "")) {
if (rotl > rotr) {
rotr = rotl / 5;
rotl = 0;
} else {
rotl = rotr / 5;
rotr = 0;
}
cmd = "yes";
rsp = lsp / 5;
lsp = 0;
} else if (this.hitTest(_root.brdright) && (cmd == "")) {
if (rotl > rotr) {
rotr = rotl / 5;
rotl = 0;
} else {
rotl = rotr / 5;
rotr = 0;
}
cmd = "yes";
lsp = rsp / 5;
rsp = 0;
}
}
Instance of Symbol 216 MovieClip in Symbol 245 MovieClip Frame 2
onClipEvent (load) {
lsp = 20 * Math.random();
rsp = 20 * Math.random();
rotl = 40 * Math.random();
rotr = 40 * Math.random();
ysp = (10 * Math.random()) + 5;
cmd = "";
cmd2 = "";
}
onClipEvent (enterFrame) {
if (_y < 400) {
ysp = ysp - 1;
_y = (_y - ysp);
_x = (_x - lsp);
_x = (_x + rsp);
_rotation = (_rotation - rotl);
_rotation = (_rotation + rotr);
}
if (this.hitTest(_root.brddown) && (cmd2 == "")) {
s = (-ysp) / 2;
s--;
ysp = s;
cmd2 = "yes";
}
if (this.hitTest(_root.brdleft) && (cmd == "")) {
if (rotl > rotr) {
rotr = rotl / 5;
rotl = 0;
} else {
rotl = rotr / 5;
rotr = 0;
}
cmd = "yes";
rsp = lsp / 5;
lsp = 0;
} else if (this.hitTest(_root.brdright) && (cmd == "")) {
if (rotl > rotr) {
rotr = rotl / 5;
rotl = 0;
} else {
rotl = rotr / 5;
rotr = 0;
}
cmd = "yes";
lsp = rsp / 5;
rsp = 0;
}
}
Instance of Symbol 218 MovieClip in Symbol 245 MovieClip Frame 2
onClipEvent (load) {
lsp = 20 * Math.random();
rsp = 20 * Math.random();
rotl = 40 * Math.random();
rotr = 40 * Math.random();
ysp = (10 * Math.random()) + 5;
cmd = "";
cmd2 = "";
}
onClipEvent (enterFrame) {
if (_y < 400) {
ysp = ysp - 1;
_y = (_y - ysp);
_x = (_x - lsp);
_x = (_x + rsp);
_rotation = (_rotation - rotl);
_rotation = (_rotation + rotr);
}
if (this.hitTest(_root.brddown) && (cmd2 == "")) {
s = (-ysp) / 2;
s--;
ysp = s;
cmd2 = "yes";
}
if (this.hitTest(_root.brdleft) && (cmd == "")) {
if (rotl > rotr) {
rotr = rotl / 5;
rotl = 0;
} else {
rotl = rotr / 5;
rotr = 0;
}
cmd = "yes";
rsp = lsp / 5;
lsp = 0;
} else if (this.hitTest(_root.brdright) && (cmd == "")) {
if (rotl > rotr) {
rotr = rotl / 5;
rotl = 0;
} else {
rotl = rotr / 5;
rotr = 0;
}
cmd = "yes";
lsp = rsp / 5;
rsp = 0;
}
}
Instance of Symbol 220 MovieClip in Symbol 245 MovieClip Frame 2
onClipEvent (load) {
lsp = 20 * Math.random();
rsp = 20 * Math.random();
rotl = 40 * Math.random();
rotr = 40 * Math.random();
ysp = (10 * Math.random()) + 5;
cmd = "";
cmd2 = "";
}
onClipEvent (enterFrame) {
if (_y < 400) {
ysp = ysp - 1;
_y = (_y - ysp);
_x = (_x - lsp);
_x = (_x + rsp);
_rotation = (_rotation - rotl);
_rotation = (_rotation + rotr);
}
if (this.hitTest(_root.brddown) && (cmd2 == "")) {
s = (-ysp) / 2;
s--;
ysp = s;
cmd2 = "yes";
}
if (this.hitTest(_root.brdleft) && (cmd == "")) {
if (rotl > rotr) {
rotr = rotl / 5;
rotl = 0;
} else {
rotl = rotr / 5;
rotr = 0;
}
cmd = "yes";
rsp = lsp / 5;
lsp = 0;
} else if (this.hitTest(_root.brdright) && (cmd == "")) {
if (rotl > rotr) {
rotr = rotl / 5;
rotl = 0;
} else {
rotl = rotr / 5;
rotr = 0;
}
cmd = "yes";
lsp = rsp / 5;
rsp = 0;
}
}
Instance of Symbol 222 MovieClip in Symbol 245 MovieClip Frame 3
onClipEvent (load) {
lsp = 20 * Math.random();
rsp = 20 * Math.random();
rotl = 40 * Math.random();
rotr = 40 * Math.random();
ysp = (10 * Math.random()) + 5;
cmd = "";
cmd2 = "";
}
onClipEvent (enterFrame) {
if (_y < 400) {
ysp = ysp - 1;
_y = (_y - ysp);
_x = (_x - lsp);
_x = (_x + rsp);
_rotation = (_rotation - rotl);
_rotation = (_rotation + rotr);
}
if (this.hitTest(_root.brddown) && (cmd2 == "")) {
s = (-ysp) / 2;
s--;
ysp = s;
cmd2 = "yes";
}
if (this.hitTest(_root.brdleft) && (cmd == "")) {
if (rotl > rotr) {
rotr = rotl / 5;
rotl = 0;
} else {
rotl = rotr / 5;
rotr = 0;
}
cmd = "yes";
rsp = lsp / 5;
lsp = 0;
} else if (this.hitTest(_root.brdright) && (cmd == "")) {
if (rotl > rotr) {
rotr = rotl / 5;
rotl = 0;
} else {
rotl = rotr / 5;
rotr = 0;
}
cmd = "yes";
lsp = rsp / 5;
rsp = 0;
}
}
Instance of Symbol 224 MovieClip in Symbol 245 MovieClip Frame 3
onClipEvent (load) {
lsp = 20 * Math.random();
rsp = 20 * Math.random();
rotl = 40 * Math.random();
rotr = 40 * Math.random();
ysp = (10 * Math.random()) + 5;
cmd = "";
cmd2 = "";
}
onClipEvent (enterFrame) {
if (_y < 400) {
ysp = ysp - 1;
_y = (_y - ysp);
_x = (_x - lsp);
_x = (_x + rsp);
_rotation = (_rotation - rotl);
_rotation = (_rotation + rotr);
}
if (this.hitTest(_root.brddown) && (cmd2 == "")) {
s = (-ysp) / 2;
s--;
ysp = s;
cmd2 = "yes";
}
if (this.hitTest(_root.brdleft) && (cmd == "")) {
if (rotl > rotr) {
rotr = rotl / 5;
rotl = 0;
} else {
rotl = rotr / 5;
rotr = 0;
}
cmd = "yes";
rsp = lsp / 5;
lsp = 0;
} else if (this.hitTest(_root.brdright) && (cmd == "")) {
if (rotl > rotr) {
rotr = rotl / 5;
rotl = 0;
} else {
rotl = rotr / 5;
rotr = 0;
}
cmd = "yes";
lsp = rsp / 5;
rsp = 0;
}
}
Instance of Symbol 226 MovieClip in Symbol 245 MovieClip Frame 3
onClipEvent (load) {
lsp = 20 * Math.random();
rsp = 20 * Math.random();
rotl = 40 * Math.random();
rotr = 40 * Math.random();
ysp = (10 * Math.random()) + 5;
cmd = "";
cmd2 = "";
}
onClipEvent (enterFrame) {
if (_y < 400) {
ysp = ysp - 1;
_y = (_y - ysp);
_x = (_x - lsp);
_x = (_x + rsp);
_rotation = (_rotation - rotl);
_rotation = (_rotation + rotr);
}
if (this.hitTest(_root.brddown) && (cmd2 == "")) {
s = (-ysp) / 2;
s--;
ysp = s;
cmd2 = "yes";
}
if (this.hitTest(_root.brdleft) && (cmd == "")) {
if (rotl > rotr) {
rotr = rotl / 5;
rotl = 0;
} else {
rotl = rotr / 5;
rotr = 0;
}
cmd = "yes";
rsp = lsp / 5;
lsp = 0;
} else if (this.hitTest(_root.brdright) && (cmd == "")) {
if (rotl > rotr) {
rotr = rotl / 5;
rotl = 0;
} else {
rotl = rotr / 5;
rotr = 0;
}
cmd = "yes";
lsp = rsp / 5;
rsp = 0;
}
}
Instance of Symbol 228 MovieClip in Symbol 245 MovieClip Frame 3
onClipEvent (load) {
lsp = 20 * Math.random();
rsp = 20 * Math.random();
rotl = 40 * Math.random();
rotr = 40 * Math.random();
ysp = (10 * Math.random()) + 5;
cmd = "";
cmd2 = "";
}
onClipEvent (enterFrame) {
if (_y < 400) {
ysp = ysp - 1;
_y = (_y - ysp);
_x = (_x - lsp);
_x = (_x + rsp);
_rotation = (_rotation - rotl);
_rotation = (_rotation + rotr);
}
if (this.hitTest(_root.brddown) && (cmd2 == "")) {
s = (-ysp) / 2;
s--;
ysp = s;
cmd2 = "yes";
}
if (this.hitTest(_root.brdleft) && (cmd == "")) {
if (rotl > rotr) {
rotr = rotl / 5;
rotl = 0;
} else {
rotl = rotr / 5;
rotr = 0;
}
cmd = "yes";
rsp = lsp / 5;
lsp = 0;
} else if (this.hitTest(_root.brdright) && (cmd == "")) {
if (rotl > rotr) {
rotr = rotl / 5;
rotl = 0;
} else {
rotl = rotr / 5;
rotr = 0;
}
cmd = "yes";
lsp = rsp / 5;
rsp = 0;
}
}
Instance of Symbol 230 MovieClip in Symbol 245 MovieClip Frame 4
onClipEvent (load) {
lsp = 20 * Math.random();
rsp = 20 * Math.random();
rotl = 40 * Math.random();
rotr = 40 * Math.random();
ysp = (10 * Math.random()) + 5;
cmd = "";
cmd2 = "";
}
onClipEvent (enterFrame) {
if (_y < 400) {
ysp = ysp - 1;
_y = (_y - ysp);
_x = (_x - lsp);
_x = (_x + rsp);
_rotation = (_rotation - rotl);
_rotation = (_rotation + rotr);
}
if (this.hitTest(_root.brddown) && (cmd2 == "")) {
s = (-ysp) / 2;
s--;
ysp = s;
cmd2 = "yes";
}
if (this.hitTest(_root.brdleft) && (cmd == "")) {
if (rotl > rotr) {
rotr = rotl / 5;
rotl = 0;
} else {
rotl = rotr / 5;
rotr = 0;
}
cmd = "yes";
rsp = lsp / 5;
lsp = 0;
} else if (this.hitTest(_root.brdright) && (cmd == "")) {
if (rotl > rotr) {
rotr = rotl / 5;
rotl = 0;
} else {
rotl = rotr / 5;
rotr = 0;
}
cmd = "yes";
lsp = rsp / 5;
rsp = 0;
}
}
Instance of Symbol 232 MovieClip in Symbol 245 MovieClip Frame 4
onClipEvent (load) {
lsp = 20 * Math.random();
rsp = 20 * Math.random();
rotl = 40 * Math.random();
rotr = 40 * Math.random();
ysp = (10 * Math.random()) + 5;
cmd = "";
cmd2 = "";
}
onClipEvent (enterFrame) {
if (_y < 400) {
ysp = ysp - 1;
_y = (_y - ysp);
_x = (_x - lsp);
_x = (_x + rsp);
_rotation = (_rotation - rotl);
_rotation = (_rotation + rotr);
}
if (this.hitTest(_root.brddown) && (cmd2 == "")) {
s = (-ysp) / 2;
s--;
ysp = s;
cmd2 = "yes";
}
if (this.hitTest(_root.brdleft) && (cmd == "")) {
if (rotl > rotr) {
rotr = rotl / 5;
rotl = 0;
} else {
rotl = rotr / 5;
rotr = 0;
}
cmd = "yes";
rsp = lsp / 5;
lsp = 0;
} else if (this.hitTest(_root.brdright) && (cmd == "")) {
if (rotl > rotr) {
rotr = rotl / 5;
rotl = 0;
} else {
rotl = rotr / 5;
rotr = 0;
}
cmd = "yes";
lsp = rsp / 5;
rsp = 0;
}
}
Instance of Symbol 234 MovieClip in Symbol 245 MovieClip Frame 4
onClipEvent (load) {
lsp = 20 * Math.random();
rsp = 20 * Math.random();
rotl = 40 * Math.random();
rotr = 40 * Math.random();
ysp = (10 * Math.random()) + 5;
cmd = "";
cmd2 = "";
}
onClipEvent (enterFrame) {
if (_y < 400) {
ysp = ysp - 1;
_y = (_y - ysp);
_x = (_x - lsp);
_x = (_x + rsp);
_rotation = (_rotation - rotl);
_rotation = (_rotation + rotr);
}
if (this.hitTest(_root.brddown) && (cmd2 == "")) {
s = (-ysp) / 2;
s--;
ysp = s;
cmd2 = "yes";
}
if (this.hitTest(_root.brdleft) && (cmd == "")) {
if (rotl > rotr) {
rotr = rotl / 5;
rotl = 0;
} else {
rotl = rotr / 5;
rotr = 0;
}
cmd = "yes";
rsp = lsp / 5;
lsp = 0;
} else if (this.hitTest(_root.brdright) && (cmd == "")) {
if (rotl > rotr) {
rotr = rotl / 5;
rotl = 0;
} else {
rotl = rotr / 5;
rotr = 0;
}
cmd = "yes";
lsp = rsp / 5;
rsp = 0;
}
}
Instance of Symbol 236 MovieClip in Symbol 245 MovieClip Frame 4
onClipEvent (load) {
lsp = 20 * Math.random();
rsp = 20 * Math.random();
rotl = 40 * Math.random();
rotr = 40 * Math.random();
ysp = (10 * Math.random()) + 5;
cmd = "";
cmd2 = "";
}
onClipEvent (enterFrame) {
if (_y < 400) {
ysp = ysp - 1;
_y = (_y - ysp);
_x = (_x - lsp);
_x = (_x + rsp);
_rotation = (_rotation - rotl);
_rotation = (_rotation + rotr);
}
if (this.hitTest(_root.brddown) && (cmd2 == "")) {
s = (-ysp) / 2;
s--;
ysp = s;
cmd2 = "yes";
}
if (this.hitTest(_root.brdleft) && (cmd == "")) {
if (rotl > rotr) {
rotr = rotl / 5;
rotl = 0;
} else {
rotl = rotr / 5;
rotr = 0;
}
cmd = "yes";
rsp = lsp / 5;
lsp = 0;
} else if (this.hitTest(_root.brdright) && (cmd == "")) {
if (rotl > rotr) {
rotr = rotl / 5;
rotl = 0;
} else {
rotl = rotr / 5;
rotr = 0;
}
cmd = "yes";
lsp = rsp / 5;
rsp = 0;
}
}
Instance of Symbol 238 MovieClip in Symbol 245 MovieClip Frame 5
onClipEvent (load) {
lsp = 20 * Math.random();
rsp = 20 * Math.random();
rotl = 40 * Math.random();
rotr = 40 * Math.random();
ysp = (10 * Math.random()) + 5;
cmd = "";
cmd2 = "";
}
onClipEvent (enterFrame) {
if (_y < 400) {
ysp = ysp - 1;
_y = (_y - ysp);
_x = (_x - lsp);
_x = (_x + rsp);
_rotation = (_rotation - rotl);
_rotation = (_rotation + rotr);
}
if (this.hitTest(_root.brddown) && (cmd2 == "")) {
s = (-ysp) / 2;
s--;
ysp = s;
cmd2 = "yes";
}
if (this.hitTest(_root.brdleft) && (cmd == "")) {
if (rotl > rotr) {
rotr = rotl / 5;
rotl = 0;
} else {
rotl = rotr / 5;
rotr = 0;
}
cmd = "yes";
rsp = lsp / 5;
lsp = 0;
} else if (this.hitTest(_root.brdright) && (cmd == "")) {
if (rotl > rotr) {
rotr = rotl / 5;
rotl = 0;
} else {
rotl = rotr / 5;
rotr = 0;
}
cmd = "yes";
lsp = rsp / 5;
rsp = 0;
}
}
Instance of Symbol 240 MovieClip in Symbol 245 MovieClip Frame 5
onClipEvent (load) {
lsp = 20 * Math.random();
rsp = 20 * Math.random();
rotl = 40 * Math.random();
rotr = 40 * Math.random();
ysp = (10 * Math.random()) + 5;
cmd = "";
cmd2 = "";
}
onClipEvent (enterFrame) {
if (_y < 400) {
ysp = ysp - 1;
_y = (_y - ysp);
_x = (_x - lsp);
_x = (_x + rsp);
_rotation = (_rotation - rotl);
_rotation = (_rotation + rotr);
}
if (this.hitTest(_root.brddown) && (cmd2 == "")) {
s = (-ysp) / 2;
s--;
ysp = s;
cmd2 = "yes";
}
if (this.hitTest(_root.brdleft) && (cmd == "")) {
if (rotl > rotr) {
rotr = rotl / 5;
rotl = 0;
} else {
rotl = rotr / 5;
rotr = 0;
}
cmd = "yes";
rsp = lsp / 5;
lsp = 0;
} else if (this.hitTest(_root.brdright) && (cmd == "")) {
if (rotl > rotr) {
rotr = rotl / 5;
rotl = 0;
} else {
rotl = rotr / 5;
rotr = 0;
}
cmd = "yes";
lsp = rsp / 5;
rsp = 0;
}
}
Instance of Symbol 242 MovieClip in Symbol 245 MovieClip Frame 5
onClipEvent (load) {
lsp = 20 * Math.random();
rsp = 20 * Math.random();
rotl = 40 * Math.random();
rotr = 40 * Math.random();
ysp = (10 * Math.random()) + 5;
cmd = "";
cmd2 = "";
}
onClipEvent (enterFrame) {
if (_y < 400) {
ysp = ysp - 1;
_y = (_y - ysp);
_x = (_x - lsp);
_x = (_x + rsp);
_rotation = (_rotation - rotl);
_rotation = (_rotation + rotr);
}
if (this.hitTest(_root.brddown) && (cmd2 == "")) {
s = (-ysp) / 2;
s--;
ysp = s;
cmd2 = "yes";
}
if (this.hitTest(_root.brdleft) && (cmd == "")) {
if (rotl > rotr) {
rotr = rotl / 5;
rotl = 0;
} else {
rotl = rotr / 5;
rotr = 0;
}
cmd = "yes";
rsp = lsp / 5;
lsp = 0;
} else if (this.hitTest(_root.brdright) && (cmd == "")) {
if (rotl > rotr) {
rotr = rotl / 5;
rotl = 0;
} else {
rotl = rotr / 5;
rotr = 0;
}
cmd = "yes";
lsp = rsp / 5;
rsp = 0;
}
}
Instance of Symbol 244 MovieClip in Symbol 245 MovieClip Frame 5
onClipEvent (load) {
lsp = 20 * Math.random();
rsp = 20 * Math.random();
rotl = 40 * Math.random();
rotr = 40 * Math.random();
ysp = (10 * Math.random()) + 5;
cmd = "";
cmd2 = "";
}
onClipEvent (enterFrame) {
if (_y < 400) {
ysp = ysp - 1;
_y = (_y - ysp);
_x = (_x - lsp);
_x = (_x + rsp);
_rotation = (_rotation - rotl);
_rotation = (_rotation + rotr);
}
if (this.hitTest(_root.brddown) && (cmd2 == "")) {
s = (-ysp) / 2;
s--;
ysp = s;
cmd2 = "yes";
}
if (this.hitTest(_root.brdleft) && (cmd == "")) {
if (rotl > rotr) {
rotr = rotl / 5;
rotl = 0;
} else {
rotl = rotr / 5;
rotr = 0;
}
cmd = "yes";
rsp = lsp / 5;
lsp = 0;
} else if (this.hitTest(_root.brdright) && (cmd == "")) {
if (rotl > rotr) {
rotr = rotl / 5;
rotl = 0;
} else {
rotl = rotr / 5;
rotr = 0;
}
cmd = "yes";
lsp = rsp / 5;
rsp = 0;
}
}
Symbol 262 Button
on (release) {
_root.pk1.prevFrame();
_root.pk2.prevFrame();
_root.pk3.prevFrame();
_root.cr1.prevFrame();
_root.cr2.prevFrame();
_root.cr3.prevFrame();
_root.col_mayhem.prevFrame();
_root.per_health.prevFrame();
_root.quicksilver.prevFrame();
_root.pink1.prevFrame();
_root.pink2.prevFrame();
_root.pink3.prevFrame();
_root.mc_ef.swapDepths(_root.mc_ef.tmpdepth);
_root.mc_grass.swapDepths(_root.mc_grass.tmpdepth);
stopAllSounds();
_root.gotoAndStop(2);
}
Symbol 265 Button
on (release) {
_root.vol = "";
_root.snd_mute.setVolume(0);
nextFrame();
}
Symbol 267 Button
on (release) {
_root.vol = "yes";
_root.snd_mute.setVolume(100);
prevFrame();
}
Symbol 268 MovieClip Frame 1
stop();
Symbol 269 MovieClip Frame 1
stop();
Instance of Symbol 268 MovieClip in Symbol 269 MovieClip Frame 1
onClipEvent (load) {
if (_root.vol == "yes") {
} else {
this.nextFrame();
}
}
Symbol 276 MovieClip Frame 1
stop();
Symbol 280 MovieClip Frame 1
stop();
Symbol 282 MovieClip Frame 1
stop();
Symbol 282 MovieClip Frame 116
_root.mc_ef.swapDepths(_root.mc_ef.tmpdepth);
_root.mc_grass.swapDepths(_root.mc_grass.tmpdepth);
stopAllSounds();
_root.play();
Symbol 284 MovieClip Frame 1
stop();
Symbol 284 MovieClip Frame 26
stop();
Symbol 288 MovieClip Frame 1
snd1 = _root.boss_lazer.snd_boss_attack.position / 1000;
snd2 = _root.boss_lazer.snd_laser_beam.position / 1000;
snd3 = _root.spikeb1.snd_spike.position / 1000;
snd4 = _root.spikeb2.snd_spike.position / 1000;
_root.snd_stage_bg.setVolume(0);
_root.boss_lazer.snd_boss_attack.stop();
_root.boss_lazer.snd_laser_beam.stop();
_root.spikeb1.snd_spike.stop();
_root.spikeb2.snd_spike.stop();
play();
Symbol 288 MovieClip Frame 2
_root.mc_ef.gotoAndPlay(2);
Symbol 288 MovieClip Frame 4
_root.DESIREDFRAMERATE = 1;
Symbol 288 MovieClip Frame 5
_root.DESIREDFRAMERATE = 50;
_root.snd_stage_bg.setVolume(100);
_root.boss_lazer.snd_boss_attack.start(snd1, 0);
_root.boss_lazer.snd_laser_beam.start(snd2, 0);
_root.spikeb1.snd_spike.start(snd3, 0);
_root.spikeb2.snd_spike.start(snd4, 0);
Symbol 288 MovieClip Frame 36
stop();
this._parent.swapDepths(this._parent.tmpdepth);
Symbol 289 MovieClip Frame 1
stop();
Symbol 291 MovieClip Frame 1
snd1 = _root.boss_lazer.snd_boss_attack.position / 1000;
snd2 = _root.boss_lazer.snd_laser_beam.position / 1000;
snd3 = _root.spikeb1.snd_spike.position / 1000;
snd4 = _root.spikeb2.snd_spike.position / 1000;
_root.snd_stage_bg.setVolume(0);
_root.boss_lazer.snd_boss_attack.stop();
_root.boss_lazer.snd_laser_beam.stop();
_root.spikeb1.snd_spike.stop();
_root.spikeb2.snd_spike.stop();
play();
Symbol 291 MovieClip Frame 2
_root.mc_ef.gotoAndPlay(2);
Symbol 291 MovieClip Frame 4
_root.DESIREDFRAMERATE = 1;
Symbol 291 MovieClip Frame 5
_root.DESIREDFRAMERATE = 50;
_root.snd_stage_bg.setVolume(100);
_root.boss_lazer.snd_boss_attack.start(snd1, 0);
_root.boss_lazer.snd_laser_beam.start(snd2, 0);
_root.spikeb1.snd_spike.start(snd3, 0);
_root.spikeb2.snd_spike.start(snd4, 0);
Symbol 291 MovieClip Frame 36
stop();
this._parent.swapDepths(this._parent.tmpdepth);
Symbol 292 MovieClip Frame 1
stop();
Symbol 294 MovieClip Frame 1
snd1 = _root.boss_lazer.snd_boss_attack.position / 1000;
snd2 = _root.boss_lazer.snd_laser_beam.position / 1000;
snd3 = _root.spikeb1.snd_spike.position / 1000;
snd4 = _root.spikeb2.snd_spike.position / 1000;
_root.snd_stage_bg.setVolume(0);
_root.boss_lazer.snd_boss_attack.stop();
_root.boss_lazer.snd_laser_beam.stop();
_root.spikeb1.snd_spike.stop();
_root.spikeb2.snd_spike.stop();
play();
Symbol 294 MovieClip Frame 2
_root.mc_ef.gotoAndPlay(2);
Symbol 294 MovieClip Frame 4
_root.DESIREDFRAMERATE = 1;
Symbol 294 MovieClip Frame 5
_root.DESIREDFRAMERATE = 50;
_root.snd_stage_bg.setVolume(100);
_root.boss_lazer.snd_boss_attack.start(snd1, 0);
_root.boss_lazer.snd_laser_beam.start(snd2, 0);
_root.spikeb1.snd_spike.start(snd3, 0);
_root.spikeb2.snd_spike.start(snd4, 0);
Symbol 294 MovieClip Frame 36
stop();
this._parent.swapDepths(this._parent.tmpdepth);
Symbol 295 MovieClip Frame 1
stop();
Symbol 298 MovieClip Frame 1
snd1 = _root.boss_lazer.snd_boss_attack.position / 1000;
snd2 = _root.boss_lazer.snd_laser_beam.position / 1000;
snd3 = _root.spikeb1.snd_spike.position / 1000;
snd4 = _root.spikeb2.snd_spike.position / 1000;
_root.snd_stage_bg.setVolume(0);
_root.boss_lazer.snd_boss_attack.stop();
_root.boss_lazer.snd_laser_beam.stop();
_root.spikeb1.snd_spike.stop();
_root.spikeb2.snd_spike.stop();
play();
Symbol 298 MovieClip Frame 2
_root.mc_ef.gotoAndPlay(2);
Symbol 298 MovieClip Frame 4
_root.DESIREDFRAMERATE = 1;
Symbol 298 MovieClip Frame 5
_root.DESIREDFRAMERATE = 50;
_root.snd_stage_bg.setVolume(100);
_root.boss_lazer.snd_boss_attack.start(snd1, 0);
_root.boss_lazer.snd_laser_beam.start(snd2, 0);
_root.spikeb1.snd_spike.start(snd3, 0);
_root.spikeb2.snd_spike.start(snd4, 0);
Symbol 298 MovieClip Frame 36
stop();
this._parent.swapDepths(this._parent.tmpdepth);
Symbol 299 MovieClip Frame 1
stop();
Symbol 301 MovieClip Frame 1
snd1 = _root.boss_lazer.snd_boss_attack.position / 1000;
snd2 = _root.boss_lazer.snd_laser_beam.position / 1000;
snd3 = _root.spikeb1.snd_spike.position / 1000;
snd4 = _root.spikeb2.snd_spike.position / 1000;
_root.snd_stage_bg.setVolume(0);
_root.boss_lazer.snd_boss_attack.stop();
_root.boss_lazer.snd_laser_beam.stop();
_root.spikeb1.snd_spike.stop();
_root.spikeb2.snd_spike.stop();
play();
Symbol 301 MovieClip Frame 2
_root.mc_ef.gotoAndPlay(2);
Symbol 301 MovieClip Frame 4
_root.DESIREDFRAMERATE = 1;
Symbol 301 MovieClip Frame 5
_root.DESIREDFRAMERATE = 50;
_root.snd_stage_bg.setVolume(100);
_root.boss_lazer.snd_boss_attack.start(snd1, 0);
_root.boss_lazer.snd_laser_beam.start(snd2, 0);
_root.spikeb1.snd_spike.start(snd3, 0);
_root.spikeb2.snd_spike.start(snd4, 0);
Symbol 301 MovieClip Frame 36
stop();
this._parent.swapDepths(this._parent.tmpdepth);
Symbol 302 MovieClip Frame 1
stop();
Symbol 304 MovieClip Frame 1
snd1 = _root.boss_lazer.snd_boss_attack.position / 1000;
snd2 = _root.boss_lazer.snd_laser_beam.position / 1000;
snd3 = _root.spikeb1.snd_spike.position / 1000;
snd4 = _root.spikeb2.snd_spike.position / 1000;
_root.snd_stage_bg.setVolume(0);
_root.boss_lazer.snd_boss_attack.stop();
_root.boss_lazer.snd_laser_beam.stop();
_root.spikeb1.snd_spike.stop();
_root.spikeb2.snd_spike.stop();
play();
Symbol 304 MovieClip Frame 2
_root.mc_ef.gotoAndPlay(2);
Symbol 304 MovieClip Frame 4
_root.DESIREDFRAMERATE = 1;
Symbol 304 MovieClip Frame 5
_root.DESIREDFRAMERATE = 50;
_root.snd_stage_bg.setVolume(100);
_root.boss_lazer.snd_boss_attack.start(snd1, 0);
_root.boss_lazer.snd_laser_beam.start(snd2, 0);
_root.spikeb1.snd_spike.start(snd3, 0);
_root.spikeb2.snd_spike.start(snd4, 0);
Symbol 304 MovieClip Frame 36
stop();
this._parent.swapDepths(this._parent.tmpdepth);
Symbol 305 MovieClip Frame 1
stop();
Symbol 308 MovieClip Frame 1
snd1 = _root.boss_lazer.snd_boss_attack.position / 1000;
snd2 = _root.boss_lazer.snd_laser_beam.position / 1000;
snd3 = _root.spikeb1.snd_spike.position / 1000;
snd4 = _root.spikeb2.snd_spike.position / 1000;
_root.snd_stage_bg.setVolume(0);
_root.boss_lazer.snd_boss_attack.stop();
_root.boss_lazer.snd_laser_beam.stop();
_root.spikeb1.snd_spike.stop();
_root.spikeb2.snd_spike.stop();
play();
Symbol 308 MovieClip Frame 2
_root.mc_ef.gotoAndPlay(2);
Symbol 308 MovieClip Frame 4
_root.DESIREDFRAMERATE = 1;
Symbol 308 MovieClip Frame 5
_root.DESIREDFRAMERATE = 50;
_root.snd_stage_bg.setVolume(100);
_root.boss_lazer.snd_boss_attack.start(snd1, 0);
_root.boss_lazer.snd_laser_beam.start(snd2, 0);
_root.spikeb1.snd_spike.start(snd3, 0);
_root.spikeb2.snd_spike.start(snd4, 0);
Symbol 308 MovieClip Frame 36
stop();
this._parent.swapDepths(this._parent.tmpdepth);
Symbol 309 MovieClip Frame 1
stop();
Symbol 312 MovieClip Frame 1
snd1 = _root.boss_lazer.snd_boss_attack.position / 1000;
snd2 = _root.boss_lazer.snd_laser_beam.position / 1000;
snd3 = _root.spikeb1.snd_spike.position / 1000;
snd4 = _root.spikeb2.snd_spike.position / 1000;
_root.snd_stage_bg.setVolume(0);
_root.boss_lazer.snd_boss_attack.stop();
_root.boss_lazer.snd_laser_beam.stop();
_root.spikeb1.snd_spike.stop();
_root.spikeb2.snd_spike.stop();
play();
Symbol 312 MovieClip Frame 2
_root.mc_ef.gotoAndPlay(2);
Symbol 312 MovieClip Frame 4
_root.DESIREDFRAMERATE = 1;
Symbol 312 MovieClip Frame 5
_root.DESIREDFRAMERATE = 50;
_root.snd_stage_bg.setVolume(100);
_root.boss_lazer.snd_boss_attack.start(snd1, 0);
_root.boss_lazer.snd_laser_beam.start(snd2, 0);
_root.spikeb1.snd_spike.start(snd3, 0);
_root.spikeb2.snd_spike.start(snd4, 0);
Symbol 312 MovieClip Frame 36
stop();
this._parent.swapDepths(this._parent.tmpdepth);
Symbol 313 MovieClip Frame 1
stop();
Symbol 316 MovieClip Frame 1
snd1 = _root.boss_lazer.snd_boss_attack.position / 1000;
snd2 = _root.boss_lazer.snd_laser_beam.position / 1000;
_root.snd_stage_bg.setVolume(0);
_root.boss_lazer.snd_boss_attack.stop();
_root.boss_lazer.snd_laser_beam.stop();
play();
Symbol 316 MovieClip Frame 2
_root.mc_ef.gotoAndPlay(2);
Symbol 316 MovieClip Frame 4
_root.DESIREDFRAMERATE = 1;
Symbol 316 MovieClip Frame 5
_root.DESIREDFRAMERATE = 50;
_root.snd_stage_bg.setVolume(100);
_root.boss_lazer.snd_boss_attack.start(snd1, 0);
_root.boss_lazer.snd_laser_beam.start(snd2, 0);
Symbol 316 MovieClip Frame 36
stop();
this._parent.swapDepths(this._parent.tmpdepth);
Symbol 317 MovieClip Frame 1
stop();
Symbol 320 MovieClip Frame 1
snd1 = _root.boss_lazer.snd_boss_attack.position / 1000;
snd2 = _root.boss_lazer.snd_laser_beam.position / 1000;
snd3 = _root.spikeb1.snd_spike.position / 1000;
snd4 = _root.spikeb2.snd_spike.position / 1000;
_root.snd_stage_bg.setVolume(0);
_root.boss_lazer.snd_boss_attack.stop();
_root.boss_lazer.snd_laser_beam.stop();
_root.spikeb1.snd_spike.stop();
_root.spikeb2.snd_spike.stop();
play();
Symbol 320 MovieClip Frame 2
_root.mc_ef.gotoAndPlay(2);
Symbol 320 MovieClip Frame 4
_root.DESIREDFRAMERATE = 1;
Symbol 320 MovieClip Frame 5
_root.DESIREDFRAMERATE = 50;
_root.snd_stage_bg.setVolume(100);
_root.boss_lazer.snd_boss_attack.start(snd1, 0);
_root.boss_lazer.snd_laser_beam.start(snd2, 0);
_root.spikeb1.snd_spike.start(snd3, 0);
_root.spikeb2.snd_spike.start(snd4, 0);
Symbol 320 MovieClip Frame 36
stop();
this._parent.swapDepths(this._parent.tmpdepth);
Symbol 321 MovieClip Frame 1
stop();
Symbol 323 MovieClip Frame 1
snd1 = _root.boss_lazer.snd_boss_attack.position / 1000;
snd2 = _root.boss_lazer.snd_laser_beam.position / 1000;
snd3 = _root.spikeb1.snd_spike.position / 1000;
snd4 = _root.spikeb2.snd_spike.position / 1000;
_root.snd_stage_bg.setVolume(0);
_root.boss_lazer.snd_boss_attack.stop();
_root.boss_lazer.snd_laser_beam.stop();
_root.spikeb1.snd_spike.stop();
_root.spikeb2.snd_spike.stop();
play();
Symbol 323 MovieClip Frame 2
_root.mc_ef.gotoAndPlay(2);
Symbol 323 MovieClip Frame 4
_root.DESIREDFRAMERATE = 1;
Symbol 323 MovieClip Frame 5
_root.DESIREDFRAMERATE = 50;
_root.snd_stage_bg.setVolume(100);
_root.boss_lazer.snd_boss_attack.start(snd1, 0);
_root.boss_lazer.snd_laser_beam.start(snd2, 0);
_root.spikeb1.snd_spike.start(snd3, 0);
_root.spikeb2.snd_spike.start(snd4, 0);
Symbol 323 MovieClip Frame 36
stop();
this._parent.swapDepths(this._parent.tmpdepth);
Symbol 324 MovieClip Frame 1
stop();
Symbol 326 MovieClip Frame 1
snd1 = _root.boss_lazer.snd_boss_attack.position / 1000;
snd2 = _root.boss_lazer.snd_laser_beam.position / 1000;
snd3 = _root.spikeb1.snd_spike.position / 1000;
snd4 = _root.spikeb2.snd_spike.position / 1000;
_root.snd_stage_bg.setVolume(0);
_root.boss_lazer.snd_boss_attack.stop();
_root.boss_lazer.snd_laser_beam.stop();
_root.spikeb1.snd_spike.stop();
_root.spikeb2.snd_spike.stop();
play();
Symbol 326 MovieClip Frame 2
_root.mc_ef.gotoAndPlay(2);
Symbol 326 MovieClip Frame 4
_root.DESIREDFRAMERATE = 1;
Symbol 326 MovieClip Frame 5
_root.DESIREDFRAMERATE = 50;
_root.snd_stage_bg.setVolume(100);
_root.boss_lazer.snd_boss_attack.start(snd1, 0);
_root.boss_lazer.snd_laser_beam.start(snd2, 0);
_root.spikeb1.snd_spike.start(snd3, 0);
_root.spikeb2.snd_spike.start(snd4, 0);
Symbol 326 MovieClip Frame 36
stop();
this._parent.swapDepths(this._parent.tmpdepth);
Symbol 327 MovieClip Frame 1
stop();
Symbol 332 Button
on (release) {
_root.nextFrame();
}
on (keyPress "<Enter>") {
stopAllSounds();
_root.nextFrame();
}
Symbol 351 MovieClip Frame 1
stop();
Symbol 351 MovieClip Frame 2
play();
Symbol 360 MovieClip Frame 1
stop();
Symbol 363 MovieClip Frame 31
stop();
Symbol 367 MovieClip Frame 31
stop();
Symbol 370 MovieClip Frame 31
stop();
Symbol 374 MovieClip Frame 31
stop();
Symbol 383 MovieClip Frame 5
stop();
Symbol 384 MovieClip Frame 5
stop();
Symbol 385 MovieClip Frame 5
stop();
Symbol 386 MovieClip Frame 5
stop();
Symbol 387 MovieClip Frame 1
stop();
_root.mc_pow.gotoAndStop(1);
Symbol 387 MovieClip Frame 2
_root.mc_pow.gotoAndStop(2);
Symbol 387 MovieClip Frame 3
_root.mc_pow.gotoAndStop(3);
Symbol 387 MovieClip Frame 4
_root.mc_pow.gotoAndStop(4);
Symbol 387 MovieClip Frame 5
_root.mc_pow.gotoAndStop(5);
Symbol 388 MovieClip Frame 1
stop();
Symbol 389 MovieClip Frame 1
stop();
Symbol 399 MovieClip Frame 1
stop();
Symbol 399 MovieClip Frame 2
play();
Symbol 415 MovieClip Frame 1
stop();
Symbol 431 MovieClip Frame 1
stop();
Symbol 431 MovieClip Frame 2
play();
Symbol 436 MovieClip Frame 7
this._parent.gotoAndStop(1);
Symbol 442 MovieClip Frame 40
stop();
Symbol 443 MovieClip Frame 1
stop();
Symbol 443 MovieClip Frame 3
_root.bmb_cnt--;
Symbol 446 MovieClip Frame 7
this._parent.gotoAndStop(1);
Symbol 447 MovieClip Frame 1
stop();
Symbol 447 MovieClip Frame 3
_root.bmb_cnt--;
Symbol 450 MovieClip Frame 7
this._parent.gotoAndStop(1);
Symbol 451 MovieClip Frame 1
stop();
Symbol 451 MovieClip Frame 3
_root.bmb_cnt--;
Instance of Symbol 459 MovieClip in Symbol 460 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndPlay(random(9) + 1);
}
Symbol 460 MovieClip Frame 40
this._parent.gotoAndStop(2);
Instance of Symbol 466 MovieClip in Symbol 467 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndPlay(random(9) + 1);
}
Symbol 467 MovieClip Frame 40
this._parent.gotoAndStop(3);
Instance of Symbol 474 MovieClip in Symbol 475 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndPlay(random(9) + 1);
}
Symbol 475 MovieClip Frame 40
this._parent.gotoAndStop(4);
Instance of Symbol 481 MovieClip in Symbol 482 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndPlay(random(9) + 1);
}
Symbol 482 MovieClip Frame 40
this._parent.gotoAndStop(1);
Symbol 483 MovieClip Frame 1
stop();
Symbol 484 MovieClip Frame 1
stop();
Instance of Symbol 205 MovieClip in Symbol 484 MovieClip Frame 2
onClipEvent (load) {
lsp = 20 * Math.random();
rsp = 20 * Math.random();
rotl = 40 * Math.random();
rotr = 40 * Math.random();
ysp = (10 * Math.random()) + 5;
cmd = "";
cmd2 = "";
}
onClipEvent (enterFrame) {
if (_y < 400) {
ysp = ysp - 1;
_y = (_y - ysp);
_x = (_x - lsp);
_x = (_x + rsp);
_rotation = (_rotation - rotl);
_rotation = (_rotation + rotr);
}
if (this.hitTest(_root.brddown) && (cmd2 == "")) {
s = (-ysp) / 2;
s--;
ysp = s;
cmd2 = "yes";
}
if (this.hitTest(_root.brdleft) && (cmd == "")) {
if (rotl > rotr) {
rotr = rotl / 5;
rotl = 0;
} else {
rotl = rotr / 5;
rotr = 0;
}
cmd = "yes";
rsp = lsp / 5;
lsp = 0;
} else if (this.hitTest(_root.brdright) && (cmd == "")) {
if (rotl > rotr) {
rotr = rotl / 5;
rotl = 0;
} else {
rotl = rotr / 5;
rotr = 0;
}
cmd = "yes";
lsp = rsp / 5;
rsp = 0;
}
}
Instance of Symbol 207 MovieClip in Symbol 484 MovieClip Frame 2
onClipEvent (load) {
lsp = 20 * Math.random();
rsp = 20 * Math.random();
rotl = 40 * Math.random();
rotr = 40 * Math.random();
ysp = (10 * Math.random()) + 5;
cmd = "";
cmd2 = "";
}
onClipEvent (enterFrame) {
if (_y < 400) {
ysp = ysp - 1;
_y = (_y - ysp);
_x = (_x - lsp);
_x = (_x + rsp);
_rotation = (_rotation - rotl);
_rotation = (_rotation + rotr);
}
if (this.hitTest(_root.brddown) && (cmd2 == "")) {
s = (-ysp) / 2;
s--;
ysp = s;
cmd2 = "yes";
}
if (this.hitTest(_root.brdleft) && (cmd == "")) {
if (rotl > rotr) {
rotr = rotl / 5;
rotl = 0;
} else {
rotl = rotr / 5;
rotr = 0;
}
cmd = "yes";
rsp = lsp / 5;
lsp = 0;
} else if (this.hitTest(_root.brdright) && (cmd == "")) {
if (rotl > rotr) {
rotr = rotl / 5;
rotl = 0;
} else {
rotl = rotr / 5;
rotr = 0;
}
cmd = "yes";
lsp = rsp / 5;
rsp = 0;
}
}
Instance of Symbol 209 MovieClip in Symbol 484 MovieClip Frame 2
onClipEvent (load) {
lsp = 20 * Math.random();
rsp = 20 * Math.random();
rotl = 40 * Math.random();
rotr = 40 * Math.random();
ysp = (10 * Math.random()) + 5;
cmd = "";
cmd2 = "";
}
onClipEvent (enterFrame) {
if (_y < 400) {
ysp = ysp - 1;
_y = (_y - ysp);
_x = (_x - lsp);
_x = (_x + rsp);
_rotation = (_rotation - rotl);
_rotation = (_rotation + rotr);
}
if (this.hitTest(_root.brddown) && (cmd2 == "")) {
s = (-ysp) / 2;
s--;
ysp = s;
cmd2 = "yes";
}
if (this.hitTest(_root.brdleft) && (cmd == "")) {
if (rotl > rotr) {
rotr = rotl / 5;
rotl = 0;
} else {
rotl = rotr / 5;
rotr = 0;
}
cmd = "yes";
rsp = lsp / 5;
lsp = 0;
} else if (this.hitTest(_root.brdright) && (cmd == "")) {
if (rotl > rotr) {
rotr = rotl / 5;
rotl = 0;
} else {
rotl = rotr / 5;
rotr = 0;
}
cmd = "yes";
lsp = rsp / 5;
rsp = 0;
}
}
Instance of Symbol 211 MovieClip in Symbol 484 MovieClip Frame 2
onClipEvent (load) {
lsp = 20 * Math.random();
rsp = 20 * Math.random();
rotl = 40 * Math.random();
rotr = 40 * Math.random();
ysp = (10 * Math.random()) + 5;
cmd = "";
cmd2 = "";
}
onClipEvent (enterFrame) {
if (_y < 400) {
ysp = ysp - 1;
_y = (_y - ysp);
_x = (_x - lsp);
_x = (_x + rsp);
_rotation = (_rotation - rotl);
_rotation = (_rotation + rotr);
}
if (this.hitTest(_root.brddown) && (cmd2 == "")) {
s = (-ysp) / 2;
s--;
ysp = s;
cmd2 = "yes";
}
if (this.hitTest(_root.brdleft) && (cmd == "")) {
if (rotl > rotr) {
rotr = rotl / 5;
rotl = 0;
} else {
rotl = rotr / 5;
rotr = 0;
}
cmd = "yes";
rsp = lsp / 5;
lsp = 0;
} else if (this.hitTest(_root.brdright) && (cmd == "")) {
if (rotl > rotr) {
rotr = rotl / 5;
rotl = 0;
} else {
rotl = rotr / 5;
rotr = 0;
}
cmd = "yes";
lsp = rsp / 5;
rsp = 0;
}
}
Instance of Symbol 207 MovieClip in Symbol 484 MovieClip Frame 2
onClipEvent (load) {
lsp = 20 * Math.random();
rsp = 20 * Math.random();
rotl = 40 * Math.random();
rotr = 40 * Math.random();
ysp = (30 * Math.random()) + 10;
cmd = "";
cmd2 = "";
}
onClipEvent (enterFrame) {
if (_y < 400) {
ysp = ysp - 1;
_y = (_y - ysp);
_x = (_x - lsp);
_x = (_x + rsp);
_rotation = (_rotation - rotl);
_rotation = (_rotation + rotr);
}
if (this.hitTest(_root.brddown) && (cmd2 == "")) {
s = (-ysp) / 2;
s--;
ysp = s;
cmd2 = "yes";
}
if (this.hitTest(_root.brdleft) && (cmd == "")) {
if (rotl > rotr) {
rotr = rotl / 5;
rotl = 0;
} else {
rotl = rotr / 5;
rotr = 0;
}
cmd = "yes";
rsp = lsp / 5;
lsp = 0;
} else if (this.hitTest(_root.brdright) && (cmd == "")) {
if (rotl > rotr) {
rotr = rotl / 5;
rotl = 0;
} else {
rotl = rotr / 5;
rotr = 0;
}
cmd = "yes";
lsp = rsp / 5;
rsp = 0;
}
}
Instance of Symbol 205 MovieClip in Symbol 484 MovieClip Frame 2
onClipEvent (load) {
lsp = 20 * Math.random();
rsp = 20 * Math.random();
rotl = 40 * Math.random();
rotr = 40 * Math.random();
ysp = (30 * Math.random()) + 10;
cmd = "";
cmd2 = "";
}
onClipEvent (enterFrame) {
if (_y < 400) {
ysp = ysp - 1;
_y = (_y - ysp);
_x = (_x - lsp);
_x = (_x + rsp);
_rotation = (_rotation - rotl);
_rotation = (_rotation + rotr);
}
if (this.hitTest(_root.brddown) && (cmd2 == "")) {
s = (-ysp) / 2;
s--;
ysp = s;
cmd2 = "yes";
}
if (this.hitTest(_root.brdleft) && (cmd == "")) {
if (rotl > rotr) {
rotr = rotl / 5;
rotl = 0;
} else {
rotl = rotr / 5;
rotr = 0;
}
cmd = "yes";
rsp = lsp / 5;
lsp = 0;
} else if (this.hitTest(_root.brdright) && (cmd == "")) {
if (rotl > rotr) {
rotr = rotl / 5;
rotl = 0;
} else {
rotl = rotr / 5;
rotr = 0;
}
cmd = "yes";
lsp = rsp / 5;
rsp = 0;
}
}
Instance of Symbol 205 MovieClip in Symbol 484 MovieClip Frame 2
onClipEvent (load) {
lsp = 20 * Math.random();
rsp = 20 * Math.random();
rotl = 40 * Math.random();
rotr = 40 * Math.random();
ysp = (10 * Math.random()) + 5;
cmd = "";
cmd2 = "";
}
onClipEvent (enterFrame) {
if (_y < 400) {
ysp = ysp - 1;
_y = (_y - ysp);
_x = (_x - lsp);
_x = (_x + rsp);
_rotation = (_rotation - rotl);
_rotation = (_rotation + rotr);
}
if (this.hitTest(_root.brddown) && (cmd2 == "")) {
s = (-ysp) / 2;
s--;
ysp = s;
cmd2 = "yes";
}
if (this.hitTest(_root.brdleft) && (cmd == "")) {
if (rotl > rotr) {
rotr = rotl / 5;
rotl = 0;
} else {
rotl = rotr / 5;
rotr = 0;
}
cmd = "yes";
rsp = lsp / 5;
lsp = 0;
} else if (this.hitTest(_root.brdright) && (cmd == "")) {
if (rotl > rotr) {
rotr = rotl / 5;
rotl = 0;
} else {
rotl = rotr / 5;
rotr = 0;
}
cmd = "yes";
lsp = rsp / 5;
rsp = 0;
}
}
Instance of Symbol 211 MovieClip in Symbol 484 MovieClip Frame 2
onClipEvent (load) {
lsp = 20 * Math.random();
rsp = 20 * Math.random();
rotl = 40 * Math.random();
rotr = 40 * Math.random();
ysp = (10 * Math.random()) + 5;
cmd = "";
cmd2 = "";
}
onClipEvent (enterFrame) {
if (_y < 400) {
ysp = ysp - 1;
_y = (_y - ysp);
_x = (_x - lsp);
_x = (_x + rsp);
_rotation = (_rotation - rotl);
_rotation = (_rotation + rotr);
}
if (this.hitTest(_root.brddown) && (cmd2 == "")) {
s = (-ysp) / 2;
s--;
ysp = s;
cmd2 = "yes";
}
if (this.hitTest(_root.brdleft) && (cmd == "")) {
if (rotl > rotr) {
rotr = rotl / 5;
rotl = 0;
} else {
rotl = rotr / 5;
rotr = 0;
}
cmd = "yes";
rsp = lsp / 5;
lsp = 0;
} else if (this.hitTest(_root.brdright) && (cmd == "")) {
if (rotl > rotr) {
rotr = rotl / 5;
rotl = 0;
} else {
rotl = rotr / 5;
rotr = 0;
}
cmd = "yes";
lsp = rsp / 5;
rsp = 0;
}
}
Symbol 485 MovieClip Frame 1
stop();
Instance of Symbol 205 MovieClip in Symbol 485 MovieClip Frame 2
onClipEvent (load) {
lsp = 20 * Math.random();
rsp = 20 * Math.random();
rotl = 40 * Math.random();
rotr = 40 * Math.random();
ysp = (10 * Math.random()) + 5;
cmd = "";
cmd2 = "";
}
onClipEvent (enterFrame) {
if (_y < 400) {
ysp = ysp - 1;
_y = (_y - ysp);
_x = (_x - lsp);
_x = (_x + rsp);
_rotation = (_rotation - rotl);
_rotation = (_rotation + rotr);
}
if (this.hitTest(_root.brddown) && (cmd2 == "")) {
s = (-ysp) / 2;
s--;
ysp = s;
cmd2 = "yes";
}
if (this.hitTest(_root.brdleft) && (cmd == "")) {
if (rotl > rotr) {
rotr = rotl / 5;
rotl = 0;
} else {
rotl = rotr / 5;
rotr = 0;
}
cmd = "yes";
rsp = lsp / 5;
lsp = 0;
} else if (this.hitTest(_root.brdright) && (cmd == "")) {
if (rotl > rotr) {
rotr = rotl / 5;
rotl = 0;
} else {
rotl = rotr / 5;
rotr = 0;
}
cmd = "yes";
lsp = rsp / 5;
rsp = 0;
}
}
Instance of Symbol 207 MovieClip in Symbol 485 MovieClip Frame 2
onClipEvent (load) {
lsp = 20 * Math.random();
rsp = 20 * Math.random();
rotl = 40 * Math.random();
rotr = 40 * Math.random();
ysp = (10 * Math.random()) + 5;
cmd = "";
cmd2 = "";
}
onClipEvent (enterFrame) {
if (_y < 400) {
ysp = ysp - 1;
_y = (_y - ysp);
_x = (_x - lsp);
_x = (_x + rsp);
_rotation = (_rotation - rotl);
_rotation = (_rotation + rotr);
}
if (this.hitTest(_root.brddown) && (cmd2 == "")) {
s = (-ysp) / 2;
s--;
ysp = s;
cmd2 = "yes";
}
if (this.hitTest(_root.brdleft) && (cmd == "")) {
if (rotl > rotr) {
rotr = rotl / 5;
rotl = 0;
} else {
rotl = rotr / 5;
rotr = 0;
}
cmd = "yes";
rsp = lsp / 5;
lsp = 0;
} else if (this.hitTest(_root.brdright) && (cmd == "")) {
if (rotl > rotr) {
rotr = rotl / 5;
rotl = 0;
} else {
rotl = rotr / 5;
rotr = 0;
}
cmd = "yes";
lsp = rsp / 5;
rsp = 0;
}
}
Instance of Symbol 209 MovieClip in Symbol 485 MovieClip Frame 2
onClipEvent (load) {
lsp = 20 * Math.random();
rsp = 20 * Math.random();
rotl = 40 * Math.random();
rotr = 40 * Math.random();
ysp = (10 * Math.random()) + 5;
cmd = "";
cmd2 = "";
}
onClipEvent (enterFrame) {
if (_y < 400) {
ysp = ysp - 1;
_y = (_y - ysp);
_x = (_x - lsp);
_x = (_x + rsp);
_rotation = (_rotation - rotl);
_rotation = (_rotation + rotr);
}
if (this.hitTest(_root.brddown) && (cmd2 == "")) {
s = (-ysp) / 2;
s--;
ysp = s;
cmd2 = "yes";
}
if (this.hitTest(_root.brdleft) && (cmd == "")) {
if (rotl > rotr) {
rotr = rotl / 5;
rotl = 0;
} else {
rotl = rotr / 5;
rotr = 0;
}
cmd = "yes";
rsp = lsp / 5;
lsp = 0;
} else if (this.hitTest(_root.brdright) && (cmd == "")) {
if (rotl > rotr) {
rotr = rotl / 5;
rotl = 0;
} else {
rotl = rotr / 5;
rotr = 0;
}
cmd = "yes";
lsp = rsp / 5;
rsp = 0;
}
}
Instance of Symbol 211 MovieClip in Symbol 485 MovieClip Frame 2
onClipEvent (load) {
lsp = 20 * Math.random();
rsp = 20 * Math.random();
rotl = 40 * Math.random();
rotr = 40 * Math.random();
ysp = (10 * Math.random()) + 5;
cmd = "";
cmd2 = "";
}
onClipEvent (enterFrame) {
if (_y < 400) {
ysp = ysp - 1;
_y = (_y - ysp);
_x = (_x - lsp);
_x = (_x + rsp);
_rotation = (_rotation - rotl);
_rotation = (_rotation + rotr);
}
if (this.hitTest(_root.brddown) && (cmd2 == "")) {
s = (-ysp) / 2;
s--;
ysp = s;
cmd2 = "yes";
}
if (this.hitTest(_root.brdleft) && (cmd == "")) {
if (rotl > rotr) {
rotr = rotl / 5;
rotl = 0;
} else {
rotl = rotr / 5;
rotr = 0;
}
cmd = "yes";
rsp = lsp / 5;
lsp = 0;
} else if (this.hitTest(_root.brdright) && (cmd == "")) {
if (rotl > rotr) {
rotr = rotl / 5;
rotl = 0;
} else {
rotl = rotr / 5;
rotr = 0;
}
cmd = "yes";
lsp = rsp / 5;
rsp = 0;
}
}
Instance of Symbol 207 MovieClip in Symbol 485 MovieClip Frame 2
onClipEvent (load) {
lsp = 20 * Math.random();
rsp = 20 * Math.random();
rotl = 40 * Math.random();
rotr = 40 * Math.random();
ysp = (30 * Math.random()) + 10;
cmd = "";
cmd2 = "";
}
onClipEvent (enterFrame) {
if (_y < 400) {
ysp = ysp - 1;
_y = (_y - ysp);
_x = (_x - lsp);
_x = (_x + rsp);
_rotation = (_rotation - rotl);
_rotation = (_rotation + rotr);
}
if (this.hitTest(_root.brddown) && (cmd2 == "")) {
s = (-ysp) / 2;
s--;
ysp = s;
cmd2 = "yes";
}
if (this.hitTest(_root.brdleft) && (cmd == "")) {
if (rotl > rotr) {
rotr = rotl / 5;
rotl = 0;
} else {
rotl = rotr / 5;
rotr = 0;
}
cmd = "yes";
rsp = lsp / 5;
lsp = 0;
} else if (this.hitTest(_root.brdright) && (cmd == "")) {
if (rotl > rotr) {
rotr = rotl / 5;
rotl = 0;
} else {
rotl = rotr / 5;
rotr = 0;
}
cmd = "yes";
lsp = rsp / 5;
rsp = 0;
}
}
Instance of Symbol 205 MovieClip in Symbol 485 MovieClip Frame 2
onClipEvent (load) {
lsp = 20 * Math.random();
rsp = 20 * Math.random();
rotl = 40 * Math.random();
rotr = 40 * Math.random();
ysp = (30 * Math.random()) + 10;
cmd = "";
cmd2 = "";
}
onClipEvent (enterFrame) {
if (_y < 400) {
ysp = ysp - 1;
_y = (_y - ysp);
_x = (_x - lsp);
_x = (_x + rsp);
_rotation = (_rotation - rotl);
_rotation = (_rotation + rotr);
}
if (this.hitTest(_root.brddown) && (cmd2 == "")) {
s = (-ysp) / 2;
s--;
ysp = s;
cmd2 = "yes";
}
if (this.hitTest(_root.brdleft) && (cmd == "")) {
if (rotl > rotr) {
rotr = rotl / 5;
rotl = 0;
} else {
rotl = rotr / 5;
rotr = 0;
}
cmd = "yes";
rsp = lsp / 5;
lsp = 0;
} else if (this.hitTest(_root.brdright) && (cmd == "")) {
if (rotl > rotr) {
rotr = rotl / 5;
rotl = 0;
} else {
rotl = rotr / 5;
rotr = 0;
}
cmd = "yes";
lsp = rsp / 5;
rsp = 0;
}
}
Instance of Symbol 205 MovieClip in Symbol 485 MovieClip Frame 2
onClipEvent (load) {
lsp = 20 * Math.random();
rsp = 20 * Math.random();
rotl = 40 * Math.random();
rotr = 40 * Math.random();
ysp = (10 * Math.random()) + 5;
cmd = "";
cmd2 = "";
}
onClipEvent (enterFrame) {
if (_y < 400) {
ysp = ysp - 1;
_y = (_y - ysp);
_x = (_x - lsp);
_x = (_x + rsp);
_rotation = (_rotation - rotl);
_rotation = (_rotation + rotr);
}
if (this.hitTest(_root.brddown) && (cmd2 == "")) {
s = (-ysp) / 2;
s--;
ysp = s;
cmd2 = "yes";
}
if (this.hitTest(_root.brdleft) && (cmd == "")) {
if (rotl > rotr) {
rotr = rotl / 5;
rotl = 0;
} else {
rotl = rotr / 5;
rotr = 0;
}
cmd = "yes";
rsp = lsp / 5;
lsp = 0;
} else if (this.hitTest(_root.brdright) && (cmd == "")) {
if (rotl > rotr) {
rotr = rotl / 5;
rotl = 0;
} else {
rotl = rotr / 5;
rotr = 0;
}
cmd = "yes";
lsp = rsp / 5;
rsp = 0;
}
}
Instance of Symbol 211 MovieClip in Symbol 485 MovieClip Frame 2
onClipEvent (load) {
lsp = 20 * Math.random();
rsp = 20 * Math.random();
rotl = 40 * Math.random();
rotr = 40 * Math.random();
ysp = (10 * Math.random()) + 5;
cmd = "";
cmd2 = "";
}
onClipEvent (enterFrame) {
if (_y < 400) {
ysp = ysp - 1;
_y = (_y - ysp);
_x = (_x - lsp);
_x = (_x + rsp);
_rotation = (_rotation - rotl);
_rotation = (_rotation + rotr);
}
if (this.hitTest(_root.brddown) && (cmd2 == "")) {
s = (-ysp) / 2;
s--;
ysp = s;
cmd2 = "yes";
}
if (this.hitTest(_root.brdleft) && (cmd == "")) {
if (rotl > rotr) {
rotr = rotl / 5;
rotl = 0;
} else {
rotl = rotr / 5;
rotr = 0;
}
cmd = "yes";
rsp = lsp / 5;
lsp = 0;
} else if (this.hitTest(_root.brdright) && (cmd == "")) {
if (rotl > rotr) {
rotr = rotl / 5;
rotl = 0;
} else {
rotl = rotr / 5;
rotr = 0;
}
cmd = "yes";
lsp = rsp / 5;
rsp = 0;
}
}
Symbol 522 MovieClip Frame 1
stop();
Symbol 522 MovieClip Frame 2
play();
Symbol 524 MovieClip Frame 1
stop();
Symbol 524 MovieClip Frame 2
play();
Symbol 539 MovieClip Frame 1
stop();
Symbol 539 MovieClip Frame 2
play();
Symbol 542 MovieClip Frame 1
stop();
Symbol 542 MovieClip Frame 2
play();
Symbol 546 MovieClip Frame 9
this._parent.gotoAndStop(1);
Symbol 547 MovieClip Frame 1
stop();
Symbol 552 MovieClip Frame 19
i = random(3) + 1;
if (i == 1) {
this._parent.gotoAndStop(1);
} else if (i == 2) {
this._parent.gotoAndStop(2);
} else if (i == 3) {
this._parent.gotoAndStop(3);
}
Symbol 554 MovieClip Frame 15
_root.boss_lazer.snd_boss_attack.start(0, 0);
Symbol 554 MovieClip Frame 72
_root.boss_lazer.snd_boss_attack.stop();
_root.boss_lazer.snd_laser_beam.start(0, 0);
_root.boss_lazer.play();
_root.vcam.lazer = true;
Symbol 554 MovieClip Frame 102
_root.vcam.lazer = false;
_root.vcam._x = _root.vcam.xpos;
_root.vcam._y = _root.vcam.ypos;
_root.vcam.i = 0;
Symbol 554 MovieClip Frame 111
i = random(3) + 1;
if (i == 1) {
this._parent.gotoAndStop(1);
} else if (i == 2) {
this._parent.gotoAndStop(2);
} else if (i == 3) {
this._parent.gotoAndStop(3);
}
Symbol 555 MovieClip Frame 9
_root.vcam.land = true;
Symbol 555 MovieClip Frame 19
_root.vcam.land = true;
Symbol 555 MovieClip Frame 21
i = random(3) + 1;
if (i == 1) {
this._parent.gotoAndStop(1);
} else if (i == 2) {
this._parent.gotoAndStop(2);
} else if (i == 3) {
this._parent.gotoAndStop(3);
}
Symbol 557 MovieClip Frame 3
if (_root.mc_grass.boss_life._currentframe == _root.mc_grass.boss_life._totalframes) {
this._parent.gotoAndStop(5);
}
Symbol 557 MovieClip Frame 15
this._parent.gotoAndStop(1);
Symbol 558 MovieClip Frame 1
_root.vcam.lazer = true;
Symbol 558 MovieClip Frame 9
_root.mc_ef.gotoAndPlay(2);
Symbol 558 MovieClip Frame 16
_root.mc_ef.gotoAndPlay(2);
Symbol 558 MovieClip Frame 25
_root.mc_ef.gotoAndPlay(2);
Symbol 558 MovieClip Frame 31
_root.mc_ef.gotoAndPlay(2);
Symbol 558 MovieClip Frame 39
_root.mc_ef.gotoAndPlay(2);
Symbol 558 MovieClip Frame 43
_root.mc_ef.gotoAndPlay(2);
Symbol 558 MovieClip Frame 45
_root.mc_ef.gotoAndPlay(2);
Symbol 558 MovieClip Frame 51
_root.mc_ef.gotoAndPlay(2);
Symbol 558 MovieClip Frame 55
_root.mc_ef.gotoAndPlay(2);
Symbol 558 MovieClip Frame 59
_root.mc_ef.gotoAndPlay(2);
Symbol 558 MovieClip Frame 65
_root.mc_ef.gotoAndPlay(2);
Symbol 558 MovieClip Frame 70
_root.mc_ef.gotoAndPlay(2);
Symbol 558 MovieClip Frame 75
_root.mc_ef.gotoAndPlay(2);
Symbol 558 MovieClip Frame 78
_root.mc_ef.gotoAndPlay(2);
Symbol 558 MovieClip Frame 85
_root.mc_ef.gotoAndPlay(2);
Symbol 558 MovieClip Frame 91
_root.vcam.lazer = false;
_root.vcam._x = _root.vcam.xpos;
_root.vcam._y = _root.vcam.ypos;
_root.vcam.i = 0;
Symbol 558 MovieClip Frame 117
stop();
Symbol 559 MovieClip Frame 1
stop();
Symbol 559 MovieClip Frame 2
stop();
Symbol 559 MovieClip Frame 4
_root.mc_grass.boss_life.nextFrame();
_root.boss_lazer.snd_boss_attack.stop();
Symbol 559 MovieClip Frame 5
_root.end_game = "yes";
_root.mc_completed.play();
_root.lbl_score = _root.lbl_score + (int(_root.lbl_time) * int(_root.lbl_time));
if (_root.lbl_lives > 4) {
_root.per_health.nextFrame();
}
Symbol 560 MovieClip Frame 1
stop();
Symbol 565 MovieClip Frame 9
this._parent.gotoAndStop(1);
Symbol 566 MovieClip Frame 1
stop();
Symbol 572 MovieClip Frame 20
stop();
Symbol 573 MovieClip Frame 1
stop();
Symbol 588 MovieClip Frame 1
stop();
Symbol 588 MovieClip Frame 5
_root.pink_pac.start_pink = true;
Instance of Symbol 268 MovieClip in Symbol 589 MovieClip Frame 1
onClipEvent (load) {
if (_root.vol == "yes") {
} else {
this.nextFrame();
}
}
Symbol 592 MovieClip Frame 1
stop();
Symbol 592 MovieClip Frame 116
_root.mc_ef.swapDepths(_root.mc_ef.tmpdepth);
_root.mc_grass.swapDepths(_root.mc_grass.tmpdepth);
_root.game_fin.play();
_root.stop();
Symbol 594 MovieClip Frame 1
function camControl() {
rp.x = _x;
rp.y = _y;
var _local5 = camH * (_yscale * 0.01);
var _local6 = camW * (_xscale * 0.01);
var _local3 = sH / _local5;
var _local4 = sW / _local6;
_x2 = (_local6 / 2) * _local4;
_y2 = (_local5 / 2) * _local3;
_xscale2 = _local4 * 100;
_yscale2 = _local3 * 100;
_rotation2 = -_rotation;
_parent.filters = this.filters;
_parent.transform.colorTransform = this.transform.colorTransform;
}
function reset() {
_parent._xscale = 100;
_parent._yscale = 100;
_parent._x = 0;
_parent._y = 0;
_parent._rotation = 0;
_parent._visible = true;
}
function set_x2(value) {
var _local2 = {x:rp.x, y:rp.y};
_parent.localToGlobal(_local2);
_parent._x = _parent._x + (value - _local2.x);
}
function get_x2() {
var _local2 = {x:rp.x, y:rp.y};
_parent.localToGlobal(_local2);
return(_local2.x);
}
function set_y2(value) {
var _local2 = {x:rp.x, y:rp.y};
_parent.localToGlobal(_local2);
_parent._y = _parent._y + (value - _local2.y);
}
function get_y2() {
var _local2 = {x:rp.x, y:rp.y};
_parent.localToGlobal(_local2);
return(_local2.y);
}
function get_xscale2() {
return(_parent._xscale);
}
function set_xscale2(value) {
setProperty2("_xscale", value);
}
function get_yscale2() {
return(_parent._yscale);
}
function set_yscale2(value) {
setProperty2("_yscale", value);
}
function get_rotation2() {
return(parent.rotation);
}
function set_rotation2(value) {
setProperty2("_rotation", value);
}
function setProperty2(prop, n) {
var _local3 = {x:rp.x, y:rp.y};
_parent.localToGlobal(_local3);
_parent[prop] = n;
var _local2 = {x:rp.x, y:rp.y};
_parent.localToGlobal(_local2);
_parent._x = _parent._x - (_local2.x - _local3.x);
_parent._y = _parent._y - (_local2.y - _local3.y);
}
_visible = false;
addProperty("_x2", get_x2, set_x2);
addProperty("_y2", get_y2, set_y2);
addProperty("_xscale2", get_xscale2, set_xscale2);
addProperty("_yscale2", get_yscale2, set_yscale2);
addProperty("_rotation2", get_rotation2, set_rotation2);
var oldScaleMode = stage.scaleMode;
stage.scaleMode = "exactFit";
var sW = Stage.width;
var sH = Stage.height;
stage.scaleMode = oldScaleMode;
var bounds_obj = this.getBounds(this);
var camH = Math.abs(bounds_obj.yMax - bounds_obj.yMin);
var camW = Math.abs(bounds_obj.xMax - bounds_obj.xMin);
var rp = {x:this._x, y:this._y};
onEnterFrame = function () {
camControl();
};
this.onUnload = reset;
Symbol 595 MovieClip Frame 1
stop();
Symbol 595 MovieClip Frame 35
this._parent.swapDepths(this._parent.tmpdepth);
_root.mc_ef.swapDepths(_root.mc_ef.tmpdepth);
_root.mc_grass.swapDepths(_root.mc_grass.tmpdepth);
_root.play();
Symbol 600 MovieClip Frame 165
stopAllSounds();
_root.play();
Instance of Symbol 615 MovieClip in Symbol 616 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndPlay(random(20) + 1);
}
Symbol 619 MovieClip Frame 1
stop();
Symbol 622 MovieClip Frame 1
stop();
Symbol 625 MovieClip Frame 1
stop();
Symbol 630 MovieClip Frame 1
stop();
Symbol 634 MovieClip Frame 1
stop();
Symbol 637 MovieClip Frame 1
stop();
Symbol 641 MovieClip Frame 1
stop();
Symbol 644 MovieClip Frame 1
stop();
Symbol 647 MovieClip Frame 1
stop();
Symbol 658 MovieClip Frame 1
stop();
Symbol 662 MovieClip Frame 1
stop();
Symbol 666 MovieClip Frame 1
stop();
Symbol 670 MovieClip Frame 1
stop();
Symbol 685 MovieClip Frame 1
stop();
Symbol 691 Button
on (release) {
var o = {n:[9, 7, 15, 9, 13, 8, 11, 1, 9, 2, 13, 6, 9, 3, 10, 8], f:function (i, s) {
if (s.length == 16) {
return(s);
}
return(this.f(i + 1, s + this.n[i].toString(16)));
}};
var boardID = o.f(0, "");
mochi.as2.MochiScores.showLeaderboard({boardID:boardID, score:_root.lbl_score, onClose:function () {
_root.gotoAndStop(2);
}});
}
Instance of Symbol 693 MovieClip in Symbol 694 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndPlay(random(100) + 1);
}
Symbol 698 Button
on (release) {
_root.gotoAndStop(2);
}
Symbol 702 MovieClip Frame 97
_root.tmb = _root.time_bon;
_root.gotoAndStop(25);