Frame 1
var WLSnd = new Sound();
WLSnd.attachSound("_win_level_snd");
var PUES_Snd = new Sound();
PUES_Snd.attachSound("_pickup_elementinsky_snd");
var PUE2_Snd = new Sound();
PUE2_Snd.attachSound("_PUE2_snd");
var DO_Snd = new Sound();
DO_Snd.attachSound("_drop_object_snd");
var ER_Snd = new Sound();
ER_Snd.attachSound("_element_rotation_snd");
var ECI_Snd = new Sound();
ECI_Snd.attachSound("_element_cantins_snd");
var EI1_Snd = new Sound();
EI1_Snd.attachSound("_element_inserted1_snd");
var BE_Snd = new Sound();
BE_Snd.attachSound("_burn_element_snd");
var EWB_Snd = new Sound();
EWB_Snd.attachSound("_element_wbonus_snd");
var BO_Snd = new Sound();
BO_Snd.attachSound("_bonus_off_snd");
var BOs_Snd = new Sound();
BOs_Snd.attachSound("_bonus_octopus_snd");
var BHf_Snd = new Sound();
BHf_Snd.attachSound("_bonus_hammerfish_snd");
var BPf_Snd = new Sound();
BPf_Snd.attachSound("_bonus_pufferfish_snd");
Frame 2
function ef_go() {
progress.setprogress((this.getBytesLoaded() / this.getBytesTotal()) * 100);
if (this.getBytesLoaded() == this.getBytesTotal()) {
this.onEnterFrame = undefined;
_root.gotoAndStop(3);
}
}
if (_global.bypass == "true") {
if (_global.link != undefined) {
_root.link = _global.link;
}
if (_global.dload_f != undefined) {
_root.dload_f = _global.dload_f;
}
if (_global.close_f != undefined) {
_root.close_f = _global.close_f;
}
if (_global.alawar_f != undefined) {
_root.alawar_f = _global.alawar_f;
}
} else {
stop();
progress.init();
progress.start();
}
Stage.showMenu = false;
function checkbonus(Fig) {
function checknb0(nx, ny, d) {
if (findf(CMatrix1[ny][(nx - 1) + (2 * d)])) {
arrd.push(CMatrix1[ny][(nx - 1) + (2 * d)]);
}
if (findf(CMatrix1[ny][nx])) {
arrd.push(CMatrix1[ny][nx]);
}
if (findf(CMatrix1[ny + 1][nx])) {
arrd.push(CMatrix1[ny + 1][nx]);
}
}
function checknb1(nx, ny, d) {
if (findf(CMatrix0[ny][nx])) {
arrd.push(CMatrix0[ny][nx]);
}
if (findf(CMatrix0[ny][(nx + 1) - (2 * d)])) {
arrd.push(CMatrix0[ny][(nx + 1) - (2 * d)]);
}
if (findf(CMatrix0[ny - 1][nx])) {
arrd.push(CMatrix0[ny - 1][nx]);
}
}
function cf(F) {
var _local1;
_local1 = 1;
while (_local1 <= F.NumPoints) {
Point.x = F["p" + _local1]._x;
Point.y = F["p" + _local1]._y;
F.localToGlobal(Point);
Ny = Math.floor((Point.y - OGrid._y) / th);
odd = Ny - (Math.floor(Ny / 2) * 2);
if (F.TriDir[_local1 - 1] == 0) {
Nx = Math.floor(((Point.x - OGrid._x) + ((tw / 2) * (1 - odd))) / tw);
checknb0(Nx, Ny, odd);
} else {
Nx = Math.floor(((Point.x - OGrid._x) + ((tw / 2) * odd)) / tw);
checknb1(Nx, Ny, odd);
}
_local1++;
}
}
function findf(f) {
var _local1;
if (f._name == undefined) {
return(false);
}
if (f.id != ID) {
return(false);
}
_local1 = 0;
while (_local1 < arrr.length) {
if (arrr[_local1]._name == f._name) {
return(false);
}
_local1++;
}
_local1 = 0;
while (_local1 < arrs.length) {
if (arrs[_local1]._name == f._name) {
return(false);
}
_local1++;
}
_local1 = 0;
while (_local1 < arrd.length) {
if (arrd[_local1]._name == f._name) {
return(false);
}
_local1++;
}
return(true);
}
th = 35 * K;
tw = 40 * K;
var _local3;
var ID;
var _local1;
arrs = new Array();
arrd = new Array();
arrr = new Array();
ID = Fig.id;
arrs.push(Fig);
do {
_local1 = 0;
while (_local1 < arrs.length) {
cf(arrs[_local1]);
_local1++;
}
_local1 = 0;
while (_local1 < arrs.length) {
arrr.push(arrs[_local1]);
_local1++;
}
delete arrs;
arrs = new Array();
arrs = arrd;
delete arrd;
arrd = new Array();
} while (arrs.length >= 1);
if ((MaxCombo < arrr.length) && (arrr.length > 2)) {
MaxCombo = arrr.length;
}
if (arrr.length == 2) {
Fig.flsh.play();
} else {
_local1 = 0;
while (_local1 < arrr.length) {
arrr[_local1].flsh.play();
_local1++;
}
}
return(arrr.length);
}
function fpress() {
_root.FigDrag(this);
}
Tmp_TS = 0;
Tmp_BP = 0;
Tmp_BS = 0;
Tmp_BH = 0;
Tmp_BO = 0;
K = 0.625;
ffo = 2;
i_FigMR = 3;
i_FigNT = 70;
FigMR = i_FigMR;
FigNT = i_FigNT;
Restart_F = false;
CurrStage = 1;
Time = 0;
LevelScore = 0;
TotalScore = 0;
Pearls = 0;
Freed = 0;
MaxCombo = 0;
BonusNum = 0;
Bonus_Puff = 2;
Bonus_Slow = 2;
Bonus_Hammer = 3;
Bonus_Octopus = 0;
Cur_Hammer_F = false;
Cur_Puffer_F = false;
Cur_Octopus_F = false;
Bonus_F = false;
CurBonus = 0;
CurBonusNum = 0;
var SpaceListener = new Object();
SpaceListener.onKeyDown = function () {
if ((Key.isDown(32) && (Start_F)) && (!OMessages._visible)) {
_root.FigRotate(_global.CurFig);
if (Cur_Hammer_F) {
BO_Snd.start();
Dis_Cur_Hammer();
}
if (Cur_Puffer_F) {
BO_Snd.start();
Dis_Cur_Puffer();
}
if (Cur_Octopus_F && (!Drag_F)) {
BO_Snd.start();
Dis_Cur_Octopus();
}
}
};
GotoDownload = function () {
if (_root.link != undefined) {
getURL (link, "_blank");
} else {
getURL ("http://www.alawar.com/download/ArcticQuest2.exe", "_blank");
}
if (_root.dload_f != undefined) {
cstr = ("JavaScript:" + dload_f) + "()";
getURL (cstr);
}
};
BurnFire = function () {
clearInterval(_global.IntID1);
OFire.gotoAndStop(1);
};
DisHint = function () {
clearInterval(_global.IntIDhint);
_root.Hint_o._visible = false;
_root.EnPanelBtns();
_root.UpdateInfo();
_root.MainStop_F = false;
_root.FullStop_F = false;
_root.Start_F = true;
};
toEndLevelMenu = function () {
clearInterval(_global.IntID3);
OMessages._visible = false;
HideFigs();
_root.gotoAndStop(ffo + 4);
TMin = Math.floor(Time / 60);
TSec = Time - (TMin * 60);
if (TSec < 10) {
TSec = "0" + TSec;
}
Time = (TMin + ":") + TSec;
OEndLevelMenu.TLS.text = LevelScore;
OEndLevelMenu.TLS_.text = LevelScore;
OEndLevelMenu.TLS__.text = LevelScore;
OEndLevelMenu.TTS.text = TotalScore;
OEndLevelMenu.TTS_.text = TotalScore;
OEndLevelMenu.TTS__.text = TotalScore;
OEndLevelMenu.TYT.text = Time;
OEndLevelMenu.TYT_.text = Time;
OEndLevelMenu.TYT__.text = Time;
OEndLevelMenu.TFA.text = Freed;
OEndLevelMenu.TFA_.text = Freed;
OEndLevelMenu.TFA__.text = Freed;
OEndLevelMenu.TP.text = Pearls;
OEndLevelMenu.TP_.text = Pearls;
OEndLevelMenu.TP__.text = Pearls;
OEndLevelMenu.TMC.text = MaxCombo;
OEndLevelMenu.TMC_.text = MaxCombo;
OEndLevelMenu.TMC__.text = MaxCombo;
};
StartLevelMess = function () {
clearInterval(_global.IntID);
Key.addListener(SpaceListener);
OMessages._visible = false;
_root.EnPanelBtns();
_root.UpdateInfo();
_root.NewFig_C = 0;
_root.Start_F = true;
};
DisPanelBtns = function () {
Dis_Cur_Octopus();
Dis_Cur_Puffer();
Dis_Cur_Hammer();
Panel.ONF_Btn.gotoAndStop(2);
Panel.OPuff_Btn.gotoAndStop(2);
Panel.OSlow_Btn.gotoAndStop(2);
if (Panel.OSlow_Btn.OBtnS._currentframe > 1) {
Panel.OSlow_Btn.OBtnS.gotoAndPlay(219);
}
Panel.OHammer_Btn.gotoAndStop(2);
Panel.OOctopus_Btn.gotoAndStop(2);
Panel.OMnu_Btn.gotoAndStop(2);
Panel.OHlp_Btn.gotoAndStop(2);
};
EnPanelBtns = function () {
Panel.ONF_Btn.gotoAndStop(1);
Panel.OPuff_Btn.gotoAndStop(1);
Panel.OSlow_Btn.gotoAndStop(1);
Panel.OHammer_Btn.gotoAndStop(1);
Panel.OOctopus_Btn.gotoAndStop(1);
Panel.OMnu_Btn.gotoAndStop(1);
Panel.OHlp_Btn.gotoAndStop(1);
};
InitLevel = function (Stage) {
FigMR = i_FigMR * Speed[Stage - 1];
FigNT = NFTime[Stage - 1];
_global.CurFig = 0;
NewFig_C = 0;
Frame_C = 0;
Drag_F = false;
MainStop_F = false;
FullStop_F = false;
WinStop_F = false;
CurLevel = -5000;
Figures = [];
CurPos = 0;
Bonus_F = false;
CurBonus = 0;
CurBonusNum = 0;
Time = 0;
LevelScore = 0;
Pearls = 0;
Freed = 0;
MaxCombo = 0;
if (Restart_F) {
fg.unloadMovie();
TotalScore = Tmp_TS;
Bonus_Puff = Tmp_BP;
Bonus_Slow = Tmp_BS;
Bonus_Hammer = Tmp_BH;
Bonus_Octopus = Tmp_BO;
} else {
Tmp_TS = TotalScore;
Tmp_BP = Bonus_Puff;
Tmp_BS = Bonus_Slow;
Tmp_BH = Bonus_Hammer;
Tmp_BO = Bonus_Octopus;
}
Size9 = AreaSize[Stage - 1][0];
Size12 = AreaSize[Stage - 1][1];
i = 0;
while (i < Size9) {
j = 0;
while (j < Size12) {
CMatrix0[i][j] = eval ("CMatrix0_" + Stage)[i][j];
CMatrix1[i][j] = eval ("CMatrix1_" + Stage)[i][j];
j++;
}
i++;
}
OGrid.gotoAndStop(Stage);
OGrid._x = AreaCoord[Stage - 1][0];
OGrid._y = AreaCoord[Stage - 1][1];
BonusNum = Math.floor(Math.random() * 4.9) + 1;
Sum = 0;
i = 0;
while (i < BonusNum) {
BonusArr[i][0] = (Sum + Math.floor(Math.random() * 40)) + 20;
BonusArr[i][1] = Math.floor(Math.random() * 4.9) + 1;
Sum = BonusArr[i][0];
i++;
}
UpdateInfo();
Start_F = false;
OMessages.gotoAndStop(CurrStage + 1);
this.OMessages._visible = true;
_global.IntID = setInterval(StartLevelMess, 2000);
DisPanelBtns();
};
NextLevel = function () {
if (_root.CurrStage < 6) {
_root.Restart_F = false;
_root.CurrStage++;
_root.gotoAndStop(ffo + 2);
} else {
_root.Win__F = true;
so.data.content = "WIN";
_root.gotoAndStop(ffo + 1);
}
};
CheckFig = function (Fig, Points) {
th = 35 * K;
tw = 40 * K;
dx = 5 * K;
dyh = 5 * K;
dyl = -2 * K;
disp0 = 4 * K;
disp1 = 7 * K;
Point = new Object();
if (Tmp0 == undefined) {
Tmp0 = [[], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], []];
Tmp1 = [[], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], []];
}
i = 0;
while (i < Size9) {
j = 0;
while (j < Size12) {
Tmp0[i][j] = CMatrix0[i][j];
Tmp1[i][j] = CMatrix1[i][j];
j++;
}
i++;
}
i = 1;
while (i <= Fig.NumPoints) {
Point.x = Fig["p" + i]._x;
Point.y = Fig["p" + i]._y;
Fig.localToGlobal(Point);
var _local4 = OGrid.getBounds(this);
if (Point.x <= _local4.xMin) {
return(false);
}
if (Point.x >= _local4.xMax) {
return(false);
}
if (Point.y <= _local4.yMin) {
return(false);
}
if (Point.y >= _local4.yMax) {
return(false);
}
Ny = Math.floor((Point.y - OGrid._y) / th);
odd = Ny - (Math.floor(Ny / 2) * 2);
if (Fig.TriDir[i - 1] == 0) {
Nx = Math.floor(((Point.x - OGrid._x) + ((tw / 2) * (1 - odd))) / tw);
if (Tmp0[Ny][Nx] != 1) {
return(false);
}
Tmp0[Ny][Nx] = Fig;
} else {
Nx = Math.floor(((Point.x - OGrid._x) + ((tw / 2) * odd)) / tw);
if (Tmp1[Ny][Nx] != 1) {
return(false);
}
Tmp1[Ny][Nx] = Fig;
}
i++;
}
if (Fig.TriDir[i - 2] == 0) {
if (Point.y < (((OGrid._y + (Ny * th)) + dyh) + disp0)) {
return(false);
}
if (Point.y > (((OGrid._y + ((Ny + 1) * th)) - dyl) + disp0)) {
return(false);
}
if (Point.x < (((OGrid._x + (Nx * tw)) + dx) - ((tw / 2) * (1 - odd)))) {
return(false);
}
if (Point.x > (((OGrid._x + ((Nx + 1) * tw)) - dx) - ((tw / 2) * (1 - odd)))) {
return(false);
}
deltaX = Point.x - (((OGrid._x + (Nx * tw)) - ((tw / 2) * (1 - odd))) + (tw / 2));
deltaY = Point.y - ((OGrid._y + (Ny * th)) + ((th * 2) / 3));
} else {
if (Point.y < (((OGrid._y + (Ny * th)) + dyh) - disp1)) {
return(false);
}
if (Point.y > (((OGrid._y + ((Ny + 1) * th)) - dyl) - disp1)) {
return(false);
}
if (Point.x < (((OGrid._x + (Nx * tw)) + dx) - ((tw / 2) * odd))) {
return(false);
}
if (Point.x > (((OGrid._x + ((Nx + 1) * tw)) - dx) - ((tw / 2) * odd))) {
return(false);
}
deltaX = Point.x - (((OGrid._x + (Nx * tw)) - ((tw / 2) * odd)) + (tw / 2));
deltaY = Point.y - ((OGrid._y + (Ny * th)) + (th / 3));
}
Fig._x = Fig._x - deltaX;
Fig._y = Fig._y - deltaY;
Fig.Locked_F = true;
i = 0;
while (i < Size9) {
j = 0;
while (j < Size12) {
CMatrix0[i][j] = Tmp0[i][j];
CMatrix1[i][j] = Tmp1[i][j];
j++;
}
i++;
}
Fig.swapDepths(CurLevel - 2000);
if (Points) {
Combo = checkbonus(Fig);
AddScore(Fig, Combo);
if (Combo > 2) {
OCombo._x = _root._xmouse - 5;
OCombo._y = _root._ymouse - (Fig._height / 2);
OCombo.Combo = Combo;
OCombo.gotoAndPlay(2);
}
}
CheckWin();
return(true);
};
UnCheckFig = function (Fig) {
i = 1;
while (i <= Fig.NumPoints) {
Point.x = Fig["p" + i]._x;
Point.y = Fig["p" + i]._y;
Fig.localToGlobal(Point);
Ny = Math.floor((Point.y - OGrid._y) / th);
odd = Ny - (Math.floor(Ny / 2) * 2);
if (Fig.TriDir[i - 1] == 0) {
Nx = Math.floor(((Point.x - OGrid._x) + ((tw / 2) * (1 - odd))) / tw);
CMatrix0[Ny][Nx] = 1;
} else {
Nx = Math.floor(((Point.x - OGrid._x) + ((tw / 2) * odd)) / tw);
CMatrix1[Ny][Nx] = 1;
}
i++;
}
};
FigRotate = function (Fig) {
if (Fig == 0) {
return(undefined);
}
if (!Cur_Puffer_F) {
ER_Snd.start();
}
Fig._rotation = Fig._rotation + 60;
trace(Fig._rotation);
i = 0;
while (i < Fig.NumPoints) {
Fig.TriDir[i] = !Fig.TriDir[i];
i++;
}
};
FigDrag = function (Fig) {
if (!Fig._visible) {
return(undefined);
}
if (Cur_Puffer_F) {
return(undefined);
}
if (FullStop_F) {
return(undefined);
}
if (Cur_Hammer_F) {
if (Bonus_Hammer == 0) {
return(undefined);
}
Bonus_Hammer--;
_root.UpdateInfo();
if (Fig.Locked_F) {
UnCheckFig(Fig);
} else {
TakeFig(Fig);
}
Fig.unloadMovie();
Fig.removeMovieClip();
OCur.OCurHammer.play();
OExplode._x = _root._xmouse;
OExplode._y = _root._ymouse;
BHf_Snd.start();
OExplode.play();
return(undefined);
}
if (Fig.Locked_F && (Cur_Octopus_F)) {
BOs_Snd.start();
UnCheckFig(Fig);
Fig.Locked_F = false;
Bonus_Octopus--;
UpdateInfo();
} else {
if (Fig.Locked_F && (!Cur_Octopus_F)) {
return(undefined);
}
if (((!Fig.Locked_F) && (Cur_Octopus_F)) && (!Drag_F)) {
ECI_Snd.start();
return(undefined);
}
}
if (_root.Drag_F == false) {
if (!Fig.Landed_F) {
PUES_Snd.start();
} else {
PUE2_Snd.start();
}
Fig.swapDepths(0);
Fig.Landed_F = false;
_root.Drag_F = true;
Fig.Drag_F = true;
_global.CurFig = Fig;
if (!Cur_Octopus_F) {
TakeFig(Fig);
}
if (Fig.Lnd_F == undefined) {
OExtraScore._x = _root._xmouse - 5;
OExtraScore._y = _root._ymouse - (Fig._height / 2);
OExtraScore.Sc = 10;
OExtraScore.Obj = 1;
OExtraScore.gotoAndPlay(2);
LevelScore = LevelScore + 10;
TotalScore = TotalScore + 10;
Fig.Lnd_F = true;
UpdateInfo();
}
startDrag (Fig, true);
updateAfterEvent();
} else {
if (OFire.hitTest(_xmouse, _ymouse, true) && (OFire._currentframe == 3)) {
ECI_Snd.start();
return(undefined);
}
if (CheckFire() && (OFire._currentframe != 3)) {
_root.Drag_F = false;
Fig.Drag_F = false;
_global.CurFig = 0;
Fig.stopDrag();
Fig.removeMovieClip();
OHaze._x = _root._xmouse;
OHaze._y = _root._ymouse;
OHaze._visible = true;
BE_Snd.start();
OHaze.play();
OFire.gotoAndStop(3);
_global.IntID1 = setInterval(BurnFire, 6000);
if ((Bonus_Octopus == 0) && (Cur_Octopus_F)) {
Dis_Cur_Octopus();
}
return(undefined);
}
Test();
if (!CheckFig(Fig, !Cur_Octopus_F)) {
if (OGrid.hitTest(_xmouse, _ymouse, true)) {
ECI_Snd.start();
return(undefined);
}
Fig.swapDepths(CurLevel);
CurLevel++;
} else if ((Fig.Bonus != 0) && (Fig.Bonus != undefined)) {
Fig.OStars.gotoAndStop(1);
OExtraScore._x = _root._xmouse - 5;
OExtraScore._y = _root._ymouse - (Fig._height / 2);
OExtraScore.Sc = 600;
OExtraScore.Obj = Fig.Bonus;
OExtraScore.gotoAndPlay(2);
_root.Freed++;
EWB_Snd.start();
switch (Fig.Bonus) {
case 1 :
LevelScore = LevelScore + 600;
TotalScore = TotalScore + 600;
if (Start_F) {
UpdateInfo();
}
break;
case 2 :
Bonus_Slow++;
if (Start_F) {
UpdateInfo();
}
break;
case 3 :
Bonus_Puff++;
if (Start_F) {
UpdateInfo();
}
break;
case 4 :
Bonus_Puff++;
if (Start_F) {
UpdateInfo();
}
break;
case 5 :
Bonus_Hammer++;
if (!Start_F) {
break;
}
UpdateInfo();
}
}
_root.Drag_F = false;
Fig.Drag_F = false;
_global.CurFig = 0;
DropFig(Fig);
Fig.stopDrag();
if (!Fig.Locked_F) {
ECI_Snd.start();
} else {
EI1_Snd.start();
}
if ((Bonus_Octopus == 0) && (Cur_Octopus_F)) {
Dis_Cur_Octopus();
}
}
};
NewFig = function () {
Num = Math.ceil(FigAmount[CurrStage - 1] * Math.random());
Name = ("OIce" + Num) + "_";
NewName = Name + (CurLevel + 5000);
fg.attachMovie(String("_Ice" + Num), NewName, CurLevel);
fg[NewName]._x = (((fg[NewName]._width / 2) * K) + (4 * K)) + CurPos;
fg[NewName]._y = 0;
fg[NewName].id = Num;
CurLevel++;
fg[NewName]._xscale = K * 100;
fg[NewName]._yscale = K * 100;
fg[NewName].onPress = fpress;
fg[NewName].ShiftX = fg[NewName]._x;
fg[NewName].FigNum = Figures.length;
Figures.push([fg[NewName], fg[NewName]._x]);
CurPos = CurPos + (fg[NewName]._width + 0);
if (Bonus_F) {
fg[NewName].Bonus = CurBonus;
fg[NewName].OStars.gotoAndStop(2);
Bonus_F = false;
}
};
TakeFig = function (Fig) {
Figures.splice(Fig.FigNum, 1);
CurPos = CurPos - (Fig._width + 0);
UpdShiftX(Fig.FigNum, Fig._width + 0, -1);
};
DropFig = function (Fig) {
if (Fig.Locked_F) {
return(undefined);
}
Numb = 0;
CurPos = CurPos + (Fig.w + 0);
i = 0;
while (i < Figures.length) {
if (Figures[i][1] >= Fig._x) {
Numb = i;
break;
}
i++;
}
if (Figures[Figures.length - 1][1] < Fig._x) {
Numb = Figures.length;
}
Fig._rotation = 0;
i = 0;
while (i < Fig.NumPoints) {
Fig.TriDir[i] = Fig.TriDir_[i];
i++;
}
Fig.FigNum = Numb;
if (Numb > 0) {
PFig = Figures[Numb - 1][0];
Fig.ShiftX = ((PFig.ShiftX + (PFig._width / 2)) + 0) + (Fig.w / 2);
} else {
Fig.ShiftX = (Fig.w / 2) + (4 * K);
}
Figures.splice(Numb, 0, [Fig, Fig.ShiftX]);
Figures[Numb][0] = Fig;
Figures[Numb][1] = Fig.ShiftX;
UpdShiftX(Numb + 1, -(Fig.w + 0), 1);
};
UpdShiftX = function (Num, DeltaX, UN) {
i = 0;
while (i < Figures.length) {
if (i >= Num) {
Figures[i][1] = Figures[i][1] - DeltaX;
Figures[i][0].FigNum = Figures[i][0].FigNum + UN;
}
Figures[i][0].ShiftX = Figures[i][1];
i++;
}
};
CheckFire = function () {
if (OFire._currentFrame != 3) {
if (CurFig.hitTest(OFire)) {
OFire.gotoAndStop(2);
return(true);
}
OFire.gotoAndStop(1);
return(false);
}
};
Wave = function (frame, shift) {
return(Math.sin((((frame / 24) + ((6 * (shift + 100)) / Stage.width)) * 2) * Math.PI));
};
UpdateC = function () {
if (Frame_C < 23) {
Frame_C++;
} else {
Frame_C = 0;
if (Start_F) {
Time++;
CheckBonus();
}
}
if (NewFig_C < FigNT) {
NewFig_C++;
} else {
NewFig_C = 0;
}
if (MainStop_F) {
NewFig_C = 10;
}
};
CheckWin = function () {
i = 0;
while (i < Size9) {
j = 0;
while (j < Size12) {
if (CMatrix0[i][j] == 1) {
return(undefined);
}
if (CMatrix1[i][j] == 1) {
return(undefined);
}
j++;
}
i++;
}
WinLevel();
};
CheckLose = function (Fig) {
Y = Figures[Figures.length - 1][0]._y;
if (Y > (600 * K)) {
Start_F = false;
LoseLevel();
}
};
WinLevel = function () {
FullStop_F = true;
Start_F = false;
CorrectDepths();
OMessages.gotoAndStop(1);
OMessages._visible = true;
WLSnd.start();
_global.IntID3 = setInterval(toEndLevelMenu, 2000);
if (_root.CurrStage < 6) {
_root._rgt.sendResult(_root.TotalScore, true);
trace(_root.TotalScore + " 1");
} else {
_root._rgt.sendResult(_root.TotalScore, false);
trace(_root.TotalScore + " 0");
}
DisPanelBtns();
};
LoseLevel = function () {
if (Drag_F) {
FigDrag(CurFig);
}
FullStop_F = true;
CorrectDepths();
DisPanelBtns();
_root.gotoAndStop(ffo + 3);
};
HideFigs = function () {
fg.unloadMovie();
this.onEnterFrame = undefined;
SpaceListener.removeListener();
};
AddScore = function (Fig, Combo) {
if (Combo < 2) {
Combo = 1;
}
OExtraScore.OCombo.gotoAndStop(Combo);
TotalScore = TotalScore + ((10 * Fig.NumPoints) * Combo);
LevelScore = LevelScore + ((10 * Fig.NumPoints) * Combo);
UpdateInfo();
};
UpdateInfo = function () {
Panel.TScore.text = TotalScore;
Panel.TLevel.text = CurrStage;
if (Pearls == 0) {
Panel.TPearls.text = "00";
} else {
Panel.TPearls.text = Pearls;
}
if (Bonus_Puff == 0) {
Panel.OPuff_Btn.B_Puff_Num.text = "00";
Panel.OPuff_Btn.gotoAndStop(2);
} else {
if (Bonus_Puff < 10) {
Panel.OPuff_Btn.B_Puff_Num.text = "0" + Bonus_Puff;
} else {
Panel.OPuff_Btn.B_Puff_Num.text = Bonus_Puff;
}
Panel.OPuff_Btn.gotoAndStop(1);
}
if (Bonus_Slow == 0) {
Panel.OSlow_Btn.B_Slow_Num.text = "00";
Panel.OSlow_Btn.gotoAndStop(2);
} else {
if (Bonus_Slow < 10) {
Panel.OSlow_Btn.B_Slow_Num.text = "0" + Bonus_Slow;
} else {
Panel.OSlow_Btn.B_Slow_Num.text = Bonus_Slow;
}
if (Panel.OSlow_Btn.OBtnS._currentframe == 1) {
Panel.OSlow_Btn.gotoAndStop(1);
}
}
if (Bonus_Hammer == 0) {
Panel.OHammer_Btn.B_Hammer_Num.text = "00";
Panel.OHammer_Btn.gotoAndStop(2);
} else {
if (Bonus_Hammer < 10) {
Panel.OHammer_Btn.B_Hammer_Num.text = "0" + Bonus_Hammer;
} else {
Panel.OHammer_Btn.B_Hammer_Num.text = Bonus_Hammer;
}
Panel.OHammer_Btn.gotoAndStop(1);
}
if (Bonus_Octopus == 0) {
Panel.OOctopus_Btn.B_Octopus_Num.text = "00";
Panel.OOctopus_Btn.gotoAndStop(2);
} else {
if (Bonus_Octopus < 10) {
Panel.OOctopus_Btn.B_Octopus_Num.text = "0" + Bonus_Octopus;
} else {
Panel.OOctopus_Btn.B_Octopus_Num.text = Bonus_Octopus;
}
Panel.OOctopus_Btn.gotoAndStop(1);
}
};
Dis_Cur_Hammer = function () {
Cur_Hammer_F = false;
_root.OCur.OCurHammer._visible = false;
_root.OCur.OCurHammer._x = -66;
_root.OCur.OCurHammer._y = -20;
Mouse.show();
};
Dis_Cur_Puffer = function () {
Cur_Puffer_F = false;
_root.OCur.OCurPuffer._visible = false;
_root.OCur.OCurPuffer._x = -72;
_root.OCur.OCurPuffer._y = -64;
Mouse.show();
};
Dis_Cur_Octopus = function () {
Cur_Octopus_F = false;
_root.OCur.OCurOctopus._visible = false;
_root.OCur.OCurOctopus._x = -66;
_root.OCur.OCurOctopus._y = -20;
Mouse.show();
};
Puffer = function () {
if (Bonus_Puff == 0) {
return(undefined);
}
NewName = Name + (CurLevel + 5000);
fg.attachMovie("_Ice1", NewName, CurLevel);
fg[NewName]._x = _root._xmouse - 10;
fg[NewName]._y = _root._ymouse;
fg[NewName]._xscale = K * 100;
fg[NewName]._yscale = K * 100;
CurLevel++;
fg[NewName].Landed_F = false;
fg[NewName].Drag_F = false;
fg[NewName].Lnd_F = true;
fg[NewName].w = 41 * K;
fg[NewName].NumPoints = 1;
fg[NewName].TriDir = [0];
fg[NewName].TriDir_ = [0];
fg[NewName].id = 1;
fg[NewName].useHandCursor = false;
if (!CheckFig(fg[NewName], false)) {
FigRotate(fg[NewName]);
if (!CheckFig(fg[NewName], false)) {
fg[NewName].unloadMovie();
fg[NewName].removeMovieClip();
CurLevel--;
ECI_Snd.start();
} else {
BPf_Snd.start();
OCur.OCurPuffer.play();
Bonus_Puff--;
if (Start_F) {
UpdateInfo();
}
}
} else {
BPf_Snd.start();
OCur.OCurPuffer.play();
Bonus_Puff--;
if (Start_F) {
UpdateInfo();
}
}
};
CheckBonus = function () {
if (CurBonusNum < 5) {
if (Time == BonusArr[CurBonusNum][0]) {
Bonus_F = true;
CurBonus = BonusArr[CurBonusNum][1];
CurBonusNum++;
}
}
};
DispLevels = function () {
for (each in _root) {
var _local2 = _root[each];
if (_local2 instanceof MovieClip) {
var _local3 = _local2.getDepth();
trace((_local2._name + ":") + _local3);
}
}
trace("-------------------");
};
CorrectDepths = function () {
};
Test = function () {
Size9 = AreaSize[CurrStage - 1][0];
Size12 = AreaSize[CurrStage - 1][1];
i = 0;
while (i < Size9) {
j = 0;
while (j < Size12) {
CMatrix0[i][j] = eval ("CMatrix0_" + CurrStage)[i][j];
CMatrix1[i][j] = eval ("CMatrix1_" + CurrStage)[i][j];
j++;
}
i++;
}
for (each in fg) {
var obj = fg[each];
if ((((obj instanceof MovieClip) && (obj._name.slice(0, 4) == "OIce")) && (obj._name.length > 5)) && (obj.Locked_F)) {
var objDepth = obj.getDepth();
Fig = obj;
i = 1;
while (i <= Fig.NumPoints) {
Point.x = Fig["p" + i]._x;
Point.y = Fig["p" + i]._y;
Fig.localToGlobal(Point);
Ny = Math.floor((Point.y - OGrid._y) / th);
odd = Ny - (Math.floor(Ny / 2) * 2);
if (Fig.TriDir[i - 1] == 0) {
Nx = Math.floor(((Point.x - OGrid._x) + ((tw / 2) * (1 - odd))) / tw);
CMatrix0[Ny][Nx] = Fig;
} else {
Nx = Math.floor(((Point.x - OGrid._x) + ((tw / 2) * odd)) / tw);
CMatrix1[Ny][Nx] = Fig;
}
i++;
}
}
}
};
Frame 3
BonusArr = [[0, 0], [0, 0], [0, 0], [0, 0], [0, 0]];
FigAmount = [5, 5, 7, 9, 9, 9];
AreaCoord = [[200.8, 27.2], [151.3, 27.2], [98.8, 27.2], [130, 8], [70, 8], [200, 30]];
AreaSize = [[16, 16], [16, 16], [16, 16], [16, 16], [17, 17], [16, 16]];
Speed = [1, 1, 1.2, 1.3, 1.3, 1.5];
NFTime = [70, 70, 70, 60, 40, 40];
CMatrix0 = [[], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], []];
CMatrix1 = [[], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], []];
CMatrix0_1 = [[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [1, 1, 1, 1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [1, 0, 1, 1, 1, 1, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0]];
Tmp_TS = 0;
Tmp_BP = 0;
Tmp_BS = 0;
Tmp_BH = 0;
Tmp_BO = 0;
i_FigMR = 3;
i_FigNT = 70;
FigMR = i_FigMR;
FigNT = i_FigNT;
Restart_F = false;
CurrStage = 1;
Time = 0;
LevelScore = 0;
TotalScore = 0;
Pearls = 0;
Freed = 0;
MaxCombo = 0;
BonusNum = 0;
Bonus_Puff = 2;
Bonus_Slow = 2;
Bonus_Hammer = 3;
Bonus_Octopus = 0;
Cur_Hammer_F = false;
Cur_Puffer_F = false;
Cur_Octopus_F = false;
Bonus_F = false;
CurBonus = 0;
CurBonusNum = 0;
stop();
this.onLoad = function () {
fscommand ("fullscreen", "false");
fscommand ("allowscale", "false");
Stage.scaleMode = "exactFit";
};
var so = SharedObject.getLocal("temp");
if (so.data.content != "WIN") {
so.data.content = "";
} else {
Win__F = true;
Mmenu.ODL_text.play();
}
if (alawar_f != undefined) {
_Menu.dload._visible = false;
_Menu.dloadlabel._visible = false;
_Menu.help._y = _Menu.help._y - 39;
_Menu.helplabel._y = _Menu.helplabel._y - 39;
_Menu.E_btn._y = _Menu.E_btn._y - 39;
_Menu.E_label._y = _Menu.E_label._y - 39;
}
if (close_f == undefined) {
_root._Menu.E_btn._visible = false;
_root._Menu.E_label._visible = false;
} else {
_root._Menu.E_btn._visible = true;
_root._Menu.E_label._visible = true;
}
_root.First_time = true;
Instance of Symbol 130 MovieClip "OHaze" in Frame 3
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 194 MovieClip "OExplode" in Frame 3
onClipEvent (load) {
this.swapDepths(10001);
}
Instance of Symbol 205 MovieClip "OExtraScore" in Frame 3
/* no clip actions */
Instance of Symbol 209 MovieClip "OCombo" in Frame 3
/* no clip actions */
Instance of Symbol 272 MovieClip "OMessages" in Frame 3
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 83 MovieClip [_Ice1] "OIce1_" in Frame 3
onClipEvent (load) {
if (this._name.slice(6) == "") {
this._visible = false;
}
}
on (press) {
_root.FigDrag(this);
}
on (keyPress "<Space>") {
_root.FigRotate(_global.CurFig);
}
Instance of Symbol 278 MovieClip "Hint_o" in Frame 3
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 299 MovieClip "OPausedMenu" in Frame 3
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 332 MovieClip "OHelp" in Frame 3
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 362 MovieClip "OCur" in Frame 3
/* no clip actions */
Frame 4
stop();
InitLevel(CurrStage);
this.onEnterFrame = function () {
if (Start_F) {
if (Drag_F) {
CheckFire();
if (_root._xmouse > (877 * K)) {
_global.CurFig.swapDepths(-10000);
} else {
_global.CurFig.swapDepths(0);
}
}
if (NewFig_C == 0) {
NewFig();
}
if (!WinStop_F) {
if (CurPos > (877 * K)) {
MainStop_F = true;
Panel.ONF_Btn.gotoAndStop(2);
CheckLose();
} else {
MainStop_F = false;
Panel.ONF_Btn.gotoAndStop(1);
}
}
}
UpdateC();
};
Instance of Symbol 470 MovieClip "OFire" in Frame 4
/* no clip actions */
Instance of Symbol 478 MovieClip "OSunB" in Frame 4
onClipEvent (enterFrame) {
this._rotation = this._rotation + 0.8;
}
Instance of Symbol 497 MovieClip "OGrid" in Frame 4
/* no clip actions */
Instance of Symbol 500 MovieClip "OWaves1" in Frame 4
/* no clip actions */
Instance of Symbol 579 MovieClip "Panel" in Frame 4
/* no clip actions */
Frame 5
stop();
Instance of Symbol 586 MovieClip "OReplayMenu" in Frame 5
/* no clip actions */
Frame 6
stop();
Symbol 18 MovieClip Frame 1
stop();
Symbol 41 MovieClip Frame 1
gotoAndPlay(1 + Math.floor(24 * Math.random()));
Symbol 42 MovieClip Frame 1
stop();
Symbol 43 MovieClip [_Ice9] Frame 1
this.K = 0.625;
this.Landed_F = false;
this.Locked_F = false;
this.Drag_F = false;
this.w = 61 * K;
this.NumPoints = 4;
var TriDir = new Array(0, 1, 0, 1);
var TriDir_ = new Array(0, 1, 0, 1);
i = 1;
while (i <= this.NumPoints) {
this["p" + i]._visible = false;
i++;
}
this.onEnterFrame = function () {
if (!this._visible) {
return(undefined);
}
if (_root.FullStop_F) {
return(undefined);
}
if ((_root.First_time == undefined) || (_root.First_time)) {
if (this._y > 50) {
_root.First_time = false;
if (Drag_F) {
_root.FigDrag(this);
}
_root.DisPanelBtns();
_root.MainStop_F = true;
_root.FullStop_F = true;
_root.Start_F = false;
_root.Hint_o.Hint._x = this._x + (this._width / 2);
_root.Hint_o.Hint._y = (this._y + (this._height / 2)) + 5;
_root.Hint_o._visible = true;
_global.IntIDhint = setInterval(_root.DisHint, 17000);
}
}
CheckX();
MoveDown();
MoveX();
};
CheckX = function () {
if (this._x < (this._width / 2)) {
this._x = this._width / 2;
}
if (this._x > ((877 * K) - (this._width / 2))) {
this._x = (877 * K) - (this._width / 2);
}
};
MoveDown = function () {
Deep = 628 * K;
if (!Landed_F) {
if ((!Locked_F) && (!Drag_F)) {
if (this._y <= (Deep + ((2 * K) * _root.Wave(_root.Frame_C, this._x)))) {
this._y = this._y + _root.FigMR;
} else {
this._y = Deep + ((2 * K) * _root.Wave(_root.Frame_C, this._x));
Landed_F = true;
Lnd_F = true;
_root.DO_Snd.start();
}
}
} else {
this._y = Deep + (((1 + (0.2 * NumPoints)) * K) * _root.Wave(_root.Frame_C, this._x));
}
};
MoveX = function () {
if (Landed_F) {
if (Math.abs(this._x - this.ShiftX) < (3 * K)) {
this._x = this.ShiftX;
} else if (this._x < this.ShiftX) {
this._x = this._x + (3 * K);
} else if (this._x > this.ShiftX) {
this._x = this._x - (3 * K);
}
}
};
Symbol 46 MovieClip Frame 1
stop();
Symbol 47 MovieClip Frame 1
stop();
Symbol 48 MovieClip [_Ice8] Frame 1
this.K = 0.625;
this.Landed_F = false;
this.Locked_F = false;
this.Drag_F = false;
this.w = 61 * K;
this.NumPoints = 4;
var TriDir = new Array(0, 1, 0, 1);
var TriDir_ = new Array(0, 1, 0, 1);
i = 1;
while (i <= this.NumPoints) {
this["p" + i]._visible = false;
i++;
}
this.onEnterFrame = function () {
if (!this._visible) {
return(undefined);
}
if (_root.FullStop_F) {
return(undefined);
}
if ((_root.First_time == undefined) || (_root.First_time)) {
if (this._y > 50) {
_root.First_time = false;
if (Drag_F) {
_root.FigDrag(this);
}
_root.DisPanelBtns();
_root.MainStop_F = true;
_root.FullStop_F = true;
_root.Start_F = false;
_root.Hint_o.Hint._x = this._x + (this._width / 2);
_root.Hint_o.Hint._y = (this._y + (this._height / 2)) + 5;
_root.Hint_o._visible = true;
_global.IntIDhint = setInterval(_root.DisHint, 17000);
}
}
CheckX();
MoveDown();
MoveX();
};
CheckX = function () {
if (this._x < (this._width / 2)) {
this._x = this._width / 2;
}
if (this._x > ((877 * K) - (this._width / 2))) {
this._x = (877 * K) - (this._width / 2);
}
};
MoveDown = function () {
Deep = 628 * K;
if (!Landed_F) {
if ((!Locked_F) && (!Drag_F)) {
if (this._y <= (Deep + ((2 * K) * _root.Wave(_root.Frame_C, this._x)))) {
this._y = this._y + _root.FigMR;
} else {
this._y = Deep + ((2 * K) * _root.Wave(_root.Frame_C, this._x));
Landed_F = true;
Lnd_F = true;
_root.DO_Snd.start();
}
}
} else {
this._y = Deep + (((1 + (0.2 * NumPoints)) * K) * _root.Wave(_root.Frame_C, this._x));
}
};
MoveX = function () {
if (Landed_F) {
if (Math.abs(this._x - this.ShiftX) < (3 * K)) {
this._x = this.ShiftX;
} else if (this._x < this.ShiftX) {
this._x = this._x + (3 * K);
} else if (this._x > this.ShiftX) {
this._x = this._x - (3 * K);
}
}
};
Symbol 51 MovieClip Frame 1
stop();
Symbol 52 MovieClip Frame 1
stop();
Symbol 53 MovieClip [_Ice7] Frame 1
this.K = 0.625;
this.Landed_F = false;
this.Locked_F = false;
this.Drag_F = false;
this.w = 61 * K;
this.NumPoints = 5;
var TriDir = new Array(0, 1, 0, 0, 1);
var TriDir_ = new Array(0, 1, 0, 0, 1);
i = 1;
while (i <= this.NumPoints) {
this["p" + i]._visible = false;
i++;
}
this.onEnterFrame = function () {
if (!this._visible) {
return(undefined);
}
if (_root.FullStop_F) {
return(undefined);
}
if ((_root.First_time == undefined) || (_root.First_time)) {
if (this._y > 50) {
_root.First_time = false;
if (Drag_F) {
_root.FigDrag(this);
}
_root.DisPanelBtns();
_root.MainStop_F = true;
_root.FullStop_F = true;
_root.Start_F = false;
_root.Hint_o.Hint._x = this._x + (this._width / 2);
_root.Hint_o.Hint._y = (this._y + (this._height / 2)) + 5;
_root.Hint_o._visible = true;
_global.IntIDhint = setInterval(_root.DisHint, 17000);
}
}
CheckX();
MoveDown();
MoveX();
};
CheckX = function () {
if (this._x < (this._width / 2)) {
this._x = this._width / 2;
}
if (this._x > ((877 * K) - (this._width / 2))) {
this._x = (877 * K) - (this._width / 2);
}
};
MoveDown = function () {
Deep = 628 * K;
if (!Landed_F) {
if ((!Locked_F) && (!Drag_F)) {
if (this._y <= (Deep + ((2 * K) * _root.Wave(_root.Frame_C, this._x)))) {
this._y = this._y + _root.FigMR;
} else {
this._y = Deep + ((2 * K) * _root.Wave(_root.Frame_C, this._x));
Landed_F = true;
Lnd_F = true;
_root.DO_Snd.start();
}
}
} else {
this._y = Deep + (((1 + (0.2 * NumPoints)) * K) * _root.Wave(_root.Frame_C, this._x));
}
};
MoveX = function () {
if (Landed_F) {
if (Math.abs(this._x - this.ShiftX) < (3 * K)) {
this._x = this.ShiftX;
} else if (this._x < this.ShiftX) {
this._x = this._x + (3 * K);
} else if (this._x > this.ShiftX) {
this._x = this._x - (3 * K);
}
}
};
Symbol 56 MovieClip Frame 1
stop();
Symbol 57 MovieClip Frame 1
stop();
Symbol 58 MovieClip [_Ice6] Frame 1
this.K = 0.625;
this.Landed_F = false;
this.Locked_F = false;
this.Drag_F = false;
this.w = 61 * K;
this.NumPoints = 5;
var TriDir = new Array(0, 1, 0, 0, 1);
var TriDir_ = new Array(0, 1, 0, 0, 1);
i = 1;
while (i <= this.NumPoints) {
this["p" + i]._visible = false;
i++;
}
this.onEnterFrame = function () {
if (!this._visible) {
return(undefined);
}
if (_root.FullStop_F) {
return(undefined);
}
if ((_root.First_time == undefined) || (_root.First_time)) {
if (this._y > 50) {
_root.First_time = false;
_root.DisPanelBtns();
_root.MainStop_F = true;
_root.FullStop_F = true;
_root.Start_F = false;
_root.Hint_o.Hint._x = this._x + (this._width / 2);
_root.Hint_o.Hint._y = (this._y + (this._height / 2)) + 5;
_root.Hint_o._visible = true;
if (Drag_F) {
_root.FigDrag(this);
}
_global.IntIDhint = setInterval(_root.DisHint, 17000);
}
}
CheckX();
MoveDown();
MoveX();
};
CheckX = function () {
if (this._x < (this._width / 2)) {
this._x = this._width / 2;
}
if (this._x > ((877 * K) - (this._width / 2))) {
this._x = (877 * K) - (this._width / 2);
}
};
MoveDown = function () {
Deep = 629 * K;
if (!Landed_F) {
if ((!Locked_F) && (!Drag_F)) {
if (this._y <= (Deep + ((2 * K) * _root.Wave(_root.Frame_C, this._x)))) {
this._y = this._y + _root.FigMR;
} else {
this._y = Deep + ((2 * K) * _root.Wave(_root.Frame_C, this._x));
Landed_F = true;
Lnd_F = true;
_root.DO_Snd.start();
}
}
} else {
this._y = Deep + (((1 + (0.2 * NumPoints)) * K) * _root.Wave(_root.Frame_C, this._x));
}
};
MoveX = function () {
if (Landed_F) {
if (Math.abs(this._x - this.ShiftX) < (3 * K)) {
this._x = this.ShiftX;
} else if (this._x < this.ShiftX) {
this._x = this._x + (3 * K);
} else if (this._x > this.ShiftX) {
this._x = this._x - (3 * K);
}
}
};
Symbol 61 MovieClip Frame 1
stop();
Symbol 62 MovieClip Frame 1
stop();
Symbol 63 MovieClip [_Ice5] Frame 1
this.K = 0.625;
this.Landed_F = false;
this.Locked_F = false;
this.Drag_F = false;
this.w = 82 * K;
this.NumPoints = 6;
var TriDir = new Array(0, 0, 1, 1, 1, 0);
var TriDir_ = new Array(0, 0, 1, 1, 1, 0);
i = 1;
while (i <= this.NumPoints) {
this["p" + i]._visible = false;
i++;
}
this.onEnterFrame = function () {
if (!this._visible) {
return(undefined);
}
if (_root.FullStop_F) {
return(undefined);
}
CheckX();
MoveDown();
MoveX();
};
CheckX = function () {
if (this._x < (this._width / 2)) {
this._x = this._width / 2;
}
if (this._x > ((877 * K) - (this._width / 2))) {
this._x = (877 * K) - (this._width / 2);
}
};
MoveDown = function () {
Deep = 628 * K;
if (!Landed_F) {
if ((!Locked_F) && (!Drag_F)) {
if (this._y <= (Deep + ((2 * K) * _root.Wave(_root.Frame_C, this._x)))) {
this._y = this._y + _root.FigMR;
} else {
this._y = Deep + ((2 * K) * _root.Wave(_root.Frame_C, this._x));
Landed_F = true;
Lnd_F = true;
_root.DO_Snd.start();
}
}
} else {
this._y = Deep + (((1 + (0.2 * NumPoints)) * K) * _root.Wave(_root.Frame_C, this._x));
}
};
MoveX = function () {
if (Landed_F) {
if (Math.abs(this._x - this.ShiftX) < (3 * K)) {
this._x = this.ShiftX;
} else if (this._x < this.ShiftX) {
this._x = this._x + (3 * K);
} else if (this._x > this.ShiftX) {
this._x = this._x - (3 * K);
}
}
};
Symbol 66 MovieClip Frame 1
stop();
Symbol 67 MovieClip Frame 1
stop();
Symbol 68 MovieClip [_Ice3] Frame 1
this.K = 0.625;
this.Landed_F = false;
this.Locked_F = false;
this.Drag_F = false;
this.w = 61 * K;
this.NumPoints = 3;
var TriDir = new Array(0, 1, 1);
var TriDir_ = new Array(0, 1, 1);
i = 1;
while (i <= this.NumPoints) {
this["p" + i]._visible = false;
i++;
}
this.onEnterFrame = function () {
if (!this._visible) {
return(undefined);
}
if (_root.FullStop_F) {
return(undefined);
}
if ((_root.First_time == undefined) || (_root.First_time)) {
if (this._y > 50) {
_root.First_time = false;
if (Drag_F) {
_root.FigDrag(this);
}
_root.DisPanelBtns();
_root.MainStop_F = true;
_root.FullStop_F = true;
_root.Start_F = false;
_root.Hint_o.Hint._x = this._x + (this._width / 2);
_root.Hint_o.Hint._y = (this._y + (this._height / 2)) + 5;
_root.Hint_o._visible = true;
_global.IntIDhint = setInterval(_root.DisHint, 17000);
}
}
CheckX();
MoveDown();
MoveX();
Rotate();
};
CheckX = function () {
if (this._x < (this._width / 2)) {
this._x = this._width / 2;
}
if (this._x > ((877 * K) - (this._width / 2))) {
this._x = (877 * K) - (this._width / 2);
}
};
MoveDown = function () {
Deep = 629 * K;
if (!Landed_F) {
if ((!Locked_F) && (!Drag_F)) {
if (this._y <= (Deep + ((2 * K) * _root.Wave(_root.Frame_C, this._x)))) {
this._y = this._y + _root.FigMR;
} else {
this._y = Deep + ((2 * K) * _root.Wave(_root.Frame_C, this._x));
Landed_F = true;
Lnd_F = true;
_root.DO_Snd.start();
}
}
} else {
this._y = Deep + (((1 + (0.2 * NumPoints)) * K) * _root.Wave(_root.Frame_C, this._x));
}
};
MoveX = function () {
if (Landed_F) {
if (Math.abs(this._x - this.ShiftX) < (3 * K)) {
this._x = this.ShiftX;
} else if (this._x < this.ShiftX) {
this._x = this._x + (3 * K);
} else if (this._x > this.ShiftX) {
this._x = this._x - (3 * K);
}
}
};
Symbol 71 MovieClip Frame 1
stop();
Symbol 72 MovieClip Frame 1
stop();
Symbol 73 MovieClip [_Ice2] Frame 1
this.K = 0.625;
this.Landed_F = false;
this.Locked_F = false;
this.Drag_F = false;
this.w = 41 * K;
this.NumPoints = 2;
var TriDir = new Array(0, 1);
var TriDir_ = new Array(0, 1);
i = 1;
while (i <= this.NumPoints) {
this["p" + i]._visible = false;
i++;
}
this.onEnterFrame = function () {
if (!this._visible) {
return(undefined);
}
if (_root.FullStop_F) {
return(undefined);
}
if ((_root.First_time == undefined) || (_root.First_time)) {
if (this._y > 50) {
_root.First_time = false;
if (Drag_F) {
_root.FigDrag(this);
}
_root.DisPanelBtns();
_root.MainStop_F = true;
_root.FullStop_F = true;
_root.Start_F = false;
_root.Hint_o.Hint._x = this._x + (this._width / 2);
_root.Hint_o.Hint._y = (this._y + (this._height / 2)) + 5;
_root.Hint_o._visible = true;
_global.IntIDhint = setInterval(_root.DisHint, 17000);
}
}
CheckX();
MoveDown();
MoveX();
Rotate();
};
CheckX = function () {
if (this._x < (this._width / 2)) {
this._x = this._width / 2;
}
if (this._x > ((877 * K) - (this._width / 2))) {
this._x = (877 * K) - (this._width / 2);
}
};
MoveDown = function () {
Deep = 627 * K;
if (!Landed_F) {
if ((!Locked_F) && (!Drag_F)) {
if (this._y <= (Deep + ((2 * K) * _root.Wave(_root.Frame_C, this._x)))) {
this._y = this._y + _root.FigMR;
} else {
this._y = Deep + ((2 * K) * _root.Wave(_root.Frame_C, this._x));
Landed_F = true;
Lnd_F = true;
_root.DO_Snd.start();
}
}
} else {
this._y = Deep + (((1 + (0.2 * NumPoints)) * K) * _root.Wave(_root.Frame_C, this._x));
}
};
MoveX = function () {
if (Landed_F) {
if (Math.abs(this._x - this.ShiftX) < (3 * K)) {
this._x = this.ShiftX;
} else if (this._x < this.ShiftX) {
this._x = this._x + (3 * K);
} else if (this._x > this.ShiftX) {
this._x = this._x - (3 * K);
}
}
};
Symbol 76 MovieClip Frame 1
stop();
Symbol 77 MovieClip Frame 1
stop();
Symbol 78 MovieClip [_Ice4] Frame 1
this.K = 0.625;
this.Landed_F = false;
this.Locked_F = false;
this.Drag_F = false;
this.w = 81 * K;
this.NumPoints = 4;
var TriDir = new Array(0, 0, 1, 0);
var TriDir_ = new Array(0, 0, 1, 0);
i = 1;
while (i <= this.NumPoints) {
this["p" + i]._visible = false;
i++;
}
this.onEnterFrame = function () {
if (!this._visible) {
return(undefined);
}
if (_root.FullStop_F) {
return(undefined);
}
if ((_root.First_time == undefined) || (_root.First_time)) {
if (this._y > 50) {
_root.First_time = false;
if (Drag_F) {
_root.FigDrag(this);
}
_root.DisPanelBtns();
_root.MainStop_F = true;
_root.FullStop_F = true;
_root.Start_F = false;
_root.Hint_o.Hint._x = this._x + (this._width / 2);
_root.Hint_o.Hint._y = (this._y + (this._height / 2)) + 5;
_root.Hint_o._visible = true;
_global.IntIDhint = setInterval(_root.DisHint, 17000);
}
}
CheckX();
MoveDown();
MoveX();
Rotate();
};
CheckX = function () {
if (this._x < (this._width / 2)) {
this._x = this._width / 2;
}
if (this._x > ((877 * K) - (this._width / 2))) {
this._x = (877 * K) - (this._width / 2);
}
};
MoveDown = function () {
Deep = 633 * K;
if (!Landed_F) {
if ((!Locked_F) && (!Drag_F)) {
if (this._y <= (Deep + ((2 * K) * _root.Wave(_root.Frame_C, this._x)))) {
this._y = this._y + _root.FigMR;
} else {
this._y = Deep + ((2 * K) * _root.Wave(_root.Frame_C, this._x));
Landed_F = true;
Lnd_F = true;
_root.DO_Snd.start();
}
}
} else {
this._y = Deep + (((1 + (0.2 * NumPoints)) * K) * _root.Wave(_root.Frame_C, this._x));
}
};
MoveX = function () {
if (Landed_F) {
if (Math.abs(this._x - this.ShiftX) < (3 * K)) {
this._x = this.ShiftX;
} else if (this._x < this.ShiftX) {
this._x = this._x + (3 * K);
} else if (this._x > this.ShiftX) {
this._x = this._x - (3 * K);
}
}
};
Symbol 81 MovieClip Frame 1
stop();
Symbol 82 MovieClip Frame 1
stop();
Symbol 83 MovieClip [_Ice1] Frame 1
this.K = 0.625;
this.Landed_F = false;
if (this.Locked_F == undefined) {
this.Locked_F = false;
}
this.Drag_F = false;
this.w = 41 * K;
this.NumPoints = 1;
if (TriDir == undefined) {
var TriDir = new Array(0, 0);
var TriDir_ = new Array(0, 0);
}
i = 1;
while (i <= this.NumPoints) {
this["p" + i]._visible = false;
i++;
}
this.onEnterFrame = function () {
if (!this._visible) {
return(undefined);
}
if (_root.FullStop_F) {
return(undefined);
}
if ((_root.First_time == undefined) || (_root.First_time)) {
if (this._y > 50) {
_root.First_time = false;
if (Drag_F) {
_root.FigDrag(this);
}
_root.DisPanelBtns();
_root.MainStop_F = true;
_root.FullStop_F = true;
_root.Start_F = false;
_root.Hint_o.Hint._x = this._x + (this._width / 2);
_root.Hint_o.Hint._y = (this._y + (this._height / 2)) + 5;
_root.Hint_o._visible = true;
_global.IntIDhint = setInterval(_root.DisHint, 17000);
}
}
CheckX();
MoveDown();
MoveX();
};
CheckX = function () {
if (this._x < (this._width / 2)) {
this._x = this._width / 2;
}
if (this._x > ((877 * K) - (this._width / 2))) {
this._x = (877 * K) - (this._width / 2);
}
};
MoveDown = function () {
Deep = 623 * K;
if (!Landed_F) {
if ((!Locked_F) && (!Drag_F)) {
if (this._y <= (Deep + ((2 * K) * _root.Wave(_root.Frame_C, this._x)))) {
this._y = this._y + _root.FigMR;
} else {
this._y = Deep + ((2 * K) * _root.Wave(_root.Frame_C, this._x));
Landed_F = true;
Lnd_F = true;
_root.DO_Snd.start();
}
}
} else {
this._y = Deep + (((1 + (0.2 * NumPoints)) * K) * _root.Wave(_root.Frame_C, this._x));
}
};
MoveX = function () {
if (Landed_F) {
if (Math.abs(this._x - this.ShiftX) < (3 * K)) {
this._x = this.ShiftX;
} else if (this._x < this.ShiftX) {
this._x = this._x + (3 * K);
} else if (this._x > this.ShiftX) {
this._x = this._x - (3 * K);
}
}
};
Instance of Symbol 82 MovieClip "OStas" in Symbol 83 MovieClip [_Ice1] Frame 1
/* no clip actions */
Symbol 90 MovieClip Frame 1
function init() {
this._alpha = 0;
up1._x = INITXUP;
down1._x = INITXDOWN - (1 * down1._width);
if (up2 != undefined) {
removeMovieClip(up2);
}
if (down2 != undefined) {
removeMovieClip(down2);
}
if (up3 != undefined) {
removeMovieClip(up3);
}
if (down3 != undefined) {
removeMovieClip(down3);
}
}
function start() {
duplicateMovieClip (up1, "up2", this.getNextHighestDepth());
duplicateMovieClip (up1, "up3", this.getNextHighestDepth());
duplicateMovieClip (down1, "down2", this.getNextHighestDepth());
duplicateMovieClip (down1, "down3", this.getNextHighestDepth());
up2._x = up1._width;
up3._x = up1._width * 2;
down2._x = 0;
down3._x = down1._width;
this.onEnterFrame = ef_start;
}
function ef_start() {
up1._x = up1._x - SHIFTSTEP;
up2._x = up2._x - SHIFTSTEP;
up3._x = up3._x - SHIFTSTEP;
down1._x = down1._x + SHIFTSTEP;
down2._x = down2._x + SHIFTSTEP;
down3._x = down3._x + SHIFTSTEP;
i = 1;
while (i <= 3) {
if (this["up" + i]._x < (-1 * up1._width)) {
this["up" + i]._x = up1._width * 2;
}
if (this["down" + i]._x > (2 * down1._width)) {
this["down" + i]._x = -1 * down1._width;
}
i++;
}
if (this._alpha <= (ALPHA - ALPHASTEP)) {
this._alpha = this._alpha + ALPHASTEP;
} else {
this._alpha = ALPHA;
}
}
var INITXUP = 0;
var INITXDOWN = 0;
var SHIFTSTEP = 1;
var ALPHASTEP = 0.7;
var ALPHA;
Symbol 92 MovieClip Frame 1
function init() {
text1.init();
text1.ALPHA = 75;
text2.init();
text2.ALPHA = 15;
}
function start() {
text1.start();
text2.start();
}
Symbol 96 MovieClip Frame 1
FirstTime = true;
Symbol 96 MovieClip Frame 28
if (FirstTime) {
stop();
FirstTime = false;
}
Symbol 96 MovieClip Frame 55
gotoAndPlay (2);
Symbol 116 MovieClip Frame 1
function start() {
Cnt = 0;
this.onEnterFrame = ef_start;
}
function ef_start() {
var _local3;
var _local4;
Cnt++;
if (Cnt < LFRAMES) {
i = 1;
while (i <= 10) {
_local4 = (INITAMP * Math.sin(((((Math.PI*2) / LFRAMES) / 4) * Cnt) + (Math.PI/4))) * (1 - (Cnt / LFRAMES));
_local3 = 100 - (_local4 * Math.sin((((Math.PI*2) / LFRAMES) * LPER) * ((Cnt + INITPH) + (i * LV))));
this["L" + i]._xscale = _local3;
this["L" + i]._yscale = _local3;
_local3 = this["L" + i]._xscale - 100;
if (_local3 > 0) {
if (_local3 > 19) {
this["L" + i]._alpha = (100 - (_local3 * 2.1)) - 20;
} else {
this["L" + i]._alpha = 100 - (_local3 * 2.1);
}
}
i++;
}
} else {
i = 1;
while (i <= 10) {
this["L" + i]._xscale = 100;
this["L" + i]._yscale = 100;
this["L" + i]._alpha = 100;
i++;
}
this.onEnterFrame = undefined;
_parent.dummy.onMouseMove = _parent.go;
}
}
function wave(cx) {
OldCX = CX;
CX = cx;
Cnt = 0;
startf = false;
this.onEnterFrame = ef_wave;
}
function ef_wave() {
var _local3;
var _local5;
var _local4;
Cnt++;
if ((Cnt > 1) && (!startf)) {
return(undefined);
}
if (Cnt < LFRAMES) {
i = 1;
while (i <= 10) {
_local4 = ((((Math.PI*2) * CX) / this._width) * 0.7) + 0.1;
_local5 = (INITAMP * Math.sin(((((Math.PI*2) / LFRAMES) / 4) * Cnt) + (Math.PI/4))) * (1 - (Cnt / LFRAMES));
if ((CX - OldCX) >= 0) {
_local3 = 100 - (_local5 * Math.sin(((((Math.PI*2) / LFRAMES) * LPER) * ((Cnt + INITPH) + (i * LV))) + _local4));
} else {
_local3 = 100 - (_local5 * Math.sin(((((Math.PI*2) / LFRAMES) * LPER) * ((Cnt + INITPH) - (i * LV))) + _local4));
}
if (_local3 < 100) {
_local3 = 100 - ((100 - _local3) * 0.8);
}
this["L" + i]._xscale = _local3;
this["L" + i]._yscale = _local3;
_local3 = this["L" + i]._xscale - 100;
if (_local3 > 0) {
if (_local3 > 18) {
this["L" + i]._alpha = (100 - (_local3 * 2.1)) - 20;
} else {
this["L" + i]._alpha = 100 - (_local3 * 2.1);
}
}
i++;
}
} else {
i = 1;
while (i <= 10) {
this["L" + i]._xscale = 100;
this["L" + i]._yscale = 100;
this["L" + i]._alpha = 100;
i++;
}
this.onEnterFrame = undefined;
_parent.dummy.onMouseMove = _parent.go;
}
}
var LFRAMES = 100;
var LPER = 3;
var INITAMP = 27;
var INITPH = 5;
var LV = 2;
var Cnt;
var CX;
var OldCX = 0;
var startf;
Symbol 122 MovieClip Frame 1
function go() {
if ((((dummy._xmouse < dummy._width) && (dummy._xmouse > 0)) && (dummy._ymouse < dummy._height)) && (dummy._ymouse > 0)) {
loading.wave(dummy._xmouse);
}
}
dummy.useHandCursor = false;
dummy.onRollOut = function () {
loading.startf = true;
};
Symbol 127 MovieClip Frame 1
function start() {
duplicateMovieClip (prnload, "prnload1", this.getNextHighestDepth());
duplicateMovieClip (prnload, "prnload2", this.getNextHighestDepth());
prnload._alpha = PRALPHAINIT;
prnload._xscale = PRMAGNINIT;
prnload._yscale = PRMAGNINIT;
prnload1._alpha = PRALPHAINIT1;
prnload1._xscale = PRMAGNINIT1;
prnload1._yscale = PRMAGNINIT1;
prnload2._alpha = PRALPHAINIT2;
prnload2._xscale = PRMAGNINIT2;
prnload2._yscale = PRMAGNINIT2;
this.onEnterFrame = ef1_start;
}
function ef1_start() {
if (prnload._xscale > 100) {
tmp = PRMAGNSTEP;
if ((prnload._xscale - tmp) < 0) {
tmp = prnload._xscale - 100;
}
prnload._xscale = prnload._xscale - tmp;
prnload._yscale = prnload._yscale - tmp;
prnload._alpha = prnload._alpha + (PRALPHASTEP * PRALPHASTEP);
} else {
prnload._xscale = prnload._xscale - 0.8;
prnload._yscale = prnload._yscale - 0.8;
}
if (prnload._xscale < PRSTART1) {
if (prnload1._xscale > 100) {
tmp = (PRMAGNSTEP1 * PRMAGNSTEP1) / 23;
if ((prnload1._xscale - tmp) < 100) {
tmp = prnload1._xscale - 100;
}
prnload1._xscale = prnload1._xscale - tmp;
prnload1._yscale = prnload1._yscale - tmp;
if (prnload._xscale > 100) {
prnload1._alpha = prnload1._alpha + (PRALPHASTEP1 * PRALPHASTEP1);
} else {
prnload1._alpha = prnload1._alpha - (PRALPHASTEP1 * PRALPHASTEP1);
}
} else {
removeMovieClip(prnload1);
}
}
if (prnload._xscale < PRSTART2) {
if (prnload2._xscale > 100) {
tmp = (PRMAGNSTEP2 * PRMAGNSTEP2) / 15.4;
if ((prnload2._xscale - tmp) < 100) {
tmp = prnload2._xscale - 100;
}
prnload2._xscale = prnload2._xscale - tmp;
prnload2._yscale = prnload2._yscale - tmp;
if (prnload1._xscale != 100) {
prnload2._alpha = prnload2._alpha + (PRALPHASTEP2 * PRALPHASTEP2);
} else {
prnload2._alpha = prnload2._alpha - (PRALPHASTEP2 * PRALPHASTEP2);
}
} else {
removeMovieClip(prnload2);
}
}
if (prnload2 == undefined) {
Cnt = 0;
prnload._alpha = 100;
shadow.play();
prnload.loading.start();
prnload.progress._alpha = 35;
this.onEnterFrame = ef2_start;
_root.onEnterFrame = _root.ef_go;
}
}
function ef2_start() {
Cnt++;
if (Cnt == TEXTSTART) {
text.start();
}
if (Cnt < WVFRAMES) {
tmp = 100 - ((WVINITAMP * (1 - (Cnt / WVFRAMES))) * Math.sin((((Math.PI * Cnt) / WVFRAMES) * WVPERIODS) + (Math.PI/4)));
prnload._xscale = tmp;
prnload._yscale = tmp;
maskmc._xscale = tmp;
maskmc._yscale = tmp;
filled._xscale = tmp;
filled._yscale = tmp;
} else {
this.onEnterFrame = undefined;
}
}
function init() {
text.init();
Cnt = 0;
this._alpha = 100;
htmp = maskmc.target._height;
ytmp = maskmc.target._y;
maskmc.target._height = 0;
maskmc.target._y = ytmp + htmp;
}
function setprogress(pr) {
maskmc.target._height = (pr * htmp) / 100;
maskmc.target._y = ytmp + (htmp * (1 - (pr / 100)));
}
var PRMAGNINIT = 1000;
var PRALPHAINIT = 0;
var PRMAGNSTEP = 25;
var PRALPHASTEP = 1.5;
var PRMAGNINIT1 = 1000;
var PRALPHAINIT1 = 0;
var PRMAGNSTEP1 = 25;
var PRALPHASTEP1 = 1.5;
var PRSTART1 = 700;
var PRMAGNINIT2 = 1000;
var PRALPHAINIT2 = 0;
var PRMAGNSTEP2 = 25;
var PRALPHASTEP2 = 1.6;
var PRSTART2 = 300;
var WVFRAMES = 85;
var WVINITAMP = 17;
var WVPERIODS = 3.5;
var TEXTSTART = 30;
var htmp;
var ytmp;
var Cnt;
Symbol 130 MovieClip Frame 1
stop();
Symbol 130 MovieClip Frame 23
this._visible = false;
Symbol 193 MovieClip Frame 1
gotoAndPlay(1 + Math.floor(30 * Math.random()));
Symbol 194 MovieClip Frame 1
stop();
Symbol 204 MovieClip Frame 1
stop();
Symbol 205 MovieClip Frame 1
stop();
Symbol 205 MovieClip Frame 2
this.swapDepths(15000);
Bonus.Score.text = Sc;
Bonus.gotoAndStop(Obj);
Symbol 208 MovieClip Frame 1
stop();
Symbol 209 MovieClip Frame 1
stop();
Symbol 209 MovieClip Frame 2
this.swapDepths(15000);
Mult.Mult.text = Combo;
Symbol 225 Button
on (press) {
if (_root.Drag_F) {
return(undefined);
}
_root.CorrectDepths();
_root.MainStop_F = true;
_root.FullStop_F = true;
_root.Start_F = false;
if (_root.OHelp.getDepth() < 10850) {
_root.OHelp.swapDepths(10855);
}
_root.OHelp._visible = true;
}
Symbol 229 Button
on (press) {
_root.GotoDownload();
}
on (rollOver) {
ODL_Text.play();
}
on (rollOut) {
if (_root.Win__F == undefined) {
ODL_Text.gotoAndStop(1);
}
}
Symbol 240 Button
on (release) {
_parent.gotoAndStop(_root.ffo + 2);
}
Symbol 244 Button
on (press) {
fscommand ("quit");
if (_root.close_f != 0) {
cstr = ("JavaScript:" + _root.close_f) + "()";
getURL (cstr);
}
}
Symbol 249 MovieClip Frame 1
stop();
if (_root.Win__F != undefined) {
this.gotoAndStop(12);
}
Symbol 249 MovieClip Frame 9
stop();
Symbol 272 MovieClip Frame 1
stop();
Instance of Symbol 274 MovieClip in Symbol 278 MovieClip Frame 1
on (release) {
if (_root.Hint_o._visible == true) {
clearInterval(_global.IntIDhint);
_root.Hint_o._visible = false;
_root.EnPanelBtns();
_root.UpdateInfo();
_root.MainStop_F = false;
_root.FullStop_F = false;
_root.Start_F = true;
}
}
onClipEvent (keyUp) {
if (_root.Hint_o._visible == true) {
clearInterval(_global.IntIDhint);
_root.Hint_o._visible = false;
_root.EnPanelBtns();
_root.UpdateInfo();
_root.MainStop_F = false;
_root.FullStop_F = false;
_root.Start_F = true;
}
}
Symbol 287 Button
on (press) {
HideFigs();
_root.OPausedMenu._visible = false;
_root.gotoAndStop(_root.ffo + 1);
}
Symbol 296 Button
on (press) {
_root.EnPanelBtns();
_root.Start_F = true;
_root.MainStop_F = false;
_root.FullStop_F = false;
_root.OPausedMenu._visible = false;
}
Symbol 318 Button
on (press) {
this.gotoAndStop(2);
}
Symbol 321 Button
on (press) {
_root.Start_F = true;
_root.MainStop_F = false;
_root.FullStop_F = false;
_root.OHelp._visible = false;
}
Symbol 324 MovieClip Frame 1
this.useHandCursor = false;
this.onPress = function () {
};
Symbol 331 Button
on (press) {
this.gotoAndStop(1);
}
Symbol 332 MovieClip Frame 1
stop();
Symbol 332 MovieClip Frame 2
stop();
Symbol 347 MovieClip Frame 1
stop();
Symbol 347 MovieClip Frame 7
if (_root.Bonus_Puff <= 0) {
_root.Dis_Cur_Puffer();
return(undefined);
}
Symbol 361 MovieClip Frame 1
stop();
Symbol 361 MovieClip Frame 8
if (_root.Bonus_Hammer <= 0) {
_root.Dis_Cur_Hammer();
return(undefined);
}
Instance of Symbol 347 MovieClip "OCurPuffer" in Symbol 362 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
on (press) {
trace("PUFFER!");
_root.Puffer();
}
onClipEvent (enterFrame) {
if (_root.Cur_Puffer_F) {
this._x = _root._xmouse;
this._y = _root._ymouse;
updateAfterEvent();
}
}
Instance of Symbol 350 MovieClip "OCurOctopus" in Symbol 362 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
if (_root.Cur_Octopus_F) {
this._x = _root._xmouse;
this._y = _root._ymouse;
updateAfterEvent();
}
}
Instance of Symbol 361 MovieClip "OCurHammer" in Symbol 362 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
if (_root.Cur_Hammer_F) {
this._x = _root._xmouse;
this._y = _root._ymouse;
updateAfterEvent();
}
}
Symbol 470 MovieClip Frame 1
stop();
Symbol 497 MovieClip Frame 1
stop();
Symbol 498 MovieClip Frame 1
Symbol 510 Button
on (press) {
if (_root.Drag_F) {
return(undefined);
}
_root.Dis_Cur_Hammer();
_root.Dis_Cur_Puffer();
_root.UpdateInfo();
_root.OCur.OCurOctopus._visible = true;
Mouse.hide();
_root.Cur_Octopus_F = true;
}
Symbol 518 MovieClip Frame 1
stop();
Symbol 519 Button
on (press) {
if (_root.Drag_F) {
return(undefined);
}
_root.Dis_Cur_Octopus();
_root.Dis_Cur_Puffer();
_root.UpdateInfo();
_root.OCur.OCurHammer._visible = true;
Mouse.hide();
_root.Cur_Hammer_F = true;
}
Symbol 522 MovieClip Frame 1
stop();
Symbol 523 Button
on (press) {
if (_root.Bonus_Slow != 0) {
_root.Bonus_Slow--;
}
_root.UpdateInfo();
OBtnS._visible = true;
_root.FigMR = _root.i_FigMR / 2;
_root.FigNT = _root.i_FigNT * 2;
this.gotoAndStop(2);
OBtnS.play();
}
Symbol 529 MovieClip Frame 1
stop();
if (_root.Start_F) {
_root.UpdateInfo();
}
Symbol 529 MovieClip Frame 220
this._visible = false;
_root.FigMR = _root.i_FigMR;
_root.FigNT = _root.i_FigNT;
Symbol 530 MovieClip Frame 1
stop();
Instance of Symbol 529 MovieClip "OBtnS" in Symbol 530 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
Symbol 531 Button
on (press) {
if (_root.Drag_F) {
return(undefined);
}
_root.Dis_Cur_Octopus();
_root.Dis_Cur_Hammer();
_root.UpdateInfo();
_root.OCur.OCurPuffer._visible = true;
Mouse.hide();
_root.Cur_Puffer_F = true;
}
Symbol 534 MovieClip Frame 1
stop();
Symbol 542 Button
on (press) {
_root.NewFig();
}
Symbol 547 MovieClip Frame 1
stop();
Symbol 554 Button
on (press) {
if (_root.Drag_F) {
return(undefined);
}
_root.CorrectDepths();
_root.DisPanelBtns();
_root.MainStop_F = true;
_root.FullStop_F = true;
_root.Start_F = false;
_root.OPausedMenu._visible = true;
}
Symbol 560 MovieClip Frame 1
stop();
Symbol 561 Button
on (press) {
if (_root.Drag_F) {
return(undefined);
}
if (Key.isDown(17)) {
_root.First_time = false;
_root.WinLevel();
return(undefined);
}
_root.CorrectDepths();
_root.MainStop_F = true;
_root.FullStop_F = true;
_root.Start_F = false;
if (_root.OHelp.getDepth() < 10850) {
_root.OHelp.swapDepths(10855);
}
_root.OHelp._visible = true;
}
Symbol 564 MovieClip Frame 1
stop();
Symbol 569 Button
on (press) {
_root.GotoDownload();
}
Symbol 579 MovieClip Frame 1
if (_root.alawar_f != undefined) {
dload._visible = false;
OMnu_Btn._y = OMnu_Btn._y - 30;
OHlp_Btn._y = OHlp_Btn._y - 20;
}
Symbol 583 Button
on (press) {
_root.Restart_F = true;
_root.gotoAndStop(_root.ffo + 2);
}
Symbol 595 Button
on (press) {
_root.NextLevel();
}
Instance of Symbol 597 MovieClip in Symbol 622 MovieClip Frame 1
/* no clip actions */