Frame 1
stop();
chuff = new Sound(this);
chuff.attachSound("chuff");
dink = new Sound(this);
dink.attachSound("dink");
DIP = new Sound(this);
DIP.attachSound("DIP");
onEnterFrame = function () {
if (_currentframe == 1) {
if (_root.getBytesLoaded() == _root.getBytesTotal()) {
_root.play();
}
}
};
Frame 2
BESTDISTANCE = 0;
LEFT = 65;
RIGHT = 68;
DOWN = 83;
UP = 87;
stop();
FRAME = _currentframe;
if (_currentframe == FRAME) {
if (Key.isDown(13)) {
play();
}
}
Frame 3
stop();
FRAME = _currentframe;
onEnterFrame = function () {
if (_currentframe == FRAME) {
if (Key.isDown(13)) {
play();
}
}
};
Frame 4
stop();
var savefile = SharedObject.getLocal("MIGHTY-TOWER");
if (savefile.data.BESTDISTANCE == undefined) {
} else {
_root.BESTDISTANCE = savefile.data.BESTDISTANCE;
}
Instance of Symbol 55 MovieClip in Frame 4
onClipEvent (enterFrame) {
_y = _root.cam._y;
}
Instance of Symbol 58 MovieClip in Frame 4
onClipEvent (enterFrame) {
_y = _root.cam._y;
if ((_root.DISTANCE < _root.BESTDISTANCE) && (_currentframe < 5)) {
this.gotoAndPlay(1);
}
}
Instance of Symbol 65 MovieClip in Frame 4
onClipEvent (enterFrame) {
_y = (_y + ((_root.cam._y - OLDY) * 0.5));
OLDY = _root.cam._y;
if (_y > (_root.cam._y + _root.cam._height)) {
_y = (_y - (_root.cam._height * 2));
}
}
Instance of Symbol 65 MovieClip in Frame 4
onClipEvent (enterFrame) {
_y = (_y + ((_root.cam._y - OLDY) * 0.5));
OLDY = _root.cam._y;
if (_y > (_root.cam._y + _root.cam._height)) {
_y = (_y - (_root.cam._height * 2));
}
}
Instance of Symbol 65 MovieClip in Frame 4
onClipEvent (enterFrame) {
_y = (_y + ((_root.cam._y - OLDY) * 0.5));
OLDY = _root.cam._y;
if (_y > (_root.cam._y + _root.cam._height)) {
_y = (_y - (_root.cam._height * 2));
}
}
Instance of Symbol 65 MovieClip in Frame 4
onClipEvent (enterFrame) {
_y = (_y + ((_root.cam._y - OLDY) * 0.5));
OLDY = _root.cam._y;
if (_y > (_root.cam._y + _root.cam._height)) {
_y = (_y - (_root.cam._height * 2));
}
}
Instance of Symbol 65 MovieClip in Frame 4
onClipEvent (enterFrame) {
_y = (_y + ((_root.cam._y - OLDY) * 0.5));
OLDY = _root.cam._y;
if (_y > (_root.cam._y + _root.cam._height)) {
_y = (_y - (_root.cam._height * 2));
}
}
Instance of Symbol 65 MovieClip in Frame 4
onClipEvent (enterFrame) {
_y = (_y + ((_root.cam._y - OLDY) * 0.5));
OLDY = _root.cam._y;
if (_y > (_root.cam._y + _root.cam._height)) {
_y = (_y - (_root.cam._height * 2));
}
}
Instance of Symbol 65 MovieClip in Frame 4
onClipEvent (enterFrame) {
_y = (_y + ((_root.cam._y - OLDY) * 0.5));
OLDY = _root.cam._y;
if (_y > (_root.cam._y + _root.cam._height)) {
_y = (_y - (_root.cam._height * 2));
}
}
Instance of Symbol 65 MovieClip in Frame 4
onClipEvent (enterFrame) {
_y = (_y + ((_root.cam._y - OLDY) * 0.5));
OLDY = _root.cam._y;
if (_y > (_root.cam._y + _root.cam._height)) {
_y = (_y - (_root.cam._height * 2));
}
}
Instance of Symbol 65 MovieClip in Frame 4
onClipEvent (enterFrame) {
_y = (_y + ((_root.cam._y - OLDY) * 0.5));
OLDY = _root.cam._y;
if (_y > (_root.cam._y + _root.cam._height)) {
_y = (_y - (_root.cam._height * 2));
}
}
Instance of Symbol 65 MovieClip in Frame 4
onClipEvent (enterFrame) {
_y = (_y + ((_root.cam._y - OLDY) * 0.5));
OLDY = _root.cam._y;
if (_y > (_root.cam._y + _root.cam._height)) {
_y = (_y - (_root.cam._height * 2));
}
}
Instance of Symbol 65 MovieClip in Frame 4
onClipEvent (enterFrame) {
_y = (_y + ((_root.cam._y - OLDY) * 0.5));
OLDY = _root.cam._y;
if (_y > (_root.cam._y + _root.cam._height)) {
_y = (_y - (_root.cam._height * 2));
}
}
Instance of Symbol 81 MovieClip "cam" in Frame 4
onClipEvent (load) {
speed = 0;
}
onClipEvent (enterFrame) {
_root._x = -_x;
_root._y = -_y;
if (_root.guy._y < 0) {
_y = (_y - speed);
speed = speed + 0.0025;
if (speed > 3.2) {
speed = 3.2;
}
}
}
Instance of Symbol 72 MovieClip "guy" in Frame 4
onClipEvent (load) {
speed = 0;
fallspeed = 0;
Y = _y;
}
onClipEvent (enterFrame) {
_root.DISTANCE = Math.round(((-_y) + Y) / 20);
if (_root.DISTANCE > _root.BESTDISTANCE) {
_root.BESTDISTANCE = _root.DISTANCE;
}
_x = (_x + speed);
_y = (_y + fallspeed);
if (!_root.ground.hitTest(_x, _y + 10, true)) {
fallspeed++;
if (_root.ground.hitTest(_x - 10, _y, true)) {
if (fallspeed > 0) {
fallspeed = fallspeed - 0.5;
}
if (Key.isDown(38) || (Key.isDown(_root.UP))) {
fallspeed = -10;
speed = 5;
if (!_root.MUTE) {
_root.chuff.start(0, 1);
}
}
}
if (_root.ground.hitTest(_x + 10, _y, true)) {
if (fallspeed > 0) {
fallspeed = fallspeed - 0.5;
}
if (Key.isDown(38) || (Key.isDown(_root.UP))) {
fallspeed = -10;
speed = -5;
if (!_root.MUTE) {
_root.chuff.start(0, 1);
}
}
}
if (Key.isDown(37) || (Key.isDown(_root.LEFT))) {
speed = speed - ((speed + 9) / 15);
}
if (Key.isDown(39) || (Key.isDown(_root.RIGHT))) {
speed = speed - ((speed - 9) / 15);
}
} else {
if (fallspeed > 0) {
if (!_root.MUTE) {
_root.dink.start(0, 1);
}
}
fallspeed = 0;
if (Key.isDown(38) || (Key.isDown(_root.UP))) {
UP = true;
fallspeed = -10;
if (!_root.MUTE) {
_root.chuff.start(0, 1);
}
}
if (Key.isDown(37) || (Key.isDown(_root.LEFT))) {
speed = speed - ((speed + 15) / 5);
}
if (Key.isDown(39) || (Key.isDown(_root.RIGHT))) {
speed = speed - ((speed - 15) / 5);
}
speed = speed * 0.8;
}
while (_root.ground.hitTest(_x, _y + 8, true)) {
_y = (_y-1);
}
while (_root.ground.hitTest(_x, _y - 12, true)) {
_y = (_y+1);
}
while (_root.ground.hitTest(_x - 11, _y, true)) {
_x = (_x+1);
}
while (_root.ground.hitTest(_x + 9, _y, true)) {
_x = (_x-1);
}
if (!this.hitTest(_root.cam)) {
this.play();
}
if ((_root.cam._y + (_root.cam._height / 2)) > _y) {
_root.cam._y = _y - (_root.cam._height / 2);
}
}
Instance of Symbol 88 MovieClip in Frame 4
onClipEvent (enterFrame) {
_y = (_y - ((_root.cam._y - OLDY) * 0.5));
OLDY = _root.cam._y;
if (!_root.cam.hitTest(this)) {
this.swapDepths(999);
this.removeMovieClip();
}
}
Instance of Symbol 90 MovieClip "music" in Frame 4
onClipEvent (load) {
if (_root.MUTE) {
gotoAndPlay (3);
}
}
Frame 5
savefile.data.BESTDISTANCE = _root.BESTDISTANCE;
gotoAndStop (4);
Symbol 24 MovieClip Frame 1
_visible = false;
Symbol 24 MovieClip Frame 123
_visible = true;
DIP = new Sound(this);
DIP.attachSound("DIP");
myText = "A column stretches to incredible heights. \n \n If just one man could reach the top, \n \n then they will all be free.";
c = 1;
speedchecker = 1;
stop();
FRAME = _currentframe;
onEnterFrame = function () {
if ((c < myText.length) && (speedchecker >= c)) {
str.htmlText = myText.substr(0, c);
c++;
if ((c / 3) == Math.round(c / 3)) {
DIP.start(0, 1);
}
if (c == 43) {
speedchecker = speedchecker - 90;
}
if (c == 84) {
speedchecker = speedchecker - 70;
}
}
speedchecker++;
if (c >= myText.length) {
play();
_root.anvil.gotoAndStop(1);
}
};
Symbol 24 MovieClip Frame 246
_root.play();
Symbol 26 Button
on (release) {
_root.play();
}
Symbol 30 Button
on (release) {
getURL ("http://www.Tombrien.co.uk", "_blank", "GET");
}
Symbol 34 Button
on (release) {
getURL ("http://www.newgrounds.com/audio/listen/88336", "_blank", "GET");
}
Symbol 35 Button
on (release) {
getURL ("http://www.newgrounds.com/audio/listen/173680", "_blank", "GET");
}
Symbol 36 MovieClip Frame 159
stop();
Symbol 46 MovieClip Frame 1
_root.MUTE = false;
Symbol 46 MovieClip Frame 2
stop();
Symbol 46 MovieClip Frame 3
_root.MUTE = true;
Symbol 46 MovieClip Frame 4
stop();
Symbol 48 Button
on (release) {
_root.music.play();
}
Symbol 52 MovieClip Frame 14
stop();
Symbol 58 MovieClip Frame 3
if (_root.MUTE) {
gotoAndPlay ("nosound");
}
Symbol 58 MovieClip Frame 22
stop();
Symbol 58 MovieClip Frame 23
gotoAndPlay (1);
Symbol 58 MovieClip Frame 43
stop();
Symbol 63 MovieClip Frame 1
onEnterFrame = function () {
if (_y > (_root.cam._y + (_height * 3))) {
_y = (_y - 737.6);
}
};
Symbol 72 MovieClip Frame 1
stop();
Instance of Symbol 68 MovieClip in Symbol 72 MovieClip Frame 1
onClipEvent (enterFrame) {
_rotation = ((-Math.atan2(_parent.speed, _parent.fallspeed)) / (Math.PI/180));
}
Instance of Symbol 71 MovieClip in Symbol 72 MovieClip Frame 1
onClipEvent (enterFrame) {
_rotation = (_parent.speed * 10);
}
Symbol 72 MovieClip Frame 2
_root.play();
Symbol 73 MovieClip Frame 1
_visible = false;
Instance of Symbol 72 MovieClip in Symbol 73 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.guy._y < (_y + _parent._y)) {
_parent._y = _parent._y + _y;
}
}
Instance of Symbol 72 MovieClip in Symbol 75 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.guy._y < (_y + _parent._y)) {
_parent._y = _parent._y + _y;
}
}
Symbol 90 MovieClip Frame 2
stop();
Symbol 90 MovieClip Frame 3
_root.MUTE = true;
Symbol 90 MovieClip Frame 4
stop();
Symbol 90 MovieClip Frame 5
_root.MUTE = false;