Frame 1
function new_game() {
current_tries = 3;
if (_level0.token3) {
current_tries = 4;
}
total_score = 0;
current_level = 1;
gotoAndStop (14);
}
function init() {
MAX_TRIES = 3;
if (_level0.token3) {
MAX_TRIES = 4;
}
GRID_AREA_X = 13;
GRID_AREA_Y = 13;
GRID_COLS = 11;
GRID_ROWS = 8;
BLOCK_SIZE = 43;
NUM_PIPES = 7;
MIN_DISTANCE = 3;
NUM_STRUCTS = 5;
MAX_STRUCTS = 16;
CREME_SPEED = 2;
SCORE = 100;
MINUS_SCORE = 3;
MAX_TIME = 30000;
MIN_TIME = 5000;
MAX_ALIEN_TIME = 20000;
MIN_ALIEN_TIME = 10000;
TOKEN_TOTAL = 15;
current_pipe = 0;
next_pipe = 0;
pipe_count = 0;
alien_count = 0;
struct_count = 0;
start_coord = new Object();
end_coord = new Object();
grid_array = new Array();
entrance = "";
exit = "";
game_paused = false;
cereal_clicked = false;
level_lost = false;
token_pipe_count = TOKEN_TOTAL;
pipeArray_top = new Array(2, 3, 4, 5, 8, 10);
pipeArray_left = new Array(1, 3, 5, 6, 9, 10);
pipeArray_bottom = new Array(2, 3, 6, 7, 8, 10);
pipeArray_right = new Array(1, 3, 4, 7, 9, 10);
noBlock = new Array("0_10", "0_9", "0_8", "1_10", "1_9", "1_8", "2_10", "2_9", "3_10", "3_9", "4_10", "5_10");
grid_container._width = 30;
grid_container._height = 30;
mouse_pipe.gotoAndPlay("on");
}
function next_level() {
current_level++;
gotoAndStop (14);
}
function level_end(row, col, loc) {
trace("ROW is: " + row);
trace("COL is: " + col);
trace("LOC is: " + loc);
level_lost = true;
rm_clip.stop();
Alien.gotoAndStop("off");
cereal_bowl.gotoAndStop("off");
var tempPoint = new Object();
tempPoint.x = GRID_AREA_X + ((BLOCK_SIZE - 1) * col);
tempPoint.y = GRID_AREA_Y + ((BLOCK_SIZE - 1) * row);
structure_container.globalToLocal(tempPoint);
marbits._x = GRID_AREA_X + ((BLOCK_SIZE - 1) * col);
marbits._y = GRID_AREA_Y + ((BLOCK_SIZE - 1) * row);
marbits.gotoAndStop(loc);
}
function check_tries() {
current_tries--;
if (current_tries == 0) {
gotoAndStop (52);
} else {
gotoAndStop (44);
}
}
function arrayToString(row, col) {
return((String(row) + "_") + String(col));
}
function stringToArray(strName) {
return(strName.split("_"));
}
function pause_on() {
stopAllSounds();
sound_creme = new Sound(creme_sound);
sound_creme.setVolume(0);
if (lever.anim.playing == true) {
lever.anim.stop();
}
if (rm_clip.clip_playing == true) {
rm_clip.stop();
}
if (ccd.ccd_done != true) {
ccd.gotoAndStop("pause");
} else {
if (alien_visible == true) {
if (alien.anim.anim_done == false) {
alien.anim.stop();
} else {
alien.anim.gotoAndStop("off");
}
} else {
alien.timer.gotoAndStop("pause");
}
pipe_container[pipeName].pipe.gotoAndStop("pause");
}
pause_mc.gotoAndStop("pause");
_root.game_paused = true;
}
function pause_off() {
sound_creme = new Sound(creme_sound);
sound_creme.setVolume(100);
if (lever.anim.playing == true) {
lever.anim.play();
}
if (rm_clip.clip_playing == true) {
rm_clip.play();
}
if (ccd.ccd_done != true) {
ccd.gotoAndPlay("resume");
} else {
if (alien_visible == true) {
if (alien.anim.anim_done == false) {
alien.anim.play();
} else {
alien.anim.gotoAndPlay("resume");
}
} else {
alien.timer.gotoAndPlay("resume");
}
pipe_container[pipeName].pipe.gotoAndPlay("fill");
}
pause_mc.gotoAndStop("off");
_root.game_paused = false;
}
function quit(prevScreen) {
_root.resumeScreen = prevScreen;
pause_mc.gotoAndStop("quit");
}
function resume() {
if (resumeScreen == "help") {
pause_mc.gotoAndStop("pause");
} else {
pause_mc.gotoAndStop("off");
}
}
function end_game(finalScore) {
_level0.send_score(finalScore);
}
function build_grid() {
var i = 0;
var j = 0;
i = 0;
while (i < GRID_ROWS) {
grid_array[i] = new Array();
j = 0;
while (j < GRID_COLS) {
var block_name = arrayToString(i, j);
if (check_block(block_name) == true) {
grid_array[i][j] = new Block(i, j, 0, null, 0);
grid_container.square.duplicateMovieClip(block_name, 1000 + Number(String(i) + String(j)));
grid_container[block_name]._width = BLOCK_SIZE;
grid_container[block_name]._height = BLOCK_SIZE;
var tempPoint = new Object();
tempPoint.x = GRID_AREA_X + ((BLOCK_SIZE - 1) * j);
tempPoint.y = GRID_AREA_Y + ((BLOCK_SIZE - 1) * i);
grid_container.globalToLocal(tempPoint);
grid_container[block_name]._x = tempPoint.x;
grid_container[block_name]._y = tempPoint.y;
}
j++;
}
i++;
}
set_structures();
}
function check_block(blockName) {
x = 0;
while (x < noBLock.length) {
if (blockName == noBlock[x]) {
return(false);
}
x++;
}
return(true);
}
function set_structures() {
set_start();
set_end();
add_structures();
}
function set_start() {
var startArray = new Array();
var posArray = new Array();
startRow = Number(1 + random(GRID_ROWS - 1));
startCol = Number(random(grid_array[startRow].length));
trace("StartRow is: " + startRow);
start_coord.row = startRow;
start_coord.col = startCol;
grid_array[startRow][startCol].structure = 1;
structure_container.structures.duplicateMovieClip("startClip", 1000 + struct_count);
struct_count++;
var tempPoint = new Object();
tempPoint.x = GRID_AREA_X + ((BLOCK_SIZE - 1) * startCol);
tempPoint.y = GRID_AREA_Y + ((BLOCK_SIZE - 1) * startRow);
structure_container.globalToLocal(tempPoint);
structure_container.startClip._x = tempPoint.x;
structure_container.startClip._y = tempPoint.y;
var gridBlock = arrayToString(startRow, startCol);
grid_container[gridBlock].gotoAndStop("full");
if ((0 < startRow) && (startCol < grid_array[startRow - 1].length)) {
posArray.push(1);
}
if (startRow < (GRID_ROWS - 1)) {
posArray.push(3);
}
if (0 < startCol) {
posArray.push(2);
}
if (startCol < (grid_array[startRow].length - 1)) {
posArray.push(4);
}
var index = Number(random(posArray.length));
var startPos = posArray[index];
structure_container.startClip.pump.gotoAndStop(startPos);
set_lever(startPos);
}
function set_lever(direction) {
if ((direction == 2) || (start_coord.col == 0)) {
lever.gotoAndStop(2);
}
lever._x = GRID_AREA_X + ((BLOCK_SIZE - 1) * start_coord.col);
lever._y = GRID_AREA_Y + ((BLOCK_SIZE - 1) * start_coord.row);
}
function set_end() {
var rowArray = new Array();
var tempArray = new Array();
q = 0;
while (q < (grid_array.length - 1)) {
if ((q < (startRow - MIN_DISTANCE)) || ((startRow + MIN_DISTANCE) < q)) {
rowArray.push(q);
}
q++;
}
if (rowArray.length < 1) {
endRow = 0;
} else {
endRow = rowArray[Number(random(rowArray.length))];
}
if ((endRow < (startRow - MIN_DISTANCE)) || ((startRow + MIN_DISTANCE) < endRow)) {
endCol = Number(random(GRID_ROWS - 1));
} else {
z = 0;
while (z < (grid_array[endRow].length - 1)) {
if ((z < (startCol - MIN_DISTANCE)) || ((startCol + MIN_DISTANCE) < z)) {
tempArray.push(z);
}
z++;
}
if (tempArray.length < 1) {
endCol = 0;
} else {
endCol = tempArray[Number(random(tempArray.length))];
}
}
end_coord.row = endRow;
end_coord.col = endCol;
grid_array[endRow][endCol].structure = 2;
var gridBlock = arrayToString(endRow, endCol);
grid_container[gridBlock].gotoAndStop("full");
grid_array[endRow + 1][endCol].structure = 2;
var gridBlock = arrayToString(endRow + 1, endCol);
grid_container[gridBlock].gotoAndStop("full");
grid_array[endRow][endCol + 1].structure = 2;
var gridBlock = arrayToString(endRow, endCol + 1);
grid_container[gridBlock].gotoAndStop("full");
grid_array[endRow + 1][endCol + 1].structure = 2;
var gridBlock = arrayToString(endRow + 1, endCol + 1);
grid_container[gridBlock].gotoAndStop("full");
structure_container.structures.duplicateMovieClip("endClip", 1000 + struct_count);
struct_count++;
var tempPoint = new Object();
tempPoint.x = GRID_AREA_X + ((BLOCK_SIZE - 1) * endCol);
tempPoint.y = GRID_AREA_Y + ((BLOCK_SIZE - 1) * endRow);
structure_container.globalToLocal(tempPoint);
structure_container.endClip._x = tempPoint.x;
structure_container.endClip._y = tempPoint.y;
structure_container.endClip.gotoAndStop(2);
}
function add_structures() {
var structs_count = ((current_level - 1) * 2);
if (MAX_STRUCTS < structs_count) {
structs_count = MAX_STRUCTS;
}
c = 0;
while (c < structs_count) {
var tempArray = new Array();
var structRow = Number(random(GRID_ROWS));
d = 0;
while (d < grid_array[structRow].length) {
if (grid_array[structRow][d].structure == 0) {
tempArray.push(d);
}
d++;
}
var structCol = tempArray[Number(random(tempArray.length))];
var s_type = Number(random(NUM_STRUCTS) + 3);
grid_array[structRow][structCol].structure = s_type;
var struct_name = ("struct" + struct_count);
grid_array[structRow][structCol].struct_name = struct_name;
structure_container.structures.duplicateMovieClip(struct_name, 1000 + struct_count);
struct_count++;
var tempPoint = new Object();
tempPoint.x = GRID_AREA_X + ((BLOCK_SIZE - 1) * structCol);
tempPoint.y = GRID_AREA_Y + ((BLOCK_SIZE - 1) * structRow);
structure_container.globalToLocal(tempPoint);
structure_container[struct_name]._x = tempPoint.x;
structure_container[struct_name]._y = tempPoint.y;
structure_container[struct_name].gotoAndStop(s_type);
c++;
}
}
function set_current_pipe() {
pipe_count++;
if ((next_pipe == null) || (next_pipe == 0)) {
if (_root.token2) {
current_pipe = 10;
set_next_pipe();
set_bonus_pipe();
} else {
current_pipe = int(random(NUM_PIPES) + 1);
mouse_pipe.pipes.gotoAndStop(current_pipe);
set_next_pipe();
}
} else {
current_pipe = next_pipe;
mouse_pipe.pipes.gotoAndStop(current_pipe);
set_next_pipe();
}
}
function set_next_pipe() {
if (_level0.token1) {
if (random(25) == 0) {
next_pipe = int(random(2) + 8);
} else {
next_pipe = int(random(NUM_PIPES) + 1);
}
} else {
next_pipe = int(random(NUM_PIPES) + 1);
}
show_next.gotoAndStop(next_pipe);
}
function set_bonus_pipe() {
trace("SETTING BONUS PIPE");
var rowArray = new Array();
var colArray = new Array();
var i = 1;
while (i < (grid_array.length - 1)) {
if (((i < (startRow - 1)) || ((startRow + 1) < i)) && (0 < i)) {
trace("add row");
rowArray.push(i);
}
i++;
}
trace("rowArray is: " + rowArray);
if (rowArray.length < 1) {
var pipeRow = 1;
} else {
var pipeRow = rowArray[Number(random(rowArray.length))];
trace("pipeRow is: " + pipeRow);
}
var j = 0;
while (j < (grid_array[pipeRow].length - 1)) {
var thisBlock = grid_array[pipeRow][j];
trace("thisBlock.structure is: " + thisBlock.structure);
if ((0 < j) && (thisBlock.structure == 0)) {
colArray.push(j);
}
j++;
}
trace("colArray is: " + colArray);
if (colArray.length < 1) {
var pipeCol = 1;
} else {
var pipeCol = colArray[Number(random(colArray.length))];
trace("pipeCol is: " + pipeCol);
}
var block_name = arrayToString(pipeRow, pipeCol);
trace("BLOCK_NAME IS: " + block_name);
block_click(block_name);
}
function block_click(blockName) {
var arrayLoc = stringToArray(blockName);
var thisBlock = grid_array[arrayLoc[0]][arrayLoc[1]];
var pipeName = ((("pipe_" + thisBlock.row) + "_") + thisBlock.col);
if ((thisBlock.structure != 1) && (thisBlock.structure != 2)) {
if ((pipe_container[pipeName]._name != null) && (pipe_container[pipeName]._name != "")) {
if (pipe_container[pipeName].pipe.pipe_full == false) {
pipe_container[pipeName].removeMovieClip();
pipe_container.pipes.duplicateMovieClip(pipeName, 1000 + pipe_count);
}
} else {
pipe_container.pipes.duplicateMovieClip(pipeName, 1000 + pipe_count);
}
grid_container[blockName].gotoAndStop("full");
if ((thisBlock.pipe == 0) && (thisBlock.structure == 0)) {
thisBlock.pipe == current_pipe;
place_pipe(pipeName, thisBlock);
} else if (pipe_container[pipeName].pipe.pipe_full == true) {
} else if (0 < thisBlock.pipe) {
pipe_container[pipeName].change = true;
rm_clip.pipe_name = pipeName;
rm_clip.blockObj = thisBlock;
rm_clip.gotoAndPlay("on");
} else if (2 < thisBlock.structure) {
rm_clip.pipe_name = pipeName;
rm_clip.struct_name = thisBlock.struct_name;
rm_clip.blockObj = thisBlock;
thisBlock.structure = 0;
rm_clip.gotoAndPlay("on");
}
}
}
function place_pipe(cPipe, cBlockObj) {
pipe_container[cPipe].gotoAndStop(current_pipe);
pipe_container[cPipe].change = false;
var tempPoint = new Object();
tempPoint.x = GRID_AREA_X + ((BLOCK_SIZE - 1) * cBlockObj.col);
tempPoint.y = GRID_AREA_Y + ((BLOCK_SIZE - 1) * cBlockObj.row);
cBlockObj.pipe = current_pipe;
pipe_container.globalToLocal(tempPoint);
pipe_container[cPipe]._x = tempPoint.x;
pipe_container[cPipe]._y = tempPoint.y;
pipe_sound.gotoAndPlay("on");
set_current_pipe();
}
function start_flow() {
alien.timer.gotoAndPlay("init");
if (entrance == "top") {
currentBlock = grid_array[start_coord.row + 1][start_coord.col];
} else if (entrance == "left") {
currentBlock = grid_array[start_coord.row][start_coord.col + 1];
} else if (entrance == "bottom") {
currentBlock = grid_array[start_coord.row - 1][start_coord.col];
} else if (entrance == "right") {
currentBlock = grid_array[start_coord.row][start_coord.col - 1];
}
pipeName = (("pipe_" + currentBlock.row) + "_") + currentBlock.col;
if (pipe_container[pipeName]._name != null) {
var pipeCount = 0;
i = 0;
while (i < _root["pipeArray_" + entrance].length) {
if (pipe_container[pipeName]._currentFrame == _root["pipeArray_" + entrance][i]) {
pipeCount++;
}
i++;
}
if (0 < pipeCount) {
pipe_container[pipeName].pipe.gotoAndPlay("fill");
pipe_container[pipeName].pipe.pipe_full = true;
creme_sound.gotoAndPlay("release");
} else {
trace("Ya put the wrong pipe on the end, Stupid!");
level_end(currentBlock.row, currentBlock.col, entrance);
}
} else {
creme_sound.gotoAndStop("off");
trace("The pipe doesn't seem to exist, so GAME OVER!");
if (((currentBlock.row == null) || (currentBlock.row == "")) || ((currentBlock.col == null) || (currentBlock.col == ""))) {
var row = lastBlock.row;
var col = lastBlock.col;
if (entrance == "top") {
row = lastBlock.row + 1;
} else if (entrance == "bottom") {
row = lastBlock.row - 1;
} else if (entrance == "left") {
col = lastBlock.col + 1;
} else if (entrance == "right") {
col = lastBlock.col - 1;
}
level_end(row, col, entrance);
} else {
level_end(currentBlock.row, currentBlock.col, entrance);
}
}
}
function next_flow() {
if ((pipe_container[pipeName].pipe.vert_filled == true) && (pipe_container[pipeName].pipe.horz_filled == true)) {
total_score = Number(total_score + 500);
} else {
total_score = Number(total_score + SCORE);
_root.token_pipe_count--;
}
lastBlock = currentBlock;
if (entrance == "top") {
currentBlock = grid_array[currentBlock.row + 1][currentBlock.col];
} else if (entrance == "left") {
currentBlock = grid_array[currentBlock.row][currentBlock.col + 1];
} else if (entrance == "bottom") {
currentBlock = grid_array[currentBlock.row - 1][currentBlock.col];
} else if (entrance == "right") {
currentBlock = grid_array[currentBlock.row][currentBlock.col - 1];
}
pipeName = (("pipe_" + currentBlock.row) + "_") + currentBlock.col;
if (pipe_container[pipeName]._name != null) {
if (pipe_container[pipeName].change == true) {
trace("oops! didn't change the pipe fast enough. HAHA!");
level_end(currentBlock.row, currentBlock.col, entrance);
} else {
var pipeCount = 0;
i = 0;
while (i < _root["pipeArray_" + entrance].length) {
if (pipe_container[pipeName]._currentFrame == _root["pipeArray_" + entrance][i]) {
pipeCount++;
}
i++;
}
if (0 < pipeCount) {
pipe_container[pipeName].pipe.gotoAndPlay("fill");
pipe_container[pipeName].pipe.pipe_full = true;
} else {
trace("Ya put the wrong pipe on the end, Stupid!");
level_end(currentBlock.row, currentBlock.col, entrance);
}
}
} else if (currentBlock.structure == 2) {
if (_root.token_pipe_count == 0) {
total_score = Number(total_score + 1000);
}
creme_sound.gotoAndStop("off");
stopAllSounds();
structure_container.endClip.anim.gotoAndPlay("finish_anim");
} else {
creme_sound.gotoAndStop("off");
trace("The pipe doesn't seem to exist, so GAME OVER!");
if (((currentBlock.row == null) || (currentBlock.row == "")) || ((currentBlock.col == null) || (currentBlock.col == ""))) {
var row = lastBlock.row;
var col = lastBlock.col;
if (entrance == "top") {
row = lastBlock.row + 1;
} else if (entrance == "bottom") {
row = lastBlock.row - 1;
} else if (entrance == "left") {
col = lastBlock.col + 1;
} else if (entrance == "right") {
col = lastBlock.col - 1;
}
level_end(row, col, entrance);
} else {
level_end(currentBlock.row, currentBlock.col, entrance);
}
}
}
function show_alien() {
var i = 0;
var j = 0;
var temp_array = new Array();
i = 0;
while (i < GRID_ROWS) {
j = 0;
while (j < GRID_COLS) {
var thisBlock = grid_array[i][j];
var pipeName = ((("pipe_" + i) + "_") + j);
if ((pipe_container[pipeName]._name != null) && (pipe_container[pipeName]._name != "")) {
if (((thisBlock.pipe == 1) || (thisBlock.pipe == 2)) && (pipe_container[pipeName].pipe.pipe_full == true)) {
temp_array.push(thisBlock);
}
}
j++;
}
i++;
}
if (0 < temp_array.length) {
var alienBlock = temp_array[int(random(temp_array.length))];
var alienName = ((("alien_" + alienBlock.row) + "_") + alienBlock.col);
if (alienBlock.pipe == 1) {
alien.gotoAndStop(2);
} else if (alienBlock.pipe == 2) {
alien.gotoAndStop(3);
}
alien._x = GRID_AREA_X + ((BLOCK_SIZE - 1) * alienBlock.col);
alien._y = GRID_AREA_Y + ((BLOCK_SIZE - 1) * alienBlock.row);
alien_visible = true;
cereal_bowl.gotoAndStop("on");
} else {
alien.start_timer();
}
}
function cereal_click() {
cereal_clicked = true;
cereal_bowl.gotoAndStop("over");
noclick_mc.gotoAndStop("on");
mouse_pipe.gotoAndPlay("cereal");
}
function alien_click() {
if (cereal_clicked == true) {
alien.anim.gotoAndPlay("feed");
cereal_bowl.gotoAndStop("off");
noclick_mc.gotoAndStop("off");
mouse_pipe.gotoAndPlay("on");
cereal_clicked = false;
}
}
function Block(row, col, structure, struct_name, pipe) {
this.row = row;
this.col = col;
this.structure = structure;
this.struct_name = struct_name;
this.pipe = pipe;
}
_level0.token1 = true;
_level0.token2 = true;
_level0.token3 = true;
_level0.token4 = true;
all_sounds = new Sound();
all_sounds.setVolume(100);
sound_on = true;
if (getBytesLoaded() == getBytesTotal()) {
gotoAndStop (10);
} else {
play();
}
Frame 2
if (_framesloaded >= 10) {
gotoAndStop (10);
} else if (_framesloaded >= 5) {
gotoAndStop (4);
} else {
play();
}
Frame 3
prevFrame();
Frame 4
ifFrameLoaded (10) {
gotoAndStop (10);
}
play();
Frame 5
prevFrame();
Frame 10
stop();
Frame 14
_level0.token1 = Object.Postopia.VR.time;
_level0.token2 = Object.Postopia.VR.bonusPoints;
_level0.token3 = Object.Postopia.VR.tries;
_level0.token4 = Object.Postopia.VR.pipeCount;
init();
build_grid();
set_current_pipe();
ccd.gotoAndPlay("init");
creme_sound.gotoAndPlay("clock");
stop();
Instance of Symbol 161 MovieClip "bg_planet" in Frame 14
onClipEvent (enterFrame) {
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
if (_root.game_paused == false) {
if (_root.cereal_clicked == true) {
_root.mouse_pipe.gotoAndPlay("cereal");
} else {
_root.mouse_pipe.gotoAndPlay("on");
}
}
} else {
_root.mouse_pipe.gotoAndStop("off");
_root.mouse_pipe._x = -100;
_root.mouse_pipe._y = -100;
}
}
Instance of Symbol 196 MovieClip "menubg_mc" in Frame 14
onClipEvent (load) {
if (_level0.token4) {
this.gotoAndStop("token");
}
}
Frame 21
stop();
Frame 27
stop();
Frame 33
dance_loop.gotoAndPlay("on");
stop();
Frame 38
stop();
Frame 44
stop();
Frame 52
stop();
Symbol 41 MovieClip Frame 1
START_X = -115;
END_X = 47;
DISTANCE = END_X - START_X;
Symbol 41 MovieClip Frame 2
percent = _root.getBytesLoaded() / _root.getBytesTotal();
move = Math.floor(DISTANCE * percent);
if (move < 0) {
move = 0;
} else if (DISTANCE < move) {
move = DISTANCE;
}
load_clip._x = START_X + move;
if (load_clip._x >= END_X) {
_parent.gotoAndStop("loaded");
_root.start_button.gotoAndStop("on");
stop();
} else {
play();
}
Symbol 41 MovieClip Frame 3
prevFrame();
Symbol 43 MovieClip Frame 1
stop();
Symbol 43 MovieClip Frame 9
stop();
Symbol 87 Button
on (press) {
_root.new_game();
}
on (rollOver) {
gotoAndStop (9);
}
on (rollOut, dragOut, releaseOutside) {
gotoAndStop (5);
}
Symbol 91 MovieClip Frame 1
stop();
Symbol 106 Button
on (press) {
_root.nextFrame();
}
on (rollOver) {
gotoAndStop (9);
}
on (rollOut, dragOut, releaseOutside) {
gotoAndPlay (1);
}
Symbol 110 MovieClip Frame 1
play();
Symbol 110 MovieClip Frame 16
gotoAndPlay (1);
Symbol 111 Button
on (press) {
_root.prevFrame();
}
on (rollOver) {
gotoAndStop (5);
}
on (rollOut, dragOut, releaseOutside) {
gotoAndStop (1);
}
Symbol 114 MovieClip Frame 1
stop();
Symbol 168 MovieClip Frame 1
ccd_done = true;
stop();
Symbol 168 MovieClip Frame 7
stop();
Symbol 168 MovieClip Frame 12
START_X = -92;
END_X = 52;
DISTANCE = END_X - START_X;
ccd_done = false;
level_time = (_root.MAX_TIME + 1000) - (_root.current_level * 1000);
if (level_time < _root.MIN_TIME) {
level_time = _root.MIN_TIME;
}
old_block_time = 0;
current_block_time = 0;
current_game_time = old_block_time + current_block_time;
gotoAndPlay (16);
Symbol 168 MovieClip Frame 16
start_timer = getTimer();
old_block_time = current_game_time;
play();
Symbol 168 MovieClip Frame 17
current_block_time = getTimer() - start_timer;
current_game_time = old_block_time + current_block_time;
if (current_game_time >= level_time) {
bar._x = END_X;
_root.lever.anim.gotoAndPlay("intro");
_root.creme_sound.gotoAndStop("off");
gotoAndStop (1);
} else {
percent = current_game_time / level_time;
move = Math.floor(DISTANCE * percent);
if (move < 0) {
move = 0;
} else if (DISTANCE < move) {
move = DISTANCE;
}
bar._x = START_X + move;
play();
}
Symbol 168 MovieClip Frame 18
prevFrame();
Symbol 171 Button
on (press) {
if (_root.level_lost != true) {
_root.pause_on();
}
}
on (rollOver) {
gotoAndStop (5);
}
on (rollOut, dragOut, releaseOutside) {
gotoAndStop (1);
}
Symbol 174 MovieClip Frame 1
stop();
Symbol 180 Button
on (press) {
_root.cereal_click();
}
on (rollOver) {
gotoAndStop (9);
}
on (rollOut, dragOut, releaseOutside) {
gotoAndStop (5);
}
Symbol 183 MovieClip Frame 1
stop();
Symbol 195 MovieClip Frame 1
stop();
Symbol 195 MovieClip Frame 10
stop();
Symbol 195 MovieClip Frame 21
stop();
Symbol 196 MovieClip Frame 1
stop();
Symbol 196 MovieClip Frame 11
stop();
Instance of Symbol 195 MovieClip "bonus_pipes" in Symbol 196 MovieClip Frame 11
onClipEvent (enterFrame) {
this.pipe_count = _root.token_pipe_count;
if (this.pipe_count < TARGET) {
this.pipe_count = "-";
this.gotoAndStop("miss");
_root.target_pipes = false;
} else if (this.pipe_count == 0) {
this.gotoAndStop("bonus");
_root.target_pipes = true;
} else {
this.gotoAndStop("on");
_root.target_pipes = false;
}
}
Symbol 201 MovieClip Frame 1
stop();
Symbol 201 MovieClip Frame 8
play();
Symbol 201 MovieClip Frame 10
gotoAndStop (1);
Symbol 203 MovieClip Frame 1
left._yscale = 1;
right._yscale = 1;
pipe_filled = false;
stop();
Symbol 203 MovieClip Frame 6
stop();
Symbol 203 MovieClip Frame 13
_root.creme_name = _root.entrance;
if (this[_root.entrance]._yscale >= 100) {
this[_root.entrance]._yscale = 100;
_root.next_flow();
gotoAndStop (22);
} else {
this[_root.entrance]._yscale = this[_root.entrance]._yscale + _root.CREME_SPEED;
play();
}
Symbol 203 MovieClip Frame 14
prevFrame();
Symbol 203 MovieClip Frame 22
pipe_filled = true;
stop();
Symbol 204 MovieClip Frame 1
top._yscale = 1;
bottom._yscale = 1;
pipe_filled = false;
stop();
Symbol 204 MovieClip Frame 6
stop();
Symbol 204 MovieClip Frame 13
_root.creme_name = _root.entrance;
if (this[_root.entrance]._yscale >= 100) {
this[_root.entrance]._yscale = 100;
_root.next_flow();
gotoAndStop (22);
} else {
this[_root.entrance]._yscale = this[_root.entrance]._yscale + _root.CREME_SPEED;
play();
}
Symbol 204 MovieClip Frame 14
prevFrame();
Symbol 204 MovieClip Frame 22
pipe_filled = true;
stop();
Symbol 208 MovieClip Frame 1
top._yscale = 1;
bottom._yscale = 1;
left._yscale = 1;
right._yscale = 1;
pipe_filled = false;
horz_filled = false;
vert_filled = false;
stop();
Symbol 208 MovieClip Frame 6
stop();
Symbol 208 MovieClip Frame 13
_root.creme_name = _root.entrance;
if ((_root.entrance == "left") || (_root.entrance == "right")) {
horz_filled = true;
} else if ((_root.entrance == "top") || (_root.entrance == "bottom")) {
vert_filled = true;
}
if (this[_root.entrance]._yscale >= 100) {
this[_root.entrance]._yscale = 100;
_root.next_flow();
gotoAndStop (22);
} else {
this[_root.entrance]._yscale = this[_root.entrance]._yscale + _root.CREME_SPEED;
play();
}
Symbol 208 MovieClip Frame 14
prevFrame();
Symbol 208 MovieClip Frame 22
pipe_filled = true;
stop();
Symbol 211 MovieClip Frame 1
top._yscale = 1;
end_top._yscale = 1;
right._yscale = 1;
end_right._yscale = 1;
end_top._visible = false;
end_right._visible = false;
pipe_filled = false;
stop();
Symbol 211 MovieClip Frame 6
stop();
Symbol 211 MovieClip Frame 13
_root.creme_name = _root.entrance;
if (this[_root.entrance]._yscale >= 50) {
this[_root.entrance]._yscale = 50;
this["end_" + _root.entrance]._visible = true;
gotoAndPlay (29);
} else {
this[_root.entrance]._yscale = this[_root.entrance]._yscale + _root.CREME_SPEED;
play();
}
Symbol 211 MovieClip Frame 14
prevFrame();
Symbol 211 MovieClip Frame 21
curve_creme.gotoAndPlay("fill_" + _root.entrance);
stop();
Symbol 211 MovieClip Frame 29
_root.creme_name = "end_" + root.entrance;
if (this["end_" + _root.entrance]._yscale >= 35) {
this["end_" + _root.entrance]._yscale = 35;
if (_root.entrance == "top") {
_root.entrance = "left";
} else if (_root.entrance == "right") {
_root.entrance = "bottom";
}
_root.next_flow();
gotoAndStop (35);
} else {
this["end_" + _root.entrance]._yscale = this["end_" + _root.entrance]._yscale + _root.CREME_SPEED;
play();
}
Symbol 211 MovieClip Frame 30
prevFrame();
Symbol 211 MovieClip Frame 35
pipe_filled = true;
stop();
Symbol 214 MovieClip Frame 1
top._yscale = 1;
end_top._yscale = 1;
left._yscale = 1;
end_left._yscale = 1;
end_top._visible = false;
end_left._visible = false;
pipe_filled = false;
stop();
Symbol 214 MovieClip Frame 6
stop();
Symbol 214 MovieClip Frame 13
_root.creme_name = _root.entrance;
if (this[_root.entrance]._yscale >= 50) {
this[_root.entrance]._yscale = 50;
this["end_" + _root.entrance]._visible = true;
gotoAndPlay (29);
} else {
this[_root.entrance]._yscale = this[_root.entrance]._yscale + _root.CREME_SPEED;
play();
}
Symbol 214 MovieClip Frame 14
prevFrame();
Symbol 214 MovieClip Frame 21
curve_creme.gotoAndPlay("fill_" + _root.entrance);
stop();
Symbol 214 MovieClip Frame 29
_root.creme_name = "end_" + _root.entrance;
if (this["end_" + _root.entrance]._yscale >= 35) {
this["end_" + _root.entrance]._yscale = 35;
if (_root.entrance == "top") {
_root.entrance = "right";
} else if (_root.entrance == "left") {
_root.entrance = "bottom";
}
_root.next_flow();
gotoAndStop (38);
} else {
this["end_" + _root.entrance]._yscale = this["end_" + _root.entrance]._yscale + _root.CREME_SPEED;
play();
}
Symbol 214 MovieClip Frame 30
prevFrame();
Symbol 214 MovieClip Frame 38
pipe_filled = true;
stop();
Symbol 217 MovieClip Frame 1
bottom._yscale = 1;
end_bottom._yscale = 1;
left._yscale = 1;
end_left._yscale = 1;
end_bottom._visible = false;
end_left._visible = false;
pipe_filled = false;
stop();
Symbol 217 MovieClip Frame 6
stop();
Symbol 217 MovieClip Frame 13
_root.creme_name = _root.entrance;
if (this[_root.entrance]._yscale >= 50) {
this[_root.entrance]._yscale = 50;
this["end_" + _root.entrance]._visible = true;
gotoAndPlay (29);
} else {
this[_root.entrance]._yscale = this[_root.entrance]._yscale + _root.CREME_SPEED;
play();
}
Symbol 217 MovieClip Frame 14
prevFrame();
Symbol 217 MovieClip Frame 21
curve_creme.gotoAndPlay("fill_" + _root.entrance);
stop();
Symbol 217 MovieClip Frame 29
_root.creme_name = "end_" + _root.entrance;
if (this["end_" + _root.entrance]._yscale >= 35) {
this["end_" + _root.entrance]._yscale = 35;
if (_root.entrance == "bottom") {
_root.entrance = "right";
} else if (_root.entrance == "left") {
_root.entrance = "top";
}
_root.next_flow();
gotoAndStop (38);
} else {
this["end_" + _root.entrance]._yscale = this["end_" + _root.entrance]._yscale + _root.CREME_SPEED;
play();
}
Symbol 217 MovieClip Frame 30
prevFrame();
Symbol 217 MovieClip Frame 38
pipe_filled = true;
stop();
Symbol 220 MovieClip Frame 1
bottom._yscale = 1;
end_bottom._yscale = 1;
right._yscale = 1;
end_right._yscale = 1;
end_bottom._visible = false;
end_right._visible = false;
pipe_filled = false;
stop();
Symbol 220 MovieClip Frame 6
stop();
Symbol 220 MovieClip Frame 13
_root.creme_name = _root.entrance;
if (this[_root.entrance]._yscale >= 50) {
this[_root.entrance]._yscale = 50;
this["end_" + _root.entrance]._visible = true;
gotoAndPlay (29);
} else {
this[_root.entrance]._yscale = this[_root.entrance]._yscale + _root.CREME_SPEED;
play();
}
Symbol 220 MovieClip Frame 14
prevFrame();
Symbol 220 MovieClip Frame 21
curve_creme.gotoAndPlay("fill_" + _root.entrance);
stop();
Symbol 220 MovieClip Frame 29
_root.creme_name = _root.entrance;
if (this["end_" + _root.entrance]._yscale >= 35) {
this["end_" + _root.entrance]._yscale = 35;
if (_root.entrance == "bottom") {
_root.entrance = "left";
} else if (_root.entrance == "right") {
_root.entrance = "top";
}
_root.next_flow();
gotoAndStop (38);
} else {
this["end_" + _root.entrance]._yscale = this["end_" + _root.entrance]._yscale + _root.CREME_SPEED;
play();
}
Symbol 220 MovieClip Frame 30
prevFrame();
Symbol 220 MovieClip Frame 38
pipe_filled = true;
stop();
Symbol 235 MovieClip Frame 1
stop();
Symbol 235 MovieClip Frame 248
_root.next_flow();
_parent.gotoAndStop("on");
stop();
Symbol 235 MovieClip Frame 249
stop();
Symbol 235 MovieClip Frame 496
_root.next_flow();
_parent.gotoAndStop("on");
stop();
Symbol 236 MovieClip Frame 1
pipe_filled = false;
stop();
Symbol 236 MovieClip Frame 6
cream_mc.stop();
stop();
Symbol 236 MovieClip Frame 12
if (_root.entrance == "bottom") {
creme_mc.gotoAndPlay("side1");
} else {
creme_mc.gotoAndPlay("side2");
}
stop();
Symbol 236 MovieClip Frame 18
pipe_filled = true;
stop();
Symbol 237 MovieClip Frame 1
pipe_filled = false;
stop();
Symbol 237 MovieClip Frame 6
cream_mc.stop();
stop();
Symbol 237 MovieClip Frame 12
if (_root.entrance == "right") {
creme_mc.gotoAndPlay("side1");
} else {
creme_mc.gotoAndPlay("side2");
}
stop();
Symbol 237 MovieClip Frame 18
pipe_filled = true;
stop();
Symbol 246 MovieClip Frame 1
stop();
Symbol 246 MovieClip Frame 3
_root.total_score = Number(_root.total_score + 500);
play();
Symbol 246 MovieClip Frame 35
_root.next_flow();
_parent.gotoAndStop("on");
stop();
Symbol 247 MovieClip Frame 1
pipe_filled = false;
horz_filled = false;
vert_filled = false;
stop();
Symbol 247 MovieClip Frame 6
stop();
Symbol 247 MovieClip Frame 13
_root.creme_name = _root.entrance;
if (horz_filled || (vert_filled)) {
_root.token_pipe_bonus = 1000;
} else {
_root.token_pipe_bonus = 500;
}
if ((_root.entrance == "left") || (_root.entrance == "right")) {
horz_filled = true;
} else if ((_root.entrance == "top") || (_root.entrance == "bottom")) {
vert_filled = true;
}
creme_mc.gotoAndPlay(2);
stop();
Symbol 247 MovieClip Frame 22
pipe_filled = true;
stop();
Symbol 248 MovieClip Frame 1
stop();
Symbol 256 MovieClip Frame 1
var iFrame = (_root.MAX_TRIES - (_root.current_tries - 1));
trace("iFrame is: " + iFrame);
gotoAndStop(iFrame);
Instance of Symbol 255 MovieClip in Symbol 256 MovieClip Frame 1
onClipEvent (load) {
if (_level0.token3) {
this._visible = true;
} else {
this._visible = false;
}
}
Symbol 262 Button
on (press) {
_root.block_click(_name);
}
Symbol 264 MovieClip Frame 1
stop();
Symbol 264 MovieClip Frame 15
stop();
Symbol 270 MovieClip Frame 1
_root.entrance = "bottom";
stop();
Symbol 270 MovieClip Frame 2
_root.entrance = "right";
Symbol 270 MovieClip Frame 3
_root.entrance = "top";
Symbol 270 MovieClip Frame 4
_root.entrance = "left";
Symbol 276 MovieClip Frame 1
stop();
Symbol 276 MovieClip Frame 10
play();
Symbol 276 MovieClip Frame 23
_root.gotoAndStop("pay_off");
Symbol 290 MovieClip Frame 1
stop();
Symbol 293 Button
on (rollOver) {
nextFrame();
}
Symbol 303 MovieClip Frame 1
function set_place() {
_root.mouse_pipe._visible = false;
this._x = _root.GRID_AREA_X + ((_root.BLOCK_SIZE - 1) * blockObj.col);
this._y = _root.GRID_AREA_Y + ((_root.BLOCK_SIZE - 1) * blockObj.row);
_root.structure_container[struct_name]._visible = false;
}
function reset_place() {
_root.mouse_pipe._visible = true;
_root.place_pipe(pipe_name, blockObj);
this._x = -100;
this._y = -100;
gotoAndStop (1);
}
clip_playing = false;
stop();
Symbol 303 MovieClip Frame 10
clip_playing = true;
set_place();
play();
Symbol 303 MovieClip Frame 33
reset_place();
stop();
Symbol 304 MovieClip Frame 1
stop();
Symbol 304 MovieClip Frame 8
stop();
Symbol 309 MovieClip Frame 10
gotoAndPlay (1);
Symbol 309 MovieClip Frame 11
play();
Symbol 309 MovieClip Frame 25
play();
Symbol 309 MovieClip Frame 111
gotoAndPlay (25);
Symbol 309 MovieClip Frame 112
play();
Symbol 309 MovieClip Frame 165
gotoAndPlay (112);
Symbol 309 MovieClip Frame 169
stop();
Symbol 310 MovieClip Frame 1
stop();
Symbol 310 MovieClip Frame 7
stop();
Symbol 310 MovieClip Frame 12
max_time = (_root.MAX_ALIEN_TIME + 1000) - (_root.current_level * 1000);
if (max_time < _root.MIN_ALIEN_TIME) {
max_time = _root.MIN_ALIEN_TIME;
}
_root.alien_visible = false;
old_block_time = 0;
current_block_time = 0;
current_game_time = old_block_time + current_block_time;
gotoAndPlay (16);
Symbol 310 MovieClip Frame 16
start_timer = getTimer();
old_block_time = current_game_time;
play();
Symbol 310 MovieClip Frame 17
current_block_time = getTimer() - start_timer;
current_game_time = old_block_time + current_block_time;
if (current_game_time >= max_time) {
_root.show_alien();
gotoAndStop (1);
} else {
play();
}
Symbol 310 MovieClip Frame 18
prevFrame();
Symbol 320 Button
on (press) {
_root.alien_click();
}
Symbol 406 MovieClip Frame 1
anim_done = false;
play();
Symbol 406 MovieClip Frame 31
anim_done = true;
_root.total_score = _root.total_score - _root.MINUS_SCORE;
play();
Symbol 406 MovieClip Frame 33
gotoAndPlay (31);
Symbol 406 MovieClip Frame 37
stop();
Symbol 406 MovieClip Frame 42
play();
Symbol 406 MovieClip Frame 62
_parent.start_timer();
stop();
Symbol 407 MovieClip Frame 1
function start_timer() {
gotoAndStop (1);
timer.gotoAndPlay("init");
}
stop();
Symbol 407 MovieClip Frame 4
stop();
Symbol 451 MovieClip Frame 1
stop();
Symbol 451 MovieClip Frame 2
playing = true;
play();
Symbol 451 MovieClip Frame 53
playing = false;
_root.start_flow();
Symbol 451 MovieClip Frame 75
stop();
Symbol 452 MovieClip Frame 1
stop();
Symbol 454 MovieClip Frame 1
play();
Symbol 454 MovieClip Frame 55
_root.check_tries();
stop();
Symbol 455 MovieClip Frame 1
play();
Symbol 455 MovieClip Frame 55
_root.check_tries();
stop();
Symbol 456 MovieClip Frame 1
play();
Symbol 456 MovieClip Frame 55
_root.check_tries();
stop();
Symbol 457 MovieClip Frame 1
play();
Symbol 457 MovieClip Frame 53
_root.check_tries();
stop();
Symbol 458 MovieClip Frame 1
stop();
Symbol 459 MovieClip Frame 1
pipes.gotoAndStop(_root.current_pipe);
this._x = _root._xmouse;
this._y = _root._ymouse;
play();
Symbol 459 MovieClip Frame 2
prevFrame();
Symbol 459 MovieClip Frame 6
stop();
Symbol 459 MovieClip Frame 10
this._x = _root._xmouse;
this._y = _root._ymouse;
play();
Symbol 459 MovieClip Frame 11
prevFrame();
Symbol 460 Button
on (rollOver) {
nextFrame();
}
Symbol 461 Button
on (rollOver) {
prevFrame();
}
Symbol 469 Button
on (press) {
_root.end_game(_root.total_score);
}
on (rollOver) {
gotoAndStop (5);
}
on (rollOut, dragOut, releaseOutside) {
gotoAndStop (1);
}
Symbol 472 MovieClip Frame 1
stop();
Symbol 475 Button
on (press) {
_root.resume();
}
on (rollOver) {
gotoAndStop (5);
}
on (rollOut, dragOut, releaseOutside) {
gotoAndStop (1);
}
Symbol 478 MovieClip Frame 1
stop();
Symbol 481 Button
on (press) {
_root.pause_off();
}
on (rollOver) {
gotoAndStop (5);
}
on (rollOut, dragOut, releaseOutside) {
gotoAndStop (1);
}
Symbol 484 MovieClip Frame 1
stop();
Symbol 487 Button
on (press) {
_parent.gotoAndStop("help");
}
on (rollOver) {
gotoAndStop (5);
}
on (rollOut, dragOut, releaseOutside) {
gotoAndStop (1);
}
Symbol 490 MovieClip Frame 1
stop();
Symbol 492 Button
on (press) {
if (_root.all_sounds.getVolume() == 0) {
_root.all_sounds.setVolume(100);
} else {
_root.all_sounds.setVolume(0);
}
}
on (rollOver) {
gotoAndStop (5);
}
on (rollOut, dragOut, releaseOutside) {
gotoAndStop (1);
}
Symbol 494 MovieClip Frame 1
stop();
Symbol 496 Button
on (press) {
_root.quit(_name);
}
on (rollOver) {
gotoAndStop (5);
}
on (rollOut, dragOut, releaseOutside) {
gotoAndStop (1);
}
Symbol 498 MovieClip Frame 1
stop();
Symbol 499 Button
on (press) {
_parent.nextFrame();
}
on (rollOver) {
gotoAndStop (10);
}
on (rollOut, dragOut, releaseOutside) {
gotoAndPlay (1);
}
Symbol 500 MovieClip Frame 1
play();
Symbol 500 MovieClip Frame 18
gotoAndPlay (1);
Symbol 501 Button
on (press) {
_parent.prevFrame();
}
on (rollOver) {
gotoAndStop (5);
}
on (rollOut, dragOut, releaseOutside) {
gotoAndStop (1);
}
Symbol 502 MovieClip Frame 1
stop();
Symbol 507 MovieClip Frame 1
function stop_game() {
_root.mouse_pipe.gotoAndStop("off");
_root.mouse_pipe._x = -100;
_root.mouse_pipe._y = -100;
_root.game_paused = true;
}
_root.mouse_pipe.gotoAndPlay("on");
stop();
Symbol 507 MovieClip Frame 6
stop();
Symbol 507 MovieClip Frame 11
stop_game();
stop();
Symbol 507 MovieClip Frame 16
stop();
Symbol 526 MovieClip Frame 1
play();
Symbol 526 MovieClip Frame 43
_root.gotoAndStop("trans");
stop();
Symbol 538 MovieClip Frame 11
stop();
Symbol 544 MovieClip Frame 1
play();
Symbol 544 MovieClip Frame 8
_root.gotoAndStop("dance");
Symbol 545 MovieClip Frame 1
play();
Symbol 545 MovieClip Frame 14
_parent.show_anim();
gotoAndPlay (1);
Symbol 550 MovieClip Frame 1
play();
Symbol 550 MovieClip Frame 33
_parent.show_anim();
gotoAndPlay (1);
Symbol 551 MovieClip Frame 1
play();
Symbol 551 MovieClip Frame 20
_parent.show_anim();
gotoAndPlay (1);
Symbol 552 MovieClip Frame 1
play();
Symbol 552 MovieClip Frame 21
_parent.show_anim();
gotoAndPlay (1);
Symbol 553 MovieClip Frame 1
play();
Symbol 553 MovieClip Frame 20
_parent.show_anim();
gotoAndPlay (1);
Symbol 554 MovieClip Frame 1
play();
Symbol 554 MovieClip Frame 25
_parent.show_anim();
gotoAndPlay (1);
Symbol 555 MovieClip Frame 1
play();
Symbol 555 MovieClip Frame 20
_parent.show_anim();
gotoAndPlay (1);
Symbol 556 MovieClip Frame 1
play();
Symbol 556 MovieClip Frame 61
_parent.show_anim();
gotoAndPlay (1);
Symbol 557 MovieClip Frame 1
play();
Symbol 557 MovieClip Frame 20
_parent.show_anim();
gotoAndPlay (1);
Symbol 558 MovieClip Frame 1
play();
Symbol 558 MovieClip Frame 41
_parent.show_anim();
gotoAndPlay (1);
Symbol 559 MovieClip Frame 1
function show_anim() {
if (current_anim < danceArray.length) {
trace("We are going to play Anim: " + danceArray[current_anim]);
gotoAndStop(danceArray[current_anim]);
_root.dance_done = false;
} else {
trace("No anims left to play, go to the prompt");
_root.dance_done = true;
gotoAndStop (2);
}
current_anim++;
}
function randomize_dances() {
danceArray = new Array();
if (_root.current_level < MAX_ANIMS) {
numAnims = _root.current_level;
} else {
numAnims = MAX_ANIMS;
}
i = 0;
while (i < numAnims) {
danceArray[i] = i + 2;
i++;
}
i = 0;
while (i < numAnims) {
swap = danceArray[i];
random_index = i + random(numAnims - i);
danceArray[i] = danceArray[random_index];
danceArray[random_index] = swap;
i++;
}
trace("danceArray Elements are: " + danceArray);
}
MAX_ANIMS = 10;
current_anim = 0;
randomize_dances();
show_anim();
stop();
Symbol 561 MovieClip Frame 1
stop();
Symbol 561 MovieClip Frame 15
play();
Symbol 561 MovieClip Frame 16
play();
Symbol 561 MovieClip Frame 106
if (_root.dance_done == true) {
stopAllSounds();
_root.gotoAndStop("prompt");
gotoAndStop (1);
} else {
gotoAndPlay (16);
}
Symbol 563 Button
on (press) {
_root.creme_sound.gotoAndStop("off");
stopAllSounds();
_root.next_level();
}
on (rollOver) {
gotoAndStop (5);
}
on (rollOut, dragOut, releaseOutside) {
gotoAndStop (1);
}
Symbol 565 MovieClip Frame 1
stop();
Symbol 573 Button
on (press) {
_root.gotoAndStop("game");
}
on (rollOver) {
gotoAndStop (5);
}
on (rollOut, dragOut, releaseOutside) {
gotoAndStop (1);
}
Symbol 574 MovieClip Frame 1
stop();
Symbol 584 Button
on (press) {
_root.new_game();
}
on (rollOver) {
gotoAndStop (5);
}
on (rollOut, dragOut, releaseOutside) {
gotoAndStop (1);
}
Symbol 587 MovieClip Frame 1
stop();