Frame 1
ifFrameLoaded (5) {
gotoAndPlay (3);
}
Frame 2
gotoAndPlay (1);
Frame 3
stop();
Frame 4
function build() {
stop = "";
setProperty("scores", _visible , 0);
i = 1;
while (5 >= i) {
iii = 1;
while (5 >= iii) {
ii = 1;
while (Number_Of_Types >= ii) {
b = "block" + ii;
if (("block" + ii) != type) {
setProperty(_root[("block" + i) + iii]["block" + ii], _visible , 0);
} else {
setProperty(_root[("block" + i) + iii]["block" + ii], _visible , 1);
}
ii = Number(ii) + 1;
}
iii = Number(iii) + 1;
}
i = Number(i) + 1;
}
}
function win() {
if (stop != "yes") {
count = 0;
i = 1;
while (5 >= i) {
iii = 1;
while (5 >= iii) {
if (_root[("block" + i) + iii][type]._currentframe == 4) {
count = Number(count) + 1;
}
iii = Number(iii) + 1;
}
i = Number(i) + 1;
}
if (count >= winner) {
nobutton();
my_score = timer.timer;
stop = "yes";
setProperty("scores", _visible , 1);
scores.gotoAndPlay(11);
}
}
}
function nobutton() {
i = 1;
while (5 >= i) {
iii = 1;
while (5 >= iii) {
_root[("block" + i) + iii].gotoAndStop(2);
iii = Number(iii) + 1;
}
i = Number(i) + 1;
}
}
build();
Instance of Symbol 106 MovieClip in Frame 4
onClipEvent (enterFrame) {
_root.win();
}
Instance of Symbol 115 MovieClip "timer" in Frame 4
onClipEvent (load) {
function renew() {
time = new Date();
master = time.gettime();
}
renew();
}
onClipEvent (enterFrame) {
if (_root.stop != "yes") {
time = new Date();
timer = int((time.getTime() - master) / 1000);
}
}
Instance of Symbol 171 MovieClip "scores" in Frame 4
onClipEvent (load) {
_visible = "0";
}
Frame 5
gotoAndStop (4);
Frame 6
stop();
Frame 9
scores.gotoAndPlay(10);
stop();
Symbol 21 Button
on (release) {
gotoAndStop (4);
}
Symbol 69 MovieClip Frame 1
stop();
Symbol 69 MovieClip Frame 4
stop();
Symbol 69 MovieClip Frame 7
gotoAndStop (1);
Symbol 75 MovieClip Frame 1
stop();
Symbol 75 MovieClip Frame 4
stop();
Symbol 75 MovieClip Frame 7
gotoAndStop (1);
Symbol 82 MovieClip Frame 1
stop();
Symbol 82 MovieClip Frame 4
stop();
Symbol 82 MovieClip Frame 7
gotoAndStop (1);
Symbol 86 Button
on (release) {
i = substring(_name, 6, 1);
ii = substring(_name, 7, 1);
_root[("block" add (Number(i) - 1)) add ii][_root.type].Play();
_root[("block" add (Number(i) + 1)) add ii][_root.type].Play();
_root[("block" add Number(i)) add (Number(ii) - 1)][_root.type].Play();
_root[("block" add Number(i)) add (Number(ii) + 1)][_root.type].Play();
this[_root.type].Play();
}
Symbol 87 MovieClip Frame 1
stop();
Symbol 87 MovieClip Frame 2
stop();
Symbol 100 Button
on (release) {
type = "block1";
build();
}
Symbol 101 Button
on (release) {
type = "block2";
build();
}
Symbol 102 Button
on (release) {
type = "block3";
build();
}
Symbol 122 Button
on (release) {
unloadMovieNum (4);
}
Symbol 127 Button
on (release) {
loadMovieNum ("music_jg.swf", 4);
}
Symbol 132 Button
on (release) {
gotoAndStop (6);
}
Symbol 136 Button
on (release) {
gotoAndPlay (5);
timer.renew();
}
Symbol 140 Button
on (release) {
gotoAndStop (9);
}
Symbol 153 Button
on (press) {
down = "yes";
}
on (rollOut, release, dragOut, releaseOutside) {
down = "";
}
Symbol 161 Button
on (release) {
my_score = _root.my_score;
if (submitted eq "") {
submitted = "done";
if (my_name eq "") {
my_name = "JigSaw";
}
if ((substring(wordbank, 1, 1)) ne ",") {
wordbank = ("," add wordbank) add ",";
}
comma = 0;
r = length(wordbank);
count = 1;
while (Number(r) >= Number(count)) {
if ((substring(wordbank, count, 1)) eq ",") {
comma = Number(comma) + 1;
Set("num" add comma, count);
}
count = Number(count) + 1;
}
count = 1;
while (Number(comma) >= Number(count)) {
Set("bad" add count, substring(wordbank, eval ("num" add count) + 1, (eval ("num" add (count + 1)) - eval ("num" add count)) - 1));
count = Number(count) + 1;
}
badwords = comma - 1;
short = my_name;
length = length(short);
l = 1;
while (Number(length) >= Number(l)) {
Set("w" add l, ord(substring(short, l, 1)));
if ((eval ("w" add l) >= 65) and (90 >= eval ("w" add l))) {
Set("w" add l, chr(eval ("w" add l) + 32));
} else {
Set("w" add l, chr(eval ("w" add l)));
}
l = Number(l) + 1;
}
l = 1;
short = "";
while (Number(length) >= Number(l)) {
short = short add eval ("w" add l);
l = Number(l) + 1;
}
m = 1;
n = length(my_name);
while (Number(badwords) >= Number(m)) {
if (n >= length(eval ("bad" add m))) {
v = 1;
while (((n - length(eval ("bad" add m))) + 1) >= v) {
if ((substring(short, v, length(eval ("bad" add m)))) eq eval ("bad" add m)) {
my_name = "JigSaw";
}
v = Number(v) + 1;
}
}
m = Number(m) + 1;
}
loadVariables (score_keeper, "", "POST");
gotoAndPlay (6);
}
}
Symbol 171 MovieClip Frame 1
function BuildList() {
view_scores = "";
num = 1;
while (Number(numplayers) >= Number(num)) {
spacer1 = substring(" ", 0, 3 - length(num));
spacer2 = substring(" ", 0, 8 - length(eval ("name_" add num)));
spacer3 = substring(" ", 0, 7 - length(eval ("score_" add num)));
view_scores = (((((view_scores add num) add spacer1) add eval ("name_" add num)) add spacer2) add spacer3) add eval ("score_" add num);
if (Number(num) != Number(numplayers)) {
view_scores = view_scores add newline;
}
num = Number(num) + 1;
}
}
numplayers = 100;
game_author = "ua";
game_title = "conundrumzero";
scoring = "reverse";
if (scoring == "regular") {
score_keeper = "http://www.ultimatearcade.com/cgi-bin/score_keeper.pl";
} else if (scoring == "reverse") {
my_score = 1000000000 /* 0x3B9ACA00 */;
my_name = "A Ghost";
score_keeper = "http://www.ultimatearcade.com/cgi-bin/scores/score_keeper_low.pl";
}
loadVariables (score_keeper, "", "POST");
count = 0;
my_score = _root.my_score;
my_name = "";
Instance of Symbol 154 MovieClip in Symbol 171 MovieClip Frame 1
onClipEvent (enterFrame) {
if (down == "yes") {
currentScroll = this._parent.view_scores.scroll;
if (1 < Number(currentScroll)) {
this._parent.view_scores.scroll = currentScroll - 1;
}
}
}
Instance of Symbol 155 MovieClip in Symbol 171 MovieClip Frame 1
onClipEvent (enterFrame) {
if (down == "yes") {
currentScroll = this._parent.view_scores.scroll;
if (Number(currentScroll) < Number(this._parent.view_scores.maxscroll)) {
this._parent.view_scores.scroll = Number(currentScroll) + 1;
}
}
}
Symbol 171 MovieClip Frame 2
if (sk_done eq "yes") {
sk_done = "";
stop();
BuildList();
} else if (error ne "") {
view_scores = error;
stop();
} else {
if (Number(count) < 4) {
view_scores = "Loading Scores..";
} else if ((Number(count) >= 4) and (Number(count) < 8)) {
view_scores = "Loading Scores....";
} else if ((Number(count) >= 8) and (Number(count) < 12)) {
view_scores = "Loading Scores......";
} else if ((Number(count) >= 12) and (Number(count) < 16)) {
view_scores = "Loading Scores";
} else {
view_scores = "Loading Scores";
count = 0;
}
play();
}
count = Number(count) + 1;
Symbol 171 MovieClip Frame 3
gotoAndPlay (2);
Symbol 171 MovieClip Frame 5
stop();
Symbol 171 MovieClip Frame 6
if (sk_done eq "yes") {
sk_done = "";
gotoAndStop(Number(_currentframe) + 2);
} else if (error ne "") {
view_scores = error;
stop();
} else {
if (Number(count) < 4) {
view_scores = "Loading Scores..";
} else if ((Number(count) >= 4) and (Number(count) < 8)) {
view_scores = "Loading Scores....";
} else if ((Number(count) >= 8) and (Number(count) < 12)) {
view_scores = "Loading Scores......";
} else if ((Number(count) >= 12) and (Number(count) < 16)) {
view_scores = "Loading Scores";
} else {
view_scores = "Loading Scores";
count = 0;
}
play();
}
count = Number(count) + 1;
Symbol 171 MovieClip Frame 7
gotoAndPlay (6);
Symbol 171 MovieClip Frame 8
view_scores = "";
my_ranking = "";
num = 1;
while (Number(numplayers) >= Number(num)) {
spacer1 = substring(" ", 0, 3 - length(num));
spacer2 = substring(" ", 0, 8 - length(eval ("name_" add num)));
spacer3 = substring(" ", 0, 7 - length(eval ("score_" add num)));
view_scores = (((((view_scores add num) add spacer1) add eval ("name_" add num)) add spacer2) add spacer3) add eval ("score_" add num);
if (Number(num) != Number(numplayers)) {
view_scores = view_scores add newline;
}
num = Number(num) + 1;
}
num = 1;
while (Number(num) < Number(numplayers)) {
if ((my_score == eval ("score_" add num)) and (my_name == eval ("name_" add num))) {
my_ranking = ((("You ranked #" add num) add " out of the top ") add numplayers) add " players!!!";
}
num = Number(num) + 1;
}
if (my_ranking eq "") {
my_ranking = ("You did not rank within the top " add numplayers) add " scores.";
}
stop();
Symbol 171 MovieClip Frame 10
my_score = 1000000 /* 0x0F4240 */;
my_name = "A Ghost";
if (submitted eq "") {
submitted = "done";
if (my_name eq "") {
my_name = "JigSaw";
}
if ((substring(wordbank, 1, 1)) ne ",") {
wordbank = ("," add wordbank) add ",";
}
comma = 0;
r = length(wordbank);
count = 1;
while (Number(r) >= Number(count)) {
if ((substring(wordbank, count, 1)) eq ",") {
comma = Number(comma) + 1;
Set("num" add comma, count);
}
count = Number(count) + 1;
}
count = 1;
while (Number(comma) >= Number(count)) {
Set("bad" add count, substring(wordbank, eval ("num" add count) + 1, (eval ("num" add (count + 1)) - eval ("num" add count)) - 1));
count = Number(count) + 1;
}
badwords = comma - 1;
short = my_name;
length = length(short);
l = 1;
while (Number(length) >= Number(l)) {
Set("w" add l, ord(substring(short, l, 1)));
if ((eval ("w" add l) >= 65) and (90 >= eval ("w" add l))) {
Set("w" add l, chr(eval ("w" add l) + 32));
} else {
Set("w" add l, chr(eval ("w" add l)));
}
l = Number(l) + 1;
}
l = 1;
short = "";
while (Number(length) >= Number(l)) {
short = short add eval ("w" add l);
l = Number(l) + 1;
}
m = 1;
n = length(my_name);
while (Number(badwords) >= Number(m)) {
if (n >= length(eval ("bad" add m))) {
v = 1;
while (((n - length(eval ("bad" add m))) + 1) >= v) {
if ((substring(short, v, length(eval ("bad" add m)))) eq eval ("bad" add m)) {
my_name = "JigSaw";
}
v = Number(v) + 1;
}
}
m = Number(m) + 1;
}
loadVariables (score_keeper, "", "POST");
gotoAndPlay (6);
}
Symbol 171 MovieClip Frame 11
gotoAndPlay (1);
Symbol 183 Button
on (release) {
gotoAndStop (4);
}
Symbol 185 MovieClip Frame 1
function BuildList() {
view_scores = "";
num = 1;
while (Number(numplayers) >= Number(num)) {
spacer1 = substring(" ", 0, 3 - length(num));
spacer2 = substring(" ", 0, 8 - length(eval ("name_" add num)));
spacer3 = substring(" ", 0, 7 - length(eval ("score_" add num)));
view_scores = (((((view_scores add num) add spacer1) add eval ("name_" add num)) add spacer2) add spacer3) add eval ("score_" add num);
if (Number(num) != Number(numplayers)) {
view_scores = view_scores add newline;
}
num = Number(num) + 1;
}
}
numplayers = 100;
game_author = "ua";
game_title = "conundrumzero";
scoring = "reverse";
if (scoring == "regular") {
score_keeper = "http://www.ultimatearcade.com/cgi-bin/score_keeper.pl";
} else if (scoring == "reverse") {
my_score = 1000000000 /* 0x3B9ACA00 */;
my_name = "A Ghost";
score_keeper = "http://www.ultimatearcade.com/cgi-bin/scores/score_keeper_low.pl";
}
loadVariables (score_keeper, "", "POST");
count = 0;
my_score = _root.my_score;
my_name = "";
Instance of Symbol 154 MovieClip in Symbol 185 MovieClip Frame 1
onClipEvent (enterFrame) {
if (down == "yes") {
currentScroll = this._parent.view_scores.scroll;
if (1 < Number(currentScroll)) {
this._parent.view_scores.scroll = currentScroll - 1;
}
}
}
Instance of Symbol 155 MovieClip in Symbol 185 MovieClip Frame 1
onClipEvent (enterFrame) {
if (down == "yes") {
currentScroll = this._parent.view_scores.scroll;
if (Number(currentScroll) < Number(this._parent.view_scores.maxscroll)) {
this._parent.view_scores.scroll = Number(currentScroll) + 1;
}
}
}
Symbol 185 MovieClip Frame 2
if (sk_done eq "yes") {
sk_done = "";
stop();
BuildList();
} else if (error ne "") {
view_scores = error;
stop();
} else {
if (Number(count) < 4) {
view_scores = "Loading Scores..";
} else if ((Number(count) >= 4) and (Number(count) < 8)) {
view_scores = "Loading Scores....";
} else if ((Number(count) >= 8) and (Number(count) < 12)) {
view_scores = "Loading Scores......";
} else if ((Number(count) >= 12) and (Number(count) < 16)) {
view_scores = "Loading Scores";
} else {
view_scores = "Loading Scores";
count = 0;
}
play();
}
count = Number(count) + 1;
Symbol 185 MovieClip Frame 3
gotoAndPlay (2);
Symbol 185 MovieClip Frame 5
stop();
Symbol 185 MovieClip Frame 6
if (sk_done eq "yes") {
sk_done = "";
gotoAndStop(Number(_currentframe) + 2);
} else if (error ne "") {
view_scores = error;
stop();
} else {
if (Number(count) < 4) {
view_scores = "Loading Scores..";
} else if ((Number(count) >= 4) and (Number(count) < 8)) {
view_scores = "Loading Scores....";
} else if ((Number(count) >= 8) and (Number(count) < 12)) {
view_scores = "Loading Scores......";
} else if ((Number(count) >= 12) and (Number(count) < 16)) {
view_scores = "Loading Scores";
} else {
view_scores = "Loading Scores";
count = 0;
}
play();
}
count = Number(count) + 1;
Symbol 185 MovieClip Frame 7
gotoAndPlay (6);
Symbol 185 MovieClip Frame 8
view_scores = "";
my_ranking = "";
num = 1;
while (Number(numplayers) >= Number(num)) {
spacer1 = substring(" ", 0, 3 - length(num));
spacer2 = substring(" ", 0, 8 - length(eval ("name_" add num)));
spacer3 = substring(" ", 0, 7 - length(eval ("score_" add num)));
view_scores = (((((view_scores add num) add spacer1) add eval ("name_" add num)) add spacer2) add spacer3) add eval ("score_" add num);
if (Number(num) != Number(numplayers)) {
view_scores = view_scores add newline;
}
num = Number(num) + 1;
}
num = 1;
while (Number(num) < Number(numplayers)) {
if ((my_score == eval ("score_" add num)) and (my_name == eval ("name_" add num))) {
my_ranking = ((("You ranked #" add num) add " out of the top ") add numplayers) add " players!!!";
}
num = Number(num) + 1;
}
if (my_ranking eq "") {
my_ranking = ("You did not rank within the top " add numplayers) add " scores.";
}
stop();
Symbol 185 MovieClip Frame 10
my_score = 1000000 /* 0x0F4240 */;
my_name = "A Ghost";
if (submitted eq "") {
submitted = "done";
if (my_name eq "") {
my_name = "JigSaw";
}
if ((substring(wordbank, 1, 1)) ne ",") {
wordbank = ("," add wordbank) add ",";
}
comma = 0;
r = length(wordbank);
count = 1;
while (Number(r) >= Number(count)) {
if ((substring(wordbank, count, 1)) eq ",") {
comma = Number(comma) + 1;
Set("num" add comma, count);
}
count = Number(count) + 1;
}
count = 1;
while (Number(comma) >= Number(count)) {
Set("bad" add count, substring(wordbank, eval ("num" add count) + 1, (eval ("num" add (count + 1)) - eval ("num" add count)) - 1));
count = Number(count) + 1;
}
badwords = comma - 1;
short = my_name;
length = length(short);
l = 1;
while (Number(length) >= Number(l)) {
Set("w" add l, ord(substring(short, l, 1)));
if ((eval ("w" add l) >= 65) and (90 >= eval ("w" add l))) {
Set("w" add l, chr(eval ("w" add l) + 32));
} else {
Set("w" add l, chr(eval ("w" add l)));
}
l = Number(l) + 1;
}
l = 1;
short = "";
while (Number(length) >= Number(l)) {
short = short add eval ("w" add l);
l = Number(l) + 1;
}
m = 1;
n = length(my_name);
while (Number(badwords) >= Number(m)) {
if (n >= length(eval ("bad" add m))) {
v = 1;
while (((n - length(eval ("bad" add m))) + 1) >= v) {
if ((substring(short, v, length(eval ("bad" add m)))) eq eval ("bad" add m)) {
my_name = "JigSaw";
}
v = Number(v) + 1;
}
}
m = Number(m) + 1;
}
loadVariables (score_keeper, "", "POST");
gotoAndPlay (6);
}
Symbol 185 MovieClip Frame 11
gotoAndPlay (1);