Frame 1
stop();
Frame 2
stop();
Frame 3
stop();
lives = 3;
Instance of Symbol 62 MovieClip "bg" in Frame 3
onClipEvent (enterFrame) {
_root.bg._x = _root.bg._x + ((_root.player._x - _x) / 2);
_root.bg._y = _root.bg._y + ((_root.player._y - _y) / 2);
x = x + ((_x - _root.player) / 3);
_y = (_y + ((_y - _root.player) / 3));
}
Instance of Symbol 77 MovieClip in Frame 3
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
gotoAndStop (2);
}
}
Instance of Symbol 99 MovieClip in Frame 3
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
this.gotoAndStop(2);
_root.cam.totalmoney = 1;
}
}
Instance of Symbol 180 MovieClip "player" in Frame 3
onClipEvent (load) {
var grav = 0;
var run = 10;
var wlk = 2.5;
var speed = run;
var jumpHeight = 12;
var dbl = 10;
var tri = 10;
var djump = false;
var tjump = false;
var thro = false;
var slow = 0.7;
var slowspd = (speed / 2);
var setspeed = speed;
var scale = _xscale;
var ex = 5;
this.gotoAndStop(2);
}
onClipEvent (enterFrame) {
grav++;
_y = (_y + grav);
if (Key.isDown(65)) {
setspeed = wlk;
} else {
setspeed = run;
}
while (_root.ground.hitTest(_x, _y, true)) {
djump = false;
tjump = false;
_y = (_y-1);
grav = 0;
}
if (_root.water.hitTest(_x, _y, true)) {
grav = grav * (slow * 1.25);
speed = slowspd;
} else {
speed = setspeed;
}
if (Key.isDown(39)) {
_x = (_x + speed);
_xscale = scale;
if (_root.ground.hitTest(_x, _y + 3, true)) {
this.gotoAndStop(1);
} else if (djump == false) {
this.gotoAndStop(2);
} else if (tjump == false) {
this.gotoAndStop(4);
} else {
this.gotoAndStop(5);
}
} else if (Key.isDown(37)) {
_x = (_x - speed);
_xscale = (-scale);
if (_root.ground.hitTest(_x, _y + 3, true)) {
this.gotoAndStop(1);
} else if (djump == false) {
this.gotoAndStop(2);
} else if (tjump == false) {
this.gotoAndStop(4);
} else {
this.gotoAndStop(5);
}
} else if ((_root.ground.hitTest(_x, _y + 3, true) && (!Key.isDown(68))) && (!Key.isDown(83))) {
this.gotoAndStop(3);
}
if (((((Key.isDown(68) && (!Key.isDown(38))) && (!Key.isDown(39))) && (!Key.isDown(37))) && (!Key.isDown(83))) && (_root.ground.hitTest(_x, _y + 3, true))) {
this.gotoAndStop(8);
}
if ((((((Key.isDown(83) && (!Key.isDown(39))) && (!Key.isDown(37))) && (!Key.isDown(38))) && (!Key.isDown(68))) && (_root.ground.hitTest(_x, _y + 3, true))) && (_currentframe != 6)) {
this.gotoAndStop(7);
} else if (Key.isDown(83) && (grav > 1)) {
this.gotoAndStop(6);
}
if (Key.isDown(38) && (_root.ground.hitTest(_x, _y + 3, true))) {
grav = -jumpHeight;
_y = (_y - 4);
this.gotoAndStop(2);
} else if (((Key.isDown(38) && (djump == false)) && (grav > 0)) && (tjump == false)) {
grav = -dbl;
djump = true;
this.gotoAndStop(4);
} else if ((Key.isDown(68) && (tjump == false)) && (grav > 1)) {
grav = -tri;
tjump = true;
this.gotoAndStop(5);
}
if ((_root.ground.hitTest((_x + (_width / 2)) + ex, _y - (_height / 2), true) || (_root.ground.hitTest((_x + (_width / 2)) + ex, _y - (_height / 6), true))) || (_root.ground.hitTest((_x + (_width / 2)) + ex, _y - _height, true))) {
_x = (_x - speed);
}
if ((_root.ground.hitTest((_x - (_width / 2)) - ex, _y - (_height / 2), true) || (_root.ground.hitTest((_x - (_width / 2)) - ex, _y - (_height / 6), true))) || (_root.ground.hitTest((_x - (_width / 2)) - ex, _y - _height, true))) {
_x = (_x + speed);
}
if (_root.ground.hitTest(_x, (_y - _height) - 15, true)) {
grav = 1;
}
}
Instance of Symbol 85 MovieClip in Frame 3
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
this.gotoAndStop(2);
_root.cam.totalmoney = _root.cam.totalmoney + 5;
}
}
Instance of Symbol 85 MovieClip in Frame 3
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
this.gotoAndStop(2);
_root.cam.totalmoney = _root.cam.totalmoney + 10;
}
}
Instance of Symbol 85 MovieClip in Frame 3
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
this.gotoAndStop(2);
_root.cam.totalmoney = _root.cam.totalmoney + 20;
}
}
Instance of Symbol 85 MovieClip in Frame 3
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
this.gotoAndStop(2);
_root.cam.totalmoney = _root.cam.totalmoney + 1;
}
}
Instance of Symbol 183 MovieClip in Frame 3
onClipEvent (enterFrame) {
if (this.hitTest(_root.player.hit) && (_root.lives != 3)) {
_root.lives = _root.lives + 1;
this.gotoAndStop(2);
}
}
Instance of Symbol 204 MovieClip in Frame 3
onClipEvent (load) {
hit = 0;
}
onClipEvent (enterFrame) {
if (this.hitest.hitTest(_root.player.hit)) {
if (hit == 0) {
hit = 1;
_root.lives = _root.lives - 1;
}
} else {
hit = 0;
}
}
Instance of Symbol 85 MovieClip in Frame 3
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
this.gotoAndStop(2);
_root.cam.totalmoney = _root.cam.totalmoney + 1;
}
}
Instance of Symbol 85 MovieClip in Frame 3
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
this.gotoAndStop(2);
_root.cam.totalmoney = _root.cam.totalmoney + 1;
}
}
Instance of Symbol 85 MovieClip in Frame 3
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
this.gotoAndStop(2);
_root.cam.totalmoney = _root.cam.totalmoney + 1;
}
}
Instance of Symbol 85 MovieClip in Frame 3
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
this.gotoAndStop(2);
_root.cam.totalmoney = _root.cam.totalmoney + 1;
}
}
Instance of Symbol 85 MovieClip in Frame 3
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
this.gotoAndStop(2);
_root.cam.totalmoney = _root.cam.totalmoney + 1;
}
}
Instance of Symbol 85 MovieClip in Frame 3
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
this.gotoAndStop(2);
_root.cam.totalmoney = _root.cam.totalmoney + 1;
}
}
Instance of Symbol 85 MovieClip in Frame 3
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
this.gotoAndStop(2);
_root.cam.totalmoney = _root.cam.totalmoney + 1;
}
}
Instance of Symbol 85 MovieClip in Frame 3
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
this.gotoAndStop(2);
_root.cam.totalmoney = _root.cam.totalmoney + 1;
}
}
Instance of Symbol 85 MovieClip in Frame 3
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
this.gotoAndStop(2);
_root.cam.totalmoney = _root.cam.totalmoney + 10;
}
}
Instance of Symbol 85 MovieClip in Frame 3
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
this.gotoAndStop(2);
_root.cam.totalmoney = _root.cam.totalmoney + 10;
}
}
Instance of Symbol 85 MovieClip in Frame 3
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
this.gotoAndStop(2);
_root.cam.totalmoney = _root.cam.totalmoney + 5;
}
}
Instance of Symbol 85 MovieClip in Frame 3
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
this.gotoAndStop(2);
_root.cam.totalmoney = _root.cam.totalmoney + 5;
}
}
Instance of Symbol 85 MovieClip in Frame 3
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
this.gotoAndStop(2);
_root.cam.totalmoney = _root.cam.totalmoney + 20;
}
}
Instance of Symbol 85 MovieClip in Frame 3
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
this.gotoAndStop(2);
_root.cam.totalmoney = _root.cam.totalmoney + 1;
}
}
Instance of Symbol 85 MovieClip in Frame 3
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
this.gotoAndStop(2);
_root.cam.totalmoney = _root.cam.totalmoney + 1;
}
}
Instance of Symbol 85 MovieClip in Frame 3
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
this.gotoAndStop(2);
_root.cam.totalmoney = _root.cam.totalmoney + 1;
}
}
Instance of Symbol 85 MovieClip in Frame 3
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
this.gotoAndStop(2);
_root.cam.totalmoney = _root.cam.totalmoney + 1;
}
}
Instance of Symbol 85 MovieClip in Frame 3
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
this.gotoAndStop(2);
_root.cam.totalmoney = _root.cam.totalmoney + 1;
}
}
Instance of Symbol 85 MovieClip in Frame 3
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
this.gotoAndStop(2);
_root.cam.totalmoney = _root.cam.totalmoney + 1;
}
}
Instance of Symbol 85 MovieClip in Frame 3
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
this.gotoAndStop(2);
_root.cam.totalmoney = _root.cam.totalmoney + 1;
}
}
Instance of Symbol 85 MovieClip in Frame 3
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
this.gotoAndStop(2);
_root.cam.totalmoney = _root.cam.totalmoney + 1;
}
}
Instance of Symbol 85 MovieClip in Frame 3
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
this.gotoAndStop(2);
_root.cam.totalmoney = _root.cam.totalmoney + 1;
}
}
Instance of Symbol 85 MovieClip in Frame 3
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
this.gotoAndStop(2);
_root.cam.totalmoney = _root.cam.totalmoney + 1;
}
}
Instance of Symbol 85 MovieClip in Frame 3
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
this.gotoAndStop(2);
_root.cam.totalmoney = _root.cam.totalmoney + 1;
}
}
Instance of Symbol 85 MovieClip in Frame 3
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
this.gotoAndStop(2);
_root.cam.totalmoney = _root.cam.totalmoney + 1;
}
}
Instance of Symbol 183 MovieClip in Frame 3
onClipEvent (enterFrame) {
if (this.hitTest(_root.player.hit) && (_root.lives != 3)) {
_root.lives = _root.lives + 1;
this.gotoAndStop(2);
}
}
Instance of Symbol 183 MovieClip in Frame 3
onClipEvent (enterFrame) {
if (this.hitTest(_root.player.hit) && (_root.lives != 3)) {
_root.lives = _root.lives + 1;
this.gotoAndStop(2);
}
}
Instance of Symbol 85 MovieClip in Frame 3
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
this.gotoAndStop(2);
_root.cam.totalmoney = _root.cam.totalmoney + 1;
}
}
Instance of Symbol 85 MovieClip in Frame 3
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
this.gotoAndStop(2);
_root.cam.totalmoney = _root.cam.totalmoney + 1;
}
}
Instance of Symbol 85 MovieClip in Frame 3
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
this.gotoAndStop(2);
_root.cam.totalmoney = _root.cam.totalmoney + 1;
}
}
Instance of Symbol 85 MovieClip in Frame 3
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
this.gotoAndStop(2);
_root.cam.totalmoney = _root.cam.totalmoney + 1;
}
}
Instance of Symbol 85 MovieClip in Frame 3
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
this.gotoAndStop(2);
_root.cam.totalmoney = _root.cam.totalmoney + 1;
}
}
Instance of Symbol 85 MovieClip in Frame 3
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
this.gotoAndStop(2);
_root.cam.totalmoney = _root.cam.totalmoney + 1;
}
}
Instance of Symbol 85 MovieClip in Frame 3
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
this.gotoAndStop(2);
_root.cam.totalmoney = _root.cam.totalmoney + 1;
}
}
Instance of Symbol 85 MovieClip in Frame 3
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
this.gotoAndStop(2);
_root.cam.totalmoney = _root.cam.totalmoney + 1;
}
}
Instance of Symbol 85 MovieClip in Frame 3
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
this.gotoAndStop(2);
_root.cam.totalmoney = _root.cam.totalmoney + 1;
}
}
Instance of Symbol 85 MovieClip in Frame 3
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
this.gotoAndStop(2);
_root.cam.totalmoney = _root.cam.totalmoney + 1;
}
}
Instance of Symbol 85 MovieClip in Frame 3
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
this.gotoAndStop(2);
_root.cam.totalmoney = _root.cam.totalmoney + 1;
}
}
Instance of Symbol 85 MovieClip in Frame 3
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
this.gotoAndStop(2);
_root.cam.totalmoney = _root.cam.totalmoney + 1;
}
}
Instance of Symbol 85 MovieClip in Frame 3
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
this.gotoAndStop(2);
_root.cam.totalmoney = _root.cam.totalmoney + 1;
}
}
Instance of Symbol 85 MovieClip in Frame 3
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
this.gotoAndStop(2);
_root.cam.totalmoney = _root.cam.totalmoney + 1;
}
}
Instance of Symbol 85 MovieClip in Frame 3
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
this.gotoAndStop(2);
_root.cam.totalmoney = _root.cam.totalmoney + 1;
}
}
Instance of Symbol 85 MovieClip in Frame 3
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
this.gotoAndStop(2);
_root.cam.totalmoney = _root.cam.totalmoney + 1;
}
}
Instance of Symbol 85 MovieClip in Frame 3
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
this.gotoAndStop(2);
_root.cam.totalmoney = _root.cam.totalmoney + 1;
}
}
Instance of Symbol 85 MovieClip in Frame 3
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
this.gotoAndStop(2);
_root.cam.totalmoney = _root.cam.totalmoney + 1;
}
}
Instance of Symbol 85 MovieClip in Frame 3
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
this.gotoAndStop(2);
_root.cam.totalmoney = _root.cam.totalmoney + 1;
}
}
Instance of Symbol 85 MovieClip in Frame 3
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
this.gotoAndStop(2);
_root.cam.totalmoney = _root.cam.totalmoney + 1;
}
}
Instance of Symbol 85 MovieClip in Frame 3
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
this.gotoAndStop(2);
_root.cam.totalmoney = _root.cam.totalmoney + 1;
}
}
Instance of Symbol 85 MovieClip in Frame 3
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
this.gotoAndStop(2);
_root.cam.totalmoney = _root.cam.totalmoney + 1;
}
}
Instance of Symbol 85 MovieClip in Frame 3
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
this.gotoAndStop(2);
_root.cam.totalmoney = _root.cam.totalmoney + 1;
}
}
Instance of Symbol 85 MovieClip in Frame 3
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
this.gotoAndStop(2);
_root.cam.totalmoney = _root.cam.totalmoney + 1;
}
}
Instance of Symbol 85 MovieClip in Frame 3
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
this.gotoAndStop(2);
_root.cam.totalmoney = _root.cam.totalmoney + 1;
}
}
Instance of Symbol 85 MovieClip in Frame 3
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
this.gotoAndStop(2);
_root.cam.totalmoney = _root.cam.totalmoney + 1;
}
}
Instance of Symbol 85 MovieClip in Frame 3
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
this.gotoAndStop(2);
_root.cam.totalmoney = _root.cam.totalmoney + 1;
}
}
Instance of Symbol 85 MovieClip in Frame 3
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
this.gotoAndStop(2);
_root.cam.totalmoney = _root.cam.totalmoney + 1;
}
}
Instance of Symbol 85 MovieClip in Frame 3
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
this.gotoAndStop(2);
_root.cam.totalmoney = _root.cam.totalmoney + 1;
}
}
Instance of Symbol 85 MovieClip in Frame 3
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
this.gotoAndStop(2);
_root.cam.totalmoney = _root.cam.totalmoney + 1;
}
}
Instance of Symbol 85 MovieClip in Frame 3
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
this.gotoAndStop(2);
_root.cam.totalmoney = _root.cam.totalmoney + 1;
}
}
Instance of Symbol 85 MovieClip in Frame 3
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
this.gotoAndStop(2);
_root.cam.totalmoney = _root.cam.totalmoney + 1;
}
}
Instance of Symbol 85 MovieClip in Frame 3
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
this.gotoAndStop(2);
_root.cam.totalmoney = _root.cam.totalmoney + 1;
}
}
Instance of Symbol 85 MovieClip in Frame 3
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
this.gotoAndStop(2);
_root.cam.totalmoney = _root.cam.totalmoney + 1;
}
}
Instance of Symbol 85 MovieClip in Frame 3
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
this.gotoAndStop(2);
_root.cam.totalmoney = _root.cam.totalmoney + 1;
}
}
Instance of Symbol 85 MovieClip in Frame 3
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
this.gotoAndStop(2);
_root.cam.totalmoney = _root.cam.totalmoney + 1;
}
}
Instance of Symbol 85 MovieClip in Frame 3
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
this.gotoAndStop(2);
_root.cam.totalmoney = _root.cam.totalmoney + 1;
}
}
Instance of Symbol 85 MovieClip in Frame 3
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
this.gotoAndStop(2);
_root.cam.totalmoney = _root.cam.totalmoney + 1;
}
}
Instance of Symbol 85 MovieClip in Frame 3
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
this.gotoAndStop(2);
_root.cam.totalmoney = _root.cam.totalmoney + 1;
}
}
Instance of Symbol 85 MovieClip in Frame 3
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
this.gotoAndStop(2);
_root.cam.totalmoney = _root.cam.totalmoney + 1;
}
}
Instance of Symbol 231 MovieClip "cam" in Frame 3
onClipEvent (enterFrame) {
_root.cam._x = _root.cam._x + ((_root.player._x - _x) / 2);
_root.cam._y = _root.cam._y + ((_root.player._y - _y) / 2);
x = x + ((_x - _root.player) / 3);
_y = (_y + ((_y - _root.player) / 3));
}
Frame 4
stop();
lives = 3;
Instance of Symbol 180 MovieClip "player" in Frame 4
onClipEvent (load) {
var grav = 0;
var run = 7;
var wlk = 2.5;
var speed = run;
var jumpHeight = 12;
var dbl = 10;
var tri = 10;
var djump = false;
var tjump = false;
var thro = false;
var slow = 0.7;
var slowspd = (speed / 3);
var setspeed = speed;
var scale = _xscale;
var ex = 5;
this.gotoAndStop(2);
}
onClipEvent (enterFrame) {
grav++;
_y = (_y + grav);
if (Key.isDown(65)) {
setspeed = wlk;
} else {
setspeed = run;
}
while (_root.ground.hitTest(_x, _y, true)) {
djump = false;
tjump = false;
_y = (_y-1);
grav = 0;
}
if (_root.water.hitTest(_x, _y, true)) {
grav = grav * (slow * 1.25);
speed = slowspd;
} else {
speed = setspeed;
}
if (Key.isDown(39)) {
_x = (_x + speed);
_xscale = scale;
if (_root.ground.hitTest(_x, _y + 3, true)) {
this.gotoAndStop(1);
} else if (djump == false) {
this.gotoAndStop(2);
} else if (tjump == false) {
this.gotoAndStop(4);
} else {
this.gotoAndStop(5);
}
} else if (Key.isDown(37)) {
_x = (_x - speed);
_xscale = (-scale);
if (_root.ground.hitTest(_x, _y + 3, true)) {
this.gotoAndStop(1);
} else if (djump == false) {
this.gotoAndStop(2);
} else if (tjump == false) {
this.gotoAndStop(4);
} else {
this.gotoAndStop(5);
}
} else if ((_root.ground.hitTest(_x, _y + 3, true) && (!Key.isDown(68))) && (!Key.isDown(83))) {
this.gotoAndStop(3);
}
if (((((Key.isDown(68) && (!Key.isDown(38))) && (!Key.isDown(39))) && (!Key.isDown(37))) && (!Key.isDown(83))) && (_root.ground.hitTest(_x, _y + 3, true))) {
this.gotoAndStop(8);
}
if ((((((Key.isDown(83) && (!Key.isDown(39))) && (!Key.isDown(37))) && (!Key.isDown(38))) && (!Key.isDown(68))) && (_root.ground.hitTest(_x, _y + 3, true))) && (_currentframe != 6)) {
this.gotoAndStop(7);
} else if (Key.isDown(83) && (grav > 1)) {
this.gotoAndStop(6);
}
if (Key.isDown(38) && (_root.ground.hitTest(_x, _y + 3, true))) {
grav = -jumpHeight;
_y = (_y - 4);
this.gotoAndStop(2);
} else if (((Key.isDown(38) && (djump == false)) && (grav > 0)) && (tjump == false)) {
grav = -dbl;
djump = true;
this.gotoAndStop(4);
} else if ((Key.isDown(68) && (tjump == false)) && (grav > 1)) {
grav = -tri;
tjump = true;
this.gotoAndStop(5);
}
if ((_root.ground.hitTest((_x + (_width / 2)) + ex, _y - (_height / 2), true) || (_root.ground.hitTest((_x + (_width / 2)) + ex, _y - (_height / 6), true))) || (_root.ground.hitTest((_x + (_width / 2)) + ex, _y - _height, true))) {
_x = (_x - speed);
}
if ((_root.ground.hitTest((_x - (_width / 2)) - ex, _y - (_height / 2), true) || (_root.ground.hitTest((_x - (_width / 2)) - ex, _y - (_height / 6), true))) || (_root.ground.hitTest((_x - (_width / 2)) - ex, _y - _height, true))) {
_x = (_x + speed);
}
if (_root.ground.hitTest(_x, (_y - _height) - 15, true)) {
grav = 1;
}
}
Instance of Symbol 243 MovieClip "enemy" in Frame 4
onClipEvent (load) {
bhit = false;
hit = 0;
hit2 = 0;
hit3 = 0;
health = 20;
speed = 2;
var scale = _xscale;
}
onClipEvent (load) {
spd = 2;
awmgd = -1;
}
onClipEvent (enterFrame) {
_x = (_x + spd);
((hitTest(_root.boundary) && (awmgd < 0)) ? ((spd = spd * -1)(awmgd = 5)_xscale = (_xscale * -1)_xscale * -1) : 0);
awmgd--;
}
onClipEvent (enterFrame) {
_x = (_x + spd);
((hitTest(_root.boundary2) && (awmgd < 0)) ? ((spd = spd * -1)(awmgd = 5)_xscale = (_xscale * -1)_xscale * -1) : 0);
awmgd--;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.player.attack1.attack)) {
if (hit2 == 0) {
hit2 = 1;
health = health - 0.5;
gotoAndPlay (2);
if ((health == 0) or (health < 0)) {
gotoAndStop (9);
}
}
} else {
hit2 = 0;
}
if (this.hitTest(_root.player.attack3.attack)) {
if (hit2 == 0) {
hit2 = 1;
health = health - 3;
gotoAndPlay (2);
if ((health == 0) or (health < 0)) {
gotoAndStop (9);
}
}
} else {
hit2 = 0;
}
if (this.hitTest(_root.player.attack4.attack)) {
if (hit2 == 0) {
hit2 = 1;
health = health - 2;
gotoAndPlay (2);
if ((health == 0) or (health < 0)) {
gotoAndStop (9);
}
}
} else {
hit2 = 0;
}
if (this.hitTest(_root.player.attack2.attack)) {
if (hit3 == 0) {
hit3 = 1;
health = health - 4;
gotoAndPlay (2);
if ((health == 0) or (health < 0)) {
gotoAndStop (9);
}
}
} else {
hit3 = 0;
}
if (this.hitest.hitTest(_root.player.hit)) {
if (hit == 0) {
hit = 1;
_root.lives = _root.lives - 1;
}
} else {
hit = 0;
}
}
Frame 5
stop();
Frame 6
stop();
Frame 7
stop();
Frame 8
stop();
Symbol 45 MovieClip Frame 20
stop();
Symbol 47 Button
on (release) {
_root.play();
}
Symbol 54 MovieClip Frame 1
function __com_mochibot__(swfid, mc, lv, trk) {
var x;
var g;
var s;
var fv;
var sb;
var u;
var res;
var mb;
var mbc;
mb = "__mochibot__";
mbc = "mochibot.com";
g = (_global ? (_global) : (_level0._root));
if (g[mb + swfid]) {
return(g[mb + swfid]);
}
s = System.security;
x = mc._root.getSWFVersion;
fv = (x ? (mc.getSWFVersion()) : ((_global ? 6 : 5)));
if (!s) {
s = {};
}
sb = s.sandboxType;
if (sb == "localWithFile") {
return(null);
}
x = s.allowDomain;
if (x) {
s.allowDomain(mbc);
}
x = s.allowInsecureDomain;
if (x) {
s.allowInsecureDomain(mbc);
}
u = (((((((((((("http://" + mbc) + "/my/core.swf?mv=7&fv=") + fv) + "&v=") + escape(getVersion())) + "&swfid=") + escape(swfid)) + "&l=") + lv) + "&f=") + mc) + (sb ? ("&sb=" + sb) : "")) + (trk ? "&t=1" : "");
lv = ((fv > 6) ? (mc.getNextHighestDepth()) : ((g[mb + "level"] ? (g[mb + "level"] + 1) : (lv))));
g[mb + "level"] = lv;
if (fv == 5) {
res = "_level" + lv;
if (!eval (res)) {
loadMovieNum (u, lv);
}
} else {
res = mc.createEmptyMovieClip(mb + swfid, lv);
res.loadMovie(u);
}
return(res);
}
__com_mochibot__("d92ba052", this, 10301, true);
_root.stop();
onEnterFrame = function () {
percent = (_root.getBytesLoaded() / _root.getBytesTotal()) * 100;
if (_currentframe < percent) {
nextFrame();
}
pert = _currentframe + "%";
onMouseDown = function () {
if (percent > 99) {
gotoAndPlay (100);
}
};
};
Symbol 54 MovieClip Frame 100
stop();
Symbol 54 MovieClip Frame 134
_root.play();
Symbol 60 MovieClip Frame 57
_root.gotoAndStop(3);
Symbol 75 MovieClip Frame 9
stop();
Instance of Symbol 73 MovieClip in Symbol 75 MovieClip Frame 9
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
gotoAndStop((_root._currentframe = _root._currentframe + 1));
}
}
Symbol 76 MovieClip Frame 1
stop();
Symbol 76 MovieClip Frame 2
stop();
Instance of Symbol 76 MovieClip in Symbol 77 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
gotoAndStop (2);
}
}
Symbol 80 MovieClip Frame 101
stop();
Symbol 82 MovieClip Frame 1
stop();
Symbol 82 MovieClip Frame 2
stop();
Symbol 85 MovieClip Frame 1
stop();
Symbol 85 MovieClip Frame 2
stop();
Instance of Symbol 82 MovieClip "toll" in Symbol 97 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && (_root.cam.totalmoney > 99)) {
this.gotoAndStop(2);
_root.cam.totalmoney = _root.cam.totalmoney - 100;
}
}
Instance of Symbol 85 MovieClip in Symbol 97 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
this.gotoAndStop(2);
_root.cam.totalmoney = _root.cam.totalmoney + 20;
}
}
Instance of Symbol 85 MovieClip in Symbol 97 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
this.gotoAndStop(2);
_root.cam.totalmoney = _root.cam.totalmoney + 1;
}
}
Instance of Symbol 85 MovieClip in Symbol 97 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
this.gotoAndStop(2);
_root.cam.totalmoney = _root.cam.totalmoney + 1;
}
}
Instance of Symbol 85 MovieClip in Symbol 97 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
this.gotoAndStop(2);
_root.cam.totalmoney = _root.cam.totalmoney + 1;
}
}
Instance of Symbol 85 MovieClip in Symbol 97 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
this.gotoAndStop(2);
_root.cam.totalmoney = _root.cam.totalmoney + 1;
}
}
Instance of Symbol 85 MovieClip in Symbol 97 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
this.gotoAndStop(2);
_root.cam.totalmoney = _root.cam.totalmoney + 1;
}
}
Instance of Symbol 85 MovieClip in Symbol 97 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
this.gotoAndStop(2);
_root.cam.totalmoney = _root.cam.totalmoney + 1;
}
}
Instance of Symbol 85 MovieClip in Symbol 97 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
this.gotoAndStop(2);
_root.cam.totalmoney = _root.cam.totalmoney + 1;
}
}
Instance of Symbol 85 MovieClip in Symbol 97 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
this.gotoAndStop(2);
_root.cam.totalmoney = _root.cam.totalmoney + 1;
}
}
Instance of Symbol 85 MovieClip in Symbol 97 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
this.gotoAndStop(2);
_root.cam.totalmoney = _root.cam.totalmoney + 1;
}
}
Instance of Symbol 85 MovieClip in Symbol 97 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
this.gotoAndStop(2);
_root.cam.totalmoney = _root.cam.totalmoney + 1;
}
}
Instance of Symbol 85 MovieClip in Symbol 97 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
this.gotoAndStop(2);
_root.cam.totalmoney = _root.cam.totalmoney + 1;
}
}
Instance of Symbol 85 MovieClip in Symbol 97 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
this.gotoAndStop(2);
_root.cam.totalmoney = _root.cam.totalmoney + 1;
}
}
Symbol 99 MovieClip Frame 1
stop();
Symbol 147 MovieClip Frame 11
stop();
Symbol 167 MovieClip Frame 10
stop();
Symbol 168 MovieClip Frame 14
stop();
Symbol 174 MovieClip Frame 3
stop();
Symbol 179 MovieClip Frame 45
stop();
Symbol 180 MovieClip Frame 1
stop();
Symbol 183 MovieClip Frame 1
stop();
Symbol 183 MovieClip Frame 2
stop();
Symbol 201 MovieClip Frame 14
stop();
Symbol 202 MovieClip Frame 1
stop();
Symbol 202 MovieClip Frame 8
gotoAndStop (1);
Symbol 202 MovieClip Frame 9
stop();
Instance of Symbol 202 MovieClip in Symbol 204 MovieClip Frame 1
onClipEvent (load) {
bhit = false;
hit = 0;
hit2 = 0;
hit3 = 0;
health = 3;
speed = 2;
var scale = _xscale;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.player.attack1.attack)) {
if (hit2 == 0) {
hit2 = 1;
health = health - 0.5;
gotoAndPlay (2);
if ((health == 0) or (health < 0)) {
gotoAndStop (9);
}
}
} else {
hit2 = 0;
}
if (this.hitTest(_root.player.attack3.attack)) {
if (hit2 == 0) {
hit2 = 1;
health = health - 3;
gotoAndPlay (2);
if ((health == 0) or (health < 0)) {
gotoAndStop (9);
}
}
} else {
hit2 = 0;
}
if (this.hitTest(_root.player.attack4.attack)) {
if (hit2 == 0) {
hit2 = 1;
health = health - 2;
gotoAndPlay (2);
if ((health == 0) or (health < 0)) {
gotoAndStop (9);
}
}
} else {
hit2 = 0;
}
if (this.hitTest(_root.player.attack2.attack)) {
if (hit3 == 0) {
hit3 = 1;
health = health - 4;
gotoAndPlay (2);
if ((health == 0) or (health < 0)) {
gotoAndStop (9);
}
}
} else {
hit3 = 0;
}
if (this.hitest.hitTest(_root.player.hit)) {
if (hit == 0) {
hit = 1;
_root.lives = _root.lives - 1;
}
} else {
hit = 0;
}
}
Instance of Symbol 202 MovieClip in Symbol 206 MovieClip Frame 1
onClipEvent (load) {
bhit = false;
hit = 0;
hit2 = 0;
hit3 = 0;
health = 3;
speed = 2;
var scale = _xscale;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.player.attack1.attack)) {
if (hit2 == 0) {
hit2 = 1;
health = health - 0.5;
gotoAndPlay (2);
if ((health == 0) or (health < 0)) {
gotoAndStop (9);
}
}
} else {
hit2 = 0;
}
if (this.hitTest(_root.player.attack3.attack)) {
if (hit2 == 0) {
hit2 = 1;
health = health - 3;
gotoAndPlay (2);
if ((health == 0) or (health < 0)) {
gotoAndStop (9);
}
}
} else {
hit2 = 0;
}
if (this.hitTest(_root.player.attack4.attack)) {
if (hit2 == 0) {
hit2 = 1;
health = health - 2;
gotoAndPlay (2);
if ((health == 0) or (health < 0)) {
gotoAndStop (9);
}
}
} else {
hit2 = 0;
}
if (this.hitTest(_root.player.attack2.attack)) {
if (hit3 == 0) {
hit3 = 1;
health = health - 4;
gotoAndPlay (2);
if ((health == 0) or (health < 0)) {
gotoAndStop (9);
}
}
} else {
hit3 = 0;
}
if (this.hitest.hitTest(_root.player.hit)) {
if (hit == 0) {
hit = 1;
_root.lives = _root.lives - 1;
}
} else {
hit = 0;
}
}
Symbol 217 MovieClip Frame 19
stop();
Symbol 223 MovieClip Frame 1
stop();
Symbol 223 MovieClip Frame 4
_root.gotoAndPlay(1);
Symbol 231 MovieClip Frame 1
var curCam = (new flash.geom.Transform(this));
var camera = (new flash.geom.Transform(this._parent));
var w = Stage.width;
var h = Stage.height;
this._visible = true;
this.onEnterFrame = function () {
this._parent.filters = this.filters;
var _local2 = curCam.matrix;
camera.colorTransform = curCam.colorTransform;
_local2.invert();
_local2.translate(w * 0.5, h * 0.5);
camera.matrix = _local2;
};
Instance of Symbol 223 MovieClip "lives" in Symbol 231 MovieClip Frame 1
onClipEvent (enterFrame) {
gotoAndStop(4 - _root.lives);
}
Symbol 242 MovieClip Frame 28
stop();
_root.gotoAndStop(5);
Symbol 243 MovieClip Frame 1
stop();
Instance of Symbol 202 MovieClip "enemy5" in Symbol 243 MovieClip Frame 1
onClipEvent (load) {
bhit = false;
hit = 0;
hit2 = 0;
hit3 = 0;
health = 99999 /* 0x01869F */;
speed = 2;
var scale = _xscale;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.player.attack1.attack)) {
if (hit2 == 0) {
hit2 = 1;
health = health - 0.5;
gotoAndPlay (2);
if ((health == 0) or (health < 0)) {
gotoAndStop (9);
}
}
} else {
hit2 = 0;
}
if (this.hitTest(_root.player.attack3.attack)) {
if (hit2 == 0) {
hit2 = 1;
health = health - 3;
gotoAndPlay (2);
if ((health == 0) or (health < 0)) {
gotoAndStop (9);
}
}
} else {
hit2 = 0;
}
if (this.hitTest(_root.player.attack4.attack)) {
if (hit2 == 0) {
hit2 = 1;
health = health - 2;
gotoAndPlay (2);
if ((health == 0) or (health < 0)) {
gotoAndStop (9);
}
}
} else {
hit2 = 0;
}
if (this.hitTest(_root.player.attack2.attack)) {
if (hit3 == 0) {
hit3 = 1;
health = health - 4;
gotoAndPlay (2);
if ((health == 0) or (health < 0)) {
gotoAndStop (9);
}
}
} else {
hit3 = 0;
}
if (this.hitest.hitTest(_root.player.hit)) {
if (hit == 0) {
hit = 1;
_root.lives = _root.lives - 1;
}
} else {
hit = 0;
}
}
Symbol 243 MovieClip Frame 8
gotoAndStop (1);
Symbol 243 MovieClip Frame 9
stop();
Instance of Symbol 82 MovieClip "toll" in Symbol 246 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && (_root.cam.totalmoney > 99)) {
this.gotoAndStop(2);
_root.cam.totalmoney = _root.cam.totalmoney - 100;
}
}
Symbol 249 MovieClip Frame 14
stop();
gotoAndStop((_root._currentframe = _root._currentframe + 1));
Symbol 250 MovieClip Frame 1
stop();
Symbol 250 MovieClip Frame 8
gotoAndStop (1);
Symbol 250 MovieClip Frame 9
stop();
Instance of Symbol 250 MovieClip "enemy5" in Symbol 251 MovieClip Frame 1
onClipEvent (load) {
bhit = false;
hit = 0;
hit2 = 0;
hit3 = 0;
health = 40;
speed = 2;
var scale = _xscale;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.player.attack1.attack)) {
if (hit2 == 0) {
hit2 = 1;
health = health - 0.5;
gotoAndPlay (2);
if ((health == 0) or (health < 0)) {
gotoAndStop (9);
}
}
} else {
hit2 = 0;
}
if (this.hitTest(_root.player.attack3.attack)) {
if (hit2 == 0) {
hit2 = 1;
health = health - 3;
gotoAndPlay (2);
if ((health == 0) or (health < 0)) {
gotoAndStop (9);
}
}
} else {
hit2 = 0;
}
if (this.hitTest(_root.player.attack4.attack)) {
if (hit2 == 0) {
hit2 = 1;
health = health - 2;
gotoAndPlay (2);
if ((health == 0) or (health < 0)) {
gotoAndStop (9);
}
}
} else {
hit2 = 0;
}
if (this.hitTest(_root.player.attack2.attack)) {
if (hit3 == 0) {
hit3 = 1;
health = health - 4;
gotoAndPlay (2);
if ((health == 0) or (health < 0)) {
gotoAndStop (9);
}
}
} else {
hit3 = 0;
}
if (this.hitest.hitTest(_root.player.hit)) {
if (hit == 0) {
hit = 1;
_root.lives = _root.lives - 1;
}
} else {
hit = 0;
}
}
Instance of Symbol 82 MovieClip "toll" in Symbol 256 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && (_root.cam.totalmoney > 99)) {
this.gotoAndStop(2);
_root.cam.totalmoney = _root.cam.totalmoney - 100;
}
}