Frame 3
ifFrameLoaded (226) {
gotoAndPlay (5);
}
Frame 4
gotoAndPlay (2);
Frame 5
fscommand ("allowscale", "false");
Frame 6
setProperty("/hintmov", _visible , "0");
setProperty("/jewel", _visible , "0");
setProperty("/jewelpic", _visible , "0");
setProperty("/vline", _visible , "0");
setProperty("/hline", _visible , "0");
tellTarget ("/lvlupmov") {
gotoAndStop (1);
};
setProperty("/lvlupmov", _visible , "0");
setProperty("/boxa", _visible , "0");
tellTarget ("/hintmov") {
gotoAndStop (1);
};
setProperty("/hintmov", _visible , "0");
setProperty("/hline", _visible , "0");
setProperty("/vline", _visible , "0");
setProperty("/box1", _visible , "0");
setProperty("/box2", _visible , "0");
tellTarget ("/addpointsmov") {
gotoAndStop (1);
};
setProperty("/addpointsmov", _visible , "0");
if (hsnamer <> "") {
name = hsnamer;
gotoAndPlay (9);
}
Frame 9
setProperty("/scoreboard", _visible , "0");
setProperty("bonuslevel", _visible , "0");
duplicateMovieClip ("/scoreboard", "sb", 10020);
jewelsinplay = "4";
call("buildboard");
duplicateMovieClip ("/boxa", "box1", 2000);
duplicateMovieClip ("/boxa", "box2", 2001);
moveispossible = "1";
score = "0";
level = "1";
scorebuffer = "0";
progress = "0";
tellTarget ("/progbar") {
gotoAndStop (1);
};
setProperty("/boxa", _visible , "0");
setProperty("/box1", _visible , "0");
setProperty("/box2", _visible , "0");
Frame 13
inarow = "0";
call("movepossible");
if (moveispossible == "0") {
disableclick = "1";
gotoAndPlay (16);
}
if (click <> "0") {
if (click1 == "0") {
disableclick = "1";
click1y = substring(click, "1", "1");
click1x = substring(click, "2", "1");
call("movebox1");
click1 = "1";
click = "0";
disableclick = "0";
playmovesound = "1";
} else {
disableclick = "1";
click2y = substring(click, "1", "1");
click2x = substring(click, "2", "1");
call("movebox2");
click2 = "1";
if ((click1x == click2x) and (click1y == click2y)) {
call("resetclicks");
} else if (((click1x == click2x) and ((click1y == (click2y - "1")) or (click1y == (click2y + "1")))) or ((click1y == click2y) and ((click1x == (click2x - "1")) or (click1x == (click2x + "1"))))) {
gotoAndPlay (163);
} else {
playmovesound = "1";
output = output add "[not adjacent] ";
call("resetclicks");
click1y = substring(click, "1", "1");
click1x = substring(click, "2", "1");
call("movebox1");
click1 = "1";
}
click = "0";
disableclick = "0";
}
}
if (playbadsound == "1") {
playbadsound = "0";
gotoAndPlay (67);
}
Frame 14
call("score");
if (levelup == "1") {
levelup = "0";
duplicateMovieClip ("/lvlupmov", "lvlupmov1", 4800);
call("resetclicks");
disableclick = "1";
call("buildboard");
setProperty("/box1", _visible , "0");
setProperty("/box2", _visible , "0");
call("resetclicks");
}
if (playmovesound == "1") {
playmovesound = "0";
gotoAndPlay (64);
}
if (playlevelsound == "1") {
playlevelsound = "0";
gotoAndPlay (78);
}
if ("1" < inarow) {
inarow = "0";
gotoAndPlay (96);
}
gotoAndPlay (13);
Frame 16
moveispossible = "1";
Frame 54
gotoAndPlay (56);
Frame 57
call("score");
if (scoretobeat < (/sb:score + scorebuffer)) {
Set("/sb:score", /sb:score + scorebuffer);
scorebuffer = "0";
gotoAndPlay (220);
} else {
gotoAndPlay (56);
}
Frame 65
gotoAndPlay (13);
Frame 68
gotoAndPlay (14);
Frame 79
gotoAndPlay (13);
Frame 97
scoresub = "25" * level;
scorebuffer = scorebuffer + scoresub;
scoremov = scoremov + "1";
if ("100" < scoremov) {
scoremov = "1";
}
duplicateMovieClip ("/addpointsmov", "addpointsmov" add scoremov, "8700" + scoremov);
Set(("/addpointsmov" add scoremov) add "/pointrise:pointval", "+" add scoresub);
gotoAndPlay (13);
Frame 113
xoffset = "-24";
yoffset = "-22";
numx = "8";
numy = "8";
curx = "1";
cury = "1";
jewelnum = "1";
while (numy >= cury) {
while (numx >= curx) {
Set(("jewelframe" add cury) add curx, int(random(jewelsinplay)) + "1");
duplicateMovieClip ("jewel", ("jewel" add cury) add curx, "1000" + jewelnum);
Set((("jewel" add cury) add curx) add ":jewelno", eval (("jewelframe" add cury) add curx));
Set((("jewel" add cury) add curx) add ":jewelxy", cury add curx);
Set((("jewel" add cury) add curx) add ":stop", "1");
tellTarget (("jewel" add cury) add curx) {
gotoAndPlay(jewelno * "10");
};
setProperty(("jewel" add cury) add curx, _x , xoffset + (curx * "50"));
setProperty(("jewel" add cury) add curx, _y , yoffset + (cury * "50"));
curx = curx + "1";
jewelnum = jewelnum + "1";
}
cury = cury + "1";
curx = "1";
}
curx = "1";
while ((numx + "1") >= curx) {
duplicateMovieClip ("/vline", "vline" add curx, "100" + curx);
setProperty("vline" add curx, _x , ("2" + (curx * "50")) - "50");
curx = curx + "1";
}
cury = "1";
while ((numy + "1") >= cury) {
duplicateMovieClip ("/hline", "hline" add cury, "200" + cury);
setProperty("hline" add cury, _y , ("45" + (cury * "50")) - "93");
cury = cury + "1";
}
Frame 122
curx = "1";
cury = "1";
nummatches = "0";
while (numy >= cury) {
while (numx >= curx) {
chkretval = "0";
if (eval (("jewelframe" add cury) add curx) == eval (("jewelframe" add cury) add (curx + "1"))) {
if (eval (("jewelframe" add cury) add curx) == eval (("jewelframe" add cury) add (curx + "2"))) {
if (eval (("jewelframe" add cury) add curx) == eval (("jewelframe" add cury) add (curx + "3"))) {
if (eval (("jewelframe" add cury) add curx) == eval (("jewelframe" add cury) add (curx + "4"))) {
if (eval (("jewelframe" add cury) add curx) == eval (("jewelframe" add cury) add (curx + "5"))) {
chkretval = "6";
} else {
chkretval = "5";
}
} else {
chkretval = "4";
}
} else {
chkretval = "3";
}
}
}
if ("0" < chkretval) {
output = ((((((((output add "x=") add curx) add " y=") add cury) add " dir=x len=") add chkretval) add " curj=") add eval (("jewelframe" add cury) add curx)) add "\r";
nummatches = nummatches + "1";
Set(("match" add nummatches) add "x", curx);
Set(("match" add nummatches) add "y", cury);
Set(("match" add nummatches) add "dir", "x");
Set(("match" add nummatches) add "len", chkretval);
}
chkretval = "0";
if (eval (("jewelframe" add cury) add curx) == eval (("jewelframe" add (cury + "1")) add curx)) {
if (eval (("jewelframe" add cury) add curx) == eval (("jewelframe" add (cury + "2")) add curx)) {
if (eval (("jewelframe" add cury) add curx) == eval (("jewelframe" add (cury + "3")) add curx)) {
if (eval (("jewelframe" add cury) add curx) == eval (("jewelframe" add (cury + "4")) add curx)) {
if (eval (("jewelframe" add cury) add curx) == eval (("jewelframe" add (cury + "5")) add curx)) {
chkretval = "6";
} else {
chkretval = "5";
}
} else {
chkretval = "4";
}
} else {
chkretval = "3";
}
}
}
if ("0" < chkretval) {
output = ((((((((output add "x=") add curx) add " y=") add cury) add " dir=y len=") add chkretval) add " curj=") add eval (("jewelframe" add cury) add curx)) add "\r";
nummatches = nummatches + "1";
Set(("match" add nummatches) add "x", curx);
Set(("match" add nummatches) add "y", cury);
Set(("match" add nummatches) add "dir", "y");
Set(("match" add nummatches) add "len", chkretval);
}
curx = curx + "1";
}
cury = cury + "1";
curx = "1";
}
Frame 132
output = "";
cursx = "1";
cursy = "1";
jewelnum = "1";
while (numy >= cursy) {
while (numx >= cursx) {
output = (output add eval (("jewelframe" add cursy) add cursx)) add ",";
cursx = cursx + "1";
}
output = output add "\r";
cursy = cursy + "1";
cursx = "1";
}
Frame 139
setProperty("/box1", _x , xoffset + (click1x * "50"));
setProperty("/box1", _y , yoffset + (click1y * "50"));
setProperty("/box1", _visible , "1");
Frame 147
setProperty("/box2", _x , xoffset + (click2x * "50"));
setProperty("/box2", _y , yoffset + (click2y * "50"));
setProperty("/box2", _visible , "1");
Frame 155
setProperty("/box1", _visible , "0");
setProperty("/box2", _visible , "0");
click1 = "0";
click2 = "0";
disableclick = "0";
Frame 163
jewelframeclick1 = eval (("jewelframe" add click1y) add click1x);
jewelframeclick2 = eval (("jewelframe" add click2y) add click2x);
Set(("jewelframe" add click1y) add click1x, jewelframeclick2);
Set(("jewelframe" add click2y) add click2x, jewelframeclick1);
Set((("jewel" add click1y) add click1x) add ":jewelno", jewelframeclick2);
Set((("jewel" add click2y) add click2x) add ":jewelno", jewelframeclick1);
tellTarget (("jewel" add click1y) add click1x) {
gotoAndStop(..:jewelframeclick2);
};
tellTarget (("jewel" add click2y) add click2x) {
gotoAndStop(..:jewelframeclick1);
};
Frame 164
call("chkmatches");
if ("0" < nummatches) {
setProperty("/box1", _visible , "0");
setProperty("/box2", _visible , "0");
gotoAndPlay (170);
} else {
playbadsound = "1";
Set(("jewelframe" add click1y) add click1x, jewelframeclick1);
Set(("jewelframe" add click2y) add click2x, jewelframeclick2);
Set((("jewel" add click1y) add click1x) add ":jewelno", jewelframeclick1);
Set((("jewel" add click2y) add click2x) add ":jewelno", jewelframeclick2);
tellTarget (("jewel" add click1y) add click1x) {
gotoAndStop(..:jewelframeclick1);
};
output = ((output add "[") add jewelframeclick2) add "] ";
tellTarget (("jewel" add click2y) add click2x) {
gotoAndStop(..:jewelframeclick2);
};
}
Frame 165
call("resetclicks");
gotoAndPlay (14);
Frame 170
removematches = nummatches;
mpieces = "0";
while ("0" < removematches) {
if (eval (("match" add removematches) add "dir") eq "y") {
mpiecex = eval (("match" add removematches) add "x");
mpiececur = eval (("match" add removematches) add "y");
testron = eval (("match" add removematches) add "y") + eval (("match" add removematches) add "len");
while (mpiececur < testron) {
mpiecestmp = mpieces;
foundmatch = "0";
while ("0" < mpiecestmp) {
if (eval ("mpieceno" add mpiecestmp) == (mpiececur add mpiecex)) {
foundmatch = "1";
}
mpiecestmp = mpiecestmp - "1";
}
if (foundmatch == "0") {
mpieces = mpieces + "1";
Set("mpieceno" add mpieces, mpiececur add mpiecex);
}
mpiececur = mpiececur + "1";
}
} else {
mpiecey = eval (("match" add removematches) add "y");
mpiececurx = eval (("match" add removematches) add "x");
testron = eval (("match" add removematches) add "x") + eval (("match" add removematches) add "len");
while (mpiececurx < testron) {
mpiecestmp = mpieces;
foundmatch = "0";
while ("0" < mpiecestmp) {
if (eval ("mpieceno" add mpiecestmp) == (mpiecey add mpiececurx)) {
foundmatch = "1";
}
mpiecestmp = mpiecestmp - "1";
}
if (foundmatch == "0") {
mpieces = mpieces + "1";
Set("mpieceno" add mpieces, mpiecey add mpiececurx);
}
mpiececurx = mpiececurx + "1";
}
}
removematches = removematches - "1";
}
max2 = mpieces;
while ("1" < max2) {
max1 = mpieces;
while ("1" < max1) {
if (eval ("mpieceno" add (max1 - "1")) < eval ("mpieceno" add max1)) {
ronpieceno = eval ("mpieceno" add (max1 - "1"));
Set("mpieceno" add (max1 - "1"), eval ("mpieceno" add max1));
Set("mpieceno" add max1, ronpieceno);
}
max1 = max1 - "1";
}
max2 = max2 - "1";
}
if ("8" < mpieces) {
playinarowsound = "1";
}
totalpieces = mpieces;
while ("0" < totalpieces) {
curxy = eval ("mpieceno" add totalpieces);
Set(("jewelpic" add totalpieces) add "xstep", ((xoffset + (int(substring(curxy, "2", "1")) * "50")) - "450") / "8");
Set(("jewelpic" add totalpieces) add "ystep", ((yoffset + (int(substring(curxy, "1", "1")) * "50")) - "305") / "8");
setProperty("jewel" add curxy, _visible , "0");
duplicateMovieClip ("/jewelpic", "jewelpicture" add totalpieces, "3000" + totalpieces);
Set(("jewelpicture" add totalpieces) add ":jewelno", eval ("jewelframe" add curxy));
tellTarget ("jewelpicture" add totalpieces) {
gotoAndStop(jewelno);
};
setProperty("jewelpicture" add totalpieces, _x , xoffset + (int(substring(curxy, "2", "1")) * "50"));
setProperty("jewelpicture" add totalpieces, _y , yoffset + (int(substring(curxy, "1", "1")) * "50"));
Set("jewelframe" add curxy, "0");
totalpieces = totalpieces - "1";
}
stepno = "0";
fillgapnum = "9";
if (playinarowsound == "1") {
playinarowsound = "0";
gotoAndPlay (191);
}
Frame 173
call("score");
if ("0" < stepno) {
curx = "8";
cury = "8";
while ("1" < cury) {
while ("0" < curx) {
if (eval (("jewelframe" add cury) add curx) == "0") {
Set(("jewelframe" add cury) add curx, eval (("jewelframe" add (cury - "1")) add curx));
Set((("jewel" add cury) add curx) add ":jewelno", eval (("jewelframe" add cury) add curx));
if (eval ((("jewel" add cury) add curx) add ":jewelno") == "0") {
setProperty(("jewel" add cury) add curx, _visible , "0");
} else {
setProperty(("jewel" add cury) add curx, _visible , "1");
tellTarget (("jewel" add cury) add curx) {
gotoAndStop(jewelno);
};
if ("0" < eval ((("jewel" add (cury + "1")) add curx) add ":jewelno")) {
if (playclickonetime == "0") {
playclickonetime = "1";
playclicksound = "1";
}
}
}
Set(("jewelframe" add (cury - "1")) add curx, "0");
Set((("jewel" add (cury - "1")) add curx) add ":jewelno", eval (("jewelframe" add (cury - "1")) add curx));
if (eval ((("jewel" add (cury - "1")) add curx) add ":jewelno") == "0") {
setProperty(("jewel" add (cury - "1")) add curx, _visible , "0");
} else {
setProperty(("jewel" add (cury - "1")) add curx, _visible , "1");
tellTarget (("jewel" add (cury - "1")) add curx) {
gotoAndStop(jewelno);
};
}
}
curx = curx - "1";
}
cury = cury - "1";
curx = "8";
}
}
stepno = stepno + "1";
totalpieces = mpieces;
while ("0" < totalpieces) {
setProperty("jewelpicture" add totalpieces, _x , getProperty("jewelpicture" add totalpieces, _x) - eval (("jewelpic" add totalpieces) add "xstep"));
setProperty("jewelpicture" add totalpieces, _y , getProperty("jewelpicture" add totalpieces, _y) - eval (("jewelpic" add totalpieces) add "ystep"));
setProperty("jewelpicture" add totalpieces, _xscale , "100" - (stepno * "10"));
setProperty("jewelpicture" add totalpieces, _yscale , "100" - (stepno * "10"));
totalpieces = totalpieces - "1";
}
if (stepno == "8") {
totalpieces = mpieces;
scoresub = "0";
while ("0" < totalpieces) {
setProperty("jewelpicture" add totalpieces, _visible , "0");
scoresub = scoresub + "5";
progress = progress + "1";
totalpieces = totalpieces - "1";
}
scorebuffer = scorebuffer + scoresub;
scoremov = scoremov + "1";
if ("100" < scoremov) {
scoremov = "1";
}
duplicateMovieClip ("/addpointsmov", "addpointsmov" add scoremov, "8700" + scoremov);
Set(("/addpointsmov" add scoremov) add "/pointrise:pointval", "+" add scoresub);
gotoAndPlay (173);
}
if (playclicksound == "1") {
playclicksound = "0";
gotoAndPlay (185);
}
Frame 174
fillgapnum = fillgapnum - "1";
if ("0" < fillgapnum) {
gotoAndPlay (173);
} else {
fillnewnum = "8";
gotoAndPlay (175);
}
Frame 175
call("score");
curx = "8";
cury = "8";
while ("0" < cury) {
fillzero = "8";
while ("0" < fillzero) {
Set("jewelframe0" add fillzero, int(random(jewelsinplay)) + "1");
fillzero = fillzero - "1";
}
while ("0" < curx) {
if (eval (("jewelframe" add cury) add curx) == "0") {
Set(("jewelframe" add cury) add curx, eval (("jewelframe" add (cury - "1")) add curx));
Set((("jewel" add cury) add curx) add ":jewelno", eval (("jewelframe" add cury) add curx));
if (eval ((("jewel" add cury) add curx) add ":jewelno") == "0") {
setProperty(("jewel" add cury) add curx, _visible , "0");
} else {
setProperty(("jewel" add cury) add curx, _visible , "1");
tellTarget (("jewel" add cury) add curx) {
gotoAndStop(jewelno);
};
if ("0" < eval ((("jewel" add (cury + "1")) add curx) add ":jewelno")) {
if (playonce == "0") {
playonce = "1";
playclicksoundtwo = "1";
}
}
}
if ("1" < cury) {
Set(("jewelframe" add (cury - "1")) add curx, "0");
Set((("jewel" add (cury - "1")) add curx) add ":jewelno", eval (("jewelframe" add (cury - "1")) add curx));
if (eval ((("jewel" add (cury - "1")) add curx) add ":jewelno") == "0") {
setProperty(("jewel" add (cury - "1")) add curx, _visible , "0");
} else {
setProperty(("jewel" add (cury - "1")) add curx, _visible , "1");
tellTarget (("jewel" add (cury - "1")) add curx) {
gotoAndStop(jewelno);
};
}
}
}
curx = curx - "1";
}
cury = cury - "1";
curx = "8";
}
fillzero = "8";
while ("0" < fillzero) {
Set("jewelframe0" add fillzero, "0");
fillzero = fillzero - "1";
}
if (playclicksoundtwo == "1") {
playclicksoundtwo = "0";
gotoAndPlay (188);
}
Frame 176
fillnewnum = fillnewnum - "1";
if ("0" < fillnewnum) {
gotoAndPlay (175);
} else {
playonce = "0";
playclickonetime = "0";
call("chkmatches");
if ("0" < nummatches) {
inarow = inarow + "1";
if ("1" < inarow) {
inarow = "0";
playinarowsound = "1";
}
gotoAndPlay (170);
} else {
call("resetclicks");
gotoAndPlay (14);
}
}
Frame 179
if ("0" < scorebuffer) {
Set("/sb:score", /sb:score + "5");
scorebuffer = scorebuffer - "5";
}
if ("100" < progress) {
level = level + "1";
progress = progress - "100";
levelup = "1";
playlevelsound = "1";
if (level == "3") {
jewelsinplay = "5";
}
if (level == "5") {
jewelsinplay = "6";
}
if ("7" < level) {
if ((level / "5") == int(level / "5")) {
jewelsinplay = "3";
setProperty("bonuslevel", _visible , "1");
} else {
jewelsinplay = "7";
setProperty("bonuslevel", _visible , "0");
}
}
}
if (progress == "0") {
tellTarget ("/progbar") {
gotoAndStop (1);
};
} else {
tellTarget ("/progbar") {
gotoAndStop(..:progress);
};
}
Frame 186
gotoAndPlay (174);
Frame 189
gotoAndPlay (176);
Frame 192
scoresub = "25" * level;
scorebuffer = scorebuffer + scoresub;
scoremov = scoremov + "1";
if ("100" < scoremov) {
scoremov = "1";
}
duplicateMovieClip ("/addpointsmov", "addpointsmov" add scoremov, "8700" + scoremov);
Set(("/addpointsmov" add scoremov) add "/pointrise:pointval", "+" add scoresub);
gotoAndPlay (171);
Frame 208
moveispossible = "0";
curx = "1";
cury = "1";
hintx = "0";
hinty = "0";
while (cury < "9") {
while (curx < "8") {
compbase = eval (("jewelframe" add cury) add curx);
if (compbase == eval (("jewelframe" add cury) add (curx + "1"))) {
if ((((((compbase == eval (("jewelframe" add (cury - "1")) add (curx - "1"))) or (compbase == eval (("jewelframe" add (cury + "1")) add (curx - "1")))) or (compbase == eval (("jewelframe" add cury) add (curx - "2")))) or (compbase == eval (("jewelframe" add (cury - "1")) add (curx + "2")))) or (compbase == eval (("jewelframe" add (cury + "1")) add (curx + "2")))) or (compbase == eval (("jewelframe" add cury) add (curx + "3")))) {
hintx = curx;
hinty = cury;
moveispossible = "1";
curx = "7";
cury = "8";
}
}
curx = curx + "1";
}
cury = cury + "1";
curx = "1";
}
if (moveispossible == "0") {
cury = "1";
curx = "1";
while (curx < "9") {
while (cury < "8") {
compbase = eval (("jewelframe" add cury) add curx);
if (compbase == eval (("jewelframe" add (cury + "1")) add curx)) {
if ((((((compbase == eval (("jewelframe" add (cury - "1")) add (curx - "1"))) or (compbase == eval (("jewelframe" add (cury - "1")) add (curx + "1")))) or (compbase == eval (("jewelframe" add (cury - "2")) add curx))) or (compbase == eval (("jewelframe" add (cury + "2")) add (curx - "1")))) or (compbase == eval (("jewelframe" add (cury + "2")) add (curx + "1")))) or (compbase == eval (("jewelframe" add (cury + "3")) add curx))) {
hintx = curx;
hinty = cury;
moveispossible = "1";
cury = "7";
curx = "8";
}
}
cury = cury + "1";
}
curx = curx + "1";
cury = "1";
}
}
if (moveispossible == "0") {
cury = "1";
curx = "1";
while (cury < "9") {
while (curx < "7") {
compbase = eval (("jewelframe" add cury) add curx);
if (compbase == eval (("jewelframe" add cury) add (curx + "2"))) {
if ((compbase == eval (("jewelframe" add (cury - "1")) add (curx + "1"))) or (compbase == eval (("jewelframe" add (cury + "1")) add (curx + "1")))) {
hintx = curx;
hinty = cury;
moveispossible = "1";
cury = "8";
curx = "6";
}
}
curx = curx + "1";
}
cury = cury + "1";
curx = "1";
}
}
if (moveispossible == "0") {
cury = "1";
curx = "1";
while (curx < "9") {
while (cury < "7") {
compbase = eval (("jewelframe" add cury) add curx);
if (compbase == eval (("jewelframe" add (cury + "2")) add curx)) {
if ((compbase == eval (("jewelframe" add (cury + "1")) add (curx - "1"))) or (compbase == eval (("jewelframe" add (cury + "1")) add (curx + "1")))) {
hintx = curx;
hinty = cury;
moveispossible = "1";
cury = "6";
curx = "8";
}
}
cury = cury + "1";
}
curx = curx + "1";
cury = "1";
}
}
Frame 220
setProperty("/hsmovie", _visible , "0");
duplicateMovieClip ("/hsmovie", hsmovie add "1", 10000);
Frame 225
gotoAndStop (224);
Symbol 8 Button
on (rollOver) {
if (..:disableclick == "0") {
stop = "0";
gotoAndPlay(jewelno * "10");
}
}
on (rollOut, dragOut) {
if (..:disableclick == "0") {
stop = "1";
}
}
on (release) {
if (..:disableclick == "0") {
Set("..:click", jewelxy);
}
}
Symbol 147 MovieClip Frame 10
if (jewelno <> "1") {
stop = "1";
gotoAndStop(jewelno);
}
Symbol 147 MovieClip Frame 11
if (jewelno <> "1") {
stop = "1";
gotoAndStop(jewelno);
}
Symbol 147 MovieClip Frame 12
if (jewelno <> "1") {
stop = "1";
gotoAndStop(jewelno);
}
Symbol 147 MovieClip Frame 13
if (jewelno <> "1") {
stop = "1";
gotoAndStop(jewelno);
}
Symbol 147 MovieClip Frame 14
if (jewelno <> "1") {
stop = "1";
gotoAndStop(jewelno);
}
Symbol 147 MovieClip Frame 15
if (jewelno <> "1") {
stop = "1";
gotoAndStop(jewelno);
}
Symbol 147 MovieClip Frame 16
if (jewelno <> "1") {
stop = "1";
gotoAndStop(jewelno);
}
Symbol 147 MovieClip Frame 17
if (jewelno <> "1") {
stop = "1";
gotoAndStop(jewelno);
}
Symbol 147 MovieClip Frame 18
if (jewelno <> "1") {
stop = "1";
gotoAndStop(jewelno);
}
Symbol 147 MovieClip Frame 19
if (jewelno <> "1") {
stop = "1";
gotoAndStop(jewelno);
}
if (stop == "1") {
gotoAndStop(jewelno);
} else {
gotoAndPlay (10);
}
Symbol 147 MovieClip Frame 20
if (jewelno <> "2") {
stop = "1";
gotoAndStop(jewelno);
}
Symbol 147 MovieClip Frame 21
if (jewelno <> "2") {
stop = "1";
gotoAndStop(jewelno);
}
Symbol 147 MovieClip Frame 22
if (jewelno <> "2") {
stop = "1";
gotoAndStop(jewelno);
}
Symbol 147 MovieClip Frame 23
if (jewelno <> "2") {
stop = "1";
gotoAndStop(jewelno);
}
Symbol 147 MovieClip Frame 24
if (jewelno <> "2") {
stop = "1";
gotoAndStop(jewelno);
}
Symbol 147 MovieClip Frame 25
if (jewelno <> "2") {
stop = "1";
gotoAndStop(jewelno);
}
Symbol 147 MovieClip Frame 26
if (jewelno <> "2") {
stop = "1";
gotoAndStop(jewelno);
}
Symbol 147 MovieClip Frame 27
if (jewelno <> "2") {
stop = "1";
gotoAndStop(jewelno);
}
Symbol 147 MovieClip Frame 28
if (jewelno <> "2") {
stop = "1";
gotoAndStop(jewelno);
}
Symbol 147 MovieClip Frame 29
if (jewelno <> "2") {
stop = "1";
gotoAndStop(jewelno);
}
if (stop == "1") {
gotoAndStop(jewelno);
} else {
gotoAndPlay (20);
}
Symbol 147 MovieClip Frame 30
if (jewelno <> "3") {
stop = "1";
gotoAndStop(jewelno);
}
Symbol 147 MovieClip Frame 31
if (jewelno <> "3") {
stop = "1";
gotoAndStop(jewelno);
}
Symbol 147 MovieClip Frame 32
if (jewelno <> "3") {
stop = "1";
gotoAndStop(jewelno);
}
Symbol 147 MovieClip Frame 33
if (jewelno <> "3") {
stop = "1";
gotoAndStop(jewelno);
}
Symbol 147 MovieClip Frame 34
if (jewelno <> "3") {
stop = "1";
gotoAndStop(jewelno);
}
Symbol 147 MovieClip Frame 35
if (jewelno <> "3") {
stop = "1";
gotoAndStop(jewelno);
}
Symbol 147 MovieClip Frame 36
if (jewelno <> "3") {
stop = "1";
gotoAndStop(jewelno);
}
Symbol 147 MovieClip Frame 37
if (jewelno <> "3") {
stop = "1";
gotoAndStop(jewelno);
}
Symbol 147 MovieClip Frame 38
if (jewelno <> "3") {
stop = "1";
gotoAndStop(jewelno);
}
Symbol 147 MovieClip Frame 39
if (jewelno <> "3") {
stop = "1";
gotoAndStop(jewelno);
}
if (stop == "1") {
gotoAndStop(jewelno);
} else {
gotoAndPlay (30);
}
Symbol 147 MovieClip Frame 40
if (jewelno <> "4") {
stop = "1";
gotoAndStop(jewelno);
}
Symbol 147 MovieClip Frame 41
if (jewelno <> "4") {
stop = "1";
gotoAndStop(jewelno);
}
Symbol 147 MovieClip Frame 42
if (jewelno <> "4") {
stop = "1";
gotoAndStop(jewelno);
}
Symbol 147 MovieClip Frame 43
if (jewelno <> "4") {
stop = "1";
gotoAndStop(jewelno);
}
Symbol 147 MovieClip Frame 44
if (jewelno <> "4") {
stop = "1";
gotoAndStop(jewelno);
}
Symbol 147 MovieClip Frame 45
if (jewelno <> "4") {
stop = "1";
gotoAndStop(jewelno);
}
Symbol 147 MovieClip Frame 46
if (jewelno <> "4") {
stop = "1";
gotoAndStop(jewelno);
}
Symbol 147 MovieClip Frame 47
if (jewelno <> "4") {
stop = "1";
gotoAndStop(jewelno);
}
Symbol 147 MovieClip Frame 48
if (jewelno <> "4") {
stop = "1";
gotoAndStop(jewelno);
}
Symbol 147 MovieClip Frame 49
if (jewelno <> "4") {
stop = "1";
gotoAndStop(jewelno);
}
if (stop == "1") {
gotoAndStop(jewelno);
} else {
gotoAndPlay (40);
}
Symbol 147 MovieClip Frame 50
if (jewelno <> "5") {
stop = "1";
gotoAndStop(jewelno);
}
Symbol 147 MovieClip Frame 51
if (jewelno <> "5") {
stop = "1";
gotoAndStop(jewelno);
}
Symbol 147 MovieClip Frame 52
if (jewelno <> "5") {
stop = "1";
gotoAndStop(jewelno);
}
Symbol 147 MovieClip Frame 53
if (jewelno <> "5") {
stop = "1";
gotoAndStop(jewelno);
}
Symbol 147 MovieClip Frame 54
if (jewelno <> "5") {
stop = "1";
gotoAndStop(jewelno);
}
Symbol 147 MovieClip Frame 55
if (jewelno <> "5") {
stop = "1";
gotoAndStop(jewelno);
}
Symbol 147 MovieClip Frame 56
if (jewelno <> "5") {
stop = "1";
gotoAndStop(jewelno);
}
Symbol 147 MovieClip Frame 57
if (jewelno <> "5") {
stop = "1";
gotoAndStop(jewelno);
}
Symbol 147 MovieClip Frame 58
if (jewelno <> "5") {
stop = "1";
gotoAndStop(jewelno);
}
Symbol 147 MovieClip Frame 59
if (jewelno <> "5") {
stop = "1";
gotoAndStop(jewelno);
}
if (stop == "1") {
gotoAndStop(jewelno);
} else {
gotoAndPlay (50);
}
Symbol 147 MovieClip Frame 60
if (jewelno <> "6") {
stop = "1";
gotoAndStop(jewelno);
}
Symbol 147 MovieClip Frame 61
if (jewelno <> "6") {
stop = "1";
gotoAndStop(jewelno);
}
Symbol 147 MovieClip Frame 62
if (jewelno <> "6") {
stop = "1";
gotoAndStop(jewelno);
}
Symbol 147 MovieClip Frame 63
if (jewelno <> "6") {
stop = "1";
gotoAndStop(jewelno);
}
Symbol 147 MovieClip Frame 64
if (jewelno <> "6") {
stop = "1";
gotoAndStop(jewelno);
}
Symbol 147 MovieClip Frame 65
if (jewelno <> "6") {
stop = "1";
gotoAndStop(jewelno);
}
Symbol 147 MovieClip Frame 66
if (jewelno <> "6") {
stop = "1";
gotoAndStop(jewelno);
}
Symbol 147 MovieClip Frame 67
if (jewelno <> "6") {
stop = "1";
gotoAndStop(jewelno);
}
Symbol 147 MovieClip Frame 68
if (jewelno <> "6") {
stop = "1";
gotoAndStop(jewelno);
}
Symbol 147 MovieClip Frame 69
if (jewelno <> "6") {
stop = "1";
gotoAndStop(jewelno);
}
if (stop == "1") {
gotoAndStop(jewelno);
} else {
gotoAndPlay (60);
}
Symbol 147 MovieClip Frame 70
if (jewelno <> "7") {
stop = "1";
gotoAndStop(jewelno);
}
Symbol 147 MovieClip Frame 71
if (jewelno <> "7") {
stop = "1";
gotoAndStop(jewelno);
}
Symbol 147 MovieClip Frame 72
if (jewelno <> "7") {
stop = "1";
gotoAndStop(jewelno);
}
Symbol 147 MovieClip Frame 73
if (jewelno <> "7") {
stop = "1";
gotoAndStop(jewelno);
}
Symbol 147 MovieClip Frame 74
if (jewelno <> "7") {
stop = "1";
gotoAndStop(jewelno);
}
Symbol 147 MovieClip Frame 75
if (jewelno <> "7") {
stop = "1";
gotoAndStop(jewelno);
}
Symbol 147 MovieClip Frame 76
if (jewelno <> "7") {
stop = "1";
gotoAndStop(jewelno);
}
Symbol 147 MovieClip Frame 77
if (jewelno <> "7") {
stop = "1";
gotoAndStop(jewelno);
}
Symbol 147 MovieClip Frame 78
if (jewelno <> "7") {
stop = "1";
gotoAndStop(jewelno);
}
Symbol 147 MovieClip Frame 79
if (jewelno <> "7") {
stop = "1";
gotoAndStop(jewelno);
}
if (stop == "1") {
gotoAndStop(jewelno);
} else {
gotoAndPlay (70);
}
Symbol 148 MovieClip Frame 1
stop();
Symbol 148 MovieClip Frame 2
stop();
Symbol 148 MovieClip Frame 3
stop();
Symbol 148 MovieClip Frame 4
stop();
Symbol 148 MovieClip Frame 5
stop();
Symbol 148 MovieClip Frame 6
stop();
Symbol 148 MovieClip Frame 7
stop();
Symbol 158 MovieClip Frame 1
stop();
Symbol 159 MovieClip Frame 26
removeMovieClip("");
Symbol 162 MovieClip Frame 30
removeMovieClip("");
Symbol 168 MovieClip Frame 80
removeMovieClip("");
Symbol 175 Button
on (release) {
if (moveispossible == "1") {
duplicateMovieClip ("/hintmov", "hintmov1", 4135);
setProperty("hintmov1", _x , xoffset + (hintx * "50"));
setProperty("hintmov1", _y , yoffset + (hinty * "50"));
}
}
Symbol 177 Button
on (release) {
if (scoretobeat < (score + scorebuffer)) {
Set("/sb:score", /sb:score + scorebuffer);
scorebuffer = "0";
gotoAndPlay (220);
} else {
call("resetclicks");
gotoAndPlay (9);
}
}
Symbol 182 Button
on (press) {
getURL ("http://www.thepcmanwebsite.com/", "_top");
}
Symbol 183 Button
on (press) {
getURL ("http://www.thepcmanwebsite.com/", "_top");
}
Symbol 186 Button
on (press) {
getURL ("http://www.thepcmanwebsite.com/", "_top");
}
Symbol 197 Button
on (release) {
fscommand ("nameme", name);
fscommand ("scoreme", /sb:score);
fscommand ("levelme", ..:level);
fscommand ("submitme", "0");
gotoAndPlay (5);
}