Frame 1
function gotojayc() {
getURL ("http://www.jumpropestudios.com/jayc", "_blank");
}
function goTo() {
getURL ("http://www.MoFunZone.com", "_blank");
}
fscommand ("allowscale", "false");
fscommand ("trapallkeys", "false");
Stage.showMenu = true;
_focusrect = false;
_root._quality = "HIGH";
var my_cm = new ContextMenu();
my_cm.hideBuiltInItems();
my_cm.customItems.push(new ContextMenuItem("MoFunZone.com - Play More Games", goTo));
my_cm.customItems.push(new ContextMenuItem(" (c) Jayc Santos", gotojayc));
_root.menu = my_cm;
stop();
Frame 2
stop();
Instance of Symbol 163 MovieClip in Frame 2
onClipEvent (load) {
gotojayc = function () {
getURL ("http://www.jumpropestudios.com/jayc", "_blank");
};
goTo = function () {
getURL ("http://www.MoFunZone.com", "_blank");
};
var my_cm = new ContextMenu();
my_cm.hideBuiltInItems();
my_cm.customItems.push(new ContextMenuItem("MoFunZone.com - Play More Games", goTo));
my_cm.customItems.push(new ContextMenuItem("(c) GAWANG JAYC", gotojayc, true));
my_cm.customItems.push(new ContextMenuItem("Developed by: Jayc Santos", gotojayc));
my_cm.customItems.push(new ContextMenuItem("http://www.jumpropestudios.com/jayc", gotojayc));
this.menu = my_cm;
onRelease = function () {
gotojayc();
};
}
Frame 3
stop();
Symbol 31 MovieClip Frame 11
_parent.gotoAndStop(2);
Symbol 41 MovieClip Frame 1
this.onEnterFrame = function () {
bytesloaded = Math.round(_root.getBytesLoaded());
bytestotal = Math.round(_root.getBytesTotal());
percent = bytesloaded / bytestotal;
barmask._xscale = percent * 100;
};
Symbol 73 MovieClip Frame 1
if (Math.random() > 0.5) {
_xscale = (-_xscale);
_x = (_x - _parent.shiftamt);
}
Symbol 73 MovieClip Frame 90
if (_parent.isloaded) {
_parent.gotoAndStop(10);
} else {
thenextframe = Math.ceil(Math.random() * 8) + 1;
if (thenextframe == _parent._currentframe) {
_parent.nextFrame();
} else {
_parent.gotoAndStop(thenextframe);
}
}
Symbol 84 MovieClip Frame 1
if (Math.random() > 0.5) {
_xscale = (-_xscale);
_x = (_x - _parent.shiftamt);
}
Symbol 84 MovieClip Frame 90
if (_parent.isloaded) {
_parent.gotoAndStop(10);
} else {
thenextframe = Math.ceil(Math.random() * 8) + 1;
if (thenextframe == _parent._currentframe) {
_parent.nextFrame();
} else {
_parent.gotoAndStop(thenextframe);
}
}
Symbol 92 MovieClip Frame 1
if (Math.random() > 0.5) {
_xscale = (-_xscale);
_x = (_x - _parent.shiftamt);
}
Symbol 92 MovieClip Frame 90
if (_parent.isloaded) {
_parent.gotoAndStop(10);
} else {
thenextframe = Math.ceil(Math.random() * 8) + 1;
if (thenextframe == _parent._currentframe) {
_parent.nextFrame();
} else {
_parent.gotoAndStop(thenextframe);
}
}
Symbol 100 MovieClip Frame 1
if (Math.random() > 0.5) {
_xscale = (-_xscale);
_x = (_x - _parent.shiftamt);
}
Symbol 100 MovieClip Frame 90
if (_parent.isloaded) {
_parent.gotoAndStop(10);
} else {
thenextframe = Math.ceil(Math.random() * 8) + 1;
if (thenextframe == _parent._currentframe) {
_parent.nextFrame();
} else {
_parent.gotoAndStop(thenextframe);
}
}
Symbol 108 MovieClip Frame 1
if (Math.random() > 0.5) {
_xscale = (-_xscale);
_x = (_x - _parent.shiftamt);
}
Symbol 108 MovieClip Frame 90
if (_parent.isloaded) {
_parent.gotoAndStop(10);
} else {
thenextframe = Math.ceil(Math.random() * 8) + 1;
if (thenextframe == _parent._currentframe) {
_parent.nextFrame();
} else {
_parent.gotoAndStop(thenextframe);
}
}
Symbol 116 MovieClip Frame 1
if (Math.random() > 0.5) {
_xscale = (-_xscale);
_x = (_x - _parent.shiftamt);
}
Symbol 116 MovieClip Frame 90
if (_parent.isloaded) {
_parent.gotoAndStop(10);
} else {
thenextframe = Math.ceil(Math.random() * 8) + 1;
if (thenextframe == _parent._currentframe) {
_parent.nextFrame();
} else {
_parent.gotoAndStop(thenextframe);
}
}
Symbol 124 MovieClip Frame 1
if (Math.random() > 0.5) {
_xscale = (-_xscale);
_x = (_x - _parent.shiftamt);
}
Symbol 124 MovieClip Frame 90
if (_parent.isloaded) {
_parent.gotoAndStop(10);
} else {
thenextframe = Math.ceil(Math.random() * 8) + 1;
if (thenextframe == _parent._currentframe) {
_parent.nextFrame();
} else {
_parent.gotoAndStop(thenextframe);
}
}
Symbol 132 MovieClip Frame 1
if (Math.random() > 0.5) {
_xscale = (-_xscale);
_x = (_x - _parent.shiftamt);
}
Symbol 132 MovieClip Frame 90
if (_parent.isloaded) {
_parent.gotoAndStop(10);
} else {
thenextframe = Math.ceil(Math.random() * 8) + 1;
if (thenextframe == _parent._currentframe) {
_parent.gotoAndStop(2);
} else {
_parent.gotoAndStop(thenextframe);
}
}
Symbol 139 MovieClip Frame 133
_root.play();
Symbol 140 MovieClip Frame 1
stop();
_root.stop();
shiftamt = 17;
isloaded = false;
this.onEnterFrame = function () {
bytesloaded = Math.round(_root.getBytesLoaded());
bytestotal = Math.round(_root.getBytesTotal());
percent = bytesloaded / bytestotal;
if (bytesloaded == bytestotal) {
isloaded = true;
}
};
this.onRelease = function () {
getURL ("http://www.mofunzone.com/", "_blank");
};
Symbol 147 MovieClip Frame 112
stop();
_parent.nextFrame();
Symbol 163 MovieClip Frame 1
stop();
Symbol 163 MovieClip Frame 2
loadingtxt.text = ("LOADING... " + Math.floor((_root.getBytesLoaded() / _root.getBytesTotal()) * 100)) + " / 100";
if (_root.getBytesLoaded() == _root.getBytesTotal()) {
_parent.nextFrame();
} else {
createEmptyMovieClip("p", 2);
p.onEnterFrame = function () {
if (_root.getBytesLoaded() == _root.getBytesTotal()) {
delete p.onEnterFrame;
removeMovieClip(p);
_parent.nextFrame();
}
loadingtxt.text = ("LOADING... " + Math.floor((_root.getBytesLoaded() / _root.getBytesTotal()) * 100)) + " / 100";
};
}
stop();
Symbol 182 Button
on (release) {
getURL ("http://www.MoFunZone.com/", "_blank");
}
Symbol 194 MovieClip Frame 1
stop();
Symbol 195 Button
on (release) {
getURL ("http://www.MoFunZone.com/", "_blank");
}
Symbol 196 Button
on (release) {
if (_parent.game.saved && (_parent.game.accounts.length == _parent.game.maxacct)) {
prompt_slot._visible = true;
prompt_slot._x = 120;
prompt_slot._y = 160;
btn1.enabled = false;
btn2.enabled = false;
btn3.enabled = false;
btn4.enabled = false;
} else {
target = "new";
play();
}
}
Symbol 197 Button
on (release) {
target = "instruction";
play();
}
Symbol 198 Button
on (release) {
target = "load";
play();
}
Symbol 202 Button
on (release) {
this._visible = false;
_parent.btn1.enabled = true;
_parent.btn2.enabled = true;
_parent.btn3.enabled = true;
_parent.btn4.enabled = true;
}
Symbol 224 MovieClip Frame 24
stop();
Instance of Symbol 224 MovieClip in Symbol 225 MovieClip Frame 1
onClipEvent (load) {
gotoAndPlay (12);
}
Instance of Symbol 224 MovieClip in Symbol 225 MovieClip Frame 1
onClipEvent (load) {
gotoAndPlay (6);
}
Instance of Symbol 224 MovieClip in Symbol 225 MovieClip Frame 1
onClipEvent (load) {
gotoAndPlay (18);
}
Instance of Symbol 224 MovieClip in Symbol 225 MovieClip Frame 24
onClipEvent (load) {
gotoAndPlay (12);
}
Instance of Symbol 224 MovieClip in Symbol 225 MovieClip Frame 24
onClipEvent (load) {
gotoAndPlay (6);
}
Instance of Symbol 224 MovieClip in Symbol 225 MovieClip Frame 24
onClipEvent (load) {
gotoAndPlay (18);
}
Instance of Symbol 224 MovieClip in Symbol 225 MovieClip Frame 48
onClipEvent (load) {
gotoAndPlay (12);
}
Instance of Symbol 224 MovieClip in Symbol 225 MovieClip Frame 48
onClipEvent (load) {
gotoAndPlay (6);
}
Instance of Symbol 224 MovieClip in Symbol 225 MovieClip Frame 48
onClipEvent (load) {
gotoAndPlay (18);
}
Instance of Symbol 224 MovieClip in Symbol 225 MovieClip Frame 72
onClipEvent (load) {
gotoAndPlay (12);
}
Instance of Symbol 224 MovieClip in Symbol 225 MovieClip Frame 72
onClipEvent (load) {
gotoAndPlay (6);
}
Instance of Symbol 224 MovieClip in Symbol 225 MovieClip Frame 72
onClipEvent (load) {
gotoAndPlay (18);
}
Instance of Symbol 224 MovieClip in Symbol 225 MovieClip Frame 96
onClipEvent (load) {
gotoAndPlay (12);
}
Instance of Symbol 224 MovieClip in Symbol 225 MovieClip Frame 96
onClipEvent (load) {
gotoAndPlay (6);
}
Instance of Symbol 224 MovieClip in Symbol 225 MovieClip Frame 96
onClipEvent (load) {
gotoAndPlay (18);
}
Symbol 231 MovieClip Frame 12
stop();
Symbol 232 MovieClip Frame 1
stop();
Symbol 241 MovieClip Frame 1
stop();
Symbol 243 MovieClip Frame 1
stop();
Instance of Symbol 241 MovieClip "power" in Symbol 243 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
Symbol 243 MovieClip Frame 15
gotoAndStop (1);
Symbol 243 MovieClip Frame 39
gotoAndStop (1);
Symbol 243 MovieClip Frame 75
gotoAndStop (1);
Symbol 244 MovieClip Frame 24
stop();
Instance of Symbol 243 MovieClip in Symbol 244 MovieClip Frame 24
onClipEvent (load) {
var ctr = 0;
var pwr = 3;
onEnterFrame = function () {
ctr++;
if ((ctr % 16) == 0) {
this.power.gotoAndStop((ctr / 16) + 1);
this.power._visible = true;
var _local3 = new Sound();
_local3.attachSound("pinc");
_local3.start(0, 0);
} else if (ctr > ((pwr * 16) + 12)) {
this.power._visible = false;
this.gotoAndPlay("p" + pwr);
_parent.play();
delete onEnterFrame;
}
};
}
Instance of Symbol 232 MovieClip in Symbol 244 MovieClip Frame 25
onClipEvent (load) {
this.gotoAndStop(4);
}
Symbol 244 MovieClip Frame 77
stop();
Instance of Symbol 243 MovieClip in Symbol 244 MovieClip Frame 77
onClipEvent (load) {
var ctr = 0;
var pwr = 1;
onEnterFrame = function () {
ctr++;
if ((ctr % 16) == 0) {
this.power.gotoAndStop((ctr / 16) + 1);
this.power._visible = true;
var _local3 = new Sound();
_local3.attachSound("pinc");
_local3.start(0, 0);
} else if (ctr > ((pwr * 16) + 12)) {
this.power._visible = false;
this.gotoAndPlay("p" + pwr);
_parent.play();
delete onEnterFrame;
}
};
}
Instance of Symbol 232 MovieClip in Symbol 244 MovieClip Frame 78
onClipEvent (load) {
this.gotoAndStop(2);
}
Symbol 247 MovieClip Frame 1
stop();
Instance of Symbol 243 MovieClip in Symbol 247 MovieClip Frame 1
onClipEvent (load) {
var ctr = 0;
var pwr = 3;
onEnterFrame = function () {
ctr++;
if ((ctr % 16) == 0) {
this.power.gotoAndStop((ctr / 16) + 1);
this.power._visible = true;
var _local3 = new Sound();
_local3.attachSound("pinc");
_local3.start(0, 0);
} else if (ctr > ((pwr * 16) + 12)) {
this.power._visible = false;
this.gotoAndPlay("p" + pwr);
_parent.play();
delete onEnterFrame;
}
};
}
Instance of Symbol 232 MovieClip in Symbol 247 MovieClip Frame 2
onClipEvent (load) {
this.gotoAndStop(4);
}
Symbol 247 MovieClip Frame 77
stop();
Instance of Symbol 243 MovieClip in Symbol 247 MovieClip Frame 77
onClipEvent (load) {
var ctr = 0;
var pwr = 2;
onEnterFrame = function () {
ctr++;
if ((ctr % 16) == 0) {
this.power.gotoAndStop((ctr / 16) + 1);
this.power._visible = true;
var _local3 = new Sound();
_local3.attachSound("pinc");
_local3.start(0, 0);
} else if (ctr > ((pwr * 16) + 12)) {
this.power._visible = false;
this.gotoAndPlay("p" + pwr);
_parent.play();
delete onEnterFrame;
}
};
}
Instance of Symbol 232 MovieClip in Symbol 247 MovieClip Frame 78
onClipEvent (load) {
this.gotoAndStop(4);
}
Symbol 266 MovieClip Frame 1
stop();
Symbol 273 MovieClip Frame 1
stop();
Symbol 283 MovieClip Frame 1
stop();
Instance of Symbol 243 MovieClip in Symbol 283 MovieClip Frame 1
onClipEvent (load) {
var ctr = 0;
var pwr = 2;
onEnterFrame = function () {
ctr++;
if ((ctr % 12) == 0) {
this.power.gotoAndStop((ctr / 12) + 1);
this.power._visible = true;
var _local3 = new Sound();
_local3.attachSound("pinc");
_local3.start(0, 0);
} else if (ctr > ((pwr * 12) + 8)) {
this.power._visible = false;
this.gotoAndPlay("p" + pwr);
_parent.play();
delete onEnterFrame;
}
};
}
Instance of Symbol 232 MovieClip in Symbol 283 MovieClip Frame 2
onClipEvent (load) {
this.gotoAndStop(4);
}
Instance of Symbol 232 MovieClip in Symbol 283 MovieClip Frame 24
onClipEvent (load) {
gotoAndStop (10);
}
Symbol 283 MovieClip Frame 76
stop();
Instance of Symbol 243 MovieClip in Symbol 283 MovieClip Frame 76
onClipEvent (load) {
var ctr = 0;
var pwr = 3;
onEnterFrame = function () {
ctr++;
if ((ctr % 12) == 0) {
this.power.gotoAndStop((ctr / 12) + 1);
this.power._visible = true;
var _local3 = new Sound();
_local3.attachSound("pinc");
_local3.start(0, 0);
} else if (ctr > ((pwr * 12) + 8)) {
this.power._visible = false;
this.gotoAndPlay("p" + pwr);
_parent.play();
delete onEnterFrame;
}
};
}
Instance of Symbol 232 MovieClip in Symbol 283 MovieClip Frame 77
onClipEvent (load) {
this.gotoAndStop(4);
}
Symbol 285 MovieClip Frame 1
stop();
Instance of Symbol 243 MovieClip in Symbol 285 MovieClip Frame 1
onClipEvent (load) {
var ctr = 0;
var pwr = 3;
onEnterFrame = function () {
ctr++;
if ((ctr % 12) == 0) {
this.power.gotoAndStop((ctr / 12) + 1);
this.power._visible = true;
var _local3 = new Sound();
_local3.attachSound("pinc");
_local3.start(0, 0);
} else if (ctr > ((pwr * 12) + 8)) {
this.power._visible = false;
this.gotoAndPlay("p" + pwr);
_parent.play();
delete onEnterFrame;
}
};
}
Instance of Symbol 232 MovieClip in Symbol 285 MovieClip Frame 2
onClipEvent (load) {
this.gotoAndStop(4);
}
Instance of Symbol 232 MovieClip in Symbol 285 MovieClip Frame 24
onClipEvent (load) {
gotoAndStop (10);
}
Symbol 285 MovieClip Frame 76
stop();
Instance of Symbol 243 MovieClip in Symbol 285 MovieClip Frame 76
onClipEvent (load) {
var ctr = 0;
var pwr = 2;
onEnterFrame = function () {
trace(ctr);
ctr++;
if ((ctr % 12) == 0) {
this.power.gotoAndStop((ctr / 12) + 1);
this.power._visible = true;
var _local3 = new Sound();
_local3.attachSound("pinc");
_local3.start(0, 0);
} else if (ctr > ((pwr * 12) + 8)) {
this.power._visible = false;
this.gotoAndPlay("p" + pwr);
_parent.play();
delete onEnterFrame;
}
};
}
Instance of Symbol 232 MovieClip in Symbol 285 MovieClip Frame 77
onClipEvent (load) {
this.gotoAndStop(4);
}
Instance of Symbol 232 MovieClip in Symbol 285 MovieClip Frame 88
onClipEvent (load) {
gotoAndStop (10);
}
Symbol 285 MovieClip Frame 152
stop();
Instance of Symbol 243 MovieClip in Symbol 285 MovieClip Frame 152
onClipEvent (load) {
var ctr = 0;
var pwr = 3;
onEnterFrame = function () {
ctr++;
if ((ctr % 12) == 0) {
this.power.gotoAndStop((ctr / 12) + 1);
this.power._visible = true;
var _local3 = new Sound();
_local3.attachSound("pinc");
_local3.start(0, 0);
} else if (ctr > ((pwr * 12) + 8)) {
this.power._visible = false;
this.gotoAndPlay("p" + pwr);
_parent.play();
delete onEnterFrame;
}
};
}
Instance of Symbol 232 MovieClip in Symbol 285 MovieClip Frame 153
onClipEvent (load) {
this.gotoAndStop(4);
}
Symbol 287 MovieClip Frame 1
stop();
Instance of Symbol 261 MovieClip "trap" in Symbol 287 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndPlay(88);
}
Instance of Symbol 261 MovieClip "trap" in Symbol 287 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndPlay(36);
}
Instance of Symbol 243 MovieClip in Symbol 287 MovieClip Frame 1
onClipEvent (load) {
var ctr = 0;
var pwr = 3;
onEnterFrame = function () {
ctr++;
if ((ctr % 12) == 0) {
this.power.gotoAndStop((ctr / 12) + 1);
this.power._visible = true;
var _local3 = new Sound();
_local3.attachSound("pinc");
_local3.start(0, 0);
} else if (ctr > ((pwr * 12) + 8)) {
this.power._visible = false;
this.gotoAndPlay("p" + pwr);
_parent.play();
delete onEnterFrame;
}
};
}
Instance of Symbol 232 MovieClip in Symbol 287 MovieClip Frame 2
onClipEvent (load) {
this.gotoAndStop(4);
}
Instance of Symbol 232 MovieClip in Symbol 287 MovieClip Frame 24
onClipEvent (load) {
gotoAndStop (10);
}
Symbol 287 MovieClip Frame 76
stop();
Instance of Symbol 261 MovieClip "trap" in Symbol 287 MovieClip Frame 76
onClipEvent (load) {
gotoAndPlay (40);
}
Instance of Symbol 261 MovieClip "trap" in Symbol 287 MovieClip Frame 76
onClipEvent (load) {
gotoAndPlay (92);
}
Instance of Symbol 243 MovieClip in Symbol 287 MovieClip Frame 76
onClipEvent (load) {
var ctr = 0;
var pwr = 2;
onEnterFrame = function () {
trace(ctr);
ctr++;
if ((ctr % 12) == 0) {
this.power.gotoAndStop((ctr / 12) + 1);
this.power._visible = true;
var _local3 = new Sound();
_local3.attachSound("pinc");
_local3.start(0, 0);
} else if (ctr > ((pwr * 12) + 8)) {
this.power._visible = false;
this.gotoAndPlay("p" + pwr);
_parent.play();
delete onEnterFrame;
}
};
}
Instance of Symbol 232 MovieClip in Symbol 287 MovieClip Frame 77
onClipEvent (load) {
this.gotoAndStop(4);
}
Instance of Symbol 243 MovieClip in Symbol 287 MovieClip Frame 96
onClipEvent (load) {
var ctr = 0;
var pwr = 2;
onEnterFrame = function () {
ctr++;
if ((ctr % 12) == 0) {
this.power.gotoAndStop((ctr / 12) + 1);
this.power._visible = true;
var _local3 = new Sound();
_local3.attachSound("pinc");
_local3.start(0, 0);
} else if (ctr > ((pwr * 12) + 8)) {
this.power._visible = false;
this.gotoAndPlay("p" + pwr);
_parent.play();
delete onEnterFrame;
}
};
}
Symbol 287 MovieClip Frame 102
stop();
Symbol 290 MovieClip Frame 1
stop();
Instance of Symbol 243 MovieClip in Symbol 290 MovieClip Frame 1
onClipEvent (load) {
var ctr = 0;
var pwr = 2;
onEnterFrame = function () {
ctr++;
if ((ctr % 12) == 0) {
this.power.gotoAndStop((ctr / 12) + 1);
this.power._visible = true;
var _local3 = new Sound();
_local3.attachSound("pinc");
_local3.start(0, 0);
} else if (ctr > ((pwr * 12) + 8)) {
this.power._visible = false;
this.gotoAndPlay("p" + pwr);
_parent.play();
delete onEnterFrame;
}
};
}
Instance of Symbol 232 MovieClip in Symbol 290 MovieClip Frame 2
onClipEvent (load) {
this.gotoAndStop(4);
}
Instance of Symbol 232 MovieClip in Symbol 290 MovieClip Frame 24
onClipEvent (load) {
gotoAndStop (10);
}
Symbol 290 MovieClip Frame 76
stop();
Instance of Symbol 243 MovieClip in Symbol 290 MovieClip Frame 76
onClipEvent (load) {
var ctr = 0;
var pwr = 3;
onEnterFrame = function () {
ctr++;
if ((ctr % 12) == 0) {
this.power.gotoAndStop((ctr / 12) + 1);
this.power._visible = true;
var _local3 = new Sound();
_local3.attachSound("pinc");
_local3.start(0, 0);
} else if (ctr > ((pwr * 12) + 8)) {
this.power._visible = false;
this.gotoAndPlay("p" + pwr);
_parent.play();
delete onEnterFrame;
}
};
}
Instance of Symbol 232 MovieClip in Symbol 290 MovieClip Frame 77
onClipEvent (load) {
this.gotoAndStop(4);
}
Symbol 292 MovieClip Frame 1
play();
Symbol 292 MovieClip Frame 2
stop();
Instance of Symbol 243 MovieClip in Symbol 292 MovieClip Frame 2
onClipEvent (load) {
var ctr = 0;
var pwr = 3;
onEnterFrame = function () {
ctr++;
if ((ctr % 12) == 0) {
this.power.gotoAndStop((ctr / 12) + 1);
this.power._visible = true;
var _local3 = new Sound();
_local3.attachSound("pinc");
_local3.start(0, 0);
} else if (ctr > ((pwr * 12) + 8)) {
this.power._visible = false;
this.gotoAndPlay("p" + pwr);
_parent.play();
delete onEnterFrame;
}
};
}
Instance of Symbol 232 MovieClip in Symbol 292 MovieClip Frame 3
onClipEvent (load) {
this.gotoAndStop(4);
}
Instance of Symbol 268 MovieClip "wind" in Symbol 292 MovieClip Frame 13
onClipEvent (load) {
this.spinner.gotoAndPlay(2);
}
Instance of Symbol 232 MovieClip in Symbol 292 MovieClip Frame 13
onClipEvent (load) {
gotoAndStop (4);
}
Symbol 295 MovieClip Frame 1
stop();
Instance of Symbol 243 MovieClip in Symbol 295 MovieClip Frame 1
onClipEvent (load) {
var ctr = 0;
var pwr = 3;
onEnterFrame = function () {
ctr++;
if ((ctr % 16) == 0) {
this.power.gotoAndStop((ctr / 16) + 1);
this.power._visible = true;
var _local3 = new Sound();
_local3.attachSound("pinc");
_local3.start(0, 0);
} else if (ctr > ((pwr * 16) + 12)) {
this.power._visible = false;
this.gotoAndPlay("p" + pwr);
_parent.play();
delete onEnterFrame;
}
};
}
Instance of Symbol 232 MovieClip in Symbol 295 MovieClip Frame 2
onClipEvent (load) {
this.gotoAndStop(4);
}
Symbol 298 MovieClip Frame 1
stop();
Instance of Symbol 271 MovieClip in Symbol 298 MovieClip Frame 1
onClipEvent (load) {
gotoAndPlay (140);
}
Instance of Symbol 271 MovieClip in Symbol 298 MovieClip Frame 1
onClipEvent (load) {
gotoAndPlay (140);
}
Instance of Symbol 243 MovieClip in Symbol 298 MovieClip Frame 1
onClipEvent (load) {
var ctr = 0;
var pwr = 3;
onEnterFrame = function () {
ctr++;
if ((ctr % 16) == 0) {
this.power.gotoAndStop((ctr / 16) + 1);
this.power._visible = true;
var _local3 = new Sound();
_local3.attachSound("pinc");
_local3.start(0, 0);
} else if (ctr > ((pwr * 16) + 12)) {
this.power._visible = false;
this.gotoAndPlay("p" + pwr);
_parent.play();
delete onEnterFrame;
}
};
}
Instance of Symbol 232 MovieClip in Symbol 298 MovieClip Frame 2
onClipEvent (load) {
this.gotoAndStop(4);
}
Symbol 301 MovieClip Frame 1
stop();
Instance of Symbol 243 MovieClip in Symbol 301 MovieClip Frame 1
onClipEvent (load) {
var ctr = 0;
var pwr = 3;
onEnterFrame = function () {
ctr++;
if ((ctr % 16) == 0) {
this.power.gotoAndStop((ctr / 16) + 1);
this.power._visible = true;
var _local3 = new Sound();
_local3.attachSound("pinc");
_local3.start(0, 0);
} else if (ctr > ((pwr * 16) + 12)) {
this.power._visible = false;
this.gotoAndPlay("p" + pwr);
_parent.play();
delete onEnterFrame;
}
};
}
Instance of Symbol 232 MovieClip in Symbol 301 MovieClip Frame 2
onClipEvent (load) {
this.gotoAndStop(4);
}
Symbol 304 MovieClip Frame 1
stop();
Instance of Symbol 243 MovieClip in Symbol 304 MovieClip Frame 1
onClipEvent (load) {
var ctr = 0;
var pwr = 3;
onEnterFrame = function () {
ctr++;
if ((ctr % 16) == 0) {
this.power.gotoAndStop((ctr / 16) + 1);
this.power._visible = true;
var _local3 = new Sound();
_local3.attachSound("pinc");
_local3.start(0, 0);
} else if (ctr > ((pwr * 16) + 12)) {
this.power._visible = false;
this.gotoAndPlay("p" + pwr);
_parent.play();
delete onEnterFrame;
}
};
}
Instance of Symbol 232 MovieClip in Symbol 304 MovieClip Frame 2
onClipEvent (load) {
this.gotoAndStop(4);
}
Instance of Symbol 232 MovieClip in Symbol 304 MovieClip Frame 36
onClipEvent (load) {
this.gotoAndStop(5);
}
Symbol 307 MovieClip Frame 1
stop();
Instance of Symbol 243 MovieClip in Symbol 307 MovieClip Frame 1
onClipEvent (load) {
var ctr = 0;
var pwr = 3;
onEnterFrame = function () {
ctr++;
if ((ctr % 12) == 0) {
this.power.gotoAndStop((ctr / 12) + 1);
this.power._visible = true;
var _local3 = new Sound();
_local3.attachSound("pinc");
_local3.start(0, 0);
} else if (ctr > ((pwr * 12) + 8)) {
this.power._visible = false;
_parent.play();
delete onEnterFrame;
}
};
}
Instance of Symbol 243 MovieClip in Symbol 307 MovieClip Frame 2
onClipEvent (load) {
this.gotoAndPlay("p" + pwr);
}
Instance of Symbol 232 MovieClip in Symbol 307 MovieClip Frame 3
onClipEvent (load) {
this.gotoAndStop(4);
}
Instance of Symbol 243 MovieClip in Symbol 307 MovieClip Frame 8
onClipEvent (load) {
var ctr = 0;
var pwr = 1;
onEnterFrame = function () {
ctr++;
if ((ctr % 12) == 0) {
this.power.gotoAndStop((ctr / 12) + 1);
this.power._visible = true;
var _local3 = new Sound();
_local3.attachSound("pinc");
_local3.start(0, 0);
} else if (ctr > ((pwr * 12) + 8)) {
this.power._visible = false;
this.gotoAndPlay("p" + pwr);
_parent.play();
delete onEnterFrame;
}
};
}
Instance of Symbol 232 MovieClip in Symbol 307 MovieClip Frame 34
onClipEvent (load) {
gotoAndStop (4);
}
Symbol 309 MovieClip Frame 1
btn_p._visible = false;
stop();
Instance of Symbol 208 MovieClip "btn_n" in Symbol 309 MovieClip Frame 1
onClipEvent (load) {
onRelease = function () {
if (_parent._currentframe < _parent._totalframes) {
_parent.nextFrame();
_parent.page.text = (_parent._currentframe + "/") + _parent._totalframes;
}
};
}
Instance of Symbol 210 MovieClip "btn_p" in Symbol 309 MovieClip Frame 1
onClipEvent (load) {
onRelease = function () {
if (_parent._currentframe > 1) {
_parent.prevFrame();
_parent.page.text = (_parent._currentframe + "/") + _parent._totalframes;
}
};
}
Symbol 309 MovieClip Frame 2
btn_p._visible = true;
Instance of Symbol 273 MovieClip in Symbol 309 MovieClip Frame 4
onClipEvent (load) {
onRollOver = function () {
_parent.desc.text = "Normal Floor\r";
_parent.desc.text = _parent.desc.text + "The most safest floor to land, to stay and even to spend your time.";
};
onRollOut = function () {
_parent.desc.text = "Point to see description";
};
}
Instance of Symbol 273 MovieClip in Symbol 309 MovieClip Frame 4
onClipEvent (load) {
this.gotoAndStop(2);
onRollOver = function () {
_parent.desc.text = "Wall\r";
_parent.desc.text = _parent.desc.text + "You can't pass through a wall and charge your spinner on it but you can land on it.";
};
onRollOut = function () {
_parent.desc.text = "Point to see description";
};
}
Instance of Symbol 273 MovieClip in Symbol 309 MovieClip Frame 4
onClipEvent (load) {
this.gotoAndStop(15);
onRollOver = function () {
_parent.desc.text = "Save Point\r";
_parent.desc.text = _parent.desc.text + "When the balloon is in this tile you can save the game. Regenerate here if you get poped.";
};
onRollOut = function () {
_parent.desc.text = "Point to see description";
};
}
Instance of Symbol 273 MovieClip in Symbol 309 MovieClip Frame 4
onClipEvent (load) {
this.gotoAndStop(14);
onRollOver = function () {
_parent.desc.text = "X Mark\r";
_parent.desc.text = _parent.desc.text + "Land here and proceed to the next floor.";
};
onRollOut = function () {
_parent.desc.text = "Point to see description";
};
}
Instance of Symbol 273 MovieClip in Symbol 309 MovieClip Frame 4
onClipEvent (load) {
this.gotoAndStop(12);
onRollOver = function () {
_parent.desc.text = "Blower\r";
_parent.desc.text = _parent.desc.text + "Used a amplifiers, blows your balloon farther than normal blows.";
};
onRollOut = function () {
_parent.desc.text = "Point to see description";
};
}
Instance of Symbol 273 MovieClip in Symbol 309 MovieClip Frame 5
onClipEvent (load) {
this.gotoAndStop(16);
onRollOver = function () {
_parent.desc.text = "Empty Floor\r";
_parent.desc.text = _parent.desc.text + "You fall down the lower floor if you land in here. Very terrible.";
};
onRollOut = function () {
_parent.desc.text = "Point to see description";
};
}
Instance of Symbol 273 MovieClip in Symbol 309 MovieClip Frame 5
onClipEvent (load) {
this.gotoAndStop(4);
onRollOver = function () {
_parent.desc.text = "Big Spikes\r";
_parent.desc.text = _parent.desc.text + "Pops your balloon when you land on it and even when it is about to land.";
};
onRollOut = function () {
_parent.desc.text = "Point to see description";
};
}
Instance of Symbol 273 MovieClip in Symbol 309 MovieClip Frame 5
onClipEvent (load) {
this.gotoAndStop(3);
onRollOver = function () {
_parent.desc.text = "Small Spikes\r";
_parent.desc.text = _parent.desc.text + "Pops your balloon if you land here.";
};
onRollOut = function () {
_parent.desc.text = "Point to see description";
};
}
Instance of Symbol 273 MovieClip in Symbol 309 MovieClip Frame 5
onClipEvent (load) {
this.gotoAndStop(5);
onRollOver = function () {
_parent.desc.text = "Trap wall\r";
_parent.desc.text = _parent.desc.text + "Pops your balloon when its spikes catches you.";
};
onRollOut = function () {
_parent.desc.text = "Point to see description";
};
}
Instance of Symbol 273 MovieClip in Symbol 309 MovieClip Frame 5
onClipEvent (load) {
this.gotoAndStop(6);
onRollOver = function () {
_parent.desc.text = "Spiked Net\r";
_parent.desc.text = _parent.desc.text + "Unlike the empty floor it catches you but pops you anyway.";
};
onRollOut = function () {
_parent.desc.text = "Point to see description";
};
}
Instance of Symbol 273 MovieClip in Symbol 309 MovieClip Frame 5
onClipEvent (load) {
this.gotoAndStop(18);
onRollOver = function () {
_parent.desc.text = "Trap floor\r";
_parent.desc.text = _parent.desc.text + "Your balloon falls when the floor disappears on you.";
};
onRollOut = function () {
_parent.desc.text = "Point to see description";
};
}
Symbol 309 MovieClip Frame 15
btn_n._visible = true;
Symbol 309 MovieClip Frame 16
btn_n._visible = false;
Symbol 314 Button
on (release) {
target = "main";
play();
}
Symbol 319 MovieClip Frame 1
stop();
Symbol 330 Button
on (release) {
_parent._parent.target = "exit";
_parent._parent.play();
}
Symbol 332 Button
on (release) {
prompt._visible = true;
prompt._x = 55;
prompt._y = 35;
btn1.enabled = false;
btn2.enabled = false;
btn3.enabled = false;
}
Symbol 336 Button
on (release) {
this._visible = false;
_parent.btn1.enabled = true;
_parent.btn2.enabled = true;
_parent.btn3.enabled = true;
}
Symbol 338 Button
on (release) {
this._visible = false;
if (_parent._parent._parent._parent.deletegame()) {
_parent._parent._acct.fresh = false;
_parent._parent.prevFrame();
removeMovieClip(_parent);
}
}
Symbol 341 Button
on (release) {
_parent.prevFrame();
removeMovieClip(this);
}
Symbol 342 MovieClip Frame 1
var _xstart = 0;
var _xend = 0;
var _ystart = 0;
var _yend = 0;
var game = _parent._parent._parent.game;
var map = _parent._parent._parent.maze["Map" + game.currentMap];
if (game.xpos > 0) {
_xstart = game.xpos - 1;
if (game.xpos < (map[0].length - 2)) {
_xend = game.xpos + 2;
} else if (game.xpos < (map[0].length - 1)) {
_xstart = game.xpos - 2;
_xend = game.xpos + 1;
} else {
_xstart = game.xpos - 3;
_xend = game.xpos;
}
} else {
_xstart = game.xpos;
_xend = game.xpos + 3;
}
if (game.ypos > 0) {
_ystart = game.ypos - 1;
if (game.ypos < (map.length - 2)) {
_yend = game.ypos + 2;
} else if (game.ypos < (map.length - 1)) {
_ystart = game.ypos - 2;
_yend = game.ypos + 1;
} else {
_ystart = game.ypos - 3;
_yend = game.ypos;
}
} else {
_ystart = game.ypos;
_yend = game.ypos + 3;
}
var tiles = new Object();
var i = _ystart;
while (i <= _yend) {
var j = _xstart;
while (j <= _xend) {
var tname = new String((("t_" + i) + "_") + j);
tiles[tname] = new game["Tile" + map[i][j]]();
c.tiles_.duplicateMovieClip(tname, c.getNextHighestDepth());
c[tname]._x = (j - _xstart) * game.tileW;
c[tname]._y = (i - _ystart) * game.tileH;
c[tname].gotoAndStop(tiles[tname].frame);
var clip = c[tname];
if (clip.tile) {
clip.tile._rotation = -1 + Math.round(Math.random() * 1.5);
}
if (tiles[tname].trap) {
if (tiles[tname].degree) {
clip.trap._rotation = tiles[tname].degree;
}
if (tiles[tname].disappearing && (tiles[tname].delay)) {
clip.fall.gotoAndPlay(tiles[tname].delay);
} else if (tiles[tname].delay) {
clip.trap.gotoAndPlay(tiles[tname].delay);
}
}
if (tiles[tname].wind && (tiles[tname].degree)) {
clip.wind._rotation = tiles[tname].degree;
}
if ((tiles[tname].fall && (tiles[tname].disappearing)) && (tiles[tname].delay)) {
clip.fall.gotoAndPlay(tiles[tname].delay);
}
var k = 0;
while (k < 5) {
clip["dirt" + k]._rotation = Math.round(Math.random() * 390);
clip["dirt" + k]._x = Math.round(Math.random() * 20) + 10;
clip["dirt" + k]._y = Math.round(Math.random() * 20) + 10;
clip["dirt" + k]._xscale = Math.round(Math.random() * 50) + 50;
clip["dirt" + k]._yscale = Math.round(Math.random() * 50) + 50;
if (Math.round(Math.random() * 2) == 1) {
removeMovieClip(clip["dirt" + k]);
}
k++;
}
j++;
}
i++;
}
removeMovieClip(c.tiles_);
if (_parent._parent._parent.maze.maxmap != game.currentMap) {
ball._x = (c._x + ((game.xpos - _xstart) * game.tileW)) + 15;
ball._y = (c._y + ((game.ypos - _ystart) * game.tileH)) + 15;
ball.gotoAndStop(5);
} else {
c.tiles_._visible = false;
ball._xscale = 200;
ball._yscale = 200;
}
var i = game.timer;
playername.text = game.playername;
var h = Math.floor(i / 3600);
var h1 = Math.floor(h / 10);
var h2 = (h % 10);
var m = Math.floor((i / 60) - (h * 60));
var m1 = Math.floor(m / 10);
var m2 = (m % 10);
var s = (i % 60);
var s1 = Math.floor(s / 10);
var s2 = (s % 10);
ttime.text = ((((((((h1 + "") + h2) + ":") + m1) + "") + m2) + ":") + s1) + s2;
if (_parent._parent._parent.maze.maxmap == game.currentMap) {
ttime.text = ttime.text + " CLEARED";
floor.text = "Roof Top";
floor2.text = "";
btn3._visible = false;
} else {
if (game.currentMap < 5) {
floor.text = ("b" + (5 - game.currentMap)) + " Floor (current)";
} else {
switch (game.currentMap - 4) {
case 1 :
floor.text = "1st Floor (current)";
break;
case 2 :
floor.text = "2nd Floor (current)";
break;
case 3 :
floor.text = "3rd Floor (current)";
break;
case 5 :
floor.text = "G Floor (current)";
break;
default :
floor.text = (game.currentMap - 4) + "th Floor (current)";
}
}
if (game.highestfloor < 5) {
floor2.text = ("b" + (5 - game.highestfloor)) + " Floor (highest reached)";
} else {
switch (game.highestfloor - 4) {
case 1 :
floor2.text = "1st Floor (highest reached)";
break;
case 2 :
floor2.text = "2nd Floor (highest reached)";
break;
case 3 :
floor2.text = "3rd Floor (highest reached)";
break;
case 5 :
floor2.text = "G Floor (highest reached)";
break;
default :
floor2.text = (game.highestfloor - 4) + "th Floor (highest reached)";
}
}
}
autosave.text = "AutoSave is " + (game.autosave ? "ON" : "OFF");
autoquality.text = "AutoQuality is " + (game.autoquality ? "ON" : "OFF");
delete tiles;
delete _xstart;
delete _xend;
delete _ystart;
delete _yend;
delete map;
Instance of Symbol 339 MovieClip "prompt" in Symbol 342 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
this.onMouseDown = function () {
if (this.hitTest(_parent._xmouse, _parent._ymouse, false) && (_visible)) {
this.onMouseMove = function () {
_x = (_parent._xmouse - xdiff);
_y = (_parent._ymouse - ydiff);
};
xdiff = _xmouse;
ydiff = _ymouse;
}
};
this.onMouseUp = function () {
if (this.onMouseMove && (_visible)) {
delete this.onMouseMove;
}
};
}
Symbol 343 MovieClip Frame 1
stop();
Symbol 343 MovieClip Frame 2
function loadsavegames() {
var _local16 = (Math.floor((_parent._parent.game.accounts.length - 1) / 3) * 3) + 3;
var _local4 = 0;
while (_local4 < _parent._parent.game.maxacct) {
if (this["acct" + _local4]) {
removeMovieClip(this["acct" + _local4]);
}
_local4++;
}
_local4 = 0;
while (_local4 < _local16) {
_acct._visible = true;
_acct.duplicateMovieClip("acct" + _local4, _local4 * 2);
var _local3 = this["acct" + _local4];
_local3._y = (((_local4 % 3) * _local3._height) + 80) + ((_local4 % 3) * 5);
_local3._x = ((_local16 == 3) ? 160 : (((Math.floor(_local4 / 3) * 220) + 50) + (Math.floor(_local4 / 3) * 10)));
if (_parent._parent.loadgame(_local4)) {
var _local5 = _parent._parent.game;
var _local6 = _local5.timer;
_local3.playername.text = _local5.playername;
var _local7 = Math.floor(_local6 / 3600);
var _local11 = Math.floor(_local7 / 10);
var _local10 = _local7 % 10;
var _local9 = Math.floor((_local6 / 60) - (_local7 * 60));
var _local13 = Math.floor(_local9 / 10);
var _local12 = _local9 % 10;
var _local8 = _local6 % 60;
var _local15 = Math.floor(_local8 / 10);
var _local14 = _local8 % 10;
_local3.ttime.text = ((((((((_local11 + "") + _local10) + ":") + _local13) + "") + _local12) + ":") + _local15) + _local14;
if (_parent._parent.maze.maxmap == _local5.currentMap) {
_local3.ttime.text = _local3.ttime.text + " CLEARED";
_local3.floor.text = "Roof Top";
} else if (_local5.currentMap < 5) {
_local3.floor.text = ("b" + (5 - _local5.currentMap)) + " Floor";
} else {
switch (_local5.currentMap - 4) {
case 1 :
_local3.floor.text = "1st Floor";
break;
case 2 :
_local3.floor.text = "2nd Floor";
break;
case 3 :
_local3.floor.text = "3rd Floor";
break;
case 5 :
_local3.floor.text = "G Floor";
break;
default :
_local3.floor.text = (_local5.currentMap - 4) + "th Floor";
}
}
_local3.acct = _local4;
} else {
_local3._alpha = 50;
_local3.playername.text = "- - - - - - -";
_local3.ttime.text = "- - : - - : - -";
_local3.floor.text = "- - - - -";
}
_local4++;
}
return(Boolean(_parent._parent.game.accounts.length > 0));
}
nextFrame();
Instance of Symbol 319 MovieClip "_acct" in Symbol 343 MovieClip Frame 2
onClipEvent (load) {
onRelease = function () {
if (this.acct != undefined) {
prevFrame();
_parent._parent._parent.loadgame(this.acct);
_parent.nextFrame();
_parent.acct0.enabled = false;
_parent.acct1.enabled = false;
_parent.acct2.enabled = false;
_parent.acct3.enabled = false;
_parent.acct4.enabled = false;
_parent.acct5.enabled = false;
}
};
onRollOver = function () {
nextFrame();
};
onRollOut = function () {
prevFrame();
};
}
Symbol 343 MovieClip Frame 3
if (!_acct.fresh) {
if (loadsavegames()) {
_acct.fresh = true;
_acct._visible = false;
} else {
_parent._parent.deleteAllGame();
_parent.target = "main";
_parent.play();
}
}
acct0.enabled = true;
acct1.enabled = true;
acct2.enabled = true;
acct3.enabled = true;
acct4.enabled = true;
acct5.enabled = true;
_parent.btn1._visible = true;
Symbol 343 MovieClip Frame 4
preview.swapDepths(20);
_parent.btn1._visible = false;
Symbol 350 MovieClip Frame 1
stop();
function focusname() {
Selection.setFocus("playername");
Selection.setSelection(0, playername.text.length);
}
Symbol 350 MovieClip Frame 2
playername.onSetFocus = function (oldFocus) {
if (playername.text == "type name here") {
playername.text = "";
delete playername.onSetFocus;
}
};
var chars = new Array();
playername.onChanged = function (txt) {
var _local1 = String(txt.text.toUpperCase()).charCodeAt(txt.text.length - 1);
trace(_local1);
if ((((_local1 >= 48) && (_local1 <= 57)) || ((_local1 >= 65) && (_local1 <= 90))) || (_local1 == 32)) {
} else {
playername.text = txt.text.substr(0, txt.text.length - 1);
}
};
stop();
Symbol 350 MovieClip Frame 3
focusname();
Symbol 350 MovieClip Frame 4
focusname();
Symbol 361 Button
on (release) {
if (autosave.text == "ON") {
autosave.text = "OFF";
} else {
autosave.text = "ON";
}
}
Symbol 365 Button
on (release) {
if (autoquality.text == "ON") {
autoquality.text = "OFF";
} else {
autoquality.text = "ON";
}
}
Symbol 370 Button
on (release) {
if (quality.text == "HIGH") {
quality.text = "MEDIUM";
qualitydesc.text = "Recommended for Average Computer:\r1 GHz - 2.66 GHz";
} else if (quality.text == "MEDIUM") {
quality.text = "LOW";
qualitydesc.text = "Recommended for Normal Computer:\r1 GHz or Below";
} else {
quality.text = "HIGH";
qualitydesc.text = "Recommended for Fast Computer:\r2.66 GHz or Better";
}
}
Symbol 374 Button
on (release) {
this[contentname].playername.condenseWhite = true;
var allow = true;
for (var i in _parent.game.accounts) {
if ((_parent.game.accounts[i].toLowerCase() == ("acct_" + this[contentname].playername.text.toLowerCase())) && (allow)) {
allow = false;
}
}
if ((this[contentname].playername.length == 0) || (this[contentname].playername.text == "type name here")) {
this[contentname].gotoAndStop(3);
this[contentname].focusname();
} else if (!allow) {
this[contentname].gotoAndStop(4);
this[contentname].focusname();
} else {
target = "exit";
_parent.game.quality = quality.text;
_parent.game.autosave = autosave.text == "ON";
_parent.game.autoquality = autoquality.text == "ON";
_parent.game.playername = this[contentname].playername.text;
_parent.game.currentMap = 5;
_parent.game.highestfloor = 5;
_parent.ob.ttl_jumps = 0;
play();
}
}
Symbol 375 Button
on (release) {
this[contentname].playername.condenseWhite = true;
var allow = true;
for (var i in _parent.game.accounts) {
if ((_parent.game.accounts[i].toLowerCase() == ("acct_" + this[contentname].playername.text.toLowerCase())) && (allow)) {
allow = false;
}
}
if ((this[contentname].playername.text.length == 0) || (this[contentname].playername.text == "type name here")) {
this[contentname].gotoAndStop(3);
this[contentname].focusname();
} else if (!allow) {
this[contentname].gotoAndStop(4);
this[contentname].focusname();
} else {
target = "exit";
_parent.game.quality = quality.text;
_parent.game.autosave = autosave.text == "ON";
_parent.game.autoquality = autoquality.text == "ON";
_parent.game.playername = this[contentname].playername.text;
_parent.game.currentMap = 1;
_parent.game.highestfloor = 1;
_parent.ob.ttl_jumps = 0;
play();
}
}
Symbol 376 MovieClip Frame 1
var target = new String();
var contentname = new String();
Symbol 376 MovieClip Frame 21
_parent.game.saved = _parent.checksaved();
Instance of Symbol 194 MovieClip in Symbol 376 MovieClip Frame 21
onClipEvent (load) {
gotojayc = function () {
getURL ("http://www.jumpropestudios.com/jayc", "_blank");
};
goTo = function () {
getURL ("http://www.MoFunZone.com", "_blank");
};
var my_cm = new ContextMenu();
my_cm.hideBuiltInItems();
my_cm.customItems.push(new ContextMenuItem("MoFunZone.com - Play More Games", goTo));
my_cm.customItems.push(new ContextMenuItem("(c) GAWANG JAYC", gotojayc, true));
my_cm.customItems.push(new ContextMenuItem("Developed by: Jayc Santos", gotojayc));
my_cm.customItems.push(new ContextMenuItem("http://www.jumpropestudios.com/jayc", gotojayc));
this.menu = my_cm;
onRelease = function () {
gotojayc();
};
onRollOver = function () {
gotoAndStop (2);
};
onPress = function () {
gotoAndStop (3);
};
onRollOut = function () {
gotoAndStop (1);
};
}
Symbol 376 MovieClip Frame 38
btn2.enabled = _parent.game.saved;
stop();
Instance of Symbol 203 MovieClip "prompt_slot" in Symbol 376 MovieClip Frame 38
onClipEvent (load) {
_visible = false;
this.onMouseDown = function () {
if (this.hitTest(_parent._xmouse, _parent._ymouse, false) && (_visible)) {
this.onMouseMove = function () {
_x = (_parent._xmouse - xdiff);
_y = (_parent._ymouse - ydiff);
};
xdiff = _xmouse;
ydiff = _ymouse;
}
};
this.onMouseUp = function () {
if (this.onMouseMove && (_visible)) {
delete this.onMouseMove;
}
};
}
Symbol 376 MovieClip Frame 48
stop();
gotoAndPlay(target);
Symbol 376 MovieClip Frame 66
stop();
Symbol 376 MovieClip Frame 76
stop();
gotoAndPlay(target);
Symbol 376 MovieClip Frame 94
btn3.enabled = _parent.maze.maxmap != _parent.game.currentMap;
stop();
Instance of Symbol 343 MovieClip "contents" in Symbol 376 MovieClip Frame 94
onClipEvent (load) {
_parent.contentname = this._name;
this.nextFrame();
}
Symbol 376 MovieClip Frame 104
stop();
if (target == "exit") {
_parent.play();
} else {
gotoAndPlay(target);
}
Symbol 376 MovieClip Frame 122
autosave.text = "ON";
autoquality.text = "OFF";
quality.text = "HIGH";
qualitydesc.text = "Recommended for Fast Computer:\r2.66 GHz or Better";
stop();
Instance of Symbol 350 MovieClip "contents" in Symbol 376 MovieClip Frame 122
onClipEvent (load) {
_parent.contentname = this._name;
nextFrame();
}
Symbol 376 MovieClip Frame 132
stop();
if (target == "exit") {
_parent.game.timer = _parent.game.default_timer;
_parent.ball.xtile = _parent.maze.defaultxypos[0][_parent.game.currentMap - 1];
_parent.ball.ytile = _parent.maze.defaultxypos[1][_parent.game.currentMap - 1];
_parent.game.xpos = _parent.ball.xtile;
_parent.game.ypos = _parent.ball.ytile;
_parent.play();
} else {
gotoAndPlay(target);
}
Symbol 382 MovieClip Frame 1
if (_parent.game.currentMap < 5) {
nextFrame();
updateAfterEvent();
}
stop();
Symbol 383 MovieClip Frame 1
stop();
Symbol 387 Button
on (release) {
getURL ("http://www.MoFunZone.com/", "_blank");
}
Symbol 389 MovieClip Frame 1
stop();
Symbol 394 Button
on (release) {
var ob = _parent._parent.ball;
var tname = new String((("t_" + ob.ytile) + "_") + ob.xtile);
if (ob.onsavepoint) {
if (_parent._parent.savegame()) {
_parent._parent.showmessage("Game Saved");
} else {
_parent._parent.showmessage("Game Failed");
}
} else {
prompt_cantsave._visible = true;
prompt_cantsave._x = 140;
prompt_cantsave._y = 130;
btn1.enabled = false;
btn2.enabled = false;
btn3.enabled = false;
btn4.enabled = false;
btn5.enabled = false;
}
}
Symbol 396 Button
on (release) {
_parent._parent.controller.disabled = !_parent._parent.controller.disabled;
if (_parent._parent.controller.disabled) {
_parent._parent.stopallanimation(_parent._parent.game.clip);
} else {
_parent._parent.playallanimation(_parent._parent.game.clip);
_parent._parent.txtmsg.gotoAndStop(1);
delete _parent._parent.txtmsg.onEnterFrame;
}
_parent._parent.mouse._visible = !_parent._parent.controller.disabled;
_parent.gotoAndStop(1);
}
Symbol 398 Button
on (release) {
prompt_exit._visible = true;
prompt_exit._x = 140;
prompt_exit._y = 130;
btn1.enabled = false;
btn2.enabled = false;
btn3.enabled = false;
btn4.enabled = false;
btn5.enabled = false;
}
Symbol 400 Button
on (release) {
prompt_load._visible = true;
prompt_load._x = 140;
prompt_load._y = 130;
btn1.enabled = false;
btn2.enabled = false;
btn3.enabled = false;
btn4.enabled = false;
btn5.enabled = false;
}
Symbol 404 Button
on (release) {
if (autosave.text == "ON") {
autosave.text = "OFF";
} else {
autosave.text = "ON";
}
_parent._parent.game.autosave = Boolean(autosave.text == "ON");
_parent._parent.showmessage("AutoSave " + autosave.text);
}
Symbol 405 Button
on (release) {
if (autoquality.text == "ON") {
autoquality.text = "OFF";
_root._quality = game.quality;
} else {
autoquality.text = "ON";
}
_parent._parent.game.autoquality = Boolean(autoquality.text == "ON");
_parent._parent.showmessage("AutoQuality " + autoquality.text);
}
Symbol 407 Button
on (release) {
if (quality.text == "HIGH") {
quality.text = "MEDIUM";
qualitydesc.text = "Recommended for Average Computers:\r1 GHz - 3 GHz";
} else if (quality.text == "MEDIUM") {
quality.text = "LOW";
qualitydesc.text = "Recommended for Normal Computers:\r1 GHz or Below";
} else {
quality.text = "HIGH";
qualitydesc.text = "Recommended for Fast Computers:\r3 GHz or Better";
}
_parent._parent.game.quality = quality.text;
_parent._parent.showmessage("Quality is " + quality.text);
if (!_parent._parent.game.autoquality) {
_root._quality = quality.text;
}
}
Symbol 412 Button
on (release) {
gotoAndStop (2);
}
Symbol 415 Button
on (release) {
this._visible = false;
_parent.btn1.enabled = true;
_parent.btn2.enabled = true;
_parent.btn3.enabled = true;
_parent.btn4.enabled = true;
_parent.btn5.enabled = true;
}
Symbol 416 Button
on (release) {
this._visible = false;
_parent._parent._parent.gotoAndStop("exit");
}
Symbol 419 Button
on (release) {
this._visible = false;
_parent._parent._parent.gotoAndStop("quickload");
delete _parent._parent._parent.ball.clip.onEnterFrame;
}
Symbol 423 Button
on (release) {
this._visible = false;
_parent.btn1.enabled = true;
_parent.btn2.enabled = true;
_parent.btn3.enabled = true;
_parent.btn4.enabled = true;
_parent.btn5.enabled = true;
}
Symbol 425 Button
on (release) {
prevFrame();
}
Symbol 426 MovieClip Frame 1
stop();
Instance of Symbol 417 MovieClip "prompt_exit" in Symbol 426 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
this.onMouseDown = function () {
if (this.hitTest(_parent._xmouse, _parent._ymouse, false) && (this._visible)) {
this.onMouseMove = function () {
this._x = _parent._xmouse - xdiff;
this._y = _parent._ymouse - ydiff;
};
xdiff = this._xmouse;
ydiff = this._ymouse;
}
};
this.onMouseUp = function () {
if (this.onMouseMove && (this._visible)) {
delete this.onMouseMove;
}
};
}
Instance of Symbol 420 MovieClip "prompt_load" in Symbol 426 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
this.onMouseDown = function () {
if (this.hitTest(_parent._xmouse, _parent._ymouse, false) && (this._visible)) {
this.onMouseMove = function () {
this._x = _parent._xmouse - xdiff;
this._y = _parent._ymouse - ydiff;
};
xdiff = this._xmouse;
ydiff = this._ymouse;
}
};
this.onMouseUp = function () {
if (this.onMouseMove && (this._visible)) {
delete this.onMouseMove;
}
};
}
Instance of Symbol 424 MovieClip "prompt_cantsave" in Symbol 426 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
this.onMouseDown = function () {
if (this.hitTest(_parent._xmouse, _parent._ymouse, false) && (this._visible)) {
this.onMouseMove = function () {
this._x = _parent._xmouse - xdiff;
this._y = _parent._ymouse - ydiff;
};
xdiff = this._xmouse;
ydiff = this._ymouse;
}
};
this.onMouseUp = function () {
if (this.onMouseMove && (this._visible)) {
delete this.onMouseMove;
}
};
}
Symbol 427 MovieClip Frame 1
stop();
Symbol 427 MovieClip Frame 2
prevFrame();
Symbol 427 MovieClip Frame 3
pausemuna.playername.text = _parent.game.playername;
pausemuna.quality.text = _parent.game.quality;
pausemuna.autoquality.text = (_parent.game.autoquality ? "ON" : "OFF");
pausemuna.autosave.text = (_parent.game.autosave ? "ON" : "OFF");
Symbol 438 Button
on (release) {
var ob = ball;
if (ob.onsavepoint) {
if (savegame()) {
showmessage("Game Saved");
}
}
}
Symbol 440 Button
on (release, keyPress "<Space>") {
if (((((!controller.disabled) || (controller.disabled && (stage_cover.pausemuna._visible))) && (!stage_cover.pausemuna.prompt_exit._visible)) && (!stage_cover.pausemuna.prompt_cantsave._visible)) && (!stage_cover.pausemuna.prompt_load._visible)) {
controller.disabled = !controller.disabled;
mouse._visible = !controller.disabled;
if (controller.disabled) {
stopallanimation(game.clip);
showmessage("Game Paused");
stage_cover.gotoAndStop(3);
} else {
playallanimation(game.clip);
txtmsg.gotoAndStop(1);
delete txtmsg.onEnterFrame;
stage_cover.gotoAndStop(1);
}
}
}
Symbol 442 Button
on (release) {
showmessage("Audio " + (switchaudio() ? "ON" : "OFF"));
}
Symbol 446 MovieClip Frame 1
stop();
Symbol 446 MovieClip Frame 2
stop();
Symbol 466 Button
on (release) {
if ((playername.text.length == 0) || (playername.text == "type name here")) {
playername.text = "";
delete playername.onSetFocus;
Selection.setFocus("playername");
Selection.setSelection(0, playername.text.length);
} else if (_root._url.substr(0, 4) == "http") {
playername._visible = false;
btn_submit._visible = false;
var PLAYER_NAME = playername.text;
var now = new Date();
var EPOCH_TIME = now.getTime();
var YEAR = now.getFullYear();
getURL ((((("http://www.MoFunZone.com/game_scores/loboloon/highscore.php?" + escape(PLAYER_NAME)) + "/") + EPOCH_TIME) + "/") + YEAR, "_blank");
msg.text = ((newline + playername.text) + newline) + "Time Submitted";
} else {
msg.text = "Submit Failed";
}
}
Symbol 467 Button
on (press) {
getURL ("http://www.jumpropestudios.com/jayc");
}
Symbol 469 Button
on (release) {
getURL ("http://www.MoFunZone.com/", "_blank");
}
Symbol 471 Button
on (press) {
getURL ("http://www.jumpropestudios.com/jayc");
}
Symbol 476 Button
on (release) {
getURL ("http://www.mofunzone.com/game_scores/loboloon/highscores.shtml", "_blank");
}
Symbol 478 Button
on (release) {
_parent.gotoAndPlay("menu");
}
Symbol 481 Button
on (release) {
getURL ("http://www.MoFunZone.com/", "_blank");
}
Symbol 482 MovieClip Frame 1
_parent.game.timer = ((isNaN(_parent.game.timer) || (_parent.game.timer == 0)) ? (Math.round(Math.random() * 120000)) : (_parent.game.timer));
var h = Math.floor(Number(_parent.game.timer) / 3600);
var h1 = Math.floor(h / 10);
var h2 = (h % 10);
var m = Math.floor((_parent.game.timer / 60) - (h * 60));
var m1 = Math.floor(m / 10);
var m2 = (m % 10);
var s = (_parent.game.timer % 60);
var s1 = Math.floor(s / 10);
var s2 = (s % 10);
ttime.text = (((((((((h1 + "") + h2) + ":") + m1) + "") + m2) + ":") + s1) + s2) + " time";
cloud._alpha = 100 - Math.round((_parent.game.timer / 216000) * 100);
cloud.onEnterFrame = function () {
trace(cloud._alpha);
if (0 >= (cloud._alpha--)) {
delete cloud.onEnterFrame;
}
};
Symbol 482 MovieClip Frame 100
loadVariablesNum ("http://gamefilez.mofunzone.com/game_scores/loboloon/mfz.php?" + Number(_parent.game.timer), 0);
stop();
ttime.text = (((((((((h1 + "") + h2) + ":") + m1) + "") + m2) + ":") + s1) + s2) + "";
playername.text = "type name here";
msg.text = "";
playername.onSetFocus = function (oldFocus) {
if (playername.text == "type name here") {
playername.text = "";
delete playername.onSetFocus;
}
};
var chars = new Array();
playername.onChanged = function (txt) {
var _local1 = String(txt.text.toUpperCase()).charCodeAt(txt.text.length - 1);
if ((((_local1 >= 48) && (_local1 <= 57)) || ((_local1 >= 65) && (_local1 <= 90))) || (_local1 == 32)) {
} else {
playername.text = txt.text.substr(0, txt.text.length - 1);
}
};
Symbol 485 MovieClip Frame 1
function setContexMenu(audio) {
var _local2 = new ContextMenu();
_local2.hideBuiltInItems();
_local2.customItems.push(new ContextMenuItem("MoFunZone.com - Play More Games", goTo));
_local2.customItems.push(new ContextMenuItem(" (c) Jayc Santos", gotojayc));
_local2.customItems.push(new ContextMenuItem("Audio: " + audio, switchaudio, true));
this.menu = _local2;
}
function gotojayc() {
getURL ("http://www.jumpropestudios.com/jayc");
}
function goTo() {
getURL ("http://www.MoFunZone.com", "_blank");
}
function switchaudio() {
var _local2 = this.menu;
if (tunog.getVolume() > 0) {
tunog.setVolume(0);
setContexMenu("OFF");
return(false);
}
tunog.setVolume(100);
setContexMenu("ON");
return(true);
}
this._y = 30;
var delay = 18;
var tunog = new Sound();
tunog.setVolume(0);
switchaudio();
play();
function savegame() {
var _local3 = SharedObject.getLocal("jycloboloon");
if (!_local3.data["acct_" + game.playername]) {
_local3.data.jayc.accts.push("acct_" + game.playername);
game.accounts = _local3.data.jayc.accts;
}
var _local1 = new Object();
_local1.objArray = new Array();
var _local2 = ball;
_local1.objArray[0] = String(game.playername);
_local1.objArray[1] = Number(_local2.xtile);
_local1.objArray[2] = Number(_local2.ytile);
_local1.objArray[3] = Number(game.currentMap);
_local1.objArray[4] = Number(game.highestfloor);
_local1.objArray[5] = Number(game.timer);
_local1.objArray[6] = Number(tunog.getVolume());
_local1.objArray[7] = String(game.quality);
_local1.objArray[8] = Boolean(game.autosave);
_local1.objArray[9] = Boolean(game.autoquality);
_local1.objArray[10] = Number(_local2.ttl_jumps);
_local1.objArray[11] = Number(_local2.ttl_pops);
_local1.objArray[12] = Number(_local2.ttl_falls);
_local3.data["acct_" + game.playername] = _local1;
return(true);
}
function loadgame(acct) {
if (acct == undefined) {
acct = 0;
}
game.acct = acct;
var _local3 = SharedObject.getLocal("jycloboloon");
if (_local3.data[_local3.data.jayc.accts[acct]] == undefined) {
return(false);
}
game.accounts = _local3.data.jayc.accts;
var _local2 = _local3.data[game.accounts[acct]].objArray;
var _local1 = ball;
game.playername = String(_local2[0]);
_local1.xtile = Number(_local2[1]);
_local1.ytile = Number(_local2[2]);
game.currentMap = Number(_local2[3]);
game.highestfloor = Number(_local2[4]);
game.timer = Number(_local2[5]);
game.quality = _local2[7];
game.autosave = Boolean(_local2[8]);
game.autoquality = Boolean(_local2[9]);
_local1.ttl_jumps = Number(_local2[10]);
_local1.ttl_pops = Number(_local2[11]);
_local1.ttl_falls = Number(_local2[12]);
_local1.ttl_pops = (isNaN(_local1.ttl_pops) ? 0 : (_local1.ttl_pops));
_local1.ttl_falls = (isNaN(_local1.ttl_falls) ? 0 : (_local1.ttl_falls));
game.xpos = _local1.xtile;
game.ypos = _local1.ytile;
switchaudio();
switchaudio();
return(_local2);
}
function checksaved() {
var _local1 = SharedObject.getLocal("jycloboloon");
game.maxacct == 1;
if (_local1.flush(2000)) {
if (_local1.data.jayc == undefined) {
_local1.data.jayc = new Object();
_local1.data.jayc.accts = new Array();
}
game.accounts = _local1.data.jayc.accts;
game.maxacct == 6;
return(Boolean(game.accounts.length > 0));
}
return(false);
}
function deletegame() {
myLSO = SharedObject.getLocal("jycloboloon");
if (myLSO.data.jayc == undefined) {
return(false);
}
delete myLSO.data["acct_" + game.playername];
myLSO.data.jayc.accts.splice(game.acct, 1);
return(true);
}
function deleteAllGame() {
myLSO = SharedObject.getLocal("jycloboloon");
myLSO.clear();
game.saved = false;
}
var maze = new Object();
maze.defaultxypos = [[12], [4]];
maze.Map1 = [[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, 11], [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 10], [0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0], [102, 0, 0, 1, 0, 0, 0, 1, 0, 0, 1, 0, 0, 0], [0, 0, 0, 1, 0, 0, 8, 0, 0, 0, 1, 0, 0, 0], [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 10], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 11], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]];
maze.defaultxypos[0].push(0);
maze.defaultxypos[1].push(4);
maze.Map2 = [[0, 0, 0, 1, 0, 8, 0, 12, 1, 12, 0, 0, 0, 10], [0, 1, 0, 1, 0, 1, 0, 12, 1, 12, 0, 1, 0, 10], [0, 1, 0, 1, 10, 1, 0, 12, 1, 12, 0, 1, 0, 10], [0, 1, 0, 1, 0, 1, 0, 0, 0, 0, 0, 1, 0, 10], [0, 12, 12, 12, 0, 12, 12, 12, 12, 12, 12, 12, 12, 12], [0, 1, 0, 1, 0, 1, 1, 1, 1, 1, 1, 1, 0, 1], [1, 0, 0, 1, 10, 1, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 1, 0, 1, 0, 102, 0, 0, 0, 0, 8, 0], [0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0]];
maze.defaultxypos[0].push(7);
maze.defaultxypos[1].push(7);
maze.Map3 = [[0, 0, 0, 0, 1, 0, 1, 1, 8, 1, 0, 0, 0, 0], [0, 1, 0, 0, 2, 0, 2, 2, 0, 2, 0, 0, 0, 0], [0, 0, 1, 0, 2, 0, 2, 2, 0, 2, 0, 0, 0, 0], [1, 0, 1, 1, 0, 1, 0, 0, 1, 1, 0, 0, 1, 1], [0, 0, 1, 0, 0, 0, 0, 1, 93, 0, 10, 10, 0, 90], [0, 1, 0, 0, 1, 0, 102, 1, 0, 0, 0, 0, 0, 0], [0, 1, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0], [0, 0, 0, 1, 0, 0, 1, 0, 92, 0, 0, 0, 0, 91], [8, 1, 1, 0, 0, 0, 1, 0, 1, 0, 0, 0, 0, 0]];
maze.defaultxypos[0].push(6);
maze.defaultxypos[1].push(5);
maze.Map4 = [[0, 0, 0, 0, 0, 0, 0, 8, 12, 12, 2, 0, 0, 0], [1, 10, 1, 10, 1, 0, 0, 0, 12, 12, 2, 0, 1, 0], [0, 0, 0, 0, 0, 0, 1, 0, 2, 2, 0, 0, 1, 26], [0, 1, 10, 1, 0, 0, 0, 0, 12, 12, 2, 0, 1, 0], [0, 0, 0, 0, 0, 0, 1, 0, 12, 12, 2, 1, 0, 0], [1, 10, 1, 10, 1, 1, 0, 1, 1, 1, 2, 1, 0, 1], [0, 0, 8, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 1], [10, 1, 10, 1, 10, 0, 1, 1, 1, 1, 1, 1, 1, 102], [0, 0, 0, 0, 0, 0, 20, 0, 0, 0, 0, 25, 0, 0]];
maze.defaultxypos[0].push(13);
maze.defaultxypos[1].push(7);
Symbol 485 MovieClip Frame 2
maze.Map5 = [[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, 1, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0], [93, 12, 12, 12, 12, 12, 93, 12, 12, 12, 12, 90, 0, 0], [92, 12, 12, 12, 12, 12, 91, 12, 12, 12, 12, 91, 0, 0], [0, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 1, 0, 0], [0, 0, 0, 0, 1, 8, 0, 0, 1, 0, 0, 1, 0, 0], [0, 0, 0, 8, 1, 0, 0, 0, 1, 0, 0, 1, 0, 0], [0, 102, 0, 0, 1, 0, 102, 0, 1, 0, 0, 0, 0, 0]];
maze.defaultxypos[0].push(1);
maze.defaultxypos[1].push(8);
maze.Map6 = [[0, 0, 8, 0, 1, 0, 0, 0, 0, 0, 10, 1, 102, 10], [0, 0, 1, 0, 1, 10, 0, 0, 0, 0, 0, 0, 0, 1], [0, 0, 0, 0, 1, 0, 0, 1, 1, 1, 0, 0, 0, 0], [0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0], [1, 10, 0, 1, 0, 1, 0, 0, 10, 0, 1, 0, 1, 0], [0, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0, 1, 0], [0, 0, 0, 0, 1, 0, 0, 1, 0, 0, 1, 1, 0, 0], [0, 0, 0, 0, 1, 0, 0, 1, 0, 0, 10, 8, 0, 0], [0, 0, 0, 0, 1, 0, 0, 1, 0, 0, 0, 0, 0, 10]];
maze.defaultxypos[0].push(12);
maze.defaultxypos[1].push(0);
maze.Map7 = [[8, 0, 20, 0, 0, 1, 8, 0, 20, 0, 0, 1, 0, 0], [0, 0, 27, 0, 0, 1, 0, 0, 27, 0, 0, 1, 0, 0], [0, 0, 1, 0, 0, 1, 0, 0, 1, 0, 0, 1, 0, 0], [0, 0, 1, 0, 0, 1, 0, 0, 1, 0, 0, 1, 0, 0], [10, 10, 1, 10, 10, 1, 10, 10, 1, 10, 10, 1, 10, 10], [0, 0, 1, 0, 0, 1, 0, 0, 1, 0, 0, 1, 0, 0], [0, 0, 1, 0, 0, 1, 0, 0, 1, 0, 0, 1, 0, 0], [0, 102, 1, 0, 0, 20, 0, 0, 1, 0, 0, 20, 0, 0], [0, 0, 1, 0, 0, 27, 0, 0, 1, 0, 0, 27, 0, 0]];
maze.defaultxypos[0].push(1);
maze.defaultxypos[1].push(7);
maze.Map8 = [[8, 0, 0, 12, 0, 12, 0, 0, 12, 12, 0, 0, 102, 0], [1, 21, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], [12, 0, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12], [0, 0, 0, 2, 2, 0, 0, 11, 0, 0, 0, 0, 0, 8], [0, 0, 0, 2, 2, 0, 0, 11, 0, 0, 0, 0, 0, 0], [0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 23, 1], [12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 0, 12], [12, 0, 0, 0, 0, 2, 0, 0, 2, 2, 0, 0, 0, 0], [12, 0, 0, 0, 0, 2, 0, 0, 2, 2, 0, 0, 0, 0]];
maze.defaultxypos[0].push(12);
maze.defaultxypos[1].push(0);
maze.Map9 = [[0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0], [0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 12], [0, 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 12], [28, 1, 0, 0, 8, 1, 0, 0, 0, 1, 0, 0, 0, 12], [0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2], [0, 1, 0, 93, 0, 11, 0, 0, 0, 0, 0, 0, 0, 0], [26, 1, 0, 0, 0, 11, 0, 0, 1, 0, 0, 0, 102, 0], [0, 8, 1, 92, 0, 11, 0, 0, 91, 0, 0, 0, 0, 0], [0, 0, 93, 0, 0, 11, 0, 0, 92, 0, 0, 0, 0, 0]];
maze.defaultxypos[0].push(12);
maze.defaultxypos[1].push(6);
maze.Map10 = [[2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 0, 0, 0], [2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 0, 0, 0], [0, 8, 1, 0, 1, 0, 1, 0, 1, 0, 2, 0, 0, 0], [0, 0, 20, 0, 25, 0, 20, 0, 25, 0, 2, 0, 0, 0], [0, 0, 27, 0, 22, 0, 27, 0, 22, 0, 2, 0, 0, 0], [10, 10, 1, 0, 1, 8, 1, 2, 1, 2, 2, 0, 0, 0], [0, 0, 2, 2, 2, 2, 2, 2, 2, 2, 2, 0, 0, 0], [0, 0, 2, 2, 2, 2, 2, 2, 2, 2, 2, 0, 0, 0], [0, 0, 0, 12, 0, 12, 12, 0, 0, 102, 11, 11, 0, 0]];
maze.defaultxypos[0].push(9);
maze.defaultxypos[1].push(8);
maze.Map11 = [[0, 0, 0, 0, 20, 0, 0, 25, 25, 0, 0, 0, 0, 0], [0, 8, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 1, 0], [0, 12, 11, 11, 11, 11, 11, 11, 11, 11, 11, 1, 23, 0], [0, 12, 11, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0], [28, 12, 11, 0, 1, 0, 1, 0, 1, 0, 0, 1, 28, 0], [28, 12, 11, 2, 1, 0, 1, 2, 1, 0, 0, 0, 1, 0], [0, 12, 11, 0, 1, 2, 1, 0, 1, 1, 102, 1, 23, 0], [0, 12, 8, 0, 1, 0, 1, 0, 1, 0, 1, 20, 1, 0], [0, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0]];
maze.defaultxypos[0].push(10);
maze.defaultxypos[1].push(6);
maze.Map12 = [[2, 1, 8, 0, 0, 0, 0, 2, 2, 30, 30, 91, 12, 0], [2, 1, 0, 0, 0, 1, 2, 93, 2, 2, 2, 12, 12, 0], [2, 1, 0, 90, 0, 2, 2, 2, 2, 2, 2, 12, 12, 0], [2, 2, 1, 38, 1, 2, 2, 2, 2, 2, 2, 12, 12, 102], [2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 12, 12, 0], [0, 0, 2, 36, 1, 2, 2, 2, 1, 1, 1, 92, 1, 1], [0, 0, 93, 12, 12, 12, 12, 92, 1, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 2, 2, 1, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 2, 2, 1, 0, 0, 0, 0, 0]];
maze.defaultxypos[0].push(13);
maze.defaultxypos[1].push(3);
maze.Map13 = [[0, 0, 8, 2, 12, 12, 91, 50, 50, 0, 0, 12, 0, 1], [11, 2, 1, 1, 12, 12, 0, 12, 12, 0, 0, 12, 0, 0], [10, 1, 0, 0, 12, 12, 0, 12, 12, 0, 0, 12, 0, 1], [0, 0, 0, 1, 12, 12, 0, 12, 12, 0, 0, 12, 0, 0], [0, 1, 1, 0, 0, 10, 1, 0, 0, 1, 1, 1, 1, 1], [0, 11, 0, 10, 0, 0, 10, 0, 1, 0, 1, 0, 0, 0], [0, 1, 0, 1, 11, 0, 1, 0, 0, 0, 11, 0, 10, 1], [10, 0, 0, 10, 0, 0, 11, 1, 0, 1, 0, 0, 102, 0], [0, 10, 0, 1, 8, 1, 0, 0, 0, 11, 10, 0, 0, 0]];
maze.defaultxypos[0].push(12);
maze.defaultxypos[1].push(7);
maze.Map14 = [[0, 0, 0, 20, 0, 25, 25, 0, 0, 20, 20, 0, 0, 0], [0, 102, 0, 27, 0, 27, 27, 0, 0, 22, 22, 0, 0, 0], [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 1], [8, 1, 0, 30, 0, 30, 0, 0, 35, 30, 35, 30, 0, 0], [0, 2, 0, 2, 1, 0, 1, 2, 0, 1, 0, 2, 2, 2], [0, 1, 0, 32, 0, 0, 37, 0, 37, 32, 0, 32, 32, 0], [0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], [0, 0, 12, 2, 0, 2, 12, 0, 12, 12, 0, 0, 0, 0], [0, 0, 12, 2, 0, 2, 12, 0, 12, 12, 0, 0, 0, 0]];
maze.defaultxypos[0].push(1);
maze.defaultxypos[1].push(1);
maze.Map15 = [[2, 0, 0, 2, 1, 8, 0, 0, 20, 25, 20, 0, 0, 0], [0, 0, 0, 0, 1, 0, 0, 0, 27, 22, 27, 0, 0, 0], [2, 0, 0, 2, 1, 0, 0, 1, 1, 1, 1, 1, 10, 10], [2, 2, 2, 2, 1, 0, 0, 1, 0, 0, 0, 1, 23, 21], [0, 2, 0, 2, 1, 28, 21, 1, 0, 1, 0, 0, 0, 0], [2, 0, 2, 0, 1, 23, 26, 1, 0, 0, 1, 1, 1, 1], [2, 0, 2, 2, 1, 28, 21, 1, 1, 0, 1, 0, 0, 0], [0, 2, 0, 2, 20, 0, 0, 1, 0, 0, 1, 0, 0, 102], [2, 2, 0, 2, 27, 0, 8, 1, 0, 0, 0, 0, 0, 0]];
maze.defaultxypos[0].push(13);
maze.defaultxypos[1].push(7);
maze.Map16 = [[8, 22, 0, 0, 0, 0, 0, 0, 11, 12, 0, 0, 0, 20], [1, 1, 12, 1, 1, 1, 1, 0, 11, 12, 56, 1, 12, 0], [4, 0, 3, 1, 102, 0, 1, 0, 11, 12, 0, 1, 12, 0], [0, 1, 1, 1, 1, 0, 1, 0, 11, 12, 56, 1, 12, 0], [0, 1, 3, 0, 0, 4, 1, 0, 11, 12, 0, 1, 12, 0], [10, 1, 0, 1, 1, 1, 1, 0, 11, 12, 0, 1, 12, 0], [0, 1, 4, 0, 10, 3, 1, 0, 11, 12, 56, 1, 12, 0], [0, 1, 1, 1, 1, 0, 1, 0, 11, 12, 0, 1, 12, 0], [3, 0, 0, 10, 0, 4, 1, 0, 0, 57, 0, 1, 12, 0]];
maze.defaultxypos[0].push(4);
maze.defaultxypos[1].push(2);
maze.Map17 = [[0, 0, 1, 0, 0, 93, 2, 50, 50, 93, 2, 2, 2, 90], [0, 0, 1, 0, 0, 12, 2, 2, 2, 2, 0, 0, 2, 2], [0, 0, 1, 0, 0, 12, 2, 2, 2, 2, 0, 2, 0, 2], [0, 0, 2, 1, 1, 12, 12, 12, 90, 2, 0, 8, 0, 2], [12, 0, 0, 2, 91, 2, 102, 1, 12, 2, 0, 2, 0, 2], [12, 0, 0, 2, 2, 2, 2, 2, 12, 2, 0, 0, 0, 2], [0, 0, 93, 12, 12, 12, 0, 1, 12, 92, 2, 2, 2, 91], [0, 0, 0, 0, 2, 2, 2, 2, 90, 12, 12, 12, 12, 12], [0, 0, 0, 0, 92, 2, 8, 2, 91, 12, 12, 12, 12, 12]];
maze.defaultxypos[0].push(6);
maze.defaultxypos[1].push(4);
maze.Map18 = [[0, 0, 11, 0, 0, 10, 1, 0, 11, 8, 1, 0, 0, 0], [0, 1, 0, 0, 0, 11, 0, 10, 0, 0, 10, 0, 1, 0], [10, 0, 10, 1, 0, 1, 10, 0, 1, 0, 0, 1, 0, 11], [0, 10, 11, 0, 11, 0, 1, 1, 0, 0, 10, 0, 11, 0], [0, 11, 0, 0, 0, 1, 0, 0, 11, 1, 0, 1, 0, 0], [1, 0, 0, 1, 1, 11, 10, 0, 0, 1, 0, 11, 10, 0], [0, 0, 11, 8, 10, 0, 1, 0, 10, 11, 1, 0, 0, 1], [10, 1, 0, 102, 1, 10, 0, 10, 1, 0, 0, 11, 0, 0], [0, 0, 11, 10, 0, 0, 1, 0, 11, 10, 0, 0, 1, 0]];
maze.defaultxypos[0].push(3);
maze.defaultxypos[1].push(7);
maze.Map19 = [[1, 14, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 26, 1], [1, 13, 12, 14, 14, 13, 13, 13, 14, 0, 12, 12, 21, 1], [2, 14, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 0, 2], [2, 13, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 0, 2], [2, 13, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 0, 2], [2, 14, 12, 1, 12, 8, 0, 0, 0, 102, 1, 12, 0, 2], [2, 14, 1, 0, 1, 0, 21, 1, 1, 1, 1, 12, 0, 2], [2, 14, 0, 0, 1, 1, 27, 0, 0, 0, 20, 52, 0, 1], [2, 13, 1, 0, 2, 2, 1, 2, 2, 2, 2, 1, 0, 1]];
maze.defaultxypos[0].push(9);
maze.defaultxypos[1].push(5);
maze.Map20 = [[4, 10, 0, 10, 0, 1, 0, 11, 0, 0, 11, 0, 10, 0], [10, 0, 1, 3, 10, 11, 0, 1, 10, 1, 3, 0, 11, 4], [0, 0, 0, 11, 0, 10, 8, 11, 0, 10, 0, 1, 0, 0], [11, 1, 10, 10, 0, 1, 11, 0, 11, 11, 0, 11, 10, 1], [0, 11, 0, 0, 1, 0, 10, 1, 10, 0, 1, 10, 0, 0], [3, 0, 11, 1, 10, 10, 0, 11, 0, 0, 11, 0, 1, 4], [0, 1, 10, 4, 3, 11, 0, 1, 10, 11, 10, 102, 0, 10], [0, 3, 0, 10, 0, 1, 10, 0, 0, 1, 0, 11, 10, 0], [8, 1, 3, 11, 0, 10, 0, 4, 10, 11, 0, 3, 11, 0]];
maze.defaultxypos[0].push(11);
maze.defaultxypos[1].push(6);
maze.Map21 = [[102, 2, 2, 2, 2, 2, 2, 2, 0, 37, 2, 8, 32, 2], [2, 2, 0, 0, 37, 2, 2, 0, 26, 1, 2, 31, 1, 2], [0, 32, 0, 26, 1, 28, 0, 2, 2, 35, 2, 0, 20, 2], [21, 1, 33, 2, 35, 0, 0, 2, 0, 0, 2, 0, 0, 2], [2, 30, 0, 0, 2, 2, 2, 2, 22, 0, 2, 2, 2, 2], [0, 2, 2, 32, 0, 2, 2, 31, 1, 33, 2, 2, 2, 2], [0, 27, 2, 1, 23, 2, 27, 0, 30, 2, 2, 0, 22, 0], [36, 1, 28, 30, 2, 26, 1, 28, 2, 2, 2, 21, 1, 23], [8, 35, 0, 2, 0, 0, 25, 2, 2, 2, 2, 0, 20, 0]];
maze.defaultxypos[0].push(0);
maze.defaultxypos[1].push(0);
maze.Map22 = [[0, 8, 1, 13, 3, 14, 4, 1, 14, 0, 0, 12, 12, 13], [12, 0, 1, 14, 12, 1, 12, 1, 13, 1, 12, 14, 12, 13], [12, 13, 1, 0, 12, 1, 12, 1, 12, 1, 12, 14, 12, 13], [12, 13, 1, 48, 12, 52, 0, 1, 12, 1, 12, 14, 13, 12], [12, 14, 1, 0, 12, 1, 12, 1, 0, 1, 14, 12, 13, 1], [12, 14, 50, 14, 12, 1, 48, 50, 46, 1, 14, 12, 12, 13], [12, 46, 1, 48, 12, 1, 0, 1, 0, 1, 1, 1, 12, 13], [12, 14, 50, 14, 12, 1, 12, 8, 14, 1, 14, 14, 12, 13], [12, 13, 0, 13, 12, 1, 13, 0, 14, 1, 13, 12, 102, 12]];
maze.defaultxypos[0].push(12);
maze.defaultxypos[1].push(8);
maze.Map23 = [[0, 8, 1, 0, 12, 12, 55, 12, 12, 91, 0, 12, 12, 12], [90, 0, 1, 0, 0, 0, 12, 12, 12, 12, 0, 12, 91, 0], [90, 0, 12, 12, 91, 0, 2, 2, 2, 2, 2, 2, 2, 12], [12, 2, 2, 2, 2, 1, 2, 2, 1, 2, 12, 2, 2, 12], [0, 12, 13, 93, 12, 12, 12, 13, 20, 14, 12, 12, 12, 56], [53, 2, 2, 1, 2, 2, 2, 14, 90, 13, 2, 2, 2, 12], [53, 2, 2, 2, 102, 2, 2, 2, 12, 2, 2, 2, 2, 12], [53, 12, 12, 12, 0, 57, 12, 12, 91, 2, 2, 2, 0, 92], [53, 2, 1, 1, 1, 1, 1, 12, 12, 2, 2, 2, 0, 0]];
maze.defaultxypos[0].push(4);
maze.defaultxypos[1].push(6);
maze.Map24 = [[2, 2, 2, 2, 8, 2, 0, 2, 1, 102, 3, 8, 4, 3], [1, 1, 2, 2, 1, 2, 0, 2, 1, 1, 2, 1, 1, 3], [20, 25, 0, 0, 0, 0, 21, 1, 3, 4, 1, 3, 2, 4], [0, 2, 2, 2, 2, 2, 26, 1, 2, 4, 2, 3, 1, 1], [0, 2, 2, 2, 2, 2, 21, 1, 2, 2, 3, 1, 4, 3], [0, 1, 1, 1, 1, 2, 26, 1, 4, 2, 3, 2, 4, 2], [12, 0, 0, 12, 0, 1, 0, 2, 1, 2, 2, 3, 2, 4], [0, 12, 12, 0, 0, 1, 0, 2, 20, 1, 1, 3, 2, 2], [0, 12, 0, 12, 0, 1, 0, 2, 22, 0, 0, 27, 0, 0]];
maze.defaultxypos[0].push(9);
maze.defaultxypos[1].push(0);
maze.Map25 = [[14, 13, 55, 40, 0, 40, 55, 0, 12, 0, 10, 11, 0, 0], [0, 8, 10, 10, 10, 10, 10, 10, 10, 10, 10, 3, 14, 21], [53, 10, 11, 11, 11, 11, 11, 11, 12, 11, 8, 3, 11, 26], [43, 10, 11, 4, 3, 4, 4, 3, 11, 10, 3, 4, 10, 21], [14, 10, 11, 3, 11, 0, 10, 3, 11, 10, 3, 11, 10, 26], [0, 10, 11, 0, 102, 11, 10, 4, 3, 4, 4, 11, 10, 21], [53, 10, 11, 11, 11, 12, 11, 11, 11, 11, 11, 11, 10, 13], [43, 8, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 8, 14], [0, 12, 27, 47, 14, 0, 57, 47, 14, 0, 12, 52, 42, 0]];
maze.defaultxypos[0].push(4);
maze.defaultxypos[1].push(5);
maze.Map26 = [[0, 0, 1, 12, 0, 12, 12, 12, 12, 12, 91, 0, 2, 0], [12, 12, 0, 0, 12, 12, 12, 91, 0, 1, 0, 10, 2, 0], [0, 12, 12, 12, 0, 12, 1, 0, 0, 1, 0, 11, 2, 0], [12, 0, 0, 1, 93, 12, 12, 12, 0, 1, 0, 11, 2, 0], [12, 12, 12, 1, 1, 1, 11, 11, 11, 11, 8, 11, 2, 26], [0, 12, 1, 2, 0, 2, 2, 2, 2, 2, 2, 2, 0, 0], [12, 1, 1, 2, 0, 2, 2, 2, 2, 2, 2, 2, 0, 2], [12, 102, 1, 2, 4, 2, 2, 2, 2, 2, 2, 2, 2, 2], [0, 0, 1, 2, 3, 3, 32, 32, 4, 4, 0, 37, 37, 0]];
maze.defaultxypos[0].push(1);
maze.defaultxypos[1].push(7);
maze.Map27 = [[102, 0, 1, 10, 11, 0, 1, 1, 0, 1, 1, 0, 1, 0], [1, 0, 1, 10, 11, 0, 0, 11, 0, 10, 0, 0, 10, 0], [0, 0, 1, 10, 11, 1, 102, 0, 1, 1, 0, 11, 1, 1], [0, 1, 1, 10, 10, 0, 0, 1, 0, 10, 0, 1, 10, 0], [0, 0, 1, 10, 10, 1, 1, 1, 0, 1, 1, 1, 0, 0], [1, 0, 1, 10, 10, 0, 0, 1, 0, 0, 0, 1, 0, 1], [0, 0, 1, 10, 10, 1, 102, 1, 10, 10, 10, 1, 0, 0], [0, 1, 1, 10, 0, 0, 0, 8, 11, 11, 11, 1, 1, 0], [0, 0, 1, 10, 11, 0, 0, 1, 0, 0, 0, 0, 102, 0]];
maze.defaultxypos[0].push(12);
maze.defaultxypos[1].push(8);
maze.Map28 = [[0, 0, 13, 2, 11, 0, 10, 1, 14, 4, 3, 13, 4, 4], [1, 0, 3, 2, 11, 0, 0, 1, 3, 13, 4, 4, 13, 3], [0, 0, 14, 2, 11, 10, 0, 1, 14, 4, 3, 13, 4, 4], [0, 1, 14, 2, 11, 11, 11, 1, 13, 13, 14, 4, 13, 13], [0, 0, 3, 2, 11, 0, 10, 0, 0, 0, 0, 0, 0, 0], [1, 0, 13, 2, 11, 0, 0, 0, 1, 1, 1, 1, 1, 1], [0, 10, 4, 2, 11, 0, 0, 1, 0, 0, 0, 0, 0, 8], [10, 1, 3, 2, 11, 10, 0, 1, 0, 102, 0, 0, 0, 0], [0, 8, 14, 2, 11, 0, 11, 1, 0, 0, 0, 0, 0, 0]];
maze.defaultxypos[0].push(9);
maze.defaultxypos[1].push(7);
maze.Map29 = [[0, 0, 0, 40, 40, 0, 2, 1, 1, 2, 2, 2, 2, 2], [90, 8, 2, 2, 2, 0, 27, 22, 3, 3, 4, 2, 4, 0], [2, 2, 2, 2, 2, 1, 1, 1, 2, 2, 2, 2, 31, 1], [2, 2, 11, 4, 0, 10, 0, 1, 2, 2, 2, 2, 31, 1], [33, 2, 11, 10, 2, 11, 10, 2, 2, 2, 2, 2, 3, 2], [38, 2, 2, 3, 2, 11, 0, 2, 2, 2, 2, 2, 3, 2], [38, 2, 2, 10, 2, 11, 11, 2, 1, 1, 1, 1, 0, 1], [0, 2, 2, 4, 2, 11, 102, 2, 1, 8, 0, 0, 0, 0], [0, 22, 27, 0, 2, 11, 0, 2, 1, 0, 0, 0, 0, 0]];
maze.defaultxypos[0].push(6);
maze.defaultxypos[1].push(7);
maze.Map30 = [[8, 0, 22, 2, 2, 0, 2, 20, 2, 27, 0, 0, 30, 20], [2, 31, 1, 23, 27, 2, 0, 32, 26, 1, 38, 21, 1, 2], [28, 2, 20, 26, 1, 28, 31, 1, 33, 25, 0, 2, 32, 36], [28, 1, 2, 2, 25, 0, 0, 20, 27, 2, 2, 31, 1, 21], [0, 2, 22, 2, 2, 2, 2, 2, 1, 38, 2, 27, 20, 8], [2, 31, 1, 33, 0, 21, 1, 2, 35, 0, 26, 1, 38, 102], [0, 2, 20, 2, 2, 0, 2, 2, 2, 2, 2, 35, 32, 11], [28, 2, 2, 2, 0, 2, 0, 0, 2, 2, 2, 31, 1, 23], [2, 2, 0, 0, 2, 2, 8, 27, 37, 37, 22, 27, 30, 0]];
maze.defaultxypos[0].push(13);
maze.defaultxypos[1].push(5);
maze.Map31 = [[0, 0, 21, 1, 23, 8, 57, 0, 21, 1, 23, 0, 57, 0], [0, 0, 21, 1, 23, 21, 1, 23, 21, 1, 23, 21, 1, 11], [56, 1, 0, 55, 0, 21, 1, 23, 0, 55, 0, 21, 1, 8], [0, 20, 11, 12, 12, 12, 12, 12, 12, 12, 12, 11, 11, 102], [11, 0, 8, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 1], [0, 27, 12, 12, 12, 12, 12, 12, 12, 12, 12, 8, 11, 0], [51, 1, 0, 52, 0, 26, 1, 28, 0, 52, 0, 26, 1, 0], [0, 0, 26, 1, 28, 26, 1, 28, 26, 1, 28, 26, 1, 0], [0, 0, 26, 1, 28, 8, 50, 0, 26, 1, 28, 0, 55, 0]];
maze.defaultxypos[0].push(13);
maze.defaultxypos[1].push(2);
maze.Map32 = [[2, 2, 8, 2, 2, 2, 2, 2, 8, 2, 2, 2, 2, 2], [4, 3, 4, 4, 11, 2, 4, 3, 3, 4, 11, 2, 8, 0], [41, 1, 2, 21, 1, 2, 46, 1, 2, 21, 1, 2, 0, 0], [3, 11, 2, 3, 11, 2, 3, 11, 2, 3, 11, 2, 3, 0], [41, 1, 2, 46, 1, 2, 46, 1, 2, 46, 1, 2, 3, 11], [4, 11, 2, 4, 11, 2, 4, 11, 2, 4, 11, 2, 4, 11], [21, 1, 2, 46, 1, 2, 21, 1, 2, 46, 1, 2, 4, 11], [102, 11, 2, 3, 4, 4, 3, 11, 2, 3, 4, 3, 4, 11], [2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2]];
maze.defaultxypos[0].push(0);
maze.defaultxypos[1].push(7);
maze.Map33 = [[0, 0, 0, 0, 0, 11, 8, 0, 11, 10, 0, 0, 1, 0], [0, 0, 0, 0, 0, 1, 28, 0, 1, 0, 0, 1, 28, 0], [0, 0, 0, 0, 1, 28, 41, 1, 28, 46, 1, 28, 0, 11], [0, 0, 0, 1, 4, 0, 1, 3, 0, 1, 4, 0, 1, 8], [0, 0, 1, 28, 46, 1, 28, 41, 1, 28, 46, 1, 28, 41], [0, 1, 0, 0, 1, 0, 0, 1, 0, 0, 1, 0, 0, 1], [1, 28, 21, 1, 28, 26, 1, 28, 21, 1, 28, 26, 1, 8], [0, 0, 1, 28, 0, 1, 0, 0, 1, 28, 0, 1, 0, 102], [0, 1, 0, 0, 11, 8, 0, 1, 0, 0, 11, 0, 0, 0]];
maze.defaultxypos[0].push(13);
maze.defaultxypos[1].push(7);
maze.Map34 = [[2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2], [2, 2, 90, 10, 10, 10, 10, 91, 10, 10, 10, 10, 91, 2], [2, 2, 10, 1, 12, 12, 12, 1, 12, 12, 12, 1, 10, 2], [2, 2, 10, 50, 93, 52, 12, 55, 12, 52, 90, 50, 10, 2], [2, 2, 10, 12, 56, 1, 12, 102, 12, 1, 58, 12, 10, 2], [2, 2, 10, 52, 92, 50, 12, 57, 12, 50, 91, 52, 10, 2], [2, 2, 10, 1, 12, 12, 12, 1, 12, 12, 12, 1, 92, 2], [2, 2, 93, 10, 10, 10, 10, 93, 10, 10, 10, 10, 0, 0], [2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 8, 2]];
maze.defaultxypos[0].push(7);
maze.defaultxypos[1].push(4);
maze.Map35 = [[2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2], [2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2], [2, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 2], [2, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 2], [2, 1, 0, 0, 0, 0, 103, 0, 0, 0, 0, 0, 1, 2], [2, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 2], [2, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 2], [2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2], [2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2]];
maze.defaultxypos[0].push(6);
maze.defaultxypos[1].push(4);
maze.Map100 = [[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]];
maze.Map100 = [[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]];
Symbol 485 MovieClip Frame 4
function playsnd(tname, offset, loop) {
offset = ((offset != undefined) ? (offset) : 0);
loop = ((loop != undefined) ? (loop) : 0);
snd[tname].start(offset, loop);
}
var interval = new Object();
interval.timerID = new Number();
interval.fpsID = new Number();
maze.maxmap = maze.defaultxypos[0].length;
var game = new Object();
game = {tileW:30, tileH:30, currentMap:13, mousedelay:400, default_timer:0, timer:0, timesec:0, pausemuna:false, autosave:true, autoquality:true, acct:0, maxacct:3};
var ball = new Object();
ball = {xtile:13, ytile:6, speed:3, width:12, height:12, targetx:0, targety:0, xmoment:0, ymoment:0, maxpower:3, wind:0, ttl_jumps:0, ttl_pops:0, ttl_falls:0};
ball.lastcheck = 0;
ball.maxmoment = 0;
ball.xtile = maze.defaultxypos[0][game.currentMap - 1];
ball.ytile = maze.defaultxypos[1][game.currentMap - 1];
game.xpos = ball.xtile;
game.ypos = ball.ytile;
game.autosave = true;
game.autoquality = true;
game.quality = "HIGH";
game.Tile0 = function () {
};
game.Tile0.prototype.walkable = true;
game.Tile0.prototype.frame = 1;
game.Tile1 = function () {
};
game.Tile1.prototype.walkable = false;
game.Tile1.prototype.frame = 2;
game.trap1 = function () {
};
game.trap1.prototype.walkable = true;
game.trap1.prototype.trap = true;
game.Tile10 = function () {
};
game.Tile10.prototype = new game.trap1();
game.Tile10.prototype.frame = 3;
game.Tile11 = function () {
};
game.Tile11.prototype = new game.trap1();
game.Tile11.prototype.frame = 4;
game.Tile12 = function () {
};
game.Tile12.prototype = new game.trap1();
game.Tile12.prototype.frame = 6;
game.trap2 = function () {
};
game.trap2.prototype.walkable = true;
game.trap2.prototype.trap = true;
game.trap2.prototype.frame = 5;
game.Tile20 = function () {
};
game.Tile20.prototype = new game.trap2();
game.Tile20.prototype.degree = 0;
game.Tile21 = function () {
};
game.Tile21.prototype = new game.trap2();
game.Tile21.prototype.degree = 90;
game.Tile22 = function () {
};
game.Tile22.prototype = new game.trap2();
game.Tile22.prototype.degree = 180;
game.Tile23 = function () {
};
game.Tile23.prototype = new game.trap2();
game.Tile23.prototype.degree = 270;
game.Tile25 = function () {
};
game.Tile25.prototype = new game.trap2();
game.Tile25.prototype.degree = 0;
game.Tile25.prototype.delay = 44;
game.Tile26 = function () {
};
game.Tile26.prototype = new game.trap2();
game.Tile26.prototype.degree = 90;
game.Tile26.prototype.delay = 44;
game.Tile27 = function () {
};
game.Tile27.prototype = new game.trap2();
game.Tile27.prototype.degree = 180;
game.Tile27.prototype.delay = 44;
game.Tile28 = function () {
};
game.Tile28.prototype = new game.trap2();
game.Tile28.prototype.degree = 270;
game.Tile28.prototype.delay = 44;
game.trap2a = function () {
};
game.trap2a.prototype.walkable = true;
game.trap2a.prototype.trap = true;
game.trap2a.prototype.fall = true;
game.trap2a.prototype.frame = 17;
game.Tile30 = function () {
};
game.Tile30.prototype = new game.trap2a();
game.Tile30.prototype.degree = 0;
game.Tile31 = function () {
};
game.Tile31.prototype = new game.trap2a();
game.Tile31.prototype.degree = 90;
game.Tile32 = function () {
};
game.Tile32.prototype = new game.trap2a();
game.Tile32.prototype.degree = 180;
game.Tile33 = function () {
};
game.Tile33.prototype = new game.trap2a();
game.Tile33.prototype.degree = 270;
game.Tile35 = function () {
};
game.Tile35.prototype = new game.trap2a();
game.Tile35.prototype.degree = 0;
game.Tile35.prototype.delay = 44;
game.Tile36 = function () {
};
game.Tile36.prototype = new game.trap2a();
game.Tile36.prototype.degree = 90;
game.Tile36.prototype.delay = 44;
game.Tile37 = function () {
};
game.Tile37.prototype = new game.trap2a();
game.Tile37.prototype.degree = 180;
game.Tile37.prototype.delay = 44;
game.Tile38 = function () {
};
game.Tile38.prototype = new game.trap2a();
game.Tile38.prototype.degree = 270;
game.Tile38.prototype.delay = 44;
game.trap2b = function () {
};
game.trap2b.prototype.walkable = true;
game.trap2b.prototype.trap = true;
game.trap2b.prototype.fall = true;
game.trap2b.prototype.disappearing = true;
game.trap2b.prototype.frame = 19;
game.Tile40 = function () {
};
game.Tile40.prototype = new game.trap2b();
game.Tile40.prototype.degree = 0;
game.Tile41 = function () {
};
game.Tile41.prototype = new game.trap2b();
game.Tile41.prototype.degree = 90;
game.Tile42 = function () {
};
game.Tile42.prototype = new game.trap2b();
game.Tile42.prototype.degree = 180;
game.Tile43 = function () {
};
game.Tile43.prototype = new game.trap2b();
game.Tile43.prototype.degree = 270;
game.Tile45 = function () {
};
game.Tile45.prototype = new game.trap2b();
game.Tile45.prototype.degree = 0;
game.Tile45.prototype.delay = 120;
game.Tile46 = function () {
};
game.Tile46.prototype = new game.trap2b();
game.Tile46.prototype.degree = 90;
game.Tile46.prototype.delay = 120;
game.Tile47 = function () {
};
game.Tile47.prototype = new game.trap2b();
game.Tile47.prototype.degree = 180;
game.Tile47.prototype.delay = 120;
game.Tile48 = function () {
};
game.Tile48.prototype = new game.trap2b();
game.Tile48.prototype.degree = 270;
game.Tile48.prototype.delay = 120;
game.trap2b = function () {
};
game.trap2b.prototype.walkable = true;
game.trap2b.prototype.trap = true;
game.trap2b.prototype.fall = true;
game.trap2b.prototype.disappearing = true;
game.trap2b.prototype.frame = 19;
game.trap3 = function () {
};
game.trap3.prototype.walkable = true;
game.trap3.prototype.trap = true;
game.trap3.prototype.fall = true;
game.trap3.prototype.frame = 7;
game.Tile50 = function () {
};
game.Tile50.prototype = new game.trap3();
game.Tile50.prototype.degree = 0;
game.Tile51 = function () {
};
game.Tile51.prototype = new game.trap3();
game.Tile51.prototype.degree = 90;
game.Tile52 = function () {
};
game.Tile52.prototype = new game.trap3();
game.Tile52.prototype.degree = 180;
game.Tile53 = function () {
};
game.Tile53.prototype = new game.trap3();
game.Tile53.prototype.degree = 270;
game.Tile55 = function () {
};
game.Tile55.prototype = new game.trap3();
game.Tile55.prototype.degree = 0;
game.Tile55.prototype.delay = 44;
game.Tile56 = function () {
};
game.Tile56.prototype = new game.trap3();
game.Tile56.prototype.degree = 90;
game.Tile56.prototype.delay = 44;
game.Tile57 = function () {
};
game.Tile57.prototype = new game.trap3();
game.Tile57.prototype.degree = 180;
game.Tile57.prototype.delay = 44;
game.Tile58 = function () {
};
game.Tile58.prototype = new game.trap3();
game.Tile58.prototype.degree = 270;
game.Tile58.prototype.delay = 44;
game.wind1 = function () {
};
game.wind1.prototype.walkable = true;
game.wind1.prototype.wind = true;
game.wind1.prototype.frame = 12;
game.wind1.prototype.strength = 1;
game.Tile90 = function () {
};
game.Tile90.prototype = new game.wind1();
game.Tile90.prototype.degree = 0;
game.Tile91 = function () {
};
game.Tile91.prototype = new game.wind1();
game.Tile91.prototype.degree = 90;
game.Tile92 = function () {
};
game.Tile92.prototype = new game.wind1();
game.Tile92.prototype.degree = 180;
game.Tile93 = function () {
};
game.Tile93.prototype = new game.wind1();
game.Tile93.prototype.degree = 270;
game.door = function () {
};
game.door.prototype.walkable = true;
game.door.prototype.frame = 14;
game.door.prototype.door = true;
game.Tile102 = function () {
};
game.Tile102.prototype = new game.door();
game.Tile103 = function () {
};
game.Tile103.prototype = new game.door();
game.Tile103.prototype.frame = 13;
game.fall = function () {
};
game.fall.prototype.walkable = true;
game.fall.prototype.frame = 16;
game.fall.prototype.fall = true;
game.Tile2 = function () {
};
game.Tile2.prototype = new game.fall();
game.Tile3 = function () {
};
game.Tile3.prototype = new game.fall();
game.Tile3.prototype.frame = 18;
game.Tile3.prototype.disappearing = true;
game.Tile4 = function () {
};
game.Tile4.prototype = new game.fall();
game.Tile4.prototype.frame = 18;
game.Tile4.prototype.disappearing = true;
game.Tile4.prototype.delay = 120;
game.Tile13 = function () {
};
game.Tile13.prototype.walkable = true;
game.Tile13.prototype.frame = 20;
game.Tile13.prototype.disappearing = true;
game.Tile13.prototype.trap = true;
game.Tile14 = function () {
};
game.Tile14.prototype.walkable = true;
game.Tile14.prototype.frame = 20;
game.Tile14.prototype.disappearing = true;
game.Tile14.prototype.trap = true;
game.Tile14.prototype.delay = 120;
game.Tile8 = function () {
};
game.Tile8.prototype.savepoint = true;
game.Tile8.prototype.walkable = true;
game.Tile8.prototype.frame = 15;
var snd = new Object();
snd.bounce = new Sound();
snd.bounce.attachSound("bounce");
snd.fan2 = new Sound();
snd.fan2.attachSound("fan2");
snd.pinc = new Sound();
snd.pinc.attachSound("pinc");
snd.longwho = new Sound();
snd.longwho.attachSound("longwho");
snd.waveswp = new Sound();
snd.waveswp.attachSound("waveswp");
Symbol 485 MovieClip Frame 5
function moveball(ob) {
ob.xtile = Math.floor(ob.x / game.tileW);
ob.ytile = Math.floor(ob.y / game.tileH);
if ((((ob.x % game.tileW) == 15) and ((ob.y % game.tileW) == 15)) && (!checktrap(ob))) {
checkwind(ob);
if (((ob.xmoment != 0) && (!game[(("t_" + ob.ytile) + "_") + (ob.xtile + 1)].walkable)) && (!game[(("t_" + ob.ytile) + "_") + (ob.xtile - 1)].walkable)) {
playsnd("bounce");
ob.xmoment = 0;
} else if (((ob.ymoment != 0) && (!game[(("t_" + (ob.ytile + 1)) + "_") + ob.xtile].walkable)) && (!game[(("t_" + (ob.ytile - 1)) + "_") + ob.xtile].walkable)) {
playsnd("bounce");
ob.ymoment = 0;
}
ob.dirx = 0;
ob.diry = 0;
if (ob.xmoment != 0) {
ob.targetx = ob.xtile + ob.xmoment;
if (game[(("t_" + ob.ytile) + "_") + (ob.xtile + 1)].walkable && (ob.xmoment > 0)) {
ob.xmoment = Math.abs(ob.xmoment);
ob.dirx = 1;
ob.diry = 0;
ob.xmoment--;
} else if (ob.xmoment > 0) {
playsnd("bounce");
ob.xmoment = -Math.abs(ob.xmoment);
}
if (game[(("t_" + ob.ytile) + "_") + (ob.xtile - 1)].walkable && (ob.xmoment < 0)) {
ob.dirx = -1;
ob.diry = 0;
ob.xmoment++;
} else if (ob.xmoment < 0) {
playsnd("bounce");
ob.xmoment = Math.abs(ob.xmoment);
}
} else if (ob.ymoment != 0) {
ob.targety = ob.ytile + ob.ymoment;
if (game[(("t_" + (ob.ytile + 1)) + "_") + ob.xtile].walkable && (ob.ymoment > 0)) {
ob.ymoment = Math.abs(ob.ymoment);
ob.dirx = 0;
ob.diry = 1;
ob.ymoment--;
} else if (ob.ymoment > 0) {
playsnd("bounce");
ob.ymoment = -Math.abs(ob.ymoment);
}
if (game[(("t_" + (ob.ytile - 1)) + "_") + ob.xtile].walkable && (ob.ymoment < 0)) {
ob.dirx = 0;
ob.diry = -1;
ob.ymoment++;
} else if (ob.ymoment < 0) {
playsnd("bounce");
ob.ymoment = Math.abs(ob.ymoment);
}
} else {
ob.xmoment = 0;
ob.ymoment = 0;
ob.wind = 0;
ob.moving = false;
ob.clip.gotoAndStop(1);
checkballoon();
checksavepoint(ob);
return(undefined);
}
}
ob.y = ob.y + (ob.speed * ob.diry);
ob.x = ob.x + (ob.speed * ob.dirx);
ob.xtile = Math.floor(ob.x / game.tileW);
ob.ytile = Math.floor(ob.y / game.tileW);
ob.clip._x = ob.x;
ob.clip._y = ob.y;
ob.clip.ball.play();
return(true);
}
function checkballoon() {
var _local1 = ball;
if (!checkwind(_local1)) {
if (!checktrap(_local1)) {
checkdoor(_local1);
checksavepoint(_local1);
}
}
}
function checktrap(ob) {
var _local1 = new String((("t_" + ob.ytile) + "_") + ob.xtile);
if (game[_local1].trap) {
var _local4 = Math.max(Math.abs(ob.xmoment), Math.abs(ob.ymoment));
var _local3 = game.clip[_local1].trap._currentframe;
switch (game[_local1].frame) {
case 7 :
if ((_local4 == 0) || ((_local3 >= 50) && (_local3 <= 68))) {
return(ballpop());
}
standbyob(ob);
case 3 :
case 6 :
if (_local4 == 0) {
return(ballpop());
}
break;
case 4 :
if (_local4 <= 1) {
return(ballpop());
}
break;
case 5 :
case 17 :
case 19 :
if ((_local3 >= 50) && (_local3 <= 68)) {
return(ballpop());
}
standbyob(ob);
break;
case 20 :
if (((_local4 == 0) && (game.clip[_local1].fall._currentframe > 36)) && (game.clip[_local1].fall._currentframe < 72)) {
return(ballpop());
}
default :
return(false);
}
} else {
return(false);
}
}
function standbyob(ob) {
if (!ob.moving) {
ob.clip.onEnterFrame = function () {
if (!controller.disabled) {
var _local1 = ball;
if (!_local1.moving) {
if (!checktrap(_local1)) {
checkdoor(_local1);
}
} else {
delete _local1.clip.onEnterFrame;
}
}
};
}
}
function ballpop() {
var ob = ball;
if (!ob.poped) {
ob.poped = true;
ob.ttl_pops++;
ob.clip.gotoAndStop(10);
updateAfterEvent();
ob.clip.onEnterFrame = function () {
if (ob.clip.ball._currentframe == 12) {
var _local1 = new String((("t_" + game.ypos) + "_") + game.xpos);
if (game[_local1].trap && ((((game[_local1].frame == 3) || (game[_local1].frame == 4)) || (game[_local1].frame == 6)) || (game[_local1].frame == 7))) {
game.xpos = maze.defaultxypos[0][game.currentMap - 1];
game.ypos = maze.defaultxypos[1][game.currentMap - 1];
}
delete ob.clip.onEnterFrame;
setballoon(game.xpos, game.ypos);
}
};
if (mouse.down) {
mouse.power._visible = false;
mouse.down = false;
Mouse.show();
}
return(true);
}
return(false);
}
function checkwind(ob) {
var _local2 = new String((("t_" + ob.ytile) + "_") + ob.xtile);
if (game[_local2].wind) {
ob.wind = ob.wind + ((ob.wind < ob.maxmoment) ? 1 : 0);
i = ob.wind;
game.clip[_local2].wind.spinner.play();
switch (game[_local2].degree) {
case 0 :
ob.ymoment = ob.ymoment + (i + ob.maxmoment);
ob.xmoment = 0;
break;
case 90 :
ob.xmoment = ob.xmoment - (i + ob.maxmoment);
ob.ymoment = 0;
break;
case 180 :
ob.ymoment = ob.ymoment - (i + ob.maxmoment);
ob.xmoment = 0;
break;
case 270 :
ob.xmoment = ob.xmoment + (i + ob.maxmoment);
ob.ymoment = 0;
}
ob.moving = true;
var i = Math.max(Math.abs(ob.xmoment), Math.abs(ob.ymoment));
i = ((i > ob.maxpower) ? (ob.maxpower) : (i));
ob.clip.gotoAndStop(i + 1);
}
}
function checkdoor(ob) {
if ((!ob.moving) && (!ob.poped)) {
var _local2 = new String((("t_" + ob.ytile) + "_") + ob.xtile);
if (game[_local2].door && ((game[_local2].frame == 13) || (game[_local2].frame == 14))) {
if (game.currentMap == 4) {
game.currentMap++;
gotoAndPlay ("realfrtut");
} else {
game.currentMap++;
nextmap();
}
game.xpos = ob.xtile;
game.ypos = ob.ytile;
} else if (game[_local2].fall && (game[_local2].disappearing)) {
if ((game.clip[_local2].fall._currentframe > 36) && (game.clip[_local2].fall._currentframe < 72)) {
game.currentMap--;
ob.ttl_falls++;
prevmap();
game.xpos = ob.xtile;
game.ypos = ob.ytile;
} else {
standbyob(ob);
}
} else if (game[_local2].fall && (!game[_local2].disappearing)) {
game.currentMap--;
prevmap();
game.xpos = ob.xtile;
game.ypos = ob.ytile;
} else if (game[_local2].disappearing) {
standbyob(ob);
}
}
}
function checksavepoint(ob) {
if ((!ob.moving) && (!ob.poped)) {
var _local2 = new String((("t_" + ob.ytile) + "_") + ob.xtile);
ob.onsavepoint = game.clip[_local2].savepoint;
if (ob.onsavepoint) {
ob.clip.gotoAndStop(5);
}
if ((game.clip[_local2].savepoint && (game.autosave)) && (!((game.xpos == ob.xtile) && (game.ypos == ob.ytile)))) {
game.xpos = ob.xtile;
game.ypos = ob.ytile;
if (savegame()) {
showmessage("Game Saved");
} else {
showmessage("Game Failed");
}
}
}
}
Symbol 485 MovieClip Frame 6
function nextmap() {
var ob = ball;
controller.disabled = true;
playsnd("waveswp");
if (game.autoquality) {
_root._quality = ((_root.quality == "HIGH") ? "MEDIUM" : "LOW");
}
if (game.clip == stage1) {
var old_stage = stage1;
var new_stage = stage2;
} else {
var old_stage = stage2;
var new_stage = stage1;
}
stopallanimation(old_stage);
balloon_free._visible = true;
balloon_free._x = ob.x + game.clip._x;
balloon_free._y = ob.y + game.clip._y;
balloon_free._xscale = ob.clip._xscale;
balloon_free._yscale = ob.clip._yscale;
balloon_free._alpha = 100;
removeMovieClip(ob.clip);
balloon_free.ctr = 0;
balloon_free.onEnterFrame = function () {
if (game.clip == old_stage) {
if (new_stage._alpha > 0) {
new_stage._alpha = new_stage._alpha - 10;
old_stage._xscale = old_stage._xscale - 1;
old_stage._yscale = old_stage._yscale - 1;
old_stage._x = old_stage._x + 2.1;
old_stage._y = old_stage._y + 1.35;
balloon_free._xscale = balloon_free._xscale - 1;
balloon_free._yscale = balloon_free._xscale;
} else {
new_stage._alpha = 0;
buildMap(maze["Map" + game.currentMap], new_stage);
new_stage.swapDepths(old_stage);
if (_root._quality == "HIGH") {
old_stage._quality = "MEDIUM";
} else if (_root._quality == "MEDIUM") {
old_stage._quality = "LOW";
}
new_stage._quality = game.quality;
setballoon(ob.xtile, ob.ytile);
_root._quality = game.quality;
}
} else if ((game.clip == new_stage) && (game.currentMap != maze.maxmap)) {
if (new_stage._alpha < 100) {
new_stage._alpha = new_stage._alpha + 10;
balloon_free._alpha = balloon_free._alpha - 10;
} else {
delete balloon_free.onEnterFrame;
balloon_free._visible = false;
controller.disabled = false;
checkballoon();
}
} else if (game.currentMap == maze.maxmap) {
balloon_free._xscale = balloon_free._xscale + Math.floor(balloon_free._xscale / 5);
balloon_free._yscale = balloon_free._xscale;
balloon_free._alpha = balloon_free._alpha - 5;
mouse._alpha = balloon_free._alpha;
old_stage._alpha = old_stage._alpha - 6;
stage_cover._alpha = old_stage._alpha;
if (balloon_free._alpha < 0) {
delete balloon_free.onEnterFrame;
stopallanimation(old_stage);
stopallanimation(new_stage);
endgame();
}
}
};
if (game.currentMap > game.highestfloor) {
game.highestfloor = game.currentMap;
}
}
function prevmap() {
var ob = ball;
controller.disabled = true;
playsnd("longwho");
if (game.autoquality) {
_root._quality = ((_root.quality == "HIGH") ? "MEDIUM" : "LOW");
}
if (game.clip == stage1) {
var old_stage = stage1;
var new_stage = stage2;
} else {
var old_stage = stage2;
var new_stage = stage1;
}
balloon_free._visible = true;
balloon_free._x = ob.x + game.clip._x;
balloon_free._y = ob.y + game.clip._y;
balloon_free._xscale = ob.clip._xscale;
balloon_free._yscale = ob.clip._yscale;
balloon_free._alpha = 100;
removeMovieClip(ob.clip);
balloon_free.ctr = 0;
balloon_free.onEnterFrame = function () {
if (game.clip == old_stage) {
if (old_stage._alpha > 0) {
old_stage._alpha = old_stage._alpha - 10;
new_stage._xscale = new_stage._xscale + 1;
new_stage._yscale = new_stage._yscale + 1;
new_stage._x = new_stage._x - 2.1;
new_stage._y = new_stage._y - 1.35;
} else {
old_stage._alpha = 0;
if (game.currentMap > 1) {
buildMap(maze["Map" + (game.currentMap - 1)], old_stage);
old_stage._xscale = 90;
old_stage._yscale = 90;
old_stage._x = 51;
old_stage._y = 43.5;
stopallanimation(old_stage);
} else {
old_stage._xscale = 100;
old_stage._yscale = 100;
old_stage._x = 30;
old_stage._y = 30;
old_stage._alpha = 100;
stopallanimation(old_stage);
}
new_stage.swapDepths(old_stage);
if (_root._quality == "HIGH") {
old_stage._quality = "MEDIUM";
} else if (_root._quality == "MEDIUM") {
old_stage._quality = "LOW";
}
buildMap(maze["Map" + game.currentMap], new_stage);
new_stage._quality = game.quality;
setballoon(ob.xtile, ob.ytile);
balloon_free._visible = false;
ob.clip._xscale = 80;
ob.clip._yscale = 80;
_root._quality = game.quality;
}
} else if (game.clip == new_stage) {
if ((old_stage._alpha < 100) && (game.currentMap > 1)) {
old_stage._alpha = old_stage._alpha + 10;
} else {
controller.disabled = false;
delete balloon_free.onEnterFrame;
balloon_free._visible = false;
checkballoon();
}
}
};
}
function stopallanimation(stage) {
var _local5 = maze["Map" + game.currentMap][0].length;
var _local6 = maze["Map" + game.currentMap].length;
var _local4 = 0;
while (_local4 < _local6) {
var _local3 = 0;
while (_local3 < _local5) {
var _local1 = new String((("t_" + _local4) + "_") + _local3);
if (stage[_local1].trap) {
stage[_local1].trap.stop();
}
if (stage[_local1].fall) {
stage[_local1].fall.stop();
}
if (stage[_local1].savepoint) {
stage[_local1].savepoint.stop();
}
if (stage[_local1].wind) {
stage[_local1].wind.spinner.stop();
}
_local3++;
}
_local4++;
}
game.clip.ball.ball.stop();
}
function playallanimation(stage) {
var _local5 = maze["Map" + game.currentMap][0].length;
var _local6 = maze["Map" + game.currentMap].length;
var _local4 = 0;
while (_local4 < _local6) {
var _local3 = 0;
while (_local3 < _local5) {
var _local1 = new String((("t_" + _local4) + "_") + _local3);
if (stage[_local1].trap) {
stage[_local1].trap.play();
}
if (stage[_local1].fall) {
stage[_local1].fall.play();
}
if (stage[_local1].savepoint) {
stage[_local1].savepoint.play();
}
if (stage[_local1].wind.spinner._currentframe > 1) {
stage[_local1].wind.spinner.play();
}
_local3++;
}
_local4++;
}
game.clip.ball.ball.play();
}
function endgame() {
controller.disabled = true;
balloon_free._visible = false;
mouse._visible = false;
stage_cover._visible = false;
stage1._visible = false;
stage2._visible = false;
stage_cover.pausemuna._visible = false;
removeMovieClip(controller);
savegame();
gotoAndStop ("endgame");
}
function endtimer() {
var i = 0;
controller.disabled = true;
game.highestfloor = game.currentMap;
var _local1 = Object(ball);
balloon_free._visible = true;
balloon_free._x = _local1.x + game.clip._x;
balloon_free._y = _local1.y + game.clip._y;
balloon_free._xscale = _local1.clip._xscale;
balloon_free._yscale = _local1.clip._yscale;
balloon_free._alpha = 100;
_local1.clip._visible = false;
stopallanimation(stage1);
stopallanimation(stage2);
balloon_free.gotoAndStop(5);
mouse._visible = false;
stage_cover.pausemuna._visible = false;
stage_cover._visible = false;
gotoAndStop ("endtimer");
balloon_free.onEnterFrame = function () {
i++;
if (i < 21) {
stage1._alpha = stage1._alpha - 5;
stage2._alpha = stage1._alpha;
removeMovieClip(controller);
} else if (i == 72) {
balloon_free._visible = false;
delete balloon_free.onEnterFrame;
nextFrame();
}
};
}
Symbol 485 MovieClip Frame 7
function buildMap(map, new_stage) {
mouse._x = game.clip._xmouse + game.clip._x;
mouse._y = game.clip._ymouse + game.clip._y;
game.clip = new_stage;
game.clip._xscale = 100;
game.clip._yscale = 100;
game.clip._x = 30;
game.clip._y = 30;
var _local7 = map[0].length;
var _local8 = map.length;
var _local5 = 0;
while (_local5 < _local8) {
var _local4 = 0;
while (_local4 < _local7) {
var _local1 = new String((("t_" + _local5) + "_") + _local4);
game[_local1] = new game["Tile" + map[_local5][_local4]]();
game.clip.tiles_.duplicateMovieClip(_local1, (_local5 * 100) + (_local4 * 2));
game.clip[_local1]._x = _local4 * game.tileW;
game.clip[_local1]._y = _local5 * game.tileH;
game.clip[_local1].gotoAndStop(game[_local1].frame);
var _local2 = game.clip[_local1];
if (_local2.tile) {
_local2.tile._rotation = -1 + Math.round(Math.random() * 2);
}
if (game[_local1].trap) {
if (game[_local1].degree) {
_local2.trap._rotation = game[_local1].degree;
}
if (game[_local1].disappearing && (game[_local1].delay)) {
_local2.fall.gotoAndPlay(game[_local1].delay);
} else if (game[_local1].delay) {
_local2.trap.gotoAndPlay(game[_local1].delay);
}
}
if (game[_local1].wind && (game[_local1].degree)) {
_local2.wind._rotation = game[_local1].degree;
}
if ((game[_local1].fall && (game[_local1].disappearing)) && (game[_local1].delay)) {
_local2.fall.gotoAndPlay(game[_local1].delay);
}
var _local3 = 0;
while (_local3 < 5) {
_local2["dirt" + _local3]._rotation = Math.round(Math.random() * 390);
_local2["dirt" + _local3]._x = Math.round(Math.random() * 20) + 10;
_local2["dirt" + _local3]._y = Math.round(Math.random() * 20) + 10;
_local2["dirt" + _local3]._xscale = Math.round(Math.random() * 50) + 50;
_local2["dirt" + _local3]._yscale = Math.round(Math.random() * 50) + 50;
if (Math.round(Math.random() * 2) == 1) {
removeMovieClip(_local2["dirt" + _local3]);
}
_local3++;
}
_local4++;
}
_local5++;
}
if (game.currentMap < 5) {
floor.text = "b" + (5 - game.currentMap);
} else if (game.currentMap == 5) {
floor.text = "G";
} else if (game.currentMap > 5) {
floor.text = game.currentMap - 4;
}
stage_cover.gotoAndStop(1);
}
function setController() {
var ob = ball;
setballoon(ob.xtile, ob.ytile);
createEmptyMovieClip("controller", 21);
controller.onEnterFrame = function () {
if (!controller.disabled) {
work();
}
fps++;
};
mouse_Move();
controller.onMouseMove = function () {
if (!controller.disabled) {
mouse_Move();
}
};
controller.onMouseDown = function () {
if ((!controller.disabled) && (!ob.poped)) {
mouse_set();
}
};
controller.onMouseUp = function () {
if ((!controller.disabled) && (!ob.poped)) {
mouse_spin();
}
};
}
function setballoon(xtile, ytile) {
game.clip.balloon_free.duplicateMovieClip("ball", 10000);
var ob = ball;
ob.clip = game.clip.ball;
ob.targetx = 0;
ob.targety = 0;
ob.xmoment = 0;
ob.ymoment = 0;
ob.xtile = xtile;
ob.ytile = ytile;
ob.x = (ball.xtile * game.tileW) + (game.tileW / 2);
ob.y = (ball.ytile * game.tileW) + (game.tileW / 2);
ob.clip._x = ob.x;
ob.clip._y = ob.y;
if (ob.poped) {
ob.clip._xscale = 1;
ob.clip._yscale = 1;
ob.clip.onEnterFrame = function () {
if (!controller.disabled) {
if (ob.clip._xscale < 80) {
ob.clip._xscale = ob.clip._xscale + ((85 - ob.clip._xscale) / 10);
ob.clip._yscale = ob.clip._xscale;
} else {
ob.clip._xscale = 80;
ob.clip._yscale = 80;
ob.poped = false;
delete ob.clip.onEnterFrame;
checkballoon(ob);
}
}
};
mouse.power._visible = false;
} else {
ob.clip._xscale = 80;
ob.clip._yscale = 80;
}
checksavepoint(ob);
}
function work() {
var _local1 = ball;
if (!_local1.poped) {
if (!_local1.moving) {
if (_local1.clip._xscale > 80) {
_local1.clip._xscale = _local1.clip._xscale - 1;
_local1.clip._yscale = _local1.clip._xscale;
}
} else {
moveball(_local1);
if (_local1.clip._xscale < 90) {
_local1.clip._xscale = _local1.clip._xscale + 1;
_local1.clip._yscale = _local1.clip._xscale;
}
}
}
}
function allowMouse() {
return(Boolean((((game.clip._xmouse > 0) && (game.clip._ymouse > 0)) && (game.clip._xmouse < (game.tileW * 14))) && (game.clip._ymouse < (game.tileH * 9))));
}
function mouse_Move() {
var _local1 = ball;
if (allowMouse()) {
mouse.xtile = Math.floor(game.clip._xmouse / game.tileW);
mouse.ytile = Math.floor(game.clip._ymouse / game.tileH);
mouse._x = ((mouse.xtile * game.tileW) + game.clip._x) + (game.tileW / 2);
mouse._y = ((mouse.ytile * game.tileH) + game.clip._y) + (game.tileH / 2);
}
}
function mouse_set() {
var _local1 = ball;
if (allowMouse() && (game[(("t_" + mouse.ytile) + "_") + mouse.xtile].walkable)) {
mouse.power._visible = true;
mouse.power.gotoAndStop(1);
updateAfterEvent();
clearInterval(interval.spinnercharge);
interval.spinnercharge = setInterval(chargeSpinner, game.mousedelay);
}
}
function chargeSpinner() {
if (mouse.power._currentframe < mouse.power._totalframes) {
mouse.power.nextFrame();
playsnd("pinc");
} else {
clearInterval(interval.spinnercharge);
}
}
function mouse_spin() {
if (game[(("t_" + mouse.ytile) + "_") + mouse.xtile].walkable && (mouse.power._visible)) {
clearInterval(interval.spinnercharge);
var _local4 = mouse.power._currentframe - 1;
var _local3 = ball;
_local4 = ((_local4 > _local3.maxpower) ? (_local3.maxpower) : (_local4));
var _local1 = new Array();
_local1[0] = Boolean((mouse.ytile == _local3.ytile) && (Math.abs(mouse.xtile - _local3.xtile) <= _local4));
_local1[1] = Boolean((mouse.xtile == _local3.xtile) && (Math.abs(mouse.ytile - _local3.ytile) <= _local4));
_local1[2] = true;
if (mouse.ytile == _local3.ytile) {
var _local2 = 0;
while ((_local2 < Math.abs(mouse.xtile - _local3.xtile)) && (_local1[2])) {
_local1[2] = Boolean(game[(("t_" + mouse.ytile) + "_") + (mouse.xtile - ((_local2 * Math.abs(mouse.xtile - _local3.xtile)) / (mouse.xtile - _local3.xtile)))].walkable);
_local2++;
}
} else {
var _local2 = 0;
while ((_local2 < Math.abs(mouse.ytile - _local3.ytile)) && (_local1[2])) {
_local1[2] = Boolean(game[(("t_" + (mouse.ytile - ((_local2 * Math.abs(mouse.ytile - _local3.ytile)) / (mouse.ytile - _local3.ytile)))) + "_") + mouse.xtile].walkable);
_local2++;
}
}
if ((_local1[0] || (_local1[1])) && (_local1[2])) {
_local3.xmoment = 0;
_local3.ymoment = 0;
if (mouse.xtile < _local3.xtile) {
_local3.ymoment = 0;
_local3.xmoment = _local3.xmoment + ((_local4 - (_local3.xtile - mouse.xtile)) + 1);
} else if (mouse.xtile > _local3.xtile) {
_local3.ymoment = 0;
_local3.xmoment = _local3.xmoment - ((_local4 - (mouse.xtile - _local3.xtile)) + 1);
} else if (mouse.ytile < _local3.ytile) {
_local3.xmoment = 0;
_local3.ymoment = _local3.ymoment + ((_local4 - (_local3.ytile - mouse.ytile)) + 1);
} else if (mouse.ytile > _local3.ytile) {
_local3.xmoment = 0;
_local3.ymoment = _local3.ymoment - ((_local4 - (mouse.ytile - _local3.ytile)) + 1);
}
_local3 = ball;
_local3.ttl_jumps++;
_local3.moving = true;
_local4 = Math.max(Math.abs(_local3.xmoment), Math.abs(_local3.ymoment));
_local3.maxmoment = _local4;
_local4 = ((_local4 > _local3.maxpower) ? (_local3.maxpower) : (_local4));
_local3.clip.gotoAndStop(_local4 + 1);
_local3.onsavepoint = false;
}
mouse.gotoAndPlay("p" + _local4);
}
mouse.power._visible = false;
}
function checktimer() {
if (!stage_cover.pausemuna) {
game.timer++;
var _local1 = Math.floor(game.timer / 3600);
var _local5 = Math.floor(_local1 / 10);
var _local4 = _local1 % 10;
var _local3 = Math.floor((game.timer / 60) - (_local1 * 60));
var _local7 = Math.floor(_local3 / 10);
var _local6 = _local3 % 10;
var _local2 = game.timer % 60;
var _local9 = Math.floor(_local2 / 10);
var _local8 = _local2 % 10;
ttime.text = ((((((((_local5 + "") + _local4) + ":") + _local7) + "") + _local6) + ":") + _local9) + _local8;
tscore.text = game.score;
}
checkfps();
}
function checkfps() {
if (game.autoquality) {
if (((((fps >= 23) && (pfps >= 23)) && (p2fps >= 23)) && ((game.timer % 10) == 0)) && (_root._quality != game.quality)) {
_root._quality = game.quality;
showmessage("AutoQuality " + _root._quality);
} else if (((((fps < 21) && (pfps < 21)) && (p2fps < 21)) && ((game.timer % 5) == 0)) && (game.quality != "LOW")) {
if (_root._quality == "MEDIUM") {
_root._quality = "LOW";
} else if (game.quality != "LOW") {
_root._quality = "MEDIUM";
}
showmessage("AutoQuality " + _root._quality);
} else if ((((fps < 10) && (pfps < 10)) && (p2fps < 10)) && (_root._quality != "LOW")) {
_root._quality = "LOW";
showmessage("AutoQuality " + _root._quality);
}
}
aaa.text = ("speed: " + Math.round((fps / 23) * 100)) + "% ";
p2fps = pfps;
pfps = fps;
fps = 0;
}
function showmessage(msg) {
txtmsg.gotoAndStop(2);
updateAfterEvent();
txtmsg.msg.text = msg;
txtmsg.onEnterFrame = function () {
if (getTimer() > (txtmsg.starttime + 4000)) {
txtmsg.gotoAndStop(1);
delete txtmsg.onEnterFrame;
}
};
txtmsg.starttime = getTimer();
}
var fps = 0;
var pfps = 0;
var p2fps = 0;
Symbol 485 MovieClip Frame 8
clearInterval(timerID);
clearInterval(fpsID);
stop();
Symbol 485 MovieClip Frame 20
createEmptyMovieClip("a", getNextHighestDepth());
a.ctr = 0;
a.onEnterFrame = function () {
a.ctr++;
if (a.ctr > (delay * 3)) {
play();
delete a.onEnterFrame;
removeMovieClip(a);
}
};
stop();
Symbol 485 MovieClip Frame 31
if (!stage1) {
play();
} else {
gotoAndStop ("play");
}
Symbol 485 MovieClip Frame 32
function startgame() {
balloon_free._x = -30;
balloon_free._y = -60;
balloon_free._xscale = 100;
balloon_free._yscale = balloon_free._xscale;
balloon_free._alpha = 100;
mouse._alpha = 100;
stage_cover._alpha = 100;
stage1._alpha = 100;
stage2._alpha = 100;
balloon_free._visible = true;
mouse._visible = true;
stage_cover._visible = true;
stage_cover.pausemuna._visible = false;
stage1._visible = true;
stage2._visible = true;
removeMovieClip(stage1.ball);
removeMovieClip(stage2.ball);
_root._quality = "LOW";
if (stage1.getDepth() < stage2.getDepth()) {
stage1.swapDepths(stage2);
}
buildMap(maze["Map" + (game.currentMap - 1)], stage2);
stage2._xscale = 90;
stage2._yscale = 90;
stage2._x = 51;
stage2._y = 43.5;
stopallanimation(stage2);
stage2.ball._visible = false;
buildMap(maze["Map" + game.currentMap], stage1);
setController();
clearInterval(interval.timerID);
clearInterval(interval.fpsID);
interval.timerID = setInterval(checktimer, 1000);
_root._quality = game.quality;
loadVariablesNum ("http://gamefilez.mofunzone.com/game_scores/loboloon/mfz2.php", 0);
}
stage_.duplicateMovieClip("stage1", 8);
stage_.duplicateMovieClip("stage2", 6);
stage_cover.swapDepths(18);
mouse.swapDepths(20);
balloon_free.swapDepths(16);
stop();
nextFrame();
Symbol 485 MovieClip Frame 33
startgame();
stop();
Symbol 485 MovieClip Frame 34
balloon_free._visible = false;
mouse._visible = false;
stage_cover._visible = false;
stage1._visible = false;
stage2._visible = false;
stage_cover.pausemuna._visible = false;
removeMovieClip(controller);
clearInterval(interval.timerID);
createEmptyMovieClip("a", getNextHighestDepth());
a.ctr = 0;
a.onEnterFrame = function () {
a.ctr++;
if (a.ctr > (delay * 3)) {
gotoAndPlay ("prestart");
delete a.onEnterFrame;
removeMovieClip(a);
}
};
stop();
Symbol 485 MovieClip Frame 36
balloon_free._visible = false;
mouse._visible = false;
removeMovieClip(controller);
clearInterval(interval.timerID);
clearInterval(interval.fpsID);
loadgame(game.acct);
createEmptyMovieClip("a", getNextHighestDepth());
a.ctr = 0;
a.onEnterFrame = function () {
a.ctr++;
if (a.ctr > delay) {
gotoAndPlay ("prestart");
delete a.onEnterFrame;
removeMovieClip(a);
}
};
stop();
Symbol 485 MovieClip Frame 37
play();
balloon_free._visible = false;
mouse._visible = false;
stage_cover._visible = false;
stage1._visible = false;
stage2._visible = false;
stage_cover.pausemuna._visible = false;
removeMovieClip(controller);
clearInterval(interval.timerID);
clearInterval(interval.fpsID);
Symbol 485 MovieClip Frame 45
createEmptyMovieClip("a", getNextHighestDepth());
a.ctr = 0;
a.onEnterFrame = function () {
a.ctr++;
if (a.ctr > (delay * 2)) {
play();
delete a.onEnterFrame;
removeMovieClip(a);
}
};
stop();
Symbol 485 MovieClip Frame 54
gotoAndStop ("menu");
Symbol 485 MovieClip Frame 55
removeMovieClip(controller);
clearInterval(interval.timerID);
clearInterval(interval.fpsID);
play();
Instance of Symbol 482 MovieClip in Symbol 485 MovieClip Frame 55
onClipEvent (load) {
this._alpha = 0;
this.onEnterFrame = function () {
this._alpha = this._alpha + 10;
if (this._alpha >= 100) {
delete this.onEnterFrame;
}
};
}
Symbol 485 MovieClip Frame 67
stop();
Symbol 485 MovieClip Frame 68
removeMovieClip(controller);
clearInterval(interval.timerID);
clearInterval(interval.fpsID);
Symbol 485 MovieClip Frame 69
gotoAndStop ("menu");