Frame 1
stop();
Frame 2
jim.jumpmax = 10;
stanslide = false;
standead = false;
bucketfall = false;
jim.speed = 3;
jim.fallspeed = 4;
lives = 3;
bullets = 0;
jim.status = "";
stop();
Instance of Symbol 187 MovieClip in Frame 2
onClipEvent (enterFrame) {
if (this.hitTest(_root.jim._x, _root.jim._y, true) or this.hitTest(_root.jim._x, (_root.jim._y - _root.jim._yscale) + 2, true)) {
_root.jim.gotoAndStop(34);
_root.jim.status = "climb";
} else if ((_root.jim.status == "climb") and ((!this.hitTest(_root.jim._x, _root.jim._y, true)) or (!this.hitTest(_root.jim._x, (_root.jim._y - _root.jim._yscale) + 2, true)))) {
_root.jim.status = "";
}
}
Instance of Symbol 190 MovieClip in Frame 2
onClipEvent (enterFrame) {
if (this.hitTest(_root.jim)) {
_root.completed = true;
_root.nextFrame();
}
}
Instance of Symbol 203 MovieClip "jim" in Frame 2
onClipEvent (enterFrame) {
if (_root.lives == -1) {
_root.gotoAndStop(20);
}
if (status == "climb") {
if (noclimbright) {
if (_xscale < 0) {
_xscale = (_xscale * -1);
}
if (noclimbleft) {
if (_xscale > 0) {
_xscale = (_xscale * -1);
}
}
}
if (Key.isDown(32) and (!spacedown)) {
addlife = new Sound();
addlife.attachSound("jump");
addlife.start();
noclimbright = false;
noclimbleft = false;
_x = (_x - ((Math.sqrt(_xscale * _xscale) / _xscale) * 10));
jump = true;
jumpamount = 0;
spacedown = true;
status = "";
}
if (Key.isDown(38) and (!_root.boundary.hitTest(_x, (_y - _yscale) - 5, true))) {
_y = (_y - speed);
}
if (Key.isDown(40) and (!_root.boundary.hitTest(_x, _y + 5, true))) {
_y = (_y + speed);
}
if (Key.isDown(39) and (!noclimbright)) {
if (_xscale > 0) {
_xscale = (_xscale * -1);
}
}
if (Key.isDown(37) and (!noclimbleft)) {
if (_xscale < 0) {
_xscale = (_xscale * -1);
}
}
}
if (status == "swing") {
if (Key.isDown(32) and (!spacedown)) {
_visible = true;
_x = xswing;
_y = (yswing - 10);
addlife = new Sound();
addlife.attachSound("jump");
addlife.start();
jump = true;
jumpamount = Math.round(jumpamount / 2);
spacedown = true;
status = "";
}
}
if (status == "") {
noclimbright = false;
noclimbleft = false;
if (((Key.isDown(39) and (!_root.boundary.hitTest(_x + speed, _y, true))) and (!Key.isDown(37))) and (!_root.boundary.hitTest(_x + speed, _y - _yscale, true))) {
if (_xscale < 0) {
_xscale = (_xscale * -1);
}
_x = (_x + speed);
nextFrame();
}
if (((Key.isDown(37) and (!_root.boundary.hitTest(_x - speed, _y, true))) and (!Key.isDown(39))) and (!_root.boundary.hitTest(_x - speed, _y - _yscale, true))) {
if (_xscale > 0) {
_xscale = (_xscale * -1);
}
_x = (_x - speed);
nextFrame();
}
if (((!Key.isDown(39)) and (!Key.isDown(37))) or (Key.isDown(39) and Key.isDown(37))) {
gotoAndStop (1);
}
if (!_root.boundary.hitTest(_x, _y + fallspeed, true)) {
gotoAndStop (5);
_y = (_y + fallspeed);
} else {
jump = false;
k = 1;
while (k <= fallspeed) {
if (_root.boundary.hitTest(_x, _y + k, true)) {
_y = (_y + (k - 1));
break;
}
k++;
}
}
if (((_root.boundary.hitTest(_x, _y + fallspeed, true) and (!jump)) and Key.isDown(32)) and (!spacedown)) {
addlife = new Sound();
addlife.attachSound("jump");
addlife.start();
jump = true;
jumpamount = 0;
spacedown = true;
}
if (jump and (jumpamount < jumpmax)) {
jumpamount = jumpamount + 1;
_y = (_y - (fallspeed * 2));
}
if ((jumpamount == (jumpmax + 1)) or _root.boundary.hitTest(_x, _y - _yscale, true)) {
jumpamount = 0;
jump = false;
}
if (((_root.bullets > 0) and (!_root.shot)) and Key.isDown(16)) {
_root.attachMovie("bulletname", "bullet", 2);
_root.shot = true;
_root.bullets--;
if (_root.bullets == 0) {
_root.gun = false;
}
}
}
if (!Key.isDown(32)) {
spacedown = false;
}
if (!Key.isDown(16)) {
shiftdown = false;
}
}
Instance of Symbol 205 MovieClip in Frame 2
onClipEvent (load) {
_root.jim._x = _x;
_root.jim._y = _y;
}
onClipEvent (enterFrame) {
if (_root.jim.status == "dead") {
_root.jim._x = _x;
_root.jim._y = _y;
_root.lives--;
_root.jim._visible = true;
_root.jim.status = "";
}
}
Instance of Symbol 217 MovieClip in Frame 3
onClipEvent (enterFrame) {
if (this.hitTest(_root.jim._x, _root.jim._y, true) or this.hitTest(_root.jim._x, (_root.jim._y - _root.jim._yscale) + 2, true)) {
_root.jim.gotoAndStop(34);
_root.jim.status = "climb";
} else if ((_root.jim.status == "climb") and ((!this.hitTest(_root.jim._x, _root.jim._y, true)) or (!this.hitTest(_root.jim._x, (_root.jim._y - _root.jim._yscale) + 2, true)))) {
_root.jim.status = "";
}
}
Instance of Symbol 230 MovieClip in Frame 3
onClipEvent (load) {
walkspeed = 2;
}
onClipEvent (enterFrame) {
if (_root.boundary.hitTest(_x + (walkspeed * 3), _y, true)) {
walkspeed = walkspeed * -1;
_xscale = (_xscale * -1);
}
if (!_root.boundary.hitTest(_x + (walkspeed * 3), _y + 5, true)) {
walkspeed = walkspeed * -1;
_xscale = (_xscale * -1);
}
if (this.hitTest(_root.bullet)) {
_root.shot = false;
_root.bullet.removeMovieClip();
dead = true;
gotoAndPlay (2);
}
if (!dead) {
_x = (_x + walkspeed);
}
}
Instance of Symbol 205 MovieClip in Frame 3
onClipEvent (load) {
_root.jim._x = _x;
_root.jim._y = _y;
if (_root.completed) {
_root.completed = false;
} else {
_root.prevFrame();
}
}
onClipEvent (enterFrame) {
if (_root.jim.status == "dead") {
_root.jim._x = _x;
_root.jim._y = _y;
_root.lives--;
_root.jim._visible = true;
_root.jim.status = "";
}
}
Instance of Symbol 234 MovieClip in Frame 4
onClipEvent (enterFrame) {
if (((this.hitTest(_root.jim._x, _root.jim._y, true) or this.hitTest(_root.jim._x, (_root.jim._y - _root.jim._yscale) + 2, true)) and (_root.jim.status != "dead")) and (_root.jim.status != "showdeathanim")) {
_root.jim.gotoAndStop(34);
_root.jim.status = "climb";
} else if ((_root.jim.status == "climb") and ((!this.hitTest(_root.jim._x, _root.jim._y, true)) or (!this.hitTest(_root.jim._x, (_root.jim._y - _root.jim._yscale) + 2, true)))) {
_root.jim.status = "";
}
}
Instance of Symbol 190 MovieClip in Frame 4
onClipEvent (enterFrame) {
if (this.hitTest(_root.jim)) {
_root.completed = true;
_root.nextFrame();
}
}
Instance of Symbol 205 MovieClip in Frame 4
onClipEvent (load) {
_root.jim._x = _x;
_root.jim._y = _y;
if (_root.completed) {
_root.completed = false;
} else {
_root.completed = false;
_root.prevFrame();
}
}
onClipEvent (enterFrame) {
if (_root.jim.status == "dead") {
_root.jim._x = _x;
_root.jim._y = _y;
_root.lives--;
_root.jim._visible = true;
_root.jim.status = "";
}
}
Instance of Symbol 248 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (((this.hitTest(_root.jim._x, _root.jim._y, true) or this.hitTest(_root.jim._x, (_root.jim._y - _root.jim._yscale) + 2, true)) and (_root.jim.status != "dead")) and (_root.jim.status != "showdeathanim")) {
_root.jim.gotoAndStop(34);
_root.jim.status = "climb";
} else if ((_root.jim.status == "climb") and ((!this.hitTest(_root.jim._x, _root.jim._y, true)) or (!this.hitTest(_root.jim._x, (_root.jim._y - _root.jim._yscale) + 2, true)))) {
_root.jim.status = "";
}
}
Instance of Symbol 230 MovieClip in Frame 5
onClipEvent (load) {
walkspeed = 2;
}
onClipEvent (enterFrame) {
if (_root.boundary.hitTest(_x + (walkspeed * 3), _y, true)) {
walkspeed = walkspeed * -1;
_xscale = (_xscale * -1);
}
if (!_root.boundary.hitTest(_x + (walkspeed * 3), _y + 5, true)) {
walkspeed = walkspeed * -1;
_xscale = (_xscale * -1);
}
if (this.hitTest(_root.bullet)) {
_root.shot = false;
_root.bullet.removeMovieClip();
dead = true;
gotoAndPlay (2);
}
if (!dead) {
_x = (_x + walkspeed);
}
}
Instance of Symbol 230 MovieClip in Frame 5
onClipEvent (load) {
walkspeed = 2;
}
onClipEvent (enterFrame) {
if (_root.boundary.hitTest(_x + (walkspeed * 3), _y, true)) {
walkspeed = walkspeed * -1;
_xscale = (_xscale * -1);
}
if (!_root.boundary.hitTest(_x + (walkspeed * 3), _y + 5, true)) {
walkspeed = walkspeed * -1;
_xscale = (_xscale * -1);
}
if (this.hitTest(_root.bullet)) {
_root.shot = false;
_root.bullet.removeMovieClip();
dead = true;
gotoAndPlay (2);
}
if (!dead) {
_x = (_x + walkspeed);
}
}
Instance of Symbol 230 MovieClip in Frame 5
onClipEvent (load) {
walkspeed = 2;
}
onClipEvent (enterFrame) {
if (_root.boundary.hitTest(_x + (walkspeed * 3), _y, true)) {
walkspeed = walkspeed * -1;
_xscale = (_xscale * -1);
}
if (!_root.boundary.hitTest(_x + (walkspeed * 3), _y + 5, true)) {
walkspeed = walkspeed * -1;
_xscale = (_xscale * -1);
}
if (this.hitTest(_root.bullet)) {
dead = true;
_root.shot = false;
_root.bullet.removeMovieClip();
gotoAndPlay (2);
}
if (!dead) {
_x = (_x + walkspeed);
}
}
Instance of Symbol 205 MovieClip in Frame 5
onClipEvent (load) {
_root.jim._x = _x;
_root.jim._y = _y;
if (_root.completed) {
_root.completed = false;
} else {
_root.completed = false;
_root.prevFrame();
}
}
onClipEvent (enterFrame) {
if (_root.jim.status == "dead") {
_root.jim._x = _x;
_root.jim._y = _y;
_root.lives--;
_root.jim._visible = true;
_root.jim.status = "";
}
}
Instance of Symbol 255 MovieClip in Frame 6
onClipEvent (enterFrame) {
if (((this.hitTest(_root.jim._x, _root.jim._y, true) or this.hitTest(_root.jim._x, (_root.jim._y - _root.jim._yscale) + 2, true)) and (_root.jim.status != "dead")) and (_root.jim.status != "showdeathanim")) {
_root.jim.gotoAndStop(34);
_root.jim.status = "climb";
} else if ((_root.jim.status == "climb") and ((!this.hitTest(_root.jim._x, _root.jim._y, true)) or (!this.hitTest(_root.jim._x, (_root.jim._y - _root.jim._yscale) + 2, true)))) {
_root.jim.status = "";
}
}
Instance of Symbol 230 MovieClip in Frame 6
onClipEvent (load) {
walkspeed = 2;
}
onClipEvent (enterFrame) {
if (_root.boundary.hitTest(_x + (walkspeed * 3), _y, true)) {
walkspeed = walkspeed * -1;
_xscale = (_xscale * -1);
}
if (!_root.boundary.hitTest(_x + (walkspeed * 3), _y + 5, true)) {
walkspeed = walkspeed * -1;
_xscale = (_xscale * -1);
}
if (this.hitTest(_root.bullet)) {
_root.shot = false;
_root.bullet.removeMovieClip();
dead = true;
gotoAndPlay (2);
}
if (!dead) {
_x = (_x + walkspeed);
}
}
Instance of Symbol 230 MovieClip in Frame 6
onClipEvent (load) {
walkspeed = 2;
}
onClipEvent (enterFrame) {
if (_root.boundary.hitTest(_x + (walkspeed * 3), _y, true)) {
walkspeed = walkspeed * -1;
_xscale = (_xscale * -1);
}
if (!_root.boundary.hitTest(_x + (walkspeed * 3), _y + 5, true)) {
walkspeed = walkspeed * -1;
_xscale = (_xscale * -1);
}
if (this.hitTest(_root.bullet)) {
dead = true;
_root.shot = false;
_root.bullet.removeMovieClip();
gotoAndPlay (2);
}
if (!dead) {
_x = (_x + walkspeed);
}
}
Instance of Symbol 261 MovieClip in Frame 6
onClipEvent (load) {
walkspeed = 2;
}
onClipEvent (enterFrame) {
if (_root.boundary.hitTest(_x + (walkspeed * 3), _y, true)) {
walkspeed = walkspeed * -1;
_xscale = (_xscale * -1);
}
if (!_root.boundary.hitTest(_x + (walkspeed * 3), _y + 5, true)) {
walkspeed = walkspeed * -1;
_xscale = (_xscale * -1);
}
if (this.hitTest(_root.bullet)) {
_root.shot = false;
_root.bullet.removeMovieClip();
dead = true;
gotoAndPlay (2);
}
if (!dead) {
_x = (_x + walkspeed);
}
}
Instance of Symbol 261 MovieClip in Frame 6
onClipEvent (load) {
walkspeed = 2;
}
onClipEvent (enterFrame) {
if (_root.boundary.hitTest(_x + (walkspeed * 3), _y, true)) {
walkspeed = walkspeed * -1;
_xscale = (_xscale * -1);
}
if (!_root.boundary.hitTest(_x + (walkspeed * 3), _y + 5, true)) {
walkspeed = walkspeed * -1;
_xscale = (_xscale * -1);
}
if (this.hitTest(_root.bullet)) {
_root.shot = false;
_root.bullet.removeMovieClip();
dead = true;
gotoAndPlay (2);
}
if (!dead) {
_x = (_x + walkspeed);
}
}
Instance of Symbol 205 MovieClip in Frame 6
onClipEvent (load) {
_root.jim._x = _x;
_root.jim._y = _y;
if (_root.completed) {
_root.completed = false;
} else {
_root.completed = false;
_root.prevFrame();
}
}
onClipEvent (enterFrame) {
if (_root.jim.status == "dead") {
_root.jim._x = _x;
_root.jim._y = _y;
_root.lives--;
_root.jim._visible = true;
_root.jim.status = "";
}
}
Instance of Symbol 265 MovieClip "swing" in Frame 7
onClipEvent (load) {
swing2.gotoAndStop(2);
}
Instance of Symbol 268 MovieClip in Frame 7
onClipEvent (enterFrame) {
if (((this.hitTest(_root.jim._x, _root.jim._y, true) or this.hitTest(_root.jim._x, (_root.jim._y - _root.jim._yscale) + 2, true)) and (_root.jim.status != "dead")) and (_root.jim.status != "showdeathanim")) {
_root.jim.gotoAndStop(34);
_root.jim.status = "climb";
} else if ((_root.jim.status == "climb") and ((!this.hitTest(_root.jim._x, _root.jim._y, true)) or (!this.hitTest(_root.jim._x, (_root.jim._y - _root.jim._yscale) + 2, true)))) {
_root.jim.status = "";
}
}
Instance of Symbol 272 MovieClip in Frame 7
onClipEvent (load) {
walkspeed = 1;
}
onClipEvent (enterFrame) {
if (_root.boundary.hitTest(_x + (walkspeed * 3), _y, true)) {
walkspeed = walkspeed * -1;
_xscale = (_xscale * -1);
}
if (!_root.boundary.hitTest(_x + (walkspeed * 3), _y + 5, true)) {
walkspeed = walkspeed * -1;
_xscale = (_xscale * -1);
}
if (this.hitTest(_root.bullet)) {
_root.shot = false;
_root.bullet.removeMovieClip();
dead = true;
gotoAndPlay (2);
}
if (!dead) {
_x = (_x + walkspeed);
}
}
Instance of Symbol 190 MovieClip in Frame 7
onClipEvent (enterFrame) {
if (this.hitTest(_root.jim)) {
_root.completed = true;
_root.nextFrame();
}
}
Instance of Symbol 205 MovieClip in Frame 7
onClipEvent (load) {
_root.jim._x = _x;
_root.jim._y = _y;
if (_root.completed) {
_root.completed = false;
} else {
_root.completed = false;
_root.prevFrame();
}
}
onClipEvent (enterFrame) {
if (_root.jim.status == "dead") {
_root.jim._x = _x;
_root.jim._y = _y;
_root.lives--;
_root.jim._visible = true;
_root.jim.status = "";
}
}
Instance of Symbol 284 MovieClip in Frame 8
onClipEvent (enterFrame) {
if (((this.hitTest(_root.jim._x, _root.jim._y, true) or this.hitTest(_root.jim._x, (_root.jim._y - _root.jim._yscale) + 2, true)) and (_root.jim.status != "dead")) and (_root.jim.status != "showdeathanim")) {
_root.jim.gotoAndStop(34);
_root.jim.status = "climb";
} else if ((_root.jim.status == "climb") and ((!this.hitTest(_root.jim._x, _root.jim._y, true)) or (!this.hitTest(_root.jim._x, (_root.jim._y - _root.jim._yscale) + 2, true)))) {
_root.jim.status = "";
}
}
Instance of Symbol 205 MovieClip in Frame 8
onClipEvent (load) {
_root.jim._x = _x;
_root.jim._y = _y;
if (_root.completed) {
_root.completed = false;
} else {
_root.completed = false;
_root.prevFrame();
}
}
onClipEvent (enterFrame) {
if (_root.jim.status == "dead") {
_root.jim._x = _x;
_root.jim._y = _y;
_root.lives--;
_root.jim._visible = true;
_root.jim.status = "";
}
}
Instance of Symbol 294 MovieClip in Frame 9
onClipEvent (enterFrame) {
if (((this.hitTest(_root.jim._x, _root.jim._y, true) or this.hitTest(_root.jim._x, (_root.jim._y - _root.jim._yscale) + 2, true)) and (_root.jim.status != "dead")) and (_root.jim.status != "showdeathanim")) {
_root.jim.gotoAndStop(34);
_root.jim.status = "climb";
_root.jim.noclimbright = true;
} else if ((_root.jim.status == "climb") and ((!this.hitTest(_root.jim._x, _root.jim._y, true)) or (!this.hitTest(_root.jim._x, (_root.jim._y - _root.jim._yscale) + 2, true)))) {
_root.jim.status = "";
}
}
Instance of Symbol 205 MovieClip in Frame 9
onClipEvent (load) {
_root.jim._x = _x;
_root.jim._y = _y;
if (_root.completed) {
_root.completed = false;
} else {
_root.completed = false;
_root.prevFrame();
}
}
onClipEvent (enterFrame) {
if (_root.jim.status == "dead") {
_root.jim._x = _x;
_root.jim._y = _y;
_root.lives--;
_root.jim._visible = true;
_root.jim.status = "";
}
}
Instance of Symbol 302 MovieClip in Frame 10
onClipEvent (enterFrame) {
if (((this.hitTest(_root.jim._x, _root.jim._y, true) or this.hitTest(_root.jim._x, (_root.jim._y - _root.jim._yscale) + 2, true)) and (_root.jim.status != "dead")) and (_root.jim.status != "showdeathanim")) {
_root.jim.gotoAndStop(34);
_root.jim.status = "climb";
} else if ((_root.jim.status == "climb") and ((!this.hitTest(_root.jim._x, _root.jim._y, true)) or (!this.hitTest(_root.jim._x, (_root.jim._y - _root.jim._yscale) + 2, true)))) {
_root.jim.status = "";
}
}
Instance of Symbol 304 MovieClip in Frame 10
onClipEvent (enterFrame) {
if (this.hitTest(_root.jim)) {
_root.jim.noclimbright = true;
}
}
Instance of Symbol 304 MovieClip in Frame 10
onClipEvent (enterFrame) {
if (this.hitTest(_root.jim)) {
_root.jim.noclimbleft = true;
}
}
Instance of Symbol 272 MovieClip in Frame 10
onClipEvent (load) {
walkspeed = 2;
}
onClipEvent (enterFrame) {
if (_root.boundary.hitTest(_x + (walkspeed * 3), _y, true)) {
walkspeed = walkspeed * -1;
_xscale = (_xscale * -1);
}
if (!_root.boundary.hitTest(_x + (walkspeed * 3), _y + 5, true)) {
walkspeed = walkspeed * -1;
_xscale = (_xscale * -1);
}
if (this.hitTest(_root.bullet)) {
_root.shot = false;
_root.bullet.removeMovieClip();
dead = true;
gotoAndPlay (2);
}
if (!dead) {
_x = (_x + walkspeed);
}
}
Instance of Symbol 205 MovieClip in Frame 10
onClipEvent (load) {
_root.jim._x = _x;
_root.jim._y = _y;
if (_root.completed) {
_root.completed = false;
} else {
_root.completed = false;
_root.prevFrame();
}
}
onClipEvent (enterFrame) {
if (_root.jim.status == "dead") {
_root.jim._x = _x;
_root.jim._y = _y;
_root.lives--;
_root.jim._visible = true;
_root.jim.status = "";
}
}
Instance of Symbol 312 MovieClip in Frame 11
onClipEvent (enterFrame) {
if (((this.hitTest(_root.jim._x, _root.jim._y, true) or this.hitTest(_root.jim._x, (_root.jim._y - _root.jim._yscale) + 2, true)) and (_root.jim.status != "dead")) and (_root.jim.status != "showdeathanim")) {
_root.jim.gotoAndStop(34);
_root.jim.status = "climb";
_root.jim.noclimbleft = true;
if (_root.jim._xscale > 0) {
_root.jim._xscale = _root.jim._xscale * -1;
}
} else if ((_root.jim.status == "climb") and ((!this.hitTest(_root.jim._x, _root.jim._y, true)) or (!this.hitTest(_root.jim._x, (_root.jim._y - _root.jim._yscale) + 2, true)))) {
_root.jim.status = "";
}
}
Instance of Symbol 205 MovieClip in Frame 11
onClipEvent (load) {
_root.jim._x = _x;
_root.jim._y = _y;
if (_xscale > 0) {
_xscale = (_xscale * -1);
}
if (_root.completed) {
_root.completed = false;
} else {
_root.completed = false;
_root.prevFrame();
}
}
onClipEvent (enterFrame) {
if (_root.jim.status == "dead") {
_root.jim._x = _x;
_root.jim._y = _y;
_root.lives--;
_root.jim._visible = true;
_root.jim.status = "";
}
}
Instance of Symbol 272 MovieClip in Frame 11
onClipEvent (load) {
walkspeed = 2;
}
onClipEvent (enterFrame) {
if (_root.boundary.hitTest(_x + (walkspeed * 3), _y, true)) {
walkspeed = walkspeed * -1;
_xscale = (_xscale * -1);
}
if (!_root.boundary.hitTest(_x + (walkspeed * 3), _y + 5, true)) {
walkspeed = walkspeed * -1;
_xscale = (_xscale * -1);
}
if (this.hitTest(_root.bullet)) {
_root.shot = false;
_root.bullet.removeMovieClip();
dead = true;
gotoAndPlay (2);
}
if (!dead) {
_x = (_x + walkspeed);
}
}
Instance of Symbol 304 MovieClip in Frame 12
onClipEvent (enterFrame) {
if (this.hitTest(_root.jim)) {
_root.jim.noclimbleft = true;
}
}
Instance of Symbol 344 MovieClip "bucket" in Frame 12
onClipEvent (enterFrame) {
if ((this.hitTest(_root.bullet) or this.hitTest(_root.jim)) and (!_root.bucketfall)) {
gotoAndPlay (2);
_root.shot = false;
_root.bucketfall = true;
_root.bullet.removeMovieClip();
}
}
Instance of Symbol 346 MovieClip in Frame 12
onClipEvent (enterFrame) {
if (((this.hitTest(_root.jim._x, _root.jim._y, true) or this.hitTest(_root.jim._x, (_root.jim._y - _root.jim._yscale) + 2, true)) and (_root.jim.status != "dead")) and (_root.jim.status != "showdeathanim")) {
_root.jim.gotoAndStop(34);
_root.jim.status = "climb";
} else if ((_root.jim.status == "climb") and ((!this.hitTest(_root.jim._x, _root.jim._y, true)) or (!this.hitTest(_root.jim._x, (_root.jim._y - _root.jim._yscale) + 2, true)))) {
_root.jim.status = "";
}
}
Instance of Symbol 366 MovieClip "stan" in Frame 12
onClipEvent (load) {
walkspeed = 5;
}
onClipEvent (enterFrame) {
walkspeed = (5 * Math.sqrt(walkspeed * walkspeed)) / walkspeed;
if (_root.stanarea and (!_root.stanslide)) {
gotoAndStop (2);
walkspeed = (10 * Math.sqrt(walkspeed * walkspeed)) / walkspeed;
} else if (!_root.stanslide) {
gotoAndStop (1);
} else if (_root.stanslide) {
walkspeed = (10 * Math.sqrt(walkspeed * walkspeed)) / walkspeed;
gotoAndStop (3);
}
if ((_root.boundary.polestan.hitTest(_x + 35, _y, true) and _root.stanslide) and (!_root.standead)) {
_root.standead = true;
_root.boundary.polestan.gotoAndPlay(2);
_root.stan.unloadMovie();
}
if (_root.boundary.hitTest(_x + (walkspeed * 3), _y, true)) {
walkspeed = walkspeed * -1;
_xscale = (_xscale * -1);
}
if (!_root.boundary.hitTest(_x + (walkspeed * 3), _y + 5, true)) {
walkspeed = walkspeed * -1;
_xscale = (_xscale * -1);
}
if (this.hitTest(_root.bullet)) {
addlife = new Sound();
addlife.attachSound("rico");
addlife.start();
_root.shot = false;
_root.bullet.removeMovieClip();
}
_x = (_x + walkspeed);
}
Instance of Symbol 304 MovieClip in Frame 12
onClipEvent (enterFrame) {
if (this.hitTest(_root.jim)) {
_root.stanarea = true;
} else {
_root.stanarea = false;
}
}
Instance of Symbol 370 MovieClip in Frame 12
onClipEvent (load) {
gotoAndPlay (6);
}
Instance of Symbol 205 MovieClip in Frame 12
onClipEvent (load) {
_root.jim._x = _x;
_root.jim._y = _y;
if (_xscale > 0) {
_xscale = (_xscale * -1);
}
if (_root.completed) {
_root.completed = false;
} else {
_root.completed = false;
_root.prevFrame();
}
}
onClipEvent (enterFrame) {
if (_root.jim.status == "dead") {
_root.jim._x = _x;
_root.jim._y = _y;
_root.lives--;
_root.jim._visible = true;
_root.jim.status = "";
}
}
Instance of Symbol 190 MovieClip in Frame 13
onClipEvent (enterFrame) {
if (this.hitTest(_root.jim)) {
_root.jim._x = -100;
_root.jim._y = 800;
_root.attachMovie("JimThrustMain", "jimdance", 20);
_root.jimdance._x = _x;
_root.jimdance._y = 330;
_root.bullets = 0;
}
}
Instance of Symbol 205 MovieClip in Frame 13
onClipEvent (load) {
_root.jim._x = _x;
_root.jim._y = _y;
if (_xscale > 0) {
_xscale = (_xscale * -1);
}
if (_root.completed) {
_root.completed = false;
} else {
_root.completed = false;
_root.prevFrame();
}
}
onClipEvent (enterFrame) {
if (_root.jim.status == "dead") {
_root.jim._x = _x;
_root.jim._y = _y;
_root.lives--;
_root.jim._visible = true;
_root.jim.status = "";
}
}
Frame 14
stop();
Frame 15
stop();
Symbol 27 MovieClip [deathanim] Frame 64
_root.jim.status = "dead";
_root.jim.status = "dead";
this.removeMovieClip();
Instance of Symbol 29 MovieClip "bulletaction" in Symbol 31 MovieClip [bulletname] Frame 1
onClipEvent (load) {
_root.bullet._x = _root.jim._x + ((Math.sqrt(_root.jim._xscale * _root.jim._xscale) / _root.jim._xscale) * 15);
_root.bullet._y = _root.jim._y - (_root.jim._yscale * 0.75);
bulletspeed = (Math.sqrt(_root.jim._xscale * _root.jim._xscale) / _root.jim._xscale) * 10;
}
onClipEvent (enterFrame) {
_root.bullet._x = _root.bullet._x + bulletspeed;
if (_root.boundary.hitTest(_root.bullet._x, _root.bullet._y, true) or _root.boundary.hitTest(_root.bullet._x - (bulletspeed / 2), _root.bullet._y, true)) {
_root.shot = false;
_root.bullet.removeMovieClip();
}
if (!_root.shot) {
_root.bullet.removeMovieClip();
}
}
Symbol 42 MovieClip [JimThrustMain] Frame 157
_root.nextFrame();
this.removeMovieClip();
Symbol 47 MovieClip Frame 1
stop();
Symbol 59 Button
on (release) {
_root.gotoAndStop(2);
}
Symbol 62 Button
on (release) {
gotoAndStop (4);
}
Symbol 65 Button
on (release) {
gotoAndStop (7);
}
Symbol 77 Button
on (release) {
gotoAndStop (3);
}
Symbol 80 Button
on (release) {
nextFrame();
}
Symbol 105 Button
on (release) {
prevFrame();
}
Symbol 176 MovieClip Frame 1
bytesloaded = Math.round(_root.getBytesLoaded() / 1000) + "kb";
totalbytes = Math.round(_root.getBytesTotal() / 1000) + "kb";
if (bytesloaded == totalbytes) {
gotoAndStop (3);
}
Instance of Symbol 47 MovieClip in Symbol 176 MovieClip Frame 1
onClipEvent (enterFrame) {
percent = Math.round((_root.getBytesLoaded() / _root.getBytesTotal()) * 100);
gotoAndStop(percent);
}
Symbol 176 MovieClip Frame 2
gotoAndPlay (1);
Symbol 182 MovieClip Frame 1
stop();
Symbol 184 MovieClip Frame 1
stop();
Instance of Symbol 182 MovieClip "jimswing" in Symbol 184 MovieClip Frame 1
onClipEvent (enterFrame) {
_root.jim.xswing = _root.swing.hswing._x + _root.swing._x;
_root.jim.yswing = _root.swing.vswing._y + _root.swing._y;
if (this.hitTest(_root.jim)) {
_root.jim._visible = false;
gotoAndStop (2);
_root.jim.status = "swing";
}
if (_root.jim.status != "swing") {
gotoAndStop (1);
}
}
Symbol 203 MovieClip Frame 1
stop();
Symbol 203 MovieClip Frame 21
gotoAndStop (2);
Instance of Symbol 214 MovieClip in Symbol 215 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((this.hitTest(_root.jim) and (_root.jim.status != "showdeathanim")) and (_root.jim.status != "dead")) {
_root.attachMovie("deathanim", "showdeath", 10);
_root.showdeath._x = _root.jim._x;
_root.showdeath._y = _root.jim._y;
_root.jim._visible = false;
_root.jim.status = "showdeathanim";
}
}
Instance of Symbol 151 MovieClip in Symbol 222 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.jim)) {
_root.lives++;
addlife = new Sound();
addlife.attachSound("extralife");
addlife.start();
this.unloadMovie();
}
}
Symbol 230 MovieClip Frame 1
stop();
Instance of Symbol 214 MovieClip in Symbol 230 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((this.hitTest(_root.jim) and (_root.jim.status != "showdeathanim")) and (_root.jim.status != "dead")) {
_root.attachMovie("deathanim", "showdeath", 10);
_root.showdeath._x = _root.jim._x;
_root.showdeath._y = _root.jim._y;
_root.jim._visible = false;
_root.jim.status = "showdeathanim";
}
}
Symbol 230 MovieClip Frame 7
stop();
this.unloadMovie();
Instance of Symbol 148 MovieClip in Symbol 252 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.jim)) {
_root.gun = true;
_root.bullets = _root.bullets + 3;
if (_root.bullets > 7) {
_root.bullets = 7;
}
addlife = new Sound();
addlife.attachSound("loadgun");
addlife.start();
this.unloadMovie();
}
}
Symbol 261 MovieClip Frame 1
stop();
Instance of Symbol 214 MovieClip in Symbol 261 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((this.hitTest(_root.jim) and (_root.jim.status != "showdeathanim")) and (_root.jim.status != "dead")) {
_root.attachMovie("deathanim", "showdeath", 10);
_root.showdeath._x = _root.jim._x;
_root.showdeath._y = _root.jim._y;
_root.jim._visible = false;
_root.jim.status = "showdeathanim";
}
}
Symbol 261 MovieClip Frame 7
stop();
this.unloadMovie();
Symbol 272 MovieClip Frame 1
stop();
Instance of Symbol 214 MovieClip in Symbol 272 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((this.hitTest(_root.jim) and (_root.jim.status != "showdeathanim")) and (_root.jim.status != "dead")) {
_root.attachMovie("deathanim", "showdeath", 10);
_root.showdeath._x = _root.jim._x;
_root.showdeath._y = _root.jim._y;
_root.jim._visible = false;
_root.jim.status = "showdeathanim";
}
}
Symbol 272 MovieClip Frame 7
stop();
this.unloadMovie();
Symbol 288 MovieClip Frame 60
stop();
Instance of Symbol 214 MovieClip in Symbol 332 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((this.hitTest(_root.jim) and (_root.jim.status != "showdeathanim")) and (_root.jim.status != "dead")) {
_root.attachMovie("deathanim", "showdeath", 10);
_root.showdeath._x = _root.jim._x;
_root.showdeath._y = _root.jim._y;
_root.jim._visible = false;
_root.jim.status = "showdeathanim";
}
}
Symbol 337 MovieClip Frame 1
stop();
Symbol 337 MovieClip Frame 35
_root.bucket.swapDepths("_root.boundary");
Symbol 337 MovieClip Frame 36
_root.jim.status = "";
stop();
Symbol 344 MovieClip Frame 1
stop();
Instance of Symbol 304 MovieClip in Symbol 344 MovieClip Frame 19
onClipEvent (enterFrame) {
if (this.hitTest(_root.stan)) {
_root.stanslide = true;
}
}
Symbol 344 MovieClip Frame 25
stop();
Symbol 366 MovieClip Frame 1
stop();
Instance of Symbol 214 MovieClip in Symbol 366 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((this.hitTest(_root.jim) and (_root.jim.status != "showdeathanim")) and (_root.jim.status != "dead")) {
_root.attachMovie("deathanim", "showdeath", 10);
_root.showdeath._x = _root.jim._x;
_root.showdeath._y = _root.jim._y;
_root.jim._visible = false;
_root.jim.status = "showdeathanim";
}
}
Symbol 366 MovieClip Frame 3
_root.stanslide = true;
Symbol 379 Button
on (release) {
gotoAndStop (1);
}
Symbol 382 Button
on (release) {
gotoAndStop (2);
}
Symbol 383 MovieClip Frame 112
stop();
Symbol 387 MovieClip Frame 134
stop();