Frame 1
ifFrameLoaded (43) {
gotoAndPlay (3);
}
Frame 2
gotoAndPlay (1);
Frame 32
stop();
Frame 37
stop();
Frame 38
if (getProperty("/crab1", _currentframe) >= "150") {
winisred = "10";
winisyellow = "0";
winisblue = "0";
winisgreen = "0";
gotoAndStop (41);
}
if (getProperty("/crab2", _currentframe) >= "150") {
winisred = "0";
winisyellow = "10";
winisblue = "0";
winisgreen = "0";
gotoAndStop (41);
}
if (getProperty("/crab3", _currentframe) >= "150") {
winisred = "0";
winisyellow = "0";
winisblue = "10";
winisgreen = "0";
gotoAndStop (41);
}
if (getProperty("/crab4", _currentframe) >= "150") {
winisred = "0";
winisyellow = "0";
winisblue = "0";
winisgreen = "10";
gotoAndStop (41);
}
tellTarget ("/crab1") {
gotoAndStop(getProperty("/crab1", _currentframe) + random("5"));
tellTarget ("/crab2") {
gotoAndStop(getProperty("/crab2", _currentframe) + random("5"));
tellTarget ("/crab3") {
gotoAndStop(getProperty("/crab3", _currentframe) + random("5"));
tellTarget ("/crab4") {
gotoAndStop(getProperty("/crab4", _currentframe) + random("5"));
}
}
}
}
Frame 39
if (getProperty("/crab1", _currentframe) >= "150") {
winisred = "10";
winisyellow = "0";
winisblue = "0";
winisgreen = "0";
stopAllSounds();
gotoAndStop (41);
}
if (getProperty("/crab2", _currentframe) >= "150") {
winisred = "0";
winisyellow = "10";
winisblue = "0";
winisgreen = "0";
stopAllSounds();
gotoAndStop (41);
}
if (getProperty("/crab3", _currentframe) >= "150") {
winisred = "0";
winisyellow = "0";
winisblue = "10";
winisgreen = "0";
stopAllSounds();
gotoAndStop (41);
}
if (getProperty("/crab4", _currentframe) >= "150") {
winisred = "0";
winisyellow = "0";
winisblue = "0";
winisgreen = "10";
stopAllSounds();
gotoAndStop (41);
}
Frame 40
gotoAndPlay (38);
Frame 41
if (((((red + winisred) == "20") or ((yellow + winisyellow) == "20")) or ((blue + winisblue) == "20")) or ((green + winisgreen) == "20")) {
nextFrame();
} else {
gotoAndStop (43);
}
Frame 42
stop();
Frame 43
stop();
Symbol 10 Button
on (release) {
gotoAndPlay (37);
}
Symbol 12 Button
on (release) {
play();
}
Symbol 15 MovieClip Frame 1
stop();
Symbol 18 Button
on (press) {
play();
tellTarget ("/youguess") {
gotoAndStop (5);
};
red = "0";
yellow = "0";
blue = "0";
green = "10";
}
Symbol 19 Button
on (press) {
play();
tellTarget ("/youguess") {
gotoAndStop (4);
};
red = "0";
yellow = "0";
blue = "10";
green = "0";
}
Symbol 20 Button
on (press) {
play();
tellTarget ("/youguess") {
gotoAndStop (3);
};
red = "0";
yellow = "10";
blue = "0";
green = "0";
}
Symbol 21 Button
on (press) {
play();
tellTarget ("/youguess") {
gotoAndStop (2);
};
red = "10";
yellow = "0";
blue = "0";
green = "0";
}
Symbol 23 Button
on (release) {
gotoAndPlay (3);
}
Symbol 32 MovieClip Frame 1
stop();
Symbol 33 MovieClip Frame 1
stop();
Symbol 35 MovieClip Frame 1
stop();
Symbol 38 MovieClip Frame 1
stop();
Symbol 42 Button
on (press) {
gotoAndStop (37);
tellTarget ("/youguess") {
gotoAndStop (1);
}
}