Frame 1
Stage.showMenu = false;
Instance of Symbol 101 MovieClip in Frame 1
onClipEvent (load) {
_root.stop();
}
onClipEvent (enterFrame) {
gotoAndStop((_root.getBytesLoaded() / _root.getBytesTotal()) * 500);
if (_currentframe == 500) {
_root.play();
}
}
Frame 2
if (_global.System) {
System.security.allowDomain("mochibot.com");
}
_level0.__com_mochibot__swfid = "0191e496";
loadMovieNum ("http://mochibot.com/my/core.swf", 10301);
Instance of Symbol 123 MovieClip "mouse" in Frame 2
onClipEvent (enterFrame) {
_x = _root._xmouse;
_y = _root._ymouse;
Mouse.hide();
}
Instance of Symbol 133 MovieClip in Frame 256
onClipEvent (enterFrame) {
if (_currentframe == 1) {
play();
}
}
Instance of Symbol 133 MovieClip in Frame 266
onClipEvent (enterFrame) {
if (_currentframe == 1) {
play();
}
}
Instance of Symbol 133 MovieClip in Frame 271
onClipEvent (enterFrame) {
if (_currentframe == 1) {
play();
}
}
Instance of Symbol 133 MovieClip in Frame 276
onClipEvent (enterFrame) {
if (_currentframe == 1) {
play();
}
}
Instance of Symbol 133 MovieClip in Frame 281
onClipEvent (enterFrame) {
if (_currentframe == 1) {
play();
}
}
Frame 309
_root.backgrounds = true;
_root.volume = 100;
Frame 310
stop();
Instance of Symbol 123 MovieClip "mouse" in Frame 311
onClipEvent (enterFrame) {
_x = _root._xmouse;
_y = _root._ymouse;
Mouse.hide();
this.swapDepths(_root.getNextHighestDepth());
}
Frame 407
function AttachBG(num) {
name1 = "bg" + num;
name2 = "bg" + (num - 1);
if (_root[name1]._x eq undefined) {
_root[name2].removeMovieClip();
attachMovie(name1, name1, 1);
}
}
stop();
stage = new Array([0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]);
block = 0;
place = true;
pressed = false;
bigblock = 2;
star = -1000;
level = 1;
score = 0;
dead = false;
custom.start(0, 99999999);
i = 2;
while (i <= 4) {
name = "combo" + i;
_root[name] = new Sound(_root);
_root[name].attachSound((_root.music + "combo") + i);
i++;
}
i = 1;
while (i <= 5) {
name = "song" + i;
_root[name] = new Sound(_root);
_root[name].attachSound(_root.music + i);
i++;
}
song1.onSoundComplete = function () {
name = "song" + level;
_root[name].start(0, 0);
};
song2.onSoundComplete = function () {
name = "song" + level;
_root[name].start(0, 0);
};
song3.onSoundComplete = function () {
name = "song" + level;
_root[name].start(0, 0);
};
song4.onSoundComplete = function () {
name = "song" + level;
_root[name].start(0, 0);
};
song5.onSoundComplete = function () {
name = "song" + level;
_root[name].start(0, 0);
};
song1.setVolume(volume);
song2.setVolume(volume);
song3.setVolume(volume);
song4.setVolume(volume);
song5.setVolume(volume);
song1.start(0, 0);
var destroy = new Sound(_root);
destroy.attachSound(_root.music + "kill");
_root.onEnterFrame = function () {
if ((!pause) and (!dead)) {
AttachBG(level);
if (place) {
movement = false;
block = block + 4;
x = 8;
y = 1;
angle = 0;
i = 1 + block;
while (i <= (4 + block)) {
if ((y == 2) and (x == 9)) {
angle = 180;
}
name = "block" + i;
xx = (x * 30) + 15;
yy = (y * 30) + 15;
attachMovie("block", name, i + block);
_root[name]._x = xx;
_root[name]._y = yy;
_root[name].angle = angle;
_root[name].gotoAndStop(random(2) + 1);
if (y == 2) {
y = 1;
x++;
angle = -90;
} else {
y++;
angle = angle + 90;
}
i++;
}
pos = 8;
place = false;
movement = true;
timer = 3;
fps = 30;
}
if (movement) {
fps--;
if (fps <= 0) {
fps = 30;
timer--;
}
if (((!Key.isDown(39)) and (!Key.isDown(37))) and (!Key.isDown(38))) {
pressed = false;
}
if (Key.isDown(38) and (!pressed)) {
rotatesound.start(0, 0);
pressed = true;
i = 1 + block;
while (i <= (4 + block)) {
name = "block" + i;
_root[name]._x = _root[name]._x + (30 * Math.sin(_root[name].angle * (Math.PI/180)));
_root[name]._y = _root[name]._y + (30 * Math.cos(_root[name].angle * (Math.PI/180)));
_root[name].angle = _root[name].angle + 90;
i++;
}
}
if (Key.isDown(39) and (!pressed)) {
stage[11][0] = 0;
pressed = true;
if (((_root["block" + (3 + block)]._x + 30) != 525) and ((_root["block" + (2 + block)]._x + 30) != 525)) {
i = 1 + block;
while (i <= (4 + block)) {
name = "block" + i;
_root[name]._x = _root[name]._x + 30;
i++;
}
}
}
if (Key.isDown(37) and (!pressed)) {
pressed = true;
if (((_root["block" + (1 + block)]._x - 30) != 15) and ((_root["block" + (4 + block)]._x - 30) != 15)) {
i = 1 + block;
while (i <= (4 + block)) {
name = "block" + i;
_root[name]._x = _root[name]._x - 30;
i++;
}
}
}
if (Key.isDown(32) or (!timer)) {
movement = false;
i = 1 + block;
while (i <= (4 + block)) {
name = "block" + i;
_root[name].stopped = false;
_root[name].onEnterFrame = function () {
if (!pause) {
if (stage[this.y][this.x] == (this._currentframe * 3)) {
this.removeMovieClip();
}
if (dead) {
this.removeMovieClip();
}
this.x = Math.floor(((this._x - 15) / 30) - 1);
this.y = Math.round(((this._y - 15) / 30) - 1);
if ((this.lastx != this.x) and (stage[this.y][this.x] == this._currentframe)) {
stage[this.y][this.x] = 0;
}
if (stage[this.y + 1][this.x] == 0) {
this._y = this._y + 15;
this.stopped = false;
} else {
if (this.y < 2) {
trace((((this.lasty + " ") + this._y) + " ") + this.y);
this.removeMovieClip();
_root.nextFrame();
}
if (this._name == ("block" + (1 + block))) {
_root.place = true;
}
stage[this.y][this.x] = this._currentframe;
this._x = ((this.x + 1) * 30) + 15;
this._y = ((this.y + 1) * 30) + 15;
this.stopped = true;
if ((stage[this.y][this.x + 1] == this._currentframe) or (stage[this.y][this.x + 1] == (this._currentframe * 3))) {
if ((stage[this.y + 1][this.x] == this._currentframe) or (stage[this.y + 1][this.x] == (this._currentframe * 3))) {
if ((stage[this.y + 1][this.x + 1] == this._currentframe) or (stage[this.y + 1][this.x + 1] == (this._currentframe * 3))) {
if (this._alpha == 100) {
name = "bigblock" + bigblock;
_root.attachMovie("bigblock", name, bigblock);
_root[name]._x = this._x;
_root[name]._y = this._y;
_root[name].x = Math.floor(((this._x - 15) / 30) - 1);
_root[name].y = Math.round(((this._y - 15) / 30) - 1);
stage[_root[name].y][_root[name].x] = stage[_root[name].y][_root[name].x] * 3;
stage[_root[name].y + 1][_root[name].x] = stage[_root[name].y + 1][_root[name].x] * 3;
stage[_root[name].y][_root[name].x + 1] = stage[_root[name].y][_root[name].x + 1] * 3;
stage[_root[name].y + 1][_root[name].x + 1] = stage[_root[name].y + 1][_root[name].x + 1] * 3;
_root[name].gotoAndStop(this._currentframe);
_root[name].onEnterFrame = function () {
if (dead) {
this.removeMovieClip();
}
if (_root.Bar.hitTest(this._x, this._y, true) and ((0 < this._currentframe) < 3)) {
stage[this.y][this.x] = 0;
stage[this.y + 1][this.x] = 0;
stage[this.y][this.x + 1] = 0;
stage[this.y + 1][this.x + 1] = 0;
combo++;
destroy.start(0, 0);
name = "Explosion" + bigblock;
_root.attachMovie("Explosion", name, 5000 + bigblock);
_root[name]._x = this._x;
_root[name]._y = this._y;
_root[name].onEnterFrame = function () {
if (this._currentframe == 20) {
this.removeMovieClip();
}
};
score = score + 10;
this.removeMovieClip();
}
bigblock++;
};
bigblock++;
}
}
}
}
}
this.lastx = this._x;
this.lasty = this._y;
}
};
i++;
}
}
}
}
};
Instance of Symbol 212 MovieClip "pausescreen" in Frame 407
onClipEvent (load) {
this.swapDepths(10001);
}
onClipEvent (enterFrame) {
if (!Key.isDown(80)) {
pressed = false;
}
if (Key.isDown(80) and (!pressed)) {
pressed = true;
this.play();
}
}
Instance of Symbol 215 MovieClip "Bar" in Frame 407
onClipEvent (load) {
this.swapDepths(10000);
}
onClipEvent (enterFrame) {
if (_root.pause) {
stop();
} else {
play();
}
}
Instance of Symbol 246 MovieClip "panel" in Frame 407
onClipEvent (load) {
this.swapDepths(10002);
}
Frame 408
stopAllSounds();
Bar.removeMovieClip();
panel.removeMovieClip();
i = 1;
while (i <= 5) {
name = "bg" + i;
_root[name].removeMovieClip();
i++;
}
dead = true;
_root["block" + block].removeMovieClip();
_root["block" + (block + 1)].removeMovieClip();
_root["block" + (block + 2)].removeMovieClip();
_root["block" + (block + 3)].removeMovieClip();
_root["block" + (block + 4)].removeMovieClip();
Frame 409
stopAllSounds();
Bar.removeMovieClip();
panel.removeMovieClip();
i = 1;
while (i <= 5) {
name = "bg" + i;
_root[name].removeMovieClip();
i++;
}
dead = true;
_root["block" + block].removeMovieClip();
_root["block" + (block + 1)].removeMovieClip();
_root["block" + (block + 2)].removeMovieClip();
_root["block" + (block + 3)].removeMovieClip();
_root["block" + (block + 4)].removeMovieClip();
Frame 410
stopAllSounds();
Bar.removeMovieClip();
panel.removeMovieClip();
i = 1;
while (i <= 5) {
name = "bg" + i;
_root[name].removeMovieClip();
i++;
}
dead = true;
_root["block" + block].removeMovieClip();
_root["block" + (block + 1)].removeMovieClip();
_root["block" + (block + 2)].removeMovieClip();
_root["block" + (block + 3)].removeMovieClip();
_root["block" + (block + 4)].removeMovieClip();
gotoAndPlay (2);
Symbol 28 MovieClip [bg1] Frame 1
star = 0;
onEnterFrame = function () {
if (_root.backgrounds) {
name = "star" + star;
attachMovie("star", name, star);
this[name]._x = 245;
this[name]._y = 210;
this[name].xmove = (-random(20)) + 10;
this[name].ymove = (-random(20)) + 10;
this[name]._alpha = 0;
this[name].onEnterFrame = function () {
this._x = this._x + this.xmove;
this._y = this._y + this.ymove;
this._alpha = this._alpha + 5;
if (((((this._x < 0) or (this._x > 540)) or (this._y < 0)) or (this._y > 420)) or (!_root.backgrounds)) {
this.swapDepths(0);
this.removeMovieClip();
}
};
star--;
}
};
Symbol 30 MovieClip [ring] Frame 1
stop();
Symbol 31 MovieClip [bg5] Frame 1
onEnterFrame = function () {
if (!_root.backgrounds) {
gotoAndStop (2);
} else {
gotoAndStop (1);
}
};
Instance of Symbol 30 MovieClip [ring] in Symbol 31 MovieClip [bg5] Frame 1
onClipEvent (load) {
_visible = false;
x = _x;
y = _y;
i = 1;
z = 0;
nextx = random(540);
nexty = random(420);
xspeed = 0;
yspeed = 0;
}
onClipEvent (enterFrame) {
if (_root.dead) {
_root.bg5.removeMovieClip();
}
_x = x;
_y = y;
if (_x < nextx) {
xspeed++;
} else {
xspeed--;
}
if (_y < nexty) {
yspeed++;
} else {
yspeed--;
}
if (!z) {
name = "ring" + i;
_parent.attachMovie("ring", name, 1);
_parent[name]._x = x;
_parent[name]._y = y;
_parent[name]._width = 10;
_parent[name]._height = 10;
_parent[name].onEnterFrame = function () {
this._width = this._width * 1.05;
this._height = this._height * 1.05;
this._x = this._x + ((270 - this._x) / 40);
this._y = this._y + ((210 - this._y) / 40);
this.swapDepths(this._width);
if (this._width > 700) {
this.removeMovieClip();
}
};
i++;
}
if (!z) {
z = 3;
}
z--;
_x = _root._xmouse;
_y = _root._ymouse;
if ((xspeed < -20) or (xspeed > 20)) {
xspeed = xspeed * 0.6;
}
if ((yspeed < -20) or (yspeed > 20)) {
yspeed = yspeed * 0.6;
}
i++;
x = x + xspeed;
y = y + yspeed;
if ((((nextx - 10) < _x) < (nextx + 10)) and (((nexty - 10) < _y) < (nexty + 10))) {
nextx = random(540);
nexty = random(420);
}
}
Symbol 36 MovieClip Frame 1
var myarray = new Array([0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0]);
Instance of Symbol 35 MovieClip in Symbol 36 MovieClip Frame 1
onClipEvent (load) {
x = 0;
while (x <= 9) {
y = 0;
while (y <= 7) {
_parent.myarray[y][x] = random(2);
y++;
}
x++;
}
x = _x / 60;
y = _y / 60;
}
onClipEvent (enterFrame) {
if (_parent.myarray[y][x]) {
_x = 1000;
} else {
_x = (x * 60);
}
}
Instance of Symbol 35 MovieClip in Symbol 36 MovieClip Frame 1
onClipEvent (load) {
x = _x / 60;
y = _y / 60;
}
onClipEvent (enterFrame) {
if (_parent.myarray[y][x]) {
_x = 1000;
} else {
_x = (x * 60);
}
}
Instance of Symbol 35 MovieClip in Symbol 36 MovieClip Frame 1
onClipEvent (load) {
x = _x / 60;
y = _y / 60;
}
onClipEvent (enterFrame) {
if (_parent.myarray[y][x]) {
_x = 1000;
} else {
_x = (x * 60);
}
}
Instance of Symbol 35 MovieClip in Symbol 36 MovieClip Frame 1
onClipEvent (load) {
x = _x / 60;
y = _y / 60;
}
onClipEvent (enterFrame) {
if (_parent.myarray[y][x]) {
_x = 1000;
} else {
_x = (x * 60);
}
}
Instance of Symbol 35 MovieClip in Symbol 36 MovieClip Frame 1
onClipEvent (load) {
x = _x / 60;
y = _y / 60;
}
onClipEvent (enterFrame) {
if (_parent.myarray[y][x]) {
_x = 1000;
} else {
_x = (x * 60);
}
}
Instance of Symbol 35 MovieClip in Symbol 36 MovieClip Frame 1
onClipEvent (load) {
x = _x / 60;
y = _y / 60;
}
onClipEvent (enterFrame) {
if (_parent.myarray[y][x]) {
_x = 1000;
} else {
_x = (x * 60);
}
}
Instance of Symbol 35 MovieClip in Symbol 36 MovieClip Frame 1
onClipEvent (load) {
x = _x / 60;
y = _y / 60;
}
onClipEvent (enterFrame) {
if (_parent.myarray[y][x]) {
_x = 1000;
} else {
_x = (x * 60);
}
}
Instance of Symbol 35 MovieClip in Symbol 36 MovieClip Frame 1
onClipEvent (load) {
x = _x / 60;
y = _y / 60;
}
onClipEvent (enterFrame) {
if (_parent.myarray[y][x]) {
_x = 1000;
} else {
_x = (x * 60);
}
}
Instance of Symbol 35 MovieClip in Symbol 36 MovieClip Frame 1
onClipEvent (load) {
x = _x / 60;
y = _y / 60;
}
onClipEvent (enterFrame) {
if (_parent.myarray[y][x]) {
_x = 1000;
} else {
_x = (x * 60);
}
}
Instance of Symbol 35 MovieClip in Symbol 36 MovieClip Frame 1
onClipEvent (load) {
x = _x / 60;
y = _y / 60;
}
onClipEvent (enterFrame) {
if (_parent.myarray[y][x]) {
_x = 1000;
} else {
_x = (x * 60);
}
}
Instance of Symbol 35 MovieClip in Symbol 36 MovieClip Frame 1
onClipEvent (load) {
x = _x / 60;
y = _y / 60;
}
onClipEvent (enterFrame) {
if (_parent.myarray[y][x]) {
_x = 1000;
} else {
_x = (x * 60);
}
}
Instance of Symbol 35 MovieClip in Symbol 36 MovieClip Frame 1
onClipEvent (load) {
x = _x / 60;
y = _y / 60;
}
onClipEvent (enterFrame) {
if (_parent.myarray[y][x]) {
_x = 1000;
} else {
_x = (x * 60);
}
}
Instance of Symbol 35 MovieClip in Symbol 36 MovieClip Frame 1
onClipEvent (load) {
x = _x / 60;
y = _y / 60;
}
onClipEvent (enterFrame) {
if (_parent.myarray[y][x]) {
_x = 1000;
} else {
_x = (x * 60);
}
}
Instance of Symbol 35 MovieClip in Symbol 36 MovieClip Frame 1
onClipEvent (load) {
x = _x / 60;
y = _y / 60;
}
onClipEvent (enterFrame) {
if (_parent.myarray[y][x]) {
_x = 1000;
} else {
_x = (x * 60);
}
}
Instance of Symbol 35 MovieClip in Symbol 36 MovieClip Frame 1
onClipEvent (load) {
x = _x / 60;
y = _y / 60;
}
onClipEvent (enterFrame) {
if (_parent.myarray[y][x]) {
_x = 1000;
} else {
_x = (x * 60);
}
}
Instance of Symbol 35 MovieClip in Symbol 36 MovieClip Frame 1
onClipEvent (load) {
x = _x / 60;
y = _y / 60;
}
onClipEvent (enterFrame) {
if (_parent.myarray[y][x]) {
_x = 1000;
} else {
_x = (x * 60);
}
}
Instance of Symbol 35 MovieClip in Symbol 36 MovieClip Frame 1
onClipEvent (load) {
x = _x / 60;
y = _y / 60;
}
onClipEvent (enterFrame) {
if (_parent.myarray[y][x]) {
_x = 1000;
} else {
_x = (x * 60);
}
}
Instance of Symbol 35 MovieClip in Symbol 36 MovieClip Frame 1
onClipEvent (load) {
x = _x / 60;
y = _y / 60;
}
onClipEvent (enterFrame) {
if (_parent.myarray[y][x]) {
_x = 1000;
} else {
_x = (x * 60);
}
}
Instance of Symbol 35 MovieClip in Symbol 36 MovieClip Frame 1
onClipEvent (load) {
x = _x / 60;
y = _y / 60;
}
onClipEvent (enterFrame) {
if (_parent.myarray[y][x]) {
_x = 1000;
} else {
_x = (x * 60);
}
}
Instance of Symbol 35 MovieClip in Symbol 36 MovieClip Frame 1
onClipEvent (load) {
x = _x / 60;
y = _y / 60;
}
onClipEvent (enterFrame) {
if (_parent.myarray[y][x]) {
_x = 1000;
} else {
_x = (x * 60);
}
}
Instance of Symbol 35 MovieClip in Symbol 36 MovieClip Frame 1
onClipEvent (load) {
x = _x / 60;
y = _y / 60;
}
onClipEvent (enterFrame) {
if (_parent.myarray[y][x]) {
_x = 1000;
} else {
_x = (x * 60);
}
}
Instance of Symbol 35 MovieClip in Symbol 36 MovieClip Frame 1
onClipEvent (load) {
x = _x / 60;
y = _y / 60;
}
onClipEvent (enterFrame) {
if (_parent.myarray[y][x]) {
_x = 1000;
} else {
_x = (x * 60);
}
}
Instance of Symbol 35 MovieClip in Symbol 36 MovieClip Frame 1
onClipEvent (load) {
x = _x / 60;
y = _y / 60;
}
onClipEvent (enterFrame) {
if (_parent.myarray[y][x]) {
_x = 1000;
} else {
_x = (x * 60);
}
}
Instance of Symbol 35 MovieClip in Symbol 36 MovieClip Frame 1
onClipEvent (load) {
x = _x / 60;
y = _y / 60;
}
onClipEvent (enterFrame) {
if (_parent.myarray[y][x]) {
_x = 1000;
} else {
_x = (x * 60);
}
}
Instance of Symbol 35 MovieClip in Symbol 36 MovieClip Frame 1
onClipEvent (load) {
x = _x / 60;
y = _y / 60;
}
onClipEvent (enterFrame) {
if (_parent.myarray[y][x]) {
_x = 1000;
} else {
_x = (x * 60);
}
}
Instance of Symbol 35 MovieClip in Symbol 36 MovieClip Frame 1
onClipEvent (load) {
x = _x / 60;
y = _y / 60;
}
onClipEvent (enterFrame) {
if (_parent.myarray[y][x]) {
_x = 1000;
} else {
_x = (x * 60);
}
}
Instance of Symbol 35 MovieClip in Symbol 36 MovieClip Frame 1
onClipEvent (load) {
x = _x / 60;
y = _y / 60;
}
onClipEvent (enterFrame) {
if (_parent.myarray[y][x]) {
_x = 1000;
} else {
_x = (x * 60);
}
}
Instance of Symbol 35 MovieClip in Symbol 36 MovieClip Frame 1
onClipEvent (load) {
x = _x / 60;
y = _y / 60;
}
onClipEvent (enterFrame) {
if (_parent.myarray[y][x]) {
_x = 1000;
} else {
_x = (x * 60);
}
}
Instance of Symbol 35 MovieClip in Symbol 36 MovieClip Frame 1
onClipEvent (load) {
x = _x / 60;
y = _y / 60;
}
onClipEvent (enterFrame) {
if (_parent.myarray[y][x]) {
_x = 1000;
} else {
_x = (x * 60);
}
}
Instance of Symbol 35 MovieClip in Symbol 36 MovieClip Frame 1
onClipEvent (load) {
x = _x / 60;
y = _y / 60;
}
onClipEvent (enterFrame) {
if (_parent.myarray[y][x]) {
_x = 1000;
} else {
_x = (x * 60);
}
}
Instance of Symbol 35 MovieClip in Symbol 36 MovieClip Frame 1
onClipEvent (load) {
x = _x / 60;
y = _y / 60;
}
onClipEvent (enterFrame) {
if (_parent.myarray[y][x]) {
_x = 1000;
} else {
_x = (x * 60);
}
}
Instance of Symbol 35 MovieClip in Symbol 36 MovieClip Frame 1
onClipEvent (load) {
x = _x / 60;
y = _y / 60;
}
onClipEvent (enterFrame) {
if (_parent.myarray[y][x]) {
_x = 1000;
} else {
_x = (x * 60);
}
}
Instance of Symbol 35 MovieClip in Symbol 36 MovieClip Frame 1
onClipEvent (load) {
x = _x / 60;
y = _y / 60;
}
onClipEvent (enterFrame) {
if (_parent.myarray[y][x]) {
_x = 1000;
} else {
_x = (x * 60);
}
}
Instance of Symbol 35 MovieClip in Symbol 36 MovieClip Frame 1
onClipEvent (load) {
x = _x / 60;
y = _y / 60;
}
onClipEvent (enterFrame) {
if (_parent.myarray[y][x]) {
_x = 1000;
} else {
_x = (x * 60);
}
}
Instance of Symbol 35 MovieClip in Symbol 36 MovieClip Frame 1
onClipEvent (load) {
x = _x / 60;
y = _y / 60;
}
onClipEvent (enterFrame) {
if (_parent.myarray[y][x]) {
_x = 1000;
} else {
_x = (x * 60);
}
}
Instance of Symbol 35 MovieClip in Symbol 36 MovieClip Frame 1
onClipEvent (load) {
x = _x / 60;
y = _y / 60;
}
onClipEvent (enterFrame) {
if (_parent.myarray[y][x]) {
_x = 1000;
} else {
_x = (x * 60);
}
}
Instance of Symbol 35 MovieClip in Symbol 36 MovieClip Frame 1
onClipEvent (load) {
x = _x / 60;
y = _y / 60;
}
onClipEvent (enterFrame) {
if (_parent.myarray[y][x]) {
_x = 1000;
} else {
_x = (x * 60);
}
}
Instance of Symbol 35 MovieClip in Symbol 36 MovieClip Frame 1
onClipEvent (load) {
x = _x / 60;
y = _y / 60;
}
onClipEvent (enterFrame) {
if (_parent.myarray[y][x]) {
_x = 1000;
} else {
_x = (x * 60);
}
}
Instance of Symbol 35 MovieClip in Symbol 36 MovieClip Frame 1
onClipEvent (load) {
x = _x / 60;
y = _y / 60;
}
onClipEvent (enterFrame) {
if (_parent.myarray[y][x]) {
_x = 1000;
} else {
_x = (x * 60);
}
}
Instance of Symbol 35 MovieClip in Symbol 36 MovieClip Frame 1
onClipEvent (load) {
x = _x / 60;
y = _y / 60;
}
onClipEvent (enterFrame) {
if (_parent.myarray[y][x]) {
_x = 1000;
} else {
_x = (x * 60);
}
}
Instance of Symbol 35 MovieClip in Symbol 36 MovieClip Frame 1
onClipEvent (load) {
x = _x / 60;
y = _y / 60;
}
onClipEvent (enterFrame) {
if (_parent.myarray[y][x]) {
_x = 1000;
} else {
_x = (x * 60);
}
}
Instance of Symbol 35 MovieClip in Symbol 36 MovieClip Frame 1
onClipEvent (load) {
x = _x / 60;
y = _y / 60;
}
onClipEvent (enterFrame) {
if (_parent.myarray[y][x]) {
_x = 1000;
} else {
_x = (x * 60);
}
}
Instance of Symbol 35 MovieClip in Symbol 36 MovieClip Frame 1
onClipEvent (load) {
x = _x / 60;
y = _y / 60;
}
onClipEvent (enterFrame) {
if (_parent.myarray[y][x]) {
_x = 1000;
} else {
_x = (x * 60);
}
}
Instance of Symbol 35 MovieClip in Symbol 36 MovieClip Frame 1
onClipEvent (load) {
x = _x / 60;
y = _y / 60;
}
onClipEvent (enterFrame) {
if (_parent.myarray[y][x]) {
_x = 1000;
} else {
_x = (x * 60);
}
}
Instance of Symbol 35 MovieClip in Symbol 36 MovieClip Frame 1
onClipEvent (load) {
x = _x / 60;
y = _y / 60;
}
onClipEvent (enterFrame) {
if (_parent.myarray[y][x]) {
_x = 1000;
} else {
_x = (x * 60);
}
}
Instance of Symbol 35 MovieClip in Symbol 36 MovieClip Frame 1
onClipEvent (load) {
x = _x / 60;
y = _y / 60;
}
onClipEvent (enterFrame) {
if (_parent.myarray[y][x]) {
_x = 1000;
} else {
_x = (x * 60);
}
}
Instance of Symbol 35 MovieClip in Symbol 36 MovieClip Frame 1
onClipEvent (load) {
x = _x / 60;
y = _y / 60;
}
onClipEvent (enterFrame) {
if (_parent.myarray[y][x]) {
_x = 1000;
} else {
_x = (x * 60);
}
}
Instance of Symbol 35 MovieClip in Symbol 36 MovieClip Frame 1
onClipEvent (load) {
x = _x / 60;
y = _y / 60;
}
onClipEvent (enterFrame) {
if (_parent.myarray[y][x]) {
_x = 1000;
} else {
_x = (x * 60);
}
}
Instance of Symbol 35 MovieClip in Symbol 36 MovieClip Frame 1
onClipEvent (load) {
x = _x / 60;
y = _y / 60;
}
onClipEvent (enterFrame) {
if (_parent.myarray[y][x]) {
_x = 1000;
} else {
_x = (x * 60);
}
}
Instance of Symbol 35 MovieClip in Symbol 36 MovieClip Frame 1
onClipEvent (load) {
x = _x / 60;
y = _y / 60;
}
onClipEvent (enterFrame) {
if (_parent.myarray[y][x]) {
_x = 1000;
} else {
_x = (x * 60);
}
}
Instance of Symbol 35 MovieClip in Symbol 36 MovieClip Frame 1
onClipEvent (load) {
x = _x / 60;
y = _y / 60;
}
onClipEvent (enterFrame) {
if (_parent.myarray[y][x]) {
_x = 1000;
} else {
_x = (x * 60);
}
}
Instance of Symbol 35 MovieClip in Symbol 36 MovieClip Frame 1
onClipEvent (load) {
x = _x / 60;
y = _y / 60;
}
onClipEvent (enterFrame) {
if (_parent.myarray[y][x]) {
_x = 1000;
} else {
_x = (x * 60);
}
}
Instance of Symbol 35 MovieClip in Symbol 36 MovieClip Frame 1
onClipEvent (load) {
x = _x / 60;
y = _y / 60;
}
onClipEvent (enterFrame) {
if (_parent.myarray[y][x]) {
_x = 1000;
} else {
_x = (x * 60);
}
}
Instance of Symbol 35 MovieClip in Symbol 36 MovieClip Frame 1
onClipEvent (load) {
x = _x / 60;
y = _y / 60;
}
onClipEvent (enterFrame) {
if (_parent.myarray[y][x]) {
_x = 1000;
} else {
_x = (x * 60);
}
}
Instance of Symbol 35 MovieClip in Symbol 36 MovieClip Frame 1
onClipEvent (load) {
x = _x / 60;
y = _y / 60;
}
onClipEvent (enterFrame) {
if (_parent.myarray[y][x]) {
_x = 1000;
} else {
_x = (x * 60);
}
}
Instance of Symbol 35 MovieClip in Symbol 36 MovieClip Frame 1
onClipEvent (load) {
x = _x / 60;
y = _y / 60;
}
onClipEvent (enterFrame) {
if (_parent.myarray[y][x]) {
_x = 1000;
} else {
_x = (x * 60);
}
}
Instance of Symbol 35 MovieClip in Symbol 36 MovieClip Frame 1
onClipEvent (load) {
x = _x / 60;
y = _y / 60;
}
onClipEvent (enterFrame) {
if (_parent.myarray[y][x]) {
_x = 1000;
} else {
_x = (x * 60);
}
}
Instance of Symbol 35 MovieClip in Symbol 36 MovieClip Frame 1
onClipEvent (load) {
x = _x / 60;
y = _y / 60;
}
onClipEvent (enterFrame) {
if (_parent.myarray[y][x]) {
_x = 1000;
} else {
_x = (x * 60);
}
}
Instance of Symbol 35 MovieClip in Symbol 36 MovieClip Frame 1
onClipEvent (load) {
x = _x / 60;
y = _y / 60;
}
onClipEvent (enterFrame) {
if (_parent.myarray[y][x]) {
_x = 1000;
} else {
_x = (x * 60);
}
}
Instance of Symbol 35 MovieClip in Symbol 36 MovieClip Frame 1
onClipEvent (load) {
x = _x / 60;
y = _y / 60;
}
onClipEvent (enterFrame) {
if (_parent.myarray[y][x]) {
_x = 1000;
} else {
_x = (x * 60);
}
}
Instance of Symbol 35 MovieClip in Symbol 36 MovieClip Frame 1
onClipEvent (load) {
x = _x / 60;
y = _y / 60;
}
onClipEvent (enterFrame) {
if (_parent.myarray[y][x]) {
_x = 1000;
} else {
_x = (x * 60);
}
}
Instance of Symbol 35 MovieClip in Symbol 36 MovieClip Frame 1
onClipEvent (load) {
x = _x / 60;
y = _y / 60;
}
onClipEvent (enterFrame) {
if (_parent.myarray[y][x]) {
_x = 1000;
} else {
_x = (x * 60);
}
}
Instance of Symbol 35 MovieClip in Symbol 36 MovieClip Frame 1
onClipEvent (load) {
x = _x / 60;
y = _y / 60;
}
onClipEvent (enterFrame) {
if (_parent.myarray[y][x]) {
_x = 1000;
} else {
_x = (x * 60);
}
}
Symbol 36 MovieClip Frame 2
ranx = random(9);
rany = random(7);
if (myarray[rany][ranx]) {
myarray[rany][ranx] = 0;
} else {
myarray[rany][ranx] = 1;
}
Symbol 36 MovieClip Frame 4
gotoAndPlay (2);
Symbol 39 MovieClip [bg4] Frame 1
onEnterFrame = function () {
if (!_root.backgrounds) {
gotoAndStop (2);
} else {
gotoAndStop (1);
}
};
Symbol 41 MovieClip Frame 1
function ADVhit(xpos, ypos, r, object) {
i = 0;
while (i < 360) {
x = xpos + (r * Math.sin(i * (Math.PI/180)));
y = ypos - (r * Math.cos(i * (Math.PI/180)));
if (_root.bg3[object].hitTest(x, y, true)) {
return(true);
}
i = i + 45;
}
}
Symbol 42 MovieClip [bg3] Frame 1
onEnterFrame = function () {
if (!_root.backgrounds) {
gotoAndStop (2);
} else {
gotoAndStop (1);
}
};
Instance of Symbol 41 MovieClip "ball1" in Symbol 42 MovieClip [bg3] Frame 1
onClipEvent (load) {
_height = (random(50) + 25);
_width = (random(50) + 25);
xspeed = random(40) - 20;
yspeed = random(40) - 20;
r = _width / 2;
}
onClipEvent (enterFrame) {
_x = (_x + xspeed);
_y = (_y + yspeed);
if (ADVhit(_x, _y, r, "ball2")) {
xspeed = (_x - _root.bg3.ball2._x) / 4;
yspeed = (_y - _root.bg3.ball2._y) / 4;
_root.bg3.ball2.xspeed = (_root.bg3.ball2._x - _x) / 4;
_root.bg3.ball2.yspeed = (_root.bg3.ball2._y - _y) / 4;
}
if (ADVhit(_x, _y, r, "ball3")) {
xspeed = (_x - _root.bg3.ball2._x) / 4;
yspeed = (_y - _root.bg3.ball2._y) / 4;
_root.bg3.ball3.xspeed = (_root.bg3.ball3._x - _x) / 4;
_root.bg3.ball3.yspeed = (_root.bg3.ball2._y - _y) / 4;
}
if (ADVhit(_x, _y, r, "ball4")) {
xspeed = (_x - _root.bg3.ball4._x) / 4;
yspeed = (_y - _root.bg3.ball4._y) / 4;
_root.bg3.ball4.xspeed = (_root.bg3.ball4._x - _x) / 4;
_root.bg3.ball4.yspeed = (_root.bg3.ball4._y - _y) / 4;
}
if (ADVhit(_x, _y, r, "ball5")) {
xspeed = (_x - _root.bg3.ball5._x) / 4;
yspeed = (_y - _root.bg3.ball5._y) / 4;
_root.bg3.ball5.xspeed = (_root.bg3.ball5._x - _x) / 4;
_root.bg3.ball5.yspeed = (_root.bg3.ball5._y - _y) / 4;
}
if ((_x - r) <= 0) {
xspeed = -xspeed;
}
if ((_x + r) >= 540) {
xspeed = -xspeed;
}
if ((_y - r) <= 0) {
yspeed = -yspeed;
}
if ((_y + r) >= 420) {
yspeed = -yspeed;
}
}
Instance of Symbol 41 MovieClip "ball2" in Symbol 42 MovieClip [bg3] Frame 1
onClipEvent (load) {
_height = (random(50) + 25);
_width = (random(50) + 25);
xspeed = random(40) - 20;
yspeed = random(40) - 20;
r = _width / 2;
}
onClipEvent (enterFrame) {
_x = (_x + xspeed);
_y = (_y + yspeed);
if (ADVhit(_x, _y, r, "ball1")) {
xspeed = (_x - _root.bg3.ball1._x) / 4;
yspeed = (_y - _root.bg3.ball1._y) / 4;
_root.bg3.ball1.xspeed = (_root.bg3.ball1._x - _x) / 4;
_root.bg3.ball1.yspeed = (_root.bg3.ball1._y - _y) / 4;
}
if (ADVhit(_x, _y, r, "ball3")) {
xspeed = (_x - _root.bg3.ball2._x) / 4;
yspeed = (_y - _root.bg3.ball2._y) / 4;
_root.bg3.ball3.xspeed = (_root.bg3.ball3._x - _x) / 4;
_root.bg3.ball3.yspeed = (_root.bg3.ball2._y - _y) / 4;
}
if (ADVhit(_x, _y, r, "ball4")) {
xspeed = (_x - _root.bg3.ball4._x) / 4;
yspeed = (_y - _root.bg3.ball4._y) / 4;
_root.bg3.ball4.xspeed = (_root.bg3.ball4._x - _x) / 4;
_root.bg3.ball4.yspeed = (_root.bg3.ball4._y - _y) / 4;
}
if (ADVhit(_x, _y, r, "ball5")) {
xspeed = (_x - _root.bg3.ball5._x) / 4;
yspeed = (_y - _root.bg3.ball5._y) / 4;
_root.bg3.ball5.xspeed = (_root.bg3.ball5._x - _x) / 4;
_root.bg3.ball5.yspeed = (_root.bg3.ball5._y - _y) / 4;
}
if ((_x - r) <= 0) {
xspeed = -xspeed;
}
if ((_x + r) >= 540) {
xspeed = -xspeed;
}
if ((_y - r) <= 0) {
yspeed = -yspeed;
}
if ((_y + r) >= 420) {
yspeed = -yspeed;
}
}
Instance of Symbol 41 MovieClip "ball3" in Symbol 42 MovieClip [bg3] Frame 1
onClipEvent (load) {
_height = (random(50) + 25);
_width = (random(50) + 25);
xspeed = random(40) - 20;
yspeed = random(40) - 20;
r = _width / 2;
}
onClipEvent (enterFrame) {
_x = (_x + xspeed);
_y = (_y + yspeed);
if (ADVhit(_x, _y, r, "ball1")) {
xspeed = (_x - _root.bg3.ball1._x) / 4;
yspeed = (_y - _root.bg3.ball1._y) / 4;
_root.bg3.ball1.xspeed = (_root.bg3.ball1._x - _x) / 4;
_root.bg3.ball1.yspeed = (_root.bg3.ball1._y - _y) / 4;
}
if (ADVhit(_x, _y, r, "ball2")) {
xspeed = (_x - _root.bg3.ball2._x) / 4;
yspeed = (_y - _root.bg3.ball2._y) / 4;
_root.bg3.ball2.xspeed = (_root.bg3.ball2._x - _x) / 4;
_root.bg3.ball2.yspeed = (_root.bg3.ball2._y - _y) / 4;
}
if (ADVhit(_x, _y, r, "ball4")) {
xspeed = (_x - _root.bg3.ball4._x) / 4;
yspeed = (_y - _root.bg3.ball4._y) / 4;
_root.bg3.ball4.xspeed = (_root.bg3.ball4._x - _x) / 4;
_root.bg3.ball4.yspeed = (_root.bg3.ball4._y - _y) / 4;
}
if (ADVhit(_x, _y, r, "ball5")) {
xspeed = (_x - _root.bg3.ball5._x) / 4;
yspeed = (_y - _root.bg3.ball5._y) / 4;
_root.bg3.ball5.xspeed = (_root.bg3.ball5._x - _x) / 4;
_root.bg3.ball5.yspeed = (_root.bg3.ball5._y - _y) / 4;
}
if ((_x - r) <= 0) {
xspeed = -xspeed;
}
if ((_x + r) >= 540) {
xspeed = -xspeed;
}
if ((_y - r) <= 0) {
yspeed = -yspeed;
}
if ((_y + r) >= 420) {
yspeed = -yspeed;
}
}
Instance of Symbol 41 MovieClip "ball4" in Symbol 42 MovieClip [bg3] Frame 1
onClipEvent (load) {
_height = (random(50) + 25);
_width = (random(50) + 25);
xspeed = random(40) - 20;
yspeed = random(40) - 20;
r = _width / 2;
}
onClipEvent (enterFrame) {
_x = (_x + xspeed);
_y = (_y + yspeed);
if (ADVhit(_x, _y, r, "ball1")) {
xspeed = (_x - _root.bg3.ball1._x) / 4;
yspeed = (_y - _root.bg3.ball1._y) / 4;
_root.bg3.ball1.xspeed = (_root.bg3.ball1._x - _x) / 4;
_root.bg3.ball1.yspeed = (_root.bg3.ball1._y - _y) / 4;
}
if (ADVhit(_x, _y, r, "ball2")) {
xspeed = (_x - _root.bg3.ball2._x) / 4;
yspeed = (_y - _root.bg3.ball2._y) / 4;
_root.bg3.ball2.xspeed = (_root.bg3.ball2._x - _x) / 4;
_root.bg3.ball2.yspeed = (_root.bg3.ball2._y - _y) / 4;
}
if (ADVhit(_x, _y, r, "ball3")) {
xspeed = (_x - _root.bg3.ball2._x) / 4;
yspeed = (_y - _root.bg3.ball2._y) / 4;
_root.bg3.ball3.xspeed = (_root.bg3.ball3._x - _x) / 4;
_root.bg3.ball3.yspeed = (_root.bg3.ball2._y - _y) / 4;
}
if (ADVhit(_x, _y, r, "ball5")) {
xspeed = (_x - _root.bg3.ball5._x) / 4;
yspeed = (_y - _root.bg3.ball5._y) / 4;
_root.bg3.ball5.xspeed = (_root.bg3.ball5._x - _x) / 4;
_root.bg3.ball5.yspeed = (_root.bg3.ball5._y - _y) / 4;
}
if ((_x - r) <= 0) {
xspeed = -xspeed;
}
if ((_x + r) >= 540) {
xspeed = -xspeed;
}
if ((_y - r) <= 0) {
yspeed = -yspeed;
}
if ((_y + r) >= 420) {
yspeed = -yspeed;
}
}
Instance of Symbol 41 MovieClip "ball5" in Symbol 42 MovieClip [bg3] Frame 1
onClipEvent (load) {
_height = (random(50) + 25);
_width = (random(50) + 25);
xspeed = random(40) - 20;
yspeed = random(40) - 20;
r = _width / 2;
}
onClipEvent (enterFrame) {
_x = (_x + xspeed);
_y = (_y + yspeed);
if (ADVhit(_x, _y, r, "ball1")) {
xspeed = (_x - _root.bg3.ball1._x) / 4;
yspeed = (_y - _root.bg3.ball1._y) / 4;
_root.bg3.ball1.xspeed = (_root.bg3.ball1._x - _x) / 4;
_root.bg3.ball1.yspeed = (_root.bg3.ball1._y - _y) / 4;
}
if (ADVhit(_x, _y, r, "ball2")) {
xspeed = (_x - _root.bg3.ball2._x) / 4;
yspeed = (_y - _root.bg3.ball2._y) / 4;
_root.bg3.ball2.xspeed = (_root.bg3.ball2._x - _x) / 4;
_root.bg3.ball2.yspeed = (_root.bg3.ball2._y - _y) / 4;
}
if (ADVhit(_x, _y, r, "ball3")) {
xspeed = (_x - _root.bg3.ball2._x) / 4;
yspeed = (_y - _root.bg3.ball2._y) / 4;
_root.bg3.ball3.xspeed = (_root.bg3.ball3._x - _x) / 4;
_root.bg3.ball3.yspeed = (_root.bg3.ball2._y - _y) / 4;
}
if (ADVhit(_x, _y, r, "ball4")) {
xspeed = (_x - _root.bg3.ball4._x) / 4;
yspeed = (_y - _root.bg3.ball4._y) / 4;
_root.bg3.ball4.xspeed = (_root.bg3.ball4._x - _x) / 4;
_root.bg3.ball4.yspeed = (_root.bg3.ball4._y - _y) / 4;
}
if ((_x - r) <= 0) {
xspeed = -xspeed;
}
if ((_x + r) >= 540) {
xspeed = -xspeed;
}
if ((_y - r) <= 0) {
yspeed = -yspeed;
}
if ((_y + r) >= 420) {
yspeed = -yspeed;
}
}
Symbol 46 MovieClip [bg2] Frame 1
onEnterFrame = function () {
if (!_root.backgrounds) {
gotoAndStop (2);
} else {
gotoAndStop (1);
}
};
Instance of Symbol 45 MovieClip in Symbol 46 MovieClip [bg2] Frame 1
onClipEvent (enterFrame) {
_rotation = (_rotation + 5);
}
Instance of Symbol 45 MovieClip in Symbol 46 MovieClip [bg2] Frame 1
onClipEvent (enterFrame) {
_rotation = (_rotation - 5);
}
Instance of Symbol 52 MovieClip in Symbol 63 MovieClip Frame 2
onClipEvent (enterFrame) {
_rotation = (_rotation + 10);
}
Instance of Symbol 67 MovieClip in Symbol 79 MovieClip Frame 2
onClipEvent (enterFrame) {
_rotation = (_rotation + 10);
}
Instance of Symbol 63 MovieClip in Symbol 80 MovieClip [bigblock] Frame 1
onClipEvent (load) {
gotoAndStop(_root.level);
}
Instance of Symbol 79 MovieClip in Symbol 80 MovieClip [bigblock] Frame 2
onClipEvent (load) {
gotoAndStop(_root.level);
}
Instance of Symbol 86 MovieClip in Symbol 93 MovieClip [block] Frame 1
onClipEvent (load) {
gotoAndStop(_root.level);
}
onClipEvent (enterFrame) {
gotoAndStop(_root.level);
}
Instance of Symbol 92 MovieClip in Symbol 93 MovieClip [block] Frame 2
onClipEvent (load) {
gotoAndStop(_root.level);
}
onClipEvent (enterFrame) {
gotoAndStop(_root.level);
}
Symbol 98 MovieClip Frame 1
loaded = _root.getBytesLoaded();
Symbol 98 MovieClip Frame 24
if (_root.getBytesLoaded() eq _root.getBytesTotal()) {
_root.timeleft.text = "Download Complete!";
} else {
_root.timeleft.text = ((Math.round((_root.getBytesLoaded() - loaded) / 1000) + " KB/s - ") + Math.round((_root.getBytesTotal() - _root.getBytesLoaded()) / (_root.getBytesLoaded() - loaded))) + " seconds left";
}
Symbol 101 MovieClip Frame 500
_root.play();
Symbol 119 MovieClip Frame 177
stop();
Symbol 121 Button
on (release) {
getURL ("http://www.gamesofgondor.com/", "_blank");
}
Symbol 123 MovieClip Frame 1
if (_global.System) {
System.security.allowDomain("mochibot.com");
}
_level0.__com_mochibot__swfid = "0191e496";
loadMovieNum ("http://mochibot.com/my/core.swf", 10301);
Symbol 133 MovieClip Frame 1
stop();
Symbol 143 Button
on (release) {
gotoAndStop (6);
}
Symbol 149 Button
on (release) {
_quality = "LOW";
}
Symbol 151 Button
on (release) {
_quality = "MEDIUM";
}
Symbol 153 Button
on (release) {
_quality = "HIGH";
}
Symbol 162 MovieClip Frame 1
_root.backgrounds = 1;
stop();
Symbol 162 MovieClip Frame 2
_root.backgrounds = 0;
stop();
Symbol 163 Button
on (release) {
bgstatus.play();
}
Symbol 174 Button
on (release) {
_root.music = "dance";
_root.play();
music.stop();
stopAllSounds();
}
on (rollOver) {
music = new Sound(this);
music.attachSound("dance5");
music.start(0, 99999);
}
on (rollOut) {
music.stop();
}
Symbol 175 Button
on (release) {
_root.music = "techno";
_root.play();
music.stop();
stopAllSounds();
}
on (rollOver) {
music = new Sound(this);
music.attachSound("techno5");
music.start(0, 99999);
}
on (rollOut) {
music.stop();
}
Symbol 176 Button
on (release) {
_root.music = "hiphop";
_root.play();
music.stop();
stopAllSounds();
}
on (rollOver) {
music = new Sound(this);
music.attachSound("hiphop5");
music.start(0, 99999);
}
on (rollOut) {
music.stop();
}
Symbol 182 Button
on (release) {
_root.music1 = new Sound();
_root.music1.loadSound(Song1.text + ".mp3", true);
_root.music1.setVolume(_root.volume);
_root.music1.start();
}
Symbol 186 Button
on (release) {
stopAllSounds();
}
Symbol 191 Button
on (release) {
_root.music = " ";
_root.play();
music.stop();
stopAllSounds();
_root.custom = new Sound();
_root.custom.loadSound(Song1.text + ".mp3", true);
_root.custom.setVolume(_root.volume);
_root.custom.stop();
}
Symbol 194 Button
on (release) {
gotoAndStop (7);
}
Symbol 196 MovieClip Frame 1
stop();
Instance of Symbol 158 MovieClip "musicvol" in Symbol 196 MovieClip Frame 3
onClipEvent (load) {
this.adjust._x = 100;
}
onClipEvent (enterFrame) {
if (follow) {
this.adjust._x = _root._xmouse - this._x;
}
if (adjust._x < 0) {
adjust._x = 0;
}
if (100 < adjust._x) {
adjust._x = 100;
}
_root.volume = adjust._x;
}
onClipEvent (mouseDown) {
if (this.hitTest(_root.mouse)) {
follow = true;
}
}
onClipEvent (mouseUp) {
follow = false;
}
Symbol 199 Button
on (release) {
_root.screen.gotoAndStop(5);
}
Symbol 200 Button
on (release) {
_root.screen.gotoAndStop(2);
}
Symbol 201 Button
on (release) {
_root.screen.gotoAndStop(3);
}
Symbol 202 Button
on (release) {
_root.screen.gotoAndStop(4);
}
Symbol 203 Button
on (release) {
getURL ("http://www.gamesofgondor.com/", "_blank");
}
Symbol 212 MovieClip Frame 1
_root.pause = false;
stop();
Symbol 212 MovieClip Frame 2
_root.pause = true;
stop();
Symbol 215 MovieClip Frame 1
_root.combo = 0;
Symbol 215 MovieClip Frame 90
if (_root.combo > 1) {
combotext.text = "COMBO X" + _root.combo;
_root.score = _root.score + (_root.combo * (_root.combo * 10));
if (_root.combo == 2) {
_root.combo2.start(0, 0);
} else if (_root.combo == 3) {
_root.combo3.start(0, 0);
} else {
_root.combo4.start(0, 0);
}
} else {
combotext.text = " ";
}
Symbol 236 Button
on (release) {
play();
}
Symbol 239 MovieClip Frame 1
stop();
_root._quality = "HIGH";
Symbol 239 MovieClip Frame 2
stop();
_root._quality = "MEDIUM";
Symbol 239 MovieClip Frame 3
stop();
_root._quality = "LOW";
Symbol 240 Button
on (release) {
_root.gotoAndStop(_root._currentframe + 3);
}
Symbol 242 Button
on (release) {
_root.pausescreen.play();
}
Symbol 244 Button
on (release) {
if (_root.backgrounds) {
_root.backgrounds = false;
} else {
_root.backgrounds = true;
}
}
Symbol 246 MovieClip Frame 1
gettimer = getTimer();
seconds = 0;
minutes = 0;
this.onEnterFrame = function () {
if (!_root.pause) {
if ((getTimer() - gettimer) > 1000) {
seconds++;
gettimer = getTimer();
}
if (seconds >= 60) {
minutes++;
seconds = 0;
}
time.text = (minutes + ":") + seconds;
_root.time = (minutes + ":") + seconds;
}
if (Key.isDown(66)) {
pressed = false;
}
if (Key.isDown(66) and (!pressed)) {
pressed = true;
if (_root.backgrounds) {
_root.backgrounds = false;
} else {
_root.backgrounds = true;
}
}
};
Instance of Symbol 228 MovieClip in Symbol 246 MovieClip Frame 1
onClipEvent (enterFrame) {
gotoAndStop(_root.timer + 1);
if (!_root.movement) {
gotoAndStop (1);
}
}
Instance of Symbol 234 MovieClip in Symbol 246 MovieClip Frame 1
onClipEvent (load) {
gotoAndStop (200);
z = 3;
}
onClipEvent (enterFrame) {
if (!pause) {
if (!z) {
z = 3;
prevFrame();
}
if (lastscore < _root.score) {
gotoAndStop((_currentframe + _root.score) - lastscore);
}
lastscore = _root.score;
z--;
if (_currentframe == 400) {
if (_root.level < 5) {
_root.level++;
gotoAndStop (200);
} else {
_root.gotoAndStop(_root._currentframe + 2);
}
}
if (_currentframe == 1) {
if (_root.level > 1) {
_root.level--;
gotoAndStop (200);
_root.score = _root.score / 2;
} else {
_root.nextFrame();
}
}
}
}
Instance of Symbol 239 MovieClip in Symbol 246 MovieClip Frame 1
onClipEvent (enterFrame) {
if (!Key.isDown(81)) {
pressed = false;
}
if (Key.isDown(81) and (!pressed)) {
this.play();
pressed = true;
}
}
Symbol 247 Button
on (release) {
gotoAndPlay (2);
}
Symbol 248 Button
on (release) {
gotoAndPlay (311);
}