Frame 1
function init(pOwner, pConfig) {
gameOwner = pOwner;
gameOwner.gameLog((("Game:init: " + gameOwner) + " class: ") + com.disney.gem.games.BaseGameController);
GC = new com.disney.gem.games.BaseGameController(this, pOwner);
return(GC);
}
var gameOwner;
var GC;
Stage.showMenu = false;
function mLoadDone(lbSuccess) {
goLoader.mLoadDone(lbSuccess);
}
function cLoader(lmStage) {
this.pmStage = lmStage;
}
cLoader.prototype.mLoadLevels = function (lsFilename, loObject) {
this.poCallback = loObject;
this.poXML = new XML();
this.poXML.ignoreWhite = true;
this.poXML.onLoad = this.pmStage.mLoadDone;
this.poXML.load(lsFilename);
};
cLoader.prototype.mLoadDone = function (lbSuccess) {
this.poCallback.mLoadDone(this.poXML);
};
function cTile(stage, x, y, r, c) {
this.pmStage = stage;
this.ppCoords = new Object();
this.ppCoords._x = x;
this.ppCoords._y = y;
this.piRow = r;
this.piCol = c;
this.poContents = undefined;
this.pbBusy = false;
this.piTimestamp = 0;
}
cTile.prototype.mGetContents = function () {
return(this.poContents);
};
cTile.prototype.mSetContents = function (piece) {
this.poContents = piece;
piece.mSetNum((this.piRow * 9) + this.piCol);
if (piece.mGetExit() > 0) {
var _local2 = "c" + this.piCol;
this.pmStage.bottomrow[_local2].gotoAndStop(2);
}
};
cTile.prototype.mGetCoords = function () {
return(this.ppCoords);
};
cTile.prototype.mGetX = function () {
return(this.ppCoords._x);
};
cTile.prototype.mGetY = function () {
return(this.ppCoords._y);
};
cTile.prototype.mGetRow = function () {
return(this.piRow);
};
cTile.prototype.mGetCol = function () {
return(this.piCol);
};
cTile.prototype.mGetNeighbors = function (laList, liTimestamp) {
var _local7 = this.pmStage.goGame.poBoard;
var _local12 = new Array();
var _local9 = [[0, -1], [1, 0], [0, 1], [-1, 0]];
if (this.piTimestamp != liTimestamp) {
this.piTimestamp = liTimestamp;
this.pbBusy = true;
laList.push(this);
var _local3 = 0;
while (_local3 < _local9.length) {
var _local4 = _local9[_local3];
var _local6 = _local4[1];
var _local2 = _local4[0];
var _local8 = _local7.mGetTileByRC(this.piRow + _local6, this.piCol + _local2);
var _local5 = _local7.mGetTileContents(this.piRow + _local6, this.piCol + _local2);
if (((_local5 != undefined) and ((this.piCol + _local2) > -1)) and ((this.piCol + _local2) < _local7.mGetWidth())) {
if (_local5.mGetType() == this.poContents.mGetType()) {
_local8.mGetNeighbors(laList, liTimestamp);
}
}
_local3++;
}
laList = this.mRemoveDuplicates(laList);
this.pbBusy = false;
}
return(laList);
};
cTile.prototype.mMarkNeighbors = function (liTimestamp) {
var _local6 = this.pmStage.goGame.poBoard;
var _local14 = new Array();
var _local9 = [[0, -1], [1, 0], [0, 1], [-1, 0]];
if (this.piTimestamp != liTimestamp) {
this.piTimestamp = liTimestamp;
this.pbBusy = true;
var _local11 = this.poContents.mGetValue();
var _local13 = this.poContents.mGetExit();
var _local12 = false;
if ((((_local11 != "=") and (_local11 != "?")) and (_local11 != "C")) and (_local11 != "T")) {
this.pbMarked = true;
if ((_local13 > 0) and (_local11 == "-")) {
this.pbMarked = false;
_local12 = true;
}
} else {
_local9 = [[0, -1]];
}
if (_local12 == false) {
var _local3 = 0;
while (_local3 < _local9.length) {
var _local4 = _local9[_local3];
var _local5 = _local4[1];
var _local2 = _local4[0];
var _local8 = _local6.mGetTileByRC(this.piRow + _local5, this.piCol + _local2);
var _local7 = _local6.mGetTileContents(this.piRow + _local5, this.piCol + _local2);
if (((_local7 != undefined) and ((this.piCol + _local2) > -1)) and ((this.piCol + _local2) < _local6.mGetWidth())) {
_local8.mMarkNeighbors(liTimestamp);
}
_local3++;
}
}
this.pbBusy = false;
}
};
cTile.prototype.mUnmarkNeighbors = function (liTimestamp) {
var _local6 = this.pmStage.goGame.poBoard;
var _local14 = new Array();
var _local9 = [[0, -1], [1, 0], [0, 1], [-1, 0]];
if (this.piTimestamp != liTimestamp) {
this.piTimestamp = liTimestamp;
this.pbBusy = true;
var _local11 = this.poContents.mGetValue();
var _local13 = this.poContents.mGetExit();
var _local12 = false;
if ((((_local11 != "=") and (_local11 != "?")) and (_local11 != "C")) and (_local11 != "T")) {
this.pbMarked = false;
if ((_local13 > 0) and (_local11 == "-")) {
this.pbMarked = false;
_local12 = true;
}
} else {
_local9 = [[0, -1]];
}
if (_local12 == false) {
var _local3 = 0;
while (_local3 < _local9.length) {
var _local4 = _local9[_local3];
var _local5 = _local4[1];
var _local2 = _local4[0];
var _local8 = _local6.mGetTileByRC(this.piRow + _local5, this.piCol + _local2);
var _local7 = _local6.mGetTileContents(this.piRow + _local5, this.piCol + _local2);
if (((_local7 != undefined) and ((this.piCol + _local2) > -1)) and ((this.piCol + _local2) < _local6.mGetWidth())) {
_local8.mUnmarkNeighbors(liTimestamp);
}
_local3++;
}
}
this.pbBusy = false;
}
};
cTile.prototype.mGetTileAbove = function (laList, liExclude) {
var _local2 = this.pmStage.goGame.poBoard;
if ((liExclude == this.poContents.mGetType()) and (this.poContents != undefined)) {
laList.push(this);
}
var _local4 = _local2.mGetTileByRC(this.piRow - 1, this.piCol);
var _local3 = _local2.mGetTileContents(this.piRow - 1, this.piCol);
if (_local3 != undefined) {
_local4.mGetTileAbove(laList, liExclude);
}
};
cTile.prototype.mRemoveDuplicates = function (laNeighbors) {
if (laNeighbors.length > 0) {
laNeighbors.sort(compareTiles);
var _local4 = new Array();
if (laNeighbors[0].poContents.mGetNum() != this.poContents.mGetNum()) {
_local4.push(laNeighbors[0]);
}
var _local2 = 1;
while (_local2 < laNeighbors.length) {
if (laNeighbors[_local2 - 1] != laNeighbors[_local2]) {
if (laNeighbors[_local2].poContents.mGetNum() != this.poContents.mGetNum()) {
_local4.push(laNeighbors[_local2]);
}
}
_local2++;
}
}
return(_local4);
};
function cBall(stage, coords, num, loTile, type) {
this.pmStage = stage;
var _local4 = num + 3000;
if (type == "@") {
_local4 = num + 3100;
}
trace((((num + " : ") + _local4) + " : ") + type);
var _local6 = "ball_" + _local4;
this.psName = _local6;
this.poTile = loTile;
this.psType = type;
var _local7 = ["", "@", "1", "2", "3", "4", "5", "6", "7"];
var _local2 = "stitch_clip";
if (type == "1") {
_local2 = "dronenew";
} else if (type == "2") {
_local2 = "dronenew";
} else if (type == "3") {
_local2 = "dronenew";
} else if (type == "4") {
_local2 = "dronenew";
} else if (type == "5") {
_local2 = "dronenew";
} else if (type == "6") {
_local2 = "dronenew";
} else if (type == "7") {
_local2 = "dronenew";
}
this.pmClip = this.pmStage.stage_mc.attachMovie(_local2, _local6, _local4);
this.pmClip._xscale = 50;
this.pmClip._yscale = 50;
this.pmClip.cacheAsBitmap = true;
this.pmClip._x = coords._x;
this.pmClip._y = coords._y;
this.pmClip.piNum = num;
this.pmClip.poParent = this;
this.mMoveTo(loTile, this.pmStage.goGame);
this.pbDispose = false;
this.pbExit = false;
this.pbIce = false;
this.psClipState = "idle";
this.pfGravity = 0;
this.pfAcceleration = 1.8;
this.paArrowList = new Array();
}
cBall.prototype.mMoveTo = function (tile, callback) {
this.poTarget = tile;
this.poCallback = callback;
this.pfXTarget = this.poTarget.mGetX();
this.pfYTarget = this.poTarget.mGetY();
this.piMove = true;
this.pmClip.poOwner = this;
};
cBall.prototype.mSettle = function () {
this.piSettleState = 0;
this.pmClip.poOwner = this;
};
cBall.prototype.mUpdateSettle = function () {
if (this.piSettleState == 0) {
this.piOrigin = this.pmClip._y;
this.piSettleState = 1;
}
if (this.piSettleState == 1) {
this.pmClip._y = this.pmClip._y + 4;
this.piSettleState = 2;
} else if (this.piSettleState == 2) {
this.pmClip._y = this.piOrigin;
this.piSettleState = 3;
this.pmClip.onEnterFrame = undefined;
}
};
cBall.prototype.mRollBall = function (liDir) {
var _local2 = this.pmClip.rollo._currentframe + liDir;
if (_local2 > this.pmClip.rollo._totalframes) {
_local2 = 1;
}
if (_local2 < 1) {
_local2 = this.pmClip.rollo._totalframes;
}
this.pmClip.rollo.gotoAndStop(_local2);
};
cBall.prototype.mSetBallState = function (lsState) {
if (this.psClipState != lsState) {
var _local2 = lsState.split("_");
if (_local2.length < 2) {
if (this.piDir == -1) {
_local2.push("L");
} else {
_local2.push("R");
}
}
var _local4 = _local2[0];
var _local3 = _local2[1];
if (_local4 == "roll") {
if ((this.psClipState == "roll_R") or (this.psClipState == "roll_L")) {
var _local5 = "roll_" + _local3;
} else {
var _local5 = "startroll_" + _local3;
}
} else if (_local4 == "idle") {
var _local5 = "stoproll_" + _local3;
} else {
var _local5 = (_local4 + "_") + _local3;
}
this.psClipState = lsState;
this.pmClip.gotoAndPlay(_local5);
}
};
cBall.prototype.mUpdate = function () {
this.mUpdateFire();
if (this.piMove == true) {
this.mCheckForMagma();
var _local14 = false;
var _local26 = false;
var _local21 = 0;
var _local25 = 0;
var _local11 = this.pfXTarget - this.pmClip._x;
var _local17 = this.pfYTarget - this.pmClip._y;
if (_local11 > 0) {
_local21 = 10.4;
}
if (_local11 < 0) {
_local21 = -10.4;
}
if (_local17 > 0) {
_local25 = 20;
}
if (_local17 < 0) {
_local25 = -20;
}
if ((_local17 != 0) and (this.pfGravity > 0)) {
this.mSetBallState("fall");
} else if (((this.piDir > 0) or (_local11 > 0)) and (this.pbIce == false)) {
this.mSetBallState("roll_R");
} else if (((this.piDir < 0) or (_local11 < 0)) and (this.pbIce == false)) {
this.mSetBallState("roll_L");
} else if (this.pbIce) {
this.mSetBallState("slide");
}
this.pmClip._x = this.pmClip._x + _local21;
if (Math.abs(_local11) < 1) {
_local26 = true;
}
if (Math.abs(_local17) > 0) {
this.pfGravity = this.pfGravity + this.pfAcceleration;
} else {
this.pfGravity = 0;
}
if ((((this.pfYTarget - (this.pmClip._y + this.pfGravity)) < 2) and (this.pfGravity >= 0)) and (this.pfGravity < 2)) {
_local14 = true;
} else if ((this.pmClip._y + this.pfGravity) >= this.pfYTarget) {
if (this.poTarget.mGetContents() != undefined) {
_local14 = true;
} else if (this.poTarget.mGetRow() < (this.pmStage.goGame.poBoard.mGetHeight() - 1)) {
var _local13 = this.poTarget.mGetRow();
var _local20 = this.poTarget.mGetCol();
var _local16 = this.pmStage.goGame.poBoard.mGetTileByRC(_local13 + 1, _local20);
var _local8 = _local16.mGetContents();
var _local23 = _local8.mGetExit();
var _local9 = _local8.mGetValue();
if ((((_local16.mGetContents() == undefined) or ((_local23 > 0) and (_local9 == "-"))) or (_local9 == "T")) or (_local9 == "X")) {
if (_local9 == "T") {
_local8.mClear();
_local8.mDispose();
if (_local23 == 0) {
_local16.mSetContents(undefined);
}
this.pmStage.goGame.mPlaySound("timer");
this.pmStage.goGame.mResetTimer();
} else if (_local9 == "X") {
_local8.mClear();
_local8.mDispose();
this.pmStage.goGame.mDie(4);
}
this.mMoveTo(_local16, this);
if ((_local23 > 0) and (_local9 == "-")) {
this.pbExit = true;
}
} else {
this.pfGravity = 0;
_local14 = true;
}
} else {
this.pfGravity = this.pfGravity * 0.1;
this.pfGravity = this.pfGravity * -1;
if (Math.abs(this.pfGravity) < 0.2) {
this.pmStage.goGame.mDie(2, this.psName);
}
}
}
this.pmClip._y = this.pmClip._y + this.pfGravity;
if (_local26 and _local14) {
this.pbIce = false;
this.pmClip._x = this.pfXTarget;
this.pmClip._y = this.pfYTarget;
var _local13 = this.poTarget.mGetRow();
var _local20 = this.poTarget.mGetCol();
var _local4 = this.pmStage.goGame.poBoard.mGetTileByRC(_local13 + 1, _local20);
var _local2 = _local4.mGetContents();
var _local27 = _local2.mGetArrow();
var _local22 = _local2.mGetValue();
var _local31 = _local2.mGetExit();
var _local38 = _local2.mGetType();
var _local28 = this.pmStage.goGame.poBoard.mGetTileByRC(_local13, _local20);
var _local36 = _local28.mGetContents();
var _local6 = _local36.mGetValue();
var _local29 = _local36.mGetExit();
if ((((_local6 == "?") or (_local6 == "=")) or (_local6 == "C")) and (this.piDir != 0)) {
var _local3 = this.mFindTeleport(_local6, _local13, _local20);
this.pmStage.goGame.mPlaySound("teleporter");
var _local15 = this.poTile.mGetRow();
var _local37 = this.pmStage.goGame.poBoard.mGetTileByRC(_local3.mGetRow(), _local3.mGetCol() - 1);
var _local12 = _local37.mGetContents();
var _local5 = _local12.mGetValue();
var _local41 = _local12.mGetExit();
var _local32 = this.pmStage.goGame.poBoard.mGetTileByRC(_local3.mGetRow(), _local3.mGetCol() + 1);
var _local18 = _local32.mGetContents();
var _local7 = _local18.mGetValue();
var _local40 = _local18.mGetExit();
trace((((((((((("TELEPORT: " + _local12) + " : ") + _local5) + " : ") + lsTeleExitLeft) + " : ") + _local18) + " : ") + _local7) + " : ") + lsTeleExitRight);
if ((((((((((((((((_local12 == undefined) and (_local3.mGetCol() > 0)) or (_local5 == "=")) or (_local5 == "-")) or (_local5 == "?")) or (_local5 == "C")) or (_local5 == "T")) or (_local5 == "X")) or (lsTeleExitLeft > 0)) or ((_local18 == undefined) and (_local3.mGetCol() < this.pmStage.goGame.poBoard.mGetWidth()))) or (_local7 == "-")) or (_local7 == "=")) or (_local7 == "?")) or (_local7 == "C")) or (_local7 == "T")) or (lsTeleExitRight > 0)) {
this.poTile = _local3;
this.pmClip._x = this.poTile.mGetX();
this.pmClip._y = this.poTile.mGetY();
_local15 = _local3.mGetRow();
if (this.piDir == -1) {
var _local24 = this.poTile.mGetCol() - 1;
var _local34 = this.pmStage.goGame.poBoard.mGetTileByRC(_local15, _local24);
var _local19 = _local34.mGetContents();
var _local10 = _local19.mGetValue();
if ((this.poTile.mGetCol() == 0) or ((_local19 != undefined) and ((((((_local10 != "-") and (_local10 != "=")) and (_local10 != "?")) and (_local10 != "C")) and (_local10 != "T")) and (_local10 != "X")))) {
_local24 = this.poTile.mGetCol() + 1;
this.piDir = 1;
}
} else {
var _local24 = this.poTile.mGetCol() + 1;
var _local34 = this.pmStage.goGame.poBoard.mGetTileByRC(_local15, _local24);
var _local19 = _local34.mGetContents();
var _local10 = _local19.mGetValue();
if ((this.poTile.mGetCol() == (this.pmStage.goGame.poBoard.mGetWidth() - 1)) or ((_local19 != undefined) and ((((((_local10 != "-") and (_local10 != "=")) and (_local10 != "?")) and (_local10 != "C")) and (_local10 != "T")) and (_local10 != "X")))) {
_local24 = this.poTile.mGetCol() - 1;
this.piDir = -1;
}
}
var _local39 = this.pmStage.goGame.poBoard.mGetTileByRC(_local15, _local24);
this.piMove = true;
this.mMoveTo(_local39, this.pmStage.goGame);
} else {
this.piDir = this.piDir * -1;
_local20 = _local20 + this.piDir;
var _local39 = this.pmStage.goGame.poBoard.mGetTileByRC(_local13, _local20);
this.piMove = true;
this.mMoveTo(_local39, this.pmStage.goGame);
}
} else if (_local6 == "T") {
_local36.mClear();
_local36.mDispose();
trace("alpha");
if (_local36.mGetExit() == 0) {
trace("bravo");
_local28.mSetContents(undefined);
} else {
trace("charlie");
this.piMove = false;
this.pbExit = true;
}
this.pmStage.goGame.mResetTimer();
} else if (_local6 == "X") {
this.pmStage.goGame.mDie(4);
} else if (_local29 > 0) {
this.piMove = false;
this.pbExit = true;
} else if ((_local6 != undefined) and (_local29 == 0)) {
this.pmStage.goGame.mDie(1);
} else if (_local27 == 1) {
this.mDoArrow(_local2, _local4, _local13, _local20, -1);
} else if (_local27 == 2) {
this.mDoArrow(_local2, _local4, _local13, _local20, 1);
} else if ((_local31 > 0) and (_local38 == 0)) {
this.mMoveTo(_local4, this.pmStage.goGame);
this.pbExit = true;
} else if (_local22 == "X") {
this.pmStage.goGame.mDie(4);
} else if (_local22 == "I") {
this.pbIce = true;
if (this.pbFire) {
this.mLessFire();
this.pmStage.goGame.mRemoveOne(_local4);
this.piDir = 0;
this.piMove = true;
} else if (this.piDir == -1) {
var _local30 = this.pmStage.goGame.poBoard.mGetTileByRC(_local13, _local20 - 1);
var _local19 = _local30.mGetContents();
var _local10 = _local19.mGetValue();
if ((_local20 > 0) and ((((((_local19 == undefined) or (_local10 == "?")) or (_local10 == "=")) or (_local10 == "C")) or (_local10 == "T")) or (_local10 == "X"))) {
this.mMoveTo(_local30, this.pmStage.goGame);
} else {
_local19.mRemoveArrow();
this.piDir = 0;
}
} else if (this.piDir == 1) {
var _local30 = this.pmStage.goGame.poBoard.mGetTileByRC(_local13, _local20 + 1);
var _local19 = _local30.mGetContents();
var _local10 = _local19.mGetValue();
if ((_local20 < (this.pmStage.goGame.poBoard.mGetWidth() - 1)) and ((((((_local19 == undefined) or (_local10 == "?")) or (_local10 == "=")) or (_local10 == "C")) or (_local10 == "T")) or (_local10 == "X"))) {
this.mMoveTo(_local30, this.pmStage.goGame);
} else {
_local19.mRemoveArrow();
this.piDir = 0;
}
} else {
this.piDir = 0;
this.poTile = _local4;
this.piMove = false;
this.poCallback.mBallLanded(this.poTarget, this);
}
} else if ((_local2 == undefined) and ((_local13 + 1) < this.pmStage.goGame.poBoard.mGetHeight())) {
this.poTarget = _local4;
this.pfXTarget = this.poTarget.mGetX();
this.pfYTarget = this.poTarget.mGetY();
} else if (this.pbExit) {
this.piMove = true;
this.pbExit = false;
this.pfYTarget = 700;
} else if (this.pfYTarget > 690) {
this.piMove = false;
this.pmStage.goGame.mWin(this);
} else {
this.poCallback.mBallLanded(this.poTarget, this);
this.pfGravity = 0;
this.piDir = 0;
this.poTile = this.poTarget;
this.piMove = false;
}
}
} else {
this.mSetBallState("idle");
this.mCheckForMagma();
var _local13 = this.poTarget.mGetRow();
var _local20 = this.poTarget.mGetCol();
var _local4 = this.pmStage.goGame.poBoard.mGetTileByRC(_local13 + 1, _local20);
var _local2 = _local4.mGetContents();
var _local27 = _local2.mGetArrow();
var _local31 = _local2.mGetExit();
var _local22 = _local2.mGetValue();
var _local36 = this.poTarget.mGetContents();
_local22 = _local2.mGetValue();
var _local35 = this.poTarget.mGetContents();
var _local33 = _local35.mGetExit();
if (_local27 == 1) {
this.mDoArrow(_local2, _local4, _local13, _local20, -1);
} else if (_local27 == 2) {
this.mDoArrow(_local2, _local4, _local13, _local20, 1);
} else if (_local22 == "T") {
this.poTarget = _local4;
this.pfXTarget = this.poTarget.mGetX();
this.pfYTarget = this.poTarget.mGetY();
this.piMove = true;
} else if (((_local22 == "-") and (_local31 > 0)) or (_local33 > 0)) {
this.pbExit = true;
this.poTarget = _local4;
this.pfYTarget = this.pfYTarget + 200;
this.piMove = true;
this.pbExit = false;
} else if ((_local2 == undefined) and (_local13 < this.pmStage.goGame.poBoard.mGetHeight())) {
this.poTarget = _local4;
this.pfXTarget = this.poTarget.mGetX();
this.pfYTarget = this.poTarget.mGetY();
this.piMove = true;
} else if (_local36 != undefined) {
this.pmStage.goGame.mDie(1);
} else if (_local22 == "I") {
if (this.pbFire) {
this.mLessFire();
_local2.mRemove();
this.mMoveTo(_local4, this.pmStage.goGame);
this.piDir = 0;
}
}
}
};
cBall.prototype.mSetCoords = function (coords) {
this.pmClip._x = coords._x;
this.pmClip._y = coords._y;
};
cBall.prototype.mRemove = function () {
this.pbDispose = true;
this.mExplode();
return(0);
};
cBall.prototype.mExplode = function () {
var _local3 = this.pmClip._x;
var _local2 = this.pmClip._y;
this.pmClip.gotoAndStop(60);
};
cBall.prototype.mExplodeDone = function () {
this.piMove = false;
this.mDispose();
};
cBall.prototype.mDispose = function () {
this.pmClip.removeMovieClip();
return(0);
};
cBall.prototype.mGetPieceBelow = function () {
var _local4 = this.poTarget.mGetRow();
var _local2 = this.poTarget.mGetCol();
var _local3 = this.pmStage.goGame.poBoard.mGetTileByRC(_local4 + 1, _local2);
var _local5 = _local3.mGetContents();
return(_local5);
};
cBall.prototype.mDoArrow = function (loPiece, loTile, r, c, liDir) {
var _local5 = loPiece.mGetNum();
var _local4 = true;
var _local2 = 0;
while (_local2 < this.paArrowList.length) {
var _local3 = this.paArrowList[_local2];
if (_local5 == _local3) {
_local4 = false;
break;
}
_local2++;
}
if (_local4) {
this.paArrowList.push(_local5);
this.piDir = liDir;
var _local9 = this.pmStage.goGame.poBoard.mGetTileByRC(r, c + liDir);
var _local8 = _local9.mGetContents();
var _local6 = _local8.mGetValue();
this.pmStage.goGame.mPlaySound("flyingsaucer");
if ((((liDir < 0) and (c > 0)) or ((liDir > 0) and (c < (this.pmStage.goGame.poBoard.mGetWidth() - 1)))) and ((((((_local8 == undefined) or (_local6 == "?")) or (_local6 == "=")) or (_local6 == "C")) or (_local6 == "T")) or (_local6 == "X"))) {
loPiece.mRemoveArrow();
this.poTile = loTile;
this.mMoveTo(_local9, this.pmStage.goGame);
} else {
loPiece.mRemoveArrow();
this.piDir = 0;
this.poTile = loTile;
this.piMove = false;
this.poCallback.mBallLanded(this.poTarget, this);
}
}
};
cBall.prototype.mCheckForMagma = function () {
var _local11 = [[-1, 0], [0, 1], [1, 0], [0, -1]];
var _local13 = this.poTarget.mGetRow();
var _local12 = this.poTarget.mGetCol();
var _local2 = 0;
while (_local2 < _local11.length) {
var _local3 = _local11[_local2];
var _local6 = _local3[0];
var _local5 = _local3[1];
var _local9 = _local13 + _local6;
var _local10 = _local12 + _local5;
var _local4 = this.pmStage.goGame.poBoard.mGetTileByRC(_local9, _local10);
var _local7 = _local4.mGetContents();
var _local8 = _local7.mGetValue();
if (_local8 == "M") {
this.mOnFire();
break;
}
_local2++;
}
};
cBall.prototype.mCheckForMagma2 = function () {
var _local11 = [[-1, 0], [0, 1], [1, 0], [0, -1]];
var _local13 = this.poTile.mGetRow();
var _local12 = this.poTile.mGetCol();
var _local2 = 0;
while (_local2 < _local11.length) {
var _local3 = _local11[_local2];
var _local6 = _local3[0];
var _local5 = _local3[1];
var _local9 = _local13 + _local6;
var _local10 = _local12 + _local5;
var _local4 = this.pmStage.goGame.poBoard.mGetTileByRC(_local9, _local10);
var _local7 = _local4.mGetContents();
var _local8 = _local7.mGetValue();
if (_local8 == "M") {
this.mOnFire();
break;
}
_local2++;
}
};
cBall.prototype.mOnFire = function () {
if ((this.pbFire == false) or (this.pbFire == undefined)) {
this.pmClip.flame.gotoAndPlay(2);
}
this.piFireStartTime = getTimer();
this.pbFire = true;
};
cBall.prototype.mOffFire = function () {
if (this.pbFire == true) {
this.pmClip.flame.gotoAndStop(1);
}
this.pbFire = false;
};
cBall.prototype.mLessFire = function () {
if (((this.piFireStartTime + 4000) - 1000) > getTimer()) {
this.piFireStartTime = this.piFireStartTime - 1000;
} else {
this.mOffFire();
}
};
cBall.prototype.mUpdateFire = function () {
if (this.pbFire) {
if ((this.piFireStartTime + 4000) < getTimer()) {
this.mOffFire();
}
}
};
cBall.prototype.mFindTeleport = function (lsValue, r, c) {
var _local8 = (r * this.pmStage.goGame.poBoard.mGetWidth()) + c;
var _local7;
var _local5 = 0;
while (_local5 < this.pmStage.goGame.poBoard.mGetHeight()) {
var _local2 = 0;
while (_local2 < this.pmStage.goGame.poBoard.mGetWidth()) {
var _local3 = this.pmStage.goGame.poBoard.mGetTileByRC(_local5, _local2);
var _local4 = _local3.mGetContents();
if (_local4 != undefined) {
var _local6 = (_local5 * this.pmStage.goGame.poBoard.mGetWidth()) + _local2;
if ((_local4.mGetValue() == lsValue) and (_local8 != _local6)) {
_local7 = _local3;
break;
}
}
_local2++;
}
_local5++;
}
return(_local7);
};
cBall.prototype.mDispose = function () {
this.pmClip.removeMovieClip();
};
function cPiece(stage, coords, num, lsType) {
this.pmStage = stage;
var _local14 = "piece_" + num;
this.psName = _local14;
this.piNum = num;
var _local7 = ["-", "R", "O", "Y", "G", "B", "P", "V", "Z", "I", "M", "X", "?", "=", "A", "T", "C", "S"];
var _local6 = ["", "@", "1", "2", "3", "4", "5", "6", "7"];
var _local17 = ["", "(", ")"];
var _local18 = ["", "*"];
var _local10 = lsType.split("");
var _local8 = 0;
var _local9 = 0;
var _local11 = 0;
var _local12 = 0;
var _local5 = 0;
while (_local5 < _local10.length) {
var _local2 = _local10[_local5];
if (_local2 == "*") {
_local12 = 1;
} else if ((_local2 == "(") or (_local2 == ")")) {
_local9 = 1;
if (_local2 == ")") {
_local9 = 2;
}
} else if ((((((((_local2 == "@") or (_local2 == "1")) or (_local2 == "2")) or (_local2 == "3")) or (_local2 == "4")) or (_local2 == "5")) or (_local2 == "6")) or (_local2 == "7")) {
var _local3 = 0;
while (_local3 < _local6.length) {
if (_local2 == _local6[_local3]) {
_local11 = _local3;
break;
}
_local3++;
}
} else {
var _local4 = 0;
while (_local4 < _local7.length) {
if (_local2 == _local7[_local4]) {
_local8 = _local4;
break;
}
_local4++;
}
}
_local5++;
}
var _local15 = num + 2000;
this.pmClip = this.pmStage.stage_mc.attachMovie("tile_clip2", _local14, _local15);
this.pmClip.cacheAsBitmap = true;
this.pmClip._x = coords._x;
this.pmClip._y = coords._y;
this.pmClip.piNum = num;
this.pmClip.poParent = this;
this.pmClip.gotoAndStop(_local8 + 1);
this.pmClip.arrows.gotoAndStop(_local9 + 1);
this.pmClip.arrows.arrow_anim.arrow.gotoAndStop(_local8 + 1);
this.pmClip.exit.gotoAndStop(_local12 + 1);
this.psValue = _local10[0];
this.piType = _local8;
this.piArrow = _local9;
this.piExit = _local12;
this.piMove = false;
this.pbDispose = false;
this.pfGravity = 0;
this.pfAcceleration = 1.8;
}
cPiece.prototype.mMoveTo = function (tile, callback) {
this.poTarget = tile;
this.poCallback = callback;
this.pfYTarget = this.poTarget.mGetY();
this.piMove = true;
this.pmClip.poOwner = this;
this.pmClip.onEnterFrame = function () {
this.poOwner.mUpdate();
};
};
cPiece.prototype.mSettle = function () {
this.piSettleState = 0;
this.pmClip.poOwner = this;
this.pmClip.onEnterFrame = function () {
this.poOwner.mUpdateSettle();
};
};
cPiece.prototype.mUpdateSettle = function () {
if (this.piSettleState == 0) {
this.piOrigin = this.pmClip._y;
this.piSettleState = 1;
}
if (this.piSettleState == 1) {
this.pmClip._y = this.pmClip._y + 4;
this.piSettleState = 2;
} else if (this.piSettleState == 2) {
this.pmClip._y = this.piOrigin;
this.piSettleState = 3;
this.pmClip.onEnterFrame = undefined;
}
};
cPiece.prototype.mUpdate = function () {
if (this.piMove == true) {
var _local6 = this.pfYTarget - this.pmClip._y;
var _local3 = false;
var _local7 = 0;
_local6 = this.pfYTarget - this.pmClip._y;
if (_local6 > 0) {
_local7 = 10;
}
if (_local6 < 0) {
_local7 = -10;
}
if (Math.abs(_local6) > 0) {
this.pfGravity = this.pfGravity + this.pfAcceleration;
} else {
this.pfGravity = 0;
}
if ((((this.pfYTarget - (this.pmClip._y + this.pfGravity)) < 2) and (this.pfGravity >= 0)) and (this.pfGravity < 2)) {
_local3 = true;
} else if ((this.pmClip._y + this.pfGravity) >= this.pfYTarget) {
if (this.poTarget.mGetContents() != undefined) {
_local3 = true;
} else if (this.poTarget.mGetRow() < (this.pmStage.goGame.poBoard.mGetHeight() - 1)) {
var _local8 = this.poTarget.mGetRow();
var _local11 = this.poTarget.mGetCol();
var _local10 = this.pmStage.goGame.poBoard.mGetTileByRC(_local8 + 1, _local11);
var _local5 = _local10.mGetContents();
var _local14 = _local5.mGetValue();
if ((_local5 == undefined) or ((_local5.mGetExit() > 0) and (_local14 == "-"))) {
this.mMoveTo(_local10, this.poCallback);
} else {
this.pfGravity = this.pfGravity * 0.1;
this.pfGravity = this.pfGravity * -1;
this.poTarget.mSetContents(this);
}
} else {
this.pfGravity = this.pfGravity * 0.1;
this.pfGravity = this.pfGravity * -1;
this.poTarget.mSetContents(this);
}
}
this.pmClip._y = this.pmClip._y + this.pfGravity;
if (_local3) {
this.pmClip._y = this.pfYTarget;
var _local8 = this.poTarget.mGetRow();
var _local11 = this.poTarget.mGetCol();
var _local2 = this.pmStage.goGame.poBoard.mGetTileByRC(_local8 + 1, _local11);
var _local4 = _local2.mGetContents();
var _local9 = _local4.mGetExit();
var _local15 = _local4.mGetType();
if ((_local9 > 0) and (_local15 == 0)) {
this.poTarget = _local2;
this.pfYTarget = this.poTarget.mGetY();
this.piExit = _local9;
this.pmClip.exit.gotoAndPlay(2);
} else if ((_local4 == undefined) and ((_local8 + 1) < this.pmStage.goGame.poBoard.mGetHeight())) {
this.poTarget = _local2;
this.pfYTarget = this.poTarget.mGetY();
} else {
this.pfGravity = 0;
this.piMove = false;
this.pmClip.onEnterFrame = undefined;
var _local13 = this.poTarget.mGetContents();
var _local12 = _local13.mGetExit();
this.piExit = _local12;
this.poCallback.mPieceLanded(this.poTarget, this);
}
}
}
};
cPiece.prototype.mGetType = function () {
return(this.piType);
};
cPiece.prototype.mGetNum = function () {
return(this.piNum);
};
cPiece.prototype.mSetNum = function (liNum) {
this.piNum = liNum;
this.pmClip.piNum = liNum;
};
cPiece.prototype.mSetCoords = function (coords) {
this.pmClip._x = coords._x;
this.pmClip._y = coords._y;
};
cPiece.prototype.mRemove = function () {
this.pbDispose = true;
this.mExplode();
return(this.piExit);
};
cPiece.prototype.mRemove2 = function () {
this.pbDispose = true;
this.mMelt();
return(this.piExit);
};
cPiece.prototype.mExplode = function () {
var _local3 = this.pmClip._x;
var _local2 = this.pmClip._y;
if (this.piExit > 0) {
this.psValue = "-";
}
this.pmClip.gotoAndStop(60);
};
cPiece.prototype.mMelt = function () {
var _local3 = this.pmClip._x;
var _local2 = this.pmClip._y;
if (this.piExit > 0) {
this.psValue = "-";
}
this.pmClip.gotoAndStop(61);
};
cPiece.prototype.mExplodeDone = function () {
this.piMove = false;
if (this.piExit == 0) {
this.mDispose();
} else {
this.mClear();
this.pmClip.gotoAndStop(30);
this.pmClip.exit.gotoAndStop(2);
}
};
cPiece.prototype.mClear = function () {
this.piType = 0;
this.piArrow = 0;
this.psValue = "-";
};
cPiece.prototype.mDispose = function () {
this.pmClip.removeMovieClip();
return(0);
};
cPiece.prototype.mGetArrow = function () {
return(this.piArrow);
};
cPiece.prototype.mGetExit = function () {
return(this.piExit);
};
cPiece.prototype.mGetValue = function () {
return(this.psValue);
};
cPiece.prototype.mRemoveArrow = function () {
this.pmClip.arrows.arrow_anim.play();
};
cPiece.prototype.mRemoveArrowResume = function () {
this.piArrow = 0;
this.pmClip.arrows.gotoAndStop(1);
};
function cBoard(stage, x, y, w, h, r, c) {
var _local13 = 0;
this.paTiles = new Array();
this.pmStage = stage;
this.piWidth = c;
this.piHeight = r;
this.piPieceNum = 200;
var _local3 = 0;
while (_local3 < r) {
var _local5 = y + (h * _local3);
var _local2 = 0;
while (_local2 < c) {
var _local4 = x + (w * _local2);
this.paTiles.push(new cTile(stage, _local4, _local5, _local3, _local2));
_local2++;
}
_local3++;
}
}
cBoard.prototype.mSetup = function (laLevelData) {
trace("mSetup");
this.mDispose();
var _local3 = 0;
while (_local3 < this.paTiles.length) {
var _local4 = this.paTiles[_local3];
var _local2 = laLevelData[_local3];
var _local5 = _local4.mGetCoords();
if (((((((_local2 == "@") or (_local2 == "1")) or (_local2 == "2")) or (_local2 == "3")) or (_local2 == "4")) or (_local2 == "5")) or (_local2 == "6")) {
var _local6 = new cBall(this.pmStage, _local5, _local3, _local4, _local2);
this.pmStage.goGame.mAddBall(_local6);
} else if (_local2 == "-") {
} else {
var _local6 = new cPiece(this.pmStage, _local5, _local3, _local2);
this.paTiles[_local3].mSetContents(_local6);
}
_local3++;
}
};
cBoard.prototype.mGetTileContents = function (r, c) {
var _local2 = (r * this.piWidth) + c;
return(this.paTiles[_local2].mGetContents());
};
cBoard.prototype.mSetTileContents = function (r, c, piece) {
var _local2 = (r * this.piWidth) + c;
this.paTiles[_local2].mSetContents(piece);
};
cBoard.prototype.mGetTileByRC = function (r, c) {
var _local2 = (r * this.piWidth) + c;
return(this.paTiles[_local2]);
};
cBoard.prototype.mGetTileByNum = function (liTile) {
return(this.paTiles[liTile]);
};
cBoard.prototype.mGetTileCoords = function (r, c) {
var _local2 = (r * this.piWidth) + c;
return(this.paTiles[_local2].mGetCoords());
};
cBoard.prototype.mGetUniqueNum = function () {
this.piPieceNum++;
return(this.piPieceNum);
};
cBoard.prototype.mGetWidth = function () {
return(this.piWidth);
};
cBoard.prototype.mGetHeight = function () {
return(this.piHeight);
};
cBoard.prototype.mDispose = function () {
var _local3 = 0;
while (_local3 < this.piHeight) {
var _local2 = 0;
while (_local2 < this.piWidth) {
var _local4 = this.mGetTileContents(_local3, _local2);
_local4.mDispose();
this.mSetTileContents(_local3, _local2, undefined);
_local2++;
}
_local3++;
}
};
cBoard.prototype.mGetMovableTiles = function () {
var _local4 = new Array();
var _local2 = 0;
while (_local2 < this.paTiles.length) {
var _local3 = this.paTiles[_local2].mGetContents();
if (_local3 != undefined) {
_local4.push(this.paTiles[_local2]);
}
_local2++;
}
return(_local4);
};
cBoard.prototype.mGetDestructableTiles = function () {
var _local5 = new Array();
var _local2 = 0;
while (_local2 < this.paTiles.length) {
var _local4 = this.paTiles[_local2].mGetContents();
var _local3 = _local4.mGetType();
if (((((_local4 != undefined) and (_local3 != 12)) and (_local3 != 13)) and (_local3 != 16)) and (_local4.mGetExit() == 0)) {
trace("TYPE: " + _local3);
_local5.push(this.paTiles[_local2]);
}
_local2++;
}
return(_local5);
};
cBoard.prototype.mGetFullTiles = function () {
var _local4 = new Array();
var _local3 = 0;
while (_local3 < this.paTiles.length) {
var _local2 = this.paTiles[_local3].mGetContents();
if (_local2 != undefined) {
if ((_local2.mGetExit() == 0) or ((_local2.mGetExit() > 0) and (_local2.mGetType() > 0))) {
_local4.push(this.paTiles[_local3]);
}
}
_local3++;
}
return(_local4);
};
cBoard.prototype.mGetFullLine = function (liRow) {
var _local6 = new Array();
var _local2 = 0;
while (_local2 < this.piWidth) {
var _local4 = this.mGetTileContents(liRow, _local2);
if (_local4 != undefined) {
var _local3 = this.mGetTileByRC(liRow, _local2);
_local6.push(_local3);
}
_local2++;
}
return(_local6);
};
function cGame(stage) {
this.pmStage = stage;
this.poBoard = new cBoard(stage, 80, 83, 52, 52, 9, 9);
this.piDebounce = 0;
this.piState = 0;
this.piDifficulty = 90;
this.pbSound = true;
this.pbTimer = true;
this.keyqueue = "0000000000";
}
cGame.prototype.mLoad = function () {
this.pmStage.goLoader.mLoadLevels("sk.asp", this);
};
cGame.prototype.mLoadDone = function (loXMLData) {
trace("mLoadDone");
this.paLevelData = new Array();
var _local8 = loXMLData.firstChild;
var _local7 = 0;
while (_local7 < _local8.childNodes.length) {
loListNode = _local8.childNodes[_local7];
var _local2 = 0;
while (_local2 < loListNode.childNodes.length) {
var _local3 = loListNode.childNodes[_local2];
var _local5 = _local3.nodeName;
if (_local5 == "tiles") {
var _local4 = _local3.firstChild.nodeValue;
var _local6 = _local4.split(",");
}
_local2++;
}
this.paLevelData.push(_local6);
_local7++;
}
this.pbContinue = false;
this.piLevel = this.mLoadProgress();
trace(this.pmStage.gbTest);
if (this.pmStage.gbTest) {
trace("UNLOCKED");
this.piLevel = 100;
this.piLastLevel = 100;
}
if (this.piLevel > 0) {
this.pbContinue = true;
}
this.pmStage.gotoAndPlay("menu");
};
cGame.prototype.mInit = function () {
this.piWinCount = 0;
this.piState = 0;
this.piLevel = 0;
this.piScore = 0;
this.piLastNewLife = 0;
this.piLives = 9;
this.piLastScore = 0;
this.pbReset = false;
this.piLastDrop = getTimer();
this.paBalls = new Array();
this.piStitchShipDialog = 0;
this.mNextLevel();
};
cGame.prototype.mKeyPress = function () {
if (this.piState == 0) {
this.mPlaySound("blip");
var _local2 = String.fromCharCode(Key.getAscii());
this.keyqueue = this.keyqueue + _local2;
this.keyqueue = this.keyqueue.substr(1, 10);
if (this.keyqueue.substr(0, 10) == "seasonpass") {
this.piLevel = 100;
this.piLastLevel = 100;
this.mPlaySound("addlife");
} else if (this.keyqueue.substr(4, 6) == "allday") {
this.pbTimer = false;
this.mPlaySound("addlife");
} else if (this.keyqueue.substr(1, 9) == "mschipper") {
this.pmStage.gbTest = true;
this.mPlaySound("addlife");
}
}
};
cGame.prototype.mUpdate = function () {
if (Key.isDown(39)) {
if ((getTimer() - this.piDebounce) > 500) {
if (this.pmStage.gbTest) {
this.mNextLevel();
}
this.piDebounce = getTimer();
}
} else if (Key.isDown(37)) {
if ((getTimer() - this.piDebounce) > 500) {
if (this.piLevel > 1) {
if (this.pmStage.gbTest) {
this.piLevel = this.piLevel - 2;
this.mNextLevel();
}
this.piDebounce = getTimer();
}
}
} else if (Key.isDown(80)) {
if (this.piState > 0) {
if ((getTimer() - this.piDebounce) > 500) {
this.piDebounce = getTimer();
if (this.piState == 27) {
this.pmStage.pauseBtn.gotoAndStop("game_play");
this.mUnpause();
} else {
this.pmStage.pauseBtn.gotoAndStop("game_pause");
this.mPause();
}
}
}
}
if ((this.piState > 0) and (this.piState < 10)) {
this.mUpdateTimer();
}
if (this.piState == 0) {
} else if (this.piState == 1) {
var _local2 = 0;
while (_local2 < this.paBalls.length) {
this.paBalls[_local2].mUpdate();
_local2++;
}
} else if (this.piState == 2) {
if ((this.piStartTime + 10) < getTimer()) {
this.mInitDropBlocks();
}
} else if (this.piState == 3) {
this.mFindDropBlocks();
} else if (this.piState == 4) {
if (this.piDropCount == 0) {
this.piState = 1;
}
var _local2 = 0;
while (_local2 < this.paBalls.length) {
this.paBalls[_local2].mUpdate();
_local2++;
}
} else if (this.piState == 5) {
} else if (this.piState == 10) {
} else if (this.piState == 20) {
this.pmStage.pauseBtn.gotoAndStop("disabled");
var _local2 = 0;
while (_local2 < this.paBalls.length) {
this.paBalls[_local2].mUpdate();
_local2++;
}
} else if (this.piState == 21) {
this.piLevelEnd = this.piLevelEnd + 5000;
var _local3 = this.piLevelEnd - this.piLevelStart;
this.pbAllClear = false;
if (this.pbTimer == false) {
_local3 = this.piLevelTime;
}
if (_local3 < this.piLevelTime) {
this.piTimeBonus = this.piTimeBonus + 50;
this.piLevelScore = this.piLevelScore + 50;
this.mPlaySound("blip");
this.mCheckAddLife();
var _local4 = int((_local3 / this.piLevelTime) * 100);
if (_local4 > 100) {
_local4 = 100;
}
this.pmStage.timer.gotoAndStop(_local4 + 1);
this.mUpdateTimeBonus();
this.mUpdateScore();
} else {
this.pmStage.timer.gotoAndStop(101);
this.pmDialog.play();
this.piState = 22;
this.mDisposeOfBalls();
this.paTilesToDestroy = this.poBoard.mGetFullTiles();
var _local6 = this.poBoard.mGetDestructableTiles();
if (_local6.length == 0) {
this.pbAllClear = true;
}
if (this.paTilesToDestroy.length == 0) {
this.piScore = this.piLevelScore;
this.piState = 23;
}
}
} else if (this.piState == 22) {
this.piScore = this.piLevelScore;
if (this.paTilesToDestroy.length > 0) {
var _local5 = this.paTilesToDestroy[0];
this.paTilesToDestroy.splice(0, 1);
this.mRemoveIt(_local5);
this.mPlaySound("jewelClick");
} else {
this.piState = 23;
if (this.piLevel == 71) {
this.pmDialog.play();
}
}
} else if (this.piState == 23) {
this.piLastScore = this.piLevelScore;
} else if (this.piState == 25) {
this.mDisposeOfBalls();
this.paTilesToDestroy = this.poBoard.mGetFullTiles();
this.piState = 26;
} else if (this.piState == 26) {
if (this.paTilesToDestroy.length > 0) {
var _local5 = this.paTilesToDestroy[0];
this.paTilesToDestroy.splice(0, 1);
this.mRemoveIt(_local5);
this.mPlaySound("jewelClick");
} else {
this.piState = 27;
}
} else if (this.piState == 27) {
}
};
cGame.prototype.mShowAllBlocksCleared = function () {
var _local2 = this.poBoard.mGetDestructableTiles();
if (this.pbAllClear) {
this.pmDialog.allblockscleared.gotoAndPlay(2);
this.piLevelScore = this.piLevelScore + 2000;
this.piScore = this.piLevelScore;
this.mUpdateScore();
this.mCheckAddLife();
}
};
cGame.prototype.mClick = function (liNum) {
if ((((this.piState == 1) or (this.piState == 20)) or (this.piState == 21)) and (this.piDropCount == 0)) {
var _local2 = this.poBoard.mGetTileByNum(liNum);
this.mRemove(_local2);
}
};
cGame.prototype.mNextLevel = function () {
trace("mNextLevel");
if (this.piLevel > 0) {
this.mSaveProgress();
}
if ((((this.piLevel > 0) and ((this.piLevel / 10) == int(this.piLevel / 10))) and (this.piStitchShipDialog == 0)) and (this.pbReset == false)) {
this.piState = 0;
this.mStitchShipDialog();
} else if (this.piLevel == 50) {
this.pmStage.GC.endGame(this.piLevel, this.piLevelScore);
this.mDisposeOfBalls();
this.mRemoveLevelEndDialog();
this.pmStage.gotoAndPlay("gameover");
this.pmStage.music_clip.gotoAndPlay("endgame");
} else if ((((this.piLevel == 0) or ((this.piLevel / 10) == int(this.piLevel / 10))) and (this.piStitchShipDialog < 2)) and (this.pbReset == false)) {
this.piState = 0;
this.pmStage.gotoAndPlay("game");
this.mAlienLineupDialog();
} else {
this.mStartRadar();
this.pbReset = false;
this.piStitchShipDialog = 0;
this.pmStage.pauseBtn.gotoAndStop("game_play");
this.pmStage.music_clip.gotoAndPlay("ingame");
this.pmStage.levelend.gotoAndStop(1);
this.pmStage.dead.gotoAndStop(1);
this.mDisposeOfBalls();
this.pmStage.gotoAndPlay("game");
this.mRemoveLevelEndDialog();
this.piWinCount = 0;
this.piLevel++;
this.mUpdateLevel();
this.mUpdateLives();
this.piLevelScore = this.piScore;
this.mUpdateScore();
var _local4 = this.paLevelData[this.piLevel - 1];
this.pmStage.GC.startLevel(this.piLevel, this.piLevelScore);
this.mResetTimer();
var _local5 = int((this.piLevel - 1) / 10) + 1;
this.pmStage.bg.gotoAndStop(_local5);
var _local2 = 0;
while (_local2 < this.poBoard.mGetWidth()) {
var _local3 = "c" + _local2;
this.pmStage.bottomrow[_local3].gotoAndStop(1);
_local2++;
}
trace(_local4);
this.poBoard.mSetup(_local4);
this.piLowest = this.poBoard.mGetHeight();
this.mInitDropBlocks();
}
};
cGame.prototype.mResetTimer = function () {
this.piLevelTime = this.piDifficulty * 1000;
this.piLevelStart = getTimer();
};
cGame.prototype.mRemove = function (loTile) {
var _local8 = loTile.mGetContents();
var _local9 = _local8.mGetValue();
if (_local9 != "Z") {
var _local7 = new Array();
this.piLowest = 0;
loTile.mGetNeighbors(_local7, getTimer());
if (_local7.length > 2) {
this.piStartTime = getTimer();
if (this.piState < 20) {
this.piState = 2;
}
var _local3 = 0;
while (_local3 < _local7.length) {
loTile = _local7[_local3];
var _local4 = loTile.mGetRow();
if (_local4 > this.piLowest) {
this.piLowest = _local4;
}
var _local6 = loTile.mGetContents();
var _local5 = _local6.mRemove();
this.mPlaySound("jewelClick");
if (_local5 == 0) {
loTile.mSetContents(undefined);
}
_local3++;
}
this.mAddScore(_local7.length);
}
}
};
cGame.prototype.mRemoveOne = function (loTile) {
this.piStartTime = getTimer();
this.piState = 2;
var _local2 = loTile.mGetContents();
var _local5 = _local2.mGetValue();
var _local3 = _local2.mRemove2();
if (_local3 == 0) {
loTile.mSetContents(undefined);
}
};
cGame.prototype.mRemoveIt = function (loTile) {
this.piStartTime = getTimer();
var _local2 = loTile.mGetContents();
var _local5 = _local2.mGetValue();
var _local4 = _local2.mRemove();
loTile.mSetContents(undefined);
};
cGame.prototype.mInitDropBlocks = function () {
this.piState = 3;
this.piDropRow = this.poBoard.mGetHeight();
this.piDropCount = 0;
this.mInitDropBlocks2();
};
cGame.prototype.mInitDropBlocks2 = function () {
var _local2 = 0;
while (_local2 < this.poBoard.mGetHeight()) {
var _local3 = 0;
while (_local3 < this.poBoard.mGetWidth()) {
var _local4 = this.poBoard.mGetTileByRC(_local2, _local3);
_local4.pbMarked = false;
_local3++;
}
_local2++;
}
_local2 = this.poBoard.mGetHeight() - 1;
var _local3 = 0;
while (_local3 < this.poBoard.mGetWidth()) {
var _local4 = this.poBoard.mGetTileByRC(_local2, _local3);
var _local5 = _local4.mGetContents();
var _local7 = _local5.mGetValue();
var _local6 = _local5.mGetExit();
if (_local5 != undefined) {
if ((_local6 == 0) or ((_local6 > 0) and (_local7 != "-"))) {
if (_local4.pbMarked == false) {
_local4.mMarkNeighbors(getTimer());
}
}
}
_local3++;
}
};
cGame.prototype.mFindDropBlocks = function () {
this.piDropRow--;
var _local13 = 0;
var _local3 = new Array();
var _local8 = false;
var _local5 = 0;
while (_local5 < this.poBoard.mGetWidth()) {
var _local4 = this.poBoard.mGetTileByRC(this.piDropRow, _local5);
var _local7 = _local4.mGetContents();
var _local2 = _local7.mGetValue();
var _local12 = _local7.mGetExit();
if (((((_local7 == undefined) or (_local2 == "=")) or (_local2 == "?")) or (_local2 == "C")) or (_local2 == "T")) {
var _local9 = this.poBoard.mGetTileByRC(this.piDropRow + 1, _local5);
var _local6 = _local9.mGetContents();
var _local11 = _local6.mGetValue();
var _local10 = _local6.mGetExit();
if (((((_local2 == "=") or (_local2 == "?")) or (_local2 == "C")) or (_local2 == "T")) and ((_local6 == undefined) or ((_local10 > 0) and (_local11 == "-")))) {
_local3.push(_local4);
}
this.mDropSet(_local3);
_local3 = [];
_local8 = false;
} else {
var _local9 = this.poBoard.mGetTileByRC(this.piDropRow + 1, _local5);
var _local6 = _local9.mGetContents();
var _local11 = _local6.mGetValue();
var _local10 = _local6.mGetExit();
if ((_local6 == undefined) and ((((_local2 == "=") or (_local2 == "?")) or (_local2 == "C")) or (_local2 == "T"))) {
_local3.push(_local4);
this.mDropSet(_local3);
_local3 = [];
_local8 = false;
} else if ((_local6 == undefined) and (_local4.pbMarked == false)) {
_local3.push(_local4);
} else if (((_local11 == "-") and (_local10 > 0)) and (_local4.pbMarked == false)) {
_local3.push(_local4);
} else {
_local8 = true;
_local3 = [];
}
}
_local5++;
}
this.mDropSet(_local3);
if (this.piDropRow == 0) {
this.mFinishDropBlocks();
}
};
cGame.prototype.mFindDropBlocks_bad = function () {
this.piDropRow--;
var _local6 = 0;
var _local5 = new Array();
var _local2 = 0;
while (_local2 < this.poBoard.mGetWidth()) {
var _local3 = this.poBoard.mGetTileByRC(this.piDropRow, _local2);
var _local4 = _local3.mGetContents();
if (_local4 != undefined) {
if (_local4.pbMarked == false) {
_local5.push(_local3);
}
}
_local2++;
}
this.mDropSet(_local5);
if (this.piDropRow == 0) {
this.mFinishDropBlocks();
}
};
cGame.prototype.mDropSet = function (laDrops) {
var _local3 = 0;
while (_local3 < laDrops.length) {
var _local2 = laDrops[_local3];
var _local7 = _local2.mGetContents();
var _local6 = _local2.mGetRow();
var _local5 = _local2.mGetCol();
var _local4 = this.poBoard.mGetTileByRC(_local6 + 1, _local5);
if (_local4 != undefined) {
_local2.mSetContents(undefined);
_local7.mMoveTo(_local4, this);
this.piDropCount++;
}
_local3++;
}
};
cGame.prototype.mFinishDropBlocks = function () {
this.piState = 4;
};
cGame.prototype.mPieceLanded = function (loTile, loPiece) {
loTile.mSetContents(loPiece);
this.piDropCount--;
};
cGame.prototype.mBallLanded = function (loTile, loBall) {
this.piState = 1;
};
cGame.prototype.mJoinList = function (mainlist, newlist) {
var _local1 = 0;
while (_local1 < newlist.length) {
mainlist.push(newlist[_local1]);
_local1++;
}
};
cGame.prototype.mAddBall = function (loBall) {
this.paBalls.push(loBall);
};
cGame.prototype.mReset = function () {
if (this.piLives > 1) {
this.pbReset = true;
this.pmStage.gotoAndPlay("game");
this.piLives--;
this.pmStage.scorebar.lives_head.gotoAndStop("flash_red");
this.mUpdateLives();
this.piLevelScore = this.piScore;
this.mPlayLevel();
} else {
this.mDie();
}
};
cGame.prototype.mDie = function (liWhy, lsWho) {
trace("DIE " + liWhy);
if (this.piLives <= 1) {
liWhy = 3;
}
this.piWhy = liWhy;
this.piLives--;
this.pmStage.scorebar.lives_head.gotoAndStop("flash_red");
this.mUpdateLives();
this.piState = 25;
this.mLevelFailDialog();
};
cGame.prototype.mGetWhy = function () {
return(this.piWhy);
};
cGame.prototype.mResetLevel = function () {
this.pbReset = true;
this.mRemoveLevelEndDialog();
this.piLevel--;
this.mNextLevel();
};
cGame.prototype.mWin = function (loBall) {
this.pmStage.GC.endLevel(this.piLevel, this.piLevelScore);
this.piWinCount++;
trace((("win " + this.piWinCount) + " = ") + this.paBalls.length);
stopAllSounds();
this.mStopRadar();
this.mPlaySound("congrats");
if (this.piWinCount == this.paBalls.length) {
this.piState = 20;
this.mLevelEndDialog();
}
};
cGame.prototype.mStopRadar = function () {
this.pmStage.scorebar.level.radar.sweep.stop();
};
cGame.prototype.mStartRadar = function () {
this.pmStage.scorebar.level.radar.sweep.play();
};
cGame.prototype.mAddScore = function (liCount) {
trace("mAddScore " + liCount);
var _local2 = liCount * liCount;
_local2 = _local2 * 10;
this.piLevelScore = this.piLevelScore + _local2;
this.mUpdateScore();
this.mCheckAddLife();
};
cGame.prototype.mUpdateScore = function () {
trace("mUpdateScore");
trace(this.piLevelScore);
var _local5 = this.piLevelScore;
var _local7 = [1, 10, 100, 1000, 10000, 100000];
var _local2 = _local7.length - 1;
while (_local2 >= 0) {
var _local4 = _local7[_local2];
var _local3 = int(_local5 / _local4);
_local5 = _local5 - (_local3 * _local4);
var _local6 = "s_" + _local2;
this.pmStage.scorebar[_local6].gotoAndStop(_local3 + 1);
_local2--;
}
};
cGame.prototype.mZeroScore = function () {
this.piScore = 0;
this.piLevelScore = 0;
this.mSaveProgress(true);
};
cGame.prototype.mUpdateLevel = function () {
var _local5 = this.piLevel;
var _local7 = [1, 10, 100];
var _local2 = _local7.length - 1;
while (_local2 >= 0) {
var _local4 = _local7[_local2];
var _local3 = int(_local5 / _local4);
_local5 = _local5 - (_local3 * _local4);
var _local6 = "L_" + _local2;
this.pmStage.scorebar[_local6].gotoAndStop(_local3 + 1);
_local2--;
}
};
cGame.prototype.mUpdateLives = function () {
var _local5 = this.piLives;
var _local7 = [1, 10];
var _local2 = _local7.length - 1;
while (_local2 >= 0) {
var _local4 = _local7[_local2];
var _local3 = int(_local5 / _local4);
_local5 = _local5 - (_local3 * _local4);
var _local6 = "H_" + _local2;
this.pmStage.scorebar[_local6].gotoAndStop(_local3 + 1);
_local2--;
}
};
cGame.prototype.mUpdateTimeBonus = function () {
var _local5 = this.piTimeBonus;
var _local7 = [1, 10, 100, 1000];
var _local2 = _local7.length - 1;
while (_local2 >= 0) {
var _local4 = _local7[_local2];
var _local3 = int(_local5 / _local4);
_local5 = _local5 - (_local3 * _local4);
var _local6 = "t_" + _local2;
this.pmDialog[_local6].gotoAndStop(_local3 + 1);
_local2--;
}
};
cGame.prototype.mUpdateSpeedBonus = function () {
var _local5 = this.piTimeBonus;
var _local8 = int(this.piDifficulty / 2) * 10;
if (_local5 > _local8) {
_local5 = _local5 - _local8;
var _local7 = [1, 10, 100, 1000];
var _local2 = _local7.length - 1;
while (_local2 >= 0) {
var _local4 = _local7[_local2];
var _local3 = int(_local5 / _local4);
_local5 = _local5 - (_local3 * _local4);
var _local6 = "b_" + _local2;
this.pmDialog.speedbonus[_local6].gotoAndStop(_local3 + 1);
_local6 = "bb_" + _local2;
this.pmDialog.speedbonus[_local6].gotoAndStop(_local3 + 1);
_local2--;
}
var _local9 = (this.piTimeBonus - _local8) * 10;
trace("BONUS: " + _local9);
this.piLevelScore = this.piLevelScore + _local9;
this.piLastScore = this.piLevelScore;
this.piScore = this.piLevelScore;
this.mUpdateScore();
}
};
cGame.prototype.mUpdateTimer = function () {
if ((this.pbTimer == true) and (this.piState > 0)) {
var _local3 = getTimer() - this.piLevelStart;
var _local2 = int((_local3 / this.piLevelTime) * 100);
} else {
var _local2 = 0;
}
this.pmStage.timer.gotoAndStop(_local2 + 1);
if (_local2 > 100) {
this.mDie(0);
}
};
cGame.prototype.mMenu = function () {
this.piState = 0;
this.pbContinue = false;
this.piLevel = this.mLoadProgress();
if (this.piLevel > 0) {
this.pbContinue = true;
}
this.poBoard.mDispose();
var _local2 = 0;
while (_local2 < this.paBalls.length) {
var _local3 = this.paBalls[_local2];
_local3.mDispose();
_local2++;
}
stopAllSounds();
removeMovieClip(this.pmDialog);
this.pmDialog = undefined;
this.pmStage.music_clip.gotoAndPlay(1);
this.pmStage.gotoAndPlay("menu");
};
cGame.prototype.mPause = function () {
if (this.pmDialog == undefined) {
this.mStopRadar();
this.piPauseState = this.piState;
this.piState = 27;
this.piPauseTime = getTimer() - this.piLevelStart;
stopAllSounds();
this.mPlaySound("mariePause");
this.pmStage.blast_door_anim.gotoAndPlay("closedoors");
}
};
cGame.prototype.mUnpause = function () {
this.mStartRadar();
this.pmStage.blast_door_anim.play();
this.piState = this.piPauseState;
this.piLevelStart = getTimer() - this.piPauseTime;
this.pmStage.music_clip.gotoAndPlay("ingame");
};
cGame.prototype.mDoUnpause = function () {
this.pmStage.pauseBtn.gotoAndStop("game_play");
this.mUnpause();
};
cGame.prototype.mRestartLevel = function () {
this.pmStage.blast_door_anim.play();
this.pmStage.pauseBtn.gotoAndStop("game_pause");
this.mReset();
};
cGame.prototype.mDialogReady = function () {
this.piTimeBonus = 0;
this.piLevelEnd = getTimer();
this.piState = 21;
};
cGame.prototype.mAlienLineupDialog = function () {
this.piStitchShipDialog = 2;
this.pmDialog2 = this.pmStage.stage_mc.attachMovie("alien_lineup", "lineup", 5000);
this.pmDialog2._x = 288;
this.pmDialog2._y = 304;
this.pmDalog2._xscale = this.pmDalog2._xscale * 2;
this.pmDalog2._yscale = this.pmDalog2._yscale * 2;
this.pmDialog2.poParent = this;
};
cGame.prototype.mLevelEndDialog = function () {
if (this.pmDialog == undefined) {
this.pmDialog = this.pmStage.stage_mc.attachMovie("end_level_animation_2", "endlevel", 5000);
this.pmDialog._x = 288;
this.pmDialog._y = 244;
this.pmDalog._xscale = this.pmDalog._xscale * 2;
this.pmDalog._yscale = this.pmDalog._yscale * 2;
this.pmDialog.poParent = this;
}
};
cGame.prototype.mStitchShipDialog = function () {
this.piStitchShipDialog = 1;
this.pmDialog = this.pmStage.stage_mc.attachMovie("stitch_ship_anim", "endlevel", 5000);
this.pmDialog._x = 288;
this.pmDialog._y = 90;
this.pmDalog._xscale = this.pmDalog._xscale * 2;
this.pmDalog._yscale = this.pmDalog._yscale * 2;
this.pmDialog.poParent = this;
};
cGame.prototype.mQuitDialog = function () {
if ((this.piState != 27) && (this.pmDialog == undefined)) {
this.pmStage.pauseBtn.gotoAndStop("game_pause");
this.mPause();
} else if ((this.piState == 27) && (this.pmDialog == undefined)) {
this.pmStage.pauseBtn.gotoAndStop("game_play");
this.mUnpause();
}
};
cGame.prototype.mCancelQuitDialog = function () {
removeMovieClip(this.pmDialog);
this.pmDialog = undefined;
this.piState = this.piPauseState;
this.piLevelStart = getTimer() - this.piPauseTime;
};
cGame.prototype.mQuitGame = function () {
this.mMenu();
};
cGame.prototype.mEndGameDialog = function () {
if (this.pmDialog == undefined) {
if (this.piLevel < 102) {
this.mSaveProgress();
}
this.mDisposeOfBalls();
this.pmStage.timer.gotoAndStop(101);
this.pmDialog = this.pmStage.attachMovie("endgame_clip", "endgame_clip", 5000);
this.pmDialog._x = 287;
this.pmDialog._y = 209;
this.pmDialog.poParent = this;
}
};
cGame.prototype.mLevelFailDialog = function () {
if (this.pmDialog == undefined) {
this.pmDialog = this.pmStage.attachMovie("die_clip", "die_clip", 5000);
this.pmDialog._x = 150;
this.pmDialog._y = 212;
this.pmDialog.poParent = this;
}
};
cGame.prototype.mLevelResumeDialog = function () {
if (this.pmDialog == undefined) {
this.pmDialog = this.pmStage.attachMovie("replay_clip", "replay_clip", 5000);
this.pmDialog._x = 226;
this.pmDialog._y = 118;
this.pmDialog.poParent = this;
}
};
cGame.prototype.mRemoveLevelEndDialog = function () {
removeMovieClip(this.pmDialog);
this.pmDialog = undefined;
};
cGame.prototype.mDisposeOfBalls = function () {
var _local2 = 0;
while (_local2 < this.paBalls.length) {
var _local3 = this.paBalls[_local2];
_local3.mDispose();
_local2++;
}
this.paBalls = [];
};
cGame.prototype.mSaveProgress = function (gameOver) {
trace("mSaveProgress:" + gameOver);
var _local2 = SharedObject.getLocal("rollo");
_local2.data.lastlevel = new Number();
if (gameOver == undefined) {
var _local3 = this.piLevel;
trace("gameOver undefined, saving progress at level: " + _local3);
} else {
var _local3 = this.piLevel - 1;
trace("gameOver is defined!! -- saving progress at level: " + _local3);
}
if (this.piLastLevel > this.piLevel) {
var _local3 = this.piLastLevel;
}
_local2.data.lastlevel = _local3;
_local2.data.lastscore = new Number();
_local2.data.lastscore = this.piScore;
_local2.flush();
};
cGame.prototype.mLoadProgress = function () {
var _local2 = SharedObject.getLocal("rollo");
this.piLastLevel = _local2.data.lastlevel;
this.piLastScore = _local2.data.lastscore;
return(_local2.data.lastlevel);
};
cGame.prototype.mContinue = function () {
if (this.pbContinue) {
this.pbReset = true;
this.piState = 27;
if (this.piLastLevel < 100) {
this.piLevel = this.piLastLevel + 1;
}
this.piLives = 9;
this.mShowLevel();
this.mPlayLevel();
}
};
cGame.prototype.mPlayThisLevel = function (liLevel) {
trace("PlayThisLevel " + liLevel);
this.pbReset = true;
this.piLevel = liLevel + 1;
this.piScore = 0;
this.piLevelScore = 0;
this.piLives = 9;
this.mUpdateLevel();
this.mUpdateLives();
this.piLevelScore = this.piScore;
this.mUpdateScore();
this.mShowLevel();
this.mPlayLevel();
};
cGame.prototype.mShowLevel = function () {
trace("mShowLevel");
this.pmStage.gotoAndPlay("game");
this.mDisposeOfBalls();
this.mUpdateLevel();
this.mUpdateLives();
this.piLevelScore = this.piScore;
this.piLevelTime = this.piDifficulty * 1000;
trace(this.paLevelData.length);
var _local5 = this.paLevelData[this.piLevel - 1];
var _local4 = int(this.piLevel / 10) + 1;
if (this.piLeve == 70) {
_local4 = 7;
}
this.pmStage.bg.gotoAndStop(_local4);
var _local2 = 0;
while (_local2 < this.poBoard.mGetWidth()) {
var _local3 = "c" + _local2;
this.pmStage.bottomrow[_local3].gotoAndStop(1);
_local2++;
}
trace(_local5);
this.poBoard.mSetup(_local5);
};
cGame.prototype.mShowPrev = function () {
if (this.piLevel > 1) {
this.piLevel--;
}
this.mShowLevel();
};
cGame.prototype.mShowNext = function () {
if (this.piLevel < (this.piLastLevel + 1)) {
this.piLevel++;
}
this.mShowLevel();
};
cGame.prototype.mPlayLevel = function () {
this.mRemoveLevelEndDialog();
this.mDisposeOfBalls();
this.piWinCount = 0;
this.piState = 0;
this.piLastDrop = getTimer();
this.paBalls = new Array();
this.piLevel--;
this.mNextLevel();
};
cGame.prototype.mIsClear = function () {
var _local2 = false;
var _local3 = this.poBoard.mGetFullTiles();
if (_local3.length <= 1) {
_local2 = true;
this.piLevelScore = this.piLevelScore + 2000;
this.mUpdateScore();
}
return(_local2);
};
cGame.prototype.mGetLives = function () {
return(this.piLives);
};
cGame.prototype.mCheckAddLife = function () {
if ((this.piLastNewLife + 20000) <= this.piLevelScore) {
this.mAddLife();
this.piLastNewLife = this.piLevelScore;
}
};
cGame.prototype.mAddLife = function () {
if (this.piLives < 9) {
this.piLives++;
this.pmStage.scorebar.lives_head.gotoAndStop("flash_green");
this.mPlaySound("marieAddLife");
this.mUpdateLives();
}
};
cGame.prototype.mSetDifficulty = function (liDiff) {
this.piDifficulty = liDiff;
trace(this.piDifficulty);
};
cGame.prototype.mPlaySound = function (lsSound) {
loSound = new Sound(this.pmStage.update_clip);
loSound.attachSound(lsSound);
loSound.start();
};
cGame.prototype.mSoundOn = function () {
this.pbSound = true;
this.poSound = new Sound(this.pmStage.update_clip);
this.poSound.setVolume(this.piOldVolume);
};
cGame.prototype.mSoundOff = function () {
this.pbSound = false;
this.poSound = new Sound(this.pmStage.update_clip);
if (this.piOldVolume == undefined) {
this.piOldVolume = this.poSound.getVolume();
}
this.poSound.setVolume(0);
};
Instance of Symbol 1013 MovieClip "update_clip" in Frame 1
onClipEvent (enterFrame) {
_parent.goGame.mUpdate();
}
onClipEvent (keyDown) {
_parent.goGame.mKeyPress();
}
Instance of Symbol 1020 MovieClip "loadbar" in Frame 1
onClipEvent (load) {
_parent.stop();
}
onClipEvent (enterFrame) {
if (_parent._framesloaded < _parent._totalframes) {
var liFrame = int((_parent._framesloaded / _parent._totalframes) * 100);
this.gotoAndStop(liFrame + 1);
} else {
this.gotoAndStop(101);
_parent.play();
}
}
Frame 2
stop();
Frame 3
goLoader = new cLoader(this);
psData = "<skabooki><level><title>Alien Buddy</title><tiles>-,-,R,-,@,-,R,-,-,-,-,R,R,B,R,R,-,-,-,-,R,-,B,-,R,-,-,-,-,P,P,B,P,P,-,-,-,-,-,B,-,B,-,-,-,-,-,-,R,-,R,-,-,-,-,-,R,R,-,R,R,-,-,-,-,-,R,-,R,-,-,-,-,-,B,B,P*,B,B,-,-</tiles></level><level><title>Terrific Tower</title><tiles>-,-,-,-,@,-,-,-,-,-,-,-,B,P,B,-,-,-,-,-,-,B,B,B,-,-,-,-,-,-,Y,P,Y,-,-,-,-,-,-,Y,Y,Y,-,-,-,-,-,-,G,P,G,-,-,-,-,-,-,G,G,G,-,-,-,-,-,-,R,P,R,-,-,-,-,-,-,R,R*,R,-,-,-</tiles></level><level><title>Alien Pal</title><tiles>-,-,-,R,@,R,-,-,-,-,-,-,R,Y,R,-,-,-,P,P,P,B,Y,B,P,P,P,-,-,R,-,-,-,R,-,-,P,P,P,B,-,B,P,P,P,-,-,R,-,-,-,R,-,-,P,P,P,B,R,B,P,P,P,-,-,R,Y,R,Y,R,-,-,-,P,P,P,-*,P,P,P,-</tiles></level><level><title>Water Current</title><tiles>-,-,-,-,-,-,@,-,-,-,-,-,-,-,-,G,G,G,-,-,-,-,-,-,-,R,R,-,-,-,-,-,-,-,-,R,-,-,-,-,-,-,-,-,G,-,-,-,-,-,-,-,-,G,-,-,-,-,-,-,-,-,G,-,-,-,-,-,-,-,-,R,G,G,G*,B(,B(,B(,B(,R,R</tiles></level><level><title>Simply Simple</title><tiles>-,@,-,-,-,-,-,-,-,-,R,-,-,-,-,-,-,-,-,R,-,-,-,-,-,-,-,-,R,-,-,-,-,-,-,-,-,G),G),G),-,-,-,-,-,-,-,-,R,R),R,-,-,-,-,-,-,-,-,G),G),G),-,-,-,-,-,-,-,-,R,-,-,-,-,-,-,-,-,R,R*</tiles></level><level><title>Sliding Table</title><tiles>-,-,@,-,-,-,-,-,-,G,G,G,-,-,-,-,-,-,-,G,B),B),B,-,-,-,-,-,G,-,-,R),R),R,-,-,-,B,-,-,-,-,G),G),G,-,B,-,-,-,-,B,B,B,-,B,-,-,-,-,-,B,-,-,R,-,-,-,-,-,R,-,R,R,R,-,-,-,R,R,R*</tiles></level><level><title>Tower of Terror</title><tiles>-,-,-,B,-,B,-,-,-,-,-,-,B,@,B,-,-,-,-,-,-,R,R,R,-,-,-,-,-,-,B,G,B,-,-,-,-,-,-,G,G,G,-,-,-,-,-,-,B,B,B,-,-,-,-,-,-,R,R,R,-,-,-,-,-,-,B,R,B,-,-,-,P*,P(,P(,V(,V(,V,P,P,P</tiles></level><level><title>Prepare the Field</title><tiles>-,-,-,-,@,-,-,-,-,G,G,G,R,R,R,G),G),G,-,-,-,-,G),-,-,-,-,-,-,-,-,G,-,-,-,-,-,-,-,-,G,-,-,-,-,-,-,-,-,R,-,-,-,-,-,-,-,-,R,-,-,-,-,G,-,-,-,R,-,-,-,G,G,G,-,G,G,G),-,G,G*</tiles></level><level><title>Tower of More Terror</title><tiles>-,-,-,G,@,G,-,-,-,-,-,-,B,R,B,-,-,-,-,-,-,B,G,B,-,-,-,-,-,-,B,P,B,-,-,-,-,-,-,P,P,P,-,-,-,-,-,-,R,R,R,-,-,-,-,-,-,R,G,R,-,-,-,-,-,-,G,R,G,-,-,-,-,-,-,G,R*,G,-,-,-</tiles></level><level><title>Alien DNA</title><tiles>-,-,-,-,-,-,-,-,@,-,-,-,-,-,-,R,R,G,-,-,-,-,-,-,R,G,G,-,-,-,-,R,R,B,B(,B(,-,-,-,-,R,-,B,-,-,-,-,R,R,G,G(,G(,-,-,-,-,R,-,G,-,-,-,-,R,R,B,B(,B(,-,-,-,-,R,-,B*,-,-,-,-,-,-</tiles></level><level><title>Faced</title><tiles>-,-,-,-,@,-,-,-,-,-,-,R,R,O,R,R,-,-,-,R,R,Y,Y,Y,R,R,-,-,-,Y,B,O,B,Y,-,-,-,Y,Y,O,O,O,Y,Y,-,-,Y,Y,R,R,R,Y,Y,-,-,-,Y,Y,R,Y,Y,-,-,-,-,-,O,O,O,-,-,-,-,B,B,-,B*,-,B,B,-</tiles></level><level><title>Einbahnstrasse</title><tiles>-,-,R,-,-,@,R,-,-,-,-,G,O,O,O,G,-,-,-,-,-,G,G(,G(,-,-,-,-,-,-,B,B(,B(,-,-,-,-,G,G,R,R(,R(,G,G,-,-,R,R,Y,Y(,Y(,R,R,-,-,-,-,B,B(,B(,-,-,-,-,-,-,G,G(,G(,-,-,-,P,P,P,P,P),P),P),P),P*</tiles></level><level><title>Go Left</title><tiles>-,-,-,-,@,-,-,-,-,-,-,-,B,B,B,-,-,-,-,-,-,-,G),-,-,-,-,-,-,-,-,G,-,-,-,-,-,-,-,-,G,-,-,-,-,-,-,-,O,O(,O,-,-,-,-,R,R(,R(,-,G),G,G,-,-,G,-,-,-,-,-,R,-,G,G*,G,-,-,-,R,R*,R</tiles></level><level><title>Le Coq Sportif</title><tiles>-,-,-,-,-,-,R,R,-,-,-,-,-,-,@,P,R,Y,Y,Y,-,-,-,P,P,-,-,Y,P,P,-,B,B(,B,-,-,-,P,G,G(,G(,Y,-,-,-,-,R,R,R,Y,Y,-,-,-,-,-,O,Y,-,-,-,-,-,-,-,O,-,-,-,-,-,Y,Y,O,O*,O,-,-,-,R,Y</tiles></level><level><title>Flower Power</title><tiles>-,-,-,-,-,-,-,-,@,-,-,-,-,-,-,Y,R,Y,-,-,-,-,-,-,R,R,R,-,-,-,-,-,-,Y,G,Y,-,-,-,-,-,-,-,G,-,-,-,-,-,-,-,Y,G,Y,-,-,-,-,-,-,P(,P(,P(,-,-,-,-,-,-,-,P,R,R,R*,R(,R(,P(,P(,P,R,R</tiles></level><level><title>Death Defying Leap</title><tiles>-,-,-,@,-,-,-,-,-,B,G,G,G,-,-,-,-,-,B,G,-,-,-,-,-,-,-,B,-,-,-,G),-,-,-,-,G,-,-,R,R,R,-,-,-,G,-,-,G),R,G),-,-,-,G,-,-,-,R,-,-,-,-,B,-,-,-,B,-,-,-,-,B,B,-,B,B,B,-*,-,-</tiles></level><level><title>Moving Right Along</title><tiles>G,@,-,-,-,-,-,-,-,B,B,B,B,G,-,-,-,-,B,-,-,-,-,-,-,-,-,G,-,-,-,-,-,-,-,-,G,R),R),G,G,-,-,-,-,B,-,B,-,-,-,-,-,-,B,-,-,R),R),-,-,-,-,R,-,-,B,-,-,-,-,G,R,B,-,B,-,R),R),G*,G</tiles></level><level><title>Exit Stage Left</title><tiles>-,-,@,-,-,-,R,-,-,-,-,G,-,-,-,G,-,-,-,-,G,-,-,-,G,-,-,-,-,G,-,-,-,G,-,-,-,R,R),R),-,R,R,R,-,-,-,G,B),B),B),G,-,-,-,-,G,-,G,-,G,-,-,-,-,G,-,G,-,G,-,-,-,B,B,B,G,R),R),R),-*</tiles></level><level><title>Prepare the Gossamer</title><tiles>-,-,-,-,-,-,-,R,-,-,-,-,-,-,-,-,G,P,P,G,@,-,-,-,-,G,G,P,P,P,-,-,-,-,R,P,-,-,G,-,-,-,-,R,G,-,G,G,G,-,-,-,G,G,-,G,P,G,-,-,-,P,P,-,-,P,-,-,-,-,P,-,-,-,G),G),R),R),R),R),P*</tiles></level><level><title>Duck</title><tiles>-,-,-,-,-,-,-,-,-,-,-,-,-,-,-,-,@,-,-,-,-,-,-,-,-,Y,-,-,-,-,-,-,-,-,Y,Y,-,R(,R(,-,-,-,-,R,R,-,O,O,R(,B(,B(,-,R,-,Y,Y,-,-,-,B,O(,O(,-,Y,Y,O,O,O,P,P,-,B,O*,O,-,-,-,P,O,B,B</tiles></level><level><title>Locked Gate</title><tiles>-,-,-,-,@,-,-,-,-,G,G,O,O,O,O,O,G,G,G,R,-,-,-,-,-,R,G,R,R,-,-,-,-,-,R,R,-,R,-,-,-,-,-,R,-,-,Y,-,-,-,-,-,Y,-,-,Y,Y,-,-,-,Y,Y,-,-,B,B,B,-,B,B,B,-,G,G,-,-,B*,-,-,G,G</tiles></level><level><title>Waterfall</title><tiles>-,-,-,-,-,-,-,@,-,-,-,-,-,-,B,B,B,P,-,-,-,-,-,G(,G(,B,B,-,-,-,-,-,-,-,G(,B,-,-,-,-,-,-,-,-,B,B,B,B,B,B,R,R,R,R,B,G(,B,B,G(,P,O,P,P,G,B,G(,B,G,P,P,O,O,B*,B,B,G(,O,O,O,P,O</tiles></level><level><title>Greenway</title><tiles>@,-,-,-,G),-,-,-,-,Y,Y,-,G),Y,G),-,Y,Y,G),Y,-,Y,Y,Y,-,Y,G,R,G),-,P,P,P,-,G),R,R,R,G),-,B,-,G),R,R,B,B,B,-,B,-,B,B,B,-,-,B,P,P,P,B,-,-,-,-,-,-,P,-,-,-,-,R,-,-,B,B,B,-,-,R*</tiles></level><level><title>Icy Trainer I</title><tiles>-,-,-,-,-,-,-,@,-,-,-,-,-,-,-,-,B,B,B,B,I,I,I,I,I,G(,B,B,G,-,-,-,-,-,-,G,-,G,-,-,-,-,-,-,G,-,G,-,-,-,-,-,-,G,-,B,-,-,-,-,-,-,B,-,B,-,-,-,-,-,-,B,-,B*,-,-,-,-,-,-,B</tiles></level><level><title>Icy Trainer II</title><tiles>-,@,-,-,-,-,-,-,-,B,B,-,-,-,-,-,-,-,B,-,-,-,-,-,-,-,-,P,-,-,-,-,-,-,-,-,P,B),I,I,I,B,-,-,-,P,B,B,Y,Y,B,-,-,-,-,-,P,-,Y,B,-,-,-,-,-,P,-,P,P,-,-,-,-,-,P,-,P,Y),I,I,I*</tiles></level><level><title>Ice High Fall Trainer</title><tiles>-,-,-,-,-,-,-,@,P,-,-,-,-,-,-,-,B,B,-,-,-,-,-,-,-,R(,B,-,-,-,-,-,-,-,R,P,-,-,-,-,-,-,-,R,B,-,-,-,-,-,-,-,-,B,-,-,-,-,-,-,-,-,B,-,-,-,-,-,-,-,-,P,-,-*,I,I,I,I,I,P,P</tiles></level><level><title>Double Icing is Almost Too Much</title><tiles>-,-,-,-,-,-,@,-,-,-,-,B,-,-,-,R,-,-,-,-,R,I,I,I,R,-,-,B,B,R,R,R,R,R,-,-,B,B,R,I,I,I,G(,G,G,-,-,R,-,-,-,-,-,-,-,-,I,I,I,I,G(,-,-,-,-,I,-,-,-,G,-,-,-,-,R*,R,R,R,G,-,-</tiles></level><level><title>Stairway to Heaven</title><tiles>-,@,-,-,-,-,-,-,-,B,B,-,-,-,-,-,-,-,B,P),-,-,-,-,-,X,-,P,P,-,-,-,-,-,I,-,B,-,-,-,-,-,I,B,-,B,-,-,-,-,I,B,B,-,B,-,-,-,I,P,-,P,X,P,-,-,I,B,P,-,P,X,P,P,I,B,B,P,-,P,B*</tiles></level><level><title>Half Pipe</title><tiles>P,-,-,-,-,-,-,-,@,G,-,-,-,-,-,-,-,G,G,-,-,-,-,-,-,-,G,G,-,-,-,-,-,-,-,G,Y,I,-,-,-,-,-,I,Y(,G,Y,I,-,-,-,I,Y,G,G,G,Y,I,I,I,Y,G,G,B,B,B,G,G,G,B,B,Y,P*,P,Y,Y,Y,B,B,Y,Y</tiles></level><level><title>Rainblock</title><tiles>-,-,-,-,-,-,@,-,-,-,-,-,-,-,G,G,G,-,-,-,-,-,-,G,-,-,-,-,-,-,-,R,R(,R(,-,-,-,-,-,-,-,-,R,-,-,-,-,-,-,B),B,Y,Y,-,Y,Y,-,-,P,S,-,Y,-,Y,S,-,-,P,P,-,Y,-,G,G*,I,I,I,G(,G,G,-</tiles></level><level><title>Drift</title><tiles>-,@,-,G,Y,Y,-,-,-,-,Y,-,G,-,Y,-,-,-,-,Y,G,-,-,Y,-,I,I,-,Y,Y,Y,-,Y,Y,G,G,G,G),G,Y,-,I,I,I,G,Y,-,-,Y,-,-,-,-,G,Y,-,B),Y,-,-,-,-,Y,Y,-,-,-,-,-,-,-,Y,B,B,B,I,I,I,I,-,Y*</tiles></level><level><title>Ice Cold Sun</title><tiles>-,B,B,B,I,B,B,B,-,-,-,R,I,R,I,R,-,-,-,-,R,O,R,O,R,-,-,@,Y,O,R,R,R,O,Y,Y,Y,Y,O,R,R,R,O,Y,-,-,-,R,O,R,O,R,-,-,-,-,-,Y,R,Y,-,-,-,-,-,-,B,Y,B,-,-,-,I),I,I,B,B,B,I,I,I*</tiles></level><level><title>Roundabout</title><tiles>B,@,-,-,-,-,-,-,-,B,B,-,-,-,-,-,-,-,Y),Y),Y),-,-,-,-,-,-,B,B,B,Y),Y),Y),B,-,-,B,-,-,-,-,B,B,-,-,Y,-,-,-,Y(,Y(,Y(,-,-,B,-,-,-,B,-,-,-,-,B,-,-,-,B,-,-,-,-,B*,I,I,I,B,-,-,-,-</tiles></level><level><title>Icy Reception</title><tiles>-,-,-,-,-,-,-,@,-,R,R,R,-,-,-,R,R,R,B,B,B,-,-,-,B,B,B,-,B,-,-,-,-,-,B,-,-,B,-,-,-,-,-,B,-,-,R,I,I,I,I,I,R(,-,Y,Y,Y,B,-,B,Y,Y,Y,R,B,Y,-,-,-,Y,B,R,R,B,B,-*,B,-,B,B,R</tiles></level><level><title>Avalanche</title><tiles>-,@,-,-,-,-,-,-,-,B,B,B,-,-,-,-,-,-,G,G),I,-,-,-,-,-,-,Y,Y,Y,I,I,-,-,-,-,G,G,B,B,B,I,I,-,-,-,-,-,-,Y,Y,Y,I,I,-,-,-,-,-,-,B,B,B,-,-,-,-,-,-,-,I,G(,-*,I,-,-,-,-,I,G,G</tiles></level><level><title>Icica</title><tiles>-,-,-,-,-,-,-,-,@,-,-,-,-,-,-,B,B,B,G,G,G,I,I,I,G(,G(,G(,B,B,B),G,G,G,B,B,B,-,G,-,B,B,B,-,B,-,-,G,-,B,-,-,-,B,-,-,G,-,B,-,-,-,B,-,G,B,B,B,I,I,I,I,G,-,G,G,G,B,B,B*,G,G</tiles></level><level><title>Faced, Too</title><tiles>-,@,O,R,-,R,O,-,-,R,O,O,R,R,R,O,O,R,R,O,Y,Y,R,Y,Y,O,R,O,-,Y,G),O,G,Y,-,O,O,R),G),G,O,G,G,R,O,-,O,R,R,O,R,R,O,-,-,O,O,R,R,R,O,O,-,-,G,O,O,O,O,O,G,-,O,G,G,-,G*,-,G,G,O</tiles></level><level><title>Exclamation</title><tiles>-,-,Y,-,-,-,@,-,-,-,B,Y,-,Y,-,Y,-,B,-,B,G(,-,Y,B,Y,Y,B,-,B,Y,Y,G(,B,G(,Y,B,-,Y,B,Y,Y,B,Y,G,Y,-,Y,B,G(,B,Y,B,Y,Y,B,G(,B,Y,B,Y,B,-,G,B,Y,-,-,B,G(,B,-,Y,B*,-,-,-,-,Y,-,-,-</tiles></level><level><title>Contractual Obligation</title><tiles>-,-,-,-,@,-,-,-,-,-,-,B,G,Y,G,B,-,-,A,-,G,G,Y,G,G,-,A,B,B,B,A,Y,A,B,B,B,Y,A,A,-,A,-,A,A,Y,Y,Y,A,-,-,-,A,Y,Y,-,B,B,-,-,-,B,B,-,-,-,G,G,Y,G,G,-,-,A,A,-,G,Y*,G,-,A,A</tiles></level><level><title>Lilac</title><tiles>P,G(,G(,G(,R,-,-,@,-,G,-,Y,-,G(,-,-,P,-,G,-,-,-,Y,-,P,G(,-,G,-,-,-,-,P,G(,R,-,P,-,-,-,-,G(,R,P,-,G,-,-,-,-,R,P,-,-,G,-,-,-,-,P,-,-,-,G,-,-,-,-,R,-,-,-,P*,Y,-,Y,-,R,R,-,-</tiles></level><level><title>Drop me in the water</title><tiles>-,-,-,-,-,-,-,-,-,-,-,-,-,-,-,@,-,-,-,-,-,-,-,-,G,G,G,G,G,G,-,-,-,-,Y,Y,Y,Y,-,-,-,-,-,-,Y,B,Y,Y,B,B(,B(,B(,B,O,Y,B,B,Y,Y,Y,O,O,O,Y,Y,Y,B),B,Y,B,B,G,O,O,O,G,G*,B,B,G,G</tiles></level><level><title>Downward</title><tiles>-,-,-,-,-,-,-,-,-,-,-,-,Y,@,Y,-,-,-,R,G,G,P,R,P,G,G,R,R,-,G,P,R,P,G,-,R,-,-,-,B,B,B,-,-,-,R,G,G,G,R,G,G,G,R,-,G,-,P,P,P,-,G,-,-,G,-,-,Y),-,-,G,-,-,-,G,G,Y,G*,G,-,-</tiles></level><level><title>The Arden Gnome</title><tiles>G,@,-,-,-,-,R,-,-,G,G,-,-,-,-,R,R,-,P,P),P),-,-,R,Y,R,-,Z,Z,-,-,R,Y,Y,R,-,Z,-,-,-,O,O,O,I,-,Z,-,-,O,O,I,I,I,-,Z,-,-,I,O,I,I,-,-,Z,-,-,I,I,B,B,-,-,Z,-,I,I,I,B,B,B,-*</tiles></level><level><title>Broken Flower Pot</title><tiles>-,-,-,-,-,Y(,@,Y,-,-,-,-,B(,-,Y,Y,Y,-,-,-,-,B,-,Y,Y,Y,-,-,-,-,B,-,-,Y,-,-,-,-,-,G,-,-,G(,-,-,-,-,-,G,-,-,G,-,-,-,-,P(,G,P(,-,G,-,-,-,-,P,-,P,R,R,R,-,-,-*,P,-,P,-,R,-,-</tiles></level><level><title>Locks</title><tiles>-,@,-,-,-,-,-,-,-,R,R,-,-,-,-,-,-,-,R,B),I,I,I,S,R,-,-,-,-,-,-,S,G,R,-,-,-,-,-,-,G,I),I,I,S,-,-,-,-,-,-,-,R,R,-,-,-,-,-,-,-,G,-,-,-,-,-,-,-,R,G,G,S,-,B,-,-,-,R,R,-*</tiles></level><level><title>Slip n Slide</title><tiles>@,-,-,-,-,-,-,-,-,R,R,S,-,-,-,-,-,-,Z),Z),O,O,S,-,-,-,-,Z,Z,Z),Z),Y,Y,S,-,-,Z,-,-,Z,Z),Z),G,G,S,Z,-,-,-,-,Z,Z),Z),B,Z,-,-,-,-,-,-,-,B,Z,-,-,-,-,S,P,P,S,Z,-,-,S,V,V*,Z(,Z(,Z(</tiles></level><level><title>Rainbow Downgrade</title><tiles>-,-,-,-,-,-,-,-,@,-,-,-,-,-,-,-,S,R,-,-,-,-,-,-,-,R,O(,-,-,-,-,-,-,S,O,O,-,-,-,-,-,S,Y(,Y(,-,-,-,-,G,S(,G(,-,-,-,-,S,B,B(,-,-,-,-,-,-,V(,P(,-,-,-,-,-,-,S*,V,P,S,-,-,-,-,-</tiles></level><level><title>Binary</title><tiles>@,-,A),A),A),-,A),-,-,B,A),B,B,B,A),B,A),B,B,-,B,A),B,-,B,A),B,B,-,B,B,B,-,B,-,B,A),-,A),-,A),-,A),A),A),B,-,B,-,B,A),B,B,B,B,-,B,-,B,A),B,A),B,B,-,B,-,B,A),B,B,B,A,A,A,-,-,-,A),-,A*</tiles></level><level><title>Ice Loop</title><tiles>-,-,-,-,-,-,-,R,@,-,-,-,-,-,-,-,R,R,R,R,B,B,I,I,I,I,B(,R,B,B,R),-,-,-,R,-,B,-,-,R,-,-,-,R,-,B,-,-,-,-,-,-,-,-,B,-,R,-,-,-,-,-,-,R,-,R,R,-,-,-,R,-,R,R,B,B,R,R,B*,B,-</tiles></level><level><title>Back n Forth</title><tiles>-,-,-,-,-,-,-,-,-,-,-,-,-,-,-,@,-,-,-,-,-,-,-,-,B,B,S,-,-,-,I,I,I,G(,-,B,G,G,G,-,-,-,-,G,G,Y,Y,S),R,R,R,B,B,Y,Y,-,-,Y,Y,Y,B,-,Y,R,R,B,R,S,R,G(,-,Y,R,B,B,I,-*,I,G,G,G</tiles></level><level><title>teletrainer 2</title><tiles>-,-,-,-,-,-,-,-,-,G,-,=,-,-,-,-,-,-,G,G,G,-,-,-,-,@,G,Y,Y,Y,Y,-,-,=,G,G,Z,Z,R,Y,-,-,Y,Y(,Y,Z,R,R,R,-,-,G,G,G,Y,-,-,-,-,-,Y,Y,Y,Y,-,-,-,-,-,Y,R,Y,Y,G*,G,Y,Y,Y,R,R,R</tiles></level></skabooki>";
Frame 4
gbTest = false;
goGame = new cGame(this);
_global.goSkabookiGame = goGame;
if (this.psData != undefined) {
var loXML = new XML(psData);
goGame.mLoadDone(loXML);
} else {
goGame.mLoad();
}
stop();
Frame 6
stop();
Frame 11
stop();
Frame 19
stop();
Frame 26
stop();
Frame 32
stop();
Frame 40
stop();
Frame 46
stop();
Frame 52
stop();
Instance of Symbol 1542 MovieClip in Frame 67
onClipEvent (load) {
this.fps = 0;
this.piCount = 0;
this.piLast = 0;
}
onClipEvent (enterFrame) {
if ((this.piLast + 1000) < getTimer()) {
this.piFPS = this.piCount;
this.piLast = getTimer();
this.piCount = 0;
} else {
this.piCount++;
}
}
Symbol 46 MovieClip Frame 5
stop();
Symbol 48 MovieClip Frame 1
stop();
Symbol 58 Button
on (release) {
_parent.poParent.mNextLevel();
}
Symbol 60 MovieClip [quit_dialog] Frame 1
Symbol 60 MovieClip [quit_dialog] Frame 8
stop();
Symbol 60 MovieClip [quit_dialog] Frame 15
this.gotoAndPlay("pop-up_idle");
Symbol 69 MovieClip Frame 1
stop();
Symbol 69 MovieClip Frame 6
gotoAndPlay (2);
Symbol 181 MovieClip [rollonew] Frame 22
gotoAndPlay ("idle_R");
Symbol 181 MovieClip [rollonew] Frame 46
gotoAndPlay ("idle_L");
Symbol 181 MovieClip [rollonew] Frame 53
stop();
Symbol 181 MovieClip [rollonew] Frame 60
gotoAndPlay ("roll_R");
Symbol 181 MovieClip [rollonew] Frame 71
gotoAndPlay ("roll_L");
Symbol 181 MovieClip [rollonew] Frame 84
gotoAndPlay ("idle_R");
Symbol 181 MovieClip [rollonew] Frame 94
gotoAndPlay ("idle_L");
Symbol 181 MovieClip [rollonew] Frame 117
gotoAndPlay ("roll_R");
Symbol 181 MovieClip [rollonew] Frame 134
gotoAndPlay ("roll_L");
Symbol 181 MovieClip [rollonew] Frame 148
gotoAndPlay ("roll_R");
Symbol 181 MovieClip [rollonew] Frame 161
gotoAndPlay ("roll_L");
Symbol 200 Button
on (press) {
this.poParent.mMenu();
}
Symbol 250 MovieClip Frame 1
stop();
Symbol 358 MovieClip Frame 1
gotoAndPlay ("1");
Symbol 358 MovieClip Frame 172
gotoAndPlay ("2");
Symbol 359 MovieClip [endgame_clip] Frame 1
gotoAndPlay (116);
Symbol 359 MovieClip [endgame_clip] Frame 146
stop();
this.poParent.mDialogReady();
Symbol 359 MovieClip [endgame_clip] Frame 608
stop();
Symbol 412 MovieClip Frame 35
stop();
Symbol 415 MovieClip Frame 39
gotoAndPlay ("roll_L");
Symbol 434 Button
on (press) {
this.poParent.mUnpause();
}
Symbol 435 Button
on (press) {
this.poParent.mReset();
}
Symbol 436 Button
on (press) {
_parent.goGame.mMenu();
}
Symbol 437 MovieClip [pause1] Frame 1
gotoAndPlay ("2");
Symbol 437 MovieClip [pause1] Frame 3
var liLives = _parent.goGame.mGetLives();
lives.L_0.gotoAndStop(liLives);
Symbol 437 MovieClip [pause1] Frame 43
stop();
Symbol 486 MovieClip [dronenew] Frame 22
gotoAndPlay ("idle_R");
Symbol 486 MovieClip [dronenew] Frame 46
gotoAndPlay ("idle_L");
Symbol 486 MovieClip [dronenew] Frame 49
stop();
Symbol 486 MovieClip [dronenew] Frame 52
stop();
Symbol 486 MovieClip [dronenew] Frame 60
gotoAndPlay ("roll_R");
Symbol 486 MovieClip [dronenew] Frame 71
gotoAndPlay ("roll_L");
Symbol 486 MovieClip [dronenew] Frame 84
gotoAndPlay ("idle_R");
Symbol 486 MovieClip [dronenew] Frame 94
gotoAndPlay ("idle_L");
Symbol 486 MovieClip [dronenew] Frame 117
gotoAndPlay ("roll_R");
Symbol 486 MovieClip [dronenew] Frame 134
gotoAndPlay ("roll_L");
Symbol 486 MovieClip [dronenew] Frame 148
gotoAndPlay ("roll_R");
Symbol 486 MovieClip [dronenew] Frame 161
gotoAndPlay ("roll_L");
Symbol 490 MovieClip [ball_clip_b] Frame 1
stop();
Symbol 490 MovieClip [ball_clip_b] Frame 149
this.poParent.mOffFire();
Symbol 492 MovieClip [ball_clip_g] Frame 1
stop();
Symbol 492 MovieClip [ball_clip_g] Frame 149
this.poParent.mOffFire();
Symbol 494 MovieClip [ball_clip_r] Frame 1
stop();
Symbol 494 MovieClip [ball_clip_r] Frame 149
this.poParent.mOffFire();
Symbol 496 MovieClip [ball_clip_p] Frame 1
stop();
Symbol 496 MovieClip [ball_clip_p] Frame 149
this.poParent.mOffFire();
Symbol 498 MovieClip [ball_clip_y] Frame 1
stop();
Symbol 498 MovieClip [ball_clip_y] Frame 149
this.poParent.mOffFire();
Symbol 500 MovieClip [ball_clip_o] Frame 1
stop();
Symbol 500 MovieClip [ball_clip_o] Frame 149
this.poParent.mOffFire();
Symbol 505 MovieClip Frame 1
stop();
Symbol 517 MovieClip [ball_clip] Frame 1
stop();
Symbol 517 MovieClip [ball_clip] Frame 149
this.poParent.mOffFire();
Symbol 517 MovieClip [ball_clip] Frame 153
stop();
Symbol 517 MovieClip [ball_clip] Frame 158
stop();
Symbol 523 Button
on (press) {
this.poParent.mPlayLevel();
}
Symbol 533 Button
on (press) {
_parent.poParent.mShowNext();
}
Symbol 534 MovieClip Frame 1
stop();
Symbol 535 Button
on (press) {
_parent.poParent.mShowPrev();
}
Symbol 536 MovieClip Frame 1
stop();
Symbol 542 Button
on (press) {
this.poParent.mResetLevel();
}
Symbol 553 MovieClip Frame 5
stop();
Symbol 554 Button
on (rollOver) {
_global.goSkabookiGame.mPlaySound("rolloverSparkle");
}
on (press) {
_global.goSkabookiGame.mPlaySound("buttonClick3");
}
on (release) {
_parent._parent.poParent.mResetLevel();
}
Symbol 556 MovieClip Frame 58
var liLives = _parent._parent.goGame.mGetLives();
L_0.gotoAndStop(liLives + 1);
Symbol 556 MovieClip Frame 65
stop();
Symbol 573 MovieClip Frame 58
var liLives = _parent._parent.goGame.mGetLives();
L_0.gotoAndStop(liLives + 1);
Symbol 573 MovieClip Frame 65
stop();
Symbol 576 MovieClip Frame 58
var liLives = _parent._parent.goGame.mGetLives();
L_0.gotoAndStop(liLives + 1);
Symbol 576 MovieClip Frame 65
stop();
Symbol 579 Button
on (rollOver) {
_global.goSkabookiGame.mPlaySound("rolloverSparkle");
}
on (press) {
_global.goSkabookiGame.mPlaySound("buttonClick3");
}
on (release) {
_global.goSkabookiGame.mQuitGame();
}
Symbol 583 MovieClip Frame 44
var liRemainder = _global.goSkabookiGame.piLevelScore;
var laDiv = [1, 10, 100, 1000, 10000, 100000];
var i = (laDiv.length - 1);
while (i >= 0) {
var liDiv = laDiv[i];
var liVal = int(liRemainder / liDiv);
liRemainder = liRemainder - (liVal * liDiv);
var lsClip = ("s_" + i);
this[lsClip].gotoAndStop(liVal + 1);
i--;
}
_global.goSkabookiGame.mZeroScore();
Symbol 583 MovieClip Frame 59
var liLives = _parent._parent.goGame.mGetLives();
L_0.gotoAndStop(liLives + 1);
Symbol 583 MovieClip Frame 65
stop();
Symbol 586 MovieClip Frame 58
var liLives = _parent._parent.goGame.mGetLives();
L_0.gotoAndStop(liLives + 1);
Symbol 586 MovieClip Frame 65
stop();
Symbol 587 MovieClip [die_clip] Frame 1
var liLives = _parent.goGame.mGetLives();
lives.L_0.gotoAndStop(liLives + 1);
var liWhy = _parent.goGame.mGetWhy();
gotoAndStop(liWhy + 2);
stop();
Instance of Symbol 543 MovieClip in Symbol 587 MovieClip [die_clip] Frame 2
onClipEvent (mouseDown) {
trace("clicked on the blocker");
}
Symbol 745 MovieClip Frame 1
stop();
Symbol 745 MovieClip Frame 14
stop();
Symbol 746 Button
on (rollOver) {
_global.goSkabookiGame.mPlaySound("rolloverSparkle");
}
on (press) {
_global.goSkabookiGame.mPlaySound("buttonClick3");
}
on (release) {
_parent.poParent.mNextLevel();
}
Symbol 753 MovieClip [end_level_animation_2] Frame 1
Symbol 753 MovieClip [end_level_animation_2] Frame 65
this.poParent.mDialogReady();
stop();
Symbol 753 MovieClip [end_level_animation_2] Frame 69
Symbol 753 MovieClip [end_level_animation_2] Frame 111
this.poParent.mUpdateSpeedBonus();
Symbol 753 MovieClip [end_level_animation_2] Frame 117
this.poParent.mShowAllBlocksCleared();
Symbol 753 MovieClip [end_level_animation_2] Frame 163
Symbol 753 MovieClip [end_level_animation_2] Frame 202
var liLives = this.poParent.mGetLives();
this.lives.L_0.gotoAndStop(liLives);
Symbol 753 MovieClip [end_level_animation_2] Frame 203
stop();
Symbol 760 MovieClip [alien_lineup] Frame 1
alien.gotoAndStop(int(poParent.piLevel / 10) + 1);
Symbol 760 MovieClip [alien_lineup] Frame 7
poParent.mNextLevel();
Symbol 760 MovieClip [alien_lineup] Frame 9
Symbol 760 MovieClip [alien_lineup] Frame 74
this.removeMovieClip();
Symbol 775 MovieClip Frame 1
var laNames = ["HAMMERFACE", "AMNESIO", "NOSY", "FIBBER", "ELASTICO", "BONNIE", "SPROUT", "SLUSHY", "SWIRLIE", "HEAT"];
var liAlien = int(_parent.poParent.piLevel / 10);
psName = laNames[liAlien - 1];
Symbol 782 MovieClip [stitch_ship_anim] Frame 1
alien.gotoAndStop(int(poParent.piLevel / 10));
poParent.mPlaySound("congratsLevel");
Symbol 782 MovieClip [stitch_ship_anim] Frame 11
Symbol 782 MovieClip [stitch_ship_anim] Frame 20
Symbol 782 MovieClip [stitch_ship_anim] Frame 34
Symbol 782 MovieClip [stitch_ship_anim] Frame 82
poParent.mPlaySound("dropWin");
Symbol 782 MovieClip [stitch_ship_anim] Frame 110
this.poParent.mNextLevel();
stop();
Symbol 785 MovieClip [end_level_animation] Frame 31
poParent.mPlaySound("flyingsaucer");
Symbol 785 MovieClip [end_level_animation] Frame 66
poParent.mPlaySound("flyingsaucer");
Symbol 785 MovieClip [end_level_animation] Frame 89
stop();
this.poParent.mDialogReady();
Symbol 785 MovieClip [end_level_animation] Frame 90
this.poParent.mUpdateSpeedBonus();
Symbol 785 MovieClip [end_level_animation] Frame 102
var liLives = this.poParent.mGetLives();
this.lives.L_0.gotoAndStop(liLives);
Symbol 785 MovieClip [end_level_animation] Frame 108
stop();
Symbol 789 MovieClip Frame 1
if (_parent.poParent.mIsClear()) {
c_2.gotoAndStop(3);
}
Symbol 794 Button
on (press) {
this.poParent.mNextLevel();
}
Symbol 799 MovieClip [endlevel] Frame 45
stop();
this.poParent.mDialogReady();
Symbol 799 MovieClip [endlevel] Frame 46
this.poParent.mUpdateSpeedBonus();
Symbol 799 MovieClip [endlevel] Frame 52
var liLives = this.poParent.mGetLives();
this.lives.L_0.gotoAndStop(liLives);
Symbol 799 MovieClip [endlevel] Frame 81
this.poParent.mAddLife();
var liLives = this.poParent.mGetLives();
this.L_0.gotoAndStop(liLives + 1);
Symbol 799 MovieClip [endlevel] Frame 103
stop();
Symbol 826 MovieClip Frame 16
stop();
Symbol 827 MovieClip [stitch_clip] Frame 221
var r = int(Math.random() * 10);
if (r == 0) {
gotoAndPlay ("idle_3");
} else if (((r == 1) or (r == 2)) or (r == 3)) {
} else {
gotoAndPlay ("idle_R");
}
Symbol 827 MovieClip [stitch_clip] Frame 331
gotoAndPlay ("idle_R");
Symbol 827 MovieClip [stitch_clip] Frame 373
gotoAndPlay ("idle_R");
Symbol 827 MovieClip [stitch_clip] Frame 499
gotoAndPlay ("idle_R");
Symbol 827 MovieClip [stitch_clip] Frame 506
stop();
Symbol 827 MovieClip [stitch_clip] Frame 516
stop();
Symbol 827 MovieClip [stitch_clip] Frame 526
gotoAndPlay ("roll_R");
Symbol 827 MovieClip [stitch_clip] Frame 542
gotoAndPlay ("roll_L");
Symbol 827 MovieClip [stitch_clip] Frame 560
gotoAndPlay ("idle_R");
Symbol 827 MovieClip [stitch_clip] Frame 570
gotoAndPlay ("idle_R");
Symbol 827 MovieClip [stitch_clip] Frame 584
gotoAndPlay ("roll_R");
Symbol 827 MovieClip [stitch_clip] Frame 597
gotoAndPlay ("roll_L");
Symbol 827 MovieClip [stitch_clip] Frame 604
Symbol 827 MovieClip [stitch_clip] Frame 617
stop();
Symbol 827 MovieClip [stitch_clip] Frame 620
Symbol 827 MovieClip [stitch_clip] Frame 630
stop();
Symbol 827 MovieClip [stitch_clip] Frame 670
stop();
Symbol 828 MovieClip Frame 1
stop();
Symbol 837 MovieClip Frame 1
stop();
Symbol 838 MovieClip Frame 1
stop();
Symbol 838 MovieClip Frame 30
_parent._parent.poParent.mRemoveArrowResume();
Symbol 839 MovieClip Frame 1
stop();
Symbol 844 Button
on (press) {
this.poParent.pmStage.goGame.mClick(piNum);
}
Symbol 908 MovieClip Frame 21
stop();
Symbol 910 MovieClip Frame 1
Symbol 910 MovieClip Frame 2
stop();
Symbol 912 MovieClip Frame 1
Symbol 912 MovieClip Frame 2
stop();
Symbol 938 MovieClip Frame 1
Symbol 938 MovieClip Frame 2
stop();
Symbol 946 MovieClip Frame 1
stop();
Symbol 947 MovieClip Frame 1
_parent.poParent.piType = 1;
Symbol 947 MovieClip Frame 24
rainbow.play();
Symbol 947 MovieClip Frame 31
_parent.poParent.piType = 2;
Symbol 947 MovieClip Frame 54
rainbow.play();
Symbol 947 MovieClip Frame 61
_parent.poParent.piType = 3;
Symbol 947 MovieClip Frame 84
rainbow.play();
Symbol 947 MovieClip Frame 91
_parent.poParent.piType = 4;
Symbol 947 MovieClip Frame 114
rainbow.play();
Symbol 947 MovieClip Frame 121
_parent.poParent.piType = 5;
Symbol 947 MovieClip Frame 144
rainbow.play();
Symbol 947 MovieClip Frame 151
_parent.poParent.piType = 6;
Symbol 947 MovieClip Frame 174
rainbow.play();
Symbol 947 MovieClip Frame 181
_parent.poParent.piType = 7;
Symbol 947 MovieClip Frame 205
rainbow.play();
Symbol 953 MovieClip Frame 6
_parent.poParent.mExplodeDone();
Symbol 953 MovieClip Frame 7
stop();
Symbol 954 MovieClip [tile_clip2] Frame 1
stop();
Symbol 955 Button
on (rollOver) {
_global.goSkabookiGame.mPlaySound("rolloverSparkle");
}
on (press) {
_global.goSkabookiGame.mPlaySound("buttonClick3");
}
on (release) {
_parent._parent.goGame.mRestartLevel();
}
Symbol 962 MovieClip Frame 5
stop();
Symbol 964 Button
on (rollOver) {
_global.goSkabookiGame.mPlaySound("rolloverSparkle");
}
on (press) {
_global.goSkabookiGame.mPlaySound("buttonClick3");
}
on (release) {
_parent._parent.goGame.mQuitGame();
}
Symbol 966 MovieClip Frame 21
stop();
Symbol 970 MovieClip [pause] Frame 1
stop();
Symbol 970 MovieClip [pause] Frame 9
stop();
Symbol 972 MovieClip [ball_clip_v] Frame 1
stop();
Symbol 972 MovieClip [ball_clip_v] Frame 149
this.poParent.mOffFire();
Symbol 976 MovieClip Frame 1
stop();
Symbol 996 MovieClip Frame 8
_parent.poParent.mExplodeDone();
Symbol 996 MovieClip Frame 10
stop();
Symbol 1009 MovieClip Frame 7
_parent.poParent.mExplodeDone();
stop();
Symbol 1010 MovieClip [tile_clip] Frame 1
stop();
Symbol 1020 MovieClip Frame 1
stop();
Symbol 1025 MovieClip Frame 1
stopAllSounds();
Symbol 1025 MovieClip Frame 3
stop();
Symbol 1025 MovieClip Frame 11
stopAllSounds();
Symbol 1025 MovieClip Frame 13
stop();
Symbol 1025 MovieClip Frame 20
stopAllSounds();
Symbol 1025 MovieClip Frame 22
stop();
Symbol 1032 MovieClip Frame 6
stop();
Symbol 1034 Button
on (rollOver) {
_global.goSkabookiGame.mPlaySound("rolloverSparkle");
}
on (press) {
_global.goSkabookiGame.mPlaySound("buttonClick3");
}
on (release) {
_parent.goGame.mInit();
}
Symbol 1049 MovieClip Frame 66
stop();
Symbol 1051 MovieClip Frame 63
stop();
Symbol 1125 MovieClip Frame 5
stop();
Symbol 1132 Button
on (rollOver) {
_global.goSkabookiGame.mPlaySound("rolloverSparkle");
}
on (press) {
_global.goSkabookiGame.mPlaySound("buttonClick3");
}
on (release) {
if (_parent.menuPosition == "intro_logo") {
_parent.gotoAndPlay("intro_help");
} else if (_parent.menuPosition == "intro_matrix") {
_parent.menuDestination = "intro_help";
_parent.gotoAndPlay("matrix_menu_out");
}
_parent.menuPosition = "intro_help";
}
Symbol 1133 MovieClip Frame 7
stop();
Symbol 1134 Button
on (rollOver) {
_global.goSkabookiGame.mPlaySound("rolloverSparkle");
}
on (press) {
_global.goSkabookiGame.mPlaySound("buttonClick3");
}
on (release) {
if (Key.isDown(16)) {
_parent.goGame.mContinue();
} else {
if (_parent.menuPosition == "intro_logo") {
_parent.gotoAndPlay("matrix_menu");
} else if (_parent.menuPosition == "intro_help") {
_parent.menuDestination = "matrix_menu";
_parent.gotoAndPlay("intro_help_out");
}
_parent.menuPosition = "intro_matrix";
}
}
Symbol 1193 MovieClip Frame 242
stop();
Symbol 1198 MovieClip Frame 7
stop();
Symbol 1199 Button
on (release) {
this.gotoAndPlay("1");
}
Symbol 1202 MovieClip Frame 5
stop();
Symbol 1204 Button
on (release) {
_parent.menuDestination = "intro_logo";
_parent.gotoAndPlay("intro_help_out");
}
Symbol 1210 MovieClip Frame 54
stop();
Symbol 1216 MovieClip Frame 25
stop();
_parent.gotoAndStop("1");
Symbol 1217 MovieClip Frame 12
stop();
Symbol 1218 MovieClip Frame 21
stop();
Symbol 1221 Button
on (release) {
this.gotoAndPlay("2");
}
Symbol 1222 Button
on (release) {
this.gotoAndPlay("1");
}
Symbol 1235 Button
on (release) {
this.gotoAndPlay("3");
}
Symbol 1236 Button
on (release) {
this.gotoAndPlay("2");
}
Symbol 1242 Button
on (release) {
this.gotoAndPlay("4");
}
Symbol 1243 Button
on (release) {
this.gotoAndPlay("3");
}
Symbol 1246 Button
on (release) {
this.gotoAndPlay("5");
}
Symbol 1247 Button
on (release) {
this.gotoAndPlay("4");
}
Symbol 1250 Button
on (release) {
this.gotoAndPlay("6");
}
Symbol 1251 Button
on (release) {
this.gotoAndPlay("5");
}
Symbol 1254 Button
on (release) {
this.gotoAndPlay("7");
}
Symbol 1255 Button
on (release) {
this.gotoAndPlay("6");
}
Symbol 1259 Button
on (release) {
this.gotoAndPlay("8");
}
Symbol 1260 Button
on (release) {
this.gotoAndPlay("7");
}
Symbol 1271 Button
on (release) {
this.gotoAndPlay("9");
}
Symbol 1272 Button
on (release) {
this.gotoAndPlay("8");
}
Symbol 1274 Button
on (release) {
this.gotoAndPlay("9");
}
Symbol 1282 MovieClip Frame 1
stop();
Symbol 1282 MovieClip Frame 2
stop();
Symbol 1282 MovieClip Frame 3
stop();
Symbol 1282 MovieClip Frame 4
stop();
Symbol 1282 MovieClip Frame 5
stop();
Symbol 1282 MovieClip Frame 6
stop();
Symbol 1282 MovieClip Frame 7
stop();
Symbol 1282 MovieClip Frame 8
stop();
Symbol 1282 MovieClip Frame 9
stop();
Symbol 1282 MovieClip Frame 10
stop();
Symbol 1307 Button
on (press) {
mShowSub(1);
}
Symbol 1308 Button
on (rollOver) {
_global.goSkabookiGame.mPlaySound("rolloverSparkle");
}
on (press) {
_global.goSkabookiGame.mPlaySound("buttonClick3");
}
on (release) {
_parent.menuDestination = "intro_logo";
_parent.gotoAndPlay("matrix_menu_out");
}
Symbol 1310 Button
on (press) {
mShowSub(2);
}
Symbol 1311 Button
on (press) {
mShowSub(3);
}
Symbol 1312 Button
on (press) {
mShowSub(4);
}
Symbol 1313 Button
on (press) {
mShowSub(5);
}
Symbol 1314 Button
on (rollOver) {
_global.goSkabookiGame.mPlaySound("rolloverSparkle");
}
on (press) {
_global.goSkabookiGame.mPlaySound("buttonClick3");
}
on (release) {
mShowMain();
}
Symbol 1326 Button
on (press) {
mPlayLevel(0);
}
Symbol 1328 Button
on (press) {
mPlayLevel(1);
}
Symbol 1329 Button
on (press) {
mPlayLevel(2);
}
Symbol 1330 Button
on (press) {
mPlayLevel(3);
}
Symbol 1331 Button
on (press) {
mPlayLevel(4);
}
Symbol 1334 Button
on (press) {
mPlayLevel(5);
}
Symbol 1337 Button
on (press) {
mPlayLevel(6);
}
Symbol 1340 Button
on (press) {
mPlayLevel(7);
}
Symbol 1343 Button
on (press) {
mPlayLevel(8);
}
Symbol 1346 Button
on (press) {
mPlayLevel(9);
}
Symbol 1446 MovieClip Frame 1
function mShowSub(liSub) {
var _local2 = liSub * 15;
trace((((((("SUB: " + liSub) + " FRAME: ") + _local2) + " BLOCK: ") + this.piBlock) + " LEVEL: ") + this.piLevel);
if (this.piBlock > liSub) {
_local2 = _local2 + 10;
} else if (this.piLevel != undefined) {
var _local4 = this.piLevel - ((this.piBlock - 1) * 10);
_local2 = _local2 + _local4;
}
trace((((((("SUB: " + liSub) + " FRAME: ") + _local2) + " BLOCK: ") + this.piBlock) + " LEVEL: ") + this.piLevel);
this.piCurrentSub = liSub;
gotoAndStop(_local2);
}
function mPlayLevel(liWhich) {
var _local3 = ((this.piCurrentSub - 1) * 10) + liWhich;
trace(_local3);
_parent._parent.goGame.mPlayThisLevel(_local3);
}
function mShowMain() {
gotoAndStop(this.piBlock);
}
stop();
if (this.pbInit == undefined) {
this.pbInit = true;
this.piLevel = _parent._parent.goGame.piLastLevel;
if (_parent._parent.pbContinue) {
trace("CONTINUE");
this.piLevel++;
}
this.piBlock = int(this.piLevel / 10) + 1;
trace((("LEVEL: " + this.piLevel) + " BLOCK: ") + this.piBlock);
if (this.piBlock == 11) {
this.piBlock = 10;
}
mShowMain();
}
Symbol 1447 MovieClip Frame 1
menuDestination = "";
menuPosition = "intro_logo";
stop();
Symbol 1447 MovieClip Frame 10
stop();
Symbol 1447 MovieClip Frame 20
gotoAndPlay(menuDestination);
Symbol 1447 MovieClip Frame 30
stop();
Symbol 1447 MovieClip Frame 40
gotoAndPlay(menuDestination);
Symbol 1450 Button
on (press) {
gotoAndPlay ("menu");
}
Symbol 1456 MovieClip Frame 1
stop();
Symbol 1457 MovieClip Frame 1
if (piCount == undefined) {
piCount = 0;
}
piCount++;
if (piCount > 2) {
stop();
}
Symbol 1458 MovieClip Frame 1
stop();
Symbol 1477 MovieClip Frame 1
stop();
Symbol 1478 MovieClip Frame 5
stop();
Symbol 1480 Button
on (release) {
goGame.mQuitDialog();
}
Symbol 1481 MovieClip Frame 5
stop();
Symbol 1482 Button
on (release) {
this.gotoAndPlay("game_pause");
_parent.goGame.mPause();
}
Symbol 1485 Button
on (release) {
this.gotoAndPlay("game_play");
_parent.goGame.mUnpause();
}
Symbol 1486 MovieClip Frame 1
stop();
Symbol 1486 MovieClip Frame 2
stop();
Symbol 1486 MovieClip Frame 3
stop();
Symbol 1489 Button
on (release) {
this.gotoAndPlay("sound_off");
_parent.goGame.mSoundOff();
}
Symbol 1490 Button
on (release) {
this.gotoAndPlay("sound_on");
_parent.goGame.mSoundOn();
}
Symbol 1491 MovieClip Frame 1
if (_parent.goGame.pbSound) {
stop();
}
Symbol 1491 MovieClip Frame 2
stop();
Symbol 1494 Button
on (release) {
gotoAndStop ("music_off");
var loSound = new Sound(_parent.music_clip);
_parent.music_clip.piOldVolume = loSound.getVolume();
loSound.setVolume(0);
}
Symbol 1495 Button
on (release) {
this.gotoAndStop("music_on");
var loSound = new Sound(_parent.music_clip);
loSound.setVolume(_parent.music_clip.piOldVolume);
}
Symbol 1496 MovieClip Frame 1
var loSound = new Sound(_parent.music_clip);
if (loSound.getVolume() == 0) {
gotoAndStop ("music_off");
} else {
stop();
}
Symbol 1498 MovieClip Frame 25
_parent.gotoAndStop(1);
stop();
Symbol 1499 MovieClip Frame 1
stop();
Symbol 1499 MovieClip Frame 2
stop();
Symbol 1499 MovieClip Frame 3
stop();
Symbol 1509 MovieClip Frame 1
stop();
Symbol 1518 MovieClip Frame 5
stop();
Symbol 1519 Button
on (rollOver) {
_global.goSkabookiGame.mPlaySound("rolloverSparkle");
}
on (press) {
_global.goSkabookiGame.mPlaySound("buttonClick3");
}
on (release) {
_parent.goGame.mQuitGame();
}
Symbol 1537 MovieClip Frame 242
stop();
Symbol 1540 MovieClip Frame 111
stop();