Frame 1
mochi.MochiServices.connect("265e81ba1811132a");
MochiAd.showPreGameAd({id:"265e81ba1811132a", res:"800x520", ad_finished:function () {
_global.ad_preloaded_showed = true;
}});
function modalWin(txt, funca) {
trace("modalWin");
var _local3 = _root.attachMovie("winYN", "win" + random(1000), 18321);
_local3._x = 240;
_local3._y = 150;
_local3.mes.text = txt;
_local3.funca = funca;
_local3.y.onRelease = function () {
_root[funca]();
this._parent.removeMovieClip();
};
trace("funca=" + funca);
}
if ($tweenManager == undefined) {
_global.$tweenManager = new zigo.tweenManager();
}
com.robertpenner.easing.Back;
com.robertpenner.easing.Bounce;
com.robertpenner.easing.Circ;
com.robertpenner.easing.Cubic;
com.robertpenner.easing.Elastic;
com.robertpenner.easing.Expo;
com.robertpenner.easing.Linear;
com.robertpenner.easing.Quad;
com.robertpenner.easing.Quart;
com.robertpenner.easing.Quint;
com.robertpenner.easing.Sine;
var Mp = MovieClip.prototype;
AsBroadcaster.initialize(Mp);
Mp.$addListener = Mp.addListener;
ASSetPropFlags(Mp, "$addListener", 1, 0);
Mp.addListener = function () {
AsBroadcaster.initialize(this);
this.$addListener.apply(this, arguments);
};
Mp.tween = function (props, pEnd, seconds, animType, delay, callback, extra1, extra2) {
if ($tweenManager.isTweenLocked(this)) {
trace("tween not added, this movieclip is locked");
return(undefined);
}
if (arguments.length < 2) {
trace("tween not added, props & pEnd must be defined");
return(undefined);
}
if (typeof(props) == "string") {
props = [props];
}
if (pEnd.length == undefined) {
pEnd = [pEnd];
}
if (seconds == undefined) {
seconds = 2;
} else if (seconds < 0.01) {
seconds = 0;
}
if ((delay < 0.01) || (delay == undefined)) {
delay = 0;
}
switch (typeof(animType)) {
case "string" :
animType = animType.toLowerCase();
if (animType == "linear") {
var eqf = com.robertpenner.easing.Linear.easeNone;
} else if (animType.indexOf("easeoutin") == 0) {
var t = animType.substr(9);
t = t.charAt(0).toUpperCase() + t.substr(1);
var eqf = com.robertpenner.easing[t].easeOutIn;
} else if (animType.indexOf("easeinout") == 0) {
var t = animType.substr(9);
t = t.charAt(0).toUpperCase() + t.substr(1);
var eqf = com.robertpenner.easing[t].easeInOut;
} else if (animType.indexOf("easein") == 0) {
var t = animType.substr(6);
t = t.charAt(0).toUpperCase() + t.substr(1);
var eqf = com.robertpenner.easing[t].easeIn;
} else if (animType.indexOf("easeout") == 0) {
var t = animType.substr(7);
t = t.charAt(0).toUpperCase() + t.substr(1);
var eqf = com.robertpenner.easing[t].easeOut;
}
if (eqf == undefined) {
var eqf = com.robertpenner.easing.Expo.easeOut;
}
break;
case "function" :
var eqf = animType;
break;
case "object" :
if ((animType.ease != undefined) && (animType.pts != undefined)) {
var eqf = animType.ease;
extra1 = animType.pts;
} else {
var eqf = com.robertpenner.easing.Expo.easeOut;
}
break;
default :
var eqf = com.robertpenner.easing.Expo.easeOut;
}
switch (typeof(callback)) {
case "function" :
callback = {func:callback, scope:this._parent};
break;
case "string" :
var ilp;
var funcp;
var scope;
var args;
var a;
ilp = callback.indexOf("(");
funcp = callback.slice(0, ilp);
scope = eval (funcp.slice(0, funcp.lastIndexOf(".")));
func = eval (funcp);
args = callback.slice(ilp + 1, callback.lastIndexOf(")")).split(",");
var i = 0;
while (i < args.length) {
a = eval (args[i]);
if (a != undefined) {
args[i] = a;
}
i++;
}
callback = {func:func, scope:scope, args:args};
}
if ($tweenManager.autoStop) {
$tweenManager.removeTween(this, props);
}
if (delay > 0) {
$tweenManager.addTweenWithDelay(delay, this, props, pEnd, seconds, eqf, callback, extra1, extra2);
} else {
$tweenManager.addTween(this, props, pEnd, seconds, eqf, callback, extra1, extra2);
}
};
ASSetPropFlags(Mp, "tween", 1, 0);
Mp.stopTween = function (props) {
if (typeof(props) == "string") {
props = [props];
}
$tweenManager.removeTween(this, props);
};
ASSetPropFlags(Mp, "stopTween", 1, 0);
Mp.isTweening = function () {
return($tweenManager.isTweening(this));
};
ASSetPropFlags(Mp, "isTweening", 1, 0);
Mp.getTweens = function () {
return($tweenManager.getTweens(this));
};
ASSetPropFlags(Mp, "getTweens", 1, 0);
Mp.lockTween = function () {
$tweenManager.lockTween(this, true);
};
ASSetPropFlags(Mp, "lockTween", 1, 0);
Mp.unlockTween = function () {
$tweenManager.lockTween(this, false);
};
ASSetPropFlags(Mp, "unlockTween", 1, 0);
Mp.isTweenLocked = function () {
return($tweenManager.isTweenLocked(this));
};
ASSetPropFlags(Mp, "isTweenLocked", 1, 0);
Mp.alphaTo = function (destAlpha, seconds, animType, delay, callback, extra1, extra2) {
this.tween(["_alpha"], [destAlpha], seconds, animType, delay, callback, extra1, extra2);
};
ASSetPropFlags(Mp, "alphaTo", 1, 0);
Mp.brightnessTo = function (bright, seconds, animType, delay, callback, extra1, extra2) {
var _local3 = 100 - Math.abs(bright);
var _local2 = 0;
if (bright > 0) {
_local2 = 256 * (bright / 100);
}
var _local5 = {ra:_local3, rb:_local2, ga:_local3, gb:_local2, ba:_local3, bb:_local2};
this.tween(["_ct_"], [_local5], seconds, animType, delay, callback, extra1, extra2);
};
ASSetPropFlags(Mp, "brightnessTo", 1, 0);
Mp.colorTo = function (destColor, seconds, animType, delay, callback, extra1, extra2) {
var _local3 = {rb:destColor >> 16, ra:0, gb:(destColor & 65280) >> 8, ga:0, bb:destColor & 255, ba:0};
this.tween(["_ct_"], [_local3], seconds, animType, delay, callback, extra1, extra2);
};
ASSetPropFlags(Mp, "colorTo", 1, 0);
Mp.colorTransformTo = function (ra, rb, ga, gb, ba, bb, aa, ab, seconds, animType, delay, callback, extra1, extra2) {
var _local2 = {ra:ra, rb:rb, ga:ga, gb:gb, ba:ba, bb:bb, aa:aa, ab:ab};
this.tween(["_ct_"], [_local2], seconds, animType, delay, callback, extra1, extra2);
};
ASSetPropFlags(Mp, "colorTransformTo", 1, 0);
Mp.scaleTo = function (destScale, seconds, animType, delay, callback, extra1, extra2) {
this.tween(["_xscale", "_yscale"], [destScale, destScale], seconds, animType, delay, callback, extra1, extra2);
};
ASSetPropFlags(Mp, "scaleTo", 1, 0);
Mp.slideTo = function (destX, destY, seconds, animType, delay, callback, extra1, extra2) {
this.tween(["_x", "_y"], [destX, destY], seconds, animType, delay, callback, extra1, extra2);
};
ASSetPropFlags(Mp, "slideTo", 1, 0);
Mp.rotateTo = function (destRotation, seconds, animType, delay, callback, extra1, extra2) {
this.tween(["_rotation"], [destRotation], seconds, animType, delay, callback, extra1, extra2);
};
ASSetPropFlags(Mp, "rotateTo", 1, 0);
Mp.getFrame = function () {
return(this._currentframe);
};
ASSetPropFlags(Mp, "getFrame", 1, 0);
Mp.setFrame = function (fr) {
this.gotoAndStop(Math.round(fr));
};
ASSetPropFlags(Mp, "setFrame", 1, 0);
Mp.addProperty("_frame", Mp.getFrame, Mp.setFrame);
ASSetPropFlags(Mp, "_frame", 1, 0);
Mp.frameTo = function (endframe, duration, animType, delay, callback, extra1, extra2) {
if (endframe == undefined) {
endframe = this._totalframes;
}
this.tween("_frame", endframe, duration, animType, delay, callback, extra1, extra2);
};
ASSetPropFlags(Mp, "frameTo", 1, 0);
Mp.brightOffsetTo = function (percent, seconds, animType, delay, callback, extra1, extra2) {
var _local2 = 256 * (percent / 100);
var _local3 = {ra:100, rb:_local2, ga:100, gb:_local2, ba:100, bb:_local2};
this.tween(["_ct_"], [_local3], seconds, animType, delay, callback, extra1, extra2);
};
ASSetPropFlags(Mp, "brightOffsetTo", 1, 0);
Mp.contrastTo = function (percent, seconds, animType, delay, callback, extra1, extra2) {
var _local2 = {};
_local2.ra = (_local2.ga = (_local2.ba = percent));
_local2.rb = (_local2.gb = (_local2.bb = 128 - (1.28 * percent)));
this.tween(["_ct_"], [_local2], seconds, animType, delay, callback, extra1, extra2);
};
ASSetPropFlags(Mp, "contrastTo", 1, 0);
delete Mp;
keylistener = new Object();
keylistener.onKeyDown = function () {
switch (Key.getCode()) {
case 38 :
_root.mdy--;
isoBuild(_root.mdx, _root.mdy);
break;
case 40 :
_root.mdy++;
isoBuild(_root.mdx, _root.mdy);
break;
case 37 :
mdx--;
isoBuild(mdx, mdy);
break;
case 39 :
mdx++;
isoBuild(mdx, mdy);
break;
case 32 :
toogleTable();
}
stopPanel.tween("_alpha", 0, 0.5, "easeOutQuad");
};
Key.addListener(keylistener);
hide_scores = function (val) {
val = val * 3;
val = val.toString();
var _local4 = val.split("");
var _local3 = "";
var _local1 = 0;
while (_local1 < _local4.length) {
var _local2 = String.fromCharCode(((_local4[_local1] / 1) + (random(2) * 10)) + 100);
_local3 = _local3 + _local2;
_local3 = _local3 + random(10);
_local1++;
}
trace((("Hide " + val) + "->") + _local3);
return(_local3);
};
show_scores = function (val) {
var _local3 = val.split("");
var _local4 = "";
var _local2 = 0;
while (_local2 < _local3.length) {
var _local1 = _local3[_local2].charCodeAt(0);
_local1 = _local1 - 100;
if (_local1 >= 10) {
_local1 = _local1 - 10;
}
_local4 = _local4 + _local1;
_local2 = _local2 + 2;
}
_local4 = _local4 / 3;
trace((("Show " + val) + "->") + _local4);
return(Number(_local4));
};
function goTo2() {
_root.gotoAndStop(2);
}
stop();
Stage.scaleMode = "noScale";
Stage.align = "T";
Instance of Symbol 220 MovieClip in Frame 1
onClipEvent (load) {
total = _parent.getBytesTotal();
}
onClipEvent (enterFrame) {
loaded = _parent.getBytesLoaded();
percent = int((loaded / total) * 100);
text = ("Loaded " + percent) + "%";
gotoAndStop(percent);
if ((loaded == total) && (_global.ad_preloaded_showed)) {
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
_root.gotoAndStop(2);
}
}
}
Instance of Symbol 226 MovieClip "stopPanel" in Frame 1
onClipEvent (load) {
this._alpha = 0;
_root.panDep = this.getDepth();
}
Frame 2
function __com_mochibot__(swfid, mc, lv, trk) {
var x;
var g;
var s;
var fv;
var sb;
var u;
var res;
var mb;
var mbc;
mb = "__mochibot__";
mbc = "mochibot.com";
g = (_global ? (_global) : (_level0._root));
if (g[mb + swfid]) {
return(g[mb + swfid]);
}
s = System.security;
x = mc._root.getSWFVersion;
fv = (x ? (mc.getSWFVersion()) : ((_global ? 6 : 5)));
if (!s) {
s = {};
}
sb = s.sandboxType;
if (sb == "localWithFile") {
return(null);
}
x = s.allowDomain;
if (x) {
s.allowDomain(mbc);
}
x = s.allowInsecureDomain;
if (x) {
s.allowInsecureDomain(mbc);
}
u = (((((((((((("http://" + mbc) + "/my/core.swf?mv=7&fv=") + fv) + "&v=") + escape(getVersion())) + "&swfid=") + escape(swfid)) + "&l=") + lv) + "&f=") + mc) + (sb ? ("&sb=" + sb) : "")) + (trk ? "&t=1" : "");
lv = ((fv > 6) ? (mc.getNextHighestDepth()) : ((g[mb + "level"] ? (g[mb + "level"] + 1) : (lv))));
g[mb + "level"] = lv;
if (fv == 5) {
res = "_level" + lv;
if (!eval (res)) {
loadMovieNum (u, lv);
}
} else {
res = mc.createEmptyMovieClip(mb + swfid, lv);
res.loadMovie(u);
}
return(res);
}
__com_mochibot__("c6d665af", this, 10301, true);
stop();
Stage.showMenu = false;
fscommand ("showmenu", "false");
Frame 3
stop();
Frame 4
function lev1() {
_root.levelNum = 3;
level1 = [];
level1[0] = [1, 1, 1, 0, 1, 1, 1, 0, 1, 1, 1, 0, 1, 1];
level1[1] = [1, 1, 1, 0, 1, 1, 1, 0, 1, 1, 1, 0, 1, 1];
level1[2] = [1, 1, 1, 0, 1, 1, 1, 0, 1, 1, 1, 0, 1, 1];
level1[3] = [1, 1, 1, 0, 1, 1, 1, 0, 1, 1, 1, 0, 1, 1];
level1[4] = [1, 1, 1, 0, 1, 1, 1, 0, 1, 1, 1, 0, 1, 1];
level1[5] = [1, 1, 1, 0, 1, 1, 1, 0, 1, 1, 1, 0, 1, 1];
level1[6] = [1, 1, 1, 0, 1, 1, 1, 0, 1, 1, 1, 0, 1, 1];
level1[7] = [1, 1, 1, 0, 1, 1, 1, 0, 1, 1, 1, 0, 1, 1];
level2 = [];
level2[0] = [0, 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1];
level2[1] = [0, 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1];
level2[2] = [0, 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1];
level2[3] = [0, 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1];
level2[4] = [0, 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1];
level2[5] = [0, 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1];
level2[6] = [0, 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1];
level2[7] = [0, 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1];
level3 = [];
level3[0] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
level3[1] = [0, 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1];
level3[2] = [0, 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1];
level3[3] = [0, 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1];
level3[4] = [0, 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1];
level3[5] = [0, 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1];
level3[6] = [0, 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1];
level3[7] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
}
function lev2() {
_root.levelNum = 4;
level1 = [];
level1[0] = [1, 1, 1, 0, 0, 1, 1, 1, 1, 0, 0, 1, 1, 1];
level1[1] = [0, 1, 1, 1, 0, 0, 1, 1, 0, 0, 1, 1, 1, 0];
level1[2] = [1, 0, 1, 1, 1, 0, 1, 1, 0, 1, 1, 1, 0, 1];
level1[3] = [1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1];
level1[4] = [1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1];
level1[5] = [1, 0, 1, 1, 1, 0, 1, 1, 0, 1, 1, 1, 0, 1];
level1[6] = [0, 1, 1, 1, 0, 0, 1, 1, 0, 0, 1, 1, 1, 0];
level1[7] = [1, 1, 1, 0, 0, 1, 1, 1, 1, 0, 0, 1, 1, 1];
level2 = [];
level2[0] = [0, 1, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 1, 0];
level2[1] = [0, 0, 1, 0, 0, 0, 1, 1, 0, 0, 0, 1, 0, 0];
level2[2] = [0, 0, 0, 1, 0, 0, 1, 1, 0, 0, 1, 0, 0, 0];
level2[3] = [1, 0, 0, 0, 1, 1, 1, 1, 1, 1, 0, 0, 0, 1];
level2[4] = [1, 0, 0, 0, 1, 1, 1, 1, 1, 1, 0, 0, 0, 1];
level2[5] = [0, 0, 0, 1, 0, 0, 1, 1, 0, 0, 1, 0, 0, 0];
level2[6] = [0, 0, 1, 0, 0, 0, 1, 1, 0, 0, 0, 1, 0, 0];
level2[7] = [0, 1, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 1, 0];
level3 = [];
level3[0] = [0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0];
level3[1] = [0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0];
level3[2] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
level3[3] = [0, 0, 0, 0, 0, 1, 1, 1, 1, 0, 0, 0, 0, 0];
level3[4] = [0, 0, 0, 0, 0, 1, 1, 1, 1, 0, 0, 0, 0, 0];
level3[5] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
level3[6] = [0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0];
level3[7] = [0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0];
level4 = [];
level4[0] = [0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0];
level4[1] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
level4[2] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
level4[3] = [0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0];
level4[4] = [0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0];
level4[5] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
level4[6] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
level4[7] = [0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0];
}
function lev3() {
_root.levelNum = 5;
level1 = [];
level1[0] = [1, 1, 1, 1, 1, 1, 0, 0, 1, 1, 1, 1, 1, 1];
level1[1] = [1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1];
level1[2] = [1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1];
level1[3] = [1, 1, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 1, 1];
level1[4] = [1, 1, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 1, 1];
level1[5] = [1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1];
level1[6] = [1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1];
level1[7] = [1, 1, 1, 1, 1, 1, 0, 0, 1, 1, 1, 1, 1, 1];
level2 = [];
level2[0] = [1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1];
level2[1] = [1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1];
level2[2] = [1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1];
level2[3] = [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1];
level2[4] = [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1];
level2[5] = [1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1];
level2[6] = [1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1];
level2[7] = [1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1];
level3 = [];
level3[0] = [1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1];
level3[1] = [1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1];
level3[2] = [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1];
level3[3] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
level3[4] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
level3[5] = [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1];
level3[6] = [1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1];
level3[7] = [1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1];
level4 = [];
level4[0] = [1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1];
level4[1] = [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1];
level4[2] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
level4[3] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
level4[4] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
level4[5] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
level4[6] = [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1];
level4[7] = [1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1];
level5 = [];
level5[0] = [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1];
level5[1] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
level5[2] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
level5[3] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
level5[4] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
level5[5] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
level5[6] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
level5[7] = [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1];
}
function lev4() {
_root.levelNum = 5;
level1 = [];
level1[0] = [0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 1, 1, 0];
level1[1] = [0, 0, 1, 1, 1, 1, 0, 0, 0, 0, 1, 1, 1, 1];
level1[2] = [0, 0, 1, 1, 1, 1, 1, 0, 0, 1, 1, 1, 1, 1];
level1[3] = [0, 0, 1, 1, 1, 1, 1, 0, 0, 1, 1, 1, 1, 1];
level1[4] = [0, 0, 1, 1, 1, 1, 1, 0, 0, 1, 1, 1, 1, 1];
level1[5] = [0, 0, 1, 1, 1, 1, 1, 0, 0, 1, 1, 1, 1, 1];
level1[6] = [0, 0, 1, 1, 1, 1, 0, 0, 0, 0, 1, 1, 1, 1];
level1[7] = [0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 1, 1, 0];
level2 = [];
level2[0] = [0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0];
level2[1] = [0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 1, 1, 0];
level2[2] = [0, 0, 0, 1, 1, 1, 0, 0, 0, 0, 1, 1, 1, 0];
level2[3] = [0, 0, 0, 1, 1, 1, 1, 0, 0, 1, 1, 1, 1, 0];
level2[4] = [0, 0, 0, 1, 1, 1, 1, 0, 0, 1, 1, 1, 1, 0];
level2[5] = [0, 0, 0, 1, 1, 1, 0, 0, 0, 0, 1, 1, 1, 0];
level2[6] = [0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 1, 1, 0];
level2[7] = [0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0];
level3 = [];
level3[0] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
level3[1] = [0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0];
level3[2] = [0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 1, 1, 0];
level3[3] = [0, 0, 0, 1, 1, 1, 0, 0, 0, 0, 1, 1, 1, 0];
level3[4] = [0, 0, 0, 1, 1, 1, 0, 0, 0, 0, 1, 1, 1, 0];
level3[5] = [0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 1, 1, 0];
level3[6] = [0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0];
level3[7] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
level4 = [];
level4[0] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
level4[1] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
level4[2] = [0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0];
level4[3] = [0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 1, 1, 0];
level4[4] = [0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 1, 1, 0];
level4[5] = [0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0];
level4[6] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
level4[7] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
level5 = [];
level5[0] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
level5[1] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
level5[2] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
level5[3] = [0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0];
level5[4] = [0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0];
level5[5] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
level5[6] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
level5[7] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
}
function lev5() {
_root.levelNum = 6;
level1 = [];
level1[0] = [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1];
level1[1] = [1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1];
level1[2] = [1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1];
level1[3] = [1, 1, 1, 1, 0, 1, 0, 0, 1, 0, 1, 1, 1, 1];
level1[4] = [1, 1, 1, 1, 2, 1, 0, 0, 1, 2, 1, 1, 1, 1];
level1[5] = [1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1];
level1[6] = [1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1];
level1[7] = [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1];
level2 = [];
level2[0] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
level2[1] = [0, 1, 0, 0, 0, 1, 1, 1, 1, 0, 0, 0, 1, 0];
level2[2] = [0, 1, 1, 0, 0, 1, 1, 1, 1, 0, 0, 1, 1, 0];
level2[3] = [0, 1, 1, 1, 0, 0, 0, 0, 0, 0, 1, 1, 1, 0];
level2[4] = [0, 1, 1, 1, 2, 0, 0, 0, 0, 2, 1, 1, 1, 0];
level2[5] = [0, 1, 1, 0, 0, 1, 1, 1, 1, 0, 0, 1, 1, 0];
level2[6] = [0, 1, 0, 0, 0, 1, 1, 1, 1, 0, 0, 0, 1, 0];
level2[7] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
level3 = [];
level3[0] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
level3[1] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
level3[2] = [0, 0, 1, 0, 0, 0, 1, 1, 0, 0, 0, 1, 0, 0];
level3[3] = [0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0];
level3[4] = [0, 0, 1, 1, 2, 0, 0, 0, 0, 2, 1, 1, 0, 0];
level3[5] = [0, 0, 1, 0, 0, 0, 1, 1, 0, 0, 0, 1, 0, 0];
level3[6] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
level3[7] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
level4 = [];
level4[0] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
level4[1] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
level4[2] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
level4[3] = [0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0];
level4[4] = [0, 0, 0, 1, 2, 0, 0, 0, 0, 2, 1, 0, 0, 0];
level4[5] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
level4[6] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
level4[7] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
level5 = [];
level5[0] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
level5[1] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
level5[2] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
level5[3] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
level5[4] = [0, 0, 0, 0, 2, 0, 0, 0, 0, 2, 0, 0, 0, 0];
level5[5] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
level5[6] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
level5[7] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
level6 = [];
level6[0] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
level6[1] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
level6[2] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
level6[3] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
level6[4] = [0, 0, 0, 0, 2, 0, 0, 0, 0, 2, 0, 0, 0, 0];
level6[5] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
level6[6] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
level6[7] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
}
function lev6() {
_root.levelNum = 5;
level1 = [];
level1[0] = [0, 0, 0, 0, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0];
level1[1] = [0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0];
level1[2] = [0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0];
level1[3] = [0, 1, 1, 1, 1, 0, 0, 0, 1, 1, 1, 1, 0, 0];
level1[4] = [0, 1, 1, 1, 1, 0, 0, 0, 1, 1, 1, 1, 0, 0];
level1[5] = [0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0];
level1[6] = [0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0];
level1[7] = [0, 0, 0, 0, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0];
level2 = [];
level2[0] = [0, 0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0, 0, 0];
level2[1] = [0, 0, 0, 0, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0];
level2[2] = [0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0];
level2[3] = [0, 0, 1, 1, 1, 0, 0, 0, 1, 1, 1, 0, 0, 0];
level2[4] = [0, 0, 1, 1, 1, 0, 0, 0, 1, 1, 1, 0, 0, 0];
level2[5] = [0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0];
level2[6] = [0, 0, 0, 0, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0];
level2[7] = [0, 0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0, 0, 0];
level3 = [];
level3[0] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
level3[1] = [0, 0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0, 0, 0];
level3[2] = [0, 0, 0, 0, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0];
level3[3] = [0, 0, 0, 1, 1, 0, 0, 0, 1, 1, 0, 0, 0, 0];
level3[4] = [0, 0, 0, 1, 1, 0, 0, 0, 1, 1, 0, 0, 0, 0];
level3[5] = [0, 0, 0, 0, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0];
level3[6] = [0, 0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0, 0, 0];
level3[7] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
level4 = [];
level4[0] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
level4[1] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
level4[2] = [0, 0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0, 0, 0];
level4[3] = [0, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0];
level4[4] = [0, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0];
level4[5] = [0, 0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0, 0, 0];
level4[6] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
level4[7] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
level5 = [];
level5[0] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
level5[1] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
level5[2] = [0, 0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0, 0, 0];
level5[3] = [0, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0];
level5[4] = [0, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0];
level5[5] = [0, 0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0, 0, 0];
level5[6] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
level5[7] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
}
function lev7() {
_root.levelNum = 6;
level1 = [];
level1[0] = [0, 0, 0, 0, 1, 0, 1, 1, 0, 1, 0, 0, 0, 0];
level1[1] = [0, 0, 0, 1, 1, 0, 1, 1, 0, 1, 1, 0, 0, 0];
level1[2] = [0, 0, 1, 1, 1, 0, 1, 1, 0, 1, 1, 1, 0, 0];
level1[3] = [1, 1, 1, 1, 1, 0, 1, 1, 0, 1, 1, 1, 1, 1];
level1[4] = [1, 1, 1, 1, 1, 0, 1, 1, 0, 1, 1, 1, 1, 1];
level1[5] = [0, 0, 1, 1, 1, 0, 1, 1, 0, 1, 1, 1, 0, 0];
level1[6] = [0, 0, 0, 1, 1, 0, 1, 1, 0, 1, 1, 0, 0, 0];
level1[7] = [0, 0, 0, 0, 1, 0, 1, 1, 0, 1, 0, 0, 0, 0];
level2 = [];
level2[0] = [0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0];
level2[1] = [0, 0, 0, 0, 1, 0, 1, 1, 0, 1, 0, 0, 0, 0];
level2[2] = [0, 0, 0, 1, 1, 0, 1, 1, 0, 1, 1, 0, 0, 0];
level2[3] = [0, 0, 1, 1, 1, 0, 1, 1, 0, 1, 1, 1, 0, 0];
level2[4] = [0, 0, 1, 1, 1, 0, 1, 1, 0, 1, 1, 1, 0, 0];
level2[5] = [0, 0, 0, 1, 1, 0, 1, 1, 0, 1, 1, 0, 0, 0];
level2[6] = [0, 0, 0, 0, 1, 0, 1, 1, 0, 1, 0, 0, 0, 0];
level2[7] = [0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0];
level3 = [];
level3[0] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
level3[1] = [0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0];
level3[2] = [0, 0, 0, 0, 1, 0, 1, 1, 0, 1, 0, 0, 0, 0];
level3[3] = [0, 0, 0, 1, 1, 0, 1, 1, 0, 1, 1, 0, 0, 0];
level3[4] = [0, 0, 0, 1, 1, 0, 1, 1, 0, 1, 1, 0, 0, 0];
level3[5] = [0, 0, 0, 0, 1, 0, 1, 1, 0, 1, 0, 0, 0, 0];
level3[6] = [0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0];
level3[7] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
level4 = [];
level4[0] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
level4[1] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
level4[2] = [0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0];
level4[3] = [0, 0, 0, 0, 1, 0, 1, 1, 0, 1, 0, 0, 0, 0];
level4[4] = [0, 0, 0, 0, 1, 0, 1, 1, 0, 1, 0, 0, 0, 0];
level4[5] = [0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0];
level4[6] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
level4[7] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
level5 = [];
level5[0] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
level5[1] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
level5[2] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
level5[3] = [0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0];
level5[4] = [0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0];
level5[5] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
level5[6] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
level5[7] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
level6 = [];
level6[0] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
level6[1] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
level6[2] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
level6[3] = [0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0];
level6[4] = [0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0];
level6[5] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
level6[6] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
level6[7] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
}
function lev8() {
_root.levelNum = 3;
level1 = [];
level1[0] = [0, 0, 1, 1, 1, 0, 1, 1, 1, 0, 1, 1, 1, 0];
level1[1] = [0, 0, 1, 1, 1, 0, 1, 1, 1, 0, 1, 1, 1, 0];
level1[2] = [0, 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1];
level1[3] = [0, 0, 1, 1, 1, 0, 1, 1, 1, 0, 1, 1, 1, 0];
level1[4] = [0, 0, 1, 1, 1, 0, 1, 1, 1, 0, 1, 1, 1, 0];
level1[5] = [0, 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1];
level1[6] = [0, 0, 1, 1, 1, 0, 1, 1, 1, 0, 1, 1, 1, 0];
level1[7] = [0, 0, 1, 1, 1, 0, 1, 1, 1, 0, 1, 1, 1, 0];
level2 = [];
level2[0] = [0, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0];
level2[1] = [0, 0, 1, 2, 1, 0, 1, 2, 1, 0, 1, 2, 1, 0];
level2[2] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
level2[3] = [0, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0];
level2[4] = [0, 0, 1, 2, 1, 0, 1, 2, 1, 0, 1, 2, 1, 0];
level2[5] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
level2[6] = [0, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0];
level2[7] = [0, 0, 1, 2, 1, 0, 1, 2, 1, 0, 1, 2, 1, 0];
level3 = [];
level3[0] = [0, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0];
level3[1] = [0, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0];
level3[2] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
level3[3] = [0, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0];
level3[4] = [0, 0, 1, 0, 1, 0, 1, 2, 1, 0, 1, 0, 1, 0];
level3[5] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
level3[6] = [0, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0];
level3[7] = [0, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0];
}
function lev9() {
_root.levelNum = 4;
level1 = [];
level1[0] = [0, 0, 0, 1, 1, 1, 0, 1, 1, 0, 1, 1, 1, 0];
level1[1] = [0, 0, 0, 1, 1, 1, 1, 0, 0, 1, 1, 1, 1, 0];
level1[2] = [0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0];
level1[3] = [0, 0, 0, 1, 1, 0, 1, 1, 1, 1, 0, 1, 1, 0];
level1[4] = [0, 0, 0, 1, 1, 0, 1, 1, 1, 1, 0, 1, 1, 0];
level1[5] = [0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0];
level1[6] = [0, 0, 0, 1, 1, 1, 1, 0, 0, 1, 1, 1, 1, 0];
level1[7] = [0, 0, 0, 1, 1, 1, 0, 1, 1, 0, 1, 1, 1, 0];
level2 = [];
level2[0] = [0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0];
level2[1] = [0, 0, 0, 0, 1, 1, 1, 0, 0, 1, 1, 1, 0, 0];
level2[2] = [0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0];
level2[3] = [0, 0, 0, 1, 1, 0, 1, 1, 1, 1, 0, 1, 1, 0];
level2[4] = [0, 0, 0, 1, 1, 0, 1, 1, 1, 1, 0, 1, 1, 0];
level2[5] = [0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0];
level2[6] = [0, 0, 0, 0, 1, 1, 1, 0, 0, 1, 1, 1, 0, 0];
level2[7] = [0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0];
level3 = [];
level3[0] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
level3[1] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
level3[2] = [0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 0, 0, 0, 0];
level3[3] = [0, 0, 0, 1, 0, 0, 1, 1, 1, 1, 0, 0, 1, 0];
level3[4] = [0, 0, 0, 1, 0, 0, 1, 1, 1, 1, 0, 0, 1, 0];
level3[5] = [0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 0, 0, 0, 0];
level3[6] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
level3[7] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
level4 = [];
level4[0] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
level4[1] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
level4[2] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
level4[3] = [0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0];
level4[4] = [0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0];
level4[5] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
level4[6] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
level4[7] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
}
function lev10() {
_root.levelNum = 4;
level1 = [];
level1[0] = [0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0];
level1[1] = [0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0];
level1[2] = [0, 0, 1, 1, 1, 0, 0, 0, 0, 1, 1, 1, 0, 0];
level1[3] = [0, 0, 1, 1, 1, 0, 1, 1, 0, 1, 1, 1, 0, 0];
level1[4] = [0, 0, 1, 1, 1, 0, 1, 1, 0, 1, 1, 1, 0, 0];
level1[5] = [0, 0, 1, 1, 1, 0, 0, 0, 0, 1, 1, 1, 0, 0];
level1[6] = [0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0];
level1[7] = [0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0];
level2 = [];
level2[0] = [0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0];
level2[1] = [0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0];
level2[2] = [0, 0, 0, 1, 1, 0, 0, 0, 0, 1, 1, 0, 0, 0];
level2[3] = [0, 0, 0, 1, 1, 0, 1, 1, 0, 1, 1, 0, 0, 0];
level2[4] = [0, 0, 0, 1, 1, 0, 1, 1, 0, 1, 1, 0, 0, 0];
level2[5] = [0, 0, 0, 1, 1, 0, 0, 0, 0, 1, 1, 0, 0, 0];
level2[6] = [0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0];
level2[7] = [0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0];
level3 = [];
level3[0] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
level3[1] = [0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0];
level3[2] = [0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0];
level3[3] = [0, 0, 0, 0, 1, 0, 1, 1, 0, 1, 0, 0, 0, 0];
level3[4] = [0, 0, 0, 0, 1, 0, 1, 1, 0, 1, 0, 0, 0, 0];
level3[5] = [0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0];
level3[6] = [0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0];
level3[7] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
level4 = [];
level4[0] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
level4[1] = [0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0];
level4[2] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
level4[3] = [0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0];
level4[4] = [0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0];
level4[5] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
level4[6] = [0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0];
level4[7] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
}
function lev11() {
_root.levelNum = 6;
level1 = [];
level1[0] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
level1[1] = [0, 0, 0, 0, 0, 1, 1, 1, 1, 0, 0, 0, 0, 0];
level1[2] = [0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0];
level1[3] = [1, 1, 1, 1, 1, 1, 0, 0, 1, 1, 1, 1, 1, 1];
level1[4] = [1, 1, 1, 1, 1, 1, 0, 0, 1, 1, 1, 1, 1, 1];
level1[5] = [0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0];
level1[6] = [0, 0, 0, 0, 0, 1, 1, 1, 1, 0, 0, 0, 0, 0];
level1[7] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
level2 = [];
level2[0] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
level2[1] = [0, 0, 0, 0, 0, 1, 1, 1, 1, 0, 0, 0, 0, 0];
level2[2] = [0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0];
level2[3] = [0, 1, 1, 1, 1, 1, 0, 0, 1, 1, 1, 1, 1, 0];
level2[4] = [0, 1, 1, 1, 1, 1, 0, 0, 1, 1, 1, 1, 1, 0];
level2[5] = [0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0];
level2[6] = [0, 0, 0, 0, 0, 1, 1, 1, 1, 0, 0, 0, 0, 0];
level2[7] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
level3 = [];
level3[0] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
level3[1] = [0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0];
level3[2] = [0, 0, 0, 0, 0, 1, 1, 1, 1, 0, 0, 0, 0, 0];
level3[3] = [0, 0, 1, 1, 1, 1, 0, 0, 1, 1, 1, 1, 0, 0];
level3[4] = [0, 0, 1, 1, 1, 1, 0, 0, 1, 1, 1, 1, 0, 0];
level3[5] = [0, 0, 0, 0, 0, 1, 1, 1, 1, 0, 0, 0, 0, 0];
level3[6] = [0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0];
level3[7] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
level4 = [];
level4[0] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
level4[1] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
level4[2] = [0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0];
level4[3] = [0, 0, 0, 1, 1, 1, 0, 0, 1, 1, 1, 0, 0, 0];
level4[4] = [0, 0, 0, 1, 1, 1, 0, 0, 1, 1, 1, 0, 0, 0];
level4[5] = [0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0];
level4[6] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
level4[7] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
level5 = [];
level5[0] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
level5[1] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
level5[2] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
level5[3] = [0, 0, 0, 0, 1, 1, 0, 0, 1, 1, 0, 0, 0, 0];
level5[4] = [0, 0, 0, 0, 1, 1, 0, 0, 1, 1, 0, 0, 0, 0];
level5[5] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
level5[6] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
level5[7] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
level6 = [];
level6[0] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
level6[1] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
level6[2] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
level6[3] = [0, 0, 0, 0, 0, 1, 0, 0, 1, 0, 0, 0, 0, 0];
level6[4] = [0, 0, 0, 0, 0, 1, 0, 0, 1, 0, 0, 0, 0, 0];
level6[5] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
level6[6] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
level6[7] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
}
function lev12() {
_root.levelNum = 4;
level1 = [];
level1[0] = [0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0];
level1[1] = [0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0];
level1[2] = [0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0];
level1[3] = [0, 1, 0, 0, 1, 1, 1, 1, 1, 1, 1, 0, 0, 1];
level1[4] = [0, 1, 0, 0, 1, 1, 1, 1, 1, 1, 1, 0, 0, 1];
level1[5] = [0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0];
level1[6] = [0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0];
level1[7] = [0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0];
level2 = [];
level2[0] = [0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 0, 0, 0, 0];
level2[1] = [0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 0, 0, 0, 0];
level2[2] = [0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 0, 0, 0, 0];
level2[3] = [0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 0, 0, 0, 0];
level2[4] = [0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 0, 0, 0, 0];
level2[5] = [0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 0, 0, 0, 0];
level2[6] = [0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 0, 0, 0, 0];
level2[7] = [0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 0, 0, 0, 0];
level3 = [];
level3[0] = [0, 0, 0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0, 0];
level3[1] = [0, 0, 0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0, 0];
level3[2] = [0, 0, 0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0, 0];
level3[3] = [0, 0, 0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0, 0];
level3[4] = [0, 0, 0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0, 0];
level3[5] = [0, 0, 0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0, 0];
level3[6] = [0, 0, 0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0, 0];
level3[7] = [0, 0, 0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0, 0];
level4 = [];
level4[0] = [0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0];
level4[1] = [0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0];
level4[2] = [0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0];
level4[3] = [0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0];
level4[4] = [0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0];
level4[5] = [0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0];
level4[6] = [0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0];
level4[7] = [0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0];
}
function lev13() {
_root.levelNum = 6;
level1 = [];
level1[0] = [0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 0];
level1[1] = [0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 0];
level1[2] = [0, 0, 0, 1, 0, 0, 0, 0, 1, 1, 1, 1, 1, 0];
level1[3] = [0, 0, 1, 1, 1, 0, 0, 0, 0, 1, 1, 1, 1, 0];
level1[4] = [0, 0, 1, 1, 1, 1, 0, 0, 0, 0, 1, 1, 1, 0];
level1[5] = [0, 0, 1, 1, 1, 1, 1, 0, 0, 0, 0, 1, 0, 0];
level1[6] = [0, 0, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0];
level1[7] = [0, 0, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0];
level2 = [];
level2[0] = [0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 0];
level2[1] = [0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 0];
level2[2] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 0];
level2[3] = [0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 1, 1, 0];
level2[4] = [0, 0, 1, 1, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0];
level2[5] = [0, 0, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0];
level2[6] = [0, 0, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0];
level2[7] = [0, 0, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0];
level3 = [];
level3[0] = [0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 0];
level3[1] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 0];
level3[2] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 0];
level3[3] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0];
level3[4] = [0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
level3[5] = [0, 0, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0];
level3[6] = [0, 0, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0];
level3[7] = [0, 0, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0];
level4 = [];
level4[0] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 0];
level4[1] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 0];
level4[2] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0];
level4[3] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
level4[4] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
level4[5] = [0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
level4[6] = [0, 0, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0];
level4[7] = [0, 0, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0];
level5 = [];
level5[0] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 0];
level5[1] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0];
level5[2] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
level5[3] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
level5[4] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
level5[5] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
level5[6] = [0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
level5[7] = [0, 0, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0];
level6 = [];
level6[0] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0];
level6[1] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
level6[2] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
level6[3] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
level6[4] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
level6[5] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
level6[6] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
level6[7] = [0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
}
function lev14() {
_root.levelNum = 7;
level1 = [];
level1[0] = [0, 0, 0, 0, 1, 1, 0, 0, 1, 1, 0, 0, 0, 0];
level1[1] = [0, 0, 0, 1, 1, 0, 0, 0, 0, 1, 1, 0, 0, 0];
level1[2] = [0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0];
level1[3] = [1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1];
level1[4] = [1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1];
level1[5] = [0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0];
level1[6] = [0, 0, 0, 1, 1, 0, 0, 0, 0, 1, 1, 0, 0, 0];
level1[7] = [0, 0, 0, 0, 1, 1, 0, 0, 1, 1, 0, 0, 0, 0];
level2 = [];
level2[0] = [0, 0, 0, 0, 0, 1, 1, 1, 1, 0, 0, 0, 0, 0];
level2[1] = [0, 0, 0, 0, 1, 1, 0, 0, 1, 1, 0, 0, 0, 0];
level2[2] = [0, 0, 0, 1, 1, 0, 0, 0, 0, 1, 1, 0, 0, 0];
level2[3] = [0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0];
level2[4] = [2, 2, 1, 1, 0, 0, 0, 0, 0, 0, 1, 1, 2, 2];
level2[5] = [0, 0, 0, 1, 1, 0, 0, 0, 0, 1, 1, 0, 0, 0];
level2[6] = [0, 0, 0, 0, 1, 1, 0, 0, 1, 1, 0, 0, 0, 0];
level2[7] = [0, 0, 0, 0, 0, 1, 1, 1, 1, 0, 0, 0, 0, 0];
level3 = [];
level3[0] = [0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0];
level3[1] = [0, 0, 0, 0, 0, 1, 1, 1, 1, 0, 0, 0, 0, 0];
level3[2] = [0, 0, 0, 0, 1, 1, 0, 0, 1, 1, 0, 0, 0, 0];
level3[3] = [0, 0, 0, 1, 1, 0, 0, 0, 0, 1, 1, 0, 0, 0];
level3[4] = [0, 0, 2, 1, 1, 0, 0, 0, 0, 1, 1, 2, 0, 0];
level3[5] = [0, 0, 0, 0, 1, 1, 0, 0, 1, 1, 0, 0, 0, 0];
level3[6] = [0, 0, 0, 0, 0, 1, 1, 1, 1, 0, 0, 0, 0, 0];
level3[7] = [0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0];
level4 = [];
level4[0] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
level4[1] = [0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0];
level4[2] = [0, 0, 0, 0, 0, 1, 1, 1, 1, 0, 0, 0, 0, 0];
level4[3] = [0, 0, 0, 0, 1, 1, 0, 0, 1, 1, 0, 0, 0, 0];
level4[4] = [0, 0, 0, 2, 1, 1, 0, 0, 1, 1, 2, 0, 0, 0];
level4[5] = [0, 0, 0, 0, 0, 1, 1, 1, 1, 0, 0, 0, 0, 0];
level4[6] = [0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0];
level4[7] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
level5 = [];
level5[0] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
level5[1] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
level5[2] = [0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0];
level5[3] = [0, 0, 0, 0, 0, 1, 1, 1, 1, 0, 0, 0, 0, 0];
level5[4] = [0, 0, 0, 0, 2, 1, 1, 1, 1, 2, 0, 0, 0, 0];
level5[5] = [0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0];
level5[6] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
level5[7] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
level6 = [];
level6[0] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
level6[1] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
level6[2] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
level6[3] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
level6[4] = [0, 0, 0, 0, 0, 2, 0, 0, 2, 0, 0, 0, 0, 0];
level6[5] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
level6[6] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
level6[7] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
level7 = [];
level7[0] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
level7[1] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
level7[2] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
level7[3] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
level7[4] = [0, 0, 0, 0, 0, 2, 2, 2, 2, 0, 0, 0, 0, 0];
level7[5] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
level7[6] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
level7[7] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
}
function lev15() {
_root.levelNum = 4;
level1 = [];
level1[0] = [0, 0, 0, 0, 0, 1, 1, 1, 1, 0, 0, 0, 0, 0];
level1[1] = [0, 0, 0, 0, 0, 1, 1, 1, 1, 0, 0, 0, 0, 0];
level1[2] = [0, 0, 0, 0, 0, 1, 1, 1, 1, 0, 0, 0, 0, 0];
level1[3] = [1, 1, 1, 1, 1, 0, 0, 0, 0, 1, 1, 1, 1, 1];
level1[4] = [1, 1, 1, 1, 1, 0, 0, 0, 0, 1, 1, 1, 1, 1];
level1[5] = [0, 0, 0, 0, 0, 1, 1, 1, 1, 0, 0, 0, 0, 0];
level1[6] = [0, 0, 0, 0, 0, 1, 1, 1, 1, 0, 0, 0, 0, 0];
level1[7] = [0, 0, 0, 0, 0, 1, 1, 1, 1, 0, 0, 0, 0, 0];
level2 = [];
level2[0] = [0, 0, 0, 0, 0, 1, 1, 1, 1, 0, 0, 0, 0, 0];
level2[1] = [0, 0, 0, 0, 0, 1, 1, 1, 1, 0, 0, 0, 0, 0];
level2[2] = [0, 0, 0, 0, 0, 1, 1, 1, 1, 0, 0, 0, 0, 0];
level2[3] = [1, 1, 1, 1, 1, 0, 0, 0, 0, 1, 1, 1, 1, 1];
level2[4] = [1, 1, 1, 1, 1, 0, 0, 0, 0, 1, 1, 1, 1, 1];
level2[5] = [0, 0, 0, 0, 0, 1, 1, 1, 1, 0, 0, 0, 0, 0];
level2[6] = [0, 0, 0, 0, 0, 1, 1, 1, 1, 0, 0, 0, 0, 0];
level2[7] = [0, 0, 0, 0, 0, 1, 1, 1, 1, 0, 0, 0, 0, 0];
level3 = [];
level3[0] = [0, 0, 0, 0, 0, 1, 1, 1, 1, 0, 0, 0, 0, 0];
level3[1] = [0, 0, 0, 0, 0, 1, 1, 1, 1, 0, 0, 0, 0, 0];
level3[2] = [0, 0, 0, 0, 0, 1, 1, 1, 1, 0, 0, 0, 0, 0];
level3[3] = [1, 1, 1, 1, 1, 0, 0, 0, 0, 1, 1, 1, 1, 1];
level3[4] = [1, 1, 1, 1, 1, 0, 0, 0, 0, 1, 1, 1, 1, 1];
level3[5] = [0, 0, 0, 0, 0, 1, 1, 1, 1, 0, 0, 0, 0, 0];
level3[6] = [0, 0, 0, 0, 0, 1, 1, 1, 1, 0, 0, 0, 0, 0];
level3[7] = [0, 0, 0, 0, 0, 1, 1, 1, 1, 0, 0, 0, 0, 0];
level4 = [];
level4[0] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
level4[1] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
level4[2] = [0, 0, 0, 0, 0, 1, 1, 1, 1, 0, 0, 0, 0, 0];
level4[3] = [0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0];
level4[4] = [0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0];
level4[5] = [0, 0, 0, 0, 0, 1, 1, 1, 1, 0, 0, 0, 0, 0];
level4[6] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
level4[7] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
}
function lev16() {
_root.levelNum = 4;
level1 = [];
level1[0] = [0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0];
level1[1] = [0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0];
level1[2] = [1, 1, 1, 1, 0, 1, 1, 1, 1, 0, 1, 1, 1, 1];
level1[3] = [1, 1, 1, 1, 0, 1, 0, 0, 1, 0, 1, 1, 1, 1];
level1[4] = [1, 1, 1, 1, 0, 1, 0, 0, 1, 0, 1, 1, 1, 1];
level1[5] = [1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1];
level1[6] = [0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0];
level1[7] = [0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0];
level2 = [];
level2[0] = [0, 0, 0, 0, 1, 0, 1, 1, 0, 1, 0, 0, 0, 0];
level2[1] = [0, 0, 0, 1, 1, 0, 1, 1, 0, 1, 1, 0, 0, 0];
level2[2] = [0, 0, 1, 1, 0, 1, 1, 1, 1, 0, 1, 1, 0, 0];
level2[3] = [0, 1, 1, 1, 0, 1, 0, 0, 1, 0, 1, 1, 1, 0];
level2[4] = [0, 1, 1, 1, 0, 1, 0, 0, 1, 0, 1, 1, 1, 0];
level2[5] = [0, 0, 1, 1, 0, 1, 1, 1, 1, 0, 1, 1, 0, 0];
level2[6] = [0, 0, 0, 1, 1, 0, 1, 1, 0, 1, 1, 0, 0, 0];
level2[7] = [0, 0, 0, 0, 1, 0, 1, 1, 0, 1, 0, 0, 0, 0];
level3 = [];
level3[0] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
level3[1] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
level3[2] = [0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0];
level3[3] = [0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0];
level3[4] = [0, 0, 1, 1, 0, 2, 0, 0, 2, 0, 1, 1, 0, 0];
level3[5] = [0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 1, 0, 0, 0];
level3[6] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
level3[7] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
level4 = [];
level4[0] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
level4[1] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
level4[2] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
level4[3] = [0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0];
level4[4] = [0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0];
level4[5] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
level4[6] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
level4[7] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
}
function lev17() {
_root.levelNum = 5;
level1 = [];
level1[0] = [0, 0, 1, 1, 1, 1, 0, 0, 1, 1, 1, 1, 0, 0];
level1[1] = [0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0];
level1[2] = [1, 1, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 1, 1];
level1[3] = [1, 0, 0, 0, 1, 1, 1, 1, 1, 1, 0, 0, 0, 1];
level1[4] = [1, 0, 0, 0, 1, 1, 1, 1, 1, 1, 0, 0, 0, 1];
level1[5] = [1, 1, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 1, 1];
level1[6] = [0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0];
level1[7] = [0, 0, 1, 1, 1, 1, 0, 0, 1, 1, 1, 1, 0, 0];
level2 = [];
level2[0] = [0, 0, 1, 1, 1, 0, 0, 0, 0, 1, 1, 1, 0, 0];
level2[1] = [0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0];
level2[2] = [1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1];
level2[3] = [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1];
level2[4] = [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1];
level2[5] = [1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1];
level2[6] = [0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0];
level2[7] = [0, 0, 1, 1, 1, 0, 0, 0, 0, 1, 1, 1, 0, 0];
level3 = [];
level3[0] = [0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0];
level3[1] = [0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0];
level3[2] = [1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1];
level3[3] = [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1];
level3[4] = [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1];
level3[5] = [1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1];
level3[6] = [0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0];
level3[7] = [0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0];
level4 = [];
level4[0] = [0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0];
level4[1] = [0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0];
level4[2] = [1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1];
level4[3] = [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1];
level4[4] = [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1];
level4[5] = [1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1];
level4[6] = [0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0];
level4[7] = [0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0];
level5 = [];
level5[0] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
level5[1] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
level5[2] = [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1];
level5[3] = [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1];
level5[4] = [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1];
level5[5] = [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1];
level5[6] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
level5[7] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
}
function lev18() {
_root.levelNum = 5;
level1 = [];
level1[0] = [0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0];
level1[1] = [0, 0, 0, 0, 0, 1, 1, 1, 1, 0, 0, 0, 0, 0];
level1[2] = [0, 0, 0, 0, 1, 1, 0, 0, 1, 1, 0, 0, 0, 0];
level1[3] = [0, 1, 1, 1, 1, 0, 1, 1, 0, 1, 1, 1, 1, 0];
level1[4] = [0, 1, 1, 1, 1, 0, 1, 1, 0, 1, 1, 1, 1, 0];
level1[5] = [0, 0, 0, 0, 1, 1, 0, 0, 1, 1, 0, 0, 0, 0];
level1[6] = [0, 0, 0, 0, 0, 1, 1, 1, 1, 0, 0, 0, 0, 0];
level1[7] = [0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0];
level2 = [];
level2[0] = [0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0];
level2[1] = [0, 0, 0, 0, 0, 1, 1, 1, 1, 0, 0, 0, 0, 0];
level2[2] = [0, 0, 0, 0, 1, 1, 0, 0, 1, 1, 0, 0, 0, 0];
level2[3] = [0, 0, 1, 1, 1, 0, 1, 1, 0, 1, 1, 1, 0, 0];
level2[4] = [0, 0, 1, 1, 1, 0, 1, 1, 0, 1, 1, 1, 0, 0];
level2[5] = [0, 0, 0, 0, 1, 1, 0, 0, 1, 1, 0, 0, 0, 0];
level2[6] = [0, 0, 0, 0, 0, 1, 1, 1, 1, 0, 0, 0, 0, 0];
level2[7] = [0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0];
level3 = [];
level3[0] = [0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0];
level3[1] = [0, 0, 0, 0, 0, 1, 1, 1, 1, 0, 0, 0, 0, 0];
level3[2] = [0, 0, 0, 0, 1, 1, 0, 0, 1, 1, 0, 0, 0, 0];
level3[3] = [0, 0, 0, 1, 1, 0, 1, 1, 0, 1, 1, 0, 0, 0];
level3[4] = [0, 0, 0, 1, 1, 0, 1, 1, 0, 1, 1, 0, 0, 0];
level3[5] = [0, 0, 0, 0, 1, 1, 0, 0, 1, 1, 0, 0, 0, 0];
level3[6] = [0, 0, 0, 0, 0, 1, 1, 1, 1, 0, 0, 0, 0, 0];
level3[7] = [0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0];
level4 = [];
level4[0] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
level4[1] = [0, 0, 0, 0, 0, 1, 1, 1, 1, 0, 0, 0, 0, 0];
level4[2] = [0, 0, 0, 0, 1, 1, 0, 0, 1, 1, 0, 0, 0, 0];
level4[3] = [0, 0, 0, 0, 1, 0, 1, 1, 0, 1, 0, 0, 0, 0];
level4[4] = [0, 0, 0, 0, 1, 0, 1, 1, 0, 1, 0, 0, 0, 0];
level4[5] = [0, 0, 0, 0, 1, 1, 0, 0, 1, 1, 0, 0, 0, 0];
level4[6] = [0, 0, 0, 0, 0, 1, 1, 1, 1, 0, 0, 0, 0, 0];
level4[7] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
level5 = [];
level5[0] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
level5[1] = [0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0];
level5[2] = [0, 0, 0, 0, 0, 1, 0, 0, 1, 0, 0, 0, 0, 0];
level5[3] = [0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0];
level5[4] = [0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0];
level5[5] = [0, 0, 0, 0, 0, 1, 0, 0, 1, 0, 0, 0, 0, 0];
level5[6] = [0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0];
level5[7] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
}
function lev19() {
_root.levelNum = 5;
level1 = [];
level1[0] = [0, 0, 0, 0, 0, 1, 1, 1, 1, 0, 0, 0, 0, 0];
level1[1] = [0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0];
level1[2] = [0, 1, 1, 1, 1, 0, 0, 0, 0, 1, 1, 1, 1, 0];
level1[3] = [1, 1, 1, 0, 0, 1, 1, 1, 1, 0, 0, 1, 1, 1];
level1[4] = [1, 1, 1, 0, 0, 1, 1, 1, 1, 0, 0, 1, 1, 1];
level1[5] = [0, 1, 1, 1, 1, 0, 0, 0, 0, 1, 1, 1, 1, 0];
level1[6] = [0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0];
level1[7] = [0, 0, 0, 0, 0, 1, 1, 1, 1, 0, 0, 0, 0, 0];
level2 = [];
level2[0] = [0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0];
level2[1] = [0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0];
level2[2] = [0, 0, 1, 1, 1, 0, 0, 0, 0, 1, 1, 1, 0, 0];
level2[3] = [0, 1, 1, 0, 0, 1, 1, 1, 1, 0, 0, 1, 1, 0];
level2[4] = [0, 1, 1, 0, 0, 1, 1, 1, 1, 0, 0, 1, 1, 0];
level2[5] = [0, 0, 1, 1, 1, 0, 0, 0, 0, 1, 1, 1, 0, 0];
level2[6] = [0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0];
level2[7] = [0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0];
level3 = [];
level3[0] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
level3[1] = [0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0];
level3[2] = [0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0];
level3[3] = [0, 0, 1, 0, 0, 1, 1, 1, 1, 0, 0, 1, 0, 0];
level3[4] = [0, 0, 1, 0, 0, 1, 1, 1, 1, 0, 0, 1, 0, 0];
level3[5] = [0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0];
level3[6] = [0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0];
level3[7] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
level4 = [];
level4[0] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
level4[1] = [0, 0, 0, 0, 0, 1, 1, 1, 1, 0, 0, 0, 0, 0];
level4[2] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
level4[3] = [0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0];
level4[4] = [0, 0, 2, 0, 0, 0, 1, 1, 0, 0, 0, 2, 0, 0];
level4[5] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
level4[6] = [0, 0, 0, 0, 0, 1, 1, 1, 1, 0, 0, 0, 0, 0];
level4[7] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
level5 = [];
level5[0] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
level5[1] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
level5[2] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
level5[3] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
level5[4] = [0, 0, 0, 0, 0, 0, 2, 2, 0, 0, 0, 0, 0, 0];
level5[5] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
level5[6] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
level5[7] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
}
function lev20() {
_root.levelNum = 5;
level1 = [];
level1[0] = [0, 0, 0, 0, 0, 1, 0, 0, 1, 0, 0, 0, 0, 0];
level1[1] = [0, 0, 1, 1, 1, 1, 0, 0, 1, 1, 1, 1, 0, 0];
level1[2] = [0, 0, 0, 0, 0, 1, 1, 1, 1, 0, 0, 0, 0, 0];
level1[3] = [1, 1, 1, 1, 1, 1, 0, 0, 1, 1, 1, 1, 1, 1];
level1[4] = [1, 1, 1, 1, 1, 1, 0, 0, 1, 1, 1, 1, 1, 1];
level1[5] = [0, 0, 0, 0, 0, 1, 1, 1, 1, 0, 0, 0, 0, 0];
level1[6] = [0, 0, 1, 1, 1, 1, 0, 0, 1, 1, 1, 1, 0, 0];
level1[7] = [0, 0, 0, 0, 0, 1, 0, 0, 1, 0, 0, 0, 0, 0];
level2 = [];
level2[0] = [0, 0, 0, 0, 0, 1, 0, 0, 1, 0, 0, 0, 0, 0];
level2[1] = [0, 0, 0, 1, 1, 1, 0, 0, 1, 1, 1, 0, 0, 0];
level2[2] = [0, 0, 0, 0, 0, 1, 1, 1, 1, 0, 0, 0, 0, 0];
level2[3] = [0, 0, 1, 1, 1, 1, 0, 0, 1, 1, 1, 1, 0, 0];
level2[4] = [0, 0, 1, 1, 1, 1, 0, 0, 1, 1, 1, 1, 0, 0];
level2[5] = [0, 0, 0, 0, 0, 1, 1, 1, 1, 0, 0, 0, 0, 0];
level2[6] = [0, 0, 0, 1, 1, 1, 0, 0, 1, 1, 1, 0, 0, 0];
level2[7] = [0, 0, 0, 0, 0, 1, 0, 0, 1, 0, 0, 0, 0, 0];
level3 = [];
level3[0] = [0, 0, 0, 0, 0, 1, 0, 0, 1, 0, 0, 0, 0, 0];
level3[1] = [0, 0, 0, 0, 1, 1, 0, 0, 1, 1, 0, 0, 0, 0];
level3[2] = [0, 0, 0, 0, 0, 1, 0, 0, 1, 0, 0, 0, 0, 0];
level3[3] = [0, 0, 0, 1, 1, 1, 0, 0, 1, 1, 1, 0, 0, 0];
level3[4] = [0, 0, 0, 1, 1, 1, 0, 0, 1, 1, 1, 0, 0, 0];
level3[5] = [0, 0, 0, 0, 0, 1, 0, 0, 1, 0, 0, 0, 0, 0];
level3[6] = [0, 0, 0, 0, 1, 1, 0, 0, 1, 1, 0, 0, 0, 0];
level3[7] = [0, 0, 0, 0, 0, 1, 0, 0, 1, 0, 0, 0, 0, 0];
level4 = [];
level4[0] = [0, 0, 0, 0, 0, 1, 0, 0, 1, 0, 0, 0, 0, 0];
level4[1] = [0, 0, 0, 0, 0, 1, 0, 0, 1, 0, 0, 0, 0, 0];
level4[2] = [0, 0, 0, 0, 0, 1, 0, 0, 1, 0, 0, 0, 0, 0];
level4[3] = [0, 0, 0, 0, 1, 1, 0, 0, 1, 1, 0, 0, 0, 0];
level4[4] = [0, 0, 0, 0, 1, 1, 0, 0, 1, 1, 0, 0, 0, 0];
level4[5] = [0, 0, 0, 0, 0, 1, 0, 0, 1, 0, 0, 0, 0, 0];
level4[6] = [0, 0, 0, 0, 0, 1, 0, 0, 1, 0, 0, 0, 0, 0];
level4[7] = [0, 0, 0, 0, 0, 1, 0, 0, 1, 0, 0, 0, 0, 0];
level5 = [];
level5[0] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
level5[1] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
level5[2] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
level5[3] = [0, 0, 0, 0, 0, 1, 0, 0, 1, 0, 0, 0, 0, 0];
level5[4] = [0, 0, 0, 0, 0, 1, 0, 0, 1, 0, 0, 0, 0, 0];
level5[5] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
level5[6] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
level5[7] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
}
function lev21() {
_root.levelNum = 4;
level1 = [];
level1[0] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
level1[1] = [0, 0, 1, 1, 0, 0, 1, 1, 0, 0, 1, 1, 0, 0];
level1[2] = [0, 0, 1, 1, 0, 0, 1, 1, 0, 0, 1, 1, 0, 0];
level1[3] = [0, 0, 1, 1, 0, 0, 1, 1, 0, 0, 1, 1, 0, 0];
level1[4] = [0, 0, 1, 1, 0, 0, 1, 1, 0, 0, 1, 1, 0, 0];
level1[5] = [0, 0, 1, 1, 0, 0, 1, 1, 0, 0, 1, 1, 0, 0];
level1[6] = [0, 0, 1, 1, 0, 0, 1, 1, 0, 0, 1, 1, 0, 0];
level1[7] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
level2 = [];
level2[0] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
level2[1] = [0, 0, 1, 1, 0, 0, 1, 1, 0, 0, 1, 1, 0, 0];
level2[2] = [0, 0, 1, 1, 0, 0, 1, 1, 0, 0, 1, 1, 0, 0];
level2[3] = [0, 0, 1, 1, 0, 0, 1, 1, 0, 0, 1, 1, 0, 0];
level2[4] = [0, 0, 1, 1, 0, 0, 1, 1, 0, 0, 1, 1, 0, 0];
level2[5] = [0, 0, 1, 1, 0, 0, 1, 1, 0, 0, 1, 1, 0, 0];
level2[6] = [0, 0, 1, 1, 0, 0, 1, 1, 0, 0, 1, 1, 0, 0];
level2[7] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
level3 = [];
level3[0] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
level3[1] = [0, 0, 1, 1, 0, 0, 1, 1, 0, 0, 1, 1, 0, 0];
level3[2] = [0, 0, 1, 1, 0, 0, 1, 1, 0, 0, 1, 1, 0, 0];
level3[3] = [0, 0, 1, 1, 0, 0, 1, 1, 0, 0, 1, 1, 0, 0];
level3[4] = [0, 0, 1, 1, 0, 0, 1, 1, 0, 0, 1, 1, 0, 0];
level3[5] = [0, 0, 1, 1, 0, 0, 1, 1, 0, 0, 1, 1, 0, 0];
level3[6] = [0, 0, 1, 1, 0, 0, 1, 1, 0, 0, 1, 1, 0, 0];
level3[7] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
level4 = [];
level4[0] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
level4[1] = [0, 0, 1, 1, 0, 0, 1, 1, 0, 0, 1, 1, 0, 0];
level4[2] = [0, 0, 1, 1, 0, 0, 1, 1, 0, 0, 1, 1, 0, 0];
level4[3] = [0, 0, 1, 1, 0, 0, 1, 1, 0, 0, 1, 1, 0, 0];
level4[4] = [0, 0, 1, 1, 0, 0, 1, 1, 0, 0, 1, 1, 0, 0];
level4[5] = [0, 0, 1, 1, 0, 0, 1, 1, 0, 0, 1, 1, 0, 0];
level4[6] = [0, 0, 1, 1, 0, 0, 1, 1, 0, 0, 1, 1, 0, 0];
level4[7] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
}
function lev22() {
_root.levelNum = 5;
level1 = [];
level1[0] = [0, 0, 0, 1, 1, 0, 0, 0, 0, 1, 1, 0, 0, 0];
level1[1] = [0, 0, 0, 1, 1, 1, 0, 0, 1, 1, 1, 0, 0, 0];
level1[2] = [0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0];
level1[3] = [0, 0, 0, 0, 0, 1, 1, 1, 1, 0, 0, 0, 0, 0];
level1[4] = [0, 0, 0, 0, 0, 1, 1, 1, 1, 0, 0, 0, 0, 0];
level1[5] = [0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0];
level1[6] = [0, 0, 0, 1, 1, 1, 0, 0, 1, 1, 1, 0, 0, 0];
level1[7] = [0, 0, 0, 1, 1, 0, 0, 0, 0, 1, 1, 0, 0, 0];
level2 = [];
level2[0] = [0, 0, 0, 1, 1, 0, 0, 0, 0, 1, 1, 0, 0, 0];
level2[1] = [0, 0, 0, 1, 1, 1, 0, 0, 1, 1, 1, 0, 0, 0];
level2[2] = [0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0];
level2[3] = [0, 0, 0, 0, 0, 1, 1, 1, 1, 0, 0, 0, 0, 0];
level2[4] = [0, 0, 0, 0, 0, 1, 1, 1, 1, 0, 0, 0, 0, 0];
level2[5] = [0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0];
level2[6] = [0, 0, 0, 1, 1, 1, 0, 0, 1, 1, 1, 0, 0, 0];
level2[7] = [0, 0, 0, 1, 1, 0, 0, 0, 0, 1, 1, 0, 0, 0];
level3 = [];
level3[0] = [0, 0, 0, 1, 1, 0, 0, 0, 0, 1, 1, 0, 0, 0];
level3[1] = [0, 0, 0, 1, 1, 1, 0, 0, 1, 1, 1, 0, 0, 0];
level3[2] = [0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0];
level3[3] = [0, 0, 0, 0, 0, 1, 1, 1, 1, 0, 0, 0, 0, 0];
level3[4] = [0, 0, 0, 0, 0, 1, 1, 1, 1, 0, 0, 0, 0, 0];
level3[5] = [0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0];
level3[6] = [0, 0, 0, 1, 1, 1, 0, 0, 1, 1, 1, 0, 0, 0];
level3[7] = [0, 0, 0, 1, 1, 0, 0, 0, 0, 1, 1, 0, 0, 0];
level4 = [];
level4[0] = [0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0];
level4[1] = [0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0];
level4[2] = [0, 0, 0, 0, 0, 1, 0, 0, 1, 0, 0, 0, 0, 0];
level4[3] = [0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0];
level4[4] = [0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0];
level4[5] = [0, 0, 0, 0, 0, 1, 0, 0, 1, 0, 0, 0, 0, 0];
level4[6] = [0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0];
level4[7] = [0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0];
level5 = [];
level5[0] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
level5[1] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
level5[2] = [0, 0, 0, 0, 0, 1, 0, 0, 1, 0, 0, 0, 0, 0];
level5[3] = [0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0];
level5[4] = [0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0];
level5[5] = [0, 0, 0, 0, 0, 1, 0, 0, 1, 0, 0, 0, 0, 0];
level5[6] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
level5[7] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
}
function lev23() {
_root.levelNum = 4;
level1 = [];
level1[0] = [0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 0, 0, 0, 0];
level1[1] = [0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0];
level1[2] = [0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0];
level1[3] = [0, 0, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 0];
level1[4] = [0, 1, 1, 1, 1, 1, 0, 1, 0, 1, 1, 1, 1, 1];
level1[5] = [0, 1, 1, 1, 1, 0, 1, 1, 1, 0, 1, 1, 1, 1];
level1[6] = [0, 1, 1, 1, 0, 1, 1, 1, 1, 1, 0, 1, 1, 1];
level1[7] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
level2 = [];
level2[0] = [0, 0, 0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0, 0];
level2[1] = [0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 0, 0, 0, 0];
level2[2] = [0, 0, 0, 0, 1, 1, 1, 0, 1, 1, 1, 0, 0, 0];
level2[3] = [0, 0, 0, 1, 1, 1, 0, 0, 0, 1, 1, 1, 0, 0];
level2[4] = [0, 0, 1, 1, 1, 0, 0, 0, 0, 0, 1, 1, 1, 0];
level2[5] = [0, 1, 1, 1, 0, 0, 0, 1, 0, 0, 0, 1, 1, 1];
level2[6] = [0, 1, 1, 0, 0, 0, 1, 1, 1, 0, 0, 0, 1, 1];
level2[7] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
level3 = [];
level3[0] = [0, 0, 0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0, 0];
level3[1] = [0, 0, 0, 0, 0, 1, 1, 0, 1, 1, 0, 0, 0, 0];
level3[2] = [0, 0, 0, 0, 1, 1, 0, 0, 0, 1, 1, 0, 0, 0];
level3[3] = [0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 1, 1, 0, 0];
level3[4] = [0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0];
level3[5] = [0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1];
level3[6] = [0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1];
level3[7] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
level4 = [];
level4[0] = [0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0];
level4[1] = [0, 0, 0, 0, 0, 0, 1, 0, 1, 0, 0, 0, 0, 0];
level4[2] = [0, 0, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0];
level4[3] = [0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0];
level4[4] = [0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0];
level4[5] = [0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0];
level4[6] = [0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1];
level4[7] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
_root.levelNum = 5;
level1 = [];
level1[0] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
level1[1] = [0, 0, 0, 1, 1, 1, 1, 0, 1, 1, 1, 1, 0, 0];
level1[2] = [0, 1, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 1];
level1[3] = [0, 1, 1, 0, 1, 1, 0, 1, 0, 1, 1, 0, 1, 1];
level1[4] = [0, 1, 1, 0, 1, 1, 0, 1, 0, 1, 1, 0, 1, 1];
level1[5] = [0, 1, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 1];
level1[6] = [0, 0, 0, 1, 1, 1, 1, 0, 1, 1, 1, 1, 0, 0];
level1[7] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
level2 = [];
level2[0] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
level2[1] = [0, 0, 0, 1, 1, 1, 1, 0, 1, 1, 1, 1, 0, 0];
level2[2] = [0, 1, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 1];
level2[3] = [0, 1, 1, 0, 1, 1, 0, 1, 0, 1, 1, 0, 1, 1];
level2[4] = [0, 1, 1, 0, 1, 1, 0, 1, 0, 1, 1, 0, 1, 1];
level2[5] = [0, 1, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 1];
level2[6] = [0, 0, 0, 1, 1, 1, 1, 0, 1, 1, 1, 1, 0, 0];
level2[7] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
level3 = [];
level3[0] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
level3[1] = [0, 0, 0, 1, 1, 1, 1, 0, 1, 1, 1, 1, 0, 0];
level3[2] = [0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0];
level3[3] = [0, 1, 1, 0, 1, 1, 0, 1, 0, 1, 1, 0, 1, 1];
level3[4] = [0, 1, 1, 0, 1, 1, 0, 1, 0, 1, 1, 0, 1, 1];
level3[5] = [0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0];
level3[6] = [0, 0, 0, 1, 1, 1, 1, 0, 1, 1, 1, 1, 0, 0];
level3[7] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
level4 = [];
level4[0] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
level4[1] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
level4[2] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
level4[3] = [0, 0, 1, 0, 1, 1, 0, 1, 0, 1, 1, 0, 1, 0];
level4[4] = [0, 0, 1, 0, 1, 1, 0, 1, 0, 1, 1, 0, 1, 0];
level4[5] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
level4[6] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
level4[7] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
level5 = [];
level5[0] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
level5[1] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
level5[2] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
level5[3] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
level5[4] = [0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 0];
level5[5] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
level5[6] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
level5[7] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
}
function lev24() {
_root.levelNum = 5;
level1 = [];
level1[0] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
level1[1] = [0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0];
level1[2] = [0, 0, 0, 1, 1, 1, 0, 1, 1, 0, 1, 1, 1, 0];
level1[3] = [0, 0, 1, 1, 1, 0, 1, 1, 1, 1, 0, 1, 1, 1];
level1[4] = [0, 0, 1, 1, 1, 0, 1, 1, 1, 1, 0, 1, 1, 1];
level1[5] = [0, 0, 0, 1, 1, 1, 0, 1, 1, 0, 1, 1, 1, 0];
level1[6] = [0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0];
level1[7] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
level2 = [];
level2[0] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
level2[1] = [0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 0, 0, 0];
level2[2] = [0, 0, 0, 0, 1, 1, 0, 1, 1, 0, 1, 1, 0, 0];
level2[3] = [0, 0, 0, 1, 1, 0, 1, 1, 1, 1, 0, 1, 1, 0];
level2[4] = [0, 0, 0, 1, 1, 0, 1, 1, 1, 1, 0, 1, 1, 0];
level2[5] = [0, 0, 0, 0, 1, 1, 0, 1, 1, 0, 1, 1, 0, 0];
level2[6] = [0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 0, 0, 0];
level2[7] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
level3 = [];
level3[0] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
level3[1] = [0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 0, 0, 0];
level3[2] = [0, 0, 0, 0, 0, 1, 0, 1, 1, 0, 1, 0, 0, 0];
level3[3] = [0, 0, 0, 0, 1, 0, 0, 1, 1, 0, 0, 1, 0, 0];
level3[4] = [0, 0, 0, 0, 1, 0, 0, 1, 1, 0, 0, 1, 0, 0];
level3[5] = [0, 0, 0, 0, 0, 1, 0, 1, 1, 0, 1, 0, 0, 0];
level3[6] = [0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 0, 0, 0];
level3[7] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
level4 = [];
level4[0] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
level4[1] = [0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 0, 0, 0, 0];
level4[2] = [0, 0, 0, 0, 0, 1, 0, 1, 1, 0, 1, 0, 0, 0];
level4[3] = [0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0];
level4[4] = [0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0];
level4[5] = [0, 0, 0, 0, 0, 1, 0, 1, 1, 0, 1, 0, 0, 0];
level4[6] = [0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 0, 0, 0, 0];
level4[7] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
level5 = [];
level5[0] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
level5[1] = [0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0];
level5[2] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
level5[3] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
level5[4] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
level5[5] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
level5[6] = [0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0];
level5[7] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
}
function lev25() {
_root.levelNum = 4;
level1 = [];
level1[0] = [0, 0, 0, 0, 0, 1, 1, 1, 1, 0, 0, 0, 0, 0];
level1[1] = [1, 1, 1, 1, 0, 1, 1, 1, 1, 0, 1, 1, 1, 1];
level1[2] = [1, 1, 1, 1, 0, 0, 1, 1, 0, 0, 1, 1, 1, 1];
level1[3] = [0, 1, 1, 0, 1, 1, 1, 1, 1, 1, 0, 1, 1, 0];
level1[4] = [0, 1, 1, 0, 1, 1, 1, 1, 1, 1, 0, 1, 1, 0];
level1[5] = [1, 1, 1, 1, 0, 0, 1, 1, 0, 0, 1, 1, 1, 1];
level1[6] = [1, 1, 1, 1, 0, 1, 1, 1, 1, 0, 1, 1, 1, 1];
level1[7] = [0, 0, 0, 0, 0, 1, 1, 1, 1, 0, 0, 0, 0, 0];
level2 = [];
level2[0] = [0, 0, 0, 0, 0, 1, 0, 0, 1, 0, 0, 0, 0, 0];
level2[1] = [1, 1, 1, 0, 0, 1, 0, 0, 1, 0, 0, 1, 1, 1];
level2[2] = [1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1];
level2[3] = [0, 1, 0, 0, 1, 1, 0, 0, 1, 1, 0, 0, 1, 0];
level2[4] = [0, 1, 0, 0, 1, 1, 0, 0, 1, 1, 0, 0, 1, 0];
level2[5] = [1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1];
level2[6] = [1, 1, 1, 0, 0, 1, 0, 0, 1, 0, 0, 1, 1, 1];
level2[7] = [0, 0, 0, 0, 0, 1, 0, 0, 1, 0, 0, 0, 0, 0];
level3 = [];
level3[0] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
level3[1] = [1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1];
level3[2] = [1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1];
level3[3] = [0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0];
level3[4] = [0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0];
level3[5] = [1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1];
level3[6] = [1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1];
level3[7] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
level4 = [];
level4[0] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
level4[1] = [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1];
level4[2] = [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1];
level4[3] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
level4[4] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
level4[5] = [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1];
level4[6] = [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1];
level4[7] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
}
function lev26() {
_root.levelNum = 4;
level1 = [];
level1[0] = [0, 0, 0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0, 0];
level1[1] = [0, 0, 0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0, 0];
level1[2] = [0, 0, 1, 1, 1, 0, 1, 1, 1, 0, 1, 1, 1, 0];
level1[3] = [0, 0, 1, 1, 1, 0, 1, 1, 1, 0, 1, 1, 1, 0];
level1[4] = [0, 0, 1, 1, 1, 0, 1, 1, 1, 0, 1, 1, 1, 0];
level1[5] = [0, 0, 1, 1, 1, 0, 1, 1, 1, 0, 1, 1, 1, 0];
level1[6] = [0, 0, 0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0, 0];
level1[7] = [0, 0, 0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0, 0];
level2 = [];
level2[0] = [0, 0, 0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0, 0];
level2[1] = [0, 0, 0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0, 0];
level2[2] = [0, 0, 1, 1, 1, 0, 1, 1, 1, 0, 1, 1, 1, 0];
level2[3] = [0, 0, 1, 1, 1, 0, 1, 1, 1, 0, 1, 1, 1, 0];
level2[4] = [0, 0, 1, 1, 1, 0, 1, 1, 1, 0, 1, 1, 1, 0];
level2[5] = [0, 0, 1, 1, 1, 0, 1, 1, 1, 0, 1, 1, 1, 0];
level2[6] = [0, 0, 0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0, 0];
level2[7] = [0, 0, 0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0, 0];
level3 = [];
level3[0] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
level3[1] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
level3[2] = [0, 0, 1, 1, 1, 0, 1, 1, 1, 0, 1, 1, 1, 0];
level3[3] = [0, 0, 1, 1, 1, 0, 1, 1, 1, 0, 1, 1, 1, 0];
level3[4] = [0, 0, 1, 1, 1, 0, 1, 1, 1, 0, 1, 1, 1, 0];
level3[5] = [0, 0, 1, 1, 1, 0, 1, 1, 1, 0, 1, 1, 1, 0];
level3[6] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
level3[7] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
level4 = [];
level4[0] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
level4[1] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
level4[2] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
level4[3] = [0, 0, 1, 1, 1, 0, 0, 0, 0, 0, 1, 1, 1, 0];
level4[4] = [0, 0, 1, 1, 1, 0, 0, 0, 0, 0, 1, 1, 1, 0];
level4[5] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
level4[6] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
level4[7] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
}
function lev27() {
}
function lev28() {
}
function lev29() {
}
function lev30() {
}
function lev31() {
}
function lev32() {
}
function lev33() {
}
function lev34() {
}
function lev35() {
}
function lev36() {
}
function lev37() {
}
function lev38() {
}
function lev39() {
}
function lev40() {
}
function lev41() {
}
function lev42() {
}
function lev43() {
}
function lev44() {
}
function lev45() {
}
function lev46() {
}
function lev47() {
}
function lev48() {
}
function lev49() {
}
function lev50() {
}
function lev51() {
}
function lev52() {
}
function lev53() {
}
function lev54() {
}
function lev55() {
}
function lev56() {
}
function lev57() {
}
function lev58() {
}
function lev59() {
}
function lev60() {
}
function lev61() {
}
function lev62() {
}
function lev63() {
}
function lev64() {
}
function lev65() {
}
function getLevel(num) {
trace("getLevel1 _root.sj=" + _root.sj);
var _local3 = 1;
while (_local3 < 11) {
this["level" + _local3].length = 0;
_local3++;
}
_root["lev" + num]();
_root.si = 7;
_root.sj = 13;
trace("getLevel2 _root.sj=" + _root.sj);
}
stop();
function toogleTable() {
if ((table._alpha == undefined) && (_root._currentframe == 4)) {
var _local2 = _root.attachMovie("table", "table", 187123);
_local2._x = 200;
_local2._y = 140;
} else {
_root.table.removeMovieClip();
}
}
function updatevolume() {
newvolume = Math.max(0, Math.min(100, volumecontrol.volumeslider._x * 4));
trace("newvolume=" + newvolume);
var _local2 = 1;
while (_local2 <= 5) {
this["muse" + _local2].setVolume(newvolume);
trace((("[mah" + _local2) + "].setVolume=") + this["muse" + _local2].getVolume());
_local2++;
}
}
function sendMess(arg) {
_root.attachMovie("winMess", "winMesss", 14000);
_root.winMesss.messText = arg;
_root.winMesss._x = 280;
_root.winMesss._y = 170;
}
function menuIn() {
timerr.pausa();
var _local2 = {scope:_root, func:menuOut};
stopPanel.swapDepths(18000);
stopPanel.tween("_alpha", 100, 1, "easeInQuad", 0, _local2);
}
function menuOut() {
pausePanel.removeMovieClip();
_root.destroyAllDice();
stopPanel.swapDepths(panDep);
gotoAndStop (8);
}
function exit() {
timerr.pausa();
stopPanel.swapDepths(10000);
stopPanel.tween("_alpha", 100, 3, "easeInQuad");
MochiAd.showInterLevelAd({id:"265e81ba1811132a", res:"800x520", ad_finished:function () {
endWinGame();
}});
}
function endWinGame() {
musicStop();
_root.destroyAllDice();
stopPanel.swapDepths(-14742);
trace("2 StopPanelDepth=" + stopPanel.getDepth());
_root.attachMovie("winOpt", "winOpt", 12000);
if (levelSel == "camp") {
_root.winOpt.endText = ("You passed " + mainLevel) + " level!";
} else {
_root.winOpt.endText = ("You passed " + duelLevel) + " duel level!";
}
var _local5 = Stage.width;
var _local4 = Stage.height;
var _local3 = (_local5 / 2) - (_root.winOpt._width / 2);
var _local2 = (_local4 / 2) - (_root.winOpt._height / 2);
_root.winOpt._x = _local3;
_root.winOpt._y = _local2;
trace("3 StopPanelDepth=" + stopPanel.getDepth());
if (levelSel == "camp") {
mainLevel++;
} else {
duelLevel++;
}
ptsCheck();
trace("4 StopPanelDepth=" + stopPanel.getDepth());
if (levelSel == "camp") {
gotoAndStop (5);
} else {
gotoAndStop (8);
}
trace("5 StopPanelDepth=" + stopPanel.getDepth());
}
function makeNumber(type) {
var _local5 = 1;
while (_local5 <= levelNum) {
var _local4 = _local5 + "_";
var _local3 = 0;
while (_local3 <= _root.si) {
var _local2 = 0;
while (_local2 <= _root.sj) {
if (type == 0) {
_root[(((_local4 + "dice_") + _local3) + "_") + _local2].nn1._visible = false;
_root[(((_local4 + "dice_") + _local3) + "_") + _local2].nn2._visible = false;
_root[(((_local4 + "dice_") + _local3) + "_") + _local2].nn3._visible = false;
} else {
_root[(((_local4 + "dice_") + _local3) + "_") + _local2].nn1._visible = true;
_root[(((_local4 + "dice_") + _local3) + "_") + _local2].nn2._visible = true;
_root[(((_local4 + "dice_") + _local3) + "_") + _local2].nn3._visible = true;
}
_local2++;
}
_local3++;
}
_local5++;
}
}
function makeShadow(type) {
var _local5 = 1;
while (_local5 <= levelNum) {
var _local4 = _local5 + "_";
var _local3 = 0;
while (_local3 <= _root.si) {
var _local2 = 0;
while (_local2 <= _root.sj) {
if (type == 0) {
_root[(((_local4 + "dice_") + _local3) + "_") + _local2].shor._visible = false;
} else {
_root[(((_local4 + "dice_") + _local3) + "_") + _local2].shor._visible = true;
}
_local2++;
}
_local3++;
}
_local5++;
}
}
function makeOption() {
if (_root.opt._y == undefined) {
_root.attachMovie("winOpt", "opt", 13000);
_root.opt._x = 45;
_root.opt._y = 150;
}
_root.opt._visible = true;
}
function destroyAllDice() {
trace("destroyAllDice");
if ((_root.si != undefined) && (_root.sj != undefined)) {
var _local5 = 1;
while (_local5 <= levelNum) {
var _local4 = _local5 + "_";
var _local3 = 0;
while (_local3 <= _root.si) {
var _local2 = 0;
while (_local2 <= _root.sj) {
_root[(((_local4 + "dice_") + _local3) + "_") + _local2].removeMovieClip();
_local2++;
}
_local3++;
}
_local5++;
}
}
}
function clearCurDice() {
_root.curDice = "none";
_root.curLevel = 0;
_root.curI = 0;
_root.curJ = 0;
}
function musicInit() {
var _local3 = 1;
while (_local3 <= 5) {
trace("musicOn" + _local3);
var _local4 = _root.createEmptyMovieClip("musCon" + _local3, _local3 * 10);
this["muse" + _local3] = new Sound(_local4);
this["muse" + _local3].attachSound("mah" + String(_local3));
this["muse" + _local3].setVolume = Number(newvolume);
trace("musicInit()this[muse+i].setVolume= " + newvolume);
_local3++;
}
}
function addPattern(num) {
}
function musicStop() {
var _local2 = 1;
while (_local2 <= 5) {
this["muse" + _local2].stop();
_local2++;
}
}
function musicOn(num) {
var _local3 = 1;
while (_local3 <= num) {
trace("Start" + _local3);
this["muse" + _local3].start();
_local3++;
}
this.muse1.onSoundComplete = function () {
trace("optMus=" + _root.optMus);
if (_root.optMus) {
this.start();
var _local3 = 2;
while (_local3 <= _root.musNume) {
_root["muse" + _local3].start();
_local3++;
}
}
};
}
function beep(num) {
if (_root.optSound) {
var _local2 = new Sound();
_local2.attachSound("beep" + num);
_local2.start();
}
}
function clearCurCant() {
var _local2 = _root.curLevel + "_";
_root[(((_local2 + "dice_") + _root.curI) + "_") + _root.curJ].cant.gotoAndStop(1);
}
function destrDice(prefix, i, j) {
_root[(((prefix + "dice_") + i) + "_") + j].gotoAndStop(2);
_root[(((prefix + "dice_") + i) + "_") + j].removeMovieClip();
if (_root.gameMode == "vs") {
_root.takeBot();
}
}
function shufDice() {
trace("shufDice");
_root.tempShuf = [];
_root.tempShuf.length = 0;
var _local2 = 1;
while (_local2 <= levelNum) {
_root.opros(_local2);
_local2++;
}
trace(_root.tempShuf);
_local2 = 1;
while (_local2 <= levelNum) {
_root.shufFill(_local2);
_local2++;
}
trace("tempShuf=" + _root.tempShuf);
reSignFree();
}
function diceVersion(type) {
trace(("diceVersion(" + type) + ")");
var _local4 = 1;
while (_local4 <= levelNum) {
var _local5 = _local4 + "_";
var _local3 = 0;
while (_local3 <= _root.si) {
var _local2 = 0;
while (_local2 <= _root.sj) {
if ((_root["level" + _local4][_local3][_local2] != 0) && (_root["level" + _local4][_local3][_local2] != undefined)) {
_root[(((_local5 + "dice_") + _local3) + "_") + _local2].pict.picta.gotoAndStop(type);
}
_local2++;
}
_local3++;
}
_local4++;
}
}
function reSignFree() {
var _local4 = openDices.length;
var _local2 = 0;
while (_local2 < _local4) {
var _local3 = openDices[_local2].level + "_";
openDices[_local2].signa = _root[(((_local3 + "dice_") + openDices[_local2].i) + "_") + openDices[_local2].j].signa;
_local2++;
}
if (chekHint() && (leftShoofle == 0)) {
gameOver();
}
}
function shufFill(lev) {
var _local6 = lev + "_";
var _local3 = 0;
while (_local3 <= _root.si) {
var _local2 = 0;
while (_local2 <= _root.sj) {
if ((_root["level" + lev][_local3][_local2] != 0) && (_root["level" + lev][_local3][_local2] != undefined)) {
tindex = random(tempShuf.length);
trace((((((("Before[" + _local3) + ",") + _local2) + "]") + coloda[tindex]) + " over ") + _root[((((level - 1) + "_dice_") + _local3) + "_") + _local2].signa);
var _local4 = 0;
if (String(tempShuf[tindex]) == String(_root[((((level - 1) + "_dice_") + _local3) + "_") + _local2].signa)) {
trace("EQUAL!");
} else {
trace("-");
}
do {
if (String(tempShuf[tindex]) != String(_root[((((level - 1) + "_dice_") + _local3) + "_") + _local2].signa)) {
break;
}
_local4++;
tindex = random(tempShuf.length);
trace((((((("------------------IN-----[" + _local3) + ",") + _local2) + "]") + coloda[tindex]) + " over ") + _root[((((level - 1) + "_dice_") + _local3) + "_") + _local2].signa);
} while (_local4 <= 10);
var _local5 = _root.tempShuf.splice(tindex, 1);
_root[(((_local6 + "dice_") + _local3) + "_") + _local2].pict.gotoAndStop(Number(String(_local5)) + 1);
_root[(((_local6 + "dice_") + _local3) + "_") + _local2].pict.picta.gotoAndStop(_root.typeOfDice);
_root[(((_local6 + "dice_") + _local3) + "_") + _local2].signa = _local5;
}
_local2++;
}
_local3++;
}
}
function scanShadow() {
var _local1 = 1;
while (_local1 <= levelNum) {
scanShadUnit(_local1);
_local1++;
}
}
function scanShadUnit(level) {
var _local4 = level + "_";
var _local3 = 0;
while (_local3 <= _root.si) {
var _local2 = 0;
while (_local2 <= _root.sj) {
if (_root["level" + level][_local3][_local2 - 1] != 0) {
_root[(((_local4 + "dice_") + _local3) + "_") + _local2].xshadow._visible = false;
} else {
_root[(((_local4 + "dice_") + _local3) + "_") + _local2].xshadow._visible = true;
}
_local2++;
}
_local3++;
}
}
function opros(lev) {
trace(("opros(" + lev) + ")");
var _local4 = lev + "_";
var _local3 = 0;
while (_local3 <= _root.si) {
var _local2 = 0;
while (_local2 <= _root.sj) {
if ((_root["level" + lev][_local3][_local2] != 0) && (_root["level" + lev][_local3][_local2] != undefined)) {
_root.tempShuf[_root.tempShuf.length] = _root[(((_local4 + "dice_") + _local3) + "_") + _local2].signa;
_root[(((_local4 + "dice_") + _local3) + "_") + _local2].pict.gotoAndStop(1);
}
_local2++;
}
_local3++;
}
}
_root.optSound = true;
_root.optShadow = true;
_root.optNumber = false;
pausePanel._alpha = 0;
volumecontrol.onPress = function () {
volumecontrol.volumeslider.startDrag(true, -25, 0, 30, 0);
};
volumecontrol.onRelease = (volumecontrol.onReleaseOutside = function () {
volumecontrol.volumeslider.stopDrag();
updatevolume();
});
pPanel.vs = function () {
this.hPan.tween("_y", -15, 1, "easeOutQuad");
this.bPan.tween("_y", 10, 1, "easeOutQuad");
};
pPanel.single = function () {
this.hPan.tween("_y", 0, 1, "easeOutQuad");
this.hPan.tween("_y", 0, 1, "easeOutQuad");
};
function botSellectI() {
var _local2 = _root.attachMovie("curs", "curs", 17999);
_local2._alppha = 0;
_local2.tween("_alpha", 100, 0.5, "easeOutQuad");
var _local3 = {scope:_root, func:botSellectII};
var _local5 = _root.firstHint._x + 19;
var _local4 = _root.firstHint._y + 27;
_local2.tween("_x", _local5, 1, "easeOutQuad", 0, _local3);
_local2.tween("_y", _local4, 1, "easeOutQuad");
}
function botSellectII() {
_root.firstHint.body.onRelease();
var _local2 = {scope:_root, func:botSellectIII};
var _local4 = _root.secondHint._x + 19;
var _local3 = _root.secondHint._y + 27;
curs.tween("_x", _local4, 1, "easeOutQuad", 0, _local2);
curs.tween("_y", _local3, 1, "easeOutQuad");
}
function botSellectIII() {
_root.secondHint.body.onRelease();
var _local2 = {scope:_root, func:botSellectIV};
curs.tween("_alpha", 0, 1, "easeOutQuad", 0, _local2);
}
function botSellectIV() {
curs.removeMovieClip();
_root.gameMode = "vs";
gamePlay();
}
function takeBot() {
_root.gameMode = "bot";
var _local4 = false;
var _local2 = 0;
var _local3 = 42;
while (_local3 >= 1) {
_local2 = _local3;
if ((30 < _local2) && (_local2 < 39)) {
_local2 = 32;
}
if (takeHintScan(_local2)) {
trace("firstHint=" + firstHint._name);
trace("secondHint=" + secondHint._name);
botSellectI();
_local4 = true;
break;
}
_local3--;
}
if (!_local4) {
exit();
}
}
function megaHint() {
var _local4 = openDices.length;
trace("megaHint.lod=" + _local4);
var _local3 = 0;
var _local2 = 0;
while (_local2 < _local4) {
_local3 = _local2;
if (takeHintScan(_local3)) {
trace("firstHint=" + firstHint._name);
trace("secondHint=" + secondHint._name);
_root.firstHint.cant.gotoAndStop(4);
_root.secondHint.cant.gotoAndStop(4);
}
_local2++;
}
_root.beep(2);
}
function takeHint() {
var _local4 = false;
var _local2 = 0;
var _local3 = 1;
while (_local3 <= 42) {
_local2 = _local3;
if ((30 < _local2) && (_local2 < 39)) {
_local2 = 32;
}
if (takeHintScan(_local2)) {
_root.leftHint--;
trace("firstHint=" + firstHint._name);
trace("secondHint=" + secondHint._name);
_root.firstHint.cant.gotoAndStop(1);
_root.firstHint.cant.gotoAndStop(3);
_root.secondHint.cant.gotoAndStop(1);
_root.secondHint.cant.gotoAndStop(3);
_root.beep(2);
_local4 = true;
break;
}
_local3++;
}
if (!_local4) {
_root.sendMess("\u041F\u0430\u0440\u043D\u044B\u0445 \u043A\u0430\u0440\u0442 \u0431\u043E\u043B\u044C\u0448\u0435 \u043D\u0435\u0442.");
}
}
function chekHint() {
_root.comb = 0;
var _local4 = false;
var _local2 = 0;
var _local5 = openDices.length;
var _local3 = 0;
while (_local3 < _local5) {
_local2 = Number(String(openDices[_local3].signa));
if ((30 < _local2) && (_local2 < 39)) {
_local2 = 32;
}
if (takeHintScan(_local2)) {
_local4 = true;
_root.comb++;
}
_local3++;
}
return(_local4);
}
function takeHintScan(signa) {
var _local4 = 0;
var _local5 = openDices.length;
var _local2 = 0;
while (_local2 < _local5) {
var _local3 = Number(String(openDices[_local2].signa));
if ((30 < _local3) && (_local3 < 39)) {
_local3 = 32;
}
if (String(_local3) == String(signa)) {
if (_local4 == 0) {
_root.firstHint = _root[openDices[_local2].name];
} else {
_root.secondHint = _root[openDices[_local2].name];
}
_local4++;
}
_local2++;
}
if (_local4 < 2) {
return(false);
}
return(true);
}
function endBon() {
bonAnim = false;
}
function delBon(num) {
var _local4 = {scope:_root, func:endBon};
var _local3 = this["bon" + num];
if (num == 1) {
_local3._x = 12;
_local3._y = 12;
_local3.tween("_alpha", 100, 0.5, "easeOutQuad", 0);
_local3.tween("_x", 327, 2, "easeOutQuad", 0, _local4);
}
if (num == 2) {
_local3._x = 12;
_local3._y = 12;
_local3.tween("_alpha", 100, 0.5, "easeOutQuad", 0);
_local3.tween("_y", 264, 2, "easeOutQuad", 0, _local4);
}
if (num == 3) {
_local3._x = 12;
_local3._y = 499;
_local3.tween("_alpha", 100, 0.5, "easeOutQuad", 0);
_local3.tween("_x", 327, 2, "easeOutQuad", 0, _local4);
}
if (num == 4) {
_local3._x = 642;
_local3._y = -25;
_local3.tween("_alpha", 100, 0.5, "easeOutQuad", 0);
_local3.tween("_y", 264, 2, "easeOutQuad", 0, _local4);
}
}
function boomBon(num) {
var _local4 = {scope:_root, func:_root.delBon, args:[num]};
var _local3 = this["bon" + num];
_local3.tween("_alpha", 0, 0.5, "easeOutQuad", 0, _local4);
if (_local3.bonus == 1) {
_root.leftShoofle++;
}
if (_local3.bonus == 2) {
_root.leftHint++;
}
if (_local3.bonus == 3) {
_root.timerr.plus(50);
}
if (_local3.bonus == 4) {
_root.megaHint();
}
}
function addBon(num) {
bonAnim = true;
var _local4 = {scope:_root, func:_root.boomBon, args:[num]};
var _local3 = this["bon" + num];
_local3.tween("_x", 715, 3, "easeOutQuad", 0, _local4);
_local3.tween("_y", 88, 3, "easeOutQuad", 0);
}
function stopBon(num) {
var _local2 = this["bon" + num];
if ((num == 2) || (num == 4)) {
if ((_local2._y < 15) || (_local2._y > 500)) {
addBon(num);
}
} else if ((_local2._x < 15) || (_local2._x > 642)) {
addBon(num);
}
}
function moveBon(num, pos) {
if (!bonAnim) {
var _local5 = {scope:_root, func:_root.stopBon, args:[num]};
var _local3 = this["bon" + num];
if (num == 1) {
if (pos > _local3._x) {
var _local7 = -1;
} else {
var _local7 = 1;
}
_local3.tween("_x", (_local3._x + (40 * _local7)) + char1, 1, "easeOutQuad", 0, _local5);
}
if (num == 2) {
if (pos > _local3._y) {
var _local7 = -1;
} else {
var _local7 = 1;
}
_local3.tween("_y", (_local3._y + (40 * _local7)) + char1, 1, "easeOutQuad", 0, _local5);
}
if (num == 3) {
if (pos > _local3._x) {
var _local7 = -1;
} else {
var _local7 = 1;
}
_local3.tween("_x", (_local3._x + (40 * _local7)) + char1, 1, "easeOutQuad", 0, _local5);
}
if (num == 4) {
if (pos > _local3._y) {
var _local7 = -1;
} else {
var _local7 = 1;
}
_local3.tween("_y", (_local3._y + (40 * _local7)) + char1, 1, "easeOutQuad", 0, _local5);
}
}
}
function remDice(lev, i, j) {
remNum++;
var _local3 = lev + "_";
var _local6 = {scope:_root, func:_root.destrDice, args:[_local3, i, j]};
_root[(((_local3 + "dice_") + i) + "_") + j].swapDepths(18010 + random(1000));
var _local17 = _root[(((_local3 + "dice_") + i) + "_") + j]._x;
var _local16 = _root[(((_local3 + "dice_") + i) + "_") + j]._y;
var _local15 = _local17 + 19;
var _local14 = _local16 + 27;
var _local9 = _local15 - 20;
var _local11 = 625 - _local9;
var _local8 = _local14 - 20;
var _local10 = 487 - _local8;
var _local12 = [_local9, _local11, _local8, _local10];
_local12.sort(Array.NUMERIC);
trace(_local12);
var _local7 = _local12[0];
if (gameMode != "bot") {
if (_local9 == _local7) {
_root[(((_local3 + "dice_") + i) + "_") + j].tween("_x", -100, 1, "easeOutQuad", 0, _local6);
moveBon(2, _local14);
}
if (_local11 == _local7) {
_root[(((_local3 + "dice_") + i) + "_") + j].tween("_x", 900, 1, "easeOutQuad", 0, _local6);
moveBon(4, _local14);
}
if (_local8 == _local7) {
_root[(((_local3 + "dice_") + i) + "_") + j].tween("_y", -100, 1, "easeOutQuad", 0, _local6);
moveBon(1, _local15);
}
if (_local10 == _local7) {
_root[(((_local3 + "dice_") + i) + "_") + j].tween("_y", 600, 1, "easeOutQuad", 0, _local6);
moveBon(3, _local15);
}
} else {
if (_local9 == _local7) {
_root[(((_local3 + "dice_") + i) + "_") + j].tween("_x", -100, 1, "easeOutQuad", 0, _local6);
}
if (_local11 == _local7) {
_root[(((_local3 + "dice_") + i) + "_") + j].tween("_x", 900, 1, "easeOutQuad", 0, _local6);
}
if (_local8 == _local7) {
_root[(((_local3 + "dice_") + i) + "_") + j].tween("_y", -100, 1, "easeOutQuad", 0, _local6);
}
if (_local10 == _local7) {
_root[(((_local3 + "dice_") + i) + "_") + j].tween("_y", 600, 1, "easeOutQuad", 0, _local6);
}
}
_root["level" + lev][i][j] = 0;
_root.diceCount--;
if ((Math.round(_root.diceCount / 2) - (_root.diceCount / 2)) == 0) {
scanShadow();
reScan();
trace("Count score paritet=");
var _local2 = Number(String(_root[(((_local3 + "dice_") + i) + "_") + j].signa));
if ((_local2 >= 1) && (_local2 <= 10)) {
var _local13 = 3;
}
if ((_local2 >= 11) && (_local2 <= 19)) {
var _local13 = 1;
}
if ((_local2 >= 20) && (_local2 <= 28)) {
var _local13 = 2;
}
if ((_local2 >= 29) && (_local2 <= 31)) {
var _local13 = 5;
}
if ((_local2 >= 32) && (_local2 <= 35)) {
var _local13 = 6;
}
if ((_local2 >= 36) && (_local2 <= 39)) {
var _local13 = 7;
}
if ((_local2 >= 40) && (_local2 <= 42)) {
var _local13 = 4;
}
trace("signa=" + _local2);
trace(((((("score=" + _root.score) + "+") + _local13) + "*((") + _root.diceCount) + "/2)+1");
if (gameMode == "bot") {
_root.cpuscore = _root.cpuscore + (_local13 * ((_root.diceCount / 2) + 1));
} else {
_root.score = _root.score + ((_local13 * ((_root.diceCount / 2) + 1)) + char3);
}
_connector.sendResult(_root.score, true);
if (_root.diceCount == 0) {
if (gameMode != "single") {
if (_root.score > _root.cpuscore) {
exit();
} else {
gameOver();
}
} else {
exit();
}
} else if (!chekHint()) {
if (leftShoofle == 0) {
gameOver();
} else {
sendMess("No more free equal dices, use shuffle!");
}
}
}
}
function isoBuild(dx, dy) {
trace(((("isoBuild(" + dx) + ",") + dy) + ")");
if (dx > 5) {
dx = 5;
_root.mdx = 5;
}
if (dy > 5) {
dy = 5;
_root.mdy = 5;
}
if (dx < -5) {
dx = -5;
_root.mdx = -5;
}
if (dy < -5) {
dy = -5;
_root.mdy = -5;
}
var _local2 = 1;
while (_local2 <= levelNum) {
moveLevel(_local2, dx, dy);
_local2++;
}
}
function moveLevel(level, dx, dy) {
var _local8 = level + "_";
var _local5 = 0;
while (_local5 <= _root.si) {
var _local3 = 0;
while (_local3 <= _root.sj) {
if (_root["level" + level][_local5][_local3] != 0) {
var _local2 = _root[(((_local8 + "dice_") + _local5) + "_") + _local3];
if (_local2.mdx == undefined) {
_local2.mdx = 0;
}
if (_local2.mdy == undefined) {
_local2.mdy = 0;
}
_local2._x = _local2._x + (((level - 1) * dx) - ((level - 1) * _local2.mdx));
_local2._y = _local2._y + (((level - 1) * dy) - ((level - 1) * _local2.mdy));
_local2.mdx = dx;
_local2.mdy = dy;
}
_local3++;
}
_local5++;
}
}
function free(level, i, j) {
if ((((_root["level" + level][i][j] != undefined) && (_root["level" + level][i][j] != 0)) && ((_root["level" + (level + 1)][i][j] == 0) || (_root["level" + (level + 1)][i][j] == undefined))) && (_root["level" + (level + 1)][i + 1][j] != 2)) {
if ((((_root["level" + level][i][j - 1] != 1) && (_root["level" + level][i][j - 1] != 2)) && (_root["level" + level][i + 1][j - 1] != 2)) || (((_root["level" + level][i][j + 1] != 1) && (_root["level" + level][i][j + 1] != 2)) && (_root["level" + level][i + 1][j + 1] != 2))) {
return(true);
}
}
return(false);
}
function scanUnit(level) {
var _local8 = level + 1;
var _local6 = level + "_";
var _local5 = 0;
while (_local5 <= _root.si) {
var _local4 = 0;
while (_local4 <= _root.sj) {
if (_root["level" + level][_local5][_local4] != 0) {
if (free(level, _local5, _local4)) {
var _local3 = openDices.length;
trace("lodSU=" + _local3);
openDices[_local3] = [];
openDices[_local3].level = level;
openDices[_local3].i = _local5;
openDices[_local3].j = _local4;
openDices[_local3].signa = _root[(((_local6 + "dice_") + _local5) + "_") + _local4].signa;
openDices[_local3].name = _root[(((_local6 + "dice_") + _local5) + "_") + _local4]._name;
trace((("OD[" + _local3) + "]=") + openDices[_local3].name);
_root[(((_local6 + "dice_") + _local5) + "_") + _local4].body.onRelease = function () {
if (_root.curDice != "none") {
trace((("######2 i=" + _root.curD[1].i) + " j=") + _root.curD[1].j);
trace((("signa=" + this._parent.signa) + " _root.curDice=") + _root.curDice);
if (String(this._parent.signa) == String(_root.curDice)) {
trace("pair");
if ((_root.curI != this._parent.i) || (_root.curJ != this._parent.j)) {
if (_root.gameMode == "vs") {
gamePause();
}
_root.beep(2);
delete this.onRelease;
remNum = 0;
_root.remDice(this._parent.levela, this._parent.i, this._parent.j);
_root.remDice(_root.curLevel, _root.curI, _root.curJ);
_root.curDice = "none";
_root.clearCurDice();
} else {
_root.clearCurDice();
this._parent.cant.gotoAndStop(1);
}
} else {
trace((("Signa=" + Number(String(this._parent.signa))) + "CurSigna=") + Number(String(_root.curDice)));
if (((Number(String(this._parent.signa)) > 30) && (Number(String(this._parent.signa) < 39))) && ((Number(String(_root.curDice)) > 30) && Number(String(_root.curDice) < 39))) {
trace("bONUSES");
remNum = 0;
_root.remDice(this._parent.levela, this._parent.i, this._parent.j);
_root.remDice(_root.curLevel, _root.curI, _root.curJ);
_root.clearCurDice();
}
trace("nonpair");
_root.beep(1);
_root.clearCurCant();
_root.clearCurDice();
}
} else if (_root.curDice == "none") {
trace("gameMode=" + _root.gameMode);
_root.curD[0].i = this._parent.i;
_root.curD[0].j = this._parent.j;
trace((("######1 i=" + _root.curD[0].i) + " j=") + _root.curD[0].j);
_root.beep(3);
this._parent.cant.gotoAndStop(2);
_root.curDice = this._parent.signa;
_root.curLevel = this._parent.levela;
_root.curI = this._parent.i;
_root.curJ = this._parent.j;
}
};
}
}
_local4++;
}
_local5++;
}
}
function reScan() {
openDices.length = 0;
var _local2 = 1;
while (_local2 <= levelNum) {
_root.scanUnit(_local2);
_local2++;
}
}
function getDep(level, i, j) {
var _local3 = level * 1000;
var _local2 = i * 20;
var _local1 = j;
return((_local3 + _local2) + _local1);
}
function createLevel(level) {
var _local5 = level + "_";
var _local7 = 0;
var _local4 = 0;
while (_local4 <= _root.si) {
var _local3 = 0;
while (_local3 <= _root.sj) {
if ((_root["level" + level][_local4][_local3] != 0) && (_root["level" + level][_local4][_local3] != undefined)) {
_root.diceCount++;
_root.attachMovie("dice", (((_local5 + "dice_") + _local4) + "_") + _local3, getDep(level, _local4, _local3));
_root[(((_local5 + "dice_") + _local4) + "_") + _local3].levela = level;
_root[(((_local5 + "dice_") + _local4) + "_") + _local3].i = _local4;
_root[(((_local5 + "dice_") + _local4) + "_") + _local3].j = _local3;
_local7 = 0;
trace((((((("Before[" + _local4) + ",") + _local3) + "]") + coloda[_local7]) + " over ") + _root[((((level - 1) + "_dice_") + _local4) + "_") + _local3].signa);
var _local9 = 0;
if (String(coloda[_local7]) == String(_root[((((level - 1) + "_dice_") + _local4) + "_") + _local3].signa)) {
trace("EQUAL!");
} else {
trace("-");
}
while (String(coloda[_local7]) == String(_root[((((level - 1) + "_dice_") + _local4) + "_") + _local3].signa)) {
_local9++;
_local7 = _local9;
trace((((((("------------------IN-----[" + _local4) + ",") + _local3) + "]") + coloda[_local7]) + " over ") + _root[((((level - 1) + "_dice_") + _local4) + "_") + _local3].signa);
if (_local9 > 10) {
_local7 = 0;
break;
}
}
var _local10 = coloda.splice(_local7, 1);
_root[(((_local5 + "dice_") + _local4) + "_") + _local3].pict.gotoAndStop(Number(String(_local10)) + 1);
_root[(((_local5 + "dice_") + _local4) + "_") + _local3].signa = _local10;
if (_root.optShadow) {
var _local11 = 100 / _root.levelNum;
color.brightness = (-(100 - (level * _local11))) * 0.7;
color.contrast = (-(100 - (level * _local11))) * 0.7;
_root[(((_local5 + "dice_") + _local4) + "_") + _local3].filters = [color];
} else {
var _local11 = 100 / _root.levelNum;
_root[(((_local5 + "dice_") + _local4) + "_") + _local3].shor._alpha = 85 - (level * _local11);
_root[(((_local5 + "dice_") + _local4) + "_") + _local3].shor._visible = false;
}
if (_root.typeOfDice == 2) {
_root[(((_local5 + "dice_") + _local4) + "_") + _local3].pict.picta.gotoAndStop(2);
} else {
_root[(((_local5 + "dice_") + _local4) + "_") + _local3].pict.picta.gotoAndStop(1);
}
if (_root.optNumber == false) {
_root[(((_local5 + "dice_") + _local4) + "_") + _local3].nn1._visible = false;
_root[(((_local5 + "dice_") + _local4) + "_") + _local3].nn2._visible = false;
_root[(((_local5 + "dice_") + _local4) + "_") + _local3].nn3._visible = false;
} else {
_root[(((_local5 + "dice_") + _local4) + "_") + _local3].nn1._visible = true;
_root[(((_local5 + "dice_") + _local4) + "_") + _local3].nn2._visible = true;
_root[(((_local5 + "dice_") + _local4) + "_") + _local3].nn3._visible = true;
}
_root[(((_local5 + "dice_") + _local4) + "_") + _local3]._x = dx + (_local3 * 41);
_root[(((_local5 + "dice_") + _local4) + "_") + _local3]._y = (dy + (_local4 * 58)) - (_root["level" + level][_local4][_local3] * 29);
_root.debugText = _root.debugText + (((((("[i]=" + _local4) + " [j]=") + _local3) + " _root[level][i+1][j+1]=") + _root["level" + level][_local4 + 1][_local3 + 1]) + "<br>");
_root.debugText = _root.debugText + (((((("[i]=" + _local4) + " [j]=") + _local3) + " _root[level][i+1][j-1]=") + _root["level" + level][_local4 + 1][_local3 - 1]) + "<br>");
if (free(level, _local4, _local3)) {
var _local8 = openDices.length;
openDices[_local8] = [];
openDices[_local8].level = level;
openDices[_local8].i = _local4;
openDices[_local8].j = _local3;
openDices[_local8].signa = _root[(((_local5 + "dice_") + _local4) + "_") + _local3].signa;
openDices[_local8].name = _root[(((_local5 + "dice_") + _local4) + "_") + _local3]._name;
_root[(((_local5 + "dice_") + _local4) + "_") + _local3].body.onRelease = function () {
if (_root.curDice != "none") {
trace((("######2 i=" + _root.curD[1].i) + " j=") + _root.curD[1].j);
trace((("signa=" + this._parent.signa) + " _root.curDice=") + _root.curDice);
if (String(this._parent.signa) == String(_root.curDice)) {
trace("pair");
if ((_root.curI != this._parent.i) || (_root.curJ != this._parent.j)) {
if (_root.gameMode == "vs") {
gamePause();
}
_root.beep(2);
delete this.onRelease;
trace((("pairGo _root.curI=" + _root.curI) + " this._parent.i=") + this._parent.i);
trace((("pairGo _root.curJ=" + _root.curJ) + " this._parent.j=") + this._parent.j);
remNum = 0;
_root.remDice(this._parent.levela, this._parent.i, this._parent.j);
_root.remDice(_root.curLevel, _root.curI, _root.curJ);
_root.clearCurDice();
} else {
_root.clearCurDice();
this._parent.cant.gotoAndStop(1);
}
} else {
if (((Number(String(this._parent.signa)) > 30) && (Number(String(this._parent.signa) < 39))) && ((Number(String(_root.curDice)) > 30) && Number(String(_root.curDice) < 39))) {
_root.beep(2);
remNum = 0;
_root.remDice(this._parent.levela, this._parent.i, this._parent.j);
_root.remDice(_root.curLevel, _root.curI, _root.curJ);
_root.clearCurDice();
}
trace("nonpair");
_root.beep(1);
_root.clearCurCant();
_root.clearCurDice();
}
} else {
trace("gameMode=" + _root.gameMode);
_root.beep(3);
this._parent.cant.gotoAndStop(2);
_root.curDice = this._parent.signa;
_root.curLevel = this._parent.levela;
_root.curI = this._parent.i;
_root.curJ = this._parent.j;
}
};
}
}
_local3++;
}
_local4++;
}
}
function pausePanelSwap() {
trace("pausePanelSwap");
pausePanel.swapDepths(pausePanel.dep);
delete pausePanel.onRelease;
}
function playPause() {
if (pausePanel._alpha == 0) {
pausePanel.dep = pausePanel.getDepth();
pausePanel.swapDepths(_root.getNextHighestDepth());
pausePanel.tween("_alpha", 100, 1, "easeInQuad");
pausePanel.onRelease = function () {
};
pausePanel.useHandCursor = false;
timerr.pausa();
} else {
var _local2 = {scope:_root, func:pausePanelSwap};
pausePanel.tween("_alpha", 0, 0.5, "easeInQuad", 0, _local2);
timerr.pley();
}
}
function gamePause() {
stopPanel.enable();
timerr.pausa();
}
function gamePlay() {
stopPanel.disable();
timerr.pley();
}
function gameOver() {
var _local2 = {scope:_root, func:gameOut};
gamePause();
trace("1 StopPanelDepth=" + stopPanel.getDepth());
stopPanel.tween("_alpha", 100, 3, "easeInQuad", 0, _local2);
}
function gameOut() {
musicStop();
_root.destroyAllDice();
stopPanel.swapDepths(panDep);
delete stopPanel.onRelease;
trace("2 StopPanelDepth=" + stopPanel.getDepth());
_root.attachMovie("winLose", "winLose", 19000);
if (levelSel == "camp") {
gotoAndStop (5);
_root.winLose.endText = "You Loose!";
} else {
_root.winLose.endText = (("Your score - " + _root.score) + "\n Boss score - ") + _root.cpuscore;
}
var _local5 = Stage.width;
var _local4 = Stage.height;
var _local3 = (_local5 / 2) - (_root.winLose._width / 2);
var _local2 = (_local4 / 2) - (_root.winLose._height / 2);
_root.winLose._x = _local3;
_root.winLose._y = _local2;
saveState();
if (levelSel == "camp") {
gotoAndStop (5);
} else {
gotoAndStop (8);
}
}
function magConst(id, num) {
if (id == undefined) {
id = 1234;
}
var _local2 = Math.ceil(Math.cos(id + num) * 100);
return(_local2);
}
function codeColoda() {
var _local3 = coloda.length;
var _local1 = 0;
while (_local1 < _local3) {
var _local2 = coloda[_local1];
coloda[_local1] = {val:_local2, index:magConst(gameID, _local1)};
_local1++;
}
coloda.sortOn("index", Array.DESCENDING | Array.NUMERIC);
_local1 = 0;
while (_local1 < _local3) {
var _local2 = coloda[_local1].val;
coloda[_local1] = _local2;
_local1++;
}
}
function initField(num) {
_root.diceCount = 0;
if (num == undefined) {
num = 1;
}
_root.coloda.length = 0;
_root.coloda = [1, 1, 1, 1, 2, 2, 2, 2, 3, 3, 3, 3, 4, 4, 4, 4, 5, 5, 5, 5, 6, 6, 6, 6, 7, 7, 7, 7, 8, 8, 8, 8, 9, 9, 9, 9, 10, 10, 10, 10, 11, 11, 11, 11, 12, 12, 12, 12, 13, 13, 13, 13, 14, 14, 14, 14, 15, 15, 15, 15, 16, 16, 16, 16, 17, 17, 17, 17, 18, 18, 18, 18, 19, 19, 19, 19, 20, 20, 20, 20, 21, 21, 21, 21, 22, 22, 22, 22, 23, 23, 23, 23, 24, 24, 24, 24, 25, 25, 25, 25, 26, 26, 26, 26, 27, 27, 27, 27, 28, 28, 28, 28, 29, 29, 29, 29, 30, 30, 30, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 39, 39, 39, 40, 40, 40, 40, 41, 41, 41, 41, 42, 42, 42, 42];
codeColoda();
getLevel(num);
openDices.length = 0;
var _local2 = 1;
while (_local2 <= levelNum) {
createLevel(_local2);
_local2++;
}
bon1.setBonus(2);
bon2.setBonus(1);
bon3.setBonus(3);
bon4.setBonus(4);
delBon(1);
delBon(2);
delBon(3);
delBon(4);
isoBuild(mdx, mdy);
timerr.inita();
}
var color = (new ru.etcs.filters.ColorFilter(0, 0));
gameID = 1234;
musicInit();
if (gameMode == "vs") {
pPanel.vs();
} else {
pPanel.single();
}
_root.diceCount = 0;
musNume = 0;
_root.cpuscore = 0;
_root.score = 0;
bonAnim = false;
dx = 50;
dy = 55;
mdx = 3;
mdy = 3;
tikInt = (0.1 + (0.001 * mainLevel)) - (0.01 * char2);
trace("levelSel=" + levelSel);
if (levelSel == "camp") {
tikInt = (0.1 + (0.001 * mainLevel)) - (0.01 * char2);
} else {
tikInt = (0.1 + (0.001 * duelLevel)) - (0.01 * char2);
}
curDice = "none";
_root.typeOfDice = 1;
openDices = [];
curD = [];
curD[0] = [];
curD[0].i = 0;
curD[0].j = 0;
curD[1] = [];
curD[1].i = 0;
curD[1].j = 0;
bon1.setBonus = function (num) {
this.bonus = num;
this.bonIco.gotoAndStop(num);
trace(("setBonus(" + num) + ")");
};
bon2.setBonus = function (num) {
this.bonus = num;
this.bonIco.gotoAndStop(num);
trace(("setBonus(" + num) + ")");
};
bon3.setBonus = function (num) {
this.bonus = num;
this.bonIco.gotoAndStop(num);
trace(("setBonus(" + num) + ")");
};
bon4.setBonus = function (num) {
this.bonus = num;
this.bonIco.gotoAndStop(num);
trace(("setBonus(" + num) + ")");
};
stopPanel.enable = function () {
stopPanel.onRelease = function () {
};
stopPanel.useHandCursor = false;
stopPanel.swapDepths(18000);
};
stopPanel.disable = function () {
delete stopPanel.onRelease;
stopPanel.swapDepths(_root.panDep);
};
timerr.pausa = function () {
trace("Pausa");
timerr.modde = "stop";
clearInterval(_root.intervalID);
timerr.tima.gotoAndStop(2);
};
timerr.pley = function () {
if (timerr.modde == "stop") {
timerr.tima.gotoAndStop(1);
_root.intervalID = setInterval(timerr.Tik, 100);
timerr.modde = "play";
trace("pley");
}
};
timerr.inita = function () {
trace("Init");
timerr.modde = "stop";
timerr.timerStart();
};
timerr.timerStart = function () {
trace("Start");
timerr.modde = "play";
_root.intervalID = setInterval(timerr.Tik, 100);
};
timerr.plus = function (num) {
var _local2 = {scope:_root, func:_root.timerr.pley};
timerr.pausa();
if ((timerr.tima._y - num) < 0) {
timerr.tima.tween("_y", 0, 1, "easeOutQuad", 0, _local2);
} else {
timerr.tima.tween("_y", timerr.tima._y - num, 1, "easeOutQuad", 0, _local2);
}
};
timerr.ended = function () {
trace("GameOver");
gameOver();
};
timerr.Tik = function () {
timerr.tima._y = timerr.tima._y + tikInt;
if (optMus) {
if (_root.musNume < 1) {
_root.musicOn(1);
_root.musNume = 1;
}
if (timerr.tima._y > (timerr.tMask._height / 8)) {
if (_root.musNume < 2) {
_root.musNume = 2;
}
}
if (timerr.tima._y > (timerr.tMask._height / 4)) {
if (_root.musNume < 3) {
_root.musNume = 3;
}
}
if (timerr.tima._y > (timerr.tMask._height / 2)) {
if (_root.musNume < 4) {
_root.musNume = 4;
}
}
if (timerr.tima._y > (timerr.tMask._height / 1.5)) {
if (_root.musNume < 5) {
_root.musNume = 5;
}
}
}
if (timerr.tima._y > timerr.tMask._height) {
timerr.ended();
}
};
stopPanel.swapDepths(18000);
if (levelSel == "camp") {
initField(mainLevel);
} else {
initField(duelLevel);
}
overMsg.gotoAndStop(1);
stopPanel.tween("_alpha", 0, 1, "easeOutQuad");
Instance of Symbol 259 MovieClip in Frame 4
on (release) {
_root.exit();
}
Instance of Symbol 23 MovieClip "hint" in Frame 4
on (rollOver) {
this.btnFx.gotoAndPlay(2);
}
on (rollOut) {
this.btnFx.gotoAndPlay(11);
}
onClipEvent (load) {
this.btnCaps.caps = "Hint";
}
on (release) {
if (_root.leftHint > 0) {
_root.takeHint();
} else {
_root.sendMess("No more hints.");
}
}
Instance of Symbol 23 MovieClip in Frame 4
on (rollOver) {
this.btnFx.gotoAndPlay(2);
}
on (rollOut) {
this.btnFx.gotoAndPlay(11);
}
onClipEvent (load) {
this.btnCaps.caps = "Shuffle";
}
on (press) {
_root.firstHint.cant.gotoAndStop(1);
_root.secondHint.cant.gotoAndStop(1);
}
on (release) {
if (_root.leftShoofle > 0) {
_root.shufDice();
_root.leftShoofle--;
} else {
_root.sendMess("No more shuffle.");
}
}
Instance of Symbol 23 MovieClip in Frame 4
on (rollOver) {
this.btnFx.gotoAndPlay(2);
}
on (rollOut) {
this.btnFx.gotoAndPlay(11);
}
onClipEvent (load) {
this.btnCaps.caps = "Menu";
}
on (release) {
_root.modalWin("You want to finish this play. The Results not will save. Are you sure?", "menuIn");
}
Instance of Symbol 290 MovieClip in Frame 4
onClipEvent (load) {
function init() {
this.chType = _root.optSound;
}
this.chType = _root.optSound;
this.capt = "Sound";
}
on (release) {
if (this.chType) {
this.crest.gotoAndStop(2);
this.chType = (_root.optSound = false);
} else {
this.crest.gotoAndStop(1);
this.chType = (_root.optSound = true);
_root.saveState();
}
}
Instance of Symbol 290 MovieClip in Frame 4
onClipEvent (load) {
function init() {
this.chType = _root.optMusic;
}
this.chType = _root.optMus;
this.capt = "Music";
if (this.chType) {
this.crest.gotoAndStop(1);
} else {
this.crest.gotoAndStop(2);
}
}
on (release) {
if (this.chType) {
_root.musicStop();
this.crest.gotoAndStop(2);
this.chType = (_root.optMus = false);
_root.saveState();
} else {
_root.musicOn(_root.musNume);
this.crest.gotoAndStop(1);
this.chType = (_root.optMus = true);
_root.saveState();
}
}
Instance of Symbol 290 MovieClip in Frame 4
onClipEvent (load) {
function init() {
this.chType = _root.optNumber;
}
this.chType = _root.optNumber;
this.capt = "Numbers";
}
on (release) {
if (this.chType) {
this.crest.gotoAndStop(2);
this.chType = (_root.optNumber = false);
_root.makeNumber(0);
} else {
this.crest.gotoAndStop(1);
this.chType = (_root.optNumber = true);
_root.makeNumber(1);
}
}
Instance of Symbol 290 MovieClip "optEuro" in Frame 4
onClipEvent (load) {
this.capt = "EuroDice";
crest.gotoAndStop(2);
}
on (release) {
if (_root.typeOfDice != 2) {
_root.diceVersion(2);
_root.typeOfDice = 2;
crest.gotoAndStop(1);
_parent.optOrig.crest.gotoAndStop(2);
}
}
Instance of Symbol 290 MovieClip "optOrig" in Frame 4
onClipEvent (load) {
function init() {
this.chType = _root.typeOfDice;
}
this.chType = _root.typeOfDice;
this.capt = "Oriental";
}
on (release) {
if (_root.typeOfDice != 1) {
_root.diceVersion(1);
_root.typeOfDice = 1;
crest.gotoAndStop(1);
_parent.optEuro.crest.gotoAndStop(2);
}
}
Instance of Symbol 23 MovieClip in Frame 4
on (rollOver) {
this.btnFx.gotoAndPlay(2);
}
on (rollOut) {
this.btnFx.gotoAndPlay(11);
}
onClipEvent (load) {
this.btnCaps.caps = "Pause";
}
on (release) {
_root.playPause();
}
Instance of Symbol 226 MovieClip "pausePanel" in Frame 4
onClipEvent (load) {
this.useHandCursor = false;
this._alpha = 0;
}
Frame 5
function selRoll() {
_root.gotoAndStop(6);
}
function markLevel(num) {
var _local5 = {scope:_root, func:selRoll};
var _local4 = Math.ceil(num / 13) - 1;
trace("tp=" + _local4);
var _local3 = 0;
while (_local3 < _local4) {
this["point" + _local3].svetofor.gotoAndStop(1);
_local3++;
}
this["point" + _local4].svetofor.gotoAndStop(2);
this["point" + _local4].svetofor.onRelease = function () {
_root.gotoAndStop(6);
};
_local3 = _local4 + 1;
while (_local3 < 5) {
this["point" + _local3].svetofor.gotoAndStop(3);
_local3++;
}
}
stop();
btnMenu.onRelease = function () {
_root.gotoAndStop(8);
};
btnNext.onRelease = function () {
_root.gotoAndStop(6);
};
btnBack.onRelease = function () {
_root.gotoAndStop(8);
};
stopPanel._alpha = 100;
stopPanel.tween("_alpha", 0, 0.5, "easeOutQuad");
delete stopPanel.onRelease;
markLevel(mainLevel);
Frame 6
function sendMess(arg) {
_root.attachMovie("winMess", "winMesss", 14000);
_root.winMesss.messText = arg;
_root.winMesss._x = 280;
_root.winMesss._y = 170;
}
function startGame() {
trace("startGame");
_root.gotoAndStop(4);
}
function markSubLevel(num) {
this.roll.selc._visible = false;
this.roll.rollIn.ukaz._alpha = 100;
var _local4 = Math.ceil(num / 13) - 1;
var _local3 = num - (_local4 * 13);
trace((("tp=" + _local3) + " cel=") + _local4);
this.roll.rollIn.gotoAndStop(_local3);
this.roll.rollIn.ukaz.tween("_rotation", (_local3 - 1) * 30, 2, "easeOutQuad");
if (_local3 == 13) {
trace("Level13");
this.roll.selc._alpha = 0;
this.roll.selc._visible = true;
this.roll.selc.tween("_alpha", 100, 1, "easeOutQuad");
this.roll.rollIn.ukaz._alpha = 0;
btnGame.onRelease = function () {
var _local2 = {scope:_root, func:startGame};
_root.levelSel = "camp";
overMsg.gotoAndStop(2);
_root.gameMode = "vs";
stopPanel.tween("_alpha", 100, 0.5, "easeOutQuad", 0, _local2);
};
this.roll.rollIn.btnBoss.onRelease = function () {
var _local2 = {scope:_root, func:startGame};
_root.levelSel = "camp";
overMsg.gotoAndStop(2);
_root.gameMode = "vs";
stopPanel.tween("_alpha", 100, 0.5, "easeOutQuad", 0, _local2);
};
} else {
_root.gameMode = "single";
btnGame.onRelease = function () {
var _local2 = {scope:_root, func:startGame};
_root.levelSel = "camp";
overMsg.gotoAndStop(2);
stopPanel.tween("_alpha", 100, 0.5, "easeOutQuad", 0, _local2);
};
this.roll.rollIn.ukaz.onRelease = function () {
var _local2 = {scope:_root, func:startGame};
_root.levelSel = "camp";
overMsg.gotoAndStop(2);
trace(stopPanel._name);
trace("Depth is " + stopPanel.getDepth());
trace("Alpha is " + stopPanel._alpha);
stopPanel.tween("_alpha", 100, 0.5, "easeOutQuad", 0, _local2);
};
}
}
stop();
stopPanel._alpha = 100;
stopPanel.tween("_alpha", 0, 0.5, "easeOutQuad");
btnMenu.onRelease = function () {
_root.gotoAndStop(8);
};
stopPanel.tween("_alpha", 0, 0.5, "easeOutQuad");
markSubLevel(mainLevel);
Instance of Symbol 309 MovieClip "btnMenu" in Frame 6
/* no clip actions */
Instance of Symbol 309 MovieClip "btnGame" in Frame 6
/* no clip actions */
Instance of Symbol 309 MovieClip in Frame 6
on (release) {
_root.gotoAndStop(5);
}
Frame 7
stop();
btnMenu.onRelease = function () {
_root.gotoAndStop(8);
};
stopPanel._alpha = 100;
stopPanel.tween("_alpha", 0, 0.5, "easeOutQuad");
Frame 8
function readState() {
if (((so.data.lev == undefined) || (so.data.leftHint == undefined)) || (so.data.leftShoofle == undefined)) {
duelLevel = 1;
mainLevel = 1;
leftShoofle = 3;
leftHint = 5;
char1 = 0;
char2 = 0;
char3 = 0;
ptsTotal = 0;
ptsFree = 0;
hName = "Your Name";
ptsLast = 0;
optSound = true;
optMus = true;
saveState();
}
mainLevel = show_scores(String(so.data.lev));
duelLevel = show_scores(String(so.data.levD));
leftHint = show_scores(String(so.data.leftHint));
leftShoofle = show_scores(String(so.data.leftShoofle));
char1 = show_scores(String(so.data.char1));
char2 = show_scores(String(so.data.char2));
char3 = show_scores(String(so.data.char3));
hName = so.data.Name;
ptsTotal = show_scores(String(so.data.ptsTotal));
ptsFree = show_scores(String(so.data.ptsFree));
ptsLast = show_scores(String(so.data.ptsLast));
optSound = so.data.optSound;
optMus = so.data.optMus;
}
function saveState() {
so.data.levD = hide_scores(duelLevel);
so.data.lev = hide_scores(mainLevel);
so.data.leftShoofle = hide_scores(leftShoofle);
so.data.leftHint = hide_scores(leftHint);
so.data.char1 = hide_scores(char1);
so.data.char2 = hide_scores(char2);
so.data.char3 = hide_scores(char3);
so.data.ptsTotal = hide_scores(ptsTotal);
so.data.ptsFree = hide_scores(ptsFree);
so.data.Name = hName;
so.data.ptsLast = hide_scores(ptsLast);
so.data.optSound = optSound;
so.data.optMus = optMus;
so.flush();
}
function clearState() {
duelLevel = 1;
mainLevel = 1;
leftShoofle = 3;
leftHint = 5;
char1 = 0;
char2 = 0;
char3 = 0;
ptsTotal = 0;
ptsFree = 0;
hName = "Your Name";
ptsLast = 0;
optSound = true;
optMus = true;
saveState();
readState();
}
function ptsCheck() {
ptsTotal = ptsTotal + score;
var _local1 = ptsTotal - ptsLast;
if (_local1 > 10000) {
trace("ost=" + _local1);
var _local2 = Math.floor(_local1 / 10000);
ptsLast = ptsLast + (_local2 * 10000);
ptsFree = ptsFree + _local2;
}
saveState();
}
function goDuel() {
trace("goDuel");
_root.gotoAndStop(4);
}
stop();
var so = SharedObject.getLocal("uzerInfo");
readState();
btnChar.onRelease = function () {
_root.gotoAndStop(9);
};
btnPlay.onRelease = function () {
_root.gotoAndStop(5);
};
btnDuel.onRelease = function () {
trace("btnDuel.onRelease");
var _local2 = {scope:_root, func:goDuel};
_root.gameMode = "vs";
_root.levelSel = "duel";
_root.stopPanel.tween("_alpha", 100, 0.5, "easeOutQuad", 0, _local2);
};
btnReset.onRelease = function () {
_root.clearState();
_root.gotoAndStop(8);
};
btnHTplay.onRelease = function () {
_root.gotoAndStop(7);
};
stopPanel._alpha = 100;
stopPanel.tween("_alpha", 0, 0.5, "easeOutQuad");
Instance of Symbol 309 MovieClip "btnPlay" in Frame 8
/* no clip actions */
Instance of Symbol 309 MovieClip "btnHTplay" in Frame 8
/* no clip actions */
Instance of Symbol 309 MovieClip "btnDuel" in Frame 8
/* no clip actions */
Instance of Symbol 309 MovieClip in Frame 8
on (release) {
_root.gotoAndStop(11);
}
Instance of Symbol 309 MovieClip in Frame 8
on (release) {
if (_root.hName != "Your Name") {
mochi.MochiScores.showLeaderboard({boardID:"710bdf791474db00", score:Number(_root.ptsTotal), name:_root.hName});
} else {
mochi.MochiScores.showLeaderboard({boardID:"710bdf791474db00", score:Number(_root.ptsTotal)});
}
}
Instance of Symbol 309 MovieClip in Frame 8
on (release) {
getURL ("http://www.yougame.com/", "_top");
}
Instance of Symbol 309 MovieClip in Frame 8
on (release) {
getURL ("http://yougame.com/putonyourwebsite/", "_top");
}
Frame 9
function clearChar() {
_root.clearState();
_root.gotoAndStop(8);
}
function charInit() {
_char1 = (ch1.text = Number(char1));
_char2 = (ch2.text = Number(char2));
_char3 = (ch3.text = Number(char3));
_hName = (heroName.text = hName);
_ptsTotal = (ptsTot.text = Number(ptsTotal));
_ptsFree = (ptsFr.text = Number(ptsFree));
if (Number(ptsFree) == 0) {
ch1m._visible = false;
ch1p._visible = false;
ch2m._visible = false;
ch2p._visible = false;
ch3m._visible = false;
ch3p._visible = false;
} else {
ch1m._visible = true;
ch1p._visible = true;
ch2m._visible = true;
ch2p._visible = true;
ch3m._visible = true;
ch3p._visible = true;
}
}
function editChar(num, sign) {
var _local5 = _ptsFree - sign;
var _local4 = this["char" + num];
var _local6 = this["_char" + num] + sign;
if ((_local4 <= _local6) && (_local5 >= 0)) {
this["_char" + num] = this["_char" + num] + sign;
_ptsFree = _ptsFree - sign;
this["ch" + num].text = this["_char" + num];
ptsFr.text = _ptsFree;
}
}
stop();
stopPanel._alpha = 100;
stopPanel.tween("_alpha", 0, 0.5, "easeOutQuad");
btnMenu.onRelease = function () {
_root.gotoAndStop(8);
};
btnReset.onRelease = function () {
_root.modalWin("You want to clear the features?", "clearChar");
};
btnSave.onRelease = function () {
char1 = Number(ch1.text);
char2 = Number(ch2.text);
char3 = Number(ch3.text);
hName = heroName.text;
ptsFree = Number(ptsFr.text);
saveState();
_root.gotoAndStop(8);
};
ch1m.onRelease = function () {
editChar(1, -1);
};
ch1p.onRelease = function () {
editChar(1, 1);
};
ch2m.onRelease = function () {
editChar(2, -1);
};
ch2p.onRelease = function () {
editChar(2, 1);
};
ch3m.onRelease = function () {
editChar(3, -1);
};
ch3p.onRelease = function () {
editChar(3, 1);
};
charInit();
Instance of Symbol 309 MovieClip "ch1m" in Frame 9
/* no clip actions */
Instance of Symbol 309 MovieClip "btnMenu" in Frame 9
/* no clip actions */
Instance of Symbol 309 MovieClip "ch1p" in Frame 9
/* no clip actions */
Instance of Symbol 309 MovieClip "ch2m" in Frame 9
/* no clip actions */
Instance of Symbol 309 MovieClip "ch2p" in Frame 9
/* no clip actions */
Instance of Symbol 309 MovieClip "ch3m" in Frame 9
/* no clip actions */
Instance of Symbol 309 MovieClip "ch3p" in Frame 9
/* no clip actions */
Instance of Symbol 309 MovieClip "btnSave" in Frame 9
/* no clip actions */
Frame 10
gotoAndStop (8);
Frame 11
function submitScore() {
if (_root.score > 0) {
var _local2 = {score:(score = _root.score), name:(playerName = hName), clip:_root, onClose:function () {
_root.gotoAndStop(8);
}};
_local2.boardID = "710bdf791474db00";
_local2.score = _root.score;
mochi.MochiScores.showLeaderboard(_local2);
} else {
var _local2 = {clip:_root, onClose:function () {
_root.gotoAndStop(8);
}};
_local2.boardID = "710bdf791474db00";
mochi.MochiScores.showLeaderboard(_local2);
}
}
stop();
submitScore();
Symbol 18 MovieClip Frame 1
stop();
Symbol 18 MovieClip Frame 10
stop();
Instance of Symbol 10 MovieClip in Symbol 26 MovieClip [winLose] Frame 1
on (press) {
_parent.startDrag();
}
on (release) {
stopDrag();
}
Instance of Symbol 23 MovieClip in Symbol 26 MovieClip [winLose] Frame 1
on (rollOver) {
this.btnFx.gotoAndPlay(2);
}
on (rollOut) {
this.btnFx.gotoAndPlay(11);
}
onClipEvent (load) {
this.btnCaps.caps = "ok";
}
on (release) {
_parent.removeMovieClip();
}
Instance of Symbol 10 MovieClip in Symbol 30 MovieClip [winOpt] Frame 1
on (press) {
_parent.startDrag();
}
on (release) {
stopDrag();
}
Instance of Symbol 23 MovieClip in Symbol 30 MovieClip [winOpt] Frame 1
on (rollOver) {
this.btnFx.gotoAndPlay(2);
}
on (rollOut) {
this.btnFx.gotoAndPlay(11);
}
onClipEvent (load) {
this.btnCaps.caps = "ok";
}
on (release) {
_parent.removeMovieClip();
}
Symbol 39 MovieClip Frame 1
stop();
Symbol 39 MovieClip Frame 2
stop();
Instance of Symbol 35 MovieClip in Symbol 54 MovieClip [winLoses] Frame 1
on (press) {
_parent.startDrag();
}
on (release) {
stopDrag();
}
Instance of Symbol 40 MovieClip "closeBut" in Symbol 54 MovieClip [winLoses] Frame 1
on (rollOver) {
this.crest.gotoAndStop(2);
}
on (rollOut) {
this.crest.gotoAndStop(1);
}
on (dragOut) {
this.crest.gotoAndStop(1);
}
on (release) {
_parent.removeMovieClip();
}
Instance of Symbol 23 MovieClip in Symbol 54 MovieClip [winLoses] Frame 1
on (rollOver) {
this.btnFx.gotoAndPlay(2);
}
on (rollOut) {
this.btnFx.gotoAndPlay(11);
}
onClipEvent (load) {
this.btnCaps.caps = "\u041E\u0442\u043F\u0440\u0430\u0432\u0438\u0442\u044C";
}
on (release) {
_root._connector.sendResult(_root.score, false);
}
Instance of Symbol 23 MovieClip in Symbol 54 MovieClip [winLoses] Frame 1
on (rollOver) {
this.btnFx.gotoAndPlay(2);
}
on (rollOut) {
this.btnFx.gotoAndPlay(11);
}
onClipEvent (load) {
this.btnCaps.caps = "\u0422\u041E\u041F-\u043B\u0438\u0441\u0442";
}
on (release) {
_root.topList = "";
_root._connector.getTop();
}
Instance of Symbol 35 MovieClip in Symbol 59 MovieClip [winOpt_] Frame 1
on (press) {
_parent.startDrag();
}
on (release) {
stopDrag();
}
Instance of Symbol 40 MovieClip "closeBut" in Symbol 59 MovieClip [winOpt_] Frame 1
on (rollOver) {
this.crest.gotoAndStop(2);
}
on (rollOut) {
this.crest.gotoAndStop(1);
}
on (dragOut) {
this.crest.gotoAndStop(1);
}
on (release) {
_parent.removeMovieClip();
}
Instance of Symbol 23 MovieClip in Symbol 59 MovieClip [winOpt_] Frame 1
on (rollOver) {
this.btnFx.gotoAndPlay(2);
}
on (rollOut) {
this.btnFx.gotoAndPlay(11);
}
onClipEvent (load) {
this.btnCaps.caps = "\u041E\u0442\u043F\u0440\u0430\u0432\u0438\u0442\u044C";
}
on (release) {
_root._connector.sendResult(_root.score, false);
}
Instance of Symbol 23 MovieClip in Symbol 59 MovieClip [winOpt_] Frame 1
on (rollOver) {
this.btnFx.gotoAndPlay(2);
}
on (rollOut) {
this.btnFx.gotoAndPlay(11);
}
onClipEvent (load) {
this.btnCaps.caps = "\u0422\u041E\u041F-\u043B\u0438\u0441\u0442";
}
on (release) {
_root.topList = "";
_root._connector.getTop();
}
Instance of Symbol 40 MovieClip "closeBut" in Symbol 61 MovieClip [winMess] Frame 1
on (rollOver) {
this.crest.gotoAndStop(2);
}
on (rollOut) {
this.crest.gotoAndStop(1);
}
on (dragOut) {
this.crest.gotoAndStop(1);
}
on (release) {
_parent.removeMovieClip();
}
Symbol 79 MovieClip Frame 1
stop();
Symbol 79 MovieClip Frame 2
stop();
Symbol 81 MovieClip Frame 1
stop();
Symbol 81 MovieClip Frame 2
stop();
Symbol 83 MovieClip Frame 1
stop();
Symbol 83 MovieClip Frame 2
stop();
Symbol 85 MovieClip Frame 1
stop();
Symbol 85 MovieClip Frame 2
stop();
Symbol 87 MovieClip Frame 1
stop();
Symbol 87 MovieClip Frame 2
stop();
Symbol 89 MovieClip Frame 1
stop();
Symbol 89 MovieClip Frame 2
stop();
Symbol 91 MovieClip Frame 1
stop();
Symbol 91 MovieClip Frame 2
stop();
Symbol 93 MovieClip Frame 1
stop();
Symbol 93 MovieClip Frame 2
stop();
Symbol 95 MovieClip Frame 1
stop();
Symbol 95 MovieClip Frame 2
stop();
Symbol 98 MovieClip Frame 1
stop();
Symbol 98 MovieClip Frame 2
stop();
Symbol 101 MovieClip Frame 1
stop();
Symbol 101 MovieClip Frame 2
stop();
Symbol 104 MovieClip Frame 1
stop();
Symbol 104 MovieClip Frame 2
stop();
Symbol 107 MovieClip Frame 1
stop();
Symbol 107 MovieClip Frame 2
stop();
Symbol 110 MovieClip Frame 1
stop();
Symbol 110 MovieClip Frame 2
stop();
Symbol 113 MovieClip Frame 1
stop();
Symbol 113 MovieClip Frame 2
stop();
Symbol 116 MovieClip Frame 1
stop();
Symbol 116 MovieClip Frame 2
stop();
Symbol 119 MovieClip Frame 1
stop();
Symbol 119 MovieClip Frame 2
stop();
Symbol 122 MovieClip Frame 1
stop();
Symbol 122 MovieClip Frame 2
stop();
Symbol 125 MovieClip Frame 1
stop();
Symbol 125 MovieClip Frame 2
stop();
Symbol 138 MovieClip Frame 1
stop();
Symbol 138 MovieClip Frame 2
stop();
Symbol 141 MovieClip Frame 1
stop();
Symbol 141 MovieClip Frame 2
stop();
Symbol 148 MovieClip Frame 1
stop();
Symbol 148 MovieClip Frame 2
stop();
Symbol 151 MovieClip Frame 1
stop();
Symbol 151 MovieClip Frame 2
stop();
Symbol 154 MovieClip Frame 1
stop();
Symbol 154 MovieClip Frame 2
stop();
Symbol 157 MovieClip Frame 1
stop();
Symbol 157 MovieClip Frame 2
stop();
Symbol 160 MovieClip Frame 1
stop();
Symbol 160 MovieClip Frame 2
stop();
Symbol 163 MovieClip Frame 1
stop();
Symbol 163 MovieClip Frame 2
stop();
Symbol 166 MovieClip Frame 1
stop();
Symbol 166 MovieClip Frame 2
stop();
Symbol 169 MovieClip Frame 1
stop();
Symbol 169 MovieClip Frame 2
stop();
Symbol 172 MovieClip Frame 1
stop();
Symbol 172 MovieClip Frame 2
stop();
Symbol 175 MovieClip Frame 1
stop();
Symbol 175 MovieClip Frame 2
stop();
Symbol 178 MovieClip Frame 1
stop();
Symbol 178 MovieClip Frame 2
stop();
Symbol 181 MovieClip Frame 1
stop();
Symbol 181 MovieClip Frame 2
stop();
Symbol 182 MovieClip Frame 1
stop();
Symbol 182 MovieClip Frame 2
stop();
Symbol 182 MovieClip Frame 3
stop();
Symbol 182 MovieClip Frame 4
stop();
Symbol 182 MovieClip Frame 5
stop();
Symbol 182 MovieClip Frame 6
stop();
Symbol 182 MovieClip Frame 7
stop();
Symbol 182 MovieClip Frame 8
stop();
Symbol 182 MovieClip Frame 9
stop();
Symbol 182 MovieClip Frame 10
stop();
Symbol 182 MovieClip Frame 11
stop();
Symbol 182 MovieClip Frame 12
stop();
Symbol 182 MovieClip Frame 13
stop();
Symbol 182 MovieClip Frame 14
stop();
Symbol 182 MovieClip Frame 15
stop();
Symbol 182 MovieClip Frame 16
stop();
Symbol 182 MovieClip Frame 17
stop();
Symbol 182 MovieClip Frame 18
stop();
Symbol 182 MovieClip Frame 19
stop();
Symbol 182 MovieClip Frame 20
stop();
Symbol 182 MovieClip Frame 21
stop();
Symbol 182 MovieClip Frame 22
stop();
Symbol 182 MovieClip Frame 23
stop();
Symbol 182 MovieClip Frame 24
stop();
Symbol 182 MovieClip Frame 25
stop();
Symbol 182 MovieClip Frame 26
stop();
Symbol 182 MovieClip Frame 27
stop();
Symbol 182 MovieClip Frame 28
stop();
Symbol 182 MovieClip Frame 29
stop();
Symbol 182 MovieClip Frame 30
stop();
Symbol 182 MovieClip Frame 31
stop();
Symbol 182 MovieClip Frame 32
stop();
Symbol 182 MovieClip Frame 33
stop();
Symbol 182 MovieClip Frame 34
stop();
Symbol 182 MovieClip Frame 35
stop();
Symbol 182 MovieClip Frame 36
stop();
Symbol 182 MovieClip Frame 37
stop();
Symbol 182 MovieClip Frame 38
stop();
Symbol 182 MovieClip Frame 39
stop();
Symbol 182 MovieClip Frame 40
stop();
Symbol 182 MovieClip Frame 41
stop();
Symbol 182 MovieClip Frame 42
stop();
Symbol 182 MovieClip Frame 43
stop();
Symbol 188 MovieClip Frame 140
stop();
this._parent.gotoAndStop(1);
Symbol 189 MovieClip Frame 113
if (!(random(10) === 5)) {
gotoAndPlay(100 + random(10));
}
Symbol 189 MovieClip Frame 141
this._parent.gotoAndStop(1);
Symbol 190 MovieClip Frame 1
stop();
Symbol 190 MovieClip Frame 2
stop();
Symbol 190 MovieClip Frame 3
stop();
Symbol 190 MovieClip Frame 4
stop();
Symbol 191 MovieClip Frame 1
stop();
Instance of Symbol 72 MovieClip "xshadow" in Symbol 191 MovieClip Frame 1
/* no clip actions */
Symbol 191 MovieClip Frame 2
stop();
Symbol 200 MovieClip [table] Frame 1
this.back.useHandCursor = false;
Instance of Symbol 67 MovieClip "back" in Symbol 200 MovieClip [table] Frame 1
on (release) {
}
Instance of Symbol 191 MovieClip in Symbol 200 MovieClip [table] Frame 1
onClipEvent (load) {
this.pict.gotoAndStop(10);
}
on (press) {
this.dep = this.getDepth();
this.swapDepths(100);
this._xscale = 100;
this._yscale = 100;
}
on (release) {
this._xscale = 50;
this._yscale = 50;
this.swapDepths(this.dep);
}
on (releaseOutside) {
this._xscale = 50;
this._yscale = 50;
this.swapDepths(this.dep);
}
Instance of Symbol 191 MovieClip in Symbol 200 MovieClip [table] Frame 1
onClipEvent (load) {
this.pict.gotoAndStop(9);
}
on (press) {
this.dep = this.getDepth();
this.swapDepths(100);
this._xscale = 100;
this._yscale = 100;
}
on (release) {
this._xscale = 50;
this._yscale = 50;
this.swapDepths(this.dep);
}
on (releaseOutside) {
this._xscale = 50;
this._yscale = 50;
this.swapDepths(this.dep);
}
Instance of Symbol 191 MovieClip in Symbol 200 MovieClip [table] Frame 1
onClipEvent (load) {
this.pict.gotoAndStop(8);
}
on (press) {
this.dep = this.getDepth();
this.swapDepths(100);
this._xscale = 100;
this._yscale = 100;
}
on (release) {
this._xscale = 50;
this._yscale = 50;
this.swapDepths(this.dep);
}
on (releaseOutside) {
this._xscale = 50;
this._yscale = 50;
this.swapDepths(this.dep);
}
Instance of Symbol 191 MovieClip in Symbol 200 MovieClip [table] Frame 1
onClipEvent (load) {
this.pict.gotoAndStop(7);
}
on (press) {
this.dep = this.getDepth();
this.swapDepths(100);
this._xscale = 100;
this._yscale = 100;
}
on (release) {
this._xscale = 50;
this._yscale = 50;
this.swapDepths(this.dep);
}
on (releaseOutside) {
this._xscale = 50;
this._yscale = 50;
this.swapDepths(this.dep);
}
Instance of Symbol 191 MovieClip in Symbol 200 MovieClip [table] Frame 1
onClipEvent (load) {
this.pict.gotoAndStop(6);
}
on (press) {
this.dep = this.getDepth();
this.swapDepths(100);
this._xscale = 100;
this._yscale = 100;
}
on (release) {
this._xscale = 50;
this._yscale = 50;
this.swapDepths(this.dep);
}
on (releaseOutside) {
this._xscale = 50;
this._yscale = 50;
this.swapDepths(this.dep);
}
Instance of Symbol 191 MovieClip in Symbol 200 MovieClip [table] Frame 1
onClipEvent (load) {
this.pict.gotoAndStop(5);
}
on (press) {
this.dep = this.getDepth();
this.swapDepths(100);
this._xscale = 100;
this._yscale = 100;
}
on (release) {
this._xscale = 50;
this._yscale = 50;
this.swapDepths(this.dep);
}
on (releaseOutside) {
this._xscale = 50;
this._yscale = 50;
this.swapDepths(this.dep);
}
Instance of Symbol 191 MovieClip in Symbol 200 MovieClip [table] Frame 1
onClipEvent (load) {
this.pict.gotoAndStop(4);
}
on (press) {
this.dep = this.getDepth();
this.swapDepths(100);
this._xscale = 100;
this._yscale = 100;
}
on (release) {
this._xscale = 50;
this._yscale = 50;
this.swapDepths(this.dep);
}
on (releaseOutside) {
this._xscale = 50;
this._yscale = 50;
this.swapDepths(this.dep);
}
Instance of Symbol 191 MovieClip in Symbol 200 MovieClip [table] Frame 1
onClipEvent (load) {
this.pict.gotoAndStop(3);
}
on (press) {
this.dep = this.getDepth();
this.swapDepths(100);
this._xscale = 100;
this._yscale = 100;
}
on (release) {
this._xscale = 50;
this._yscale = 50;
this.swapDepths(this.dep);
}
on (releaseOutside) {
this._xscale = 50;
this._yscale = 50;
this.swapDepths(this.dep);
}
Instance of Symbol 191 MovieClip in Symbol 200 MovieClip [table] Frame 1
onClipEvent (load) {
this.pict.gotoAndStop(2);
}
on (press) {
this.dep = this.getDepth();
this.swapDepths(100);
this._xscale = 100;
this._yscale = 100;
}
on (release) {
this._xscale = 50;
this._yscale = 50;
this.swapDepths(this.dep);
}
on (releaseOutside) {
this._xscale = 50;
this._yscale = 50;
this.swapDepths(this.dep);
}
Instance of Symbol 191 MovieClip in Symbol 200 MovieClip [table] Frame 1
onClipEvent (load) {
this.pict.gotoAndStop(19);
}
on (press) {
this.dep = this.getDepth();
this.swapDepths(100);
this._xscale = 100;
this._yscale = 100;
}
on (release) {
this._xscale = 50;
this._yscale = 50;
this.swapDepths(this.dep);
}
on (releaseOutside) {
this._xscale = 50;
this._yscale = 50;
this.swapDepths(this.dep);
}
Instance of Symbol 191 MovieClip in Symbol 200 MovieClip [table] Frame 1
onClipEvent (load) {
this.pict.gotoAndStop(18);
}
on (press) {
this.dep = this.getDepth();
this.swapDepths(100);
this._xscale = 100;
this._yscale = 100;
}
on (release) {
this._xscale = 50;
this._yscale = 50;
this.swapDepths(this.dep);
}
on (releaseOutside) {
this._xscale = 50;
this._yscale = 50;
this.swapDepths(this.dep);
}
Instance of Symbol 191 MovieClip in Symbol 200 MovieClip [table] Frame 1
onClipEvent (load) {
this.pict.gotoAndStop(17);
}
on (press) {
this.dep = this.getDepth();
this.swapDepths(100);
this._xscale = 100;
this._yscale = 100;
}
on (release) {
this._xscale = 50;
this._yscale = 50;
this.swapDepths(this.dep);
}
on (releaseOutside) {
this._xscale = 50;
this._yscale = 50;
this.swapDepths(this.dep);
}
Instance of Symbol 191 MovieClip in Symbol 200 MovieClip [table] Frame 1
onClipEvent (load) {
this.pict.gotoAndStop(16);
}
on (press) {
this.dep = this.getDepth();
this.swapDepths(100);
this._xscale = 100;
this._yscale = 100;
}
on (release) {
this._xscale = 50;
this._yscale = 50;
this.swapDepths(this.dep);
}
on (releaseOutside) {
this._xscale = 50;
this._yscale = 50;
this.swapDepths(this.dep);
}
Instance of Symbol 191 MovieClip in Symbol 200 MovieClip [table] Frame 1
onClipEvent (load) {
this.pict.gotoAndStop(15);
}
on (press) {
this.dep = this.getDepth();
this.swapDepths(100);
this._xscale = 100;
this._yscale = 100;
}
on (release) {
this._xscale = 50;
this._yscale = 50;
this.swapDepths(this.dep);
}
on (releaseOutside) {
this._xscale = 50;
this._yscale = 50;
this.swapDepths(this.dep);
}
Instance of Symbol 191 MovieClip in Symbol 200 MovieClip [table] Frame 1
onClipEvent (load) {
this.pict.gotoAndStop(14);
}
on (press) {
this.dep = this.getDepth();
this.swapDepths(100);
this._xscale = 100;
this._yscale = 100;
}
on (release) {
this._xscale = 50;
this._yscale = 50;
this.swapDepths(this.dep);
}
on (releaseOutside) {
this._xscale = 50;
this._yscale = 50;
this.swapDepths(this.dep);
}
Instance of Symbol 191 MovieClip in Symbol 200 MovieClip [table] Frame 1
onClipEvent (load) {
this.pict.gotoAndStop(13);
}
on (press) {
this.dep = this.getDepth();
this.swapDepths(100);
this._xscale = 100;
this._yscale = 100;
}
on (release) {
this._xscale = 50;
this._yscale = 50;
this.swapDepths(this.dep);
}
on (releaseOutside) {
this._xscale = 50;
this._yscale = 50;
this.swapDepths(this.dep);
}
Instance of Symbol 191 MovieClip in Symbol 200 MovieClip [table] Frame 1
onClipEvent (load) {
this.pict.gotoAndStop(12);
}
on (press) {
this.dep = this.getDepth();
this.swapDepths(100);
this._xscale = 100;
this._yscale = 100;
}
on (release) {
this._xscale = 50;
this._yscale = 50;
this.swapDepths(this.dep);
}
on (releaseOutside) {
this._xscale = 50;
this._yscale = 50;
this.swapDepths(this.dep);
}
Instance of Symbol 191 MovieClip in Symbol 200 MovieClip [table] Frame 1
onClipEvent (load) {
this.pict.gotoAndStop(11);
}
on (press) {
this.dep = this.getDepth();
this.swapDepths(100);
this._xscale = 100;
this._yscale = 100;
}
on (release) {
this._xscale = 50;
this._yscale = 50;
this.swapDepths(this.dep);
}
on (releaseOutside) {
this._xscale = 50;
this._yscale = 50;
this.swapDepths(this.dep);
}
Instance of Symbol 191 MovieClip in Symbol 200 MovieClip [table] Frame 1
onClipEvent (load) {
this.pict.gotoAndStop(28);
}
on (press) {
this.dep = this.getDepth();
this.swapDepths(100);
this._xscale = 100;
this._yscale = 100;
}
on (release) {
this._xscale = 50;
this._yscale = 50;
this.swapDepths(this.dep);
}
on (releaseOutside) {
this._xscale = 50;
this._yscale = 50;
this.swapDepths(this.dep);
}
Instance of Symbol 191 MovieClip in Symbol 200 MovieClip [table] Frame 1
onClipEvent (load) {
this.pict.gotoAndStop(27);
}
on (press) {
this.dep = this.getDepth();
this.swapDepths(100);
this._xscale = 100;
this._yscale = 100;
}
on (release) {
this._xscale = 50;
this._yscale = 50;
this.swapDepths(this.dep);
}
on (releaseOutside) {
this._xscale = 50;
this._yscale = 50;
this.swapDepths(this.dep);
}
Instance of Symbol 191 MovieClip in Symbol 200 MovieClip [table] Frame 1
onClipEvent (load) {
this.pict.gotoAndStop(26);
}
on (press) {
this.dep = this.getDepth();
this.swapDepths(100);
this._xscale = 100;
this._yscale = 100;
}
on (release) {
this._xscale = 50;
this._yscale = 50;
this.swapDepths(this.dep);
}
on (releaseOutside) {
this._xscale = 50;
this._yscale = 50;
this.swapDepths(this.dep);
}
Instance of Symbol 191 MovieClip in Symbol 200 MovieClip [table] Frame 1
onClipEvent (load) {
this.pict.gotoAndStop(25);
}
on (press) {
this.dep = this.getDepth();
this.swapDepths(100);
this._xscale = 100;
this._yscale = 100;
}
on (release) {
this._xscale = 50;
this._yscale = 50;
this.swapDepths(this.dep);
}
on (releaseOutside) {
this._xscale = 50;
this._yscale = 50;
this.swapDepths(this.dep);
}
Instance of Symbol 191 MovieClip in Symbol 200 MovieClip [table] Frame 1
onClipEvent (load) {
this.pict.gotoAndStop(24);
}
on (press) {
this.dep = this.getDepth();
this.swapDepths(100);
this._xscale = 100;
this._yscale = 100;
}
on (release) {
this._xscale = 50;
this._yscale = 50;
this.swapDepths(this.dep);
}
on (releaseOutside) {
this._xscale = 50;
this._yscale = 50;
this.swapDepths(this.dep);
}
Instance of Symbol 191 MovieClip in Symbol 200 MovieClip [table] Frame 1
onClipEvent (load) {
this.pict.gotoAndStop(23);
}
on (press) {
this.dep = this.getDepth();
this.swapDepths(100);
this._xscale = 100;
this._yscale = 100;
}
on (release) {
this._xscale = 50;
this._yscale = 50;
this.swapDepths(this.dep);
}
on (releaseOutside) {
this._xscale = 50;
this._yscale = 50;
this.swapDepths(this.dep);
}
Instance of Symbol 191 MovieClip in Symbol 200 MovieClip [table] Frame 1
onClipEvent (load) {
this.pict.gotoAndStop(22);
}
on (press) {
this.dep = this.getDepth();
this.swapDepths(100);
this._xscale = 100;
this._yscale = 100;
}
on (release) {
this._xscale = 50;
this._yscale = 50;
this.swapDepths(this.dep);
}
on (releaseOutside) {
this._xscale = 50;
this._yscale = 50;
this.swapDepths(this.dep);
}
Instance of Symbol 191 MovieClip in Symbol 200 MovieClip [table] Frame 1
onClipEvent (load) {
this.pict.gotoAndStop(21);
}
on (press) {
this.dep = this.getDepth();
this.swapDepths(100);
this._xscale = 100;
this._yscale = 100;
}
on (release) {
this._xscale = 50;
this._yscale = 50;
this.swapDepths(this.dep);
}
on (releaseOutside) {
this._xscale = 50;
this._yscale = 50;
this.swapDepths(this.dep);
}
Instance of Symbol 191 MovieClip in Symbol 200 MovieClip [table] Frame 1
onClipEvent (load) {
this.pict.gotoAndStop(20);
}
on (press) {
this.dep = this.getDepth();
this.swapDepths(100);
this._xscale = 100;
this._yscale = 100;
}
on (release) {
this._xscale = 50;
this._yscale = 50;
this.swapDepths(this.dep);
}
on (releaseOutside) {
this._xscale = 50;
this._yscale = 50;
this.swapDepths(this.dep);
}
Instance of Symbol 191 MovieClip in Symbol 200 MovieClip [table] Frame 1
onClipEvent (load) {
this.pict.gotoAndStop(31);
}
on (press) {
this.dep = this.getDepth();
this.swapDepths(100);
this._xscale = 100;
this._yscale = 100;
}
on (release) {
this._xscale = 50;
this._yscale = 50;
this.swapDepths(this.dep);
}
on (releaseOutside) {
this._xscale = 50;
this._yscale = 50;
this.swapDepths(this.dep);
}
Instance of Symbol 191 MovieClip in Symbol 200 MovieClip [table] Frame 1
onClipEvent (load) {
this.pict.gotoAndStop(30);
}
on (press) {
this.dep = this.getDepth();
this.swapDepths(100);
this._xscale = 100;
this._yscale = 100;
}
on (release) {
this._xscale = 50;
this._yscale = 50;
this.swapDepths(this.dep);
}
on (releaseOutside) {
this._xscale = 50;
this._yscale = 50;
this.swapDepths(this.dep);
}
Instance of Symbol 191 MovieClip in Symbol 200 MovieClip [table] Frame 1
onClipEvent (load) {
this.pict.gotoAndStop(29);
}
on (press) {
this.dep = this.getDepth();
this.swapDepths(100);
this._xscale = 100;
this._yscale = 100;
}
on (release) {
this._xscale = 50;
this._yscale = 50;
this.swapDepths(this.dep);
}
on (releaseOutside) {
this._xscale = 50;
this._yscale = 50;
this.swapDepths(this.dep);
}
Instance of Symbol 191 MovieClip in Symbol 200 MovieClip [table] Frame 1
onClipEvent (load) {
this.pict.gotoAndStop(35);
}
on (press) {
this.dep = this.getDepth();
this.swapDepths(100);
this._xscale = 100;
this._yscale = 100;
}
on (release) {
this._xscale = 50;
this._yscale = 50;
this.swapDepths(this.dep);
}
on (releaseOutside) {
this._xscale = 50;
this._yscale = 50;
this.swapDepths(this.dep);
}
Instance of Symbol 191 MovieClip in Symbol 200 MovieClip [table] Frame 1
onClipEvent (load) {
this.pict.gotoAndStop(34);
}
on (press) {
this.dep = this.getDepth();
this.swapDepths(100);
this._xscale = 100;
this._yscale = 100;
}
on (release) {
this._xscale = 50;
this._yscale = 50;
this.swapDepths(this.dep);
}
on (releaseOutside) {
this._xscale = 50;
this._yscale = 50;
this.swapDepths(this.dep);
}
Instance of Symbol 191 MovieClip in Symbol 200 MovieClip [table] Frame 1
onClipEvent (load) {
this.pict.gotoAndStop(33);
}
on (press) {
this._xscale = 100;
this._yscale = 100;
}
on (release) {
this._xscale = 50;
this._yscale = 50;
}
on (releaseOutside) {
this._xscale = 50;
this._yscale = 50;
}
Instance of Symbol 191 MovieClip in Symbol 200 MovieClip [table] Frame 1
onClipEvent (load) {
this.pict.gotoAndStop(32);
}
on (press) {
this.dep = this.getDepth();
this.swapDepths(100);
this._xscale = 100;
this._yscale = 100;
}
on (release) {
this._xscale = 50;
this._yscale = 50;
this.swapDepths(this.dep);
}
on (releaseOutside) {
this._xscale = 50;
this._yscale = 50;
this.swapDepths(this.dep);
}
Instance of Symbol 191 MovieClip in Symbol 200 MovieClip [table] Frame 1
onClipEvent (load) {
this.pict.gotoAndStop(39);
}
on (press) {
this.dep = this.getDepth();
this.swapDepths(100);
this._xscale = 100;
this._yscale = 100;
}
on (release) {
this._xscale = 50;
this._yscale = 50;
this.swapDepths(this.dep);
}
on (releaseOutside) {
this._xscale = 50;
this._yscale = 50;
this.swapDepths(this.dep);
}
Instance of Symbol 191 MovieClip in Symbol 200 MovieClip [table] Frame 1
onClipEvent (load) {
this.pict.gotoAndStop(38);
}
on (press) {
this.dep = this.getDepth();
this.swapDepths(100);
this._xscale = 100;
this._yscale = 100;
}
on (release) {
this._xscale = 50;
this._yscale = 50;
this.swapDepths(this.dep);
}
on (releaseOutside) {
this._xscale = 50;
this._yscale = 50;
this.swapDepths(this.dep);
}
Instance of Symbol 191 MovieClip in Symbol 200 MovieClip [table] Frame 1
onClipEvent (load) {
this.pict.gotoAndStop(37);
}
on (press) {
this.dep = this.getDepth();
this.swapDepths(100);
this._xscale = 100;
this._yscale = 100;
}
on (release) {
this._xscale = 50;
this._yscale = 50;
this.swapDepths(this.dep);
}
on (releaseOutside) {
this._xscale = 50;
this._yscale = 50;
this.swapDepths(this.dep);
}
Instance of Symbol 191 MovieClip in Symbol 200 MovieClip [table] Frame 1
onClipEvent (load) {
this.pict.gotoAndStop(36);
}
on (press) {
this.dep = this.getDepth();
this.swapDepths(100);
this._xscale = 100;
this._yscale = 100;
}
on (release) {
this._xscale = 50;
this._yscale = 50;
this.swapDepths(this.dep);
}
on (releaseOutside) {
this._xscale = 50;
this._yscale = 50;
this.swapDepths(this.dep);
}
Instance of Symbol 191 MovieClip in Symbol 200 MovieClip [table] Frame 1
onClipEvent (load) {
this.pict.gotoAndStop(42);
}
on (press) {
this.dep = this.getDepth();
this.swapDepths(100);
this._xscale = 100;
this._yscale = 100;
}
on (release) {
this._xscale = 50;
this._yscale = 50;
this.swapDepths(this.dep);
}
on (releaseOutside) {
this._xscale = 50;
this._yscale = 50;
this.swapDepths(this.dep);
}
Instance of Symbol 191 MovieClip in Symbol 200 MovieClip [table] Frame 1
onClipEvent (load) {
this.pict.gotoAndStop(41);
}
on (press) {
this.dep = this.getDepth();
this.swapDepths(100);
this._xscale = 100;
this._yscale = 100;
}
on (release) {
this._xscale = 50;
this._yscale = 50;
this.swapDepths(this.dep);
}
on (releaseOutside) {
this._xscale = 50;
this._yscale = 50;
this.swapDepths(this.dep);
}
Instance of Symbol 191 MovieClip in Symbol 200 MovieClip [table] Frame 1
onClipEvent (load) {
this.pict.gotoAndStop(40);
}
on (press) {
this.dep = this.getDepth();
this.swapDepths(100);
this._xscale = 100;
this._yscale = 100;
}
on (release) {
this._xscale = 50;
this._yscale = 50;
this.swapDepths(this.dep);
}
on (releaseOutside) {
this._xscale = 50;
this._yscale = 50;
this.swapDepths(this.dep);
}
Instance of Symbol 23 MovieClip "y" in Symbol 204 MovieClip [winYN] Frame 1
on (rollOver) {
this.btnFx.gotoAndPlay(2);
}
on (rollOut) {
this.btnFx.gotoAndPlay(11);
}
onClipEvent (load) {
this.btnCaps.caps = "Yes";
}
Instance of Symbol 23 MovieClip "n" in Symbol 204 MovieClip [winYN] Frame 1
on (rollOver) {
this.btnFx.gotoAndPlay(2);
}
on (rollOut) {
this.btnFx.gotoAndPlay(11);
}
onClipEvent (load) {
this.btnCaps.caps = "No";
}
on (release) {
this._parent.removeMovieClip();
}
Instance of Symbol 203 MovieClip in Symbol 204 MovieClip [winYN] Frame 1
on (press) {
this._parent.startDrag();
}
on (release) {
stopDrag();
}
Symbol 211 MovieClip [dice] Frame 1
stop();
Instance of Symbol 72 MovieClip "xshadow" in Symbol 211 MovieClip [dice] Frame 1
onClipEvent (load) {
if (_root["level" + _parent.levela][_parent.i][_parent.j - 1] != 0) {
this._visible = false;
}
}
Symbol 211 MovieClip [dice] Frame 2
stop();
Symbol 229 MovieClip Frame 1
stop();
Symbol 229 MovieClip Frame 2
stop();
Symbol 447 MovieClip [__Packages.mochi.MochiServices] Frame 0
class mochi.MochiServices
{
static var _id, _container, _clip, _sendChannelName, _rcvChannelName, __get__comChannelName, onError, _listenChannel, _rcvChannel, _loader, _loaderListener, _sendChannel;
function MochiServices () {
}
static function get id() {
return(_id);
}
static function get clip() {
return(_container);
}
static function get childClip() {
return(_clip);
}
static function getVersion() {
return("1.31");
}
static function allowDomains(server) {
var _local1 = server.split("/")[2].split(":")[0];
if (System.security) {
if (System.security.allowDomain) {
System.security.allowDomain("*");
System.security.allowDomain(_local1);
}
if (System.security.allowInsecureDomain) {
System.security.allowInsecureDomain("*");
System.security.allowInsecureDomain(_local1);
}
}
return(_local1);
}
static function get isNetworkAvailable() {
if (System.security) {
var _local1 = System.security;
if (_local1.sandboxType == "localWithFile") {
return(false);
}
}
return(true);
}
static function set comChannelName(val) {
if (val != undefined) {
if (val.length > 3) {
_sendChannelName = val + "_fromgame";
_rcvChannelName = val;
initComChannels();
}
}
//return(__get__comChannelName());
}
static function get connected() {
return(_connected);
}
static function connect(id, clip, onError) {
if ((!_connected) && (_clip == undefined)) {
trace("MochiServices Connecting...");
_connecting = true;
init(id, clip);
}
if (onError != undefined) {
mochi.MochiServices.onError = onError;
} else if (mochi.MochiServices.onError == undefined) {
mochi.MochiServices.onError = function (errorCode) {
trace(errorCode);
};
}
}
static function disconnect() {
if (_connected || (_connecting)) {
_connecting = (_connected = false);
flush(true);
if (_clip != undefined) {
_clip.removeMovieClip();
delete _clip;
}
_listenChannel.close();
_rcvChannel.close();
}
}
static function init(id, clip) {
_id = id;
if (clip != undefined) {
_container = clip;
} else {
_container = _root;
}
loadCommunicator(id, _container);
}
static function loadCommunicator(id, clip) {
var _local2 = "_mochiservices_com_" + id;
if (_clip != null) {
return(_clip);
}
if (!isNetworkAvailable) {
return(null);
}
allowDomains(_gatewayURL);
_clip = clip.createEmptyMovieClip(_local2, 10336, false);
_loader = new MovieClipLoader();
if (_loaderListener.waitInterval != null) {
clearInterval(_loaderListener.waitInterval);
}
_loaderListener = {};
_loaderListener.onLoadError = function (target_mc, errorCode, httpStatus) {
trace("MochiServices could not load.");
mochi.MochiServices.disconnect();
mochi.MochiServices.onError.apply(null, [errorCode]);
};
_loaderListener.onLoadStart = function (target_mc) {
this.isLoading = true;
};
_loaderListener.startTime = getTimer();
_loaderListener.wait = function () {
if ((getTimer() - this.startTime) > 10000) {
if (!this.isLoading) {
mochi.MochiServices.disconnect();
mochi.MochiServices.onError.apply(null, ["IOError"]);
}
clearInterval(this.waitInterval);
}
};
_loaderListener.waitInterval = setInterval(_loaderListener, "wait", 1000);
_loader.addListener(_loaderListener);
_loader.loadClip(_gatewayURL, _clip);
_sendChannel = new LocalConnection();
_sendChannel._queue = [];
_rcvChannel = new LocalConnection();
_rcvChannel.allowDomain = function (d) {
return(true);
};
_rcvChannel.allowInsecureDomain = _rcvChannel.allowDomain;
_rcvChannel._nextcallbackID = 0;
_rcvChannel._callbacks = {};
listen();
return(_clip);
}
static function onStatus(infoObject) {
if (!(infoObject.level === "error")) {
} else {
_connected = false;
_listenChannel.connect(_listenChannelName);
}
}
static function listen() {
_listenChannel = new LocalConnection();
_listenChannel.handshake = function (args) {
mochi.MochiServices.__set__comChannelName(args.newChannel);
};
_listenChannel.allowDomain = function (d) {
return(true);
};
_listenChannel.allowInsecureDomain = _listenChannel.allowDomain;
_listenChannel.connect(_listenChannelName);
trace("Waiting for MochiAds services to connect...");
}
static function initComChannels() {
if (!_connected) {
_sendChannel.onStatus = function (infoObject) {
mochi.MochiServices.onStatus(infoObject);
};
_sendChannel.send(_sendChannelName, "onReceive", {methodName:"handshakeDone"});
_sendChannel.send(_sendChannelName, "onReceive", {methodName:"registerGame", id:_id, clip:_clip, version:getVersion()});
_rcvChannel.onStatus = function (infoObject) {
mochi.MochiServices.onStatus(infoObject);
};
_rcvChannel.onReceive = function (pkg) {
var _local5 = pkg.callbackID;
var _local4 = this._callbacks[_local5];
if (!_local4) {
return(undefined);
}
var _local2 = _local4.callbackMethod;
var _local3 = _local4.callbackObject;
if (_local3 && (typeof(_local2) == "string")) {
_local2 = _local3[_local2];
}
if (_local2 != undefined) {
_local2.apply(_local3, pkg.args);
}
delete this._callbacks[_local5];
};
_rcvChannel.onError = function () {
mochi.MochiServices.onError.apply(null, ["IOError"]);
};
_rcvChannel.connect(_rcvChannelName);
trace("connected!");
_connecting = false;
_connected = true;
_listenChannel.close();
while (_sendChannel._queue.length > 0) {
_sendChannel.send(_sendChannelName, "onReceive", _sendChannel._queue.shift());
}
}
}
static function flush(error) {
var _local1;
var _local2;
while (_sendChannel._queue.length > 0) {
_local1 = _sendChannel._queue.shift();
if (_local1.callbackID != null) {
_local2 = _rcvChannel._callbacks[_local1.callbackID];
}
delete _rcvChannel._callbacks[_local1.callbackID];
if (error) {
handleError(_local1.args, _local2.callbackObject, _local2.callbackMethod);
}
}
}
static function handleError(args, callbackObject, callbackMethod) {
if (args != null) {
if (args.onError != null) {
args.onError.apply(null, ["NotConnected"]);
}
}
if (callbackMethod != null) {
args = {};
args.error = true;
args.errorCode = "NotConnected";
if ((callbackObject != null) && (typeof(callbackMethod) == "string")) {
callbackObject[callbackMethod](args);
} else if (callbackMethod != null) {
callbackMethod.apply(args);
}
}
}
static function send(methodName, args, callbackObject, callbackMethod) {
if (_connected) {
_sendChannel.send(_sendChannelName, "onReceive", {methodName:methodName, args:args, callbackID:_rcvChannel._nextcallbackID});
} else {
if ((_clip == undefined) || (!_connecting)) {
onError.apply(null, ["NotConnected"]);
handleError(args, callbackObject, callbackMethod);
flush(true);
return(undefined);
}
_sendChannel._queue.push({methodName:methodName, args:args, callbackID:_rcvChannel._nextcallbackID});
}
_rcvChannel._callbacks[_rcvChannel._nextcallbackID] = {callbackObject:callbackObject, callbackMethod:callbackMethod};
_rcvChannel._nextcallbackID++;
}
static var _gatewayURL = "http://www.mochiads.com/static/lib/services/services.swf";
static var _listenChannelName = "__mochiservices";
static var _connecting = false;
static var _connected = false;
}
Symbol 448 MovieClip [__Packages.MochiAd] Frame 0
class MochiAd
{
function MochiAd () {
}
static function getVersion() {
return("2.7");
}
static function showPreGameAd(options) {
var _local26 = {clip:_root, ad_timeout:3000, fadeout_time:250, regpt:"o", method:"showPreloaderAd", color:16747008, background:16777161, outline:13994812, no_progress_bar:false, ad_started:function () {
this.clip.stop();
}, ad_finished:function () {
this.clip.play();
}, ad_failed:function () {
trace("[MochiAd] Couldn't load an ad, make sure that your game's local security sandbox is configured for Access Network Only and that you are not using ad blocking software");
}, ad_loaded:function (width, height) {
}, ad_skipped:function () {
}, ad_progress:function (percent) {
}};
options = _parseOptions(options, _local26);
if ("c862232051e0a94e1c3609b3916ddb17".substr(0) == "dfeada81ac97cde83665f81c12da7def") {
options.ad_started();
options.ad_finished();
return(undefined);
}
var clip = options.clip;
var _local22 = 11000;
var _local25 = options.ad_timeout;
delete options.ad_timeout;
var fadeout_time = options.fadeout_time;
delete options.fadeout_time;
if (!load(options)) {
options.ad_failed();
options.ad_finished();
return(undefined);
}
options.ad_started();
var mc = clip._mochiad;
mc.onUnload = function () {
options.ad_finished();
};
var _local14 = _getRes(options);
var _local4 = _local14[0];
var _local13 = _local14[1];
mc._x = _local4 * 0.5;
mc._y = _local13 * 0.5;
var chk = mc.createEmptyMovieClip("_mochiad_wait", 3);
chk._x = _local4 * -0.5;
chk._y = _local13 * -0.5;
var _local6 = chk.createEmptyMovieClip("_mochiad_bar", 4);
if (options.no_progress_bar) {
_local6._visible = false;
delete options.no_progress_bar;
} else {
_local6._x = 10;
_local6._y = _local13 - 20;
}
var _local21 = options.color;
delete options.color;
var _local19 = options.background;
delete options.background;
var _local23 = options.outline;
delete options.outline;
var _local5 = _local6.createEmptyMovieClip("_outline", 1);
_local5.beginFill(_local19);
_local5.moveTo(0, 0);
_local5.lineTo(_local4 - 20, 0);
_local5.lineTo(_local4 - 20, 10);
_local5.lineTo(0, 10);
_local5.lineTo(0, 0);
_local5.endFill();
var _local3 = _local6.createEmptyMovieClip("_inside", 2);
_local3.beginFill(_local21);
_local3.moveTo(0, 0);
_local3.lineTo(_local4 - 20, 0);
_local3.lineTo(_local4 - 20, 10);
_local3.lineTo(0, 10);
_local3.lineTo(0, 0);
_local3.endFill();
_local3._xscale = 0;
var _local7 = _local6.createEmptyMovieClip("_outline", 3);
_local7.lineStyle(0, _local23, 100);
_local7.moveTo(0, 0);
_local7.lineTo(_local4 - 20, 0);
_local7.lineTo(_local4 - 20, 10);
_local7.lineTo(0, 10);
_local7.lineTo(0, 0);
chk.ad_msec = _local22;
chk.ad_timeout = _local25;
chk.started = getTimer();
chk.showing = false;
chk.last_pcnt = 0;
chk.fadeout_time = fadeout_time;
chk.fadeFunction = function () {
var _local2 = 100 * (1 - ((getTimer() - this.fadeout_start) / this.fadeout_time));
if (_local2 > 0) {
this._parent._alpha = _local2;
} else {
var _local3 = this._parent._parent;
MochiAd.unload(_local3);
delete this.onEnterFrame;
}
};
mc.lc.regContLC = function (lc_name) {
mc._containerLCName = lc_name;
};
var sendHostProgress = false;
mc.lc.sendHostLoadProgress = function (lc_name) {
sendHostProgress = true;
};
mc.lc.adLoaded = options.ad_loaded;
mc.lc.adSkipped = options.ad_skipped;
mc.lc.adjustProgress = function (msec) {
var _local2 = this.mc._mochiad_wait;
_local2.server_control = true;
_local2.started = getTimer();
_local2.ad_msec = msec;
};
mc.lc.rpc = function (callbackID, arg) {
MochiAd.rpc(clip, callbackID, arg);
};
mc.rpcTestFn = function (s) {
trace("[MOCHIAD rpcTestFn] " + s);
return(s);
};
chk.onEnterFrame = function () {
var _local6 = this._parent._parent;
var _local11 = this._parent._mochiad_ctr;
var _local5 = getTimer() - this.started;
var _local3 = false;
var _local4 = _local6.getBytesTotal();
var _local8 = _local6.getBytesLoaded();
var _local2 = (100 * _local8) / _local4;
var _local10 = (100 * _local5) / chk.ad_msec;
var _local9 = this._mochiad_bar._inside;
var _local13 = Math.min(100, Math.min(_local2 || 0, _local10));
_local13 = Math.max(this.last_pcnt, _local13);
this.last_pcnt = _local13;
_local9._xscale = _local13;
options.ad_progress(_local13);
if (sendHostProgress) {
clip._mochiad.lc.send(clip._mochiad._containerLCName, "notify", {id:"hostLoadPcnt", pcnt:_local2});
if (_local2 == 100) {
sendHostProgress = false;
}
}
if (!chk.showing) {
var _local7 = _local11.getBytesTotal();
if ((_local7 > 0) || (typeof(_local7) == "undefined")) {
chk.showing = true;
chk.started = getTimer();
} else if ((_local5 > chk.ad_timeout) && (_local2 == 100)) {
options.ad_failed();
_local3 = true;
}
}
if (_local5 > chk.ad_msec) {
_local3 = true;
}
if (((_local4 > 0) && (_local8 >= _local4)) && (_local3)) {
if (this.server_control) {
delete this.onEnterFrame;
} else {
this.fadeout_start = getTimer();
this.onEnterFrame = chk.fadeFunction;
}
}
};
}
static function showClickAwayAd(options) {
var _local9 = {clip:_root, ad_timeout:2000, fadeout_time:250, regpt:"o", method:"showClickAwayAd", res:"300x250", no_bg:true, ad_started:function () {
}, ad_finished:function () {
}, ad_loaded:function (width, height) {
}, ad_failed:function () {
trace("[MochiAd] Couldn't load an ad, make sure that your game's local security sandbox is configured for Access Network Only and that you are not using ad blocking software");
}, ad_skipped:function () {
}};
options = _parseOptions(options, _local9);
var clip = options.clip;
var _local8 = options.ad_timeout;
delete options.ad_timeout;
if (!load(options)) {
options.ad_failed();
options.ad_finished();
return(undefined);
}
options.ad_started();
var mc = clip._mochiad;
mc.onUnload = function () {
options.ad_finished();
};
var _local4 = _getRes(options);
var _local10 = _local4[0];
var _local7 = _local4[1];
mc._x = _local10 * 0.5;
mc._y = _local7 * 0.5;
var chk = mc.createEmptyMovieClip("_mochiad_wait", 3);
chk.ad_timeout = _local8;
chk.started = getTimer();
chk.showing = false;
mc.lc.adLoaded = options.ad_loaded;
mc.lc.adSkipped = options.ad_skipped;
mc.lc.rpc = function (callbackID, arg) {
MochiAd.rpc(clip, callbackID, arg);
};
mc.rpcTestFn = function (s) {
trace("[MOCHIAD rpcTestFn] " + s);
return(s);
};
var _local20 = false;
mc.lc.regContLC = function (lc_name) {
mc._containerLCName = lc_name;
};
chk.onEnterFrame = function () {
var _local5 = this._parent._mochiad_ctr;
var _local4 = getTimer() - this.started;
var _local2 = false;
if (!chk.showing) {
var _local3 = _local5.getBytesTotal();
if ((_local3 > 0) || (typeof(_local3) == "undefined")) {
_local2 = true;
chk.showing = true;
chk.started = getTimer();
} else if (_local4 > chk.ad_timeout) {
options.ad_failed();
_local2 = true;
}
}
if (_local2) {
delete this.onEnterFrame;
}
};
}
static function showInterLevelAd(options) {
var _local13 = {clip:_root, ad_timeout:2000, fadeout_time:250, regpt:"o", method:"showTimedAd", ad_started:function () {
this.clip.stop();
}, ad_finished:function () {
this.clip.play();
}, ad_failed:function () {
trace("[MochiAd] Couldn't load an ad, make sure that your game's local security sandbox is configured for Access Network Only and that you are not using ad blocking software");
}, ad_loaded:function (width, height) {
}, ad_skipped:function () {
}};
options = _parseOptions(options, _local13);
var clip = options.clip;
var _local10 = 11000;
var _local12 = options.ad_timeout;
delete options.ad_timeout;
var fadeout_time = options.fadeout_time;
delete options.fadeout_time;
if (!load(options)) {
options.ad_failed();
options.ad_finished();
return(undefined);
}
options.ad_started();
var mc = clip._mochiad;
mc.onUnload = function () {
options.ad_finished();
};
var _local5 = _getRes(options);
var _local14 = _local5[0];
var _local11 = _local5[1];
mc._x = _local14 * 0.5;
mc._y = _local11 * 0.5;
var chk = mc.createEmptyMovieClip("_mochiad_wait", 3);
chk.ad_msec = _local10;
chk.ad_timeout = _local12;
chk.started = getTimer();
chk.showing = false;
chk.fadeout_time = fadeout_time;
chk.fadeFunction = function () {
var _local2 = 100 * (1 - ((getTimer() - this.fadeout_start) / this.fadeout_time));
if (_local2 > 0) {
this._parent._alpha = _local2;
} else {
var _local3 = this._parent._parent;
MochiAd.unload(_local3);
delete this.onEnterFrame;
}
};
mc.lc.adLoaded = options.ad_loaded;
mc.lc.adSkipped = options.ad_skipped;
mc.lc.adjustProgress = function (msec) {
var _local2 = this.mc._mochiad_wait;
_local2.server_control = true;
_local2.started = getTimer();
_local2.ad_msec = msec - 250;
};
mc.lc.rpc = function (callbackID, arg) {
MochiAd.rpc(clip, callbackID, arg);
};
mc.rpcTestFn = function (s) {
trace("[MOCHIAD rpcTestFn] " + s);
return(s);
};
chk.onEnterFrame = function () {
var _local5 = this._parent._mochiad_ctr;
var _local4 = getTimer() - this.started;
var _local2 = false;
if (!chk.showing) {
var _local3 = _local5.getBytesTotal();
if ((_local3 > 0) || (typeof(_local3) == "undefined")) {
chk.showing = true;
chk.started = getTimer();
} else if (_local4 > chk.ad_timeout) {
options.ad_failed();
_local2 = true;
}
}
if (_local4 > chk.ad_msec) {
_local2 = true;
}
if (_local2) {
if (this.server_control) {
delete this.onEnterFrame;
} else {
this.fadeout_start = getTimer();
this.onEnterFrame = this.fadeFunction;
}
}
};
}
static function showPreloaderAd(options) {
trace("[MochiAd] DEPRECATED: showPreloaderAd was renamed to showPreGameAd in 2.0");
showPreGameAd(options);
}
static function showTimedAd(options) {
trace("[MochiAd] DEPRECATED: showTimedAd was renamed to showInterLevelAd in 2.0");
showInterLevelAd(options);
}
static function _allowDomains(server) {
var _local1 = server.split("/")[2].split(":")[0];
if (System.security) {
if (System.security.allowDomain) {
System.security.allowDomain("*");
System.security.allowDomain(_local1);
}
if (System.security.allowInsecureDomain) {
System.security.allowInsecureDomain("*");
System.security.allowInsecureDomain(_local1);
}
}
return(_local1);
}
static function load(options) {
var _local13 = {clip:_root, server:"http://x.mochiads.com/srv/1/", method:"load", depth:10333, id:"_UNKNOWN_"};
options = _parseOptions(options, _local13);
options.swfv = options.clip.getSWFVersion() || 6;
options.mav = getVersion();
var _local9 = options.clip;
if (!_isNetworkAvailable()) {
return(null);
}
if (_local9._mochiad_loaded) {
return(null);
}
var _local12 = options.depth;
delete options.depth;
var _local6 = _local9.createEmptyMovieClip("_mochiad", _local12);
var _local11 = _getRes(options);
options.res = (_local11[0] + "x") + _local11[1];
options.server = options.server + options.id;
delete options.id;
_local9._mochiad_loaded = true;
var _local4 = _local6.createEmptyMovieClip("_mochiad_ctr", 1);
for (var _local7 in options) {
_local4[_local7] = options[_local7];
}
var _local10 = _local4.server;
delete _local4.server;
var _local14 = _allowDomains(_local10);
_local6.onEnterFrame = function () {
if (this._mochiad_ctr._url != this._url) {
this.onEnterFrame = function () {
if (!this._mochiad_ctr) {
delete this.onEnterFrame;
MochiAd.unload(this._parent);
}
};
}
};
var _local5 = new LocalConnection();
var _local8 = ["", Math.floor(new Date().getTime()), random(999999)].join("_");
_local5.mc = _local6;
_local5.name = _local8;
_local5.hostname = _local14;
_local5.allowDomain = function (d) {
return(true);
};
_local5.allowInsecureDomain = _local5.allowDomain;
_local5.connect(_local8);
_local6.lc = _local5;
_local4.lc = _local8;
_local4.st = getTimer();
_local4.loadMovie(_local10 + ".swf", "POST");
return(_local6);
}
static function unload(clip) {
if (typeof(clip) == "undefined") {
clip = _root;
}
if (clip.clip && (clip.clip._mochiad)) {
clip = clip.clip;
}
if (!clip._mochiad) {
return(false);
}
if (clip._mochiad._containerLCName != undefined) {
clip._mochiad.lc.send(clip._mochiad._containerLCName, "notify", {id:"unload"});
}
clip._mochiad.removeMovieClip();
delete clip._mochiad_loaded;
delete clip._mochiad;
return(true);
}
static function _isNetworkAvailable() {
if (System.security) {
var _local1 = System.security;
if (_local1.sandboxType == "localWithFile") {
return(false);
}
}
return(true);
}
static function _getRes(options) {
var _local3 = options.clip.getBounds();
var _local2 = 0;
var _local1 = 0;
if (typeof(options.res) != "undefined") {
var _local4 = options.res.split("x");
_local2 = parseFloat(_local4[0]);
_local1 = parseFloat(_local4[1]);
} else {
_local2 = _local3.xMax - _local3.xMin;
_local1 = _local3.yMax - _local3.yMin;
}
if ((_local2 == 0) || (_local1 == 0)) {
_local2 = Stage.width;
_local1 = Stage.height;
}
return([_local2, _local1]);
}
static function _parseOptions(options, defaults) {
var _local4 = {};
for (var _local8 in defaults) {
_local4[_local8] = defaults[_local8];
}
if (options) {
for (var _local8 in options) {
_local4[_local8] = options[_local8];
}
}
if (_root.mochiad_options) {
var _local5 = _root.mochiad_options.split("&");
var _local2 = 0;
while (_local2 < _local5.length) {
var _local3 = _local5[_local2].split("=");
_local4[unescape(_local3[0])] = unescape(_local3[1]);
_local2++;
}
}
if (_local4.id == "test") {
trace("[MochiAd] WARNING: Using the MochiAds test identifier, make sure to use the code from your dashboard, not this example!");
}
return(_local4);
}
static function rpc(clip, callbackID, arg) {
switch (arg.id) {
case "setValue" :
setValue(clip, arg.objectName, arg.value);
break;
case "getValue" :
var _local4 = getValue(clip, arg.objectName);
clip._mochiad.lc.send(clip._mochiad._containerLCName, "rpcResult", callbackID, _local4);
break;
case "runMethod" :
var _local3 = runMethod(clip, arg.method, arg.args);
clip._mochiad.lc.send(clip._mochiad._containerLCName, "rpcResult", callbackID, _local3);
break;
default :
trace("[mochiads rpc] unknown rpc id: " + arg.id);
}
}
static function setValue(base, objectName, value) {
var _local2 = objectName.split(".");
var _local1;
_local1 = 0;
while (_local1 < (_local2.length - 1)) {
if ((base[_local2[_local1]] == undefined) || (base[_local2[_local1]] == null)) {
return(undefined);
}
base = base[_local2[_local1]];
_local1++;
}
base[_local2[_local1]] = value;
}
static function getValue(base, objectName) {
var _local2 = objectName.split(".");
var _local1;
_local1 = 0;
while (_local1 < (_local2.length - 1)) {
if ((base[_local2[_local1]] == undefined) || (base[_local2[_local1]] == null)) {
return(undefined);
}
base = base[_local2[_local1]];
_local1++;
}
return(base[_local2[_local1]]);
}
static function runMethod(base, methodName, argsArray) {
var _local2 = methodName.split(".");
var _local1;
_local1 = 0;
while (_local1 < (_local2.length - 1)) {
if ((base[_local2[_local1]] == undefined) || (base[_local2[_local1]] == null)) {
return(undefined);
}
base = base[_local2[_local1]];
_local1++;
}
if (typeof(base[_local2[_local1]]) == "function") {
return(base[_local2[_local1]].apply(base, argsArray));
}
return(undefined);
}
}
Symbol 449 MovieClip [__Packages.com.robertpenner.easing.Quad] Frame 0
class com.robertpenner.easing.Quad
{
function Quad () {
}
static function easeIn(t, b, c, d) {
t = t / d;
return(((c * t) * t) + b);
}
static function easeOut(t, b, c, d) {
t = t / d;
return((((-c) * t) * (t - 2)) + b);
}
static function easeInOut(t, b, c, d) {
t = t / (d / 2);
if (t < 1) {
return((((c / 2) * t) * t) + b);
}
t--;
return((((-c) / 2) * ((t * (t - 2)) - 1)) + b);
}
}
Symbol 450 MovieClip [__Packages.com.robertpenner.easing.Circ] Frame 0
class com.robertpenner.easing.Circ
{
function Circ () {
}
static function easeIn(t, b, c, d) {
t = t / d;
return(((-c) * (Math.sqrt(1 - (t * t)) - 1)) + b);
}
static function easeOut(t, b, c, d) {
t = (t / d) - 1;
return((c * Math.sqrt(1 - (t * t))) + b);
}
static function easeInOut(t, b, c, d) {
t = t / (d / 2);
if (t < 1) {
return((((-c) / 2) * (Math.sqrt(1 - (t * t)) - 1)) + b);
}
t = t - 2;
return(((c / 2) * (Math.sqrt(1 - (t * t)) + 1)) + b);
}
}
Symbol 451 MovieClip [__Packages.com.robertpenner.easing.Quart] Frame 0
class com.robertpenner.easing.Quart
{
function Quart () {
}
static function easeIn(t, b, c, d) {
t = t / d;
return(((((c * t) * t) * t) * t) + b);
}
static function easeOut(t, b, c, d) {
t = (t / d) - 1;
return(((-c) * ((((t * t) * t) * t) - 1)) + b);
}
static function easeInOut(t, b, c, d) {
t = t / (d / 2);
if (t < 1) {
return((((((c / 2) * t) * t) * t) * t) + b);
}
t = t - 2;
return((((-c) / 2) * ((((t * t) * t) * t) - 2)) + b);
}
}
Symbol 452 MovieClip [__Packages.com.robertpenner.easing.Sine] Frame 0
class com.robertpenner.easing.Sine
{
function Sine () {
}
static function easeIn(t, b, c, d) {
return((((-c) * Math.cos((t / d) * (Math.PI/2))) + c) + b);
}
static function easeOut(t, b, c, d) {
return((c * Math.sin((t / d) * (Math.PI/2))) + b);
}
static function easeInOut(t, b, c, d) {
return((((-c) / 2) * (Math.cos((Math.PI * t) / d) - 1)) + b);
}
}
Symbol 453 MovieClip [__Packages.com.robertpenner.easing.Back] Frame 0
class com.robertpenner.easing.Back
{
function Back () {
}
static function easeIn(t, b, c, d, s) {
if (s == undefined) {
s = 1.70158;
}
t = t / d;
return((((c * t) * t) * (((s + 1) * t) - s)) + b);
}
static function easeOut(t, b, c, d, s) {
if (s == undefined) {
s = 1.70158;
}
t = (t / d) - 1;
return((c * (((t * t) * (((s + 1) * t) + s)) + 1)) + b);
}
static function easeInOut(t, b, c, d, s) {
if (s == undefined) {
s = 1.70158;
}
t = t / (d / 2);
if (t < 1) {
s = s * 1.525;
return(((c / 2) * ((t * t) * (((s + 1) * t) - s))) + b);
}
t = t - 2;
s = s * 1.525;
return(((c / 2) * (((t * t) * (((s + 1) * t) + s)) + 2)) + b);
}
}
Symbol 454 MovieClip [__Packages.com.robertpenner.easing.Quint] Frame 0
class com.robertpenner.easing.Quint
{
function Quint () {
}
static function easeIn(t, b, c, d) {
t = t / d;
return((((((c * t) * t) * t) * t) * t) + b);
}
static function easeOut(t, b, c, d) {
t = (t / d) - 1;
return((c * (((((t * t) * t) * t) * t) + 1)) + b);
}
static function easeInOut(t, b, c, d) {
t = t / (d / 2);
if (t < 1) {
return(((((((c / 2) * t) * t) * t) * t) * t) + b);
}
t = t - 2;
return(((c / 2) * (((((t * t) * t) * t) * t) + 2)) + b);
}
}
Symbol 455 MovieClip [__Packages.com.robertpenner.easing.Linear] Frame 0
class com.robertpenner.easing.Linear
{
function Linear () {
}
static function easeNone(t, b, c, d) {
return(((c * t) / d) + b);
}
static function easeIn(t, b, c, d) {
return(((c * t) / d) + b);
}
static function easeOut(t, b, c, d) {
return(((c * t) / d) + b);
}
static function easeInOut(t, b, c, d) {
return(((c * t) / d) + b);
}
}
Symbol 456 MovieClip [__Packages.com.robertpenner.easing.Expo] Frame 0
class com.robertpenner.easing.Expo
{
function Expo () {
}
static function easeIn(t, b, c, d) {
return(((t == 0) ? (b) : ((c * Math.pow(2, 10 * ((t / d) - 1))) + b)));
}
static function easeOut(t, b, c, d) {
return(((t == d) ? (b + c) : ((c * ((-Math.pow(2, (-10 * t) / d)) + 1)) + b)));
}
static function easeInOut(t, b, c, d) {
if (t == 0) {
return(b);
}
if (t == d) {
return(b + c);
}
t = t / (d / 2);
if (t < 1) {
return(((c / 2) * Math.pow(2, 10 * (t - 1))) + b);
}
t--;
return(((c / 2) * ((-Math.pow(2, -10 * t)) + 2)) + b);
}
}
Symbol 457 MovieClip [__Packages.com.robertpenner.easing.Elastic] Frame 0
class com.robertpenner.easing.Elastic
{
function Elastic () {
}
static function easeIn(t, b, c, d, a, p) {
if (t == 0) {
return(b);
}
t = t / d;
if (t == 1) {
return(b + c);
}
if (!p) {
p = d * 0.3;
}
if ((!a) || (a < Math.abs(c))) {
a = c;
var _local7 = p / 4;
} else {
var _local7 = (p / (Math.PI*2)) * Math.asin(c / a);
}
t = t - 1;
return((-((a * Math.pow(2, 10 * t)) * Math.sin((((t * d) - _local7) * (Math.PI*2)) / p))) + b);
}
static function easeOut(t, b, c, d, a, p) {
if (t == 0) {
return(b);
}
t = t / d;
if (t == 1) {
return(b + c);
}
if (!p) {
p = d * 0.3;
}
if ((!a) || (a < Math.abs(c))) {
a = c;
var _local7 = p / 4;
} else {
var _local7 = (p / (Math.PI*2)) * Math.asin(c / a);
}
return((((a * Math.pow(2, -10 * t)) * Math.sin((((t * d) - _local7) * (Math.PI*2)) / p)) + c) + b);
}
static function easeInOut(t, b, c, d, a, p) {
if (t == 0) {
return(b);
}
t = t / (d / 2);
if (t == 2) {
return(b + c);
}
if (!p) {
p = d * 0.45;
}
if ((!a) || (a < Math.abs(c))) {
a = c;
var _local7 = p / 4;
} else {
var _local7 = (p / (Math.PI*2)) * Math.asin(c / a);
}
if (t < 1) {
t = t - 1;
return((-0.5 * ((a * Math.pow(2, 10 * t)) * Math.sin((((t * d) - _local7) * (Math.PI*2)) / p))) + b);
}
t = t - 1;
return(((((a * Math.pow(2, -10 * t)) * Math.sin((((t * d) - _local7) * (Math.PI*2)) / p)) * 0.5) + c) + b);
}
}
Symbol 458 MovieClip [__Packages.com.robertpenner.easing.Bounce] Frame 0
class com.robertpenner.easing.Bounce
{
function Bounce () {
}
static function easeOut(t, b, c, d) {
t = t / d;
if (t < 0.363636363636364) {
return((c * ((7.5625 * t) * t)) + b);
}
if (t < 0.727272727272727) {
t = t - 0.545454545454545;
return((c * (((7.5625 * t) * t) + 0.75)) + b);
}
if (t < 0.909090909090909) {
t = t - 0.818181818181818;
return((c * (((7.5625 * t) * t) + 0.9375)) + b);
}
t = t - 0.954545454545455;
return((c * (((7.5625 * t) * t) + 0.984375)) + b);
}
static function easeIn(t, b, c, d) {
return((c - easeOut(d - t, 0, c, d)) + b);
}
static function easeInOut(t, b, c, d) {
if (t < (d / 2)) {
return((easeIn(t * 2, 0, c, d) * 0.5) + b);
}
return(((easeOut((t * 2) - d, 0, c, d) * 0.5) + (c * 0.5)) + b);
}
}
Symbol 459 MovieClip [__Packages.zigo.tweenManager] Frame 0
class zigo.tweenManager
{
var playing, isPaused, autoStop, broadcastEvents, autoOverwrite, ints, lockedTweens, tweenList, updateTime, updateIntId, tweenHolder, now, pausedTime;
function tweenManager () {
playing = false;
isPaused = false;
autoStop = false;
broadcastEvents = false;
autoOverwrite = true;
ints = new Array();
lockedTweens = new Object();
tweenList = new Array();
}
function set updateInterval(time) {
if (playing) {
deinit();
updateTime = time;
init();
} else {
updateTime = time;
}
//return(updateInterval);
}
function get updateInterval() {
return(updateTime);
}
function init() {
if (updateTime > 0) {
updateIntId = setInterval(this, "update", updateTime);
} else {
if (tweenHolder._name == undefined) {
tweenHolder = _root.createEmptyMovieClip("_th_", 6789);
}
var tm = this;
tweenHolder.onEnterFrame = function () {
tm.update.call(tm);
};
}
playing = true;
now = getTimer();
}
function deinit() {
playing = false;
clearInterval(updateIntId);
delete tweenHolder.onEnterFrame;
}
function update() {
var _local2;
var _local7;
var _local3;
_local7 = tweenList.length;
if (broadcastEvents) {
var _local4;
var _local6;
_local4 = {};
_local6 = {};
}
while (_local7--) {
_local2 = tweenList[_local7];
if ((_local2.ts + _local2.d) > now) {
if (_local2.ctm == undefined) {
_local2.mc[_local2.pp] = _local2.ef(now - _local2.ts, _local2.ps, _local2.ch, _local2.d, _local2.e1, _local2.e2);
} else {
var _local5 = {};
for (_local3 in _local2.ctm) {
_local5[_local3] = _local2.ef(now - _local2.ts, _local2.stm[_local3], _local2.ctm[_local3], _local2.d, _local2.e1, _local2.e2);
}
_local2.c.setTransform(_local5);
}
if (broadcastEvents) {
if (_local4[targetPath(_local2.mc)] == undefined) {
_local4[targetPath(_local2.mc)] = _local2.mc;
}
}
if (_local2.cb.updfunc != undefined) {
_local2.cb.updfunc.apply(_local2.cb.updscope, _local2.cb.updargs);
}
} else {
if (_local2.ctm == undefined) {
_local2.mc[_local2.pp] = _local2.ps + _local2.ch;
} else {
var _local5 = {};
for (_local3 in _local2.ctm) {
_local5[_local3] = _local2.stm[_local3] + _local2.ctm[_local3];
}
_local2.c.setTransform(_local5);
}
if (broadcastEvents) {
if (_local4[targetPath(_local2.mc)] == undefined) {
_local4[targetPath(_local2.mc)] = _local2.mc;
}
if (_local6[targetPath(_local2.mc)] == undefined) {
_local6[targetPath(_local2.mc)] = _local2.mc;
}
}
if (_local2.cb.updfunc != undefined) {
_local2.cb.updfunc.apply(_local2.cb.updscope, _local2.cb.updargs);
}
if (endt == undefined) {
var endt = new Array();
}
endt.push(_local7);
}
}
for (_local3 in _local4) {
_local4[_local3].broadcastMessage("onTweenUpdate");
}
if (endt != undefined) {
endTweens(endt);
}
for (_local3 in _local6) {
_local6[_local3].broadcastMessage("onTweenEnd");
}
now = getTimer();
if (updateTime > 0) {
updateAfterEvent();
}
}
function endTweens(tid_arr) {
var _local2;
var _local8;
var _local3;
var _local4;
var _local7;
_local2 = [];
_local8 = tid_arr.length;
_local3 = 0;
while (_local3 < _local8) {
_local4 = tweenList[tid_arr[_local3]].cb;
if (_local4 != undefined) {
var _local5 = true;
for (_local7 in _local2) {
if (_local2[_local7] == _local4) {
_local5 = false;
break;
}
}
if (_local5) {
_local2.push(_local4);
}
}
tweenList.splice(tid_arr[_local3], 1);
_local3++;
}
_local3 = 0;
while (_local3 < _local2.length) {
_local2[_local3].func.apply(_local2[_local3].scope, _local2[_local3].args);
_local3++;
}
if (tweenList.length == 0) {
deinit();
}
}
function addTween(mc, props, pEnd, sec, eqFunc, callback, extra1, extra2) {
var _local4;
var _local12;
var _local6;
var _local3;
var _local2;
if (!playing) {
init();
}
for (_local4 in props) {
_local12 = props[_local4];
_local6 = true;
if (_local12.substr(0, 4) != "_ct_") {
if (autoOverwrite) {
for (_local3 in tweenList) {
_local2 = tweenList[_local3];
if ((_local2.mc == mc) && (_local2.pp == _local12)) {
_local2.ps = mc[_local12];
_local2.ch = pEnd[_local4] - mc[_local12];
_local2.ts = now;
_local2.d = sec * 1000;
_local2.ef = eqFunc;
_local2.cb = callback;
_local2.e1 = extra1;
_local2.e2 = extra2;
_local6 = false;
break;
}
}
}
if (_local6) {
tweenList.unshift({mc:mc, pp:_local12, ps:mc[_local12], ch:pEnd[_local4] - mc[_local12], ts:now, d:sec * 1000, ef:eqFunc, cb:callback, e1:extra1, e2:extra2});
}
} else {
var _local16 = new Color(mc);
var _local20 = _local16.getTransform();
var _local19 = {};
for (_local3 in pEnd[_local4]) {
if ((pEnd[_local4][_local3] != _local20[_local3]) && (pEnd[_local4][_local3] != undefined)) {
_local19[_local3] = pEnd[_local4][_local3] - _local20[_local3];
}
}
if (autoOverwrite) {
for (_local3 in tweenList) {
_local2 = tweenList[_local3];
if ((_local2.mc == mc) && (_local2.ctm != undefined)) {
_local2.c = _local16;
_local2.stm = _local20;
(_local2.ctm = _local19);
(_local2.ts = now);
_local2.d = sec * 1000;
_local2.ef = eqFunc;
_local2.cb = callback;
_local2.e1 = extra1;
_local2.e2 = extra2;
_local6 = false;
break;
}
}
}
if (_local6) {
tweenList.unshift({mc:mc, c:_local16, stm:_local20, ctm:_local19, ts:now, d:sec * 1000, ef:eqFunc, cb:callback, e1:extra1, e2:extra2});
}
}
}
if (broadcastEvents) {
mc.broadcastMessage("onTweenStart", props[_local4]);
}
if (callback.startfunc != undefined) {
callback.startfunc.apply(callback.startscope, callback.startargs);
}
}
function addTweenWithDelay(delay, mc, props, pEnd, sec, eqFunc, callback, extra1, extra2) {
var il = ints.length;
var _local3 = setInterval(function (obj) {
obj.addTween(mc, props, pEnd, sec, eqFunc, callback, extra1, extra2);
clearInterval(obj.ints[il].intid);
obj.ints[il] = undefined;
}, delay * 1000, this);
ints[il] = {mc:mc, props:props, pend:pEnd, intid:_local3, st:now, delay:delay * 1000, args:arguments.slice(1)};
}
function removeTween(mc, props) {
var _local7;
var _local2;
var _local3;
_local7 = false;
if (props == undefined) {
_local7 = true;
}
_local2 = tweenList.length;
while (_local2--) {
if (tweenList[_local2].mc == mc) {
if (_local7) {
tweenList.splice(_local2, 1);
} else {
for (_local3 in props) {
if ((tweenList[_local2].pp == props[_local3]) && (tweenList[_local2].mc == mc)) {
tweenList.splice(_local2, 1);
} else if (((props[_local3] == "_ct_") && (tweenList[_local2].ctm != undefined)) && (tweenList[_local2].mc == mc)) {
tweenList.splice(_local2, 1);
}
}
}
}
}
_local2 = ints.length;
while (_local2--) {
if (ints[_local2].mc == mc) {
if (_local7) {
clearInterval(ints[_local2].intid);
ints[_local2] = undefined;
} else {
for (_local3 in props) {
for (var _local6 in ints[_local2].props) {
if ((ints[_local2].props[_local6] == props[_local3]) && (tweenList[_local2].mc == mc)) {
ints[_local2].props.splice(_local6, 1);
ints[_local2].pend.splice(_local6, 1);
}
}
if (ints[_local2].props.length == 0) {
clearInterval(ints[_local2].intid);
}
}
}
}
}
if (tweenList.length == 0) {
deinit();
}
}
function isTweening(mc) {
for (var _local3 in tweenList) {
if (tweenList[_local3].mc == mc) {
return(true);
}
}
return(false);
}
function getTweens(mc) {
var _local2 = 0;
for (var _local4 in tweenList) {
if (tweenList[_local4].mc == mc) {
_local2++;
}
}
return(_local2);
}
function lockTween(mc, bool) {
lockedTweens[targetPath(mc)] = bool;
}
function isTweenLocked(mc) {
if (lockedTweens[targetPath(mc)] == undefined) {
return(false);
}
return(lockedTweens[targetPath(mc)]);
}
function pauseAll() {
if (isPaused) {
return(undefined);
}
isPaused = true;
pausedTime = now;
for (var _local2 in ints) {
clearInterval(ints[_local2].intid);
}
deinit();
}
function unpauseAll() {
if (!isPaused) {
return(undefined);
}
var _local2;
var _local4;
isPaused = false;
init();
for (_local2 in tweenList) {
_local4 = tweenList[_local2];
_local4.ts = now - (pausedTime - _local4.ts);
}
for (_local2 in ints) {
if (ints[_local2] == undefined) {
continue;
}
var _local3 = ints[_local2].delay - (pausedTime - ints[_local2].st);
var _local5 = setInterval(function (obj, id) {
obj.addTween.apply(obj, obj.ints[id].args);
clearInterval(obj.ints[id].intid);
obj.ints[id] = undefined;
}, _local3, this, _local2);
ints[_local2].intid = _local5;
ints[_local2].st = now;
ints[_local2].delay = _local3;
}
}
function stopAll() {
for (var _local2 in ints) {
clearInterval(ints[_local2].intid);
}
tweenList = new Array();
deinit();
}
function toString() {
return("[AS2 tweenManager 1.1.7]");
}
}
Symbol 460 MovieClip [__Packages.com.robertpenner.easing.Cubic] Frame 0
class com.robertpenner.easing.Cubic
{
function Cubic () {
}
static function easeIn(t, b, c, d) {
t = t / d;
return((((c * t) * t) * t) + b);
}
static function easeOut(t, b, c, d) {
t = (t / d) - 1;
return((c * (((t * t) * t) + 1)) + b);
}
static function easeInOut(t, b, c, d) {
t = t / (d / 2);
if (t < 1) {
return(((((c / 2) * t) * t) * t) + b);
}
t = t - 2;
return(((c / 2) * (((t * t) * t) + 2)) + b);
}
}
Symbol 461 MovieClip [__Packages.ru.etcs.filters.ColorFilter] Frame 0
class ru.etcs.filters.ColorFilter extends flash.filters.ColorMatrixFilter
{
var __matrix, __brightness, __contrast, __saturation, __hue, matrix;
function ColorFilter (brightness, contrast, saturation, hue) {
super();
setColor(brightness, contrast, saturation, hue);
}
function updateMatrix() {
__matrix = new com.gskinner.geom.ColorMatrix();
__matrix.adjustColor(__brightness, __contrast, __saturation, __hue);
matrix = __matrix;
}
function set brightness(value) {
__brightness = value;
updateMatrix();
//return(brightness);
}
function get brightness() {
return(__brightness);
}
function set contrast(value) {
__contrast = value;
updateMatrix();
//return(contrast);
}
function get contrast() {
return(__contrast);
}
function set saturation(value) {
__saturation = value;
updateMatrix();
//return(saturation);
}
function get saturation() {
return(__saturation);
}
function set hue(value) {
__hue = value;
updateMatrix();
//return(hue);
}
function get hue() {
return(__hue);
}
function setColor(brightness, contrast, saturation, hue) {
__brightness = (isNaN(brightness) ? 0 : (brightness));
__contrast = (isNaN(contrast) ? 0 : (contrast));
__saturation = (isNaN(saturation) ? 0 : (saturation));
__hue = (isNaN(hue) ? 0 : (hue));
updateMatrix();
}
}
Symbol 462 MovieClip [__Packages.com.gskinner.geom.ColorMatrix] Frame 0
class com.gskinner.geom.ColorMatrix extends Array
{
var join, slice;
function ColorMatrix (p_matrix) {
super();
p_matrix = fixMatrix(p_matrix);
copyMatrix(((p_matrix.length == LENGTH) ? (p_matrix) : (IDENTITY_MATRIX)));
}
function adjustColor(p_brightness, p_contrast, p_saturation, p_hue) {
adjustHue(p_hue);
adjustContrast(p_contrast);
adjustBrightness(p_brightness);
adjustSaturation(p_saturation);
}
function adjustBrightness(p_val) {
p_val = cleanValue(p_val, 100);
if ((p_val == 0) || (isNaN(p_val))) {
return(undefined);
}
multiplyMatrix([1, 0, 0, 0, p_val, 0, 1, 0, 0, p_val, 0, 0, 1, 0, p_val, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1]);
}
function adjustContrast(p_val) {
p_val = cleanValue(p_val, 100);
if ((p_val == 0) || (isNaN(p_val))) {
return(undefined);
}
var _local2;
if (p_val < 0) {
_local2 = 127 + ((p_val / 100) * 127);
} else {
_local2 = p_val % 1;
if (_local2 == 0) {
_local2 = DELTA_INDEX[p_val];
} else {
_local2 = (DELTA_INDEX[p_val << 0] * (1 - _local2)) + (DELTA_INDEX[(p_val << 0) + 1] * _local2);
}
_local2 = (_local2 * 127) + 127;
}
multiplyMatrix([_local2 / 127, 0, 0, 0, 0.5 * (127 - _local2), 0, _local2 / 127, 0, 0, 0.5 * (127 - _local2), 0, 0, _local2 / 127, 0, 0.5 * (127 - _local2), 0, 0, 0, 1, 0, 0, 0, 0, 0, 1]);
}
function adjustSaturation(p_val) {
p_val = cleanValue(p_val, 100);
if ((p_val == 0) || (isNaN(p_val))) {
return(undefined);
}
var _local2 = 1 + ((p_val > 0) ? ((3 * p_val) / 100) : (p_val / 100));
var _local5 = 0.3086;
var _local4 = 0.6094;
var _local6 = 0.082;
multiplyMatrix([(_local5 * (1 - _local2)) + _local2, _local4 * (1 - _local2), _local6 * (1 - _local2), 0, 0, _local5 * (1 - _local2), (_local4 * (1 - _local2)) + _local2, _local6 * (1 - _local2), 0, 0, _local5 * (1 - _local2), _local4 * (1 - _local2), (_local6 * (1 - _local2)) + _local2, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1]);
}
function adjustHue(p_val) {
p_val = (cleanValue(p_val, 180) / 180) * Math.PI;
if ((p_val == 0) || (isNaN(p_val))) {
return(undefined);
}
var _local3 = Math.cos(p_val);
var _local2 = Math.sin(p_val);
var _local5 = 0.213;
var _local4 = 0.715;
var _local6 = 0.072;
multiplyMatrix([(_local5 + (_local3 * (1 - _local5))) + (_local2 * (-_local5)), (_local4 + (_local3 * (-_local4))) + (_local2 * (-_local4)), (_local6 + (_local3 * (-_local6))) + (_local2 * (1 - _local6)), 0, 0, (_local5 + (_local3 * (-_local5))) + (_local2 * 0.143), (_local4 + (_local3 * (1 - _local4))) + (_local2 * 0.14), (_local6 + (_local3 * (-_local6))) + (_local2 * -0.283), 0, 0, (_local5 + (_local3 * (-_local5))) + (_local2 * (-(1 - _local5))), (_local4 + (_local3 * (-_local4))) + (_local2 * _local4), (_local6 + (_local3 * (1 - _local6))) + (_local2 * _local6), 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1]);
}
function concat(p_matrix) {
p_matrix = fixMatrix(p_matrix);
if (p_matrix.length != LENGTH) {
return(undefined);
}
multiplyMatrix(p_matrix);
}
function clone() {
return(new com.gskinner.geom.ColorMatrix(this));
}
function toString() {
return(("ColorMatrix [ " + join(" , ")) + " ]");
}
function toArray() {
return(slice(0, 20));
}
function copyMatrix(p_matrix) {
var _local3 = LENGTH;
var _local2 = 0;
while (_local2 < _local3) {
this[_local2] = p_matrix[_local2];
_local2++;
}
}
function multiplyMatrix(p_matrix) {
var _local6 = [];
var _local5 = 0;
while (_local5 < 5) {
var _local3 = 0;
while (_local3 < 5) {
_local6[_local3] = this[_local3 + (_local5 * 5)];
_local3++;
}
_local3 = 0;
while (_local3 < 5) {
var _local4 = 0;
var _local2 = 0;
while (_local2 < 5) {
_local4 = _local4 + (p_matrix[_local3 + (_local2 * 5)] * _local6[_local2]);
_local2++;
}
this[_local3 + (_local5 * 5)] = _local4;
_local3++;
}
_local5++;
}
}
function cleanValue(p_val, p_limit) {
return(Math.min(p_limit, Math.max(-p_limit, p_val)));
}
function fixMatrix(p_matrix) {
if (p_matrix instanceof com.gskinner.geom.ColorMatrix) {
p_matrix = p_matrix.slice(0);
}
if (p_matrix.length < LENGTH) {
p_matrix = p_matrix.slice(0, p_matrix.length).concat(IDENTITY_MATRIX.slice(p_matrix.length, LENGTH));
} else if (p_matrix.length > LENGTH) {
p_matrix = p_matrix.slice(0, LENGTH);
}
return(p_matrix);
}
static var DELTA_INDEX = [0, 0.01, 0.02, 0.04, 0.05, 0.06, 0.07, 0.08, 0.1, 0.11, 0.12, 0.14, 0.15, 0.16, 0.17, 0.18, 0.2, 0.21, 0.22, 0.24, 0.25, 0.27, 0.28, 0.3, 0.32, 0.34, 0.36, 0.38, 0.4, 0.42, 0.44, 0.46, 0.48, 0.5, 0.53, 0.56, 0.59, 0.62, 0.65, 0.68, 0.71, 0.74, 0.77, 0.8, 0.83, 0.86, 0.89, 0.92, 0.95, 0.98, 1, 1.06, 1.12, 1.18, 1.24, 1.3, 1.36, 1.42, 1.48, 1.54, 1.6, 1.66, 1.72, 1.78, 1.84, 1.9, 1.96, 2, 2.12, 2.25, 2.37, 2.5, 2.62, 2.75, 2.87, 3, 3.2, 3.4, 3.6, 3.8, 4, 4.3, 4.7, 4.9, 5, 5.5, 6, 6.5, 6.8, 7, 7.3, 7.5, 7.8, 8, 8.4, 8.7, 9, 9.4, 9.6, 9.8, 10];
static var IDENTITY_MATRIX = [1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1];
static var LENGTH = IDENTITY_MATRIX.length;
}
Symbol 463 MovieClip [__Packages.mochi.MochiScores] Frame 0
class mochi.MochiScores
{
static var boardID, onClose, onError;
function MochiScores () {
}
static function setBoardID(boardID) {
mochi.MochiScores.boardID = boardID;
mochi.MochiServices.send("scores_setBoardID", {boardID:boardID});
}
static function showLeaderboard(options) {
if (options.clip != null) {
if ((options.clip != mochi.MochiServices.__get__clip()) || (mochi.MochiServices.__get__childClip()._target == undefined)) {
mochi.MochiServices.disconnect();
mochi.MochiServices.connect(mochi.MochiServices.__get__id(), options.clip);
}
delete options.clip;
}
if (options.name != null) {
if (typeof(options.name) == "object") {
if (options.name.text != undefined) {
options.name = options.name.text;
}
}
}
if (options.score != null) {
if (typeof(options.score) == "object") {
if (options.score.text != undefined) {
options.score = options.score.text;
}
}
}
if (options.onDisplay != null) {
options.onDisplay();
} else {
mochi.MochiServices.__get__clip().stop();
}
if (options.onClose != null) {
onClose = options.onClose;
} else {
onClose = function () {
mochi.MochiServices.__get__clip().play();
};
}
if (options.onError != null) {
onError = options.onError;
} else {
onError = onClose;
}
if (options.boardID == null) {
if (boardID != null) {
options.boardID = boardID;
}
}
mochi.MochiServices.send("scores_showLeaderboard", {options:options}, null, doClose);
}
static function closeLeaderboard() {
mochi.MochiServices.send("scores_closeLeaderboard");
}
static function getPlayerInfo(callbackObj, callbackMethod) {
mochi.MochiServices.send("scores_getPlayerInfo", null, callbackObj, callbackMethod);
}
static function submit(score, name, callbackObj, callbackMethod) {
mochi.MochiServices.send("scores_submit", {score:score, name:name}, callbackObj, callbackMethod);
}
static function requestList(callbackObj, callbackMethod) {
mochi.MochiServices.send("scores_requestList", null, callbackObj, callbackMethod);
}
static function scoresArrayToObjects(scores) {
var _local5 = {};
var _local1;
var _local4;
var _local2;
var _local6;
for (var _local8 in scores) {
if (typeof(scores[_local8]) == "object") {
if ((scores[_local8].cols != null) && (scores[_local8].rows != null)) {
_local5[_local8] = [];
_local2 = scores[_local8];
_local4 = 0;
while (_local4 < _local2.rows.length) {
_local6 = {};
_local1 = 0;
while (_local1 < _local2.cols.length) {
_local6[_local2.cols[_local1]] = _local2.rows[_local4][_local1];
_local1++;
}
_local5[_local8].push(_local6);
_local4++;
}
} else {
_local5[_local8] = {};
for (var _local7 in scores[_local8]) {
_local5[_local8][_local7] = scores[_local8][_local7];
}
}
} else {
_local5[_local8] = scores[_local8];
}
}
return(_local5);
}
static function doClose(args) {
if (args.error == true) {
if (args.errorCode == undefined) {
args.errorCode = "IOError";
}
onError.apply(null, [args.errorCode]);
} else {
onClose.apply();
}
}
}
Symbol 251 MovieClip Frame 1
Symbol 251 MovieClip Frame 140
_root.gotoAndStop(8);
Symbol 258 MovieClip Frame 1
stop();
Symbol 259 MovieClip Frame 1
function showQ(num) {
this["q" + num].gotoAndPlay(2);
}
stop();
Symbol 265 MovieClip Frame 1
stop();
Symbol 265 MovieClip Frame 2
stop();
Symbol 287 MovieClip Frame 1
stop();
Symbol 287 MovieClip Frame 2
stop();
Symbol 303 MovieClip Frame 1
stop();
Symbol 303 MovieClip Frame 2
stop();
Symbol 303 MovieClip Frame 3
stop();
Symbol 303 MovieClip Frame 4
stop();
Symbol 322 MovieClip Frame 1
stop();
Symbol 322 MovieClip Frame 2
stop();
Symbol 322 MovieClip Frame 3
stop();
Symbol 336 MovieClip Frame 46
Symbol 336 MovieClip Frame 48
lep1.onEnterFrame = function () {
this._y = this._y + 3;
if (this._y > 540) {
this._y = -(50 + random(100));
this._x = 140 + random(100);
}
};
Symbol 336 MovieClip Frame 79
lep2.onEnterFrame = function () {
this._y = this._y + 2;
if (this._y > 540) {
this._y = -(50 + random(100));
this._x = 140 + random(100);
}
};
Symbol 336 MovieClip Frame 115
lep3.onEnterFrame = function () {
this._y = this._y + 1;
if (this._y > 540) {
this._y = -(50 + random(100));
this._x = 140 + random(100);
}
};
Symbol 336 MovieClip Frame 146
lep4.onEnterFrame = function () {
this._y = this._y + 3;
if (this._y > 540) {
this._y = -(50 + random(100));
this._x = 140 + random(100);
}
};
Symbol 336 MovieClip Frame 150
stop();
Symbol 359 MovieClip Frame 1
stop();
Symbol 359 MovieClip Frame 2
stop();
Symbol 359 MovieClip Frame 3
stop();
Symbol 359 MovieClip Frame 4
stop();
Symbol 359 MovieClip Frame 5
stop();
Symbol 359 MovieClip Frame 6
stop();
Symbol 359 MovieClip Frame 7
stop();
Symbol 359 MovieClip Frame 8
stop();
Symbol 359 MovieClip Frame 9
stop();
Symbol 359 MovieClip Frame 10
stop();
Symbol 359 MovieClip Frame 11
stop();
Symbol 359 MovieClip Frame 12
stop();
Symbol 359 MovieClip Frame 13
stop();
Symbol 375 MovieClip Frame 1
q.onRelease = function () {
};
q.useHandCursor = false;
Symbol 392 MovieClip Frame 1
q.onRelease = function () {
};
q.useHandCursor = false;
Instance of Symbol 304 MovieClip in Symbol 392 MovieClip Frame 1
onClipEvent (load) {
this.bonIco.gotoAndStop(2);
}
Instance of Symbol 304 MovieClip in Symbol 392 MovieClip Frame 1
onClipEvent (load) {
this.bonIco.gotoAndStop(3);
}
Instance of Symbol 304 MovieClip in Symbol 392 MovieClip Frame 1
onClipEvent (load) {
this.bonIco.gotoAndStop(4);
}
Symbol 400 MovieClip Frame 1
q.onRelease = function () {
};
q.useHandCursor = false;
Instance of Symbol 191 MovieClip in Symbol 400 MovieClip Frame 1
onClipEvent (load) {
this.pict.gotoAndStop(10);
}
on (press) {
this.dep = this.getDepth();
this.swapDepths(100);
this._xscale = 100;
this._yscale = 100;
}
on (release) {
this._xscale = 50;
this._yscale = 50;
this.swapDepths(this.dep);
}
on (releaseOutside) {
this._xscale = 50;
this._yscale = 50;
this.swapDepths(this.dep);
}
Instance of Symbol 191 MovieClip in Symbol 400 MovieClip Frame 1
onClipEvent (load) {
this.pict.gotoAndStop(9);
}
on (press) {
this.dep = this.getDepth();
this.swapDepths(100);
this._xscale = 100;
this._yscale = 100;
}
on (release) {
this._xscale = 50;
this._yscale = 50;
this.swapDepths(this.dep);
}
on (releaseOutside) {
this._xscale = 50;
this._yscale = 50;
this.swapDepths(this.dep);
}
Instance of Symbol 191 MovieClip in Symbol 400 MovieClip Frame 1
onClipEvent (load) {
this.pict.gotoAndStop(8);
}
on (press) {
this.dep = this.getDepth();
this.swapDepths(100);
this._xscale = 100;
this._yscale = 100;
}
on (release) {
this._xscale = 50;
this._yscale = 50;
this.swapDepths(this.dep);
}
on (releaseOutside) {
this._xscale = 50;
this._yscale = 50;
this.swapDepths(this.dep);
}
Instance of Symbol 191 MovieClip in Symbol 400 MovieClip Frame 1
onClipEvent (load) {
this.pict.gotoAndStop(7);
}
on (press) {
this.dep = this.getDepth();
this.swapDepths(100);
this._xscale = 100;
this._yscale = 100;
}
on (release) {
this._xscale = 50;
this._yscale = 50;
this.swapDepths(this.dep);
}
on (releaseOutside) {
this._xscale = 50;
this._yscale = 50;
this.swapDepths(this.dep);
}
Instance of Symbol 191 MovieClip in Symbol 400 MovieClip Frame 1
onClipEvent (load) {
this.pict.gotoAndStop(6);
}
on (press) {
this.dep = this.getDepth();
this.swapDepths(100);
this._xscale = 100;
this._yscale = 100;
}
on (release) {
this._xscale = 50;
this._yscale = 50;
this.swapDepths(this.dep);
}
on (releaseOutside) {
this._xscale = 50;
this._yscale = 50;
this.swapDepths(this.dep);
}
Instance of Symbol 191 MovieClip in Symbol 400 MovieClip Frame 1
onClipEvent (load) {
this.pict.gotoAndStop(5);
}
on (press) {
this.dep = this.getDepth();
this.swapDepths(100);
this._xscale = 100;
this._yscale = 100;
}
on (release) {
this._xscale = 50;
this._yscale = 50;
this.swapDepths(this.dep);
}
on (releaseOutside) {
this._xscale = 50;
this._yscale = 50;
this.swapDepths(this.dep);
}
Instance of Symbol 191 MovieClip in Symbol 400 MovieClip Frame 1
onClipEvent (load) {
this.pict.gotoAndStop(4);
}
on (press) {
this.dep = this.getDepth();
this.swapDepths(100);
this._xscale = 100;
this._yscale = 100;
}
on (release) {
this._xscale = 50;
this._yscale = 50;
this.swapDepths(this.dep);
}
on (releaseOutside) {
this._xscale = 50;
this._yscale = 50;
this.swapDepths(this.dep);
}
Instance of Symbol 191 MovieClip in Symbol 400 MovieClip Frame 1
onClipEvent (load) {
this.pict.gotoAndStop(3);
}
on (press) {
this.dep = this.getDepth();
this.swapDepths(100);
this._xscale = 100;
this._yscale = 100;
}
on (release) {
this._xscale = 50;
this._yscale = 50;
this.swapDepths(this.dep);
}
on (releaseOutside) {
this._xscale = 50;
this._yscale = 50;
this.swapDepths(this.dep);
}
Instance of Symbol 191 MovieClip in Symbol 400 MovieClip Frame 1
onClipEvent (load) {
this.pict.gotoAndStop(2);
}
on (press) {
this.dep = this.getDepth();
this.swapDepths(100);
this._xscale = 100;
this._yscale = 100;
}
on (release) {
this._xscale = 50;
this._yscale = 50;
this.swapDepths(this.dep);
}
on (releaseOutside) {
this._xscale = 50;
this._yscale = 50;
this.swapDepths(this.dep);
}
Instance of Symbol 191 MovieClip in Symbol 400 MovieClip Frame 1
onClipEvent (load) {
this.pict.gotoAndStop(19);
}
on (press) {
this.dep = this.getDepth();
this.swapDepths(100);
this._xscale = 100;
this._yscale = 100;
}
on (release) {
this._xscale = 50;
this._yscale = 50;
this.swapDepths(this.dep);
}
on (releaseOutside) {
this._xscale = 50;
this._yscale = 50;
this.swapDepths(this.dep);
}
Instance of Symbol 191 MovieClip in Symbol 400 MovieClip Frame 1
onClipEvent (load) {
this.pict.gotoAndStop(18);
}
on (press) {
this.dep = this.getDepth();
this.swapDepths(100);
this._xscale = 100;
this._yscale = 100;
}
on (release) {
this._xscale = 50;
this._yscale = 50;
this.swapDepths(this.dep);
}
on (releaseOutside) {
this._xscale = 50;
this._yscale = 50;
this.swapDepths(this.dep);
}
Instance of Symbol 191 MovieClip in Symbol 400 MovieClip Frame 1
onClipEvent (load) {
this.pict.gotoAndStop(17);
}
on (press) {
this.dep = this.getDepth();
this.swapDepths(100);
this._xscale = 100;
this._yscale = 100;
}
on (release) {
this._xscale = 50;
this._yscale = 50;
this.swapDepths(this.dep);
}
on (releaseOutside) {
this._xscale = 50;
this._yscale = 50;
this.swapDepths(this.dep);
}
Instance of Symbol 191 MovieClip in Symbol 400 MovieClip Frame 1
onClipEvent (load) {
this.pict.gotoAndStop(16);
}
on (press) {
this.dep = this.getDepth();
this.swapDepths(100);
this._xscale = 100;
this._yscale = 100;
}
on (release) {
this._xscale = 50;
this._yscale = 50;
this.swapDepths(this.dep);
}
on (releaseOutside) {
this._xscale = 50;
this._yscale = 50;
this.swapDepths(this.dep);
}
Instance of Symbol 191 MovieClip in Symbol 400 MovieClip Frame 1
onClipEvent (load) {
this.pict.gotoAndStop(15);
}
on (press) {
this.dep = this.getDepth();
this.swapDepths(100);
this._xscale = 100;
this._yscale = 100;
}
on (release) {
this._xscale = 50;
this._yscale = 50;
this.swapDepths(this.dep);
}
on (releaseOutside) {
this._xscale = 50;
this._yscale = 50;
this.swapDepths(this.dep);
}
Instance of Symbol 191 MovieClip in Symbol 400 MovieClip Frame 1
onClipEvent (load) {
this.pict.gotoAndStop(14);
}
on (press) {
this.dep = this.getDepth();
this.swapDepths(100);
this._xscale = 100;
this._yscale = 100;
}
on (release) {
this._xscale = 50;
this._yscale = 50;
this.swapDepths(this.dep);
}
on (releaseOutside) {
this._xscale = 50;
this._yscale = 50;
this.swapDepths(this.dep);
}
Instance of Symbol 191 MovieClip in Symbol 400 MovieClip Frame 1
onClipEvent (load) {
this.pict.gotoAndStop(13);
}
on (press) {
this.dep = this.getDepth();
this.swapDepths(100);
this._xscale = 100;
this._yscale = 100;
}
on (release) {
this._xscale = 50;
this._yscale = 50;
this.swapDepths(this.dep);
}
on (releaseOutside) {
this._xscale = 50;
this._yscale = 50;
this.swapDepths(this.dep);
}
Instance of Symbol 191 MovieClip in Symbol 400 MovieClip Frame 1
onClipEvent (load) {
this.pict.gotoAndStop(12);
}
on (press) {
this.dep = this.getDepth();
this.swapDepths(100);
this._xscale = 100;
this._yscale = 100;
}
on (release) {
this._xscale = 50;
this._yscale = 50;
this.swapDepths(this.dep);
}
on (releaseOutside) {
this._xscale = 50;
this._yscale = 50;
this.swapDepths(this.dep);
}
Instance of Symbol 191 MovieClip in Symbol 400 MovieClip Frame 1
onClipEvent (load) {
this.pict.gotoAndStop(11);
}
on (press) {
this.dep = this.getDepth();
this.swapDepths(100);
this._xscale = 100;
this._yscale = 100;
}
on (release) {
this._xscale = 50;
this._yscale = 50;
this.swapDepths(this.dep);
}
on (releaseOutside) {
this._xscale = 50;
this._yscale = 50;
this.swapDepths(this.dep);
}
Instance of Symbol 191 MovieClip in Symbol 400 MovieClip Frame 1
onClipEvent (load) {
this.pict.gotoAndStop(28);
}
on (press) {
this.dep = this.getDepth();
this.swapDepths(100);
this._xscale = 100;
this._yscale = 100;
}
on (release) {
this._xscale = 50;
this._yscale = 50;
this.swapDepths(this.dep);
}
on (releaseOutside) {
this._xscale = 50;
this._yscale = 50;
this.swapDepths(this.dep);
}
Instance of Symbol 191 MovieClip in Symbol 400 MovieClip Frame 1
onClipEvent (load) {
this.pict.gotoAndStop(27);
}
on (press) {
this.dep = this.getDepth();
this.swapDepths(100);
this._xscale = 100;
this._yscale = 100;
}
on (release) {
this._xscale = 50;
this._yscale = 50;
this.swapDepths(this.dep);
}
on (releaseOutside) {
this._xscale = 50;
this._yscale = 50;
this.swapDepths(this.dep);
}
Instance of Symbol 191 MovieClip in Symbol 400 MovieClip Frame 1
onClipEvent (load) {
this.pict.gotoAndStop(26);
}
on (press) {
this.dep = this.getDepth();
this.swapDepths(100);
this._xscale = 100;
this._yscale = 100;
}
on (release) {
this._xscale = 50;
this._yscale = 50;
this.swapDepths(this.dep);
}
on (releaseOutside) {
this._xscale = 50;
this._yscale = 50;
this.swapDepths(this.dep);
}
Instance of Symbol 191 MovieClip in Symbol 400 MovieClip Frame 1
onClipEvent (load) {
this.pict.gotoAndStop(25);
}
on (press) {
this.dep = this.getDepth();
this.swapDepths(100);
this._xscale = 100;
this._yscale = 100;
}
on (release) {
this._xscale = 50;
this._yscale = 50;
this.swapDepths(this.dep);
}
on (releaseOutside) {
this._xscale = 50;
this._yscale = 50;
this.swapDepths(this.dep);
}
Instance of Symbol 191 MovieClip in Symbol 400 MovieClip Frame 1
onClipEvent (load) {
this.pict.gotoAndStop(24);
}
on (press) {
this.dep = this.getDepth();
this.swapDepths(100);
this._xscale = 100;
this._yscale = 100;
}
on (release) {
this._xscale = 50;
this._yscale = 50;
this.swapDepths(this.dep);
}
on (releaseOutside) {
this._xscale = 50;
this._yscale = 50;
this.swapDepths(this.dep);
}
Instance of Symbol 191 MovieClip in Symbol 400 MovieClip Frame 1
onClipEvent (load) {
this.pict.gotoAndStop(23);
}
on (press) {
this.dep = this.getDepth();
this.swapDepths(100);
this._xscale = 100;
this._yscale = 100;
}
on (release) {
this._xscale = 50;
this._yscale = 50;
this.swapDepths(this.dep);
}
on (releaseOutside) {
this._xscale = 50;
this._yscale = 50;
this.swapDepths(this.dep);
}
Instance of Symbol 191 MovieClip in Symbol 400 MovieClip Frame 1
onClipEvent (load) {
this.pict.gotoAndStop(22);
}
on (press) {
this.dep = this.getDepth();
this.swapDepths(100);
this._xscale = 100;
this._yscale = 100;
}
on (release) {
this._xscale = 50;
this._yscale = 50;
this.swapDepths(this.dep);
}
on (releaseOutside) {
this._xscale = 50;
this._yscale = 50;
this.swapDepths(this.dep);
}
Instance of Symbol 191 MovieClip in Symbol 400 MovieClip Frame 1
onClipEvent (load) {
this.pict.gotoAndStop(21);
}
on (press) {
this.dep = this.getDepth();
this.swapDepths(100);
this._xscale = 100;
this._yscale = 100;
}
on (release) {
this._xscale = 50;
this._yscale = 50;
this.swapDepths(this.dep);
}
on (releaseOutside) {
this._xscale = 50;
this._yscale = 50;
this.swapDepths(this.dep);
}
Instance of Symbol 191 MovieClip in Symbol 400 MovieClip Frame 1
onClipEvent (load) {
this.pict.gotoAndStop(20);
}
on (press) {
this.dep = this.getDepth();
this.swapDepths(100);
this._xscale = 100;
this._yscale = 100;
}
on (release) {
this._xscale = 50;
this._yscale = 50;
this.swapDepths(this.dep);
}
on (releaseOutside) {
this._xscale = 50;
this._yscale = 50;
this.swapDepths(this.dep);
}
Instance of Symbol 191 MovieClip in Symbol 400 MovieClip Frame 1
onClipEvent (load) {
this.pict.gotoAndStop(31);
}
on (press) {
this.dep = this.getDepth();
this.swapDepths(100);
this._xscale = 100;
this._yscale = 100;
}
on (release) {
this._xscale = 50;
this._yscale = 50;
this.swapDepths(this.dep);
}
on (releaseOutside) {
this._xscale = 50;
this._yscale = 50;
this.swapDepths(this.dep);
}
Instance of Symbol 191 MovieClip in Symbol 400 MovieClip Frame 1
onClipEvent (load) {
this.pict.gotoAndStop(30);
}
on (press) {
this.dep = this.getDepth();
this.swapDepths(100);
this._xscale = 100;
this._yscale = 100;
}
on (release) {
this._xscale = 50;
this._yscale = 50;
this.swapDepths(this.dep);
}
on (releaseOutside) {
this._xscale = 50;
this._yscale = 50;
this.swapDepths(this.dep);
}
Instance of Symbol 191 MovieClip in Symbol 400 MovieClip Frame 1
onClipEvent (load) {
this.pict.gotoAndStop(29);
}
on (press) {
this.dep = this.getDepth();
this.swapDepths(100);
this._xscale = 100;
this._yscale = 100;
}
on (release) {
this._xscale = 50;
this._yscale = 50;
this.swapDepths(this.dep);
}
on (releaseOutside) {
this._xscale = 50;
this._yscale = 50;
this.swapDepths(this.dep);
}
Instance of Symbol 191 MovieClip in Symbol 400 MovieClip Frame 1
onClipEvent (load) {
this.pict.gotoAndStop(35);
}
on (press) {
this.dep = this.getDepth();
this.swapDepths(100);
this._xscale = 100;
this._yscale = 100;
}
on (release) {
this._xscale = 50;
this._yscale = 50;
this.swapDepths(this.dep);
}
on (releaseOutside) {
this._xscale = 50;
this._yscale = 50;
this.swapDepths(this.dep);
}
Instance of Symbol 191 MovieClip in Symbol 400 MovieClip Frame 1
onClipEvent (load) {
this.pict.gotoAndStop(34);
}
on (press) {
this.dep = this.getDepth();
this.swapDepths(100);
this._xscale = 100;
this._yscale = 100;
}
on (release) {
this._xscale = 50;
this._yscale = 50;
this.swapDepths(this.dep);
}
on (releaseOutside) {
this._xscale = 50;
this._yscale = 50;
this.swapDepths(this.dep);
}
Instance of Symbol 191 MovieClip in Symbol 400 MovieClip Frame 1
onClipEvent (load) {
this.pict.gotoAndStop(33);
}
on (press) {
this._xscale = 100;
this._yscale = 100;
}
on (release) {
this._xscale = 50;
this._yscale = 50;
}
on (releaseOutside) {
this._xscale = 50;
this._yscale = 50;
}
Instance of Symbol 191 MovieClip in Symbol 400 MovieClip Frame 1
onClipEvent (load) {
this.pict.gotoAndStop(32);
}
on (press) {
this.dep = this.getDepth();
this.swapDepths(100);
this._xscale = 100;
this._yscale = 100;
}
on (release) {
this._xscale = 50;
this._yscale = 50;
this.swapDepths(this.dep);
}
on (releaseOutside) {
this._xscale = 50;
this._yscale = 50;
this.swapDepths(this.dep);
}
Instance of Symbol 191 MovieClip in Symbol 400 MovieClip Frame 1
onClipEvent (load) {
this.pict.gotoAndStop(39);
}
on (press) {
this.dep = this.getDepth();
this.swapDepths(100);
this._xscale = 100;
this._yscale = 100;
}
on (release) {
this._xscale = 50;
this._yscale = 50;
this.swapDepths(this.dep);
}
on (releaseOutside) {
this._xscale = 50;
this._yscale = 50;
this.swapDepths(this.dep);
}
Instance of Symbol 191 MovieClip in Symbol 400 MovieClip Frame 1
onClipEvent (load) {
this.pict.gotoAndStop(38);
}
on (press) {
this.dep = this.getDepth();
this.swapDepths(100);
this._xscale = 100;
this._yscale = 100;
}
on (release) {
this._xscale = 50;
this._yscale = 50;
this.swapDepths(this.dep);
}
on (releaseOutside) {
this._xscale = 50;
this._yscale = 50;
this.swapDepths(this.dep);
}
Instance of Symbol 191 MovieClip in Symbol 400 MovieClip Frame 1
onClipEvent (load) {
this.pict.gotoAndStop(37);
}
on (press) {
this.dep = this.getDepth();
this.swapDepths(100);
this._xscale = 100;
this._yscale = 100;
}
on (release) {
this._xscale = 50;
this._yscale = 50;
this.swapDepths(this.dep);
}
on (releaseOutside) {
this._xscale = 50;
this._yscale = 50;
this.swapDepths(this.dep);
}
Instance of Symbol 191 MovieClip in Symbol 400 MovieClip Frame 1
onClipEvent (load) {
this.pict.gotoAndStop(36);
}
on (press) {
this.dep = this.getDepth();
this.swapDepths(100);
this._xscale = 100;
this._yscale = 100;
}
on (release) {
this._xscale = 50;
this._yscale = 50;
this.swapDepths(this.dep);
}
on (releaseOutside) {
this._xscale = 50;
this._yscale = 50;
this.swapDepths(this.dep);
}
Instance of Symbol 191 MovieClip in Symbol 400 MovieClip Frame 1
onClipEvent (load) {
this.pict.gotoAndStop(42);
}
on (press) {
this.dep = this.getDepth();
this.swapDepths(100);
this._xscale = 100;
this._yscale = 100;
}
on (release) {
this._xscale = 50;
this._yscale = 50;
this.swapDepths(this.dep);
}
on (releaseOutside) {
this._xscale = 50;
this._yscale = 50;
this.swapDepths(this.dep);
}
Instance of Symbol 191 MovieClip in Symbol 400 MovieClip Frame 1
onClipEvent (load) {
this.pict.gotoAndStop(41);
}
on (press) {
this.dep = this.getDepth();
this.swapDepths(100);
this._xscale = 100;
this._yscale = 100;
}
on (release) {
this._xscale = 50;
this._yscale = 50;
this.swapDepths(this.dep);
}
on (releaseOutside) {
this._xscale = 50;
this._yscale = 50;
this.swapDepths(this.dep);
}
Instance of Symbol 191 MovieClip in Symbol 400 MovieClip Frame 1
onClipEvent (load) {
this.pict.gotoAndStop(40);
}
on (press) {
this.dep = this.getDepth();
this.swapDepths(100);
this._xscale = 100;
this._yscale = 100;
}
on (release) {
this._xscale = 50;
this._yscale = 50;
this.swapDepths(this.dep);
}
on (releaseOutside) {
this._xscale = 50;
this._yscale = 50;
this.swapDepths(this.dep);
}
Symbol 414 MovieClip Frame 1
q.onRelease = function () {
};
q.useHandCursor = false;
Instance of Symbol 191 MovieClip "dd3" in Symbol 414 MovieClip Frame 1
onClipEvent (load) {
this.pict.gotoAndStop(5);
}
on (release) {
this.cant.gotoAndStop(2);
if (this._parent.d1 == true) {
this._parent.dd1.tween("_alpha", 0, 2, "easeOutQuad", 0);
this._parent.dd3.tween("_alpha", 0, 2, "easeOutQuad", 0);
} else {
this._parent.d3 = true;
}
}
Instance of Symbol 191 MovieClip "dd2" in Symbol 414 MovieClip Frame 1
onClipEvent (load) {
this.pict.gotoAndStop(15);
}
Instance of Symbol 191 MovieClip "dd1" in Symbol 414 MovieClip Frame 1
onClipEvent (load) {
this.pict.gotoAndStop(5);
}
on (release) {
this.cant.gotoAndStop(2);
if (this._parent.d3 == true) {
this._parent.dd1.tween("_alpha", 0, 1, "easeOutQuad", 0);
this._parent.dd3.tween("_alpha", 0, 1, "easeOutQuad", 0);
} else {
this._parent.d1 = true;
}
}
Instance of Symbol 23 MovieClip in Symbol 414 MovieClip Frame 1
on (rollOver) {
this.btnFx.gotoAndPlay(2);
}
on (rollOut) {
this.btnFx.gotoAndPlay(11);
}
onClipEvent (load) {
this.btnCaps.caps = "Hint";
}
on (release) {
this._parent.dd1._alpha = 100;
this._parent.dd3._alpha = 100;
this._parent.dd1.cant.gotoAndStop(3);
this._parent.dd3.cant.gotoAndStop(3);
}
Instance of Symbol 23 MovieClip in Symbol 414 MovieClip Frame 1
on (rollOver) {
this.btnFx.gotoAndPlay(2);
}
on (rollOut) {
this.btnFx.gotoAndPlay(11);
}
onClipEvent (load) {
this.btnCaps.caps = "Shuffle";
}
on (release) {
this._parent.dd1._alpha = 100;
this._parent.dd3._alpha = 100;
var x1 = this._parent.dd1._x;
var x2 = this._parent.dd2._x;
var x3 = this._parent.dd3._x;
this._parent.dd1._x = x2;
this._parent.dd2._x = x1;
}
Symbol 415 MovieClip Frame 1
stop();
this.pg1.pgBtn.onRelease = function () {
this._parent._parent.gotoAndStop(1);
};
this.pg2.pgBtn.onRelease = function () {
this._parent._parent.gotoAndStop(2);
};
this.pg3.pgBtn.onRelease = function () {
this._parent._parent.gotoAndStop(3);
};
this.pg4.pgBtn.onRelease = function () {
this._parent._parent.gotoAndStop(4);
};
Symbol 415 MovieClip Frame 2
stop();
this.pg1.pgBtn.onRelease = function () {
this._parent._parent.gotoAndStop(1);
};
this.pg2.pgBtn.onRelease = function () {
this._parent._parent.gotoAndStop(2);
};
this.pg3.pgBtn.onRelease = function () {
this._parent._parent.gotoAndStop(3);
};
this.pg4.pgBtn.onRelease = function () {
this._parent._parent.gotoAndStop(4);
};
Symbol 415 MovieClip Frame 3
stop();
this.pg1.pgBtn.onRelease = function () {
this._parent._parent.gotoAndStop(1);
};
this.pg2.pgBtn.onRelease = function () {
this._parent._parent.gotoAndStop(2);
};
this.pg3.pgBtn.onRelease = function () {
this._parent._parent.gotoAndStop(3);
};
this.pg4.pgBtn.onRelease = function () {
this._parent._parent.gotoAndStop(4);
};
Symbol 415 MovieClip Frame 4
stop();
this.pg1.pgBtn.onRelease = function () {
this._parent._parent.gotoAndStop(1);
};
this.pg2.pgBtn.onRelease = function () {
this._parent._parent.gotoAndStop(2);
};
this.pg3.pgBtn.onRelease = function () {
this._parent._parent.gotoAndStop(3);
};
this.pg4.pgBtn.onRelease = function () {
this._parent._parent.gotoAndStop(4);
};