Frame 1
stop();
Frame 2
for (var i in _root) {
removeMovieClip(_root[i]);
}
_quality = "MEDIUM";
_global.funlock = true;
gameSong = new Sound();
gameSong.attachSound("dofa");
deathSong = new Sound();
deathSong.attachSound("moon");
death = new Sound();
death.attachSound("death");
menuding = new Sound();
menuding.attachSound("menu");
bloop = new Sound();
bloop.attachSound("bloop");
tutsong = new Sound();
tutsong.attachSound("ab2");
_root.gameSong.stop();
Instance of Symbol 53 MovieClip in Frame 2
onClipEvent (enterFrame) {
if (Key.isDown(13) and (noentdbl != true)) {
noentdbl = true;
_root.gotoAndPlay(4);
}
if (!Key.isDown(13)) {
noentdbl = false;
}
}
Frame 3
_global.difficulty = 0;
stop();
Instance of Symbol 68 MovieClip in Frame 3
on (release) {
getURL ("http://www.thegamehomepage.com/", "_blank");
}
Frame 4
for (var i in _root) {
removeMovieClip(_root[i]);
}
_quality = "MEDIUM";
gameSong = new Sound();
gameSong.attachSound("dofa");
_root.gameSong.stop();
Frame 5
stop();
Instance of Symbol 70 MovieClip in Frame 5
onClipEvent (enterFrame) {
_y = _root.vcam._y;
}
Instance of Symbol 112 MovieClip "vcam" in Frame 5
onClipEvent (enterFrame) {
swapDepths(_root.char.getNextHighestDepth());
}
Instance of Symbol 114 MovieClip in Frame 5
onClipEvent (enterFrame) {
_alpha = ((0 + (_root.char.climb / 2)) - 100);
_y = _root.char._y;
}
Instance of Symbol 114 MovieClip in Frame 5
onClipEvent (enterFrame) {
_alpha = ((0 + (_root.char.climb / 2)) - 200);
_y = _root.char._y;
}
Instance of Symbol 114 MovieClip in Frame 5
onClipEvent (enterFrame) {
_alpha = ((0 + (_root.char.climb / 2)) - 300);
_y = _root.char._y;
}
Instance of Symbol 114 MovieClip in Frame 5
onClipEvent (enterFrame) {
_alpha = ((0 + (_root.char.climb / 2)) - 400);
_y = _root.char._y;
}
Instance of Symbol 120 MovieClip "dscreen" in Frame 5
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
if (_root.char.dscreen == true) {
_visible = true;
}
_y = _root.vcam._y;
}
Instance of Symbol 122 MovieClip "water" in Frame 5
onClipEvent (load) {
starttimer = 0;
}
onClipEvent (enterFrame) {
if (_global.gpause != true) {
if (_y > (_root.char._y - 50)) {
if (_global.difficulty == 3) {
if (starttimer > 100) {
_y = (_y - 1.5);
} else {
starttimer++;
}
} else if (_global.difficulty == 2) {
if (starttimer > 100) {
_y = (_y - 1.2);
} else {
starttimer++;
}
} else if (_global.difficulty == 1) {
if (starttimer > 100) {
_y = (_y - 0.7);
} else {
starttimer++;
}
} else {
_y = (_y - 0.5);
}
}
if (this.hitTest(_root.char._x, _root.char._y + (_root.char._height / 4), true)) {
_root.char.dead = true;
}
if (_root.char._y > (_root.gd._y - _root.gd._height)) {
lavay = _root.char._y;
}
if (_root.char._y <= (_root.gd._y - _root.gd._height)) {
lavay = _root.gd._y - _root.gd._height;
}
if ((_global.difficulty == 2) or (_global.difficulty == 3)) {
if (starttimer > 100) {
if (_y > (lavay + 550)) {
_y = (lavay + 550);
}
}
} else if (_global.difficulty == 1) {
if (starttimer > 100) {
if (_y > (lavay + 600)) {
_y = (lavay + 600);
}
}
} else if (_y > (lavay + 800)) {
_y = (lavay + 800);
}
}
}
Instance of Symbol 129 MovieClip in Frame 5
onClipEvent (enterFrame) {
_y = ((_root.vcam._y - (_root.vcam._height / 2)) + _height);
}
Instance of Symbol 143 MovieClip "char" in Frame 5
onClipEvent (load) {
hmov = 0;
highest = 0;
vmov = 0;
vmovb = 0;
dir = 1;
speed = 8;
wjing = false;
wallspeed = 0;
termv = 15;
offset = 1;
dtime = 50;
dbase = 30;
drand = 20;
_global.difficulty = 0;
if (_global.difficulty == 1) {
dbase = 21;
}
if (_global.difficulty == 2) {
dbase = 12;
}
if (_global.difficulty == 3) {
dbase = 7;
drand = 15;
}
deathscroll = 0;
drot = 0;
dcnt = 0;
blspeed = 1;
jump = 60;
kabcnt = 0;
deathcnt = 0;
dboom = 30;
_global.dubs = 1;
_root.gameSong.start(0, 1000000);
_root.gameSong.setVolume(50);
_global.gpause = false;
}
onClipEvent (enterFrame) {
if (_global.difficulty == 1) {
dbase = 21;
}
if (_global.difficulty == 2) {
dbase = 12;
}
if (_global.difficulty == 3) {
dbase = 7;
drand = 15;
}
if (_global.gpause != true) {
if (dead == true) {
deathcnt++;
if (deathcnt > 70) {
_y = 200;
dscreen = true;
_root.water._visible = false;
_root.vcam._y = 200 + deathscroll;
if ((_root.gd._y - _root.gd._height) < (50 + deathscroll)) {
deathscroll = deathscroll - 0.5;
}
if (shrunk != true) {
shrunk = true;
_root.gd._height = _root.gd._height * (200 / _root.gd._width);
_root.gd._width = 200;
_root.gd._alpha = 100;
}
_root.gd._x = _root.gd._width / 2;
_root.falling._visible = false;
_root.filler._visible = false;
}
}
_root.vcam.ccc = -(_root.gd._y - _root.gd._height);
if (dead == true) {
if (highest < 200) {
_root.dscreen.dood.gotoAndStop(2);
}
if ((highest >= 200) and (highest < 400)) {
_root.dscreen.dood.gotoAndStop(3);
}
if (highest >= 400) {
_root.dscreen.dood.gotoAndStop(1);
}
if (popin != true) {
popin = true;
gotoAndStop (7);
}
if (popnow == true) {
if (dplonce != true) {
dplonce = true;
_root.gameSong.stop();
_root.death.start(0, 0);
_root.death.setVolume(50);
}
while (kabcnt < dboom) {
_root.attachMovie("explode", "ex" + _global.dubs, _global.dubs);
_root["ex" + _global.dubs]._x = _x;
_root["ex" + _global.dubs]._y = _y + (_height / 2);
_root["ex" + _global.dubs].colour = "0x" + random(999999);
drot = drot + ((360 / dboom) * 2);
_root["ex" + _global.dubs]._rotation = drot;
_global.dubs++;
kabcnt++;
}
}
}
if (dead != true) {
if (Key.isDown(37)) {
_rotation = -10;
}
if (Key.isDown(39)) {
_rotation = 10;
}
if ((((!Key.isDown(39)) and (!Key.isDown(37))) or (Key.isDown(39) and Key.isDown(37))) or (wallj == true)) {
_rotation = 0;
}
}
dcnt++;
if ((dcnt >= dtime) and (dead != true)) {
dcnt = 0;
dtime = dbase + random(drand + 1);
cho = random(2);
if (_global.difficulty == 3) {
cho = random(10);
if (cho == 0) {
cho = 1;
} else {
cho = 0;
}
}
if (cho == 0) {
_root.falling.attachMovie("block", "bl" + _global.dubs, _global.dubs);
} else {
_root.falling.attachMovie("blockbig", "bl" + _global.dubs, _global.dubs);
}
_root.falling["bl" + _global.dubs]._x = (random(500) + 25) - _root.falling._x;
fa = (_y - 400) - _root.falling._y;
fb = ((_root.gd._y - _root.gd._height) - 700) - _root.falling._y;
if (fa < fb) {
fy = fa;
} else {
fy = fb;
}
_root.falling["bl" + _global.dubs]._y = fy;
_root.falling["bl" + _global.dubs].bcod.colour = "0x" + random(999999);
_root.falling["bl" + _global.dubs].dspeed = (blspeed + random(3)) - 1;
_root.falling["bl" + _global.dubs].nums = _global.dubs;
_global.dubs++;
}
if (dead != true) {
_root.vcam._y = _y - 25;
_x = (_x + hmov);
_y = (_y + vmov);
_y = (_y + vmovb);
if (_x < 0) {
_x = 550;
}
if (_x > 550) {
_x = 0;
}
hmov = hmov * 0.8;
hmov = int(hmov * 10) / 10;
vmovb = vmovb * 0.9;
vmovb = int(vmovb * 10) / 10;
if ((!_root.gd.hitTest(_x, _y + (_height / 2), true)) and (!_root.falling.hitTest(_x, _y + (_height / 2), true))) {
vmov = vmov + 1.5;
}
if (hmov > speed) {
hmov = speed;
}
if (hmov < (-speed)) {
hmov = -speed;
}
if (vmov > termv) {
vmov = termv;
}
while (_root.gd.hitTest(_x, _y + (((_height / 2) - offset) - 1), true)) {
_y = (_y-1);
vmov = 0;
}
while (_root.falling.hitTest(_x, _y + (((_height / 2) - offset) - 1), true)) {
_y = (_y-1);
}
while (_root.gd.hitTest(_x, _y - ((_height / 2) - offset), true)) {
_y = (_y+1);
vmov = blspeed + 2;
}
while (_root.falling.hitTest(_x, _y - ((_height / 2) - offset), true)) {
_y = (_y+1);
vmov = blspeed + 1;
}
while (_root.gd.hitTest(_x + (_width / 2), _y, true)) {
_x = (_x-1);
}
while (_root.gd.hitTest(_x - ((_width / 2) - offset), _y, true)) {
_x = (_x+1);
}
while (_root.falling.hitTest(_x + (_width / 2), _y, true)) {
_x = (_x-1);
}
while (_root.falling.hitTest(_x - ((_width / 2) - offset), _y, true)) {
_x = (_x+1);
}
}
if (((((_root.gd.hitTest(_x, _y + (_height / 2), true) or _root.gd.hitTest((_x - (_width / 2)) + 5, _y + (_height / 2), true)) or _root.gd.hitTest((_x + (_width / 2)) - 5, _y + (_height / 2), true)) or _root.falling.hitTest(_x, (_y + (_height / 2)) + 7, true)) or _root.falling.hitTest((_x - (_width / 2)) + 5, (_y + (_height / 2)) + 7, true)) or _root.falling.hitTest((_x + (_width / 2)) - 5, (_y + (_height / 2)) + 7, true)) {
airborne = false;
} else {
airborne = true;
}
climb = int(((-_y) + 306.9) / 10);
if (climb > highest) {
highest = climb;
_root.score = highest;
}
if ((highest > 150) and (highest < 350)) {
_global.difficulty = 1;
}
if (highest >= 350) {
_global.difficulty = 2;
}
_root.vcam.aaa = highest + "ft";
_root.vcam.bbb = climb + "ft";
if (dead != true) {
if ((Key.isDown(38) and (airborne == false)) and (nodblj == true)) {
_y = (_y + 1.5);
hmov = hmov * 0.5;
if (dir == 1) {
gotoAndStop (3);
}
if (dir == -1) {
gotoAndStop (4);
}
}
}
if (!Key.isDown(38)) {
nodblj = true;
}
if (((_root.gd.hitTest((_x + (_width / 2)) + 1, _y, true) or _root.gd.hitTest((_x - (_width / 2)) - 1, _y, true)) or _root.falling.hitTest((_x + (_width / 2)) + 1, _y, true)) or _root.falling.hitTest((_x - (_width / 2)) - 1, _y, true)) {
if ((Key.isDown(37) and (vmov > 0)) or (Key.isDown(39) and (vmov > 0))) {
wallj = true;
if ((dead != true) and (wjing != true)) {
if ((dir == 1) and (airborne == true)) {
gotoAndStop (5);
}
if ((dir == -1) and (airborne == true)) {
gotoAndStop (6);
}
}
if (_root.gd.hitTest((_x + (_width / 2)) + 1, _y, true)) {
wjdir = -1;
}
if (_root.falling.hitTest((_x + (_width / 2)) + 1, _y, true)) {
wjdir = -1;
}
if (_root.gd.hitTest((_x - (_width / 2)) - 1, _y, true)) {
wjdir = 1;
}
if (_root.falling.hitTest((_x - (_width / 2)) - 1, _y, true)) {
wjdir = 1;
}
if (vmov > wallspeed) {
vmov = vmov * 0.5;
}
} else {
wallj = false;
}
} else {
wallj = false;
}
if (((this._currentframe == 5) and (wallj == false)) or ((this._currentframe == 6) and (wallj == false))) {
gotoAndStop (1);
}
if ((((Key.isDown(38) and (wallj == true)) and (airborne == true)) and (nodblj == true)) and (wjing != true)) {
nodblj = false;
wjing = true;
if (Key.isDown(39) or Key.isDown(37)) {
if (wjdir == 1) {
gotoAndStop (8);
} else {
gotoAndStop (9);
}
}
}
if (Key.isDown(37)) {
hmov = hmov - 2.25;
dir = -1;
}
if (Key.isDown(39)) {
hmov = hmov + 2.25;
dir = 1;
}
}
if (Key.isDown(80) and (nodblpau != true)) {
nodblpau = true;
if (_global.gpause != true) {
_global.gpause = true;
_root.vcam.paussc._visible = true;
} else {
_global.gpause = false;
_root.vcam.paussc._visible = false;
}
}
if (!Key.isDown(80)) {
nodblpau = false;
}
}
Frame 6
for (var i in _root) {
removeMovieClip(_root[i]);
}
_quality = "MEDIUM";
gameSong = new Sound();
gameSong.attachSound("dofa");
_root.gameSong.stop();
Frame 7
stop();
Instance of Symbol 70 MovieClip in Frame 7
onClipEvent (enterFrame) {
_y = _root.vcam._y;
}
Instance of Symbol 112 MovieClip "vcam" in Frame 7
onClipEvent (enterFrame) {
swapDepths(_root.char.getNextHighestDepth());
}
Instance of Symbol 114 MovieClip in Frame 7
onClipEvent (enterFrame) {
_alpha = ((0 + (_root.char.climb / 2)) - 100);
_y = _root.char._y;
}
Instance of Symbol 114 MovieClip in Frame 7
onClipEvent (enterFrame) {
_alpha = ((0 + (_root.char.climb / 2)) - 200);
_y = _root.char._y;
}
Instance of Symbol 114 MovieClip in Frame 7
onClipEvent (enterFrame) {
_alpha = ((0 + (_root.char.climb / 2)) - 300);
_y = _root.char._y;
}
Instance of Symbol 114 MovieClip in Frame 7
onClipEvent (enterFrame) {
_alpha = ((0 + (_root.char.climb / 2)) - 400);
_y = _root.char._y;
}
Instance of Symbol 120 MovieClip in Frame 7
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
if (_root.char.dscreen == true) {
_visible = true;
}
_y = _root.vcam._y;
}
Instance of Symbol 122 MovieClip "water" in Frame 7
onClipEvent (load) {
alal = 0;
}
onClipEvent (enterFrame) {
if (_global.gpause != true) {
if (gotime == true) {
_y = (_y - 0.35);
}
if (this.hitTest(_root.char._x, _root.char._y + (_root.char._height / 4), true)) {
_root.char.dead = true;
}
}
}
Instance of Symbol 154 MovieClip in Frame 7
onClipEvent (enterFrame) {
_y = (_root.vcam._y - 80);
}
Instance of Symbol 143 MovieClip "char" in Frame 7
onClipEvent (load) {
hmov = 0;
highest = 0;
vmov = 0;
dir = 1;
speed = 8;
termv = 15;
offset = 1;
dtime = 50;
dbase = 30;
drand = 20;
deathscroll = 0;
drot = 0;
dcnt = 0;
blspeed = 5;
jump = 19.5;
kabcnt = 0;
deathcnt = 0;
dboom = 30;
wjing = false;
_global.dubs = 1;
storex = new Array();
storey = new Array();
_root.tutsong.start(0, 1000000);
_root.tutsong.setVolume(50);
_global.gpause = false;
}
onClipEvent (enterFrame) {
if (_global.gpause != true) {
if (dead != true) {
storex.unshift(_x);
storey.unshift(_y);
if (storex.length > 8) {
storex.pop();
}
if (storey.length > 8) {
storey.pop();
}
}
if (dead == true) {
deathcnt++;
if (dplonce != true) {
dplonce = true;
_root.gameSong.stop();
_root.death.start(0, 0);
_root.death.setVolume(50);
}
if (deathcnt > 70) {
_y = 200;
_root.gotoAndPlay(6);
dscreen = true;
_root.water._visible = false;
_root.vcam._y = 200 + deathscroll;
if ((_root.gd._y - _root.gd._height) < (50 + deathscroll)) {
deathscroll = deathscroll - 0.5;
}
if (shrunk != true) {
shrunk = true;
_root.gd._height = _root.gd._height * (200 / _root.gd._width);
_root.gd._width = 200;
_root.gd._alpha = 100;
}
_root.gd._x = _root.gd._width / 2;
_root.falling._visible = false;
_root.filler._visible = false;
}
}
_root.vcam.ccc = -(_root.gd._y - _root.gd._height);
if (dead == true) {
if (popin != true) {
popin = true;
gotoAndStop (7);
}
if (popnow == true) {
while (kabcnt < dboom) {
_root.attachMovie("explode", "ex" + _global.dubs, _global.dubs);
_root["ex" + _global.dubs]._x = _x;
_root["ex" + _global.dubs]._y = _y + (_height / 2);
_root["ex" + _global.dubs].colour = "0x" + random(999999);
drot = drot + ((360 / dboom) * 2);
_root["ex" + _global.dubs]._rotation = drot;
_global.dubs++;
kabcnt++;
}
}
}
if (dead != true) {
if (Key.isDown(37)) {
_rotation = -10;
}
if (Key.isDown(39)) {
_rotation = 10;
}
if ((((!Key.isDown(39)) and (!Key.isDown(37))) or (Key.isDown(39) and Key.isDown(37))) or (wallj == true)) {
_rotation = 0;
}
}
dcnt++;
if (gotime == true) {
if ((dcnt >= dtime) and (dead != true)) {
dcnt = 0;
dtime = dbase + random(drand + 1);
cho = random(2);
if (cho == 0) {
_root.falling.attachMovie("block", "bl" + _global.dubs, _global.dubs);
} else {
_root.falling.attachMovie("blockbig", "bl" + _global.dubs, _global.dubs);
}
_root.falling["bl" + _global.dubs]._x = (random(500) + 25) - _root.falling._x;
fa = (_y - 400) - _root.falling._y;
fb = ((_root.gd._y - _root.gd._height) - 700) - _root.falling._y;
if (fa < fb) {
fy = fa;
} else {
fy = fb;
}
_root.falling["bl" + _global.dubs]._y = fy;
_root.falling["bl" + _global.dubs].bcod.colour = "0x" + random(999999);
_root.falling["bl" + _global.dubs].dspeed = blspeed;
_root.falling["bl" + _global.dubs].nums = _global.dubs;
_global.dubs++;
}
}
if (dead != true) {
_root.vcam._y = _y - 25;
_x = (_x + hmov);
_y = (_y + vmov);
_y = (_y + vmovb);
if (_x < 0) {
_x = 550;
}
if (_x > 550) {
_x = 0;
}
hmov = hmov * 0.8;
hmov = int(hmov * 10) / 10;
vmovb = vmovb * 0.9;
vmovb = int(vmovb * 10) / 10;
if ((!_root.gd.hitTest(_x, _y + (_height / 2), true)) and (!_root.falling.hitTest(_x, _y + (_height / 2), true))) {
vmov = vmov + 1.5;
}
if (hmov > speed) {
hmov = speed;
}
if (hmov < (-speed)) {
hmov = -speed;
}
if (vmov > termv) {
vmov = termv;
}
while (_root.gd.hitTest(_x, _y + (((_height / 2) - offset) - 1), true)) {
_y = (_y-1);
vmov = 0;
}
while (_root.falling.hitTest(_x, _y + (((_height / 2) - offset) - 1), true)) {
_y = (_y-1);
}
while (_root.gd.hitTest(_x, _y - ((_height / 2) - offset), true)) {
_y = (_y+1);
vmov = blspeed + 1;
}
while (_root.falling.hitTest(_x, _y - ((_height / 2) - offset), true)) {
_y = (_y+1);
vmov = blspeed + 1;
}
while (_root.gd.hitTest(_x + (_width / 2), _y, true)) {
_x = (_x-1);
}
while (_root.gd.hitTest(_x - ((_width / 2) - offset), _y, true)) {
_x = (_x+1);
}
while (_root.falling.hitTest(_x + (_width / 2), _y, true)) {
_x = (_x-1);
}
while (_root.falling.hitTest(_x - ((_width / 2) - offset), _y, true)) {
_x = (_x+1);
}
}
if (((((_root.gd.hitTest(_x, _y + (_height / 2), true) or _root.gd.hitTest((_x - (_width / 2)) + 5, _y + (_height / 2), true)) or _root.gd.hitTest((_x + (_width / 2)) - 5, _y + (_height / 2), true)) or _root.falling.hitTest(_x, (_y + (_height / 2)) + 7, true)) or _root.falling.hitTest((_x - (_width / 2)) + 5, (_y + (_height / 2)) + 7, true)) or _root.falling.hitTest((_x + (_width / 2)) - 5, (_y + (_height / 2)) + 7, true)) {
airborne = false;
} else {
airborne = true;
}
climb = int(((-_y) + 306.9) / 10);
if (climb > highest) {
highest = climb;
}
_root.vcam.aaa = highest + "ft";
_root.vcam.bbb = climb + "ft";
if (dead != true) {
if ((Key.isDown(38) and (airborne == false)) and (nodblj == true)) {
_y = (_y + 1.5);
hmov = hmov * 0.5;
if (dir == 1) {
gotoAndStop (3);
}
if (dir == -1) {
gotoAndStop (4);
}
}
}
if (!Key.isDown(38)) {
nodblj = true;
}
if (((_root.gd.hitTest((_x + (_width / 2)) + 1, _y, true) or _root.gd.hitTest((_x - (_width / 2)) - 1, _y, true)) or _root.falling.hitTest((_x + (_width / 2)) + 1, _y, true)) or _root.falling.hitTest((_x - (_width / 2)) - 1, _y, true)) {
if ((Key.isDown(37) and (vmov > 0)) or (Key.isDown(39) and (vmov > 0))) {
wallj = true;
if (vmov > 0) {
vmov = vmov * 0.5;
}
if ((dead != true) and (wjing != true)) {
if ((dir == 1) and (airborne == true)) {
gotoAndStop (5);
}
if ((dir == -1) and (airborne == true)) {
gotoAndStop (6);
}
}
} else {
wallj = false;
}
if (_root.gd.hitTest((_x + (_width / 2)) + 1, _y, true) or _root.falling.hitTest((_x + (_width / 2)) + 1, _y, true)) {
wjdir = -1;
}
if (_root.gd.hitTest((_x - (_width / 2)) - 1, _y, true) or _root.falling.hitTest((_x - (_width / 2)) - 1, _y, true)) {
wjdir = 1;
}
} else {
wallj = false;
}
if (((this._currentframe == 5) and (wallj == false)) or ((this._currentframe == 6) and (wallj == false))) {
gotoAndStop (1);
}
if ((((Key.isDown(38) and (wallj == true)) and (airborne == true)) and (nodblj == true)) and (wjing != true)) {
nodblj = false;
wjing = true;
if (Key.isDown(39) or Key.isDown(37)) {
if (wjdir == 1) {
gotoAndStop (8);
} else {
gotoAndStop (9);
}
}
}
if (Key.isDown(37)) {
hmov = hmov - 2.25;
dir = -1;
}
if (Key.isDown(39)) {
hmov = hmov + 2.25;
dir = 1;
}
}
if (Key.isDown(80) and (nodblpau != true)) {
nodblpau = true;
if (_global.gpause != true) {
_global.gpause = true;
_root.vcam.paussc._visible = true;
} else {
_global.gpause = false;
_root.vcam.paussc._visible = false;
}
}
if (!Key.isDown(80)) {
nodblpau = false;
}
}
Instance of Symbol 8 MovieClip "blcolor" in Symbol 9 MovieClip Frame 1
onClipEvent (load) {
new Color(this).setRGB(_parent._parent.colour);
}
Instance of Symbol 11 MovieClip [bcode] "bcod" in Symbol 12 MovieClip [block] Frame 1
onClipEvent (load) {
chi = 40;
deadly = false;
}
onClipEvent (enterFrame) {
if (_global.gpause != true) {
_parent._y = _parent._y + _parent.dspeed;
if ((this.hitTest(_root.char._x, (_root.char._y - (_root.char._height / 2)) - 2, true) and (deadly == true)) and (_root.char.airborne == false)) {
_root.char.dx = _root.char._x;
_root.char.dy = _root.char._y;
_root.char.dead = true;
}
if (((_root.gd.hitTest(_parent._x + _parent._parent._x, ((_parent._y + (_parent._height / 2)) + chi) + _parent._parent._y, true) and (end != true)) or (_root.gd.hitTest((_parent._x - (_parent._width / 2)) + _parent._parent._x, ((_parent._y + chi) + (_parent._height / 2)) + _parent._parent._y, true) and (end != true))) or (_root.gd.hitTest((_parent._x + (_parent._width / 2)) + _parent._parent._x, ((_parent._y + chi) + (_parent._height / 2)) + _parent._parent._y, true) and (end != true))) {
deadly = true;
}
nums = _parent.nums;
i = 1;
while (i < 10) {
agda = i + nums;
while (_root.falling["bl" + agda].hitTest(this)) {
_root.falling["bl" + agda]._y--;
}
i++;
}
if (this.hitTest(_root.char._x, (_root.char._y + (_root.char._height / 2)) + 2, true) and (_root.char.nodblj == true)) {
_root.char.vmov = _parent.dspeed + 1;
}
if ((this.hitTest((_root.char._x - (_root.char._width / 2)) - 2, _root.char._y, true) and (_root.char.wallj == true)) or (this.hitTest((_root.char._x + (_root.char._width / 2)) + 2, _root.char._y, true) and (_root.char.wallj == true))) {
if (_root.char.vmovb < _parent.dspeed) {
_root.char.vmovb = _root.char.vmovb + 1;
}
}
if (((_root.gd.hitTest(_parent._x + _parent._parent._x, (_parent._y + (_parent._height / 2)) + _parent._parent._y, true) and (end != true)) or (_root.gd.hitTest((_parent._x - (_parent._width / 2)) + _parent._parent._x, (_parent._y + (_parent._height / 2)) + _parent._parent._y, true) and (end != true))) or (_root.gd.hitTest((_parent._x + (_parent._width / 2)) + _parent._parent._x, (_parent._y + (_parent._height / 2)) + _parent._parent._y, true) and (end != true))) {
if (_root.char.dscreen != true) {
_parent.dspeed = 0;
while (_root.gd.hitTest(_parent._x + _parent._parent._x, ((_parent._y + (_parent._height / 2)) + _parent._parent._y) - 1, true)) {
_parent._y--;
}
while (_root.gd.hitTest((_parent._x + (_parent._width / 2)) + _parent._parent._x, ((_parent._y + (_parent._height / 2)) + _parent._parent._y) - 1, true)) {
_parent._y--;
}
while (_root.gd.hitTest((_parent._x - (_parent._width / 2)) + _parent._parent._x, ((_parent._y + (_parent._height / 2)) + _parent._parent._y) - 1, true)) {
_parent._y--;
}
_root.gd.attachMovie("bcode", "bc" + _global.dubs, _global.dubs);
_root.gd["bc" + _global.dubs]._x = (_parent._x + _parent._parent._x) - _root.gd._x;
_root.gd["bc" + _global.dubs]._y = (_parent._y + _parent._parent._y) - _root.gd._y;
_root.gd["bc" + _global.dubs].colour = colour;
_global.dubs++;
end = true;
}
_parent.removeMovieClip();
}
}
}
Instance of Symbol 14 MovieClip in Symbol 16 MovieClip Frame 1
onClipEvent (load) {
new Color(this).setRGB(_parent._parent.colour);
}
Instance of Symbol 16 MovieClip in Symbol 17 MovieClip [explode] Frame 1
onClipEvent (load) {
g = _parent._rotation * 0.01745;
hmov = Math.cos(g) * (random(3) + 3);
vmov = Math.sin(g) * (random(3) + 3);
}
onClipEvent (enterFrame) {
_parent._x = _parent._x + hmov;
_parent._y = _parent._y + vmov;
_alpha = (_alpha - 2);
if (_alpha <= 0) {
_parent.removeMovieClip();
}
}
Instance of Symbol 20 MovieClip "blcolor" in Symbol 21 MovieClip Frame 1
onClipEvent (load) {
new Color(this).setRGB(_parent._parent.colour);
}
Instance of Symbol 23 MovieClip [bbcode] "bcod" in Symbol 24 MovieClip [blockbig] Frame 1
onClipEvent (load) {
chi = 40;
deadly = false;
}
onClipEvent (enterFrame) {
if (_global.gpause != true) {
_parent._y = _parent._y + _parent.dspeed;
if ((this.hitTest(_root.char._x, (_root.char._y - (_root.char._height / 2)) - 2, true) and (deadly == true)) and (_root.char.airborne == false)) {
_root.char.dx = _root.char._x;
_root.char.dy = _root.char._y;
_root.char.dead = true;
}
if (((_root.gd.hitTest(_parent._x + _parent._parent._x, ((_parent._y + (_parent._height / 2)) + chi) + _parent._parent._y, true) and (end != true)) or (_root.gd.hitTest((_parent._x - (_parent._width / 2)) + _parent._parent._x, ((_parent._y + chi) + (_parent._height / 2)) + _parent._parent._y, true) and (end != true))) or (_root.gd.hitTest((_parent._x + (_parent._width / 2)) + _parent._parent._x, ((_parent._y + chi) + (_parent._height / 2)) + _parent._parent._y, true) and (end != true))) {
deadly = true;
}
nums = _parent.nums;
i = 1;
while (i < 10) {
agda = i + nums;
while (_root.falling["bl" + agda].hitTest(this)) {
_root.falling["bl" + agda]._y--;
}
i++;
}
if (this.hitTest(_root.char._x, (_root.char._y + (_root.char._height / 2)) + 2, true) and (_root.char.nodblj == true)) {
_root.char.vmov = _parent.dspeed + 1;
}
if ((this.hitTest((_root.char._x - (_root.char._width / 2)) - 2, _root.char._y, true) and (_root.char.wallj == true)) or (this.hitTest((_root.char._x + (_root.char._width / 2)) + 2, _root.char._y, true) and (_root.char.wallj == true))) {
if (_root.char.vmovb < _parent.dspeed) {
_root.char.vmovb = _root.char.vmovb + 1;
}
}
if (((_root.gd.hitTest(_parent._x + _parent._parent._x, (_parent._y + (_parent._height / 2)) + _parent._parent._y, true) and (end != true)) or (_root.gd.hitTest((_parent._x - (_parent._width / 2)) + _parent._parent._x, (_parent._y + (_parent._height / 2)) + _parent._parent._y, true) and (end != true))) or (_root.gd.hitTest((_parent._x + (_parent._width / 2)) + _parent._parent._x, (_parent._y + (_parent._height / 2)) + _parent._parent._y, true) and (end != true))) {
if (_root.char.dscreen != true) {
_parent.dspeed = 0;
while (_root.gd.hitTest(_parent._x + _parent._parent._x, ((_parent._y + (_parent._height / 2)) + _parent._parent._y) - 1, true)) {
_parent._y--;
}
while (_root.gd.hitTest((_parent._x + (_parent._width / 2)) + _parent._parent._x, ((_parent._y + (_parent._height / 2)) + _parent._parent._y) - 1, true)) {
_parent._y--;
}
while (_root.gd.hitTest((_parent._x - (_parent._width / 2)) + _parent._parent._x, ((_parent._y + (_parent._height / 2)) + _parent._parent._y) - 1, true)) {
_parent._y--;
}
_root.gd.attachMovie("bbcode", "bc" + _global.dubs, _global.dubs);
_root.gd["bc" + _global.dubs]._x = (_parent._x + _parent._parent._x) - _root.gd._x;
_root.gd["bc" + _global.dubs]._y = (_parent._y + _parent._parent._y) - _root.gd._y;
_root.gd["bc" + _global.dubs].colour = colour;
_global.dubs++;
end = true;
_parent.removeMovieClip();
}
}
}
}
Symbol 33 Button
on (release) {
getURL ("http://www.thegamehomepage.com/", "_blank");
}
Symbol 37 Button
on (release) {
gotoAndPlay ("intro");
}
Symbol 40 Button
on (release) {
getURL ("http://www.thegamehomepage.com/", "_blank");
}
Symbol 45 MovieClip Frame 1
_root.stop();
PercentLoaded = (_root.getBytesLoaded() / _root.getBytesTotal()) * 100;
if (PercentLoaded != 100) {
tghbar._xscale = PercentLoaded;
} else {
gotoAndPlay ("loaded");
}
Symbol 45 MovieClip Frame 2
gotoAndPlay (1);
Symbol 45 MovieClip Frame 86
stop();
Symbol 45 MovieClip Frame 172
Symbol 45 MovieClip Frame 227
Symbol 45 MovieClip Frame 253
_root.mblog.gotoAndStop(2);
Symbol 50 MovieClip Frame 95
_root.gotoAndPlay(2);
stop();
Symbol 51 MovieClip Frame 1
stop();
Symbol 51 MovieClip Frame 2
stop();
Symbol 59 Button
on (press) {
gotoAndPlay (4);
}
on (rollOver) {
_root.menuding.start(0, 0);
_root.menuding.setVolume(50);
}
Symbol 64 Button
on (press) {
gotoAndPlay (6);
}
on (rollOver) {
_root.menuding.start(0, 0);
_root.menuding.setVolume(50);
}
Symbol 82 Button
on (press) {
_root.gotoAndPlay(4);
}
on (rollOver) {
_root.menuding.start(0, 0);
_root.menuding.setVolume(50);
}
Symbol 87 Button
on (press) {
_root.gotoAndPlay(2);
}
on (rollOver) {
_root.menuding.start(0, 0);
_root.menuding.setVolume(50);
}
Instance of Symbol 91 MovieClip in Symbol 92 MovieClip Frame 1
on (release) {
getURL ("http://www.thegamehomepage.com/", "_blank");
}
Symbol 107 MovieClip Frame 1
stop();
Symbol 107 MovieClip Frame 3
stop();
Symbol 107 MovieClip Frame 5
stop();
_root.water._y = 590;
_root.water.gotime = true;
Symbol 107 MovieClip Frame 7
stop();
_root.char.gotime = true;
Symbol 107 MovieClip Frame 9
stop();
Symbol 107 MovieClip Frame 11
stop();
Symbol 107 MovieClip Frame 13
_root.gotoAndPlay(2);
Symbol 112 MovieClip Frame 1
function camControl() {
parentColor.setTransform(camColor.getTransform());
var _local4 = sX / this._width;
var _local3 = sY / this._height;
_parent._x = cX - (this._x * _local4);
_parent._y = cY - (this._y * _local3);
_parent._xscale = 100 * _local4;
_parent._yscale = 100 * _local3;
}
function resetStage() {
var _local2 = {ra:100, rb:0, ga:100, gb:0, ba:100, bb:0, aa:100, ab:0};
parentColor.setTransform(_local2);
_parent._xscale = 100;
_parent._yscale = 100;
_parent._x = 0;
_parent._y = 0;
}
this._visible = true;
var oldMode = Stage.scaleMode;
Stage.scaleMode = "exactFit";
var cX = (Stage.width / 2);
var cY = (Stage.height / 2);
var sX = Stage.width;
var sY = Stage.height;
Stage.scaleMode = oldMode;
var camColor = new Color(this);
var parentColor = new Color(_parent);
this.onEnterFrame = camControl;
camControl();
this.onUnload = resetStage;
Instance of Symbol 92 MovieClip in Symbol 112 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
if (_root.char.dscreen == true) {
_visible = true;
fiss = _root.char.highest + "ft";
}
}
Instance of Symbol 107 MovieClip in Symbol 112 MovieClip Frame 1
onClipEvent (load) {
if (_root._currentframe == 5) {
_visible = false;
}
}
onClipEvent (enterFrame) {
if (_root._currentframe != 5) {
if ((Key.isDown(32) and (nodbl != true)) and (_global.gpause != true)) {
nodbl = true;
gotoAndPlay(_currentframe + 1);
}
if (!Key.isDown(32)) {
nodbl = false;
}
}
}
Instance of Symbol 111 MovieClip "paussc" in Symbol 112 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
this.swapDepths(100000);
}
Symbol 129 MovieClip Frame 133
stop();
Symbol 133 MovieClip Frame 7
_parent.nodblj = false;
_parent.vmov = -_parent.jump;
_parent.gotoAndStop(1);
Symbol 140 MovieClip Frame 5
_parent.popnow = true;
Symbol 140 MovieClip Frame 6
stop();
Symbol 142 MovieClip Frame 1
_parent.vmov = 0;
_parent.hmov = 0;
Symbol 142 MovieClip Frame 7
_parent.nodblj = false;
_parent.hmov = 10 * _parent.wjdir;
_parent.vmov = -_parent.jump;
_parent.wjing = false;
_parent.gotoAndStop(1);
Symbol 143 MovieClip Frame 1
stop();
Instance of Symbol 24 MovieClip [blockbig] in Symbol 151 MovieClip Frame 1
onClipEvent (load) {
dspeed = 4;
}
Instance of Symbol 24 MovieClip [blockbig] in Symbol 151 MovieClip Frame 1
onClipEvent (load) {
dspeed = 4;
}
Instance of Symbol 24 MovieClip [blockbig] in Symbol 151 MovieClip Frame 1
onClipEvent (load) {
dspeed = 4;
}
Instance of Symbol 24 MovieClip [blockbig] in Symbol 151 MovieClip Frame 1
onClipEvent (load) {
dspeed = 4;
}
Instance of Symbol 24 MovieClip [blockbig] in Symbol 151 MovieClip Frame 1
onClipEvent (load) {
dspeed = 4;
}
Instance of Symbol 24 MovieClip [blockbig] in Symbol 151 MovieClip Frame 1
onClipEvent (load) {
dspeed = 4;
}
Instance of Symbol 24 MovieClip [blockbig] in Symbol 151 MovieClip Frame 1
onClipEvent (load) {
dspeed = 4;
}
Symbol 154 MovieClip Frame 133
stop();