Frame 2
if (_framesloaded < 9) {
gotoAndPlay (1);
}
Frame 3
function loadFps(x, y) {
var _local1 = _root;
_local1.createEmptyMovieClip("mcFps", _local1.getNextHighestDepth());
_local1.mcFps.loadMovie(_global.baseUrl + "shared/fps/fps.swf");
_local1.mcFps._x = x;
_local1.mcFps._y = y;
}
function getUserInfo_cb() {
_root.play();
}
function loadTout(initParams) {
var _local2 = _root;
toutName = _local2.toutname;
trace((("_root.toutname:" + _local2.toutname) + "_root:") + _local2);
var _local1 = ((_global.baseUrl + "sharedAssets/as2/touts/") + toutName) + ".swf";
trace((("toutUrl:" + _local1) + ",") + initParams.containerClip);
initParams.containerClip.loadMovie(_local1);
}
function clearTout(initParmams) {
initParams.scope.mcTout.removeMovieClip();
}
function setRightClickMenu() {
MENU = new ContextMenu();
MENU.hideBuiltInItems();
Functioned = new ContextMenuItem("Copyright \u00A9 Pizmo Games", undefined);
MENU.customItems.push(Functioned);
_root.menu = MENU;
}
function sendToAFriend() {
getURL ("javascript:sendtofriend()");
}
function dTrace(str) {
if (_root.mcDebug == undefined) {
trace(str);
} else {
_root.mcDebug.dTrace(str);
}
}
function gotoPizmo() {
getURL ("http://www.pizmogames.com", "_new");
}
function checkCopyProtection() {
if (pizmoFlag) {
actualURL = this._url.split("?")[0];
validLoad = true;
cpError = "";
if (Stage.scaleMode != "exactFit") {
validLoad = false;
cpError = cpError + (("CP failure code 1: scaleMode:" + Stage.scaleMode) + " ");
}
if ((actualURL.indexOf("http://pizmogames.com") == -1) && (actualURL.indexOf("http://www.pizmogames.com") == -1)) {
validLoad = false;
cpError = cpError + "CP failure code 2 ";
}
if (gLoadedFromHtml != "true") {
}
if ((!validLoad) and (!gShockwave)) {
getURL ("http://www.pizmogames.com");
stop();
trace("failed copyright protection:" + cpError);
}
}
}
function initGlobals() {
numLevels = 5;
unitX = 49;
unitY = 46;
uDivisions = 4;
origX = 125 + (unitX / 2);
origY = 10 + (unitY / 2);
}
function initGame() {
level = 1;
lives = 3;
score = 0;
}
function initlevel() {
setlocalscore = false;
numHoles = 0;
bonus = 50;
bonusticker.play();
trace("init level");
gameOver = false;
i = 1;
leveldata = eval ("leveldata" add level);
numHappyHeads = 0;
while (Number((i * 4) - 1) <= Number(length(leveldata))) {
headX = substring(levelData, Number((i - 1) * 4) + 1, 1);
headY = substring(leveldata, Number((i - 1) * 4) + 2, 1);
t = substring(leveldata, Number((i - 1) * 4) + 3, 1);
setProperty("h" add i, _x , Number(origX) + Number(unitX * (headX - 1)));
setProperty("h" add i, _y , Number(origY) + Number(unitY * (headY - 1)));
if (t eq "h") {
numHappyHeads++;
}
tellTarget ("h" add i) {
gotoAndPlay(/:t);
type = /:t;
me = "h" add /:i;
};
i = i + 1;
}
numHeads = Number(int(length(leveldata) / 4)) + 1;
trace("numheads:" + numheads);
while (i <= numHeads) {
setProperty("h" add i, _x , "-1000");
i = i + 1;
}
i = 1;
while (i <= 3) {
tellTarget ("lifepill" add i) {
gotoAndStop (2);
};
i = i + 1;
}
i = 1;
while (i < lives) {
tellTarget ("lifepill" add i) {
gotoAndStop (1);
};
i = i + 1;
}
startDrag ("drag", true, origX, origY, Number(origX) + Number(unitX * 7), Number(origY) + Number(unitY * 7));
}
function stepDrag() {
oldGridX = gridX;
oldGridY = gridY;
gridX = int(((drag._x + 12) - origX) / unitX);
gridY = int(((drag._y + 12) - origY) / unitY);
validPos = true;
overHead = false;
i = 1;
while (i <= numHeads) {
if (((origX + (gridX * unitX)) == getProperty("h" add i, _x)) and ((origY + (gridY * unitY)) == getProperty("h" add i, _y))) {
overHead = true;
}
i++;
}
if (((gridX == 0) and ((gridY == 0) or (gridY == 7))) or ((gridX == 7) and ((gridY == 7) or (gridY == 0)))) {
i = 1;
while (i <= numHeads) {
if (((origX + (gridX * unitX)) == getProperty("h" add i, _x)) and (((origY + ((gridY - 1) * unitY)) == getProperty("h" add i, _y)) or ((origY + ((gridY + 1) * unitY)) == getProperty("h" add i, _y)))) {
validPos = false;
}
if (((origY + (gridY * unitY)) == getProperty("h" add i, _y)) and (((origX + ((gridX - 1) * unitX)) == getProperty("h" add i, _x)) or ((origX + ((gridX + 1) * unitX)) == getProperty("h" add i, _x)))) {
validPos = false;
}
i++;
}
}
gridOffsetToCheckX = 0;
gridOffsetToCheckY = 0;
if (gridX == 0) {
gridOffsetToCheckX = 1;
}
if (gridX == 7) {
gridOffsetToCheckX = -1;
}
if (gridY == 0) {
gridOffsetToCheckY = 1;
}
if (gridY == 7) {
gridOffsetToCheckY = -1;
}
if (((gridOffsetToCheckX != 0) or (gridOffsetToCheckY != 0)) and ((gridOffsetToCheckY * gridOffsetToCheckX) == 0)) {
i = 1;
while (i <= numHeads) {
mcHead = eval ("h" + i);
if ((xToGrid(mcHead._x) == (gridX + gridOffsetToCheckX)) and (yToGrid(mcHead._y) == (gridY + gridOffsetToCheckY))) {
validPos = false;
}
i++;
}
}
if ((validPos and (!overHead)) and ((oldgridX != gridX) or (gridY != oldGridY))) {
setProperty("pill", _x , Number(origX) + Number(gridX * unitX));
setProperty("pill", _y , Number(origY) + Number(gridY * unitY));
tellTarget ("sound") {
gotoAndPlay ("move");
};
}
if (!validPos) {
mcNoSymbol._x = origX + (gridX * unitX);
mcNoSymbol._y = origY + (gridY * unitY);
} else {
mcNoSymbol._x = -1000;
}
}
function xToGrid(x) {
return(int((x - origX) / unitX));
}
function yToGrid(y) {
return(int((y - origY) / unitY));
}
function logActivity(activity) {
if (_root.pizmoFlag) {
url = (_global.baseUrl + activity) + ".swf";
mcLogLoadDummy.loadMovie(url);
}
}
function sendToAFriend() {
getURL ("javascript:sendtofriend()");
}
urlArr = this._url.split("/");
_global.baseUrl = "";
var i = 0;
while (i < (urlArr.length - 3)) {
_global.baseUrl = _global.baseUrl + (urlArr[i] + "/");
i++;
}
trace("_global.baseUrl:" + _global.baseUrl);
_global.gameBaseUrl = "";
var i = 0;
while (i < (urlArr.length - 1)) {
_global.gameBaseUrl = _global.gameBaseUrl + (urlArr[i] + "/");
i++;
}
trace("_global.gameBaseUrl:" + _global.gameBaseUrl);
_global.padString = function (str, char, num) {
var _local2 = num;
var _local3 = char;
var _local1 = str;
while (_local1.length < _local2) {
_local1 = _local3 + _local1;
}
return(_local1);
};
String.prototype.pluralize = function (num) {
if (Math.abs(num) > 1) {
this = this + "s";
}
};
Array.prototype.duplicateArray = function () {
var _local3 = this.length;
var _local2 = new Array();
var _local1 = 0;
while (_local1 < _local3) {
_local2.push(this[_local1]);
_local1++;
}
return(_local2);
};
Array.prototype.getPos = function (val) {
var _local2 = this;
var _local3 = -1;
var _local1;
_local1 = 0;
while (_local1 < _local2.length) {
if (_local2[_local1] == val) {
_local3 = _local1;
}
_local1++;
}
return(_local3);
};
Array.prototype.deleteItem = function (item) {
var _local1 = this.getPos(item);
if (_local1 != -1) {
this.splice(_local1, 1);
}
};
setRightClickMenu();
checkCopyProtection();
_root.pizmoFlag = true;
_root.pizmoLinkAllowed = true;
System.security.allowDomain("pizmogames.com");
System.security.allowDomain("www.pizmogames.com");
showDebugLog = false;
if (showDebugLog) {
_root.createEmptyMovieClip("mcDebug", _root.getNextHighestDepth());
_root.mcDebug._x = 10;
var cLoader = new MovieClipLoader();
cLoader.onLoadInit = function () {
};
cLoader.onLoadError = function (s) {
trace("error loading :" + s);
};
cLoader.loadClip(_global.baseUrl + "shared/debug/debugLog.swf", _root.mcDebug);
}
showFps = false;
if (showFps) {
loadFps(5, 5);
}
Frame 5
if (starttime == undefined) {
starttime = getTimer();
delaySeconds = 1;
gotoAndPlay(_currentframe - 1);
} else if ((getTimer() - starttime) < (delaySeconds * 1000)) {
gotoAndPlay(_currentframe - 1);
} else {
starttime = undefined;
}
Frame 8
if (starttime == undefined) {
starttime = getTimer();
delaySeconds = 2;
gotoAndPlay(_currentframe - 1);
} else if ((getTimer() - starttime) < (delaySeconds * 1000)) {
gotoAndPlay(_currentframe - 1);
} else {
starttime = undefined;
}
Frame 10
pctLoaded = getBytesLoaded() / getBytesTotal();
if (pctLoaded < 1) {
gotoAndPlay ("load");
}
Frame 16
v = getVersion().split(" ");
gPlatform = v[0];
arr = v[1].split(",");
version = Number(arr[0]);
if (version >= 6) {
gotoAndPlay ("trans to title");
}
Frame 17
stop();
Frame 20
transitionLabel = "";
transition.gotoAndPlay(2);
Instance of Symbol 62 MovieClip in Frame 23
onClipEvent (load) {
if (!_root.pizmoFlag) {
if (_root.pizmoLinkAllowed) {
gotoAndStop (3);
} else {
gotoAndStop (2);
}
}
}
Frame 24
sound.gotoAndPlay("laughecho");
initGlobals();
Frame 35
gotoAndStop ("title loop");
Frame 64
transitionLabel = "mm";
transition.gotoAndPlay(2);
Frame 70
sound.gotoAndPlay("tick loop");
Frame 104
transitionLabel = "";
tellTarget ("/transition") {
gotoAndPlay (2);
};
Frame 108
gotoAndPlay ("init game");
Frame 109
transitionLabel = "";
tellTarget ("/transition") {
gotoAndPlay (2);
};
Frame 114
tellTarget ("/hi1/h") {
gotoAndPlay ("happy 0");
};
tellTarget ("/hi2/h") {
gotoAndPlay ("happy 2 loop");
};
Frame 128
gotoAndPlay ("instructions loop");
Frame 130
transitionLabel = "";
transition.gotoAndPlay(2);
Frame 132
gotoAndPlay ("title");
Frame 134
initGame();
Frame 136
initLevel();
Frame 138
stepDrag();
Frame 139
gotoAndPlay ("drag");
Frame 141
startDrag ("drag", true, origX, origY, Number(origX) + Number(unitX * 7), Number(origY) + Number(unitY * 7));
pill.gotoAndStop(2);
Frame 144
oldPillDx = pillDx;
oldPillDy = pillDy;
if (Number(getProperty("drag", _x)) < pill._x) {
if (Number(getProperty("drag", _y)) < pill._y) {
rot = 180;
pilldx = (-unitX) / uDivisions;
pilldy = (-unitY) / uDivisions;
} else {
rot = 97;
pilldx = (-unitX) / uDivisions;
pilldy = unitY / uDivisions;
}
} else if (Number(getProperty("drag", _y)) < pill._y) {
rot = 277;
pilldx = unitX / uDivisions;
pilldy = (-unitY) / uDivisions;
} else {
rot = 0;
pilldx = unitX / uDivisions;
pilldy = unitY / uDivisions;
}
if ((Number(oldPillDx) != pilldx) or (Number(oldPillDy) != pilldy)) {
setProperty("pill", _rotation , rot);
tellTarget ("/sound") {
gotoAndPlay ("move");
};
}
gotoAndPlay ("rotate");
Frame 146
gameOver = false;
startDx = pillDx;
startDy = pillDy;
startX = pill._x;
startY = pill._y;
numLoops = 0;
pill.gotoAndStop(1);
Frame 148
newpilldx = pilldx;
newpilldy = pilldy;
i = 1;
while (i <= numHeads) {
headHit = false;
if (pill._x == getProperty("h" add i, _x)) {
if ((pill._y == (getProperty("h" add i, _y) + unitY)) and (pilldy < 0)) {
newpilldy = -pilldy;
headhit = true;
}
if ((pill._y == (getProperty("h" add i, _y) - unitY)) and (pilldy > 0)) {
newpilldy = -pilldy;
headHit = true;
}
}
if (pill._y == getProperty("h" add i, _y)) {
if ((pill._x == (getProperty("h" add i, _x) + unitX)) and (pillDx < 0)) {
newpilldx = -pilldx;
headhit = true;
}
if ((pill._x == (getProperty("h" add i, _x) - unitX)) and (pillDx > 0)) {
newpilldx = -pilldx;
headHit = true;
}
}
if (headHit and (!gameover)) {
tellTarget ("h" add i) {
if (type eq "h") {
happy = Number(happy) + 1;
gotoAndPlay("happy " add happy);
} else if (type == "b") {
trace("balloon hit");
gotoAndPlay ("b pop");
}
};
}
i = i + 1;
}
if ((Number(newpilldx) == pilldx) and (Number(newpilldy) == pilldy)) {
i = 1;
while (i <= numHeads) {
if (((pill._x + (pillDx * 2)) == getProperty("h" add i, _x)) and ((pill._y + (pillDy * 2)) == getProperty("h" add i, _y))) {
newpilldx = -pilldx;
newpilldy = -pilldy;
tellTarget ("h" add i) {
if (type eq "h") {
happy = Number(happy) + 1;
gotoAndPlay("happy " add happy);
} else if (type == "b") {
gotoAndPlay ("b pop");
}
};
}
i = i + 1;
}
}
if ((Number(pill._x + pilldx) < Number(origX)) or (Number(pill._x + pilldx) > Number(Number(origX) + Number(7 * unitX)))) {
newpilldx = -pilldx;
pill.gotoAndPlay("wall");
}
if ((Number(pill._y + pilldy) < Number(origY)) or (Number(pill._y + pilldy) > Number(Number(origY) + Number(7 * unitY)))) {
newpilldy = -pilldy;
pill.gotoAndPlay("wall");
}
pilldx = newpilldx;
pilldy = newpilldy;
if (pilldx > 0) {
if (pilldy > 0) {
rot = 0;
} else {
rot = 277;
}
} else if (pilldy > 0) {
rot = 97;
} else {
rot = 180;
}
setProperty("pill", _rotation , rot);
i = 1;
while (i <= numHoles) {
if ((newX == getProperty("r" add i, _x)) and (newY == getProperty("r" add i, _y))) {
gameover = true;
gotoAndPlay ("over");
}
i = i + 1;
}
newX = pill._x + pilldx;
newY = pill._y + pilldy;
setProperty("pill", _y , newY);
setProperty("pill", _x , newX);
Frame 149
if ((((pill._x == startX) and (pill._y == startY)) and (pilldx == startdx)) and (pilldy == startdy)) {
numLoops++;
}
if (numLoops == 4) {
mcMessage.gotoAndPlay("lose");
gotoAndPlay ("over");
} else {
numHappy = 0;
i = 1;
while (i <= numHeads) {
mcHead = eval ("h" + i);
if (mcHead.happy == 4) {
gameover = true;
}
if ((mcHead.happy > 0) and (mcHead.happy < 4)) {
numHappy++;
}
i = i + 1;
}
if (numHappy == numHappyHeads) {
score = (score + (level * 10)) + bonus;
bonusticker.stop();
mcMessage.gotoAndPlay("win");
trackingUrl = "level_complete_" + level;
logActivity(trackingUrl);
gotoAndPlay ("over");
} else if (gameover) {
mcMessage.gotoAndPlay("od");
gotoAndPlay ("over");
} else {
gotoAndPlay ("go");
}
}
Frame 151
bonusticker.stop();
Frame 155
stop();
Frame 156
transitionLabel = "";
transition.gotoAndPlay(2);
Frame 160
gotoAndPlay ("init level");
Frame 164
transitionLabel = "";
tellTarget ("/transition") {
gotoAndPlay (2);
};
Frame 168
gotoAndPlay ("title");
Frame 177
editlevnum = 1;
Frame 178
editordata = "";
alltypes = "bh";
t = 1;
while (Number(t) <= Number(length(alltypes))) {
type = substring(alltypes, t, 1);
i = 1;
while (i <= 30) {
gridX = int(((getProperty(type add i, _x) + 12) - origX) / unitX) + 1;
gridY = int(((getProperty(type add i, _y) + 12) - origY) / unitY) + 1;
if ((((Number(gridX) > 0) and (Number(gridX) <= 8)) and (Number(gridY) > 0)) and (Number(gridY) <= 8)) {
if (editordata ne "") {
editordata = editordata add ",";
}
editordata = ((editordata add gridX) add gridy) add type;
}
i = i + 1;
}
t = Number(t) + 1;
}
trace(editordata);
Set("leveldata" add editlevnum, editordata);
editlevnum = Number(editlevnum) + 1;
Frame 179
editordata = "";
alltypes = "bh";
t = 1;
while (Number(t) <= Number(length(alltypes))) {
type = substring(alltypes, t, 1);
i = 1;
while (i <= 30) {
gridX = int(((getProperty(type add i, _x) + 12) - origX) / unitX) + 1;
gridY = int(((getProperty(type add i, _y) + 12) - origY) / unitY) + 1;
if ((((Number(gridX) > 0) and (Number(gridX) <= 8)) and (Number(gridY) > 0)) and (Number(gridY) <= 8)) {
if (editordata ne "") {
editordata = editordata add ",";
}
editordata = ((editordata add gridX) add gridy) add type;
}
i = i + 1;
}
t = Number(t) + 1;
}
trace(editordata);
Set("leveldata" add editlevnum, editordata);
editlevnum = Number(editlevnum) + 1;
Frame 180
editordata = "";
alltypes = "bh";
t = 1;
while (Number(t) <= Number(length(alltypes))) {
type = substring(alltypes, t, 1);
i = 1;
while (i <= 30) {
gridX = int(((getProperty(type add i, _x) + 12) - origX) / unitX) + 1;
gridY = int(((getProperty(type add i, _y) + 12) - origY) / unitY) + 1;
if ((((Number(gridX) > 0) and (Number(gridX) <= 8)) and (Number(gridY) > 0)) and (Number(gridY) <= 8)) {
if (editordata ne "") {
editordata = editordata add ",";
}
editordata = ((editordata add gridX) add gridy) add type;
}
i = i + 1;
}
t = Number(t) + 1;
}
trace(editordata);
Set("leveldata" add editlevnum, editordata);
editlevnum = Number(editlevnum) + 1;
Frame 181
editordata = "";
alltypes = "bh";
t = 1;
while (Number(t) <= Number(length(alltypes))) {
type = substring(alltypes, t, 1);
i = 1;
while (i <= 30) {
gridX = int(((getProperty(type add i, _x) + 12) - origX) / unitX) + 1;
gridY = int(((getProperty(type add i, _y) + 12) - origY) / unitY) + 1;
if ((((Number(gridX) > 0) and (Number(gridX) <= 8)) and (Number(gridY) > 0)) and (Number(gridY) <= 8)) {
if (editordata ne "") {
editordata = editordata add ",";
}
editordata = ((editordata add gridX) add gridy) add type;
}
i = i + 1;
}
t = Number(t) + 1;
}
trace(editordata);
Set("leveldata" add editlevnum, editordata);
editlevnum = Number(editlevnum) + 1;
Frame 182
editordata = "";
alltypes = "bh";
t = 1;
while (Number(t) <= Number(length(alltypes))) {
type = substring(alltypes, t, 1);
i = 1;
while (i <= 30) {
gridX = int(((getProperty(type add i, _x) + 12) - origX) / unitX) + 1;
gridY = int(((getProperty(type add i, _y) + 12) - origY) / unitY) + 1;
if ((((Number(gridX) > 0) and (Number(gridX) <= 8)) and (Number(gridY) > 0)) and (Number(gridY) <= 8)) {
if (editordata ne "") {
editordata = editordata add ",";
}
editordata = ((editordata add gridX) add gridy) add type;
}
i = i + 1;
}
t = Number(t) + 1;
}
trace(editordata);
Set("leveldata" add editlevnum, editordata);
editlevnum = Number(editlevnum) + 1;
Frame 183
gotoAndPlay ("init level");
Frame 191
gotoAndPlay ("title");
Symbol 5 MovieClip Frame 1
stop();
Symbol 5 MovieClip Frame 5
tellTarget ("../") {
if (Number(transitionLabel) != Number("")) {
gotoAndPlay(transitionLabel);
}
};
Symbol 33 Button
on (release) {
getURL ("http://www.macromedia.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash&P5_Language=English", "mm");
}
Symbol 48 Button
on (release) {
gotoAndPlay ("high scores");
}
Symbol 51 Button
on (release) {
_parent.gotoAndPlay("title to init");
}
Symbol 52 Button
on (release) {
_parent.gotoAndPlay("title to instructions");
}
Symbol 56 Button
on (release) {
_root.sendToAFriend();
}
Symbol 60 Button
on (release) {
_root.gotoPizmo();
}
Symbol 62 MovieClip Frame 1
stop();
Symbol 73 MovieClip Frame 1
stop();
Symbol 73 MovieClip Frame 7
gotoAndStop (1);
Symbol 73 MovieClip Frame 11
gotoAndStop (1);
Symbol 73 MovieClip Frame 15
gotoAndStop (1);
Symbol 73 MovieClip Frame 21
gotoAndStop (1);
Symbol 73 MovieClip Frame 27
gotoAndStop (1);
Symbol 73 MovieClip Frame 33
gotoAndStop (1);
Symbol 73 MovieClip Frame 39
gotoAndStop (1);
Symbol 73 MovieClip Frame 45
gotoAndStop (1);
Symbol 73 MovieClip Frame 51
gotoAndStop (1);
Symbol 73 MovieClip Frame 57
gotoAndStop (1);
Symbol 73 MovieClip Frame 63
gotoAndStop (1);
Symbol 73 MovieClip Frame 82
gotoAndStop (1);
Symbol 95 MovieClip Frame 1
stop();
Symbol 95 MovieClip Frame 17
gotoAndPlay (1);
Symbol 95 MovieClip Frame 34
gotoAndStop (1);
Symbol 114 MovieClip Frame 1
gotoAndPlay(random(10));
Symbol 114 MovieClip Frame 29
gotoAndPlay (2);
Symbol 117 MovieClip Frame 1
gotoAndPlay(random(10));
Symbol 117 MovieClip Frame 36
gotoAndPlay (2);
Symbol 119 MovieClip Frame 1
happy = 0;
numLevels = 3;
Symbol 119 MovieClip Frame 3
if (Number(random(25)) == 0) {
tellTarget ("e1") {
gotoAndPlay ("grimace");
};
tellTarget ("e2") {
gotoAndPlay ("grimace");
};
}
gotoAndPlay ("happy 0");
Symbol 119 MovieClip Frame 7
if (Number(random(13)) == 0) {
tellTarget ("e1") {
gotoAndPlay ("blink");
};
tellTarget ("e2") {
gotoAndPlay ("blink");
};
}
gotoAndPlay ("happy 1 loop");
Symbol 119 MovieClip Frame 11
if (Number(random(13)) == 0) {
tellTarget ("e1") {
gotoAndPlay ("blink");
};
tellTarget ("e2") {
gotoAndPlay ("blink");
};
}
gotoAndPlay ("happy 2 loop");
Symbol 119 MovieClip Frame 15
if (Number(random(7)) == 0) {
tellTarget ("e1") {
gotoAndPlay ("blink");
};
}
if (Number(random(7)) == 0) {
tellTarget ("e2") {
gotoAndPlay ("blink");
};
}
gotoAndPlay ("happy 3 loop");
Symbol 119 MovieClip Frame 19
gotoAndPlay ("happy 4 loop");
Symbol 119 MovieClip Frame 23
stop();
Symbol 119 MovieClip Frame 26
setProperty("../" add me, _x , "-1000");
stop();
Symbol 119 MovieClip Frame 27
stop();
Symbol 135 Button
on (release) {
gotoAndPlay ("title");
}
Symbol 139 MovieClip Frame 1
stop();
Symbol 139 MovieClip Frame 2
stop();
Symbol 139 MovieClip Frame 3
tellTarget ("../sound") {
randwall = "wall" add (random(3) + 1);
gotoAndPlay(randwall);
};
Symbol 139 MovieClip Frame 6
gotoAndStop (1);
Symbol 139 MovieClip Frame 8
stop();
Symbol 149 Button
on (rollOver, press, release, dragOver) {
stopDrag();
gotoAndPlay ("title");
}
Symbol 157 MovieClip Frame 1
stop();
Symbol 159 MovieClip Frame 11
tellTarget ("../") {
if (Number(bonus) > 0) {
bonus = bonus - 1;
}
};
gotoAndPlay (1);
Symbol 162 Button
on (release) {
stopDrag();
gotoAndPlay ("init rotate");
tellTarget ("sound") {
gotoAndPlay ("drop");
};
}
Symbol 163 Button
on (release) {
stopDrag();
gotoAndPlay ("init go");
tellTarget ("/sound") {
gotoAndPlay ("shoot");
};
}
Symbol 166 Button
on (release) {
gotoAndPlay ("over");
tellTarget ("/mcMessage") {
gotoAndPlay ("abort");
};
}
Symbol 187 Button
on (release) {
_root.gotoAndPlay("title");
}
Symbol 188 MovieClip Frame 58
stop();
Symbol 204 MovieClip Frame 1
_root.loadTout({containerClip:mcTout});
stop();
Symbol 204 MovieClip Frame 2
stop();
Symbol 208 Button
on (release) {
_root.sendToAFriend();
}
Symbol 211 Button
on (release) {
_root.gotoAndPlay("title");
}
Symbol 218 Button
on (release) {
_root.gotoPizmo();
}
Symbol 219 MovieClip Frame 1
stop();
Instance of Symbol 204 MovieClip "mcTout" in Symbol 219 MovieClip Frame 1
onClipEvent (load) {
_visible = _root.pizmoFlag;
}
Instance of Symbol 214 MovieClip in Symbol 219 MovieClip Frame 1
onClipEvent (load) {
_visible = _root.pizmoFlag;
}
Symbol 220 MovieClip Frame 1
stop();
Instance of Symbol 219 MovieClip in Symbol 220 MovieClip Frame 1
onClipEvent (load) {
if (!_root.pizmoFlag) {
if (_root.pizmoLinkAllowed) {
gotoAndStop (3);
} else {
gotoAndStop (2);
}
}
}
Symbol 221 MovieClip Frame 1
stop();
Symbol 221 MovieClip Frame 2
tellTarget ("../sound") {
gotoAndPlay ("win");
};
Symbol 221 MovieClip Frame 34
_root.level++;
if (_root.level <= _root.numlevels) {
_root.gotoAndPlay("over to init");
} else {
trace("game complete");
}
Symbol 221 MovieClip Frame 93
stop();
Symbol 221 MovieClip Frame 130
tellTarget ("../") {
lives = lives - 1;
if (Number(lives) > 0) {
gotoAndPlay ("over to init");
}
};
Symbol 221 MovieClip Frame 169
tellTarget ("../") {
lives = lives - 1;
if (Number(lives) > 0) {
gotoAndPlay ("over to init");
}
};
if (Number(/:lives) == 0) {
gotoAndPlay ("game over");
}
Symbol 221 MovieClip Frame 214
tellTarget ("../") {
lives = lives - 1;
if (Number(lives) > 0) {
gotoAndPlay ("over to init");
}
};
if (Number(/:lives) == 0) {
gotoAndPlay ("game over");
}
Symbol 221 MovieClip Frame 215
stop();
Symbol 221 MovieClip Frame 280
Symbol 221 MovieClip Frame 281
stop();