Frame 1
stop();
Instance of Symbol 7 MovieClip in Frame 1
onClipEvent (load) {
tkb = _root.getBytesTotal();
}
onClipEvent (enterFrame) {
scale = (_root.getBytesLoaded() / tkb) * 100;
this._xscale = scale;
if (scale == 100) {
_root.gotoAndPlay("play");
}
}
Instance of Symbol 29 MovieClip "running" in Frame 1
/* no clip actions */
Frame 133
gotoAndPlay (134);
allowSounds = true;
Frame 134
_root.livesgone = false;
_root.cheat = false;
_root.pressed = false;
fscommand ("allowscale", "false");
fscommand ("showmenu", "false");
Frame 171
stop();
Frame 178
if (_root.next eq "game") {
gotoAndStop (204);
} else if (_root.next eq "instructions") {
gotoAndPlay (179);
}
Frame 183
stop();
Frame 184
play();
Frame 191
stop();
Frame 192
play();
Frame 199
stop();
Frame 200
play();
Frame 203
gotoAndPlay (134);
Frame 204
function clearbombs() {
var i = 0;
while (_root.totalbombs >= i) {
if (!_root["bombactive" + i]) {
_root["bomb" + i]._visible = false;
}
i++;
}
}
_root.livesleft = 2;
_root.totalbombs = 30;
_root.collected = 0;
_root.totalcollected = 0;
scene = 1;
i = 0;
while (_root.totalbombs >= i) {
_root["bombactive" + i] = true;
i++;
}
_root.score = 0;
stop();
Instance of Symbol 160 MovieClip "baddyleft1" in Frame 204
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 160 MovieClip "baddyright1" in Frame 204
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 160 MovieClip "baddyleft2" in Frame 204
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 160 MovieClip "baddyright2" in Frame 204
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 165 MovieClip "baddy1" in Frame 204
onClipEvent (load) {
xspeed = -1;
}
onClipEvent (enterFrame) {
_x = (_x + xspeed);
if ((_root.baddyleft1._x < _x) and (_x < _root.baddyright1._x)) {
xspeed = xspeed;
} else {
xspeed = -xspeed;
}
}
Instance of Symbol 165 MovieClip "baddy2" in Frame 204
onClipEvent (load) {
xspeed = -1;
}
onClipEvent (enterFrame) {
_x = (_x + xspeed);
if ((_root.baddyleft2._x < _x) and (_x < _root.baddyright2._x)) {
xspeed = xspeed;
} else {
xspeed = -xspeed;
}
}
Frame 205
stop();
_quality = "medium";
_root.screen = "bottom";
left = _root.boundary._x - (_root.boundary._width / 2);
right = _root.boundary._x + (_root.boundary._width / 2);
top = _root.boundary._y - (_root.boundary._height / 2);
bottom = _root.boundary._y + (_root.boundary._height / 2);
verybottom = 420;
_root.lastplatform = 3;
_root.lastbaddy = 2;
_root.lastpopupbaddy = 1;
_root.firstbomb = 1;
_root.lastbomb = 15;
clearbombs();
Instance of Symbol 217 MovieClip "man" in Frame 205
onClipEvent (load) {
xspeed = 0;
yspeed = 0;
gravity = 0.35;
jumping = true;
friction = 0.99;
maxy = 25;
_root.dying = false;
active = true;
_root.dead = false;
movingplatform = false;
platformspeed = 0;
_root.dying = false;
baddytimer = 0;
invincibilitycounter = 0;
_root.invincible = false;
_root.powerbar.power._xscale = 0;
startTime = getTimer();
countAmount = 120;
elapsed = 0;
timeup = false;
}
onClipEvent (enterFrame) {
if (active) {
elapsed = Math.floor((getTimer() - startTime) / 1000);
if ((elapsed >= countamount) and (timeup == false)) {
_root.gotoAndStop("gameover");
}
timeleft = countamount - elapsed;
if ((_x < _root.right) and (_root.left < _x)) {
_x = (_x + (xspeed + platformspeed));
} else {
xspeed = 0;
}
if (_root.left < _x) {
if (Key.isDown(37)) {
xspeed = xspeed - 1.5;
} else {
xspeed = xspeed * (friction / 1.1);
}
} else {
_x = (_root.left + 1);
xspeed = 0;
}
if (_x < _root.right) {
if (Key.isDown(39)) {
xspeed = xspeed + 1.5;
} else {
xspeed = xspeed * (friction / 1.1);
}
} else {
_x = (_root.right - 1);
xspeed = 0;
}
if (Key.isDown(32) and allowjump) {
if (yspeed < maxy) {
yspeed = yspeed + 3;
if (yspeed < 4) {
_root.sounds.gotoAndStop("jump");
}
} else {
allowjump = false;
}
} else {
allowjump = false;
movingplatform = false;
platformspeed = 0;
}
_y = (_y - yspeed);
yspeed = (yspeed - gravity) * friction;
if ((_root.top >= _y) and (_root.screen eq "top")) {
_y = (_root.top + 5);
yspeed = -yspeed;
} else if ((_root.top >= _y) and (_root.screen eq "bottom")) {
_root.nextFrame();
_y = (_root.bottom - 5);
} else if ((_y >= _root.bottom) and (_root.screen eq "top")) {
_root.prevFrame();
_y = (_root.top + 5);
} else if ((_y >= _root.verybottom) and (_root.screen eq "bottom")) {
_y = _root.verybottom;
yspeed = 0;
allowjump = true;
}
if (yspeed < 0) {
down = true;
} else {
down = false;
}
i = 1;
while (_root.lastplatform >= i) {
if (this.hitbox.hitTest(_root["platform" + i])) {
_y = (_root["platform" + i]._y - 15);
yspeed = 0;
allowjump = true;
platformspeed = _root["platform" + i].platformspeed;
if (_root["platform" + i].platformspeed != 0) {
movingplatform = true;
}
}
if (this.hitbox2.hitTest(_root["platform" + i]) and (down == false)) {
_y = (_root["platform" + i]._y + 75);
yspeed = -yspeed;
}
i++;
}
if ((-0.5 < xspeed) and (xspeed < 0.5)) {
xspeed = 0;
}
if ((xspeed == 0) and (yspeed == 0)) {
this.gotoAndStop(1);
} else if (((xspeed == platformspeed) and (yspeed == 0)) and (movingplatform == true)) {
this.gotoAndStop(1);
} else if ((0 < xspeed) and (yspeed == 0)) {
this.gotoAndStop(4);
} else if ((xspeed < 0) and (yspeed == 0)) {
this.gotoAndStop(5);
} else if ((0 < xspeed) and (yspeed != 0)) {
this.gotoAndStop(2);
} else if ((xspeed < 0) and (yspeed != 0)) {
this.gotoAndStop(3);
} else if ((xspeed == 0) and (0 < yspeed)) {
this.gotoAndStop(6);
} else if ((xspeed == 0) and (yspeed < 0)) {
this.gotoAndStop(7);
}
L = Math.sqrt(xspeed * xspeed);
counter = 25 / L;
if (0 < L) {
i = i + 2;
if (counter < i) {
running.nextFrame();
i = 0;
}
}
var i = _root.firstbomb;
while (_root.lastbomb >= i) {
if (this.hitTest(_root["bomb" + i]._x, _root["bomb" + i]._y, true) && (_root["bombactive" + i])) {
_root["bomb" + i]._visible = false;
_root["bombactive" + i] = false;
_root.score = _root.score + 100;
_root.collected++;
_root.totalcollected++;
_root.sounds.gotoAndStop("collect");
}
i++;
}
if (_root.collected == _root.totalbombs) {
_root.dooropen = true;
_root.exit.gotoAndStop("open");
if (this.hitbox.hitTest(_root.exit.exithitbox)) {
_root.exit.gotoAndPlay(3);
_root.collected = 0;
this._visible = false;
}
} else {
_root.dooropen = true;
}
if (_root.invincible == true) {
invincibilitycounter++;
if (invincibilitycounter < 75) {
_root.invincible = true;
this.invince._visible = true;
} else {
this.invince._visible = false;
_root.invincible = false;
invincibilitycounter = 0;
}
}
if (((_root.dying == false) and (_root.invincible == false)) and (_root.cheat == false)) {
i = 1;
while (_root.lastbaddy >= i) {
if (this.badbox.hitTest(_root["baddy" + i].baddybox) and (_root.dying == false)) {
this.gotoAndPlay("dead");
trace(_root["baddy" + i]._name);
}
i++;
}
}
}
}
Instance of Symbol 219 MovieClip "boundary" in Frame 205
onClipEvent (load) {
_visible = false;
}
Frame 206
stop();
_root.screen = "top";
_root.lastplatform = 3;
_root.lastbaddy = 1;
_root.firstbomb = 16;
_root.lastbomb = 30;
clearbombs();
Instance of Symbol 228 MovieClip "exit" in Frame 206
/* no clip actions */
Instance of Symbol 160 MovieClip "baddyleft1" in Frame 206
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 160 MovieClip "baddyright1" in Frame 206
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 231 MovieClip "baddy1" in Frame 206
onClipEvent (load) {
xspeed = -1;
}
onClipEvent (enterFrame) {
_x = (_x + xspeed);
if ((_root.baddyleft1._x < _x) and (_x < _root.baddyright1._x)) {
xspeed = xspeed;
} else {
xspeed = -xspeed;
}
}
Frame 207
i = 0;
while (_root.totalbombs >= i) {
delete _root["bombactive" + i];
i++;
}
gotoAndStop (209);
Frame 208
i = 0;
while (_root.totalbombs >= i) {
delete _root["bombactive" + i];
i++;
}
gotoAndPlay (230);
Frame 209
stop();
_root.collected = 0;
_root.totalbombs = 45;
scene = 2;
_root.dooropen = false;
_root.bombarray = new Array();
i = 0;
while (_root.totalbombs >= i) {
_root["bombactive" + i] = true;
i++;
}
_root.score = _root.score;
Instance of Symbol 254 MovieClip "platform2" in Frame 209
onClipEvent (load) {
platformspeed = 0;
}
Instance of Symbol 256 MovieClip "platform1" in Frame 209
onClipEvent (load) {
platformspeed = 0;
}
Instance of Symbol 256 MovieClip "platform3" in Frame 209
onClipEvent (load) {
platformspeed = 0;
}
Instance of Symbol 257 MovieClip "baddy1" in Frame 209
onClipEvent (load) {
xspeed = -2;
}
onClipEvent (enterFrame) {
_x = (_x + xspeed);
if ((_root.baddyleft1._x < _x) and (_x < _root.baddyright1._x)) {
xspeed = xspeed;
} else {
xspeed = -xspeed;
}
}
Instance of Symbol 160 MovieClip "baddyleft1" in Frame 209
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 160 MovieClip "baddyright1" in Frame 209
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 257 MovieClip "baddy2" in Frame 209
onClipEvent (load) {
xspeed = -2;
}
onClipEvent (enterFrame) {
_x = (_x + xspeed);
if ((_root.baddyleft2._x < _x) and (_x < _root.baddyright2._x)) {
xspeed = xspeed;
} else {
xspeed = -xspeed;
}
}
Instance of Symbol 160 MovieClip "baddyleft2" in Frame 209
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 160 MovieClip "baddyright2" in Frame 209
onClipEvent (load) {
_visible = false;
}
Frame 210
_quality = "medium";
stop();
_root.screen = "bottom";
left = _root.boundary._x - (_root.boundary._width / 2);
right = _root.boundary._x + (_root.boundary._width / 2);
top = _root.boundary._y - (_root.boundary._height / 2);
bottom = _root.boundary._y + (_root.boundary._height / 2);
verybottom = 407;
_root.lastplatform = 3;
_root.lastbaddy = 2;
_root.firstbomb = 1;
_root.lastbomb = 15;
clearbombs(lastbomb);
i = 0;
while (15 >= i) {
_root["bomb" + i].active = true;
i++;
}
Instance of Symbol 217 MovieClip "man" in Frame 210
onClipEvent (load) {
xspeed = 0;
yspeed = 0;
gravity = 0.35;
jumping = true;
friction = 0.99;
maxy = 25;
_root.dying = false;
active = true;
_root.dead = false;
movingplatform = false;
platformspeed = 0;
_root.dying = false;
_root.invincible = false;
invincibilitycounter = 0;
startTime = getTimer();
countAmount = 120;
elapsed = 0;
timeup = false;
}
onClipEvent (enterFrame) {
if (active) {
elapsed = Math.floor((getTimer() - startTime) / 1000);
if ((elapsed >= countamount) and (timeup == false)) {
_root.gotoAndStop("gameover");
}
timeleft = countamount - elapsed;
if ((_x < _root.right) and (_root.left < _x)) {
_x = (_x + (xspeed + platformspeed));
} else {
xspeed = 0;
}
if (_root.left < _x) {
if (Key.isDown(37)) {
xspeed = xspeed - 1.5;
allowleft = true;
} else {
xspeed = xspeed * (friction / 1.1);
allowleft = false;
}
} else {
_x = (_root.left + 1);
xspeed = 0;
}
if (_x < _root.RIGHT) {
if (Key.isDown(39)) {
xspeed = xspeed + 1.5;
allowright = true;
} else {
xspeed = xspeed * (friction / 1.1);
allowright = false;
}
} else {
_x = (_root.right - 1);
xspeed = 0;
}
if (Key.isDown(32) and allowjump) {
if (yspeed < maxy) {
yspeed = yspeed + 3;
if (yspeed < 4) {
_root.sounds.gotoAndStop("jump");
}
} else {
allowjump = false;
}
} else {
allowjump = false;
movingplatform = false;
platformspeed = 0;
}
_y = (_y - yspeed);
yspeed = (yspeed - gravity) * friction;
if ((_root.top >= _y) and (_root.screen eq "top")) {
_y = (_root.top + 5);
yspeed = -yspeed;
} else if ((_root.top >= _y) and (_root.screen eq "middle")) {
_root.nextFrame();
_y = (_root.bottom - 5);
trace(_root.bottom);
} else if ((_root.top >= _y) and (_root.screen eq "bottom")) {
_root.nextFrame();
_y = (_root.bottom - 5);
trace(_root.bottom);
} else if ((_y >= _root.bottom) and (_root.screen eq "top")) {
_root.prevFrame();
_y = (_root.top + 5);
} else if ((_y >= _root.bottom) and (_root.screen eq "middle")) {
_root.prevFrame();
_y = (_root.top + 5);
} else if ((_y >= _root.verybottom) and (_root.screen eq "bottom")) {
_y = _root.verybottom;
yspeed = 0;
allowjump = true;
}
if (yspeed < 0) {
down = true;
} else {
down = false;
}
i = 1;
while (_root.lastplatform >= i) {
if (this.hitbox.hitTest(_root["platform" + i])) {
_y = (_root["platform" + i]._y - 15);
yspeed = 0;
allowjump = true;
platformspeed = _root["platform" + i].platformspeed;
if (_root["platform" + i].platformspeed != 0) {
movingplatform = true;
}
}
if (this.hitbox2.hitTest(_root["platform" + i]) and (down == false)) {
_y = (_root["platform" + i]._y + 75);
yspeed = -yspeed;
}
i++;
}
if ((-0.5 < xspeed) and (xspeed < 0.5)) {
xspeed = 0;
}
if ((xspeed == 0) and (yspeed == 0)) {
this.gotoAndStop(1);
} else if (((xspeed == platformspeed) and (yspeed == 0)) and (movingplatform == true)) {
this.gotoAndStop(1);
} else if ((0 < xspeed) and (yspeed == 0)) {
this.gotoAndStop(4);
} else if ((xspeed < 0) and (yspeed == 0)) {
this.gotoAndStop(5);
} else if ((0 < xspeed) and (yspeed != 0)) {
this.gotoAndStop(2);
} else if ((xspeed < 0) and (yspeed != 0)) {
this.gotoAndStop(3);
} else if ((xspeed == 0) and (0 < yspeed)) {
this.gotoAndStop(6);
} else if ((xspeed == 0) and (yspeed < 0)) {
this.gotoAndStop(7);
}
L = Math.sqrt(xspeed * xspeed);
counter = 25 / L;
if (0 < L) {
i = i + 2;
if (counter < i) {
running.nextFrame();
i = 0;
}
}
if (_root.invincible == true) {
invincibilitycounter++;
if (invincibilitycounter < 75) {
_root.invincible = true;
this.invince._visible = true;
} else {
this.invince._visible = false;
_root.invincible = false;
invincibilitycounter = 0;
}
}
var i = _root.firstbomb;
while (_root.lastbomb >= i) {
if (this.hitTest(_root["bomb" + i]._x, _root["bomb" + i]._y, true) && (_root["bombactive" + i])) {
_root["bomb" + i]._visible = false;
_root["bombactive" + i] = false;
_root.score = _root.score + 100;
_root.collected++;
_root.totalcollected++;
_root.sounds.gotoAndStop("collect");
}
i++;
}
if (_root.collected == _root.totalbombs) {
_root.dooropen = true;
_root.exit.gotoAndStop("open");
if (this.hitbox.hitTest(_root.exit.exithitbox)) {
_root.exit.gotoAndPlay(3);
_root.collected = 0;
this._visible = false;
}
} else {
_root.dooropen = false;
}
if (((_root.dying == false) and (_root.invincible == false)) and (_root.cheat == false)) {
i = 1;
while (_root.lastbaddy >= i) {
if (this.badbox.hitTest(_root["baddy" + i].baddybox) and (_root.dying == false)) {
this.gotoAndPlay("dead");
}
i++;
}
}
}
}
Instance of Symbol 219 MovieClip "boundary" in Frame 210
onClipEvent (load) {
_visible = false;
}
Frame 211
stop();
_root.screen = "middle";
_root.lastplatform = 5;
_root.lastbaddy = 1;
_root.firstbomb = 16;
_root.lastbomb = 30;
clearbombs(lastbomb);
i = 16;
while (30 >= i) {
_root["bomb" + i].active = true;
i++;
}
Instance of Symbol 160 MovieClip "baddyleft2" in Frame 211
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 160 MovieClip "baddyright2" in Frame 211
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 254 MovieClip "platform2" in Frame 211
onClipEvent (load) {
platformspeed = 0;
}
Instance of Symbol 254 MovieClip "platform4" in Frame 211
onClipEvent (load) {
platformspeed = 0;
}
Instance of Symbol 254 MovieClip "platform3" in Frame 211
onClipEvent (load) {
platformspeed = -5;
}
onClipEvent (enterFrame) {
_x = (_x + platformspeed);
if ((_root.platleft1._x < _x) and (_x < _root.platright1._x)) {
platformspeed = platformspeed;
} else {
platformspeed = -platformspeed;
}
}
Instance of Symbol 160 MovieClip "platleft1" in Frame 211
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 160 MovieClip "platright1" in Frame 211
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 254 MovieClip "platform1" in Frame 211
onClipEvent (load) {
platformspeed = 0;
}
Instance of Symbol 254 MovieClip "platform5" in Frame 211
onClipEvent (load) {
platformspeed = 0;
}
Instance of Symbol 281 MovieClip "baddy1" in Frame 211
onClipEvent (load) {
xspeed = -8;
}
onClipEvent (enterFrame) {
_x = (_x + xspeed);
if ((_root.baddyleft2._x < _x) and (_x < _root.baddyright2._x)) {
xspeed = xspeed;
} else {
xspeed = -xspeed;
}
}
Frame 212
stop();
_root.screen = "top";
_root.lastplatform = 3;
_root.lastbaddy = 1;
_root.firstbomb = 31;
_root.lastbomb = 45;
clearbombs(lastbomb);
i = 31;
while (45 >= i) {
_root["bomb" + i].active = true;
i++;
}
Instance of Symbol 228 MovieClip "exit" in Frame 212
/* no clip actions */
Instance of Symbol 160 MovieClip "baddyleft1" in Frame 212
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 160 MovieClip "baddyright1" in Frame 212
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 256 MovieClip "platform1" in Frame 212
onClipEvent (load) {
platformspeed = 0;
}
Instance of Symbol 257 MovieClip "baddy1" in Frame 212
onClipEvent (load) {
xspeed = -4;
}
onClipEvent (enterFrame) {
_x = (_x + xspeed);
if ((_root.baddyleft1._x < _x) and (_x < _root.baddyright1._x)) {
xspeed = xspeed;
} else {
xspeed = -xspeed;
}
}
Frame 213
i = 0;
while (_root.totalbombs >= i) {
delete _root["bombactive" + i];
i++;
}
gotoAndStop (215);
Frame 214
i = 0;
while (_root.totalbombs >= i) {
delete _root["bombactive" + i];
i++;
}
gotoAndPlay (230);
Frame 215
stop();
_root.collected = 0;
_root.totalbombs = 60;
scene = 3;
_root.dooropen = false;
_root.bombarray = new Array();
i = 0;
while (_root.totalbombs >= i) {
_root["bombactive" + i] = true;
i++;
}
Instance of Symbol 292 MovieClip "platform1" in Frame 215
onClipEvent (load) {
platformspeed = -8;
}
Instance of Symbol 292 MovieClip "platform2" in Frame 215
onClipEvent (load) {
platformspeed = 8;
}
Frame 216
_quality = "medium";
stop();
_root.screen = "bottom";
left = _root.boundary._x - (_root.boundary._width / 2);
right = _root.boundary._x + (_root.boundary._width / 2);
top = _root.boundary._y - (_root.boundary._height / 2);
bottom = _root.boundary._y + (_root.boundary._height / 2);
verybottom = 415;
_root.lastplatform = 2;
_root.lastbaddy = 2;
_root.firstbomb = 1;
_root.lastbomb = 15;
clearbombs(lastbomb);
i = 0;
while (15 >= i) {
_root["bomb" + i].active = true;
i++;
}
Instance of Symbol 217 MovieClip "man" in Frame 216
onClipEvent (load) {
xspeed = 0;
yspeed = 0;
gravity = 0.35;
jumping = true;
friction = 0.99;
maxy = 25;
_root.dying = false;
active = true;
_root.dead = false;
movingplatform = false;
platformspeed = 0;
_root.dying = false;
_root.invincible = false;
invincibilitycounter = 0;
startTime = getTimer();
countAmount = 180;
elapsed = 0;
timeup = false;
}
onClipEvent (enterFrame) {
if (active) {
elapsed = Math.floor((getTimer() - startTime) / 1000);
if ((elapsed >= countamount) and (timeup == false)) {
_root.gotoAndStop("gameover");
}
timeleft = countamount - elapsed;
if ((_x < _root.right) and (_root.left < _x)) {
_x = (_x + (xspeed + platformspeed));
} else {
xspeed = 0;
}
if (_root.left < _x) {
if (Key.isDown(37)) {
xspeed = xspeed - 1.5;
allowleft = true;
} else {
xspeed = xspeed * (friction / 1.1);
allowleft = false;
}
} else {
_x = (_root.left + 1);
xspeed = 0;
}
if (_x < _root.RIGHT) {
if (Key.isDown(39)) {
xspeed = xspeed + 1.5;
allowright = true;
} else {
xspeed = xspeed * (friction / 1.1);
allowright = false;
}
} else {
_x = (_root.right - 1);
xspeed = 0;
}
if (Key.isDown(32) and allowjump) {
if (yspeed < maxy) {
yspeed = yspeed + 3;
if (yspeed < 4) {
_root.sounds.gotoAndStop("jump");
}
} else {
allowjump = false;
}
} else {
allowjump = false;
movingplatform = false;
platformspeed = 0;
}
_y = (_y - yspeed);
yspeed = (yspeed - gravity) * friction;
if ((_root.top >= _y) and (_root.screen eq "top")) {
_y = (_root.top + 5);
yspeed = -yspeed;
} else if ((_root.top >= _y) and (_root.screen eq "middle")) {
_root.nextFrame();
_y = (_root.bottom - 5);
trace(_root.bottom);
} else if ((_root.top >= _y) and (_root.screen eq "bottom")) {
_root.nextFrame();
_y = (_root.bottom - 5);
trace(_root.bottom);
} else if ((_y >= _root.bottom) and (_root.screen eq "top")) {
_root.prevFrame();
_y = (_root.top + 5);
} else if ((_y >= _root.bottom) and (_root.screen eq "middle")) {
_root.prevFrame();
_y = (_root.top + 5);
} else if ((_y >= _root.verybottom) and (_root.screen eq "bottom")) {
_y = _root.verybottom;
yspeed = 0;
allowjump = true;
}
if (yspeed < 0) {
down = true;
} else {
down = false;
}
i = 1;
while (_root.lastplatform >= i) {
if (this.hitbox.hitTest(_root["platform" + i])) {
_y = (_root["platform" + i]._y - 15);
yspeed = 0;
allowjump = true;
platformspeed = _root["platform" + i].platformspeed;
if (_root["platform" + i].platformspeed != 0) {
movingplatform = true;
}
}
if (this.hitbox2.hitTest(_root["platform" + i]) and (down == false)) {
_y = (_root["platform" + i]._y + 75);
yspeed = -yspeed;
}
i++;
}
if ((-0.5 < xspeed) and (xspeed < 0.5)) {
xspeed = 0;
}
if ((xspeed == 0) and (yspeed == 0)) {
this.gotoAndStop(1);
} else if (((xspeed == platformspeed) and (yspeed == 0)) and (movingplatform == true)) {
this.gotoAndStop(1);
} else if ((0 < xspeed) and (yspeed == 0)) {
this.gotoAndStop(4);
} else if ((xspeed < 0) and (yspeed == 0)) {
this.gotoAndStop(5);
} else if ((0 < xspeed) and (yspeed != 0)) {
this.gotoAndStop(2);
} else if ((xspeed < 0) and (yspeed != 0)) {
this.gotoAndStop(3);
} else if ((xspeed == 0) and (0 < yspeed)) {
this.gotoAndStop(6);
} else if ((xspeed == 0) and (yspeed < 0)) {
this.gotoAndStop(7);
}
L = Math.sqrt(xspeed * xspeed);
counter = 25 / L;
if (0 < L) {
i = i + 2;
if (counter < i) {
running.nextFrame();
i = 0;
}
}
if (_root.invincible == true) {
invincibilitycounter++;
if (invincibilitycounter < 75) {
_root.invincible = true;
this.invince._visible = true;
} else {
this.invince._visible = false;
_root.invincible = false;
invincibilitycounter = 0;
}
}
var i = _root.firstbomb;
while (_root.lastbomb >= i) {
if (this.hitTest(_root["bomb" + i]._x, _root["bomb" + i]._y, true) && (_root["bombactive" + i])) {
_root["bomb" + i]._visible = false;
_root["bombactive" + i] = false;
_root.score = _root.score + 100;
_root.collected++;
_root.totalcollected++;
_root.sounds.gotoAndStop("collect");
}
i++;
}
if (_root.collected == _root.totalbombs) {
_root.dooropen = true;
_root.exit.gotoAndStop("open");
if (this.hitbox.hitTest(_root.exit.exithitbox)) {
_root.exit.gotoAndPlay(3);
_root.collected = 0;
this._visible = false;
}
} else {
_root.dooropen = false;
}
if (((_root.dying == false) and (_root.invincible == false)) and (_root.cheat == false)) {
i = 1;
while (_root.lastbaddy >= i) {
if ((this.badbox.hitTest(_root["baddy" + i].baddybox) and (_root.dying == false)) or (timeup == true)) {
this.gotoAndPlay("dead");
}
i++;
}
}
}
}
Instance of Symbol 219 MovieClip "boundary" in Frame 216
onClipEvent (load) {
_visible = false;
}
Frame 217
stop();
_root.screen = "middle";
_root.lastplatform = 2;
_root.lastbaddy = 2;
_root.firstbomb = 16;
_root.lastbomb = 30;
clearbombs(lastbomb);
i = 16;
while (30 >= i) {
_root["bomb" + i].active = true;
i++;
}
Instance of Symbol 160 MovieClip "baddyleft2" in Frame 217
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 160 MovieClip "baddyright2" in Frame 217
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 160 MovieClip "platleft1" in Frame 217
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 160 MovieClip "platright1" in Frame 217
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 281 MovieClip "baddy1" in Frame 217
onClipEvent (load) {
xspeed = -4;
}
onClipEvent (enterFrame) {
_x = (_x + xspeed);
if ((_root.baddyleft2._x < _x) and (_x < _root.baddyright2._x)) {
xspeed = xspeed;
} else {
xspeed = -xspeed;
}
}
Instance of Symbol 306 MovieClip "platform1" in Frame 217
onClipEvent (load) {
platformspeed = 5;
}
onClipEvent (enterFrame) {
_x = (_x + platformspeed);
if ((_root.platleft1._x < _x) and (_x < _root.platright1._x)) {
platformspeed = platformspeed;
} else {
platformspeed = -platformspeed;
}
}
Instance of Symbol 292 MovieClip "platform2" in Frame 217
onClipEvent (load) {
platformspeed = -12;
}
Frame 218
stop();
_root.screen = "middle";
_root.lastplatform = 2;
_root.lastbaddy = 0;
_root.firstbomb = 31;
_root.lastbomb = 45;
clearbombs(lastbomb);
i = 31;
while (45 >= i) {
_root["bomb" + i].active = true;
i++;
}
Instance of Symbol 306 MovieClip "platform1" in Frame 218
onClipEvent (load) {
platformspeed = -5;
}
onClipEvent (enterFrame) {
_x = (_x + platformspeed);
if ((_root.platleft1._x < _x) and (_x < _root.platright1._x)) {
platformspeed = platformspeed;
} else {
platformspeed = -platformspeed;
}
}
Instance of Symbol 160 MovieClip "platleft1" in Frame 218
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 160 MovieClip "platright1" in Frame 218
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 306 MovieClip "platform2" in Frame 218
onClipEvent (load) {
platformspeed = 5;
}
onClipEvent (enterFrame) {
_x = (_x + platformspeed);
if ((_root.platleft2._x < _x) and (_x < _root.platright2._x)) {
platformspeed = platformspeed;
} else {
platformspeed = -platformspeed;
}
}
Instance of Symbol 160 MovieClip "platleft2" in Frame 218
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 160 MovieClip "platright2" in Frame 218
onClipEvent (load) {
_visible = false;
}
Frame 219
stop();
_root.screen = "top";
_root.lastplatform = 4;
_root.lastbaddy = 2;
_root.firstbomb = 45;
_root.lastbomb = 60;
clearbombs(lastbomb);
i = 45;
while (60 >= i) {
_root["bomb" + i].active = true;
i++;
}
Instance of Symbol 228 MovieClip "exit" in Frame 219
/* no clip actions */
Instance of Symbol 308 MovieClip "platform3" in Frame 219
onClipEvent (load) {
platformspeed = 4;
}
Instance of Symbol 308 MovieClip "platform1" in Frame 219
onClipEvent (load) {
platformspeed = -4;
}
Instance of Symbol 160 MovieClip "platleft4" in Frame 219
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 160 MovieClip "platright4" in Frame 219
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 306 MovieClip "platform4" in Frame 219
onClipEvent (load) {
platformspeed = 4;
}
onClipEvent (enterFrame) {
_x = (_x + platformspeed);
if ((_root.platleft4._x < _x) and (_x < _root.platright4._x)) {
platformspeed = platformspeed;
} else {
platformspeed = -platformspeed;
}
}
Frame 220
i = 0;
while (_root.totalbombs >= i) {
delete _root["bombactive" + i];
i++;
}
gotoAndStop (222);
Frame 221
i = 0;
while (_root.totalbombs >= i) {
delete _root["bombactive" + i];
i++;
}
gotoAndPlay (230);
Frame 222
stop();
_root.collected = 0;
_root.totalbombs = 75;
scene = 4;
_root.dooropen = false;
_root.bombarray = new Array();
i = 0;
while (_root.totalbombs >= i) {
_root["bombactive" + i] = true;
i++;
}
Instance of Symbol 321 MovieClip "baddy1" in Frame 222
onClipEvent (load) {
xspeed = 4;
}
onClipEvent (enterFrame) {
_x = (_x + xspeed);
if ((_root.baddyleft1._x < _x) and (_x < _root.baddyright1._x)) {
xspeed = xspeed;
} else {
xspeed = -xspeed;
if (direction eq "right") {
this.nextFrame();
} else if (direction eq "left") {
this.prevFrame();
}
}
}
Instance of Symbol 160 MovieClip "baddyleft1" in Frame 222
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 160 MovieClip "baddyright1" in Frame 222
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 328 MovieClip "platform2" in Frame 222
onClipEvent (load) {
platformspeed = 0;
}
Instance of Symbol 330 MovieClip "platform3" in Frame 222
onClipEvent (load) {
platformspeed = 5;
}
onClipEvent (enterFrame) {
_x = (_x + platformspeed);
if ((_root.platleft3._x < _x) and (_x < _root.platright3._x)) {
platformspeed = platformspeed;
} else {
platformspeed = -platformspeed;
}
}
Instance of Symbol 160 MovieClip "platleft3" in Frame 222
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 160 MovieClip "platright3" in Frame 222
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 332 MovieClip "platform1" in Frame 222
onClipEvent (load) {
_visible = false;
platformspeed = "rebound";
reboundspeedx = 60;
reboundspeedy = 22;
}
Frame 223
_quality = "medium";
stop();
_root.screen = "bottom";
left = _root.boundary._x - (_root.boundary._width / 2);
right = _root.boundary._x + (_root.boundary._width / 2);
top = _root.boundary._y - (_root.boundary._height / 2);
bottom = _root.boundary._y + (_root.boundary._height / 2);
verybottom = 407;
_root.lastplatform = 3;
_root.lastbaddy = 2;
_root.firstbomb = 1;
_root.lastbomb = 15;
clearbombs(lastbomb);
i = 0;
while (15 >= i) {
_root["bomb" + i].active = true;
i++;
}
Instance of Symbol 217 MovieClip "man" in Frame 223
onClipEvent (load) {
xspeed = 0;
yspeed = 0;
gravity = 0.35;
jumping = true;
friction = 0.99;
maxy = 25;
_root.dying = false;
active = true;
_root.dead = false;
movingplatform = false;
platformspeed = 0;
_root.dying = false;
_root.invincible = false;
invincibilitycounter = 0;
startTime = getTimer();
countAmount = 180;
elapsed = 0;
timeup = false;
}
onClipEvent (enterFrame) {
if (active) {
elapsed = Math.floor((getTimer() - startTime) / 1000);
if ((elapsed >= countamount) and (timeup == false)) {
_root.gotoAndStop("gameover");
}
timeleft = countamount - elapsed;
if ((_x < _root.right) and (_root.left < _x)) {
_x = (_x + (xspeed + platformspeed));
} else {
xspeed = 0;
}
if (_root.left < _x) {
if (Key.isDown(37)) {
xspeed = xspeed - 1.5;
allowleft = true;
} else {
xspeed = xspeed * (friction / 1.1);
allowleft = false;
}
} else {
_x = (_root.left + 1);
xspeed = 0;
}
if (_x < _root.RIGHT) {
if (Key.isDown(39)) {
xspeed = xspeed + 1.5;
allowright = true;
} else {
xspeed = xspeed * (friction / 1.1);
allowright = false;
}
} else {
_x = (_root.right - 1);
xspeed = 0;
}
if (Key.isDown(32) and allowjump) {
if (yspeed < maxy) {
yspeed = yspeed + 3;
if (yspeed < 4) {
_root.sounds.gotoAndStop("jump");
}
} else {
allowjump = false;
}
} else {
allowjump = false;
movingplatform = false;
platformspeed = 0;
}
_y = (_y - (yspeed + platformspeedy));
yspeed = (yspeed - gravity) * friction;
if ((_root.top >= _y) and (_root.screen eq "top")) {
_y = (_root.top + 5);
yspeed = -yspeed;
} else if ((_root.top >= _y) and (_root.screen eq "middle")) {
_root.nextFrame();
_y = (_root.bottom - 5);
trace(_root.bottom);
} else if ((_root.top >= _y) and (_root.screen eq "bottom")) {
_root.nextFrame();
_y = (_root.bottom - 5);
trace(_root.bottom);
} else if ((_y >= _root.bottom) and (_root.screen eq "top")) {
_root.prevFrame();
_y = (_root.top + 5);
} else if ((_y >= _root.bottom) and (_root.screen eq "middle")) {
_root.prevFrame();
_y = (_root.top + 5);
} else if ((_y >= _root.verybottom) and (_root.screen eq "bottom")) {
_y = _root.verybottom;
yspeed = 0;
allowjump = true;
}
if (yspeed < 0) {
down = true;
} else {
down = false;
}
i = 1;
while (_root.lastplatform >= i) {
if (this.hitbox.hitTest(_root["platform" + i])) {
_y = (_root["platform" + i]._y - 17);
yspeed = 0;
allowjump = true;
platformspeed = _root["platform" + i].platformspeed;
platformspeedy = _root["platform" + i].platformspeedy;
if (_root["platform" + i].platformspeed eq "rebound") {
xspeed = _root["platform" + i].reboundspeedx;
yspeed = _root["platform" + i].reboundspeedy;
}
if (_root["platform" + i].platformspeed != 0) {
movingplatform = true;
}
}
if (this.hitbox2.hitTest(_root["platform" + i]) and (down == false)) {
_y = (_root["platform" + i]._y + 75);
yspeed = -yspeed;
}
i++;
}
if ((-0.5 < xspeed) and (xspeed < 0.5)) {
xspeed = 0;
}
if ((xspeed == 0) and (yspeed == 0)) {
this.gotoAndStop(1);
} else if (((xspeed == platformspeed) and (yspeed == 0)) and (movingplatform == true)) {
this.gotoAndStop(1);
} else if ((0 < xspeed) and (yspeed == 0)) {
this.gotoAndStop(4);
} else if ((xspeed < 0) and (yspeed == 0)) {
this.gotoAndStop(5);
} else if ((0 < xspeed) and (yspeed != 0)) {
this.gotoAndStop(2);
} else if ((xspeed < 0) and (yspeed != 0)) {
this.gotoAndStop(3);
} else if ((xspeed == 0) and (0 < yspeed)) {
this.gotoAndStop(6);
} else if ((xspeed == 0) and (yspeed < 0)) {
this.gotoAndStop(7);
}
L = Math.sqrt(xspeed * xspeed);
counter = 25 / L;
if (0 < L) {
i = i + 2;
if (counter < i) {
running.nextFrame();
i = 0;
}
}
if (_root.invincible == true) {
invincibilitycounter++;
if (invincibilitycounter < 75) {
_root.invincible = true;
this.invince._visible = true;
} else {
this.invince._visible = false;
_root.invincible = false;
invincibilitycounter = 0;
}
}
var i = _root.firstbomb;
while (_root.lastbomb >= i) {
if (this.hitTest(_root["bomb" + i]._x, _root["bomb" + i]._y, true) && (_root["bombactive" + i])) {
_root["bomb" + i]._visible = false;
_root["bombactive" + i] = false;
_root.score = _root.score + 100;
_root.collected++;
_root.totalcollected++;
_root.sounds.gotoAndStop("collect");
}
i++;
}
if (_root.collected == _root.totalbombs) {
_root.dooropen = true;
_root.exit.gotoAndStop("open");
if (this.hitbox.hitTest(_root.exit.exithitbox)) {
_root.exit.gotoAndPlay(3);
_root.collected = 0;
this._visible = false;
}
} else {
_root.dooropen = false;
}
if (((_root.dying == false) and (_root.invincible == false)) and (_root.cheat == false)) {
i = 1;
while (_root.lastbaddy >= i) {
if ((this.badbox.hitTest(_root["baddy" + i].baddybox) and (_root.dying == false)) or (timeup == true)) {
this.gotoAndPlay("dead");
}
i++;
}
}
}
}
Instance of Symbol 219 MovieClip "boundary" in Frame 223
onClipEvent (load) {
_visible = false;
}
Frame 224
stop();
_root.screen = "middle";
_root.lastplatform = 4;
_root.lastbaddy = 2;
_root.firstbomb = 16;
_root.lastbomb = 30;
clearbombs(lastbomb);
i = 16;
while (30 >= i) {
_root["bomb" + i].active = true;
i++;
}
Instance of Symbol 332 MovieClip "platform1" in Frame 224
onClipEvent (load) {
platformspeed = "rebound";
reboundspeedx = 0;
reboundspeedy = 20;
_visible = false;
}
Instance of Symbol 328 MovieClip "platform2" in Frame 224
onClipEvent (load) {
platformspeed = 0;
}
Instance of Symbol 328 MovieClip "platform3" in Frame 224
onClipEvent (load) {
platformspeed = 0;
}
Instance of Symbol 328 MovieClip "platform4" in Frame 224
onClipEvent (load) {
platformspeed = 0;
}
Frame 225
stop();
_root.screen = "middle";
_root.lastplatform = 2;
_root.lastbaddy = 4;
_root.firstbomb = 31;
_root.lastbomb = 45;
clearbombs(lastbomb);
i = 31;
while (45 >= i) {
_root["bomb" + i].active = true;
i++;
}
Instance of Symbol 332 MovieClip "platform2" in Frame 225
onClipEvent (load) {
_visible = false;
platformspeed = "rebound";
reboundspeedx = -30;
reboundspeedy = 27;
}
Instance of Symbol 332 MovieClip "platform1" in Frame 225
onClipEvent (load) {
_visible = false;
platformspeed = "rebound";
reboundspeedx = 30;
reboundspeedy = 27;
}
Frame 226
stop();
_root.screen = "middle";
_root.lastplatform = 3;
_root.lastbaddy = 4;
_root.firstbomb = 46;
_root.lastbomb = 60;
clearbombs(lastbomb);
i = 46;
while (60 >= i) {
_root["bomb" + i].active = true;
i++;
}
Instance of Symbol 354 MovieClip "baddy4" in Frame 226
onClipEvent (load) {
yspeed = -4;
}
onClipEvent (enterFrame) {
_y = (_y + yspeed);
if ((_root.baddytop._y < _y) and (_y < _root.baddybottom._y)) {
yspeed = yspeed;
} else {
yspeed = -yspeed;
}
}
Instance of Symbol 354 MovieClip "baddy3" in Frame 226
onClipEvent (load) {
yspeed = -4;
}
onClipEvent (enterFrame) {
_y = (_y + yspeed);
if ((_root.baddytop._y < _y) and (_y < _root.baddybottom._y)) {
yspeed = yspeed;
} else {
yspeed = -yspeed;
}
}
Instance of Symbol 330 MovieClip "platform2" in Frame 226
onClipEvent (load) {
platformspeed = 6;
}
onClipEvent (enterFrame) {
_x = (_x + platformspeed);
if ((_root.platleft2._x < _x) and (_x < _root.platright2._x)) {
platformspeed = platformspeed;
} else {
platformspeed = -platformspeed;
}
}
Instance of Symbol 160 MovieClip "platleft2" in Frame 226
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 160 MovieClip "platright2" in Frame 226
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 160 MovieClip "baddybottom" in Frame 226
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 160 MovieClip "baddytop" in Frame 226
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 332 MovieClip "platform3" in Frame 226
onClipEvent (load) {
platformspeed = "rebound";
reboundspeedx = 0;
reboundspeedy = 17;
_visible = false;
}
Frame 227
stop();
_root.screen = "top";
_root.lastplatform = 2;
_root.lastbaddy = 3;
_root.firstbomb = 61;
_root.lastbomb = 75;
clearbombs(lastbomb);
i = 61;
while (75 >= i) {
_root["bomb" + i].active = true;
i++;
}
Instance of Symbol 356 MovieClip "exit" in Frame 227
/* no clip actions */
Instance of Symbol 330 MovieClip "platform1" in Frame 227
onClipEvent (load) {
platformspeed = 3;
}
onClipEvent (enterFrame) {
_x = (_x + platformspeed);
if ((_root.platleft2._x < _x) and (_x < _root.platright2._x)) {
platformspeed = platformspeed;
} else {
platformspeed = -platformspeed;
}
}
Instance of Symbol 160 MovieClip "platleft2" in Frame 227
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 160 MovieClip "platright2" in Frame 227
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 354 MovieClip "baddy3" in Frame 227
onClipEvent (load) {
yspeed = -2;
}
onClipEvent (enterFrame) {
_y = (_y + yspeed);
if ((_root.baddytop._y < _y) and (_y < _root.baddybottom._y)) {
yspeed = yspeed;
} else {
yspeed = -yspeed;
}
}
Instance of Symbol 160 MovieClip "baddybottom" in Frame 227
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 160 MovieClip "baddytop" in Frame 227
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 321 MovieClip "baddy2" in Frame 227
onClipEvent (load) {
xspeed = 4;
}
onClipEvent (enterFrame) {
_x = (_x + xspeed);
if ((_root.baddyleft1._x < _x) and (_x < _root.baddyright1._x)) {
xspeed = xspeed;
} else {
xspeed = -xspeed;
if (direction eq "right") {
this.nextFrame();
} else if (direction eq "left") {
this.prevFrame();
}
}
}
Instance of Symbol 160 MovieClip "baddyleft1" in Frame 227
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 160 MovieClip "baddyright1" in Frame 227
onClipEvent (load) {
_visible = false;
}
Frame 228
i = 0;
while (_root.totalbombs >= i) {
delete _root["bombactive" + i];
i++;
}
gotoAndPlay (288);
Frame 229
i = 0;
while (_root.totalbombs >= i) {
delete _root["bombactive" + i];
i++;
}
gotoAndPlay (230);
Frame 230
stopAllSounds();
Frame 231
_root.percent = Math.floor((_root.totalcollected / 210) * 100);
Frame 269
stop();
Frame 270
play();
Frame 287
gotoAndPlay (314);
Frame 288
stopAllSounds();
Frame 299
_root.finalbonus = (_root.timeleft * 1000) + 100000;
_root.score = _root.score + finalbonus;
Frame 304
stop();
Frame 305
play();
Frame 313
gotoAndPlay (314);
Frame 314
play();
Frame 463
gotoAndPlay (134);
Symbol 35 Button
on (release) {
getURL ("http://www.miniclip.com/Homepage.htm");
}
Symbol 39 Button
on (release) {
getURL ("http://www.miniclip.com/signup.htm");
}
Symbol 43 Button
on (release) {
getURL ("http://www.miniclip.com/download_panik.htm");
}
Symbol 50 Button
on (release) {
getURL ("http://www.miniclip.com/Homepage.htm");
}
Symbol 67 MovieClip Frame 120
stop();
Symbol 70 Button
on (keyPress "k") {
nextFrame();
}
Symbol 71 Button
on (release, keyPress "e") {
nextFrame();
}
Symbol 72 Button
on (release, keyPress "r") {
nextFrame();
}
Symbol 73 Button
on (release, keyPress "b") {
nextFrame();
}
Symbol 74 MovieClip Frame 1
stop();
Symbol 74 MovieClip Frame 2
stop();
Symbol 74 MovieClip Frame 3
stop();
Symbol 74 MovieClip Frame 4
stop();
Symbol 74 MovieClip Frame 5
stop();
_root.cheat = true;
trace(_root.cheat);
Symbol 96 Button
on (release) {
if (_root.pressed == false) {
_root.next = "game";
_root.gotoAndPlay("out");
_root.pressed = true;
}
}
Symbol 98 Button
on (release) {
if (_root.pressed == false) {
_root.next = "instructions";
_root.gotoAndPlay("out");
_root.pressed = true;
}
}
Symbol 121 Button
on (release) {
nextFrame();
}
Symbol 143 Button
on (release, keyPress "<Space>") {
nextFrame();
}
Symbol 153 MovieClip Frame 1
Symbol 153 MovieClip Frame 15
gotoAndStop (1);
Instance of Symbol 153 MovieClip "running" in Symbol 157 MovieClip Frame 18
/* no clip actions */
Instance of Symbol 153 MovieClip "running" in Symbol 157 MovieClip Frame 63
/* no clip actions */
Instance of Symbol 162 MovieClip "baddybox" in Symbol 165 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Symbol 177 MovieClip Frame 1
stop();
Symbol 177 MovieClip Frame 35
_root.nextFrame();
Symbol 182 MovieClip Frame 1
gotoAndStop(_root.livesleft);
Symbol 182 MovieClip Frame 2
_root.livesleft = 2;
_root.bonus = 5;
stop();
Symbol 182 MovieClip Frame 3
_root.livesleft = 3;
stop();
_root.bonus = 4;
Symbol 182 MovieClip Frame 4
_root.livesleft = 4;
stop();
_root.bonus = 3;
Symbol 182 MovieClip Frame 5
_root.livesleft = 5;
stop();
_root.bonus = 2;
Symbol 182 MovieClip Frame 6
_root.livesleft = 6;
stop();
_root.bonus = 1;
Symbol 182 MovieClip Frame 7
_root.livesgone = true;
stop();
Symbol 186 MovieClip Frame 1
stop();
Symbol 186 MovieClip Frame 5
gotoAndStop (1);
Symbol 186 MovieClip Frame 10
gotoAndStop (1);
Symbol 197 MovieClip Frame 76
_root.intro.gotoAndPlay(2);
stop();
Symbol 201 Button
on (release) {
_root.sounds2.gotoAndStop("stop");
_root.allowSounds = false;
nextFrame();
}
Symbol 204 Button
on (release) {
_root.sounds2.gotoAndStop("play");
_root.allowSounds = true;
prevFrame();
}
Symbol 205 MovieClip Frame 1
stop();
Symbol 205 MovieClip Frame 2
stop();
Instance of Symbol 203 MovieClip "cross" in Symbol 205 MovieClip Frame 2
onClipEvent (load) {
if (_root.MusicOn) {
_visible = false;
}
}
Symbol 207 MovieClip Frame 1
if (_root.allowSounds) {
gotoAndStop (5);
_root.speaker.gotoAndStop(1);
} else {
stop();
_root.speaker.gotoAndStop(2);
}
Symbol 207 MovieClip Frame 5
stop();
Symbol 207 MovieClip Frame 10
stop();
Symbol 217 MovieClip Frame 1
stop();
Instance of Symbol 208 MovieClip "badbox" in Symbol 217 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 208 MovieClip "hitbox" in Symbol 217 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 208 MovieClip "hitbox2" in Symbol 217 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 210 MovieClip "invince" in Symbol 217 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Symbol 217 MovieClip Frame 2
stop();
Symbol 217 MovieClip Frame 3
stop();
Symbol 217 MovieClip Frame 4
stop();
Instance of Symbol 153 MovieClip "running" in Symbol 217 MovieClip Frame 4
/* no clip actions */
Symbol 217 MovieClip Frame 5
stop();
Symbol 217 MovieClip Frame 6
stop();
Symbol 217 MovieClip Frame 7
stop();
Symbol 217 MovieClip Frame 8
_root.dying = true;
_root.lives.nextFrame();
_root.man.active = false;
_root.man.xspeed = 0;
_root.man.yspeed = 0;
play();
Symbol 217 MovieClip Frame 25
if (_root.livesgone == true) {
_root.gotoAndPlay("gameover");
} else {
this._x = 300;
this._y = 380;
_root.gotoAndStop("game" + _root.scene);
gotoAndStop (1);
_root.dying = false;
_root.man.active = true;
_root.invincible = true;
}
Symbol 228 MovieClip Frame 1
stop();
Symbol 228 MovieClip Frame 2
stop();
Symbol 228 MovieClip Frame 3
play();
_root.timeleft = _root.man.timeleft;
_root.man.active = false;
Instance of Symbol 153 MovieClip "running" in Symbol 228 MovieClip Frame 3
/* no clip actions */
Symbol 228 MovieClip Frame 7
stopAllSounds();
Symbol 228 MovieClip Frame 18
_root.endoflevel.gotoAndPlay(2);
stop();
Instance of Symbol 162 MovieClip "baddybox" in Symbol 231 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Symbol 251 MovieClip Frame 1
stop();
Symbol 251 MovieClip Frame 2
totalbonus = _root.timeleft * 1000;
Symbol 251 MovieClip Frame 121
_root.score = _root.score + totalbonus;
Symbol 251 MovieClip Frame 122
_root.nextFrame();
stop();
totalbonus = 0;
Instance of Symbol 162 MovieClip "baddybox" in Symbol 257 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Symbol 265 MovieClip Frame 76
_root.intro.gotoAndPlay(2);
stop();
Instance of Symbol 162 MovieClip "baddybox" in Symbol 281 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 162 MovieClip "baddybox" in Symbol 296 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Symbol 304 MovieClip Frame 76
_root.intro.gotoAndPlay(2);
stop();
Symbol 321 MovieClip Frame 1
direction = "right";
stop();
Instance of Symbol 162 MovieClip "baddybox" in Symbol 321 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Symbol 321 MovieClip Frame 2
direction = "left";
Instance of Symbol 162 MovieClip "baddybox" in Symbol 326 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Symbol 346 MovieClip Frame 76
_root.intro.gotoAndPlay(2);
stop();
Instance of Symbol 162 MovieClip "baddybox" in Symbol 352 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 162 MovieClip "baddybox" in Symbol 354 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Symbol 356 MovieClip Frame 1
stop();
Symbol 356 MovieClip Frame 2
stop();
Symbol 356 MovieClip Frame 3
play();
_root.timeleft = _root.man.timeleft;
_root.man.active = false;
Instance of Symbol 153 MovieClip "running" in Symbol 356 MovieClip Frame 3
/* no clip actions */
Symbol 356 MovieClip Frame 7
stopAllSounds();
Symbol 356 MovieClip Frame 8
_root.endoflevel.gotoAndPlay(2);
stop();
Symbol 357 MovieClip Frame 1
stop();
Symbol 357 MovieClip Frame 2
_root.nextFrame();
Symbol 385 Button
on (release, releaseOutside) {
nextFrame();
}
Symbol 411 MovieClip Frame 9
stop();
Symbol 438 Button
on (release, releaseOutside) {
_root.nextFrame();
}