Frame 1
if (getBytesLoaded() >= getBytesTotal()) {
_quality = "BEST";
gotoAndStop (3);
stop();
} else {
ProgressBar._xscale = int((getBytesLoaded() / getBytesTotal()) * 100);
ProgressBar._x = 113 + (((ProgressBar._xscale / 100) * 400) / 2);
}
Frame 2
gotoAndPlay (1);
Frame 3
function SetDoorCommands(d1, d2, d3, d4) {
DoorCommand = d1;
DoorCommandParam = d2;
DoorCommand2 = d3;
DoorCommandParam2 = d4;
}
function SetDoorClosed() {
DoorX = 0;
DoorMode = "DoorClosed";
DoorRightSide1._visible = true;
DoorLeftSide1._visible = true;
DoorRightSide1._x = (DoorX + 360) + 100;
DoorLeftSide1._x = (-DoorX) + 360;
}
function SetDoorOpened() {
DoorX = 370;
if (IsDoorForMenu) {
DoorX = 140;
}
DoorMode = "DoorOpened";
DoorRightSide1._visible = true;
DoorLeftSide1._visible = true;
DoorRightSide1._x = (DoorX + 360) + 100;
DoorLeftSide1._x = (-DoorX) + 360;
}
function SetDoorClosing() {
if (_root.isSoundOn) {
_root.SoundDoorClose.start();
}
DoorMove = -20;
DoorMode = "DoorClosing";
DoorRightSide1._visible = true;
DoorLeftSide1._visible = true;
DoorRightSide1._x = (DoorX + 360) + 100;
DoorLeftSide1._x = (-DoorX) + 360;
}
function SetDoorOpening() {
if (_root.isSoundOn) {
_root.SoundDoorOpen.start();
}
DoorMove = 20;
DoorMode = "DoorOpening";
DoorRightSide1._visible = true;
DoorLeftSide1._visible = true;
DoorRightSide1._x = (DoorX + 360) + 100;
DoorLeftSide1._x = (-DoorX) + 360;
}
function SetDoorCloseAndOpen() {
if (_root.isSoundOn) {
_root.SoundDoorClose.start();
}
DoorMove = -20;
DoorMode = "DoorCloseAndOpen";
DoorRightSide1._visible = true;
DoorLeftSide1._visible = true;
DoorRightSide1._x = (DoorX + 360) + 100;
DoorLeftSide1._x = (-DoorX) + 360;
}
function ProcessDoorCommand() {
if (DoorCommand == "LoadLevel") {
LoadLevel(DoorCommandParam);
}
if (DoorCommand == "HideMainMenu") {
_root.WindowMainMenu1._visible = false;
_root.MakeVisibleBoard();
}
if (DoorCommand == "ShowMainMenu") {
_root.InitMainMenu();
_root.MakeInvisibleBoard();
}
}
function UpdateDoors() {
if (DoorMode == "DoorCloseAndOpen") {
DoorX = DoorX + DoorMove;
if (DoorMove < 0) {
if (DoorX < 0) {
if (_root.isSoundOn) {
_root.SoundDoorOpen.start();
}
DoorX = 1;
DoorMove = DoorMove * -1;
ProcessDoorCommand();
}
}
if (IsDoorForMenu) {
if (DoorX > 140) {
if (DoorMove > 0) {
SetDoorOpened();
ProcessDoorCommand();
}
}
} else if (DoorMove > 0) {
if (DoorX > 370) {
SetDoorOpened();
}
}
DoorRightSide1._x = (DoorX + 360) + 100;
DoorLeftSide1._x = (-DoorX) + 360;
}
if (DoorMode == "DoorOpening") {
DoorX = DoorX + DoorMove;
if (IsDoorForMenu) {
if (DoorX > 140) {
SetDoorOpened();
ProcessDoorCommand();
}
} else if (DoorX > 370) {
SetDoorOpened();
ProcessDoorCommand();
}
DoorRightSide1._x = (DoorX + 360) + 100;
DoorLeftSide1._x = (-DoorX) + 360;
}
}
function EmptyArrayNet() {
var _local2 = 1;
while (_local2 <= FieldSizeX) {
var _local1 = 1;
while (_local1 <= FieldSizeY) {
SetArrayNetValue(_local2, _local1, 9999);
_local1++;
}
_local2++;
}
}
function GetArrayNetValue(pNetX, pNetY) {
return(ArrayNet[pNetX + ((pNetY - 1) * FieldSizeX)]);
}
function SetArrayNetValue(pNetX, pNetY, pValue) {
ArrayNet[pNetX + ((pNetY - 1) * FieldSizeX)] = pValue;
}
function ConvNetPosToPosX(pNetX) {
return(OtstupX + (pNetX * BrickSize));
}
function ConvNetPosToPosY(pNetY) {
return(OtstupY + (pNetY * BrickSize));
}
function ConvPosToNetPosX(pPosX) {
return(Math.round((pPosX - OtstupX) / BrickSize));
}
function ConvPosToNetPosY(pPosY) {
return(Math.round((pPosY - OtstupY) / BrickSize));
}
function FirstInit() {
}
function AddPodkladka(p_NetPosX, p_NetPosY) {
var _local2 = NumBalls;
duplicateMovieClip ("c_podkladka", "Podkladka" + _local2, _local2 + 10);
this["Podkladka" + _local2]._NetPosX = p_NetPosX;
this["Podkladka" + _local2]._NetPosY = p_NetPosY;
this["Podkladka" + _local2]._x = ConvNetPosToPosX(p_NetPosX);
this["Podkladka" + _local2]._y = ConvNetPosToPosY(p_NetPosY);
this["Podkladka" + _local2]._Number = _local2;
this["Podkladka" + _local2]._visible = true;
SetArrayNetValue(p_NetPosX, p_NetPosY, _local2);
}
function AddWall(p_NetPosX, p_NetPosY) {
NumWalls++;
var _local2 = NumWalls;
duplicateMovieClip ("c_wall", "Wall" + _local2, _local2 + 200);
this["Wall" + _local2]._NetPosX = p_NetPosX;
this["Wall" + _local2]._NetPosY = p_NetPosY;
this["Wall" + _local2]._x = ConvNetPosToPosX(p_NetPosX);
this["Wall" + _local2]._y = ConvNetPosToPosY(p_NetPosY);
this["Wall" + _local2]._Number = _local2;
this["Wall" + _local2]._visible = true;
SetArrayNetValue(p_NetPosX, p_NetPosY, 1);
}
function AddTube(p_NetPosX, p_NetPosY, p_Value) {
NumTubes++;
var _local2 = NumTubes;
var _local5 = p_Value - 30;
if (p_Value < 30) {
duplicateMovieClip ("c_tube" + p_Value, "Tube" + _local2, _local2 + 300);
}
if (p_Value >= 30) {
duplicateMovieClip ("c_can" + _local5, "Tube" + _local2, _local2 + 300);
}
this["Tube" + _local2]._NetPosX = p_NetPosX;
this["Tube" + _local2]._NetPosY = p_NetPosY;
this["Tube" + _local2]._x = ConvNetPosToPosX(p_NetPosX);
this["Tube" + _local2]._y = ConvNetPosToPosY(p_NetPosY);
this["Tube" + _local2]._Number = _local2;
this["Tube" + _local2]._Type = p_Value + 20;
this["Tube" + _local2]._visible = true;
SetArrayNetValue(p_NetPosX, p_NetPosY, _local2 + 300);
}
function AddPodkladka(p_NetPosX, p_NetPosY) {
NumPodkladok++;
var _local2 = NumPodkladok;
duplicateMovieClip ("c_podkladka", "Podkladka" + _local2, _local2 + 10);
this["Podkladka" + _local2]._x = ConvNetPosToPosX(p_NetPosX);
this["Podkladka" + _local2]._y = ConvNetPosToPosY(p_NetPosY);
}
function LoadLevel(p_LevelNumber) {
_root.WindowMainMenu1._visible = false;
EmptyArrayNet();
var _local5 = 1;
while (_local5 <= NumPodkladok) {
removeMovieClip("Podkladka" + _local5);
_local5++;
}
_local5 = 1;
while (_local5 <= NumWalls) {
removeMovieClip("Wall" + _local5);
_local5++;
}
_local5 = 1;
while (_local5 <= NumTubes) {
removeMovieClip("Tube" + _local5);
_local5++;
}
LevelNet = this["LevelNet" + p_LevelNumber];
LevelNetR = this["LevelNetR" + p_LevelNumber];
CurTime = this["MaxTime" + p_LevelNumber];
NumPodkladok = 0;
NumWalls = 0;
NumTubes = 0;
_local5 = 1;
while (_local5 <= FieldSizeX) {
var _local3 = 1;
while (_local3 <= FieldSizeY) {
var _local4 = LevelNet[(_local5 - 1) + ((_local3 - 1) * FieldSizeX)];
if (_local4 == 1) {
AddWall(_local5, _local3);
}
if (_local4 > 20) {
AddTube(_local5, _local3, _local4 - 20);
}
_local3++;
}
_local5++;
}
SetupMap();
c_arrowleft1._visible = false;
c_arrowright1._visible = false;
c_arrowdown1._visible = false;
c_arrowup1._visible = false;
GameMode = "WaitForSelect";
}
function WaitForSelectWork(pNetX, pNetY) {
if ((((pNetX < 0) || (pNetY < 0)) || (pNetX >= FieldSizeX)) || (pNetY >= FieldSizeY)) {
return(undefined);
}
var _local4 = GetArrayNetValue(pNetX, pNetY);
if ((_local4 > 300) && (_local4 < 400)) {
GameMode = "WaitForMove";
c_arrowleft1._visible = false;
c_arrowright1._visible = false;
c_arrowdown1._visible = false;
c_arrowup1._visible = false;
WorkTubeIndex = _local4 - 300;
if (GetArrayNetValue(pNetX - 1, pNetY) == 9999) {
c_arrowleft1._visible = true;
c_arrowleft1._x = this["Tube" + WorkTubeIndex]._x - BrickSize;
c_arrowleft1._y = this["Tube" + WorkTubeIndex]._y;
}
if (GetArrayNetValue(pNetX + 1, pNetY) == 9999) {
c_arrowright1._visible = true;
c_arrowright1._x = this["Tube" + WorkTubeIndex]._x + BrickSize;
c_arrowright1._y = this["Tube" + WorkTubeIndex]._y;
}
if (GetArrayNetValue(pNetX, pNetY - 1) == 9999) {
c_arrowup1._visible = true;
c_arrowup1._x = this["Tube" + WorkTubeIndex]._x;
c_arrowup1._y = this["Tube" + WorkTubeIndex]._y - BrickSize;
}
if (GetArrayNetValue(pNetX, pNetY + 1) == 9999) {
c_arrowdown1._visible = true;
c_arrowdown1._x = this["Tube" + WorkTubeIndex]._x;
c_arrowdown1._y = this["Tube" + WorkTubeIndex]._y + BrickSize;
}
}
}
function OnMouseUp() {
if (_root.DialogMode == "ShowIntro") {
SetDoorOpening();
ClickAnyPlace1._visible = false;
MakeVisibleBoard();
if (!IsOnlineGame) {
InitMainMenu();
}
_root.DialogMode = "Gaming";
}
if (_root.DialogMode != "Gaming") {
return(undefined);
}
if ((GameMode == "WaitForSelect") || (GameMode == "WaitForMove")) {
var _local5 = ConvPosToNetPosX(_root._xmouse);
var _local4 = ConvPosToNetPosY(_root._ymouse);
if ((((_local5 >= 0) && (_local4 >= 0)) || (_local5 < FieldSizeX)) || (_local4 < FieldSizeY)) {
var _local6 = GetArrayNetValue(_local5, _local4);
if ((_local6 > 300) && (_local6 < 400)) {
if (_root.isSoundOn) {
_root.SoundClickTube.start();
}
}
}
WaitForSelectWork(_local5, _local4);
}
if (GameMode == "WaitForMove") {
var _local5 = ConvPosToNetPosX(_root._xmouse);
var _local4 = ConvPosToNetPosY(_root._ymouse);
if (GetArrayNetValue(_local5, _local4) != 9999) {
return(undefined);
}
dirX = 0;
dirY = 0;
if (GetArrayNetValue(_local5 - 1, _local4) == (300 + WorkTubeIndex)) {
dirX = 1;
}
if (GetArrayNetValue(_local5 + 1, _local4) == (300 + WorkTubeIndex)) {
dirX = -1;
}
if (GetArrayNetValue(_local5, _local4 - 1) == (300 + WorkTubeIndex)) {
dirY = 1;
}
if (GetArrayNetValue(_local5, _local4 + 1) == (300 + WorkTubeIndex)) {
dirY = -1;
}
if ((dirX == 0) && (dirY == 0)) {
return(undefined);
}
if (_root.isSoundOn) {
_root.SoundClickArrow.start();
}
GameMode = "Moving";
c_arrowleft1._visible = false;
c_arrowright1._visible = false;
c_arrowdown1._visible = false;
c_arrowup1._visible = false;
var _local3 = _local5;
var _local2 = _local4;
while (GetArrayNetValue(_local3 + dirX, _local2 + dirY) == 9999) {
_local3 = _local3 + dirX;
_local2 = _local2 + dirY;
}
MustPosX = ConvNetPosToPosX(_local3);
MustPosY = ConvNetPosToPosY(_local2);
}
}
function CalculateOffset() {
FirstNetX = 0;
var _local2 = 1;
while (_local2 <= FieldSizeX) {
var _local1 = 1;
while (_local1 <= FieldSizeY) {
if (FirstNetX == 0) {
g_value = GetArrayNetValue(_local2, _local1);
if ((g_value > 300) && (g_value < 400)) {
FirstNetX = _local2;
FirstNetY = _local1;
}
}
_local1++;
}
_local2++;
}
FirstNetRX = 0;
_local2 = 1;
while (_local2 <= FieldSizeX) {
var _local1 = 1;
while (_local1 <= FieldSizeY) {
if (FirstNetRX == 0) {
g_value = LevelNetR[(_local2 - 1) + ((_local1 - 1) * FieldSizeX)];
if ((g_value > 20) && (g_value < 80)) {
FirstNetRX = _local2;
FirstNetRY = _local1;
}
}
_local1++;
}
_local2++;
}
OffsetX = FirstNetRX - FirstNetX;
OffsetY = FirstNetRY - FirstNetY;
}
function CheckLevelComplete() {
CalculateOffset();
var _local3 = 1;
while (_local3 <= FieldSizeX) {
var _local2 = 1;
for ( ; _local2 <= FieldSizeY ; _local2++) {
g_value1 = LevelNetR[(_local3 - 1) + ((_local2 - 1) * FieldSizeX)];
if ((g_value1 > 20) && (g_value1 < 80)) {
if (((((_local3 - OffsetX) > 0) && ((_local3 - OffsetX) <= FieldSizeX)) && ((_local2 - OffsetY) > 0)) && ((_local2 - OffsetY) <= FieldSizeY)) {
g_value2 = GetArrayNetValue(_local3 - OffsetX, _local2 - OffsetY);
if ((g_value2 > 300) && (g_value2 < 400)) {
if (this["Tube" + (g_value2 - 300)]._Type != g_value1) {
return(false);
}
continue;
}
return(false);
}
return(false);
}
}
_local3++;
}
return(true);
}
function SetupMap() {
var _local3 = 1;
while (_local3 <= NumMapTubes) {
removeMovieClip("MapTube" + _local3);
_local3++;
}
NumMapTubes = 0;
_local3 = 1;
while (_local3 <= FieldSizeX) {
var _local1 = 1;
while (_local1 <= FieldSizeY) {
var _local2 = LevelNetR[(_local3 - 1) + ((_local1 - 1) * FieldSizeX)];
if (_local2 > 20) {
AddMapTube(_local3, _local1, _local2 - 20);
}
_local1++;
}
_local3++;
}
}
function AddMapTube(p_NetPosX, p_NetPosY, p_Value) {
NumMapTubes++;
var _local2 = NumMapTubes;
var _local4 = p_Value - 30;
if (p_Value < 30) {
duplicateMovieClip ("l_tube" + p_Value, "MapTube" + _local2, _local2 + 400);
}
if (p_Value >= 30) {
duplicateMovieClip ("l_can" + _local4, "MapTube" + _local2, _local2 + 400);
}
this["MapTube" + _local2]._x = 8 + (p_NetPosX * SmallBrickSize);
this["MapTube" + _local2]._y = 45 + (p_NetPosY * SmallBrickSize);
this["MapTube" + _local2]._visible = true;
}
function MakeInvisibleBoard() {
if (c_arrowleft1._visible) {
IsArrowLeftVisible = true;
}
if (c_arrowright1._visible) {
IsArrowRightVisible = true;
}
if (c_arrowdown1._visible) {
IsArrowDownVisible = true;
}
if (c_arrowup1._visible) {
IsArrowUpVisible = true;
}
var _local2 = 1;
while (_local2 <= NumTubes) {
this["Tube" + _local2]._visible = false;
_local2++;
}
c_arrowleft1._visible = false;
c_arrowright1._visible = false;
c_arrowdown1._visible = false;
c_arrowup1._visible = false;
butMainMoreGames1._visible = false;
butMainMenu._visible = false;
butMainNewGame._visible = false;
butMainRestart._visible = false;
butMainSoundOn._visible = false;
butMainSoundOff._visible = false;
}
function MakeVisibleBoard() {
var _local3 = 1;
while (_local3 <= NumTubes) {
this["Tube" + _local3]._visible = true;
_local3++;
}
if (!_root.IsOnlineGame) {
butMainMenu._visible = true;
} else {
butMainMoreGames1._visible = true;
}
butMainNewGame._visible = true;
butMainRestart._visible = true;
if (isSoundOn) {
butMainSoundOn._visible = true;
}
if (!isSoundOn) {
butMainSoundOff._visible = true;
}
if (IsArrowLeftVisible) {
c_arrowleft1._visible = true;
}
if (IsArrowRightVisible) {
c_arrowright1._visible = true;
}
if (IsArrowDownVisible) {
c_arrowdown1._visible = true;
}
if (IsArrowUpVisible) {
c_arrowup1._visible = true;
}
IsArrowLeftVisible = false;
IsArrowRightVisible = false;
IsArrowDownVisible = false;
IsArrowUpVisible = false;
}
function UpdateTimer() {
CurTime = CurTime - 0.033333;
if (CurTime <= 0) {
CurTime = 0;
ShowWindowTimeOver();
}
_root.TimeText.text = Math.floor(CurTime);
}
function UpdateGame() {
if (DialogMode == "ShowIntro") {
return(undefined);
}
UpdateDoors();
if (_root.DialogMode != "Gaming") {
return(undefined);
}
UpdateTimer();
if (GameMode == "Moving") {
if (dirX > 0) {
this["Tube" + WorkTubeIndex]._x = this["Tube" + WorkTubeIndex]._x + 6;
if (this["Tube" + WorkTubeIndex]._x > MustPosX) {
this["Tube" + WorkTubeIndex]._x = MustPosX;
GameMode = "WaitForSelect";
}
} else if (dirX < 0) {
this["Tube" + WorkTubeIndex]._x = this["Tube" + WorkTubeIndex]._x - 6;
if (this["Tube" + WorkTubeIndex]._x < MustPosX) {
this["Tube" + WorkTubeIndex]._x = MustPosX;
GameMode = "WaitForSelect";
}
} else if (dirY > 0) {
this["Tube" + WorkTubeIndex]._y = this["Tube" + WorkTubeIndex]._y + 6;
if (this["Tube" + WorkTubeIndex]._y > MustPosY) {
this["Tube" + WorkTubeIndex]._y = MustPosY;
GameMode = "WaitForSelect";
}
} else if (dirY < 0) {
this["Tube" + WorkTubeIndex]._y = this["Tube" + WorkTubeIndex]._y - 6;
if (this["Tube" + WorkTubeIndex]._y < MustPosY) {
this["Tube" + WorkTubeIndex]._y = MustPosY;
GameMode = "WaitForSelect";
}
}
if (GameMode == "WaitForSelect") {
SetArrayNetValue(this["Tube" + WorkTubeIndex]._NetPosX, this["Tube" + WorkTubeIndex]._NetPosY, 9999);
this["Tube" + WorkTubeIndex]._NetPosX = ConvPosToNetPosX(MustPosX);
this["Tube" + WorkTubeIndex]._NetPosY = ConvPosToNetPosY(MustPosY);
SetArrayNetValue(this["Tube" + WorkTubeIndex]._NetPosX, this["Tube" + WorkTubeIndex]._NetPosY, WorkTubeIndex + 300);
WaitForSelectWork(this["Tube" + WorkTubeIndex]._NetPosX, this["Tube" + WorkTubeIndex]._NetPosY);
if (CheckLevelComplete()) {
_root.ShowLevelCompleteWindow();
}
}
}
}
function InitMainMenu() {
_root.DialogMode = "Dialog";
_root.WindowMainMenu1._visible = true;
}
function ShowDoYouReallyWantToRestartWindow() {
_root.DialogMode = "Dialog";
_root.WindowDoyouReally1._visible = true;
_root.WindowDoyouReally1.text1.text = "to restart the level ?";
_root.DoYouReallyMode = "Restart";
_root.WindowDoyouReally1._Alpha = 0;
}
function ShowDoYouReallyWantToStartWindow() {
_root.DialogMode = "Dialog";
_root.WindowDoyouReally1._visible = true;
_root.WindowDoyouReally1.text1.text = "to start new game ?";
_root.DoYouReallyMode = "NewGame";
_root.WindowDoyouReally1._Alpha = 0;
}
function ShowDoYouReallyWantToExitWindow() {
_root.DialogMode = "Dialog";
_root.WindowDoyouReally1._visible = true;
_root.WindowDoyouReally1.text1.text = "to exit ?";
_root.DoYouReallyMode = "Exit";
_root.WindowDoyouReally1._Alpha = 0;
}
function ShowDoyouReallyNewWindow() {
_root.DialogMode = "Dialog";
_root.WindowDoyouReallyNew1._visible = true;
_root.WindowDoyouReallyNew1._Alpha = 0;
}
function ShowLevelCompleteWindow() {
if (_root.isSoundOn) {
_root.SoundLevelComplete.start();
}
_root.DialogMode = "Dialog";
_root.WindowLevelComplete1._visible = true;
_root.WindowLevelComplete1._Alpha = 0;
}
function ShowGameCompleteWindow() {
_root.DialogMode = "Dialog";
_root.WindowGameComplete1._visible = true;
_root.WindowGameComplete1._Alpha = 0;
}
function ShowSelectEpisodeWindow() {
_root.DialogMode = "Dialog";
_root.WindowSelectEpisode1._visible = true;
_root.WindowSelectEpisode1._Alpha = 0;
}
function ShowNotAvailableWindow() {
_root.WindowSelectEpisode1._visible = false;
_root.DialogMode = "Dialog";
_root.WindowNotAvailable1._visible = true;
_root.WindowNotAvailable1._Alpha = 0;
}
function ShowWindowNoLevelsUnregistered() {
_root.DialogMode = "Dialog";
_root.WindowNoLevelsUnregistered1._visible = true;
_root.WindowNoLevelsUnregistered1._Alpha = 0;
}
function ShowWindowTimeOver() {
_root.DialogMode = "Dialog";
_root.WindowTimeOver1._visible = true;
_root.WindowTimeOver1._Alpha = 0;
}
function ClickButRestartMainPage() {
if (_root.DialogMode != "Gaming") {
return(undefined);
}
if (_root.isSoundOn) {
_root.SoundButtonClick.start();
}
_root.ShowDoYouReallyWantToRestartWindow();
}
function ClickButNextMainPage() {
if (_root.DialogMode != "Gaming") {
return(undefined);
}
if (_root.isSoundOn) {
_root.SoundButtonClick.start();
}
CurLevel++;
if (CurLevel > TotalNumLevels) {
CurLevel = 1;
}
IsDoorForMenu = false;
SetDoorCommands("LoadLevel", CurLevel, "Nothing", 0);
SetDoorCloseAndOpen();
}
function ClickButNewGameMainPage() {
if (_root.DialogMode != "Gaming") {
return(undefined);
}
if (_root.isSoundOn) {
_root.SoundButtonClick.start();
}
if (IsOnlineGame) {
_root.ShowDoyouReallyNewWindow();
} else {
_root.ShowSelectEpisodeWindow();
}
}
function ClickButSoundMainPage() {
if (_root.DialogMode != "Gaming") {
return(undefined);
}
if (_root.isSoundOn) {
_root.SoundButtonClick.start();
}
isSoundOn = !isSoundOn;
butMainSoundOn._visible = false;
butMainSoundOff._visible = false;
if (isSoundOn) {
butMainSoundOn._visible = true;
}
if (!isSoundOn) {
butMainSoundOff._visible = true;
}
}
function ClickButGoToMainMenu() {
if (_root.DialogMode != "Gaming") {
return(undefined);
}
if (_root.isSoundOn) {
_root.SoundButtonClick.start();
}
_root.DialogMode = "Dialog";
IsDoorForMenu = true;
SetDoorCommands("ShowMainMenu", 0, "Nothing", 0);
SetDoorCloseAndOpen();
}
function ClickButMainNewGame() {
if (_root.isSoundOn) {
_root.SoundButtonClick.start();
}
CurLevel = 1;
_root.DialogMode = "Gaming";
IsDoorForMenu = false;
SetDoorCommands("LoadLevel", CurLevel, "Nothing", 0);
SetDoorCloseAndOpen();
}
function ClickButMainContinue() {
if (_root.isSoundOn) {
_root.SoundButtonClick.start();
}
_root.DialogMode = "Gaming";
IsDoorForMenu = false;
SetDoorCommands("HideMainMenu", 0, "Nothing", 0);
SetDoorCloseAndOpen();
}
function ClickButMainExit() {
fscommand ("Quit");
}
function ButOkWindowDoYouReaaly() {
if (_root.isSoundOn) {
_root.SoundButtonClick.start();
}
_root.DialogMode = "Gaming";
_root.WindowDoyouReally1._visible = false;
if (DoYouReallyMode == "Restart") {
IsDoorForMenu = false;
SetDoorCommands("LoadLevel", CurLevel, "Nothing", 0);
SetDoorCloseAndOpen();
}
if (DoYouReallyMode == "NewGame") {
}
if (DoYouReallyMode == "Exit") {
}
}
function ButCancelWindowDoYouReaaly() {
if (_root.isSoundOn) {
_root.SoundButtonClick.start();
}
_root.DialogMode = "Gaming";
_root.WindowDoyouReally1._visible = false;
}
function ButOkWindowDoYouReallyNew() {
if (_root.isSoundOn) {
_root.SoundButtonClick.start();
}
_root.DialogMode = "Gaming";
_root.WindowDoyouReallyNew1._visible = false;
if (IsOnlineGame) {
CurLevel = 1;
IsDoorForMenu = false;
SetDoorCommands("LoadLevel", CurLevel, "Nothing", 0);
SetDoorCloseAndOpen();
}
}
function ButCancelWindowDoYouReallyNew() {
if (_root.isSoundOn) {
_root.SoundButtonClick.start();
}
_root.DialogMode = "Gaming";
_root.WindowDoyouReallyNew1._visible = false;
}
function ButContinueWindowLevelComplete() {
if (_root.isSoundOn) {
_root.SoundButtonClick.start();
}
_root.DialogMode = "Gaming";
_root.WindowLevelComplete1._visible = false;
CurLevel++;
if (CurLevel > TotalNumLevels) {
CurLevel = 1;
_root.ShowGameCompleteWindow();
} else if (IsOnlineGame && (CurLevel > NumLevelsUnreg)) {
ShowWindowNoLevelsUnregistered();
} else {
LoadLevel(CurLevel);
}
}
function ButOkWindowGameComplete() {
if (_root.isSoundOn) {
_root.SoundButtonClick.start();
}
CurLevel = 1;
LoadLevel(CurLevel);
_root.WindowGameComplete1._visible = false;
ShowSelectLevelWindow();
}
function ButOkWindowGameComplete() {
if (_root.isSoundOn) {
_root.SoundButtonClick.start();
}
_root.DialogMode = "Gaming";
CurLevel = 1;
LoadLevel(CurLevel);
_root.WindowGameComplete1._visible = false;
}
function ButEpisode1WindowSelectEpisode() {
if (_root.isSoundOn) {
_root.SoundButtonClick.start();
}
_root.DialogMode = "Gaming";
_root.WindowSelectEpisode1._visible = false;
_root.Score = 0;
CurLevel = 1;
LoadLevel(CurLevel);
}
function ButEpisode2WindowSelectEpisode() {
if (_root.isSoundOn) {
_root.SoundButtonClick.start();
}
if (!Registered) {
ShowNotAvailableWindow();
return(undefined);
}
_root.DialogMode = "Gaming";
_root.WindowSelectEpisode1._visible = false;
CurLevel = 7;
LoadLevel(CurLevel);
}
function ButEpisode3WindowSelectEpisode() {
if (_root.isSoundOn) {
_root.SoundButtonClick.start();
}
if (!Registered) {
ShowNotAvailableWindow();
return(undefined);
}
_root.DialogMode = "Gaming";
_root.WindowSelectLevel1._visible = false;
CurLevel = 13;
LoadLevel(CurLevel);
}
function ButEpisode4WindowSelectEpisode() {
if (_root.isSoundOn) {
_root.SoundButtonClick.start();
}
if (!Registered) {
ShowNotAvailableWindow();
return(undefined);
}
_root.DialogMode = "Gaming";
_root.WindowSelectLevel1._visible = false;
CurLevel = 19;
LoadLevel(CurLevel);
}
function ButEpisode5WindowSelectEpisode() {
if (_root.isSoundOn) {
_root.SoundButtonClick.start();
}
if (!Registered) {
ShowNotAvailableWindow();
return(undefined);
}
_root.DialogMode = "Gaming";
_root.WindowSelectLevel1._visible = false;
CurLevel = 25;
LoadLevel(CurLevel);
}
function ButEpisode6WindowSelectEpisode() {
if (_root.isSoundOn) {
_root.SoundButtonClick.start();
}
if (!Registered) {
ShowNotAvailableWindow();
return(undefined);
}
_root.DialogMode = "Gaming";
_root.WindowSelectLevel1._visible = false;
CurLevel = 31;
LoadLevel(CurLevel);
}
function ButEpisode7WindowSelectEpisode() {
if (_root.isSoundOn) {
_root.SoundButtonClick.start();
}
if (!Registered) {
ShowNotAvailableWindow();
return(undefined);
}
_root.DialogMode = "Gaming";
_root.WindowSelectLevel1._visible = false;
CurLevel = 37;
LoadLevel(CurLevel);
}
function ButCancelWindowSelectEpisode() {
if (_root.isSoundOn) {
_root.SoundButtonClick.start();
}
_root.DialogMode = "Gaming";
_root.WindowSelectEpisode1._visible = false;
}
function ButCancelWindowNotAvailable() {
if (_root.isSoundOn) {
_root.SoundButtonClick.start();
}
_root.WindowNotAvailable1._visible = false;
ShowSelectEpisodeWindow();
}
function ButOkWindowNotAvailable() {
if (_root.isSoundOn) {
_root.SoundButtonClick.start();
}
_root.WindowNotAvailable1._visible = false;
ShowSelectEpisodeWindow();
getURL (_root.LinkBuyNow, "_blank");
}
function ButOkWindowNoLevelsUnregistered() {
if (_root.isSoundOn) {
_root.SoundButtonClick.start();
}
CurLevel = 1;
LoadLevel(CurLevel);
_root.DialogMode = "Gaming";
_root.WindowNoLevelsUnregistered1._visible = false;
getURL (_root.LinkBuyNow, "_blank");
}
function ButMoreGamesBoard() {
if (_root.isSoundOn) {
_root.SoundButtonClick.start();
}
if (_root.DialogMode != "Gaming") {
return(undefined);
}
getURL (_root.LinkMoreGames, "_blank");
}
function ButOkWindowTimeOver() {
if (_root.isSoundOn) {
_root.SoundButtonClick.start();
}
LoadLevel(CurLevel);
_root.DialogMode = "Gaming";
_root.WindowTimeOver1._visible = false;
}
movieClip.prototype.NetPosX;
movieClip.prototype.NetPosY;
movieClip.prototype.Number;
movieClip.prototype.Type;
var FieldSizeX = 10;
var FieldSizeY = 12;
var ArrayNet = new Array((FieldSizeX * FieldSizeY) * 2);
var OtstupX = 270;
var OtstupY = 62;
var BrickSize = 32;
var SmallBrickSize = 24;
var NumWalls = 0;
var NumPodkladok = 0;
var NumTubes = 0;
var NumMapTubes = 0;
var WorkTubeIndex = 0;
var GameMode = "WaitForSelect";
var CurLevel = 1;
var isSoundOn = true;
var DoYouReallyMode = "Restart";
var DialogMode = "Gaming";
var Registered = false;
var IsOnlineGame = true;
var CurTime = 30;
var IsArrowLeftVisible = false;
var IsArrowRightVisible = false;
var IsArrowUpVisible = false;
var IsArrowDownVisible = false;
var LinkBuyNow = "http://splinegames.com";
var LinkMoreGames = "http://splinegames.com";
var MustPosX;
var MustPosY;
var dirX;
var dirY;
var LevelNetR;
var FirstNetX;
var FirstNetY;
var FirstNetRX;
var FirstNetRY;
var OffsetX;
var OffsetY;
c_tube1._visible = false;
c_tube2._visible = false;
c_tube3._visible = false;
c_tube4._visible = false;
c_tube5._visible = false;
c_tube6._visible = false;
c_tube7._visible = false;
c_tube8._visible = false;
c_tube9._visible = false;
c_tube10._visible = false;
c_tube11._visible = false;
c_tube12._visible = false;
c_tube13._visible = false;
c_tube14._visible = false;
c_tube15._visible = false;
l_tube1._visible = false;
l_tube2._visible = false;
l_tube3._visible = false;
l_tube4._visible = false;
l_tube5._visible = false;
l_tube6._visible = false;
l_tube7._visible = false;
l_tube8._visible = false;
l_tube9._visible = false;
l_tube10._visible = false;
l_tube11._visible = false;
l_tube12._visible = false;
l_tube13._visible = false;
l_tube14._visible = false;
l_tube15._visible = false;
c_can0._visible = false;
c_can1._visible = false;
c_can2._visible = false;
c_can3._visible = false;
c_can4._visible = false;
c_can5._visible = false;
c_can6._visible = false;
c_can7._visible = false;
c_can8._visible = false;
c_can9._visible = false;
c_can10._visible = false;
c_can11._visible = false;
l_can0._visible = false;
l_can1._visible = false;
l_can2._visible = false;
l_can3._visible = false;
l_can4._visible = false;
l_can5._visible = false;
l_can6._visible = false;
l_can7._visible = false;
l_can8._visible = false;
l_can9._visible = false;
l_can10._visible = false;
l_can11._visible = false;
butMainSoundOff._visible = false;
duplicateMovieClip ("c_arrowup", "c_arrowup1", 901);
c_arrowup._visible = false;
c_arrowup1._visible = false;
duplicateMovieClip ("c_arrowdown", "c_arrowdown1", 902);
c_arrowdown._visible = false;
c_arrowdown1._visible = false;
duplicateMovieClip ("c_arrowleft", "c_arrowleft1", 903);
c_arrowleft._visible = false;
c_arrowleft1._visible = false;
duplicateMovieClip ("c_arrowright", "c_arrowright1", 904);
c_arrowright._visible = false;
c_arrowright1._visible = false;
c_podkladka._visible = false;
c_wall._visible = false;
duplicateMovieClip ("WindowMainMenu", "WindowMainMenu1", 1001);
WindowMainMenu._visible = false;
WindowMainMenu1._visible = false;
duplicateMovieClip ("WindowDoyouReally", "WindowDoyouReally1", 1002);
WindowDoyouReally._visible = false;
WindowDoyouReally1._visible = false;
duplicateMovieClip ("WindowLevelComplete", "WindowLevelComplete1", 1003);
WindowLevelComplete._visible = false;
WindowLevelComplete1._visible = false;
duplicateMovieClip ("WindowGameComplete", "WindowGameComplete1", 1004);
WindowGameComplete._visible = false;
WindowGameComplete1._visible = false;
duplicateMovieClip ("WindowSelectEpisode", "WindowSelectEpisode1", 1005);
WindowSelectEpisode._visible = false;
WindowSelectEpisode1._visible = false;
duplicateMovieClip ("WindowNotAvailable", "WindowNotAvailable1", 1006);
WindowNotAvailable._visible = false;
WindowNotAvailable1._visible = false;
duplicateMovieClip ("WindowDoyouReallyNew", "WindowDoyouReallyNew1", 1007);
WindowDoyouReallyNew._visible = false;
WindowDoyouReallyNew1._visible = false;
duplicateMovieClip ("WindowNoLevelsUnregistered", "WindowNoLevelsUnregistered1", 1008);
WindowNoLevelsUnregistered._visible = false;
WindowNoLevelsUnregistered1._visible = false;
duplicateMovieClip ("WindowTimeOver", "WindowTimeOver1", 1009);
WindowTimeOver._visible = false;
WindowTimeOver1._visible = false;
duplicateMovieClip ("DoorRightSide", "DoorRightSide1", 2001);
DoorRightSide._visible = false;
DoorRightSide1._visible = false;
duplicateMovieClip ("DoorLeftSide", "DoorLeftSide1", 2002);
DoorLeftSide._visible = false;
DoorLeftSide1._visible = false;
duplicateMovieClip ("ClickAnyPlace", "ClickAnyPlace1", 2003);
ClickAnyPlace._visible = false;
ClickAnyPlace1._visible = true;
duplicateMovieClip ("Obrezka", "Obrezka1", 3000);
Obrezka._visible = false;
Obrezka1._visible = true;
SoundIntro = new Sound();
SoundIntro.attachSound("load_intro");
SoundLevelComplete = new Sound();
SoundLevelComplete.attachSound("level_complete");
SoundButtonClick = new Sound();
SoundButtonClick.attachSound("button_click");
SoundClickTube = new Sound();
SoundClickTube.attachSound("click_tube");
SoundClickArrow = new Sound();
SoundClickArrow.attachSound("click_arrow");
SoundDoorOpen = new Sound();
SoundDoorOpen.attachSound("door_open");
SoundDoorClose = new Sound();
SoundDoorClose.attachSound("door_close");
var DoorMode = "DoorOpen";
var DoorX = 0;
var DoorMove = 0;
var DoorCommand = "Nothing";
var DoorCommandParam = 0;
var DoorCommand2 = "Nothing";
var DoorCommandParam2 = 0;
var TotalNumLevels = 37;
var NumLevelsUnreg = 6;
LevelNet1 = new Array(1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 21, 0, 0, 1, 0, 0, 0, 25, 1, 1, 0, 0, 0, 1, 0, 1, 0, 0, 1, 1, 1, 1, 0, 1, 1, 1, 0, 0, 1, 1, 0, 1, 0, 0, 0, 0, 0, 0, 1, 1, 0, 1, 0, 0, 0, 0, 1, 1, 1, 1, 0, 1, 0, 0, 1, 0, 0, 0, 1, 1, 0, 0, 24, 0, 1, 1, 1, 0, 1, 1, 1, 1, 1, 0, 1, 0, 0, 0, 1, 1, 0, 1, 0, 0, 1, 0, 1, 0, 1, 1, 0, 0, 0, 0, 1, 0, 1, 23, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1);
LevelNetR1 = new Array(1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 1,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 1, 1, 33, 1, 0, 0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0, 1, 0, 0, 0, 1, 1, 1, 1, 0, 24, 1, 0, 0, 25, 1, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
LevelNetR37 = new Array(1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 21, 0, 0, 0, 1, 1, 0, 0, 0, 0, 34, 0, 0, 0, 1, 1, 0, 0, 24, 33, 25, 30, 0, 0, 1, 1, 0, 0, 0, 0, 0, 22, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1);
MaxTime1 = 400;
MaxTime2 = 400;
MaxTime3 = 500;
MaxTime4 = 500;
MaxTime5 = 350;
MaxTime6 = 450;
MaxTime7 = 450;
MaxTime8 = 500;
MaxTime9 = 500;
MaxTime10 = 400;
MaxTime11 = 500;
MaxTime12 = 500;
MaxTime13 = 500;
MaxTime14 = 500;
MaxTime15 = 350;
MaxTime16 = 450;
MaxTime17 = 450;
MaxTime18 = 450;
MaxTime19 = 450;
MaxTime20 = 300;
MaxTime21 = 400;
MaxTime22 = 400;
MaxTime23 = 400;
MaxTime24 = 400;
MaxTime25 = 350;
MaxTime26 = 350;
MaxTime27 = 350;
MaxTime28 = 350;
MaxTime29 = 350;
MaxTime30 = 300;
MaxTime31 = 350;
MaxTime32 = 350;
MaxTime33 = 350;
MaxTime34 = 350;
MaxTime35 = 250;
MaxTime36 = 350;
MaxTime37 = 350;
someListener = new Object();
someListener.onMouseUp = function () {
OnMouseUp();
};
Mouse.addListener(someListener);
FirstInit();
LoadLevel(1);
if (_root.isSoundOn) {
_root.SoundIntro.start();
}
SetDoorClosed();
if (IsOnlineGame) {
IsDoorForMenu = false;
MakeInvisibleBoard();
} else {
MakeInvisibleBoard();
IsDoorForMenu = true;
}
DialogMode = "ShowIntro";
var key_pause = 10;
_root.onEnterFrame = function () {
UpdateGame();
};
Instance of Symbol 266 MovieClip "WindowDoyouReally" in Frame 3
onClipEvent (enterFrame) {
_alpha = (_alpha + 15);
if (_alpha > 255) {
_alpha = 255;
}
}
Instance of Symbol 270 MovieClip "WindowDoyouReallyNew" in Frame 3
onClipEvent (enterFrame) {
_alpha = (_alpha + 15);
if (_alpha > 255) {
_alpha = 255;
}
}
Instance of Symbol 278 MovieClip "WindowLevelComplete" in Frame 3
onClipEvent (enterFrame) {
_alpha = (_alpha + 15);
if (_alpha > 255) {
_alpha = 255;
}
}
Instance of Symbol 281 MovieClip "WindowGameComplete" in Frame 3
onClipEvent (enterFrame) {
_alpha = (_alpha + 15);
if (_alpha > 255) {
_alpha = 255;
}
}
Instance of Symbol 296 MovieClip "WindowSelectEpisode" in Frame 3
onClipEvent (enterFrame) {
_alpha = (_alpha + 15);
if (_alpha > 255) {
_alpha = 255;
}
}
Instance of Symbol 302 MovieClip "WindowNotAvailable" in Frame 3
onClipEvent (enterFrame) {
_alpha = (_alpha + 15);
if (_alpha > 255) {
_alpha = 255;
}
}
Instance of Symbol 305 MovieClip "WindowNoLevelsUnregistered" in Frame 3
onClipEvent (enterFrame) {
_alpha = (_alpha + 15);
if (_alpha > 255) {
_alpha = 255;
}
}
Instance of Symbol 309 MovieClip "WindowTimeOver" in Frame 3
onClipEvent (enterFrame) {
_alpha = (_alpha + 15);
if (_alpha > 255) {
_alpha = 255;
}
}
Symbol 207 Button
on (release) {
_root.ButMoreGamesBoard();
}
Symbol 211 Button
on (release) {
_root.ClickButSoundMainPage();
}
Symbol 214 Button
on (release) {
_root.ClickButRestartMainPage();
}
Symbol 217 Button
on (release) {
_root.ClickButNewGameMainPage();
}
Symbol 220 Button
on (release) {
_root.ClickButGoToMainMenu();
}
Symbol 223 Button
on (release) {
_root.ClickButSoundMainPage();
}
Symbol 228 MovieClip Frame 13
gotoAndPlay (1);
Symbol 234 Button
on (release) {
_root.ClickButMainContinue();
}
Symbol 237 Button
on (release) {
_root.ClickButMainHelp();
}
Symbol 240 Button
on (release) {
_root.ClickButMainMoreGames();
}
Symbol 243 Button
on (release) {
_root.ClickButMainRegister();
}
Symbol 246 Button
on (release) {
_root.ClickButMainExit();
}
Symbol 263 Button
on (release) {
_root.ButOkWindowDoYouReaaly();
}
Symbol 265 Button
on (release) {
_root.ButCancelWindowDoYouReaaly();
}
Symbol 267 Button
on (release) {
_root.ButOkWindowDoYouReallyNew();
}
Symbol 268 Button
on (release) {
_root.ButCancelWindowDoYouReallyNew();
}
Symbol 277 Button
on (release) {
_root.ButContinueWindowLevelComplete();
}
Symbol 279 Button
on (release) {
_root.ButOkWindowGameComplete();
}
Symbol 282 Button
on (release) {
_root.ButCancelWindowSelectEpisode();
}
Symbol 284 Button
on (release) {
_root.ButEpisode1WindowSelectEpisode();
}
Symbol 286 Button
on (release) {
_root.ButEpisode2WindowSelectEpisode();
}
Symbol 288 Button
on (release) {
_root.ButEpisode3WindowSelectEpisode();
}
Symbol 290 Button
on (release) {
_root.ButEpisode4WindowSelectEpisode();
}
Symbol 292 Button
on (release) {
_root.ButEpisode5WindowSelectEpisode();
}
Symbol 294 Button
on (release) {
_root.ButEpisode6WindowSelectEpisode();
}
Symbol 298 Button
on (release) {
_root.ButCancelWindowNotAvailable();
}
Symbol 300 Button
on (release) {
_root.ButOkWindowNotAvailable();
}
Symbol 303 Button
on (release) {
_root.ButOkWindowNoLevelsUnregistered();
}
Symbol 307 Button
on (release) {
_root.ButOkWindowTimeOver();
}