Frame 1
_global.userName = "";
top10 = new Array();
top10Names = new Array();
var so = SharedObject.getLocal("AbsolutistDropsCookie");
top10[1] = so.data.top10_1;
top10[2] = so.data.top10_2;
top10[3] = so.data.top10_3;
top10[4] = so.data.top10_4;
top10[5] = so.data.top10_5;
top10[6] = so.data.top10_6;
top10[7] = so.data.top10_7;
top10[8] = so.data.top10_8;
top10[9] = so.data.top10_9;
top10[10] = so.data.top10_10;
top10Names[1] = so.data.top10_1Name;
top10Names[2] = so.data.top10_2Name;
top10Names[3] = so.data.top10_3Name;
top10Names[4] = so.data.top10_4Name;
top10Names[5] = so.data.top10_5Name;
top10Names[6] = so.data.top10_6Name;
top10Names[7] = so.data.top10_7Name;
top10Names[8] = so.data.top10_8Name;
top10Names[9] = so.data.top10_9Name;
top10Names[10] = so.data.top10_10Name;
if ((so.data.userName != undefined) & (so.data.userName != "")) {
_global.userName = so.data.userName;
var soPl = SharedObject.getLocal(_global.userName);
_global.arcade = soPl.data.arcade;
} else {
so.data.userName = "";
_global.userName = "";
}
if ((so.data.usersNumb == undefined) or (so.data.usersNumb < 1)) {
_global.usersNumb = 0;
so.data.usersNumb = 0;
}
if (((((so.data.levelNumber != undefined) & (so.data.levelNumber != 1)) & (so.data.soGlassSize != undefined)) & (so.data.soCount != undefined)) & (so.data.reload == 1)) {
so.data.reload = 0;
_global.soundOff = _root.so.data.soundOff;
tmep = 1;
play();
} else {
stop();
}
Frame 2
function Crypto(st) {
var _local9 = 0;
var _local8 = 0;
var _local4 = 0;
while (_local4 < st.length) {
_local9 = _local9 + st.charCodeAt(_local4);
_local8 = _local8 + (st.charCodeAt(_local4) ^ 175);
_local4++;
}
_local9 = _local9 % 256;
_local8 = _local8 % 256;
st = (String.fromCharCode(_local9) + String.fromCharCode(_local8)) + st;
var _local10 = "";
var _local7 = 193;
_local4 = 0;
while (_local4 < st.length) {
var _local6 = st.charCodeAt(_local4);
var _local1 = _local6 ^ _local7;
_local1 = _local1.toString();
var _local5 = _local1.length;
var _local2 = 0;
while (_local2 < (3 - _local5)) {
_local1 = "0" + _local1;
_local2++;
}
_local10 = _local10 + _local1;
_local7 = _local6;
_local4++;
}
return(_local10);
}
if (tmep == 1) {
play();
} else {
stop();
}
Frame 3
function createListeners() {
var _local1 = new Object();
_local1.onKeyDown = function () {
if (Key.getAscii() == 32) {
if (cheat == "n") {
menu.nextLevel();
}
if (cheat == "adddrops") {
game.dropGlAm = game.dropGlAm + 10;
menu.glassSize = game.dropGlAm;
}
if (cheat == "loadoff") {
loadOn = false;
}
if (cheat == "loadon") {
loadOn = true;
}
if (cheat == "bonus") {
game.zhabaSay = 9929;
}
cheat = "";
} else {
cheat = cheat + chr(Key.getAscii());
}
};
Key.addListener(_local1);
}
tmep = 0;
help._visible = false;
fieldM = new OFieldManager();
game.indX = 40;
game.indY = 70;
game.dropWidth = 38;
game.dropHeight = 38;
game.glassX = 530;
game.glassY = 240;
game.glassMaxSize = 50;
game.glassHeight = 80;
game.glassWidth = 100;
game.glassColumnAmount = 5;
game.glassDropWidth = 15;
game.glassDropHeight = 18;
menu.initField("game");
menu.initFieldManager("fieldM");
ppp = 1;
var tmpiii = 1;
Mouse.hide();
cursor_mc.onMouseMove = function () {
ddx = _xmouse - 533;
ddy = _ymouse - 407;
gp = Math.sqrt((ddx * ddx) + (ddy * ddy));
ang = Math.asin(ddy / gp);
ang = (180 * ang) / Math.PI;
if ((ddx < 0) & (ddy < 0)) {
kdr = Math.round(Math.abs(ang)) + 270;
} else if ((ddx >= 0) & (ddy < 0)) {
kdr = Math.round(ang) + 90;
} else if ((ddx >= 0) & (ddy >= 0)) {
kdr = Math.round(ang) + 90;
} else if ((ddx < 0) & (ddy >= 0)) {
kdr = 270 - Math.round(ang);
}
menu.zhaba.glZh.gotoAndStop(kdr);
if (ppp == 4) {
ppp = 1;
if (random(2) == 0) {
_root.attachMovie("sh", "sh" + tmpiii, _root.getNextHighestDepth(), {_x:(oldX + 22) + random(5), _y:(oldY + 22) + random(5)});
tmpiii++;
_root["sh" + tmpiii].cacheAsBitmap = true;
}
} else {
ppp++;
}
oldX = _root._xmouse - 18;
oldY = _root._ymouse - 15;
this._x = _xmouse - 18;
this._y = _ymouse - 15;
updateAfterEvent();
};
stop();
var loadOn = true;
var cheat = "";
createListeners();
Symbol 62 MovieClip Frame 1
gotoAndStop (18);
Symbol 62 MovieClip Frame 18
stop();
Symbol 67 MovieClip Frame 20
stop();
Symbol 70 MovieClip Frame 20
stop();
Symbol 72 Button
on (release) {
this.onDropPress();
}
Symbol 75 MovieClip Frame 20
stop();
Symbol 78 Button
on (release) {
this.onDropPress();
}
Symbol 79 MovieClip [dropGreen] Frame 1
#initclip 8
Object.registerClass("dropGreen", OBubble);
#endinitclip
stop();
Symbol 79 MovieClip [dropGreen] Frame 2
stop();
Symbol 79 MovieClip [dropGreen] Frame 3
stop();
Symbol 79 MovieClip [dropGreen] Frame 4
stop();
Symbol 79 MovieClip [dropGreen] Frame 5
stop();
Symbol 79 MovieClip [dropGreen] Frame 6
stop();
Symbol 79 MovieClip [dropGreen] Frame 7
stop();
Symbol 79 MovieClip [dropGreen] Frame 8
stop();
Symbol 79 MovieClip [dropGreen] Frame 9
stop();
Symbol 79 MovieClip [dropGreen] Frame 10
stop();
Symbol 112 MovieClip Frame 1
gotoAndStop (18);
Symbol 112 MovieClip Frame 18
stop();
Symbol 117 MovieClip Frame 20
stop();
Symbol 120 MovieClip Frame 20
stop();
Symbol 123 MovieClip Frame 20
stop();
Symbol 124 MovieClip [drop] Frame 1
#initclip 5
Object.registerClass("drop", OBubble);
#endinitclip
stop();
Symbol 124 MovieClip [drop] Frame 2
stop();
Symbol 124 MovieClip [drop] Frame 3
stop();
Symbol 124 MovieClip [drop] Frame 4
stop();
Symbol 124 MovieClip [drop] Frame 5
gotoAndStop ("fr1");
Symbol 124 MovieClip [drop] Frame 6
stop();
Symbol 124 MovieClip [drop] Frame 7
stop();
Symbol 124 MovieClip [drop] Frame 8
stop();
Symbol 124 MovieClip [drop] Frame 9
stop();
Symbol 124 MovieClip [drop] Frame 10
gotoAndStop ("fr1");
Symbol 127 MovieClip [sh] Frame 16
this.removeMovieClip();
Instance of Symbol 131 MovieClip "anim" in Symbol 133 MovieClip [glass] Frame 1
on (rollOver) {
this.play();
}
on (rollOut) {
this.stop();
}
Symbol 150 MovieClip Frame 10
stop();
Symbol 154 Button
on (release) {
getURL ("http://absolutist.com/online/?r=onlineBLOB", _blank);
}
Symbol 156 Button
on (release) {
_parent.help._visible = true;
}
Symbol 167 MovieClip Frame 1
stop();
Symbol 169 Button
on (press) {
Mouse.show();
_root.gotoAndStop(2);
}
Symbol 173 MovieClip Frame 1
anim.stop();
Instance of Symbol 131 MovieClip "anim" in Symbol 173 MovieClip Frame 1
on (rollOver) {
this.play();
}
on (rollOut) {
this.stop();
}
Symbol 176 Button
on (dragOut, releaseOutside) {
_parent.glZh._visible = true;
}
on (press) {
_parent.glZh._visible = false;
}
on (release) {
_parent.glZh._visible = true;
if (!game) {
game = true;
gOver = false;
endLevelAnim = false;
rekl = false;
onNewGameButtonPress();
} else {
restart._visible = true;
restart.gotoAndPlay(10);
}
}
Symbol 186 MovieClip Frame 15
stop();
Symbol 195 MovieClip Frame 17
_parent.gotoAndStop("normal");
Symbol 199 MovieClip Frame 1
st = 0;
Symbol 199 MovieClip Frame 8
if (st == 2) {
_parent.gotoAndStop("normal");
} else {
st++;
gotoAndPlay (2);
}
Symbol 211 MovieClip Frame 1
st = 0;
Symbol 211 MovieClip Frame 22
_parent.gotoAndStop("son");
Symbol 246 MovieClip Frame 20
_parent._parent.zhabaSpit = true;
if (!_global.soundOff) {
_parent._parent.zhSon.start(0, 1000000);
}
stop();
Symbol 252 MovieClip Frame 5
stop();
Symbol 256 MovieClip Frame 3
stop();
Symbol 257 MovieClip Frame 1
stop();
Symbol 267 Button
on (release) {
_parent._parent.endLevelAnim = false;
_parent._parent.nextLevel();
_parent._parent.st = 0;
_parent._visible = false;
_parent.gotoAndStop(1);
}
Symbol 270 Button
on (release) {
getURL ("http://www.absolutist.com/online/", _blank);
}
Symbol 279 MovieClip Frame 1
stop();
Symbol 279 MovieClip Frame 20
stop();
Symbol 290 MovieClip Frame 1
stop();
Symbol 290 MovieClip Frame 2
stop();
Symbol 291 Button
on (press) {
this._visible = false;
}
Symbol 298 MovieClip Frame 1
if (!_global.soundOff) {
seaS = new Sound();
seaS.attachSound("sea");
seaS.start(0, 1);
}
Symbol 298 MovieClip Frame 26
stop();
Symbol 303 MovieClip Frame 20
gotoAndPlay (1);
Symbol 313 MovieClip Frame 1
stop();
Symbol 315 MovieClip Frame 26
stop();
Symbol 318 MovieClip Frame 26
digit1.gotoAndStop(dig1 + 1);
digit2.gotoAndStop(dig2 + 1);
digit3.gotoAndStop(dig3 + 1);
Symbol 318 MovieClip Frame 87
this._visible = false;
stop();
Symbol 326 MovieClip Frame 1
if (!_global.soundOff) {
seaS = new Sound();
seaS.attachSound("sea");
seaS.start(0, 1);
}
Symbol 326 MovieClip Frame 29
stop();
Symbol 327 MovieClip Frame 20
stop();
Symbol 332 Button
on (release) {
this._visible = false;
}
Symbol 333 Button
on (release) {
this._visible = false;
_parent.onNewGameButtonPress();
}
Symbol 337 MovieClip Frame 42
stop();
Symbol 347 MovieClip Frame 1
if (!_global.soundOff) {
seaS = new Sound();
seaS.attachSound("sea");
seaS.start(0, 1);
}
Symbol 347 MovieClip Frame 32
stop();
Symbol 348 Button
on (release) {
Mouse.show();
_root.gotoAndStop(2);
}
Symbol 350 MovieClip Frame 42
stop();
Symbol 355 Button
on (release) {
game = true;
gOver = false;
endLevelAnim = false;
rekl = false;
this.newGame(13, gameType, _parent[fieldName].dropGlAm);
}
Symbol 357 Button
on (release) {
var stIn = new String();
stIn = "";
stIn = this.score;
stIn = stIn + "\t";
stIn = stIn + "0";
stIn = stIn + "\t";
stIn = stIn + _global.userName;
stIn = stIn + "\t";
stIn = stIn + "drj";
stIn = stIn + "\t";
stIn = stIn + "swf";
trace(stIn);
var HtmlMaskBubbleS = [219, 142, 179, 7, 233, 210, 123, 51, 22, 33];
var sum1 = 0;
var sum2 = 0;
var len = stIn.length;
var i = 0;
while (i < len) {
sum1 = sum1 + stIn.charCodeAt(i);
sum2 = sum2 + (stIn.charCodeAt(i) ^ 175);
i++;
}
sum1 = sum1 % 256;
sum2 = sum2 % 256;
var st = [];
st[0] = String.fromCharCode(sum1);
st[1] = String.fromCharCode(sum2);
i = 0;
while (i < len) {
st[2 + i] = stIn.charAt(i);
i++;
}
var stOut = new String();
stOut[0] = 0;
var b0 = 193;
var ch = new String();
ch = "";
len = len + 2;
i = 0;
while (i < len) {
var b = ord(st[i]);
var CryptB = (b ^ b0);
CryptB = CryptB ^ HtmlMaskBubbleS[i % 10];
ch = "" + CryptB;
var stCryptB = new String();
stCryptB = ch;
var vlen = stCryptB.length;
var addch0 = new String();
addch0 = "";
var j = 0;
while (j < (3 - vlen)) {
addch0 = addch0 + "0";
j++;
}
ch = (("" + addch0) + "") + stCryptB;
stCryptB = ch;
stOut = stOut + stCryptB;
b0 = b;
i++;
}
var strlink = ("http://absolutist.com/cgi-bin/gameres.pl?g=drj&e=" + stOut);
getURL (strlink, "_top");
}
Symbol 358 MovieClip [menu] Frame 1
#initclip 6
Object.registerClass("menu", OMenu);
#endinitclip
Instance of Symbol 167 MovieClip in Symbol 358 MovieClip [menu] Frame 1
on (rollOver) {
play();
}
on (rollOut) {
gotoAndStop (1);
}
on (press) {
getURL ("http://www.absolutist.com", "_blank");
}
Instance of Symbol 257 MovieClip "zhaba" in Symbol 358 MovieClip [menu] Frame 1
on (rollOut) {
if (!_parent.zhabaSpit) {
if (!_parent.tiho) {
this.gotoAndStop("normal");
} else {
this.gotoAndStop("tixo");
}
}
}
on (rollOver) {
if (!_parent.zhabaSpit) {
if (!_parent.tiho) {
this.gotoAndStop("tixo2");
} else {
this.gotoAndStop("mouseMove");
}
}
}
on (release) {
if (_parent.zhabaSpit) {
_parent.zhSon.stop();
}
if (!_parent.tiho) {
_parent.zhabaSpit = false;
this.gotoAndStop("tixo");
_parent.tiho = true;
_parent._parent[_parent.fieldName].zhabaSay = 0;
_parent._parent[_parent.fieldName].lastDst = new Date();
_parent._parent[_parent.fieldName].zhabaNorm = true;
_parent._parent[_parent.fieldName].zhabaSleep = false;
_parent.zhSon.stop();
} else {
_parent.zhabaSpit = false;
this.gotoAndStop("normal");
_parent.tiho = false;
_parent._parent[_parent.fieldName].zhabaSay = 0;
_parent._parent[_parent.fieldName].lastDst = new Date();
_parent._parent[_parent.fieldName].zhabaNorm = true;
_parent._parent[_parent.fieldName].zhabaSleep = false;
_parent.zhSon.stop();
}
}
Instance of Symbol 290 MovieClip "selector" in Symbol 358 MovieClip [menu] Frame 1
on (release) {
this.play();
_global.soundOff = !_global.soundOff;
if (_global.soundOff) {
stopAllSounds();
}
if (_parent._parent[_parent.fieldName].zhabaSleep) {
_parent._parent[_parent.fieldName].zhabaNorm = true;
_parent._parent[_parent.fieldName].zhabaSleep = false;
}
_parent._parent[_parent.fieldName].lastDst = new Date();
}
Symbol 359 MovieClip [gameField] Frame 1
#initclip 7
Object.registerClass("gameField", OGameField);
#endinitclip
Symbol 385 Button
on (release) {
_parent.play();
}
Symbol 392 MovieClip Frame 1
stop();
Symbol 392 MovieClip Frame 4
stop();
Symbol 404 MovieClip Frame 23
stop();
Symbol 408 MovieClip Frame 1
tmr = new Date();
ts = tmr.getTime();
tp = 5000;
Symbol 408 MovieClip Frame 33
zhaba44.play();
Symbol 408 MovieClip Frame 80
tmr = new Date();
tm = tmr.getTime();
if ((tm - ts) > tp) {
_parent.play();
stop();
}
Symbol 408 MovieClip Frame 81
gotoAndPlay (80);
Symbol 552 MovieClip [__Packages.OBubble] Frame 0
class OBubble extends MovieClip
{
var _parent, dropX, dropY, mExp, dropType, gotoAndStop, expMe, expL, dropFill;
function OBubble () {
super();
}
function onDropPress() {
_parent.onDropPress(dropX, dropY);
}
function expDrop() {
mExp.gotoAndPlay(2);
if (dropType == "1") {
gotoAndStop("fr1");
}
expMe = false;
expL = true;
}
function incDropType() {
if (dropType == "0") {
gotoAndStop("fra");
dropType = "a";
} else if (dropType == "a") {
gotoAndStop("frb");
dropType = "b";
} else if (dropType == "b") {
gotoAndStop("frc");
dropType = "c";
} else if (dropType == "c") {
_parent.userSt = 0;
mExp.gotoAndStop(2);
expMe = true;
expL = true;
dropFill = 1;
dropType = "1";
} else if (dropType == "1") {
gotoAndStop("fra2");
dropType = "A";
} else if (dropType == "A") {
gotoAndStop("frb2");
dropType = "B";
} else if (dropType == "B") {
gotoAndStop("frc2");
dropType = "C";
} else if (dropType == "C") {
mExp.gotoAndStop(2);
expMe = true;
expL = true;
gotoAndStop("fr1");
dropType = "1";
}
}
function setDropType(type) {
var _local3;
var _local2;
if (type == "r") {
_local3 = random(4);
switch (_local3) {
case 0 :
_local2 = 0;
break;
case 1 :
_local2 = "a";
break;
case 2 :
_local2 = "b";
break;
case 3 :
_local2 = "c";
}
} else if (type == "R") {
_local3 = random(4);
switch (_local3) {
case 0 :
_local2 = "1";
break;
case 1 :
_local2 = "A";
break;
case 2 :
_local2 = "B";
break;
case 3 :
_local2 = "C";
}
} else {
_local2 = type;
}
if (((((_local2 == "a") || (_local2 == "c")) || (_local2 == "b")) || (_local2 == "1")) || (_local2 == "0")) {
gotoAndStop("fr" + _local2);
dropFill = 0;
} else {
gotoAndStop(("fr" + _local2) + "2");
dropFill = 1;
}
if (_local2 == "1") {
dropFill = 1;
}
dropType = _local2;
}
var dropBangFl = false;
}
Symbol 553 MovieClip [__Packages.OMenu] Frame 0
class OMenu extends MovieClip
{
var selector, nl, sb, zhabaSay, reklama, zhabaText, gameOver, startLevel, restart, zhSon, zhZevok, zhNoGood, game, gOver, gameType, globalScore, soCount, levelNumb, fieldManagerName, _parent, fieldName, timerMovie, timeStart, maxLevelTime, dddd, soLevelNumber, soGlassSize, timeN, nTime, stTxt, zhaba, glassSize, score, t2, t1;
function OMenu () {
super();
if (_global.soundOff) {
selector.gotoAndStop(2);
} else {
selector.gotoAndStop(1);
}
nl._visible = false;
sb._visible = false;
zhabaSay._visible = false;
reklama._visible = false;
zhabaText = "";
gameOver._visible = false;
startLevel._visible = false;
restart._visible = false;
zhSon = new Sound();
zhSon.attachSound("sonZh");
zhZevok = new Sound();
zhZevok.attachSound("zevokZh");
zhNoGood = new Sound();
zhNoGood.attachSound("noGood");
game = false;
gOver = false;
}
function onNewGameButtonPress() {
arcade = _global.arcade;
nl._visible = false;
sb._visible = false;
st = 0;
clearSettings();
gameType = 1;
game = true;
globalScore = 0;
soCount = 0;
levelNumb = 0;
gOver = false;
endLevelAnim = false;
newGame(13, 1, 0);
}
function onNextButtonPress() {
gameType++;
if (gameType > _parent[fieldManagerName].fieldAmount) {
gameType = 1;
}
game = true;
gOver = false;
endLevelAnim = false;
newGame(13, gameType, 120);
}
function initField(fName) {
fieldName = fName;
}
function initFieldManager(fName) {
fieldManagerName = fName;
}
function newGame(fieldSize, fieldMaskNumb, glassSize) {
nl._visible = false;
sb._visible = false;
game = true;
st = 0;
nRek = false;
soCount = 0;
_global.score = 0;
arcade = _global.arcade;
if (arcade) {
timerMovie._visible = true;
} else {
timerMovie._visible = false;
}
if (arcade) {
timeStart = new Date();
maxLevelTime = _parent[fieldManagerName].getMaxLevelTime(fieldMaskNumb);
}
startLevel._visible = true;
startLevel.gotoAndPlay(1);
levelNumb++;
startLevel.dig1 = levelNumb % 10;
startLevel.dig2 = Math.floor((levelNumb % 100) / 10);
startLevel.dig3 = Math.floor(levelNumb / 100);
startLevel.levelNumber = levelNumb;
if (_parent.background.back._name == "back") {
_parent.background.back.removeMovieClip();
}
switch (random(6)) {
case 0 :
_parent.background.attachMovie("back1", "back", _parent.background.getNextHighestDepth(), {_x:300, _y:160});
break;
case 1 :
_parent.background.attachMovie("back2", "back", _parent.background.getNextHighestDepth(), {_x:-43, _y:-45});
break;
case 2 :
_parent.background.attachMovie("back3", "back", _parent.background.getNextHighestDepth(), {_x:-12, _y:-34});
break;
case 3 :
_parent.background.attachMovie("back4", "back", _parent.background.getNextHighestDepth(), {_x:328, _y:251});
break;
case 4 :
_parent.background.attachMovie("back5", "back", _parent.background.getNextHighestDepth(), {_x:320, _y:240});
break;
case 5 :
_parent.background.attachMovie("back6", "back", _parent.background.getNextHighestDepth(), {_x:320, _y:240});
}
_parent.background.back.cacheAsBitmap = true;
_parent[fieldName].resetGame();
_parent[fieldName].newGame(fieldSize, _parent[fieldManagerName].getGField(fieldMaskNumb), glassSize);
_parent[fieldName].introAnim = true;
}
function clearSettings() {
_root.so.data.levelNumber = 1;
_root.so.data.soGlassSize = 0;
_root.so.data.soCount = 0;
_root.soPl.data.levelNumber = 1;
_root.soPl.data.soGlassSize = 0;
_root.soPl.data.soCount = 0;
}
function saveTop10() {
var _local4;
var _local3;
trace("top10save");
_local4 = 1;
while (_local4 <= 10) {
trace((_root.top10[_local4] + " ") + _local4);
if (((globalScore + _parent[fieldName].score) > _root.top10[_local4]) or (_root.top10[_local4] == undefined)) {
trace("enter if");
_local3 = 9;
while (_local3 >= _local4) {
_root.top10[_local3 + 1] = _root.top10[_local3];
_root.top10Names[_local3 + 1] = _root.top10Names[_local3];
_local3--;
}
_root.top10[_local4] = globalScore + _parent[fieldName].score;
_root.top10Names[_local4] = _root.so.data.userName;
trace((((((("------ " + globalScore) + " ") + _parent[fieldName].score) + " ") + _root.top10[_local4]) + " ") + _local4);
break;
}
_local4++;
}
_root.so.data.top10_1 = _root.top10[1];
trace(_root.so.data.top10_1);
_root.so.data.top10_2 = _root.top10[2];
trace(_root.so.data.top10_2);
_root.so.data.top10_3 = _root.top10[3];
_root.so.data.top10_4 = _root.top10[4];
_root.so.data.top10_5 = _root.top10[5];
_root.so.data.top10_6 = _root.top10[6];
_root.so.data.top10_7 = _root.top10[7];
_root.so.data.top10_8 = _root.top10[8];
_root.so.data.top10_9 = _root.top10[9];
_root.so.data.top10_10 = _root.top10[10];
_root.so.data.top10_1Name = _root.top10Names[1];
_root.so.data.top10_2Name = _root.top10Names[2];
_root.so.data.top10_3Name = _root.top10Names[3];
_root.so.data.top10_4Name = _root.top10Names[4];
_root.so.data.top10_5Name = _root.top10Names[5];
_root.so.data.top10_6Name = _root.top10Names[6];
_root.so.data.top10_7Name = _root.top10Names[7];
_root.so.data.top10_8Name = _root.top10Names[8];
_root.so.data.top10_9Name = _root.top10Names[9];
_root.so.data.top10_10Name = _root.top10Names[10];
}
function saveSettings() {
_root.so.data.levelNumber = gameType;
_root.so.data.soGlassSize = _parent[fieldName].dropGlAm;
_root.so.data.soCount = globalScore;
_root.so.data.arcade = _global.arcade;
_root.so.data.soundOff = _global.soundOff;
_root.soPl.data.levelNumber = gameType;
_root.soPl.data.soGlassSize = _parent[fieldName].dropGlAm;
_root.soPl.data.soCount = globalScore;
_root.soPl.data.arcade = _global.arcade;
dddd = "save";
}
function loadSettings() {
dddd = "load";
soLevelNumber = _root.so.data.levelNumber;
soGlassSize = _root.so.data.soGlassSize;
soCount = _root.so.data.soCount;
if (((soLevelNumber != undefined) & (soGlassSize != undefined)) & (soCount != undefined)) {
return(true);
}
return(false);
}
function continueGame() {
nRek = false;
gameType = soLevelNumber;
game = true;
globalScore = soCount;
levelNumb = soLevelNumber - 1;
gOver = false;
endLevelAnim = false;
newGame(13, soLevelNumber, soGlassSize);
dddd = "cont.";
}
function timer() {
var _local2;
timeN = new Date();
if ((timeN.getTime() - timeStart.getTime()) > (maxLevelTime * 1000)) {
return(true);
}
_local2 = maxLevelTime - Math.floor((timeN.getTime() - timeStart.getTime()) / 1000);
timerMovie.gotoAndStop(Math.round((_local2 / maxLevelTime) * 100));
}
function onEnterFrame() {
nTime = new Date();
if ((nTime.getTime() - stTxt.getTime()) > 4000) {
zhabaSay._visible = false;
zhabaText = "";
}
if (_parent[fieldName].zhabaNorm) {
zhaba.gotoAndStop("normal");
_parent[fieldName].zhabaNorm = false;
zhSon.stop();
}
if (_parent[fieldName].zhabaSay > 0) {
stTxt = new Date();
if ((_parent[fieldName].zhabaSay == 1) or (_parent[fieldName].zhabaSay == 2)) {
switch (random(8)) {
case 0 :
zhabaTxt("You are doing great!");
break;
case 1 :
zhabaTxt("Keep on, I'm watching you!");
break;
case 2 :
zhabaTxt("Just stunning");
break;
case 3 :
zhabaTxt("You are a real blob-buster!");
break;
case 4 :
zhabaTxt("Croak! Croak! Hurraaaah!");
break;
case 5 :
zhabaTxt("Well done ;)");
break;
case 6 :
zhabaTxt("You'll get Oscar for such a great bursting.");
break;
case 7 :
zhabaTxt("Are you going to be our Pond King?");
}
if (random(2) == 1) {
zhaba.gotoAndStop("radost");
} else {
zhaba.gotoAndStop("tanec");
}
}
if (_parent[fieldName].zhabaSay == 3) {
switch (random(8)) {
case 0 :
zhabaTxt("Hey, come on, I'm going to fall asleep.");
break;
case 1 :
zhabaTxt("Aren't you going to win the game, lazy-bones?");
break;
case 2 :
zhabaTxt("Hey! Is the water freezing or you moving so slow?");
break;
case 3 :
zhabaTxt("Oh, come on, this is easy job!");
break;
case 4 :
zhabaTxt("Think, think, think!");
break;
case 5 :
zhabaTxt("To win or not to win - that is the question...");
}
if (!_global.soundOff) {
zhNoGood.start(0, 1);
}
}
if (_parent[fieldName].zhabaSay == 4) {
if (random(2) == 1) {
zhabaTxt("I'm going to sleep a bit, wake me up when you succeed.");
} else {
zhabaTxt("I'm going to sleep a bit, wake me up when you succeed.");
}
zhaba.gotoAndStop("zevok");
if (!_global.soundOff) {
zhZevok.start(0, 1);
}
}
_parent[fieldName].zhabaSay = 0;
}
if (drSt == 1) {
drSt = 3;
if (loadSettings()) {
continueGame();
} else {
onNewGameButtonPress();
}
} else {
drSt++;
}
st++;
glassSize = _parent[fieldName].dropGlAm;
if (game & (st >= 10)) {
st = 0;
score = globalScore + _parent[fieldName].score;
if (_parent[fieldName].levelCompleteCheckFlag) {
maxLevelTime = maxLevelTime + 30;
var _local3;
_local3 = _parent[fieldName].dropAm;
while (_local3 >= 0) {
if ((_parent[fieldName]["drop" + _local3].dropType == "c") || (_parent[fieldName]["drop" + _local3].dropType == "C")) {
_parent[fieldName].dropInGlass();
break;
}
_local3--;
}
if (_local3 <= 0) {
_parent[fieldName].levelEnd = true;
}
game = false;
}
} else if (_parent[fieldName].levelEnd & (!endLevelAnim)) {
endLevel();
}
if ((_parent[fieldName].gameOver or timer()) & (!gOver)) {
gameOverFunc();
}
if ((_parent[fieldName].end & _parent[fieldName].endGl) & (!rekl)) {
trace("!!!!!!!!!!!");
if (((gameType % 3) == 0) & (!nRek)) {
rekl = true;
nRek = true;
reklama._visible = true;
reklama.gotoAndPlay(2);
} else {
_parent[fieldName].end = false;
_parent[fieldName].endGl = false;
game = false;
rekl = true;
endLevelAnim = false;
nextLevel();
st = 0;
}
}
if (t2 != undefined) {
restartPause();
}
}
function gameOverFunc() {
saveTop10();
game = false;
gOver = true;
gameOver._visible = true;
gameOver.gotoAndPlay(1);
}
function endLevel() {
_parent[fieldName].outDropNum = _parent[fieldName].dropAm + 1;
_parent[fieldName].introGlass = _parent[fieldName].dropGlAm + 1;
endLevelAnim = true;
_parent[fieldName].outGlassAnim = true;
_parent[fieldName].outAnim = true;
}
function zhabaTxt(msg) {
zhabaSay._visible = true;
zhabaText = msg;
}
function restartPause() {
t1 = new Date();
if ((t1.getTime() - t2.getTime()) > 3000) {
delete t1;
delete t2;
_root.tmep = 1;
_root.gotoAndPlay(2);
}
}
function nextLevel() {
_parent[fieldName].end = false;
nRek = false;
gameType++;
if (gameType > _parent[fieldManagerName].fieldAmount) {
gameType = 1;
}
game = true;
trace("!! " + globalScore);
globalScore = globalScore + _parent[fieldName].score;
trace("!! " + globalScore);
saveSettings();
game = false;
_root.so.data.reload = 1;
var _local3;
_local3 = 1;
while (_local3 <= _parent[fieldName].brikAm) {
_parent[fieldName]["brik" + _local3].removeMovieClip();
_local3++;
}
_parent[fieldName].levelEnd = false;
nl._visible = true;
sb._visible = true;
}
var endLevelAnim = false;
var drSt = 0;
var st = 0;
var rekl = false;
var nRek = false;
var arcade = false;
}
Symbol 554 MovieClip [__Packages.OGameField] Frame 0
class OGameField extends MovieClip
{
var drBang, dropGlAm, outDrop, i, dropAm, animDrop, attachMovie, getNextHighestDepth, finishX, glass, glassX, finishY, glassY, dropWidth, dropHeight, jjjj, glassColumnAmount, kkkk, dropEnd, startX, startY, dx, dy, tmpi, glassMaxSize, field, expAm, expX, expY, expFl, lastDst, pp, introDrop, iteration, iii, score, gameOver, nTime, j, fSizeX, fSizeY, k, t, tt, glassWidth, glassHeight, indX, indY, brikAm;
function OGameField () {
super();
drBang = new Sound();
drBang.attachSound("dropBang");
dropGlAm = 0;
outDrop = new Array();
}
function dropInGlass() {
i = dropAm;
while (i >= 0) {
if ((this["drop" + i].dropType == "c") || (this["drop" + i].dropType == "C")) {
animDrop = dropGlAm;
if (this["drop" + i].dropColor == "b") {
attachMovie("dropGlass", "dropGlass" + animDrop, getNextHighestDepth(), {_x:-130, _y:-130});
dropGlAm++;
} else {
attachMovie("dropGlassGreen", "dropGlass" + animDrop, getNextHighestDepth(), {_x:-130, _y:-130});
dropGlAm = dropGlAm + 3;
}
finishX = glassX + (glass._width / 2);
finishY = glassY + (glass._height / 2);
this["dropGlass" + animDrop].cacheAsBitmap = true;
this["dropGlass" + animDrop]._width = dropWidth;
this["dropGlass" + animDrop]._height = dropHeight;
jjjj++;
if (jjjj > glassColumnAmount) {
jjjj = 1;
kkkk++;
}
dropEnd = i;
animInGl = true;
animGl = false;
startX = this["drop" + dropEnd]._x;
startY = this["drop" + dropEnd]._y;
this["dropGlass" + animDrop]._x = startX;
this["dropGlass" + animDrop]._y = startY;
dx = finishX - startX;
dy = finishY - startY;
this["drop" + dropEnd].setDropType("1");
break;
}
i--;
}
}
function addDrops() {
if (dropGlAm <= 0) {
jjjj++;
if (jjjj > glassColumnAmount) {
jjjj = 1;
kkkk++;
}
return(undefined);
}
i = 1;
while (i <= dropAm) {
if (this["drop" + i].dropType == "1") {
jjjj--;
tmpi = i + 1;
if (jjjj <= 0) {
jjjj = glassColumnAmount;
kkkk--;
}
animDrop = dropGlAm;
this["dropGlass" + animDrop].swapDepths(getNextHighestDepth());
this["dropGlass" + animDrop]._visible = true;
dropGlAm--;
if (dropGlAm <= glassMaxSize) {
glass.gotoAndStop(dropGlAm);
} else {
glass.gotoAndStop(glassMaxSize);
}
dropEnd = i;
animGl = true;
animInGl = false;
startX = this["dropGlass" + animDrop]._x;
startY = this["dropGlass" + animDrop]._y;
finishX = this["drop" + dropEnd]._x;
finishY = this["drop" + dropEnd]._y;
dx = finishX - startX;
dy = finishY - startY;
break;
}
i++;
}
}
function dropExp(dropX, dropY) {
this[field[dropX][dropY]].swapDepths(getNextHighestDepth());
this[field[dropX][dropY]].incDropType();
if (this[field[dropX][dropY]].dropColor == "b") {
chCl(field[dropX - 1][dropY]);
chCl(field[dropX + 1][dropY]);
chCl(field[dropX][dropY + 1]);
chCl(field[dropX][dropY - 1]);
this[field[dropX - 1][dropY]].incDropType();
this[field[dropX + 1][dropY]].incDropType();
this[field[dropX][dropY + 1]].incDropType();
this[field[dropX][dropY - 1]].incDropType();
} else if (this[field[dropX][dropY]].dropColor == "g") {
chCl(field[dropX - 2][dropY]);
chCl(field[dropX + 2][dropY]);
chCl(field[dropX][dropY + 2]);
chCl(field[dropX][dropY - 2]);
this[field[dropX - 2][dropY]].incDropType();
this[field[dropX + 2][dropY]].incDropType();
this[field[dropX][dropY + 2]].incDropType();
this[field[dropX][dropY - 2]].incDropType();
}
}
function explodeCheck(dropX, dropY) {
if (((this[field[dropX][dropY]].dropType == "c") or (this[field[dropX][dropY]].dropType == "C")) & (this[field[dropX][dropY]].dropE != 1)) {
expAm++;
this[field[dropX][dropY]].dropE = 1;
expX[expAm] = dropX;
expY[expAm] = dropY;
if (this[field[dropX][dropY]].dropColor == "b") {
explodeCheck(dropX - 1, dropY);
explodeCheck(dropX + 1, dropY);
explodeCheck(dropX, dropY + 1);
explodeCheck(dropX, dropY - 1);
} else if (this[field[dropX][dropY]].dropColor == "g") {
explodeCheck(dropX - 2, dropY);
explodeCheck(dropX + 2, dropY);
explodeCheck(dropX, dropY + 2);
explodeCheck(dropX, dropY - 2);
}
}
}
function dropBang(dropX, dropY) {
expFl = false;
if (this[field[dropX][dropY]].dropColor == "b") {
chCl(field[dropX - 1][dropY]);
chCl(field[dropX + 1][dropY]);
chCl(field[dropX][dropY + 1]);
chCl(field[dropX][dropY - 1]);
if ((this[field[dropX - 1][dropY]].dropType == "c") || (this[field[dropX - 1][dropY]].dropType == "C")) {
this[field[dropX - 1][dropY]].incType = true;
} else {
this[field[dropX - 1][dropY]].incDropType();
}
if ((this[field[dropX + 1][dropY]].dropType == "c") || (this[field[dropX + 1][dropY]].dropType == "C")) {
this[field[dropX + 1][dropY]].incType = true;
} else {
this[field[dropX + 1][dropY]].incDropType();
}
if ((this[field[dropX][dropY - 1]].dropType == "c") || (this[field[dropX][dropY - 1]].dropType == "C")) {
this[field[dropX][dropY - 1]].incType = true;
} else {
this[field[dropX][dropY - 1]].incDropType();
}
if ((this[field[dropX][dropY + 1]].dropType == "c") || (this[field[dropX][dropY + 1]].dropType == "C")) {
this[field[dropX][dropY + 1]].incType = true;
} else {
this[field[dropX][dropY + 1]].incDropType();
}
} else {
chCl(field[dropX - 2][dropY]);
chCl(field[dropX + 2][dropY]);
chCl(field[dropX][dropY + 2]);
chCl(field[dropX][dropY - 2]);
if ((this[field[dropX - 2][dropY]].dropType == "c") || (this[field[dropX - 2][dropY]].dropType == "C")) {
this[field[dropX - 2][dropY]].incType = true;
} else {
this[field[dropX - 2][dropY]].incDropType();
}
if ((this[field[dropX + 2][dropY]].dropType == "c") || (this[field[dropX + 2][dropY]].dropType == "C")) {
this[field[dropX + 2][dropY]].incType = true;
} else {
this[field[dropX + 2][dropY]].incDropType();
}
if ((this[field[dropX][dropY - 2]].dropType == "c") || (this[field[dropX][dropY - 2]].dropType == "C")) {
this[field[dropX][dropY - 2]].incType = true;
} else {
this[field[dropX][dropY - 2]].incDropType();
}
if ((this[field[dropX][dropY + 2]].dropType == "c") || (this[field[dropX][dropY + 2]].dropType == "C")) {
this[field[dropX][dropY + 2]].incType = true;
} else {
this[field[dropX][dropY + 2]].incDropType();
}
}
this[field[dropX][dropY]].expL = false;
expFl = true;
}
function onDropPress(dropX, dropY) {
if (animGl) {
return(undefined);
}
if (zhabaSleep) {
zhabaNorm = true;
zhabaSleep = false;
}
lastDst = new Date();
userSt++;
if (userSt > 10) {
userSt = 0;
zhabaSay = 3;
}
pp = 1;
expFl = false;
this[field[dropX][dropY]].incDropType();
this[field[dropX][dropY]].expL = false;
if (!this[field[dropX][dropY]].expMe) {
if (this[field[dropX][dropY]].dropColor == "b") {
chCl(field[dropX - 1][dropY]);
chCl(field[dropX + 1][dropY]);
chCl(field[dropX][dropY + 1]);
chCl(field[dropX][dropY - 1]);
this[field[dropX - 1][dropY]].incDropType();
this[field[dropX + 1][dropY]].incDropType();
this[field[dropX][dropY - 1]].incDropType();
this[field[dropX][dropY + 1]].incDropType();
} else {
chCl(field[dropX - 2][dropY]);
chCl(field[dropX + 2][dropY]);
chCl(field[dropX][dropY + 2]);
chCl(field[dropX][dropY - 2]);
this[field[dropX - 2][dropY]].incDropType();
this[field[dropX + 2][dropY]].incDropType();
this[field[dropX][dropY - 2]].incDropType();
this[field[dropX][dropY + 2]].incDropType();
}
}
expFl = true;
i = 0;
while (i <= dropAm) {
this["drop" + i].dropE = 0;
i++;
}
}
function chCl(drName) {
if (this[drName].dropType == "1") {
if (random(5) == 1) {
changeColor(drName);
}
}
}
function changeColor(dropNm) {
var _local4;
var _local11;
var _local14;
var _local2;
var _local10;
var _local9;
var _local6;
var _local5;
var _local7;
var _local8;
_local4 = this[dropNm].dropE;
_local11 = this[dropNm]._width;
_local14 = this[dropNm]._height;
_local2 = this[dropNm]._name;
_local10 = this[dropNm].dropX;
_local9 = this[dropNm].dropY;
_local6 = this[dropNm]._x;
_local5 = this[dropNm]._y;
_local7 = this[dropNm].dropType;
_local8 = this[dropNm].dropColor;
this[dropNm].removeMovieClip();
if (_local8 == "b") {
attachMovie("dropGreen", _local2, getNextHighestDepth(), {_x:-130, _y:-130});
this[_local2].dropColor = "g";
} else {
attachMovie("drop", _local2, getNextHighestDepth(), {_x:-130, _y:-130});
this[_local2].dropColor = "b";
}
this[_local2].cacheAsBitmap = true;
this[_local2].dropE = _local4;
this[_local2]._width = dropWidth;
this[_local2]._height = dropHeight;
this[_local2].dropX = _local10;
this[_local2].dropY = _local9;
this[_local2]._x = _local6;
this[_local2]._y = _local5;
this[_local2].setDropType(_local7);
}
function onEnterFrame() {
if (outGlassAnim) {
lastDst = new Date();
introGlass = introGlass - 1;
if (introGlass <= glassMaxSize) {
glass.gotoAndStop(introGlass);
} else {
glass.gotoAndStop(glassMaxSize);
}
if (introGlass <= 1) {
introGlass = 0;
outGlassAnim = false;
endGl = true;
}
}
if (outAnim) {
lastDst = new Date();
outDropNum = outDropNum - 1;
this["drop" + outDrop[outDropNum]]._visible = false;
if (outDropNum <= 1) {
outDropNum = 0;
outAnim = false;
end = true;
}
}
if (introAnim) {
lastDst = new Date();
introDropNum++;
this["drop" + introDrop[introDropNum]]._visible = true;
if (introDropNum >= dropAm) {
introDropNum = 0;
introAnim = false;
}
}
if (introGlassAnim) {
lastDst = new Date();
introGlass = introGlass + 1;
if (introGlass <= glassMaxSize) {
glass.gotoAndStop(introGlass);
} else {
glass.gotoAndStop(glassMaxSize);
}
if (introGlass >= dropGlAm) {
introGlass = 0;
introGlassAnim = false;
}
}
if (animInGl) {
lastDst = new Date();
var _local3 = 0.1 * dx;
var _local4 = (dy / dx) * _local3;
this["dropGlass" + animDrop]._x = this["dropGlass" + animDrop]._x + _local3;
this["dropGlass" + animDrop]._y = this["dropGlass" + animDrop]._y + _local4;
if ((Math.abs(this["dropGlass" + animDrop]._x - finishX) <= Math.abs(2 * _local3)) & (Math.abs(this["dropGlass" + animDrop]._y - finishY) <= Math.abs(2 * _local3))) {
this["dropGlass" + animDrop]._x = finishX;
this["dropGlass" + animDrop]._y = finishY;
this["dropGlass" + animDrop]._visible = false;
if (dropGlAm <= glassMaxSize) {
glass.gotoAndStop(dropGlAm);
} else {
glass.gotoAndStop(glassMaxSize);
}
animInGl = false;
i = dropAm;
while (i >= 0) {
if ((this["drop" + i].dropType == "c") || (this["drop" + i].dropType == "C")) {
dropInGlass();
animInGl = true;
break;
}
i--;
}
if (!animInGl) {
levelEnd = true;
}
}
}
if (animGl & (!levelComplete)) {
lastDst = new Date();
var _local3 = 0.1 * dx;
var _local4 = (dy / dx) * _local3;
this["dropGlass" + animDrop]._x = this["dropGlass" + animDrop]._x + _local3;
this["dropGlass" + animDrop]._y = this["dropGlass" + animDrop]._y + _local4;
if ((Math.abs(this["dropGlass" + animDrop]._x - this["drop" + dropEnd]._x) <= Math.abs(2 * _local3)) & (Math.abs(this["dropGlass" + animDrop]._y - this["drop" + dropEnd]._y) <= Math.abs(2 * _local4))) {
this["dropGlass" + animDrop].removeMovieClip();
this["drop" + dropEnd].setDropType("C");
animGl = false;
if (dropGlAm > 0) {
i = 1;
while (i <= dropAm) {
if (this["drop" + i].dropType == "1") {
addDrops();
animGl = true;
break;
}
i++;
}
} else {
animGl = false;
}
}
}
if (expFl) {
pp++;
if (pp == 2) {
iteration++;
iii = 1;
while (iii <= dropAm) {
if (this["drop" + iii].incType == true) {
this["drop" + iii].incDropType();
this["drop" + iii].incType = false;
}
iii++;
}
expFl = false;
iii = 1;
while (iii <= dropAm) {
if (this["drop" + iii].expMe == true) {
expFl = true;
break;
}
iii++;
}
if (!expFl) {
if ((iteration > 4) & (iteration <= 6)) {
zhabaSay = 1;
} else if (iteration > 6) {
zhabaSay = 2;
}
iteration = 0;
}
iii = 1;
while (iii <= dropAm) {
if ((this["drop" + iii].expMe == true) & (this["drop" + iii].expL == false)) {
if (!sFl) {
if (!_global.soundOff) {
drBang.start();
}
sFl = true;
}
score = score + (10 + (5 * (Math.round(iteration / 2) - 1)));
this["drop" + iii].dropBangFl = true;
this["drop" + iii].swapDepths(getNextHighestDepth());
this["drop" + iii].expDrop();
}
iii++;
}
iii = 1;
while (iii <= dropAm) {
this["drop" + iii].expL = false;
if (this["drop" + iii].expMe == true) {
expFl = true;
}
iii++;
}
sFl = false;
} else if (pp > 6) {
pp = 0;
iii = 1;
while (iii <= dropAm) {
if (this["drop" + iii].dropBangFl == true) {
this["drop" + iii].dropBangFl = false;
dropBang(this["drop" + iii].dropX, this["drop" + iii].dropY);
if (gameOverCheck() & (!levelComplete)) {
if (dropGlAm <= 0) {
gameOver = true;
expFl = false;
animGl = false;
} else {
tmpi = 1;
expFl = false;
addDrops();
animGl = true;
}
}
}
iii++;
}
levelCompleteCheck();
}
}
nTime = new Date();
if (((nTime - lastDst) > 15000) & (!zhabaSleep)) {
zhabaSay = 4;
zhabaSleep = true;
}
}
function levelCompleteCheck() {
var _local3 = true;
var _local2;
_local2 = 0;
while (_local2 <= dropAm) {
if (this["drop" + _local2].dropFill == 0) {
_local3 = false;
break;
}
_local2++;
}
levelCompleteCheckFlag = _local3;
levelComplete = _local3;
return(_local3);
}
function gameOverCheck() {
var _local2 = true;
i = 0;
while (i <= dropAm) {
if ((this["drop" + i].dropType == "c") or (this["drop" + i].dropType == "C")) {
_local2 = false;
break;
}
i++;
}
return(_local2);
}
function resetGame() {
i = 0;
while (i < field.length) {
j = 0;
while (j < field.length) {
this[field[i][j]].removeMovieClip();
j++;
}
i++;
}
i = 1;
while (i <= dropGlAm) {
this["dropGlass" + i].removeMovieClip();
i++;
}
glass.removeMovieClip();
}
function newGame(fieldSizeX, fieldMask, glassSize) {
end = false;
endGl = false;
gameOver = false;
score = 0;
iteration = 0;
levelComplete = false;
levelEnd = false;
animGl = false;
animInGl = false;
var _local4 = new String();
var _local2;
var _local3;
fSizeX = fieldSizeX;
fSizeY = Math.floor(fieldMask.length / fieldSizeX);
field = new Array(fSizeX);
i = 0;
while (i < field.length) {
field[i] = new Array(fSizeY);
i++;
}
k = 0;
t = 1;
tt = 1;
attachMovie("glass", "glass", getNextHighestDepth());
glass._x = glassX;
glass.cacheAsBitmap = true;
glass._y = glassY;
glass._width = glassWidth;
glass._height = glassHeight;
glass.anim.stop();
i = 0;
while (i < field.length) {
j = 0;
while (j < field.length) {
_local4 = fieldMask[k];
_local2 = _local4.substr(0, 1);
_local3 = _local4.substr(1, 1);
if ((((((((((_local2 == "0") or (_local2 == "a")) or (_local2 == "b")) or (_local2 == "c")) or (_local2 == "r")) or (_local2 == "1")) or (_local2 == "A")) or (_local2 == "B")) or (_local2 == "C")) or (_local2 == "R")) {
if ((_local3 == "b") or (_local3 == "B")) {
attachMovie("drop", "drop" + t, getNextHighestDepth());
this["drop" + t].dropColor = "b";
} else if ((_local3 == "g") or (_local3 == "G")) {
attachMovie("dropGreen", "drop" + t, getNextHighestDepth());
this["drop" + t].dropColor = "g";
}
this["drop" + t].cacheAsBitmap = true;
this["drop" + t].dropE = 0;
this["drop" + t]._width = dropWidth;
this["drop" + t]._height = dropHeight;
this["drop" + t].dropX = i;
this["drop" + t].dropY = j;
this["drop" + t]._x = (this["drop" + t]._width * j) + indX;
this["drop" + t]._y = (this["drop" + t]._height * i) + indY;
this["drop" + t]._visible = false;
field[i][j] = "drop" + t;
this["drop" + t].setDropType(_local2);
t++;
} else if ((_local2 == "k") or (_local2 == "K")) {
attachMovie("brik" + (random(2) + 1), "brik" + tt, getNextHighestDepth());
this["brik" + tt].cacheAsBitmap = true;
this["brik" + tt]._width = dropWidth;
this["brik" + tt]._height = dropHeight;
this["brik" + tt]._x = (this["brik" + tt]._width * j) + indX;
this["brik" + tt]._y = (this["brik" + tt]._height * i) + indY;
field[i][j] = "brik" + tt;
tt++;
} else {
field[i][j] = "0";
}
dropAm = t - 1;
brikAm = tt - 1;
k++;
j++;
}
i++;
}
dropGlAm = glassSize;
jjjj = 1;
kkkk = 1;
var _local7;
var _local5;
introDrop = new Array(dropAm);
i = 1;
while (i <= dropAm) {
introDrop[i] = i;
i++;
}
i = 1;
while (i <= dropAm) {
_local5 = random(dropAm) + 1;
_local7 = introDrop[i];
introDrop[i] = introDrop[_local5];
introDrop[_local5] = _local7;
i++;
}
introAnim = true;
outDrop = introDrop;
i = 1;
while (i <= dropGlAm) {
attachMovie("dropGlass", "dropGlass" + i, getNextHighestDepth());
this["dropGlass" + i].cacheAsBitmap = true;
this["dropGlass" + i]._x = glassX + (glass._width / 2);
this["dropGlass" + i]._y = glassY + (glass._height / 2);
this["dropGlass" + i]._width = dropWidth;
this["dropGlass" + i]._height = dropHeight;
this["dropGlass" + i]._visible = false;
jjjj++;
if (jjjj > glassColumnAmount) {
jjjj = 1;
kkkk++;
}
i++;
}
introGlassAnim = true;
levelCompleteCheck();
}
var levelComplete = false;
var levelEnd = false;
var animGl = false;
var animInGl = false;
var outDropNum = 0;
var outAnim = false;
var outGlassAnim = false;
var end = false;
var endGl = false;
var introAnim = false;
var introDropNum = 0;
var introGlass = 0;
var introGlassAnim = false;
var levelCompleteCheckFlag = false;
var sFl = false;
var zhabaSay = 0;
var userSt = 0;
var zhabaSleep = false;
var zhabaNorm = false;
}
Symbol 555 MovieClip [__Packages.OFieldManager] Frame 0
class OFieldManager
{
var maxLevelTime, field;
function OFieldManager () {
maxLevelTime = new Array();
field = new Array();
maxLevelTime[1] = 180;
field[1] = new Array("fb", "fb", "fb", "fb", "bb", "fb", "fb", "fb", "bb", "fb", "fb", "fb", "fb", "fb", "fb", "cb", "bb", "ab", "bb", "bb", "bb", "ab", "bb", "cb", "fb", "fb", "fb", "fb", "fb", "ab", "ab", "bb", "bb", "bb", "ab", "ab", "fb", "fb", "fb", "fb", "cb", "bb", "bb", "bb", "cb", "cb", "cb", "bb", "bb", "bb", "cb", "fb", "cb", "cb", "bb", "bb", "bb", "cb", "cb", "cb", "bb", "bb", "bb", "cb", "cb", "fb", "cb", "bb", "bb", "bb", "cb", "cb", "cb", "bb", "bb", "bb", "cb", "fb", "fb", "fb", "fb", "ab", "ab", "bb", "bb", "bb", "ab", "ab", "fb", "fb", "fb", "fb", "fb", "cb", "bb", "ab", "bb", "bb", "bb", "ab", "bb", "cb", "fb", "fb", "fb", "fb", "fb", "fb", "bb", "fb", "fb", "fb", "bb", "fb", "fb", "fb", "fb");
maxLevelTime[2] = 180;
field[2] = new Array("fb", "cb", "cb", "cb", "fb", "cb", "cb", "cb", "fb", "cb", "cb", "cb", "fb", "fb", "fb", "cb", "fb", "fb", "fb", "cb", "fb", "fb", "fb", "cb", "fb", "fb", "fb", "cb", "0b", "bb", "fb", "bb", "ab", "bb", "fb", "bb", "0b", "cb", "fb", "fb", "ab", "bb", "bb", "bb", "0b", "cb", "0b", "bb", "bb", "bb", "ab", "fb", "fb", "fb", "ab", "bb", "ab", "cb", "cb", "cb", "ab", "bb", "ab", "fb", "fb", "fb", "bb", "bb", "bb", "ab", "ab", "cb", "ab", "ab", "bb", "bb", "bb", "fb", "fb", "bb", "bb", "bb", "bb", "bb", "fb", "bb", "bb", "bb", "bb", "bb", "fb", "fb", "cb", "cb", "cb", "fb", "fb", "fb", "fb", "fb", "cb", "cb", "cb", "fb", "fb", "fb", "cb", "fb", "fb", "fb", "fb", "fb", "fb", "fb", "cb", "fb", "fb");
maxLevelTime[3] = 180;
field[3] = new Array("fb", "Bb", "fb", "fb", "fb", "fb", "fb", "fb", "fb", "fb", "fb", "Bb", "fb", "Bb", "cb", "fb", "fb", "ab", "Cb", "ab", "Cb", "ab", "fb", "fb", "cb", "Bb", "fb", "cb", "fb", "ab", "Cb", "0b", "cb", "0b", "Cb", "ab", "fb", "cb", "fb", "fb", "cb", "bb", "Cb", "0b", "0b", "cb", "0b", "0b", "Cb", "bb", "cb", "fb", "fb", "cb", "bb", "0b", "cb", "cb", "cb", "cb", "cb", "0b", "bb", "cb", "fb", "fb", "cb", "bb", "Cb", "0b", "0b", "cb", "0b", "ab", "Cb", "bb", "cb", "fb", "fb", "cb", "fb", "ab", "Cb", "0b", "cb", "0b", "Cb", "ab", "fb", "cb", "fb", "Bb", "cb", "fb", "kb", "ab", "Cb", "ab", "Cb", "0b", "kb", "fb", "cb", "Bb", "fb", "Bb", "fb", "kb", "kb", "kb", "kb", "kb", "kb", "kb", "fb", "Bb", "fb");
maxLevelTime[4] = 180;
field[4] = new Array("cg", "kb", "cb", "bb", "bg", "fb", "cb", "fb", "bg", "bb", "cb", "kb", "cg", "fb", "kb", "cg", "fb", "cg", "fb", "bg", "fb", "cg", "fb", "cg", "kb", "fb", "cg", "kb", "cb", "kb", "kb", "kb", "fb", "kb", "kb", "kb", "cb", "kb", "cg", "fb", "kb", "fb", "kb", "bb", "fb", "bb", "fb", "bb", "kb", "fb", "kb", "fb", "cg", "cb", "cg", "fb", "ag", "bb", "0b", "bb", "ag", "fb", "cg", "cb", "cg", "fb", "kb", "fb", "kb", "bb", "fb", "bb", "fb", "bb", "kb", "fb", "kb", "fb", "cg", "kb", "cb", "kb", "kb", "kb", "fb", "kb", "kb", "kb", "cb", "kb", "cg", "fb", "kb", "cg", "fb", "cg", "fb", "bg", "fb", "cg", "fb", "cg", "kb", "fb", "cg", "kb", "cb", "bb", "bg", "fb", "cb", "fb", "bg", "bb", "cb", "kb", "cg");
maxLevelTime[5] = 180;
field[5] = new Array("fb", "fb", "fb", "fb", "fb", "fb", "fb", "fb", "fb", "fb", "fb", "fb", "fb", "cg", "kb", "bg", "kb", "bg", "fb", "ab", "fb", "bg", "kb", "bg", "kb", "cg", "kb", "kb", "kb", "kb", "kb", "fb", "ab", "fb", "kb", "kb", "kb", "kb", "kb", "bg", "kb", "ag", "kb", "bg", "kb", "ab", "kb", "bg", "kb", "ag", "kb", "bg", "fb", "fb", "fb", "fb", "fb", "kb", "ab", "kb", "fb", "fb", "fb", "fb", "fb", "bg", "kb", "ag", "kb", "bg", "kb", "ab", "kb", "bg", "kb", "ag", "kb", "bg", "kb", "kb", "kb", "kb", "kb", "fb", "ab", "fb", "kb", "kb", "kb", "kb", "kb", "cg", "kb", "bg", "kb", "bg", "fb", "ab", "fb", "bg", "kb", "bg", "kb", "cg", "fb", "fb", "fb", "fb", "fb", "fb", "fb", "fb", "fb", "fb", "fb", "fb", "fb");
maxLevelTime[6] = 180;
field[6] = new Array("Bg", "fb", "cg", "fb", "bg", "kb", "ag", "kb", "bg", "fb", "cg", "fb", "Bg", "fb", "fb", "fb", "fb", "kb", "kb", "kb", "kb", "kb", "fb", "fb", "fb", "fb", "Ag", "fb", "cg", "fb", "ab", "ag", "ab", "ag", "ab", "fb", "cg", "fb", "Ag", "fb", "fb", "fb", "fb", "ag", "kb", "1b", "kb", "ag", "fb", "fb", "fb", "fb", "Bg", "fb", "cg", "fb", "ab", "1b", "cg", "1b", "ab", "fb", "cg", "fb", "Bg", "fb", "fb", "fb", "fb", "ag", "kb", "1b", "kb", "ag", "fb", "fb", "fb", "fb", "Ag", "fb", "cg", "fb", "ab", "ag", "ab", "ag", "ab", "fb", "cg", "fb", "Ag", "fb", "fb", "fb", "fb", "kb", "kb", "kb", "kb", "kb", "fb", "fb", "fb", "fb", "Bg", "fb", "cg", "fb", "bg", "kb", "ag", "kb", "bg", "fb", "cg", "fb", "Bg");
maxLevelTime[7] = 180;
field[7] = new Array("fb", "fb", "fb", "fb", "fb", "fb", "fb", "fb", "fb", "fb", "fb", "fb", "fb", "ab", "bb", "ab", "bb", "fb", "kb", "kb", "kb", "fb", "bb", "bb", "bb", "ab", "ab", "bb", "ab", "bb", "fb", "fb", "fb", "fb", "fb", "bb", "bb", "bb", "ab", "bb", "ab", "bb", "ab", "fb", "kb", "kb", "kb", "fb", "ab", "bb", "ab", "bb", "ab", "bb", "bb", "bb", "fb", "kb", "cg", "kb", "fb", "bb", "bb", "bb", "ab", "fb", "fb", "fb", "fb", "fb", "kb", "kb", "kb", "fb", "fb", "fb", "fb", "fb", "bb", "fb", "ag", "bb", "fb", "fb", "kb", "fb", "fb", "bb", "ag", "fb", "bb", "bb", "fb", "bb", "bb", "fb", "1g", "kb", "1g", "fb", "bb", "bb", "fb", "bb", "bb", "fb", "bb", "bb", "fb", "1g", "kb", "1g", "fb", "bb", "bb", "fb", "bb");
maxLevelTime[8] = 180;
field[8] = new Array("1g", "kb", "bg", "fb", "bg", "fb", "kb", "fb", "bg", "fb", "bg", "kb", "1g", "kb", "kb", "kb", "kb", "kb", "kb", "kb", "kb", "kb", "kb", "kb", "kb", "kb", "bg", "kb", "ag", "fb", "ag", "fb", "0b", "fb", "ag", "fb", "ag", "kb", "bg", "fb", "kb", "fb", "fb", "kb", "kb", "fb", "kb", "kb", "fb", "fb", "kb", "fb", "kb", "kb", "kb", "kb", "kb", "fb", "cg", "fb", "kb", "kb", "kb", "kb", "kb", "fb", "kb", "fb", "fb", "kb", "kb", "fb", "kb", "kb", "fb", "fb", "kb", "fb", "bg", "kb", "ag", "fb", "ag", "fb", "0b", "fb", "ag", "fb", "ag", "kb", "bg", "kb", "kb", "kb", "kb", "kb", "kb", "kb", "kb", "kb", "kb", "kb", "kb", "kb", "1g", "kb", "bg", "fb", "bg", "fb", "kb", "fb", "bg", "fb", "bg", "kb", "1g");
maxLevelTime[9] = 180;
field[9] = new Array("bb", "ag", "kb", "bb", "ab", "kb", "cg", "kb", "ab", "bb", "kb", "ag", "bb", "bb", "bb", "ab", "bb", "ab", "kb", "kb", "kb", "ab", "bb", "ab", "bb", "bb", "kb", "kb", "ab", "bb", "ab", "bb", "ab", "bb", "ab", "bb", "ab", "kb", "kb", "bg", "kb", "kb", "bb", "ab", "ab", "ab", "ab", "ab", "bb", "kb", "kb", "bg", "ab", "bb", "kb", "kb", "bb", "0b", "0b", "0b", "bb", "kb", "kb", "bb", "ab", "ab", "bb", "ab", "kb", "kb", "bb", "ab", "bb", "kb", "kb", "ab", "bb", "ab", "bb", "bb", "bb", "bg", "kb", "ab", "ab", "ab", "kb", "bg", "bb", "bb", "bb", "ab", "bb", "ab", "bb", "kb", "kb", "kb", "kb", "kb", "bb", "ab", "bb", "ab", "kb", "kb", "kb", "bb", "kb", "1g", "1g", "1g", "kb", "bb", "kb", "kb", "kb");
maxLevelTime[10] = 360;
field[10] = new Array("fb", "fb", "fb", "fb", "fb", "fb", "fb", "fb", "fb", "fb", "fb", "fb", "fb", "fb", "cb", "bb", "bb", "cb", "bb", "bb", "cg", "kb", "0b", "kb", "1g", "kb", "fb", "bb", "ab", "cb", "cb", "cb", "ab", "cg", "rb", "0b", "kb", "kb", "kb", "fb", "bb", "ab", "ab", "cb", "ab", "ab", "cg", "kb", "0b", "kb", "1g", "kb", "fb", "cb", "cb", "cb", "cb", "cb", "cb", "cg", "rb", "0b", "kb", "kb", "kb", "fb", "bb", "ab", "ab", "cb", "ab", "ab", "cg", "kb", "0b", "kb", "1g", "kb", "fb", "bb", "ab", "cb", "cb", "cb", "ab", "cg", "rb", "0b", "kb", "kb", "kb", "fb", "cb", "bb", "bb", "cb", "bb", "bb", "cg", "kb", "0b", "kb", "1g", "kb", "fb", "fb", "fb", "fb", "fb", "fb", "fb", "fb", "fb", "fb", "fb", "fb", "fb");
maxLevelTime[11] = 240;
field[11] = new Array("fb", "fb", "fb", "fb", "ab", "ab", "0b", "ab", "ab", "fb", "fb", "fb", "fb", "fb", "fb", "fb", "ab", "ab", "ab", "bb", "ab", "ab", "ab", "fb", "fb", "fb", "fb", "fb", "rb", "cb", "bb", "bb", "bb", "bb", "ab", "0b", "0b", "fb", "fb", "fb", "cb", "cb", "ab", "cb", "cb", "cb", "cb", "ab", "bb", "0b", "cb", "fb", "cb", "cb", "cb", "cb", "cb", "cb", "cb", "cb", "cb", "cb", "cb", "cb", "cb", "fb", "cb", "bb", "cb", "cb", "cb", "bb", "cb", "ab", "0b", "0b", "cb", "fb", "fb", "fb", "ab", "cb", "bb", "bb", "bb", "bb", "bb", "bb", "0b", "fb", "fb", "fb", "fb", "fb", "ab", "ab", "ab", "bb", "ab", "ab", "ab", "fb", "fb", "fb", "fb", "fb", "fb", "fb", "ab", "ab", "0b", "ab", "ab", "fb", "fb", "fb", "fb");
maxLevelTime[12] = 720;
field[12] = new Array("ab", "ab", "ab", "ab", "bb", "ab", "kb", "fb", "cg", "fb", "cg", "fb", "cg", "ab", "ab", "ab", "bb", "ab", "bb", "kb", "kb", "kb", "kb", "kb", "kb", "kb", "ab", "ab", "bb", "cb", "bb", "ab", "cg", "kb", "cb", "bb", "cb", "bb", "cb", "ab", "ab", "ab", "bb", "ab", "bb", "cg", "rb", "bb", "bb", "bb", "bb", "bb", "bb", "bb", "ab", "ab", "bb", "ab", "cg", "kb", "bg", "bg", "bg", "bg", "bg", "kb", "kb", "bb", "bb", "kb", "kb", "kb", "kb", "kb", "rb", "kb", "rb", "kb", "rb", "bb", "bb", "bb", "bb", "rb", "cg", "kb", "0b", "0b", "0b", "0b", "0b", "rb", "ab", "bb", "bb", "ab", "rb", "cg", "rb", "0b", "0b", "1b", "0b", "0b", "rb", "bb", "ab", "ab", "bb", "rb", "cg", "kb", "0b", "0b", "0b", "0b", "0b");
maxLevelTime[13] = 360;
field[13] = new Array("fb", "rb", "rb", "0b", "0b", "ab", "ab", "ab", "ab", "ab", "0b", "ab", "fb", "rb", "rb", "rb", "ab", "ab", "ab", "ab", "ab", "ab", "ab", "0b", "0b", "ab", "rb", "rb", "rb", "ab", "ab", "ab", "ab", "ab", "ab", "0b", "0b", "0b", "ab", "rb", "rb", "cb", "ab", "bb", "cb", "bb", "bb", "ab", "bb", "0b", "0b", "bb", "rb", "bb", "bb", "ab", "ab", "cb", "bb", "bb", "ab", "bb", "bb", "0b", "bb", "rb", "ab", "bb", "ab", "ab", "cb", "bb", "cb", "ab", "0b", "0b", "ab", "ab", "bb", "ab", "ab", "ab", "cb", "cb", "cb", "bb", "bb", "bb", "0b", "bb", "ab", "cb", "ab", "bb", "ab", "bb", "ab", "bb", "bb", "ab", "bb", "ab", "bb", "bb", "fb", "cb", "0b", "ab", "ab", "ab", "ab", "ab", "ab", "0b", "ab", "ab", "fb");
maxLevelTime[14] = 360;
field[14] = new Array("Ab", "cb", "ab", "bb", "cg", "kb", "0b", "kb", "cg", "bb", "ab", "cb", "Ab", "cb", "0b", "bb", "0b", "cg", "kb", "0b", "kb", "cg", "0b", "bb", "0b", "cb", "bb", "ab", "ab", "bb", "rb", "rb", "0b", "rb", "rb", "bb", "ab", "ab", "bb", "cg", "cg", "rb", "cg", "cg", "kb", "0b", "kb", "cg", "cg", "rb", "cg", "cg", "kb", "kb", "rb", "kb", "kb", "kb", "0b", "kb", "kb", "kb", "rb", "kb", "kb", "cg", "cg", "rb", "cg", "cg", "kb", "0b", "kb", "cg", "cg", "rb", "cg", "cg", "bb", "ab", "ab", "bb", "rb", "rb", "0b", "rb", "rb", "bb", "ab", "ab", "bb", "cb", "0b", "bb", "0b", "cg", "kb", "0b", "kb", "cg", "0b", "bb", "0b", "cb", "Ab", "cb", "ab", "bb", "cg", "kb", "0b", "kb", "cg", "bb", "ab", "cb", "Ab");
maxLevelTime[15] = 420;
field[15] = new Array("fb", "fb", "fb", "cb", "ab", "cb", "ab", "cb", "ab", "cb", "fb", "fb", "fb", "fb", "fb", "fb", "ab", "ab", "ab", "ab", "ab", "ab", "ab", "fb", "fb", "fb", "fb", "fb", "fb", "ab", "ab", "ab", "ab", "ab", "ab", "0b", "fb", "fb", "fb", "rb", "cb", "cb", "ab", "bb", "fb", "fb", "fb", "ab", "bb", "0b", "cb", "bb", "rb", "bb", "bb", "ab", "ab", "fb", "kb", "fb", "ab", "bb", "bb", "cb", "bb", "rb", "cb", "bb", "ab", "ab", "fb", "fb", "fb", "ab", "0b", "ab", "ab", "ab", "fb", "fb", "fb", "ab", "cb", "cb", "cb", "bb", "bb", "bb", "fb", "fb", "fb", "fb", "fb", "fb", "ab", "bb", "ab", "bb", "bb", "ab", "bb", "fb", "fb", "fb", "fb", "fb", "fb", "cb", "ab", "cb", "ab", "cb", "ab", "cb", "fb", "fb", "fb");
maxLevelTime[16] = 960;
field[16] = new Array("cb", "rb", "cb", "rb", "cb", "rb", "cb", "rb", "cb", "rb", "cb", "rb", "cb", "rb", "bg", "rb", "cg", "rb", "cg", "rb", "cg", "rb", "cg", "rb", "bg", "rb", "rb", "rb", "rb", "rb", "rb", "rb", "rb", "rb", "rb", "rb", "rb", "rb", "rb", "Rb", "bg", "rb", "bg", "rb", "bg", "rb", "bg", "rb", "bg", "rb", "bg", "Rb", "Rb", "rb", "kb", "kb", "kb", "kb", "rb", "kb", "kb", "kb", "kb", "rb", "Rb", "Rb", "bg", "kb", "bg", "rg", "bg", "bg", "bg", "rg", "bg", "kb", "bg", "Rb", "Rb", "bg", "kb", "bg", "kb", "kb", "kb", "kb", "kb", "bg", "kb", "bg", "Rb", "Rb", "rb", "rb", "rg", "kb", "0b", "0b", "0b", "kb", "rg", "rb", "rb", "Rb", "Rb", "bg", "kb", "bg", "kb", "0b", "0b", "0b", "kb", "bg", "kb", "bg", "Rb");
maxLevelTime[17] = 180;
field[17] = new Array("bb", "bb", "bb", "fb", "bg", "kb", "bb", "kb", "bg", "fb", "bb", "bb", "bb", "bb", "bb", "bb", "fb", "bb", "kb", "bg", "kb", "bb", "fb", "bb", "bb", "bb", "bb", "bb", "bb", "fb", "bb", "kb", "bb", "kb", "bb", "fb", "bb", "bb", "bb", "bb", "bb", "bg", "fb", "bb", "kb", "bb", "kb", "bb", "fb", "bb", "bb", "bb", "fb", "fb", "fb", "fb", "bb", "bb", "cb", "bb", "bb", "fb", "fb", "fb", "fb", "bb", "bb", "bg", "fb", "bb", "kb", "bb", "kb", "bb", "fb", "bb", "bb", "bb", "bb", "bb", "bb", "fb", "bb", "kb", "bb", "kb", "bb", "fb", "bb", "bb", "bb", "bb", "bb", "bb", "fb", "bb", "kb", "bg", "kb", "bb", "fb", "bb", "bb", "bb", "bb", "bb", "bb", "fb", "bg", "kb", "bb", "kb", "bg", "fb", "bb", "bb", "bb");
maxLevelTime[18] = 600;
field[18] = new Array("rb", "rb", "rb", "rb", "rb", "kb", "kb", "kb", "rb", "rb", "rb", "rb", "rb", "rb", "cb", "rb", "rb", "rb", "kb", "0g", "kb", "rb", "cb", "rb", "cb", "rb", "rb", "rb", "rb", "cb", "rb", "kb", "0g", "kb", "rb", "rb", "rb", "rb", "rb", "rb", "rb", "rb", "rb", "rb", "kb", "0g", "kb", "rb", "rb", "rb", "rb", "rb", "fb", "kb", "kb", "kb", "Rg", "kb", "kb", "kb", "Rg", "kb", "kb", "kb", "fb", "1g", "kb", "0g", "kb", "rb", "rb", "rb", "rb", "rb", "kb", "0g", "kb", "1g", "1g", "kb", "0g", "kb", "rb", "cb", "rb", "rb", "rb", "kb", "0g", "kb", "1g", "1g", "kb", "0g", "kb", "rb", "rb", "rb", "cb", "rb", "kb", "0g", "kb", "1g", "fb", "kb", "kb", "kb", "rb", "rb", "rb", "rb", "rb", "kb", "kb", "kb", "fb");
maxLevelTime[19] = 180;
field[19] = new Array("fg", "bg", "fg", "rg", "fg", "rg", "fg", "rg", "fg", "rg", "fg", "bg", "fg", "cg", "fg", "bg", "fg", "bg", "fg", "bg", "fg", "bg", "fg", "rg", "fg", "cg", "fg", "bg", "fg", "rg", "fg", "rg", "fg", "rg", "fg", "rg", "fg", "bg", "fg", "bg", "fg", "bg", "fg", "bg", "fg", "bg", "fg", "bg", "fg", "rg", "fg", "bg", "fg", "bg", "fg", "rg", "fg", "rg", "fg", "rg", "fg", "rg", "fg", "rg", "fg", "bg", "fg", "bg", "fg", "bg", "fg", "bg", "fg", "bg", "fg", "rg", "fg", "bg", "fg", "bg", "fg", "rg", "fg", "rg", "fg", "rg", "fg", "rg", "fg", "bg", "fg", "cg", "fg", "bg", "fg", "bg", "fg", "bg", "fg", "bg", "fg", "rg", "fg", "cg", "fg", "bg", "fg", "cg", "fg", "rg", "fg", "rg", "fg", "rg", "fg", "bg", "fg");
maxLevelTime[20] = 600;
field[20] = new Array("fb", "fb", "fb", "rb", "cb", "rb", "kb", "rb", "cb", "rb", "fb", "fb", "fb", "fb", "fb", "rb", "rb", "rb", "rb", "kb", "rb", "rb", "rb", "rb", "fb", "fb", "fb", "rb", "rb", "cb", "rb", "kb", "kb", "kb", "rb", "cb", "rb", "rb", "fb", "rb", "cb", "rb", "rb", "kb", "kb", "kb", "kb", "kb", "rb", "rb", "cb", "rb", "kb", "kb", "kb", "kb", "kb", "Cb", "Cb", "Cb", "kb", "kb", "kb", "kb", "kb", "rb", "cb", "rb", "rb", "kb", "kb", "kb", "kb", "kb", "rb", "rb", "cb", "rb", "fb", "rb", "rb", "cb", "rb", "kb", "kb", "kb", "rb", "cb", "rb", "rb", "fb", "fb", "fb", "rb", "rb", "rb", "rb", "kb", "rb", "rb", "rb", "rb", "fb", "fb", "fb", "fb", "fb", "rb", "cb", "rb", "kb", "rb", "cb", "rb", "fb", "fb", "fb");
maxLevelTime[21] = 420;
field[21] = new Array("0b", "0b", "cb", "0b", "0b", "0b", "0b", "ab", "ab", "ab", "0b", "ab", "fb", "0b", "cb", "0b", "ab", "cb", "0b", "0b", "ab", "ab", "ab", "0b", "0b", "ab", "cb", "0b", "0b", "ab", "0b", "0b", "0b", "ab", "ab", "0b", "0b", "0b", "ab", "0b", "0b", "0b", "ab", "0b", "0b", "0b", "bb", "ab", "bb", "0b", "0b", "bb", "cb", "0b", "0b", "ab", "0b", "cb", "0b", "bb", "ab", "bb", "bb", "0b", "bb", "0b", "0b", "0b", "ab", "0b", "0b", "0b", "ab", "ab", "0b", "0b", "ab", "0b", "0b", "cb", "0b", "ab", "0b", "0b", "0b", "bb", "bb", "bb", "0b", "bb", "ab", "0b", "0b", "0b", "ab", "cb", "0b", "0b", "bb", "ab", "bb", "ab", "bb", "bb", "0b", "cb", "0b", "ab", "0b", "cb", "0b", "ab", "ab", "0b", "ab", "ab", "fb");
maxLevelTime[22] = 600;
field[22] = new Array("fb", "fb", "fb", "fb", "kb", "rb", "rb", "rb", "rb", "rb", "rb", "rb", "kb", "fb", "fb", "fb", "kb", "rb", "rb", "cb", "rb", "rb", "cb", "rb", "rb", "kb", "fb", "fb", "kb", "rb", "cb", "rb", "rb", "rb", "rb", "rb", "rb", "cb", "kb", "fb", "kb", "rb", "rb", "rb", "rg", "kb", "rg", "rb", "rb", "rb", "rg", "kb", "kb", "rb", "cb", "rb", "rb", "kb", "kb", "kb", "rb", "cb", "rg", "kb", "0b", "fb", "rb", "rb", "rb", "rb", "rg", "kb", "rg", "rb", "rg", "kb", "0b", "0b", "fb", "fb", "rb", "cb", "rb", "rb", "rb", "cb", "rg", "kb", "0b", "0b", "0b", "fb", "fb", "fb", "cb", "cb", "cb", "cb", "rg", "kb", "0b", "0b", "0b", "0b", "fb", "fb", "fb", "fb", "rb", "rb", "rg", "kb", "0b", "0b", "0b", "0b", "0b");
maxLevelTime[23] = 420;
field[23] = new Array("fb", "cb", "fb", "cb", "fb", "cb", "fb", "cb", "fb", "cb", "fb", "cb", "fb", "cb", "0b", "0b", "0b", "0b", "ab", "ab", "ab", "0b", "0b", "0b", "0b", "cb", "fb", "0b", "fb", "0b", "0b", "ab", "bb", "ab", "0b", "0b", "fb", "0b", "fb", "cb", "0b", "ab", "ab", "kb", "fb", "bb", "fb", "kb", "ab", "ab", "0b", "cb", "fb", "0b", "fb", "bb", "bb", "fb", "kb", "fb", "bb", "bb", "fb", "0b", "fb", "cb", "0b", "ab", "ab", "kb", "fb", "bb", "fb", "kb", "ab", "ab", "0b", "cb", "fb", "0b", "fb", "0b", "0b", "ab", "bb", "ab", "0b", "0b", "fb", "0b", "fb", "cb", "0b", "0b", "0b", "0b", "ab", "ab", "ab", "0b", "0b", "0b", "0b", "cb", "fb", "cb", "fb", "cb", "fb", "cb", "fb", "cb", "fb", "cb", "fb", "cb", "fb");
maxLevelTime[24] = 420;
field[24] = new Array("fb", "fb", "fb", "fb", "kb", "kb", "fb", "kb", "fb", "fb", "fb", "fb", "kb", "fb", "fb", "fb", "kb", "rb", "rb", "kb", "fb", "fb", "fb", "fb", "kb", "kb", "fb", "fb", "kb", "rb", "cb", "rb", "rb", "kb", "fb", "kb", "kb", "0b", "cb", "fb", "kb", "rg", "kb", "rb", "rb", "rb", "rg", "kb", "0b", "0b", "0b", "kb", "kb", "rb", "rb", "rb", "rb", "rb", "cb", "rb", "kb", "kb", "kb", "cb", "0b", "fb", "kb", "rb", "cb", "rb", "rb", "rb", "rg", "kb", "0b", "0b", "0b", "kb", "fb", "fb", "kb", "rb", "rb", "cb", "rb", "kb", "fb", "kb", "kb", "0b", "cb", "fb", "fb", "fb", "kb", "rb", "rb", "kb", "fb", "fb", "fb", "fb", "kb", "kb", "fb", "fb", "fb", "fb", "kb", "kb", "fb", "kb", "fb", "fb", "fb", "fb", "kb");
maxLevelTime[25] = 840;
field[25] = new Array("fb", "rb", "rb", "fb", "fb", "ab", "ab", "ab", "fb", "fb", "0b", "ab", "fb", "rb", "rb", "rb", "fb", "fb", "ab", "ab", "ab", "fb", "fb", "0b", "0b", "ab", "rb", "rb", "rb", "fb", "kb", "ab", "ab", "ab", "kb", "fb", "0b", "0b", "ab", "rb", "rb", "cb", "ab", "bb", "cb", "rb", "bb", "ab", "bb", "0b", "0b", "bb", "fb", "fb", "bb", "ab", "ab", "cb", "kb", "bb", "ab", "bb", "bb", "fb", "fb", "rg", "ab", "bb", "ab", "ab", "cb", "rb", "cb", "ab", "0b", "0b", "ab", "ab", "bg", "ab", "ab", "fb", "kb", "cb", "cb", "bb", "kb", "fb", "0b", "bb", "ab", "cg", "ab", "bb", "fb", "fb", "ab", "bb", "bb", "fb", "fb", "ab", "bb", "bb", "fb", "cb", "0b", "fb", "fb", "ab", "ab", "ab", "fb", "fb", "ab", "ab", "fb");
maxLevelTime[26] = 420;
field[26] = new Array("fb", "fb", "fb", "kb", "kb", "kb", "kb", "kb", "kb", "kb", "kb", "fb", "fb", "fb", "cg", "kb", "rg", "rg", "rg", "rg", "rg", "rg", "rg", "rb", "kb", "fb", "fb", "kb", "cb", "rg", "kb", "kb", "kb", "kb", "kb", "kb", "cb", "rb", "kb", "kb", "rg", "rg", "kb", "rg", "rg", "rg", "rg", "rg", "rg", "kb", "rg", "kb", "kb", "rg", "kb", "rg", "cb", "kb", "kb", "kb", "cb", "rg", "kb", "rg", "kb", "kb", "rg", "kb", "rg", "kb", "rg", "rg", "rg", "rg", "kb", "rg", "cb", "kb", "kb", "rg", "kb", "rg", "kb", "cb", "kb", "kb", "kb", "cb", "rb", "kb", "fb", "kb", "rg", "kb", "rg", "kb", "rg", "rg", "rg", "rg", "rb", "kb", "cg", "fb", "kb", "cb", "kb", "rg", "cb", "kb", "kb", "kb", "kb", "kb", "fb", "fb", "fb");
maxLevelTime[27] = 840;
field[27] = new Array("1g", "fb", "bb", "ab", "ab", "bb", "ab", "bb", "ab", "ab", "bb", "fb", "1g", "fb", "fb", "bb", "bb", "fb", "fb", "bb", "fb", "fb", "bb", "bb", "fb", "fb", "bb", "bb", "fb", "bb", "fb", "fb", "0b", "fb", "fb", "bb", "fb", "bb", "bb", "bb", "bb", "0b", "0b", "0b", "fb", "bb", "fb", "0b", "0b", "0b", "bb", "bb", "0b", "0b", "0b", "fb", "0b", "bb", "cb", "bb", "0b", "fb", "0b", "0b", "0b", "bb", "bb", "0b", "0b", "0b", "fb", "bb", "fb", "0b", "0b", "0b", "bb", "bb", "bb", "bb", "fb", "bb", "fb", "fb", "0b", "fb", "fb", "bb", "fb", "bb", "bb", "fb", "fb", "bb", "bb", "fb", "fb", "bb", "fb", "fb", "bb", "bb", "fb", "fb", "1g", "fb", "bb", "ab", "ab", "bb", "ab", "bb", "ab", "ab", "bb", "fb", "1g");
maxLevelTime[28] = 420;
field[28] = new Array("fb", "fb", "fb", "fb", "kb", "rb", "rb", "rb", "kb", "fb", "fb", "fb", "fb", "fb", "fb", "fb", "fb", "kb", "rg", "cb", "rg", "kb", "fb", "fb", "fb", "fb", "fb", "fb", "fb", "kb", "kb", "kb", "kb", "kb", "kb", "kb", "fb", "fb", "fb", "fb", "fb", "fb", "kb", "rb", "rg", "rg", "rg", "rb", "kb", "fb", "fb", "fb", "fb", "fb", "fb", "kb", "rb", "cb", "rb", "cb", "rb", "kb", "fb", "fb", "fb", "kb", "kb", "kb", "kb", "kb", "kb", "kb", "kb", "kb", "kb", "kb", "kb", "kb", "Bb", "Rg", "kb", "rb", "rg", "rg", "rg", "rg", "rg", "rb", "kb", "Rg", "Bb", "Cb", "Rg", "kb", "rb", "cb", "rb", "cb", "rb", "cb", "rb", "kb", "Rg", "Cb", "Bb", "Rg", "kb", "rb", "rb", "rb", "rb", "rb", "rb", "rb", "kb", "Rg", "Bb");
maxLevelTime[29] = 420;
field[29] = new Array("fb", "0b", "0b", "0b", "0b", "0b", "0b", "0b", "0b", "0b", "0b", "0b", "fb", "0b", "ab", "ab", "ab", "ab", "ab", "ab", "ab", "ab", "ab", "ab", "ab", "0b", "0b", "ab", "bb", "bb", "bb", "bb", "bb", "bb", "bb", "bb", "bb", "ab", "0b", "0b", "ab", "bb", "ab", "cb", "cb", "cb", "cb", "cb", "ab", "bb", "ab", "0b", "0b", "ab", "bb", "cb", "cb", "cb", "ab", "cb", "cb", "cb", "bb", "ab", "0b", "0b", "ab", "bb", "ab", "cb", "cb", "cb", "cb", "cb", "ab", "bb", "ab", "0b", "0b", "ab", "bb", "bb", "bb", "bb", "bb", "bb", "bb", "bb", "bb", "ab", "0b", "0b", "ab", "ab", "ab", "ab", "ab", "ab", "ab", "ab", "ab", "ab", "ab", "0b", "fb", "0b", "0b", "0b", "0b", "0b", "0b", "0b", "0b", "0b", "0b", "0b", "fb");
maxLevelTime[30] = 1120;
field[30] = new Array("kb", "kb", "0b", "0b", "0b", "kb", "rg", "rb", "rg", "rb", "rb", "cb", "rb", "kb", "kb", "0b", "0b", "0b", "kb", "rg", "cb", "rg", "rb", "bb", "rb", "rg", "kb", "kb", "kb", "kb", "kb", "kb", "cb", "cb", "bb", "cb", "cb", "kb", "kb", "0b", "0b", "0b", "kb", "rg", "rb", "rb", "rb", "bb", "rb", "kb", "kb", "rg", "0b", "0b", "0b", "kb", "rg", "cb", "rb", "cb", "rb", "kb", "kb", "rb", "rg", "kb", "kb", "kb", "kb", "rb", "rb", "rb", "rb", "kb", "kb", "rb", "rb", "cb", "rg", "rg", "rg", "rb", "rb", "bb", "rb", "kb", "kb", "rb", "rb", "rb", "rg", "rb", "cb", "rb", "rb", "cb", "rb", "kb", "kb", "rb", "rb", "rb", "cb", "rb", "bb", "cb", "bb", "rb", "rb", "rg", "kb", "rg", "rb", "cb", "rb", "rb", "rg");
maxLevelTime[31] = 1200;
field[31] = new Array("fb", "rb", "rb", "0b", "0b", "ab", "fb", "ab", "ab", "ab", "0b", "ab", "fb", "cb", "rb", "rb", "ab", "ab", "ab", "fb", "ab", "ab", "ab", "bb", "0b", "ab", "rb", "rb", "rb", "ab", "ab", "ab", "fb", "ab", "ab", "0b", "0b", "0b", "ab", "rb", "cb", "cb", "ab", "bb", "cb", "fb", "bb", "ab", "bb", "0b", "0b", "bb", "rb", "bb", "ab", "fb", "fb", "fb", "fb", "fb", "fb", "fb", "ab", "0b", "bb", "rb", "ab", "bb", "ab", "ab", "cb", "fb", "cb", "ab", "0b", "0b", "ab", "ab", "bb", "ab", "ab", "ab", "cb", "cb", "fb", "0b", "ab", "ab", "0b", "bb", "ab", "cb", "cb", "bb", "cb", "bb", "ab", "fb", "bb", "ab", "bb", "0b", "0b", "bb", "fb", "cb", "0b", "ab", "ab", "ab", "fb", "ab", "ab", "0b", "ab", "ab", "fb");
maxLevelTime[32] = 840;
field[32] = new Array("kb", "kb", "kb", "fb", "fb", "fb", "fb", "fb", "fb", "fb", "kb", "kb", "kb", "fb", "fb", "fb", "kb", "0b", "0b", "rb", "0b", "0b", "kb", "fb", "fb", "fb", "rb", "rb", "rb", "rg", "kb", "rg", "cb", "rg", "kb", "rg", "rb", "rb", "rb", "rb", "cb", "rb", "kb", "cb", "rg", "kb", "rg", "cb", "kb", "rb", "cb", "rb", "rb", "cb", "rb", "kb", "rg", "kb", "cg", "kb", "rg", "kb", "rb", "cb", "rb", "rb", "rb", "rb", "rg", "kb", "rg", "cb", "rg", "kb", "rg", "cb", "cb", "cb", "fb", "fb", "kb", "kb", "rg", "rg", "cb", "rg", "rg", "kb", "kb", "fb", "fb", "fb", "kb", "fb", "fb", "kb", "kb", "rb", "kb", "kb", "fb", "fb", "kb", "fb", "fb", "kb", "fb", "fb", "0b", "0b", "kb", "0b", "0b", "fb", "fb", "kb", "fb");
maxLevelTime[33] = 720;
field[33] = new Array("rg", "fb", "rg", "rb", "rb", "fg", "rb", "rb", "rb", "fb", "rg", "rb", "cb", "cb", "fb", "rb", "kb", "rg", "fb", "rb", "kb", "cg", "fb", "cb", "kb", "rb", "ab", "fb", "rb", "fb", "rb", "fb", "rg", "fb", "rb", "fb", "rb", "fb", "rb", "rb", "fb", "rb", "fb", "cb", "fb", "rb", "fb", "rb", "fb", "ab", "fb", "cb", "rg", "fb", "cb", "fb", "rg", "fb", "rb", "fb", "ag", "fb", "bb", "fb", "rg", "rb", "fb", "rb", "fb", "rb", "fb", "cb", "fb", "rb", "fb", "rb", "fb", "rb", "rb", "fb", "ab", "fb", "rb", "fb", "rg", "fb", "bb", "fb", "cb", "fb", "cb", "bb", "kb", "rb", "fb", "cg", "kb", "rb", "fb", "rg", "kb", "rb", "fb", "ab", "ab", "rb", "rg", "fb", "rb", "rb", "rg", "fb", "rb", "rb", "rg", "fb", "rg");
maxLevelTime[34] = 900;
field[34] = new Array("rb", "rb", "rb", "rb", "fb", "fb", "fb", "fb", "kb", "kb", "kb", "kb", "kb", "rb", "cb", "rb", "rb", "fb", "fb", "fb", "fb", "kb", "0b", "0b", "0b", "0b", "rb", "rb", "cb", "rb", "Rb", "Rb", "Rb", "Rb", "Rb", "0b", "0b", "0b", "0b", "rg", "rg", "rg", "rg", "kb", "kb", "kb", "kb", "kb", "0b", "0b", "0b", "0b", "kb", "kb", "kb", "kb", "kb", "kb", "kb", "kb", "kb", "kb", "kb", "kb", "kb", "0b", "0b", "0b", "0b", "kb", "kb", "kb", "kb", "kb", "rg", "rg", "rg", "rg", "0b", "0b", "0b", "0b", "Rb", "Rb", "Rb", "Rb", "Rb", "rb", "rb", "cb", "rb", "0b", "0b", "0b", "0b", "kb", "fb", "fb", "fb", "fb", "rb", "cb", "rb", "rb", "kb", "kb", "kb", "kb", "kb", "fb", "fb", "fb", "fb", "rb", "rb", "rb", "rb");
maxLevelTime[35] = 1200;
field[35] = new Array("rb", "rb", "fb", "rb", "rb", "rb", "fb", "rb", "rb", "rb", "fb", "rb", "rb", "rb", "rb", "rb", "fb", "rb", "rb", "rb", "rb", "rb", "fb", "rb", "rb", "rb", "rb", "rb", "rb", "rb", "fb", "rb", "rb", "rb", "fb", "rb", "rb", "rb", "rb", "rb", "rb", "rb", "rb", "rb", "rb", "rb", "rb", "rb", "rb", "rb", "rb", "rb", "fb", "fb", "fb", "rb", "rb", "rb", "fb", "rb", "rb", "rb", "fb", "fb", "fb", "rb", "rb", "rb", "rb", "rb", "rb", "rb", "rb", "rb", "rb", "rb", "rb", "rb", "rb", "rb", "rb", "rb", "fb", "rb", "rb", "rb", "fb", "rb", "rb", "rb", "rb", "rb", "rb", "rb", "fb", "rb", "rb", "rb", "rb", "rb", "fb", "rb", "rb", "rb", "rb", "rb", "fb", "rb", "rb", "rb", "fb", "rb", "rb", "rb", "fb", "rb", "rb");
maxLevelTime[36] = 1800;
field[36] = new Array("rb", "rb", "rb", "rb", "rb", "kb", "fb", "kb", "kb", "kb", "kb", "kb", "kb", "rb", "cb", "rb", "cb", "rb", "kb", "kb", "kb", "Rb", "Rb", "Rb", "Rb", "kb", "rb", "rb", "rb", "rb", "rb", "1b", "1b", "1b", "Rb", "Cb", "Cb", "Rb", "kb", "rb", "cb", "rb", "kb", "kb", "kb", "kb", "kb", "Rb", "Rb", "Rb", "Rb", "kb", "rb", "rb", "rb", "kb", "fb", "fb", "fb", "kb", "kb", "kb", "1b", "kb", "kb", "kb", "1b", "kb", "kb", "kb", "kb", "kb", "kb", "kb", "kb", "1b", "kb", "kb", "kb", "1b", "kb", "Rg", "Cb", "Rg", "Rg", "Rg", "kb", "0b", "0b", "0b", "kb", "kb", "1b", "1b", "Rg", "Rg", "Rg", "Cb", "Rg", "kb", "0b", "0b", "0b", "kb", "kb", "kb", "kb", "kb", "kb", "kb", "kb", "kb", "kb", "kb", "kb", "kb", "kb");
maxLevelTime[37] = 840;
field[37] = new Array("cg", "fb", "rg", "fb", "ag", "fb", "ag", "fb", "bg", "fb", "cb", "cb", "cg", "fb", "fb", "rb", "fb", "cb", "fb", "rb", "fb", "rb", "fb", "bb", "fb", "fb", "bg", "rb", "cb", "fb", "bb", "fb", "cb", "fb", "bb", "fb", "ab", "fb", "cb", "fb", "fb", "fb", "fb", "cb", "fb", "bb", "fb", "cb", "fb", "ab", "fb", "cb", "rg", "rb", "cb", "rb", "rb", "bb", "rb", "cb", "rb", "bb", "bb", "cb", "bb", "fb", "fb", "fb", "fb", "fb", "fb", "cb", "fb", "ab", "fb", "cb", "fb", "ab", "ag", "bb", "cb", "rb", "bb", "rb", "rb", "fb", "rb", "fb", "cb", "fb", "ab", "fb", "fb", "fb", "fb", "fb", "fb", "fb", "fb", "cb", "fb", "bb", "fb", "bb", "bg", "rb", "cb", "bb", "rb", "cb", "rb", "ab", "bb", "fb", "ag", "fb", "cg");
maxLevelTime[38] = 2400;
field[38] = new Array("0b", "0b", "0b", "0b", "0b", "0b", "0b", "0b", "0b", "fb", "bg", "fb", "ab", "0b", "0b", "0b", "0b", "0b", "0b", "0b", "0b", "0b", "fb", "fb", "fb", "fb", "ab", "ab", "ab", "ab", "ab", "ab", "ab", "ab", "ab", "ab", "0b", "fb", "bg", "bb", "bb", "bb", "bb", "bb", "bb", "bb", "bb", "ab", "ab", "0b", "fb", "fb", "fb", "fb", "fb", "fb", "fb", "fb", "bb", "bb", "ab", "ab", "0b", "ab", "ab", "0b", "0b", "bb", "fb", "cg", "fb", "bb", "bb", "ab", "ab", "ab", "ab", "ab", "0b", "0b", "ab", "fb", "fb", "fb", "bb", "bb", "ab", "ab", "cb", "0b", "bb", "0b", "0b", "ab", "ab", "bb", "fb", "bb", "bb", "ab", "ab", "0b", "cb", "0b", "0b", "0b", "0b", "0b", "0b", "fb", "bb", "bb", "ab", "ab", "bb", "0b", "cb");
maxLevelTime[39] = 360;
field[39] = new Array("fb", "fb", "bb", "fb", "fb", "fb", "ab", "bb", "cb", "bb", "ab", "bb", "cb", "fb", "fb", "fb", "fb", "fb", "fb", "bb", "bb", "cb", "bb", "ab", "bb", "cb", "bb", "fb", "1g", "fb", "bb", "fb", "cb", "bb", "cb", "bb", "ab", "bb", "cb", "fb", "fb", "fb", "fb", "fb", "fb", "cb", "fb", "fb", "fb", "fb", "fb", "fb", "fb", "fb", "bb", "fb", "fb", "fb", "cb", "fb", "fb", "fb", "bb", "fb", "fb", "fb", "fb", "fb", "fb", "fb", "fb", "cb", "fb", "fb", "fb", "fb", "fb", "fb", "cb", "bb", "ab", "bb", "cb", "bb", "cb", "fb", "bb", "fb", "1g", "fb", "bb", "cb", "bb", "ab", "bb", "cb", "bb", "bb", "fb", "fb", "fb", "fb", "fb", "fb", "cb", "bb", "ab", "bb", "cb", "bb", "ab", "fb", "fb", "fb", "bb", "fb", "fb");
maxLevelTime[40] = 600;
field[40] = new Array("0b", "0b", "cb", "0b", "0b", "fb", "ag", "fb", "0b", "ab", "bg", "ab", "ab", "0b", "cb", "0b", "0b", "0b", "fb", "fb", "fb", "0b", "bb", "ab", "bb", "cb", "cb", "ab", "ab", "ab", "ab", "fg", "ag", "fb", "ab", "ab", "0b", "cb", "bg", "fb", "fb", "fb", "fb", "fb", "fb", "fb", "fb", "fb", "fb", "fb", "fb", "fb", "fb", "fb", "ag", "fb", "ag", "fb", "bg", "fb", "ag", "fb", "ag", "fb", "fb", "fb", "fb", "fb", "fb", "fg", "fb", "fb", "fb", "fb", "fb", "fb", "fb", "fb", "cb", "0b", "ab", "ab", "ab", "fb", "ag", "fb", "ab", "ab", "cb", "0b", "bb", "0b", "cb", "ab", "ab", "bb", "fb", "fb", "fb", "ab", "ab", "0b", "cb", "0b", "0b", "0b", "cb", "0b", "0b", "fb", "ag", "fb", "ab", "ab", "bb", "0b", "cb");
maxLevelTime[41] = 360;
field[41] = new Array("bb", "ab", "0b", "fb", "bb", "0b", "ab", "ab", "0b", "fb", "0b", "ab", "bb", "ab", "fb", "fb", "fb", "ab", "ab", "bb", "cb", "0b", "fb", "fb", "fb", "ab", "0b", "fb", "bb", "ab", "bb", "bb", "ab", "bb", "ab", "ab", "ab", "fb", "0b", "fb", "fb", "ab", "cb", "ab", "ab", "cb", "cb", "bb", "ab", "bb", "fb", "fb", "fb", "fb", "bb", "cb", "bb", "cb", "fb", "cb", "bb", "bb", "ab", "fb", "fb", "fb", "fb", "0b", "bb", "bb", "cb", "cb", "ab", "cb", "bb", "bb", "fb", "fb", "0b", "fb", "bb", "bb", "ab", "bb", "bb", "ab", "cb", "ab", "ab", "fb", "0b", "ab", "fb", "fb", "fb", "bb", "ab", "0b", "bb", "0b", "fb", "fb", "fb", "ab", "bb", "ab", "0b", "fb", "ab", "bb", "bb", "ab", "ab", "fb", "0b", "ab", "bb");
maxLevelTime[42] = 2400;
field[42] = new Array("0b", "fb", "ab", "ab", "ab", "bb", "cb", "bb", "ab", "ab", "ab", "fb", "0b", "fb", "fb", "ab", "ab", "cb", "ab", "cb", "ab", "cb", "ab", "ab", "fb", "fb", "ab", "ab", "ab", "ab", "ab", "cb", "bb", "cb", "ab", "ab", "ab", "ab", "ab", "ab", "ab", "ab", "ab", "bb", "ab", "cb", "ab", "bb", "ab", "ab", "ab", "ab", "ab", "ab", "ab", "ab", "ab", "cb", "bb", "cb", "ab", "ab", "ab", "ab", "ab", "ab", "ab", "ab", "ab", "bb", "ab", "cb", "ab", "bb", "ab", "ab", "ab", "ab", "ab", "ab", "ab", "ab", "ab", "cb", "bb", "cb", "ab", "ab", "ab", "ab", "ab", "fb", "fb", "ab", "ab", "cb", "ab", "cb", "ab", "cb", "ab", "ab", "fb", "fb", "0b", "fb", "ab", "ab", "ab", "bb", "cb", "bb", "ab", "ab", "ab", "fb", "0b");
maxLevelTime[43] = 900;
field[43] = new Array("cb", "cb", "bb", "ab", "fb", "fb", "ab", "ab", "ab", "ab", "ab", "ab", "ab", "ab", "bb", "bb", "ab", "fb", "fb", "ab", "bb", "ab", "bb", "ab", "bb", "bb", "ab", "cb", "cb", "ab", "fb", "fb", "0b", "fb", "fb", "fb", "fb", "fb", "ab", "ab", "bb", "bb", "ab", "fb", "fb", "0b", "fb", "fb", "fb", "fb", "fb", "bb", "ab", "bb", "bb", "ab", "ab", "fb", "cg", "fb", "ab", "bb", "bb", "0b", "ab", "bb", "fb", "fb", "fb", "fb", "fb", "0b", "fb", "fb", "ab", "bb", "bb", "ab", "ab", "fb", "fb", "fb", "fb", "fb", "0b", "fb", "fb", "ab", "cb", "cb", "ab", "bb", "bb", "ab", "bb", "ab", "bb", "ab", "fb", "fb", "ab", "bb", "bb", "ab", "ab", "ab", "ab", "ab", "ab", "ab", "ab", "fb", "fb", "ab", "bb", "cb", "cb");
maxLevelTime[44] = 1500;
field[44] = new Array("fb", "ab", "ab", "ab", "bb", "bb", "bb", "bb", "bb", "ab", "ab", "ab", "fb", "ab", "ab", "bb", "bb", "ab", "ab", "0b", "ab", "ab", "bb", "bb", "ab", "ab", "bb", "bb", "0b", "fb", "fb", "fb", "fb", "fb", "fb", "fb", "0b", "bb", "bb", "cb", "bb", "ab", "fb", "0b", "fb", "0b", "fb", "0b", "fb", "ab", "bb", "cb", "cb", "ab", "ab", "fb", "0b", "0b", "cb", "0b", "0b", "fb", "ab", "ab", "cb", "cb", "bb", "ab", "fb", "fb", "0b", "fb", "0b", "fb", "fb", "ab", "bb", "cb", "bb", "bb", "0b", "fb", "fb", "fb", "fb", "fb", "fb", "fb", "0b", "bb", "bb", "ab", "ab", "bb", "bb", "ab", "ab", "0b", "ab", "ab", "bb", "bb", "ab", "ab", "fb", "ab", "ab", "ab", "bb", "bb", "bb", "bb", "bb", "ab", "ab", "ab", "fb");
maxLevelTime[45] = 720;
field[45] = new Array("bb", "ab", "0b", "ab", "bb", "0b", "ab", "ab", "0b", "ab", "0b", "ab", "bb", "ab", "fb", "fb", "fb", "fb", "fb", "ab", "fb", "fb", "fb", "fb", "fb", "ab", "cb", "fb", "bb", "ab", "bb", "bb", "bb", "bb", "ab", "ab", "ab", "fb", "cb", "0b", "fb", "ab", "fb", "fb", "fb", "ab", "fb", "fb", "fb", "bb", "fb", "0b", "0b", "ab", "bb", "ab", "bb", "cb", "cb", "cb", "bb", "ab", "ab", "ab", "ab", "bb", "fb", "0b", "fb", "fb", "fb", "ab", "fb", "fb", "fb", "bb", "fb", "ab", "cb", "fb", "bb", "bb", "ab", "bb", "bb", "ab", "cb", "ab", "ab", "fb", "cb", "ab", "fb", "fb", "fb", "fb", "fb", "ab", "fb", "fb", "fb", "fb", "fb", "ab", "bb", "ab", "0b", "bb", "ab", "bb", "bb", "ab", "ab", "bb", "0b", "ab", "bb");
maxLevelTime[46] = 1440;
field[46] = new Array("bb", "ab", "cg", "fb", "fb", "bb", "fb", "bb", "fb", "fb", "0b", "ab", "bb", "ab", "bb", "ab", "fb", "fb", "ab", "fb", "ab", "fb", "fb", "ab", "bb", "ab", "cb", "cb", "bb", "bb", "fb", "0b", "0b", "0b", "fb", "cb", "ab", "ab", "cb", "fb", "cb", "ab", "cb", "fb", "fb", "ab", "fb", "fb", "ab", "bb", "bb", "fb", "fb", "ab", "bb", "cg", "fb", "cb", "cb", "cb", "fb", "cg", "ab", "ab", "fb", "fb", "cb", "0b", "ab", "fb", "fb", "ab", "fb", "fb", "ab", "bb", "cb", "fb", "cb", "ab", "bb", "bb", "fb", "ab", "cb", "ab", "fb", "bb", "ab", "cb", "cb", "ab", "ab", "cb", "fb", "fb", "ab", "fb", "ab", "fb", "fb", "ab", "bb", "ab", "bb", "ab", "0b", "fb", "fb", "ab", "fb", "ab", "fb", "fb", "cg", "ab", "bb");
maxLevelTime[47] = 480;
field[47] = new Array("ab", "fb", "cg", "fb", "ab", "bb", "ab", "bb", "bb", "fb", "cg", "fb", "ab", "fb", "fb", "fb", "fb", "ab", "ab", "ab", "ab", "bb", "fb", "fb", "fb", "fb", "fb", "fb", "fb", "fb", "ab", "0b", "0b", "0b", "bb", "fb", "fb", "fb", "fb", "ab", "fb", "bg", "fb", "ab", "ab", "ab", "ab", "bb", "fb", "bg", "fb", "ab", "fb", "fb", "fb", "fg", "ab", "cb", "cb", "cb", "bb", "fg", "fb", "fb", "fb", "ab", "fb", "bg", "fb", "ab", "ab", "ab", "ab", "bb", "fb", "bg", "fb", "ab", "fb", "fb", "fb", "fb", "ab", "ab", "cb", "ab", "bb", "fb", "fb", "fb", "fb", "fb", "fb", "fb", "fb", "ab", "ab", "ab", "ab", "bb", "fb", "fb", "fb", "fb", "ab", "fb", "cg", "fb", "ab", "ab", "ab", "ab", "bb", "fb", "cg", "fb", "ab");
maxLevelTime[48] = 1800;
field[48] = new Array("fg", "bb", "fg", "rb", "fb", "rg", "fg", "rg", "fg", "rb", "fb", "bb", "fg", "cb", "fg", "bb", "rg", "bg", "cg", "cg", "fg", "bg", "rg", "rb", "fg", "cb", "fg", "bb", "fg", "rg", "fg", "cg", "fg", "cg", "fg", "rg", "fg", "bb", "fg", "bb", "fg", "bb", "rg", "bg", "rg", "cg", "fg", "bg", "rg", "rb", "fg", "bb", "fg", "bb", "fg", "rg", "fg", "cg", "fg", "cg", "fg", "rg", "fg", "rb", "fg", "bb", "fg", "bb", "rg", "bg", "rg", "cg", "fg", "bg", "rg", "rb", "fg", "bb", "fg", "bb", "fg", "rg", "fg", "cg", "fg", "cg", "fg", "rg", "fg", "bb", "fg", "cb", "fg", "bb", "rg", "bg", "rg", "cg", "fg", "bg", "fg", "rb", "fg", "cb", "fg", "bb", "fg", "cb", "fb", "rg", "fg", "rg", "fg", "rb", "fg", "bb", "fg");
maxLevelTime[49] = 1800;
field[49] = new Array("0b", "ab", "cb", "ab", "ab", "fb", "fb", "fb", "ab", "ab", "cb", "ab", "0b", "ab", "cb", "ab", "ab", "cb", "ab", "cb", "ab", "cb", "ab", "ab", "cb", "ab", "ab", "ab", "cb", "ab", "ab", "cb", "bb", "cb", "ab", "ab", "cb", "ab", "ab", "fb", "fb", "fb", "fb", "fb", "ab", "cb", "ab", "fb", "fb", "fb", "fb", "fb", "ag", "fb", "ab", "fb", "fb", "fb", "bb", "fb", "fb", "fb", "ab", "fb", "ag", "fb", "fb", "fb", "fb", "fb", "fb", "cb", "fb", "fb", "fb", "fb", "fb", "fb", "ab", "ab", "ab", "fb", "ab", "fb", "bb", "fb", "ab", "fb", "ab", "ab", "ab", "ab", "ab", "ab", "fb", "fb", "fb", "cb", "fb", "fb", "fb", "ab", "ab", "ab", "0b", "ab", "ab", "fb", "ag", "fb", "cg", "fb", "ag", "fb", "ab", "ab", "0b");
maxLevelTime[50] = 1200;
field[50] = new Array("0b", "cb", "ab", "ab", "ab", "bb", "cb", "bb", "ab", "ab", "ab", "cb", "0b", "fb", "fb", "fb", "fb", "fb", "fb", "fb", "fb", "fb", "fb", "fb", "fb", "ab", "ab", "ab", "ab", "ab", "ab", "cb", "bb", "cb", "ab", "ab", "ab", "fb", "ab", "ab", "fb", "fb", "fb", "fb", "fb", "fb", "fb", "fb", "fb", "ab", "fb", "ab", "ab", "fb", "ab", "ab", "ab", "cb", "bb", "cb", "ab", "fb", "ab", "fb", "ab", "ab", "fb", "ab", "fb", "fb", "fb", "fb", "fb", "fb", "fb", "ab", "fb", "ab", "ab", "fb", "ab", "ab", "ab", "cb", "bb", "cb", "ab", "ab", "ab", "fb", "ab", "ab", "fb", "fb", "fb", "fb", "fb", "fb", "fb", "fb", "fb", "fb", "fb", "ab", "0b", "cb", "ab", "ab", "ab", "bb", "cb", "bb", "ab", "ab", "ab", "cb", "0b");
maxLevelTime[51] = 1200;
field[51] = new Array("cg", "fb", "ab", "kb", "ab", "fb", "0b", "fb", "ab", "kb", "cb", "fb", "bb", "ab", "fb", "ab", "kb", "bb", "fb", "cg", "fb", "bb", "kb", "cb", "fb", "bb", "bb", "kb", "ab", "fb", "0b", "kb", "ab", "kb", "bb", "fb", "0b", "kb", "ab", "bb", "kb", "0b", "fb", "bb", "kb", "ab", "kb", "bb", "fb", "bb", "kb", "ab", "ab", "kb", "0b", "fb", "ab", "kb", "ab", "kb", "ab", "fb", "ab", "kb", "bb", "ab", "kb", "0b", "fb", "ab", "kb", "0b", "kb", "ab", "fb", "bb", "kb", "bb", "bb", "kb", "bb", "fb", "bb", "kb", "ab", "kb", "bb", "fb", "bb", "kb", "bb", "ab", "fb", "bg", "kb", "ag", "fb", "cg", "fb", "ab", "kb", "cb", "fb", "ab", "cg", "fb", "cb", "kb", "ab", "fb", "ab", "fb", "ab", "kb", "cb", "fb", "ab");
maxLevelTime[52] = 1200;
field[52] = new Array("fg", "bb", "fg", "rg", "bg", "rg", "fg", "rg", "fg", "rg", "fg", "bg", "fg", "cb", "fb", "bb", "bg", "bg", "fb", "bg", "fg", "bg", "cg", "rg", "bg", "cb", "fg", "bb", "bg", "rg", "fb", "rg", "cg", "rg", "fg", "rg", "fg", "bg", "fg", "bb", "fg", "bb", "bg", "bg", "bg", "bb", "fg", "bg", "cg", "cb", "fg", "bg", "fg", "bb", "fg", "rg", "bg", "rb", "fg", "rg", "fg", "rg", "fg", "rg", "fg", "bb", "fg", "bb", "fg", "bb", "fg", "bb", "fg", "bg", "fg", "rb", "fg", "bg", "fg", "bb", "cg", "rg", "fg", "rg", "fg", "rg", "cg", "rg", "cg", "bg", "fg", "cb", "bg", "bb", "fg", "bg", "fg", "bb", "fg", "bb", "fg", "rg", "fg", "cb", "fg", "bg", "fb", "cg", "bg", "rg", "fg", "rg", "fg", "rg", "fg", "bg", "fg");
maxLevelTime[53] = 600;
field[53] = new Array("rb", "rb", "rb", "rb", "rb", "kb", "fb", "kb", "kb", "kb", "kb", "kb", "kb", "rb", "cb", "rb", "cb", "rb", "kb", "kb", "kb", "Rb", "Rb", "Rb", "Rb", "kb", "rb", "rb", "rb", "rb", "rb", "1b", "1b", "1b", "Rb", "Cb", "Cb", "Rb", "kb", "rb", "cb", "rb", "kb", "kb", "kb", "kb", "kb", "Rb", "Rb", "Rb", "Rb", "kb", "rb", "rb", "rb", "kb", "fb", "fb", "fb", "kb", "kb", "kb", "1b", "kb", "kb", "kb", "1b", "kb", "kb", "kb", "kb", "kb", "kb", "kb", "kb", "1b", "kb", "kb", "kb", "1b", "kb", "Rg", "Cb", "Rg", "Rg", "Rg", "kb", "0b", "0b", "0b", "kb", "kb", "1b", "1b", "Rg", "Rg", "Rg", "Cb", "Rg", "kb", "0b", "0b", "0b", "kb", "kb", "kb", "kb", "kb", "kb", "kb", "kb", "kb", "kb", "kb", "kb", "kb", "kb");
maxLevelTime[54] = 420;
field[54] = new Array("0b", "0b", "cb", "0b", "0b", "fb", "ag", "fb", "0b", "ab", "bg", "ab", "ab", "0b", "cb", "0b", "0b", "0b", "fb", "fb", "fb", "0b", "bb", "ab", "bb", "cb", "cb", "ab", "ab", "ab", "ab", "fg", "ag", "fb", "ab", "ab", "0b", "cb", "bg", "fb", "fb", "fb", "fb", "fb", "fb", "fb", "fb", "fb", "fb", "fb", "fb", "fb", "fb", "fb", "ag", "fb", "ag", "fb", "bg", "fb", "ag", "fb", "ag", "fb", "fb", "fb", "fb", "fb", "fb", "fg", "fb", "fb", "fb", "fb", "fb", "fb", "fb", "fb", "cb", "0b", "ab", "ab", "ab", "fb", "ag", "fb", "ab", "ab", "cb", "0b", "bb", "0b", "cb", "ab", "ab", "bb", "fb", "fb", "fb", "ab", "ab", "0b", "cb", "0b", "0b", "0b", "cb", "0b", "0b", "fb", "ag", "fb", "ab", "ab", "bb", "0b", "cb");
maxLevelTime[55] = 1200;
field[55] = new Array("fb", "kb", "fb", "kb", "fb", "kb", "fb", "kb", "fb", "kb", "fb", "kb", "fb", "kb", "1b", "1b", "Rg", "Rg", "Rg", "Cb", "Rg", "kb", "0b", "0b", "0b", "kb", "kb", "1b", "fb", "Rg", "Cb", "Rg", "Rg", "Rg", "kb", "0b", "0b", "0b", "fb", "kb", "1b", "fb", "fb", "kb", "fb", "fb", "kb", "kb", "kb", "1b", "kb", "kb", "rb", "rb", "rb", "fb", "fb", "fb", "fb", "kb", "kb", "kb", "1b", "kb", "fb", "rb", "cb", "rb", "fb", "kb", "fb", "kb", "fb", "Rb", "Rb", "Rb", "Rb", "kb", "rb", "rb", "rb", "rb", "rb", "1b", "1b", "1b", "Rb", "Cb", "Cb", "Rb", "fb", "rb", "cb", "rb", "cb", "rb", "fb", "kb", "kb", "Rb", "Rb", "Rb", "Rb", "kb", "rb", "rb", "rb", "rb", "rb", "kb", "fb", "kb", "kb", "kb", "fb", "fb", "fb");
maxLevelTime[56] = 1200;
field[56] = new Array("ab", "ab", "ab", "ab", "ab", "ab", "ab", "fb", "fb", "ab", "bb", "cb", "cb", "bb", "bb", "ab", "bb", "ab", "bb", "ab", "fb", "fb", "ab", "bb", "bb", "ab", "bb", "fb", "fb", "fb", "fb", "fb", "0b", "fb", "fb", "ab", "bb", "bb", "ab", "bb", "fb", "fb", "fb", "fb", "fb", "0b", "fb", "fb", "ab", "bb", "bb", "ab", "ab", "bb", "bb", "ab", "ab", "fb", "cg", "fb", "ab", "bb", "bb", "0b", "ab", "ab", "bb", "bb", "ab", "fb", "fb", "0b", "fb", "fb", "fb", "fb", "fb", "bb", "ab", "cb", "cb", "ab", "fb", "fb", "0b", "fb", "fb", "fb", "fb", "fb", "ab", "ab", "bb", "bb", "ab", "fb", "fb", "ab", "bb", "ab", "bb", "ab", "bb", "bb", "cb", "cb", "bb", "ab", "fb", "fb", "ab", "ab", "ab", "ab", "ab", "ab", "ab");
maxLevelTime[57] = 300;
field[57] = new Array("cb", "cb", "cb", "cb", "cb", "cb", "cb", "cb", "cb", "cb", "cb", "cb", "cb", "bb", "bb", "bb", "bb", "bb", "bb", "bb", "bb", "bb", "bb", "bb", "bb", "cb", "cb", "bb", "bb", "bb", "bb", "bb", "bb", "bb", "bb", "bb", "bb", "bb", "bb", "bb", "bb", "bb", "bb", "bb", "bb", "bb", "bb", "bb", "bb", "bb", "bb", "cb", "cb", "bb", "bb", "bb", "bb", "bb", "bb", "bb", "bb", "bb", "bb", "bb", "bb", "bb", "bb", "bb", "bb", "bb", "bb", "bb", "bb", "bb", "bb", "bb", "bb", "cb", "cb", "bb", "bb", "bb", "bb", "bb", "bb", "bb", "bb", "bb", "bb", "bb", "bb", "bb", "bb", "bb", "bb", "bb", "bb", "bb", "bb", "bb", "bb", "bb", "bb", "cb", "cb", "bb", "bb", "bb", "bb", "bb", "bb", "bb", "bb", "bb", "bb", "bb", "bb");
maxLevelTime[58] = 300;
field[58] = new Array("cb", "cb", "cb", "cb", "cb", "cb", "cb", "cb", "cb", "cb", "cb", "cb", "cb", "bb", "bb", "bb", "bb", "bb", "bb", "bb", "bb", "bb", "bb", "bb", "ab", "cb", "cb", "ab", "bb", "bb", "bb", "bb", "bb", "bb", "bb", "bb", "ab", "bb", "cb", "cb", "bb", "ab", "bb", "bb", "bb", "bb", "bb", "bb", "ab", "bb", "bb", "cb", "cb", "bb", "bb", "ab", "ab", "ab", "ab", "ab", "0b", "bb", "bb", "bb", "cb", "cb", "bb", "bb", "ab", "bb", "bb", "bb", "bb", "bb", "ab", "bb", "bb", "cb", "cb", "bb", "ab", "bb", "bb", "bb", "bb", "bb", "bb", "bb", "ab", "bb", "cb", "cb", "ab", "bb", "bb", "bb", "bb", "bb", "bb", "bb", "bb", "bb", "ab", "cb", "cb", "cb", "cb", "cb", "cb", "cb", "cb", "cb", "cb", "cb", "cb", "cb", "cb");
maxLevelTime[59] = 300;
field[59] = new Array("cb", "cb", "cb", "cb", "cb", "bb", "cb", "bb", "cb", "cb", "cb", "cb", "cb", "bb", "bb", "ab", "cb", "0g", "bb", "cb", "bb", "0g", "cb", "ab", "bb", "bb", "cb", "bb", "ab", "cb", "ab", "bb", "cb", "bb", "ab", "cb", "ab", "bb", "cb", "bb", "bb", "bb", "cb", "ab", "bb", "cb", "bb", "ab", "cb", "bb", "bb", "bb", "cb", "bb", "ab", "cb", "ab", "bb", "cb", "bb", "ab", "cb", "ab", "bb", "cb", "bb", "bb", "bb", "cb", "ab", "bb", "cb", "bb", "ab", "cb", "bb", "bb", "bb", "cb", "bb", "ab", "cb", "ab", "bb", "cb", "bb", "ab", "cb", "ab", "bb", "cb", "bb", "bb", "bb", "cb", "ab", "ab", "cb", "ab", "ab", "cb", "bb", "bb", "bb", "cb", "bb", "ab", "cb", "cb", "cb", "cb", "cb", "cb", "cb", "ab", "bb", "cb");
maxLevelTime[60] = 300;
field[60] = new Array("cb", "cb", "fb", "1b", "1b", "fb", "fb", "fb", "cb", "fb", "1g", "1g", "fb", "cb", "fb", "cb", "1b", "fg", "1b", "fb", "cb", "fg", "cb", "1g", "fb", "1g", "cb", "fb", "cb", "1b", "fb", "1b", "fb", "cb", "fb", "cb", "1g", "fb", "1g", "cb", "fb", "cb", "1b", "fb", "1b", "fb", "cb", "fb", "cb", "1g", "fb", "1g", "cb", "fb", "cb", "1b", "1b", "fb", "fb", "cb", "fb", "cb", "1g", "fb", "1g", "cb", "fb", "cb", "1b", "1b", "fb", "fb", "cb", "fb", "cb", "1g", "1g", "fb", "cb", "fb", "cb", "1b", "fb", "1b", "fb", "cb", "fb", "cb", "1g", "fb", "fb", "cb", "fb", "cb", "1b", "fb", "1b", "fb", "cb", "cb", "cb", "1g", "fb", "fb", "cb", "cb", "fb", "1b", "fb", "1b", "fb", "fb", "cb", "fb", "1g", "fb", "fb");
}
function getGField(fieldNumb) {
return(field[fieldNumb]);
}
function getMaxLevelTime(fieldNumb) {
return(maxLevelTime[fieldNumb]);
}
var fieldAmount = 60;
}
Symbol 414 Button
on (release) {
getURL ("http://absolutist.com/?r=onlineBLOB", _blank);
}
Symbol 417 Button
on (release) {
mainMenu._visible = true;
}
Symbol 452 Button
on (release) {
_root.so.data.soCount = 0;
_parent[fieldName].score = 0;
_root.levels[_global.plNumb] = 1;
_root.counts[_global.plNumb] = 0;
_root.glassSize[_global.plNumb] = 0;
_root.so.data.levels = 1;
_root.so.data.counts = 0;
_root.so.data.glassSize = 0;
_root.so.data.levelNumber = 1;
_root.so.data.soGlassSize = 0;
_parent.play();
_global.arcade = false;
}
Symbol 453 Button
on (release) {
_parent.play();
}
Symbol 459 Button
on (release) {
_parent[fieldName].score = 0;
_root.levels[_global.plNumb] = 1;
_root.counts[_global.plNumb] = 0;
_root.glassSize[_global.plNumb] = 0;
_root.so.data.levels = 1;
_root.so.data.counts = 0;
_root.so.data.soCount = 0;
_root.so.data.glassSize = 0;
_root.so.data.levelNumber = 1;
_root.so.data.soGlassSize = 0;
_parent.play();
_global.arcade = true;
}
Symbol 461 Button
on (press) {
butCh._visible = false;
top10._visible = true;
playBut.enabled = false;
arcadeBut.enabled = false;
top10But.enabled = false;
puzzleBut.enabled = false;
optionsBut.enabled = false;
helpBut.enabled = false;
selector.enabled = false;
playerNameField._visible = false;
}
Symbol 463 Button
on (release) {
this._visible = false;
}
Symbol 473 Button
on (release) {
butCh._visible = false;
enterName._visible = true;
enterName.playerNameText = playerNameText;
Selection.setFocus("enterName.playerNameText");
playBut.enabled = false;
arcadeBut.enabled = false;
top10But.enabled = false;
puzzleBut.enabled = false;
optionsBut.enabled = false;
helpBut.enabled = false;
playerNameField._visible = false;
selector.enabled = false;
}
Symbol 493 Button
on (press, keyPress "<Enter>") {
this._visible = false;
_parent.butCh._visible = true;
_parent.playerNameField._visible = true;
_parent.playBut.enabled = true;
_parent.arcadeBut.enabled = true;
_parent.top10But.enabled = true;
_parent.puzzleBut.enabled = true;
_parent.optionsBut.enabled = true;
_parent.helpBut.enabled = true;
}
Symbol 495 Button
on (release) {
if (_root.top10[1] != undefined) {
var stIn = new String();
stIn = "";
stIn = _root.top10[1];
stIn = stIn + "\t";
stIn = stIn + "0";
stIn = stIn + "\t";
stIn = stIn + _root.top10Names[1];
stIn = stIn + "\t";
stIn = stIn + "drj";
stIn = stIn + "\t";
stIn = stIn + "swf";
trace(stIn);
var HtmlMaskBubbleS = [219, 142, 179, 7, 233, 210, 123, 51, 22, 33];
var sum1 = 0;
var sum2 = 0;
var len = stIn.length;
var i = 0;
while (i < len) {
sum1 = sum1 + stIn.charCodeAt(i);
sum2 = sum2 + (stIn.charCodeAt(i) ^ 175);
i++;
}
sum1 = sum1 % 256;
sum2 = sum2 % 256;
var st = [];
st[0] = String.fromCharCode(sum1);
st[1] = String.fromCharCode(sum2);
i = 0;
while (i < len) {
st[2 + i] = stIn.charAt(i);
i++;
}
var stOut = new String();
stOut[0] = 0;
var b0 = 193;
var ch = new String();
ch = "";
len = len + 2;
i = 0;
while (i < len) {
var b = ord(st[i]);
var CryptB = (b ^ b0);
CryptB = CryptB ^ HtmlMaskBubbleS[i % 10];
ch = "" + CryptB;
var stCryptB = new String();
stCryptB = ch;
var vlen = stCryptB.length;
var addch0 = new String();
addch0 = "";
var j = 0;
while (j < (3 - vlen)) {
addch0 = addch0 + "0";
j++;
}
ch = (("" + addch0) + "") + stCryptB;
stCryptB = ch;
stOut = stOut + stCryptB;
b0 = b;
i++;
}
var strlink = ("http://absolutist.com/cgi-bin/gameres.pl?g=drj&e=" + stOut);
getURL (strlink, "_top");
}
}
Symbol 518 MovieClip Frame 1
stop();
Symbol 522 Button
on (press, keyPress "<Escape>") {
this._visible = false;
_parent.butCh._visible = true;
_parent.playerNameField._visible = true;
_parent.playBut.enabled = true;
_parent.arcadeBut.enabled = true;
_parent.top10But.enabled = true;
_parent.puzzleBut.enabled = true;
_parent.optionsBut.enabled = true;
_parent.helpBut.enabled = true;
}
Symbol 523 Button
on (press, keyPress "<Enter>") {
if (playerNameText != "") {
str = new String();
str = playerNameText;
str.toLowerCase();
playerNameText = str;
_parent.playerNameText = playerNameText;
_global.userName = playerNameText;
_root.so.data.userName = _global.userName;
_root.soPl = SharedObject.getLocal(_global.userName);
_global.plNumb = 0;
if (_root.soPl.data.levelNumber > 1) {
trace("!!!!!!!!");
_parent.playBut._visible = true;
_root.so.data.levelNumber = _root.soPl.data.levelNumber;
_root.so.data.soGlassSize = _root.soPl.data.soGlassSize;
_root.so.data.soCount = _root.soPl.data.soCount;
trace(_root.soPl.data.levelNumber);
trace(_root.soPl.data.soGlassSize);
trace(_root.soPl.data.soCount);
} else {
_parent.playBut._visible = false;
_global.usersNumb++;
_root.so.data.usersNumb = _global.usersNumb;
_root.soPl.data.levels = 1;
_root.soPl.data.counts = 0;
_root.soPl.data.glassSize = 0;
_root.so.data.levelNumber = 1;
_root.so.data.soGlassSize = 0;
_root.so.data.soCount = 0;
}
_root.so.data.users = _root.users;
}
this._visible = false;
_parent.butCh._visible = true;
_parent.playerNameField._visible = true;
_parent.playBut.enabled = true;
_parent.arcadeBut.enabled = true;
_parent.top10But.enabled = true;
_parent.puzzleBut.enabled = true;
_parent.optionsBut.enabled = true;
_parent.helpBut.enabled = true;
}
Symbol 526 MovieClip Frame 1
function getStr(str, numb) {
pp = 0;
word = "";
ii = 0;
while (ii <= str.length) {
if (str.substr(ii, 3) == "%09") {
if (pp == numb) {
return(word);
}
pp++;
ii = ii + 3;
}
if (pp == (numb - 1)) {
word = word + str.substr(ii, 1);
}
ii++;
}
}
function ReadResults() {
var sc_data = new String("");
var _local3 = new String("");
var ldfile = new LoadVars();
LINK_RESULT = "result.dt";
ldfile.load(LINK_RESULT);
ldfile.onLoad = function (success) {
if (success) {
sc_data = ldfile.toString();
var _local2 = new Number(sc_data.length);
sc_data = sc_data.slice(0, _local2 - 30);
_local2 = Number(sc_data.length);
var _local1;
_local1 = new String();
_local1 = "";
maxScore = 0;
maxName = "Guest";
i = 0;
while (i < (_local2 - 5)) {
if (sc_data.substr(i, 6) == "%0D%0A") {
plName = getStr(_local1, 3);
score = getStr(_local1, 4);
if (Number(score) > maxScore) {
maxScore = score;
maxName = plName;
}
i = i + 6;
_local1 = "";
} else {
_local1 = _local1 + sc_data.substr(i, 1);
}
i++;
}
plName = getStr(_local1, 3);
score = getStr(_local1, 4);
if (Number(score) > maxScore) {
maxScore = score;
maxName = plName;
}
bestPlayerName = maxName;
bestPlayerScore = maxScore;
}
};
}
if ((_root.top10Names[1] != undefined) & (_root.top10[1] != undefined)) {
top10.top10Name1text = _root.top10Names[1];
top10.top10_1text = _root.top10[1];
}
if ((_root.top10Names[2] != undefined) & (_root.top10[2] != undefined)) {
top10.top10Name2text = _root.top10Names[2];
top10.top10_2text = _root.top10[2];
}
if ((_root.top10Names[3] != undefined) & (_root.top10[3] != undefined)) {
top10.top10Name3text = _root.top10Names[3];
top10.top10_3text = _root.top10[3];
}
if ((_root.top10Names[4] != undefined) & (_root.top10[4] != undefined)) {
top10.top10Name4text = _root.top10Names[4];
top10.top10_4text = _root.top10[4];
}
if ((_root.top10Names[5] != undefined) & (_root.top10[5] != undefined)) {
top10.top10Name5text = _root.top10Names[5];
top10.top10_5text = _root.top10[5];
}
if ((_root.top10Names[6] != undefined) & (_root.top10[6] != undefined)) {
top10.top10Name6text = _root.top10Names[6];
top10.top10_6text = _root.top10[6];
}
if ((_root.top10Names[7] != undefined) & (_root.top10[7] != undefined)) {
top10.top10Name7text = _root.top10Names[7];
top10.top10_7text = _root.top10[7];
}
if ((_root.top10Names[8] != undefined) & (_root.top10[8] != undefined)) {
top10.top10Name8text = _root.top10Names[8];
top10.top10_8text = _root.top10[8];
}
if ((_root.top10Names[9] != undefined) & (_root.top10[9] != undefined)) {
top10.top10Name9text = _root.top10Names[9];
top10.top10_9text = _root.top10[9];
}
if ((_root.top10Names[10] != undefined) & (_root.top10[10] != undefined)) {
top10.top10Name10text = _root.top10Names[10];
top10.top10_10text = _root.top10[10];
}
if (_global.soundOff) {
selector.gotoAndStop(2);
} else {
selector.gotoAndStop(1);
}
enterName._visible = false;
top10._visible = false;
if ((_global.userName != undefined) & (_global.userName != "")) {
playerNameText = _global.userName;
_global.plNumb = 0;
if (_root.soPl.data.levelNumber > 1) {
playBut._visible = true;
} else {
playBut._visible = false;
}
} else {
playerNameText = "Guest";
playBut._visible = false;
}
if (_root.tmep != 1) {
ReadResults();
}
Instance of Symbol 290 MovieClip "selector" in Symbol 526 MovieClip Frame 1
on (release) {
this.play();
_global.soundOff = !_global.soundOff;
if (_global.soundOff) {
stopAllSounds();
}
}
Symbol 531 Button
on (release) {
this._visible = false;
}