Combined Code
frame 1 {
_quality = 'low';
}
movieClip 3 {
}
movieClip 5 {
}
movieClip 8 {
}
movieClip 10 {
}
movieClip 11 {
}
movieClip 13 {
}
movieClip 15 {
}
movieClip 17 {
frame 1 {
function timerHandler() {
if (!loadingComplete) {
var v4 = _root.getBytesLoaded() / _root.getBytesTotal();
bar._yscale = 100 * v4;
if (v4 == 1) {
loadingComplete = true;
if (AUTO_PLAY) {
startMovie();
} else {
gotoAndStop('loaded');
}
return undefined;
}
}
dt = getTimer() - time;
time += dt;
frameAccum += dt;
var v3 = 0;
for (;;) {
if (!(frameAccum >= FRAME_TIME && v3 < MAX_FRAME_SKIP)) break;
advanceFrame(tankLogo, true, true);
advanceFrame(loadingText, false, true);
advanceFrame(barGfx, false, true);
if (loadingComplete) {
advanceFrame(this, false, false);
}
frameAccum -= FRAME_TIME;
v3++;
}
updateAfterEvent();
}
function advanceFrame(clip, recurse, loop) {
if (!clip) {
return undefined;
}
clip.stop();
if (clip._currentframe == clip._totalframes) {
if (loop) {
clip.gotoAndStop(1);
}
} else {
clip.nextFrame();
}
if (recurse) {
for (childName in clip) {
if (typeof clip[childName] == 'movieclip') {
advanceFrame(clip[childName], recurse, loop);
}
}
}
}
function startMovie() {
clearInterval(intervalId);
_root.play();
}
_root.stop();
stop();
var FRAME_TIME = 33.33333333333334;
var AUTO_PLAY = false;
var MAX_FRAME_SKIP = 5;
var loadingComplete;
var intervalId;
var time;
var frameAccum;
loadingComplete = false;
intervalId = setInterval(this, 'timerHandler', FRAME_TIME / 2);
frameAccum = 0;
time = getTimer();
timerHandler();
}
frame 72 {
startMovie();
}
}
movieClip 18 {
}
frame 5 {
stop();
_root.score = 0;
}
movieClip 21 {
}
instance of movieClip 21 {
onClipEvent (enterFrame) {
_y = _y + (_root.vcam._y - _y) / 1;
_x = _x + (_root.vcam._x - _x) / 1;
}
}
movieClip 25 {
}
movieClip 27 {
}
movieClip 29 {
}
movieClip 30 {
}
instance minutes of movieClip 30 {
onClipEvent (enterFrame) {
time = new Date();
mil = time.getMilliseconds();
s = time.getSeconds();
m = time.getMinutes();
h = time.getHours();
seconds._rotation = s * 6 + mil / 166.6666666666667;
minutes._rotation = m * 6 + s / 10;
hours._rotation = h * 30 + m / 2;
}
}
instance minutes of movieClip 30 {
onClipEvent (enterFrame) {
time = new Date();
mil = time.getMilliseconds();
s = time.getSeconds();
m = time.getMinutes();
h = time.getHours();
seconds._rotation = s * 6 + mil / 166.6666666666667;
minutes._rotation = m * 6 + s / 10;
hours._rotation = h * 30 + m / 2;
}
}
movieClip 32 {
}
movieClip 33 {
}
instance of movieClip 33 {
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
_root.score += 5;
loadMovie('', this);
}
}
}
instance of movieClip 33 {
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
_root.score += 5;
loadMovie('', this);
}
}
}
instance of movieClip 33 {
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
_root.score += 5;
loadMovie('', this);
}
}
}
movieClip 36 {
}
movieClip 51 {
}
movieClip 53 {
}
movieClip 55 {
}
movieClip 58 {
frame 1 {
stop();
}
frame 2 {
stop();
}
frame 3 {
stop();
}
frame 4 {
stop();
}
}
instance player of movieClip 58 {
onClipEvent (load) {
var grav = 0;
var speed = 5;
var jumpHeight = 12;
var slow = 0.2;
var slowspd = speed / 1.5;
var setspeed = speed;
var scale = _xscale;
var ex = 3;
this.gotoAndStop(2);
}
onClipEvent (enterFrame) {
++grav;
_y = _y + grav;
while (_root.ground.hitTest(_x, _y, true)) {
_y = _y - 1;
grav = 0;
}
if (_root.water.hitTest(_x, _y, true)) {
if (grav > 0) {
grav *= slow;
}
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 {
this.gotoAndStop(2);
}
} else {
if (Key.isDown(37)) {
_x = _x - speed;
_xscale = -scale;
if (_root.ground.hitTest(_x, _y + 3, true)) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
} else {
if (_root.ground.hitTest(_x, _y + 3, true) && !Key.isDown(88) && !Key.isDown(90)) {
this.gotoAndStop(3);
}
}
}
if (Key.isDown(88) && !Key.isDown(38) && !Key.isDown(37) && !Key.isDown(39) && !Key.isDown(90)) {
this.gotoAndStop(5);
}
if (Key.isDown(90) && !Key.isDown(38) && !Key.isDown(37) && !Key.isDown(39) && !Key.isDown(88)) {
this.gotoAndStop(4);
}
if (Key.isDown(38) && _root.ground.hitTest(_x, _y + 3, true)) {
grav = -jumpHeight;
_y = _y - 4;
this.gotoAndStop(2);
}
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 movieClip 33 {
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
_root.score += 5;
loadMovie('', this);
}
}
}
instance of movieClip 33 {
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
_root.score += 5;
loadMovie('', this);
}
}
}
instance of movieClip 33 {
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
_root.score += 5;
loadMovie('', this);
}
}
}
instance of movieClip 33 {
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
_root.score += 5;
loadMovie('', this);
}
}
}
instance of movieClip 33 {
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
_root.score += 5;
loadMovie('', this);
}
}
}
instance of movieClip 33 {
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
_root.score += 5;
loadMovie('', this);
}
}
}
instance of movieClip 33 {
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
_root.score += 5;
loadMovie('', this);
}
}
}
instance of movieClip 33 {
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
_root.score += 5;
loadMovie('', this);
}
}
}
instance of movieClip 33 {
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
_root.score += 5;
loadMovie('', this);
}
}
}
instance of movieClip 33 {
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
_root.score += 5;
loadMovie('', this);
}
}
}
instance of movieClip 33 {
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
_root.score += 5;
loadMovie('', this);
}
}
}
instance of movieClip 33 {
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
_root.score += 5;
loadMovie('', this);
}
}
}
instance of movieClip 33 {
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
_root.score += 5;
loadMovie('', this);
}
}
}
instance of movieClip 33 {
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
_root.score += 5;
loadMovie('', this);
}
}
}
instance of movieClip 33 {
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
_root.score += 5;
loadMovie('', this);
}
}
}
instance of movieClip 33 {
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
_root.score += 5;
loadMovie('', this);
}
}
}
instance of movieClip 33 {
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
_root.score += 5;
loadMovie('', this);
}
}
}
instance of movieClip 33 {
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
_root.score += 5;
loadMovie('', this);
}
}
}
instance of movieClip 33 {
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
_root.score += 5;
loadMovie('', this);
}
}
}
instance of movieClip 33 {
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
_root.score += 5;
loadMovie('', this);
}
}
}
instance of movieClip 33 {
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
_root.score += 5;
loadMovie('', this);
}
}
}
instance of movieClip 33 {
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
_root.score += 5;
loadMovie('', this);
}
}
}
instance of movieClip 33 {
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
_root.score += 5;
loadMovie('', this);
}
}
}
instance of movieClip 33 {
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
_root.score += 5;
loadMovie('', this);
}
}
}
instance of movieClip 33 {
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
_root.score += 5;
loadMovie('', this);
}
}
}
instance of movieClip 33 {
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
_root.score += 5;
loadMovie('', this);
}
}
}
instance of movieClip 33 {
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
_root.score += 5;
loadMovie('', this);
}
}
}
instance of movieClip 33 {
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
_root.score += 5;
loadMovie('', this);
}
}
}
instance of movieClip 33 {
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
_root.score += 5;
loadMovie('', this);
}
}
}
instance of movieClip 33 {
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
_root.score += 5;
loadMovie('', this);
}
}
}
instance of movieClip 33 {
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
_root.score += 5;
loadMovie('', this);
}
}
}
instance of movieClip 33 {
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
_root.score += 5;
loadMovie('', this);
}
}
}
movieClip 60 {
}
instance of movieClip 60 {
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
_root.vcam.gotoAndPlay(2);
_root.player._x = 800;
_root.player._y = 50;
}
}
}
instance of movieClip 33 {
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
_root.score += 5;
loadMovie('', this);
}
}
}
instance of movieClip 33 {
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
_root.score += 5;
loadMovie('', this);
}
}
}
instance of movieClip 33 {
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
_root.score += 5;
loadMovie('', this);
}
}
}
instance of movieClip 33 {
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
_root.score += 5;
loadMovie('', this);
}
}
}
instance of movieClip 33 {
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
_root.score += 5;
loadMovie('', this);
}
}
}
instance of movieClip 33 {
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
_root.score += 5;
loadMovie('', this);
}
}
}
instance of movieClip 33 {
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
_root.score += 5;
loadMovie('', this);
}
}
}
instance of movieClip 33 {
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
_root.score += 5;
loadMovie('', this);
}
}
}
instance of movieClip 33 {
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
_root.score += 5;
loadMovie('', this);
}
}
}
instance of movieClip 33 {
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
_root.score += 5;
loadMovie('', this);
}
}
}
instance of movieClip 33 {
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
_root.score += 5;
loadMovie('', this);
}
}
}
instance of movieClip 33 {
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
_root.score += 5;
loadMovie('', this);
}
}
}
instance of movieClip 33 {
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
_root.score += 5;
loadMovie('', this);
}
}
}
instance of movieClip 33 {
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
_root.score += 5;
loadMovie('', this);
}
}
}
instance of movieClip 33 {
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
_root.score += 5;
loadMovie('', this);
}
}
}
instance of movieClip 33 {
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
_root.score += 5;
loadMovie('', this);
}
}
}
instance of movieClip 33 {
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
_root.score += 5;
loadMovie('', this);
}
}
}
instance of movieClip 33 {
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
_root.score += 5;
loadMovie('', this);
}
}
}
instance of movieClip 33 {
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
_root.score += 5;
loadMovie('', this);
}
}
}
instance of movieClip 33 {
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
_root.score += 5;
loadMovie('', this);
}
}
}
instance of movieClip 33 {
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
_root.score += 5;
loadMovie('', this);
}
}
}
instance of movieClip 33 {
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
_root.score += 5;
loadMovie('', this);
}
}
}
instance of movieClip 33 {
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
_root.score += 5;
loadMovie('', this);
}
}
}
instance of movieClip 33 {
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
_root.score += 30;
loadMovie('', this);
}
}
}
movieClip 62 {
}
movieClip 63 {
}
movieClip 64 {
}
instance of movieClip 64 {
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
_root.gotoAndStop('6');
}
}
}
movieClip 67 {
}
movieClip 68 {
}
movieClip 69 {
frame 1 {
stop();
}
}
movieClip 72 {
}
button 80 {
on (press) {
startDrag('', false, 0, 0, 0, -100);
}
on (release, releaseOutside) {
stopDrag();
}
}
movieClip 81 {
}
movieClip 82 {
frame 1 {
smooth_audio = new Sound();
knob._y = -90;
}
frame 2 {
vol = knob._y * -1;
smooth_audio.setVolume(vol);
}
frame 3 {
gotoAndPlay(2);
}
}
movieClip 84 {
}
movieClip 88 {
frame 1 {
function camControl() {
rp.x = _x;
rp.y = _y;
var v5 = camH * (_yscale * 0.01);
var v6 = camW * (_xscale * 0.01);
var v3 = sH / v5;
var v4 = sW / v6;
_x2 = (v6 / 2) * v4;
_y2 = (v5 / 2) * v3;
_xscale2 = v4 * 100;
_yscale2 = v3 * 100;
_rotation2 = -_rotation;
_parent.filters = this.filters;
_parent.transform.colorTransform = this.transform.colorTransform;
}
function reset() {
_parent._xscale = 100;
_parent._yscale = 100;
_parent._x = 0;
_parent._y = 0;
_parent._rotation = 0;
_parent._visible = true;
}
function set_x2(value) {
var v2 = {'x': rp.x, 'y': rp.y};
_parent.localToGlobal(v2);
_parent._x += value - v2.x;
}
function get_x2() {
var v2 = {'x': rp.x, 'y': rp.y};
_parent.localToGlobal(v2);
return v2.x;
}
function set_y2(value) {
var v2 = {'x': rp.x, 'y': rp.y};
_parent.localToGlobal(v2);
_parent._y += value - v2.y;
}
function get_y2() {
var v2 = {'x': rp.x, 'y': rp.y};
_parent.localToGlobal(v2);
return v2.y;
}
function get_xscale2() {
return _parent._xscale;
}
function set_xscale2(value) {
setProperty2('_xscale', value);
}
function get_yscale2() {
return _parent._yscale;
}
function set_yscale2(value) {
setProperty2('_yscale', value);
}
function get_rotation2() {
return parent.rotation;
}
function set_rotation2(value) {
setProperty2('_rotation', value);
}
function setProperty2(prop, n) {
var v3 = {'x': rp.x, 'y': rp.y};
_parent.localToGlobal(v3);
_parent[prop] = n;
var v2 = {'x': rp.x, 'y': rp.y};
_parent.localToGlobal(v2);
_parent._x -= v2.x - v3.x;
_parent._y -= v2.y - v3.y;
}
if (_root.life == 0) {
_root.gotoAndStop('gameover');
}
addProperty('_x2', get_x2, set_x2);
addProperty('_y2', get_y2, set_y2);
addProperty('_xscale2', get_xscale2, set_xscale2);
addProperty('_yscale2', get_yscale2, set_yscale2);
addProperty('_rotation2', get_rotation2, set_rotation2);
var oldScaleMode = stage.scaleMode;
stage.scaleMode = 'exactFit';
var sW = Stage.width;
var sH = Stage.height;
stage.scaleMode = oldScaleMode;
var bounds_obj = this.getBounds(this);
var camH = Math.abs(bounds_obj.yMax - bounds_obj.yMin);
var camW = Math.abs(bounds_obj.xMax - bounds_obj.xMin);
var rp = {'x': this._x, 'y': this._y};
onEnterFrame = function () {
camControl();
};
this.onUnload = reset;
}
frame 1 {
stop();
}
frame 2 {
play();
}
frame 35 {
play();
}
}
instance vcam of movieClip 88 {
onClipEvent (enterFrame) {
_y = _y + (_root.player._y - _y - 40) / 2;
_x = _x + (_root.player._x - _x) / 3;
}
}
frame 6 {
stop();
}
movieClip 90 {
frame 45 {
_root.play();
}
}
frame 7 {
stop();
}
instance of movieClip 21 {
onClipEvent (enterFrame) {
_y = _y + (_root.vcam._y - _y) / 1;
_x = _x + (_root.vcam._x - _x) / 1;
}
}
movieClip 94 {
}
movieClip 95 {
}
movieClip 97 {
frame 1 {
_root.vcam.gotoAndPlay(2);
}
frame 41 {
stop();
}
}
movieClip 99 {
}
instance of movieClip 60 {
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
_root.vcam.gotoAndPlay(2);
_root.player._x = 520;
_root.player._y = 1720;
}
}
}
instance of movieClip 60 {
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
_root.vcam.gotoAndPlay(2);
_root.player._x = 410;
_root.player._y = 870;
}
}
}
instance player of movieClip 58 {
onClipEvent (load) {
var grav = 0;
var speed = 5;
var jumpHeight = 12;
var slow = 0.2;
var slowspd = speed / 1.5;
var setspeed = speed;
var scale = _xscale;
var ex = 3;
this.gotoAndStop(2);
}
onClipEvent (enterFrame) {
++grav;
_y = _y + grav;
while (_root.ground.hitTest(_x, _y, true)) {
_y = _y - 1;
grav = 0;
}
if (_root.water.hitTest(_x, _y, true)) {
if (grav > 0) {
grav *= slow;
}
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 {
this.gotoAndStop(2);
}
} else {
if (Key.isDown(37)) {
_x = _x - speed;
_xscale = -scale;
if (_root.ground.hitTest(_x, _y + 3, true)) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
} else {
if (_root.ground.hitTest(_x, _y + 3, true) && !Key.isDown(88) && !Key.isDown(90)) {
this.gotoAndStop(3);
}
}
}
if (Key.isDown(88) && !Key.isDown(38) && !Key.isDown(37) && !Key.isDown(39) && !Key.isDown(90)) {
this.gotoAndStop(5);
}
if (Key.isDown(90) && !Key.isDown(38) && !Key.isDown(37) && !Key.isDown(39) && !Key.isDown(88)) {
this.gotoAndStop(4);
}
if (Key.isDown(38) && _root.ground.hitTest(_x, _y + 3, true)) {
grav = -jumpHeight;
_y = _y - 4;
this.gotoAndStop(2);
}
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 movieClip 60 {
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
_root.vcam.gotoAndPlay(2);
_root.player._x = -580;
_root.player._y = 1870;
}
}
}
instance of movieClip 64 {
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
_root.play();
}
}
}
instance of movieClip 33 {
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
_root.score += 5;
loadMovie('', this);
}
}
}
instance of movieClip 33 {
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
_root.score += 5;
loadMovie('', this);
}
}
}
instance of movieClip 33 {
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
_root.score += 5;
loadMovie('', this);
}
}
}
instance of movieClip 33 {
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
_root.score += 5;
loadMovie('', this);
}
}
}
instance of movieClip 33 {
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
_root.score += 5;
loadMovie('', this);
}
}
}
instance of movieClip 33 {
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
_root.score += 5;
loadMovie('', this);
}
}
}
instance of movieClip 33 {
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
_root.score += 5;
loadMovie('', this);
}
}
}
instance of movieClip 33 {
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
_root.score += 5;
loadMovie('', this);
}
}
}
instance of movieClip 33 {
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
_root.score += 5;
loadMovie('', this);
}
}
}
instance of movieClip 33 {
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
_root.score += 5;
loadMovie('', this);
}
}
}
instance of movieClip 33 {
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
_root.score += 5;
loadMovie('', this);
}
}
}
instance of movieClip 33 {
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
_root.score += 5;
loadMovie('', this);
}
}
}
instance of movieClip 33 {
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
_root.score += 5;
loadMovie('', this);
}
}
}
instance of movieClip 33 {
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
_root.score += 5;
loadMovie('', this);
}
}
}
instance of movieClip 33 {
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
_root.score += 5;
loadMovie('', this);
}
}
}
instance of movieClip 33 {
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
_root.score += 5;
loadMovie('', this);
}
}
}
instance of movieClip 33 {
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
_root.score += 5;
loadMovie('', this);
}
}
}
instance of movieClip 33 {
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
_root.score += 5;
loadMovie('', this);
}
}
}
instance of movieClip 33 {
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
_root.score += 5;
loadMovie('', this);
}
}
}
instance of movieClip 33 {
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
_root.score += 5;
loadMovie('', this);
}
}
}
instance of movieClip 33 {
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
_root.score += 5;
loadMovie('', this);
}
}
}
instance of movieClip 33 {
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
_root.score += 5;
loadMovie('', this);
}
}
}
instance of movieClip 33 {
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
_root.score += 5;
loadMovie('', this);
}
}
}
instance of movieClip 33 {
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
_root.score += 5;
loadMovie('', this);
}
}
}
instance of movieClip 33 {
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
_root.score += 5;
loadMovie('', this);
}
}
}
instance of movieClip 33 {
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
_root.score += 5;
loadMovie('', this);
}
}
}
instance of movieClip 33 {
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
_root.score += 5;
loadMovie('', this);
}
}
}
instance of movieClip 33 {
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
_root.score += 5;
loadMovie('', this);
}
}
}
instance of movieClip 33 {
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
_root.score += 5;
loadMovie('', this);
}
}
}
instance of movieClip 33 {
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
_root.score += 5;
loadMovie('', this);
}
}
}
instance of movieClip 33 {
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
_root.score += 5;
loadMovie('', this);
}
}
}
movieClip 102 {
}
movieClip 103 {
}
movieClip 104 {
}
movieClip 106 {
}
movieClip 107 {
instance of movieClip 106 {
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
_root.player._x -= 8;
}
}
}
instance of movieClip 106 {
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
_root.player._x += 8;
}
}
}
}
movieClip 108 {
}
instance vcam of movieClip 88 {
onClipEvent (enterFrame) {
_y = _y + (_root.player._y - _y - 40) / 2;
_x = _x + (_root.player._x - _x) / 3;
}
}
movieClip 112 {
frame 1 {
stop();
}
frame 2 {
play();
}
frame 3 {
stop();
}
}
instance of movieClip 112 {
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
this.gotoAndPlay(2);
}
}
}
movieClip 114 {
frame 1 {
stop();
}
frame 2 {
play();
}
frame 3 {
stop();
}
}
instance of movieClip 114 {
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
this.gotoAndPlay(2);
}
}
}
frame 8 {
stop();
}
frame 9 {
stop();
}
instance of movieClip 21 {
onClipEvent (enterFrame) {
_y = _y + (_root.vcam._y - _y) / 1;
_x = _x + (_root.vcam._x - _x) / 1;
}
}
movieClip 120 {
}
instance of movieClip 33 {
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
_root.score += 5;
loadMovie('', this);
}
}
}
instance of movieClip 33 {
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
_root.score += 5;
loadMovie('', this);
}
}
}
instance of movieClip 33 {
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
_root.score += 5;
loadMovie('', this);
}
}
}
instance of movieClip 33 {
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
_root.score += 5;
loadMovie('', this);
}
}
}
instance of movieClip 33 {
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
_root.score += 5;
loadMovie('', this);
}
}
}
instance of movieClip 33 {
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
_root.score += 5;
loadMovie('', this);
}
}
}
instance of movieClip 33 {
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
_root.score += 5;
loadMovie('', this);
}
}
}
// unknown tag 88 length 107
instance of movieClip 33 {
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
_root.score += 5;
loadMovie('', this);
}
}
}
instance of movieClip 33 {
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
_root.score += 5;
loadMovie('', this);
}
}
}
instance of movieClip 33 {
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
_root.score += 5;
loadMovie('', this);
}
}
}
instance of movieClip 33 {
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
_root.score += 5;
loadMovie('', this);
}
}
}
instance of movieClip 33 {
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
_root.score += 5;
loadMovie('', this);
}
}
}
instance of movieClip 33 {
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
_root.score += 5;
loadMovie('', this);
}
}
}
instance of movieClip 33 {
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
_root.score += 5;
loadMovie('', this);
}
}
}
instance of movieClip 33 {
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
_root.score += 5;
loadMovie('', this);
}
}
}
instance of movieClip 33 {
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
_root.score += 5;
loadMovie('', this);
}
}
}
instance of movieClip 33 {
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
_root.score += 5;
loadMovie('', this);
}
}
}
movieClip 147 {
}
movieClip 149 {
}
movieClip 151 {
}
movieClip 154 {
frame 1 {
stop();
}
frame 2 {
stop();
}
frame 3 {
stop();
}
frame 4 {
stop();
}
}
instance player2 of movieClip 154 {
onClipEvent (load) {
var grav = 0;
var speed = 5;
var jumpHeight = 12;
var slow = 0.2;
var slowspd = speed / 1.5;
var setspeed = speed;
var scale = _xscale;
var ex = 3;
this.gotoAndStop(2);
}
onClipEvent (enterFrame) {
++grav;
_y = _y + grav;
while (_root.ground.hitTest(_x, _y, true)) {
_y = _y - 1;
grav = 0;
}
if (_root.water.hitTest(_x, _y, true)) {
if (grav > 0) {
grav *= slow;
}
speed = slowspd;
} else {
speed = setspeed;
}
if (Key.isDown(68)) {
_x = _x + speed;
_xscale = scale;
if (_root.ground.hitTest(_x, _y + 3, true)) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
} else {
if (Key.isDown(65)) {
_x = _x - speed;
_xscale = -scale;
if (_root.ground.hitTest(_x, _y + 3, true)) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
} else {
if (_root.ground.hitTest(_x, _y + 3, true) && !Key.isDown(88) && !Key.isDown(90)) {
this.gotoAndStop(3);
}
}
}
if (Key.isDown(88) && !Key.isDown(87) && !Key.isDown(65) && !Key.isDown(68) && !Key.isDown(90)) {
this.gotoAndStop(5);
}
if (Key.isDown(90) && !Key.isDown(87) && !Key.isDown(65) && !Key.isDown(68) && !Key.isDown(88)) {
this.gotoAndStop(4);
}
if (Key.isDown(87) && _root.ground.hitTest(_x, _y + 3, true)) {
grav = -jumpHeight;
_y = _y - 4;
this.gotoAndStop(2);
}
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;
}
}
}
movieClip 157 {
}
instance of movieClip 157 {
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
_root.player._x = 900;
_root.player._y = 900;
}
}
}
instance of movieClip 60 {
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
_root.vcam.gotoAndPlay(2);
_root.player._x = 1480;
_root.player._y = 1100;
}
}
}
instance player of movieClip 58 {
onClipEvent (load) {
var grav = 0;
var speed = 5;
var jumpHeight = 12;
var slow = 0.2;
var slowspd = speed / 1.5;
var setspeed = speed;
var scale = _xscale;
var ex = 3;
this.gotoAndStop(2);
}
onClipEvent (enterFrame) {
++grav;
_y = _y + grav;
while (_root.ground.hitTest(_x, _y, true)) {
_y = _y - 1;
grav = 0;
}
if (_root.water.hitTest(_x, _y, true)) {
if (grav > 0) {
grav *= slow;
}
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 {
this.gotoAndStop(2);
}
} else {
if (Key.isDown(37)) {
_x = _x - speed;
_xscale = -scale;
if (_root.ground.hitTest(_x, _y + 3, true)) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
} else {
if (_root.ground.hitTest(_x, _y + 3, true) && !Key.isDown(88) && !Key.isDown(90)) {
this.gotoAndStop(3);
}
}
}
if (Key.isDown(88) && !Key.isDown(38) && !Key.isDown(37) && !Key.isDown(39) && !Key.isDown(90)) {
this.gotoAndStop(5);
}
if (Key.isDown(90) && !Key.isDown(38) && !Key.isDown(37) && !Key.isDown(39) && !Key.isDown(88)) {
this.gotoAndStop(4);
}
if (Key.isDown(38) && _root.ground.hitTest(_x, _y + 3, true)) {
grav = -jumpHeight;
_y = _y - 4;
this.gotoAndStop(2);
}
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 movieClip 64 {
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
_root.play(world2);
}
}
}
instance of movieClip 33 {
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
_root.score += 5;
loadMovie('', this);
}
}
}
instance of movieClip 33 {
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
_root.score += 5;
loadMovie('', this);
}
}
}
instance of movieClip 33 {
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
_root.score += 5;
loadMovie('', this);
}
}
}
instance of movieClip 33 {
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
_root.score += 5;
loadMovie('', this);
}
}
}
instance of movieClip 33 {
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
_root.score += 5;
loadMovie('', this);
}
}
}
instance of movieClip 33 {
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
_root.score += 5;
loadMovie('', this);
}
}
}
instance of movieClip 33 {
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
_root.score += 5;
loadMovie('', this);
}
}
}
instance of movieClip 33 {
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
_root.score += 5;
loadMovie('', this);
}
}
}
instance of movieClip 33 {
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
_root.score += 5;
loadMovie('', this);
}
}
}
instance of movieClip 33 {
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
_root.score += 5;
loadMovie('', this);
}
}
}
instance of movieClip 33 {
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
_root.score += 5;
loadMovie('', this);
}
}
}
instance of movieClip 33 {
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
_root.score += 5;
loadMovie('', this);
}
}
}
instance of movieClip 33 {
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
_root.score += 5;
loadMovie('', this);
}
}
}
instance of movieClip 33 {
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
_root.score += 5;
loadMovie('', this);
}
}
}
instance of movieClip 33 {
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
_root.score += 5;
loadMovie('', this);
}
}
}
instance of movieClip 33 {
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
_root.score += 5;
loadMovie('', this);
}
}
}
instance of movieClip 33 {
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
_root.score += 5;
loadMovie('', this);
}
}
}
instance of movieClip 33 {
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
_root.score += 5;
loadMovie('', this);
}
}
}
instance of movieClip 33 {
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
_root.score += 5;
loadMovie('', this);
}
}
}
instance of movieClip 33 {
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
_root.score += 5;
loadMovie('', this);
}
}
}
instance of movieClip 33 {
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
_root.score += 5;
loadMovie('', this);
}
}
}
instance of movieClip 33 {
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
_root.score += 5;
loadMovie('', this);
}
}
}
instance of movieClip 33 {
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
_root.score += 5;
loadMovie('', this);
}
}
}
instance of movieClip 33 {
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
_root.score += 5;
loadMovie('', this);
}
}
}
instance of movieClip 33 {
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
_root.score += 5;
loadMovie('', this);
}
}
}
instance of movieClip 33 {
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
_root.score += 5;
loadMovie('', this);
}
}
}
instance of movieClip 33 {
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
_root.score += 5;
loadMovie('', this);
}
}
}
instance of movieClip 33 {
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
_root.score += 5;
loadMovie('', this);
}
}
}
instance of movieClip 33 {
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
_root.score += 5;
loadMovie('', this);
}
}
}
instance of movieClip 33 {
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
_root.score += 5;
loadMovie('', this);
}
}
}
movieClip 160 {
}
movieClip 161 {
}
movieClip 165 {
}
movieClip 166 {
}
movieClip 168 {
}
movieClip 169 {
}
movieClip 171 {
frame 1 {
stop();
}
frame 529 {
stop();
}
}
movieClip 172 {
}
movieClip 175 {
}
movieClip 176 {
}
movieClip 177 {
}
movieClip 178 {
}
movieClip 180 {
}
instance of movieClip 180 {
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
_root.vcam.gotoAndPlay(2);
_root.player._x = 670;
_root.player._y = 800;
}
}
}
instance vcam of movieClip 88 {
onClipEvent (enterFrame) {
_y = _y + (_root.player._y - _y - 40) / 2;
_x = _x + (_root.player._x - _x) / 3;
}
}
movieClip 182 {
frame 1 {
stop();
}
frame 2 {
play();
}
frame 3 {
stop();
}
}
instance of movieClip 182 {
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
this.gotoAndPlay(2);
}
}
}
movieClip 184 {
}
movieClip 187 {
frame 1 {
stop();
}
frame 2 {
_root.ground.rockslide.play();
}
frame 3 {
stop();
}
}
instance knap of movieClip 187 {
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
this.gotoAndPlay(2);
}
}
}
movieClip 189 {
frame 1 {
stop();
}
frame 2 {
play();
}
frame 3 {
stop();
}
}
instance of movieClip 189 {
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
this.gotoAndPlay(2);
}
}
}
frame 10 {
stop();
}